quasar 2.14.6 → 2.14.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/Intersection.json +1 -1
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v7.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v7.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar-TN.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de-CH.umd.prod.js +1 -1
- package/dist/lang/de-DE.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/eu.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hi.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/kk.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/mk.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/mm.umd.prod.js +1 -1
- package/dist/lang/ms-MY.umd.prod.js +7 -0
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/my.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sm.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tl.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/uz-Cyrl.umd.prod.js +1 -1
- package/dist/lang/uz-Latn.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +3 -3
- package/dist/quasar.css +5 -2
- package/dist/quasar.esm.js +4 -4
- package/dist/quasar.esm.prod.js +3 -3
- package/dist/quasar.rtl.css +5 -2
- package/dist/quasar.sass +9 -7
- package/dist/quasar.umd.js +4 -4
- package/dist/quasar.umd.prod.js +3 -3
- package/dist/types/index.d.ts +3 -130
- package/dist/web-types/web-types.json +1 -1
- package/lang/index.json +1 -1
- package/lang/ms-MY.js +101 -0
- package/lang/ms-MY.mjs +96 -0
- package/lang/tl.js +1 -1
- package/lang/tl.mjs +1 -1
- package/package.json +5 -5
- package/src/components/color/QColor.sass +1 -1
- package/src/components/field/QField.sass +2 -1
- package/src/components/table/QTable.sass +2 -2
- package/src/css/core/colors.sass +0 -2
- package/src/css/core/visibility.sass +2 -1
- package/src/css/normalize.sass +1 -1
- package/src/directives/Intersection.json +13 -0
package/dist/quasar.umd.prod.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Quasar Framework v2.14.
|
|
2
|
+
* Quasar Framework v2.14.7
|
|
3
3
|
* (c) 2015-present Razvan Stoenescu
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
(()=>{var uv=Object.create;var pl=Object.defineProperty;var sv=Object.getOwnPropertyDescriptor;var cv=Object.getOwnPropertyNames;var dv=Object.getPrototypeOf,fv=Object.prototype.hasOwnProperty;var qu=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Nr=(e,t)=>{for(var o in t)pl(e,o,{get:t[o],enumerable:!0})},mv=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of cv(t))!fv.call(e,n)&&n!==o&&pl(e,n,{get:()=>t[n],enumerable:!(r=sv(t,n))||r.enumerable});return e};var Tu=(e,t,o)=>(o=e!=null?uv(dv(e)):{},mv(t||!e||!e.__esModule?pl(o,"default",{value:e,enumerable:!0}):o,e));var Nu=qu((B0,Iu)=>{Iu.exports={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,o)=>e+"-"+t+" of "+o,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}}});var Yu=qu((Q0,Wu)=>{Wu.exports={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}}});var{h:a,ref:T,computed:s,watch:j,isRef:Mu,toRaw:so,unref:Ru,reactive:jo,shallowReactive:Pu,nextTick:Ae,onActivated:Ht,onDeactivated:Bt,onBeforeMount:Nn,onMounted:je,onBeforeUnmount:ye,onUnmounted:Hn,onBeforeUpdate:ko,onUpdated:Au,inject:ht,provide:Qt,getCurrentInstance:U,markRaw:Hr,Transition:lt,TransitionGroup:$u,KeepAlive:pi,Teleport:Eu,useSSRContext:m0,withDirectives:$t,vShow:bi,defineComponent:Bu,createApp:Fu}=window.Vue;function st(e,t,o,r){return Object.defineProperty(e,t,{get:o,set:r,enumerable:!0}),e}function yi(e,t){for(let o in t)st(e,o,t[o]);return e}var kt=T(!1),bl;function vv(e,t){let o=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:o[5]||o[3]||o[1]||"",version:o[2]||o[4]||"0",versionNumber:o[4]||o[2]||"0",platform:t[0]||""}}function gv(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}var Vu="ontouchstart"in window||window.navigator.maxTouchPoints>0;function hv(e){let t=e.toLowerCase(),o=gv(t),r=vv(t,o),n={};r.browser&&(n[r.browser]=!0,n.version=r.version,n.versionNumber=parseInt(r.versionNumber,10)),r.platform&&(n[r.platform]=!0);let i=n.android||n.ios||n.bb||n.blackberry||n.ipad||n.iphone||n.ipod||n.kindle||n.playbook||n.silk||n["windows phone"];if(i===!0||t.indexOf("mobile")!==-1?n.mobile=!0:n.desktop=!0,n["windows phone"]&&(n.winphone=!0,delete n["windows phone"]),n.edga||n.edgios?(n.edge=!0,r.browser="edge"):n.crios?(n.chrome=!0,r.browser="chrome"):n.fxios?(n.firefox=!0,r.browser="firefox"):(n.ipod||n.ipad||n.iphone)&&(n.ios=!0),n.vivaldi&&(r.browser="vivaldi",n.vivaldi=!0),(n.chrome||n.opr||n.safari||n.vivaldi||n.mobile===!0&&n.ios!==!0&&i!==!0)&&(n.webkit=!0),n.edg?(r.browser="edgechromium",n.edgeChromium=!0):n.opr&&(r.browser="opera",n.opera=!0),n.safari&&(n.blackberry||n.bb?(r.browser="blackberry",n.blackberry=!0):n.playbook?(r.browser="playbook",n.playbook=!0):n.android?(r.browser="android",n.android=!0):n.kindle?(r.browser="kindle",n.kindle=!0):n.silk&&(r.browser="silk",n.silk=!0)),n.name=r.browser,n.platform=r.platform,t.indexOf("electron")!==-1)n.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)n.bex=!0;else{if(window.Capacitor!==void 0?(n.capacitor=!0,n.nativeMobile=!0,n.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(n.cordova=!0,n.nativeMobile=!0,n.nativeMobileWrapper="cordova"),kt.value===!0&&(bl={is:{...n}}),Vu===!0&&n.mac===!0&&(n.desktop===!0&&n.safari===!0||n.nativeMobile===!0&&n.android!==!0&&n.ios!==!0&&n.ipad!==!0)){delete n.mac,delete n.desktop;let l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(n,{mobile:!0,ios:!0,platform:l,[l]:!0})}n.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete n.desktop,n.mobile=!0)}return n}var Lu=navigator.userAgent||navigator.vendor||window.opera,pv={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Me={userAgent:Lu,is:hv(Lu),has:{touch:Vu},within:{iframe:window.self!==window.top}},yl={install(e){let{$q:t}=e;kt.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Me),kt.value=!1}),t.platform=jo(this)):t.platform=this}};{let e;st(Me.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(yl,Me),kt.value===!0&&(Object.assign(yl,bl,pv),bl=null)}var qo=yl;var jt=(e,t)=>{let o=jo(e);for(let r in e)st(t,r,()=>o[r],n=>{o[r]=n});return t};var Je={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{let e=Object.defineProperty({},"passive",{get(){Object.assign(Je,{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 Ye(){}function Uo(e){return e.button===0}function bv(e){return e.button===1}function yv(e){return e.button===2}function xt(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 Sl(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();let t=[],o=e.target;for(;o;){if(t.push(o),o.tagName==="HTML")return t.push(document),t.push(window),t;o=o.parentElement}}var Sv=40,xv=800;function _v(e){let t=e.deltaX,o=e.deltaY;if((t||o)&&e.deltaMode){let r=e.deltaMode===1?Sv:xv;t*=r,o*=r}return e.shiftKey&&!t&&([o,t]=[t,o]),{x:t,y:o}}function rt(e){e.stopPropagation()}function ft(e){e.cancelable!==!1&&e.preventDefault()}function qe(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Ko(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;let o=t===!0?r=>{r.__dragPrevented=!0,r.addEventListener("dragstart",ft,Je.notPassiveCapture)}:r=>{delete r.__dragPrevented,r.removeEventListener("dragstart",ft,Je.notPassiveCapture)};e.querySelectorAll("a, img").forEach(o)}function dt(e,t,o){let r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(o):o,o.forEach(n=>{n[0].addEventListener(n[1],e[n[2]],Je[n[3]])})}function qt(e,t){let o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],Je[r[3]])}),e[o]=void 0)}var Du={listenOpts:Je,leftClick:Uo,middleClick:bv,rightClick:yv,position:xt,getEventPath:Sl,getMouseWheelDistance:_v,stop:rt,prevent:ft,stopAndPrevent:qe,preventDraggable:Ko};function Xt(e,t=250,o){let r=null;function n(){let i=arguments,l=()=>{r=null,o!==!0&&e.apply(this,i)};r!==null?clearTimeout(r):o===!0&&e.apply(this,i),r=setTimeout(l,t)}return n.cancel=()=>{r!==null&&clearTimeout(r)},n}var xl=["sm","md","lg","xl"],{passive:zu}=Je,Si=jt({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:Ye,setDebounce:Ye,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}let{visualViewport:o}=window,r=o||window,n=document.scrollingElement||document.documentElement,i=o===void 0||Me.is.mobile===!0?()=>[Math.max(window.innerWidth,n.clientWidth),Math.max(window.innerHeight,n.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-n.clientWidth,o.height*o.scale+window.innerHeight-n.clientHeight],l=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=g=>{let[v,m]=i();if(m!==this.height&&(this.height=m),v!==this.width)this.width=v;else if(g!==!0)return;let h=this.sizes;this.gt.xs=v>=h.sm,this.gt.sm=v>=h.md,this.gt.md=v>=h.lg,this.gt.lg=v>=h.xl,this.lt.sm=v<h.sm,this.lt.md=v<h.md,this.lt.lg=v<h.lg,this.lt.xl=v<h.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,h=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",h!==this.name&&(l===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${h}`)),this.name=h)};let u,d={},f=16;this.setSizes=g=>{xl.forEach(v=>{g[v]!==void 0&&(d[v]=g[v])})},this.setDebounce=g=>{f=g};let c=()=>{let g=getComputedStyle(document.body);g.getPropertyValue("--q-size-sm")&&xl.forEach(v=>{this.sizes[v]=parseInt(g.getPropertyValue(`--q-size-${v}`),10)}),this.setSizes=v=>{xl.forEach(m=>{v[m]&&(this.sizes[m]=v[m])}),this.__update(!0)},this.setDebounce=v=>{u!==void 0&&r.removeEventListener("resize",u,zu),u=v>0?Xt(this.__update,v):this.__update,r.addEventListener("resize",u,zu)},this.setDebounce(f),Object.keys(d).length!==0?(this.setSizes(d),d=void 0):this.__update(),l===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};kt.value===!0?t.push(c):c()}});var Ut=jt({isActive:!1,mode:!1},{__media:void 0,set(e){Ut.mode=e,e==="auto"?(Ut.__media===void 0&&(Ut.__media=window.matchMedia("(prefers-color-scheme: dark)"),Ut.__updateMedia=()=>{Ut.set("auto")},Ut.__media.addListener(Ut.__updateMedia)),e=Ut.__media.matches):Ut.__media!==void 0&&(Ut.__media.removeListener(Ut.__updateMedia),Ut.__media=void 0),Ut.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){Ut.set(Ut.isActive===!1)},install({$q:e,ssrContext:t}){let{dark:o}=e.config;e.dark=this,this.__installed!==!0&&this.set(o!==void 0?o:!1)}}),xi=Ut;var Ou=()=>!0;function Cv(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function wv(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function kv(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Ou;let t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(Cv).map(wv)),()=>t.includes(window.location.hash)}var tn={__history:[],add:Ye,remove:Ye,install({$q:e}){if(this.__installed===!0)return;let{cordova:t,capacitor:o}=Me.is;if(t!==!0&&o!==!0)return;let r=e.config[t===!0?"cordova":"capacitor"];if(r!==void 0&&r.backButton===!1||o===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=l=>{l.condition===void 0&&(l.condition=Ou),this.__history.push(l)},this.remove=l=>{let u=this.__history.indexOf(l);u>=0&&this.__history.splice(u,1)};let n=kv(Object.assign({backButtonExit:!0},r)),i=()=>{if(this.__history.length){let l=this.__history[this.__history.length-1];l.condition()===!0&&(this.__history.pop(),l.handler())}else n()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",i,!1)}):window.Capacitor.Plugins.App.addListener("backButton",i)}};var Qr=Tu(Nu());function Hu(){let e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,o)=>o===0?t.toLowerCase():o>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}var To=jt({__langPack:{}},{getLocale:Hu,set(e=Qr.default,t){let o={...e,rtl:e.rtl===!0,getLocale:Hu};if(o.set=To.set,To.__langConfig===void 0||To.__langConfig.noHtmlAttrs!==!0){let r=document.documentElement;r.setAttribute("dir",o.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",o.isoName)}Object.assign(To.__langPack,o),To.props=o,To.isoName=o.isoName,To.nativeName=o.nativeName},install({$q:e,lang:t,ssrContext:o}){e.lang=To.__langPack,To.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):this.set(t||Qr.default)}}),xn=To;function jr(e,t,o=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(o instanceof Element))throw new TypeError("Expected a DOM element");o.style.setProperty(`--q-${e}`,t)}var Qu=!1;function ju(e){Qu=e.isComposing===!0}function no(e){return Qu===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Tt(e,t){return no(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Uu(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function qv({is:e,has:t,within:o},r){let n=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){let i=Uu(e);i!==void 0&&n.push("platform-"+i)}if(e.nativeMobile===!0){let i=e.nativeMobileWrapper;n.push(i),n.push("native-mobile"),e.ios===!0&&(r[i]===void 0||r[i].iosStatusBarPadding!==!1)&&n.push("q-ios-padding")}else e.electron===!0?n.push("electron"):e.bex===!0&&n.push("bex");return o.iframe===!0&&n.push("within-iframe"),n}function Tv(){let{is:e}=Me,t=document.body.className,o=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)o.delete("mobile"),o.delete("platform-ios"),o.delete("platform-android"),o.add("desktop");else if(e.mobile===!0){o.delete("desktop"),o.add("mobile"),o.delete("platform-ios"),o.delete("platform-android");let n=Uu(e);n!==void 0&&o.add(`platform-${n}`)}}Me.has.touch===!0&&(o.delete("no-touch"),o.add("touch")),Me.within.iframe===!0&&o.add("within-iframe");let r=Array.from(o).join(" ");t!==r&&(document.body.className=r)}function Mv(e){for(let t in e)jr(t,e[t])}var Ku={install(e){if(this.__installed!==!0){if(kt.value===!0)Tv();else{let{$q:t}=e;t.config.brand!==void 0&&Mv(t.config.brand);let o=qv(Me,t.config);document.body.classList.add.apply(document.body.classList,o)}Me.is.ios===!0&&document.body.addEventListener("touchstart",Ye),window.addEventListener("keydown",ju,!0)}}};var Xu=Tu(Yu()),_l=jt({iconMapFn:null,__icons:{}},{set(e,t){let o={...e,rtl:e.rtl===!0};o.set=_l.set,Object.assign(_l.__icons,o)},install({$q:e,iconSet:t,ssrContext:o}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,st(e,"iconMapFn",()=>this.iconMapFn,r=>{this.iconMapFn=r}),this.__installed===!0?t!==void 0&&this.set(t):this.set(t||Xu.default)}}),_i=_l;var Ci="_q_",wi="_q_t_",ki="_q_s_",Gt="_q_l_",qi="_q_pc_",Ti="_q_f_",Wo="_q_fo_",Mi="_q_tabs_",Ri="_q_u_",Ze=()=>{};var Qn={},Cl=!1;function Gu(){Cl=!0}function Kt(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,r;if(e.constructor===Array){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(Kt(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let i=e.entries();for(r=i.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=i.next()}for(i=e.entries(),r=i.next();r.done!==!0;){if(Kt(r.value[1],t.get(r.value[0]))!==!0)return!1;r=i.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;let i=e.entries();for(r=i.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=i.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e).filter(i=>e[i]!==void 0);if(o=n.length,o!==Object.keys(t).filter(i=>t[i]!==void 0).length)return!1;for(r=o;r--!==0;){let i=n[r];if(Kt(e[i],t[i])!==!0)return!1}return!0}return e!==e&&t!==t}function ct(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Yo(e){return Object.prototype.toString.call(e)==="[object Date]"}function wl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function co(e){return typeof e=="number"&&isFinite(e)}var Zu={deepEqual:Kt,object:ct,date:Yo,regexp:wl,number:co};var Ju=[qo,Ku,xi,Si,tn,xn,_i];function on(e,t){let o=Fu(e);o.config.globalProperties=t.config.globalProperties;let{reload:r,...n}=t._context;return Object.assign(o._context,n),o}function es(e,t){t.forEach(o=>{o.install(e),o.__installed=!0})}function Rv(e,t,o){e.config.globalProperties.$q=o.$q,e.provide(Ci,o.$q),es(o,Ju),t.components!==void 0&&Object.values(t.components).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&es(o,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&Ju.includes(r)===!1)),kt.value===!0&&(o.$q.onSSRHydrated=()=>{o.onSSRHydrated.forEach(r=>{r()}),o.$q.onSSRHydrated=()=>{}})}var ts=function(e,t={}){let o={version:"2.14.6"};Cl===!1?(t.config!==void 0&&Object.assign(Qn,t.config),o.config={...Qn},Gu()):o.config=t.config||{},Rv(e,t,{parentApp:e,$q:o,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})};var el={};Nr(el,{QAjaxBar:()=>Ai,QAvatar:()=>Ei,QBadge:()=>ds,QBanner:()=>fs,QBar:()=>ms,QBreadcrumbs:()=>hs,QBreadcrumbsEl:()=>Ss,QBtn:()=>Oe,QBtnDropdown:()=>ji,QBtnGroup:()=>tr,QBtnToggle:()=>zs,QCard:()=>hr,QCardActions:()=>Ui,QCardSection:()=>bo,QCarousel:()=>Is,QCarouselControl:()=>Hs,QCarouselSlide:()=>Ns,QChatMessage:()=>Qs,QCheckbox:()=>Do,QChip:()=>qr,QCircularProgress:()=>Tr,QColor:()=>oc,QDate:()=>hc,QDialog:()=>Io,QDrawer:()=>wc,QEditor:()=>Bc,QExpansionItem:()=>Fc,QFab:()=>Lc,QFabAction:()=>Dc,QField:()=>ka,QFile:()=>Ic,QFooter:()=>Nc,QForm:()=>Hc,QFormChildMixin:()=>Qc,QHeader:()=>jc,QIcon:()=>Re,QImg:()=>Uc,QInfiniteScroll:()=>Kc,QInnerLoading:()=>Wc,QInput:()=>Br,QIntersection:()=>nd,QItem:()=>No,QItemLabel:()=>Ln,QItemSection:()=>oo,QKnob:()=>id,QLayout:()=>ld,QLinearProgress:()=>Ha,QList:()=>Ba,QMarkupTable:()=>Fa,QMenu:()=>Fo,QNoSsr:()=>ud,QOptionGroup:()=>Da,QPage:()=>cd,QPageContainer:()=>dd,QPageScroller:()=>fd,QPageSticky:()=>md,QPagination:()=>vd,QParallax:()=>gd,QPopupEdit:()=>hd,QPopupProxy:()=>pd,QPullToRefresh:()=>yd,QRadio:()=>La,QRange:()=>Sd,QRating:()=>xd,QResizeObserver:()=>to,QResponsive:()=>_d,QRouteTab:()=>$f,QScrollArea:()=>qd,QScrollObserver:()=>Fr,QSelect:()=>Ua,QSeparator:()=>io,QSkeleton:()=>Ad,QSlideItem:()=>Ed,QSlideTransition:()=>gn,QSlider:()=>Go,QSpace:()=>Bd,QSpinner:()=>Ct,QSpinnerAudio:()=>Fd,QSpinnerBall:()=>Ld,QSpinnerBars:()=>Vd,QSpinnerBox:()=>Dd,QSpinnerClock:()=>zd,QSpinnerComment:()=>Od,QSpinnerCube:()=>Id,QSpinnerDots:()=>Nd,QSpinnerFacebook:()=>Hd,QSpinnerGears:()=>Qd,QSpinnerGrid:()=>jd,QSpinnerHearts:()=>Ud,QSpinnerHourglass:()=>Kd,QSpinnerInfinity:()=>Wd,QSpinnerIos:()=>Yd,QSpinnerOrbit:()=>Xd,QSpinnerOval:()=>Gd,QSpinnerPie:()=>Zd,QSpinnerPuff:()=>Jd,QSpinnerRadio:()=>ef,QSpinnerRings:()=>tf,QSpinnerTail:()=>of,QSplitter:()=>nf,QStep:()=>lf,QStepper:()=>uf,QStepperNavigation:()=>sf,QTab:()=>cn,QTabPanel:()=>Mr,QTabPanels:()=>aa,QTable:()=>Rf,QTabs:()=>ni,QTd:()=>Af,QTh:()=>Wa,QTime:()=>Ef,QTimeline:()=>Bf,QTimelineEntry:()=>Ff,QToggle:()=>Va,QToolbar:()=>Lf,QToolbarTitle:()=>Vf,QTooltip:()=>Sa,QTr:()=>Pf,QTree:()=>Df,QUploader:()=>Hf,QUploaderAddTrigger:()=>Qf,QVideo:()=>jf,QVirtualScroll:()=>Xa});var A=e=>Hr(Bu(e)),Pt=e=>Hr(e);var os=["B","KB","MB","GB","TB","PB"];function jn(e){let t=0;for(;parseInt(e,10)>=1024&&t<os.length-1;)e/=1024,++t;return`${e.toFixed(1)}${os[t]}`}function kl(e){return e.charAt(0).toUpperCase()+e.slice(1)}function tt(e,t,o){return o<=t?t:Math.min(o,Math.max(t,e))}function _n(e,t,o){if(o<=t)return t;let r=o-t+1,n=t+(e-t)%r;return n<t&&(n=r+n),n===0?0:n}function ot(e,t=2,o="0"){if(e==null)return e;let r=""+e;return r.length>=t?r:new Array(t-r.length+1).join(o)+r}var ns={humanStorageSize:jn,capitalize:kl,between:tt,normalizeToInterval:_n,pad:ot};var ql=XMLHttpRequest,rs=ql.prototype.open,Pv=["top","right","bottom","left"],Pi=[],Ur=0;function Av({p:e,pos:t,active:o,horiz:r,reverse:n,dir:i}){let l=1,u=1;return r===!0?(n===!0&&(l=-1),t==="bottom"&&(u=-1),{transform:`translate3d(${l*(e-100)}%,${o?0:u*-200}%,0)`}):(n===!0&&(u=-1),t==="right"&&(l=-1),{transform:`translate3d(${o?0:i*l*-200}%,${u*(e-100)}%,0)`})}function $v(e,t){return typeof t!="number"&&(e<25?t=Math.random()*3+3:e<65?t=Math.random()*3:e<85?t=Math.random()*2:e<99?t=.6:t=0),tt(e+t,0,100)}function Ev(e){Ur++,Pi.push(e),!(Ur>1)&&(ql.prototype.open=function(t,o){let r=[],n=()=>{Pi.forEach(l=>{(l.hijackFilter.value===null||l.hijackFilter.value(o)===!0)&&(l.start(),r.push(l.stop))})},i=()=>{r.forEach(l=>{l()})};this.addEventListener("loadstart",n,{once:!0}),this.addEventListener("loadend",i,{once:!0}),rs.apply(this,arguments)})}function Bv(e){Pi=Pi.filter(t=>t.start!==e),Ur=Math.max(0,Ur-1),Ur===0&&(ql.prototype.open=rs)}var Ai=A({name:"QAjaxBar",props:{position:{type:String,default:"top",validator:e=>Pv.includes(e)},size:{type:String,default:"2px"},color:String,skipHijack:Boolean,reverse:Boolean,hijackFilter:Function},emits:["start","stop"],setup(e,{emit:t}){let{proxy:o}=U(),r=T(0),n=T(!1),i=T(!0),l=0,u=null,d,f=s(()=>`q-loading-bar q-loading-bar--${e.position}`+(e.color!==void 0?` bg-${e.color}`:"")+(i.value===!0?"":" no-transition")),c=s(()=>e.position==="top"||e.position==="bottom"),g=s(()=>c.value===!0?"height":"width"),v=s(()=>{let b=n.value,p=Av({p:r.value,pos:e.position,active:b,horiz:c.value,reverse:o.$q.lang.rtl===!0&&["top","bottom"].includes(e.position)?e.reverse===!1:e.reverse,dir:o.$q.lang.rtl===!0?-1:1});return p[g.value]=e.size,p.opacity=b?1:0,p}),m=s(()=>n.value===!0?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r.value}:{"aria-hidden":"true"});function h(b=300){let p=d;return d=Math.max(0,b)||0,l++,l>1?(p===0&&b>0?q():u!==null&&p>0&&b<=0&&(clearTimeout(u),u=null),l):(u!==null&&clearTimeout(u),t("start"),r.value=0,u=setTimeout(()=>{u=null,i.value=!0,b>0&&q()},n._value===!0?500:1),n._value!==!0&&(n.value=!0,i.value=!1),l)}function C(b){return l>0&&(r.value=$v(r.value,b)),l}function y(){if(l=Math.max(0,l-1),l>0)return l;u!==null&&(clearTimeout(u),u=null),t("stop");let b=()=>{i.value=!0,r.value=100,u=setTimeout(()=>{u=null,n.value=!1},1e3)};return r.value===0?u=setTimeout(b,1):b(),l}function q(){r.value<100&&(u=setTimeout(()=>{u=null,C(),q()},d))}let S;return je(()=>{e.skipHijack!==!0&&(S=!0,Ev({start:h,stop:y,hijackFilter:s(()=>e.hijackFilter||null)}))}),ye(()=>{u!==null&&clearTimeout(u),S===!0&&Bv(h)}),Object.assign(o,{start:h,stop:y,increment:C}),()=>a("div",{class:f.value,style:v.value,...m.value})}});var $i={xs:18,sm:24,md:32,lg:38,xl:46},Lt={size:String};function Vt(e,t=$i){return s(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function ie(e,t){return e!==void 0&&e()||t}function Mo(e,t){if(e!==void 0){let o=e();if(o!=null)return o.slice()}return t}function Xe(e,t){return e!==void 0?t.concat(e()):t}function Un(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Mt(e,t,o,r,n,i){t.key=r+n;let l=a(e,t,o);return n===!0?$t(l,i()):l}var is="0 0 24 24",as=e=>e,Tl=e=>`ionicons ${e}`,us={"mdi-":e=>`mdi ${e}`,"icon-":as,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Tl,"ion-ios":Tl,"ion-logo":Tl,"iconfont ":as,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},ss={o_:"-outlined",r_:"-round",s_:"-sharp"},cs={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Fv=new RegExp("^("+Object.keys(us).join("|")+")"),Lv=new RegExp("^("+Object.keys(ss).join("|")+")"),ls=new RegExp("^("+Object.keys(cs).join("|")+")"),Vv=/^[Mm]\s?[-+]?\.?\d/,Dv=/^img:/,zv=/^svguse:/,Ov=/^ion-/,Iv=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Re=A({name:"QIcon",props:{...Lt,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Vt(e),n=s(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),i=s(()=>{let l,u=e.name;if(u==="none"||!u)return{none:!0};if(o.iconMapFn!==null){let c=o.iconMapFn(u);if(c!==void 0)if(c.icon!==void 0){if(u=c.icon,u==="none"||!u)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(Vv.test(u)===!0){let[c,g=is]=u.split("|");return{svg:!0,viewBox:g,nodes:c.split("&&").map(v=>{let[m,h,C]=v.split("@@");return a("path",{style:h,d:m,transform:C})})}}if(Dv.test(u)===!0)return{img:!0,src:u.substring(4)};if(zv.test(u)===!0){let[c,g=is]=u.split("|");return{svguse:!0,src:c.substring(7),viewBox:g}}let d=" ",f=u.match(Fv);if(f!==null)l=us[f[1]](u);else if(Iv.test(u)===!0)l=u;else if(Ov.test(u)===!0)l=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${u.substring(3)}`;else if(ls.test(u)===!0){l="notranslate material-symbols";let c=u.match(ls);c!==null&&(u=u.substring(6),l+=cs[c[1]]),d=u}else{l="notranslate material-icons";let c=u.match(Lv);c!==null&&(u=u.substring(2),l+=ss[c[1]]),d=u}return{cls:l,content:d}});return()=>{let l={class:n.value,style:r.value,"aria-hidden":"true",role:"presentation"};return i.value.none===!0?a(e.tag,l,ie(t.default)):i.value.img===!0?a(e.tag,l,Xe(t.default,[a("img",{src:i.value.src})])):i.value.svg===!0?a(e.tag,l,Xe(t.default,[a("svg",{viewBox:i.value.viewBox||"0 0 24 24"},i.value.nodes)])):i.value.svguse===!0?a(e.tag,l,Xe(t.default,[a("svg",{viewBox:i.value.viewBox},[a("use",{"xlink:href":i.value.src})])])):(i.value.cls!==void 0&&(l.class+=" "+i.value.cls),a(e.tag,l,Xe(t.default,[i.value.content])))}}});var Ei=A({name:"QAvatar",props:{...Lt,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){let o=Vt(e),r=s(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),n=s(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{let i=e.icon!==void 0?[a(Re,{name:e.icon})]:void 0;return a("div",{class:r.value,style:o.value},[a("div",{class:"q-avatar__content row flex-center overflow-hidden",style:n.value},Un(t.default,i))])}}});var Nv=["top","middle","bottom"],ds=A({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>Nv.includes(e)}},setup(e,{slots:t}){let o=s(()=>e.align!==void 0?{verticalAlign:e.align}:null),r=s(()=>{let n=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(n!==void 0?` text-${n}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>a("div",{class:r.value,style:o.value,role:"status","aria-label":e.label},Xe(t.default,e.label!==void 0?[e.label]:[]))}});var Ce={dark:{type:Boolean,default:null}};function we(e,t){return s(()=>e.dark===null?t.dark.isActive:e.dark)}var fs=A({name:"QBanner",props:{...Ce,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=we(e,o),n=s(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(r.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),i=s(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{let l=[a("div",{class:"q-banner__avatar col-auto row items-center self-start"},ie(t.avatar)),a("div",{class:"q-banner__content col text-body2"},ie(t.default))],u=ie(t.action);return u!==void 0&&l.push(a("div",{class:i.value},u)),a("div",{class:n.value+(e.inlineActions===!1&&u!==void 0?" q-banner--top-padding":""),role:"alert"},l)}}});var ms=A({name:"QBar",props:{...Ce,dense:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=we(e,o),n=s(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?"dense":"standard"} q-bar--${r.value===!0?"dark":"light"}`);return()=>a("div",{class:n.value,role:"toolbar"},ie(t.default))}});var vs={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Hv=Object.keys(vs),Kn={align:{type:String,validator:e=>Hv.includes(e)}};function Wn(e){return s(()=>{let t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${vs[t]}`})}function Kr(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function gs(e,t){typeof t.type=="symbol"?Array.isArray(t.children)===!0&&t.children.forEach(o=>{gs(e,o)}):e.add(t)}function Yn(e){let t=new Set;return e.forEach(o=>{gs(t,o)}),Array.from(t)}function Xn(e){return e.appContext.config.globalProperties.$router!==void 0}function Zt(e){return e.isUnmounted===!0||e.isDeactivated===!0}var Qv=["",!0],hs=A({name:"QBreadcrumbs",props:{...Kn,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:t}){let o=Wn(e),r=s(()=>`flex items-center ${o.value}${e.gutter==="none"?"":` q-gutter-${e.gutter}`}`),n=s(()=>e.separatorColor?` text-${e.separatorColor}`:""),i=s(()=>` text-${e.activeColor}`);return()=>{let l=Yn(ie(t.default));if(l.length===0)return;let u=1,d=[],f=l.filter(g=>g.type!==void 0&&g.type.name==="QBreadcrumbsEl").length,c=t.separator!==void 0?t.separator:()=>e.separator;return l.forEach(g=>{if(g.type!==void 0&&g.type.name==="QBreadcrumbsEl"){let v=u<f,m=g.props!==null&&Qv.includes(g.props.disable),h=(v===!0?"":" q-breadcrumbs--last")+(m!==!0&&v===!0?i.value:"");u++,d.push(a("div",{class:`flex items-center${h}`},[g])),v===!0&&d.push(a("div",{class:"q-breadcrumbs__separator"+n.value},c()))}else d.push(g)}),a("div",{class:"q-breadcrumbs"},[a("div",{class:r.value},d)])}}});function ps(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function bs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jv(e,t){for(let o in t){let r=t[o],n=e[o];if(typeof r=="string"){if(r!==n)return!1}else if(Array.isArray(n)===!1||n.length!==r.length||r.some((i,l)=>i!==n[l]))return!1}return!0}function ys(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((o,r)=>o===t[r]):e.length===1&&e[0]===t}function Uv(e,t){return Array.isArray(e)===!0?ys(e,t):Array.isArray(t)===!0?ys(t,e):e===t}function Kv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let o in e)if(Uv(e[o],t[o])===!1)return!1;return!0}var po={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function nn({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){let o=U(),{props:r,proxy:n,emit:i}=o,l=Xn(o),u=s(()=>r.disable!==!0&&r.href!==void 0),d=t===!0?s(()=>l===!0&&r.disable!==!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""):s(()=>l===!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),f=s(()=>d.value===!0?S(r.to):null),c=s(()=>f.value!==null),g=s(()=>u.value===!0||c.value===!0),v=s(()=>r.type==="a"||g.value===!0?"a":r.tag||e||"div"),m=s(()=>u.value===!0?{href:r.href,target:r.target}:c.value===!0?{href:f.value.href,target:r.target}:{}),h=s(()=>{if(c.value===!1)return-1;let{matched:k}=f.value,{length:$}=k,F=k[$-1];if(F===void 0)return-1;let D=n.$route.matched;if(D.length===0)return-1;let L=D.findIndex(bs.bind(null,F));if(L!==-1)return L;let B=ps(k[$-2]);return $>1&&ps(F)===B&&D[D.length-1].path!==B?D.findIndex(bs.bind(null,k[$-2])):L}),C=s(()=>c.value===!0&&h.value!==-1&&jv(n.$route.params,f.value.params)),y=s(()=>C.value===!0&&h.value===n.$route.matched.length-1&&Kv(n.$route.params,f.value.params)),q=s(()=>c.value===!0?y.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":C.value===!0?` ${r.activeClass}`:"":"");function S(k){try{return n.$router.resolve(k)}catch{}return null}function b(k,{returnRouterError:$,to:F=r.to,replace:D=r.replace}={}){if(r.disable===!0)return k.preventDefault(),Promise.resolve(!1);if(k.metaKey||k.altKey||k.ctrlKey||k.shiftKey||k.button!==void 0&&k.button!==0||r.target==="_blank")return Promise.resolve(!1);k.preventDefault();let L=n.$router[D===!0?"replace":"push"](F);return $===!0?L:L.then(()=>{}).catch(()=>{})}function p(k){if(c.value===!0){let $=F=>b(k,F);i("click",k,$),k.defaultPrevented!==!0&&$()}else i("click",k)}return{hasRouterLink:c,hasHrefLink:u,hasLink:g,linkTag:v,resolvedLink:f,linkIsActive:C,linkIsExactActive:y,linkClass:q,linkAttrs:m,getLink:S,navigateToRouterLink:b,navigateOnClick:p}}var Ss=A({name:"QBreadcrumbsEl",props:{...po,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:t}){let{linkTag:o,linkAttrs:r,linkClass:n,navigateOnClick:i}=nn(),l=s(()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(e.disable!==!0?"q-link--focusable"+n.value:"q-breadcrumbs__el--disable"),...r.value,onClick:i})),u=s(()=>"q-breadcrumbs__el-icon"+(e.label!==void 0?" q-breadcrumbs__el-icon--with-label":""));return()=>{let d=[];return e.icon!==void 0&&d.push(a(Re,{class:u.value,name:e.icon})),e.label!==void 0&&d.push(e.label),a(o.value,{...l.value},Xe(t.default,d))}}});var Qe={size:{type:[Number,String],default:"1em"},color:String};function Ne(e){return{cSize:s(()=>e.size in $i?`${$i[e.size]}px`:e.size),classes:s(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}var Ct=A({name:"QSpinner",props:{...Qe,thickness:{type:Number,default:5}},setup(e){let{cSize:t,classes:o}=Ne(e);return()=>a("svg",{class:o.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 Cn(e){if(e===window)return{top:0,left:0};let{top:t,left:o}=e.getBoundingClientRect();return{top:t,left:o}}function Wv(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function Ro(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function Yv(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function wn(e,t){let o=e.style;for(let r in t)o[r]=t[r]}function Xv(e,t){e.forEach(o=>wn(o,t))}function Gv(e){if(typeof e=="function"){if(document.readyState!=="loading")return e();document.addEventListener("DOMContentLoaded",e,!1)}}function xs(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}let t=Ru(e);if(t)return t.$el||t}function Bi(e,t){if(e==null||e.contains(t)===!0)return!0;for(let o=e.nextElementSibling;o!==null;o=o.nextElementSibling)if(o.contains(t))return!0;return!1}var _s={offset:Cn,style:Wv,height:Ro,width:Yv,css:wn,cssBatch:Xv,ready:Gv};function Gn(e,t=250){let o=!1,r;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),r=e.apply(this,arguments)),r}}function Cs(e,t,o,r){o.modifiers.stop===!0&&rt(e);let n=o.modifiers.color,i=o.modifiers.center;i=i===!0||r===!0;let l=document.createElement("span"),u=document.createElement("span"),d=xt(e),{left:f,top:c,width:g,height:v}=t.getBoundingClientRect(),m=Math.sqrt(g*g+v*v),h=m/2,C=`${(g-m)/2}px`,y=i?C:`${d.left-f-h}px`,q=`${(v-m)/2}px`,S=i?q:`${d.top-c-h}px`;u.className="q-ripple__inner",wn(u,{height:`${m}px`,width:`${m}px`,transform:`translate3d(${y},${S},0) scale3d(.2,.2,1)`,opacity:0}),l.className=`q-ripple${n?" text-"+n:""}`,l.setAttribute("dir","ltr"),l.appendChild(u),t.appendChild(l);let b=()=>{l.remove(),clearTimeout(p)};o.abort.push(b);let p=setTimeout(()=>{u.classList.add("q-ripple__inner--enter"),u.style.transform=`translate3d(${C},${q},0) scale3d(1,1,1)`,u.style.opacity=.2,p=setTimeout(()=>{u.classList.remove("q-ripple__inner--enter"),u.classList.add("q-ripple__inner--leave"),u.style.opacity=0,p=setTimeout(()=>{l.remove(),o.abort.splice(o.abort.indexOf(b),1)},275)},250)},50)}function ws(e,{modifiers:t,value:o,arg:r}){let n=Object.assign({},e.cfg.ripple,t,o);e.modifiers={early:n.early===!0,stop:n.stop===!0,center:n.center===!0,color:n.color||r,keyCodes:[].concat(n.keyCodes||13)}}var Po=Pt({name:"ripple",beforeMount(e,t){let o=t.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;let r={cfg:o,enabled:t.value!==!1,modifiers:{},abort:[],start(n){r.enabled===!0&&n.qSkipRipple!==!0&&n.type===(r.modifiers.early===!0?"pointerdown":"click")&&Cs(n,e,r,n.qKeyEvent===!0)},keystart:Gn(n=>{r.enabled===!0&&n.qSkipRipple!==!0&&Tt(n,r.modifiers.keyCodes)===!0&&n.type===`key${r.modifiers.early===!0?"down":"up"}`&&Cs(n,e,r,!0)},300)};ws(r,t),e.__qripple=r,dt(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){let o=e.__qripple;o!==void 0&&(o.enabled=t.value!==!1,o.enabled===!0&&Object(t.value)===t.value&&ws(o,t))}},beforeUnmount(e){let t=e.__qripple;t!==void 0&&(t.abort.forEach(o=>{o()}),qt(t,"main"),delete e._qripple)}});var Wr={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Zv={xs:8,sm:10,md:14,lg:20,xl:24},Jv=["button","submit","reset"],eg=/[^\s]\/[^\s]/,Ml=["flat","outline","push","unelevated"],Fi=(e,t)=>e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t,Li=e=>{let t=Fi(e);return t!==void 0?{[t]:!0}:{}},Yr={...Lt,...po,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Ml.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,round: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:{...Kn.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function ks(e){let t=Vt(e,Zv),o=Wn(e),{hasRouterLink:r,hasLink:n,linkTag:i,linkAttrs:l,navigateOnClick:u}=nn({fallbackTag:"button"}),d=s(()=>{let y=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},y,{padding:e.padding.split(/\s+/).map(q=>q in Wr?Wr[q]+"px":q).join(" "),minWidth:"0",minHeight:"0"}):y}),f=s(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=s(()=>e.disable!==!0&&e.loading!==!0),g=s(()=>c.value===!0?e.tabindex||0:-1),v=s(()=>Fi(e,"standard")),m=s(()=>{let y={tabindex:g.value};return n.value===!0?Object.assign(y,l.value):Jv.includes(e.type)===!0&&(y.type=e.type),i.value==="a"?(e.disable===!0?y["aria-disabled"]="true":y.href===void 0&&(y.role="button"),r.value!==!0&&eg.test(e.type)===!0&&(y.type=e.type)):e.disable===!0&&(y.disabled="",y["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(y,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),y}),h=s(()=>{let y;e.color!==void 0?e.flat===!0||e.outline===!0?y=`text-${e.textColor||e.color}`:y=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(y=`text-${e.textColor}`);let q=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${v.value} q-btn--${q}`+(y!==void 0?" "+y:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),C=s(()=>o.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:h,style:d,innerClasses:C,attributes:m,hasLink:n,linkTag:i,navigateOnClick:u,isActionable:c}}var{passiveCapture:fo}=Je,Zn=null,Jn=null,er=null,Oe=A({name:"QBtn",props:{...Yr,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{classes:n,style:i,innerClasses:l,attributes:u,hasLink:d,linkTag:f,navigateOnClick:c,isActionable:g}=ks(e),v=T(null),m=T(null),h=null,C,y=null,q=s(()=>e.label!==void 0&&e.label!==null&&e.label!==""),S=s(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:d.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),b=s(()=>({center:e.round})),p=s(()=>{let R=Math.max(0,Math.min(100,e.percentage));return R>0?{transition:"transform 0.6s",transform:`translateX(${R-100}%)`}:{}}),k=s(()=>{if(e.loading===!0)return{onMousedown:_,onTouchstart:_,onClick:_,onKeydown:_,onKeyup:_};if(g.value===!0){let R={onClick:F,onKeydown:D,onMousedown:B};if(r.$q.platform.has.touch===!0){let N=e.onTouchstart!==void 0?"":"Passive";R[`onTouchstart${N}`]=L}return R}return{onClick:qe}}),$=s(()=>({ref:v,class:"q-btn q-btn-item non-selectable no-outline "+n.value,style:i.value,...u.value,...k.value}));function F(R){if(v.value!==null){if(R!==void 0){if(R.defaultPrevented===!0)return;let N=document.activeElement;if(e.type==="submit"&&N!==document.body&&v.value.contains(N)===!1&&N.contains(v.value)===!1){v.value.focus();let X=()=>{document.removeEventListener("keydown",qe,!0),document.removeEventListener("keyup",X,fo),v.value!==null&&v.value.removeEventListener("blur",X,fo)};document.addEventListener("keydown",qe,!0),document.addEventListener("keyup",X,fo),v.value.addEventListener("blur",X,fo)}}c(R)}}function D(R){v.value!==null&&(o("keydown",R),Tt(R,[13,32])===!0&&Jn!==v.value&&(Jn!==null&&E(),R.defaultPrevented!==!0&&(v.value.focus(),Jn=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("keyup",V,!0),v.value.addEventListener("blur",V,fo)),qe(R)))}function L(R){v.value!==null&&(o("touchstart",R),R.defaultPrevented!==!0&&(Zn!==v.value&&(Zn!==null&&E(),Zn=v.value,h=R.target,h.addEventListener("touchcancel",V,fo),h.addEventListener("touchend",V,fo)),C=!0,y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,C=!1},200)))}function B(R){v.value!==null&&(R.qSkipRipple=C===!0,o("mousedown",R),R.defaultPrevented!==!0&&er!==v.value&&(er!==null&&E(),er=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("mouseup",V,fo)))}function V(R){if(v.value!==null&&!(R!==void 0&&R.type==="blur"&&document.activeElement===v.value)){if(R!==void 0&&R.type==="keyup"){if(Jn===v.value&&Tt(R,[13,32])===!0){let N=new MouseEvent("click",R);N.qKeyEvent=!0,R.defaultPrevented===!0&&ft(N),R.cancelBubble===!0&&rt(N),v.value.dispatchEvent(N),qe(R),R.qKeyEvent=!0}o("keyup",R)}E()}}function E(R){let N=m.value;R!==!0&&(Zn===v.value||er===v.value)&&N!==null&&N!==document.activeElement&&(N.setAttribute("tabindex",-1),N.focus()),Zn===v.value&&(h!==null&&(h.removeEventListener("touchcancel",V,fo),h.removeEventListener("touchend",V,fo)),Zn=h=null),er===v.value&&(document.removeEventListener("mouseup",V,fo),er=null),Jn===v.value&&(document.removeEventListener("keyup",V,!0),v.value!==null&&v.value.removeEventListener("blur",V,fo),Jn=null),v.value!==null&&v.value.classList.remove("q-btn--active")}function _(R){qe(R),R.qSkipRipple=!0}return ye(()=>{E(!0)}),Object.assign(r,{click:F}),()=>{let R=[];e.icon!==void 0&&R.push(a(Re,{name:e.icon,left:e.stack!==!0&&q.value===!0,role:"img","aria-hidden":"true"})),q.value===!0&&R.push(a("span",{class:"block"},[e.label])),R=Xe(t.default,R),e.iconRight!==void 0&&e.round===!1&&R.push(a(Re,{name:e.iconRight,right:e.stack!==!0&&q.value===!0,role:"img","aria-hidden":"true"}));let N=[a("span",{class:"q-focus-helper",ref:m})];return e.loading===!0&&e.percentage!==void 0&&N.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:p.value})])),N.push(a("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},R)),e.loading!==null&&N.push(a(lt,{name:"q-transition--fade"},()=>e.loading===!0?[a("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[a(Ct)])]:null)),$t(a(f.value,$.value,N),[[Po,S.value,void 0,b.value]])}}});var tr=A({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){let o=s(()=>{let r=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter(n=>e[n]===!0).map(n=>`q-btn-group--${n}`).join(" ");return`q-btn-group row no-wrap${r.length!==0?" "+r:""}`+(e.spread===!0?" q-btn-group--spread":" inline")});return()=>a("div",{class:o.value},ie(t.default))}});function Ot(){if(window.getSelection!==void 0){let e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),qo.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}var or={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function nr({showing:e,avoidEmit:t,configureAnchorEl:o}){let{props:r,proxy:n,emit:i}=U(),l=T(null),u=null;function d(m){return l.value===null?!1:m===void 0||m.touches===void 0||m.touches.length<=1}let f={};o===void 0&&(Object.assign(f,{hide(m){n.hide(m)},toggle(m){n.toggle(m),m.qAnchorHandled=!0},toggleKey(m){Tt(m,13)===!0&&f.toggle(m)},contextClick(m){n.hide(m),ft(m),Ae(()=>{n.show(m),m.qAnchorHandled=!0})},prevent:ft,mobileTouch(m){if(f.mobileCleanup(m),d(m)!==!0)return;n.hide(m),l.value.classList.add("non-selectable");let h=m.target;dt(f,"anchor",[[h,"touchmove","mobileCleanup","passive"],[h,"touchend","mobileCleanup","passive"],[h,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","prevent","notPassive"]]),u=setTimeout(()=>{u=null,n.show(m),m.qAnchorHandled=!0},300)},mobileCleanup(m){l.value.classList.remove("non-selectable"),u!==null&&(clearTimeout(u),u=null),e.value===!0&&m!==void 0&&Ot()}}),o=function(m=r.contextMenu){if(r.noParentEvent===!0||l.value===null)return;let h;m===!0?n.$q.platform.is.mobile===!0?h=[[l.value,"touchstart","mobileTouch","passive"]]:h=[[l.value,"mousedown","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:h=[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],dt(f,"anchor",h)});function c(){qt(f,"anchor")}function g(m){for(l.value=m;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;o()}function v(){if(r.target===!1||r.target===""||n.$el.parentNode===null)l.value=null;else if(r.target===!0)g(n.$el.parentNode);else{let m=r.target;if(typeof r.target=="string")try{m=document.querySelector(r.target)}catch{m=void 0}m!=null?(l.value=m.$el||m,o()):(l.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return j(()=>r.contextMenu,m=>{l.value!==null&&(c(),o(m))}),j(()=>r.target,()=>{l.value!==null&&c(),v()}),j(()=>r.noParentEvent,m=>{l.value!==null&&(m===!0?c():o())}),je(()=>{v(),t!==!0&&r.modelValue===!0&&l.value===null&&i("update:modelValue",!1)}),ye(()=>{u!==null&&clearTimeout(u),c()}),{anchorEl:l,canShow:d,anchorEvents:f}}function Vi(e,t){let o=T(null),r;function n(u,d){let f=`${d!==void 0?"add":"remove"}EventListener`,c=d!==void 0?d:r;u!==window&&u[f]("scroll",c,Je.passive),window[f]("scroll",c,Je.passive),r=d}function i(){o.value!==null&&(n(o.value),o.value=null)}let l=j(()=>e.noParentEvent,()=>{o.value!==null&&(i(),t())});return ye(l),{localScrollTarget:o,unconfigureScrollTarget:i,changeScrollEvent:n}}var mo={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},vo=["beforeShow","show","beforeHide","hide"];function go({showing:e,canShow:t,hideOnRouteChange:o,handleShow:r,handleHide:n,processOnMount:i}){let l=U(),{props:u,emit:d,proxy:f}=l,c;function g(S){e.value===!0?h(S):v(S)}function v(S){if(u.disable===!0||S!==void 0&&S.qAnchorHandled===!0||t!==void 0&&t(S)!==!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!0),c=S,Ae(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&m(S)}function m(S){e.value!==!0&&(e.value=!0,d("beforeShow",S),r!==void 0?r(S):d("show",S))}function h(S){if(u.disable===!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!1),c=S,Ae(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&C(S)}function C(S){e.value!==!1&&(e.value=!1,d("beforeHide",S),n!==void 0?n(S):d("hide",S))}function y(S){u.disable===!0&&S===!0?u["onUpdate:modelValue"]!==void 0&&d("update:modelValue",!1):S===!0!==e.value&&(S===!0?m:C)(c)}j(()=>u.modelValue,y),o!==void 0&&Xn(l)===!0&&j(()=>f.$route.fullPath,()=>{o.value===!0&&e.value===!0&&h()}),i===!0&&je(()=>{y(u.modelValue)});let q={show:v,hide:h,toggle:g};return Object.assign(f,q),q}var kn=[],Xr=[];function qs(e){Xr=Xr.filter(t=>t!==e)}function Ts(e){qs(e),Xr.push(e)}function Rl(e){qs(e),Xr.length===0&&kn.length!==0&&(kn[kn.length-1](),kn=[])}function ho(e){Xr.length===0?e():kn.push(e)}function Ms(e){kn=kn.filter(t=>t!==e)}var rr=[],Gr=[],tg=1,rn=document.body;function Ao(e,t){let o=document.createElement("div");if(o.id=t!==void 0?`q-portal--${t}--${tg++}`:e,Qn.globalNodes!==void 0){let r=Qn.globalNodes.class;r!==void 0&&(o.className=r)}return rn.appendChild(o),rr.push(o),Gr.push(t),o}function ir(e){let t=rr.indexOf(e);rr.splice(t,1),Gr.splice(t,1),e.remove()}function Rs(e){if(e===rn)return;if(rn=e,rn===document.body||Gr.reduce((o,r)=>r==="dialog"?o+1:o,0)<2){rr.forEach(o=>{o.contains(rn)===!1&&rn.appendChild(o)});return}let t=Gr.lastIndexOf("dialog");for(let o=0;o<rr.length;o++){let r=rr[o];(o===t||Gr[o]!=="dialog")&&r.contains(rn)===!1&&rn.appendChild(r)}}var an=[];function Ps(e){return an.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function Pl(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Kr(e)}else if(e.__qPortal===!0){let o=Kr(e);return o!==void 0&&o.$options.name==="QPopupProxy"?(e.hide(t),o):e}e=Kr(e)}while(e!=null)}function As(e,t,o){for(;o!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(o--,e.$options.name==="QMenu"){e=Pl(e,t);continue}e.hide(t)}e=Kr(e)}}function og(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function ar(e,t,o,r){let n=T(!1),i=T(!1),l=null,u={},d=r==="dialog"&&og(e);function f(g){if(g===!0){Rl(u),i.value=!0;return}i.value=!1,n.value===!1&&(d===!1&&l===null&&(l=Ao(!1,r)),n.value=!0,an.push(e.proxy),Ts(u))}function c(g){if(i.value=!1,g!==!0)return;Rl(u),n.value=!1;let v=an.indexOf(e.proxy);v!==-1&&an.splice(v,1),l!==null&&(ir(l),l=null)}return Hn(()=>{c(!0)}),e.proxy.__qPortal=!0,st(e.proxy,"contentEl",()=>t.value),{showPortal:f,hidePortal:c,portalIsActive:n,portalIsAccessible:i,renderPortal:()=>d===!0?o():n.value===!0?[a(Eu,{to:l},o())]:void 0}}var $o={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function ln(e,t=()=>{},o=()=>{}){return{transitionProps:s(()=>{let r=`q-transition--${e.transitionShow||t()}`,n=`q-transition--${e.transitionHide||o()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${n}-leave-from`,leaveActiveClass:`${n}-leave-active`,leaveToClass:`${n}-leave-to`}}),transitionStyle:s(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function Eo(){let e,t=U();function o(){e=void 0}return Bt(o),ye(o),{removeTick:o,registerTick(r){e=r,Ae(()=>{e===r&&(Zt(t)===!1&&e(),e=void 0)})}}}function Jt(){let e=null,t=U();function o(){e!==null&&(clearTimeout(e),e=null)}return Bt(o),ye(o),{removeTimeout:o,registerTimeout(r,n){o(e),Zt(t)===!1&&(e=setTimeout(r,n))}}}var ng=[null,document,document.body,document.scrollingElement,document.documentElement];function Et(e,t){let o=xs(t);if(o===void 0){if(e==null)return window;o=e.closest(".scroll,.scroll-y,.overflow-auto")}return ng.includes(o)?window:o}function lr(e){return(e===window?document.body:e).scrollHeight}function rg(e){return(e===window?document.body:e).scrollWidth}function eo(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function un(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function El(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=eo(e);if(o<=0){n!==t&&Al(e,t);return}requestAnimationFrame(i=>{let l=i-r,u=n+(t-n)/Math.max(l,o)*l;Al(e,u),u!==t&&El(e,t,o-l,i)})}function Bl(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=un(e);if(o<=0){n!==t&&$l(e,t);return}requestAnimationFrame(i=>{let l=i-r,u=n+(t-n)/Math.max(l,o)*l;$l(e,u),u!==t&&Bl(e,t,o-l,i)})}function Al(e,t){if(e===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t);return}e.scrollTop=t}function $l(e,t){if(e===window){window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}e.scrollLeft=t}function Bo(e,t,o){if(o){El(e,t,o);return}Al(e,t)}function Zr(e,t,o){if(o){Bl(e,t,o);return}$l(e,t)}var Di;function qn(){if(Di!==void 0)return Di;let e=document.createElement("p"),t=document.createElement("div");wn(e,{width:"100%",height:"200px"}),wn(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);let o=e.offsetWidth;t.style.overflow="scroll";let r=e.offsetWidth;return o===r&&(r=t.clientWidth),t.remove(),Di=o-r,Di}function Fl(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 $s={getScrollTarget:Et,getScrollHeight:lr,getScrollWidth:rg,getVerticalScrollPosition:eo,getHorizontalScrollPosition:un,animVerticalScrollTo:El,animHorizontalScrollTo:Bl,setVerticalScrollPosition:Bo,setHorizontalScrollPosition:Zr,getScrollbarWidth:qn,hasScrollbar:Fl};var Tn=[],ur;function ig(e){ur=e.keyCode===27}function ag(){ur===!0&&(ur=!1)}function lg(e){ur===!0&&(ur=!1,Tt(e,27)===!0&&Tn[Tn.length-1](e))}function Es(e){window[e]("keydown",ig),window[e]("blur",ag),window[e]("keyup",lg),ur=!1}function zi(e){Me.is.desktop===!0&&(Tn.push(e),Tn.length===1&&Es("addEventListener"))}function sr(e){let t=Tn.indexOf(e);t!==-1&&(Tn.splice(t,1),Tn.length===0&&Es("removeEventListener"))}var Mn=[];function Bs(e){Mn[Mn.length-1](e)}function cr(e){Me.is.desktop===!0&&(Mn.push(e),Mn.length===1&&document.body.addEventListener("focusin",Bs))}function Rn(e){let t=Mn.indexOf(e);t!==-1&&(Mn.splice(t,1),Mn.length===0&&document.body.removeEventListener("focusin",Bs))}var dr=null,{notPassiveCapture:Oi}=Je,Pn=[];function Ii(e){dr!==null&&(clearTimeout(dr),dr=null);let t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let o=an.length-1;for(;o>=0;){let r=an[o].$;if(r.type.name==="QTooltip"){o--;continue}if(r.type.name!=="QDialog")break;if(r.props.seamless!==!0)return;o--}for(let r=Pn.length-1;r>=0;r--){let n=Pn[r];if((n.anchorEl.value===null||n.anchorEl.value.contains(t)===!1)&&(t===document.body||n.innerRef.value!==null&&n.innerRef.value.contains(t)===!1))e.qClickOutside=!0,n.onClickOutside(e);else return}}function Ni(e){Pn.push(e),Pn.length===1&&(document.addEventListener("mousedown",Ii,Oi),document.addEventListener("touchstart",Ii,Oi))}function fr(e){let t=Pn.findIndex(o=>o===e);t!==-1&&(Pn.splice(t,1),Pn.length===0&&(dr!==null&&(clearTimeout(dr),dr=null),document.removeEventListener("mousedown",Ii,Oi),document.removeEventListener("touchstart",Ii,Oi)))}var Fs,Ls;function mr(e){let t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Hi(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}var Vl={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Vl[`${e}#ltr`]=e,Vl[`${e}#rtl`]=e});function vr(e,t){let o=e.split(" ");return{vertical:o[0],horizontal:Vl[`${o[1]}#${t===!0?"rtl":"ltr"}`]}}function ug(e,t){let{top:o,left:r,right:n,bottom:i,width:l,height:u}=e.getBoundingClientRect();return t!==void 0&&(o-=t[1],r-=t[0],i+=t[1],n+=t[0],l+=t[0],u+=t[1]),{top:o,bottom:i,height:u,left:r,right:n,width:l,middle:r+(n-r)/2,center:o+(i-o)/2}}function sg(e,t,o){let{top:r,left:n}=e.getBoundingClientRect();return r+=t.top,n+=t.left,o!==void 0&&(r+=o[1],n+=o[0]),{top:r,bottom:r+1,height:1,left:n,right:n+1,width:1,middle:n,center:r}}function cg(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Vs(e,t,o,r){return{top:e[o.vertical]-t[r.vertical],left:e[o.horizontal]-t[r.horizontal]}}function Jr(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{Jr(e,t+1)},10);return}let{targetEl:o,offset:r,anchorEl:n,anchorOrigin:i,selfOrigin:l,absoluteOffset:u,fit:d,cover:f,maxHeight:c,maxWidth:g}=e;if(Me.is.ios===!0&&window.visualViewport!==void 0){let $=document.body.style,{offsetLeft:F,offsetTop:D}=window.visualViewport;F!==Fs&&($.setProperty("--q-pe-left",F+"px"),Fs=F),D!==Ls&&($.setProperty("--q-pe-top",D+"px"),Ls=D)}let{scrollLeft:v,scrollTop:m}=o,h=u===void 0?ug(n,f===!0?[0,0]:r):sg(n,u,r);Object.assign(o.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:g||"100vw",maxHeight:c||"100vh",visibility:"visible"});let{offsetWidth:C,offsetHeight:y}=o,{elWidth:q,elHeight:S}=d===!0||f===!0?{elWidth:Math.max(h.width,C),elHeight:f===!0?Math.max(h.height,y):y}:{elWidth:C,elHeight:y},b={maxWidth:g,maxHeight:c};(d===!0||f===!0)&&(b.minWidth=h.width+"px",f===!0&&(b.minHeight=h.height+"px")),Object.assign(o.style,b);let p=cg(q,S),k=Vs(h,p,i,l);if(u===void 0||r===void 0)Ll(k,h,p,i,l);else{let{top:$,left:F}=k;Ll(k,h,p,i,l);let D=!1;if(k.top!==$){D=!0;let L=2*r[1];h.center=h.top-=L,h.bottom-=L+2}if(k.left!==F){D=!0;let L=2*r[0];h.middle=h.left-=L,h.right-=L+2}D===!0&&(k=Vs(h,p,i,l),Ll(k,h,p,i,l))}b={top:k.top+"px",left:k.left+"px"},k.maxHeight!==void 0&&(b.maxHeight=k.maxHeight+"px",h.height>k.maxHeight&&(b.minHeight=b.maxHeight)),k.maxWidth!==void 0&&(b.maxWidth=k.maxWidth+"px",h.width>k.maxWidth&&(b.minWidth=b.maxWidth)),Object.assign(o.style,b),o.scrollTop!==m&&(o.scrollTop=m),o.scrollLeft!==v&&(o.scrollLeft=v)}function Ll(e,t,o,r,n){let i=o.bottom,l=o.right,u=qn(),d=window.innerHeight-u,f=document.body.clientWidth;if(e.top<0||e.top+i>d)if(n.vertical==="center")e.top=t[r.vertical]>d/2?Math.max(0,d-i):0,e.maxHeight=Math.min(i,d);else if(t[r.vertical]>d/2){let c=Math.min(d,r.vertical==="center"?t.center:r.vertical===n.vertical?t.bottom:t.top);e.maxHeight=Math.min(i,c),e.top=Math.max(0,c-i)}else e.top=Math.max(0,r.vertical==="center"?t.center:r.vertical===n.vertical?t.top:t.bottom),e.maxHeight=Math.min(i,d-e.top);if(e.left<0||e.left+l>f)if(e.maxWidth=Math.min(l,f),n.horizontal==="middle")e.left=t[r.horizontal]>f/2?Math.max(0,f-l):0;else if(t[r.horizontal]>f/2){let c=Math.min(f,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.right:t.left);e.maxWidth=Math.min(l,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.left:t.right),e.maxWidth=Math.min(l,f-e.left)}var Fo=A({name:"QMenu",inheritAttrs:!1,props:{...or,...mo,...Ce,...$o,persistent:Boolean,autoClose:Boolean,separateClosePopup: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:Hi},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...vo,"click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=null,i,l,u,d=U(),{proxy:f}=d,{$q:c}=f,g=T(null),v=T(!1),m=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),h=we(e,c),{registerTick:C,removeTick:y}=Eo(),{registerTimeout:q}=Jt(),{transitionProps:S,transitionStyle:b}=ln(e),{localScrollTarget:p,changeScrollEvent:k,unconfigureScrollTarget:$}=Vi(e,W),{anchorEl:F,canShow:D}=nr({showing:v}),{hide:L}=go({showing:v,canShow:D,handleShow:de,handleHide:O,hideOnRouteChange:m,processOnMount:!0}),{showPortal:B,hidePortal:V,renderPortal:E}=ar(d,g,K,"menu"),_={anchorEl:F,innerRef:g,onClickOutside(x){if(e.persistent!==!0&&v.value===!0)return L(x),(x.type==="touchstart"||x.target.classList.contains("q-dialog__backdrop"))&&qe(x),!0}},R=s(()=>vr(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),N=s(()=>e.cover===!0?R.value:vr(e.self||"top start",c.lang.rtl)),X=s(()=>(e.square===!0?" q-menu--square":"")+(h.value===!0?" q-menu--dark q-dark":"")),M=s(()=>e.autoClose===!0?{onClick:H}:{}),Q=s(()=>v.value===!0&&e.persistent!==!0);j(Q,x=>{x===!0?(zi(Y),Ni(_)):(sr(Y),fr(_))});function J(){ho(()=>{let x=g.value;x&&x.contains(document.activeElement)!==!0&&(x=x.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||x.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||x.querySelector("[autofocus], [data-autofocus]")||x,x.focus({preventScroll:!0}))})}function de(x){if(n=e.noRefocus===!1?document.activeElement:null,cr(ee),B(),W(),i=void 0,x!==void 0&&(e.touchPosition||e.contextMenu)){let G=xt(x);if(G.left!==void 0){let{top:ae,left:fe}=F.value.getBoundingClientRect();i={left:G.left-fe,top:G.top-ae}}}l===void 0&&(l=j(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,ue)),e.noFocus!==!0&&document.activeElement.blur(),C(()=>{ue(),e.noFocus!==!0&&J()}),q(()=>{c.platform.is.ios===!0&&(u=e.autoClose,g.value.click()),ue(),B(!0),o("show",x)},e.transitionDuration)}function O(x){y(),V(),w(!0),n!==null&&(x===void 0||x.qClickOutside!==!0)&&(((x&&x.type.indexOf("key")===0?n.closest('[tabindex]:not([tabindex^="-"])'):void 0)||n).focus(),n=null),q(()=>{V(!0),o("hide",x)},e.transitionDuration)}function w(x){i=void 0,l!==void 0&&(l(),l=void 0),(x===!0||v.value===!0)&&(Rn(ee),$(),fr(_),sr(Y)),x!==!0&&(n=null)}function W(){(F.value!==null||e.scrollTarget!==void 0)&&(p.value=Et(F.value,e.scrollTarget),k(p.value,ue))}function H(x){u!==!0?(Pl(f,x),o("click",x)):u=!1}function ee(x){Q.value===!0&&e.noFocus!==!0&&Bi(g.value,x.target)!==!0&&J()}function Y(x){o("escapeKey"),L(x)}function ue(){Jr({targetEl:g.value,offset:e.offset,anchorEl:F.value,anchorOrigin:R.value,selfOrigin:N.value,absoluteOffset:i,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function K(){return a(lt,S.value,()=>v.value===!0?a("div",{role:"menu",...r,ref:g,tabindex:-1,class:["q-menu q-position-engine scroll"+X.value,r.class],style:[r.style,b.value],...M.value},ie(t.default)):null)}return ye(w),Object.assign(f,{focus:J,updatePosition:ue}),E}});var Dl,Qi=0,It=new Array(256);for(let e=0;e<256;e++)It[e]=(e+256).toString(16).substring(1);var dg=(()=>{let e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{let o=new Uint8Array(t);return e.getRandomValues(o),o}}return t=>{let o=[];for(let r=t;r>0;r--)o.push(Math.floor(Math.random()*256));return o}})(),Ds=4096;function Xo(){(Dl===void 0||Qi+16>Ds)&&(Qi=0,Dl=dg(Ds));let e=Array.prototype.slice.call(Dl,Qi,Qi+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,It[e[0]]+It[e[1]]+It[e[2]]+It[e[3]]+"-"+It[e[4]]+It[e[5]]+"-"+It[e[6]]+It[e[7]]+"-"+It[e[8]]+It[e[9]]+"-"+It[e[10]]+It[e[11]]+It[e[12]]+It[e[13]]+It[e[14]]+It[e[15]]}function zl(e,t){return e===void 0?t===!0?`f_${Xo()}`:void 0:e}function sn(e,t=!0){if(kt.value===!0){let o=T(e);return t===!0&&e===void 0&&je(()=>{o.value=`f_${Xo()}`}),o}return T(zl(e,t))}var fg=Object.keys(Yr),mg=e=>fg.reduce((t,o)=>{let r=e[o];return r!==void 0&&(t[o]=r),t},{}),ji=A({name:"QBtnDropdown",props:{...Yr,...$o,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),n=T(e.modelValue),i=T(null),l=sn(),u=s(()=>{let p={"aria-expanded":n.value===!0?"true":"false","aria-haspopup":"true","aria-controls":l.value,"aria-label":e.toggleAriaLabel||r.$q.lang.label[n.value===!0?"collapse":"expand"](e.label)};return(e.disable===!0||e.split===!1&&e.disableMainBtn===!0||e.disableDropdown===!0)&&(p["aria-disabled"]="true"),p}),d=s(()=>"q-btn-dropdown__arrow"+(n.value===!0&&e.noIconAnimation===!1?" rotate-180":"")+(e.split===!1?" q-btn-dropdown__arrow-container":"")),f=s(()=>Li(e)),c=s(()=>mg(e));j(()=>e.modelValue,p=>{i.value!==null&&i.value[p?"show":"hide"]()}),j(()=>e.split,b);function g(p){n.value=!0,o("beforeShow",p)}function v(p){o("show",p),o("update:modelValue",!0)}function m(p){n.value=!1,o("beforeHide",p)}function h(p){o("hide",p),o("update:modelValue",!1)}function C(p){o("click",p)}function y(p){rt(p),b(),o("click",p)}function q(p){i.value!==null&&i.value.toggle(p)}function S(p){i.value!==null&&i.value.show(p)}function b(p){i.value!==null&&i.value.hide(p)}return Object.assign(r,{show:S,hide:b,toggle:q}),je(()=>{e.modelValue===!0&&S()}),()=>{let p=[a(Re,{class:d.value,name:e.dropdownIcon||r.$q.iconSet.arrow.dropdown})];return e.disableDropdown!==!0&&p.push(a(Fo,{ref:i,id:l.value,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:g,onShow:v,onBeforeHide:m,onHide:h},t.default)),e.split===!1?a(Oe,{class:"q-btn-dropdown q-btn-dropdown--simple",...c.value,...u.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:C},{default:()=>ie(t.label,[]).concat(p),loading:t.loading}):a(tr,{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(Oe,{class:"q-btn-dropdown--current",...c.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:y},{default:t.label,loading:t.loading}),a(Oe,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...u.value,...f.value,disable:e.disable===!0||e.disableDropdown===!0,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},()=>p)])}}});var wt={name:String};function Lo(e){return s(()=>({type:"hidden",name:e.name,value:e.modelValue}))}function Wt(e={}){return(t,o,r)=>{t[o](a("input",{class:"hidden"+(r||""),...e.value}))}}function gr(e){return s(()=>e.name||e.for)}var zs=A({name:"QBtnToggle",props:{...wt,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every(t=>("label"in t||"icon"in t||"slot"in t)&&"value"in t)},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","clear","click"],setup(e,{slots:t,emit:o}){let r=s(()=>e.options.find(v=>v.value===e.modelValue)!==void 0),n=s(()=>({type:"hidden",name:e.name,value:e.modelValue})),i=Wt(n),l=s(()=>Li(e)),u=s(()=>({rounded:e.rounded,dense:e.dense,...l.value})),d=s(()=>e.options.map((v,m)=>{let{attrs:h,value:C,slot:y,...q}=v;return{slot:y,props:{key:m,"aria-pressed":C===e.modelValue?"true":"false",...h,...q,...u.value,disable:e.disable===!0||q.disable===!0,color:C===e.modelValue?c(q,"toggleColor"):c(q,"color"),textColor:C===e.modelValue?c(q,"toggleTextColor"):c(q,"textColor"),noCaps:c(q,"noCaps")===!0,noWrap:c(q,"noWrap")===!0,size:c(q,"size"),padding:c(q,"padding"),ripple:c(q,"ripple"),stack:c(q,"stack")===!0,stretch:c(q,"stretch")===!0,onClick(S){f(C,v,S)}}}}));function f(v,m,h){e.readonly!==!0&&(e.modelValue===v?e.clearable===!0&&(o("update:modelValue",null,null),o("clear")):o("update:modelValue",v,m),o("click",h))}function c(v,m){return v[m]===void 0?e[m]:v[m]}function g(){let v=d.value.map(m=>a(Oe,m.props,m.slot!==void 0?t[m.slot]:void 0));return e.name!==void 0&&e.disable!==!0&&r.value===!0&&i(v,"push"),Xe(t.default,v)}return()=>a(tr,{class:"q-btn-toggle",...l.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},g)}});var hr=A({name:"QCard",props:{...Ce,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=we(e,o),n=s(()=>"q-card"+(r.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>a(e.tag,{class:n.value},ie(t.default))}});var bo=A({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){let o=s(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>a(e.tag,{class:o.value},ie(t.default))}});var Ui=A({name:"QCardActions",props:{...Kn,vertical:Boolean},setup(e,{slots:t}){let o=Wn(e),r=s(()=>`q-card__actions ${o.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>a("div",{class:r.value},ie(t.default))}});var Ol={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},vg=Object.keys(Ol);Ol.all=!0;function pr(e){let t={};for(let o of vg)e[o]===!0&&(t[o]=!0);return Object.keys(t).length===0?Ol:(t.horizontal===!0?t.left=t.right=!0:t.left===!0&&t.right===!0&&(t.horizontal=!0),t.vertical===!0?t.up=t.down=!0:t.up===!0&&t.down===!0&&(t.vertical=!0),t.horizontal===!0&&t.vertical===!0&&(t.all=!0),t)}var gg=["INPUT","TEXTAREA"];function br(e,t){return t.event===void 0&&e.target!==void 0&&e.target.draggable!==!0&&typeof t.handler=="function"&&gg.includes(e.target.nodeName.toUpperCase())===!1&&(e.qClonedBy===void 0||e.qClonedBy.indexOf(t.uid)===-1)}function hg(e){let t=[.06,6,50];return typeof e=="string"&&e.length&&e.split(":").forEach((o,r)=>{let n=parseFloat(o);n&&(t[r]=n)}),t}var Ki=Pt({name:"touch-swipe",beforeMount(e,{value:t,arg:o,modifiers:r}){if(r.mouse!==!0&&Me.has.touch!==!0)return;let n=r.mouseCapture===!0?"Capture":"",i={handler:t,sensitivity:hg(o),direction:pr(r),noop:Ye,mouseStart(l){br(l,i)&&Uo(l)&&(dt(i,"temp",[[document,"mousemove","move",`notPassive${n}`],[document,"mouseup","end","notPassiveCapture"]]),i.start(l,!0))},touchStart(l){if(br(l,i)){let u=l.target;dt(i,"temp",[[u,"touchmove","move","notPassiveCapture"],[u,"touchcancel","end","notPassiveCapture"],[u,"touchend","end","notPassiveCapture"]]),i.start(l)}},start(l,u){Me.is.firefox===!0&&Ko(e,!0);let d=xt(l);i.event={x:d.left,y:d.top,time:Date.now(),mouse:u===!0,dir:!1}},move(l){if(i.event===void 0)return;if(i.event.dir!==!1){qe(l);return}let u=Date.now()-i.event.time;if(u===0)return;let d=xt(l),f=d.left-i.event.x,c=Math.abs(f),g=d.top-i.event.y,v=Math.abs(g);if(i.event.mouse!==!0){if(c<i.sensitivity[1]&&v<i.sensitivity[1]){i.end(l);return}}else if(window.getSelection().toString()!==""){i.end(l);return}else if(c<i.sensitivity[2]&&v<i.sensitivity[2])return;let m=c/u,h=v/u;i.direction.vertical===!0&&c<v&&c<100&&h>i.sensitivity[0]&&(i.event.dir=g<0?"up":"down"),i.direction.horizontal===!0&&c>v&&v<100&&m>i.sensitivity[0]&&(i.event.dir=f<0?"left":"right"),i.direction.up===!0&&c<v&&g<0&&c<100&&h>i.sensitivity[0]&&(i.event.dir="up"),i.direction.down===!0&&c<v&&g>0&&c<100&&h>i.sensitivity[0]&&(i.event.dir="down"),i.direction.left===!0&&c>v&&f<0&&v<100&&m>i.sensitivity[0]&&(i.event.dir="left"),i.direction.right===!0&&c>v&&f>0&&v<100&&m>i.sensitivity[0]&&(i.event.dir="right"),i.event.dir!==!1?(qe(l),i.event.mouse===!0&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),i.styleCleanup=C=>{i.styleCleanup=void 0,document.body.classList.remove("non-selectable");let y=()=>{document.body.classList.remove("no-pointer-events--children")};C===!0?setTimeout(y,50):y()}),i.handler({evt:l,touch:i.event.mouse!==!0,mouse:i.event.mouse,direction:i.event.dir,duration:u,distance:{x:c,y:v}})):i.end(l)},end(l){i.event!==void 0&&(qt(i,"temp"),Me.is.firefox===!0&&Ko(e,!1),i.styleCleanup!==void 0&&i.styleCleanup(!0),l!==void 0&&i.event.dir!==!1&&qe(l),i.event=void 0)}};if(e.__qtouchswipe=i,r.mouse===!0){let l=r.mouseCapture===!0||r.mousecapture===!0?"Capture":"";dt(i,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}Me.has.touch===!0&&dt(i,"main",[[e,"touchstart","touchStart",`passive${r.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchswipe;o!==void 0&&(t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value),o.direction=pr(t.modifiers))},beforeUnmount(e){let t=e.__qtouchswipe;t!==void 0&&(qt(t,"main"),qt(t,"temp"),Me.is.firefox===!0&&Ko(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchswipe)}});function Vo(){let e=new Map;return{getCache:function(t,o){return e[t]===void 0?e[t]=o:e[t]},getCacheWithFn:function(t,o){return e[t]===void 0?e[t]=o():e[t]}}}var yr={name:{required:!0},disable:Boolean},Os={setup(e,{slots:t}){return()=>a("div",{class:"q-panel scroll",role:"tabpanel"},ie(t.default))}},Sr={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},xr=["update:modelValue","beforeTransition","transition"];function _r(){let{props:e,emit:t,proxy:o}=U(),{getCacheWithFn:r}=Vo(),n,i,l=T(null),u=T(null);function d(_){let R=e.vertical===!0?"up":"left";F((o.$q.lang.rtl===!0?-1:1)*(_.direction===R?1:-1))}let f=s(()=>[[Ki,d,void 0,{horizontal:e.vertical!==!0,vertical:e.vertical,mouse:!0}]]),c=s(()=>e.transitionPrev||`slide-${e.vertical===!0?"down":"right"}`),g=s(()=>e.transitionNext||`slide-${e.vertical===!0?"up":"left"}`),v=s(()=>`--q-transition-duration: ${e.transitionDuration}ms`),m=s(()=>typeof e.modelValue=="string"||typeof e.modelValue=="number"?e.modelValue:String(e.modelValue)),h=s(()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax})),C=s(()=>e.keepAliveInclude!==void 0||e.keepAliveExclude!==void 0);j(()=>e.modelValue,(_,R)=>{let N=b(_)===!0?p(_):-1;i!==!0&&$(N===-1?0:N<p(R)?-1:1),l.value!==N&&(l.value=N,t("beforeTransition",_,R),Ae(()=>{t("transition",_,R)}))});function y(){F(1)}function q(){F(-1)}function S(_){t("update:modelValue",_)}function b(_){return _!=null&&_!==""}function p(_){return n.findIndex(R=>R.props.name===_&&R.props.disable!==""&&R.props.disable!==!0)}function k(){return n.filter(_=>_.props.disable!==""&&_.props.disable!==!0)}function $(_){let R=_!==0&&e.animated===!0&&l.value!==-1?"q-transition--"+(_===-1?c.value:g.value):null;u.value!==R&&(u.value=R)}function F(_,R=l.value){let N=R+_;for(;N!==-1&&N<n.length;){let X=n[N];if(X!==void 0&&X.props.disable!==""&&X.props.disable!==!0){$(_),i=!0,t("update:modelValue",X.props.name),setTimeout(()=>{i=!1});return}N+=_}e.infinite===!0&&n.length!==0&&R!==-1&&R!==n.length&&F(_,_===-1?n.length:-1)}function D(){let _=p(e.modelValue);return l.value!==_&&(l.value=_),!0}function L(){let _=b(e.modelValue)===!0&&D()&&n[l.value];return e.keepAlive===!0?[a(pi,h.value,[a(C.value===!0?r(m.value,()=>({...Os,name:m.value})):Os,{key:m.value,style:v.value},()=>_)])]:[a("div",{class:"q-panel scroll",style:v.value,key:m.value,role:"tabpanel"},[_])]}function B(){if(n.length!==0)return e.animated===!0?[a(lt,{name:u.value},L)]:L()}function V(_){return n=Yn(ie(_.default,[])).filter(R=>R.props!==null&&R.props.slot===void 0&&b(R.props.name)===!0),n.length}function E(){return n}return Object.assign(o,{next:y,previous:q,goTo:S}),{panelIndex:l,panelDirectives:f,updatePanelsList:V,updatePanelIndex:D,getPanelContent:B,getEnabledPanels:k,getPanels:E,isValidPanelName:b,keepAliveProps:h,needsUniqueKeepAliveWrapper:C,goToPanelByOffset:F,goToPanel:S,nextPanel:y,previousPanel:q}}var ei=0,Cr={fullscreen:Boolean,noRouteFullscreenExit:Boolean},wr=["update:fullscreen","fullscreen"];function kr(){let e=U(),{props:t,emit:o,proxy:r}=e,n,i,l,u=T(!1);Xn(e)===!0&&j(()=>r.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&c()}),j(()=>t.fullscreen,g=>{u.value!==g&&d()}),j(u,g=>{o("update:fullscreen",g),o("fullscreen",g)});function d(){u.value===!0?c():f()}function f(){u.value!==!0&&(u.value=!0,l=r.$el.parentNode,l.replaceChild(i,r.$el),document.body.appendChild(r.$el),ei++,ei===1&&document.body.classList.add("q-body--fullscreen-mixin"),n={handler:c},tn.add(n))}function c(){u.value===!0&&(n!==void 0&&(tn.remove(n),n=void 0),l.replaceChild(r.$el,i),u.value=!1,ei=Math.max(0,ei-1),ei===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),r.$el.scrollIntoView!==void 0&&setTimeout(()=>{r.$el.scrollIntoView()})))}return Nn(()=>{i=document.createElement("span")}),je(()=>{t.fullscreen===!0&&f()}),ye(c),Object.assign(r,{toggleFullscreen:d,setFullscreen:f,exitFullscreen:c}),{inFullscreen:u,toggleFullscreen:d}}var pg=["top","right","bottom","left"],bg=["regular","flat","outline","push","unelevated"],Is=A({name:"QCarousel",props:{...Ce,...Sr,...Cr,transitionPrev:{type:String,default:"fade"},transitionNext:{type:String,default:"fade"},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>bg.includes(e),default:"flat"},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>pg.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...wr,...xr],setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=we(e,o),n=null,i,{updatePanelsList:l,getPanelContent:u,panelDirectives:d,goToPanel:f,previousPanel:c,nextPanel:g,getEnabledPanels:v,panelIndex:m}=_r(),{inFullscreen:h}=kr(),C=s(()=>h.value!==!0&&e.height!==void 0?{height:e.height}:{}),y=s(()=>e.vertical===!0?"vertical":"horizontal"),q=s(()=>`q-carousel q-panel-parent q-carousel--with${e.padding===!0?"":"out"}-padding`+(h.value===!0?" fullscreen":"")+(r.value===!0?" q-carousel--dark q-dark":"")+(e.arrows===!0?` q-carousel--arrows-${y.value}`:"")+(e.navigation===!0?` q-carousel--navigation-${k.value}`:"")),S=s(()=>{let B=[e.prevIcon||o.iconSet.carousel[e.vertical===!0?"up":"left"],e.nextIcon||o.iconSet.carousel[e.vertical===!0?"down":"right"]];return e.vertical===!1&&o.lang.rtl===!0?B.reverse():B}),b=s(()=>e.navigationIcon||o.iconSet.carousel.navigationIcon),p=s(()=>e.navigationActiveIcon||b.value),k=s(()=>e.navigationPosition||(e.vertical===!0?"right":"bottom")),$=s(()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0}));j(()=>e.modelValue,()=>{e.autoplay&&F()}),j(()=>e.autoplay,B=>{B?F():n!==null&&(clearTimeout(n),n=null)});function F(){let B=co(e.autoplay)===!0?Math.abs(e.autoplay):5e3;n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,B>=0?g():c()},B)}je(()=>{e.autoplay&&F()}),ye(()=>{n!==null&&clearTimeout(n)});function D(B,V){return a("div",{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${B} q-carousel__navigation--${k.value}`+(e.controlColor!==void 0?` text-${e.controlColor}`:"")},[a("div",{class:"q-carousel__navigation-inner flex flex-center no-wrap"},v().map(V))])}function L(){let B=[];if(e.navigation===!0){let V=t["navigation-icon"]!==void 0?t["navigation-icon"]:_=>a(Oe,{key:"nav"+_.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${_.active===!0?"":"in"}active`,..._.btnProps,onClick:_.onClick}),E=i-1;B.push(D("buttons",(_,R)=>{let N=_.props.name,X=m.value===R;return V({index:R,maxIndex:E,name:N,active:X,btnProps:{icon:X===!0?p.value:b.value,size:"sm",...$.value},onClick:()=>{f(N)}})}))}else if(e.thumbnails===!0){let V=e.controlColor!==void 0?` text-${e.controlColor}`:"";B.push(D("thumbnails",E=>{let _=E.props;return a("img",{key:"tmb#"+_.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${_.name===e.modelValue?"":"in"}active`+V,src:_.imgSrc||_["img-src"],onClick:()=>{f(_.name)}})}))}return e.arrows===!0&&m.value>=0&&((e.infinite===!0||m.value>0)&&B.push(a("div",{key:"prev",class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${y.value} absolute flex flex-center`},[a(Oe,{icon:S.value[0],...$.value,onClick:c})])),(e.infinite===!0||m.value<i-1)&&B.push(a("div",{key:"next",class:`q-carousel__control q-carousel__arrow q-carousel__next-arrow q-carousel__next-arrow--${y.value} absolute flex flex-center`},[a(Oe,{icon:S.value[1],...$.value,onClick:g})]))),Xe(t.control,B)}return()=>(i=l(t),a("div",{class:q.value,style:C.value},[Mt("div",{class:"q-carousel__slides-container"},u(),"sl-cont",e.swipeable,()=>d.value)].concat(L())))}});var Ns=A({name:"QCarouselSlide",props:{...yr,imgSrc:String},setup(e,{slots:t}){let o=s(()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{});return()=>a("div",{class:"q-carousel__slide",style:o.value},ie(t.default))}});var Hs=A({name:"QCarouselControl",props:{position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,default:()=>[18,18],validator:e=>e.length===2}},setup(e,{slots:t}){let o=s(()=>`q-carousel__control absolute absolute-${e.position}`),r=s(()=>({margin:`${e.offset[1]}px ${e.offset[0]}px`}));return()=>a("div",{class:o.value,style:r.value},ie(t.default))}});var Qs=A({name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String,labelHtml:Boolean,nameHtml:Boolean,textHtml:Boolean,stampHtml:Boolean},setup(e,{slots:t}){let o=s(()=>e.sent===!0?"sent":"received"),r=s(()=>`q-message-text-content q-message-text-content--${o.value}`+(e.textColor!==void 0?` text-${e.textColor}`:"")),n=s(()=>`q-message-text q-message-text--${o.value}`+(e.bgColor!==void 0?` text-${e.bgColor}`:"")),i=s(()=>"q-message-container row items-end no-wrap"+(e.sent===!0?" reverse":"")),l=s(()=>e.size!==void 0?`col-${e.size}`:""),u=s(()=>({msg:e.textHtml===!0?"innerHTML":"textContent",stamp:e.stampHtml===!0?"innerHTML":"textContent",name:e.nameHtml===!0?"innerHTML":"textContent",label:e.labelHtml===!0?"innerHTML":"textContent"}));function d(c){return t.stamp!==void 0?[c,a("div",{class:"q-message-stamp"},t.stamp())]:e.stamp?[c,a("div",{class:"q-message-stamp",[u.value.stamp]:e.stamp})]:[c]}function f(c,g){let v=g===!0?c.length>1?m=>m:m=>a("div",[m]):m=>a("div",{[u.value.msg]:m});return c.map((m,h)=>a("div",{key:h,class:n.value},[a("div",{class:r.value},d(v(m)))]))}return()=>{let c=[];t.avatar!==void 0?c.push(t.avatar()):e.avatar!==void 0&&c.push(a("img",{class:`q-message-avatar q-message-avatar--${o.value}`,src:e.avatar,"aria-hidden":"true"}));let g=[];t.name!==void 0?g.push(a("div",{class:`q-message-name q-message-name--${o.value}`},t.name())):e.name!==void 0&&g.push(a("div",{class:`q-message-name q-message-name--${o.value}`,[u.value.name]:e.name})),t.default!==void 0?g.push(f(Yn(t.default()),!0)):e.text!==void 0&&g.push(f(e.text)),c.push(a("div",{class:l.value},g));let v=[];return t.label!==void 0?v.push(a("div",{class:"q-message-label"},t.label())):e.label!==void 0&&v.push(a("div",{class:"q-message-label",[u.value.label]:e.label})),v.push(a("div",{class:i.value},c)),a("div",{class:`q-message q-message-${o.value}`},v)}}});function Wi(e,t){let o=T(null),r=s(()=>e.disable===!0?null:a("span",{ref:o,class:"no-outline",tabindex:-1}));function n(i){let l=t.value;i!==void 0&&i.type.indexOf("key")===0?l!==null&&document.activeElement!==l&&l.contains(document.activeElement)===!0&&l.focus():o.value!==null&&(i===void 0||l!==null&&l.contains(i.target)===!0)&&o.value.focus()}return{refocusTargetEl:r,refocusTarget:n}}var Yi={xs:30,sm:35,md:40,lg:50,xl:60};var Xi={...Ce,...Lt,...wt,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]},Gi=["update:modelValue"];function Zi(e,t){let{props:o,slots:r,emit:n,proxy:i}=U(),{$q:l}=i,u=we(o,l),d=T(null),{refocusTargetEl:f,refocusTarget:c}=Wi(o,d),g=Vt(o,Yi),v=s(()=>o.val!==void 0&&Array.isArray(o.modelValue)),m=s(()=>{let E=so(o.val);return v.value===!0?o.modelValue.findIndex(_=>so(_)===E):-1}),h=s(()=>v.value===!0?m.value!==-1:so(o.modelValue)===so(o.trueValue)),C=s(()=>v.value===!0?m.value===-1:so(o.modelValue)===so(o.falseValue)),y=s(()=>h.value===!1&&C.value===!1),q=s(()=>o.disable===!0?-1:o.tabindex||0),S=s(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(o.disable===!0?" disabled":"")+(u.value===!0?` q-${e}--dark`:"")+(o.dense===!0?` q-${e}--dense`:"")+(o.leftLabel===!0?" reverse":"")),b=s(()=>{let E=h.value===!0?"truthy":C.value===!0?"falsy":"indet",_=o.color!==void 0&&(o.keepColor===!0||(e==="toggle"?h.value===!0:C.value!==!0))?` text-${o.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${E}${_}`}),p=s(()=>{let E={type:"checkbox"};return o.name!==void 0&&Object.assign(E,{".checked":h.value,"^checked":h.value===!0?"checked":void 0,name:o.name,value:v.value===!0?o.val:o.trueValue}),E}),k=Wt(p),$=s(()=>{let E={tabindex:q.value,role:e==="toggle"?"switch":"checkbox","aria-label":o.label,"aria-checked":y.value===!0?"mixed":h.value===!0?"true":"false"};return o.disable===!0&&(E["aria-disabled"]="true"),E});function F(E){E!==void 0&&(qe(E),c(E)),o.disable!==!0&&n("update:modelValue",D(),E)}function D(){if(v.value===!0){if(h.value===!0){let E=o.modelValue.slice();return E.splice(m.value,1),E}return o.modelValue.concat([o.val])}if(h.value===!0){if(o.toggleOrder!=="ft"||o.toggleIndeterminate===!1)return o.falseValue}else if(C.value===!0){if(o.toggleOrder==="ft"||o.toggleIndeterminate===!1)return o.trueValue}else return o.toggleOrder!=="ft"?o.trueValue:o.falseValue;return o.indeterminateValue}function L(E){(E.keyCode===13||E.keyCode===32)&&qe(E)}function B(E){(E.keyCode===13||E.keyCode===32)&&F(E)}let V=t(h,y);return Object.assign(i,{toggle:F}),()=>{let E=V();o.disable!==!0&&k(E,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);let _=[a("div",{class:b.value,style:g.value,"aria-hidden":"true"},E)];f.value!==null&&_.push(f.value);let R=o.label!==void 0?Xe(r.default,[o.label]):ie(r.default);return R!==void 0&&_.push(a("div",{class:`q-${e}__label q-anchor--skip`},R)),a("div",{ref:d,class:S.value,...$.value,onClick:F,onKeydown:L,onKeyup:B},_)}}var yg=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"})])]),Do=A({name:"QCheckbox",props:Xi,emits:Gi,setup(e){function t(o,r){let n=s(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>n.value!==null?[a("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[a(Re,{class:"q-checkbox__icon",name:n.value})])]:[yg]}return Zi("checkbox",t)}});var Sg={xs:8,sm:10,md:14,lg:20,xl:24},qr=A({name:"QChip",props:{...Ce,...Lt,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:o}){let{proxy:{$q:r}}=U(),n=we(e,r),i=Vt(e,Sg),l=s(()=>e.selected===!0||e.icon!==void 0),u=s(()=>e.selected===!0?e.iconSelected||r.iconSet.chip.selected:e.icon),d=s(()=>e.iconRemove||r.iconSet.chip.remove),f=s(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=s(()=>{let y=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(y?` text-${y} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(f.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(n.value===!0?" q-chip--dark q-dark":"")}),g=s(()=>{let y=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},q={...y,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||r.lang.label.remove};return{chip:y,remove:q}});function v(y){y.keyCode===13&&m(y)}function m(y){e.disable||(o("update:selected",!e.selected),o("click",y))}function h(y){(y.keyCode===void 0||y.keyCode===13)&&(qe(y),e.disable===!1&&(o("update:modelValue",!1),o("remove")))}function C(){let y=[];f.value===!0&&y.push(a("div",{class:"q-focus-helper"})),l.value===!0&&y.push(a(Re,{class:"q-chip__icon q-chip__icon--left",name:u.value}));let q=e.label!==void 0?[a("div",{class:"ellipsis"},[e.label])]:void 0;return y.push(a("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Un(t.default,q))),e.iconRight&&y.push(a(Re,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&y.push(a(Re,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:d.value,...g.value.remove,onClick:h,onKeyup:h})),y}return()=>{if(e.modelValue===!1)return;let y={class:c.value,style:i.value};return f.value===!0&&Object.assign(y,g.value.chip,{onClick:m,onKeyup:v}),Mt("div",y,C(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Po,e.ripple]])}}});var ti={...Lt,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var Il=50,js=2*Il,Us=js*Math.PI,xg=Math.round(Us*1e3)/1e3,Tr=A({name:"QCircularProgress",props:{...ti,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Vt(e),n=s(()=>{let m=(o.lang.rtl===!0?-1:1)*e.angle;return{transform:e.reverse!==(o.lang.rtl===!0)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-m}deg)`:`rotate3d(0, 0, 1, ${m-90}deg)`}}),i=s(()=>e.instantFeedback!==!0&&e.indeterminate!==!0?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:""),l=s(()=>js/(1-e.thickness/2)),u=s(()=>`${l.value/2} ${l.value/2} ${l.value} ${l.value}`),d=s(()=>tt(e.value,e.min,e.max)),f=s(()=>e.max-e.min),c=s(()=>e.thickness/2*l.value),g=s(()=>{let m=(e.max-d.value)/f.value,h=e.rounded===!0&&d.value<e.max&&m<.25?c.value/2*(1-m/.25):0;return Us*m+h});function v({thickness:m,offset:h,color:C,cls:y,rounded:q}){return a("circle",{class:"q-circular-progress__"+y+(C!==void 0?` text-${C}`:""),style:i.value,fill:"transparent",stroke:"currentColor","stroke-width":m,"stroke-dasharray":xg,"stroke-dashoffset":h,"stroke-linecap":q,cx:l.value,cy:l.value,r:Il})}return()=>{let m=[];e.centerColor!==void 0&&e.centerColor!=="transparent"&&m.push(a("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:Il-c.value/2,cx:l.value,cy:l.value})),e.trackColor!==void 0&&e.trackColor!=="transparent"&&m.push(v({cls:"track",thickness:c.value,offset:0,color:e.trackColor})),m.push(v({cls:"circle",thickness:c.value,offset:g.value,color:e.color,rounded:e.rounded===!0?"round":void 0}));let h=[a("svg",{class:"q-circular-progress__svg",style:n.value,viewBox:u.value,"aria-hidden":"true"},m)];return e.showValue===!0&&h.push(a("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},t.default!==void 0?t.default():[a("div",d.value)])),a("div",{class:`q-circular-progress q-circular-progress--${e.indeterminate===!0?"in":""}determinate`,style:r.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.indeterminate===!0?void 0:d.value},Un(t.internal,h))}}});function Nl(e,t,o){let r=xt(e),n,i=r.left-t.event.x,l=r.top-t.event.y,u=Math.abs(i),d=Math.abs(l),f=t.direction;f.horizontal===!0&&f.vertical!==!0?n=i<0?"left":"right":f.horizontal!==!0&&f.vertical===!0?n=l<0?"up":"down":f.up===!0&&l<0?(n="up",u>d&&(f.left===!0&&i<0?n="left":f.right===!0&&i>0&&(n="right"))):f.down===!0&&l>0?(n="down",u>d&&(f.left===!0&&i<0?n="left":f.right===!0&&i>0&&(n="right"))):f.left===!0&&i<0?(n="left",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down"))):f.right===!0&&i>0&&(n="right",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down")));let c=!1;if(n===void 0&&o===!1){if(t.event.isFirst===!0||t.event.lastDir===void 0)return{};n=t.event.lastDir,c=!0,n==="left"||n==="right"?(r.left-=i,u=0,i=0):(r.top-=l,d=0,l=0)}return{synthetic:c,payload:{evt:e,touch:t.event.mouse!==!0,mouse:t.event.mouse===!0,position:r,direction:n,isFirst:t.event.isFirst,isFinal:o===!0,duration:Date.now()-t.event.time,distance:{x:u,y:d},offset:{x:i,y:l},delta:{x:r.left-t.event.lastX,y:r.top-t.event.lastY}}}}var _g=0,Rt=Pt({name:"touch-pan",beforeMount(e,{value:t,modifiers:o}){if(o.mouse!==!0&&Me.has.touch!==!0)return;function r(i,l){o.mouse===!0&&l===!0?qe(i):(o.stop===!0&&rt(i),o.prevent===!0&&ft(i))}let n={uid:"qvtp_"+_g++,handler:t,modifiers:o,direction:pr(o),noop:Ye,mouseStart(i){br(i,n)&&Uo(i)&&(dt(n,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),n.start(i,!0))},touchStart(i){if(br(i,n)){let l=i.target;dt(n,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","passiveCapture"],[l,"touchend","end","passiveCapture"]]),n.start(i)}},start(i,l){if(Me.is.firefox===!0&&Ko(e,!0),n.lastEvt=i,l===!0||o.stop===!0){if(n.direction.all!==!0&&(l!==!0||n.modifiers.mouseAllDir!==!0&&n.modifiers.mousealldir!==!0)){let f=i.type.indexOf("mouse")!==-1?new MouseEvent(i.type,i):new TouchEvent(i.type,i);i.defaultPrevented===!0&&ft(f),i.cancelBubble===!0&&rt(f),Object.assign(f,{qKeyEvent:i.qKeyEvent,qClickOutside:i.qClickOutside,qAnchorHandled:i.qAnchorHandled,qClonedBy:i.qClonedBy===void 0?[n.uid]:i.qClonedBy.concat(n.uid)}),n.initialEvent={target:i.target,event:f}}rt(i)}let{left:u,top:d}=xt(i);n.event={x:u,y:d,time:Date.now(),mouse:l===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:u,lastY:d}},move(i){if(n.event===void 0)return;let l=xt(i),u=l.left-n.event.x,d=l.top-n.event.y;if(u===0&&d===0)return;n.lastEvt=i;let f=n.event.mouse===!0,c=()=>{r(i,f);let m;o.preserveCursor!==!0&&o.preservecursor!==!0&&(m=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),f===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),n.styleCleanup=h=>{if(n.styleCleanup=void 0,m!==void 0&&(document.documentElement.style.cursor=m),document.body.classList.remove("non-selectable"),f===!0){let C=()=>{document.body.classList.remove("no-pointer-events--children")};h!==void 0?setTimeout(()=>{C(),h()},50):C()}else h!==void 0&&h()}};if(n.event.detected===!0){n.event.isFirst!==!0&&r(i,n.event.mouse);let{payload:m,synthetic:h}=Nl(i,n,!1);m!==void 0&&(n.handler(m)===!1?n.end(i):(n.styleCleanup===void 0&&n.event.isFirst===!0&&c(),n.event.lastX=m.position.left,n.event.lastY=m.position.top,n.event.lastDir=h===!0?void 0:m.direction,n.event.isFirst=!1));return}if(n.direction.all===!0||f===!0&&(n.modifiers.mouseAllDir===!0||n.modifiers.mousealldir===!0)){c(),n.event.detected=!0,n.move(i);return}let g=Math.abs(u),v=Math.abs(d);g!==v&&(n.direction.horizontal===!0&&g>v||n.direction.vertical===!0&&g<v||n.direction.up===!0&&g<v&&d<0||n.direction.down===!0&&g<v&&d>0||n.direction.left===!0&&g>v&&u<0||n.direction.right===!0&&g>v&&u>0?(n.event.detected=!0,n.move(i)):n.end(i,!0))},end(i,l){if(n.event!==void 0){if(qt(n,"temp"),Me.is.firefox===!0&&Ko(e,!1),l===!0)n.styleCleanup!==void 0&&n.styleCleanup(),n.event.detected!==!0&&n.initialEvent!==void 0&&n.initialEvent.target.dispatchEvent(n.initialEvent.event);else if(n.event.detected===!0){n.event.isFirst===!0&&n.handler(Nl(i===void 0?n.lastEvt:i,n).payload);let{payload:u}=Nl(i===void 0?n.lastEvt:i,n,!0),d=()=>{n.handler(u)};n.styleCleanup!==void 0?n.styleCleanup(d):d()}n.event=void 0,n.initialEvent=void 0,n.lastEvt=void 0}}};if(e.__qtouchpan=n,o.mouse===!0){let i=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(n,"main",[[e,"mousedown","mouseStart",`passive${i}`]])}Me.has.touch===!0&&dt(n,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchpan;o!==void 0&&(t.oldValue!==t.value&&(typeof value!="function"&&o.end(),o.handler=t.value),o.direction=pr(t.modifiers))},beforeUnmount(e){let t=e.__qtouchpan;t!==void 0&&(t.event!==void 0&&t.end(),qt(t,"main"),qt(t,"temp"),Me.is.firefox===!0&&Ko(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchpan)}});var Ks="q-slider__marker-labels",Cg=e=>({value:e}),wg=({marker:e})=>a("div",{key:e.value,style:e.style,class:e.classes},e.label),oi=[34,37,40,33,39,38],Ji={...Ce,...wt,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,hideSelection: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"}},ea=["pan","update:modelValue","change"];function ta({updateValue:e,updatePosition:t,getDragging:o,formAttrs:r}){let{props:n,emit:i,slots:l,proxy:{$q:u}}=U(),d=we(n,u),f=Wt(r),c=T(!1),g=T(!1),v=T(!1),m=T(!1),h=s(()=>n.vertical===!0?"--v":"--h"),C=s(()=>"-"+(n.switchLabelSide===!0?"switched":"standard")),y=s(()=>n.vertical===!0?n.reverse===!0:n.reverse!==(u.lang.rtl===!0)),q=s(()=>isNaN(n.innerMin)===!0||n.innerMin<n.min?n.min:n.innerMin),S=s(()=>isNaN(n.innerMax)===!0||n.innerMax>n.max?n.max:n.innerMax),b=s(()=>n.disable!==!0&&n.readonly!==!0&&q.value<S.value),p=s(()=>{if(n.step===0)return le=>le;let Z=(String(n.step).trim().split(".")[1]||"").length;return le=>parseFloat(le.toFixed(Z))}),k=s(()=>n.step===0?1:n.step),$=s(()=>b.value===!0?n.tabindex||0:-1),F=s(()=>n.max-n.min),D=s(()=>S.value-q.value),L=s(()=>ae(q.value)),B=s(()=>ae(S.value)),V=s(()=>n.vertical===!0?y.value===!0?"bottom":"top":y.value===!0?"right":"left"),E=s(()=>n.vertical===!0?"height":"width"),_=s(()=>n.vertical===!0?"width":"height"),R=s(()=>n.vertical===!0?"vertical":"horizontal"),N=s(()=>{let Z={role:"slider","aria-valuemin":q.value,"aria-valuemax":S.value,"aria-orientation":R.value,"data-step":n.step};return n.disable===!0?Z["aria-disabled"]="true":n.readonly===!0&&(Z["aria-readonly"]="true"),Z}),X=s(()=>`q-slider q-slider${h.value} q-slider--${c.value===!0?"":"in"}active inline no-wrap `+(n.vertical===!0?"row":"column")+(n.disable===!0?" disabled":" q-slider--enabled"+(b.value===!0?" q-slider--editable":""))+(v.value==="both"?" q-slider--focus":"")+(n.label||n.labelAlways===!0?" q-slider--label":"")+(n.labelAlways===!0?" q-slider--label-always":"")+(d.value===!0?" q-slider--dark":"")+(n.dense===!0?" q-slider--dense q-slider--dense"+h.value:""));function M(Z){let le="q-slider__"+Z;return`${le} ${le}${h.value} ${le}${h.value}${C.value}`}function Q(Z){let le="q-slider__"+Z;return`${le} ${le}${h.value}`}let J=s(()=>{let Z=n.selectionColor||n.color;return"q-slider__selection absolute"+(Z!==void 0?` text-${Z}`:"")}),de=s(()=>Q("markers")+" absolute overflow-hidden"),O=s(()=>Q("track-container")),w=s(()=>M("pin")),W=s(()=>M("label")),H=s(()=>M("text-container")),ee=s(()=>M("marker-labels-container")+(n.markerLabelsClass!==void 0?` ${n.markerLabelsClass}`:"")),Y=s(()=>"q-slider__track relative-position no-outline"+(n.trackColor!==void 0?` bg-${n.trackColor}`:"")),ue=s(()=>{let Z={[_.value]:n.trackSize};return n.trackImg!==void 0&&(Z.backgroundImage=`url(${n.trackImg}) !important`),Z}),K=s(()=>"q-slider__inner absolute"+(n.innerTrackColor!==void 0?` bg-${n.innerTrackColor}`:"")),x=s(()=>{let Z=B.value-L.value,le={[V.value]:`${100*L.value}%`,[E.value]:Z===0?"2px":`${100*Z}%`};return n.innerTrackImg!==void 0&&(le.backgroundImage=`url(${n.innerTrackImg}) !important`),le});function G(Z){let{min:le,max:Pe,step:He}=n,ke=le+Z*(Pe-le);if(He>0){let et=(ke-q.value)%He;ke+=(Math.abs(et)>=He/2?(et<0?-1:1)*He:0)-et}return ke=p.value(ke),tt(ke,q.value,S.value)}function ae(Z){return F.value===0?0:(Z-n.min)/F.value}function fe(Z,le){let Pe=xt(Z),He=n.vertical===!0?tt((Pe.top-le.top)/le.height,0,1):tt((Pe.left-le.left)/le.width,0,1);return tt(y.value===!0?1-He:He,L.value,B.value)}let Se=s(()=>co(n.markers)===!0?n.markers:k.value),me=s(()=>{let Z=[],le=Se.value,Pe=n.max,He=n.min;do Z.push(He),He+=le;while(He<Pe);return Z.push(Pe),Z}),ze=s(()=>{let Z=` ${Ks}${h.value}-`;return Ks+`${Z}${n.switchMarkerLabelsSide===!0?"switched":"standard"}${Z}${y.value===!0?"rtl":"ltr"}`}),Be=s(()=>n.markerLabels===!1?null:it(n.markerLabels).map((Z,le)=>({index:le,value:Z.value,label:Z.label||Z.value,classes:ze.value+(Z.classes!==void 0?" "+Z.classes:""),style:{...Ke(Z.value),...Z.style||{}}}))),xe=s(()=>({markerList:Be.value,markerMap:ce.value,classes:ze.value,getStyle:Ke})),Ie=s(()=>{let Z=D.value===0?"2px":100*Se.value/D.value;return{...x.value,backgroundSize:n.vertical===!0?`2px ${Z}%`:`${Z}% 2px`}});function it(Z){if(Z===!1)return null;if(Z===!0)return me.value.map(Cg);if(typeof Z=="function")return me.value.map(Pe=>{let He=Z(Pe);return ct(He)===!0?{...He,value:Pe}:{value:Pe,label:He}});let le=({value:Pe})=>Pe>=n.min&&Pe<=n.max;return Array.isArray(Z)===!0?Z.map(Pe=>ct(Pe)===!0?Pe:{value:Pe}).filter(le):Object.keys(Z).map(Pe=>{let He=Z[Pe],ke=Number(Pe);return ct(He)===!0?{...He,value:ke}:{value:ke,label:He}}).filter(le)}function Ke(Z){return{[V.value]:`${100*(Z-n.min)/F.value}%`}}let ce=s(()=>{if(n.markerLabels===!1)return null;let Z={};return Be.value.forEach(le=>{Z[le.value]=le}),Z});function ve(){if(l["marker-label-group"]!==void 0)return l["marker-label-group"](xe.value);let Z=l["marker-label"]||wg;return Be.value.map(le=>Z({marker:le,...xe.value}))}let te=s(()=>[[Rt,pe,void 0,{[R.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]);function pe(Z){Z.isFinal===!0?(m.value!==void 0&&(t(Z.evt),Z.touch===!0&&e(!0),m.value=void 0,i("pan","end")),c.value=!1,v.value=!1):Z.isFirst===!0?(m.value=o(Z.evt),t(Z.evt),e(),c.value=!0,i("pan","start")):(t(Z.evt),e())}function Fe(){v.value=!1}function Ve(Z){t(Z,o(Z)),e(),g.value=!0,c.value=!0,document.addEventListener("mouseup",Le,!0)}function Le(){g.value=!1,c.value=!1,e(!0),Fe(),document.removeEventListener("mouseup",Le,!0)}function at(Z){t(Z,o(Z)),e(!0)}function mt(Z){oi.includes(Z.keyCode)&&e(!0)}function vt(Z){if(n.vertical===!0)return null;let le=u.lang.rtl!==n.reverse?1-Z:Z;return{transform:`translateX(calc(${2*le-1} * ${n.thumbSize} / 2 + ${50-100*le}%))`}}function ne(Z){let le=s(()=>g.value===!1&&(v.value===Z.focusValue||v.value==="both")?" q-slider--focus":""),Pe=s(()=>`q-slider__thumb q-slider__thumb${h.value} q-slider__thumb${h.value}-${y.value===!0?"rtl":"ltr"} absolute non-selectable`+le.value+(Z.thumbColor.value!==void 0?` text-${Z.thumbColor.value}`:"")),He=s(()=>({width:n.thumbSize,height:n.thumbSize,[V.value]:`${100*Z.ratio.value}%`,zIndex:v.value===Z.focusValue?2:void 0})),ke=s(()=>Z.labelColor.value!==void 0?` text-${Z.labelColor.value}`:""),et=s(()=>vt(Z.ratio.value)),pt=s(()=>"q-slider__text"+(Z.labelTextColor.value!==void 0?` text-${Z.labelTextColor.value}`:""));return()=>{let yt=[a("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[a("path",{d:n.thumbPath})]),a("div",{class:"q-slider__focus-ring fit"})];return(n.label===!0||n.labelAlways===!0)&&(yt.push(a("div",{class:w.value+" absolute fit no-pointer-events"+ke.value},[a("div",{class:W.value,style:{minWidth:n.thumbSize}},[a("div",{class:H.value,style:et.value},[a("span",{class:pt.value},Z.label.value)])])])),n.name!==void 0&&n.disable!==!0&&f(yt,"push")),a("div",{class:Pe.value,style:He.value,...Z.getNodeData()},yt)}}function se(Z,le,Pe,He){let ke=[];n.innerTrackColor!=="transparent"&&ke.push(a("div",{key:"inner",class:K.value,style:x.value})),n.selectionColor!=="transparent"&&ke.push(a("div",{key:"selection",class:J.value,style:Z.value})),n.markers!==!1&&ke.push(a("div",{key:"marker",class:de.value,style:Ie.value})),He(ke);let et=[Mt("div",{key:"trackC",class:O.value,tabindex:le.value,...Pe.value},[a("div",{class:Y.value,style:ue.value},ke)],"slide",b.value,()=>te.value)];if(n.markerLabels!==!1){let pt=n.switchMarkerLabelsSide===!0?"unshift":"push";et[pt](a("div",{key:"markerL",class:ee.value},ve()))}return et}return ye(()=>{document.removeEventListener("mouseup",Le,!0)}),{state:{active:c,focus:v,preventFocus:g,dragging:m,editable:b,classes:X,tabindex:$,attributes:N,roundValueFn:p,keyStep:k,trackLen:F,innerMin:q,innerMinRatio:L,innerMax:S,innerMaxRatio:B,positionProp:V,sizeProp:E,isReversed:y},methods:{onActivate:Ve,onMobileClick:at,onBlur:Fe,onKeyup:mt,getContent:se,getThumbRenderFn:ne,convertRatioToModel:G,convertModelToRatio:ae,getDraggingRatio:fe}}}var kg=()=>({}),Go=A({name:"QSlider",props:{...Ji,modelValue:{required:!0,default:null,validator:e=>typeof e=="number"||e===null},labelValue:[String,Number]},emits:ea,setup(e,{emit:t}){let{proxy:{$q:o}}=U(),{state:r,methods:n}=ta({updateValue:h,updatePosition:y,getDragging:C,formAttrs:Lo(e)}),i=T(null),l=T(0),u=T(0);function d(){u.value=e.modelValue===null?r.innerMin.value:tt(e.modelValue,r.innerMin.value,r.innerMax.value)}j(()=>`${e.modelValue}|${r.innerMin.value}|${r.innerMax.value}`,d),d();let f=s(()=>n.convertModelToRatio(u.value)),c=s(()=>r.active.value===!0?l.value:f.value),g=s(()=>{let b={[r.positionProp.value]:`${100*r.innerMinRatio.value}%`,[r.sizeProp.value]:`${100*(c.value-r.innerMinRatio.value)}%`};return e.selectionImg!==void 0&&(b.backgroundImage=`url(${e.selectionImg}) !important`),b}),v=n.getThumbRenderFn({focusValue:!0,getNodeData:kg,ratio:c,label:s(()=>e.labelValue!==void 0?e.labelValue:u.value),thumbColor:s(()=>e.thumbColor||e.color),labelColor:s(()=>e.labelColor),labelTextColor:s(()=>e.labelTextColor)}),m=s(()=>r.editable.value!==!0?{}:o.platform.is.mobile===!0?{onClick:n.onMobileClick}:{onMousedown:n.onActivate,onFocus:q,onBlur:n.onBlur,onKeydown:S,onKeyup:n.onKeyup});function h(b){u.value!==e.modelValue&&t("update:modelValue",u.value),b===!0&&t("change",u.value)}function C(){return i.value.getBoundingClientRect()}function y(b,p=r.dragging.value){let k=n.getDraggingRatio(b,p);u.value=n.convertRatioToModel(k),l.value=e.snap!==!0||e.step===0?k:n.convertModelToRatio(u.value)}function q(){r.focus.value=!0}function S(b){if(!oi.includes(b.keyCode))return;qe(b);let p=([34,33].includes(b.keyCode)?10:1)*r.keyStep.value,k=([34,37,40].includes(b.keyCode)?-1:1)*(r.isReversed.value===!0?-1:1)*(e.vertical===!0?-1:1)*p;u.value=tt(r.roundValueFn.value(u.value+k),r.innerMin.value,r.innerMax.value),h()}return()=>{let b=n.getContent(g,r.tabindex,m,p=>{p.push(v())});return a("div",{ref:i,class:r.classes.value+(e.modelValue===null?" q-slider--no-value":""),...r.attributes.value,"aria-valuenow":e.modelValue},b)}}});function oa(){let e=T(!kt.value);return e.value===!1&&je(()=>{e.value=!0}),e}var Ys=typeof ResizeObserver<"u",Ws=Ys===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},to=A({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let o=null,r,n={width:-1,height:-1};function i(d){d===!0||e.debounce===0||e.debounce==="0"?l():o===null&&(o=setTimeout(l,e.debounce))}function l(){if(o!==null&&(clearTimeout(o),o=null),r){let{offsetWidth:d,offsetHeight:f}=r;(d!==n.width||f!==n.height)&&(n={width:d,height:f},t("resize",n))}}let{proxy:u}=U();if(u.trigger=i,Ys===!0){let d,f=c=>{r=u.$el.parentNode,r?(d=new ResizeObserver(i),d.observe(r),l()):c!==!0&&Ae(()=>{f(!0)})};return je(()=>{f()}),ye(()=>{o!==null&&clearTimeout(o),d!==void 0&&(d.disconnect!==void 0?d.disconnect():r&&d.unobserve(r))}),Ye}else{let c=function(){o!==null&&(clearTimeout(o),o=null),f!==void 0&&(f.removeEventListener!==void 0&&f.removeEventListener("resize",i,Je.passive),f=void 0)},g=function(){c(),r&&r.contentDocument&&(f=r.contentDocument.defaultView,f.addEventListener("resize",i,Je.passive),l())},d=oa(),f;return je(()=>{Ae(()=>{r=u.$el,r&&g()})}),ye(c),()=>{if(d.value===!0)return a("object",{class:"q--avoid-card-border",style:Ws.style,tabindex:-1,type:"text/html",data:Ws.url,"aria-hidden":"true",onLoad:g})}}}});var An=!1;{let e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});let t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,An=e.scrollLeft>=0,e.remove()}function qg(e,t,o){let r=o===!0?["left","right"]:["top","bottom"];return`absolute-${t===!0?r[0]:r[1]}${e?` text-${e}`:""}`}var Tg=["left","center","right","justify"],ni=A({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>Tg.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,{registerTick:i}=Eo(),{registerTick:l}=Eo(),{registerTick:u}=Eo(),{registerTimeout:d,removeTimeout:f}=Jt(),{registerTimeout:c,removeTimeout:g}=Jt(),v=T(null),m=T(null),h=T(e.modelValue),C=T(!1),y=T(!0),q=T(!1),S=T(!1),b=[],p=T(0),k=T(!1),$=null,F=null,D,L=s(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:qg(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),B=s(()=>{let ce=p.value,ve=h.value;for(let te=0;te<ce;te++)if(b[te].name.value===ve)return!0;return!1}),V=s(()=>`q-tabs__content--align-${C.value===!0?"left":S.value===!0?"justify":e.align}`),E=s(()=>`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":"")),_=s(()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+V.value+(e.contentClass!==void 0?` ${e.contentClass}`:"")),R=s(()=>e.vertical===!0?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}),N=s(()=>e.vertical!==!0&&n.lang.rtl===!0),X=s(()=>An===!1&&N.value===!0);j(N,w),j(()=>e.modelValue,ce=>{M({name:ce,setCurrent:!0,skipEmit:!0})}),j(()=>e.outsideArrows,Q);function M({name:ce,setCurrent:ve,skipEmit:te}){h.value!==ce&&(te!==!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",ce),(ve===!0||e["onUpdate:modelValue"]===void 0)&&(de(h.value,ce),h.value=ce))}function Q(){i(()=>{J({width:v.value.offsetWidth,height:v.value.offsetHeight})})}function J(ce){if(R.value===void 0||m.value===null)return;let ve=ce[R.value.container],te=Math.min(m.value[R.value.scroll],Array.prototype.reduce.call(m.value.children,(Fe,Ve)=>Fe+(Ve[R.value.content]||0),0)),pe=ve>0&&te>ve;C.value=pe,pe===!0&&l(w),S.value=ve<parseInt(e.breakpoint,10)}function de(ce,ve){let te=ce!=null&&ce!==""?b.find(Fe=>Fe.name.value===ce):null,pe=ve!=null&&ve!==""?b.find(Fe=>Fe.name.value===ve):null;if(te&&pe){let Fe=te.tabIndicatorRef.value,Ve=pe.tabIndicatorRef.value;$!==null&&(clearTimeout($),$=null),Fe.style.transition="none",Fe.style.transform="none",Ve.style.transition="none",Ve.style.transform="none";let Le=Fe.getBoundingClientRect(),at=Ve.getBoundingClientRect();Ve.style.transform=e.vertical===!0?`translate3d(0,${Le.top-at.top}px,0) scale3d(1,${at.height?Le.height/at.height:1},1)`:`translate3d(${Le.left-at.left}px,0,0) scale3d(${at.width?Le.width/at.width:1},1,1)`,u(()=>{$=setTimeout(()=>{$=null,Ve.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",Ve.style.transform="none"},70)})}pe&&C.value===!0&&O(pe.rootRef.value)}function O(ce){let{left:ve,width:te,top:pe,height:Fe}=m.value.getBoundingClientRect(),Ve=ce.getBoundingClientRect(),Le=e.vertical===!0?Ve.top-pe:Ve.left-ve;if(Le<0){m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.floor(Le),w();return}Le+=e.vertical===!0?Ve.height-Fe:Ve.width-te,Le>0&&(m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.ceil(Le),w())}function w(){let ce=m.value;if(ce===null)return;let ve=ce.getBoundingClientRect(),te=e.vertical===!0?ce.scrollTop:Math.abs(ce.scrollLeft);N.value===!0?(y.value=Math.ceil(te+ve.width)<ce.scrollWidth-1,q.value=te>0):(y.value=te>0,q.value=e.vertical===!0?Math.ceil(te+ve.height)<ce.scrollHeight:Math.ceil(te+ve.width)<ce.scrollWidth)}function W(ce){F!==null&&clearInterval(F),F=setInterval(()=>{x(ce)===!0&&Y()},5)}function H(){W(X.value===!0?Number.MAX_SAFE_INTEGER:0)}function ee(){W(X.value===!0?0:Number.MAX_SAFE_INTEGER)}function Y(){F!==null&&(clearInterval(F),F=null)}function ue(ce,ve){let te=Array.prototype.filter.call(m.value.children,at=>at===ve||at.matches&&at.matches(".q-tab.q-focusable")===!0),pe=te.length;if(pe===0)return;if(ce===36)return O(te[0]),te[0].focus(),!0;if(ce===35)return O(te[pe-1]),te[pe-1].focus(),!0;let Fe=ce===(e.vertical===!0?38:37),Ve=ce===(e.vertical===!0?40:39),Le=Fe===!0?-1:Ve===!0?1:void 0;if(Le!==void 0){let at=N.value===!0?-1:1,mt=te.indexOf(ve)+Le*at;return mt>=0&&mt<pe&&(O(te[mt]),te[mt].focus({preventScroll:!0})),!0}}let K=s(()=>X.value===!0?{get:ce=>Math.abs(ce.scrollLeft),set:(ce,ve)=>{ce.scrollLeft=-ve}}:e.vertical===!0?{get:ce=>ce.scrollTop,set:(ce,ve)=>{ce.scrollTop=ve}}:{get:ce=>ce.scrollLeft,set:(ce,ve)=>{ce.scrollLeft=ve}});function x(ce){let ve=m.value,{get:te,set:pe}=K.value,Fe=!1,Ve=te(ve),Le=ce<Ve?-1:1;return Ve+=Le*5,Ve<0?(Fe=!0,Ve=0):(Le===-1&&Ve<=ce||Le===1&&Ve>=ce)&&(Fe=!0,Ve=ce),pe(ve,Ve),w(),Fe}function G(ce,ve){for(let te in ce)if(ce[te]!==ve[te])return!1;return!0}function ae(){let ce=null,ve={matchedLen:0,queryDiff:9999,hrefLen:0},te=b.filter(Le=>Le.routeData!==void 0&&Le.routeData.hasRouterLink.value===!0),{hash:pe,query:Fe}=r.$route,Ve=Object.keys(Fe).length;for(let Le of te){let at=Le.routeData.exact.value===!0;if(Le.routeData[at===!0?"linkIsExactActive":"linkIsActive"].value!==!0)continue;let{hash:mt,query:vt,matched:ne,href:se}=Le.routeData.resolvedLink.value,Z=Object.keys(vt).length;if(at===!0){if(mt!==pe||Z!==Ve||G(Fe,vt)===!1)continue;ce=Le.name.value;break}if(mt!==""&&mt!==pe||Z!==0&&G(vt,Fe)===!1)continue;let le={matchedLen:ne.length,queryDiff:Ve-Z,hrefLen:se.length-mt.length};if(le.matchedLen>ve.matchedLen){ce=Le.name.value,ve=le;continue}else if(le.matchedLen!==ve.matchedLen)continue;if(le.queryDiff<ve.queryDiff)ce=Le.name.value,ve=le;else if(le.queryDiff!==ve.queryDiff)continue;le.hrefLen>ve.hrefLen&&(ce=Le.name.value,ve=le)}ce===null&&b.some(Le=>Le.routeData===void 0&&Le.name.value===h.value)===!0||M({name:ce,setCurrent:!0})}function fe(ce){if(f(),k.value!==!0&&v.value!==null&&ce.target&&typeof ce.target.closest=="function"){let ve=ce.target.closest(".q-tab");ve&&v.value.contains(ve)===!0&&(k.value=!0,C.value===!0&&O(ve))}}function Se(){d(()=>{k.value=!1},30)}function me(){Ie.avoidRouteWatcher===!1?c(ae):g()}function ze(){if(D===void 0){let ce=j(()=>r.$route.fullPath,me);D=()=>{ce(),D=void 0}}}function Be(ce){b.push(ce),p.value++,Q(),ce.routeData===void 0||r.$route===void 0?c(()=>{if(C.value===!0){let ve=h.value,te=ve!=null&&ve!==""?b.find(pe=>pe.name.value===ve):null;te&&O(te.rootRef.value)}}):(ze(),ce.routeData.hasRouterLink.value===!0&&me())}function xe(ce){b.splice(b.indexOf(ce),1),p.value--,Q(),D!==void 0&&ce.routeData!==void 0&&(b.every(ve=>ve.routeData===void 0)===!0&&D(),me())}let Ie={currentModel:h,tabProps:L,hasFocus:k,hasActiveTab:B,registerTab:Be,unregisterTab:xe,verifyRouteModel:me,updateModel:M,onKbdNavigate:ue,avoidRouteWatcher:!1};Qt(Mi,Ie);function it(){$!==null&&clearTimeout($),Y(),D!==void 0&&D()}let Ke;return ye(it),Bt(()=>{Ke=D!==void 0,it()}),Ht(()=>{Ke===!0&&ze(),Q()}),()=>a("div",{ref:v,class:E.value,role:"tablist",onFocusin:fe,onFocusout:Se},[a(to,{onResize:J}),a("div",{ref:m,class:_.value,onScroll:w},ie(t.default)),a(Re,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(y.value===!0?"":" q-tabs__arrow--faded"),name:e.leftIcon||n.iconSet.tabs[e.vertical===!0?"up":"left"],onMousedownPassive:H,onTouchstartPassive:H,onMouseupPassive:Y,onMouseleavePassive:Y,onTouchendPassive:Y}),a(Re,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(q.value===!0?"":" q-tabs__arrow--faded"),name:e.rightIcon||n.iconSet.tabs[e.vertical===!0?"down":"right"],onMousedownPassive:ee,onTouchstartPassive:ee,onMouseupPassive:Y,onMouseleavePassive:Y,onTouchendPassive:Y})])}});var Mg=0,na=["click","keydown"],ra={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${Mg++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function ia(e,t,o,r){let n=ht(Mi,Ze);if(n===Ze)return console.error("QTab/QRouteTab component needs to be child of QTabs"),Ze;let{proxy:i}=U(),l=T(null),u=T(null),d=T(null),f=s(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),c=s(()=>n.currentModel.value===e.name),g=s(()=>"q-tab relative-position self-stretch flex flex-center text-center"+(c.value===!0?" q-tab--active"+(n.tabProps.value.activeClass?" "+n.tabProps.value.activeClass:"")+(n.tabProps.value.activeColor?` text-${n.tabProps.value.activeColor}`:"")+(n.tabProps.value.activeBgColor?` bg-${n.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&n.tabProps.value.inlineLabel===!1?" q-tab--full":"")+(e.noCaps===!0||n.tabProps.value.noCaps===!0?" q-tab--no-caps":"")+(e.disable===!0?" disabled":" q-focusable q-hoverable cursor-pointer")+(r!==void 0?r.linkClass.value:"")),v=s(()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(n.tabProps.value.inlineLabel===!0?"row no-wrap q-tab__content--inline":"column")+(e.contentClass!==void 0?` ${e.contentClass}`:"")),m=s(()=>e.disable===!0||n.hasFocus.value===!0||c.value===!1&&n.hasActiveTab.value===!0?-1:e.tabindex||0);function h(b,p){if(p!==!0&&l.value!==null&&l.value.focus(),e.disable===!0){r!==void 0&&r.hasRouterLink.value===!0&&qe(b);return}if(r===void 0){n.updateModel({name:e.name}),o("click",b);return}if(r.hasRouterLink.value===!0){let k=($={})=>{let F,D=$.to===void 0||Kt($.to,e.to)===!0?n.avoidRouteWatcher=Xo():null;return r.navigateToRouterLink(b,{...$,returnRouterError:!0}).catch(L=>{F=L}).then(L=>{if(D===n.avoidRouteWatcher&&(n.avoidRouteWatcher=!1,F===void 0&&(L===void 0||L.message!==void 0&&L.message.startsWith("Avoided redundant navigation")===!0)&&n.updateModel({name:e.name})),$.returnRouterError===!0)return F!==void 0?Promise.reject(F):L})};o("click",b,k),b.defaultPrevented!==!0&&k();return}o("click",b)}function C(b){Tt(b,[13,32])?h(b,!0):no(b)!==!0&&b.keyCode>=35&&b.keyCode<=40&&b.altKey!==!0&&b.metaKey!==!0&&n.onKbdNavigate(b.keyCode,i.$el)===!0&&qe(b),o("keydown",b)}function y(){let b=n.tabProps.value.narrowIndicator,p=[],k=a("div",{ref:d,class:["q-tab__indicator",n.tabProps.value.indicatorClass]});e.icon!==void 0&&p.push(a(Re,{class:"q-tab__icon",name:e.icon})),e.label!==void 0&&p.push(a("div",{class:"q-tab__label"},e.label)),e.alert!==!1&&p.push(e.alertIcon!==void 0?a(Re,{class:"q-tab__alert-icon",color:e.alert!==!0?e.alert:void 0,name:e.alertIcon}):a("div",{class:"q-tab__alert"+(e.alert!==!0?` text-${e.alert}`:"")})),b===!0&&p.push(k);let $=[a("div",{class:"q-focus-helper",tabindex:-1,ref:l}),a("div",{class:v.value},Xe(t.default,p))];return b===!1&&$.push(k),$}let q={name:s(()=>e.name),rootRef:u,tabIndicatorRef:d,routeData:r};ye(()=>{n.unregisterTab(q)}),je(()=>{n.registerTab(q)});function S(b,p){let k={ref:u,class:g.value,tabindex:m.value,role:"tab","aria-selected":c.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:h,onKeydown:C,...p};return $t(a(b,k,y()),[[Po,f.value]])}return{renderTab:S,$tabs:n}}var cn=A({name:"QTab",props:ra,emits:na,setup(e,{slots:t,emit:o}){let{renderTab:r}=ia(e,t,o);return()=>r("div")}});var aa=A({name:"QTabPanels",props:{...Sr,...Ce},emits:xr,setup(e,{slots:t}){let o=U(),r=we(e,o.proxy.$q),{updatePanelsList:n,getPanelContent:i,panelDirectives:l}=_r(),u=s(()=>"q-tab-panels q-panel-parent"+(r.value===!0?" q-tab-panels--dark q-dark":""));return()=>(n(t),Mt("div",{class:u.value},i(),"pan",e.swipeable,()=>l.value))}});var Mr=A({name:"QTabPanel",props:yr,setup(e,{slots:t}){return()=>a("div",{class:"q-tab-panel",role:"tabpanel"},ie(t.default))}});var Xs=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Gs=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Zs=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,la=/^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])\)$/,ua=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,$n={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>Xs.test(e),hexaColor:e=>Gs.test(e),hexOrHexaColor:e=>Zs.test(e),rgbColor:e=>la.test(e),rgbaColor:e=>ua.test(e),rgbOrRgbaColor:e=>la.test(e)||ua.test(e),hexOrRgbColor:e=>Xs.test(e)||la.test(e),hexaOrRgbaColor:e=>Gs.test(e)||ua.test(e),anyColor:e=>Zs.test(e)||la.test(e)||ua.test(e)},Js={testPattern:$n};var Rg=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function En({r:e,g:t,b:o,a:r}){let n=r!==void 0;if(e=Math.round(e),t=Math.round(t),o=Math.round(o),e>255||t>255||o>255||n&&r>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return r=n?(Math.round(255*r/100)|256).toString(16).slice(1):"","#"+(o|t<<8|e<<16|1<<24).toString(16).slice(1)+r}function Hl({r:e,g:t,b:o,a:r}){return`rgb${r!==void 0?"a":""}(${e},${t},${o}${r!==void 0?","+r/100:""})`}function sa(e){if(typeof e!="string")throw new TypeError("Expected a string");e=e.replace(/^#/,""),e.length===3?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:e.length===4&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);let t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((t&255)/2.55)}:{r:t>>16,g:t>>8&255,b:t&255}}function ca({h:e,s:t,v:o,a:r}){let n,i,l;t=t/100,o=o/100,e=e/360;let u=Math.floor(e*6),d=e*6-u,f=o*(1-t),c=o*(1-d*t),g=o*(1-(1-d)*t);switch(u%6){case 0:n=o,i=g,l=f;break;case 1:n=c,i=o,l=f;break;case 2:n=f,i=o,l=g;break;case 3:n=f,i=c,l=o;break;case 4:n=g,i=f,l=o;break;case 5:n=o,i=f,l=c;break}return{r:Math.round(n*255),g:Math.round(i*255),b:Math.round(l*255),a:r}}function ri({r:e,g:t,b:o,a:r}){let n=Math.max(e,t,o),i=Math.min(e,t,o),l=n-i,u=n===0?0:l/n,d=n/255,f;switch(n){case i:f=0;break;case e:f=t-o+l*(t<o?6:0),f/=6*l;break;case t:f=o-e+l*2,f/=6*l;break;case o:f=e-t+l*4,f/=6*l;break}return{h:Math.round(f*360),s:Math.round(u*100),v:Math.round(d*100),a:r}}function zo(e){if(typeof e!="string")throw new TypeError("Expected a string");let t=e.replace(/ /g,""),o=Rg.exec(t);if(o===null)return sa(t);let r={r:Math.min(255,parseInt(o[2],10)),g:Math.min(255,parseInt(o[3],10)),b:Math.min(255,parseInt(o[4],10))};if(o[1]){let n=parseFloat(o[5]);r.a=Math.min(1,isNaN(n)===!0?1:n)*100}return r}function Pg(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(typeof t!="number")throw new TypeError("Expected a numeric percent");let o=zo(e),r=t<0?0:255,n=Math.abs(t)/100,i=o.r,l=o.g,u=o.b;return"#"+(16777216+(Math.round((r-i)*n)+i)*65536+(Math.round((r-l)*n)+l)*256+(Math.round((r-u)*n)+u)).toString(16).slice(1)}function Ql(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?zo(e):e,o=t.r/255,r=t.g/255,n=t.b/255,i=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),l=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),u=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*i+.7152*l+.0722*u}function Ag(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?zo(e):e;return(t.r*299+t.g*587+t.b*114)/1e3}function $g(e,t){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as fgColor");if(typeof t!="string"&&(!t||t.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as bgColor");let o=typeof e=="string"?zo(e):e,r=o.r/255,n=o.g/255,i=o.b/255,l=o.a!==void 0?o.a/100:1,u=typeof t=="string"?zo(t):t,d=u.r/255,f=u.g/255,c=u.b/255,g=u.a!==void 0?u.a/100:1,v=l+g*(1-l),m=Math.round((r*l+d*g*(1-l))/v*255),h=Math.round((n*l+f*g*(1-l))/v*255),C=Math.round((i*l+c*g*(1-l))/v*255),y={r:m,g:h,b:C,a:Math.round(v*100)};return typeof e=="string"?En(y):y}function Eg(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(t===void 0||t<-1||t>1)throw new TypeError("Expected offset to be between -1 and 1");let{r:o,g:r,b:n,a:i}=zo(e),l=i!==void 0?i/100:0;return En({r:o,g:r,b:n,a:Math.round(Math.min(1,Math.max(0,l+t))*100)})}function Bg(e){if(typeof e!="string")throw new TypeError("Expected a string as color");let t=document.createElement("div");t.className=`text-${e} invisible fixed no-pointer-events`,document.body.appendChild(t);let o=getComputedStyle(t).getPropertyValue("color");return t.remove(),En(zo(o))}var ec={rgbToHex:En,hexToRgb:sa,hsvToRgb:ca,rgbToHsv:ri,textToRgb:zo,lighten:Pg,luminosity:Ql,brightness:Ag,blend:$g,changeAlpha:Eg,getPaletteColor:Bg};var Fg=["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)"],tc="M5 5 h10 v10 h-10 v-10 z",Lg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==",oc=A({name:"QColor",props:{...Ce,...wt,modelValue:String,defaultValue:String,defaultView:{type:String,default:"spectrum",validator:e=>["spectrum","tune","palette"].includes(e)},formatModel:{type:String,default:"auto",validator:e=>["auto","hex","rgb","hexa","rgba"].includes(e)},palette:Array,noHeader:Boolean,noHeaderTabs:Boolean,noFooter:Boolean,square:Boolean,flat:Boolean,bordered:Boolean,disable:Boolean,readonly:Boolean},emits:["update:modelValue","change"],setup(e,{emit:t}){let{proxy:o}=U(),{$q:r}=o,n=we(e,r),{getCache:i}=Vo(),l=T(null),u=T(null),d=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("hex")!==-1),f=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1),c=T(e.formatModel==="auto"?e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")?"hex":"rgb":e.formatModel.startsWith("hex")?"hex":"rgb"),g=T(e.defaultView),v=T(E(e.modelValue||e.defaultValue)),m=s(()=>e.disable!==!0&&e.readonly!==!0),h=s(()=>e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")),C=s(()=>d.value!==null?d.value:h.value),y=s(()=>({type:"hidden",name:e.name,value:v.value[C.value===!0?"hex":"rgb"]})),q=Wt(y),S=s(()=>f.value!==null?f.value:v.value.a!==void 0),b=s(()=>({backgroundColor:v.value.rgb||"#000"})),p=s(()=>`q-color-picker__header-content q-color-picker__header-content--${(v.value.a!==void 0&&v.value.a<65?!0:Ql(v.value)>.4)?"light":"dark"}`),k=s(()=>({background:`hsl(${v.value.h},100%,50%)`})),$=s(()=>({top:`${100-v.value.v}%`,[r.lang.rtl===!0?"right":"left"]:`${v.value.s}%`})),F=s(()=>e.palette!==void 0&&e.palette.length!==0?e.palette:Fg),D=s(()=>"q-color-picker"+(e.bordered===!0?" q-color-picker--bordered":"")+(e.square===!0?" q-color-picker--square no-border-radius":"")+(e.flat===!0?" q-color-picker--flat no-shadow":"")+(e.disable===!0?" disabled":"")+(n.value===!0?" q-color-picker--dark q-dark":"")),L=s(()=>e.disable===!0?{"aria-disabled":"true"}:{}),B=s(()=>[[Rt,Q,void 0,{prevent:!0,stop:!0,mouse:!0}]]);j(()=>e.modelValue,x=>{let G=E(x||e.defaultValue);G.hex!==v.value.hex&&(v.value=G)}),j(()=>e.defaultValue,x=>{if(!e.modelValue&&x){let G=E(x);G.hex!==v.value.hex&&(v.value=G)}});function V(x,G){v.value.hex=En(x),v.value.rgb=Hl(x),v.value.r=x.r,v.value.g=x.g,v.value.b=x.b,v.value.a=x.a;let ae=v.value[C.value===!0?"hex":"rgb"];t("update:modelValue",ae),G===!0&&t("change",ae)}function E(x){let G=f.value!==void 0?f.value:e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1;if(typeof x!="string"||x.length===0||$n.anyColor(x.replace(/ /g,""))!==!0)return{h:0,s:0,v:0,r:0,g:0,b:0,a:G===!0?100:void 0,hex:void 0,rgb:void 0};let ae=zo(x);return G===!0&&ae.a===void 0&&(ae.a=100),ae.hex=En(ae),ae.rgb=Hl(ae),Object.assign(ae,ri(ae))}function _(x,G,ae){let fe=l.value;if(fe===null)return;let Se=fe.clientWidth,me=fe.clientHeight,ze=fe.getBoundingClientRect(),Be=Math.min(Se,Math.max(0,x-ze.left));r.lang.rtl===!0&&(Be=Se-Be);let xe=Math.min(me,Math.max(0,G-ze.top)),Ie=Math.round(100*Be/Se),it=Math.round(100*Math.max(0,Math.min(1,-(xe/me)+1))),Ke=ca({h:v.value.h,s:Ie,v:it,a:S.value===!0?v.value.a:void 0});v.value.s=Ie,v.value.v=it,V(Ke,ae)}function R(x,G){let ae=Math.round(x),fe=ca({h:ae,s:v.value.s,v:v.value.v,a:S.value===!0?v.value.a:void 0});v.value.h=ae,V(fe,G)}function N(x,G,ae,fe,Se){if(fe!==void 0&&rt(fe),!/^[0-9]+$/.test(x)){Se===!0&&o.$forceUpdate();return}let me=Math.floor(Number(x));if(me<0||me>ae){Se===!0&&o.$forceUpdate();return}let ze={r:G==="r"?me:v.value.r,g:G==="g"?me:v.value.g,b:G==="b"?me:v.value.b,a:S.value===!0?G==="a"?me:v.value.a:void 0};if(G!=="a"){let Be=ri(ze);v.value.h=Be.h,v.value.s=Be.s,v.value.v=Be.v}if(V(ze,Se),fe!==void 0&&Se!==!0&&fe.target.selectionEnd!==void 0){let Be=fe.target.selectionEnd;Ae(()=>{fe.target.setSelectionRange(Be,Be)})}}function X(x,G){let ae,fe=x.target.value;if(rt(x),c.value==="hex"){if(fe.length!==(S.value===!0?9:7)||!/^#[0-9A-Fa-f]+$/.test(fe))return!0;ae=sa(fe)}else{let me;if(fe.endsWith(")"))if(S.value!==!0&&fe.startsWith("rgb(")){if(me=fe.substring(4,fe.length-1).split(",").map(ze=>parseInt(ze,10)),me.length!==3||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(fe))return!0}else if(S.value===!0&&fe.startsWith("rgba(")){if(me=fe.substring(5,fe.length-1).split(","),me.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(fe))return!0;for(let Be=0;Be<3;Be++){let xe=parseInt(me[Be],10);if(xe<0||xe>255)return!0;me[Be]=xe}let ze=parseFloat(me[3]);if(ze<0||ze>1)return!0;me[3]=ze}else return!0;else return!0;if(me[0]<0||me[0]>255||me[1]<0||me[1]>255||me[2]<0||me[2]>255||S.value===!0&&(me[3]<0||me[3]>1))return!0;ae={r:me[0],g:me[1],b:me[2],a:S.value===!0?me[3]*100:void 0}}let Se=ri(ae);if(v.value.h=Se.h,v.value.s=Se.s,v.value.v=Se.v,V(ae,G),G!==!0){let me=x.target.selectionEnd;Ae(()=>{x.target.setSelectionRange(me,me)})}}function M(x){let G=E(x),ae={r:G.r,g:G.g,b:G.b,a:G.a};ae.a===void 0&&(ae.a=v.value.a),v.value.h=G.h,v.value.s=G.s,v.value.v=G.v,V(ae,!0)}function Q(x){x.isFinal?_(x.position.left,x.position.top,!0):J(x)}let J=Gn(x=>{_(x.position.left,x.position.top)},20);function de(x){_(x.pageX-window.pageXOffset,x.pageY-window.pageYOffset,!0)}function O(x){_(x.pageX-window.pageXOffset,x.pageY-window.pageYOffset)}function w(x){u.value!==null&&(u.value.$el.style.opacity=x?1:0)}function W(){let x=[];return e.noHeaderTabs!==!0&&x.push(a(ni,{class:"q-color-picker__header-tabs",modelValue:c.value,dense:!0,align:"justify",...i("topVTab",{"onUpdate:modelValue":G=>{c.value=G}})},()=>[a(cn,{label:"HEX"+(S.value===!0?"A":""),name:"hex",ripple:!1}),a(cn,{label:"RGB"+(S.value===!0?"A":""),name:"rgb",ripple:!1})])),x.push(a("div",{class:"q-color-picker__header-banner row flex-center no-wrap"},[a("input",{class:"fit",value:v.value[c.value],...m.value!==!0?{readonly:!0}:{},...i("topIn",{onInput:G=>{w(X(G)===!0)},onChange:rt,onBlur:G=>{X(G,!0)===!0&&o.$forceUpdate(),w(!1)}})}),a(Re,{ref:u,class:"q-color-picker__error-icon absolute no-pointer-events",name:r.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:p.value,style:b.value},x)])}function H(){return a(aa,{modelValue:g.value,animated:!0},()=>[a(Mr,{class:"q-color-picker__spectrum-tab overflow-hidden",name:"spectrum"},Y),a(Mr,{class:"q-pa-md q-color-picker__tune-tab",name:"tune"},ue),a(Mr,{class:"q-color-picker__palette-tab",name:"palette"},K)])}function ee(){return a("div",{class:"q-color-picker__footer relative-position overflow-hidden"},[a(ni,{class:"absolute-full",modelValue:g.value,dense:!0,align:"justify",...i("ftIn",{"onUpdate:modelValue":x=>{g.value=x}})},()=>[a(cn,{icon:r.iconSet.colorPicker.spectrum,name:"spectrum",ripple:!1}),a(cn,{icon:r.iconSet.colorPicker.tune,name:"tune",ripple:!1}),a(cn,{icon:r.iconSet.colorPicker.palette,name:"palette",ripple:!1})])])}function Y(){let x={ref:l,class:"q-color-picker__spectrum non-selectable relative-position cursor-pointer"+(m.value!==!0?" readonly":""),style:k.value,...m.value===!0?{onClick:de,onMousedown:O}:{}},G=[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:$.value},[v.value.hex!==void 0?a("div",{class:"q-color-picker__spectrum-circle"}):null])],ae=[a(Go,{class:"q-color-picker__hue non-selectable",modelValue:v.value.h,min:0,max:360,trackSize:"8px",innerTrackColor:"transparent",selectionColor:"transparent",readonly:m.value!==!0,thumbPath:tc,"onUpdate:modelValue":R,...i("lazyhue",{onChange:fe=>R(fe,!0)})})];return S.value===!0&&ae.push(a(Go,{class:"q-color-picker__alpha non-selectable",modelValue:v.value.a,min:0,max:100,trackSize:"8px",trackColor:"white",innerTrackColor:"transparent",selectionColor:"transparent",trackImg:Lg,readonly:m.value!==!0,hideSelection:!0,thumbPath:tc,...i("alphaSlide",{"onUpdate:modelValue":fe=>N(fe,"a",100),onChange:fe=>N(fe,"a",100,void 0,!0)})})),[Mt("div",x,G,"spec",m.value,()=>B.value),a("div",{class:"q-color-picker__sliders"},ae)]}function ue(){return[a("div",{class:"row items-center no-wrap"},[a("div","R"),a(Go,{modelValue:v.value.r,min:0,max:255,color:"red",dark:n.value,readonly:m.value!==!0,...i("rSlide",{"onUpdate:modelValue":x=>N(x,"r",255),onChange:x=>N(x,"r",255,void 0,!0)})}),a("input",{value:v.value.r,maxlength:3,readonly:m.value!==!0,onChange:rt,...i("rIn",{onInput:x=>N(x.target.value,"r",255,x),onBlur:x=>N(x.target.value,"r",255,x,!0)})})]),a("div",{class:"row items-center no-wrap"},[a("div","G"),a(Go,{modelValue:v.value.g,min:0,max:255,color:"green",dark:n.value,readonly:m.value!==!0,...i("gSlide",{"onUpdate:modelValue":x=>N(x,"g",255),onChange:x=>N(x,"g",255,void 0,!0)})}),a("input",{value:v.value.g,maxlength:3,readonly:m.value!==!0,onChange:rt,...i("gIn",{onInput:x=>N(x.target.value,"g",255,x),onBlur:x=>N(x.target.value,"g",255,x,!0)})})]),a("div",{class:"row items-center no-wrap"},[a("div","B"),a(Go,{modelValue:v.value.b,min:0,max:255,color:"blue",readonly:m.value!==!0,dark:n.value,...i("bSlide",{"onUpdate:modelValue":x=>N(x,"b",255),onChange:x=>N(x,"b",255,void 0,!0)})}),a("input",{value:v.value.b,maxlength:3,readonly:m.value!==!0,onChange:rt,...i("bIn",{onInput:x=>N(x.target.value,"b",255,x),onBlur:x=>N(x.target.value,"b",255,x,!0)})})]),S.value===!0?a("div",{class:"row items-center no-wrap"},[a("div","A"),a(Go,{modelValue:v.value.a,color:"grey",readonly:m.value!==!0,dark:n.value,...i("aSlide",{"onUpdate:modelValue":x=>N(x,"a",100),onChange:x=>N(x,"a",100,void 0,!0)})}),a("input",{value:v.value.a,maxlength:3,readonly:m.value!==!0,onChange:rt,...i("aIn",{onInput:x=>N(x.target.value,"a",100,x),onBlur:x=>N(x.target.value,"a",100,x,!0)})})]):null]}function K(){let x=G=>a("div",{class:"q-color-picker__cube col-auto",style:{backgroundColor:G},...m.value===!0?i("palette#"+G,{onClick:()=>{M(G)}}):{}});return[a("div",{class:"row items-center q-color-picker__palette-rows"+(m.value===!0?" q-color-picker__palette-rows--editable":"")},F.value.map(x))]}return()=>{let x=[H()];return e.name!==void 0&&e.disable!==!0&&q(x,"push"),e.noHeader!==!0&&x.unshift(W()),e.noFooter!==!0&&x.push(ee()),a("div",{class:D.value,...L.value},x)}}});var dn=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function nc(e,t,o){return Object.prototype.toString.call(e)==="[object Date]"&&(o=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),Og(Ul(e,t,o))}function jl(e,t,o){return ic(zg(e,t,o))}function Vg(e){return Dg(e)===0}function Rr(e,t){return t<=6?31:t<=11||Vg(e)?30:29}function Dg(e){let t=dn.length,o=dn[0],r,n,i,l,u;if(e<o||e>=dn[t-1])throw new Error("Invalid Jalaali year "+e);for(u=1;u<t&&(r=dn[u],n=r-o,!(e<r));u+=1)o=r;return l=e-o,n-l<6&&(l=l-n+_t(n+4,33)*33),i=ro(ro(l+1,33)-1,4),i===-1&&(i=4),i}function rc(e,t){let o=dn.length,r=e+621,n=-14,i=dn[0],l,u,d,f,c;if(e<i||e>=dn[o-1])throw new Error("Invalid Jalaali year "+e);for(c=1;c<o&&(l=dn[c],u=l-i,!(e<l));c+=1)n=n+_t(u,33)*8+_t(ro(u,33),4),i=l;f=e-i,n=n+_t(f,33)*8+_t(ro(f,33)+3,4),ro(u,33)===4&&u-f===4&&(n+=1);let g=_t(r,4)-_t((_t(r,100)+1)*3,4)-150,v=20+n-g;return t||(u-f<6&&(f=f-u+_t(u+4,33)*33),d=ro(ro(f+1,33)-1,4),d===-1&&(d=4)),{leap:d,gy:r,march:v}}function zg(e,t,o){let r=rc(e,!0);return Ul(r.gy,3,r.march)+(t-1)*31-_t(t,7)*(t-7)+o-1}function Og(e){let t=ic(e).gy,o=t-621,r,n,i,l=rc(o,!1),u=Ul(t,3,l.march);if(i=e-u,i>=0){if(i<=185)return n=1+_t(i,31),r=ro(i,31)+1,{jy:o,jm:n,jd:r};i-=186}else o-=1,i+=179,l.leap===1&&(i+=1);return n=7+_t(i,30),r=ro(i,30)+1,{jy:o,jm:n,jd:r}}function Ul(e,t,o){let r=_t((e+_t(t-8,6)+100100)*1461,4)+_t(153*ro(t+9,12)+2,5)+o-34840408;return r=r-_t(_t(e+100100+_t(t-8,6),100)*3,4)+752,r}function ic(e){let t=4*e+139361631;t=t+_t(_t(4*e+183187720,146097)*3,4)*4-3908;let o=_t(ro(t,1461),4)*5+308,r=_t(ro(o,153),5)+1,n=ro(_t(o,153),12)+1;return{gy:_t(t,1461)-100100+_t(8-n,6),gm:n,gd:r}}function _t(e,t){return~~(e/t)}function ro(e,t){return e-~~(e/t)*t}var Ig=["gregorian","persian"],da={modelValue:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:e=>Ig.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},fa=["update:modelValue"];function yo(e){return e.year+"/"+ot(e.month)+"/"+ot(e.day)}function ma(e,t){let o=s(()=>e.disable!==!0&&e.readonly!==!0),r=s(()=>o.value===!0?0:-1),n=s(()=>{let u=[];return e.color!==void 0&&u.push(`bg-${e.color}`),e.textColor!==void 0&&u.push(`text-${e.textColor}`),u.join(" ")});function i(){return e.locale!==void 0?{...t.lang.date,...e.locale}:t.lang.date}function l(u){let d=new Date,f=u===!0?null:0;if(e.calendar==="persian"){let c=nc(d);return{year:c.jy,month:c.jm,day:c.jd}}return{year:d.getFullYear(),month:d.getMonth()+1,day:d.getDate(),hour:f,minute:f,second:f,millisecond:f}}return{editable:o,tabindex:r,headerClass:n,getLocale:i,getCurrentDate:l}}var sc=864e5,Ng=36e5,Yl=6e4,cc="YYYY-MM-DDTHH:mm:ss.SSSZ",Hg=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,Qg=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,Kl={};function jg(e,t){let o="("+t.days.join("|")+")",r=e+o;if(Kl[r]!==void 0)return Kl[r];let n="("+t.daysShort.join("|")+")",i="("+t.months.join("|")+")",l="("+t.monthsShort.join("|")+")",u={},d=0,f=e.replace(Qg,g=>{switch(d++,g){case"YY":return u.YY=d,"(-?\\d{1,2})";case"YYYY":return u.YYYY=d,"(-?\\d{1,4})";case"M":return u.M=d,"(\\d{1,2})";case"MM":return u.M=d,"(\\d{2})";case"MMM":return u.MMM=d,l;case"MMMM":return u.MMMM=d,i;case"D":return u.D=d,"(\\d{1,2})";case"Do":return u.D=d++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return u.D=d,"(\\d{2})";case"H":return u.H=d,"(\\d{1,2})";case"HH":return u.H=d,"(\\d{2})";case"h":return u.h=d,"(\\d{1,2})";case"hh":return u.h=d,"(\\d{2})";case"m":return u.m=d,"(\\d{1,2})";case"mm":return u.m=d,"(\\d{2})";case"s":return u.s=d,"(\\d{1,2})";case"ss":return u.s=d,"(\\d{2})";case"S":return u.S=d,"(\\d{1})";case"SS":return u.S=d,"(\\d{2})";case"SSS":return u.S=d,"(\\d{3})";case"A":return u.A=d,"(AM|PM)";case"a":return u.a=d,"(am|pm)";case"aa":return u.aa=d,"(a\\.m\\.|p\\.m\\.)";case"ddd":return n;case"dddd":return o;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return u.Z=d,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return u.ZZ=d,"(Z|[+-]\\d{2}\\d{2})";case"X":return u.X=d,"(-?\\d+)";case"x":return u.x=d,"(-?\\d{4,})";default:return d--,g[0]==="["&&(g=g.substring(1,g.length-1)),g.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),c={map:u,regex:new RegExp("^"+f)};return Kl[r]=c,c}function dc(e,t){return e!==void 0?e:t!==void 0?t.date:Qr.default.date}function ac(e,t=""){let o=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),i=r%60;return o+ot(n)+t+ot(i)}function Ug(e,t,o){let r=e.getFullYear(),n=e.getMonth(),i=e.getDate();return t.year!==void 0&&(r+=o*t.year,delete t.year),t.month!==void 0&&(n+=o*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(r),e.setMonth(n),e.setDate(Math.min(i,Jl(e))),t.date!==void 0&&(e.setDate(e.getDate()+o*t.date),delete t.date),e}function Kg(e,t,o){let r=t.year!==void 0?t.year:e[`get${o}FullYear`](),n=t.month!==void 0?t.month-1:e[`get${o}Month`](),i=new Date(r,n+1,0).getDate(),l=Math.min(i,t.date!==void 0?t.date:e[`get${o}Date`]());return e[`set${o}Date`](1),e[`set${o}Month`](2),e[`set${o}FullYear`](r),e[`set${o}Month`](n),e[`set${o}Date`](l),delete t.year,delete t.month,delete t.date,e}function Zl(e,t,o){let r=fc(t),n=new Date(e),i=r.year!==void 0||r.month!==void 0||r.date!==void 0?Ug(n,r,o):n;for(let l in r){let u=kl(l);i[`set${u}`](i[`get${u}`]()+o*r[l])}return i}function fc(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 mc(e,t,o){let r=fc(t),n=o===!0?"UTC":"",i=new Date(e),l=r.year!==void 0||r.month!==void 0||r.date!==void 0?Kg(i,r,n):i;for(let u in r){let d=u.charAt(0).toUpperCase()+u.slice(1);l[`set${n}${d}`](r[u])}return l}function Wg(e,t,o){let r=fn(e,t,o),n=new Date(r.year,r.month===null?null:r.month-1,r.day===null?1:r.day,r.hour,r.minute,r.second,r.millisecond),i=n.getTimezoneOffset();return r.timezoneOffset===null||r.timezoneOffset===i?n:Zl(n,{minutes:r.timezoneOffset-i},1)}function fn(e,t,o,r,n){let i={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(n!==void 0&&Object.assign(i,n),e==null||e===""||typeof e!="string")return i;t===void 0&&(t=cc);let l=dc(o,xn.props),u=l.months,d=l.monthsShort,{regex:f,map:c}=jg(t,l),g=e.match(f);if(g===null)return i;let v="";if(c.X!==void 0||c.x!==void 0){let m=parseInt(g[c.X!==void 0?c.X:c.x],10);if(isNaN(m)===!0||m<0)return i;let h=new Date(m*(c.X!==void 0?1e3:1));i.year=h.getFullYear(),i.month=h.getMonth()+1,i.day=h.getDate(),i.hour=h.getHours(),i.minute=h.getMinutes(),i.second=h.getSeconds(),i.millisecond=h.getMilliseconds()}else{if(c.YYYY!==void 0)i.year=parseInt(g[c.YYYY],10);else if(c.YY!==void 0){let m=parseInt(g[c.YY],10);i.year=m<0?m:2e3+m}if(c.M!==void 0){if(i.month=parseInt(g[c.M],10),i.month<1||i.month>12)return i}else c.MMM!==void 0?i.month=d.indexOf(g[c.MMM])+1:c.MMMM!==void 0&&(i.month=u.indexOf(g[c.MMMM])+1);if(c.D!==void 0){if(i.day=parseInt(g[c.D],10),i.year===null||i.month===null||i.day<1)return i;let m=r!=="persian"?new Date(i.year,i.month,0).getDate():Rr(i.year,i.month);if(i.day>m)return i}c.H!==void 0?i.hour=parseInt(g[c.H],10)%24:c.h!==void 0&&(i.hour=parseInt(g[c.h],10)%12,(c.A&&g[c.A]==="PM"||c.a&&g[c.a]==="pm"||c.aa&&g[c.aa]==="p.m.")&&(i.hour+=12),i.hour=i.hour%24),c.m!==void 0&&(i.minute=parseInt(g[c.m],10)%60),c.s!==void 0&&(i.second=parseInt(g[c.s],10)%60),c.S!==void 0&&(i.millisecond=parseInt(g[c.S],10)*10**(3-g[c.S].length)),(c.Z!==void 0||c.ZZ!==void 0)&&(v=c.Z!==void 0?g[c.Z].replace(":",""):g[c.ZZ],i.timezoneOffset=(v[0]==="+"?-1:1)*(60*v.slice(1,3)+1*v.slice(3,5)))}return i.dateHash=ot(i.year,6)+"/"+ot(i.month)+"/"+ot(i.day),i.timeHash=ot(i.hour)+":"+ot(i.minute)+":"+ot(i.second)+v,i}function Yg(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function Xg(e,t){return mc(new Date,e,t)}function Gg(e){let t=new Date(e).getDay();return t===0?7:t}function Xl(e){let t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);let o=new Date(t.getFullYear(),0,4);o.setDate(o.getDate()-(o.getDay()+6)%7+3);let r=t.getTimezoneOffset()-o.getTimezoneOffset();t.setHours(t.getHours()-r);let n=(t-o)/(sc*7);return 1+Math.floor(n)}function Zg(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function Wl(e,t){let o=new Date(e);return t===!0?Zg(o):o.getTime()}function Jg(e,t,o,r={}){let n=Wl(t,r.onlyDate),i=Wl(o,r.onlyDate),l=Wl(e,r.onlyDate);return(l>n||r.inclusiveFrom===!0&&l===n)&&(l<i||r.inclusiveTo===!0&&l===i)}function eh(e,t){return Zl(e,t,1)}function th(e,t){return Zl(e,t,-1)}function Oo(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](0);case"month":case"months":r[`${n}Date`](1);case"day":case"days":case"date":r[`${n}Hours`](0);case"hour":case"hours":r[`${n}Minutes`](0);case"minute":case"minutes":r[`${n}Seconds`](0);case"second":case"seconds":r[`${n}Milliseconds`](0)}return r}function oh(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](11);case"month":case"months":r[`${n}Date`](Jl(r));case"day":case"days":case"date":r[`${n}Hours`](23);case"hour":case"hours":r[`${n}Minutes`](59);case"minute":case"minutes":r[`${n}Seconds`](59);case"second":case"seconds":r[`${n}Milliseconds`](999)}return r}function nh(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.max(t,new Date(o))}),t}function rh(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.min(t,new Date(o))}),t}function va(e,t,o){return(e.getTime()-e.getTimezoneOffset()*Yl-(t.getTime()-t.getTimezoneOffset()*Yl))/o}function ga(e,t,o="days"){let r=new Date(e),n=new Date(t);switch(o){case"years":case"year":return r.getFullYear()-n.getFullYear();case"months":case"month":return(r.getFullYear()-n.getFullYear())*12+r.getMonth()-n.getMonth();case"days":case"day":case"date":return va(Oo(r,"day"),Oo(n,"day"),sc);case"hours":case"hour":return va(Oo(r,"hour"),Oo(n,"hour"),Ng);case"minutes":case"minute":return va(Oo(r,"minute"),Oo(n,"minute"),Yl);case"seconds":case"second":return va(Oo(r,"second"),Oo(n,"second"),1e3)}}function Gl(e){return ga(e,Oo(e,"year"),"days")+1}function ih(e){return Yo(e)===!0?"date":typeof e=="number"?"number":"string"}function ah(e,t,o){let r=new Date(e);if(t){let n=new Date(t);if(r<n)return n}if(o){let n=new Date(o);if(r>n)return n}return r}function lh(e,t,o){let r=new Date(e),n=new Date(t);if(o===void 0)return r.getTime()===n.getTime();switch(o){case"second":case"seconds":if(r.getSeconds()!==n.getSeconds())return!1;case"minute":case"minutes":if(r.getMinutes()!==n.getMinutes())return!1;case"hour":case"hours":if(r.getHours()!==n.getHours())return!1;case"day":case"days":case"date":if(r.getDate()!==n.getDate())return!1;case"month":case"months":if(r.getMonth()!==n.getMonth())return!1;case"year":case"years":if(r.getFullYear()!==n.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${o}`)}return!0}function Jl(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function lc(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}var uc={YY(e,t,o){let r=this.YYYY(e,t,o)%100;return r>=0?ot(r):"-"+ot(Math.abs(r))},YYYY(e,t,o){return o??e.getFullYear()},M(e){return e.getMonth()+1},MM(e){return ot(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 lc(this.Q(e))},D(e){return e.getDate()},Do(e){return lc(e.getDate())},DD(e){return ot(e.getDate())},DDD(e){return Gl(e)},DDDD(e){return ot(Gl(e),3)},d(e){return e.getDay()},dd(e,t){return this.dddd(e,t).slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return Xl(e)},ww(e){return ot(Xl(e))},H(e){return e.getHours()},HH(e){return ot(e.getHours())},h(e){let t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return ot(this.h(e))},m(e){return e.getMinutes()},mm(e){return ot(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return ot(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return ot(Math.floor(e.getMilliseconds()/10))},SSS(e){return ot(e.getMilliseconds(),3)},A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z(e,t,o,r){let n=r??e.getTimezoneOffset();return ac(n,":")},ZZ(e,t,o,r){let n=r??e.getTimezoneOffset();return ac(n)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function ii(e,t,o,r,n){if(e!==0&&!e||e===1/0||e===-1/0)return;let i=new Date(e);if(isNaN(i))return;t===void 0&&(t=cc);let l=dc(o,xn.props);return t.replace(Hg,(u,d)=>u in uc?uc[u](i,l,r,n):d===void 0?u:d.split("\\]").join("]"))}function uh(e){return Yo(e)===!0?new Date(e.getTime()):e}var vc={isValid:Yg,extractDate:Wg,buildDate:Xg,getDayOfWeek:Gg,getWeekOfYear:Xl,isBetweenDates:Jg,addToDate:eh,subtractFromDate:th,adjustDate:mc,startOfDate:Oo,endOfDate:oh,getMaxDate:nh,getMinDate:rh,getDateDiff:ga,getDayOfYear:Gl,inferDateFormat:ih,getDateBetween:ah,isSameDate:lh,daysInMonth:Jl,formatDate:ii,clone:uh};var Bn=20,sh=["Calendar","Years","Months"],gc=e=>sh.includes(e),eu=e=>/^-?[\d]+\/[0-1]\d$/.test(e),Pr=" \u2014 ";function mn(e){return e.year+"/"+ot(e.month)}var hc=A({name:"QDate",props:{...da,...wt,...Ce,multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:eu},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:eu},navigationMaxYearMonth:{type:String,validator:eu},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:gc}},emits:[...fa,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,i=we(e,n),{getCache:l}=Vo(),{tabindex:u,headerClass:d,getLocale:f,getCurrentDate:c}=ma(e,n),g,v=Lo(e),m=Wt(v),h=T(null),C=T(at()),y=T(f()),q=s(()=>at()),S=s(()=>f()),b=s(()=>c()),p=T(vt(C.value,y.value)),k=T(e.defaultView),$=n.lang.rtl===!0?"right":"left",F=T($.value),D=T($.value),L=p.value.year,B=T(L-L%Bn-(L<0?Bn:0)),V=T(null),E=s(()=>{let P=e.landscape===!0?"landscape":"portrait";return`q-date q-date--${P} q-date--${P}-${e.minimal===!0?"minimal":"standard"}`+(i.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":"")}),_=s(()=>e.color||"primary"),R=s(()=>e.textColor||"white"),N=s(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),X=s(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),M=s(()=>X.value.filter(P=>typeof P=="string").map(P=>mt(P,C.value,y.value)).filter(P=>P.dateHash!==null&&P.day!==null&&P.month!==null&&P.year!==null)),Q=s(()=>{let P=I=>mt(I,C.value,y.value);return X.value.filter(I=>ct(I)===!0&&I.from!==void 0&&I.to!==void 0).map(I=>({from:P(I.from),to:P(I.to)})).filter(I=>I.from.dateHash!==null&&I.to.dateHash!==null&&I.from.dateHash<I.to.dateHash)}),J=s(()=>e.calendar!=="persian"?P=>new Date(P.year,P.month-1,P.day):P=>{let I=jl(P.year,P.month,P.day);return new Date(I.gy,I.gm-1,I.gd)}),de=s(()=>e.calendar==="persian"?yo:(P,I,oe)=>ii(new Date(P.year,P.month-1,P.day,P.hour,P.minute,P.second,P.millisecond),I===void 0?C.value:I,oe===void 0?y.value:oe,P.year,P.timezoneOffset)),O=s(()=>M.value.length+Q.value.reduce((P,I)=>P+1+ga(J.value(I.to),J.value(I.from)),0)),w=s(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(V.value!==null){let oe=V.value.init,ge=J.value(oe);return y.value.daysShort[ge.getDay()]+", "+y.value.monthsShort[oe.month-1]+" "+oe.day+Pr+"?"}if(O.value===0)return Pr;if(O.value>1)return`${O.value} ${y.value.pluralDay}`;let P=M.value[0],I=J.value(P);return isNaN(I.valueOf())===!0?Pr:y.value.headerTitle!==void 0?y.value.headerTitle(I,P):y.value.daysShort[I.getDay()]+", "+y.value.monthsShort[P.month-1]+" "+P.day}),W=s(()=>M.value.concat(Q.value.map(I=>I.from)).sort((I,oe)=>I.year-oe.year||I.month-oe.month)[0]),H=s(()=>M.value.concat(Q.value.map(I=>I.to)).sort((I,oe)=>oe.year-I.year||oe.month-I.month)[0]),ee=s(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(O.value===0)return Pr;if(O.value>1){let P=W.value,I=H.value,oe=y.value.monthsShort;return oe[P.month-1]+(P.year!==I.year?" "+P.year+Pr+oe[I.month-1]+" ":P.month!==I.month?Pr+oe[I.month-1]:"")+" "+I.year}return M.value[0].year}),Y=s(()=>{let P=[n.iconSet.datetime.arrowLeft,n.iconSet.datetime.arrowRight];return n.lang.rtl===!0?P.reverse():P}),ue=s(()=>e.firstDayOfWeek!==void 0?Number(e.firstDayOfWeek):y.value.firstDayOfWeek),K=s(()=>{let P=y.value.daysShort,I=ue.value;return I>0?P.slice(I,7).concat(P.slice(0,I)):P}),x=s(()=>{let P=p.value;return e.calendar!=="persian"?new Date(P.year,P.month,0).getDate():Rr(P.year,P.month)}),G=s(()=>typeof e.eventColor=="function"?e.eventColor:()=>e.eventColor),ae=s(()=>{if(e.navigationMinYearMonth===void 0)return null;let P=e.navigationMinYearMonth.split("/");return{year:parseInt(P[0],10),month:parseInt(P[1],10)}}),fe=s(()=>{if(e.navigationMaxYearMonth===void 0)return null;let P=e.navigationMaxYearMonth.split("/");return{year:parseInt(P[0],10),month:parseInt(P[1],10)}}),Se=s(()=>{let P={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return ae.value!==null&&ae.value.year>=p.value.year&&(P.year.prev=!1,ae.value.year===p.value.year&&ae.value.month>=p.value.month&&(P.month.prev=!1)),fe.value!==null&&fe.value.year<=p.value.year&&(P.year.next=!1,fe.value.year===p.value.year&&fe.value.month<=p.value.month&&(P.month.next=!1)),P}),me=s(()=>{let P={};return M.value.forEach(I=>{let oe=mn(I);P[oe]===void 0&&(P[oe]=[]),P[oe].push(I.day)}),P}),ze=s(()=>{let P={};return Q.value.forEach(I=>{let oe=mn(I.from),ge=mn(I.to);if(P[oe]===void 0&&(P[oe]=[]),P[oe].push({from:I.from.day,to:oe===ge?I.to.day:void 0,range:I}),oe<ge){let he,{year:nt,month:Ee}=I.from,Ge=Ee<12?{year:nt,month:Ee+1}:{year:nt+1,month:1};for(;(he=mn(Ge))<=ge;)P[he]===void 0&&(P[he]=[]),P[he].push({from:void 0,to:he===ge?I.to.day:void 0,range:I}),Ge.month++,Ge.month>12&&(Ge.year++,Ge.month=1)}}),P}),Be=s(()=>{if(V.value===null)return;let{init:P,initHash:I,final:oe,finalHash:ge}=V.value,[he,nt]=I<=ge?[P,oe]:[oe,P],Ee=mn(he),Ge=mn(nt);if(Ee!==xe.value&&Ge!==xe.value)return;let ut={};return Ee===xe.value?(ut.from=he.day,ut.includeFrom=!0):ut.from=1,Ge===xe.value?(ut.to=nt.day,ut.includeTo=!0):ut.to=x.value,ut}),xe=s(()=>mn(p.value)),Ie=s(()=>{let P={};if(e.options===void 0){for(let oe=1;oe<=x.value;oe++)P[oe]=!0;return P}let I=typeof e.options=="function"?e.options:oe=>e.options.includes(oe);for(let oe=1;oe<=x.value;oe++){let ge=xe.value+"/"+ot(oe);P[oe]=I(ge)}return P}),it=s(()=>{let P={};if(e.events===void 0)for(let I=1;I<=x.value;I++)P[I]=!1;else{let I=typeof e.events=="function"?e.events:oe=>e.events.includes(oe);for(let oe=1;oe<=x.value;oe++){let ge=xe.value+"/"+ot(oe);P[oe]=I(ge)===!0&&G.value(ge)}}return P}),Ke=s(()=>{let P,I,{year:oe,month:ge}=p.value;if(e.calendar!=="persian")P=new Date(oe,ge-1,1),I=new Date(oe,ge-1,0).getDate();else{let he=jl(oe,ge,1);P=new Date(he.gy,he.gm-1,he.gd);let nt=ge-1,Ee=oe;nt===0&&(nt=12,Ee--),I=Rr(Ee,nt)}return{days:P.getDay()-ue.value-1,endDay:I}}),ce=s(()=>{let P=[],{days:I,endDay:oe}=Ke.value,ge=I<0?I+7:I;if(ge<6)for(let Ee=oe-ge;Ee<=oe;Ee++)P.push({i:Ee,fill:!0});let he=P.length;for(let Ee=1;Ee<=x.value;Ee++){let Ge={i:Ee,event:it.value[Ee],classes:[]};Ie.value[Ee]===!0&&(Ge.in=!0,Ge.flat=!0),P.push(Ge)}if(me.value[xe.value]!==void 0&&me.value[xe.value].forEach(Ee=>{let Ge=he+Ee-1;Object.assign(P[Ge],{selected:!0,unelevated:!0,flat:!1,color:_.value,textColor:R.value})}),ze.value[xe.value]!==void 0&&ze.value[xe.value].forEach(Ee=>{if(Ee.from!==void 0){let Ge=he+Ee.from-1,ut=he+(Ee.to||x.value)-1;for(let uo=Ge;uo<=ut;uo++)Object.assign(P[uo],{range:Ee.range,unelevated:!0,color:_.value,textColor:R.value});Object.assign(P[Ge],{rangeFrom:!0,flat:!1}),Ee.to!==void 0&&Object.assign(P[ut],{rangeTo:!0,flat:!1})}else if(Ee.to!==void 0){let Ge=he+Ee.to-1;for(let ut=he;ut<=Ge;ut++)Object.assign(P[ut],{range:Ee.range,unelevated:!0,color:_.value,textColor:R.value});Object.assign(P[Ge],{flat:!1,rangeTo:!0})}else{let Ge=he+x.value-1;for(let ut=he;ut<=Ge;ut++)Object.assign(P[ut],{range:Ee.range,unelevated:!0,color:_.value,textColor:R.value})}}),Be.value!==void 0){let Ee=he+Be.value.from-1,Ge=he+Be.value.to-1;for(let ut=Ee;ut<=Ge;ut++)P[ut].color=_.value,P[ut].editRange=!0;Be.value.includeFrom===!0&&(P[Ee].editRangeFrom=!0),Be.value.includeTo===!0&&(P[Ge].editRangeTo=!0)}p.value.year===b.value.year&&p.value.month===b.value.month&&(P[he+b.value.day-1].today=!0);let nt=P.length%7;if(nt>0){let Ee=7-nt;for(let Ge=1;Ge<=Ee;Ge++)P.push({i:Ge,fill:!0})}return P.forEach(Ee=>{let Ge="q-date__calendar-item ";Ee.fill===!0?Ge+="q-date__calendar-item--fill":(Ge+=`q-date__calendar-item--${Ee.in===!0?"in":"out"}`,Ee.range!==void 0&&(Ge+=` q-date__range${Ee.rangeTo===!0?"-to":Ee.rangeFrom===!0?"-from":""}`),Ee.editRange===!0&&(Ge+=` q-date__edit-range${Ee.editRangeFrom===!0?"-from":""}${Ee.editRangeTo===!0?"-to":""}`),(Ee.range!==void 0||Ee.editRange===!0)&&(Ge+=` text-${Ee.color}`)),Ee.classes=Ge}),P}),ve=s(()=>e.disable===!0?{"aria-disabled":"true"}:{});j(()=>e.modelValue,P=>{if(g===P)g=0;else{let I=vt(C.value,y.value);et(I.year,I.month,I)}}),j(k,()=>{h.value!==null&&r.$el.contains(document.activeElement)===!0&&h.value.focus()}),j(()=>p.value.year+"|"+p.value.month,()=>{o("navigation",{year:p.value.year,month:p.value.month})}),j(q,P=>{re(P,y.value,"mask"),C.value=P}),j(S,P=>{re(C.value,P,"locale"),y.value=P});function te(){let{year:P,month:I,day:oe}=b.value,ge={...p.value,year:P,month:I,day:oe},he=me.value[mn(ge)];(he===void 0||he.includes(ge.day)===!1)&&Qo(ge),Ve(ge.year,ge.month)}function pe(P){gc(P)===!0&&(k.value=P)}function Fe(P,I){["month","year"].includes(P)&&(P==="month"?se:Z)(I===!0?-1:1)}function Ve(P,I){k.value="Calendar",et(P,I)}function Le(P,I){if(e.range===!1||!P){V.value=null;return}let oe=Object.assign({...p.value},P),ge=I!==void 0?Object.assign({...p.value},I):oe;V.value={init:oe,initHash:yo(oe),final:ge,finalHash:yo(ge)},Ve(oe.year,oe.month)}function at(){return e.calendar==="persian"?"YYYY/MM/DD":e.mask}function mt(P,I,oe){return fn(P,I,oe,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function vt(P,I){let oe=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(oe.length===0)return ne();let ge=oe[oe.length-1],he=mt(ge.from!==void 0?ge.from:ge,P,I);return he.dateHash===null?ne():he}function ne(){let P,I;if(e.defaultYearMonth!==void 0){let oe=e.defaultYearMonth.split("/");P=parseInt(oe[0],10),I=parseInt(oe[1],10)}else{let oe=b.value!==void 0?b.value:c();P=oe.year,I=oe.month}return{year:P,month:I,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:P+"/"+ot(I)+"/01"}}function se(P){let I=p.value.year,oe=Number(p.value.month)+P;oe===13?(oe=1,I++):oe===0&&(oe=12,I--),et(I,oe),N.value===!0&&yt("month")}function Z(P){let I=Number(p.value.year)+P;et(I,p.value.month),N.value===!0&&yt("year")}function le(P){et(P,p.value.month),k.value=e.defaultView==="Years"?"Months":"Calendar",N.value===!0&&yt("year")}function Pe(P){et(p.value.year,P),k.value="Calendar",N.value===!0&&yt("month")}function He(P,I){let oe=me.value[I];(oe!==void 0&&oe.includes(P.day)===!0?wo:Qo)(P)}function ke(P){return{year:P.year,month:P.month,day:P.day}}function et(P,I,oe){if(ae.value!==null&&P<=ae.value.year&&((I<ae.value.month||P<ae.value.year)&&(I=ae.value.month),P=ae.value.year),fe.value!==null&&P>=fe.value.year&&((I>fe.value.month||P>fe.value.year)&&(I=fe.value.month),P=fe.value.year),oe!==void 0){let{hour:he,minute:nt,second:Ee,millisecond:Ge,timezoneOffset:ut,timeHash:uo}=oe;Object.assign(p.value,{hour:he,minute:nt,second:Ee,millisecond:Ge,timezoneOffset:ut,timeHash:uo})}let ge=P+"/"+ot(I)+"/01";ge!==p.value.dateHash&&(F.value=p.value.dateHash<ge==(n.lang.rtl!==!0)?"left":"right",P!==p.value.year&&(D.value=F.value),Ae(()=>{B.value=P-P%Bn-(P<0?Bn:0),Object.assign(p.value,{year:P,month:I,day:1,dateHash:ge})}))}function pt(P,I,oe){let ge=P!==null&&P.length===1&&e.multiple===!1?P[0]:P;g=ge;let{reason:he,details:nt}=Yt(I,oe);o("update:modelValue",ge,he,nt)}function yt(P){let I=M.value[0]!==void 0&&M.value[0].dateHash!==null?{...M.value[0]}:{...p.value};Ae(()=>{I.year=p.value.year,I.month=p.value.month;let oe=e.calendar!=="persian"?new Date(I.year,I.month,0).getDate():Rr(I.year,I.month);I.day=Math.min(Math.max(1,I.day),oe);let ge=lo(I);g=ge;let{details:he}=Yt("",I);o("update:modelValue",ge,P,he)})}function Yt(P,I){return I.from!==void 0?{reason:`${P}-range`,details:{...ke(I.target),from:ke(I.from),to:ke(I.to)}}:{reason:`${P}-day`,details:ke(I)}}function lo(P,I,oe){return P.from!==void 0?{from:de.value(P.from,I,oe),to:de.value(P.to,I,oe)}:de.value(P,I,oe)}function Qo(P){let I;if(e.multiple===!0)if(P.from!==void 0){let oe=yo(P.from),ge=yo(P.to),he=M.value.filter(Ee=>Ee.dateHash<oe||Ee.dateHash>ge),nt=Q.value.filter(({from:Ee,to:Ge})=>Ge.dateHash<oe||Ee.dateHash>ge);I=he.concat(nt).concat(P).map(Ee=>lo(Ee))}else{let oe=X.value.slice();oe.push(lo(P)),I=oe}else I=lo(P);pt(I,"add",P)}function wo(P){if(e.noUnset===!0)return;let I=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){let oe=lo(P);P.from!==void 0?I=e.modelValue.filter(ge=>ge.from!==void 0?ge.from!==oe.from&&ge.to!==oe.to:!0):I=e.modelValue.filter(ge=>ge!==oe),I.length===0&&(I=null)}pt(I,"remove",P)}function re(P,I,oe){let ge=M.value.concat(Q.value).map(he=>lo(he,P,I)).filter(he=>he.from!==void 0?he.from.dateHash!==null&&he.to.dateHash!==null:he.dateHash!==null);o("update:modelValue",(e.multiple===!0?ge:ge[0])||null,oe)}function be(){if(e.minimal!==!0)return a("div",{class:"q-date__header "+d.value},[a("div",{class:"relative-position"},[a(lt,{name:"q-transition--fade"},()=>a("div",{key:"h-yr-"+ee.value,class:"q-date__header-subtitle q-date__header-link "+(k.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vY",{onClick(){k.value="Years"},onKeyup(P){P.keyCode===13&&(k.value="Years")}})},[ee.value]))]),a("div",{class:"q-date__header-title relative-position flex no-wrap"},[a("div",{class:"relative-position col"},[a(lt,{name:"q-transition--fade"},()=>a("div",{key:"h-sub"+w.value,class:"q-date__header-title-label q-date__header-link "+(k.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vC",{onClick(){k.value="Calendar"},onKeyup(P){P.keyCode===13&&(k.value="Calendar")}})},[w.value]))]),e.todayBtn===!0?a(Oe,{class:"q-date__header-today self-start",icon:n.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:u.value,onClick:te}):null])])}function $e({label:P,type:I,key:oe,dir:ge,goTo:he,boundaries:nt,cls:Ee}){return[a("div",{class:"row items-center q-date__arrow"},[a(Oe,{round:!0,dense:!0,size:"sm",flat:!0,icon:Y.value[0],tabindex:u.value,disable:nt.prev===!1,...l("go-#"+I,{onClick(){he(-1)}})})]),a("div",{class:"relative-position overflow-hidden flex flex-center"+Ee},[a(lt,{name:"q-transition--jump-"+ge},()=>a("div",{key:oe},[a(Oe,{flat:!0,dense:!0,noCaps:!0,label:P,tabindex:u.value,...l("view#"+I,{onClick:()=>{k.value=I}})})]))]),a("div",{class:"row items-center q-date__arrow"},[a(Oe,{round:!0,dense:!0,size:"sm",flat:!0,icon:Y.value[1],tabindex:u.value,disable:nt.next===!1,...l("go+#"+I,{onClick(){he(1)}})})])]}let De={Calendar:()=>[a("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[a("div",{class:"q-date__navigation row items-center no-wrap"},$e({label:y.value.months[p.value.month-1],type:"Months",key:p.value.month,dir:F.value,goTo:se,boundaries:Se.value.month,cls:" col"}).concat($e({label:p.value.year,type:"Years",key:p.value.year,dir:D.value,goTo:Z,boundaries:Se.value.year,cls:""}))),a("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},K.value.map(P=>a("div",{class:"q-date__calendar-item"},[a("div",P)]))),a("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[a(lt,{name:"q-transition--slide-"+F.value},()=>a("div",{key:xe.value,class:"q-date__calendar-days fit"},ce.value.map(P=>a("div",{class:P.classes},[P.in===!0?a(Oe,{class:P.today===!0?"q-date__today":"",dense:!0,flat:P.flat,unelevated:P.unelevated,color:P.color,textColor:P.textColor,label:P.i,tabindex:u.value,...l("day#"+P.i,{onClick:()=>{Ue(P.i)},onMouseover:()=>{St(P.i)}})},P.event!==!1?()=>a("div",{class:"q-date__event bg-"+P.event}):null):a("div",""+P.i)]))))])])],Months(){let P=p.value.year===b.value.year,I=ge=>ae.value!==null&&p.value.year===ae.value.year&&ae.value.month>ge||fe.value!==null&&p.value.year===fe.value.year&&fe.value.month<ge,oe=y.value.monthsShort.map((ge,he)=>{let nt=p.value.month===he+1;return a("div",{class:"q-date__months-item flex flex-center"},[a(Oe,{class:P===!0&&b.value.month===he+1?"q-date__today":null,flat:nt!==!0,label:ge,unelevated:nt,color:nt===!0?_.value:null,textColor:nt===!0?R.value:null,tabindex:u.value,disable:I(he+1),...l("month#"+he,{onClick:()=>{Pe(he+1)}})})])});return e.yearsInMonthView===!0&&oe.unshift(a("div",{class:"row no-wrap full-width"},[$e({label:p.value.year,type:"Years",key:p.value.year,dir:D.value,goTo:Z,boundaries:Se.value.year,cls:" col"})])),a("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},oe)},Years(){let P=B.value,I=P+Bn,oe=[],ge=he=>ae.value!==null&&ae.value.year>he||fe.value!==null&&fe.value.year<he;for(let he=P;he<=I;he++){let nt=p.value.year===he;oe.push(a("div",{class:"q-date__years-item flex flex-center"},[a(Oe,{key:"yr"+he,class:b.value.year===he?"q-date__today":null,flat:!nt,label:he,dense:!0,unelevated:nt,color:nt===!0?_.value:null,textColor:nt===!0?R.value:null,tabindex:u.value,disable:ge(he),...l("yr#"+he,{onClick:()=>{le(he)}})})]))}return a("div",{class:"q-date__view q-date__years flex flex-center"},[a("div",{class:"col-auto"},[a(Oe,{round:!0,dense:!0,flat:!0,icon:Y.value[0],tabindex:u.value,disable:ge(P),...l("y-",{onClick:()=>{B.value-=Bn}})})]),a("div",{class:"q-date__years-content col self-stretch row items-center"},oe),a("div",{class:"col-auto"},[a(Oe,{round:!0,dense:!0,flat:!0,icon:Y.value[1],tabindex:u.value,disable:ge(I),...l("y+",{onClick:()=>{B.value+=Bn}})})])])}};function Ue(P){let I={...p.value,day:P};if(e.range===!1){He(I,xe.value);return}if(V.value===null){let oe=ce.value.find(he=>he.fill!==!0&&he.i===P);if(e.noUnset!==!0&&oe.range!==void 0){wo({target:I,from:oe.range.from,to:oe.range.to});return}if(oe.selected===!0){wo(I);return}let ge=yo(I);V.value={init:I,initHash:ge,final:I,finalHash:ge},o("rangeStart",ke(I))}else{let oe=V.value.initHash,ge=yo(I),he=oe<=ge?{from:V.value.init,to:I}:{from:I,to:V.value.init};V.value=null,Qo(oe===ge?I:{target:I,...he}),o("rangeEnd",{from:ke(he.from),to:ke(he.to)})}}function St(P){if(V.value!==null){let I={...p.value,day:P};Object.assign(V.value,{final:I,finalHash:yo(I)})}}return Object.assign(r,{setToday:te,setView:pe,offsetCalendar:Fe,setCalendarTo:Ve,setEditingRange:Le}),()=>{let P=[a("div",{class:"q-date__content col relative-position"},[a(lt,{name:"q-transition--fade"},De[k.value])])],I=ie(t.default);return I!==void 0&&P.push(a("div",{class:"q-date__actions"},I)),e.name!==void 0&&e.disable!==!0&&m(P,"push"),a("div",{class:E.value,...ve.value},[be(),a("div",{ref:h,class:"q-date__main col column",tabindex:-1},P)])}}});function ha(e,t,o){let r;function n(){r!==void 0&&(tn.remove(r),r=void 0)}return ye(()=>{e.value===!0&&n()}),{removeFromHistory:n,addToHistory(){r={condition:()=>o.value===!0,handler:t},tn.add(r)}}}var ai=0,tu,ou,li,nu=!1,pc,bc,yc,Fn=null;function ch(e){dh(e)&&qe(e)}function dh(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;let t=Sl(e),o=e.shiftKey&&!e.deltaX,r=!o&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),n=o||r?e.deltaY:e.deltaX;for(let i=0;i<t.length;i++){let l=t[i];if(Fl(l,r))return r?n<0&&l.scrollTop===0?!0:n>0&&l.scrollTop+l.clientHeight===l.scrollHeight:n<0&&l.scrollLeft===0?!0:n>0&&l.scrollLeft+l.clientWidth===l.scrollWidth}return!0}function Sc(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function pa(e){nu!==!0&&(nu=!0,requestAnimationFrame(()=>{nu=!1;let{height:t}=e.target,{clientHeight:o,scrollTop:r}=document.scrollingElement;(li===void 0||t!==window.innerHeight)&&(li=o-t,document.scrollingElement.scrollTop=r),r>li&&(document.scrollingElement.scrollTop-=Math.ceil((r-li)/8))}))}function xc(e){let t=document.body,o=window.visualViewport!==void 0;if(e==="add"){let{overflowY:r,overflowX:n}=window.getComputedStyle(t);tu=un(window),ou=eo(window),pc=t.style.left,bc=t.style.top,yc=window.location.href,t.style.left=`-${tu}px`,t.style.top=`-${ou}px`,n!=="hidden"&&(n==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),r!=="hidden"&&(r==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Me.is.ios===!0&&(o===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",pa,Je.passiveCapture),window.visualViewport.addEventListener("scroll",pa,Je.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Sc,Je.passiveCapture))}Me.is.desktop===!0&&Me.is.mac===!0&&window[`${e}EventListener`]("wheel",ch,Je.notPassive),e==="remove"&&(Me.is.ios===!0&&(o===!0?(window.visualViewport.removeEventListener("resize",pa,Je.passiveCapture),window.visualViewport.removeEventListener("scroll",pa,Je.passiveCapture)):window.removeEventListener("scroll",Sc,Je.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=pc,t.style.top=bc,window.location.href===yc&&window.scrollTo(tu,ou),li=void 0)}function ui(e){let t="add";if(e===!0){if(ai++,Fn!==null){clearTimeout(Fn),Fn=null;return}if(ai>1)return}else{if(ai===0||(ai--,ai>0))return;if(t="remove",Me.is.ios===!0&&Me.is.nativeMobile===!0){Fn!==null&&clearTimeout(Fn),Fn=setTimeout(()=>{xc(t),Fn=null},100);return}}xc(t)}function ba(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,ui(t))}}}var ya=0,fh={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"},_c={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Io=A({name:"QDialog",inheritAttrs:!1,props:{...mo,...$o,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,position:{type:String,default:"standard",validator:e=>e==="standard"||["top","bottom","left","right"].includes(e)}},emits:[...vo,"shake","click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),i=T(null),l=T(!1),u=T(!1),d=null,f=null,c,g,v=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:m}=ba(),{registerTimeout:h}=Jt(),{registerTick:C,removeTick:y}=Eo(),{transitionProps:q,transitionStyle:S}=ln(e,()=>_c[e.position][0],()=>_c[e.position][1]),{showPortal:b,hidePortal:p,portalIsAccessible:k,renderPortal:$}=ar(n,i,H,"dialog"),{hide:F}=go({showing:l,hideOnRouteChange:v,handleShow:R,handleHide:N,processOnMount:!0}),{addToHistory:D,removeFromHistory:L}=ha(l,F,v),B=s(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${fh[e.position]}`+(u.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),V=s(()=>l.value===!0&&e.seamless!==!0),E=s(()=>e.autoClose===!0?{onClick:O}:{}),_=s(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${V.value===!0?"modal":"seamless"}`,r.class]);j(()=>e.maximized,ee=>{l.value===!0&&de(ee)}),j(V,ee=>{m(ee),ee===!0?(cr(W),zi(Q)):(Rn(W),sr(Q))});function R(ee){D(),f=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,de(e.maximized),b(),u.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),C(X)):y(),h(()=>{if(n.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){let{top:Y,bottom:ue}=document.activeElement.getBoundingClientRect(),{innerHeight:K}=window,x=window.visualViewport!==void 0?window.visualViewport.height:K;Y>0&&ue>x/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-x,ue>=K?1/0:Math.ceil(document.scrollingElement.scrollTop+ue-x/2))),document.activeElement.scrollIntoView()}g=!0,i.value.click(),g=!1}b(!0),u.value=!1,o("show",ee)},e.transitionDuration)}function N(ee){y(),L(),J(!0),u.value=!0,p(),f!==null&&(((ee&&ee.type.indexOf("key")===0?f.closest('[tabindex]:not([tabindex^="-"])'):void 0)||f).focus(),f=null),h(()=>{p(!0),u.value=!1,o("hide",ee)},e.transitionDuration)}function X(ee){ho(()=>{let Y=i.value;Y===null||Y.contains(document.activeElement)===!0||(Y=(ee!==""?Y.querySelector(ee):null)||Y.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||Y.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||Y.querySelector("[autofocus], [data-autofocus]")||Y,Y.focus({preventScroll:!0}))})}function M(ee){ee&&typeof ee.focus=="function"?ee.focus({preventScroll:!0}):X(),o("shake");let Y=i.value;Y!==null&&(Y.classList.remove("q-animate--scale"),Y.classList.add("q-animate--scale"),d!==null&&clearTimeout(d),d=setTimeout(()=>{d=null,i.value!==null&&(Y.classList.remove("q-animate--scale"),X())},170))}function Q(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&M():(o("escapeKey"),F()))}function J(ee){d!==null&&(clearTimeout(d),d=null),(ee===!0||l.value===!0)&&(de(!1),e.seamless!==!0&&(m(!1),Rn(W),sr(Q))),ee!==!0&&(f=null)}function de(ee){ee===!0?c!==!0&&(ya<1&&document.body.classList.add("q-body--dialog"),ya++,c=!0):c===!0&&(ya<2&&document.body.classList.remove("q-body--dialog"),ya--,c=!1)}function O(ee){g!==!0&&(F(ee),o("click",ee))}function w(ee){e.persistent!==!0&&e.noBackdropDismiss!==!0?F(ee):e.noShake!==!0&&M()}function W(ee){e.allowFocusOutside!==!0&&k.value===!0&&Bi(i.value,ee.target)!==!0&&X('[tabindex]:not([tabindex="-1"])')}Object.assign(n.proxy,{focus:X,shake:M,__updateRefocusTarget(ee){f=ee||null}}),ye(J);function H(){return a("div",{role:"dialog","aria-modal":V.value===!0?"true":"false",...r,class:_.value},[a(lt,{name:"q-transition--fade",appear:!0},()=>V.value===!0?a("div",{class:"q-dialog__backdrop fixed-full",style:S.value,"aria-hidden":"true",tabindex:-1,onClick:w}):null),a(lt,q.value,()=>l.value===!0?a("div",{ref:i,class:B.value,style:S.value,tabindex:-1,...E.value},ie(t.default)):null)])}return $}});var Cc=150,wc=A({name:"QDrawer",inheritAttrs:!1,props:{...mo,...Ce,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:[...vo,"onLayout","miniState"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),{proxy:{$q:i}}=n,l=we(e,i),{preventBodyScroll:u}=ba(),{registerTimeout:d,removeTimeout:f}=Jt(),c=ht(Gt,Ze);if(c===Ze)return console.error("QDrawer needs to be child of QLayout"),Ze;let g,v=null,m,h=T(e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint),C=s(()=>e.mini===!0&&h.value!==!0),y=s(()=>C.value===!0?e.miniWidth:e.width),q=T(e.showIfAbove===!0&&h.value===!1?!0:e.modelValue===!0),S=s(()=>e.persistent!==!0&&(h.value===!0||de.value===!0));function b(te,pe){if(F(),te!==!1&&c.animate(),Se(0),h.value===!0){let Fe=c.instances[X.value];Fe!==void 0&&Fe.belowBreakpoint===!0&&Fe.hide(!1),me(1),c.isContainer.value!==!0&&u(!0)}else me(0),te!==!1&&ze(!1);d(()=>{te!==!1&&ze(!0),pe!==!0&&o("show",te)},Cc)}function p(te,pe){D(),te!==!1&&c.animate(),me(0),Se(V.value*y.value),it(),pe!==!0?d(()=>{o("hide",te)},Cc):f()}let{show:k,hide:$}=go({showing:q,hideOnRouteChange:S,handleShow:b,handleHide:p}),{addToHistory:F,removeFromHistory:D}=ha(q,$,S),L={belowBreakpoint:h,hide:$},B=s(()=>e.side==="right"),V=s(()=>(i.lang.rtl===!0?-1:1)*(B.value===!0?1:-1)),E=T(0),_=T(!1),R=T(!1),N=T(y.value*V.value),X=s(()=>B.value===!0?"left":"right"),M=s(()=>q.value===!0&&h.value===!1&&e.overlay===!1?e.miniToOverlay===!0?e.miniWidth:y.value:0),Q=s(()=>e.overlay===!0||e.miniToOverlay===!0||c.view.value.indexOf(B.value?"R":"L")!==-1||i.platform.is.ios===!0&&c.isContainer.value===!0),J=s(()=>e.overlay===!1&&q.value===!0&&h.value===!1),de=s(()=>e.overlay===!0&&q.value===!0&&h.value===!1),O=s(()=>"fullscreen q-drawer__backdrop"+(q.value===!1&&_.value===!1?" hidden":"")),w=s(()=>({backgroundColor:`rgba(0,0,0,${E.value*.4})`})),W=s(()=>B.value===!0?c.rows.value.top[2]==="r":c.rows.value.top[0]==="l"),H=s(()=>B.value===!0?c.rows.value.bottom[2]==="r":c.rows.value.bottom[0]==="l"),ee=s(()=>{let te={};return c.header.space===!0&&W.value===!1&&(Q.value===!0?te.top=`${c.header.offset}px`:c.header.space===!0&&(te.top=`${c.header.size}px`)),c.footer.space===!0&&H.value===!1&&(Q.value===!0?te.bottom=`${c.footer.offset}px`:c.footer.space===!0&&(te.bottom=`${c.footer.size}px`)),te}),Y=s(()=>{let te={width:`${y.value}px`,transform:`translateX(${N.value}px)`};return h.value===!0?te:Object.assign(te,ee.value)}),ue=s(()=>"q-drawer__content fit "+(c.isContainer.value!==!0?"scroll":"overflow-auto")),K=s(()=>`q-drawer q-drawer--${e.side}`+(R.value===!0?" q-drawer--mini-animate":"")+(e.bordered===!0?" q-drawer--bordered":"")+(l.value===!0?" q-drawer--dark q-dark":"")+(_.value===!0?" no-transition":q.value===!0?"":" q-layout--prevent-focus")+(h.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${C.value===!0?"mini":"standard"}`+(Q.value===!0||J.value!==!0?" fixed":"")+(e.overlay===!0||e.miniToOverlay===!0?" q-drawer--on-top":"")+(W.value===!0?" q-drawer--top-padding":""))),x=s(()=>{let te=i.lang.rtl===!0?e.side:X.value;return[[Rt,xe,void 0,{[te]:!0,mouse:!0}]]}),G=s(()=>{let te=i.lang.rtl===!0?X.value:e.side;return[[Rt,Ie,void 0,{[te]:!0,mouse:!0}]]}),ae=s(()=>{let te=i.lang.rtl===!0?X.value:e.side;return[[Rt,Ie,void 0,{[te]:!0,mouse:!0,mouseAllDir:!0}]]});function fe(){ce(h,e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint)}j(h,te=>{te===!0?(g=q.value,q.value===!0&&$(!1)):e.overlay===!1&&e.behavior!=="mobile"&&g!==!1&&(q.value===!0?(Se(0),me(0),it()):k(!1))}),j(()=>e.side,(te,pe)=>{c.instances[pe]===L&&(c.instances[pe]=void 0,c[pe].space=!1,c[pe].offset=0),c.instances[te]=L,c[te].size=y.value,c[te].space=J.value,c[te].offset=M.value}),j(c.totalWidth,()=>{(c.isContainer.value===!0||document.qScrollPrevented!==!0)&&fe()}),j(()=>e.behavior+e.breakpoint,fe),j(c.isContainer,te=>{q.value===!0&&u(te!==!0),te===!0&&fe()}),j(c.scrollbarWidth,()=>{Se(q.value===!0?0:void 0)}),j(M,te=>{Ke("offset",te)}),j(J,te=>{o("onLayout",te),Ke("space",te)}),j(B,()=>{Se()}),j(y,te=>{Se(),ve(e.miniToOverlay,te)}),j(()=>e.miniToOverlay,te=>{ve(te,y.value)}),j(()=>i.lang.rtl,()=>{Se()}),j(()=>e.mini,()=>{e.noMiniAnimation||e.modelValue===!0&&(Be(),c.animate())}),j(C,te=>{o("miniState",te)});function Se(te){te===void 0?Ae(()=>{te=q.value===!0?0:y.value,Se(V.value*te)}):(c.isContainer.value===!0&&B.value===!0&&(h.value===!0||Math.abs(te)===y.value)&&(te+=V.value*c.scrollbarWidth.value),N.value=te)}function me(te){E.value=te}function ze(te){let pe=te===!0?"remove":c.isContainer.value!==!0?"add":"";pe!==""&&document.body.classList[pe]("q-body--drawer-toggle")}function Be(){v!==null&&clearTimeout(v),n.proxy&&n.proxy.$el&&n.proxy.$el.classList.add("q-drawer--mini-animate"),R.value=!0,v=setTimeout(()=>{v=null,R.value=!1,n&&n.proxy&&n.proxy.$el&&n.proxy.$el.classList.remove("q-drawer--mini-animate")},150)}function xe(te){if(q.value!==!1)return;let pe=y.value,Fe=tt(te.distance.x,0,pe);if(te.isFinal===!0){Fe>=Math.min(75,pe)===!0?k():(c.animate(),me(0),Se(V.value*pe)),_.value=!1;return}Se((i.lang.rtl===!0?B.value!==!0:B.value)?Math.max(pe-Fe,0):Math.min(0,Fe-pe)),me(tt(Fe/pe,0,1)),te.isFirst===!0&&(_.value=!0)}function Ie(te){if(q.value!==!0)return;let pe=y.value,Fe=te.direction===e.side,Ve=(i.lang.rtl===!0?Fe!==!0:Fe)?tt(te.distance.x,0,pe):0;if(te.isFinal===!0){Math.abs(Ve)<Math.min(75,pe)===!0?(c.animate(),me(1),Se(0)):$(),_.value=!1;return}Se(V.value*Ve),me(tt(1-Ve/pe,0,1)),te.isFirst===!0&&(_.value=!0)}function it(){u(!1),ze(!0)}function Ke(te,pe){c.update(e.side,te,pe)}function ce(te,pe){te.value!==pe&&(te.value=pe)}function ve(te,pe){Ke("size",te===!0?e.miniWidth:pe)}return c.instances[e.side]=L,ve(e.miniToOverlay,y.value),Ke("space",J.value),Ke("offset",M.value),e.showIfAbove===!0&&e.modelValue!==!0&&q.value===!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",!0),je(()=>{o("onLayout",J.value),o("miniState",C.value),g=e.showIfAbove===!0;let te=()=>{(q.value===!0?b:p)(!1,!0)};if(c.totalWidth.value!==0){Ae(te);return}m=j(c.totalWidth,()=>{m(),m=void 0,q.value===!1&&e.showIfAbove===!0&&h.value===!1?k(!1):te()})}),ye(()=>{m!==void 0&&m(),v!==null&&(clearTimeout(v),v=null),q.value===!0&&it(),c.instances[e.side]===L&&(c.instances[e.side]=void 0,Ke("size",0),Ke("offset",0),Ke("space",!1))}),()=>{let te=[];h.value===!0&&(e.noSwipeOpen===!1&&te.push($t(a("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),x.value)),te.push(Mt("div",{ref:"backdrop",class:O.value,style:w.value,"aria-hidden":"true",onClick:$},void 0,"backdrop",e.noSwipeBackdrop!==!0&&q.value===!0,()=>ae.value)));let pe=C.value===!0&&t.mini!==void 0,Fe=[a("div",{...r,key:""+pe,class:[ue.value,r.class]},pe===!0?t.mini():ie(t.default))];return e.elevated===!0&&q.value===!0&&Fe.push(a("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),te.push(Mt("aside",{ref:"content",class:K.value,style:Y.value},Fe,"contentclose",e.noSwipeClose!==!0&&h.value===!0,()=>G.value)),a("div",{class:"q-drawer-container"},te)}}});function kc(e,t){if(t&&e===t)return null;let o=e.nodeName.toLowerCase();if(["div","li","ul","ol","blockquote"].includes(o)===!0)return e;let r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,n=r.display;return n==="block"||n==="table"?e:kc(e.parentNode)}function ru(e,t,o){return!e||e===document.body?!1:o===!0&&e===t||(t===document?document.body:t).contains(e.parentNode)}function qc(e,t,o){if(o||(o=document.createRange(),o.selectNode(e),o.setStart(e,0)),t.count===0)o.setEnd(e,t.count);else if(t.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length<t.count?t.count-=e.textContent.length:(o.setEnd(e,t.count),t.count=0);else for(let r=0;t.count!==0&&r<e.childNodes.length;r++)o=qc(e.childNodes[r],t,o);return o}var mh=/^https?:\/\//,si=class{constructor(t,o){this.el=t,this.eVm=o,this._range=null}get selection(){if(this.el){let t=document.getSelection();if(ru(t.anchorNode,this.el,!0)&&ru(t.focusNode,this.el,!0))return t}return null}get hasSelection(){return this.selection!==null?this.selection.toString().length!==0:!1}get range(){let t=this.selection;return t!==null&&t.rangeCount?t.getRangeAt(0):this._range}get parent(){let t=this.range;if(t!==null){let o=t.startContainer;return o.nodeType===document.ELEMENT_NODE?o:o.parentNode}return null}get blockParent(){let t=this.parent;return t!==null?kc(t,this.el):null}save(t=this.range){t!==null&&(this._range=t)}restore(t=this._range){let o=document.createRange(),r=document.getSelection();t!==null?(o.setStart(t.startContainer,t.startOffset),o.setEnd(t.endContainer,t.endOffset),r.removeAllRanges(),r.addRange(o)):(r.selectAllChildren(this.el),r.collapseToEnd())}savePosition(){let t=-1,o,r=document.getSelection(),n=this.el.parentNode;if(r.focusNode&&ru(r.focusNode,n))for(o=r.focusNode,t=r.focusOffset;o&&o!==n;)o!==this.el&&o.previousSibling?(o=o.previousSibling,t+=o.textContent.length):o=o.parentNode;this.savedPos=t}restorePosition(t=0){if(this.savedPos>0&&this.savedPos<t){let o=window.getSelection(),r=qc(this.el,{count:this.savedPos});r&&(r.collapse(!1),o.removeAllRanges(),o.addRange(r))}}hasParent(t,o){let r=o?this.parent:this.blockParent;return r!==null?r.nodeName.toLowerCase()===t.toLowerCase():!1}hasParents(t,o,r=this.parent){return r===null?!1:t.includes(r.nodeName.toLowerCase())===!0?!0:o===!0?this.hasParents(t,o,r.parentNode):!1}is(t,o){if(this.selection===null)return!1;switch(t){case"formatBlock":return o==="DIV"&&this.parent===this.el||this.hasParent(o,o==="PRE");case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(t)===o;case"fontName":let r=document.queryCommandValue(t);return r===`"${o}"`||r===o;case"fullscreen":return this.eVm.inFullscreen.value;case"viewsource":return this.eVm.isViewingSource.value;case void 0:return!1;default:let n=document.queryCommandState(t);return o!==void 0?n===o:n}}getParentAttribute(t){return this.parent!==null?this.parent.getAttribute(t):null}can(t){if(t==="outdent")return this.hasParents(["blockquote","li"],!0);if(t==="indent")return this.hasParents(["li"],!0);if(t==="link")return this.selection!==null||this.is("link")}apply(t,o,r=Ye){if(t==="formatBlock")["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(o)&&this.is(t,o)&&(t="outdent",o=null),o==="PRE"&&this.is(t,"PRE")&&(o="P");else if(t==="print"){r();let n=window.open();n.document.write(`
|
|
7
|
+
(()=>{var uv=Object.create;var pl=Object.defineProperty;var sv=Object.getOwnPropertyDescriptor;var cv=Object.getOwnPropertyNames;var dv=Object.getPrototypeOf,fv=Object.prototype.hasOwnProperty;var qu=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Nr=(e,t)=>{for(var o in t)pl(e,o,{get:t[o],enumerable:!0})},mv=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of cv(t))!fv.call(e,n)&&n!==o&&pl(e,n,{get:()=>t[n],enumerable:!(r=sv(t,n))||r.enumerable});return e};var Tu=(e,t,o)=>(o=e!=null?uv(dv(e)):{},mv(t||!e||!e.__esModule?pl(o,"default",{value:e,enumerable:!0}):o,e));var Nu=qu((B0,Iu)=>{Iu.exports={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,o)=>e+"-"+t+" of "+o,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}}});var Yu=qu((Q0,Wu)=>{Wu.exports={name:"material-icons",type:{positive:"check_circle",negative:"warning",info:"info",warning:"priority_high"},arrow:{up:"arrow_upward",right:"arrow_forward",down:"arrow_downward",left:"arrow_back",dropdown:"arrow_drop_down"},chevron:{left:"chevron_left",right:"chevron_right"},colorPicker:{spectrum:"gradient",tune:"tune",palette:"style"},pullToRefresh:{icon:"refresh"},carousel:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down",navigationIcon:"lens"},chip:{remove:"cancel",selected:"check"},datetime:{arrowLeft:"chevron_left",arrowRight:"chevron_right",now:"access_time",today:"today"},editor:{bold:"format_bold",italic:"format_italic",strikethrough:"strikethrough_s",underline:"format_underlined",unorderedList:"format_list_bulleted",orderedList:"format_list_numbered",subscript:"vertical_align_bottom",superscript:"vertical_align_top",hyperlink:"link",toggleFullscreen:"fullscreen",quote:"format_quote",left:"format_align_left",center:"format_align_center",right:"format_align_right",justify:"format_align_justify",print:"print",outdent:"format_indent_decrease",indent:"format_indent_increase",removeFormat:"format_clear",formatting:"text_format",fontSize:"format_size",align:"format_align_left",hr:"remove",undo:"undo",redo:"redo",heading:"format_size",code:"code",size:"format_size",font:"font_download",viewSource:"code"},expansionItem:{icon:"keyboard_arrow_down",denseIcon:"arrow_drop_down"},fab:{icon:"add",activeIcon:"close"},field:{clear:"cancel",error:"error"},pagination:{first:"first_page",prev:"keyboard_arrow_left",next:"keyboard_arrow_right",last:"last_page"},rating:{icon:"grade"},stepper:{done:"check",active:"edit",error:"warning"},tabs:{left:"chevron_left",right:"chevron_right",up:"keyboard_arrow_up",down:"keyboard_arrow_down"},table:{arrowUp:"arrow_upward",warning:"warning",firstPage:"first_page",prevPage:"chevron_left",nextPage:"chevron_right",lastPage:"last_page"},tree:{icon:"play_arrow"},uploader:{done:"done",clear:"clear",add:"add_box",upload:"cloud_upload",removeQueue:"clear_all",removeUploaded:"done_all"}}});var{h:a,ref:T,computed:s,watch:j,isRef:Mu,toRaw:so,unref:Ru,reactive:jo,shallowReactive:Pu,nextTick:Ae,onActivated:Ht,onDeactivated:Bt,onBeforeMount:Nn,onMounted:je,onBeforeUnmount:ye,onUnmounted:Hn,onBeforeUpdate:ko,onUpdated:Au,inject:ht,provide:Qt,getCurrentInstance:U,markRaw:Hr,Transition:lt,TransitionGroup:$u,KeepAlive:pi,Teleport:Eu,useSSRContext:m0,withDirectives:$t,vShow:bi,defineComponent:Bu,createApp:Fu}=window.Vue;function st(e,t,o,r){return Object.defineProperty(e,t,{get:o,set:r,enumerable:!0}),e}function yi(e,t){for(let o in t)st(e,o,t[o]);return e}var kt=T(!1),bl;function vv(e,t){let o=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:o[5]||o[3]||o[1]||"",version:o[2]||o[4]||"0",versionNumber:o[4]||o[2]||"0",platform:t[0]||""}}function gv(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}var Vu="ontouchstart"in window||window.navigator.maxTouchPoints>0;function hv(e){let t=e.toLowerCase(),o=gv(t),r=vv(t,o),n={};r.browser&&(n[r.browser]=!0,n.version=r.version,n.versionNumber=parseInt(r.versionNumber,10)),r.platform&&(n[r.platform]=!0);let i=n.android||n.ios||n.bb||n.blackberry||n.ipad||n.iphone||n.ipod||n.kindle||n.playbook||n.silk||n["windows phone"];if(i===!0||t.indexOf("mobile")!==-1?n.mobile=!0:n.desktop=!0,n["windows phone"]&&(n.winphone=!0,delete n["windows phone"]),n.edga||n.edgios?(n.edge=!0,r.browser="edge"):n.crios?(n.chrome=!0,r.browser="chrome"):n.fxios?(n.firefox=!0,r.browser="firefox"):(n.ipod||n.ipad||n.iphone)&&(n.ios=!0),n.vivaldi&&(r.browser="vivaldi",n.vivaldi=!0),(n.chrome||n.opr||n.safari||n.vivaldi||n.mobile===!0&&n.ios!==!0&&i!==!0)&&(n.webkit=!0),n.edg?(r.browser="edgechromium",n.edgeChromium=!0):n.opr&&(r.browser="opera",n.opera=!0),n.safari&&(n.blackberry||n.bb?(r.browser="blackberry",n.blackberry=!0):n.playbook?(r.browser="playbook",n.playbook=!0):n.android?(r.browser="android",n.android=!0):n.kindle?(r.browser="kindle",n.kindle=!0):n.silk&&(r.browser="silk",n.silk=!0)),n.name=r.browser,n.platform=r.platform,t.indexOf("electron")!==-1)n.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)n.bex=!0;else{if(window.Capacitor!==void 0?(n.capacitor=!0,n.nativeMobile=!0,n.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(n.cordova=!0,n.nativeMobile=!0,n.nativeMobileWrapper="cordova"),kt.value===!0&&(bl={is:{...n}}),Vu===!0&&n.mac===!0&&(n.desktop===!0&&n.safari===!0||n.nativeMobile===!0&&n.android!==!0&&n.ios!==!0&&n.ipad!==!0)){delete n.mac,delete n.desktop;let l=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(n,{mobile:!0,ios:!0,platform:l,[l]:!0})}n.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete n.desktop,n.mobile=!0)}return n}var Lu=navigator.userAgent||navigator.vendor||window.opera,pv={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Me={userAgent:Lu,is:hv(Lu),has:{touch:Vu},within:{iframe:window.self!==window.top}},yl={install(e){let{$q:t}=e;kt.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Me),kt.value=!1}),t.platform=jo(this)):t.platform=this}};{let e;st(Me.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(yl,Me),kt.value===!0&&(Object.assign(yl,bl,pv),bl=null)}var qo=yl;var jt=(e,t)=>{let o=jo(e);for(let r in e)st(t,r,()=>o[r],n=>{o[r]=n});return t};var Je={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{let e=Object.defineProperty({},"passive",{get(){Object.assign(Je,{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 Ye(){}function Uo(e){return e.button===0}function bv(e){return e.button===1}function yv(e){return e.button===2}function xt(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 Sl(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();let t=[],o=e.target;for(;o;){if(t.push(o),o.tagName==="HTML")return t.push(document),t.push(window),t;o=o.parentElement}}var Sv=40,xv=800;function _v(e){let t=e.deltaX,o=e.deltaY;if((t||o)&&e.deltaMode){let r=e.deltaMode===1?Sv:xv;t*=r,o*=r}return e.shiftKey&&!t&&([o,t]=[t,o]),{x:t,y:o}}function rt(e){e.stopPropagation()}function ft(e){e.cancelable!==!1&&e.preventDefault()}function qe(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function Ko(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;let o=t===!0?r=>{r.__dragPrevented=!0,r.addEventListener("dragstart",ft,Je.notPassiveCapture)}:r=>{delete r.__dragPrevented,r.removeEventListener("dragstart",ft,Je.notPassiveCapture)};e.querySelectorAll("a, img").forEach(o)}function dt(e,t,o){let r=`__q_${t}_evt`;e[r]=e[r]!==void 0?e[r].concat(o):o,o.forEach(n=>{n[0].addEventListener(n[1],e[n[2]],Je[n[3]])})}function qt(e,t){let o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(r=>{r[0].removeEventListener(r[1],e[r[2]],Je[r[3]])}),e[o]=void 0)}var Du={listenOpts:Je,leftClick:Uo,middleClick:bv,rightClick:yv,position:xt,getEventPath:Sl,getMouseWheelDistance:_v,stop:rt,prevent:ft,stopAndPrevent:qe,preventDraggable:Ko};function Xt(e,t=250,o){let r=null;function n(){let i=arguments,l=()=>{r=null,o!==!0&&e.apply(this,i)};r!==null?clearTimeout(r):o===!0&&e.apply(this,i),r=setTimeout(l,t)}return n.cancel=()=>{r!==null&&clearTimeout(r)},n}var xl=["sm","md","lg","xl"],{passive:zu}=Je,Si=jt({width:0,height:0,name:"xs",sizes:{sm:600,md:1024,lg:1440,xl:1920},lt:{sm:!0,md:!0,lg:!0,xl:!0},gt:{xs:!1,sm:!1,md:!1,lg:!1},xs:!0,sm:!1,md:!1,lg:!1,xl:!1},{setSizes:Ye,setDebounce:Ye,install({$q:e,onSSRHydrated:t}){if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}let{visualViewport:o}=window,r=o||window,n=document.scrollingElement||document.documentElement,i=o===void 0||Me.is.mobile===!0?()=>[Math.max(window.innerWidth,n.clientWidth),Math.max(window.innerHeight,n.clientHeight)]:()=>[o.width*o.scale+window.innerWidth-n.clientWidth,o.height*o.scale+window.innerHeight-n.clientHeight],l=e.config.screen!==void 0&&e.config.screen.bodyClasses===!0;this.__update=g=>{let[v,m]=i();if(m!==this.height&&(this.height=m),v!==this.width)this.width=v;else if(g!==!0)return;let h=this.sizes;this.gt.xs=v>=h.sm,this.gt.sm=v>=h.md,this.gt.md=v>=h.lg,this.gt.lg=v>=h.xl,this.lt.sm=v<h.sm,this.lt.md=v<h.md,this.lt.lg=v<h.lg,this.lt.xl=v<h.xl,this.xs=this.lt.sm,this.sm=this.gt.xs===!0&&this.lt.md===!0,this.md=this.gt.sm===!0&&this.lt.lg===!0,this.lg=this.gt.md===!0&&this.lt.xl===!0,this.xl=this.gt.lg,h=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",h!==this.name&&(l===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${h}`)),this.name=h)};let u,d={},f=16;this.setSizes=g=>{xl.forEach(v=>{g[v]!==void 0&&(d[v]=g[v])})},this.setDebounce=g=>{f=g};let c=()=>{let g=getComputedStyle(document.body);g.getPropertyValue("--q-size-sm")&&xl.forEach(v=>{this.sizes[v]=parseInt(g.getPropertyValue(`--q-size-${v}`),10)}),this.setSizes=v=>{xl.forEach(m=>{v[m]&&(this.sizes[m]=v[m])}),this.__update(!0)},this.setDebounce=v=>{u!==void 0&&r.removeEventListener("resize",u,zu),u=v>0?Xt(this.__update,v):this.__update,r.addEventListener("resize",u,zu)},this.setDebounce(f),Object.keys(d).length!==0?(this.setSizes(d),d=void 0):this.__update(),l===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};kt.value===!0?t.push(c):c()}});var Ut=jt({isActive:!1,mode:!1},{__media:void 0,set(e){Ut.mode=e,e==="auto"?(Ut.__media===void 0&&(Ut.__media=window.matchMedia("(prefers-color-scheme: dark)"),Ut.__updateMedia=()=>{Ut.set("auto")},Ut.__media.addListener(Ut.__updateMedia)),e=Ut.__media.matches):Ut.__media!==void 0&&(Ut.__media.removeListener(Ut.__updateMedia),Ut.__media=void 0),Ut.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){Ut.set(Ut.isActive===!1)},install({$q:e,ssrContext:t}){let{dark:o}=e.config;e.dark=this,this.__installed!==!0&&this.set(o!==void 0?o:!1)}}),xi=Ut;var Ou=()=>!0;function Cv(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function wv(e){return e.startsWith("#")===!0&&(e=e.substring(1)),e.startsWith("/")===!1&&(e="/"+e),e.endsWith("/")===!0&&(e=e.substring(0,e.length-1)),"#"+e}function kv(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return Ou;let t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(Cv).map(wv)),()=>t.includes(window.location.hash)}var tn={__history:[],add:Ye,remove:Ye,install({$q:e}){if(this.__installed===!0)return;let{cordova:t,capacitor:o}=Me.is;if(t!==!0&&o!==!0)return;let r=e.config[t===!0?"cordova":"capacitor"];if(r!==void 0&&r.backButton===!1||o===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=l=>{l.condition===void 0&&(l.condition=Ou),this.__history.push(l)},this.remove=l=>{let u=this.__history.indexOf(l);u>=0&&this.__history.splice(u,1)};let n=kv(Object.assign({backButtonExit:!0},r)),i=()=>{if(this.__history.length){let l=this.__history[this.__history.length-1];l.condition()===!0&&(this.__history.pop(),l.handler())}else n()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",i,!1)}):window.Capacitor.Plugins.App.addListener("backButton",i)}};var Qr=Tu(Nu());function Hu(){let e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,o)=>o===0?t.toLowerCase():o>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}var To=jt({__langPack:{}},{getLocale:Hu,set(e=Qr.default,t){let o={...e,rtl:e.rtl===!0,getLocale:Hu};if(o.set=To.set,To.__langConfig===void 0||To.__langConfig.noHtmlAttrs!==!0){let r=document.documentElement;r.setAttribute("dir",o.rtl===!0?"rtl":"ltr"),r.setAttribute("lang",o.isoName)}Object.assign(To.__langPack,o),To.props=o,To.isoName=o.isoName,To.nativeName=o.nativeName},install({$q:e,lang:t,ssrContext:o}){e.lang=To.__langPack,To.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):this.set(t||Qr.default)}}),xn=To;function jr(e,t,o=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(o instanceof Element))throw new TypeError("Expected a DOM element");o.style.setProperty(`--q-${e}`,t)}var Qu=!1;function ju(e){Qu=e.isComposing===!0}function no(e){return Qu===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Tt(e,t){return no(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Uu(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function qv({is:e,has:t,within:o},r){let n=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){let i=Uu(e);i!==void 0&&n.push("platform-"+i)}if(e.nativeMobile===!0){let i=e.nativeMobileWrapper;n.push(i),n.push("native-mobile"),e.ios===!0&&(r[i]===void 0||r[i].iosStatusBarPadding!==!1)&&n.push("q-ios-padding")}else e.electron===!0?n.push("electron"):e.bex===!0&&n.push("bex");return o.iframe===!0&&n.push("within-iframe"),n}function Tv(){let{is:e}=Me,t=document.body.className,o=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)o.delete("mobile"),o.delete("platform-ios"),o.delete("platform-android"),o.add("desktop");else if(e.mobile===!0){o.delete("desktop"),o.add("mobile"),o.delete("platform-ios"),o.delete("platform-android");let n=Uu(e);n!==void 0&&o.add(`platform-${n}`)}}Me.has.touch===!0&&(o.delete("no-touch"),o.add("touch")),Me.within.iframe===!0&&o.add("within-iframe");let r=Array.from(o).join(" ");t!==r&&(document.body.className=r)}function Mv(e){for(let t in e)jr(t,e[t])}var Ku={install(e){if(this.__installed!==!0){if(kt.value===!0)Tv();else{let{$q:t}=e;t.config.brand!==void 0&&Mv(t.config.brand);let o=qv(Me,t.config);document.body.classList.add.apply(document.body.classList,o)}Me.is.ios===!0&&document.body.addEventListener("touchstart",Ye),window.addEventListener("keydown",ju,!0)}}};var Xu=Tu(Yu()),_l=jt({iconMapFn:null,__icons:{}},{set(e,t){let o={...e,rtl:e.rtl===!0};o.set=_l.set,Object.assign(_l.__icons,o)},install({$q:e,iconSet:t,ssrContext:o}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__icons,st(e,"iconMapFn",()=>this.iconMapFn,r=>{this.iconMapFn=r}),this.__installed===!0?t!==void 0&&this.set(t):this.set(t||Xu.default)}}),_i=_l;var Ci="_q_",wi="_q_t_",ki="_q_s_",Gt="_q_l_",qi="_q_pc_",Ti="_q_f_",Wo="_q_fo_",Mi="_q_tabs_",Ri="_q_u_",Ze=()=>{};var Qn={},Cl=!1;function Gu(){Cl=!0}function Kt(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,r;if(e.constructor===Array){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(Kt(e[r],t[r])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let i=e.entries();for(r=i.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=i.next()}for(i=e.entries(),r=i.next();r.done!==!0;){if(Kt(r.value[1],t.get(r.value[0]))!==!0)return!1;r=i.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;let i=e.entries();for(r=i.next();r.done!==!0;){if(t.has(r.value[0])!==!0)return!1;r=i.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(o=e.length,o!==t.length)return!1;for(r=o;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e).filter(i=>e[i]!==void 0);if(o=n.length,o!==Object.keys(t).filter(i=>t[i]!==void 0).length)return!1;for(r=o;r--!==0;){let i=n[r];if(Kt(e[i],t[i])!==!0)return!1}return!0}return e!==e&&t!==t}function ct(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Yo(e){return Object.prototype.toString.call(e)==="[object Date]"}function wl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function co(e){return typeof e=="number"&&isFinite(e)}var Zu={deepEqual:Kt,object:ct,date:Yo,regexp:wl,number:co};var Ju=[qo,Ku,xi,Si,tn,xn,_i];function on(e,t){let o=Fu(e);o.config.globalProperties=t.config.globalProperties;let{reload:r,...n}=t._context;return Object.assign(o._context,n),o}function es(e,t){t.forEach(o=>{o.install(e),o.__installed=!0})}function Rv(e,t,o){e.config.globalProperties.$q=o.$q,e.provide(Ci,o.$q),es(o,Ju),t.components!==void 0&&Object.values(t.components).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.component(r.name,r)}),t.directives!==void 0&&Object.values(t.directives).forEach(r=>{ct(r)===!0&&r.name!==void 0&&e.directive(r.name,r)}),t.plugins!==void 0&&es(o,Object.values(t.plugins).filter(r=>typeof r.install=="function"&&Ju.includes(r)===!1)),kt.value===!0&&(o.$q.onSSRHydrated=()=>{o.onSSRHydrated.forEach(r=>{r()}),o.$q.onSSRHydrated=()=>{}})}var ts=function(e,t={}){let o={version:"2.14.7"};Cl===!1?(t.config!==void 0&&Object.assign(Qn,t.config),o.config={...Qn},Gu()):o.config=t.config||{},Rv(e,t,{parentApp:e,$q:o,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})};var el={};Nr(el,{QAjaxBar:()=>Ai,QAvatar:()=>Ei,QBadge:()=>ds,QBanner:()=>fs,QBar:()=>ms,QBreadcrumbs:()=>hs,QBreadcrumbsEl:()=>Ss,QBtn:()=>Oe,QBtnDropdown:()=>ji,QBtnGroup:()=>tr,QBtnToggle:()=>zs,QCard:()=>hr,QCardActions:()=>Ui,QCardSection:()=>bo,QCarousel:()=>Is,QCarouselControl:()=>Hs,QCarouselSlide:()=>Ns,QChatMessage:()=>Qs,QCheckbox:()=>Do,QChip:()=>qr,QCircularProgress:()=>Tr,QColor:()=>oc,QDate:()=>hc,QDialog:()=>Io,QDrawer:()=>wc,QEditor:()=>Bc,QExpansionItem:()=>Fc,QFab:()=>Lc,QFabAction:()=>Dc,QField:()=>ka,QFile:()=>Ic,QFooter:()=>Nc,QForm:()=>Hc,QFormChildMixin:()=>Qc,QHeader:()=>jc,QIcon:()=>Re,QImg:()=>Uc,QInfiniteScroll:()=>Kc,QInnerLoading:()=>Wc,QInput:()=>Br,QIntersection:()=>nd,QItem:()=>No,QItemLabel:()=>Ln,QItemSection:()=>oo,QKnob:()=>id,QLayout:()=>ld,QLinearProgress:()=>Ha,QList:()=>Ba,QMarkupTable:()=>Fa,QMenu:()=>Fo,QNoSsr:()=>ud,QOptionGroup:()=>Da,QPage:()=>cd,QPageContainer:()=>dd,QPageScroller:()=>fd,QPageSticky:()=>md,QPagination:()=>vd,QParallax:()=>gd,QPopupEdit:()=>hd,QPopupProxy:()=>pd,QPullToRefresh:()=>yd,QRadio:()=>La,QRange:()=>Sd,QRating:()=>xd,QResizeObserver:()=>to,QResponsive:()=>_d,QRouteTab:()=>$f,QScrollArea:()=>qd,QScrollObserver:()=>Fr,QSelect:()=>Ua,QSeparator:()=>io,QSkeleton:()=>Ad,QSlideItem:()=>Ed,QSlideTransition:()=>gn,QSlider:()=>Go,QSpace:()=>Bd,QSpinner:()=>Ct,QSpinnerAudio:()=>Fd,QSpinnerBall:()=>Ld,QSpinnerBars:()=>Vd,QSpinnerBox:()=>Dd,QSpinnerClock:()=>zd,QSpinnerComment:()=>Od,QSpinnerCube:()=>Id,QSpinnerDots:()=>Nd,QSpinnerFacebook:()=>Hd,QSpinnerGears:()=>Qd,QSpinnerGrid:()=>jd,QSpinnerHearts:()=>Ud,QSpinnerHourglass:()=>Kd,QSpinnerInfinity:()=>Wd,QSpinnerIos:()=>Yd,QSpinnerOrbit:()=>Xd,QSpinnerOval:()=>Gd,QSpinnerPie:()=>Zd,QSpinnerPuff:()=>Jd,QSpinnerRadio:()=>ef,QSpinnerRings:()=>tf,QSpinnerTail:()=>of,QSplitter:()=>nf,QStep:()=>lf,QStepper:()=>uf,QStepperNavigation:()=>sf,QTab:()=>cn,QTabPanel:()=>Mr,QTabPanels:()=>aa,QTable:()=>Rf,QTabs:()=>ni,QTd:()=>Af,QTh:()=>Wa,QTime:()=>Ef,QTimeline:()=>Bf,QTimelineEntry:()=>Ff,QToggle:()=>Va,QToolbar:()=>Lf,QToolbarTitle:()=>Vf,QTooltip:()=>Sa,QTr:()=>Pf,QTree:()=>Df,QUploader:()=>Hf,QUploaderAddTrigger:()=>Qf,QVideo:()=>jf,QVirtualScroll:()=>Xa});var A=e=>Hr(Bu(e)),Pt=e=>Hr(e);var os=["B","KB","MB","GB","TB","PB"];function jn(e){let t=0;for(;parseInt(e,10)>=1024&&t<os.length-1;)e/=1024,++t;return`${e.toFixed(1)}${os[t]}`}function kl(e){return e.charAt(0).toUpperCase()+e.slice(1)}function tt(e,t,o){return o<=t?t:Math.min(o,Math.max(t,e))}function _n(e,t,o){if(o<=t)return t;let r=o-t+1,n=t+(e-t)%r;return n<t&&(n=r+n),n===0?0:n}function ot(e,t=2,o="0"){if(e==null)return e;let r=""+e;return r.length>=t?r:new Array(t-r.length+1).join(o)+r}var ns={humanStorageSize:jn,capitalize:kl,between:tt,normalizeToInterval:_n,pad:ot};var ql=XMLHttpRequest,rs=ql.prototype.open,Pv=["top","right","bottom","left"],Pi=[],Ur=0;function Av({p:e,pos:t,active:o,horiz:r,reverse:n,dir:i}){let l=1,u=1;return r===!0?(n===!0&&(l=-1),t==="bottom"&&(u=-1),{transform:`translate3d(${l*(e-100)}%,${o?0:u*-200}%,0)`}):(n===!0&&(u=-1),t==="right"&&(l=-1),{transform:`translate3d(${o?0:i*l*-200}%,${u*(e-100)}%,0)`})}function $v(e,t){return typeof t!="number"&&(e<25?t=Math.random()*3+3:e<65?t=Math.random()*3:e<85?t=Math.random()*2:e<99?t=.6:t=0),tt(e+t,0,100)}function Ev(e){Ur++,Pi.push(e),!(Ur>1)&&(ql.prototype.open=function(t,o){let r=[],n=()=>{Pi.forEach(l=>{(l.hijackFilter.value===null||l.hijackFilter.value(o)===!0)&&(l.start(),r.push(l.stop))})},i=()=>{r.forEach(l=>{l()})};this.addEventListener("loadstart",n,{once:!0}),this.addEventListener("loadend",i,{once:!0}),rs.apply(this,arguments)})}function Bv(e){Pi=Pi.filter(t=>t.start!==e),Ur=Math.max(0,Ur-1),Ur===0&&(ql.prototype.open=rs)}var Ai=A({name:"QAjaxBar",props:{position:{type:String,default:"top",validator:e=>Pv.includes(e)},size:{type:String,default:"2px"},color:String,skipHijack:Boolean,reverse:Boolean,hijackFilter:Function},emits:["start","stop"],setup(e,{emit:t}){let{proxy:o}=U(),r=T(0),n=T(!1),i=T(!0),l=0,u=null,d,f=s(()=>`q-loading-bar q-loading-bar--${e.position}`+(e.color!==void 0?` bg-${e.color}`:"")+(i.value===!0?"":" no-transition")),c=s(()=>e.position==="top"||e.position==="bottom"),g=s(()=>c.value===!0?"height":"width"),v=s(()=>{let b=n.value,p=Av({p:r.value,pos:e.position,active:b,horiz:c.value,reverse:o.$q.lang.rtl===!0&&["top","bottom"].includes(e.position)?e.reverse===!1:e.reverse,dir:o.$q.lang.rtl===!0?-1:1});return p[g.value]=e.size,p.opacity=b?1:0,p}),m=s(()=>n.value===!0?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":r.value}:{"aria-hidden":"true"});function h(b=300){let p=d;return d=Math.max(0,b)||0,l++,l>1?(p===0&&b>0?q():u!==null&&p>0&&b<=0&&(clearTimeout(u),u=null),l):(u!==null&&clearTimeout(u),t("start"),r.value=0,u=setTimeout(()=>{u=null,i.value=!0,b>0&&q()},n._value===!0?500:1),n._value!==!0&&(n.value=!0,i.value=!1),l)}function C(b){return l>0&&(r.value=$v(r.value,b)),l}function y(){if(l=Math.max(0,l-1),l>0)return l;u!==null&&(clearTimeout(u),u=null),t("stop");let b=()=>{i.value=!0,r.value=100,u=setTimeout(()=>{u=null,n.value=!1},1e3)};return r.value===0?u=setTimeout(b,1):b(),l}function q(){r.value<100&&(u=setTimeout(()=>{u=null,C(),q()},d))}let S;return je(()=>{e.skipHijack!==!0&&(S=!0,Ev({start:h,stop:y,hijackFilter:s(()=>e.hijackFilter||null)}))}),ye(()=>{u!==null&&clearTimeout(u),S===!0&&Bv(h)}),Object.assign(o,{start:h,stop:y,increment:C}),()=>a("div",{class:f.value,style:v.value,...m.value})}});var $i={xs:18,sm:24,md:32,lg:38,xl:46},Lt={size:String};function Vt(e,t=$i){return s(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function ie(e,t){return e!==void 0&&e()||t}function Mo(e,t){if(e!==void 0){let o=e();if(o!=null)return o.slice()}return t}function Xe(e,t){return e!==void 0?t.concat(e()):t}function Un(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Mt(e,t,o,r,n,i){t.key=r+n;let l=a(e,t,o);return n===!0?$t(l,i()):l}var is="0 0 24 24",as=e=>e,Tl=e=>`ionicons ${e}`,us={"mdi-":e=>`mdi ${e}`,"icon-":as,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Tl,"ion-ios":Tl,"ion-logo":Tl,"iconfont ":as,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},ss={o_:"-outlined",r_:"-round",s_:"-sharp"},cs={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Fv=new RegExp("^("+Object.keys(us).join("|")+")"),Lv=new RegExp("^("+Object.keys(ss).join("|")+")"),ls=new RegExp("^("+Object.keys(cs).join("|")+")"),Vv=/^[Mm]\s?[-+]?\.?\d/,Dv=/^img:/,zv=/^svguse:/,Ov=/^ion-/,Iv=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Re=A({name:"QIcon",props:{...Lt,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Vt(e),n=s(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),i=s(()=>{let l,u=e.name;if(u==="none"||!u)return{none:!0};if(o.iconMapFn!==null){let c=o.iconMapFn(u);if(c!==void 0)if(c.icon!==void 0){if(u=c.icon,u==="none"||!u)return{none:!0}}else return{cls:c.cls,content:c.content!==void 0?c.content:" "}}if(Vv.test(u)===!0){let[c,g=is]=u.split("|");return{svg:!0,viewBox:g,nodes:c.split("&&").map(v=>{let[m,h,C]=v.split("@@");return a("path",{style:h,d:m,transform:C})})}}if(Dv.test(u)===!0)return{img:!0,src:u.substring(4)};if(zv.test(u)===!0){let[c,g=is]=u.split("|");return{svguse:!0,src:c.substring(7),viewBox:g}}let d=" ",f=u.match(Fv);if(f!==null)l=us[f[1]](u);else if(Iv.test(u)===!0)l=u;else if(Ov.test(u)===!0)l=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${u.substring(3)}`;else if(ls.test(u)===!0){l="notranslate material-symbols";let c=u.match(ls);c!==null&&(u=u.substring(6),l+=cs[c[1]]),d=u}else{l="notranslate material-icons";let c=u.match(Lv);c!==null&&(u=u.substring(2),l+=ss[c[1]]),d=u}return{cls:l,content:d}});return()=>{let l={class:n.value,style:r.value,"aria-hidden":"true",role:"presentation"};return i.value.none===!0?a(e.tag,l,ie(t.default)):i.value.img===!0?a(e.tag,l,Xe(t.default,[a("img",{src:i.value.src})])):i.value.svg===!0?a(e.tag,l,Xe(t.default,[a("svg",{viewBox:i.value.viewBox||"0 0 24 24"},i.value.nodes)])):i.value.svguse===!0?a(e.tag,l,Xe(t.default,[a("svg",{viewBox:i.value.viewBox},[a("use",{"xlink:href":i.value.src})])])):(i.value.cls!==void 0&&(l.class+=" "+i.value.cls),a(e.tag,l,Xe(t.default,[i.value.content])))}}});var Ei=A({name:"QAvatar",props:{...Lt,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){let o=Vt(e),r=s(()=>"q-avatar"+(e.color?` bg-${e.color}`:"")+(e.textColor?` text-${e.textColor} q-chip--colored`:"")+(e.square===!0?" q-avatar--square":e.rounded===!0?" rounded-borders":"")),n=s(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{let i=e.icon!==void 0?[a(Re,{name:e.icon})]:void 0;return a("div",{class:r.value,style:o.value},[a("div",{class:"q-avatar__content row flex-center overflow-hidden",style:n.value},Un(t.default,i))])}}});var Nv=["top","middle","bottom"],ds=A({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>Nv.includes(e)}},setup(e,{slots:t}){let o=s(()=>e.align!==void 0?{verticalAlign:e.align}:null),r=s(()=>{let n=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(n!==void 0?` text-${n}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>a("div",{class:r.value,style:o.value,role:"status","aria-label":e.label},Xe(t.default,e.label!==void 0?[e.label]:[]))}});var Ce={dark:{type:Boolean,default:null}};function we(e,t){return s(()=>e.dark===null?t.dark.isActive:e.dark)}var fs=A({name:"QBanner",props:{...Ce,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=we(e,o),n=s(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(r.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),i=s(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{let l=[a("div",{class:"q-banner__avatar col-auto row items-center self-start"},ie(t.avatar)),a("div",{class:"q-banner__content col text-body2"},ie(t.default))],u=ie(t.action);return u!==void 0&&l.push(a("div",{class:i.value},u)),a("div",{class:n.value+(e.inlineActions===!1&&u!==void 0?" q-banner--top-padding":""),role:"alert"},l)}}});var ms=A({name:"QBar",props:{...Ce,dense:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=we(e,o),n=s(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?"dense":"standard"} q-bar--${r.value===!0?"dark":"light"}`);return()=>a("div",{class:n.value,role:"toolbar"},ie(t.default))}});var vs={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Hv=Object.keys(vs),Kn={align:{type:String,validator:e=>Hv.includes(e)}};function Wn(e){return s(()=>{let t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${vs[t]}`})}function Kr(e){if(Object(e.$parent)===e.$parent)return e.$parent;let{parent:t}=e.$;for(;Object(t)===t;){if(Object(t.proxy)===t.proxy)return t.proxy;t=t.parent}}function gs(e,t){typeof t.type=="symbol"?Array.isArray(t.children)===!0&&t.children.forEach(o=>{gs(e,o)}):e.add(t)}function Yn(e){let t=new Set;return e.forEach(o=>{gs(t,o)}),Array.from(t)}function Xn(e){return e.appContext.config.globalProperties.$router!==void 0}function Zt(e){return e.isUnmounted===!0||e.isDeactivated===!0}var Qv=["",!0],hs=A({name:"QBreadcrumbs",props:{...Kn,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:e=>["none","xs","sm","md","lg","xl"].includes(e),default:"sm"}},setup(e,{slots:t}){let o=Wn(e),r=s(()=>`flex items-center ${o.value}${e.gutter==="none"?"":` q-gutter-${e.gutter}`}`),n=s(()=>e.separatorColor?` text-${e.separatorColor}`:""),i=s(()=>` text-${e.activeColor}`);return()=>{let l=Yn(ie(t.default));if(l.length===0)return;let u=1,d=[],f=l.filter(g=>g.type!==void 0&&g.type.name==="QBreadcrumbsEl").length,c=t.separator!==void 0?t.separator:()=>e.separator;return l.forEach(g=>{if(g.type!==void 0&&g.type.name==="QBreadcrumbsEl"){let v=u<f,m=g.props!==null&&Qv.includes(g.props.disable),h=(v===!0?"":" q-breadcrumbs--last")+(m!==!0&&v===!0?i.value:"");u++,d.push(a("div",{class:`flex items-center${h}`},[g])),v===!0&&d.push(a("div",{class:"q-breadcrumbs__separator"+n.value},c()))}else d.push(g)}),a("div",{class:"q-breadcrumbs"},[a("div",{class:r.value},d)])}}});function ps(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function bs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jv(e,t){for(let o in t){let r=t[o],n=e[o];if(typeof r=="string"){if(r!==n)return!1}else if(Array.isArray(n)===!1||n.length!==r.length||r.some((i,l)=>i!==n[l]))return!1}return!0}function ys(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((o,r)=>o===t[r]):e.length===1&&e[0]===t}function Uv(e,t){return Array.isArray(e)===!0?ys(e,t):Array.isArray(t)===!0?ys(t,e):e===t}function Kv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let o in e)if(Uv(e[o],t[o])===!1)return!1;return!0}var po={to:[String,Object],replace:Boolean,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"},href:String,target:String,disable:Boolean};function nn({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){let o=U(),{props:r,proxy:n,emit:i}=o,l=Xn(o),u=s(()=>r.disable!==!0&&r.href!==void 0),d=t===!0?s(()=>l===!0&&r.disable!==!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""):s(()=>l===!0&&u.value!==!0&&r.to!==void 0&&r.to!==null&&r.to!==""),f=s(()=>d.value===!0?S(r.to):null),c=s(()=>f.value!==null),g=s(()=>u.value===!0||c.value===!0),v=s(()=>r.type==="a"||g.value===!0?"a":r.tag||e||"div"),m=s(()=>u.value===!0?{href:r.href,target:r.target}:c.value===!0?{href:f.value.href,target:r.target}:{}),h=s(()=>{if(c.value===!1)return-1;let{matched:k}=f.value,{length:$}=k,F=k[$-1];if(F===void 0)return-1;let D=n.$route.matched;if(D.length===0)return-1;let L=D.findIndex(bs.bind(null,F));if(L!==-1)return L;let B=ps(k[$-2]);return $>1&&ps(F)===B&&D[D.length-1].path!==B?D.findIndex(bs.bind(null,k[$-2])):L}),C=s(()=>c.value===!0&&h.value!==-1&&jv(n.$route.params,f.value.params)),y=s(()=>C.value===!0&&h.value===n.$route.matched.length-1&&Kv(n.$route.params,f.value.params)),q=s(()=>c.value===!0?y.value===!0?` ${r.exactActiveClass} ${r.activeClass}`:r.exact===!0?"":C.value===!0?` ${r.activeClass}`:"":"");function S(k){try{return n.$router.resolve(k)}catch{}return null}function b(k,{returnRouterError:$,to:F=r.to,replace:D=r.replace}={}){if(r.disable===!0)return k.preventDefault(),Promise.resolve(!1);if(k.metaKey||k.altKey||k.ctrlKey||k.shiftKey||k.button!==void 0&&k.button!==0||r.target==="_blank")return Promise.resolve(!1);k.preventDefault();let L=n.$router[D===!0?"replace":"push"](F);return $===!0?L:L.then(()=>{}).catch(()=>{})}function p(k){if(c.value===!0){let $=F=>b(k,F);i("click",k,$),k.defaultPrevented!==!0&&$()}else i("click",k)}return{hasRouterLink:c,hasHrefLink:u,hasLink:g,linkTag:v,resolvedLink:f,linkIsActive:C,linkIsExactActive:y,linkClass:q,linkAttrs:m,getLink:S,navigateToRouterLink:b,navigateOnClick:p}}var Ss=A({name:"QBreadcrumbsEl",props:{...po,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:t}){let{linkTag:o,linkAttrs:r,linkClass:n,navigateOnClick:i}=nn(),l=s(()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(e.disable!==!0?"q-link--focusable"+n.value:"q-breadcrumbs__el--disable"),...r.value,onClick:i})),u=s(()=>"q-breadcrumbs__el-icon"+(e.label!==void 0?" q-breadcrumbs__el-icon--with-label":""));return()=>{let d=[];return e.icon!==void 0&&d.push(a(Re,{class:u.value,name:e.icon})),e.label!==void 0&&d.push(e.label),a(o.value,{...l.value},Xe(t.default,d))}}});var Qe={size:{type:[Number,String],default:"1em"},color:String};function Ne(e){return{cSize:s(()=>e.size in $i?`${$i[e.size]}px`:e.size),classes:s(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}var Ct=A({name:"QSpinner",props:{...Qe,thickness:{type:Number,default:5}},setup(e){let{cSize:t,classes:o}=Ne(e);return()=>a("svg",{class:o.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 Cn(e){if(e===window)return{top:0,left:0};let{top:t,left:o}=e.getBoundingClientRect();return{top:t,left:o}}function Wv(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function Ro(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function Yv(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function wn(e,t){let o=e.style;for(let r in t)o[r]=t[r]}function Xv(e,t){e.forEach(o=>wn(o,t))}function Gv(e){if(typeof e=="function"){if(document.readyState!=="loading")return e();document.addEventListener("DOMContentLoaded",e,!1)}}function xs(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}let t=Ru(e);if(t)return t.$el||t}function Bi(e,t){if(e==null||e.contains(t)===!0)return!0;for(let o=e.nextElementSibling;o!==null;o=o.nextElementSibling)if(o.contains(t))return!0;return!1}var _s={offset:Cn,style:Wv,height:Ro,width:Yv,css:wn,cssBatch:Xv,ready:Gv};function Gn(e,t=250){let o=!1,r;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),r=e.apply(this,arguments)),r}}function Cs(e,t,o,r){o.modifiers.stop===!0&&rt(e);let n=o.modifiers.color,i=o.modifiers.center;i=i===!0||r===!0;let l=document.createElement("span"),u=document.createElement("span"),d=xt(e),{left:f,top:c,width:g,height:v}=t.getBoundingClientRect(),m=Math.sqrt(g*g+v*v),h=m/2,C=`${(g-m)/2}px`,y=i?C:`${d.left-f-h}px`,q=`${(v-m)/2}px`,S=i?q:`${d.top-c-h}px`;u.className="q-ripple__inner",wn(u,{height:`${m}px`,width:`${m}px`,transform:`translate3d(${y},${S},0) scale3d(.2,.2,1)`,opacity:0}),l.className=`q-ripple${n?" text-"+n:""}`,l.setAttribute("dir","ltr"),l.appendChild(u),t.appendChild(l);let b=()=>{l.remove(),clearTimeout(p)};o.abort.push(b);let p=setTimeout(()=>{u.classList.add("q-ripple__inner--enter"),u.style.transform=`translate3d(${C},${q},0) scale3d(1,1,1)`,u.style.opacity=.2,p=setTimeout(()=>{u.classList.remove("q-ripple__inner--enter"),u.classList.add("q-ripple__inner--leave"),u.style.opacity=0,p=setTimeout(()=>{l.remove(),o.abort.splice(o.abort.indexOf(b),1)},275)},250)},50)}function ws(e,{modifiers:t,value:o,arg:r}){let n=Object.assign({},e.cfg.ripple,t,o);e.modifiers={early:n.early===!0,stop:n.stop===!0,center:n.center===!0,color:n.color||r,keyCodes:[].concat(n.keyCodes||13)}}var Po=Pt({name:"ripple",beforeMount(e,t){let o=t.instance.$.appContext.config.globalProperties.$q.config||{};if(o.ripple===!1)return;let r={cfg:o,enabled:t.value!==!1,modifiers:{},abort:[],start(n){r.enabled===!0&&n.qSkipRipple!==!0&&n.type===(r.modifiers.early===!0?"pointerdown":"click")&&Cs(n,e,r,n.qKeyEvent===!0)},keystart:Gn(n=>{r.enabled===!0&&n.qSkipRipple!==!0&&Tt(n,r.modifiers.keyCodes)===!0&&n.type===`key${r.modifiers.early===!0?"down":"up"}`&&Cs(n,e,r,!0)},300)};ws(r,t),e.__qripple=r,dt(r,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){let o=e.__qripple;o!==void 0&&(o.enabled=t.value!==!1,o.enabled===!0&&Object(t.value)===t.value&&ws(o,t))}},beforeUnmount(e){let t=e.__qripple;t!==void 0&&(t.abort.forEach(o=>{o()}),qt(t,"main"),delete e._qripple)}});var Wr={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Zv={xs:8,sm:10,md:14,lg:20,xl:24},Jv=["button","submit","reset"],eg=/[^\s]\/[^\s]/,Ml=["flat","outline","push","unelevated"],Fi=(e,t)=>e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t,Li=e=>{let t=Fi(e);return t!==void 0?{[t]:!0}:{}},Yr={...Lt,...po,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Ml.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,round: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:{...Kn.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean};function ks(e){let t=Vt(e,Zv),o=Wn(e),{hasRouterLink:r,hasLink:n,linkTag:i,linkAttrs:l,navigateOnClick:u}=nn({fallbackTag:"button"}),d=s(()=>{let y=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},y,{padding:e.padding.split(/\s+/).map(q=>q in Wr?Wr[q]+"px":q).join(" "),minWidth:"0",minHeight:"0"}):y}),f=s(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),c=s(()=>e.disable!==!0&&e.loading!==!0),g=s(()=>c.value===!0?e.tabindex||0:-1),v=s(()=>Fi(e,"standard")),m=s(()=>{let y={tabindex:g.value};return n.value===!0?Object.assign(y,l.value):Jv.includes(e.type)===!0&&(y.type=e.type),i.value==="a"?(e.disable===!0?y["aria-disabled"]="true":y.href===void 0&&(y.role="button"),r.value!==!0&&eg.test(e.type)===!0&&(y.type=e.type)):e.disable===!0&&(y.disabled="",y["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(y,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),y}),h=s(()=>{let y;e.color!==void 0?e.flat===!0||e.outline===!0?y=`text-${e.textColor||e.color}`:y=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(y=`text-${e.textColor}`);let q=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${v.value} q-btn--${q}`+(y!==void 0?" "+y:"")+(c.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),C=s(()=>o.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:h,style:d,innerClasses:C,attributes:m,hasLink:n,linkTag:i,navigateOnClick:u,isActionable:c}}var{passiveCapture:fo}=Je,Zn=null,Jn=null,er=null,Oe=A({name:"QBtn",props:{...Yr,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{classes:n,style:i,innerClasses:l,attributes:u,hasLink:d,linkTag:f,navigateOnClick:c,isActionable:g}=ks(e),v=T(null),m=T(null),h=null,C,y=null,q=s(()=>e.label!==void 0&&e.label!==null&&e.label!==""),S=s(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:d.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),b=s(()=>({center:e.round})),p=s(()=>{let R=Math.max(0,Math.min(100,e.percentage));return R>0?{transition:"transform 0.6s",transform:`translateX(${R-100}%)`}:{}}),k=s(()=>{if(e.loading===!0)return{onMousedown:_,onTouchstart:_,onClick:_,onKeydown:_,onKeyup:_};if(g.value===!0){let R={onClick:F,onKeydown:D,onMousedown:B};if(r.$q.platform.has.touch===!0){let N=e.onTouchstart!==void 0?"":"Passive";R[`onTouchstart${N}`]=L}return R}return{onClick:qe}}),$=s(()=>({ref:v,class:"q-btn q-btn-item non-selectable no-outline "+n.value,style:i.value,...u.value,...k.value}));function F(R){if(v.value!==null){if(R!==void 0){if(R.defaultPrevented===!0)return;let N=document.activeElement;if(e.type==="submit"&&N!==document.body&&v.value.contains(N)===!1&&N.contains(v.value)===!1){v.value.focus();let X=()=>{document.removeEventListener("keydown",qe,!0),document.removeEventListener("keyup",X,fo),v.value!==null&&v.value.removeEventListener("blur",X,fo)};document.addEventListener("keydown",qe,!0),document.addEventListener("keyup",X,fo),v.value.addEventListener("blur",X,fo)}}c(R)}}function D(R){v.value!==null&&(o("keydown",R),Tt(R,[13,32])===!0&&Jn!==v.value&&(Jn!==null&&E(),R.defaultPrevented!==!0&&(v.value.focus(),Jn=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("keyup",V,!0),v.value.addEventListener("blur",V,fo)),qe(R)))}function L(R){v.value!==null&&(o("touchstart",R),R.defaultPrevented!==!0&&(Zn!==v.value&&(Zn!==null&&E(),Zn=v.value,h=R.target,h.addEventListener("touchcancel",V,fo),h.addEventListener("touchend",V,fo)),C=!0,y!==null&&clearTimeout(y),y=setTimeout(()=>{y=null,C=!1},200)))}function B(R){v.value!==null&&(R.qSkipRipple=C===!0,o("mousedown",R),R.defaultPrevented!==!0&&er!==v.value&&(er!==null&&E(),er=v.value,v.value.classList.add("q-btn--active"),document.addEventListener("mouseup",V,fo)))}function V(R){if(v.value!==null&&!(R!==void 0&&R.type==="blur"&&document.activeElement===v.value)){if(R!==void 0&&R.type==="keyup"){if(Jn===v.value&&Tt(R,[13,32])===!0){let N=new MouseEvent("click",R);N.qKeyEvent=!0,R.defaultPrevented===!0&&ft(N),R.cancelBubble===!0&&rt(N),v.value.dispatchEvent(N),qe(R),R.qKeyEvent=!0}o("keyup",R)}E()}}function E(R){let N=m.value;R!==!0&&(Zn===v.value||er===v.value)&&N!==null&&N!==document.activeElement&&(N.setAttribute("tabindex",-1),N.focus()),Zn===v.value&&(h!==null&&(h.removeEventListener("touchcancel",V,fo),h.removeEventListener("touchend",V,fo)),Zn=h=null),er===v.value&&(document.removeEventListener("mouseup",V,fo),er=null),Jn===v.value&&(document.removeEventListener("keyup",V,!0),v.value!==null&&v.value.removeEventListener("blur",V,fo),Jn=null),v.value!==null&&v.value.classList.remove("q-btn--active")}function _(R){qe(R),R.qSkipRipple=!0}return ye(()=>{E(!0)}),Object.assign(r,{click:F}),()=>{let R=[];e.icon!==void 0&&R.push(a(Re,{name:e.icon,left:e.stack!==!0&&q.value===!0,role:"img","aria-hidden":"true"})),q.value===!0&&R.push(a("span",{class:"block"},[e.label])),R=Xe(t.default,R),e.iconRight!==void 0&&e.round===!1&&R.push(a(Re,{name:e.iconRight,right:e.stack!==!0&&q.value===!0,role:"img","aria-hidden":"true"}));let N=[a("span",{class:"q-focus-helper",ref:m})];return e.loading===!0&&e.percentage!==void 0&&N.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:p.value})])),N.push(a("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+l.value},R)),e.loading!==null&&N.push(a(lt,{name:"q-transition--fade"},()=>e.loading===!0?[a("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[a(Ct)])]:null)),$t(a(f.value,$.value,N),[[Po,S.value,void 0,b.value]])}}});var tr=A({name:"QBtnGroup",props:{unelevated:Boolean,outline:Boolean,flat:Boolean,rounded:Boolean,square:Boolean,push:Boolean,stretch:Boolean,glossy:Boolean,spread:Boolean},setup(e,{slots:t}){let o=s(()=>{let r=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter(n=>e[n]===!0).map(n=>`q-btn-group--${n}`).join(" ");return`q-btn-group row no-wrap${r.length!==0?" "+r:""}`+(e.spread===!0?" q-btn-group--spread":" inline")});return()=>a("div",{class:o.value},ie(t.default))}});function Ot(){if(window.getSelection!==void 0){let e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),qo.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}var or={target:{default:!0},noParentEvent:Boolean,contextMenu:Boolean};function nr({showing:e,avoidEmit:t,configureAnchorEl:o}){let{props:r,proxy:n,emit:i}=U(),l=T(null),u=null;function d(m){return l.value===null?!1:m===void 0||m.touches===void 0||m.touches.length<=1}let f={};o===void 0&&(Object.assign(f,{hide(m){n.hide(m)},toggle(m){n.toggle(m),m.qAnchorHandled=!0},toggleKey(m){Tt(m,13)===!0&&f.toggle(m)},contextClick(m){n.hide(m),ft(m),Ae(()=>{n.show(m),m.qAnchorHandled=!0})},prevent:ft,mobileTouch(m){if(f.mobileCleanup(m),d(m)!==!0)return;n.hide(m),l.value.classList.add("non-selectable");let h=m.target;dt(f,"anchor",[[h,"touchmove","mobileCleanup","passive"],[h,"touchend","mobileCleanup","passive"],[h,"touchcancel","mobileCleanup","passive"],[l.value,"contextmenu","prevent","notPassive"]]),u=setTimeout(()=>{u=null,n.show(m),m.qAnchorHandled=!0},300)},mobileCleanup(m){l.value.classList.remove("non-selectable"),u!==null&&(clearTimeout(u),u=null),e.value===!0&&m!==void 0&&Ot()}}),o=function(m=r.contextMenu){if(r.noParentEvent===!0||l.value===null)return;let h;m===!0?n.$q.platform.is.mobile===!0?h=[[l.value,"touchstart","mobileTouch","passive"]]:h=[[l.value,"mousedown","hide","passive"],[l.value,"contextmenu","contextClick","notPassive"]]:h=[[l.value,"click","toggle","passive"],[l.value,"keyup","toggleKey","passive"]],dt(f,"anchor",h)});function c(){qt(f,"anchor")}function g(m){for(l.value=m;l.value.classList.contains("q-anchor--skip");)l.value=l.value.parentNode;o()}function v(){if(r.target===!1||r.target===""||n.$el.parentNode===null)l.value=null;else if(r.target===!0)g(n.$el.parentNode);else{let m=r.target;if(typeof r.target=="string")try{m=document.querySelector(r.target)}catch{m=void 0}m!=null?(l.value=m.$el||m,o()):(l.value=null,console.error(`Anchor: target "${r.target}" not found`))}}return j(()=>r.contextMenu,m=>{l.value!==null&&(c(),o(m))}),j(()=>r.target,()=>{l.value!==null&&c(),v()}),j(()=>r.noParentEvent,m=>{l.value!==null&&(m===!0?c():o())}),je(()=>{v(),t!==!0&&r.modelValue===!0&&l.value===null&&i("update:modelValue",!1)}),ye(()=>{u!==null&&clearTimeout(u),c()}),{anchorEl:l,canShow:d,anchorEvents:f}}function Vi(e,t){let o=T(null),r;function n(u,d){let f=`${d!==void 0?"add":"remove"}EventListener`,c=d!==void 0?d:r;u!==window&&u[f]("scroll",c,Je.passive),window[f]("scroll",c,Je.passive),r=d}function i(){o.value!==null&&(n(o.value),o.value=null)}let l=j(()=>e.noParentEvent,()=>{o.value!==null&&(i(),t())});return ye(l),{localScrollTarget:o,unconfigureScrollTarget:i,changeScrollEvent:n}}var mo={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},vo=["beforeShow","show","beforeHide","hide"];function go({showing:e,canShow:t,hideOnRouteChange:o,handleShow:r,handleHide:n,processOnMount:i}){let l=U(),{props:u,emit:d,proxy:f}=l,c;function g(S){e.value===!0?h(S):v(S)}function v(S){if(u.disable===!0||S!==void 0&&S.qAnchorHandled===!0||t!==void 0&&t(S)!==!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!0),c=S,Ae(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&m(S)}function m(S){e.value!==!0&&(e.value=!0,d("beforeShow",S),r!==void 0?r(S):d("show",S))}function h(S){if(u.disable===!0)return;let b=u["onUpdate:modelValue"]!==void 0;b===!0&&(d("update:modelValue",!1),c=S,Ae(()=>{c===S&&(c=void 0)})),(u.modelValue===null||b===!1)&&C(S)}function C(S){e.value!==!1&&(e.value=!1,d("beforeHide",S),n!==void 0?n(S):d("hide",S))}function y(S){u.disable===!0&&S===!0?u["onUpdate:modelValue"]!==void 0&&d("update:modelValue",!1):S===!0!==e.value&&(S===!0?m:C)(c)}j(()=>u.modelValue,y),o!==void 0&&Xn(l)===!0&&j(()=>f.$route.fullPath,()=>{o.value===!0&&e.value===!0&&h()}),i===!0&&je(()=>{y(u.modelValue)});let q={show:v,hide:h,toggle:g};return Object.assign(f,q),q}var kn=[],Xr=[];function qs(e){Xr=Xr.filter(t=>t!==e)}function Ts(e){qs(e),Xr.push(e)}function Rl(e){qs(e),Xr.length===0&&kn.length!==0&&(kn[kn.length-1](),kn=[])}function ho(e){Xr.length===0?e():kn.push(e)}function Ms(e){kn=kn.filter(t=>t!==e)}var rr=[],Gr=[],tg=1,rn=document.body;function Ao(e,t){let o=document.createElement("div");if(o.id=t!==void 0?`q-portal--${t}--${tg++}`:e,Qn.globalNodes!==void 0){let r=Qn.globalNodes.class;r!==void 0&&(o.className=r)}return rn.appendChild(o),rr.push(o),Gr.push(t),o}function ir(e){let t=rr.indexOf(e);rr.splice(t,1),Gr.splice(t,1),e.remove()}function Rs(e){if(e===rn)return;if(rn=e,rn===document.body||Gr.reduce((o,r)=>r==="dialog"?o+1:o,0)<2){rr.forEach(o=>{o.contains(rn)===!1&&rn.appendChild(o)});return}let t=Gr.lastIndexOf("dialog");for(let o=0;o<rr.length;o++){let r=rr[o];(o===t||Gr[o]!=="dialog")&&r.contains(rn)===!1&&rn.appendChild(r)}}var an=[];function Ps(e){return an.find(t=>t.contentEl!==null&&t.contentEl.contains(e))}function Pl(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Kr(e)}else if(e.__qPortal===!0){let o=Kr(e);return o!==void 0&&o.$options.name==="QPopupProxy"?(e.hide(t),o):e}e=Kr(e)}while(e!=null)}function As(e,t,o){for(;o!==0&&e!==void 0&&e!==null;){if(e.__qPortal===!0){if(o--,e.$options.name==="QMenu"){e=Pl(e,t);continue}e.hide(t)}e=Kr(e)}}function og(e){for(e=e.parent;e!=null;){if(e.type.name==="QGlobalDialog")return!0;if(e.type.name==="QDialog"||e.type.name==="QMenu")return!1;e=e.parent}return!1}function ar(e,t,o,r){let n=T(!1),i=T(!1),l=null,u={},d=r==="dialog"&&og(e);function f(g){if(g===!0){Rl(u),i.value=!0;return}i.value=!1,n.value===!1&&(d===!1&&l===null&&(l=Ao(!1,r)),n.value=!0,an.push(e.proxy),Ts(u))}function c(g){if(i.value=!1,g!==!0)return;Rl(u),n.value=!1;let v=an.indexOf(e.proxy);v!==-1&&an.splice(v,1),l!==null&&(ir(l),l=null)}return Hn(()=>{c(!0)}),e.proxy.__qPortal=!0,st(e.proxy,"contentEl",()=>t.value),{showPortal:f,hidePortal:c,portalIsActive:n,portalIsAccessible:i,renderPortal:()=>d===!0?o():n.value===!0?[a(Eu,{to:l},o())]:void 0}}var $o={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function ln(e,t=()=>{},o=()=>{}){return{transitionProps:s(()=>{let r=`q-transition--${e.transitionShow||t()}`,n=`q-transition--${e.transitionHide||o()}`;return{appear:!0,enterFromClass:`${r}-enter-from`,enterActiveClass:`${r}-enter-active`,enterToClass:`${r}-enter-to`,leaveFromClass:`${n}-leave-from`,leaveActiveClass:`${n}-leave-active`,leaveToClass:`${n}-leave-to`}}),transitionStyle:s(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function Eo(){let e,t=U();function o(){e=void 0}return Bt(o),ye(o),{removeTick:o,registerTick(r){e=r,Ae(()=>{e===r&&(Zt(t)===!1&&e(),e=void 0)})}}}function Jt(){let e=null,t=U();function o(){e!==null&&(clearTimeout(e),e=null)}return Bt(o),ye(o),{removeTimeout:o,registerTimeout(r,n){o(e),Zt(t)===!1&&(e=setTimeout(r,n))}}}var ng=[null,document,document.body,document.scrollingElement,document.documentElement];function Et(e,t){let o=xs(t);if(o===void 0){if(e==null)return window;o=e.closest(".scroll,.scroll-y,.overflow-auto")}return ng.includes(o)?window:o}function lr(e){return(e===window?document.body:e).scrollHeight}function rg(e){return(e===window?document.body:e).scrollWidth}function eo(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function un(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}function El(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=eo(e);if(o<=0){n!==t&&Al(e,t);return}requestAnimationFrame(i=>{let l=i-r,u=n+(t-n)/Math.max(l,o)*l;Al(e,u),u!==t&&El(e,t,o-l,i)})}function Bl(e,t,o=0){let r=arguments[3]===void 0?performance.now():arguments[3],n=un(e);if(o<=0){n!==t&&$l(e,t);return}requestAnimationFrame(i=>{let l=i-r,u=n+(t-n)/Math.max(l,o)*l;$l(e,u),u!==t&&Bl(e,t,o-l,i)})}function Al(e,t){if(e===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t);return}e.scrollTop=t}function $l(e,t){if(e===window){window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}e.scrollLeft=t}function Bo(e,t,o){if(o){El(e,t,o);return}Al(e,t)}function Zr(e,t,o){if(o){Bl(e,t,o);return}$l(e,t)}var Di;function qn(){if(Di!==void 0)return Di;let e=document.createElement("p"),t=document.createElement("div");wn(e,{width:"100%",height:"200px"}),wn(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);let o=e.offsetWidth;t.style.overflow="scroll";let r=e.offsetWidth;return o===r&&(r=t.clientWidth),t.remove(),Di=o-r,Di}function Fl(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 $s={getScrollTarget:Et,getScrollHeight:lr,getScrollWidth:rg,getVerticalScrollPosition:eo,getHorizontalScrollPosition:un,animVerticalScrollTo:El,animHorizontalScrollTo:Bl,setVerticalScrollPosition:Bo,setHorizontalScrollPosition:Zr,getScrollbarWidth:qn,hasScrollbar:Fl};var Tn=[],ur;function ig(e){ur=e.keyCode===27}function ag(){ur===!0&&(ur=!1)}function lg(e){ur===!0&&(ur=!1,Tt(e,27)===!0&&Tn[Tn.length-1](e))}function Es(e){window[e]("keydown",ig),window[e]("blur",ag),window[e]("keyup",lg),ur=!1}function zi(e){Me.is.desktop===!0&&(Tn.push(e),Tn.length===1&&Es("addEventListener"))}function sr(e){let t=Tn.indexOf(e);t!==-1&&(Tn.splice(t,1),Tn.length===0&&Es("removeEventListener"))}var Mn=[];function Bs(e){Mn[Mn.length-1](e)}function cr(e){Me.is.desktop===!0&&(Mn.push(e),Mn.length===1&&document.body.addEventListener("focusin",Bs))}function Rn(e){let t=Mn.indexOf(e);t!==-1&&(Mn.splice(t,1),Mn.length===0&&document.body.removeEventListener("focusin",Bs))}var dr=null,{notPassiveCapture:Oi}=Je,Pn=[];function Ii(e){dr!==null&&(clearTimeout(dr),dr=null);let t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let o=an.length-1;for(;o>=0;){let r=an[o].$;if(r.type.name==="QTooltip"){o--;continue}if(r.type.name!=="QDialog")break;if(r.props.seamless!==!0)return;o--}for(let r=Pn.length-1;r>=0;r--){let n=Pn[r];if((n.anchorEl.value===null||n.anchorEl.value.contains(t)===!1)&&(t===document.body||n.innerRef.value!==null&&n.innerRef.value.contains(t)===!1))e.qClickOutside=!0,n.onClickOutside(e);else return}}function Ni(e){Pn.push(e),Pn.length===1&&(document.addEventListener("mousedown",Ii,Oi),document.addEventListener("touchstart",Ii,Oi))}function fr(e){let t=Pn.findIndex(o=>o===e);t!==-1&&(Pn.splice(t,1),Pn.length===0&&(dr!==null&&(clearTimeout(dr),dr=null),document.removeEventListener("mousedown",Ii,Oi),document.removeEventListener("touchstart",Ii,Oi)))}var Fs,Ls;function mr(e){let t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Hi(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}var Vl={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Vl[`${e}#ltr`]=e,Vl[`${e}#rtl`]=e});function vr(e,t){let o=e.split(" ");return{vertical:o[0],horizontal:Vl[`${o[1]}#${t===!0?"rtl":"ltr"}`]}}function ug(e,t){let{top:o,left:r,right:n,bottom:i,width:l,height:u}=e.getBoundingClientRect();return t!==void 0&&(o-=t[1],r-=t[0],i+=t[1],n+=t[0],l+=t[0],u+=t[1]),{top:o,bottom:i,height:u,left:r,right:n,width:l,middle:r+(n-r)/2,center:o+(i-o)/2}}function sg(e,t,o){let{top:r,left:n}=e.getBoundingClientRect();return r+=t.top,n+=t.left,o!==void 0&&(r+=o[1],n+=o[0]),{top:r,bottom:r+1,height:1,left:n,right:n+1,width:1,middle:n,center:r}}function cg(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function Vs(e,t,o,r){return{top:e[o.vertical]-t[r.vertical],left:e[o.horizontal]-t[r.horizontal]}}function Jr(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{Jr(e,t+1)},10);return}let{targetEl:o,offset:r,anchorEl:n,anchorOrigin:i,selfOrigin:l,absoluteOffset:u,fit:d,cover:f,maxHeight:c,maxWidth:g}=e;if(Me.is.ios===!0&&window.visualViewport!==void 0){let $=document.body.style,{offsetLeft:F,offsetTop:D}=window.visualViewport;F!==Fs&&($.setProperty("--q-pe-left",F+"px"),Fs=F),D!==Ls&&($.setProperty("--q-pe-top",D+"px"),Ls=D)}let{scrollLeft:v,scrollTop:m}=o,h=u===void 0?ug(n,f===!0?[0,0]:r):sg(n,u,r);Object.assign(o.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:g||"100vw",maxHeight:c||"100vh",visibility:"visible"});let{offsetWidth:C,offsetHeight:y}=o,{elWidth:q,elHeight:S}=d===!0||f===!0?{elWidth:Math.max(h.width,C),elHeight:f===!0?Math.max(h.height,y):y}:{elWidth:C,elHeight:y},b={maxWidth:g,maxHeight:c};(d===!0||f===!0)&&(b.minWidth=h.width+"px",f===!0&&(b.minHeight=h.height+"px")),Object.assign(o.style,b);let p=cg(q,S),k=Vs(h,p,i,l);if(u===void 0||r===void 0)Ll(k,h,p,i,l);else{let{top:$,left:F}=k;Ll(k,h,p,i,l);let D=!1;if(k.top!==$){D=!0;let L=2*r[1];h.center=h.top-=L,h.bottom-=L+2}if(k.left!==F){D=!0;let L=2*r[0];h.middle=h.left-=L,h.right-=L+2}D===!0&&(k=Vs(h,p,i,l),Ll(k,h,p,i,l))}b={top:k.top+"px",left:k.left+"px"},k.maxHeight!==void 0&&(b.maxHeight=k.maxHeight+"px",h.height>k.maxHeight&&(b.minHeight=b.maxHeight)),k.maxWidth!==void 0&&(b.maxWidth=k.maxWidth+"px",h.width>k.maxWidth&&(b.minWidth=b.maxWidth)),Object.assign(o.style,b),o.scrollTop!==m&&(o.scrollTop=m),o.scrollLeft!==v&&(o.scrollLeft=v)}function Ll(e,t,o,r,n){let i=o.bottom,l=o.right,u=qn(),d=window.innerHeight-u,f=document.body.clientWidth;if(e.top<0||e.top+i>d)if(n.vertical==="center")e.top=t[r.vertical]>d/2?Math.max(0,d-i):0,e.maxHeight=Math.min(i,d);else if(t[r.vertical]>d/2){let c=Math.min(d,r.vertical==="center"?t.center:r.vertical===n.vertical?t.bottom:t.top);e.maxHeight=Math.min(i,c),e.top=Math.max(0,c-i)}else e.top=Math.max(0,r.vertical==="center"?t.center:r.vertical===n.vertical?t.top:t.bottom),e.maxHeight=Math.min(i,d-e.top);if(e.left<0||e.left+l>f)if(e.maxWidth=Math.min(l,f),n.horizontal==="middle")e.left=t[r.horizontal]>f/2?Math.max(0,f-l):0;else if(t[r.horizontal]>f/2){let c=Math.min(f,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.right:t.left);e.maxWidth=Math.min(l,c),e.left=Math.max(0,c-e.maxWidth)}else e.left=Math.max(0,r.horizontal==="middle"?t.middle:r.horizontal===n.horizontal?t.left:t.right),e.maxWidth=Math.min(l,f-e.left)}var Fo=A({name:"QMenu",inheritAttrs:!1,props:{...or,...mo,...Ce,...$o,persistent:Boolean,autoClose:Boolean,separateClosePopup: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:Hi},scrollTarget:{default:void 0},touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...vo,"click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=null,i,l,u,d=U(),{proxy:f}=d,{$q:c}=f,g=T(null),v=T(!1),m=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),h=we(e,c),{registerTick:C,removeTick:y}=Eo(),{registerTimeout:q}=Jt(),{transitionProps:S,transitionStyle:b}=ln(e),{localScrollTarget:p,changeScrollEvent:k,unconfigureScrollTarget:$}=Vi(e,W),{anchorEl:F,canShow:D}=nr({showing:v}),{hide:L}=go({showing:v,canShow:D,handleShow:de,handleHide:O,hideOnRouteChange:m,processOnMount:!0}),{showPortal:B,hidePortal:V,renderPortal:E}=ar(d,g,K,"menu"),_={anchorEl:F,innerRef:g,onClickOutside(x){if(e.persistent!==!0&&v.value===!0)return L(x),(x.type==="touchstart"||x.target.classList.contains("q-dialog__backdrop"))&&qe(x),!0}},R=s(()=>vr(e.anchor||(e.cover===!0?"center middle":"bottom start"),c.lang.rtl)),N=s(()=>e.cover===!0?R.value:vr(e.self||"top start",c.lang.rtl)),X=s(()=>(e.square===!0?" q-menu--square":"")+(h.value===!0?" q-menu--dark q-dark":"")),M=s(()=>e.autoClose===!0?{onClick:H}:{}),Q=s(()=>v.value===!0&&e.persistent!==!0);j(Q,x=>{x===!0?(zi(Y),Ni(_)):(sr(Y),fr(_))});function J(){ho(()=>{let x=g.value;x&&x.contains(document.activeElement)!==!0&&(x=x.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||x.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||x.querySelector("[autofocus], [data-autofocus]")||x,x.focus({preventScroll:!0}))})}function de(x){if(n=e.noRefocus===!1?document.activeElement:null,cr(ee),B(),W(),i=void 0,x!==void 0&&(e.touchPosition||e.contextMenu)){let G=xt(x);if(G.left!==void 0){let{top:ae,left:fe}=F.value.getBoundingClientRect();i={left:G.left-fe,top:G.top-ae}}}l===void 0&&(l=j(()=>c.screen.width+"|"+c.screen.height+"|"+e.self+"|"+e.anchor+"|"+c.lang.rtl,ue)),e.noFocus!==!0&&document.activeElement.blur(),C(()=>{ue(),e.noFocus!==!0&&J()}),q(()=>{c.platform.is.ios===!0&&(u=e.autoClose,g.value.click()),ue(),B(!0),o("show",x)},e.transitionDuration)}function O(x){y(),V(),w(!0),n!==null&&(x===void 0||x.qClickOutside!==!0)&&(((x&&x.type.indexOf("key")===0?n.closest('[tabindex]:not([tabindex^="-"])'):void 0)||n).focus(),n=null),q(()=>{V(!0),o("hide",x)},e.transitionDuration)}function w(x){i=void 0,l!==void 0&&(l(),l=void 0),(x===!0||v.value===!0)&&(Rn(ee),$(),fr(_),sr(Y)),x!==!0&&(n=null)}function W(){(F.value!==null||e.scrollTarget!==void 0)&&(p.value=Et(F.value,e.scrollTarget),k(p.value,ue))}function H(x){u!==!0?(Pl(f,x),o("click",x)):u=!1}function ee(x){Q.value===!0&&e.noFocus!==!0&&Bi(g.value,x.target)!==!0&&J()}function Y(x){o("escapeKey"),L(x)}function ue(){Jr({targetEl:g.value,offset:e.offset,anchorEl:F.value,anchorOrigin:R.value,selfOrigin:N.value,absoluteOffset:i,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function K(){return a(lt,S.value,()=>v.value===!0?a("div",{role:"menu",...r,ref:g,tabindex:-1,class:["q-menu q-position-engine scroll"+X.value,r.class],style:[r.style,b.value],...M.value},ie(t.default)):null)}return ye(w),Object.assign(f,{focus:J,updatePosition:ue}),E}});var Dl,Qi=0,It=new Array(256);for(let e=0;e<256;e++)It[e]=(e+256).toString(16).substring(1);var dg=(()=>{let e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{let o=new Uint8Array(t);return e.getRandomValues(o),o}}return t=>{let o=[];for(let r=t;r>0;r--)o.push(Math.floor(Math.random()*256));return o}})(),Ds=4096;function Xo(){(Dl===void 0||Qi+16>Ds)&&(Qi=0,Dl=dg(Ds));let e=Array.prototype.slice.call(Dl,Qi,Qi+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,It[e[0]]+It[e[1]]+It[e[2]]+It[e[3]]+"-"+It[e[4]]+It[e[5]]+"-"+It[e[6]]+It[e[7]]+"-"+It[e[8]]+It[e[9]]+"-"+It[e[10]]+It[e[11]]+It[e[12]]+It[e[13]]+It[e[14]]+It[e[15]]}function zl(e,t){return e===void 0?t===!0?`f_${Xo()}`:void 0:e}function sn(e,t=!0){if(kt.value===!0){let o=T(e);return t===!0&&e===void 0&&je(()=>{o.value=`f_${Xo()}`}),o}return T(zl(e,t))}var fg=Object.keys(Yr),mg=e=>fg.reduce((t,o)=>{let r=e[o];return r!==void 0&&(t[o]=r),t},{}),ji=A({name:"QBtnDropdown",props:{...Yr,...$o,modelValue:Boolean,split:Boolean,dropdownIcon:String,contentClass:[Array,String,Object],contentStyle:[Array,String,Object],cover:Boolean,persistent:Boolean,noRouteDismiss:Boolean,autoClose:Boolean,menuAnchor:{type:String,default:"bottom end"},menuSelf:{type:String,default:"top end"},menuOffset:Array,disableMainBtn:Boolean,disableDropdown:Boolean,noIconAnimation:Boolean,toggleAriaLabel:String},emits:["update:modelValue","click","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),n=T(e.modelValue),i=T(null),l=sn(),u=s(()=>{let p={"aria-expanded":n.value===!0?"true":"false","aria-haspopup":"true","aria-controls":l.value,"aria-label":e.toggleAriaLabel||r.$q.lang.label[n.value===!0?"collapse":"expand"](e.label)};return(e.disable===!0||e.split===!1&&e.disableMainBtn===!0||e.disableDropdown===!0)&&(p["aria-disabled"]="true"),p}),d=s(()=>"q-btn-dropdown__arrow"+(n.value===!0&&e.noIconAnimation===!1?" rotate-180":"")+(e.split===!1?" q-btn-dropdown__arrow-container":"")),f=s(()=>Li(e)),c=s(()=>mg(e));j(()=>e.modelValue,p=>{i.value!==null&&i.value[p?"show":"hide"]()}),j(()=>e.split,b);function g(p){n.value=!0,o("beforeShow",p)}function v(p){o("show",p),o("update:modelValue",!0)}function m(p){n.value=!1,o("beforeHide",p)}function h(p){o("hide",p),o("update:modelValue",!1)}function C(p){o("click",p)}function y(p){rt(p),b(),o("click",p)}function q(p){i.value!==null&&i.value.toggle(p)}function S(p){i.value!==null&&i.value.show(p)}function b(p){i.value!==null&&i.value.hide(p)}return Object.assign(r,{show:S,hide:b,toggle:q}),je(()=>{e.modelValue===!0&&S()}),()=>{let p=[a(Re,{class:d.value,name:e.dropdownIcon||r.$q.iconSet.arrow.dropdown})];return e.disableDropdown!==!0&&p.push(a(Fo,{ref:i,id:l.value,class:e.contentClass,style:e.contentStyle,cover:e.cover,fit:!0,persistent:e.persistent,noRouteDismiss:e.noRouteDismiss,autoClose:e.autoClose,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,separateClosePopup:!0,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,onBeforeShow:g,onShow:v,onBeforeHide:m,onHide:h},t.default)),e.split===!1?a(Oe,{class:"q-btn-dropdown q-btn-dropdown--simple",...c.value,...u.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:C},{default:()=>ie(t.label,[]).concat(p),loading:t.loading}):a(tr,{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(Oe,{class:"q-btn-dropdown--current",...c.value,disable:e.disable===!0||e.disableMainBtn===!0,noWrap:!0,round:!1,onClick:y},{default:t.label,loading:t.loading}),a(Oe,{class:"q-btn-dropdown__arrow-container q-anchor--skip",...u.value,...f.value,disable:e.disable===!0||e.disableDropdown===!0,rounded:e.rounded,color:e.color,textColor:e.textColor,dense:e.dense,size:e.size,padding:e.padding,ripple:e.ripple},()=>p)])}}});var wt={name:String};function Lo(e){return s(()=>({type:"hidden",name:e.name,value:e.modelValue}))}function Wt(e={}){return(t,o,r)=>{t[o](a("input",{class:"hidden"+(r||""),...e.value}))}}function gr(e){return s(()=>e.name||e.for)}var zs=A({name:"QBtnToggle",props:{...wt,modelValue:{required:!0},options:{type:Array,required:!0,validator:e=>e.every(t=>("label"in t||"icon"in t||"slot"in t)&&"value"in t)},color:String,textColor:String,toggleColor:{type:String,default:"primary"},toggleTextColor:String,outline:Boolean,flat:Boolean,unelevated:Boolean,rounded:Boolean,push:Boolean,glossy:Boolean,size:String,padding:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,readonly:Boolean,disable:Boolean,stack:Boolean,stretch:Boolean,spread:Boolean,clearable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","clear","click"],setup(e,{slots:t,emit:o}){let r=s(()=>e.options.find(v=>v.value===e.modelValue)!==void 0),n=s(()=>({type:"hidden",name:e.name,value:e.modelValue})),i=Wt(n),l=s(()=>Li(e)),u=s(()=>({rounded:e.rounded,dense:e.dense,...l.value})),d=s(()=>e.options.map((v,m)=>{let{attrs:h,value:C,slot:y,...q}=v;return{slot:y,props:{key:m,"aria-pressed":C===e.modelValue?"true":"false",...h,...q,...u.value,disable:e.disable===!0||q.disable===!0,color:C===e.modelValue?c(q,"toggleColor"):c(q,"color"),textColor:C===e.modelValue?c(q,"toggleTextColor"):c(q,"textColor"),noCaps:c(q,"noCaps")===!0,noWrap:c(q,"noWrap")===!0,size:c(q,"size"),padding:c(q,"padding"),ripple:c(q,"ripple"),stack:c(q,"stack")===!0,stretch:c(q,"stretch")===!0,onClick(S){f(C,v,S)}}}}));function f(v,m,h){e.readonly!==!0&&(e.modelValue===v?e.clearable===!0&&(o("update:modelValue",null,null),o("clear")):o("update:modelValue",v,m),o("click",h))}function c(v,m){return v[m]===void 0?e[m]:v[m]}function g(){let v=d.value.map(m=>a(Oe,m.props,m.slot!==void 0?t[m.slot]:void 0));return e.name!==void 0&&e.disable!==!0&&r.value===!0&&i(v,"push"),Xe(t.default,v)}return()=>a(tr,{class:"q-btn-toggle",...l.value,rounded:e.rounded,stretch:e.stretch,glossy:e.glossy,spread:e.spread},g)}});var hr=A({name:"QCard",props:{...Ce,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=we(e,o),n=s(()=>"q-card"+(r.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>a(e.tag,{class:n.value},ie(t.default))}});var bo=A({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){let o=s(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>a(e.tag,{class:o.value},ie(t.default))}});var Ui=A({name:"QCardActions",props:{...Kn,vertical:Boolean},setup(e,{slots:t}){let o=Wn(e),r=s(()=>`q-card__actions ${o.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>a("div",{class:r.value},ie(t.default))}});var Ol={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},vg=Object.keys(Ol);Ol.all=!0;function pr(e){let t={};for(let o of vg)e[o]===!0&&(t[o]=!0);return Object.keys(t).length===0?Ol:(t.horizontal===!0?t.left=t.right=!0:t.left===!0&&t.right===!0&&(t.horizontal=!0),t.vertical===!0?t.up=t.down=!0:t.up===!0&&t.down===!0&&(t.vertical=!0),t.horizontal===!0&&t.vertical===!0&&(t.all=!0),t)}var gg=["INPUT","TEXTAREA"];function br(e,t){return t.event===void 0&&e.target!==void 0&&e.target.draggable!==!0&&typeof t.handler=="function"&&gg.includes(e.target.nodeName.toUpperCase())===!1&&(e.qClonedBy===void 0||e.qClonedBy.indexOf(t.uid)===-1)}function hg(e){let t=[.06,6,50];return typeof e=="string"&&e.length&&e.split(":").forEach((o,r)=>{let n=parseFloat(o);n&&(t[r]=n)}),t}var Ki=Pt({name:"touch-swipe",beforeMount(e,{value:t,arg:o,modifiers:r}){if(r.mouse!==!0&&Me.has.touch!==!0)return;let n=r.mouseCapture===!0?"Capture":"",i={handler:t,sensitivity:hg(o),direction:pr(r),noop:Ye,mouseStart(l){br(l,i)&&Uo(l)&&(dt(i,"temp",[[document,"mousemove","move",`notPassive${n}`],[document,"mouseup","end","notPassiveCapture"]]),i.start(l,!0))},touchStart(l){if(br(l,i)){let u=l.target;dt(i,"temp",[[u,"touchmove","move","notPassiveCapture"],[u,"touchcancel","end","notPassiveCapture"],[u,"touchend","end","notPassiveCapture"]]),i.start(l)}},start(l,u){Me.is.firefox===!0&&Ko(e,!0);let d=xt(l);i.event={x:d.left,y:d.top,time:Date.now(),mouse:u===!0,dir:!1}},move(l){if(i.event===void 0)return;if(i.event.dir!==!1){qe(l);return}let u=Date.now()-i.event.time;if(u===0)return;let d=xt(l),f=d.left-i.event.x,c=Math.abs(f),g=d.top-i.event.y,v=Math.abs(g);if(i.event.mouse!==!0){if(c<i.sensitivity[1]&&v<i.sensitivity[1]){i.end(l);return}}else if(window.getSelection().toString()!==""){i.end(l);return}else if(c<i.sensitivity[2]&&v<i.sensitivity[2])return;let m=c/u,h=v/u;i.direction.vertical===!0&&c<v&&c<100&&h>i.sensitivity[0]&&(i.event.dir=g<0?"up":"down"),i.direction.horizontal===!0&&c>v&&v<100&&m>i.sensitivity[0]&&(i.event.dir=f<0?"left":"right"),i.direction.up===!0&&c<v&&g<0&&c<100&&h>i.sensitivity[0]&&(i.event.dir="up"),i.direction.down===!0&&c<v&&g>0&&c<100&&h>i.sensitivity[0]&&(i.event.dir="down"),i.direction.left===!0&&c>v&&f<0&&v<100&&m>i.sensitivity[0]&&(i.event.dir="left"),i.direction.right===!0&&c>v&&f>0&&v<100&&m>i.sensitivity[0]&&(i.event.dir="right"),i.event.dir!==!1?(qe(l),i.event.mouse===!0&&(document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),i.styleCleanup=C=>{i.styleCleanup=void 0,document.body.classList.remove("non-selectable");let y=()=>{document.body.classList.remove("no-pointer-events--children")};C===!0?setTimeout(y,50):y()}),i.handler({evt:l,touch:i.event.mouse!==!0,mouse:i.event.mouse,direction:i.event.dir,duration:u,distance:{x:c,y:v}})):i.end(l)},end(l){i.event!==void 0&&(qt(i,"temp"),Me.is.firefox===!0&&Ko(e,!1),i.styleCleanup!==void 0&&i.styleCleanup(!0),l!==void 0&&i.event.dir!==!1&&qe(l),i.event=void 0)}};if(e.__qtouchswipe=i,r.mouse===!0){let l=r.mouseCapture===!0||r.mousecapture===!0?"Capture":"";dt(i,"main",[[e,"mousedown","mouseStart",`passive${l}`]])}Me.has.touch===!0&&dt(i,"main",[[e,"touchstart","touchStart",`passive${r.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchswipe;o!==void 0&&(t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value),o.direction=pr(t.modifiers))},beforeUnmount(e){let t=e.__qtouchswipe;t!==void 0&&(qt(t,"main"),qt(t,"temp"),Me.is.firefox===!0&&Ko(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchswipe)}});function Vo(){let e=new Map;return{getCache:function(t,o){return e[t]===void 0?e[t]=o:e[t]},getCacheWithFn:function(t,o){return e[t]===void 0?e[t]=o():e[t]}}}var yr={name:{required:!0},disable:Boolean},Os={setup(e,{slots:t}){return()=>a("div",{class:"q-panel scroll",role:"tabpanel"},ie(t.default))}},Sr={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},xr=["update:modelValue","beforeTransition","transition"];function _r(){let{props:e,emit:t,proxy:o}=U(),{getCacheWithFn:r}=Vo(),n,i,l=T(null),u=T(null);function d(_){let R=e.vertical===!0?"up":"left";F((o.$q.lang.rtl===!0?-1:1)*(_.direction===R?1:-1))}let f=s(()=>[[Ki,d,void 0,{horizontal:e.vertical!==!0,vertical:e.vertical,mouse:!0}]]),c=s(()=>e.transitionPrev||`slide-${e.vertical===!0?"down":"right"}`),g=s(()=>e.transitionNext||`slide-${e.vertical===!0?"up":"left"}`),v=s(()=>`--q-transition-duration: ${e.transitionDuration}ms`),m=s(()=>typeof e.modelValue=="string"||typeof e.modelValue=="number"?e.modelValue:String(e.modelValue)),h=s(()=>({include:e.keepAliveInclude,exclude:e.keepAliveExclude,max:e.keepAliveMax})),C=s(()=>e.keepAliveInclude!==void 0||e.keepAliveExclude!==void 0);j(()=>e.modelValue,(_,R)=>{let N=b(_)===!0?p(_):-1;i!==!0&&$(N===-1?0:N<p(R)?-1:1),l.value!==N&&(l.value=N,t("beforeTransition",_,R),Ae(()=>{t("transition",_,R)}))});function y(){F(1)}function q(){F(-1)}function S(_){t("update:modelValue",_)}function b(_){return _!=null&&_!==""}function p(_){return n.findIndex(R=>R.props.name===_&&R.props.disable!==""&&R.props.disable!==!0)}function k(){return n.filter(_=>_.props.disable!==""&&_.props.disable!==!0)}function $(_){let R=_!==0&&e.animated===!0&&l.value!==-1?"q-transition--"+(_===-1?c.value:g.value):null;u.value!==R&&(u.value=R)}function F(_,R=l.value){let N=R+_;for(;N!==-1&&N<n.length;){let X=n[N];if(X!==void 0&&X.props.disable!==""&&X.props.disable!==!0){$(_),i=!0,t("update:modelValue",X.props.name),setTimeout(()=>{i=!1});return}N+=_}e.infinite===!0&&n.length!==0&&R!==-1&&R!==n.length&&F(_,_===-1?n.length:-1)}function D(){let _=p(e.modelValue);return l.value!==_&&(l.value=_),!0}function L(){let _=b(e.modelValue)===!0&&D()&&n[l.value];return e.keepAlive===!0?[a(pi,h.value,[a(C.value===!0?r(m.value,()=>({...Os,name:m.value})):Os,{key:m.value,style:v.value},()=>_)])]:[a("div",{class:"q-panel scroll",style:v.value,key:m.value,role:"tabpanel"},[_])]}function B(){if(n.length!==0)return e.animated===!0?[a(lt,{name:u.value},L)]:L()}function V(_){return n=Yn(ie(_.default,[])).filter(R=>R.props!==null&&R.props.slot===void 0&&b(R.props.name)===!0),n.length}function E(){return n}return Object.assign(o,{next:y,previous:q,goTo:S}),{panelIndex:l,panelDirectives:f,updatePanelsList:V,updatePanelIndex:D,getPanelContent:B,getEnabledPanels:k,getPanels:E,isValidPanelName:b,keepAliveProps:h,needsUniqueKeepAliveWrapper:C,goToPanelByOffset:F,goToPanel:S,nextPanel:y,previousPanel:q}}var ei=0,Cr={fullscreen:Boolean,noRouteFullscreenExit:Boolean},wr=["update:fullscreen","fullscreen"];function kr(){let e=U(),{props:t,emit:o,proxy:r}=e,n,i,l,u=T(!1);Xn(e)===!0&&j(()=>r.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&c()}),j(()=>t.fullscreen,g=>{u.value!==g&&d()}),j(u,g=>{o("update:fullscreen",g),o("fullscreen",g)});function d(){u.value===!0?c():f()}function f(){u.value!==!0&&(u.value=!0,l=r.$el.parentNode,l.replaceChild(i,r.$el),document.body.appendChild(r.$el),ei++,ei===1&&document.body.classList.add("q-body--fullscreen-mixin"),n={handler:c},tn.add(n))}function c(){u.value===!0&&(n!==void 0&&(tn.remove(n),n=void 0),l.replaceChild(r.$el,i),u.value=!1,ei=Math.max(0,ei-1),ei===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),r.$el.scrollIntoView!==void 0&&setTimeout(()=>{r.$el.scrollIntoView()})))}return Nn(()=>{i=document.createElement("span")}),je(()=>{t.fullscreen===!0&&f()}),ye(c),Object.assign(r,{toggleFullscreen:d,setFullscreen:f,exitFullscreen:c}),{inFullscreen:u,toggleFullscreen:d}}var pg=["top","right","bottom","left"],bg=["regular","flat","outline","push","unelevated"],Is=A({name:"QCarousel",props:{...Ce,...Sr,...Cr,transitionPrev:{type:String,default:"fade"},transitionNext:{type:String,default:"fade"},height:String,padding:Boolean,controlColor:String,controlTextColor:String,controlType:{type:String,validator:e=>bg.includes(e),default:"flat"},autoplay:[Number,Boolean],arrows:Boolean,prevIcon:String,nextIcon:String,navigation:Boolean,navigationPosition:{type:String,validator:e=>pg.includes(e)},navigationIcon:String,navigationActiveIcon:String,thumbnails:Boolean},emits:[...wr,...xr],setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=we(e,o),n=null,i,{updatePanelsList:l,getPanelContent:u,panelDirectives:d,goToPanel:f,previousPanel:c,nextPanel:g,getEnabledPanels:v,panelIndex:m}=_r(),{inFullscreen:h}=kr(),C=s(()=>h.value!==!0&&e.height!==void 0?{height:e.height}:{}),y=s(()=>e.vertical===!0?"vertical":"horizontal"),q=s(()=>`q-carousel q-panel-parent q-carousel--with${e.padding===!0?"":"out"}-padding`+(h.value===!0?" fullscreen":"")+(r.value===!0?" q-carousel--dark q-dark":"")+(e.arrows===!0?` q-carousel--arrows-${y.value}`:"")+(e.navigation===!0?` q-carousel--navigation-${k.value}`:"")),S=s(()=>{let B=[e.prevIcon||o.iconSet.carousel[e.vertical===!0?"up":"left"],e.nextIcon||o.iconSet.carousel[e.vertical===!0?"down":"right"]];return e.vertical===!1&&o.lang.rtl===!0?B.reverse():B}),b=s(()=>e.navigationIcon||o.iconSet.carousel.navigationIcon),p=s(()=>e.navigationActiveIcon||b.value),k=s(()=>e.navigationPosition||(e.vertical===!0?"right":"bottom")),$=s(()=>({color:e.controlColor,textColor:e.controlTextColor,round:!0,[e.controlType]:!0,dense:!0}));j(()=>e.modelValue,()=>{e.autoplay&&F()}),j(()=>e.autoplay,B=>{B?F():n!==null&&(clearTimeout(n),n=null)});function F(){let B=co(e.autoplay)===!0?Math.abs(e.autoplay):5e3;n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,B>=0?g():c()},B)}je(()=>{e.autoplay&&F()}),ye(()=>{n!==null&&clearTimeout(n)});function D(B,V){return a("div",{class:`q-carousel__control q-carousel__navigation no-wrap absolute flex q-carousel__navigation--${B} q-carousel__navigation--${k.value}`+(e.controlColor!==void 0?` text-${e.controlColor}`:"")},[a("div",{class:"q-carousel__navigation-inner flex flex-center no-wrap"},v().map(V))])}function L(){let B=[];if(e.navigation===!0){let V=t["navigation-icon"]!==void 0?t["navigation-icon"]:_=>a(Oe,{key:"nav"+_.name,class:`q-carousel__navigation-icon q-carousel__navigation-icon--${_.active===!0?"":"in"}active`,..._.btnProps,onClick:_.onClick}),E=i-1;B.push(D("buttons",(_,R)=>{let N=_.props.name,X=m.value===R;return V({index:R,maxIndex:E,name:N,active:X,btnProps:{icon:X===!0?p.value:b.value,size:"sm",...$.value},onClick:()=>{f(N)}})}))}else if(e.thumbnails===!0){let V=e.controlColor!==void 0?` text-${e.controlColor}`:"";B.push(D("thumbnails",E=>{let _=E.props;return a("img",{key:"tmb#"+_.name,class:`q-carousel__thumbnail q-carousel__thumbnail--${_.name===e.modelValue?"":"in"}active`+V,src:_.imgSrc||_["img-src"],onClick:()=>{f(_.name)}})}))}return e.arrows===!0&&m.value>=0&&((e.infinite===!0||m.value>0)&&B.push(a("div",{key:"prev",class:`q-carousel__control q-carousel__arrow q-carousel__prev-arrow q-carousel__prev-arrow--${y.value} absolute flex flex-center`},[a(Oe,{icon:S.value[0],...$.value,onClick:c})])),(e.infinite===!0||m.value<i-1)&&B.push(a("div",{key:"next",class:`q-carousel__control q-carousel__arrow q-carousel__next-arrow q-carousel__next-arrow--${y.value} absolute flex flex-center`},[a(Oe,{icon:S.value[1],...$.value,onClick:g})]))),Xe(t.control,B)}return()=>(i=l(t),a("div",{class:q.value,style:C.value},[Mt("div",{class:"q-carousel__slides-container"},u(),"sl-cont",e.swipeable,()=>d.value)].concat(L())))}});var Ns=A({name:"QCarouselSlide",props:{...yr,imgSrc:String},setup(e,{slots:t}){let o=s(()=>e.imgSrc?{backgroundImage:`url("${e.imgSrc}")`}:{});return()=>a("div",{class:"q-carousel__slide",style:o.value},ie(t.default))}});var Hs=A({name:"QCarouselControl",props:{position:{type:String,default:"bottom-right",validator:e=>["top-right","top-left","bottom-right","bottom-left","top","right","bottom","left"].includes(e)},offset:{type:Array,default:()=>[18,18],validator:e=>e.length===2}},setup(e,{slots:t}){let o=s(()=>`q-carousel__control absolute absolute-${e.position}`),r=s(()=>({margin:`${e.offset[1]}px ${e.offset[0]}px`}));return()=>a("div",{class:o.value,style:r.value},ie(t.default))}});var Qs=A({name:"QChatMessage",props:{sent:Boolean,label:String,bgColor:String,textColor:String,name:String,avatar:String,text:Array,stamp:String,size:String,labelHtml:Boolean,nameHtml:Boolean,textHtml:Boolean,stampHtml:Boolean},setup(e,{slots:t}){let o=s(()=>e.sent===!0?"sent":"received"),r=s(()=>`q-message-text-content q-message-text-content--${o.value}`+(e.textColor!==void 0?` text-${e.textColor}`:"")),n=s(()=>`q-message-text q-message-text--${o.value}`+(e.bgColor!==void 0?` text-${e.bgColor}`:"")),i=s(()=>"q-message-container row items-end no-wrap"+(e.sent===!0?" reverse":"")),l=s(()=>e.size!==void 0?`col-${e.size}`:""),u=s(()=>({msg:e.textHtml===!0?"innerHTML":"textContent",stamp:e.stampHtml===!0?"innerHTML":"textContent",name:e.nameHtml===!0?"innerHTML":"textContent",label:e.labelHtml===!0?"innerHTML":"textContent"}));function d(c){return t.stamp!==void 0?[c,a("div",{class:"q-message-stamp"},t.stamp())]:e.stamp?[c,a("div",{class:"q-message-stamp",[u.value.stamp]:e.stamp})]:[c]}function f(c,g){let v=g===!0?c.length>1?m=>m:m=>a("div",[m]):m=>a("div",{[u.value.msg]:m});return c.map((m,h)=>a("div",{key:h,class:n.value},[a("div",{class:r.value},d(v(m)))]))}return()=>{let c=[];t.avatar!==void 0?c.push(t.avatar()):e.avatar!==void 0&&c.push(a("img",{class:`q-message-avatar q-message-avatar--${o.value}`,src:e.avatar,"aria-hidden":"true"}));let g=[];t.name!==void 0?g.push(a("div",{class:`q-message-name q-message-name--${o.value}`},t.name())):e.name!==void 0&&g.push(a("div",{class:`q-message-name q-message-name--${o.value}`,[u.value.name]:e.name})),t.default!==void 0?g.push(f(Yn(t.default()),!0)):e.text!==void 0&&g.push(f(e.text)),c.push(a("div",{class:l.value},g));let v=[];return t.label!==void 0?v.push(a("div",{class:"q-message-label"},t.label())):e.label!==void 0&&v.push(a("div",{class:"q-message-label",[u.value.label]:e.label})),v.push(a("div",{class:i.value},c)),a("div",{class:`q-message q-message-${o.value}`},v)}}});function Wi(e,t){let o=T(null),r=s(()=>e.disable===!0?null:a("span",{ref:o,class:"no-outline",tabindex:-1}));function n(i){let l=t.value;i!==void 0&&i.type.indexOf("key")===0?l!==null&&document.activeElement!==l&&l.contains(document.activeElement)===!0&&l.focus():o.value!==null&&(i===void 0||l!==null&&l.contains(i.target)===!0)&&o.value.focus()}return{refocusTargetEl:r,refocusTarget:n}}var Yi={xs:30,sm:35,md:40,lg:50,xl:60};var Xi={...Ce,...Lt,...wt,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]},Gi=["update:modelValue"];function Zi(e,t){let{props:o,slots:r,emit:n,proxy:i}=U(),{$q:l}=i,u=we(o,l),d=T(null),{refocusTargetEl:f,refocusTarget:c}=Wi(o,d),g=Vt(o,Yi),v=s(()=>o.val!==void 0&&Array.isArray(o.modelValue)),m=s(()=>{let E=so(o.val);return v.value===!0?o.modelValue.findIndex(_=>so(_)===E):-1}),h=s(()=>v.value===!0?m.value!==-1:so(o.modelValue)===so(o.trueValue)),C=s(()=>v.value===!0?m.value===-1:so(o.modelValue)===so(o.falseValue)),y=s(()=>h.value===!1&&C.value===!1),q=s(()=>o.disable===!0?-1:o.tabindex||0),S=s(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(o.disable===!0?" disabled":"")+(u.value===!0?` q-${e}--dark`:"")+(o.dense===!0?` q-${e}--dense`:"")+(o.leftLabel===!0?" reverse":"")),b=s(()=>{let E=h.value===!0?"truthy":C.value===!0?"falsy":"indet",_=o.color!==void 0&&(o.keepColor===!0||(e==="toggle"?h.value===!0:C.value!==!0))?` text-${o.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${E}${_}`}),p=s(()=>{let E={type:"checkbox"};return o.name!==void 0&&Object.assign(E,{".checked":h.value,"^checked":h.value===!0?"checked":void 0,name:o.name,value:v.value===!0?o.val:o.trueValue}),E}),k=Wt(p),$=s(()=>{let E={tabindex:q.value,role:e==="toggle"?"switch":"checkbox","aria-label":o.label,"aria-checked":y.value===!0?"mixed":h.value===!0?"true":"false"};return o.disable===!0&&(E["aria-disabled"]="true"),E});function F(E){E!==void 0&&(qe(E),c(E)),o.disable!==!0&&n("update:modelValue",D(),E)}function D(){if(v.value===!0){if(h.value===!0){let E=o.modelValue.slice();return E.splice(m.value,1),E}return o.modelValue.concat([o.val])}if(h.value===!0){if(o.toggleOrder!=="ft"||o.toggleIndeterminate===!1)return o.falseValue}else if(C.value===!0){if(o.toggleOrder==="ft"||o.toggleIndeterminate===!1)return o.trueValue}else return o.toggleOrder!=="ft"?o.trueValue:o.falseValue;return o.indeterminateValue}function L(E){(E.keyCode===13||E.keyCode===32)&&qe(E)}function B(E){(E.keyCode===13||E.keyCode===32)&&F(E)}let V=t(h,y);return Object.assign(i,{toggle:F}),()=>{let E=V();o.disable!==!0&&k(E,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);let _=[a("div",{class:b.value,style:g.value,"aria-hidden":"true"},E)];f.value!==null&&_.push(f.value);let R=o.label!==void 0?Xe(r.default,[o.label]):ie(r.default);return R!==void 0&&_.push(a("div",{class:`q-${e}__label q-anchor--skip`},R)),a("div",{ref:d,class:S.value,...$.value,onClick:F,onKeydown:L,onKeyup:B},_)}}var yg=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"})])]),Do=A({name:"QCheckbox",props:Xi,emits:Gi,setup(e){function t(o,r){let n=s(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>n.value!==null?[a("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[a(Re,{class:"q-checkbox__icon",name:n.value})])]:[yg]}return Zi("checkbox",t)}});var Sg={xs:8,sm:10,md:14,lg:20,xl:24},qr=A({name:"QChip",props:{...Ce,...Lt,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:o}){let{proxy:{$q:r}}=U(),n=we(e,r),i=Vt(e,Sg),l=s(()=>e.selected===!0||e.icon!==void 0),u=s(()=>e.selected===!0?e.iconSelected||r.iconSet.chip.selected:e.icon),d=s(()=>e.iconRemove||r.iconSet.chip.remove),f=s(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),c=s(()=>{let y=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(y?` text-${y} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(f.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(n.value===!0?" q-chip--dark q-dark":"")}),g=s(()=>{let y=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},q={...y,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||r.lang.label.remove};return{chip:y,remove:q}});function v(y){y.keyCode===13&&m(y)}function m(y){e.disable||(o("update:selected",!e.selected),o("click",y))}function h(y){(y.keyCode===void 0||y.keyCode===13)&&(qe(y),e.disable===!1&&(o("update:modelValue",!1),o("remove")))}function C(){let y=[];f.value===!0&&y.push(a("div",{class:"q-focus-helper"})),l.value===!0&&y.push(a(Re,{class:"q-chip__icon q-chip__icon--left",name:u.value}));let q=e.label!==void 0?[a("div",{class:"ellipsis"},[e.label])]:void 0;return y.push(a("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Un(t.default,q))),e.iconRight&&y.push(a(Re,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&y.push(a(Re,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:d.value,...g.value.remove,onClick:h,onKeyup:h})),y}return()=>{if(e.modelValue===!1)return;let y={class:c.value,style:i.value};return f.value===!0&&Object.assign(y,g.value.chip,{onClick:m,onKeyup:v}),Mt("div",y,C(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[Po,e.ripple]])}}});var ti={...Lt,min:{type:Number,default:0},max:{type:Number,default:100},color:String,centerColor:String,trackColor:String,fontSize:String,rounded:Boolean,thickness:{type:Number,default:.2,validator:e=>e>=0&&e<=1},angle:{type:Number,default:0},showValue:Boolean,reverse:Boolean,instantFeedback:Boolean};var Il=50,js=2*Il,Us=js*Math.PI,xg=Math.round(Us*1e3)/1e3,Tr=A({name:"QCircularProgress",props:{...ti,value:{type:Number,default:0},animationSpeed:{type:[String,Number],default:600},indeterminate:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=U(),r=Vt(e),n=s(()=>{let m=(o.lang.rtl===!0?-1:1)*e.angle;return{transform:e.reverse!==(o.lang.rtl===!0)?`scale3d(-1, 1, 1) rotate3d(0, 0, 1, ${-90-m}deg)`:`rotate3d(0, 0, 1, ${m-90}deg)`}}),i=s(()=>e.instantFeedback!==!0&&e.indeterminate!==!0?{transition:`stroke-dashoffset ${e.animationSpeed}ms ease 0s, stroke ${e.animationSpeed}ms ease`}:""),l=s(()=>js/(1-e.thickness/2)),u=s(()=>`${l.value/2} ${l.value/2} ${l.value} ${l.value}`),d=s(()=>tt(e.value,e.min,e.max)),f=s(()=>e.max-e.min),c=s(()=>e.thickness/2*l.value),g=s(()=>{let m=(e.max-d.value)/f.value,h=e.rounded===!0&&d.value<e.max&&m<.25?c.value/2*(1-m/.25):0;return Us*m+h});function v({thickness:m,offset:h,color:C,cls:y,rounded:q}){return a("circle",{class:"q-circular-progress__"+y+(C!==void 0?` text-${C}`:""),style:i.value,fill:"transparent",stroke:"currentColor","stroke-width":m,"stroke-dasharray":xg,"stroke-dashoffset":h,"stroke-linecap":q,cx:l.value,cy:l.value,r:Il})}return()=>{let m=[];e.centerColor!==void 0&&e.centerColor!=="transparent"&&m.push(a("circle",{class:`q-circular-progress__center text-${e.centerColor}`,fill:"currentColor",r:Il-c.value/2,cx:l.value,cy:l.value})),e.trackColor!==void 0&&e.trackColor!=="transparent"&&m.push(v({cls:"track",thickness:c.value,offset:0,color:e.trackColor})),m.push(v({cls:"circle",thickness:c.value,offset:g.value,color:e.color,rounded:e.rounded===!0?"round":void 0}));let h=[a("svg",{class:"q-circular-progress__svg",style:n.value,viewBox:u.value,"aria-hidden":"true"},m)];return e.showValue===!0&&h.push(a("div",{class:"q-circular-progress__text absolute-full row flex-center content-center",style:{fontSize:e.fontSize}},t.default!==void 0?t.default():[a("div",d.value)])),a("div",{class:`q-circular-progress q-circular-progress--${e.indeterminate===!0?"in":""}determinate`,style:r.value,role:"progressbar","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":e.indeterminate===!0?void 0:d.value},Un(t.internal,h))}}});function Nl(e,t,o){let r=xt(e),n,i=r.left-t.event.x,l=r.top-t.event.y,u=Math.abs(i),d=Math.abs(l),f=t.direction;f.horizontal===!0&&f.vertical!==!0?n=i<0?"left":"right":f.horizontal!==!0&&f.vertical===!0?n=l<0?"up":"down":f.up===!0&&l<0?(n="up",u>d&&(f.left===!0&&i<0?n="left":f.right===!0&&i>0&&(n="right"))):f.down===!0&&l>0?(n="down",u>d&&(f.left===!0&&i<0?n="left":f.right===!0&&i>0&&(n="right"))):f.left===!0&&i<0?(n="left",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down"))):f.right===!0&&i>0&&(n="right",u<d&&(f.up===!0&&l<0?n="up":f.down===!0&&l>0&&(n="down")));let c=!1;if(n===void 0&&o===!1){if(t.event.isFirst===!0||t.event.lastDir===void 0)return{};n=t.event.lastDir,c=!0,n==="left"||n==="right"?(r.left-=i,u=0,i=0):(r.top-=l,d=0,l=0)}return{synthetic:c,payload:{evt:e,touch:t.event.mouse!==!0,mouse:t.event.mouse===!0,position:r,direction:n,isFirst:t.event.isFirst,isFinal:o===!0,duration:Date.now()-t.event.time,distance:{x:u,y:d},offset:{x:i,y:l},delta:{x:r.left-t.event.lastX,y:r.top-t.event.lastY}}}}var _g=0,Rt=Pt({name:"touch-pan",beforeMount(e,{value:t,modifiers:o}){if(o.mouse!==!0&&Me.has.touch!==!0)return;function r(i,l){o.mouse===!0&&l===!0?qe(i):(o.stop===!0&&rt(i),o.prevent===!0&&ft(i))}let n={uid:"qvtp_"+_g++,handler:t,modifiers:o,direction:pr(o),noop:Ye,mouseStart(i){br(i,n)&&Uo(i)&&(dt(n,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),n.start(i,!0))},touchStart(i){if(br(i,n)){let l=i.target;dt(n,"temp",[[l,"touchmove","move","notPassiveCapture"],[l,"touchcancel","end","passiveCapture"],[l,"touchend","end","passiveCapture"]]),n.start(i)}},start(i,l){if(Me.is.firefox===!0&&Ko(e,!0),n.lastEvt=i,l===!0||o.stop===!0){if(n.direction.all!==!0&&(l!==!0||n.modifiers.mouseAllDir!==!0&&n.modifiers.mousealldir!==!0)){let f=i.type.indexOf("mouse")!==-1?new MouseEvent(i.type,i):new TouchEvent(i.type,i);i.defaultPrevented===!0&&ft(f),i.cancelBubble===!0&&rt(f),Object.assign(f,{qKeyEvent:i.qKeyEvent,qClickOutside:i.qClickOutside,qAnchorHandled:i.qAnchorHandled,qClonedBy:i.qClonedBy===void 0?[n.uid]:i.qClonedBy.concat(n.uid)}),n.initialEvent={target:i.target,event:f}}rt(i)}let{left:u,top:d}=xt(i);n.event={x:u,y:d,time:Date.now(),mouse:l===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:u,lastY:d}},move(i){if(n.event===void 0)return;let l=xt(i),u=l.left-n.event.x,d=l.top-n.event.y;if(u===0&&d===0)return;n.lastEvt=i;let f=n.event.mouse===!0,c=()=>{r(i,f);let m;o.preserveCursor!==!0&&o.preservecursor!==!0&&(m=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),f===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Ot(),n.styleCleanup=h=>{if(n.styleCleanup=void 0,m!==void 0&&(document.documentElement.style.cursor=m),document.body.classList.remove("non-selectable"),f===!0){let C=()=>{document.body.classList.remove("no-pointer-events--children")};h!==void 0?setTimeout(()=>{C(),h()},50):C()}else h!==void 0&&h()}};if(n.event.detected===!0){n.event.isFirst!==!0&&r(i,n.event.mouse);let{payload:m,synthetic:h}=Nl(i,n,!1);m!==void 0&&(n.handler(m)===!1?n.end(i):(n.styleCleanup===void 0&&n.event.isFirst===!0&&c(),n.event.lastX=m.position.left,n.event.lastY=m.position.top,n.event.lastDir=h===!0?void 0:m.direction,n.event.isFirst=!1));return}if(n.direction.all===!0||f===!0&&(n.modifiers.mouseAllDir===!0||n.modifiers.mousealldir===!0)){c(),n.event.detected=!0,n.move(i);return}let g=Math.abs(u),v=Math.abs(d);g!==v&&(n.direction.horizontal===!0&&g>v||n.direction.vertical===!0&&g<v||n.direction.up===!0&&g<v&&d<0||n.direction.down===!0&&g<v&&d>0||n.direction.left===!0&&g>v&&u<0||n.direction.right===!0&&g>v&&u>0?(n.event.detected=!0,n.move(i)):n.end(i,!0))},end(i,l){if(n.event!==void 0){if(qt(n,"temp"),Me.is.firefox===!0&&Ko(e,!1),l===!0)n.styleCleanup!==void 0&&n.styleCleanup(),n.event.detected!==!0&&n.initialEvent!==void 0&&n.initialEvent.target.dispatchEvent(n.initialEvent.event);else if(n.event.detected===!0){n.event.isFirst===!0&&n.handler(Nl(i===void 0?n.lastEvt:i,n).payload);let{payload:u}=Nl(i===void 0?n.lastEvt:i,n,!0),d=()=>{n.handler(u)};n.styleCleanup!==void 0?n.styleCleanup(d):d()}n.event=void 0,n.initialEvent=void 0,n.lastEvt=void 0}}};if(e.__qtouchpan=n,o.mouse===!0){let i=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(n,"main",[[e,"mousedown","mouseStart",`passive${i}`]])}Me.has.touch===!0&&dt(n,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchmove","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchpan;o!==void 0&&(t.oldValue!==t.value&&(typeof value!="function"&&o.end(),o.handler=t.value),o.direction=pr(t.modifiers))},beforeUnmount(e){let t=e.__qtouchpan;t!==void 0&&(t.event!==void 0&&t.end(),qt(t,"main"),qt(t,"temp"),Me.is.firefox===!0&&Ko(e,!1),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchpan)}});var Ks="q-slider__marker-labels",Cg=e=>({value:e}),wg=({marker:e})=>a("div",{key:e.value,style:e.style,class:e.classes},e.label),oi=[34,37,40,33,39,38],Ji={...Ce,...wt,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,hideSelection: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"}},ea=["pan","update:modelValue","change"];function ta({updateValue:e,updatePosition:t,getDragging:o,formAttrs:r}){let{props:n,emit:i,slots:l,proxy:{$q:u}}=U(),d=we(n,u),f=Wt(r),c=T(!1),g=T(!1),v=T(!1),m=T(!1),h=s(()=>n.vertical===!0?"--v":"--h"),C=s(()=>"-"+(n.switchLabelSide===!0?"switched":"standard")),y=s(()=>n.vertical===!0?n.reverse===!0:n.reverse!==(u.lang.rtl===!0)),q=s(()=>isNaN(n.innerMin)===!0||n.innerMin<n.min?n.min:n.innerMin),S=s(()=>isNaN(n.innerMax)===!0||n.innerMax>n.max?n.max:n.innerMax),b=s(()=>n.disable!==!0&&n.readonly!==!0&&q.value<S.value),p=s(()=>{if(n.step===0)return le=>le;let Z=(String(n.step).trim().split(".")[1]||"").length;return le=>parseFloat(le.toFixed(Z))}),k=s(()=>n.step===0?1:n.step),$=s(()=>b.value===!0?n.tabindex||0:-1),F=s(()=>n.max-n.min),D=s(()=>S.value-q.value),L=s(()=>ae(q.value)),B=s(()=>ae(S.value)),V=s(()=>n.vertical===!0?y.value===!0?"bottom":"top":y.value===!0?"right":"left"),E=s(()=>n.vertical===!0?"height":"width"),_=s(()=>n.vertical===!0?"width":"height"),R=s(()=>n.vertical===!0?"vertical":"horizontal"),N=s(()=>{let Z={role:"slider","aria-valuemin":q.value,"aria-valuemax":S.value,"aria-orientation":R.value,"data-step":n.step};return n.disable===!0?Z["aria-disabled"]="true":n.readonly===!0&&(Z["aria-readonly"]="true"),Z}),X=s(()=>`q-slider q-slider${h.value} q-slider--${c.value===!0?"":"in"}active inline no-wrap `+(n.vertical===!0?"row":"column")+(n.disable===!0?" disabled":" q-slider--enabled"+(b.value===!0?" q-slider--editable":""))+(v.value==="both"?" q-slider--focus":"")+(n.label||n.labelAlways===!0?" q-slider--label":"")+(n.labelAlways===!0?" q-slider--label-always":"")+(d.value===!0?" q-slider--dark":"")+(n.dense===!0?" q-slider--dense q-slider--dense"+h.value:""));function M(Z){let le="q-slider__"+Z;return`${le} ${le}${h.value} ${le}${h.value}${C.value}`}function Q(Z){let le="q-slider__"+Z;return`${le} ${le}${h.value}`}let J=s(()=>{let Z=n.selectionColor||n.color;return"q-slider__selection absolute"+(Z!==void 0?` text-${Z}`:"")}),de=s(()=>Q("markers")+" absolute overflow-hidden"),O=s(()=>Q("track-container")),w=s(()=>M("pin")),W=s(()=>M("label")),H=s(()=>M("text-container")),ee=s(()=>M("marker-labels-container")+(n.markerLabelsClass!==void 0?` ${n.markerLabelsClass}`:"")),Y=s(()=>"q-slider__track relative-position no-outline"+(n.trackColor!==void 0?` bg-${n.trackColor}`:"")),ue=s(()=>{let Z={[_.value]:n.trackSize};return n.trackImg!==void 0&&(Z.backgroundImage=`url(${n.trackImg}) !important`),Z}),K=s(()=>"q-slider__inner absolute"+(n.innerTrackColor!==void 0?` bg-${n.innerTrackColor}`:"")),x=s(()=>{let Z=B.value-L.value,le={[V.value]:`${100*L.value}%`,[E.value]:Z===0?"2px":`${100*Z}%`};return n.innerTrackImg!==void 0&&(le.backgroundImage=`url(${n.innerTrackImg}) !important`),le});function G(Z){let{min:le,max:Pe,step:He}=n,ke=le+Z*(Pe-le);if(He>0){let et=(ke-q.value)%He;ke+=(Math.abs(et)>=He/2?(et<0?-1:1)*He:0)-et}return ke=p.value(ke),tt(ke,q.value,S.value)}function ae(Z){return F.value===0?0:(Z-n.min)/F.value}function fe(Z,le){let Pe=xt(Z),He=n.vertical===!0?tt((Pe.top-le.top)/le.height,0,1):tt((Pe.left-le.left)/le.width,0,1);return tt(y.value===!0?1-He:He,L.value,B.value)}let Se=s(()=>co(n.markers)===!0?n.markers:k.value),me=s(()=>{let Z=[],le=Se.value,Pe=n.max,He=n.min;do Z.push(He),He+=le;while(He<Pe);return Z.push(Pe),Z}),ze=s(()=>{let Z=` ${Ks}${h.value}-`;return Ks+`${Z}${n.switchMarkerLabelsSide===!0?"switched":"standard"}${Z}${y.value===!0?"rtl":"ltr"}`}),Be=s(()=>n.markerLabels===!1?null:it(n.markerLabels).map((Z,le)=>({index:le,value:Z.value,label:Z.label||Z.value,classes:ze.value+(Z.classes!==void 0?" "+Z.classes:""),style:{...Ke(Z.value),...Z.style||{}}}))),xe=s(()=>({markerList:Be.value,markerMap:ce.value,classes:ze.value,getStyle:Ke})),Ie=s(()=>{let Z=D.value===0?"2px":100*Se.value/D.value;return{...x.value,backgroundSize:n.vertical===!0?`2px ${Z}%`:`${Z}% 2px`}});function it(Z){if(Z===!1)return null;if(Z===!0)return me.value.map(Cg);if(typeof Z=="function")return me.value.map(Pe=>{let He=Z(Pe);return ct(He)===!0?{...He,value:Pe}:{value:Pe,label:He}});let le=({value:Pe})=>Pe>=n.min&&Pe<=n.max;return Array.isArray(Z)===!0?Z.map(Pe=>ct(Pe)===!0?Pe:{value:Pe}).filter(le):Object.keys(Z).map(Pe=>{let He=Z[Pe],ke=Number(Pe);return ct(He)===!0?{...He,value:ke}:{value:ke,label:He}}).filter(le)}function Ke(Z){return{[V.value]:`${100*(Z-n.min)/F.value}%`}}let ce=s(()=>{if(n.markerLabels===!1)return null;let Z={};return Be.value.forEach(le=>{Z[le.value]=le}),Z});function ve(){if(l["marker-label-group"]!==void 0)return l["marker-label-group"](xe.value);let Z=l["marker-label"]||wg;return Be.value.map(le=>Z({marker:le,...xe.value}))}let te=s(()=>[[Rt,pe,void 0,{[R.value]:!0,prevent:!0,stop:!0,mouse:!0,mouseAllDir:!0}]]);function pe(Z){Z.isFinal===!0?(m.value!==void 0&&(t(Z.evt),Z.touch===!0&&e(!0),m.value=void 0,i("pan","end")),c.value=!1,v.value=!1):Z.isFirst===!0?(m.value=o(Z.evt),t(Z.evt),e(),c.value=!0,i("pan","start")):(t(Z.evt),e())}function Fe(){v.value=!1}function Ve(Z){t(Z,o(Z)),e(),g.value=!0,c.value=!0,document.addEventListener("mouseup",Le,!0)}function Le(){g.value=!1,c.value=!1,e(!0),Fe(),document.removeEventListener("mouseup",Le,!0)}function at(Z){t(Z,o(Z)),e(!0)}function mt(Z){oi.includes(Z.keyCode)&&e(!0)}function vt(Z){if(n.vertical===!0)return null;let le=u.lang.rtl!==n.reverse?1-Z:Z;return{transform:`translateX(calc(${2*le-1} * ${n.thumbSize} / 2 + ${50-100*le}%))`}}function ne(Z){let le=s(()=>g.value===!1&&(v.value===Z.focusValue||v.value==="both")?" q-slider--focus":""),Pe=s(()=>`q-slider__thumb q-slider__thumb${h.value} q-slider__thumb${h.value}-${y.value===!0?"rtl":"ltr"} absolute non-selectable`+le.value+(Z.thumbColor.value!==void 0?` text-${Z.thumbColor.value}`:"")),He=s(()=>({width:n.thumbSize,height:n.thumbSize,[V.value]:`${100*Z.ratio.value}%`,zIndex:v.value===Z.focusValue?2:void 0})),ke=s(()=>Z.labelColor.value!==void 0?` text-${Z.labelColor.value}`:""),et=s(()=>vt(Z.ratio.value)),pt=s(()=>"q-slider__text"+(Z.labelTextColor.value!==void 0?` text-${Z.labelTextColor.value}`:""));return()=>{let yt=[a("svg",{class:"q-slider__thumb-shape absolute-full",viewBox:"0 0 20 20","aria-hidden":"true"},[a("path",{d:n.thumbPath})]),a("div",{class:"q-slider__focus-ring fit"})];return(n.label===!0||n.labelAlways===!0)&&(yt.push(a("div",{class:w.value+" absolute fit no-pointer-events"+ke.value},[a("div",{class:W.value,style:{minWidth:n.thumbSize}},[a("div",{class:H.value,style:et.value},[a("span",{class:pt.value},Z.label.value)])])])),n.name!==void 0&&n.disable!==!0&&f(yt,"push")),a("div",{class:Pe.value,style:He.value,...Z.getNodeData()},yt)}}function se(Z,le,Pe,He){let ke=[];n.innerTrackColor!=="transparent"&&ke.push(a("div",{key:"inner",class:K.value,style:x.value})),n.selectionColor!=="transparent"&&ke.push(a("div",{key:"selection",class:J.value,style:Z.value})),n.markers!==!1&&ke.push(a("div",{key:"marker",class:de.value,style:Ie.value})),He(ke);let et=[Mt("div",{key:"trackC",class:O.value,tabindex:le.value,...Pe.value},[a("div",{class:Y.value,style:ue.value},ke)],"slide",b.value,()=>te.value)];if(n.markerLabels!==!1){let pt=n.switchMarkerLabelsSide===!0?"unshift":"push";et[pt](a("div",{key:"markerL",class:ee.value},ve()))}return et}return ye(()=>{document.removeEventListener("mouseup",Le,!0)}),{state:{active:c,focus:v,preventFocus:g,dragging:m,editable:b,classes:X,tabindex:$,attributes:N,roundValueFn:p,keyStep:k,trackLen:F,innerMin:q,innerMinRatio:L,innerMax:S,innerMaxRatio:B,positionProp:V,sizeProp:E,isReversed:y},methods:{onActivate:Ve,onMobileClick:at,onBlur:Fe,onKeyup:mt,getContent:se,getThumbRenderFn:ne,convertRatioToModel:G,convertModelToRatio:ae,getDraggingRatio:fe}}}var kg=()=>({}),Go=A({name:"QSlider",props:{...Ji,modelValue:{required:!0,default:null,validator:e=>typeof e=="number"||e===null},labelValue:[String,Number]},emits:ea,setup(e,{emit:t}){let{proxy:{$q:o}}=U(),{state:r,methods:n}=ta({updateValue:h,updatePosition:y,getDragging:C,formAttrs:Lo(e)}),i=T(null),l=T(0),u=T(0);function d(){u.value=e.modelValue===null?r.innerMin.value:tt(e.modelValue,r.innerMin.value,r.innerMax.value)}j(()=>`${e.modelValue}|${r.innerMin.value}|${r.innerMax.value}`,d),d();let f=s(()=>n.convertModelToRatio(u.value)),c=s(()=>r.active.value===!0?l.value:f.value),g=s(()=>{let b={[r.positionProp.value]:`${100*r.innerMinRatio.value}%`,[r.sizeProp.value]:`${100*(c.value-r.innerMinRatio.value)}%`};return e.selectionImg!==void 0&&(b.backgroundImage=`url(${e.selectionImg}) !important`),b}),v=n.getThumbRenderFn({focusValue:!0,getNodeData:kg,ratio:c,label:s(()=>e.labelValue!==void 0?e.labelValue:u.value),thumbColor:s(()=>e.thumbColor||e.color),labelColor:s(()=>e.labelColor),labelTextColor:s(()=>e.labelTextColor)}),m=s(()=>r.editable.value!==!0?{}:o.platform.is.mobile===!0?{onClick:n.onMobileClick}:{onMousedown:n.onActivate,onFocus:q,onBlur:n.onBlur,onKeydown:S,onKeyup:n.onKeyup});function h(b){u.value!==e.modelValue&&t("update:modelValue",u.value),b===!0&&t("change",u.value)}function C(){return i.value.getBoundingClientRect()}function y(b,p=r.dragging.value){let k=n.getDraggingRatio(b,p);u.value=n.convertRatioToModel(k),l.value=e.snap!==!0||e.step===0?k:n.convertModelToRatio(u.value)}function q(){r.focus.value=!0}function S(b){if(!oi.includes(b.keyCode))return;qe(b);let p=([34,33].includes(b.keyCode)?10:1)*r.keyStep.value,k=([34,37,40].includes(b.keyCode)?-1:1)*(r.isReversed.value===!0?-1:1)*(e.vertical===!0?-1:1)*p;u.value=tt(r.roundValueFn.value(u.value+k),r.innerMin.value,r.innerMax.value),h()}return()=>{let b=n.getContent(g,r.tabindex,m,p=>{p.push(v())});return a("div",{ref:i,class:r.classes.value+(e.modelValue===null?" q-slider--no-value":""),...r.attributes.value,"aria-valuenow":e.modelValue},b)}}});function oa(){let e=T(!kt.value);return e.value===!1&&je(()=>{e.value=!0}),e}var Ys=typeof ResizeObserver<"u",Ws=Ys===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},to=A({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(e,{emit:t}){let o=null,r,n={width:-1,height:-1};function i(d){d===!0||e.debounce===0||e.debounce==="0"?l():o===null&&(o=setTimeout(l,e.debounce))}function l(){if(o!==null&&(clearTimeout(o),o=null),r){let{offsetWidth:d,offsetHeight:f}=r;(d!==n.width||f!==n.height)&&(n={width:d,height:f},t("resize",n))}}let{proxy:u}=U();if(u.trigger=i,Ys===!0){let d,f=c=>{r=u.$el.parentNode,r?(d=new ResizeObserver(i),d.observe(r),l()):c!==!0&&Ae(()=>{f(!0)})};return je(()=>{f()}),ye(()=>{o!==null&&clearTimeout(o),d!==void 0&&(d.disconnect!==void 0?d.disconnect():r&&d.unobserve(r))}),Ye}else{let c=function(){o!==null&&(clearTimeout(o),o=null),f!==void 0&&(f.removeEventListener!==void 0&&f.removeEventListener("resize",i,Je.passive),f=void 0)},g=function(){c(),r&&r.contentDocument&&(f=r.contentDocument.defaultView,f.addEventListener("resize",i,Je.passive),l())},d=oa(),f;return je(()=>{Ae(()=>{r=u.$el,r&&g()})}),ye(c),()=>{if(d.value===!0)return a("object",{class:"q--avoid-card-border",style:Ws.style,tabindex:-1,type:"text/html",data:Ws.url,"aria-hidden":"true",onLoad:g})}}}});var An=!1;{let e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});let t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,An=e.scrollLeft>=0,e.remove()}function qg(e,t,o){let r=o===!0?["left","right"]:["top","bottom"];return`absolute-${t===!0?r[0]:r[1]}${e?` text-${e}`:""}`}var Tg=["left","center","right","justify"],ni=A({name:"QTabs",props:{modelValue:[Number,String],align:{type:String,default:"center",validator:e=>Tg.includes(e)},breakpoint:{type:[String,Number],default:600},vertical:Boolean,shrink:Boolean,stretch:Boolean,activeClass:String,activeColor:String,activeBgColor:String,indicatorColor:String,leftIcon:String,rightIcon:String,outsideArrows:Boolean,mobileArrows:Boolean,switchIndicator:Boolean,narrowIndicator:Boolean,inlineLabel:Boolean,noCaps:Boolean,dense:Boolean,contentClass:String,"onUpdate:modelValue":[Function,Array]},setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,{registerTick:i}=Eo(),{registerTick:l}=Eo(),{registerTick:u}=Eo(),{registerTimeout:d,removeTimeout:f}=Jt(),{registerTimeout:c,removeTimeout:g}=Jt(),v=T(null),m=T(null),h=T(e.modelValue),C=T(!1),y=T(!0),q=T(!1),S=T(!1),b=[],p=T(0),k=T(!1),$=null,F=null,D,L=s(()=>({activeClass:e.activeClass,activeColor:e.activeColor,activeBgColor:e.activeBgColor,indicatorClass:qg(e.indicatorColor,e.switchIndicator,e.vertical),narrowIndicator:e.narrowIndicator,inlineLabel:e.inlineLabel,noCaps:e.noCaps})),B=s(()=>{let ce=p.value,ve=h.value;for(let te=0;te<ce;te++)if(b[te].name.value===ve)return!0;return!1}),V=s(()=>`q-tabs__content--align-${C.value===!0?"left":S.value===!0?"justify":e.align}`),E=s(()=>`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":"")),_=s(()=>"q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position "+V.value+(e.contentClass!==void 0?` ${e.contentClass}`:"")),R=s(()=>e.vertical===!0?{container:"height",content:"offsetHeight",scroll:"scrollHeight"}:{container:"width",content:"offsetWidth",scroll:"scrollWidth"}),N=s(()=>e.vertical!==!0&&n.lang.rtl===!0),X=s(()=>An===!1&&N.value===!0);j(N,w),j(()=>e.modelValue,ce=>{M({name:ce,setCurrent:!0,skipEmit:!0})}),j(()=>e.outsideArrows,Q);function M({name:ce,setCurrent:ve,skipEmit:te}){h.value!==ce&&(te!==!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",ce),(ve===!0||e["onUpdate:modelValue"]===void 0)&&(de(h.value,ce),h.value=ce))}function Q(){i(()=>{J({width:v.value.offsetWidth,height:v.value.offsetHeight})})}function J(ce){if(R.value===void 0||m.value===null)return;let ve=ce[R.value.container],te=Math.min(m.value[R.value.scroll],Array.prototype.reduce.call(m.value.children,(Fe,Ve)=>Fe+(Ve[R.value.content]||0),0)),pe=ve>0&&te>ve;C.value=pe,pe===!0&&l(w),S.value=ve<parseInt(e.breakpoint,10)}function de(ce,ve){let te=ce!=null&&ce!==""?b.find(Fe=>Fe.name.value===ce):null,pe=ve!=null&&ve!==""?b.find(Fe=>Fe.name.value===ve):null;if(te&&pe){let Fe=te.tabIndicatorRef.value,Ve=pe.tabIndicatorRef.value;$!==null&&(clearTimeout($),$=null),Fe.style.transition="none",Fe.style.transform="none",Ve.style.transition="none",Ve.style.transform="none";let Le=Fe.getBoundingClientRect(),at=Ve.getBoundingClientRect();Ve.style.transform=e.vertical===!0?`translate3d(0,${Le.top-at.top}px,0) scale3d(1,${at.height?Le.height/at.height:1},1)`:`translate3d(${Le.left-at.left}px,0,0) scale3d(${at.width?Le.width/at.width:1},1,1)`,u(()=>{$=setTimeout(()=>{$=null,Ve.style.transition="transform .25s cubic-bezier(.4, 0, .2, 1)",Ve.style.transform="none"},70)})}pe&&C.value===!0&&O(pe.rootRef.value)}function O(ce){let{left:ve,width:te,top:pe,height:Fe}=m.value.getBoundingClientRect(),Ve=ce.getBoundingClientRect(),Le=e.vertical===!0?Ve.top-pe:Ve.left-ve;if(Le<0){m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.floor(Le),w();return}Le+=e.vertical===!0?Ve.height-Fe:Ve.width-te,Le>0&&(m.value[e.vertical===!0?"scrollTop":"scrollLeft"]+=Math.ceil(Le),w())}function w(){let ce=m.value;if(ce===null)return;let ve=ce.getBoundingClientRect(),te=e.vertical===!0?ce.scrollTop:Math.abs(ce.scrollLeft);N.value===!0?(y.value=Math.ceil(te+ve.width)<ce.scrollWidth-1,q.value=te>0):(y.value=te>0,q.value=e.vertical===!0?Math.ceil(te+ve.height)<ce.scrollHeight:Math.ceil(te+ve.width)<ce.scrollWidth)}function W(ce){F!==null&&clearInterval(F),F=setInterval(()=>{x(ce)===!0&&Y()},5)}function H(){W(X.value===!0?Number.MAX_SAFE_INTEGER:0)}function ee(){W(X.value===!0?0:Number.MAX_SAFE_INTEGER)}function Y(){F!==null&&(clearInterval(F),F=null)}function ue(ce,ve){let te=Array.prototype.filter.call(m.value.children,at=>at===ve||at.matches&&at.matches(".q-tab.q-focusable")===!0),pe=te.length;if(pe===0)return;if(ce===36)return O(te[0]),te[0].focus(),!0;if(ce===35)return O(te[pe-1]),te[pe-1].focus(),!0;let Fe=ce===(e.vertical===!0?38:37),Ve=ce===(e.vertical===!0?40:39),Le=Fe===!0?-1:Ve===!0?1:void 0;if(Le!==void 0){let at=N.value===!0?-1:1,mt=te.indexOf(ve)+Le*at;return mt>=0&&mt<pe&&(O(te[mt]),te[mt].focus({preventScroll:!0})),!0}}let K=s(()=>X.value===!0?{get:ce=>Math.abs(ce.scrollLeft),set:(ce,ve)=>{ce.scrollLeft=-ve}}:e.vertical===!0?{get:ce=>ce.scrollTop,set:(ce,ve)=>{ce.scrollTop=ve}}:{get:ce=>ce.scrollLeft,set:(ce,ve)=>{ce.scrollLeft=ve}});function x(ce){let ve=m.value,{get:te,set:pe}=K.value,Fe=!1,Ve=te(ve),Le=ce<Ve?-1:1;return Ve+=Le*5,Ve<0?(Fe=!0,Ve=0):(Le===-1&&Ve<=ce||Le===1&&Ve>=ce)&&(Fe=!0,Ve=ce),pe(ve,Ve),w(),Fe}function G(ce,ve){for(let te in ce)if(ce[te]!==ve[te])return!1;return!0}function ae(){let ce=null,ve={matchedLen:0,queryDiff:9999,hrefLen:0},te=b.filter(Le=>Le.routeData!==void 0&&Le.routeData.hasRouterLink.value===!0),{hash:pe,query:Fe}=r.$route,Ve=Object.keys(Fe).length;for(let Le of te){let at=Le.routeData.exact.value===!0;if(Le.routeData[at===!0?"linkIsExactActive":"linkIsActive"].value!==!0)continue;let{hash:mt,query:vt,matched:ne,href:se}=Le.routeData.resolvedLink.value,Z=Object.keys(vt).length;if(at===!0){if(mt!==pe||Z!==Ve||G(Fe,vt)===!1)continue;ce=Le.name.value;break}if(mt!==""&&mt!==pe||Z!==0&&G(vt,Fe)===!1)continue;let le={matchedLen:ne.length,queryDiff:Ve-Z,hrefLen:se.length-mt.length};if(le.matchedLen>ve.matchedLen){ce=Le.name.value,ve=le;continue}else if(le.matchedLen!==ve.matchedLen)continue;if(le.queryDiff<ve.queryDiff)ce=Le.name.value,ve=le;else if(le.queryDiff!==ve.queryDiff)continue;le.hrefLen>ve.hrefLen&&(ce=Le.name.value,ve=le)}ce===null&&b.some(Le=>Le.routeData===void 0&&Le.name.value===h.value)===!0||M({name:ce,setCurrent:!0})}function fe(ce){if(f(),k.value!==!0&&v.value!==null&&ce.target&&typeof ce.target.closest=="function"){let ve=ce.target.closest(".q-tab");ve&&v.value.contains(ve)===!0&&(k.value=!0,C.value===!0&&O(ve))}}function Se(){d(()=>{k.value=!1},30)}function me(){Ie.avoidRouteWatcher===!1?c(ae):g()}function ze(){if(D===void 0){let ce=j(()=>r.$route.fullPath,me);D=()=>{ce(),D=void 0}}}function Be(ce){b.push(ce),p.value++,Q(),ce.routeData===void 0||r.$route===void 0?c(()=>{if(C.value===!0){let ve=h.value,te=ve!=null&&ve!==""?b.find(pe=>pe.name.value===ve):null;te&&O(te.rootRef.value)}}):(ze(),ce.routeData.hasRouterLink.value===!0&&me())}function xe(ce){b.splice(b.indexOf(ce),1),p.value--,Q(),D!==void 0&&ce.routeData!==void 0&&(b.every(ve=>ve.routeData===void 0)===!0&&D(),me())}let Ie={currentModel:h,tabProps:L,hasFocus:k,hasActiveTab:B,registerTab:Be,unregisterTab:xe,verifyRouteModel:me,updateModel:M,onKbdNavigate:ue,avoidRouteWatcher:!1};Qt(Mi,Ie);function it(){$!==null&&clearTimeout($),Y(),D!==void 0&&D()}let Ke;return ye(it),Bt(()=>{Ke=D!==void 0,it()}),Ht(()=>{Ke===!0&&ze(),Q()}),()=>a("div",{ref:v,class:E.value,role:"tablist",onFocusin:fe,onFocusout:Se},[a(to,{onResize:J}),a("div",{ref:m,class:_.value,onScroll:w},ie(t.default)),a(Re,{class:"q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon"+(y.value===!0?"":" q-tabs__arrow--faded"),name:e.leftIcon||n.iconSet.tabs[e.vertical===!0?"up":"left"],onMousedownPassive:H,onTouchstartPassive:H,onMouseupPassive:Y,onMouseleavePassive:Y,onTouchendPassive:Y}),a(Re,{class:"q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon"+(q.value===!0?"":" q-tabs__arrow--faded"),name:e.rightIcon||n.iconSet.tabs[e.vertical===!0?"down":"right"],onMousedownPassive:ee,onTouchstartPassive:ee,onMouseupPassive:Y,onMouseleavePassive:Y,onTouchendPassive:Y})])}});var Mg=0,na=["click","keydown"],ra={icon:String,label:[Number,String],alert:[Boolean,String],alertIcon:String,name:{type:[Number,String],default:()=>`t_${Mg++}`},noCaps:Boolean,tabindex:[String,Number],disable:Boolean,contentClass:String,ripple:{type:[Boolean,Object],default:!0}};function ia(e,t,o,r){let n=ht(Mi,Ze);if(n===Ze)return console.error("QTab/QRouteTab component needs to be child of QTabs"),Ze;let{proxy:i}=U(),l=T(null),u=T(null),d=T(null),f=s(()=>e.disable===!0||e.ripple===!1?!1:Object.assign({keyCodes:[13,32],early:!0},e.ripple===!0?{}:e.ripple)),c=s(()=>n.currentModel.value===e.name),g=s(()=>"q-tab relative-position self-stretch flex flex-center text-center"+(c.value===!0?" q-tab--active"+(n.tabProps.value.activeClass?" "+n.tabProps.value.activeClass:"")+(n.tabProps.value.activeColor?` text-${n.tabProps.value.activeColor}`:"")+(n.tabProps.value.activeBgColor?` bg-${n.tabProps.value.activeBgColor}`:""):" q-tab--inactive")+(e.icon&&e.label&&n.tabProps.value.inlineLabel===!1?" q-tab--full":"")+(e.noCaps===!0||n.tabProps.value.noCaps===!0?" q-tab--no-caps":"")+(e.disable===!0?" disabled":" q-focusable q-hoverable cursor-pointer")+(r!==void 0?r.linkClass.value:"")),v=s(()=>"q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable "+(n.tabProps.value.inlineLabel===!0?"row no-wrap q-tab__content--inline":"column")+(e.contentClass!==void 0?` ${e.contentClass}`:"")),m=s(()=>e.disable===!0||n.hasFocus.value===!0||c.value===!1&&n.hasActiveTab.value===!0?-1:e.tabindex||0);function h(b,p){if(p!==!0&&l.value!==null&&l.value.focus(),e.disable===!0){r!==void 0&&r.hasRouterLink.value===!0&&qe(b);return}if(r===void 0){n.updateModel({name:e.name}),o("click",b);return}if(r.hasRouterLink.value===!0){let k=($={})=>{let F,D=$.to===void 0||Kt($.to,e.to)===!0?n.avoidRouteWatcher=Xo():null;return r.navigateToRouterLink(b,{...$,returnRouterError:!0}).catch(L=>{F=L}).then(L=>{if(D===n.avoidRouteWatcher&&(n.avoidRouteWatcher=!1,F===void 0&&(L===void 0||L.message!==void 0&&L.message.startsWith("Avoided redundant navigation")===!0)&&n.updateModel({name:e.name})),$.returnRouterError===!0)return F!==void 0?Promise.reject(F):L})};o("click",b,k),b.defaultPrevented!==!0&&k();return}o("click",b)}function C(b){Tt(b,[13,32])?h(b,!0):no(b)!==!0&&b.keyCode>=35&&b.keyCode<=40&&b.altKey!==!0&&b.metaKey!==!0&&n.onKbdNavigate(b.keyCode,i.$el)===!0&&qe(b),o("keydown",b)}function y(){let b=n.tabProps.value.narrowIndicator,p=[],k=a("div",{ref:d,class:["q-tab__indicator",n.tabProps.value.indicatorClass]});e.icon!==void 0&&p.push(a(Re,{class:"q-tab__icon",name:e.icon})),e.label!==void 0&&p.push(a("div",{class:"q-tab__label"},e.label)),e.alert!==!1&&p.push(e.alertIcon!==void 0?a(Re,{class:"q-tab__alert-icon",color:e.alert!==!0?e.alert:void 0,name:e.alertIcon}):a("div",{class:"q-tab__alert"+(e.alert!==!0?` text-${e.alert}`:"")})),b===!0&&p.push(k);let $=[a("div",{class:"q-focus-helper",tabindex:-1,ref:l}),a("div",{class:v.value},Xe(t.default,p))];return b===!1&&$.push(k),$}let q={name:s(()=>e.name),rootRef:u,tabIndicatorRef:d,routeData:r};ye(()=>{n.unregisterTab(q)}),je(()=>{n.registerTab(q)});function S(b,p){let k={ref:u,class:g.value,tabindex:m.value,role:"tab","aria-selected":c.value===!0?"true":"false","aria-disabled":e.disable===!0?"true":void 0,onClick:h,onKeydown:C,...p};return $t(a(b,k,y()),[[Po,f.value]])}return{renderTab:S,$tabs:n}}var cn=A({name:"QTab",props:ra,emits:na,setup(e,{slots:t,emit:o}){let{renderTab:r}=ia(e,t,o);return()=>r("div")}});var aa=A({name:"QTabPanels",props:{...Sr,...Ce},emits:xr,setup(e,{slots:t}){let o=U(),r=we(e,o.proxy.$q),{updatePanelsList:n,getPanelContent:i,panelDirectives:l}=_r(),u=s(()=>"q-tab-panels q-panel-parent"+(r.value===!0?" q-tab-panels--dark q-dark":""));return()=>(n(t),Mt("div",{class:u.value},i(),"pan",e.swipeable,()=>l.value))}});var Mr=A({name:"QTabPanel",props:yr,setup(e,{slots:t}){return()=>a("div",{class:"q-tab-panel",role:"tabpanel"},ie(t.default))}});var Xs=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Gs=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Zs=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,la=/^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])\)$/,ua=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,$n={date:e=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),time:e=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),fulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),timeOrFulltime:e=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(e),email:e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),hexColor:e=>Xs.test(e),hexaColor:e=>Gs.test(e),hexOrHexaColor:e=>Zs.test(e),rgbColor:e=>la.test(e),rgbaColor:e=>ua.test(e),rgbOrRgbaColor:e=>la.test(e)||ua.test(e),hexOrRgbColor:e=>Xs.test(e)||la.test(e),hexaOrRgbaColor:e=>Gs.test(e)||ua.test(e),anyColor:e=>Zs.test(e)||la.test(e)||ua.test(e)},Js={testPattern:$n};var Rg=/^rgb(a)?\((\d{1,3}),(\d{1,3}),(\d{1,3}),?([01]?\.?\d*?)?\)$/;function En({r:e,g:t,b:o,a:r}){let n=r!==void 0;if(e=Math.round(e),t=Math.round(t),o=Math.round(o),e>255||t>255||o>255||n&&r>100)throw new TypeError("Expected 3 numbers below 256 (and optionally one below 100)");return r=n?(Math.round(255*r/100)|256).toString(16).slice(1):"","#"+(o|t<<8|e<<16|1<<24).toString(16).slice(1)+r}function Hl({r:e,g:t,b:o,a:r}){return`rgb${r!==void 0?"a":""}(${e},${t},${o}${r!==void 0?","+r/100:""})`}function sa(e){if(typeof e!="string")throw new TypeError("Expected a string");e=e.replace(/^#/,""),e.length===3?e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]:e.length===4&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);let t=parseInt(e,16);return e.length>6?{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:Math.round((t&255)/2.55)}:{r:t>>16,g:t>>8&255,b:t&255}}function ca({h:e,s:t,v:o,a:r}){let n,i,l;t=t/100,o=o/100,e=e/360;let u=Math.floor(e*6),d=e*6-u,f=o*(1-t),c=o*(1-d*t),g=o*(1-(1-d)*t);switch(u%6){case 0:n=o,i=g,l=f;break;case 1:n=c,i=o,l=f;break;case 2:n=f,i=o,l=g;break;case 3:n=f,i=c,l=o;break;case 4:n=g,i=f,l=o;break;case 5:n=o,i=f,l=c;break}return{r:Math.round(n*255),g:Math.round(i*255),b:Math.round(l*255),a:r}}function ri({r:e,g:t,b:o,a:r}){let n=Math.max(e,t,o),i=Math.min(e,t,o),l=n-i,u=n===0?0:l/n,d=n/255,f;switch(n){case i:f=0;break;case e:f=t-o+l*(t<o?6:0),f/=6*l;break;case t:f=o-e+l*2,f/=6*l;break;case o:f=e-t+l*4,f/=6*l;break}return{h:Math.round(f*360),s:Math.round(u*100),v:Math.round(d*100),a:r}}function zo(e){if(typeof e!="string")throw new TypeError("Expected a string");let t=e.replace(/ /g,""),o=Rg.exec(t);if(o===null)return sa(t);let r={r:Math.min(255,parseInt(o[2],10)),g:Math.min(255,parseInt(o[3],10)),b:Math.min(255,parseInt(o[4],10))};if(o[1]){let n=parseFloat(o[5]);r.a=Math.min(1,isNaN(n)===!0?1:n)*100}return r}function Pg(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(typeof t!="number")throw new TypeError("Expected a numeric percent");let o=zo(e),r=t<0?0:255,n=Math.abs(t)/100,i=o.r,l=o.g,u=o.b;return"#"+(16777216+(Math.round((r-i)*n)+i)*65536+(Math.round((r-l)*n)+l)*256+(Math.round((r-u)*n)+u)).toString(16).slice(1)}function Ql(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?zo(e):e,o=t.r/255,r=t.g/255,n=t.b/255,i=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),l=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),u=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*i+.7152*l+.0722*u}function Ag(e){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b} object as color");let t=typeof e=="string"?zo(e):e;return(t.r*299+t.g*587+t.b*114)/1e3}function $g(e,t){if(typeof e!="string"&&(!e||e.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as fgColor");if(typeof t!="string"&&(!t||t.r===void 0))throw new TypeError("Expected a string or a {r, g, b[, a]} object as bgColor");let o=typeof e=="string"?zo(e):e,r=o.r/255,n=o.g/255,i=o.b/255,l=o.a!==void 0?o.a/100:1,u=typeof t=="string"?zo(t):t,d=u.r/255,f=u.g/255,c=u.b/255,g=u.a!==void 0?u.a/100:1,v=l+g*(1-l),m=Math.round((r*l+d*g*(1-l))/v*255),h=Math.round((n*l+f*g*(1-l))/v*255),C=Math.round((i*l+c*g*(1-l))/v*255),y={r:m,g:h,b:C,a:Math.round(v*100)};return typeof e=="string"?En(y):y}function Eg(e,t){if(typeof e!="string")throw new TypeError("Expected a string as color");if(t===void 0||t<-1||t>1)throw new TypeError("Expected offset to be between -1 and 1");let{r:o,g:r,b:n,a:i}=zo(e),l=i!==void 0?i/100:0;return En({r:o,g:r,b:n,a:Math.round(Math.min(1,Math.max(0,l+t))*100)})}function Bg(e){if(typeof e!="string")throw new TypeError("Expected a string as color");let t=document.createElement("div");t.className=`text-${e} invisible fixed no-pointer-events`,document.body.appendChild(t);let o=getComputedStyle(t).getPropertyValue("color");return t.remove(),En(zo(o))}var ec={rgbToHex:En,hexToRgb:sa,hsvToRgb:ca,rgbToHsv:ri,textToRgb:zo,lighten:Pg,luminosity:Ql,brightness:Ag,blend:$g,changeAlpha:Eg,getPaletteColor:Bg};var Fg=["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)"],tc="M5 5 h10 v10 h-10 v-10 z",Lg="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==",oc=A({name:"QColor",props:{...Ce,...wt,modelValue:String,defaultValue:String,defaultView:{type:String,default:"spectrum",validator:e=>["spectrum","tune","palette"].includes(e)},formatModel:{type:String,default:"auto",validator:e=>["auto","hex","rgb","hexa","rgba"].includes(e)},palette:Array,noHeader:Boolean,noHeaderTabs:Boolean,noFooter:Boolean,square:Boolean,flat:Boolean,bordered:Boolean,disable:Boolean,readonly:Boolean},emits:["update:modelValue","change"],setup(e,{emit:t}){let{proxy:o}=U(),{$q:r}=o,n=we(e,r),{getCache:i}=Vo(),l=T(null),u=T(null),d=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("hex")!==-1),f=s(()=>e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1),c=T(e.formatModel==="auto"?e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")?"hex":"rgb":e.formatModel.startsWith("hex")?"hex":"rgb"),g=T(e.defaultView),v=T(E(e.modelValue||e.defaultValue)),m=s(()=>e.disable!==!0&&e.readonly!==!0),h=s(()=>e.modelValue===void 0||e.modelValue===null||e.modelValue===""||e.modelValue.startsWith("#")),C=s(()=>d.value!==null?d.value:h.value),y=s(()=>({type:"hidden",name:e.name,value:v.value[C.value===!0?"hex":"rgb"]})),q=Wt(y),S=s(()=>f.value!==null?f.value:v.value.a!==void 0),b=s(()=>({backgroundColor:v.value.rgb||"#000"})),p=s(()=>`q-color-picker__header-content q-color-picker__header-content--${(v.value.a!==void 0&&v.value.a<65?!0:Ql(v.value)>.4)?"light":"dark"}`),k=s(()=>({background:`hsl(${v.value.h},100%,50%)`})),$=s(()=>({top:`${100-v.value.v}%`,[r.lang.rtl===!0?"right":"left"]:`${v.value.s}%`})),F=s(()=>e.palette!==void 0&&e.palette.length!==0?e.palette:Fg),D=s(()=>"q-color-picker"+(e.bordered===!0?" q-color-picker--bordered":"")+(e.square===!0?" q-color-picker--square no-border-radius":"")+(e.flat===!0?" q-color-picker--flat no-shadow":"")+(e.disable===!0?" disabled":"")+(n.value===!0?" q-color-picker--dark q-dark":"")),L=s(()=>e.disable===!0?{"aria-disabled":"true"}:{}),B=s(()=>[[Rt,Q,void 0,{prevent:!0,stop:!0,mouse:!0}]]);j(()=>e.modelValue,x=>{let G=E(x||e.defaultValue);G.hex!==v.value.hex&&(v.value=G)}),j(()=>e.defaultValue,x=>{if(!e.modelValue&&x){let G=E(x);G.hex!==v.value.hex&&(v.value=G)}});function V(x,G){v.value.hex=En(x),v.value.rgb=Hl(x),v.value.r=x.r,v.value.g=x.g,v.value.b=x.b,v.value.a=x.a;let ae=v.value[C.value===!0?"hex":"rgb"];t("update:modelValue",ae),G===!0&&t("change",ae)}function E(x){let G=f.value!==void 0?f.value:e.formatModel==="auto"?null:e.formatModel.indexOf("a")!==-1;if(typeof x!="string"||x.length===0||$n.anyColor(x.replace(/ /g,""))!==!0)return{h:0,s:0,v:0,r:0,g:0,b:0,a:G===!0?100:void 0,hex:void 0,rgb:void 0};let ae=zo(x);return G===!0&&ae.a===void 0&&(ae.a=100),ae.hex=En(ae),ae.rgb=Hl(ae),Object.assign(ae,ri(ae))}function _(x,G,ae){let fe=l.value;if(fe===null)return;let Se=fe.clientWidth,me=fe.clientHeight,ze=fe.getBoundingClientRect(),Be=Math.min(Se,Math.max(0,x-ze.left));r.lang.rtl===!0&&(Be=Se-Be);let xe=Math.min(me,Math.max(0,G-ze.top)),Ie=Math.round(100*Be/Se),it=Math.round(100*Math.max(0,Math.min(1,-(xe/me)+1))),Ke=ca({h:v.value.h,s:Ie,v:it,a:S.value===!0?v.value.a:void 0});v.value.s=Ie,v.value.v=it,V(Ke,ae)}function R(x,G){let ae=Math.round(x),fe=ca({h:ae,s:v.value.s,v:v.value.v,a:S.value===!0?v.value.a:void 0});v.value.h=ae,V(fe,G)}function N(x,G,ae,fe,Se){if(fe!==void 0&&rt(fe),!/^[0-9]+$/.test(x)){Se===!0&&o.$forceUpdate();return}let me=Math.floor(Number(x));if(me<0||me>ae){Se===!0&&o.$forceUpdate();return}let ze={r:G==="r"?me:v.value.r,g:G==="g"?me:v.value.g,b:G==="b"?me:v.value.b,a:S.value===!0?G==="a"?me:v.value.a:void 0};if(G!=="a"){let Be=ri(ze);v.value.h=Be.h,v.value.s=Be.s,v.value.v=Be.v}if(V(ze,Se),fe!==void 0&&Se!==!0&&fe.target.selectionEnd!==void 0){let Be=fe.target.selectionEnd;Ae(()=>{fe.target.setSelectionRange(Be,Be)})}}function X(x,G){let ae,fe=x.target.value;if(rt(x),c.value==="hex"){if(fe.length!==(S.value===!0?9:7)||!/^#[0-9A-Fa-f]+$/.test(fe))return!0;ae=sa(fe)}else{let me;if(fe.endsWith(")"))if(S.value!==!0&&fe.startsWith("rgb(")){if(me=fe.substring(4,fe.length-1).split(",").map(ze=>parseInt(ze,10)),me.length!==3||!/^rgb\([0-9]{1,3},[0-9]{1,3},[0-9]{1,3}\)$/.test(fe))return!0}else if(S.value===!0&&fe.startsWith("rgba(")){if(me=fe.substring(5,fe.length-1).split(","),me.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(fe))return!0;for(let Be=0;Be<3;Be++){let xe=parseInt(me[Be],10);if(xe<0||xe>255)return!0;me[Be]=xe}let ze=parseFloat(me[3]);if(ze<0||ze>1)return!0;me[3]=ze}else return!0;else return!0;if(me[0]<0||me[0]>255||me[1]<0||me[1]>255||me[2]<0||me[2]>255||S.value===!0&&(me[3]<0||me[3]>1))return!0;ae={r:me[0],g:me[1],b:me[2],a:S.value===!0?me[3]*100:void 0}}let Se=ri(ae);if(v.value.h=Se.h,v.value.s=Se.s,v.value.v=Se.v,V(ae,G),G!==!0){let me=x.target.selectionEnd;Ae(()=>{x.target.setSelectionRange(me,me)})}}function M(x){let G=E(x),ae={r:G.r,g:G.g,b:G.b,a:G.a};ae.a===void 0&&(ae.a=v.value.a),v.value.h=G.h,v.value.s=G.s,v.value.v=G.v,V(ae,!0)}function Q(x){x.isFinal?_(x.position.left,x.position.top,!0):J(x)}let J=Gn(x=>{_(x.position.left,x.position.top)},20);function de(x){_(x.pageX-window.pageXOffset,x.pageY-window.pageYOffset,!0)}function O(x){_(x.pageX-window.pageXOffset,x.pageY-window.pageYOffset)}function w(x){u.value!==null&&(u.value.$el.style.opacity=x?1:0)}function W(){let x=[];return e.noHeaderTabs!==!0&&x.push(a(ni,{class:"q-color-picker__header-tabs",modelValue:c.value,dense:!0,align:"justify",...i("topVTab",{"onUpdate:modelValue":G=>{c.value=G}})},()=>[a(cn,{label:"HEX"+(S.value===!0?"A":""),name:"hex",ripple:!1}),a(cn,{label:"RGB"+(S.value===!0?"A":""),name:"rgb",ripple:!1})])),x.push(a("div",{class:"q-color-picker__header-banner row flex-center no-wrap"},[a("input",{class:"fit",value:v.value[c.value],...m.value!==!0?{readonly:!0}:{},...i("topIn",{onInput:G=>{w(X(G)===!0)},onChange:rt,onBlur:G=>{X(G,!0)===!0&&o.$forceUpdate(),w(!1)}})}),a(Re,{ref:u,class:"q-color-picker__error-icon absolute no-pointer-events",name:r.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:p.value,style:b.value},x)])}function H(){return a(aa,{modelValue:g.value,animated:!0},()=>[a(Mr,{class:"q-color-picker__spectrum-tab overflow-hidden",name:"spectrum"},Y),a(Mr,{class:"q-pa-md q-color-picker__tune-tab",name:"tune"},ue),a(Mr,{class:"q-color-picker__palette-tab",name:"palette"},K)])}function ee(){return a("div",{class:"q-color-picker__footer relative-position overflow-hidden"},[a(ni,{class:"absolute-full",modelValue:g.value,dense:!0,align:"justify",...i("ftIn",{"onUpdate:modelValue":x=>{g.value=x}})},()=>[a(cn,{icon:r.iconSet.colorPicker.spectrum,name:"spectrum",ripple:!1}),a(cn,{icon:r.iconSet.colorPicker.tune,name:"tune",ripple:!1}),a(cn,{icon:r.iconSet.colorPicker.palette,name:"palette",ripple:!1})])])}function Y(){let x={ref:l,class:"q-color-picker__spectrum non-selectable relative-position cursor-pointer"+(m.value!==!0?" readonly":""),style:k.value,...m.value===!0?{onClick:de,onMousedown:O}:{}},G=[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:$.value},[v.value.hex!==void 0?a("div",{class:"q-color-picker__spectrum-circle"}):null])],ae=[a(Go,{class:"q-color-picker__hue non-selectable",modelValue:v.value.h,min:0,max:360,trackSize:"8px",innerTrackColor:"transparent",selectionColor:"transparent",readonly:m.value!==!0,thumbPath:tc,"onUpdate:modelValue":R,...i("lazyhue",{onChange:fe=>R(fe,!0)})})];return S.value===!0&&ae.push(a(Go,{class:"q-color-picker__alpha non-selectable",modelValue:v.value.a,min:0,max:100,trackSize:"8px",trackColor:"white",innerTrackColor:"transparent",selectionColor:"transparent",trackImg:Lg,readonly:m.value!==!0,hideSelection:!0,thumbPath:tc,...i("alphaSlide",{"onUpdate:modelValue":fe=>N(fe,"a",100),onChange:fe=>N(fe,"a",100,void 0,!0)})})),[Mt("div",x,G,"spec",m.value,()=>B.value),a("div",{class:"q-color-picker__sliders"},ae)]}function ue(){return[a("div",{class:"row items-center no-wrap"},[a("div","R"),a(Go,{modelValue:v.value.r,min:0,max:255,color:"red",dark:n.value,readonly:m.value!==!0,...i("rSlide",{"onUpdate:modelValue":x=>N(x,"r",255),onChange:x=>N(x,"r",255,void 0,!0)})}),a("input",{value:v.value.r,maxlength:3,readonly:m.value!==!0,onChange:rt,...i("rIn",{onInput:x=>N(x.target.value,"r",255,x),onBlur:x=>N(x.target.value,"r",255,x,!0)})})]),a("div",{class:"row items-center no-wrap"},[a("div","G"),a(Go,{modelValue:v.value.g,min:0,max:255,color:"green",dark:n.value,readonly:m.value!==!0,...i("gSlide",{"onUpdate:modelValue":x=>N(x,"g",255),onChange:x=>N(x,"g",255,void 0,!0)})}),a("input",{value:v.value.g,maxlength:3,readonly:m.value!==!0,onChange:rt,...i("gIn",{onInput:x=>N(x.target.value,"g",255,x),onBlur:x=>N(x.target.value,"g",255,x,!0)})})]),a("div",{class:"row items-center no-wrap"},[a("div","B"),a(Go,{modelValue:v.value.b,min:0,max:255,color:"blue",readonly:m.value!==!0,dark:n.value,...i("bSlide",{"onUpdate:modelValue":x=>N(x,"b",255),onChange:x=>N(x,"b",255,void 0,!0)})}),a("input",{value:v.value.b,maxlength:3,readonly:m.value!==!0,onChange:rt,...i("bIn",{onInput:x=>N(x.target.value,"b",255,x),onBlur:x=>N(x.target.value,"b",255,x,!0)})})]),S.value===!0?a("div",{class:"row items-center no-wrap"},[a("div","A"),a(Go,{modelValue:v.value.a,color:"grey",readonly:m.value!==!0,dark:n.value,...i("aSlide",{"onUpdate:modelValue":x=>N(x,"a",100),onChange:x=>N(x,"a",100,void 0,!0)})}),a("input",{value:v.value.a,maxlength:3,readonly:m.value!==!0,onChange:rt,...i("aIn",{onInput:x=>N(x.target.value,"a",100,x),onBlur:x=>N(x.target.value,"a",100,x,!0)})})]):null]}function K(){let x=G=>a("div",{class:"q-color-picker__cube col-auto",style:{backgroundColor:G},...m.value===!0?i("palette#"+G,{onClick:()=>{M(G)}}):{}});return[a("div",{class:"row items-center q-color-picker__palette-rows"+(m.value===!0?" q-color-picker__palette-rows--editable":"")},F.value.map(x))]}return()=>{let x=[H()];return e.name!==void 0&&e.disable!==!0&&q(x,"push"),e.noHeader!==!0&&x.unshift(W()),e.noFooter!==!0&&x.push(ee()),a("div",{class:D.value,...L.value},x)}}});var dn=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function nc(e,t,o){return Object.prototype.toString.call(e)==="[object Date]"&&(o=e.getDate(),t=e.getMonth()+1,e=e.getFullYear()),Og(Ul(e,t,o))}function jl(e,t,o){return ic(zg(e,t,o))}function Vg(e){return Dg(e)===0}function Rr(e,t){return t<=6?31:t<=11||Vg(e)?30:29}function Dg(e){let t=dn.length,o=dn[0],r,n,i,l,u;if(e<o||e>=dn[t-1])throw new Error("Invalid Jalaali year "+e);for(u=1;u<t&&(r=dn[u],n=r-o,!(e<r));u+=1)o=r;return l=e-o,n-l<6&&(l=l-n+_t(n+4,33)*33),i=ro(ro(l+1,33)-1,4),i===-1&&(i=4),i}function rc(e,t){let o=dn.length,r=e+621,n=-14,i=dn[0],l,u,d,f,c;if(e<i||e>=dn[o-1])throw new Error("Invalid Jalaali year "+e);for(c=1;c<o&&(l=dn[c],u=l-i,!(e<l));c+=1)n=n+_t(u,33)*8+_t(ro(u,33),4),i=l;f=e-i,n=n+_t(f,33)*8+_t(ro(f,33)+3,4),ro(u,33)===4&&u-f===4&&(n+=1);let g=_t(r,4)-_t((_t(r,100)+1)*3,4)-150,v=20+n-g;return t||(u-f<6&&(f=f-u+_t(u+4,33)*33),d=ro(ro(f+1,33)-1,4),d===-1&&(d=4)),{leap:d,gy:r,march:v}}function zg(e,t,o){let r=rc(e,!0);return Ul(r.gy,3,r.march)+(t-1)*31-_t(t,7)*(t-7)+o-1}function Og(e){let t=ic(e).gy,o=t-621,r,n,i,l=rc(o,!1),u=Ul(t,3,l.march);if(i=e-u,i>=0){if(i<=185)return n=1+_t(i,31),r=ro(i,31)+1,{jy:o,jm:n,jd:r};i-=186}else o-=1,i+=179,l.leap===1&&(i+=1);return n=7+_t(i,30),r=ro(i,30)+1,{jy:o,jm:n,jd:r}}function Ul(e,t,o){let r=_t((e+_t(t-8,6)+100100)*1461,4)+_t(153*ro(t+9,12)+2,5)+o-34840408;return r=r-_t(_t(e+100100+_t(t-8,6),100)*3,4)+752,r}function ic(e){let t=4*e+139361631;t=t+_t(_t(4*e+183187720,146097)*3,4)*4-3908;let o=_t(ro(t,1461),4)*5+308,r=_t(ro(o,153),5)+1,n=ro(_t(o,153),12)+1;return{gy:_t(t,1461)-100100+_t(8-n,6),gm:n,gd:r}}function _t(e,t){return~~(e/t)}function ro(e,t){return e-~~(e/t)*t}var Ig=["gregorian","persian"],da={modelValue:{required:!0},mask:{type:String},locale:Object,calendar:{type:String,validator:e=>Ig.includes(e),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},fa=["update:modelValue"];function yo(e){return e.year+"/"+ot(e.month)+"/"+ot(e.day)}function ma(e,t){let o=s(()=>e.disable!==!0&&e.readonly!==!0),r=s(()=>o.value===!0?0:-1),n=s(()=>{let u=[];return e.color!==void 0&&u.push(`bg-${e.color}`),e.textColor!==void 0&&u.push(`text-${e.textColor}`),u.join(" ")});function i(){return e.locale!==void 0?{...t.lang.date,...e.locale}:t.lang.date}function l(u){let d=new Date,f=u===!0?null:0;if(e.calendar==="persian"){let c=nc(d);return{year:c.jy,month:c.jm,day:c.jd}}return{year:d.getFullYear(),month:d.getMonth()+1,day:d.getDate(),hour:f,minute:f,second:f,millisecond:f}}return{editable:o,tabindex:r,headerClass:n,getLocale:i,getCurrentDate:l}}var sc=864e5,Ng=36e5,Yl=6e4,cc="YYYY-MM-DDTHH:mm:ss.SSSZ",Hg=/\[((?:[^\]\\]|\\]|\\)*)\]|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,Qg=/(\[[^\]]*\])|d{1,4}|M{1,4}|m{1,2}|w{1,2}|Qo|Do|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,Kl={};function jg(e,t){let o="("+t.days.join("|")+")",r=e+o;if(Kl[r]!==void 0)return Kl[r];let n="("+t.daysShort.join("|")+")",i="("+t.months.join("|")+")",l="("+t.monthsShort.join("|")+")",u={},d=0,f=e.replace(Qg,g=>{switch(d++,g){case"YY":return u.YY=d,"(-?\\d{1,2})";case"YYYY":return u.YYYY=d,"(-?\\d{1,4})";case"M":return u.M=d,"(\\d{1,2})";case"MM":return u.M=d,"(\\d{2})";case"MMM":return u.MMM=d,l;case"MMMM":return u.MMMM=d,i;case"D":return u.D=d,"(\\d{1,2})";case"Do":return u.D=d++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return u.D=d,"(\\d{2})";case"H":return u.H=d,"(\\d{1,2})";case"HH":return u.H=d,"(\\d{2})";case"h":return u.h=d,"(\\d{1,2})";case"hh":return u.h=d,"(\\d{2})";case"m":return u.m=d,"(\\d{1,2})";case"mm":return u.m=d,"(\\d{2})";case"s":return u.s=d,"(\\d{1,2})";case"ss":return u.s=d,"(\\d{2})";case"S":return u.S=d,"(\\d{1})";case"SS":return u.S=d,"(\\d{2})";case"SSS":return u.S=d,"(\\d{3})";case"A":return u.A=d,"(AM|PM)";case"a":return u.a=d,"(am|pm)";case"aa":return u.aa=d,"(a\\.m\\.|p\\.m\\.)";case"ddd":return n;case"dddd":return o;case"Q":case"d":case"E":return"(\\d{1})";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"w":return"(\\d{1,2})";case"ww":return"(\\d{2})";case"Z":return u.Z=d,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return u.ZZ=d,"(Z|[+-]\\d{2}\\d{2})";case"X":return u.X=d,"(-?\\d+)";case"x":return u.x=d,"(-?\\d{4,})";default:return d--,g[0]==="["&&(g=g.substring(1,g.length-1)),g.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),c={map:u,regex:new RegExp("^"+f)};return Kl[r]=c,c}function dc(e,t){return e!==void 0?e:t!==void 0?t.date:Qr.default.date}function ac(e,t=""){let o=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),i=r%60;return o+ot(n)+t+ot(i)}function Ug(e,t,o){let r=e.getFullYear(),n=e.getMonth(),i=e.getDate();return t.year!==void 0&&(r+=o*t.year,delete t.year),t.month!==void 0&&(n+=o*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(r),e.setMonth(n),e.setDate(Math.min(i,Jl(e))),t.date!==void 0&&(e.setDate(e.getDate()+o*t.date),delete t.date),e}function Kg(e,t,o){let r=t.year!==void 0?t.year:e[`get${o}FullYear`](),n=t.month!==void 0?t.month-1:e[`get${o}Month`](),i=new Date(r,n+1,0).getDate(),l=Math.min(i,t.date!==void 0?t.date:e[`get${o}Date`]());return e[`set${o}Date`](1),e[`set${o}Month`](2),e[`set${o}FullYear`](r),e[`set${o}Month`](n),e[`set${o}Date`](l),delete t.year,delete t.month,delete t.date,e}function Zl(e,t,o){let r=fc(t),n=new Date(e),i=r.year!==void 0||r.month!==void 0||r.date!==void 0?Ug(n,r,o):n;for(let l in r){let u=kl(l);i[`set${u}`](i[`get${u}`]()+o*r[l])}return i}function fc(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 mc(e,t,o){let r=fc(t),n=o===!0?"UTC":"",i=new Date(e),l=r.year!==void 0||r.month!==void 0||r.date!==void 0?Kg(i,r,n):i;for(let u in r){let d=u.charAt(0).toUpperCase()+u.slice(1);l[`set${n}${d}`](r[u])}return l}function Wg(e,t,o){let r=fn(e,t,o),n=new Date(r.year,r.month===null?null:r.month-1,r.day===null?1:r.day,r.hour,r.minute,r.second,r.millisecond),i=n.getTimezoneOffset();return r.timezoneOffset===null||r.timezoneOffset===i?n:Zl(n,{minutes:r.timezoneOffset-i},1)}function fn(e,t,o,r,n){let i={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(n!==void 0&&Object.assign(i,n),e==null||e===""||typeof e!="string")return i;t===void 0&&(t=cc);let l=dc(o,xn.props),u=l.months,d=l.monthsShort,{regex:f,map:c}=jg(t,l),g=e.match(f);if(g===null)return i;let v="";if(c.X!==void 0||c.x!==void 0){let m=parseInt(g[c.X!==void 0?c.X:c.x],10);if(isNaN(m)===!0||m<0)return i;let h=new Date(m*(c.X!==void 0?1e3:1));i.year=h.getFullYear(),i.month=h.getMonth()+1,i.day=h.getDate(),i.hour=h.getHours(),i.minute=h.getMinutes(),i.second=h.getSeconds(),i.millisecond=h.getMilliseconds()}else{if(c.YYYY!==void 0)i.year=parseInt(g[c.YYYY],10);else if(c.YY!==void 0){let m=parseInt(g[c.YY],10);i.year=m<0?m:2e3+m}if(c.M!==void 0){if(i.month=parseInt(g[c.M],10),i.month<1||i.month>12)return i}else c.MMM!==void 0?i.month=d.indexOf(g[c.MMM])+1:c.MMMM!==void 0&&(i.month=u.indexOf(g[c.MMMM])+1);if(c.D!==void 0){if(i.day=parseInt(g[c.D],10),i.year===null||i.month===null||i.day<1)return i;let m=r!=="persian"?new Date(i.year,i.month,0).getDate():Rr(i.year,i.month);if(i.day>m)return i}c.H!==void 0?i.hour=parseInt(g[c.H],10)%24:c.h!==void 0&&(i.hour=parseInt(g[c.h],10)%12,(c.A&&g[c.A]==="PM"||c.a&&g[c.a]==="pm"||c.aa&&g[c.aa]==="p.m.")&&(i.hour+=12),i.hour=i.hour%24),c.m!==void 0&&(i.minute=parseInt(g[c.m],10)%60),c.s!==void 0&&(i.second=parseInt(g[c.s],10)%60),c.S!==void 0&&(i.millisecond=parseInt(g[c.S],10)*10**(3-g[c.S].length)),(c.Z!==void 0||c.ZZ!==void 0)&&(v=c.Z!==void 0?g[c.Z].replace(":",""):g[c.ZZ],i.timezoneOffset=(v[0]==="+"?-1:1)*(60*v.slice(1,3)+1*v.slice(3,5)))}return i.dateHash=ot(i.year,6)+"/"+ot(i.month)+"/"+ot(i.day),i.timeHash=ot(i.hour)+":"+ot(i.minute)+":"+ot(i.second)+v,i}function Yg(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function Xg(e,t){return mc(new Date,e,t)}function Gg(e){let t=new Date(e).getDay();return t===0?7:t}function Xl(e){let t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);let o=new Date(t.getFullYear(),0,4);o.setDate(o.getDate()-(o.getDay()+6)%7+3);let r=t.getTimezoneOffset()-o.getTimezoneOffset();t.setHours(t.getHours()-r);let n=(t-o)/(sc*7);return 1+Math.floor(n)}function Zg(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function Wl(e,t){let o=new Date(e);return t===!0?Zg(o):o.getTime()}function Jg(e,t,o,r={}){let n=Wl(t,r.onlyDate),i=Wl(o,r.onlyDate),l=Wl(e,r.onlyDate);return(l>n||r.inclusiveFrom===!0&&l===n)&&(l<i||r.inclusiveTo===!0&&l===i)}function eh(e,t){return Zl(e,t,1)}function th(e,t){return Zl(e,t,-1)}function Oo(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](0);case"month":case"months":r[`${n}Date`](1);case"day":case"days":case"date":r[`${n}Hours`](0);case"hour":case"hours":r[`${n}Minutes`](0);case"minute":case"minutes":r[`${n}Seconds`](0);case"second":case"seconds":r[`${n}Milliseconds`](0)}return r}function oh(e,t,o){let r=new Date(e),n=`set${o===!0?"UTC":""}`;switch(t){case"year":case"years":r[`${n}Month`](11);case"month":case"months":r[`${n}Date`](Jl(r));case"day":case"days":case"date":r[`${n}Hours`](23);case"hour":case"hours":r[`${n}Minutes`](59);case"minute":case"minutes":r[`${n}Seconds`](59);case"second":case"seconds":r[`${n}Milliseconds`](999)}return r}function nh(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.max(t,new Date(o))}),t}function rh(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(o=>{t=Math.min(t,new Date(o))}),t}function va(e,t,o){return(e.getTime()-e.getTimezoneOffset()*Yl-(t.getTime()-t.getTimezoneOffset()*Yl))/o}function ga(e,t,o="days"){let r=new Date(e),n=new Date(t);switch(o){case"years":case"year":return r.getFullYear()-n.getFullYear();case"months":case"month":return(r.getFullYear()-n.getFullYear())*12+r.getMonth()-n.getMonth();case"days":case"day":case"date":return va(Oo(r,"day"),Oo(n,"day"),sc);case"hours":case"hour":return va(Oo(r,"hour"),Oo(n,"hour"),Ng);case"minutes":case"minute":return va(Oo(r,"minute"),Oo(n,"minute"),Yl);case"seconds":case"second":return va(Oo(r,"second"),Oo(n,"second"),1e3)}}function Gl(e){return ga(e,Oo(e,"year"),"days")+1}function ih(e){return Yo(e)===!0?"date":typeof e=="number"?"number":"string"}function ah(e,t,o){let r=new Date(e);if(t){let n=new Date(t);if(r<n)return n}if(o){let n=new Date(o);if(r>n)return n}return r}function lh(e,t,o){let r=new Date(e),n=new Date(t);if(o===void 0)return r.getTime()===n.getTime();switch(o){case"second":case"seconds":if(r.getSeconds()!==n.getSeconds())return!1;case"minute":case"minutes":if(r.getMinutes()!==n.getMinutes())return!1;case"hour":case"hours":if(r.getHours()!==n.getHours())return!1;case"day":case"days":case"date":if(r.getDate()!==n.getDate())return!1;case"month":case"months":if(r.getMonth()!==n.getMonth())return!1;case"year":case"years":if(r.getFullYear()!==n.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${o}`)}return!0}function Jl(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function lc(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}var uc={YY(e,t,o){let r=this.YYYY(e,t,o)%100;return r>=0?ot(r):"-"+ot(Math.abs(r))},YYYY(e,t,o){return o??e.getFullYear()},M(e){return e.getMonth()+1},MM(e){return ot(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 lc(this.Q(e))},D(e){return e.getDate()},Do(e){return lc(e.getDate())},DD(e){return ot(e.getDate())},DDD(e){return Gl(e)},DDDD(e){return ot(Gl(e),3)},d(e){return e.getDay()},dd(e,t){return this.dddd(e,t).slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return Xl(e)},ww(e){return ot(Xl(e))},H(e){return e.getHours()},HH(e){return ot(e.getHours())},h(e){let t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return ot(this.h(e))},m(e){return e.getMinutes()},mm(e){return ot(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return ot(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return ot(Math.floor(e.getMilliseconds()/10))},SSS(e){return ot(e.getMilliseconds(),3)},A(e){return this.H(e)<12?"AM":"PM"},a(e){return this.H(e)<12?"am":"pm"},aa(e){return this.H(e)<12?"a.m.":"p.m."},Z(e,t,o,r){let n=r??e.getTimezoneOffset();return ac(n,":")},ZZ(e,t,o,r){let n=r??e.getTimezoneOffset();return ac(n)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function ii(e,t,o,r,n){if(e!==0&&!e||e===1/0||e===-1/0)return;let i=new Date(e);if(isNaN(i))return;t===void 0&&(t=cc);let l=dc(o,xn.props);return t.replace(Hg,(u,d)=>u in uc?uc[u](i,l,r,n):d===void 0?u:d.split("\\]").join("]"))}function uh(e){return Yo(e)===!0?new Date(e.getTime()):e}var vc={isValid:Yg,extractDate:Wg,buildDate:Xg,getDayOfWeek:Gg,getWeekOfYear:Xl,isBetweenDates:Jg,addToDate:eh,subtractFromDate:th,adjustDate:mc,startOfDate:Oo,endOfDate:oh,getMaxDate:nh,getMinDate:rh,getDateDiff:ga,getDayOfYear:Gl,inferDateFormat:ih,getDateBetween:ah,isSameDate:lh,daysInMonth:Jl,formatDate:ii,clone:uh};var Bn=20,sh=["Calendar","Years","Months"],gc=e=>sh.includes(e),eu=e=>/^-?[\d]+\/[0-1]\d$/.test(e),Pr=" \u2014 ";function mn(e){return e.year+"/"+ot(e.month)}var hc=A({name:"QDate",props:{...da,...wt,...Ce,multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:eu},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:eu},navigationMaxYearMonth:{type:String,validator:eu},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:gc}},emits:[...fa,"rangeStart","rangeEnd","navigation"],setup(e,{slots:t,emit:o}){let{proxy:r}=U(),{$q:n}=r,i=we(e,n),{getCache:l}=Vo(),{tabindex:u,headerClass:d,getLocale:f,getCurrentDate:c}=ma(e,n),g,v=Lo(e),m=Wt(v),h=T(null),C=T(at()),y=T(f()),q=s(()=>at()),S=s(()=>f()),b=s(()=>c()),p=T(vt(C.value,y.value)),k=T(e.defaultView),$=n.lang.rtl===!0?"right":"left",F=T($.value),D=T($.value),L=p.value.year,B=T(L-L%Bn-(L<0?Bn:0)),V=T(null),E=s(()=>{let P=e.landscape===!0?"landscape":"portrait";return`q-date q-date--${P} q-date--${P}-${e.minimal===!0?"minimal":"standard"}`+(i.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":"")}),_=s(()=>e.color||"primary"),R=s(()=>e.textColor||"white"),N=s(()=>e.emitImmediately===!0&&e.multiple!==!0&&e.range!==!0),X=s(()=>Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue!==null&&e.modelValue!==void 0?[e.modelValue]:[]),M=s(()=>X.value.filter(P=>typeof P=="string").map(P=>mt(P,C.value,y.value)).filter(P=>P.dateHash!==null&&P.day!==null&&P.month!==null&&P.year!==null)),Q=s(()=>{let P=I=>mt(I,C.value,y.value);return X.value.filter(I=>ct(I)===!0&&I.from!==void 0&&I.to!==void 0).map(I=>({from:P(I.from),to:P(I.to)})).filter(I=>I.from.dateHash!==null&&I.to.dateHash!==null&&I.from.dateHash<I.to.dateHash)}),J=s(()=>e.calendar!=="persian"?P=>new Date(P.year,P.month-1,P.day):P=>{let I=jl(P.year,P.month,P.day);return new Date(I.gy,I.gm-1,I.gd)}),de=s(()=>e.calendar==="persian"?yo:(P,I,oe)=>ii(new Date(P.year,P.month-1,P.day,P.hour,P.minute,P.second,P.millisecond),I===void 0?C.value:I,oe===void 0?y.value:oe,P.year,P.timezoneOffset)),O=s(()=>M.value.length+Q.value.reduce((P,I)=>P+1+ga(J.value(I.to),J.value(I.from)),0)),w=s(()=>{if(e.title!==void 0&&e.title!==null&&e.title.length!==0)return e.title;if(V.value!==null){let oe=V.value.init,ge=J.value(oe);return y.value.daysShort[ge.getDay()]+", "+y.value.monthsShort[oe.month-1]+" "+oe.day+Pr+"?"}if(O.value===0)return Pr;if(O.value>1)return`${O.value} ${y.value.pluralDay}`;let P=M.value[0],I=J.value(P);return isNaN(I.valueOf())===!0?Pr:y.value.headerTitle!==void 0?y.value.headerTitle(I,P):y.value.daysShort[I.getDay()]+", "+y.value.monthsShort[P.month-1]+" "+P.day}),W=s(()=>M.value.concat(Q.value.map(I=>I.from)).sort((I,oe)=>I.year-oe.year||I.month-oe.month)[0]),H=s(()=>M.value.concat(Q.value.map(I=>I.to)).sort((I,oe)=>oe.year-I.year||oe.month-I.month)[0]),ee=s(()=>{if(e.subtitle!==void 0&&e.subtitle!==null&&e.subtitle.length!==0)return e.subtitle;if(O.value===0)return Pr;if(O.value>1){let P=W.value,I=H.value,oe=y.value.monthsShort;return oe[P.month-1]+(P.year!==I.year?" "+P.year+Pr+oe[I.month-1]+" ":P.month!==I.month?Pr+oe[I.month-1]:"")+" "+I.year}return M.value[0].year}),Y=s(()=>{let P=[n.iconSet.datetime.arrowLeft,n.iconSet.datetime.arrowRight];return n.lang.rtl===!0?P.reverse():P}),ue=s(()=>e.firstDayOfWeek!==void 0?Number(e.firstDayOfWeek):y.value.firstDayOfWeek),K=s(()=>{let P=y.value.daysShort,I=ue.value;return I>0?P.slice(I,7).concat(P.slice(0,I)):P}),x=s(()=>{let P=p.value;return e.calendar!=="persian"?new Date(P.year,P.month,0).getDate():Rr(P.year,P.month)}),G=s(()=>typeof e.eventColor=="function"?e.eventColor:()=>e.eventColor),ae=s(()=>{if(e.navigationMinYearMonth===void 0)return null;let P=e.navigationMinYearMonth.split("/");return{year:parseInt(P[0],10),month:parseInt(P[1],10)}}),fe=s(()=>{if(e.navigationMaxYearMonth===void 0)return null;let P=e.navigationMaxYearMonth.split("/");return{year:parseInt(P[0],10),month:parseInt(P[1],10)}}),Se=s(()=>{let P={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return ae.value!==null&&ae.value.year>=p.value.year&&(P.year.prev=!1,ae.value.year===p.value.year&&ae.value.month>=p.value.month&&(P.month.prev=!1)),fe.value!==null&&fe.value.year<=p.value.year&&(P.year.next=!1,fe.value.year===p.value.year&&fe.value.month<=p.value.month&&(P.month.next=!1)),P}),me=s(()=>{let P={};return M.value.forEach(I=>{let oe=mn(I);P[oe]===void 0&&(P[oe]=[]),P[oe].push(I.day)}),P}),ze=s(()=>{let P={};return Q.value.forEach(I=>{let oe=mn(I.from),ge=mn(I.to);if(P[oe]===void 0&&(P[oe]=[]),P[oe].push({from:I.from.day,to:oe===ge?I.to.day:void 0,range:I}),oe<ge){let he,{year:nt,month:Ee}=I.from,Ge=Ee<12?{year:nt,month:Ee+1}:{year:nt+1,month:1};for(;(he=mn(Ge))<=ge;)P[he]===void 0&&(P[he]=[]),P[he].push({from:void 0,to:he===ge?I.to.day:void 0,range:I}),Ge.month++,Ge.month>12&&(Ge.year++,Ge.month=1)}}),P}),Be=s(()=>{if(V.value===null)return;let{init:P,initHash:I,final:oe,finalHash:ge}=V.value,[he,nt]=I<=ge?[P,oe]:[oe,P],Ee=mn(he),Ge=mn(nt);if(Ee!==xe.value&&Ge!==xe.value)return;let ut={};return Ee===xe.value?(ut.from=he.day,ut.includeFrom=!0):ut.from=1,Ge===xe.value?(ut.to=nt.day,ut.includeTo=!0):ut.to=x.value,ut}),xe=s(()=>mn(p.value)),Ie=s(()=>{let P={};if(e.options===void 0){for(let oe=1;oe<=x.value;oe++)P[oe]=!0;return P}let I=typeof e.options=="function"?e.options:oe=>e.options.includes(oe);for(let oe=1;oe<=x.value;oe++){let ge=xe.value+"/"+ot(oe);P[oe]=I(ge)}return P}),it=s(()=>{let P={};if(e.events===void 0)for(let I=1;I<=x.value;I++)P[I]=!1;else{let I=typeof e.events=="function"?e.events:oe=>e.events.includes(oe);for(let oe=1;oe<=x.value;oe++){let ge=xe.value+"/"+ot(oe);P[oe]=I(ge)===!0&&G.value(ge)}}return P}),Ke=s(()=>{let P,I,{year:oe,month:ge}=p.value;if(e.calendar!=="persian")P=new Date(oe,ge-1,1),I=new Date(oe,ge-1,0).getDate();else{let he=jl(oe,ge,1);P=new Date(he.gy,he.gm-1,he.gd);let nt=ge-1,Ee=oe;nt===0&&(nt=12,Ee--),I=Rr(Ee,nt)}return{days:P.getDay()-ue.value-1,endDay:I}}),ce=s(()=>{let P=[],{days:I,endDay:oe}=Ke.value,ge=I<0?I+7:I;if(ge<6)for(let Ee=oe-ge;Ee<=oe;Ee++)P.push({i:Ee,fill:!0});let he=P.length;for(let Ee=1;Ee<=x.value;Ee++){let Ge={i:Ee,event:it.value[Ee],classes:[]};Ie.value[Ee]===!0&&(Ge.in=!0,Ge.flat=!0),P.push(Ge)}if(me.value[xe.value]!==void 0&&me.value[xe.value].forEach(Ee=>{let Ge=he+Ee-1;Object.assign(P[Ge],{selected:!0,unelevated:!0,flat:!1,color:_.value,textColor:R.value})}),ze.value[xe.value]!==void 0&&ze.value[xe.value].forEach(Ee=>{if(Ee.from!==void 0){let Ge=he+Ee.from-1,ut=he+(Ee.to||x.value)-1;for(let uo=Ge;uo<=ut;uo++)Object.assign(P[uo],{range:Ee.range,unelevated:!0,color:_.value,textColor:R.value});Object.assign(P[Ge],{rangeFrom:!0,flat:!1}),Ee.to!==void 0&&Object.assign(P[ut],{rangeTo:!0,flat:!1})}else if(Ee.to!==void 0){let Ge=he+Ee.to-1;for(let ut=he;ut<=Ge;ut++)Object.assign(P[ut],{range:Ee.range,unelevated:!0,color:_.value,textColor:R.value});Object.assign(P[Ge],{flat:!1,rangeTo:!0})}else{let Ge=he+x.value-1;for(let ut=he;ut<=Ge;ut++)Object.assign(P[ut],{range:Ee.range,unelevated:!0,color:_.value,textColor:R.value})}}),Be.value!==void 0){let Ee=he+Be.value.from-1,Ge=he+Be.value.to-1;for(let ut=Ee;ut<=Ge;ut++)P[ut].color=_.value,P[ut].editRange=!0;Be.value.includeFrom===!0&&(P[Ee].editRangeFrom=!0),Be.value.includeTo===!0&&(P[Ge].editRangeTo=!0)}p.value.year===b.value.year&&p.value.month===b.value.month&&(P[he+b.value.day-1].today=!0);let nt=P.length%7;if(nt>0){let Ee=7-nt;for(let Ge=1;Ge<=Ee;Ge++)P.push({i:Ge,fill:!0})}return P.forEach(Ee=>{let Ge="q-date__calendar-item ";Ee.fill===!0?Ge+="q-date__calendar-item--fill":(Ge+=`q-date__calendar-item--${Ee.in===!0?"in":"out"}`,Ee.range!==void 0&&(Ge+=` q-date__range${Ee.rangeTo===!0?"-to":Ee.rangeFrom===!0?"-from":""}`),Ee.editRange===!0&&(Ge+=` q-date__edit-range${Ee.editRangeFrom===!0?"-from":""}${Ee.editRangeTo===!0?"-to":""}`),(Ee.range!==void 0||Ee.editRange===!0)&&(Ge+=` text-${Ee.color}`)),Ee.classes=Ge}),P}),ve=s(()=>e.disable===!0?{"aria-disabled":"true"}:{});j(()=>e.modelValue,P=>{if(g===P)g=0;else{let I=vt(C.value,y.value);et(I.year,I.month,I)}}),j(k,()=>{h.value!==null&&r.$el.contains(document.activeElement)===!0&&h.value.focus()}),j(()=>p.value.year+"|"+p.value.month,()=>{o("navigation",{year:p.value.year,month:p.value.month})}),j(q,P=>{re(P,y.value,"mask"),C.value=P}),j(S,P=>{re(C.value,P,"locale"),y.value=P});function te(){let{year:P,month:I,day:oe}=b.value,ge={...p.value,year:P,month:I,day:oe},he=me.value[mn(ge)];(he===void 0||he.includes(ge.day)===!1)&&Qo(ge),Ve(ge.year,ge.month)}function pe(P){gc(P)===!0&&(k.value=P)}function Fe(P,I){["month","year"].includes(P)&&(P==="month"?se:Z)(I===!0?-1:1)}function Ve(P,I){k.value="Calendar",et(P,I)}function Le(P,I){if(e.range===!1||!P){V.value=null;return}let oe=Object.assign({...p.value},P),ge=I!==void 0?Object.assign({...p.value},I):oe;V.value={init:oe,initHash:yo(oe),final:ge,finalHash:yo(ge)},Ve(oe.year,oe.month)}function at(){return e.calendar==="persian"?"YYYY/MM/DD":e.mask}function mt(P,I,oe){return fn(P,I,oe,e.calendar,{hour:0,minute:0,second:0,millisecond:0})}function vt(P,I){let oe=Array.isArray(e.modelValue)===!0?e.modelValue:e.modelValue?[e.modelValue]:[];if(oe.length===0)return ne();let ge=oe[oe.length-1],he=mt(ge.from!==void 0?ge.from:ge,P,I);return he.dateHash===null?ne():he}function ne(){let P,I;if(e.defaultYearMonth!==void 0){let oe=e.defaultYearMonth.split("/");P=parseInt(oe[0],10),I=parseInt(oe[1],10)}else{let oe=b.value!==void 0?b.value:c();P=oe.year,I=oe.month}return{year:P,month:I,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:P+"/"+ot(I)+"/01"}}function se(P){let I=p.value.year,oe=Number(p.value.month)+P;oe===13?(oe=1,I++):oe===0&&(oe=12,I--),et(I,oe),N.value===!0&&yt("month")}function Z(P){let I=Number(p.value.year)+P;et(I,p.value.month),N.value===!0&&yt("year")}function le(P){et(P,p.value.month),k.value=e.defaultView==="Years"?"Months":"Calendar",N.value===!0&&yt("year")}function Pe(P){et(p.value.year,P),k.value="Calendar",N.value===!0&&yt("month")}function He(P,I){let oe=me.value[I];(oe!==void 0&&oe.includes(P.day)===!0?wo:Qo)(P)}function ke(P){return{year:P.year,month:P.month,day:P.day}}function et(P,I,oe){if(ae.value!==null&&P<=ae.value.year&&((I<ae.value.month||P<ae.value.year)&&(I=ae.value.month),P=ae.value.year),fe.value!==null&&P>=fe.value.year&&((I>fe.value.month||P>fe.value.year)&&(I=fe.value.month),P=fe.value.year),oe!==void 0){let{hour:he,minute:nt,second:Ee,millisecond:Ge,timezoneOffset:ut,timeHash:uo}=oe;Object.assign(p.value,{hour:he,minute:nt,second:Ee,millisecond:Ge,timezoneOffset:ut,timeHash:uo})}let ge=P+"/"+ot(I)+"/01";ge!==p.value.dateHash&&(F.value=p.value.dateHash<ge==(n.lang.rtl!==!0)?"left":"right",P!==p.value.year&&(D.value=F.value),Ae(()=>{B.value=P-P%Bn-(P<0?Bn:0),Object.assign(p.value,{year:P,month:I,day:1,dateHash:ge})}))}function pt(P,I,oe){let ge=P!==null&&P.length===1&&e.multiple===!1?P[0]:P;g=ge;let{reason:he,details:nt}=Yt(I,oe);o("update:modelValue",ge,he,nt)}function yt(P){let I=M.value[0]!==void 0&&M.value[0].dateHash!==null?{...M.value[0]}:{...p.value};Ae(()=>{I.year=p.value.year,I.month=p.value.month;let oe=e.calendar!=="persian"?new Date(I.year,I.month,0).getDate():Rr(I.year,I.month);I.day=Math.min(Math.max(1,I.day),oe);let ge=lo(I);g=ge;let{details:he}=Yt("",I);o("update:modelValue",ge,P,he)})}function Yt(P,I){return I.from!==void 0?{reason:`${P}-range`,details:{...ke(I.target),from:ke(I.from),to:ke(I.to)}}:{reason:`${P}-day`,details:ke(I)}}function lo(P,I,oe){return P.from!==void 0?{from:de.value(P.from,I,oe),to:de.value(P.to,I,oe)}:de.value(P,I,oe)}function Qo(P){let I;if(e.multiple===!0)if(P.from!==void 0){let oe=yo(P.from),ge=yo(P.to),he=M.value.filter(Ee=>Ee.dateHash<oe||Ee.dateHash>ge),nt=Q.value.filter(({from:Ee,to:Ge})=>Ge.dateHash<oe||Ee.dateHash>ge);I=he.concat(nt).concat(P).map(Ee=>lo(Ee))}else{let oe=X.value.slice();oe.push(lo(P)),I=oe}else I=lo(P);pt(I,"add",P)}function wo(P){if(e.noUnset===!0)return;let I=null;if(e.multiple===!0&&Array.isArray(e.modelValue)===!0){let oe=lo(P);P.from!==void 0?I=e.modelValue.filter(ge=>ge.from!==void 0?ge.from!==oe.from&&ge.to!==oe.to:!0):I=e.modelValue.filter(ge=>ge!==oe),I.length===0&&(I=null)}pt(I,"remove",P)}function re(P,I,oe){let ge=M.value.concat(Q.value).map(he=>lo(he,P,I)).filter(he=>he.from!==void 0?he.from.dateHash!==null&&he.to.dateHash!==null:he.dateHash!==null);o("update:modelValue",(e.multiple===!0?ge:ge[0])||null,oe)}function be(){if(e.minimal!==!0)return a("div",{class:"q-date__header "+d.value},[a("div",{class:"relative-position"},[a(lt,{name:"q-transition--fade"},()=>a("div",{key:"h-yr-"+ee.value,class:"q-date__header-subtitle q-date__header-link "+(k.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vY",{onClick(){k.value="Years"},onKeyup(P){P.keyCode===13&&(k.value="Years")}})},[ee.value]))]),a("div",{class:"q-date__header-title relative-position flex no-wrap"},[a("div",{class:"relative-position col"},[a(lt,{name:"q-transition--fade"},()=>a("div",{key:"h-sub"+w.value,class:"q-date__header-title-label q-date__header-link "+(k.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:u.value,...l("vC",{onClick(){k.value="Calendar"},onKeyup(P){P.keyCode===13&&(k.value="Calendar")}})},[w.value]))]),e.todayBtn===!0?a(Oe,{class:"q-date__header-today self-start",icon:n.iconSet.datetime.today,flat:!0,size:"sm",round:!0,tabindex:u.value,onClick:te}):null])])}function $e({label:P,type:I,key:oe,dir:ge,goTo:he,boundaries:nt,cls:Ee}){return[a("div",{class:"row items-center q-date__arrow"},[a(Oe,{round:!0,dense:!0,size:"sm",flat:!0,icon:Y.value[0],tabindex:u.value,disable:nt.prev===!1,...l("go-#"+I,{onClick(){he(-1)}})})]),a("div",{class:"relative-position overflow-hidden flex flex-center"+Ee},[a(lt,{name:"q-transition--jump-"+ge},()=>a("div",{key:oe},[a(Oe,{flat:!0,dense:!0,noCaps:!0,label:P,tabindex:u.value,...l("view#"+I,{onClick:()=>{k.value=I}})})]))]),a("div",{class:"row items-center q-date__arrow"},[a(Oe,{round:!0,dense:!0,size:"sm",flat:!0,icon:Y.value[1],tabindex:u.value,disable:nt.next===!1,...l("go+#"+I,{onClick(){he(1)}})})])]}let De={Calendar:()=>[a("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[a("div",{class:"q-date__navigation row items-center no-wrap"},$e({label:y.value.months[p.value.month-1],type:"Months",key:p.value.month,dir:F.value,goTo:se,boundaries:Se.value.month,cls:" col"}).concat($e({label:p.value.year,type:"Years",key:p.value.year,dir:D.value,goTo:Z,boundaries:Se.value.year,cls:""}))),a("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},K.value.map(P=>a("div",{class:"q-date__calendar-item"},[a("div",P)]))),a("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[a(lt,{name:"q-transition--slide-"+F.value},()=>a("div",{key:xe.value,class:"q-date__calendar-days fit"},ce.value.map(P=>a("div",{class:P.classes},[P.in===!0?a(Oe,{class:P.today===!0?"q-date__today":"",dense:!0,flat:P.flat,unelevated:P.unelevated,color:P.color,textColor:P.textColor,label:P.i,tabindex:u.value,...l("day#"+P.i,{onClick:()=>{Ue(P.i)},onMouseover:()=>{St(P.i)}})},P.event!==!1?()=>a("div",{class:"q-date__event bg-"+P.event}):null):a("div",""+P.i)]))))])])],Months(){let P=p.value.year===b.value.year,I=ge=>ae.value!==null&&p.value.year===ae.value.year&&ae.value.month>ge||fe.value!==null&&p.value.year===fe.value.year&&fe.value.month<ge,oe=y.value.monthsShort.map((ge,he)=>{let nt=p.value.month===he+1;return a("div",{class:"q-date__months-item flex flex-center"},[a(Oe,{class:P===!0&&b.value.month===he+1?"q-date__today":null,flat:nt!==!0,label:ge,unelevated:nt,color:nt===!0?_.value:null,textColor:nt===!0?R.value:null,tabindex:u.value,disable:I(he+1),...l("month#"+he,{onClick:()=>{Pe(he+1)}})})])});return e.yearsInMonthView===!0&&oe.unshift(a("div",{class:"row no-wrap full-width"},[$e({label:p.value.year,type:"Years",key:p.value.year,dir:D.value,goTo:Z,boundaries:Se.value.year,cls:" col"})])),a("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},oe)},Years(){let P=B.value,I=P+Bn,oe=[],ge=he=>ae.value!==null&&ae.value.year>he||fe.value!==null&&fe.value.year<he;for(let he=P;he<=I;he++){let nt=p.value.year===he;oe.push(a("div",{class:"q-date__years-item flex flex-center"},[a(Oe,{key:"yr"+he,class:b.value.year===he?"q-date__today":null,flat:!nt,label:he,dense:!0,unelevated:nt,color:nt===!0?_.value:null,textColor:nt===!0?R.value:null,tabindex:u.value,disable:ge(he),...l("yr#"+he,{onClick:()=>{le(he)}})})]))}return a("div",{class:"q-date__view q-date__years flex flex-center"},[a("div",{class:"col-auto"},[a(Oe,{round:!0,dense:!0,flat:!0,icon:Y.value[0],tabindex:u.value,disable:ge(P),...l("y-",{onClick:()=>{B.value-=Bn}})})]),a("div",{class:"q-date__years-content col self-stretch row items-center"},oe),a("div",{class:"col-auto"},[a(Oe,{round:!0,dense:!0,flat:!0,icon:Y.value[1],tabindex:u.value,disable:ge(I),...l("y+",{onClick:()=>{B.value+=Bn}})})])])}};function Ue(P){let I={...p.value,day:P};if(e.range===!1){He(I,xe.value);return}if(V.value===null){let oe=ce.value.find(he=>he.fill!==!0&&he.i===P);if(e.noUnset!==!0&&oe.range!==void 0){wo({target:I,from:oe.range.from,to:oe.range.to});return}if(oe.selected===!0){wo(I);return}let ge=yo(I);V.value={init:I,initHash:ge,final:I,finalHash:ge},o("rangeStart",ke(I))}else{let oe=V.value.initHash,ge=yo(I),he=oe<=ge?{from:V.value.init,to:I}:{from:I,to:V.value.init};V.value=null,Qo(oe===ge?I:{target:I,...he}),o("rangeEnd",{from:ke(he.from),to:ke(he.to)})}}function St(P){if(V.value!==null){let I={...p.value,day:P};Object.assign(V.value,{final:I,finalHash:yo(I)})}}return Object.assign(r,{setToday:te,setView:pe,offsetCalendar:Fe,setCalendarTo:Ve,setEditingRange:Le}),()=>{let P=[a("div",{class:"q-date__content col relative-position"},[a(lt,{name:"q-transition--fade"},De[k.value])])],I=ie(t.default);return I!==void 0&&P.push(a("div",{class:"q-date__actions"},I)),e.name!==void 0&&e.disable!==!0&&m(P,"push"),a("div",{class:E.value,...ve.value},[be(),a("div",{ref:h,class:"q-date__main col column",tabindex:-1},P)])}}});function ha(e,t,o){let r;function n(){r!==void 0&&(tn.remove(r),r=void 0)}return ye(()=>{e.value===!0&&n()}),{removeFromHistory:n,addToHistory(){r={condition:()=>o.value===!0,handler:t},tn.add(r)}}}var ai=0,tu,ou,li,nu=!1,pc,bc,yc,Fn=null;function ch(e){dh(e)&&qe(e)}function dh(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;let t=Sl(e),o=e.shiftKey&&!e.deltaX,r=!o&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),n=o||r?e.deltaY:e.deltaX;for(let i=0;i<t.length;i++){let l=t[i];if(Fl(l,r))return r?n<0&&l.scrollTop===0?!0:n>0&&l.scrollTop+l.clientHeight===l.scrollHeight:n<0&&l.scrollLeft===0?!0:n>0&&l.scrollLeft+l.clientWidth===l.scrollWidth}return!0}function Sc(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function pa(e){nu!==!0&&(nu=!0,requestAnimationFrame(()=>{nu=!1;let{height:t}=e.target,{clientHeight:o,scrollTop:r}=document.scrollingElement;(li===void 0||t!==window.innerHeight)&&(li=o-t,document.scrollingElement.scrollTop=r),r>li&&(document.scrollingElement.scrollTop-=Math.ceil((r-li)/8))}))}function xc(e){let t=document.body,o=window.visualViewport!==void 0;if(e==="add"){let{overflowY:r,overflowX:n}=window.getComputedStyle(t);tu=un(window),ou=eo(window),pc=t.style.left,bc=t.style.top,yc=window.location.href,t.style.left=`-${tu}px`,t.style.top=`-${ou}px`,n!=="hidden"&&(n==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),r!=="hidden"&&(r==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Me.is.ios===!0&&(o===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",pa,Je.passiveCapture),window.visualViewport.addEventListener("scroll",pa,Je.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Sc,Je.passiveCapture))}Me.is.desktop===!0&&Me.is.mac===!0&&window[`${e}EventListener`]("wheel",ch,Je.notPassive),e==="remove"&&(Me.is.ios===!0&&(o===!0?(window.visualViewport.removeEventListener("resize",pa,Je.passiveCapture),window.visualViewport.removeEventListener("scroll",pa,Je.passiveCapture)):window.removeEventListener("scroll",Sc,Je.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=pc,t.style.top=bc,window.location.href===yc&&window.scrollTo(tu,ou),li=void 0)}function ui(e){let t="add";if(e===!0){if(ai++,Fn!==null){clearTimeout(Fn),Fn=null;return}if(ai>1)return}else{if(ai===0||(ai--,ai>0))return;if(t="remove",Me.is.ios===!0&&Me.is.nativeMobile===!0){Fn!==null&&clearTimeout(Fn),Fn=setTimeout(()=>{xc(t),Fn=null},100);return}}xc(t)}function ba(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,ui(t))}}}var ya=0,fh={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"},_c={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},Io=A({name:"QDialog",inheritAttrs:!1,props:{...mo,...$o,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,position:{type:String,default:"standard",validator:e=>e==="standard"||["top","bottom","left","right"].includes(e)}},emits:[...vo,"shake","click","escapeKey"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),i=T(null),l=T(!1),u=T(!1),d=null,f=null,c,g,v=s(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:m}=ba(),{registerTimeout:h}=Jt(),{registerTick:C,removeTick:y}=Eo(),{transitionProps:q,transitionStyle:S}=ln(e,()=>_c[e.position][0],()=>_c[e.position][1]),{showPortal:b,hidePortal:p,portalIsAccessible:k,renderPortal:$}=ar(n,i,H,"dialog"),{hide:F}=go({showing:l,hideOnRouteChange:v,handleShow:R,handleHide:N,processOnMount:!0}),{addToHistory:D,removeFromHistory:L}=ha(l,F,v),B=s(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${fh[e.position]}`+(u.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),V=s(()=>l.value===!0&&e.seamless!==!0),E=s(()=>e.autoClose===!0?{onClick:O}:{}),_=s(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${V.value===!0?"modal":"seamless"}`,r.class]);j(()=>e.maximized,ee=>{l.value===!0&&de(ee)}),j(V,ee=>{m(ee),ee===!0?(cr(W),zi(Q)):(Rn(W),sr(Q))});function R(ee){D(),f=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,de(e.maximized),b(),u.value=!0,e.noFocus!==!0?(document.activeElement!==null&&document.activeElement.blur(),C(X)):y(),h(()=>{if(n.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){let{top:Y,bottom:ue}=document.activeElement.getBoundingClientRect(),{innerHeight:K}=window,x=window.visualViewport!==void 0?window.visualViewport.height:K;Y>0&&ue>x/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-x,ue>=K?1/0:Math.ceil(document.scrollingElement.scrollTop+ue-x/2))),document.activeElement.scrollIntoView()}g=!0,i.value.click(),g=!1}b(!0),u.value=!1,o("show",ee)},e.transitionDuration)}function N(ee){y(),L(),J(!0),u.value=!0,p(),f!==null&&(((ee&&ee.type.indexOf("key")===0?f.closest('[tabindex]:not([tabindex^="-"])'):void 0)||f).focus(),f=null),h(()=>{p(!0),u.value=!1,o("hide",ee)},e.transitionDuration)}function X(ee){ho(()=>{let Y=i.value;Y===null||Y.contains(document.activeElement)===!0||(Y=(ee!==""?Y.querySelector(ee):null)||Y.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||Y.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||Y.querySelector("[autofocus], [data-autofocus]")||Y,Y.focus({preventScroll:!0}))})}function M(ee){ee&&typeof ee.focus=="function"?ee.focus({preventScroll:!0}):X(),o("shake");let Y=i.value;Y!==null&&(Y.classList.remove("q-animate--scale"),Y.classList.add("q-animate--scale"),d!==null&&clearTimeout(d),d=setTimeout(()=>{d=null,i.value!==null&&(Y.classList.remove("q-animate--scale"),X())},170))}function Q(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&M():(o("escapeKey"),F()))}function J(ee){d!==null&&(clearTimeout(d),d=null),(ee===!0||l.value===!0)&&(de(!1),e.seamless!==!0&&(m(!1),Rn(W),sr(Q))),ee!==!0&&(f=null)}function de(ee){ee===!0?c!==!0&&(ya<1&&document.body.classList.add("q-body--dialog"),ya++,c=!0):c===!0&&(ya<2&&document.body.classList.remove("q-body--dialog"),ya--,c=!1)}function O(ee){g!==!0&&(F(ee),o("click",ee))}function w(ee){e.persistent!==!0&&e.noBackdropDismiss!==!0?F(ee):e.noShake!==!0&&M()}function W(ee){e.allowFocusOutside!==!0&&k.value===!0&&Bi(i.value,ee.target)!==!0&&X('[tabindex]:not([tabindex="-1"])')}Object.assign(n.proxy,{focus:X,shake:M,__updateRefocusTarget(ee){f=ee||null}}),ye(J);function H(){return a("div",{role:"dialog","aria-modal":V.value===!0?"true":"false",...r,class:_.value},[a(lt,{name:"q-transition--fade",appear:!0},()=>V.value===!0?a("div",{class:"q-dialog__backdrop fixed-full",style:S.value,"aria-hidden":"true",tabindex:-1,onClick:w}):null),a(lt,q.value,()=>l.value===!0?a("div",{ref:i,class:B.value,style:S.value,tabindex:-1,...E.value},ie(t.default)):null)])}return $}});var Cc=150,wc=A({name:"QDrawer",inheritAttrs:!1,props:{...mo,...Ce,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:[...vo,"onLayout","miniState"],setup(e,{slots:t,emit:o,attrs:r}){let n=U(),{proxy:{$q:i}}=n,l=we(e,i),{preventBodyScroll:u}=ba(),{registerTimeout:d,removeTimeout:f}=Jt(),c=ht(Gt,Ze);if(c===Ze)return console.error("QDrawer needs to be child of QLayout"),Ze;let g,v=null,m,h=T(e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint),C=s(()=>e.mini===!0&&h.value!==!0),y=s(()=>C.value===!0?e.miniWidth:e.width),q=T(e.showIfAbove===!0&&h.value===!1?!0:e.modelValue===!0),S=s(()=>e.persistent!==!0&&(h.value===!0||de.value===!0));function b(te,pe){if(F(),te!==!1&&c.animate(),Se(0),h.value===!0){let Fe=c.instances[X.value];Fe!==void 0&&Fe.belowBreakpoint===!0&&Fe.hide(!1),me(1),c.isContainer.value!==!0&&u(!0)}else me(0),te!==!1&&ze(!1);d(()=>{te!==!1&&ze(!0),pe!==!0&&o("show",te)},Cc)}function p(te,pe){D(),te!==!1&&c.animate(),me(0),Se(V.value*y.value),it(),pe!==!0?d(()=>{o("hide",te)},Cc):f()}let{show:k,hide:$}=go({showing:q,hideOnRouteChange:S,handleShow:b,handleHide:p}),{addToHistory:F,removeFromHistory:D}=ha(q,$,S),L={belowBreakpoint:h,hide:$},B=s(()=>e.side==="right"),V=s(()=>(i.lang.rtl===!0?-1:1)*(B.value===!0?1:-1)),E=T(0),_=T(!1),R=T(!1),N=T(y.value*V.value),X=s(()=>B.value===!0?"left":"right"),M=s(()=>q.value===!0&&h.value===!1&&e.overlay===!1?e.miniToOverlay===!0?e.miniWidth:y.value:0),Q=s(()=>e.overlay===!0||e.miniToOverlay===!0||c.view.value.indexOf(B.value?"R":"L")!==-1||i.platform.is.ios===!0&&c.isContainer.value===!0),J=s(()=>e.overlay===!1&&q.value===!0&&h.value===!1),de=s(()=>e.overlay===!0&&q.value===!0&&h.value===!1),O=s(()=>"fullscreen q-drawer__backdrop"+(q.value===!1&&_.value===!1?" hidden":"")),w=s(()=>({backgroundColor:`rgba(0,0,0,${E.value*.4})`})),W=s(()=>B.value===!0?c.rows.value.top[2]==="r":c.rows.value.top[0]==="l"),H=s(()=>B.value===!0?c.rows.value.bottom[2]==="r":c.rows.value.bottom[0]==="l"),ee=s(()=>{let te={};return c.header.space===!0&&W.value===!1&&(Q.value===!0?te.top=`${c.header.offset}px`:c.header.space===!0&&(te.top=`${c.header.size}px`)),c.footer.space===!0&&H.value===!1&&(Q.value===!0?te.bottom=`${c.footer.offset}px`:c.footer.space===!0&&(te.bottom=`${c.footer.size}px`)),te}),Y=s(()=>{let te={width:`${y.value}px`,transform:`translateX(${N.value}px)`};return h.value===!0?te:Object.assign(te,ee.value)}),ue=s(()=>"q-drawer__content fit "+(c.isContainer.value!==!0?"scroll":"overflow-auto")),K=s(()=>`q-drawer q-drawer--${e.side}`+(R.value===!0?" q-drawer--mini-animate":"")+(e.bordered===!0?" q-drawer--bordered":"")+(l.value===!0?" q-drawer--dark q-dark":"")+(_.value===!0?" no-transition":q.value===!0?"":" q-layout--prevent-focus")+(h.value===!0?" fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding":` q-drawer--${C.value===!0?"mini":"standard"}`+(Q.value===!0||J.value!==!0?" fixed":"")+(e.overlay===!0||e.miniToOverlay===!0?" q-drawer--on-top":"")+(W.value===!0?" q-drawer--top-padding":""))),x=s(()=>{let te=i.lang.rtl===!0?e.side:X.value;return[[Rt,xe,void 0,{[te]:!0,mouse:!0}]]}),G=s(()=>{let te=i.lang.rtl===!0?X.value:e.side;return[[Rt,Ie,void 0,{[te]:!0,mouse:!0}]]}),ae=s(()=>{let te=i.lang.rtl===!0?X.value:e.side;return[[Rt,Ie,void 0,{[te]:!0,mouse:!0,mouseAllDir:!0}]]});function fe(){ce(h,e.behavior==="mobile"||e.behavior!=="desktop"&&c.totalWidth.value<=e.breakpoint)}j(h,te=>{te===!0?(g=q.value,q.value===!0&&$(!1)):e.overlay===!1&&e.behavior!=="mobile"&&g!==!1&&(q.value===!0?(Se(0),me(0),it()):k(!1))}),j(()=>e.side,(te,pe)=>{c.instances[pe]===L&&(c.instances[pe]=void 0,c[pe].space=!1,c[pe].offset=0),c.instances[te]=L,c[te].size=y.value,c[te].space=J.value,c[te].offset=M.value}),j(c.totalWidth,()=>{(c.isContainer.value===!0||document.qScrollPrevented!==!0)&&fe()}),j(()=>e.behavior+e.breakpoint,fe),j(c.isContainer,te=>{q.value===!0&&u(te!==!0),te===!0&&fe()}),j(c.scrollbarWidth,()=>{Se(q.value===!0?0:void 0)}),j(M,te=>{Ke("offset",te)}),j(J,te=>{o("onLayout",te),Ke("space",te)}),j(B,()=>{Se()}),j(y,te=>{Se(),ve(e.miniToOverlay,te)}),j(()=>e.miniToOverlay,te=>{ve(te,y.value)}),j(()=>i.lang.rtl,()=>{Se()}),j(()=>e.mini,()=>{e.noMiniAnimation||e.modelValue===!0&&(Be(),c.animate())}),j(C,te=>{o("miniState",te)});function Se(te){te===void 0?Ae(()=>{te=q.value===!0?0:y.value,Se(V.value*te)}):(c.isContainer.value===!0&&B.value===!0&&(h.value===!0||Math.abs(te)===y.value)&&(te+=V.value*c.scrollbarWidth.value),N.value=te)}function me(te){E.value=te}function ze(te){let pe=te===!0?"remove":c.isContainer.value!==!0?"add":"";pe!==""&&document.body.classList[pe]("q-body--drawer-toggle")}function Be(){v!==null&&clearTimeout(v),n.proxy&&n.proxy.$el&&n.proxy.$el.classList.add("q-drawer--mini-animate"),R.value=!0,v=setTimeout(()=>{v=null,R.value=!1,n&&n.proxy&&n.proxy.$el&&n.proxy.$el.classList.remove("q-drawer--mini-animate")},150)}function xe(te){if(q.value!==!1)return;let pe=y.value,Fe=tt(te.distance.x,0,pe);if(te.isFinal===!0){Fe>=Math.min(75,pe)===!0?k():(c.animate(),me(0),Se(V.value*pe)),_.value=!1;return}Se((i.lang.rtl===!0?B.value!==!0:B.value)?Math.max(pe-Fe,0):Math.min(0,Fe-pe)),me(tt(Fe/pe,0,1)),te.isFirst===!0&&(_.value=!0)}function Ie(te){if(q.value!==!0)return;let pe=y.value,Fe=te.direction===e.side,Ve=(i.lang.rtl===!0?Fe!==!0:Fe)?tt(te.distance.x,0,pe):0;if(te.isFinal===!0){Math.abs(Ve)<Math.min(75,pe)===!0?(c.animate(),me(1),Se(0)):$(),_.value=!1;return}Se(V.value*Ve),me(tt(1-Ve/pe,0,1)),te.isFirst===!0&&(_.value=!0)}function it(){u(!1),ze(!0)}function Ke(te,pe){c.update(e.side,te,pe)}function ce(te,pe){te.value!==pe&&(te.value=pe)}function ve(te,pe){Ke("size",te===!0?e.miniWidth:pe)}return c.instances[e.side]=L,ve(e.miniToOverlay,y.value),Ke("space",J.value),Ke("offset",M.value),e.showIfAbove===!0&&e.modelValue!==!0&&q.value===!0&&e["onUpdate:modelValue"]!==void 0&&o("update:modelValue",!0),je(()=>{o("onLayout",J.value),o("miniState",C.value),g=e.showIfAbove===!0;let te=()=>{(q.value===!0?b:p)(!1,!0)};if(c.totalWidth.value!==0){Ae(te);return}m=j(c.totalWidth,()=>{m(),m=void 0,q.value===!1&&e.showIfAbove===!0&&h.value===!1?k(!1):te()})}),ye(()=>{m!==void 0&&m(),v!==null&&(clearTimeout(v),v=null),q.value===!0&&it(),c.instances[e.side]===L&&(c.instances[e.side]=void 0,Ke("size",0),Ke("offset",0),Ke("space",!1))}),()=>{let te=[];h.value===!0&&(e.noSwipeOpen===!1&&te.push($t(a("div",{key:"open",class:`q-drawer__opener fixed-${e.side}`,"aria-hidden":"true"}),x.value)),te.push(Mt("div",{ref:"backdrop",class:O.value,style:w.value,"aria-hidden":"true",onClick:$},void 0,"backdrop",e.noSwipeBackdrop!==!0&&q.value===!0,()=>ae.value)));let pe=C.value===!0&&t.mini!==void 0,Fe=[a("div",{...r,key:""+pe,class:[ue.value,r.class]},pe===!0?t.mini():ie(t.default))];return e.elevated===!0&&q.value===!0&&Fe.push(a("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),te.push(Mt("aside",{ref:"content",class:K.value,style:Y.value},Fe,"contentclose",e.noSwipeClose!==!0&&h.value===!0,()=>G.value)),a("div",{class:"q-drawer-container"},te)}}});function kc(e,t){if(t&&e===t)return null;let o=e.nodeName.toLowerCase();if(["div","li","ul","ol","blockquote"].includes(o)===!0)return e;let r=window.getComputedStyle?window.getComputedStyle(e):e.currentStyle,n=r.display;return n==="block"||n==="table"?e:kc(e.parentNode)}function ru(e,t,o){return!e||e===document.body?!1:o===!0&&e===t||(t===document?document.body:t).contains(e.parentNode)}function qc(e,t,o){if(o||(o=document.createRange(),o.selectNode(e),o.setStart(e,0)),t.count===0)o.setEnd(e,t.count);else if(t.count>0)if(e.nodeType===Node.TEXT_NODE)e.textContent.length<t.count?t.count-=e.textContent.length:(o.setEnd(e,t.count),t.count=0);else for(let r=0;t.count!==0&&r<e.childNodes.length;r++)o=qc(e.childNodes[r],t,o);return o}var mh=/^https?:\/\//,si=class{constructor(t,o){this.el=t,this.eVm=o,this._range=null}get selection(){if(this.el){let t=document.getSelection();if(ru(t.anchorNode,this.el,!0)&&ru(t.focusNode,this.el,!0))return t}return null}get hasSelection(){return this.selection!==null?this.selection.toString().length!==0:!1}get range(){let t=this.selection;return t!==null&&t.rangeCount?t.getRangeAt(0):this._range}get parent(){let t=this.range;if(t!==null){let o=t.startContainer;return o.nodeType===document.ELEMENT_NODE?o:o.parentNode}return null}get blockParent(){let t=this.parent;return t!==null?kc(t,this.el):null}save(t=this.range){t!==null&&(this._range=t)}restore(t=this._range){let o=document.createRange(),r=document.getSelection();t!==null?(o.setStart(t.startContainer,t.startOffset),o.setEnd(t.endContainer,t.endOffset),r.removeAllRanges(),r.addRange(o)):(r.selectAllChildren(this.el),r.collapseToEnd())}savePosition(){let t=-1,o,r=document.getSelection(),n=this.el.parentNode;if(r.focusNode&&ru(r.focusNode,n))for(o=r.focusNode,t=r.focusOffset;o&&o!==n;)o!==this.el&&o.previousSibling?(o=o.previousSibling,t+=o.textContent.length):o=o.parentNode;this.savedPos=t}restorePosition(t=0){if(this.savedPos>0&&this.savedPos<t){let o=window.getSelection(),r=qc(this.el,{count:this.savedPos});r&&(r.collapse(!1),o.removeAllRanges(),o.addRange(r))}}hasParent(t,o){let r=o?this.parent:this.blockParent;return r!==null?r.nodeName.toLowerCase()===t.toLowerCase():!1}hasParents(t,o,r=this.parent){return r===null?!1:t.includes(r.nodeName.toLowerCase())===!0?!0:o===!0?this.hasParents(t,o,r.parentNode):!1}is(t,o){if(this.selection===null)return!1;switch(t){case"formatBlock":return o==="DIV"&&this.parent===this.el||this.hasParent(o,o==="PRE");case"link":return this.hasParent("A",!0);case"fontSize":return document.queryCommandValue(t)===o;case"fontName":let r=document.queryCommandValue(t);return r===`"${o}"`||r===o;case"fullscreen":return this.eVm.inFullscreen.value;case"viewsource":return this.eVm.isViewingSource.value;case void 0:return!1;default:let n=document.queryCommandState(t);return o!==void 0?n===o:n}}getParentAttribute(t){return this.parent!==null?this.parent.getAttribute(t):null}can(t){if(t==="outdent")return this.hasParents(["blockquote","li"],!0);if(t==="indent")return this.hasParents(["li"],!0);if(t==="link")return this.selection!==null||this.is("link")}apply(t,o,r=Ye){if(t==="formatBlock")["BLOCKQUOTE","H1","H2","H3","H4","H5","H6"].includes(o)&&this.is(t,o)&&(t="outdent",o=null),o==="PRE"&&this.is(t,"PRE")&&(o="P");else if(t==="print"){r();let n=window.open();n.document.write(`
|
|
8
8
|
<!doctype html>
|
|
9
9
|
<html>
|
|
10
10
|
<head>
|
|
@@ -124,4 +124,4 @@
|
|
|
124
124
|
${lo}
|
|
125
125
|
|
|
126
126
|
${re}
|
|
127
|
-
`,document.head.appendChild(Pe);let be="normal";B.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${be} ${i.fill} ${le}-from`,V!==void 0&&(V.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${be} ${i.fill} ${le}-from-tween`),w.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${be} ${i.fill} ${le}-to`,_.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${be} ${i.fill} ${le}`;let $e=De=>{De===Object(De)&&De.animationName!==le||(_.removeEventListener("animationend",$e),_.removeEventListener("animationcancel",$e),Z(),Pe.remove())};l.qMorphCancel=()=>{l.qMorphCancel=void 0,o=!0,$e()},_.qMorphCancel=()=>{_.qMorphCancel=void 0,o=!0,$e()},_.addEventListener("animationend",$e),_.addEventListener("animationcancel",$e),t=De=>o===!0||!_||!B||!w?!1:De===!0?($e(),!0):(r=r!==!0,be=be==="normal"?"reverse":"normal",B.style.animationDirection=be,V.style.animationDirection=be,w.style.animationDirection=be,_.style.animationDirection=be,!0)}};i.waitFor>0||i.waitFor==="transitionend"||i.waitFor===Object(i.waitFor)&&typeof i.waitFor.then=="function"?(i.waitFor>0?new Promise(de=>setTimeout(de,i.waitFor)):i.waitFor==="transitionend"?new Promise(de=>{let O=()=>{w!==null&&(clearTimeout(w),w=null),_&&(_.removeEventListener("transitionend",O),_.removeEventListener("transitioncancel",O)),de()},w=setTimeout(O,400);_.addEventListener("transitionend",O),_.addEventListener("transitioncancel",O)}):i.waitFor).then(Q).catch(()=>{typeof _.qMorphCancel=="function"&&_.qMorphCancel()}):Q()};return typeof e.onToggle=="function"&&e.onToggle(),requestAnimationFrame(E),_=>t(_)}var ol={},Pp=["duration","delay","easing","fill","classes","style","duration","resize","useCSS","hideFromClone","keepToClone","tween","tweenFromOpacity","tweenToOpacity","waitFor","onEnd"],Ap=["resize","useCSS","hideFromClone","keepToClone","tween"];function zr(e,t){e.clsAction!==t&&(e.clsAction=t,e.el.classList[t]("q-morph--invisible"))}function om(e){if(e.animating===!0||e.queue.length<2)return;let[t,o]=e.queue;e.animating=!0,t.animating=!0,o.animating=!0,zr(t,"remove"),zr(o,"remove");let r=fi({from:t.el,to:o.el,onToggle(){zr(t,"add"),zr(o,"remove")},...o.opts,onEnd(n,i){o.opts.onEnd!==void 0&&o.opts.onEnd(n,i),i!==!0&&(t.animating=!1,o.animating=!1,e.animating=!1,e.cancel=void 0,e.queue.shift(),om(e))}});e.cancel=()=>{r(!0),e.cancel=void 0}}function nm(e,t){let o=t.opts;Ap.forEach(r=>{o[r]=e[r]===!0})}function $p(e,t){let o=typeof e=="string"&&e.length!==0?e.split(":"):[];t.name=o[0],t.group=o[1],Object.assign(t.opts,{duration:isNaN(o[2])===!0?300:parseFloat(o[2]),waitFor:o[3]})}function Ep(e,t){e.group!==void 0&&(t.group=e.group),e.name!==void 0&&(t.name=e.name);let o=t.opts;Pp.forEach(r=>{e[r]!==void 0&&(o[r]=e[r])})}function Bp(e,t){if(t.name===e){let o=ol[t.group];o===void 0?(ol[t.group]={name:t.group,model:e,queue:[t],animating:!1},zr(t,"remove")):o.model!==e&&(o.model=e,o.queue.push(t),o.animating===!1&&o.queue.length===2&&om(o));return}t.animating===!1&&zr(t,"add")}function tm(e,t){let o;Object(t)===t?(o=""+t.model,Ep(t,e),nm(t,e)):o=""+t,o!==e.model?(e.model=o,Bp(o,e)):e.animating===!1&&e.clsAction!==void 0&&e.el.classList[e.clsAction]("q-morph--invisible")}var rm=Pt({name:"morph",mounted(e,t){let o={el:e,animating:!1,opts:{}};nm(t.modifiers,o),$p(t.arg,o),tm(o,t.value),e.__qmorph=o},updated(e,t){tm(e.__qmorph,t.value)},beforeUnmount(e){let t=e.__qmorph,o=ol[t.group];o!==void 0&&o.queue.indexOf(t)!==-1&&(o.queue=o.queue.filter(n=>n!==t),o.queue.length===0&&(o.cancel!==void 0&&o.cancel(),delete ol[t.group])),t.clsAction==="add"&&e.classList.remove("q-morph--invisible"),delete e.__qmorph}});var Fp={childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0,characterDataOldValue:!0};function im(e,t,o){t.handler=o,t.observer!==void 0&&t.observer.disconnect(),t.observer=new MutationObserver(r=>{typeof t.handler=="function"&&(t.handler(r)===!1||t.once===!0)&&am(e)}),t.observer.observe(e,t.opts)}function am(e){let t=e.__qmutation;t!==void 0&&(t.observer!==void 0&&t.observer.disconnect(),delete e.__qmutation)}var lm=Pt({name:"mutation",mounted(e,{modifiers:{once:t,...o},value:r}){let n={once:t,opts:Object.keys(o).length===0?Fp:o};im(e,n,r),e.__qmutation=n},updated(e,{oldValue:t,value:o}){let r=e.__qmutation;r!==void 0&&t!==o&&im(e,r,o)},beforeUnmount:am});var{passive:nl}=Je;function um(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,nl);return}e.handler=t,typeof o!="function"&&(e.scrollTarget.addEventListener("scroll",e.scroll,nl),e.scroll())}var sm=Pt({name:"scroll-fire",mounted(e,t){let o={scrollTarget:Et(e),scroll:Xt(()=>{let r,n;o.scrollTarget===window?(n=e.getBoundingClientRect().bottom,r=window.innerHeight):(n=Cn(e).top+Ro(e),r=Cn(o.scrollTarget).top+Ro(o.scrollTarget)),n>0&&n<r&&(o.scrollTarget.removeEventListener("scroll",o.scroll,nl),o.handler(e))},25)};um(o,t),e.__qscrollfire=o},updated(e,t){t.value!==t.oldValue&&um(e.__qscrollfire,t)},beforeUnmount(e){let t=e.__qscrollfire;t.scrollTarget.removeEventListener("scroll",t.scroll,nl),t.scroll.cancel(),delete e.__qscrollfire}});function cm(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,Je.passive);return}e.handler=t,typeof o!="function"&&e.scrollTarget.addEventListener("scroll",e.scroll,Je.passive)}var dm=Pt({name:"scroll",mounted(e,t){let o={scrollTarget:Et(e),scroll(){o.handler(eo(o.scrollTarget),un(o.scrollTarget))}};cm(o,t),e.__qscroll=o},updated(e,t){e.__qscroll!==void 0&&t.oldValue!==t.value&&cm(e.__qscroll,t)},beforeUnmount(e){let t=e.__qscroll;t.scrollTarget.removeEventListener("scroll",t.scroll,Je.passive),delete e.__qscroll}});var fm=Pt({name:"touch-hold",beforeMount(e,t){let{modifiers:o}=t;if(o.mouse!==!0&&Me.has.touch!==!0)return;let r={handler:t.value,noop:Ye,mouseStart(i){typeof r.handler=="function"&&Uo(i)===!0&&(dt(r,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),r.start(i,!0))},touchStart(i){if(i.target!==void 0&&typeof r.handler=="function"){let l=i.target;dt(r,"temp",[[l,"touchmove","move","passiveCapture"],[l,"touchcancel","end","notPassiveCapture"],[l,"touchend","end","notPassiveCapture"]]),r.start(i)}},start(i,l){r.origin=xt(i);let u=Date.now();Me.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),r.styleCleanup=d=>{r.styleCleanup=void 0;let f=()=>{document.body.classList.remove("non-selectable")};d===!0?(Ot(),setTimeout(f,10)):f()}),r.triggered=!1,r.sensitivity=l===!0?r.mouseSensitivity:r.touchSensitivity,r.timer=setTimeout(()=>{r.timer=void 0,Ot(),r.triggered=!0,r.handler({evt:i,touch:l!==!0,mouse:l===!0,position:r.origin,duration:Date.now()-u})},r.duration)},move(i){let{top:l,left:u}=xt(i);r.timer!==void 0&&(Math.abs(u-r.origin.left)>=r.sensitivity||Math.abs(l-r.origin.top)>=r.sensitivity)&&(clearTimeout(r.timer),r.timer=void 0)},end(i){qt(r,"temp"),r.styleCleanup!==void 0&&r.styleCleanup(r.triggered),r.triggered===!0?i!==void 0&&qe(i):r.timer!==void 0&&(clearTimeout(r.timer),r.timer=void 0)}},n=[600,5,7];if(typeof t.arg=="string"&&t.arg.length!==0&&t.arg.split(":").forEach((i,l)=>{let u=parseInt(i,10);u&&(n[l]=u)}),[r.duration,r.touchSensitivity,r.mouseSensitivity]=n,e.__qtouchhold=r,o.mouse===!0){let i=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(r,"main",[[e,"mousedown","mouseStart",`passive${i}`]])}Me.has.touch===!0&&dt(r,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchend","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchhold;o!==void 0&&t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value)},beforeUnmount(e){let t=e.__qtouchhold;t!==void 0&&(qt(t,"main"),qt(t,"temp"),t.timer!==void 0&&clearTimeout(t.timer),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchhold)}});var mm={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Lp=new RegExp(`^([\\d+]+|${Object.keys(mm).join("|")})$`,"i");function Vp(e,t){let{top:o,left:r}=xt(e);return Math.abs(r-t.left)>=7||Math.abs(o-t.top)>=7}var vm=Pt({name:"touch-repeat",beforeMount(e,{modifiers:t,value:o,arg:r}){let n=Object.keys(t).reduce((d,f)=>{if(Lp.test(f)===!0){let c=isNaN(parseInt(f,10))?mm[f.toLowerCase()]:parseInt(f,10);c>=0&&d.push(c)}return d},[]);if(t.mouse!==!0&&Me.has.touch!==!0&&n.length===0)return;let i=typeof r=="string"&&r.length!==0?r.split(":").map(d=>parseInt(d,10)):[0,600,300],l=i.length-1,u={keyboard:n,handler:o,noop:Ye,mouseStart(d){u.event===void 0&&typeof u.handler=="function"&&Uo(d)===!0&&(dt(u,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!0))},keyboardStart(d){if(typeof u.handler=="function"&&Tt(d,n)===!0){if((i[0]===0||u.event!==void 0)&&(qe(d),e.focus(),u.event!==void 0))return;dt(u,"temp",[[document,"keyup","end","notPassiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!1,!0)}},touchStart(d){if(d.target!==void 0&&typeof u.handler=="function"){let f=d.target;dt(u,"temp",[[f,"touchmove","move","passiveCapture"],[f,"touchcancel","end","notPassiveCapture"],[f,"touchend","end","notPassiveCapture"]]),u.start(d)}},start(d,f,c){c!==!0&&(u.origin=xt(d));function g(m){u.styleCleanup=void 0,document.documentElement.style.cursor="";let h=()=>{document.body.classList.remove("non-selectable")};m===!0?(Ot(),setTimeout(h,10)):h()}Me.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=g),u.event={touch:f!==!0&&c!==!0,mouse:f===!0,keyboard:c===!0,startTime:Date.now(),repeatCount:0};let v=()=>{if(u.timer=void 0,u.event===void 0)return;u.event.repeatCount===0&&(u.event.evt=d,c===!0?u.event.keyCode=d.keyCode:u.event.position=xt(d),Me.is.mobile!==!0&&(document.documentElement.style.cursor="pointer",document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=g)),u.event.duration=Date.now()-u.event.startTime,u.event.repeatCount+=1,u.handler(u.event);let m=l<u.event.repeatCount?l:u.event.repeatCount;u.timer=setTimeout(v,i[m])};i[0]===0?v():u.timer=setTimeout(v,i[0])},move(d){u.event!==void 0&&u.timer!==void 0&&Vp(d,u.origin)===!0&&(clearTimeout(u.timer),u.timer=void 0)},end(d){u.event!==void 0&&(u.styleCleanup!==void 0&&u.styleCleanup(!0),d!==void 0&&u.event.repeatCount>0&&qe(d),qt(u,"temp"),u.timer!==void 0&&(clearTimeout(u.timer),u.timer=void 0),u.event=void 0)}};if(e.__qtouchrepeat=u,t.mouse===!0){let d=t.mouseCapture===!0||t.mousecapture===!0?"Capture":"";dt(u,"main",[[e,"mousedown","mouseStart",`passive${d}`]])}if(Me.has.touch===!0&&dt(u,"main",[[e,"touchstart","touchStart",`passive${t.capture===!0?"Capture":""}`],[e,"touchend","noop","passiveCapture"]]),n.length!==0){let d=t.keyCapture===!0||t.keycapture===!0?"Capture":"";dt(u,"main",[[e,"keydown","keyboardStart",`notPassive${d}`]])}},updated(e,{oldValue:t,value:o}){let r=e.__qtouchrepeat;r!==void 0&&t!==o&&(typeof o!="function"&&r.end(),r.handler=o)},beforeUnmount(e){let t=e.__qtouchrepeat;t!==void 0&&(t.timer!==void 0&&clearTimeout(t.timer),qt(t,"main"),qt(t,"temp"),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchrepeat)}});var vl={};Nr(vl,{AddressbarColor:()=>gm,AppFullscreen:()=>ym,AppVisibility:()=>xm,BottomSheet:()=>wm,Cookies:()=>Pm,Dark:()=>xi,Dialog:()=>$m,Loading:()=>Vm,LoadingBar:()=>Em,LocalStorage:()=>Wm,Meta:()=>Om,Notify:()=>jm,Platform:()=>qo,Screen:()=>Si,SessionStorage:()=>Gm});function mi(e,t=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue(`--q-${e}`).trim()||null}var il;function Dp(){return Me.is.winphone?"msapplication-navbutton-color":Me.is.safari?"apple-mobile-web-app-status-bar-style":"theme-color"}function zp(e){let t=document.getElementsByTagName("META");for(let o in t)if(t[o].name===e)return t[o]}function Op(e){il===void 0&&(il=Dp());let t=zp(il),o=t===void 0;o&&(t=document.createElement("meta"),t.setAttribute("name",il)),t.setAttribute("content",e),o&&document.head.appendChild(t)}var gm={set:Me.is.mobile===!0&&(Me.is.nativeMobile===!0||Me.is.winphone===!0||Me.is.safari===!0||Me.is.webkit===!0||Me.is.vivaldi===!0)?e=>{let t=e||mi("primary");Me.is.nativeMobile===!0&&window.StatusBar?window.StatusBar.backgroundColorByHexString(t):Op(t)}:Ye,install({$q:e}){e.addressbarColor=this,e.config.addressbarColor&&this.set(e.config.addressbarColor)}};var vi={};function Ip(e){Object.assign(Nt,{request:e,exit:e,toggle:e})}function pm(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||null}function bm(){let e=Nt.activeEl=Nt.isActive===!1?null:pm();Rs(e===null||e===document.documentElement?document.body:e)}function Np(){Nt.isActive=Nt.isActive===!1,bm()}function hm(e,t){try{let o=e[t]();return o===void 0?Promise.resolve():o}catch(o){return Promise.reject(o)}}var Nt=jt({isActive:!1,activeEl:null},{isCapable:!1,install({$q:e}){e.fullscreen=this}});vi.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find(e=>document.documentElement[e]!==void 0),Nt.isCapable=vi.request!==void 0,Nt.isCapable===!1?Ip(()=>Promise.reject("Not capable")):(Object.assign(Nt,{request(e){let t=e||document.documentElement,{activeEl:o}=Nt;return t===o?Promise.resolve():(o!==null&&t.contains(o)===!0?Nt.exit():Promise.resolve()).finally(()=>hm(t,vi.request))},exit(){return Nt.isActive===!0?hm(document,vi.exit):Promise.resolve()},toggle(e){return Nt.isActive===!0?Nt.exit():Nt.request(e)}}),vi.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find(e=>document[e]),Nt.isActive=!!pm(),Nt.isActive===!0&&bm(),["onfullscreenchange","onmsfullscreenchange","onwebkitfullscreenchange"].forEach(e=>{document[e]=Np}));var ym=Nt;var Sm=jt({appVisible:!0},{install({$q:e}){st(e,"appVisible",()=>this.appVisible)}});{let e,t;if(typeof document.hidden<"u"?(e="hidden",t="visibilitychange"):typeof document.msHidden<"u"?(e="msHidden",t="msvisibilitychange"):typeof document.webkitHidden<"u"&&(e="webkitHidden",t="webkitvisibilitychange"),t&&typeof document[e]<"u"){let o=()=>{Sm.appVisible=!document[e]};document.addEventListener(t,o,!1)}}var xm=Sm;var _m=A({name:"BottomSheetPlugin",props:{...Ce,title:String,message:String,actions:Array,grid:Boolean,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){let{proxy:o}=U(),r=we(e,o.$q),n=T(null);function i(){n.value.show()}function l(){n.value.hide()}function u(m){t("ok",m),l()}function d(){t("hide")}function f(){return e.actions.map(m=>{let h=m.avatar||m.img;return m.label===void 0?a(io,{class:"col-all",dark:r.value}):a("div",{class:["q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position",m.class],style:m.style,tabindex:0,role:"listitem",onClick(){u(m)},onKeyup(C){C.keyCode===13&&u(m)}},[a("div",{class:"q-focus-helper"}),m.icon?a(Re,{name:m.icon,color:m.color}):h?a("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:h}):a("div",{class:"q-bottom-sheet__empty-icon"}),a("div",m.label)])})}function c(){return e.actions.map(m=>{let h=m.avatar||m.img;return m.label===void 0?a(io,{spaced:!0,dark:r.value}):a(No,{class:["q-bottom-sheet__item",m.classes],style:m.style,tabindex:0,clickable:!0,dark:r.value,onClick(){u(m)}},()=>[a(oo,{avatar:!0},()=>m.icon?a(Re,{name:m.icon,color:m.color}):h?a("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:h}):null),a(oo,()=>m.label)])})}function g(){let m=[];return e.title&&m.push(a(bo,{class:"q-dialog__title"},()=>e.title)),e.message&&m.push(a(bo,{class:"q-dialog__message"},()=>e.message)),m.push(e.grid===!0?a("div",{class:"row items-stretch justify-start",role:"list"},f()):a("div",{role:"list"},c())),m}function v(){return[a(hr,{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},g)]}return Object.assign(o,{show:i,hide:l}),()=>a(Io,{ref:n,position:"bottom",onHide:d},v)}});function Cm(e,t){for(let o in t)o!=="spinner"&&Object(t[o])===t[o]?(e[o]=Object(e[o])!==e[o]?{}:{...e[o]},Cm(e[o],t[o])):e[o]=t[o]}function al(e,t,o){return r=>{let n,i,l=t===!0&&r.component!==void 0;if(l===!0){let{component:S,componentProps:b}=r;n=typeof S=="string"?o.component(S):S,i=b||{}}else{let{class:S,style:b,...p}=r;n=e,i=p,S!==void 0&&(p.cardClass=S),b!==void 0&&(p.cardStyle=b)}let u,d=!1,f=T(null),c=Ao(!1,"dialog"),g=S=>{if(f.value!==null&&f.value[S]!==void 0){f.value[S]();return}let b=u.$.subTree;if(b&&b.component){if(b.component.proxy&&b.component.proxy[S]){b.component.proxy[S]();return}if(b.component.subTree&&b.component.subTree.component&&b.component.subTree.component.proxy&&b.component.subTree.component.proxy[S]){b.component.subTree.component.proxy[S]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},v=[],m=[],h={onOk(S){return v.push(S),h},onCancel(S){return m.push(S),h},onDismiss(S){return v.push(S),m.push(S),h},hide(){return g("hide"),h},update(S){if(u!==null){if(l===!0)Object.assign(i,S);else{let{class:b,style:p,...k}=S;b!==void 0&&(k.cardClass=b),p!==void 0&&(k.cardStyle=p),Cm(i,k)}u.$forceUpdate()}return h}},C=S=>{d=!0,v.forEach(b=>{b(S)})},y=()=>{q.unmount(c),ir(c),q=null,u=null,d!==!0&&m.forEach(S=>{S()})},q=on({name:"QGlobalDialog",setup:()=>()=>a(n,{...i,ref:f,onOk:C,onHide:y,onVnodeMounted(...S){typeof i.onVnodeMounted=="function"&&i.onVnodeMounted(...S),Ae(()=>g("show"))}})},o);return u=q.mount(c),h}}var wm={install({$q:e,parentApp:t}){e.bottomSheet=al(_m,!1,t),this.__installed!==!0&&(this.create=e.bottomSheet)}};function km(e){return encodeURIComponent(e)}function qm(e){return decodeURIComponent(e)}function Hp(e){return km(e===Object(e)?JSON.stringify(e):""+e)}function Qp(e){if(e==="")return e;e.indexOf('"')===0&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=qm(e.replace(/\+/g," "));try{let t=JSON.parse(e);(t===Object(t)||Array.isArray(t)===!0)&&(e=t)}catch{}return e}function Tm(e){let t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}function jp(e){let t=0,o=e.match(/(\d+)d/),r=e.match(/(\d+)h/),n=e.match(/(\d+)m/),i=e.match(/(\d+)s/);return o&&(t+=o[1]*864e5),r&&(t+=r[1]*36e5),n&&(t+=n[1]*6e4),i&&(t+=i[1]*1e3),t===0?e:Tm(t)}function Mm(e,t,o={},r){let n,i;o.expires!==void 0&&(Object.prototype.toString.call(o.expires)==="[object Date]"?n=o.expires.toUTCString():typeof o.expires=="string"?n=jp(o.expires):(i=parseFloat(o.expires),n=isNaN(i)===!1?Tm(i*864e5):o.expires));let l=`${km(e)}=${Hp(t)}`,u=[l,n!==void 0?"; Expires="+n:"",o.path?"; Path="+o.path:"",o.domain?"; Domain="+o.domain:"",o.sameSite?"; SameSite="+o.sameSite:"",o.httpOnly?"; HttpOnly":"",o.secure?"; Secure":"",o.other?"; "+o.other:""].join("");if(r){r.req.qCookies?r.req.qCookies.push(u):r.req.qCookies=[u],r.res.setHeader("Set-Cookie",r.req.qCookies);let d=r.req.headers.cookie||"";if(n!==void 0&&i<0){let f=ll(e,r);f!==void 0&&(d=d.replace(`${e}=${f}; `,"").replace(`; ${e}=${f}`,"").replace(`${e}=${f}`,""))}else d=d?`${l}; ${d}`:u;r.req.headers.cookie=d}else document.cookie=u}function ll(e,t){let o=t?t.req.headers:document,r=o.cookie?o.cookie.split("; "):[],n=r.length,i=e?null:{},l=0,u,d,f;for(;l<n;l++)if(u=r[l].split("="),d=qm(u.shift()),f=u.join("="),!e)i[d]=f;else if(e===d){i=Qp(f);break}return i}function Up(e,t,o){Mm(e,"",{expires:-1,...t},o)}function Kp(e,t){return ll(e,t)!==null}function Wp(e){return{get:t=>ll(t,e),set:(t,o,r)=>Mm(t,o,r,e),has:t=>Kp(t,e),remove:(t,o)=>Up(t,o,e),getAll:()=>ll(null,e)}}var Rm={install({$q:e,ssrContext:t}){e.cookies=this}};Object.assign(Rm,Wp());var Pm=Rm;var Am=A({name:"DialogPlugin",props:{...Ce,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){let{proxy:o}=U(),{$q:r}=o,n=we(e,r),i=T(null),l=T(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),u=s(()=>"q-dialog-plugin"+(n.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),d=s(()=>e.color||(n.value===!0?"amber":"primary")),f=s(()=>e.progress===!1?null:ct(e.progress)===!0?{component:e.progress.spinner||Ct,props:{color:e.progress.color||d.value}}:{component:Ct,props:{color:d.value}}),c=s(()=>e.prompt!==void 0||e.options!==void 0),g=s(()=>{if(c.value!==!0)return{};let{model:R,isValid:N,items:X,...M}=e.prompt!==void 0?e.prompt:e.options;return M}),v=s(()=>ct(e.ok)===!0||e.ok===!0?r.lang.label.ok:e.ok),m=s(()=>ct(e.cancel)===!0||e.cancel===!0?r.lang.label.cancel:e.cancel),h=s(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:!1),C=s(()=>({color:d.value,label:v.value,ripple:!1,disable:h.value,...ct(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&c.value!==!0||void 0,onClick:b})),y=s(()=>({color:d.value,label:m.value,ripple:!1,...ct(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&c.value!==!0||void 0,onClick:p}));j(()=>e.prompt&&e.prompt.model,$),j(()=>e.options&&e.options.model,$);function q(){i.value.show()}function S(){i.value.hide()}function b(){t("ok",so(l.value)),S()}function p(){S()}function k(){t("hide")}function $(R){l.value=R}function F(R){h.value!==!0&&e.prompt.type!=="textarea"&&Tt(R,13)===!0&&b()}function D(R,N){return e.html===!0?a(bo,{class:R,innerHTML:N}):a(bo,{class:R},()=>N)}function L(){return[a(Br,{color:d.value,dense:!0,autofocus:!0,dark:n.value,...g.value,modelValue:l.value,"onUpdate:modelValue":$,onKeyup:F})]}function B(){return[a(Da,{color:d.value,options:e.options.items,dark:n.value,...g.value,modelValue:l.value,"onUpdate:modelValue":$})]}function V(){let R=[];return e.cancel&&R.push(a(Oe,y.value)),e.ok&&R.push(a(Oe,C.value)),a(Ui,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>R)}function E(){let R=[];return e.title&&R.push(D("q-dialog__title",e.title)),e.progress!==!1&&R.push(a(bo,{class:"q-dialog__progress"},()=>a(f.value.component,f.value.props))),e.message&&R.push(D("q-dialog__message",e.message)),e.prompt!==void 0?R.push(a(bo,{class:"scroll q-dialog-plugin__form"},L)):e.options!==void 0&&R.push(a(io,{dark:n.value}),a(bo,{class:"scroll q-dialog-plugin__form"},B),a(io,{dark:n.value})),(e.ok||e.cancel)&&R.push(V()),R}function _(){return[a(hr,{class:[u.value,e.cardClass],style:e.cardStyle,dark:n.value},E)]}return Object.assign(o,{show:q,hide:S}),()=>a(Io,{ref:i,onHide:k},_)}});var $m={install({$q:e,parentApp:t}){e.dialog=al(Am,!0,t),this.__installed!==!0&&(this.create=e.dialog)}};var ul=T(null),mu=jt({isActive:!1},{start:Ye,stop:Ye,increment:Ye,setDefaults:Ye,install({$q:e,parentApp:t}){if(e.loadingBar=this,this.__installed===!0){e.config.loadingBar!==void 0&&this.setDefaults(e.config.loadingBar);return}let o=T(e.config.loadingBar!==void 0?{...e.config.loadingBar}:{});function r(){mu.isActive=!0}function n(){mu.isActive=!1}let i=Ao("q-loading-bar");on({name:"LoadingBar",devtools:{hide:!0},setup:()=>()=>a(Ai,{...o.value,onStart:r,onStop:n,ref:ul})},t).mount(i),Object.assign(this,{start(l){ul.value.start(l)},stop(){ul.value.stop()},increment(){ul.value.increment.apply(null,arguments)},setDefaults(l){ct(l)===!0&&Object.assign(o.value,l)}})}}),Em=mu;var Or,vu,Bm=0,zn=null,Dt={},On={},Fm={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:Ct,customClass:""},Lm={...Fm};function Yp(e){if(e&&e.group!==void 0&&On[e.group]!==void 0)return Object.assign(On[e.group],e);let t=ct(e)===!0&&e.ignoreDefaults===!0?{...Fm,...e}:{...Lm,...e};return On[t.group]=t,t}var xo=jt({isActive:!1},{show(e){Dt=Yp(e);let{group:t}=Dt;return xo.isActive=!0,Or!==void 0?(Dt.uid=Bm,vu.$forceUpdate()):(Dt.uid=++Bm,zn!==null&&clearTimeout(zn),zn=setTimeout(()=>{zn=null;let o=Ao("q-loading");Or=on({name:"QLoading",setup(){je(()=>{ui(!0)});function r(){xo.isActive!==!0&&Or!==void 0&&(ui(!1),Or.unmount(o),ir(o),Or=void 0,vu=void 0)}function n(){if(xo.isActive!==!0)return null;let i=[a(Dt.spinner,{class:"q-loading__spinner",color:Dt.spinnerColor,size:Dt.spinnerSize})];return Dt.message&&i.push(a("div",{class:"q-loading__message"+(Dt.messageColor?` text-${Dt.messageColor}`:""),[Dt.html===!0?"innerHTML":"textContent"]:Dt.message})),a("div",{class:"q-loading fullscreen flex flex-center z-max "+Dt.customClass.trim(),key:Dt.uid},[a("div",{class:"q-loading__backdrop"+(Dt.backgroundColor?` bg-${Dt.backgroundColor}`:"")}),a("div",{class:"q-loading__box column items-center "+Dt.boxClass},i)])}return()=>a(lt,{name:"q-transition--fade",appear:!0,onAfterLeave:r},n)}},xo.__parentApp),vu=Or.mount(o)},Dt.delay)),o=>{if(o===void 0||Object(o)!==o){xo.hide(t);return}xo.show({...o,group:t})}},hide(e){if(xo.isActive===!0){if(e===void 0)On={};else{if(On[e]===void 0)return;{delete On[e];let t=Object.keys(On);if(t.length!==0){let o=t[t.length-1];xo.show({group:o});return}}}zn!==null&&(clearTimeout(zn),zn=null),xo.isActive=!1}},setDefaults(e){ct(e)===!0&&Object.assign(Lm,e)},install({$q:e,parentApp:t}){e.loading=this,xo.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),Vm=xo;var sl=null,gu,_o=[];function Xp(e){e.title&&(e.title=e.titleTemplate?e.titleTemplate(e.title):e.title,delete e.titleTemplate),[["meta","content"],["link","href"]].forEach(t=>{let o=e[t[0]],r=t[1];for(let n in o){let i=o[n];i.template&&(Object.keys(i).length===1?delete o[n]:(i[r]=i.template(i[r]||""),delete i.template))}})}function Gp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(let o in e)if(e[o]!==t[o])return!0}function Dm(e){return["class","style"].includes(e)===!1}function zm(e){return["lang","dir"].includes(e)===!1}function Zp(e,t){let o={},r={};return e===void 0?{add:t,remove:r}:(e.title!==t.title&&(o.title=t.title),["meta","link","script","htmlAttr","bodyAttr"].forEach(n=>{let i=e[n],l=t[n];if(r[n]=[],i==null){o[n]=l;return}o[n]={};for(let u in i)l.hasOwnProperty(u)===!1&&r[n].push(u);for(let u in l)i.hasOwnProperty(u)===!1?o[n][u]=l[u]:Gp(i[u],l[u])===!0&&(r[n].push(u),o[n][u]=l[u])}),{add:o,remove:r})}function Jp({add:e,remove:t}){e.title&&(document.title=e.title),Object.keys(t).length!==0&&(["meta","link","script"].forEach(o=>{t[o].forEach(r=>{document.head.querySelector(`${o}[data-qmeta="${r}"]`).remove()})}),t.htmlAttr.filter(zm).forEach(o=>{document.documentElement.removeAttribute(o)}),t.bodyAttr.filter(Dm).forEach(o=>{document.body.removeAttribute(o)})),["meta","link","script"].forEach(o=>{let r=e[o];for(let n in r){let i=document.createElement(o);for(let l in r[n])l!=="innerHTML"&&i.setAttribute(l,r[n][l]);i.setAttribute("data-qmeta",n),o==="script"&&(i.innerHTML=r[n].innerHTML||""),document.head.appendChild(i)}}),Object.keys(e.htmlAttr).filter(zm).forEach(o=>{document.documentElement.setAttribute(o,e.htmlAttr[o]||"")}),Object.keys(e.bodyAttr).filter(Dm).forEach(o=>{document.body.setAttribute(o,e.bodyAttr[o]||"")})}function e0(){sl=null;let e={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};for(let t=0;t<_o.length;t++){let{active:o,val:r}=_o[t];o===!0&&vn(!0,e,r)}Xp(e),Jp(Zp(gu,e)),gu=e}function ao(){sl!==null&&clearTimeout(sl),sl=setTimeout(e0,50)}var Om={install(e){this.__installed!==!0&&kt.value===!0&&(gu=window.__Q_META__,document.getElementById("qmeta-init").remove())}};var t0=0,cl={},dl={},Co={},Nm={},o0=/^\s*$/,Hm=[],n0=[void 0,null,!0,!1,""],hu=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],r0=["top-left","top-right","bottom-left","bottom-right"],Ir={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function Qm(e,t,o){if(!e)return gi("parameter required");let r,n={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(n,cl),ct(e)===!1&&(n.type&&Object.assign(n,Ir[n.type]),e={message:e}),Object.assign(n,Ir[e.type||n.type],e),typeof n.icon=="function"&&(n.icon=n.icon(t)),n.spinner?(n.spinner===!0&&(n.spinner=Ct),n.spinner=Hr(n.spinner)):n.spinner=!1,n.meta={hasMedia:!!(n.spinner!==!1||n.icon||n.avatar),hasText:Im(n.message)||Im(n.caption)},n.position){if(hu.includes(n.position)===!1)return gi("wrong position",e)}else n.position="bottom";if(n0.includes(n.timeout)===!0)n.timeout=5e3;else{let d=Number(n.timeout);if(isNaN(d)||d<0)return gi("wrong timeout",e);n.timeout=Number.isFinite(d)?d:0}n.timeout===0?n.progress=!1:n.progress===!0&&(n.meta.progressClass="q-notification__progress"+(n.progressClass?` ${n.progressClass}`:""),n.meta.progressStyle={animationDuration:`${n.timeout+1e3}ms`});let i=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(cl.actions)===!0?cl.actions:[]).concat(Ir[e.type]!==void 0&&Array.isArray(Ir[e.type].actions)===!0?Ir[e.type].actions:[]),{closeBtn:l}=n;if(l&&i.push({label:typeof l=="string"?l:t.lang.label.close}),n.actions=i.map(({handler:d,noDismiss:f,...c})=>({flat:!0,...c,onClick:typeof d=="function"?()=>{d(),f!==!0&&u()}:()=>{u()}})),n.multiLine===void 0&&(n.multiLine=n.actions.length>1),Object.assign(n.meta,{class:`q-notification row items-stretch q-notification--${n.multiLine===!0?"multi-line":"standard"}`+(n.color!==void 0?` bg-${n.color}`:"")+(n.textColor!==void 0?` text-${n.textColor}`:"")+(n.classes!==void 0?` ${n.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(n.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(n.multiLine===!0?"":" col"),leftClass:n.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...n.attrs}}),n.group===!1?(n.group=void 0,n.meta.group=void 0):((n.group===void 0||n.group===!0)&&(n.group=[n.message,n.caption,n.multiline].concat(n.actions.map(d=>`${d.label}*${d.icon}`)).join("|")),n.meta.group=n.group+"|"+n.position),n.actions.length===0?n.actions=void 0:n.meta.actionsClass="q-notification__actions row items-center "+(n.multiLine===!0?"justify-end":"col-auto")+(n.meta.hasMedia===!0?" q-notification__actions--with-media":""),o!==void 0){o.notif.meta.timer&&(clearTimeout(o.notif.meta.timer),o.notif.meta.timer=void 0),n.meta.uid=o.notif.meta.uid;let d=Co[n.position].value.indexOf(o.notif);Co[n.position].value[d]=n}else{let d=dl[n.meta.group];if(d===void 0){if(n.meta.uid=t0++,n.meta.badge=1,["left","right","center"].indexOf(n.position)!==-1)Co[n.position].value.splice(Math.floor(Co[n.position].value.length/2),0,n);else{let f=n.position.indexOf("top")!==-1?"unshift":"push";Co[n.position].value[f](n)}n.group!==void 0&&(dl[n.meta.group]=n)}else{if(d.meta.timer&&(clearTimeout(d.meta.timer),d.meta.timer=void 0),n.badgePosition!==void 0){if(r0.includes(n.badgePosition)===!1)return gi("wrong badgePosition",e)}else n.badgePosition=`top-${n.position.indexOf("left")!==-1?"right":"left"}`;n.meta.uid=d.meta.uid,n.meta.badge=d.meta.badge+1,n.meta.badgeClass=`q-notification__badge q-notification__badge--${n.badgePosition}`+(n.badgeColor!==void 0?` bg-${n.badgeColor}`:"")+(n.badgeTextColor!==void 0?` text-${n.badgeTextColor}`:"")+(n.badgeClass?` ${n.badgeClass}`:"");let f=Co[n.position].value.indexOf(d);Co[n.position].value[f]=dl[n.meta.group]=n}}let u=()=>{i0(n),r=void 0};if(n.timeout>0&&(n.meta.timer=setTimeout(()=>{n.meta.timer=void 0,u()},n.timeout+1e3)),n.group!==void 0)return d=>{d!==void 0?gi("trying to update a grouped one which is forbidden",e):u()};if(r={dismiss:u,config:e,notif:n},o!==void 0){Object.assign(o,r);return}return d=>{if(r!==void 0)if(d===void 0)r.dismiss();else{let f=Object.assign({},r.config,d,{group:!1,position:n.position});Qm(f,t,r)}}}function i0(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);let t=Co[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete dl[e.meta.group];let o=Hm[""+e.meta.uid];if(o){let{width:r,height:n}=getComputedStyle(o);o.style.left=`${o.offsetLeft}px`,o.style.width=r,o.style.height=n}Co[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function Im(e){return e!=null&&o0.test(e)!==!0}function gi(e,t){return console.error(`Notify: ${e}`,t),!1}function a0(){return A({name:"QNotifications",devtools:{hide:!0},setup(){return()=>a("div",{class:"q-notifications"},hu.map(e=>a($u,{key:e,class:Nm[e],tag:"div",name:`q-notification--${e}`},()=>Co[e].value.map(t=>{let o=t.meta,r=[];if(o.hasMedia===!0&&(t.spinner!==!1?r.push(a(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+o.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?r.push(a(Re,{class:"q-notification__icon q-notification__icon--"+o.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&r.push(a(Ei,{class:"q-notification__avatar q-notification__avatar--"+o.leftClass},()=>a("img",{src:t.avatar,"aria-hidden":"true"})))),o.hasText===!0){let i,l={class:"q-notification__message col"};if(t.html===!0)l.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{let u=[t.message];i=t.caption?[a("div",u),a("div",{class:"q-notification__caption"},[t.caption])]:u}r.push(a("div",l,i))}let n=[a("div",{class:o.contentClass},r)];return t.progress===!0&&n.push(a("div",{key:`${o.uid}|p|${o.badge}`,class:o.progressClass,style:o.progressStyle})),t.actions!==void 0&&n.push(a("div",{class:o.actionsClass},t.actions.map(i=>a(Oe,i)))),o.badge>1&&n.push(a("div",{key:`${o.uid}|${o.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[o.badge])),a("div",{ref:i=>{Hm[""+o.uid]=i},key:o.uid,class:o.class,...o.attrs},[a("div",{class:o.wrapperClass},n)])}))))}})}var jm={setDefaults(e){ct(e)===!0&&Object.assign(cl,e)},registerType(e,t){ct(t)===!0&&(Ir[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=o=>Qm(o,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){hu.forEach(r=>{Co[r]=T([]);let n=["left","center","right"].includes(r)===!0?"center":r.indexOf("top")!==-1?"top":"bottom",i=r.indexOf("left")!==-1?"start":r.indexOf("right")!==-1?"end":"center",l=["left","right"].includes(r)?`items-${r==="left"?"start":"end"} justify-center`:r==="center"?"flex-center":`items-${i}`;Nm[r]=`q-notifications__list q-notifications__list--${n} fixed column no-wrap ${l}`});let o=Ao("q-notify");on(a0(),t).mount(o)}}};function l0(e){return Yo(e)===!0?"__q_date|"+e.toUTCString():wl(e)===!0?"__q_expr|"+e.source:typeof e=="number"?"__q_numb|"+e:typeof e=="boolean"?"__q_bool|"+(e?"1":"0"):typeof e=="string"?"__q_strn|"+e:typeof e=="function"?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function u0(e){if(e.length<9)return e;let o=e.substring(0,8),r=e.substring(9);switch(o){case"__q_date":return new Date(r);case"__q_expr":return new RegExp(r);case"__q_numb":return Number(r);case"__q_bool":return r==="1";case"__q_strn":return""+r;case"__q_objt":return JSON.parse(r);default:return e}}function fl(){let e=()=>null;return{has:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:Ye,remove:Ye,clear:Ye,isEmpty:()=>!0}}function ml(e){let t=window[e+"Storage"],o=r=>{let n=t.getItem(r);return n?u0(n):null};return{has:r=>t.getItem(r)!==null,getLength:()=>t.length,getItem:o,getIndex:r=>r<t.length?o(t.key(r)):null,getKey:r=>r<t.length?t.key(r):null,getAll:()=>{let r,n={},i=t.length;for(let l=0;l<i;l++)r=t.key(l),n[r]=o(r);return n},getAllKeys:()=>{let r=[],n=t.length;for(let i=0;i<n;i++)r.push(t.key(i));return r},set:(r,n)=>{t.setItem(r,l0(n))},remove:r=>{t.removeItem(r)},clear:()=>{t.clear()},isEmpty:()=>t.length===0}}var Um=Me.has.webStorage===!1?fl():ml("local"),Km={install({$q:e}){e.localStorage=Um}};Object.assign(Km,Um);var Wm=Km;var Ym=Me.has.webStorage===!1?fl():ml("session"),Xm={install({$q:e}){e.sessionStorage=Ym}};Object.assign(Xm,Ym);var Gm=Xm;var bu={};Nr(bu,{EventBus:()=>hi,clone:()=>Jo,colors:()=>ec,copyToClipboard:()=>Zm,createMetaMixin:()=>Jm,createUploaderComponent:()=>Ja,date:()=>vc,debounce:()=>Xt,dom:()=>_s,event:()=>Du,exportFile:()=>tv,extend:()=>vn,format:()=>ns,frameDebounce:()=>Lr,getCssVar:()=>mi,is:()=>Zu,morph:()=>fi,noop:()=>Ye,openURL:()=>nv,patterns:()=>Js,runSequentialPromises:()=>pu,scroll:()=>$s,setCssVar:()=>jr,throttle:()=>Gn,uid:()=>Xo});function s0(e){let t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";let o=()=>{};cr(o),document.body.appendChild(t),t.focus(),t.select();let r=document.execCommand("copy");return t.remove(),Rn(o),r}function Zm(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,o)=>{let r=s0(e);r?t(!0):o(r)})}var Jm=e=>{let t={activated(){this.__qMeta.active=!0,ao()},deactivated(){this.__qMeta.active=!1,ao()},unmounted(){_o.splice(_o.indexOf(this.__qMeta),1),ao(),this.__qMeta=void 0}};return typeof e=="function"?Object.assign(t,{computed:{__qMetaOptions(){return e.call(this)||{}}},watch:{__qMetaOptions(o){this.__qMeta.val=o,this.__qMeta.active===!0&&ao()}},created(){this.__qMeta={active:!0,val:this.__qMetaOptions},_o.push(this.__qMeta),ao()}}):t.created=function(){this.__qMeta={active:!0,val:e},_o.push(this.__qMeta),ao()},t};var hi=class{constructor(){this.__stack={}}on(t,o,r){return(this.__stack[t]||(this.__stack[t]=[])).push({fn:o,ctx:r}),this}once(t,o,r){let n=(...i)=>{this.off(t,n),o.apply(r,i)};return n.__callback=o,this.on(t,n,r)}emit(t){let o=this.__stack[t];if(o!==void 0){let r=[].slice.call(arguments,1);o.forEach(n=>{n.fn.apply(n.ctx,r)})}return this}off(t,o){let r=this.__stack[t];if(r===void 0)return this;if(o===void 0)return delete this.__stack[t],this;let n=r.filter(i=>i.fn!==o&&i.fn.__callback!==o);return n.length!==0?this.__stack[t]=n:delete this.__stack[t],this}};function ev(e){setTimeout(()=>{window.URL.revokeObjectURL(e.href)},1e4),e.remove()}function tv(e,t,o={}){let{mimeType:r,byteOrderMark:n,encoding:i}=typeof o=="string"?{mimeType:o}:o,l=i!==void 0?new TextEncoder(i).encode([t]):t,u=n!==void 0?[n,l]:[l],d=new Blob(u,{type:r||"application/octet-stream"}),f=document.createElement("a");f.href=window.URL.createObjectURL(d),f.setAttribute("download",e),typeof f.download>"u"&&f.setAttribute("target","_blank"),f.classList.add("hidden"),f.style.position="fixed",document.body.appendChild(f);try{return f.click(),ev(f),!0}catch(c){return ev(f),c}}function c0(e){let t=Object.assign({noopener:!0},e),o=[];for(let r in t){let n=t[r];n===!0?o.push(r):(co(n)||typeof n=="string"&&n!=="")&&o.push(r+"="+n)}return o.join(",")}function ov(e,t,o){let r=window.open;if(qo.is.cordova===!0){if(cordova!==void 0&&cordova.InAppBrowser!==void 0&&cordova.InAppBrowser.open!==void 0)r=cordova.InAppBrowser.open;else if(navigator!==void 0&&navigator.app!==void 0)return navigator.app.loadUrl(e,{openExternal:!0})}let n=r(e,"_blank",c0(o));if(n)return qo.is.desktop&&n.focus(),n;t&&t()}var nv=(e,t,o)=>{if(qo.is.ios===!0&&window.SafariViewController!==void 0){window.SafariViewController.isAvailable(r=>{r?window.SafariViewController.show({url:e},Ye,t):ov(e,t,o)});return}return ov(e,t,o)};function d0(e){let t=Array.isArray(e);if(t===!0){let n=e.length;return{isList:t,totalJobs:n,resultAggregator:Array(n).fill(null)}}let o=Object.keys(e),r={};return o.forEach(n=>{r[n]=null}),{isList:t,totalJobs:o.length,resultAggregator:r,resultKeys:o}}function pu(e,{threadsNumber:t=1,abortOnFail:o=!0}={}){let r=-1,n=!1,{isList:i,totalJobs:l,resultAggregator:u,resultKeys:d}=d0(e),f=()=>new Promise((g,v)=>{function m(){let h=++r;if(n===!0||h>=l){g();return}let C=i===!0?h:d[h];e[C](u).then(y=>{if(n===!0){g();return}u[C]={key:C,status:"fulfilled",value:y},setTimeout(m)}).catch(y=>{if(n===!0){g();return}let q={key:C,status:"rejected",reason:y};if(u[C]=q,o===!0){n=!0,v({...q,resultAggregator:u});return}setTimeout(m)})}m()}),c=Array(t).fill(f());return Promise.all(c).then(()=>u)}var xu={};Nr(xu,{useDialogPluginComponent:()=>iv,useFormChild:()=>wa,useMeta:()=>av,useQuasar:()=>Su});function yu(){let{emit:e,proxy:t}=U(),o=T(null);function r(){o.value.show()}function n(){o.value.hide()}function i(u){e("ok",u),n()}function l(){e("hide")}return Object.assign(t,{show:r,hide:n}),{dialogRef:o,onDialogHide:l,onDialogOK:i,onDialogCancel:n}}var rv=["ok","hide"];yu.emits=rv;yu.emitsObject=Za(rv);var iv=yu;function av(e){{let t={active:!0};if(typeof e=="function"){let o=s(e);t.val=o.value,j(o,r=>{t.val=r,t.active===!0&&ao()})}else t.val=e;_o.push(t),ao(),Ht(()=>{t.active=!0,ao()}),Bt(()=>{t.active=!1,ao()}),Hn(()=>{_o.splice(_o.indexOf(t),1),ao()})}}function Su(){return ht(Ci)}window.Vue===void 0&&console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");window.Quasar={version:"2.14.6",install(e,t){ts(e,{components:el,directives:rl,plugins:vl,...t})},lang:xn,iconSet:_i,...el,...rl,...vl,...xu,...bu};})();
|
|
127
|
+
`,document.head.appendChild(Pe);let be="normal";B.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${be} ${i.fill} ${le}-from`,V!==void 0&&(V.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${be} ${i.fill} ${le}-from-tween`),w.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${be} ${i.fill} ${le}-to`,_.style.animation=`${i.duration}ms ${i.easing} ${i.delay}ms ${be} ${i.fill} ${le}`;let $e=De=>{De===Object(De)&&De.animationName!==le||(_.removeEventListener("animationend",$e),_.removeEventListener("animationcancel",$e),Z(),Pe.remove())};l.qMorphCancel=()=>{l.qMorphCancel=void 0,o=!0,$e()},_.qMorphCancel=()=>{_.qMorphCancel=void 0,o=!0,$e()},_.addEventListener("animationend",$e),_.addEventListener("animationcancel",$e),t=De=>o===!0||!_||!B||!w?!1:De===!0?($e(),!0):(r=r!==!0,be=be==="normal"?"reverse":"normal",B.style.animationDirection=be,V.style.animationDirection=be,w.style.animationDirection=be,_.style.animationDirection=be,!0)}};i.waitFor>0||i.waitFor==="transitionend"||i.waitFor===Object(i.waitFor)&&typeof i.waitFor.then=="function"?(i.waitFor>0?new Promise(de=>setTimeout(de,i.waitFor)):i.waitFor==="transitionend"?new Promise(de=>{let O=()=>{w!==null&&(clearTimeout(w),w=null),_&&(_.removeEventListener("transitionend",O),_.removeEventListener("transitioncancel",O)),de()},w=setTimeout(O,400);_.addEventListener("transitionend",O),_.addEventListener("transitioncancel",O)}):i.waitFor).then(Q).catch(()=>{typeof _.qMorphCancel=="function"&&_.qMorphCancel()}):Q()};return typeof e.onToggle=="function"&&e.onToggle(),requestAnimationFrame(E),_=>t(_)}var ol={},Pp=["duration","delay","easing","fill","classes","style","duration","resize","useCSS","hideFromClone","keepToClone","tween","tweenFromOpacity","tweenToOpacity","waitFor","onEnd"],Ap=["resize","useCSS","hideFromClone","keepToClone","tween"];function zr(e,t){e.clsAction!==t&&(e.clsAction=t,e.el.classList[t]("q-morph--invisible"))}function om(e){if(e.animating===!0||e.queue.length<2)return;let[t,o]=e.queue;e.animating=!0,t.animating=!0,o.animating=!0,zr(t,"remove"),zr(o,"remove");let r=fi({from:t.el,to:o.el,onToggle(){zr(t,"add"),zr(o,"remove")},...o.opts,onEnd(n,i){o.opts.onEnd!==void 0&&o.opts.onEnd(n,i),i!==!0&&(t.animating=!1,o.animating=!1,e.animating=!1,e.cancel=void 0,e.queue.shift(),om(e))}});e.cancel=()=>{r(!0),e.cancel=void 0}}function nm(e,t){let o=t.opts;Ap.forEach(r=>{o[r]=e[r]===!0})}function $p(e,t){let o=typeof e=="string"&&e.length!==0?e.split(":"):[];t.name=o[0],t.group=o[1],Object.assign(t.opts,{duration:isNaN(o[2])===!0?300:parseFloat(o[2]),waitFor:o[3]})}function Ep(e,t){e.group!==void 0&&(t.group=e.group),e.name!==void 0&&(t.name=e.name);let o=t.opts;Pp.forEach(r=>{e[r]!==void 0&&(o[r]=e[r])})}function Bp(e,t){if(t.name===e){let o=ol[t.group];o===void 0?(ol[t.group]={name:t.group,model:e,queue:[t],animating:!1},zr(t,"remove")):o.model!==e&&(o.model=e,o.queue.push(t),o.animating===!1&&o.queue.length===2&&om(o));return}t.animating===!1&&zr(t,"add")}function tm(e,t){let o;Object(t)===t?(o=""+t.model,Ep(t,e),nm(t,e)):o=""+t,o!==e.model?(e.model=o,Bp(o,e)):e.animating===!1&&e.clsAction!==void 0&&e.el.classList[e.clsAction]("q-morph--invisible")}var rm=Pt({name:"morph",mounted(e,t){let o={el:e,animating:!1,opts:{}};nm(t.modifiers,o),$p(t.arg,o),tm(o,t.value),e.__qmorph=o},updated(e,t){tm(e.__qmorph,t.value)},beforeUnmount(e){let t=e.__qmorph,o=ol[t.group];o!==void 0&&o.queue.indexOf(t)!==-1&&(o.queue=o.queue.filter(n=>n!==t),o.queue.length===0&&(o.cancel!==void 0&&o.cancel(),delete ol[t.group])),t.clsAction==="add"&&e.classList.remove("q-morph--invisible"),delete e.__qmorph}});var Fp={childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0,characterDataOldValue:!0};function im(e,t,o){t.handler=o,t.observer!==void 0&&t.observer.disconnect(),t.observer=new MutationObserver(r=>{typeof t.handler=="function"&&(t.handler(r)===!1||t.once===!0)&&am(e)}),t.observer.observe(e,t.opts)}function am(e){let t=e.__qmutation;t!==void 0&&(t.observer!==void 0&&t.observer.disconnect(),delete e.__qmutation)}var lm=Pt({name:"mutation",mounted(e,{modifiers:{once:t,...o},value:r}){let n={once:t,opts:Object.keys(o).length===0?Fp:o};im(e,n,r),e.__qmutation=n},updated(e,{oldValue:t,value:o}){let r=e.__qmutation;r!==void 0&&t!==o&&im(e,r,o)},beforeUnmount:am});var{passive:nl}=Je;function um(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,nl);return}e.handler=t,typeof o!="function"&&(e.scrollTarget.addEventListener("scroll",e.scroll,nl),e.scroll())}var sm=Pt({name:"scroll-fire",mounted(e,t){let o={scrollTarget:Et(e),scroll:Xt(()=>{let r,n;o.scrollTarget===window?(n=e.getBoundingClientRect().bottom,r=window.innerHeight):(n=Cn(e).top+Ro(e),r=Cn(o.scrollTarget).top+Ro(o.scrollTarget)),n>0&&n<r&&(o.scrollTarget.removeEventListener("scroll",o.scroll,nl),o.handler(e))},25)};um(o,t),e.__qscrollfire=o},updated(e,t){t.value!==t.oldValue&&um(e.__qscrollfire,t)},beforeUnmount(e){let t=e.__qscrollfire;t.scrollTarget.removeEventListener("scroll",t.scroll,nl),t.scroll.cancel(),delete e.__qscrollfire}});function cm(e,{value:t,oldValue:o}){if(typeof t!="function"){e.scrollTarget.removeEventListener("scroll",e.scroll,Je.passive);return}e.handler=t,typeof o!="function"&&e.scrollTarget.addEventListener("scroll",e.scroll,Je.passive)}var dm=Pt({name:"scroll",mounted(e,t){let o={scrollTarget:Et(e),scroll(){o.handler(eo(o.scrollTarget),un(o.scrollTarget))}};cm(o,t),e.__qscroll=o},updated(e,t){e.__qscroll!==void 0&&t.oldValue!==t.value&&cm(e.__qscroll,t)},beforeUnmount(e){let t=e.__qscroll;t.scrollTarget.removeEventListener("scroll",t.scroll,Je.passive),delete e.__qscroll}});var fm=Pt({name:"touch-hold",beforeMount(e,t){let{modifiers:o}=t;if(o.mouse!==!0&&Me.has.touch!==!0)return;let r={handler:t.value,noop:Ye,mouseStart(i){typeof r.handler=="function"&&Uo(i)===!0&&(dt(r,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),r.start(i,!0))},touchStart(i){if(i.target!==void 0&&typeof r.handler=="function"){let l=i.target;dt(r,"temp",[[l,"touchmove","move","passiveCapture"],[l,"touchcancel","end","notPassiveCapture"],[l,"touchend","end","notPassiveCapture"]]),r.start(i)}},start(i,l){r.origin=xt(i);let u=Date.now();Me.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),r.styleCleanup=d=>{r.styleCleanup=void 0;let f=()=>{document.body.classList.remove("non-selectable")};d===!0?(Ot(),setTimeout(f,10)):f()}),r.triggered=!1,r.sensitivity=l===!0?r.mouseSensitivity:r.touchSensitivity,r.timer=setTimeout(()=>{r.timer=void 0,Ot(),r.triggered=!0,r.handler({evt:i,touch:l!==!0,mouse:l===!0,position:r.origin,duration:Date.now()-u})},r.duration)},move(i){let{top:l,left:u}=xt(i);r.timer!==void 0&&(Math.abs(u-r.origin.left)>=r.sensitivity||Math.abs(l-r.origin.top)>=r.sensitivity)&&(clearTimeout(r.timer),r.timer=void 0)},end(i){qt(r,"temp"),r.styleCleanup!==void 0&&r.styleCleanup(r.triggered),r.triggered===!0?i!==void 0&&qe(i):r.timer!==void 0&&(clearTimeout(r.timer),r.timer=void 0)}},n=[600,5,7];if(typeof t.arg=="string"&&t.arg.length!==0&&t.arg.split(":").forEach((i,l)=>{let u=parseInt(i,10);u&&(n[l]=u)}),[r.duration,r.touchSensitivity,r.mouseSensitivity]=n,e.__qtouchhold=r,o.mouse===!0){let i=o.mouseCapture===!0||o.mousecapture===!0?"Capture":"";dt(r,"main",[[e,"mousedown","mouseStart",`passive${i}`]])}Me.has.touch===!0&&dt(r,"main",[[e,"touchstart","touchStart",`passive${o.capture===!0?"Capture":""}`],[e,"touchend","noop","notPassiveCapture"]])},updated(e,t){let o=e.__qtouchhold;o!==void 0&&t.oldValue!==t.value&&(typeof t.value!="function"&&o.end(),o.handler=t.value)},beforeUnmount(e){let t=e.__qtouchhold;t!==void 0&&(qt(t,"main"),qt(t,"temp"),t.timer!==void 0&&clearTimeout(t.timer),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchhold)}});var mm={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Lp=new RegExp(`^([\\d+]+|${Object.keys(mm).join("|")})$`,"i");function Vp(e,t){let{top:o,left:r}=xt(e);return Math.abs(r-t.left)>=7||Math.abs(o-t.top)>=7}var vm=Pt({name:"touch-repeat",beforeMount(e,{modifiers:t,value:o,arg:r}){let n=Object.keys(t).reduce((d,f)=>{if(Lp.test(f)===!0){let c=isNaN(parseInt(f,10))?mm[f.toLowerCase()]:parseInt(f,10);c>=0&&d.push(c)}return d},[]);if(t.mouse!==!0&&Me.has.touch!==!0&&n.length===0)return;let i=typeof r=="string"&&r.length!==0?r.split(":").map(d=>parseInt(d,10)):[0,600,300],l=i.length-1,u={keyboard:n,handler:o,noop:Ye,mouseStart(d){u.event===void 0&&typeof u.handler=="function"&&Uo(d)===!0&&(dt(u,"temp",[[document,"mousemove","move","passiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!0))},keyboardStart(d){if(typeof u.handler=="function"&&Tt(d,n)===!0){if((i[0]===0||u.event!==void 0)&&(qe(d),e.focus(),u.event!==void 0))return;dt(u,"temp",[[document,"keyup","end","notPassiveCapture"],[document,"click","end","notPassiveCapture"]]),u.start(d,!1,!0)}},touchStart(d){if(d.target!==void 0&&typeof u.handler=="function"){let f=d.target;dt(u,"temp",[[f,"touchmove","move","passiveCapture"],[f,"touchcancel","end","notPassiveCapture"],[f,"touchend","end","notPassiveCapture"]]),u.start(d)}},start(d,f,c){c!==!0&&(u.origin=xt(d));function g(m){u.styleCleanup=void 0,document.documentElement.style.cursor="";let h=()=>{document.body.classList.remove("non-selectable")};m===!0?(Ot(),setTimeout(h,10)):h()}Me.is.mobile===!0&&(document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=g),u.event={touch:f!==!0&&c!==!0,mouse:f===!0,keyboard:c===!0,startTime:Date.now(),repeatCount:0};let v=()=>{if(u.timer=void 0,u.event===void 0)return;u.event.repeatCount===0&&(u.event.evt=d,c===!0?u.event.keyCode=d.keyCode:u.event.position=xt(d),Me.is.mobile!==!0&&(document.documentElement.style.cursor="pointer",document.body.classList.add("non-selectable"),Ot(),u.styleCleanup=g)),u.event.duration=Date.now()-u.event.startTime,u.event.repeatCount+=1,u.handler(u.event);let m=l<u.event.repeatCount?l:u.event.repeatCount;u.timer=setTimeout(v,i[m])};i[0]===0?v():u.timer=setTimeout(v,i[0])},move(d){u.event!==void 0&&u.timer!==void 0&&Vp(d,u.origin)===!0&&(clearTimeout(u.timer),u.timer=void 0)},end(d){u.event!==void 0&&(u.styleCleanup!==void 0&&u.styleCleanup(!0),d!==void 0&&u.event.repeatCount>0&&qe(d),qt(u,"temp"),u.timer!==void 0&&(clearTimeout(u.timer),u.timer=void 0),u.event=void 0)}};if(e.__qtouchrepeat=u,t.mouse===!0){let d=t.mouseCapture===!0||t.mousecapture===!0?"Capture":"";dt(u,"main",[[e,"mousedown","mouseStart",`passive${d}`]])}if(Me.has.touch===!0&&dt(u,"main",[[e,"touchstart","touchStart",`passive${t.capture===!0?"Capture":""}`],[e,"touchend","noop","passiveCapture"]]),n.length!==0){let d=t.keyCapture===!0||t.keycapture===!0?"Capture":"";dt(u,"main",[[e,"keydown","keyboardStart",`notPassive${d}`]])}},updated(e,{oldValue:t,value:o}){let r=e.__qtouchrepeat;r!==void 0&&t!==o&&(typeof o!="function"&&r.end(),r.handler=o)},beforeUnmount(e){let t=e.__qtouchrepeat;t!==void 0&&(t.timer!==void 0&&clearTimeout(t.timer),qt(t,"main"),qt(t,"temp"),t.styleCleanup!==void 0&&t.styleCleanup(),delete e.__qtouchrepeat)}});var vl={};Nr(vl,{AddressbarColor:()=>gm,AppFullscreen:()=>ym,AppVisibility:()=>xm,BottomSheet:()=>wm,Cookies:()=>Pm,Dark:()=>xi,Dialog:()=>$m,Loading:()=>Vm,LoadingBar:()=>Em,LocalStorage:()=>Wm,Meta:()=>Om,Notify:()=>jm,Platform:()=>qo,Screen:()=>Si,SessionStorage:()=>Gm});function mi(e,t=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(!(t instanceof Element))throw new TypeError("Expected a DOM element");return getComputedStyle(t).getPropertyValue(`--q-${e}`).trim()||null}var il;function Dp(){return Me.is.winphone?"msapplication-navbutton-color":Me.is.safari?"apple-mobile-web-app-status-bar-style":"theme-color"}function zp(e){let t=document.getElementsByTagName("META");for(let o in t)if(t[o].name===e)return t[o]}function Op(e){il===void 0&&(il=Dp());let t=zp(il),o=t===void 0;o&&(t=document.createElement("meta"),t.setAttribute("name",il)),t.setAttribute("content",e),o&&document.head.appendChild(t)}var gm={set:Me.is.mobile===!0&&(Me.is.nativeMobile===!0||Me.is.winphone===!0||Me.is.safari===!0||Me.is.webkit===!0||Me.is.vivaldi===!0)?e=>{let t=e||mi("primary");Me.is.nativeMobile===!0&&window.StatusBar?window.StatusBar.backgroundColorByHexString(t):Op(t)}:Ye,install({$q:e}){e.addressbarColor=this,e.config.addressbarColor&&this.set(e.config.addressbarColor)}};var vi={};function Ip(e){Object.assign(Nt,{request:e,exit:e,toggle:e})}function pm(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement||null}function bm(){let e=Nt.activeEl=Nt.isActive===!1?null:pm();Rs(e===null||e===document.documentElement?document.body:e)}function Np(){Nt.isActive=Nt.isActive===!1,bm()}function hm(e,t){try{let o=e[t]();return o===void 0?Promise.resolve():o}catch(o){return Promise.reject(o)}}var Nt=jt({isActive:!1,activeEl:null},{isCapable:!1,install({$q:e}){e.fullscreen=this}});vi.request=["requestFullscreen","msRequestFullscreen","mozRequestFullScreen","webkitRequestFullscreen"].find(e=>document.documentElement[e]!==void 0),Nt.isCapable=vi.request!==void 0,Nt.isCapable===!1?Ip(()=>Promise.reject("Not capable")):(Object.assign(Nt,{request(e){let t=e||document.documentElement,{activeEl:o}=Nt;return t===o?Promise.resolve():(o!==null&&t.contains(o)===!0?Nt.exit():Promise.resolve()).finally(()=>hm(t,vi.request))},exit(){return Nt.isActive===!0?hm(document,vi.exit):Promise.resolve()},toggle(e){return Nt.isActive===!0?Nt.exit():Nt.request(e)}}),vi.exit=["exitFullscreen","msExitFullscreen","mozCancelFullScreen","webkitExitFullscreen"].find(e=>document[e]),Nt.isActive=!!pm(),Nt.isActive===!0&&bm(),["onfullscreenchange","onmsfullscreenchange","onwebkitfullscreenchange"].forEach(e=>{document[e]=Np}));var ym=Nt;var Sm=jt({appVisible:!0},{install({$q:e}){st(e,"appVisible",()=>this.appVisible)}});{let e,t;if(typeof document.hidden<"u"?(e="hidden",t="visibilitychange"):typeof document.msHidden<"u"?(e="msHidden",t="msvisibilitychange"):typeof document.webkitHidden<"u"&&(e="webkitHidden",t="webkitvisibilitychange"),t&&typeof document[e]<"u"){let o=()=>{Sm.appVisible=!document[e]};document.addEventListener(t,o,!1)}}var xm=Sm;var _m=A({name:"BottomSheetPlugin",props:{...Ce,title:String,message:String,actions:Array,grid:Boolean,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){let{proxy:o}=U(),r=we(e,o.$q),n=T(null);function i(){n.value.show()}function l(){n.value.hide()}function u(m){t("ok",m),l()}function d(){t("hide")}function f(){return e.actions.map(m=>{let h=m.avatar||m.img;return m.label===void 0?a(io,{class:"col-all",dark:r.value}):a("div",{class:["q-bottom-sheet__item q-hoverable q-focusable cursor-pointer relative-position",m.class],style:m.style,tabindex:0,role:"listitem",onClick(){u(m)},onKeyup(C){C.keyCode===13&&u(m)}},[a("div",{class:"q-focus-helper"}),m.icon?a(Re,{name:m.icon,color:m.color}):h?a("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:h}):a("div",{class:"q-bottom-sheet__empty-icon"}),a("div",m.label)])})}function c(){return e.actions.map(m=>{let h=m.avatar||m.img;return m.label===void 0?a(io,{spaced:!0,dark:r.value}):a(No,{class:["q-bottom-sheet__item",m.classes],style:m.style,tabindex:0,clickable:!0,dark:r.value,onClick(){u(m)}},()=>[a(oo,{avatar:!0},()=>m.icon?a(Re,{name:m.icon,color:m.color}):h?a("img",{class:m.avatar?"q-bottom-sheet__avatar":"",src:h}):null),a(oo,()=>m.label)])})}function g(){let m=[];return e.title&&m.push(a(bo,{class:"q-dialog__title"},()=>e.title)),e.message&&m.push(a(bo,{class:"q-dialog__message"},()=>e.message)),m.push(e.grid===!0?a("div",{class:"row items-stretch justify-start",role:"list"},f()):a("div",{role:"list"},c())),m}function v(){return[a(hr,{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},g)]}return Object.assign(o,{show:i,hide:l}),()=>a(Io,{ref:n,position:"bottom",onHide:d},v)}});function Cm(e,t){for(let o in t)o!=="spinner"&&Object(t[o])===t[o]?(e[o]=Object(e[o])!==e[o]?{}:{...e[o]},Cm(e[o],t[o])):e[o]=t[o]}function al(e,t,o){return r=>{let n,i,l=t===!0&&r.component!==void 0;if(l===!0){let{component:S,componentProps:b}=r;n=typeof S=="string"?o.component(S):S,i=b||{}}else{let{class:S,style:b,...p}=r;n=e,i=p,S!==void 0&&(p.cardClass=S),b!==void 0&&(p.cardStyle=b)}let u,d=!1,f=T(null),c=Ao(!1,"dialog"),g=S=>{if(f.value!==null&&f.value[S]!==void 0){f.value[S]();return}let b=u.$.subTree;if(b&&b.component){if(b.component.proxy&&b.component.proxy[S]){b.component.proxy[S]();return}if(b.component.subTree&&b.component.subTree.component&&b.component.subTree.component.proxy&&b.component.subTree.component.proxy[S]){b.component.subTree.component.proxy[S]();return}}console.error("[Quasar] Incorrectly defined Dialog component")},v=[],m=[],h={onOk(S){return v.push(S),h},onCancel(S){return m.push(S),h},onDismiss(S){return v.push(S),m.push(S),h},hide(){return g("hide"),h},update(S){if(u!==null){if(l===!0)Object.assign(i,S);else{let{class:b,style:p,...k}=S;b!==void 0&&(k.cardClass=b),p!==void 0&&(k.cardStyle=p),Cm(i,k)}u.$forceUpdate()}return h}},C=S=>{d=!0,v.forEach(b=>{b(S)})},y=()=>{q.unmount(c),ir(c),q=null,u=null,d!==!0&&m.forEach(S=>{S()})},q=on({name:"QGlobalDialog",setup:()=>()=>a(n,{...i,ref:f,onOk:C,onHide:y,onVnodeMounted(...S){typeof i.onVnodeMounted=="function"&&i.onVnodeMounted(...S),Ae(()=>g("show"))}})},o);return u=q.mount(c),h}}var wm={install({$q:e,parentApp:t}){e.bottomSheet=al(_m,!1,t),this.__installed!==!0&&(this.create=e.bottomSheet)}};function km(e){return encodeURIComponent(e)}function qm(e){return decodeURIComponent(e)}function Hp(e){return km(e===Object(e)?JSON.stringify(e):""+e)}function Qp(e){if(e==="")return e;e.indexOf('"')===0&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")),e=qm(e.replace(/\+/g," "));try{let t=JSON.parse(e);(t===Object(t)||Array.isArray(t)===!0)&&(e=t)}catch{}return e}function Tm(e){let t=new Date;return t.setMilliseconds(t.getMilliseconds()+e),t.toUTCString()}function jp(e){let t=0,o=e.match(/(\d+)d/),r=e.match(/(\d+)h/),n=e.match(/(\d+)m/),i=e.match(/(\d+)s/);return o&&(t+=o[1]*864e5),r&&(t+=r[1]*36e5),n&&(t+=n[1]*6e4),i&&(t+=i[1]*1e3),t===0?e:Tm(t)}function Mm(e,t,o={},r){let n,i;o.expires!==void 0&&(Object.prototype.toString.call(o.expires)==="[object Date]"?n=o.expires.toUTCString():typeof o.expires=="string"?n=jp(o.expires):(i=parseFloat(o.expires),n=isNaN(i)===!1?Tm(i*864e5):o.expires));let l=`${km(e)}=${Hp(t)}`,u=[l,n!==void 0?"; Expires="+n:"",o.path?"; Path="+o.path:"",o.domain?"; Domain="+o.domain:"",o.sameSite?"; SameSite="+o.sameSite:"",o.httpOnly?"; HttpOnly":"",o.secure?"; Secure":"",o.other?"; "+o.other:""].join("");if(r){r.req.qCookies?r.req.qCookies.push(u):r.req.qCookies=[u],r.res.setHeader("Set-Cookie",r.req.qCookies);let d=r.req.headers.cookie||"";if(n!==void 0&&i<0){let f=ll(e,r);f!==void 0&&(d=d.replace(`${e}=${f}; `,"").replace(`; ${e}=${f}`,"").replace(`${e}=${f}`,""))}else d=d?`${l}; ${d}`:u;r.req.headers.cookie=d}else document.cookie=u}function ll(e,t){let o=t?t.req.headers:document,r=o.cookie?o.cookie.split("; "):[],n=r.length,i=e?null:{},l=0,u,d,f;for(;l<n;l++)if(u=r[l].split("="),d=qm(u.shift()),f=u.join("="),!e)i[d]=f;else if(e===d){i=Qp(f);break}return i}function Up(e,t,o){Mm(e,"",{expires:-1,...t},o)}function Kp(e,t){return ll(e,t)!==null}function Wp(e){return{get:t=>ll(t,e),set:(t,o,r)=>Mm(t,o,r,e),has:t=>Kp(t,e),remove:(t,o)=>Up(t,o,e),getAll:()=>ll(null,e)}}var Rm={install({$q:e,ssrContext:t}){e.cookies=this}};Object.assign(Rm,Wp());var Pm=Rm;var Am=A({name:"DialogPlugin",props:{...Ce,title:String,message:String,prompt:Object,options:Object,progress:[Boolean,Object],html:Boolean,ok:{type:[String,Object,Boolean],default:!0},cancel:[String,Object,Boolean],focus:{type:String,default:"ok",validator:e=>["ok","cancel","none"].includes(e)},stackButtons:Boolean,color:String,cardClass:[String,Array,Object],cardStyle:[String,Array,Object]},emits:["ok","hide"],setup(e,{emit:t}){let{proxy:o}=U(),{$q:r}=o,n=we(e,r),i=T(null),l=T(e.prompt!==void 0?e.prompt.model:e.options!==void 0?e.options.model:void 0),u=s(()=>"q-dialog-plugin"+(n.value===!0?" q-dialog-plugin--dark q-dark":"")+(e.progress!==!1?" q-dialog-plugin--progress":"")),d=s(()=>e.color||(n.value===!0?"amber":"primary")),f=s(()=>e.progress===!1?null:ct(e.progress)===!0?{component:e.progress.spinner||Ct,props:{color:e.progress.color||d.value}}:{component:Ct,props:{color:d.value}}),c=s(()=>e.prompt!==void 0||e.options!==void 0),g=s(()=>{if(c.value!==!0)return{};let{model:R,isValid:N,items:X,...M}=e.prompt!==void 0?e.prompt:e.options;return M}),v=s(()=>ct(e.ok)===!0||e.ok===!0?r.lang.label.ok:e.ok),m=s(()=>ct(e.cancel)===!0||e.cancel===!0?r.lang.label.cancel:e.cancel),h=s(()=>e.prompt!==void 0?e.prompt.isValid!==void 0&&e.prompt.isValid(l.value)!==!0:e.options!==void 0?e.options.isValid!==void 0&&e.options.isValid(l.value)!==!0:!1),C=s(()=>({color:d.value,label:v.value,ripple:!1,disable:h.value,...ct(e.ok)===!0?e.ok:{flat:!0},"data-autofocus":e.focus==="ok"&&c.value!==!0||void 0,onClick:b})),y=s(()=>({color:d.value,label:m.value,ripple:!1,...ct(e.cancel)===!0?e.cancel:{flat:!0},"data-autofocus":e.focus==="cancel"&&c.value!==!0||void 0,onClick:p}));j(()=>e.prompt&&e.prompt.model,$),j(()=>e.options&&e.options.model,$);function q(){i.value.show()}function S(){i.value.hide()}function b(){t("ok",so(l.value)),S()}function p(){S()}function k(){t("hide")}function $(R){l.value=R}function F(R){h.value!==!0&&e.prompt.type!=="textarea"&&Tt(R,13)===!0&&b()}function D(R,N){return e.html===!0?a(bo,{class:R,innerHTML:N}):a(bo,{class:R},()=>N)}function L(){return[a(Br,{color:d.value,dense:!0,autofocus:!0,dark:n.value,...g.value,modelValue:l.value,"onUpdate:modelValue":$,onKeyup:F})]}function B(){return[a(Da,{color:d.value,options:e.options.items,dark:n.value,...g.value,modelValue:l.value,"onUpdate:modelValue":$})]}function V(){let R=[];return e.cancel&&R.push(a(Oe,y.value)),e.ok&&R.push(a(Oe,C.value)),a(Ui,{class:e.stackButtons===!0?"items-end":"",vertical:e.stackButtons,align:"right"},()=>R)}function E(){let R=[];return e.title&&R.push(D("q-dialog__title",e.title)),e.progress!==!1&&R.push(a(bo,{class:"q-dialog__progress"},()=>a(f.value.component,f.value.props))),e.message&&R.push(D("q-dialog__message",e.message)),e.prompt!==void 0?R.push(a(bo,{class:"scroll q-dialog-plugin__form"},L)):e.options!==void 0&&R.push(a(io,{dark:n.value}),a(bo,{class:"scroll q-dialog-plugin__form"},B),a(io,{dark:n.value})),(e.ok||e.cancel)&&R.push(V()),R}function _(){return[a(hr,{class:[u.value,e.cardClass],style:e.cardStyle,dark:n.value},E)]}return Object.assign(o,{show:q,hide:S}),()=>a(Io,{ref:i,onHide:k},_)}});var $m={install({$q:e,parentApp:t}){e.dialog=al(Am,!0,t),this.__installed!==!0&&(this.create=e.dialog)}};var ul=T(null),mu=jt({isActive:!1},{start:Ye,stop:Ye,increment:Ye,setDefaults:Ye,install({$q:e,parentApp:t}){if(e.loadingBar=this,this.__installed===!0){e.config.loadingBar!==void 0&&this.setDefaults(e.config.loadingBar);return}let o=T(e.config.loadingBar!==void 0?{...e.config.loadingBar}:{});function r(){mu.isActive=!0}function n(){mu.isActive=!1}let i=Ao("q-loading-bar");on({name:"LoadingBar",devtools:{hide:!0},setup:()=>()=>a(Ai,{...o.value,onStart:r,onStop:n,ref:ul})},t).mount(i),Object.assign(this,{start(l){ul.value.start(l)},stop(){ul.value.stop()},increment(){ul.value.increment.apply(null,arguments)},setDefaults(l){ct(l)===!0&&Object.assign(o.value,l)}})}}),Em=mu;var Or,vu,Bm=0,zn=null,Dt={},On={},Fm={group:"__default_quasar_group__",delay:0,message:!1,html:!1,spinnerSize:80,spinnerColor:"",messageColor:"",backgroundColor:"",boxClass:"",spinner:Ct,customClass:""},Lm={...Fm};function Yp(e){if(e&&e.group!==void 0&&On[e.group]!==void 0)return Object.assign(On[e.group],e);let t=ct(e)===!0&&e.ignoreDefaults===!0?{...Fm,...e}:{...Lm,...e};return On[t.group]=t,t}var xo=jt({isActive:!1},{show(e){Dt=Yp(e);let{group:t}=Dt;return xo.isActive=!0,Or!==void 0?(Dt.uid=Bm,vu.$forceUpdate()):(Dt.uid=++Bm,zn!==null&&clearTimeout(zn),zn=setTimeout(()=>{zn=null;let o=Ao("q-loading");Or=on({name:"QLoading",setup(){je(()=>{ui(!0)});function r(){xo.isActive!==!0&&Or!==void 0&&(ui(!1),Or.unmount(o),ir(o),Or=void 0,vu=void 0)}function n(){if(xo.isActive!==!0)return null;let i=[a(Dt.spinner,{class:"q-loading__spinner",color:Dt.spinnerColor,size:Dt.spinnerSize})];return Dt.message&&i.push(a("div",{class:"q-loading__message"+(Dt.messageColor?` text-${Dt.messageColor}`:""),[Dt.html===!0?"innerHTML":"textContent"]:Dt.message})),a("div",{class:"q-loading fullscreen flex flex-center z-max "+Dt.customClass.trim(),key:Dt.uid},[a("div",{class:"q-loading__backdrop"+(Dt.backgroundColor?` bg-${Dt.backgroundColor}`:"")}),a("div",{class:"q-loading__box column items-center "+Dt.boxClass},i)])}return()=>a(lt,{name:"q-transition--fade",appear:!0,onAfterLeave:r},n)}},xo.__parentApp),vu=Or.mount(o)},Dt.delay)),o=>{if(o===void 0||Object(o)!==o){xo.hide(t);return}xo.show({...o,group:t})}},hide(e){if(xo.isActive===!0){if(e===void 0)On={};else{if(On[e]===void 0)return;{delete On[e];let t=Object.keys(On);if(t.length!==0){let o=t[t.length-1];xo.show({group:o});return}}}zn!==null&&(clearTimeout(zn),zn=null),xo.isActive=!1}},setDefaults(e){ct(e)===!0&&Object.assign(Lm,e)},install({$q:e,parentApp:t}){e.loading=this,xo.__parentApp=t,e.config.loading!==void 0&&this.setDefaults(e.config.loading)}}),Vm=xo;var sl=null,gu,_o=[];function Xp(e){e.title&&(e.title=e.titleTemplate?e.titleTemplate(e.title):e.title,delete e.titleTemplate),[["meta","content"],["link","href"]].forEach(t=>{let o=e[t[0]],r=t[1];for(let n in o){let i=o[n];i.template&&(Object.keys(i).length===1?delete o[n]:(i[r]=i.template(i[r]||""),delete i.template))}})}function Gp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!0;for(let o in e)if(e[o]!==t[o])return!0}function Dm(e){return["class","style"].includes(e)===!1}function zm(e){return["lang","dir"].includes(e)===!1}function Zp(e,t){let o={},r={};return e===void 0?{add:t,remove:r}:(e.title!==t.title&&(o.title=t.title),["meta","link","script","htmlAttr","bodyAttr"].forEach(n=>{let i=e[n],l=t[n];if(r[n]=[],i==null){o[n]=l;return}o[n]={};for(let u in i)l.hasOwnProperty(u)===!1&&r[n].push(u);for(let u in l)i.hasOwnProperty(u)===!1?o[n][u]=l[u]:Gp(i[u],l[u])===!0&&(r[n].push(u),o[n][u]=l[u])}),{add:o,remove:r})}function Jp({add:e,remove:t}){e.title&&(document.title=e.title),Object.keys(t).length!==0&&(["meta","link","script"].forEach(o=>{t[o].forEach(r=>{document.head.querySelector(`${o}[data-qmeta="${r}"]`).remove()})}),t.htmlAttr.filter(zm).forEach(o=>{document.documentElement.removeAttribute(o)}),t.bodyAttr.filter(Dm).forEach(o=>{document.body.removeAttribute(o)})),["meta","link","script"].forEach(o=>{let r=e[o];for(let n in r){let i=document.createElement(o);for(let l in r[n])l!=="innerHTML"&&i.setAttribute(l,r[n][l]);i.setAttribute("data-qmeta",n),o==="script"&&(i.innerHTML=r[n].innerHTML||""),document.head.appendChild(i)}}),Object.keys(e.htmlAttr).filter(zm).forEach(o=>{document.documentElement.setAttribute(o,e.htmlAttr[o]||"")}),Object.keys(e.bodyAttr).filter(Dm).forEach(o=>{document.body.setAttribute(o,e.bodyAttr[o]||"")})}function e0(){sl=null;let e={title:"",titleTemplate:null,meta:{},link:{},script:{},htmlAttr:{},bodyAttr:{}};for(let t=0;t<_o.length;t++){let{active:o,val:r}=_o[t];o===!0&&vn(!0,e,r)}Xp(e),Jp(Zp(gu,e)),gu=e}function ao(){sl!==null&&clearTimeout(sl),sl=setTimeout(e0,50)}var Om={install(e){this.__installed!==!0&&kt.value===!0&&(gu=window.__Q_META__,document.getElementById("qmeta-init").remove())}};var t0=0,cl={},dl={},Co={},Nm={},o0=/^\s*$/,Hm=[],n0=[void 0,null,!0,!1,""],hu=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right","center"],r0=["top-left","top-right","bottom-left","bottom-right"],Ir={positive:{icon:e=>e.iconSet.type.positive,color:"positive"},negative:{icon:e=>e.iconSet.type.negative,color:"negative"},warning:{icon:e=>e.iconSet.type.warning,color:"warning",textColor:"dark"},info:{icon:e=>e.iconSet.type.info,color:"info"},ongoing:{group:!1,timeout:0,spinner:!0,color:"grey-8"}};function Qm(e,t,o){if(!e)return gi("parameter required");let r,n={textColor:"white"};if(e.ignoreDefaults!==!0&&Object.assign(n,cl),ct(e)===!1&&(n.type&&Object.assign(n,Ir[n.type]),e={message:e}),Object.assign(n,Ir[e.type||n.type],e),typeof n.icon=="function"&&(n.icon=n.icon(t)),n.spinner?(n.spinner===!0&&(n.spinner=Ct),n.spinner=Hr(n.spinner)):n.spinner=!1,n.meta={hasMedia:!!(n.spinner!==!1||n.icon||n.avatar),hasText:Im(n.message)||Im(n.caption)},n.position){if(hu.includes(n.position)===!1)return gi("wrong position",e)}else n.position="bottom";if(n0.includes(n.timeout)===!0)n.timeout=5e3;else{let d=Number(n.timeout);if(isNaN(d)||d<0)return gi("wrong timeout",e);n.timeout=Number.isFinite(d)?d:0}n.timeout===0?n.progress=!1:n.progress===!0&&(n.meta.progressClass="q-notification__progress"+(n.progressClass?` ${n.progressClass}`:""),n.meta.progressStyle={animationDuration:`${n.timeout+1e3}ms`});let i=(Array.isArray(e.actions)===!0?e.actions:[]).concat(e.ignoreDefaults!==!0&&Array.isArray(cl.actions)===!0?cl.actions:[]).concat(Ir[e.type]!==void 0&&Array.isArray(Ir[e.type].actions)===!0?Ir[e.type].actions:[]),{closeBtn:l}=n;if(l&&i.push({label:typeof l=="string"?l:t.lang.label.close}),n.actions=i.map(({handler:d,noDismiss:f,...c})=>({flat:!0,...c,onClick:typeof d=="function"?()=>{d(),f!==!0&&u()}:()=>{u()}})),n.multiLine===void 0&&(n.multiLine=n.actions.length>1),Object.assign(n.meta,{class:`q-notification row items-stretch q-notification--${n.multiLine===!0?"multi-line":"standard"}`+(n.color!==void 0?` bg-${n.color}`:"")+(n.textColor!==void 0?` text-${n.textColor}`:"")+(n.classes!==void 0?` ${n.classes}`:""),wrapperClass:"q-notification__wrapper col relative-position border-radius-inherit "+(n.multiLine===!0?"column no-wrap justify-center":"row items-center"),contentClass:"q-notification__content row items-center"+(n.multiLine===!0?"":" col"),leftClass:n.meta.hasText===!0?"additional":"single",attrs:{role:"alert",...n.attrs}}),n.group===!1?(n.group=void 0,n.meta.group=void 0):((n.group===void 0||n.group===!0)&&(n.group=[n.message,n.caption,n.multiline].concat(n.actions.map(d=>`${d.label}*${d.icon}`)).join("|")),n.meta.group=n.group+"|"+n.position),n.actions.length===0?n.actions=void 0:n.meta.actionsClass="q-notification__actions row items-center "+(n.multiLine===!0?"justify-end":"col-auto")+(n.meta.hasMedia===!0?" q-notification__actions--with-media":""),o!==void 0){o.notif.meta.timer&&(clearTimeout(o.notif.meta.timer),o.notif.meta.timer=void 0),n.meta.uid=o.notif.meta.uid;let d=Co[n.position].value.indexOf(o.notif);Co[n.position].value[d]=n}else{let d=dl[n.meta.group];if(d===void 0){if(n.meta.uid=t0++,n.meta.badge=1,["left","right","center"].indexOf(n.position)!==-1)Co[n.position].value.splice(Math.floor(Co[n.position].value.length/2),0,n);else{let f=n.position.indexOf("top")!==-1?"unshift":"push";Co[n.position].value[f](n)}n.group!==void 0&&(dl[n.meta.group]=n)}else{if(d.meta.timer&&(clearTimeout(d.meta.timer),d.meta.timer=void 0),n.badgePosition!==void 0){if(r0.includes(n.badgePosition)===!1)return gi("wrong badgePosition",e)}else n.badgePosition=`top-${n.position.indexOf("left")!==-1?"right":"left"}`;n.meta.uid=d.meta.uid,n.meta.badge=d.meta.badge+1,n.meta.badgeClass=`q-notification__badge q-notification__badge--${n.badgePosition}`+(n.badgeColor!==void 0?` bg-${n.badgeColor}`:"")+(n.badgeTextColor!==void 0?` text-${n.badgeTextColor}`:"")+(n.badgeClass?` ${n.badgeClass}`:"");let f=Co[n.position].value.indexOf(d);Co[n.position].value[f]=dl[n.meta.group]=n}}let u=()=>{i0(n),r=void 0};if(n.timeout>0&&(n.meta.timer=setTimeout(()=>{n.meta.timer=void 0,u()},n.timeout+1e3)),n.group!==void 0)return d=>{d!==void 0?gi("trying to update a grouped one which is forbidden",e):u()};if(r={dismiss:u,config:e,notif:n},o!==void 0){Object.assign(o,r);return}return d=>{if(r!==void 0)if(d===void 0)r.dismiss();else{let f=Object.assign({},r.config,d,{group:!1,position:n.position});Qm(f,t,r)}}}function i0(e){e.meta.timer&&(clearTimeout(e.meta.timer),e.meta.timer=void 0);let t=Co[e.position].value.indexOf(e);if(t!==-1){e.group!==void 0&&delete dl[e.meta.group];let o=Hm[""+e.meta.uid];if(o){let{width:r,height:n}=getComputedStyle(o);o.style.left=`${o.offsetLeft}px`,o.style.width=r,o.style.height=n}Co[e.position].value.splice(t,1),typeof e.onDismiss=="function"&&e.onDismiss()}}function Im(e){return e!=null&&o0.test(e)!==!0}function gi(e,t){return console.error(`Notify: ${e}`,t),!1}function a0(){return A({name:"QNotifications",devtools:{hide:!0},setup(){return()=>a("div",{class:"q-notifications"},hu.map(e=>a($u,{key:e,class:Nm[e],tag:"div",name:`q-notification--${e}`},()=>Co[e].value.map(t=>{let o=t.meta,r=[];if(o.hasMedia===!0&&(t.spinner!==!1?r.push(a(t.spinner,{class:"q-notification__spinner q-notification__spinner--"+o.leftClass,color:t.spinnerColor,size:t.spinnerSize})):t.icon?r.push(a(Re,{class:"q-notification__icon q-notification__icon--"+o.leftClass,name:t.icon,color:t.iconColor,size:t.iconSize,role:"img"})):t.avatar&&r.push(a(Ei,{class:"q-notification__avatar q-notification__avatar--"+o.leftClass},()=>a("img",{src:t.avatar,"aria-hidden":"true"})))),o.hasText===!0){let i,l={class:"q-notification__message col"};if(t.html===!0)l.innerHTML=t.caption?`<div>${t.message}</div><div class="q-notification__caption">${t.caption}</div>`:t.message;else{let u=[t.message];i=t.caption?[a("div",u),a("div",{class:"q-notification__caption"},[t.caption])]:u}r.push(a("div",l,i))}let n=[a("div",{class:o.contentClass},r)];return t.progress===!0&&n.push(a("div",{key:`${o.uid}|p|${o.badge}`,class:o.progressClass,style:o.progressStyle})),t.actions!==void 0&&n.push(a("div",{class:o.actionsClass},t.actions.map(i=>a(Oe,i)))),o.badge>1&&n.push(a("div",{key:`${o.uid}|${o.badge}`,class:t.meta.badgeClass,style:t.badgeStyle},[o.badge])),a("div",{ref:i=>{Hm[""+o.uid]=i},key:o.uid,class:o.class,...o.attrs},[a("div",{class:o.wrapperClass},n)])}))))}})}var jm={setDefaults(e){ct(e)===!0&&Object.assign(cl,e)},registerType(e,t){ct(t)===!0&&(Ir[e]=t)},install({$q:e,parentApp:t}){if(e.notify=this.create=o=>Qm(o,e),e.notify.setDefaults=this.setDefaults,e.notify.registerType=this.registerType,e.config.notify!==void 0&&this.setDefaults(e.config.notify),this.__installed!==!0){hu.forEach(r=>{Co[r]=T([]);let n=["left","center","right"].includes(r)===!0?"center":r.indexOf("top")!==-1?"top":"bottom",i=r.indexOf("left")!==-1?"start":r.indexOf("right")!==-1?"end":"center",l=["left","right"].includes(r)?`items-${r==="left"?"start":"end"} justify-center`:r==="center"?"flex-center":`items-${i}`;Nm[r]=`q-notifications__list q-notifications__list--${n} fixed column no-wrap ${l}`});let o=Ao("q-notify");on(a0(),t).mount(o)}}};function l0(e){return Yo(e)===!0?"__q_date|"+e.toUTCString():wl(e)===!0?"__q_expr|"+e.source:typeof e=="number"?"__q_numb|"+e:typeof e=="boolean"?"__q_bool|"+(e?"1":"0"):typeof e=="string"?"__q_strn|"+e:typeof e=="function"?"__q_strn|"+e.toString():e===Object(e)?"__q_objt|"+JSON.stringify(e):e}function u0(e){if(e.length<9)return e;let o=e.substring(0,8),r=e.substring(9);switch(o){case"__q_date":return new Date(r);case"__q_expr":return new RegExp(r);case"__q_numb":return Number(r);case"__q_bool":return r==="1";case"__q_strn":return""+r;case"__q_objt":return JSON.parse(r);default:return e}}function fl(){let e=()=>null;return{has:()=>!1,getLength:()=>0,getItem:e,getIndex:e,getKey:e,getAll:()=>{},getAllKeys:()=>[],set:Ye,remove:Ye,clear:Ye,isEmpty:()=>!0}}function ml(e){let t=window[e+"Storage"],o=r=>{let n=t.getItem(r);return n?u0(n):null};return{has:r=>t.getItem(r)!==null,getLength:()=>t.length,getItem:o,getIndex:r=>r<t.length?o(t.key(r)):null,getKey:r=>r<t.length?t.key(r):null,getAll:()=>{let r,n={},i=t.length;for(let l=0;l<i;l++)r=t.key(l),n[r]=o(r);return n},getAllKeys:()=>{let r=[],n=t.length;for(let i=0;i<n;i++)r.push(t.key(i));return r},set:(r,n)=>{t.setItem(r,l0(n))},remove:r=>{t.removeItem(r)},clear:()=>{t.clear()},isEmpty:()=>t.length===0}}var Um=Me.has.webStorage===!1?fl():ml("local"),Km={install({$q:e}){e.localStorage=Um}};Object.assign(Km,Um);var Wm=Km;var Ym=Me.has.webStorage===!1?fl():ml("session"),Xm={install({$q:e}){e.sessionStorage=Ym}};Object.assign(Xm,Ym);var Gm=Xm;var bu={};Nr(bu,{EventBus:()=>hi,clone:()=>Jo,colors:()=>ec,copyToClipboard:()=>Zm,createMetaMixin:()=>Jm,createUploaderComponent:()=>Ja,date:()=>vc,debounce:()=>Xt,dom:()=>_s,event:()=>Du,exportFile:()=>tv,extend:()=>vn,format:()=>ns,frameDebounce:()=>Lr,getCssVar:()=>mi,is:()=>Zu,morph:()=>fi,noop:()=>Ye,openURL:()=>nv,patterns:()=>Js,runSequentialPromises:()=>pu,scroll:()=>$s,setCssVar:()=>jr,throttle:()=>Gn,uid:()=>Xo});function s0(e){let t=document.createElement("textarea");t.value=e,t.contentEditable="true",t.style.position="fixed";let o=()=>{};cr(o),document.body.appendChild(t),t.focus(),t.select();let r=document.execCommand("copy");return t.remove(),Rn(o),r}function Zm(e){return navigator.clipboard!==void 0?navigator.clipboard.writeText(e):new Promise((t,o)=>{let r=s0(e);r?t(!0):o(r)})}var Jm=e=>{let t={activated(){this.__qMeta.active=!0,ao()},deactivated(){this.__qMeta.active=!1,ao()},unmounted(){_o.splice(_o.indexOf(this.__qMeta),1),ao(),this.__qMeta=void 0}};return typeof e=="function"?Object.assign(t,{computed:{__qMetaOptions(){return e.call(this)||{}}},watch:{__qMetaOptions(o){this.__qMeta.val=o,this.__qMeta.active===!0&&ao()}},created(){this.__qMeta={active:!0,val:this.__qMetaOptions},_o.push(this.__qMeta),ao()}}):t.created=function(){this.__qMeta={active:!0,val:e},_o.push(this.__qMeta),ao()},t};var hi=class{constructor(){this.__stack={}}on(t,o,r){return(this.__stack[t]||(this.__stack[t]=[])).push({fn:o,ctx:r}),this}once(t,o,r){let n=(...i)=>{this.off(t,n),o.apply(r,i)};return n.__callback=o,this.on(t,n,r)}emit(t){let o=this.__stack[t];if(o!==void 0){let r=[].slice.call(arguments,1);o.forEach(n=>{n.fn.apply(n.ctx,r)})}return this}off(t,o){let r=this.__stack[t];if(r===void 0)return this;if(o===void 0)return delete this.__stack[t],this;let n=r.filter(i=>i.fn!==o&&i.fn.__callback!==o);return n.length!==0?this.__stack[t]=n:delete this.__stack[t],this}};function ev(e){setTimeout(()=>{window.URL.revokeObjectURL(e.href)},1e4),e.remove()}function tv(e,t,o={}){let{mimeType:r,byteOrderMark:n,encoding:i}=typeof o=="string"?{mimeType:o}:o,l=i!==void 0?new TextEncoder(i).encode([t]):t,u=n!==void 0?[n,l]:[l],d=new Blob(u,{type:r||"application/octet-stream"}),f=document.createElement("a");f.href=window.URL.createObjectURL(d),f.setAttribute("download",e),typeof f.download>"u"&&f.setAttribute("target","_blank"),f.classList.add("hidden"),f.style.position="fixed",document.body.appendChild(f);try{return f.click(),ev(f),!0}catch(c){return ev(f),c}}function c0(e){let t=Object.assign({noopener:!0},e),o=[];for(let r in t){let n=t[r];n===!0?o.push(r):(co(n)||typeof n=="string"&&n!=="")&&o.push(r+"="+n)}return o.join(",")}function ov(e,t,o){let r=window.open;if(qo.is.cordova===!0){if(cordova!==void 0&&cordova.InAppBrowser!==void 0&&cordova.InAppBrowser.open!==void 0)r=cordova.InAppBrowser.open;else if(navigator!==void 0&&navigator.app!==void 0)return navigator.app.loadUrl(e,{openExternal:!0})}let n=r(e,"_blank",c0(o));if(n)return qo.is.desktop&&n.focus(),n;t&&t()}var nv=(e,t,o)=>{if(qo.is.ios===!0&&window.SafariViewController!==void 0){window.SafariViewController.isAvailable(r=>{r?window.SafariViewController.show({url:e},Ye,t):ov(e,t,o)});return}return ov(e,t,o)};function d0(e){let t=Array.isArray(e);if(t===!0){let n=e.length;return{isList:t,totalJobs:n,resultAggregator:Array(n).fill(null)}}let o=Object.keys(e),r={};return o.forEach(n=>{r[n]=null}),{isList:t,totalJobs:o.length,resultAggregator:r,resultKeys:o}}function pu(e,{threadsNumber:t=1,abortOnFail:o=!0}={}){let r=-1,n=!1,{isList:i,totalJobs:l,resultAggregator:u,resultKeys:d}=d0(e),f=()=>new Promise((g,v)=>{function m(){let h=++r;if(n===!0||h>=l){g();return}let C=i===!0?h:d[h];e[C](u).then(y=>{if(n===!0){g();return}u[C]={key:C,status:"fulfilled",value:y},setTimeout(m)}).catch(y=>{if(n===!0){g();return}let q={key:C,status:"rejected",reason:y};if(u[C]=q,o===!0){n=!0,v({...q,resultAggregator:u});return}setTimeout(m)})}m()}),c=Array(t).fill(f());return Promise.all(c).then(()=>u)}var xu={};Nr(xu,{useDialogPluginComponent:()=>iv,useFormChild:()=>wa,useMeta:()=>av,useQuasar:()=>Su});function yu(){let{emit:e,proxy:t}=U(),o=T(null);function r(){o.value.show()}function n(){o.value.hide()}function i(u){e("ok",u),n()}function l(){e("hide")}return Object.assign(t,{show:r,hide:n}),{dialogRef:o,onDialogHide:l,onDialogOK:i,onDialogCancel:n}}var rv=["ok","hide"];yu.emits=rv;yu.emitsObject=Za(rv);var iv=yu;function av(e){{let t={active:!0};if(typeof e=="function"){let o=s(e);t.val=o.value,j(o,r=>{t.val=r,t.active===!0&&ao()})}else t.val=e;_o.push(t),ao(),Ht(()=>{t.active=!0,ao()}),Bt(()=>{t.active=!1,ao()}),Hn(()=>{_o.splice(_o.indexOf(t),1),ao()})}}function Su(){return ht(Ci)}window.Vue===void 0&&console.error("[ Quasar ] Vue is required to run. Please add a script tag for it before loading Quasar.");window.Quasar={version:"2.14.7",install(e,t){ts(e,{components:el,directives:rl,plugins:vl,...t})},lang:xn,iconSet:_i,...el,...rl,...vl,...xu,...bu};})();
|