quasar
Version:
Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
7 lines (6 loc) • 473 kB
JavaScript
/*!
* Quasar Framework v2.16.9
* (c) 2015-present Razvan Stoenescu
* Released under the MIT License.
*/
var Sh=Object.defineProperty;var vd=(e,t)=>{for(var o in t)Sh(e,o,{get:t[o],enumerable:!0})};import{createApp as Nh}from"vue";import"vue";function ft(e,t,o,n){return Object.defineProperty(e,t,{get:o,set:n,enumerable:!0}),e}function il(e,t){for(let o in t)ft(e,o,t[o]);return e}var It={value:!0};function _h(e,t){let o=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:o[5]||o[3]||o[1]||"",version:o[4]||o[2]||"0",platform:t[0]||""}}function wh(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}function Ch(e){let t=e.toLowerCase(),o=wh(t),n=_h(t,o),r={};n.browser&&(r[n.browser]=!0,r.version=n.version,r.versionNumber=parseInt(n.version,10)),n.platform&&(r[n.platform]=!0);let i=r.android||r.ios||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r["windows phone"];return i===!0||t.indexOf("mobile")!==-1?r.mobile=!0:r.desktop=!0,r["windows phone"]&&(r.winphone=!0,delete r["windows phone"]),r.edga||r.edgios||r.edg?(r.edge=!0,n.browser="edge"):r.crios?(r.chrome=!0,n.browser="chrome"):r.fxios&&(r.firefox=!0,n.browser="firefox"),(r.ipod||r.ipad||r.iphone)&&(r.ios=!0),r.vivaldi&&(n.browser="vivaldi",r.vivaldi=!0),(r.chrome||r.opr||r.safari||r.vivaldi||r.mobile===!0&&r.ios!==!0&&i!==!0)&&(r.webkit=!0),r.opr&&(n.browser="opera",r.opera=!0),r.safari&&(r.blackberry||r.bb?(n.browser="blackberry",r.blackberry=!0):r.playbook?(n.browser="playbook",r.playbook=!0):r.android?(n.browser="android",r.android=!0):r.kindle?(n.browser="kindle",r.kindle=!0):r.silk&&(n.browser="silk",r.silk=!0)),r.name=n.browser,r.platform=n.platform,r}var kh={has:{touch:!1,webStorage:!1},within:{iframe:!1}},rt=kh,gd={install(e){let{$q:t}=e;t.platform=this.parseSSR(e.ssrContext)}};gd.parseSSR=e=>{let t=e.req.headers["user-agent"]||e.req.headers["User-Agent"]||"";return{...rt,userAgent:t,is:Ch(t)}};var pn=gd;import{defineComponent as qh,markRaw as pd}from"vue";function M(e){return pd(qh(e))}function wt(e){return pd(e)}var Ut=(e,t)=>(Object.assign(t,e),t);var Ge={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{let e=Object.defineProperty({},"passive",{get(){Object.assign(Ge,{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 je(){}function Th(e){return e.button===0}function Mh(e){return e.button===1}function Ph(e){return e.button===2}function So(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 ws(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 Rh=40,Eh=800;function Ah(e){let t=e.deltaX,o=e.deltaY;if((t||o)&&e.deltaMode){let n=e.deltaMode===1?Rh:Eh;t*=n,o*=n}return e.shiftKey&&!t&&([o,t]=[t,o]),{x:t,y:o}}function nt(e){e.stopPropagation()}function pt(e){e.cancelable!==!1&&e.preventDefault()}function qe(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function $h(e,t){if(e===void 0||t===!0&&e.__dragPrevented===!0)return;let o=t===!0?n=>{n.__dragPrevented=!0,n.addEventListener("dragstart",pt,Ge.notPassiveCapture)}:n=>{delete n.__dragPrevented,n.removeEventListener("dragstart",pt,Ge.notPassiveCapture)};e.querySelectorAll("a, img").forEach(o)}function Ir(e,t,o){let n=`__q_${t}_evt`;e[n]=e[n]!==void 0?e[n].concat(o):o,o.forEach(r=>{r[0].addEventListener(r[1],e[r[2]],Ge[r[3]])})}function fa(e,t){let o=`__q_${t}_evt`;e[o]!==void 0&&(e[o].forEach(n=>{n[0].removeEventListener(n[1],e[n[2]],Ge[n[3]])}),e[o]=void 0)}var Bh={listenOpts:Ge,leftClick:Th,middleClick:Mh,rightClick:Ph,position:So,getEventPath:ws,getMouseWheelDistance:Ah,stop:nt,prevent:pt,stopAndPrevent:qe,preventDraggable:$h};function Lo(e,t=250,o){let n=null;function r(){let i=arguments,a=()=>{n=null,o!==!0&&e.apply(this,i)};n!==null?clearTimeout(n):o===!0&&e.apply(this,i),n=setTimeout(a,t)}return r.cancel=()=>{n!==null&&clearTimeout(n)},r}var Cs=["sm","md","lg","xl"],{passive:hd}=Ge,ks=Ut({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:je,setDebounce:je,install({$q:e,onSSRHydrated:t}){e.screen=this}});var ro=Ut({isActive:!1,mode:!1},{__media:void 0,set(e){},toggle(){},install({$q:e,ssrContext:t}){let{dark:o}=e.config;this.isActive=o===!0,e.dark={isActive:!1,mode:!1,set:n=>{t._meta.bodyClasses=t._meta.bodyClasses.replace(" body--light","").replace(" body--dark","")+` body--${n===!0?"dark":"light"}`,e.dark.isActive=n===!0,e.dark.mode=n},toggle:()=>{e.dark.set(e.dark.isActive===!1)}},e.dark.set(o)}}),qs=ro;function al(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 bd=!1;function yd(e){bd=e.isComposing===!0}function go(e){return bd===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Ht(e,t){return go(e)===!0?!1:[].concat(t).includes(e.keyCode)}function Sd(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function xd({is:e,has:t,within:o},n){let r=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){let i=Sd(e);i!==void 0&&r.push("platform-"+i)}if(e.nativeMobile===!0){let i=e.nativeMobileWrapper;r.push(i),r.push("native-mobile"),e.ios===!0&&(n[i]===void 0||n[i].iosStatusBarPadding!==!1)&&r.push("q-ios-padding")}else e.electron===!0?r.push("electron"):e.bex===!0&&r.push("bex");return o.iframe===!0&&r.push("within-iframe"),r}function Lh(){let{is:e}=rt,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 r=Sd(e);r!==void 0&&o.add(`platform-${r}`)}}rt.has.touch===!0&&(o.delete("no-touch"),o.add("touch")),rt.within.iframe===!0&&o.add("within-iframe");let n=Array.from(o).join(" ");t!==n&&(document.body.className=n)}function Dh(e){for(let t in e)al(t,e[t])}var _d={install(e){{let{$q:t,ssrContext:o}=e,n=xd(t.platform,t.config);t.config.screen!==void 0&&t.config.screen.bodyClass===!0&&n.push("screen--xs"),o._meta.bodyClasses+=n.join(" ");let r=t.config.brand;if(r!==void 0){let i=Object.keys(r).map(a=>`--q-${a}:${r[a]};`).join("");o._meta.endingHeadTags+=`<style>:root{${i}}</style>`}return}if(this.__installed!==!0){if(It.value===!0)Lh();else{let{$q:t}=e;t.config.brand!==void 0&&Dh(t.config.brand);let o=xd(rt,t.config);document.body.classList.add.apply(document.body.classList,o)}rt.is.ios===!0&&document.body.addEventListener("touchstart",je),window.addEventListener("keydown",yd,!0)}}};var wd=()=>!0;function Fh(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function Vh(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 zh(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return wd;let t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(Fh).map(Vh)),()=>t.includes(window.location.hash)}var $n={__history:[],add:je,remove:je,install({$q:e}){}};var ma={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days"},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,o)=>e+"-"+t+" of "+o,columns:"Columns"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function Cd(){}var Oh=Ut({__qLang:{}},{getLocale:Cd,set(e=ma,t){let o={...e,rtl:e.rtl===!0,getLocale:Cd};if(t===void 0){console.error("SSR ERROR: second param required: Lang.set(lang, ssrContext)");return}if(o.set=t.$q.lang.set,t.$q.config.lang===void 0||t.$q.config.lang.noHtmlAttrs!==!0){let n=o.rtl===!0?"rtl":"ltr",r=`lang=${o.isoName} dir=${n}`;t._meta.htmlAttrs=t.__qPrevLang!==void 0?t._meta.htmlAttrs.replace(t.__qPrevLang,r):r,t.__qPrevLang=r}t.$q.lang=o},install({$q:e,lang:t,ssrContext:o}){{let n=t||ma;e.lang={},e.lang.set=r=>{this.set(r,o)},e.lang.set(n),(this.props===void 0||this.props.isoName!==n.isoName)&&(this.props={...n})}}}),Bn=Oh;var kd={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 Ih=Ut({iconMapFn:null,__qIconSet:{}},{set(e,t){let o={...e};if(t===void 0){console.error("SSR ERROR: second param required: IconSet.set(iconSet, ssrContext)");return}o.set=t.$q.iconSet.set,Object.assign(t.$q.iconSet,o)},install({$q:e,iconSet:t,ssrContext:o}){{let n=t||kd;e.iconMapFn=o.$q.config.iconMapFn||this.iconMapFn||null,e.iconSet={},e.iconSet.set=r=>{this.set(r,o)},e.iconSet.set(n),(this.props===void 0||this.props.name!==n.name)&&(this.props={...n})}}}),va=Ih;var ll="_q_",ul="_q_t_",sl="_q_s_",io="_q_l_",cl="_q_pc_",dl="_q_f_",hn="_q_fo_",fl="_q_tabs_",ml="_q_u_";function We(){}var Ts={};function Zt(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,n;if(e.constructor===Array){if(o=e.length,o!==t.length)return!1;for(n=o;n--!==0;)if(Zt(e[n],t[n])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let i=e.entries();for(n=i.next();n.done!==!0;){if(t.has(n.value[0])!==!0)return!1;n=i.next()}for(i=e.entries(),n=i.next();n.done!==!0;){if(Zt(n.value[1],t.get(n.value[0]))!==!0)return!1;n=i.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;let i=e.entries();for(n=i.next();n.done!==!0;){if(t.has(n.value[0])!==!0)return!1;n=i.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(o=e.length,o!==t.length)return!1;for(n=o;n--!==0;)if(e[n]!==t[n])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 r=Object.keys(e).filter(i=>e[i]!==void 0);if(o=r.length,o!==Object.keys(t).filter(i=>t[i]!==void 0).length)return!1;for(n=o;n--!==0;){let i=r[n];if(Zt(e[i],t[i])!==!0)return!1}return!0}return e!==e&&t!==t}function st(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function Ln(e){return Object.prototype.toString.call(e)==="[object Date]"}function qd(e){return Object.prototype.toString.call(e)==="[object RegExp]"}function _o(e){return typeof e=="number"&&isFinite(e)}var Hh={deepEqual:Zt,object:st,date:Ln,regexp:qd,number:_o};var Td=[pn,_d,qs,ks,$n,Bn,va];function Hr(e,t){let o=Nh(e);o.config.globalProperties=t.config.globalProperties;let{reload:n,...r}=t._context;return Object.assign(o._context,r),o}function Md(e,t){t.forEach(o=>{o.install(e),o.__installed=!0})}function Qh(e,t,o){e.config.globalProperties.$q=o.$q,e.provide(ll,o.$q),Md(o,Td),t.components!==void 0&&Object.values(t.components).forEach(n=>{st(n)===!0&&n.name!==void 0&&e.component(n.name,n)}),t.directives!==void 0&&Object.values(t.directives).forEach(n=>{st(n)===!0&&n.name!==void 0&&e.directive(n.name,n)}),t.plugins!==void 0&&Md(o,Object.values(t.plugins).filter(n=>typeof n.install=="function"&&Td.includes(n)===!1)),It.value===!0&&(o.$q.onSSRHydrated=()=>{o.onSSRHydrated.forEach(n=>{n()}),o.$q.onSSRHydrated=()=>{}})}var Pd=function(e,t={},o){let n={version:"2.16.9",config:t.config||{}};Object.assign(o,{$q:n,_meta:{htmlAttrs:"",headTags:"",endingHeadTags:"",bodyClasses:"",bodyAttrs:"data-server-rendered",bodyTags:""}}),o._modules===void 0&&(o._modules=[]),o.onRendered===void 0&&(o.onRendered=()=>{}),e.config.globalProperties.ssrContext=o,Qh(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,ssrContext:o})};var td={};vd(td,{QAjaxBar:()=>gl,QAvatar:()=>As,QBadge:()=>Hd,QBanner:()=>Qd,QBar:()=>jd,QBreadcrumbs:()=>Wd,QBreadcrumbsEl:()=>ef,QBtn:()=>Be,QBtnDropdown:()=>Ll,QBtnGroup:()=>ti,QBtnToggle:()=>Ef,QCard:()=>bi,QCardActions:()=>Dl,QCardSection:()=>Vo,QCarousel:()=>Df,QCarouselControl:()=>zf,QCarouselSlide:()=>Ff,QChatMessage:()=>Of,QCheckbox:()=>tn,QChip:()=>Ei,QCircularProgress:()=>$i,QColor:()=>tm,QDate:()=>vm,QDialog:()=>rn,QDrawer:()=>km,QEditor:()=>Nm,QExpansionItem:()=>jm,QFab:()=>Km,QFabAction:()=>Xm,QField:()=>yu,QFile:()=>ov,QFooter:()=>nv,QForm:()=>rv,QFormChildMixin:()=>iv,QHeader:()=>lv,QIcon:()=>_e,QImg:()=>uv,QInfiniteScroll:()=>fv,QInnerLoading:()=>vv,QInput:()=>Zi,QIntersection:()=>Sv,QItem:()=>an,QItemLabel:()=>Cr,QItemSection:()=>co,QKnob:()=>Cv,QLayout:()=>Tv,QLinearProgress:()=>Uu,QList:()=>Bu,QMarkupTable:()=>Du,QMenu:()=>Zo,QNoSsr:()=>Pv,QOptionGroup:()=>zu,QPage:()=>Lv,QPageContainer:()=>Dv,QPageScroller:()=>Ov,QPageSticky:()=>Iv,QPagination:()=>Hv,QParallax:()=>Qv,QPopupEdit:()=>jv,QPopupProxy:()=>Kv,QPullToRefresh:()=>Yv,QRadio:()=>Fu,QRange:()=>Xv,QRating:()=>Gv,QResizeObserver:()=>so,QResponsive:()=>Zv,QRouteTab:()=>pp,QScrollArea:()=>ng,QScrollObserver:()=>Ji,QSelect:()=>Zu,QSeparator:()=>ho,QSkeleton:()=>sg,QSlideItem:()=>fg,QSlideTransition:()=>Yn,QSlider:()=>_n,QSpace:()=>mg,QSpinner:()=>xt,QSpinnerAudio:()=>vg,QSpinnerBall:()=>gg,QSpinnerBars:()=>pg,QSpinnerBox:()=>hg,QSpinnerClock:()=>bg,QSpinnerComment:()=>yg,QSpinnerCube:()=>xg,QSpinnerDots:()=>Sg,QSpinnerFacebook:()=>_g,QSpinnerGears:()=>wg,QSpinnerGrid:()=>Cg,QSpinnerHearts:()=>kg,QSpinnerHourglass:()=>qg,QSpinnerInfinity:()=>Tg,QSpinnerIos:()=>Mg,QSpinnerOrbit:()=>Pg,QSpinnerOval:()=>Rg,QSpinnerPie:()=>Eg,QSpinnerPuff:()=>Ag,QSpinnerRadio:()=>$g,QSpinnerRings:()=>Bg,QSpinnerTail:()=>Lg,QSplitter:()=>Fg,QStep:()=>Og,QStepper:()=>Ig,QStepperNavigation:()=>Hg,QTab:()=>Qn,QTabPanel:()=>Di,QTabPanels:()=>Gl,QTable:()=>fp,QTabs:()=>Ma,QTd:()=>gp,QTh:()=>rs,QTime:()=>bp,QTimeline:()=>yp,QTimelineEntry:()=>xp,QToggle:()=>Vu,QToolbar:()=>Sp,QToolbarTitle:()=>_p,QTooltip:()=>vu,QTr:()=>mp,QTree:()=>Cp,QUploader:()=>Pp,QUploaderAddTrigger:()=>Rp,QVideo:()=>Ap,QVirtualScroll:()=>ls});import{h as Uh,ref as Ps,computed as Qr,onMounted as Kh,onBeforeUnmount as Wh,getCurrentInstance as Yh}from"vue";var Rd=["B","KB","MB","GB","TB","PB"];function Nr(e,t=1){let o=0;for(;parseInt(e,10)>=1024&&o<Rd.length-1;)e/=1024,++o;return`${e.toFixed(t)}${Rd[o]}`}function Ms(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Xe(e,t,o){return o<=t?t:Math.min(o,Math.max(t,e))}function dr(e,t,o){if(o<=t)return t;let n=o-t+1,r=t+(e-t)%n;return r<t&&(r=n+r),r===0?0:r}function Ze(e,t=2,o="0"){if(e==null)return e;let n=""+e;return n.length>=t?n:new Array(t-n.length+1).join(o)+n}var jh={humanStorageSize:Nr,capitalize:Ms,between:Xe,normalizeToInterval:dr,pad:Ze};var Ed=null,Ad=null,Xh=["top","right","bottom","left"],vl=[],ga=0;function Gh({p:e,pos:t,active:o,horiz:n,reverse:r,dir:i}){let a=1,l=1;return n===!0?(r===!0&&(a=-1),t==="bottom"&&(l=-1),{transform:`translate3d(${a*(e-100)}%,${o?0:l*-200}%,0)`}):(r===!0&&(l=-1),t==="right"&&(a=-1),{transform:`translate3d(${o?0:i*a*-200}%,${l*(e-100)}%,0)`})}function Zh(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),Xe(e+t,0,100)}function Jh(e){ga++,vl.push(e),!(ga>1)&&(Ed.prototype.open=function(t,o){let n=[],r=()=>{vl.forEach(a=>{(a.hijackFilter.value===null||a.hijackFilter.value(o)===!0)&&(a.start(),n.push(a.stop))})},i=()=>{n.forEach(a=>{a()})};this.addEventListener("loadstart",r,{once:!0}),this.addEventListener("loadend",i,{once:!0}),Ad.apply(this,arguments)})}function e0(e){vl=vl.filter(t=>t.start!==e),ga=Math.max(0,ga-1),ga===0&&(Ed.prototype.open=Ad)}var gl=M({name:"QAjaxBar",props:{position:{type:String,default:"top",validator:e=>Xh.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}=Yh(),n=Ps(0),r=Ps(!1),i=Ps(!0),a=0,l=null,s,d=Qr(()=>`q-loading-bar q-loading-bar--${e.position}`+(e.color!==void 0?` bg-${e.color}`:"")+(i.value===!0?"":" no-transition")),u=Qr(()=>e.position==="top"||e.position==="bottom"),v=Qr(()=>u.value===!0?"height":"width"),f=Qr(()=>{let p=r.value,g=Gh({p:n.value,pos:e.position,active:p,horiz:u.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 g[v.value]=e.size,g.opacity=p?1:0,g}),c=Qr(()=>r.value===!0?{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n.value}:{"aria-hidden":"true"});function m(p=300){let g=s;return s=Math.max(0,p)||0,a++,a>1?(g===0&&p>0?w():l!==null&&g>0&&p<=0&&(clearTimeout(l),l=null),a):(l!==null&&clearTimeout(l),t("start"),n.value=0,l=setTimeout(()=>{l=null,i.value=!0,p>0&&w()},r._value===!0?500:1),r._value!==!0&&(r.value=!0,i.value=!1),a)}function y(p){return a>0&&(n.value=Zh(n.value,p)),a}function h(){if(a=Math.max(0,a-1),a>0)return a;l!==null&&(clearTimeout(l),l=null),t("stop");let p=()=>{i.value=!0,n.value=100,l=setTimeout(()=>{l=null,r.value=!1},1e3)};return n.value===0?l=setTimeout(p,1):p(),a}function w(){n.value<100&&(l=setTimeout(()=>{l=null,y(),w()},s))}let b;return Kh(()=>{e.skipHijack!==!0&&(b=!0,Jh({start:m,stop:h,hijackFilter:Qr(()=>e.hijackFilter||null)}))}),Wh(()=>{l!==null&&clearTimeout(l),b===!0&&e0(m)}),Object.assign(o,{start:m,stop:h,increment:y}),()=>Uh("div",{class:d.value,style:f.value,...c.value})}});import{h as Es,computed as Od}from"vue";import{h as Yo,computed as $d,getCurrentInstance as r0}from"vue";import{computed as t0}from"vue";var pl={xs:18,sm:24,md:32,lg:38,xl:46},Lt={size:String};function Dt(e,t=pl){return t0(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}import{h as o0,withDirectives as n0}from"vue";function J(e,t){return e!==void 0&&e()||t}function Wo(e,t){if(e!==void 0){let o=e();if(o!=null)return o.slice()}return t}function Ue(e,t){return e!==void 0?t.concat(e()):t}function jr(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function yt(e,t,o,n,r,i){t.key=n+r;let a=o0(e,t,o);return r===!0?n0(a,i()):a}var Bd="0 0 24 24",Ld=e=>e,Rs=e=>`ionicons ${e}`,Fd={"mdi-":e=>`mdi ${e}`,"icon-":Ld,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Rs,"ion-ios":Rs,"ion-logo":Rs,"iconfont ":Ld,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`},Vd={o_:"-outlined",r_:"-round",s_:"-sharp"},zd={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},i0=new RegExp("^("+Object.keys(Fd).join("|")+")"),a0=new RegExp("^("+Object.keys(Vd).join("|")+")"),Dd=new RegExp("^("+Object.keys(zd).join("|")+")"),l0=/^[Mm]\s?[-+]?\.?\d/,u0=/^img:/,s0=/^svguse:/,c0=/^ion-/,d0=/^(fa-(sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,_e=M({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}}=r0(),n=Dt(e),r=$d(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),i=$d(()=>{let a,l=e.name;if(l==="none"||!l)return{none:!0};if(o.iconMapFn!==null){let u=o.iconMapFn(l);if(u!==void 0)if(u.icon!==void 0){if(l=u.icon,l==="none"||!l)return{none:!0}}else return{cls:u.cls,content:u.content!==void 0?u.content:" "}}if(l0.test(l)===!0){let[u,v=Bd]=l.split("|");return{svg:!0,viewBox:v,nodes:u.split("&&").map(f=>{let[c,m,y]=f.split("@@");return Yo("path",{style:m,d:c,transform:y})})}}if(u0.test(l)===!0)return{img:!0,src:l.substring(4)};if(s0.test(l)===!0){let[u,v=Bd]=l.split("|");return{svguse:!0,src:u.substring(7),viewBox:v}}let s=" ",d=l.match(i0);if(d!==null)a=Fd[d[1]](l);else if(d0.test(l)===!0)a=l;else if(c0.test(l)===!0)a=`ionicons ion-${o.platform.is.ios===!0?"ios":"md"}${l.substring(3)}`;else if(Dd.test(l)===!0){a="notranslate material-symbols";let u=l.match(Dd);u!==null&&(l=l.substring(6),a+=zd[u[1]]),s=l}else{a="notranslate material-icons";let u=l.match(a0);u!==null&&(l=l.substring(2),a+=Vd[u[1]]),s=l}return{cls:a,content:s}});return()=>{let a={class:r.value,style:n.value,"aria-hidden":"true",role:"presentation"};return i.value.none===!0?Yo(e.tag,a,J(t.default)):i.value.img===!0?Yo(e.tag,a,Ue(t.default,[Yo("img",{src:i.value.src})])):i.value.svg===!0?Yo(e.tag,a,Ue(t.default,[Yo("svg",{viewBox:i.value.viewBox||"0 0 24 24"},i.value.nodes)])):i.value.svguse===!0?Yo(e.tag,a,Ue(t.default,[Yo("svg",{viewBox:i.value.viewBox},[Yo("use",{"xlink:href":i.value.src})])])):(i.value.cls!==void 0&&(a.class+=" "+i.value.cls),Yo(e.tag,a,Ue(t.default,[i.value.content])))}}});var As=M({name:"QAvatar",props:{...Lt,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(e,{slots:t}){let o=Dt(e),n=Od(()=>"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":"")),r=Od(()=>e.fontSize?{fontSize:e.fontSize}:null);return()=>{let i=e.icon!==void 0?[Es(_e,{name:e.icon})]:void 0;return Es("div",{class:n.value,style:o.value},[Es("div",{class:"q-avatar__content row flex-center overflow-hidden",style:r.value},jr(t.default,i))])}}});import{h as f0,computed as Id}from"vue";var m0=["top","middle","bottom"],Hd=M({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=>m0.includes(e)}},setup(e,{slots:t}){let o=Id(()=>e.align!==void 0?{verticalAlign:e.align}:null),n=Id(()=>{let r=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}`:"")+(r!==void 0?` text-${r}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>f0("div",{class:n.value,style:o.value,role:"status","aria-label":e.label},Ue(t.default,e.label!==void 0?[e.label]:[]))}});import{h as hl,computed as Nd,getCurrentInstance as g0}from"vue";import{computed as v0}from"vue";var pe={dark:{type:Boolean,default:null}};function he(e,t){return v0(()=>e.dark===null?t.dark.isActive:e.dark)}var Qd=M({name:"QBanner",props:{...pe,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=g0(),n=he(e,o),r=Nd(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(n.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),i=Nd(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{let a=[hl("div",{class:"q-banner__avatar col-auto row items-center self-start"},J(t.avatar)),hl("div",{class:"q-banner__content col text-body2"},J(t.default))],l=J(t.action);return l!==void 0&&a.push(hl("div",{class:i.value},l)),hl("div",{class:r.value+(e.inlineActions===!1&&l!==void 0?" q-banner--top-padding":""),role:"alert"},a)}}});import{h as p0,computed as h0,getCurrentInstance as b0}from"vue";var jd=M({name:"QBar",props:{...pe,dense:Boolean},setup(e,{slots:t}){let{proxy:{$q:o}}=b0(),n=he(e,o),r=h0(()=>`q-bar row no-wrap items-center q-bar--${e.dense===!0?"dense":"standard"} q-bar--${n.value===!0?"dark":"light"}`);return()=>p0("div",{class:r.value,role:"toolbar"},J(t.default))}});import{h as yl,computed as $s}from"vue";import{computed as y0}from"vue";var Ud={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},x0=Object.keys(Ud),Ur={align:{type:String,validator:e=>x0.includes(e)}};function Kr(e){return y0(()=>{let t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${Ud[t]}`})}function bl(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 Kd(e,t){typeof t.type=="symbol"?Array.isArray(t.children)===!0&&t.children.forEach(o=>{Kd(e,o)}):e.add(t)}function Wr(e){let t=new Set;return e.forEach(o=>{Kd(t,o)}),Array.from(t)}function Yr(e){return e.appContext.config.globalProperties.$router!==void 0}function Kt(e){return e.isUnmounted===!0||e.isDeactivated===!0}var S0=["",!0],Wd=M({name:"QBreadcrumbs",props:{...Ur,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=Kr(e),n=$s(()=>`flex items-center ${o.value}${e.gutter==="none"?"":` q-gutter-${e.gutter}`}`),r=$s(()=>e.separatorColor?` text-${e.separatorColor}`:""),i=$s(()=>` text-${e.activeColor}`);return()=>{if(t.default===void 0)return;let a=Wr(J(t.default));if(a.length===0)return;let l=1,s=[],d=a.filter(v=>v.type!==void 0&&v.type.name==="QBreadcrumbsEl").length,u=t.separator!==void 0?t.separator:()=>e.separator;return a.forEach(v=>{if(v.type!==void 0&&v.type.name==="QBreadcrumbsEl"){let f=l<d,c=v.props!==null&&S0.includes(v.props.disable),m=(f===!0?"":" q-breadcrumbs--last")+(c!==!0&&f===!0?i.value:"");l++,s.push(yl("div",{class:`flex items-center${m}`},[v])),f===!0&&s.push(yl("div",{class:"q-breadcrumbs__separator"+r.value},u()))}else s.push(v)}),yl("div",{class:"q-breadcrumbs"},[yl("div",{class:n.value},s)])}}});import{h as Zd,computed as Jd}from"vue";import{computed as wo,getCurrentInstance as _0}from"vue";function Yd(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function Xd(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function w0(e,t){for(let o in t){let n=t[o],r=e[o];if(typeof n=="string"){if(n!==r)return!1}else if(Array.isArray(r)===!1||r.length!==n.length||n.some((i,a)=>i!==r[a]))return!1}return!0}function Gd(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((o,n)=>o===t[n]):e.length===1&&e[0]===t}function C0(e,t){return Array.isArray(e)===!0?Gd(e,t):Array.isArray(t)===!0?Gd(t,e):e===t}function k0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let o in e)if(C0(e[o],t[o])===!1)return!1;return!0}var Bs={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},bn={...Bs,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Dn({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){let o=_0(),{props:n,proxy:r,emit:i}=o,a=Yr(o),l=wo(()=>n.disable!==!0&&n.href!==void 0),s=t===!0?wo(()=>a===!0&&n.disable!==!0&&l.value!==!0&&n.to!==void 0&&n.to!==null&&n.to!==""):wo(()=>a===!0&&l.value!==!0&&n.to!==void 0&&n.to!==null&&n.to!==""),d=wo(()=>s.value===!0?b(n.to):null),u=wo(()=>d.value!==null),v=wo(()=>l.value===!0||u.value===!0),f=wo(()=>n.type==="a"||v.value===!0?"a":n.tag||e||"div"),c=wo(()=>l.value===!0?{href:n.href,target:n.target}:u.value===!0?{href:d.value.href,target:n.target}:{}),m=wo(()=>{if(u.value===!1)return-1;let{matched:x}=d.value,{length:P}=x,A=x[P-1];if(A===void 0)return-1;let L=r.$route.matched;if(L.length===0)return-1;let $=L.findIndex(Xd.bind(null,A));if($!==-1)return $;let R=Yd(x[P-2]);return P>1&&Yd(A)===R&&L[L.length-1].path!==R?L.findIndex(Xd.bind(null,x[P-2])):$}),y=wo(()=>u.value===!0&&m.value!==-1&&w0(r.$route.params,d.value.params)),h=wo(()=>y.value===!0&&m.value===r.$route.matched.length-1&&k0(r.$route.params,d.value.params)),w=wo(()=>u.value===!0?h.value===!0?` ${n.exactActiveClass} ${n.activeClass}`:n.exact===!0?"":y.value===!0?` ${n.activeClass}`:"":"");function b(x){try{return r.$router.resolve(x)}catch{}return null}function p(x,{returnRouterError:P,to:A=n.to,replace:L=n.replace}={}){if(n.disable===!0)return x.preventDefault(),Promise.resolve(!1);if(x.metaKey||x.altKey||x.ctrlKey||x.shiftKey||x.button!==void 0&&x.button!==0||n.target==="_blank")return Promise.resolve(!1);x.preventDefault();let $=r.$router[L===!0?"replace":"push"](A);return P===!0?$:$.then(()=>{}).catch(()=>{})}function g(x){if(u.value===!0){let P=A=>p(x,A);i("click",x,P),x.defaultPrevented!==!0&&P()}else i("click",x)}return{hasRouterLink:u,hasHrefLink:l,hasLink:v,linkTag:f,resolvedLink:d,linkIsActive:y,linkIsExactActive:h,linkClass:w,linkAttrs:c,getLink:b,navigateToRouterLink:p,navigateOnClick:g}}var ef=M({name:"QBreadcrumbsEl",props:{...bn,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(e,{slots:t}){let{linkTag:o,linkAttrs:n,linkClass:r,navigateOnClick:i}=Dn(),a=Jd(()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(e.disable!==!0?"q-link--focusable"+r.value:"q-breadcrumbs__el--disable"),...n.value,onClick:i})),l=Jd(()=>"q-breadcrumbs__el-icon"+(e.label!==void 0?" q-breadcrumbs__el-icon--with-label":""));return()=>{let s=[];return e.icon!==void 0&&s.push(Zd(_e,{class:l.value,name:e.icon})),e.label!==void 0&&s.push(e.label),Zd(o.value,{...a.value},Ue(t.default,s))}}});import{h as Do,ref as lf,computed as Gr,Transition as L0,onBeforeUnmount as D0,withDirectives as F0,getCurrentInstance as V0}from"vue";import{h as of}from"vue";import{computed as tf}from"vue";var ze={size:{type:[String,Number],default:"1em"},color:String};function Fe(e){return{cSize:tf(()=>e.size in pl?`${pl[e.size]}px`:e.size),classes:tf(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}var xt=M({name:"QSpinner",props:{...ze,thickness:{type:Number,default:5}},setup(e){let{cSize:t,classes:o}=Fe(e);return()=>of("svg",{class:o.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[of("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});import{unref as q0}from"vue";function xl(e){if(e===window)return{top:0,left:0};let{top:t,left:o}=e.getBoundingClientRect();return{top:t,left:o}}function T0(e,t){return window.getComputedStyle(e).getPropertyValue(t)}function fr(e){return e===window?window.innerHeight:e.getBoundingClientRect().height}function M0(e){return e===window?window.innerWidth:e.getBoundingClientRect().width}function Xr(e,t){let o=e.style;for(let n in t)o[n]=t[n]}function P0(e,t){e.forEach(o=>Xr(o,t))}function R0(e){if(typeof e=="function"){if(document.readyState!=="loading")return e();document.addEventListener("DOMContentLoaded",e,!1)}}function nf(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}let t=q0(e);if(t)return t.$el||t}function Sl(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 E0={offset:xl,style:T0,height:fr,width:M0,css:Xr,cssBatch:P0,ready:R0};function Ls(e,t=250){let o=!1,n;return function(){return o===!1&&(o=!0,setTimeout(()=>{o=!1},t),n=e.apply(this,arguments)),n}}var Mt=()=>({});var Xo=wt({name:"ripple",getSSRProps:Mt});import{computed as Fn}from"vue";var pa={none:0,xs:4,sm:8,md:16,lg:24,xl:32},A0={xs:8,sm:10,md:14,lg:20,xl:24},$0=["button","submit","reset"],B0=/[^\s]\/[^\s]/,Ds=["flat","outline","push","unelevated"];function _l(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}function wl(e){let t=_l(e);return t!==void 0?{[t]:!0}:{}}var Cl={...Lt,...Bs,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Ds.reduce((e,t)=>(e[t]=Boolean)&&e,{}),square:Boolean,rounded:Boolean,glossy:Boolean,size:String,fab:Boolean,fabMini:Boolean,padding:String,color:String,textColor:String,noCaps:Boolean,noWrap:Boolean,dense:Boolean,tabindex:[Number,String],ripple:{type:[Boolean,Object],default:!0},align:{...Ur.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},rf={...Cl,round:Boolean};function af(e){let t=Dt(e,A0),o=Kr(e),{hasRouterLink:n,hasLink:r,linkTag:i,linkAttrs:a,navigateOnClick:l}=Dn({fallbackTag:"button"}),s=Fn(()=>{let h=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},h,{padding:e.padding.split(/\s+/).map(w=>w in pa?pa[w]+"px":w).join(" "),minWidth:"0",minHeight:"0"}):h}),d=Fn(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),u=Fn(()=>e.disable!==!0&&e.loading!==!0),v=Fn(()=>u.value===!0?e.tabindex||0:-1),f=Fn(()=>_l(e,"standard")),c=Fn(()=>{let h={tabindex:v.value};return r.value===!0?Object.assign(h,a.value):$0.includes(e.type)===!0&&(h.type=e.type),i.value==="a"?(e.disable===!0?h["aria-disabled"]="true":h.href===void 0&&(h.role="button"),n.value!==!0&&B0.test(e.type)===!0&&(h.type=e.type)):e.disable===!0&&(h.disabled="",h["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(h,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),h}),m=Fn(()=>{let h;e.color!==void 0?e.flat===!0||e.outline===!0?h=`text-${e.textColor||e.color}`:h=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(h=`text-${e.textColor}`);let w=e.round===!0?"round":`rectangle${d.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${f.value} q-btn--${w}`+(h!==void 0?" "+h:"")+(u.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),y=Fn(()=>o.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:m,style:s,innerClasses:y,attributes:c,hasLink:r,linkTag:i,navigateOnClick:l,isActionable:u}}var{passiveCapture:Co}=Ge,Zr=null,Jr=null,ei=null,Be=M({name:"QBtn",props:{...rf,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:o}){let{proxy:n}=V0(),{classes:r,style:i,innerClasses:a,attributes:l,hasLink:s,linkTag:d,navigateOnClick:u,isActionable:v}=af(e),f=lf(null),c=lf(null),m=null,y,h=null,w=Gr(()=>e.label!==void 0&&e.label!==null&&e.label!==""),b=Gr(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:s.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),p=Gr(()=>({center:e.round})),g=Gr(()=>{let C=Math.max(0,Math.min(100,e.percentage));return C>0?{transition:"transform 0.6s",transform:`translateX(${C-100}%)`}:{}}),x=Gr(()=>{if(e.loading===!0)return{onMousedown:S,onTouchstart:S,onClick:S,onKeydown:S,onKeyup:S};if(v.value===!0){let C={onClick:A,onKeydown:L,onMousedown:R};if(n.$q.platform.has.touch===!0){let U=e.onTouchstart!==void 0?"":"Passive";C[`onTouchstart${U}`]=$}return C}return{onClick:qe}}),P=Gr(()=>({ref:f,class:"q-btn q-btn-item non-selectable no-outline "+r.value,style:i.value,...l.value,...x.value}));function A(C){if(f.value!==null){if(C!==void 0){if(C.defaultPrevented===!0)return;let U=document.activeElement;if(e.type==="submit"&&U!==document.body&&f.value.contains(U)===!1&&U.contains(f.value)===!1){f.value.focus();let j=()=>{document.removeEventListener("keydown",qe,!0),document.removeEventListener("keyup",j,Co),f.value!==null&&f.value.removeEventListener("blur",j,Co)};document.addEventListener("keydown",qe,!0),document.addEventListener("keyup",j,Co),f.value.addEventListener("blur",j,Co)}}u(C)}}function L(C){f.value!==null&&(o("keydown",C),Ht(C,[13,32])===!0&&Jr!==f.value&&(Jr!==null&&k(),C.defaultPrevented!==!0&&(f.value.focus(),Jr=f.value,f.value.classList.add("q-btn--active"),document.addEventListener("keyup",B,!0),f.value.addEventListener("blur",B,Co)),qe(C)))}function $(C){f.value!==null&&(o("touchstart",C),C.defaultPrevented!==!0&&(Zr!==f.value&&(Zr!==null&&k(),Zr=f.value,m=C.target,m.addEventListener("touchcancel",B,Co),m.addEventListener("touchend",B,Co)),y=!0,h!==null&&clearTimeout(h),h=setTimeout(()=>{h=null,y=!1},200)))}function R(C){f.value!==null&&(C.qSkipRipple=y===!0,o("mousedown",C),C.defaultPrevented!==!0&&ei!==f.value&&(ei!==null&&k(),ei=f.value,f.value.classList.add("q-btn--active"),document.addEventListener("mouseup",B,Co)))}function B(C){if(f.value!==null&&!(C!==void 0&&C.type==="blur"&&document.activeElement===f.value)){if(C!==void 0&&C.type==="keyup"){if(Jr===f.value&&Ht(C,[13,32])===!0){let U=new MouseEvent("click",C);U.qKeyEvent=!0,C.defaultPrevented===!0&&pt(U),C.cancelBubble===!0&&nt(U),f.value.dispatchEvent(U),qe(C),C.qKeyEvent=!0}o("keyup",C)}k()}}function k(C){let U=c.value;C!==!0&&(Zr===f.value||ei===f.value)&&U!==null&&U!==document.activeElement&&(U.setAttribute("tabindex",-1),U.focus()),Zr===f.value&&(m!==null&&(m.removeEventListener("touchcancel",B,Co),m.removeEventListener("touchend",B,Co)),Zr=m=null),ei===f.value&&(document.removeEventListener("mouseup",B,Co),ei=null),Jr===f.value&&(document.removeEventListener("keyup",B,!0),f.value!==null&&f.value.removeEventListener("blur",B,Co),Jr=null),f.value!==null&&f.value.classList.remove("q-btn--active")}function S(C){qe(C),C.qSkipRipple=!0}return D0(()=>{k(!0)}),Object.assign(n,{click:C=>{v.value===!0&&A(C)}}),()=>{let C=[];e.icon!==void 0&&C.push(Do(_e,{name:e.icon,left:e.stack!==!0&&w.value===!0,role:"img"})),w.value===!0&&C.push(Do("span",{class:"block"},[e.label])),C=Ue(t.default,C),e.iconRight!==void 0&&e.round===!1&&C.push(Do(_e,{name:e.iconRight,right:e.stack!==!0&&w.value===!0,role:"img"}));let U=[Do("span",{class:"q-focus-helper",ref:c})];return e.loading===!0&&e.percentage!==void 0&&U.push(Do("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[Do("span",{class:"q-btn__progress-indicator fit block",style:g.value})])),U.push(Do("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+a.value},C)),e.loading!==null&&U.push(Do(L0,{name:"q-transition--fade"},()=>e.loading===!0?[Do("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[Do(xt)])]:null)),F0(Do(d.value,P.value,U),[[Xo,b.value,void 0,p.value]])}}});import{h as pi,ref as Tf,computed as Bl,watch as Mf,onMounted as Tb,getCurrentInstance as Mb}from"vue";import{h as z0,computed as O0}from"vue";var ti=M({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=O0(()=>{let n=["unelevated","outline","flat","rounded","square","push","stretch","glossy"].filter(r=>e[r]===!0).map(r=>`q-btn-group--${r}`).join(" ");return`q-btn-group row no-wrap${n.length!==0?" "+n:""}`+(e.spread===!0?" q-btn-group--spread":" inline")});return()=>z0("div",{class:o.value},J(t.default))}});import{h as _f,ref as wf,computed as gi,watch as Cf,Transition as yb,onBeforeUnmount as xb,getCurrentInstance as Sb}from"vue";import{ref as I0,watch as Fs,onMounted as H0,onBeforeUnmount as N0,nextTick as Q0,getCurrentInstance as j0}from"vue";function ha(){if(window.getSelection!==void 0){let e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),pn.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}var Vs={target:{default:!0},noParentEvent:Boolean},kl={...Vs,contextMenu:Boolean};function oi({showing:e,avoidEmit:t,configureAnchorEl:o}){let{props:n,proxy:r,emit:i}=j0(),a=I0(null),l=null;function s(c){return a.value===null?!1:c===void 0||c.touches===void 0||c.touches.length<=1}let d={};o===void 0&&(Object.assign(d,{hide(c){r.hide(c)},toggle(c){r.toggle(c),c.qAnchorHandled=!0},toggleKey(c){Ht(c,13)===!0&&d.toggle(c)},contextClick(c){r.hide(c),pt(c),Q0(()=>{r.show(c),c.qAnchorHandled=!0})},prevent:pt,mobileTouch(c){if(d.mobileCleanup(c),s(c)!==!0)return;r.hide(c),a.value.classList.add("non-selectable");let m=c.target;Ir(d,"anchor",[[m,"touchmove","mobileCleanup","passive"],[m,"touchend","mobileCleanup","passive"],[m,"touchcancel","mobileCleanup","passive"],[a.value,"contextmenu","prevent","notPassive"]]),l=setTimeout(()=>{l=null,r.show(c),c.qAnchorHandled=!0},300)},mobileCleanup(c){a.value.classList.remove("non-selectable"),l!==null&&(clearTimeout(l),l=null),e.value===!0&&c!==void 0&&ha()}}),o=function(c=n.contextMenu){if(n.noParentEvent===!0||a.value===null)return;let m;c===!0?r.$q.platform.is.mobile===!0?m=[[a.value,"touchstart","mobileTouch","passive"]]:m=[[a.value,"mousedown","hide","passive"],[a.value,"contextmenu","contextClick","notPassive"]]:m=[[a.value,"click","toggle","passive"],[a.value,"keyup","toggleKey","passive"]],Ir(d,"anchor",m)});function u(){fa(d,"anchor")}function v(c){for(a.value=c;a.value.classList.contains("q-anchor--skip");)a.value=a.value.parentNode;o()}function f(){if(n.target===!1||n.target===""||r.$el.parentNode===null)a.value=null;else if(n.target===!0)v(r.$el.parentNode);else{let c=n.target;if(typeof n.target=="string")try{c=document.querySelector(n.target)}catch{c=void 0}c!=null?(a.value=c.$el||c,o()):(a.value=null,console.error(`Anchor: target "${n.target}" not found`))}}return Fs(()=>n.contextMenu,c=>{a.value!==null&&(u(),o(c))}),Fs(()=>n.target,()=>{a.value!==null&&u(),f()}),Fs(()=>n.noParentEvent,c=>{a.value!==null&&(c===!0?u():o())}),H0(()=>{f(),t!==!0&&n.modelValue===!0&&a.value===null&&i("update:modelValue",!1)}),N0(()=>{l!==null&&clearTimeout(l),u()}),{anchorEl:a,canShow:s,anchorEvents:d}}import{ref as U0,watch as K0,onBeforeUnmount as W0}from"vue";function ql(e,t){let o=U0(null),n;function r(l,s){let d=`${s!==void 0?"add":"remove"}EventListener`,u=s!==void 0?s:n;l!==window&&l[d]("scroll",u,Ge.passive),window[d]("scroll",u,Ge.passive),n=s}function i(){o.value!==null&&(r(o.value),o.value=null)}let a=K0(()=>e.noParentEvent,()=>{o.value!==null&&(i(),t())});return W0(a),{localScrollTarget:o,unconfigureScrollTarget:i,changeScrollEvent:r}}import{watch as uf,onMounted as Y0,getCurrentInstance as X0}from"vue";var ko={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},qo=["beforeShow","show","beforeHide","hide"];function To({showing:e,canShow:t,hideOnRouteChange:o,handleShow:n,handleHide:r,processOnMount:i}){let a=X0(),{props:l,emit:s,proxy:d}=a,u;function v(b){e.value===!0?void 0:f(b)}function f(b){if(l.disable===!0||b!==void 0&&b.qAnchorHandled===!0||t!==void 0&&t(b)!==!0)return;let p=l["onUpdate:modelValue"]!==void 0;l.modelValue,c(b)}function c(b){e.value!==!0&&(e.value=!0,s("beforeShow",b),n!==void 0?n(b):s("show",b))}function m(b){}function y(b){e.value!==!1&&(e.value=!1,s("beforeHide",b),r!==void 0?r(b):s("hide",b))}function h(b){l.disable===!0&&b===!0?l["onUpdate:modelValue"]!==void 0&&s("update:modelValue",!1):b===!0!==e.value&&(b===!0?c:y)(u)}uf(()=>l.modelValue,h),o!==void 0&&Yr(a)===!0&&uf(()=>d.$route.fullPath,()=>{o.value===!0&&e.value===!0&&void 0}),i===!0&&Y0(()=>{h(l.modelValue)});let w={show:f,hide:m,toggle:v};return Object.assign(d,w),w}import{h as vf,ref as gf,onUnmounted as J0,Teleport as eb}from"vue";var mr=[],ba=[];function sf(e){ba=ba.filter(t=>t!==e)}function cf(e){sf(e),ba.push(e)}function zs(e){sf(e),ba.length===0&&mr.length!==0&&(mr[mr.length-1](),mr=[])}function Mo(e){ba.length===0?e():mr.push(e)}function df(e){mr=mr.filter(t=>t!==e)}var Os=[],ff=[],G0=1,Z0;function Vn(e,t){let o=document.createElement("div");if(o.id=t!==void 0?`q-portal--${t}--${G0++}`:e,Ts.globalNodes!==void 0){let n=Ts.globalNodes.class;n!==void 0&&(o.className=n)}return Z0.appendChild(o),Os.push(o),ff.push(t),o}function ni(e){let t=Os.indexOf(e);Os.splice(t,1),ff.splice(t,1),e.remove()}var vr=[];function mf(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return bl(e)}else if(e.__qPortal===!0){let o=bl(e);return o!==void 0&&o.$options.name==="QPopupProxy"?(e.hide(t),o):e}e=bl(e)}while(e!=null)}var tb=M({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function ob(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 ri(e,t,o,n){let r=gf(!1),i=gf(!1);return{portalIsActive:r,portalIsAccessible:i,showPortal:je,hidePortal:je,renderPortal:je};function d(v){if(v===!0){zs(l),i.value=!0;return}i.value=!1,r.value===!1&&(s===!1&&a===null&&(a=Vn(!1,n)),r.value=!0,vr.push(e.proxy),cf(l))}function u(v){if(i.value=!1,v!==!0)return;zs(l),r.value=!1;let f=vr.indexOf(e.proxy);f!==-1&&vr.splice(f,1),a!==null&&(ni(a),a=null)}}import{computed as pf}from"vue";var Po={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function zn(e,t=()=>{},o=()=>{}){return{transitionProps:pf(()=>{let n=`q-transition--${e.transitionShow||t()}`,r=`q-transition--${e.transitionHide||o()}`;return{appear:!0,enterFromClass:`${n}-enter-from`,enterActiveClass:`${n}-enter-active`,enterToClass:`${n}-enter-to`,leaveFromClass:`${r}-leave-from`,leaveActiveClass:`${r}-leave-active`,leaveToClass:`${r}-leave-to`}}),transitionStyle:pf(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}import{nextTick as nb,onDeactivated as rb,onBeforeUnmount as ib,getCurrentInstance as ab}from"vue";function Fo(){let e,t=ab();function o(){e=void 0}return rb(o),ib(o),{removeTick:o,registerTick(n){e=n,nb(()=>{e===n&&(Kt(t)===!1&&e(),e=void 0)})}}}import{onDeactivated as lb,onBeforeUnmount as ub,getCurrentInstance as sb}from"vue";function Jt(){let e=null,t=sb();function o(){e!==null&&(clearTimeout(e),e=null)}return lb(o),ub(o),{removeTimeout:o,registerTimeout(n,r){o(e),Kt(t)===!1&&(e=setTimeout(()=>{e=null,n()},r))}}}var ao={},cb=[];function Nt(e