mysqlsyncr 1.0.42 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +44 -44
- package/src/index.js +6 -1
- package/ui/.editorconfig +7 -7
- package/ui/.prettierrc.json +5 -5
- package/ui/README.md +40 -40
- package/ui/dist/spa/assets/{MainLayout-CJQ1jgg8.js → MainLayout-Cft1OeWe.js} +1 -1
- package/ui/dist/spa/assets/axios-CNk6rzlZ.js +1 -0
- package/ui/dist/spa/assets/index-DomDZ6ci.js +30 -0
- package/ui/dist/spa/assets/{index-BvnAI_tZ.css → index-kXpA8n8r.css} +2 -2
- package/ui/dist/spa/index.html +2 -2
- package/ui/eslint.config.js +73 -73
- package/ui/index.html +21 -21
- package/ui/jsconfig.json +2 -2
- package/ui/package.json +42 -42
- package/ui/postcss.config.js +29 -29
- package/ui/quasar.config.js +216 -216
- package/ui/src/App.vue +7 -7
- package/ui/src/assets/quasar-logo-vertical.svg +14 -14
- package/ui/src/boot/axios.js +6 -14
- package/ui/src/components/EssentialLink.vue +44 -44
- package/ui/src/components/FolderBrowser.vue +2 -3
- package/ui/src/css/app.scss +1 -1
- package/ui/src/css/quasar.variables.scss +25 -25
- package/ui/src/layouts/MainLayout.vue +13 -13
- package/ui/src/pages/ApplyChanges.vue +46 -46
- package/ui/src/pages/CompareDatabase.vue +57 -57
- package/ui/src/pages/DatabaseManager.vue +42 -42
- package/ui/src/pages/DumpDatabase.vue +41 -41
- package/ui/src/pages/ErrorNotFound.vue +27 -27
- package/ui/src/pages/MainComponent copy.vue +322 -322
- package/ui/src/pages/MainComponent.vue +36 -23
- package/ui/src/router/index.js +30 -30
- package/ui/src/router/routes.js +20 -20
- package/ui/src/stores/example-store.js +21 -21
- package/ui/src/stores/index.js +20 -20
- package/ui/dist/spa/assets/axios-DrqNXj9v.js +0 -1
- package/ui/dist/spa/assets/index-NGPmhjJD.js +0 -30
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const Mh=function(){const t=typeof document<"u"&&document.createElement("link").relList;return t&&t.supports&&t.supports("modulepreload")?"modulepreload":"preload"}(),Bh=function(e){return"/"+e},ya={},Ec=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");i=Promise.allSettled(n.map(a=>{if(a=Bh(a),a in ya)return;ya[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":Mh,c||(d.as="script"),d.crossOrigin="",d.href=a,s&&d.setAttribute("nonce",s),document.head.appendChild(d),c)return new Promise((f,h)=>{d.addEventListener("load",f),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}function l(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return i.then(o=>{for(const s of o||[])s.status==="rejected"&&l(s.reason);return t().catch(l)})};/**
|
|
2
|
+
* @vue/shared v3.5.13
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**//*! #__NO_SIDE_EFFECTS__ */function xs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Ve={},xr=[],an=()=>{},$h=()=>!1,El=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Cs=e=>e.startsWith("onUpdate:"),st=Object.assign,ks=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Nh=Object.prototype.hasOwnProperty,Me=(e,t)=>Nh.call(e,t),_e=Array.isArray,Cr=e=>ql(e)==="[object Map]",qc=e=>ql(e)==="[object Set]",Ce=e=>typeof e=="function",Ye=e=>typeof e=="string",Mn=e=>typeof e=="symbol",Ue=e=>e!==null&&typeof e=="object",Tc=e=>(Ue(e)||Ce(e))&&Ce(e.then)&&Ce(e.catch),Rc=Object.prototype.toString,ql=e=>Rc.call(e),Vh=e=>ql(e).slice(8,-1),Pc=e=>ql(e)==="[object Object]",Es=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zr=xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ih=/-(\w)/g,jt=Tl(e=>e.replace(Ih,(t,n)=>n?n.toUpperCase():"")),jh=/\B([A-Z])/g,Bn=Tl(e=>e.replace(jh,"-$1").toLowerCase()),Rl=Tl(e=>e.charAt(0).toUpperCase()+e.slice(1)),so=Tl(e=>e?`on${Rl(e)}`:""),On=(e,t)=>!Object.is(e,t),ao=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ac=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Hh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},zh=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let wa;const Pl=()=>wa||(wa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qs(e){if(_e(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Ye(r)?Qh(r):qs(r);if(i)for(const l in i)t[l]=i[l]}return t}else if(Ye(e)||Ue(e))return e}const Uh=/;(?![^(]*\))/g,Kh=/:([^]+)/,Wh=/\/\*[^]*?\*\//g;function Qh(e){const t={};return e.replace(Wh,"").split(Uh).forEach(n=>{if(n){const r=n.split(Kh);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Al(e){let t="";if(Ye(e))t=e;else if(_e(e))for(let n=0;n<e.length;n++){const r=Al(e[n]);r&&(t+=r+" ")}else if(Ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Gh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Jh=xs(Gh);function Oc(e){return!!e||e===""}const Fc=e=>!!(e&&e.__v_isRef===!0),ht=e=>Ye(e)?e:e==null?"":_e(e)||Ue(e)&&(e.toString===Rc||!Ce(e.toString))?Fc(e)?ht(e.value):JSON.stringify(e,Lc,2):String(e),Lc=(e,t)=>Fc(t)?Lc(e,t.value):Cr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],l)=>(n[uo(r,l)+" =>"]=i,n),{})}:qc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>uo(n))}:Mn(t)?uo(t):Ue(t)&&!_e(t)&&!Pc(t)?String(t):t,uo=(e,t="")=>{var n;return Mn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.13
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let Dt;class Dc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Dt,!t&&Dt&&(this.index=(Dt.scopes||(Dt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Dt;try{return Dt=this,t()}finally{Dt=n}}}on(){Dt=this}off(){Dt=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;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 Xh(e){return new Dc(e)}function Yh(){return Dt}let He;const co=new WeakSet;class Mc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Dt&&Dt.active&&Dt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,co.has(this)&&(co.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||$c(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,_a(this),Nc(this);const t=He,n=Jt;He=this,Jt=!0;try{return this.fn()}finally{Vc(this),He=t,Jt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ps(t);this.deps=this.depsTail=void 0,_a(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?co.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){zo(this)&&this.run()}get dirty(){return zo(this)}}let Bc=0,ei,ti;function $c(e,t=!1){if(e.flags|=8,t){e.next=ti,ti=e;return}e.next=ei,ei=e}function Ts(){Bc++}function Rs(){if(--Bc>0)return;if(ti){let t=ti;for(ti=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ei;){let t=ei;for(ei=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Nc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Vc(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Ps(r),Zh(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function zo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ic(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ic(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ci))return;e.globalVersion=ci;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!zo(e)){e.flags&=-3;return}const n=He,r=Jt;He=e,Jt=!0;try{Nc(e);const i=e.fn(e._value);(t.version===0||On(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{He=n,Jt=r,Vc(e),e.flags&=-3}}function Ps(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)Ps(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Zh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Jt=!0;const jc=[];function $n(){jc.push(Jt),Jt=!1}function Nn(){const e=jc.pop();Jt=e===void 0?!0:e}function _a(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=He;He=void 0;try{t()}finally{He=n}}}let ci=0;class eg{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 As{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(!He||!Jt||He===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==He)n=this.activeLink=new eg(He,this),He.deps?(n.prevDep=He.depsTail,He.depsTail.nextDep=n,He.depsTail=n):He.deps=He.depsTail=n,Hc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=He.depsTail,n.nextDep=void 0,He.depsTail.nextDep=n,He.depsTail=n,He.deps===n&&(He.deps=r)}return n}trigger(t){this.version++,ci++,this.notify(t)}notify(t){Ts();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Rs()}}}function Hc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Hc(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Uo=new WeakMap,Yn=Symbol(""),Ko=Symbol(""),di=Symbol("");function bt(e,t,n){if(Jt&&He){let r=Uo.get(e);r||Uo.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new As),i.map=r,i.key=n),i.track()}}function bn(e,t,n,r,i,l){const o=Uo.get(e);if(!o){ci++;return}const s=a=>{a&&a.trigger()};if(Ts(),t==="clear")o.forEach(s);else{const a=_e(e),c=a&&Es(n);if(a&&n==="length"){const u=Number(r);o.forEach((d,f)=>{(f==="length"||f===di||!Mn(f)&&f>=u)&&s(d)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),c&&s(o.get(di)),t){case"add":a?c&&s(o.get("length")):(s(o.get(Yn)),Cr(e)&&s(o.get(Ko)));break;case"delete":a||(s(o.get(Yn)),Cr(e)&&s(o.get(Ko)));break;case"set":Cr(e)&&s(o.get(Yn));break}}Rs()}function gr(e){const t=Ee(e);return t===e?t:(bt(t,"iterate",di),Vt(e)?t:t.map(yt))}function Ol(e){return bt(e=Ee(e),"iterate",di),e}const tg={__proto__:null,[Symbol.iterator](){return fo(this,Symbol.iterator,yt)},concat(...e){return gr(this).concat(...e.map(t=>_e(t)?gr(t):t))},entries(){return fo(this,"entries",e=>(e[1]=yt(e[1]),e))},every(e,t){return hn(this,"every",e,t,void 0,arguments)},filter(e,t){return hn(this,"filter",e,t,n=>n.map(yt),arguments)},find(e,t){return hn(this,"find",e,t,yt,arguments)},findIndex(e,t){return hn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return hn(this,"findLast",e,t,yt,arguments)},findLastIndex(e,t){return hn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return hn(this,"forEach",e,t,void 0,arguments)},includes(...e){return ho(this,"includes",e)},indexOf(...e){return ho(this,"indexOf",e)},join(e){return gr(this).join(e)},lastIndexOf(...e){return ho(this,"lastIndexOf",e)},map(e,t){return hn(this,"map",e,t,void 0,arguments)},pop(){return jr(this,"pop")},push(...e){return jr(this,"push",e)},reduce(e,...t){return Sa(this,"reduce",e,t)},reduceRight(e,...t){return Sa(this,"reduceRight",e,t)},shift(){return jr(this,"shift")},some(e,t){return hn(this,"some",e,t,void 0,arguments)},splice(...e){return jr(this,"splice",e)},toReversed(){return gr(this).toReversed()},toSorted(e){return gr(this).toSorted(e)},toSpliced(...e){return gr(this).toSpliced(...e)},unshift(...e){return jr(this,"unshift",e)},values(){return fo(this,"values",yt)}};function fo(e,t,n){const r=Ol(e),i=r[t]();return r!==e&&!Vt(e)&&(i._next=i.next,i.next=()=>{const l=i._next();return l.value&&(l.value=n(l.value)),l}),i}const ng=Array.prototype;function hn(e,t,n,r,i,l){const o=Ol(e),s=o!==e&&!Vt(e),a=o[t];if(a!==ng[t]){const d=a.apply(e,l);return s?yt(d):d}let c=n;o!==e&&(s?c=function(d,f){return n.call(this,yt(d),f,e)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,e)}));const u=a.call(o,c,r);return s&&i?i(u):u}function Sa(e,t,n,r){const i=Ol(e);let l=n;return i!==e&&(Vt(e)?n.length>3&&(l=function(o,s,a){return n.call(this,o,s,a,e)}):l=function(o,s,a){return n.call(this,o,yt(s),a,e)}),i[t](l,...r)}function ho(e,t,n){const r=Ee(e);bt(r,"iterate",di);const i=r[t](...n);return(i===-1||i===!1)&&Ls(n[0])?(n[0]=Ee(n[0]),r[t](...n)):i}function jr(e,t,n=[]){$n(),Ts();const r=Ee(e)[t].apply(e,n);return Rs(),Nn(),r}const rg=xs("__proto__,__v_isRef,__isVue"),zc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mn));function ig(e){Mn(e)||(e=String(e));const t=Ee(this);return bt(t,"has",e),t.hasOwnProperty(e)}class Uc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(i?l?gg:Gc:l?Qc:Wc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=_e(t);if(!i){let a;if(o&&(a=tg[n]))return a;if(n==="hasOwnProperty")return ig}const s=Reflect.get(t,n,_t(t)?t:r);return(Mn(n)?zc.has(n):rg(n))||(i||bt(t,"get",n),l)?s:_t(s)?o&&Es(n)?s:s.value:Ue(s)?i?Xc(s):Mr(s):s}}class Kc extends Uc{constructor(t=!1){super(!1,t)}set(t,n,r,i){let l=t[n];if(!this._isShallow){const a=ir(l);if(!Vt(r)&&!ir(r)&&(l=Ee(l),r=Ee(r)),!_e(t)&&_t(l)&&!_t(r))return a?!1:(l.value=r,!0)}const o=_e(t)&&Es(n)?Number(n)<t.length:Me(t,n),s=Reflect.set(t,n,r,_t(t)?t:i);return t===Ee(i)&&(o?On(r,l)&&bn(t,"set",n,r):bn(t,"add",n,r)),s}deleteProperty(t,n){const r=Me(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&bn(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!Mn(n)||!zc.has(n))&&bt(t,"has",n),r}ownKeys(t){return bt(t,"iterate",_e(t)?"length":Yn),Reflect.ownKeys(t)}}class lg extends Uc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const og=new Kc,sg=new lg,ag=new Kc(!0);const Wo=e=>e,Oi=e=>Reflect.getPrototypeOf(e);function ug(e,t,n){return function(...r){const i=this.__v_raw,l=Ee(i),o=Cr(l),s=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=i[e](...r),u=n?Wo:t?Qo:yt;return!t&&bt(l,"iterate",a?Ko:Yn),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function Fi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function cg(e,t){const n={get(i){const l=this.__v_raw,o=Ee(l),s=Ee(i);e||(On(i,s)&&bt(o,"get",i),bt(o,"get",s));const{has:a}=Oi(o),c=t?Wo:e?Qo:yt;if(a.call(o,i))return c(l.get(i));if(a.call(o,s))return c(l.get(s));l!==o&&l.get(i)},get size(){const i=this.__v_raw;return!e&&bt(Ee(i),"iterate",Yn),Reflect.get(i,"size",i)},has(i){const l=this.__v_raw,o=Ee(l),s=Ee(i);return e||(On(i,s)&&bt(o,"has",i),bt(o,"has",s)),i===s?l.has(i):l.has(i)||l.has(s)},forEach(i,l){const o=this,s=o.__v_raw,a=Ee(s),c=t?Wo:e?Qo:yt;return!e&&bt(a,"iterate",Yn),s.forEach((u,d)=>i.call(l,c(u),c(d),o))}};return st(n,e?{add:Fi("add"),set:Fi("set"),delete:Fi("delete"),clear:Fi("clear")}:{add(i){!t&&!Vt(i)&&!ir(i)&&(i=Ee(i));const l=Ee(this);return Oi(l).has.call(l,i)||(l.add(i),bn(l,"add",i,i)),this},set(i,l){!t&&!Vt(l)&&!ir(l)&&(l=Ee(l));const o=Ee(this),{has:s,get:a}=Oi(o);let c=s.call(o,i);c||(i=Ee(i),c=s.call(o,i));const u=a.call(o,i);return o.set(i,l),c?On(l,u)&&bn(o,"set",i,l):bn(o,"add",i,l),this},delete(i){const l=Ee(this),{has:o,get:s}=Oi(l);let a=o.call(l,i);a||(i=Ee(i),a=o.call(l,i)),s&&s.call(l,i);const c=l.delete(i);return a&&bn(l,"delete",i,void 0),c},clear(){const i=Ee(this),l=i.size!==0,o=i.clear();return l&&bn(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=ug(i,e,t)}),n}function Os(e,t){const n=cg(e,t);return(r,i,l)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Me(n,i)&&i in r?n:r,i,l)}const dg={get:Os(!1,!1)},fg={get:Os(!1,!0)},hg={get:Os(!0,!1)};const Wc=new WeakMap,Qc=new WeakMap,Gc=new WeakMap,gg=new WeakMap;function mg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pg(e){return e.__v_skip||!Object.isExtensible(e)?0:mg(Vh(e))}function Mr(e){return ir(e)?e:Fs(e,!1,og,dg,Wc)}function Jc(e){return Fs(e,!1,ag,fg,Qc)}function Xc(e){return Fs(e,!0,sg,hg,Gc)}function Fs(e,t,n,r,i){if(!Ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=i.get(e);if(l)return l;const o=pg(e);if(o===0)return e;const s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function kr(e){return ir(e)?kr(e.__v_raw):!!(e&&e.__v_isReactive)}function ir(e){return!!(e&&e.__v_isReadonly)}function Vt(e){return!!(e&&e.__v_isShallow)}function Ls(e){return e?!!e.__v_raw:!1}function Ee(e){const t=e&&e.__v_raw;return t?Ee(t):e}function Br(e){return!Me(e,"__v_skip")&&Object.isExtensible(e)&&Ac(e,"__v_skip",!0),e}const yt=e=>Ue(e)?Mr(e):e,Qo=e=>Ue(e)?Xc(e):e;function _t(e){return e?e.__v_isRef===!0:!1}function ue(e){return Yc(e,!1)}function vg(e){return Yc(e,!0)}function Yc(e,t){return _t(e)?e:new bg(e,t)}class bg{constructor(t,n){this.dep=new As,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Ee(t),this._value=n?t:yt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Vt(t)||ir(t);t=r?t:Ee(t),On(t,n)&&(this._rawValue=t,this._value=r?t:yt(t),this.dep.trigger())}}function Zn(e){return _t(e)?e.value:e}const yg={get:(e,t,n)=>t==="__v_raw"?e:Zn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return _t(i)&&!_t(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Zc(e){return kr(e)?e:new Proxy(e,yg)}class wg{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new As(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ci-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&He!==this)return $c(this,!0),!0}get value(){const t=this.dep.track();return Ic(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function _g(e,t,n=!1){let r,i;return Ce(e)?r=e:(r=e.get,i=e.set),new wg(r,i,n)}const Li={},rl=new WeakMap;let Wn;function Sg(e,t=!1,n=Wn){if(n){let r=rl.get(n);r||rl.set(n,r=[]),r.push(e)}}function xg(e,t,n=Ve){const{immediate:r,deep:i,once:l,scheduler:o,augmentJob:s,call:a}=n,c=q=>i?q:Vt(q)||i===!1||i===0?yn(q,1):yn(q);let u,d,f,h,g=!1,v=!1;if(_t(e)?(d=()=>e.value,g=Vt(e)):kr(e)?(d=()=>c(e),g=!0):_e(e)?(v=!0,g=e.some(q=>kr(q)||Vt(q)),d=()=>e.map(q=>{if(_t(q))return q.value;if(kr(q))return c(q);if(Ce(q))return a?a(q,2):q()})):Ce(e)?t?d=a?()=>a(e,2):e:d=()=>{if(f){$n();try{f()}finally{Nn()}}const q=Wn;Wn=u;try{return a?a(e,3,[h]):e(h)}finally{Wn=q}}:d=an,t&&i){const q=d,L=i===!0?1/0:i;d=()=>yn(q(),L)}const p=Yh(),T=()=>{u.stop(),p&&p.active&&ks(p.effects,u)};if(l&&t){const q=t;t=(...L)=>{q(...L),T()}}let S=v?new Array(e.length).fill(Li):Li;const E=q=>{if(!(!(u.flags&1)||!u.dirty&&!q))if(t){const L=u.run();if(i||g||(v?L.some((I,W)=>On(I,S[W])):On(L,S))){f&&f();const I=Wn;Wn=u;try{const W=[L,S===Li?void 0:v&&S[0]===Li?[]:S,h];a?a(t,3,W):t(...W),S=L}finally{Wn=I}}}else u.run()};return s&&s(E),u=new Mc(d),u.scheduler=o?()=>o(E,!1):E,h=q=>Sg(q,!1,u),f=u.onStop=()=>{const q=rl.get(u);if(q){if(a)a(q,4);else for(const L of q)L();rl.delete(u)}},t?r?E(!0):S=u.run():o?o(E.bind(null,!0),!0):u.run(),T.pause=u.pause.bind(u),T.resume=u.resume.bind(u),T.stop=T,T}function yn(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--,_t(e))yn(e.value,t,n);else if(_e(e))for(let r=0;r<e.length;r++)yn(e[r],t,n);else if(qc(e)||Cr(e))e.forEach(r=>{yn(r,t,n)});else if(Pc(e)){for(const r in e)yn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&yn(e[r],t,n)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.13
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/function Ci(e,t,n,r){try{return r?e(...r):e()}catch(i){Fl(i,t,n)}}function Xt(e,t,n,r){if(Ce(e)){const i=Ci(e,t,n,r);return i&&Tc(i)&&i.catch(l=>{Fl(l,t,n)}),i}if(_e(e)){const i=[];for(let l=0;l<e.length;l++)i.push(Xt(e[l],t,n,r));return i}}function Fl(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Ve;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 d=0;d<u.length;d++)if(u[d](e,a,c)===!1)return}s=s.parent}if(l){$n(),Ci(l,null,10,[e,a,c]),Nn();return}}Cg(e,n,i,r,o)}function Cg(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const kt=[];let ln=-1;const Er=[];let kn=null,wr=0;const ed=Promise.resolve();let il=null;function ze(e){const t=il||ed;return e?t.then(this?e.bind(this):e):t}function kg(e){let t=ln+1,n=kt.length;for(;t<n;){const r=t+n>>>1,i=kt[r],l=fi(i);l<e||l===e&&i.flags&2?t=r+1:n=r}return t}function Ds(e){if(!(e.flags&1)){const t=fi(e),n=kt[kt.length-1];!n||!(e.flags&2)&&t>=fi(n)?kt.push(e):kt.splice(kg(t),0,e),e.flags|=1,td()}}function td(){il||(il=ed.then(rd))}function Eg(e){_e(e)?Er.push(...e):kn&&e.id===-1?kn.splice(wr+1,0,e):e.flags&1||(Er.push(e),e.flags|=1),td()}function xa(e,t,n=ln+1){for(;n<kt.length;n++){const r=kt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;kt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function nd(e){if(Er.length){const t=[...new Set(Er)].sort((n,r)=>fi(n)-fi(r));if(Er.length=0,kn){kn.push(...t);return}for(kn=t,wr=0;wr<kn.length;wr++){const n=kn[wr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}kn=null,wr=0}}const fi=e=>e.id==null?e.flags&2?-1:1/0:e.id;function rd(e){try{for(ln=0;ln<kt.length;ln++){const t=kt[ln];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ci(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ln<kt.length;ln++){const t=kt[ln];t&&(t.flags&=-2)}ln=-1,kt.length=0,nd(),il=null,(kt.length||Er.length)&&rd()}}let Ft=null,id=null;function ll(e){const t=Ft;return Ft=e,id=e&&e.type.__scopeId||null,t}function ge(e,t=Ft,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Ba(-1);const l=ll(t);let o;try{o=e(...i)}finally{ll(l),r._d&&Ba(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function An(e,t){if(Ft===null)return e;const n=Il(Ft),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[l,o,s,a=Ve]=t[i];l&&(Ce(l)&&(l={mounted:l,updated:l}),l.deep&&yn(o),r.push({dir:l,instance:n,value:o,oldValue:void 0,arg:s,modifiers:a}))}return e}function jn(e,t,n,r){const i=e.dirs,l=t&&t.dirs;for(let o=0;o<i.length;o++){const s=i[o];l&&(s.oldValue=l[o].value);let a=s.dir[r];a&&($n(),Xt(a,n,8,[e.el,s,e,t]),Nn())}}const ld=Symbol("_vte"),od=e=>e.__isTeleport,ni=e=>e&&(e.disabled||e.disabled===""),Ca=e=>e&&(e.defer||e.defer===""),ka=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ea=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Go=(e,t)=>{const n=e&&e.to;return Ye(n)?t?t(n):null:n},sd={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,l,o,s,a,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:g,createText:v,createComment:p}}=c,T=ni(t.props);let{shapeFlag:S,children:E,dynamicChildren:q}=t;if(e==null){const L=t.el=v(""),I=t.anchor=v("");h(L,n,r),h(I,n,r);const W=(P,M)=>{S&16&&(i&&i.isCE&&(i.ce._teleportTarget=P),u(E,P,M,i,l,o,s,a))},Z=()=>{const P=t.target=Go(t.props,g),M=ad(P,t,v,h);P&&(o!=="svg"&&ka(P)?o="svg":o!=="mathml"&&Ea(P)&&(o="mathml"),T||(W(P,M),Ui(t,!1)))};T&&(W(n,I),Ui(t,!0)),Ca(t.props)?Ct(()=>{Z(),t.el.__isMounted=!0},l):Z()}else{if(Ca(t.props)&&!e.el.__isMounted){Ct(()=>{sd.process(e,t,n,r,i,l,o,s,a,c),delete e.el.__isMounted},l);return}t.el=e.el,t.targetStart=e.targetStart;const L=t.anchor=e.anchor,I=t.target=e.target,W=t.targetAnchor=e.targetAnchor,Z=ni(e.props),P=Z?n:I,M=Z?L:W;if(o==="svg"||ka(I)?o="svg":(o==="mathml"||Ea(I))&&(o="mathml"),q?(f(e.dynamicChildren,q,P,i,l,o,s),Is(e,t,!0)):a||d(e,t,P,M,i,l,o,s,!1),T)Z?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Di(t,n,L,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=Go(t.props,g);U&&Di(t,U,null,c,0)}else Z&&Di(t,I,W,c,1);Ui(t,T)}},remove(e,t,n,{um:r,o:{remove:i}},l){const{shapeFlag:o,children:s,anchor:a,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(i(c),i(u)),l&&i(a),o&16){const h=l||!ni(f);for(let g=0;g<s.length;g++){const v=s[g];r(v,t,n,h,!!v.dynamicChildren)}}},move:Di,hydrate:qg};function Di(e,t,n,{o:{insert:r},m:i},l=2){l===0&&r(e.targetAnchor,t,n);const{el:o,anchor:s,shapeFlag:a,children:c,props:u}=e,d=l===2;if(d&&r(o,t,n),(!d||ni(u))&&a&16)for(let f=0;f<c.length;f++)i(c[f],t,n,2);d&&r(s,t,n)}function qg(e,t,n,r,i,l,{o:{nextSibling:o,parentNode:s,querySelector:a,insert:c,createText:u}},d){const f=t.target=Go(t.props,a);if(f){const h=ni(t.props),g=f._lpa||f.firstChild;if(t.shapeFlag&16)if(h)t.anchor=d(o(e),t,s(e),n,r,i,l),t.targetStart=g,t.targetAnchor=g&&o(g);else{t.anchor=o(e);let v=g;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")t.targetStart=v;else if(v.data==="teleport anchor"){t.targetAnchor=v,f._lpa=t.targetAnchor&&o(t.targetAnchor);break}}v=o(v)}t.targetAnchor||ad(f,t,u,c),d(g&&o(g),t,f,n,r,i,l)}Ui(t,h)}return t.anchor&&o(t.anchor)}const Tg=sd;function Ui(e,t){const n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function ad(e,t,n,r){const i=t.targetStart=n(""),l=t.targetAnchor=n("");return i[ld]=l,e&&(r(i,e),r(l,e)),l}const En=Symbol("_leaveCb"),Mi=Symbol("_enterCb");function ud(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Zt(()=>{e.isMounted=!0}),tt(()=>{e.isUnmounting=!0}),e}const $t=[Function,Array],cd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$t,onEnter:$t,onAfterEnter:$t,onEnterCancelled:$t,onBeforeLeave:$t,onLeave:$t,onAfterLeave:$t,onLeaveCancelled:$t,onBeforeAppear:$t,onAppear:$t,onAfterAppear:$t,onAppearCancelled:$t},dd=e=>{const t=e.subTree;return t.component?dd(t.component):t},Rg={name:"BaseTransition",props:cd,setup(e,{slots:t}){const n=Pe(),r=ud();return()=>{const i=t.default&&Ms(t.default(),!0);if(!i||!i.length)return;const l=fd(i),o=Ee(e),{mode:s}=o;if(r.isLeaving)return go(l);const a=qa(l);if(!a)return go(l);let c=hi(a,o,r,n,d=>c=d);a.type!==Pt&&lr(a,c);let u=n.subTree&&qa(n.subTree);if(u&&u.type!==Pt&&!Qn(a,u)&&dd(n).type!==Pt){let d=hi(u,o,r,n);if(lr(u,d),s==="out-in"&&a.type!==Pt)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},go(l);s==="in-out"&&a.type!==Pt?d.delayLeave=(f,h,g)=>{const v=hd(r,u);v[String(u.key)]=u,f[En]=()=>{h(),f[En]=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 l}}};function fd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Pt){t=n;break}}return t}const Pg=Rg;function hd(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function hi(e,t,n,r,i){const{appear:l,mode:o,persisted:s=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:p,onAppear:T,onAfterAppear:S,onAppearCancelled:E}=t,q=String(e.key),L=hd(n,e),I=(P,M)=>{P&&Xt(P,r,9,M)},W=(P,M)=>{const U=M[1];I(P,M),_e(P)?P.every(C=>C.length<=1)&&U():P.length<=1&&U()},Z={mode:o,persisted:s,beforeEnter(P){let M=a;if(!n.isMounted)if(l)M=p||a;else return;P[En]&&P[En](!0);const U=L[q];U&&Qn(e,U)&&U.el[En]&&U.el[En](),I(M,[P])},enter(P){let M=c,U=u,C=d;if(!n.isMounted)if(l)M=T||c,U=S||u,C=E||d;else return;let J=!1;const N=P[Mi]=le=>{J||(J=!0,le?I(C,[P]):I(U,[P]),Z.delayedLeave&&Z.delayedLeave(),P[Mi]=void 0)};M?W(M,[P,N]):N()},leave(P,M){const U=String(e.key);if(P[Mi]&&P[Mi](!0),n.isUnmounting)return M();I(f,[P]);let C=!1;const J=P[En]=N=>{C||(C=!0,M(),N?I(v,[P]):I(g,[P]),P[En]=void 0,L[U]===e&&delete L[U])};L[U]=e,h?W(h,[P,J]):J()},clone(P){const M=hi(P,t,n,r,i);return i&&i(M),M}};return Z}function go(e){if(Ll(e))return e=Fn(e),e.children=null,e}function qa(e){if(!Ll(e))return od(e.type)&&e.children?fd(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Ce(n.default))return n.default()}}function lr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,lr(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 Ms(e,t=!1,n){let r=[],i=0;for(let l=0;l<e.length;l++){let o=e[l];const s=n==null?o.key:String(n)+String(o.key!=null?o.key:l);o.type===Rt?(o.patchFlag&128&&i++,r=r.concat(Ms(o.children,t,s))):(t||o.type!==Pt)&&r.push(s!=null?Fn(o,{key:s}):o)}if(i>1)for(let l=0;l<r.length;l++)r[l].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Bs(e,t){return Ce(e)?st({name:e.name},t,{setup:e}):e}function gd(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ol(e,t,n,r,i=!1){if(_e(e)){e.forEach((g,v)=>ol(g,t&&(_e(t)?t[v]:t),n,r,i));return}if(ri(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&ol(e,t,n,r.component.subTree);return}const l=r.shapeFlag&4?Il(r.component):r.el,o=i?null:l,{i:s,r:a}=e,c=t&&t.r,u=s.refs===Ve?s.refs={}:s.refs,d=s.setupState,f=Ee(d),h=d===Ve?()=>!1:g=>Me(f,g);if(c!=null&&c!==a&&(Ye(c)?(u[c]=null,h(c)&&(d[c]=null)):_t(c)&&(c.value=null)),Ce(a))Ci(a,s,12,[o,u]);else{const g=Ye(a),v=_t(a);if(g||v){const p=()=>{if(e.f){const T=g?h(a)?d[a]:u[a]:a.value;i?_e(T)&&ks(T,l):_e(T)?T.includes(l)||T.push(l):g?(u[a]=[l],h(a)&&(d[a]=u[a])):(a.value=[l],e.k&&(u[e.k]=a.value))}else g?(u[a]=o,h(a)&&(d[a]=o)):v&&(a.value=o,e.k&&(u[e.k]=o))};o?(p.id=-1,Ct(p,n)):p()}}}Pl().requestIdleCallback;Pl().cancelIdleCallback;const ri=e=>!!e.type.__asyncLoader,Ll=e=>e.type.__isKeepAlive;function Dl(e,t){md(e,"a",t)}function $r(e,t){md(e,"da",t)}function md(e,t,n=mt){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ml(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Ll(i.parent.vnode)&&Ag(r,t,n,i),i=i.parent}}function Ag(e,t,n,r){const i=Ml(t,e,r,!0);Ns(()=>{ks(r[t],i)},n)}function Ml(e,t,n=mt,r=!1){if(n){const i=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{$n();const s=ki(n),a=Xt(t,n,e,o);return s(),Nn(),a});return r?i.unshift(l):i.push(l),l}}const _n=e=>(t,n=mt)=>{(!mi||e==="sp")&&Ml(e,(...r)=>t(...r),n)},Bl=_n("bm"),Zt=_n("m"),$l=_n("bu"),$s=_n("u"),tt=_n("bum"),Ns=_n("um"),Og=_n("sp"),Fg=_n("rtg"),Lg=_n("rtc");function Dg(e,t=mt){Ml("ec",e,t)}const Mg="components";function pd(e,t){return $g(Mg,e,!0,t)||e}const Bg=Symbol.for("v-ndc");function $g(e,t,n=!0,r=!1){const i=Ft||mt;if(i){const l=i.type;{const s=Cm(l,!1);if(s&&(s===t||s===jt(t)||s===Rl(jt(t))))return l}const o=Ta(i[e]||l[e],t)||Ta(i.appContext[e],t);return!o&&r?l:o}}function Ta(e,t){return e&&(e[t]||e[jt(t)]||e[Rl(jt(t))])}function vd(e,t,n,r){let i;const l=n,o=_e(e);if(o||Ye(e)){const s=o&&kr(e);let a=!1;s&&(a=!Vt(e),e=Ol(e)),i=new Array(e.length);for(let c=0,u=e.length;c<u;c++)i[c]=t(a?yt(e[c]):e[c],c,void 0,l)}else if(typeof e=="number"){i=new Array(e);for(let s=0;s<e;s++)i[s]=t(s+1,s,void 0,l)}else if(Ue(e))if(e[Symbol.iterator])i=Array.from(e,(s,a)=>t(s,a,void 0,l));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,l)}}else i=[];return i}const Jo=e=>e?Bd(e)?Il(e):Jo(e.parent):null,ii=st(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=>Jo(e.parent),$root:e=>Jo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yd(e),$forceUpdate:e=>e.f||(e.f=()=>{Ds(e.update)}),$nextTick:e=>e.n||(e.n=ze.bind(e.proxy)),$watch:e=>lm.bind(e)}),mo=(e,t)=>e!==Ve&&!e.__isScriptSetup&&Me(e,t),Ng={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:l,accessCache:o,type:s,appContext:a}=e;let c;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return l[t]}else{if(mo(r,t))return o[t]=1,r[t];if(i!==Ve&&Me(i,t))return o[t]=2,i[t];if((c=e.propsOptions[0])&&Me(c,t))return o[t]=3,l[t];if(n!==Ve&&Me(n,t))return o[t]=4,n[t];Xo&&(o[t]=0)}}const u=ii[t];let d,f;if(u)return t==="$attrs"&&bt(e.attrs,"get",""),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Ve&&Me(n,t))return o[t]=4,n[t];if(f=a.config.globalProperties,Me(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:l}=e;return mo(i,t)?(i[t]=n,!0):r!==Ve&&Me(r,t)?(r[t]=n,!0):Me(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:l}},o){let s;return!!n[o]||e!==Ve&&Me(e,o)||mo(t,o)||(s=l[0])&&Me(s,o)||Me(r,o)||Me(ii,o)||Me(i.config.globalProperties,o)},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 Ra(e){return _e(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Xo=!0;function Vg(e){const t=yd(e),n=e.proxy,r=e.ctx;Xo=!1,t.beforeCreate&&Pa(t.beforeCreate,e,"bc");const{data:i,computed:l,methods:o,watch:s,provide:a,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:g,activated:v,deactivated:p,beforeDestroy:T,beforeUnmount:S,destroyed:E,unmounted:q,render:L,renderTracked:I,renderTriggered:W,errorCaptured:Z,serverPrefetch:P,expose:M,inheritAttrs:U,components:C,directives:J,filters:N}=t;if(c&&Ig(c,r,null),o)for(const oe in o){const Q=o[oe];Ce(Q)&&(r[oe]=Q.bind(n))}if(i){const oe=i.call(n,n);Ue(oe)&&(e.data=Mr(oe))}if(Xo=!0,l)for(const oe in l){const Q=l[oe],ae=Ce(Q)?Q.bind(n,n):Ce(Q.get)?Q.get.bind(n,n):an,pe=!Ce(Q)&&Ce(Q.set)?Q.set.bind(n):an,A=y({get:ae,set:pe});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>A.value,set:m=>A.value=m})}if(s)for(const oe in s)bd(s[oe],r,n,oe);if(a){const oe=Ce(a)?a.call(n):a;Reflect.ownKeys(oe).forEach(Q=>{Ki(Q,oe[Q])})}u&&Pa(u,e,"c");function te(oe,Q){_e(Q)?Q.forEach(ae=>oe(ae.bind(n))):Q&&oe(Q.bind(n))}if(te(Bl,d),te(Zt,f),te($l,h),te($s,g),te(Dl,v),te($r,p),te(Dg,Z),te(Lg,I),te(Fg,W),te(tt,S),te(Ns,q),te(Og,P),_e(M))if(M.length){const oe=e.exposed||(e.exposed={});M.forEach(Q=>{Object.defineProperty(oe,Q,{get:()=>n[Q],set:ae=>n[Q]=ae})})}else e.exposed||(e.exposed={});L&&e.render===an&&(e.render=L),U!=null&&(e.inheritAttrs=U),C&&(e.components=C),J&&(e.directives=J),P&&gd(e)}function Ig(e,t,n=an){_e(e)&&(e=Yo(e));for(const r in e){const i=e[r];let l;Ue(i)?"default"in i?l=It(i.from||r,i.default,!0):l=It(i.from||r):l=It(i),_t(l)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[r]=l}}function Pa(e,t,n){Xt(_e(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function bd(e,t,n,r){let i=r.includes(".")?Od(n,r):()=>n[r];if(Ye(e)){const l=t[e];Ce(l)&&ye(i,l)}else if(Ce(e))ye(i,e.bind(n));else if(Ue(e))if(_e(e))e.forEach(l=>bd(l,t,n,r));else{const l=Ce(e.handler)?e.handler.bind(n):t[e.handler];Ce(l)&&ye(i,l,e)}}function yd(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,s=l.get(t);let a;return s?a=s:!i.length&&!n&&!r?a=t:(a={},i.length&&i.forEach(c=>sl(a,c,o,!0)),sl(a,t,o)),Ue(t)&&l.set(t,a),a}function sl(e,t,n,r=!1){const{mixins:i,extends:l}=t;l&&sl(e,l,n,!0),i&&i.forEach(o=>sl(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const s=jg[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const jg={data:Aa,props:Oa,emits:Oa,methods:Xr,computed:Xr,beforeCreate:xt,created:xt,beforeMount:xt,mounted:xt,beforeUpdate:xt,updated:xt,beforeDestroy:xt,beforeUnmount:xt,destroyed:xt,unmounted:xt,activated:xt,deactivated:xt,errorCaptured:xt,serverPrefetch:xt,components:Xr,directives:Xr,watch:zg,provide:Aa,inject:Hg};function Aa(e,t){return t?e?function(){return st(Ce(e)?e.call(this,this):e,Ce(t)?t.call(this,this):t)}:t:e}function Hg(e,t){return Xr(Yo(e),Yo(t))}function Yo(e){if(_e(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function xt(e,t){return e?[...new Set([].concat(e,t))]:t}function Xr(e,t){return e?st(Object.create(null),e,t):t}function Oa(e,t){return e?_e(e)&&_e(t)?[...new Set([...e,...t])]:st(Object.create(null),Ra(e),Ra(t??{})):t}function zg(e,t){if(!e)return t;if(!t)return e;const n=st(Object.create(null),e);for(const r in t)n[r]=xt(e[r],t[r]);return n}function wd(){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 Ug=0;function Kg(e,t){return function(r,i=null){Ce(r)||(r=st({},r)),i!=null&&!Ue(i)&&(i=null);const l=wd(),o=new WeakSet,s=[];let a=!1;const c=l.app={_uid:Ug++,_component:r,_props:i,_container:null,_context:l,_instance:null,version:Em,get config(){return l.config},set config(u){},use(u,...d){return o.has(u)||(u&&Ce(u.install)?(o.add(u),u.install(c,...d)):Ce(u)&&(o.add(u),u(c,...d))),c},mixin(u){return l.mixins.includes(u)||l.mixins.push(u),c},component(u,d){return d?(l.components[u]=d,c):l.components[u]},directive(u,d){return d?(l.directives[u]=d,c):l.directives[u]},mount(u,d,f){if(!a){const h=c._ceVNode||ee(r,i);return h.appContext=l,f===!0?f="svg":f===!1&&(f=void 0),e(h,u,f),a=!0,c._container=u,u.__vue_app__=c,Il(h.component)}},onUnmount(u){s.push(u)},unmount(){a&&(Xt(s,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,d){return l.provides[u]=d,c},runWithContext(u){const d=qr;qr=c;try{return u()}finally{qr=d}}};return c}}let qr=null;function Ki(e,t){if(mt){let n=mt.provides;const r=mt.parent&&mt.parent.provides;r===n&&(n=mt.provides=Object.create(r)),n[e]=t}}function It(e,t,n=!1){const r=mt||Ft;if(r||qr){const i=qr?qr._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Ce(t)?t.call(r&&r.proxy):t}}const _d={},Sd=()=>Object.create(_d),xd=e=>Object.getPrototypeOf(e)===_d;function Wg(e,t,n,r=!1){const i={},l=Sd();e.propsDefaults=Object.create(null),Cd(e,t,i,l);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:Jc(i):e.type.props?e.props=i:e.props=l,e.attrs=l}function Qg(e,t,n,r){const{props:i,attrs:l,vnode:{patchFlag:o}}=e,s=Ee(i),[a]=e.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(Nl(e.emitsOptions,f))continue;const h=t[f];if(a)if(Me(l,f))h!==l[f]&&(l[f]=h,c=!0);else{const g=jt(f);i[g]=Zo(a,s,g,h,e,!1)}else h!==l[f]&&(l[f]=h,c=!0)}}}else{Cd(e,t,i,l)&&(c=!0);let u;for(const d in s)(!t||!Me(t,d)&&((u=Bn(d))===d||!Me(t,u)))&&(a?n&&(n[d]!==void 0||n[u]!==void 0)&&(i[d]=Zo(a,s,d,void 0,e,!0)):delete i[d]);if(l!==s)for(const d in l)(!t||!Me(t,d))&&(delete l[d],c=!0)}c&&bn(e.attrs,"set","")}function Cd(e,t,n,r){const[i,l]=e.propsOptions;let o=!1,s;if(t)for(let a in t){if(Zr(a))continue;const c=t[a];let u;i&&Me(i,u=jt(a))?!l||!l.includes(u)?n[u]=c:(s||(s={}))[u]=c:Nl(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,o=!0)}if(l){const a=Ee(n),c=s||Ve;for(let u=0;u<l.length;u++){const d=l[u];n[d]=Zo(i,a,d,c[d],e,!Me(c,d))}}return o}function Zo(e,t,n,r,i,l){const o=e[n];if(o!=null){const s=Me(o,"default");if(s&&r===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&Ce(a)){const{propsDefaults:c}=i;if(n in c)r=c[n];else{const u=ki(i);r=c[n]=a.call(null,t),u()}}else r=a;i.ce&&i.ce._setProp(n,r)}o[0]&&(l&&!s?r=!1:o[1]&&(r===""||r===Bn(n))&&(r=!0))}return r}const Gg=new WeakMap;function kd(e,t,n=!1){const r=n?Gg:t.propsCache,i=r.get(e);if(i)return i;const l=e.props,o={},s=[];let a=!1;if(!Ce(e)){const u=d=>{a=!0;const[f,h]=kd(d,t,!0);st(o,f),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!l&&!a)return Ue(e)&&r.set(e,xr),xr;if(_e(l))for(let u=0;u<l.length;u++){const d=jt(l[u]);Fa(d)&&(o[d]=Ve)}else if(l)for(const u in l){const d=jt(u);if(Fa(d)){const f=l[u],h=o[d]=_e(f)||Ce(f)?{type:f}:st({},f),g=h.type;let v=!1,p=!0;if(_e(g))for(let T=0;T<g.length;++T){const S=g[T],E=Ce(S)&&S.name;if(E==="Boolean"){v=!0;break}else E==="String"&&(p=!1)}else v=Ce(g)&&g.name==="Boolean";h[0]=v,h[1]=p,(v||Me(h,"default"))&&s.push(d)}}const c=[o,s];return Ue(e)&&r.set(e,c),c}function Fa(e){return e[0]!=="$"&&!Zr(e)}const Ed=e=>e[0]==="_"||e==="$stable",Vs=e=>_e(e)?e.map(on):[on(e)],Jg=(e,t,n)=>{if(t._n)return t;const r=ge((...i)=>Vs(t(...i)),n);return r._c=!1,r},qd=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Ed(i))continue;const l=e[i];if(Ce(l))t[i]=Jg(i,l,r);else if(l!=null){const o=Vs(l);t[i]=()=>o}}},Td=(e,t)=>{const n=Vs(t);e.slots.default=()=>n},Rd=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Xg=(e,t,n)=>{const r=e.slots=Sd();if(e.vnode.shapeFlag&32){const i=t._;i?(Rd(r,t,n),n&&Ac(r,"_",i,!0)):qd(t,r)}else t&&Td(e,t)},Yg=(e,t,n)=>{const{vnode:r,slots:i}=e;let l=!0,o=Ve;if(r.shapeFlag&32){const s=t._;s?n&&s===1?l=!1:Rd(i,t,n):(l=!t.$stable,qd(t,i)),o=t}else t&&(Td(e,t),o={default:1});if(l)for(const s in i)!Ed(s)&&o[s]==null&&delete i[s]},Ct=fm;function Zg(e){return em(e)}function em(e,t){const n=Pl();n.__VUE__=!0;const{insert:r,remove:i,patchProp:l,createElement:o,createText:s,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=an,insertStaticContent:g}=e,v=(w,_,R,j=null,z=null,B=null,X=void 0,ie=null,ne=!!_.dynamicChildren)=>{if(w===_)return;w&&!Qn(w,_)&&(j=x(w),m(w,z,B,!0),w=null),_.patchFlag===-2&&(ne=!1,_.dynamicChildren=null);const{type:G,ref:he,shapeFlag:se}=_;switch(G){case Vl:p(w,_,R,j);break;case Pt:T(w,_,R,j);break;case vo:w==null&&S(_,R,j,X);break;case Rt:C(w,_,R,j,z,B,X,ie,ne);break;default:se&1?L(w,_,R,j,z,B,X,ie,ne):se&6?J(w,_,R,j,z,B,X,ie,ne):(se&64||se&128)&&G.process(w,_,R,j,z,B,X,ie,ne,Y)}he!=null&&z&&ol(he,w&&w.ref,B,_||w,!_)},p=(w,_,R,j)=>{if(w==null)r(_.el=s(_.children),R,j);else{const z=_.el=w.el;_.children!==w.children&&c(z,_.children)}},T=(w,_,R,j)=>{w==null?r(_.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=f(w),r(w,R,j),w=z;r(_,R,j)},q=({el:w,anchor:_})=>{let R;for(;w&&w!==_;)R=f(w),i(w),w=R;i(_)},L=(w,_,R,j,z,B,X,ie,ne)=>{_.type==="svg"?X="svg":_.type==="math"&&(X="mathml"),w==null?I(_,R,j,z,B,X,ie,ne):P(w,_,z,B,X,ie,ne)},I=(w,_,R,j,z,B,X,ie)=>{let ne,G;const{props:he,shapeFlag:se,transition:me,dirs:ve}=w;if(ne=w.el=o(w.type,B,he&&he.is,he),se&8?u(ne,w.children):se&16&&Z(w.children,ne,null,j,z,po(w,B),X,ie),ve&&jn(w,null,j,"created"),W(ne,w,w.scopeId,X,j),he){for(const Oe in he)Oe!=="value"&&!Zr(Oe)&&l(ne,Oe,null,he[Oe],B,j);"value"in he&&l(ne,"value",null,he.value,B),(G=he.onVnodeBeforeMount)&&tn(G,j,w)}ve&&jn(w,null,j,"beforeMount");const qe=tm(z,me);qe&&me.beforeEnter(ne),r(ne,_,R),((G=he&&he.onVnodeMounted)||qe||ve)&&Ct(()=>{G&&tn(G,j,w),qe&&me.enter(ne),ve&&jn(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||Ld(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,ie,ne=0)=>{for(let G=ne;G<w.length;G++){const he=w[G]=ie?qn(w[G]):on(w[G]);v(null,he,_,R,j,z,B,X,ie)}},P=(w,_,R,j,z,B,X)=>{const ie=_.el=w.el;let{patchFlag:ne,dynamicChildren:G,dirs:he}=_;ne|=w.patchFlag&16;const se=w.props||Ve,me=_.props||Ve;let ve;if(R&&Hn(R,!1),(ve=me.onVnodeBeforeUpdate)&&tn(ve,R,_,w),he&&jn(_,w,R,"beforeUpdate"),R&&Hn(R,!0),(se.innerHTML&&me.innerHTML==null||se.textContent&&me.textContent==null)&&u(ie,""),G?M(w.dynamicChildren,G,ie,R,j,po(_,z),B):X||Q(w,_,ie,null,R,j,po(_,z),B,!1),ne>0){if(ne&16)U(ie,se,me,R,z);else if(ne&2&&se.class!==me.class&&l(ie,"class",null,me.class,z),ne&4&&l(ie,"style",se.style,me.style,z),ne&8){const qe=_.dynamicProps;for(let Oe=0;Oe<qe.length;Oe++){const Fe=qe[Oe],at=se[Fe],Ie=me[Fe];(Ie!==at||Fe==="value")&&l(ie,Fe,at,Ie,z,R)}}ne&1&&w.children!==_.children&&u(ie,_.children)}else!X&&G==null&&U(ie,se,me,R,z);((ve=me.onVnodeUpdated)||he)&&Ct(()=>{ve&&tn(ve,R,_,w),he&&jn(_,w,R,"updated")},j)},M=(w,_,R,j,z,B,X)=>{for(let ie=0;ie<_.length;ie++){const ne=w[ie],G=_[ie],he=ne.el&&(ne.type===Rt||!Qn(ne,G)||ne.shapeFlag&70)?d(ne.el):R;v(ne,G,he,null,j,z,B,X,!0)}},U=(w,_,R,j,z)=>{if(_!==R){if(_!==Ve)for(const B in _)!Zr(B)&&!(B in R)&&l(w,B,_[B],null,z,j);for(const B in R){if(Zr(B))continue;const X=R[B],ie=_[B];X!==ie&&B!=="value"&&l(w,B,ie,X,z,j)}"value"in R&&l(w,"value",_.value,R.value,z)}},C=(w,_,R,j,z,B,X,ie,ne)=>{const G=_.el=w?w.el:s(""),he=_.anchor=w?w.anchor:s("");let{patchFlag:se,dynamicChildren:me,slotScopeIds:ve}=_;ve&&(ie=ie?ie.concat(ve):ve),w==null?(r(G,R,j),r(he,R,j),Z(_.children||[],R,he,z,B,X,ie,ne)):se>0&&se&64&&me&&w.dynamicChildren?(M(w.dynamicChildren,me,R,z,B,X,ie),(_.key!=null||z&&_===z.subTree)&&Is(w,_,!0)):Q(w,_,R,he,z,B,X,ie,ne)},J=(w,_,R,j,z,B,X,ie,ne)=>{_.slotScopeIds=ie,w==null?_.shapeFlag&512?z.ctx.activate(_,R,j,X,ne):N(_,R,j,z,B,X,ne):le(w,_,ne)},N=(w,_,R,j,z,B,X)=>{const ie=w.component=ym(w,j,z);if(Ll(w)&&(ie.ctx.renderer=Y),wm(ie,!1,X),ie.asyncDep){if(z&&z.registerDep(ie,te,X),!w.el){const ne=ie.subTree=ee(Pt);T(null,ne,_,R)}}else te(ie,w,_,R,z,B,X)},le=(w,_,R)=>{const j=_.component=w.component;if(cm(w,_,R))if(j.asyncDep&&!j.asyncResolved){oe(j,_,R);return}else j.next=_,j.update();else _.el=w.el,j.vnode=_},te=(w,_,R,j,z,B,X)=>{const ie=()=>{if(w.isMounted){let{next:se,bu:me,u:ve,parent:qe,vnode:Oe}=w;{const Xe=Pd(w);if(Xe){se&&(se.el=Oe.el,oe(w,se,X)),Xe.asyncDep.then(()=>{w.isUnmounted||ie()});return}}let Fe=se,at;Hn(w,!1),se?(se.el=Oe.el,oe(w,se,X)):se=Oe,me&&ao(me),(at=se.props&&se.props.onVnodeBeforeUpdate)&&tn(at,qe,se,Oe),Hn(w,!0);const Ie=Da(w),Ke=w.subTree;w.subTree=Ie,v(Ke,Ie,d(Ke.el),x(Ke),w,z,B),se.el=Ie.el,Fe===null&&dm(w,Ie.el),ve&&Ct(ve,z),(at=se.props&&se.props.onVnodeUpdated)&&Ct(()=>tn(at,qe,se,Oe),z)}else{let se;const{el:me,props:ve}=_,{bm:qe,m:Oe,parent:Fe,root:at,type:Ie}=w,Ke=ri(_);Hn(w,!1),qe&&ao(qe),!Ke&&(se=ve&&ve.onVnodeBeforeMount)&&tn(se,Fe,_),Hn(w,!0);{at.ce&&at.ce._injectChildStyle(Ie);const Xe=w.subTree=Da(w);v(null,Xe,R,j,w,z,B),_.el=Xe.el}if(Oe&&Ct(Oe,z),!Ke&&(se=ve&&ve.onVnodeMounted)){const Xe=_;Ct(()=>tn(se,Fe,Xe),z)}(_.shapeFlag&256||Fe&&ri(Fe.vnode)&&Fe.vnode.shapeFlag&256)&&w.a&&Ct(w.a,z),w.isMounted=!0,_=R=j=null}};w.scope.on();const ne=w.effect=new Mc(ie);w.scope.off();const G=w.update=ne.run.bind(ne),he=w.job=ne.runIfDirty.bind(ne);he.i=w,he.id=w.uid,ne.scheduler=()=>Ds(he),Hn(w,!0),G()},oe=(w,_,R)=>{_.component=w;const j=w.vnode.props;w.vnode=_,w.next=null,Qg(w,_.props,j,R),Yg(w,_.children,R),$n(),xa(w),Nn()},Q=(w,_,R,j,z,B,X,ie,ne=!1)=>{const G=w&&w.children,he=w?w.shapeFlag:0,se=_.children,{patchFlag:me,shapeFlag:ve}=_;if(me>0){if(me&128){pe(G,se,R,j,z,B,X,ie,ne);return}else if(me&256){ae(G,se,R,j,z,B,X,ie,ne);return}}ve&8?(he&16&&F(G,z,B),se!==G&&u(R,se)):he&16?ve&16?pe(G,se,R,j,z,B,X,ie,ne):F(G,z,B,!0):(he&8&&u(R,""),ve&16&&Z(se,R,j,z,B,X,ie,ne))},ae=(w,_,R,j,z,B,X,ie,ne)=>{w=w||xr,_=_||xr;const G=w.length,he=_.length,se=Math.min(G,he);let me;for(me=0;me<se;me++){const ve=_[me]=ne?qn(_[me]):on(_[me]);v(w[me],ve,R,null,z,B,X,ie,ne)}G>he?F(w,z,B,!0,!1,se):Z(_,R,j,z,B,X,ie,ne,se)},pe=(w,_,R,j,z,B,X,ie,ne)=>{let G=0;const he=_.length;let se=w.length-1,me=he-1;for(;G<=se&&G<=me;){const ve=w[G],qe=_[G]=ne?qn(_[G]):on(_[G]);if(Qn(ve,qe))v(ve,qe,R,null,z,B,X,ie,ne);else break;G++}for(;G<=se&&G<=me;){const ve=w[se],qe=_[me]=ne?qn(_[me]):on(_[me]);if(Qn(ve,qe))v(ve,qe,R,null,z,B,X,ie,ne);else break;se--,me--}if(G>se){if(G<=me){const ve=me+1,qe=ve<he?_[ve].el:j;for(;G<=me;)v(null,_[G]=ne?qn(_[G]):on(_[G]),R,qe,z,B,X,ie,ne),G++}}else if(G>me)for(;G<=se;)m(w[G],z,B,!0),G++;else{const ve=G,qe=G,Oe=new Map;for(G=qe;G<=me;G++){const lt=_[G]=ne?qn(_[G]):on(_[G]);lt.key!=null&&Oe.set(lt.key,G)}let Fe,at=0;const Ie=me-qe+1;let Ke=!1,Xe=0;const cn=new Array(Ie);for(G=0;G<Ie;G++)cn[G]=0;for(G=ve;G<=se;G++){const lt=w[G];if(at>=Ie){m(lt,z,B,!0);continue}let St;if(lt.key!=null)St=Oe.get(lt.key);else for(Fe=qe;Fe<=me;Fe++)if(cn[Fe-qe]===0&&Qn(lt,_[Fe])){St=Fe;break}St===void 0?m(lt,z,B,!0):(cn[St-qe]=G+1,St>=Xe?Xe=St:Ke=!0,v(lt,_[St],R,null,z,B,X,ie,ne),at++)}const dn=Ke?nm(cn):xr;for(Fe=dn.length-1,G=Ie-1;G>=0;G--){const lt=qe+G,St=_[lt],fn=lt+1<he?_[lt+1].el:j;cn[G]===0?v(null,St,R,fn,z,B,X,ie,ne):Ke&&(Fe<0||G!==dn[Fe]?A(St,R,fn,2):Fe--)}}},A=(w,_,R,j,z=null)=>{const{el:B,type:X,transition:ie,children:ne,shapeFlag:G}=w;if(G&6){A(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===Rt){r(B,_,R);for(let se=0;se<ne.length;se++)A(ne[se],_,R,j);r(w.anchor,_,R);return}if(X===vo){E(w,_,R);return}if(j!==2&&G&1&&ie)if(j===0)ie.beforeEnter(B),r(B,_,R),Ct(()=>ie.enter(B),z);else{const{leave:se,delayLeave:me,afterLeave:ve}=ie,qe=()=>r(B,_,R),Oe=()=>{se(B,()=>{qe(),ve&&ve()})};me?me(B,qe,Oe):Oe()}else r(B,_,R)},m=(w,_,R,j=!1,z=!1)=>{const{type:B,props:X,ref:ie,children:ne,dynamicChildren:G,shapeFlag:he,patchFlag:se,dirs:me,cacheIndex:ve}=w;if(se===-2&&(z=!1),ie!=null&&ol(ie,null,R,w,!0),ve!=null&&(_.renderCache[ve]=void 0),he&256){_.ctx.deactivate(w);return}const qe=he&1&&me,Oe=!ri(w);let Fe;if(Oe&&(Fe=X&&X.onVnodeBeforeUnmount)&&tn(Fe,_,w),he&6)re(w.component,R,j);else{if(he&128){w.suspense.unmount(R,j);return}qe&&jn(w,null,_,"beforeUnmount"),he&64?w.type.remove(w,_,R,Y,j):G&&!G.hasOnce&&(B!==Rt||se>0&&se&64)?F(G,_,R,!1,!0):(B===Rt&&se&384||!z&&he&16)&&F(ne,_,R),j&&$(w)}(Oe&&(Fe=X&&X.onVnodeUnmounted)||qe)&&Ct(()=>{Fe&&tn(Fe,_,w),qe&&jn(w,null,_,"unmounted")},R)},$=w=>{const{type:_,el:R,anchor:j,transition:z}=w;if(_===Rt){D(R,j);return}if(_===vo){q(w);return}const B=()=>{i(R),z&&!z.persisted&&z.afterLeave&&z.afterLeave()};if(w.shapeFlag&1&&z&&!z.persisted){const{leave:X,delayLeave:ie}=z,ne=()=>X(R,B);ie?ie(w.el,B,ne):ne()}else B()},D=(w,_)=>{let R;for(;w!==_;)R=f(w),i(w),w=R;i(_)},re=(w,_,R)=>{const{bum:j,scope:z,job:B,subTree:X,um:ie,m:ne,a:G}=w;La(ne),La(G),j&&ao(j),z.stop(),B&&(B.flags|=8,m(X,w,_,R)),ie&&Ct(ie,_),Ct(()=>{w.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},F=(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 _=f(w.anchor||w.el),R=_&&_[ld];return R?f(R):_};let K=!1;const O=(w,_,R)=>{w==null?_._vnode&&m(_._vnode,null,null,!0):v(_._vnode||null,w,_,null,null,null,R),_._vnode=w,K||(K=!0,xa(),nd(),K=!1)},Y={p:v,um:m,m:A,r:$,mt:N,mc:Z,pc:Q,pbc:M,n:x,o:e};return{render:O,hydrate:void 0,createApp:Kg(O)}}function po({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 Hn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Is(e,t,n=!1){const r=e.children,i=t.children;if(_e(r)&&_e(i))for(let l=0;l<r.length;l++){const o=r[l];let s=i[l];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[l]=qn(i[l]),s.el=o.el),!n&&s.patchFlag!==-2&&Is(o,s)),s.type===Vl&&(s.el=o.el)}}function nm(e){const t=e.slice(),n=[0];let r,i,l,o,s;const a=e.length;for(r=0;r<a;r++){const c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(l=0,o=n.length-1;l<o;)s=l+o>>1,e[n[s]]<c?l=s+1:o=s;c<e[n[l]]&&(l>0&&(t[r]=n[l-1]),n[l]=r)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}function Pd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pd(t)}function La(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const rm=Symbol.for("v-scx"),im=()=>It(rm);function ye(e,t,n){return Ad(e,t,n)}function Ad(e,t,n=Ve){const{immediate:r,deep:i,flush:l,once:o}=n,s=st({},n),a=t&&r||!t&&l!=="post";let c;if(mi){if(l==="sync"){const h=im();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=an,h.resume=an,h.pause=an,h}}const u=mt;s.call=(h,g,v)=>Xt(h,u,g,v);let d=!1;l==="post"?s.scheduler=h=>{Ct(h,u&&u.suspense)}:l!=="sync"&&(d=!0,s.scheduler=(h,g)=>{g?h():Ds(h)}),s.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const f=xg(e,t,s);return mi&&(c?c.push(f):a&&f()),f}function lm(e,t,n){const r=this.proxy,i=Ye(e)?e.includes(".")?Od(r,e):()=>r[e]:e.bind(r,r);let l;Ce(t)?l=t:(l=t.handler,n=t);const o=ki(this),s=Ad(i,l.bind(r),n);return o(),s}function Od(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const om=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${jt(t)}Modifiers`]||e[`${Bn(t)}Modifiers`];function sm(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ve;let i=n;const l=t.startsWith("update:"),o=l&&om(r,t.slice(7));o&&(o.trim&&(i=n.map(u=>Ye(u)?u.trim():u)),o.number&&(i=n.map(Hh)));let s,a=r[s=so(t)]||r[s=so(jt(t))];!a&&l&&(a=r[s=so(Bn(t))]),a&&Xt(a,e,6,i);const c=r[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Xt(c,e,6,i)}}function Fd(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const l=e.emits;let o={},s=!1;if(!Ce(e)){const a=c=>{const u=Fd(c,t,!0);u&&(s=!0,st(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!l&&!s?(Ue(e)&&r.set(e,null),null):(_e(l)?l.forEach(a=>o[a]=null):st(o,l),Ue(e)&&r.set(e,o),o)}function Nl(e,t){return!e||!El(t)?!1:(t=t.slice(2).replace(/Once$/,""),Me(e,t[0].toLowerCase()+t.slice(1))||Me(e,Bn(t))||Me(e,t))}function Da(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[l],slots:o,attrs:s,emit:a,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:g,inheritAttrs:v}=e,p=ll(e);let T,S;try{if(n.shapeFlag&4){const q=i||r,L=q;T=on(c.call(L,q,u,d,h,f,g)),S=s}else{const q=t;T=on(q.length>1?q(d,{attrs:s,slots:o,emit:a}):q(d,null)),S=t.props?s:am(s)}}catch(q){li.length=0,Fl(q,e,1),T=ee(Pt)}let E=T;if(S&&v!==!1){const q=Object.keys(S),{shapeFlag:L}=E;q.length&&L&7&&(l&&q.some(Cs)&&(S=um(S,l)),E=Fn(E,S,!1,!0))}return n.dirs&&(E=Fn(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&lr(E,n.transition),T=E,ll(p),T}const am=e=>{let t;for(const n in e)(n==="class"||n==="style"||El(n))&&((t||(t={}))[n]=e[n]);return t},um=(e,t)=>{const n={};for(const r in e)(!Cs(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cm(e,t,n){const{props:r,children:i,component:l}=e,{props:o,children:s,patchFlag:a}=t,c=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Ma(r,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(o[f]!==r[f]&&!Nl(c,f))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?Ma(r,o,c):!0:!!o;return!1}function Ma(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const l=r[i];if(t[l]!==e[l]&&!Nl(n,l))return!0}return!1}function dm({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ld=e=>e.__isSuspense;function fm(e,t){t&&t.pendingBranch?_e(e)?t.effects.push(...e):t.effects.push(e):Eg(e)}const Rt=Symbol.for("v-fgt"),Vl=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),vo=Symbol.for("v-stc"),li=[];let Mt=null;function Le(e=!1){li.push(Mt=e?null:[])}function hm(){li.pop(),Mt=li[li.length-1]||null}let gi=1;function Ba(e,t=!1){gi+=e,e<0&&Mt&&t&&(Mt.hasOnce=!0)}function Dd(e){return e.dynamicChildren=gi>0?Mt||xr:null,hm(),gi>0&&Mt&&Mt.push(e),e}function Kt(e,t,n,r,i,l){return Dd(xe(e,t,n,r,i,l,!0))}function rt(e,t,n,r,i){return Dd(ee(e,t,n,r,i,!0))}function al(e){return e?e.__v_isVNode===!0:!1}function Qn(e,t){return e.type===t.type&&e.key===t.key}const Md=({key:e})=>e??null,Wi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||_t(e)||Ce(e)?{i:Ft,r:e,k:t,f:!!n}:e:null);function xe(e,t=null,n=null,r=0,i=null,l=e===Rt?0:1,o=!1,s=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Md(t),ref:t&&Wi(t),scopeId:id,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:l,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ft};return s?(js(a,n),l&128&&e.normalize(a)):n&&(a.shapeFlag|=Ye(n)?8:16),gi>0&&!o&&Mt&&(a.patchFlag>0||l&6)&&a.patchFlag!==32&&Mt.push(a),a}const ee=gm;function gm(e,t=null,n=null,r=0,i=null,l=!1){if((!e||e===Bg)&&(e=Pt),al(e)){const s=Fn(e,t,!0);return n&&js(s,n),gi>0&&!l&&Mt&&(s.shapeFlag&6?Mt[Mt.indexOf(e)]=s:Mt.push(s)),s.patchFlag=-2,s}if(km(e)&&(e=e.__vccOpts),t){t=mm(t);let{class:s,style:a}=t;s&&!Ye(s)&&(t.class=Al(s)),Ue(a)&&(Ls(a)&&!_e(a)&&(a=st({},a)),t.style=qs(a))}const o=Ye(e)?1:Ld(e)?128:od(e)?64:Ue(e)?4:Ce(e)?2:0;return xe(e,t,n,r,i,o,l,!0)}function mm(e){return e?Ls(e)||xd(e)?st({},e):e:null}function Fn(e,t,n=!1,r=!1){const{props:i,ref:l,patchFlag:o,children:s,transition:a}=e,c=t?pm(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Md(c),ref:t&&t.ref?n&&l?_e(l)?l.concat(Wi(t)):[l,Wi(t)]:Wi(t):l,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!==Rt?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Fn(e.ssContent),ssFallback:e.ssFallback&&Fn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&lr(u,a.clone(u)),u}function Tt(e=" ",t=0){return ee(Vl,null,e,t)}function ct(e="",t=!1){return t?(Le(),rt(Pt,null,e)):ee(Pt,null,e)}function on(e){return e==null||typeof e=="boolean"?ee(Pt):_e(e)?ee(Rt,null,e.slice()):al(e)?qn(e):ee(Vl,null,String(e))}function qn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Fn(e)}function js(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(_e(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),js(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!xd(t)?t._ctx=Ft:i===3&&Ft&&(Ft.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Ce(t)?(t={default:t,_ctx:Ft},n=32):(t=String(t),r&64?(n=16,t=[Tt(t)]):n=8);e.children=t,e.shapeFlag|=n}function pm(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Al([t.class,r.class]));else if(i==="style")t.style=qs([t.style,r.style]);else if(El(i)){const l=t[i],o=r[i];o&&l!==o&&!(_e(l)&&l.includes(o))&&(t[i]=l?[].concat(l,o):o)}else i!==""&&(t[i]=r[i])}return t}function tn(e,t,n,r=null){Xt(e,t,7,[n,r])}const vm=wd();let bm=0;function ym(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||vm,l={uid:bm++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Dc(!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:kd(r,i),emitsOptions:Fd(r,i),emit:null,emitted:null,propsDefaults:Ve,inheritAttrs:r.inheritAttrs,ctx:Ve,data:Ve,props:Ve,attrs:Ve,slots:Ve,refs:Ve,setupState:Ve,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 l.ctx={_:l},l.root=t?t.root:l,l.emit=sm.bind(null,l),e.ce&&e.ce(l),l}let mt=null;const Pe=()=>mt||Ft;let ul,es;{const e=Pl(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),l=>{i.length>1?i.forEach(o=>o(l)):i[0](l)}};ul=t("__VUE_INSTANCE_SETTERS__",n=>mt=n),es=t("__VUE_SSR_SETTERS__",n=>mi=n)}const ki=e=>{const t=mt;return ul(e),e.scope.on(),()=>{e.scope.off(),ul(t)}},$a=()=>{mt&&mt.scope.off(),ul(null)};function Bd(e){return e.vnode.shapeFlag&4}let mi=!1;function wm(e,t=!1,n=!1){t&&es(t);const{props:r,children:i}=e.vnode,l=Bd(e);Wg(e,r,l,t),Xg(e,i,n);const o=l?_m(e,t):void 0;return t&&es(!1),o}function _m(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ng);const{setup:r}=n;if(r){$n();const i=e.setupContext=r.length>1?xm(e):null,l=ki(e),o=Ci(r,e,0,[e.props,i]),s=Tc(o);if(Nn(),l(),(s||e.sp)&&!ri(e)&&gd(e),s){if(o.then($a,$a),t)return o.then(a=>{Na(e,a)}).catch(a=>{Fl(a,e,0)});e.asyncDep=o}else Na(e,o)}else $d(e)}function Na(e,t,n){Ce(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ue(t)&&(e.setupState=Zc(t)),$d(e)}function $d(e,t,n){const r=e.type;e.render||(e.render=r.render||an);{const i=ki(e);$n();try{Vg(e)}finally{Nn(),i()}}}const Sm={get(e,t){return bt(e,"get",""),e[t]}};function xm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Sm),slots:e.slots,emit:e.emit,expose:t}}function Il(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zc(Br(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ii)return ii[n](e)},has(t,n){return n in t||n in ii}})):e.proxy}function Cm(e,t=!0){return Ce(e)?e.displayName||e.name:e.name||t&&e.__name}function km(e){return Ce(e)&&"__vccOpts"in e}const y=(e,t)=>_g(e,t,mi);function b(e,t,n){const r=arguments.length;return r===2?Ue(t)&&!_e(t)?al(t)?ee(e,null,[t]):ee(e,t):ee(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&al(n)&&(n=[n]),ee(e,t,n))}const Em="3.5.13";/**
|
|
14
|
+
* @vue/runtime-dom v3.5.13
|
|
15
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
+
* @license MIT
|
|
17
|
+
**/let ts;const Va=typeof window<"u"&&window.trustedTypes;if(Va)try{ts=Va.createPolicy("vue",{createHTML:e=>e})}catch{}const Nd=ts?e=>ts.createHTML(e):e=>e,qm="http://www.w3.org/2000/svg",Tm="http://www.w3.org/1998/Math/MathML",mn=typeof document<"u"?document:null,Ia=mn&&mn.createElement("template"),Rm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?mn.createElementNS(qm,e):t==="mathml"?mn.createElementNS(Tm,e):n?mn.createElement(e,{is:n}):mn.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>mn.createTextNode(e),createComment:e=>mn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,l){const o=n?n.previousSibling:t.lastChild;if(i&&(i===l||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===l||!(i=i.nextSibling)););else{Ia.innerHTML=Nd(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const s=Ia.content;if(r==="svg"||r==="mathml"){const a=s.firstChild;for(;a.firstChild;)s.appendChild(a.firstChild);s.removeChild(a)}t.insertBefore(s,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Sn="transition",Hr="animation",Pr=Symbol("_vtc"),Vd={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},Id=st({},cd,Vd),Pm=e=>(e.displayName="Transition",e.props=Id,e),Ln=Pm((e,{slots:t})=>b(Pg,jd(e),t)),zn=(e,t=[])=>{_e(e)?e.forEach(n=>n(...t)):e&&e(...t)},ja=e=>e?_e(e)?e.some(t=>t.length>1):e.length>1:!1;function jd(e){const t={};for(const C in e)C in Vd||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:l=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:a=l,appearActiveClass:c=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=Am(i),v=g&&g[0],p=g&&g[1],{onBeforeEnter:T,onEnter:S,onEnterCancelled:E,onLeave:q,onLeaveCancelled:L,onBeforeAppear:I=T,onAppear:W=S,onAppearCancelled:Z=E}=t,P=(C,J,N,le)=>{C._enterCancelled=le,Cn(C,J?u:s),Cn(C,J?c:o),N&&N()},M=(C,J)=>{C._isLeaving=!1,Cn(C,d),Cn(C,h),Cn(C,f),J&&J()},U=C=>(J,N)=>{const le=C?W:S,te=()=>P(J,C,N);zn(le,[J,te]),Ha(()=>{Cn(J,C?a:l),rn(J,C?u:s),ja(le)||za(J,r,v,te)})};return st(t,{onBeforeEnter(C){zn(T,[C]),rn(C,l),rn(C,o)},onBeforeAppear(C){zn(I,[C]),rn(C,a),rn(C,c)},onEnter:U(!1),onAppear:U(!0),onLeave(C,J){C._isLeaving=!0;const N=()=>M(C,J);rn(C,d),C._enterCancelled?(rn(C,f),ns()):(ns(),rn(C,f)),Ha(()=>{C._isLeaving&&(Cn(C,d),rn(C,h),ja(q)||za(C,r,p,N))}),zn(q,[C,N])},onEnterCancelled(C){P(C,!1,void 0,!0),zn(E,[C])},onAppearCancelled(C){P(C,!0,void 0,!0),zn(Z,[C])},onLeaveCancelled(C){M(C),zn(L,[C])}})}function Am(e){if(e==null)return null;if(Ue(e))return[bo(e.enter),bo(e.leave)];{const t=bo(e);return[t,t]}}function bo(e){return zh(e)}function rn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Pr]||(e[Pr]=new Set)).add(t)}function Cn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Pr];n&&(n.delete(t),n.size||(e[Pr]=void 0))}function Ha(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Om=0;function za(e,t,n,r){const i=e._endId=++Om,l=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(l,n);const{type:o,timeout:s,propCount:a}=Hd(e,t);if(!o)return r();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,f),l()},f=h=>{h.target===e&&++u>=a&&d()};setTimeout(()=>{u<a&&d()},s+1),e.addEventListener(c,f)}function Hd(e,t){const n=window.getComputedStyle(e),r=g=>(n[g]||"").split(", "),i=r(`${Sn}Delay`),l=r(`${Sn}Duration`),o=Ua(i,l),s=r(`${Hr}Delay`),a=r(`${Hr}Duration`),c=Ua(s,a);let u=null,d=0,f=0;t===Sn?o>0&&(u=Sn,d=o,f=l.length):t===Hr?c>0&&(u=Hr,d=c,f=a.length):(d=Math.max(o,c),u=d>0?o>c?Sn:Hr:null,f=u?u===Sn?l.length:a.length:0);const h=u===Sn&&/\b(transform|all)(,|$)/.test(r(`${Sn}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Ua(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Ka(n)+Ka(e[r])))}function Ka(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ns(){return document.body.offsetHeight}function Fm(e,t,n){const r=e[Pr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const cl=Symbol("_vod"),zd=Symbol("_vsh"),Lm={beforeMount(e,{value:t},{transition:n}){e[cl]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):zr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),zr(e,!0),r.enter(e)):r.leave(e,()=>{zr(e,!1)}):zr(e,t))},beforeUnmount(e,{value:t}){zr(e,t)}};function zr(e,t){e.style.display=t?e[cl]:"none",e[zd]=!t}const Dm=Symbol(""),Mm=/(^|;)\s*display\s*:/;function Bm(e,t,n){const r=e.style,i=Ye(n);let l=!1;if(n&&!i){if(t)if(Ye(t))for(const o of t.split(";")){const s=o.slice(0,o.indexOf(":")).trim();n[s]==null&&Qi(r,s,"")}else for(const o in t)n[o]==null&&Qi(r,o,"");for(const o in n)o==="display"&&(l=!0),Qi(r,o,n[o])}else if(i){if(t!==n){const o=r[Dm];o&&(n+=";"+o),r.cssText=n,l=Mm.test(n)}}else t&&e.removeAttribute("style");cl in e&&(e[cl]=l?r.display:"",e[zd]&&(r.display="none"))}const Wa=/\s*!important$/;function Qi(e,t,n){if(_e(n))n.forEach(r=>Qi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=$m(e,t);Wa.test(n)?e.setProperty(Bn(r),n.replace(Wa,""),"important"):e[r]=n}}const Qa=["Webkit","Moz","ms"],yo={};function $m(e,t){const n=yo[t];if(n)return n;let r=jt(t);if(r!=="filter"&&r in e)return yo[t]=r;r=Rl(r);for(let i=0;i<Qa.length;i++){const l=Qa[i]+r;if(l in e)return yo[t]=l}return t}const Ga="http://www.w3.org/1999/xlink";function Ja(e,t,n,r,i,l=Jh(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Ga,t.slice(6,t.length)):e.setAttributeNS(Ga,t,n):n==null||l&&!Oc(n)?e.removeAttribute(t):e.setAttribute(t,l?"":Mn(n)?String(n):n)}function Xa(e,t,n,r,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Nd(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const s=l==="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 o=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Oc(n):n==null&&s==="string"?(n="",o=!0):s==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Nm(e,t,n,r){e.addEventListener(t,n,r)}function Vm(e,t,n,r){e.removeEventListener(t,n,r)}const Ya=Symbol("_vei");function Im(e,t,n,r,i=null){const l=e[Ya]||(e[Ya]={}),o=l[t];if(r&&o)o.value=r;else{const[s,a]=jm(t);if(r){const c=l[t]=Um(r,i);Nm(e,s,c,a)}else o&&(Vm(e,s,o,a),l[t]=void 0)}}const Za=/(?:Once|Passive|Capture)$/;function jm(e){let t;if(Za.test(e)){t={};let r;for(;r=e.match(Za);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Bn(e.slice(2)),t]}let wo=0;const Hm=Promise.resolve(),zm=()=>wo||(Hm.then(()=>wo=0),wo=Date.now());function Um(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Xt(Km(r,n.value),t,5,[r])};return n.value=e,n.attached=zm(),n}function Km(e,t){if(_e(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const eu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wm=(e,t,n,r,i,l)=>{const o=i==="svg";t==="class"?Fm(e,r,o):t==="style"?Bm(e,n,r):El(t)?Cs(t)||Im(e,t,n,r,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Qm(e,t,r,o))?(Xa(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ja(e,t,r,o,l,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ye(r))?Xa(e,jt(t),r,l,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ja(e,t,r,o))};function Qm(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&eu(t)&&Ce(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 eu(t)&&Ye(n)?!1:t in e}const Ud=new WeakMap,Kd=new WeakMap,dl=Symbol("_moveCb"),tu=Symbol("_enterCb"),Gm=e=>(delete e.props.mode,e),Jm=Gm({name:"TransitionGroup",props:st({},Id,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Pe(),r=ud();let i,l;return $s(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!tp(i[0].el,n.vnode.el,o))return;i.forEach(Ym),i.forEach(Zm);const s=i.filter(ep);ns(),s.forEach(a=>{const c=a.el,u=c.style;rn(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[dl]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[dl]=null,Cn(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=Ee(e),s=jd(o);let a=o.tag||Rt;if(i=[],l)for(let c=0;c<l.length;c++){const u=l[c];u.el&&u.el instanceof Element&&(i.push(u),lr(u,hi(u,s,r,n)),Ud.set(u,u.el.getBoundingClientRect()))}l=t.default?Ms(t.default()):[];for(let c=0;c<l.length;c++){const u=l[c];u.key!=null&&lr(u,hi(u,s,r,n))}return ee(a,null,l)}}}),Xm=Jm;function Ym(e){const t=e.el;t[dl]&&t[dl](),t[tu]&&t[tu]()}function Zm(e){Kd.set(e,e.el.getBoundingClientRect())}function ep(e){const t=Ud.get(e),n=Kd.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const l=e.el.style;return l.transform=l.webkitTransform=`translate(${r}px,${i}px)`,l.transitionDuration="0s",e}}function tp(e,t,n){const r=e.cloneNode(),i=e[Pr];i&&i.forEach(s=>{s.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(s=>s&&r.classList.add(s)),r.style.display="none";const l=t.nodeType===1?t:t.parentNode;l.appendChild(r);const{hasTransform:o}=Hd(r);return l.removeChild(r),o}const np=["ctrl","shift","alt","meta"],rp={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)=>np.some(n=>e[`${n}Key`]&&!t.includes(n))},nu=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...l)=>{for(let o=0;o<t.length;o++){const s=rp[t[o]];if(s&&s(i,t))return}return e(i,...l)})},ip={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},lp=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const l=Bn(i.key);if(t.some(o=>o===l||ip[o]===l))return e(i)})},op=st({patchProp:Wm},Rm);let ru;function sp(){return ru||(ru=Zg(op))}const Wd=(...e)=>{const t=sp().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=up(r);if(!i)return;const l=t._component;!Ce(l)&&!l.render&&!l.template&&(l.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,ap(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function ap(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function up(e){return Ye(e)?document.querySelector(e):e}function At(e,t,n,r){return Object.defineProperty(e,t,{get:n,set:r,enumerable:!0}),e}function cp(e,t){for(const n in t)At(e,n,t[n]);return e}const Dn=ue(!1);let rs;function dp(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 fp(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 Qd="ontouchstart"in window||window.navigator.maxTouchPoints>0;function hp(e){const t=e.toLowerCase(),n=fp(t),r=dp(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};r.browser&&(i[r.browser]=!0,i.version=r.version,i.versionNumber=parseInt(r.version,10)),r.platform&&(i[r.platform]=!0);const l=i.android||i.ios||i.bb||i.blackberry||i.ipad||i.iphone||i.ipod||i.kindle||i.playbook||i.silk||i["windows phone"];if(l===!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,r.browser="edge"):i.crios?(i.chrome=!0,r.browser="chrome"):i.fxios&&(i.firefox=!0,r.browser="firefox"),(i.ipod||i.ipad||i.iphone)&&(i.ios=!0),i.vivaldi&&(r.browser="vivaldi",i.vivaldi=!0),(i.chrome||i.opr||i.safari||i.vivaldi||i.mobile===!0&&i.ios!==!0&&l!==!0)&&(i.webkit=!0),i.opr&&(r.browser="opera",i.opera=!0),i.safari&&(i.blackberry||i.bb?(r.browser="blackberry",i.blackberry=!0):i.playbook?(r.browser="playbook",i.playbook=!0):i.android?(r.browser="android",i.android=!0):i.kindle?(r.browser="kindle",i.kindle=!0):i.silk&&(r.browser="silk",i.silk=!0)),i.name=r.browser,i.platform=r.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"),Dn.value===!0&&(rs={is:{...i}}),Qd===!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 o=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(i,{mobile:!0,ios:!0,platform:o,[o]:!0})}i.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete i.desktop,i.mobile=!0)}return i}const iu=navigator.userAgent||navigator.vendor||window.opera,gp={has:{touch:!1,webStorage:!1},within:{iframe:!1}},it={userAgent:iu,is:hp(iu),has:{touch:Qd},within:{iframe:window.self!==window.top}},fl={install(e){const{$q:t}=e;Dn.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,it),Dn.value=!1}),t.platform=Mr(this)):t.platform=this}};{let e;At(it.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(fl,it),Dn.value===!0&&(Object.assign(fl,rs,gp),rs=null)}function Ae(e){return Br(Bs(e))}function Gd(e){return Br(e)}const Ei=(e,t)=>{const n=Mr(e);for(const r in e)At(t,r,()=>n[r],i=>{n[r]=i});return t},gt={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(gt,{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 Ar(){}function Jd(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 mp(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 sn(e){e.stopPropagation()}function Qt(e){e.cancelable!==!1&&e.preventDefault()}function Qe(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function pi(e,t,n){const r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(n):n,n.forEach(i=>{i[0].addEventListener(i[1],e[i[2]],gt[i[3]])})}function hl(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],gt[r[3]])}),e[n]=void 0)}function Hs(e,t=250,n){let r=null;function i(){const l=arguments,o=()=>{r=null,e.apply(this,l)};r!==null&&clearTimeout(r),r=setTimeout(o,t)}return i.cancel=()=>{r!==null&&clearTimeout(r)},i}const _o=["sm","md","lg","xl"],{passive:lu}=gt,pp=Ei({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:Ar,setDebounce:Ar,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,r=n||window,i=document.scrollingElement||document.documentElement,l=n===void 0||it.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],o=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=d=>{const[f,h]=l();if(h!==this.height&&(this.height=h),f!==this.width)this.width=f;else if(d!==!0)return;let g=this.sizes;this.gt.xs=f>=g.sm,this.gt.sm=f>=g.md,this.gt.md=f>=g.lg,this.gt.lg=f>=g.xl,this.lt.sm=f<g.sm,this.lt.md=f<g.md,this.lt.lg=f<g.lg,this.lt.xl=f<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&&(o===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${g}`)),this.name=g)};let s,a={},c=16;this.setSizes=d=>{_o.forEach(f=>{d[f]!==void 0&&(a[f]=d[f])})},this.setDebounce=d=>{c=d};const u=()=>{const d=getComputedStyle(document.body);d.getPropertyValue("--q-size-sm")&&_o.forEach(f=>{this.sizes[f]=parseInt(d.getPropertyValue(`--q-size-${f}`),10)}),this.setSizes=f=>{_o.forEach(h=>{f[h]&&(this.sizes[h]=f[h])}),this.__update(!0)},this.setDebounce=f=>{s!==void 0&&r.removeEventListener("resize",s,lu),s=f>0?Hs(this.__update,f):this.__update,r.addEventListener("resize",s,lu)},this.setDebounce(c),Object.keys(a).length!==0?(this.setSizes(a),a=void 0):this.__update(),o===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};Dn.value===!0?t.push(u):u()}}),vt=Ei({isActive:!1,mode:!1},{__media:void 0,set(e){vt.mode=e,e==="auto"?(vt.__media===void 0&&(vt.__media=window.matchMedia("(prefers-color-scheme: dark)"),vt.__updateMedia=()=>{vt.set("auto")},vt.__media.addListener(vt.__updateMedia)),e=vt.__media.matches):vt.__media!==void 0&&(vt.__media.removeListener(vt.__updateMedia),vt.__media=void 0),vt.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){vt.set(vt.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 vp(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 Xd=!1;function bp(e){Xd=e.isComposing===!0}function jl(e){return Xd===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function wn(e,t){return jl(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Yd(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function yp({is:e,has:t,within:n},r){const i=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const l=Yd(e);l!==void 0&&i.push("platform-"+l)}if(e.nativeMobile===!0){const l=e.nativeMobileWrapper;i.push(l),i.push("native-mobile"),e.ios===!0&&(r[l]===void 0||r[l].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 wp(){const{is:e}=it,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=Yd(e);i!==void 0&&n.add(`platform-${i}`)}}it.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),it.within.iframe===!0&&n.add("within-iframe");const r=Array.from(n).join(" ");t!==r&&(document.body.className=r)}function _p(e){for(const t in e)vp(t,e[t])}const Sp={install(e){if(this.__installed!==!0){if(Dn.value===!0)wp();else{const{$q:t}=e;t.config.brand!==void 0&&_p(t.config.brand);const n=yp(it,t.config);document.body.classList.add.apply(document.body.classList,n)}it.is.ios===!0&&document.body.addEventListener("touchstart",Ar),window.addEventListener("keydown",bp,!0)}}},Zd=()=>!0;function xp(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Cp(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 kp(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Zd;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(xp).map(Cp)),()=>t.includes(window.location.hash)}const vi={__history:[],add:Ar,remove:Ar,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=it.is;if(t!==!0&&n!==!0)return;const r=e.config[t===!0?"cordova":"capacitor"];if(r!==void 0&&r.backButton===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=o=>{o.condition===void 0&&(o.condition=Zd),this.__history.push(o)},this.remove=o=>{const s=this.__history.indexOf(o);s>=0&&this.__history.splice(s,1)};const i=kp(Object.assign({backButtonExit:!0},r)),l=()=>{if(this.__history.length){const o=this.__history[this.__history.length-1];o.condition()===!0&&(this.__history.pop(),o.handler())}else i()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",l,!1)}):window.Capacitor.Plugins.App.addListener("backButton",l)}},ou={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 su(){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 Tn=Ei({__qLang:{}},{getLocale:su,set(e=ou,t){const n={...e,rtl:e.rtl===!0,getLocale:su};{if(n.set=Tn.set,Tn.__langConfig===void 0||Tn.__langConfig.noHtmlAttrs!==!0){const r=document.documentElement;r.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",n.isoName)}Object.assign(Tn.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=Tn.__qLang,Tn.__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(r){return Reflect.ownKeys(r).filter(i=>i!=="set"&&i!=="getLocale")}}),this.set(t||ou))}}),Ep={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"}},gl=Ei({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=gl.set,Object.assign(gl.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,At(e,"iconMapFn",()=>this.iconMapFn,r=>{this.iconMapFn=r}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(r){return Reflect.ownKeys(r).filter(i=>i!=="set")}}),this.set(t||Ep))}}),qp="_q_",Tp="_q_l_",Rp="_q_pc_",Pp="_q_fo_";function mr(){}const ml={};let ef=!1;function Ap(){ef=!0}function Pn(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,r;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(Pn(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let l=e.entries();for(r=l.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=l.next()}for(l=e.entries(),r=l.next();r.done!==!0;){if(Pn(r.value[1],t.get(r.value[0]))!==!0)return!1;r=l.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const l=e.entries();for(r=l.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=l.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])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(l=>e[l]!==void 0);if(n=i.length,n!==Object.keys(t).filter(l=>t[l]!==void 0).length)return!1;for(r=n;r--!==0;){const l=i[r];if(Pn(e[l],t[l])!==!0)return!1}return!0}return e!==e&&t!==t}function Ot(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function au(e){return Object.prototype.toString.call(e)==="[object Date]"}function is(e){return typeof e=="number"&&isFinite(e)}const uu=[fl,Sp,vt,pp,vi,Tn,gl];function zs(e,t){const n=Wd(e);n.config.globalProperties=t.config.globalProperties;const{reload:r,...i}=t._context;return Object.assign(n._context,i),n}function cu(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function Op(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(qp,n.$q),cu(n,uu),t.components!==void 0&&Object.values(t.components).forEach(r=>{Ot(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{Ot(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&cu(n,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&uu.includes(r)===!1)),Dn.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(r=>{r()}),n.$q.onSSRHydrated=()=>{}})}const Fp=function(e,t={}){const n={version:"2.17.6"};ef===!1?(t.config!==void 0&&Object.assign(ml,t.config),n.config={...ml},Ap()):n.config=t.config||{},Op(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},Lp={name:"Quasar",version:"2.17.6",install:Fp,lang:Tn,iconSet:gl},Dp={__name:"App",setup(e){return(t,n)=>{const r=pd("router-view");return Le(),rt(r)}}},Us=e=>e,DS=Us,Mp=Us,Bp=Us;/*!
|
|
18
|
+
* pinia v2.3.0
|
|
19
|
+
* (c) 2024 Eduardo San Martin Morote
|
|
20
|
+
* @license MIT
|
|
21
|
+
*/const $p=Symbol();var du;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(du||(du={}));function Np(){const e=Xh(!0),t=e.run(()=>ue({}));let n=[],r=[];const i=Br({install(l){i._a=l,l.provide($p,i),l.config.globalProperties.$pinia=i,r.forEach(o=>n.push(o)),r=[]},use(l){return this._a?n.push(l):r.push(l),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const So=Bp(()=>Np());/*!
|
|
22
|
+
* vue-router v4.5.0
|
|
23
|
+
* (c) 2024 Eduardo San Martin Morote
|
|
24
|
+
* @license MIT
|
|
25
|
+
*/const _r=typeof document<"u";function tf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Vp(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&tf(e.default)}const De=Object.assign;function xo(e,t){const n={};for(const r in t){const i=t[r];n[r]=Yt(i)?i.map(e):e(i)}return n}const oi=()=>{},Yt=Array.isArray,nf=/#/g,Ip=/&/g,jp=/\//g,Hp=/=/g,zp=/\?/g,rf=/\+/g,Up=/%5B/g,Kp=/%5D/g,lf=/%5E/g,Wp=/%60/g,of=/%7B/g,Qp=/%7C/g,sf=/%7D/g,Gp=/%20/g;function Ks(e){return encodeURI(""+e).replace(Qp,"|").replace(Up,"[").replace(Kp,"]")}function Jp(e){return Ks(e).replace(of,"{").replace(sf,"}").replace(lf,"^")}function ls(e){return Ks(e).replace(rf,"%2B").replace(Gp,"+").replace(nf,"%23").replace(Ip,"%26").replace(Wp,"`").replace(of,"{").replace(sf,"}").replace(lf,"^")}function Xp(e){return ls(e).replace(Hp,"%3D")}function Yp(e){return Ks(e).replace(nf,"%23").replace(zp,"%3F")}function Zp(e){return e==null?"":Yp(e).replace(jp,"%2F")}function bi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ev=/\/$/,tv=e=>e.replace(ev,"");function Co(e,t,n="/"){let r,i={},l="",o="";const s=t.indexOf("#");let a=t.indexOf("?");return s<a&&s>=0&&(a=-1),a>-1&&(r=t.slice(0,a),l=t.slice(a+1,s>-1?s:t.length),i=e(l)),s>-1&&(r=r||t.slice(0,s),o=t.slice(s,t.length)),r=lv(r??t,n),{fullPath:r+(l&&"?")+l+o,path:r,query:i,hash:bi(o)}}function nv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function fu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function rv(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Or(t.matched[r],n.matched[i])&&af(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Or(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function af(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!iv(e[n],t[n]))return!1;return!0}function iv(e,t){return Yt(e)?hu(e,t):Yt(t)?hu(t,e):e===t}function hu(e,t){return Yt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function lv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let l=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==".")if(s==="..")l>1&&l--;else break;return n.slice(0,l).join("/")+"/"+r.slice(o).join("/")}const xn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var yi;(function(e){e.pop="pop",e.push="push"})(yi||(yi={}));var si;(function(e){e.back="back",e.forward="forward",e.unknown=""})(si||(si={}));function ov(e){if(!e)if(_r){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),tv(e)}const sv=/^[^#]+#/;function av(e,t){return e.replace(sv,"#")+t}function uv(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Hl=()=>({left:window.scrollX,top:window.scrollY});function cv(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=uv(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 gu(e,t){return(history.state?history.state.position-t:-1)+e}const os=new Map;function dv(e,t){os.set(e,t)}function fv(e){const t=os.get(e);return os.delete(e),t}let hv=()=>location.protocol+"//"+location.host;function uf(e,t){const{pathname:n,search:r,hash:i}=t,l=e.indexOf("#");if(l>-1){let s=i.includes(e.slice(l))?e.slice(l).length:1,a=i.slice(s);return a[0]!=="/"&&(a="/"+a),fu(a,"")}return fu(n,e)+r+i}function gv(e,t,n,r){let i=[],l=[],o=null;const s=({state:f})=>{const h=uf(e,location),g=n.value,v=t.value;let p=0;if(f){if(n.value=h,t.value=f,o&&o===g){o=null;return}p=v?f.position-v.position:0}else r(h);i.forEach(T=>{T(n.value,g,{delta:p,type:yi.pop,direction:p?p>0?si.forward:si.back:si.unknown})})};function a(){o=n.value}function c(f){i.push(f);const h=()=>{const g=i.indexOf(f);g>-1&&i.splice(g,1)};return l.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(De({},f.state,{scroll:Hl()}),"")}function d(){for(const f of l)f();l=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:d}}function mu(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Hl():null}}function mv(e){const{history:t,location:n}=window,r={value:uf(e,n)},i={value:t.state};i.value||l(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function l(a,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:hv()+e+a;try{t[u?"replaceState":"pushState"](c,"",f),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function o(a,c){const u=De({},t.state,mu(i.value.back,a,i.value.forward,!0),c,{position:i.value.position});l(a,u,!0),r.value=a}function s(a,c){const u=De({},i.value,t.state,{forward:a,scroll:Hl()});l(u.current,u,!0);const d=De({},mu(r.value,a,null),{position:u.position+1},c);l(a,d,!1),r.value=a}return{location:r,state:i,push:s,replace:o}}function pv(e){e=ov(e);const t=mv(e),n=gv(e,t.state,t.location,t.replace);function r(l,o=!0){o||n.pauseListeners(),history.go(l)}const i=De({location:"",base:e,go:r,createHref:av.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 vv(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),pv(e)}function bv(e){return typeof e=="string"||e&&typeof e=="object"}function cf(e){return typeof e=="string"||typeof e=="symbol"}const df=Symbol("");var pu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(pu||(pu={}));function Fr(e,t){return De(new Error,{type:e,[df]:!0},t)}function gn(e,t){return e instanceof Error&&df in e&&(t==null||!!(e.type&t))}const vu="[^/]+?",yv={sensitive:!1,strict:!1,start:!0,end:!0},wv=/[.+*?^${}()[\]/\\]/g;function _v(e,t){const n=De({},yv,t),r=[];let i=n.start?"^":"";const l=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;d<c.length;d++){const f=c[d];let h=40+(n.sensitive?.25:0);if(f.type===0)d||(i+="/"),i+=f.value.replace(wv,"\\$&"),h+=40;else if(f.type===1){const{value:g,repeatable:v,optional:p,regexp:T}=f;l.push({name:g,repeatable:v,optional:p});const S=T||vu;if(S!==vu){h+=10;try{new RegExp(`(${S})`)}catch(q){throw new Error(`Invalid custom RegExp for param "${g}" (${S}): `+q.message)}}let E=v?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;d||(E=p&&c.length<2?`(?:/${E})`:"/"+E),p&&(E+="?"),i+=E,h+=20,p&&(h+=-8),v&&(h+=-20),S===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function s(c){const u=c.match(o),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",g=l[f-1];d[g.name]=h&&g.repeatable?h.split("/"):h}return d}function a(c){let u="",d=!1;for(const f of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of f)if(h.type===0)u+=h.value;else if(h.type===1){const{value:g,repeatable:v,optional:p}=h,T=g in c?c[g]:"";if(Yt(T)&&!v)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const S=Yt(T)?T.join("/"):T;if(!S)if(p)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${g}"`);u+=S}}return u||"/"}return{re:o,score:r,keys:l,parse:s,stringify:a}}function Sv(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;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 ff(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const l=Sv(r[n],i[n]);if(l)return l;n++}if(Math.abs(i.length-r.length)===1){if(bu(r))return 1;if(bu(i))return-1}return i.length-r.length}function bu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const xv={type:0,value:""},Cv=/[a-zA-Z0-9_]/;function kv(e){if(!e)return[[]];if(e==="/")return[[xv]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const i=[];let l;function o(){l&&i.push(l),l=[]}let s=0,a,c="",u="";function d(){c&&(n===0?l.push({type:0,value:c}):n===1||n===2||n===3?(l.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),l.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=a}for(;s<e.length;){if(a=e[s++],a==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:a==="/"?(c&&d(),o()):a===":"?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:a==="("?n=2:Cv.test(a)?f():(d(),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:d(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),o(),i}function Ev(e,t,n){const r=_v(kv(e.path),n),i=De(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function qv(e,t){const n=[],r=new Map;t=Su({strict:!1,end:!0,sensitive:!1},t);function i(d){return r.get(d)}function l(d,f,h){const g=!h,v=wu(d);v.aliasOf=h&&h.record;const p=Su(t,d),T=[v];if("alias"in d){const q=typeof d.alias=="string"?[d.alias]:d.alias;for(const L of q)T.push(wu(De({},v,{components:h?h.record.components:v.components,path:L,aliasOf:h?h.record:v})))}let S,E;for(const q of T){const{path:L}=q;if(f&&L[0]!=="/"){const I=f.record.path,W=I[I.length-1]==="/"?"":"/";q.path=f.record.path+(L&&W+L)}if(S=Ev(q,f,p),h?h.alias.push(S):(E=E||S,E!==S&&E.alias.push(S),g&&d.name&&!_u(S)&&o(d.name)),hf(S)&&a(S),v.children){const I=v.children;for(let W=0;W<I.length;W++)l(I[W],S,h&&h.children[W])}h=h||S}return E?()=>{o(E)}:oi}function o(d){if(cf(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function s(){return n}function a(d){const f=Pv(d,n);n.splice(f,0,d),d.record.name&&!_u(d)&&r.set(d.record.name,d)}function c(d,f){let h,g={},v,p;if("name"in d&&d.name){if(h=r.get(d.name),!h)throw Fr(1,{location:d});p=h.record.name,g=De(yu(f.params,h.keys.filter(E=>!E.optional).concat(h.parent?h.parent.keys.filter(E=>E.optional):[]).map(E=>E.name)),d.params&&yu(d.params,h.keys.map(E=>E.name))),v=h.stringify(g)}else if(d.path!=null)v=d.path,h=n.find(E=>E.re.test(v)),h&&(g=h.parse(v),p=h.record.name);else{if(h=f.name?r.get(f.name):n.find(E=>E.re.test(f.path)),!h)throw Fr(1,{location:d,currentLocation:f});p=h.record.name,g=De({},f.params,d.params),v=h.stringify(g)}const T=[];let S=h;for(;S;)T.unshift(S.record),S=S.parent;return{name:p,path:v,params:g,matched:T,meta:Rv(T)}}e.forEach(d=>l(d));function u(){n.length=0,r.clear()}return{addRoute:l,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function yu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function wu(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Tv(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 Tv(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function _u(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Rv(e){return e.reduce((t,n)=>De(t,n.meta),{})}function Su(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Pv(e,t){let n=0,r=t.length;for(;n!==r;){const l=n+r>>1;ff(e,t[l])<0?r=l:n=l+1}const i=Av(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Av(e){let t=e;for(;t=t.parent;)if(hf(t)&&ff(e,t)===0)return t}function hf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ov(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const l=r[i].replace(rf," "),o=l.indexOf("="),s=bi(o<0?l:l.slice(0,o)),a=o<0?null:bi(l.slice(o+1));if(s in t){let c=t[s];Yt(c)||(c=t[s]=[c]),c.push(a)}else t[s]=a}return t}function xu(e){let t="";for(let n in e){const r=e[n];if(n=Xp(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Yt(r)?r.map(l=>l&&ls(l)):[r&&ls(r)]).forEach(l=>{l!==void 0&&(t+=(t.length?"&":"")+n,l!=null&&(t+="="+l))})}return t}function Fv(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Yt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Lv=Symbol(""),Cu=Symbol(""),Ws=Symbol(""),gf=Symbol(""),ss=Symbol("");function Ur(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Rn(e,t,n,r,i,l=o=>o()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,a)=>{const c=f=>{f===!1?a(Fr(4,{from:n,to:t})):f instanceof Error?a(f):bv(f)?a(Fr(2,{from:t,to:f})):(o&&r.enterCallbacks[i]===o&&typeof f=="function"&&o.push(f),s())},u=l(()=>e.call(r&&r.instances[i],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>a(f))})}function ko(e,t,n,r,i=l=>l()){const l=[];for(const o of e)for(const s in o.components){let a=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(tf(a)){const u=(a.__vccOpts||a)[t];u&&l.push(Rn(u,n,r,o,s,i))}else{let c=a();l.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${s}" at "${o.path}"`);const d=Vp(u)?u.default:u;o.mods[s]=u,o.components[s]=d;const h=(d.__vccOpts||d)[t];return h&&Rn(h,n,r,o,s,i)()}))}}return l}function ku(e){const t=It(Ws),n=It(gf),r=y(()=>{const a=Zn(e.to);return t.resolve(a)}),i=y(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(Or.bind(null,u));if(f>-1)return f;const h=Eu(a[c-2]);return c>1&&Eu(u)===h&&d[d.length-1].path!==h?d.findIndex(Or.bind(null,a[c-2])):f}),l=y(()=>i.value>-1&&Nv(n.params,r.value.params)),o=y(()=>i.value>-1&&i.value===n.matched.length-1&&af(n.params,r.value.params));function s(a={}){if($v(a)){const c=t[Zn(e.replace)?"replace":"push"](Zn(e.to)).catch(oi);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:r,href:y(()=>r.value.href),isActive:l,isExactActive:o,navigate:s}}function Dv(e){return e.length===1?e[0]:e}const Mv=Bs({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:ku,setup(e,{slots:t}){const n=Mr(ku(e)),{options:r}=It(Ws),i=y(()=>({[qu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[qu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const l=t.default&&Dv(t.default(n));return e.custom?l:b("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},l)}}}),Bv=Mv;function $v(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 Nv(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Yt(i)||i.length!==r.length||r.some((l,o)=>l!==i[o]))return!1}return!0}function Eu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const qu=(e,t,n)=>e??t??n,Vv=Bs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=It(ss),i=y(()=>e.route||r.value),l=It(Cu,0),o=y(()=>{let c=Zn(l);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=y(()=>i.value.matched[o.value]);Ki(Cu,y(()=>o.value+1)),Ki(Lv,s),Ki(ss,i);const a=ue();return ye(()=>[a.value,s.value,e.name],([c,u,d],[f,h,g])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Or(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return Tu(n.default,{Component:f,route:c});const h=d.props[u],g=h?h===!0?c.params:typeof h=="function"?h(c):h:null,p=b(f,De({},g,t,{onVnodeUnmounted:T=>{T.component.isUnmounted&&(d.instances[u]=null)},ref:a}));return Tu(n.default,{Component:p,route:c})||p}}});function Tu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Iv=Vv;function jv(e){const t=qv(e.routes,e),n=e.parseQuery||Ov,r=e.stringifyQuery||xu,i=e.history,l=Ur(),o=Ur(),s=Ur(),a=vg(xn);let c=xn;_r&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=xo.bind(null,x=>""+x),d=xo.bind(null,Zp),f=xo.bind(null,bi);function h(x,K){let O,Y;return cf(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 v(){return t.getRoutes().map(x=>x.record)}function p(x){return!!t.getRecordMatcher(x)}function T(x,K){if(K=De({},K||a.value),typeof x=="string"){const R=Co(n,x,K.path),j=t.resolve({path:R.path},K),z=i.createHref(R.fullPath);return De(R,j,{params:f(j.params),hash:bi(R.hash),redirectedFrom:void 0,href:z})}let O;if(x.path!=null)O=De({},x,{path:Co(n,x.path,K.path).path});else{const R=De({},x.params);for(const j in R)R[j]==null&&delete R[j];O=De({},x,{params:d(R)}),K.params=d(K.params)}const Y=t.resolve(O,K),Se=x.hash||"";Y.params=u(f(Y.params));const w=nv(r,De({},x,{hash:Jp(Se),path:Y.path})),_=i.createHref(w);return De({fullPath:w,hash:Se,query:r===xu?Fv(x.query):x.query||{}},Y,{redirectedFrom:void 0,href:_})}function S(x){return typeof x=="string"?Co(n,x,a.value.path):De({},x)}function E(x,K){if(c!==x)return Fr(8,{from:K,to:x})}function q(x){return W(x)}function L(x){return q(De(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={}),De({query:x.query,hash:x.hash,params:Y.path!=null?{}:x.params},Y)}}function W(x,K){const O=c=T(x),Y=a.value,Se=x.state,w=x.force,_=x.replace===!0,R=I(O);if(R)return W(De(S(R),{state:typeof R=="object"?De({},Se,R.state):Se,force:w,replace:_}),K||O);const j=O;j.redirectedFrom=K;let z;return!w&&rv(r,Y,O)&&(z=Fr(16,{to:j,from:Y}),A(Y,Y,!0,!1)),(z?Promise.resolve(z):M(j,Y)).catch(B=>gn(B)?gn(B,2)?B:pe(B):Q(B,j,Y)).then(B=>{if(B){if(gn(B,2))return W(De({replace:_},S(B.to),{state:typeof B.to=="object"?De({},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 P(x){const K=D.values().next().value;return K&&typeof K.runWithContext=="function"?K.runWithContext(x):x()}function M(x,K){let O;const[Y,Se,w]=Hv(x,K);O=ko(Y.reverse(),"beforeRouteLeave",x,K);for(const R of Y)R.leaveGuards.forEach(j=>{O.push(Rn(j,x,K))});const _=Z.bind(null,x,K);return O.push(_),F(O).then(()=>{O=[];for(const R of l.list())O.push(Rn(R,x,K));return O.push(_),F(O)}).then(()=>{O=ko(Se,"beforeRouteUpdate",x,K);for(const R of Se)R.updateGuards.forEach(j=>{O.push(Rn(j,x,K))});return O.push(_),F(O)}).then(()=>{O=[];for(const R of w)if(R.beforeEnter)if(Yt(R.beforeEnter))for(const j of R.beforeEnter)O.push(Rn(j,x,K));else O.push(Rn(R.beforeEnter,x,K));return O.push(_),F(O)}).then(()=>(x.matched.forEach(R=>R.enterCallbacks={}),O=ko(w,"beforeRouteEnter",x,K,P),O.push(_),F(O))).then(()=>{O=[];for(const R of o.list())O.push(Rn(R,x,K));return O.push(_),F(O)}).catch(R=>gn(R,8)?R:Promise.reject(R))}function U(x,K,O){s.list().forEach(Y=>P(()=>Y(x,K,O)))}function C(x,K,O,Y,Se){const w=E(x,K);if(w)return w;const _=K===xn,R=_r?history.state:{};O&&(Y||_?i.replace(x.fullPath,De({scroll:_&&R&&R.scroll},Se)):i.push(x.fullPath,Se)),a.value=x,A(x,K,O,_),pe()}let J;function N(){J||(J=i.listen((x,K,O)=>{if(!re.listening)return;const Y=T(x),Se=I(Y);if(Se){W(De(Se,{replace:!0,force:!0}),Y).catch(oi);return}c=Y;const w=a.value;_r&&dv(gu(w.fullPath,O.delta),Hl()),M(Y,w).catch(_=>gn(_,12)?_:gn(_,2)?(W(De(S(_.to),{force:!0}),Y).then(R=>{gn(R,20)&&!O.delta&&O.type===yi.pop&&i.go(-1,!1)}).catch(oi),Promise.reject()):(O.delta&&i.go(-O.delta,!1),Q(_,Y,w))).then(_=>{_=_||C(Y,w,!1),_&&(O.delta&&!gn(_,8)?i.go(-O.delta,!1):O.type===yi.pop&&gn(_,20)&&i.go(-1,!1)),U(Y,w,_)}).catch(oi)}))}let le=Ur(),te=Ur(),oe;function Q(x,K,O){pe(x);const Y=te.list();return Y.length?Y.forEach(Se=>Se(x,K,O)):console.error(x),Promise.reject(x)}function ae(){return oe&&a.value!==xn?Promise.resolve():new Promise((x,K)=>{le.add([x,K])})}function pe(x){return oe||(oe=!x,N(),le.list().forEach(([K,O])=>x?O(x):K()),le.reset()),x}function A(x,K,O,Y){const{scrollBehavior:Se}=e;if(!_r||!Se)return Promise.resolve();const w=!O&&fv(gu(x.fullPath,0))||(Y||!O)&&history.state&&history.state.scroll||null;return ze().then(()=>Se(x,K,w)).then(_=>_&&cv(_)).catch(_=>Q(_,x,K))}const m=x=>i.go(x);let $;const D=new Set,re={currentRoute:a,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:p,getRoutes:v,resolve:T,options:e,push:q,replace:L,go:m,back:()=>m(-1),forward:()=>m(1),beforeEach:l.add,beforeResolve:o.add,afterEach:s.add,onError:te.add,isReady:ae,install(x){const K=this;x.component("RouterLink",Bv),x.component("RouterView",Iv),x.config.globalProperties.$router=K,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>Zn(a)}),_r&&!$&&a.value===xn&&($=!0,q(i.location).catch(Se=>{}));const O={};for(const Se in xn)Object.defineProperty(O,Se,{get:()=>a.value[Se],enumerable:!0});x.provide(Ws,K),x.provide(gf,Jc(O)),x.provide(ss,a);const Y=x.unmount;D.add(x),x.unmount=function(){D.delete(x),D.size<1&&(c=xn,J&&J(),J=null,a.value=xn,$=!1,oe=!1),Y()}}};function F(x){return x.reduce((K,O)=>K.then(()=>P(O)),Promise.resolve())}return re}function Hv(e,t){const n=[],r=[],i=[],l=Math.max(t.matched.length,e.matched.length);for(let o=0;o<l;o++){const s=t.matched[o];s&&(e.matched.find(c=>Or(c,s))?r.push(s):n.push(s));const a=e.matched[o];a&&(t.matched.find(c=>Or(c,a))||i.push(a))}return[n,r,i]}const as={xs:18,sm:24,md:32,lg:38,xl:46},sr={size:String};function ar(e,t=as){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 mf(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function Gt(e,t){return e!==void 0?t.concat(e()):t}function pf(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function zv(e,t,n,r,i,l){t.key=r+i;const o=b(e,t,n);return i===!0?An(o,l()):o}const Ru="0 0 24 24",Pu=e=>e,Eo=e=>`ionicons ${e}`,vf={"mdi-":e=>`mdi ${e}`,"icon-":Pu,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Eo,"ion-ios":Eo,"ion-logo":Eo,"iconfont ":Pu,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},bf={o_:"-outlined",r_:"-round",s_:"-sharp"},yf={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Uv=new RegExp("^("+Object.keys(vf).join("|")+")"),Kv=new RegExp("^("+Object.keys(bf).join("|")+")"),Au=new RegExp("^("+Object.keys(yf).join("|")+")"),Wv=/^[Mm]\s?[-+]?\.?\d/,Qv=/^img:/,Gv=/^svguse:/,Jv=/^ion-/,Xv=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Be=Ae({name:"QIcon",props:{...sr,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=Pe(),r=ar(e),i=y(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),l=y(()=>{let o,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(Wv.test(s)===!0){const[u,d=Ru]=s.split("|");return{svg:!0,viewBox:d,nodes:u.split("&&").map(f=>{const[h,g,v]=f.split("@@");return b("path",{style:g,d:h,transform:v})})}}if(Qv.test(s)===!0)return{img:!0,src:s.substring(4)};if(Gv.test(s)===!0){const[u,d=Ru]=s.split("|");return{svguse:!0,src:u.substring(7),viewBox:d}}let a=" ";const c=s.match(Uv);if(c!==null)o=vf[c[1]](s);else if(Xv.test(s)===!0)o=s;else if(Jv.test(s)===!0)o=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(Au.test(s)===!0){o="notranslate material-symbols";const u=s.match(Au);u!==null&&(s=s.substring(6),o+=yf[u[1]]),a=s}else{o="notranslate material-icons";const u=s.match(Kv);u!==null&&(s=s.substring(2),o+=bf[u[1]]),a=s}return{cls:o,content:a}});return()=>{const o={class:i.value,style:r.value,"aria-hidden":"true",role:"presentation"};return l.value.none===!0?b(e.tag,o,Je(t.default)):l.value.img===!0?b(e.tag,o,Gt(t.default,[b("img",{src:l.value.src})])):l.value.svg===!0?b(e.tag,o,Gt(t.default,[b("svg",{viewBox:l.value.viewBox||"0 0 24 24"},l.value.nodes)])):l.value.svguse===!0?b(e.tag,o,Gt(t.default,[b("svg",{viewBox:l.value.viewBox},[b("use",{"xlink:href":l.value.src})])])):(l.value.cls!==void 0&&(o.class+=" "+l.value.cls),b(e.tag,o,Gt(t.default,[l.value.content])))}}}),Yv={size:{type:[String,Number],default:"1em"},color:String};function Zv(e){return{cSize:y(()=>e.size in as?`${as[e.size]}px`:e.size),classes:y(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const un=Ae({name:"QSpinner",props:{...Yv,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=Zv(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 us(e,t){const n=e.style;for(const r in t)n[r]=t[r]}function eb(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=Zn(e);if(t)return t.$el||t}function wf(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 tb(e,t=250){let n=!1,r;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),r=e.apply(this,arguments)),r}}function Ou(e,t,n,r){n.modifiers.stop===!0&&sn(e);const i=n.modifiers.color;let l=n.modifiers.center;l=l===!0||r===!0;const o=document.createElement("span"),s=document.createElement("span"),a=Jd(e),{left:c,top:u,width:d,height:f}=t.getBoundingClientRect(),h=Math.sqrt(d*d+f*f),g=h/2,v=`${(d-h)/2}px`,p=l?v:`${a.left-c-g}px`,T=`${(f-h)/2}px`,S=l?T:`${a.top-u-g}px`;s.className="q-ripple__inner",us(s,{height:`${h}px`,width:`${h}px`,transform:`translate3d(${p},${S},0) scale3d(.2,.2,1)`,opacity:0}),o.className=`q-ripple${i?" text-"+i:""}`,o.setAttribute("dir","ltr"),o.appendChild(s),t.appendChild(o);const E=()=>{o.remove(),clearTimeout(q)};n.abort.push(E);let q=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${v},${T},0) scale3d(1,1,1)`,s.style.opacity=.2,q=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,q=setTimeout(()=>{o.remove(),n.abort.splice(n.abort.indexOf(E),1)},275)},250)},50)}function Fu(e,{modifiers:t,value:n,arg:r}){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||r,keyCodes:[].concat(i.keyCodes||13)}}const Qs=Gd({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const r={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(i){r.enabled===!0&&i.qSkipRipple!==!0&&i.type===(r.modifiers.early===!0?"pointerdown":"click")&&Ou(i,e,r,i.qKeyEvent===!0)},keystart:tb(i=>{r.enabled===!0&&i.qSkipRipple!==!0&&wn(i,r.modifiers.keyCodes)===!0&&i.type===`key${r.modifiers.early===!0?"down":"up"}`&&Ou(i,e,r,!0)},300)};Fu(r,t),e.__qripple=r,pi(r,"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&&Fu(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),hl(t,"main"),delete e._qripple)}}),_f={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},nb=Object.keys(_f),Sf={align:{type:String,validator:e=>nb.includes(e)}};function xf(e){return y(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${_f[t]}`})}function Gi(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 Gs(e){return e.appContext.config.globalProperties.$router!==void 0}function Cf(e){return e.isUnmounted===!0||e.isDeactivated===!0}function Lu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function Du(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rb(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(Array.isArray(i)===!1||i.length!==r.length||r.some((l,o)=>l!==i[o]))return!1}return!0}function Mu(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ib(e,t){return Array.isArray(e)===!0?Mu(e,t):Array.isArray(t)===!0?Mu(t,e):e===t}function lb(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(ib(e[n],t[n])===!1)return!1;return!0}const kf={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},ob={...kf,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Ef({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=Pe(),{props:r,proxy:i,emit:l}=n,o=Gs(n),s=y(()=>r.disable!==!0&&r.href!==void 0),a=y(t===!0?()=>o===!0&&r.disable!==!0&&s.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!=="":()=>o===!0&&s.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),c=y(()=>a.value===!0?S(r.to):null),u=y(()=>c.value!==null),d=y(()=>s.value===!0||u.value===!0),f=y(()=>r.type==="a"||d.value===!0?"a":r.tag||e||"div"),h=y(()=>s.value===!0?{href:r.href,target:r.target}:u.value===!0?{href:c.value.href,target:r.target}:{}),g=y(()=>{if(u.value===!1)return-1;const{matched:L}=c.value,{length:I}=L,W=L[I-1];if(W===void 0)return-1;const Z=i.$route.matched;if(Z.length===0)return-1;const P=Z.findIndex(Du.bind(null,W));if(P!==-1)return P;const M=Lu(L[I-2]);return I>1&&Lu(W)===M&&Z[Z.length-1].path!==M?Z.findIndex(Du.bind(null,L[I-2])):P}),v=y(()=>u.value===!0&&g.value!==-1&&rb(i.$route.params,c.value.params)),p=y(()=>v.value===!0&&g.value===i.$route.matched.length-1&&lb(i.$route.params,c.value.params)),T=y(()=>u.value===!0?p.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":v.value===!0?` ${r.activeClass}`:"":"");function S(L){try{return i.$router.resolve(L)}catch{}return null}function E(L,{returnRouterError:I,to:W=r.to,replace:Z=r.replace}={}){if(r.disable===!0)return L.preventDefault(),Promise.resolve(!1);if(L.metaKey||L.altKey||L.ctrlKey||L.shiftKey||L.button!==void 0&&L.button!==0||r.target==="_blank")return Promise.resolve(!1);L.preventDefault();const P=i.$router[Z===!0?"replace":"push"](W);return I===!0?P:P.then(()=>{}).catch(()=>{})}function q(L){if(u.value===!0){const I=W=>E(L,W);l("click",L,I),L.defaultPrevented!==!0&&I()}else l("click",L)}return{hasRouterLink:u,hasHrefLink:s,hasLink:d,linkTag:f,resolvedLink:c,linkIsActive:v,linkIsExactActive:p,linkClass:T,linkAttrs:h,getLink:S,navigateToRouterLink:E,navigateOnClick:q}}const Bu={none:0,xs:4,sm:8,md:16,lg:24,xl:32},sb={xs:8,sm:10,md:14,lg:20,xl:24},ab=["button","submit","reset"],ub=/[^\s]\/[^\s]/,cb=["flat","outline","push","unelevated"];function db(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const fb={...sr,...kf,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...cb.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:{...Sf.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},hb={...fb,round:Boolean};function gb(e){const t=ar(e,sb),n=xf(e),{hasRouterLink:r,hasLink:i,linkTag:l,linkAttrs:o,navigateOnClick:s}=Ef({fallbackTag:"button"}),a=y(()=>{const p=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},p,{padding:e.padding.split(/\s+/).map(T=>T in Bu?Bu[T]+"px":T).join(" "),minWidth:"0",minHeight:"0"}):p}),c=y(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),u=y(()=>e.disable!==!0&&e.loading!==!0),d=y(()=>u.value===!0?e.tabindex||0:-1),f=y(()=>db(e,"standard")),h=y(()=>{const p={tabindex:d.value};return i.value===!0?Object.assign(p,o.value):ab.includes(e.type)===!0&&(p.type=e.type),l.value==="a"?(e.disable===!0?p["aria-disabled"]="true":p.href===void 0&&(p.role="button"),r.value!==!0&&ub.test(e.type)===!0&&(p.type=e.type)):e.disable===!0&&(p.disabled="",p["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(p,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),p}),g=y(()=>{let p;e.color!==void 0?e.flat===!0||e.outline===!0?p=`text-${e.textColor||e.color}`:p=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(p=`text-${e.textColor}`);const T=e.round===!0?"round":`rectangle${c.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${f.value} q-btn--${T}`+(p!==void 0?" "+p:"")+(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":"")}),v=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:v,attributes:h,hasLink:i,linkTag:l,navigateOnClick:s,isActionable:u}}const{passiveCapture:Nt}=gt;let pr=null,vr=null,br=null;const $e=Ae({name:"QBtn",props:{...hb,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:r}=Pe(),{classes:i,style:l,innerClasses:o,attributes:s,hasLink:a,linkTag:c,navigateOnClick:u,isActionable:d}=gb(e),f=ue(null),h=ue(null);let g=null,v,p=null;const T=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})),q=y(()=>{const N=Math.max(0,Math.min(100,e.percentage));return N>0?{transition:"transform 0.6s",transform:`translateX(${N-100}%)`}:{}}),L=y(()=>{if(e.loading===!0)return{onMousedown:J,onTouchstart:J,onClick:J,onKeydown:J,onKeyup:J};if(d.value===!0){const N={onClick:W,onKeydown:Z,onMousedown:M};if(r.$q.platform.has.touch===!0){const le=e.onTouchstart!==void 0?"":"Passive";N[`onTouchstart${le}`]=P}return N}return{onClick:Qe}}),I=y(()=>({ref:f,class:"q-btn q-btn-item non-selectable no-outline "+i.value,style:l.value,...s.value,...L.value}));function W(N){if(f.value!==null){if(N!==void 0){if(N.defaultPrevented===!0)return;const le=document.activeElement;if(e.type==="submit"&&le!==document.body&&f.value.contains(le)===!1&&le.contains(f.value)===!1){f.value.focus();const te=()=>{document.removeEventListener("keydown",Qe,!0),document.removeEventListener("keyup",te,Nt),f.value!==null&&f.value.removeEventListener("blur",te,Nt)};document.addEventListener("keydown",Qe,!0),document.addEventListener("keyup",te,Nt),f.value.addEventListener("blur",te,Nt)}}u(N)}}function Z(N){f.value!==null&&(n("keydown",N),wn(N,[13,32])===!0&&vr!==f.value&&(vr!==null&&C(),N.defaultPrevented!==!0&&(f.value.focus(),vr=f.value,f.value.classList.add("q-btn--active"),document.addEventListener("keyup",U,!0),f.value.addEventListener("blur",U,Nt)),Qe(N)))}function P(N){f.value!==null&&(n("touchstart",N),N.defaultPrevented!==!0&&(pr!==f.value&&(pr!==null&&C(),pr=f.value,g=N.target,g.addEventListener("touchcancel",U,Nt),g.addEventListener("touchend",U,Nt)),v=!0,p!==null&&clearTimeout(p),p=setTimeout(()=>{p=null,v=!1},200)))}function M(N){f.value!==null&&(N.qSkipRipple=v===!0,n("mousedown",N),N.defaultPrevented!==!0&&br!==f.value&&(br!==null&&C(),br=f.value,f.value.classList.add("q-btn--active"),document.addEventListener("mouseup",U,Nt)))}function U(N){if(f.value!==null&&!(N!==void 0&&N.type==="blur"&&document.activeElement===f.value)){if(N!==void 0&&N.type==="keyup"){if(vr===f.value&&wn(N,[13,32])===!0){const le=new MouseEvent("click",N);le.qKeyEvent=!0,N.defaultPrevented===!0&&Qt(le),N.cancelBubble===!0&&sn(le),f.value.dispatchEvent(le),Qe(N),N.qKeyEvent=!0}n("keyup",N)}C()}}function C(N){const le=h.value;N!==!0&&(pr===f.value||br===f.value)&&le!==null&&le!==document.activeElement&&(le.setAttribute("tabindex",-1),le.focus()),pr===f.value&&(g!==null&&(g.removeEventListener("touchcancel",U,Nt),g.removeEventListener("touchend",U,Nt)),pr=g=null),br===f.value&&(document.removeEventListener("mouseup",U,Nt),br=null),vr===f.value&&(document.removeEventListener("keyup",U,!0),f.value!==null&&f.value.removeEventListener("blur",U,Nt),vr=null),f.value!==null&&f.value.classList.remove("q-btn--active")}function J(N){Qe(N),N.qSkipRipple=!0}return tt(()=>{C(!0)}),Object.assign(r,{click:N=>{d.value===!0&&W(N)}}),()=>{let N=[];e.icon!==void 0&&N.push(b(Be,{name:e.icon,left:e.stack!==!0&&T.value===!0,role:"img"})),T.value===!0&&N.push(b("span",{class:"block"},[e.label])),N=Gt(t.default,N),e.iconRight!==void 0&&e.round===!1&&N.push(b(Be,{name:e.iconRight,right:e.stack!==!0&&T.value===!0,role:"img"}));const le=[b("span",{class:"q-focus-helper",ref:h})];return e.loading===!0&&e.percentage!==void 0&&le.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:q.value})])),le.push(b("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+o.value},N)),e.loading!==null&&le.push(b(Ln,{name:"q-transition--fade"},()=>e.loading===!0?[b("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[b(un)])]:null)),An(b(c.value,I.value,le),[[Qs,S.value,void 0,E.value]])}}}),zl=Ae({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(e,{slots:t}){const{proxy:{$q:n}}=Pe(),r=It(Tp,mr);if(r===mr)return console.error("QPage needs to be a deep child of QLayout"),mr;if(It(Rp,mr)===mr)return console.error("QPage needs to be child of QPageContainer"),mr;const l=y(()=>{const s=(r.header.space===!0?r.header.size:0)+(r.footer.space===!0?r.footer.size:0);if(typeof e.styleFn=="function"){const a=r.isContainer.value===!0?r.containerHeight.value:n.screen.height;return e.styleFn(s,a)}return{minHeight:r.isContainer.value===!0?r.containerHeight.value-s+"px":n.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":n.screen.height-s+"px"}}),o=y(()=>`q-page${e.padding===!0?" q-layout-padding":""}`);return()=>b("main",{class:o.value,style:l.value},Je(t.default))}});function qf(e,t){return function(){return e.apply(t,arguments)}}const{toString:mb}=Object.prototype,{getPrototypeOf:Js}=Object,Ul=(e=>t=>{const n=mb.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),en=e=>(e=e.toLowerCase(),t=>Ul(t)===e),Kl=e=>t=>typeof t===e,{isArray:Nr}=Array,wi=Kl("undefined");function pb(e){return e!==null&&!wi(e)&&e.constructor!==null&&!wi(e.constructor)&&Bt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Tf=en("ArrayBuffer");function vb(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Tf(e.buffer),t}const bb=Kl("string"),Bt=Kl("function"),Rf=Kl("number"),Wl=e=>e!==null&&typeof e=="object",yb=e=>e===!0||e===!1,Ji=e=>{if(Ul(e)!=="object")return!1;const t=Js(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},wb=en("Date"),_b=en("File"),Sb=en("Blob"),xb=en("FileList"),Cb=e=>Wl(e)&&Bt(e.pipe),kb=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Bt(e.append)&&((t=Ul(e))==="formdata"||t==="object"&&Bt(e.toString)&&e.toString()==="[object FormData]"))},Eb=en("URLSearchParams"),[qb,Tb,Rb,Pb]=["ReadableStream","Request","Response","Headers"].map(en),Ab=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Nr(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=n?Object.getOwnPropertyNames(e):Object.keys(e),o=l.length;let s;for(r=0;r<o;r++)s=l[r],t.call(null,e[s],s,e)}}function Pf(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Gn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Af=e=>!wi(e)&&e!==Gn;function cs(){const{caseless:e}=Af(this)&&this||{},t={},n=(r,i)=>{const l=e&&Pf(t,i)||i;Ji(t[l])&&Ji(r)?t[l]=cs(t[l],r):Ji(r)?t[l]=cs({},r):Nr(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&qi(arguments[r],n);return t}const Ob=(e,t,n,{allOwnKeys:r}={})=>(qi(t,(i,l)=>{n&&Bt(i)?e[l]=qf(i,n):e[l]=i},{allOwnKeys:r}),e),Fb=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Lb=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Db=(e,t,n,r)=>{let i,l,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)o=i[l],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=n!==!1&&Js(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Mb=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Bb=e=>{if(!e)return null;if(Nr(e))return e;let t=e.length;if(!Rf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},$b=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Js(Uint8Array)),Nb=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},Vb=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Ib=en("HTMLFormElement"),jb=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),$u=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Hb=en("RegExp"),Of=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};qi(n,(i,l)=>{let o;(o=t(i,l,e))!==!1&&(r[l]=o||i)}),Object.defineProperties(e,r)},zb=e=>{Of(e,(t,n)=>{if(Bt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Bt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ub=(e,t)=>{const n={},r=i=>{i.forEach(l=>{n[l]=!0})};return Nr(e)?r(e):r(String(e).split(t)),n},Kb=()=>{},Wb=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,qo="abcdefghijklmnopqrstuvwxyz",Nu="0123456789",Ff={DIGIT:Nu,ALPHA:qo,ALPHA_DIGIT:qo+qo.toUpperCase()+Nu},Qb=(e=16,t=Ff.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Gb(e){return!!(e&&Bt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Jb=e=>{const t=new Array(10),n=(r,i)=>{if(Wl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=Nr(r)?[]:{};return qi(r,(o,s)=>{const a=n(o,i+1);!wi(a)&&(l[s]=a)}),t[i]=void 0,l}}return r};return n(e,0)},Xb=en("AsyncFunction"),Yb=e=>e&&(Wl(e)||Bt(e))&&Bt(e.then)&&Bt(e.catch),Lf=((e,t)=>e?setImmediate:t?((n,r)=>(Gn.addEventListener("message",({source:i,data:l})=>{i===Gn&&l===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Gn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Bt(Gn.postMessage)),Zb=typeof queueMicrotask<"u"?queueMicrotask.bind(Gn):typeof process<"u"&&process.nextTick||Lf,V={isArray:Nr,isArrayBuffer:Tf,isBuffer:pb,isFormData:kb,isArrayBufferView:vb,isString:bb,isNumber:Rf,isBoolean:yb,isObject:Wl,isPlainObject:Ji,isReadableStream:qb,isRequest:Tb,isResponse:Rb,isHeaders:Pb,isUndefined:wi,isDate:wb,isFile:_b,isBlob:Sb,isRegExp:Hb,isFunction:Bt,isStream:Cb,isURLSearchParams:Eb,isTypedArray:$b,isFileList:xb,forEach:qi,merge:cs,extend:Ob,trim:Ab,stripBOM:Fb,inherits:Lb,toFlatObject:Db,kindOf:Ul,kindOfTest:en,endsWith:Mb,toArray:Bb,forEachEntry:Nb,matchAll:Vb,isHTMLForm:Ib,hasOwnProperty:$u,hasOwnProp:$u,reduceDescriptors:Of,freezeMethods:zb,toObjectSet:Ub,toCamelCase:jb,noop:Kb,toFiniteNumber:Wb,findKey:Pf,global:Gn,isContextDefined:Af,ALPHABET:Ff,generateString:Qb,isSpecCompliantForm:Gb,toJSONObject:Jb,isAsyncFn:Xb,isThenable:Yb,setImmediate:Lf,asap:Zb};function ke(e,t,n,r,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),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}V.inherits(ke,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 Df=ke.prototype,Mf={};["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=>{Mf[e]={value:e}});Object.defineProperties(ke,Mf);Object.defineProperty(Df,"isAxiosError",{value:!0});ke.from=(e,t,n,r,i,l)=>{const o=Object.create(Df);return V.toFlatObject(e,o,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),ke.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,l&&Object.assign(o,l),o};const ey=null;function ds(e){return V.isPlainObject(e)||V.isArray(e)}function Bf(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function Vu(e,t,n){return e?e.concat(t).map(function(i,l){return i=Bf(i),!n&&l?"["+i+"]":i}).join(n?".":""):t}function ty(e){return V.isArray(e)&&!e.some(ds)}const ny=V.toFlatObject(V,{},null,function(t){return/^is[A-Z]/.test(t)});function Ql(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(v,p){return!V.isUndefined(p[v])});const r=n.metaTokens,i=n.visitor||u,l=n.dots,o=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 ke("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,v,p){let T=g;if(g&&!p&&typeof g=="object"){if(V.endsWith(v,"{}"))v=r?v:v.slice(0,-2),g=JSON.stringify(g);else if(V.isArray(g)&&ty(g)||(V.isFileList(g)||V.endsWith(v,"[]"))&&(T=V.toArray(g)))return v=Bf(v),T.forEach(function(E,q){!(V.isUndefined(E)||E===null)&&t.append(o===!0?Vu([v],q,l):o===null?v:v+"[]",c(E))}),!1}return ds(g)?!0:(t.append(Vu(p,v,l),c(g)),!1)}const d=[],f=Object.assign(ny,{defaultVisitor:u,convertValue:c,isVisitable:ds});function h(g,v){if(!V.isUndefined(g)){if(d.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));d.push(g),V.forEach(g,function(T,S){(!(V.isUndefined(T)||T===null)&&i.call(t,T,V.isString(S)?S.trim():S,v,f))===!0&&h(T,v?v.concat(S):[S])}),d.pop()}}if(!V.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Iu(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Xs(e,t){this._pairs=[],e&&Ql(e,this,t)}const $f=Xs.prototype;$f.append=function(t,n){this._pairs.push([t,n])};$f.toString=function(t){const n=t?function(r){return t.call(this,r,Iu)}:Iu;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function ry(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Nf(e,t,n){if(!t)return e;const r=n&&n.encode||ry;V.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let l;if(i?l=i(t,n):l=V.isURLSearchParams(t)?t.toString():new Xs(t,n).toString(r),l){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class ju{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.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(r){r!==null&&t(r)})}}const Vf={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},iy=typeof URLSearchParams<"u"?URLSearchParams:Xs,ly=typeof FormData<"u"?FormData:null,oy=typeof Blob<"u"?Blob:null,sy={isBrowser:!0,classes:{URLSearchParams:iy,FormData:ly,Blob:oy},protocols:["http","https","file","blob","url","data"]},Ys=typeof window<"u"&&typeof document<"u",fs=typeof navigator=="object"&&navigator||void 0,ay=Ys&&(!fs||["ReactNative","NativeScript","NS"].indexOf(fs.product)<0),uy=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",cy=Ys&&window.location.href||"http://localhost",dy=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ys,hasStandardBrowserEnv:ay,hasStandardBrowserWebWorkerEnv:uy,navigator:fs,origin:cy},Symbol.toStringTag,{value:"Module"})),wt={...dy,...sy};function fy(e,t){return Ql(e,new wt.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,l){return wt.isNode&&V.isBuffer(n)?(this.append(r,n.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function hy(e){return V.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function gy(e){const t={},n=Object.keys(e);let r;const i=n.length;let l;for(r=0;r<i;r++)l=n[r],t[l]=e[l];return t}function If(e){function t(n,r,i,l){let o=n[l++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),a=l>=n.length;return o=!o&&V.isArray(i)?i.length:o,a?(V.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!s):((!i[o]||!V.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],l)&&V.isArray(i[o])&&(i[o]=gy(i[o])),!s)}if(V.isFormData(e)&&V.isFunction(e.entries)){const n={};return V.forEachEntry(e,(r,i)=>{t(hy(r),i,n,0)}),n}return null}function my(e,t,n){if(V.isString(e))try{return(t||JSON.parse)(e),V.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Ti={transitional:Vf,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,l=V.isObject(t);if(l&&V.isHTMLForm(t)&&(t=new FormData(t)),V.isFormData(t))return i?JSON.stringify(If(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(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return fy(t,this.formSerializer).toString();if((s=V.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Ql(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return l||i?(n.setContentType("application/json",!1),my(t)):t}],transformResponse:[function(t){const n=this.transitional||Ti.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(V.isResponse(t)||V.isReadableStream(t))return t;if(t&&V.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?ke.from(s,ke.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:wt.classes.FormData,Blob:wt.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=>{Ti.headers[e]={}});const py=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"]),vy=e=>{const t={};let n,r,i;return e&&e.split(`
|
|
26
|
+
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&py[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Hu=Symbol("internals");function Kr(e){return e&&String(e).trim().toLowerCase()}function Xi(e){return e===!1||e==null?e:V.isArray(e)?e.map(Xi):String(e)}function by(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const yy=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function To(e,t,n,r,i){if(V.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!V.isString(t)){if(V.isString(r))return t.indexOf(r)!==-1;if(V.isRegExp(r))return r.test(t)}}function wy(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function _y(e,t){const n=V.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,l,o){return this[r].call(this,t,i,l,o)},configurable:!0})})}class Lt{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function l(s,a,c){const u=Kr(a);if(!u)throw new Error("header name must be a non-empty string");const d=V.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||a]=Xi(s))}const o=(s,a)=>V.forEach(s,(c,u)=>l(c,u,a));if(V.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(V.isString(t)&&(t=t.trim())&&!yy(t))o(vy(t),n);else if(V.isHeaders(t))for(const[s,a]of t.entries())l(a,s,r);else t!=null&&l(n,t,r);return this}get(t,n){if(t=Kr(t),t){const r=V.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return by(i);if(V.isFunction(n))return n.call(this,i,r);if(V.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Kr(t),t){const r=V.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||To(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function l(o){if(o=Kr(o),o){const s=V.findKey(r,o);s&&(!n||To(r,r[s],s,n))&&(delete r[s],i=!0)}}return V.isArray(t)?t.forEach(l):l(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const l=n[r];(!t||To(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const n=this,r={};return V.forEach(this,(i,l)=>{const o=V.findKey(r,l);if(o){n[o]=Xi(i),delete n[l];return}const s=t?wy(l):String(l).trim();s!==l&&delete n[l],n[s]=Xi(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return V.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&V.isArray(r)?r.join(", "):r)}),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 r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Hu]=this[Hu]={accessors:{}}).accessors,i=this.prototype;function l(o){const s=Kr(o);r[s]||(_y(i,o),r[s]=!0)}return V.isArray(t)?t.forEach(l):l(t),this}}Lt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);V.reduceDescriptors(Lt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});V.freezeMethods(Lt);function Ro(e,t){const n=this||Ti,r=t||n,i=Lt.from(r.headers);let l=r.data;return V.forEach(e,function(s){l=s.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function jf(e){return!!(e&&e.__CANCEL__)}function Vr(e,t,n){ke.call(this,e??"canceled",ke.ERR_CANCELED,t,n),this.name="CanceledError"}V.inherits(Vr,ke,{__CANCEL__:!0});function Hf(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ke("Request failed with status code "+n.status,[ke.ERR_BAD_REQUEST,ke.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 xy(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,l=0,o;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=r[l];o||(o=c),n[i]=a,r[i]=c;let d=l,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-o<t)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function Cy(e,t){let n=0,r=1e3/t,i,l;const o=(c,u=Date.now())=>{n=u,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?o(c,u):(i=c,l||(l=setTimeout(()=>{l=null,o(i)},r-d)))},()=>i&&o(i)]}const pl=(e,t,n=3)=>{let r=0;const i=xy(50,250);return Cy(l=>{const o=l.loaded,s=l.lengthComputable?l.total:void 0,a=o-r,c=i(a),u=o<=s;r=o;const d={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&u?(s-o)/c:void 0,event:l,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},zu=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Uu=e=>(...t)=>V.asap(()=>e(...t)),ky=wt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,wt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(wt.origin),wt.navigator&&/(msie|trident)/i.test(wt.navigator.userAgent)):()=>!0,Ey=wt.hasStandardBrowserEnv?{write(e,t,n,r,i,l){const o=[e+"="+encodeURIComponent(t)];V.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),V.isString(r)&&o.push("path="+r),V.isString(i)&&o.push("domain="+i),l===!0&&o.push("secure"),document.cookie=o.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 qy(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ty(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function zf(e,t){return e&&!qy(t)?Ty(e,t):t}const Ku=e=>e instanceof Lt?{...e}:e;function or(e,t){t=t||{};const n={};function r(c,u,d,f){return V.isPlainObject(c)&&V.isPlainObject(u)?V.merge.call({caseless:f},c,u):V.isPlainObject(u)?V.merge({},u):V.isArray(u)?u.slice():u}function i(c,u,d,f){if(V.isUndefined(u)){if(!V.isUndefined(c))return r(void 0,c,d,f)}else return r(c,u,d,f)}function l(c,u){if(!V.isUndefined(u))return r(void 0,u)}function o(c,u){if(V.isUndefined(u)){if(!V.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const a={url:l,method:l,data:l,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(c,u,d)=>i(Ku(c),Ku(u),d,!0)};return V.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=a[u]||i,f=d(e[u],t[u],u);V.isUndefined(f)&&d!==s||(n[u]=f)}),n}const Uf=e=>{const t=or({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:o,auth:s}=t;t.headers=o=Lt.from(o),t.url=Nf(zf(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let a;if(V.isFormData(n)){if(wt.hasStandardBrowserEnv||wt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((a=o.getContentType())!==!1){const[c,...u]=a?a.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...u].join("; "))}}if(wt.hasStandardBrowserEnv&&(r&&V.isFunction(r)&&(r=r(t)),r||r!==!1&&ky(t.url))){const c=i&&l&&Ey.read(l);c&&o.set(i,c)}return t},Ry=typeof XMLHttpRequest<"u",Py=Ry&&function(e){return new Promise(function(n,r){const i=Uf(e);let l=i.data;const o=Lt.from(i.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:c}=i,u,d,f,h,g;function v(){h&&h(),g&&g(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let p=new XMLHttpRequest;p.open(i.method.toUpperCase(),i.url,!0),p.timeout=i.timeout;function T(){if(!p)return;const E=Lt.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),L={data:!s||s==="text"||s==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:E,config:e,request:p};Hf(function(W){n(W),v()},function(W){r(W),v()},L),p=null}"onloadend"in p?p.onloadend=T:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(T)},p.onabort=function(){p&&(r(new ke("Request aborted",ke.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new ke("Network Error",ke.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let q=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const L=i.transitional||Vf;i.timeoutErrorMessage&&(q=i.timeoutErrorMessage),r(new ke(q,L.clarifyTimeoutError?ke.ETIMEDOUT:ke.ECONNABORTED,e,p)),p=null},l===void 0&&o.setContentType(null),"setRequestHeader"in p&&V.forEach(o.toJSON(),function(q,L){p.setRequestHeader(L,q)}),V.isUndefined(i.withCredentials)||(p.withCredentials=!!i.withCredentials),s&&s!=="json"&&(p.responseType=i.responseType),c&&([f,g]=pl(c,!0),p.addEventListener("progress",f)),a&&p.upload&&([d,h]=pl(a),p.upload.addEventListener("progress",d),p.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=E=>{p&&(r(!E||E.type?new Vr(null,e,p):E),p.abort(),p=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&&wt.protocols.indexOf(S)===-1){r(new ke("Unsupported protocol "+S+":",ke.ERR_BAD_REQUEST,e));return}p.send(l||null)})},Ay=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const l=function(c){if(!i){i=!0,s();const u=c instanceof Error?c:this.reason;r.abort(u instanceof ke?u:new Vr(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{o=null,l(new ke(`timeout ${t} of ms exceeded`,ke.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(l):c.removeEventListener("abort",l)}),e=null)};e.forEach(c=>c.addEventListener("abort",l));const{signal:a}=r;return a.unsubscribe=()=>V.asap(s),a}},Oy=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Fy=async function*(e,t){for await(const n of Ly(e))yield*Oy(n,t)},Ly=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Wu=(e,t,n,r)=>{const i=Fy(e,t);let l=0,o,s=a=>{o||(o=!0,r&&r(a))};return new ReadableStream({async pull(a){try{const{done:c,value:u}=await i.next();if(c){s(),a.close();return}let d=u.byteLength;if(n){let f=l+=d;n(f)}a.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(a){return s(a),i.return()}},{highWaterMark:2})},Gl=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Kf=Gl&&typeof ReadableStream=="function",Dy=Gl&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Wf=(e,...t)=>{try{return!!e(...t)}catch{return!1}},My=Kf&&Wf(()=>{let e=!1;const t=new Request(wt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Qu=64*1024,hs=Kf&&Wf(()=>V.isReadableStream(new Response("").body)),vl={stream:hs&&(e=>e.body)};Gl&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!vl[t]&&(vl[t]=V.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ke(`Response type '${t}' is not supported`,ke.ERR_NOT_SUPPORT,r)})})})(new Response);const By=async e=>{if(e==null)return 0;if(V.isBlob(e))return e.size;if(V.isSpecCompliantForm(e))return(await new Request(wt.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 Dy(e)).byteLength},$y=async(e,t)=>{const n=V.toFiniteNumber(e.getContentLength());return n??By(t)},Ny=Gl&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:l,timeout:o,onDownloadProgress:s,onUploadProgress:a,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=Uf(e);c=c?(c+"").toLowerCase():"text";let h=Ay([i,l&&l.toAbortSignal()],o),g;const v=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let p;try{if(a&&My&&n!=="get"&&n!=="head"&&(p=await $y(u,r))!==0){let L=new Request(t,{method:"POST",body:r,duplex:"half"}),I;if(V.isFormData(r)&&(I=L.headers.get("content-type"))&&u.setContentType(I),L.body){const[W,Z]=zu(p,pl(Uu(a)));r=Wu(L.body,Qu,W,Z)}}V.isString(d)||(d=d?"include":"omit");const T="credentials"in Request.prototype;g=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:T?d:void 0});let S=await fetch(g);const E=hs&&(c==="stream"||c==="response");if(hs&&(s||E&&v)){const L={};["status","statusText","headers"].forEach(P=>{L[P]=S[P]});const I=V.toFiniteNumber(S.headers.get("content-length")),[W,Z]=s&&zu(I,pl(Uu(s),!0))||[];S=new Response(Wu(S.body,Qu,W,()=>{Z&&Z(),v&&v()}),L)}c=c||"text";let q=await vl[V.findKey(vl,c)||"text"](S,e);return!E&&v&&v(),await new Promise((L,I)=>{Hf(L,I,{data:q,headers:Lt.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:g})})}catch(T){throw v&&v(),T&&T.name==="TypeError"&&/fetch/i.test(T.message)?Object.assign(new ke("Network Error",ke.ERR_NETWORK,e,g),{cause:T.cause||T}):ke.from(T,T&&T.code,e,g)}}),gs={http:ey,xhr:Py,fetch:Ny};V.forEach(gs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Gu=e=>`- ${e}`,Vy=e=>V.isFunction(e)||e===null||e===!1,Qf={getAdapter:e=>{e=V.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let l=0;l<t;l++){n=e[l];let o;if(r=n,!Vy(n)&&(r=gs[(o=String(n)).toLowerCase()],r===void 0))throw new ke(`Unknown adapter '${o}'`);if(r)break;i[o||"#"+l]=r}if(!r){const l=Object.entries(i).map(([s,a])=>`adapter ${s} `+(a===!1?"is not supported by the environment":"is not available in the build"));let o=t?l.length>1?`since :
|
|
28
|
+
`+l.map(Gu).join(`
|
|
29
|
+
`):" "+Gu(l[0]):"as no adapter specified";throw new ke("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:gs};function Po(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Vr(null,e)}function Ju(e){return Po(e),e.headers=Lt.from(e.headers),e.data=Ro.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Qf.getAdapter(e.adapter||Ti.adapter)(e).then(function(r){return Po(e),r.data=Ro.call(e,e.transformResponse,r),r.headers=Lt.from(r.headers),r},function(r){return jf(r)||(Po(e),r&&r.response&&(r.response.data=Ro.call(e,e.transformResponse,r.response),r.response.headers=Lt.from(r.response.headers))),Promise.reject(r)})}const Gf="1.7.9",Jl={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Jl[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Xu={};Jl.transitional=function(t,n,r){function i(l,o){return"[Axios v"+Gf+"] Transitional option '"+l+"'"+o+(r?". "+r:"")}return(l,o,s)=>{if(t===!1)throw new ke(i(o," has been removed"+(n?" in "+n:"")),ke.ERR_DEPRECATED);return n&&!Xu[o]&&(Xu[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(l,o,s):!0}};Jl.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Iy(e,t,n){if(typeof e!="object")throw new ke("options must be an object",ke.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const l=r[i],o=t[l];if(o){const s=e[l],a=s===void 0||o(s,l,e);if(a!==!0)throw new ke("option "+l+" must be "+a,ke.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ke("Unknown option "+l,ke.ERR_BAD_OPTION)}}const Yi={assertOptions:Iy,validators:Jl},nn=Yi.validators;class er{constructor(t){this.defaults=t,this.interceptors={request:new ju,response:new ju}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const l=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?l&&!String(r.stack).endsWith(l.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
30
|
+
`+l):r.stack=l}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=or(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:l}=n;r!==void 0&&Yi.assertOptions(r,{silentJSONParsing:nn.transitional(nn.boolean),forcedJSONParsing:nn.transitional(nn.boolean),clarifyTimeoutError:nn.transitional(nn.boolean)},!1),i!=null&&(V.isFunction(i)?n.paramsSerializer={serialize:i}:Yi.assertOptions(i,{encode:nn.function,serialize:nn.function},!0)),Yi.assertOptions(n,{baseUrl:nn.spelling("baseURL"),withXsrfToken:nn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=l&&V.merge(l.common,l[n.method]);l&&V.forEach(["delete","get","head","post","put","patch","common"],g=>{delete l[g]}),n.headers=Lt.concat(o,l);const s=[];let a=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(a=a&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,d=0,f;if(!a){const g=[Ju.bind(this),void 0];for(g.unshift.apply(g,s),g.push.apply(g,c),f=g.length,u=Promise.resolve(n);d<f;)u=u.then(g[d++],g[d++]);return u}f=s.length;let h=n;for(d=0;d<f;){const g=s[d++],v=s[d++];try{h=g(h)}catch(p){v.call(this,p);break}}try{u=Ju.call(this,h)}catch(g){return Promise.reject(g)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=or(this.defaults,t);const n=zf(t.baseURL,t.url);return Nf(n,t.params,t.paramsSerializer)}}V.forEach(["delete","get","head","options"],function(t){er.prototype[t]=function(n,r){return this.request(or(r||{},{method:t,url:n,data:(r||{}).data}))}});V.forEach(["post","put","patch"],function(t){function n(r){return function(l,o,s){return this.request(or(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:l,data:o}))}}er.prototype[t]=n(),er.prototype[t+"Form"]=n(!0)});class Zs{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(l){n=l});const r=this;this.promise.then(i=>{if(!r._listeners)return;let l=r._listeners.length;for(;l-- >0;)r._listeners[l](i);r._listeners=null}),this.promise.then=i=>{let l;const o=new Promise(s=>{r.subscribe(s),l=s}).then(i);return o.cancel=function(){r.unsubscribe(l)},o},t(function(l,o,s){r.reason||(r.reason=new Vr(l,o,s),n(r.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=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Zs(function(i){t=i}),cancel:t}}}function jy(e){return function(n){return e.apply(null,n)}}function Hy(e){return V.isObject(e)&&e.isAxiosError===!0}const ms={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(ms).forEach(([e,t])=>{ms[t]=e});function Jf(e){const t=new er(e),n=qf(er.prototype.request,t);return V.extend(n,er.prototype,t,{allOwnKeys:!0}),V.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Jf(or(e,i))},n}const Ze=Jf(Ti);Ze.Axios=er;Ze.CanceledError=Vr;Ze.CancelToken=Zs;Ze.isCancel=jf;Ze.VERSION=Gf;Ze.toFormData=Ql;Ze.AxiosError=ke;Ze.Cancel=Ze.CanceledError;Ze.all=function(t){return Promise.all(t)};Ze.spread=jy;Ze.isAxiosError=Hy;Ze.mergeConfig=or;Ze.AxiosHeaders=Lt;Ze.formToJSON=e=>If(V.isHTMLForm(e)?new FormData(e):e);Ze.getAdapter=Qf.getAdapter;Ze.HttpStatusCode=ms;Ze.default=Ze;const Ri=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},zy={data(){return{loading:!1,message:""}},methods:{async dumpDatabase(){this.loading=!0;try{const e=await Ze.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}}}},Uy={key:1};function Ky(e,t,n,r,i,l){return Le(),rt(zl,null,{default:ge(()=>[ee($e,{onClick:l.dumpDatabase,label:"Dump Database",color:"primary"},null,8,["onClick"]),i.loading?(Le(),rt(un,{key:0})):ct("",!0),i.message?(Le(),Kt("div",Uy,ht(i.message),1)):ct("",!0)]),_:1})}const Wy=Ri(zy,[["render",Ky]]),Qy=Ae({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const r=Pe(),{proxy:{$q:i}}=r,l=o=>{n("click",o)};return()=>{if(e.props===void 0)return b("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:l},Je(t.default));let o,s;const a=r.vnode.key;if(a){if(o=e.props.colsMap[a],o===void 0)return}else o=e.props.col;if(o.sortable===!0){const u=o.align==="right"?"unshift":"push";s=mf(t.default,[]),s[u](b(Be,{class:o.__iconClass,name:i.iconSet.table.arrowUp}))}else s=Je(t.default);const c={class:o.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:o.headerStyle,onClick:u=>{o.sortable===!0&&e.props.sort(o),l(u)}};return b("th",c,s)}}}),Et={dark:{type:Boolean,default:null}};function qt(e,t){return y(()=>e.dark===null?t.dark.isActive:e.dark)}const Gy={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},Ao={xs:2,sm:4,md:8,lg:16,xl:24},ps=Ae({name:"QSeparator",props:{...Et,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=Pe(),n=qt(e,t.proxy.$q),r=y(()=>e.vertical===!0?"vertical":"horizontal"),i=y(()=>` q-separator--${r.value}`),l=y(()=>e.inset!==!1?`${i.value}-${Gy[e.inset]}`:""),o=y(()=>`q-separator${i.value}${l.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?`${Ao.md}px`:e.spaced in Ao?`${Ao[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:o.value,style:s.value,"aria-orientation":r.value})}}),Jy=["ul","ol"],Xf=Ae({name:"QList",props:{...Et,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=Pe(),r=qt(e,n.proxy.$q),i=y(()=>Jy.includes(e.tag)?null:"list"),l=y(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(r.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>b(e.tag,{class:l.value,role:i.value},Je(t.default))}}),Xy=["horizontal","vertical","cell","none"],Yf=Ae({name:"QMarkupTable",props:{...Et,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>Xy.includes(e)}},setup(e,{slots:t}){const n=Pe(),r=qt(e,n.proxy.$q),i=y(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(r.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 Zf(e,t){return b("div",e,[b("table",{class:"q-table"},t)])}let bl=!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,bl=e.scrollLeft>=0,e.remove()}const Wt=1e3,Yy=["start","center","end","start-force","center-force","end-force"],eh=Array.prototype.filter,Zy=window.getComputedStyle(document.body).overflowAnchor===void 0?Ar: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||[];eh.call(n,i=>i.dataset&&i.dataset.qVsAnchor!==void 0).forEach(i=>{delete i.dataset.qVsAnchor});const r=n[t];r&&r.dataset&&(r.dataset.qVsAnchor="")}))};function Tr(e,t){return e+t}function Oo(e,t,n,r,i,l,o,s){const a=e===window?document.scrollingElement||document.documentElement:e,c=i===!0?"offsetWidth":"offsetHeight",u={scrollStart:0,scrollViewSize:-o-s,scrollMaxSize:0,offsetStart:-o,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,l===!0&&(u.scrollStart=(bl===!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 d=n.previousElementSibling;d!==null;d=d.previousElementSibling)d.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetStart+=d[c]);if(r!==null)for(let d=r.nextElementSibling;d!==null;d=d.nextElementSibling)d.classList.contains("q-virtual-scroll--skip")===!1&&(u.offsetEnd+=d[c]);if(t!==e){const d=a.getBoundingClientRect(),f=t.getBoundingClientRect();i===!0?(u.offsetStart+=f.left-d.left,u.offsetEnd-=f.width):(u.offsetStart+=f.top-d.top,u.offsetEnd-=f.height),e!==window&&(u.offsetStart+=u.scrollStart),u.offsetEnd+=u.scrollMaxSize-u.offsetStart}return u}function Yu(e,t,n,r){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(r===!0&&(t=(bl===!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?(r===!0&&(t=(bl===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function Wr(e,t,n,r){if(n>=r)return 0;const i=t.length,l=Math.floor(n/Wt),o=Math.floor((r-1)/Wt)+1;let s=e.slice(l,o).reduce(Tr,0);return n%Wt!==0&&(s-=t.slice(l*Wt,n).reduce(Tr,0)),r%Wt!==0&&r!==i&&(s-=t.slice(r,o*Wt).reduce(Tr,0)),s}const th={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]},nh=Object.keys(th),vs={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...th};function rh({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:r}){const i=Pe(),{props:l,emit:o,proxy:s}=i,{$q:a}=s;let c,u,d,f=[],h;const g=ue(0),v=ue(0),p=ue({}),T=ue(null),S=ue(null),E=ue(null),q=ue({from:0,to:0}),L=y(()=>l.tableColspan!==void 0?l.tableColspan:100);r===void 0&&(r=y(()=>l.virtualScrollItemSize));const I=y(()=>r.value+";"+l.virtualScrollHorizontal),W=y(()=>I.value+";"+l.virtualScrollSliceRatioBefore+";"+l.virtualScrollSliceRatioAfter);ye(W,()=>{te()}),ye(I,Z);function Z(){le(u,!0)}function P(A){le(A===void 0?u:A)}function M(A,m){const $=t();if($==null||$.nodeType===8)return;const D=Oo($,n(),T.value,S.value,l.virtualScrollHorizontal,a.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd);d!==D.scrollViewSize&&te(D.scrollViewSize),C($,D,Math.min(e.value-1,Math.max(0,parseInt(A,10)||0)),0,Yy.indexOf(m)!==-1?m:u!==-1&&A>u?"end":"start")}function U(){const A=t();if(A==null||A.nodeType===8)return;const m=Oo(A,n(),T.value,S.value,l.virtualScrollHorizontal,a.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd),$=e.value-1,D=m.scrollMaxSize-m.offsetStart-m.offsetEnd-v.value;if(c===m.scrollStart)return;if(m.scrollMaxSize<=0){C(A,m,0,0);return}d!==m.scrollViewSize&&te(m.scrollViewSize),J(q.value.from);const re=Math.floor(m.scrollMaxSize-Math.max(m.scrollViewSize,m.offsetEnd)-Math.min(h[$],m.scrollViewSize/2));if(re>0&&Math.ceil(m.scrollStart)>=re){C(A,m,$,m.scrollMaxSize-m.offsetEnd-f.reduce(Tr,0));return}let F=0,x=m.scrollStart-m.offsetStart,K=x;if(x<=D&&x+m.scrollViewSize>=g.value)x-=g.value,F=q.value.from,K=x;else for(let O=0;x>=f[O]&&F<$;O++)x-=f[O],F+=Wt;for(;x>0&&F<$;)x-=h[F],x>-m.scrollViewSize?(F++,K=x):K=h[F]+x;C(A,m,F,K)}function C(A,m,$,D,re){const F=typeof re=="string"&&re.indexOf("-force")!==-1,x=F===!0?re.replace("-force",""):re,K=x!==void 0?x:"start";let O=Math.max(0,$-p.value[K]),Y=O+p.value.total;Y>e.value&&(Y=e.value,O=Math.max(0,Y-p.value.total)),c=m.scrollStart;const Se=O!==q.value.from||Y!==q.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)})),Zy(_,$-O);const R=x!==void 0?h.slice(O,$).reduce(Tr,0):0;if(Se===!0){const j=Y>=q.value.from&&O<=q.value.to?q.value.to:Y;q.value={from:O,to:j},g.value=Wr(f,h,0,O),v.value=Wr(f,h,Y,e.value),requestAnimationFrame(()=>{q.value.to!==Y&&c===m.scrollStart&&(q.value={from:q.value.from,to:Y},v.value=Wr(f,h,Y,e.value))})}requestAnimationFrame(()=>{if(c!==m.scrollStart)return;Se===!0&&J(O);const j=h.slice(O,$).reduce(Tr,0),z=j+m.offsetStart+g.value,B=z+h[$];let X=z+D;if(x!==void 0){const ie=j-R,ne=m.scrollStart+ie;X=F!==!0&&ne<z&&B<ne+m.scrollViewSize?ne:x==="end"?B-m.scrollViewSize:z-(x==="start"?0:Math.round((m.scrollViewSize-h[$])/2))}c=X,Yu(A,X,l.virtualScrollHorizontal,a.lang.rtl),Q($)})}function J(A){const m=E.value;if(m){const $=eh.call(m.children,O=>O.classList&&O.classList.contains("q-virtual-scroll--skip")===!1),D=$.length,re=l.virtualScrollHorizontal===!0?O=>O.getBoundingClientRect().width:O=>O.offsetHeight;let F=A,x,K;for(let O=0;O<D;){for(x=re($[O]),O++;O<D&&$[O].classList.contains("q-virtual-scroll--with-prev")===!0;)x+=re($[O]),O++;K=x-h[F],K!==0&&(h[F]+=K,f[Math.floor(F/Wt)]+=K),F++}}}function N(){E.value!==null&&E.value!==void 0&&E.value.focus()}function le(A,m){const $=1*r.value;(m===!0||Array.isArray(h)===!1)&&(h=[]);const D=h.length;h.length=e.value;for(let F=e.value-1;F>=D;F--)h[F]=$;const re=Math.floor((e.value-1)/Wt);f=[];for(let F=0;F<=re;F++){let x=0;const K=Math.min((F+1)*Wt,e.value);for(let O=F*Wt;O<K;O++)x+=h[O];f.push(x)}u=-1,c=void 0,g.value=Wr(f,h,0,q.value.from),v.value=Wr(f,h,q.value.to,e.value),A>=0?(J(q.value.from),ze(()=>{M(A)})):ae()}function te(A){if(A===void 0&&typeof window<"u"){const x=t();x!=null&&x.nodeType!==8&&(A=Oo(x,n(),T.value,S.value,l.virtualScrollHorizontal,a.lang.rtl,l.virtualScrollStickySizeStart,l.virtualScrollStickySizeEnd).scrollViewSize)}d=A;const m=parseFloat(l.virtualScrollSliceRatioBefore)||0,$=parseFloat(l.virtualScrollSliceRatioAfter)||0,D=1+m+$,re=A===void 0||A<=0?1:Math.ceil(A/r.value),F=Math.max(1,re,Math.ceil((l.virtualScrollSliceSize>0?l.virtualScrollSliceSize:10)/D));p.value={total:Math.ceil(F*D),start:Math.ceil(F*m),center:Math.ceil(F*(.5+m)),end:Math.ceil(F*(1+m)),view:re}}function oe(A,m){const $=l.virtualScrollHorizontal===!0?"width":"height",D={["--q-virtual-scroll-item-"+$]:r.value+"px"};return[A==="tbody"?b(A,{class:"q-virtual-scroll__padding",key:"before",ref:T},[b("tr",[b("td",{style:{[$]:`${g.value}px`,...D},colspan:L.value})])]):b(A,{class:"q-virtual-scroll__padding",key:"before",ref:T,style:{[$]:`${g.value}px`,...D}}),b(A,{class:"q-virtual-scroll__content",key:"content",ref:E,tabindex:-1},m.flat()),A==="tbody"?b(A,{class:"q-virtual-scroll__padding",key:"after",ref:S},[b("tr",[b("td",{style:{[$]:`${v.value}px`,...D},colspan:L.value})])]):b(A,{class:"q-virtual-scroll__padding",key:"after",ref:S,style:{[$]:`${v.value}px`,...D}})]}function Q(A){u!==A&&(l.onVirtualScroll!==void 0&&o("virtualScroll",{index:A,from:q.value.from,to:q.value.to-1,direction:A<u?"decrease":"increase",ref:s}),u=A)}te();const ae=Hs(U,a.platform.is.ios===!0?120:35);Bl(()=>{te()});let pe=!1;return $r(()=>{pe=!0}),Dl(()=>{if(pe!==!0)return;const A=t();c!==void 0&&A!==void 0&&A!==null&&A.nodeType!==8?Yu(A,c,l.virtualScrollHorizontal,a.lang.rtl):M(u)}),tt(()=>{ae.cancel()}),Object.assign(s,{scrollTo:M,reset:Z,refresh:P}),{virtualScrollSliceRange:q,virtualScrollSliceSizeComputed:p,setVirtualScrollSize:te,onVirtualScrollEvt:ae,localResetVirtualScroll:le,padVirtualScroll:oe,scrollTo:M,reset:Z,refresh:P}}const ea=[Element,String],ew=[null,document,document.body,document.scrollingElement,document.documentElement];function ta(e,t){let n=eb(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return ew.includes(n)?window:n}function tw(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function nw(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let Bi;function rw(){if(Bi!==void 0)return Bi;const e=document.createElement("p"),t=document.createElement("div");us(e,{width:"100%",height:"200px"}),us(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 r=e.offsetWidth;return n===r&&(r=t.clientWidth),t.remove(),Bi=n-r,Bi}function iw(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 lw={list:Xf,table:Yf},ow=["list","table","__qtable"],sw=Ae({name:"QVirtualScroll",props:{...vs,type:{type:String,default:"list",validator:e=>ow.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:ea},setup(e,{slots:t,attrs:n}){let r;const i=ue(null),l=y(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:o,localResetVirtualScroll:s,padVirtualScroll:a,onVirtualScrollEvt:c}=rh({virtualScrollLength:l,getVirtualScrollTarget:g,getVirtualScrollEl:h}),u=y(()=>{if(l.value===0)return[];const S=(E,q)=>({index:o.value.from+q,item:E});return e.itemsFn===void 0?e.items.slice(o.value.from,o.value.to).map(S):e.itemsFn(o.value.from,o.value.to-o.value.from).map(S)}),d=y(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),f=y(()=>e.scrollTarget!==void 0?{}:{tabindex:0});ye(l,()=>{s()}),ye(()=>e.scrollTarget,()=>{p(),v()});function h(){return i.value.$el||i.value}function g(){return r}function v(){r=ta(h(),e.scrollTarget),r.addEventListener("scroll",c,gt.passive)}function p(){r!==void 0&&(r.removeEventListener("scroll",c,gt.passive),r=void 0)}function T(){let S=a(e.type==="list"?"div":"tbody",u.value.map(t.default));return t.before!==void 0&&(S=t.before().concat(S)),Gt(t.after,S)}return Bl(()=>{s()}),Zt(()=>{v()}),Dl(()=>{v()}),$r(()=>{p()}),tt(()=>{p()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?Zf({ref:i,class:"q-table__middle "+d.value},T()):b(lw[e.type],{...n,ref:i,class:[n.class,d.value],...f.value},T)}}});let Fo,$i=0;const ft=new Array(256);for(let e=0;e<256;e++)ft[e]=(e+256).toString(16).substring(1);const aw=(()=>{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 r=t;r>0;r--)n.push(Math.floor(Math.random()*256));return n}})(),Zu=4096;function bs(){(Fo===void 0||$i+16>Zu)&&($i=0,Fo=aw(Zu));const e=Array.prototype.slice.call(Fo,$i,$i+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,ft[e[0]]+ft[e[1]]+ft[e[2]]+ft[e[3]]+"-"+ft[e[4]]+ft[e[5]]+"-"+ft[e[6]]+ft[e[7]]+"-"+ft[e[8]]+ft[e[9]]+"-"+ft[e[10]]+ft[e[11]]+ft[e[12]]+ft[e[13]]+ft[e[14]]+ft[e[15]]}function uw(e){return e??null}function ec(e,t){return e??(t===!0?`f_${bs()}`:null)}function cw({getValue:e,required:t=!0}={}){if(Dn.value===!0){const n=ue(e!==void 0?uw(e()):null);return t===!0&&n.value===null&&Zt(()=>{n.value=`f_${bs()}`}),e!==void 0&&ye(e,r=>{n.value=ec(r,t)}),n}return e!==void 0?y(()=>ec(e(),t)):ue(`f_${bs()}`)}const tc=/^on[A-Z]/;function dw(){const{attrs:e,vnode:t}=Pe(),n={listeners:ue({}),attributes:ue({})};function r(){const i={},l={};for(const o in e)o!=="class"&&o!=="style"&&tc.test(o)===!1&&(i[o]=e[o]);for(const o in t.props)tc.test(o)===!0&&(l[o]=t.props[o]);n.attributes.value=i,n.listeners.value=l}return $l(r),r(),n}function fw({validate:e,resetValidation:t,requiresQForm:n}){const r=It(Pp,!1);if(r!==!1){const{props:i,proxy:l}=Pe();Object.assign(l,{validate:e,resetValidation:t}),ye(()=>i.disable,o=>{o===!0?(typeof t=="function"&&t(),r.unbindComponent(l)):r.bindComponent(l)}),Zt(()=>{i.disable!==!0&&r.bindComponent(l)}),tt(()=>{i.disable!==!0&&r.unbindComponent(l)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const nc=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,rc=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,ic=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,Ni=/^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])\)$/,Vi=/^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)\)$/,Lo={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=>nc.test(e),hexaColor:e=>rc.test(e),hexOrHexaColor:e=>ic.test(e),rgbColor:e=>Ni.test(e),rgbaColor:e=>Vi.test(e),rgbOrRgbaColor:e=>Ni.test(e)||Vi.test(e),hexOrRgbColor:e=>nc.test(e)||Ni.test(e),hexaOrRgbaColor:e=>rc.test(e)||Vi.test(e),anyColor:e=>ic.test(e)||Ni.test(e)||Vi.test(e)},hw=[!0,!1,"ondemand"],gw={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>hw.includes(e)}};function mw(e,t){const{props:n,proxy:r}=Pe(),i=ue(!1),l=ue(null),o=ue(!1);fw({validate:v,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),d=y(()=>n.error===!0||i.value===!0),f=y(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:l.value);ye(()=>n.modelValue,()=>{o.value=!0,u.value===!0&&n.lazyRules===!1&&p()});function h(){n.lazyRules!=="ondemand"&&u.value===!0&&o.value===!0&&p()}ye(()=>n.reactiveRules,T=>{T===!0?a===void 0&&(a=ye(()=>n.rules,h,{immediate:!0,deep:!0})):a!==void 0&&(a(),a=void 0)},{immediate:!0}),ye(()=>n.lazyRules,h),ye(e,T=>{T===!0?o.value=!0:u.value===!0&&n.lazyRules!=="ondemand"&&p()});function g(){s++,t.value=!1,o.value=!1,i.value=!1,l.value=null,p.cancel()}function v(T=n.modelValue){if(n.disable===!0||c.value===!1)return!0;const S=++s,E=t.value!==!0?()=>{o.value=!0}:()=>{},q=(I,W)=>{I===!0&&E(),i.value=I,l.value=W||null,t.value=!1},L=[];for(let I=0;I<n.rules.length;I++){const W=n.rules[I];let Z;if(typeof W=="function"?Z=W(T,Lo):typeof W=="string"&&Lo[W]!==void 0&&(Z=Lo[W](T)),Z===!1||typeof Z=="string")return q(!0,Z),!1;Z!==!0&&Z!==void 0&&L.push(Z)}return L.length===0?(q(!1),!0):(t.value=!0,Promise.all(L).then(I=>{if(I===void 0||Array.isArray(I)===!1||I.length===0)return S===s&&q(!1),!0;const W=I.find(Z=>Z===!1||typeof Z=="string");return S===s&&q(W!==void 0,W),W===void 0},I=>(S===s&&(console.error(I),q(!0)),!1)))}const p=Hs(v,0);return tt(()=>{a!==void 0&&a(),p.cancel()}),Object.assign(r,{resetValidation:g,validate:v}),At(r,"hasError",()=>d.value),{isDirtyModel:o,hasRules:c,hasError:d,errorMessage:f,validate:v,resetValidation:g}}let Jn=[],_i=[];function ih(e){_i=_i.filter(t=>t!==e)}function pw(e){ih(e),_i.push(e)}function lc(e){ih(e),_i.length===0&&Jn.length!==0&&(Jn[Jn.length-1](),Jn=[])}function Xl(e){_i.length===0?e():Jn.push(e)}function vw(e){Jn=Jn.filter(t=>t!==e)}function Si(e){return e!=null&&(""+e).length!==0}const bw={...Et,...gw,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},Yl={...bw,maxlength:[Number,String]},na=["update:modelValue","clear","focus","blur"];function ra({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:r,proxy:i}=Pe(),l=qt(r,i.$q),o=cw({required:e,getValue:()=>r.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?y(()=>r.tag):{value:"label"},isDark:l,editable:y(()=>r.disable!==!0&&r.readonly!==!0),innerLoading:ue(!1),focused:ue(!1),hasPopupOpen:!1,splitAttrs:dw(),targetUid:o,rootRef:ue(null),targetRef:ue(null),controlRef:ue(null)}}function ia(e){const{props:t,emit:n,slots:r,attrs:i,proxy:l}=Pe(),{$q:o}=l;let s=null;e.hasValue===void 0&&(e.hasValue=y(()=>Si(t.modelValue))),e.emitValue===void 0&&(e.emitValue=Q=>{n("update:modelValue",Q)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:P,onFocusout:M}),Object.assign(e,{clearValue:U,onControlFocusin:P,onControlFocusout:M,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,ae=t.maxlength!==void 0?t.maxlength:t.maxValues;return Q+(ae!==void 0?" / "+ae:"")}}));const{isDirtyModel:a,hasRules:c,hasError:u,errorMessage:d,resetValidation:f}=mw(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),v=y(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),p=y(()=>`q-field row no-wrap items-start q-field--${v.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":"")),T=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}`:"")),q=y(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:h.value,modelValue:t.modelValue,emitValue:e.emitValue})),L=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 ae=e.targetRef!==void 0&&e.targetRef.value;ae&&(Q===null||Q.id!==e.targetUid.value)&&(ae.hasAttribute("tabindex")===!0||(ae=ae.querySelector("[tabindex]")),ae&&ae!==Q&&ae.focus({preventScroll:!0}))}function W(){Xl(I)}function Z(){vw(I);const Q=document.activeElement;Q!==null&&e.rootRef.value.contains(Q)&&Q.blur()}function P(Q){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",Q))}function M(Q,ae){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)),ae!==void 0&&ae())})}function U(Q){Qe(Q),o.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 ae=a.value;f(),a.value=ae})}function C(Q){[13,32].includes(Q.keyCode)&&U(Q)}function J(){const Q=[];return r.prepend!==void 0&&Q.push(b("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:Qt},r.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(te("error",[b(Be,{name:o.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?Q.push(te("inner-loading-append",r.loading!==void 0?r.loading():[b(un,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&Q.push(te("inner-clearable-append",[b(Be,{class:"q-field__focusable-action",name:t.clearIcon||o.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":o.lang.label.clear,onKeyup:C,onClick:U})])),r.append!==void 0&&Q.push(b("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:Qt},r.append())),e.getInnerAppend!==void 0&&Q.push(te("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()):r.rawControl!==void 0?Q.push(r.rawControl()):r.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},r.control(q.value))),S.value===!0&&Q.push(b("div",{class:E.value},Je(r.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(r.default))}function le(){let Q,ae;u.value===!0?d.value!==null?(Q=[b("div",{role:"alert"},d.value)],ae=`q--slot-error-${d.value}`):(Q=Je(r.error),ae="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(Q=[b("div",t.hint)],ae=`q--slot-hint-${t.hint}`):(Q=Je(r.hint),ae="q--slot-hint"));const pe=t.counter===!0||r.counter!==void 0;if(t.hideBottomSpace===!0&&pe===!1&&Q===void 0)return;const A=b("div",{key:ae,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:Qt},[t.hideBottomSpace===!0?A:b(Ln,{name:"q-transition--field-message"},()=>A),pe===!0?b("div",{class:"q-field__counter"},r.counter!==void 0?r.counter():e.computedCounter.value):null])}function te(Q,ae){return ae===null?null:b("div",{key:Q,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},ae)}let oe=!1;return $r(()=>{oe=!0}),Dl(()=>{oe===!0&&t.autofocus===!0&&l.focus()}),t.autofocus===!0&&Zt(()=>{l.focus()}),tt(()=>{s!==null&&clearTimeout(s)}),Object.assign(l,{focus:W,blur:Z}),function(){const ae=e.getControl===void 0&&r.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...L.value}:L.value;return b(e.tag.value,{ref:e.rootRef,class:[p.value,i.class],style:i.style,...ae},[r.before!==void 0?b("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:Qt},r.before()):null,b("div",{class:"q-field__inner relative-position col self-stretch"},[b("div",{ref:e.controlRef,class:T.value,tabindex:-1,...e.controlEvents},J()),g.value===!0?le():null]),r.after!==void 0?b("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:Qt},r.after()):null])}}const yw=Ae({name:"QField",inheritAttrs:!1,props:{...Yl,tag:{type:String,default:"label"}},emits:na,setup(){return ia(ra({tagProp:!0}))}}),ww={xs:8,sm:10,md:14,lg:20,xl:24},_w=Ae({name:"QChip",props:{...Et,...sr,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:r}}=Pe(),i=qt(e,r),l=ar(e,ww),o=y(()=>e.selected===!0||e.icon!==void 0),s=y(()=>e.selected===!0?e.iconSelected||r.iconSet.chip.selected:e.icon),a=y(()=>e.iconRemove||r.iconSet.chip.remove),c=y(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),u=y(()=>{const p=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}`:"")+(p?` text-${p} 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":"")}),d=y(()=>{const p=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},T={...p,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||r.lang.label.remove};return{chip:p,remove:T}});function f(p){p.keyCode===13&&h(p)}function h(p){e.disable||(n("update:selected",!e.selected),n("click",p))}function g(p){(p.keyCode===void 0||p.keyCode===13)&&(Qe(p),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function v(){const p=[];c.value===!0&&p.push(b("div",{class:"q-focus-helper"})),o.value===!0&&p.push(b(Be,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const T=e.label!==void 0?[b("div",{class:"ellipsis"},[e.label])]:void 0;return p.push(b("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},pf(t.default,T))),e.iconRight&&p.push(b(Be,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&p.push(b(Be,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:a.value,...d.value.remove,onClick:g,onKeyup:g})),p}return()=>{if(e.modelValue===!1)return;const p={class:u.value,style:l.value};return c.value===!0&&Object.assign(p,d.value.chip,{onClick:h,onKeyup:f}),zv("div",p,v(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Qs,e.ripple]])}}}),lh=Ae({name:"QItem",props:{...Et,...ob,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:r}}=Pe(),i=qt(e,r),{hasLink:l,linkAttrs:o,linkClass:s,linkTag:a,navigateOnClick:c}=Ef(),u=ue(null),d=ue(null),f=y(()=>e.clickable===!0||l.value===!0||e.tag==="label"),h=y(()=>e.disable!==!0&&f.value===!0),g=y(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(i.value===!0?" q-item--dark":"")+(l.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":""):"")),v=y(()=>e.insetLevel===void 0?null:{["padding"+(r.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function p(E){h.value===!0&&(d.value!==null&&(E.qKeyEvent!==!0&&document.activeElement===u.value?d.value.focus():document.activeElement===d.value&&u.value.focus()),c(E))}function T(E){if(h.value===!0&&wn(E,[13,32])===!0){Qe(E),E.qKeyEvent=!0;const q=new MouseEvent("click",E);q.qKeyEvent=!0,u.value.dispatchEvent(q)}n("keyup",E)}function S(){const E=mf(t.default,[]);return h.value===!0&&E.unshift(b("div",{class:"q-focus-helper",tabindex:-1,ref:d})),E}return()=>{const E={ref:u,class:g.value,style:v.value,role:"listitem",onClick:p,onKeyup:T};return h.value===!0?(E.tabindex=e.tabindex||"0",Object.assign(E,o.value)):f.value===!0&&(E["aria-disabled"]="true"),b(a.value,E,S())}}}),Zi=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},Je(t.default))}}),Sw=Ae({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=y(()=>parseInt(e.lines,10)),r=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:r.value},Je(t.default))}});function ys(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),fl.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const oh={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},xw={...oh,contextMenu:Boolean};function sh({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:r,proxy:i,emit:l}=Pe(),o=ue(null);let s=null;function a(h){return o.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){wn(h,13)===!0&&c.toggle(h)},contextClick(h){i.hide(h),Qt(h),ze(()=>{i.show(h),h.qAnchorHandled=!0})},prevent:Qt,mobileTouch(h){if(c.mobileCleanup(h),a(h)!==!0)return;i.hide(h),o.value.classList.add("non-selectable");const g=h.target;pi(c,"anchor",[[g,"touchmove","mobileCleanup","passive"],[g,"touchend","mobileCleanup","passive"],[g,"touchcancel","mobileCleanup","passive"],[o.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,i.show(h),h.qAnchorHandled=!0},300)},mobileCleanup(h){o.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&h!==void 0&&ys()}}),n=function(h=r.contextMenu){if(r.noParentEvent===!0||o.value===null)return;let g;h===!0?i.$q.platform.is.mobile===!0?g=[[o.value,"touchstart","mobileTouch","passive"]]:g=[[o.value,"mousedown","hide","passive"],[o.value,"contextmenu","contextClick","notPassive"]]:g=[[o.value,"click","toggle","passive"],[o.value,"keyup","toggleKey","passive"]],pi(c,"anchor",g)});function u(){hl(c,"anchor")}function d(h){for(o.value=h;o.value.classList.contains("q-anchor--skip");)o.value=o.value.parentNode;n()}function f(){if(r.target===!1||r.target===""||i.$el.parentNode===null)o.value=null;else if(r.target===!0)d(i.$el.parentNode);else{let h=r.target;if(typeof r.target=="string")try{h=document.querySelector(r.target)}catch{h=void 0}h!=null?(o.value=h.$el||h,n()):(o.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return ye(()=>r.contextMenu,h=>{o.value!==null&&(u(),n(h))}),ye(()=>r.target,()=>{o.value!==null&&u(),f()}),ye(()=>r.noParentEvent,h=>{o.value!==null&&(h===!0?u():n())}),Zt(()=>{f(),t!==!0&&r.modelValue===!0&&o.value===null&&l("update:modelValue",!1)}),tt(()=>{s!==null&&clearTimeout(s),u()}),{anchorEl:o,canShow:a,anchorEvents:c}}function ah(e,t){const n=ue(null);let r;function i(s,a){const c=`${a!==void 0?"add":"remove"}EventListener`,u=a!==void 0?a:r;s!==window&&s[c]("scroll",u,gt.passive),window[c]("scroll",u,gt.passive),r=a}function l(){n.value!==null&&(i(n.value),n.value=null)}const o=ye(()=>e.noParentEvent,()=>{n.value!==null&&(l(),t())});return tt(o),{localScrollTarget:n,unconfigureScrollTarget:l,changeScrollEvent:i}}const la={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},oa=["beforeShow","show","beforeHide","hide"];function sa({showing:e,canShow:t,hideOnRouteChange:n,handleShow:r,handleHide:i,processOnMount:l}){const o=Pe(),{props:s,emit:a,proxy:c}=o;let u;function d(S){e.value===!0?g(S):f(S)}function f(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),r!==void 0?r(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)&&v(S)}function v(S){e.value!==!1&&(e.value=!1,a("beforeHide",S),i!==void 0?i(S):a("hide",S))}function p(S){s.disable===!0&&S===!0?s["onUpdate:modelValue"]!==void 0&&a("update:modelValue",!1):S===!0!==e.value&&(S===!0?h:v)(u)}ye(()=>s.modelValue,p),n!==void 0&&Gs(o)===!0&&ye(()=>c.$route.fullPath,()=>{n.value===!0&&e.value===!0&&g()}),l===!0&&Zt(()=>{p(s.modelValue)});const T={show:f,hide:g,toggle:d};return Object.assign(c,T),T}let Cw=1,kw=document.body;function Zl(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${Cw++}`:e,ml.globalNodes!==void 0){const r=ml.globalNodes.class;r!==void 0&&(n.className=r)}return kw.appendChild(n),n}function aa(e){e.remove()}const Rr=[];function Ew(e){return Rr.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function uh(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Gi(e)}else if(e.__qPortal===!0){const n=Gi(e);return n!==void 0&&n.$options.name==="QPopupProxy"?(e.hide(t),n):e}e=Gi(e)}while(e!=null)}function qw(e,t,n){for(;n!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(n--,e.$options.name==="QMenu"){e=uh(e,t);continue}e.hide(t)}e=Gi(e)}}const Tw=Ae({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function Rw(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 ua(e,t,n,r){const i=ue(!1),l=ue(!1);let o=null;const s={},a=r==="dialog"&&Rw(e);function c(d){if(d===!0){lc(s),l.value=!0;return}l.value=!1,i.value===!1&&(a===!1&&o===null&&(o=Zl(!1,r)),i.value=!0,Rr.push(e.proxy),pw(s))}function u(d){if(l.value=!1,d!==!0)return;lc(s),i.value=!1;const f=Rr.indexOf(e.proxy);f!==-1&&Rr.splice(f,1),o!==null&&(aa(o),o=null)}return Ns(()=>{u(!0)}),e.proxy.__qPortal=!0,At(e.proxy,"contentEl",()=>t.value),{showPortal:c,hidePortal:u,portalIsActive:i,portalIsAccessible:l,renderPortal:()=>a===!0?n():i.value===!0?[b(Tg,{to:o},b(Tw,n))]:void 0}}const ai={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function ca(e,t=()=>{},n=()=>{}){return{transitionProps:y(()=>{const r=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}}),transitionStyle:y(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function da(){let e;const t=Pe();function n(){e=void 0}return $r(n),tt(n),{removeTick:n,registerTick(r){e=r,ze(()=>{e===r&&(Cf(t)===!1&&e(),e=void 0)})}}}function fa(){let e=null;const t=Pe();function n(){e!==null&&(clearTimeout(e),e=null)}return $r(n),tt(n),{removeTimeout:n,registerTimeout(r,i){n(),Cf(t)===!1&&(e=setTimeout(()=>{e=null,r()},i))}}}const tr=[];let Lr;function Pw(e){Lr=e.keyCode===27}function Aw(){Lr===!0&&(Lr=!1)}function Ow(e){Lr===!0&&(Lr=!1,wn(e,27)===!0&&tr[tr.length-1](e))}function ch(e){window[e]("keydown",Pw),window[e]("blur",Aw),window[e]("keyup",Ow),Lr=!1}function dh(e){it.is.desktop===!0&&(tr.push(e),tr.length===1&&ch("addEventListener"))}function yl(e){const t=tr.indexOf(e);t!==-1&&(tr.splice(t,1),tr.length===0&&ch("removeEventListener"))}const nr=[];function fh(e){nr[nr.length-1](e)}function hh(e){it.is.desktop===!0&&(nr.push(e),nr.length===1&&document.body.addEventListener("focusin",fh))}function ws(e){const t=nr.indexOf(e);t!==-1&&(nr.splice(t,1),nr.length===0&&document.body.removeEventListener("focusin",fh))}const{notPassiveCapture:wl}=gt,rr=[];function _l(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=Rr.length-1;for(;n>=0;){const r=Rr[n].$;if(r.type.name==="QTooltip"){n--;continue}if(r.type.name!=="QDialog")break;if(r.props.seamless!==!0)return;n--}for(let r=rr.length-1;r>=0;r--){const i=rr[r];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 gh(e){rr.push(e),rr.length===1&&(document.addEventListener("mousedown",_l,wl),document.addEventListener("touchstart",_l,wl))}function Sl(e){const t=rr.findIndex(n=>n===e);t!==-1&&(rr.splice(t,1),rr.length===0&&(document.removeEventListener("mousedown",_l,wl),document.removeEventListener("touchstart",_l,wl)))}let oc,sc;function xl(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 mh(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const _s={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{_s[`${e}#ltr`]=e,_s[`${e}#rtl`]=e});function Cl(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:_s[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function Fw(e,t){let{top:n,left:r,right:i,bottom:l,width:o,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],r-=t[0],l+=t[1],i+=t[0],o+=t[0],s+=t[1]),{top:n,bottom:l,height:s,left:r,right:i,width:o,middle:r+(i-r)/2,center:n+(l-n)/2}}function Lw(e,t,n){let{top:r,left:i}=e.getBoundingClientRect();return r+=t.top,i+=t.left,n!==void 0&&(r+=n[1],i+=n[0]),{top:r,bottom:r+1,height:1,left:i,right:i+1,width:1,middle:i,center:r}}function Dw(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function ac(e,t,n,r){return{top:e[n.vertical]-t[r.vertical],left:e[n.horizontal]-t[r.horizontal]}}function ha(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{ha(e,t+1)},10);return}const{targetEl:n,offset:r,anchorEl:i,anchorOrigin:l,selfOrigin:o,absoluteOffset:s,fit:a,cover:c,maxHeight:u,maxWidth:d}=e;if(it.is.ios===!0&&window.visualViewport!==void 0){const I=document.body.style,{offsetLeft:W,offsetTop:Z}=window.visualViewport;W!==oc&&(I.setProperty("--q-pe-left",W+"px"),oc=W),Z!==sc&&(I.setProperty("--q-pe-top",Z+"px"),sc=Z)}const{scrollLeft:f,scrollTop:h}=n,g=s===void 0?Fw(i,c===!0?[0,0]:r):Lw(i,s,r);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:d,maxHeight:u,visibility:"visible"});const{offsetWidth:v,offsetHeight:p}=n,{elWidth:T,elHeight:S}=a===!0||c===!0?{elWidth:Math.max(g.width,v),elHeight:c===!0?Math.max(g.height,p):p}:{elWidth:v,elHeight:p};let E={maxWidth:d,maxHeight:u};(a===!0||c===!0)&&(E.minWidth=g.width+"px",c===!0&&(E.minHeight=g.height+"px")),Object.assign(n.style,E);const q=Dw(T,S);let L=ac(g,q,l,o);if(s===void 0||r===void 0)Do(L,g,q,l,o);else{const{top:I,left:W}=L;Do(L,g,q,l,o);let Z=!1;if(L.top!==I){Z=!0;const P=2*r[1];g.center=g.top-=P,g.bottom-=P+2}if(L.left!==W){Z=!0;const P=2*r[0];g.middle=g.left-=P,g.right-=P+2}Z===!0&&(L=ac(g,q,l,o),Do(L,g,q,l,o))}E={top:L.top+"px",left:L.left+"px"},L.maxHeight!==void 0&&(E.maxHeight=L.maxHeight+"px",g.height>L.maxHeight&&(E.minHeight=E.maxHeight)),L.maxWidth!==void 0&&(E.maxWidth=L.maxWidth+"px",g.width>L.maxWidth&&(E.minWidth=E.maxWidth)),Object.assign(n.style,E),n.scrollTop!==h&&(n.scrollTop=h),n.scrollLeft!==f&&(n.scrollLeft=f)}function Do(e,t,n,r,i){const l=n.bottom,o=n.right,s=rw(),a=window.innerHeight-s,c=document.body.clientWidth;if(e.top<0||e.top+l>a)if(i.vertical==="center")e.top=t[r.vertical]>a/2?Math.max(0,a-l):0,e.maxHeight=Math.min(l,a);else if(t[r.vertical]>a/2){const u=Math.min(a,r.vertical==="center"?t.center:r.vertical===i.vertical?t.bottom:t.top);e.maxHeight=Math.min(l,u),e.top=Math.max(0,u-l)}else e.top=Math.max(0,r.vertical==="center"?t.center:r.vertical===i.vertical?t.top:t.bottom),e.maxHeight=Math.min(l,a-e.top);if(e.left<0||e.left+o>c)if(e.maxWidth=Math.min(o,c),i.horizontal==="middle")e.left=t[r.horizontal]>c/2?Math.max(0,c-o):0;else if(t[r.horizontal]>c/2){const u=Math.min(c,r.horizontal==="middle"?t.middle:r.horizontal===i.horizontal?t.right:t.left);e.maxWidth=Math.min(o,u),e.left=Math.max(0,u-e.maxWidth)}else e.left=Math.max(0,r.horizontal==="middle"?t.middle:r.horizontal===i.horizontal?t.left:t.right),e.maxWidth=Math.min(o,c-e.left)}const Mw=Ae({name:"QMenu",inheritAttrs:!1,props:{...xw,...la,...Et,...ai,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:xl},self:{type:String,validator:xl},offset:{type:Array,validator:mh},scrollTarget:ea,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...oa,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:r}){let i=null,l,o,s;const a=Pe(),{proxy:c}=a,{$q:u}=c,d=ue(null),f=ue(!1),h=y(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),g=qt(e,u),{registerTick:v,removeTick:p}=da(),{registerTimeout:T}=fa(),{transitionProps:S,transitionStyle:E}=ca(e),{localScrollTarget:q,changeScrollEvent:L,unconfigureScrollTarget:I}=ah(e,$),{anchorEl:W,canShow:Z}=sh({showing:f}),{hide:P}=sa({showing:f,canShow:Z,handleShow:pe,handleHide:A,hideOnRouteChange:h,processOnMount:!0}),{showPortal:M,hidePortal:U,renderPortal:C}=ua(a,d,K,"menu"),J={anchorEl:W,innerRef:d,onClickOutside(O){if(e.persistent!==!0&&f.value===!0)return P(O),(O.type==="touchstart"||O.target.classList.contains("q-dialog__backdrop"))&&Qe(O),!0}},N=y(()=>Cl(e.anchor||(e.cover===!0?"center middle":"bottom start"),u.lang.rtl)),le=y(()=>e.cover===!0?N.value:Cl(e.self||"top start",u.lang.rtl)),te=y(()=>(e.square===!0?" q-menu--square":"")+(g.value===!0?" q-menu--dark q-dark":"")),oe=y(()=>e.autoClose===!0?{onClick:D}:{}),Q=y(()=>f.value===!0&&e.persistent!==!0);ye(Q,O=>{O===!0?(dh(F),gh(J)):(yl(F),Sl(J))});function ae(){Xl(()=>{let O=d.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 pe(O){if(i=e.noRefocus===!1?document.activeElement:null,hh(re),M(),$(),l=void 0,O!==void 0&&(e.touchPosition||e.contextMenu)){const Y=Jd(O);if(Y.left!==void 0){const{top:Se,left:w}=W.value.getBoundingClientRect();l={left:Y.left-w,top:Y.top-Se}}}o===void 0&&(o=ye(()=>u.screen.width+"|"+u.screen.height+"|"+e.self+"|"+e.anchor+"|"+u.lang.rtl,x)),e.noFocus!==!0&&document.activeElement.blur(),v(()=>{x(),e.noFocus!==!0&&ae()}),T(()=>{u.platform.is.ios===!0&&(s=e.autoClose,d.value.click()),x(),M(!0),n("show",O)},e.transitionDuration)}function A(O){p(),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),T(()=>{U(!0),n("hide",O)},e.transitionDuration)}function m(O){l=void 0,o!==void 0&&(o(),o=void 0),(O===!0||f.value===!0)&&(ws(re),I(),Sl(J),yl(F)),O!==!0&&(i=null)}function $(){(W.value!==null||e.scrollTarget!==void 0)&&(q.value=ta(W.value,e.scrollTarget),L(q.value,x))}function D(O){s!==!0?(uh(c,O),n("click",O)):s=!1}function re(O){Q.value===!0&&e.noFocus!==!0&&wf(d.value,O.target)!==!0&&ae()}function F(O){n("escapeKey"),P(O)}function x(){ha({targetEl:d.value,offset:e.offset,anchorEl:W.value,anchorOrigin:N.value,selfOrigin:le.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function K(){return b(Ln,S.value,()=>f.value===!0?b("div",{role:"menu",...r,ref:d,tabindex:-1,class:["q-menu q-position-engine scroll"+te.value,r.class],style:[r.style,E.value],...oe.value},Je(t.default)):null)}return tt(m),Object.assign(c,{focus:ae,updatePosition:x}),C}});function Bw(e,t,n){let r;function i(){r!==void 0&&(vi.remove(r),r=void 0)}return tt(()=>{e.value===!0&&i()}),{removeFromHistory:i,addToHistory(){r={condition:()=>n.value===!0,handler:t},vi.add(r)}}}let Qr=0,Mo,Bo,Yr,$o=!1,uc,cc,dc,Un=null;function $w(e){Nw(e)&&Qe(e)}function Nw(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=mp(e),n=e.shiftKey&&!e.deltaX,r=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=n||r?e.deltaY:e.deltaX;for(let l=0;l<t.length;l++){const o=t[l];if(iw(o,r))return r?i<0&&o.scrollTop===0?!0:i>0&&o.scrollTop+o.clientHeight===o.scrollHeight:i<0&&o.scrollLeft===0?!0:i>0&&o.scrollLeft+o.clientWidth===o.scrollWidth}return!0}function fc(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Ii(e){$o!==!0&&($o=!0,requestAnimationFrame(()=>{$o=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:r}=document.scrollingElement;(Yr===void 0||t!==window.innerHeight)&&(Yr=n-t,document.scrollingElement.scrollTop=r),r>Yr&&(document.scrollingElement.scrollTop-=Math.ceil((r-Yr)/8))}))}function hc(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:r,overflowX:i}=window.getComputedStyle(t);Mo=nw(window),Bo=tw(window),uc=t.style.left,cc=t.style.top,dc=window.location.href,t.style.left=`-${Mo}px`,t.style.top=`-${Bo}px`,i!=="hidden"&&(i==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),r!=="hidden"&&(r==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,it.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Ii,gt.passiveCapture),window.visualViewport.addEventListener("scroll",Ii,gt.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",fc,gt.passiveCapture))}it.is.desktop===!0&&it.is.mac===!0&&window[`${e}EventListener`]("wheel",$w,gt.notPassive),e==="remove"&&(it.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",Ii,gt.passiveCapture),window.visualViewport.removeEventListener("scroll",Ii,gt.passiveCapture)):window.removeEventListener("scroll",fc,gt.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=uc,t.style.top=cc,window.location.href===dc&&window.scrollTo(Mo,Bo),Yr=void 0)}function Ss(e){let t="add";if(e===!0){if(Qr++,Un!==null){clearTimeout(Un),Un=null;return}if(Qr>1)return}else{if(Qr===0||(Qr--,Qr>0))return;if(t="remove",it.is.ios===!0&&it.is.nativeMobile===!0){Un!==null&&clearTimeout(Un),Un=setTimeout(()=>{hc(t),Un=null},100);return}}hc(t)}function Vw(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,Ss(t))}}}let ji=0;const Iw={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"},gc={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Dr=Ae({name:"QDialog",inheritAttrs:!1,props:{...la,...ai,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:[...oa,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:r}){const i=Pe(),l=ue(null),o=ue(!1),s=ue(!1);let a=null,c=null,u,d;const f=y(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:h}=Vw(),{registerTimeout:g}=fa(),{registerTick:v,removeTick:p}=da(),{transitionProps:T,transitionStyle:S}=ca(e,()=>gc[e.position][0],()=>gc[e.position][1]),E=y(()=>S.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:q,hidePortal:L,portalIsAccessible:I,renderPortal:W}=ua(i,l,re,"dialog"),{hide:Z}=sa({showing:o,hideOnRouteChange:f,handleShow:le,handleHide:te,processOnMount:!0}),{addToHistory:P,removeFromHistory:M}=Bw(o,Z,f),U=y(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${Iw[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(()=>o.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"}`,r.class]);ye(()=>e.maximized,F=>{o.value===!0&&A(F)}),ye(C,F=>{h(F),F===!0?(hh(D),dh(ae)):(ws(D),yl(ae))});function le(F){P(),c=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,A(e.maximized),q(),s.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),v(oe)):p(),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()}d=!0,l.value.click(),d=!1}q(!0),s.value=!1,n("show",F)},e.transitionDuration)}function te(F){p(),M(),pe(!0),s.value=!0,L(),c!==null&&(((F&&F.type.indexOf("key")===0?c.closest('[tabindex]:not([tabindex^="-"])'):void 0)||c).focus(),c=null),g(()=>{L(!0),s.value=!1,n("hide",F)},e.transitionDuration)}function oe(F){Xl(()=>{let x=l.value;if(x!==null){if(F!==void 0){const K=x.querySelector(F);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(F){F&&typeof F.focus=="function"?F.focus({preventScroll:!0}):oe(),n("shake");const x=l.value;x!==null&&(x.classList.remove("q-animate--scale"),x.classList.add("q-animate--scale"),a!==null&&clearTimeout(a),a=setTimeout(()=>{a=null,l.value!==null&&(x.classList.remove("q-animate--scale"),oe())},170))}function ae(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&Q():(n("escapeKey"),Z()))}function pe(F){a!==null&&(clearTimeout(a),a=null),(F===!0||o.value===!0)&&(A(!1),e.seamless!==!0&&(h(!1),ws(D),yl(ae))),F!==!0&&(c=null)}function A(F){F===!0?u!==!0&&(ji<1&&document.body.classList.add("q-body--dialog"),ji++,u=!0):u===!0&&(ji<2&&document.body.classList.remove("q-body--dialog"),ji--,u=!1)}function m(F){d!==!0&&(Z(F),n("click",F))}function $(F){e.persistent!==!0&&e.noBackdropDismiss!==!0?Z(F):e.noShake!==!0&&Q()}function D(F){e.allowFocusOutside!==!0&&I.value===!0&&wf(l.value,F.target)!==!0&&oe('[tabindex]:not([tabindex="-1"])')}Object.assign(i.proxy,{focus:oe,shake:Q,__updateRefocusTarget(F){c=F||null}}),tt(pe);function re(){return b("div",{role:"dialog","aria-modal":C.value===!0?"true":"false",...r,class:N.value},[b(Ln,{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(Ln,T.value,()=>o.value===!0?b("div",{ref:l,class:U.value,style:S.value,tabindex:-1,...J.value},Je(t.default)):null)])}return W}}),eo={name:String};function ph(e={}){return(t,n,r)=>{t[n](b("input",{class:"hidden"+(r||""),...e.value}))}}function vh(e){return y(()=>e.name||e.for)}const jw=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,Hw=/[\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,zw=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Uw=/[a-z0-9_ -]$/i;function bh(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"&&(it.is.firefox===!0?Uw.test(n.data)===!1:jw.test(n.data)===!0||Hw.test(n.data)===!0||zw.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function mc(e,t,n){if(n<=t)return t;const r=n-t+1;let i=t+(e-t)%r;return i<t&&(i=r+i),i===0?0:i}const pc=e=>["add","add-unique","toggle"].includes(e),Kw=".*+?^${}()|[]\\",Ww=Object.keys(Yl);function No(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return r=>r!==null&&typeof r=="object"&&n in r?r[n]:r}const Qw=Ae({name:"QSelect",inheritAttrs:!1,props:{...vs,...eo,...Yl,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:pc},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:vs.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...na,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:r}=Pe(),{$q:i}=r,l=ue(!1),o=ue(!1),s=ue(-1),a=ue(""),c=ue(!1),u=ue(!1);let d=null,f=null,h,g,v,p=null,T,S,E,q;const L=ue(null),I=ue(null),W=ue(null),Z=ue(null),P=ue(null),M=vh(e),U=bh(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:le,localResetVirtualScroll:te,padVirtualScroll:oe,onVirtualScrollEvt:Q,scrollTo:ae,setVirtualScrollSize:pe}=rh({virtualScrollLength:C,getVirtualScrollTarget:to,getVirtualScrollEl:Pi,virtualScrollItemSizeComputed:J}),A=ra(),m=y(()=>{const k=e.mapOptions===!0&&e.multiple!==!0,de=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:[],Re=de.map(je=>cn(je,fe));return e.modelValue===null&&k===!0?Re.filter(je=>je!==null):Re}return de}),$=y(()=>{const k={};return Ww.forEach(de=>{const fe=e[de];fe!==void 0&&(k[de]=fe)}),k}),D=y(()=>e.optionsDark===null?A.isDark.value:e.optionsDark),re=y(()=>Si(m.value)),F=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(()=>A.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":l.value===!0?"true":"false","aria-controls":`${A.targetUid.value}_lb`};return s.value>=0&&(k["aria-activedescendant"]=`${A.targetUid.value}_${s.value}`),k}),j=y(()=>({id:`${A.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),z=y(()=>m.value.map((k,de)=>({index:de,opt:k,html:Se.value(k),selected:!0,removeAtIndex:Fe,toggleOption:Ie,tabindex:_.value}))),B=y(()=>{if(C.value===0)return[];const{from:k,to:de}=N.value;return e.options.slice(k,de).map((fe,Re)=>{const je=se.value(fe)===!0,Ne=dn(fe)===!0,dt=k+Re,et={clickable:!0,active:Ne,activeClass:ne.value,manualFocus:!0,focused:!1,disable:je,tabindex:-1,dense:e.optionsDense,dark:D.value,role:"option","aria-selected":Ne===!0?"true":"false",id:`${A.targetUid.value}_${dt}`,onClick:()=>{Ie(fe)}};return je!==!0&&(s.value===dt&&(et.focused=!0),i.platform.is.desktop===!0&&(et.onMousemove=()=>{l.value===!0&&Ke(dt)})),{index:dt,opt:fe,html:Se.value(fe),label:he.value(fe),selected:et.active,focused:et.focused,toggleOption:Ie,setOptionIndex:Ke,itemProps:et}})}),X=y(()=>e.dropdownIcon!==void 0?e.dropdownIcon:i.iconSet.arrow.dropdown),ie=y(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),ne=y(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),G=y(()=>No(e.optionValue,"value")),he=y(()=>No(e.optionLabel,"label")),se=y(()=>No(e.optionDisable,"disable")),me=y(()=>m.value.map(G.value)),ve=y(()=>{const k={onInput:H,onChange:U,onKeydown:Vn,onKeyup:fn,onKeypress:Ir,onFocus:lt,onClick(de){g===!0&&sn(de)}};return k.onCompositionstart=k.onCompositionupdate=k.onCompositionend=U,k});ye(m,k=>{h=k,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&A.innerLoading.value!==!0&&(o.value!==!0&&l.value!==!0||re.value!==!0)&&(v!==!0&&hr(),(o.value===!0||l.value===!0)&&we(""))},{immediate:!0}),ye(()=>e.fillInput,hr),ye(l,lo),ye(C,Dh);function qe(k){return e.emitValue===!0?G.value(k):k}function Oe(k){if(k!==-1&&k<m.value.length)if(e.multiple===!0){const de=e.modelValue.slice();n("remove",{index:k,value:de.splice(k,1)[0]}),n("update:modelValue",de)}else n("update:modelValue",null)}function Fe(k){Oe(k),A.focus()}function at(k,de){const fe=qe(k);if(e.multiple!==!0){e.fillInput===!0&&be(he.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(de===!0&&dn(k)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const Re=e.modelValue.slice();n("add",{index:Re.length,value:fe}),Re.push(fe),n("update:modelValue",Re)}function Ie(k,de){if(A.editable.value!==!0||k===void 0||se.value(k)===!0)return;const fe=G.value(k);if(e.multiple!==!0){de!==!0&&(be(e.fillInput===!0?he.value(k):"",!0,!0),In()),I.value!==null&&I.value.focus(),(m.value.length===0||Pn(G.value(m.value[0]),fe)!==!0)&&n("update:modelValue",e.emitValue===!0?fe:k);return}if((g!==!0||c.value===!0)&&A.focus(),lt(),m.value.length===0){const Ne=e.emitValue===!0?fe:k;n("add",{index:0,value:Ne}),n("update:modelValue",e.multiple===!0?[Ne]:Ne);return}const Re=e.modelValue.slice(),je=me.value.findIndex(Ne=>Pn(Ne,fe));if(je!==-1)n("remove",{index:je,value:Re.splice(je,1)[0]});else{if(e.maxValues!==void 0&&Re.length>=e.maxValues)return;const Ne=e.emitValue===!0?fe:k;n("add",{index:Re.length,value:Ne}),Re.push(Ne)}n("update:modelValue",Re)}function Ke(k){if(i.platform.is.desktop!==!0)return;const de=k!==-1&&k<C.value?k:-1;s.value!==de&&(s.value=de)}function Xe(k=1,de){if(l.value===!0){let fe=s.value;do fe=mc(fe+k,-1,C.value-1);while(fe!==-1&&fe!==s.value&&se.value(e.options[fe])===!0);s.value!==fe&&(Ke(fe),ae(fe),de!==!0&&e.useInput===!0&&e.fillInput===!0&&ce(fe>=0?he.value(e.options[fe]):T,!0))}}function cn(k,de){const fe=Re=>Pn(G.value(Re),k);return e.options.find(fe)||de.find(fe)||k}function dn(k){const de=G.value(k);return me.value.find(fe=>Pn(fe,de))!==void 0}function lt(k){e.useInput===!0&&I.value!==null&&(k===void 0||I.value===k.target&&k.target.value===O.value)&&I.value.select()}function St(k){wn(k,27)===!0&&l.value===!0&&(sn(k),In(),hr()),n("keyup",k)}function fn(k){const{value:de}=k.target;if(k.keyCode!==void 0){St(k);return}if(k.target.value="",d!==null&&(clearTimeout(d),d=null),f!==null&&(clearTimeout(f),f=null),hr(),typeof de=="string"&&de.length!==0){const fe=de.toLocaleLowerCase(),Re=Ne=>{const dt=e.options.find(et=>String(Ne.value(et)).toLocaleLowerCase()===fe);return dt===void 0?!1:(m.value.indexOf(dt)===-1?Ie(dt):In(),!0)},je=Ne=>{Re(G)!==!0&&Ne!==!0&&Re(he)!==!0&&we(de,!0,()=>je(!0))};je()}else A.clearValue(k)}function Ir(k){n("keypress",k)}function Vn(k){if(n("keydown",k),jl(k)===!0)return;const de=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||de===!0);if(k.keyCode===27){Qt(k);return}if(k.keyCode===9&&fe===!1){dr();return}if(k.target===void 0||k.target.id!==A.targetUid.value||A.editable.value!==!0)return;if(k.keyCode===40&&A.innerLoading.value!==!0&&l.value===!1){Qe(k),fr();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)&&le.value!==void 0&&(Qe(k),s.value=Math.max(-1,Math.min(C.value,s.value+(k.keyCode===33?-1:1)*le.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||q<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)){l.value!==!0&&fr(k);const je=k.key.toLocaleLowerCase(),Ne=E.length===1&&E[0]===je;q=Date.now()+1500,Ne===!1&&(Qe(k),E+=je);const dt=new RegExp("^"+E.split("").map(oo=>Kw.indexOf(oo)!==-1?"\\"+oo:oo).join(".*"),"i");let et=s.value;if(Ne===!0||et<0||dt.test(he.value(e.options[et]))!==!0)do et=mc(et+1,-1,Re-1);while(et!==s.value&&(se.value(e.options[et])===!0||dt.test(he.value(e.options[et]))!==!0));s.value!==et&&ze(()=>{Ke(et),ae(et),et>=0&&e.useInput===!0&&e.fillInput===!0&&ce(he.value(e.options[et]),!0)});return}if(!(k.keyCode!==13&&(k.keyCode!==32||e.useInput===!0||E!=="")&&(k.keyCode!==9||fe===!1))){if(k.keyCode!==9&&Qe(k),s.value!==-1&&s.value<Re){Ie(e.options[s.value]);return}if(de===!0){const je=(Ne,dt)=>{if(dt){if(pc(dt)!==!0)return}else dt=e.newValueMode;if(be("",e.multiple!==!0,!0),Ne==null)return;(dt==="toggle"?Ie:at)(Ne,dt==="add-unique"),e.multiple!==!0&&(I.value!==null&&I.value.focus(),In())};if(e.onNewValue!==void 0?n("newValue",a.value,je):je(a.value),e.multiple!==!0)return}l.value===!0?dr():A.innerLoading.value!==!0&&fr()}}function Pi(){return g===!0?P.value:W.value!==null&&W.value.contentEl!==null?W.value.contentEl:void 0}function to(){return Pi()}function no(){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,de)=>b(_w,{key:"option-"+de,removable:A.editable.value===!0&&se.value(k.opt)!==!0,dense:!0,textColor:e.color,tabindex:_.value,onRemove(){k.removeAtIndex(de)}},()=>b("span",{class:"ellipsis",[k.html===!0?"innerHTML":"textContent"]:he.value(k.opt)}))):[b("span",{[w.value===!0?"innerHTML":"textContent"]:Y.value})]}function Ai(){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(lh,{key:fe.index,...fe.itemProps},()=>b(Zi,()=>b(Sw,()=>b("span",{[fe.html===!0?"innerHTML":"textContent"]:fe.label}))));let de=oe("div",B.value.map(k));return t["before-options"]!==void 0&&(de=t["before-options"]().concat(de)),Gt(t["after-options"],de)}function ro(k,de){const fe=de===!0?{...R.value,...A.splitAttrs.attributes.value}:void 0,Re={ref:de===!0?I:void 0,key:"i_t",class:F.value,style:e.inputStyle,value:a.value!==void 0?a.value:"",type:"search",...fe,id:de===!0?A.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){d!==null&&(clearTimeout(d),d=null),f!==null&&(clearTimeout(f),f=null),!(k&&k.target&&k.target.qComposing===!0)&&(ce(k.target.value||""),v=!0,T=a.value,A.focused.value!==!0&&(g!==!0||c.value===!0)&&A.focus(),e.onFilter!==void 0&&(d=setTimeout(()=>{d=null,we(a.value)},e.inputDebounce)))}function ce(k,de){a.value!==k&&(a.value=k,de===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",k):f=setTimeout(()=>{f=null,n("inputValue",k)},e.inputDebounce))}function be(k,de,fe){v=fe!==!0,e.useInput===!0&&(ce(k,!0),(de===!0||fe!==!0)&&(T=k),de!==!0&&we(k))}function we(k,de,fe){if(e.onFilter===void 0||de!==!0&&A.focused.value!==!0)return;A.innerLoading.value===!0?n("filterAbort"):(A.innerLoading.value=!0,u.value=!0),k!==""&&e.multiple!==!0&&m.value.length!==0&&v!==!0&&k===he.value(m.value[0])&&(k="");const Re=setTimeout(()=>{l.value===!0&&(l.value=!1)},10);p!==null&&clearTimeout(p),p=Re,n("filter",k,(je,Ne)=>{(de===!0||A.focused.value===!0)&&p===Re&&(clearTimeout(p),typeof je=="function"&&je(),u.value=!1,ze(()=>{A.innerLoading.value=!1,A.editable.value===!0&&(de===!0?l.value===!0&&In():l.value===!0?lo(!0):l.value=!0),typeof Ne=="function"&&ze(()=>{Ne(r)}),typeof fe=="function"&&ze(()=>{fe(r)})}))},()=>{A.focused.value===!0&&p===Re&&(clearTimeout(p),A.innerLoading.value=!1,u.value=!1),l.value===!0&&(l.value=!1)})}function Te(){return b(Mw,{ref:W,class:x.value,style:e.popupContentStyle,modelValue:l.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:ie.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...j.value,onScrollPassive:Q,onBeforeShow:pa,onBeforeHide:Ge,onShow:We},Ai)}function Ge(k){va(k),dr()}function We(){pe()}function Ht(k){sn(k),I.value!==null&&I.value.focus(),c.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function pt(k){sn(k),ze(()=>{c.value=!1})}function ur(){const k=[b(yw,{class:`col-auto ${A.fieldClass.value}`,...$.value,for:A.targetUid.value,dark:D.value,square:!0,loading:u.value,itemAligned:!1,filled:!0,stackLabel:a.value.length!==0,...A.splitAttrs.listeners.value,onFocus:Ht,onBlur:pt},{...t,rawControl:()=>A.getControl(!0),before:void 0,after:void 0})];return l.value===!0&&k.push(b("div",{ref:P,class:x.value+" scroll",style:e.popupContentStyle,...j.value,onClick:Qt,onScrollPassive:Q},Ai())),b(Dr,{ref:Z,modelValue:o.value,position:e.useInput===!0?"top":void 0,transitionShow:S,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:pa,onBeforeHide:cr,onHide:io,onShow:Lh},()=>b("div",{class:"q-select__dialog"+(D.value===!0?" q-select__dialog--dark q-dark":"")+(c.value===!0?" q-select__dialog--focused":"")},k))}function cr(k){va(k),Z.value!==null&&Z.value.__updateRefocusTarget(A.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),A.focused.value=!1}function io(k){In(),A.focused.value===!1&&n("blur",k),hr()}function Lh(){const k=document.activeElement;(k===null||k.id!==A.targetUid.value)&&I.value!==null&&I.value!==k&&I.value.focus(),pe()}function dr(){o.value!==!0&&(s.value=-1,l.value===!0&&(l.value=!1),A.focused.value===!1&&(p!==null&&(clearTimeout(p),p=null),A.innerLoading.value===!0&&(n("filterAbort"),A.innerLoading.value=!1,u.value=!1)))}function fr(k){A.editable.value===!0&&(g===!0?(A.onControlFocusin(k),o.value=!0,ze(()=>{A.focus()})):A.focus(),e.onFilter!==void 0?we(a.value):(K.value!==!0||t["no-option"]!==void 0)&&(l.value=!0))}function In(){o.value=!1,dr()}function hr(){e.useInput===!0&&be(e.multiple!==!0&&e.fillInput===!0&&m.value.length!==0&&he.value(m.value[0])||"",!0,!0)}function lo(k){let de=-1;if(k===!0){if(m.value.length!==0){const fe=G.value(m.value[0]);de=e.options.findIndex(Re=>Pn(G.value(Re),fe))}te(de)}Ke(de)}function Dh(k,de){l.value===!0&&A.innerLoading.value===!1&&(te(-1,!0),ze(()=>{l.value===!0&&A.innerLoading.value===!1&&(k>de?te():lo(!0))}))}function ma(){o.value===!1&&W.value!==null&&W.value.updatePosition()}function pa(k){k!==void 0&&sn(k),n("popupShow",k),A.hasPopupOpen=!0,A.onControlFocusin(k)}function va(k){k!==void 0&&sn(k),n("popupHide",k),A.hasPopupOpen=!1,A.onControlFocusout(k)}function ba(){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 $l(ba),$s(ma),ba(),tt(()=>{d!==null&&clearTimeout(d),f!==null&&clearTimeout(f)}),Object.assign(r,{showPopup:fr,hidePopup:In,removeAtIndex:Oe,add:at,toggleOption:Ie,getOptionIndex:()=>s.value,setOptionIndex:Ke,moveOptionSelection:Xe,filter:we,updateMenuPosition:ma,updateInputValue:be,isOptionSelected:dn,getEmittingOptionValue:qe,isOptionDisabled:(...k)=>se.value.apply(null,k)===!0,getOptionValue:(...k)=>G.value.apply(null,k),getOptionLabel:(...k)=>he.value.apply(null,k)}),Object.assign(A,{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:L,targetRef:I,hasValue:re,showPopup:fr,floatingLabel:y(()=>e.hideSelected!==!0&&re.value===!0||typeof a.value=="number"||a.value.length!==0||Si(e.displayValue)),getControlChild:()=>{if(A.editable.value!==!1&&(o.value===!0||K.value!==!0||t["no-option"]!==void 0))return g===!0?ur():Te();A.hasPopupOpen===!0&&(A.hasPopupOpen=!1)},controlEvents:{onFocusin(k){A.onControlFocusin(k)},onFocusout(k){A.onControlFocusout(k,()=>{hr(),dr()})},onClick(k){if(Qt(k),g!==!0&&l.value===!0){dr(),I.value!==null&&I.value.focus();return}fr(k)}},getControl:k=>{const de=no(),fe=k===!0||o.value!==!0||g!==!0;if(e.useInput===!0)de.push(ro(k,fe));else if(A.editable.value===!0){const je=fe===!0?R.value:void 0;de.push(b("input",{ref:fe===!0?I:void 0,key:"d_t",class:"q-select__focus-target",id:fe===!0?A.targetUid.value:void 0,value:Y.value,readonly:!0,"data-autofocus":k===!0||e.autofocus===!0||void 0,...je,onKeydown:Vn,onKeyup:St,onKeypress:Ir})),fe===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&de.push(b("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:fn}))}if(M.value!==void 0&&e.disable!==!0&&me.value.length!==0){const je=me.value.map(Ne=>b("option",{value:Ne,selected:!0}));de.push(b("select",{class:"hidden",name:M.value,multiple:e.multiple},je))}const Re=e.useInput===!0||fe!==!0?void 0:A.splitAttrs.attributes.value;return b("div",{class:"q-field__native row items-center",...Re,...A.splitAttrs.listeners.value},de)},getInnerAppend:()=>e.loading!==!0&&u.value!==!0&&e.hideDropdownIcon!==!0?[b(Be,{class:"q-select__dropdown-icon"+(l.value===!0?" rotate-180":""),name:X.value})]:null}),ia(A)}}),Gw={xs:2,sm:4,md:6,lg:10,xl:14};function vc(e,t,n){return{transform:t===!0?`translateX(${n.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const Jw=Ae({name:"QLinearProgress",props:{...Et,...sr,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}=Pe(),r=qt(e,n.$q),i=ar(e,Gw),l=y(()=>e.indeterminate===!0||e.query===!0),o=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(()=>vc(e.buffer!==void 0?e.buffer:1,o.value,n.$q)),u=y(()=>`with${e.instantFeedback===!0?"out":""}-transition`),d=y(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${u.value} q-linear-progress__track--${r.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),f=y(()=>vc(l.value===!0?1:e.value,o.value,n.$q)),h=y(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${u.value} q-linear-progress__model--${l.value===!0?"in":""}determinate`),g=y(()=>({width:`${e.value*100}%`})),v=y(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${u.value}`);return()=>{const p=[b("div",{class:d.value,style:c.value}),b("div",{class:h.value,style:f.value})];return e.stripe===!0&&l.value===!1&&p.push(b("div",{class:v.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},Gt(t.default,p))}}});function yh(e,t){const n=ue(null),r=y(()=>e.disable===!0?null:b("span",{ref:n,class:"no-outline",tabindex:-1}));function i(l){const o=t.value;l!==void 0&&l.type.indexOf("key")===0?o!==null&&document.activeElement!==o&&o.contains(document.activeElement)===!0&&o.focus():n.value!==null&&(l===void 0||o!==null&&o.contains(l.target)===!0)&&n.value.focus()}return{refocusTargetEl:r,refocusTarget:i}}const wh={xs:30,sm:35,md:40,lg:50,xl:60},_h={...Et,...sr,...eo,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]},Sh=["update:modelValue"];function xh(e,t){const{props:n,slots:r,emit:i,proxy:l}=Pe(),{$q:o}=l,s=qt(n,o),a=ue(null),{refocusTargetEl:c,refocusTarget:u}=yh(n,a),d=ar(n,wh),f=y(()=>n.val!==void 0&&Array.isArray(n.modelValue)),h=y(()=>{const C=Ee(n.val);return f.value===!0?n.modelValue.findIndex(J=>Ee(J)===C):-1}),g=y(()=>f.value===!0?h.value!==-1:Ee(n.modelValue)===Ee(n.trueValue)),v=y(()=>f.value===!0?h.value===-1:Ee(n.modelValue)===Ee(n.falseValue)),p=y(()=>g.value===!1&&v.value===!1),T=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":v.value===!0?"falsy":"indet",J=n.color!==void 0&&(n.keepColor===!0||(e==="toggle"?g.value===!0:v.value!==!0))?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${C}${J}`}),q=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:f.value===!0?n.val:n.trueValue}),C}),L=ph(q),I=y(()=>{const C={tabindex:T.value,role:e==="toggle"?"switch":"checkbox","aria-label":n.label,"aria-checked":p.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(f.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(v.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 P(C){(C.keyCode===13||C.keyCode===32)&&Qe(C)}function M(C){(C.keyCode===13||C.keyCode===32)&&W(C)}const U=t(g,p);return Object.assign(l,{toggle:W}),()=>{const C=U();n.disable!==!0&&L(C,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const J=[b("div",{class:E.value,style:d.value,"aria-hidden":"true"},C)];c.value!==null&&J.push(c.value);const N=n.label!==void 0?Gt(r.default,[n.label]):Je(r.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:P,onKeyup:M},J)}}const Xw=()=>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"})])]),ui=Ae({name:"QCheckbox",props:_h,emits:Sh,setup(e){const t=Xw();function n(r,i){const l=y(()=>(r.value===!0?e.checkedIcon:i.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>l.value!==null?[b("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[b(Be,{class:"q-checkbox__icon",name:l.value})])]:[t]}return xh("checkbox",n)}});let Gr=0;const Yw={fullscreen:Boolean,noRouteFullscreenExit:Boolean},Zw=["update:fullscreen","fullscreen"];function e_(){const e=Pe(),{props:t,emit:n,proxy:r}=e;let i,l,o;const s=ue(!1);Gs(e)===!0&&ye(()=>r.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&u()}),ye(()=>t.fullscreen,d=>{s.value!==d&&a()}),ye(s,d=>{n("update:fullscreen",d),n("fullscreen",d)});function a(){s.value===!0?u():c()}function c(){s.value!==!0&&(s.value=!0,o=r.$el.parentNode,o.replaceChild(l,r.$el),document.body.appendChild(r.$el),Gr++,Gr===1&&document.body.classList.add("q-body--fullscreen-mixin"),i={handler:u},vi.add(i))}function u(){s.value===!0&&(i!==void 0&&(vi.remove(i),i=void 0),o.replaceChild(r.$el,l),s.value=!1,Gr=Math.max(0,Gr-1),Gr===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),r.$el.scrollIntoView!==void 0&&setTimeout(()=>{r.$el.scrollIntoView()})))}return Bl(()=>{l=document.createElement("span")}),Zt(()=>{t.fullscreen===!0&&c()}),tt(u),Object.assign(r,{toggleFullscreen:a,setFullscreen:c,exitFullscreen:u}),{inFullscreen:s,toggleFullscreen:a}}function t_(e,t){return new Date(e)-new Date(t)}const n_={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function r_(e,t,n,r){const i=y(()=>{const{sortBy:s}=t.value;return s&&n.value.find(a=>a.name===s)||null}),l=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 d=c===!0?-1:1,f=typeof u.field=="function"?h=>u.field(h):h=>h[u.field];return s.sort((h,g)=>{let v=f(h),p=f(g);return u.rawSort!==void 0?u.rawSort(v,p,h,g)*d:v==null?-1*d:p==null?1*d:u.sort!==void 0?u.sort(v,p,h,g)*d:is(v)===!0&&is(p)===!0?(v-p)*d:au(v)===!0&&au(p)===!0?t_(v,p)*d:typeof v=="boolean"&&typeof p=="boolean"?(v-p)*d:([v,p]=[v,p].map(T=>(T+"").toLocaleString().toLowerCase()),v<p?-1*d:v===p?0:d)})});function o(s){let a=e.columnSortOrder;if(Ot(s)===!0)s.sortOrder&&(a=s.sortOrder),s=s.name;else{const d=n.value.find(f=>f.name===s);d!==void 0&&d.sortOrder&&(a=d.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,r({sortBy:c,descending:u,page:1})}return{columnToSort:i,computedSortMethod:l,sort:o}}const i_={filter:[String,Object],filterMethod:Function};function l_(e,t){const n=y(()=>e.filterMethod!==void 0?e.filterMethod:(r,i,l,o)=>{const s=i?i.toLowerCase():"";return r.filter(a=>l.some(c=>{const u=o(c,a)+"";return(u==="undefined"||u==="null"?"":u.toLowerCase()).indexOf(s)!==-1}))});return ye(()=>e.filter,()=>{ze(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:n}}function o_(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function bc(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const s_={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function a_(e,t){const{props:n,emit:r}=e,i=ue(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length!==0?n.rowsPerPageOptions[0]:5},n.pagination)),l=y(()=>{const u=n["onUpdate:pagination"]!==void 0?{...i.value,...n.pagination}:i.value;return bc(u)}),o=y(()=>l.value.rowsNumber!==void 0);function s(u){a({pagination:u,filter:n.filter})}function a(u={}){ze(()=>{r("request",{pagination:u.pagination||l.value,filter:u.filter||n.filter,getCellValue:t})})}function c(u,d){const f=bc({...l.value,...u});if(o_(l.value,f)===!0){o.value===!0&&d===!0&&s(f);return}if(o.value===!0){s(f);return}n.pagination!==void 0&&n["onUpdate:pagination"]!==void 0?r("update:pagination",f):i.value=f}return{innerPagination:i,computedPagination:l,isServerSide:o,requestServerInteraction:a,setPagination:c}}function u_(e,t,n,r,i,l){const{props:o,emit:s,proxy:{$q:a}}=e,c=y(()=>r.value===!0?n.value.rowsNumber||0:l.value),u=y(()=>{const{page:q,rowsPerPage:L}=n.value;return(q-1)*L}),d=y(()=>{const{page:q,rowsPerPage:L}=n.value;return q*L}),f=y(()=>n.value.page===1),h=y(()=>n.value.rowsPerPage===0?1:Math.max(1,Math.ceil(c.value/n.value.rowsPerPage))),g=y(()=>d.value===0?!0:n.value.page>=h.value),v=y(()=>(o.rowsPerPageOptions.includes(t.value.rowsPerPage)?o.rowsPerPageOptions:[t.value.rowsPerPage].concat(o.rowsPerPageOptions)).map(L=>({label:L===0?a.lang.table.allRows:""+L,value:L})));ye(h,(q,L)=>{if(q===L)return;const I=n.value.page;q&&!I?i({page:1}):q<I&&i({page:q})});function p(){i({page:1})}function T(){const{page:q}=n.value;q>1&&i({page:q-1})}function S(){const{page:q,rowsPerPage:L}=n.value;d.value>0&&q*L<c.value&&i({page:q+1})}function E(){i({page:h.value})}return o["onUpdate:pagination"]!==void 0&&s("update:pagination",{...n.value}),{firstRowIndex:u,lastRowIndex:d,isFirstPage:f,isLastPage:g,pagesNumber:h,computedRowsPerPageOptions:v,computedRowsNumber:c,firstPage:p,prevPage:T,nextPage:S,lastPage:E}}const c_={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},d_=["update:selected","selection"];function f_(e,t,n,r){const i=y(()=>{const g={};return e.selected.map(r.value).forEach(v=>{g[v]=!0}),g}),l=y(()=>e.selection!=="none"),o=y(()=>e.selection==="single"),s=y(()=>e.selection==="multiple"),a=y(()=>n.value.length!==0&&n.value.every(g=>i.value[r.value(g)]===!0)),c=y(()=>a.value!==!0&&n.value.some(g=>i.value[r.value(g)]===!0)),u=y(()=>e.selected.length);function d(g){return i.value[g]===!0}function f(){t("update:selected",[])}function h(g,v,p,T){t("selection",{rows:v,added:p,keys:g,evt:T});const S=o.value===!0?p===!0?v:[]:p===!0?e.selected.concat(v):e.selected.filter(E=>g.includes(r.value(E))===!1);t("update:selected",S)}return{hasSelectionMode:l,singleSelection:o,multipleSelection:s,allRowsSelected:a,someRowsSelected:c,rowsSelectedNumber:u,isRowSelected:d,clearSelection:f,updateSelection:h}}function yc(e){return Array.isArray(e)?e.slice():[]}const h_={expanded:Array},g_=["update:expanded"];function m_(e,t){const n=ue(yc(e.expanded));ye(()=>e.expanded,o=>{n.value=yc(o)});function r(o){return n.value.includes(o)}function i(o){e.expanded!==void 0?t("update:expanded",o):n.value=o}function l(o,s){const a=n.value.slice(),c=a.indexOf(o);s===!0?c===-1&&(a.push(o),i(a)):c!==-1&&(a.splice(c,1),i(a))}return{isRowExpanded:r,setExpanded:i,updateExpanded:l}}const p_={visibleColumns:Array};function v_(e,t,n){const r=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:is(s[a])?"right":"left",sortable:!0})):[]}),i=y(()=>{const{sortBy:s,descending:a}=t.value;return(e.visibleColumns!==void 0?r.value.filter(u=>u.required===!0||e.visibleColumns.includes(u.name)===!0):r.value).map(u=>{const d=u.align||"right",f=`text-${d}`;return{...u,align:d,__iconClass:`q-table__sort-icon q-table__sort-icon--${d}`,__thClass:f+(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"?()=>f+" "+u.classes:h=>f+" "+u.classes(h):()=>f}})}),l=y(()=>{const s={};return i.value.forEach(a=>{s[a.name]=a}),s}),o=y(()=>e.tableColspan!==void 0?e.tableColspan:i.value.length+(n.value===!0?1:0));return{colList:r,computedCols:i,computedColsMap:l,computedColspan:o}}const Hi="q-table__bottom row items-center",Ch={};nh.forEach(e=>{Ch[e]={}});const kh=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,...Et,...Yw,...p_,...i_,...s_,...h_,...c_,...n_},emits:["request","virtualScroll",...Zw,...g_,...d_],setup(e,{slots:t,emit:n}){const r=Pe(),{proxy:{$q:i}}=r,l=qt(e,i),{inFullscreen:o,toggleFullscreen:s}=e_(),a=y(()=>typeof e.rowKey=="function"?e.rowKey:H=>H[e.rowKey]),c=ue(null),u=ue(null),d=y(()=>e.grid!==!0&&e.virtualScroll===!0),f=y(()=>" q-table__card"+(l.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":f.value)+(l.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(o.value===!0?" fullscreen scroll":"")),g=y(()=>h.value+(e.loading===!0?" q-table--loading":""));ye(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+h.value,()=>{d.value===!0&&u.value!==null&&u.value.reset()});const{innerPagination:v,computedPagination:p,isServerSide:T,requestServerInteraction:S,setPagination:E}=a_(r,Ke),{computedFilterMethod:q}=l_(e,E),{isRowExpanded:L,setExpanded:I,updateExpanded:W}=m_(e,n),Z=y(()=>{let H=e.rows;if(T.value===!0||H.length===0)return H;const{sortBy:ce,descending:be}=p.value;return e.filter&&(H=q.value(H,e.filter,A.value,Ke)),D.value!==null&&(H=re.value(e.rows===H?H.slice():H,ce,be)),H}),P=y(()=>Z.value.length),M=y(()=>{let H=Z.value;if(T.value===!0)return H;const{rowsPerPage:ce}=p.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:le,rowsSelectedNumber:te,isRowSelected:oe,clearSelection:Q,updateSelection:ae}=f_(e,n,M,a),{colList:pe,computedCols:A,computedColsMap:m,computedColspan:$}=v_(e,p,U),{columnToSort:D,computedSortMethod:re,sort:F}=r_(e,p,pe,E),{firstRowIndex:x,lastRowIndex:K,isFirstPage:O,isLastPage:Y,pagesNumber:Se,computedRowsPerPageOptions:w,computedRowsNumber:_,firstPage:R,prevPage:j,nextPage:z,lastPage:B}=u_(r,v,p,T,E,P),X=y(()=>M.value.length===0),ie=y(()=>{const H={};return nh.forEach(ce=>{H[ce]=e[ce]}),H.virtualScrollItemSize===void 0&&(H.virtualScrollItemSize=e.dense===!0?28:48),H});function ne(){d.value===!0&&u.value.reset()}function G(){if(e.grid===!0)return ro();const H=e.hideHeader!==!0?lt:null;if(d.value===!0){const be=t["top-row"],we=t["bottom-row"],Te={default:Ge=>ve(Ge.item,t.body,Ge.index)};if(be!==void 0){const Ge=b("tbody",be({cols:A.value}));Te.before=H===null?()=>Ge:()=>[H()].concat(Ge)}else H!==null&&(Te.before=H);return we!==void 0&&(Te.after=()=>b("tbody",we({cols:A.value}))),b(sw,{ref:u,class:e.tableClass,style:e.tableStyle,...ie.value,scrollTarget:e.virtualScrollTarget,items:M.value,type:"__qtable",tableColspan:$.value,onVirtualScroll:se},Te)}const ce=[qe()];return H!==null&&ce.unshift(H()),Zf({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 be=c.value.querySelector(`tbody tr:nth-of-type(${H+1})`);if(be!==null){const we=c.value.querySelector(".q-table__middle.scroll"),Te=be.offsetTop-e.virtualScrollStickySizeStart,Ge=Te<we.scrollTop?"decrease":"increase";we.scrollTop=Te,n("virtualScroll",{index:H,from:0,to:v.value.rowsPerPage-1,direction:Ge})}}function se(H){n("virtualScroll",H)}function me(){return[b(Jw,{class:"q-table__linear-progress",color:e.color,dark:l.value,indeterminate:!0,trackColor:"transparent"})]}function ve(H,ce,be){const we=a.value(H),Te=oe(we);if(ce!==void 0)return ce(Oe({key:we,row:H,pageIndex:be,__trClass:Te?"selected":""}));const Ge=t["body-cell"],We=A.value.map(pt=>{const ur=t[`body-cell-${pt.name}`],cr=ur!==void 0?ur:Ge;return cr!==void 0?cr(Fe({key:we,row:H,pageIndex:be,col:pt})):b("td",{class:pt.__tdClass(H),style:pt.__tdStyle(H)},Ke(pt,H))});if(U.value===!0){const pt=t["body-selection"],ur=pt!==void 0?pt(at({key:we,row:H,pageIndex:be})):[b(ui,{modelValue:Te,color:e.color,dark:l.value,dense:e.dense,"onUpdate:modelValue":(cr,io)=>{ae([we],[H],cr,io)}})];We.unshift(b("td",{class:"q-table--col-auto-width"},ur))}const Ht={key:we,class:{selected:Te}};return e.onRowClick!==void 0&&(Ht.class["cursor-pointer"]=!0,Ht.onClick=pt=>{n("rowClick",pt,H,be)}),e.onRowDblclick!==void 0&&(Ht.class["cursor-pointer"]=!0,Ht.onDblclick=pt=>{n("rowDblclick",pt,H,be)}),e.onRowContextmenu!==void 0&&(Ht.class["cursor-pointer"]=!0,Ht.onContextmenu=pt=>{n("rowContextmenu",pt,H,be)}),b("tr",Ht,We)}function qe(){const H=t.body,ce=t["top-row"],be=t["bottom-row"];let we=M.value.map((Te,Ge)=>ve(Te,H,Ge));return ce!==void 0&&(we=ce({cols:A.value}).concat(we)),be!==void 0&&(we=we.concat(be({cols:A.value}))),b("tbody",we)}function Oe(H){return Ie(H),H.cols=H.cols.map(ce=>At({...ce},"value",()=>Ke(ce,H.row))),H}function Fe(H){return Ie(H),At(H,"value",()=>Ke(H.col,H.row)),H}function at(H){return Ie(H),H}function Ie(H){Object.assign(H,{cols:A.value,colsMap:m.value,sort:F,rowIndex:x.value+H.pageIndex,color:e.color,dark:l.value,dense:e.dense}),U.value===!0&&At(H,"selected",()=>oe(H.key),(ce,be)=>{ae([H.key],[H.row],ce,be)}),At(H,"expand",()=>L(H.key),ce=>{W(H.key,ce)})}function Ke(H,ce){const be=typeof H.field=="function"?H.field(ce):ce[H.field];return H.format!==void 0?H.format(be,ce):be}const Xe=y(()=>({pagination:p.value,pagesNumber:Se.value,isFirstPage:O.value,isLastPage:Y.value,firstPage:R,prevPage:j,nextPage:z,lastPage:B,inFullscreen:o.value,toggleFullscreen:s}));function cn(){const H=t.top,ce=t["top-left"],be=t["top-right"],we=t["top-selection"],Te=U.value===!0&&we!==void 0&&te.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(Te===!0?We=we(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)]))),be!==void 0&&(We.push(b("div",{class:"q-table__separator col"})),We.push(b("div",{class:"q-table__control"},[be(Xe.value)]))),We.length!==0)return b("div",{class:Ge},We)}const dn=y(()=>le.value===!0?null:N.value);function lt(){const H=St();return e.loading===!0&&t.loading===void 0&&H.push(b("tr",{class:"q-table__progress"},[b("th",{class:"relative-position",colspan:$.value},me())])),b("thead",H)}function St(){const H=t.header,ce=t["header-cell"];if(H!==void 0)return H(fn({header:!0})).slice();const be=A.value.map(we=>{const Te=t[`header-cell-${we.name}`],Ge=Te!==void 0?Te:ce,We=fn({col:we});return Ge!==void 0?Ge(We):b(Qy,{key:we.name,props:We},()=>we.label)});if(C.value===!0&&e.grid!==!0)be.unshift(b("th",{class:"q-table--col-auto-width"}," "));else if(J.value===!0){const we=t["header-selection"],Te=we!==void 0?we(fn({})):[b(ui,{color:e.color,modelValue:dn.value,dark:l.value,dense:e.dense,"onUpdate:modelValue":Ir})];be.unshift(b("th",{class:"q-table--col-auto-width"},Te))}return[b("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},be)]}function fn(H){return Object.assign(H,{cols:A.value,sort:F,colsMap:m.value,color:e.color,dark:l.value,dense:e.dense}),J.value===!0&&At(H,"selected",()=>dn.value,Ir),H}function Ir(H){le.value===!0&&(H=!1),ae(M.value.map(a.value),M.value,H)}const Vn=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 Pi(){if(e.hideBottom===!0)return;if(X.value===!0){if(e.hideNoData===!0)return;const be=e.loading===!0?e.loadingLabel||i.lang.table.loading:e.filter?e.noResultsLabel||i.lang.table.noResults:e.noDataLabel||i.lang.table.noData,we=t["no-data"],Te=we!==void 0?[we({message:be,icon:i.iconSet.table.warning,filter:e.filter})]:[b(Be,{class:"q-table__bottom-nodata-icon",name:i.iconSet.table.warning}),be];return b("div",{class:Hi+" q-table__bottom--nodata"},Te)}const H=t.bottom;if(H!==void 0)return b("div",{class:Hi},[H(Xe.value)]);const ce=e.hideSelectedBanner!==!0&&U.value===!0&&te.value>0?[b("div",{class:"q-table__control"},[b("div",[(e.selectedRowsLabel||i.lang.table.selectedRecords)(te.value)])])]:[];if(e.hidePagination!==!0)return b("div",{class:Hi+" justify-end"},no(ce));if(ce.length!==0)return b("div",{class:Hi},ce)}function to(H){E({page:1,rowsPerPage:H.value})}function no(H){let ce;const{rowsPerPage:be}=p.value,we=e.paginationLabel||i.lang.table.pagination,Te=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(Qw,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:be,options:w.value,displayValue:be===0?i.lang.table.allRows:be,dark:l.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":to})])),Te!==void 0)ce=Te(Xe.value);else if(ce=[b("span",be!==0?{class:"q-table__bottom-item"}:{},[be?we(x.value+1,Math.min(K.value,_.value),_.value):we(1,P.value,_.value)])],be!==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($e,{key:"pgFirst",...We,icon:Vn.value[0],disable:O.value,onClick:R})),ce.push(b($e,{key:"pgPrev",...We,icon:Vn.value[1],disable:O.value,onClick:j}),b($e,{key:"pgNext",...We,icon:Vn.value[2],disable:Y.value,onClick:z})),Se.value>2&&ce.push(b($e,{key:"pgLast",...We,icon:Vn.value[3],disable:Y.value,onClick:B}))}return H.push(b("div",{class:"q-table__control"},ce)),H}function Ai(){const H=e.gridHeader===!0?[b("table",{class:"q-table"},[lt()])]:e.loading===!0&&t.loading===void 0?me():void 0;return b("div",{class:"q-table__middle"},H)}function ro(){const H=t.item!==void 0?t.item:ce=>{const be=ce.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"],Ge=Te!==void 0?Te(ce):[b(ui,{modelValue:ce.selected,color:e.color,dark:l.value,dense:e.dense,"onUpdate:modelValue":(We,Ht)=>{ae([ce.key],[ce.row],We,Ht)}})];be.unshift(b("div",{class:"q-table__grid-item-row"},Ge),b(ps,{dark:l.value}))}const we={class:["q-table__grid-item-card"+f.value,e.cardClass],style:e.cardStyle};return(e.onRowClick!==void 0||e.onRowDblclick!==void 0)&&(we.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(we.onClick=Te=>{n("RowClick",Te,ce.row,ce.pageIndex)}),e.onRowDblclick!==void 0&&(we.onDblclick=Te=>{n("RowDblclick",Te,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",we,be)])};return b("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},M.value.map((ce,be)=>H(Oe({key:a.value(ce),row:ce,pageIndex:be}))))}return Object.assign(r.proxy,{requestServerInteraction:S,setPagination:E,firstPage:R,prevPage:j,nextPage:z,lastPage:B,isRowSelected:oe,clearSelection:Q,isRowExpanded:L,setExpanded:I,sort:F,resetVirtualScroll:ne,scrollTo:he,getCellValue:Ke}),cp(r.proxy,{filteredSortedRows:()=>Z.value,computedRows:()=>M.value,computedRowsNumber:()=>_.value}),()=>{const H=[cn()],ce={ref:c,class:g.value};return e.grid===!0?H.push(Ai()):Object.assign(ce,{class:[ce.class,e.cardClass],style:e.cardStyle}),H.push(G(),Pi()),e.loading===!0&&t.loading!==void 0&&H.push(t.loading()),b("div",ce,H)}}}),b_={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 Ze.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)}}},y_={key:2};function w_(e,t,n,r,i,l){return Le(),rt(zl,null,{default:ge(()=>[ee($e,{onClick:l.compareDatabases,label:"Compare Databases",color:"primary"},null,8,["onClick"]),i.differences.length?(Le(),rt(kh,{key:0,rows:i.differences,columns:i.columns},null,8,["rows","columns"])):ct("",!0),i.loading?(Le(),rt(un,{key:1})):ct("",!0),i.message?(Le(),Kt("div",y_,ht(i.message),1)):ct("",!0)]),_:1})}const __=Ri(b_,[["render",w_]]),S_={data(){return{loading:!1,message:""}},methods:{async applyChanges(){this.loading=!0;try{const e=await Ze.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[]}}},x_={key:1};function C_(e,t,n,r,i,l){return Le(),rt(zl,null,{default:ge(()=>[ee($e,{onClick:l.applyChanges,label:"Apply Changes",color:"primary"},null,8,["onClick"]),i.loading?(Le(),rt(un,{key:0})):ct("",!0),i.message?(Le(),Kt("div",x_,ht(i.message),1)):ct("",!0)]),_:1})}const k_=Ri(S_,[["render",C_]]),ot=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},Je(t.default))}}),pn=Ae({name:"QCard",props:{...Et,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=Pe(),r=qt(e,n),i=y(()=>"q-card"+(r.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))}}),E_=["top","middle","bottom"],wc=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=>E_.includes(e)}},setup(e,{slots:t}){const n=y(()=>e.align!==void 0?{verticalAlign:e.align}:null),r=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:r.value,style:n.value,role:"status","aria-label":e.label},Gt(t.default,e.label!==void 0?[e.label]:[]))}}),zi=Ae({name:"QTooltip",inheritAttrs:!1,props:{...oh,...la,...ai,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...ai.transitionShow,default:"jump-down"},transitionHide:{...ai.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:xl},self:{type:String,default:"top middle",validator:xl},offset:{type:Array,default:()=>[14,14],validator:mh},scrollTarget:ea,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...oa],setup(e,{slots:t,emit:n,attrs:r}){let i,l;const o=Pe(),{proxy:{$q:s}}=o,a=ue(null),c=ue(!1),u=y(()=>Cl(e.anchor,s.lang.rtl)),d=y(()=>Cl(e.self,s.lang.rtl)),f=y(()=>e.persistent!==!0),{registerTick:h,removeTick:g}=da(),{registerTimeout:v}=fa(),{transitionProps:p,transitionStyle:T}=ca(e),{localScrollTarget:S,changeScrollEvent:E,unconfigureScrollTarget:q}=ah(e,pe),{anchorEl:L,canShow:I,anchorEvents:W}=sh({showing:c,configureAnchorEl:ae}),{show:Z,hide:P}=sa({showing:c,canShow:I,handleShow:J,handleHide:N,hideOnRouteChange:f,processOnMount:!0});Object.assign(W,{delayShow:oe,delayHide:Q});const{showPortal:M,hidePortal:U,renderPortal:C}=ua(o,a,m,"tooltip");if(s.platform.is.mobile===!0){const $={anchorEl:L,innerRef:a,onClickOutside(re){return P(re),re.target.classList.contains("q-dialog__backdrop")&&Qe(re),!0}},D=y(()=>e.modelValue===null&&e.persistent!==!0&&c.value===!0);ye(D,re=>{(re===!0?gh:Sl)($)}),tt(()=>{Sl($)})}function J($){M(),h(()=>{l=new MutationObserver(()=>te()),l.observe(a.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),te(),pe()}),i===void 0&&(i=ye(()=>s.screen.width+"|"+s.screen.height+"|"+e.self+"|"+e.anchor+"|"+s.lang.rtl,te)),v(()=>{M(!0),n("show",$)},e.transitionDuration)}function N($){g(),U(),le(),v(()=>{U(!0),n("hide",$)},e.transitionDuration)}function le(){l!==void 0&&(l.disconnect(),l=void 0),i!==void 0&&(i(),i=void 0),q(),hl(W,"tooltipTemp")}function te(){ha({targetEl:a.value,offset:e.offset,anchorEl:L.value,anchorOrigin:u.value,selfOrigin:d.value,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function oe($){if(s.platform.is.mobile===!0){ys(),document.body.classList.add("non-selectable");const D=L.value,re=["touchmove","touchcancel","touchend","click"].map(F=>[D,F,"delayHide","passiveCapture"]);pi(W,"tooltipTemp",re)}v(()=>{Z($)},e.delay)}function Q($){s.platform.is.mobile===!0&&(hl(W,"tooltipTemp"),ys(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),v(()=>{P($)},e.hideDelay)}function ae(){if(e.noParentEvent===!0||L.value===null)return;const $=s.platform.is.mobile===!0?[[L.value,"touchstart","delayShow","passive"]]:[[L.value,"mouseenter","delayShow","passive"],[L.value,"mouseleave","delayHide","passive"]];pi(W,"anchor",$)}function pe(){if(L.value!==null||e.scrollTarget!==void 0){S.value=ta(L.value,e.scrollTarget);const $=e.noParentEvent===!0?te:P;E(S.value,$)}}function A(){return c.value===!0?b("div",{...r,ref:a,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",r.class],style:[r.style,T.value],role:"tooltip"},Je(t.default)):null}function m(){return b(Ln,p.value,A)}return tt(le),Object.assign(o.proxy,{updatePosition:te}),C}}),q_=Ae({name:"QSlideTransition",props:{appear:Boolean,duration:{type:Number,default:300}},emits:["show","hide"],setup(e,{slots:t,emit:n}){let r=!1,i,l,o=null,s=null,a,c;function u(){i&&i(),i=null,r=!1,o!==null&&(clearTimeout(o),o=null),s!==null&&(clearTimeout(s),s=null),l!==void 0&&l.removeEventListener("transitionend",a),a=null}function d(v,p,T){p!==void 0&&(v.style.height=`${p}px`),v.style.transition=`height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`,r=!0,i=T}function f(v,p){v.style.overflowY=null,v.style.height=null,v.style.transition=null,u(),p!==c&&n(p)}function h(v,p){let T=0;l=v,r===!0?(u(),T=v.offsetHeight===v.scrollHeight?0:void 0):(c="hide",v.style.overflowY="hidden"),d(v,T,p),o=setTimeout(()=>{o=null,v.style.height=`${v.scrollHeight}px`,a=S=>{s=null,(Object(S)!==S||S.target===v)&&f(v,"show")},v.addEventListener("transitionend",a),s=setTimeout(a,e.duration*1.1)},100)}function g(v,p){let T;l=v,r===!0?u():(c="show",v.style.overflowY="hidden",T=v.scrollHeight),d(v,T,p),o=setTimeout(()=>{o=null,v.style.height=0,a=S=>{s=null,(Object(S)!==S||S.target===v)&&f(v,"hide")},v.addEventListener("transitionend",a),s=setTimeout(a,e.duration*1.1)},100)}return tt(()=>{r===!0&&u()}),()=>b(Ln,{css:!1,appear:e.appear,onEnter:h,onLeave:g},t.default)}}),T_=["none","strict","leaf","leaf-filtered"],R_=Ae({name:"QTree",props:{...Et,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=>T_.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:r}=Pe(),{$q:i}=r,l=qt(e,i),o=ue({}),s=ue(e.ticked||[]),a=ue(e.expanded||[]);let c={};$l(()=>{c={}});const u=y(()=>`q-tree q-tree--${e.dense===!0?"dense":"standard"}`+(e.noConnectors===!0?" q-tree--no-connectors":"")+(l.value===!0?" q-tree--dark":"")+(e.color!==void 0?` text-${e.color}`:"")),d=y(()=>e.selected!==void 0),f=y(()=>e.icon||i.iconSet.tree.icon),h=y(()=>e.controlColor||e.color),g=y(()=>e.textColor!==void 0?` text-${e.textColor}`:""),v=y(()=>{const m=e.selectedColor||e.color;return m?` text-${m}`:""}),p=y(()=>e.filterMethod!==void 0?e.filterMethod:(m,$)=>{const D=$.toLowerCase();return m[e.labelKey]&&m[e.labelKey].toLowerCase().indexOf(D)!==-1}),T=y(()=>{const m={},$=(D,re)=>{const F=D.tickStrategy||(re?re.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&&d.value===!0&&D.selectable!==!1,Y=D.disabled!==!0&&D.expandable!==!1,Se=F!=="none",w=F==="strict",_=F==="leaf-filtered",R=F==="leaf"||F==="leaf-filtered";let j=D.disabled!==!0&&D.tickable!==!1;R===!0&&j===!0&&re&&re.tickable!==!0&&(j=!1);let z=D.lazy;z===!0&&o.value[x]!==void 0&&Array.isArray(D[e.childrenKey])===!0&&(z=o.value[x]);const B={key:x,parent:re,isParent:K,lazy:z,disabled:D.disabled,link:D.disabled!==!0&&(O===!0||Y===!0&&(K===!0||z===!0)),children:[],matchesFilter:e.filter?p.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:F,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((ie,ne)=>ne.ticked===!0?ie+1:ie,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});ye(()=>e.ticked,m=>{s.value=m}),ye(()=>e.expanded,m=>{a.value=m});function S(m){const $=[].reduce,D=(re,F)=>{if(re||!F)return re;if(Array.isArray(F)===!0)return $.call(Object(F),D,re);if(F[e.nodeKey]===m)return F;if(F[e.childrenKey])return D(null,F[e.childrenKey])};return D(null,e.nodes)}function E(){return s.value.map(m=>S(m))}function q(){return a.value.map(m=>S(m))}function L(m){return m&&T.value[m]?T.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),re=T.value[m]){if(re.lazy&&re.lazy!=="loaded"){if(re.lazy==="loading")return;o.value[m]="loading",Array.isArray(D[e.childrenKey])!==!0&&(D[e.childrenKey]=[]),n("lazyLoad",{node:D,key:m,done:F=>{o.value[m]="loaded",D[e.childrenKey]=Array.isArray(F)===!0?F:[],ze(()=>{const x=T.value[m];x&&x.isParent===!0&&P(m,!0)})},fail:()=>{delete o.value[m],D[e.childrenKey].length===0&&delete D[e.childrenKey]}})}else re.isParent===!0&&re.expandable===!0&&P(m,$)}function P(m,$){let D=a.value;const re=e.expanded!==void 0;if(re===!0&&(D=D.slice()),$){if(e.accordion&&T.value[m]){const F=[];T.value[m].parent?T.value[m].parent.children.forEach(x=>{x.key!==m&&x.expandable===!0&&F.push(x.key)}):e.nodes.forEach(x=>{const K=x[e.nodeKey];K!==m&&F.push(K)}),F.length!==0&&(D=D.filter(x=>F.includes(x)===!1))}D=D.concat([m]).filter((F,x,K)=>K.indexOf(F)===x)}else D=D.filter(F=>F!==m);re===!0?n("update:expanded",D):a.value=D}function M(m){return m&&T.value[m]?T.value[m].ticked:!1}function U(m,$){let D=s.value;const re=e.ticked!==void 0;re===!0&&(D=D.slice()),$?D=D.concat(m).filter((F,x,K)=>K.indexOf(F)===x):D=D.filter(F=>m.includes(F)===!1),re===!0&&n("update:ticked",D)}function C(m,$,D){const re={tree:r,node:m,key:D,color:e.color,dark:l.value};return At(re,"expanded",()=>$.expanded,F=>{F!==$.expanded&&Z(D,F)}),At(re,"ticked",()=>$.ticked,F=>{F!==$.ticked&&U([D],F)}),re}function J(m){return(e.filter?m.filter($=>T.value[$[e.nodeKey]].matchesFilter):m).map($=>oe($))}function N(m){if(m.icon!==void 0)return b(Be,{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 le(){n("afterShow")}function te(){n("afterHide")}function oe(m){const $=m[e.nodeKey],D=T.value[$],re=m.header&&t[`header-${m.header}`]||t["default-header"],F=D.isParent===!0?J(m[e.childrenKey]):[],x=F.length!==0||D.lazy&&D.lazy!=="loaded";let K=m.body&&t[`body-${m.body}`]||t["default-body"];const O=re!==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:F.length>0?D.expanded:null,role:"treeitem",onClick:Y=>{ae(m,D,Y)},onKeypress(Y){jl(Y)!==!0&&(Y.keyCode===13?ae(m,D,Y,!0):Y.keyCode===32&&pe(m,D,Y,!0))}},[b("div",{class:"q-focus-helper",tabindex:-1,ref:Y=>{c[D.key]=Y}}),D.lazy==="loading"?b(un,{class:"q-tree__spinner",color:h.value}):x===!0?b(Be,{class:"q-tree__arrow"+(D.expanded===!0?" q-tree__arrow--rotate":""),name:f.value,onClick(Y){pe(m,D,Y)}}):null,D.hasTicking===!0&&D.noTick!==!0?b(ui,{class:"q-tree__tickbox",modelValue:D.indeterminate===!0?null:D.ticked,color:h.value,dark:l.value,dense:!0,keepColor:!0,disable:D.tickable!==!0,onKeydown:Qe,"onUpdate:modelValue":Y=>{A(D,Y)}}):null,b("div",{class:"q-tree__node-header-content col row no-wrap items-center"+(D.selected===!0?v.value:g.value)},[re?re(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"},F)]):null:b(q_,{duration:e.duration,onShow:le,onHide:te},()=>An(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"},F)]),[[Lm,D.expanded]])):K])}function Q(m){const $=c[m];$&&$.focus()}function ae(m,$,D,re){re!==!0&&$.selectable!==!1&&Q($.key),d.value&&$.selectable?e.noSelectionUnset===!1?n("update:selected",$.key!==e.selected?$.key:null):$.key!==e.selected&&n("update:selected",$.key===void 0?null:$.key):pe(m,$,D,re),typeof m.handler=="function"&&m.handler(m)}function pe(m,$,D,re){D!==void 0&&Qe(D),re!==!0&&$.selectable!==!1&&Q($.key),Z($.key,!$.expanded,m,$)}function A(m,$){if(m.indeterminate===!0&&($=m.indeterminateNextState),m.strictTicking)U([m.key],$);else if(m.leafTicking){const D=[],re=F=>{F.isParent?($!==!0&&F.noTick!==!0&&F.tickable===!0&&D.push(F.key),F.leafTicking===!0&&F.children.forEach(re)):F.noTick!==!0&&F.tickable===!0&&(F.leafFilteredTicking!==!0||F.matchesFilter===!0)&&D.push(F.key)};re(m),U(D,$)}}return e.defaultExpandAll===!0&&W(),Object.assign(r,{getNodeByKey:S,getTickedNodes:E,getExpandedNodes:q,isExpanded:L,collapseAll:I,expandAll:W,setExpanded:Z,isTicked:M,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)}}}),_c={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},kl={"#":{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()}},Eh=Object.keys(kl);Eh.forEach(e=>{kl[e].regex=new RegExp(kl[e].pattern)});const P_=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+Eh.join("")+"])|(.)","g"),Sc=/[.*+?^${}()|[\]\\]/g,nt="",A_={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function O_(e,t,n,r){let i,l,o,s,a,c;const u=ue(null),d=ue(h());function f(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}ye(()=>e.type+e.autogrow,v),ye(()=>e.mask,P=>{if(P!==void 0)p(d.value,!0);else{const M=W(d.value);v(),e.modelValue!==M&&t("update:modelValue",M)}}),ye(()=>e.fillMask+e.reverseFillMask,()=>{u.value===!0&&p(d.value,!0)}),ye(()=>e.unmaskedValue,()=>{u.value===!0&&p(d.value)});function h(){if(v(),u.value===!0){const P=L(W(e.modelValue));return e.fillMask!==!1?Z(P):P}return e.modelValue}function g(P){if(P<i.length)return i.slice(-P);let M="",U=i;const C=U.indexOf(nt);if(C!==-1){for(let J=P-U.length;J>0;J--)M+=nt;U=U.slice(0,C)+M+U.slice(C)}return U}function v(){if(u.value=e.mask!==void 0&&e.mask.length!==0&&f(),u.value===!1){s=void 0,i="",l="";return}const P=_c[e.mask]===void 0?e.mask:_c[e.mask],M=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",U=M.replace(Sc,"\\$&"),C=[],J=[],N=[];let le=e.reverseFillMask===!0,te="",oe="";P.replace(P_,(A,m,$,D,re)=>{if(D!==void 0){const F=kl[D];N.push(F),oe=F.negate,le===!0&&(J.push("(?:"+oe+"+)?("+F.pattern+"+)?(?:"+oe+"+)?("+F.pattern+"+)?"),le=!1),J.push("(?:"+oe+"+)?("+F.pattern+")?")}else if($!==void 0)te="\\"+($==="\\"?"":$),N.push($),C.push("([^"+te+"]+)?"+te+"?");else{const F=m!==void 0?m:re;te=F==="\\"?"\\\\\\\\":F.replace(Sc,"\\\\$&"),N.push(F),C.push("([^"+te+"]+)?"+te+"?")}});const Q=new RegExp("^"+C.join("")+"("+(te===""?".":"[^"+te+"]")+"+)?"+(te===""?"":"["+te+"]*")+"$"),ae=J.length-1,pe=J.map((A,m)=>m===0&&e.reverseFillMask===!0?new RegExp("^"+U+"*"+A):m===ae?new RegExp("^"+A+"("+(oe===""?".":oe)+"+)?"+(e.reverseFillMask===!0?"$":U+"*")):new RegExp("^"+A));o=N,s=A=>{const m=Q.exec(e.reverseFillMask===!0?A:A.slice(0,N.length+1));m!==null&&(A=m.slice(1).join(""));const $=[],D=pe.length;for(let re=0,F=A;re<D;re++){const x=pe[re].exec(F);if(x===null)break;F=F.slice(x.shift().length),$.push(...x)}return $.length!==0?$.join(""):A},i=N.map(A=>typeof A=="string"?A:nt).join(""),l=i.split(nt).join(M)}function p(P,M,U){const C=r.value,J=C.selectionEnd,N=C.value.length-J,le=W(P);M===!0&&v();const te=L(le),oe=e.fillMask!==!1?Z(te):te,Q=d.value!==oe;C.value!==oe&&(C.value=oe),Q===!0&&(d.value=oe),document.activeElement===C&&ze(()=>{if(oe===l){const pe=e.reverseFillMask===!0?l.length:0;C.setSelectionRange(pe,pe,"forward");return}if(U==="insertFromPaste"&&e.reverseFillMask!==!0){const pe=C.selectionEnd;let A=J-1;for(let m=a;m<=A&&m<pe;m++)i[m]!==nt&&A++;S.right(C,A);return}if(["deleteContentBackward","deleteContentForward"].indexOf(U)!==-1){const pe=e.reverseFillMask===!0?J===0?oe.length>te.length?1:0:Math.max(0,oe.length-(oe===l?0:Math.min(te.length,N)+1))+1:J;C.setSelectionRange(pe,pe,"forward");return}if(e.reverseFillMask===!0)if(Q===!0){const pe=Math.max(0,oe.length-(oe===l?0:Math.min(te.length,N+1)));pe===1&&J===1?C.setSelectionRange(pe,pe,"forward"):S.rightReverse(C,pe)}else{const pe=oe.length-N;C.setSelectionRange(pe,pe,"backward")}else if(Q===!0){const pe=Math.max(0,i.indexOf(nt),Math.min(te.length,J)-1);S.right(C,pe)}else{const pe=J-1;S.right(C,pe)}});const ae=e.unmaskedValue===!0?W(oe):oe;String(e.modelValue)!==ae&&(e.modelValue!==null||ae!=="")&&n(ae,!0)}function T(P,M,U){const C=L(W(P.value));M=Math.max(0,i.indexOf(nt),Math.min(C.length,M)),a=M,P.setSelectionRange(M,U,"forward")}const S={left(P,M){const U=i.slice(M-1).indexOf(nt)===-1;let C=Math.max(0,M-1);for(;C>=0;C--)if(i[C]===nt){M=C,U===!0&&M++;break}if(C<0&&i[M]!==void 0&&i[M]!==nt)return S.right(P,0);M>=0&&P.setSelectionRange(M,M,"backward")},right(P,M){const U=P.value.length;let C=Math.min(U,M+1);for(;C<=U;C++)if(i[C]===nt){M=C;break}else i[C-1]===nt&&(M=C);if(C>U&&i[M-1]!==void 0&&i[M-1]!==nt)return S.left(P,U);P.setSelectionRange(M,M,"forward")},leftReverse(P,M){const U=g(P.value.length);let C=Math.max(0,M-1);for(;C>=0;C--)if(U[C-1]===nt){M=C;break}else if(U[C]===nt&&(M=C,C===0))break;if(C<0&&U[M]!==void 0&&U[M]!==nt)return S.rightReverse(P,0);M>=0&&P.setSelectionRange(M,M,"backward")},rightReverse(P,M){const U=P.value.length,C=g(U),J=C.slice(0,M+1).indexOf(nt)===-1;let N=Math.min(U,M+1);for(;N<=U;N++)if(C[N-1]===nt){M=N,M>0&&J===!0&&M--;break}if(N>U&&C[M-1]!==void 0&&C[M-1]!==nt)return S.leftReverse(P,U);P.setSelectionRange(M,M,"forward")}};function E(P){t("click",P),c=void 0}function q(P){if(t("keydown",P),jl(P)===!0||P.altKey===!0)return;const M=r.value,U=M.selectionStart,C=M.selectionEnd;if(P.shiftKey||(c=void 0),P.keyCode===37||P.keyCode===39){P.shiftKey&&c===void 0&&(c=M.selectionDirection==="forward"?U:C);const J=S[(P.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(P.preventDefault(),J(M,c===U?C:U),P.shiftKey){const N=M.selectionStart;M.setSelectionRange(Math.min(c,N),Math.max(c,N),"forward")}}else P.keyCode===8&&e.reverseFillMask!==!0&&U===C?(S.left(M,U),M.setSelectionRange(M.selectionStart,C,"backward")):P.keyCode===46&&e.reverseFillMask===!0&&U===C&&(S.rightReverse(M,C),M.setSelectionRange(U,M.selectionEnd,"forward"))}function L(P){if(P==null||P==="")return"";if(e.reverseFillMask===!0)return I(P);const M=o;let U=0,C="";for(let J=0;J<M.length;J++){const N=P[U],le=M[J];if(typeof le=="string")C+=le,N===le&&U++;else if(N!==void 0&&le.regex.test(N))C+=le.transform!==void 0?le.transform(N):N,U++;else return C}return C}function I(P){const M=o,U=i.indexOf(nt);let C=P.length-1,J="";for(let N=M.length-1;N>=0&&C!==-1;N--){const le=M[N];let te=P[C];if(typeof le=="string")J=le+J,te===le&&C--;else if(te!==void 0&&le.regex.test(te))do J=(le.transform!==void 0?le.transform(te):te)+J,C--,te=P[C];while(U===N&&te!==void 0&&le.regex.test(te));else return J}return J}function W(P){return typeof P!="string"||s===void 0?typeof P=="number"?s(""+P):P:s(P)}function Z(P){return l.length-P.length<=0?P:e.reverseFillMask===!0&&P.length!==0?l.slice(0,-P.length)+P:P+l.slice(P.length)}return{innerValue:d,hasMask:u,moveCursorForPaste:T,updateMaskValue:p,onMaskedKeydown:q,onMaskedClick:E}}function F_(e,t){function n(){const r=e.modelValue;try{const i="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(r)===r&&("length"in r?Array.from(r):[r]).forEach(l=>{i.items.add(l)}),{files:i.files}}catch{return{files:void 0}}}return y(()=>{if(e.type==="file")return n()})}const vn=Ae({name:"QInput",inheritAttrs:!1,props:{...Yl,...A_,...eo,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:[...na,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:r}=Pe(),{$q:i}=r,l={};let o=NaN,s,a,c=null,u;const d=ue(null),f=vh(e),{innerValue:h,hasMask:g,moveCursorForPaste:v,updateMaskValue:p,onMaskedKeydown:T,onMaskedClick:S}=O_(e,t,te,d),E=F_(e),q=y(()=>Si(h.value)),L=bh(N),I=ra({changeEvent:!0}),W=y(()=>e.type==="textarea"||e.autogrow===!0),Z=y(()=>W.value===!0||["text","search","url","tel","password"].includes(e.type)),P=y(()=>{const m={...I.splitAttrs.listeners.value,onInput:N,onPaste:J,onChange:Q,onBlur:ae,onFocus:sn};return m.onCompositionstart=m.onCompositionupdate=m.onCompositionend=L,g.value===!0&&(m.onKeydown=T,m.onClick=S),e.autogrow===!0&&(m.onAnimationend=le),m}),M=y(()=>{const m={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:f.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});ye(()=>e.type,()=>{d.value&&(d.value.value=e.modelValue)}),ye(()=>e.modelValue,m=>{if(g.value===!0){if(a===!0&&(a=!1,String(m)===o))return;p(m)}else h.value!==m&&(h.value=m,e.type==="number"&&l.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete l.value));e.autogrow===!0&&ze(oe)}),ye(()=>e.autogrow,m=>{m===!0?ze(oe):d.value!==null&&n.rows>0&&(d.value.style.height="auto")}),ye(()=>e.dense,()=>{e.autogrow===!0&&ze(oe)});function U(){Xl(()=>{const m=document.activeElement;d.value!==null&&d.value!==m&&(m===null||m.id!==I.targetUid.value)&&d.value.focus({preventScroll:!0})})}function C(){d.value!==null&&d.value.select()}function J(m){if(g.value===!0&&e.reverseFillMask!==!0){const $=m.target;v($,$.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){l.value=$;return}if(g.value===!0)p($,!1,m.inputType);else if(te($),Z.value===!0&&m.target===document.activeElement){const{selectionStart:D,selectionEnd:re}=m.target;D!==void 0&&re!==void 0&&ze(()=>{m.target===document.activeElement&&$.indexOf(m.target.value)===0&&m.target.setSelectionRange(D,re)})}e.autogrow===!0&&oe()}function le(m){t("animationend",m),oe()}function te(m,$){u=()=>{c=null,e.type!=="number"&&l.hasOwnProperty("value")===!0&&delete l.value,e.modelValue!==m&&o!==m&&(o=m,$===!0&&(a=!0),t("update:modelValue",m),ze(()=>{o===m&&(o=NaN)})),u=void 0},e.type==="number"&&(s=!0,l.value=m),e.debounce!==void 0?(c!==null&&clearTimeout(c),l.value=m,c=setTimeout(u,e.debounce)):u()}function oe(){requestAnimationFrame(()=>{const m=d.value;if(m!==null){const $=m.parentNode.style,{scrollTop:D}=m,{overflowY:re,maxHeight:F}=i.platform.is.firefox===!0?{}:window.getComputedStyle(m),x=re!==void 0&&re!=="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(F,10)<m.scrollHeight?"auto":"hidden"),$.marginBottom="",m.scrollTop=D}})}function Q(m){L(m),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),t("change",m.target.value)}function ae(m){m!==void 0&&sn(m),c!==null&&(clearTimeout(c),c=null),u!==void 0&&u(),s=!1,a=!1,delete l.value,e.type!=="file"&&setTimeout(()=>{d.value!==null&&(d.value.value=h.value!==void 0?h.value:"")})}function pe(){return l.hasOwnProperty("value")===!0?l.value:h.value!==void 0?h.value:""}tt(()=>{ae()}),Zt(()=>{e.autogrow===!0&&oe()}),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:d,emitValue:te,hasValue:q,floatingLabel:y(()=>q.value===!0&&(e.type!=="number"||isNaN(h.value)===!1)||Si(e.displayValue)),getControl:()=>b(W.value===!0?"textarea":"input",{ref:d,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...M.value,...P.value,...e.type!=="file"?{value:pe()}: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"},pe()),b("span",e.shadowText)])});const A=ia(I);return Object.assign(r,{focus:U,select:C,getNativeElement:()=>d.value}),At(r,"nativeEl",()=>d.value),A}}),xi=Ae({name:"QCardActions",props:{...Sf,vertical:Boolean},setup(e,{slots:t}){const n=xf(e),r=y(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>b("div",{class:r.value},Je(t.default))}}),Vo=Ae({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=Pe(),r=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:r.value},Je(t.default));const i=n.vnode.key,l=(e.props.colsMap!==void 0?e.props.colsMap[i]:null)||e.props.col;if(l===void 0)return;const{row:o}=e.props;return b("td",{class:r.value+l.__tdClass(o),style:l.__tdStyle(o)},Je(t.default))}}}),L_=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},Je(t.default))}});function xc(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 el=Gd({name:"close-popup",beforeMount(e,{value:t}){const n={depth:xc(t),handler(r){n.depth!==0&&setTimeout(()=>{const i=Ew(e);i!==void 0&&qw(i,r,n.depth)})},handlerKey(r){wn(r,13)===!0&&n.handler(r)}};e.__qclosepopup=n,e.addEventListener("click",n.handler),e.addEventListener("keyup",n.handlerKey)},updated(e,{value:t,oldValue:n}){t!==n&&(e.__qclosepopup.depth=xc(t))},beforeUnmount(e){const t=e.__qclosepopup;e.removeEventListener("click",t.handler),e.removeEventListener("keyup",t.handlerKey),delete e.__qclosepopup}}),D_={name:"FolderBrowser",props:{modelValue:{type:Boolean,required:!0},initialPath:{type:String,default:""}},data(){return{currentPath:"",items:[],newFolderDialog:!1,newFolderName:""}},computed:{isOpen:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},sortedItems(){return this.items}},methods:{async navigateToFolder(e){await this.loadFolderContents(e)},async loadFolderContents(e){try{const t=await this.$api.post("/api/browse-folders",{currentPath:e});t.data&&(this.currentPath=t.data.currentPath,this.items=t.data.items||[])}catch(t){console.error("Error loading folder contents:",t),this.$q.notify({type:"negative",message:"Error loading folder contents"})}},selectCurrentFolder(){this.$emit("folder-selected",this.currentPath),this.isOpen=!1},getItemIcon(e){return e.isParent?"reply":e.isDirectory?"folder":"insert_drive_file"},getItemColor(e){return e.isParent?"grey-7":e.isDirectory?"primary":"grey-6"},promptNewFolder(){this.newFolderName="",this.newFolderDialog=!0},async createNewFolder(){if(this.newFolderName.trim()){const e=`${this.currentPath}/${this.newFolderName}`;try{await this.$api.post("/api/create-folder",{folderPath:e}),await this.loadFolderContents(this.currentPath),this.newFolderDialog=!1,this.$q.notify({type:"positive",message:"Folder created successfully"})}catch(t){console.error("Error creating folder:",t),this.$q.notify({type:"negative",message:"Error creating folder"})}}}},async mounted(){await this.loadFolderContents(this.initialPath||"./")}},M_={class:"path-section"};function B_(e,t,n,r,i,l){return Le(),Kt(Rt,null,[ee(Dr,{modelValue:l.isOpen,"onUpdate:modelValue":t[1]||(t[1]=o=>l.isOpen=o),persistent:""},{default:ge(()=>[ee(pn,{class:"folder-browser-card"},{default:ge(()=>[ee(ot,{class:"header-section row items-center justify-between"},{default:ge(()=>[t[4]||(t[4]=xe("div",{class:"text-h6 text-white"},"Select Folder",-1)),An(ee($e,{icon:"close",flat:"",round:"",dense:"",class:"text-white"},null,512),[[el]])]),_:1}),ee(ot,null,{default:ge(()=>[xe("div",M_,[t[5]||(t[5]=xe("div",{class:"text-subtitle2 q-mb-sm"},"Current Path:",-1)),ee(vn,{modelValue:i.currentPath,"onUpdate:modelValue":t[0]||(t[0]=o=>i.currentPath=o),dense:"",readonly:"",filled:"",class:"current-path-input","bg-color":"grey-2"},{prepend:ge(()=>[ee(Be,{name:"folder",color:"primary"})]),_:1},8,["modelValue"]),ee($e,{flat:"",color:"primary",icon:"create_new_folder",label:"New Folder",class:"q-mt-sm",onClick:l.promptNewFolder},null,8,["onClick"])]),ee(Xf,{bordered:"",separator:"",class:"directory-list"},{default:ge(()=>[(Le(!0),Kt(Rt,null,vd(l.sortedItems,o=>An((Le(),rt(lh,{key:o.path,clickable:"",onClick:s=>o.isDirectory?l.navigateToFolder(o.path):null,class:"directory-item"},{default:ge(()=>[ee(Zi,{avatar:""},{default:ge(()=>[ee(Be,{name:l.getItemIcon(o),color:l.getItemColor(o),size:"sm"},null,8,["name","color"])]),_:2},1024),ee(Zi,null,{default:ge(()=>[Tt(ht(o.name),1)]),_:2},1024),o.isDirectory?(Le(),rt(Zi,{key:0,side:""},{default:ge(()=>[ee(Be,{name:"chevron_right",color:"grey-6",size:"xs"})]),_:1})):ct("",!0)]),_:2},1032,["onClick"])),[[Qs]])),128))]),_:1})]),_:1}),ee(xi,{align:"right",class:"action-buttons"},{default:ge(()=>[An(ee($e,{flat:"",label:"Cancel",color:"grey-7",class:"q-px-md"},null,512),[[el]]),ee($e,{unelevated:"",label:"Select",color:"primary",onClick:l.selectCurrentFolder,class:"q-px-md q-ml-sm"},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),ee(Dr,{modelValue:i.newFolderDialog,"onUpdate:modelValue":t[3]||(t[3]=o=>i.newFolderDialog=o),persistent:""},{default:ge(()=>[ee(pn,{style:{"min-width":"300px"}},{default:ge(()=>[ee(ot,{class:"row items-center"},{default:ge(()=>t[6]||(t[6]=[xe("div",{class:"text-h6"},"Create New Folder",-1)])),_:1}),ee(ot,null,{default:ge(()=>[ee(vn,{modelValue:i.newFolderName,"onUpdate:modelValue":t[2]||(t[2]=o=>i.newFolderName=o),label:"Folder Name",dense:"",autofocus:"",onKeyup:lp(l.createNewFolder,["enter"])},null,8,["modelValue","onKeyup"])]),_:1}),ee(xi,{align:"right"},{default:ge(()=>[An(ee($e,{flat:"",label:"Cancel",color:"grey-7"},null,512),[[el]]),ee($e,{flat:"",label:"Create",color:"primary",onClick:l.createNewFolder},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const $_=Ri(D_,[["render",B_],["__scopeId","data-v-a0df885b"]]),N_={components:{FolderBrowser:$_},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:"",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:{},showFolderBrowser:!1}},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.getDatabasesFromExistingDumps(),this.fetchAllDifferences()},async refreshDifferences(){if(this.isDbSetup)try{const e=await this.$api.post("/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 this.$api.post("/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]||[],r=n.length;return console.log(`Database ${e} differences ${r}:`,n),{id:`db-${e}`,label:e,type:"database",lazy:!0,icon:r>0?"warning":"check_circle",iconColor:r>0?"negative":"positive",diffCount:r||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 r=e.dbData,i=this.differences[e.dbName]||[],l=i.filter(c=>c.type.includes("table")||c.type.includes("field")||c.type.includes("index")||c.type.includes("trigger"));console.log("Table issues:",l);const o=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:l.length>0?"warning":"check_circle",iconColor:l.length>0?"negative":"positive",diffCount:l.length||null},r.procedures&&{id:`${e.dbName}-procedures`,label:"Procedures",type:"category",lazy:!0,icon:o.length>0?"warning":"check_circle",iconColor:o.length>0?"negative":"positive",diffCount:o.length||null},r.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 r=e.id.split("-")[0],i=this.differences[r]||[];if(e.id.includes("-tables")){const l=i.filter(a=>a.type.includes("table")||a.type.includes("field")||a.type.includes("index")||a.type.includes("trigger"));console.log("Table category issues:",l);const o=[],s=this.existingDatabases[r].tables;console.log("Tables:",s),o.push(...Object.entries(s).map(([a,c])=>{const u=l.filter(f=>f.tableName===a);console.log(`Issues for table ${a}:`,u);const d=u.length>0;return{id:`${r}-table-${a}`,label:a,type:"table",lazy:!0,icon:d?"warning":"check_circle",iconColor:d?"negative":"positive",diffCount:d?u.length:null,tableData:c,issueData:u}})),console.log("Category children:",o),t(o)}else if(e.id.includes("-procedures")){const l=[],o=this.existingDatabases[r].procedures;l.push(...Object.entries(o).map(([s,a])=>{const c=a.Name,u=i.filter(f=>f.type.includes("procedure")&&f.Name===c);console.log(`Issues for procedure ${c}:`,u);const d=u.length>0;return{id:`${r}-procedure-${c}`,label:c,index:s,type:"procedure",lazy:!1,icon:d?"warning":"check_circle",iconColor:d?"negative":"positive",diffCount:d?u.length:null,procedureData:a,issueData:u}})),t(l)}else if(e.id.includes("-views")){const l=[],o=this.existingDatabases[r].views;console.log("Views:",o),l.push(...Object.entries(o).map(([s,a])=>({id:`${r}-view-${s}`,label:s,type:"view",lazy:!1,view:a}))),t(l)}}else if(e.type==="table"){console.log("Loading table children for:",e.id);const r=e.tableData;if(console.log("Table data:",r),!r){console.error("No table data found for node:",e),t([]);return}const i=[];r.columns?.length>0&&i.push({id:`${e.id}-columns`,label:`Columns (${r.columns.length})`,type:"subcategory",lazy:!1,children:r.columns.map(l=>{let o=[];return l.AutoIncrement&&o.push("AUTO_INCREMENT"),l.NotNull&&o.push("NOT NULL"),l.Default!==void 0&&o.push(`DEFAULT ${l.Default}`),{id:`${e.id}-column-${l.Field}`,label:`${l.Field} (${l.Type})${o.length?" "+o.join(", "):""}`,type:"column",expandable:!1,columnData:l}})}),r.indexes?.length>0&&i.push({id:`${e.id}-indexes`,label:`Indexes (${r.indexes.length})`,type:"subcategory",lazy:!1,children:r.indexes.map(l=>({id:`${e.id}-index-${l.Name}`,label:`${l.Name}${l.Primary?" (PRIMARY)":""} [${l.ColumnName.join(", ")}]`,type:"index",expandable:!1,indexData:l}))}),console.log("Table children:",i),t(i)}}catch(r){console.error("Error in lazy loading:",r),n()}},createTableIssueGroups(e,t){const n=t.reduce((r,i)=>{const l=i.type;return r[l]=r[l]||{count:0,items:[]},r[l].count++,r[l].items.push(i),r},{});return Object.entries(n).map(([r,i])=>({id:`${e}-tables-${r}`,label:r.split("_").map(l=>l.charAt(0).toUpperCase()+l.slice(1)).join(" "),type:"issue-group",icon:"warning",iconColor:"negative",diffCount:i.count,children:i.items.map(l=>({id:`${e}-tables-${r}-${l.tableName||l.Name}`,label:l.tableName||l.Name,type:"issue",icon:"warning",iconColor:"negative",expandable:!1,issueData:l}))}))},async fetchAllDifferences(){try{const e=await this.$api.post("/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)}catch(e){throw console.error("Error fetching all differences:",e),this.$q.notify({type:"negative",message:e.response?.data?.message||"Error fetching all differences",position:"top"}),e}},async fetchDifferencesForSelectedDb(){if(Object.keys(this.existingDatabases).length>0){const e=Object.keys(this.existingDatabases)[0];try{const t=await this.$api.post("/api/compare",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder,database:e}});this.differences=t.data}catch(t){console.error("Error fetching differences for selected db:",t)}}},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),await this.getDatabasesFromExistingDumps(),await this.fetchAllDifferences()});return}this.$q.loading.show({message:"Creating new dump...",spinnerColor:"primary",backgroundColor:"grey-1",spinnerSize:80,messageColor:"primary",customClass:"custom-loading"});try{let t=await this.$api.post("/api/dump",{config:{host:this.host,port:this.port,user:this.user,password:this.password,output:this.dbFolder}});t.data.message&&this.$q.notify({type:"positive",message:t.data.message,position:"top"}),this.$q.loading.show({message:"Loading databases...",spinnerColor:"primary",backgroundColor:"grey-1",spinnerSize:80,messageColor:"primary",customClass:"custom-loading"}),await this.getDatabasesFromExistingDumps(),this.$q.loading.show({message:"Fetching differences...",spinnerColor:"primary",backgroundColor:"grey-1",spinnerSize:80,messageColor:"primary",customClass:"custom-loading"}),await this.fetchAllDifferences()}catch(t){this.$q.loading.hide(),this.$q.notify({type:"negative",message:t.response?.data?.message||"Error creating dump",position:"top"}),console.error("Error creating new dump:",t)}finally{this.$q.loading.hide()}},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 this.$api.post("/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||!e.id)&&(e=this.selectedNode),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(r=>r.type==="issue").map(r=>r.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 r=e.id.split("-")[1];const i=this.differences[n];console.log("DB Differences:",i),r==="tables"?(console.log("Collecting table issues"),console.log("DB Differences:",i),t.push(...i.filter(l=>l.type.includes("table")||l.tableName))):r==="views"?(console.log("Collecting view issues"),t.push(...i.filter(l=>l.type.includes("view")))):r==="procedures"?(console.log("Collecting procedure issues"),t.push(...i.filter(l=>l.type.includes("procedure")))):console.error("Unknown type:",r)}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}},onFolderSelected(e){this.dbFolder=e;const t={host:this.host,port:this.port,user:this.user,password:this.password,database:this.database,output:this.dbFolder};localStorage.setItem("dbConfig",JSON.stringify(t))}},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()}}},V_={class:"row q-col-gutter-md q-mb-lg"},I_={class:"col-auto"},j_={class:"col-auto"},H_={class:"text-h6"},z_={class:"text-h6"},U_={class:"row items-center full-width"},K_=["onClick"],W_={class:"text-weight-medium"},Q_={class:"row q-col-gutter-lg justify-center"},G_={class:"col-12 col-sm-10"},J_={class:"row q-col-gutter-md"},X_={class:"col-12 col-sm-6"},Y_={class:"col-12 col-sm-6"},Z_={class:"col-12 col-sm-6"},eS={class:"col-12 col-sm-6"},tS={class:"col-12 col-sm-6"},nS={class:"col-12 col-sm-6"},rS={class:"text-subtitle2 q-mb-sm"},iS={class:"text-subtitle2 q-mb-sm"},lS={key:0,class:"q-mb-sm"},oS={key:1,class:"q-mt-md"},sS={class:"sql-code"},aS={key:2,class:"q-mt-md"},uS={class:"sql-code"},cS={key:3,class:"q-mt-md"};function dS(e,t,n,r,i,l){const o=pd("FolderBrowser");return Le(),rt(zl,{class:"q-pa-md"},{default:ge(()=>[xe("div",V_,[xe("div",I_,[ee($e,{onClick:l.openSettings,icon:"settings",label:"Settings",color:"primary"},null,8,["onClick"])]),xe("div",j_,[ee($e,{onClick:t[0]||(t[0]=s=>Object.keys(i.existingDatabases).length===0?l.createNewDump():l.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?ct("",!0):(Le(),rt(pn,{key:0,class:"q-mb-lg bg-warning text-white"},{default:ge(()=>[ee(ot,null,{default:ge(()=>[xe("div",H_,[ee(Be,{name:"warning",class:"q-mr-sm"}),t[14]||(t[14]=Tt(" Database Not Set Up "))]),t[15]||(t[15]=xe("div",{class:"q-mt-sm"},"Please configure your database settings to get started.",-1)),ee($e,{onClick:l.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?(Le(),rt(pn,{key:1,class:"q-mb-lg"},{default:ge(()=>[ee(ot,{class:"bg-primary text-white"},{default:ge(()=>[xe("div",z_,[ee(Be,{name:"account_tree",class:"q-mr-sm"}),t[16]||(t[16]=Tt(" Database Structure "))])]),_:1}),ee(ot,null,{default:ge(()=>[ee(R_,{nodes:i.databaseTree,"node-key":"id",expanded:i.expandedNodes,"onUpdate:expanded":t[1]||(t[1]=s=>i.expandedNodes=s),onLazyLoad:l.onLazyLoad,class:"database-tree"},{"default-header":ge(s=>[xe("div",U_,[xe("div",{class:"row items-center flex-grow-1 cursor-pointer",onClick:nu(a=>!["category","database","subcategory"].includes(s.node.type)&&s.node.diffCount&&l.showIssueDetails(s.node.issueData,s.node),["stop"])},[s.node.icon?(Le(),rt(Be,{key:0,name:s.node.icon,color:s.node.iconColor,size:"sm",class:"q-mr-sm"},null,8,["name","color"])):ct("",!0),xe("div",W_,ht(s.node.label),1),s.node.diffCount?(Le(),rt(wc,{key:1,color:"negative",class:"q-ml-sm"},{default:ge(()=>[Tt(ht(s.node.diffCount),1)]),_:2},1024)):ct("",!0)],8,K_),["issue-group","issues","category","database"].includes(s.node.type)&&s.node.diffCount?(Le(),rt($e,{key:0,flat:"",dense:"",color:"primary",loading:i.isNodeFixing[s.node.id],onClick:nu(a=>l.fixNodeIssues(s.node),["stop"]),icon:"build",size:"sm",class:"q-ml-md"},{default:ge(()=>[ee(zi,null,{default:ge(()=>t[17]||(t[17]=[Tt("Fix All Issues")])),_:1})]),_:2},1032,["loading","onClick"])):ct("",!0)])]),_:1},8,["nodes","expanded","onLazyLoad"])]),_:1})]),_:1})):ct("",!0),ee(Dr,{modelValue:i.settingsDialog,"onUpdate:modelValue":t[9]||(t[9]=s=>i.settingsDialog=s),persistent:""},{default:ge(()=>[ee(pn,{style:{width:"90vw","max-width":"1200px"}},{default:ge(()=>[ee(ot,{class:"bg-primary text-white"},{default:ge(()=>t[18]||(t[18]=[xe("div",{class:"text-h5"},"Database Settings",-1),xe("div",{class:"text-subtitle2"},"Configure your database connection parameters",-1)])),_:1}),ee(ot,{class:"q-pa-lg col scroll"},{default:ge(()=>[xe("div",Q_,[xe("div",G_,[xe("div",J_,[xe("div",X_,[ee(vn,{modelValue:i.host,"onUpdate:modelValue":t[2]||(t[2]=s=>i.host=s),label:"Database Host",default:"127.0.0.1",filled:"",class:"q-mb-md",required:""},{prepend:ge(()=>[ee(Be,{name:"dns"})]),_:1},8,["modelValue"])]),xe("div",Y_,[ee(vn,{modelValue:i.port,"onUpdate:modelValue":t[3]||(t[3]=s=>i.port=s),label:"Database Port",default:"3306",type:"number",filled:"",class:"q-mb-md",required:""},{prepend:ge(()=>[ee(Be,{name:"settings_ethernet"})]),_:1},8,["modelValue"])]),xe("div",Z_,[ee(vn,{modelValue:i.user,"onUpdate:modelValue":t[4]||(t[4]=s=>i.user=s),label:"Database User",default:"root",filled:"",class:"q-mb-md",required:""},{prepend:ge(()=>[ee(Be,{name:"person"})]),_:1},8,["modelValue"])]),xe("div",eS,[ee(vn,{modelValue:i.password,"onUpdate:modelValue":t[5]||(t[5]=s=>i.password=s),label:"Database Password",type:"password",filled:"",class:"q-mb-md",required:"",autocomplete:"off"},{prepend:ge(()=>[ee(Be,{name:"lock"})]),_:1},8,["modelValue"])]),xe("div",tS,[ee(vn,{modelValue:i.database,"onUpdate:modelValue":t[6]||(t[6]=s=>i.database=s),label:"Database Name",filled:"",class:"q-mb-md",required:""},{prepend:ge(()=>[ee(Be,{name:"database"})]),_:1},8,["modelValue"])]),xe("div",nS,[ee(vn,{modelValue:i.dbFolder,"onUpdate:modelValue":t[8]||(t[8]=s=>i.dbFolder=s),label:"Database Folder",default:"",filled:"",class:"q-mb-md",required:""},{prepend:ge(()=>[ee(Be,{name:"folder"})]),append:ge(()=>[ee($e,{flat:"",dense:"",icon:"folder_open",onClick:t[7]||(t[7]=s=>i.showFolderBrowser=!0)},{default:ge(()=>[ee(zi,null,{default:ge(()=>t[19]||(t[19]=[Tt("Browse")])),_:1})]),_:1})]),_:1},8,["modelValue"])])])])])]),_:1}),ee(xi,{align:"right",class:"bg-white q-pa-md"},{default:ge(()=>[ee($e,{onClick:l.closeSettings,label:"Cancel",color:"grey-7",flat:"",class:"q-px-md"},null,8,["onClick"]),ee($e,{onClick:l.saveSettings,label:"Save Settings",color:"primary",unelevated:"",class:"q-px-md q-ml-sm"},null,8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),ee(Dr,{modelValue:i.issueDialog,"onUpdate:modelValue":t[12]||(t[12]=s=>i.issueDialog=s)},{default:ge(()=>[ee(pn,{style:{"min-width":"800px",width:"90vw","max-width":"1200px"}},{default:ge(()=>[ee(ot,null,{default:ge(()=>t[20]||(t[20]=[xe("div",{class:"text-h6"},"Issue Details",-1)])),_:1}),i.selectedIssues.length===1?(Le(),rt(ot,{key:0,class:"q-pt-none"},{default:ge(()=>[xe("div",rS,[t[21]||(t[21]=Tt(" Issue Type: ")),ee(wc,{color:"negative"},{default:ge(()=>[Tt(ht(i.selectedIssues[0].type?.replace(/_/g," ")),1)]),_:1})]),xe("div",iS,"Name: "+ht(i.selectedIssues[0].Name),1),i.selectedIssues[0].tableName?(Le(),Kt("div",lS,[t[22]||(t[22]=xe("strong",null,"Table:",-1)),Tt(" "+ht(i.selectedIssues[0].tableName),1)])):ct("",!0),i.selectedIssues[0].createSQL?(Le(),Kt("div",oS,[t[23]||(t[23]=xe("div",{class:"text-subtitle2 q-mb-sm"},"SQL Definition:",-1)),ee(pn,{class:"bg-grey-2"},{default:ge(()=>[ee(ot,{class:"q-pa-md"},{default:ge(()=>[xe("pre",sS,ht(i.selectedIssues[0].createSQL),1)]),_:1})]),_:1})])):ct("",!0),i.selectedIssues[0].Definition?(Le(),Kt("div",aS,[t[24]||(t[24]=xe("div",{class:"text-subtitle2 q-mb-sm"},"Definition:",-1)),ee(pn,{class:"bg-grey-2"},{default:ge(()=>[ee(ot,{class:"q-pa-md"},{default:ge(()=>[xe("pre",uS,ht(i.selectedIssues[0].Definition),1)]),_:1})]),_:1})])):ct("",!0),i.selectedIssues[0].currentField?(Le(),Kt("div",cS,[t[26]||(t[26]=xe("div",{class:"text-subtitle2 q-mb-sm"},"Field Comparison:",-1)),ee(Yf,{flat:"",bordered:""},{default:ge(()=>[t[25]||(t[25]=xe("thead",null,[xe("tr",null,[xe("th",{class:"text-left"},"Property"),xe("th",{class:"text-left"},"Current"),xe("th",{class:"text-left"},"Expected")])],-1)),xe("tbody",null,[(Le(!0),Kt(Rt,null,vd(i.selectedIssues[0].currentField,(s,a)=>(Le(),Kt("tr",{key:a},[xe("td",null,ht(a),1),xe("td",null,ht(s),1),xe("td",{class:Al({"text-negative":s!==i.selectedIssues[0].field?.[a]})},ht(i.selectedIssues[0].field?.[a]),3)]))),128))])]),_:1})])):ct("",!0),ee($e,{onClick:t[10]||(t[10]=s=>l.fixNodeIssues(this.selectedNode)),loading:i.isNodeFixing["single-issue"],color:"primary",class:"q-mt-md",label:"Fix Issue"},null,8,["loading"])]),_:1})):(Le(),rt(ot,{key:1,class:"q-pt-none"},{default:ge(()=>[ee(kh,{rows:i.selectedIssues,columns:[{name:"type",label:"Type",field:s=>s.type?.replace(/_/g," ")},{name:"tableName",label:"Table",field:"tableName"},{name:"actions",label:"Actions",field:"actions"}],"row-key":"id",dense:""},{body:ge(s=>[ee(L_,{props:s},{default:ge(()=>[ee(Vo,{key:"type"},{default:ge(()=>[Tt(ht(s.row.type?.replace(/_/g," ")),1)]),_:2},1024),ee(Vo,{key:"tableName"},{default:ge(()=>[Tt(ht(s.row.tableName),1)]),_:2},1024),ee(Vo,{key:"actions"},{default:ge(()=>[ee($e,{flat:"",dense:"",color:"primary",icon:"visibility",onClick:a=>l.showSingleIssue(s.row)},{default:ge(()=>[ee(zi,null,{default:ge(()=>t[27]||(t[27]=[Tt("View Details")])),_:1})]),_:2},1032,["onClick"]),ee($e,{flat:"",dense:"",color:"positive",icon:"build",loading:i.isNodeFixing[`issue-${s.rowIndex}`],onClick:a=>l.fixNodeIssues({type:"issue",id:this.selectedNode.id,issueData:s.row})},{default:ge(()=>[ee(zi,null,{default:ge(()=>t[28]||(t[28]=[Tt("Fix Issue")])),_:1})]),_:2},1032,["loading","onClick"])]),_:2},1024)]),_:2},1032,["props"])]),_:1},8,["rows","columns"]),ee($e,{onClick:t[11]||(t[11]=s=>l.fixNodeIssues(this.selectedNode)),loading:i.isNodeFixing["all-issues"],color:"primary",class:"q-mt-md",label:"Fix All Issues"},null,8,["loading"])]),_:1})),ee(xi,{align:"right"},{default:ge(()=>[An(ee($e,{flat:"",label:"Close",color:"primary"},null,512),[[el]])]),_:1})]),_:1})]),_:1},8,["modelValue"]),i.showFolderBrowser?(Le(),rt(o,{key:2,modelValue:i.showFolderBrowser,"onUpdate:modelValue":t[13]||(t[13]=s=>i.showFolderBrowser=s),"initial-path":i.dbFolder,onFolderSelected:l.onFolderSelected},null,8,["modelValue","initial-path","onFolderSelected"])):ct("",!0)]),_:1})}const fS=Ri(N_,[["render",dS]]),hS=[{path:"/",component:()=>Ec(()=>import("./MainLayout-Cft1OeWe.js"),[]),children:[{path:"",component:fS},{path:"/dump",component:Wy},{path:"/compare",component:__},{path:"/apply",component:k_}]}],Io=Mp(function(){return jv({scrollBehavior:()=>({left:0,top:0}),routes:hS,history:vv("/")})});async function gS(e,t){const n=e(Dp);n.use(Lp,t);const r=typeof So=="function"?await So({}):So;n.use(r);const i=Br(typeof Io=="function"?await Io({store:r}):Io);return r.use(({store:l})=>{l.router=i}),{app:n,store:r,router:i}}const mS=Ae({name:"QAvatar",props:{...sr,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){const n=ar(e),r=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 l=e.icon!==void 0?[b(Be,{name:e.icon})]:void 0;return b("div",{class:r.value,style:n.value},[b("div",{class:"q-avatar__content row flex-center overflow-hidden",style:i.value},pf(t.default,l))])}}});let pS=0;const tl={},nl={},Ut={},qh={},vS=/^\s*$/,Th=[],bS=[void 0,null,!0,!1,""],ga=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],yS=["top-left","top-right","bottom-left","bottom-right"],Sr={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 Rh(e,t,n){if(!e)return Jr("parameter required");let r;const i={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(i,tl),Ot(e)===!1&&(i.type&&Object.assign(i,Sr[i.type]),e={message:e}),Object.assign(i,Sr[e.type||i.type],e),typeof i.icon=="function"&&(i.icon=i.icon(t)),i.spinner?(i.spinner===!0&&(i.spinner=un),i.spinner=Br(i.spinner)):i.spinner=!1,i.meta={hasMedia:!!(i.spinner!==!1||i.icon||i.avatar),hasText:Cc(i.message)||Cc(i.caption)},i.position){if(ga.includes(i.position)===!1)return Jr("wrong position",e)}else i.position="bottom";if(bS.includes(i.timeout)===!0)i.timeout=5e3;else{const a=Number(i.timeout);if(isNaN(a)||a<0)return Jr("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 l=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(tl.actions)===!0?tl.actions:[]).concat(Sr[e.type]!==void 0&&Array.isArray(Sr[e.type].actions)===!0?Sr[e.type].actions:[]),{closeBtn:o}=i;if(o&&l.push({label:typeof o=="string"?o:t.lang.label.close}),i.actions=l.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=Ut[i.position].value.indexOf(n.notif);Ut[i.position].value[a]=i}else{const a=nl[i.meta.group];if(a===void 0){if(i.meta.uid=pS++,i.meta.badge=1,["left","right","center"].indexOf(i.position)!==-1)Ut[i.position].value.splice(Math.floor(Ut[i.position].value.length/2),0,i);else{const c=i.position.indexOf("top")!==-1?"unshift":"push";Ut[i.position].value[c](i)}i.group!==void 0&&(nl[i.meta.group]=i)}else{if(a.meta.timer&&(clearTimeout(a.meta.timer),a.meta.timer=void 0),i.badgePosition!==void 0){if(yS.includes(i.badgePosition)===!1)return Jr("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=Ut[i.position].value.indexOf(a);Ut[i.position].value[c]=nl[i.meta.group]=i}}const s=()=>{wS(i),r=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?Jr("trying to update a grouped one which is forbidden",e):s()};if(r={dismiss:s,config:e,notif:i},n!==void 0){Object.assign(n,r);return}return a=>{if(r!==void 0)if(a===void 0)r.dismiss();else{const c=Object.assign({},r.config,a,{group:!1,position:i.position});Rh(c,t,r)}}}function wS(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);const t=Ut[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete nl[e.meta.group];const n=Th[""+e.meta.uid];if(n){const{width:r,height:i}=getComputedStyle(n);n.style.left=`${n.offsetLeft}px`,n.style.width=r,n.style.height=i}Ut[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function Cc(e){return e!=null&&vS.test(e)!==!0}function Jr(e,t){return console.error(`Notify: ${e}`,t),!1}function _S(){return Ae({name:"QNotifications",devtools:{hide:!0},setup(){return()=>b("div",{class:"q-notifications"},ga.map(e=>b(Xm,{key:e,class:qh[e],tag:"div",name:`q-notification--${e}`},()=>Ut[e].value.map(t=>{const n=t.meta,r=[];if(n.hasMedia===!0&&(t.spinner!==!1?r.push(b(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+n.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?r.push(b(Be,{class:"q-notification__icon q-notification__icon--"+n.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&r.push(b(mS,{class:"q-notification__avatar q-notification__avatar--"+n.leftClass},()=>b("img",{src:t.avatar,"aria-hidden":"true"})))),n.hasText===!0){let l;const o={class:"q-notification__message col"};if(t.html===!0)o.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{const s=[t.message];l=t.caption?[b("div",s),b("div",{class:"q-notification__caption"},[t.caption])]:s}r.push(b("div",o,l))}const i=[b("div",{class:n.contentClass},r)];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(l=>b($e,l)))),n.badge>1&&i.push(b("div",{key:`${n.uid}|${n.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[n.badge])),b("div",{ref:l=>{Th[""+n.uid]=l},key:n.uid,class:n.class,...n.attrs},[b("div",{class:n.wrapperClass},i)])}))))}})}const SS={setDefaults(e){Ot(e)===!0&&Object.assign(tl,e)},registerType(e,t){Ot(t)===!0&&(Sr[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=n=>Rh(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){ga.forEach(r=>{Ut[r]=ue([]);const i=["left","center","right"].includes(r)===!0?"center":r.indexOf("top")!==-1?"top":"bottom",l=r.indexOf("left")!==-1?"start":r.indexOf("right")!==-1?"end":"center",o=["left","right"].includes(r)?`items-${r==="left"?"start":"end"} justify-center`:r==="center"?"flex-center":`items-${l}`;qh[r]=`q-notifications__list q-notifications__list--${i} fixed column no-wrap ${o}`});const n=Zl("q-notify");zs(_S(),t).mount(n)}}},xS=()=>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"})]),CS=Ae({name:"QRadio",props:{...Et,...sr,...eo,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:r}=Pe(),i=qt(e,r.$q),l=ar(e,wh),o=ue(null),{refocusTargetEl:s,refocusTarget:a}=yh(e,o),c=y(()=>Ee(e.modelValue)===Ee(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":"")),d=y(()=>{const q=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"}${q}`}),f=y(()=>(c.value===!0?e.checkedIcon:e.uncheckedIcon)||null),h=y(()=>e.disable===!0?-1:e.tabindex||0),g=y(()=>{const q={type:"radio"};return e.name!==void 0&&Object.assign(q,{".checked":c.value===!0,"^checked":c.value===!0?"checked":void 0,name:e.name,value:e.val}),q}),v=ph(g);function p(q){q!==void 0&&(Qe(q),a(q)),e.disable!==!0&&c.value!==!0&&n("update:modelValue",e.val,q)}function T(q){(q.keyCode===13||q.keyCode===32)&&Qe(q)}function S(q){(q.keyCode===13||q.keyCode===32)&&p(q)}Object.assign(r,{set:p});const E=xS();return()=>{const q=f.value!==null?[b("div",{key:"icon",class:"q-radio__icon-container absolute-full flex flex-center no-wrap"},[b(Be,{class:"q-radio__icon",name:f.value})])]:[E];e.disable!==!0&&v(q,"unshift"," q-radio__native q-ma-none q-pa-none");const L=[b("div",{class:d.value,style:l.value,"aria-hidden":"true"},q)];s.value!==null&&L.push(s.value);const I=e.label!==void 0?Gt(t.default,[e.label]):Je(t.default);return I!==void 0&&L.push(b("div",{class:"q-radio__label q-anchor--skip"},I)),b("div",{ref:o,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:p,onKeydown:T,onKeyup:S},L)}}}),kS=Ae({name:"QToggle",props:{..._h,icon:String,iconColor:String},emits:Sh,setup(e){function t(n,r){const i=y(()=>(n.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||e.icon),l=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(Be,{name:i.value,color:l.value})]:void 0)]}return xh("toggle",t)}}),Ph={radio:CS,checkbox:ui,toggle:kS},ES=Object.keys(Ph);function jo(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return r=>r[n]}const qS=Ae({name:"QOptionGroup",props:{...Et,modelValue:{required:!0},options:{type:Array,validator:e=>e.every(Ot),default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],name:String,type:{type:String,default:"radio",validator:e=>ES.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:r}}=Pe(),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 l=qt(e,r),o=y(()=>Ph[e.type]),s=y(()=>jo(e.optionValue,"value")),a=y(()=>jo(e.optionLabel,"label")),c=y(()=>jo(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?l.value:g.dark,size:g.size===void 0?e.size:g.size,dense:e.dense,keepColor:g.keepColor===void 0?e.keepColor:g.keepColor}))),d=y(()=>"q-option-group q-gutter-x-sm"+(e.inline===!0?" q-option-group--inline":"")),f=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:d.value,...f.value},e.options.map((g,v)=>{const p=n["label-"+v]!==void 0?()=>n["label-"+v](g):n.label!==void 0?()=>n.label(g):void 0;return b("div",[b(o.value,{label:p===void 0?a.value(g):null,modelValue:e.modelValue,"onUpdate:modelValue":h,...u.value[v]},p)])}))}}),TS=Ae({name:"DialogPluginComponent",props:{...Et,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}=Pe(),{$q:r}=n,i=qt(e,r),l=ue(null),o=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:Ot(e.progress)===!0?{component:e.progress.spinner||un,props:{color:e.progress.color||a.value}}:{component:un,props:{color:a.value}}),u=y(()=>e.prompt!==void 0||e.options!==void 0),d=y(()=>{if(u.value!==!0)return{};const{model:N,isValid:le,items:te,...oe}=e.prompt!==void 0?e.prompt:e.options;return oe}),f=y(()=>Ot(e.ok)===!0||e.ok===!0?r.lang.label.ok:e.ok),h=y(()=>Ot(e.cancel)===!0||e.cancel===!0?r.lang.label.cancel:e.cancel),g=y(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(o.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(o.value)!==!0:!1),v=y(()=>({color:a.value,label:f.value,ripple:!1,disable:g.value,...Ot(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&u.value!==!0||void 0,onClick:E})),p=y(()=>({color:a.value,label:h.value,ripple:!1,...Ot(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&u.value!==!0||void 0,onClick:q}));ye(()=>e.prompt&&e.prompt.model,I),ye(()=>e.options&&e.options.model,I);function T(){l.value.show()}function S(){l.value.hide()}function E(){t("ok",Ee(o.value)),S()}function q(){S()}function L(){t("hide")}function I(N){o.value=N}function W(N){g.value!==!0&&e.prompt.type!=="textarea"&&wn(N,13)===!0&&E()}function Z(N,le){return e.html===!0?b(ot,{class:N,innerHTML:le}):b(ot,{class:N},()=>le)}function P(){return[b(vn,{color:a.value,dense:!0,autofocus:!0,dark:i.value,...d.value,modelValue:o.value,"onUpdate:modelValue":I,onKeyup:W})]}function M(){return[b(qS,{color:a.value,options:e.options.items,dark:i.value,...d.value,modelValue:o.value,"onUpdate:modelValue":I})]}function U(){const N=[];return e.cancel&&N.push(b($e,p.value)),e.ok&&N.push(b($e,v.value)),b(xi,{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(ot,{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(ot,{class:"scroll q-dialog-plugin__form"},P)):e.options!==void 0&&N.push(b(ps,{dark:i.value}),b(ot,{class:"scroll q-dialog-plugin__form"},M),b(ps,{dark:i.value})),(e.ok||e.cancel)&&N.push(U()),N}function J(){return[b(pn,{class:[s.value,e.cardClass],style:e.cardStyle,dark:i.value},C)]}return Object.assign(n,{show:T,hide:S}),()=>b(Dr,{ref:l,onHide:L},J)}});function Ah(e,t){for(const n in t)n!=="spinner"&&Object(t[n])===t[n]?(e[n]=Object(e[n])!==e[n]?{}:{...e[n]},Ah(e[n],t[n])):e[n]=t[n]}function RS(e,t,n){return r=>{let i,l;const o=r.component!==void 0;if(o===!0){const{component:S,componentProps:E}=r;i=typeof S=="string"?n.component(S):S,l=E||{}}else{const{class:S,style:E,...q}=r;i=e,l=q,S!==void 0&&(q.cardClass=S),E!==void 0&&(q.cardStyle=E)}let s,a=!1;const c=ue(null),u=Zl(!1,"dialog"),d=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")},f=[],h=[],g={onOk(S){return f.push(S),g},onCancel(S){return h.push(S),g},onDismiss(S){return f.push(S),h.push(S),g},hide(){return d("hide"),g},update(S){if(s!==null){if(o===!0)Object.assign(l,S);else{const{class:E,style:q,...L}=S;E!==void 0&&(L.cardClass=E),q!==void 0&&(L.cardStyle=q),Ah(l,L)}s.$forceUpdate()}return g}},v=S=>{a=!0,f.forEach(E=>{E(S)})},p=()=>{T.unmount(u),aa(u),T=null,s=null,a!==!0&&h.forEach(S=>{S()})};let T=zs({name:"QGlobalDialog",setup:()=>()=>b(i,{...l,ref:c,onOk:v,onHide:p,onVnodeMounted(...S){typeof l.onVnodeMounted=="function"&&l.onVnodeMounted(...S),ze(()=>d("show"))}})},n);return s=T.mount(u),g}}const PS={install({$q:e,parentApp:t}){e.dialog=this.create=RS(TS,!0,t)}};let yr,Ho,kc=0,Kn=null,ut={},Xn={};const Oh={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:un,customClass:""},Fh={...Oh};function AS(e){if(e&&e.group!==void 0&&Xn[e.group]!==void 0)return Object.assign(Xn[e.group],e);const t=Ot(e)===!0&&e.ignoreDefaults===!0?{...Oh,...e}:{...Fh,...e};return Xn[t.group]=t,t}const zt=Ei({isActive:!1},{show(e){ut=AS(e);const{group:t}=ut;return zt.isActive=!0,yr!==void 0?(ut.uid=kc,Ho.$forceUpdate()):(ut.uid=++kc,Kn!==null&&clearTimeout(Kn),Kn=setTimeout(()=>{Kn=null;const n=Zl("q-loading");yr=zs({name:"QLoading",setup(){Zt(()=>{Ss(!0)});function r(){zt.isActive!==!0&&yr!==void 0&&(Ss(!1),yr.unmount(n),aa(n),yr=void 0,Ho=void 0)}function i(){if(zt.isActive!==!0)return null;const l=[b(ut.spinner,{class:"q-loading__spinner",color:ut.spinnerColor,size:ut.spinnerSize})];return ut.message&&l.push(b("div",{class:"q-loading__message"+(ut.messageColor?` text-${ut.messageColor}`:""),[ut.html===!0?"innerHTML":"textContent"]:ut.message})),b("div",{class:"q-loading fullscreen flex flex-center z-max "+ut.customClass.trim(),key:ut.uid},[b("div",{class:"q-loading__backdrop"+(ut.backgroundColor?` bg-${ut.backgroundColor}`:"")}),b("div",{class:"q-loading__box column items-center "+ut.boxClass},l)])}return()=>b(Ln,{name:"q-transition--fade",appear:!0,onAfterLeave:r},i)}},zt.__parentApp),Ho=yr.mount(n)},ut.delay)),n=>{if(n===void 0||Object(n)!==n){zt.hide(t);return}zt.show({...n,group:t})}},hide(e){if(zt.isActive===!0){if(e===void 0)Xn={};else{if(Xn[e]===void 0)return;{delete Xn[e];const t=Object.keys(Xn);if(t.length!==0){const n=t[t.length-1];zt.show({group:n});return}}}Kn!==null&&(clearTimeout(Kn),Kn=null),zt.isActive=!1}},setDefaults(e){Ot(e)===!0&&Object.assign(Fh,e)},install({$q:e,parentApp:t}){e.loading=this,zt.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),OS={config:{},plugins:{Notify:SS,Dialog:PS,Loading:zt}},FS="/";async function LS({app:e,router:t,store:n},r){let i=!1;const l=a=>{try{return t.resolve(a).href}catch{}return Object(a)===a?null:a},o=a=>{if(i=!0,typeof a=="string"&&/^https?:\/\//.test(a)){window.location.href=a;return}const c=l(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<r.length;a++)try{await r[a]({app:e,router:t,store:n,ssrContext:null,redirect:o,urlPath:s,publicPath:FS})}catch(c){if(c&&c.url){o(c.url);return}console.error("[Quasar] boot error:",c);return}i!==!0&&(e.use(t),e.mount("#q-app"))}gS(Wd,OS).then(e=>{const[t,n]=Promise.allSettled!==void 0?["allSettled",r=>r.map(i=>{if(i.status==="rejected"){console.error("[Quasar] boot error:",i.reason);return}return i.value.default})]:["all",r=>r.map(i=>i.default)];return Promise[t]([Ec(()=>import("./axios-CNk6rzlZ.js"),[])]).then(r=>{const i=n(r).filter(l=>typeof l=="function");LS(e,i)})});export{Ns as A,Gt as B,pd as C,Le as D,rt as E,ge as F,ee as G,Ri as _,Ze as a,y as b,Ae as c,DS as d,mr as e,Je as f,Pe as g,b as h,It as i,Rp as j,ta as k,Tp as l,tt as m,Ar as n,Zt as o,Ki as p,gt as q,tw as r,ea as s,nw as t,ue as u,Dn as v,ye as w,ze as x,rw as y,Mr as z};
|