quasar 2.16.3 → 2.16.4
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/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar-TN.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de-CH.umd.prod.js +1 -1
- package/dist/lang/de-DE.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/eu.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hi.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/kk.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/mk.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/mm.umd.prod.js +1 -1
- package/dist/lang/ms-MY.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sm.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tl.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.client.js +4 -4
- package/dist/quasar.sass +1 -1
- package/dist/quasar.server.prod.cjs +3 -3
- package/dist/quasar.server.prod.js +3 -3
- package/dist/quasar.umd.js +4 -4
- package/dist/quasar.umd.prod.js +3 -3
- package/dist/web-types/web-types.json +1 -1
- package/package.json +2 -1
package/dist/quasar.umd.prod.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.16.
|
|
2
|
+
* Quasar Framework v2.16.4
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
(()=>{var av=Object.defineProperty;var Ur=(e,t)=>{for(var o in t)av(e,o,{get:t[o],enumerable:!0})};var{h:i,ref:q,computed:s,watch:Y,isRef:Mu,toRaw:co,unref:Ru,reactive:Uo,shallowReactive:Pu,nextTick:$e,onActivated:Qt,onDeactivated:Pt,onBeforeMount:Qn,onMounted:Ne,onBeforeUnmount:Se,onUnmounted:Nn,onBeforeUpdate:Mo,onUpdated:Au,inject:ht,provide:Nt,getCurrentInstance:U,markRaw:Kr,Transition:lt,TransitionGroup:$u,KeepAlive:wi,Teleport:Eu,useSSRContext:s0,withDirectives:Et,vShow:ki,defineComponent:Bu,createApp:Lu}=window.Vue;function st(e,t,o,r){return Object.defineProperty(e,t,{get:o,set:r,enumerable:!0}),e}function qi(e,t){for(let o in t)st(e,o,t[o]);return e}var xt=q(!1),yl;function lv(e,t){let o=/(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:o[5]||o[3]||o[1]||"",version:o[4]||o[2]||"0",platform:t[0]||""}}function uv(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)||[]}var Du="ontouchstart"in window||window.navigator.maxTouchPoints>0;function sv(e){let t=e.toLowerCase(),o=uv(t),r=lv(t,o),n={};r.browser&&(n[r.browser]=!0,n.version=r.version,n.versionNumber=parseInt(r.version,10)),r.platform&&(n[r.platform]=!0);let a=n.android||n.ios||n.bb||n.blackberry||n.ipad||n.iphone||n.ipod||n.kindle||n.playbook||n.silk||n["windows phone"];if(a===!0||t.indexOf("mobile")!==-1?n.mobile=!0:n.desktop=!0,n["windows phone"]&&(n.winphone=!0,delete n["windows phone"]),n.edga||n.edgios||n.edg?(n.edge=!0,r.browser="edge"):n.crios?(n.chrome=!0,r.browser="chrome"):n.fxios&&(n.firefox=!0,r.browser="firefox"),(n.ipod||n.ipad||n.iphone)&&(n.ios=!0),n.vivaldi&&(r.browser="vivaldi",n.vivaldi=!0),(n.chrome||n.opr||n.safari||n.vivaldi||n.mobile===!0&&n.ios!==!0&&a!==!0)&&(n.webkit=!0),n.opr&&(r.browser="opera",n.opera=!0),n.safari&&(n.blackberry||n.bb?(r.browser="blackberry",n.blackberry=!0):n.playbook?(r.browser="playbook",n.playbook=!0):n.android?(r.browser="android",n.android=!0):n.kindle?(r.browser="kindle",n.kindle=!0):n.silk&&(r.browser="silk",n.silk=!0)),n.name=r.browser,n.platform=r.platform,t.indexOf("electron")!==-1)n.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)n.bex=!0;else{if(window.Capacitor!==void 0?(n.capacitor=!0,n.nativeMobile=!0,n.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(n.cordova=!0,n.nativeMobile=!0,n.nativeMobileWrapper="cordova"),xt.value===!0&&(yl={is:{...n}}),Du===!0&&n.mac===!0&&(n.desktop===!0&&n.safari===!0||n.nativeMobile===!0&&n.android!==!0&&n.ios!==!0&&n.ipad!==!0)){delete n.mac,delete n.desktop;let l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(n,{mobile:!0,ios:!0,platform:l,[l]:!0})}n.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete n.desktop,n.mobile=!0)}return n}var Fu=navigator.userAgent||navigator.vendor||window.opera,cv={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Re={userAgent:Fu,is:sv(Fu),has:{touch:Du},within:{iframe:window.self!==window.top}},Sl={install(e){let{$q:t}=e;xt.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Re),xt.value=!1}),t.platform=Uo(this)):t.platform=this}};{let e;st(Re.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(Sl,Re),xt.value===!0&&(Object.assign(Sl,yl,cv),yl=null)}var Ro=Sl;function A(e){return Kr(Bu(e))}function At(e){return Kr(e)}var jt=(e,t)=>{let o=Uo(e);for(let r in e)st(t,r,()=>o[r],n=>{o[r]=n});return t};var et={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{let e=Object.defineProperty({},"passive",{get(){Object.assign(et,{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 We(){}function Ko(e){return e.button===0}function dv(e){return e.button===1}function fv(e){return e.button===2}function _t(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 xl(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();let t=[],o=e.target;for(;o;){if(t.push(o),o.tagName==="HTML")return t.push(document),t.push(window),t;o=o.parentElement}}var mv=40,vv=800;function gv(e){let t=e.deltaX,o=e.deltaY;if((t||o)&&e.deltaMode){let r=e.deltaMode===1?mv:vv;t*=r,o*=r}return e.shiftKey&&!t&&([o,t]=[t,o]),{x:t,y:o}}function it(e){e.stopPropagation()}function ft(e){e.cancelable!==!1&&e.preventDefault()}function qe(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Wo(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;let o=t===!0?r=>{r.__dragPrevented=!0,r.addEventListener("dragstart",ft,et.notPassiveCapture)}:r=>{delete r.__dragPrevented,r.removeEventListener("dragstart",ft,et.notPassiveCapture)};e.querySelectorAll("a, img").forEach(o)}function dt(e,t,o){let r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(o):o,o.forEach(n=>{n[0].addEventListener(n[1],e[n[2]],et[n[3]])})}function qt(e,t){let o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],et[r[3]])}),e[o]=void 0)}var Vu={listenOpts:et,leftClick:Ko,middleClick:dv,rightClick:fv,position:_t,getEventPath:xl,getMouseWheelDistance:gv,stop:it,prevent:ft,stopAndPrevent:qe,preventDraggable:Wo};function Zt(e,t=250,o){let r=null;function n(){let a=arguments,l=()=>{r=null,o!==!0&&e.apply(this,a)};r!==null?clearTimeout(r):o===!0&&e.apply(this,a),r=setTimeout(l,t)}return n.cancel=()=>{r!==null&&clearTimeout(r)},n}var _l=["sm","md","lg","xl"],{passive:zu}=et,Ti=jt({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:We,setDebounce:We,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}let{visualViewport:o}=window,r=o||window,n=document.scrollingElement||document.documentElement,a=o===void 0||Re.is.mobile===!0?()=>[Math.max(window.innerWidth,n.clientWidth),Math.max(window.innerHeight,n.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-n.clientWidth,o.height*o.scale+window.innerHeight-n.clientHeight],l=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=h=>{let[v,m]=a();if(m!==this.height&&(this.height=m),v!==this.width)this.width=v;else if(h!==!0)return;let g=this.sizes;this.gt.xs=v>=g.sm,this.gt.sm=v>=g.md,this.gt.md=v>=g.lg,this.gt.lg=v>=g.xl,this.lt.sm=v<g.sm,this.lt.md=v<g.md,this.lt.lg=v<g.lg,this.lt.xl=v<g.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,g=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",g!==this.name&&(l===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${g}`)),this.name=g)};let u,d={},f=16;this.setSizes=h=>{_l.forEach(v=>{h[v]!==void 0&&(d[v]=h[v])})},this.setDebounce=h=>{f=h};let c=()=>{let h=getComputedStyle(document.body);h.getPropertyValue("--q-size-sm")&&_l.forEach(v=>{this.sizes[v]=parseInt(h.getPropertyValue(`--q-size-${v}`),10)}),this.setSizes=v=>{_l.forEach(m=>{v[m]&&(this.sizes[m]=v[m])}),this.__update(!0)},this.setDebounce=v=>{u!==void 0&&r.removeEventListener("resize",u,zu),u=v>0?Zt(this.__update,v):this.__update,r.addEventListener("resize",u,zu)},this.setDebounce(f),Object.keys(d).length!==0?(this.setSizes(d),d=void 0):this.__update(),l===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};xt.value===!0?t.push(c):c()}});var Ut=jt({isActive:!1,mode:!1},{__media:void 0,set(e){Ut.mode=e,e==="auto"?(Ut.__media===void 0&&(Ut.__media=window.matchMedia("(prefers-color-scheme: dark)"),Ut.__updateMedia=()=>{Ut.set("auto")},Ut.__media.addListener(Ut.__updateMedia)),e=Ut.__media.matches):Ut.__media!==void 0&&(Ut.__media.removeListener(Ut.__updateMedia),Ut.__media=void 0),Ut.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){Ut.set(Ut.isActive===!1)},install({$q:e,ssrContext:t}){let{dark:o}=e.config;e.dark=this,this.__installed!==!0&&this.set(o!==void 0?o:!1)}}),Mi=Ut;function Wr(e,t,o=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(!(o instanceof Element))throw new TypeError("Expected a DOM element");o.style.setProperty(`--q-${e}`,t)}var Ou=!1;function Iu(e){Ou=e.isComposing===!0}function ro(e){return Ou===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Tt(e,t){return ro(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Hu(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function hv({is:e,has:t,within:o},r){let n=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){let a=Hu(e);a!==void 0&&n.push("platform-"+a)}if(e.nativeMobile===!0){let a=e.nativeMobileWrapper;n.push(a),n.push("native-mobile"),e.ios===!0&&(r[a]===void 0||r[a].iosStatusBarPadding!==!1)&&n.push("q-ios-padding")}else e.electron===!0?n.push("electron"):e.bex===!0&&n.push("bex");return o.iframe===!0&&n.push("within-iframe"),n}function pv(){let{is:e}=Re,t=document.body.className,o=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)o.delete("mobile"),o.delete("platform-ios"),o.delete("platform-android"),o.add("desktop");else if(e.mobile===!0){o.delete("desktop"),o.add("mobile"),o.delete("platform-ios"),o.delete("platform-android");let n=Hu(e);n!==void 0&&o.add(`platform-${n}`)}}Re.has.touch===!0&&(o.delete("no-touch"),o.add("touch")),Re.within.iframe===!0&&o.add("within-iframe");let r=Array.from(o).join(" ");t!==r&&(document.body.className=r)}function bv(e){for(let t in e)Wr(t,e[t])}var Qu={install(e){if(this.__installed!==!0){if(xt.value===!0)pv();else{let{$q:t}=e;t.config.brand!==void 0&&bv(t.config.brand);let o=hv(Re,t.config);document.body.classList.add.apply(document.body.classList,o)}Re.is.ios===!0&&document.body.addEventListener("touchstart",We),window.addEventListener("keydown",Iu,!0)}}};var Nu=()=>!0;function yv(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Sv(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 xv(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Nu;let t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(yv).map(Sv)),()=>t.includes(window.location.hash)}var on={__history:[],add:We,remove:We,install({$q:e}){if(this.__installed===!0)return;let{cordova:t,capacitor:o}=Re.is;if(t!==!0&&o!==!0)return;let r=e.config[t===!0?"cordova":"capacitor"];if(r!==void 0&&r.backButton===!1||o===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=l=>{l.condition===void 0&&(l.condition=Nu),this.__history.push(l)},this.remove=l=>{let u=this.__history.indexOf(l);u>=0&&this.__history.splice(u,1)};let n=xv(Object.assign({backButtonExit:!0},r)),a=()=>{if(this.__history.length){let l=this.__history[this.__history.length-1];l.condition()===!0&&(this.__history.pop(),l.handler())}else n()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",a,!1)}):window.Capacitor.Plugins.App.addListener("backButton",a)}};var Yr={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,o)=>e+"-"+t+" of "+o,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 ju(){let e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,o)=>o===0?t.toLowerCase():o>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}var xn=jt({__qLang:{}},{getLocale:ju,set(e=Yr,t){let o={...e,rtl:e.rtl===!0,getLocale:ju};if(o.set=xn.set,xn.__langConfig===void 0||xn.__langConfig.noHtmlAttrs!==!0){let r=document.documentElement;r.setAttribute("dir",o.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",o.isoName)}Object.assign(xn.__qLang,o)},install({$q:e,lang:t,ssrContext:o}){e.lang=xn.__qLang,xn.__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(n=>n!=="set"&&n!=="getLocale")}}),this.set(t||Yr))}}),Yo=xn;var Uu={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"}};var Cl=jt({iconMapFn:null,__qIconSet:{}},{set(e,t){let o={...e};o.set=Cl.set,Object.assign(Cl.__qIconSet,o)},install({$q:e,iconSet:t,ssrContext:o}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,st(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(n=>n!=="set")}}),this.set(t||Uu))}}),jn=Cl;var Ri="_q_",Pi="_q_t_",Ai="_q_s_",Jt="_q_l_",$i="_q_pc_",Ei="_q_f_",Xo="_q_fo_",Bi="_q_tabs_",Li="_q_u_";function Je(){}var Un={},wl=!1;function Ku(){wl=!0}function Kt(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 o,r;if(e.constructor===Array){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(Kt(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let a=e.entries();for(r=a.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=a.next()}for(a=e.entries(),r=a.next();r.done!==!0;){if(Kt(r.value[1],t.get(r.value[0]))!==!0)return!1;r=a.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;let a=e.entries();for(r=a.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=a.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(o=e.length,o!==t.length)return!1;for(r=o;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();let n=Object.keys(e).filter(a=>e[a]!==void 0);if(o=n.length,o!==Object.keys(t).filter(a=>t[a]!==void 0).length)return!1;for(r=o;r--!==0;){let a=n[r];if(Kt(e[a],t[a])!==!0)return!1}return!0}return e!==e&&t!==t}function ct(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Go(e){return Object.prototype.toString.call(e)==="[object Date]"}function kl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function fo(e){return typeof e=="number"&&isFinite(e)}var Wu={deepEqual:Kt,object:ct,date:Go,regexp:kl,number:fo};var Yu=[Ro,Qu,Mi,Ti,on,Yo,jn];function nn(e,t){let o=Lu(e);o.config.globalProperties=t.config.globalProperties;let{reload:r,...n}=t._context;return Object.assign(o._context,n),o}function Xu(e,t){t.forEach(o=>{o.install(e),o.__installed=!0})}function _v(e,t,o){e.config.globalProperties.$q=o.$q,e.provide(Ri,o.$q),Xu(o,Yu),t.components!==void 0&&Object.values(t.components).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&Xu(o,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&Yu.includes(r)===!1)),xt.value===!0&&(o.$q.onSSRHydrated=()=>{o.onSSRHydrated.forEach(r=>{r()}),o.$q.onSSRHydrated=()=>{}})}var Gu=function(e,t={}){let o={version:"2.16.3"};wl===!1?(t.config!==void 0&&Object.assign(Un,t.config),o.config={...Un},Ku()):o.config=t.config||{},_v(e,t,{parentApp:e,$q:o,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})};var ol={};Ur(ol,{QAjaxBar:()=>Di,QAvatar:()=>zi,QBadge:()=>ls,QBanner:()=>us,QBar:()=>ss,QBreadcrumbs:()=>fs,QBreadcrumbsEl:()=>hs,QBtn:()=>Ie,QBtnDropdown:()=>Ji,QBtnGroup:()=>nr,QBtnToggle:()=>Ds,QCard:()=>pr,QCardActions:()=>ea,QCardSection:()=>xo,QCarousel:()=>zs,QCarouselControl:()=>Is,QCarouselSlide:()=>Os,QChatMessage:()=>Hs,QCheckbox:()=>zo,QChip:()=>Tr,QCircularProgress:()=>Mr,QColor:()=>ec,QDate:()=>vc,QDialog:()=>Ho,QDrawer:()=>_c,QEditor:()=>$c,QExpansionItem:()=>Ec,QFab:()=>Bc,QFabAction:()=>Fc,QField:()=>Ra,QFile:()=>zc,QFooter:()=>Oc,QForm:()=>Ic,QFormChildMixin:()=>Hc,QHeader:()=>Qc,QIcon:()=>Pe,QImg:()=>Nc,QInfiniteScroll:()=>jc,QInnerLoading:()=>Uc,QInput:()=>Vr,QIntersection:()=>td,QItem:()=>Qo,QItemLabel:()=>Fn,QItemSection:()=>no,QKnob:()=>nd,QLayout:()=>id,QLinearProgress:()=>Ua,QList:()=>Va,QMarkupTable:()=>za,QMenu:()=>Lo,QNoSsr:()=>ad,QOptionGroup:()=>Ha,QPage:()=>ud,QPageContainer:()=>sd,QPageScroller:()=>cd,QPageSticky:()=>dd,QPagination:()=>fd,QParallax:()=>md,QPopupEdit:()=>vd,QPopupProxy:()=>gd,QPullToRefresh:()=>pd,QRadio:()=>Oa,QRange:()=>bd,QRating:()=>yd,QResizeObserver:()=>oo,QResponsive:()=>Sd,QRouteTab:()=>Pf,QScrollArea:()=>wd,QScrollObserver:()=>zr,QSelect:()=>Wa,QSeparator:()=>ao,QSkeleton:()=>Rd,QSlideItem:()=>Ad,QSlideTransition:()=>gn,QSlider:()=>Jo,QSpace:()=>$d,QSpinner:()=>wt,QSpinnerAudio:()=>Ed,QSpinnerBall:()=>Bd,QSpinnerBars:()=>Ld,QSpinnerBox:()=>Fd,QSpinnerClock:()=>Dd,QSpinnerComment:()=>Vd,QSpinnerCube:()=>zd,QSpinnerDots:()=>Od,QSpinnerFacebook:()=>Id,QSpinnerGears:()=>Hd,QSpinnerGrid:()=>Qd,QSpinnerHearts:()=>Nd,QSpinnerHourglass:()=>jd,QSpinnerInfinity:()=>Ud,QSpinnerIos:()=>Kd,QSpinnerOrbit:()=>Wd,QSpinnerOval:()=>Yd,QSpinnerPie:()=>Xd,QSpinnerPuff:()=>Gd,QSpinnerRadio:()=>Zd,QSpinnerRings:()=>Jd,QSpinnerTail:()=>ef,QSplitter:()=>tf,QStep:()=>rf,QStepper:()=>af,QStepperNavigation:()=>lf,QTab:()=>cn,QTabPanel:()=>Pr,QTabPanels:()=>ma,QTable:()=>Tf,QTabs:()=>ai,QTd:()=>Rf,QTh:()=>Xa,QTime:()=>Af,QTimeline:()=>$f,QTimelineEntry:()=>Ef,QToggle:()=>Ia,QToolbar:()=>Bf,QToolbarTitle:()=>Lf,QTooltip:()=>qa,QTr:()=>Mf,QTree:()=>Ff,QUploader:()=>If,QUploaderAddTrigger:()=>Hf,QVideo:()=>Qf,QVirtualScroll:()=>Za});var Zu=["B","KB","MB","GB","TB","PB"];function Kn(e,t=1){let o=0;for(;parseInt(e,10)>=1024&&o<Zu.length-1;)e/=1024,++o;return`${e.toFixed(t)}${Zu[o]}`}function ql(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ot(e,t,o){return o<=t?t:Math.min(o,Math.max(t,e))}function _n(e,t,o){if(o<=t)return t;let r=o-t+1,n=t+(e-t)%r;return n<t&&(n=r+n),n===0?0:n}function nt(e,t=2,o="0"){if(e==null)return e;let r=""+e;return r.length>=t?r:new Array(t-r.length+1).join(o)+r}var Ju={humanStorageSize:Kn,capitalize:ql,between:ot,normalizeToInterval:_n,pad:nt};var Tl=XMLHttpRequest,es=Tl.prototype.open,Cv=["top","right","bottom","left"],Fi=[],Xr=0;function wv({p:e,pos:t,active:o,horiz:r,reverse:n,dir:a}){let l=1,u=1;return r===!0?(n===!0&&(l=-1),t==="bottom"&&(u=-1),{transform:`translate3d(${l*(e-100)}%,${o?0:u*-200}%,0)`}):(n===!0&&(u=-1),t==="right"&&(l=-1),{transform:`translate3d(${o?0:a*l*-200}%,${u*(e-100)}%,0)`})}function kv(e,t){return typeof t!="number"&&(e<25?t=Math.random()*3+3:e<65?t=Math.random()*3:e<85?t=Math.random()*2:e<99?t=.6:t=0),ot(e+t,0,100)}function qv(e){Xr++,Fi.push(e),!(Xr>1)&&(Tl.prototype.open=function(t,o){let r=[],n=()=>{Fi.forEach(l=>{(l.hijackFilter.value===null||l.hijackFilter.value(o)===!0)&&(l.start(),r.push(l.stop))})},a=()=>{r.forEach(l=>{l()})};this.addEventListener("loadstart",n,{once:!0}),this.addEventListener("loadend",a,{once:!0}),es.apply(this,arguments)})}function Tv(e){Fi=Fi.filter(t=>t.start!==e),Xr=Math.max(0,Xr-1),Xr===0&&(Tl.prototype.open=es)}var Di=A({name:"QAjaxBar",props:{position:{type:String,default:"top",validator:e=>Cv.includes(e)},size:{type:String,default:"2px"},color:String,skipHijack:Boolean,reverse:Boolean,hijackFilter:Function},emits:["start","stop"],setup(e,{emit:t}){let{proxy:o}=U(),r=q(0),n=q(!1),a=q(!0),l=0,u=null,d,f=s(()=>`q-loading-bar q-loading-bar--${e.position}`+(e.color!==void 0?` bg-${e.color}`:"")+(a.value===!0?"":" no-transition")),c=s(()=>e.position==="top"||e.position==="bottom"),h=s(()=>c.value===!0?"height":"width"),v=s(()=>{let b=n.value,p=wv({p:r.value,pos:e.position,active:b,horiz:c.value,reverse:o.$q.lang.rtl===!0&&["top","bottom"].includes(e.position)?e.reverse===!1:e.reverse,dir:o.$q.lang.rtl===!0?-1:1});return p[h.value]=e.size,p.opacity=b?1:0,p}),m=s(()=>n.value===!0?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r.value}:{"aria-hidden":"true"});function g(b=300){let p=d;return d=Math.max(0,b)||0,l++,l>1?(p===0&&b>0?k():u!==null&&p>0&&b<=0&&(clearTimeout(u),u=null),l):(u!==null&&clearTimeout(u),t("start"),r.value=0,u=setTimeout(()=>{u=null,a.value=!0,b>0&&k()},n._value===!0?500:1),n._value!==!0&&(n.value=!0,a.value=!1),l)}function x(b){return l>0&&(r.value=kv(r.value,b)),l}function y(){if(l=Math.max(0,l-1),l>0)return l;u!==null&&(clearTimeout(u),u=null),t("stop");let b=()=>{a.value=!0,r.value=100,u=setTimeout(()=>{u=null,n.value=!1},1e3)};return r.value===0?u=setTimeout(b,1):b(),l}function k(){r.value<100&&(u=setTimeout(()=>{u=null,x(),k()},d))}let S;return Ne(()=>{e.skipHijack!==!0&&(S=!0,qv({start:g,stop:y,hijackFilter:s(()=>e.hijackFilter||null)}))}),Se(()=>{u!==null&&clearTimeout(u),S===!0&&Tv(g)}),Object.assign(o,{start:g,stop:y,increment:x}),()=>i("div",{class:f.value,style:v.value,...m.value})}});var Vi={xs:18,sm:24,md:32,lg:38,xl:46},Ft={size:String};function Dt(e,t=Vi){return s(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function re(e,t){return e!==void 0&&e()||t}function Po(e,t){if(e!==void 0){let o=e();if(o!=null)return o.slice()}return t}function Ge(e,t){return e!==void 0?t.concat(e()):t}function Wn(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Mt(e,t,o,r,n,a){t.key=r+n;let l=i(e,t,o);return n===!0?Et(l,a()):l}var ts="0 0 24 24",os=e=>e,Ml=e=>`ionicons ${e}`,rs={"mdi-":e=>`mdi ${e}`,"icon-":os,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Ml,"ion-ios":Ml,"ion-logo":Ml,"iconfont ":os,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},is={o_:"-outlined",r_:"-round",s_:"-sharp"},as={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Mv=new RegExp("^("+Object.keys(rs).join("|")+")"),Rv=new RegExp("^("+Object.keys(is).join("|")+")"),ns=new RegExp("^("+Object.keys(as).join("|")+")"),Pv=/^[Mm]\s?[-+]?\.?\d/,Av=/^img:/,$v=/^svguse:/,Ev=/^ion-/,Bv=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Pe=A({name:"QIcon",props:{...Ft,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Dt(e),n=s(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),a=s(()=>{let l,u=e.name;if(u==="none"||!u)return{none:!0};if(o.iconMapFn!==null){let c=o.iconMapFn(u);if(c!==void 0)if(c.icon!==void 0){if(u=c.icon,u==="none"||!u)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(Pv.test(u)===!0){let[c,h=ts]=u.split("|");return{svg:!0,viewBox:h,nodes:c.split("&&").map(v=>{let[m,g,x]=v.split("@@");return i("path",{style:g,d:m,transform:x})})}}if(Av.test(u)===!0)return{img:!0,src:u.substring(4)};if($v.test(u)===!0){let[c,h=ts]=u.split("|");return{svguse:!0,src:c.substring(7),viewBox:h}}let d=" ",f=u.match(Mv);if(f!==null)l=rs[f[1]](u);else if(Bv.test(u)===!0)l=u;else if(Ev.test(u)===!0)l=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${u.substring(3)}`;else if(ns.test(u)===!0){l="notranslate material-symbols";let c=u.match(ns);c!==null&&(u=u.substring(6),l+=as[c[1]]),d=u}else{l="notranslate material-icons";let c=u.match(Rv);c!==null&&(u=u.substring(2),l+=is[c[1]]),d=u}return{cls:l,content:d}});return()=>{let l={class:n.value,style:r.value,"aria-hidden":"true",role:"presentation"};return a.value.none===!0?i(e.tag,l,re(t.default)):a.value.img===!0?i(e.tag,l,Ge(t.default,[i("img",{src:a.value.src})])):a.value.svg===!0?i(e.tag,l,Ge(t.default,[i("svg",{viewBox:a.value.viewBox||"0 0 24 24"},a.value.nodes)])):a.value.svguse===!0?i(e.tag,l,Ge(t.default,[i("svg",{viewBox:a.value.viewBox},[i("use",{"xlink:href":a.value.src})])])):(a.value.cls!==void 0&&(l.class+=" "+a.value.cls),i(e.tag,l,Ge(t.default,[a.value.content])))}}});var zi=A({name:"QAvatar",props:{...Ft,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){let o=Dt(e),r=s(()=>"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":"")),n=s(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{let a=e.icon!==void 0?[i(Pe,{name:e.icon})]:void 0;return i("div",{class:r.value,style:o.value},[i("div",{class:"q-avatar__content row flex-center overflow-hidden",style:n.value},Wn(t.default,a))])}}});var Lv=["top","middle","bottom"],ls=A({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=>Lv.includes(e)}},setup(e,{slots:t}){let o=s(()=>e.align!==void 0?{verticalAlign:e.align}:null),r=s(()=>{let n=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}`:"")+(n!==void 0?` text-${n}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>i("div",{class:r.value,style:o.value,role:"status","aria-label":e.label},Ge(t.default,e.label!==void 0?[e.label]:[]))}});var _e={dark:{type:Boolean,default:null}};function Ce(e,t){return s(()=>e.dark===null?t.dark.isActive:e.dark)}var us=A({name:"QBanner",props:{..._e,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(r.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),a=s(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{let l=[i("div",{class:"q-banner__avatar col-auto row items-center self-start"},re(t.avatar)),i("div",{class:"q-banner__content col text-body2"},re(t.default))],u=re(t.action);return u!==void 0&&l.push(i("div",{class:a.value},u)),i("div",{class:n.value+(e.inlineActions===!1&&u!==void 0?" q-banner--top-padding":""),role:"alert"},l)}}});var ss=A({name:"QBar",props:{..._e,dense:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?"dense":"standard"} q-bar--${r.value===!0?"dark":"light"}`);return()=>i("div",{class:n.value,role:"toolbar"},re(t.default))}});var cs={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Fv=Object.keys(cs),Yn={align:{type:String,validator:e=>Fv.includes(e)}};function Xn(e){return s(()=>{let t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${cs[t]}`})}function Gr(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 ds(e,t){typeof t.type=="symbol"?Array.isArray(t.children)===!0&&t.children.forEach(o=>{ds(e,o)}):e.add(t)}function Gn(e){let t=new Set;return e.forEach(o=>{ds(t,o)}),Array.from(t)}function Zn(e){return e.appContext.config.globalProperties.$router!==void 0}function Wt(e){return e.isUnmounted===!0||e.isDeactivated===!0}var Dv=["",!0],fs=A({name:"QBreadcrumbs",props:{...Yn,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:t}){let o=Xn(e),r=s(()=>`flex items-center ${o.value}${e.gutter==="none"?"":` q-gutter-${e.gutter}`}`),n=s(()=>e.separatorColor?` text-${e.separatorColor}`:""),a=s(()=>` text-${e.activeColor}`);return()=>{if(t.default===void 0)return;let l=Gn(re(t.default));if(l.length===0)return;let u=1,d=[],f=l.filter(h=>h.type!==void 0&&h.type.name==="QBreadcrumbsEl").length,c=t.separator!==void 0?t.separator:()=>e.separator;return l.forEach(h=>{if(h.type!==void 0&&h.type.name==="QBreadcrumbsEl"){let v=u<f,m=h.props!==null&&Dv.includes(h.props.disable),g=(v===!0?"":" q-breadcrumbs--last")+(m!==!0&&v===!0?a.value:"");u++,d.push(i("div",{class:`flex items-center${g}`},[h])),v===!0&&d.push(i("div",{class:"q-breadcrumbs__separator"+n.value},c()))}else d.push(h)}),i("div",{class:"q-breadcrumbs"},[i("div",{class:r.value},d)])}}});function ms(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function vs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Vv(e,t){for(let o in t){let r=t[o],n=e[o];if(typeof r=="string"){if(r!==n)return!1}else if(Array.isArray(n)===!1||n.length!==r.length||r.some((a,l)=>a!==n[l]))return!1}return!0}function gs(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((o,r)=>o===t[r]):e.length===1&&e[0]===t}function zv(e,t){return Array.isArray(e)===!0?gs(e,t):Array.isArray(t)===!0?gs(t,e):e===t}function Ov(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let o in e)if(zv(e[o],t[o])===!1)return!1;return!0}var Rl={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Zo={...Rl,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function rn({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){let o=U(),{props:r,proxy:n,emit:a}=o,l=Zn(o),u=s(()=>r.disable!==!0&&r.href!==void 0),d=t===!0?s(()=>l===!0&&r.disable!==!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""):s(()=>l===!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),f=s(()=>d.value===!0?S(r.to):null),c=s(()=>f.value!==null),h=s(()=>u.value===!0||c.value===!0),v=s(()=>r.type==="a"||h.value===!0?"a":r.tag||e||"div"),m=s(()=>u.value===!0?{href:r.href,target:r.target}:c.value===!0?{href:f.value.href,target:r.target}:{}),g=s(()=>{if(c.value===!1)return-1;let{matched:_}=f.value,{length:$}=_,L=_[$-1];if(L===void 0)return-1;let V=n.$route.matched;if(V.length===0)return-1;let F=V.findIndex(vs.bind(null,L));if(F!==-1)return F;let E=ms(_[$-2]);return $>1&&ms(L)===E&&V[V.length-1].path!==E?V.findIndex(vs.bind(null,_[$-2])):F}),x=s(()=>c.value===!0&&g.value!==-1&&Vv(n.$route.params,f.value.params)),y=s(()=>x.value===!0&&g.value===n.$route.matched.length-1&&Ov(n.$route.params,f.value.params)),k=s(()=>c.value===!0?y.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":x.value===!0?` ${r.activeClass}`:"":"");function S(_){try{return n.$router.resolve(_)}catch{}return null}function b(_,{returnRouterError:$,to:L=r.to,replace:V=r.replace}={}){if(r.disable===!0)return _.preventDefault(),Promise.resolve(!1);if(_.metaKey||_.altKey||_.ctrlKey||_.shiftKey||_.button!==void 0&&_.button!==0||r.target==="_blank")return Promise.resolve(!1);_.preventDefault();let F=n.$router[V===!0?"replace":"push"](L);return $===!0?F:F.then(()=>{}).catch(()=>{})}function p(_){if(c.value===!0){let $=L=>b(_,L);a("click",_,$),_.defaultPrevented!==!0&&$()}else a("click",_)}return{hasRouterLink:c,hasHrefLink:u,hasLink:h,linkTag:v,resolvedLink:f,linkIsActive:x,linkIsExactActive:y,linkClass:k,linkAttrs:m,getLink:S,navigateToRouterLink:b,navigateOnClick:p}}var hs=A({name:"QBreadcrumbsEl",props:{...Zo,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:t}){let{linkTag:o,linkAttrs:r,linkClass:n,navigateOnClick:a}=rn(),l=s(()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(e.disable!==!0?"q-link--focusable"+n.value:"q-breadcrumbs__el--disable"),...r.value,onClick:a})),u=s(()=>"q-breadcrumbs__el-icon"+(e.label!==void 0?" q-breadcrumbs__el-icon--with-label":""));return()=>{let d=[];return e.icon!==void 0&&d.push(i(Pe,{class:u.value,name:e.icon})),e.label!==void 0&&d.push(e.label),i(o.value,{...l.value},Ge(t.default,d))}}});var Ke={size:{type:[String,Number],default:"1em"},color:String};function je(e){return{cSize:s(()=>e.size in Vi?`${Vi[e.size]}px`:e.size),classes:s(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}var wt=A({name:"QSpinner",props:{...Ke,thickness:{type:Number,default:5}},setup(e){let{cSize:t,classes:o}=je(e);return()=>i("svg",{class:o.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[i("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Cn(e){if(e===window)return{top:0,left:0};let{top:t,left:o}=e.getBoundingClientRect();return{top:t,left:o}}function Iv(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function Ao(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function Hv(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function wn(e,t){let o=e.style;for(let r in t)o[r]=t[r]}function Qv(e,t){e.forEach(o=>wn(o,t))}function Nv(e){if(typeof e=="function"){if(document.readyState!=="loading")return e();document.addEventListener("DOMContentLoaded",e,!1)}}function ps(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}let t=Ru(e);if(t)return t.$el||t}function Oi(e,t){if(e==null||e.contains(t)===!0)return!0;for(let o=e.nextElementSibling;o!==null;o=o.nextElementSibling)if(o.contains(t))return!0;return!1}var bs={offset:Cn,style:Iv,height:Ao,width:Hv,css:wn,cssBatch:Qv,ready:Nv};function Jn(e,t=250){let o=!1,r;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),r=e.apply(this,arguments)),r}}function ys(e,t,o,r){o.modifiers.stop===!0&&it(e);let n=o.modifiers.color,a=o.modifiers.center;a=a===!0||r===!0;let l=document.createElement("span"),u=document.createElement("span"),d=_t(e),{left:f,top:c,width:h,height:v}=t.getBoundingClientRect(),m=Math.sqrt(h*h+v*v),g=m/2,x=`${(h-m)/2}px`,y=a?x:`${d.left-f-g}px`,k=`${(v-m)/2}px`,S=a?k:`${d.top-c-g}px`;u.className="q-ripple__inner",wn(u,{height:`${m}px`,width:`${m}px`,transform:`translate3d(${y},${S},0) scale3d(.2,.2,1)`,opacity:0}),l.className=`q-ripple${n?" text-"+n:""}`,l.setAttribute("dir","ltr"),l.appendChild(u),t.appendChild(l);let b=()=>{l.remove(),clearTimeout(p)};o.abort.push(b);let p=setTimeout(()=>{u.classList.add("q-ripple__inner--enter"),u.style.transform=`translate3d(${x},${k},0) scale3d(1,1,1)`,u.style.opacity=.2,p=setTimeout(()=>{u.classList.remove("q-ripple__inner--enter"),u.classList.add("q-ripple__inner--leave"),u.style.opacity=0,p=setTimeout(()=>{l.remove(),o.abort.splice(o.abort.indexOf(b),1)},275)},250)},50)}function Ss(e,{modifiers:t,value:o,arg:r}){let n=Object.assign({},e.cfg.ripple,t,o);e.modifiers={early:n.early===!0,stop:n.stop===!0,center:n.center===!0,color:n.color||r,keyCodes:[].concat(n.keyCodes||13)}}var $o=At({name:"ripple",beforeMount(e,t){let o=t.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;let r={cfg:o,enabled:t.value!==!1,modifiers:{},abort:[],start(n){r.enabled===!0&&n.qSkipRipple!==!0&&n.type===(r.modifiers.early===!0?"pointerdown":"click")&&ys(n,e,r,n.qKeyEvent===!0)},keystart:Jn(n=>{r.enabled===!0&&n.qSkipRipple!==!0&&Tt(n,r.modifiers.keyCodes)===!0&&n.type===`key${r.modifiers.early===!0?"down":"up"}`&&ys(n,e,r,!0)},300)};Ss(r,t),e.__qripple=r,dt(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){let o=e.__qripple;o!==void 0&&(o.enabled=t.value!==!1,o.enabled===!0&&Object(t.value)===t.value&&Ss(o,t))}},beforeUnmount(e){let t=e.__qripple;t!==void 0&&(t.abort.forEach(o=>{o()}),qt(t,"main"),delete e._qripple)}});var Zr={none:0,xs:4,sm:8,md:16,lg:24,xl:32},jv={xs:8,sm:10,md:14,lg:20,xl:24},Uv=["button","submit","reset"],Kv=/[^\s]\/[^\s]/,Pl=["flat","outline","push","unelevated"];function Ii(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}function Hi(e){let t=Ii(e);return t!==void 0?{[t]:!0}:{}}var Qi={...Ft,...Rl,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Pl.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:{...Yn.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},xs={...Qi,round:Boolean};function _s(e){let t=Dt(e,jv),o=Xn(e),{hasRouterLink:r,hasLink:n,linkTag:a,linkAttrs:l,navigateOnClick:u}=rn({fallbackTag:"button"}),d=s(()=>{let y=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},y,{padding:e.padding.split(/\s+/).map(k=>k in Zr?Zr[k]+"px":k).join(" "),minWidth:"0",minHeight:"0"}):y}),f=s(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=s(()=>e.disable!==!0&&e.loading!==!0),h=s(()=>c.value===!0?e.tabindex||0:-1),v=s(()=>Ii(e,"standard")),m=s(()=>{let y={tabindex:h.value};return n.value===!0?Object.assign(y,l.value):Uv.includes(e.type)===!0&&(y.type=e.type),a.value==="a"?(e.disable===!0?y["aria-disabled"]="true":y.href===void 0&&(y.role="button"),r.value!==!0&&Kv.test(e.type)===!0&&(y.type=e.type)):e.disable===!0&&(y.disabled="",y["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(y,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),y}),g=s(()=>{let y;e.color!==void 0?e.flat===!0||e.outline===!0?y=`text-${e.textColor||e.color}`:y=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(y=`text-${e.textColor}`);let k=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${v.value} q-btn--${k}`+(y!==void 0?" "+y:"")+(c.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":"")}),x=s(()=>o.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:d,innerClasses:x,attributes:m,hasLink:n,linkTag:a,navigateOnClick:u,isActionable:c}}var{passiveCapture:mo}=et,er=null,tr=null,or=null,Ie=A({name:"QBtn",props:{...xs,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{classes:n,style:a,innerClasses:l,attributes:u,hasLink:d,linkTag:f,navigateOnClick:c,isActionable:h}=_s(e),v=q(null),m=q(null),g=null,x,y=null,k=s(()=>e.label!==void 0&&e.label!==null&&e.label!==""),S=s(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:d.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),b=s(()=>({center:e.round})),p=s(()=>{let T=Math.max(0,Math.min(100,e.percentage));return T>0?{transition:"transform 0.6s",transform:`translateX(${T-100}%)`}:{}}),_=s(()=>{if(e.loading===!0)return{onMousedown:C,onTouchstart:C,onClick:C,onKeydown:C,onKeyup:C};if(h.value===!0){let T={onClick:L,onKeydown:V,onMousedown:E};if(r.$q.platform.has.touch===!0){let G=e.onTouchstart!==void 0?"":"Passive";T[`onTouchstart${G}`]=F}return T}return{onClick:qe}}),$=s(()=>({ref:v,class:"q-btn q-btn-item non-selectable no-outline "+n.value,style:a.value,...u.value,..._.value}));function L(T){if(v.value!==null){if(T!==void 0){if(T.defaultPrevented===!0)return;let G=document.activeElement;if(e.type==="submit"&&G!==document.body&&v.value.contains(G)===!1&&G.contains(v.value)===!1){v.value.focus();let X=()=>{document.removeEventListener("keydown",qe,!0),document.removeEventListener("keyup",X,mo),v.value!==null&&v.value.removeEventListener("blur",X,mo)};document.addEventListener("keydown",qe,!0),document.addEventListener("keyup",X,mo),v.value.addEventListener("blur",X,mo)}}c(T)}}function V(T){v.value!==null&&(o("keydown",T),Tt(T,[13,32])===!0&&tr!==v.value&&(tr!==null&&M(),T.defaultPrevented!==!0&&(v.value.focus(),tr=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("keyup",D,!0),v.value.addEventListener("blur",D,mo)),qe(T)))}function F(T){v.value!==null&&(o("touchstart",T),T.defaultPrevented!==!0&&(er!==v.value&&(er!==null&&M(),er=v.value,g=T.target,g.addEventListener("touchcancel",D,mo),g.addEventListener("touchend",D,mo)),x=!0,y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,x=!1},200)))}function E(T){v.value!==null&&(T.qSkipRipple=x===!0,o("mousedown",T),T.defaultPrevented!==!0&&or!==v.value&&(or!==null&&M(),or=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("mouseup",D,mo)))}function D(T){if(v.value!==null&&!(T!==void 0&&T.type==="blur"&&document.activeElement===v.value)){if(T!==void 0&&T.type==="keyup"){if(tr===v.value&&Tt(T,[13,32])===!0){let G=new MouseEvent("click",T);G.qKeyEvent=!0,T.defaultPrevented===!0&&ft(G),T.cancelBubble===!0&&it(G),v.value.dispatchEvent(G),qe(T),T.qKeyEvent=!0}o("keyup",T)}M()}}function M(T){let G=m.value;T!==!0&&(er===v.value||or===v.value)&&G!==null&&G!==document.activeElement&&(G.setAttribute("tabindex",-1),G.focus()),er===v.value&&(g!==null&&(g.removeEventListener("touchcancel",D,mo),g.removeEventListener("touchend",D,mo)),er=g=null),or===v.value&&(document.removeEventListener("mouseup",D,mo),or=null),tr===v.value&&(document.removeEventListener("keyup",D,!0),v.value!==null&&v.value.removeEventListener("blur",D,mo),tr=null),v.value!==null&&v.value.classList.remove("q-btn--active")}function C(T){qe(T),T.qSkipRipple=!0}return Se(()=>{M(!0)}),Object.assign(r,{click:T=>{h.value===!0&&L(T)}}),()=>{let T=[];e.icon!==void 0&&T.push(i(Pe,{name:e.icon,left:e.stack!==!0&&k.value===!0,role:"img","aria-hidden":"true"})),k.value===!0&&T.push(i("span",{class:"block"},[e.label])),T=Ge(t.default,T),e.iconRight!==void 0&&e.round===!1&&T.push(i(Pe,{name:e.iconRight,right:e.stack!==!0&&k.value===!0,role:"img","aria-hidden":"true"}));let G=[i("span",{class:"q-focus-helper",ref:m})];return e.loading===!0&&e.percentage!==void 0&&G.push(i("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[i("span",{class:"q-btn__progress-indicator fit block",style:p.value})])),G.push(i("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},T)),e.loading!==null&&G.push(i(lt,{name:"q-transition--fade"},()=>e.loading===!0?[i("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[i(wt)])]:null)),Et(i(f.value,$.value,G),[[$o,S.value,void 0,b.value]])}}});var nr=A({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){let o=s(()=>{let r=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter(n=>e[n]===!0).map(n=>`q-btn-group--${n}`).join(" ");return`q-btn-group row no-wrap${r.length!==0?" "+r:""}`+(e.spread===!0?" q-btn-group--spread":" inline")});return()=>i("div",{class:o.value},re(t.default))}});function Ot(){if(window.getSelection!==void 0){let e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),Ro.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}var Al={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},Ni={...Al,contextMenu:Boolean};function rr({showing:e,avoidEmit:t,configureAnchorEl:o}){let{props:r,proxy:n,emit:a}=U(),l=q(null),u=null;function d(m){return l.value===null?!1:m===void 0||m.touches===void 0||m.touches.length<=1}let f={};o===void 0&&(Object.assign(f,{hide(m){n.hide(m)},toggle(m){n.toggle(m),m.qAnchorHandled=!0},toggleKey(m){Tt(m,13)===!0&&f.toggle(m)},contextClick(m){n.hide(m),ft(m),$e(()=>{n.show(m),m.qAnchorHandled=!0})},prevent:ft,mobileTouch(m){if(f.mobileCleanup(m),d(m)!==!0)return;n.hide(m),l.value.classList.add("non-selectable");let g=m.target;dt(f,"anchor",[[g,"touchmove","mobileCleanup","passive"],[g,"touchend","mobileCleanup","passive"],[g,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","prevent","notPassive"]]),u=setTimeout(()=>{u=null,n.show(m),m.qAnchorHandled=!0},300)},mobileCleanup(m){l.value.classList.remove("non-selectable"),u!==null&&(clearTimeout(u),u=null),e.value===!0&&m!==void 0&&Ot()}}),o=function(m=r.contextMenu){if(r.noParentEvent===!0||l.value===null)return;let g;m===!0?n.$q.platform.is.mobile===!0?g=[[l.value,"touchstart","mobileTouch","passive"]]:g=[[l.value,"mousedown","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:g=[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],dt(f,"anchor",g)});function c(){qt(f,"anchor")}function h(m){for(l.value=m;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;o()}function v(){if(r.target===!1||r.target===""||n.$el.parentNode===null)l.value=null;else if(r.target===!0)h(n.$el.parentNode);else{let m=r.target;if(typeof r.target=="string")try{m=document.querySelector(r.target)}catch{m=void 0}m!=null?(l.value=m.$el||m,o()):(l.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return Y(()=>r.contextMenu,m=>{l.value!==null&&(c(),o(m))}),Y(()=>r.target,()=>{l.value!==null&&c(),v()}),Y(()=>r.noParentEvent,m=>{l.value!==null&&(m===!0?c():o())}),Ne(()=>{v(),t!==!0&&r.modelValue===!0&&l.value===null&&a("update:modelValue",!1)}),Se(()=>{u!==null&&clearTimeout(u),c()}),{anchorEl:l,canShow:d,anchorEvents:f}}function ji(e,t){let o=q(null),r;function n(u,d){let f=`${d!==void 0?"add":"remove"}EventListener`,c=d!==void 0?d:r;u!==window&&u[f]("scroll",c,et.passive),window[f]("scroll",c,et.passive),r=d}function a(){o.value!==null&&(n(o.value),o.value=null)}let l=Y(()=>e.noParentEvent,()=>{o.value!==null&&(a(),t())});return Se(l),{localScrollTarget:o,unconfigureScrollTarget:a,changeScrollEvent:n}}var vo={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},go=["beforeShow","show","beforeHide","hide"];function ho({showing:e,canShow:t,hideOnRouteChange:o,handleShow:r,handleHide:n,processOnMount:a}){let l=U(),{props:u,emit:d,proxy:f}=l,c;function h(S){e.value===!0?g(S):v(S)}function v(S){if(u.disable===!0||S!==void 0&&S.qAnchorHandled===!0||t!==void 0&&t(S)!==!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!0),c=S,$e(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&m(S)}function m(S){e.value!==!0&&(e.value=!0,d("beforeShow",S),r!==void 0?r(S):d("show",S))}function g(S){if(u.disable===!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!1),c=S,$e(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&x(S)}function x(S){e.value!==!1&&(e.value=!1,d("beforeHide",S),n!==void 0?n(S):d("hide",S))}function y(S){u.disable===!0&&S===!0?u["onUpdate:modelValue"]!==void 0&&d("update:modelValue",!1):S===!0!==e.value&&(S===!0?m:x)(c)}Y(()=>u.modelValue,y),o!==void 0&&Zn(l)===!0&&Y(()=>f.$route.fullPath,()=>{o.value===!0&&e.value===!0&&g()}),a===!0&&Ne(()=>{y(u.modelValue)});let k={show:v,hide:g,toggle:h};return Object.assign(f,k),k}var kn=[],Jr=[];function Cs(e){Jr=Jr.filter(t=>t!==e)}function ws(e){Cs(e),Jr.push(e)}function $l(e){Cs(e),Jr.length===0&&kn.length!==0&&(kn[kn.length-1](),kn=[])}function po(e){Jr.length===0?e():kn.push(e)}function ks(e){kn=kn.filter(t=>t!==e)}var ir=[],ei=[],Wv=1,an=document.body;function Eo(e,t){let o=document.createElement("div");if(o.id=t!==void 0?`q-portal--${t}--${Wv++}`:e,Un.globalNodes!==void 0){let r=Un.globalNodes.class;r!==void 0&&(o.className=r)}return an.appendChild(o),ir.push(o),ei.push(t),o}function ar(e){let t=ir.indexOf(e);ir.splice(t,1),ei.splice(t,1),e.remove()}function qs(e){if(e===an)return;if(an=e,an===document.body||ei.reduce((o,r)=>r==="dialog"?o+1:o,0)<2){ir.forEach(o=>{o.contains(an)===!1&&an.appendChild(o)});return}let t=ei.lastIndexOf("dialog");for(let o=0;o<ir.length;o++){let r=ir[o];(o===t||ei[o]!=="dialog")&&r.contains(an)===!1&&an.appendChild(r)}}var ln=[];function Ts(e){return ln.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function El(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Gr(e)}else if(e.__qPortal===!0){let o=Gr(e);return o!==void 0&&o.$options.name==="QPopupProxy"?(e.hide(t),o):e}e=Gr(e)}while(e!=null)}function Ms(e,t,o){for(;o!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(o--,e.$options.name==="QMenu"){e=El(e,t);continue}e.hide(t)}e=Gr(e)}}var Yv=A({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function Xv(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 lr(e,t,o,r){let n=q(!1),a=q(!1),l=null,u={},d=r==="dialog"&&Xv(e);function f(h){if(h===!0){$l(u),a.value=!0;return}a.value=!1,n.value===!1&&(d===!1&&l===null&&(l=Eo(!1,r)),n.value=!0,ln.push(e.proxy),ws(u))}function c(h){if(a.value=!1,h!==!0)return;$l(u),n.value=!1;let v=ln.indexOf(e.proxy);v!==-1&&ln.splice(v,1),l!==null&&(ar(l),l=null)}return Nn(()=>{c(!0)}),e.proxy.__qPortal=!0,st(e.proxy,"contentEl",()=>t.value),{showPortal:f,hidePortal:c,portalIsActive:n,portalIsAccessible:a,renderPortal:()=>d===!0?o():n.value===!0?[i(Eu,{to:l},i(Yv,o))]:void 0}}var bo={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function un(e,t=()=>{},o=()=>{}){return{transitionProps:s(()=>{let r=`q-transition--${e.transitionShow||t()}`,n=`q-transition--${e.transitionHide||o()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${n}-leave-from`,leaveActiveClass:`${n}-leave-active`,leaveToClass:`${n}-leave-to`}}),transitionStyle:s(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function yo(){let e,t=U();function o(){e=void 0}return Pt(o),Se(o),{removeTick:o,registerTick(r){e=r,$e(()=>{e===r&&(Wt(t)===!1&&e(),e=void 0)})}}}function Yt(){let e=null,t=U();function o(){e!==null&&(clearTimeout(e),e=null)}return Pt(o),Se(o),{removeTimeout:o,registerTimeout(r,n){o(e),Wt(t)===!1&&(e=setTimeout(()=>{e=null,r()},n))}}}var eo=[Element,String],Gv=[null,document,document.body,document.scrollingElement,document.documentElement];function Bt(e,t){let o=ps(t);if(o===void 0){if(e==null)return window;o=e.closest(".scroll,.scroll-y,.overflow-auto")}return Gv.includes(o)?window:o}function ur(e){return(e===window?document.body:e).scrollHeight}function Zv(e){return(e===window?document.body:e).scrollWidth}function to(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function sn(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function Fl(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=to(e);if(o<=0){n!==t&&Bl(e,t);return}requestAnimationFrame(a=>{let l=a-r,u=n+(t-n)/Math.max(l,o)*l;Bl(e,u),u!==t&&Fl(e,t,o-l,a)})}function Dl(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=sn(e);if(o<=0){n!==t&&Ll(e,t);return}requestAnimationFrame(a=>{let l=a-r,u=n+(t-n)/Math.max(l,o)*l;Ll(e,u),u!==t&&Dl(e,t,o-l,a)})}function Bl(e,t){if(e===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t);return}e.scrollTop=t}function Ll(e,t){if(e===window){window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}e.scrollLeft=t}function Bo(e,t,o){if(o){Fl(e,t,o);return}Bl(e,t)}function ti(e,t,o){if(o){Dl(e,t,o);return}Ll(e,t)}var Ui;function qn(){if(Ui!==void 0)return Ui;let e=document.createElement("p"),t=document.createElement("div");wn(e,{width:"100%",height:"200px"}),wn(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);let o=e.offsetWidth;t.style.overflow="scroll";let r=e.offsetWidth;return o===r&&(r=t.clientWidth),t.remove(),Ui=o-r,Ui}function Vl(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"]))}var Rs={getScrollTarget:Bt,getScrollHeight:ur,getScrollWidth:Zv,getVerticalScrollPosition:to,getHorizontalScrollPosition:sn,animVerticalScrollTo:Fl,animHorizontalScrollTo:Dl,setVerticalScrollPosition:Bo,setHorizontalScrollPosition:ti,getScrollbarWidth:qn,hasScrollbar:Vl};var Tn=[],sr;function Jv(e){sr=e.keyCode===27}function eg(){sr===!0&&(sr=!1)}function tg(e){sr===!0&&(sr=!1,Tt(e,27)===!0&&Tn[Tn.length-1](e))}function Ps(e){window[e]("keydown",Jv),window[e]("blur",eg),window[e]("keyup",tg),sr=!1}function Ki(e){Re.is.desktop===!0&&(Tn.push(e),Tn.length===1&&Ps("addEventListener"))}function cr(e){let t=Tn.indexOf(e);t!==-1&&(Tn.splice(t,1),Tn.length===0&&Ps("removeEventListener"))}var Mn=[];function As(e){Mn[Mn.length-1](e)}function dr(e){Re.is.desktop===!0&&(Mn.push(e),Mn.length===1&&document.body.addEventListener("focusin",As))}function Rn(e){let t=Mn.indexOf(e);t!==-1&&(Mn.splice(t,1),Mn.length===0&&document.body.removeEventListener("focusin",As))}var fr=null,{notPassiveCapture:Wi}=et,Pn=[];function Yi(e){fr!==null&&(clearTimeout(fr),fr=null);let t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let o=ln.length-1;for(;o>=0;){let r=ln[o].$;if(r.type.name==="QTooltip"){o--;continue}if(r.type.name!=="QDialog")break;if(r.props.seamless!==!0)return;o--}for(let r=Pn.length-1;r>=0;r--){let n=Pn[r];if((n.anchorEl.value===null||n.anchorEl.value.contains(t)===!1)&&(t===document.body||n.innerRef.value!==null&&n.innerRef.value.contains(t)===!1))e.qClickOutside=!0,n.onClickOutside(e);else return}}function Xi(e){Pn.push(e),Pn.length===1&&(document.addEventListener("mousedown",Yi,Wi),document.addEventListener("touchstart",Yi,Wi))}function mr(e){let t=Pn.findIndex(o=>o===e);t!==-1&&(Pn.splice(t,1),Pn.length===0&&(fr!==null&&(clearTimeout(fr),fr=null),document.removeEventListener("mousedown",Yi,Wi),document.removeEventListener("touchstart",Yi,Wi)))}var $s,Es;function vr(e){let 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 Gi(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}var Ol={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Ol[`${e}#ltr`]=e,Ol[`${e}#rtl`]=e});function gr(e,t){let o=e.split(" ");return{vertical:o[0],horizontal:Ol[`${o[1]}#${t===!0?"rtl":"ltr"}`]}}function og(e,t){let{top:o,left:r,right:n,bottom:a,width:l,height:u}=e.getBoundingClientRect();return t!==void 0&&(o-=t[1],r-=t[0],a+=t[1],n+=t[0],l+=t[0],u+=t[1]),{top:o,bottom:a,height:u,left:r,right:n,width:l,middle:r+(n-r)/2,center:o+(a-o)/2}}function ng(e,t,o){let{top:r,left:n}=e.getBoundingClientRect();return r+=t.top,n+=t.left,o!==void 0&&(r+=o[1],n+=o[0]),{top:r,bottom:r+1,height:1,left:n,right:n+1,width:1,middle:n,center:r}}function rg(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Bs(e,t,o,r){return{top:e[o.vertical]-t[r.vertical],left:e[o.horizontal]-t[r.horizontal]}}function oi(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{oi(e,t+1)},10);return}let{targetEl:o,offset:r,anchorEl:n,anchorOrigin:a,selfOrigin:l,absoluteOffset:u,fit:d,cover:f,maxHeight:c,maxWidth:h}=e;if(Re.is.ios===!0&&window.visualViewport!==void 0){let $=document.body.style,{offsetLeft:L,offsetTop:V}=window.visualViewport;L!==$s&&($.setProperty("--q-pe-left",L+"px"),$s=L),V!==Es&&($.setProperty("--q-pe-top",V+"px"),Es=V)}let{scrollLeft:v,scrollTop:m}=o,g=u===void 0?og(n,f===!0?[0,0]:r):ng(n,u,r);Object.assign(o.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:h||"100vw",maxHeight:c||"100vh",visibility:"visible"});let{offsetWidth:x,offsetHeight:y}=o,{elWidth:k,elHeight:S}=d===!0||f===!0?{elWidth:Math.max(g.width,x),elHeight:f===!0?Math.max(g.height,y):y}:{elWidth:x,elHeight:y},b={maxWidth:h,maxHeight:c};(d===!0||f===!0)&&(b.minWidth=g.width+"px",f===!0&&(b.minHeight=g.height+"px")),Object.assign(o.style,b);let p=rg(k,S),_=Bs(g,p,a,l);if(u===void 0||r===void 0)zl(_,g,p,a,l);else{let{top:$,left:L}=_;zl(_,g,p,a,l);let V=!1;if(_.top!==$){V=!0;let F=2*r[1];g.center=g.top-=F,g.bottom-=F+2}if(_.left!==L){V=!0;let F=2*r[0];g.middle=g.left-=F,g.right-=F+2}V===!0&&(_=Bs(g,p,a,l),zl(_,g,p,a,l))}b={top:_.top+"px",left:_.left+"px"},_.maxHeight!==void 0&&(b.maxHeight=_.maxHeight+"px",g.height>_.maxHeight&&(b.minHeight=b.maxHeight)),_.maxWidth!==void 0&&(b.maxWidth=_.maxWidth+"px",g.width>_.maxWidth&&(b.minWidth=b.maxWidth)),Object.assign(o.style,b),o.scrollTop!==m&&(o.scrollTop=m),o.scrollLeft!==v&&(o.scrollLeft=v)}function zl(e,t,o,r,n){let a=o.bottom,l=o.right,u=qn(),d=window.innerHeight-u,f=document.body.clientWidth;if(e.top<0||e.top+a>d)if(n.vertical==="center")e.top=t[r.vertical]>d/2?Math.max(0,d-a):0,e.maxHeight=Math.min(a,d);else if(t[r.vertical]>d/2){let c=Math.min(d,r.vertical==="center"?t.center:r.vertical===n.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,c),e.top=Math.max(0,c-a)}else e.top=Math.max(0,r.vertical==="center"?t.center:r.vertical===n.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,d-e.top);if(e.left<0||e.left+l>f)if(e.maxWidth=Math.min(l,f),n.horizontal==="middle")e.left=t[r.horizontal]>f/2?Math.max(0,f-l):0;else if(t[r.horizontal]>f/2){let c=Math.min(f,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.right:t.left);e.maxWidth=Math.min(l,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.left:t.right),e.maxWidth=Math.min(l,f-e.left)}var Lo=A({name:"QMenu",inheritAttrs:!1,props:{...Ni,...vo,..._e,...bo,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:vr},self:{type:String,validator:vr},offset:{type:Array,validator:Gi},scrollTarget:eo,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...go,"click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=null,a,l,u,d=U(),{proxy:f}=d,{$q:c}=f,h=q(null),v=q(!1),m=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),g=Ce(e,c),{registerTick:x,removeTick:y}=yo(),{registerTimeout:k}=Yt(),{transitionProps:S,transitionStyle:b}=un(e),{localScrollTarget:p,changeScrollEvent:_,unconfigureScrollTarget:$}=ji(e,W),{anchorEl:L,canShow:V}=rr({showing:v}),{hide:F}=ho({showing:v,canShow:V,handleShow:ce,handleHide:H,hideOnRouteChange:m,processOnMount:!0}),{showPortal:E,hidePortal:D,renderPortal:M}=lr(d,h,ae,"menu"),C={anchorEl:L,innerRef:h,onClickOutside(Q){if(e.persistent!==!0&&v.value===!0)return F(Q),(Q.type==="touchstart"||Q.target.classList.contains("q-dialog__backdrop"))&&qe(Q),!0}},T=s(()=>gr(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),G=s(()=>e.cover===!0?T.value:gr(e.self||"top start",c.lang.rtl)),X=s(()=>(e.square===!0?" q-menu--square":"")+(g.value===!0?" q-menu--dark q-dark":"")),B=s(()=>e.autoClose===!0?{onClick:j}:{}),O=s(()=>v.value===!0&&e.persistent!==!0);Y(O,Q=>{Q===!0?(Ki(R),Xi(C)):(cr(R),mr(C))});function K(){po(()=>{let Q=h.value;Q&&Q.contains(document.activeElement)!==!0&&(Q=Q.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||Q.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||Q.querySelector("[autofocus], [data-autofocus]")||Q,Q.focus({preventScroll:!0}))})}function ce(Q){if(n=e.noRefocus===!1?document.activeElement:null,dr(le),E(),W(),a=void 0,Q!==void 0&&(e.touchPosition||e.contextMenu)){let me=_t(Q);if(me.left!==void 0){let{top:Me,left:Z}=L.value.getBoundingClientRect();a={left:me.left-Z,top:me.top-Me}}}l===void 0&&(l=Y(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,I)),e.noFocus!==!0&&document.activeElement.blur(),x(()=>{I(),e.noFocus!==!0&&K()}),k(()=>{c.platform.is.ios===!0&&(u=e.autoClose,h.value.click()),I(),E(!0),o("show",Q)},e.transitionDuration)}function H(Q){y(),D(),w(!0),n!==null&&(Q===void 0||Q.qClickOutside!==!0)&&(((Q&&Q.type.indexOf("key")===0?n.closest('[tabindex]:not([tabindex^="-"])'):void 0)||n).focus(),n=null),k(()=>{D(!0),o("hide",Q)},e.transitionDuration)}function w(Q){a=void 0,l!==void 0&&(l(),l=void 0),(Q===!0||v.value===!0)&&(Rn(le),$(),mr(C),cr(R)),Q!==!0&&(n=null)}function W(){(L.value!==null||e.scrollTarget!==void 0)&&(p.value=Bt(L.value,e.scrollTarget),_(p.value,I))}function j(Q){u!==!0?(El(f,Q),o("click",Q)):u=!1}function le(Q){O.value===!0&&e.noFocus!==!0&&Oi(h.value,Q.target)!==!0&&K()}function R(Q){o("escapeKey"),F(Q)}function I(){oi({targetEl:h.value,offset:e.offset,anchorEl:L.value,anchorOrigin:T.value,selfOrigin:G.value,absoluteOffset:a,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function ae(){return i(lt,S.value,()=>v.value===!0?i("div",{role:"menu",...r,ref:h,tabindex:-1,class:["q-menu q-position-engine scroll"+X.value,r.class],style:[r.style,b.value],...B.value},re(t.default)):null)}return Se(w),Object.assign(f,{focus:K,updatePosition:I}),M}});var Il,Zi=0,It=new Array(256);for(let e=0;e<256;e++)It[e]=(e+256).toString(16).substring(1);var ig=(()=>{let 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=>{let o=new Uint8Array(t);return e.getRandomValues(o),o}}return t=>{let o=[];for(let r=t;r>0;r--)o.push(Math.floor(Math.random()*256));return o}})(),Ls=4096;function Fo(){(Il===void 0||Zi+16>Ls)&&(Zi=0,Il=ig(Ls));let e=Array.prototype.slice.call(Il,Zi,Zi+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,It[e[0]]+It[e[1]]+It[e[2]]+It[e[3]]+"-"+It[e[4]]+It[e[5]]+"-"+It[e[6]]+It[e[7]]+"-"+It[e[8]]+It[e[9]]+"-"+It[e[10]]+It[e[11]]+It[e[12]]+It[e[13]]+It[e[14]]+It[e[15]]}function ag(e){return e??null}function Fs(e,t){return e??(t===!0?`f_${Fo()}`:null)}function Do({getValue:e,required:t=!0}={}){if(xt.value===!0){let o=e!==void 0?q(ag(e())):q(null);return t===!0&&o.value===null&&Ne(()=>{o.value=`f_${Fo()}`}),e!==void 0&&Y(e,r=>{o.value=Fs(r,t)}),o}return e!==void 0?s(()=>Fs(e(),t)):q(`f_${Fo()}`)}var lg=Object.keys(Qi);function ug(e){return lg.reduce((t,o)=>{let r=e[o];return r!==void 0&&(t[o]=r),t},{})}var Ji=A({name:"QBtnDropdown",props:{...Qi,...bo,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),n=q(e.modelValue),a=q(null),l=Do(),u=s(()=>{let p={"aria-expanded":n.value===!0?"true":"false","aria-haspopup":"true","aria-controls":l.value,"aria-label":e.toggleAriaLabel||r.$q.lang.label[n.value===!0?"collapse":"expand"](e.label)};return(e.disable===!0||e.split===!1&&e.disableMainBtn===!0||e.disableDropdown===!0)&&(p["aria-disabled"]="true"),p}),d=s(()=>"q-btn-dropdown__arrow"+(n.value===!0&&e.noIconAnimation===!1?" rotate-180":"")+(e.split===!1?" q-btn-dropdown__arrow-container":"")),f=s(()=>Hi(e)),c=s(()=>ug(e));Y(()=>e.modelValue,p=>{a.value!==null&&a.value[p?"show":"hide"]()}),Y(()=>e.split,b);function h(p){n.value=!0,o("beforeShow",p)}function v(p){o("show",p),o("update:modelValue",!0)}function m(p){n.value=!1,o("beforeHide",p)}function g(p){o("hide",p),o("update:modelValue",!1)}function x(p){o("click",p)}function y(p){it(p),b(),o("click",p)}function k(p){a.value!==null&&a.value.toggle(p)}function S(p){a.value!==null&&a.value.show(p)}function b(p){a.value!==null&&a.value.hide(p)}return Object.assign(r,{show:S,hide:b,toggle:k}),Ne(()=>{e.modelValue===!0&&S()}),()=>{let p=[i(Pe,{class:d.value,name:e.dropdownIcon||r.$q.iconSet.arrow.dropdown})];return e.disableDropdown!==!0&&p.push(i(Lo,{ref:a,id:l.value,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:h,onShow:v,onBeforeHide:m,onHide:g},t.default)),e.split===!1?i(Ie,{class:"q-btn-dropdown q-btn-dropdown--simple",...c.value,...u.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:x},{default:()=>re(t.label,[]).concat(p),loading:t.loading}):i(nr,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:e.rounded,square:e.square,...f.value,glossy:e.glossy,stretch:e.stretch},()=>[i(Ie,{class:"q-btn-dropdown--current",...c.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:y},{default:t.label,loading:t.loading}),i(Ie,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...u.value,...f.value,disable:e.disable===!0||e.disableDropdown===!0,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},()=>p)])}}});var kt={name:String};function Vo(e){return s(()=>({type:"hidden",name:e.name,value:e.modelValue}))}function Xt(e={}){return(t,o,r)=>{t[o](i("input",{class:"hidden"+(r||""),...e.value}))}}function hr(e){return s(()=>e.name||e.for)}var Ds=A({name:"QBtnToggle",props:{...kt,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every(t=>("label"in t||"icon"in t||"slot"in t)&&"value"in t)},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","clear","click"],setup(e,{slots:t,emit:o}){let r=s(()=>e.options.find(v=>v.value===e.modelValue)!==void 0),n=s(()=>({type:"hidden",name:e.name,value:e.modelValue})),a=Xt(n),l=s(()=>Hi(e)),u=s(()=>({rounded:e.rounded,dense:e.dense,...l.value})),d=s(()=>e.options.map((v,m)=>{let{attrs:g,value:x,slot:y,...k}=v;return{slot:y,props:{key:m,"aria-pressed":x===e.modelValue?"true":"false",...g,...k,...u.value,disable:e.disable===!0||k.disable===!0,color:x===e.modelValue?c(k,"toggleColor"):c(k,"color"),textColor:x===e.modelValue?c(k,"toggleTextColor"):c(k,"textColor"),noCaps:c(k,"noCaps")===!0,noWrap:c(k,"noWrap")===!0,size:c(k,"size"),padding:c(k,"padding"),ripple:c(k,"ripple"),stack:c(k,"stack")===!0,stretch:c(k,"stretch")===!0,onClick(S){f(x,v,S)}}}}));function f(v,m,g){e.readonly!==!0&&(e.modelValue===v?e.clearable===!0&&(o("update:modelValue",null,null),o("clear")):o("update:modelValue",v,m),o("click",g))}function c(v,m){return v[m]===void 0?e[m]:v[m]}function h(){let v=d.value.map(m=>i(Ie,m.props,m.slot!==void 0?t[m.slot]:void 0));return e.name!==void 0&&e.disable!==!0&&r.value===!0&&a(v,"push"),Ge(t.default,v)}return()=>i(nr,{class:"q-btn-toggle",...l.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},h)}});var pr=A({name:"QCard",props:{..._e,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>"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()=>i(e.tag,{class:n.value},re(t.default))}});var xo=A({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){let o=s(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>i(e.tag,{class:o.value},re(t.default))}});var ea=A({name:"QCardActions",props:{...Yn,vertical:Boolean},setup(e,{slots:t}){let o=Xn(e),r=s(()=>`q-card__actions ${o.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>i("div",{class:r.value},re(t.default))}});var Hl={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},sg=Object.keys(Hl);Hl.all=!0;function br(e){let t={};for(let o of sg)e[o]===!0&&(t[o]=!0);return Object.keys(t).length===0?Hl:(t.horizontal===!0?t.left=t.right=!0:t.left===!0&&t.right===!0&&(t.horizontal=!0),t.vertical===!0?t.up=t.down=!0:t.up===!0&&t.down===!0&&(t.vertical=!0),t.horizontal===!0&&t.vertical===!0&&(t.all=!0),t)}var cg=["INPUT","TEXTAREA"];function yr(e,t){return t.event===void 0&&e.target!==void 0&&e.target.draggable!==!0&&typeof t.handler=="function"&&cg.includes(e.target.nodeName.toUpperCase())===!1&&(e.qClonedBy===void 0||e.qClonedBy.indexOf(t.uid)===-1)}function dg(e){let t=[.06,6,50];return typeof e=="string"&&e.length&&e.split(":").forEach((o,r)=>{let n=parseFloat(o);n&&(t[r]=n)}),t}var ta=At({name:"touch-swipe",beforeMount(e,{value:t,arg:o,modifiers:r}){if(r.mouse!==!0&&Re.has.touch!==!0)return;let n=r.mouseCapture===!0?"Capture":"",a={handler:t,sensitivity:dg(o),direction:br(r),noop:We,mouseStart(l){yr(l,a)&&Ko(l)&&(dt(a,"temp",[[document,"mousemove","move",`notPassive${n}`],[document,"mouseup","end","notPassiveCapture"]]),a.start(l,!0))},touchStart(l){if(yr(l,a)){let u=l.target;dt(a,"temp",[[u,"touchmove","move","notPassiveCapture"],[u,"touchcancel","end","notPassiveCapture"],[u,"touchend","end","notPassiveCapture"]]),a.start(l)}},start(l,u){Re.is.firefox===!0&&Wo(e,!0);let d=_t(l);a.event={x:d.left,y:d.top,time:Date.now(),mouse:u===!0,dir:!1}},move(l){if(a.event===void 0)return;if(a.event.dir!==!1){qe(l);return}let u=Date.now()-a.event.time;if(u===0)return;let d=_t(l),f=d.left-a.event.x,c=Math.abs(f),h=d.top-a.event.y,v=Math.abs(h);if(a.event.mouse!==!0){if(c<a.sensitivity[1]&&v<a.sensitivity[1]){a.end(l);return}}else if(window.getSelection().toString()!==""){a.end(l);return}else if(c<a.sensitivity[2]&&v<a.sensitivity[2])return;let m=c/u,g=v/u;a.direction.vertical===!0&&c<v&&c<100&&g>a.sensitivity[0]&&(a.event.dir=h<0?"up":"down"),a.direction.horizontal===!0&&c>v&&v<100&&m>a.sensitivity[0]&&(a.event.dir=f<0?"left":"right"),a.direction.up===!0&&c<v&&h<0&&c<100&&g>a.sensitivity[0]&&(a.event.dir="up"),a.direction.down===!0&&c<v&&h>0&&c<100&&g>a.sensitivity[0]&&(a.event.dir="down"),a.direction.left===!0&&c>v&&f<0&&v<100&&m>a.sensitivity[0]&&(a.event.dir="left"),a.direction.right===!0&&c>v&&f>0&&v<100&&m>a.sensitivity[0]&&(a.event.dir="right"),a.event.dir!==!1?(qe(l),a.event.mouse===!0&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),a.styleCleanup=x=>{a.styleCleanup=void 0,document.body.classList.remove("non-selectable");let y=()=>{document.body.classList.remove("no-pointer-events--children")};x===!0?setTimeout(y,50):y()}),a.handler({evt:l,touch:a.event.mouse!==!0,mouse:a.event.mouse,direction:a.event.dir,duration:u,distance:{x:c,y:v}})):a.end(l)},end(l){a.event!==void 0&&(qt(a,"temp"),Re.is.firefox===!0&&Wo(e,!1),a.styleCleanup!==void 0&&a.styleCleanup(!0),l!==void 0&&a.event.dir!==!1&&qe(l),a.event=void 0)}};if(e.__qtouchswipe=a,r.mouse===!0){let l=r.mouseCapture===!0||r.mousecapture===!0?"Capture":"";dt(a,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}Re.has.touch===!0&&dt(a,"main",[[e,"touchstart","touchStart",`passive${r.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchswipe;o!==void 0&&(t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value),o.direction=br(t.modifiers))},beforeUnmount(e){let t=e.__qtouchswipe;t!==void 0&&(qt(t,"main"),qt(t,"temp"),Re.is.firefox===!0&&Wo(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchswipe)}});function So(){let e=Object.create(null);return{getCache:(t,o)=>e[t]===void 0?e[t]=typeof o=="function"?o():o:e[t],setCache(t,o){e[t]=o},hasCache(t){return Object.hasOwnProperty.call(e,t)},clearCache(t){t!==void 0?delete e[t]:e=Object.create(null)}}}var Sr={name:{required:!0},disable:Boolean},Vs={setup(e,{slots:t}){return()=>i("div",{class:"q-panel scroll",role:"tabpanel"},re(t.default))}},xr={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},_r=["update:modelValue","beforeTransition","transition"];function Cr(){let{props:e,emit:t,proxy:o}=U(),{getCache:r}=So(),n,a,l=q(null),u=q(null);function d(C){let T=e.vertical===!0?"up":"left";L((o.$q.lang.rtl===!0?-1:1)*(C.direction===T?1:-1))}let f=s(()=>[[ta,d,void 0,{horizontal:e.vertical!==!0,vertical:e.vertical,mouse:!0}]]),c=s(()=>e.transitionPrev||`slide-${e.vertical===!0?"down":"right"}`),h=s(()=>e.transitionNext||`slide-${e.vertical===!0?"up":"left"}`),v=s(()=>`--q-transition-duration: ${e.transitionDuration}ms`),m=s(()=>typeof e.modelValue=="string"||typeof e.modelValue=="number"?e.modelValue:String(e.modelValue)),g=s(()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax})),x=s(()=>e.keepAliveInclude!==void 0||e.keepAliveExclude!==void 0);Y(()=>e.modelValue,(C,T)=>{let G=b(C)===!0?p(C):-1;a!==!0&&$(G===-1?0:G<p(T)?-1:1),l.value!==G&&(l.value=G,t("beforeTransition",C,T),$e(()=>{t("transition",C,T)}))});function y(){L(1)}function k(){L(-1)}function S(C){t("update:modelValue",C)}function b(C){return C!=null&&C!==""}function p(C){return n.findIndex(T=>T.props.name===C&&T.props.disable!==""&&T.props.disable!==!0)}function _(){return n.filter(C=>C.props.disable!==""&&C.props.disable!==!0)}function $(C){let T=C!==0&&e.animated===!0&&l.value!==-1?"q-transition--"+(C===-1?c.value:h.value):null;u.value!==T&&(u.value=T)}function L(C,T=l.value){let G=T+C;for(;G!==-1&&G<n.length;){let X=n[G];if(X!==void 0&&X.props.disable!==""&&X.props.disable!==!0){$(C),a=!0,t("update:modelValue",X.props.name),setTimeout(()=>{a=!1});return}G+=C}e.infinite===!0&&n.length!==0&&T!==-1&&T!==n.length&&L(C,C===-1?n.length:-1)}function V(){let C=p(e.modelValue);return l.value!==C&&(l.value=C),!0}function F(){let C=b(e.modelValue)===!0&&V()&&n[l.value];return e.keepAlive===!0?[i(wi,g.value,[i(x.value===!0?r(m.value,()=>({...Vs,name:m.value})):Vs,{key:m.value,style:v.value},()=>C)])]:[i("div",{class:"q-panel scroll",style:v.value,key:m.value,role:"tabpanel"},[C])]}function E(){if(n.length!==0)return e.animated===!0?[i(lt,{name:u.value},F)]:F()}function D(C){return n=Gn(re(C.default,[])).filter(T=>T.props!==null&&T.props.slot===void 0&&b(T.props.name)===!0),n.length}function M(){return n}return Object.assign(o,{next:y,previous:k,goTo:S}),{panelIndex:l,panelDirectives:f,updatePanelsList:D,updatePanelIndex:V,getPanelContent:E,getEnabledPanels:_,getPanels:M,isValidPanelName:b,keepAliveProps:g,needsUniqueKeepAliveWrapper:x,goToPanelByOffset:L,goToPanel:S,nextPanel:y,previousPanel:k}}var ni=0,wr={fullscreen:Boolean,noRouteFullscreenExit:Boolean},kr=["update:fullscreen","fullscreen"];function qr(){let e=U(),{props:t,emit:o,proxy:r}=e,n,a,l,u=q(!1);Zn(e)===!0&&Y(()=>r.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&c()}),Y(()=>t.fullscreen,h=>{u.value!==h&&d()}),Y(u,h=>{o("update:fullscreen",h),o("fullscreen",h)});function d(){u.value===!0?c():f()}function f(){u.value!==!0&&(u.value=!0,l=r.$el.parentNode,l.replaceChild(a,r.$el),document.body.appendChild(r.$el),ni++,ni===1&&document.body.classList.add("q-body--fullscreen-mixin"),n={handler:c},on.add(n))}function c(){u.value===!0&&(n!==void 0&&(on.remove(n),n=void 0),l.replaceChild(r.$el,a),u.value=!1,ni=Math.max(0,ni-1),ni===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),r.$el.scrollIntoView!==void 0&&setTimeout(()=>{r.$el.scrollIntoView()})))}return Qn(()=>{a=document.createElement("span")}),Ne(()=>{t.fullscreen===!0&&f()}),Se(c),Object.assign(r,{toggleFullscreen:d,setFullscreen:f,exitFullscreen:c}),{inFullscreen:u,toggleFullscreen:d}}var fg=["top","right","bottom","left"],mg=["regular","flat","outline","push","unelevated"],zs=A({name:"QCarousel",props:{..._e,...xr,...wr,transitionPrev:{type:String,default:"fade"},transitionNext:{type:String,default:"fade"},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>mg.includes(e),default:"flat"},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>fg.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...kr,..._r],setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=null,a,{updatePanelsList:l,getPanelContent:u,panelDirectives:d,goToPanel:f,previousPanel:c,nextPanel:h,getEnabledPanels:v,panelIndex:m}=Cr(),{inFullscreen:g}=qr(),x=s(()=>g.value!==!0&&e.height!==void 0?{height:e.height}:{}),y=s(()=>e.vertical===!0?"vertical":"horizontal"),k=s(()=>e.navigationPosition||(e.vertical===!0?"right":"bottom")),S=s(()=>`q-carousel q-panel-parent q-carousel--with${e.padding===!0?"":"out"}-padding`+(g.value===!0?" fullscreen":"")+(r.value===!0?" q-carousel--dark q-dark":"")+(e.arrows===!0?` q-carousel--arrows-${y.value}`:"")+(e.navigation===!0?` q-carousel--navigation-${k.value}`:"")),b=s(()=>{let E=[e.prevIcon||o.iconSet.carousel[e.vertical===!0?"up":"left"],e.nextIcon||o.iconSet.carousel[e.vertical===!0?"down":"right"]];return e.vertical===!1&&o.lang.rtl===!0?E.reverse():E}),p=s(()=>e.navigationIcon||o.iconSet.carousel.navigationIcon),_=s(()=>e.navigationActiveIcon||p.value),$=s(()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0}));Y(()=>e.modelValue,()=>{e.autoplay&&L()}),Y(()=>e.autoplay,E=>{E?L():n!==null&&(clearTimeout(n),n=null)});function L(){let E=fo(e.autoplay)===!0?Math.abs(e.autoplay):5e3;n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,E>=0?h():c()},E)}Ne(()=>{e.autoplay&&L()}),Se(()=>{n!==null&&clearTimeout(n)});function V(E,D){return i("div",{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${E} q-carousel__navigation--${k.value}`+(e.controlColor!==void 0?` text-${e.controlColor}`:"")},[i("div",{class:"q-carousel__navigation-inner flex flex-center no-wrap"},v().map(D))])}function F(){let E=[];if(e.navigation===!0){let D=t["navigation-icon"]!==void 0?t["navigation-icon"]:C=>i(Ie,{key:"nav"+C.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${C.active===!0?"":"in"}active`,...C.btnProps,onClick:C.onClick}),M=a-1;E.push(V("buttons",(C,T)=>{let G=C.props.name,X=m.value===T;return D({index:T,maxIndex:M,name:G,active:X,btnProps:{icon:X===!0?_.value:p.value,size:"sm",...$.value},onClick:()=>{f(G)}})}))}else if(e.thumbnails===!0){let D=e.controlColor!==void 0?` text-${e.controlColor}`:"";E.push(V("thumbnails",M=>{let C=M.props;return i("img",{key:"tmb#"+C.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${C.name===e.modelValue?"":"in"}active`+D,src:C.imgSrc||C["img-src"],onClick:()=>{f(C.name)}})}))}return e.arrows===!0&&m.value>=0&&((e.infinite===!0||m.value>0)&&E.push(i("div",{key:"prev",class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${y.value} absolute flex flex-center`},[i(Ie,{icon:b.value[0],...$.value,onClick:c})])),(e.infinite===!0||m.value<a-1)&&E.push(i("div",{key:"next",class:`q-carousel__control q-carousel__arrow q-carousel__next-arrow q-carousel__next-arrow--${y.value} absolute flex flex-center`},[i(Ie,{icon:b.value[1],...$.value,onClick:h})]))),Ge(t.control,E)}return()=>(a=l(t),i("div",{class:S.value,style:x.value},[Mt("div",{class:"q-carousel__slides-container"},u(),"sl-cont",e.swipeable,()=>d.value)].concat(F())))}});var Os=A({name:"QCarouselSlide",props:{...Sr,imgSrc:String},setup(e,{slots:t}){let o=s(()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{});return()=>i("div",{class:"q-carousel__slide",style:o.value},re(t.default))}});var Is=A({name:"QCarouselControl",props:{position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,default:()=>[18,18],validator:e=>e.length===2}},setup(e,{slots:t}){let o=s(()=>`q-carousel__control absolute absolute-${e.position}`),r=s(()=>({margin:`${e.offset[1]}px ${e.offset[0]}px`}));return()=>i("div",{class:o.value,style:r.value},re(t.default))}});var Hs=A({name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String,labelHtml:Boolean,nameHtml:Boolean,textHtml:Boolean,stampHtml:Boolean},setup(e,{slots:t}){let o=s(()=>e.sent===!0?"sent":"received"),r=s(()=>`q-message-text-content q-message-text-content--${o.value}`+(e.textColor!==void 0?` text-${e.textColor}`:"")),n=s(()=>`q-message-text q-message-text--${o.value}`+(e.bgColor!==void 0?` text-${e.bgColor}`:"")),a=s(()=>"q-message-container row items-end no-wrap"+(e.sent===!0?" reverse":"")),l=s(()=>e.size!==void 0?`col-${e.size}`:""),u=s(()=>({msg:e.textHtml===!0?"innerHTML":"textContent",stamp:e.stampHtml===!0?"innerHTML":"textContent",name:e.nameHtml===!0?"innerHTML":"textContent",label:e.labelHtml===!0?"innerHTML":"textContent"}));function d(c){return t.stamp!==void 0?[c,i("div",{class:"q-message-stamp"},t.stamp())]:e.stamp?[c,i("div",{class:"q-message-stamp",[u.value.stamp]:e.stamp})]:[c]}function f(c,h){let v=h===!0?c.length>1?m=>m:m=>i("div",[m]):m=>i("div",{[u.value.msg]:m});return c.map((m,g)=>i("div",{key:g,class:n.value},[i("div",{class:r.value},d(v(m)))]))}return()=>{let c=[];t.avatar!==void 0?c.push(t.avatar()):e.avatar!==void 0&&c.push(i("img",{class:`q-message-avatar q-message-avatar--${o.value}`,src:e.avatar,"aria-hidden":"true"}));let h=[];t.name!==void 0?h.push(i("div",{class:`q-message-name q-message-name--${o.value}`},t.name())):e.name!==void 0&&h.push(i("div",{class:`q-message-name q-message-name--${o.value}`,[u.value.name]:e.name})),t.default!==void 0?h.push(f(Gn(t.default()),!0)):e.text!==void 0&&h.push(f(e.text)),c.push(i("div",{class:l.value},h));let v=[];return t.label!==void 0?v.push(i("div",{class:"q-message-label"},t.label())):e.label!==void 0&&v.push(i("div",{class:"q-message-label",[u.value.label]:e.label})),v.push(i("div",{class:a.value},c)),i("div",{class:`q-message q-message-${o.value}`},v)}}});function oa(e,t){let o=q(null),r=s(()=>e.disable===!0?null:i("span",{ref:o,class:"no-outline",tabindex:-1}));function n(a){let l=t.value;a!==void 0&&a.type.indexOf("key")===0?l!==null&&document.activeElement!==l&&l.contains(document.activeElement)===!0&&l.focus():o.value!==null&&(a===void 0||l!==null&&l.contains(a.target)===!0)&&o.value.focus()}return{refocusTargetEl:r,refocusTarget:n}}var na={xs:30,sm:35,md:40,lg:50,xl:60};var ra={..._e,...Ft,...kt,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]},ia=["update:modelValue"];function aa(e,t){let{props:o,slots:r,emit:n,proxy:a}=U(),{$q:l}=a,u=Ce(o,l),d=q(null),{refocusTargetEl:f,refocusTarget:c}=oa(o,d),h=Dt(o,na),v=s(()=>o.val!==void 0&&Array.isArray(o.modelValue)),m=s(()=>{let M=co(o.val);return v.value===!0?o.modelValue.findIndex(C=>co(C)===M):-1}),g=s(()=>v.value===!0?m.value!==-1:co(o.modelValue)===co(o.trueValue)),x=s(()=>v.value===!0?m.value===-1:co(o.modelValue)===co(o.falseValue)),y=s(()=>g.value===!1&&x.value===!1),k=s(()=>o.disable===!0?-1:o.tabindex||0),S=s(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(o.disable===!0?" disabled":"")+(u.value===!0?` q-${e}--dark`:"")+(o.dense===!0?` q-${e}--dense`:"")+(o.leftLabel===!0?" reverse":"")),b=s(()=>{let M=g.value===!0?"truthy":x.value===!0?"falsy":"indet",C=o.color!==void 0&&(o.keepColor===!0||(e==="toggle"?g.value===!0:x.value!==!0))?` text-${o.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${M}${C}`}),p=s(()=>{let M={type:"checkbox"};return o.name!==void 0&&Object.assign(M,{".checked":g.value,"^checked":g.value===!0?"checked":void 0,name:o.name,value:v.value===!0?o.val:o.trueValue}),M}),_=Xt(p),$=s(()=>{let M={tabindex:k.value,role:e==="toggle"?"switch":"checkbox","aria-label":o.label,"aria-checked":y.value===!0?"mixed":g.value===!0?"true":"false"};return o.disable===!0&&(M["aria-disabled"]="true"),M});function L(M){M!==void 0&&(qe(M),c(M)),o.disable!==!0&&n("update:modelValue",V(),M)}function V(){if(v.value===!0){if(g.value===!0){let M=o.modelValue.slice();return M.splice(m.value,1),M}return o.modelValue.concat([o.val])}if(g.value===!0){if(o.toggleOrder!=="ft"||o.toggleIndeterminate===!1)return o.falseValue}else if(x.value===!0){if(o.toggleOrder==="ft"||o.toggleIndeterminate===!1)return o.trueValue}else return o.toggleOrder!=="ft"?o.trueValue:o.falseValue;return o.indeterminateValue}function F(M){(M.keyCode===13||M.keyCode===32)&&qe(M)}function E(M){(M.keyCode===13||M.keyCode===32)&&L(M)}let D=t(g,y);return Object.assign(a,{toggle:L}),()=>{let M=D();o.disable!==!0&&_(M,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);let C=[i("div",{class:b.value,style:h.value,"aria-hidden":"true"},M)];f.value!==null&&C.push(f.value);let T=o.label!==void 0?Ge(r.default,[o.label]):re(r.default);return T!==void 0&&C.push(i("div",{class:`q-${e}__label q-anchor--skip`},T)),i("div",{ref:d,class:S.value,...$.value,onClick:L,onKeydown:F,onKeyup:E},C)}}var vg=i("div",{key:"svg",class:"q-checkbox__bg absolute"},[i("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[i("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),i("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),zo=A({name:"QCheckbox",props:ra,emits:ia,setup(e){function t(o,r){let n=s(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>n.value!==null?[i("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[i(Pe,{class:"q-checkbox__icon",name:n.value})])]:[vg]}return aa("checkbox",t)}});var gg={xs:8,sm:10,md:14,lg:20,xl:24},Tr=A({name:"QChip",props:{..._e,...Ft,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:o}){let{proxy:{$q:r}}=U(),n=Ce(e,r),a=Dt(e,gg),l=s(()=>e.selected===!0||e.icon!==void 0),u=s(()=>e.selected===!0?e.iconSelected||r.iconSet.chip.selected:e.icon),d=s(()=>e.iconRemove||r.iconSet.chip.remove),f=s(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=s(()=>{let y=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}`:"")+(y?` text-${y} 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":"")+(f.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(n.value===!0?" q-chip--dark q-dark":"")}),h=s(()=>{let y=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},k={...y,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||r.lang.label.remove};return{chip:y,remove:k}});function v(y){y.keyCode===13&&m(y)}function m(y){e.disable||(o("update:selected",!e.selected),o("click",y))}function g(y){(y.keyCode===void 0||y.keyCode===13)&&(qe(y),e.disable===!1&&(o("update:modelValue",!1),o("remove")))}function x(){let y=[];f.value===!0&&y.push(i("div",{class:"q-focus-helper"})),l.value===!0&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--left",name:u.value}));let k=e.label!==void 0?[i("div",{class:"ellipsis"},[e.label])]:void 0;return y.push(i("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Wn(t.default,k))),e.iconRight&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:d.value,...h.value.remove,onClick:g,onKeyup:g})),y}return()=>{if(e.modelValue===!1)return;let y={class:c.value,style:a.value};return f.value===!0&&Object.assign(y,h.value.chip,{onClick:m,onKeyup:v}),Mt("div",y,x(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[$o,e.ripple]])}}});var ri={...Ft,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var Ql=50,Qs=2*Ql,Ns=Qs*Math.PI,hg=Math.round(Ns*1e3)/1e3,Mr=A({name:"QCircularProgress",props:{...ri,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Dt(e),n=s(()=>{let m=(o.lang.rtl===!0?-1:1)*e.angle;return{transform:e.reverse!==(o.lang.rtl===!0)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-m}deg)`:`rotate3d(0, 0, 1, ${m-90}deg)`}}),a=s(()=>e.instantFeedback!==!0&&e.indeterminate!==!0?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:""),l=s(()=>Qs/(1-e.thickness/2)),u=s(()=>`${l.value/2} ${l.value/2} ${l.value} ${l.value}`),d=s(()=>ot(e.value,e.min,e.max)),f=s(()=>e.max-e.min),c=s(()=>e.thickness/2*l.value),h=s(()=>{let m=(e.max-d.value)/f.value,g=e.rounded===!0&&d.value<e.max&&m<.25?c.value/2*(1-m/.25):0;return Ns*m+g});function v({thickness:m,offset:g,color:x,cls:y,rounded:k}){return i("circle",{class:"q-circular-progress__"+y+(x!==void 0?` text-${x}`:""),style:a.value,fill:"transparent",stroke:"currentColor","stroke-width":m,"stroke-dasharray":hg,"stroke-dashoffset":g,"stroke-linecap":k,cx:l.value,cy:l.value,r:Ql})}return()=>{let m=[];e.centerColor!==void 0&&e.centerColor!=="transparent"&&m.push(i("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:Ql-c.value/2,cx:l.value,cy:l.value})),e.trackColor!==void 0&&e.trackColor!=="transparent"&&m.push(v({cls:"track",thickness:c.value,offset:0,color:e.trackColor})),m.push(v({cls:"circle",thickness:c.value,offset:h.value,color:e.color,rounded:e.rounded===!0?"round":void 0}));let g=[i("svg",{class:"q-circular-progress__svg",style:n.value,viewBox:u.value,"aria-hidden":"true"},m)];return e.showValue===!0&&g.push(i("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},t.default!==void 0?t.default():[i("div",d.value)])),i("div",{class:`q-circular-progress q-circular-progress--${e.indeterminate===!0?"in":""}determinate`,style:r.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.indeterminate===!0?void 0:d.value},Wn(t.internal,g))}}});function Nl(e,t,o){let r=_t(e),n,a=r.left-t.event.x,l=r.top-t.event.y,u=Math.abs(a),d=Math.abs(l),f=t.direction;f.horizontal===!0&&f.vertical!==!0?n=a<0?"left":"right":f.horizontal!==!0&&f.vertical===!0?n=l<0?"up":"down":f.up===!0&&l<0?(n="up",u>d&&(f.left===!0&&a<0?n="left":f.right===!0&&a>0&&(n="right"))):f.down===!0&&l>0?(n="down",u>d&&(f.left===!0&&a<0?n="left":f.right===!0&&a>0&&(n="right"))):f.left===!0&&a<0?(n="left",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down"))):f.right===!0&&a>0&&(n="right",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down")));let c=!1;if(n===void 0&&o===!1){if(t.event.isFirst===!0||t.event.lastDir===void 0)return{};n=t.event.lastDir,c=!0,n==="left"||n==="right"?(r.left-=a,u=0,a=0):(r.top-=l,d=0,l=0)}return{synthetic:c,payload:{evt:e,touch:t.event.mouse!==!0,mouse:t.event.mouse===!0,position:r,direction:n,isFirst:t.event.isFirst,isFinal:o===!0,duration:Date.now()-t.event.time,distance:{x:u,y:d},offset:{x:a,y:l},delta:{x:r.left-t.event.lastX,y:r.top-t.event.lastY}}}}var pg=0,Rt=At({name:"touch-pan",beforeMount(e,{value:t,modifiers:o}){if(o.mouse!==!0&&Re.has.touch!==!0)return;function r(a,l){o.mouse===!0&&l===!0?qe(a):(o.stop===!0&&it(a),o.prevent===!0&&ft(a))}let n={uid:"qvtp_"+pg++,handler:t,modifiers:o,direction:br(o),noop:We,mouseStart(a){yr(a,n)&&Ko(a)&&(dt(n,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),n.start(a,!0))},touchStart(a){if(yr(a,n)){let l=a.target;dt(n,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","passiveCapture"],[l,"touchend","end","passiveCapture"]]),n.start(a)}},start(a,l){if(Re.is.firefox===!0&&Wo(e,!0),n.lastEvt=a,l===!0||o.stop===!0){if(n.direction.all!==!0&&(l!==!0||n.modifiers.mouseAllDir!==!0&&n.modifiers.mousealldir!==!0)){let f=a.type.indexOf("mouse")!==-1?new MouseEvent(a.type,a):new TouchEvent(a.type,a);a.defaultPrevented===!0&&ft(f),a.cancelBubble===!0&&it(f),Object.assign(f,{qKeyEvent:a.qKeyEvent,qClickOutside:a.qClickOutside,qAnchorHandled:a.qAnchorHandled,qClonedBy:a.qClonedBy===void 0?[n.uid]:a.qClonedBy.concat(n.uid)}),n.initialEvent={target:a.target,event:f}}it(a)}let{left:u,top:d}=_t(a);n.event={x:u,y:d,time:Date.now(),mouse:l===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:u,lastY:d}},move(a){if(n.event===void 0)return;let l=_t(a),u=l.left-n.event.x,d=l.top-n.event.y;if(u===0&&d===0)return;n.lastEvt=a;let f=n.event.mouse===!0,c=()=>{r(a,f);let m;o.preserveCursor!==!0&&o.preservecursor!==!0&&(m=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),f===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),n.styleCleanup=g=>{if(n.styleCleanup=void 0,m!==void 0&&(document.documentElement.style.cursor=m),document.body.classList.remove("non-selectable"),f===!0){let x=()=>{document.body.classList.remove("no-pointer-events--children")};g!==void 0?setTimeout(()=>{x(),g()},50):x()}else g!==void 0&&g()}};if(n.event.detected===!0){n.event.isFirst!==!0&&r(a,n.event.mouse);let{payload:m,synthetic:g}=Nl(a,n,!1);m!==void 0&&(n.handler(m)===!1?n.end(a):(n.styleCleanup===void 0&&n.event.isFirst===!0&&c(),n.event.lastX=m.position.left,n.event.lastY=m.position.top,n.event.lastDir=g===!0?void 0:m.direction,n.event.isFirst=!1));return}if(n.direction.all===!0||f===!0&&(n.modifiers.mouseAllDir===!0||n.modifiers.mousealldir===!0)){c(),n.event.detected=!0,n.move(a);return}let h=Math.abs(u),v=Math.abs(d);h!==v&&(n.direction.horizontal===!0&&h>v||n.direction.vertical===!0&&h<v||n.direction.up===!0&&h<v&&d<0||n.direction.down===!0&&h<v&&d>0||n.direction.left===!0&&h>v&&u<0||n.direction.right===!0&&h>v&&u>0?(n.event.detected=!0,n.move(a)):n.end(a,!0))},end(a,l){if(n.event!==void 0){if(qt(n,"temp"),Re.is.firefox===!0&&Wo(e,!1),l===!0)n.styleCleanup!==void 0&&n.styleCleanup(),n.event.detected!==!0&&n.initialEvent!==void 0&&n.initialEvent.target.dispatchEvent(n.initialEvent.event);else if(n.event.detected===!0){n.event.isFirst===!0&&n.handler(Nl(a===void 0?n.lastEvt:a,n).payload);let{payload:u}=Nl(a===void 0?n.lastEvt:a,n,!0),d=()=>{n.handler(u)};n.styleCleanup!==void 0?n.styleCleanup(d):d()}n.event=void 0,n.initialEvent=void 0,n.lastEvt=void 0}}};if(e.__qtouchpan=n,o.mouse===!0){let a=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(n,"main",[[e,"mousedown","mouseStart",`passive${a}`]])}Re.has.touch===!0&&dt(n,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchpan;o!==void 0&&(t.oldValue!==t.value&&(typeof value!="function"&&o.end(),o.handler=t.value),o.direction=br(t.modifiers))},beforeUnmount(e){let t=e.__qtouchpan;t!==void 0&&(t.event!==void 0&&t.end(),qt(t,"main"),qt(t,"temp"),Re.is.firefox===!0&&Wo(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchpan)}});var js="q-slider__marker-labels",bg=e=>({value:e}),yg=({marker:e})=>i("div",{key:e.value,style:e.style,class:e.classes},e.label),ii=[34,37,40,33,39,38],la={..._e,...kt,min:{type:Number,default:0},max:{type:Number,default:100},innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:e=>e>=0},snap:Boolean,vertical:Boolean,reverse:Boolean,color:String,markerLabelsClass:String,label:Boolean,labelColor:String,labelTextColor:String,labelAlways:Boolean,switchLabelSide:Boolean,markers:[Boolean,Number],markerLabels:[Boolean,Array,Object,Function],switchMarkerLabelsSide:Boolean,trackImg:String,trackColor:String,innerTrackImg:String,innerTrackColor:String,selectionColor:String,selectionImg:String,thumbSize:{type:String,default:"20px"},trackSize:{type:String,default:"4px"},disable:Boolean,readonly:Boolean,dense:Boolean,tabindex:[String,Number],thumbColor:String,thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},ua=["pan","update:modelValue","change"];function sa({updateValue:e,updatePosition:t,getDragging:o,formAttrs:r}){let{props:n,emit:a,slots:l,proxy:{$q:u}}=U(),d=Ce(n,u),f=Xt(r),c=q(!1),h=q(!1),v=q(!1),m=q(!1),g=s(()=>n.vertical===!0?"--v":"--h"),x=s(()=>"-"+(n.switchLabelSide===!0?"switched":"standard")),y=s(()=>n.vertical===!0?n.reverse===!0:n.reverse!==(u.lang.rtl===!0)),k=s(()=>isNaN(n.innerMin)===!0||n.innerMin<n.min?n.min:n.innerMin),S=s(()=>isNaN(n.innerMax)===!0||n.innerMax>n.max?n.max:n.innerMax),b=s(()=>n.disable!==!0&&n.readonly!==!0&&k.value<S.value),p=s(()=>{if(n.step===0)return ie=>ie;let J=(String(n.step).trim().split(".")[1]||"").length;return ie=>parseFloat(ie.toFixed(J))}),_=s(()=>n.step===0?1:n.step),$=s(()=>b.value===!0?n.tabindex||0:-1),L=s(()=>n.max-n.min),V=s(()=>S.value-k.value),F=s(()=>Me(k.value)),E=s(()=>Me(S.value)),D=s(()=>n.vertical===!0?y.value===!0?"bottom":"top":y.value===!0?"right":"left"),M=s(()=>n.vertical===!0?"height":"width"),C=s(()=>n.vertical===!0?"width":"height"),T=s(()=>n.vertical===!0?"vertical":"horizontal"),G=s(()=>{let J={role:"slider","aria-valuemin":k.value,"aria-valuemax":S.value,"aria-orientation":T.value,"data-step":n.step};return n.disable===!0?J["aria-disabled"]="true":n.readonly===!0&&(J["aria-readonly"]="true"),J}),X=s(()=>`q-slider q-slider${g.value} q-slider--${c.value===!0?"":"in"}active inline no-wrap `+(n.vertical===!0?"row":"column")+(n.disable===!0?" disabled":" q-slider--enabled"+(b.value===!0?" q-slider--editable":""))+(v.value==="both"?" q-slider--focus":"")+(n.label||n.labelAlways===!0?" q-slider--label":"")+(n.labelAlways===!0?" q-slider--label-always":"")+(d.value===!0?" q-slider--dark":"")+(n.dense===!0?" q-slider--dense q-slider--dense"+g.value:""));function B(J){let ie="q-slider__"+J;return`${ie} ${ie}${g.value} ${ie}${g.value}${x.value}`}function O(J){let ie="q-slider__"+J;return`${ie} ${ie}${g.value}`}let K=s(()=>{let J=n.selectionColor||n.color;return"q-slider__selection absolute"+(J!==void 0?` text-${J}`:"")}),ce=s(()=>O("markers")+" absolute overflow-hidden"),H=s(()=>O("track-container")),w=s(()=>B("pin")),W=s(()=>B("label")),j=s(()=>B("text-container")),le=s(()=>B("marker-labels-container")+(n.markerLabelsClass!==void 0?` ${n.markerLabelsClass}`:"")),R=s(()=>"q-slider__track relative-position no-outline"+(n.trackColor!==void 0?` bg-${n.trackColor}`:"")),I=s(()=>{let J={[C.value]:n.trackSize};return n.trackImg!==void 0&&(J.backgroundImage=`url(${n.trackImg}) !important`),J}),ae=s(()=>"q-slider__inner absolute"+(n.innerTrackColor!==void 0?` bg-${n.innerTrackColor}`:"")),Q=s(()=>{let J=E.value-F.value,ie={[D.value]:`${100*F.value}%`,[M.value]:J===0?"2px":`${100*J}%`};return n.innerTrackImg!==void 0&&(ie.backgroundImage=`url(${n.innerTrackImg}) !important`),ie});function me(J){let{min:ie,max:Ae,step:Ue}=n,ke=ie+J*(Ae-ie);if(Ue>0){let tt=(ke-k.value)%Ue;ke+=(Math.abs(tt)>=Ue/2?(tt<0?-1:1)*Ue:0)-tt}return ke=p.value(ke),ot(ke,k.value,S.value)}function Me(J){return L.value===0?0:(J-n.min)/L.value}function Z(J,ie){let Ae=_t(J),Ue=n.vertical===!0?ot((Ae.top-ie.top)/ie.height,0,1):ot((Ae.left-ie.left)/ie.width,0,1);return ot(y.value===!0?1-Ue:Ue,F.value,E.value)}let de=s(()=>fo(n.markers)===!0?n.markers:_.value),ge=s(()=>{let J=[],ie=de.value,Ae=n.max,Ue=n.min;do J.push(Ue),Ue+=ie;while(Ue<Ae);return J.push(Ae),J}),we=s(()=>{let J=` ${js}${g.value}-`;return js+`${J}${n.switchMarkerLabelsSide===!0?"switched":"standard"}${J}${y.value===!0?"rtl":"ltr"}`}),Le=s(()=>n.markerLabels===!1?null:He(n.markerLabels).map((J,ie)=>({index:ie,value:J.value,label:J.label||J.value,classes:we.value+(J.classes!==void 0?" "+J.classes:""),style:{...Qe(J.value),...J.style||{}}}))),fe=s(()=>({markerList:Le.value,markerMap:ue.value,classes:we.value,getStyle:Qe})),Fe=s(()=>{let J=V.value===0?"2px":100*de.value/V.value;return{...Q.value,backgroundSize:n.vertical===!0?`2px ${J}%`:`${J}% 2px`}});function He(J){if(J===!1)return null;if(J===!0)return ge.value.map(bg);if(typeof J=="function")return ge.value.map(Ae=>{let Ue=J(Ae);return ct(Ue)===!0?{...Ue,value:Ae}:{value:Ae,label:Ue}});let ie=({value:Ae})=>Ae>=n.min&&Ae<=n.max;return Array.isArray(J)===!0?J.map(Ae=>ct(Ae)===!0?Ae:{value:Ae}).filter(ie):Object.keys(J).map(Ae=>{let Ue=J[Ae],ke=Number(Ae);return ct(Ue)===!0?{...Ue,value:ke}:{value:ke,label:Ue}}).filter(ie)}function Qe(J){return{[D.value]:`${100*(J-n.min)/L.value}%`}}let ue=s(()=>{if(n.markerLabels===!1)return null;let J={};return Le.value.forEach(ie=>{J[ie.value]=ie}),J});function ve(){if(l["marker-label-group"]!==void 0)return l["marker-label-group"](fe.value);let J=l["marker-label"]||yg;return Le.value.map(ie=>J({marker:ie,...fe.value}))}let ee=s(()=>[[Rt,be,void 0,{[T.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]);function be(J){J.isFinal===!0?(m.value!==void 0&&(t(J.evt),J.touch===!0&&e(!0),m.value=void 0,a("pan","end")),c.value=!1,v.value=!1):J.isFirst===!0?(m.value=o(J.evt),t(J.evt),e(),c.value=!0,a("pan","start")):(t(J.evt),e())}function De(){v.value=!1}function ze(J){t(J,o(J)),e(),h.value=!0,c.value=!0,document.addEventListener("mouseup",Ve,!0)}function Ve(){h.value=!1,c.value=!1,e(!0),De(),document.removeEventListener("mouseup",Ve,!0)}function at(J){t(J,o(J)),e(!0)}function mt(J){ii.includes(J.keyCode)&&e(!0)}function vt(J){if(n.vertical===!0)return null;let ie=u.lang.rtl!==n.reverse?1-J:J;return{transform:`translateX(calc(${2*ie-1} * ${n.thumbSize} / 2 + ${50-100*ie}%))`}}function oe(J){let ie=s(()=>h.value===!1&&(v.value===J.focusValue||v.value==="both")?" q-slider--focus":""),Ae=s(()=>`q-slider__thumb q-slider__thumb${g.value} q-slider__thumb${g.value}-${y.value===!0?"rtl":"ltr"} absolute non-selectable`+ie.value+(J.thumbColor.value!==void 0?` text-${J.thumbColor.value}`:"")),Ue=s(()=>({width:n.thumbSize,height:n.thumbSize,[D.value]:`${100*J.ratio.value}%`,zIndex:v.value===J.focusValue?2:void 0})),ke=s(()=>J.labelColor.value!==void 0?` text-${J.labelColor.value}`:""),tt=s(()=>vt(J.ratio.value)),pt=s(()=>"q-slider__text"+(J.labelTextColor.value!==void 0?` text-${J.labelTextColor.value}`:""));return()=>{let yt=[i("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[i("path",{d:n.thumbPath})]),i("div",{class:"q-slider__focus-ring fit"})];return(n.label===!0||n.labelAlways===!0)&&(yt.push(i("div",{class:w.value+" absolute fit no-pointer-events"+ke.value},[i("div",{class:W.value,style:{minWidth:n.thumbSize}},[i("div",{class:j.value,style:tt.value},[i("span",{class:pt.value},J.label.value)])])])),n.name!==void 0&&n.disable!==!0&&f(yt,"push")),i("div",{class:Ae.value,style:Ue.value,...J.getNodeData()},yt)}}function se(J,ie,Ae,Ue){let ke=[];n.innerTrackColor!=="transparent"&&ke.push(i("div",{key:"inner",class:ae.value,style:Q.value})),n.selectionColor!=="transparent"&&ke.push(i("div",{key:"selection",class:K.value,style:J.value})),n.markers!==!1&&ke.push(i("div",{key:"marker",class:ce.value,style:Fe.value})),Ue(ke);let tt=[Mt("div",{key:"trackC",class:H.value,tabindex:ie.value,...Ae.value},[i("div",{class:R.value,style:I.value},ke)],"slide",b.value,()=>ee.value)];if(n.markerLabels!==!1){let pt=n.switchMarkerLabelsSide===!0?"unshift":"push";tt[pt](i("div",{key:"markerL",class:le.value},ve()))}return tt}return Se(()=>{document.removeEventListener("mouseup",Ve,!0)}),{state:{active:c,focus:v,preventFocus:h,dragging:m,editable:b,classes:X,tabindex:$,attributes:G,roundValueFn:p,keyStep:_,trackLen:L,innerMin:k,innerMinRatio:F,innerMax:S,innerMaxRatio:E,positionProp:D,sizeProp:M,isReversed:y},methods:{onActivate:ze,onMobileClick:at,onBlur:De,onKeyup:mt,getContent:se,getThumbRenderFn:oe,convertRatioToModel:me,convertModelToRatio:Me,getDraggingRatio:Z}}}var Sg=()=>({}),Jo=A({name:"QSlider",props:{...la,modelValue:{required:!0,default:null,validator:e=>typeof e=="number"||e===null},labelValue:[String,Number]},emits:ua,setup(e,{emit:t}){let{proxy:{$q:o}}=U(),{state:r,methods:n}=sa({updateValue:g,updatePosition:y,getDragging:x,formAttrs:Vo(e)}),a=q(null),l=q(0),u=q(0);function d(){u.value=e.modelValue===null?r.innerMin.value:ot(e.modelValue,r.innerMin.value,r.innerMax.value)}Y(()=>`${e.modelValue}|${r.innerMin.value}|${r.innerMax.value}`,d),d();let f=s(()=>n.convertModelToRatio(u.value)),c=s(()=>r.active.value===!0?l.value:f.value),h=s(()=>{let b={[r.positionProp.value]:`${100*r.innerMinRatio.value}%`,[r.sizeProp.value]:`${100*(c.value-r.innerMinRatio.value)}%`};return e.selectionImg!==void 0&&(b.backgroundImage=`url(${e.selectionImg}) !important`),b}),v=n.getThumbRenderFn({focusValue:!0,getNodeData:Sg,ratio:c,label:s(()=>e.labelValue!==void 0?e.labelValue:u.value),thumbColor:s(()=>e.thumbColor||e.color),labelColor:s(()=>e.labelColor),labelTextColor:s(()=>e.labelTextColor)}),m=s(()=>r.editable.value!==!0?{}:o.platform.is.mobile===!0?{onClick:n.onMobileClick}:{onMousedown:n.onActivate,onFocus:k,onBlur:n.onBlur,onKeydown:S,onKeyup:n.onKeyup});function g(b){u.value!==e.modelValue&&t("update:modelValue",u.value),b===!0&&t("change",u.value)}function x(){return a.value.getBoundingClientRect()}function y(b,p=r.dragging.value){let _=n.getDraggingRatio(b,p);u.value=n.convertRatioToModel(_),l.value=e.snap!==!0||e.step===0?_:n.convertModelToRatio(u.value)}function k(){r.focus.value=!0}function S(b){if(!ii.includes(b.keyCode))return;qe(b);let p=([34,33].includes(b.keyCode)?10:1)*r.keyStep.value,_=([34,37,40].includes(b.keyCode)?-1:1)*(r.isReversed.value===!0?-1:1)*(e.vertical===!0?-1:1)*p;u.value=ot(r.roundValueFn.value(u.value+_),r.innerMin.value,r.innerMax.value),g()}return()=>{let b=n.getContent(h,r.tabindex,m,p=>{p.push(v())});return i("div",{ref:a,class:r.classes.value+(e.modelValue===null?" q-slider--no-value":""),...r.attributes.value,"aria-valuenow":e.modelValue},b)}}});function Rr(){let e=q(!xt.value);return e.value===!1&&Ne(()=>{e.value=!0}),{isHydrated:e}}var Ks=typeof ResizeObserver<"u",Us=Ks===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},oo=A({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let o=null,r,n={width:-1,height:-1};function a(d){d===!0||e.debounce===0||e.debounce==="0"?l():o===null&&(o=setTimeout(l,e.debounce))}function l(){if(o!==null&&(clearTimeout(o),o=null),r){let{offsetWidth:d,offsetHeight:f}=r;(d!==n.width||f!==n.height)&&(n={width:d,height:f},t("resize",n))}}let{proxy:u}=U();if(u.trigger=a,Ks===!0){let d,f=c=>{r=u.$el.parentNode,r?(d=new ResizeObserver(a),d.observe(r),l()):c!==!0&&$e(()=>{f(!0)})};return Ne(()=>{f()}),Se(()=>{o!==null&&clearTimeout(o),d!==void 0&&(d.disconnect!==void 0?d.disconnect():r&&d.unobserve(r))}),We}else{let c=function(){o!==null&&(clearTimeout(o),o=null),f!==void 0&&(f.removeEventListener!==void 0&&f.removeEventListener("resize",a,et.passive),f=void 0)},h=function(){c(),r&&r.contentDocument&&(f=r.contentDocument.defaultView,f.addEventListener("resize",a,et.passive),l())},{isHydrated:d}=Rr(),f;return Ne(()=>{$e(()=>{r=u.$el,r&&h()})}),Se(c),()=>{if(d.value===!0)return i("object",{class:"q--avoid-card-border",style:Us.style,tabindex:-1,type:"text/html",data:Us.url,"aria-hidden":"true",onLoad:h})}}}});var An=!1;{let e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});let t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,An=e.scrollLeft>=0,e.remove()}function xg(e,t,o){let r=o===!0?["left","right"]:["top","bottom"];return`absolute-${t===!0?r[0]:r[1]}${e?` text-${e}`:""}`}var _g=["left","center","right","justify"],ai=A({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>_g.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,{registerTick:a}=yo(),{registerTick:l}=yo(),{registerTick:u}=yo(),{registerTimeout:d,removeTimeout:f}=Yt(),{registerTimeout:c,removeTimeout:h}=Yt(),v=q(null),m=q(null),g=q(e.modelValue),x=q(!1),y=q(!0),k=q(!1),S=q(!1),b=[],p=q(0),_=q(!1),$=null,L=null,V,F=s(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:xg(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),E=s(()=>{let ue=p.value,ve=g.value;for(let ee=0;ee<ue;ee++)if(b[ee].name.value===ve)return!0;return!1}),D=s(()=>`q-tabs__content--align-${x.value===!0?"left":S.value===!0?"justify":e.align}`),M=s(()=>`q-tabs row no-wrap items-center q-tabs--${x.value===!0?"":"not-"}scrollable q-tabs--${e.vertical===!0?"vertical":"horizontal"} q-tabs__arrows--${e.outsideArrows===!0?"outside":"inside"} q-tabs--mobile-with${e.mobileArrows===!0?"":"out"}-arrows`+(e.dense===!0?" q-tabs--dense":"")+(e.shrink===!0?" col-shrink":"")+(e.stretch===!0?" self-stretch":"")),C=s(()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+D.value+(e.contentClass!==void 0?` ${e.contentClass}`:"")),T=s(()=>e.vertical===!0?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}),G=s(()=>e.vertical!==!0&&n.lang.rtl===!0),X=s(()=>An===!1&&G.value===!0);Y(G,w),Y(()=>e.modelValue,ue=>{B({name:ue,setCurrent:!0,skipEmit:!0})}),Y(()=>e.outsideArrows,O);function B({name:ue,setCurrent:ve,skipEmit:ee}){g.value!==ue&&(ee!==!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",ue),(ve===!0||e["onUpdate:modelValue"]===void 0)&&(ce(g.value,ue),g.value=ue))}function O(){a(()=>{K({width:v.value.offsetWidth,height:v.value.offsetHeight})})}function K(ue){if(T.value===void 0||m.value===null)return;let ve=ue[T.value.container],ee=Math.min(m.value[T.value.scroll],Array.prototype.reduce.call(m.value.children,(De,ze)=>De+(ze[T.value.content]||0),0)),be=ve>0&&ee>ve;x.value=be,be===!0&&l(w),S.value=ve<parseInt(e.breakpoint,10)}function ce(ue,ve){let ee=ue!=null&&ue!==""?b.find(De=>De.name.value===ue):null,be=ve!=null&&ve!==""?b.find(De=>De.name.value===ve):null;if(ee&&be){let De=ee.tabIndicatorRef.value,ze=be.tabIndicatorRef.value;$!==null&&(clearTimeout($),$=null),De.style.transition="none",De.style.transform="none",ze.style.transition="none",ze.style.transform="none";let Ve=De.getBoundingClientRect(),at=ze.getBoundingClientRect();ze.style.transform=e.vertical===!0?`translate3d(0,${Ve.top-at.top}px,0) scale3d(1,${at.height?Ve.height/at.height:1},1)`:`translate3d(${Ve.left-at.left}px,0,0) scale3d(${at.width?Ve.width/at.width:1},1,1)`,u(()=>{$=setTimeout(()=>{$=null,ze.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",ze.style.transform="none"},70)})}be&&x.value===!0&&H(be.rootRef.value)}function H(ue){let{left:ve,width:ee,top:be,height:De}=m.value.getBoundingClientRect(),ze=ue.getBoundingClientRect(),Ve=e.vertical===!0?ze.top-be:ze.left-ve;if(Ve<0){m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.floor(Ve),w();return}Ve+=e.vertical===!0?ze.height-De:ze.width-ee,Ve>0&&(m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.ceil(Ve),w())}function w(){let ue=m.value;if(ue===null)return;let ve=ue.getBoundingClientRect(),ee=e.vertical===!0?ue.scrollTop:Math.abs(ue.scrollLeft);G.value===!0?(y.value=Math.ceil(ee+ve.width)<ue.scrollWidth-1,k.value=ee>0):(y.value=ee>0,k.value=e.vertical===!0?Math.ceil(ee+ve.height)<ue.scrollHeight:Math.ceil(ee+ve.width)<ue.scrollWidth)}function W(ue){L!==null&&clearInterval(L),L=setInterval(()=>{Q(ue)===!0&&R()},5)}function j(){W(X.value===!0?Number.MAX_SAFE_INTEGER:0)}function le(){W(X.value===!0?0:Number.MAX_SAFE_INTEGER)}function R(){L!==null&&(clearInterval(L),L=null)}function I(ue,ve){let ee=Array.prototype.filter.call(m.value.children,at=>at===ve||at.matches&&at.matches(".q-tab.q-focusable")===!0),be=ee.length;if(be===0)return;if(ue===36)return H(ee[0]),ee[0].focus(),!0;if(ue===35)return H(ee[be-1]),ee[be-1].focus(),!0;let De=ue===(e.vertical===!0?38:37),ze=ue===(e.vertical===!0?40:39),Ve=De===!0?-1:ze===!0?1:void 0;if(Ve!==void 0){let at=G.value===!0?-1:1,mt=ee.indexOf(ve)+Ve*at;return mt>=0&&mt<be&&(H(ee[mt]),ee[mt].focus({preventScroll:!0})),!0}}let ae=s(()=>X.value===!0?{get:ue=>Math.abs(ue.scrollLeft),set:(ue,ve)=>{ue.scrollLeft=-ve}}:e.vertical===!0?{get:ue=>ue.scrollTop,set:(ue,ve)=>{ue.scrollTop=ve}}:{get:ue=>ue.scrollLeft,set:(ue,ve)=>{ue.scrollLeft=ve}});function Q(ue){let ve=m.value,{get:ee,set:be}=ae.value,De=!1,ze=ee(ve),Ve=ue<ze?-1:1;return ze+=Ve*5,ze<0?(De=!0,ze=0):(Ve===-1&&ze<=ue||Ve===1&&ze>=ue)&&(De=!0,ze=ue),be(ve,ze),w(),De}function me(ue,ve){for(let ee in ue)if(ue[ee]!==ve[ee])return!1;return!0}function Me(){let ue=null,ve={matchedLen:0,queryDiff:9999,hrefLen:0},ee=b.filter(Ve=>Ve.routeData!==void 0&&Ve.routeData.hasRouterLink.value===!0),{hash:be,query:De}=r.$route,ze=Object.keys(De).length;for(let Ve of ee){let at=Ve.routeData.exact.value===!0;if(Ve.routeData[at===!0?"linkIsExactActive":"linkIsActive"].value!==!0)continue;let{hash:mt,query:vt,matched:oe,href:se}=Ve.routeData.resolvedLink.value,J=Object.keys(vt).length;if(at===!0){if(mt!==be||J!==ze||me(De,vt)===!1)continue;ue=Ve.name.value;break}if(mt!==""&&mt!==be||J!==0&&me(vt,De)===!1)continue;let ie={matchedLen:oe.length,queryDiff:ze-J,hrefLen:se.length-mt.length};if(ie.matchedLen>ve.matchedLen){ue=Ve.name.value,ve=ie;continue}else if(ie.matchedLen!==ve.matchedLen)continue;if(ie.queryDiff<ve.queryDiff)ue=Ve.name.value,ve=ie;else if(ie.queryDiff!==ve.queryDiff)continue;ie.hrefLen>ve.hrefLen&&(ue=Ve.name.value,ve=ie)}ue===null&&b.some(Ve=>Ve.routeData===void 0&&Ve.name.value===g.value)===!0||B({name:ue,setCurrent:!0})}function Z(ue){if(f(),_.value!==!0&&v.value!==null&&ue.target&&typeof ue.target.closest=="function"){let ve=ue.target.closest(".q-tab");ve&&v.value.contains(ve)===!0&&(_.value=!0,x.value===!0&&H(ve))}}function de(){d(()=>{_.value=!1},30)}function ge(){Fe.avoidRouteWatcher===!1?c(Me):h()}function we(){if(V===void 0){let ue=Y(()=>r.$route.fullPath,ge);V=()=>{ue(),V=void 0}}}function Le(ue){b.push(ue),p.value++,O(),ue.routeData===void 0||r.$route===void 0?c(()=>{if(x.value===!0){let ve=g.value,ee=ve!=null&&ve!==""?b.find(be=>be.name.value===ve):null;ee&&H(ee.rootRef.value)}}):(we(),ue.routeData.hasRouterLink.value===!0&&ge())}function fe(ue){b.splice(b.indexOf(ue),1),p.value--,O(),V!==void 0&&ue.routeData!==void 0&&(b.every(ve=>ve.routeData===void 0)===!0&&V(),ge())}let Fe={currentModel:g,tabProps:F,hasFocus:_,hasActiveTab:E,registerTab:Le,unregisterTab:fe,verifyRouteModel:ge,updateModel:B,onKbdNavigate:I,avoidRouteWatcher:!1};Nt(Bi,Fe);function He(){$!==null&&clearTimeout($),R(),V!==void 0&&V()}let Qe;return Se(He),Pt(()=>{Qe=V!==void 0,He()}),Qt(()=>{Qe===!0&&we(),O()}),()=>i("div",{ref:v,class:M.value,role:"tablist",onFocusin:Z,onFocusout:de},[i(oo,{onResize:K}),i("div",{ref:m,class:C.value,onScroll:w},re(t.default)),i(Pe,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(y.value===!0?"":" q-tabs__arrow--faded"),name:e.leftIcon||n.iconSet.tabs[e.vertical===!0?"up":"left"],onMousedownPassive:j,onTouchstartPassive:j,onMouseupPassive:R,onMouseleavePassive:R,onTouchendPassive:R}),i(Pe,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(k.value===!0?"":" q-tabs__arrow--faded"),name:e.rightIcon||n.iconSet.tabs[e.vertical===!0?"down":"right"],onMousedownPassive:le,onTouchstartPassive:le,onMouseupPassive:R,onMouseleavePassive:R,onTouchendPassive:R})])}});var Cg=0,ca=["click","keydown"],da={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${Cg++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function fa(e,t,o,r){let n=ht(Bi,Je);if(n===Je)return console.error("QTab/QRouteTab component needs to be child of QTabs"),Je;let{proxy:a}=U(),l=q(null),u=q(null),d=q(null),f=s(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),c=s(()=>n.currentModel.value===e.name),h=s(()=>"q-tab relative-position self-stretch flex flex-center text-center"+(c.value===!0?" q-tab--active"+(n.tabProps.value.activeClass?" "+n.tabProps.value.activeClass:"")+(n.tabProps.value.activeColor?` text-${n.tabProps.value.activeColor}`:"")+(n.tabProps.value.activeBgColor?` bg-${n.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&n.tabProps.value.inlineLabel===!1?" q-tab--full":"")+(e.noCaps===!0||n.tabProps.value.noCaps===!0?" q-tab--no-caps":"")+(e.disable===!0?" disabled":" q-focusable q-hoverable cursor-pointer")+(r!==void 0?r.linkClass.value:"")),v=s(()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(n.tabProps.value.inlineLabel===!0?"row no-wrap q-tab__content--inline":"column")+(e.contentClass!==void 0?` ${e.contentClass}`:"")),m=s(()=>e.disable===!0||n.hasFocus.value===!0||c.value===!1&&n.hasActiveTab.value===!0?-1:e.tabindex||0);function g(b,p){if(p!==!0&&l.value!==null&&l.value.focus(),e.disable===!0){r!==void 0&&r.hasRouterLink.value===!0&&qe(b);return}if(r===void 0){n.updateModel({name:e.name}),o("click",b);return}if(r.hasRouterLink.value===!0){let _=($={})=>{let L,V=$.to===void 0||Kt($.to,e.to)===!0?n.avoidRouteWatcher=Fo():null;return r.navigateToRouterLink(b,{...$,returnRouterError:!0}).catch(F=>{L=F}).then(F=>{if(V===n.avoidRouteWatcher&&(n.avoidRouteWatcher=!1,L===void 0&&(F===void 0||F.message!==void 0&&F.message.startsWith("Avoided redundant navigation")===!0)&&n.updateModel({name:e.name})),$.returnRouterError===!0)return L!==void 0?Promise.reject(L):F})};o("click",b,_),b.defaultPrevented!==!0&&_();return}o("click",b)}function x(b){Tt(b,[13,32])?g(b,!0):ro(b)!==!0&&b.keyCode>=35&&b.keyCode<=40&&b.altKey!==!0&&b.metaKey!==!0&&n.onKbdNavigate(b.keyCode,a.$el)===!0&&qe(b),o("keydown",b)}function y(){let b=n.tabProps.value.narrowIndicator,p=[],_=i("div",{ref:d,class:["q-tab__indicator",n.tabProps.value.indicatorClass]});e.icon!==void 0&&p.push(i(Pe,{class:"q-tab__icon",name:e.icon})),e.label!==void 0&&p.push(i("div",{class:"q-tab__label"},e.label)),e.alert!==!1&&p.push(e.alertIcon!==void 0?i(Pe,{class:"q-tab__alert-icon",color:e.alert!==!0?e.alert:void 0,name:e.alertIcon}):i("div",{class:"q-tab__alert"+(e.alert!==!0?` text-${e.alert}`:"")})),b===!0&&p.push(_);let $=[i("div",{class:"q-focus-helper",tabindex:-1,ref:l}),i("div",{class:v.value},Ge(t.default,p))];return b===!1&&$.push(_),$}let k={name:s(()=>e.name),rootRef:u,tabIndicatorRef:d,routeData:r};Se(()=>{n.unregisterTab(k)}),Ne(()=>{n.registerTab(k)});function S(b,p){let _={ref:u,class:h.value,tabindex:m.value,role:"tab","aria-selected":c.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:g,onKeydown:x,...p};return Et(i(b,_,y()),[[$o,f.value]])}return{renderTab:S,$tabs:n}}var cn=A({name:"QTab",props:da,emits:ca,setup(e,{slots:t,emit:o}){let{renderTab:r}=fa(e,t,o);return()=>r("div")}});var ma=A({name:"QTabPanels",props:{...xr,..._e},emits:_r,setup(e,{slots:t}){let o=U(),r=Ce(e,o.proxy.$q),{updatePanelsList:n,getPanelContent:a,panelDirectives:l}=Cr(),u=s(()=>"q-tab-panels q-panel-parent"+(r.value===!0?" q-tab-panels--dark q-dark":""));return()=>(n(t),Mt("div",{class:u.value},a(),"pan",e.swipeable,()=>l.value))}});var Pr=A({name:"QTabPanel",props:Sr,setup(e,{slots:t}){return()=>i("div",{class:"q-tab-panel",role:"tabpanel"},re(t.default))}});var Ws=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Ys=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Xs=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,va=/^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])\)$/,ga=/^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)\)$/,$n={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=>Ws.test(e),hexaColor:e=>Ys.test(e),hexOrHexaColor:e=>Xs.test(e),rgbColor:e=>va.test(e),rgbaColor:e=>ga.test(e),rgbOrRgbaColor:e=>va.test(e)||ga.test(e),hexOrRgbColor:e=>Ws.test(e)||va.test(e),hexaOrRgbaColor:e=>Ys.test(e)||ga.test(e),anyColor:e=>Xs.test(e)||va.test(e)||ga.test(e)},Gs={testPattern:$n};var wg=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function En({r:e,g:t,b:o,a:r}){let n=r!==void 0;if(e=Math.round(e),t=Math.round(t),o=Math.round(o),e>255||t>255||o>255||n&&r>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return r=n?(Math.round(255*r/100)|256).toString(16).slice(1):"","#"+(o|t<<8|e<<16|1<<24).toString(16).slice(1)+r}function jl({r:e,g:t,b:o,a:r}){return`rgb${r!==void 0?"a":""}(${e},${t},${o}${r!==void 0?","+r/100:""})`}function ha(e){if(typeof e!="string")throw new TypeError("Expected a string");e=e.replace(/^#/,""),e.length===3?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:e.length===4&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);let t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((t&255)/2.55)}:{r:t>>16,g:t>>8&255,b:t&255}}function pa({h:e,s:t,v:o,a:r}){let n,a,l;t=t/100,o=o/100,e=e/360;let u=Math.floor(e*6),d=e*6-u,f=o*(1-t),c=o*(1-d*t),h=o*(1-(1-d)*t);switch(u%6){case 0:n=o,a=h,l=f;break;case 1:n=c,a=o,l=f;break;case 2:n=f,a=o,l=h;break;case 3:n=f,a=c,l=o;break;case 4:n=h,a=f,l=o;break;case 5:n=o,a=f,l=c;break}return{r:Math.round(n*255),g:Math.round(a*255),b:Math.round(l*255),a:r}}function li({r:e,g:t,b:o,a:r}){let n=Math.max(e,t,o),a=Math.min(e,t,o),l=n-a,u=n===0?0:l/n,d=n/255,f;switch(n){case a:f=0;break;case e:f=t-o+l*(t<o?6:0),f/=6*l;break;case t:f=o-e+l*2,f/=6*l;break;case o:f=e-t+l*4,f/=6*l;break}return{h:Math.round(f*360),s:Math.round(u*100),v:Math.round(d*100),a:r}}function Oo(e){if(typeof e!="string")throw new TypeError("Expected a string");let t=e.replace(/ /g,""),o=wg.exec(t);if(o===null)return ha(t);let r={r:Math.min(255,parseInt(o[2],10)),g:Math.min(255,parseInt(o[3],10)),b:Math.min(255,parseInt(o[4],10))};if(o[1]){let n=parseFloat(o[5]);r.a=Math.min(1,isNaN(n)===!0?1:n)*100}return r}function kg(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(typeof t!="number")throw new TypeError("Expected a numeric percent");let o=Oo(e),r=t<0?0:255,n=Math.abs(t)/100,a=o.r,l=o.g,u=o.b;return"#"+(16777216+(Math.round((r-a)*n)+a)*65536+(Math.round((r-l)*n)+l)*256+(Math.round((r-u)*n)+u)).toString(16).slice(1)}function Ul(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?Oo(e):e,o=t.r/255,r=t.g/255,n=t.b/255,a=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),l=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),u=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*a+.7152*l+.0722*u}function qg(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?Oo(e):e;return(t.r*299+t.g*587+t.b*114)/1e3}function Tg(e,t){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as fgColor");if(typeof t!="string"&&(!t||t.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as bgColor");let o=typeof e=="string"?Oo(e):e,r=o.r/255,n=o.g/255,a=o.b/255,l=o.a!==void 0?o.a/100:1,u=typeof t=="string"?Oo(t):t,d=u.r/255,f=u.g/255,c=u.b/255,h=u.a!==void 0?u.a/100:1,v=l+h*(1-l),m=Math.round((r*l+d*h*(1-l))/v*255),g=Math.round((n*l+f*h*(1-l))/v*255),x=Math.round((a*l+c*h*(1-l))/v*255),y={r:m,g,b:x,a:Math.round(v*100)};return typeof e=="string"?En(y):y}function Mg(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(t===void 0||t<-1||t>1)throw new TypeError("Expected offset to be between -1 and 1");let{r:o,g:r,b:n,a}=Oo(e),l=a!==void 0?a/100:0;return En({r:o,g:r,b:n,a:Math.round(Math.min(1,Math.max(0,l+t))*100)})}function Rg(e){if(typeof e!="string")throw new TypeError("Expected a string as color");let t=document.createElement("div");t.className=`text-${e} invisible fixed no-pointer-events`,document.body.appendChild(t);let o=getComputedStyle(t).getPropertyValue("color");return t.remove(),En(Oo(o))}var Zs={rgbToHex:En,hexToRgb:ha,hsvToRgb:pa,rgbToHsv:li,textToRgb:Oo,lighten:kg,luminosity:Ul,brightness:qg,blend:Tg,changeAlpha:Mg,getPaletteColor:Rg};var Pg=["rgb(255,204,204)","rgb(255,230,204)","rgb(255,255,204)","rgb(204,255,204)","rgb(204,255,230)","rgb(204,255,255)","rgb(204,230,255)","rgb(204,204,255)","rgb(230,204,255)","rgb(255,204,255)","rgb(255,153,153)","rgb(255,204,153)","rgb(255,255,153)","rgb(153,255,153)","rgb(153,255,204)","rgb(153,255,255)","rgb(153,204,255)","rgb(153,153,255)","rgb(204,153,255)","rgb(255,153,255)","rgb(255,102,102)","rgb(255,179,102)","rgb(255,255,102)","rgb(102,255,102)","rgb(102,255,179)","rgb(102,255,255)","rgb(102,179,255)","rgb(102,102,255)","rgb(179,102,255)","rgb(255,102,255)","rgb(255,51,51)","rgb(255,153,51)","rgb(255,255,51)","rgb(51,255,51)","rgb(51,255,153)","rgb(51,255,255)","rgb(51,153,255)","rgb(51,51,255)","rgb(153,51,255)","rgb(255,51,255)","rgb(255,0,0)","rgb(255,128,0)","rgb(255,255,0)","rgb(0,255,0)","rgb(0,255,128)","rgb(0,255,255)","rgb(0,128,255)","rgb(0,0,255)","rgb(128,0,255)","rgb(255,0,255)","rgb(245,0,0)","rgb(245,123,0)","rgb(245,245,0)","rgb(0,245,0)","rgb(0,245,123)","rgb(0,245,245)","rgb(0,123,245)","rgb(0,0,245)","rgb(123,0,245)","rgb(245,0,245)","rgb(214,0,0)","rgb(214,108,0)","rgb(214,214,0)","rgb(0,214,0)","rgb(0,214,108)","rgb(0,214,214)","rgb(0,108,214)","rgb(0,0,214)","rgb(108,0,214)","rgb(214,0,214)","rgb(163,0,0)","rgb(163,82,0)","rgb(163,163,0)","rgb(0,163,0)","rgb(0,163,82)","rgb(0,163,163)","rgb(0,82,163)","rgb(0,0,163)","rgb(82,0,163)","rgb(163,0,163)","rgb(92,0,0)","rgb(92,46,0)","rgb(92,92,0)","rgb(0,92,0)","rgb(0,92,46)","rgb(0,92,92)","rgb(0,46,92)","rgb(0,0,92)","rgb(46,0,92)","rgb(92,0,92)","rgb(255,255,255)","rgb(205,205,205)","rgb(178,178,178)","rgb(153,153,153)","rgb(127,127,127)","rgb(102,102,102)","rgb(76,76,76)","rgb(51,51,51)","rgb(25,25,25)","rgb(0,0,0)"],Js="M5 5 h10 v10 h-10 v-10 z",Ag="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==",ec=A({name:"QColor",props:{..._e,...kt,modelValue:String,defaultValue:String,defaultView:{type:String,default:"spectrum",validator:e=>["spectrum","tune","palette"].includes(e)},formatModel:{type:String,default:"auto",validator:e=>["auto","hex","rgb","hexa","rgba"].includes(e)},palette:Array,noHeader:Boolean,noHeaderTabs:Boolean,noFooter:Boolean,square:Boolean,flat:Boolean,bordered:Boolean,disable:Boolean,readonly:Boolean},emits:["update:modelValue","change"],setup(e,{emit:t}){let{proxy:o}=U(),{$q:r}=o,n=Ce(e,r),{getCache:a}=So(),l=q(null),u=q(null),d=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("hex")!==-1),f=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1),c=q(e.formatModel==="auto"?e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")?"hex":"rgb":e.formatModel.startsWith("hex")?"hex":"rgb"),h=q(e.defaultView),v=q(M(e.modelValue||e.defaultValue)),m=s(()=>e.disable!==!0&&e.readonly!==!0),g=s(()=>e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")),x=s(()=>d.value!==null?d.value:g.value),y=s(()=>({type:"hidden",name:e.name,value:v.value[x.value===!0?"hex":"rgb"]})),k=Xt(y),S=s(()=>f.value!==null?f.value:v.value.a!==void 0),b=s(()=>({backgroundColor:v.value.rgb||"#000"})),p=s(()=>`q-color-picker__header-content q-color-picker__header-content--${(v.value.a!==void 0&&v.value.a<65?!0:Ul(v.value)>.4)?"light":"dark"}`),_=s(()=>({background:`hsl(${v.value.h},100%,50%)`})),$=s(()=>({top:`${100-v.value.v}%`,[r.lang.rtl===!0?"right":"left"]:`${v.value.s}%`})),L=s(()=>e.palette!==void 0&&e.palette.length!==0?e.palette:Pg),V=s(()=>"q-color-picker"+(e.bordered===!0?" q-color-picker--bordered":"")+(e.square===!0?" q-color-picker--square no-border-radius":"")+(e.flat===!0?" q-color-picker--flat no-shadow":"")+(e.disable===!0?" disabled":"")+(n.value===!0?" q-color-picker--dark q-dark":"")),F=s(()=>e.disable===!0?{"aria-disabled":"true"}:{}),E=s(()=>[[Rt,K,void 0,{prevent:!0,stop:!0,mouse:!0}]]);Y(()=>e.modelValue,Z=>{let de=M(Z||e.defaultValue);de.hex!==v.value.hex&&(v.value=de)}),Y(()=>e.defaultValue,Z=>{if(!e.modelValue&&Z){let de=M(Z);de.hex!==v.value.hex&&(v.value=de)}});function D(Z,de){v.value.hex=En(Z),v.value.rgb=jl(Z),v.value.r=Z.r,v.value.g=Z.g,v.value.b=Z.b,v.value.a=Z.a;let ge=v.value[x.value===!0?"hex":"rgb"];t("update:modelValue",ge),de===!0&&t("change",ge)}function M(Z){let de=f.value!==void 0?f.value:e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1;if(typeof Z!="string"||Z.length===0||$n.anyColor(Z.replace(/ /g,""))!==!0)return{h:0,s:0,v:0,r:0,g:0,b:0,a:de===!0?100:void 0,hex:void 0,rgb:void 0};let ge=Oo(Z);return de===!0&&ge.a===void 0&&(ge.a=100),ge.hex=En(ge),ge.rgb=jl(ge),Object.assign(ge,li(ge))}function C(Z,de,ge){let we=l.value;if(we===null)return;let Le=we.clientWidth,fe=we.clientHeight,Fe=we.getBoundingClientRect(),He=Math.min(Le,Math.max(0,Z-Fe.left));r.lang.rtl===!0&&(He=Le-He);let Qe=Math.min(fe,Math.max(0,de-Fe.top)),ue=Math.round(100*He/Le),ve=Math.round(100*Math.max(0,Math.min(1,-(Qe/fe)+1))),ee=pa({h:v.value.h,s:ue,v:ve,a:S.value===!0?v.value.a:void 0});v.value.s=ue,v.value.v=ve,D(ee,ge)}function T(Z,de){let ge=Math.round(Z),we=pa({h:ge,s:v.value.s,v:v.value.v,a:S.value===!0?v.value.a:void 0});v.value.h=ge,D(we,de)}function G(Z){T(Z,!0)}function X(Z,de,ge,we,Le){if(we!==void 0&&it(we),!/^[0-9]+$/.test(Z)){Le===!0&&o.$forceUpdate();return}let fe=Math.floor(Number(Z));if(fe<0||fe>ge){Le===!0&&o.$forceUpdate();return}let Fe={r:de==="r"?fe:v.value.r,g:de==="g"?fe:v.value.g,b:de==="b"?fe:v.value.b,a:S.value===!0?de==="a"?fe:v.value.a:void 0};if(de!=="a"){let He=li(Fe);v.value.h=He.h,v.value.s=He.s,v.value.v=He.v}if(D(Fe,Le),we!==void 0&&Le!==!0&&we.target.selectionEnd!==void 0){let He=we.target.selectionEnd;$e(()=>{we.target.setSelectionRange(He,He)})}}function B(Z,de){let ge,we=Z.target.value;if(it(Z),c.value==="hex"){if(we.length!==(S.value===!0?9:7)||!/^#[0-9A-Fa-f]+$/.test(we))return!0;ge=ha(we)}else{let fe;if(we.endsWith(")"))if(S.value!==!0&&we.startsWith("rgb(")){if(fe=we.substring(4,we.length-1).split(",").map(Fe=>parseInt(Fe,10)),fe.length!==3||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(we))return!0}else if(S.value===!0&&we.startsWith("rgba(")){if(fe=we.substring(5,we.length-1).split(","),fe.length!==4||!/^rgba\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/.test(we))return!0;for(let He=0;He<3;He++){let Qe=parseInt(fe[He],10);if(Qe<0||Qe>255)return!0;fe[He]=Qe}let Fe=parseFloat(fe[3]);if(Fe<0||Fe>1)return!0;fe[3]=Fe}else return!0;else return!0;if(fe[0]<0||fe[0]>255||fe[1]<0||fe[1]>255||fe[2]<0||fe[2]>255||S.value===!0&&(fe[3]<0||fe[3]>1))return!0;ge={r:fe[0],g:fe[1],b:fe[2],a:S.value===!0?fe[3]*100:void 0}}let Le=li(ge);if(v.value.h=Le.h,v.value.s=Le.s,v.value.v=Le.v,D(ge,de),de!==!0){let fe=Z.target.selectionEnd;$e(()=>{Z.target.setSelectionRange(fe,fe)})}}function O(Z){let de=M(Z),ge={r:de.r,g:de.g,b:de.b,a:de.a};ge.a===void 0&&(ge.a=v.value.a),v.value.h=de.h,v.value.s=de.s,v.value.v=de.v,D(ge,!0)}function K(Z){Z.isFinal?C(Z.position.left,Z.position.top,!0):ce(Z)}let ce=Jn(Z=>{C(Z.position.left,Z.position.top)},20);function H(Z){C(Z.pageX-window.pageXOffset,Z.pageY-window.pageYOffset,!0)}function w(Z){C(Z.pageX-window.pageXOffset,Z.pageY-window.pageYOffset)}function W(Z){u.value!==null&&(u.value.$el.style.opacity=Z?1:0)}function j(Z){c.value=Z}function le(){let Z=[];return e.noHeaderTabs!==!0&&Z.push(i(ai,{class:"q-color-picker__header-tabs",modelValue:c.value,dense:!0,align:"justify","onUpdate:modelValue":j},()=>[i(cn,{label:"HEX"+(S.value===!0?"A":""),name:"hex",ripple:!1}),i(cn,{label:"RGB"+(S.value===!0?"A":""),name:"rgb",ripple:!1})])),Z.push(i("div",{class:"q-color-picker__header-banner row flex-center no-wrap"},[i("input",{class:"fit",value:v.value[c.value],...m.value!==!0?{readonly:!0}:{},...a("topIn",{onInput:de=>{W(B(de)===!0)},onChange:it,onBlur:de=>{B(de,!0)===!0&&o.$forceUpdate(),W(!1)}})}),i(Pe,{ref:u,class:"q-color-picker__error-icon absolute no-pointer-events",name:r.iconSet.type.negative})])),i("div",{class:"q-color-picker__header relative-position overflow-hidden"},[i("div",{class:"q-color-picker__header-bg absolute-full"}),i("div",{class:p.value,style:b.value},Z)])}function R(){return i(ma,{modelValue:h.value,animated:!0},()=>[i(Pr,{class:"q-color-picker__spectrum-tab overflow-hidden",name:"spectrum"},Q),i(Pr,{class:"q-pa-md q-color-picker__tune-tab",name:"tune"},me),i(Pr,{class:"q-color-picker__palette-tab",name:"palette"},Me)])}function I(Z){h.value=Z}function ae(){return i("div",{class:"q-color-picker__footer relative-position overflow-hidden"},[i(ai,{class:"absolute-full",modelValue:h.value,dense:!0,align:"justify","onUpdate:modelValue":I},()=>[i(cn,{icon:r.iconSet.colorPicker.spectrum,name:"spectrum",ripple:!1}),i(cn,{icon:r.iconSet.colorPicker.tune,name:"tune",ripple:!1}),i(cn,{icon:r.iconSet.colorPicker.palette,name:"palette",ripple:!1})])])}function Q(){let Z={ref:l,class:"q-color-picker__spectrum non-selectable relative-position cursor-pointer"+(m.value!==!0?" readonly":""),style:_.value,...m.value===!0?{onClick:H,onMousedown:w}:{}},de=[i("div",{style:{paddingBottom:"100%"}}),i("div",{class:"q-color-picker__spectrum-white absolute-full"}),i("div",{class:"q-color-picker__spectrum-black absolute-full"}),i("div",{class:"absolute",style:$.value},[v.value.hex!==void 0?i("div",{class:"q-color-picker__spectrum-circle"}):null])],ge=[i(Jo,{class:"q-color-picker__hue non-selectable",modelValue:v.value.h,min:0,max:360,trackSize:"8px",innerTrackColor:"transparent",selectionColor:"transparent",readonly:m.value!==!0,thumbPath:Js,"onUpdate:modelValue":T,onChange:G})];return S.value===!0&&ge.push(i(Jo,{class:"q-color-picker__alpha non-selectable",modelValue:v.value.a,min:0,max:100,trackSize:"8px",trackColor:"white",innerTrackColor:"transparent",selectionColor:"transparent",trackImg:Ag,readonly:m.value!==!0,hideSelection:!0,thumbPath:Js,...a("alphaSlide",{"onUpdate:modelValue":we=>X(we,"a",100),onChange:we=>X(we,"a",100,void 0,!0)})})),[Mt("div",Z,de,"spec",m.value,()=>E.value),i("div",{class:"q-color-picker__sliders"},ge)]}function me(){return[i("div",{class:"row items-center no-wrap"},[i("div","R"),i(Jo,{modelValue:v.value.r,min:0,max:255,color:"red",dark:n.value,readonly:m.value!==!0,...a("rSlide",{"onUpdate:modelValue":Z=>X(Z,"r",255),onChange:Z=>X(Z,"r",255,void 0,!0)})}),i("input",{value:v.value.r,maxlength:3,readonly:m.value!==!0,onChange:it,...a("rIn",{onInput:Z=>X(Z.target.value,"r",255,Z),onBlur:Z=>X(Z.target.value,"r",255,Z,!0)})})]),i("div",{class:"row items-center no-wrap"},[i("div","G"),i(Jo,{modelValue:v.value.g,min:0,max:255,color:"green",dark:n.value,readonly:m.value!==!0,...a("gSlide",{"onUpdate:modelValue":Z=>X(Z,"g",255),onChange:Z=>X(Z,"g",255,void 0,!0)})}),i("input",{value:v.value.g,maxlength:3,readonly:m.value!==!0,onChange:it,...a("gIn",{onInput:Z=>X(Z.target.value,"g",255,Z),onBlur:Z=>X(Z.target.value,"g",255,Z,!0)})})]),i("div",{class:"row items-center no-wrap"},[i("div","B"),i(Jo,{modelValue:v.value.b,min:0,max:255,color:"blue",readonly:m.value!==!0,dark:n.value,...a("bSlide",{"onUpdate:modelValue":Z=>X(Z,"b",255),onChange:Z=>X(Z,"b",255,void 0,!0)})}),i("input",{value:v.value.b,maxlength:3,readonly:m.value!==!0,onChange:it,...a("bIn",{onInput:Z=>X(Z.target.value,"b",255,Z),onBlur:Z=>X(Z.target.value,"b",255,Z,!0)})})]),S.value===!0?i("div",{class:"row items-center no-wrap"},[i("div","A"),i(Jo,{modelValue:v.value.a,color:"grey",readonly:m.value!==!0,dark:n.value,...a("aSlide",{"onUpdate:modelValue":Z=>X(Z,"a",100),onChange:Z=>X(Z,"a",100,void 0,!0)})}),i("input",{value:v.value.a,maxlength:3,readonly:m.value!==!0,onChange:it,...a("aIn",{onInput:Z=>X(Z.target.value,"a",100,Z),onBlur:Z=>X(Z.target.value,"a",100,Z,!0)})})]):null]}function Me(){let Z=de=>i("div",{class:"q-color-picker__cube col-auto",style:{backgroundColor:de},...m.value===!0?a("palette#"+de,{onClick:()=>{O(de)}}):{}});return[i("div",{class:"row items-center q-color-picker__palette-rows"+(m.value===!0?" q-color-picker__palette-rows--editable":"")},L.value.map(Z))]}return()=>{let Z=[R()];return e.name!==void 0&&e.disable!==!0&&k(Z,"push"),e.noHeader!==!0&&Z.unshift(le()),e.noFooter!==!0&&Z.push(ae()),i("div",{class:V.value,...F.value},Z)}}});var dn=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function tc(e,t,o){return Object.prototype.toString.call(e)==="[object Date]"&&(o=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),Lg(Wl(e,t,o))}function Kl(e,t,o){return nc(Bg(e,t,o))}function $g(e){return Eg(e)===0}function Ar(e,t){return t<=6?31:t<=11||$g(e)?30:29}function Eg(e){let t=dn.length,o=dn[0],r,n,a,l,u;if(e<o||e>=dn[t-1])throw new Error("Invalid Jalaali year "+e);for(u=1;u<t&&(r=dn[u],n=r-o,!(e<r));u+=1)o=r;return l=e-o,n-l<6&&(l=l-n+Ct(n+4,33)*33),a=io(io(l+1,33)-1,4),a===-1&&(a=4),a}function oc(e,t){let o=dn.length,r=e+621,n=-14,a=dn[0],l,u,d,f,c;if(e<a||e>=dn[o-1])throw new Error("Invalid Jalaali year "+e);for(c=1;c<o&&(l=dn[c],u=l-a,!(e<l));c+=1)n=n+Ct(u,33)*8+Ct(io(u,33),4),a=l;f=e-a,n=n+Ct(f,33)*8+Ct(io(f,33)+3,4),io(u,33)===4&&u-f===4&&(n+=1);let h=Ct(r,4)-Ct((Ct(r,100)+1)*3,4)-150,v=20+n-h;return t||(u-f<6&&(f=f-u+Ct(u+4,33)*33),d=io(io(f+1,33)-1,4),d===-1&&(d=4)),{leap:d,gy:r,march:v}}function Bg(e,t,o){let r=oc(e,!0);return Wl(r.gy,3,r.march)+(t-1)*31-Ct(t,7)*(t-7)+o-1}function Lg(e){let t=nc(e).gy,o=t-621,r,n,a,l=oc(o,!1),u=Wl(t,3,l.march);if(a=e-u,a>=0){if(a<=185)return n=1+Ct(a,31),r=io(a,31)+1,{jy:o,jm:n,jd:r};a-=186}else o-=1,a+=179,l.leap===1&&(a+=1);return n=7+Ct(a,30),r=io(a,30)+1,{jy:o,jm:n,jd:r}}function Wl(e,t,o){let r=Ct((e+Ct(t-8,6)+100100)*1461,4)+Ct(153*io(t+9,12)+2,5)+o-34840408;return r=r-Ct(Ct(e+100100+Ct(t-8,6),100)*3,4)+752,r}function nc(e){let t=4*e+139361631;t=t+Ct(Ct(4*e+183187720,146097)*3,4)*4-3908;let o=Ct(io(t,1461),4)*5+308,r=Ct(io(o,153),5)+1,n=io(Ct(o,153),12)+1;return{gy:Ct(t,1461)-100100+Ct(8-n,6),gm:n,gd:r}}function Ct(e,t){return~~(e/t)}function io(e,t){return e-~~(e/t)*t}var Fg=["gregorian","persian"],$r={mask:{type:String},locale:Object,calendar:{type:String,validator:e=>Fg.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},ba=["update:modelValue"];function _o(e){return e.year+"/"+nt(e.month)+"/"+nt(e.day)}function ya(e,t){let o=s(()=>e.disable!==!0&&e.readonly!==!0),r=s(()=>o.value===!0?0:-1),n=s(()=>{let u=[];return e.color!==void 0&&u.push(`bg-${e.color}`),e.textColor!==void 0&&u.push(`text-${e.textColor}`),u.join(" ")});function a(){return e.locale!==void 0?{...t.lang.date,...e.locale}:t.lang.date}function l(u){let d=new Date,f=u===!0?null:0;if(e.calendar==="persian"){let c=tc(d);return{year:c.jy,month:c.jm,day:c.jd}}return{year:d.getFullYear(),month:d.getMonth()+1,day:d.getDate(),hour:f,minute:f,second:f,millisecond:f}}return{editable:o,tabindex:r,headerClass:n,getLocale:a,getCurrentDate:l}}var lc=864e5,Dg=36e5,Gl=6e4,uc="YYYY-MM-DDTHH:mm:ss.SSSZ",Vg=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,zg=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,Yl={};function Og(e,t){let o="("+t.days.join("|")+")",r=e+o;if(Yl[r]!==void 0)return Yl[r];let n="("+t.daysShort.join("|")+")",a="("+t.months.join("|")+")",l="("+t.monthsShort.join("|")+")",u={},d=0,f=e.replace(zg,h=>{switch(d++,h){case"YY":return u.YY=d,"(-?\\d{1,2})";case"YYYY":return u.YYYY=d,"(-?\\d{1,4})";case"M":return u.M=d,"(\\d{1,2})";case"MM":return u.M=d,"(\\d{2})";case"MMM":return u.MMM=d,l;case"MMMM":return u.MMMM=d,a;case"D":return u.D=d,"(\\d{1,2})";case"Do":return u.D=d++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return u.D=d,"(\\d{2})";case"H":return u.H=d,"(\\d{1,2})";case"HH":return u.H=d,"(\\d{2})";case"h":return u.h=d,"(\\d{1,2})";case"hh":return u.h=d,"(\\d{2})";case"m":return u.m=d,"(\\d{1,2})";case"mm":return u.m=d,"(\\d{2})";case"s":return u.s=d,"(\\d{1,2})";case"ss":return u.s=d,"(\\d{2})";case"S":return u.S=d,"(\\d{1})";case"SS":return u.S=d,"(\\d{2})";case"SSS":return u.S=d,"(\\d{3})";case"A":return u.A=d,"(AM|PM)";case"a":return u.a=d,"(am|pm)";case"aa":return u.aa=d,"(a\\.m\\.|p\\.m\\.)";case"ddd":return n;case"dddd":return o;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return u.Z=d,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return u.ZZ=d,"(Z|[+-]\\d{2}\\d{2})";case"X":return u.X=d,"(-?\\d+)";case"x":return u.x=d,"(-?\\d{4,})";default:return d--,h[0]==="["&&(h=h.substring(1,h.length-1)),h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),c={map:u,regex:new RegExp("^"+f)};return Yl[r]=c,c}function sc(e,t){return e!==void 0?e:t!==void 0?t.date:Yr.date}function rc(e,t=""){let o=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),a=r%60;return o+nt(n)+t+nt(a)}function Ig(e,t,o){let r=e.getFullYear(),n=e.getMonth(),a=e.getDate();return t.year!==void 0&&(r+=o*t.year,delete t.year),t.month!==void 0&&(n+=o*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(r),e.setMonth(n),e.setDate(Math.min(a,tu(e))),t.date!==void 0&&(e.setDate(e.getDate()+o*t.date),delete t.date),e}function Hg(e,t,o){let r=t.year!==void 0?t.year:e[`get${o}FullYear`](),n=t.month!==void 0?t.month-1:e[`get${o}Month`](),a=new Date(r,n+1,0).getDate(),l=Math.min(a,t.date!==void 0?t.date:e[`get${o}Date`]());return e[`set${o}Date`](1),e[`set${o}Month`](2),e[`set${o}FullYear`](r),e[`set${o}Month`](n),e[`set${o}Date`](l),delete t.year,delete t.month,delete t.date,e}function eu(e,t,o){let r=cc(t),n=new Date(e),a=r.year!==void 0||r.month!==void 0||r.date!==void 0?Ig(n,r,o):n;for(let l in r){let u=ql(l);a[`set${u}`](a[`get${u}`]()+o*r[l])}return a}function cc(e){let t={...e};return e.years!==void 0&&(t.year=e.years,delete t.years),e.months!==void 0&&(t.month=e.months,delete t.months),e.days!==void 0&&(t.date=e.days,delete t.days),e.day!==void 0&&(t.date=e.day,delete t.day),e.hour!==void 0&&(t.hours=e.hour,delete t.hour),e.minute!==void 0&&(t.minutes=e.minute,delete t.minute),e.second!==void 0&&(t.seconds=e.second,delete t.second),e.millisecond!==void 0&&(t.milliseconds=e.millisecond,delete t.millisecond),t}function dc(e,t,o){let r=cc(t),n=o===!0?"UTC":"",a=new Date(e),l=r.year!==void 0||r.month!==void 0||r.date!==void 0?Hg(a,r,n):a;for(let u in r){let d=u.charAt(0).toUpperCase()+u.slice(1);l[`set${n}${d}`](r[u])}return l}function Qg(e,t,o){let r=fn(e,t,o),n=new Date(r.year,r.month===null?null:r.month-1,r.day===null?1:r.day,r.hour,r.minute,r.second,r.millisecond),a=n.getTimezoneOffset();return r.timezoneOffset===null||r.timezoneOffset===a?n:eu(n,{minutes:r.timezoneOffset-a},1)}function fn(e,t,o,r,n){let a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(n!==void 0&&Object.assign(a,n),e==null||e===""||typeof e!="string")return a;t===void 0&&(t=uc);let l=sc(o,Yo.props),u=l.months,d=l.monthsShort,{regex:f,map:c}=Og(t,l),h=e.match(f);if(h===null)return a;let v="";if(c.X!==void 0||c.x!==void 0){let m=parseInt(h[c.X!==void 0?c.X:c.x],10);if(isNaN(m)===!0||m<0)return a;let g=new Date(m*(c.X!==void 0?1e3:1));a.year=g.getFullYear(),a.month=g.getMonth()+1,a.day=g.getDate(),a.hour=g.getHours(),a.minute=g.getMinutes(),a.second=g.getSeconds(),a.millisecond=g.getMilliseconds()}else{if(c.YYYY!==void 0)a.year=parseInt(h[c.YYYY],10);else if(c.YY!==void 0){let m=parseInt(h[c.YY],10);a.year=m<0?m:2e3+m}if(c.M!==void 0){if(a.month=parseInt(h[c.M],10),a.month<1||a.month>12)return a}else c.MMM!==void 0?a.month=d.indexOf(h[c.MMM])+1:c.MMMM!==void 0&&(a.month=u.indexOf(h[c.MMMM])+1);if(c.D!==void 0){if(a.day=parseInt(h[c.D],10),a.year===null||a.month===null||a.day<1)return a;let m=r!=="persian"?new Date(a.year,a.month,0).getDate():Ar(a.year,a.month);if(a.day>m)return a}c.H!==void 0?a.hour=parseInt(h[c.H],10)%24:c.h!==void 0&&(a.hour=parseInt(h[c.h],10)%12,(c.A&&h[c.A]==="PM"||c.a&&h[c.a]==="pm"||c.aa&&h[c.aa]==="p.m.")&&(a.hour+=12),a.hour=a.hour%24),c.m!==void 0&&(a.minute=parseInt(h[c.m],10)%60),c.s!==void 0&&(a.second=parseInt(h[c.s],10)%60),c.S!==void 0&&(a.millisecond=parseInt(h[c.S],10)*10**(3-h[c.S].length)),(c.Z!==void 0||c.ZZ!==void 0)&&(v=c.Z!==void 0?h[c.Z].replace(":",""):h[c.ZZ],a.timezoneOffset=(v[0]==="+"?-1:1)*(60*v.slice(1,3)+1*v.slice(3,5)))}return a.dateHash=nt(a.year,6)+"/"+nt(a.month)+"/"+nt(a.day),a.timeHash=nt(a.hour)+":"+nt(a.minute)+":"+nt(a.second)+v,a}function Ng(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function jg(e,t){return dc(new Date,e,t)}function Ug(e){let t=new Date(e).getDay();return t===0?7:t}function Zl(e){let t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);let o=new Date(t.getFullYear(),0,4);o.setDate(o.getDate()-(o.getDay()+6)%7+3);let r=t.getTimezoneOffset()-o.getTimezoneOffset();t.setHours(t.getHours()-r);let n=(t-o)/(lc*7);return 1+Math.floor(n)}function Kg(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function Xl(e,t){let o=new Date(e);return t===!0?Kg(o):o.getTime()}function Wg(e,t,o,r={}){let n=Xl(t,r.onlyDate),a=Xl(o,r.onlyDate),l=Xl(e,r.onlyDate);return(l>n||r.inclusiveFrom===!0&&l===n)&&(l<a||r.inclusiveTo===!0&&l===a)}function Yg(e,t){return eu(e,t,1)}function Xg(e,t){return eu(e,t,-1)}function Io(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](0);case"month":case"months":r[`${n}Date`](1);case"day":case"days":case"date":r[`${n}Hours`](0);case"hour":case"hours":r[`${n}Minutes`](0);case"minute":case"minutes":r[`${n}Seconds`](0);case"second":case"seconds":r[`${n}Milliseconds`](0)}return r}function Gg(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](11);case"month":case"months":r[`${n}Date`](tu(r));case"day":case"days":case"date":r[`${n}Hours`](23);case"hour":case"hours":r[`${n}Minutes`](59);case"minute":case"minutes":r[`${n}Seconds`](59);case"second":case"seconds":r[`${n}Milliseconds`](999)}return r}function Zg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.max(t,new Date(o))}),t}function Jg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.min(t,new Date(o))}),t}function Sa(e,t,o){return(e.getTime()-e.getTimezoneOffset()*Gl-(t.getTime()-t.getTimezoneOffset()*Gl))/o}function xa(e,t,o="days"){let r=new Date(e),n=new Date(t);switch(o){case"years":case"year":return r.getFullYear()-n.getFullYear();case"months":case"month":return(r.getFullYear()-n.getFullYear())*12+r.getMonth()-n.getMonth();case"days":case"day":case"date":return Sa(Io(r,"day"),Io(n,"day"),lc);case"hours":case"hour":return Sa(Io(r,"hour"),Io(n,"hour"),Dg);case"minutes":case"minute":return Sa(Io(r,"minute"),Io(n,"minute"),Gl);case"seconds":case"second":return Sa(Io(r,"second"),Io(n,"second"),1e3)}}function Jl(e){return xa(e,Io(e,"year"),"days")+1}function eh(e){return Go(e)===!0?"date":typeof e=="number"?"number":"string"}function th(e,t,o){let r=new Date(e);if(t){let n=new Date(t);if(r<n)return n}if(o){let n=new Date(o);if(r>n)return n}return r}function oh(e,t,o){let r=new Date(e),n=new Date(t);if(o===void 0)return r.getTime()===n.getTime();switch(o){case"second":case"seconds":if(r.getSeconds()!==n.getSeconds())return!1;case"minute":case"minutes":if(r.getMinutes()!==n.getMinutes())return!1;case"hour":case"hours":if(r.getHours()!==n.getHours())return!1;case"day":case"days":case"date":if(r.getDate()!==n.getDate())return!1;case"month":case"months":if(r.getMonth()!==n.getMonth())return!1;case"year":case"years":if(r.getFullYear()!==n.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${o}`)}return!0}function tu(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function ic(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}var ac={YY(e,t,o){let r=this.YYYY(e,t,o)%100;return r>=0?nt(r):"-"+nt(Math.abs(r))},YYYY(e,t,o){return o??e.getFullYear()},M(e){return e.getMonth()+1},MM(e){return nt(e.getMonth()+1)},MMM(e,t){return t.monthsShort[e.getMonth()]},MMMM(e,t){return t.months[e.getMonth()]},Q(e){return Math.ceil((e.getMonth()+1)/3)},Qo(e){return ic(this.Q(e))},D(e){return e.getDate()},Do(e){return ic(e.getDate())},DD(e){return nt(e.getDate())},DDD(e){return Jl(e)},DDDD(e){return nt(Jl(e),3)},d(e){return e.getDay()},dd(e,t){return this.dddd(e,t).slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return Zl(e)},ww(e){return nt(Zl(e))},H(e){return e.getHours()},HH(e){return nt(e.getHours())},h(e){let t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return nt(this.h(e))},m(e){return e.getMinutes()},mm(e){return nt(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return nt(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return nt(Math.floor(e.getMilliseconds()/10))},SSS(e){return nt(e.getMilliseconds(),3)},A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z(e,t,o,r){let n=r??e.getTimezoneOffset();return rc(n,":")},ZZ(e,t,o,r){let n=r??e.getTimezoneOffset();return rc(n)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function ui(e,t,o,r,n){if(e!==0&&!e||e===1/0||e===-1/0)return;let a=new Date(e);if(isNaN(a))return;t===void 0&&(t=uc);let l=sc(o,Yo.props);return t.replace(Vg,(u,d)=>u in ac?ac[u](a,l,r,n):d===void 0?u:d.split("\\]").join("]"))}function nh(e){return Go(e)===!0?new Date(e.getTime()):e}var fc={isValid:Ng,extractDate:Qg,buildDate:jg,getDayOfWeek:Ug,getWeekOfYear:Zl,isBetweenDates:Wg,addToDate:Yg,subtractFromDate:Xg,adjustDate:dc,startOfDate:Io,endOfDate:Gg,getMaxDate:Zg,getMinDate:Jg,getDateDiff:xa,getDayOfYear:Jl,inferDateFormat:eh,getDateBetween:th,isSameDate:oh,daysInMonth:tu,formatDate:ui,clone:nh};var Bn=20,rh=["Calendar","Years","Months"],mc=e=>rh.includes(e),ou=e=>/^-?[\d]+\/[0-1]\d$/.test(e),Er=" \u2014 ";function mn(e){return e.year+"/"+nt(e.month)}var vc=A({name:"QDate",props:{...$r,...kt,..._e,modelValue:{required:!0,validator:e=>typeof e=="string"||Array.isArray(e)===!0||Object(e)===e||e===null},multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{...$r.mask,default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:ou},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:ou},navigationMaxYearMonth:{type:String,validator:ou},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:mc}},emits:[...ba,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,a=Ce(e,n),{getCache:l}=So(),{tabindex:u,headerClass:d,getLocale:f,getCurrentDate:c}=ya(e,n),h,v=Vo(e),m=Xt(v),g=q(null),x=q(at()),y=q(f()),k=s(()=>at()),S=s(()=>f()),b=s(()=>c()),p=q(vt(x.value,y.value)),_=q(e.defaultView),$=s(()=>n.lang.rtl===!0?"right":"left"),L=q($.value),V=q($.value),F=p.value.year,E=q(F-F%Bn-(F<0?Bn:0)),D=q(null),M=s(()=>{let P=e.landscape===!0?"landscape":"portrait";return`q-date q-date--${P} q-date--${P}-${e.minimal===!0?"minimal":"standard"}`+(a.value===!0?" q-date--dark q-dark":"")+(e.bordered===!0?" q-date--bordered":"")+(e.square===!0?" q-date--square no-border-radius":"")+(e.flat===!0?" q-date--flat no-shadow":"")+(e.disable===!0?" disabled":e.readonly===!0?" q-date--readonly":"")}),C=s(()=>e.color||"primary"),T=s(()=>e.textColor||"white"),G=s(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),X=s(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),B=s(()=>X.value.filter(P=>typeof P=="string").map(P=>mt(P,x.value,y.value)).filter(P=>P.dateHash!==null&&P.day!==null&&P.month!==null&&P.year!==null)),O=s(()=>{let P=N=>mt(N,x.value,y.value);return X.value.filter(N=>ct(N)===!0&&N.from!==void 0&&N.to!==void 0).map(N=>({from:P(N.from),to:P(N.to)})).filter(N=>N.from.dateHash!==null&&N.to.dateHash!==null&&N.from.dateHash<N.to.dateHash)}),K=s(()=>e.calendar!=="persian"?P=>new Date(P.year,P.month-1,P.day):P=>{let N=Kl(P.year,P.month,P.day);return new Date(N.gy,N.gm-1,N.gd)}),ce=s(()=>e.calendar==="persian"?_o:(P,N,te)=>ui(new Date(P.year,P.month-1,P.day,P.hour,P.minute,P.second,P.millisecond),N===void 0?x.value:N,te===void 0?y.value:te,P.year,P.timezoneOffset)),H=s(()=>B.value.length+O.value.reduce((P,N)=>P+1+xa(K.value(N.to),K.value(N.from)),0)),w=s(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(D.value!==null){let te=D.value.init,he=K.value(te);return y.value.daysShort[he.getDay()]+", "+y.value.monthsShort[te.month-1]+" "+te.day+Er+"?"}if(H.value===0)return Er;if(H.value>1)return`${H.value} ${y.value.pluralDay}`;let P=B.value[0],N=K.value(P);return isNaN(N.valueOf())===!0?Er:y.value.headerTitle!==void 0?y.value.headerTitle(N,P):y.value.daysShort[N.getDay()]+", "+y.value.monthsShort[P.month-1]+" "+P.day}),W=s(()=>B.value.concat(O.value.map(N=>N.from)).sort((N,te)=>N.year-te.year||N.month-te.month)[0]),j=s(()=>B.value.concat(O.value.map(N=>N.to)).sort((N,te)=>te.year-N.year||te.month-N.month)[0]),le=s(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(H.value===0)return Er;if(H.value>1){let P=W.value,N=j.value,te=y.value.monthsShort;return te[P.month-1]+(P.year!==N.year?" "+P.year+Er+te[N.month-1]+" ":P.month!==N.month?Er+te[N.month-1]:"")+" "+N.year}return B.value[0].year}),R=s(()=>{let P=[n.iconSet.datetime.arrowLeft,n.iconSet.datetime.arrowRight];return n.lang.rtl===!0?P.reverse():P}),I=s(()=>e.firstDayOfWeek!==void 0?Number(e.firstDayOfWeek):y.value.firstDayOfWeek),ae=s(()=>{let P=y.value.daysShort,N=I.value;return N>0?P.slice(N,7).concat(P.slice(0,N)):P}),Q=s(()=>{let P=p.value;return e.calendar!=="persian"?new Date(P.year,P.month,0).getDate():Ar(P.year,P.month)}),me=s(()=>typeof e.eventColor=="function"?e.eventColor:()=>e.eventColor),Me=s(()=>{if(e.navigationMinYearMonth===void 0)return null;let P=e.navigationMinYearMonth.split("/");return{year:parseInt(P[0],10),month:parseInt(P[1],10)}}),Z=s(()=>{if(e.navigationMaxYearMonth===void 0)return null;let P=e.navigationMaxYearMonth.split("/");return{year:parseInt(P[0],10),month:parseInt(P[1],10)}}),de=s(()=>{let P={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return Me.value!==null&&Me.value.year>=p.value.year&&(P.year.prev=!1,Me.value.year===p.value.year&&Me.value.month>=p.value.month&&(P.month.prev=!1)),Z.value!==null&&Z.value.year<=p.value.year&&(P.year.next=!1,Z.value.year===p.value.year&&Z.value.month<=p.value.month&&(P.month.next=!1)),P}),ge=s(()=>{let P={};return B.value.forEach(N=>{let te=mn(N);P[te]===void 0&&(P[te]=[]),P[te].push(N.day)}),P}),we=s(()=>{let P={};return O.value.forEach(N=>{let te=mn(N.from),he=mn(N.to);if(P[te]===void 0&&(P[te]=[]),P[te].push({from:N.from.day,to:te===he?N.to.day:void 0,range:N}),te<he){let pe,{year:rt,month:Be}=N.from,Ze=Be<12?{year:rt,month:Be+1}:{year:rt+1,month:1};for(;(pe=mn(Ze))<=he;)P[pe]===void 0&&(P[pe]=[]),P[pe].push({from:void 0,to:pe===he?N.to.day:void 0,range:N}),Ze.month++,Ze.month>12&&(Ze.year++,Ze.month=1)}}),P}),Le=s(()=>{if(D.value===null)return;let{init:P,initHash:N,final:te,finalHash:he}=D.value,[pe,rt]=N<=he?[P,te]:[te,P],Be=mn(pe),Ze=mn(rt);if(Be!==fe.value&&Ze!==fe.value)return;let ut={};return Be===fe.value?(ut.from=pe.day,ut.includeFrom=!0):ut.from=1,Ze===fe.value?(ut.to=rt.day,ut.includeTo=!0):ut.to=Q.value,ut}),fe=s(()=>mn(p.value)),Fe=s(()=>{let P={};if(e.options===void 0){for(let te=1;te<=Q.value;te++)P[te]=!0;return P}let N=typeof e.options=="function"?e.options:te=>e.options.includes(te);for(let te=1;te<=Q.value;te++){let he=fe.value+"/"+nt(te);P[te]=N(he)}return P}),He=s(()=>{let P={};if(e.events===void 0)for(let N=1;N<=Q.value;N++)P[N]=!1;else{let N=typeof e.events=="function"?e.events:te=>e.events.includes(te);for(let te=1;te<=Q.value;te++){let he=fe.value+"/"+nt(te);P[te]=N(he)===!0&&me.value(he)}}return P}),Qe=s(()=>{let P,N,{year:te,month:he}=p.value;if(e.calendar!=="persian")P=new Date(te,he-1,1),N=new Date(te,he-1,0).getDate();else{let pe=Kl(te,he,1);P=new Date(pe.gy,pe.gm-1,pe.gd);let rt=he-1,Be=te;rt===0&&(rt=12,Be--),N=Ar(Be,rt)}return{days:P.getDay()-I.value-1,endDay:N}}),ue=s(()=>{let P=[],{days:N,endDay:te}=Qe.value,he=N<0?N+7:N;if(he<6)for(let Be=te-he;Be<=te;Be++)P.push({i:Be,fill:!0});let pe=P.length;for(let Be=1;Be<=Q.value;Be++){let Ze={i:Be,event:He.value[Be],classes:[]};Fe.value[Be]===!0&&(Ze.in=!0,Ze.flat=!0),P.push(Ze)}if(ge.value[fe.value]!==void 0&&ge.value[fe.value].forEach(Be=>{let Ze=pe+Be-1;Object.assign(P[Ze],{selected:!0,unelevated:!0,flat:!1,color:C.value,textColor:T.value})}),we.value[fe.value]!==void 0&&we.value[fe.value].forEach(Be=>{if(Be.from!==void 0){let Ze=pe+Be.from-1,ut=pe+(Be.to||Q.value)-1;for(let so=Ze;so<=ut;so++)Object.assign(P[so],{range:Be.range,unelevated:!0,color:C.value,textColor:T.value});Object.assign(P[Ze],{rangeFrom:!0,flat:!1}),Be.to!==void 0&&Object.assign(P[ut],{rangeTo:!0,flat:!1})}else if(Be.to!==void 0){let Ze=pe+Be.to-1;for(let ut=pe;ut<=Ze;ut++)Object.assign(P[ut],{range:Be.range,unelevated:!0,color:C.value,textColor:T.value});Object.assign(P[Ze],{flat:!1,rangeTo:!0})}else{let Ze=pe+Q.value-1;for(let ut=pe;ut<=Ze;ut++)Object.assign(P[ut],{range:Be.range,unelevated:!0,color:C.value,textColor:T.value})}}),Le.value!==void 0){let Be=pe+Le.value.from-1,Ze=pe+Le.value.to-1;for(let ut=Be;ut<=Ze;ut++)P[ut].color=C.value,P[ut].editRange=!0;Le.value.includeFrom===!0&&(P[Be].editRangeFrom=!0),Le.value.includeTo===!0&&(P[Ze].editRangeTo=!0)}p.value.year===b.value.year&&p.value.month===b.value.month&&(P[pe+b.value.day-1].today=!0);let rt=P.length%7;if(rt>0){let Be=7-rt;for(let Ze=1;Ze<=Be;Ze++)P.push({i:Ze,fill:!0})}return P.forEach(Be=>{let Ze="q-date__calendar-item ";Be.fill===!0?Ze+="q-date__calendar-item--fill":(Ze+=`q-date__calendar-item--${Be.in===!0?"in":"out"}`,Be.range!==void 0&&(Ze+=` q-date__range${Be.rangeTo===!0?"-to":Be.rangeFrom===!0?"-from":""}`),Be.editRange===!0&&(Ze+=` q-date__edit-range${Be.editRangeFrom===!0?"-from":""}${Be.editRangeTo===!0?"-to":""}`),(Be.range!==void 0||Be.editRange===!0)&&(Ze+=` text-${Be.color}`)),Be.classes=Ze}),P}),ve=s(()=>e.disable===!0?{"aria-disabled":"true"}:{});Y(()=>e.modelValue,P=>{if(h===P)h=0;else{let N=vt(x.value,y.value);tt(N.year,N.month,N)}}),Y(_,()=>{g.value!==null&&r.$el.contains(document.activeElement)===!0&&g.value.focus()}),Y(()=>p.value.year+"|"+p.value.month,()=>{o("navigation",{year:p.value.year,month:p.value.month})}),Y(k,P=>{ne(P,y.value,"mask"),x.value=P}),Y(S,P=>{ne(x.value,P,"locale"),y.value=P});function ee(){let{year:P,month:N,day:te}=b.value,he={...p.value,year:P,month:N,day:te},pe=ge.value[mn(he)];(pe===void 0||pe.includes(he.day)===!1)&&jo(he),ze(he.year,he.month)}function be(P){mc(P)===!0&&(_.value=P)}function De(P,N){["month","year"].includes(P)&&(P==="month"?se:J)(N===!0?-1:1)}function ze(P,N){_.value="Calendar",tt(P,N)}function Ve(P,N){if(e.range===!1||!P){D.value=null;return}let te=Object.assign({...p.value},P),he=N!==void 0?Object.assign({...p.value},N):te;D.value={init:te,initHash:_o(te),final:he,finalHash:_o(he)},ze(te.year,te.month)}function at(){return e.calendar==="persian"?"YYYY/MM/DD":e.mask}function mt(P,N,te){return fn(P,N,te,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function vt(P,N){let te=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(te.length===0)return oe();let he=te[te.length-1],pe=mt(he.from!==void 0?he.from:he,P,N);return pe.dateHash===null?oe():pe}function oe(){let P,N;if(e.defaultYearMonth!==void 0){let te=e.defaultYearMonth.split("/");P=parseInt(te[0],10),N=parseInt(te[1],10)}else{let te=b.value!==void 0?b.value:c();P=te.year,N=te.month}return{year:P,month:N,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:P+"/"+nt(N)+"/01"}}function se(P){let N=p.value.year,te=Number(p.value.month)+P;te===13?(te=1,N++):te===0&&(te=12,N--),tt(N,te),G.value===!0&&yt("month")}function J(P){let N=Number(p.value.year)+P;tt(N,p.value.month),G.value===!0&&yt("year")}function ie(P){tt(P,p.value.month),_.value=e.defaultView==="Years"?"Months":"Calendar",G.value===!0&&yt("year")}function Ae(P){tt(p.value.year,P),_.value="Calendar",G.value===!0&&yt("month")}function Ue(P,N){let te=ge.value[N];(te!==void 0&&te.includes(P.day)===!0?To:jo)(P)}function ke(P){return{year:P.year,month:P.month,day:P.day}}function tt(P,N,te){if(Me.value!==null&&P<=Me.value.year&&((N<Me.value.month||P<Me.value.year)&&(N=Me.value.month),P=Me.value.year),Z.value!==null&&P>=Z.value.year&&((N>Z.value.month||P>Z.value.year)&&(N=Z.value.month),P=Z.value.year),te!==void 0){let{hour:pe,minute:rt,second:Be,millisecond:Ze,timezoneOffset:ut,timeHash:so}=te;Object.assign(p.value,{hour:pe,minute:rt,second:Be,millisecond:Ze,timezoneOffset:ut,timeHash:so})}let he=P+"/"+nt(N)+"/01";he!==p.value.dateHash&&(L.value=p.value.dateHash<he==(n.lang.rtl!==!0)?"left":"right",P!==p.value.year&&(V.value=L.value),$e(()=>{E.value=P-P%Bn-(P<0?Bn:0),Object.assign(p.value,{year:P,month:N,day:1,dateHash:he})}))}function pt(P,N,te){let he=P!==null&&P.length===1&&e.multiple===!1?P[0]:P;h=he;let{reason:pe,details:rt}=Gt(N,te);o("update:modelValue",he,pe,rt)}function yt(P){let N=B.value[0]!==void 0&&B.value[0].dateHash!==null?{...B.value[0]}:{...p.value};$e(()=>{N.year=p.value.year,N.month=p.value.month;let te=e.calendar!=="persian"?new Date(N.year,N.month,0).getDate():Ar(N.year,N.month);N.day=Math.min(Math.max(1,N.day),te);let he=uo(N);h=he;let{details:pe}=Gt("",N);o("update:modelValue",he,P,pe)})}function Gt(P,N){return N.from!==void 0?{reason:`${P}-range`,details:{...ke(N.target),from:ke(N.from),to:ke(N.to)}}:{reason:`${P}-day`,details:ke(N)}}function uo(P,N,te){return P.from!==void 0?{from:ce.value(P.from,N,te),to:ce.value(P.to,N,te)}:ce.value(P,N,te)}function jo(P){let N;if(e.multiple===!0)if(P.from!==void 0){let te=_o(P.from),he=_o(P.to),pe=B.value.filter(Be=>Be.dateHash<te||Be.dateHash>he),rt=O.value.filter(({from:Be,to:Ze})=>Ze.dateHash<te||Be.dateHash>he);N=pe.concat(rt).concat(P).map(Be=>uo(Be))}else{let te=X.value.slice();te.push(uo(P)),N=te}else N=uo(P);pt(N,"add",P)}function To(P){if(e.noUnset===!0)return;let N=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){let te=uo(P);P.from!==void 0?N=e.modelValue.filter(he=>he.from!==void 0?he.from!==te.from&&he.to!==te.to:!0):N=e.modelValue.filter(he=>he!==te),N.length===0&&(N=null)}pt(N,"remove",P)}function ne(P,N,te){let he=B.value.concat(O.value).map(pe=>uo(pe,P,N)).filter(pe=>pe.from!==void 0?pe.from.dateHash!==null&&pe.to.dateHash!==null:pe.dateHash!==null);o("update:modelValue",(e.multiple===!0?he:he[0])||null,te)}function ye(){if(e.minimal!==!0)return i("div",{class:"q-date__header "+d.value},[i("div",{class:"relative-position"},[i(lt,{name:"q-transition--fade"},()=>i("div",{key:"h-yr-"+le.value,class:"q-date__header-subtitle q-date__header-link "+(_.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vY",{onClick(){_.value="Years"},onKeyup(P){P.keyCode===13&&(_.value="Years")}})},[le.value]))]),i("div",{class:"q-date__header-title relative-position flex no-wrap"},[i("div",{class:"relative-position col"},[i(lt,{name:"q-transition--fade"},()=>i("div",{key:"h-sub"+w.value,class:"q-date__header-title-label q-date__header-link "+(_.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vC",{onClick(){_.value="Calendar"},onKeyup(P){P.keyCode===13&&(_.value="Calendar")}})},[w.value]))]),e.todayBtn===!0?i(Ie,{class:"q-date__header-today self-start",icon:n.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:u.value,onClick:ee}):null])])}function Ee({label:P,type:N,key:te,dir:he,goTo:pe,boundaries:rt,cls:Be}){return[i("div",{class:"row items-center q-date__arrow"},[i(Ie,{round:!0,dense:!0,size:"sm",flat:!0,icon:R.value[0],tabindex:u.value,disable:rt.prev===!1,...l("go-#"+N,{onClick(){pe(-1)}})})]),i("div",{class:"relative-position overflow-hidden flex flex-center"+Be},[i(lt,{name:"q-transition--jump-"+he},()=>i("div",{key:te},[i(Ie,{flat:!0,dense:!0,noCaps:!0,label:P,tabindex:u.value,...l("view#"+N,{onClick:()=>{_.value=N}})})]))]),i("div",{class:"row items-center q-date__arrow"},[i(Ie,{round:!0,dense:!0,size:"sm",flat:!0,icon:R.value[1],tabindex:u.value,disable:rt.next===!1,...l("go+#"+N,{onClick(){pe(1)}})})])]}let Oe={Calendar:()=>[i("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[i("div",{class:"q-date__navigation row items-center no-wrap"},Ee({label:y.value.months[p.value.month-1],type:"Months",key:p.value.month,dir:L.value,goTo:se,boundaries:de.value.month,cls:" col"}).concat(Ee({label:p.value.year,type:"Years",key:p.value.year,dir:V.value,goTo:J,boundaries:de.value.year,cls:""}))),i("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},ae.value.map(P=>i("div",{class:"q-date__calendar-item"},[i("div",P)]))),i("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[i(lt,{name:"q-transition--slide-"+L.value},()=>i("div",{key:fe.value,class:"q-date__calendar-days fit"},ue.value.map(P=>i("div",{class:P.classes},[P.in===!0?i(Ie,{class:P.today===!0?"q-date__today":"",dense:!0,flat:P.flat,unelevated:P.unelevated,color:P.color,textColor:P.textColor,label:P.i,tabindex:u.value,...l("day#"+P.i,{onClick:()=>{Ye(P.i)},onMouseover:()=>{St(P.i)}})},P.event!==!1?()=>i("div",{class:"q-date__event bg-"+P.event}):null):i("div",""+P.i)]))))])])],Months(){let P=p.value.year===b.value.year,N=he=>Me.value!==null&&p.value.year===Me.value.year&&Me.value.month>he||Z.value!==null&&p.value.year===Z.value.year&&Z.value.month<he,te=y.value.monthsShort.map((he,pe)=>{let rt=p.value.month===pe+1;return i("div",{class:"q-date__months-item flex flex-center"},[i(Ie,{class:P===!0&&b.value.month===pe+1?"q-date__today":null,flat:rt!==!0,label:he,unelevated:rt,color:rt===!0?C.value:null,textColor:rt===!0?T.value:null,tabindex:u.value,disable:N(pe+1),...l("month#"+pe,{onClick:()=>{Ae(pe+1)}})})])});return e.yearsInMonthView===!0&&te.unshift(i("div",{class:"row no-wrap full-width"},[Ee({label:p.value.year,type:"Years",key:p.value.year,dir:V.value,goTo:J,boundaries:de.value.year,cls:" col"})])),i("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},te)},Years(){let P=E.value,N=P+Bn,te=[],he=pe=>Me.value!==null&&Me.value.year>pe||Z.value!==null&&Z.value.year<pe;for(let pe=P;pe<=N;pe++){let rt=p.value.year===pe;te.push(i("div",{class:"q-date__years-item flex flex-center"},[i(Ie,{key:"yr"+pe,class:b.value.year===pe?"q-date__today":null,flat:!rt,label:pe,dense:!0,unelevated:rt,color:rt===!0?C.value:null,textColor:rt===!0?T.value:null,tabindex:u.value,disable:he(pe),...l("yr#"+pe,{onClick:()=>{ie(pe)}})})]))}return i("div",{class:"q-date__view q-date__years flex flex-center"},[i("div",{class:"col-auto"},[i(Ie,{round:!0,dense:!0,flat:!0,icon:R.value[0],tabindex:u.value,disable:he(P),...l("y-",{onClick:()=>{E.value-=Bn}})})]),i("div",{class:"q-date__years-content col self-stretch row items-center"},te),i("div",{class:"col-auto"},[i(Ie,{round:!0,dense:!0,flat:!0,icon:R.value[1],tabindex:u.value,disable:he(N),...l("y+",{onClick:()=>{E.value+=Bn}})})])])}};function Ye(P){let N={...p.value,day:P};if(e.range===!1){Ue(N,fe.value);return}if(D.value===null){let te=ue.value.find(pe=>pe.fill!==!0&&pe.i===P);if(e.noUnset!==!0&&te.range!==void 0){To({target:N,from:te.range.from,to:te.range.to});return}if(te.selected===!0){To(N);return}let he=_o(N);D.value={init:N,initHash:he,final:N,finalHash:he},o("rangeStart",ke(N))}else{let te=D.value.initHash,he=_o(N),pe=te<=he?{from:D.value.init,to:N}:{from:N,to:D.value.init};D.value=null,jo(te===he?N:{target:N,...pe}),o("rangeEnd",{from:ke(pe.from),to:ke(pe.to)})}}function St(P){if(D.value!==null){let N={...p.value,day:P};Object.assign(D.value,{final:N,finalHash:_o(N)})}}return Object.assign(r,{setToday:ee,setView:be,offsetCalendar:De,setCalendarTo:ze,setEditingRange:Ve}),()=>{let P=[i("div",{class:"q-date__content col relative-position"},[i(lt,{name:"q-transition--fade"},Oe[_.value])])],N=re(t.default);return N!==void 0&&P.push(i("div",{class:"q-date__actions"},N)),e.name!==void 0&&e.disable!==!0&&m(P,"push"),i("div",{class:M.value,...ve.value},[ye(),i("div",{ref:g,class:"q-date__main col column",tabindex:-1},P)])}}});function _a(e,t,o){let r;function n(){r!==void 0&&(on.remove(r),r=void 0)}return Se(()=>{e.value===!0&&n()}),{removeFromHistory:n,addToHistory(){r={condition:()=>o.value===!0,handler:t},on.add(r)}}}var si=0,nu,ru,ci,iu=!1,gc,hc,pc,Ln=null;function ih(e){ah(e)&&qe(e)}function ah(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;let t=xl(e),o=e.shiftKey&&!e.deltaX,r=!o&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),n=o||r?e.deltaY:e.deltaX;for(let a=0;a<t.length;a++){let l=t[a];if(Vl(l,r))return r?n<0&&l.scrollTop===0?!0:n>0&&l.scrollTop+l.clientHeight===l.scrollHeight:n<0&&l.scrollLeft===0?!0:n>0&&l.scrollLeft+l.clientWidth===l.scrollWidth}return!0}function bc(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Ca(e){iu!==!0&&(iu=!0,requestAnimationFrame(()=>{iu=!1;let{height:t}=e.target,{clientHeight:o,scrollTop:r}=document.scrollingElement;(ci===void 0||t!==window.innerHeight)&&(ci=o-t,document.scrollingElement.scrollTop=r),r>ci&&(document.scrollingElement.scrollTop-=Math.ceil((r-ci)/8))}))}function yc(e){let t=document.body,o=window.visualViewport!==void 0;if(e==="add"){let{overflowY:r,overflowX:n}=window.getComputedStyle(t);nu=sn(window),ru=to(window),gc=t.style.left,hc=t.style.top,pc=window.location.href,t.style.left=`-${nu}px`,t.style.top=`-${ru}px`,n!=="hidden"&&(n==="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,Re.is.ios===!0&&(o===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Ca,et.passiveCapture),window.visualViewport.addEventListener("scroll",Ca,et.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",bc,et.passiveCapture))}Re.is.desktop===!0&&Re.is.mac===!0&&window[`${e}EventListener`]("wheel",ih,et.notPassive),e==="remove"&&(Re.is.ios===!0&&(o===!0?(window.visualViewport.removeEventListener("resize",Ca,et.passiveCapture),window.visualViewport.removeEventListener("scroll",Ca,et.passiveCapture)):window.removeEventListener("scroll",bc,et.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=gc,t.style.top=hc,window.location.href===pc&&window.scrollTo(nu,ru),ci=void 0)}function di(e){let t="add";if(e===!0){if(si++,Ln!==null){clearTimeout(Ln),Ln=null;return}if(si>1)return}else{if(si===0||(si--,si>0))return;if(t="remove",Re.is.ios===!0&&Re.is.nativeMobile===!0){Ln!==null&&clearTimeout(Ln),Ln=setTimeout(()=>{yc(t),Ln=null},100);return}}yc(t)}function wa(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,di(t))}}}var ka=0,lh={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"},Sc={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Ho=A({name:"QDialog",inheritAttrs:!1,props:{...vo,...bo,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:[...go,"shake","click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),a=q(null),l=q(!1),u=q(!1),d=null,f=null,c,h,v=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:m}=wa(),{registerTimeout:g}=Yt(),{registerTick:x,removeTick:y}=yo(),{transitionProps:k,transitionStyle:S}=un(e,()=>Sc[e.position][0],()=>Sc[e.position][1]),b=s(()=>S.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:p,hidePortal:_,portalIsAccessible:$,renderPortal:L}=lr(n,a,le,"dialog"),{hide:V}=ho({showing:l,hideOnRouteChange:v,handleShow:G,handleHide:X,processOnMount:!0}),{addToHistory:F,removeFromHistory:E}=_a(l,V,v),D=s(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${lh[e.position]}`+(u.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":"")),M=s(()=>l.value===!0&&e.seamless!==!0),C=s(()=>e.autoClose===!0?{onClick:w}:{}),T=s(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${M.value===!0?"modal":"seamless"}`,r.class]);Y(()=>e.maximized,R=>{l.value===!0&&H(R)}),Y(M,R=>{m(R),R===!0?(dr(j),Ki(K)):(Rn(j),cr(K))});function G(R){F(),f=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,H(e.maximized),p(),u.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),x(B)):y(),g(()=>{if(n.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){let{top:I,bottom:ae}=document.activeElement.getBoundingClientRect(),{innerHeight:Q}=window,me=window.visualViewport!==void 0?window.visualViewport.height:Q;I>0&&ae>me/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-me,ae>=Q?1/0:Math.ceil(document.scrollingElement.scrollTop+ae-me/2))),document.activeElement.scrollIntoView()}h=!0,a.value.click(),h=!1}p(!0),u.value=!1,o("show",R)},e.transitionDuration)}function X(R){y(),E(),ce(!0),u.value=!0,_(),f!==null&&(((R&&R.type.indexOf("key")===0?f.closest('[tabindex]:not([tabindex^="-"])'):void 0)||f).focus(),f=null),g(()=>{_(!0),u.value=!1,o("hide",R)},e.transitionDuration)}function B(R){po(()=>{let I=a.value;if(I!==null){if(R!==void 0){let ae=I.querySelector(R);if(ae!==null){ae.focus({preventScroll:!0});return}}I.contains(document.activeElement)!==!0&&(I=I.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||I.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||I.querySelector("[autofocus], [data-autofocus]")||I,I.focus({preventScroll:!0}))}})}function O(R){R&&typeof R.focus=="function"?R.focus({preventScroll:!0}):B(),o("shake");let I=a.value;I!==null&&(I.classList.remove("q-animate--scale"),I.classList.add("q-animate--scale"),d!==null&&clearTimeout(d),d=setTimeout(()=>{d=null,a.value!==null&&(I.classList.remove("q-animate--scale"),B())},170))}function K(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&O():(o("escapeKey"),V()))}function ce(R){d!==null&&(clearTimeout(d),d=null),(R===!0||l.value===!0)&&(H(!1),e.seamless!==!0&&(m(!1),Rn(j),cr(K))),R!==!0&&(f=null)}function H(R){R===!0?c!==!0&&(ka<1&&document.body.classList.add("q-body--dialog"),ka++,c=!0):c===!0&&(ka<2&&document.body.classList.remove("q-body--dialog"),ka--,c=!1)}function w(R){h!==!0&&(V(R),o("click",R))}function W(R){e.persistent!==!0&&e.noBackdropDismiss!==!0?V(R):e.noShake!==!0&&O()}function j(R){e.allowFocusOutside!==!0&&$.value===!0&&Oi(a.value,R.target)!==!0&&B('[tabindex]:not([tabindex="-1"])')}Object.assign(n.proxy,{focus:B,shake:O,__updateRefocusTarget(R){f=R||null}}),Se(ce);function le(){return i("div",{role:"dialog","aria-modal":M.value===!0?"true":"false",...r,class:T.value},[i(lt,{name:"q-transition--fade",appear:!0},()=>M.value===!0?i("div",{class:"q-dialog__backdrop fixed-full",style:b.value,"aria-hidden":"true",tabindex:-1,onClick:W}):null),i(lt,k.value,()=>l.value===!0?i("div",{ref:a,class:D.value,style:S.value,tabindex:-1,...C.value},re(t.default)):null)])}return L}});var xc=150,_c=A({name:"QDrawer",inheritAttrs:!1,props:{...vo,..._e,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...go,"onLayout","miniState"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),{proxy:{$q:a}}=n,l=Ce(e,a),{preventBodyScroll:u}=wa(),{registerTimeout:d,removeTimeout:f}=Yt(),c=ht(Jt,Je);if(c===Je)return console.error("QDrawer needs to be child of QLayout"),Je;let h,v=null,m,g=q(e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint),x=s(()=>e.mini===!0&&g.value!==!0),y=s(()=>x.value===!0?e.miniWidth:e.width),k=q(e.showIfAbove===!0&&g.value===!1?!0:e.modelValue===!0),S=s(()=>e.persistent!==!0&&(g.value===!0||ce.value===!0));function b(ee,be){if(L(),ee!==!1&&c.animate(),de(0),g.value===!0){let De=c.instances[X.value];De!==void 0&&De.belowBreakpoint===!0&&De.hide(!1),ge(1),c.isContainer.value!==!0&&u(!0)}else ge(0),ee!==!1&&we(!1);d(()=>{ee!==!1&&we(!0),be!==!0&&o("show",ee)},xc)}function p(ee,be){V(),ee!==!1&&c.animate(),ge(0),de(D.value*y.value),He(),be!==!0?d(()=>{o("hide",ee)},xc):f()}let{show:_,hide:$}=ho({showing:k,hideOnRouteChange:S,handleShow:b,handleHide:p}),{addToHistory:L,removeFromHistory:V}=_a(k,$,S),F={belowBreakpoint:g,hide:$},E=s(()=>e.side==="right"),D=s(()=>(a.lang.rtl===!0?-1:1)*(E.value===!0?1:-1)),M=q(0),C=q(!1),T=q(!1),G=q(y.value*D.value),X=s(()=>E.value===!0?"left":"right"),B=s(()=>k.value===!0&&g.value===!1&&e.overlay===!1?e.miniToOverlay===!0?e.miniWidth:y.value:0),O=s(()=>e.overlay===!0||e.miniToOverlay===!0||c.view.value.indexOf(E.value?"R":"L")!==-1||a.platform.is.ios===!0&&c.isContainer.value===!0),K=s(()=>e.overlay===!1&&k.value===!0&&g.value===!1),ce=s(()=>e.overlay===!0&&k.value===!0&&g.value===!1),H=s(()=>"fullscreen q-drawer__backdrop"+(k.value===!1&&C.value===!1?" hidden":"")),w=s(()=>({backgroundColor:`rgba(0,0,0,${M.value*.4})`})),W=s(()=>E.value===!0?c.rows.value.top[2]==="r":c.rows.value.top[0]==="l"),j=s(()=>E.value===!0?c.rows.value.bottom[2]==="r":c.rows.value.bottom[0]==="l"),le=s(()=>{let ee={};return c.header.space===!0&&W.value===!1&&(O.value===!0?ee.top=`${c.header.offset}px`:c.header.space===!0&&(ee.top=`${c.header.size}px`)),c.footer.space===!0&&j.value===!1&&(O.value===!0?ee.bottom=`${c.footer.offset}px`:c.footer.space===!0&&(ee.bottom=`${c.footer.size}px`)),ee}),R=s(()=>{let ee={width:`${y.value}px`,transform:`translateX(${G.value}px)`};return g.value===!0?ee:Object.assign(ee,le.value)}),I=s(()=>"q-drawer__content fit "+(c.isContainer.value!==!0?"scroll":"overflow-auto")),ae=s(()=>`q-drawer q-drawer--${e.side}`+(T.value===!0?" q-drawer--mini-animate":"")+(e.bordered===!0?" q-drawer--bordered":"")+(l.value===!0?" q-drawer--dark q-dark":"")+(C.value===!0?" no-transition":k.value===!0?"":" q-layout--prevent-focus")+(g.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${x.value===!0?"mini":"standard"}`+(O.value===!0||K.value!==!0?" fixed":"")+(e.overlay===!0||e.miniToOverlay===!0?" q-drawer--on-top":"")+(W.value===!0?" q-drawer--top-padding":""))),Q=s(()=>{let ee=a.lang.rtl===!0?e.side:X.value;return[[Rt,fe,void 0,{[ee]:!0,mouse:!0}]]}),me=s(()=>{let ee=a.lang.rtl===!0?X.value:e.side;return[[Rt,Fe,void 0,{[ee]:!0,mouse:!0}]]}),Me=s(()=>{let ee=a.lang.rtl===!0?X.value:e.side;return[[Rt,Fe,void 0,{[ee]:!0,mouse:!0,mouseAllDir:!0}]]});function Z(){ue(g,e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint)}Y(g,ee=>{ee===!0?(h=k.value,k.value===!0&&$(!1)):e.overlay===!1&&e.behavior!=="mobile"&&h!==!1&&(k.value===!0?(de(0),ge(0),He()):_(!1))}),Y(()=>e.side,(ee,be)=>{c.instances[be]===F&&(c.instances[be]=void 0,c[be].space=!1,c[be].offset=0),c.instances[ee]=F,c[ee].size=y.value,c[ee].space=K.value,c[ee].offset=B.value}),Y(c.totalWidth,()=>{(c.isContainer.value===!0||document.qScrollPrevented!==!0)&&Z()}),Y(()=>e.behavior+e.breakpoint,Z),Y(c.isContainer,ee=>{k.value===!0&&u(ee!==!0),ee===!0&&Z()}),Y(c.scrollbarWidth,()=>{de(k.value===!0?0:void 0)}),Y(B,ee=>{Qe("offset",ee)}),Y(K,ee=>{o("onLayout",ee),Qe("space",ee)}),Y(E,()=>{de()}),Y(y,ee=>{de(),ve(e.miniToOverlay,ee)}),Y(()=>e.miniToOverlay,ee=>{ve(ee,y.value)}),Y(()=>a.lang.rtl,()=>{de()}),Y(()=>e.mini,()=>{e.noMiniAnimation||e.modelValue===!0&&(Le(),c.animate())}),Y(x,ee=>{o("miniState",ee)});function de(ee){ee===void 0?$e(()=>{ee=k.value===!0?0:y.value,de(D.value*ee)}):(c.isContainer.value===!0&&E.value===!0&&(g.value===!0||Math.abs(ee)===y.value)&&(ee+=D.value*c.scrollbarWidth.value),G.value=ee)}function ge(ee){M.value=ee}function we(ee){let be=ee===!0?"remove":c.isContainer.value!==!0?"add":"";be!==""&&document.body.classList[be]("q-body--drawer-toggle")}function Le(){v!==null&&clearTimeout(v),n.proxy&&n.proxy.$el&&n.proxy.$el.classList.add("q-drawer--mini-animate"),T.value=!0,v=setTimeout(()=>{v=null,T.value=!1,n&&n.proxy&&n.proxy.$el&&n.proxy.$el.classList.remove("q-drawer--mini-animate")},150)}function fe(ee){if(k.value!==!1)return;let be=y.value,De=ot(ee.distance.x,0,be);if(ee.isFinal===!0){De>=Math.min(75,be)===!0?_():(c.animate(),ge(0),de(D.value*be)),C.value=!1;return}de((a.lang.rtl===!0?E.value!==!0:E.value)?Math.max(be-De,0):Math.min(0,De-be)),ge(ot(De/be,0,1)),ee.isFirst===!0&&(C.value=!0)}function Fe(ee){if(k.value!==!0)return;let be=y.value,De=ee.direction===e.side,ze=(a.lang.rtl===!0?De!==!0:De)?ot(ee.distance.x,0,be):0;if(ee.isFinal===!0){Math.abs(ze)<Math.min(75,be)===!0?(c.animate(),ge(1),de(0)):$(),C.value=!1;return}de(D.value*ze),ge(ot(1-ze/be,0,1)),ee.isFirst===!0&&(C.value=!0)}function He(){u(!1),we(!0)}function Qe(ee,be){c.update(e.side,ee,be)}function ue(ee,be){ee.value!==be&&(ee.value=be)}function ve(ee,be){Qe("size",ee===!0?e.miniWidth:be)}return c.instances[e.side]=F,ve(e.miniToOverlay,y.value),Qe("space",K.value),Qe("offset",B.value),e.showIfAbove===!0&&e.modelValue!==!0&&k.value===!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",!0),Ne(()=>{o("onLayout",K.value),o("miniState",x.value),h=e.showIfAbove===!0;let ee=()=>{(k.value===!0?b:p)(!1,!0)};if(c.totalWidth.value!==0){$e(ee);return}m=Y(c.totalWidth,()=>{m(),m=void 0,k.value===!1&&e.showIfAbove===!0&&g.value===!1?_(!1):ee()})}),Se(()=>{m!==void 0&&m(),v!==null&&(clearTimeout(v),v=null),k.value===!0&&He(),c.instances[e.side]===F&&(c.instances[e.side]=void 0,Qe("size",0),Qe("offset",0),Qe("space",!1))}),()=>{let ee=[];g.value===!0&&(e.noSwipeOpen===!1&&ee.push(Et(i("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),Q.value)),ee.push(Mt("div",{ref:"backdrop",class:H.value,style:w.value,"aria-hidden":"true",onClick:$},void 0,"backdrop",e.noSwipeBackdrop!==!0&&k.value===!0,()=>Me.value)));let be=x.value===!0&&t.mini!==void 0,De=[i("div",{...r,key:""+be,class:[I.value,r.class]},be===!0?t.mini():re(t.default))];return e.elevated===!0&&k.value===!0&&De.push(i("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),ee.push(Mt("aside",{ref:"content",class:ae.value,style:R.value},De,"contentclose",e.noSwipeClose!==!0&&g.value===!0,()=>me.value)),i("div",{class:"q-drawer-container"},ee)}}});function Cc(e,t){if(t&&e===t)return null;let o=e.nodeName.toLowerCase();if(["div","li","ul","ol","blockquote"].includes(o)===!0)return e;let r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,n=r.display;return n==="block"||n==="table"?e:Cc(e.parentNode)}function au(e,t,o){return!e||e===document.body?!1:o===!0&&e===t||(t===document?document.body:t).contains(e.parentNode)}function wc(e,t,o){if(o||(o=document.createRange(),o.selectNode(e),o.setStart(e,0)),t.count===0)o.setEnd(e,t.count);else if(t.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length<t.count?t.count-=e.textContent.length:(o.setEnd(e,t.count),t.count=0);else for(let r=0;t.count!==0&&r<e.childNodes.length;r++)o=wc(e.childNodes[r],t,o);return o}var uh=/^https?:\/\//,fi=class{constructor(t,o){this.el=t,this.eVm=o,this._range=null}get selection(){if(this.el){let t=document.getSelection();if(au(t.anchorNode,this.el,!0)&&au(t.focusNode,this.el,!0))return t}return null}get hasSelection(){return this.selection!==null?this.selection.toString().length!==0:!1}get range(){let t=this.selection;return t!==null&&t.rangeCount?t.getRangeAt(0):this._range}get parent(){let t=this.range;if(t!==null){let o=t.startContainer;return o.nodeType===document.ELEMENT_NODE?o:o.parentNode}return null}get blockParent(){let t=this.parent;return t!==null?Cc(t,this.el):null}save(t=this.range){t!==null&&(this._range=t)}restore(t=this._range){let o=document.createRange(),r=document.getSelection();t!==null?(o.setStart(t.startContainer,t.startOffset),o.setEnd(t.endContainer,t.endOffset),r.removeAllRanges(),r.addRange(o)):(r.selectAllChildren(this.el),r.collapseToEnd())}savePosition(){let t=-1,o,r=document.getSelection(),n=this.el.parentNode;if(r.focusNode&&au(r.focusNode,n))for(o=r.focusNode,t=r.focusOffset;o&&o!==n;)o!==this.el&&o.previousSibling?(o=o.previousSibling,t+=o.textContent.length):o=o.parentNode;this.savedPos=t}restorePosition(t=0){if(this.savedPos>0&&this.savedPos<t){let o=window.getSelection(),r=wc(this.el,{count:this.savedPos});r&&(r.collapse(!1),o.removeAllRanges(),o.addRange(r))}}hasParent(t,o){let r=o?this.parent:this.blockParent;return r!==null?r.nodeName.toLowerCase()===t.toLowerCase():!1}hasParents(t,o,r=this.parent){return r===null?!1:t.includes(r.nodeName.toLowerCase())===!0?!0:o===!0?this.hasParents(t,o,r.parentNode):!1}is(t,o){if(this.selection===null)return!1;switch(t){case"formatBlock":return o==="DIV"&&this.parent===this.el||this.hasParent(o,o==="PRE");case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(t)===o;case"fontName":let r=document.queryCommandValue(t);return r===`"${o}"`||r===o;case"fullscreen":return this.eVm.inFullscreen.value;case"viewsource":return this.eVm.isViewingSource.value;case void 0:return!1;default:let n=document.queryCommandState(t);return o!==void 0?n===o:n}}getParentAttribute(t){return this.parent!==null?this.parent.getAttribute(t):null}can(t){if(t==="outdent")return this.hasParents(["blockquote","li"],!0);if(t==="indent")return this.hasParents(["li"],!0);if(t==="link")return this.selection!==null||this.is("link")}apply(t,o,r=We){if(t==="formatBlock")["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(o)&&this.is(t,o)&&(t="outdent",o=null),o==="PRE"&&this.is(t,"PRE")&&(o="P");else if(t==="print"){r();let n=window.open();n.document.write(`
|
|
7
|
+
(()=>{var av=Object.defineProperty;var Ur=(e,t)=>{for(var o in t)av(e,o,{get:t[o],enumerable:!0})};var{h:i,ref:q,computed:s,watch:Y,isRef:Mu,toRaw:co,unref:Ru,reactive:Uo,shallowReactive:Pu,nextTick:$e,onActivated:Qt,onDeactivated:Pt,onBeforeMount:Qn,onMounted:Ne,onBeforeUnmount:Se,onUnmounted:Nn,onBeforeUpdate:Mo,onUpdated:Au,inject:ht,provide:Nt,getCurrentInstance:U,markRaw:Kr,Transition:lt,TransitionGroup:$u,KeepAlive:wi,Teleport:Eu,useSSRContext:s0,withDirectives:Et,vShow:ki,defineComponent:Bu,createApp:Lu}=window.Vue;function st(e,t,o,r){return Object.defineProperty(e,t,{get:o,set:r,enumerable:!0}),e}function qi(e,t){for(let o in t)st(e,o,t[o]);return e}var xt=q(!1),yl;function lv(e,t){let o=/(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:o[5]||o[3]||o[1]||"",version:o[4]||o[2]||"0",platform:t[0]||""}}function uv(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)||[]}var Du="ontouchstart"in window||window.navigator.maxTouchPoints>0;function sv(e){let t=e.toLowerCase(),o=uv(t),r=lv(t,o),n={};r.browser&&(n[r.browser]=!0,n.version=r.version,n.versionNumber=parseInt(r.version,10)),r.platform&&(n[r.platform]=!0);let a=n.android||n.ios||n.bb||n.blackberry||n.ipad||n.iphone||n.ipod||n.kindle||n.playbook||n.silk||n["windows phone"];if(a===!0||t.indexOf("mobile")!==-1?n.mobile=!0:n.desktop=!0,n["windows phone"]&&(n.winphone=!0,delete n["windows phone"]),n.edga||n.edgios||n.edg?(n.edge=!0,r.browser="edge"):n.crios?(n.chrome=!0,r.browser="chrome"):n.fxios&&(n.firefox=!0,r.browser="firefox"),(n.ipod||n.ipad||n.iphone)&&(n.ios=!0),n.vivaldi&&(r.browser="vivaldi",n.vivaldi=!0),(n.chrome||n.opr||n.safari||n.vivaldi||n.mobile===!0&&n.ios!==!0&&a!==!0)&&(n.webkit=!0),n.opr&&(r.browser="opera",n.opera=!0),n.safari&&(n.blackberry||n.bb?(r.browser="blackberry",n.blackberry=!0):n.playbook?(r.browser="playbook",n.playbook=!0):n.android?(r.browser="android",n.android=!0):n.kindle?(r.browser="kindle",n.kindle=!0):n.silk&&(r.browser="silk",n.silk=!0)),n.name=r.browser,n.platform=r.platform,t.indexOf("electron")!==-1)n.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)n.bex=!0;else{if(window.Capacitor!==void 0?(n.capacitor=!0,n.nativeMobile=!0,n.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(n.cordova=!0,n.nativeMobile=!0,n.nativeMobileWrapper="cordova"),xt.value===!0&&(yl={is:{...n}}),Du===!0&&n.mac===!0&&(n.desktop===!0&&n.safari===!0||n.nativeMobile===!0&&n.android!==!0&&n.ios!==!0&&n.ipad!==!0)){delete n.mac,delete n.desktop;let l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(n,{mobile:!0,ios:!0,platform:l,[l]:!0})}n.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete n.desktop,n.mobile=!0)}return n}var Fu=navigator.userAgent||navigator.vendor||window.opera,cv={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Re={userAgent:Fu,is:sv(Fu),has:{touch:Du},within:{iframe:window.self!==window.top}},Sl={install(e){let{$q:t}=e;xt.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Re),xt.value=!1}),t.platform=Uo(this)):t.platform=this}};{let e;st(Re.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(Sl,Re),xt.value===!0&&(Object.assign(Sl,yl,cv),yl=null)}var Ro=Sl;function A(e){return Kr(Bu(e))}function At(e){return Kr(e)}var jt=(e,t)=>{let o=Uo(e);for(let r in e)st(t,r,()=>o[r],n=>{o[r]=n});return t};var et={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{let e=Object.defineProperty({},"passive",{get(){Object.assign(et,{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 We(){}function Ko(e){return e.button===0}function dv(e){return e.button===1}function fv(e){return e.button===2}function _t(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 xl(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();let t=[],o=e.target;for(;o;){if(t.push(o),o.tagName==="HTML")return t.push(document),t.push(window),t;o=o.parentElement}}var mv=40,vv=800;function gv(e){let t=e.deltaX,o=e.deltaY;if((t||o)&&e.deltaMode){let r=e.deltaMode===1?mv:vv;t*=r,o*=r}return e.shiftKey&&!t&&([o,t]=[t,o]),{x:t,y:o}}function it(e){e.stopPropagation()}function ft(e){e.cancelable!==!1&&e.preventDefault()}function qe(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Wo(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;let o=t===!0?r=>{r.__dragPrevented=!0,r.addEventListener("dragstart",ft,et.notPassiveCapture)}:r=>{delete r.__dragPrevented,r.removeEventListener("dragstart",ft,et.notPassiveCapture)};e.querySelectorAll("a, img").forEach(o)}function dt(e,t,o){let r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(o):o,o.forEach(n=>{n[0].addEventListener(n[1],e[n[2]],et[n[3]])})}function qt(e,t){let o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],et[r[3]])}),e[o]=void 0)}var Vu={listenOpts:et,leftClick:Ko,middleClick:dv,rightClick:fv,position:_t,getEventPath:xl,getMouseWheelDistance:gv,stop:it,prevent:ft,stopAndPrevent:qe,preventDraggable:Wo};function Zt(e,t=250,o){let r=null;function n(){let a=arguments,l=()=>{r=null,o!==!0&&e.apply(this,a)};r!==null?clearTimeout(r):o===!0&&e.apply(this,a),r=setTimeout(l,t)}return n.cancel=()=>{r!==null&&clearTimeout(r)},n}var _l=["sm","md","lg","xl"],{passive:zu}=et,Ti=jt({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:We,setDebounce:We,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}let{visualViewport:o}=window,r=o||window,n=document.scrollingElement||document.documentElement,a=o===void 0||Re.is.mobile===!0?()=>[Math.max(window.innerWidth,n.clientWidth),Math.max(window.innerHeight,n.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-n.clientWidth,o.height*o.scale+window.innerHeight-n.clientHeight],l=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=h=>{let[v,m]=a();if(m!==this.height&&(this.height=m),v!==this.width)this.width=v;else if(h!==!0)return;let g=this.sizes;this.gt.xs=v>=g.sm,this.gt.sm=v>=g.md,this.gt.md=v>=g.lg,this.gt.lg=v>=g.xl,this.lt.sm=v<g.sm,this.lt.md=v<g.md,this.lt.lg=v<g.lg,this.lt.xl=v<g.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,g=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",g!==this.name&&(l===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${g}`)),this.name=g)};let u,d={},f=16;this.setSizes=h=>{_l.forEach(v=>{h[v]!==void 0&&(d[v]=h[v])})},this.setDebounce=h=>{f=h};let c=()=>{let h=getComputedStyle(document.body);h.getPropertyValue("--q-size-sm")&&_l.forEach(v=>{this.sizes[v]=parseInt(h.getPropertyValue(`--q-size-${v}`),10)}),this.setSizes=v=>{_l.forEach(m=>{v[m]&&(this.sizes[m]=v[m])}),this.__update(!0)},this.setDebounce=v=>{u!==void 0&&r.removeEventListener("resize",u,zu),u=v>0?Zt(this.__update,v):this.__update,r.addEventListener("resize",u,zu)},this.setDebounce(f),Object.keys(d).length!==0?(this.setSizes(d),d=void 0):this.__update(),l===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};xt.value===!0?t.push(c):c()}});var Ut=jt({isActive:!1,mode:!1},{__media:void 0,set(e){Ut.mode=e,e==="auto"?(Ut.__media===void 0&&(Ut.__media=window.matchMedia("(prefers-color-scheme: dark)"),Ut.__updateMedia=()=>{Ut.set("auto")},Ut.__media.addListener(Ut.__updateMedia)),e=Ut.__media.matches):Ut.__media!==void 0&&(Ut.__media.removeListener(Ut.__updateMedia),Ut.__media=void 0),Ut.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){Ut.set(Ut.isActive===!1)},install({$q:e,ssrContext:t}){let{dark:o}=e.config;e.dark=this,this.__installed!==!0&&this.set(o!==void 0?o:!1)}}),Mi=Ut;function Wr(e,t,o=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(!(o instanceof Element))throw new TypeError("Expected a DOM element");o.style.setProperty(`--q-${e}`,t)}var Ou=!1;function Iu(e){Ou=e.isComposing===!0}function ro(e){return Ou===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Tt(e,t){return ro(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Hu(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function hv({is:e,has:t,within:o},r){let n=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){let a=Hu(e);a!==void 0&&n.push("platform-"+a)}if(e.nativeMobile===!0){let a=e.nativeMobileWrapper;n.push(a),n.push("native-mobile"),e.ios===!0&&(r[a]===void 0||r[a].iosStatusBarPadding!==!1)&&n.push("q-ios-padding")}else e.electron===!0?n.push("electron"):e.bex===!0&&n.push("bex");return o.iframe===!0&&n.push("within-iframe"),n}function pv(){let{is:e}=Re,t=document.body.className,o=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)o.delete("mobile"),o.delete("platform-ios"),o.delete("platform-android"),o.add("desktop");else if(e.mobile===!0){o.delete("desktop"),o.add("mobile"),o.delete("platform-ios"),o.delete("platform-android");let n=Hu(e);n!==void 0&&o.add(`platform-${n}`)}}Re.has.touch===!0&&(o.delete("no-touch"),o.add("touch")),Re.within.iframe===!0&&o.add("within-iframe");let r=Array.from(o).join(" ");t!==r&&(document.body.className=r)}function bv(e){for(let t in e)Wr(t,e[t])}var Qu={install(e){if(this.__installed!==!0){if(xt.value===!0)pv();else{let{$q:t}=e;t.config.brand!==void 0&&bv(t.config.brand);let o=hv(Re,t.config);document.body.classList.add.apply(document.body.classList,o)}Re.is.ios===!0&&document.body.addEventListener("touchstart",We),window.addEventListener("keydown",Iu,!0)}}};var Nu=()=>!0;function yv(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Sv(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 xv(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Nu;let t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(yv).map(Sv)),()=>t.includes(window.location.hash)}var on={__history:[],add:We,remove:We,install({$q:e}){if(this.__installed===!0)return;let{cordova:t,capacitor:o}=Re.is;if(t!==!0&&o!==!0)return;let r=e.config[t===!0?"cordova":"capacitor"];if(r!==void 0&&r.backButton===!1||o===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=l=>{l.condition===void 0&&(l.condition=Nu),this.__history.push(l)},this.remove=l=>{let u=this.__history.indexOf(l);u>=0&&this.__history.splice(u,1)};let n=xv(Object.assign({backButtonExit:!0},r)),a=()=>{if(this.__history.length){let l=this.__history[this.__history.length-1];l.condition()===!0&&(this.__history.pop(),l.handler())}else n()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",a,!1)}):window.Capacitor.Plugins.App.addListener("backButton",a)}};var Yr={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,o)=>e+"-"+t+" of "+o,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 ju(){let e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,o)=>o===0?t.toLowerCase():o>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}var xn=jt({__qLang:{}},{getLocale:ju,set(e=Yr,t){let o={...e,rtl:e.rtl===!0,getLocale:ju};if(o.set=xn.set,xn.__langConfig===void 0||xn.__langConfig.noHtmlAttrs!==!0){let r=document.documentElement;r.setAttribute("dir",o.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",o.isoName)}Object.assign(xn.__qLang,o)},install({$q:e,lang:t,ssrContext:o}){e.lang=xn.__qLang,xn.__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(n=>n!=="set"&&n!=="getLocale")}}),this.set(t||Yr))}}),Yo=xn;var Uu={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"}};var Cl=jt({iconMapFn:null,__qIconSet:{}},{set(e,t){let o={...e};o.set=Cl.set,Object.assign(Cl.__qIconSet,o)},install({$q:e,iconSet:t,ssrContext:o}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,st(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(n=>n!=="set")}}),this.set(t||Uu))}}),jn=Cl;var Ri="_q_",Pi="_q_t_",Ai="_q_s_",Jt="_q_l_",$i="_q_pc_",Ei="_q_f_",Xo="_q_fo_",Bi="_q_tabs_",Li="_q_u_";function Je(){}var Un={},wl=!1;function Ku(){wl=!0}function Kt(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 o,r;if(e.constructor===Array){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(Kt(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let a=e.entries();for(r=a.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=a.next()}for(a=e.entries(),r=a.next();r.done!==!0;){if(Kt(r.value[1],t.get(r.value[0]))!==!0)return!1;r=a.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;let a=e.entries();for(r=a.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=a.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(o=e.length,o!==t.length)return!1;for(r=o;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();let n=Object.keys(e).filter(a=>e[a]!==void 0);if(o=n.length,o!==Object.keys(t).filter(a=>t[a]!==void 0).length)return!1;for(r=o;r--!==0;){let a=n[r];if(Kt(e[a],t[a])!==!0)return!1}return!0}return e!==e&&t!==t}function ct(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Go(e){return Object.prototype.toString.call(e)==="[object Date]"}function kl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function fo(e){return typeof e=="number"&&isFinite(e)}var Wu={deepEqual:Kt,object:ct,date:Go,regexp:kl,number:fo};var Yu=[Ro,Qu,Mi,Ti,on,Yo,jn];function nn(e,t){let o=Lu(e);o.config.globalProperties=t.config.globalProperties;let{reload:r,...n}=t._context;return Object.assign(o._context,n),o}function Xu(e,t){t.forEach(o=>{o.install(e),o.__installed=!0})}function _v(e,t,o){e.config.globalProperties.$q=o.$q,e.provide(Ri,o.$q),Xu(o,Yu),t.components!==void 0&&Object.values(t.components).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&Xu(o,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&Yu.includes(r)===!1)),xt.value===!0&&(o.$q.onSSRHydrated=()=>{o.onSSRHydrated.forEach(r=>{r()}),o.$q.onSSRHydrated=()=>{}})}var Gu=function(e,t={}){let o={version:"2.16.4"};wl===!1?(t.config!==void 0&&Object.assign(Un,t.config),o.config={...Un},Ku()):o.config=t.config||{},_v(e,t,{parentApp:e,$q:o,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})};var ol={};Ur(ol,{QAjaxBar:()=>Di,QAvatar:()=>zi,QBadge:()=>ls,QBanner:()=>us,QBar:()=>ss,QBreadcrumbs:()=>fs,QBreadcrumbsEl:()=>hs,QBtn:()=>Ie,QBtnDropdown:()=>Ji,QBtnGroup:()=>nr,QBtnToggle:()=>Ds,QCard:()=>pr,QCardActions:()=>ea,QCardSection:()=>xo,QCarousel:()=>zs,QCarouselControl:()=>Is,QCarouselSlide:()=>Os,QChatMessage:()=>Hs,QCheckbox:()=>zo,QChip:()=>Tr,QCircularProgress:()=>Mr,QColor:()=>ec,QDate:()=>vc,QDialog:()=>Ho,QDrawer:()=>_c,QEditor:()=>$c,QExpansionItem:()=>Ec,QFab:()=>Bc,QFabAction:()=>Fc,QField:()=>Ra,QFile:()=>zc,QFooter:()=>Oc,QForm:()=>Ic,QFormChildMixin:()=>Hc,QHeader:()=>Qc,QIcon:()=>Pe,QImg:()=>Nc,QInfiniteScroll:()=>jc,QInnerLoading:()=>Uc,QInput:()=>Vr,QIntersection:()=>td,QItem:()=>Qo,QItemLabel:()=>Fn,QItemSection:()=>no,QKnob:()=>nd,QLayout:()=>id,QLinearProgress:()=>Ua,QList:()=>Va,QMarkupTable:()=>za,QMenu:()=>Lo,QNoSsr:()=>ad,QOptionGroup:()=>Ha,QPage:()=>ud,QPageContainer:()=>sd,QPageScroller:()=>cd,QPageSticky:()=>dd,QPagination:()=>fd,QParallax:()=>md,QPopupEdit:()=>vd,QPopupProxy:()=>gd,QPullToRefresh:()=>pd,QRadio:()=>Oa,QRange:()=>bd,QRating:()=>yd,QResizeObserver:()=>oo,QResponsive:()=>Sd,QRouteTab:()=>Pf,QScrollArea:()=>wd,QScrollObserver:()=>zr,QSelect:()=>Wa,QSeparator:()=>ao,QSkeleton:()=>Rd,QSlideItem:()=>Ad,QSlideTransition:()=>gn,QSlider:()=>Jo,QSpace:()=>$d,QSpinner:()=>wt,QSpinnerAudio:()=>Ed,QSpinnerBall:()=>Bd,QSpinnerBars:()=>Ld,QSpinnerBox:()=>Fd,QSpinnerClock:()=>Dd,QSpinnerComment:()=>Vd,QSpinnerCube:()=>zd,QSpinnerDots:()=>Od,QSpinnerFacebook:()=>Id,QSpinnerGears:()=>Hd,QSpinnerGrid:()=>Qd,QSpinnerHearts:()=>Nd,QSpinnerHourglass:()=>jd,QSpinnerInfinity:()=>Ud,QSpinnerIos:()=>Kd,QSpinnerOrbit:()=>Wd,QSpinnerOval:()=>Yd,QSpinnerPie:()=>Xd,QSpinnerPuff:()=>Gd,QSpinnerRadio:()=>Zd,QSpinnerRings:()=>Jd,QSpinnerTail:()=>ef,QSplitter:()=>tf,QStep:()=>rf,QStepper:()=>af,QStepperNavigation:()=>lf,QTab:()=>cn,QTabPanel:()=>Pr,QTabPanels:()=>ma,QTable:()=>Tf,QTabs:()=>ai,QTd:()=>Rf,QTh:()=>Xa,QTime:()=>Af,QTimeline:()=>$f,QTimelineEntry:()=>Ef,QToggle:()=>Ia,QToolbar:()=>Bf,QToolbarTitle:()=>Lf,QTooltip:()=>qa,QTr:()=>Mf,QTree:()=>Ff,QUploader:()=>If,QUploaderAddTrigger:()=>Hf,QVideo:()=>Qf,QVirtualScroll:()=>Za});var Zu=["B","KB","MB","GB","TB","PB"];function Kn(e,t=1){let o=0;for(;parseInt(e,10)>=1024&&o<Zu.length-1;)e/=1024,++o;return`${e.toFixed(t)}${Zu[o]}`}function ql(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ot(e,t,o){return o<=t?t:Math.min(o,Math.max(t,e))}function _n(e,t,o){if(o<=t)return t;let r=o-t+1,n=t+(e-t)%r;return n<t&&(n=r+n),n===0?0:n}function nt(e,t=2,o="0"){if(e==null)return e;let r=""+e;return r.length>=t?r:new Array(t-r.length+1).join(o)+r}var Ju={humanStorageSize:Kn,capitalize:ql,between:ot,normalizeToInterval:_n,pad:nt};var Tl=XMLHttpRequest,es=Tl.prototype.open,Cv=["top","right","bottom","left"],Fi=[],Xr=0;function wv({p:e,pos:t,active:o,horiz:r,reverse:n,dir:a}){let l=1,u=1;return r===!0?(n===!0&&(l=-1),t==="bottom"&&(u=-1),{transform:`translate3d(${l*(e-100)}%,${o?0:u*-200}%,0)`}):(n===!0&&(u=-1),t==="right"&&(l=-1),{transform:`translate3d(${o?0:a*l*-200}%,${u*(e-100)}%,0)`})}function kv(e,t){return typeof t!="number"&&(e<25?t=Math.random()*3+3:e<65?t=Math.random()*3:e<85?t=Math.random()*2:e<99?t=.6:t=0),ot(e+t,0,100)}function qv(e){Xr++,Fi.push(e),!(Xr>1)&&(Tl.prototype.open=function(t,o){let r=[],n=()=>{Fi.forEach(l=>{(l.hijackFilter.value===null||l.hijackFilter.value(o)===!0)&&(l.start(),r.push(l.stop))})},a=()=>{r.forEach(l=>{l()})};this.addEventListener("loadstart",n,{once:!0}),this.addEventListener("loadend",a,{once:!0}),es.apply(this,arguments)})}function Tv(e){Fi=Fi.filter(t=>t.start!==e),Xr=Math.max(0,Xr-1),Xr===0&&(Tl.prototype.open=es)}var Di=A({name:"QAjaxBar",props:{position:{type:String,default:"top",validator:e=>Cv.includes(e)},size:{type:String,default:"2px"},color:String,skipHijack:Boolean,reverse:Boolean,hijackFilter:Function},emits:["start","stop"],setup(e,{emit:t}){let{proxy:o}=U(),r=q(0),n=q(!1),a=q(!0),l=0,u=null,d,f=s(()=>`q-loading-bar q-loading-bar--${e.position}`+(e.color!==void 0?` bg-${e.color}`:"")+(a.value===!0?"":" no-transition")),c=s(()=>e.position==="top"||e.position==="bottom"),h=s(()=>c.value===!0?"height":"width"),v=s(()=>{let b=n.value,p=wv({p:r.value,pos:e.position,active:b,horiz:c.value,reverse:o.$q.lang.rtl===!0&&["top","bottom"].includes(e.position)?e.reverse===!1:e.reverse,dir:o.$q.lang.rtl===!0?-1:1});return p[h.value]=e.size,p.opacity=b?1:0,p}),m=s(()=>n.value===!0?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r.value}:{"aria-hidden":"true"});function g(b=300){let p=d;return d=Math.max(0,b)||0,l++,l>1?(p===0&&b>0?k():u!==null&&p>0&&b<=0&&(clearTimeout(u),u=null),l):(u!==null&&clearTimeout(u),t("start"),r.value=0,u=setTimeout(()=>{u=null,a.value=!0,b>0&&k()},n._value===!0?500:1),n._value!==!0&&(n.value=!0,a.value=!1),l)}function x(b){return l>0&&(r.value=kv(r.value,b)),l}function y(){if(l=Math.max(0,l-1),l>0)return l;u!==null&&(clearTimeout(u),u=null),t("stop");let b=()=>{a.value=!0,r.value=100,u=setTimeout(()=>{u=null,n.value=!1},1e3)};return r.value===0?u=setTimeout(b,1):b(),l}function k(){r.value<100&&(u=setTimeout(()=>{u=null,x(),k()},d))}let S;return Ne(()=>{e.skipHijack!==!0&&(S=!0,qv({start:g,stop:y,hijackFilter:s(()=>e.hijackFilter||null)}))}),Se(()=>{u!==null&&clearTimeout(u),S===!0&&Tv(g)}),Object.assign(o,{start:g,stop:y,increment:x}),()=>i("div",{class:f.value,style:v.value,...m.value})}});var Vi={xs:18,sm:24,md:32,lg:38,xl:46},Ft={size:String};function Dt(e,t=Vi){return s(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function re(e,t){return e!==void 0&&e()||t}function Po(e,t){if(e!==void 0){let o=e();if(o!=null)return o.slice()}return t}function Ge(e,t){return e!==void 0?t.concat(e()):t}function Wn(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Mt(e,t,o,r,n,a){t.key=r+n;let l=i(e,t,o);return n===!0?Et(l,a()):l}var ts="0 0 24 24",os=e=>e,Ml=e=>`ionicons ${e}`,rs={"mdi-":e=>`mdi ${e}`,"icon-":os,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Ml,"ion-ios":Ml,"ion-logo":Ml,"iconfont ":os,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},is={o_:"-outlined",r_:"-round",s_:"-sharp"},as={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Mv=new RegExp("^("+Object.keys(rs).join("|")+")"),Rv=new RegExp("^("+Object.keys(is).join("|")+")"),ns=new RegExp("^("+Object.keys(as).join("|")+")"),Pv=/^[Mm]\s?[-+]?\.?\d/,Av=/^img:/,$v=/^svguse:/,Ev=/^ion-/,Bv=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Pe=A({name:"QIcon",props:{...Ft,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Dt(e),n=s(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),a=s(()=>{let l,u=e.name;if(u==="none"||!u)return{none:!0};if(o.iconMapFn!==null){let c=o.iconMapFn(u);if(c!==void 0)if(c.icon!==void 0){if(u=c.icon,u==="none"||!u)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(Pv.test(u)===!0){let[c,h=ts]=u.split("|");return{svg:!0,viewBox:h,nodes:c.split("&&").map(v=>{let[m,g,x]=v.split("@@");return i("path",{style:g,d:m,transform:x})})}}if(Av.test(u)===!0)return{img:!0,src:u.substring(4)};if($v.test(u)===!0){let[c,h=ts]=u.split("|");return{svguse:!0,src:c.substring(7),viewBox:h}}let d=" ",f=u.match(Mv);if(f!==null)l=rs[f[1]](u);else if(Bv.test(u)===!0)l=u;else if(Ev.test(u)===!0)l=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${u.substring(3)}`;else if(ns.test(u)===!0){l="notranslate material-symbols";let c=u.match(ns);c!==null&&(u=u.substring(6),l+=as[c[1]]),d=u}else{l="notranslate material-icons";let c=u.match(Rv);c!==null&&(u=u.substring(2),l+=is[c[1]]),d=u}return{cls:l,content:d}});return()=>{let l={class:n.value,style:r.value,"aria-hidden":"true",role:"presentation"};return a.value.none===!0?i(e.tag,l,re(t.default)):a.value.img===!0?i(e.tag,l,Ge(t.default,[i("img",{src:a.value.src})])):a.value.svg===!0?i(e.tag,l,Ge(t.default,[i("svg",{viewBox:a.value.viewBox||"0 0 24 24"},a.value.nodes)])):a.value.svguse===!0?i(e.tag,l,Ge(t.default,[i("svg",{viewBox:a.value.viewBox},[i("use",{"xlink:href":a.value.src})])])):(a.value.cls!==void 0&&(l.class+=" "+a.value.cls),i(e.tag,l,Ge(t.default,[a.value.content])))}}});var zi=A({name:"QAvatar",props:{...Ft,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){let o=Dt(e),r=s(()=>"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":"")),n=s(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{let a=e.icon!==void 0?[i(Pe,{name:e.icon})]:void 0;return i("div",{class:r.value,style:o.value},[i("div",{class:"q-avatar__content row flex-center overflow-hidden",style:n.value},Wn(t.default,a))])}}});var Lv=["top","middle","bottom"],ls=A({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=>Lv.includes(e)}},setup(e,{slots:t}){let o=s(()=>e.align!==void 0?{verticalAlign:e.align}:null),r=s(()=>{let n=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}`:"")+(n!==void 0?` text-${n}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>i("div",{class:r.value,style:o.value,role:"status","aria-label":e.label},Ge(t.default,e.label!==void 0?[e.label]:[]))}});var _e={dark:{type:Boolean,default:null}};function Ce(e,t){return s(()=>e.dark===null?t.dark.isActive:e.dark)}var us=A({name:"QBanner",props:{..._e,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(r.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),a=s(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{let l=[i("div",{class:"q-banner__avatar col-auto row items-center self-start"},re(t.avatar)),i("div",{class:"q-banner__content col text-body2"},re(t.default))],u=re(t.action);return u!==void 0&&l.push(i("div",{class:a.value},u)),i("div",{class:n.value+(e.inlineActions===!1&&u!==void 0?" q-banner--top-padding":""),role:"alert"},l)}}});var ss=A({name:"QBar",props:{..._e,dense:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?"dense":"standard"} q-bar--${r.value===!0?"dark":"light"}`);return()=>i("div",{class:n.value,role:"toolbar"},re(t.default))}});var cs={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Fv=Object.keys(cs),Yn={align:{type:String,validator:e=>Fv.includes(e)}};function Xn(e){return s(()=>{let t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${cs[t]}`})}function Gr(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 ds(e,t){typeof t.type=="symbol"?Array.isArray(t.children)===!0&&t.children.forEach(o=>{ds(e,o)}):e.add(t)}function Gn(e){let t=new Set;return e.forEach(o=>{ds(t,o)}),Array.from(t)}function Zn(e){return e.appContext.config.globalProperties.$router!==void 0}function Wt(e){return e.isUnmounted===!0||e.isDeactivated===!0}var Dv=["",!0],fs=A({name:"QBreadcrumbs",props:{...Yn,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:t}){let o=Xn(e),r=s(()=>`flex items-center ${o.value}${e.gutter==="none"?"":` q-gutter-${e.gutter}`}`),n=s(()=>e.separatorColor?` text-${e.separatorColor}`:""),a=s(()=>` text-${e.activeColor}`);return()=>{if(t.default===void 0)return;let l=Gn(re(t.default));if(l.length===0)return;let u=1,d=[],f=l.filter(h=>h.type!==void 0&&h.type.name==="QBreadcrumbsEl").length,c=t.separator!==void 0?t.separator:()=>e.separator;return l.forEach(h=>{if(h.type!==void 0&&h.type.name==="QBreadcrumbsEl"){let v=u<f,m=h.props!==null&&Dv.includes(h.props.disable),g=(v===!0?"":" q-breadcrumbs--last")+(m!==!0&&v===!0?a.value:"");u++,d.push(i("div",{class:`flex items-center${g}`},[h])),v===!0&&d.push(i("div",{class:"q-breadcrumbs__separator"+n.value},c()))}else d.push(h)}),i("div",{class:"q-breadcrumbs"},[i("div",{class:r.value},d)])}}});function ms(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function vs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Vv(e,t){for(let o in t){let r=t[o],n=e[o];if(typeof r=="string"){if(r!==n)return!1}else if(Array.isArray(n)===!1||n.length!==r.length||r.some((a,l)=>a!==n[l]))return!1}return!0}function gs(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((o,r)=>o===t[r]):e.length===1&&e[0]===t}function zv(e,t){return Array.isArray(e)===!0?gs(e,t):Array.isArray(t)===!0?gs(t,e):e===t}function Ov(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let o in e)if(zv(e[o],t[o])===!1)return!1;return!0}var Rl={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Zo={...Rl,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function rn({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){let o=U(),{props:r,proxy:n,emit:a}=o,l=Zn(o),u=s(()=>r.disable!==!0&&r.href!==void 0),d=t===!0?s(()=>l===!0&&r.disable!==!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""):s(()=>l===!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),f=s(()=>d.value===!0?S(r.to):null),c=s(()=>f.value!==null),h=s(()=>u.value===!0||c.value===!0),v=s(()=>r.type==="a"||h.value===!0?"a":r.tag||e||"div"),m=s(()=>u.value===!0?{href:r.href,target:r.target}:c.value===!0?{href:f.value.href,target:r.target}:{}),g=s(()=>{if(c.value===!1)return-1;let{matched:_}=f.value,{length:$}=_,L=_[$-1];if(L===void 0)return-1;let V=n.$route.matched;if(V.length===0)return-1;let F=V.findIndex(vs.bind(null,L));if(F!==-1)return F;let E=ms(_[$-2]);return $>1&&ms(L)===E&&V[V.length-1].path!==E?V.findIndex(vs.bind(null,_[$-2])):F}),x=s(()=>c.value===!0&&g.value!==-1&&Vv(n.$route.params,f.value.params)),y=s(()=>x.value===!0&&g.value===n.$route.matched.length-1&&Ov(n.$route.params,f.value.params)),k=s(()=>c.value===!0?y.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":x.value===!0?` ${r.activeClass}`:"":"");function S(_){try{return n.$router.resolve(_)}catch{}return null}function b(_,{returnRouterError:$,to:L=r.to,replace:V=r.replace}={}){if(r.disable===!0)return _.preventDefault(),Promise.resolve(!1);if(_.metaKey||_.altKey||_.ctrlKey||_.shiftKey||_.button!==void 0&&_.button!==0||r.target==="_blank")return Promise.resolve(!1);_.preventDefault();let F=n.$router[V===!0?"replace":"push"](L);return $===!0?F:F.then(()=>{}).catch(()=>{})}function p(_){if(c.value===!0){let $=L=>b(_,L);a("click",_,$),_.defaultPrevented!==!0&&$()}else a("click",_)}return{hasRouterLink:c,hasHrefLink:u,hasLink:h,linkTag:v,resolvedLink:f,linkIsActive:x,linkIsExactActive:y,linkClass:k,linkAttrs:m,getLink:S,navigateToRouterLink:b,navigateOnClick:p}}var hs=A({name:"QBreadcrumbsEl",props:{...Zo,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:t}){let{linkTag:o,linkAttrs:r,linkClass:n,navigateOnClick:a}=rn(),l=s(()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(e.disable!==!0?"q-link--focusable"+n.value:"q-breadcrumbs__el--disable"),...r.value,onClick:a})),u=s(()=>"q-breadcrumbs__el-icon"+(e.label!==void 0?" q-breadcrumbs__el-icon--with-label":""));return()=>{let d=[];return e.icon!==void 0&&d.push(i(Pe,{class:u.value,name:e.icon})),e.label!==void 0&&d.push(e.label),i(o.value,{...l.value},Ge(t.default,d))}}});var Ke={size:{type:[String,Number],default:"1em"},color:String};function je(e){return{cSize:s(()=>e.size in Vi?`${Vi[e.size]}px`:e.size),classes:s(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}var wt=A({name:"QSpinner",props:{...Ke,thickness:{type:Number,default:5}},setup(e){let{cSize:t,classes:o}=je(e);return()=>i("svg",{class:o.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[i("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});function Cn(e){if(e===window)return{top:0,left:0};let{top:t,left:o}=e.getBoundingClientRect();return{top:t,left:o}}function Iv(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function Ao(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function Hv(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function wn(e,t){let o=e.style;for(let r in t)o[r]=t[r]}function Qv(e,t){e.forEach(o=>wn(o,t))}function Nv(e){if(typeof e=="function"){if(document.readyState!=="loading")return e();document.addEventListener("DOMContentLoaded",e,!1)}}function ps(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}let t=Ru(e);if(t)return t.$el||t}function Oi(e,t){if(e==null||e.contains(t)===!0)return!0;for(let o=e.nextElementSibling;o!==null;o=o.nextElementSibling)if(o.contains(t))return!0;return!1}var bs={offset:Cn,style:Iv,height:Ao,width:Hv,css:wn,cssBatch:Qv,ready:Nv};function Jn(e,t=250){let o=!1,r;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),r=e.apply(this,arguments)),r}}function ys(e,t,o,r){o.modifiers.stop===!0&&it(e);let n=o.modifiers.color,a=o.modifiers.center;a=a===!0||r===!0;let l=document.createElement("span"),u=document.createElement("span"),d=_t(e),{left:f,top:c,width:h,height:v}=t.getBoundingClientRect(),m=Math.sqrt(h*h+v*v),g=m/2,x=`${(h-m)/2}px`,y=a?x:`${d.left-f-g}px`,k=`${(v-m)/2}px`,S=a?k:`${d.top-c-g}px`;u.className="q-ripple__inner",wn(u,{height:`${m}px`,width:`${m}px`,transform:`translate3d(${y},${S},0) scale3d(.2,.2,1)`,opacity:0}),l.className=`q-ripple${n?" text-"+n:""}`,l.setAttribute("dir","ltr"),l.appendChild(u),t.appendChild(l);let b=()=>{l.remove(),clearTimeout(p)};o.abort.push(b);let p=setTimeout(()=>{u.classList.add("q-ripple__inner--enter"),u.style.transform=`translate3d(${x},${k},0) scale3d(1,1,1)`,u.style.opacity=.2,p=setTimeout(()=>{u.classList.remove("q-ripple__inner--enter"),u.classList.add("q-ripple__inner--leave"),u.style.opacity=0,p=setTimeout(()=>{l.remove(),o.abort.splice(o.abort.indexOf(b),1)},275)},250)},50)}function Ss(e,{modifiers:t,value:o,arg:r}){let n=Object.assign({},e.cfg.ripple,t,o);e.modifiers={early:n.early===!0,stop:n.stop===!0,center:n.center===!0,color:n.color||r,keyCodes:[].concat(n.keyCodes||13)}}var $o=At({name:"ripple",beforeMount(e,t){let o=t.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;let r={cfg:o,enabled:t.value!==!1,modifiers:{},abort:[],start(n){r.enabled===!0&&n.qSkipRipple!==!0&&n.type===(r.modifiers.early===!0?"pointerdown":"click")&&ys(n,e,r,n.qKeyEvent===!0)},keystart:Jn(n=>{r.enabled===!0&&n.qSkipRipple!==!0&&Tt(n,r.modifiers.keyCodes)===!0&&n.type===`key${r.modifiers.early===!0?"down":"up"}`&&ys(n,e,r,!0)},300)};Ss(r,t),e.__qripple=r,dt(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){let o=e.__qripple;o!==void 0&&(o.enabled=t.value!==!1,o.enabled===!0&&Object(t.value)===t.value&&Ss(o,t))}},beforeUnmount(e){let t=e.__qripple;t!==void 0&&(t.abort.forEach(o=>{o()}),qt(t,"main"),delete e._qripple)}});var Zr={none:0,xs:4,sm:8,md:16,lg:24,xl:32},jv={xs:8,sm:10,md:14,lg:20,xl:24},Uv=["button","submit","reset"],Kv=/[^\s]\/[^\s]/,Pl=["flat","outline","push","unelevated"];function Ii(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}function Hi(e){let t=Ii(e);return t!==void 0?{[t]:!0}:{}}var Qi={...Ft,...Rl,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Pl.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:{...Yn.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},xs={...Qi,round:Boolean};function _s(e){let t=Dt(e,jv),o=Xn(e),{hasRouterLink:r,hasLink:n,linkTag:a,linkAttrs:l,navigateOnClick:u}=rn({fallbackTag:"button"}),d=s(()=>{let y=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},y,{padding:e.padding.split(/\s+/).map(k=>k in Zr?Zr[k]+"px":k).join(" "),minWidth:"0",minHeight:"0"}):y}),f=s(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=s(()=>e.disable!==!0&&e.loading!==!0),h=s(()=>c.value===!0?e.tabindex||0:-1),v=s(()=>Ii(e,"standard")),m=s(()=>{let y={tabindex:h.value};return n.value===!0?Object.assign(y,l.value):Uv.includes(e.type)===!0&&(y.type=e.type),a.value==="a"?(e.disable===!0?y["aria-disabled"]="true":y.href===void 0&&(y.role="button"),r.value!==!0&&Kv.test(e.type)===!0&&(y.type=e.type)):e.disable===!0&&(y.disabled="",y["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(y,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),y}),g=s(()=>{let y;e.color!==void 0?e.flat===!0||e.outline===!0?y=`text-${e.textColor||e.color}`:y=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(y=`text-${e.textColor}`);let k=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${v.value} q-btn--${k}`+(y!==void 0?" "+y:"")+(c.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":"")}),x=s(()=>o.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:d,innerClasses:x,attributes:m,hasLink:n,linkTag:a,navigateOnClick:u,isActionable:c}}var{passiveCapture:mo}=et,er=null,tr=null,or=null,Ie=A({name:"QBtn",props:{...xs,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{classes:n,style:a,innerClasses:l,attributes:u,hasLink:d,linkTag:f,navigateOnClick:c,isActionable:h}=_s(e),v=q(null),m=q(null),g=null,x,y=null,k=s(()=>e.label!==void 0&&e.label!==null&&e.label!==""),S=s(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:d.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),b=s(()=>({center:e.round})),p=s(()=>{let T=Math.max(0,Math.min(100,e.percentage));return T>0?{transition:"transform 0.6s",transform:`translateX(${T-100}%)`}:{}}),_=s(()=>{if(e.loading===!0)return{onMousedown:C,onTouchstart:C,onClick:C,onKeydown:C,onKeyup:C};if(h.value===!0){let T={onClick:L,onKeydown:V,onMousedown:E};if(r.$q.platform.has.touch===!0){let G=e.onTouchstart!==void 0?"":"Passive";T[`onTouchstart${G}`]=F}return T}return{onClick:qe}}),$=s(()=>({ref:v,class:"q-btn q-btn-item non-selectable no-outline "+n.value,style:a.value,...u.value,..._.value}));function L(T){if(v.value!==null){if(T!==void 0){if(T.defaultPrevented===!0)return;let G=document.activeElement;if(e.type==="submit"&&G!==document.body&&v.value.contains(G)===!1&&G.contains(v.value)===!1){v.value.focus();let X=()=>{document.removeEventListener("keydown",qe,!0),document.removeEventListener("keyup",X,mo),v.value!==null&&v.value.removeEventListener("blur",X,mo)};document.addEventListener("keydown",qe,!0),document.addEventListener("keyup",X,mo),v.value.addEventListener("blur",X,mo)}}c(T)}}function V(T){v.value!==null&&(o("keydown",T),Tt(T,[13,32])===!0&&tr!==v.value&&(tr!==null&&M(),T.defaultPrevented!==!0&&(v.value.focus(),tr=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("keyup",D,!0),v.value.addEventListener("blur",D,mo)),qe(T)))}function F(T){v.value!==null&&(o("touchstart",T),T.defaultPrevented!==!0&&(er!==v.value&&(er!==null&&M(),er=v.value,g=T.target,g.addEventListener("touchcancel",D,mo),g.addEventListener("touchend",D,mo)),x=!0,y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,x=!1},200)))}function E(T){v.value!==null&&(T.qSkipRipple=x===!0,o("mousedown",T),T.defaultPrevented!==!0&&or!==v.value&&(or!==null&&M(),or=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("mouseup",D,mo)))}function D(T){if(v.value!==null&&!(T!==void 0&&T.type==="blur"&&document.activeElement===v.value)){if(T!==void 0&&T.type==="keyup"){if(tr===v.value&&Tt(T,[13,32])===!0){let G=new MouseEvent("click",T);G.qKeyEvent=!0,T.defaultPrevented===!0&&ft(G),T.cancelBubble===!0&&it(G),v.value.dispatchEvent(G),qe(T),T.qKeyEvent=!0}o("keyup",T)}M()}}function M(T){let G=m.value;T!==!0&&(er===v.value||or===v.value)&&G!==null&&G!==document.activeElement&&(G.setAttribute("tabindex",-1),G.focus()),er===v.value&&(g!==null&&(g.removeEventListener("touchcancel",D,mo),g.removeEventListener("touchend",D,mo)),er=g=null),or===v.value&&(document.removeEventListener("mouseup",D,mo),or=null),tr===v.value&&(document.removeEventListener("keyup",D,!0),v.value!==null&&v.value.removeEventListener("blur",D,mo),tr=null),v.value!==null&&v.value.classList.remove("q-btn--active")}function C(T){qe(T),T.qSkipRipple=!0}return Se(()=>{M(!0)}),Object.assign(r,{click:T=>{h.value===!0&&L(T)}}),()=>{let T=[];e.icon!==void 0&&T.push(i(Pe,{name:e.icon,left:e.stack!==!0&&k.value===!0,role:"img","aria-hidden":"true"})),k.value===!0&&T.push(i("span",{class:"block"},[e.label])),T=Ge(t.default,T),e.iconRight!==void 0&&e.round===!1&&T.push(i(Pe,{name:e.iconRight,right:e.stack!==!0&&k.value===!0,role:"img","aria-hidden":"true"}));let G=[i("span",{class:"q-focus-helper",ref:m})];return e.loading===!0&&e.percentage!==void 0&&G.push(i("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[i("span",{class:"q-btn__progress-indicator fit block",style:p.value})])),G.push(i("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},T)),e.loading!==null&&G.push(i(lt,{name:"q-transition--fade"},()=>e.loading===!0?[i("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[i(wt)])]:null)),Et(i(f.value,$.value,G),[[$o,S.value,void 0,b.value]])}}});var nr=A({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){let o=s(()=>{let r=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter(n=>e[n]===!0).map(n=>`q-btn-group--${n}`).join(" ");return`q-btn-group row no-wrap${r.length!==0?" "+r:""}`+(e.spread===!0?" q-btn-group--spread":" inline")});return()=>i("div",{class:o.value},re(t.default))}});function Ot(){if(window.getSelection!==void 0){let e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),Ro.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}var Al={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},Ni={...Al,contextMenu:Boolean};function rr({showing:e,avoidEmit:t,configureAnchorEl:o}){let{props:r,proxy:n,emit:a}=U(),l=q(null),u=null;function d(m){return l.value===null?!1:m===void 0||m.touches===void 0||m.touches.length<=1}let f={};o===void 0&&(Object.assign(f,{hide(m){n.hide(m)},toggle(m){n.toggle(m),m.qAnchorHandled=!0},toggleKey(m){Tt(m,13)===!0&&f.toggle(m)},contextClick(m){n.hide(m),ft(m),$e(()=>{n.show(m),m.qAnchorHandled=!0})},prevent:ft,mobileTouch(m){if(f.mobileCleanup(m),d(m)!==!0)return;n.hide(m),l.value.classList.add("non-selectable");let g=m.target;dt(f,"anchor",[[g,"touchmove","mobileCleanup","passive"],[g,"touchend","mobileCleanup","passive"],[g,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","prevent","notPassive"]]),u=setTimeout(()=>{u=null,n.show(m),m.qAnchorHandled=!0},300)},mobileCleanup(m){l.value.classList.remove("non-selectable"),u!==null&&(clearTimeout(u),u=null),e.value===!0&&m!==void 0&&Ot()}}),o=function(m=r.contextMenu){if(r.noParentEvent===!0||l.value===null)return;let g;m===!0?n.$q.platform.is.mobile===!0?g=[[l.value,"touchstart","mobileTouch","passive"]]:g=[[l.value,"mousedown","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:g=[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],dt(f,"anchor",g)});function c(){qt(f,"anchor")}function h(m){for(l.value=m;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;o()}function v(){if(r.target===!1||r.target===""||n.$el.parentNode===null)l.value=null;else if(r.target===!0)h(n.$el.parentNode);else{let m=r.target;if(typeof r.target=="string")try{m=document.querySelector(r.target)}catch{m=void 0}m!=null?(l.value=m.$el||m,o()):(l.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return Y(()=>r.contextMenu,m=>{l.value!==null&&(c(),o(m))}),Y(()=>r.target,()=>{l.value!==null&&c(),v()}),Y(()=>r.noParentEvent,m=>{l.value!==null&&(m===!0?c():o())}),Ne(()=>{v(),t!==!0&&r.modelValue===!0&&l.value===null&&a("update:modelValue",!1)}),Se(()=>{u!==null&&clearTimeout(u),c()}),{anchorEl:l,canShow:d,anchorEvents:f}}function ji(e,t){let o=q(null),r;function n(u,d){let f=`${d!==void 0?"add":"remove"}EventListener`,c=d!==void 0?d:r;u!==window&&u[f]("scroll",c,et.passive),window[f]("scroll",c,et.passive),r=d}function a(){o.value!==null&&(n(o.value),o.value=null)}let l=Y(()=>e.noParentEvent,()=>{o.value!==null&&(a(),t())});return Se(l),{localScrollTarget:o,unconfigureScrollTarget:a,changeScrollEvent:n}}var vo={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},go=["beforeShow","show","beforeHide","hide"];function ho({showing:e,canShow:t,hideOnRouteChange:o,handleShow:r,handleHide:n,processOnMount:a}){let l=U(),{props:u,emit:d,proxy:f}=l,c;function h(S){e.value===!0?g(S):v(S)}function v(S){if(u.disable===!0||S!==void 0&&S.qAnchorHandled===!0||t!==void 0&&t(S)!==!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!0),c=S,$e(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&m(S)}function m(S){e.value!==!0&&(e.value=!0,d("beforeShow",S),r!==void 0?r(S):d("show",S))}function g(S){if(u.disable===!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!1),c=S,$e(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&x(S)}function x(S){e.value!==!1&&(e.value=!1,d("beforeHide",S),n!==void 0?n(S):d("hide",S))}function y(S){u.disable===!0&&S===!0?u["onUpdate:modelValue"]!==void 0&&d("update:modelValue",!1):S===!0!==e.value&&(S===!0?m:x)(c)}Y(()=>u.modelValue,y),o!==void 0&&Zn(l)===!0&&Y(()=>f.$route.fullPath,()=>{o.value===!0&&e.value===!0&&g()}),a===!0&&Ne(()=>{y(u.modelValue)});let k={show:v,hide:g,toggle:h};return Object.assign(f,k),k}var kn=[],Jr=[];function Cs(e){Jr=Jr.filter(t=>t!==e)}function ws(e){Cs(e),Jr.push(e)}function $l(e){Cs(e),Jr.length===0&&kn.length!==0&&(kn[kn.length-1](),kn=[])}function po(e){Jr.length===0?e():kn.push(e)}function ks(e){kn=kn.filter(t=>t!==e)}var ir=[],ei=[],Wv=1,an=document.body;function Eo(e,t){let o=document.createElement("div");if(o.id=t!==void 0?`q-portal--${t}--${Wv++}`:e,Un.globalNodes!==void 0){let r=Un.globalNodes.class;r!==void 0&&(o.className=r)}return an.appendChild(o),ir.push(o),ei.push(t),o}function ar(e){let t=ir.indexOf(e);ir.splice(t,1),ei.splice(t,1),e.remove()}function qs(e){if(e===an)return;if(an=e,an===document.body||ei.reduce((o,r)=>r==="dialog"?o+1:o,0)<2){ir.forEach(o=>{o.contains(an)===!1&&an.appendChild(o)});return}let t=ei.lastIndexOf("dialog");for(let o=0;o<ir.length;o++){let r=ir[o];(o===t||ei[o]!=="dialog")&&r.contains(an)===!1&&an.appendChild(r)}}var ln=[];function Ts(e){return ln.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function El(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Gr(e)}else if(e.__qPortal===!0){let o=Gr(e);return o!==void 0&&o.$options.name==="QPopupProxy"?(e.hide(t),o):e}e=Gr(e)}while(e!=null)}function Ms(e,t,o){for(;o!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(o--,e.$options.name==="QMenu"){e=El(e,t);continue}e.hide(t)}e=Gr(e)}}var Yv=A({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function Xv(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 lr(e,t,o,r){let n=q(!1),a=q(!1),l=null,u={},d=r==="dialog"&&Xv(e);function f(h){if(h===!0){$l(u),a.value=!0;return}a.value=!1,n.value===!1&&(d===!1&&l===null&&(l=Eo(!1,r)),n.value=!0,ln.push(e.proxy),ws(u))}function c(h){if(a.value=!1,h!==!0)return;$l(u),n.value=!1;let v=ln.indexOf(e.proxy);v!==-1&&ln.splice(v,1),l!==null&&(ar(l),l=null)}return Nn(()=>{c(!0)}),e.proxy.__qPortal=!0,st(e.proxy,"contentEl",()=>t.value),{showPortal:f,hidePortal:c,portalIsActive:n,portalIsAccessible:a,renderPortal:()=>d===!0?o():n.value===!0?[i(Eu,{to:l},i(Yv,o))]:void 0}}var bo={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function un(e,t=()=>{},o=()=>{}){return{transitionProps:s(()=>{let r=`q-transition--${e.transitionShow||t()}`,n=`q-transition--${e.transitionHide||o()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${n}-leave-from`,leaveActiveClass:`${n}-leave-active`,leaveToClass:`${n}-leave-to`}}),transitionStyle:s(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function yo(){let e,t=U();function o(){e=void 0}return Pt(o),Se(o),{removeTick:o,registerTick(r){e=r,$e(()=>{e===r&&(Wt(t)===!1&&e(),e=void 0)})}}}function Yt(){let e=null,t=U();function o(){e!==null&&(clearTimeout(e),e=null)}return Pt(o),Se(o),{removeTimeout:o,registerTimeout(r,n){o(e),Wt(t)===!1&&(e=setTimeout(()=>{e=null,r()},n))}}}var eo=[Element,String],Gv=[null,document,document.body,document.scrollingElement,document.documentElement];function Bt(e,t){let o=ps(t);if(o===void 0){if(e==null)return window;o=e.closest(".scroll,.scroll-y,.overflow-auto")}return Gv.includes(o)?window:o}function ur(e){return(e===window?document.body:e).scrollHeight}function Zv(e){return(e===window?document.body:e).scrollWidth}function to(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function sn(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function Fl(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=to(e);if(o<=0){n!==t&&Bl(e,t);return}requestAnimationFrame(a=>{let l=a-r,u=n+(t-n)/Math.max(l,o)*l;Bl(e,u),u!==t&&Fl(e,t,o-l,a)})}function Dl(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=sn(e);if(o<=0){n!==t&&Ll(e,t);return}requestAnimationFrame(a=>{let l=a-r,u=n+(t-n)/Math.max(l,o)*l;Ll(e,u),u!==t&&Dl(e,t,o-l,a)})}function Bl(e,t){if(e===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t);return}e.scrollTop=t}function Ll(e,t){if(e===window){window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}e.scrollLeft=t}function Bo(e,t,o){if(o){Fl(e,t,o);return}Bl(e,t)}function ti(e,t,o){if(o){Dl(e,t,o);return}Ll(e,t)}var Ui;function qn(){if(Ui!==void 0)return Ui;let e=document.createElement("p"),t=document.createElement("div");wn(e,{width:"100%",height:"200px"}),wn(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);let o=e.offsetWidth;t.style.overflow="scroll";let r=e.offsetWidth;return o===r&&(r=t.clientWidth),t.remove(),Ui=o-r,Ui}function Vl(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"]))}var Rs={getScrollTarget:Bt,getScrollHeight:ur,getScrollWidth:Zv,getVerticalScrollPosition:to,getHorizontalScrollPosition:sn,animVerticalScrollTo:Fl,animHorizontalScrollTo:Dl,setVerticalScrollPosition:Bo,setHorizontalScrollPosition:ti,getScrollbarWidth:qn,hasScrollbar:Vl};var Tn=[],sr;function Jv(e){sr=e.keyCode===27}function eg(){sr===!0&&(sr=!1)}function tg(e){sr===!0&&(sr=!1,Tt(e,27)===!0&&Tn[Tn.length-1](e))}function Ps(e){window[e]("keydown",Jv),window[e]("blur",eg),window[e]("keyup",tg),sr=!1}function Ki(e){Re.is.desktop===!0&&(Tn.push(e),Tn.length===1&&Ps("addEventListener"))}function cr(e){let t=Tn.indexOf(e);t!==-1&&(Tn.splice(t,1),Tn.length===0&&Ps("removeEventListener"))}var Mn=[];function As(e){Mn[Mn.length-1](e)}function dr(e){Re.is.desktop===!0&&(Mn.push(e),Mn.length===1&&document.body.addEventListener("focusin",As))}function Rn(e){let t=Mn.indexOf(e);t!==-1&&(Mn.splice(t,1),Mn.length===0&&document.body.removeEventListener("focusin",As))}var fr=null,{notPassiveCapture:Wi}=et,Pn=[];function Yi(e){fr!==null&&(clearTimeout(fr),fr=null);let t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let o=ln.length-1;for(;o>=0;){let r=ln[o].$;if(r.type.name==="QTooltip"){o--;continue}if(r.type.name!=="QDialog")break;if(r.props.seamless!==!0)return;o--}for(let r=Pn.length-1;r>=0;r--){let n=Pn[r];if((n.anchorEl.value===null||n.anchorEl.value.contains(t)===!1)&&(t===document.body||n.innerRef.value!==null&&n.innerRef.value.contains(t)===!1))e.qClickOutside=!0,n.onClickOutside(e);else return}}function Xi(e){Pn.push(e),Pn.length===1&&(document.addEventListener("mousedown",Yi,Wi),document.addEventListener("touchstart",Yi,Wi))}function mr(e){let t=Pn.findIndex(o=>o===e);t!==-1&&(Pn.splice(t,1),Pn.length===0&&(fr!==null&&(clearTimeout(fr),fr=null),document.removeEventListener("mousedown",Yi,Wi),document.removeEventListener("touchstart",Yi,Wi)))}var $s,Es;function vr(e){let 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 Gi(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}var Ol={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Ol[`${e}#ltr`]=e,Ol[`${e}#rtl`]=e});function gr(e,t){let o=e.split(" ");return{vertical:o[0],horizontal:Ol[`${o[1]}#${t===!0?"rtl":"ltr"}`]}}function og(e,t){let{top:o,left:r,right:n,bottom:a,width:l,height:u}=e.getBoundingClientRect();return t!==void 0&&(o-=t[1],r-=t[0],a+=t[1],n+=t[0],l+=t[0],u+=t[1]),{top:o,bottom:a,height:u,left:r,right:n,width:l,middle:r+(n-r)/2,center:o+(a-o)/2}}function ng(e,t,o){let{top:r,left:n}=e.getBoundingClientRect();return r+=t.top,n+=t.left,o!==void 0&&(r+=o[1],n+=o[0]),{top:r,bottom:r+1,height:1,left:n,right:n+1,width:1,middle:n,center:r}}function rg(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Bs(e,t,o,r){return{top:e[o.vertical]-t[r.vertical],left:e[o.horizontal]-t[r.horizontal]}}function oi(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{oi(e,t+1)},10);return}let{targetEl:o,offset:r,anchorEl:n,anchorOrigin:a,selfOrigin:l,absoluteOffset:u,fit:d,cover:f,maxHeight:c,maxWidth:h}=e;if(Re.is.ios===!0&&window.visualViewport!==void 0){let $=document.body.style,{offsetLeft:L,offsetTop:V}=window.visualViewport;L!==$s&&($.setProperty("--q-pe-left",L+"px"),$s=L),V!==Es&&($.setProperty("--q-pe-top",V+"px"),Es=V)}let{scrollLeft:v,scrollTop:m}=o,g=u===void 0?og(n,f===!0?[0,0]:r):ng(n,u,r);Object.assign(o.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:h||"100vw",maxHeight:c||"100vh",visibility:"visible"});let{offsetWidth:x,offsetHeight:y}=o,{elWidth:k,elHeight:S}=d===!0||f===!0?{elWidth:Math.max(g.width,x),elHeight:f===!0?Math.max(g.height,y):y}:{elWidth:x,elHeight:y},b={maxWidth:h,maxHeight:c};(d===!0||f===!0)&&(b.minWidth=g.width+"px",f===!0&&(b.minHeight=g.height+"px")),Object.assign(o.style,b);let p=rg(k,S),_=Bs(g,p,a,l);if(u===void 0||r===void 0)zl(_,g,p,a,l);else{let{top:$,left:L}=_;zl(_,g,p,a,l);let V=!1;if(_.top!==$){V=!0;let F=2*r[1];g.center=g.top-=F,g.bottom-=F+2}if(_.left!==L){V=!0;let F=2*r[0];g.middle=g.left-=F,g.right-=F+2}V===!0&&(_=Bs(g,p,a,l),zl(_,g,p,a,l))}b={top:_.top+"px",left:_.left+"px"},_.maxHeight!==void 0&&(b.maxHeight=_.maxHeight+"px",g.height>_.maxHeight&&(b.minHeight=b.maxHeight)),_.maxWidth!==void 0&&(b.maxWidth=_.maxWidth+"px",g.width>_.maxWidth&&(b.minWidth=b.maxWidth)),Object.assign(o.style,b),o.scrollTop!==m&&(o.scrollTop=m),o.scrollLeft!==v&&(o.scrollLeft=v)}function zl(e,t,o,r,n){let a=o.bottom,l=o.right,u=qn(),d=window.innerHeight-u,f=document.body.clientWidth;if(e.top<0||e.top+a>d)if(n.vertical==="center")e.top=t[r.vertical]>d/2?Math.max(0,d-a):0,e.maxHeight=Math.min(a,d);else if(t[r.vertical]>d/2){let c=Math.min(d,r.vertical==="center"?t.center:r.vertical===n.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,c),e.top=Math.max(0,c-a)}else e.top=Math.max(0,r.vertical==="center"?t.center:r.vertical===n.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,d-e.top);if(e.left<0||e.left+l>f)if(e.maxWidth=Math.min(l,f),n.horizontal==="middle")e.left=t[r.horizontal]>f/2?Math.max(0,f-l):0;else if(t[r.horizontal]>f/2){let c=Math.min(f,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.right:t.left);e.maxWidth=Math.min(l,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.left:t.right),e.maxWidth=Math.min(l,f-e.left)}var Lo=A({name:"QMenu",inheritAttrs:!1,props:{...Ni,...vo,..._e,...bo,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:vr},self:{type:String,validator:vr},offset:{type:Array,validator:Gi},scrollTarget:eo,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...go,"click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=null,a,l,u,d=U(),{proxy:f}=d,{$q:c}=f,h=q(null),v=q(!1),m=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),g=Ce(e,c),{registerTick:x,removeTick:y}=yo(),{registerTimeout:k}=Yt(),{transitionProps:S,transitionStyle:b}=un(e),{localScrollTarget:p,changeScrollEvent:_,unconfigureScrollTarget:$}=ji(e,W),{anchorEl:L,canShow:V}=rr({showing:v}),{hide:F}=ho({showing:v,canShow:V,handleShow:ce,handleHide:H,hideOnRouteChange:m,processOnMount:!0}),{showPortal:E,hidePortal:D,renderPortal:M}=lr(d,h,ae,"menu"),C={anchorEl:L,innerRef:h,onClickOutside(Q){if(e.persistent!==!0&&v.value===!0)return F(Q),(Q.type==="touchstart"||Q.target.classList.contains("q-dialog__backdrop"))&&qe(Q),!0}},T=s(()=>gr(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),G=s(()=>e.cover===!0?T.value:gr(e.self||"top start",c.lang.rtl)),X=s(()=>(e.square===!0?" q-menu--square":"")+(g.value===!0?" q-menu--dark q-dark":"")),B=s(()=>e.autoClose===!0?{onClick:j}:{}),O=s(()=>v.value===!0&&e.persistent!==!0);Y(O,Q=>{Q===!0?(Ki(R),Xi(C)):(cr(R),mr(C))});function K(){po(()=>{let Q=h.value;Q&&Q.contains(document.activeElement)!==!0&&(Q=Q.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||Q.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||Q.querySelector("[autofocus], [data-autofocus]")||Q,Q.focus({preventScroll:!0}))})}function ce(Q){if(n=e.noRefocus===!1?document.activeElement:null,dr(le),E(),W(),a=void 0,Q!==void 0&&(e.touchPosition||e.contextMenu)){let me=_t(Q);if(me.left!==void 0){let{top:Me,left:Z}=L.value.getBoundingClientRect();a={left:me.left-Z,top:me.top-Me}}}l===void 0&&(l=Y(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,I)),e.noFocus!==!0&&document.activeElement.blur(),x(()=>{I(),e.noFocus!==!0&&K()}),k(()=>{c.platform.is.ios===!0&&(u=e.autoClose,h.value.click()),I(),E(!0),o("show",Q)},e.transitionDuration)}function H(Q){y(),D(),w(!0),n!==null&&(Q===void 0||Q.qClickOutside!==!0)&&(((Q&&Q.type.indexOf("key")===0?n.closest('[tabindex]:not([tabindex^="-"])'):void 0)||n).focus(),n=null),k(()=>{D(!0),o("hide",Q)},e.transitionDuration)}function w(Q){a=void 0,l!==void 0&&(l(),l=void 0),(Q===!0||v.value===!0)&&(Rn(le),$(),mr(C),cr(R)),Q!==!0&&(n=null)}function W(){(L.value!==null||e.scrollTarget!==void 0)&&(p.value=Bt(L.value,e.scrollTarget),_(p.value,I))}function j(Q){u!==!0?(El(f,Q),o("click",Q)):u=!1}function le(Q){O.value===!0&&e.noFocus!==!0&&Oi(h.value,Q.target)!==!0&&K()}function R(Q){o("escapeKey"),F(Q)}function I(){oi({targetEl:h.value,offset:e.offset,anchorEl:L.value,anchorOrigin:T.value,selfOrigin:G.value,absoluteOffset:a,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function ae(){return i(lt,S.value,()=>v.value===!0?i("div",{role:"menu",...r,ref:h,tabindex:-1,class:["q-menu q-position-engine scroll"+X.value,r.class],style:[r.style,b.value],...B.value},re(t.default)):null)}return Se(w),Object.assign(f,{focus:K,updatePosition:I}),M}});var Il,Zi=0,It=new Array(256);for(let e=0;e<256;e++)It[e]=(e+256).toString(16).substring(1);var ig=(()=>{let 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=>{let o=new Uint8Array(t);return e.getRandomValues(o),o}}return t=>{let o=[];for(let r=t;r>0;r--)o.push(Math.floor(Math.random()*256));return o}})(),Ls=4096;function Fo(){(Il===void 0||Zi+16>Ls)&&(Zi=0,Il=ig(Ls));let e=Array.prototype.slice.call(Il,Zi,Zi+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,It[e[0]]+It[e[1]]+It[e[2]]+It[e[3]]+"-"+It[e[4]]+It[e[5]]+"-"+It[e[6]]+It[e[7]]+"-"+It[e[8]]+It[e[9]]+"-"+It[e[10]]+It[e[11]]+It[e[12]]+It[e[13]]+It[e[14]]+It[e[15]]}function ag(e){return e??null}function Fs(e,t){return e??(t===!0?`f_${Fo()}`:null)}function Do({getValue:e,required:t=!0}={}){if(xt.value===!0){let o=e!==void 0?q(ag(e())):q(null);return t===!0&&o.value===null&&Ne(()=>{o.value=`f_${Fo()}`}),e!==void 0&&Y(e,r=>{o.value=Fs(r,t)}),o}return e!==void 0?s(()=>Fs(e(),t)):q(`f_${Fo()}`)}var lg=Object.keys(Qi);function ug(e){return lg.reduce((t,o)=>{let r=e[o];return r!==void 0&&(t[o]=r),t},{})}var Ji=A({name:"QBtnDropdown",props:{...Qi,...bo,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),n=q(e.modelValue),a=q(null),l=Do(),u=s(()=>{let p={"aria-expanded":n.value===!0?"true":"false","aria-haspopup":"true","aria-controls":l.value,"aria-label":e.toggleAriaLabel||r.$q.lang.label[n.value===!0?"collapse":"expand"](e.label)};return(e.disable===!0||e.split===!1&&e.disableMainBtn===!0||e.disableDropdown===!0)&&(p["aria-disabled"]="true"),p}),d=s(()=>"q-btn-dropdown__arrow"+(n.value===!0&&e.noIconAnimation===!1?" rotate-180":"")+(e.split===!1?" q-btn-dropdown__arrow-container":"")),f=s(()=>Hi(e)),c=s(()=>ug(e));Y(()=>e.modelValue,p=>{a.value!==null&&a.value[p?"show":"hide"]()}),Y(()=>e.split,b);function h(p){n.value=!0,o("beforeShow",p)}function v(p){o("show",p),o("update:modelValue",!0)}function m(p){n.value=!1,o("beforeHide",p)}function g(p){o("hide",p),o("update:modelValue",!1)}function x(p){o("click",p)}function y(p){it(p),b(),o("click",p)}function k(p){a.value!==null&&a.value.toggle(p)}function S(p){a.value!==null&&a.value.show(p)}function b(p){a.value!==null&&a.value.hide(p)}return Object.assign(r,{show:S,hide:b,toggle:k}),Ne(()=>{e.modelValue===!0&&S()}),()=>{let p=[i(Pe,{class:d.value,name:e.dropdownIcon||r.$q.iconSet.arrow.dropdown})];return e.disableDropdown!==!0&&p.push(i(Lo,{ref:a,id:l.value,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:h,onShow:v,onBeforeHide:m,onHide:g},t.default)),e.split===!1?i(Ie,{class:"q-btn-dropdown q-btn-dropdown--simple",...c.value,...u.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:x},{default:()=>re(t.label,[]).concat(p),loading:t.loading}):i(nr,{class:"q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",rounded:e.rounded,square:e.square,...f.value,glossy:e.glossy,stretch:e.stretch},()=>[i(Ie,{class:"q-btn-dropdown--current",...c.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:y},{default:t.label,loading:t.loading}),i(Ie,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...u.value,...f.value,disable:e.disable===!0||e.disableDropdown===!0,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},()=>p)])}}});var kt={name:String};function Vo(e){return s(()=>({type:"hidden",name:e.name,value:e.modelValue}))}function Xt(e={}){return(t,o,r)=>{t[o](i("input",{class:"hidden"+(r||""),...e.value}))}}function hr(e){return s(()=>e.name||e.for)}var Ds=A({name:"QBtnToggle",props:{...kt,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every(t=>("label"in t||"icon"in t||"slot"in t)&&"value"in t)},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","clear","click"],setup(e,{slots:t,emit:o}){let r=s(()=>e.options.find(v=>v.value===e.modelValue)!==void 0),n=s(()=>({type:"hidden",name:e.name,value:e.modelValue})),a=Xt(n),l=s(()=>Hi(e)),u=s(()=>({rounded:e.rounded,dense:e.dense,...l.value})),d=s(()=>e.options.map((v,m)=>{let{attrs:g,value:x,slot:y,...k}=v;return{slot:y,props:{key:m,"aria-pressed":x===e.modelValue?"true":"false",...g,...k,...u.value,disable:e.disable===!0||k.disable===!0,color:x===e.modelValue?c(k,"toggleColor"):c(k,"color"),textColor:x===e.modelValue?c(k,"toggleTextColor"):c(k,"textColor"),noCaps:c(k,"noCaps")===!0,noWrap:c(k,"noWrap")===!0,size:c(k,"size"),padding:c(k,"padding"),ripple:c(k,"ripple"),stack:c(k,"stack")===!0,stretch:c(k,"stretch")===!0,onClick(S){f(x,v,S)}}}}));function f(v,m,g){e.readonly!==!0&&(e.modelValue===v?e.clearable===!0&&(o("update:modelValue",null,null),o("clear")):o("update:modelValue",v,m),o("click",g))}function c(v,m){return v[m]===void 0?e[m]:v[m]}function h(){let v=d.value.map(m=>i(Ie,m.props,m.slot!==void 0?t[m.slot]:void 0));return e.name!==void 0&&e.disable!==!0&&r.value===!0&&a(v,"push"),Ge(t.default,v)}return()=>i(nr,{class:"q-btn-toggle",...l.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},h)}});var pr=A({name:"QCard",props:{..._e,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=s(()=>"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()=>i(e.tag,{class:n.value},re(t.default))}});var xo=A({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){let o=s(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>i(e.tag,{class:o.value},re(t.default))}});var ea=A({name:"QCardActions",props:{...Yn,vertical:Boolean},setup(e,{slots:t}){let o=Xn(e),r=s(()=>`q-card__actions ${o.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>i("div",{class:r.value},re(t.default))}});var Hl={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},sg=Object.keys(Hl);Hl.all=!0;function br(e){let t={};for(let o of sg)e[o]===!0&&(t[o]=!0);return Object.keys(t).length===0?Hl:(t.horizontal===!0?t.left=t.right=!0:t.left===!0&&t.right===!0&&(t.horizontal=!0),t.vertical===!0?t.up=t.down=!0:t.up===!0&&t.down===!0&&(t.vertical=!0),t.horizontal===!0&&t.vertical===!0&&(t.all=!0),t)}var cg=["INPUT","TEXTAREA"];function yr(e,t){return t.event===void 0&&e.target!==void 0&&e.target.draggable!==!0&&typeof t.handler=="function"&&cg.includes(e.target.nodeName.toUpperCase())===!1&&(e.qClonedBy===void 0||e.qClonedBy.indexOf(t.uid)===-1)}function dg(e){let t=[.06,6,50];return typeof e=="string"&&e.length&&e.split(":").forEach((o,r)=>{let n=parseFloat(o);n&&(t[r]=n)}),t}var ta=At({name:"touch-swipe",beforeMount(e,{value:t,arg:o,modifiers:r}){if(r.mouse!==!0&&Re.has.touch!==!0)return;let n=r.mouseCapture===!0?"Capture":"",a={handler:t,sensitivity:dg(o),direction:br(r),noop:We,mouseStart(l){yr(l,a)&&Ko(l)&&(dt(a,"temp",[[document,"mousemove","move",`notPassive${n}`],[document,"mouseup","end","notPassiveCapture"]]),a.start(l,!0))},touchStart(l){if(yr(l,a)){let u=l.target;dt(a,"temp",[[u,"touchmove","move","notPassiveCapture"],[u,"touchcancel","end","notPassiveCapture"],[u,"touchend","end","notPassiveCapture"]]),a.start(l)}},start(l,u){Re.is.firefox===!0&&Wo(e,!0);let d=_t(l);a.event={x:d.left,y:d.top,time:Date.now(),mouse:u===!0,dir:!1}},move(l){if(a.event===void 0)return;if(a.event.dir!==!1){qe(l);return}let u=Date.now()-a.event.time;if(u===0)return;let d=_t(l),f=d.left-a.event.x,c=Math.abs(f),h=d.top-a.event.y,v=Math.abs(h);if(a.event.mouse!==!0){if(c<a.sensitivity[1]&&v<a.sensitivity[1]){a.end(l);return}}else if(window.getSelection().toString()!==""){a.end(l);return}else if(c<a.sensitivity[2]&&v<a.sensitivity[2])return;let m=c/u,g=v/u;a.direction.vertical===!0&&c<v&&c<100&&g>a.sensitivity[0]&&(a.event.dir=h<0?"up":"down"),a.direction.horizontal===!0&&c>v&&v<100&&m>a.sensitivity[0]&&(a.event.dir=f<0?"left":"right"),a.direction.up===!0&&c<v&&h<0&&c<100&&g>a.sensitivity[0]&&(a.event.dir="up"),a.direction.down===!0&&c<v&&h>0&&c<100&&g>a.sensitivity[0]&&(a.event.dir="down"),a.direction.left===!0&&c>v&&f<0&&v<100&&m>a.sensitivity[0]&&(a.event.dir="left"),a.direction.right===!0&&c>v&&f>0&&v<100&&m>a.sensitivity[0]&&(a.event.dir="right"),a.event.dir!==!1?(qe(l),a.event.mouse===!0&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),a.styleCleanup=x=>{a.styleCleanup=void 0,document.body.classList.remove("non-selectable");let y=()=>{document.body.classList.remove("no-pointer-events--children")};x===!0?setTimeout(y,50):y()}),a.handler({evt:l,touch:a.event.mouse!==!0,mouse:a.event.mouse,direction:a.event.dir,duration:u,distance:{x:c,y:v}})):a.end(l)},end(l){a.event!==void 0&&(qt(a,"temp"),Re.is.firefox===!0&&Wo(e,!1),a.styleCleanup!==void 0&&a.styleCleanup(!0),l!==void 0&&a.event.dir!==!1&&qe(l),a.event=void 0)}};if(e.__qtouchswipe=a,r.mouse===!0){let l=r.mouseCapture===!0||r.mousecapture===!0?"Capture":"";dt(a,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}Re.has.touch===!0&&dt(a,"main",[[e,"touchstart","touchStart",`passive${r.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchswipe;o!==void 0&&(t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value),o.direction=br(t.modifiers))},beforeUnmount(e){let t=e.__qtouchswipe;t!==void 0&&(qt(t,"main"),qt(t,"temp"),Re.is.firefox===!0&&Wo(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchswipe)}});function So(){let e=Object.create(null);return{getCache:(t,o)=>e[t]===void 0?e[t]=typeof o=="function"?o():o:e[t],setCache(t,o){e[t]=o},hasCache(t){return Object.hasOwnProperty.call(e,t)},clearCache(t){t!==void 0?delete e[t]:e=Object.create(null)}}}var Sr={name:{required:!0},disable:Boolean},Vs={setup(e,{slots:t}){return()=>i("div",{class:"q-panel scroll",role:"tabpanel"},re(t.default))}},xr={modelValue:{required:!0},animated:Boolean,infinite:Boolean,swipeable:Boolean,vertical:Boolean,transitionPrev:String,transitionNext:String,transitionDuration:{type:[String,Number],default:300},keepAlive:Boolean,keepAliveInclude:[String,Array,RegExp],keepAliveExclude:[String,Array,RegExp],keepAliveMax:Number},_r=["update:modelValue","beforeTransition","transition"];function Cr(){let{props:e,emit:t,proxy:o}=U(),{getCache:r}=So(),n,a,l=q(null),u=q(null);function d(C){let T=e.vertical===!0?"up":"left";L((o.$q.lang.rtl===!0?-1:1)*(C.direction===T?1:-1))}let f=s(()=>[[ta,d,void 0,{horizontal:e.vertical!==!0,vertical:e.vertical,mouse:!0}]]),c=s(()=>e.transitionPrev||`slide-${e.vertical===!0?"down":"right"}`),h=s(()=>e.transitionNext||`slide-${e.vertical===!0?"up":"left"}`),v=s(()=>`--q-transition-duration: ${e.transitionDuration}ms`),m=s(()=>typeof e.modelValue=="string"||typeof e.modelValue=="number"?e.modelValue:String(e.modelValue)),g=s(()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax})),x=s(()=>e.keepAliveInclude!==void 0||e.keepAliveExclude!==void 0);Y(()=>e.modelValue,(C,T)=>{let G=b(C)===!0?p(C):-1;a!==!0&&$(G===-1?0:G<p(T)?-1:1),l.value!==G&&(l.value=G,t("beforeTransition",C,T),$e(()=>{t("transition",C,T)}))});function y(){L(1)}function k(){L(-1)}function S(C){t("update:modelValue",C)}function b(C){return C!=null&&C!==""}function p(C){return n.findIndex(T=>T.props.name===C&&T.props.disable!==""&&T.props.disable!==!0)}function _(){return n.filter(C=>C.props.disable!==""&&C.props.disable!==!0)}function $(C){let T=C!==0&&e.animated===!0&&l.value!==-1?"q-transition--"+(C===-1?c.value:h.value):null;u.value!==T&&(u.value=T)}function L(C,T=l.value){let G=T+C;for(;G!==-1&&G<n.length;){let X=n[G];if(X!==void 0&&X.props.disable!==""&&X.props.disable!==!0){$(C),a=!0,t("update:modelValue",X.props.name),setTimeout(()=>{a=!1});return}G+=C}e.infinite===!0&&n.length!==0&&T!==-1&&T!==n.length&&L(C,C===-1?n.length:-1)}function V(){let C=p(e.modelValue);return l.value!==C&&(l.value=C),!0}function F(){let C=b(e.modelValue)===!0&&V()&&n[l.value];return e.keepAlive===!0?[i(wi,g.value,[i(x.value===!0?r(m.value,()=>({...Vs,name:m.value})):Vs,{key:m.value,style:v.value},()=>C)])]:[i("div",{class:"q-panel scroll",style:v.value,key:m.value,role:"tabpanel"},[C])]}function E(){if(n.length!==0)return e.animated===!0?[i(lt,{name:u.value},F)]:F()}function D(C){return n=Gn(re(C.default,[])).filter(T=>T.props!==null&&T.props.slot===void 0&&b(T.props.name)===!0),n.length}function M(){return n}return Object.assign(o,{next:y,previous:k,goTo:S}),{panelIndex:l,panelDirectives:f,updatePanelsList:D,updatePanelIndex:V,getPanelContent:E,getEnabledPanels:_,getPanels:M,isValidPanelName:b,keepAliveProps:g,needsUniqueKeepAliveWrapper:x,goToPanelByOffset:L,goToPanel:S,nextPanel:y,previousPanel:k}}var ni=0,wr={fullscreen:Boolean,noRouteFullscreenExit:Boolean},kr=["update:fullscreen","fullscreen"];function qr(){let e=U(),{props:t,emit:o,proxy:r}=e,n,a,l,u=q(!1);Zn(e)===!0&&Y(()=>r.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&c()}),Y(()=>t.fullscreen,h=>{u.value!==h&&d()}),Y(u,h=>{o("update:fullscreen",h),o("fullscreen",h)});function d(){u.value===!0?c():f()}function f(){u.value!==!0&&(u.value=!0,l=r.$el.parentNode,l.replaceChild(a,r.$el),document.body.appendChild(r.$el),ni++,ni===1&&document.body.classList.add("q-body--fullscreen-mixin"),n={handler:c},on.add(n))}function c(){u.value===!0&&(n!==void 0&&(on.remove(n),n=void 0),l.replaceChild(r.$el,a),u.value=!1,ni=Math.max(0,ni-1),ni===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),r.$el.scrollIntoView!==void 0&&setTimeout(()=>{r.$el.scrollIntoView()})))}return Qn(()=>{a=document.createElement("span")}),Ne(()=>{t.fullscreen===!0&&f()}),Se(c),Object.assign(r,{toggleFullscreen:d,setFullscreen:f,exitFullscreen:c}),{inFullscreen:u,toggleFullscreen:d}}var fg=["top","right","bottom","left"],mg=["regular","flat","outline","push","unelevated"],zs=A({name:"QCarousel",props:{..._e,...xr,...wr,transitionPrev:{type:String,default:"fade"},transitionNext:{type:String,default:"fade"},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>mg.includes(e),default:"flat"},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>fg.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...kr,..._r],setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Ce(e,o),n=null,a,{updatePanelsList:l,getPanelContent:u,panelDirectives:d,goToPanel:f,previousPanel:c,nextPanel:h,getEnabledPanels:v,panelIndex:m}=Cr(),{inFullscreen:g}=qr(),x=s(()=>g.value!==!0&&e.height!==void 0?{height:e.height}:{}),y=s(()=>e.vertical===!0?"vertical":"horizontal"),k=s(()=>e.navigationPosition||(e.vertical===!0?"right":"bottom")),S=s(()=>`q-carousel q-panel-parent q-carousel--with${e.padding===!0?"":"out"}-padding`+(g.value===!0?" fullscreen":"")+(r.value===!0?" q-carousel--dark q-dark":"")+(e.arrows===!0?` q-carousel--arrows-${y.value}`:"")+(e.navigation===!0?` q-carousel--navigation-${k.value}`:"")),b=s(()=>{let E=[e.prevIcon||o.iconSet.carousel[e.vertical===!0?"up":"left"],e.nextIcon||o.iconSet.carousel[e.vertical===!0?"down":"right"]];return e.vertical===!1&&o.lang.rtl===!0?E.reverse():E}),p=s(()=>e.navigationIcon||o.iconSet.carousel.navigationIcon),_=s(()=>e.navigationActiveIcon||p.value),$=s(()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0}));Y(()=>e.modelValue,()=>{e.autoplay&&L()}),Y(()=>e.autoplay,E=>{E?L():n!==null&&(clearTimeout(n),n=null)});function L(){let E=fo(e.autoplay)===!0?Math.abs(e.autoplay):5e3;n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,E>=0?h():c()},E)}Ne(()=>{e.autoplay&&L()}),Se(()=>{n!==null&&clearTimeout(n)});function V(E,D){return i("div",{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${E} q-carousel__navigation--${k.value}`+(e.controlColor!==void 0?` text-${e.controlColor}`:"")},[i("div",{class:"q-carousel__navigation-inner flex flex-center no-wrap"},v().map(D))])}function F(){let E=[];if(e.navigation===!0){let D=t["navigation-icon"]!==void 0?t["navigation-icon"]:C=>i(Ie,{key:"nav"+C.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${C.active===!0?"":"in"}active`,...C.btnProps,onClick:C.onClick}),M=a-1;E.push(V("buttons",(C,T)=>{let G=C.props.name,X=m.value===T;return D({index:T,maxIndex:M,name:G,active:X,btnProps:{icon:X===!0?_.value:p.value,size:"sm",...$.value},onClick:()=>{f(G)}})}))}else if(e.thumbnails===!0){let D=e.controlColor!==void 0?` text-${e.controlColor}`:"";E.push(V("thumbnails",M=>{let C=M.props;return i("img",{key:"tmb#"+C.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${C.name===e.modelValue?"":"in"}active`+D,src:C.imgSrc||C["img-src"],onClick:()=>{f(C.name)}})}))}return e.arrows===!0&&m.value>=0&&((e.infinite===!0||m.value>0)&&E.push(i("div",{key:"prev",class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${y.value} absolute flex flex-center`},[i(Ie,{icon:b.value[0],...$.value,onClick:c})])),(e.infinite===!0||m.value<a-1)&&E.push(i("div",{key:"next",class:`q-carousel__control q-carousel__arrow q-carousel__next-arrow q-carousel__next-arrow--${y.value} absolute flex flex-center`},[i(Ie,{icon:b.value[1],...$.value,onClick:h})]))),Ge(t.control,E)}return()=>(a=l(t),i("div",{class:S.value,style:x.value},[Mt("div",{class:"q-carousel__slides-container"},u(),"sl-cont",e.swipeable,()=>d.value)].concat(F())))}});var Os=A({name:"QCarouselSlide",props:{...Sr,imgSrc:String},setup(e,{slots:t}){let o=s(()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{});return()=>i("div",{class:"q-carousel__slide",style:o.value},re(t.default))}});var Is=A({name:"QCarouselControl",props:{position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,default:()=>[18,18],validator:e=>e.length===2}},setup(e,{slots:t}){let o=s(()=>`q-carousel__control absolute absolute-${e.position}`),r=s(()=>({margin:`${e.offset[1]}px ${e.offset[0]}px`}));return()=>i("div",{class:o.value,style:r.value},re(t.default))}});var Hs=A({name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String,labelHtml:Boolean,nameHtml:Boolean,textHtml:Boolean,stampHtml:Boolean},setup(e,{slots:t}){let o=s(()=>e.sent===!0?"sent":"received"),r=s(()=>`q-message-text-content q-message-text-content--${o.value}`+(e.textColor!==void 0?` text-${e.textColor}`:"")),n=s(()=>`q-message-text q-message-text--${o.value}`+(e.bgColor!==void 0?` text-${e.bgColor}`:"")),a=s(()=>"q-message-container row items-end no-wrap"+(e.sent===!0?" reverse":"")),l=s(()=>e.size!==void 0?`col-${e.size}`:""),u=s(()=>({msg:e.textHtml===!0?"innerHTML":"textContent",stamp:e.stampHtml===!0?"innerHTML":"textContent",name:e.nameHtml===!0?"innerHTML":"textContent",label:e.labelHtml===!0?"innerHTML":"textContent"}));function d(c){return t.stamp!==void 0?[c,i("div",{class:"q-message-stamp"},t.stamp())]:e.stamp?[c,i("div",{class:"q-message-stamp",[u.value.stamp]:e.stamp})]:[c]}function f(c,h){let v=h===!0?c.length>1?m=>m:m=>i("div",[m]):m=>i("div",{[u.value.msg]:m});return c.map((m,g)=>i("div",{key:g,class:n.value},[i("div",{class:r.value},d(v(m)))]))}return()=>{let c=[];t.avatar!==void 0?c.push(t.avatar()):e.avatar!==void 0&&c.push(i("img",{class:`q-message-avatar q-message-avatar--${o.value}`,src:e.avatar,"aria-hidden":"true"}));let h=[];t.name!==void 0?h.push(i("div",{class:`q-message-name q-message-name--${o.value}`},t.name())):e.name!==void 0&&h.push(i("div",{class:`q-message-name q-message-name--${o.value}`,[u.value.name]:e.name})),t.default!==void 0?h.push(f(Gn(t.default()),!0)):e.text!==void 0&&h.push(f(e.text)),c.push(i("div",{class:l.value},h));let v=[];return t.label!==void 0?v.push(i("div",{class:"q-message-label"},t.label())):e.label!==void 0&&v.push(i("div",{class:"q-message-label",[u.value.label]:e.label})),v.push(i("div",{class:a.value},c)),i("div",{class:`q-message q-message-${o.value}`},v)}}});function oa(e,t){let o=q(null),r=s(()=>e.disable===!0?null:i("span",{ref:o,class:"no-outline",tabindex:-1}));function n(a){let l=t.value;a!==void 0&&a.type.indexOf("key")===0?l!==null&&document.activeElement!==l&&l.contains(document.activeElement)===!0&&l.focus():o.value!==null&&(a===void 0||l!==null&&l.contains(a.target)===!0)&&o.value.focus()}return{refocusTargetEl:r,refocusTarget:n}}var na={xs:30,sm:35,md:40,lg:50,xl:60};var ra={..._e,...Ft,...kt,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]},ia=["update:modelValue"];function aa(e,t){let{props:o,slots:r,emit:n,proxy:a}=U(),{$q:l}=a,u=Ce(o,l),d=q(null),{refocusTargetEl:f,refocusTarget:c}=oa(o,d),h=Dt(o,na),v=s(()=>o.val!==void 0&&Array.isArray(o.modelValue)),m=s(()=>{let M=co(o.val);return v.value===!0?o.modelValue.findIndex(C=>co(C)===M):-1}),g=s(()=>v.value===!0?m.value!==-1:co(o.modelValue)===co(o.trueValue)),x=s(()=>v.value===!0?m.value===-1:co(o.modelValue)===co(o.falseValue)),y=s(()=>g.value===!1&&x.value===!1),k=s(()=>o.disable===!0?-1:o.tabindex||0),S=s(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(o.disable===!0?" disabled":"")+(u.value===!0?` q-${e}--dark`:"")+(o.dense===!0?` q-${e}--dense`:"")+(o.leftLabel===!0?" reverse":"")),b=s(()=>{let M=g.value===!0?"truthy":x.value===!0?"falsy":"indet",C=o.color!==void 0&&(o.keepColor===!0||(e==="toggle"?g.value===!0:x.value!==!0))?` text-${o.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${M}${C}`}),p=s(()=>{let M={type:"checkbox"};return o.name!==void 0&&Object.assign(M,{".checked":g.value,"^checked":g.value===!0?"checked":void 0,name:o.name,value:v.value===!0?o.val:o.trueValue}),M}),_=Xt(p),$=s(()=>{let M={tabindex:k.value,role:e==="toggle"?"switch":"checkbox","aria-label":o.label,"aria-checked":y.value===!0?"mixed":g.value===!0?"true":"false"};return o.disable===!0&&(M["aria-disabled"]="true"),M});function L(M){M!==void 0&&(qe(M),c(M)),o.disable!==!0&&n("update:modelValue",V(),M)}function V(){if(v.value===!0){if(g.value===!0){let M=o.modelValue.slice();return M.splice(m.value,1),M}return o.modelValue.concat([o.val])}if(g.value===!0){if(o.toggleOrder!=="ft"||o.toggleIndeterminate===!1)return o.falseValue}else if(x.value===!0){if(o.toggleOrder==="ft"||o.toggleIndeterminate===!1)return o.trueValue}else return o.toggleOrder!=="ft"?o.trueValue:o.falseValue;return o.indeterminateValue}function F(M){(M.keyCode===13||M.keyCode===32)&&qe(M)}function E(M){(M.keyCode===13||M.keyCode===32)&&L(M)}let D=t(g,y);return Object.assign(a,{toggle:L}),()=>{let M=D();o.disable!==!0&&_(M,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);let C=[i("div",{class:b.value,style:h.value,"aria-hidden":"true"},M)];f.value!==null&&C.push(f.value);let T=o.label!==void 0?Ge(r.default,[o.label]):re(r.default);return T!==void 0&&C.push(i("div",{class:`q-${e}__label q-anchor--skip`},T)),i("div",{ref:d,class:S.value,...$.value,onClick:L,onKeydown:F,onKeyup:E},C)}}var vg=i("div",{key:"svg",class:"q-checkbox__bg absolute"},[i("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[i("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),i("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),zo=A({name:"QCheckbox",props:ra,emits:ia,setup(e){function t(o,r){let n=s(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>n.value!==null?[i("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[i(Pe,{class:"q-checkbox__icon",name:n.value})])]:[vg]}return aa("checkbox",t)}});var gg={xs:8,sm:10,md:14,lg:20,xl:24},Tr=A({name:"QChip",props:{..._e,...Ft,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:o}){let{proxy:{$q:r}}=U(),n=Ce(e,r),a=Dt(e,gg),l=s(()=>e.selected===!0||e.icon!==void 0),u=s(()=>e.selected===!0?e.iconSelected||r.iconSet.chip.selected:e.icon),d=s(()=>e.iconRemove||r.iconSet.chip.remove),f=s(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=s(()=>{let y=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}`:"")+(y?` text-${y} 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":"")+(f.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(n.value===!0?" q-chip--dark q-dark":"")}),h=s(()=>{let y=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},k={...y,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||r.lang.label.remove};return{chip:y,remove:k}});function v(y){y.keyCode===13&&m(y)}function m(y){e.disable||(o("update:selected",!e.selected),o("click",y))}function g(y){(y.keyCode===void 0||y.keyCode===13)&&(qe(y),e.disable===!1&&(o("update:modelValue",!1),o("remove")))}function x(){let y=[];f.value===!0&&y.push(i("div",{class:"q-focus-helper"})),l.value===!0&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--left",name:u.value}));let k=e.label!==void 0?[i("div",{class:"ellipsis"},[e.label])]:void 0;return y.push(i("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Wn(t.default,k))),e.iconRight&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&y.push(i(Pe,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:d.value,...h.value.remove,onClick:g,onKeyup:g})),y}return()=>{if(e.modelValue===!1)return;let y={class:c.value,style:a.value};return f.value===!0&&Object.assign(y,h.value.chip,{onClick:m,onKeyup:v}),Mt("div",y,x(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[$o,e.ripple]])}}});var ri={...Ft,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var Ql=50,Qs=2*Ql,Ns=Qs*Math.PI,hg=Math.round(Ns*1e3)/1e3,Mr=A({name:"QCircularProgress",props:{...ri,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Dt(e),n=s(()=>{let m=(o.lang.rtl===!0?-1:1)*e.angle;return{transform:e.reverse!==(o.lang.rtl===!0)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-m}deg)`:`rotate3d(0, 0, 1, ${m-90}deg)`}}),a=s(()=>e.instantFeedback!==!0&&e.indeterminate!==!0?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:""),l=s(()=>Qs/(1-e.thickness/2)),u=s(()=>`${l.value/2} ${l.value/2} ${l.value} ${l.value}`),d=s(()=>ot(e.value,e.min,e.max)),f=s(()=>e.max-e.min),c=s(()=>e.thickness/2*l.value),h=s(()=>{let m=(e.max-d.value)/f.value,g=e.rounded===!0&&d.value<e.max&&m<.25?c.value/2*(1-m/.25):0;return Ns*m+g});function v({thickness:m,offset:g,color:x,cls:y,rounded:k}){return i("circle",{class:"q-circular-progress__"+y+(x!==void 0?` text-${x}`:""),style:a.value,fill:"transparent",stroke:"currentColor","stroke-width":m,"stroke-dasharray":hg,"stroke-dashoffset":g,"stroke-linecap":k,cx:l.value,cy:l.value,r:Ql})}return()=>{let m=[];e.centerColor!==void 0&&e.centerColor!=="transparent"&&m.push(i("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:Ql-c.value/2,cx:l.value,cy:l.value})),e.trackColor!==void 0&&e.trackColor!=="transparent"&&m.push(v({cls:"track",thickness:c.value,offset:0,color:e.trackColor})),m.push(v({cls:"circle",thickness:c.value,offset:h.value,color:e.color,rounded:e.rounded===!0?"round":void 0}));let g=[i("svg",{class:"q-circular-progress__svg",style:n.value,viewBox:u.value,"aria-hidden":"true"},m)];return e.showValue===!0&&g.push(i("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},t.default!==void 0?t.default():[i("div",d.value)])),i("div",{class:`q-circular-progress q-circular-progress--${e.indeterminate===!0?"in":""}determinate`,style:r.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.indeterminate===!0?void 0:d.value},Wn(t.internal,g))}}});function Nl(e,t,o){let r=_t(e),n,a=r.left-t.event.x,l=r.top-t.event.y,u=Math.abs(a),d=Math.abs(l),f=t.direction;f.horizontal===!0&&f.vertical!==!0?n=a<0?"left":"right":f.horizontal!==!0&&f.vertical===!0?n=l<0?"up":"down":f.up===!0&&l<0?(n="up",u>d&&(f.left===!0&&a<0?n="left":f.right===!0&&a>0&&(n="right"))):f.down===!0&&l>0?(n="down",u>d&&(f.left===!0&&a<0?n="left":f.right===!0&&a>0&&(n="right"))):f.left===!0&&a<0?(n="left",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down"))):f.right===!0&&a>0&&(n="right",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down")));let c=!1;if(n===void 0&&o===!1){if(t.event.isFirst===!0||t.event.lastDir===void 0)return{};n=t.event.lastDir,c=!0,n==="left"||n==="right"?(r.left-=a,u=0,a=0):(r.top-=l,d=0,l=0)}return{synthetic:c,payload:{evt:e,touch:t.event.mouse!==!0,mouse:t.event.mouse===!0,position:r,direction:n,isFirst:t.event.isFirst,isFinal:o===!0,duration:Date.now()-t.event.time,distance:{x:u,y:d},offset:{x:a,y:l},delta:{x:r.left-t.event.lastX,y:r.top-t.event.lastY}}}}var pg=0,Rt=At({name:"touch-pan",beforeMount(e,{value:t,modifiers:o}){if(o.mouse!==!0&&Re.has.touch!==!0)return;function r(a,l){o.mouse===!0&&l===!0?qe(a):(o.stop===!0&&it(a),o.prevent===!0&&ft(a))}let n={uid:"qvtp_"+pg++,handler:t,modifiers:o,direction:br(o),noop:We,mouseStart(a){yr(a,n)&&Ko(a)&&(dt(n,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),n.start(a,!0))},touchStart(a){if(yr(a,n)){let l=a.target;dt(n,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","passiveCapture"],[l,"touchend","end","passiveCapture"]]),n.start(a)}},start(a,l){if(Re.is.firefox===!0&&Wo(e,!0),n.lastEvt=a,l===!0||o.stop===!0){if(n.direction.all!==!0&&(l!==!0||n.modifiers.mouseAllDir!==!0&&n.modifiers.mousealldir!==!0)){let f=a.type.indexOf("mouse")!==-1?new MouseEvent(a.type,a):new TouchEvent(a.type,a);a.defaultPrevented===!0&&ft(f),a.cancelBubble===!0&&it(f),Object.assign(f,{qKeyEvent:a.qKeyEvent,qClickOutside:a.qClickOutside,qAnchorHandled:a.qAnchorHandled,qClonedBy:a.qClonedBy===void 0?[n.uid]:a.qClonedBy.concat(n.uid)}),n.initialEvent={target:a.target,event:f}}it(a)}let{left:u,top:d}=_t(a);n.event={x:u,y:d,time:Date.now(),mouse:l===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:u,lastY:d}},move(a){if(n.event===void 0)return;let l=_t(a),u=l.left-n.event.x,d=l.top-n.event.y;if(u===0&&d===0)return;n.lastEvt=a;let f=n.event.mouse===!0,c=()=>{r(a,f);let m;o.preserveCursor!==!0&&o.preservecursor!==!0&&(m=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),f===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),n.styleCleanup=g=>{if(n.styleCleanup=void 0,m!==void 0&&(document.documentElement.style.cursor=m),document.body.classList.remove("non-selectable"),f===!0){let x=()=>{document.body.classList.remove("no-pointer-events--children")};g!==void 0?setTimeout(()=>{x(),g()},50):x()}else g!==void 0&&g()}};if(n.event.detected===!0){n.event.isFirst!==!0&&r(a,n.event.mouse);let{payload:m,synthetic:g}=Nl(a,n,!1);m!==void 0&&(n.handler(m)===!1?n.end(a):(n.styleCleanup===void 0&&n.event.isFirst===!0&&c(),n.event.lastX=m.position.left,n.event.lastY=m.position.top,n.event.lastDir=g===!0?void 0:m.direction,n.event.isFirst=!1));return}if(n.direction.all===!0||f===!0&&(n.modifiers.mouseAllDir===!0||n.modifiers.mousealldir===!0)){c(),n.event.detected=!0,n.move(a);return}let h=Math.abs(u),v=Math.abs(d);h!==v&&(n.direction.horizontal===!0&&h>v||n.direction.vertical===!0&&h<v||n.direction.up===!0&&h<v&&d<0||n.direction.down===!0&&h<v&&d>0||n.direction.left===!0&&h>v&&u<0||n.direction.right===!0&&h>v&&u>0?(n.event.detected=!0,n.move(a)):n.end(a,!0))},end(a,l){if(n.event!==void 0){if(qt(n,"temp"),Re.is.firefox===!0&&Wo(e,!1),l===!0)n.styleCleanup!==void 0&&n.styleCleanup(),n.event.detected!==!0&&n.initialEvent!==void 0&&n.initialEvent.target.dispatchEvent(n.initialEvent.event);else if(n.event.detected===!0){n.event.isFirst===!0&&n.handler(Nl(a===void 0?n.lastEvt:a,n).payload);let{payload:u}=Nl(a===void 0?n.lastEvt:a,n,!0),d=()=>{n.handler(u)};n.styleCleanup!==void 0?n.styleCleanup(d):d()}n.event=void 0,n.initialEvent=void 0,n.lastEvt=void 0}}};if(e.__qtouchpan=n,o.mouse===!0){let a=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(n,"main",[[e,"mousedown","mouseStart",`passive${a}`]])}Re.has.touch===!0&&dt(n,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchpan;o!==void 0&&(t.oldValue!==t.value&&(typeof value!="function"&&o.end(),o.handler=t.value),o.direction=br(t.modifiers))},beforeUnmount(e){let t=e.__qtouchpan;t!==void 0&&(t.event!==void 0&&t.end(),qt(t,"main"),qt(t,"temp"),Re.is.firefox===!0&&Wo(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchpan)}});var js="q-slider__marker-labels",bg=e=>({value:e}),yg=({marker:e})=>i("div",{key:e.value,style:e.style,class:e.classes},e.label),ii=[34,37,40,33,39,38],la={..._e,...kt,min:{type:Number,default:0},max:{type:Number,default:100},innerMin:Number,innerMax:Number,step:{type:Number,default:1,validator:e=>e>=0},snap:Boolean,vertical:Boolean,reverse:Boolean,color:String,markerLabelsClass:String,label:Boolean,labelColor:String,labelTextColor:String,labelAlways:Boolean,switchLabelSide:Boolean,markers:[Boolean,Number],markerLabels:[Boolean,Array,Object,Function],switchMarkerLabelsSide:Boolean,trackImg:String,trackColor:String,innerTrackImg:String,innerTrackColor:String,selectionColor:String,selectionImg:String,thumbSize:{type:String,default:"20px"},trackSize:{type:String,default:"4px"},disable:Boolean,readonly:Boolean,dense:Boolean,tabindex:[String,Number],thumbColor:String,thumbPath:{type:String,default:"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"}},ua=["pan","update:modelValue","change"];function sa({updateValue:e,updatePosition:t,getDragging:o,formAttrs:r}){let{props:n,emit:a,slots:l,proxy:{$q:u}}=U(),d=Ce(n,u),f=Xt(r),c=q(!1),h=q(!1),v=q(!1),m=q(!1),g=s(()=>n.vertical===!0?"--v":"--h"),x=s(()=>"-"+(n.switchLabelSide===!0?"switched":"standard")),y=s(()=>n.vertical===!0?n.reverse===!0:n.reverse!==(u.lang.rtl===!0)),k=s(()=>isNaN(n.innerMin)===!0||n.innerMin<n.min?n.min:n.innerMin),S=s(()=>isNaN(n.innerMax)===!0||n.innerMax>n.max?n.max:n.innerMax),b=s(()=>n.disable!==!0&&n.readonly!==!0&&k.value<S.value),p=s(()=>{if(n.step===0)return ie=>ie;let J=(String(n.step).trim().split(".")[1]||"").length;return ie=>parseFloat(ie.toFixed(J))}),_=s(()=>n.step===0?1:n.step),$=s(()=>b.value===!0?n.tabindex||0:-1),L=s(()=>n.max-n.min),V=s(()=>S.value-k.value),F=s(()=>Me(k.value)),E=s(()=>Me(S.value)),D=s(()=>n.vertical===!0?y.value===!0?"bottom":"top":y.value===!0?"right":"left"),M=s(()=>n.vertical===!0?"height":"width"),C=s(()=>n.vertical===!0?"width":"height"),T=s(()=>n.vertical===!0?"vertical":"horizontal"),G=s(()=>{let J={role:"slider","aria-valuemin":k.value,"aria-valuemax":S.value,"aria-orientation":T.value,"data-step":n.step};return n.disable===!0?J["aria-disabled"]="true":n.readonly===!0&&(J["aria-readonly"]="true"),J}),X=s(()=>`q-slider q-slider${g.value} q-slider--${c.value===!0?"":"in"}active inline no-wrap `+(n.vertical===!0?"row":"column")+(n.disable===!0?" disabled":" q-slider--enabled"+(b.value===!0?" q-slider--editable":""))+(v.value==="both"?" q-slider--focus":"")+(n.label||n.labelAlways===!0?" q-slider--label":"")+(n.labelAlways===!0?" q-slider--label-always":"")+(d.value===!0?" q-slider--dark":"")+(n.dense===!0?" q-slider--dense q-slider--dense"+g.value:""));function B(J){let ie="q-slider__"+J;return`${ie} ${ie}${g.value} ${ie}${g.value}${x.value}`}function O(J){let ie="q-slider__"+J;return`${ie} ${ie}${g.value}`}let K=s(()=>{let J=n.selectionColor||n.color;return"q-slider__selection absolute"+(J!==void 0?` text-${J}`:"")}),ce=s(()=>O("markers")+" absolute overflow-hidden"),H=s(()=>O("track-container")),w=s(()=>B("pin")),W=s(()=>B("label")),j=s(()=>B("text-container")),le=s(()=>B("marker-labels-container")+(n.markerLabelsClass!==void 0?` ${n.markerLabelsClass}`:"")),R=s(()=>"q-slider__track relative-position no-outline"+(n.trackColor!==void 0?` bg-${n.trackColor}`:"")),I=s(()=>{let J={[C.value]:n.trackSize};return n.trackImg!==void 0&&(J.backgroundImage=`url(${n.trackImg}) !important`),J}),ae=s(()=>"q-slider__inner absolute"+(n.innerTrackColor!==void 0?` bg-${n.innerTrackColor}`:"")),Q=s(()=>{let J=E.value-F.value,ie={[D.value]:`${100*F.value}%`,[M.value]:J===0?"2px":`${100*J}%`};return n.innerTrackImg!==void 0&&(ie.backgroundImage=`url(${n.innerTrackImg}) !important`),ie});function me(J){let{min:ie,max:Ae,step:Ue}=n,ke=ie+J*(Ae-ie);if(Ue>0){let tt=(ke-k.value)%Ue;ke+=(Math.abs(tt)>=Ue/2?(tt<0?-1:1)*Ue:0)-tt}return ke=p.value(ke),ot(ke,k.value,S.value)}function Me(J){return L.value===0?0:(J-n.min)/L.value}function Z(J,ie){let Ae=_t(J),Ue=n.vertical===!0?ot((Ae.top-ie.top)/ie.height,0,1):ot((Ae.left-ie.left)/ie.width,0,1);return ot(y.value===!0?1-Ue:Ue,F.value,E.value)}let de=s(()=>fo(n.markers)===!0?n.markers:_.value),ge=s(()=>{let J=[],ie=de.value,Ae=n.max,Ue=n.min;do J.push(Ue),Ue+=ie;while(Ue<Ae);return J.push(Ae),J}),we=s(()=>{let J=` ${js}${g.value}-`;return js+`${J}${n.switchMarkerLabelsSide===!0?"switched":"standard"}${J}${y.value===!0?"rtl":"ltr"}`}),Le=s(()=>n.markerLabels===!1?null:He(n.markerLabels).map((J,ie)=>({index:ie,value:J.value,label:J.label||J.value,classes:we.value+(J.classes!==void 0?" "+J.classes:""),style:{...Qe(J.value),...J.style||{}}}))),fe=s(()=>({markerList:Le.value,markerMap:ue.value,classes:we.value,getStyle:Qe})),Fe=s(()=>{let J=V.value===0?"2px":100*de.value/V.value;return{...Q.value,backgroundSize:n.vertical===!0?`2px ${J}%`:`${J}% 2px`}});function He(J){if(J===!1)return null;if(J===!0)return ge.value.map(bg);if(typeof J=="function")return ge.value.map(Ae=>{let Ue=J(Ae);return ct(Ue)===!0?{...Ue,value:Ae}:{value:Ae,label:Ue}});let ie=({value:Ae})=>Ae>=n.min&&Ae<=n.max;return Array.isArray(J)===!0?J.map(Ae=>ct(Ae)===!0?Ae:{value:Ae}).filter(ie):Object.keys(J).map(Ae=>{let Ue=J[Ae],ke=Number(Ae);return ct(Ue)===!0?{...Ue,value:ke}:{value:ke,label:Ue}}).filter(ie)}function Qe(J){return{[D.value]:`${100*(J-n.min)/L.value}%`}}let ue=s(()=>{if(n.markerLabels===!1)return null;let J={};return Le.value.forEach(ie=>{J[ie.value]=ie}),J});function ve(){if(l["marker-label-group"]!==void 0)return l["marker-label-group"](fe.value);let J=l["marker-label"]||yg;return Le.value.map(ie=>J({marker:ie,...fe.value}))}let ee=s(()=>[[Rt,be,void 0,{[T.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]);function be(J){J.isFinal===!0?(m.value!==void 0&&(t(J.evt),J.touch===!0&&e(!0),m.value=void 0,a("pan","end")),c.value=!1,v.value=!1):J.isFirst===!0?(m.value=o(J.evt),t(J.evt),e(),c.value=!0,a("pan","start")):(t(J.evt),e())}function De(){v.value=!1}function ze(J){t(J,o(J)),e(),h.value=!0,c.value=!0,document.addEventListener("mouseup",Ve,!0)}function Ve(){h.value=!1,c.value=!1,e(!0),De(),document.removeEventListener("mouseup",Ve,!0)}function at(J){t(J,o(J)),e(!0)}function mt(J){ii.includes(J.keyCode)&&e(!0)}function vt(J){if(n.vertical===!0)return null;let ie=u.lang.rtl!==n.reverse?1-J:J;return{transform:`translateX(calc(${2*ie-1} * ${n.thumbSize} / 2 + ${50-100*ie}%))`}}function oe(J){let ie=s(()=>h.value===!1&&(v.value===J.focusValue||v.value==="both")?" q-slider--focus":""),Ae=s(()=>`q-slider__thumb q-slider__thumb${g.value} q-slider__thumb${g.value}-${y.value===!0?"rtl":"ltr"} absolute non-selectable`+ie.value+(J.thumbColor.value!==void 0?` text-${J.thumbColor.value}`:"")),Ue=s(()=>({width:n.thumbSize,height:n.thumbSize,[D.value]:`${100*J.ratio.value}%`,zIndex:v.value===J.focusValue?2:void 0})),ke=s(()=>J.labelColor.value!==void 0?` text-${J.labelColor.value}`:""),tt=s(()=>vt(J.ratio.value)),pt=s(()=>"q-slider__text"+(J.labelTextColor.value!==void 0?` text-${J.labelTextColor.value}`:""));return()=>{let yt=[i("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[i("path",{d:n.thumbPath})]),i("div",{class:"q-slider__focus-ring fit"})];return(n.label===!0||n.labelAlways===!0)&&(yt.push(i("div",{class:w.value+" absolute fit no-pointer-events"+ke.value},[i("div",{class:W.value,style:{minWidth:n.thumbSize}},[i("div",{class:j.value,style:tt.value},[i("span",{class:pt.value},J.label.value)])])])),n.name!==void 0&&n.disable!==!0&&f(yt,"push")),i("div",{class:Ae.value,style:Ue.value,...J.getNodeData()},yt)}}function se(J,ie,Ae,Ue){let ke=[];n.innerTrackColor!=="transparent"&&ke.push(i("div",{key:"inner",class:ae.value,style:Q.value})),n.selectionColor!=="transparent"&&ke.push(i("div",{key:"selection",class:K.value,style:J.value})),n.markers!==!1&&ke.push(i("div",{key:"marker",class:ce.value,style:Fe.value})),Ue(ke);let tt=[Mt("div",{key:"trackC",class:H.value,tabindex:ie.value,...Ae.value},[i("div",{class:R.value,style:I.value},ke)],"slide",b.value,()=>ee.value)];if(n.markerLabels!==!1){let pt=n.switchMarkerLabelsSide===!0?"unshift":"push";tt[pt](i("div",{key:"markerL",class:le.value},ve()))}return tt}return Se(()=>{document.removeEventListener("mouseup",Ve,!0)}),{state:{active:c,focus:v,preventFocus:h,dragging:m,editable:b,classes:X,tabindex:$,attributes:G,roundValueFn:p,keyStep:_,trackLen:L,innerMin:k,innerMinRatio:F,innerMax:S,innerMaxRatio:E,positionProp:D,sizeProp:M,isReversed:y},methods:{onActivate:ze,onMobileClick:at,onBlur:De,onKeyup:mt,getContent:se,getThumbRenderFn:oe,convertRatioToModel:me,convertModelToRatio:Me,getDraggingRatio:Z}}}var Sg=()=>({}),Jo=A({name:"QSlider",props:{...la,modelValue:{required:!0,default:null,validator:e=>typeof e=="number"||e===null},labelValue:[String,Number]},emits:ua,setup(e,{emit:t}){let{proxy:{$q:o}}=U(),{state:r,methods:n}=sa({updateValue:g,updatePosition:y,getDragging:x,formAttrs:Vo(e)}),a=q(null),l=q(0),u=q(0);function d(){u.value=e.modelValue===null?r.innerMin.value:ot(e.modelValue,r.innerMin.value,r.innerMax.value)}Y(()=>`${e.modelValue}|${r.innerMin.value}|${r.innerMax.value}`,d),d();let f=s(()=>n.convertModelToRatio(u.value)),c=s(()=>r.active.value===!0?l.value:f.value),h=s(()=>{let b={[r.positionProp.value]:`${100*r.innerMinRatio.value}%`,[r.sizeProp.value]:`${100*(c.value-r.innerMinRatio.value)}%`};return e.selectionImg!==void 0&&(b.backgroundImage=`url(${e.selectionImg}) !important`),b}),v=n.getThumbRenderFn({focusValue:!0,getNodeData:Sg,ratio:c,label:s(()=>e.labelValue!==void 0?e.labelValue:u.value),thumbColor:s(()=>e.thumbColor||e.color),labelColor:s(()=>e.labelColor),labelTextColor:s(()=>e.labelTextColor)}),m=s(()=>r.editable.value!==!0?{}:o.platform.is.mobile===!0?{onClick:n.onMobileClick}:{onMousedown:n.onActivate,onFocus:k,onBlur:n.onBlur,onKeydown:S,onKeyup:n.onKeyup});function g(b){u.value!==e.modelValue&&t("update:modelValue",u.value),b===!0&&t("change",u.value)}function x(){return a.value.getBoundingClientRect()}function y(b,p=r.dragging.value){let _=n.getDraggingRatio(b,p);u.value=n.convertRatioToModel(_),l.value=e.snap!==!0||e.step===0?_:n.convertModelToRatio(u.value)}function k(){r.focus.value=!0}function S(b){if(!ii.includes(b.keyCode))return;qe(b);let p=([34,33].includes(b.keyCode)?10:1)*r.keyStep.value,_=([34,37,40].includes(b.keyCode)?-1:1)*(r.isReversed.value===!0?-1:1)*(e.vertical===!0?-1:1)*p;u.value=ot(r.roundValueFn.value(u.value+_),r.innerMin.value,r.innerMax.value),g()}return()=>{let b=n.getContent(h,r.tabindex,m,p=>{p.push(v())});return i("div",{ref:a,class:r.classes.value+(e.modelValue===null?" q-slider--no-value":""),...r.attributes.value,"aria-valuenow":e.modelValue},b)}}});function Rr(){let e=q(!xt.value);return e.value===!1&&Ne(()=>{e.value=!0}),{isHydrated:e}}var Ks=typeof ResizeObserver<"u",Us=Ks===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},oo=A({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let o=null,r,n={width:-1,height:-1};function a(d){d===!0||e.debounce===0||e.debounce==="0"?l():o===null&&(o=setTimeout(l,e.debounce))}function l(){if(o!==null&&(clearTimeout(o),o=null),r){let{offsetWidth:d,offsetHeight:f}=r;(d!==n.width||f!==n.height)&&(n={width:d,height:f},t("resize",n))}}let{proxy:u}=U();if(u.trigger=a,Ks===!0){let d,f=c=>{r=u.$el.parentNode,r?(d=new ResizeObserver(a),d.observe(r),l()):c!==!0&&$e(()=>{f(!0)})};return Ne(()=>{f()}),Se(()=>{o!==null&&clearTimeout(o),d!==void 0&&(d.disconnect!==void 0?d.disconnect():r&&d.unobserve(r))}),We}else{let c=function(){o!==null&&(clearTimeout(o),o=null),f!==void 0&&(f.removeEventListener!==void 0&&f.removeEventListener("resize",a,et.passive),f=void 0)},h=function(){c(),r&&r.contentDocument&&(f=r.contentDocument.defaultView,f.addEventListener("resize",a,et.passive),l())},{isHydrated:d}=Rr(),f;return Ne(()=>{$e(()=>{r=u.$el,r&&h()})}),Se(c),()=>{if(d.value===!0)return i("object",{class:"q--avoid-card-border",style:Us.style,tabindex:-1,type:"text/html",data:Us.url,"aria-hidden":"true",onLoad:h})}}}});var An=!1;{let e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});let t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,An=e.scrollLeft>=0,e.remove()}function xg(e,t,o){let r=o===!0?["left","right"]:["top","bottom"];return`absolute-${t===!0?r[0]:r[1]}${e?` text-${e}`:""}`}var _g=["left","center","right","justify"],ai=A({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>_g.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,{registerTick:a}=yo(),{registerTick:l}=yo(),{registerTick:u}=yo(),{registerTimeout:d,removeTimeout:f}=Yt(),{registerTimeout:c,removeTimeout:h}=Yt(),v=q(null),m=q(null),g=q(e.modelValue),x=q(!1),y=q(!0),k=q(!1),S=q(!1),b=[],p=q(0),_=q(!1),$=null,L=null,V,F=s(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:xg(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),E=s(()=>{let ue=p.value,ve=g.value;for(let ee=0;ee<ue;ee++)if(b[ee].name.value===ve)return!0;return!1}),D=s(()=>`q-tabs__content--align-${x.value===!0?"left":S.value===!0?"justify":e.align}`),M=s(()=>`q-tabs row no-wrap items-center q-tabs--${x.value===!0?"":"not-"}scrollable q-tabs--${e.vertical===!0?"vertical":"horizontal"} q-tabs__arrows--${e.outsideArrows===!0?"outside":"inside"} q-tabs--mobile-with${e.mobileArrows===!0?"":"out"}-arrows`+(e.dense===!0?" q-tabs--dense":"")+(e.shrink===!0?" col-shrink":"")+(e.stretch===!0?" self-stretch":"")),C=s(()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+D.value+(e.contentClass!==void 0?` ${e.contentClass}`:"")),T=s(()=>e.vertical===!0?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}),G=s(()=>e.vertical!==!0&&n.lang.rtl===!0),X=s(()=>An===!1&&G.value===!0);Y(G,w),Y(()=>e.modelValue,ue=>{B({name:ue,setCurrent:!0,skipEmit:!0})}),Y(()=>e.outsideArrows,O);function B({name:ue,setCurrent:ve,skipEmit:ee}){g.value!==ue&&(ee!==!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",ue),(ve===!0||e["onUpdate:modelValue"]===void 0)&&(ce(g.value,ue),g.value=ue))}function O(){a(()=>{K({width:v.value.offsetWidth,height:v.value.offsetHeight})})}function K(ue){if(T.value===void 0||m.value===null)return;let ve=ue[T.value.container],ee=Math.min(m.value[T.value.scroll],Array.prototype.reduce.call(m.value.children,(De,ze)=>De+(ze[T.value.content]||0),0)),be=ve>0&&ee>ve;x.value=be,be===!0&&l(w),S.value=ve<parseInt(e.breakpoint,10)}function ce(ue,ve){let ee=ue!=null&&ue!==""?b.find(De=>De.name.value===ue):null,be=ve!=null&&ve!==""?b.find(De=>De.name.value===ve):null;if(ee&&be){let De=ee.tabIndicatorRef.value,ze=be.tabIndicatorRef.value;$!==null&&(clearTimeout($),$=null),De.style.transition="none",De.style.transform="none",ze.style.transition="none",ze.style.transform="none";let Ve=De.getBoundingClientRect(),at=ze.getBoundingClientRect();ze.style.transform=e.vertical===!0?`translate3d(0,${Ve.top-at.top}px,0) scale3d(1,${at.height?Ve.height/at.height:1},1)`:`translate3d(${Ve.left-at.left}px,0,0) scale3d(${at.width?Ve.width/at.width:1},1,1)`,u(()=>{$=setTimeout(()=>{$=null,ze.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",ze.style.transform="none"},70)})}be&&x.value===!0&&H(be.rootRef.value)}function H(ue){let{left:ve,width:ee,top:be,height:De}=m.value.getBoundingClientRect(),ze=ue.getBoundingClientRect(),Ve=e.vertical===!0?ze.top-be:ze.left-ve;if(Ve<0){m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.floor(Ve),w();return}Ve+=e.vertical===!0?ze.height-De:ze.width-ee,Ve>0&&(m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.ceil(Ve),w())}function w(){let ue=m.value;if(ue===null)return;let ve=ue.getBoundingClientRect(),ee=e.vertical===!0?ue.scrollTop:Math.abs(ue.scrollLeft);G.value===!0?(y.value=Math.ceil(ee+ve.width)<ue.scrollWidth-1,k.value=ee>0):(y.value=ee>0,k.value=e.vertical===!0?Math.ceil(ee+ve.height)<ue.scrollHeight:Math.ceil(ee+ve.width)<ue.scrollWidth)}function W(ue){L!==null&&clearInterval(L),L=setInterval(()=>{Q(ue)===!0&&R()},5)}function j(){W(X.value===!0?Number.MAX_SAFE_INTEGER:0)}function le(){W(X.value===!0?0:Number.MAX_SAFE_INTEGER)}function R(){L!==null&&(clearInterval(L),L=null)}function I(ue,ve){let ee=Array.prototype.filter.call(m.value.children,at=>at===ve||at.matches&&at.matches(".q-tab.q-focusable")===!0),be=ee.length;if(be===0)return;if(ue===36)return H(ee[0]),ee[0].focus(),!0;if(ue===35)return H(ee[be-1]),ee[be-1].focus(),!0;let De=ue===(e.vertical===!0?38:37),ze=ue===(e.vertical===!0?40:39),Ve=De===!0?-1:ze===!0?1:void 0;if(Ve!==void 0){let at=G.value===!0?-1:1,mt=ee.indexOf(ve)+Ve*at;return mt>=0&&mt<be&&(H(ee[mt]),ee[mt].focus({preventScroll:!0})),!0}}let ae=s(()=>X.value===!0?{get:ue=>Math.abs(ue.scrollLeft),set:(ue,ve)=>{ue.scrollLeft=-ve}}:e.vertical===!0?{get:ue=>ue.scrollTop,set:(ue,ve)=>{ue.scrollTop=ve}}:{get:ue=>ue.scrollLeft,set:(ue,ve)=>{ue.scrollLeft=ve}});function Q(ue){let ve=m.value,{get:ee,set:be}=ae.value,De=!1,ze=ee(ve),Ve=ue<ze?-1:1;return ze+=Ve*5,ze<0?(De=!0,ze=0):(Ve===-1&&ze<=ue||Ve===1&&ze>=ue)&&(De=!0,ze=ue),be(ve,ze),w(),De}function me(ue,ve){for(let ee in ue)if(ue[ee]!==ve[ee])return!1;return!0}function Me(){let ue=null,ve={matchedLen:0,queryDiff:9999,hrefLen:0},ee=b.filter(Ve=>Ve.routeData!==void 0&&Ve.routeData.hasRouterLink.value===!0),{hash:be,query:De}=r.$route,ze=Object.keys(De).length;for(let Ve of ee){let at=Ve.routeData.exact.value===!0;if(Ve.routeData[at===!0?"linkIsExactActive":"linkIsActive"].value!==!0)continue;let{hash:mt,query:vt,matched:oe,href:se}=Ve.routeData.resolvedLink.value,J=Object.keys(vt).length;if(at===!0){if(mt!==be||J!==ze||me(De,vt)===!1)continue;ue=Ve.name.value;break}if(mt!==""&&mt!==be||J!==0&&me(vt,De)===!1)continue;let ie={matchedLen:oe.length,queryDiff:ze-J,hrefLen:se.length-mt.length};if(ie.matchedLen>ve.matchedLen){ue=Ve.name.value,ve=ie;continue}else if(ie.matchedLen!==ve.matchedLen)continue;if(ie.queryDiff<ve.queryDiff)ue=Ve.name.value,ve=ie;else if(ie.queryDiff!==ve.queryDiff)continue;ie.hrefLen>ve.hrefLen&&(ue=Ve.name.value,ve=ie)}ue===null&&b.some(Ve=>Ve.routeData===void 0&&Ve.name.value===g.value)===!0||B({name:ue,setCurrent:!0})}function Z(ue){if(f(),_.value!==!0&&v.value!==null&&ue.target&&typeof ue.target.closest=="function"){let ve=ue.target.closest(".q-tab");ve&&v.value.contains(ve)===!0&&(_.value=!0,x.value===!0&&H(ve))}}function de(){d(()=>{_.value=!1},30)}function ge(){Fe.avoidRouteWatcher===!1?c(Me):h()}function we(){if(V===void 0){let ue=Y(()=>r.$route.fullPath,ge);V=()=>{ue(),V=void 0}}}function Le(ue){b.push(ue),p.value++,O(),ue.routeData===void 0||r.$route===void 0?c(()=>{if(x.value===!0){let ve=g.value,ee=ve!=null&&ve!==""?b.find(be=>be.name.value===ve):null;ee&&H(ee.rootRef.value)}}):(we(),ue.routeData.hasRouterLink.value===!0&&ge())}function fe(ue){b.splice(b.indexOf(ue),1),p.value--,O(),V!==void 0&&ue.routeData!==void 0&&(b.every(ve=>ve.routeData===void 0)===!0&&V(),ge())}let Fe={currentModel:g,tabProps:F,hasFocus:_,hasActiveTab:E,registerTab:Le,unregisterTab:fe,verifyRouteModel:ge,updateModel:B,onKbdNavigate:I,avoidRouteWatcher:!1};Nt(Bi,Fe);function He(){$!==null&&clearTimeout($),R(),V!==void 0&&V()}let Qe;return Se(He),Pt(()=>{Qe=V!==void 0,He()}),Qt(()=>{Qe===!0&&we(),O()}),()=>i("div",{ref:v,class:M.value,role:"tablist",onFocusin:Z,onFocusout:de},[i(oo,{onResize:K}),i("div",{ref:m,class:C.value,onScroll:w},re(t.default)),i(Pe,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(y.value===!0?"":" q-tabs__arrow--faded"),name:e.leftIcon||n.iconSet.tabs[e.vertical===!0?"up":"left"],onMousedownPassive:j,onTouchstartPassive:j,onMouseupPassive:R,onMouseleavePassive:R,onTouchendPassive:R}),i(Pe,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(k.value===!0?"":" q-tabs__arrow--faded"),name:e.rightIcon||n.iconSet.tabs[e.vertical===!0?"down":"right"],onMousedownPassive:le,onTouchstartPassive:le,onMouseupPassive:R,onMouseleavePassive:R,onTouchendPassive:R})])}});var Cg=0,ca=["click","keydown"],da={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${Cg++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function fa(e,t,o,r){let n=ht(Bi,Je);if(n===Je)return console.error("QTab/QRouteTab component needs to be child of QTabs"),Je;let{proxy:a}=U(),l=q(null),u=q(null),d=q(null),f=s(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),c=s(()=>n.currentModel.value===e.name),h=s(()=>"q-tab relative-position self-stretch flex flex-center text-center"+(c.value===!0?" q-tab--active"+(n.tabProps.value.activeClass?" "+n.tabProps.value.activeClass:"")+(n.tabProps.value.activeColor?` text-${n.tabProps.value.activeColor}`:"")+(n.tabProps.value.activeBgColor?` bg-${n.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&n.tabProps.value.inlineLabel===!1?" q-tab--full":"")+(e.noCaps===!0||n.tabProps.value.noCaps===!0?" q-tab--no-caps":"")+(e.disable===!0?" disabled":" q-focusable q-hoverable cursor-pointer")+(r!==void 0?r.linkClass.value:"")),v=s(()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(n.tabProps.value.inlineLabel===!0?"row no-wrap q-tab__content--inline":"column")+(e.contentClass!==void 0?` ${e.contentClass}`:"")),m=s(()=>e.disable===!0||n.hasFocus.value===!0||c.value===!1&&n.hasActiveTab.value===!0?-1:e.tabindex||0);function g(b,p){if(p!==!0&&l.value!==null&&l.value.focus(),e.disable===!0){r!==void 0&&r.hasRouterLink.value===!0&&qe(b);return}if(r===void 0){n.updateModel({name:e.name}),o("click",b);return}if(r.hasRouterLink.value===!0){let _=($={})=>{let L,V=$.to===void 0||Kt($.to,e.to)===!0?n.avoidRouteWatcher=Fo():null;return r.navigateToRouterLink(b,{...$,returnRouterError:!0}).catch(F=>{L=F}).then(F=>{if(V===n.avoidRouteWatcher&&(n.avoidRouteWatcher=!1,L===void 0&&(F===void 0||F.message!==void 0&&F.message.startsWith("Avoided redundant navigation")===!0)&&n.updateModel({name:e.name})),$.returnRouterError===!0)return L!==void 0?Promise.reject(L):F})};o("click",b,_),b.defaultPrevented!==!0&&_();return}o("click",b)}function x(b){Tt(b,[13,32])?g(b,!0):ro(b)!==!0&&b.keyCode>=35&&b.keyCode<=40&&b.altKey!==!0&&b.metaKey!==!0&&n.onKbdNavigate(b.keyCode,a.$el)===!0&&qe(b),o("keydown",b)}function y(){let b=n.tabProps.value.narrowIndicator,p=[],_=i("div",{ref:d,class:["q-tab__indicator",n.tabProps.value.indicatorClass]});e.icon!==void 0&&p.push(i(Pe,{class:"q-tab__icon",name:e.icon})),e.label!==void 0&&p.push(i("div",{class:"q-tab__label"},e.label)),e.alert!==!1&&p.push(e.alertIcon!==void 0?i(Pe,{class:"q-tab__alert-icon",color:e.alert!==!0?e.alert:void 0,name:e.alertIcon}):i("div",{class:"q-tab__alert"+(e.alert!==!0?` text-${e.alert}`:"")})),b===!0&&p.push(_);let $=[i("div",{class:"q-focus-helper",tabindex:-1,ref:l}),i("div",{class:v.value},Ge(t.default,p))];return b===!1&&$.push(_),$}let k={name:s(()=>e.name),rootRef:u,tabIndicatorRef:d,routeData:r};Se(()=>{n.unregisterTab(k)}),Ne(()=>{n.registerTab(k)});function S(b,p){let _={ref:u,class:h.value,tabindex:m.value,role:"tab","aria-selected":c.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:g,onKeydown:x,...p};return Et(i(b,_,y()),[[$o,f.value]])}return{renderTab:S,$tabs:n}}var cn=A({name:"QTab",props:da,emits:ca,setup(e,{slots:t,emit:o}){let{renderTab:r}=fa(e,t,o);return()=>r("div")}});var ma=A({name:"QTabPanels",props:{...xr,..._e},emits:_r,setup(e,{slots:t}){let o=U(),r=Ce(e,o.proxy.$q),{updatePanelsList:n,getPanelContent:a,panelDirectives:l}=Cr(),u=s(()=>"q-tab-panels q-panel-parent"+(r.value===!0?" q-tab-panels--dark q-dark":""));return()=>(n(t),Mt("div",{class:u.value},a(),"pan",e.swipeable,()=>l.value))}});var Pr=A({name:"QTabPanel",props:Sr,setup(e,{slots:t}){return()=>i("div",{class:"q-tab-panel",role:"tabpanel"},re(t.default))}});var Ws=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Ys=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Xs=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,va=/^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])\)$/,ga=/^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)\)$/,$n={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=>Ws.test(e),hexaColor:e=>Ys.test(e),hexOrHexaColor:e=>Xs.test(e),rgbColor:e=>va.test(e),rgbaColor:e=>ga.test(e),rgbOrRgbaColor:e=>va.test(e)||ga.test(e),hexOrRgbColor:e=>Ws.test(e)||va.test(e),hexaOrRgbaColor:e=>Ys.test(e)||ga.test(e),anyColor:e=>Xs.test(e)||va.test(e)||ga.test(e)},Gs={testPattern:$n};var wg=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function En({r:e,g:t,b:o,a:r}){let n=r!==void 0;if(e=Math.round(e),t=Math.round(t),o=Math.round(o),e>255||t>255||o>255||n&&r>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return r=n?(Math.round(255*r/100)|256).toString(16).slice(1):"","#"+(o|t<<8|e<<16|1<<24).toString(16).slice(1)+r}function jl({r:e,g:t,b:o,a:r}){return`rgb${r!==void 0?"a":""}(${e},${t},${o}${r!==void 0?","+r/100:""})`}function ha(e){if(typeof e!="string")throw new TypeError("Expected a string");e=e.replace(/^#/,""),e.length===3?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:e.length===4&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);let t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((t&255)/2.55)}:{r:t>>16,g:t>>8&255,b:t&255}}function pa({h:e,s:t,v:o,a:r}){let n,a,l;t=t/100,o=o/100,e=e/360;let u=Math.floor(e*6),d=e*6-u,f=o*(1-t),c=o*(1-d*t),h=o*(1-(1-d)*t);switch(u%6){case 0:n=o,a=h,l=f;break;case 1:n=c,a=o,l=f;break;case 2:n=f,a=o,l=h;break;case 3:n=f,a=c,l=o;break;case 4:n=h,a=f,l=o;break;case 5:n=o,a=f,l=c;break}return{r:Math.round(n*255),g:Math.round(a*255),b:Math.round(l*255),a:r}}function li({r:e,g:t,b:o,a:r}){let n=Math.max(e,t,o),a=Math.min(e,t,o),l=n-a,u=n===0?0:l/n,d=n/255,f;switch(n){case a:f=0;break;case e:f=t-o+l*(t<o?6:0),f/=6*l;break;case t:f=o-e+l*2,f/=6*l;break;case o:f=e-t+l*4,f/=6*l;break}return{h:Math.round(f*360),s:Math.round(u*100),v:Math.round(d*100),a:r}}function Oo(e){if(typeof e!="string")throw new TypeError("Expected a string");let t=e.replace(/ /g,""),o=wg.exec(t);if(o===null)return ha(t);let r={r:Math.min(255,parseInt(o[2],10)),g:Math.min(255,parseInt(o[3],10)),b:Math.min(255,parseInt(o[4],10))};if(o[1]){let n=parseFloat(o[5]);r.a=Math.min(1,isNaN(n)===!0?1:n)*100}return r}function kg(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(typeof t!="number")throw new TypeError("Expected a numeric percent");let o=Oo(e),r=t<0?0:255,n=Math.abs(t)/100,a=o.r,l=o.g,u=o.b;return"#"+(16777216+(Math.round((r-a)*n)+a)*65536+(Math.round((r-l)*n)+l)*256+(Math.round((r-u)*n)+u)).toString(16).slice(1)}function Ul(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?Oo(e):e,o=t.r/255,r=t.g/255,n=t.b/255,a=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),l=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),u=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*a+.7152*l+.0722*u}function qg(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?Oo(e):e;return(t.r*299+t.g*587+t.b*114)/1e3}function Tg(e,t){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as fgColor");if(typeof t!="string"&&(!t||t.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as bgColor");let o=typeof e=="string"?Oo(e):e,r=o.r/255,n=o.g/255,a=o.b/255,l=o.a!==void 0?o.a/100:1,u=typeof t=="string"?Oo(t):t,d=u.r/255,f=u.g/255,c=u.b/255,h=u.a!==void 0?u.a/100:1,v=l+h*(1-l),m=Math.round((r*l+d*h*(1-l))/v*255),g=Math.round((n*l+f*h*(1-l))/v*255),x=Math.round((a*l+c*h*(1-l))/v*255),y={r:m,g,b:x,a:Math.round(v*100)};return typeof e=="string"?En(y):y}function Mg(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(t===void 0||t<-1||t>1)throw new TypeError("Expected offset to be between -1 and 1");let{r:o,g:r,b:n,a}=Oo(e),l=a!==void 0?a/100:0;return En({r:o,g:r,b:n,a:Math.round(Math.min(1,Math.max(0,l+t))*100)})}function Rg(e){if(typeof e!="string")throw new TypeError("Expected a string as color");let t=document.createElement("div");t.className=`text-${e} invisible fixed no-pointer-events`,document.body.appendChild(t);let o=getComputedStyle(t).getPropertyValue("color");return t.remove(),En(Oo(o))}var Zs={rgbToHex:En,hexToRgb:ha,hsvToRgb:pa,rgbToHsv:li,textToRgb:Oo,lighten:kg,luminosity:Ul,brightness:qg,blend:Tg,changeAlpha:Mg,getPaletteColor:Rg};var Pg=["rgb(255,204,204)","rgb(255,230,204)","rgb(255,255,204)","rgb(204,255,204)","rgb(204,255,230)","rgb(204,255,255)","rgb(204,230,255)","rgb(204,204,255)","rgb(230,204,255)","rgb(255,204,255)","rgb(255,153,153)","rgb(255,204,153)","rgb(255,255,153)","rgb(153,255,153)","rgb(153,255,204)","rgb(153,255,255)","rgb(153,204,255)","rgb(153,153,255)","rgb(204,153,255)","rgb(255,153,255)","rgb(255,102,102)","rgb(255,179,102)","rgb(255,255,102)","rgb(102,255,102)","rgb(102,255,179)","rgb(102,255,255)","rgb(102,179,255)","rgb(102,102,255)","rgb(179,102,255)","rgb(255,102,255)","rgb(255,51,51)","rgb(255,153,51)","rgb(255,255,51)","rgb(51,255,51)","rgb(51,255,153)","rgb(51,255,255)","rgb(51,153,255)","rgb(51,51,255)","rgb(153,51,255)","rgb(255,51,255)","rgb(255,0,0)","rgb(255,128,0)","rgb(255,255,0)","rgb(0,255,0)","rgb(0,255,128)","rgb(0,255,255)","rgb(0,128,255)","rgb(0,0,255)","rgb(128,0,255)","rgb(255,0,255)","rgb(245,0,0)","rgb(245,123,0)","rgb(245,245,0)","rgb(0,245,0)","rgb(0,245,123)","rgb(0,245,245)","rgb(0,123,245)","rgb(0,0,245)","rgb(123,0,245)","rgb(245,0,245)","rgb(214,0,0)","rgb(214,108,0)","rgb(214,214,0)","rgb(0,214,0)","rgb(0,214,108)","rgb(0,214,214)","rgb(0,108,214)","rgb(0,0,214)","rgb(108,0,214)","rgb(214,0,214)","rgb(163,0,0)","rgb(163,82,0)","rgb(163,163,0)","rgb(0,163,0)","rgb(0,163,82)","rgb(0,163,163)","rgb(0,82,163)","rgb(0,0,163)","rgb(82,0,163)","rgb(163,0,163)","rgb(92,0,0)","rgb(92,46,0)","rgb(92,92,0)","rgb(0,92,0)","rgb(0,92,46)","rgb(0,92,92)","rgb(0,46,92)","rgb(0,0,92)","rgb(46,0,92)","rgb(92,0,92)","rgb(255,255,255)","rgb(205,205,205)","rgb(178,178,178)","rgb(153,153,153)","rgb(127,127,127)","rgb(102,102,102)","rgb(76,76,76)","rgb(51,51,51)","rgb(25,25,25)","rgb(0,0,0)"],Js="M5 5 h10 v10 h-10 v-10 z",Ag="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==",ec=A({name:"QColor",props:{..._e,...kt,modelValue:String,defaultValue:String,defaultView:{type:String,default:"spectrum",validator:e=>["spectrum","tune","palette"].includes(e)},formatModel:{type:String,default:"auto",validator:e=>["auto","hex","rgb","hexa","rgba"].includes(e)},palette:Array,noHeader:Boolean,noHeaderTabs:Boolean,noFooter:Boolean,square:Boolean,flat:Boolean,bordered:Boolean,disable:Boolean,readonly:Boolean},emits:["update:modelValue","change"],setup(e,{emit:t}){let{proxy:o}=U(),{$q:r}=o,n=Ce(e,r),{getCache:a}=So(),l=q(null),u=q(null),d=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("hex")!==-1),f=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1),c=q(e.formatModel==="auto"?e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")?"hex":"rgb":e.formatModel.startsWith("hex")?"hex":"rgb"),h=q(e.defaultView),v=q(M(e.modelValue||e.defaultValue)),m=s(()=>e.disable!==!0&&e.readonly!==!0),g=s(()=>e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")),x=s(()=>d.value!==null?d.value:g.value),y=s(()=>({type:"hidden",name:e.name,value:v.value[x.value===!0?"hex":"rgb"]})),k=Xt(y),S=s(()=>f.value!==null?f.value:v.value.a!==void 0),b=s(()=>({backgroundColor:v.value.rgb||"#000"})),p=s(()=>`q-color-picker__header-content q-color-picker__header-content--${(v.value.a!==void 0&&v.value.a<65?!0:Ul(v.value)>.4)?"light":"dark"}`),_=s(()=>({background:`hsl(${v.value.h},100%,50%)`})),$=s(()=>({top:`${100-v.value.v}%`,[r.lang.rtl===!0?"right":"left"]:`${v.value.s}%`})),L=s(()=>e.palette!==void 0&&e.palette.length!==0?e.palette:Pg),V=s(()=>"q-color-picker"+(e.bordered===!0?" q-color-picker--bordered":"")+(e.square===!0?" q-color-picker--square no-border-radius":"")+(e.flat===!0?" q-color-picker--flat no-shadow":"")+(e.disable===!0?" disabled":"")+(n.value===!0?" q-color-picker--dark q-dark":"")),F=s(()=>e.disable===!0?{"aria-disabled":"true"}:{}),E=s(()=>[[Rt,K,void 0,{prevent:!0,stop:!0,mouse:!0}]]);Y(()=>e.modelValue,Z=>{let de=M(Z||e.defaultValue);de.hex!==v.value.hex&&(v.value=de)}),Y(()=>e.defaultValue,Z=>{if(!e.modelValue&&Z){let de=M(Z);de.hex!==v.value.hex&&(v.value=de)}});function D(Z,de){v.value.hex=En(Z),v.value.rgb=jl(Z),v.value.r=Z.r,v.value.g=Z.g,v.value.b=Z.b,v.value.a=Z.a;let ge=v.value[x.value===!0?"hex":"rgb"];t("update:modelValue",ge),de===!0&&t("change",ge)}function M(Z){let de=f.value!==void 0?f.value:e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1;if(typeof Z!="string"||Z.length===0||$n.anyColor(Z.replace(/ /g,""))!==!0)return{h:0,s:0,v:0,r:0,g:0,b:0,a:de===!0?100:void 0,hex:void 0,rgb:void 0};let ge=Oo(Z);return de===!0&&ge.a===void 0&&(ge.a=100),ge.hex=En(ge),ge.rgb=jl(ge),Object.assign(ge,li(ge))}function C(Z,de,ge){let we=l.value;if(we===null)return;let Le=we.clientWidth,fe=we.clientHeight,Fe=we.getBoundingClientRect(),He=Math.min(Le,Math.max(0,Z-Fe.left));r.lang.rtl===!0&&(He=Le-He);let Qe=Math.min(fe,Math.max(0,de-Fe.top)),ue=Math.round(100*He/Le),ve=Math.round(100*Math.max(0,Math.min(1,-(Qe/fe)+1))),ee=pa({h:v.value.h,s:ue,v:ve,a:S.value===!0?v.value.a:void 0});v.value.s=ue,v.value.v=ve,D(ee,ge)}function T(Z,de){let ge=Math.round(Z),we=pa({h:ge,s:v.value.s,v:v.value.v,a:S.value===!0?v.value.a:void 0});v.value.h=ge,D(we,de)}function G(Z){T(Z,!0)}function X(Z,de,ge,we,Le){if(we!==void 0&&it(we),!/^[0-9]+$/.test(Z)){Le===!0&&o.$forceUpdate();return}let fe=Math.floor(Number(Z));if(fe<0||fe>ge){Le===!0&&o.$forceUpdate();return}let Fe={r:de==="r"?fe:v.value.r,g:de==="g"?fe:v.value.g,b:de==="b"?fe:v.value.b,a:S.value===!0?de==="a"?fe:v.value.a:void 0};if(de!=="a"){let He=li(Fe);v.value.h=He.h,v.value.s=He.s,v.value.v=He.v}if(D(Fe,Le),we!==void 0&&Le!==!0&&we.target.selectionEnd!==void 0){let He=we.target.selectionEnd;$e(()=>{we.target.setSelectionRange(He,He)})}}function B(Z,de){let ge,we=Z.target.value;if(it(Z),c.value==="hex"){if(we.length!==(S.value===!0?9:7)||!/^#[0-9A-Fa-f]+$/.test(we))return!0;ge=ha(we)}else{let fe;if(we.endsWith(")"))if(S.value!==!0&&we.startsWith("rgb(")){if(fe=we.substring(4,we.length-1).split(",").map(Fe=>parseInt(Fe,10)),fe.length!==3||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(we))return!0}else if(S.value===!0&&we.startsWith("rgba(")){if(fe=we.substring(5,we.length-1).split(","),fe.length!==4||!/^rgba\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3},(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/.test(we))return!0;for(let He=0;He<3;He++){let Qe=parseInt(fe[He],10);if(Qe<0||Qe>255)return!0;fe[He]=Qe}let Fe=parseFloat(fe[3]);if(Fe<0||Fe>1)return!0;fe[3]=Fe}else return!0;else return!0;if(fe[0]<0||fe[0]>255||fe[1]<0||fe[1]>255||fe[2]<0||fe[2]>255||S.value===!0&&(fe[3]<0||fe[3]>1))return!0;ge={r:fe[0],g:fe[1],b:fe[2],a:S.value===!0?fe[3]*100:void 0}}let Le=li(ge);if(v.value.h=Le.h,v.value.s=Le.s,v.value.v=Le.v,D(ge,de),de!==!0){let fe=Z.target.selectionEnd;$e(()=>{Z.target.setSelectionRange(fe,fe)})}}function O(Z){let de=M(Z),ge={r:de.r,g:de.g,b:de.b,a:de.a};ge.a===void 0&&(ge.a=v.value.a),v.value.h=de.h,v.value.s=de.s,v.value.v=de.v,D(ge,!0)}function K(Z){Z.isFinal?C(Z.position.left,Z.position.top,!0):ce(Z)}let ce=Jn(Z=>{C(Z.position.left,Z.position.top)},20);function H(Z){C(Z.pageX-window.pageXOffset,Z.pageY-window.pageYOffset,!0)}function w(Z){C(Z.pageX-window.pageXOffset,Z.pageY-window.pageYOffset)}function W(Z){u.value!==null&&(u.value.$el.style.opacity=Z?1:0)}function j(Z){c.value=Z}function le(){let Z=[];return e.noHeaderTabs!==!0&&Z.push(i(ai,{class:"q-color-picker__header-tabs",modelValue:c.value,dense:!0,align:"justify","onUpdate:modelValue":j},()=>[i(cn,{label:"HEX"+(S.value===!0?"A":""),name:"hex",ripple:!1}),i(cn,{label:"RGB"+(S.value===!0?"A":""),name:"rgb",ripple:!1})])),Z.push(i("div",{class:"q-color-picker__header-banner row flex-center no-wrap"},[i("input",{class:"fit",value:v.value[c.value],...m.value!==!0?{readonly:!0}:{},...a("topIn",{onInput:de=>{W(B(de)===!0)},onChange:it,onBlur:de=>{B(de,!0)===!0&&o.$forceUpdate(),W(!1)}})}),i(Pe,{ref:u,class:"q-color-picker__error-icon absolute no-pointer-events",name:r.iconSet.type.negative})])),i("div",{class:"q-color-picker__header relative-position overflow-hidden"},[i("div",{class:"q-color-picker__header-bg absolute-full"}),i("div",{class:p.value,style:b.value},Z)])}function R(){return i(ma,{modelValue:h.value,animated:!0},()=>[i(Pr,{class:"q-color-picker__spectrum-tab overflow-hidden",name:"spectrum"},Q),i(Pr,{class:"q-pa-md q-color-picker__tune-tab",name:"tune"},me),i(Pr,{class:"q-color-picker__palette-tab",name:"palette"},Me)])}function I(Z){h.value=Z}function ae(){return i("div",{class:"q-color-picker__footer relative-position overflow-hidden"},[i(ai,{class:"absolute-full",modelValue:h.value,dense:!0,align:"justify","onUpdate:modelValue":I},()=>[i(cn,{icon:r.iconSet.colorPicker.spectrum,name:"spectrum",ripple:!1}),i(cn,{icon:r.iconSet.colorPicker.tune,name:"tune",ripple:!1}),i(cn,{icon:r.iconSet.colorPicker.palette,name:"palette",ripple:!1})])])}function Q(){let Z={ref:l,class:"q-color-picker__spectrum non-selectable relative-position cursor-pointer"+(m.value!==!0?" readonly":""),style:_.value,...m.value===!0?{onClick:H,onMousedown:w}:{}},de=[i("div",{style:{paddingBottom:"100%"}}),i("div",{class:"q-color-picker__spectrum-white absolute-full"}),i("div",{class:"q-color-picker__spectrum-black absolute-full"}),i("div",{class:"absolute",style:$.value},[v.value.hex!==void 0?i("div",{class:"q-color-picker__spectrum-circle"}):null])],ge=[i(Jo,{class:"q-color-picker__hue non-selectable",modelValue:v.value.h,min:0,max:360,trackSize:"8px",innerTrackColor:"transparent",selectionColor:"transparent",readonly:m.value!==!0,thumbPath:Js,"onUpdate:modelValue":T,onChange:G})];return S.value===!0&&ge.push(i(Jo,{class:"q-color-picker__alpha non-selectable",modelValue:v.value.a,min:0,max:100,trackSize:"8px",trackColor:"white",innerTrackColor:"transparent",selectionColor:"transparent",trackImg:Ag,readonly:m.value!==!0,hideSelection:!0,thumbPath:Js,...a("alphaSlide",{"onUpdate:modelValue":we=>X(we,"a",100),onChange:we=>X(we,"a",100,void 0,!0)})})),[Mt("div",Z,de,"spec",m.value,()=>E.value),i("div",{class:"q-color-picker__sliders"},ge)]}function me(){return[i("div",{class:"row items-center no-wrap"},[i("div","R"),i(Jo,{modelValue:v.value.r,min:0,max:255,color:"red",dark:n.value,readonly:m.value!==!0,...a("rSlide",{"onUpdate:modelValue":Z=>X(Z,"r",255),onChange:Z=>X(Z,"r",255,void 0,!0)})}),i("input",{value:v.value.r,maxlength:3,readonly:m.value!==!0,onChange:it,...a("rIn",{onInput:Z=>X(Z.target.value,"r",255,Z),onBlur:Z=>X(Z.target.value,"r",255,Z,!0)})})]),i("div",{class:"row items-center no-wrap"},[i("div","G"),i(Jo,{modelValue:v.value.g,min:0,max:255,color:"green",dark:n.value,readonly:m.value!==!0,...a("gSlide",{"onUpdate:modelValue":Z=>X(Z,"g",255),onChange:Z=>X(Z,"g",255,void 0,!0)})}),i("input",{value:v.value.g,maxlength:3,readonly:m.value!==!0,onChange:it,...a("gIn",{onInput:Z=>X(Z.target.value,"g",255,Z),onBlur:Z=>X(Z.target.value,"g",255,Z,!0)})})]),i("div",{class:"row items-center no-wrap"},[i("div","B"),i(Jo,{modelValue:v.value.b,min:0,max:255,color:"blue",readonly:m.value!==!0,dark:n.value,...a("bSlide",{"onUpdate:modelValue":Z=>X(Z,"b",255),onChange:Z=>X(Z,"b",255,void 0,!0)})}),i("input",{value:v.value.b,maxlength:3,readonly:m.value!==!0,onChange:it,...a("bIn",{onInput:Z=>X(Z.target.value,"b",255,Z),onBlur:Z=>X(Z.target.value,"b",255,Z,!0)})})]),S.value===!0?i("div",{class:"row items-center no-wrap"},[i("div","A"),i(Jo,{modelValue:v.value.a,color:"grey",readonly:m.value!==!0,dark:n.value,...a("aSlide",{"onUpdate:modelValue":Z=>X(Z,"a",100),onChange:Z=>X(Z,"a",100,void 0,!0)})}),i("input",{value:v.value.a,maxlength:3,readonly:m.value!==!0,onChange:it,...a("aIn",{onInput:Z=>X(Z.target.value,"a",100,Z),onBlur:Z=>X(Z.target.value,"a",100,Z,!0)})})]):null]}function Me(){let Z=de=>i("div",{class:"q-color-picker__cube col-auto",style:{backgroundColor:de},...m.value===!0?a("palette#"+de,{onClick:()=>{O(de)}}):{}});return[i("div",{class:"row items-center q-color-picker__palette-rows"+(m.value===!0?" q-color-picker__palette-rows--editable":"")},L.value.map(Z))]}return()=>{let Z=[R()];return e.name!==void 0&&e.disable!==!0&&k(Z,"push"),e.noHeader!==!0&&Z.unshift(le()),e.noFooter!==!0&&Z.push(ae()),i("div",{class:V.value,...F.value},Z)}}});var dn=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function tc(e,t,o){return Object.prototype.toString.call(e)==="[object Date]"&&(o=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),Lg(Wl(e,t,o))}function Kl(e,t,o){return nc(Bg(e,t,o))}function $g(e){return Eg(e)===0}function Ar(e,t){return t<=6?31:t<=11||$g(e)?30:29}function Eg(e){let t=dn.length,o=dn[0],r,n,a,l,u;if(e<o||e>=dn[t-1])throw new Error("Invalid Jalaali year "+e);for(u=1;u<t&&(r=dn[u],n=r-o,!(e<r));u+=1)o=r;return l=e-o,n-l<6&&(l=l-n+Ct(n+4,33)*33),a=io(io(l+1,33)-1,4),a===-1&&(a=4),a}function oc(e,t){let o=dn.length,r=e+621,n=-14,a=dn[0],l,u,d,f,c;if(e<a||e>=dn[o-1])throw new Error("Invalid Jalaali year "+e);for(c=1;c<o&&(l=dn[c],u=l-a,!(e<l));c+=1)n=n+Ct(u,33)*8+Ct(io(u,33),4),a=l;f=e-a,n=n+Ct(f,33)*8+Ct(io(f,33)+3,4),io(u,33)===4&&u-f===4&&(n+=1);let h=Ct(r,4)-Ct((Ct(r,100)+1)*3,4)-150,v=20+n-h;return t||(u-f<6&&(f=f-u+Ct(u+4,33)*33),d=io(io(f+1,33)-1,4),d===-1&&(d=4)),{leap:d,gy:r,march:v}}function Bg(e,t,o){let r=oc(e,!0);return Wl(r.gy,3,r.march)+(t-1)*31-Ct(t,7)*(t-7)+o-1}function Lg(e){let t=nc(e).gy,o=t-621,r,n,a,l=oc(o,!1),u=Wl(t,3,l.march);if(a=e-u,a>=0){if(a<=185)return n=1+Ct(a,31),r=io(a,31)+1,{jy:o,jm:n,jd:r};a-=186}else o-=1,a+=179,l.leap===1&&(a+=1);return n=7+Ct(a,30),r=io(a,30)+1,{jy:o,jm:n,jd:r}}function Wl(e,t,o){let r=Ct((e+Ct(t-8,6)+100100)*1461,4)+Ct(153*io(t+9,12)+2,5)+o-34840408;return r=r-Ct(Ct(e+100100+Ct(t-8,6),100)*3,4)+752,r}function nc(e){let t=4*e+139361631;t=t+Ct(Ct(4*e+183187720,146097)*3,4)*4-3908;let o=Ct(io(t,1461),4)*5+308,r=Ct(io(o,153),5)+1,n=io(Ct(o,153),12)+1;return{gy:Ct(t,1461)-100100+Ct(8-n,6),gm:n,gd:r}}function Ct(e,t){return~~(e/t)}function io(e,t){return e-~~(e/t)*t}var Fg=["gregorian","persian"],$r={mask:{type:String},locale:Object,calendar:{type:String,validator:e=>Fg.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},ba=["update:modelValue"];function _o(e){return e.year+"/"+nt(e.month)+"/"+nt(e.day)}function ya(e,t){let o=s(()=>e.disable!==!0&&e.readonly!==!0),r=s(()=>o.value===!0?0:-1),n=s(()=>{let u=[];return e.color!==void 0&&u.push(`bg-${e.color}`),e.textColor!==void 0&&u.push(`text-${e.textColor}`),u.join(" ")});function a(){return e.locale!==void 0?{...t.lang.date,...e.locale}:t.lang.date}function l(u){let d=new Date,f=u===!0?null:0;if(e.calendar==="persian"){let c=tc(d);return{year:c.jy,month:c.jm,day:c.jd}}return{year:d.getFullYear(),month:d.getMonth()+1,day:d.getDate(),hour:f,minute:f,second:f,millisecond:f}}return{editable:o,tabindex:r,headerClass:n,getLocale:a,getCurrentDate:l}}var lc=864e5,Dg=36e5,Gl=6e4,uc="YYYY-MM-DDTHH:mm:ss.SSSZ",Vg=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,zg=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,Yl={};function Og(e,t){let o="("+t.days.join("|")+")",r=e+o;if(Yl[r]!==void 0)return Yl[r];let n="("+t.daysShort.join("|")+")",a="("+t.months.join("|")+")",l="("+t.monthsShort.join("|")+")",u={},d=0,f=e.replace(zg,h=>{switch(d++,h){case"YY":return u.YY=d,"(-?\\d{1,2})";case"YYYY":return u.YYYY=d,"(-?\\d{1,4})";case"M":return u.M=d,"(\\d{1,2})";case"MM":return u.M=d,"(\\d{2})";case"MMM":return u.MMM=d,l;case"MMMM":return u.MMMM=d,a;case"D":return u.D=d,"(\\d{1,2})";case"Do":return u.D=d++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return u.D=d,"(\\d{2})";case"H":return u.H=d,"(\\d{1,2})";case"HH":return u.H=d,"(\\d{2})";case"h":return u.h=d,"(\\d{1,2})";case"hh":return u.h=d,"(\\d{2})";case"m":return u.m=d,"(\\d{1,2})";case"mm":return u.m=d,"(\\d{2})";case"s":return u.s=d,"(\\d{1,2})";case"ss":return u.s=d,"(\\d{2})";case"S":return u.S=d,"(\\d{1})";case"SS":return u.S=d,"(\\d{2})";case"SSS":return u.S=d,"(\\d{3})";case"A":return u.A=d,"(AM|PM)";case"a":return u.a=d,"(am|pm)";case"aa":return u.aa=d,"(a\\.m\\.|p\\.m\\.)";case"ddd":return n;case"dddd":return o;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return u.Z=d,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return u.ZZ=d,"(Z|[+-]\\d{2}\\d{2})";case"X":return u.X=d,"(-?\\d+)";case"x":return u.x=d,"(-?\\d{4,})";default:return d--,h[0]==="["&&(h=h.substring(1,h.length-1)),h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),c={map:u,regex:new RegExp("^"+f)};return Yl[r]=c,c}function sc(e,t){return e!==void 0?e:t!==void 0?t.date:Yr.date}function rc(e,t=""){let o=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),a=r%60;return o+nt(n)+t+nt(a)}function Ig(e,t,o){let r=e.getFullYear(),n=e.getMonth(),a=e.getDate();return t.year!==void 0&&(r+=o*t.year,delete t.year),t.month!==void 0&&(n+=o*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(r),e.setMonth(n),e.setDate(Math.min(a,tu(e))),t.date!==void 0&&(e.setDate(e.getDate()+o*t.date),delete t.date),e}function Hg(e,t,o){let r=t.year!==void 0?t.year:e[`get${o}FullYear`](),n=t.month!==void 0?t.month-1:e[`get${o}Month`](),a=new Date(r,n+1,0).getDate(),l=Math.min(a,t.date!==void 0?t.date:e[`get${o}Date`]());return e[`set${o}Date`](1),e[`set${o}Month`](2),e[`set${o}FullYear`](r),e[`set${o}Month`](n),e[`set${o}Date`](l),delete t.year,delete t.month,delete t.date,e}function eu(e,t,o){let r=cc(t),n=new Date(e),a=r.year!==void 0||r.month!==void 0||r.date!==void 0?Ig(n,r,o):n;for(let l in r){let u=ql(l);a[`set${u}`](a[`get${u}`]()+o*r[l])}return a}function cc(e){let t={...e};return e.years!==void 0&&(t.year=e.years,delete t.years),e.months!==void 0&&(t.month=e.months,delete t.months),e.days!==void 0&&(t.date=e.days,delete t.days),e.day!==void 0&&(t.date=e.day,delete t.day),e.hour!==void 0&&(t.hours=e.hour,delete t.hour),e.minute!==void 0&&(t.minutes=e.minute,delete t.minute),e.second!==void 0&&(t.seconds=e.second,delete t.second),e.millisecond!==void 0&&(t.milliseconds=e.millisecond,delete t.millisecond),t}function dc(e,t,o){let r=cc(t),n=o===!0?"UTC":"",a=new Date(e),l=r.year!==void 0||r.month!==void 0||r.date!==void 0?Hg(a,r,n):a;for(let u in r){let d=u.charAt(0).toUpperCase()+u.slice(1);l[`set${n}${d}`](r[u])}return l}function Qg(e,t,o){let r=fn(e,t,o),n=new Date(r.year,r.month===null?null:r.month-1,r.day===null?1:r.day,r.hour,r.minute,r.second,r.millisecond),a=n.getTimezoneOffset();return r.timezoneOffset===null||r.timezoneOffset===a?n:eu(n,{minutes:r.timezoneOffset-a},1)}function fn(e,t,o,r,n){let a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(n!==void 0&&Object.assign(a,n),e==null||e===""||typeof e!="string")return a;t===void 0&&(t=uc);let l=sc(o,Yo.props),u=l.months,d=l.monthsShort,{regex:f,map:c}=Og(t,l),h=e.match(f);if(h===null)return a;let v="";if(c.X!==void 0||c.x!==void 0){let m=parseInt(h[c.X!==void 0?c.X:c.x],10);if(isNaN(m)===!0||m<0)return a;let g=new Date(m*(c.X!==void 0?1e3:1));a.year=g.getFullYear(),a.month=g.getMonth()+1,a.day=g.getDate(),a.hour=g.getHours(),a.minute=g.getMinutes(),a.second=g.getSeconds(),a.millisecond=g.getMilliseconds()}else{if(c.YYYY!==void 0)a.year=parseInt(h[c.YYYY],10);else if(c.YY!==void 0){let m=parseInt(h[c.YY],10);a.year=m<0?m:2e3+m}if(c.M!==void 0){if(a.month=parseInt(h[c.M],10),a.month<1||a.month>12)return a}else c.MMM!==void 0?a.month=d.indexOf(h[c.MMM])+1:c.MMMM!==void 0&&(a.month=u.indexOf(h[c.MMMM])+1);if(c.D!==void 0){if(a.day=parseInt(h[c.D],10),a.year===null||a.month===null||a.day<1)return a;let m=r!=="persian"?new Date(a.year,a.month,0).getDate():Ar(a.year,a.month);if(a.day>m)return a}c.H!==void 0?a.hour=parseInt(h[c.H],10)%24:c.h!==void 0&&(a.hour=parseInt(h[c.h],10)%12,(c.A&&h[c.A]==="PM"||c.a&&h[c.a]==="pm"||c.aa&&h[c.aa]==="p.m.")&&(a.hour+=12),a.hour=a.hour%24),c.m!==void 0&&(a.minute=parseInt(h[c.m],10)%60),c.s!==void 0&&(a.second=parseInt(h[c.s],10)%60),c.S!==void 0&&(a.millisecond=parseInt(h[c.S],10)*10**(3-h[c.S].length)),(c.Z!==void 0||c.ZZ!==void 0)&&(v=c.Z!==void 0?h[c.Z].replace(":",""):h[c.ZZ],a.timezoneOffset=(v[0]==="+"?-1:1)*(60*v.slice(1,3)+1*v.slice(3,5)))}return a.dateHash=nt(a.year,6)+"/"+nt(a.month)+"/"+nt(a.day),a.timeHash=nt(a.hour)+":"+nt(a.minute)+":"+nt(a.second)+v,a}function Ng(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function jg(e,t){return dc(new Date,e,t)}function Ug(e){let t=new Date(e).getDay();return t===0?7:t}function Zl(e){let t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);let o=new Date(t.getFullYear(),0,4);o.setDate(o.getDate()-(o.getDay()+6)%7+3);let r=t.getTimezoneOffset()-o.getTimezoneOffset();t.setHours(t.getHours()-r);let n=(t-o)/(lc*7);return 1+Math.floor(n)}function Kg(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function Xl(e,t){let o=new Date(e);return t===!0?Kg(o):o.getTime()}function Wg(e,t,o,r={}){let n=Xl(t,r.onlyDate),a=Xl(o,r.onlyDate),l=Xl(e,r.onlyDate);return(l>n||r.inclusiveFrom===!0&&l===n)&&(l<a||r.inclusiveTo===!0&&l===a)}function Yg(e,t){return eu(e,t,1)}function Xg(e,t){return eu(e,t,-1)}function Io(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](0);case"month":case"months":r[`${n}Date`](1);case"day":case"days":case"date":r[`${n}Hours`](0);case"hour":case"hours":r[`${n}Minutes`](0);case"minute":case"minutes":r[`${n}Seconds`](0);case"second":case"seconds":r[`${n}Milliseconds`](0)}return r}function Gg(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](11);case"month":case"months":r[`${n}Date`](tu(r));case"day":case"days":case"date":r[`${n}Hours`](23);case"hour":case"hours":r[`${n}Minutes`](59);case"minute":case"minutes":r[`${n}Seconds`](59);case"second":case"seconds":r[`${n}Milliseconds`](999)}return r}function Zg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.max(t,new Date(o))}),t}function Jg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.min(t,new Date(o))}),t}function Sa(e,t,o){return(e.getTime()-e.getTimezoneOffset()*Gl-(t.getTime()-t.getTimezoneOffset()*Gl))/o}function xa(e,t,o="days"){let r=new Date(e),n=new Date(t);switch(o){case"years":case"year":return r.getFullYear()-n.getFullYear();case"months":case"month":return(r.getFullYear()-n.getFullYear())*12+r.getMonth()-n.getMonth();case"days":case"day":case"date":return Sa(Io(r,"day"),Io(n,"day"),lc);case"hours":case"hour":return Sa(Io(r,"hour"),Io(n,"hour"),Dg);case"minutes":case"minute":return Sa(Io(r,"minute"),Io(n,"minute"),Gl);case"seconds":case"second":return Sa(Io(r,"second"),Io(n,"second"),1e3)}}function Jl(e){return xa(e,Io(e,"year"),"days")+1}function eh(e){return Go(e)===!0?"date":typeof e=="number"?"number":"string"}function th(e,t,o){let r=new Date(e);if(t){let n=new Date(t);if(r<n)return n}if(o){let n=new Date(o);if(r>n)return n}return r}function oh(e,t,o){let r=new Date(e),n=new Date(t);if(o===void 0)return r.getTime()===n.getTime();switch(o){case"second":case"seconds":if(r.getSeconds()!==n.getSeconds())return!1;case"minute":case"minutes":if(r.getMinutes()!==n.getMinutes())return!1;case"hour":case"hours":if(r.getHours()!==n.getHours())return!1;case"day":case"days":case"date":if(r.getDate()!==n.getDate())return!1;case"month":case"months":if(r.getMonth()!==n.getMonth())return!1;case"year":case"years":if(r.getFullYear()!==n.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${o}`)}return!0}function tu(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function ic(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}var ac={YY(e,t,o){let r=this.YYYY(e,t,o)%100;return r>=0?nt(r):"-"+nt(Math.abs(r))},YYYY(e,t,o){return o??e.getFullYear()},M(e){return e.getMonth()+1},MM(e){return nt(e.getMonth()+1)},MMM(e,t){return t.monthsShort[e.getMonth()]},MMMM(e,t){return t.months[e.getMonth()]},Q(e){return Math.ceil((e.getMonth()+1)/3)},Qo(e){return ic(this.Q(e))},D(e){return e.getDate()},Do(e){return ic(e.getDate())},DD(e){return nt(e.getDate())},DDD(e){return Jl(e)},DDDD(e){return nt(Jl(e),3)},d(e){return e.getDay()},dd(e,t){return this.dddd(e,t).slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return Zl(e)},ww(e){return nt(Zl(e))},H(e){return e.getHours()},HH(e){return nt(e.getHours())},h(e){let t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return nt(this.h(e))},m(e){return e.getMinutes()},mm(e){return nt(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return nt(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return nt(Math.floor(e.getMilliseconds()/10))},SSS(e){return nt(e.getMilliseconds(),3)},A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z(e,t,o,r){let n=r??e.getTimezoneOffset();return rc(n,":")},ZZ(e,t,o,r){let n=r??e.getTimezoneOffset();return rc(n)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function ui(e,t,o,r,n){if(e!==0&&!e||e===1/0||e===-1/0)return;let a=new Date(e);if(isNaN(a))return;t===void 0&&(t=uc);let l=sc(o,Yo.props);return t.replace(Vg,(u,d)=>u in ac?ac[u](a,l,r,n):d===void 0?u:d.split("\\]").join("]"))}function nh(e){return Go(e)===!0?new Date(e.getTime()):e}var fc={isValid:Ng,extractDate:Qg,buildDate:jg,getDayOfWeek:Ug,getWeekOfYear:Zl,isBetweenDates:Wg,addToDate:Yg,subtractFromDate:Xg,adjustDate:dc,startOfDate:Io,endOfDate:Gg,getMaxDate:Zg,getMinDate:Jg,getDateDiff:xa,getDayOfYear:Jl,inferDateFormat:eh,getDateBetween:th,isSameDate:oh,daysInMonth:tu,formatDate:ui,clone:nh};var Bn=20,rh=["Calendar","Years","Months"],mc=e=>rh.includes(e),ou=e=>/^-?[\d]+\/[0-1]\d$/.test(e),Er=" \u2014 ";function mn(e){return e.year+"/"+nt(e.month)}var vc=A({name:"QDate",props:{...$r,...kt,..._e,modelValue:{required:!0,validator:e=>typeof e=="string"||Array.isArray(e)===!0||Object(e)===e||e===null},multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{...$r.mask,default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:ou},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:ou},navigationMaxYearMonth:{type:String,validator:ou},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:mc}},emits:[...ba,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,a=Ce(e,n),{getCache:l}=So(),{tabindex:u,headerClass:d,getLocale:f,getCurrentDate:c}=ya(e,n),h,v=Vo(e),m=Xt(v),g=q(null),x=q(at()),y=q(f()),k=s(()=>at()),S=s(()=>f()),b=s(()=>c()),p=q(vt(x.value,y.value)),_=q(e.defaultView),$=s(()=>n.lang.rtl===!0?"right":"left"),L=q($.value),V=q($.value),F=p.value.year,E=q(F-F%Bn-(F<0?Bn:0)),D=q(null),M=s(()=>{let P=e.landscape===!0?"landscape":"portrait";return`q-date q-date--${P} q-date--${P}-${e.minimal===!0?"minimal":"standard"}`+(a.value===!0?" q-date--dark q-dark":"")+(e.bordered===!0?" q-date--bordered":"")+(e.square===!0?" q-date--square no-border-radius":"")+(e.flat===!0?" q-date--flat no-shadow":"")+(e.disable===!0?" disabled":e.readonly===!0?" q-date--readonly":"")}),C=s(()=>e.color||"primary"),T=s(()=>e.textColor||"white"),G=s(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),X=s(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),B=s(()=>X.value.filter(P=>typeof P=="string").map(P=>mt(P,x.value,y.value)).filter(P=>P.dateHash!==null&&P.day!==null&&P.month!==null&&P.year!==null)),O=s(()=>{let P=N=>mt(N,x.value,y.value);return X.value.filter(N=>ct(N)===!0&&N.from!==void 0&&N.to!==void 0).map(N=>({from:P(N.from),to:P(N.to)})).filter(N=>N.from.dateHash!==null&&N.to.dateHash!==null&&N.from.dateHash<N.to.dateHash)}),K=s(()=>e.calendar!=="persian"?P=>new Date(P.year,P.month-1,P.day):P=>{let N=Kl(P.year,P.month,P.day);return new Date(N.gy,N.gm-1,N.gd)}),ce=s(()=>e.calendar==="persian"?_o:(P,N,te)=>ui(new Date(P.year,P.month-1,P.day,P.hour,P.minute,P.second,P.millisecond),N===void 0?x.value:N,te===void 0?y.value:te,P.year,P.timezoneOffset)),H=s(()=>B.value.length+O.value.reduce((P,N)=>P+1+xa(K.value(N.to),K.value(N.from)),0)),w=s(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(D.value!==null){let te=D.value.init,he=K.value(te);return y.value.daysShort[he.getDay()]+", "+y.value.monthsShort[te.month-1]+" "+te.day+Er+"?"}if(H.value===0)return Er;if(H.value>1)return`${H.value} ${y.value.pluralDay}`;let P=B.value[0],N=K.value(P);return isNaN(N.valueOf())===!0?Er:y.value.headerTitle!==void 0?y.value.headerTitle(N,P):y.value.daysShort[N.getDay()]+", "+y.value.monthsShort[P.month-1]+" "+P.day}),W=s(()=>B.value.concat(O.value.map(N=>N.from)).sort((N,te)=>N.year-te.year||N.month-te.month)[0]),j=s(()=>B.value.concat(O.value.map(N=>N.to)).sort((N,te)=>te.year-N.year||te.month-N.month)[0]),le=s(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(H.value===0)return Er;if(H.value>1){let P=W.value,N=j.value,te=y.value.monthsShort;return te[P.month-1]+(P.year!==N.year?" "+P.year+Er+te[N.month-1]+" ":P.month!==N.month?Er+te[N.month-1]:"")+" "+N.year}return B.value[0].year}),R=s(()=>{let P=[n.iconSet.datetime.arrowLeft,n.iconSet.datetime.arrowRight];return n.lang.rtl===!0?P.reverse():P}),I=s(()=>e.firstDayOfWeek!==void 0?Number(e.firstDayOfWeek):y.value.firstDayOfWeek),ae=s(()=>{let P=y.value.daysShort,N=I.value;return N>0?P.slice(N,7).concat(P.slice(0,N)):P}),Q=s(()=>{let P=p.value;return e.calendar!=="persian"?new Date(P.year,P.month,0).getDate():Ar(P.year,P.month)}),me=s(()=>typeof e.eventColor=="function"?e.eventColor:()=>e.eventColor),Me=s(()=>{if(e.navigationMinYearMonth===void 0)return null;let P=e.navigationMinYearMonth.split("/");return{year:parseInt(P[0],10),month:parseInt(P[1],10)}}),Z=s(()=>{if(e.navigationMaxYearMonth===void 0)return null;let P=e.navigationMaxYearMonth.split("/");return{year:parseInt(P[0],10),month:parseInt(P[1],10)}}),de=s(()=>{let P={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return Me.value!==null&&Me.value.year>=p.value.year&&(P.year.prev=!1,Me.value.year===p.value.year&&Me.value.month>=p.value.month&&(P.month.prev=!1)),Z.value!==null&&Z.value.year<=p.value.year&&(P.year.next=!1,Z.value.year===p.value.year&&Z.value.month<=p.value.month&&(P.month.next=!1)),P}),ge=s(()=>{let P={};return B.value.forEach(N=>{let te=mn(N);P[te]===void 0&&(P[te]=[]),P[te].push(N.day)}),P}),we=s(()=>{let P={};return O.value.forEach(N=>{let te=mn(N.from),he=mn(N.to);if(P[te]===void 0&&(P[te]=[]),P[te].push({from:N.from.day,to:te===he?N.to.day:void 0,range:N}),te<he){let pe,{year:rt,month:Be}=N.from,Ze=Be<12?{year:rt,month:Be+1}:{year:rt+1,month:1};for(;(pe=mn(Ze))<=he;)P[pe]===void 0&&(P[pe]=[]),P[pe].push({from:void 0,to:pe===he?N.to.day:void 0,range:N}),Ze.month++,Ze.month>12&&(Ze.year++,Ze.month=1)}}),P}),Le=s(()=>{if(D.value===null)return;let{init:P,initHash:N,final:te,finalHash:he}=D.value,[pe,rt]=N<=he?[P,te]:[te,P],Be=mn(pe),Ze=mn(rt);if(Be!==fe.value&&Ze!==fe.value)return;let ut={};return Be===fe.value?(ut.from=pe.day,ut.includeFrom=!0):ut.from=1,Ze===fe.value?(ut.to=rt.day,ut.includeTo=!0):ut.to=Q.value,ut}),fe=s(()=>mn(p.value)),Fe=s(()=>{let P={};if(e.options===void 0){for(let te=1;te<=Q.value;te++)P[te]=!0;return P}let N=typeof e.options=="function"?e.options:te=>e.options.includes(te);for(let te=1;te<=Q.value;te++){let he=fe.value+"/"+nt(te);P[te]=N(he)}return P}),He=s(()=>{let P={};if(e.events===void 0)for(let N=1;N<=Q.value;N++)P[N]=!1;else{let N=typeof e.events=="function"?e.events:te=>e.events.includes(te);for(let te=1;te<=Q.value;te++){let he=fe.value+"/"+nt(te);P[te]=N(he)===!0&&me.value(he)}}return P}),Qe=s(()=>{let P,N,{year:te,month:he}=p.value;if(e.calendar!=="persian")P=new Date(te,he-1,1),N=new Date(te,he-1,0).getDate();else{let pe=Kl(te,he,1);P=new Date(pe.gy,pe.gm-1,pe.gd);let rt=he-1,Be=te;rt===0&&(rt=12,Be--),N=Ar(Be,rt)}return{days:P.getDay()-I.value-1,endDay:N}}),ue=s(()=>{let P=[],{days:N,endDay:te}=Qe.value,he=N<0?N+7:N;if(he<6)for(let Be=te-he;Be<=te;Be++)P.push({i:Be,fill:!0});let pe=P.length;for(let Be=1;Be<=Q.value;Be++){let Ze={i:Be,event:He.value[Be],classes:[]};Fe.value[Be]===!0&&(Ze.in=!0,Ze.flat=!0),P.push(Ze)}if(ge.value[fe.value]!==void 0&&ge.value[fe.value].forEach(Be=>{let Ze=pe+Be-1;Object.assign(P[Ze],{selected:!0,unelevated:!0,flat:!1,color:C.value,textColor:T.value})}),we.value[fe.value]!==void 0&&we.value[fe.value].forEach(Be=>{if(Be.from!==void 0){let Ze=pe+Be.from-1,ut=pe+(Be.to||Q.value)-1;for(let so=Ze;so<=ut;so++)Object.assign(P[so],{range:Be.range,unelevated:!0,color:C.value,textColor:T.value});Object.assign(P[Ze],{rangeFrom:!0,flat:!1}),Be.to!==void 0&&Object.assign(P[ut],{rangeTo:!0,flat:!1})}else if(Be.to!==void 0){let Ze=pe+Be.to-1;for(let ut=pe;ut<=Ze;ut++)Object.assign(P[ut],{range:Be.range,unelevated:!0,color:C.value,textColor:T.value});Object.assign(P[Ze],{flat:!1,rangeTo:!0})}else{let Ze=pe+Q.value-1;for(let ut=pe;ut<=Ze;ut++)Object.assign(P[ut],{range:Be.range,unelevated:!0,color:C.value,textColor:T.value})}}),Le.value!==void 0){let Be=pe+Le.value.from-1,Ze=pe+Le.value.to-1;for(let ut=Be;ut<=Ze;ut++)P[ut].color=C.value,P[ut].editRange=!0;Le.value.includeFrom===!0&&(P[Be].editRangeFrom=!0),Le.value.includeTo===!0&&(P[Ze].editRangeTo=!0)}p.value.year===b.value.year&&p.value.month===b.value.month&&(P[pe+b.value.day-1].today=!0);let rt=P.length%7;if(rt>0){let Be=7-rt;for(let Ze=1;Ze<=Be;Ze++)P.push({i:Ze,fill:!0})}return P.forEach(Be=>{let Ze="q-date__calendar-item ";Be.fill===!0?Ze+="q-date__calendar-item--fill":(Ze+=`q-date__calendar-item--${Be.in===!0?"in":"out"}`,Be.range!==void 0&&(Ze+=` q-date__range${Be.rangeTo===!0?"-to":Be.rangeFrom===!0?"-from":""}`),Be.editRange===!0&&(Ze+=` q-date__edit-range${Be.editRangeFrom===!0?"-from":""}${Be.editRangeTo===!0?"-to":""}`),(Be.range!==void 0||Be.editRange===!0)&&(Ze+=` text-${Be.color}`)),Be.classes=Ze}),P}),ve=s(()=>e.disable===!0?{"aria-disabled":"true"}:{});Y(()=>e.modelValue,P=>{if(h===P)h=0;else{let N=vt(x.value,y.value);tt(N.year,N.month,N)}}),Y(_,()=>{g.value!==null&&r.$el.contains(document.activeElement)===!0&&g.value.focus()}),Y(()=>p.value.year+"|"+p.value.month,()=>{o("navigation",{year:p.value.year,month:p.value.month})}),Y(k,P=>{ne(P,y.value,"mask"),x.value=P}),Y(S,P=>{ne(x.value,P,"locale"),y.value=P});function ee(){let{year:P,month:N,day:te}=b.value,he={...p.value,year:P,month:N,day:te},pe=ge.value[mn(he)];(pe===void 0||pe.includes(he.day)===!1)&&jo(he),ze(he.year,he.month)}function be(P){mc(P)===!0&&(_.value=P)}function De(P,N){["month","year"].includes(P)&&(P==="month"?se:J)(N===!0?-1:1)}function ze(P,N){_.value="Calendar",tt(P,N)}function Ve(P,N){if(e.range===!1||!P){D.value=null;return}let te=Object.assign({...p.value},P),he=N!==void 0?Object.assign({...p.value},N):te;D.value={init:te,initHash:_o(te),final:he,finalHash:_o(he)},ze(te.year,te.month)}function at(){return e.calendar==="persian"?"YYYY/MM/DD":e.mask}function mt(P,N,te){return fn(P,N,te,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function vt(P,N){let te=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(te.length===0)return oe();let he=te[te.length-1],pe=mt(he.from!==void 0?he.from:he,P,N);return pe.dateHash===null?oe():pe}function oe(){let P,N;if(e.defaultYearMonth!==void 0){let te=e.defaultYearMonth.split("/");P=parseInt(te[0],10),N=parseInt(te[1],10)}else{let te=b.value!==void 0?b.value:c();P=te.year,N=te.month}return{year:P,month:N,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:P+"/"+nt(N)+"/01"}}function se(P){let N=p.value.year,te=Number(p.value.month)+P;te===13?(te=1,N++):te===0&&(te=12,N--),tt(N,te),G.value===!0&&yt("month")}function J(P){let N=Number(p.value.year)+P;tt(N,p.value.month),G.value===!0&&yt("year")}function ie(P){tt(P,p.value.month),_.value=e.defaultView==="Years"?"Months":"Calendar",G.value===!0&&yt("year")}function Ae(P){tt(p.value.year,P),_.value="Calendar",G.value===!0&&yt("month")}function Ue(P,N){let te=ge.value[N];(te!==void 0&&te.includes(P.day)===!0?To:jo)(P)}function ke(P){return{year:P.year,month:P.month,day:P.day}}function tt(P,N,te){if(Me.value!==null&&P<=Me.value.year&&((N<Me.value.month||P<Me.value.year)&&(N=Me.value.month),P=Me.value.year),Z.value!==null&&P>=Z.value.year&&((N>Z.value.month||P>Z.value.year)&&(N=Z.value.month),P=Z.value.year),te!==void 0){let{hour:pe,minute:rt,second:Be,millisecond:Ze,timezoneOffset:ut,timeHash:so}=te;Object.assign(p.value,{hour:pe,minute:rt,second:Be,millisecond:Ze,timezoneOffset:ut,timeHash:so})}let he=P+"/"+nt(N)+"/01";he!==p.value.dateHash&&(L.value=p.value.dateHash<he==(n.lang.rtl!==!0)?"left":"right",P!==p.value.year&&(V.value=L.value),$e(()=>{E.value=P-P%Bn-(P<0?Bn:0),Object.assign(p.value,{year:P,month:N,day:1,dateHash:he})}))}function pt(P,N,te){let he=P!==null&&P.length===1&&e.multiple===!1?P[0]:P;h=he;let{reason:pe,details:rt}=Gt(N,te);o("update:modelValue",he,pe,rt)}function yt(P){let N=B.value[0]!==void 0&&B.value[0].dateHash!==null?{...B.value[0]}:{...p.value};$e(()=>{N.year=p.value.year,N.month=p.value.month;let te=e.calendar!=="persian"?new Date(N.year,N.month,0).getDate():Ar(N.year,N.month);N.day=Math.min(Math.max(1,N.day),te);let he=uo(N);h=he;let{details:pe}=Gt("",N);o("update:modelValue",he,P,pe)})}function Gt(P,N){return N.from!==void 0?{reason:`${P}-range`,details:{...ke(N.target),from:ke(N.from),to:ke(N.to)}}:{reason:`${P}-day`,details:ke(N)}}function uo(P,N,te){return P.from!==void 0?{from:ce.value(P.from,N,te),to:ce.value(P.to,N,te)}:ce.value(P,N,te)}function jo(P){let N;if(e.multiple===!0)if(P.from!==void 0){let te=_o(P.from),he=_o(P.to),pe=B.value.filter(Be=>Be.dateHash<te||Be.dateHash>he),rt=O.value.filter(({from:Be,to:Ze})=>Ze.dateHash<te||Be.dateHash>he);N=pe.concat(rt).concat(P).map(Be=>uo(Be))}else{let te=X.value.slice();te.push(uo(P)),N=te}else N=uo(P);pt(N,"add",P)}function To(P){if(e.noUnset===!0)return;let N=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){let te=uo(P);P.from!==void 0?N=e.modelValue.filter(he=>he.from!==void 0?he.from!==te.from&&he.to!==te.to:!0):N=e.modelValue.filter(he=>he!==te),N.length===0&&(N=null)}pt(N,"remove",P)}function ne(P,N,te){let he=B.value.concat(O.value).map(pe=>uo(pe,P,N)).filter(pe=>pe.from!==void 0?pe.from.dateHash!==null&&pe.to.dateHash!==null:pe.dateHash!==null);o("update:modelValue",(e.multiple===!0?he:he[0])||null,te)}function ye(){if(e.minimal!==!0)return i("div",{class:"q-date__header "+d.value},[i("div",{class:"relative-position"},[i(lt,{name:"q-transition--fade"},()=>i("div",{key:"h-yr-"+le.value,class:"q-date__header-subtitle q-date__header-link "+(_.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vY",{onClick(){_.value="Years"},onKeyup(P){P.keyCode===13&&(_.value="Years")}})},[le.value]))]),i("div",{class:"q-date__header-title relative-position flex no-wrap"},[i("div",{class:"relative-position col"},[i(lt,{name:"q-transition--fade"},()=>i("div",{key:"h-sub"+w.value,class:"q-date__header-title-label q-date__header-link "+(_.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vC",{onClick(){_.value="Calendar"},onKeyup(P){P.keyCode===13&&(_.value="Calendar")}})},[w.value]))]),e.todayBtn===!0?i(Ie,{class:"q-date__header-today self-start",icon:n.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:u.value,onClick:ee}):null])])}function Ee({label:P,type:N,key:te,dir:he,goTo:pe,boundaries:rt,cls:Be}){return[i("div",{class:"row items-center q-date__arrow"},[i(Ie,{round:!0,dense:!0,size:"sm",flat:!0,icon:R.value[0],tabindex:u.value,disable:rt.prev===!1,...l("go-#"+N,{onClick(){pe(-1)}})})]),i("div",{class:"relative-position overflow-hidden flex flex-center"+Be},[i(lt,{name:"q-transition--jump-"+he},()=>i("div",{key:te},[i(Ie,{flat:!0,dense:!0,noCaps:!0,label:P,tabindex:u.value,...l("view#"+N,{onClick:()=>{_.value=N}})})]))]),i("div",{class:"row items-center q-date__arrow"},[i(Ie,{round:!0,dense:!0,size:"sm",flat:!0,icon:R.value[1],tabindex:u.value,disable:rt.next===!1,...l("go+#"+N,{onClick(){pe(1)}})})])]}let Oe={Calendar:()=>[i("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[i("div",{class:"q-date__navigation row items-center no-wrap"},Ee({label:y.value.months[p.value.month-1],type:"Months",key:p.value.month,dir:L.value,goTo:se,boundaries:de.value.month,cls:" col"}).concat(Ee({label:p.value.year,type:"Years",key:p.value.year,dir:V.value,goTo:J,boundaries:de.value.year,cls:""}))),i("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},ae.value.map(P=>i("div",{class:"q-date__calendar-item"},[i("div",P)]))),i("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[i(lt,{name:"q-transition--slide-"+L.value},()=>i("div",{key:fe.value,class:"q-date__calendar-days fit"},ue.value.map(P=>i("div",{class:P.classes},[P.in===!0?i(Ie,{class:P.today===!0?"q-date__today":"",dense:!0,flat:P.flat,unelevated:P.unelevated,color:P.color,textColor:P.textColor,label:P.i,tabindex:u.value,...l("day#"+P.i,{onClick:()=>{Ye(P.i)},onMouseover:()=>{St(P.i)}})},P.event!==!1?()=>i("div",{class:"q-date__event bg-"+P.event}):null):i("div",""+P.i)]))))])])],Months(){let P=p.value.year===b.value.year,N=he=>Me.value!==null&&p.value.year===Me.value.year&&Me.value.month>he||Z.value!==null&&p.value.year===Z.value.year&&Z.value.month<he,te=y.value.monthsShort.map((he,pe)=>{let rt=p.value.month===pe+1;return i("div",{class:"q-date__months-item flex flex-center"},[i(Ie,{class:P===!0&&b.value.month===pe+1?"q-date__today":null,flat:rt!==!0,label:he,unelevated:rt,color:rt===!0?C.value:null,textColor:rt===!0?T.value:null,tabindex:u.value,disable:N(pe+1),...l("month#"+pe,{onClick:()=>{Ae(pe+1)}})})])});return e.yearsInMonthView===!0&&te.unshift(i("div",{class:"row no-wrap full-width"},[Ee({label:p.value.year,type:"Years",key:p.value.year,dir:V.value,goTo:J,boundaries:de.value.year,cls:" col"})])),i("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},te)},Years(){let P=E.value,N=P+Bn,te=[],he=pe=>Me.value!==null&&Me.value.year>pe||Z.value!==null&&Z.value.year<pe;for(let pe=P;pe<=N;pe++){let rt=p.value.year===pe;te.push(i("div",{class:"q-date__years-item flex flex-center"},[i(Ie,{key:"yr"+pe,class:b.value.year===pe?"q-date__today":null,flat:!rt,label:pe,dense:!0,unelevated:rt,color:rt===!0?C.value:null,textColor:rt===!0?T.value:null,tabindex:u.value,disable:he(pe),...l("yr#"+pe,{onClick:()=>{ie(pe)}})})]))}return i("div",{class:"q-date__view q-date__years flex flex-center"},[i("div",{class:"col-auto"},[i(Ie,{round:!0,dense:!0,flat:!0,icon:R.value[0],tabindex:u.value,disable:he(P),...l("y-",{onClick:()=>{E.value-=Bn}})})]),i("div",{class:"q-date__years-content col self-stretch row items-center"},te),i("div",{class:"col-auto"},[i(Ie,{round:!0,dense:!0,flat:!0,icon:R.value[1],tabindex:u.value,disable:he(N),...l("y+",{onClick:()=>{E.value+=Bn}})})])])}};function Ye(P){let N={...p.value,day:P};if(e.range===!1){Ue(N,fe.value);return}if(D.value===null){let te=ue.value.find(pe=>pe.fill!==!0&&pe.i===P);if(e.noUnset!==!0&&te.range!==void 0){To({target:N,from:te.range.from,to:te.range.to});return}if(te.selected===!0){To(N);return}let he=_o(N);D.value={init:N,initHash:he,final:N,finalHash:he},o("rangeStart",ke(N))}else{let te=D.value.initHash,he=_o(N),pe=te<=he?{from:D.value.init,to:N}:{from:N,to:D.value.init};D.value=null,jo(te===he?N:{target:N,...pe}),o("rangeEnd",{from:ke(pe.from),to:ke(pe.to)})}}function St(P){if(D.value!==null){let N={...p.value,day:P};Object.assign(D.value,{final:N,finalHash:_o(N)})}}return Object.assign(r,{setToday:ee,setView:be,offsetCalendar:De,setCalendarTo:ze,setEditingRange:Ve}),()=>{let P=[i("div",{class:"q-date__content col relative-position"},[i(lt,{name:"q-transition--fade"},Oe[_.value])])],N=re(t.default);return N!==void 0&&P.push(i("div",{class:"q-date__actions"},N)),e.name!==void 0&&e.disable!==!0&&m(P,"push"),i("div",{class:M.value,...ve.value},[ye(),i("div",{ref:g,class:"q-date__main col column",tabindex:-1},P)])}}});function _a(e,t,o){let r;function n(){r!==void 0&&(on.remove(r),r=void 0)}return Se(()=>{e.value===!0&&n()}),{removeFromHistory:n,addToHistory(){r={condition:()=>o.value===!0,handler:t},on.add(r)}}}var si=0,nu,ru,ci,iu=!1,gc,hc,pc,Ln=null;function ih(e){ah(e)&&qe(e)}function ah(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;let t=xl(e),o=e.shiftKey&&!e.deltaX,r=!o&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),n=o||r?e.deltaY:e.deltaX;for(let a=0;a<t.length;a++){let l=t[a];if(Vl(l,r))return r?n<0&&l.scrollTop===0?!0:n>0&&l.scrollTop+l.clientHeight===l.scrollHeight:n<0&&l.scrollLeft===0?!0:n>0&&l.scrollLeft+l.clientWidth===l.scrollWidth}return!0}function bc(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function Ca(e){iu!==!0&&(iu=!0,requestAnimationFrame(()=>{iu=!1;let{height:t}=e.target,{clientHeight:o,scrollTop:r}=document.scrollingElement;(ci===void 0||t!==window.innerHeight)&&(ci=o-t,document.scrollingElement.scrollTop=r),r>ci&&(document.scrollingElement.scrollTop-=Math.ceil((r-ci)/8))}))}function yc(e){let t=document.body,o=window.visualViewport!==void 0;if(e==="add"){let{overflowY:r,overflowX:n}=window.getComputedStyle(t);nu=sn(window),ru=to(window),gc=t.style.left,hc=t.style.top,pc=window.location.href,t.style.left=`-${nu}px`,t.style.top=`-${ru}px`,n!=="hidden"&&(n==="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,Re.is.ios===!0&&(o===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",Ca,et.passiveCapture),window.visualViewport.addEventListener("scroll",Ca,et.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",bc,et.passiveCapture))}Re.is.desktop===!0&&Re.is.mac===!0&&window[`${e}EventListener`]("wheel",ih,et.notPassive),e==="remove"&&(Re.is.ios===!0&&(o===!0?(window.visualViewport.removeEventListener("resize",Ca,et.passiveCapture),window.visualViewport.removeEventListener("scroll",Ca,et.passiveCapture)):window.removeEventListener("scroll",bc,et.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=gc,t.style.top=hc,window.location.href===pc&&window.scrollTo(nu,ru),ci=void 0)}function di(e){let t="add";if(e===!0){if(si++,Ln!==null){clearTimeout(Ln),Ln=null;return}if(si>1)return}else{if(si===0||(si--,si>0))return;if(t="remove",Re.is.ios===!0&&Re.is.nativeMobile===!0){Ln!==null&&clearTimeout(Ln),Ln=setTimeout(()=>{yc(t),Ln=null},100);return}}yc(t)}function wa(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,di(t))}}}var ka=0,lh={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"},Sc={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Ho=A({name:"QDialog",inheritAttrs:!1,props:{...vo,...bo,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:[...go,"shake","click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),a=q(null),l=q(!1),u=q(!1),d=null,f=null,c,h,v=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:m}=wa(),{registerTimeout:g}=Yt(),{registerTick:x,removeTick:y}=yo(),{transitionProps:k,transitionStyle:S}=un(e,()=>Sc[e.position][0],()=>Sc[e.position][1]),b=s(()=>S.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:p,hidePortal:_,portalIsAccessible:$,renderPortal:L}=lr(n,a,le,"dialog"),{hide:V}=ho({showing:l,hideOnRouteChange:v,handleShow:G,handleHide:X,processOnMount:!0}),{addToHistory:F,removeFromHistory:E}=_a(l,V,v),D=s(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${lh[e.position]}`+(u.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":"")),M=s(()=>l.value===!0&&e.seamless!==!0),C=s(()=>e.autoClose===!0?{onClick:w}:{}),T=s(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${M.value===!0?"modal":"seamless"}`,r.class]);Y(()=>e.maximized,R=>{l.value===!0&&H(R)}),Y(M,R=>{m(R),R===!0?(dr(j),Ki(K)):(Rn(j),cr(K))});function G(R){F(),f=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,H(e.maximized),p(),u.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),x(B)):y(),g(()=>{if(n.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){let{top:I,bottom:ae}=document.activeElement.getBoundingClientRect(),{innerHeight:Q}=window,me=window.visualViewport!==void 0?window.visualViewport.height:Q;I>0&&ae>me/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-me,ae>=Q?1/0:Math.ceil(document.scrollingElement.scrollTop+ae-me/2))),document.activeElement.scrollIntoView()}h=!0,a.value.click(),h=!1}p(!0),u.value=!1,o("show",R)},e.transitionDuration)}function X(R){y(),E(),ce(!0),u.value=!0,_(),f!==null&&(((R&&R.type.indexOf("key")===0?f.closest('[tabindex]:not([tabindex^="-"])'):void 0)||f).focus(),f=null),g(()=>{_(!0),u.value=!1,o("hide",R)},e.transitionDuration)}function B(R){po(()=>{let I=a.value;if(I!==null){if(R!==void 0){let ae=I.querySelector(R);if(ae!==null){ae.focus({preventScroll:!0});return}}I.contains(document.activeElement)!==!0&&(I=I.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||I.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||I.querySelector("[autofocus], [data-autofocus]")||I,I.focus({preventScroll:!0}))}})}function O(R){R&&typeof R.focus=="function"?R.focus({preventScroll:!0}):B(),o("shake");let I=a.value;I!==null&&(I.classList.remove("q-animate--scale"),I.classList.add("q-animate--scale"),d!==null&&clearTimeout(d),d=setTimeout(()=>{d=null,a.value!==null&&(I.classList.remove("q-animate--scale"),B())},170))}function K(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&O():(o("escapeKey"),V()))}function ce(R){d!==null&&(clearTimeout(d),d=null),(R===!0||l.value===!0)&&(H(!1),e.seamless!==!0&&(m(!1),Rn(j),cr(K))),R!==!0&&(f=null)}function H(R){R===!0?c!==!0&&(ka<1&&document.body.classList.add("q-body--dialog"),ka++,c=!0):c===!0&&(ka<2&&document.body.classList.remove("q-body--dialog"),ka--,c=!1)}function w(R){h!==!0&&(V(R),o("click",R))}function W(R){e.persistent!==!0&&e.noBackdropDismiss!==!0?V(R):e.noShake!==!0&&O()}function j(R){e.allowFocusOutside!==!0&&$.value===!0&&Oi(a.value,R.target)!==!0&&B('[tabindex]:not([tabindex="-1"])')}Object.assign(n.proxy,{focus:B,shake:O,__updateRefocusTarget(R){f=R||null}}),Se(ce);function le(){return i("div",{role:"dialog","aria-modal":M.value===!0?"true":"false",...r,class:T.value},[i(lt,{name:"q-transition--fade",appear:!0},()=>M.value===!0?i("div",{class:"q-dialog__backdrop fixed-full",style:b.value,"aria-hidden":"true",tabindex:-1,onClick:W}):null),i(lt,k.value,()=>l.value===!0?i("div",{ref:a,class:D.value,style:S.value,tabindex:-1,...C.value},re(t.default)):null)])}return L}});var xc=150,_c=A({name:"QDrawer",inheritAttrs:!1,props:{...vo,..._e,side:{type:String,default:"left",validator:e=>["left","right"].includes(e)},width:{type:Number,default:300},mini:Boolean,miniToOverlay:Boolean,miniWidth:{type:Number,default:57},noMiniAnimation:Boolean,breakpoint:{type:Number,default:1023},showIfAbove:Boolean,behavior:{type:String,validator:e=>["default","desktop","mobile"].includes(e),default:"default"},bordered:Boolean,elevated:Boolean,overlay:Boolean,persistent:Boolean,noSwipeOpen:Boolean,noSwipeClose:Boolean,noSwipeBackdrop:Boolean},emits:[...go,"onLayout","miniState"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),{proxy:{$q:a}}=n,l=Ce(e,a),{preventBodyScroll:u}=wa(),{registerTimeout:d,removeTimeout:f}=Yt(),c=ht(Jt,Je);if(c===Je)return console.error("QDrawer needs to be child of QLayout"),Je;let h,v=null,m,g=q(e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint),x=s(()=>e.mini===!0&&g.value!==!0),y=s(()=>x.value===!0?e.miniWidth:e.width),k=q(e.showIfAbove===!0&&g.value===!1?!0:e.modelValue===!0),S=s(()=>e.persistent!==!0&&(g.value===!0||ce.value===!0));function b(ee,be){if(L(),ee!==!1&&c.animate(),de(0),g.value===!0){let De=c.instances[X.value];De!==void 0&&De.belowBreakpoint===!0&&De.hide(!1),ge(1),c.isContainer.value!==!0&&u(!0)}else ge(0),ee!==!1&&we(!1);d(()=>{ee!==!1&&we(!0),be!==!0&&o("show",ee)},xc)}function p(ee,be){V(),ee!==!1&&c.animate(),ge(0),de(D.value*y.value),He(),be!==!0?d(()=>{o("hide",ee)},xc):f()}let{show:_,hide:$}=ho({showing:k,hideOnRouteChange:S,handleShow:b,handleHide:p}),{addToHistory:L,removeFromHistory:V}=_a(k,$,S),F={belowBreakpoint:g,hide:$},E=s(()=>e.side==="right"),D=s(()=>(a.lang.rtl===!0?-1:1)*(E.value===!0?1:-1)),M=q(0),C=q(!1),T=q(!1),G=q(y.value*D.value),X=s(()=>E.value===!0?"left":"right"),B=s(()=>k.value===!0&&g.value===!1&&e.overlay===!1?e.miniToOverlay===!0?e.miniWidth:y.value:0),O=s(()=>e.overlay===!0||e.miniToOverlay===!0||c.view.value.indexOf(E.value?"R":"L")!==-1||a.platform.is.ios===!0&&c.isContainer.value===!0),K=s(()=>e.overlay===!1&&k.value===!0&&g.value===!1),ce=s(()=>e.overlay===!0&&k.value===!0&&g.value===!1),H=s(()=>"fullscreen q-drawer__backdrop"+(k.value===!1&&C.value===!1?" hidden":"")),w=s(()=>({backgroundColor:`rgba(0,0,0,${M.value*.4})`})),W=s(()=>E.value===!0?c.rows.value.top[2]==="r":c.rows.value.top[0]==="l"),j=s(()=>E.value===!0?c.rows.value.bottom[2]==="r":c.rows.value.bottom[0]==="l"),le=s(()=>{let ee={};return c.header.space===!0&&W.value===!1&&(O.value===!0?ee.top=`${c.header.offset}px`:c.header.space===!0&&(ee.top=`${c.header.size}px`)),c.footer.space===!0&&j.value===!1&&(O.value===!0?ee.bottom=`${c.footer.offset}px`:c.footer.space===!0&&(ee.bottom=`${c.footer.size}px`)),ee}),R=s(()=>{let ee={width:`${y.value}px`,transform:`translateX(${G.value}px)`};return g.value===!0?ee:Object.assign(ee,le.value)}),I=s(()=>"q-drawer__content fit "+(c.isContainer.value!==!0?"scroll":"overflow-auto")),ae=s(()=>`q-drawer q-drawer--${e.side}`+(T.value===!0?" q-drawer--mini-animate":"")+(e.bordered===!0?" q-drawer--bordered":"")+(l.value===!0?" q-drawer--dark q-dark":"")+(C.value===!0?" no-transition":k.value===!0?"":" q-layout--prevent-focus")+(g.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${x.value===!0?"mini":"standard"}`+(O.value===!0||K.value!==!0?" fixed":"")+(e.overlay===!0||e.miniToOverlay===!0?" q-drawer--on-top":"")+(W.value===!0?" q-drawer--top-padding":""))),Q=s(()=>{let ee=a.lang.rtl===!0?e.side:X.value;return[[Rt,fe,void 0,{[ee]:!0,mouse:!0}]]}),me=s(()=>{let ee=a.lang.rtl===!0?X.value:e.side;return[[Rt,Fe,void 0,{[ee]:!0,mouse:!0}]]}),Me=s(()=>{let ee=a.lang.rtl===!0?X.value:e.side;return[[Rt,Fe,void 0,{[ee]:!0,mouse:!0,mouseAllDir:!0}]]});function Z(){ue(g,e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint)}Y(g,ee=>{ee===!0?(h=k.value,k.value===!0&&$(!1)):e.overlay===!1&&e.behavior!=="mobile"&&h!==!1&&(k.value===!0?(de(0),ge(0),He()):_(!1))}),Y(()=>e.side,(ee,be)=>{c.instances[be]===F&&(c.instances[be]=void 0,c[be].space=!1,c[be].offset=0),c.instances[ee]=F,c[ee].size=y.value,c[ee].space=K.value,c[ee].offset=B.value}),Y(c.totalWidth,()=>{(c.isContainer.value===!0||document.qScrollPrevented!==!0)&&Z()}),Y(()=>e.behavior+e.breakpoint,Z),Y(c.isContainer,ee=>{k.value===!0&&u(ee!==!0),ee===!0&&Z()}),Y(c.scrollbarWidth,()=>{de(k.value===!0?0:void 0)}),Y(B,ee=>{Qe("offset",ee)}),Y(K,ee=>{o("onLayout",ee),Qe("space",ee)}),Y(E,()=>{de()}),Y(y,ee=>{de(),ve(e.miniToOverlay,ee)}),Y(()=>e.miniToOverlay,ee=>{ve(ee,y.value)}),Y(()=>a.lang.rtl,()=>{de()}),Y(()=>e.mini,()=>{e.noMiniAnimation||e.modelValue===!0&&(Le(),c.animate())}),Y(x,ee=>{o("miniState",ee)});function de(ee){ee===void 0?$e(()=>{ee=k.value===!0?0:y.value,de(D.value*ee)}):(c.isContainer.value===!0&&E.value===!0&&(g.value===!0||Math.abs(ee)===y.value)&&(ee+=D.value*c.scrollbarWidth.value),G.value=ee)}function ge(ee){M.value=ee}function we(ee){let be=ee===!0?"remove":c.isContainer.value!==!0?"add":"";be!==""&&document.body.classList[be]("q-body--drawer-toggle")}function Le(){v!==null&&clearTimeout(v),n.proxy&&n.proxy.$el&&n.proxy.$el.classList.add("q-drawer--mini-animate"),T.value=!0,v=setTimeout(()=>{v=null,T.value=!1,n&&n.proxy&&n.proxy.$el&&n.proxy.$el.classList.remove("q-drawer--mini-animate")},150)}function fe(ee){if(k.value!==!1)return;let be=y.value,De=ot(ee.distance.x,0,be);if(ee.isFinal===!0){De>=Math.min(75,be)===!0?_():(c.animate(),ge(0),de(D.value*be)),C.value=!1;return}de((a.lang.rtl===!0?E.value!==!0:E.value)?Math.max(be-De,0):Math.min(0,De-be)),ge(ot(De/be,0,1)),ee.isFirst===!0&&(C.value=!0)}function Fe(ee){if(k.value!==!0)return;let be=y.value,De=ee.direction===e.side,ze=(a.lang.rtl===!0?De!==!0:De)?ot(ee.distance.x,0,be):0;if(ee.isFinal===!0){Math.abs(ze)<Math.min(75,be)===!0?(c.animate(),ge(1),de(0)):$(),C.value=!1;return}de(D.value*ze),ge(ot(1-ze/be,0,1)),ee.isFirst===!0&&(C.value=!0)}function He(){u(!1),we(!0)}function Qe(ee,be){c.update(e.side,ee,be)}function ue(ee,be){ee.value!==be&&(ee.value=be)}function ve(ee,be){Qe("size",ee===!0?e.miniWidth:be)}return c.instances[e.side]=F,ve(e.miniToOverlay,y.value),Qe("space",K.value),Qe("offset",B.value),e.showIfAbove===!0&&e.modelValue!==!0&&k.value===!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",!0),Ne(()=>{o("onLayout",K.value),o("miniState",x.value),h=e.showIfAbove===!0;let ee=()=>{(k.value===!0?b:p)(!1,!0)};if(c.totalWidth.value!==0){$e(ee);return}m=Y(c.totalWidth,()=>{m(),m=void 0,k.value===!1&&e.showIfAbove===!0&&g.value===!1?_(!1):ee()})}),Se(()=>{m!==void 0&&m(),v!==null&&(clearTimeout(v),v=null),k.value===!0&&He(),c.instances[e.side]===F&&(c.instances[e.side]=void 0,Qe("size",0),Qe("offset",0),Qe("space",!1))}),()=>{let ee=[];g.value===!0&&(e.noSwipeOpen===!1&&ee.push(Et(i("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),Q.value)),ee.push(Mt("div",{ref:"backdrop",class:H.value,style:w.value,"aria-hidden":"true",onClick:$},void 0,"backdrop",e.noSwipeBackdrop!==!0&&k.value===!0,()=>Me.value)));let be=x.value===!0&&t.mini!==void 0,De=[i("div",{...r,key:""+be,class:[I.value,r.class]},be===!0?t.mini():re(t.default))];return e.elevated===!0&&k.value===!0&&De.push(i("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),ee.push(Mt("aside",{ref:"content",class:ae.value,style:R.value},De,"contentclose",e.noSwipeClose!==!0&&g.value===!0,()=>me.value)),i("div",{class:"q-drawer-container"},ee)}}});function Cc(e,t){if(t&&e===t)return null;let o=e.nodeName.toLowerCase();if(["div","li","ul","ol","blockquote"].includes(o)===!0)return e;let r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,n=r.display;return n==="block"||n==="table"?e:Cc(e.parentNode)}function au(e,t,o){return!e||e===document.body?!1:o===!0&&e===t||(t===document?document.body:t).contains(e.parentNode)}function wc(e,t,o){if(o||(o=document.createRange(),o.selectNode(e),o.setStart(e,0)),t.count===0)o.setEnd(e,t.count);else if(t.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length<t.count?t.count-=e.textContent.length:(o.setEnd(e,t.count),t.count=0);else for(let r=0;t.count!==0&&r<e.childNodes.length;r++)o=wc(e.childNodes[r],t,o);return o}var uh=/^https?:\/\//,fi=class{constructor(t,o){this.el=t,this.eVm=o,this._range=null}get selection(){if(this.el){let t=document.getSelection();if(au(t.anchorNode,this.el,!0)&&au(t.focusNode,this.el,!0))return t}return null}get hasSelection(){return this.selection!==null?this.selection.toString().length!==0:!1}get range(){let t=this.selection;return t!==null&&t.rangeCount?t.getRangeAt(0):this._range}get parent(){let t=this.range;if(t!==null){let o=t.startContainer;return o.nodeType===document.ELEMENT_NODE?o:o.parentNode}return null}get blockParent(){let t=this.parent;return t!==null?Cc(t,this.el):null}save(t=this.range){t!==null&&(this._range=t)}restore(t=this._range){let o=document.createRange(),r=document.getSelection();t!==null?(o.setStart(t.startContainer,t.startOffset),o.setEnd(t.endContainer,t.endOffset),r.removeAllRanges(),r.addRange(o)):(r.selectAllChildren(this.el),r.collapseToEnd())}savePosition(){let t=-1,o,r=document.getSelection(),n=this.el.parentNode;if(r.focusNode&&au(r.focusNode,n))for(o=r.focusNode,t=r.focusOffset;o&&o!==n;)o!==this.el&&o.previousSibling?(o=o.previousSibling,t+=o.textContent.length):o=o.parentNode;this.savedPos=t}restorePosition(t=0){if(this.savedPos>0&&this.savedPos<t){let o=window.getSelection(),r=wc(this.el,{count:this.savedPos});r&&(r.collapse(!1),o.removeAllRanges(),o.addRange(r))}}hasParent(t,o){let r=o?this.parent:this.blockParent;return r!==null?r.nodeName.toLowerCase()===t.toLowerCase():!1}hasParents(t,o,r=this.parent){return r===null?!1:t.includes(r.nodeName.toLowerCase())===!0?!0:o===!0?this.hasParents(t,o,r.parentNode):!1}is(t,o){if(this.selection===null)return!1;switch(t){case"formatBlock":return o==="DIV"&&this.parent===this.el||this.hasParent(o,o==="PRE");case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(t)===o;case"fontName":let r=document.queryCommandValue(t);return r===`"${o}"`||r===o;case"fullscreen":return this.eVm.inFullscreen.value;case"viewsource":return this.eVm.isViewingSource.value;case void 0:return!1;default:let n=document.queryCommandState(t);return o!==void 0?n===o:n}}getParentAttribute(t){return this.parent!==null?this.parent.getAttribute(t):null}can(t){if(t==="outdent")return this.hasParents(["blockquote","li"],!0);if(t==="indent")return this.hasParents(["li"],!0);if(t==="link")return this.selection!==null||this.is("link")}apply(t,o,r=We){if(t==="formatBlock")["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(o)&&this.is(t,o)&&(t="outdent",o=null),o==="PRE"&&this.is(t,"PRE")&&(o="P");else if(t==="print"){r();let n=window.open();n.document.write(`
|
|
8
8
|
<!doctype html>
|
|
9
9
|
<html>
|
|
10
10
|
<head>
|
|
@@ -124,4 +124,4 @@
|
|
|
124
124
|
${uo}
|
|
125
125
|
|
|
126
126
|
${ne}
|
|
127
|
-
`,document.head.appendChild(Ae);let ye="normal";E.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-from`,D!==void 0&&(D.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-from-tween`),w.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-to`,C.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}`;let Ee=Oe=>{Oe===Object(Oe)&&Oe.animationName!==ie||(C.removeEventListener("animationend",Ee),C.removeEventListener("animationcancel",Ee),J(),Ae.remove())};l.qMorphCancel=()=>{l.qMorphCancel=void 0,o=!0,Ee()},C.qMorphCancel=()=>{C.qMorphCancel=void 0,o=!0,Ee()},C.addEventListener("animationend",Ee),C.addEventListener("animationcancel",Ee),t=Oe=>o===!0||!C||!E||!w?!1:Oe===!0?(Ee(),!0):(r=r!==!0,ye=ye==="normal"?"reverse":"normal",E.style.animationDirection=ye,D.style.animationDirection=ye,w.style.animationDirection=ye,C.style.animationDirection=ye,!0)}};a.waitFor>0||a.waitFor==="transitionend"||a.waitFor===Object(a.waitFor)&&typeof a.waitFor.then=="function"?(a.waitFor>0?new Promise(ce=>setTimeout(ce,a.waitFor)):a.waitFor==="transitionend"?new Promise(ce=>{let H=()=>{w!==null&&(clearTimeout(w),w=null),C&&(C.removeEventListener("transitionend",H),C.removeEventListener("transitioncancel",H)),ce()},w=setTimeout(H,400);C.addEventListener("transitionend",H),C.addEventListener("transitioncancel",H)}):a.waitFor).then(O).catch(()=>{typeof C.qMorphCancel=="function"&&C.qMorphCancel()}):O()};return typeof e.onToggle=="function"&&e.onToggle(),requestAnimationFrame(M),C=>t(C)}var rl={},qp=["duration","delay","easing","fill","classes","style","duration","resize","useCSS","hideFromClone","keepToClone","tween","tweenFromOpacity","tweenToOpacity","waitFor","onEnd"],Tp=["resize","useCSS","hideFromClone","keepToClone","tween"];function Qr(e,t){e.clsAction!==t&&(e.clsAction=t,e.el.classList[t]("q-morph--invisible"))}function em(e){if(e.animating===!0||e.queue.length<2)return;let[t,o]=e.queue;e.animating=!0,t.animating=!0,o.animating=!0,Qr(t,"remove"),Qr(o,"remove");let r=bi({from:t.el,to:o.el,onToggle(){Qr(t,"add"),Qr(o,"remove")},...o.opts,onEnd(n,a){o.opts.onEnd!==void 0&&o.opts.onEnd(n,a),a!==!0&&(t.animating=!1,o.animating=!1,e.animating=!1,e.cancel=void 0,e.queue.shift(),em(e))}});e.cancel=()=>{r(!0),e.cancel=void 0}}function tm(e,t){let o=t.opts;Tp.forEach(r=>{o[r]=e[r]===!0})}function Mp(e,t){let o=typeof e=="string"&&e.length!==0?e.split(":"):[];t.name=o[0],t.group=o[1],Object.assign(t.opts,{duration:isNaN(o[2])===!0?300:parseFloat(o[2]),waitFor:o[3]})}function Rp(e,t){e.group!==void 0&&(t.group=e.group),e.name!==void 0&&(t.name=e.name);let o=t.opts;qp.forEach(r=>{e[r]!==void 0&&(o[r]=e[r])})}function Pp(e,t){if(t.name===e){let o=rl[t.group];o===void 0?(rl[t.group]={name:t.group,model:e,queue:[t],animating:!1},Qr(t,"remove")):o.model!==e&&(o.model=e,o.queue.push(t),o.animating===!1&&o.queue.length===2&&em(o));return}t.animating===!1&&Qr(t,"add")}function Jf(e,t){let o;Object(t)===t?(o=""+t.model,Rp(t,e),tm(t,e)):o=""+t,o!==e.model?(e.model=o,Pp(o,e)):e.animating===!1&&e.clsAction!==void 0&&e.el.classList[e.clsAction]("q-morph--invisible")}var om=At({name:"morph",mounted(e,t){let o={el:e,animating:!1,opts:{}};tm(t.modifiers,o),Mp(t.arg,o),Jf(o,t.value),e.__qmorph=o},updated(e,t){Jf(e.__qmorph,t.value)},beforeUnmount(e){let t=e.__qmorph,o=rl[t.group];o!==void 0&&o.queue.indexOf(t)!==-1&&(o.queue=o.queue.filter(n=>n!==t),o.queue.length===0&&(o.cancel!==void 0&&o.cancel(),delete rl[t.group])),t.clsAction==="add"&&e.classList.remove("q-morph--invisible"),delete e.__qmorph}});var Ap={childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0,characterDataOldValue:!0};function nm(e,t,o){t.handler=o,t.observer!==void 0&&t.observer.disconnect(),t.observer=new MutationObserver(r=>{typeof t.handler=="function"&&(t.handler(r)===!1||t.once===!0)&&rm(e)}),t.observer.observe(e,t.opts)}function rm(e){let t=e.__qmutation;t!==void 0&&(t.observer!==void 0&&t.observer.disconnect(),delete e.__qmutation)}var im=At({name:"mutation",mounted(e,{modifiers:{once:t,...o},value:r}){let n={once:t,opts:Object.keys(o).length===0?Ap:o};nm(e,n,r),e.__qmutation=n},updated(e,{oldValue:t,value:o}){let r=e.__qmutation;r!==void 0&&t!==o&&nm(e,r,o)},beforeUnmount:rm});var{passive:il}=et;function am(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,il);return}e.handler=t,typeof o!="function"&&(e.scrollTarget.addEventListener("scroll",e.scroll,il),e.scroll())}var lm=At({name:"scroll-fire",mounted(e,t){let o={scrollTarget:Bt(e),scroll:Zt(()=>{let r,n;o.scrollTarget===window?(n=e.getBoundingClientRect().bottom,r=window.innerHeight):(n=Cn(e).top+Ao(e),r=Cn(o.scrollTarget).top+Ao(o.scrollTarget)),n>0&&n<r&&(o.scrollTarget.removeEventListener("scroll",o.scroll,il),o.handler(e))},25)};am(o,t),e.__qscrollfire=o},updated(e,t){t.value!==t.oldValue&&am(e.__qscrollfire,t)},beforeUnmount(e){let t=e.__qscrollfire;t.scrollTarget.removeEventListener("scroll",t.scroll,il),t.scroll.cancel(),delete e.__qscrollfire}});function um(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,et.passive);return}e.handler=t,typeof o!="function"&&e.scrollTarget.addEventListener("scroll",e.scroll,et.passive)}var sm=At({name:"scroll",mounted(e,t){let o={scrollTarget:Bt(e),scroll(){o.handler(to(o.scrollTarget),sn(o.scrollTarget))}};um(o,t),e.__qscroll=o},updated(e,t){e.__qscroll!==void 0&&t.oldValue!==t.value&&um(e.__qscroll,t)},beforeUnmount(e){let t=e.__qscroll;t.scrollTarget.removeEventListener("scroll",t.scroll,et.passive),delete e.__qscroll}});var cm=At({name:"touch-hold",beforeMount(e,t){let{modifiers:o}=t;if(o.mouse!==!0&&Re.has.touch!==!0)return;let r={handler:t.value,noop:We,mouseStart(a){typeof r.handler=="function"&&Ko(a)===!0&&(dt(r,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),r.start(a,!0))},touchStart(a){if(a.target!==void 0&&typeof r.handler=="function"){let l=a.target;dt(r,"temp",[[l,"touchmove","move","passiveCapture"],[l,"touchcancel","end","notPassiveCapture"],[l,"touchend","end","notPassiveCapture"]]),r.start(a)}},start(a,l){r.origin=_t(a);let u=Date.now();Re.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),r.styleCleanup=d=>{r.styleCleanup=void 0;let f=()=>{document.body.classList.remove("non-selectable")};d===!0?(Ot(),setTimeout(f,10)):f()}),r.triggered=!1,r.sensitivity=l===!0?r.mouseSensitivity:r.touchSensitivity,r.timer=setTimeout(()=>{r.timer=void 0,Ot(),r.triggered=!0,r.handler({evt:a,touch:l!==!0,mouse:l===!0,position:r.origin,duration:Date.now()-u})},r.duration)},move(a){let{top:l,left:u}=_t(a);r.timer!==void 0&&(Math.abs(u-r.origin.left)>=r.sensitivity||Math.abs(l-r.origin.top)>=r.sensitivity)&&(clearTimeout(r.timer),r.timer=void 0)},end(a){qt(r,"temp"),r.styleCleanup!==void 0&&r.styleCleanup(r.triggered),r.triggered===!0?a!==void 0&&qe(a):r.timer!==void 0&&(clearTimeout(r.timer),r.timer=void 0)}},n=[600,5,7];if(typeof t.arg=="string"&&t.arg.length!==0&&t.arg.split(":").forEach((a,l)=>{let u=parseInt(a,10);u&&(n[l]=u)}),[r.duration,r.touchSensitivity,r.mouseSensitivity]=n,e.__qtouchhold=r,o.mouse===!0){let a=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(r,"main",[[e,"mousedown","mouseStart",`passive${a}`]])}Re.has.touch===!0&&dt(r,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchend","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchhold;o!==void 0&&t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value)},beforeUnmount(e){let t=e.__qtouchhold;t!==void 0&&(qt(t,"main"),qt(t,"temp"),t.timer!==void 0&&clearTimeout(t.timer),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchhold)}});var dm={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},$p=new RegExp(`^([\\d+]+|${Object.keys(dm).join("|")})$`,"i");function Ep(e,t){let{top:o,left:r}=_t(e);return Math.abs(r-t.left)>=7||Math.abs(o-t.top)>=7}var fm=At({name:"touch-repeat",beforeMount(e,{modifiers:t,value:o,arg:r}){let n=Object.keys(t).reduce((d,f)=>{if($p.test(f)===!0){let c=isNaN(parseInt(f,10))?dm[f.toLowerCase()]:parseInt(f,10);c>=0&&d.push(c)}return d},[]);if(t.mouse!==!0&&Re.has.touch!==!0&&n.length===0)return;let a=typeof r=="string"&&r.length!==0?r.split(":").map(d=>parseInt(d,10)):[0,600,300],l=a.length-1,u={keyboard:n,handler:o,noop:We,mouseStart(d){u.event===void 0&&typeof u.handler=="function"&&Ko(d)===!0&&(dt(u,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!0))},keyboardStart(d){if(typeof u.handler=="function"&&Tt(d,n)===!0){if((a[0]===0||u.event!==void 0)&&(qe(d),e.focus(),u.event!==void 0))return;dt(u,"temp",[[document,"keyup","end","notPassiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!1,!0)}},touchStart(d){if(d.target!==void 0&&typeof u.handler=="function"){let f=d.target;dt(u,"temp",[[f,"touchmove","move","passiveCapture"],[f,"touchcancel","end","notPassiveCapture"],[f,"touchend","end","notPassiveCapture"]]),u.start(d)}},start(d,f,c){c!==!0&&(u.origin=_t(d));function h(m){u.styleCleanup=void 0,document.documentElement.style.cursor="";let g=()=>{document.body.classList.remove("non-selectable")};m===!0?(Ot(),setTimeout(g,10)):g()}Re.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=h),u.event={touch:f!==!0&&c!==!0,mouse:f===!0,keyboard:c===!0,startTime:Date.now(),repeatCount:0};let v=()=>{if(u.timer=void 0,u.event===void 0)return;u.event.repeatCount===0&&(u.event.evt=d,c===!0?u.event.keyCode=d.keyCode:u.event.position=_t(d),Re.is.mobile!==!0&&(document.documentElement.style.cursor="pointer",document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=h)),u.event.duration=Date.now()-u.event.startTime,u.event.repeatCount+=1,u.handler(u.event);let m=l<u.event.repeatCount?l:u.event.repeatCount;u.timer=setTimeout(v,a[m])};a[0]===0?v():u.timer=setTimeout(v,a[0])},move(d){u.event!==void 0&&u.timer!==void 0&&Ep(d,u.origin)===!0&&(clearTimeout(u.timer),u.timer=void 0)},end(d){u.event!==void 0&&(u.styleCleanup!==void 0&&u.styleCleanup(!0),d!==void 0&&u.event.repeatCount>0&&qe(d),qt(u,"temp"),u.timer!==void 0&&(clearTimeout(u.timer),u.timer=void 0),u.event=void 0)}};if(e.__qtouchrepeat=u,t.mouse===!0){let d=t.mouseCapture===!0||t.mousecapture===!0?"Capture":"";dt(u,"main",[[e,"mousedown","mouseStart",`passive${d}`]])}if(Re.has.touch===!0&&dt(u,"main",[[e,"touchstart","touchStart",`passive${t.capture===!0?"Capture":""}`],[e,"touchend","noop","passiveCapture"]]),n.length!==0){let d=t.keyCapture===!0||t.keycapture===!0?"Capture":"";dt(u,"main",[[e,"keydown","keyboardStart",`notPassive${d}`]])}},updated(e,{oldValue:t,value:o}){let r=e.__qtouchrepeat;r!==void 0&&t!==o&&(typeof o!="function"&&r.end(),r.handler=o)},beforeUnmount(e){let t=e.__qtouchrepeat;t!==void 0&&(t.timer!==void 0&&clearTimeout(t.timer),qt(t,"main"),qt(t,"temp"),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchrepeat)}});var hl={};Ur(hl,{AddressbarColor:()=>mm,AppFullscreen:()=>pm,AppVisibility:()=>ym,BottomSheet:()=>_m,Cookies:()=>Mm,Dark:()=>Mi,Dialog:()=>Pm,IconSet:()=>jn,Lang:()=>Yo,Loading:()=>Bm,LoadingBar:()=>Lm,LocalStorage:()=>Um,Meta:()=>Vm,Notify:()=>Qm,Platform:()=>Ro,Screen:()=>Ti,SessionStorage:()=>Ym});function yi(e,t=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue(`--q-${e}`).trim()||null}var ll;function Bp(){return Re.is.winphone?"msapplication-navbutton-color":Re.is.safari?"apple-mobile-web-app-status-bar-style":"theme-color"}function Lp(e){let t=document.getElementsByTagName("META");for(let o in t)if(t[o].name===e)return t[o]}function Fp(e){ll===void 0&&(ll=Bp());let t=Lp(ll),o=t===void 0;o&&(t=document.createElement("meta"),t.setAttribute("name",ll)),t.setAttribute("content",e),o&&document.head.appendChild(t)}var mm={set:Re.is.mobile===!0&&(Re.is.nativeMobile===!0||Re.is.winphone===!0||Re.is.safari===!0||Re.is.webkit===!0||Re.is.vivaldi===!0)?e=>{let t=e||yi("primary");Re.is.nativeMobile===!0&&window.StatusBar?window.StatusBar.backgroundColorByHexString(t):Fp(t)}:We,install({$q:e}){e.addressbarColor=this,e.config.addressbarColor&&this.set(e.config.addressbarColor)}};var Si={};function Dp(e){Object.assign(Ht,{request:e,exit:e,toggle:e})}function gm(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||null}function hm(){let e=Ht.activeEl=Ht.isActive===!1?null:gm();qs(e===null||e===document.documentElement?document.body:e)}function Vp(){Ht.isActive=Ht.isActive===!1,hm()}function vm(e,t){try{let o=e[t]();return o===void 0?Promise.resolve():o}catch(o){return Promise.reject(o)}}var Ht=jt({isActive:!1,activeEl:null},{isCapable:!1,install({$q:e}){e.fullscreen=this}});Si.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find(e=>document.documentElement[e]!==void 0),Ht.isCapable=Si.request!==void 0,Ht.isCapable===!1?Dp(()=>Promise.reject("Not capable")):(Object.assign(Ht,{request(e){let t=e||document.documentElement,{activeEl:o}=Ht;return t===o?Promise.resolve():(o!==null&&t.contains(o)===!0?Ht.exit():Promise.resolve()).finally(()=>vm(t,Si.request))},exit(){return Ht.isActive===!0?vm(document,Si.exit):Promise.resolve()},toggle(e){return Ht.isActive===!0?Ht.exit():Ht.request(e)}}),Si.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find(e=>document[e]),Ht.isActive=!!gm(),Ht.isActive===!0&&hm(),["onfullscreenchange","onmsfullscreenchange","onwebkitfullscreenchange"].forEach(e=>{document[e]=Vp}));var pm=Ht;var bm=jt({appVisible:!0},{install({$q:e}){st(e,"appVisible",()=>this.appVisible)}});{let e,t;if(typeof document.hidden<"u"?(e="hidden",t="visibilitychange"):typeof document.msHidden<"u"?(e="msHidden",t="msvisibilitychange"):typeof document.webkitHidden<"u"&&(e="webkitHidden",t="webkitvisibilitychange"),t&&typeof document[e]<"u"){let o=()=>{bm.appVisible=!document[e]};document.addEventListener(t,o,!1)}}var ym=bm;var Sm=A({name:"BottomSheetComponent",props:{..._e,title:String,message:String,actions:Array,grid:Boolean,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){let{proxy:o}=U(),r=Ce(e,o.$q),n=q(null);function a(){n.value.show()}function l(){n.value.hide()}function u(m){t("ok",m),l()}function d(){t("hide")}function f(){return e.actions.map(m=>{let g=m.avatar||m.img;return m.label===void 0?i(ao,{class:"col-all",dark:r.value}):i("div",{class:["q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position",m.class],style:m.style,tabindex:0,role:"listitem",onClick(){u(m)},onKeyup(x){x.keyCode===13&&u(m)}},[i("div",{class:"q-focus-helper"}),m.icon?i(Pe,{name:m.icon,color:m.color}):g?i("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:g}):i("div",{class:"q-bottom-sheet__empty-icon"}),i("div",m.label)])})}function c(){return e.actions.map(m=>{let g=m.avatar||m.img;return m.label===void 0?i(ao,{spaced:!0,dark:r.value}):i(Qo,{class:["q-bottom-sheet__item",m.classes],style:m.style,tabindex:0,clickable:!0,dark:r.value,onClick(){u(m)}},()=>[i(no,{avatar:!0},()=>m.icon?i(Pe,{name:m.icon,color:m.color}):g?i("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:g}):null),i(no,()=>m.label)])})}function h(){let m=[];return e.title&&m.push(i(xo,{class:"q-dialog__title"},()=>e.title)),e.message&&m.push(i(xo,{class:"q-dialog__message"},()=>e.message)),m.push(e.grid===!0?i("div",{class:"row items-stretch justify-start",role:"list"},f()):i("div",{role:"list"},c())),m}function v(){return[i(pr,{class:[`q-bottom-sheet q-bottom-sheet--${e.grid===!0?"grid":"list"}`+(r.value===!0?" q-bottom-sheet--dark q-dark":""),e.cardClass],style:e.cardStyle},h)]}return Object.assign(o,{show:a,hide:l}),()=>i(Ho,{ref:n,position:"bottom",onHide:d},v)}});function xm(e,t){for(let o in t)o!=="spinner"&&Object(t[o])===t[o]?(e[o]=Object(e[o])!==e[o]?{}:{...e[o]},xm(e[o],t[o])):e[o]=t[o]}function ul(e,t,o){return r=>{let n,a,l=t===!0&&r.component!==void 0;if(l===!0){let{component:S,componentProps:b}=r;n=typeof S=="string"?o.component(S):S,a=b||{}}else{let{class:S,style:b,...p}=r;n=e,a=p,S!==void 0&&(p.cardClass=S),b!==void 0&&(p.cardStyle=b)}let u,d=!1,f=q(null),c=Eo(!1,"dialog"),h=S=>{if(f.value!==null&&f.value[S]!==void 0){f.value[S]();return}let b=u.$.subTree;if(b&&b.component){if(b.component.proxy&&b.component.proxy[S]){b.component.proxy[S]();return}if(b.component.subTree&&b.component.subTree.component&&b.component.subTree.component.proxy&&b.component.subTree.component.proxy[S]){b.component.subTree.component.proxy[S]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},v=[],m=[],g={onOk(S){return v.push(S),g},onCancel(S){return m.push(S),g},onDismiss(S){return v.push(S),m.push(S),g},hide(){return h("hide"),g},update(S){if(u!==null){if(l===!0)Object.assign(a,S);else{let{class:b,style:p,..._}=S;b!==void 0&&(_.cardClass=b),p!==void 0&&(_.cardStyle=p),xm(a,_)}u.$forceUpdate()}return g}},x=S=>{d=!0,v.forEach(b=>{b(S)})},y=()=>{k.unmount(c),ar(c),k=null,u=null,d!==!0&&m.forEach(S=>{S()})},k=nn({name:"QGlobalDialog",setup:()=>()=>i(n,{...a,ref:f,onOk:x,onHide:y,onVnodeMounted(...S){typeof a.onVnodeMounted=="function"&&a.onVnodeMounted(...S),$e(()=>h("show"))}})},o);return u=k.mount(c),g}}var _m={install({$q:e,parentApp:t}){e.bottomSheet=this.create=ul(Sm,!1,t)}};function Cm(e){return encodeURIComponent(e)}function wm(e){return decodeURIComponent(e)}function zp(e){return Cm(e===Object(e)?JSON.stringify(e):""+e)}function Op(e){if(e==="")return e;e.indexOf('"')===0&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=wm(e.replace(/\+/g," "));try{let t=JSON.parse(e);(t===Object(t)||Array.isArray(t)===!0)&&(e=t)}catch{}return e}function km(e){let t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}function Ip(e){let t=0,o=e.match(/(\d+)d/),r=e.match(/(\d+)h/),n=e.match(/(\d+)m/),a=e.match(/(\d+)s/);return o&&(t+=o[1]*864e5),r&&(t+=r[1]*36e5),n&&(t+=n[1]*6e4),a&&(t+=a[1]*1e3),t===0?e:km(t)}function qm(e,t,o={},r){let n,a;o.expires!==void 0&&(Object.prototype.toString.call(o.expires)==="[object Date]"?n=o.expires.toUTCString():typeof o.expires=="string"?n=Ip(o.expires):(a=parseFloat(o.expires),n=isNaN(a)===!1?km(a*864e5):o.expires));let l=`${Cm(e)}=${zp(t)}`,u=[l,n!==void 0?"; Expires="+n:"",o.path?"; Path="+o.path:"",o.domain?"; Domain="+o.domain:"",o.sameSite?"; SameSite="+o.sameSite:"",o.httpOnly?"; HttpOnly":"",o.secure?"; Secure":"",o.other?"; "+o.other:""].join("");if(r){r.req.qCookies?r.req.qCookies.push(u):r.req.qCookies=[u],r.res.setHeader("Set-Cookie",r.req.qCookies);let d=r.req.headers.cookie||"";if(n!==void 0&&a<0){let f=sl(e,r);f!==void 0&&(d=d.replace(`${e}=${f}; `,"").replace(`; ${e}=${f}`,"").replace(`${e}=${f}`,""))}else d=d?`${l}; ${d}`:u;r.req.headers.cookie=d}else document.cookie=u}function sl(e,t){let o=t?t.req.headers:document,r=o.cookie?o.cookie.split("; "):[],n=r.length,a=e?null:{},l=0,u,d,f;for(;l<n;l++)if(u=r[l].split("="),d=wm(u.shift()),f=u.join("="),!e)a[d]=f;else if(e===d){a=Op(f);break}return a}function Hp(e,t,o){qm(e,"",{expires:-1,...t},o)}function Qp(e,t){return sl(e,t)!==null}function Np(e){return{get:t=>sl(t,e),set:(t,o,r)=>qm(t,o,r,e),has:t=>Qp(t,e),remove:(t,o)=>Hp(t,o,e),getAll:()=>sl(null,e)}}var Tm={install({$q:e,ssrContext:t}){e.cookies=this}};Object.assign(Tm,Np());var Mm=Tm;var Rm=A({name:"DialogPluginComponent",props:{..._e,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}){let{proxy:o}=U(),{$q:r}=o,n=Ce(e,r),a=q(null),l=q(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),u=s(()=>"q-dialog-plugin"+(n.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),d=s(()=>e.color||(n.value===!0?"amber":"primary")),f=s(()=>e.progress===!1?null:ct(e.progress)===!0?{component:e.progress.spinner||wt,props:{color:e.progress.color||d.value}}:{component:wt,props:{color:d.value}}),c=s(()=>e.prompt!==void 0||e.options!==void 0),h=s(()=>{if(c.value!==!0)return{};let{model:T,isValid:G,items:X,...B}=e.prompt!==void 0?e.prompt:e.options;return B}),v=s(()=>ct(e.ok)===!0||e.ok===!0?r.lang.label.ok:e.ok),m=s(()=>ct(e.cancel)===!0||e.cancel===!0?r.lang.label.cancel:e.cancel),g=s(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:!1),x=s(()=>({color:d.value,label:v.value,ripple:!1,disable:g.value,...ct(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&c.value!==!0||void 0,onClick:b})),y=s(()=>({color:d.value,label:m.value,ripple:!1,...ct(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&c.value!==!0||void 0,onClick:p}));Y(()=>e.prompt&&e.prompt.model,$),Y(()=>e.options&&e.options.model,$);function k(){a.value.show()}function S(){a.value.hide()}function b(){t("ok",co(l.value)),S()}function p(){S()}function _(){t("hide")}function $(T){l.value=T}function L(T){g.value!==!0&&e.prompt.type!=="textarea"&&Tt(T,13)===!0&&b()}function V(T,G){return e.html===!0?i(xo,{class:T,innerHTML:G}):i(xo,{class:T},()=>G)}function F(){return[i(Vr,{color:d.value,dense:!0,autofocus:!0,dark:n.value,...h.value,modelValue:l.value,"onUpdate:modelValue":$,onKeyup:L})]}function E(){return[i(Ha,{color:d.value,options:e.options.items,dark:n.value,...h.value,modelValue:l.value,"onUpdate:modelValue":$})]}function D(){let T=[];return e.cancel&&T.push(i(Ie,y.value)),e.ok&&T.push(i(Ie,x.value)),i(ea,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>T)}function M(){let T=[];return e.title&&T.push(V("q-dialog__title",e.title)),e.progress!==!1&&T.push(i(xo,{class:"q-dialog__progress"},()=>i(f.value.component,f.value.props))),e.message&&T.push(V("q-dialog__message",e.message)),e.prompt!==void 0?T.push(i(xo,{class:"scroll q-dialog-plugin__form"},F)):e.options!==void 0&&T.push(i(ao,{dark:n.value}),i(xo,{class:"scroll q-dialog-plugin__form"},E),i(ao,{dark:n.value})),(e.ok||e.cancel)&&T.push(D()),T}function C(){return[i(pr,{class:[u.value,e.cardClass],style:e.cardStyle,dark:n.value},M)]}return Object.assign(o,{show:k,hide:S}),()=>i(Ho,{ref:a,onHide:_},C)}});var Pm={install({$q:e,parentApp:t}){e.dialog=this.create=ul(Rm,!0,t)}};var Nr,hu,Am=0,On=null,Vt={},In={},$m={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:wt,customClass:""},Em={...$m};function jp(e){if(e&&e.group!==void 0&&In[e.group]!==void 0)return Object.assign(In[e.group],e);let t=ct(e)===!0&&e.ignoreDefaults===!0?{...$m,...e}:{...Em,...e};return In[t.group]=t,t}var wo=jt({isActive:!1},{show(e){Vt=jp(e);let{group:t}=Vt;return wo.isActive=!0,Nr!==void 0?(Vt.uid=Am,hu.$forceUpdate()):(Vt.uid=++Am,On!==null&&clearTimeout(On),On=setTimeout(()=>{On=null;let o=Eo("q-loading");Nr=nn({name:"QLoading",setup(){Ne(()=>{di(!0)});function r(){wo.isActive!==!0&&Nr!==void 0&&(di(!1),Nr.unmount(o),ar(o),Nr=void 0,hu=void 0)}function n(){if(wo.isActive!==!0)return null;let a=[i(Vt.spinner,{class:"q-loading__spinner",color:Vt.spinnerColor,size:Vt.spinnerSize})];return Vt.message&&a.push(i("div",{class:"q-loading__message"+(Vt.messageColor?` text-${Vt.messageColor}`:""),[Vt.html===!0?"innerHTML":"textContent"]:Vt.message})),i("div",{class:"q-loading fullscreen flex flex-center z-max "+Vt.customClass.trim(),key:Vt.uid},[i("div",{class:"q-loading__backdrop"+(Vt.backgroundColor?` bg-${Vt.backgroundColor}`:"")}),i("div",{class:"q-loading__box column items-center "+Vt.boxClass},a)])}return()=>i(lt,{name:"q-transition--fade",appear:!0,onAfterLeave:r},n)}},wo.__parentApp),hu=Nr.mount(o)},Vt.delay)),o=>{if(o===void 0||Object(o)!==o){wo.hide(t);return}wo.show({...o,group:t})}},hide(e){if(wo.isActive===!0){if(e===void 0)In={};else{if(In[e]===void 0)return;{delete In[e];let t=Object.keys(In);if(t.length!==0){let o=t[t.length-1];wo.show({group:o});return}}}On!==null&&(clearTimeout(On),On=null),wo.isActive=!1}},setDefaults(e){ct(e)===!0&&Object.assign(Em,e)},install({$q:e,parentApp:t}){e.loading=this,wo.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),Bm=wo;var cl=q(null),pu=jt({isActive:!1},{start:We,stop:We,increment:We,setDefaults:We,install({$q:e,parentApp:t}){if(e.loadingBar=this,this.__installed===!0){e.config.loadingBar!==void 0&&this.setDefaults(e.config.loadingBar);return}let o=q(e.config.loadingBar!==void 0?{...e.config.loadingBar}:{});function r(){pu.isActive=!0}function n(){pu.isActive=!1}let a=Eo("q-loading-bar");nn({name:"LoadingBar",devtools:{hide:!0},setup:()=>()=>i(Di,{...o.value,onStart:r,onStop:n,ref:cl})},t).mount(a),Object.assign(this,{start(l){cl.value.start(l)},stop(){cl.value.stop()},increment(){cl.value.increment.apply(null,arguments)},setDefaults(l){ct(l)===!0&&Object.assign(o.value,l)}})}}),Lm=pu;var dl=null,bu,ko=[];function Up(e){e.title&&(e.title=e.titleTemplate?e.titleTemplate(e.title):e.title,delete e.titleTemplate),[["meta","content"],["link","href"]].forEach(t=>{let o=e[t[0]],r=t[1];for(let n in o){let a=o[n];a.template&&(Object.keys(a).length===1?delete o[n]:(a[r]=a.template(a[r]||""),delete a.template))}})}function Kp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(let o in e)if(e[o]!==t[o])return!0}function Fm(e){return["class","style"].includes(e)===!1}function Dm(e){return["lang","dir"].includes(e)===!1}function Wp(e,t){let o={},r={};return e===void 0?{add:t,remove:r}:(e.title!==t.title&&(o.title=t.title),["meta","link","script","htmlAttr","bodyAttr"].forEach(n=>{let a=e[n],l=t[n];if(r[n]=[],a==null){o[n]=l;return}o[n]={};for(let u in a)l.hasOwnProperty(u)===!1&&r[n].push(u);for(let u in l)a.hasOwnProperty(u)===!1?o[n][u]=l[u]:Kp(a[u],l[u])===!0&&(r[n].push(u),o[n][u]=l[u])}),{add:o,remove:r})}function Yp({add:e,remove:t}){e.title&&(document.title=e.title),Object.keys(t).length!==0&&(["meta","link","script"].forEach(o=>{t[o].forEach(r=>{document.head.querySelector(`${o}[data-qmeta="${r}"]`).remove()})}),t.htmlAttr.filter(Dm).forEach(o=>{document.documentElement.removeAttribute(o)}),t.bodyAttr.filter(Fm).forEach(o=>{document.body.removeAttribute(o)})),["meta","link","script"].forEach(o=>{let r=e[o];for(let n in r){let a=document.createElement(o);for(let l in r[n])l!=="innerHTML"&&a.setAttribute(l,r[n][l]);a.setAttribute("data-qmeta",n),o==="script"&&(a.innerHTML=r[n].innerHTML||""),document.head.appendChild(a)}}),Object.keys(e.htmlAttr).filter(Dm).forEach(o=>{document.documentElement.setAttribute(o,e.htmlAttr[o]||"")}),Object.keys(e.bodyAttr).filter(Fm).forEach(o=>{document.body.setAttribute(o,e.bodyAttr[o]||"")})}function Xp(){dl=null;let e={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};for(let t=0;t<ko.length;t++){let{active:o,val:r}=ko[t];o===!0&&vn(!0,e,r)}Up(e),Yp(Wp(bu,e)),bu=e}function lo(){dl!==null&&clearTimeout(dl),dl=setTimeout(Xp,50)}var Vm={install(e){this.__installed!==!0&&xt.value===!0&&(bu=window.__Q_META__,document.getElementById("qmeta-init").remove())}};var Gp=0,fl={},ml={},qo={},Om={},Zp=/^\s*$/,Im=[],Jp=[void 0,null,!0,!1,""],yu=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],e0=["top-left","top-right","bottom-left","bottom-right"],jr={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 Hm(e,t,o){if(!e)return xi("parameter required");let r,n={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(n,fl),ct(e)===!1&&(n.type&&Object.assign(n,jr[n.type]),e={message:e}),Object.assign(n,jr[e.type||n.type],e),typeof n.icon=="function"&&(n.icon=n.icon(t)),n.spinner?(n.spinner===!0&&(n.spinner=wt),n.spinner=Kr(n.spinner)):n.spinner=!1,n.meta={hasMedia:!!(n.spinner!==!1||n.icon||n.avatar),hasText:zm(n.message)||zm(n.caption)},n.position){if(yu.includes(n.position)===!1)return xi("wrong position",e)}else n.position="bottom";if(Jp.includes(n.timeout)===!0)n.timeout=5e3;else{let d=Number(n.timeout);if(isNaN(d)||d<0)return xi("wrong timeout",e);n.timeout=Number.isFinite(d)?d:0}n.timeout===0?n.progress=!1:n.progress===!0&&(n.meta.progressClass="q-notification__progress"+(n.progressClass?` ${n.progressClass}`:""),n.meta.progressStyle={animationDuration:`${n.timeout+1e3}ms`});let a=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(fl.actions)===!0?fl.actions:[]).concat(jr[e.type]!==void 0&&Array.isArray(jr[e.type].actions)===!0?jr[e.type].actions:[]),{closeBtn:l}=n;if(l&&a.push({label:typeof l=="string"?l:t.lang.label.close}),n.actions=a.map(({handler:d,noDismiss:f,...c})=>({flat:!0,...c,onClick:typeof d=="function"?()=>{d(),f!==!0&&u()}:()=>{u()}})),n.multiLine===void 0&&(n.multiLine=n.actions.length>1),Object.assign(n.meta,{class:`q-notification row items-stretch q-notification--${n.multiLine===!0?"multi-line":"standard"}`+(n.color!==void 0?` bg-${n.color}`:"")+(n.textColor!==void 0?` text-${n.textColor}`:"")+(n.classes!==void 0?` ${n.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(n.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(n.multiLine===!0?"":" col"),leftClass:n.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...n.attrs}}),n.group===!1?(n.group=void 0,n.meta.group=void 0):((n.group===void 0||n.group===!0)&&(n.group=[n.message,n.caption,n.multiline].concat(n.actions.map(d=>`${d.label}*${d.icon}`)).join("|")),n.meta.group=n.group+"|"+n.position),n.actions.length===0?n.actions=void 0:n.meta.actionsClass="q-notification__actions row items-center "+(n.multiLine===!0?"justify-end":"col-auto")+(n.meta.hasMedia===!0?" q-notification__actions--with-media":""),o!==void 0){o.notif.meta.timer&&(clearTimeout(o.notif.meta.timer),o.notif.meta.timer=void 0),n.meta.uid=o.notif.meta.uid;let d=qo[n.position].value.indexOf(o.notif);qo[n.position].value[d]=n}else{let d=ml[n.meta.group];if(d===void 0){if(n.meta.uid=Gp++,n.meta.badge=1,["left","right","center"].indexOf(n.position)!==-1)qo[n.position].value.splice(Math.floor(qo[n.position].value.length/2),0,n);else{let f=n.position.indexOf("top")!==-1?"unshift":"push";qo[n.position].value[f](n)}n.group!==void 0&&(ml[n.meta.group]=n)}else{if(d.meta.timer&&(clearTimeout(d.meta.timer),d.meta.timer=void 0),n.badgePosition!==void 0){if(e0.includes(n.badgePosition)===!1)return xi("wrong badgePosition",e)}else n.badgePosition=`top-${n.position.indexOf("left")!==-1?"right":"left"}`;n.meta.uid=d.meta.uid,n.meta.badge=d.meta.badge+1,n.meta.badgeClass=`q-notification__badge q-notification__badge--${n.badgePosition}`+(n.badgeColor!==void 0?` bg-${n.badgeColor}`:"")+(n.badgeTextColor!==void 0?` text-${n.badgeTextColor}`:"")+(n.badgeClass?` ${n.badgeClass}`:"");let f=qo[n.position].value.indexOf(d);qo[n.position].value[f]=ml[n.meta.group]=n}}let u=()=>{t0(n),r=void 0};if(n.timeout>0&&(n.meta.timer=setTimeout(()=>{n.meta.timer=void 0,u()},n.timeout+1e3)),n.group!==void 0)return d=>{d!==void 0?xi("trying to update a grouped one which is forbidden",e):u()};if(r={dismiss:u,config:e,notif:n},o!==void 0){Object.assign(o,r);return}return d=>{if(r!==void 0)if(d===void 0)r.dismiss();else{let f=Object.assign({},r.config,d,{group:!1,position:n.position});Hm(f,t,r)}}}function t0(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);let t=qo[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete ml[e.meta.group];let o=Im[""+e.meta.uid];if(o){let{width:r,height:n}=getComputedStyle(o);o.style.left=`${o.offsetLeft}px`,o.style.width=r,o.style.height=n}qo[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function zm(e){return e!=null&&Zp.test(e)!==!0}function xi(e,t){return console.error(`Notify: ${e}`,t),!1}function o0(){return A({name:"QNotifications",devtools:{hide:!0},setup(){return()=>i("div",{class:"q-notifications"},yu.map(e=>i($u,{key:e,class:Om[e],tag:"div",name:`q-notification--${e}`},()=>qo[e].value.map(t=>{let o=t.meta,r=[];if(o.hasMedia===!0&&(t.spinner!==!1?r.push(i(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+o.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?r.push(i(Pe,{class:"q-notification__icon q-notification__icon--"+o.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&r.push(i(zi,{class:"q-notification__avatar q-notification__avatar--"+o.leftClass},()=>i("img",{src:t.avatar,"aria-hidden":"true"})))),o.hasText===!0){let a,l={class:"q-notification__message col"};if(t.html===!0)l.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{let u=[t.message];a=t.caption?[i("div",u),i("div",{class:"q-notification__caption"},[t.caption])]:u}r.push(i("div",l,a))}let n=[i("div",{class:o.contentClass},r)];return t.progress===!0&&n.push(i("div",{key:`${o.uid}|p|${o.badge}`,class:o.progressClass,style:o.progressStyle})),t.actions!==void 0&&n.push(i("div",{class:o.actionsClass},t.actions.map(a=>i(Ie,a)))),o.badge>1&&n.push(i("div",{key:`${o.uid}|${o.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[o.badge])),i("div",{ref:a=>{Im[""+o.uid]=a},key:o.uid,class:o.class,...o.attrs},[i("div",{class:o.wrapperClass},n)])}))))}})}var Qm={setDefaults(e){ct(e)===!0&&Object.assign(fl,e)},registerType(e,t){ct(t)===!0&&(jr[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=o=>Hm(o,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){yu.forEach(r=>{qo[r]=q([]);let n=["left","center","right"].includes(r)===!0?"center":r.indexOf("top")!==-1?"top":"bottom",a=r.indexOf("left")!==-1?"start":r.indexOf("right")!==-1?"end":"center",l=["left","right"].includes(r)?`items-${r==="left"?"start":"end"} justify-center`:r==="center"?"flex-center":`items-${a}`;Om[r]=`q-notifications__list q-notifications__list--${n} fixed column no-wrap ${l}`});let o=Eo("q-notify");nn(o0(),t).mount(o)}}};function n0(e){return Go(e)===!0?"__q_date|"+e.getTime():kl(e)===!0?"__q_expr|"+e.source:typeof e=="number"?"__q_numb|"+e:typeof e=="boolean"?"__q_bool|"+(e?"1":"0"):typeof e=="string"?"__q_strn|"+e:typeof e=="function"?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function r0(e){if(e.length<9)return e;let o=e.substring(0,8),r=e.substring(9);switch(o){case"__q_date":let n=Number(r);return new Date(Number.isNaN(n)===!0?r:n);case"__q_expr":return new RegExp(r);case"__q_numb":return Number(r);case"__q_bool":return r==="1";case"__q_strn":return""+r;case"__q_objt":return JSON.parse(r);default:return e}}function vl(){let e=()=>null;return{has:()=>!1,hasItem:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:We,setItem:We,remove:We,removeItem:We,clear:We,isEmpty:()=>!0}}function gl(e){let t=window[e+"Storage"],o=l=>{let u=t.getItem(l);return u?r0(u):null},r=l=>t.getItem(l)!==null,n=(l,u)=>{t.setItem(l,n0(u))},a=l=>{t.removeItem(l)};return{has:r,hasItem:r,getLength:()=>t.length,getItem:o,getIndex:l=>l<t.length?o(t.key(l)):null,getKey:l=>l<t.length?t.key(l):null,getAll:()=>{let l,u={},d=t.length;for(let f=0;f<d;f++)l=t.key(f),u[l]=o(l);return u},getAllKeys:()=>{let l=[],u=t.length;for(let d=0;d<u;d++)l.push(t.key(d));return l},set:n,setItem:n,remove:a,removeItem:a,clear:()=>{t.clear()},isEmpty:()=>t.length===0}}var Nm=Re.has.webStorage===!1?vl():gl("local"),jm={install({$q:e}){e.localStorage=Nm}};Object.assign(jm,Nm);var Um=jm;var Km=Re.has.webStorage===!1?vl():gl("session"),Wm={install({$q:e}){e.sessionStorage=Km}};Object.assign(Wm,Km);var Ym=Wm;var xu={};Ur(xu,{EventBus:()=>_i,clone:()=>en,colors:()=>Zs,copyToClipboard:()=>Xm,createMetaMixin:()=>Gm,createUploaderComponent:()=>tl,date:()=>fc,debounce:()=>Zt,dom:()=>bs,event:()=>Vu,exportFile:()=>Jm,extend:()=>vn,format:()=>Ju,frameDebounce:()=>Or,getCssVar:()=>yi,is:()=>Wu,morph:()=>bi,noop:()=>We,openURL:()=>tv,patterns:()=>Gs,runSequentialPromises:()=>Su,scroll:()=>Rs,setCssVar:()=>Wr,throttle:()=>Jn,uid:()=>Fo});function i0(e){let t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";let o=()=>{};dr(o),document.body.appendChild(t),t.focus(),t.select();let r=document.execCommand("copy");return t.remove(),Rn(o),r}function Xm(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,o)=>{let r=i0(e);r?t(!0):o(r)})}var Gm=e=>{let t={activated(){this.__qMeta.active=!0,lo()},deactivated(){this.__qMeta.active=!1,lo()},unmounted(){ko.splice(ko.indexOf(this.__qMeta),1),lo(),this.__qMeta=void 0}};return typeof e=="function"?Object.assign(t,{computed:{__qMetaOptions(){return e.call(this)||{}}},watch:{__qMetaOptions(o){this.__qMeta.val=o,this.__qMeta.active===!0&&lo()}},created(){this.__qMeta={active:!0,val:this.__qMetaOptions},ko.push(this.__qMeta),lo()}}):t.created=function(){this.__qMeta={active:!0,val:e},ko.push(this.__qMeta),lo()},t};var _i=class{constructor(){this.__stack={}}on(t,o,r){return(this.__stack[t]||(this.__stack[t]=[])).push({fn:o,ctx:r}),this}once(t,o,r){let n=(...a)=>{this.off(t,n),o.apply(r,a)};return n.__callback=o,this.on(t,n,r)}emit(t){let o=this.__stack[t];if(o!==void 0){let r=[].slice.call(arguments,1);o.forEach(n=>{n.fn.apply(n.ctx,r)})}return this}off(t,o){let r=this.__stack[t];if(r===void 0)return this;if(o===void 0)return delete this.__stack[t],this;let n=r.filter(a=>a.fn!==o&&a.fn.__callback!==o);return n.length!==0?this.__stack[t]=n:delete this.__stack[t],this}};function Zm(e){setTimeout(()=>{window.URL.revokeObjectURL(e.href)},1e4),e.remove()}function Jm(e,t,o={}){let{mimeType:r,byteOrderMark:n,encoding:a}=typeof o=="string"?{mimeType:o}:o,l=a!==void 0?new TextEncoder(a).encode([t]):t,u=n!==void 0?[n,l]:[l],d=new Blob(u,{type:r||"application/octet-stream"}),f=document.createElement("a");f.href=window.URL.createObjectURL(d),f.setAttribute("download",e),typeof f.download>"u"&&f.setAttribute("target","_blank"),f.classList.add("hidden"),f.style.position="fixed",document.body.appendChild(f);try{return f.click(),Zm(f),!0}catch(c){return Zm(f),c}}function a0(e){let t=Object.assign({noopener:!0},e),o=[];for(let r in t){let n=t[r];n===!0?o.push(r):(fo(n)||typeof n=="string"&&n!=="")&&o.push(r+"="+n)}return o.join(",")}function ev(e,t,o){let r=window.open;if(Ro.is.cordova===!0){if(cordova!==void 0&&cordova.InAppBrowser!==void 0&&cordova.InAppBrowser.open!==void 0)r=cordova.InAppBrowser.open;else if(navigator!==void 0&&navigator.app!==void 0)return navigator.app.loadUrl(e,{openExternal:!0})}let n=r(e,"_blank",a0(o));if(n)return Ro.is.desktop&&n.focus(),n;t&&t()}var tv=(e,t,o)=>{if(Ro.is.ios===!0&&window.SafariViewController!==void 0){window.SafariViewController.isAvailable(r=>{r?window.SafariViewController.show({url:e},We,t):ev(e,t,o)});return}return ev(e,t,o)};function l0(e){let t=Array.isArray(e);if(t===!0){let n=e.length;return{isList:t,totalJobs:n,resultAggregator:Array(n).fill(null)}}let o=Object.keys(e),r={};return o.forEach(n=>{r[n]=null}),{isList:t,totalJobs:o.length,resultAggregator:r,resultKeys:o}}function Su(e,{threadsNumber:t=1,abortOnFail:o=!0}={}){let r=-1,n=!1,{isList:a,totalJobs:l,resultAggregator:u,resultKeys:d}=l0(e),f=()=>new Promise((h,v)=>{function m(){let g=++r;if(n===!0||g>=l){h();return}let x=a===!0?g:d[g];e[x](u).then(y=>{if(n===!0){h();return}u[x]={key:x,status:"fulfilled",value:y},setTimeout(m)}).catch(y=>{if(n===!0){h();return}let k={key:x,status:"rejected",reason:y};if(u[x]=k,o===!0){n=!0,v({...k,resultAggregator:u});return}setTimeout(m)})}m()}),c=Array(t).fill(f());return Promise.all(c).then(()=>u)}var Cu={};Ur(Cu,{useDialogPluginComponent:()=>Ci,useFormChild:()=>Ma,useHydration:()=>Rr,useId:()=>Do,useInterval:()=>rv,useMeta:()=>nv,useQuasar:()=>_u,useRenderCache:()=>So,useSplitAttrs:()=>Br,useTick:()=>yo,useTimeout:()=>Yt});function Ci(){let{emit:e,proxy:t}=U(),o=q(null);function r(){o.value.show()}function n(){o.value.hide()}function a(u){e("ok",u),n()}function l(){e("hide")}return Object.assign(t,{show:r,hide:n}),{dialogRef:o,onDialogHide:l,onDialogOK:a,onDialogCancel:n}}var ov=["ok","hide"];Ci.emits=ov;Ci.emitsObject=el(ov);function nv(e){{let t={active:!0};if(typeof e=="function"){let o=s(e);t.val=o.value,Y(o,r=>{t.val=r,t.active===!0&&lo()})}else t.val=e;ko.push(t),lo(),Qt(()=>{t.active=!0,lo()}),Pt(()=>{t.active=!1,lo()}),Nn(()=>{ko.splice(ko.indexOf(t),1),lo()})}}function _u(){return ht(Ri)}function rv(){let e=null,t=U();function o(){e!==null&&(clearInterval(e),e=null)}return Pt(o),Se(o),{removeInterval:o,registerInterval(r,n){o(e),Wt(t)===!1&&(e=setInterval(r,n))}}}window.Vue===void 0&&console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");window.Quasar={version:"2.16.3",install(e,t){Gu(e,{components:ol,directives:al,plugins:hl,...t})},lang:Yo,iconSet:jn,...ol,...al,...hl,...Cu,...xu};})();
|
|
127
|
+
`,document.head.appendChild(Ae);let ye="normal";E.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-from`,D!==void 0&&(D.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-from-tween`),w.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}-to`,C.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${ye} ${a.fill} ${ie}`;let Ee=Oe=>{Oe===Object(Oe)&&Oe.animationName!==ie||(C.removeEventListener("animationend",Ee),C.removeEventListener("animationcancel",Ee),J(),Ae.remove())};l.qMorphCancel=()=>{l.qMorphCancel=void 0,o=!0,Ee()},C.qMorphCancel=()=>{C.qMorphCancel=void 0,o=!0,Ee()},C.addEventListener("animationend",Ee),C.addEventListener("animationcancel",Ee),t=Oe=>o===!0||!C||!E||!w?!1:Oe===!0?(Ee(),!0):(r=r!==!0,ye=ye==="normal"?"reverse":"normal",E.style.animationDirection=ye,D.style.animationDirection=ye,w.style.animationDirection=ye,C.style.animationDirection=ye,!0)}};a.waitFor>0||a.waitFor==="transitionend"||a.waitFor===Object(a.waitFor)&&typeof a.waitFor.then=="function"?(a.waitFor>0?new Promise(ce=>setTimeout(ce,a.waitFor)):a.waitFor==="transitionend"?new Promise(ce=>{let H=()=>{w!==null&&(clearTimeout(w),w=null),C&&(C.removeEventListener("transitionend",H),C.removeEventListener("transitioncancel",H)),ce()},w=setTimeout(H,400);C.addEventListener("transitionend",H),C.addEventListener("transitioncancel",H)}):a.waitFor).then(O).catch(()=>{typeof C.qMorphCancel=="function"&&C.qMorphCancel()}):O()};return typeof e.onToggle=="function"&&e.onToggle(),requestAnimationFrame(M),C=>t(C)}var rl={},qp=["duration","delay","easing","fill","classes","style","duration","resize","useCSS","hideFromClone","keepToClone","tween","tweenFromOpacity","tweenToOpacity","waitFor","onEnd"],Tp=["resize","useCSS","hideFromClone","keepToClone","tween"];function Qr(e,t){e.clsAction!==t&&(e.clsAction=t,e.el.classList[t]("q-morph--invisible"))}function em(e){if(e.animating===!0||e.queue.length<2)return;let[t,o]=e.queue;e.animating=!0,t.animating=!0,o.animating=!0,Qr(t,"remove"),Qr(o,"remove");let r=bi({from:t.el,to:o.el,onToggle(){Qr(t,"add"),Qr(o,"remove")},...o.opts,onEnd(n,a){o.opts.onEnd!==void 0&&o.opts.onEnd(n,a),a!==!0&&(t.animating=!1,o.animating=!1,e.animating=!1,e.cancel=void 0,e.queue.shift(),em(e))}});e.cancel=()=>{r(!0),e.cancel=void 0}}function tm(e,t){let o=t.opts;Tp.forEach(r=>{o[r]=e[r]===!0})}function Mp(e,t){let o=typeof e=="string"&&e.length!==0?e.split(":"):[];t.name=o[0],t.group=o[1],Object.assign(t.opts,{duration:isNaN(o[2])===!0?300:parseFloat(o[2]),waitFor:o[3]})}function Rp(e,t){e.group!==void 0&&(t.group=e.group),e.name!==void 0&&(t.name=e.name);let o=t.opts;qp.forEach(r=>{e[r]!==void 0&&(o[r]=e[r])})}function Pp(e,t){if(t.name===e){let o=rl[t.group];o===void 0?(rl[t.group]={name:t.group,model:e,queue:[t],animating:!1},Qr(t,"remove")):o.model!==e&&(o.model=e,o.queue.push(t),o.animating===!1&&o.queue.length===2&&em(o));return}t.animating===!1&&Qr(t,"add")}function Jf(e,t){let o;Object(t)===t?(o=""+t.model,Rp(t,e),tm(t,e)):o=""+t,o!==e.model?(e.model=o,Pp(o,e)):e.animating===!1&&e.clsAction!==void 0&&e.el.classList[e.clsAction]("q-morph--invisible")}var om=At({name:"morph",mounted(e,t){let o={el:e,animating:!1,opts:{}};tm(t.modifiers,o),Mp(t.arg,o),Jf(o,t.value),e.__qmorph=o},updated(e,t){Jf(e.__qmorph,t.value)},beforeUnmount(e){let t=e.__qmorph,o=rl[t.group];o!==void 0&&o.queue.indexOf(t)!==-1&&(o.queue=o.queue.filter(n=>n!==t),o.queue.length===0&&(o.cancel!==void 0&&o.cancel(),delete rl[t.group])),t.clsAction==="add"&&e.classList.remove("q-morph--invisible"),delete e.__qmorph}});var Ap={childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0,characterDataOldValue:!0};function nm(e,t,o){t.handler=o,t.observer!==void 0&&t.observer.disconnect(),t.observer=new MutationObserver(r=>{typeof t.handler=="function"&&(t.handler(r)===!1||t.once===!0)&&rm(e)}),t.observer.observe(e,t.opts)}function rm(e){let t=e.__qmutation;t!==void 0&&(t.observer!==void 0&&t.observer.disconnect(),delete e.__qmutation)}var im=At({name:"mutation",mounted(e,{modifiers:{once:t,...o},value:r}){let n={once:t,opts:Object.keys(o).length===0?Ap:o};nm(e,n,r),e.__qmutation=n},updated(e,{oldValue:t,value:o}){let r=e.__qmutation;r!==void 0&&t!==o&&nm(e,r,o)},beforeUnmount:rm});var{passive:il}=et;function am(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,il);return}e.handler=t,typeof o!="function"&&(e.scrollTarget.addEventListener("scroll",e.scroll,il),e.scroll())}var lm=At({name:"scroll-fire",mounted(e,t){let o={scrollTarget:Bt(e),scroll:Zt(()=>{let r,n;o.scrollTarget===window?(n=e.getBoundingClientRect().bottom,r=window.innerHeight):(n=Cn(e).top+Ao(e),r=Cn(o.scrollTarget).top+Ao(o.scrollTarget)),n>0&&n<r&&(o.scrollTarget.removeEventListener("scroll",o.scroll,il),o.handler(e))},25)};am(o,t),e.__qscrollfire=o},updated(e,t){t.value!==t.oldValue&&am(e.__qscrollfire,t)},beforeUnmount(e){let t=e.__qscrollfire;t.scrollTarget.removeEventListener("scroll",t.scroll,il),t.scroll.cancel(),delete e.__qscrollfire}});function um(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,et.passive);return}e.handler=t,typeof o!="function"&&e.scrollTarget.addEventListener("scroll",e.scroll,et.passive)}var sm=At({name:"scroll",mounted(e,t){let o={scrollTarget:Bt(e),scroll(){o.handler(to(o.scrollTarget),sn(o.scrollTarget))}};um(o,t),e.__qscroll=o},updated(e,t){e.__qscroll!==void 0&&t.oldValue!==t.value&&um(e.__qscroll,t)},beforeUnmount(e){let t=e.__qscroll;t.scrollTarget.removeEventListener("scroll",t.scroll,et.passive),delete e.__qscroll}});var cm=At({name:"touch-hold",beforeMount(e,t){let{modifiers:o}=t;if(o.mouse!==!0&&Re.has.touch!==!0)return;let r={handler:t.value,noop:We,mouseStart(a){typeof r.handler=="function"&&Ko(a)===!0&&(dt(r,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),r.start(a,!0))},touchStart(a){if(a.target!==void 0&&typeof r.handler=="function"){let l=a.target;dt(r,"temp",[[l,"touchmove","move","passiveCapture"],[l,"touchcancel","end","notPassiveCapture"],[l,"touchend","end","notPassiveCapture"]]),r.start(a)}},start(a,l){r.origin=_t(a);let u=Date.now();Re.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),r.styleCleanup=d=>{r.styleCleanup=void 0;let f=()=>{document.body.classList.remove("non-selectable")};d===!0?(Ot(),setTimeout(f,10)):f()}),r.triggered=!1,r.sensitivity=l===!0?r.mouseSensitivity:r.touchSensitivity,r.timer=setTimeout(()=>{r.timer=void 0,Ot(),r.triggered=!0,r.handler({evt:a,touch:l!==!0,mouse:l===!0,position:r.origin,duration:Date.now()-u})},r.duration)},move(a){let{top:l,left:u}=_t(a);r.timer!==void 0&&(Math.abs(u-r.origin.left)>=r.sensitivity||Math.abs(l-r.origin.top)>=r.sensitivity)&&(clearTimeout(r.timer),r.timer=void 0)},end(a){qt(r,"temp"),r.styleCleanup!==void 0&&r.styleCleanup(r.triggered),r.triggered===!0?a!==void 0&&qe(a):r.timer!==void 0&&(clearTimeout(r.timer),r.timer=void 0)}},n=[600,5,7];if(typeof t.arg=="string"&&t.arg.length!==0&&t.arg.split(":").forEach((a,l)=>{let u=parseInt(a,10);u&&(n[l]=u)}),[r.duration,r.touchSensitivity,r.mouseSensitivity]=n,e.__qtouchhold=r,o.mouse===!0){let a=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(r,"main",[[e,"mousedown","mouseStart",`passive${a}`]])}Re.has.touch===!0&&dt(r,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchend","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchhold;o!==void 0&&t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value)},beforeUnmount(e){let t=e.__qtouchhold;t!==void 0&&(qt(t,"main"),qt(t,"temp"),t.timer!==void 0&&clearTimeout(t.timer),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchhold)}});var dm={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},$p=new RegExp(`^([\\d+]+|${Object.keys(dm).join("|")})$`,"i");function Ep(e,t){let{top:o,left:r}=_t(e);return Math.abs(r-t.left)>=7||Math.abs(o-t.top)>=7}var fm=At({name:"touch-repeat",beforeMount(e,{modifiers:t,value:o,arg:r}){let n=Object.keys(t).reduce((d,f)=>{if($p.test(f)===!0){let c=isNaN(parseInt(f,10))?dm[f.toLowerCase()]:parseInt(f,10);c>=0&&d.push(c)}return d},[]);if(t.mouse!==!0&&Re.has.touch!==!0&&n.length===0)return;let a=typeof r=="string"&&r.length!==0?r.split(":").map(d=>parseInt(d,10)):[0,600,300],l=a.length-1,u={keyboard:n,handler:o,noop:We,mouseStart(d){u.event===void 0&&typeof u.handler=="function"&&Ko(d)===!0&&(dt(u,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!0))},keyboardStart(d){if(typeof u.handler=="function"&&Tt(d,n)===!0){if((a[0]===0||u.event!==void 0)&&(qe(d),e.focus(),u.event!==void 0))return;dt(u,"temp",[[document,"keyup","end","notPassiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!1,!0)}},touchStart(d){if(d.target!==void 0&&typeof u.handler=="function"){let f=d.target;dt(u,"temp",[[f,"touchmove","move","passiveCapture"],[f,"touchcancel","end","notPassiveCapture"],[f,"touchend","end","notPassiveCapture"]]),u.start(d)}},start(d,f,c){c!==!0&&(u.origin=_t(d));function h(m){u.styleCleanup=void 0,document.documentElement.style.cursor="";let g=()=>{document.body.classList.remove("non-selectable")};m===!0?(Ot(),setTimeout(g,10)):g()}Re.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=h),u.event={touch:f!==!0&&c!==!0,mouse:f===!0,keyboard:c===!0,startTime:Date.now(),repeatCount:0};let v=()=>{if(u.timer=void 0,u.event===void 0)return;u.event.repeatCount===0&&(u.event.evt=d,c===!0?u.event.keyCode=d.keyCode:u.event.position=_t(d),Re.is.mobile!==!0&&(document.documentElement.style.cursor="pointer",document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=h)),u.event.duration=Date.now()-u.event.startTime,u.event.repeatCount+=1,u.handler(u.event);let m=l<u.event.repeatCount?l:u.event.repeatCount;u.timer=setTimeout(v,a[m])};a[0]===0?v():u.timer=setTimeout(v,a[0])},move(d){u.event!==void 0&&u.timer!==void 0&&Ep(d,u.origin)===!0&&(clearTimeout(u.timer),u.timer=void 0)},end(d){u.event!==void 0&&(u.styleCleanup!==void 0&&u.styleCleanup(!0),d!==void 0&&u.event.repeatCount>0&&qe(d),qt(u,"temp"),u.timer!==void 0&&(clearTimeout(u.timer),u.timer=void 0),u.event=void 0)}};if(e.__qtouchrepeat=u,t.mouse===!0){let d=t.mouseCapture===!0||t.mousecapture===!0?"Capture":"";dt(u,"main",[[e,"mousedown","mouseStart",`passive${d}`]])}if(Re.has.touch===!0&&dt(u,"main",[[e,"touchstart","touchStart",`passive${t.capture===!0?"Capture":""}`],[e,"touchend","noop","passiveCapture"]]),n.length!==0){let d=t.keyCapture===!0||t.keycapture===!0?"Capture":"";dt(u,"main",[[e,"keydown","keyboardStart",`notPassive${d}`]])}},updated(e,{oldValue:t,value:o}){let r=e.__qtouchrepeat;r!==void 0&&t!==o&&(typeof o!="function"&&r.end(),r.handler=o)},beforeUnmount(e){let t=e.__qtouchrepeat;t!==void 0&&(t.timer!==void 0&&clearTimeout(t.timer),qt(t,"main"),qt(t,"temp"),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchrepeat)}});var hl={};Ur(hl,{AddressbarColor:()=>mm,AppFullscreen:()=>pm,AppVisibility:()=>ym,BottomSheet:()=>_m,Cookies:()=>Mm,Dark:()=>Mi,Dialog:()=>Pm,IconSet:()=>jn,Lang:()=>Yo,Loading:()=>Bm,LoadingBar:()=>Lm,LocalStorage:()=>Um,Meta:()=>Vm,Notify:()=>Qm,Platform:()=>Ro,Screen:()=>Ti,SessionStorage:()=>Ym});function yi(e,t=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue(`--q-${e}`).trim()||null}var ll;function Bp(){return Re.is.winphone?"msapplication-navbutton-color":Re.is.safari?"apple-mobile-web-app-status-bar-style":"theme-color"}function Lp(e){let t=document.getElementsByTagName("META");for(let o in t)if(t[o].name===e)return t[o]}function Fp(e){ll===void 0&&(ll=Bp());let t=Lp(ll),o=t===void 0;o&&(t=document.createElement("meta"),t.setAttribute("name",ll)),t.setAttribute("content",e),o&&document.head.appendChild(t)}var mm={set:Re.is.mobile===!0&&(Re.is.nativeMobile===!0||Re.is.winphone===!0||Re.is.safari===!0||Re.is.webkit===!0||Re.is.vivaldi===!0)?e=>{let t=e||yi("primary");Re.is.nativeMobile===!0&&window.StatusBar?window.StatusBar.backgroundColorByHexString(t):Fp(t)}:We,install({$q:e}){e.addressbarColor=this,e.config.addressbarColor&&this.set(e.config.addressbarColor)}};var Si={};function Dp(e){Object.assign(Ht,{request:e,exit:e,toggle:e})}function gm(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||null}function hm(){let e=Ht.activeEl=Ht.isActive===!1?null:gm();qs(e===null||e===document.documentElement?document.body:e)}function Vp(){Ht.isActive=Ht.isActive===!1,hm()}function vm(e,t){try{let o=e[t]();return o===void 0?Promise.resolve():o}catch(o){return Promise.reject(o)}}var Ht=jt({isActive:!1,activeEl:null},{isCapable:!1,install({$q:e}){e.fullscreen=this}});Si.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find(e=>document.documentElement[e]!==void 0),Ht.isCapable=Si.request!==void 0,Ht.isCapable===!1?Dp(()=>Promise.reject("Not capable")):(Object.assign(Ht,{request(e){let t=e||document.documentElement,{activeEl:o}=Ht;return t===o?Promise.resolve():(o!==null&&t.contains(o)===!0?Ht.exit():Promise.resolve()).finally(()=>vm(t,Si.request))},exit(){return Ht.isActive===!0?vm(document,Si.exit):Promise.resolve()},toggle(e){return Ht.isActive===!0?Ht.exit():Ht.request(e)}}),Si.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find(e=>document[e]),Ht.isActive=!!gm(),Ht.isActive===!0&&hm(),["onfullscreenchange","onmsfullscreenchange","onwebkitfullscreenchange"].forEach(e=>{document[e]=Vp}));var pm=Ht;var bm=jt({appVisible:!0},{install({$q:e}){st(e,"appVisible",()=>this.appVisible)}});{let e,t;if(typeof document.hidden<"u"?(e="hidden",t="visibilitychange"):typeof document.msHidden<"u"?(e="msHidden",t="msvisibilitychange"):typeof document.webkitHidden<"u"&&(e="webkitHidden",t="webkitvisibilitychange"),t&&typeof document[e]<"u"){let o=()=>{bm.appVisible=!document[e]};document.addEventListener(t,o,!1)}}var ym=bm;var Sm=A({name:"BottomSheetComponent",props:{..._e,title:String,message:String,actions:Array,grid:Boolean,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){let{proxy:o}=U(),r=Ce(e,o.$q),n=q(null);function a(){n.value.show()}function l(){n.value.hide()}function u(m){t("ok",m),l()}function d(){t("hide")}function f(){return e.actions.map(m=>{let g=m.avatar||m.img;return m.label===void 0?i(ao,{class:"col-all",dark:r.value}):i("div",{class:["q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position",m.class],style:m.style,tabindex:0,role:"listitem",onClick(){u(m)},onKeyup(x){x.keyCode===13&&u(m)}},[i("div",{class:"q-focus-helper"}),m.icon?i(Pe,{name:m.icon,color:m.color}):g?i("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:g}):i("div",{class:"q-bottom-sheet__empty-icon"}),i("div",m.label)])})}function c(){return e.actions.map(m=>{let g=m.avatar||m.img;return m.label===void 0?i(ao,{spaced:!0,dark:r.value}):i(Qo,{class:["q-bottom-sheet__item",m.classes],style:m.style,tabindex:0,clickable:!0,dark:r.value,onClick(){u(m)}},()=>[i(no,{avatar:!0},()=>m.icon?i(Pe,{name:m.icon,color:m.color}):g?i("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:g}):null),i(no,()=>m.label)])})}function h(){let m=[];return e.title&&m.push(i(xo,{class:"q-dialog__title"},()=>e.title)),e.message&&m.push(i(xo,{class:"q-dialog__message"},()=>e.message)),m.push(e.grid===!0?i("div",{class:"row items-stretch justify-start",role:"list"},f()):i("div",{role:"list"},c())),m}function v(){return[i(pr,{class:[`q-bottom-sheet q-bottom-sheet--${e.grid===!0?"grid":"list"}`+(r.value===!0?" q-bottom-sheet--dark q-dark":""),e.cardClass],style:e.cardStyle},h)]}return Object.assign(o,{show:a,hide:l}),()=>i(Ho,{ref:n,position:"bottom",onHide:d},v)}});function xm(e,t){for(let o in t)o!=="spinner"&&Object(t[o])===t[o]?(e[o]=Object(e[o])!==e[o]?{}:{...e[o]},xm(e[o],t[o])):e[o]=t[o]}function ul(e,t,o){return r=>{let n,a,l=t===!0&&r.component!==void 0;if(l===!0){let{component:S,componentProps:b}=r;n=typeof S=="string"?o.component(S):S,a=b||{}}else{let{class:S,style:b,...p}=r;n=e,a=p,S!==void 0&&(p.cardClass=S),b!==void 0&&(p.cardStyle=b)}let u,d=!1,f=q(null),c=Eo(!1,"dialog"),h=S=>{if(f.value!==null&&f.value[S]!==void 0){f.value[S]();return}let b=u.$.subTree;if(b&&b.component){if(b.component.proxy&&b.component.proxy[S]){b.component.proxy[S]();return}if(b.component.subTree&&b.component.subTree.component&&b.component.subTree.component.proxy&&b.component.subTree.component.proxy[S]){b.component.subTree.component.proxy[S]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},v=[],m=[],g={onOk(S){return v.push(S),g},onCancel(S){return m.push(S),g},onDismiss(S){return v.push(S),m.push(S),g},hide(){return h("hide"),g},update(S){if(u!==null){if(l===!0)Object.assign(a,S);else{let{class:b,style:p,..._}=S;b!==void 0&&(_.cardClass=b),p!==void 0&&(_.cardStyle=p),xm(a,_)}u.$forceUpdate()}return g}},x=S=>{d=!0,v.forEach(b=>{b(S)})},y=()=>{k.unmount(c),ar(c),k=null,u=null,d!==!0&&m.forEach(S=>{S()})},k=nn({name:"QGlobalDialog",setup:()=>()=>i(n,{...a,ref:f,onOk:x,onHide:y,onVnodeMounted(...S){typeof a.onVnodeMounted=="function"&&a.onVnodeMounted(...S),$e(()=>h("show"))}})},o);return u=k.mount(c),g}}var _m={install({$q:e,parentApp:t}){e.bottomSheet=this.create=ul(Sm,!1,t)}};function Cm(e){return encodeURIComponent(e)}function wm(e){return decodeURIComponent(e)}function zp(e){return Cm(e===Object(e)?JSON.stringify(e):""+e)}function Op(e){if(e==="")return e;e.indexOf('"')===0&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=wm(e.replace(/\+/g," "));try{let t=JSON.parse(e);(t===Object(t)||Array.isArray(t)===!0)&&(e=t)}catch{}return e}function km(e){let t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}function Ip(e){let t=0,o=e.match(/(\d+)d/),r=e.match(/(\d+)h/),n=e.match(/(\d+)m/),a=e.match(/(\d+)s/);return o&&(t+=o[1]*864e5),r&&(t+=r[1]*36e5),n&&(t+=n[1]*6e4),a&&(t+=a[1]*1e3),t===0?e:km(t)}function qm(e,t,o={},r){let n,a;o.expires!==void 0&&(Object.prototype.toString.call(o.expires)==="[object Date]"?n=o.expires.toUTCString():typeof o.expires=="string"?n=Ip(o.expires):(a=parseFloat(o.expires),n=isNaN(a)===!1?km(a*864e5):o.expires));let l=`${Cm(e)}=${zp(t)}`,u=[l,n!==void 0?"; Expires="+n:"",o.path?"; Path="+o.path:"",o.domain?"; Domain="+o.domain:"",o.sameSite?"; SameSite="+o.sameSite:"",o.httpOnly?"; HttpOnly":"",o.secure?"; Secure":"",o.other?"; "+o.other:""].join("");if(r){r.req.qCookies?r.req.qCookies.push(u):r.req.qCookies=[u],r.res.setHeader("Set-Cookie",r.req.qCookies);let d=r.req.headers.cookie||"";if(n!==void 0&&a<0){let f=sl(e,r);f!==void 0&&(d=d.replace(`${e}=${f}; `,"").replace(`; ${e}=${f}`,"").replace(`${e}=${f}`,""))}else d=d?`${l}; ${d}`:u;r.req.headers.cookie=d}else document.cookie=u}function sl(e,t){let o=t?t.req.headers:document,r=o.cookie?o.cookie.split("; "):[],n=r.length,a=e?null:{},l=0,u,d,f;for(;l<n;l++)if(u=r[l].split("="),d=wm(u.shift()),f=u.join("="),!e)a[d]=f;else if(e===d){a=Op(f);break}return a}function Hp(e,t,o){qm(e,"",{expires:-1,...t},o)}function Qp(e,t){return sl(e,t)!==null}function Np(e){return{get:t=>sl(t,e),set:(t,o,r)=>qm(t,o,r,e),has:t=>Qp(t,e),remove:(t,o)=>Hp(t,o,e),getAll:()=>sl(null,e)}}var Tm={install({$q:e,ssrContext:t}){e.cookies=this}};Object.assign(Tm,Np());var Mm=Tm;var Rm=A({name:"DialogPluginComponent",props:{..._e,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}){let{proxy:o}=U(),{$q:r}=o,n=Ce(e,r),a=q(null),l=q(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),u=s(()=>"q-dialog-plugin"+(n.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),d=s(()=>e.color||(n.value===!0?"amber":"primary")),f=s(()=>e.progress===!1?null:ct(e.progress)===!0?{component:e.progress.spinner||wt,props:{color:e.progress.color||d.value}}:{component:wt,props:{color:d.value}}),c=s(()=>e.prompt!==void 0||e.options!==void 0),h=s(()=>{if(c.value!==!0)return{};let{model:T,isValid:G,items:X,...B}=e.prompt!==void 0?e.prompt:e.options;return B}),v=s(()=>ct(e.ok)===!0||e.ok===!0?r.lang.label.ok:e.ok),m=s(()=>ct(e.cancel)===!0||e.cancel===!0?r.lang.label.cancel:e.cancel),g=s(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:!1),x=s(()=>({color:d.value,label:v.value,ripple:!1,disable:g.value,...ct(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&c.value!==!0||void 0,onClick:b})),y=s(()=>({color:d.value,label:m.value,ripple:!1,...ct(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&c.value!==!0||void 0,onClick:p}));Y(()=>e.prompt&&e.prompt.model,$),Y(()=>e.options&&e.options.model,$);function k(){a.value.show()}function S(){a.value.hide()}function b(){t("ok",co(l.value)),S()}function p(){S()}function _(){t("hide")}function $(T){l.value=T}function L(T){g.value!==!0&&e.prompt.type!=="textarea"&&Tt(T,13)===!0&&b()}function V(T,G){return e.html===!0?i(xo,{class:T,innerHTML:G}):i(xo,{class:T},()=>G)}function F(){return[i(Vr,{color:d.value,dense:!0,autofocus:!0,dark:n.value,...h.value,modelValue:l.value,"onUpdate:modelValue":$,onKeyup:L})]}function E(){return[i(Ha,{color:d.value,options:e.options.items,dark:n.value,...h.value,modelValue:l.value,"onUpdate:modelValue":$})]}function D(){let T=[];return e.cancel&&T.push(i(Ie,y.value)),e.ok&&T.push(i(Ie,x.value)),i(ea,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>T)}function M(){let T=[];return e.title&&T.push(V("q-dialog__title",e.title)),e.progress!==!1&&T.push(i(xo,{class:"q-dialog__progress"},()=>i(f.value.component,f.value.props))),e.message&&T.push(V("q-dialog__message",e.message)),e.prompt!==void 0?T.push(i(xo,{class:"scroll q-dialog-plugin__form"},F)):e.options!==void 0&&T.push(i(ao,{dark:n.value}),i(xo,{class:"scroll q-dialog-plugin__form"},E),i(ao,{dark:n.value})),(e.ok||e.cancel)&&T.push(D()),T}function C(){return[i(pr,{class:[u.value,e.cardClass],style:e.cardStyle,dark:n.value},M)]}return Object.assign(o,{show:k,hide:S}),()=>i(Ho,{ref:a,onHide:_},C)}});var Pm={install({$q:e,parentApp:t}){e.dialog=this.create=ul(Rm,!0,t)}};var Nr,hu,Am=0,On=null,Vt={},In={},$m={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:wt,customClass:""},Em={...$m};function jp(e){if(e&&e.group!==void 0&&In[e.group]!==void 0)return Object.assign(In[e.group],e);let t=ct(e)===!0&&e.ignoreDefaults===!0?{...$m,...e}:{...Em,...e};return In[t.group]=t,t}var wo=jt({isActive:!1},{show(e){Vt=jp(e);let{group:t}=Vt;return wo.isActive=!0,Nr!==void 0?(Vt.uid=Am,hu.$forceUpdate()):(Vt.uid=++Am,On!==null&&clearTimeout(On),On=setTimeout(()=>{On=null;let o=Eo("q-loading");Nr=nn({name:"QLoading",setup(){Ne(()=>{di(!0)});function r(){wo.isActive!==!0&&Nr!==void 0&&(di(!1),Nr.unmount(o),ar(o),Nr=void 0,hu=void 0)}function n(){if(wo.isActive!==!0)return null;let a=[i(Vt.spinner,{class:"q-loading__spinner",color:Vt.spinnerColor,size:Vt.spinnerSize})];return Vt.message&&a.push(i("div",{class:"q-loading__message"+(Vt.messageColor?` text-${Vt.messageColor}`:""),[Vt.html===!0?"innerHTML":"textContent"]:Vt.message})),i("div",{class:"q-loading fullscreen flex flex-center z-max "+Vt.customClass.trim(),key:Vt.uid},[i("div",{class:"q-loading__backdrop"+(Vt.backgroundColor?` bg-${Vt.backgroundColor}`:"")}),i("div",{class:"q-loading__box column items-center "+Vt.boxClass},a)])}return()=>i(lt,{name:"q-transition--fade",appear:!0,onAfterLeave:r},n)}},wo.__parentApp),hu=Nr.mount(o)},Vt.delay)),o=>{if(o===void 0||Object(o)!==o){wo.hide(t);return}wo.show({...o,group:t})}},hide(e){if(wo.isActive===!0){if(e===void 0)In={};else{if(In[e]===void 0)return;{delete In[e];let t=Object.keys(In);if(t.length!==0){let o=t[t.length-1];wo.show({group:o});return}}}On!==null&&(clearTimeout(On),On=null),wo.isActive=!1}},setDefaults(e){ct(e)===!0&&Object.assign(Em,e)},install({$q:e,parentApp:t}){e.loading=this,wo.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),Bm=wo;var cl=q(null),pu=jt({isActive:!1},{start:We,stop:We,increment:We,setDefaults:We,install({$q:e,parentApp:t}){if(e.loadingBar=this,this.__installed===!0){e.config.loadingBar!==void 0&&this.setDefaults(e.config.loadingBar);return}let o=q(e.config.loadingBar!==void 0?{...e.config.loadingBar}:{});function r(){pu.isActive=!0}function n(){pu.isActive=!1}let a=Eo("q-loading-bar");nn({name:"LoadingBar",devtools:{hide:!0},setup:()=>()=>i(Di,{...o.value,onStart:r,onStop:n,ref:cl})},t).mount(a),Object.assign(this,{start(l){cl.value.start(l)},stop(){cl.value.stop()},increment(){cl.value.increment.apply(null,arguments)},setDefaults(l){ct(l)===!0&&Object.assign(o.value,l)}})}}),Lm=pu;var dl=null,bu,ko=[];function Up(e){e.title&&(e.title=e.titleTemplate?e.titleTemplate(e.title):e.title,delete e.titleTemplate),[["meta","content"],["link","href"]].forEach(t=>{let o=e[t[0]],r=t[1];for(let n in o){let a=o[n];a.template&&(Object.keys(a).length===1?delete o[n]:(a[r]=a.template(a[r]||""),delete a.template))}})}function Kp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(let o in e)if(e[o]!==t[o])return!0}function Fm(e){return["class","style"].includes(e)===!1}function Dm(e){return["lang","dir"].includes(e)===!1}function Wp(e,t){let o={},r={};return e===void 0?{add:t,remove:r}:(e.title!==t.title&&(o.title=t.title),["meta","link","script","htmlAttr","bodyAttr"].forEach(n=>{let a=e[n],l=t[n];if(r[n]=[],a==null){o[n]=l;return}o[n]={};for(let u in a)l.hasOwnProperty(u)===!1&&r[n].push(u);for(let u in l)a.hasOwnProperty(u)===!1?o[n][u]=l[u]:Kp(a[u],l[u])===!0&&(r[n].push(u),o[n][u]=l[u])}),{add:o,remove:r})}function Yp({add:e,remove:t}){e.title&&(document.title=e.title),Object.keys(t).length!==0&&(["meta","link","script"].forEach(o=>{t[o].forEach(r=>{document.head.querySelector(`${o}[data-qmeta="${r}"]`).remove()})}),t.htmlAttr.filter(Dm).forEach(o=>{document.documentElement.removeAttribute(o)}),t.bodyAttr.filter(Fm).forEach(o=>{document.body.removeAttribute(o)})),["meta","link","script"].forEach(o=>{let r=e[o];for(let n in r){let a=document.createElement(o);for(let l in r[n])l!=="innerHTML"&&a.setAttribute(l,r[n][l]);a.setAttribute("data-qmeta",n),o==="script"&&(a.innerHTML=r[n].innerHTML||""),document.head.appendChild(a)}}),Object.keys(e.htmlAttr).filter(Dm).forEach(o=>{document.documentElement.setAttribute(o,e.htmlAttr[o]||"")}),Object.keys(e.bodyAttr).filter(Fm).forEach(o=>{document.body.setAttribute(o,e.bodyAttr[o]||"")})}function Xp(){dl=null;let e={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};for(let t=0;t<ko.length;t++){let{active:o,val:r}=ko[t];o===!0&&vn(!0,e,r)}Up(e),Yp(Wp(bu,e)),bu=e}function lo(){dl!==null&&clearTimeout(dl),dl=setTimeout(Xp,50)}var Vm={install(e){this.__installed!==!0&&xt.value===!0&&(bu=window.__Q_META__,document.getElementById("qmeta-init").remove())}};var Gp=0,fl={},ml={},qo={},Om={},Zp=/^\s*$/,Im=[],Jp=[void 0,null,!0,!1,""],yu=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],e0=["top-left","top-right","bottom-left","bottom-right"],jr={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 Hm(e,t,o){if(!e)return xi("parameter required");let r,n={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(n,fl),ct(e)===!1&&(n.type&&Object.assign(n,jr[n.type]),e={message:e}),Object.assign(n,jr[e.type||n.type],e),typeof n.icon=="function"&&(n.icon=n.icon(t)),n.spinner?(n.spinner===!0&&(n.spinner=wt),n.spinner=Kr(n.spinner)):n.spinner=!1,n.meta={hasMedia:!!(n.spinner!==!1||n.icon||n.avatar),hasText:zm(n.message)||zm(n.caption)},n.position){if(yu.includes(n.position)===!1)return xi("wrong position",e)}else n.position="bottom";if(Jp.includes(n.timeout)===!0)n.timeout=5e3;else{let d=Number(n.timeout);if(isNaN(d)||d<0)return xi("wrong timeout",e);n.timeout=Number.isFinite(d)?d:0}n.timeout===0?n.progress=!1:n.progress===!0&&(n.meta.progressClass="q-notification__progress"+(n.progressClass?` ${n.progressClass}`:""),n.meta.progressStyle={animationDuration:`${n.timeout+1e3}ms`});let a=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(fl.actions)===!0?fl.actions:[]).concat(jr[e.type]!==void 0&&Array.isArray(jr[e.type].actions)===!0?jr[e.type].actions:[]),{closeBtn:l}=n;if(l&&a.push({label:typeof l=="string"?l:t.lang.label.close}),n.actions=a.map(({handler:d,noDismiss:f,...c})=>({flat:!0,...c,onClick:typeof d=="function"?()=>{d(),f!==!0&&u()}:()=>{u()}})),n.multiLine===void 0&&(n.multiLine=n.actions.length>1),Object.assign(n.meta,{class:`q-notification row items-stretch q-notification--${n.multiLine===!0?"multi-line":"standard"}`+(n.color!==void 0?` bg-${n.color}`:"")+(n.textColor!==void 0?` text-${n.textColor}`:"")+(n.classes!==void 0?` ${n.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(n.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(n.multiLine===!0?"":" col"),leftClass:n.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...n.attrs}}),n.group===!1?(n.group=void 0,n.meta.group=void 0):((n.group===void 0||n.group===!0)&&(n.group=[n.message,n.caption,n.multiline].concat(n.actions.map(d=>`${d.label}*${d.icon}`)).join("|")),n.meta.group=n.group+"|"+n.position),n.actions.length===0?n.actions=void 0:n.meta.actionsClass="q-notification__actions row items-center "+(n.multiLine===!0?"justify-end":"col-auto")+(n.meta.hasMedia===!0?" q-notification__actions--with-media":""),o!==void 0){o.notif.meta.timer&&(clearTimeout(o.notif.meta.timer),o.notif.meta.timer=void 0),n.meta.uid=o.notif.meta.uid;let d=qo[n.position].value.indexOf(o.notif);qo[n.position].value[d]=n}else{let d=ml[n.meta.group];if(d===void 0){if(n.meta.uid=Gp++,n.meta.badge=1,["left","right","center"].indexOf(n.position)!==-1)qo[n.position].value.splice(Math.floor(qo[n.position].value.length/2),0,n);else{let f=n.position.indexOf("top")!==-1?"unshift":"push";qo[n.position].value[f](n)}n.group!==void 0&&(ml[n.meta.group]=n)}else{if(d.meta.timer&&(clearTimeout(d.meta.timer),d.meta.timer=void 0),n.badgePosition!==void 0){if(e0.includes(n.badgePosition)===!1)return xi("wrong badgePosition",e)}else n.badgePosition=`top-${n.position.indexOf("left")!==-1?"right":"left"}`;n.meta.uid=d.meta.uid,n.meta.badge=d.meta.badge+1,n.meta.badgeClass=`q-notification__badge q-notification__badge--${n.badgePosition}`+(n.badgeColor!==void 0?` bg-${n.badgeColor}`:"")+(n.badgeTextColor!==void 0?` text-${n.badgeTextColor}`:"")+(n.badgeClass?` ${n.badgeClass}`:"");let f=qo[n.position].value.indexOf(d);qo[n.position].value[f]=ml[n.meta.group]=n}}let u=()=>{t0(n),r=void 0};if(n.timeout>0&&(n.meta.timer=setTimeout(()=>{n.meta.timer=void 0,u()},n.timeout+1e3)),n.group!==void 0)return d=>{d!==void 0?xi("trying to update a grouped one which is forbidden",e):u()};if(r={dismiss:u,config:e,notif:n},o!==void 0){Object.assign(o,r);return}return d=>{if(r!==void 0)if(d===void 0)r.dismiss();else{let f=Object.assign({},r.config,d,{group:!1,position:n.position});Hm(f,t,r)}}}function t0(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);let t=qo[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete ml[e.meta.group];let o=Im[""+e.meta.uid];if(o){let{width:r,height:n}=getComputedStyle(o);o.style.left=`${o.offsetLeft}px`,o.style.width=r,o.style.height=n}qo[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function zm(e){return e!=null&&Zp.test(e)!==!0}function xi(e,t){return console.error(`Notify: ${e}`,t),!1}function o0(){return A({name:"QNotifications",devtools:{hide:!0},setup(){return()=>i("div",{class:"q-notifications"},yu.map(e=>i($u,{key:e,class:Om[e],tag:"div",name:`q-notification--${e}`},()=>qo[e].value.map(t=>{let o=t.meta,r=[];if(o.hasMedia===!0&&(t.spinner!==!1?r.push(i(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+o.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?r.push(i(Pe,{class:"q-notification__icon q-notification__icon--"+o.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&r.push(i(zi,{class:"q-notification__avatar q-notification__avatar--"+o.leftClass},()=>i("img",{src:t.avatar,"aria-hidden":"true"})))),o.hasText===!0){let a,l={class:"q-notification__message col"};if(t.html===!0)l.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{let u=[t.message];a=t.caption?[i("div",u),i("div",{class:"q-notification__caption"},[t.caption])]:u}r.push(i("div",l,a))}let n=[i("div",{class:o.contentClass},r)];return t.progress===!0&&n.push(i("div",{key:`${o.uid}|p|${o.badge}`,class:o.progressClass,style:o.progressStyle})),t.actions!==void 0&&n.push(i("div",{class:o.actionsClass},t.actions.map(a=>i(Ie,a)))),o.badge>1&&n.push(i("div",{key:`${o.uid}|${o.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[o.badge])),i("div",{ref:a=>{Im[""+o.uid]=a},key:o.uid,class:o.class,...o.attrs},[i("div",{class:o.wrapperClass},n)])}))))}})}var Qm={setDefaults(e){ct(e)===!0&&Object.assign(fl,e)},registerType(e,t){ct(t)===!0&&(jr[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=o=>Hm(o,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){yu.forEach(r=>{qo[r]=q([]);let n=["left","center","right"].includes(r)===!0?"center":r.indexOf("top")!==-1?"top":"bottom",a=r.indexOf("left")!==-1?"start":r.indexOf("right")!==-1?"end":"center",l=["left","right"].includes(r)?`items-${r==="left"?"start":"end"} justify-center`:r==="center"?"flex-center":`items-${a}`;Om[r]=`q-notifications__list q-notifications__list--${n} fixed column no-wrap ${l}`});let o=Eo("q-notify");nn(o0(),t).mount(o)}}};function n0(e){return Go(e)===!0?"__q_date|"+e.getTime():kl(e)===!0?"__q_expr|"+e.source:typeof e=="number"?"__q_numb|"+e:typeof e=="boolean"?"__q_bool|"+(e?"1":"0"):typeof e=="string"?"__q_strn|"+e:typeof e=="function"?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function r0(e){if(e.length<9)return e;let o=e.substring(0,8),r=e.substring(9);switch(o){case"__q_date":let n=Number(r);return new Date(Number.isNaN(n)===!0?r:n);case"__q_expr":return new RegExp(r);case"__q_numb":return Number(r);case"__q_bool":return r==="1";case"__q_strn":return""+r;case"__q_objt":return JSON.parse(r);default:return e}}function vl(){let e=()=>null;return{has:()=>!1,hasItem:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:We,setItem:We,remove:We,removeItem:We,clear:We,isEmpty:()=>!0}}function gl(e){let t=window[e+"Storage"],o=l=>{let u=t.getItem(l);return u?r0(u):null},r=l=>t.getItem(l)!==null,n=(l,u)=>{t.setItem(l,n0(u))},a=l=>{t.removeItem(l)};return{has:r,hasItem:r,getLength:()=>t.length,getItem:o,getIndex:l=>l<t.length?o(t.key(l)):null,getKey:l=>l<t.length?t.key(l):null,getAll:()=>{let l,u={},d=t.length;for(let f=0;f<d;f++)l=t.key(f),u[l]=o(l);return u},getAllKeys:()=>{let l=[],u=t.length;for(let d=0;d<u;d++)l.push(t.key(d));return l},set:n,setItem:n,remove:a,removeItem:a,clear:()=>{t.clear()},isEmpty:()=>t.length===0}}var Nm=Re.has.webStorage===!1?vl():gl("local"),jm={install({$q:e}){e.localStorage=Nm}};Object.assign(jm,Nm);var Um=jm;var Km=Re.has.webStorage===!1?vl():gl("session"),Wm={install({$q:e}){e.sessionStorage=Km}};Object.assign(Wm,Km);var Ym=Wm;var xu={};Ur(xu,{EventBus:()=>_i,clone:()=>en,colors:()=>Zs,copyToClipboard:()=>Xm,createMetaMixin:()=>Gm,createUploaderComponent:()=>tl,date:()=>fc,debounce:()=>Zt,dom:()=>bs,event:()=>Vu,exportFile:()=>Jm,extend:()=>vn,format:()=>Ju,frameDebounce:()=>Or,getCssVar:()=>yi,is:()=>Wu,morph:()=>bi,noop:()=>We,openURL:()=>tv,patterns:()=>Gs,runSequentialPromises:()=>Su,scroll:()=>Rs,setCssVar:()=>Wr,throttle:()=>Jn,uid:()=>Fo});function i0(e){let t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";let o=()=>{};dr(o),document.body.appendChild(t),t.focus(),t.select();let r=document.execCommand("copy");return t.remove(),Rn(o),r}function Xm(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,o)=>{let r=i0(e);r?t(!0):o(r)})}var Gm=e=>{let t={activated(){this.__qMeta.active=!0,lo()},deactivated(){this.__qMeta.active=!1,lo()},unmounted(){ko.splice(ko.indexOf(this.__qMeta),1),lo(),this.__qMeta=void 0}};return typeof e=="function"?Object.assign(t,{computed:{__qMetaOptions(){return e.call(this)||{}}},watch:{__qMetaOptions(o){this.__qMeta.val=o,this.__qMeta.active===!0&&lo()}},created(){this.__qMeta={active:!0,val:this.__qMetaOptions},ko.push(this.__qMeta),lo()}}):t.created=function(){this.__qMeta={active:!0,val:e},ko.push(this.__qMeta),lo()},t};var _i=class{constructor(){this.__stack={}}on(t,o,r){return(this.__stack[t]||(this.__stack[t]=[])).push({fn:o,ctx:r}),this}once(t,o,r){let n=(...a)=>{this.off(t,n),o.apply(r,a)};return n.__callback=o,this.on(t,n,r)}emit(t){let o=this.__stack[t];if(o!==void 0){let r=[].slice.call(arguments,1);o.forEach(n=>{n.fn.apply(n.ctx,r)})}return this}off(t,o){let r=this.__stack[t];if(r===void 0)return this;if(o===void 0)return delete this.__stack[t],this;let n=r.filter(a=>a.fn!==o&&a.fn.__callback!==o);return n.length!==0?this.__stack[t]=n:delete this.__stack[t],this}};function Zm(e){setTimeout(()=>{window.URL.revokeObjectURL(e.href)},1e4),e.remove()}function Jm(e,t,o={}){let{mimeType:r,byteOrderMark:n,encoding:a}=typeof o=="string"?{mimeType:o}:o,l=a!==void 0?new TextEncoder(a).encode([t]):t,u=n!==void 0?[n,l]:[l],d=new Blob(u,{type:r||"application/octet-stream"}),f=document.createElement("a");f.href=window.URL.createObjectURL(d),f.setAttribute("download",e),typeof f.download>"u"&&f.setAttribute("target","_blank"),f.classList.add("hidden"),f.style.position="fixed",document.body.appendChild(f);try{return f.click(),Zm(f),!0}catch(c){return Zm(f),c}}function a0(e){let t=Object.assign({noopener:!0},e),o=[];for(let r in t){let n=t[r];n===!0?o.push(r):(fo(n)||typeof n=="string"&&n!=="")&&o.push(r+"="+n)}return o.join(",")}function ev(e,t,o){let r=window.open;if(Ro.is.cordova===!0){if(cordova!==void 0&&cordova.InAppBrowser!==void 0&&cordova.InAppBrowser.open!==void 0)r=cordova.InAppBrowser.open;else if(navigator!==void 0&&navigator.app!==void 0)return navigator.app.loadUrl(e,{openExternal:!0})}let n=r(e,"_blank",a0(o));if(n)return Ro.is.desktop&&n.focus(),n;t&&t()}var tv=(e,t,o)=>{if(Ro.is.ios===!0&&window.SafariViewController!==void 0){window.SafariViewController.isAvailable(r=>{r?window.SafariViewController.show({url:e},We,t):ev(e,t,o)});return}return ev(e,t,o)};function l0(e){let t=Array.isArray(e);if(t===!0){let n=e.length;return{isList:t,totalJobs:n,resultAggregator:Array(n).fill(null)}}let o=Object.keys(e),r={};return o.forEach(n=>{r[n]=null}),{isList:t,totalJobs:o.length,resultAggregator:r,resultKeys:o}}function Su(e,{threadsNumber:t=1,abortOnFail:o=!0}={}){let r=-1,n=!1,{isList:a,totalJobs:l,resultAggregator:u,resultKeys:d}=l0(e),f=()=>new Promise((h,v)=>{function m(){let g=++r;if(n===!0||g>=l){h();return}let x=a===!0?g:d[g];e[x](u).then(y=>{if(n===!0){h();return}u[x]={key:x,status:"fulfilled",value:y},setTimeout(m)}).catch(y=>{if(n===!0){h();return}let k={key:x,status:"rejected",reason:y};if(u[x]=k,o===!0){n=!0,v({...k,resultAggregator:u});return}setTimeout(m)})}m()}),c=Array(t).fill(f());return Promise.all(c).then(()=>u)}var Cu={};Ur(Cu,{useDialogPluginComponent:()=>Ci,useFormChild:()=>Ma,useHydration:()=>Rr,useId:()=>Do,useInterval:()=>rv,useMeta:()=>nv,useQuasar:()=>_u,useRenderCache:()=>So,useSplitAttrs:()=>Br,useTick:()=>yo,useTimeout:()=>Yt});function Ci(){let{emit:e,proxy:t}=U(),o=q(null);function r(){o.value.show()}function n(){o.value.hide()}function a(u){e("ok",u),n()}function l(){e("hide")}return Object.assign(t,{show:r,hide:n}),{dialogRef:o,onDialogHide:l,onDialogOK:a,onDialogCancel:n}}var ov=["ok","hide"];Ci.emits=ov;Ci.emitsObject=el(ov);function nv(e){{let t={active:!0};if(typeof e=="function"){let o=s(e);t.val=o.value,Y(o,r=>{t.val=r,t.active===!0&&lo()})}else t.val=e;ko.push(t),lo(),Qt(()=>{t.active=!0,lo()}),Pt(()=>{t.active=!1,lo()}),Nn(()=>{ko.splice(ko.indexOf(t),1),lo()})}}function _u(){return ht(Ri)}function rv(){let e=null,t=U();function o(){e!==null&&(clearInterval(e),e=null)}return Pt(o),Se(o),{removeInterval:o,registerInterval(r,n){o(e),Wt(t)===!1&&(e=setInterval(r,n))}}}window.Vue===void 0&&console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");window.Quasar={version:"2.16.4",install(e,t){Gu(e,{components:ol,directives:al,plugins:hl,...t})},lang:Yo,iconSet:jn,...ol,...al,...hl,...Cu,...xu};})();
|