quasar 2.19.1 → 2.19.2

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.
Files changed (119) hide show
  1. package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
  2. package/dist/icon-set/eva-icons.umd.prod.js +1 -1
  3. package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
  4. package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
  5. package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
  6. package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
  7. package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
  8. package/dist/icon-set/line-awesome.umd.prod.js +1 -1
  9. package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
  10. package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
  11. package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
  12. package/dist/icon-set/material-icons.umd.prod.js +1 -1
  13. package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
  14. package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
  15. package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
  16. package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
  17. package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
  18. package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
  19. package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
  20. package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
  21. package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
  22. package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
  23. package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
  24. package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
  25. package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
  26. package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
  27. package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
  28. package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
  29. package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
  30. package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
  31. package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
  32. package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
  33. package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
  34. package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
  35. package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
  36. package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
  37. package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
  38. package/dist/icon-set/svg-themify.umd.prod.js +1 -1
  39. package/dist/icon-set/themify.umd.prod.js +1 -1
  40. package/dist/lang/ar-TN.umd.prod.js +1 -1
  41. package/dist/lang/ar.umd.prod.js +1 -1
  42. package/dist/lang/az-Latn.umd.prod.js +1 -1
  43. package/dist/lang/bg.umd.prod.js +1 -1
  44. package/dist/lang/bn.umd.prod.js +1 -1
  45. package/dist/lang/bs-BA.umd.prod.js +1 -1
  46. package/dist/lang/ca.umd.prod.js +1 -1
  47. package/dist/lang/cs.umd.prod.js +1 -1
  48. package/dist/lang/da.umd.prod.js +1 -1
  49. package/dist/lang/de-CH.umd.prod.js +1 -1
  50. package/dist/lang/de-DE.umd.prod.js +1 -1
  51. package/dist/lang/de.umd.prod.js +1 -1
  52. package/dist/lang/el.umd.prod.js +1 -1
  53. package/dist/lang/en-GB.umd.prod.js +1 -1
  54. package/dist/lang/en-US.umd.prod.js +1 -1
  55. package/dist/lang/eo.umd.prod.js +1 -1
  56. package/dist/lang/es.umd.prod.js +1 -1
  57. package/dist/lang/et.umd.prod.js +1 -1
  58. package/dist/lang/eu.umd.prod.js +1 -1
  59. package/dist/lang/fa-IR.umd.prod.js +1 -1
  60. package/dist/lang/fa.umd.prod.js +1 -1
  61. package/dist/lang/fi.umd.prod.js +1 -1
  62. package/dist/lang/fr.umd.prod.js +1 -1
  63. package/dist/lang/gn.umd.prod.js +1 -1
  64. package/dist/lang/he.umd.prod.js +1 -1
  65. package/dist/lang/hi.umd.prod.js +1 -1
  66. package/dist/lang/hr.umd.prod.js +1 -1
  67. package/dist/lang/hu.umd.prod.js +1 -1
  68. package/dist/lang/id.umd.prod.js +1 -1
  69. package/dist/lang/is.umd.prod.js +1 -1
  70. package/dist/lang/it.umd.prod.js +1 -1
  71. package/dist/lang/ja.umd.prod.js +1 -1
  72. package/dist/lang/kk.umd.prod.js +1 -1
  73. package/dist/lang/km.umd.prod.js +1 -1
  74. package/dist/lang/ko-KR.umd.prod.js +1 -1
  75. package/dist/lang/kur-CKB.umd.prod.js +1 -1
  76. package/dist/lang/lt.umd.prod.js +1 -1
  77. package/dist/lang/lu.umd.prod.js +1 -1
  78. package/dist/lang/lv.umd.prod.js +1 -1
  79. package/dist/lang/mk.umd.prod.js +1 -1
  80. package/dist/lang/ml.umd.prod.js +1 -1
  81. package/dist/lang/mm.umd.prod.js +1 -1
  82. package/dist/lang/ms-MY.umd.prod.js +1 -1
  83. package/dist/lang/ms.umd.prod.js +1 -1
  84. package/dist/lang/my.umd.prod.js +1 -1
  85. package/dist/lang/nb-NO.umd.prod.js +1 -1
  86. package/dist/lang/nl.umd.prod.js +1 -1
  87. package/dist/lang/pl.umd.prod.js +1 -1
  88. package/dist/lang/pt-BR.umd.prod.js +1 -1
  89. package/dist/lang/pt.umd.prod.js +1 -1
  90. package/dist/lang/ro.umd.prod.js +1 -1
  91. package/dist/lang/ru.umd.prod.js +1 -1
  92. package/dist/lang/sk.umd.prod.js +1 -1
  93. package/dist/lang/sl.umd.prod.js +1 -1
  94. package/dist/lang/sm.umd.prod.js +1 -1
  95. package/dist/lang/sq.umd.prod.js +1 -1
  96. package/dist/lang/sr-CYR.umd.prod.js +1 -1
  97. package/dist/lang/sr.umd.prod.js +1 -1
  98. package/dist/lang/sv.umd.prod.js +1 -1
  99. package/dist/lang/ta.umd.prod.js +1 -1
  100. package/dist/lang/th.umd.prod.js +1 -1
  101. package/dist/lang/tl.umd.prod.js +1 -1
  102. package/dist/lang/tr.umd.prod.js +1 -1
  103. package/dist/lang/ug.umd.prod.js +1 -1
  104. package/dist/lang/uk.umd.prod.js +1 -1
  105. package/dist/lang/ur-PK.umd.prod.js +1 -1
  106. package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
  107. package/dist/lang/uz-Latn.umd.prod.js +1 -1
  108. package/dist/lang/vi.umd.prod.js +1 -1
  109. package/dist/lang/zh-CN.umd.prod.js +1 -1
  110. package/dist/lang/zh-TW.umd.prod.js +1 -1
  111. package/dist/quasar.client.js +6 -5
  112. package/dist/quasar.sass +1 -1
  113. package/dist/quasar.server.prod.cjs +3 -3
  114. package/dist/quasar.server.prod.js +3 -3
  115. package/dist/quasar.umd.js +6 -5
  116. package/dist/quasar.umd.prod.js +3 -3
  117. package/dist/web-types/web-types.json +1 -1
  118. package/package.json +1 -1
  119. package/src/components/icon/QIcon.js +1 -1
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Quasar Framework v2.19.1
2
+ * Quasar Framework v2.19.2
3
3
  * (c) 2015-present Razvan Stoenescu
4
4
  * Released under the MIT License.
5
5
  */
6
- import{KeepAlive as e,Transition as t,computed as n,defineComponent as r,getCurrentInstance as i,h as a,inject as o,isRef as s,markRaw as c,nextTick as l,onActivated as u,onBeforeMount as d,onBeforeUnmount as f,onBeforeUpdate as p,onDeactivated as m,onMounted as h,onUpdated as g,provide as _,reactive as v,ref as y,shallowReactive as b,toRaw as x,unref as S,useSSRContext as C,vShow as w,watch as T,withDirectives as E}from"vue";var D=Object.defineProperty,O=(e,t)=>{let n={};for(var r in e)D(n,r,{get:e[r],enumerable:!0});return t||D(n,Symbol.toStringTag,{value:`Module`}),n};function k(e,t,n,r){return Object.defineProperty(e,t,{get:n,set:r,enumerable:!0}),e}function A(e,t){for(let n in t)k(e,n,t[n]);return e}const j={value:!0};function M(e,t){let n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||``,version:n[4]||n[2]||`0`,platform:t[0]||``}}function N(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)||[]}function P(e){let t=e.toLowerCase(),n=M(t,N(t)),r={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};n.browser&&(r[n.browser]=!0,r.version=n.version,r.versionNumber=parseInt(n.version,10)),n.platform&&(r[n.platform]=!0);let i=r.android||r.ios||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r[`windows phone`];return i===!0||t.indexOf(`mobile`)!==-1?r.mobile=!0:r.desktop=!0,r[`windows phone`]&&(r.winphone=!0,delete r[`windows phone`]),r.edga||r.edgios||r.edg?(r.edge=!0,n.browser=`edge`):r.crios?(r.chrome=!0,n.browser=`chrome`):r.fxios&&(r.firefox=!0,n.browser=`firefox`),(r.ipod||r.ipad||r.iphone)&&(r.ios=!0),r.vivaldi&&=(n.browser=`vivaldi`,!0),(r.chrome||r.opr||r.safari||r.vivaldi||r.mobile===!0&&r.ios!==!0&&i!==!0)&&(r.webkit=!0),r.opr&&(n.browser=`opera`,r.opera=!0),r.safari&&(r.blackberry||r.bb?(n.browser=`blackberry`,r.blackberry=!0):r.playbook?(n.browser=`playbook`,r.playbook=!0):r.android?(n.browser=`android`,r.android=!0):r.kindle?(n.browser=`kindle`,r.kindle=!0):r.silk&&=(n.browser=`silk`,!0)),r.name=n.browser,r.platform=n.platform,r}const F={has:{touch:!1,webStorage:!1},within:{iframe:!1}},I={install(e){let{$q:t}=e;t.platform=this.parseSSR(e.ssrContext)}};I.parseSSR=e=>{let t=e.req.headers[`user-agent`]||e.req.headers[`User-Agent`]||``;return{...F,userAgent:t,is:P(t)}};function L(e){return c(r(e))}function R(e){return c(e)}const z=(e,t)=>(Object.assign(t,e),t),B={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{let e=Object.defineProperty({},`passive`,{get(){Object.assign(B,{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 V(){}function H(e){return e.button===0}function ee(e){return e.button===1}function U(e){return e.button===2}function W(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 G(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();let t=[],n=e.target;for(;n;){if(t.push(n),n.tagName===`HTML`)return t.push(document),t.push(window),t;n=n.parentElement}}function te(e){let t=e.deltaX,n=e.deltaY;if((t||n)&&e.deltaMode){let r=e.deltaMode===1?40:800;t*=r,n*=r}return e.shiftKey&&!t&&([n,t]=[t,n]),{x:t,y:n}}function K(e){e.stopPropagation()}function q(e){e.cancelable!==!1&&e.preventDefault()}function J(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Y(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;let n=t===!0?e=>{e.__dragPrevented=!0,e.addEventListener(`dragstart`,q,B.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener(`dragstart`,q,B.notPassiveCapture)};e.querySelectorAll(`a, img`).forEach(n)}function ne(e,t,n){let r=`__q_${t}_evt`;e[r]=e[r]===void 0?n:e[r].concat(n),n.forEach(t=>{t[0].addEventListener(t[1],e[t[2]],B[t[3]])})}function re(e,t){let n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(t=>{t[0].removeEventListener(t[1],e[t[2]],B[t[3]])}),e[n]=void 0)}var ie={listenOpts:B,leftClick:H,middleClick:ee,rightClick:U,position:W,getEventPath:G,getMouseWheelDistance:te,stop:K,prevent:q,stopAndPrevent:J,preventDraggable:Y};function ae(e,t=250,n){let r=null;function i(){let i=arguments;r===null?n===!0&&e.apply(this,i):clearTimeout(r),r=setTimeout(()=>{r=null,n!==!0&&e.apply(this,i)},t)}return i.cancel=()=>{r!==null&&clearTimeout(r)},i}const{passive:oe}=B;var se=z({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:V,setDebounce:V,install({$q:e,onSSRHydrated:t}){e.screen=this}});const ce=z({isActive:!1,mode:!1},{__media:void 0,set(e){},toggle(){},install({$q:e,ssrContext:t}){let n=e.config.dark;this.isActive=n===!0,e.dark={isActive:!1,mode:!1,set:n=>{t._meta.bodyClasses=t._meta.bodyClasses.replace(` body--light`,``).replace(` body--dark`,``)+` body--${n===!0?`dark`:`light`}`,e.dark.isActive=n===!0,e.dark.mode=n},toggle:()=>{e.dark.set(e.dark.isActive===!1)}},e.dark.set(n)}});function X(e,t,n=document.body){if(typeof e!=`string`)throw TypeError(`Expected a string as propName`);if(typeof t!=`string`)throw TypeError(`Expected a string as value`);if(!(n instanceof Element))throw TypeError(`Expected a DOM element`);n.style.setProperty(`--q-${e}`,t)}let le=!1;function ue(e){le=e.isComposing===!0}function de(e){return le===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function fe(e,t){return de(e)===!0?!1:[].concat(t).includes(e.keyCode)}function pe(e){if(e.ios===!0)return`ios`;if(e.android===!0)return`android`}function me({is:e,has:t,within:n},r){let i=[e.desktop===!0?`desktop`:`mobile`,`${t.touch===!1?`no-`:``}touch`];if(e.mobile===!0){let t=pe(e);t!==void 0&&i.push(`platform-`+t)}if(e.nativeMobile===!0){let t=e.nativeMobileWrapper;i.push(t),i.push(`native-mobile`),e.ios===!0&&(r[t]===void 0||r[t].iosStatusBarPadding!==!1)&&i.push(`q-ios-padding`)}else e.electron===!0?i.push(`electron`):e.bex===!0&&i.push(`bex`);return n.iframe===!0&&i.push(`within-iframe`),i}function he(){let{is:e}=F,t=document.body.className,n=new Set(t.replace(/ {2}/g,` `).split(` `));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete(`mobile`),n.delete(`platform-ios`),n.delete(`platform-android`),n.add(`desktop`);else if(e.mobile===!0){n.delete(`desktop`),n.add(`mobile`),n.delete(`platform-ios`),n.delete(`platform-android`);let t=pe(e);t!==void 0&&n.add(`platform-${t}`)}}F.has.touch===!0&&(n.delete(`no-touch`),n.add(`touch`)),F.within.iframe===!0&&n.add(`within-iframe`);let r=Array.from(n).join(` `);t!==r&&(document.body.className=r)}function ge(e){for(let t in e)X(t,e[t])}var _e={install(e){{let{$q:t,ssrContext:n}=e,r=me(t.platform,t.config);t.config.screen?.bodyClass===!0&&r.push(`screen--xs`),n._meta.bodyClasses+=r.join(` `);let i=t.config.brand;if(i!==void 0){let e=Object.keys(i).map(e=>`--q-${e}:${i[e]};`).join(``);n._meta.endingHeadTags+=`<style>:root{${e}}</style>`}return}if(this.__installed!==!0){if(j.value===!0)he();else{let{$q:t}=e;t.config.brand!==void 0&&ge(t.config.brand);let n=me(F,t.config);document.body.classList.add.apply(document.body.classList,n)}F.is.ios===!0&&document.body.addEventListener(`touchstart`,V),window.addEventListener(`keydown`,ue,!0)}}},ve={__history:[],add:V,remove:V,install({$q:e}){}},ye={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`,prevMonth:`Previous month`,nextMonth:`Next month`,prevYear:`Previous year`,nextYear:`Next year`,today:`Today`,prevRangeYears:e=>`Previous ${e} years`,nextRangeYears:e=>`Next ${e} years`},table:{noData:`No data available`,noResults:`No matching records found`,loading:`Loading...`,selectedRecords:e=>e===1?`1 record selected.`:(e===0?`No`:e)+` records selected.`,recordsPerPage:`Records per page:`,allRows:`All`,pagination:(e,t,n)=>e+`-`+t+` of `+n,columns:`Columns`},pagination:{first:`First page`,prev:`Previous page`,next:`Next page`,last:`Last page`},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 be(){}const xe=z({__qLang:{}},{getLocale:be,set(e=ye,t){let n={...e,rtl:e.rtl===!0,getLocale:be};if(t===void 0){console.error(`SSR ERROR: second param required: Lang.set(lang, ssrContext)`);return}if(n.set=t.$q.lang.set,t.$q.config.lang===void 0||t.$q.config.lang.noHtmlAttrs!==!0){let e=n.rtl===!0?`rtl`:`ltr`,r=`lang=${n.isoName} dir=${e}`;t._meta.htmlAttrs=t.__qPrevLang===void 0?r:t._meta.htmlAttrs.replace(t.__qPrevLang,r),t.__qPrevLang=r}t.$q.lang=n},install({$q:e,lang:t,ssrContext:n}){{let r=t||ye;e.lang={},e.lang.set=e=>{this.set(e,n)},e.lang.set(r),(this.props===void 0||this.props.isoName!==r.isoName)&&(this.props={...r})}}});var Se={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`}};const Ce=z({iconMapFn:null,__qIconSet:{}},{set(e,t){let n={...e};if(t===void 0){console.error(`SSR ERROR: second param required: IconSet.set(iconSet, ssrContext)`);return}n.set=t.$q.iconSet.set,Object.assign(t.$q.iconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){{let r=t||Se;e.iconMapFn=n.$q.config.iconMapFn||this.iconMapFn||null,e.iconSet={},e.iconSet.set=e=>{this.set(e,n)},e.iconSet.set(r),(this.props===void 0||this.props.name!==r.name)&&(this.props={...r})}}}),we=`_q_t_`,Te=`_q_s_`,Ee=`_q_l_`,De=`_q_f_`,Oe=`_q_fo_`,ke=`_q_tabs_`,Ae=`_q_u_`;function Z(){}function je(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e==`object`&&typeof t==`object`){if(e.constructor!==t.constructor)return!1;let n,r;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(je(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let n=e.entries();for(r=n.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=n.next()}for(n=e.entries(),r=n.next();r.done!==!0;){if(je(r.value[1],t.get(r.value[0]))!==!0)return!1;r=n.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;let n=e.entries();for(r=n.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=n.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let i=Object.keys(e).filter(t=>e[t]!==void 0);if(n=i.length,n!==Object.keys(t).filter(e=>t[e]!==void 0).length)return!1;for(r=n;r--!==0;){let n=i[r];if(je(e[n],t[n])!==!0)return!1}return!0}return e!==e&&t!==t}function Me(e){return typeof e==`object`&&!!e&&Array.isArray(e)!==!0}function Ne(e){return Object.prototype.toString.call(e)===`[object Date]`}function Pe(e){return Object.prototype.toString.call(e)===`[object RegExp]`}function Fe(e){return typeof e==`number`&&isFinite(e)}var Ie={deepEqual:je,object:Me,date:Ne,regexp:Pe,number:Fe};const Le=[I,_e,ce,se,ve,xe,Ce];function Re(e,t){t.forEach(t=>{t.install(e),t.__installed=!0})}function ze(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(`_q_`,n.$q),Re(n,Le),t.components!==void 0&&Object.values(t.components).forEach(t=>{Me(t)===!0&&t.name!==void 0&&e.component(t.name,t)}),t.directives!==void 0&&Object.values(t.directives).forEach(t=>{Me(t)===!0&&t.name!==void 0&&e.directive(t.name,t)}),t.plugins!==void 0&&Re(n,Object.values(t.plugins).filter(e=>typeof e.install==`function`&&Le.includes(e)===!1)),j.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(e=>{e()}),n.$q.onSSRHydrated=()=>{}})}var Be=function(e,t={},n){let r={version:`2.19.1`,config:t.config||{}};Object.assign(n,{$q:r,_meta:{htmlAttrs:``,headTags:``,endingHeadTags:``,bodyClasses:``,bodyAttrs:`data-server-rendered`,bodyTags:``}}),n._modules===void 0&&(n._modules=[]),n.onRendered===void 0&&(n.onRendered=()=>{}),e.config.globalProperties.ssrContext=n,ze(e,t,{parentApp:e,$q:r,lang:t.lang,iconSet:t.iconSet,ssrContext:n})};const Ve=[`B`,`KB`,`MB`,`GB`,`TB`,`PB`];function He(e,t=1){let n=0;for(;parseInt(e,10)>=1024&&n<Ve.length-1;)e/=1024,++n;return`${e.toFixed(t)}${Ve[n]}`}function Ue(e){return e.charAt(0).toUpperCase()+e.slice(1)}function We(e,t,n){return n<=t?t:Math.min(n,Math.max(t,e))}function Ge(e,t,n){if(n<=t)return t;let r=n-t+1,i=t+(e-t)%r;return i<t&&(i=r+i),i===0?0:i}function Q(e,t=2,n=`0`){if(e==null)return e;let r=String(e);return r.length>=t?r:Array(t-r.length+1).join(n)+r}var Ke={humanStorageSize:He,capitalize:Ue,between:We,normalizeToInterval:Ge,pad:Q};const qe=[`top`,`right`,`bottom`,`left`];let Je=[],Ye=0;function Xe({p:e,pos:t,active:n,horiz:r,reverse:i,dir:a}){let o=1,s=1;return r===!0?(i===!0&&(o=-1),t===`bottom`&&(s=-1),{transform:`translate3d(${o*(e-100)}%,${n?0:s*-200}%,0)`}):(i===!0&&(s=-1),t===`right`&&(o=-1),{transform:`translate3d(${n?0:a*o*-200}%,${s*(e-100)}%,0)`})}function Ze(e,t){return typeof t!=`number`&&(t=e<25?Math.random()*3+3:e<65?Math.random()*3:e<85?Math.random()*2:e<99?.6:0),We(e+t,0,100)}function Qe(e){Ye++,Je.push(e),!(Ye>1)&&(null.prototype.open=function(e,t){let n=[];this.addEventListener(`loadstart`,()=>{Je.forEach(e=>{(e.hijackFilter.value===null||e.hijackFilter.value(t)===!0)&&(e.start(),n.push(e.stop))})},{once:!0}),this.addEventListener(`loadend`,()=>{n.forEach(e=>{e()})},{once:!0}),null.apply(this,arguments)})}function $e(e){Je=Je.filter(t=>t.start!==e),Ye=Math.max(0,Ye-1),Ye===0&&(null.prototype.open=null)}var et=L({name:`QAjaxBar`,props:{position:{type:String,default:`top`,validator:e=>qe.includes(e)},size:{type:String,default:`2px`},color:String,skipHijack:Boolean,reverse:Boolean,hijackFilter:Function},emits:[`start`,`stop`],setup(e,{emit:t}){let{proxy:r}=i(),o=y(0),s=y(!1),c=y(!0),l=0,u=null,d,p=n(()=>`q-loading-bar q-loading-bar--${e.position}`+(e.color===void 0?``:` bg-${e.color}`)+(c.value===!0?``:` no-transition`)),m=n(()=>e.position===`top`||e.position===`bottom`),g=n(()=>m.value===!0?`height`:`width`),_=n(()=>{let t=s.value,n=Xe({p:o.value,pos:e.position,active:t,horiz:m.value,reverse:r.$q.lang.rtl===!0&&[`top`,`bottom`].includes(e.position)?e.reverse===!1:e.reverse,dir:r.$q.lang.rtl===!0?-1:1});return n[g.value]=e.size,n.opacity=t?1:0,n}),v=n(()=>s.value===!0?{role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o.value}:{"aria-hidden":`true`});function b(e=300){let n=d;return d=Math.max(0,e)||0,l++,l>1?(n===0&&e>0?C():u!==null&&n>0&&e<=0&&(clearTimeout(u),u=null),l):(u!==null&&clearTimeout(u),t(`start`),o.value=0,u=setTimeout(()=>{u=null,c.value=!0,e>0&&C()},s._value===!0?500:1),s._value!==!0&&(s.value=!0,c.value=!1),l)}function x(e){return l>0&&(o.value=Ze(o.value,e)),l}function S(){if(l=Math.max(0,l-1),l>0)return l;u!==null&&(clearTimeout(u),u=null),t(`stop`);let e=()=>{c.value=!0,o.value=100,u=setTimeout(()=>{u=null,s.value=!1},1e3)};return o.value===0?u=setTimeout(e,1):e(),l}function C(){o.value<100&&(u=setTimeout(()=>{u=null,x(),C()},d))}let w;return h(()=>{e.skipHijack!==!0&&(w=!0,Qe({start:b,stop:S,hijackFilter:n(()=>e.hijackFilter||null)}))}),f(()=>{u!==null&&clearTimeout(u),w===!0&&$e(b)}),Object.assign(r,{start:b,stop:S,increment:x}),()=>a(`div`,{class:p.value,style:_.value,...v.value})}});const tt={xs:18,sm:24,md:32,lg:38,xl:46},nt={size:String};function rt(e,t=tt){return n(()=>e.size===void 0?null:{fontSize:e.size in t?`${t[e.size]}px`:e.size})}function $(e,t){return e===void 0?t:e()||t}function it(e,t){if(e!==void 0){let t=e();if(t!=null)return t.slice()}return t}function at(e,t){return e===void 0?t:t.concat(e())}function ot(e,t){return e===void 0?t:t===void 0?e():t.concat(e())}function st(e,t,n,r,i,o){t.key=r+i;let s=a(e,t,n);return i===!0?E(s,o()):s}const ct=`0 0 24 24`,lt=e=>e,ut=e=>`ionicons ${e}`,dt={"mdi-":e=>`mdi ${e}`,"icon-":lt,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":ut,"ion-ios":ut,"ion-logo":ut,"iconfont ":lt,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`,"i-":lt},ft={o_:`-outlined`,r_:`-round`,s_:`-sharp`},pt={sym_o_:`-outlined`,sym_r_:`-rounded`,sym_s_:`-sharp`},mt=RegExp(`^(`+Object.keys(dt).join(`|`)+`)`),ht=RegExp(`^(`+Object.keys(ft).join(`|`)+`)`),gt=RegExp(`^(`+Object.keys(pt).join(`|`)+`)`),_t=/^[Mm]\s?[-+]?\.?\d/,vt=/^img:/,yt=/^svguse:/,bt=/^ion-/,xt=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;var St=L({name:`QIcon`,props:{...nt,tag:{type:String,default:`i`},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=rt(e),s=n(()=>`q-icon`+(e.left===!0?` on-left`:``)+(e.right===!0?` on-right`:``)+(e.color===void 0?``:` text-${e.color}`)),c=n(()=>{let t,n=e.name;if(n===`none`||!n)return{none:!0};if(r.iconMapFn!==null){let e=r.iconMapFn(n);if(e!==void 0)if(e.icon!==void 0){if(n=e.icon,n===`none`||!n)return{none:!0}}else return{cls:e.cls,content:e.content===void 0?` `:e.content}}if(_t.test(n)===!0){let[e,t=ct]=n.split(`|`);return{svg:!0,viewBox:t,nodes:e.split(`&&`).map(e=>{let[t,n,r]=e.split(`@@`);return a(`path`,{style:n,d:t,transform:r})})}}if(vt.test(n)===!0)return{img:!0,src:n.substring(4)};if(yt.test(n)===!0){let[e,t=ct]=n.split(`|`);return{svguse:!0,src:e.substring(7),viewBox:t}}let i=` `,o=n.match(mt);if(o!==null)t=dt[o[1]](n);else if(xt.test(n)===!0)t=n;else if(bt.test(n)===!0)t=`ionicons ion-${r.platform.is.ios===!0?`ios`:`md`}${n.substring(3)}`;else if(gt.test(n)===!0){t=`notranslate material-symbols`;let e=n.match(gt);e!==null&&(n=n.substring(6),t+=pt[e[1]]),i=n}else t=`notranslate material-icons`,n.match(ht)!==null&&(n=n.substring(2),t+=ft[o[1]]),i=n;return{cls:t,content:i}});return()=>{let n={class:s.value,style:o.value,"aria-hidden":`true`};return c.value.none===!0?a(e.tag,n,$(t.default)):c.value.img===!0?a(e.tag,n,at(t.default,[a(`img`,{src:c.value.src})])):c.value.svg===!0?a(e.tag,n,at(t.default,[a(`svg`,{viewBox:c.value.viewBox||`0 0 24 24`},c.value.nodes)])):c.value.svguse===!0?a(e.tag,n,at(t.default,[a(`svg`,{viewBox:c.value.viewBox},[a(`use`,{"xlink:href":c.value.src})])])):(c.value.cls!==void 0&&(n.class+=` `+c.value.cls),a(e.tag,n,at(t.default,[c.value.content])))}}}),Ct=L({name:`QAvatar`,props:{...nt,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){let r=rt(e),i=n(()=>`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`:``)),o=n(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{let n=e.icon===void 0?void 0:[a(St,{name:e.icon})];return a(`div`,{class:i.value,style:r.value},[a(`div`,{class:`q-avatar__content row flex-center overflow-hidden`,style:o.value},ot(t.default,n))])}}});const wt=[`top`,`middle`,`bottom`];var Tt=L({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=>wt.includes(e)}},setup(e,{slots:t}){let r=n(()=>e.align===void 0?null:{verticalAlign:e.align}),i=n(()=>{let t=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}`)+(t===void 0?``:` text-${t}`)+(e.floating===!0?` q-badge--floating`:``)+(e.rounded===!0?` q-badge--rounded`:``)+(e.transparent===!0?` q-badge--transparent`:``)});return()=>a(`div`,{class:i.value,style:r.value,role:`status`,"aria-label":e.label},at(t.default,e.label===void 0?[]:[e.label]))}});const Et={dark:{type:Boolean,default:null}};function Dt(e,t){return n(()=>e.dark===null?t.dark.isActive:e.dark)}var Ot=L({name:`QBanner`,props:{...Et,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=Dt(e,r),s=n(()=>`q-banner row items-center`+(e.dense===!0?` q-banner--dense`:``)+(o.value===!0?` q-banner--dark q-dark`:``)+(e.rounded===!0?` rounded-borders`:``)),c=n(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?`auto`:`all`}`);return()=>{let n=[a(`div`,{class:`q-banner__avatar col-auto row items-center self-start`},$(t.avatar)),a(`div`,{class:`q-banner__content col text-body2`},$(t.default))],r=$(t.action);return r!==void 0&&n.push(a(`div`,{class:c.value},r)),a(`div`,{class:s.value+(e.inlineActions===!1&&r!==void 0?` q-banner--top-padding`:``),role:`alert`},n)}}}),kt=L({name:`QBar`,props:{...Et,dense:Boolean},setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=Dt(e,r),s=n(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?`dense`:`standard`} q-bar--${o.value===!0?`dark`:`light`}`);return()=>a(`div`,{class:s.value,role:`toolbar`},$(t.default))}});const At={left:`start`,center:`center`,right:`end`,between:`between`,around:`around`,evenly:`evenly`,stretch:`stretch`},jt=Object.keys(At),Mt={align:{type:String,validator:e=>jt.includes(e)}};function Nt(e){return n(()=>{let t=e.align===void 0?e.vertical===!0?`stretch`:`left`:e.align;return`${e.vertical===!0?`items`:`justify`}-${At[t]}`})}function Pt(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 Ft(e,t){typeof t.type==`symbol`?Array.isArray(t.children)===!0&&t.children.forEach(t=>{Ft(e,t)}):e.add(t)}function It(e){let t=new Set;return e.forEach(e=>{Ft(t,e)}),Array.from(t)}function Lt(e){return e.appContext.config.globalProperties.$router!==void 0}function Rt(e){return e.isUnmounted===!0||e.isDeactivated===!0}const zt=[``,!0];var Bt=L({name:`QBreadcrumbs`,props:{...Mt,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 r=Nt(e),i=n(()=>`flex items-center ${r.value}${e.gutter===`none`?``:` q-gutter-${e.gutter}`}`),o=n(()=>e.separatorColor?` text-${e.separatorColor}`:``),s=n(()=>` text-${e.activeColor}`);return()=>{if(t.default===void 0)return;let n=It($(t.default));if(n.length===0)return;let r=1,c=[],l=n.filter(e=>e.type?.name===`QBreadcrumbsEl`).length,u=t.separator===void 0?()=>e.separator:t.separator;return n.forEach(e=>{if(e.type?.name===`QBreadcrumbsEl`){let t=r<l,n=e.props!==null&&zt.includes(e.props.disable),i=(t===!0?``:` q-breadcrumbs--last`)+(n!==!0&&t===!0?s.value:``);r++,c.push(a(`div`,{class:`flex items-center${i}`},[e])),t===!0&&c.push(a(`div`,{class:`q-breadcrumbs__separator`+o.value},u()))}else c.push(e)}),a(`div`,{class:`q-breadcrumbs`},[a(`div`,{class:i.value},c)])}}});function Vt(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}function Ht(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ut(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(Array.isArray(i)===!1||i.length!==r.length||r.some((e,t)=>e!==i[t]))return!1}return!0}function Wt(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Gt(e,t){return Array.isArray(e)===!0?Wt(e,t):Array.isArray(t)===!0?Wt(t,e):e===t}function Kt(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(Gt(e[n],t[n])===!1)return!1;return!0}const qt={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Jt={...qt,exact:Boolean,activeClass:{type:String,default:`q-router-link--active`},exactActiveClass:{type:String,default:`q-router-link--exact-active`}};function Yt({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){let r=i(),{props:a,proxy:o,emit:s}=r,c=Lt(r),l=n(()=>a.disable!==!0&&a.href!==void 0),u=n(t===!0?()=>c===!0&&a.disable!==!0&&l.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==``:()=>c===!0&&l.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==``),d=n(()=>u.value===!0?b(a.to):null),f=n(()=>d.value!==null),p=n(()=>l.value===!0||f.value===!0),m=n(()=>a.type===`a`||p.value===!0?`a`:a.tag||e||`div`),h=n(()=>l.value===!0?{href:a.href,target:a.target}:f.value===!0?{href:d.value.href,target:a.target}:{}),g=n(()=>{if(f.value===!1)return-1;let{matched:e}=d.value,{length:t}=e,n=e[t-1];if(n===void 0)return-1;let r=o.$route.matched;if(r.length===0)return-1;let i=r.findIndex(Ht.bind(null,n));if(i!==-1)return i;let a=Vt(e[t-2]);return t>1&&Vt(n)===a&&r[r.length-1].path!==a?r.findIndex(Ht.bind(null,e[t-2])):i}),_=n(()=>f.value===!0&&g.value!==-1&&Ut(o.$route.params,d.value.params)),v=n(()=>_.value===!0&&g.value===o.$route.matched.length-1&&Kt(o.$route.params,d.value.params)),y=n(()=>f.value===!0?v.value===!0?` ${a.exactActiveClass} ${a.activeClass}`:a.exact===!0?``:_.value===!0?` ${a.activeClass}`:``:``);function b(e){try{return o.$router.resolve(e)}catch{}return null}function x(e,{returnRouterError:t,to:n=a.to,replace:r=a.replace}={}){if(a.disable===!0)return e.preventDefault(),Promise.resolve(!1);if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.button!==void 0&&e.button!==0||a.target===`_blank`)return Promise.resolve(!1);e.preventDefault();let i=o.$router[r===!0?`replace`:`push`](n);return t===!0?i:i.then(()=>{}).catch(()=>{})}function S(e){if(f.value===!0){let t=t=>x(e,t);s(`click`,e,t),e.defaultPrevented!==!0&&t()}else s(`click`,e)}return{hasRouterLink:f,hasHrefLink:l,hasLink:p,linkTag:m,resolvedLink:d,linkIsActive:_,linkIsExactActive:v,linkClass:y,linkAttrs:h,getLink:b,navigateToRouterLink:x,navigateOnClick:S}}var Xt=L({name:`QBreadcrumbsEl`,props:{...Jt,label:String,icon:String,tag:{type:String,default:`span`}},emits:[`click`],setup(e,{slots:t}){let{linkTag:r,linkAttrs:i,linkClass:o,navigateOnClick:s}=Yt(),c=n(()=>({class:`q-breadcrumbs__el q-link flex inline items-center relative-position `+(e.disable===!0?`q-breadcrumbs__el--disable`:`q-link--focusable`+o.value),...i.value,onClick:s})),l=n(()=>`q-breadcrumbs__el-icon`+(e.label===void 0?``:` q-breadcrumbs__el-icon--with-label`));return()=>{let n=[];return e.icon!==void 0&&n.push(a(St,{class:l.value,name:e.icon})),e.label!==void 0&&n.push(e.label),a(r.value,{...c.value},at(t.default,n))}}});const Zt={size:{type:[String,Number],default:`1em`},color:String};function Qt(e){return{cSize:n(()=>e.size in tt?`${tt[e.size]}px`:e.size),classes:n(()=>`q-spinner`+(e.color?` text-${e.color}`:``))}}var $t=L({name:`QSpinner`,props:{...Zt,thickness:{type:Number,default:5}},setup(e){let{cSize:t,classes:n}=Qt(e);return()=>a(`svg`,{class:n.value+` q-spinner-mat`,width:t.value,height:t.value,viewBox:`25 25 50 50`},[a(`circle`,{class:`path`,cx:`50`,cy:`50`,r:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":e.thickness,"stroke-miterlimit":`10`})])}});function en(e){if(e===window)return{top:0,left:0};let{top:t,left:n}=e.getBoundingClientRect();return{top:t,left:n}}function tn(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function nn(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function rn(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function an(e,t){let n=e.style;for(let e in t)n[e]=t[e]}function on(e,t){e.forEach(e=>an(e,t))}function sn(e){if(typeof e==`function`){if(document.readyState!==`loading`)return e();document.addEventListener(`DOMContentLoaded`,e,!1)}}function cn(e){if(e==null)return;if(typeof e==`string`)try{return document.querySelector(e)||void 0}catch{return}let t=S(e);if(t)return t.$el||t}function ln(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}var un={offset:en,style:tn,height:nn,width:rn,css:an,cssBatch:on,ready:sn};function dn(e,t=250){let n=!1,r;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),r=e.apply(this,arguments)),r}}var fn=()=>({}),pn=R({name:`ripple`,getSSRProps:fn});const mn={none:0,xs:4,sm:8,md:16,lg:24,xl:32},hn={xs:8,sm:10,md:14,lg:20,xl:24},gn=[`button`,`submit`,`reset`],_n=/[^\s]\/[^\s]/,vn=[`flat`,`outline`,`push`,`unelevated`];function yn(e,t){return e.flat===!0?`flat`:e.outline===!0?`outline`:e.push===!0?`push`:e.unelevated===!0?`unelevated`:t}function bn(e){let t=yn(e);return t===void 0?{}:{[t]:!0}}const xn={...nt,...qt,type:{type:String,default:`button`},label:[Number,String],icon:String,iconRight:String,...vn.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:{...Mt.align,default:`center`},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Sn={...xn,round:Boolean};function Cn(e){let t=rt(e,hn),r=Nt(e),{hasRouterLink:i,hasLink:a,linkTag:o,linkAttrs:s,navigateOnClick:c}=Yt({fallbackTag:`button`}),l=n(()=>{let n=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding===void 0?n:Object.assign({},n,{padding:e.padding.split(/\s+/).map(e=>e in mn?mn[e]+`px`:e).join(` `),minWidth:`0`,minHeight:`0`})}),u=n(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),d=n(()=>e.disable!==!0&&e.loading!==!0),f=n(()=>d.value===!0?e.tabindex||0:-1),p=n(()=>yn(e,`standard`)),m=n(()=>{let t={tabindex:f.value};return a.value===!0?Object.assign(t,s.value):gn.includes(e.type)===!0&&(t.type=e.type),o.value===`a`?(e.disable===!0?t[`aria-disabled`]=`true`:t.href===void 0&&(t.role=`button`),i.value!==!0&&_n.test(e.type)===!0&&(t.type=e.type)):e.disable===!0&&(t.disabled=``,t[`aria-disabled`]=`true`),e.loading===!0&&e.percentage!==void 0&&Object.assign(t,{role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),t});return{classes:n(()=>{let t;e.color===void 0?e.textColor&&(t=`text-${e.textColor}`):t=e.flat===!0||e.outline===!0?`text-${e.textColor||e.color}`:`bg-${e.color} text-${e.textColor||`white`}`;let n=e.round===!0?`round`:`rectangle${u.value===!0?` q-btn--rounded`:e.square===!0?` q-btn--square`:``}`;return`q-btn--${p.value} q-btn--${n}`+(t===void 0?``:` `+t)+(d.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`:``)}),style:l,innerClasses:n(()=>r.value+(e.stack===!0?` column`:` row`)+(e.noWrap===!0?` no-wrap text-no-wrap`:``)+(e.loading===!0?` q-btn__content--hidden`:``)),attributes:m,hasLink:a,linkTag:o,navigateOnClick:c,isActionable:d}}const{passiveCapture:wn}=B;let Tn=null,En=null,Dn=null;var On=L({name:`QBtn`,props:{...Sn,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:[`click`,`keydown`,`mousedown`,`keyup`],setup(e,{slots:r,emit:o}){let{proxy:s}=i(),{classes:c,style:l,innerClasses:u,attributes:d,hasLink:p,linkTag:m,navigateOnClick:h,isActionable:g}=Cn(e),_=y(null),v=y(null),b=null,x,S=null,C=n(()=>e.label!==void 0&&e.label!==null&&e.label!==``),w=n(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:p.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),T=n(()=>({center:e.round})),D=n(()=>{let t=Math.max(0,Math.min(100,e.percentage));return t>0?{transition:`transform 0.6s`,transform:`translateX(${t-100}%)`}:{}}),O=n(()=>{if(e.loading===!0)return{onMousedown:I,onTouchstart:I,onClick:I,onKeydown:I,onKeyup:I};if(g.value===!0){let t={onClick:A,onKeydown:j,onMousedown:N};if(s.$q.platform.has.touch===!0){let n=e.onTouchstart===void 0?`Passive`:``;t[`onTouchstart${n}`]=M}return t}return{onClick:J}}),k=n(()=>({ref:_,class:`q-btn q-btn-item non-selectable no-outline `+c.value,style:l.value,...d.value,...O.value}));function A(t){if(_.value!==null){if(t!==void 0){if(t.defaultPrevented===!0)return;let n=document.activeElement;if(e.type===`submit`&&n!==document.body&&_.value.contains(n)===!1&&n.contains(_.value)===!1){t.qAvoidFocus!==!0&&_.value.focus();let e=()=>{document.removeEventListener(`keydown`,J,!0),document.removeEventListener(`keyup`,e,wn),_.value?.removeEventListener(`blur`,e,wn)};document.addEventListener(`keydown`,J,!0),document.addEventListener(`keyup`,e,wn),_.value.addEventListener(`blur`,e,wn)}}h(t)}}function j(e){_.value!==null&&(o(`keydown`,e),fe(e,[13,32])===!0&&En!==_.value&&(En!==null&&F(),e.defaultPrevented!==!0&&(e.qAvoidFocus!==!0&&_.value.focus(),En=_.value,_.value.classList.add(`q-btn--active`),document.addEventListener(`keyup`,P,!0),_.value.addEventListener(`blur`,P,wn)),J(e)))}function M(e){_.value!==null&&(o(`touchstart`,e),e.defaultPrevented!==!0&&(Tn!==_.value&&(Tn!==null&&F(),Tn=_.value,b=e.target,b.addEventListener(`touchcancel`,P,wn),b.addEventListener(`touchend`,P,wn)),x=!0,S!==null&&clearTimeout(S),S=setTimeout(()=>{S=null,x=!1},200)))}function N(e){_.value!==null&&(e.qSkipRipple=x===!0,o(`mousedown`,e),e.defaultPrevented!==!0&&Dn!==_.value&&(Dn!==null&&F(),Dn=_.value,_.value.classList.add(`q-btn--active`),document.addEventListener(`mouseup`,P,wn)))}function P(e){if(_.value!==null&&!(e?.type===`blur`&&document.activeElement===_.value)){if(e?.type===`keyup`){if(En===_.value&&fe(e,[13,32])===!0){let t=new MouseEvent(`click`,e);t.qKeyEvent=!0,e.defaultPrevented===!0&&q(t),e.cancelBubble===!0&&K(t),_.value.dispatchEvent(t),J(e),e.qKeyEvent=!0}o(`keyup`,e)}F()}}function F(e){let t=v.value;e!==!0&&(Tn===_.value||Dn===_.value)&&t!==null&&t!==document.activeElement&&(t.setAttribute(`tabindex`,-1),t.focus()),Tn===_.value&&(b!==null&&(b.removeEventListener(`touchcancel`,P,wn),b.removeEventListener(`touchend`,P,wn)),Tn=b=null),Dn===_.value&&(document.removeEventListener(`mouseup`,P,wn),Dn=null),En===_.value&&(document.removeEventListener(`keyup`,P,!0),_.value?.removeEventListener(`blur`,P,wn),En=null),_.value?.classList.remove(`q-btn--active`)}function I(e){J(e),e.qSkipRipple=!0}return f(()=>{F(!0)}),Object.assign(s,{click:e=>{g.value===!0&&A(e)}}),()=>{let n=[];e.icon!==void 0&&n.push(a(St,{name:e.icon,left:e.stack!==!0&&C.value===!0,role:`img`})),C.value===!0&&n.push(a(`span`,{class:`block`},[e.label])),n=at(r.default,n),e.iconRight!==void 0&&e.round===!1&&n.push(a(St,{name:e.iconRight,right:e.stack!==!0&&C.value===!0,role:`img`}));let i=[a(`span`,{class:`q-focus-helper`,ref:v})];return e.loading===!0&&e.percentage!==void 0&&i.push(a(`span`,{class:`q-btn__progress absolute-full overflow-hidden`+(e.darkPercentage===!0?` q-btn__progress--dark`:``)},[a(`span`,{class:`q-btn__progress-indicator fit block`,style:D.value})])),i.push(a(`span`,{class:`q-btn__content text-center col items-center q-anchor--skip `+u.value},n)),e.loading!==null&&i.push(a(t,{name:`q-transition--fade`},()=>e.loading===!0?[a(`span`,{key:`loading`,class:`absolute-full flex flex-center`},r.loading===void 0?[a($t)]:r.loading())]:null)),E(a(m.value,k.value,i),[[pn,w.value,void 0,T.value]])}}}),kn=L({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 r=n(()=>{let t=[`unelevated`,`outline`,`flat`,`rounded`,`square`,`push`,`stretch`,`glossy`].filter(t=>e[t]===!0).map(e=>`q-btn-group--${e}`).join(` `);return`q-btn-group row no-wrap${t.length===0?``:` `+t}`+(e.spread===!0?` q-btn-group--spread`:` inline`)});return()=>a(`div`,{class:r.value},$(t.default))}});function An(){if(window.getSelection!==void 0){let e=window.getSelection();e.empty===void 0?e.removeAllRanges!==void 0&&(e.removeAllRanges(),I.is.mobile!==!0&&e.addRange(document.createRange())):e.empty()}else document.selection!==void 0&&document.selection.empty()}const jn={target:{default:!0},noParentEvent:Boolean},Mn={...jn,contextMenu:Boolean};function Nn({showing:e,avoidEmit:t,configureAnchorEl:n}){let{props:r,proxy:a,emit:o}=i(),s=y(null),c=null;function u(e){return s.value===null?!1:e===void 0||e.touches===void 0||e.touches.length<=1}let d={};n===void 0&&(Object.assign(d,{hide(e){a.hide(e)},toggle(e){a.toggle(e),e.qAnchorHandled=!0},toggleKey(e){fe(e,13)===!0&&d.toggle(e)},contextClick(e){a.hide(e),q(e),l(()=>{a.show(e),e.qAnchorHandled=!0})},prevent:q,mobileTouch(e){if(d.mobileCleanup(e),u(e)!==!0)return;a.hide(e),s.value.classList.add(`non-selectable`);let t=e.target;ne(d,`anchor`,[[t,`touchmove`,`mobileCleanup`,`passive`],[t,`touchend`,`mobileCleanup`,`passive`],[t,`touchcancel`,`mobileCleanup`,`passive`],[s.value,`contextmenu`,`prevent`,`notPassive`]]),c=setTimeout(()=>{c=null,a.show(e),e.qAnchorHandled=!0},300)},mobileCleanup(t){s.value.classList.remove(`non-selectable`),c!==null&&(clearTimeout(c),c=null),e.value===!0&&t!==void 0&&An()}}),n=function(e=r.contextMenu){if(r.noParentEvent===!0||s.value===null)return;let t;t=e===!0?a.$q.platform.is.mobile===!0?[[s.value,`touchstart`,`mobileTouch`,`passive`]]:[[s.value,`mousedown`,`hide`,`passive`],[s.value,`contextmenu`,`contextClick`,`notPassive`]]:[[s.value,`click`,`toggle`,`passive`],[s.value,`keyup`,`toggleKey`,`passive`]],ne(d,`anchor`,t)});function p(){re(d,`anchor`)}function m(e){for(s.value=e;s.value.classList.contains(`q-anchor--skip`);)s.value=s.value.parentNode;n()}function g(){if(r.target===!1||r.target===``||a.$el.parentNode===null)s.value=null;else if(r.target===!0)m(a.$el.parentNode);else{let e=r.target;if(typeof r.target==`string`)try{e=document.querySelector(r.target)}catch{e=void 0}e==null?(s.value=null,console.error(`Anchor: target "${r.target}" not found`)):(s.value=e.$el||e,n())}}return T(()=>r.contextMenu,e=>{s.value!==null&&(p(),n(e))}),T(()=>r.target,()=>{s.value!==null&&p(),g()}),T(()=>r.noParentEvent,e=>{s.value!==null&&(e===!0?p():n())}),h(()=>{g(),t!==!0&&r.modelValue===!0&&s.value===null&&o(`update:modelValue`,!1)}),f(()=>{c!==null&&clearTimeout(c),p()}),{anchorEl:s,canShow:u,anchorEvents:d}}function Pn(e,t){let n=y(null),r;function i(e,t){let n=`${t===void 0?`remove`:`add`}EventListener`,i=t===void 0?r:t;e!==window&&e[n](`scroll`,i,B.passive),window[n](`scroll`,i,B.passive),r=t}function a(){n.value!==null&&(i(n.value),n.value=null)}return f(T(()=>e.noParentEvent,()=>{n.value!==null&&(a(),t())})),{localScrollTarget:n,unconfigureScrollTarget:a,changeScrollEvent:i}}const Fn={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},In=[`beforeShow`,`show`,`beforeHide`,`hide`];function Ln({showing:e,canShow:t,hideOnRouteChange:n,handleShow:r,handleHide:a,processOnMount:o}){let s=i(),{props:c,emit:l,proxy:u}=s;function d(t){e.value===!0||f(t)}function f(e){c.disable===!0||e?.qAnchorHandled===!0||t!==void 0&&t(e)!==!0||(c[`onUpdate:modelValue`],c.modelValue,p(e))}function p(t){e.value!==!0&&(e.value=!0,l(`beforeShow`,t),r===void 0?l(`show`,t):r(t))}function m(e){}function g(t){e.value!==!1&&(e.value=!1,l(`beforeHide`,t),a===void 0?l(`hide`,t):a(t))}function _(t){c.disable===!0&&t===!0?c[`onUpdate:modelValue`]!==void 0&&l(`update:modelValue`,!1):t===!0!==e.value&&(t===!0?p:g)(void 0)}T(()=>c.modelValue,_),n!==void 0&&Lt(s)===!0&&T(()=>u.$route.fullPath,()=>{n.value===!0&&e.value}),o===!0&&h(()=>{_(c.modelValue)});let v={show:f,hide:m,toggle:d};return Object.assign(u,v),v}let Rn=[],zn=[];function Bn(e){zn.length===0?e():Rn.push(e)}function Vn(e){Rn=Rn.filter(t=>t!==e)}const Hn=[];function Un(e,t){do{if(e.$options.name===`QMenu`){if(e.hide(t),e.$props.separateClosePopup===!0)return Pt(e)}else if(e.__qPortal===!0){let n=Pt(e);return n?.$options.name===`QPopupProxy`?(e.hide(t),n):e}e=Pt(e)}while(e!=null)}L({name:`QPortal`,setup(e,{slots:t}){return()=>t.default()}});function Wn(e,t,n,r){return{portalIsActive:y(!1),portalIsAccessible:y(!1),showPortal:V,hidePortal:V,renderPortal:V}}const Gn={transitionShow:{type:String,default:`fade`},transitionHide:{type:String,default:`fade`},transitionDuration:{type:[String,Number],default:300}};function Kn(e,t=()=>{},r=()=>{}){return{transitionProps:n(()=>{let n=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||r()}`;return{appear:!0,enterFromClass:`${n}-enter-from`,enterActiveClass:`${n}-enter-active`,enterToClass:`${n}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}}),transitionStyle:n(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function qn(){let e,t=i();function n(){e=void 0}return m(n),f(n),{removeTick:n,registerTick(n){e=n,l(()=>{e===n&&(Rt(t)===!1&&e(),e=void 0)})}}}function Jn(){let e=null,t=i();function n(){e!==null&&(clearTimeout(e),e=null)}return m(n),f(n),{removeTimeout:n,registerTimeout(r,i){n(),Rt(t)===!1&&(e=setTimeout(()=>{e=null,r()},i))}}}const Yn={},Xn=[];function Zn(e,t){let n=cn(t);if(n===void 0){if(e==null)return window;n=e.closest(`.scroll,.scroll-y,.overflow-auto`)}return Xn.includes(n)?window:n}function Qn(e){return(e===window?document.body:e).scrollHeight}function $n(e){return(e===window?document.body:e).scrollWidth}function er(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function tr(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function nr(e,t,n=0){let r=arguments[3]===void 0?performance.now():arguments[3],i=er(e);if(n<=0){i!==t&&ir(e,t);return}requestAnimationFrame(a=>{let o=a-r,s=i+(t-i)/Math.max(o,n)*o;ir(e,s),s!==t&&nr(e,t,n-o,a)})}function rr(e,t,n=0){let r=arguments[3]===void 0?performance.now():arguments[3],i=tr(e);if(n<=0){i!==t&&ar(e,t);return}requestAnimationFrame(a=>{let o=a-r,s=i+(t-i)/Math.max(o,n)*o;ar(e,s),s!==t&&rr(e,t,n-o,a)})}function ir(e,t){if(e===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t);return}e.scrollTop=t}function ar(e,t){if(e===window){window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}e.scrollLeft=t}function or(e,t,n){if(n){nr(e,t,n);return}ir(e,t)}function sr(e,t,n){if(n){rr(e,t,n);return}ar(e,t)}let cr;function lr(){if(cr!==void 0)return cr;let e=document.createElement(`p`),t=document.createElement(`div`);an(e,{width:`100%`,height:`200px`}),an(t,{position:`absolute`,top:`0px`,left:`0px`,visibility:`hidden`,width:`200px`,height:`150px`,overflow:`hidden`}),t.appendChild(e),document.body.appendChild(t);let n=e.offsetWidth;t.style.overflow=`scroll`;let r=e.offsetWidth;return n===r&&(r=t.clientWidth),t.remove(),cr=n-r,cr}function ur(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 dr={getScrollTarget:Zn,getScrollHeight:Qn,getScrollWidth:$n,getVerticalScrollPosition:er,getHorizontalScrollPosition:tr,animVerticalScrollTo:nr,animHorizontalScrollTo:rr,setVerticalScrollPosition:or,setHorizontalScrollPosition:sr,getScrollbarWidth:lr,hasScrollbar:ur};const fr=[];let pr;function mr(e){pr=e.keyCode===27}function hr(){pr===!0&&(pr=!1)}function gr(e){pr===!0&&(pr=!1,fe(e,27)===!0&&fr[fr.length-1](e))}function _r(e){window[e](`keydown`,mr),window[e](`blur`,hr),window[e](`keyup`,gr),pr=!1}function vr(e){F.is.desktop===!0&&(fr.push(e),fr.length===1&&_r(`addEventListener`))}function yr(e){let t=fr.indexOf(e);t!==-1&&(fr.splice(t,1),fr.length===0&&_r(`removeEventListener`))}const br=[];function xr(e){br[br.length-1](e)}function Sr(e){F.is.desktop===!0&&(br.push(e),br.length===1&&document.body.addEventListener(`focusin`,xr))}function Cr(e){let t=br.indexOf(e);t!==-1&&(br.splice(t,1),br.length===0&&document.body.removeEventListener(`focusin`,xr))}let wr=null;const{notPassiveCapture:Tr}=B,Er=[];function Dr(e){wr!==null&&(clearTimeout(wr),wr=null);let t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains(`no-pointer-events`)===!0)return;let n=Hn.length-1;for(;n>=0;){let e=Hn[n].$;if(e.type.name===`QTooltip`){n--;continue}if(e.type.name!==`QDialog`)break;if(e.props.seamless!==!0)return;n--}for(let n=Er.length-1;n>=0;n--){let r=Er[n];if((r.anchorEl.value===null||r.anchorEl.value.contains(t)===!1)&&(t===document.body||r.innerRef.value!==null&&r.innerRef.value.contains(t)===!1))e.qClickOutside=!0,r.onClickOutside(e);else return}}function Or(e){Er.push(e),Er.length===1&&(document.addEventListener(`mousedown`,Dr,Tr),document.addEventListener(`touchstart`,Dr,Tr))}function kr(e){let t=Er.findIndex(t=>t===e);t!==-1&&(Er.splice(t,1),Er.length===0&&(wr!==null&&(clearTimeout(wr),wr=null),document.removeEventListener(`mousedown`,Dr,Tr),document.removeEventListener(`touchstart`,Dr,Tr)))}let Ar,jr;function Mr(e){let t=e.split(` `);return t.length===2?[`top`,`center`,`bottom`].includes(t[0])===!0?[`left`,`middle`,`right`,`start`,`end`].includes(t[1])===!0?!0:(console.error(`Anchor/Self position must end with one of left/middle/right/start/end`),!1):(console.error(`Anchor/Self position must start with one of top/center/bottom`),!1):!1}function Nr(e){return e?!(e.length!==2||typeof e[0]!=`number`||typeof e[1]!=`number`):!0}const Pr={"start#ltr":`left`,"start#rtl":`right`,"end#ltr":`right`,"end#rtl":`left`};[`left`,`middle`,`right`].forEach(e=>{Pr[`${e}#ltr`]=e,Pr[`${e}#rtl`]=e});function Fr(e,t){let n=e.split(` `);return{vertical:n[0],horizontal:Pr[`${n[1]}#${t===!0?`rtl`:`ltr`}`]}}function Ir(e,t){let{top:n,left:r,right:i,bottom:a,width:o,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],r-=t[0],a+=t[1],i+=t[0],o+=t[0],s+=t[1]),{top:n,bottom:a,height:s,left:r,right:i,width:o,middle:r+(i-r)/2,center:n+(a-n)/2}}function Lr(e,t,n){let{top:r,left:i}=e.getBoundingClientRect();return r+=t.top,i+=t.left,n!==void 0&&(r+=n[1],i+=n[0]),{top:r,bottom:r+1,height:1,left:i,right:i+1,width:1,middle:i,center:r}}function Rr(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function zr(e,t,n,r){return{top:e[n.vertical]-t[r.vertical],left:e[n.horizontal]-t[r.horizontal]}}function Br(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{Br(e,t+1)},10);return}let{targetEl:n,offset:r,anchorEl:i,anchorOrigin:a,selfOrigin:o,absoluteOffset:s,fit:c,cover:l,maxHeight:u,maxWidth:d}=e;if(F.is.ios===!0&&window.visualViewport!==void 0){let e=document.body.style,{offsetLeft:t,offsetTop:n}=window.visualViewport;t!==Ar&&(e.setProperty(`--q-pe-left`,t+`px`),Ar=t),n!==jr&&(e.setProperty(`--q-pe-top`,n+`px`),jr=n)}let{scrollLeft:f,scrollTop:p}=n,m=s===void 0?Ir(i,l===!0?[0,0]:r):Lr(i,s,r);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:d,maxHeight:u,visibility:`visible`});let{offsetWidth:h,offsetHeight:g}=n,{elWidth:_,elHeight:v}=c===!0||l===!0?{elWidth:Math.max(m.width,h),elHeight:l===!0?Math.max(m.height,g):g}:{elWidth:h,elHeight:g},y={maxWidth:d,maxHeight:u};(c===!0||l===!0)&&(y.minWidth=m.width+`px`,l===!0&&(y.minHeight=m.height+`px`)),Object.assign(n.style,y);let b=Rr(_,v),x=zr(m,b,a,o);if(s===void 0||r===void 0)Vr(x,m,b,a,o);else{let{top:e,left:t}=x;Vr(x,m,b,a,o);let n=!1;if(x.top!==e){n=!0;let e=2*r[1];m.center=m.top-=e,m.bottom-=e+2}if(x.left!==t){n=!0;let e=2*r[0];m.middle=m.left-=e,m.right-=e+2}n===!0&&(x=zr(m,b,a,o),Vr(x,m,b,a,o))}y={top:x.top+`px`,left:x.left+`px`},x.maxHeight!==void 0&&(y.maxHeight=x.maxHeight+`px`,m.height>x.maxHeight&&(y.minHeight=y.maxHeight)),x.maxWidth!==void 0&&(y.maxWidth=x.maxWidth+`px`,m.width>x.maxWidth&&(y.minWidth=y.maxWidth)),Object.assign(n.style,y),n.scrollTop!==p&&(n.scrollTop=p),n.scrollLeft!==f&&(n.scrollLeft=f)}function Vr(e,t,n,r,i){let a=n.bottom,o=n.right,s=lr(),c=window.innerHeight-s,l=document.body.clientWidth;if(e.top<0||e.top+a>c)if(i.vertical===`center`)e.top=t[r.vertical]>c/2?Math.max(0,c-a):0,e.maxHeight=Math.min(a,c);else if(t[r.vertical]>c/2){let n=Math.min(c,r.vertical===`center`?t.center:r.vertical===i.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,n),e.top=Math.max(0,n-a)}else e.top=Math.max(0,r.vertical===`center`?t.center:r.vertical===i.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,c-e.top);if(e.left<0||e.left+o>l)if(e.maxWidth=Math.min(o,l),i.horizontal===`middle`)e.left=t[r.horizontal]>l/2?Math.max(0,l-o):0;else if(t[r.horizontal]>l/2){let n=Math.min(l,r.horizontal===`middle`?t.middle:r.horizontal===i.horizontal?t.right:t.left);e.maxWidth=Math.min(o,n),e.left=Math.max(0,n-e.maxWidth)}else e.left=Math.max(0,r.horizontal===`middle`?t.middle:r.horizontal===i.horizontal?t.left:t.right),e.maxWidth=Math.min(o,l-e.left)}var Hr=L({name:`QMenu`,inheritAttrs:!1,props:{...Mn,...Fn,...Et,...Gn,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Mr},self:{type:String,validator:Mr},offset:{type:Array,validator:Nr},scrollTarget:Yn,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...In,`click`,`escapeKey`],setup(e,{slots:r,emit:o,attrs:s}){let c=null,l,u,d,p=i(),{proxy:m}=p,{$q:h}=m,g=y(null),_=y(!1),v=n(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),b=Dt(e,h),{registerTick:x,removeTick:S}=qn(),{registerTimeout:C}=Jn(),{transitionProps:w,transitionStyle:E}=Kn(e),{localScrollTarget:D,changeScrollEvent:O,unconfigureScrollTarget:k}=Pn(e,te),{anchorEl:A,canShow:j}=Nn({showing:_}),{hide:M}=Ln({showing:_,canShow:j,handleShow:ee,handleHide:U,hideOnRouteChange:v,processOnMount:!0}),{showPortal:N,hidePortal:P,renderPortal:F}=Wn(p,g,re,`menu`),I={anchorEl:A,innerRef:g,onClickOutside(t){if(e.persistent!==!0&&_.value===!0)return M(t),(t.type===`touchstart`||t.target.classList.contains(`q-dialog__backdrop`))&&J(t),!0}},L=n(()=>Fr(e.anchor||(e.cover===!0?`center middle`:`bottom start`),h.lang.rtl)),R=n(()=>e.cover===!0?L.value:Fr(e.self||`top start`,h.lang.rtl)),z=n(()=>(e.square===!0?` q-menu--square`:``)+(b.value===!0?` q-menu--dark q-dark`:``)),B=n(()=>e.autoClose===!0?{onClick:K}:{}),V=n(()=>_.value===!0&&e.persistent!==!0);T(V,e=>{e===!0?(vr(Y),Or(I)):(yr(Y),kr(I))});function H(){Bn(()=>{let e=g.value;e&&e.contains(document.activeElement)!==!0&&(e=e.querySelector(`[autofocus][tabindex], [data-autofocus][tabindex]`)||e.querySelector(`[autofocus] [tabindex], [data-autofocus] [tabindex]`)||e.querySelector(`[autofocus], [data-autofocus]`)||e,e.focus({preventScroll:!0}))})}function ee(t){if(c=e.noRefocus===!1?document.activeElement:null,Sr(q),N(),te(),l=void 0,t!==void 0&&(e.touchPosition||e.contextMenu)){let e=W(t);if(e.left!==void 0){let{top:t,left:n}=A.value.getBoundingClientRect();l={left:e.left-n,top:e.top-t}}}u===void 0&&(u=T(()=>h.screen.width+`|`+h.screen.height+`|`+e.self+`|`+e.anchor+`|`+h.lang.rtl,ne)),e.noFocus!==!0&&document.activeElement.blur(),x(()=>{ne(),e.noFocus!==!0&&H()}),C(()=>{h.platform.is.ios===!0&&(d=e.autoClose,g.value.click()),ne(),N(!0),o(`show`,t)},e.transitionDuration)}function U(t){S(),P(),G(!0),c!==null&&(t===void 0||t.qClickOutside!==!0)&&(((t?.type.indexOf(`key`)===0?c.closest(`[tabindex]:not([tabindex^="-"])`):void 0)||c).focus(),c=null),C(()=>{P(!0),o(`hide`,t)},e.transitionDuration)}function G(e){l=void 0,u!==void 0&&(u(),u=void 0),(e===!0||_.value===!0)&&(Cr(q),k(),kr(I),yr(Y)),e!==!0&&(c=null)}function te(){(A.value!==null||e.scrollTarget!==void 0)&&(D.value=Zn(A.value,e.scrollTarget),O(D.value,ne))}function K(e){d===!0?d=!1:(Un(m,e),o(`click`,e))}function q(t){V.value===!0&&e.noFocus!==!0&&ln(g.value,t.target)!==!0&&H()}function Y(t){e.noEscDismiss!==!0&&(o(`escapeKey`),M(t))}function ne(){Br({targetEl:g.value,offset:e.offset,anchorEl:A.value,anchorOrigin:L.value,selfOrigin:R.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function re(){return a(t,w.value,()=>_.value===!0?a(`div`,{role:`menu`,...s,ref:g,tabindex:-1,class:[`q-menu q-position-engine scroll`+z.value,s.class],style:[s.style,E.value],...B.value},$(r.default)):null)}return f(G),Object.assign(m,{focus:H,updatePosition:ne}),F}});let Ur,Wr=0;const Gr=Array(256);for(let e=0;e<256;e++)Gr[e]=(e+256).toString(16).substring(1);const Kr=(()=>{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 n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{let t=[];for(let n=e;n>0;n--)t.push(Math.floor(Math.random()*256));return t}})(),qr=4096;function Jr(){(Ur===void 0||Wr+16>qr)&&(Wr=0,Ur=Kr(qr));let e=Array.prototype.slice.call(Ur,Wr,Wr+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,Gr[e[0]]+Gr[e[1]]+Gr[e[2]]+Gr[e[3]]+`-`+Gr[e[4]]+Gr[e[5]]+`-`+Gr[e[6]]+Gr[e[7]]+`-`+Gr[e[8]]+Gr[e[9]]+`-`+Gr[e[10]]+Gr[e[11]]+Gr[e[12]]+Gr[e[13]]+Gr[e[14]]+Gr[e[15]]}function Yr(e){return e??null}function Xr(e,t){return e??(t===!0?`f_${Jr()}`:null)}function Zr({getValue:e,required:t=!0}={}){if(j.value===!0){let n=y(e===void 0?null:Yr(e()));return t===!0&&n.value===null&&h(()=>{n.value=`f_${Jr()}`}),e!==void 0&&T(e,e=>{n.value=Xr(e,t)}),n}return e===void 0?y(`f_${Jr()}`):n(()=>Xr(e(),t))}const Qr=Object.keys(xn);function $r(e){return Qr.reduce((t,n)=>{let r=e[n];return r!==void 0&&(t[n]=r),t},{})}var ei=L({name:`QBtnDropdown`,props:{...xn,...Gn,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,noRefocus:Boolean,noFocus: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:r}){let{proxy:o}=i(),s=y(e.modelValue),c=y(null),l=Zr(),u=n(()=>{let t={"aria-expanded":s.value===!0?`true`:`false`,"aria-haspopup":`true`,"aria-controls":l.value,"aria-label":e.toggleAriaLabel||o.$q.lang.label[s.value===!0?`collapse`:`expand`](e.label)};return(e.disable===!0||e.split===!1&&e.disableMainBtn===!0||e.disableDropdown===!0)&&(t[`aria-disabled`]=`true`),t}),d=n(()=>`q-btn-dropdown__arrow`+(s.value===!0&&e.noIconAnimation===!1?` rotate-180`:``)+(e.split===!1?` q-btn-dropdown__arrow-container`:``)),f=n(()=>bn(e)),p=n(()=>$r(e));T(()=>e.modelValue,e=>{c.value?.[e?`show`:`hide`]()}),T(()=>e.split,w);function m(e){s.value=!0,r(`beforeShow`,e)}function g(e){r(`show`,e),r(`update:modelValue`,!0)}function _(e){s.value=!1,r(`beforeHide`,e)}function v(e){r(`hide`,e),r(`update:modelValue`,!1)}function b(e){r(`click`,e)}function x(e){K(e),w(),r(`click`,e)}function S(e){c.value?.toggle(e)}function C(e){c.value?.show(e)}function w(e){c.value?.hide(e)}return Object.assign(o,{show:C,hide:w,toggle:S}),h(()=>{e.modelValue===!0&&C()}),()=>{let n=[a(St,{class:d.value,name:e.dropdownIcon||o.$q.iconSet.arrow.dropdown})];return e.disableDropdown!==!0&&n.push(a(Hr,{ref:c,id:l.value,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noEscDismiss:e.noEscDismiss,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,noFocus:e.noFocus,noRefocus:e.noRefocus,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:m,onShow:g,onBeforeHide:_,onHide:v},t.default)),e.split===!1?a(On,{class:`q-btn-dropdown q-btn-dropdown--simple`,...p.value,...u.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:b},{default:()=>$(t.label,[]).concat(n),loading:t.loading}):a(kn,{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},()=>[a(On,{class:`q-btn-dropdown--current`,...p.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:x},{default:t.label,loading:t.loading}),a(On,{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},()=>n)])}}});const ti={name:String};function ni(e){return n(()=>({type:`hidden`,name:e.name,value:e.modelValue}))}function ri(e={}){return(t,n,r)=>{t[n](a(`input`,{class:`hidden`+(r||``),...e.value}))}}function ii(e){return n(()=>e.name||e.for)}var ai=L({name:`QBtnToggle`,props:{...ti,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every(e=>(`label`in e||`icon`in e||`slot`in e)&&`value`in e)},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:r}){let i=n(()=>e.options.find(t=>t.value===e.modelValue)!==void 0),o=ri(n(()=>({type:`hidden`,name:e.name,value:e.modelValue}))),s=n(()=>bn(e)),c=n(()=>({rounded:e.rounded,dense:e.dense,...s.value})),l=n(()=>e.options.map((t,n)=>{let{attrs:r,value:i,slot:a,...o}=t;return{slot:a,props:{key:n,"aria-pressed":i===e.modelValue?`true`:`false`,...r,...o,...c.value,disable:e.disable===!0||o.disable===!0,color:i===e.modelValue?d(o,`toggleColor`):d(o,`color`),textColor:i===e.modelValue?d(o,`toggleTextColor`):d(o,`textColor`),noCaps:d(o,`noCaps`)===!0,noWrap:d(o,`noWrap`)===!0,size:d(o,`size`),padding:d(o,`padding`),ripple:d(o,`ripple`),stack:d(o,`stack`)===!0,stretch:d(o,`stretch`)===!0,onClick(e){u(i,t,e)}}}}));function u(t,n,i){e.readonly!==!0&&(e.modelValue===t?e.clearable===!0&&(r(`update:modelValue`,null,null),r(`clear`)):r(`update:modelValue`,t,n),r(`click`,i))}function d(t,n){return t[n]===void 0?e[n]:t[n]}function f(){let n=l.value.map(e=>a(On,e.props,e.slot===void 0?void 0:t[e.slot]));return e.name!==void 0&&e.disable!==!0&&i.value===!0&&o(n,`push`),at(t.default,n)}return()=>a(kn,{class:`q-btn-toggle`,...s.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},f)}}),oi=L({name:`QCard`,props:{...Et,tag:{type:String,default:`div`},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=Dt(e,r),s=n(()=>`q-card`+(o.value===!0?` q-card--dark q-dark`:``)+(e.bordered===!0?` q-card--bordered`:``)+(e.square===!0?` q-card--square no-border-radius`:``)+(e.flat===!0?` q-card--flat no-shadow`:``));return()=>a(e.tag,{class:s.value},$(t.default))}}),si=L({name:`QCardSection`,props:{tag:{type:String,default:`div`},horizontal:Boolean},setup(e,{slots:t}){let r=n(()=>`q-card__section q-card__section--${e.horizontal===!0?`horiz row no-wrap`:`vert`}`);return()=>a(e.tag,{class:r.value},$(t.default))}}),ci=L({name:`QCardActions`,props:{...Mt,vertical:Boolean},setup(e,{slots:t}){let r=Nt(e),i=n(()=>`q-card__actions ${r.value} q-card__actions--${e.vertical===!0?`vert column`:`horiz row`}`);return()=>a(`div`,{class:i.value},$(t.default))}});const li={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0};li.all=!0;var ui=R({name:`touch-swipe`,getSSRProps:fn});function di(){let e=Object.create(null);return{getCache:(e,t)=>typeof t==`function`?t():t,setCache(t,n){e[t]=n},hasCache(t){return Object.hasOwnProperty.call(e,t)},clearCache(t){t===void 0?e=Object.create(null):delete e[t]}}}const fi={name:{required:!0},disable:Boolean},pi={setup(e,{slots:t}){return()=>a(`div`,{class:`q-panel scroll`,role:`tabpanel`},$(t.default))}},mi={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},hi=[`update:modelValue`,`beforeTransition`,`transition`];function gi(){let{props:r,emit:o,proxy:s}=i(),{getCache:c}=di(),{registerTimeout:l}=Jn(),u,d,f=y(null),p={value:null};function m(e){let t=r.vertical===!0?`up`:`left`;j((s.$q.lang.rtl===!0?-1:1)*(e.direction===t?1:-1))}let h=n(()=>[[ui,m,void 0,{horizontal:r.vertical!==!0,vertical:r.vertical,mouse:!0}]]),g=n(()=>r.transitionPrev||`slide-${r.vertical===!0?`down`:`right`}`),_=n(()=>r.transitionNext||`slide-${r.vertical===!0?`up`:`left`}`),v=n(()=>`--q-transition-duration: ${r.transitionDuration}ms`),b=n(()=>typeof r.modelValue==`string`||typeof r.modelValue==`number`?r.modelValue:String(r.modelValue)),x=n(()=>({include:r.keepAliveInclude,exclude:r.keepAliveExclude,max:r.keepAliveMax})),S=n(()=>r.keepAliveInclude!==void 0||r.keepAliveExclude!==void 0);T(()=>r.modelValue,(e,t)=>{let n=D(e)===!0?O(e):-1;d!==!0&&A(n===-1?0:n<O(t)?-1:1),p.value!==n&&(p.value=n,o(`beforeTransition`,e,t),l(()=>{o(`transition`,e,t)},r.transitionDuration))});function C(){j(1)}function w(){j(-1)}function E(e){o(`update:modelValue`,e)}function D(e){return e!=null&&e!==``}function O(e){return u.findIndex(t=>t.props.name===e&&t.props.disable!==``&&t.props.disable!==!0)}function k(){return u.filter(e=>e.props.disable!==``&&e.props.disable!==!0)}function A(e){let t=e!==0&&r.animated===!0&&p.value!==-1?`q-transition--`+(e===-1?g.value:_.value):null;f.value!==t&&(f.value=t)}function j(e,t=p.value){let n=t+e;for(;n!==-1&&n<u.length;){let t=u[n];if(t!==void 0&&t.props.disable!==``&&t.props.disable!==!0){A(e),d=!0,o(`update:modelValue`,t.props.name),setTimeout(()=>{d=!1});return}n+=e}r.infinite===!0&&u.length!==0&&t!==-1&&t!==u.length&&j(e,e===-1?u.length:-1)}function M(){let e=O(r.modelValue);return p.value!==e&&(p.value=e),!0}function N(){let t=D(r.modelValue)===!0&&M()&&u[p.value];return r.keepAlive===!0?[a(e,x.value,[a(S.value===!0?c(b.value,()=>({...pi,name:b.value})):pi,{key:b.value,style:v.value},()=>t)])]:[a(`div`,{class:`q-panel scroll`,style:v.value,key:b.value,role:`tabpanel`},[t])]}function P(){if(u.length!==0)return r.animated===!0?[a(t,{name:f.value},N)]:N()}function F(e){return u=It($(e.default,[])).filter(e=>e.props!==null&&e.props.slot===void 0&&D(e.props.name)===!0),u.length}function I(){return u}return Object.assign(s,{next:C,previous:w,goTo:E}),{panelIndex:p,panelDirectives:h,updatePanelsList:F,updatePanelIndex:M,getPanelContent:P,getEnabledPanels:k,getPanels:I,isValidPanelName:D,keepAliveProps:x,needsUniqueKeepAliveWrapper:S,goToPanelByOffset:j,goToPanel:E,nextPanel:C,previousPanel:w}}let _i=0;const vi={fullscreen:Boolean,noRouteFullscreenExit:Boolean},yi=[`update:fullscreen`,`fullscreen`];function bi(){let e=i(),{props:t,emit:n,proxy:r}=e,a,o,s,c=y(!1);Lt(e)===!0&&T(()=>r.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&p()}),T(()=>t.fullscreen,e=>{c.value!==e&&l()}),T(c,e=>{n(`update:fullscreen`,e),n(`fullscreen`,e)});function l(){c.value===!0?p():u()}function u(){c.value!==!0&&(c.value=!0,s=r.$el.parentNode,s.replaceChild(o,r.$el),document.body.appendChild(r.$el),_i++,_i===1&&document.body.classList.add(`q-body--fullscreen-mixin`),a={handler:p},ve.add(a))}function p(){c.value===!0&&(a!==void 0&&(ve.remove(a),a=void 0),s.replaceChild(r.$el,o),c.value=!1,_i=Math.max(0,_i-1),_i===0&&(document.body.classList.remove(`q-body--fullscreen-mixin`),r.$el.scrollIntoView!==void 0&&setTimeout(()=>{r.$el.scrollIntoView()})))}return d(()=>{o=document.createElement(`span`)}),h(()=>{t.fullscreen===!0&&u()}),f(p),Object.assign(r,{toggleFullscreen:l,setFullscreen:u,exitFullscreen:p}),{inFullscreen:c,toggleFullscreen:l}}const xi=[`top`,`right`,`bottom`,`left`],Si=[`regular`,`flat`,`outline`,`push`,`unelevated`];var Ci=L({name:`QCarousel`,props:{...Et,...mi,...vi,transitionPrev:{type:String,default:`fade`},transitionNext:{type:String,default:`fade`},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>Si.includes(e),default:`flat`},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>xi.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...yi,...hi],setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=Dt(e,r),s=null,c,{updatePanelsList:l,getPanelContent:u,panelDirectives:d,goToPanel:p,previousPanel:m,nextPanel:g,getEnabledPanels:_,panelIndex:v}=gi(),{inFullscreen:y}=bi(),b=n(()=>y.value!==!0&&e.height!==void 0?{height:e.height}:{}),x=n(()=>e.vertical===!0?`vertical`:`horizontal`),S=n(()=>e.navigationPosition||(e.vertical===!0?`right`:`bottom`)),C=n(()=>`q-carousel q-panel-parent q-carousel--with${e.padding===!0?``:`out`}-padding`+(y.value===!0?` fullscreen`:``)+(o.value===!0?` q-carousel--dark q-dark`:``)+(e.arrows===!0?` q-carousel--arrows-${x.value}`:``)+(e.navigation===!0?` q-carousel--navigation-${S.value}`:``)),w=n(()=>{let t=[e.prevIcon||r.iconSet.carousel[e.vertical===!0?`up`:`left`],e.nextIcon||r.iconSet.carousel[e.vertical===!0?`down`:`right`]];return e.vertical===!1&&r.lang.rtl===!0?t.reverse():t}),E=n(()=>e.navigationIcon||r.iconSet.carousel.navigationIcon),D=n(()=>e.navigationActiveIcon||E.value),O=n(()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0}));T(()=>e.modelValue,()=>{e.autoplay&&k()}),T(()=>e.autoplay,e=>{e?k():s!==null&&(clearTimeout(s),s=null)});function k(){let t=Fe(e.autoplay)===!0?Math.abs(e.autoplay):5e3;s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,t>=0?g():m()},t)}h(()=>{e.autoplay&&k()}),f(()=>{s!==null&&clearTimeout(s)});function A(t,n){return a(`div`,{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${t} q-carousel__navigation--${S.value}`+(e.controlColor===void 0?``:` text-${e.controlColor}`)},[a(`div`,{class:`q-carousel__navigation-inner flex flex-center no-wrap`},_().map(n))])}function j(){let n=[];if(e.navigation===!0){let e=t[`navigation-icon`]===void 0?e=>a(On,{key:`nav`+e.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${e.active===!0?``:`in`}active`,...e.btnProps,onClick:e.onClick}):t[`navigation-icon`],r=c-1;n.push(A(`buttons`,(t,n)=>{let i=t.props.name,a=v.value===n;return e({index:n,maxIndex:r,name:i,active:a,btnProps:{icon:a===!0?D.value:E.value,size:`sm`,...O.value},onClick:()=>{p(i)}})}))}else if(e.thumbnails===!0){let t=e.controlColor===void 0?``:` text-${e.controlColor}`;n.push(A(`thumbnails`,n=>{let r=n.props;return a(`img`,{key:`tmb#`+r.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${r.name===e.modelValue?``:`in`}active`+t,src:r.imgSrc||r[`img-src`],onClick:()=>{p(r.name)}})}))}return e.arrows===!0&&v.value>=0&&((e.infinite===!0||v.value>0)&&n.push(a(`div`,{key:`prev`,class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${x.value} absolute flex flex-center`},[a(On,{icon:w.value[0],...O.value,onClick:m})])),(e.infinite===!0||v.value<c-1)&&n.push(a(`div`,{key:`next`,class:`q-carousel__control q-carousel__arrow q-carousel__next-arrow q-carousel__next-arrow--${x.value} absolute flex flex-center`},[a(On,{icon:w.value[1],...O.value,onClick:g})]))),at(t.control,n)}return()=>(c=l(t),a(`div`,{class:C.value,style:b.value},[st(`div`,{class:`q-carousel__slides-container`},u(),`sl-cont`,e.swipeable,()=>d.value)].concat(j())))}}),wi=L({name:`QCarouselSlide`,props:{...fi,imgSrc:String},setup(e,{slots:t}){let r=n(()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{});return()=>a(`div`,{class:`q-carousel__slide`,style:r.value},$(t.default))}}),Ti=L({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 r=n(()=>`q-carousel__control absolute absolute-${e.position}`),i=n(()=>({margin:`${e.offset[1]}px ${e.offset[0]}px`}));return()=>a(`div`,{class:r.value,style:i.value},$(t.default))}}),Ei=L({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 r=n(()=>e.sent===!0?`sent`:`received`),i=n(()=>`q-message-text-content q-message-text-content--${r.value}`+(e.textColor===void 0?``:` text-${e.textColor}`)),o=n(()=>`q-message-text q-message-text--${r.value}`+(e.bgColor===void 0?``:` text-${e.bgColor}`)),s=n(()=>`q-message-container row items-end no-wrap`+(e.sent===!0?` reverse`:``)),c=n(()=>e.size===void 0?``:`col-${e.size}`),l=n(()=>({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 u(n){return t.stamp===void 0?e.stamp?[n,a(`div`,{class:`q-message-stamp`,[l.value.stamp]:e.stamp})]:[n]:[n,a(`div`,{class:`q-message-stamp`},t.stamp())]}function d(e,t){let n=t===!0?e.length>1?e=>e:e=>a(`div`,[e]):e=>a(`div`,{[l.value.msg]:e});return e.map((e,t)=>a(`div`,{key:t,class:o.value},[a(`div`,{class:i.value},u(n(e)))]))}return()=>{let n=[];t.avatar===void 0?e.avatar!==void 0&&n.push(a(`img`,{class:`q-message-avatar q-message-avatar--${r.value}`,src:e.avatar,"aria-hidden":`true`})):n.push(t.avatar());let i=[];t.name===void 0?e.name!==void 0&&i.push(a(`div`,{class:`q-message-name q-message-name--${r.value}`,[l.value.name]:e.name})):i.push(a(`div`,{class:`q-message-name q-message-name--${r.value}`},t.name())),t.default===void 0?e.text!==void 0&&i.push(d(e.text)):i.push(d(It(t.default()),!0)),n.push(a(`div`,{class:c.value},i));let o=[];return t.label===void 0?e.label!==void 0&&o.push(a(`div`,{class:`q-message-label`,[l.value.label]:e.label})):o.push(a(`div`,{class:`q-message-label`},t.label())),o.push(a(`div`,{class:s.value},n)),a(`div`,{class:`q-message q-message-${r.value}`},o)}}});function Di(e,t){let r=y(null),i=n(()=>e.disable===!0?null:a(`span`,{ref:r,class:`no-outline`,tabindex:-1}));function o(e){let n=t.value;e?.qAvoidFocus!==!0&&(e?.type.indexOf(`key`)===0?document.activeElement!==n&&n?.contains(document.activeElement)===!0&&n.focus():r.value!==null&&(e===void 0||n?.contains(e.target)===!0)&&r.value.focus())}return{refocusTargetEl:i,refocusTarget:o}}var Oi={xs:30,sm:35,md:40,lg:50,xl:60};const ki={...Et,...nt,...ti,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]},Ai=[`update:modelValue`];function ji(e,t){let{props:r,slots:o,emit:s,proxy:c}=i(),{$q:l}=c,u=Dt(r,l),d=y(null),{refocusTargetEl:f,refocusTarget:p}=Di(r,d),m=rt(r,Oi),h=n(()=>r.val!==void 0&&Array.isArray(r.modelValue)),g=n(()=>{let e=x(r.val);return h.value===!0?r.modelValue.findIndex(t=>x(t)===e):-1}),_=n(()=>h.value===!0?g.value!==-1:x(r.modelValue)===x(r.trueValue)),v=n(()=>h.value===!0?g.value===-1:x(r.modelValue)===x(r.falseValue)),b=n(()=>_.value===!1&&v.value===!1),S=n(()=>r.disable===!0?-1:r.tabindex||0),C=n(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(r.disable===!0?` disabled`:``)+(u.value===!0?` q-${e}--dark`:``)+(r.dense===!0?` q-${e}--dense`:``)+(r.leftLabel===!0?` reverse`:``)),w=n(()=>`q-${e}__inner relative-position non-selectable q-${e}__inner--${_.value===!0?`truthy`:v.value===!0?`falsy`:`indet`}${r.color!==void 0&&(r.keepColor===!0||(e===`toggle`?_.value===!0:v.value!==!0))?` text-${r.color}`:``}`),T=ri(n(()=>{let e={type:`checkbox`};return r.name!==void 0&&Object.assign(e,{".checked":_.value,"^checked":_.value===!0?`checked`:void 0,name:r.name,value:h.value===!0?r.val:r.trueValue}),e})),E=n(()=>{let t={tabindex:S.value,role:e===`toggle`?`switch`:`checkbox`,"aria-label":r.label,"aria-checked":b.value===!0?`mixed`:_.value===!0?`true`:`false`};return r.disable===!0&&(t[`aria-disabled`]=`true`),t});function D(e){e!==void 0&&(J(e),p(e)),r.disable!==!0&&s(`update:modelValue`,O(),e)}function O(){if(h.value===!0){if(_.value===!0){let e=r.modelValue.slice();return e.splice(g.value,1),e}return r.modelValue.concat([r.val])}if(_.value===!0){if(r.toggleOrder!==`ft`||r.toggleIndeterminate===!1)return r.falseValue}else if(v.value===!0){if(r.toggleOrder===`ft`||r.toggleIndeterminate===!1)return r.trueValue}else return r.toggleOrder===`ft`?r.falseValue:r.trueValue;return r.indeterminateValue}function k(e){(e.keyCode===13||e.keyCode===32)&&J(e)}function A(e){(e.keyCode===13||e.keyCode===32)&&D(e)}let j=t(_,b);return Object.assign(c,{toggle:D}),()=>{let t=j();r.disable!==!0&&T(t,`unshift`,` q-${e}__native absolute q-ma-none q-pa-none`);let n=[a(`div`,{class:w.value,style:m.value,"aria-hidden":`true`},t)];f.value!==null&&n.push(f.value);let i=r.label===void 0?$(o.default):at(o.default,[r.label]);return i!==void 0&&n.push(a(`div`,{class:`q-${e}__label q-anchor--skip`},i)),a(`div`,{ref:d,class:C.value,...E.value,onClick:D,onKeydown:k,onKeyup:A},n)}}const Mi=()=>a(`div`,{key:`svg`,class:`q-checkbox__bg absolute`},[a(`svg`,{class:`q-checkbox__svg fit absolute-full`,viewBox:`0 0 24 24`},[a(`path`,{class:`q-checkbox__truthy`,fill:`none`,d:`M1.73,12.91 8.1,19.28 22.79,4.59`}),a(`path`,{class:`q-checkbox__indet`,d:`M4,14H20V10H4`})])]);var Ni=L({name:`QCheckbox`,props:ki,emits:Ai,setup(e){let t=Mi();function r(r,i){let o=n(()=>(r.value===!0?e.checkedIcon:i.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>o.value===null?[t]:[a(`div`,{key:`icon`,class:`q-checkbox__icon-container absolute-full flex flex-center no-wrap`},[a(St,{class:`q-checkbox__icon`,name:o.value})])]}return ji(`checkbox`,r)}});const Pi={xs:8,sm:10,md:14,lg:20,xl:24};var Fi=L({name:`QChip`,props:{...Et,...nt,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:r}){let{proxy:{$q:o}}=i(),s=Dt(e,o),c=rt(e,Pi),l=n(()=>e.selected===!0||e.icon!==void 0),u=n(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),d=n(()=>e.iconRemove||o.iconSet.chip.remove),f=n(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),p=n(()=>{let t=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}`:``)+(t?` text-${t} 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`:``)+(s.value===!0?` q-chip--dark q-dark`:``)}),m=n(()=>{let t=e.disable===!0?{tabindex:-1,"aria-disabled":`true`}:{tabindex:e.tabindex||0};return{chip:t,remove:{...t,role:`button`,"aria-hidden":`false`,"aria-label":e.removeAriaLabel||o.lang.label.remove}}});function h(e){e.keyCode===13&&g(e)}function g(t){e.disable||(r(`update:selected`,!e.selected),r(`click`,t))}function _(t){(t.keyCode===void 0||t.keyCode===13)&&(J(t),e.disable===!1&&(r(`update:modelValue`,!1),r(`remove`)))}function v(){let n=[];f.value===!0&&n.push(a(`div`,{class:`q-focus-helper`})),l.value===!0&&n.push(a(St,{class:`q-chip__icon q-chip__icon--left`,name:u.value}));let r=e.label===void 0?void 0:[a(`div`,{class:`ellipsis`},[e.label])];return n.push(a(`div`,{class:`q-chip__content col row no-wrap items-center q-anchor--skip`},ot(t.default,r))),e.iconRight&&n.push(a(St,{class:`q-chip__icon q-chip__icon--right`,name:e.iconRight})),e.removable===!0&&n.push(a(St,{class:`q-chip__icon q-chip__icon--remove cursor-pointer`,name:d.value,...m.value.remove,onClick:_,onKeyup:_})),n}return()=>{if(e.modelValue===!1)return;let t={class:p.value,style:c.value};return f.value===!0&&Object.assign(t,m.value.chip,{onClick:g,onKeyup:h}),st(`div`,t,v(),`ripple`,e.ripple!==!1&&e.disable!==!0,()=>[[pn,e.ripple]])}}});const Ii={...nt,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},Li=100*Math.PI,Ri=Math.round(Li*1e3)/1e3;var zi=L({name:`QCircularProgress`,props:{...Ii,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=rt(e),s=n(()=>{let t=(r.lang.rtl===!0?-1:1)*e.angle;return{transform:e.reverse===(r.lang.rtl===!0)?`rotate3d(0, 0, 1, ${t-90}deg)`:`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-t}deg)`}}),c=n(()=>e.instantFeedback!==!0&&e.indeterminate!==!0?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:``),l=n(()=>100/(1-e.thickness/2)),u=n(()=>`${l.value/2} ${l.value/2} ${l.value} ${l.value}`),d=n(()=>We(e.value,e.min,e.max)),f=n(()=>e.max-e.min),p=n(()=>e.thickness/2*l.value),m=n(()=>{let t=(e.max-d.value)/f.value,n=e.rounded===!0&&d.value<e.max&&t<.25?p.value/2*(1-t/.25):0;return Li*t+n});function h({thickness:e,offset:t,color:n,cls:r,rounded:i}){return a(`circle`,{class:`q-circular-progress__`+r+(n===void 0?``:` text-${n}`),style:c.value,fill:`transparent`,stroke:`currentColor`,"stroke-width":e,"stroke-dasharray":Ri,"stroke-dashoffset":t,"stroke-linecap":i,cx:l.value,cy:l.value,r:50})}return()=>{let n=[];e.centerColor!==void 0&&e.centerColor!==`transparent`&&n.push(a(`circle`,{class:`q-circular-progress__center text-${e.centerColor}`,fill:`currentColor`,r:50-p.value/2,cx:l.value,cy:l.value})),e.trackColor!==void 0&&e.trackColor!==`transparent`&&n.push(h({cls:`track`,thickness:p.value,offset:0,color:e.trackColor})),n.push(h({cls:`circle`,thickness:p.value,offset:m.value,color:e.color,rounded:e.rounded===!0?`round`:void 0}));let r=[a(`svg`,{class:`q-circular-progress__svg`,style:s.value,viewBox:u.value,"aria-hidden":`true`},n)];return e.showValue===!0&&r.push(a(`div`,{class:`q-circular-progress__text absolute-full row flex-center content-center`,style:{fontSize:e.fontSize}},t.default===void 0?[a(`div`,d.value)]:t.default())),a(`div`,{class:`q-circular-progress q-circular-progress--${e.indeterminate===!0?`in`:``}determinate`,style:o.value,role:`progressbar`,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.indeterminate===!0?void 0:d.value},ot(t.internal,r))}}}),Bi=R({name:`touch-pan`,getSSRProps:fn});const Vi=e=>({value:e}),Hi=({marker:e})=>a(`div`,{key:e.value,style:e.style,class:e.classes},e.label),Ui=[34,37,40,33,39,38],Wi={...Et,...ti,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`}},Gi=[`pan`,`update:modelValue`,`change`];function Ki({updateValue:e,updatePosition:t,getDragging:r,formAttrs:o}){let{props:s,emit:c,slots:l,proxy:{$q:u}}=i(),d=Dt(s,u),p=ri(o),m=y(!1),h=y(!1),g=y(!1),_=y(!1),v=n(()=>s.vertical===!0?`--v`:`--h`),b=n(()=>`-`+(s.switchLabelSide===!0?`switched`:`standard`)),x=n(()=>s.vertical===!0?s.reverse===!0:s.reverse!==(u.lang.rtl===!0)),S=n(()=>isNaN(s.innerMin)===!0||s.innerMin<s.min?s.min:s.innerMin),C=n(()=>isNaN(s.innerMax)===!0||s.innerMax>s.max?s.max:s.innerMax),w=n(()=>s.disable!==!0&&s.readonly!==!0&&S.value<C.value),T=n(()=>{if(s.step===0)return e=>e;let e=(String(s.step).trim().split(`.`)[1]||``).length;return t=>parseFloat(t.toFixed(e))}),E=n(()=>s.step===0?1:s.step),D=n(()=>w.value===!0?s.tabindex||0:-1),O=n(()=>s.max-s.min),k=n(()=>C.value-S.value),A=n(()=>re(S.value)),j=n(()=>re(C.value)),M=n(()=>s.vertical===!0?x.value===!0?`bottom`:`top`:x.value===!0?`right`:`left`),N=n(()=>s.vertical===!0?`height`:`width`),P=n(()=>s.vertical===!0?`width`:`height`),F=n(()=>s.vertical===!0?`vertical`:`horizontal`),I=n(()=>{let e={role:`slider`,"aria-valuemin":S.value,"aria-valuemax":C.value,"aria-orientation":F.value,"data-step":s.step};return s.disable===!0?e[`aria-disabled`]=`true`:s.readonly===!0&&(e[`aria-readonly`]=`true`),e}),L=n(()=>`q-slider q-slider${v.value} q-slider--${m.value===!0?``:`in`}active inline no-wrap `+(s.vertical===!0?`row`:`column`)+(s.disable===!0?` disabled`:` q-slider--enabled`+(w.value===!0?` q-slider--editable`:``))+(g.value===`both`?` q-slider--focus`:``)+(s.label||s.labelAlways===!0?` q-slider--label`:``)+(s.labelAlways===!0?` q-slider--label-always`:``)+(d.value===!0?` q-slider--dark`:``)+(s.dense===!0?` q-slider--dense q-slider--dense`+v.value:``));function R(e){let t=`q-slider__`+e;return`${t} ${t}${v.value} ${t}${v.value}${b.value}`}function z(e){let t=`q-slider__`+e;return`${t} ${t}${v.value}`}let B=n(()=>{let e=s.selectionColor||s.color;return`q-slider__selection absolute`+(e===void 0?``:` text-${e}`)}),V=n(()=>z(`markers`)+` absolute overflow-hidden`),H=n(()=>z(`track-container`)),ee=n(()=>R(`pin`)),U=n(()=>R(`label`)),G=n(()=>R(`text-container`)),te=n(()=>R(`marker-labels-container`)+(s.markerLabelsClass===void 0?``:` ${s.markerLabelsClass}`)),K=n(()=>`q-slider__track relative-position no-outline`+(s.trackColor===void 0?``:` bg-${s.trackColor}`)),q=n(()=>{let e={[P.value]:s.trackSize};return s.trackImg!==void 0&&(e.backgroundImage=`url(${s.trackImg}) !important`),e}),J=n(()=>`q-slider__inner absolute`+(s.innerTrackColor===void 0?``:` bg-${s.innerTrackColor}`)),Y=n(()=>{let e=j.value-A.value,t={[M.value]:`${100*A.value}%`,[N.value]:e===0?`2px`:`${100*e}%`};return s.innerTrackImg!==void 0&&(t.backgroundImage=`url(${s.innerTrackImg}) !important`),t});function ne(e){let{min:t,max:n,step:r}=s,i=t+e*(n-t);if(r>0){let e=(i-S.value)%r;i+=(Math.abs(e)>=r/2?(e<0?-1:1)*r:0)-e}return i=T.value(i),We(i,S.value,C.value)}function re(e){return O.value===0?0:(e-s.min)/O.value}function ie(e,t){let n=W(e),r=s.vertical===!0?We((n.top-t.top)/t.height,0,1):We((n.left-t.left)/t.width,0,1);return We(x.value===!0?1-r:r,A.value,j.value)}let ae=n(()=>Fe(s.markers)===!0?s.markers:E.value),oe=n(()=>{let e=[],t=ae.value,n=s.max,r=s.min;do e.push(r),r+=t;while(r<n);return e.push(n),e}),se=n(()=>{let e=` q-slider__marker-labels${v.value}-`;return`q-slider__marker-labels${e}${s.switchMarkerLabelsSide===!0?`switched`:`standard`}${e}${x.value===!0?`rtl`:`ltr`}`}),ce=n(()=>s.markerLabels===!1?null:ue(s.markerLabels).map((e,t)=>({index:t,value:e.value,label:e.label||e.value,classes:se.value+(e.classes===void 0?``:` `+e.classes),style:{...de(e.value),...e.style||{}}}))),X=n(()=>({markerList:ce.value,markerMap:fe.value,classes:se.value,getStyle:de})),le=n(()=>{let e=k.value===0?`2px`:100*ae.value/k.value;return{...Y.value,backgroundSize:s.vertical===!0?`2px ${e}%`:`${e}% 2px`}});function ue(e){if(e===!1)return null;if(e===!0)return oe.value.map(Vi);if(typeof e==`function`)return oe.value.map(t=>{let n=e(t);return Me(n)===!0?{...n,value:t}:{value:t,label:n}});let t=({value:e})=>e>=s.min&&e<=s.max;return Array.isArray(e)===!0?e.map(e=>Me(e)===!0?e:{value:e}).filter(t):Object.keys(e).map(t=>{let n=e[t],r=Number(t);return Me(n)===!0?{...n,value:r}:{value:r,label:n}}).filter(t)}function de(e){return{[M.value]:`${100*(e-s.min)/O.value}%`}}let fe=n(()=>{if(s.markerLabels===!1)return null;let e={};return ce.value.forEach(t=>{e[t.value]=t}),e});function pe(){if(l[`marker-label-group`]!==void 0)return l[`marker-label-group`](X.value);let e=l[`marker-label`]||Hi;return ce.value.map(t=>e({marker:t,...X.value}))}let me=n(()=>[[Bi,he,void 0,{[F.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]);function he(n){n.isFinal===!0?(_.value!==void 0&&(t(n.evt),n.touch===!0&&e(!0),_.value=void 0,c(`pan`,`end`)),m.value=!1,g.value=!1):n.isFirst===!0?(_.value=r(n.evt),t(n.evt),e(),m.value=!0,c(`pan`,`start`)):(t(n.evt),e())}function ge(){g.value=!1}function _e(n){t(n,r(n)),e(),h.value=!0,m.value=!0,document.addEventListener(`mouseup`,ve,!0)}function ve(){h.value=!1,m.value=!1,e(!0),ge(),document.removeEventListener(`mouseup`,ve,!0)}function ye(n){t(n,r(n)),e(!0)}function be(t){Ui.includes(t.keyCode)&&e(!0)}function xe(e){if(s.vertical===!0)return null;let t=u.lang.rtl===s.reverse?e:1-e;return{transform:`translateX(calc(${2*t-1} * ${s.thumbSize} / 2 + ${50-100*t}%))`}}function Se(e){let t=n(()=>h.value===!1&&(g.value===e.focusValue||g.value===`both`)?` q-slider--focus`:``),r=n(()=>`q-slider__thumb q-slider__thumb${v.value} q-slider__thumb${v.value}-${x.value===!0?`rtl`:`ltr`} absolute non-selectable`+t.value+(e.thumbColor.value===void 0?``:` text-${e.thumbColor.value}`)),i=n(()=>({width:s.thumbSize,height:s.thumbSize,[M.value]:`${100*e.ratio.value}%`,zIndex:g.value===e.focusValue?2:void 0})),o=n(()=>e.labelColor.value===void 0?``:` text-${e.labelColor.value}`),c=n(()=>xe(e.ratio.value)),l=n(()=>`q-slider__text`+(e.labelTextColor.value===void 0?``:` text-${e.labelTextColor.value}`));return()=>{let t=[a(`svg`,{class:`q-slider__thumb-shape absolute-full`,viewBox:`0 0 20 20`,"aria-hidden":`true`},[a(`path`,{d:s.thumbPath})]),a(`div`,{class:`q-slider__focus-ring fit`})];return(s.label===!0||s.labelAlways===!0)&&(t.push(a(`div`,{class:ee.value+` absolute fit no-pointer-events`+o.value},[a(`div`,{class:U.value,style:{minWidth:s.thumbSize}},[a(`div`,{class:G.value,style:c.value},[a(`span`,{class:l.value},e.label.value)])])])),s.name!==void 0&&s.disable!==!0&&p(t,`push`)),a(`div`,{class:r.value,style:i.value,...e.getNodeData()},t)}}function Ce(e,t,n,r){let i=[];s.innerTrackColor!==`transparent`&&i.push(a(`div`,{key:`inner`,class:J.value,style:Y.value})),s.selectionColor!==`transparent`&&i.push(a(`div`,{key:`selection`,class:B.value,style:e.value})),s.markers!==!1&&i.push(a(`div`,{key:`marker`,class:V.value,style:le.value})),r(i);let o=[st(`div`,{key:`trackC`,class:H.value,tabindex:t.value,...n.value},[a(`div`,{class:K.value,style:q.value},i)],`slide`,w.value,()=>me.value)];return s.markerLabels!==!1&&o[s.switchMarkerLabelsSide===!0?`unshift`:`push`](a(`div`,{key:`markerL`,class:te.value},pe())),o}return f(()=>{document.removeEventListener(`mouseup`,ve,!0)}),{state:{active:m,focus:g,preventFocus:h,dragging:_,editable:w,classes:L,tabindex:D,attributes:I,roundValueFn:T,keyStep:E,trackLen:O,innerMin:S,innerMinRatio:A,innerMax:C,innerMaxRatio:j,positionProp:M,sizeProp:N,isReversed:x},methods:{onActivate:_e,onMobileClick:ye,onBlur:ge,onKeyup:be,getContent:Ce,getThumbRenderFn:Se,convertRatioToModel:ne,convertModelToRatio:re,getDraggingRatio:ie}}}const qi=()=>({});var Ji=L({name:`QSlider`,props:{...Wi,modelValue:{required:!0,default:null,validator:e=>typeof e==`number`||e===null},labelValue:[String,Number]},emits:Gi,setup(e,{emit:t}){let{proxy:{$q:r}}=i(),{state:o,methods:s}=Ki({updateValue:_,updatePosition:b,getDragging:v,formAttrs:ni(e)}),c=y(null),l=y(0),u=y(0);function d(){u.value=e.modelValue===null?o.innerMin.value:We(e.modelValue,o.innerMin.value,o.innerMax.value)}T(()=>`${e.modelValue}|${o.innerMin.value}|${o.innerMax.value}`,d),d();let f=n(()=>s.convertModelToRatio(u.value)),p=n(()=>o.active.value===!0?l.value:f.value),m=n(()=>{let t={[o.positionProp.value]:`${100*o.innerMinRatio.value}%`,[o.sizeProp.value]:`${100*(p.value-o.innerMinRatio.value)}%`};return e.selectionImg!==void 0&&(t.backgroundImage=`url(${e.selectionImg}) !important`),t}),h=s.getThumbRenderFn({focusValue:!0,getNodeData:qi,ratio:p,label:n(()=>e.labelValue===void 0?u.value:e.labelValue),thumbColor:n(()=>e.thumbColor||e.color),labelColor:n(()=>e.labelColor),labelTextColor:n(()=>e.labelTextColor)}),g=n(()=>o.editable.value===!0?r.platform.is.mobile===!0?{onClick:s.onMobileClick}:{onMousedown:s.onActivate,onFocus:x,onBlur:s.onBlur,onKeydown:S,onKeyup:s.onKeyup}:{});function _(n){u.value!==e.modelValue&&t(`update:modelValue`,u.value),n===!0&&t(`change`,u.value)}function v(){return c.value.getBoundingClientRect()}function b(t,n=o.dragging.value){let r=s.getDraggingRatio(t,n);u.value=s.convertRatioToModel(r),l.value=e.snap!==!0||e.step===0?r:s.convertModelToRatio(u.value)}function x(){o.focus.value=!0}function S(t){if(Ui.includes(t.keyCode)===!1)return;J(t);let n=([34,33].includes(t.keyCode)?10:1)*o.keyStep.value,r=([34,37,40].includes(t.keyCode)?-1:1)*(o.isReversed.value===!0?-1:1)*(e.vertical===!0?-1:1)*n;u.value=We(o.roundValueFn.value(u.value+r),o.innerMin.value,o.innerMax.value),_()}return()=>{let t=s.getContent(m,o.tabindex,g,e=>{e.push(h())});return a(`div`,{ref:c,class:o.classes.value+(e.modelValue===null?` q-slider--no-value`:``),...o.attributes.value,"aria-valuenow":e.modelValue},t)}}});function Yi(){let e=y(!j.value);return e.value===!1&&h(()=>{e.value=!0}),{isHydrated:e}}var Xi=L({name:`QResizeObserver`,props:{debounce:{type:[String,Number],default:100}},emits:[`resize`],setup(e,{emit:t}){return V}});function Zi(e,t,n){let r=n===!0?[`left`,`right`]:[`top`,`bottom`];return`absolute-${t===!0?r[0]:r[1]}${e?` text-${e}`:``}`}const Qi=[`left`,`center`,`right`,`justify`];var $i=L({name:`QTabs`,props:{modelValue:[Number,String],align:{type:String,default:`center`,validator:e=>Qi.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:r}){let{proxy:o}=i(),{$q:s}=o,{registerTick:c}=qn(),{registerTick:l}=qn(),{registerTick:d}=qn(),{registerTimeout:p,removeTimeout:h}=Jn(),{registerTimeout:g,removeTimeout:v}=Jn(),b=y(null),x=y(null),S=y(e.modelValue),C=y(!1),w=y(!0),E=y(!1),D=y(!1),O=[],k=y(0),A=y(!1),j=null,M=null,N,P=n(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:Zi(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),F=n(()=>{let e=k.value,t=S.value;for(let n=0;n<e;n++)if(O[n].name.value===t)return!0;return!1}),I=n(()=>`q-tabs__content--align-${C.value===!0?`left`:D.value===!0?`justify`:e.align}`),L=n(()=>`q-tabs row no-wrap items-center q-tabs--${C.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`:``)),R=n(()=>`q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position `+I.value+(e.contentClass===void 0?``:` ${e.contentClass}`)),z=n(()=>e.vertical===!0?{container:`height`,content:`offsetHeight`,scroll:`scrollHeight`}:{container:`width`,content:`offsetWidth`,scroll:`scrollWidth`}),B=n(()=>e.vertical!==!0&&s.lang.rtl===!0),V=n(()=>B.value===!0);T(B,te),T(()=>e.modelValue,e=>{H({name:e,setCurrent:!0,skipEmit:!0})}),T(()=>e.outsideArrows,ee);function H({name:t,setCurrent:n,skipEmit:i}){S.value!==t&&(i!==!0&&e[`onUpdate:modelValue`]!==void 0&&r(`update:modelValue`,t),(n===!0||e[`onUpdate:modelValue`]===void 0)&&(W(S.value,t),S.value=t))}function ee(){c(()=>{b.value&&U({width:b.value.offsetWidth,height:b.value.offsetHeight})})}function U(t){if(z.value===void 0||x.value===null)return;let n=t[z.value.container],r=Math.min(x.value[z.value.scroll],Array.prototype.reduce.call(x.value.children,(e,t)=>e+(t[z.value.content]||0),0)),i=n>0&&r>n;C.value=i,i===!0&&l(te),D.value=n<parseInt(e.breakpoint,10)}function W(t,n){let r=t!=null&&t!==``?O.find(e=>e.name.value===t):null,i=n!=null&&n!==``?O.find(e=>e.name.value===n):null;if(he===!0)he=!1;else if(r&&i){let t=r.tabIndicatorRef.value,n=i.tabIndicatorRef.value;j!==null&&(clearTimeout(j),j=null),t.style.transition=`none`,t.style.transform=`none`,n.style.transition=`none`,n.style.transform=`none`;let a=t.getBoundingClientRect(),o=n.getBoundingClientRect();n.style.transform=e.vertical===!0?`translate3d(0,${a.top-o.top}px,0) scale3d(1,${o.height?a.height/o.height:1},1)`:`translate3d(${a.left-o.left}px,0,0) scale3d(${o.width?a.width/o.width:1},1,1)`,d(()=>{j=setTimeout(()=>{j=null,n.style.transition=`transform .25s cubic-bezier(.4, 0, .2, 1)`,n.style.transform=`none`},70)})}i&&C.value===!0&&G(i.rootRef.value)}function G(t){let{left:n,width:r,top:i,height:a}=x.value.getBoundingClientRect(),o=t.getBoundingClientRect(),s=e.vertical===!0?o.top-i:o.left-n;if(s<0){x.value[e.vertical===!0?`scrollTop`:`scrollLeft`]+=Math.floor(s),te();return}s+=e.vertical===!0?o.height-a:o.width-r,s>0&&(x.value[e.vertical===!0?`scrollTop`:`scrollLeft`]+=Math.ceil(s),te())}function te(){let t=x.value;if(t===null)return;let n=t.getBoundingClientRect(),r=e.vertical===!0?t.scrollTop:Math.abs(t.scrollLeft);B.value===!0?(w.value=Math.ceil(r+n.width)<t.scrollWidth-1,E.value=r>0):(w.value=r>0,E.value=e.vertical===!0?Math.ceil(r+n.height)<t.scrollHeight:Math.ceil(r+n.width)<t.scrollWidth)}function K(e){M!==null&&clearInterval(M),M=setInterval(()=>{ie(e)===!0&&Y()},5)}function q(){K(V.value===!0?2**53-1:0)}function J(){K(V.value===!0?0:2**53-1)}function Y(){M!==null&&(clearInterval(M),M=null)}function ne(t,n){let r=Array.prototype.filter.call(x.value.children,e=>e===n||e.matches&&e.matches(`.q-tab.q-focusable`)===!0),i=r.length;if(i===0)return;if(t===36)return G(r[0]),r[0].focus(),!0;if(t===35)return G(r[i-1]),r[i-1].focus(),!0;let a=t===(e.vertical===!0?38:37),o=t===(e.vertical===!0?40:39),s=a===!0?-1:o===!0?1:void 0;if(s!==void 0){let e=B.value===!0?-1:1,t=r.indexOf(n)+s*e;return t>=0&&t<i&&(G(r[t]),r[t].focus({preventScroll:!0})),!0}}let re=n(()=>V.value===!0?{get:e=>Math.abs(e.scrollLeft),set:(e,t)=>{e.scrollLeft=-t}}:e.vertical===!0?{get:e=>e.scrollTop,set:(e,t)=>{e.scrollTop=t}}:{get:e=>e.scrollLeft,set:(e,t)=>{e.scrollLeft=t}});function ie(e){let t=x.value,{get:n,set:r}=re.value,i=!1,a=n(t),o=e<a?-1:1;return a+=o*5,a<0?(i=!0,a=0):(o===-1&&a<=e||o===1&&a>=e)&&(i=!0,a=e),r(t,a),te(),i}function ae(e,t){for(let n in e)if(e[n]!==t[n])return!1;return!0}function oe(){let e=null,t={matchedLen:0,queryDiff:9999,hrefLen:0},n=O.filter(e=>e.routeData?.hasRouterLink.value===!0),{hash:r,query:i}=o.$route,a=Object.keys(i).length;for(let o of n){let n=o.routeData.exact.value===!0;if(o.routeData[n===!0?`linkIsExactActive`:`linkIsActive`].value!==!0)continue;let{hash:s,query:c,matched:l,href:u}=o.routeData.resolvedLink.value,d=Object.keys(c).length;if(n===!0){if(s!==r||d!==a||ae(i,c)===!1)continue;e=o.name.value;break}if(s!==``&&s!==r||d!==0&&ae(c,i)===!1)continue;let f={matchedLen:l.length,queryDiff:a-d,hrefLen:u.length-s.length};if(f.matchedLen>t.matchedLen){e=o.name.value,t=f;continue}else if(f.matchedLen!==t.matchedLen)continue;if(f.queryDiff<t.queryDiff)e=o.name.value,t=f;else if(f.queryDiff!==t.queryDiff)continue;f.hrefLen>t.hrefLen&&(e=o.name.value,t=f)}if(e===null&&O.some(e=>e.routeData===void 0&&e.name.value===S.value)===!0){he=!1;return}H({name:e,setCurrent:!0})}function se(e){if(h(),A.value!==!0&&b.value!==null&&e.target&&typeof e.target.closest==`function`){let t=e.target.closest(`.q-tab`);t&&b.value.contains(t)===!0&&(A.value=!0,C.value===!0&&G(t))}}function ce(){p(()=>{A.value=!1},30)}function X(){fe.avoidRouteWatcher===!1?g(oe):v()}function le(){if(N===void 0){let e=T(()=>o.$route.fullPath,X);N=()=>{e(),N=void 0}}}function ue(e){O.push(e),k.value++,ee(),e.routeData===void 0||o.$route===void 0?g(()=>{if(C.value===!0){let e=S.value,t=e!=null&&e!==``?O.find(t=>t.name.value===e):null;t&&G(t.rootRef.value)}}):(le(),e.routeData.hasRouterLink.value===!0&&X())}function de(e){O.splice(O.indexOf(e),1),k.value--,ee(),N!==void 0&&e.routeData!==void 0&&(O.every(e=>e.routeData===void 0)===!0&&N(),X())}let fe={currentModel:S,tabProps:P,hasFocus:A,hasActiveTab:F,registerTab:ue,unregisterTab:de,verifyRouteModel:X,updateModel:H,onKbdNavigate:ne,avoidRouteWatcher:!1};_(ke,fe);function pe(){j!==null&&clearTimeout(j),Y(),N?.()}let me,he;return f(pe),m(()=>{me=N!==void 0,pe()}),u(()=>{me===!0&&(le(),he=!0,X()),ee()}),()=>a(`div`,{ref:b,class:L.value,role:`tablist`,onFocusin:se,onFocusout:ce},[a(Xi,{onResize:U}),a(`div`,{ref:x,class:R.value,onScroll:te},$(t.default)),a(St,{class:`q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon`+(w.value===!0?``:` q-tabs__arrow--faded`),name:e.leftIcon||s.iconSet.tabs[e.vertical===!0?`up`:`left`],onMousedownPassive:q,onTouchstartPassive:q,onMouseupPassive:Y,onMouseleavePassive:Y,onTouchendPassive:Y}),a(St,{class:`q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon`+(E.value===!0?``:` q-tabs__arrow--faded`),name:e.rightIcon||s.iconSet.tabs[e.vertical===!0?`down`:`right`],onMousedownPassive:J,onTouchstartPassive:J,onMouseupPassive:Y,onMouseleavePassive:Y,onTouchendPassive:Y})])}});let ea=0;const ta=[`click`,`keydown`],na={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${ea++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function ra(e,t,r,s){let c=o(ke,Z);if(c===Z)return console.error(`QTab/QRouteTab component needs to be child of QTabs`),Z;let{proxy:l}=i(),u=y(null),d=y(null),p=y(null),m=n(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),g=n(()=>c.currentModel.value===e.name),_=n(()=>`q-tab relative-position self-stretch flex flex-center text-center`+(g.value===!0?` q-tab--active`+(c.tabProps.value.activeClass?` `+c.tabProps.value.activeClass:``)+(c.tabProps.value.activeColor?` text-${c.tabProps.value.activeColor}`:``)+(c.tabProps.value.activeBgColor?` bg-${c.tabProps.value.activeBgColor}`:``):` q-tab--inactive`)+(e.icon&&e.label&&c.tabProps.value.inlineLabel===!1?` q-tab--full`:``)+(e.noCaps===!0||c.tabProps.value.noCaps===!0?` q-tab--no-caps`:``)+(e.disable===!0?` disabled`:` q-focusable q-hoverable cursor-pointer`)+(s===void 0?``:s.linkClass.value)),v=n(()=>`q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable `+(c.tabProps.value.inlineLabel===!0?`row no-wrap q-tab__content--inline`:`column`)+(e.contentClass===void 0?``:` ${e.contentClass}`)),b=n(()=>e.disable===!0||c.hasFocus.value===!0||g.value===!1&&c.hasActiveTab.value===!0?-1:e.tabindex||0);function x(t,n){if(n!==!0&&t?.qAvoidFocus!==!0&&u.value?.focus(),e.disable===!0){s?.hasRouterLink.value===!0&&J(t);return}if(s===void 0){c.updateModel({name:e.name}),r(`click`,t);return}if(s.hasRouterLink.value===!0){let n=(n={})=>{let r,i=n.to===void 0||je(n.to,e.to)===!0?c.avoidRouteWatcher=Jr():null;return s.navigateToRouterLink(t,{...n,returnRouterError:!0}).catch(e=>{r=e}).then(t=>{if(i===c.avoidRouteWatcher&&(c.avoidRouteWatcher=!1,r===void 0&&(t===void 0||t.message?.startsWith(`Avoided redundant navigation`)===!0)&&c.updateModel({name:e.name})),n.returnRouterError===!0)return r===void 0?t:Promise.reject(r)})};r(`click`,t,n),t.defaultPrevented!==!0&&n();return}r(`click`,t)}function S(e){fe(e,[13,32])?x(e,!0):de(e)!==!0&&e.keyCode>=35&&e.keyCode<=40&&e.altKey!==!0&&e.metaKey!==!0&&c.onKbdNavigate(e.keyCode,l.$el)===!0&&J(e),r(`keydown`,e)}function C(){let n=c.tabProps.value.narrowIndicator,r=[],i=a(`div`,{ref:p,class:[`q-tab__indicator`,c.tabProps.value.indicatorClass]});e.icon!==void 0&&r.push(a(St,{class:`q-tab__icon`,name:e.icon})),e.label!==void 0&&r.push(a(`div`,{class:`q-tab__label`},e.label)),e.alert!==!1&&r.push(e.alertIcon===void 0?a(`div`,{class:`q-tab__alert`+(e.alert===!0?``:` text-${e.alert}`)}):a(St,{class:`q-tab__alert-icon`,color:e.alert===!0?void 0:e.alert,name:e.alertIcon})),n===!0&&r.push(i);let o=[a(`div`,{class:`q-focus-helper`,tabindex:-1,ref:u}),a(`div`,{class:v.value},at(t.default,r))];return n===!1&&o.push(i),o}let w={name:n(()=>e.name),rootRef:d,tabIndicatorRef:p,routeData:s};f(()=>{c.unregisterTab(w)}),h(()=>{c.registerTab(w)});function T(t,n){return E(a(t,{ref:d,class:_.value,tabindex:b.value,role:`tab`,"aria-selected":g.value===!0?`true`:`false`,"aria-disabled":e.disable===!0?`true`:void 0,onClick:x,onKeydown:S,...n},C()),[[pn,m.value]])}return{renderTab:T,$tabs:c}}var ia=L({name:`QTab`,props:na,emits:ta,setup(e,{slots:t,emit:n}){let{renderTab:r}=ra(e,t,n);return()=>r(`div`)}}),aa=L({name:`QTabPanels`,props:{...mi,...Et},emits:hi,setup(e,{slots:t}){let r=Dt(e,i().proxy.$q),{updatePanelsList:a,getPanelContent:o,panelDirectives:s}=gi(),c=n(()=>`q-tab-panels q-panel-parent`+(r.value===!0?` q-tab-panels--dark q-dark`:``));return()=>(a(t),st(`div`,{class:c.value},o(),`pan`,e.swipeable,()=>s.value))}}),oa=L({name:`QTabPanel`,props:fi,setup(e,{slots:t}){return()=>a(`div`,{class:`q-tab-panel`,role:`tabpanel`},$(t.default))}});const sa=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,ca=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,la=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,ua=/^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])\)$/,da=/^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)\)$/,fa={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=>sa.test(e),hexaColor:e=>ca.test(e),hexOrHexaColor:e=>la.test(e),rgbColor:e=>ua.test(e),rgbaColor:e=>da.test(e),rgbOrRgbaColor:e=>ua.test(e)||da.test(e),hexOrRgbColor:e=>sa.test(e)||ua.test(e),hexaOrRgbaColor:e=>ca.test(e)||da.test(e),anyColor:e=>la.test(e)||ua.test(e)||da.test(e)};var pa={testPattern:fa};const ma=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function ha({r:e,g:t,b:n,a:r}){let i=r!==void 0;if(e=Math.round(e),t=Math.round(t),n=Math.round(n),e>255||t>255||n>255||i&&r>100)throw TypeError(`Expected 3 numbers below 256 (and optionally one below 100)`);return r=i?(Math.round(255*r/100)|256).toString(16).slice(1):``,`#`+(n|t<<8|e<<16|1<<24).toString(16).slice(1)+r}function ga({r:e,g:t,b:n,a:r}){return`rgb${r===void 0?``:`a`}(${e},${t},${n}${r===void 0?``:`,`+r/100})`}function _a(e){if(typeof e!=`string`)throw 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 va({h:e,s:t,v:n,a:r}){let i,a,o;t/=100,n/=100,e/=360;let s=Math.floor(e*6),c=e*6-s,l=n*(1-t),u=n*(1-c*t),d=n*(1-(1-c)*t);switch(s%6){case 0:i=n,a=d,o=l;break;case 1:i=u,a=n,o=l;break;case 2:i=l,a=n,o=d;break;case 3:i=l,a=u,o=n;break;case 4:i=d,a=l,o=n;break;case 5:i=n,a=l,o=u;break}return{r:Math.round(i*255),g:Math.round(a*255),b:Math.round(o*255),a:r}}function ya({r:e,g:t,b:n,a:r}){let i=Math.max(e,t,n),a=Math.min(e,t,n),o=i-a,s=i===0?0:o/i,c=i/255,l;switch(i){case a:l=0;break;case e:l=t-n+o*(t<n?6:0),l/=6*o;break;case t:l=n-e+o*2,l/=6*o;break;case n:l=e-t+o*4,l/=6*o;break}return{h:Math.round(l*360),s:Math.round(s*100),v:Math.round(c*100),a:r}}function ba(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);let t=e.replace(/ /g,``),n=ma.exec(t);if(n===null)return _a(t);let r={r:Math.min(255,parseInt(n[2],10)),g:Math.min(255,parseInt(n[3],10)),b:Math.min(255,parseInt(n[4],10))};if(n[1]){let e=parseFloat(n[5]);r.a=Math.min(1,isNaN(e)===!0?1:e)*100}return r}function xa(e,t){if(typeof e!=`string`)throw TypeError(`Expected a string as color`);if(typeof t!=`number`)throw TypeError(`Expected a numeric percent`);let n=ba(e),r=t<0?0:255,i=Math.abs(t)/100,a=n.r,o=n.g,s=n.b;return`#`+(16777216+(Math.round((r-a)*i)+a)*65536+(Math.round((r-o)*i)+o)*256+(Math.round((r-s)*i)+s)).toString(16).slice(1)}function Sa(e){if(typeof e!=`string`&&(!e||e.r===void 0))throw TypeError(`Expected a string or a {r, g, b} object as color`);let t=typeof e==`string`?ba(e):e,n=t.r/255,r=t.g/255,i=t.b/255,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4,s=i<=.03928?i/12.92:((i+.055)/1.055)**2.4;return .2126*a+.7152*o+.0722*s}function Ca(e){if(typeof e!=`string`&&(!e||e.r===void 0))throw TypeError(`Expected a string or a {r, g, b} object as color`);let t=typeof e==`string`?ba(e):e;return(t.r*299+t.g*587+t.b*114)/1e3}function wa(e,t){if(typeof e!=`string`&&(!e||e.r===void 0))throw TypeError(`Expected a string or a {r, g, b[, a]} object as fgColor`);if(typeof t!=`string`&&(!t||t.r===void 0))throw TypeError(`Expected a string or a {r, g, b[, a]} object as bgColor`);let n=typeof e==`string`?ba(e):e,r=n.r/255,i=n.g/255,a=n.b/255,o=n.a===void 0?1:n.a/100,s=typeof t==`string`?ba(t):t,c=s.r/255,l=s.g/255,u=s.b/255,d=s.a===void 0?1:s.a/100,f=o+d*(1-o),p={r:Math.round((r*o+c*d*(1-o))/f*255),g:Math.round((i*o+l*d*(1-o))/f*255),b:Math.round((a*o+u*d*(1-o))/f*255),a:Math.round(f*100)};return typeof e==`string`?ha(p):p}function Ta(e,t){if(typeof e!=`string`)throw TypeError(`Expected a string as color`);if(t===void 0||t<-1||t>1)throw TypeError(`Expected offset to be between -1 and 1`);let{r:n,g:r,b:i,a}=ba(e),o=a===void 0?0:a/100;return ha({r:n,g:r,b:i,a:Math.round(Math.min(1,Math.max(0,o+t))*100)})}function Ea(e){if(typeof e!=`string`)throw 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 n=getComputedStyle(t).getPropertyValue(`color`);return t.remove(),ha(ba(n))}var Da={rgbToHex:ha,hexToRgb:_a,hsvToRgb:va,rgbToHsv:ya,textToRgb:ba,lighten:xa,luminosity:Sa,brightness:Ca,blend:wa,changeAlpha:Ta,getPaletteColor:Ea};const Oa=`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)`.split(`.`),ka=`M5 5 h10 v10 h-10 v-10 z`;var Aa=L({name:`QColor`,props:{...Et,...ti,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:r}=i(),{$q:o}=r,s=Dt(e,o),{getCache:c}=di(),u=y(null),d=y(null),f=n(()=>e.formatModel===`auto`?null:e.formatModel.indexOf(`hex`)!==-1),p=n(()=>e.formatModel===`auto`?null:e.formatModel.indexOf(`a`)!==-1),m=y(e.formatModel===`auto`?e.modelValue===void 0||e.modelValue===null||e.modelValue===``||e.modelValue.startsWith(`#`)?`hex`:`rgb`:e.formatModel.startsWith(`hex`)?`hex`:`rgb`),h=y(e.defaultView),g=y(N(e.modelValue||e.defaultValue)),_=n(()=>e.disable!==!0&&e.readonly!==!0),v=n(()=>e.modelValue===void 0||e.modelValue===null||e.modelValue===``||e.modelValue.startsWith(`#`)),b=n(()=>f.value===null?v.value:f.value),x=ri(n(()=>({type:`hidden`,name:e.name,value:g.value[b.value===!0?`hex`:`rgb`]}))),S=n(()=>p.value===null?g.value.a!==void 0:p.value),C=n(()=>({backgroundColor:g.value.rgb||`#000`})),w=n(()=>`q-color-picker__header-content q-color-picker__header-content--${g.value.a!==void 0&&g.value.a<65||Sa(g.value)>.4?`light`:`dark`}`),E=n(()=>({background:`hsl(${g.value.h},100%,50%)`})),D=n(()=>({top:`${100-g.value.v}%`,[o.lang.rtl===!0?`right`:`left`]:`${g.value.s}%`})),O=n(()=>e.palette!==void 0&&e.palette.length!==0?e.palette:Oa),k=n(()=>`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`:``)+(s.value===!0?` q-color-picker--dark q-dark`:``)),A=n(()=>e.disable===!0?{"aria-disabled":`true`}:{}),j=n(()=>[[Bi,B,void 0,{prevent:!0,stop:!0,mouse:!0}]]);T(()=>e.modelValue,t=>{let n=N(t||e.defaultValue);n.hex!==g.value.hex&&(g.value=n)}),T(()=>e.defaultValue,t=>{if(!e.modelValue&&t){let e=N(t);e.hex!==g.value.hex&&(g.value=e)}});function M(e,n){g.value.hex=ha(e),g.value.rgb=ga(e),g.value.r=e.r,g.value.g=e.g,g.value.b=e.b,g.value.a=e.a;let r=g.value[b.value===!0?`hex`:`rgb`];t(`update:modelValue`,r),n===!0&&t(`change`,r)}function N(t){let n=p.value===void 0?e.formatModel===`auto`?null:e.formatModel.indexOf(`a`)!==-1:p.value;if(typeof t!=`string`||t.length===0||fa.anyColor(t.replace(/ /g,``))!==!0)return{h:0,s:0,v:0,r:0,g:0,b:0,a:n===!0?100:void 0,hex:void 0,rgb:void 0};let r=ba(t);return n===!0&&r.a===void 0&&(r.a=100),r.hex=ha(r),r.rgb=ga(r),Object.assign(r,ya(r))}function P(e,t,n){let r=u.value;if(r===null)return;let i=r.clientWidth,a=r.clientHeight,s=r.getBoundingClientRect(),c=Math.min(i,Math.max(0,e-s.left));o.lang.rtl===!0&&(c=i-c);let l=Math.min(a,Math.max(0,t-s.top)),d=Math.round(100*c/i),f=Math.round(100*Math.max(0,Math.min(1,-(l/a)+1))),p=va({h:g.value.h,s:d,v:f,a:S.value===!0?g.value.a:void 0});g.value.s=d,g.value.v=f,M(p,n)}function F(e,t){let n=Math.round(e),r=va({h:n,s:g.value.s,v:g.value.v,a:S.value===!0?g.value.a:void 0});g.value.h=n,M(r,t)}function I(e){F(e,!0)}function L(e,t,n,i,a){if(i!==void 0&&K(i),!/^[0-9]+$/.test(e)){a===!0&&r.$forceUpdate();return}let o=Math.floor(Number(e));if(o<0||o>n){a===!0&&r.$forceUpdate();return}let s={r:t===`r`?o:g.value.r,g:t===`g`?o:g.value.g,b:t===`b`?o:g.value.b,a:S.value===!0?t===`a`?o:g.value.a:void 0};if(t!==`a`){let e=ya(s);g.value.h=e.h,g.value.s=e.s,g.value.v=e.v}if(M(s,a),a!==!0&&i?.target.selectionEnd!==void 0){let e=i.target.selectionEnd;l(()=>{i.target.setSelectionRange(e,e)})}}function R(e,t){let n,r=e.target.value;if(K(e),m.value===`hex`){if(r.length!==(S.value===!0?9:7)||!/^#[0-9A-Fa-f]+$/.test(r))return!0;n=_a(r)}else{let e;if(!r.endsWith(`)`))return!0;if(S.value!==!0&&r.startsWith(`rgb(`)){if(e=r.substring(4,r.length-1).split(`,`).map(e=>parseInt(e,10)),e.length!==3||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(r))return!0}else if(S.value===!0&&r.startsWith(`rgba(`)){if(e=r.substring(5,r.length-1).split(`,`),e.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(r))return!0;for(let t=0;t<3;t++){let n=parseInt(e[t],10);if(n<0||n>255)return!0;e[t]=n}let t=parseFloat(e[3]);if(t<0||t>1)return!0;e[3]=t}else return!0;if(e[0]<0||e[0]>255||e[1]<0||e[1]>255||e[2]<0||e[2]>255||S.value===!0&&(e[3]<0||e[3]>1))return!0;n={r:e[0],g:e[1],b:e[2],a:S.value===!0?e[3]*100:void 0}}let i=ya(n);if(g.value.h=i.h,g.value.s=i.s,g.value.v=i.v,M(n,t),t!==!0){let t=e.target.selectionEnd;l(()=>{e.target.setSelectionRange(t,t)})}}function z(e){let t=N(e),n={r:t.r,g:t.g,b:t.b,a:t.a};n.a===void 0&&(n.a=g.value.a),g.value.h=t.h,g.value.s=t.s,g.value.v=t.v,M(n,!0)}function B(e){e.isFinal?P(e.position.left,e.position.top,!0):V(e)}let V=dn(e=>{P(e.position.left,e.position.top)},20);function H(e){P(e.pageX-window.pageXOffset,e.pageY-window.pageYOffset,!0)}function ee(e){P(e.pageX-window.pageXOffset,e.pageY-window.pageYOffset)}function U(e){d.value!==null&&(d.value.$el.style.opacity=e?1:0)}function W(e){m.value=e}function G(){let t=[];return e.noHeaderTabs!==!0&&t.push(a($i,{class:`q-color-picker__header-tabs`,modelValue:m.value,dense:!0,align:`justify`,"onUpdate:modelValue":W},()=>[a(ia,{label:`HEX`+(S.value===!0?`A`:``),name:`hex`,ripple:!1}),a(ia,{label:`RGB`+(S.value===!0?`A`:``),name:`rgb`,ripple:!1})])),t.push(a(`div`,{class:`q-color-picker__header-banner row flex-center no-wrap`},[a(`input`,{class:`fit`,value:g.value[m.value],..._.value===!0?{}:{readonly:!0},...c(`topIn`,{onInput:e=>{U(R(e)===!0)},onChange:K,onBlur:e=>{R(e,!0)===!0&&r.$forceUpdate(),U(!1)}})}),a(St,{ref:d,class:`q-color-picker__error-icon absolute no-pointer-events`,name:o.iconSet.type.negative})])),a(`div`,{class:`q-color-picker__header relative-position overflow-hidden`},[a(`div`,{class:`q-color-picker__header-bg absolute-full`}),a(`div`,{class:w.value,style:C.value},t)])}function te(){return a(aa,{modelValue:h.value,animated:!0},()=>[a(oa,{class:`q-color-picker__spectrum-tab overflow-hidden`,name:`spectrum`},Y),a(oa,{class:`q-pa-md q-color-picker__tune-tab`,name:`tune`},ne),a(oa,{class:`q-color-picker__palette-tab`,name:`palette`},re)])}function q(e){h.value=e}function J(){return a(`div`,{class:`q-color-picker__footer relative-position overflow-hidden`},[a($i,{class:`absolute-full`,modelValue:h.value,dense:!0,align:`justify`,"onUpdate:modelValue":q},()=>[a(ia,{icon:o.iconSet.colorPicker.spectrum,name:`spectrum`,ripple:!1}),a(ia,{icon:o.iconSet.colorPicker.tune,name:`tune`,ripple:!1}),a(ia,{icon:o.iconSet.colorPicker.palette,name:`palette`,ripple:!1})])])}function Y(){let e={ref:u,class:`q-color-picker__spectrum non-selectable relative-position cursor-pointer`+(_.value===!0?``:` readonly`),style:E.value,..._.value===!0?{onClick:H,onMousedown:ee}:{}},t=[a(`div`,{style:{paddingBottom:`100%`}}),a(`div`,{class:`q-color-picker__spectrum-white absolute-full`}),a(`div`,{class:`q-color-picker__spectrum-black absolute-full`}),a(`div`,{class:`absolute`,style:D.value},[g.value.hex===void 0?null:a(`div`,{class:`q-color-picker__spectrum-circle`})])],n=[a(Ji,{class:`q-color-picker__hue non-selectable`,modelValue:g.value.h,min:0,max:360,trackSize:`8px`,innerTrackColor:`transparent`,selectionColor:`transparent`,readonly:_.value!==!0,thumbPath:ka,"onUpdate:modelValue":F,onChange:I})];return S.value===!0&&n.push(a(Ji,{class:`q-color-picker__alpha non-selectable`,modelValue:g.value.a,min:0,max:100,trackSize:`8px`,trackColor:`white`,innerTrackColor:`transparent`,selectionColor:`transparent`,trackImg:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==`,readonly:_.value!==!0,hideSelection:!0,thumbPath:ka,...c(`alphaSlide`,{"onUpdate:modelValue":e=>L(e,`a`,100),onChange:e=>L(e,`a`,100,void 0,!0)})})),[st(`div`,e,t,`spec`,_.value,()=>j.value),a(`div`,{class:`q-color-picker__sliders`},n)]}function ne(){return[a(`div`,{class:`row items-center no-wrap`},[a(`div`,`R`),a(Ji,{modelValue:g.value.r,min:0,max:255,color:`red`,dark:s.value,readonly:_.value!==!0,...c(`rSlide`,{"onUpdate:modelValue":e=>L(e,`r`,255),onChange:e=>L(e,`r`,255,void 0,!0)})}),a(`input`,{value:g.value.r,maxlength:3,readonly:_.value!==!0,onChange:K,...c(`rIn`,{onInput:e=>L(e.target.value,`r`,255,e),onBlur:e=>L(e.target.value,`r`,255,e,!0)})})]),a(`div`,{class:`row items-center no-wrap`},[a(`div`,`G`),a(Ji,{modelValue:g.value.g,min:0,max:255,color:`green`,dark:s.value,readonly:_.value!==!0,...c(`gSlide`,{"onUpdate:modelValue":e=>L(e,`g`,255),onChange:e=>L(e,`g`,255,void 0,!0)})}),a(`input`,{value:g.value.g,maxlength:3,readonly:_.value!==!0,onChange:K,...c(`gIn`,{onInput:e=>L(e.target.value,`g`,255,e),onBlur:e=>L(e.target.value,`g`,255,e,!0)})})]),a(`div`,{class:`row items-center no-wrap`},[a(`div`,`B`),a(Ji,{modelValue:g.value.b,min:0,max:255,color:`blue`,readonly:_.value!==!0,dark:s.value,...c(`bSlide`,{"onUpdate:modelValue":e=>L(e,`b`,255),onChange:e=>L(e,`b`,255,void 0,!0)})}),a(`input`,{value:g.value.b,maxlength:3,readonly:_.value!==!0,onChange:K,...c(`bIn`,{onInput:e=>L(e.target.value,`b`,255,e),onBlur:e=>L(e.target.value,`b`,255,e,!0)})})]),S.value===!0?a(`div`,{class:`row items-center no-wrap`},[a(`div`,`A`),a(Ji,{modelValue:g.value.a,color:`grey`,readonly:_.value!==!0,dark:s.value,...c(`aSlide`,{"onUpdate:modelValue":e=>L(e,`a`,100),onChange:e=>L(e,`a`,100,void 0,!0)})}),a(`input`,{value:g.value.a,maxlength:3,readonly:_.value!==!0,onChange:K,...c(`aIn`,{onInput:e=>L(e.target.value,`a`,100,e),onBlur:e=>L(e.target.value,`a`,100,e,!0)})})]):null]}function re(){return[a(`div`,{class:`row items-center q-color-picker__palette-rows`+(_.value===!0?` q-color-picker__palette-rows--editable`:``)},O.value.map(e=>a(`div`,{class:`q-color-picker__cube col-auto`,style:{backgroundColor:e},..._.value===!0?c(`palette#`+e,{onClick:()=>{z(e)}}):{}})))]}return()=>{let t=[te()];return e.name!==void 0&&e.disable!==!0&&x(t,`push`),e.noHeader!==!0&&t.unshift(G()),e.noFooter!==!0&&t.push(J()),a(`div`,{class:k.value,...A.value},t)}}});const ja=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function Ma(e,t,n){return Object.prototype.toString.call(e)===`[object Date]`&&(n=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),za(Ba(e,t,n))}function Na(e,t,n){return Va(Ra(e,t,n))}function Pa(e){return Ia(e)===0}function Fa(e,t){return t<=6?31:t<=11||Pa(e)?30:29}function Ia(e){let t=ja.length,n=ja[0],r,i,a,o,s;if(e<n||e>=ja[t-1])throw Error(`Invalid Jalaali year `+e);for(s=1;s<t&&(r=ja[s],i=r-n,!(e<r));s+=1)n=r;return o=e-n,i-o<6&&(o=o-i+Ha(i+4,33)*33),a=Ua(Ua(o+1,33)-1,4),a===-1&&(a=4),a}function La(e,t){let n=ja.length,r=e+621,i=-14,a=ja[0],o,s,c,l,u;if(e<a||e>=ja[n-1])throw Error(`Invalid Jalaali year `+e);for(u=1;u<n&&(o=ja[u],s=o-a,!(e<o));u+=1)i=i+Ha(s,33)*8+Ha(Ua(s,33),4),a=o;l=e-a,i=i+Ha(l,33)*8+Ha(Ua(l,33)+3,4),Ua(s,33)===4&&s-l===4&&(i+=1);let d=Ha(r,4)-Ha((Ha(r,100)+1)*3,4)-150,f=20+i-d;return t||(s-l<6&&(l=l-s+Ha(s+4,33)*33),c=Ua(Ua(l+1,33)-1,4),c===-1&&(c=4)),{leap:c,gy:r,march:f}}function Ra(e,t,n){let r=La(e,!0);return Ba(r.gy,3,r.march)+(t-1)*31-Ha(t,7)*(t-7)+n-1}function za(e){let t=Va(e).gy,n=t-621,r,i,a,o=La(n,!1);if(a=e-Ba(t,3,o.march),a>=0){if(a<=185)return i=1+Ha(a,31),r=Ua(a,31)+1,{jy:n,jm:i,jd:r};a-=186}else --n,a+=179,o.leap===1&&(a+=1);return i=7+Ha(a,30),r=Ua(a,30)+1,{jy:n,jm:i,jd:r}}function Ba(e,t,n){let r=Ha((e+Ha(t-8,6)+100100)*1461,4)+Ha(153*Ua(t+9,12)+2,5)+n-34840408;return r=r-Ha(Ha(e+100100+Ha(t-8,6),100)*3,4)+752,r}function Va(e){let t=4*e+139361631;t=t+Ha(Ha(4*e+183187720,146097)*3,4)*4-3908;let n=Ha(Ua(t,1461),4)*5+308,r=Ha(Ua(n,153),5)+1,i=Ua(Ha(n,153),12)+1;return{gy:Ha(t,1461)-100100+Ha(8-i,6),gm:i,gd:r}}function Ha(e,t){return~~(e/t)}function Ua(e,t){return e-~~(e/t)*t}const Wa=[`gregorian`,`persian`],Ga={mask:{type:String},locale:Object,calendar:{type:String,validator:e=>Wa.includes(e),default:`gregorian`},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},Ka=[`update:modelValue`];function qa(e){return e.year+`/`+Q(e.month)+`/`+Q(e.day)}function Ja(e,t){let r=n(()=>e.disable!==!0&&e.readonly!==!0),i=n(()=>r.value===!0?0:-1),a=n(()=>{let t=[];return e.color!==void 0&&t.push(`bg-${e.color}`),e.textColor!==void 0&&t.push(`text-${e.textColor}`),t.join(` `)});function o(){return e.locale===void 0?t.lang.date:{...t.lang.date,...e.locale}}function s(t){let n=new Date,r=t===!0?null:0;if(e.calendar===`persian`){let e=Ma(n);return{year:e.jy,month:e.jm,day:e.jd}}return{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:r,minute:r,second:r,millisecond:r}}return{editable:r,tabindex:i,headerClass:a,getLocale:o,getCurrentDate:s}}const Ya=864e5,Xa=6e4,Za=`YYYY-MM-DDTHH:mm:ss.SSSZ`,Qa=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|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,$a=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|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,eo={};function to(e,t){let n=`(`+t.days.join(`|`)+`)`,r=e+n;if(eo[r]!==void 0)return eo[r];let i=`(`+t.daysShort.join(`|`)+`)`,a=`(`+t.months.join(`|`)+`)`,o=`(`+t.monthsShort.join(`|`)+`)`,s={},c=0,l=e.replace($a,e=>{switch(c++,e){case`YY`:return s.YY=c,`(-?\\d{1,2})`;case`YYYY`:return s.YYYY=c,`(-?\\d{1,4})`;case`M`:return s.M=c,`(\\d{1,2})`;case`Mo`:return s.M=c++,`(\\d{1,2}(st|nd|rd|th))`;case`MM`:return s.M=c,`(\\d{2})`;case`MMM`:return s.MMM=c,o;case`MMMM`:return s.MMMM=c,a;case`D`:return s.D=c,`(\\d{1,2})`;case`Do`:return s.D=c++,`(\\d{1,2}(st|nd|rd|th))`;case`DD`:return s.D=c,`(\\d{2})`;case`H`:return s.H=c,`(\\d{1,2})`;case`HH`:return s.H=c,`(\\d{2})`;case`h`:return s.h=c,`(\\d{1,2})`;case`hh`:return s.h=c,`(\\d{2})`;case`m`:return s.m=c,`(\\d{1,2})`;case`mm`:return s.m=c,`(\\d{2})`;case`s`:return s.s=c,`(\\d{1,2})`;case`ss`:return s.s=c,`(\\d{2})`;case`S`:return s.S=c,`(\\d{1})`;case`SS`:return s.S=c,`(\\d{2})`;case`SSS`:return s.S=c,`(\\d{3})`;case`A`:return s.A=c,`(AM|PM)`;case`a`:return s.a=c,`(am|pm)`;case`aa`:return s.aa=c,`(a\\.m\\.|p\\.m\\.)`;case`ddd`:return i;case`dddd`:return n;case`Q`:case`d`:case`E`:return`(\\d{1})`;case`do`:return c++,`(\\d{1}(st|nd|rd|th))`;case`Qo`:return`(1st|2nd|3rd|4th)`;case`DDD`:case`DDDD`:return`(\\d{1,3})`;case`DDDo`:return c++,`(\\d{1,3}(st|nd|rd|th))`;case`w`:return`(\\d{1,2})`;case`wo`:return c++,`(\\d{1,2}(st|nd|rd|th))`;case`ww`:return`(\\d{2})`;case`Z`:return s.Z=c,`(Z|[+-]\\d{2}:\\d{2})`;case`ZZ`:return s.ZZ=c,`(Z|[+-]\\d{2}\\d{2})`;case`X`:return s.X=c,`(-?\\d+)`;case`x`:return s.x=c,`(-?\\d{4,})`;default:return c--,e[0]===`[`&&(e=e.substring(1,e.length-1)),e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}}),u={map:s,regex:RegExp(`^`+l)};return eo[r]=u,u}function no(e,t){return e===void 0?t===void 0?ye.date:t.date:e}function ro(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.floor(r/60),a=r%60;return n+Q(i)+t+Q(a)}function io(e,t,n){let r=e.getFullYear(),i=e.getMonth(),a=e.getDate();return t.year!==void 0&&(r+=n*t.year,delete t.year),t.month!==void 0&&(i+=n*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(r),e.setMonth(i),e.setDate(Math.min(a,jo(e))),t.date!==void 0&&(e.setDate(e.getDate()+n*t.date),delete t.date),e}function ao(e,t,n){let r=t.year===void 0?e[`get${n}FullYear`]():t.year,i=t.month===void 0?e[`get${n}Month`]():t.month-1,a=new Date(r,i+1,0).getDate(),o=Math.min(a,t.date===void 0?e[`get${n}Date`]():t.date);return e[`set${n}Date`](1),e[`set${n}Month`](2),e[`set${n}FullYear`](r),e[`set${n}Month`](i),e[`set${n}Date`](o),delete t.year,delete t.month,delete t.date,e}function oo(e,t,n){let r=so(t),i=new Date(e),a=r.year!==void 0||r.month!==void 0||r.date!==void 0?io(i,r,n):i;for(let e in r){let t=Ue(e);a[`set${t}`](a[`get${t}`]()+n*r[e])}return a}function so(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 co(e,t,n){let r=so(t),i=n===!0?`UTC`:``,a=new Date(e),o=r.year!==void 0||r.month!==void 0||r.date!==void 0?ao(a,r,i):a;for(let e in r)o[`set${i}${e.charAt(0).toUpperCase()+e.slice(1)}`](r[e]);return o}function lo(e,t,n){let r=uo(e,t,n),i=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=i.getTimezoneOffset();return r.timezoneOffset===null||r.timezoneOffset===a?i:oo(i,{minutes:r.timezoneOffset-a},1)}function uo(e,t,n,r,i){let a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(i!==void 0&&Object.assign(a,i),e==null||e===``||typeof e!=`string`)return a;t===void 0&&(t=Za);let o=no(n,xe.props),s=o.months,c=o.monthsShort,{regex:l,map:u}=to(t,o),d=e.match(l);if(d===null)return a;let f=``;if(u.X!==void 0||u.x!==void 0){let e=parseInt(d[u.X===void 0?u.x:u.X],10);if(isNaN(e)===!0||e<0)return a;let t=new Date(e*(u.X===void 0?1:1e3));a.year=t.getFullYear(),a.month=t.getMonth()+1,a.day=t.getDate(),a.hour=t.getHours(),a.minute=t.getMinutes(),a.second=t.getSeconds(),a.millisecond=t.getMilliseconds()}else{if(u.YYYY!==void 0)a.year=parseInt(d[u.YYYY],10);else if(u.YY!==void 0){let e=parseInt(d[u.YY],10);a.year=e<0?e:2e3+e}if(u.M!==void 0){if(a.month=parseInt(d[u.M],10),a.month<1||a.month>12)return a}else u.MMM===void 0?u.MMMM!==void 0&&(a.month=s.indexOf(d[u.MMMM])+1):a.month=c.indexOf(d[u.MMM])+1;if(u.D!==void 0){if(a.day=parseInt(d[u.D],10),a.year===null||a.month===null||a.day<1)return a;let e=r===`persian`?Fa(a.year,a.month):new Date(a.year,a.month,0).getDate();if(a.day>e)return a}u.H===void 0?u.h!==void 0&&(a.hour=parseInt(d[u.h],10)%12,(u.A&&d[u.A]===`PM`||u.a&&d[u.a]===`pm`||u.aa&&d[u.aa]===`p.m.`)&&(a.hour+=12),a.hour%=24):a.hour=parseInt(d[u.H],10)%24,u.m!==void 0&&(a.minute=parseInt(d[u.m],10)%60),u.s!==void 0&&(a.second=parseInt(d[u.s],10)%60),u.S!==void 0&&(a.millisecond=parseInt(d[u.S],10)*10**(3-d[u.S].length)),(u.Z!==void 0||u.ZZ!==void 0)&&(f=u.Z===void 0?d[u.ZZ]:d[u.Z].replace(`:`,``),a.timezoneOffset=(f[0]===`+`?-1:1)*(60*f.slice(1,3)+Number(f.slice(3,5))))}return a.dateHash=Q(a.year,4)+`/`+Q(a.month)+`/`+Q(a.day),a.timeHash=Q(a.hour)+`:`+Q(a.minute)+`:`+Q(a.second)+f,a}function fo(e){return typeof e==`number`?!0:isNaN(Date.parse(e))===!1}function po(e,t){return co(new Date,e,t)}function mo(e){let t=new Date(e).getDay();return t===0?7:t}function ho(e){let t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);let n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);let r=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-r);let i=(t-n)/(Ya*7);return 1+Math.floor(i)}function go(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function _o(e,t){let n=new Date(e);return t===!0?go(n):n.getTime()}function vo(e,t,n,r={}){let i=_o(t,r.onlyDate),a=_o(n,r.onlyDate),o=_o(e,r.onlyDate);return(o>i||r.inclusiveFrom===!0&&o===i)&&(o<a||r.inclusiveTo===!0&&o===a)}function yo(e,t){return oo(e,t,1)}function bo(e,t){return oo(e,t,-1)}function xo(e,t,n){let r=new Date(e),i=`set${n===!0?`UTC`:``}`;switch(t){case`year`:case`years`:r[`${i}Month`](0);case`month`:case`months`:r[`${i}Date`](1);case`day`:case`days`:case`date`:r[`${i}Hours`](0);case`hour`:case`hours`:r[`${i}Minutes`](0);case`minute`:case`minutes`:r[`${i}Seconds`](0);case`second`:case`seconds`:r[`${i}Milliseconds`](0)}return r}function So(e,t,n){let r=new Date(e),i=`set${n===!0?`UTC`:``}`;switch(t){case`year`:case`years`:r[`${i}Month`](11);case`month`:case`months`:r[`${i}Date`](jo(r));case`day`:case`days`:case`date`:r[`${i}Hours`](23);case`hour`:case`hours`:r[`${i}Minutes`](59);case`minute`:case`minutes`:r[`${i}Seconds`](59);case`second`:case`seconds`:r[`${i}Milliseconds`](999)}return r}function Co(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(e=>{t=Math.max(t,new Date(e))}),new Date(t)}function wo(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(e=>{t=Math.min(t,new Date(e))}),new Date(t)}function To(e,t,n){return(e.getTime()-e.getTimezoneOffset()*Xa-(t.getTime()-t.getTimezoneOffset()*Xa))/n}function Eo(e,t,n=`days`){let r=new Date(e),i=new Date(t);switch(n){case`years`:case`year`:return r.getFullYear()-i.getFullYear();case`months`:case`month`:return(r.getFullYear()-i.getFullYear())*12+r.getMonth()-i.getMonth();case`days`:case`day`:case`date`:return To(xo(r,`day`),xo(i,`day`),Ya);case`hours`:case`hour`:return To(xo(r,`hour`),xo(i,`hour`),36e5);case`minutes`:case`minute`:return To(xo(r,`minute`),xo(i,`minute`),Xa);case`seconds`:case`second`:return To(xo(r,`second`),xo(i,`second`),1e3)}}function Do(e){return Eo(e,xo(e,`year`),`days`)+1}function Oo(e){return Ne(e)===!0?`date`:typeof e==`number`?`number`:`string`}function ko(e,t,n){let r=new Date(e);if(t){let e=new Date(t);if(r<e)return e}if(n){let e=new Date(n);if(r>e)return e}return r}function Ao(e,t,n){let r=new Date(e),i=new Date(t);if(n===void 0)return r.getTime()===i.getTime();switch(n){case`second`:case`seconds`:if(r.getSeconds()!==i.getSeconds())return!1;case`minute`:case`minutes`:if(r.getMinutes()!==i.getMinutes())return!1;case`hour`:case`hours`:if(r.getHours()!==i.getHours())return!1;case`day`:case`days`:case`date`:if(r.getDate()!==i.getDate())return!1;case`month`:case`months`:if(r.getMonth()!==i.getMonth())return!1;case`year`:case`years`:if(r.getFullYear()!==i.getFullYear())return!1;break;default:throw Error(`date isSameDate unknown unit ${n}`)}return!0}function jo(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function Mo(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`}const No={YY(e,t,n){let r=this.YYYY(e,t,n)%100;return r>=0?Q(r):`-`+Q(Math.abs(r))},YYYY(e,t,n){return n??e.getFullYear()},M(e){return e.getMonth()+1},Mo(e){return Mo(e.getMonth()+1)},MM(e){return Q(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 Mo(this.Q(e))},D(e){return e.getDate()},Do(e){return Mo(e.getDate())},DD(e){return Q(e.getDate())},DDD(e){return Do(e)},DDDo(e){return Mo(Do(e))},DDDD(e){return Q(Do(e),3)},d(e){return e.getDay()},do(e){return Mo(e.getDay())},dd(e,t){return t.days[e.getDay()].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 ho(e)},wo(e){return Mo(ho(e))},ww(e){return Q(ho(e))},H(e){return e.getHours()},HH(e){return Q(e.getHours())},h(e){let t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return Q(this.h(e))},m(e){return e.getMinutes()},mm(e){return Q(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return Q(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return Q(Math.floor(e.getMilliseconds()/10))},SSS(e){return Q(e.getMilliseconds(),3)},A(e){return e.getHours()<12?`AM`:`PM`},a(e){return e.getHours()<12?`am`:`pm`},aa(e){return e.getHours()<12?`a.m.`:`p.m.`},Z(e,t,n,r){return ro(r??e.getTimezoneOffset(),`:`)},ZZ(e,t,n,r){return ro(r??e.getTimezoneOffset())},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function Po(e,t,n,r,i){if(e!==0&&!e||e===1/0||e===-1/0)return;let a=new Date(e);if(isNaN(a))return;t===void 0&&(t=Za);let o=no(n,xe.props);return t.replace(Qa,(e,t)=>e in No?No[e](a,o,r,i):t===void 0?e:t.split(`\\]`).join(`]`))}function Fo(e){return Ne(e)===!0?new Date(e.getTime()):e}var Io={isValid:fo,extractDate:lo,buildDate:po,getDayOfWeek:mo,getWeekOfYear:ho,isBetweenDates:vo,addToDate:yo,subtractFromDate:bo,adjustDate:co,startOfDate:xo,endOfDate:So,getMaxDate:Co,getMinDate:wo,getDateDiff:Eo,getDayOfYear:Do,inferDateFormat:Oo,getDateBetween:ko,isSameDate:Ao,daysInMonth:jo,formatDate:Po,clone:Fo};const Lo=[`Calendar`,`Years`,`Months`],Ro=e=>Lo.includes(e),zo=e=>/^-?[\d]+\/[0-1]\d$/.test(e),Bo=` — `;function Vo(e){return e.year+`/`+Q(e.month)}var Ho=L({name:`QDate`,props:{...Ga,...ti,...Et,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:{...Ga.mask,default:`YYYY/MM/DD`},defaultYearMonth:{type:String,validator:zo},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:zo},navigationMaxYearMonth:{type:String,validator:zo},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:`Calendar`,validator:Ro}},emits:[...Ka,`rangeStart`,`rangeEnd`,`navigation`],setup(e,{slots:r,emit:o}){let{proxy:s}=i(),{$q:c}=s,u=Dt(e,c),{getCache:d}=di(),{tabindex:f,headerClass:p,getLocale:m,getCurrentDate:h}=Ja(e,c),g,_=ri(ni(e)),v=y(null),b=y(be()),x=y(m()),S=n(()=>be()),C=n(()=>m()),w=n(()=>h()),E=y(Se(b.value,x.value)),D=y(e.defaultView),O=n(()=>c.lang.rtl===!0?`right`:`left`),k=y(O.value),A=y(O.value),j=E.value.year,M=y(j-j%20-(j<0?20:0)),N=y(null),P=n(()=>{let t=e.landscape===!0?`landscape`:`portrait`;return`q-date q-date--${t} q-date--${t}-${e.minimal===!0?`minimal`:`standard`}`+(u.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`:``)}),F=n(()=>e.color||`primary`),I=n(()=>e.textColor||`white`),L=n(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),R=n(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),z=n(()=>R.value.filter(e=>typeof e==`string`).map(e=>xe(e,b.value,x.value)).filter(e=>e.dateHash!==null&&e.day!==null&&e.month!==null&&e.year!==null)),B=n(()=>{let e=e=>xe(e,b.value,x.value);return R.value.filter(e=>Me(e)===!0&&e.from!==void 0&&e.to!==void 0).map(t=>({from:e(t.from),to:e(t.to)})).filter(e=>e.from.dateHash!==null&&e.to.dateHash!==null&&e.from.dateHash<e.to.dateHash)}),V=n(()=>e.calendar===`persian`?e=>{let t=Na(e.year,e.month,e.day);return new Date(t.gy,t.gm-1,t.gd)}:e=>new Date(e.year,e.month-1,e.day)),H=n(()=>e.calendar===`persian`?qa:(e,t,n)=>Po(new Date(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),t===void 0?b.value:t,n===void 0?x.value:n,e.year,e.timezoneOffset)),ee=n(()=>z.value.length+B.value.reduce((e,t)=>e+1+Eo(V.value(t.to),V.value(t.from)),0)),U=n(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(N.value!==null){let e=N.value.init,t=V.value(e);return x.value.daysShort[t.getDay()]+`, `+x.value.monthsShort[e.month-1]+` `+e.day+Bo+`?`}if(ee.value===0)return Bo;if(ee.value>1)return`${ee.value} ${x.value.pluralDay}`;let t=z.value[0],n=V.value(t);return isNaN(n.valueOf())===!0?Bo:x.value.headerTitle===void 0?x.value.daysShort[n.getDay()]+`, `+x.value.monthsShort[t.month-1]+` `+t.day:x.value.headerTitle(n,t)}),W=n(()=>z.value.concat(B.value.map(e=>e.from)).sort((e,t)=>e.year-t.year||e.month-t.month)[0]),G=n(()=>z.value.concat(B.value.map(e=>e.to)).sort((e,t)=>t.year-e.year||t.month-e.month)[0]),te=n(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(ee.value===0)return Bo;if(ee.value>1){let e=W.value,t=G.value,n=x.value.monthsShort;return n[e.month-1]+(e.year===t.year?e.month===t.month?``:Bo+n[t.month-1]:` `+e.year+Bo+n[t.month-1]+` `)+` `+t.year}return z.value[0].year}),K=n(()=>{let e=[c.iconSet.datetime.arrowLeft,c.iconSet.datetime.arrowRight];return c.lang.rtl===!0?e.reverse():e}),q=n(()=>e.firstDayOfWeek===void 0?x.value.firstDayOfWeek:Number(e.firstDayOfWeek)),J=n(()=>{let e=x.value.daysShort,t=q.value;return t>0?e.slice(t,7).concat(e.slice(0,t)):e}),Y=n(()=>{let t=E.value;return e.calendar===`persian`?Fa(t.year,t.month):new Date(t.year,t.month,0).getDate()}),ne=n(()=>typeof e.eventColor==`function`?e.eventColor:()=>e.eventColor),re=n(()=>{if(e.navigationMinYearMonth===void 0)return null;let t=e.navigationMinYearMonth.split(`/`);return{year:parseInt(t[0],10),month:parseInt(t[1],10)}}),ie=n(()=>{if(e.navigationMaxYearMonth===void 0)return null;let t=e.navigationMaxYearMonth.split(`/`);return{year:parseInt(t[0],10),month:parseInt(t[1],10)}}),ae=n(()=>{let e={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return re.value!==null&&re.value.year>=E.value.year&&(e.year.prev=!1,re.value.year===E.value.year&&re.value.month>=E.value.month&&(e.month.prev=!1)),ie.value!==null&&ie.value.year<=E.value.year&&(e.year.next=!1,ie.value.year===E.value.year&&ie.value.month<=E.value.month&&(e.month.next=!1)),e}),oe=n(()=>{let e={};return z.value.forEach(t=>{let n=Vo(t);e[n]===void 0&&(e[n]=[]),e[n].push(t.day)}),e}),se=n(()=>{let e={};return B.value.forEach(t=>{let n=Vo(t.from),r=Vo(t.to);if(e[n]===void 0&&(e[n]=[]),e[n].push({from:t.from.day,to:n===r?t.to.day:void 0,range:t}),n<r){let n,{year:i,month:a}=t.from,o=a<12?{year:i,month:a+1}:{year:i+1,month:1};for(;(n=Vo(o))<=r;)e[n]===void 0&&(e[n]=[]),e[n].push({from:void 0,to:n===r?t.to.day:void 0,range:t}),o.month++,o.month>12&&(o.year++,o.month=1)}}),e}),ce=n(()=>{if(N.value===null)return;let{init:e,initHash:t,final:n,finalHash:r}=N.value,[i,a]=t<=r?[e,n]:[n,e],o=Vo(i),s=Vo(a);if(o!==X.value&&s!==X.value)return;let c={};return o===X.value?(c.from=i.day,c.includeFrom=!0):c.from=1,s===X.value?(c.to=a.day,c.includeTo=!0):c.to=Y.value,c}),X=n(()=>Vo(E.value)),le=n(()=>{let t={};if(e.options===void 0){for(let e=1;e<=Y.value;e++)t[e]=!0;return t}let n=typeof e.options==`function`?e.options:t=>e.options.includes(t);for(let e=1;e<=Y.value;e++)t[e]=n(X.value+`/`+Q(e));return t}),ue=n(()=>{let t={};if(e.events===void 0)for(let e=1;e<=Y.value;e++)t[e]=!1;else{let n=typeof e.events==`function`?e.events:t=>e.events.includes(t);for(let e=1;e<=Y.value;e++){let r=X.value+`/`+Q(e);t[e]=n(r)===!0&&ne.value(r)}}return t}),de=n(()=>{let t,n,{year:r,month:i}=E.value;if(e.calendar!==`persian`)t=new Date(r,i-1,1),n=new Date(r,i-1,0).getDate();else{let e=Na(r,i,1);t=new Date(e.gy,e.gm-1,e.gd);let a=i-1,o=r;a===0&&(a=12,o--),n=Fa(o,a)}return{days:t.getDay()-q.value-1,endDay:n}}),fe=n(()=>{let e=[],{days:t,endDay:n}=de.value,r=t<0?t+7:t;if(r<6)for(let t=n-r;t<=n;t++)e.push({i:t,fill:!0});let i=e.length;for(let t=1;t<=Y.value;t++){let n={i:t,event:ue.value[t],classes:[]};le.value[t]===!0&&(n.in=!0,n.flat=!0),e.push(n)}if(oe.value[X.value]!==void 0&&oe.value[X.value].forEach(t=>{let n=i+t-1;Object.assign(e[n],{selected:!0,unelevated:!0,flat:!1,color:F.value,textColor:I.value})}),se.value[X.value]!==void 0&&se.value[X.value].forEach(t=>{if(t.from!==void 0){let n=i+t.from-1,r=i+(t.to||Y.value)-1;for(let i=n;i<=r;i++)Object.assign(e[i],{range:t.range,unelevated:!0,color:F.value,textColor:I.value});Object.assign(e[n],{rangeFrom:!0,flat:!1}),t.to!==void 0&&Object.assign(e[r],{rangeTo:!0,flat:!1})}else if(t.to!==void 0){let n=i+t.to-1;for(let r=i;r<=n;r++)Object.assign(e[r],{range:t.range,unelevated:!0,color:F.value,textColor:I.value});Object.assign(e[n],{flat:!1,rangeTo:!0})}else{let n=i+Y.value-1;for(let r=i;r<=n;r++)Object.assign(e[r],{range:t.range,unelevated:!0,color:F.value,textColor:I.value})}}),ce.value!==void 0){let t=i+ce.value.from-1,n=i+ce.value.to-1;for(let r=t;r<=n;r++)e[r].color=F.value,e[r].editRange=!0;ce.value.includeFrom===!0&&(e[t].editRangeFrom=!0),ce.value.includeTo===!0&&(e[n].editRangeTo=!0)}E.value.year===w.value.year&&E.value.month===w.value.month&&(e[i+w.value.day-1].today=!0);let a=e.length%7;if(a>0){let t=7-a;for(let n=1;n<=t;n++)e.push({i:n,fill:!0})}return e.forEach(e=>{let t=`q-date__calendar-item `;e.fill===!0?t+=`q-date__calendar-item--fill`:(t+=`q-date__calendar-item--${e.in===!0?`in`:`out`}`,e.range!==void 0&&(t+=` q-date__range${e.rangeTo===!0?`-to`:e.rangeFrom===!0?`-from`:``}`),e.editRange===!0&&(t+=` q-date__edit-range${e.editRangeFrom===!0?`-from`:``}${e.editRangeTo===!0?`-to`:``}`),(e.range!==void 0||e.editRange===!0)&&(t+=` text-${e.color}`)),e.classes=t}),e}),pe=n(()=>e.disable===!0?{"aria-disabled":`true`}:{});T(()=>e.modelValue,e=>{if(g===JSON.stringify(e))g=0;else{let e=Se(b.value,x.value);Ae(e.year,e.month,e)}}),T(D,()=>{v.value!==null&&s.$el.contains(document.activeElement)===!0&&v.value.focus()}),T(()=>E.value.year+`|`+E.value.month,()=>{o(`navigation`,{year:E.value.year,month:E.value.month})}),T(S,e=>{Le(e,x.value,`mask`),b.value=e}),T(C,e=>{Le(b.value,e,`locale`),x.value=e});function me(e){g=JSON.stringify(e)}function he(){let{year:e,month:t,day:n}=w.value,r={...E.value,year:e,month:t,day:n},i=oe.value[Vo(r)];(i===void 0||i.includes(r.day)===!1)&&Fe(r),ve(r.year,r.month)}function ge(e){Ro(e)===!0&&(D.value=e)}function _e(e,t){[`month`,`year`].includes(e)&&(e===`month`?we:Te)(t===!0?-1:1)}function ve(e,t){D.value=`Calendar`,Ae(e,t)}function ye(t,n){if(e.range===!1||!t){N.value=null;return}let r=Object.assign({...E.value},t),i=n===void 0?r:Object.assign({...E.value},n);N.value={init:r,initHash:qa(r),final:i,finalHash:qa(i)},ve(r.year,r.month)}function be(){return e.calendar===`persian`?`YYYY/MM/DD`:e.mask}function xe(t,n,r){return uo(t,n,r,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function Se(t,n){let r=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(r.length===0)return Ce();let i=r[r.length-1],a=xe(i.from===void 0?i:i.from,t,n);return a.dateHash===null?Ce():a}function Ce(){let t,n;if(e.defaultYearMonth!==void 0){let r=e.defaultYearMonth.split(`/`);t=parseInt(r[0],10),n=parseInt(r[1],10)}else{let e=w.value===void 0?h():w.value;t=e.year,n=e.month}return{year:t,month:n,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:t+`/`+Q(n)+`/01`}}function we(e){let t=E.value.year,n=Number(E.value.month)+e;n===13?(n=1,t++):n===0&&(n=12,t--),Ae(t,n),L.value===!0&&je(`month`)}function Te(e){Ae(Number(E.value.year)+e,E.value.month),L.value===!0&&je(`year`)}function Ee(t){Ae(t,E.value.month),D.value=e.defaultView===`Years`?`Months`:`Calendar`,L.value===!0&&je(`year`)}function De(e){Ae(E.value.year,e),D.value=`Calendar`,L.value===!0&&je(`month`)}function Oe(e,t){(oe.value[t]?.includes(e.day)===!0?Ie:Fe)(e)}function ke(e){return{year:e.year,month:e.month,day:e.day}}function Ae(e,t,n){if(re.value!==null&&e<=re.value.year&&((t<re.value.month||e<re.value.year)&&(t=re.value.month),e=re.value.year),ie.value!==null&&e>=ie.value.year&&((t>ie.value.month||e>ie.value.year)&&(t=ie.value.month),e=ie.value.year),n!==void 0){let{hour:e,minute:t,second:r,millisecond:i,timezoneOffset:a,timeHash:o}=n;Object.assign(E.value,{hour:e,minute:t,second:r,millisecond:i,timezoneOffset:a,timeHash:o})}let r=e+`/`+Q(t)+`/01`;r!==E.value.dateHash&&(k.value=E.value.dateHash<r==(c.lang.rtl!==!0)?`left`:`right`,e!==E.value.year&&(A.value=k.value),l(()=>{M.value=e-e%20-(e<0?20:0),Object.assign(E.value,{year:e,month:t,day:1,dateHash:r})}))}function Z(t,n,r){let i=t!==null&&t.length===1&&e.multiple===!1?t[0]:t,{reason:a,details:s}=Ne(n,r);me(i),o(`update:modelValue`,i,a,s)}function je(t){let n=z.value[0]!==void 0&&z.value[0].dateHash!==null?{...z.value[0]}:{...E.value};l(()=>{n.year=E.value.year,n.month=E.value.month;let r=e.calendar===`persian`?Fa(n.year,n.month):new Date(n.year,n.month,0).getDate();n.day=Math.min(Math.max(1,n.day),r);let i=Pe(n),{details:a}=Ne(``,n);me(i),o(`update:modelValue`,i,t,a)})}function Ne(e,t){return t.from===void 0?{reason:`${e}-day`,details:ke(t)}:{reason:`${e}-range`,details:{...ke(t.target),from:ke(t.from),to:ke(t.to)}}}function Pe(e,t,n){return e.from===void 0?H.value(e,t,n):{from:H.value(e.from,t,n),to:H.value(e.to,t,n)}}function Fe(t){let n;if(e.multiple===!0)if(t.from!==void 0){let e=qa(t.from),r=qa(t.to),i=z.value.filter(t=>t.dateHash<e||t.dateHash>r),a=B.value.filter(({from:t,to:n})=>n.dateHash<e||t.dateHash>r);n=i.concat(a).concat(t).map(e=>Pe(e))}else{let e=R.value.slice();e.push(Pe(t)),n=e}else n=Pe(t);Z(n,`add`,t)}function Ie(t){if(e.noUnset===!0)return;let n=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){let r=Pe(t);n=t.from===void 0?e.modelValue.filter(e=>e!==r):e.modelValue.filter(e=>e.from===void 0?!0:e.from!==r.from&&e.to!==r.to),n.length===0&&(n=null)}Z(n,`remove`,t)}function Le(t,n,r){let i=z.value.concat(B.value).map(e=>Pe(e,t,n)).filter(e=>e.from===void 0?e.dateHash!==null:e.from.dateHash!==null&&e.to.dateHash!==null),a=(e.multiple===!0?i:i[0])||null;me(a),o(`update:modelValue`,a,r)}function Re(){if(e.minimal!==!0)return a(`div`,{class:`q-date__header `+p.value},[a(`div`,{class:`relative-position`},[a(t,{name:`q-transition--fade`},()=>a(`div`,{key:`h-yr-`+te.value,class:`q-date__header-subtitle q-date__header-link `+(D.value===`Years`?`q-date__header-link--active`:`cursor-pointer`),tabindex:f.value,...d(`vY`,{onClick(){D.value=`Years`},onKeyup(e){e.keyCode===13&&(D.value=`Years`)}})},[te.value]))]),a(`div`,{class:`q-date__header-title relative-position flex no-wrap`},[a(`div`,{class:`relative-position col`},[a(t,{name:`q-transition--fade`},()=>a(`div`,{key:`h-sub`+U.value,class:`q-date__header-title-label q-date__header-link `+(D.value===`Calendar`?`q-date__header-link--active`:`cursor-pointer`),tabindex:f.value,...d(`vC`,{onClick(){D.value=`Calendar`},onKeyup(e){e.keyCode===13&&(D.value=`Calendar`)}})},[U.value]))]),e.todayBtn===!0?a(On,{class:`q-date__header-today self-start`,icon:c.iconSet.datetime.today,"aria-label":c.lang.date.today,flat:!0,size:`sm`,round:!0,tabindex:f.value,onClick:he}):null])])}function ze({label:e,type:n,key:r,dir:i,goTo:o,boundaries:s,cls:l}){return[a(`div`,{class:`row items-center q-date__arrow`},[a(On,{round:!0,dense:!0,size:`sm`,flat:!0,icon:K.value[0],"aria-label":n===`Years`?c.lang.date.prevYear:c.lang.date.prevMonth,tabindex:f.value,disable:s.prev===!1,...d(`go-#`+n,{onClick(){o(-1)}})})]),a(`div`,{class:`relative-position overflow-hidden flex flex-center`+l},[a(t,{name:`q-transition--jump-`+i},()=>a(`div`,{key:r},[a(On,{flat:!0,dense:!0,noCaps:!0,label:e,tabindex:f.value,...d(`view#`+n,{onClick:()=>{D.value=n}})})]))]),a(`div`,{class:`row items-center q-date__arrow`},[a(On,{round:!0,dense:!0,size:`sm`,flat:!0,icon:K.value[1],"aria-label":n===`Years`?c.lang.date.nextYear:c.lang.date.nextMonth,tabindex:f.value,disable:s.next===!1,...d(`go+#`+n,{onClick(){o(1)}})})])]}let Be={Calendar:()=>[a(`div`,{key:`calendar-view`,class:`q-date__view q-date__calendar`},[a(`div`,{class:`q-date__navigation row items-center no-wrap`},ze({label:x.value.months[E.value.month-1],type:`Months`,key:E.value.month,dir:k.value,goTo:we,boundaries:ae.value.month,cls:` col`}).concat(ze({label:E.value.year,type:`Years`,key:E.value.year,dir:A.value,goTo:Te,boundaries:ae.value.year,cls:``}))),a(`div`,{class:`q-date__calendar-weekdays row items-center no-wrap`},J.value.map(e=>a(`div`,{class:`q-date__calendar-item`},[a(`div`,e)]))),a(`div`,{class:`q-date__calendar-days-container relative-position overflow-hidden`},[a(t,{name:`q-transition--slide-`+k.value},()=>a(`div`,{key:X.value,class:`q-date__calendar-days fit`},fe.value.map(e=>a(`div`,{class:e.classes},[e.in===!0?a(On,{class:e.today===!0?`q-date__today`:``,dense:!0,flat:e.flat,unelevated:e.unelevated,color:e.color,textColor:e.textColor,label:e.i,tabindex:f.value,...d(`day#`+e.i,{onClick:()=>{Ve(e.i)},onMouseover:()=>{He(e.i)}})},e.event===!1?null:()=>a(`div`,{class:`q-date__event bg-`+e.event})):a(`div`,String(e.i))]))))])])],Months(){let t=E.value.year===w.value.year,n=e=>re.value!==null&&E.value.year===re.value.year&&re.value.month>e||ie.value!==null&&E.value.year===ie.value.year&&ie.value.month<e,r=x.value.monthsShort.map((e,r)=>{let i=E.value.month===r+1;return a(`div`,{class:`q-date__months-item flex flex-center`},[a(On,{class:t===!0&&w.value.month===r+1?`q-date__today`:null,flat:i!==!0,label:e,unelevated:i,color:i===!0?F.value:null,textColor:i===!0?I.value:null,tabindex:f.value,disable:n(r+1),...d(`month#`+r,{onClick:()=>{De(r+1)}})})])});return e.yearsInMonthView===!0&&r.unshift(a(`div`,{class:`row no-wrap full-width`},[ze({label:E.value.year,type:`Years`,key:E.value.year,dir:A.value,goTo:Te,boundaries:ae.value.year,cls:` col`})])),a(`div`,{key:`months-view`,class:`q-date__view q-date__months flex flex-center`},r)},Years(){let e=M.value,t=e+20,n=[],r=e=>re.value!==null&&re.value.year>e||ie.value!==null&&ie.value.year<e;for(let i=e;i<=t;i++){let e=E.value.year===i;n.push(a(`div`,{class:`q-date__years-item flex flex-center`},[a(On,{key:`yr`+i,class:w.value.year===i?`q-date__today`:null,flat:!e,label:i,dense:!0,unelevated:e,color:e===!0?F.value:null,textColor:e===!0?I.value:null,tabindex:f.value,disable:r(i),...d(`yr#`+i,{onClick:()=>{Ee(i)}})})]))}return a(`div`,{class:`q-date__view q-date__years flex flex-center`},[a(`div`,{class:`col-auto`},[a(On,{round:!0,dense:!0,flat:!0,icon:K.value[0],"aria-label":c.lang.date.prevRangeYears(20),tabindex:f.value,disable:r(e),...d(`y-`,{onClick:()=>{M.value-=20}})})]),a(`div`,{class:`q-date__years-content col self-stretch row items-center`},n),a(`div`,{class:`col-auto`},[a(On,{round:!0,dense:!0,flat:!0,icon:K.value[1],"aria-label":c.lang.date.nextRangeYears(20),tabindex:f.value,disable:r(t),...d(`y+`,{onClick:()=>{M.value+=20}})})])])}};function Ve(t){let n={...E.value,day:t};if(e.range===!1){Oe(n,X.value);return}if(N.value===null){let r=fe.value.find(e=>e.fill!==!0&&e.i===t);if(e.noUnset!==!0&&r.range!==void 0){Ie({target:n,from:r.range.from,to:r.range.to});return}if(r.selected===!0){Ie(n);return}let i=qa(n);N.value={init:n,initHash:i,final:n,finalHash:i},o(`rangeStart`,ke(n))}else{let e=N.value.initHash,t=qa(n),r=e<=t?{from:N.value.init,to:n}:{from:n,to:N.value.init};N.value=null,Fe(e===t?n:{target:n,...r}),o(`rangeEnd`,{from:ke(r.from),to:ke(r.to)})}}function He(e){if(N.value!==null){let t={...E.value,day:e};Object.assign(N.value,{final:t,finalHash:qa(t)})}}return Object.assign(s,{setToday:he,setView:ge,offsetCalendar:_e,setCalendarTo:ve,setEditingRange:ye}),()=>{let n=[a(`div`,{class:`q-date__content col relative-position`},[a(t,{name:`q-transition--fade`},Be[D.value])])],i=$(r.default);return i!==void 0&&n.push(a(`div`,{class:`q-date__actions`},i)),e.name!==void 0&&e.disable!==!0&&_(n,`push`),a(`div`,{class:P.value,...pe.value},[Re(),a(`div`,{ref:v,class:`q-date__main col column`,tabindex:-1},n)])}}});function Uo(e,t,n){let r;function i(){r!==void 0&&(ve.remove(r),r=void 0)}return f(()=>{e.value===!0&&i()}),{removeFromHistory:i,addToHistory(){r={condition:()=>n.value===!0,handler:t},ve.add(r)}}}let Wo=0,Go,Ko,qo,Jo=!1,Yo,Xo,Zo,Qo=null;function $o(e){es(e)&&J(e)}function es(e){if(e.target===document.body||e.target.classList.contains(`q-layout__backdrop`))return!0;let t=G(e),n=e.shiftKey&&!e.deltaX,r=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=n||r?e.deltaY:e.deltaX;for(let e=0;e<t.length;e++){let n=t[e];if(ur(n,r))return r?i<0&&n.scrollTop===0?!0:i>0&&n.scrollTop+n.clientHeight===n.scrollHeight:i<0&&n.scrollLeft===0?!0:i>0&&n.scrollLeft+n.clientWidth===n.scrollWidth}return!0}function ts(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function ns(e){Jo!==!0&&(Jo=!0,requestAnimationFrame(()=>{Jo=!1;let{height:t}=e.target,{clientHeight:n,scrollTop:r}=document.scrollingElement;(qo===void 0||t!==window.innerHeight)&&(qo=n-t,document.scrollingElement.scrollTop=r),r>qo&&(document.scrollingElement.scrollTop-=Math.ceil((r-qo)/8))}))}function rs(e){let t=document.body,n=window.visualViewport!==void 0;if(e===`add`){let{overflowY:e,overflowX:r}=window.getComputedStyle(t);Go=tr(window),Ko=er(window),Yo=t.style.left,Xo=t.style.top,Zo=window.location.href,t.style.left=`-${Go}px`,t.style.top=`-${Ko}px`,r!==`hidden`&&(r===`scroll`||t.scrollWidth>window.innerWidth)&&t.classList.add(`q-body--force-scrollbar-x`),e!==`hidden`&&(e===`scroll`||t.scrollHeight>window.innerHeight)&&t.classList.add(`q-body--force-scrollbar-y`),t.classList.add(`q-body--prevent-scroll`),document.qScrollPrevented=!0,F.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener(`resize`,ns,B.passiveCapture),window.visualViewport.addEventListener(`scroll`,ns,B.passiveCapture),window.scrollTo(0,0)):window.addEventListener(`scroll`,ts,B.passiveCapture))}F.is.desktop===!0&&F.is.mac===!0&&window[`${e}EventListener`](`wheel`,$o,B.notPassive),e===`remove`&&(F.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener(`resize`,ns,B.passiveCapture),window.visualViewport.removeEventListener(`scroll`,ns,B.passiveCapture)):window.removeEventListener(`scroll`,ts,B.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=Yo,t.style.top=Xo,window.location.href===Zo&&window.scrollTo(Go,Ko),qo=void 0)}function is(e){let t=`add`;if(e===!0){if(Wo++,Qo!==null){clearTimeout(Qo),Qo=null;return}if(Wo>1)return}else{if(Wo===0||(Wo--,Wo>0))return;if(t=`remove`,F.is.ios===!0&&F.is.nativeMobile===!0){Qo!==null&&clearTimeout(Qo),Qo=setTimeout(()=>{rs(t),Qo=null},100);return}}rs(t)}function as(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,is(t))}}}let os=0;const ss={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`},cs={standard:[`scale`,`scale`],top:[`slide-down`,`slide-up`],bottom:[`slide-up`,`slide-down`],right:[`slide-left`,`slide-right`],left:[`slide-right`,`slide-left`]};var ls=L({name:`QDialog`,inheritAttrs:!1,props:{...Fn,...Gn,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:[...In,`shake`,`click`,`escapeKey`],setup(e,{slots:r,emit:o,attrs:s}){let c=i(),l=y(null),u=y(!1),d=y(!1),p=null,m=null,h,g,_=n(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:v}=as(),{registerTimeout:b}=Jn(),{registerTick:x,removeTick:S}=qn(),{transitionProps:C,transitionStyle:w}=Kn(e,()=>cs[e.position][0],()=>cs[e.position][1]),E=n(()=>w.value+(e.backdropFilter===void 0?``:`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`)),{showPortal:D,hidePortal:O,portalIsAccessible:k,renderPortal:A}=Wn(c,l,K,`dialog`),{hide:j}=Ln({showing:u,hideOnRouteChange:_,handleShow:R,handleHide:z,processOnMount:!0}),{addToHistory:M,removeFromHistory:N}=Uo(u,j,_),P=n(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?`maximized`:`minimized`} q-dialog__inner--${e.position} ${ss[e.position]}`+(d.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`:``)),F=n(()=>u.value===!0&&e.seamless!==!0),I=n(()=>e.autoClose===!0?{onClick:W}:{}),L=n(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${F.value===!0?`modal`:`seamless`}`,s.class]);T(()=>e.maximized,e=>{u.value===!0&&U(e)}),T(F,e=>{v(e),e===!0?(Sr(te),vr(H)):(Cr(te),yr(H))});function R(t){M(),m=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,U(e.maximized),D(),d.value=!0,e.noFocus===!0?S():(document.activeElement?.blur(),x(B)),b(()=>{if(c.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){let{top:e,bottom:t}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,r=window.visualViewport===void 0?n:window.visualViewport.height;e>0&&t>r/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-r,t>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+t-r/2))),document.activeElement.scrollIntoView()}g=!0,l.value.click(),g=!1}D(!0),d.value=!1,o(`show`,t)},e.transitionDuration)}function z(t){S(),N(),ee(!0),d.value=!0,O(),m!==null&&(((t?.type.indexOf(`key`)===0?m.closest(`[tabindex]:not([tabindex^="-"])`):void 0)||m).focus(),m=null),b(()=>{O(!0),d.value=!1,o(`hide`,t)},e.transitionDuration)}function B(e){Bn(()=>{let t=l.value;if(t!==null){if(e!==void 0){let n=t.querySelector(e);if(n!==null){n.focus({preventScroll:!0});return}}t.contains(document.activeElement)!==!0&&(t=t.querySelector(`[autofocus][tabindex], [data-autofocus][tabindex]`)||t.querySelector(`[autofocus] [tabindex], [data-autofocus] [tabindex]`)||t.querySelector(`[autofocus], [data-autofocus]`)||t,t.focus({preventScroll:!0}))}})}function V(e){e&&typeof e.focus==`function`?e.focus({preventScroll:!0}):B(),o(`shake`);let t=l.value;t!==null&&(t.classList.remove(`q-animate--scale`),t.classList.add(`q-animate--scale`),p!==null&&clearTimeout(p),p=setTimeout(()=>{p=null,l.value!==null&&(t.classList.remove(`q-animate--scale`),B())},170))}function H(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&V():(o(`escapeKey`),j()))}function ee(t){p!==null&&(clearTimeout(p),p=null),(t===!0||u.value===!0)&&(U(!1),e.seamless!==!0&&(v(!1),Cr(te),yr(H))),t!==!0&&(m=null)}function U(e){e===!0?h!==!0&&(os<1&&document.body.classList.add(`q-body--dialog`),os++,h=!0):h===!0&&(os<2&&document.body.classList.remove(`q-body--dialog`),os--,h=!1)}function W(e){g!==!0&&(j(e),o(`click`,e))}function G(t){e.persistent!==!0&&e.noBackdropDismiss!==!0?j(t):e.noShake!==!0&&V()}function te(t){e.allowFocusOutside!==!0&&k.value===!0&&ln(l.value,t.target)!==!0&&B(`[tabindex]:not([tabindex="-1"])`)}Object.assign(c.proxy,{focus:B,shake:V,__updateRefocusTarget(e){m=e||null}}),f(ee);function K(){return a(`div`,{role:`dialog`,"aria-modal":F.value===!0?`true`:`false`,...s,class:L.value},[a(t,{name:`q-transition--fade`,appear:!0},()=>F.value===!0?a(`div`,{class:`q-dialog__backdrop fixed-full`,style:E.value,"aria-hidden":`true`,tabindex:-1,onClick:G}):null),a(t,C.value,()=>u.value===!0?a(`div`,{ref:l,class:P.value,style:w.value,tabindex:-1,...I.value},$(r.default)):null)])}return A}}),us=L({name:`QDrawer`,inheritAttrs:!1,props:{...Fn,...Et,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:[...In,`onLayout`,`miniState`],setup(e,{slots:t,emit:r,attrs:s}){let c=i(),{proxy:{$q:u}}=c,d=Dt(e,u),{preventBodyScroll:p}=as(),{registerTimeout:m,removeTimeout:g}=Jn(),_=o(Ee,Z);if(_===Z)return console.error(`QDrawer needs to be child of QLayout`),Z;let v,b=null,x,S=y(e.behavior===`mobile`||e.behavior!==`desktop`&&_.totalWidth.value<=e.breakpoint),C=n(()=>e.mini===!0&&S.value!==!0),w=n(()=>C.value===!0?e.miniWidth:e.width),D=y(e.showIfAbove===!0&&S.value===!1?!0:e.modelValue===!0),O=n(()=>e.persistent!==!0&&(S.value===!0||G.value===!0));function k(e,t){if(N(),e!==!1&&_.animate(),X(0),S.value===!0){let e=_.instances[H.value];e?.belowBreakpoint===!0&&e.hide(!1),le(1),_.isContainer.value!==!0&&p(!0)}else le(0),e!==!1&&ue(!1);m(()=>{e!==!1&&ue(!0),t!==!0&&r(`show`,e)},150)}function A(e,t){P(),e!==!1&&_.animate(),le(0),X(L.value*w.value),me(),t===!0?g():m(()=>{r(`hide`,e)},150)}let{show:j,hide:M}=Ln({showing:D,hideOnRouteChange:O,handleShow:k,handleHide:A}),{addToHistory:N,removeFromHistory:P}=Uo(D,M,O),F={belowBreakpoint:S,hide:M},I=n(()=>e.side===`right`),L=n(()=>(u.lang.rtl===!0?-1:1)*(I.value===!0?1:-1)),R=y(0),z=y(!1),B=y(!1),V=y(w.value*L.value),H=n(()=>I.value===!0?`left`:`right`),ee=n(()=>D.value===!0&&S.value===!1&&e.overlay===!1?e.miniToOverlay===!0?e.miniWidth:w.value:0),U=n(()=>e.overlay===!0||e.miniToOverlay===!0||_.view.value.indexOf(I.value?`R`:`L`)!==-1||u.platform.is.ios===!0&&_.isContainer.value===!0),W=n(()=>e.overlay===!1&&D.value===!0&&S.value===!1),G=n(()=>e.overlay===!0&&D.value===!0&&S.value===!1),te=n(()=>`fullscreen q-drawer__backdrop`+(D.value===!1&&z.value===!1?` hidden`:``)),K=n(()=>({backgroundColor:`rgba(0,0,0,${R.value*.4})`})),q=n(()=>I.value===!0?_.rows.value.top[2]===`r`:_.rows.value.top[0]===`l`),J=n(()=>I.value===!0?_.rows.value.bottom[2]===`r`:_.rows.value.bottom[0]===`l`),Y=n(()=>{let e={};return _.header.space===!0&&q.value===!1&&(U.value===!0?e.top=`${_.header.offset}px`:_.header.space===!0&&(e.top=`${_.header.size}px`)),_.footer.space===!0&&J.value===!1&&(U.value===!0?e.bottom=`${_.footer.offset}px`:_.footer.space===!0&&(e.bottom=`${_.footer.size}px`)),e}),ne=n(()=>{let e={width:`${w.value}px`,transform:`translateX(${V.value}px)`};return S.value===!0?e:Object.assign(e,Y.value)}),re=n(()=>`q-drawer__content fit `+(_.isContainer.value===!0?`overflow-auto`:`scroll`)),ie=n(()=>`q-drawer q-drawer--${e.side}`+(B.value===!0?` q-drawer--mini-animate`:``)+(e.bordered===!0?` q-drawer--bordered`:``)+(d.value===!0?` q-drawer--dark q-dark`:``)+(z.value===!0?` no-transition`:D.value===!0?``:` q-layout--prevent-focus`)+(S.value===!0?` fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding`:` q-drawer--${C.value===!0?`mini`:`standard`}`+(U.value===!0||W.value!==!0?` fixed`:``)+(e.overlay===!0||e.miniToOverlay===!0?` q-drawer--on-top`:``)+(q.value===!0?` q-drawer--top-padding`:``))),ae=n(()=>[[Bi,fe,void 0,{[u.lang.rtl===!0?e.side:H.value]:!0,mouse:!0}]]),oe=n(()=>[[Bi,pe,void 0,{[u.lang.rtl===!0?H.value:e.side]:!0,mouse:!0}]]),se=n(()=>[[Bi,pe,void 0,{[u.lang.rtl===!0?H.value:e.side]:!0,mouse:!0,mouseAllDir:!0}]]);function ce(){ge(S,e.behavior===`mobile`||e.behavior!==`desktop`&&_.totalWidth.value<=e.breakpoint)}T(S,t=>{t===!0?(v=D.value,D.value===!0&&M(!1)):e.overlay===!1&&e.behavior!==`mobile`&&v!==!1&&(D.value===!0?(X(0),le(0),me()):j(!1))}),T(()=>e.side,(e,t)=>{_.instances[t]===F&&(_.instances[t]=void 0,_[t].space=!1,_[t].offset=0),_.instances[e]=F,_[e].size=w.value,_[e].space=W.value,_[e].offset=ee.value}),T(_.totalWidth,()=>{(_.isContainer.value===!0||document.qScrollPrevented!==!0)&&ce()}),T(()=>e.behavior+e.breakpoint,ce),T(_.isContainer,e=>{D.value===!0&&p(e!==!0),e===!0&&ce()}),T(_.scrollbarWidth,()=>{X(D.value===!0?0:void 0)}),T(ee,e=>{he(`offset`,e)}),T(W,e=>{r(`onLayout`,e),he(`space`,e)}),T(I,()=>{X()}),T(w,t=>{X(),_e(e.miniToOverlay,t)}),T(()=>e.miniToOverlay,e=>{_e(e,w.value)}),T(()=>u.lang.rtl,()=>{X()}),T(()=>e.mini,()=>{e.noMiniAnimation||e.modelValue===!0&&(de(),_.animate())}),T(C,e=>{r(`miniState`,e)});function X(e){e===void 0?l(()=>{e=D.value===!0?0:w.value,X(L.value*e)}):(_.isContainer.value===!0&&I.value===!0&&(S.value===!0||Math.abs(e)===w.value)&&(e+=L.value*_.scrollbarWidth.value),V.value=e)}function le(e){R.value=e}function ue(e){let t=e===!0?`remove`:_.isContainer.value===!0?``:`add`;t!==``&&document.body.classList[t](`q-body--drawer-toggle`)}function de(){b!==null&&clearTimeout(b),c.proxy&&c.proxy.$el&&c.proxy.$el.classList.add(`q-drawer--mini-animate`),B.value=!0,b=setTimeout(()=>{b=null,B.value=!1,c?.proxy?.$el?.classList.remove(`q-drawer--mini-animate`)},150)}function fe(e){if(D.value!==!1)return;let t=w.value,n=We(e.distance.x,0,t);if(e.isFinal===!0){n>=Math.min(75,t)?j():(_.animate(),le(0),X(L.value*t)),z.value=!1;return}X((u.lang.rtl===!0?I.value!==!0:I.value)?Math.max(t-n,0):Math.min(0,n-t)),le(We(n/t,0,1)),e.isFirst===!0&&(z.value=!0)}function pe(t){if(D.value!==!0)return;let n=w.value,r=t.direction===e.side,i=(u.lang.rtl===!0?r!==!0:r)?We(t.distance.x,0,n):0;if(t.isFinal===!0){Math.abs(i)<Math.min(75,n)?(_.animate(),le(1),X(0)):M(),z.value=!1;return}X(L.value*i),le(We(1-i/n,0,1)),t.isFirst===!0&&(z.value=!0)}function me(){p(!1),ue(!0)}function he(t,n){_.update(e.side,t,n)}function ge(e,t){e.value!==t&&(e.value=t)}function _e(t,n){he(`size`,t===!0?e.miniWidth:n)}return _.instances[e.side]=F,_e(e.miniToOverlay,w.value),he(`space`,W.value),he(`offset`,ee.value),e.showIfAbove===!0&&e.modelValue!==!0&&D.value===!0&&e[`onUpdate:modelValue`]!==void 0&&r(`update:modelValue`,!0),h(()=>{r(`onLayout`,W.value),r(`miniState`,C.value),v=e.showIfAbove===!0;let t=()=>{(D.value===!0?k:A)(!1,!0)};if(_.totalWidth.value!==0){l(t);return}x=T(_.totalWidth,()=>{x(),x=void 0,D.value===!1&&e.showIfAbove===!0&&S.value===!1?j(!1):t()})}),f(()=>{x?.(),b!==null&&(clearTimeout(b),b=null),D.value===!0&&me(),_.instances[e.side]===F&&(_.instances[e.side]=void 0,he(`size`,0),he(`offset`,0),he(`space`,!1))}),()=>{let n=[];S.value===!0&&(e.noSwipeOpen===!1&&n.push(E(a(`div`,{key:`open`,class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":`true`}),ae.value)),n.push(st(`div`,{ref:`backdrop`,class:te.value,style:K.value,"aria-hidden":`true`,onClick:M},void 0,`backdrop`,e.noSwipeBackdrop!==!0&&D.value===!0,()=>se.value)));let r=C.value===!0&&t.mini!==void 0,i=[a(`div`,{...s,key:String(r),class:[re.value,s.class]},r===!0?t.mini():$(t.default))];return e.elevated===!0&&D.value===!0&&i.push(a(`div`,{class:`q-layout__shadow absolute-full overflow-hidden no-pointer-events`})),n.push(st(`aside`,{ref:`content`,class:ie.value,style:ne.value},i,`contentclose`,e.noSwipeClose!==!0&&S.value===!0,()=>oe.value)),a(`div`,{class:`q-drawer-container`},n)}}});function ds(e,t){if(t&&e===t)return null;let n=e.nodeName.toLowerCase();if([`div`,`li`,`ul`,`ol`,`blockquote`].includes(n)===!0)return e;let r=(window.getComputedStyle?window.getComputedStyle(e):e.currentStyle).display;return r===`block`||r===`table`?e:ds(e.parentNode)}function fs(e,t,n){return!e||e===document.body?!1:n===!0&&e===t||(t===document?document.body:t).contains(e.parentNode)}function ps(e,t,n){if(n||(n=document.createRange(),n.selectNode(e),n.setStart(e,0)),t.count===0)n.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:(n.setEnd(e,t.count),t.count=0);else for(let r=0;t.count!==0&&r<e.childNodes.length;r++)n=ps(e.childNodes[r],t,n);return n}const ms=/^https?:\/\//;var hs=class{constructor(e,t){this.el=e,this.eVm=t,this._range=null}get selection(){if(this.el){let e=document.getSelection();if(fs(e.anchorNode,this.el,!0)&&fs(e.focusNode,this.el,!0))return e}return null}get hasSelection(){return this.selection===null?!1:this.selection.toString().length!==0}get range(){let e=this.selection;return e?.rangeCount?e.getRangeAt(0):this._range}get parent(){let e=this.range;if(e!==null){let t=e.startContainer;return t.nodeType===document.ELEMENT_NODE?t:t.parentNode}return null}get blockParent(){let e=this.parent;return e===null?null:ds(e,this.el)}save(e=this.range){e!==null&&(this._range=e)}restore(e=this._range){let t=document.createRange(),n=document.getSelection();e===null?(n.selectAllChildren(this.el),n.collapseToEnd()):(t.setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),n.removeAllRanges(),n.addRange(t))}savePosition(){let e=-1,t,n=document.getSelection(),r=this.el.parentNode;if(n.focusNode&&fs(n.focusNode,r))for(t=n.focusNode,e=n.focusOffset;t&&t!==r;)t!==this.el&&t.previousSibling?(t=t.previousSibling,e+=t.textContent.length):t=t.parentNode;this.savedPos=e}restorePosition(e=0){if(this.savedPos>0&&this.savedPos<e){let e=window.getSelection(),t=ps(this.el,{count:this.savedPos});t&&(t.collapse(!1),e.removeAllRanges(),e.addRange(t))}}hasParent(e,t){let n=t?this.parent:this.blockParent;return n===null?!1:n.nodeName.toLowerCase()===e.toLowerCase()}hasParents(e,t,n=this.parent){return n===null?!1:e.includes(n.nodeName.toLowerCase())===!0?!0:t===!0?this.hasParents(e,t,n.parentNode):!1}is(e,t){if(this.selection===null)return!1;switch(e){case`formatBlock`:return t===`DIV`&&this.parent===this.el||this.hasParent(t,t===`PRE`);case`link`:return this.hasParent(`A`,!0);case`fontSize`:return document.queryCommandValue(e)===t;case`fontName`:let n=document.queryCommandValue(e);return n===`"${t}"`||n===t;case`fullscreen`:return this.eVm.inFullscreen.value;case`viewsource`:return this.eVm.isViewingSource.value;case void 0:return!1;default:let r=document.queryCommandState(e);return t===void 0?r:r===t}}getParentAttribute(e){return this.parent===null?null:this.parent.getAttribute(e)}can(e){if(e===`outdent`)return this.hasParents([`blockquote`,`li`],!0);if(e===`indent`)return this.hasParents([`li`],!0);if(e===`link`)return this.selection!==null||this.is(`link`)}apply(e,t,n=V){if(e===`formatBlock`)[`BLOCKQUOTE`,`H1`,`H2`,`H3`,`H4`,`H5`,`H6`].includes(t)&&this.is(e,t)&&(e=`outdent`,t=null),t===`PRE`&&this.is(e,`PRE`)&&(t=`P`);else if(e===`print`){n();let e=window.open();e.document.write(`
6
+ import{KeepAlive as e,Transition as t,computed as n,defineComponent as r,getCurrentInstance as i,h as a,inject as o,isRef as s,markRaw as c,nextTick as l,onActivated as u,onBeforeMount as d,onBeforeUnmount as f,onBeforeUpdate as p,onDeactivated as m,onMounted as h,onUpdated as g,provide as _,reactive as v,ref as y,shallowReactive as b,toRaw as x,unref as S,useSSRContext as C,vShow as w,watch as T,withDirectives as E}from"vue";var D=Object.defineProperty,O=(e,t)=>{let n={};for(var r in e)D(n,r,{get:e[r],enumerable:!0});return t||D(n,Symbol.toStringTag,{value:`Module`}),n};function k(e,t,n,r){return Object.defineProperty(e,t,{get:n,set:r,enumerable:!0}),e}function A(e,t){for(let n in t)k(e,n,t[n]);return e}const j={value:!0};function M(e,t){let n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||``,version:n[4]||n[2]||`0`,platform:t[0]||``}}function N(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)||[]}function P(e){let t=e.toLowerCase(),n=M(t,N(t)),r={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};n.browser&&(r[n.browser]=!0,r.version=n.version,r.versionNumber=parseInt(n.version,10)),n.platform&&(r[n.platform]=!0);let i=r.android||r.ios||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r[`windows phone`];return i===!0||t.indexOf(`mobile`)!==-1?r.mobile=!0:r.desktop=!0,r[`windows phone`]&&(r.winphone=!0,delete r[`windows phone`]),r.edga||r.edgios||r.edg?(r.edge=!0,n.browser=`edge`):r.crios?(r.chrome=!0,n.browser=`chrome`):r.fxios&&(r.firefox=!0,n.browser=`firefox`),(r.ipod||r.ipad||r.iphone)&&(r.ios=!0),r.vivaldi&&=(n.browser=`vivaldi`,!0),(r.chrome||r.opr||r.safari||r.vivaldi||r.mobile===!0&&r.ios!==!0&&i!==!0)&&(r.webkit=!0),r.opr&&(n.browser=`opera`,r.opera=!0),r.safari&&(r.blackberry||r.bb?(n.browser=`blackberry`,r.blackberry=!0):r.playbook?(n.browser=`playbook`,r.playbook=!0):r.android?(n.browser=`android`,r.android=!0):r.kindle?(n.browser=`kindle`,r.kindle=!0):r.silk&&=(n.browser=`silk`,!0)),r.name=n.browser,r.platform=n.platform,r}const F={has:{touch:!1,webStorage:!1},within:{iframe:!1}},I={install(e){let{$q:t}=e;t.platform=this.parseSSR(e.ssrContext)}};I.parseSSR=e=>{let t=e.req.headers[`user-agent`]||e.req.headers[`User-Agent`]||``;return{...F,userAgent:t,is:P(t)}};function L(e){return c(r(e))}function R(e){return c(e)}const z=(e,t)=>(Object.assign(t,e),t),B={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{let e=Object.defineProperty({},`passive`,{get(){Object.assign(B,{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 V(){}function H(e){return e.button===0}function ee(e){return e.button===1}function U(e){return e.button===2}function W(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 G(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();let t=[],n=e.target;for(;n;){if(t.push(n),n.tagName===`HTML`)return t.push(document),t.push(window),t;n=n.parentElement}}function te(e){let t=e.deltaX,n=e.deltaY;if((t||n)&&e.deltaMode){let r=e.deltaMode===1?40:800;t*=r,n*=r}return e.shiftKey&&!t&&([n,t]=[t,n]),{x:t,y:n}}function K(e){e.stopPropagation()}function q(e){e.cancelable!==!1&&e.preventDefault()}function J(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Y(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;let n=t===!0?e=>{e.__dragPrevented=!0,e.addEventListener(`dragstart`,q,B.notPassiveCapture)}:e=>{delete e.__dragPrevented,e.removeEventListener(`dragstart`,q,B.notPassiveCapture)};e.querySelectorAll(`a, img`).forEach(n)}function ne(e,t,n){let r=`__q_${t}_evt`;e[r]=e[r]===void 0?n:e[r].concat(n),n.forEach(t=>{t[0].addEventListener(t[1],e[t[2]],B[t[3]])})}function re(e,t){let n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(t=>{t[0].removeEventListener(t[1],e[t[2]],B[t[3]])}),e[n]=void 0)}var ie={listenOpts:B,leftClick:H,middleClick:ee,rightClick:U,position:W,getEventPath:G,getMouseWheelDistance:te,stop:K,prevent:q,stopAndPrevent:J,preventDraggable:Y};function ae(e,t=250,n){let r=null;function i(){let i=arguments;r===null?n===!0&&e.apply(this,i):clearTimeout(r),r=setTimeout(()=>{r=null,n!==!0&&e.apply(this,i)},t)}return i.cancel=()=>{r!==null&&clearTimeout(r)},i}const{passive:oe}=B;var se=z({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:V,setDebounce:V,install({$q:e,onSSRHydrated:t}){e.screen=this}});const ce=z({isActive:!1,mode:!1},{__media:void 0,set(e){},toggle(){},install({$q:e,ssrContext:t}){let n=e.config.dark;this.isActive=n===!0,e.dark={isActive:!1,mode:!1,set:n=>{t._meta.bodyClasses=t._meta.bodyClasses.replace(` body--light`,``).replace(` body--dark`,``)+` body--${n===!0?`dark`:`light`}`,e.dark.isActive=n===!0,e.dark.mode=n},toggle:()=>{e.dark.set(e.dark.isActive===!1)}},e.dark.set(n)}});function X(e,t,n=document.body){if(typeof e!=`string`)throw TypeError(`Expected a string as propName`);if(typeof t!=`string`)throw TypeError(`Expected a string as value`);if(!(n instanceof Element))throw TypeError(`Expected a DOM element`);n.style.setProperty(`--q-${e}`,t)}let le=!1;function ue(e){le=e.isComposing===!0}function de(e){return le===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function fe(e,t){return de(e)===!0?!1:[].concat(t).includes(e.keyCode)}function pe(e){if(e.ios===!0)return`ios`;if(e.android===!0)return`android`}function me({is:e,has:t,within:n},r){let i=[e.desktop===!0?`desktop`:`mobile`,`${t.touch===!1?`no-`:``}touch`];if(e.mobile===!0){let t=pe(e);t!==void 0&&i.push(`platform-`+t)}if(e.nativeMobile===!0){let t=e.nativeMobileWrapper;i.push(t),i.push(`native-mobile`),e.ios===!0&&(r[t]===void 0||r[t].iosStatusBarPadding!==!1)&&i.push(`q-ios-padding`)}else e.electron===!0?i.push(`electron`):e.bex===!0&&i.push(`bex`);return n.iframe===!0&&i.push(`within-iframe`),i}function he(){let{is:e}=F,t=document.body.className,n=new Set(t.replace(/ {2}/g,` `).split(` `));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete(`mobile`),n.delete(`platform-ios`),n.delete(`platform-android`),n.add(`desktop`);else if(e.mobile===!0){n.delete(`desktop`),n.add(`mobile`),n.delete(`platform-ios`),n.delete(`platform-android`);let t=pe(e);t!==void 0&&n.add(`platform-${t}`)}}F.has.touch===!0&&(n.delete(`no-touch`),n.add(`touch`)),F.within.iframe===!0&&n.add(`within-iframe`);let r=Array.from(n).join(` `);t!==r&&(document.body.className=r)}function ge(e){for(let t in e)X(t,e[t])}var _e={install(e){{let{$q:t,ssrContext:n}=e,r=me(t.platform,t.config);t.config.screen?.bodyClass===!0&&r.push(`screen--xs`),n._meta.bodyClasses+=r.join(` `);let i=t.config.brand;if(i!==void 0){let e=Object.keys(i).map(e=>`--q-${e}:${i[e]};`).join(``);n._meta.endingHeadTags+=`<style>:root{${e}}</style>`}return}if(this.__installed!==!0){if(j.value===!0)he();else{let{$q:t}=e;t.config.brand!==void 0&&ge(t.config.brand);let n=me(F,t.config);document.body.classList.add.apply(document.body.classList,n)}F.is.ios===!0&&document.body.addEventListener(`touchstart`,V),window.addEventListener(`keydown`,ue,!0)}}},ve={__history:[],add:V,remove:V,install({$q:e}){}},ye={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`,prevMonth:`Previous month`,nextMonth:`Next month`,prevYear:`Previous year`,nextYear:`Next year`,today:`Today`,prevRangeYears:e=>`Previous ${e} years`,nextRangeYears:e=>`Next ${e} years`},table:{noData:`No data available`,noResults:`No matching records found`,loading:`Loading...`,selectedRecords:e=>e===1?`1 record selected.`:(e===0?`No`:e)+` records selected.`,recordsPerPage:`Records per page:`,allRows:`All`,pagination:(e,t,n)=>e+`-`+t+` of `+n,columns:`Columns`},pagination:{first:`First page`,prev:`Previous page`,next:`Next page`,last:`Last page`},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 be(){}const xe=z({__qLang:{}},{getLocale:be,set(e=ye,t){let n={...e,rtl:e.rtl===!0,getLocale:be};if(t===void 0){console.error(`SSR ERROR: second param required: Lang.set(lang, ssrContext)`);return}if(n.set=t.$q.lang.set,t.$q.config.lang===void 0||t.$q.config.lang.noHtmlAttrs!==!0){let e=n.rtl===!0?`rtl`:`ltr`,r=`lang=${n.isoName} dir=${e}`;t._meta.htmlAttrs=t.__qPrevLang===void 0?r:t._meta.htmlAttrs.replace(t.__qPrevLang,r),t.__qPrevLang=r}t.$q.lang=n},install({$q:e,lang:t,ssrContext:n}){{let r=t||ye;e.lang={},e.lang.set=e=>{this.set(e,n)},e.lang.set(r),(this.props===void 0||this.props.isoName!==r.isoName)&&(this.props={...r})}}});var Se={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`}};const Ce=z({iconMapFn:null,__qIconSet:{}},{set(e,t){let n={...e};if(t===void 0){console.error(`SSR ERROR: second param required: IconSet.set(iconSet, ssrContext)`);return}n.set=t.$q.iconSet.set,Object.assign(t.$q.iconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){{let r=t||Se;e.iconMapFn=n.$q.config.iconMapFn||this.iconMapFn||null,e.iconSet={},e.iconSet.set=e=>{this.set(e,n)},e.iconSet.set(r),(this.props===void 0||this.props.name!==r.name)&&(this.props={...r})}}}),we=`_q_t_`,Te=`_q_s_`,Ee=`_q_l_`,De=`_q_f_`,Oe=`_q_fo_`,ke=`_q_tabs_`,Ae=`_q_u_`;function Z(){}function je(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e==`object`&&typeof t==`object`){if(e.constructor!==t.constructor)return!1;let n,r;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(je(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let n=e.entries();for(r=n.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=n.next()}for(n=e.entries(),r=n.next();r.done!==!0;){if(je(r.value[1],t.get(r.value[0]))!==!0)return!1;r=n.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;let n=e.entries();for(r=n.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=n.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let i=Object.keys(e).filter(t=>e[t]!==void 0);if(n=i.length,n!==Object.keys(t).filter(e=>t[e]!==void 0).length)return!1;for(r=n;r--!==0;){let n=i[r];if(je(e[n],t[n])!==!0)return!1}return!0}return e!==e&&t!==t}function Me(e){return typeof e==`object`&&!!e&&Array.isArray(e)!==!0}function Ne(e){return Object.prototype.toString.call(e)===`[object Date]`}function Pe(e){return Object.prototype.toString.call(e)===`[object RegExp]`}function Fe(e){return typeof e==`number`&&isFinite(e)}var Ie={deepEqual:je,object:Me,date:Ne,regexp:Pe,number:Fe};const Le=[I,_e,ce,se,ve,xe,Ce];function Re(e,t){t.forEach(t=>{t.install(e),t.__installed=!0})}function ze(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(`_q_`,n.$q),Re(n,Le),t.components!==void 0&&Object.values(t.components).forEach(t=>{Me(t)===!0&&t.name!==void 0&&e.component(t.name,t)}),t.directives!==void 0&&Object.values(t.directives).forEach(t=>{Me(t)===!0&&t.name!==void 0&&e.directive(t.name,t)}),t.plugins!==void 0&&Re(n,Object.values(t.plugins).filter(e=>typeof e.install==`function`&&Le.includes(e)===!1)),j.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(e=>{e()}),n.$q.onSSRHydrated=()=>{}})}var Be=function(e,t={},n){let r={version:`2.19.2`,config:t.config||{}};Object.assign(n,{$q:r,_meta:{htmlAttrs:``,headTags:``,endingHeadTags:``,bodyClasses:``,bodyAttrs:`data-server-rendered`,bodyTags:``}}),n._modules===void 0&&(n._modules=[]),n.onRendered===void 0&&(n.onRendered=()=>{}),e.config.globalProperties.ssrContext=n,ze(e,t,{parentApp:e,$q:r,lang:t.lang,iconSet:t.iconSet,ssrContext:n})};const Ve=[`B`,`KB`,`MB`,`GB`,`TB`,`PB`];function He(e,t=1){let n=0;for(;parseInt(e,10)>=1024&&n<Ve.length-1;)e/=1024,++n;return`${e.toFixed(t)}${Ve[n]}`}function Ue(e){return e.charAt(0).toUpperCase()+e.slice(1)}function We(e,t,n){return n<=t?t:Math.min(n,Math.max(t,e))}function Ge(e,t,n){if(n<=t)return t;let r=n-t+1,i=t+(e-t)%r;return i<t&&(i=r+i),i===0?0:i}function Q(e,t=2,n=`0`){if(e==null)return e;let r=String(e);return r.length>=t?r:Array(t-r.length+1).join(n)+r}var Ke={humanStorageSize:He,capitalize:Ue,between:We,normalizeToInterval:Ge,pad:Q};const qe=[`top`,`right`,`bottom`,`left`];let Je=[],Ye=0;function Xe({p:e,pos:t,active:n,horiz:r,reverse:i,dir:a}){let o=1,s=1;return r===!0?(i===!0&&(o=-1),t===`bottom`&&(s=-1),{transform:`translate3d(${o*(e-100)}%,${n?0:s*-200}%,0)`}):(i===!0&&(s=-1),t===`right`&&(o=-1),{transform:`translate3d(${n?0:a*o*-200}%,${s*(e-100)}%,0)`})}function Ze(e,t){return typeof t!=`number`&&(t=e<25?Math.random()*3+3:e<65?Math.random()*3:e<85?Math.random()*2:e<99?.6:0),We(e+t,0,100)}function Qe(e){Ye++,Je.push(e),!(Ye>1)&&(null.prototype.open=function(e,t){let n=[];this.addEventListener(`loadstart`,()=>{Je.forEach(e=>{(e.hijackFilter.value===null||e.hijackFilter.value(t)===!0)&&(e.start(),n.push(e.stop))})},{once:!0}),this.addEventListener(`loadend`,()=>{n.forEach(e=>{e()})},{once:!0}),null.apply(this,arguments)})}function $e(e){Je=Je.filter(t=>t.start!==e),Ye=Math.max(0,Ye-1),Ye===0&&(null.prototype.open=null)}var et=L({name:`QAjaxBar`,props:{position:{type:String,default:`top`,validator:e=>qe.includes(e)},size:{type:String,default:`2px`},color:String,skipHijack:Boolean,reverse:Boolean,hijackFilter:Function},emits:[`start`,`stop`],setup(e,{emit:t}){let{proxy:r}=i(),o=y(0),s=y(!1),c=y(!0),l=0,u=null,d,p=n(()=>`q-loading-bar q-loading-bar--${e.position}`+(e.color===void 0?``:` bg-${e.color}`)+(c.value===!0?``:` no-transition`)),m=n(()=>e.position===`top`||e.position===`bottom`),g=n(()=>m.value===!0?`height`:`width`),_=n(()=>{let t=s.value,n=Xe({p:o.value,pos:e.position,active:t,horiz:m.value,reverse:r.$q.lang.rtl===!0&&[`top`,`bottom`].includes(e.position)?e.reverse===!1:e.reverse,dir:r.$q.lang.rtl===!0?-1:1});return n[g.value]=e.size,n.opacity=t?1:0,n}),v=n(()=>s.value===!0?{role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o.value}:{"aria-hidden":`true`});function b(e=300){let n=d;return d=Math.max(0,e)||0,l++,l>1?(n===0&&e>0?C():u!==null&&n>0&&e<=0&&(clearTimeout(u),u=null),l):(u!==null&&clearTimeout(u),t(`start`),o.value=0,u=setTimeout(()=>{u=null,c.value=!0,e>0&&C()},s._value===!0?500:1),s._value!==!0&&(s.value=!0,c.value=!1),l)}function x(e){return l>0&&(o.value=Ze(o.value,e)),l}function S(){if(l=Math.max(0,l-1),l>0)return l;u!==null&&(clearTimeout(u),u=null),t(`stop`);let e=()=>{c.value=!0,o.value=100,u=setTimeout(()=>{u=null,s.value=!1},1e3)};return o.value===0?u=setTimeout(e,1):e(),l}function C(){o.value<100&&(u=setTimeout(()=>{u=null,x(),C()},d))}let w;return h(()=>{e.skipHijack!==!0&&(w=!0,Qe({start:b,stop:S,hijackFilter:n(()=>e.hijackFilter||null)}))}),f(()=>{u!==null&&clearTimeout(u),w===!0&&$e(b)}),Object.assign(r,{start:b,stop:S,increment:x}),()=>a(`div`,{class:p.value,style:_.value,...v.value})}});const tt={xs:18,sm:24,md:32,lg:38,xl:46},nt={size:String};function rt(e,t=tt){return n(()=>e.size===void 0?null:{fontSize:e.size in t?`${t[e.size]}px`:e.size})}function $(e,t){return e===void 0?t:e()||t}function it(e,t){if(e!==void 0){let t=e();if(t!=null)return t.slice()}return t}function at(e,t){return e===void 0?t:t.concat(e())}function ot(e,t){return e===void 0?t:t===void 0?e():t.concat(e())}function st(e,t,n,r,i,o){t.key=r+i;let s=a(e,t,n);return i===!0?E(s,o()):s}const ct=`0 0 24 24`,lt=e=>e,ut=e=>`ionicons ${e}`,dt={"mdi-":e=>`mdi ${e}`,"icon-":lt,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":ut,"ion-ios":ut,"ion-logo":ut,"iconfont ":lt,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`,"i-":lt},ft={o_:`-outlined`,r_:`-round`,s_:`-sharp`},pt={sym_o_:`-outlined`,sym_r_:`-rounded`,sym_s_:`-sharp`},mt=RegExp(`^(`+Object.keys(dt).join(`|`)+`)`),ht=RegExp(`^(`+Object.keys(ft).join(`|`)+`)`),gt=RegExp(`^(`+Object.keys(pt).join(`|`)+`)`),_t=/^[Mm]\s?[-+]?\.?\d/,vt=/^img:/,yt=/^svguse:/,bt=/^ion-/,xt=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /;var St=L({name:`QIcon`,props:{...nt,tag:{type:String,default:`i`},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=rt(e),s=n(()=>`q-icon`+(e.left===!0?` on-left`:``)+(e.right===!0?` on-right`:``)+(e.color===void 0?``:` text-${e.color}`)),c=n(()=>{let t,n=e.name;if(n===`none`||!n)return{none:!0};if(r.iconMapFn!==null){let e=r.iconMapFn(n);if(e!==void 0)if(e.icon!==void 0){if(n=e.icon,n===`none`||!n)return{none:!0}}else return{cls:e.cls,content:e.content===void 0?` `:e.content}}if(_t.test(n)===!0){let[e,t=ct]=n.split(`|`);return{svg:!0,viewBox:t,nodes:e.split(`&&`).map(e=>{let[t,n,r]=e.split(`@@`);return a(`path`,{style:n,d:t,transform:r})})}}if(vt.test(n)===!0)return{img:!0,src:n.substring(4)};if(yt.test(n)===!0){let[e,t=ct]=n.split(`|`);return{svguse:!0,src:e.substring(7),viewBox:t}}let i=` `,o=n.match(mt);if(o!==null)t=dt[o[1]](n);else if(xt.test(n)===!0)t=n;else if(bt.test(n)===!0)t=`ionicons ion-${r.platform.is.ios===!0?`ios`:`md`}${n.substring(3)}`;else if(gt.test(n)===!0){t=`notranslate material-symbols`;let e=n.match(gt);e!==null&&(n=n.substring(6),t+=pt[e[1]]),i=n}else{t=`notranslate material-icons`;let e=n.match(ht);e!==null&&(n=n.substring(2),t+=ft[e[1]]),i=n}return{cls:t,content:i}});return()=>{let n={class:s.value,style:o.value,"aria-hidden":`true`};return c.value.none===!0?a(e.tag,n,$(t.default)):c.value.img===!0?a(e.tag,n,at(t.default,[a(`img`,{src:c.value.src})])):c.value.svg===!0?a(e.tag,n,at(t.default,[a(`svg`,{viewBox:c.value.viewBox||`0 0 24 24`},c.value.nodes)])):c.value.svguse===!0?a(e.tag,n,at(t.default,[a(`svg`,{viewBox:c.value.viewBox},[a(`use`,{"xlink:href":c.value.src})])])):(c.value.cls!==void 0&&(n.class+=` `+c.value.cls),a(e.tag,n,at(t.default,[c.value.content])))}}}),Ct=L({name:`QAvatar`,props:{...nt,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){let r=rt(e),i=n(()=>`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`:``)),o=n(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{let n=e.icon===void 0?void 0:[a(St,{name:e.icon})];return a(`div`,{class:i.value,style:r.value},[a(`div`,{class:`q-avatar__content row flex-center overflow-hidden`,style:o.value},ot(t.default,n))])}}});const wt=[`top`,`middle`,`bottom`];var Tt=L({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=>wt.includes(e)}},setup(e,{slots:t}){let r=n(()=>e.align===void 0?null:{verticalAlign:e.align}),i=n(()=>{let t=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}`)+(t===void 0?``:` text-${t}`)+(e.floating===!0?` q-badge--floating`:``)+(e.rounded===!0?` q-badge--rounded`:``)+(e.transparent===!0?` q-badge--transparent`:``)});return()=>a(`div`,{class:i.value,style:r.value,role:`status`,"aria-label":e.label},at(t.default,e.label===void 0?[]:[e.label]))}});const Et={dark:{type:Boolean,default:null}};function Dt(e,t){return n(()=>e.dark===null?t.dark.isActive:e.dark)}var Ot=L({name:`QBanner`,props:{...Et,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=Dt(e,r),s=n(()=>`q-banner row items-center`+(e.dense===!0?` q-banner--dense`:``)+(o.value===!0?` q-banner--dark q-dark`:``)+(e.rounded===!0?` rounded-borders`:``)),c=n(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?`auto`:`all`}`);return()=>{let n=[a(`div`,{class:`q-banner__avatar col-auto row items-center self-start`},$(t.avatar)),a(`div`,{class:`q-banner__content col text-body2`},$(t.default))],r=$(t.action);return r!==void 0&&n.push(a(`div`,{class:c.value},r)),a(`div`,{class:s.value+(e.inlineActions===!1&&r!==void 0?` q-banner--top-padding`:``),role:`alert`},n)}}}),kt=L({name:`QBar`,props:{...Et,dense:Boolean},setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=Dt(e,r),s=n(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?`dense`:`standard`} q-bar--${o.value===!0?`dark`:`light`}`);return()=>a(`div`,{class:s.value,role:`toolbar`},$(t.default))}});const At={left:`start`,center:`center`,right:`end`,between:`between`,around:`around`,evenly:`evenly`,stretch:`stretch`},jt=Object.keys(At),Mt={align:{type:String,validator:e=>jt.includes(e)}};function Nt(e){return n(()=>{let t=e.align===void 0?e.vertical===!0?`stretch`:`left`:e.align;return`${e.vertical===!0?`items`:`justify`}-${At[t]}`})}function Pt(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 Ft(e,t){typeof t.type==`symbol`?Array.isArray(t.children)===!0&&t.children.forEach(t=>{Ft(e,t)}):e.add(t)}function It(e){let t=new Set;return e.forEach(e=>{Ft(t,e)}),Array.from(t)}function Lt(e){return e.appContext.config.globalProperties.$router!==void 0}function Rt(e){return e.isUnmounted===!0||e.isDeactivated===!0}const zt=[``,!0];var Bt=L({name:`QBreadcrumbs`,props:{...Mt,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 r=Nt(e),i=n(()=>`flex items-center ${r.value}${e.gutter===`none`?``:` q-gutter-${e.gutter}`}`),o=n(()=>e.separatorColor?` text-${e.separatorColor}`:``),s=n(()=>` text-${e.activeColor}`);return()=>{if(t.default===void 0)return;let n=It($(t.default));if(n.length===0)return;let r=1,c=[],l=n.filter(e=>e.type?.name===`QBreadcrumbsEl`).length,u=t.separator===void 0?()=>e.separator:t.separator;return n.forEach(e=>{if(e.type?.name===`QBreadcrumbsEl`){let t=r<l,n=e.props!==null&&zt.includes(e.props.disable),i=(t===!0?``:` q-breadcrumbs--last`)+(n!==!0&&t===!0?s.value:``);r++,c.push(a(`div`,{class:`flex items-center${i}`},[e])),t===!0&&c.push(a(`div`,{class:`q-breadcrumbs__separator`+o.value},u()))}else c.push(e)}),a(`div`,{class:`q-breadcrumbs`},[a(`div`,{class:i.value},c)])}}});function Vt(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}function Ht(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ut(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(Array.isArray(i)===!1||i.length!==r.length||r.some((e,t)=>e!==i[t]))return!1}return!0}function Wt(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Gt(e,t){return Array.isArray(e)===!0?Wt(e,t):Array.isArray(t)===!0?Wt(t,e):e===t}function Kt(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(Gt(e[n],t[n])===!1)return!1;return!0}const qt={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Jt={...qt,exact:Boolean,activeClass:{type:String,default:`q-router-link--active`},exactActiveClass:{type:String,default:`q-router-link--exact-active`}};function Yt({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){let r=i(),{props:a,proxy:o,emit:s}=r,c=Lt(r),l=n(()=>a.disable!==!0&&a.href!==void 0),u=n(t===!0?()=>c===!0&&a.disable!==!0&&l.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==``:()=>c===!0&&l.value!==!0&&a.to!==void 0&&a.to!==null&&a.to!==``),d=n(()=>u.value===!0?b(a.to):null),f=n(()=>d.value!==null),p=n(()=>l.value===!0||f.value===!0),m=n(()=>a.type===`a`||p.value===!0?`a`:a.tag||e||`div`),h=n(()=>l.value===!0?{href:a.href,target:a.target}:f.value===!0?{href:d.value.href,target:a.target}:{}),g=n(()=>{if(f.value===!1)return-1;let{matched:e}=d.value,{length:t}=e,n=e[t-1];if(n===void 0)return-1;let r=o.$route.matched;if(r.length===0)return-1;let i=r.findIndex(Ht.bind(null,n));if(i!==-1)return i;let a=Vt(e[t-2]);return t>1&&Vt(n)===a&&r[r.length-1].path!==a?r.findIndex(Ht.bind(null,e[t-2])):i}),_=n(()=>f.value===!0&&g.value!==-1&&Ut(o.$route.params,d.value.params)),v=n(()=>_.value===!0&&g.value===o.$route.matched.length-1&&Kt(o.$route.params,d.value.params)),y=n(()=>f.value===!0?v.value===!0?` ${a.exactActiveClass} ${a.activeClass}`:a.exact===!0?``:_.value===!0?` ${a.activeClass}`:``:``);function b(e){try{return o.$router.resolve(e)}catch{}return null}function x(e,{returnRouterError:t,to:n=a.to,replace:r=a.replace}={}){if(a.disable===!0)return e.preventDefault(),Promise.resolve(!1);if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.button!==void 0&&e.button!==0||a.target===`_blank`)return Promise.resolve(!1);e.preventDefault();let i=o.$router[r===!0?`replace`:`push`](n);return t===!0?i:i.then(()=>{}).catch(()=>{})}function S(e){if(f.value===!0){let t=t=>x(e,t);s(`click`,e,t),e.defaultPrevented!==!0&&t()}else s(`click`,e)}return{hasRouterLink:f,hasHrefLink:l,hasLink:p,linkTag:m,resolvedLink:d,linkIsActive:_,linkIsExactActive:v,linkClass:y,linkAttrs:h,getLink:b,navigateToRouterLink:x,navigateOnClick:S}}var Xt=L({name:`QBreadcrumbsEl`,props:{...Jt,label:String,icon:String,tag:{type:String,default:`span`}},emits:[`click`],setup(e,{slots:t}){let{linkTag:r,linkAttrs:i,linkClass:o,navigateOnClick:s}=Yt(),c=n(()=>({class:`q-breadcrumbs__el q-link flex inline items-center relative-position `+(e.disable===!0?`q-breadcrumbs__el--disable`:`q-link--focusable`+o.value),...i.value,onClick:s})),l=n(()=>`q-breadcrumbs__el-icon`+(e.label===void 0?``:` q-breadcrumbs__el-icon--with-label`));return()=>{let n=[];return e.icon!==void 0&&n.push(a(St,{class:l.value,name:e.icon})),e.label!==void 0&&n.push(e.label),a(r.value,{...c.value},at(t.default,n))}}});const Zt={size:{type:[String,Number],default:`1em`},color:String};function Qt(e){return{cSize:n(()=>e.size in tt?`${tt[e.size]}px`:e.size),classes:n(()=>`q-spinner`+(e.color?` text-${e.color}`:``))}}var $t=L({name:`QSpinner`,props:{...Zt,thickness:{type:Number,default:5}},setup(e){let{cSize:t,classes:n}=Qt(e);return()=>a(`svg`,{class:n.value+` q-spinner-mat`,width:t.value,height:t.value,viewBox:`25 25 50 50`},[a(`circle`,{class:`path`,cx:`50`,cy:`50`,r:`20`,fill:`none`,stroke:`currentColor`,"stroke-width":e.thickness,"stroke-miterlimit":`10`})])}});function en(e){if(e===window)return{top:0,left:0};let{top:t,left:n}=e.getBoundingClientRect();return{top:t,left:n}}function tn(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function nn(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function rn(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function an(e,t){let n=e.style;for(let e in t)n[e]=t[e]}function on(e,t){e.forEach(e=>an(e,t))}function sn(e){if(typeof e==`function`){if(document.readyState!==`loading`)return e();document.addEventListener(`DOMContentLoaded`,e,!1)}}function cn(e){if(e==null)return;if(typeof e==`string`)try{return document.querySelector(e)||void 0}catch{return}let t=S(e);if(t)return t.$el||t}function ln(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}var un={offset:en,style:tn,height:nn,width:rn,css:an,cssBatch:on,ready:sn};function dn(e,t=250){let n=!1,r;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),r=e.apply(this,arguments)),r}}var fn=()=>({}),pn=R({name:`ripple`,getSSRProps:fn});const mn={none:0,xs:4,sm:8,md:16,lg:24,xl:32},hn={xs:8,sm:10,md:14,lg:20,xl:24},gn=[`button`,`submit`,`reset`],_n=/[^\s]\/[^\s]/,vn=[`flat`,`outline`,`push`,`unelevated`];function yn(e,t){return e.flat===!0?`flat`:e.outline===!0?`outline`:e.push===!0?`push`:e.unelevated===!0?`unelevated`:t}function bn(e){let t=yn(e);return t===void 0?{}:{[t]:!0}}const xn={...nt,...qt,type:{type:String,default:`button`},label:[Number,String],icon:String,iconRight:String,...vn.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:{...Mt.align,default:`center`},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},Sn={...xn,round:Boolean};function Cn(e){let t=rt(e,hn),r=Nt(e),{hasRouterLink:i,hasLink:a,linkTag:o,linkAttrs:s,navigateOnClick:c}=Yt({fallbackTag:`button`}),l=n(()=>{let n=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding===void 0?n:Object.assign({},n,{padding:e.padding.split(/\s+/).map(e=>e in mn?mn[e]+`px`:e).join(` `),minWidth:`0`,minHeight:`0`})}),u=n(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),d=n(()=>e.disable!==!0&&e.loading!==!0),f=n(()=>d.value===!0?e.tabindex||0:-1),p=n(()=>yn(e,`standard`)),m=n(()=>{let t={tabindex:f.value};return a.value===!0?Object.assign(t,s.value):gn.includes(e.type)===!0&&(t.type=e.type),o.value===`a`?(e.disable===!0?t[`aria-disabled`]=`true`:t.href===void 0&&(t.role=`button`),i.value!==!0&&_n.test(e.type)===!0&&(t.type=e.type)):e.disable===!0&&(t.disabled=``,t[`aria-disabled`]=`true`),e.loading===!0&&e.percentage!==void 0&&Object.assign(t,{role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),t});return{classes:n(()=>{let t;e.color===void 0?e.textColor&&(t=`text-${e.textColor}`):t=e.flat===!0||e.outline===!0?`text-${e.textColor||e.color}`:`bg-${e.color} text-${e.textColor||`white`}`;let n=e.round===!0?`round`:`rectangle${u.value===!0?` q-btn--rounded`:e.square===!0?` q-btn--square`:``}`;return`q-btn--${p.value} q-btn--${n}`+(t===void 0?``:` `+t)+(d.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`:``)}),style:l,innerClasses:n(()=>r.value+(e.stack===!0?` column`:` row`)+(e.noWrap===!0?` no-wrap text-no-wrap`:``)+(e.loading===!0?` q-btn__content--hidden`:``)),attributes:m,hasLink:a,linkTag:o,navigateOnClick:c,isActionable:d}}const{passiveCapture:wn}=B;let Tn=null,En=null,Dn=null;var On=L({name:`QBtn`,props:{...Sn,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:[`click`,`keydown`,`mousedown`,`keyup`],setup(e,{slots:r,emit:o}){let{proxy:s}=i(),{classes:c,style:l,innerClasses:u,attributes:d,hasLink:p,linkTag:m,navigateOnClick:h,isActionable:g}=Cn(e),_=y(null),v=y(null),b=null,x,S=null,C=n(()=>e.label!==void 0&&e.label!==null&&e.label!==``),w=n(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:p.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),T=n(()=>({center:e.round})),D=n(()=>{let t=Math.max(0,Math.min(100,e.percentage));return t>0?{transition:`transform 0.6s`,transform:`translateX(${t-100}%)`}:{}}),O=n(()=>{if(e.loading===!0)return{onMousedown:I,onTouchstart:I,onClick:I,onKeydown:I,onKeyup:I};if(g.value===!0){let t={onClick:A,onKeydown:j,onMousedown:N};if(s.$q.platform.has.touch===!0){let n=e.onTouchstart===void 0?`Passive`:``;t[`onTouchstart${n}`]=M}return t}return{onClick:J}}),k=n(()=>({ref:_,class:`q-btn q-btn-item non-selectable no-outline `+c.value,style:l.value,...d.value,...O.value}));function A(t){if(_.value!==null){if(t!==void 0){if(t.defaultPrevented===!0)return;let n=document.activeElement;if(e.type===`submit`&&n!==document.body&&_.value.contains(n)===!1&&n.contains(_.value)===!1){t.qAvoidFocus!==!0&&_.value.focus();let e=()=>{document.removeEventListener(`keydown`,J,!0),document.removeEventListener(`keyup`,e,wn),_.value?.removeEventListener(`blur`,e,wn)};document.addEventListener(`keydown`,J,!0),document.addEventListener(`keyup`,e,wn),_.value.addEventListener(`blur`,e,wn)}}h(t)}}function j(e){_.value!==null&&(o(`keydown`,e),fe(e,[13,32])===!0&&En!==_.value&&(En!==null&&F(),e.defaultPrevented!==!0&&(e.qAvoidFocus!==!0&&_.value.focus(),En=_.value,_.value.classList.add(`q-btn--active`),document.addEventListener(`keyup`,P,!0),_.value.addEventListener(`blur`,P,wn)),J(e)))}function M(e){_.value!==null&&(o(`touchstart`,e),e.defaultPrevented!==!0&&(Tn!==_.value&&(Tn!==null&&F(),Tn=_.value,b=e.target,b.addEventListener(`touchcancel`,P,wn),b.addEventListener(`touchend`,P,wn)),x=!0,S!==null&&clearTimeout(S),S=setTimeout(()=>{S=null,x=!1},200)))}function N(e){_.value!==null&&(e.qSkipRipple=x===!0,o(`mousedown`,e),e.defaultPrevented!==!0&&Dn!==_.value&&(Dn!==null&&F(),Dn=_.value,_.value.classList.add(`q-btn--active`),document.addEventListener(`mouseup`,P,wn)))}function P(e){if(_.value!==null&&!(e?.type===`blur`&&document.activeElement===_.value)){if(e?.type===`keyup`){if(En===_.value&&fe(e,[13,32])===!0){let t=new MouseEvent(`click`,e);t.qKeyEvent=!0,e.defaultPrevented===!0&&q(t),e.cancelBubble===!0&&K(t),_.value.dispatchEvent(t),J(e),e.qKeyEvent=!0}o(`keyup`,e)}F()}}function F(e){let t=v.value;e!==!0&&(Tn===_.value||Dn===_.value)&&t!==null&&t!==document.activeElement&&(t.setAttribute(`tabindex`,-1),t.focus()),Tn===_.value&&(b!==null&&(b.removeEventListener(`touchcancel`,P,wn),b.removeEventListener(`touchend`,P,wn)),Tn=b=null),Dn===_.value&&(document.removeEventListener(`mouseup`,P,wn),Dn=null),En===_.value&&(document.removeEventListener(`keyup`,P,!0),_.value?.removeEventListener(`blur`,P,wn),En=null),_.value?.classList.remove(`q-btn--active`)}function I(e){J(e),e.qSkipRipple=!0}return f(()=>{F(!0)}),Object.assign(s,{click:e=>{g.value===!0&&A(e)}}),()=>{let n=[];e.icon!==void 0&&n.push(a(St,{name:e.icon,left:e.stack!==!0&&C.value===!0,role:`img`})),C.value===!0&&n.push(a(`span`,{class:`block`},[e.label])),n=at(r.default,n),e.iconRight!==void 0&&e.round===!1&&n.push(a(St,{name:e.iconRight,right:e.stack!==!0&&C.value===!0,role:`img`}));let i=[a(`span`,{class:`q-focus-helper`,ref:v})];return e.loading===!0&&e.percentage!==void 0&&i.push(a(`span`,{class:`q-btn__progress absolute-full overflow-hidden`+(e.darkPercentage===!0?` q-btn__progress--dark`:``)},[a(`span`,{class:`q-btn__progress-indicator fit block`,style:D.value})])),i.push(a(`span`,{class:`q-btn__content text-center col items-center q-anchor--skip `+u.value},n)),e.loading!==null&&i.push(a(t,{name:`q-transition--fade`},()=>e.loading===!0?[a(`span`,{key:`loading`,class:`absolute-full flex flex-center`},r.loading===void 0?[a($t)]:r.loading())]:null)),E(a(m.value,k.value,i),[[pn,w.value,void 0,T.value]])}}}),kn=L({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 r=n(()=>{let t=[`unelevated`,`outline`,`flat`,`rounded`,`square`,`push`,`stretch`,`glossy`].filter(t=>e[t]===!0).map(e=>`q-btn-group--${e}`).join(` `);return`q-btn-group row no-wrap${t.length===0?``:` `+t}`+(e.spread===!0?` q-btn-group--spread`:` inline`)});return()=>a(`div`,{class:r.value},$(t.default))}});function An(){if(window.getSelection!==void 0){let e=window.getSelection();e.empty===void 0?e.removeAllRanges!==void 0&&(e.removeAllRanges(),I.is.mobile!==!0&&e.addRange(document.createRange())):e.empty()}else document.selection!==void 0&&document.selection.empty()}const jn={target:{default:!0},noParentEvent:Boolean},Mn={...jn,contextMenu:Boolean};function Nn({showing:e,avoidEmit:t,configureAnchorEl:n}){let{props:r,proxy:a,emit:o}=i(),s=y(null),c=null;function u(e){return s.value===null?!1:e===void 0||e.touches===void 0||e.touches.length<=1}let d={};n===void 0&&(Object.assign(d,{hide(e){a.hide(e)},toggle(e){a.toggle(e),e.qAnchorHandled=!0},toggleKey(e){fe(e,13)===!0&&d.toggle(e)},contextClick(e){a.hide(e),q(e),l(()=>{a.show(e),e.qAnchorHandled=!0})},prevent:q,mobileTouch(e){if(d.mobileCleanup(e),u(e)!==!0)return;a.hide(e),s.value.classList.add(`non-selectable`);let t=e.target;ne(d,`anchor`,[[t,`touchmove`,`mobileCleanup`,`passive`],[t,`touchend`,`mobileCleanup`,`passive`],[t,`touchcancel`,`mobileCleanup`,`passive`],[s.value,`contextmenu`,`prevent`,`notPassive`]]),c=setTimeout(()=>{c=null,a.show(e),e.qAnchorHandled=!0},300)},mobileCleanup(t){s.value.classList.remove(`non-selectable`),c!==null&&(clearTimeout(c),c=null),e.value===!0&&t!==void 0&&An()}}),n=function(e=r.contextMenu){if(r.noParentEvent===!0||s.value===null)return;let t;t=e===!0?a.$q.platform.is.mobile===!0?[[s.value,`touchstart`,`mobileTouch`,`passive`]]:[[s.value,`mousedown`,`hide`,`passive`],[s.value,`contextmenu`,`contextClick`,`notPassive`]]:[[s.value,`click`,`toggle`,`passive`],[s.value,`keyup`,`toggleKey`,`passive`]],ne(d,`anchor`,t)});function p(){re(d,`anchor`)}function m(e){for(s.value=e;s.value.classList.contains(`q-anchor--skip`);)s.value=s.value.parentNode;n()}function g(){if(r.target===!1||r.target===``||a.$el.parentNode===null)s.value=null;else if(r.target===!0)m(a.$el.parentNode);else{let e=r.target;if(typeof r.target==`string`)try{e=document.querySelector(r.target)}catch{e=void 0}e==null?(s.value=null,console.error(`Anchor: target "${r.target}" not found`)):(s.value=e.$el||e,n())}}return T(()=>r.contextMenu,e=>{s.value!==null&&(p(),n(e))}),T(()=>r.target,()=>{s.value!==null&&p(),g()}),T(()=>r.noParentEvent,e=>{s.value!==null&&(e===!0?p():n())}),h(()=>{g(),t!==!0&&r.modelValue===!0&&s.value===null&&o(`update:modelValue`,!1)}),f(()=>{c!==null&&clearTimeout(c),p()}),{anchorEl:s,canShow:u,anchorEvents:d}}function Pn(e,t){let n=y(null),r;function i(e,t){let n=`${t===void 0?`remove`:`add`}EventListener`,i=t===void 0?r:t;e!==window&&e[n](`scroll`,i,B.passive),window[n](`scroll`,i,B.passive),r=t}function a(){n.value!==null&&(i(n.value),n.value=null)}return f(T(()=>e.noParentEvent,()=>{n.value!==null&&(a(),t())})),{localScrollTarget:n,unconfigureScrollTarget:a,changeScrollEvent:i}}const Fn={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},In=[`beforeShow`,`show`,`beforeHide`,`hide`];function Ln({showing:e,canShow:t,hideOnRouteChange:n,handleShow:r,handleHide:a,processOnMount:o}){let s=i(),{props:c,emit:l,proxy:u}=s;function d(t){e.value===!0||f(t)}function f(e){c.disable===!0||e?.qAnchorHandled===!0||t!==void 0&&t(e)!==!0||(c[`onUpdate:modelValue`],c.modelValue,p(e))}function p(t){e.value!==!0&&(e.value=!0,l(`beforeShow`,t),r===void 0?l(`show`,t):r(t))}function m(e){}function g(t){e.value!==!1&&(e.value=!1,l(`beforeHide`,t),a===void 0?l(`hide`,t):a(t))}function _(t){c.disable===!0&&t===!0?c[`onUpdate:modelValue`]!==void 0&&l(`update:modelValue`,!1):t===!0!==e.value&&(t===!0?p:g)(void 0)}T(()=>c.modelValue,_),n!==void 0&&Lt(s)===!0&&T(()=>u.$route.fullPath,()=>{n.value===!0&&e.value}),o===!0&&h(()=>{_(c.modelValue)});let v={show:f,hide:m,toggle:d};return Object.assign(u,v),v}let Rn=[],zn=[];function Bn(e){zn.length===0?e():Rn.push(e)}function Vn(e){Rn=Rn.filter(t=>t!==e)}const Hn=[];function Un(e,t){do{if(e.$options.name===`QMenu`){if(e.hide(t),e.$props.separateClosePopup===!0)return Pt(e)}else if(e.__qPortal===!0){let n=Pt(e);return n?.$options.name===`QPopupProxy`?(e.hide(t),n):e}e=Pt(e)}while(e!=null)}L({name:`QPortal`,setup(e,{slots:t}){return()=>t.default()}});function Wn(e,t,n,r){return{portalIsActive:y(!1),portalIsAccessible:y(!1),showPortal:V,hidePortal:V,renderPortal:V}}const Gn={transitionShow:{type:String,default:`fade`},transitionHide:{type:String,default:`fade`},transitionDuration:{type:[String,Number],default:300}};function Kn(e,t=()=>{},r=()=>{}){return{transitionProps:n(()=>{let n=`q-transition--${e.transitionShow||t()}`,i=`q-transition--${e.transitionHide||r()}`;return{appear:!0,enterFromClass:`${n}-enter-from`,enterActiveClass:`${n}-enter-active`,enterToClass:`${n}-enter-to`,leaveFromClass:`${i}-leave-from`,leaveActiveClass:`${i}-leave-active`,leaveToClass:`${i}-leave-to`}}),transitionStyle:n(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function qn(){let e,t=i();function n(){e=void 0}return m(n),f(n),{removeTick:n,registerTick(n){e=n,l(()=>{e===n&&(Rt(t)===!1&&e(),e=void 0)})}}}function Jn(){let e=null,t=i();function n(){e!==null&&(clearTimeout(e),e=null)}return m(n),f(n),{removeTimeout:n,registerTimeout(r,i){n(),Rt(t)===!1&&(e=setTimeout(()=>{e=null,r()},i))}}}const Yn={},Xn=[];function Zn(e,t){let n=cn(t);if(n===void 0){if(e==null)return window;n=e.closest(`.scroll,.scroll-y,.overflow-auto`)}return Xn.includes(n)?window:n}function Qn(e){return(e===window?document.body:e).scrollHeight}function $n(e){return(e===window?document.body:e).scrollWidth}function er(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function tr(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function nr(e,t,n=0){let r=arguments[3]===void 0?performance.now():arguments[3],i=er(e);if(n<=0){i!==t&&ir(e,t);return}requestAnimationFrame(a=>{let o=a-r,s=i+(t-i)/Math.max(o,n)*o;ir(e,s),s!==t&&nr(e,t,n-o,a)})}function rr(e,t,n=0){let r=arguments[3]===void 0?performance.now():arguments[3],i=tr(e);if(n<=0){i!==t&&ar(e,t);return}requestAnimationFrame(a=>{let o=a-r,s=i+(t-i)/Math.max(o,n)*o;ar(e,s),s!==t&&rr(e,t,n-o,a)})}function ir(e,t){if(e===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t);return}e.scrollTop=t}function ar(e,t){if(e===window){window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}e.scrollLeft=t}function or(e,t,n){if(n){nr(e,t,n);return}ir(e,t)}function sr(e,t,n){if(n){rr(e,t,n);return}ar(e,t)}let cr;function lr(){if(cr!==void 0)return cr;let e=document.createElement(`p`),t=document.createElement(`div`);an(e,{width:`100%`,height:`200px`}),an(t,{position:`absolute`,top:`0px`,left:`0px`,visibility:`hidden`,width:`200px`,height:`150px`,overflow:`hidden`}),t.appendChild(e),document.body.appendChild(t);let n=e.offsetWidth;t.style.overflow=`scroll`;let r=e.offsetWidth;return n===r&&(r=t.clientWidth),t.remove(),cr=n-r,cr}function ur(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 dr={getScrollTarget:Zn,getScrollHeight:Qn,getScrollWidth:$n,getVerticalScrollPosition:er,getHorizontalScrollPosition:tr,animVerticalScrollTo:nr,animHorizontalScrollTo:rr,setVerticalScrollPosition:or,setHorizontalScrollPosition:sr,getScrollbarWidth:lr,hasScrollbar:ur};const fr=[];let pr;function mr(e){pr=e.keyCode===27}function hr(){pr===!0&&(pr=!1)}function gr(e){pr===!0&&(pr=!1,fe(e,27)===!0&&fr[fr.length-1](e))}function _r(e){window[e](`keydown`,mr),window[e](`blur`,hr),window[e](`keyup`,gr),pr=!1}function vr(e){F.is.desktop===!0&&(fr.push(e),fr.length===1&&_r(`addEventListener`))}function yr(e){let t=fr.indexOf(e);t!==-1&&(fr.splice(t,1),fr.length===0&&_r(`removeEventListener`))}const br=[];function xr(e){br[br.length-1](e)}function Sr(e){F.is.desktop===!0&&(br.push(e),br.length===1&&document.body.addEventListener(`focusin`,xr))}function Cr(e){let t=br.indexOf(e);t!==-1&&(br.splice(t,1),br.length===0&&document.body.removeEventListener(`focusin`,xr))}let wr=null;const{notPassiveCapture:Tr}=B,Er=[];function Dr(e){wr!==null&&(clearTimeout(wr),wr=null);let t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains(`no-pointer-events`)===!0)return;let n=Hn.length-1;for(;n>=0;){let e=Hn[n].$;if(e.type.name===`QTooltip`){n--;continue}if(e.type.name!==`QDialog`)break;if(e.props.seamless!==!0)return;n--}for(let n=Er.length-1;n>=0;n--){let r=Er[n];if((r.anchorEl.value===null||r.anchorEl.value.contains(t)===!1)&&(t===document.body||r.innerRef.value!==null&&r.innerRef.value.contains(t)===!1))e.qClickOutside=!0,r.onClickOutside(e);else return}}function Or(e){Er.push(e),Er.length===1&&(document.addEventListener(`mousedown`,Dr,Tr),document.addEventListener(`touchstart`,Dr,Tr))}function kr(e){let t=Er.findIndex(t=>t===e);t!==-1&&(Er.splice(t,1),Er.length===0&&(wr!==null&&(clearTimeout(wr),wr=null),document.removeEventListener(`mousedown`,Dr,Tr),document.removeEventListener(`touchstart`,Dr,Tr)))}let Ar,jr;function Mr(e){let t=e.split(` `);return t.length===2?[`top`,`center`,`bottom`].includes(t[0])===!0?[`left`,`middle`,`right`,`start`,`end`].includes(t[1])===!0?!0:(console.error(`Anchor/Self position must end with one of left/middle/right/start/end`),!1):(console.error(`Anchor/Self position must start with one of top/center/bottom`),!1):!1}function Nr(e){return e?!(e.length!==2||typeof e[0]!=`number`||typeof e[1]!=`number`):!0}const Pr={"start#ltr":`left`,"start#rtl":`right`,"end#ltr":`right`,"end#rtl":`left`};[`left`,`middle`,`right`].forEach(e=>{Pr[`${e}#ltr`]=e,Pr[`${e}#rtl`]=e});function Fr(e,t){let n=e.split(` `);return{vertical:n[0],horizontal:Pr[`${n[1]}#${t===!0?`rtl`:`ltr`}`]}}function Ir(e,t){let{top:n,left:r,right:i,bottom:a,width:o,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],r-=t[0],a+=t[1],i+=t[0],o+=t[0],s+=t[1]),{top:n,bottom:a,height:s,left:r,right:i,width:o,middle:r+(i-r)/2,center:n+(a-n)/2}}function Lr(e,t,n){let{top:r,left:i}=e.getBoundingClientRect();return r+=t.top,i+=t.left,n!==void 0&&(r+=n[1],i+=n[0]),{top:r,bottom:r+1,height:1,left:i,right:i+1,width:1,middle:i,center:r}}function Rr(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function zr(e,t,n,r){return{top:e[n.vertical]-t[r.vertical],left:e[n.horizontal]-t[r.horizontal]}}function Br(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{Br(e,t+1)},10);return}let{targetEl:n,offset:r,anchorEl:i,anchorOrigin:a,selfOrigin:o,absoluteOffset:s,fit:c,cover:l,maxHeight:u,maxWidth:d}=e;if(F.is.ios===!0&&window.visualViewport!==void 0){let e=document.body.style,{offsetLeft:t,offsetTop:n}=window.visualViewport;t!==Ar&&(e.setProperty(`--q-pe-left`,t+`px`),Ar=t),n!==jr&&(e.setProperty(`--q-pe-top`,n+`px`),jr=n)}let{scrollLeft:f,scrollTop:p}=n,m=s===void 0?Ir(i,l===!0?[0,0]:r):Lr(i,s,r);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:d,maxHeight:u,visibility:`visible`});let{offsetWidth:h,offsetHeight:g}=n,{elWidth:_,elHeight:v}=c===!0||l===!0?{elWidth:Math.max(m.width,h),elHeight:l===!0?Math.max(m.height,g):g}:{elWidth:h,elHeight:g},y={maxWidth:d,maxHeight:u};(c===!0||l===!0)&&(y.minWidth=m.width+`px`,l===!0&&(y.minHeight=m.height+`px`)),Object.assign(n.style,y);let b=Rr(_,v),x=zr(m,b,a,o);if(s===void 0||r===void 0)Vr(x,m,b,a,o);else{let{top:e,left:t}=x;Vr(x,m,b,a,o);let n=!1;if(x.top!==e){n=!0;let e=2*r[1];m.center=m.top-=e,m.bottom-=e+2}if(x.left!==t){n=!0;let e=2*r[0];m.middle=m.left-=e,m.right-=e+2}n===!0&&(x=zr(m,b,a,o),Vr(x,m,b,a,o))}y={top:x.top+`px`,left:x.left+`px`},x.maxHeight!==void 0&&(y.maxHeight=x.maxHeight+`px`,m.height>x.maxHeight&&(y.minHeight=y.maxHeight)),x.maxWidth!==void 0&&(y.maxWidth=x.maxWidth+`px`,m.width>x.maxWidth&&(y.minWidth=y.maxWidth)),Object.assign(n.style,y),n.scrollTop!==p&&(n.scrollTop=p),n.scrollLeft!==f&&(n.scrollLeft=f)}function Vr(e,t,n,r,i){let a=n.bottom,o=n.right,s=lr(),c=window.innerHeight-s,l=document.body.clientWidth;if(e.top<0||e.top+a>c)if(i.vertical===`center`)e.top=t[r.vertical]>c/2?Math.max(0,c-a):0,e.maxHeight=Math.min(a,c);else if(t[r.vertical]>c/2){let n=Math.min(c,r.vertical===`center`?t.center:r.vertical===i.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,n),e.top=Math.max(0,n-a)}else e.top=Math.max(0,r.vertical===`center`?t.center:r.vertical===i.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,c-e.top);if(e.left<0||e.left+o>l)if(e.maxWidth=Math.min(o,l),i.horizontal===`middle`)e.left=t[r.horizontal]>l/2?Math.max(0,l-o):0;else if(t[r.horizontal]>l/2){let n=Math.min(l,r.horizontal===`middle`?t.middle:r.horizontal===i.horizontal?t.right:t.left);e.maxWidth=Math.min(o,n),e.left=Math.max(0,n-e.maxWidth)}else e.left=Math.max(0,r.horizontal===`middle`?t.middle:r.horizontal===i.horizontal?t.left:t.right),e.maxWidth=Math.min(o,l-e.left)}var Hr=L({name:`QMenu`,inheritAttrs:!1,props:{...Mn,...Fn,...Et,...Gn,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Mr},self:{type:String,validator:Mr},offset:{type:Array,validator:Nr},scrollTarget:Yn,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...In,`click`,`escapeKey`],setup(e,{slots:r,emit:o,attrs:s}){let c=null,l,u,d,p=i(),{proxy:m}=p,{$q:h}=m,g=y(null),_=y(!1),v=n(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),b=Dt(e,h),{registerTick:x,removeTick:S}=qn(),{registerTimeout:C}=Jn(),{transitionProps:w,transitionStyle:E}=Kn(e),{localScrollTarget:D,changeScrollEvent:O,unconfigureScrollTarget:k}=Pn(e,te),{anchorEl:A,canShow:j}=Nn({showing:_}),{hide:M}=Ln({showing:_,canShow:j,handleShow:ee,handleHide:U,hideOnRouteChange:v,processOnMount:!0}),{showPortal:N,hidePortal:P,renderPortal:F}=Wn(p,g,re,`menu`),I={anchorEl:A,innerRef:g,onClickOutside(t){if(e.persistent!==!0&&_.value===!0)return M(t),(t.type===`touchstart`||t.target.classList.contains(`q-dialog__backdrop`))&&J(t),!0}},L=n(()=>Fr(e.anchor||(e.cover===!0?`center middle`:`bottom start`),h.lang.rtl)),R=n(()=>e.cover===!0?L.value:Fr(e.self||`top start`,h.lang.rtl)),z=n(()=>(e.square===!0?` q-menu--square`:``)+(b.value===!0?` q-menu--dark q-dark`:``)),B=n(()=>e.autoClose===!0?{onClick:K}:{}),V=n(()=>_.value===!0&&e.persistent!==!0);T(V,e=>{e===!0?(vr(Y),Or(I)):(yr(Y),kr(I))});function H(){Bn(()=>{let e=g.value;e&&e.contains(document.activeElement)!==!0&&(e=e.querySelector(`[autofocus][tabindex], [data-autofocus][tabindex]`)||e.querySelector(`[autofocus] [tabindex], [data-autofocus] [tabindex]`)||e.querySelector(`[autofocus], [data-autofocus]`)||e,e.focus({preventScroll:!0}))})}function ee(t){if(c=e.noRefocus===!1?document.activeElement:null,Sr(q),N(),te(),l=void 0,t!==void 0&&(e.touchPosition||e.contextMenu)){let e=W(t);if(e.left!==void 0){let{top:t,left:n}=A.value.getBoundingClientRect();l={left:e.left-n,top:e.top-t}}}u===void 0&&(u=T(()=>h.screen.width+`|`+h.screen.height+`|`+e.self+`|`+e.anchor+`|`+h.lang.rtl,ne)),e.noFocus!==!0&&document.activeElement.blur(),x(()=>{ne(),e.noFocus!==!0&&H()}),C(()=>{h.platform.is.ios===!0&&(d=e.autoClose,g.value.click()),ne(),N(!0),o(`show`,t)},e.transitionDuration)}function U(t){S(),P(),G(!0),c!==null&&(t===void 0||t.qClickOutside!==!0)&&(((t?.type.indexOf(`key`)===0?c.closest(`[tabindex]:not([tabindex^="-"])`):void 0)||c).focus(),c=null),C(()=>{P(!0),o(`hide`,t)},e.transitionDuration)}function G(e){l=void 0,u!==void 0&&(u(),u=void 0),(e===!0||_.value===!0)&&(Cr(q),k(),kr(I),yr(Y)),e!==!0&&(c=null)}function te(){(A.value!==null||e.scrollTarget!==void 0)&&(D.value=Zn(A.value,e.scrollTarget),O(D.value,ne))}function K(e){d===!0?d=!1:(Un(m,e),o(`click`,e))}function q(t){V.value===!0&&e.noFocus!==!0&&ln(g.value,t.target)!==!0&&H()}function Y(t){e.noEscDismiss!==!0&&(o(`escapeKey`),M(t))}function ne(){Br({targetEl:g.value,offset:e.offset,anchorEl:A.value,anchorOrigin:L.value,selfOrigin:R.value,absoluteOffset:l,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function re(){return a(t,w.value,()=>_.value===!0?a(`div`,{role:`menu`,...s,ref:g,tabindex:-1,class:[`q-menu q-position-engine scroll`+z.value,s.class],style:[s.style,E.value],...B.value},$(r.default)):null)}return f(G),Object.assign(m,{focus:H,updatePosition:ne}),F}});let Ur,Wr=0;const Gr=Array(256);for(let e=0;e<256;e++)Gr[e]=(e+256).toString(16).substring(1);const Kr=(()=>{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 n=new Uint8Array(t);return e.getRandomValues(n),n}}return e=>{let t=[];for(let n=e;n>0;n--)t.push(Math.floor(Math.random()*256));return t}})(),qr=4096;function Jr(){(Ur===void 0||Wr+16>qr)&&(Wr=0,Ur=Kr(qr));let e=Array.prototype.slice.call(Ur,Wr,Wr+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,Gr[e[0]]+Gr[e[1]]+Gr[e[2]]+Gr[e[3]]+`-`+Gr[e[4]]+Gr[e[5]]+`-`+Gr[e[6]]+Gr[e[7]]+`-`+Gr[e[8]]+Gr[e[9]]+`-`+Gr[e[10]]+Gr[e[11]]+Gr[e[12]]+Gr[e[13]]+Gr[e[14]]+Gr[e[15]]}function Yr(e){return e??null}function Xr(e,t){return e??(t===!0?`f_${Jr()}`:null)}function Zr({getValue:e,required:t=!0}={}){if(j.value===!0){let n=y(e===void 0?null:Yr(e()));return t===!0&&n.value===null&&h(()=>{n.value=`f_${Jr()}`}),e!==void 0&&T(e,e=>{n.value=Xr(e,t)}),n}return e===void 0?y(`f_${Jr()}`):n(()=>Xr(e(),t))}const Qr=Object.keys(xn);function $r(e){return Qr.reduce((t,n)=>{let r=e[n];return r!==void 0&&(t[n]=r),t},{})}var ei=L({name:`QBtnDropdown`,props:{...xn,...Gn,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,noRefocus:Boolean,noFocus: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:r}){let{proxy:o}=i(),s=y(e.modelValue),c=y(null),l=Zr(),u=n(()=>{let t={"aria-expanded":s.value===!0?`true`:`false`,"aria-haspopup":`true`,"aria-controls":l.value,"aria-label":e.toggleAriaLabel||o.$q.lang.label[s.value===!0?`collapse`:`expand`](e.label)};return(e.disable===!0||e.split===!1&&e.disableMainBtn===!0||e.disableDropdown===!0)&&(t[`aria-disabled`]=`true`),t}),d=n(()=>`q-btn-dropdown__arrow`+(s.value===!0&&e.noIconAnimation===!1?` rotate-180`:``)+(e.split===!1?` q-btn-dropdown__arrow-container`:``)),f=n(()=>bn(e)),p=n(()=>$r(e));T(()=>e.modelValue,e=>{c.value?.[e?`show`:`hide`]()}),T(()=>e.split,w);function m(e){s.value=!0,r(`beforeShow`,e)}function g(e){r(`show`,e),r(`update:modelValue`,!0)}function _(e){s.value=!1,r(`beforeHide`,e)}function v(e){r(`hide`,e),r(`update:modelValue`,!1)}function b(e){r(`click`,e)}function x(e){K(e),w(),r(`click`,e)}function S(e){c.value?.toggle(e)}function C(e){c.value?.show(e)}function w(e){c.value?.hide(e)}return Object.assign(o,{show:C,hide:w,toggle:S}),h(()=>{e.modelValue===!0&&C()}),()=>{let n=[a(St,{class:d.value,name:e.dropdownIcon||o.$q.iconSet.arrow.dropdown})];return e.disableDropdown!==!0&&n.push(a(Hr,{ref:c,id:l.value,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noEscDismiss:e.noEscDismiss,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,noFocus:e.noFocus,noRefocus:e.noRefocus,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:m,onShow:g,onBeforeHide:_,onHide:v},t.default)),e.split===!1?a(On,{class:`q-btn-dropdown q-btn-dropdown--simple`,...p.value,...u.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:b},{default:()=>$(t.label,[]).concat(n),loading:t.loading}):a(kn,{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},()=>[a(On,{class:`q-btn-dropdown--current`,...p.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:x},{default:t.label,loading:t.loading}),a(On,{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},()=>n)])}}});const ti={name:String};function ni(e){return n(()=>({type:`hidden`,name:e.name,value:e.modelValue}))}function ri(e={}){return(t,n,r)=>{t[n](a(`input`,{class:`hidden`+(r||``),...e.value}))}}function ii(e){return n(()=>e.name||e.for)}var ai=L({name:`QBtnToggle`,props:{...ti,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every(e=>(`label`in e||`icon`in e||`slot`in e)&&`value`in e)},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:r}){let i=n(()=>e.options.find(t=>t.value===e.modelValue)!==void 0),o=ri(n(()=>({type:`hidden`,name:e.name,value:e.modelValue}))),s=n(()=>bn(e)),c=n(()=>({rounded:e.rounded,dense:e.dense,...s.value})),l=n(()=>e.options.map((t,n)=>{let{attrs:r,value:i,slot:a,...o}=t;return{slot:a,props:{key:n,"aria-pressed":i===e.modelValue?`true`:`false`,...r,...o,...c.value,disable:e.disable===!0||o.disable===!0,color:i===e.modelValue?d(o,`toggleColor`):d(o,`color`),textColor:i===e.modelValue?d(o,`toggleTextColor`):d(o,`textColor`),noCaps:d(o,`noCaps`)===!0,noWrap:d(o,`noWrap`)===!0,size:d(o,`size`),padding:d(o,`padding`),ripple:d(o,`ripple`),stack:d(o,`stack`)===!0,stretch:d(o,`stretch`)===!0,onClick(e){u(i,t,e)}}}}));function u(t,n,i){e.readonly!==!0&&(e.modelValue===t?e.clearable===!0&&(r(`update:modelValue`,null,null),r(`clear`)):r(`update:modelValue`,t,n),r(`click`,i))}function d(t,n){return t[n]===void 0?e[n]:t[n]}function f(){let n=l.value.map(e=>a(On,e.props,e.slot===void 0?void 0:t[e.slot]));return e.name!==void 0&&e.disable!==!0&&i.value===!0&&o(n,`push`),at(t.default,n)}return()=>a(kn,{class:`q-btn-toggle`,...s.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},f)}}),oi=L({name:`QCard`,props:{...Et,tag:{type:String,default:`div`},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=Dt(e,r),s=n(()=>`q-card`+(o.value===!0?` q-card--dark q-dark`:``)+(e.bordered===!0?` q-card--bordered`:``)+(e.square===!0?` q-card--square no-border-radius`:``)+(e.flat===!0?` q-card--flat no-shadow`:``));return()=>a(e.tag,{class:s.value},$(t.default))}}),si=L({name:`QCardSection`,props:{tag:{type:String,default:`div`},horizontal:Boolean},setup(e,{slots:t}){let r=n(()=>`q-card__section q-card__section--${e.horizontal===!0?`horiz row no-wrap`:`vert`}`);return()=>a(e.tag,{class:r.value},$(t.default))}}),ci=L({name:`QCardActions`,props:{...Mt,vertical:Boolean},setup(e,{slots:t}){let r=Nt(e),i=n(()=>`q-card__actions ${r.value} q-card__actions--${e.vertical===!0?`vert column`:`horiz row`}`);return()=>a(`div`,{class:i.value},$(t.default))}});const li={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0};li.all=!0;var ui=R({name:`touch-swipe`,getSSRProps:fn});function di(){let e=Object.create(null);return{getCache:(e,t)=>typeof t==`function`?t():t,setCache(t,n){e[t]=n},hasCache(t){return Object.hasOwnProperty.call(e,t)},clearCache(t){t===void 0?e=Object.create(null):delete e[t]}}}const fi={name:{required:!0},disable:Boolean},pi={setup(e,{slots:t}){return()=>a(`div`,{class:`q-panel scroll`,role:`tabpanel`},$(t.default))}},mi={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},hi=[`update:modelValue`,`beforeTransition`,`transition`];function gi(){let{props:r,emit:o,proxy:s}=i(),{getCache:c}=di(),{registerTimeout:l}=Jn(),u,d,f=y(null),p={value:null};function m(e){let t=r.vertical===!0?`up`:`left`;j((s.$q.lang.rtl===!0?-1:1)*(e.direction===t?1:-1))}let h=n(()=>[[ui,m,void 0,{horizontal:r.vertical!==!0,vertical:r.vertical,mouse:!0}]]),g=n(()=>r.transitionPrev||`slide-${r.vertical===!0?`down`:`right`}`),_=n(()=>r.transitionNext||`slide-${r.vertical===!0?`up`:`left`}`),v=n(()=>`--q-transition-duration: ${r.transitionDuration}ms`),b=n(()=>typeof r.modelValue==`string`||typeof r.modelValue==`number`?r.modelValue:String(r.modelValue)),x=n(()=>({include:r.keepAliveInclude,exclude:r.keepAliveExclude,max:r.keepAliveMax})),S=n(()=>r.keepAliveInclude!==void 0||r.keepAliveExclude!==void 0);T(()=>r.modelValue,(e,t)=>{let n=D(e)===!0?O(e):-1;d!==!0&&A(n===-1?0:n<O(t)?-1:1),p.value!==n&&(p.value=n,o(`beforeTransition`,e,t),l(()=>{o(`transition`,e,t)},r.transitionDuration))});function C(){j(1)}function w(){j(-1)}function E(e){o(`update:modelValue`,e)}function D(e){return e!=null&&e!==``}function O(e){return u.findIndex(t=>t.props.name===e&&t.props.disable!==``&&t.props.disable!==!0)}function k(){return u.filter(e=>e.props.disable!==``&&e.props.disable!==!0)}function A(e){let t=e!==0&&r.animated===!0&&p.value!==-1?`q-transition--`+(e===-1?g.value:_.value):null;f.value!==t&&(f.value=t)}function j(e,t=p.value){let n=t+e;for(;n!==-1&&n<u.length;){let t=u[n];if(t!==void 0&&t.props.disable!==``&&t.props.disable!==!0){A(e),d=!0,o(`update:modelValue`,t.props.name),setTimeout(()=>{d=!1});return}n+=e}r.infinite===!0&&u.length!==0&&t!==-1&&t!==u.length&&j(e,e===-1?u.length:-1)}function M(){let e=O(r.modelValue);return p.value!==e&&(p.value=e),!0}function N(){let t=D(r.modelValue)===!0&&M()&&u[p.value];return r.keepAlive===!0?[a(e,x.value,[a(S.value===!0?c(b.value,()=>({...pi,name:b.value})):pi,{key:b.value,style:v.value},()=>t)])]:[a(`div`,{class:`q-panel scroll`,style:v.value,key:b.value,role:`tabpanel`},[t])]}function P(){if(u.length!==0)return r.animated===!0?[a(t,{name:f.value},N)]:N()}function F(e){return u=It($(e.default,[])).filter(e=>e.props!==null&&e.props.slot===void 0&&D(e.props.name)===!0),u.length}function I(){return u}return Object.assign(s,{next:C,previous:w,goTo:E}),{panelIndex:p,panelDirectives:h,updatePanelsList:F,updatePanelIndex:M,getPanelContent:P,getEnabledPanels:k,getPanels:I,isValidPanelName:D,keepAliveProps:x,needsUniqueKeepAliveWrapper:S,goToPanelByOffset:j,goToPanel:E,nextPanel:C,previousPanel:w}}let _i=0;const vi={fullscreen:Boolean,noRouteFullscreenExit:Boolean},yi=[`update:fullscreen`,`fullscreen`];function bi(){let e=i(),{props:t,emit:n,proxy:r}=e,a,o,s,c=y(!1);Lt(e)===!0&&T(()=>r.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&p()}),T(()=>t.fullscreen,e=>{c.value!==e&&l()}),T(c,e=>{n(`update:fullscreen`,e),n(`fullscreen`,e)});function l(){c.value===!0?p():u()}function u(){c.value!==!0&&(c.value=!0,s=r.$el.parentNode,s.replaceChild(o,r.$el),document.body.appendChild(r.$el),_i++,_i===1&&document.body.classList.add(`q-body--fullscreen-mixin`),a={handler:p},ve.add(a))}function p(){c.value===!0&&(a!==void 0&&(ve.remove(a),a=void 0),s.replaceChild(r.$el,o),c.value=!1,_i=Math.max(0,_i-1),_i===0&&(document.body.classList.remove(`q-body--fullscreen-mixin`),r.$el.scrollIntoView!==void 0&&setTimeout(()=>{r.$el.scrollIntoView()})))}return d(()=>{o=document.createElement(`span`)}),h(()=>{t.fullscreen===!0&&u()}),f(p),Object.assign(r,{toggleFullscreen:l,setFullscreen:u,exitFullscreen:p}),{inFullscreen:c,toggleFullscreen:l}}const xi=[`top`,`right`,`bottom`,`left`],Si=[`regular`,`flat`,`outline`,`push`,`unelevated`];var Ci=L({name:`QCarousel`,props:{...Et,...mi,...vi,transitionPrev:{type:String,default:`fade`},transitionNext:{type:String,default:`fade`},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>Si.includes(e),default:`flat`},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>xi.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...yi,...hi],setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=Dt(e,r),s=null,c,{updatePanelsList:l,getPanelContent:u,panelDirectives:d,goToPanel:p,previousPanel:m,nextPanel:g,getEnabledPanels:_,panelIndex:v}=gi(),{inFullscreen:y}=bi(),b=n(()=>y.value!==!0&&e.height!==void 0?{height:e.height}:{}),x=n(()=>e.vertical===!0?`vertical`:`horizontal`),S=n(()=>e.navigationPosition||(e.vertical===!0?`right`:`bottom`)),C=n(()=>`q-carousel q-panel-parent q-carousel--with${e.padding===!0?``:`out`}-padding`+(y.value===!0?` fullscreen`:``)+(o.value===!0?` q-carousel--dark q-dark`:``)+(e.arrows===!0?` q-carousel--arrows-${x.value}`:``)+(e.navigation===!0?` q-carousel--navigation-${S.value}`:``)),w=n(()=>{let t=[e.prevIcon||r.iconSet.carousel[e.vertical===!0?`up`:`left`],e.nextIcon||r.iconSet.carousel[e.vertical===!0?`down`:`right`]];return e.vertical===!1&&r.lang.rtl===!0?t.reverse():t}),E=n(()=>e.navigationIcon||r.iconSet.carousel.navigationIcon),D=n(()=>e.navigationActiveIcon||E.value),O=n(()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0}));T(()=>e.modelValue,()=>{e.autoplay&&k()}),T(()=>e.autoplay,e=>{e?k():s!==null&&(clearTimeout(s),s=null)});function k(){let t=Fe(e.autoplay)===!0?Math.abs(e.autoplay):5e3;s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,t>=0?g():m()},t)}h(()=>{e.autoplay&&k()}),f(()=>{s!==null&&clearTimeout(s)});function A(t,n){return a(`div`,{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${t} q-carousel__navigation--${S.value}`+(e.controlColor===void 0?``:` text-${e.controlColor}`)},[a(`div`,{class:`q-carousel__navigation-inner flex flex-center no-wrap`},_().map(n))])}function j(){let n=[];if(e.navigation===!0){let e=t[`navigation-icon`]===void 0?e=>a(On,{key:`nav`+e.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${e.active===!0?``:`in`}active`,...e.btnProps,onClick:e.onClick}):t[`navigation-icon`],r=c-1;n.push(A(`buttons`,(t,n)=>{let i=t.props.name,a=v.value===n;return e({index:n,maxIndex:r,name:i,active:a,btnProps:{icon:a===!0?D.value:E.value,size:`sm`,...O.value},onClick:()=>{p(i)}})}))}else if(e.thumbnails===!0){let t=e.controlColor===void 0?``:` text-${e.controlColor}`;n.push(A(`thumbnails`,n=>{let r=n.props;return a(`img`,{key:`tmb#`+r.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${r.name===e.modelValue?``:`in`}active`+t,src:r.imgSrc||r[`img-src`],onClick:()=>{p(r.name)}})}))}return e.arrows===!0&&v.value>=0&&((e.infinite===!0||v.value>0)&&n.push(a(`div`,{key:`prev`,class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${x.value} absolute flex flex-center`},[a(On,{icon:w.value[0],...O.value,onClick:m})])),(e.infinite===!0||v.value<c-1)&&n.push(a(`div`,{key:`next`,class:`q-carousel__control q-carousel__arrow q-carousel__next-arrow q-carousel__next-arrow--${x.value} absolute flex flex-center`},[a(On,{icon:w.value[1],...O.value,onClick:g})]))),at(t.control,n)}return()=>(c=l(t),a(`div`,{class:C.value,style:b.value},[st(`div`,{class:`q-carousel__slides-container`},u(),`sl-cont`,e.swipeable,()=>d.value)].concat(j())))}}),wi=L({name:`QCarouselSlide`,props:{...fi,imgSrc:String},setup(e,{slots:t}){let r=n(()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{});return()=>a(`div`,{class:`q-carousel__slide`,style:r.value},$(t.default))}}),Ti=L({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 r=n(()=>`q-carousel__control absolute absolute-${e.position}`),i=n(()=>({margin:`${e.offset[1]}px ${e.offset[0]}px`}));return()=>a(`div`,{class:r.value,style:i.value},$(t.default))}}),Ei=L({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 r=n(()=>e.sent===!0?`sent`:`received`),i=n(()=>`q-message-text-content q-message-text-content--${r.value}`+(e.textColor===void 0?``:` text-${e.textColor}`)),o=n(()=>`q-message-text q-message-text--${r.value}`+(e.bgColor===void 0?``:` text-${e.bgColor}`)),s=n(()=>`q-message-container row items-end no-wrap`+(e.sent===!0?` reverse`:``)),c=n(()=>e.size===void 0?``:`col-${e.size}`),l=n(()=>({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 u(n){return t.stamp===void 0?e.stamp?[n,a(`div`,{class:`q-message-stamp`,[l.value.stamp]:e.stamp})]:[n]:[n,a(`div`,{class:`q-message-stamp`},t.stamp())]}function d(e,t){let n=t===!0?e.length>1?e=>e:e=>a(`div`,[e]):e=>a(`div`,{[l.value.msg]:e});return e.map((e,t)=>a(`div`,{key:t,class:o.value},[a(`div`,{class:i.value},u(n(e)))]))}return()=>{let n=[];t.avatar===void 0?e.avatar!==void 0&&n.push(a(`img`,{class:`q-message-avatar q-message-avatar--${r.value}`,src:e.avatar,"aria-hidden":`true`})):n.push(t.avatar());let i=[];t.name===void 0?e.name!==void 0&&i.push(a(`div`,{class:`q-message-name q-message-name--${r.value}`,[l.value.name]:e.name})):i.push(a(`div`,{class:`q-message-name q-message-name--${r.value}`},t.name())),t.default===void 0?e.text!==void 0&&i.push(d(e.text)):i.push(d(It(t.default()),!0)),n.push(a(`div`,{class:c.value},i));let o=[];return t.label===void 0?e.label!==void 0&&o.push(a(`div`,{class:`q-message-label`,[l.value.label]:e.label})):o.push(a(`div`,{class:`q-message-label`},t.label())),o.push(a(`div`,{class:s.value},n)),a(`div`,{class:`q-message q-message-${r.value}`},o)}}});function Di(e,t){let r=y(null),i=n(()=>e.disable===!0?null:a(`span`,{ref:r,class:`no-outline`,tabindex:-1}));function o(e){let n=t.value;e?.qAvoidFocus!==!0&&(e?.type.indexOf(`key`)===0?document.activeElement!==n&&n?.contains(document.activeElement)===!0&&n.focus():r.value!==null&&(e===void 0||n?.contains(e.target)===!0)&&r.value.focus())}return{refocusTargetEl:i,refocusTarget:o}}var Oi={xs:30,sm:35,md:40,lg:50,xl:60};const ki={...Et,...nt,...ti,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]},Ai=[`update:modelValue`];function ji(e,t){let{props:r,slots:o,emit:s,proxy:c}=i(),{$q:l}=c,u=Dt(r,l),d=y(null),{refocusTargetEl:f,refocusTarget:p}=Di(r,d),m=rt(r,Oi),h=n(()=>r.val!==void 0&&Array.isArray(r.modelValue)),g=n(()=>{let e=x(r.val);return h.value===!0?r.modelValue.findIndex(t=>x(t)===e):-1}),_=n(()=>h.value===!0?g.value!==-1:x(r.modelValue)===x(r.trueValue)),v=n(()=>h.value===!0?g.value===-1:x(r.modelValue)===x(r.falseValue)),b=n(()=>_.value===!1&&v.value===!1),S=n(()=>r.disable===!0?-1:r.tabindex||0),C=n(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(r.disable===!0?` disabled`:``)+(u.value===!0?` q-${e}--dark`:``)+(r.dense===!0?` q-${e}--dense`:``)+(r.leftLabel===!0?` reverse`:``)),w=n(()=>`q-${e}__inner relative-position non-selectable q-${e}__inner--${_.value===!0?`truthy`:v.value===!0?`falsy`:`indet`}${r.color!==void 0&&(r.keepColor===!0||(e===`toggle`?_.value===!0:v.value!==!0))?` text-${r.color}`:``}`),T=ri(n(()=>{let e={type:`checkbox`};return r.name!==void 0&&Object.assign(e,{".checked":_.value,"^checked":_.value===!0?`checked`:void 0,name:r.name,value:h.value===!0?r.val:r.trueValue}),e})),E=n(()=>{let t={tabindex:S.value,role:e===`toggle`?`switch`:`checkbox`,"aria-label":r.label,"aria-checked":b.value===!0?`mixed`:_.value===!0?`true`:`false`};return r.disable===!0&&(t[`aria-disabled`]=`true`),t});function D(e){e!==void 0&&(J(e),p(e)),r.disable!==!0&&s(`update:modelValue`,O(),e)}function O(){if(h.value===!0){if(_.value===!0){let e=r.modelValue.slice();return e.splice(g.value,1),e}return r.modelValue.concat([r.val])}if(_.value===!0){if(r.toggleOrder!==`ft`||r.toggleIndeterminate===!1)return r.falseValue}else if(v.value===!0){if(r.toggleOrder===`ft`||r.toggleIndeterminate===!1)return r.trueValue}else return r.toggleOrder===`ft`?r.falseValue:r.trueValue;return r.indeterminateValue}function k(e){(e.keyCode===13||e.keyCode===32)&&J(e)}function A(e){(e.keyCode===13||e.keyCode===32)&&D(e)}let j=t(_,b);return Object.assign(c,{toggle:D}),()=>{let t=j();r.disable!==!0&&T(t,`unshift`,` q-${e}__native absolute q-ma-none q-pa-none`);let n=[a(`div`,{class:w.value,style:m.value,"aria-hidden":`true`},t)];f.value!==null&&n.push(f.value);let i=r.label===void 0?$(o.default):at(o.default,[r.label]);return i!==void 0&&n.push(a(`div`,{class:`q-${e}__label q-anchor--skip`},i)),a(`div`,{ref:d,class:C.value,...E.value,onClick:D,onKeydown:k,onKeyup:A},n)}}const Mi=()=>a(`div`,{key:`svg`,class:`q-checkbox__bg absolute`},[a(`svg`,{class:`q-checkbox__svg fit absolute-full`,viewBox:`0 0 24 24`},[a(`path`,{class:`q-checkbox__truthy`,fill:`none`,d:`M1.73,12.91 8.1,19.28 22.79,4.59`}),a(`path`,{class:`q-checkbox__indet`,d:`M4,14H20V10H4`})])]);var Ni=L({name:`QCheckbox`,props:ki,emits:Ai,setup(e){let t=Mi();function r(r,i){let o=n(()=>(r.value===!0?e.checkedIcon:i.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>o.value===null?[t]:[a(`div`,{key:`icon`,class:`q-checkbox__icon-container absolute-full flex flex-center no-wrap`},[a(St,{class:`q-checkbox__icon`,name:o.value})])]}return ji(`checkbox`,r)}});const Pi={xs:8,sm:10,md:14,lg:20,xl:24};var Fi=L({name:`QChip`,props:{...Et,...nt,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:r}){let{proxy:{$q:o}}=i(),s=Dt(e,o),c=rt(e,Pi),l=n(()=>e.selected===!0||e.icon!==void 0),u=n(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),d=n(()=>e.iconRemove||o.iconSet.chip.remove),f=n(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),p=n(()=>{let t=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}`:``)+(t?` text-${t} 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`:``)+(s.value===!0?` q-chip--dark q-dark`:``)}),m=n(()=>{let t=e.disable===!0?{tabindex:-1,"aria-disabled":`true`}:{tabindex:e.tabindex||0};return{chip:t,remove:{...t,role:`button`,"aria-hidden":`false`,"aria-label":e.removeAriaLabel||o.lang.label.remove}}});function h(e){e.keyCode===13&&g(e)}function g(t){e.disable||(r(`update:selected`,!e.selected),r(`click`,t))}function _(t){(t.keyCode===void 0||t.keyCode===13)&&(J(t),e.disable===!1&&(r(`update:modelValue`,!1),r(`remove`)))}function v(){let n=[];f.value===!0&&n.push(a(`div`,{class:`q-focus-helper`})),l.value===!0&&n.push(a(St,{class:`q-chip__icon q-chip__icon--left`,name:u.value}));let r=e.label===void 0?void 0:[a(`div`,{class:`ellipsis`},[e.label])];return n.push(a(`div`,{class:`q-chip__content col row no-wrap items-center q-anchor--skip`},ot(t.default,r))),e.iconRight&&n.push(a(St,{class:`q-chip__icon q-chip__icon--right`,name:e.iconRight})),e.removable===!0&&n.push(a(St,{class:`q-chip__icon q-chip__icon--remove cursor-pointer`,name:d.value,...m.value.remove,onClick:_,onKeyup:_})),n}return()=>{if(e.modelValue===!1)return;let t={class:p.value,style:c.value};return f.value===!0&&Object.assign(t,m.value.chip,{onClick:g,onKeyup:h}),st(`div`,t,v(),`ripple`,e.ripple!==!1&&e.disable!==!0,()=>[[pn,e.ripple]])}}});const Ii={...nt,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},Li=100*Math.PI,Ri=Math.round(Li*1e3)/1e3;var zi=L({name:`QCircularProgress`,props:{...Ii,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){let{proxy:{$q:r}}=i(),o=rt(e),s=n(()=>{let t=(r.lang.rtl===!0?-1:1)*e.angle;return{transform:e.reverse===(r.lang.rtl===!0)?`rotate3d(0, 0, 1, ${t-90}deg)`:`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-t}deg)`}}),c=n(()=>e.instantFeedback!==!0&&e.indeterminate!==!0?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:``),l=n(()=>100/(1-e.thickness/2)),u=n(()=>`${l.value/2} ${l.value/2} ${l.value} ${l.value}`),d=n(()=>We(e.value,e.min,e.max)),f=n(()=>e.max-e.min),p=n(()=>e.thickness/2*l.value),m=n(()=>{let t=(e.max-d.value)/f.value,n=e.rounded===!0&&d.value<e.max&&t<.25?p.value/2*(1-t/.25):0;return Li*t+n});function h({thickness:e,offset:t,color:n,cls:r,rounded:i}){return a(`circle`,{class:`q-circular-progress__`+r+(n===void 0?``:` text-${n}`),style:c.value,fill:`transparent`,stroke:`currentColor`,"stroke-width":e,"stroke-dasharray":Ri,"stroke-dashoffset":t,"stroke-linecap":i,cx:l.value,cy:l.value,r:50})}return()=>{let n=[];e.centerColor!==void 0&&e.centerColor!==`transparent`&&n.push(a(`circle`,{class:`q-circular-progress__center text-${e.centerColor}`,fill:`currentColor`,r:50-p.value/2,cx:l.value,cy:l.value})),e.trackColor!==void 0&&e.trackColor!==`transparent`&&n.push(h({cls:`track`,thickness:p.value,offset:0,color:e.trackColor})),n.push(h({cls:`circle`,thickness:p.value,offset:m.value,color:e.color,rounded:e.rounded===!0?`round`:void 0}));let r=[a(`svg`,{class:`q-circular-progress__svg`,style:s.value,viewBox:u.value,"aria-hidden":`true`},n)];return e.showValue===!0&&r.push(a(`div`,{class:`q-circular-progress__text absolute-full row flex-center content-center`,style:{fontSize:e.fontSize}},t.default===void 0?[a(`div`,d.value)]:t.default())),a(`div`,{class:`q-circular-progress q-circular-progress--${e.indeterminate===!0?`in`:``}determinate`,style:o.value,role:`progressbar`,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.indeterminate===!0?void 0:d.value},ot(t.internal,r))}}}),Bi=R({name:`touch-pan`,getSSRProps:fn});const Vi=e=>({value:e}),Hi=({marker:e})=>a(`div`,{key:e.value,style:e.style,class:e.classes},e.label),Ui=[34,37,40,33,39,38],Wi={...Et,...ti,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`}},Gi=[`pan`,`update:modelValue`,`change`];function Ki({updateValue:e,updatePosition:t,getDragging:r,formAttrs:o}){let{props:s,emit:c,slots:l,proxy:{$q:u}}=i(),d=Dt(s,u),p=ri(o),m=y(!1),h=y(!1),g=y(!1),_=y(!1),v=n(()=>s.vertical===!0?`--v`:`--h`),b=n(()=>`-`+(s.switchLabelSide===!0?`switched`:`standard`)),x=n(()=>s.vertical===!0?s.reverse===!0:s.reverse!==(u.lang.rtl===!0)),S=n(()=>isNaN(s.innerMin)===!0||s.innerMin<s.min?s.min:s.innerMin),C=n(()=>isNaN(s.innerMax)===!0||s.innerMax>s.max?s.max:s.innerMax),w=n(()=>s.disable!==!0&&s.readonly!==!0&&S.value<C.value),T=n(()=>{if(s.step===0)return e=>e;let e=(String(s.step).trim().split(`.`)[1]||``).length;return t=>parseFloat(t.toFixed(e))}),E=n(()=>s.step===0?1:s.step),D=n(()=>w.value===!0?s.tabindex||0:-1),O=n(()=>s.max-s.min),k=n(()=>C.value-S.value),A=n(()=>re(S.value)),j=n(()=>re(C.value)),M=n(()=>s.vertical===!0?x.value===!0?`bottom`:`top`:x.value===!0?`right`:`left`),N=n(()=>s.vertical===!0?`height`:`width`),P=n(()=>s.vertical===!0?`width`:`height`),F=n(()=>s.vertical===!0?`vertical`:`horizontal`),I=n(()=>{let e={role:`slider`,"aria-valuemin":S.value,"aria-valuemax":C.value,"aria-orientation":F.value,"data-step":s.step};return s.disable===!0?e[`aria-disabled`]=`true`:s.readonly===!0&&(e[`aria-readonly`]=`true`),e}),L=n(()=>`q-slider q-slider${v.value} q-slider--${m.value===!0?``:`in`}active inline no-wrap `+(s.vertical===!0?`row`:`column`)+(s.disable===!0?` disabled`:` q-slider--enabled`+(w.value===!0?` q-slider--editable`:``))+(g.value===`both`?` q-slider--focus`:``)+(s.label||s.labelAlways===!0?` q-slider--label`:``)+(s.labelAlways===!0?` q-slider--label-always`:``)+(d.value===!0?` q-slider--dark`:``)+(s.dense===!0?` q-slider--dense q-slider--dense`+v.value:``));function R(e){let t=`q-slider__`+e;return`${t} ${t}${v.value} ${t}${v.value}${b.value}`}function z(e){let t=`q-slider__`+e;return`${t} ${t}${v.value}`}let B=n(()=>{let e=s.selectionColor||s.color;return`q-slider__selection absolute`+(e===void 0?``:` text-${e}`)}),V=n(()=>z(`markers`)+` absolute overflow-hidden`),H=n(()=>z(`track-container`)),ee=n(()=>R(`pin`)),U=n(()=>R(`label`)),G=n(()=>R(`text-container`)),te=n(()=>R(`marker-labels-container`)+(s.markerLabelsClass===void 0?``:` ${s.markerLabelsClass}`)),K=n(()=>`q-slider__track relative-position no-outline`+(s.trackColor===void 0?``:` bg-${s.trackColor}`)),q=n(()=>{let e={[P.value]:s.trackSize};return s.trackImg!==void 0&&(e.backgroundImage=`url(${s.trackImg}) !important`),e}),J=n(()=>`q-slider__inner absolute`+(s.innerTrackColor===void 0?``:` bg-${s.innerTrackColor}`)),Y=n(()=>{let e=j.value-A.value,t={[M.value]:`${100*A.value}%`,[N.value]:e===0?`2px`:`${100*e}%`};return s.innerTrackImg!==void 0&&(t.backgroundImage=`url(${s.innerTrackImg}) !important`),t});function ne(e){let{min:t,max:n,step:r}=s,i=t+e*(n-t);if(r>0){let e=(i-S.value)%r;i+=(Math.abs(e)>=r/2?(e<0?-1:1)*r:0)-e}return i=T.value(i),We(i,S.value,C.value)}function re(e){return O.value===0?0:(e-s.min)/O.value}function ie(e,t){let n=W(e),r=s.vertical===!0?We((n.top-t.top)/t.height,0,1):We((n.left-t.left)/t.width,0,1);return We(x.value===!0?1-r:r,A.value,j.value)}let ae=n(()=>Fe(s.markers)===!0?s.markers:E.value),oe=n(()=>{let e=[],t=ae.value,n=s.max,r=s.min;do e.push(r),r+=t;while(r<n);return e.push(n),e}),se=n(()=>{let e=` q-slider__marker-labels${v.value}-`;return`q-slider__marker-labels${e}${s.switchMarkerLabelsSide===!0?`switched`:`standard`}${e}${x.value===!0?`rtl`:`ltr`}`}),ce=n(()=>s.markerLabels===!1?null:ue(s.markerLabels).map((e,t)=>({index:t,value:e.value,label:e.label||e.value,classes:se.value+(e.classes===void 0?``:` `+e.classes),style:{...de(e.value),...e.style||{}}}))),X=n(()=>({markerList:ce.value,markerMap:fe.value,classes:se.value,getStyle:de})),le=n(()=>{let e=k.value===0?`2px`:100*ae.value/k.value;return{...Y.value,backgroundSize:s.vertical===!0?`2px ${e}%`:`${e}% 2px`}});function ue(e){if(e===!1)return null;if(e===!0)return oe.value.map(Vi);if(typeof e==`function`)return oe.value.map(t=>{let n=e(t);return Me(n)===!0?{...n,value:t}:{value:t,label:n}});let t=({value:e})=>e>=s.min&&e<=s.max;return Array.isArray(e)===!0?e.map(e=>Me(e)===!0?e:{value:e}).filter(t):Object.keys(e).map(t=>{let n=e[t],r=Number(t);return Me(n)===!0?{...n,value:r}:{value:r,label:n}}).filter(t)}function de(e){return{[M.value]:`${100*(e-s.min)/O.value}%`}}let fe=n(()=>{if(s.markerLabels===!1)return null;let e={};return ce.value.forEach(t=>{e[t.value]=t}),e});function pe(){if(l[`marker-label-group`]!==void 0)return l[`marker-label-group`](X.value);let e=l[`marker-label`]||Hi;return ce.value.map(t=>e({marker:t,...X.value}))}let me=n(()=>[[Bi,he,void 0,{[F.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]);function he(n){n.isFinal===!0?(_.value!==void 0&&(t(n.evt),n.touch===!0&&e(!0),_.value=void 0,c(`pan`,`end`)),m.value=!1,g.value=!1):n.isFirst===!0?(_.value=r(n.evt),t(n.evt),e(),m.value=!0,c(`pan`,`start`)):(t(n.evt),e())}function ge(){g.value=!1}function _e(n){t(n,r(n)),e(),h.value=!0,m.value=!0,document.addEventListener(`mouseup`,ve,!0)}function ve(){h.value=!1,m.value=!1,e(!0),ge(),document.removeEventListener(`mouseup`,ve,!0)}function ye(n){t(n,r(n)),e(!0)}function be(t){Ui.includes(t.keyCode)&&e(!0)}function xe(e){if(s.vertical===!0)return null;let t=u.lang.rtl===s.reverse?e:1-e;return{transform:`translateX(calc(${2*t-1} * ${s.thumbSize} / 2 + ${50-100*t}%))`}}function Se(e){let t=n(()=>h.value===!1&&(g.value===e.focusValue||g.value===`both`)?` q-slider--focus`:``),r=n(()=>`q-slider__thumb q-slider__thumb${v.value} q-slider__thumb${v.value}-${x.value===!0?`rtl`:`ltr`} absolute non-selectable`+t.value+(e.thumbColor.value===void 0?``:` text-${e.thumbColor.value}`)),i=n(()=>({width:s.thumbSize,height:s.thumbSize,[M.value]:`${100*e.ratio.value}%`,zIndex:g.value===e.focusValue?2:void 0})),o=n(()=>e.labelColor.value===void 0?``:` text-${e.labelColor.value}`),c=n(()=>xe(e.ratio.value)),l=n(()=>`q-slider__text`+(e.labelTextColor.value===void 0?``:` text-${e.labelTextColor.value}`));return()=>{let t=[a(`svg`,{class:`q-slider__thumb-shape absolute-full`,viewBox:`0 0 20 20`,"aria-hidden":`true`},[a(`path`,{d:s.thumbPath})]),a(`div`,{class:`q-slider__focus-ring fit`})];return(s.label===!0||s.labelAlways===!0)&&(t.push(a(`div`,{class:ee.value+` absolute fit no-pointer-events`+o.value},[a(`div`,{class:U.value,style:{minWidth:s.thumbSize}},[a(`div`,{class:G.value,style:c.value},[a(`span`,{class:l.value},e.label.value)])])])),s.name!==void 0&&s.disable!==!0&&p(t,`push`)),a(`div`,{class:r.value,style:i.value,...e.getNodeData()},t)}}function Ce(e,t,n,r){let i=[];s.innerTrackColor!==`transparent`&&i.push(a(`div`,{key:`inner`,class:J.value,style:Y.value})),s.selectionColor!==`transparent`&&i.push(a(`div`,{key:`selection`,class:B.value,style:e.value})),s.markers!==!1&&i.push(a(`div`,{key:`marker`,class:V.value,style:le.value})),r(i);let o=[st(`div`,{key:`trackC`,class:H.value,tabindex:t.value,...n.value},[a(`div`,{class:K.value,style:q.value},i)],`slide`,w.value,()=>me.value)];return s.markerLabels!==!1&&o[s.switchMarkerLabelsSide===!0?`unshift`:`push`](a(`div`,{key:`markerL`,class:te.value},pe())),o}return f(()=>{document.removeEventListener(`mouseup`,ve,!0)}),{state:{active:m,focus:g,preventFocus:h,dragging:_,editable:w,classes:L,tabindex:D,attributes:I,roundValueFn:T,keyStep:E,trackLen:O,innerMin:S,innerMinRatio:A,innerMax:C,innerMaxRatio:j,positionProp:M,sizeProp:N,isReversed:x},methods:{onActivate:_e,onMobileClick:ye,onBlur:ge,onKeyup:be,getContent:Ce,getThumbRenderFn:Se,convertRatioToModel:ne,convertModelToRatio:re,getDraggingRatio:ie}}}const qi=()=>({});var Ji=L({name:`QSlider`,props:{...Wi,modelValue:{required:!0,default:null,validator:e=>typeof e==`number`||e===null},labelValue:[String,Number]},emits:Gi,setup(e,{emit:t}){let{proxy:{$q:r}}=i(),{state:o,methods:s}=Ki({updateValue:_,updatePosition:b,getDragging:v,formAttrs:ni(e)}),c=y(null),l=y(0),u=y(0);function d(){u.value=e.modelValue===null?o.innerMin.value:We(e.modelValue,o.innerMin.value,o.innerMax.value)}T(()=>`${e.modelValue}|${o.innerMin.value}|${o.innerMax.value}`,d),d();let f=n(()=>s.convertModelToRatio(u.value)),p=n(()=>o.active.value===!0?l.value:f.value),m=n(()=>{let t={[o.positionProp.value]:`${100*o.innerMinRatio.value}%`,[o.sizeProp.value]:`${100*(p.value-o.innerMinRatio.value)}%`};return e.selectionImg!==void 0&&(t.backgroundImage=`url(${e.selectionImg}) !important`),t}),h=s.getThumbRenderFn({focusValue:!0,getNodeData:qi,ratio:p,label:n(()=>e.labelValue===void 0?u.value:e.labelValue),thumbColor:n(()=>e.thumbColor||e.color),labelColor:n(()=>e.labelColor),labelTextColor:n(()=>e.labelTextColor)}),g=n(()=>o.editable.value===!0?r.platform.is.mobile===!0?{onClick:s.onMobileClick}:{onMousedown:s.onActivate,onFocus:x,onBlur:s.onBlur,onKeydown:S,onKeyup:s.onKeyup}:{});function _(n){u.value!==e.modelValue&&t(`update:modelValue`,u.value),n===!0&&t(`change`,u.value)}function v(){return c.value.getBoundingClientRect()}function b(t,n=o.dragging.value){let r=s.getDraggingRatio(t,n);u.value=s.convertRatioToModel(r),l.value=e.snap!==!0||e.step===0?r:s.convertModelToRatio(u.value)}function x(){o.focus.value=!0}function S(t){if(Ui.includes(t.keyCode)===!1)return;J(t);let n=([34,33].includes(t.keyCode)?10:1)*o.keyStep.value,r=([34,37,40].includes(t.keyCode)?-1:1)*(o.isReversed.value===!0?-1:1)*(e.vertical===!0?-1:1)*n;u.value=We(o.roundValueFn.value(u.value+r),o.innerMin.value,o.innerMax.value),_()}return()=>{let t=s.getContent(m,o.tabindex,g,e=>{e.push(h())});return a(`div`,{ref:c,class:o.classes.value+(e.modelValue===null?` q-slider--no-value`:``),...o.attributes.value,"aria-valuenow":e.modelValue},t)}}});function Yi(){let e=y(!j.value);return e.value===!1&&h(()=>{e.value=!0}),{isHydrated:e}}var Xi=L({name:`QResizeObserver`,props:{debounce:{type:[String,Number],default:100}},emits:[`resize`],setup(e,{emit:t}){return V}});function Zi(e,t,n){let r=n===!0?[`left`,`right`]:[`top`,`bottom`];return`absolute-${t===!0?r[0]:r[1]}${e?` text-${e}`:``}`}const Qi=[`left`,`center`,`right`,`justify`];var $i=L({name:`QTabs`,props:{modelValue:[Number,String],align:{type:String,default:`center`,validator:e=>Qi.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:r}){let{proxy:o}=i(),{$q:s}=o,{registerTick:c}=qn(),{registerTick:l}=qn(),{registerTick:d}=qn(),{registerTimeout:p,removeTimeout:h}=Jn(),{registerTimeout:g,removeTimeout:v}=Jn(),b=y(null),x=y(null),S=y(e.modelValue),C=y(!1),w=y(!0),E=y(!1),D=y(!1),O=[],k=y(0),A=y(!1),j=null,M=null,N,P=n(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:Zi(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),F=n(()=>{let e=k.value,t=S.value;for(let n=0;n<e;n++)if(O[n].name.value===t)return!0;return!1}),I=n(()=>`q-tabs__content--align-${C.value===!0?`left`:D.value===!0?`justify`:e.align}`),L=n(()=>`q-tabs row no-wrap items-center q-tabs--${C.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`:``)),R=n(()=>`q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position `+I.value+(e.contentClass===void 0?``:` ${e.contentClass}`)),z=n(()=>e.vertical===!0?{container:`height`,content:`offsetHeight`,scroll:`scrollHeight`}:{container:`width`,content:`offsetWidth`,scroll:`scrollWidth`}),B=n(()=>e.vertical!==!0&&s.lang.rtl===!0),V=n(()=>B.value===!0);T(B,te),T(()=>e.modelValue,e=>{H({name:e,setCurrent:!0,skipEmit:!0})}),T(()=>e.outsideArrows,ee);function H({name:t,setCurrent:n,skipEmit:i}){S.value!==t&&(i!==!0&&e[`onUpdate:modelValue`]!==void 0&&r(`update:modelValue`,t),(n===!0||e[`onUpdate:modelValue`]===void 0)&&(W(S.value,t),S.value=t))}function ee(){c(()=>{b.value&&U({width:b.value.offsetWidth,height:b.value.offsetHeight})})}function U(t){if(z.value===void 0||x.value===null)return;let n=t[z.value.container],r=Math.min(x.value[z.value.scroll],Array.prototype.reduce.call(x.value.children,(e,t)=>e+(t[z.value.content]||0),0)),i=n>0&&r>n;C.value=i,i===!0&&l(te),D.value=n<parseInt(e.breakpoint,10)}function W(t,n){let r=t!=null&&t!==``?O.find(e=>e.name.value===t):null,i=n!=null&&n!==``?O.find(e=>e.name.value===n):null;if(he===!0)he=!1;else if(r&&i){let t=r.tabIndicatorRef.value,n=i.tabIndicatorRef.value;j!==null&&(clearTimeout(j),j=null),t.style.transition=`none`,t.style.transform=`none`,n.style.transition=`none`,n.style.transform=`none`;let a=t.getBoundingClientRect(),o=n.getBoundingClientRect();n.style.transform=e.vertical===!0?`translate3d(0,${a.top-o.top}px,0) scale3d(1,${o.height?a.height/o.height:1},1)`:`translate3d(${a.left-o.left}px,0,0) scale3d(${o.width?a.width/o.width:1},1,1)`,d(()=>{j=setTimeout(()=>{j=null,n.style.transition=`transform .25s cubic-bezier(.4, 0, .2, 1)`,n.style.transform=`none`},70)})}i&&C.value===!0&&G(i.rootRef.value)}function G(t){let{left:n,width:r,top:i,height:a}=x.value.getBoundingClientRect(),o=t.getBoundingClientRect(),s=e.vertical===!0?o.top-i:o.left-n;if(s<0){x.value[e.vertical===!0?`scrollTop`:`scrollLeft`]+=Math.floor(s),te();return}s+=e.vertical===!0?o.height-a:o.width-r,s>0&&(x.value[e.vertical===!0?`scrollTop`:`scrollLeft`]+=Math.ceil(s),te())}function te(){let t=x.value;if(t===null)return;let n=t.getBoundingClientRect(),r=e.vertical===!0?t.scrollTop:Math.abs(t.scrollLeft);B.value===!0?(w.value=Math.ceil(r+n.width)<t.scrollWidth-1,E.value=r>0):(w.value=r>0,E.value=e.vertical===!0?Math.ceil(r+n.height)<t.scrollHeight:Math.ceil(r+n.width)<t.scrollWidth)}function K(e){M!==null&&clearInterval(M),M=setInterval(()=>{ie(e)===!0&&Y()},5)}function q(){K(V.value===!0?2**53-1:0)}function J(){K(V.value===!0?0:2**53-1)}function Y(){M!==null&&(clearInterval(M),M=null)}function ne(t,n){let r=Array.prototype.filter.call(x.value.children,e=>e===n||e.matches&&e.matches(`.q-tab.q-focusable`)===!0),i=r.length;if(i===0)return;if(t===36)return G(r[0]),r[0].focus(),!0;if(t===35)return G(r[i-1]),r[i-1].focus(),!0;let a=t===(e.vertical===!0?38:37),o=t===(e.vertical===!0?40:39),s=a===!0?-1:o===!0?1:void 0;if(s!==void 0){let e=B.value===!0?-1:1,t=r.indexOf(n)+s*e;return t>=0&&t<i&&(G(r[t]),r[t].focus({preventScroll:!0})),!0}}let re=n(()=>V.value===!0?{get:e=>Math.abs(e.scrollLeft),set:(e,t)=>{e.scrollLeft=-t}}:e.vertical===!0?{get:e=>e.scrollTop,set:(e,t)=>{e.scrollTop=t}}:{get:e=>e.scrollLeft,set:(e,t)=>{e.scrollLeft=t}});function ie(e){let t=x.value,{get:n,set:r}=re.value,i=!1,a=n(t),o=e<a?-1:1;return a+=o*5,a<0?(i=!0,a=0):(o===-1&&a<=e||o===1&&a>=e)&&(i=!0,a=e),r(t,a),te(),i}function ae(e,t){for(let n in e)if(e[n]!==t[n])return!1;return!0}function oe(){let e=null,t={matchedLen:0,queryDiff:9999,hrefLen:0},n=O.filter(e=>e.routeData?.hasRouterLink.value===!0),{hash:r,query:i}=o.$route,a=Object.keys(i).length;for(let o of n){let n=o.routeData.exact.value===!0;if(o.routeData[n===!0?`linkIsExactActive`:`linkIsActive`].value!==!0)continue;let{hash:s,query:c,matched:l,href:u}=o.routeData.resolvedLink.value,d=Object.keys(c).length;if(n===!0){if(s!==r||d!==a||ae(i,c)===!1)continue;e=o.name.value;break}if(s!==``&&s!==r||d!==0&&ae(c,i)===!1)continue;let f={matchedLen:l.length,queryDiff:a-d,hrefLen:u.length-s.length};if(f.matchedLen>t.matchedLen){e=o.name.value,t=f;continue}else if(f.matchedLen!==t.matchedLen)continue;if(f.queryDiff<t.queryDiff)e=o.name.value,t=f;else if(f.queryDiff!==t.queryDiff)continue;f.hrefLen>t.hrefLen&&(e=o.name.value,t=f)}if(e===null&&O.some(e=>e.routeData===void 0&&e.name.value===S.value)===!0){he=!1;return}H({name:e,setCurrent:!0})}function se(e){if(h(),A.value!==!0&&b.value!==null&&e.target&&typeof e.target.closest==`function`){let t=e.target.closest(`.q-tab`);t&&b.value.contains(t)===!0&&(A.value=!0,C.value===!0&&G(t))}}function ce(){p(()=>{A.value=!1},30)}function X(){fe.avoidRouteWatcher===!1?g(oe):v()}function le(){if(N===void 0){let e=T(()=>o.$route.fullPath,X);N=()=>{e(),N=void 0}}}function ue(e){O.push(e),k.value++,ee(),e.routeData===void 0||o.$route===void 0?g(()=>{if(C.value===!0){let e=S.value,t=e!=null&&e!==``?O.find(t=>t.name.value===e):null;t&&G(t.rootRef.value)}}):(le(),e.routeData.hasRouterLink.value===!0&&X())}function de(e){O.splice(O.indexOf(e),1),k.value--,ee(),N!==void 0&&e.routeData!==void 0&&(O.every(e=>e.routeData===void 0)===!0&&N(),X())}let fe={currentModel:S,tabProps:P,hasFocus:A,hasActiveTab:F,registerTab:ue,unregisterTab:de,verifyRouteModel:X,updateModel:H,onKbdNavigate:ne,avoidRouteWatcher:!1};_(ke,fe);function pe(){j!==null&&clearTimeout(j),Y(),N?.()}let me,he;return f(pe),m(()=>{me=N!==void 0,pe()}),u(()=>{me===!0&&(le(),he=!0,X()),ee()}),()=>a(`div`,{ref:b,class:L.value,role:`tablist`,onFocusin:se,onFocusout:ce},[a(Xi,{onResize:U}),a(`div`,{ref:x,class:R.value,onScroll:te},$(t.default)),a(St,{class:`q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon`+(w.value===!0?``:` q-tabs__arrow--faded`),name:e.leftIcon||s.iconSet.tabs[e.vertical===!0?`up`:`left`],onMousedownPassive:q,onTouchstartPassive:q,onMouseupPassive:Y,onMouseleavePassive:Y,onTouchendPassive:Y}),a(St,{class:`q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon`+(E.value===!0?``:` q-tabs__arrow--faded`),name:e.rightIcon||s.iconSet.tabs[e.vertical===!0?`down`:`right`],onMousedownPassive:J,onTouchstartPassive:J,onMouseupPassive:Y,onMouseleavePassive:Y,onTouchendPassive:Y})])}});let ea=0;const ta=[`click`,`keydown`],na={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${ea++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function ra(e,t,r,s){let c=o(ke,Z);if(c===Z)return console.error(`QTab/QRouteTab component needs to be child of QTabs`),Z;let{proxy:l}=i(),u=y(null),d=y(null),p=y(null),m=n(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),g=n(()=>c.currentModel.value===e.name),_=n(()=>`q-tab relative-position self-stretch flex flex-center text-center`+(g.value===!0?` q-tab--active`+(c.tabProps.value.activeClass?` `+c.tabProps.value.activeClass:``)+(c.tabProps.value.activeColor?` text-${c.tabProps.value.activeColor}`:``)+(c.tabProps.value.activeBgColor?` bg-${c.tabProps.value.activeBgColor}`:``):` q-tab--inactive`)+(e.icon&&e.label&&c.tabProps.value.inlineLabel===!1?` q-tab--full`:``)+(e.noCaps===!0||c.tabProps.value.noCaps===!0?` q-tab--no-caps`:``)+(e.disable===!0?` disabled`:` q-focusable q-hoverable cursor-pointer`)+(s===void 0?``:s.linkClass.value)),v=n(()=>`q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable `+(c.tabProps.value.inlineLabel===!0?`row no-wrap q-tab__content--inline`:`column`)+(e.contentClass===void 0?``:` ${e.contentClass}`)),b=n(()=>e.disable===!0||c.hasFocus.value===!0||g.value===!1&&c.hasActiveTab.value===!0?-1:e.tabindex||0);function x(t,n){if(n!==!0&&t?.qAvoidFocus!==!0&&u.value?.focus(),e.disable===!0){s?.hasRouterLink.value===!0&&J(t);return}if(s===void 0){c.updateModel({name:e.name}),r(`click`,t);return}if(s.hasRouterLink.value===!0){let n=(n={})=>{let r,i=n.to===void 0||je(n.to,e.to)===!0?c.avoidRouteWatcher=Jr():null;return s.navigateToRouterLink(t,{...n,returnRouterError:!0}).catch(e=>{r=e}).then(t=>{if(i===c.avoidRouteWatcher&&(c.avoidRouteWatcher=!1,r===void 0&&(t===void 0||t.message?.startsWith(`Avoided redundant navigation`)===!0)&&c.updateModel({name:e.name})),n.returnRouterError===!0)return r===void 0?t:Promise.reject(r)})};r(`click`,t,n),t.defaultPrevented!==!0&&n();return}r(`click`,t)}function S(e){fe(e,[13,32])?x(e,!0):de(e)!==!0&&e.keyCode>=35&&e.keyCode<=40&&e.altKey!==!0&&e.metaKey!==!0&&c.onKbdNavigate(e.keyCode,l.$el)===!0&&J(e),r(`keydown`,e)}function C(){let n=c.tabProps.value.narrowIndicator,r=[],i=a(`div`,{ref:p,class:[`q-tab__indicator`,c.tabProps.value.indicatorClass]});e.icon!==void 0&&r.push(a(St,{class:`q-tab__icon`,name:e.icon})),e.label!==void 0&&r.push(a(`div`,{class:`q-tab__label`},e.label)),e.alert!==!1&&r.push(e.alertIcon===void 0?a(`div`,{class:`q-tab__alert`+(e.alert===!0?``:` text-${e.alert}`)}):a(St,{class:`q-tab__alert-icon`,color:e.alert===!0?void 0:e.alert,name:e.alertIcon})),n===!0&&r.push(i);let o=[a(`div`,{class:`q-focus-helper`,tabindex:-1,ref:u}),a(`div`,{class:v.value},at(t.default,r))];return n===!1&&o.push(i),o}let w={name:n(()=>e.name),rootRef:d,tabIndicatorRef:p,routeData:s};f(()=>{c.unregisterTab(w)}),h(()=>{c.registerTab(w)});function T(t,n){return E(a(t,{ref:d,class:_.value,tabindex:b.value,role:`tab`,"aria-selected":g.value===!0?`true`:`false`,"aria-disabled":e.disable===!0?`true`:void 0,onClick:x,onKeydown:S,...n},C()),[[pn,m.value]])}return{renderTab:T,$tabs:c}}var ia=L({name:`QTab`,props:na,emits:ta,setup(e,{slots:t,emit:n}){let{renderTab:r}=ra(e,t,n);return()=>r(`div`)}}),aa=L({name:`QTabPanels`,props:{...mi,...Et},emits:hi,setup(e,{slots:t}){let r=Dt(e,i().proxy.$q),{updatePanelsList:a,getPanelContent:o,panelDirectives:s}=gi(),c=n(()=>`q-tab-panels q-panel-parent`+(r.value===!0?` q-tab-panels--dark q-dark`:``));return()=>(a(t),st(`div`,{class:c.value},o(),`pan`,e.swipeable,()=>s.value))}}),oa=L({name:`QTabPanel`,props:fi,setup(e,{slots:t}){return()=>a(`div`,{class:`q-tab-panel`,role:`tabpanel`},$(t.default))}});const sa=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,ca=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,la=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,ua=/^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])\)$/,da=/^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)\)$/,fa={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=>sa.test(e),hexaColor:e=>ca.test(e),hexOrHexaColor:e=>la.test(e),rgbColor:e=>ua.test(e),rgbaColor:e=>da.test(e),rgbOrRgbaColor:e=>ua.test(e)||da.test(e),hexOrRgbColor:e=>sa.test(e)||ua.test(e),hexaOrRgbaColor:e=>ca.test(e)||da.test(e),anyColor:e=>la.test(e)||ua.test(e)||da.test(e)};var pa={testPattern:fa};const ma=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function ha({r:e,g:t,b:n,a:r}){let i=r!==void 0;if(e=Math.round(e),t=Math.round(t),n=Math.round(n),e>255||t>255||n>255||i&&r>100)throw TypeError(`Expected 3 numbers below 256 (and optionally one below 100)`);return r=i?(Math.round(255*r/100)|256).toString(16).slice(1):``,`#`+(n|t<<8|e<<16|1<<24).toString(16).slice(1)+r}function ga({r:e,g:t,b:n,a:r}){return`rgb${r===void 0?``:`a`}(${e},${t},${n}${r===void 0?``:`,`+r/100})`}function _a(e){if(typeof e!=`string`)throw 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 va({h:e,s:t,v:n,a:r}){let i,a,o;t/=100,n/=100,e/=360;let s=Math.floor(e*6),c=e*6-s,l=n*(1-t),u=n*(1-c*t),d=n*(1-(1-c)*t);switch(s%6){case 0:i=n,a=d,o=l;break;case 1:i=u,a=n,o=l;break;case 2:i=l,a=n,o=d;break;case 3:i=l,a=u,o=n;break;case 4:i=d,a=l,o=n;break;case 5:i=n,a=l,o=u;break}return{r:Math.round(i*255),g:Math.round(a*255),b:Math.round(o*255),a:r}}function ya({r:e,g:t,b:n,a:r}){let i=Math.max(e,t,n),a=Math.min(e,t,n),o=i-a,s=i===0?0:o/i,c=i/255,l;switch(i){case a:l=0;break;case e:l=t-n+o*(t<n?6:0),l/=6*o;break;case t:l=n-e+o*2,l/=6*o;break;case n:l=e-t+o*4,l/=6*o;break}return{h:Math.round(l*360),s:Math.round(s*100),v:Math.round(c*100),a:r}}function ba(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);let t=e.replace(/ /g,``),n=ma.exec(t);if(n===null)return _a(t);let r={r:Math.min(255,parseInt(n[2],10)),g:Math.min(255,parseInt(n[3],10)),b:Math.min(255,parseInt(n[4],10))};if(n[1]){let e=parseFloat(n[5]);r.a=Math.min(1,isNaN(e)===!0?1:e)*100}return r}function xa(e,t){if(typeof e!=`string`)throw TypeError(`Expected a string as color`);if(typeof t!=`number`)throw TypeError(`Expected a numeric percent`);let n=ba(e),r=t<0?0:255,i=Math.abs(t)/100,a=n.r,o=n.g,s=n.b;return`#`+(16777216+(Math.round((r-a)*i)+a)*65536+(Math.round((r-o)*i)+o)*256+(Math.round((r-s)*i)+s)).toString(16).slice(1)}function Sa(e){if(typeof e!=`string`&&(!e||e.r===void 0))throw TypeError(`Expected a string or a {r, g, b} object as color`);let t=typeof e==`string`?ba(e):e,n=t.r/255,r=t.g/255,i=t.b/255,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4,s=i<=.03928?i/12.92:((i+.055)/1.055)**2.4;return .2126*a+.7152*o+.0722*s}function Ca(e){if(typeof e!=`string`&&(!e||e.r===void 0))throw TypeError(`Expected a string or a {r, g, b} object as color`);let t=typeof e==`string`?ba(e):e;return(t.r*299+t.g*587+t.b*114)/1e3}function wa(e,t){if(typeof e!=`string`&&(!e||e.r===void 0))throw TypeError(`Expected a string or a {r, g, b[, a]} object as fgColor`);if(typeof t!=`string`&&(!t||t.r===void 0))throw TypeError(`Expected a string or a {r, g, b[, a]} object as bgColor`);let n=typeof e==`string`?ba(e):e,r=n.r/255,i=n.g/255,a=n.b/255,o=n.a===void 0?1:n.a/100,s=typeof t==`string`?ba(t):t,c=s.r/255,l=s.g/255,u=s.b/255,d=s.a===void 0?1:s.a/100,f=o+d*(1-o),p={r:Math.round((r*o+c*d*(1-o))/f*255),g:Math.round((i*o+l*d*(1-o))/f*255),b:Math.round((a*o+u*d*(1-o))/f*255),a:Math.round(f*100)};return typeof e==`string`?ha(p):p}function Ta(e,t){if(typeof e!=`string`)throw TypeError(`Expected a string as color`);if(t===void 0||t<-1||t>1)throw TypeError(`Expected offset to be between -1 and 1`);let{r:n,g:r,b:i,a}=ba(e),o=a===void 0?0:a/100;return ha({r:n,g:r,b:i,a:Math.round(Math.min(1,Math.max(0,o+t))*100)})}function Ea(e){if(typeof e!=`string`)throw 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 n=getComputedStyle(t).getPropertyValue(`color`);return t.remove(),ha(ba(n))}var Da={rgbToHex:ha,hexToRgb:_a,hsvToRgb:va,rgbToHsv:ya,textToRgb:ba,lighten:xa,luminosity:Sa,brightness:Ca,blend:wa,changeAlpha:Ta,getPaletteColor:Ea};const Oa=`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)`.split(`.`),ka=`M5 5 h10 v10 h-10 v-10 z`;var Aa=L({name:`QColor`,props:{...Et,...ti,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:r}=i(),{$q:o}=r,s=Dt(e,o),{getCache:c}=di(),u=y(null),d=y(null),f=n(()=>e.formatModel===`auto`?null:e.formatModel.indexOf(`hex`)!==-1),p=n(()=>e.formatModel===`auto`?null:e.formatModel.indexOf(`a`)!==-1),m=y(e.formatModel===`auto`?e.modelValue===void 0||e.modelValue===null||e.modelValue===``||e.modelValue.startsWith(`#`)?`hex`:`rgb`:e.formatModel.startsWith(`hex`)?`hex`:`rgb`),h=y(e.defaultView),g=y(N(e.modelValue||e.defaultValue)),_=n(()=>e.disable!==!0&&e.readonly!==!0),v=n(()=>e.modelValue===void 0||e.modelValue===null||e.modelValue===``||e.modelValue.startsWith(`#`)),b=n(()=>f.value===null?v.value:f.value),x=ri(n(()=>({type:`hidden`,name:e.name,value:g.value[b.value===!0?`hex`:`rgb`]}))),S=n(()=>p.value===null?g.value.a!==void 0:p.value),C=n(()=>({backgroundColor:g.value.rgb||`#000`})),w=n(()=>`q-color-picker__header-content q-color-picker__header-content--${g.value.a!==void 0&&g.value.a<65||Sa(g.value)>.4?`light`:`dark`}`),E=n(()=>({background:`hsl(${g.value.h},100%,50%)`})),D=n(()=>({top:`${100-g.value.v}%`,[o.lang.rtl===!0?`right`:`left`]:`${g.value.s}%`})),O=n(()=>e.palette!==void 0&&e.palette.length!==0?e.palette:Oa),k=n(()=>`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`:``)+(s.value===!0?` q-color-picker--dark q-dark`:``)),A=n(()=>e.disable===!0?{"aria-disabled":`true`}:{}),j=n(()=>[[Bi,B,void 0,{prevent:!0,stop:!0,mouse:!0}]]);T(()=>e.modelValue,t=>{let n=N(t||e.defaultValue);n.hex!==g.value.hex&&(g.value=n)}),T(()=>e.defaultValue,t=>{if(!e.modelValue&&t){let e=N(t);e.hex!==g.value.hex&&(g.value=e)}});function M(e,n){g.value.hex=ha(e),g.value.rgb=ga(e),g.value.r=e.r,g.value.g=e.g,g.value.b=e.b,g.value.a=e.a;let r=g.value[b.value===!0?`hex`:`rgb`];t(`update:modelValue`,r),n===!0&&t(`change`,r)}function N(t){let n=p.value===void 0?e.formatModel===`auto`?null:e.formatModel.indexOf(`a`)!==-1:p.value;if(typeof t!=`string`||t.length===0||fa.anyColor(t.replace(/ /g,``))!==!0)return{h:0,s:0,v:0,r:0,g:0,b:0,a:n===!0?100:void 0,hex:void 0,rgb:void 0};let r=ba(t);return n===!0&&r.a===void 0&&(r.a=100),r.hex=ha(r),r.rgb=ga(r),Object.assign(r,ya(r))}function P(e,t,n){let r=u.value;if(r===null)return;let i=r.clientWidth,a=r.clientHeight,s=r.getBoundingClientRect(),c=Math.min(i,Math.max(0,e-s.left));o.lang.rtl===!0&&(c=i-c);let l=Math.min(a,Math.max(0,t-s.top)),d=Math.round(100*c/i),f=Math.round(100*Math.max(0,Math.min(1,-(l/a)+1))),p=va({h:g.value.h,s:d,v:f,a:S.value===!0?g.value.a:void 0});g.value.s=d,g.value.v=f,M(p,n)}function F(e,t){let n=Math.round(e),r=va({h:n,s:g.value.s,v:g.value.v,a:S.value===!0?g.value.a:void 0});g.value.h=n,M(r,t)}function I(e){F(e,!0)}function L(e,t,n,i,a){if(i!==void 0&&K(i),!/^[0-9]+$/.test(e)){a===!0&&r.$forceUpdate();return}let o=Math.floor(Number(e));if(o<0||o>n){a===!0&&r.$forceUpdate();return}let s={r:t===`r`?o:g.value.r,g:t===`g`?o:g.value.g,b:t===`b`?o:g.value.b,a:S.value===!0?t===`a`?o:g.value.a:void 0};if(t!==`a`){let e=ya(s);g.value.h=e.h,g.value.s=e.s,g.value.v=e.v}if(M(s,a),a!==!0&&i?.target.selectionEnd!==void 0){let e=i.target.selectionEnd;l(()=>{i.target.setSelectionRange(e,e)})}}function R(e,t){let n,r=e.target.value;if(K(e),m.value===`hex`){if(r.length!==(S.value===!0?9:7)||!/^#[0-9A-Fa-f]+$/.test(r))return!0;n=_a(r)}else{let e;if(!r.endsWith(`)`))return!0;if(S.value!==!0&&r.startsWith(`rgb(`)){if(e=r.substring(4,r.length-1).split(`,`).map(e=>parseInt(e,10)),e.length!==3||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(r))return!0}else if(S.value===!0&&r.startsWith(`rgba(`)){if(e=r.substring(5,r.length-1).split(`,`),e.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(r))return!0;for(let t=0;t<3;t++){let n=parseInt(e[t],10);if(n<0||n>255)return!0;e[t]=n}let t=parseFloat(e[3]);if(t<0||t>1)return!0;e[3]=t}else return!0;if(e[0]<0||e[0]>255||e[1]<0||e[1]>255||e[2]<0||e[2]>255||S.value===!0&&(e[3]<0||e[3]>1))return!0;n={r:e[0],g:e[1],b:e[2],a:S.value===!0?e[3]*100:void 0}}let i=ya(n);if(g.value.h=i.h,g.value.s=i.s,g.value.v=i.v,M(n,t),t!==!0){let t=e.target.selectionEnd;l(()=>{e.target.setSelectionRange(t,t)})}}function z(e){let t=N(e),n={r:t.r,g:t.g,b:t.b,a:t.a};n.a===void 0&&(n.a=g.value.a),g.value.h=t.h,g.value.s=t.s,g.value.v=t.v,M(n,!0)}function B(e){e.isFinal?P(e.position.left,e.position.top,!0):V(e)}let V=dn(e=>{P(e.position.left,e.position.top)},20);function H(e){P(e.pageX-window.pageXOffset,e.pageY-window.pageYOffset,!0)}function ee(e){P(e.pageX-window.pageXOffset,e.pageY-window.pageYOffset)}function U(e){d.value!==null&&(d.value.$el.style.opacity=e?1:0)}function W(e){m.value=e}function G(){let t=[];return e.noHeaderTabs!==!0&&t.push(a($i,{class:`q-color-picker__header-tabs`,modelValue:m.value,dense:!0,align:`justify`,"onUpdate:modelValue":W},()=>[a(ia,{label:`HEX`+(S.value===!0?`A`:``),name:`hex`,ripple:!1}),a(ia,{label:`RGB`+(S.value===!0?`A`:``),name:`rgb`,ripple:!1})])),t.push(a(`div`,{class:`q-color-picker__header-banner row flex-center no-wrap`},[a(`input`,{class:`fit`,value:g.value[m.value],..._.value===!0?{}:{readonly:!0},...c(`topIn`,{onInput:e=>{U(R(e)===!0)},onChange:K,onBlur:e=>{R(e,!0)===!0&&r.$forceUpdate(),U(!1)}})}),a(St,{ref:d,class:`q-color-picker__error-icon absolute no-pointer-events`,name:o.iconSet.type.negative})])),a(`div`,{class:`q-color-picker__header relative-position overflow-hidden`},[a(`div`,{class:`q-color-picker__header-bg absolute-full`}),a(`div`,{class:w.value,style:C.value},t)])}function te(){return a(aa,{modelValue:h.value,animated:!0},()=>[a(oa,{class:`q-color-picker__spectrum-tab overflow-hidden`,name:`spectrum`},Y),a(oa,{class:`q-pa-md q-color-picker__tune-tab`,name:`tune`},ne),a(oa,{class:`q-color-picker__palette-tab`,name:`palette`},re)])}function q(e){h.value=e}function J(){return a(`div`,{class:`q-color-picker__footer relative-position overflow-hidden`},[a($i,{class:`absolute-full`,modelValue:h.value,dense:!0,align:`justify`,"onUpdate:modelValue":q},()=>[a(ia,{icon:o.iconSet.colorPicker.spectrum,name:`spectrum`,ripple:!1}),a(ia,{icon:o.iconSet.colorPicker.tune,name:`tune`,ripple:!1}),a(ia,{icon:o.iconSet.colorPicker.palette,name:`palette`,ripple:!1})])])}function Y(){let e={ref:u,class:`q-color-picker__spectrum non-selectable relative-position cursor-pointer`+(_.value===!0?``:` readonly`),style:E.value,..._.value===!0?{onClick:H,onMousedown:ee}:{}},t=[a(`div`,{style:{paddingBottom:`100%`}}),a(`div`,{class:`q-color-picker__spectrum-white absolute-full`}),a(`div`,{class:`q-color-picker__spectrum-black absolute-full`}),a(`div`,{class:`absolute`,style:D.value},[g.value.hex===void 0?null:a(`div`,{class:`q-color-picker__spectrum-circle`})])],n=[a(Ji,{class:`q-color-picker__hue non-selectable`,modelValue:g.value.h,min:0,max:360,trackSize:`8px`,innerTrackColor:`transparent`,selectionColor:`transparent`,readonly:_.value!==!0,thumbPath:ka,"onUpdate:modelValue":F,onChange:I})];return S.value===!0&&n.push(a(Ji,{class:`q-color-picker__alpha non-selectable`,modelValue:g.value.a,min:0,max:100,trackSize:`8px`,trackColor:`white`,innerTrackColor:`transparent`,selectionColor:`transparent`,trackImg:`data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==`,readonly:_.value!==!0,hideSelection:!0,thumbPath:ka,...c(`alphaSlide`,{"onUpdate:modelValue":e=>L(e,`a`,100),onChange:e=>L(e,`a`,100,void 0,!0)})})),[st(`div`,e,t,`spec`,_.value,()=>j.value),a(`div`,{class:`q-color-picker__sliders`},n)]}function ne(){return[a(`div`,{class:`row items-center no-wrap`},[a(`div`,`R`),a(Ji,{modelValue:g.value.r,min:0,max:255,color:`red`,dark:s.value,readonly:_.value!==!0,...c(`rSlide`,{"onUpdate:modelValue":e=>L(e,`r`,255),onChange:e=>L(e,`r`,255,void 0,!0)})}),a(`input`,{value:g.value.r,maxlength:3,readonly:_.value!==!0,onChange:K,...c(`rIn`,{onInput:e=>L(e.target.value,`r`,255,e),onBlur:e=>L(e.target.value,`r`,255,e,!0)})})]),a(`div`,{class:`row items-center no-wrap`},[a(`div`,`G`),a(Ji,{modelValue:g.value.g,min:0,max:255,color:`green`,dark:s.value,readonly:_.value!==!0,...c(`gSlide`,{"onUpdate:modelValue":e=>L(e,`g`,255),onChange:e=>L(e,`g`,255,void 0,!0)})}),a(`input`,{value:g.value.g,maxlength:3,readonly:_.value!==!0,onChange:K,...c(`gIn`,{onInput:e=>L(e.target.value,`g`,255,e),onBlur:e=>L(e.target.value,`g`,255,e,!0)})})]),a(`div`,{class:`row items-center no-wrap`},[a(`div`,`B`),a(Ji,{modelValue:g.value.b,min:0,max:255,color:`blue`,readonly:_.value!==!0,dark:s.value,...c(`bSlide`,{"onUpdate:modelValue":e=>L(e,`b`,255),onChange:e=>L(e,`b`,255,void 0,!0)})}),a(`input`,{value:g.value.b,maxlength:3,readonly:_.value!==!0,onChange:K,...c(`bIn`,{onInput:e=>L(e.target.value,`b`,255,e),onBlur:e=>L(e.target.value,`b`,255,e,!0)})})]),S.value===!0?a(`div`,{class:`row items-center no-wrap`},[a(`div`,`A`),a(Ji,{modelValue:g.value.a,color:`grey`,readonly:_.value!==!0,dark:s.value,...c(`aSlide`,{"onUpdate:modelValue":e=>L(e,`a`,100),onChange:e=>L(e,`a`,100,void 0,!0)})}),a(`input`,{value:g.value.a,maxlength:3,readonly:_.value!==!0,onChange:K,...c(`aIn`,{onInput:e=>L(e.target.value,`a`,100,e),onBlur:e=>L(e.target.value,`a`,100,e,!0)})})]):null]}function re(){return[a(`div`,{class:`row items-center q-color-picker__palette-rows`+(_.value===!0?` q-color-picker__palette-rows--editable`:``)},O.value.map(e=>a(`div`,{class:`q-color-picker__cube col-auto`,style:{backgroundColor:e},..._.value===!0?c(`palette#`+e,{onClick:()=>{z(e)}}):{}})))]}return()=>{let t=[te()];return e.name!==void 0&&e.disable!==!0&&x(t,`push`),e.noHeader!==!0&&t.unshift(G()),e.noFooter!==!0&&t.push(J()),a(`div`,{class:k.value,...A.value},t)}}});const ja=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function Ma(e,t,n){return Object.prototype.toString.call(e)===`[object Date]`&&(n=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),za(Ba(e,t,n))}function Na(e,t,n){return Va(Ra(e,t,n))}function Pa(e){return Ia(e)===0}function Fa(e,t){return t<=6?31:t<=11||Pa(e)?30:29}function Ia(e){let t=ja.length,n=ja[0],r,i,a,o,s;if(e<n||e>=ja[t-1])throw Error(`Invalid Jalaali year `+e);for(s=1;s<t&&(r=ja[s],i=r-n,!(e<r));s+=1)n=r;return o=e-n,i-o<6&&(o=o-i+Ha(i+4,33)*33),a=Ua(Ua(o+1,33)-1,4),a===-1&&(a=4),a}function La(e,t){let n=ja.length,r=e+621,i=-14,a=ja[0],o,s,c,l,u;if(e<a||e>=ja[n-1])throw Error(`Invalid Jalaali year `+e);for(u=1;u<n&&(o=ja[u],s=o-a,!(e<o));u+=1)i=i+Ha(s,33)*8+Ha(Ua(s,33),4),a=o;l=e-a,i=i+Ha(l,33)*8+Ha(Ua(l,33)+3,4),Ua(s,33)===4&&s-l===4&&(i+=1);let d=Ha(r,4)-Ha((Ha(r,100)+1)*3,4)-150,f=20+i-d;return t||(s-l<6&&(l=l-s+Ha(s+4,33)*33),c=Ua(Ua(l+1,33)-1,4),c===-1&&(c=4)),{leap:c,gy:r,march:f}}function Ra(e,t,n){let r=La(e,!0);return Ba(r.gy,3,r.march)+(t-1)*31-Ha(t,7)*(t-7)+n-1}function za(e){let t=Va(e).gy,n=t-621,r,i,a,o=La(n,!1);if(a=e-Ba(t,3,o.march),a>=0){if(a<=185)return i=1+Ha(a,31),r=Ua(a,31)+1,{jy:n,jm:i,jd:r};a-=186}else --n,a+=179,o.leap===1&&(a+=1);return i=7+Ha(a,30),r=Ua(a,30)+1,{jy:n,jm:i,jd:r}}function Ba(e,t,n){let r=Ha((e+Ha(t-8,6)+100100)*1461,4)+Ha(153*Ua(t+9,12)+2,5)+n-34840408;return r=r-Ha(Ha(e+100100+Ha(t-8,6),100)*3,4)+752,r}function Va(e){let t=4*e+139361631;t=t+Ha(Ha(4*e+183187720,146097)*3,4)*4-3908;let n=Ha(Ua(t,1461),4)*5+308,r=Ha(Ua(n,153),5)+1,i=Ua(Ha(n,153),12)+1;return{gy:Ha(t,1461)-100100+Ha(8-i,6),gm:i,gd:r}}function Ha(e,t){return~~(e/t)}function Ua(e,t){return e-~~(e/t)*t}const Wa=[`gregorian`,`persian`],Ga={mask:{type:String},locale:Object,calendar:{type:String,validator:e=>Wa.includes(e),default:`gregorian`},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},Ka=[`update:modelValue`];function qa(e){return e.year+`/`+Q(e.month)+`/`+Q(e.day)}function Ja(e,t){let r=n(()=>e.disable!==!0&&e.readonly!==!0),i=n(()=>r.value===!0?0:-1),a=n(()=>{let t=[];return e.color!==void 0&&t.push(`bg-${e.color}`),e.textColor!==void 0&&t.push(`text-${e.textColor}`),t.join(` `)});function o(){return e.locale===void 0?t.lang.date:{...t.lang.date,...e.locale}}function s(t){let n=new Date,r=t===!0?null:0;if(e.calendar===`persian`){let e=Ma(n);return{year:e.jy,month:e.jm,day:e.jd}}return{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:r,minute:r,second:r,millisecond:r}}return{editable:r,tabindex:i,headerClass:a,getLocale:o,getCurrentDate:s}}const Ya=864e5,Xa=6e4,Za=`YYYY-MM-DDTHH:mm:ss.SSSZ`,Qa=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|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,$a=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|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,eo={};function to(e,t){let n=`(`+t.days.join(`|`)+`)`,r=e+n;if(eo[r]!==void 0)return eo[r];let i=`(`+t.daysShort.join(`|`)+`)`,a=`(`+t.months.join(`|`)+`)`,o=`(`+t.monthsShort.join(`|`)+`)`,s={},c=0,l=e.replace($a,e=>{switch(c++,e){case`YY`:return s.YY=c,`(-?\\d{1,2})`;case`YYYY`:return s.YYYY=c,`(-?\\d{1,4})`;case`M`:return s.M=c,`(\\d{1,2})`;case`Mo`:return s.M=c++,`(\\d{1,2}(st|nd|rd|th))`;case`MM`:return s.M=c,`(\\d{2})`;case`MMM`:return s.MMM=c,o;case`MMMM`:return s.MMMM=c,a;case`D`:return s.D=c,`(\\d{1,2})`;case`Do`:return s.D=c++,`(\\d{1,2}(st|nd|rd|th))`;case`DD`:return s.D=c,`(\\d{2})`;case`H`:return s.H=c,`(\\d{1,2})`;case`HH`:return s.H=c,`(\\d{2})`;case`h`:return s.h=c,`(\\d{1,2})`;case`hh`:return s.h=c,`(\\d{2})`;case`m`:return s.m=c,`(\\d{1,2})`;case`mm`:return s.m=c,`(\\d{2})`;case`s`:return s.s=c,`(\\d{1,2})`;case`ss`:return s.s=c,`(\\d{2})`;case`S`:return s.S=c,`(\\d{1})`;case`SS`:return s.S=c,`(\\d{2})`;case`SSS`:return s.S=c,`(\\d{3})`;case`A`:return s.A=c,`(AM|PM)`;case`a`:return s.a=c,`(am|pm)`;case`aa`:return s.aa=c,`(a\\.m\\.|p\\.m\\.)`;case`ddd`:return i;case`dddd`:return n;case`Q`:case`d`:case`E`:return`(\\d{1})`;case`do`:return c++,`(\\d{1}(st|nd|rd|th))`;case`Qo`:return`(1st|2nd|3rd|4th)`;case`DDD`:case`DDDD`:return`(\\d{1,3})`;case`DDDo`:return c++,`(\\d{1,3}(st|nd|rd|th))`;case`w`:return`(\\d{1,2})`;case`wo`:return c++,`(\\d{1,2}(st|nd|rd|th))`;case`ww`:return`(\\d{2})`;case`Z`:return s.Z=c,`(Z|[+-]\\d{2}:\\d{2})`;case`ZZ`:return s.ZZ=c,`(Z|[+-]\\d{2}\\d{2})`;case`X`:return s.X=c,`(-?\\d+)`;case`x`:return s.x=c,`(-?\\d{4,})`;default:return c--,e[0]===`[`&&(e=e.substring(1,e.length-1)),e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}}),u={map:s,regex:RegExp(`^`+l)};return eo[r]=u,u}function no(e,t){return e===void 0?t===void 0?ye.date:t.date:e}function ro(e,t=``){let n=e>0?`-`:`+`,r=Math.abs(e),i=Math.floor(r/60),a=r%60;return n+Q(i)+t+Q(a)}function io(e,t,n){let r=e.getFullYear(),i=e.getMonth(),a=e.getDate();return t.year!==void 0&&(r+=n*t.year,delete t.year),t.month!==void 0&&(i+=n*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(r),e.setMonth(i),e.setDate(Math.min(a,jo(e))),t.date!==void 0&&(e.setDate(e.getDate()+n*t.date),delete t.date),e}function ao(e,t,n){let r=t.year===void 0?e[`get${n}FullYear`]():t.year,i=t.month===void 0?e[`get${n}Month`]():t.month-1,a=new Date(r,i+1,0).getDate(),o=Math.min(a,t.date===void 0?e[`get${n}Date`]():t.date);return e[`set${n}Date`](1),e[`set${n}Month`](2),e[`set${n}FullYear`](r),e[`set${n}Month`](i),e[`set${n}Date`](o),delete t.year,delete t.month,delete t.date,e}function oo(e,t,n){let r=so(t),i=new Date(e),a=r.year!==void 0||r.month!==void 0||r.date!==void 0?io(i,r,n):i;for(let e in r){let t=Ue(e);a[`set${t}`](a[`get${t}`]()+n*r[e])}return a}function so(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 co(e,t,n){let r=so(t),i=n===!0?`UTC`:``,a=new Date(e),o=r.year!==void 0||r.month!==void 0||r.date!==void 0?ao(a,r,i):a;for(let e in r)o[`set${i}${e.charAt(0).toUpperCase()+e.slice(1)}`](r[e]);return o}function lo(e,t,n){let r=uo(e,t,n),i=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=i.getTimezoneOffset();return r.timezoneOffset===null||r.timezoneOffset===a?i:oo(i,{minutes:r.timezoneOffset-a},1)}function uo(e,t,n,r,i){let a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(i!==void 0&&Object.assign(a,i),e==null||e===``||typeof e!=`string`)return a;t===void 0&&(t=Za);let o=no(n,xe.props),s=o.months,c=o.monthsShort,{regex:l,map:u}=to(t,o),d=e.match(l);if(d===null)return a;let f=``;if(u.X!==void 0||u.x!==void 0){let e=parseInt(d[u.X===void 0?u.x:u.X],10);if(isNaN(e)===!0||e<0)return a;let t=new Date(e*(u.X===void 0?1:1e3));a.year=t.getFullYear(),a.month=t.getMonth()+1,a.day=t.getDate(),a.hour=t.getHours(),a.minute=t.getMinutes(),a.second=t.getSeconds(),a.millisecond=t.getMilliseconds()}else{if(u.YYYY!==void 0)a.year=parseInt(d[u.YYYY],10);else if(u.YY!==void 0){let e=parseInt(d[u.YY],10);a.year=e<0?e:2e3+e}if(u.M!==void 0){if(a.month=parseInt(d[u.M],10),a.month<1||a.month>12)return a}else u.MMM===void 0?u.MMMM!==void 0&&(a.month=s.indexOf(d[u.MMMM])+1):a.month=c.indexOf(d[u.MMM])+1;if(u.D!==void 0){if(a.day=parseInt(d[u.D],10),a.year===null||a.month===null||a.day<1)return a;let e=r===`persian`?Fa(a.year,a.month):new Date(a.year,a.month,0).getDate();if(a.day>e)return a}u.H===void 0?u.h!==void 0&&(a.hour=parseInt(d[u.h],10)%12,(u.A&&d[u.A]===`PM`||u.a&&d[u.a]===`pm`||u.aa&&d[u.aa]===`p.m.`)&&(a.hour+=12),a.hour%=24):a.hour=parseInt(d[u.H],10)%24,u.m!==void 0&&(a.minute=parseInt(d[u.m],10)%60),u.s!==void 0&&(a.second=parseInt(d[u.s],10)%60),u.S!==void 0&&(a.millisecond=parseInt(d[u.S],10)*10**(3-d[u.S].length)),(u.Z!==void 0||u.ZZ!==void 0)&&(f=u.Z===void 0?d[u.ZZ]:d[u.Z].replace(`:`,``),a.timezoneOffset=(f[0]===`+`?-1:1)*(60*f.slice(1,3)+Number(f.slice(3,5))))}return a.dateHash=Q(a.year,4)+`/`+Q(a.month)+`/`+Q(a.day),a.timeHash=Q(a.hour)+`:`+Q(a.minute)+`:`+Q(a.second)+f,a}function fo(e){return typeof e==`number`?!0:isNaN(Date.parse(e))===!1}function po(e,t){return co(new Date,e,t)}function mo(e){let t=new Date(e).getDay();return t===0?7:t}function ho(e){let t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);let n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);let r=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-r);let i=(t-n)/(Ya*7);return 1+Math.floor(i)}function go(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function _o(e,t){let n=new Date(e);return t===!0?go(n):n.getTime()}function vo(e,t,n,r={}){let i=_o(t,r.onlyDate),a=_o(n,r.onlyDate),o=_o(e,r.onlyDate);return(o>i||r.inclusiveFrom===!0&&o===i)&&(o<a||r.inclusiveTo===!0&&o===a)}function yo(e,t){return oo(e,t,1)}function bo(e,t){return oo(e,t,-1)}function xo(e,t,n){let r=new Date(e),i=`set${n===!0?`UTC`:``}`;switch(t){case`year`:case`years`:r[`${i}Month`](0);case`month`:case`months`:r[`${i}Date`](1);case`day`:case`days`:case`date`:r[`${i}Hours`](0);case`hour`:case`hours`:r[`${i}Minutes`](0);case`minute`:case`minutes`:r[`${i}Seconds`](0);case`second`:case`seconds`:r[`${i}Milliseconds`](0)}return r}function So(e,t,n){let r=new Date(e),i=`set${n===!0?`UTC`:``}`;switch(t){case`year`:case`years`:r[`${i}Month`](11);case`month`:case`months`:r[`${i}Date`](jo(r));case`day`:case`days`:case`date`:r[`${i}Hours`](23);case`hour`:case`hours`:r[`${i}Minutes`](59);case`minute`:case`minutes`:r[`${i}Seconds`](59);case`second`:case`seconds`:r[`${i}Milliseconds`](999)}return r}function Co(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(e=>{t=Math.max(t,new Date(e))}),new Date(t)}function wo(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(e=>{t=Math.min(t,new Date(e))}),new Date(t)}function To(e,t,n){return(e.getTime()-e.getTimezoneOffset()*Xa-(t.getTime()-t.getTimezoneOffset()*Xa))/n}function Eo(e,t,n=`days`){let r=new Date(e),i=new Date(t);switch(n){case`years`:case`year`:return r.getFullYear()-i.getFullYear();case`months`:case`month`:return(r.getFullYear()-i.getFullYear())*12+r.getMonth()-i.getMonth();case`days`:case`day`:case`date`:return To(xo(r,`day`),xo(i,`day`),Ya);case`hours`:case`hour`:return To(xo(r,`hour`),xo(i,`hour`),36e5);case`minutes`:case`minute`:return To(xo(r,`minute`),xo(i,`minute`),Xa);case`seconds`:case`second`:return To(xo(r,`second`),xo(i,`second`),1e3)}}function Do(e){return Eo(e,xo(e,`year`),`days`)+1}function Oo(e){return Ne(e)===!0?`date`:typeof e==`number`?`number`:`string`}function ko(e,t,n){let r=new Date(e);if(t){let e=new Date(t);if(r<e)return e}if(n){let e=new Date(n);if(r>e)return e}return r}function Ao(e,t,n){let r=new Date(e),i=new Date(t);if(n===void 0)return r.getTime()===i.getTime();switch(n){case`second`:case`seconds`:if(r.getSeconds()!==i.getSeconds())return!1;case`minute`:case`minutes`:if(r.getMinutes()!==i.getMinutes())return!1;case`hour`:case`hours`:if(r.getHours()!==i.getHours())return!1;case`day`:case`days`:case`date`:if(r.getDate()!==i.getDate())return!1;case`month`:case`months`:if(r.getMonth()!==i.getMonth())return!1;case`year`:case`years`:if(r.getFullYear()!==i.getFullYear())return!1;break;default:throw Error(`date isSameDate unknown unit ${n}`)}return!0}function jo(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function Mo(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`}const No={YY(e,t,n){let r=this.YYYY(e,t,n)%100;return r>=0?Q(r):`-`+Q(Math.abs(r))},YYYY(e,t,n){return n??e.getFullYear()},M(e){return e.getMonth()+1},Mo(e){return Mo(e.getMonth()+1)},MM(e){return Q(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 Mo(this.Q(e))},D(e){return e.getDate()},Do(e){return Mo(e.getDate())},DD(e){return Q(e.getDate())},DDD(e){return Do(e)},DDDo(e){return Mo(Do(e))},DDDD(e){return Q(Do(e),3)},d(e){return e.getDay()},do(e){return Mo(e.getDay())},dd(e,t){return t.days[e.getDay()].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 ho(e)},wo(e){return Mo(ho(e))},ww(e){return Q(ho(e))},H(e){return e.getHours()},HH(e){return Q(e.getHours())},h(e){let t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return Q(this.h(e))},m(e){return e.getMinutes()},mm(e){return Q(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return Q(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return Q(Math.floor(e.getMilliseconds()/10))},SSS(e){return Q(e.getMilliseconds(),3)},A(e){return e.getHours()<12?`AM`:`PM`},a(e){return e.getHours()<12?`am`:`pm`},aa(e){return e.getHours()<12?`a.m.`:`p.m.`},Z(e,t,n,r){return ro(r??e.getTimezoneOffset(),`:`)},ZZ(e,t,n,r){return ro(r??e.getTimezoneOffset())},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function Po(e,t,n,r,i){if(e!==0&&!e||e===1/0||e===-1/0)return;let a=new Date(e);if(isNaN(a))return;t===void 0&&(t=Za);let o=no(n,xe.props);return t.replace(Qa,(e,t)=>e in No?No[e](a,o,r,i):t===void 0?e:t.split(`\\]`).join(`]`))}function Fo(e){return Ne(e)===!0?new Date(e.getTime()):e}var Io={isValid:fo,extractDate:lo,buildDate:po,getDayOfWeek:mo,getWeekOfYear:ho,isBetweenDates:vo,addToDate:yo,subtractFromDate:bo,adjustDate:co,startOfDate:xo,endOfDate:So,getMaxDate:Co,getMinDate:wo,getDateDiff:Eo,getDayOfYear:Do,inferDateFormat:Oo,getDateBetween:ko,isSameDate:Ao,daysInMonth:jo,formatDate:Po,clone:Fo};const Lo=[`Calendar`,`Years`,`Months`],Ro=e=>Lo.includes(e),zo=e=>/^-?[\d]+\/[0-1]\d$/.test(e),Bo=` — `;function Vo(e){return e.year+`/`+Q(e.month)}var Ho=L({name:`QDate`,props:{...Ga,...ti,...Et,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:{...Ga.mask,default:`YYYY/MM/DD`},defaultYearMonth:{type:String,validator:zo},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:zo},navigationMaxYearMonth:{type:String,validator:zo},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:`Calendar`,validator:Ro}},emits:[...Ka,`rangeStart`,`rangeEnd`,`navigation`],setup(e,{slots:r,emit:o}){let{proxy:s}=i(),{$q:c}=s,u=Dt(e,c),{getCache:d}=di(),{tabindex:f,headerClass:p,getLocale:m,getCurrentDate:h}=Ja(e,c),g,_=ri(ni(e)),v=y(null),b=y(be()),x=y(m()),S=n(()=>be()),C=n(()=>m()),w=n(()=>h()),E=y(Se(b.value,x.value)),D=y(e.defaultView),O=n(()=>c.lang.rtl===!0?`right`:`left`),k=y(O.value),A=y(O.value),j=E.value.year,M=y(j-j%20-(j<0?20:0)),N=y(null),P=n(()=>{let t=e.landscape===!0?`landscape`:`portrait`;return`q-date q-date--${t} q-date--${t}-${e.minimal===!0?`minimal`:`standard`}`+(u.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`:``)}),F=n(()=>e.color||`primary`),I=n(()=>e.textColor||`white`),L=n(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),R=n(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),z=n(()=>R.value.filter(e=>typeof e==`string`).map(e=>xe(e,b.value,x.value)).filter(e=>e.dateHash!==null&&e.day!==null&&e.month!==null&&e.year!==null)),B=n(()=>{let e=e=>xe(e,b.value,x.value);return R.value.filter(e=>Me(e)===!0&&e.from!==void 0&&e.to!==void 0).map(t=>({from:e(t.from),to:e(t.to)})).filter(e=>e.from.dateHash!==null&&e.to.dateHash!==null&&e.from.dateHash<e.to.dateHash)}),V=n(()=>e.calendar===`persian`?e=>{let t=Na(e.year,e.month,e.day);return new Date(t.gy,t.gm-1,t.gd)}:e=>new Date(e.year,e.month-1,e.day)),H=n(()=>e.calendar===`persian`?qa:(e,t,n)=>Po(new Date(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),t===void 0?b.value:t,n===void 0?x.value:n,e.year,e.timezoneOffset)),ee=n(()=>z.value.length+B.value.reduce((e,t)=>e+1+Eo(V.value(t.to),V.value(t.from)),0)),U=n(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(N.value!==null){let e=N.value.init,t=V.value(e);return x.value.daysShort[t.getDay()]+`, `+x.value.monthsShort[e.month-1]+` `+e.day+Bo+`?`}if(ee.value===0)return Bo;if(ee.value>1)return`${ee.value} ${x.value.pluralDay}`;let t=z.value[0],n=V.value(t);return isNaN(n.valueOf())===!0?Bo:x.value.headerTitle===void 0?x.value.daysShort[n.getDay()]+`, `+x.value.monthsShort[t.month-1]+` `+t.day:x.value.headerTitle(n,t)}),W=n(()=>z.value.concat(B.value.map(e=>e.from)).sort((e,t)=>e.year-t.year||e.month-t.month)[0]),G=n(()=>z.value.concat(B.value.map(e=>e.to)).sort((e,t)=>t.year-e.year||t.month-e.month)[0]),te=n(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(ee.value===0)return Bo;if(ee.value>1){let e=W.value,t=G.value,n=x.value.monthsShort;return n[e.month-1]+(e.year===t.year?e.month===t.month?``:Bo+n[t.month-1]:` `+e.year+Bo+n[t.month-1]+` `)+` `+t.year}return z.value[0].year}),K=n(()=>{let e=[c.iconSet.datetime.arrowLeft,c.iconSet.datetime.arrowRight];return c.lang.rtl===!0?e.reverse():e}),q=n(()=>e.firstDayOfWeek===void 0?x.value.firstDayOfWeek:Number(e.firstDayOfWeek)),J=n(()=>{let e=x.value.daysShort,t=q.value;return t>0?e.slice(t,7).concat(e.slice(0,t)):e}),Y=n(()=>{let t=E.value;return e.calendar===`persian`?Fa(t.year,t.month):new Date(t.year,t.month,0).getDate()}),ne=n(()=>typeof e.eventColor==`function`?e.eventColor:()=>e.eventColor),re=n(()=>{if(e.navigationMinYearMonth===void 0)return null;let t=e.navigationMinYearMonth.split(`/`);return{year:parseInt(t[0],10),month:parseInt(t[1],10)}}),ie=n(()=>{if(e.navigationMaxYearMonth===void 0)return null;let t=e.navigationMaxYearMonth.split(`/`);return{year:parseInt(t[0],10),month:parseInt(t[1],10)}}),ae=n(()=>{let e={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return re.value!==null&&re.value.year>=E.value.year&&(e.year.prev=!1,re.value.year===E.value.year&&re.value.month>=E.value.month&&(e.month.prev=!1)),ie.value!==null&&ie.value.year<=E.value.year&&(e.year.next=!1,ie.value.year===E.value.year&&ie.value.month<=E.value.month&&(e.month.next=!1)),e}),oe=n(()=>{let e={};return z.value.forEach(t=>{let n=Vo(t);e[n]===void 0&&(e[n]=[]),e[n].push(t.day)}),e}),se=n(()=>{let e={};return B.value.forEach(t=>{let n=Vo(t.from),r=Vo(t.to);if(e[n]===void 0&&(e[n]=[]),e[n].push({from:t.from.day,to:n===r?t.to.day:void 0,range:t}),n<r){let n,{year:i,month:a}=t.from,o=a<12?{year:i,month:a+1}:{year:i+1,month:1};for(;(n=Vo(o))<=r;)e[n]===void 0&&(e[n]=[]),e[n].push({from:void 0,to:n===r?t.to.day:void 0,range:t}),o.month++,o.month>12&&(o.year++,o.month=1)}}),e}),ce=n(()=>{if(N.value===null)return;let{init:e,initHash:t,final:n,finalHash:r}=N.value,[i,a]=t<=r?[e,n]:[n,e],o=Vo(i),s=Vo(a);if(o!==X.value&&s!==X.value)return;let c={};return o===X.value?(c.from=i.day,c.includeFrom=!0):c.from=1,s===X.value?(c.to=a.day,c.includeTo=!0):c.to=Y.value,c}),X=n(()=>Vo(E.value)),le=n(()=>{let t={};if(e.options===void 0){for(let e=1;e<=Y.value;e++)t[e]=!0;return t}let n=typeof e.options==`function`?e.options:t=>e.options.includes(t);for(let e=1;e<=Y.value;e++)t[e]=n(X.value+`/`+Q(e));return t}),ue=n(()=>{let t={};if(e.events===void 0)for(let e=1;e<=Y.value;e++)t[e]=!1;else{let n=typeof e.events==`function`?e.events:t=>e.events.includes(t);for(let e=1;e<=Y.value;e++){let r=X.value+`/`+Q(e);t[e]=n(r)===!0&&ne.value(r)}}return t}),de=n(()=>{let t,n,{year:r,month:i}=E.value;if(e.calendar!==`persian`)t=new Date(r,i-1,1),n=new Date(r,i-1,0).getDate();else{let e=Na(r,i,1);t=new Date(e.gy,e.gm-1,e.gd);let a=i-1,o=r;a===0&&(a=12,o--),n=Fa(o,a)}return{days:t.getDay()-q.value-1,endDay:n}}),fe=n(()=>{let e=[],{days:t,endDay:n}=de.value,r=t<0?t+7:t;if(r<6)for(let t=n-r;t<=n;t++)e.push({i:t,fill:!0});let i=e.length;for(let t=1;t<=Y.value;t++){let n={i:t,event:ue.value[t],classes:[]};le.value[t]===!0&&(n.in=!0,n.flat=!0),e.push(n)}if(oe.value[X.value]!==void 0&&oe.value[X.value].forEach(t=>{let n=i+t-1;Object.assign(e[n],{selected:!0,unelevated:!0,flat:!1,color:F.value,textColor:I.value})}),se.value[X.value]!==void 0&&se.value[X.value].forEach(t=>{if(t.from!==void 0){let n=i+t.from-1,r=i+(t.to||Y.value)-1;for(let i=n;i<=r;i++)Object.assign(e[i],{range:t.range,unelevated:!0,color:F.value,textColor:I.value});Object.assign(e[n],{rangeFrom:!0,flat:!1}),t.to!==void 0&&Object.assign(e[r],{rangeTo:!0,flat:!1})}else if(t.to!==void 0){let n=i+t.to-1;for(let r=i;r<=n;r++)Object.assign(e[r],{range:t.range,unelevated:!0,color:F.value,textColor:I.value});Object.assign(e[n],{flat:!1,rangeTo:!0})}else{let n=i+Y.value-1;for(let r=i;r<=n;r++)Object.assign(e[r],{range:t.range,unelevated:!0,color:F.value,textColor:I.value})}}),ce.value!==void 0){let t=i+ce.value.from-1,n=i+ce.value.to-1;for(let r=t;r<=n;r++)e[r].color=F.value,e[r].editRange=!0;ce.value.includeFrom===!0&&(e[t].editRangeFrom=!0),ce.value.includeTo===!0&&(e[n].editRangeTo=!0)}E.value.year===w.value.year&&E.value.month===w.value.month&&(e[i+w.value.day-1].today=!0);let a=e.length%7;if(a>0){let t=7-a;for(let n=1;n<=t;n++)e.push({i:n,fill:!0})}return e.forEach(e=>{let t=`q-date__calendar-item `;e.fill===!0?t+=`q-date__calendar-item--fill`:(t+=`q-date__calendar-item--${e.in===!0?`in`:`out`}`,e.range!==void 0&&(t+=` q-date__range${e.rangeTo===!0?`-to`:e.rangeFrom===!0?`-from`:``}`),e.editRange===!0&&(t+=` q-date__edit-range${e.editRangeFrom===!0?`-from`:``}${e.editRangeTo===!0?`-to`:``}`),(e.range!==void 0||e.editRange===!0)&&(t+=` text-${e.color}`)),e.classes=t}),e}),pe=n(()=>e.disable===!0?{"aria-disabled":`true`}:{});T(()=>e.modelValue,e=>{if(g===JSON.stringify(e))g=0;else{let e=Se(b.value,x.value);Ae(e.year,e.month,e)}}),T(D,()=>{v.value!==null&&s.$el.contains(document.activeElement)===!0&&v.value.focus()}),T(()=>E.value.year+`|`+E.value.month,()=>{o(`navigation`,{year:E.value.year,month:E.value.month})}),T(S,e=>{Le(e,x.value,`mask`),b.value=e}),T(C,e=>{Le(b.value,e,`locale`),x.value=e});function me(e){g=JSON.stringify(e)}function he(){let{year:e,month:t,day:n}=w.value,r={...E.value,year:e,month:t,day:n},i=oe.value[Vo(r)];(i===void 0||i.includes(r.day)===!1)&&Fe(r),ve(r.year,r.month)}function ge(e){Ro(e)===!0&&(D.value=e)}function _e(e,t){[`month`,`year`].includes(e)&&(e===`month`?we:Te)(t===!0?-1:1)}function ve(e,t){D.value=`Calendar`,Ae(e,t)}function ye(t,n){if(e.range===!1||!t){N.value=null;return}let r=Object.assign({...E.value},t),i=n===void 0?r:Object.assign({...E.value},n);N.value={init:r,initHash:qa(r),final:i,finalHash:qa(i)},ve(r.year,r.month)}function be(){return e.calendar===`persian`?`YYYY/MM/DD`:e.mask}function xe(t,n,r){return uo(t,n,r,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function Se(t,n){let r=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(r.length===0)return Ce();let i=r[r.length-1],a=xe(i.from===void 0?i:i.from,t,n);return a.dateHash===null?Ce():a}function Ce(){let t,n;if(e.defaultYearMonth!==void 0){let r=e.defaultYearMonth.split(`/`);t=parseInt(r[0],10),n=parseInt(r[1],10)}else{let e=w.value===void 0?h():w.value;t=e.year,n=e.month}return{year:t,month:n,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:t+`/`+Q(n)+`/01`}}function we(e){let t=E.value.year,n=Number(E.value.month)+e;n===13?(n=1,t++):n===0&&(n=12,t--),Ae(t,n),L.value===!0&&je(`month`)}function Te(e){Ae(Number(E.value.year)+e,E.value.month),L.value===!0&&je(`year`)}function Ee(t){Ae(t,E.value.month),D.value=e.defaultView===`Years`?`Months`:`Calendar`,L.value===!0&&je(`year`)}function De(e){Ae(E.value.year,e),D.value=`Calendar`,L.value===!0&&je(`month`)}function Oe(e,t){(oe.value[t]?.includes(e.day)===!0?Ie:Fe)(e)}function ke(e){return{year:e.year,month:e.month,day:e.day}}function Ae(e,t,n){if(re.value!==null&&e<=re.value.year&&((t<re.value.month||e<re.value.year)&&(t=re.value.month),e=re.value.year),ie.value!==null&&e>=ie.value.year&&((t>ie.value.month||e>ie.value.year)&&(t=ie.value.month),e=ie.value.year),n!==void 0){let{hour:e,minute:t,second:r,millisecond:i,timezoneOffset:a,timeHash:o}=n;Object.assign(E.value,{hour:e,minute:t,second:r,millisecond:i,timezoneOffset:a,timeHash:o})}let r=e+`/`+Q(t)+`/01`;r!==E.value.dateHash&&(k.value=E.value.dateHash<r==(c.lang.rtl!==!0)?`left`:`right`,e!==E.value.year&&(A.value=k.value),l(()=>{M.value=e-e%20-(e<0?20:0),Object.assign(E.value,{year:e,month:t,day:1,dateHash:r})}))}function Z(t,n,r){let i=t!==null&&t.length===1&&e.multiple===!1?t[0]:t,{reason:a,details:s}=Ne(n,r);me(i),o(`update:modelValue`,i,a,s)}function je(t){let n=z.value[0]!==void 0&&z.value[0].dateHash!==null?{...z.value[0]}:{...E.value};l(()=>{n.year=E.value.year,n.month=E.value.month;let r=e.calendar===`persian`?Fa(n.year,n.month):new Date(n.year,n.month,0).getDate();n.day=Math.min(Math.max(1,n.day),r);let i=Pe(n),{details:a}=Ne(``,n);me(i),o(`update:modelValue`,i,t,a)})}function Ne(e,t){return t.from===void 0?{reason:`${e}-day`,details:ke(t)}:{reason:`${e}-range`,details:{...ke(t.target),from:ke(t.from),to:ke(t.to)}}}function Pe(e,t,n){return e.from===void 0?H.value(e,t,n):{from:H.value(e.from,t,n),to:H.value(e.to,t,n)}}function Fe(t){let n;if(e.multiple===!0)if(t.from!==void 0){let e=qa(t.from),r=qa(t.to),i=z.value.filter(t=>t.dateHash<e||t.dateHash>r),a=B.value.filter(({from:t,to:n})=>n.dateHash<e||t.dateHash>r);n=i.concat(a).concat(t).map(e=>Pe(e))}else{let e=R.value.slice();e.push(Pe(t)),n=e}else n=Pe(t);Z(n,`add`,t)}function Ie(t){if(e.noUnset===!0)return;let n=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){let r=Pe(t);n=t.from===void 0?e.modelValue.filter(e=>e!==r):e.modelValue.filter(e=>e.from===void 0?!0:e.from!==r.from&&e.to!==r.to),n.length===0&&(n=null)}Z(n,`remove`,t)}function Le(t,n,r){let i=z.value.concat(B.value).map(e=>Pe(e,t,n)).filter(e=>e.from===void 0?e.dateHash!==null:e.from.dateHash!==null&&e.to.dateHash!==null),a=(e.multiple===!0?i:i[0])||null;me(a),o(`update:modelValue`,a,r)}function Re(){if(e.minimal!==!0)return a(`div`,{class:`q-date__header `+p.value},[a(`div`,{class:`relative-position`},[a(t,{name:`q-transition--fade`},()=>a(`div`,{key:`h-yr-`+te.value,class:`q-date__header-subtitle q-date__header-link `+(D.value===`Years`?`q-date__header-link--active`:`cursor-pointer`),tabindex:f.value,...d(`vY`,{onClick(){D.value=`Years`},onKeyup(e){e.keyCode===13&&(D.value=`Years`)}})},[te.value]))]),a(`div`,{class:`q-date__header-title relative-position flex no-wrap`},[a(`div`,{class:`relative-position col`},[a(t,{name:`q-transition--fade`},()=>a(`div`,{key:`h-sub`+U.value,class:`q-date__header-title-label q-date__header-link `+(D.value===`Calendar`?`q-date__header-link--active`:`cursor-pointer`),tabindex:f.value,...d(`vC`,{onClick(){D.value=`Calendar`},onKeyup(e){e.keyCode===13&&(D.value=`Calendar`)}})},[U.value]))]),e.todayBtn===!0?a(On,{class:`q-date__header-today self-start`,icon:c.iconSet.datetime.today,"aria-label":c.lang.date.today,flat:!0,size:`sm`,round:!0,tabindex:f.value,onClick:he}):null])])}function ze({label:e,type:n,key:r,dir:i,goTo:o,boundaries:s,cls:l}){return[a(`div`,{class:`row items-center q-date__arrow`},[a(On,{round:!0,dense:!0,size:`sm`,flat:!0,icon:K.value[0],"aria-label":n===`Years`?c.lang.date.prevYear:c.lang.date.prevMonth,tabindex:f.value,disable:s.prev===!1,...d(`go-#`+n,{onClick(){o(-1)}})})]),a(`div`,{class:`relative-position overflow-hidden flex flex-center`+l},[a(t,{name:`q-transition--jump-`+i},()=>a(`div`,{key:r},[a(On,{flat:!0,dense:!0,noCaps:!0,label:e,tabindex:f.value,...d(`view#`+n,{onClick:()=>{D.value=n}})})]))]),a(`div`,{class:`row items-center q-date__arrow`},[a(On,{round:!0,dense:!0,size:`sm`,flat:!0,icon:K.value[1],"aria-label":n===`Years`?c.lang.date.nextYear:c.lang.date.nextMonth,tabindex:f.value,disable:s.next===!1,...d(`go+#`+n,{onClick(){o(1)}})})])]}let Be={Calendar:()=>[a(`div`,{key:`calendar-view`,class:`q-date__view q-date__calendar`},[a(`div`,{class:`q-date__navigation row items-center no-wrap`},ze({label:x.value.months[E.value.month-1],type:`Months`,key:E.value.month,dir:k.value,goTo:we,boundaries:ae.value.month,cls:` col`}).concat(ze({label:E.value.year,type:`Years`,key:E.value.year,dir:A.value,goTo:Te,boundaries:ae.value.year,cls:``}))),a(`div`,{class:`q-date__calendar-weekdays row items-center no-wrap`},J.value.map(e=>a(`div`,{class:`q-date__calendar-item`},[a(`div`,e)]))),a(`div`,{class:`q-date__calendar-days-container relative-position overflow-hidden`},[a(t,{name:`q-transition--slide-`+k.value},()=>a(`div`,{key:X.value,class:`q-date__calendar-days fit`},fe.value.map(e=>a(`div`,{class:e.classes},[e.in===!0?a(On,{class:e.today===!0?`q-date__today`:``,dense:!0,flat:e.flat,unelevated:e.unelevated,color:e.color,textColor:e.textColor,label:e.i,tabindex:f.value,...d(`day#`+e.i,{onClick:()=>{Ve(e.i)},onMouseover:()=>{He(e.i)}})},e.event===!1?null:()=>a(`div`,{class:`q-date__event bg-`+e.event})):a(`div`,String(e.i))]))))])])],Months(){let t=E.value.year===w.value.year,n=e=>re.value!==null&&E.value.year===re.value.year&&re.value.month>e||ie.value!==null&&E.value.year===ie.value.year&&ie.value.month<e,r=x.value.monthsShort.map((e,r)=>{let i=E.value.month===r+1;return a(`div`,{class:`q-date__months-item flex flex-center`},[a(On,{class:t===!0&&w.value.month===r+1?`q-date__today`:null,flat:i!==!0,label:e,unelevated:i,color:i===!0?F.value:null,textColor:i===!0?I.value:null,tabindex:f.value,disable:n(r+1),...d(`month#`+r,{onClick:()=>{De(r+1)}})})])});return e.yearsInMonthView===!0&&r.unshift(a(`div`,{class:`row no-wrap full-width`},[ze({label:E.value.year,type:`Years`,key:E.value.year,dir:A.value,goTo:Te,boundaries:ae.value.year,cls:` col`})])),a(`div`,{key:`months-view`,class:`q-date__view q-date__months flex flex-center`},r)},Years(){let e=M.value,t=e+20,n=[],r=e=>re.value!==null&&re.value.year>e||ie.value!==null&&ie.value.year<e;for(let i=e;i<=t;i++){let e=E.value.year===i;n.push(a(`div`,{class:`q-date__years-item flex flex-center`},[a(On,{key:`yr`+i,class:w.value.year===i?`q-date__today`:null,flat:!e,label:i,dense:!0,unelevated:e,color:e===!0?F.value:null,textColor:e===!0?I.value:null,tabindex:f.value,disable:r(i),...d(`yr#`+i,{onClick:()=>{Ee(i)}})})]))}return a(`div`,{class:`q-date__view q-date__years flex flex-center`},[a(`div`,{class:`col-auto`},[a(On,{round:!0,dense:!0,flat:!0,icon:K.value[0],"aria-label":c.lang.date.prevRangeYears(20),tabindex:f.value,disable:r(e),...d(`y-`,{onClick:()=>{M.value-=20}})})]),a(`div`,{class:`q-date__years-content col self-stretch row items-center`},n),a(`div`,{class:`col-auto`},[a(On,{round:!0,dense:!0,flat:!0,icon:K.value[1],"aria-label":c.lang.date.nextRangeYears(20),tabindex:f.value,disable:r(t),...d(`y+`,{onClick:()=>{M.value+=20}})})])])}};function Ve(t){let n={...E.value,day:t};if(e.range===!1){Oe(n,X.value);return}if(N.value===null){let r=fe.value.find(e=>e.fill!==!0&&e.i===t);if(e.noUnset!==!0&&r.range!==void 0){Ie({target:n,from:r.range.from,to:r.range.to});return}if(r.selected===!0){Ie(n);return}let i=qa(n);N.value={init:n,initHash:i,final:n,finalHash:i},o(`rangeStart`,ke(n))}else{let e=N.value.initHash,t=qa(n),r=e<=t?{from:N.value.init,to:n}:{from:n,to:N.value.init};N.value=null,Fe(e===t?n:{target:n,...r}),o(`rangeEnd`,{from:ke(r.from),to:ke(r.to)})}}function He(e){if(N.value!==null){let t={...E.value,day:e};Object.assign(N.value,{final:t,finalHash:qa(t)})}}return Object.assign(s,{setToday:he,setView:ge,offsetCalendar:_e,setCalendarTo:ve,setEditingRange:ye}),()=>{let n=[a(`div`,{class:`q-date__content col relative-position`},[a(t,{name:`q-transition--fade`},Be[D.value])])],i=$(r.default);return i!==void 0&&n.push(a(`div`,{class:`q-date__actions`},i)),e.name!==void 0&&e.disable!==!0&&_(n,`push`),a(`div`,{class:P.value,...pe.value},[Re(),a(`div`,{ref:v,class:`q-date__main col column`,tabindex:-1},n)])}}});function Uo(e,t,n){let r;function i(){r!==void 0&&(ve.remove(r),r=void 0)}return f(()=>{e.value===!0&&i()}),{removeFromHistory:i,addToHistory(){r={condition:()=>n.value===!0,handler:t},ve.add(r)}}}let Wo=0,Go,Ko,qo,Jo=!1,Yo,Xo,Zo,Qo=null;function $o(e){es(e)&&J(e)}function es(e){if(e.target===document.body||e.target.classList.contains(`q-layout__backdrop`))return!0;let t=G(e),n=e.shiftKey&&!e.deltaX,r=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),i=n||r?e.deltaY:e.deltaX;for(let e=0;e<t.length;e++){let n=t[e];if(ur(n,r))return r?i<0&&n.scrollTop===0?!0:i>0&&n.scrollTop+n.clientHeight===n.scrollHeight:i<0&&n.scrollLeft===0?!0:i>0&&n.scrollLeft+n.clientWidth===n.scrollWidth}return!0}function ts(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function ns(e){Jo!==!0&&(Jo=!0,requestAnimationFrame(()=>{Jo=!1;let{height:t}=e.target,{clientHeight:n,scrollTop:r}=document.scrollingElement;(qo===void 0||t!==window.innerHeight)&&(qo=n-t,document.scrollingElement.scrollTop=r),r>qo&&(document.scrollingElement.scrollTop-=Math.ceil((r-qo)/8))}))}function rs(e){let t=document.body,n=window.visualViewport!==void 0;if(e===`add`){let{overflowY:e,overflowX:r}=window.getComputedStyle(t);Go=tr(window),Ko=er(window),Yo=t.style.left,Xo=t.style.top,Zo=window.location.href,t.style.left=`-${Go}px`,t.style.top=`-${Ko}px`,r!==`hidden`&&(r===`scroll`||t.scrollWidth>window.innerWidth)&&t.classList.add(`q-body--force-scrollbar-x`),e!==`hidden`&&(e===`scroll`||t.scrollHeight>window.innerHeight)&&t.classList.add(`q-body--force-scrollbar-y`),t.classList.add(`q-body--prevent-scroll`),document.qScrollPrevented=!0,F.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener(`resize`,ns,B.passiveCapture),window.visualViewport.addEventListener(`scroll`,ns,B.passiveCapture),window.scrollTo(0,0)):window.addEventListener(`scroll`,ts,B.passiveCapture))}F.is.desktop===!0&&F.is.mac===!0&&window[`${e}EventListener`](`wheel`,$o,B.notPassive),e===`remove`&&(F.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener(`resize`,ns,B.passiveCapture),window.visualViewport.removeEventListener(`scroll`,ns,B.passiveCapture)):window.removeEventListener(`scroll`,ts,B.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=Yo,t.style.top=Xo,window.location.href===Zo&&window.scrollTo(Go,Ko),qo=void 0)}function is(e){let t=`add`;if(e===!0){if(Wo++,Qo!==null){clearTimeout(Qo),Qo=null;return}if(Wo>1)return}else{if(Wo===0||(Wo--,Wo>0))return;if(t=`remove`,F.is.ios===!0&&F.is.nativeMobile===!0){Qo!==null&&clearTimeout(Qo),Qo=setTimeout(()=>{rs(t),Qo=null},100);return}}rs(t)}function as(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,is(t))}}}let os=0;const ss={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`},cs={standard:[`scale`,`scale`],top:[`slide-down`,`slide-up`],bottom:[`slide-up`,`slide-down`],right:[`slide-left`,`slide-right`],left:[`slide-right`,`slide-left`]};var ls=L({name:`QDialog`,inheritAttrs:!1,props:{...Fn,...Gn,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:[...In,`shake`,`click`,`escapeKey`],setup(e,{slots:r,emit:o,attrs:s}){let c=i(),l=y(null),u=y(!1),d=y(!1),p=null,m=null,h,g,_=n(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:v}=as(),{registerTimeout:b}=Jn(),{registerTick:x,removeTick:S}=qn(),{transitionProps:C,transitionStyle:w}=Kn(e,()=>cs[e.position][0],()=>cs[e.position][1]),E=n(()=>w.value+(e.backdropFilter===void 0?``:`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`)),{showPortal:D,hidePortal:O,portalIsAccessible:k,renderPortal:A}=Wn(c,l,K,`dialog`),{hide:j}=Ln({showing:u,hideOnRouteChange:_,handleShow:R,handleHide:z,processOnMount:!0}),{addToHistory:M,removeFromHistory:N}=Uo(u,j,_),P=n(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?`maximized`:`minimized`} q-dialog__inner--${e.position} ${ss[e.position]}`+(d.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`:``)),F=n(()=>u.value===!0&&e.seamless!==!0),I=n(()=>e.autoClose===!0?{onClick:W}:{}),L=n(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${F.value===!0?`modal`:`seamless`}`,s.class]);T(()=>e.maximized,e=>{u.value===!0&&U(e)}),T(F,e=>{v(e),e===!0?(Sr(te),vr(H)):(Cr(te),yr(H))});function R(t){M(),m=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,U(e.maximized),D(),d.value=!0,e.noFocus===!0?S():(document.activeElement?.blur(),x(B)),b(()=>{if(c.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){let{top:e,bottom:t}=document.activeElement.getBoundingClientRect(),{innerHeight:n}=window,r=window.visualViewport===void 0?n:window.visualViewport.height;e>0&&t>r/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-r,t>=n?1/0:Math.ceil(document.scrollingElement.scrollTop+t-r/2))),document.activeElement.scrollIntoView()}g=!0,l.value.click(),g=!1}D(!0),d.value=!1,o(`show`,t)},e.transitionDuration)}function z(t){S(),N(),ee(!0),d.value=!0,O(),m!==null&&(((t?.type.indexOf(`key`)===0?m.closest(`[tabindex]:not([tabindex^="-"])`):void 0)||m).focus(),m=null),b(()=>{O(!0),d.value=!1,o(`hide`,t)},e.transitionDuration)}function B(e){Bn(()=>{let t=l.value;if(t!==null){if(e!==void 0){let n=t.querySelector(e);if(n!==null){n.focus({preventScroll:!0});return}}t.contains(document.activeElement)!==!0&&(t=t.querySelector(`[autofocus][tabindex], [data-autofocus][tabindex]`)||t.querySelector(`[autofocus] [tabindex], [data-autofocus] [tabindex]`)||t.querySelector(`[autofocus], [data-autofocus]`)||t,t.focus({preventScroll:!0}))}})}function V(e){e&&typeof e.focus==`function`?e.focus({preventScroll:!0}):B(),o(`shake`);let t=l.value;t!==null&&(t.classList.remove(`q-animate--scale`),t.classList.add(`q-animate--scale`),p!==null&&clearTimeout(p),p=setTimeout(()=>{p=null,l.value!==null&&(t.classList.remove(`q-animate--scale`),B())},170))}function H(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&V():(o(`escapeKey`),j()))}function ee(t){p!==null&&(clearTimeout(p),p=null),(t===!0||u.value===!0)&&(U(!1),e.seamless!==!0&&(v(!1),Cr(te),yr(H))),t!==!0&&(m=null)}function U(e){e===!0?h!==!0&&(os<1&&document.body.classList.add(`q-body--dialog`),os++,h=!0):h===!0&&(os<2&&document.body.classList.remove(`q-body--dialog`),os--,h=!1)}function W(e){g!==!0&&(j(e),o(`click`,e))}function G(t){e.persistent!==!0&&e.noBackdropDismiss!==!0?j(t):e.noShake!==!0&&V()}function te(t){e.allowFocusOutside!==!0&&k.value===!0&&ln(l.value,t.target)!==!0&&B(`[tabindex]:not([tabindex="-1"])`)}Object.assign(c.proxy,{focus:B,shake:V,__updateRefocusTarget(e){m=e||null}}),f(ee);function K(){return a(`div`,{role:`dialog`,"aria-modal":F.value===!0?`true`:`false`,...s,class:L.value},[a(t,{name:`q-transition--fade`,appear:!0},()=>F.value===!0?a(`div`,{class:`q-dialog__backdrop fixed-full`,style:E.value,"aria-hidden":`true`,tabindex:-1,onClick:G}):null),a(t,C.value,()=>u.value===!0?a(`div`,{ref:l,class:P.value,style:w.value,tabindex:-1,...I.value},$(r.default)):null)])}return A}}),us=L({name:`QDrawer`,inheritAttrs:!1,props:{...Fn,...Et,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:[...In,`onLayout`,`miniState`],setup(e,{slots:t,emit:r,attrs:s}){let c=i(),{proxy:{$q:u}}=c,d=Dt(e,u),{preventBodyScroll:p}=as(),{registerTimeout:m,removeTimeout:g}=Jn(),_=o(Ee,Z);if(_===Z)return console.error(`QDrawer needs to be child of QLayout`),Z;let v,b=null,x,S=y(e.behavior===`mobile`||e.behavior!==`desktop`&&_.totalWidth.value<=e.breakpoint),C=n(()=>e.mini===!0&&S.value!==!0),w=n(()=>C.value===!0?e.miniWidth:e.width),D=y(e.showIfAbove===!0&&S.value===!1?!0:e.modelValue===!0),O=n(()=>e.persistent!==!0&&(S.value===!0||G.value===!0));function k(e,t){if(N(),e!==!1&&_.animate(),X(0),S.value===!0){let e=_.instances[H.value];e?.belowBreakpoint===!0&&e.hide(!1),le(1),_.isContainer.value!==!0&&p(!0)}else le(0),e!==!1&&ue(!1);m(()=>{e!==!1&&ue(!0),t!==!0&&r(`show`,e)},150)}function A(e,t){P(),e!==!1&&_.animate(),le(0),X(L.value*w.value),me(),t===!0?g():m(()=>{r(`hide`,e)},150)}let{show:j,hide:M}=Ln({showing:D,hideOnRouteChange:O,handleShow:k,handleHide:A}),{addToHistory:N,removeFromHistory:P}=Uo(D,M,O),F={belowBreakpoint:S,hide:M},I=n(()=>e.side===`right`),L=n(()=>(u.lang.rtl===!0?-1:1)*(I.value===!0?1:-1)),R=y(0),z=y(!1),B=y(!1),V=y(w.value*L.value),H=n(()=>I.value===!0?`left`:`right`),ee=n(()=>D.value===!0&&S.value===!1&&e.overlay===!1?e.miniToOverlay===!0?e.miniWidth:w.value:0),U=n(()=>e.overlay===!0||e.miniToOverlay===!0||_.view.value.indexOf(I.value?`R`:`L`)!==-1||u.platform.is.ios===!0&&_.isContainer.value===!0),W=n(()=>e.overlay===!1&&D.value===!0&&S.value===!1),G=n(()=>e.overlay===!0&&D.value===!0&&S.value===!1),te=n(()=>`fullscreen q-drawer__backdrop`+(D.value===!1&&z.value===!1?` hidden`:``)),K=n(()=>({backgroundColor:`rgba(0,0,0,${R.value*.4})`})),q=n(()=>I.value===!0?_.rows.value.top[2]===`r`:_.rows.value.top[0]===`l`),J=n(()=>I.value===!0?_.rows.value.bottom[2]===`r`:_.rows.value.bottom[0]===`l`),Y=n(()=>{let e={};return _.header.space===!0&&q.value===!1&&(U.value===!0?e.top=`${_.header.offset}px`:_.header.space===!0&&(e.top=`${_.header.size}px`)),_.footer.space===!0&&J.value===!1&&(U.value===!0?e.bottom=`${_.footer.offset}px`:_.footer.space===!0&&(e.bottom=`${_.footer.size}px`)),e}),ne=n(()=>{let e={width:`${w.value}px`,transform:`translateX(${V.value}px)`};return S.value===!0?e:Object.assign(e,Y.value)}),re=n(()=>`q-drawer__content fit `+(_.isContainer.value===!0?`overflow-auto`:`scroll`)),ie=n(()=>`q-drawer q-drawer--${e.side}`+(B.value===!0?` q-drawer--mini-animate`:``)+(e.bordered===!0?` q-drawer--bordered`:``)+(d.value===!0?` q-drawer--dark q-dark`:``)+(z.value===!0?` no-transition`:D.value===!0?``:` q-layout--prevent-focus`)+(S.value===!0?` fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding`:` q-drawer--${C.value===!0?`mini`:`standard`}`+(U.value===!0||W.value!==!0?` fixed`:``)+(e.overlay===!0||e.miniToOverlay===!0?` q-drawer--on-top`:``)+(q.value===!0?` q-drawer--top-padding`:``))),ae=n(()=>[[Bi,fe,void 0,{[u.lang.rtl===!0?e.side:H.value]:!0,mouse:!0}]]),oe=n(()=>[[Bi,pe,void 0,{[u.lang.rtl===!0?H.value:e.side]:!0,mouse:!0}]]),se=n(()=>[[Bi,pe,void 0,{[u.lang.rtl===!0?H.value:e.side]:!0,mouse:!0,mouseAllDir:!0}]]);function ce(){ge(S,e.behavior===`mobile`||e.behavior!==`desktop`&&_.totalWidth.value<=e.breakpoint)}T(S,t=>{t===!0?(v=D.value,D.value===!0&&M(!1)):e.overlay===!1&&e.behavior!==`mobile`&&v!==!1&&(D.value===!0?(X(0),le(0),me()):j(!1))}),T(()=>e.side,(e,t)=>{_.instances[t]===F&&(_.instances[t]=void 0,_[t].space=!1,_[t].offset=0),_.instances[e]=F,_[e].size=w.value,_[e].space=W.value,_[e].offset=ee.value}),T(_.totalWidth,()=>{(_.isContainer.value===!0||document.qScrollPrevented!==!0)&&ce()}),T(()=>e.behavior+e.breakpoint,ce),T(_.isContainer,e=>{D.value===!0&&p(e!==!0),e===!0&&ce()}),T(_.scrollbarWidth,()=>{X(D.value===!0?0:void 0)}),T(ee,e=>{he(`offset`,e)}),T(W,e=>{r(`onLayout`,e),he(`space`,e)}),T(I,()=>{X()}),T(w,t=>{X(),_e(e.miniToOverlay,t)}),T(()=>e.miniToOverlay,e=>{_e(e,w.value)}),T(()=>u.lang.rtl,()=>{X()}),T(()=>e.mini,()=>{e.noMiniAnimation||e.modelValue===!0&&(de(),_.animate())}),T(C,e=>{r(`miniState`,e)});function X(e){e===void 0?l(()=>{e=D.value===!0?0:w.value,X(L.value*e)}):(_.isContainer.value===!0&&I.value===!0&&(S.value===!0||Math.abs(e)===w.value)&&(e+=L.value*_.scrollbarWidth.value),V.value=e)}function le(e){R.value=e}function ue(e){let t=e===!0?`remove`:_.isContainer.value===!0?``:`add`;t!==``&&document.body.classList[t](`q-body--drawer-toggle`)}function de(){b!==null&&clearTimeout(b),c.proxy&&c.proxy.$el&&c.proxy.$el.classList.add(`q-drawer--mini-animate`),B.value=!0,b=setTimeout(()=>{b=null,B.value=!1,c?.proxy?.$el?.classList.remove(`q-drawer--mini-animate`)},150)}function fe(e){if(D.value!==!1)return;let t=w.value,n=We(e.distance.x,0,t);if(e.isFinal===!0){n>=Math.min(75,t)?j():(_.animate(),le(0),X(L.value*t)),z.value=!1;return}X((u.lang.rtl===!0?I.value!==!0:I.value)?Math.max(t-n,0):Math.min(0,n-t)),le(We(n/t,0,1)),e.isFirst===!0&&(z.value=!0)}function pe(t){if(D.value!==!0)return;let n=w.value,r=t.direction===e.side,i=(u.lang.rtl===!0?r!==!0:r)?We(t.distance.x,0,n):0;if(t.isFinal===!0){Math.abs(i)<Math.min(75,n)?(_.animate(),le(1),X(0)):M(),z.value=!1;return}X(L.value*i),le(We(1-i/n,0,1)),t.isFirst===!0&&(z.value=!0)}function me(){p(!1),ue(!0)}function he(t,n){_.update(e.side,t,n)}function ge(e,t){e.value!==t&&(e.value=t)}function _e(t,n){he(`size`,t===!0?e.miniWidth:n)}return _.instances[e.side]=F,_e(e.miniToOverlay,w.value),he(`space`,W.value),he(`offset`,ee.value),e.showIfAbove===!0&&e.modelValue!==!0&&D.value===!0&&e[`onUpdate:modelValue`]!==void 0&&r(`update:modelValue`,!0),h(()=>{r(`onLayout`,W.value),r(`miniState`,C.value),v=e.showIfAbove===!0;let t=()=>{(D.value===!0?k:A)(!1,!0)};if(_.totalWidth.value!==0){l(t);return}x=T(_.totalWidth,()=>{x(),x=void 0,D.value===!1&&e.showIfAbove===!0&&S.value===!1?j(!1):t()})}),f(()=>{x?.(),b!==null&&(clearTimeout(b),b=null),D.value===!0&&me(),_.instances[e.side]===F&&(_.instances[e.side]=void 0,he(`size`,0),he(`offset`,0),he(`space`,!1))}),()=>{let n=[];S.value===!0&&(e.noSwipeOpen===!1&&n.push(E(a(`div`,{key:`open`,class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":`true`}),ae.value)),n.push(st(`div`,{ref:`backdrop`,class:te.value,style:K.value,"aria-hidden":`true`,onClick:M},void 0,`backdrop`,e.noSwipeBackdrop!==!0&&D.value===!0,()=>se.value)));let r=C.value===!0&&t.mini!==void 0,i=[a(`div`,{...s,key:String(r),class:[re.value,s.class]},r===!0?t.mini():$(t.default))];return e.elevated===!0&&D.value===!0&&i.push(a(`div`,{class:`q-layout__shadow absolute-full overflow-hidden no-pointer-events`})),n.push(st(`aside`,{ref:`content`,class:ie.value,style:ne.value},i,`contentclose`,e.noSwipeClose!==!0&&S.value===!0,()=>oe.value)),a(`div`,{class:`q-drawer-container`},n)}}});function ds(e,t){if(t&&e===t)return null;let n=e.nodeName.toLowerCase();if([`div`,`li`,`ul`,`ol`,`blockquote`].includes(n)===!0)return e;let r=(window.getComputedStyle?window.getComputedStyle(e):e.currentStyle).display;return r===`block`||r===`table`?e:ds(e.parentNode)}function fs(e,t,n){return!e||e===document.body?!1:n===!0&&e===t||(t===document?document.body:t).contains(e.parentNode)}function ps(e,t,n){if(n||(n=document.createRange(),n.selectNode(e),n.setStart(e,0)),t.count===0)n.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:(n.setEnd(e,t.count),t.count=0);else for(let r=0;t.count!==0&&r<e.childNodes.length;r++)n=ps(e.childNodes[r],t,n);return n}const ms=/^https?:\/\//;var hs=class{constructor(e,t){this.el=e,this.eVm=t,this._range=null}get selection(){if(this.el){let e=document.getSelection();if(fs(e.anchorNode,this.el,!0)&&fs(e.focusNode,this.el,!0))return e}return null}get hasSelection(){return this.selection===null?!1:this.selection.toString().length!==0}get range(){let e=this.selection;return e?.rangeCount?e.getRangeAt(0):this._range}get parent(){let e=this.range;if(e!==null){let t=e.startContainer;return t.nodeType===document.ELEMENT_NODE?t:t.parentNode}return null}get blockParent(){let e=this.parent;return e===null?null:ds(e,this.el)}save(e=this.range){e!==null&&(this._range=e)}restore(e=this._range){let t=document.createRange(),n=document.getSelection();e===null?(n.selectAllChildren(this.el),n.collapseToEnd()):(t.setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),n.removeAllRanges(),n.addRange(t))}savePosition(){let e=-1,t,n=document.getSelection(),r=this.el.parentNode;if(n.focusNode&&fs(n.focusNode,r))for(t=n.focusNode,e=n.focusOffset;t&&t!==r;)t!==this.el&&t.previousSibling?(t=t.previousSibling,e+=t.textContent.length):t=t.parentNode;this.savedPos=e}restorePosition(e=0){if(this.savedPos>0&&this.savedPos<e){let e=window.getSelection(),t=ps(this.el,{count:this.savedPos});t&&(t.collapse(!1),e.removeAllRanges(),e.addRange(t))}}hasParent(e,t){let n=t?this.parent:this.blockParent;return n===null?!1:n.nodeName.toLowerCase()===e.toLowerCase()}hasParents(e,t,n=this.parent){return n===null?!1:e.includes(n.nodeName.toLowerCase())===!0?!0:t===!0?this.hasParents(e,t,n.parentNode):!1}is(e,t){if(this.selection===null)return!1;switch(e){case`formatBlock`:return t===`DIV`&&this.parent===this.el||this.hasParent(t,t===`PRE`);case`link`:return this.hasParent(`A`,!0);case`fontSize`:return document.queryCommandValue(e)===t;case`fontName`:let n=document.queryCommandValue(e);return n===`"${t}"`||n===t;case`fullscreen`:return this.eVm.inFullscreen.value;case`viewsource`:return this.eVm.isViewingSource.value;case void 0:return!1;default:let r=document.queryCommandState(e);return t===void 0?r:r===t}}getParentAttribute(e){return this.parent===null?null:this.parent.getAttribute(e)}can(e){if(e===`outdent`)return this.hasParents([`blockquote`,`li`],!0);if(e===`indent`)return this.hasParents([`li`],!0);if(e===`link`)return this.selection!==null||this.is(`link`)}apply(e,t,n=V){if(e===`formatBlock`)[`BLOCKQUOTE`,`H1`,`H2`,`H3`,`H4`,`H5`,`H6`].includes(t)&&this.is(e,t)&&(e=`outdent`,t=null),t===`PRE`&&this.is(e,`PRE`)&&(t=`P`);else if(e===`print`){n();let e=window.open();e.document.write(`
7
7
  <!doctype html>
8
8
  <html>
9
9
  <head>
@@ -123,4 +123,4 @@ import{KeepAlive as e,Transition as t,computed as n,defineComponent as r,getCurr
123
123
  }
124
124
  }
125
125
  `}
126
- `,document.head.appendChild(s);let w=`normal`;E.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${w} ${a.fill} ${i}-from`,D!==void 0&&(D.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${w} ${a.fill} ${i}-from-tween`),N.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${w} ${a.fill} ${i}-to`,e.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${w} ${a.fill} ${i}`;let T=t=>{t===Object(t)&&t.animationName!==i||(e.removeEventListener(`animationend`,T),e.removeEventListener(`animationcancel`,T),pe(),s.remove())};o.qMorphCancel=()=>{o.qMorphCancel=void 0,n=!0,T()},e.qMorphCancel=()=>{e.qMorphCancel=void 0,n=!0,T()},e.addEventListener(`animationend`,T),e.addEventListener(`animationcancel`,T),t=t=>n===!0||!e||!E||!N?!1:t===!0?(T(),!0):(r=r!==!0,w=w===`normal`?`reverse`:`normal`,E.style.animationDirection=w,D.style.animationDirection=w,N.style.animationDirection=w,e.style.animationDirection=w,!0)}};a.waitFor>0||a.waitFor===`transitionend`||a.waitFor===Object(a.waitFor)&&typeof a.waitFor.then==`function`?(a.waitFor>0?new Promise(e=>setTimeout(e,a.waitFor)):a.waitFor===`transitionend`?new Promise(t=>{let n=()=>{r!==null&&(clearTimeout(r),r=null),e&&(e.removeEventListener(`transitionend`,n),e.removeEventListener(`transitioncancel`,n)),t()},r=setTimeout(n,400);e.addEventListener(`transitionend`,n),e.addEventListener(`transitioncancel`,n)}):a.waitFor).then(j).catch(()=>{typeof e.qMorphCancel==`function`&&e.qMorphCancel()}):j()}),e=>t(e)}var Qd=R({name:`morph`,getSSRProps:e=>({class:(e.arg?e.arg.split(`:`)[0]:!1)===e.value?``:`q-morph--invisible`})}),$d=R({name:`mutation`,getSSRProps:fn});const{passive:ef}=B;var tf=R({name:`scroll-fire`,getSSRProps:fn}),nf=R({name:`scroll`,getSSRProps:fn}),rf=R({name:`touch-hold`,getSSRProps:fn});RegExp(`^([\\d+]+|${Object.keys({esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]}).join(`|`)})$`,`i`);var af=R({name:`touch-repeat`,getSSRProps:fn}),of=O({ClosePopup:()=>Fd,Intersection:()=>Bc,Morph:()=>Qd,Mutation:()=>$d,Ripple:()=>pn,Scroll:()=>nf,ScrollFire:()=>tf,TouchHold:()=>rf,TouchPan:()=>Bi,TouchRepeat:()=>af,TouchSwipe:()=>ui});function sf(e,t=document.body){if(typeof e!=`string`)throw TypeError(`Expected a string as propName`);if(!(t instanceof Element))throw TypeError(`Expected a DOM element`);return getComputedStyle(t).getPropertyValue(`--q-${e}`).trim()||null}var cf={set:V,install({$q:e}){e.addressbarColor=this,e.config.addressbarColor&&this.set(e.config.addressbarColor)}};function lf(e){Object.assign(uf,{request:e,exit:e,toggle:e})}const uf=z({isActive:!1,activeEl:null},{isCapable:!1,install({$q:e}){e.fullscreen=this}});lf(()=>Promise.resolve());const df=z({appVisible:!0},{install({$q:e}){this.appVisible=e.appVisible=!0}});var ff=L({name:`BottomSheetComponent`,props:{...Et,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:n}=i(),r=Dt(e,n.$q),o=y(null);function s(){o.value.show()}function c(){o.value.hide()}function l(e){t(`ok`,e),c()}function u(){t(`hide`)}function d(){return e.actions.map(e=>{let t=e.avatar||e.img;return e.label===void 0?a(Rs,{class:`col-all`,dark:r.value}):a(`div`,{class:[`q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position`,e.class],style:e.style,tabindex:0,role:`listitem`,onClick(){l(e)},onKeyup(t){t.keyCode===13&&l(e)}},[a(`div`,{class:`q-focus-helper`}),e.icon?a(St,{name:e.icon,color:e.color}):t?a(`img`,{class:e.avatar?`q-bottom-sheet__avatar`:``,src:t}):a(`div`,{class:`q-bottom-sheet__empty-icon`}),a(`div`,e.label)])})}function f(){return e.actions.map(e=>{let t=e.avatar||e.img;return e.label===void 0?a(Rs,{spaced:!0,dark:r.value}):a(_s,{class:[`q-bottom-sheet__item`,e.classes],style:e.style,tabindex:0,clickable:!0,dark:r.value,onClick(){l(e)}},()=>[a(vs,{avatar:!0},()=>e.icon?a(St,{name:e.icon,color:e.color}):t?a(`img`,{class:e.avatar?`q-bottom-sheet__avatar`:``,src:t}):null),a(vs,()=>e.label)])})}function p(){let t=[];return e.title&&t.push(a(si,{class:`q-dialog__title`},()=>e.title)),e.message&&t.push(a(si,{class:`q-dialog__message`},()=>e.message)),t.push(e.grid===!0?a(`div`,{class:`row items-stretch justify-start`,role:`list`},d()):a(`div`,{role:`list`},f())),t}function m(){return[a(oi,{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},p)]}return Object.assign(n,{show:s,hide:c}),()=>a(ls,{ref:o,position:`bottom`,onHide:u},m)}});const pf={onOk:()=>pf,onCancel:()=>pf,onDismiss:()=>pf,hide:()=>pf,update:()=>pf};function mf(e,t,n){return e=>pf}var hf={install({$q:e,parentApp:t}){e.bottomSheet=this.create=mf(ff,!1,t)}};function gf(e){return encodeURIComponent(e)}function _f(e){return decodeURIComponent(e)}function vf(e){return gf(e===Object(e)?JSON.stringify(e):String(e))}function yf(e){if(e===``)return e;e.indexOf(`"`)===0&&(e=e.slice(1,-1).replace(/\\"/g,`"`).replace(/\\\\/g,`\\`)),e=_f(e.replace(/\+/g,` `));try{let t=JSON.parse(e);(t===Object(t)||Array.isArray(t)===!0)&&(e=t)}catch{}return e}function bf(e){let t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}function xf(e){let t=0,n=e.match(/(\d+)d/),r=e.match(/(\d+)h/),i=e.match(/(\d+)m/),a=e.match(/(\d+)s/);return n&&(t+=n[1]*864e5),r&&(t+=r[1]*36e5),i&&(t+=i[1]*6e4),a&&(t+=a[1]*1e3),t===0?e:bf(t)}function Sf(e,t,n={},r){let i,a;n.expires!==void 0&&(Object.prototype.toString.call(n.expires)===`[object Date]`?i=n.expires.toUTCString():typeof n.expires==`string`?i=xf(n.expires):(a=parseFloat(n.expires),i=isNaN(a)===!1?bf(a*864e5):n.expires));let o=`${gf(e)}=${vf(t)}`,s=[o,i===void 0?``:`; Expires=`+i,n.path?`; Path=`+n.path:``,n.domain?`; Domain=`+n.domain:``,n.sameSite?`; SameSite=`+n.sameSite:``,n.httpOnly?`; HttpOnly`:``,n.secure?`; Secure`:``,n.other?`; `+n.other:``].join(``);if(r){r.req.qCookies?r.req.qCookies.push(s):r.req.qCookies=[s],r.res.setHeader(`Set-Cookie`,r.req.qCookies);let t=r.req.headers.cookie||``;if(i!==void 0&&a<0){let n=Cf(e,r);n!==void 0&&(t=t.replace(`${e}=${n}; `,``).replace(`; ${e}=${n}`,``).replace(`${e}=${n}`,``))}else t=t?`${o}; ${t}`:s;r.req.headers.cookie=t}else document.cookie=s}function Cf(e,t){let n=t?t.req.headers:document,r=n.cookie?n.cookie.split(`; `):[],i=r.length,a=e?null:{},o=0,s,c,l;for(;o<i;o++)if(s=r[o].split(`=`),c=_f(s.shift()),l=s.join(`=`),!e)a[c]=l;else if(e===c){a=yf(l);break}return a}function wf(e,t,n){Sf(e,``,{expires:-1,...t},n)}function Tf(e,t){return Cf(e,t)!==null}function Ef(e){return{get:t=>Cf(t,e),set:(t,n,r)=>Sf(t,n,r,e),has:t=>Tf(t,e),remove:(t,n)=>wf(t,n,e),getAll:()=>Cf(null,e)}}const Df={install({$q:e,ssrContext:t}){e.cookies=Ef(t)}};Df.parseSSR=e=>{if(e!==void 0)return Ef(e)};var Of=L({name:`DialogPluginComponent`,props:{...Et,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:`ok`,validator:e=>[`ok`,`cancel`,`none`].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:[`ok`,`hide`],setup(e,{emit:t}){let{proxy:r}=i(),{$q:o}=r,s=Dt(e,o),c=y(null),l=y(e.prompt===void 0?e.options===void 0?void 0:e.options.model:e.prompt.model),u=n(()=>`q-dialog-plugin`+(s.value===!0?` q-dialog-plugin--dark q-dark`:``)+(e.progress===!1?``:` q-dialog-plugin--progress`)),d=n(()=>e.color||(s.value===!0?`amber`:`primary`)),f=n(()=>e.progress===!1?null:Me(e.progress)===!0?{component:e.progress.spinner||$t,props:{color:e.progress.color||d.value}}:{component:$t,props:{color:d.value}}),p=n(()=>e.prompt!==void 0||e.options!==void 0),m=n(()=>{if(p.value!==!0)return{};let{model:t,isValid:n,items:r,...i}=e.prompt===void 0?e.options:e.prompt;return i}),h=n(()=>Me(e.ok)===!0||e.ok===!0?o.lang.label.ok:e.ok),g=n(()=>Me(e.cancel)===!0||e.cancel===!0?o.lang.label.cancel:e.cancel),_=n(()=>e.prompt===void 0?e.options===void 0?!1:e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0),v=n(()=>({color:d.value,label:h.value,ripple:!1,disable:_.value,...Me(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus===`ok`&&p.value!==!0||void 0,onClick:w})),b=n(()=>({color:d.value,label:g.value,ripple:!1,...Me(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus===`cancel`&&p.value!==!0||void 0,onClick:E}));T(()=>e.prompt&&e.prompt.model,O),T(()=>e.options&&e.options.model,O);function S(){c.value.show()}function C(){c.value.hide()}function w(){t(`ok`,x(l.value)),C()}function E(){C()}function D(){t(`hide`)}function O(e){l.value=e}function k(t){_.value!==!0&&e.prompt.type!==`textarea`&&fe(t,13)===!0&&w()}function A(t,n){return e.html===!0?a(si,{class:t,innerHTML:n}):a(si,{class:t},()=>n)}function j(){return[a(zc,{color:d.value,dense:!0,autofocus:!0,dark:s.value,...m.value,modelValue:l.value,"onUpdate:modelValue":O,onKeyup:k})]}function M(){return[a(ol,{color:d.value,options:e.options.items,dark:s.value,...m.value,modelValue:l.value,"onUpdate:modelValue":O})]}function N(){let t=[];return e.cancel&&t.push(a(On,b.value)),e.ok&&t.push(a(On,v.value)),a(ci,{class:e.stackButtons===!0?`items-end`:``,vertical:e.stackButtons,align:`right`},()=>t)}function P(){let t=[];return e.title&&t.push(A(`q-dialog__title`,e.title)),e.progress!==!1&&t.push(a(si,{class:`q-dialog__progress`},()=>a(f.value.component,f.value.props))),e.message&&t.push(A(`q-dialog__message`,e.message)),e.prompt===void 0?e.options!==void 0&&t.push(a(Rs,{dark:s.value}),a(si,{class:`scroll q-dialog-plugin__form`},M),a(Rs,{dark:s.value})):t.push(a(si,{class:`scroll q-dialog-plugin__form`},j)),(e.ok||e.cancel)&&t.push(N()),t}function F(){return[a(oi,{class:[u.value,e.cardClass],style:e.cardStyle,dark:s.value},P)]}return Object.assign(r,{show:S,hide:C}),()=>a(ls,{ref:c,onHide:D},F)}}),kf={install({$q:e,parentApp:t}){e.dialog=this.create=mf(Of,!0,t)}};const Af=z({isActive:!1},{show(e){},hide(e){},setDefaults(e){},install({$q:e,parentApp:t}){e.loading=this}});y(null);const jf=z({isActive:!1},{start:V,stop:V,increment:V,setDefaults:V,install({$q:e,parentApp:t}){e.loadingBar=this}});function Mf(e){e.title&&(e.title=e.titleTemplate?e.titleTemplate(e.title):e.title,delete e.titleTemplate),[[`meta`,`content`],[`link`,`href`]].forEach(t=>{let n=e[t[0]],r=t[1];for(let e in n){let t=n[e];t.template&&(Object.keys(t).length===1?delete n[e]:(t[r]=t.template(t[r]||``),delete t.template))}})}function Nf(e){return[`class`,`style`].includes(e)===!1}function Pf(e){return[`lang`,`dir`].includes(e)===!1}function Ff(e){return t=>{let n=e[t];return t+(n!==!0&&n!==void 0?`="${n}"`:``)}}function If(e){let t=``;return e.title&&(t+=`<title>${e.title}</title>`),[`meta`,`link`,`script`].forEach(n=>{let r=e[n];for(let e in r){let i=Object.keys(r[e]).filter(e=>e!==`innerHTML`).map(Ff(r[e]));t+=`<${n} ${i.join(` `)} data-qmeta="${e}">`,n===`script`&&(t+=(r[e].innerHTML||``)+`<\/script>`)}}),t}function Lf(e){let t={title:``,titleTemplate:null,meta:{},link:{},htmlAttr:{},bodyAttr:{},noscript:{}},n=e.__qMetaList;for(let e=0;e<n.length;e++)Ms(!0,t,n[e]);Mf(t);let r=e.nonce===void 0?``:` nonce="${e.nonce}"`,i=e._meta,a=Object.keys(t.htmlAttr).filter(Pf);a.length!==0&&(i.htmlAttrs+=(i.htmlAttrs.length===0?``:` `)+a.map(Ff(t.htmlAttr)).join(` `)),i.headTags+=If(t);let o=Object.keys(t.bodyAttr).filter(Nf);o.length!==0&&(i.bodyAttrs+=(i.bodyAttrs.length===0?``:` `)+o.map(Ff(t.bodyAttr)).join(` `)),i.bodyTags+=Object.keys(t.noscript).map(e=>`<noscript data-qmeta="${e}">${t.noscript[e]}</noscript>`).join(``)+`<script${r} id="qmeta-init">window.__Q_META__=${delete t.noscript&&JSON.stringify(t)}<\/script>`}var Rf={install(e){{let{ssrContext:t}=e;t.__qMetaList=[],t.onRendered(()=>{Lf(t)})}}},zf={setDefaults(e){},registerType(e,t){},install({$q:e,parentApp:t}){e.notify=this.create=V,e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify)}};function Bf(){let e=()=>null;return{has:()=>!1,hasItem:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:V,setItem:V,remove:V,removeItem:V,clear:V,isEmpty:()=>!0}}const Vf=Bf(),Hf={install({$q:e}){e.localStorage=Vf}};Object.assign(Hf,Vf);const Uf=Bf(),Wf={install({$q:e}){e.sessionStorage=Uf}};Object.assign(Wf,Uf);function Gf(){let{emit:e,proxy:t}=i(),n=y(null);function r(){n.value.show()}function a(){n.value.hide()}function o(t){e(`ok`,t),a()}function s(){e(`hide`)}return Object.assign(t,{show:r,hide:a}),{dialogRef:n,onDialogHide:s,onDialogOK:o,onDialogCancel:a}}const Kf=[`ok`,`hide`];Gf.emits=Kf,Gf.emitsObject=wd(Kf);function qf(e){C().__qMetaList.push(typeof e==`function`?e():e)}function Jf(){return o(`_q_`)}function Yf(){let e=null,t=i();function n(){e!==null&&(clearInterval(e),e=null)}return m(n),f(n),{removeInterval:n,registerInterval(r,i){n(e),Rt(t)===!1&&(e=setInterval(r,i))}}}function Xf(e){let t=document.createElement(`textarea`);t.value=e,t.contentEditable=`true`,t.style.position=`fixed`;let n=()=>{};Sr(n),document.body.appendChild(t),t.focus(),t.select();let r=document.execCommand(`copy`);return t.remove(),Cr(n),r}function Zf(e){return navigator.clipboard===void 0?new Promise((t,n)=>{let r=Xf(e);r?t(!0):n(r)}):navigator.clipboard.writeText(e)}var Qf=e=>({created:typeof e==`function`?function(){this.ssrContext.__qMetaList.push(e.call(this)||{})}:function(){this.ssrContext.__qMetaList.push(e)}}),$f=class{constructor(){this.__stack={}}on(e,t,n){return(this.__stack[e]||(this.__stack[e]=[])).push({fn:t,ctx:n}),this}once(e,t,n){let r=(...i)=>{this.off(e,r),t.apply(n,i)};return r.__callback=t,this.on(e,r,n)}emit(e){let t=this.__stack[e];if(t!==void 0){let e=[].slice.call(arguments,1);t.forEach(t=>{t.fn.apply(t.ctx,e)})}return this}off(e,t){let n=this.__stack[e];if(n===void 0)return this;if(t===void 0)return delete this.__stack[e],this;let r=n.filter(e=>e.fn!==t&&e.fn.__callback!==t);return r.length===0?delete this.__stack[e]:this.__stack[e]=r,this}};function ep(e){setTimeout(()=>{window.URL.revokeObjectURL(e.href)},1e4),e.remove()}function tp(e,t,n={}){let{mimeType:r,byteOrderMark:i,encoding:a}=typeof n==`string`?{mimeType:n}:n,o=a===void 0?t:new TextEncoder(a).encode([t]),s=new Blob(i===void 0?[o]:[i,o],{type:r||`application/octet-stream`}),c=document.createElement(`a`);c.href=window.URL.createObjectURL(s),c.setAttribute(`download`,e),c.download===void 0&&c.setAttribute(`target`,`_blank`),c.classList.add(`hidden`),c.style.position=`fixed`,document.body.appendChild(c);try{return c.click(),ep(c),!0}catch(e){return ep(c),e}}function np(e){let t=Object.assign({noopener:!0},e),n=[];for(let e in t){let r=t[e];r===!0?n.push(e):(Fe(r)||typeof r==`string`&&r!==``)&&n.push(e+`=`+r)}return n.join(`,`)}function rp(e,t,n){let r=window.open;if(I.is.cordova===!0){if(cordova?.InAppBrowser?.open!==void 0)r=cordova.InAppBrowser.open;else if(navigator?.app!==void 0)return navigator.app.loadUrl(e,{openExternal:!0})}let i=Object.assign({noopener:!0},n),a=i.noopener===!0||i.noreferrer===!0,o=r(e,`_blank`,np(n));if(o)return I.is.desktop&&o.focus(),o;a===!1&&t?.()}var ip=(e,t,n)=>{if(I.is.ios===!0&&window.SafariViewController!==void 0){window.SafariViewController.isAvailable(r=>{r?window.SafariViewController.show({url:e},V,t):rp(e,t,n)});return}return rp(e,t,n)};function ap(e){let t=Array.isArray(e);if(t===!0){let n=e.length;return{isList:t,totalJobs:n,resultAggregator:Array(n).fill(null)}}let n=Object.keys(e),r={};return n.forEach(e=>{r[e]=null}),{isList:t,totalJobs:n.length,resultAggregator:r,resultKeys:n}}function op(e,{threadsNumber:t=1,abortOnFail:n=!0}={}){let r=-1,i=!1,{isList:a,totalJobs:o,resultAggregator:s,resultKeys:c}=ap(e),l=Array(Math.min(o,t)).fill(null).map(()=>new Promise((t,l)=>{function u(){let d=++r;if(i===!0||d>=o){t();return}let f=a===!0?d:c[d];e[f](s).then(e=>{if(i===!0){t();return}s[f]={key:f,status:`fulfilled`,value:e},setTimeout(u)}).catch(e=>{if(i===!0){t();return}let r={key:f,status:`rejected`,reason:e};if(s[f]=r,n===!0){i=!0,l({...r,resultAggregator:s});return}setTimeout(u)})}u()}));return Promise.all(l).then(()=>s)}const sp={version:`2.19.1`,install(e,t,n){Be(e,{components:Pd,directives:of,...t},n)},lang:xe,iconSet:Ce};export{cf as AddressbarColor,uf as AppFullscreen,df as AppVisibility,hf as BottomSheet,Fd as ClosePopup,Df as Cookies,ce as Dark,kf as Dialog,$f as EventBus,Ce as IconSet,Bc as Intersection,xe as Lang,Af as Loading,jf as LoadingBar,Hf as LocalStorage,Rf as Meta,Qd as Morph,$d as Mutation,zf as Notify,I as Platform,et as QAjaxBar,Ct as QAvatar,Tt as QBadge,Ot as QBanner,kt as QBar,Bt as QBreadcrumbs,Xt as QBreadcrumbsEl,On as QBtn,ei as QBtnDropdown,kn as QBtnGroup,ai as QBtnToggle,oi as QCard,ci as QCardActions,si as QCardSection,Ci as QCarousel,Ti as QCarouselControl,wi as QCarouselSlide,Ei as QChatMessage,Ni as QCheckbox,Fi as QChip,zi as QCircularProgress,Aa as QColor,Ho as QDate,ls as QDialog,us as QDrawer,Ns as QEditor,Vs as QExpansionItem,qs as QFab,Xs as QFabAction,sc as QField,mc as QFile,hc as QFooter,gc as QForm,_c as QFormChildMixin,vc as QHeader,St as QIcon,xc as QImg,Cc as QInfiniteScroll,wc as QInnerLoading,zc as QInput,Vc as QIntersection,_s as QItem,Ps as QItemLabel,vs as QItemSection,Kc as QKnob,Xc as QLayout,Cl as QLinearProgress,Uc as QList,Qc as QMarkupTable,Hr as QMenu,$c as QNoSsr,ol as QOptionGroup,sl as QPage,cl as QPageContainer,dl as QPageScroller,fl as QPageSticky,ml as QPagination,_l as QParallax,yl as QPopupEdit,bl as QPopupProxy,wl as QPullToRefresh,tl as QRadio,El as QRange,Dl as QRating,Xi as QResizeObserver,Ol as QResponsive,ld as QRouteTab,Pl as QScrollArea,Yc as QScrollObserver,Xl as QSelect,Rs as QSeparator,$l as QSkeleton,tu as QSlideItem,Fs as QSlideTransition,Ji as QSlider,nu as QSpace,$t as QSpinner,ru as QSpinnerAudio,iu as QSpinnerBall,au as QSpinnerBars,ou as QSpinnerBox,su as QSpinnerClock,cu as QSpinnerComment,lu as QSpinnerCube,uu as QSpinnerDots,du as QSpinnerFacebook,fu as QSpinnerGears,pu as QSpinnerGrid,mu as QSpinnerHearts,hu as QSpinnerHourglass,gu as QSpinnerInfinity,_u as QSpinnerIos,vu as QSpinnerOrbit,yu as QSpinnerOval,bu as QSpinnerPie,xu as QSpinnerPuff,Su as QSpinnerRadio,Cu as QSpinnerRings,wu as QSpinnerTail,Tu as QSplitter,ku as QStep,Mu as QStepper,Nu as QStepperNavigation,ia as QTab,oa as QTabPanel,aa as QTabPanels,od as QTable,$i as QTabs,cd as QTd,Pu as QTh,fd as QTime,pd as QTimeline,md as QTimelineEntry,nl as QToggle,hd as QToolbar,gd as QToolbarTitle,gs as QTooltip,sd as QTr,vd as QTree,jd as QUploader,Md as QUploaderAddTrigger,Nd as QVideo,Ru as QVirtualScroll,sp as Quasar,pn as Ripple,se as Screen,nf as Scroll,tf as ScrollFire,Wf as SessionStorage,rf as TouchHold,Bi as TouchPan,af as TouchRepeat,ui as TouchSwipe,vl as clone,Da as colors,Zf as copyToClipboard,Qf as createMetaMixin,Ed as createUploaderComponent,Io as date,ae as debounce,un as dom,ie as event,tp as exportFile,Ms as extend,Ke as format,hl as frameDebounce,sf as getCssVar,Ie as is,Zd as morph,V as noop,ip as openURL,pa as patterns,op as runSequentialPromises,dr as scroll,X as setCssVar,dn as throttle,Jr as uid,Gf as useDialogPluginComponent,Zs as useFormChild,Yi as useHydration,Zr as useId,Yf as useInterval,qf as useMeta,Jf as useQuasar,di as useRenderCache,Ds as useSplitAttrs,qn as useTick,Jn as useTimeout};
126
+ `,document.head.appendChild(s);let w=`normal`;E.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${w} ${a.fill} ${i}-from`,D!==void 0&&(D.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${w} ${a.fill} ${i}-from-tween`),N.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${w} ${a.fill} ${i}-to`,e.style.animation=`${a.duration}ms ${a.easing} ${a.delay}ms ${w} ${a.fill} ${i}`;let T=t=>{t===Object(t)&&t.animationName!==i||(e.removeEventListener(`animationend`,T),e.removeEventListener(`animationcancel`,T),pe(),s.remove())};o.qMorphCancel=()=>{o.qMorphCancel=void 0,n=!0,T()},e.qMorphCancel=()=>{e.qMorphCancel=void 0,n=!0,T()},e.addEventListener(`animationend`,T),e.addEventListener(`animationcancel`,T),t=t=>n===!0||!e||!E||!N?!1:t===!0?(T(),!0):(r=r!==!0,w=w===`normal`?`reverse`:`normal`,E.style.animationDirection=w,D.style.animationDirection=w,N.style.animationDirection=w,e.style.animationDirection=w,!0)}};a.waitFor>0||a.waitFor===`transitionend`||a.waitFor===Object(a.waitFor)&&typeof a.waitFor.then==`function`?(a.waitFor>0?new Promise(e=>setTimeout(e,a.waitFor)):a.waitFor===`transitionend`?new Promise(t=>{let n=()=>{r!==null&&(clearTimeout(r),r=null),e&&(e.removeEventListener(`transitionend`,n),e.removeEventListener(`transitioncancel`,n)),t()},r=setTimeout(n,400);e.addEventListener(`transitionend`,n),e.addEventListener(`transitioncancel`,n)}):a.waitFor).then(j).catch(()=>{typeof e.qMorphCancel==`function`&&e.qMorphCancel()}):j()}),e=>t(e)}var Qd=R({name:`morph`,getSSRProps:e=>({class:(e.arg?e.arg.split(`:`)[0]:!1)===e.value?``:`q-morph--invisible`})}),$d=R({name:`mutation`,getSSRProps:fn});const{passive:ef}=B;var tf=R({name:`scroll-fire`,getSSRProps:fn}),nf=R({name:`scroll`,getSSRProps:fn}),rf=R({name:`touch-hold`,getSSRProps:fn});RegExp(`^([\\d+]+|${Object.keys({esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]}).join(`|`)})$`,`i`);var af=R({name:`touch-repeat`,getSSRProps:fn}),of=O({ClosePopup:()=>Fd,Intersection:()=>Bc,Morph:()=>Qd,Mutation:()=>$d,Ripple:()=>pn,Scroll:()=>nf,ScrollFire:()=>tf,TouchHold:()=>rf,TouchPan:()=>Bi,TouchRepeat:()=>af,TouchSwipe:()=>ui});function sf(e,t=document.body){if(typeof e!=`string`)throw TypeError(`Expected a string as propName`);if(!(t instanceof Element))throw TypeError(`Expected a DOM element`);return getComputedStyle(t).getPropertyValue(`--q-${e}`).trim()||null}var cf={set:V,install({$q:e}){e.addressbarColor=this,e.config.addressbarColor&&this.set(e.config.addressbarColor)}};function lf(e){Object.assign(uf,{request:e,exit:e,toggle:e})}const uf=z({isActive:!1,activeEl:null},{isCapable:!1,install({$q:e}){e.fullscreen=this}});lf(()=>Promise.resolve());const df=z({appVisible:!0},{install({$q:e}){this.appVisible=e.appVisible=!0}});var ff=L({name:`BottomSheetComponent`,props:{...Et,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:n}=i(),r=Dt(e,n.$q),o=y(null);function s(){o.value.show()}function c(){o.value.hide()}function l(e){t(`ok`,e),c()}function u(){t(`hide`)}function d(){return e.actions.map(e=>{let t=e.avatar||e.img;return e.label===void 0?a(Rs,{class:`col-all`,dark:r.value}):a(`div`,{class:[`q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position`,e.class],style:e.style,tabindex:0,role:`listitem`,onClick(){l(e)},onKeyup(t){t.keyCode===13&&l(e)}},[a(`div`,{class:`q-focus-helper`}),e.icon?a(St,{name:e.icon,color:e.color}):t?a(`img`,{class:e.avatar?`q-bottom-sheet__avatar`:``,src:t}):a(`div`,{class:`q-bottom-sheet__empty-icon`}),a(`div`,e.label)])})}function f(){return e.actions.map(e=>{let t=e.avatar||e.img;return e.label===void 0?a(Rs,{spaced:!0,dark:r.value}):a(_s,{class:[`q-bottom-sheet__item`,e.classes],style:e.style,tabindex:0,clickable:!0,dark:r.value,onClick(){l(e)}},()=>[a(vs,{avatar:!0},()=>e.icon?a(St,{name:e.icon,color:e.color}):t?a(`img`,{class:e.avatar?`q-bottom-sheet__avatar`:``,src:t}):null),a(vs,()=>e.label)])})}function p(){let t=[];return e.title&&t.push(a(si,{class:`q-dialog__title`},()=>e.title)),e.message&&t.push(a(si,{class:`q-dialog__message`},()=>e.message)),t.push(e.grid===!0?a(`div`,{class:`row items-stretch justify-start`,role:`list`},d()):a(`div`,{role:`list`},f())),t}function m(){return[a(oi,{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},p)]}return Object.assign(n,{show:s,hide:c}),()=>a(ls,{ref:o,position:`bottom`,onHide:u},m)}});const pf={onOk:()=>pf,onCancel:()=>pf,onDismiss:()=>pf,hide:()=>pf,update:()=>pf};function mf(e,t,n){return e=>pf}var hf={install({$q:e,parentApp:t}){e.bottomSheet=this.create=mf(ff,!1,t)}};function gf(e){return encodeURIComponent(e)}function _f(e){return decodeURIComponent(e)}function vf(e){return gf(e===Object(e)?JSON.stringify(e):String(e))}function yf(e){if(e===``)return e;e.indexOf(`"`)===0&&(e=e.slice(1,-1).replace(/\\"/g,`"`).replace(/\\\\/g,`\\`)),e=_f(e.replace(/\+/g,` `));try{let t=JSON.parse(e);(t===Object(t)||Array.isArray(t)===!0)&&(e=t)}catch{}return e}function bf(e){let t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}function xf(e){let t=0,n=e.match(/(\d+)d/),r=e.match(/(\d+)h/),i=e.match(/(\d+)m/),a=e.match(/(\d+)s/);return n&&(t+=n[1]*864e5),r&&(t+=r[1]*36e5),i&&(t+=i[1]*6e4),a&&(t+=a[1]*1e3),t===0?e:bf(t)}function Sf(e,t,n={},r){let i,a;n.expires!==void 0&&(Object.prototype.toString.call(n.expires)===`[object Date]`?i=n.expires.toUTCString():typeof n.expires==`string`?i=xf(n.expires):(a=parseFloat(n.expires),i=isNaN(a)===!1?bf(a*864e5):n.expires));let o=`${gf(e)}=${vf(t)}`,s=[o,i===void 0?``:`; Expires=`+i,n.path?`; Path=`+n.path:``,n.domain?`; Domain=`+n.domain:``,n.sameSite?`; SameSite=`+n.sameSite:``,n.httpOnly?`; HttpOnly`:``,n.secure?`; Secure`:``,n.other?`; `+n.other:``].join(``);if(r){r.req.qCookies?r.req.qCookies.push(s):r.req.qCookies=[s],r.res.setHeader(`Set-Cookie`,r.req.qCookies);let t=r.req.headers.cookie||``;if(i!==void 0&&a<0){let n=Cf(e,r);n!==void 0&&(t=t.replace(`${e}=${n}; `,``).replace(`; ${e}=${n}`,``).replace(`${e}=${n}`,``))}else t=t?`${o}; ${t}`:s;r.req.headers.cookie=t}else document.cookie=s}function Cf(e,t){let n=t?t.req.headers:document,r=n.cookie?n.cookie.split(`; `):[],i=r.length,a=e?null:{},o=0,s,c,l;for(;o<i;o++)if(s=r[o].split(`=`),c=_f(s.shift()),l=s.join(`=`),!e)a[c]=l;else if(e===c){a=yf(l);break}return a}function wf(e,t,n){Sf(e,``,{expires:-1,...t},n)}function Tf(e,t){return Cf(e,t)!==null}function Ef(e){return{get:t=>Cf(t,e),set:(t,n,r)=>Sf(t,n,r,e),has:t=>Tf(t,e),remove:(t,n)=>wf(t,n,e),getAll:()=>Cf(null,e)}}const Df={install({$q:e,ssrContext:t}){e.cookies=Ef(t)}};Df.parseSSR=e=>{if(e!==void 0)return Ef(e)};var Of=L({name:`DialogPluginComponent`,props:{...Et,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:`ok`,validator:e=>[`ok`,`cancel`,`none`].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:[`ok`,`hide`],setup(e,{emit:t}){let{proxy:r}=i(),{$q:o}=r,s=Dt(e,o),c=y(null),l=y(e.prompt===void 0?e.options===void 0?void 0:e.options.model:e.prompt.model),u=n(()=>`q-dialog-plugin`+(s.value===!0?` q-dialog-plugin--dark q-dark`:``)+(e.progress===!1?``:` q-dialog-plugin--progress`)),d=n(()=>e.color||(s.value===!0?`amber`:`primary`)),f=n(()=>e.progress===!1?null:Me(e.progress)===!0?{component:e.progress.spinner||$t,props:{color:e.progress.color||d.value}}:{component:$t,props:{color:d.value}}),p=n(()=>e.prompt!==void 0||e.options!==void 0),m=n(()=>{if(p.value!==!0)return{};let{model:t,isValid:n,items:r,...i}=e.prompt===void 0?e.options:e.prompt;return i}),h=n(()=>Me(e.ok)===!0||e.ok===!0?o.lang.label.ok:e.ok),g=n(()=>Me(e.cancel)===!0||e.cancel===!0?o.lang.label.cancel:e.cancel),_=n(()=>e.prompt===void 0?e.options===void 0?!1:e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0),v=n(()=>({color:d.value,label:h.value,ripple:!1,disable:_.value,...Me(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus===`ok`&&p.value!==!0||void 0,onClick:w})),b=n(()=>({color:d.value,label:g.value,ripple:!1,...Me(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus===`cancel`&&p.value!==!0||void 0,onClick:E}));T(()=>e.prompt&&e.prompt.model,O),T(()=>e.options&&e.options.model,O);function S(){c.value.show()}function C(){c.value.hide()}function w(){t(`ok`,x(l.value)),C()}function E(){C()}function D(){t(`hide`)}function O(e){l.value=e}function k(t){_.value!==!0&&e.prompt.type!==`textarea`&&fe(t,13)===!0&&w()}function A(t,n){return e.html===!0?a(si,{class:t,innerHTML:n}):a(si,{class:t},()=>n)}function j(){return[a(zc,{color:d.value,dense:!0,autofocus:!0,dark:s.value,...m.value,modelValue:l.value,"onUpdate:modelValue":O,onKeyup:k})]}function M(){return[a(ol,{color:d.value,options:e.options.items,dark:s.value,...m.value,modelValue:l.value,"onUpdate:modelValue":O})]}function N(){let t=[];return e.cancel&&t.push(a(On,b.value)),e.ok&&t.push(a(On,v.value)),a(ci,{class:e.stackButtons===!0?`items-end`:``,vertical:e.stackButtons,align:`right`},()=>t)}function P(){let t=[];return e.title&&t.push(A(`q-dialog__title`,e.title)),e.progress!==!1&&t.push(a(si,{class:`q-dialog__progress`},()=>a(f.value.component,f.value.props))),e.message&&t.push(A(`q-dialog__message`,e.message)),e.prompt===void 0?e.options!==void 0&&t.push(a(Rs,{dark:s.value}),a(si,{class:`scroll q-dialog-plugin__form`},M),a(Rs,{dark:s.value})):t.push(a(si,{class:`scroll q-dialog-plugin__form`},j)),(e.ok||e.cancel)&&t.push(N()),t}function F(){return[a(oi,{class:[u.value,e.cardClass],style:e.cardStyle,dark:s.value},P)]}return Object.assign(r,{show:S,hide:C}),()=>a(ls,{ref:c,onHide:D},F)}}),kf={install({$q:e,parentApp:t}){e.dialog=this.create=mf(Of,!0,t)}};const Af=z({isActive:!1},{show(e){},hide(e){},setDefaults(e){},install({$q:e,parentApp:t}){e.loading=this}});y(null);const jf=z({isActive:!1},{start:V,stop:V,increment:V,setDefaults:V,install({$q:e,parentApp:t}){e.loadingBar=this}});function Mf(e){e.title&&(e.title=e.titleTemplate?e.titleTemplate(e.title):e.title,delete e.titleTemplate),[[`meta`,`content`],[`link`,`href`]].forEach(t=>{let n=e[t[0]],r=t[1];for(let e in n){let t=n[e];t.template&&(Object.keys(t).length===1?delete n[e]:(t[r]=t.template(t[r]||``),delete t.template))}})}function Nf(e){return[`class`,`style`].includes(e)===!1}function Pf(e){return[`lang`,`dir`].includes(e)===!1}function Ff(e){return t=>{let n=e[t];return t+(n!==!0&&n!==void 0?`="${n}"`:``)}}function If(e){let t=``;return e.title&&(t+=`<title>${e.title}</title>`),[`meta`,`link`,`script`].forEach(n=>{let r=e[n];for(let e in r){let i=Object.keys(r[e]).filter(e=>e!==`innerHTML`).map(Ff(r[e]));t+=`<${n} ${i.join(` `)} data-qmeta="${e}">`,n===`script`&&(t+=(r[e].innerHTML||``)+`<\/script>`)}}),t}function Lf(e){let t={title:``,titleTemplate:null,meta:{},link:{},htmlAttr:{},bodyAttr:{},noscript:{}},n=e.__qMetaList;for(let e=0;e<n.length;e++)Ms(!0,t,n[e]);Mf(t);let r=e.nonce===void 0?``:` nonce="${e.nonce}"`,i=e._meta,a=Object.keys(t.htmlAttr).filter(Pf);a.length!==0&&(i.htmlAttrs+=(i.htmlAttrs.length===0?``:` `)+a.map(Ff(t.htmlAttr)).join(` `)),i.headTags+=If(t);let o=Object.keys(t.bodyAttr).filter(Nf);o.length!==0&&(i.bodyAttrs+=(i.bodyAttrs.length===0?``:` `)+o.map(Ff(t.bodyAttr)).join(` `)),i.bodyTags+=Object.keys(t.noscript).map(e=>`<noscript data-qmeta="${e}">${t.noscript[e]}</noscript>`).join(``)+`<script${r} id="qmeta-init">window.__Q_META__=${delete t.noscript&&JSON.stringify(t)}<\/script>`}var Rf={install(e){{let{ssrContext:t}=e;t.__qMetaList=[],t.onRendered(()=>{Lf(t)})}}},zf={setDefaults(e){},registerType(e,t){},install({$q:e,parentApp:t}){e.notify=this.create=V,e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify)}};function Bf(){let e=()=>null;return{has:()=>!1,hasItem:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:V,setItem:V,remove:V,removeItem:V,clear:V,isEmpty:()=>!0}}const Vf=Bf(),Hf={install({$q:e}){e.localStorage=Vf}};Object.assign(Hf,Vf);const Uf=Bf(),Wf={install({$q:e}){e.sessionStorage=Uf}};Object.assign(Wf,Uf);function Gf(){let{emit:e,proxy:t}=i(),n=y(null);function r(){n.value.show()}function a(){n.value.hide()}function o(t){e(`ok`,t),a()}function s(){e(`hide`)}return Object.assign(t,{show:r,hide:a}),{dialogRef:n,onDialogHide:s,onDialogOK:o,onDialogCancel:a}}const Kf=[`ok`,`hide`];Gf.emits=Kf,Gf.emitsObject=wd(Kf);function qf(e){C().__qMetaList.push(typeof e==`function`?e():e)}function Jf(){return o(`_q_`)}function Yf(){let e=null,t=i();function n(){e!==null&&(clearInterval(e),e=null)}return m(n),f(n),{removeInterval:n,registerInterval(r,i){n(e),Rt(t)===!1&&(e=setInterval(r,i))}}}function Xf(e){let t=document.createElement(`textarea`);t.value=e,t.contentEditable=`true`,t.style.position=`fixed`;let n=()=>{};Sr(n),document.body.appendChild(t),t.focus(),t.select();let r=document.execCommand(`copy`);return t.remove(),Cr(n),r}function Zf(e){return navigator.clipboard===void 0?new Promise((t,n)=>{let r=Xf(e);r?t(!0):n(r)}):navigator.clipboard.writeText(e)}var Qf=e=>({created:typeof e==`function`?function(){this.ssrContext.__qMetaList.push(e.call(this)||{})}:function(){this.ssrContext.__qMetaList.push(e)}}),$f=class{constructor(){this.__stack={}}on(e,t,n){return(this.__stack[e]||(this.__stack[e]=[])).push({fn:t,ctx:n}),this}once(e,t,n){let r=(...i)=>{this.off(e,r),t.apply(n,i)};return r.__callback=t,this.on(e,r,n)}emit(e){let t=this.__stack[e];if(t!==void 0){let e=[].slice.call(arguments,1);t.forEach(t=>{t.fn.apply(t.ctx,e)})}return this}off(e,t){let n=this.__stack[e];if(n===void 0)return this;if(t===void 0)return delete this.__stack[e],this;let r=n.filter(e=>e.fn!==t&&e.fn.__callback!==t);return r.length===0?delete this.__stack[e]:this.__stack[e]=r,this}};function ep(e){setTimeout(()=>{window.URL.revokeObjectURL(e.href)},1e4),e.remove()}function tp(e,t,n={}){let{mimeType:r,byteOrderMark:i,encoding:a}=typeof n==`string`?{mimeType:n}:n,o=a===void 0?t:new TextEncoder(a).encode([t]),s=new Blob(i===void 0?[o]:[i,o],{type:r||`application/octet-stream`}),c=document.createElement(`a`);c.href=window.URL.createObjectURL(s),c.setAttribute(`download`,e),c.download===void 0&&c.setAttribute(`target`,`_blank`),c.classList.add(`hidden`),c.style.position=`fixed`,document.body.appendChild(c);try{return c.click(),ep(c),!0}catch(e){return ep(c),e}}function np(e){let t=Object.assign({noopener:!0},e),n=[];for(let e in t){let r=t[e];r===!0?n.push(e):(Fe(r)||typeof r==`string`&&r!==``)&&n.push(e+`=`+r)}return n.join(`,`)}function rp(e,t,n){let r=window.open;if(I.is.cordova===!0){if(cordova?.InAppBrowser?.open!==void 0)r=cordova.InAppBrowser.open;else if(navigator?.app!==void 0)return navigator.app.loadUrl(e,{openExternal:!0})}let i=Object.assign({noopener:!0},n),a=i.noopener===!0||i.noreferrer===!0,o=r(e,`_blank`,np(n));if(o)return I.is.desktop&&o.focus(),o;a===!1&&t?.()}var ip=(e,t,n)=>{if(I.is.ios===!0&&window.SafariViewController!==void 0){window.SafariViewController.isAvailable(r=>{r?window.SafariViewController.show({url:e},V,t):rp(e,t,n)});return}return rp(e,t,n)};function ap(e){let t=Array.isArray(e);if(t===!0){let n=e.length;return{isList:t,totalJobs:n,resultAggregator:Array(n).fill(null)}}let n=Object.keys(e),r={};return n.forEach(e=>{r[e]=null}),{isList:t,totalJobs:n.length,resultAggregator:r,resultKeys:n}}function op(e,{threadsNumber:t=1,abortOnFail:n=!0}={}){let r=-1,i=!1,{isList:a,totalJobs:o,resultAggregator:s,resultKeys:c}=ap(e),l=Array(Math.min(o,t)).fill(null).map(()=>new Promise((t,l)=>{function u(){let d=++r;if(i===!0||d>=o){t();return}let f=a===!0?d:c[d];e[f](s).then(e=>{if(i===!0){t();return}s[f]={key:f,status:`fulfilled`,value:e},setTimeout(u)}).catch(e=>{if(i===!0){t();return}let r={key:f,status:`rejected`,reason:e};if(s[f]=r,n===!0){i=!0,l({...r,resultAggregator:s});return}setTimeout(u)})}u()}));return Promise.all(l).then(()=>s)}const sp={version:`2.19.2`,install(e,t,n){Be(e,{components:Pd,directives:of,...t},n)},lang:xe,iconSet:Ce};export{cf as AddressbarColor,uf as AppFullscreen,df as AppVisibility,hf as BottomSheet,Fd as ClosePopup,Df as Cookies,ce as Dark,kf as Dialog,$f as EventBus,Ce as IconSet,Bc as Intersection,xe as Lang,Af as Loading,jf as LoadingBar,Hf as LocalStorage,Rf as Meta,Qd as Morph,$d as Mutation,zf as Notify,I as Platform,et as QAjaxBar,Ct as QAvatar,Tt as QBadge,Ot as QBanner,kt as QBar,Bt as QBreadcrumbs,Xt as QBreadcrumbsEl,On as QBtn,ei as QBtnDropdown,kn as QBtnGroup,ai as QBtnToggle,oi as QCard,ci as QCardActions,si as QCardSection,Ci as QCarousel,Ti as QCarouselControl,wi as QCarouselSlide,Ei as QChatMessage,Ni as QCheckbox,Fi as QChip,zi as QCircularProgress,Aa as QColor,Ho as QDate,ls as QDialog,us as QDrawer,Ns as QEditor,Vs as QExpansionItem,qs as QFab,Xs as QFabAction,sc as QField,mc as QFile,hc as QFooter,gc as QForm,_c as QFormChildMixin,vc as QHeader,St as QIcon,xc as QImg,Cc as QInfiniteScroll,wc as QInnerLoading,zc as QInput,Vc as QIntersection,_s as QItem,Ps as QItemLabel,vs as QItemSection,Kc as QKnob,Xc as QLayout,Cl as QLinearProgress,Uc as QList,Qc as QMarkupTable,Hr as QMenu,$c as QNoSsr,ol as QOptionGroup,sl as QPage,cl as QPageContainer,dl as QPageScroller,fl as QPageSticky,ml as QPagination,_l as QParallax,yl as QPopupEdit,bl as QPopupProxy,wl as QPullToRefresh,tl as QRadio,El as QRange,Dl as QRating,Xi as QResizeObserver,Ol as QResponsive,ld as QRouteTab,Pl as QScrollArea,Yc as QScrollObserver,Xl as QSelect,Rs as QSeparator,$l as QSkeleton,tu as QSlideItem,Fs as QSlideTransition,Ji as QSlider,nu as QSpace,$t as QSpinner,ru as QSpinnerAudio,iu as QSpinnerBall,au as QSpinnerBars,ou as QSpinnerBox,su as QSpinnerClock,cu as QSpinnerComment,lu as QSpinnerCube,uu as QSpinnerDots,du as QSpinnerFacebook,fu as QSpinnerGears,pu as QSpinnerGrid,mu as QSpinnerHearts,hu as QSpinnerHourglass,gu as QSpinnerInfinity,_u as QSpinnerIos,vu as QSpinnerOrbit,yu as QSpinnerOval,bu as QSpinnerPie,xu as QSpinnerPuff,Su as QSpinnerRadio,Cu as QSpinnerRings,wu as QSpinnerTail,Tu as QSplitter,ku as QStep,Mu as QStepper,Nu as QStepperNavigation,ia as QTab,oa as QTabPanel,aa as QTabPanels,od as QTable,$i as QTabs,cd as QTd,Pu as QTh,fd as QTime,pd as QTimeline,md as QTimelineEntry,nl as QToggle,hd as QToolbar,gd as QToolbarTitle,gs as QTooltip,sd as QTr,vd as QTree,jd as QUploader,Md as QUploaderAddTrigger,Nd as QVideo,Ru as QVirtualScroll,sp as Quasar,pn as Ripple,se as Screen,nf as Scroll,tf as ScrollFire,Wf as SessionStorage,rf as TouchHold,Bi as TouchPan,af as TouchRepeat,ui as TouchSwipe,vl as clone,Da as colors,Zf as copyToClipboard,Qf as createMetaMixin,Ed as createUploaderComponent,Io as date,ae as debounce,un as dom,ie as event,tp as exportFile,Ms as extend,Ke as format,hl as frameDebounce,sf as getCssVar,Ie as is,Zd as morph,V as noop,ip as openURL,pa as patterns,op as runSequentialPromises,dr as scroll,X as setCssVar,dn as throttle,Jr as uid,Gf as useDialogPluginComponent,Zs as useFormChild,Yi as useHydration,Zr as useId,Yf as useInterval,qf as useMeta,Jf as useQuasar,di as useRenderCache,Ds as useSplitAttrs,qn as useTick,Jn as useTimeout};