quasar-factory-lib 0.0.46 → 0.0.48
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/components/Table/Table.vue.d.ts +37 -9
- package/dist/components/Table/components/TableSlotBody.vue.d.ts +9 -0
- package/dist/components/Table/components/TableSlotGrid.vue.d.ts +9 -0
- package/dist/layouts/PdaLayout.vue.d.ts +38 -16
- package/dist/pages/TablePage.vue.d.ts +92 -44
- package/dist/quasar-factory-lib.js +1391 -1352
- package/dist/quasar-factory-lib.umd.cjs +9 -9
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Table/Table.vue +73 -6
- package/src/components/Table/components/TableSlotBody.vue +5 -1
- package/src/components/Table/components/TableSlotGrid.vue +5 -1
- package/src/css/app.css +10 -1
- package/src/layouts/PdaLayout.vue +0 -15
- package/src/pages/TablePage.vue +105 -43
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Je,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],l):(Je=typeof globalThis<"u"?globalThis:Je||self,l(Je.QuasarFactoryLib={},Je.Vue))})(this,function(Je,l){"use strict";function ct(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}function cd(e,t){for(const n in t)ct(e,n,t[n]);return e}const Ut=l.ref(!1);let dr;function dd(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:t[0]||""}}function fd(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const ra="ontouchstart"in window||window.navigator.maxTouchPoints>0;function md(e){const t=e.toLowerCase(),n=fd(t),o=dd(t,n),r={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};o.browser&&(r[o.browser]=!0,r.version=o.version,r.versionNumber=parseInt(o.version,10)),o.platform&&(r[o.platform]=!0);const a=r.android||r.ios||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r["windows phone"];if(a===!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,o.browser="edge"):r.crios?(r.chrome=!0,o.browser="chrome"):r.fxios&&(r.firefox=!0,o.browser="firefox"),(r.ipod||r.ipad||r.iphone)&&(r.ios=!0),r.vivaldi&&(o.browser="vivaldi",r.vivaldi=!0),(r.chrome||r.opr||r.safari||r.vivaldi||r.mobile===!0&&r.ios!==!0&&a!==!0)&&(r.webkit=!0),r.opr&&(o.browser="opera",r.opera=!0),r.safari&&(r.blackberry||r.bb?(o.browser="blackberry",r.blackberry=!0):r.playbook?(o.browser="playbook",r.playbook=!0):r.android?(o.browser="android",r.android=!0):r.kindle?(o.browser="kindle",r.kindle=!0):r.silk&&(o.browser="silk",r.silk=!0)),r.name=o.browser,r.platform=o.platform,t.indexOf("electron")!==-1)r.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)r.bex=!0;else{if(window.Capacitor!==void 0?(r.capacitor=!0,r.nativeMobile=!0,r.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(r.cordova=!0,r.nativeMobile=!0,r.nativeMobileWrapper="cordova"),Ut.value===!0&&(dr={is:{...r}}),ra===!0&&r.mac===!0&&(r.desktop===!0&&r.safari===!0||r.nativeMobile===!0&&r.android!==!0&&r.ios!==!0&&r.ipad!==!0)){delete r.mac,delete r.desktop;const i=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(r,{mobile:!0,ios:!0,platform:i,[i]:!0})}r.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete r.desktop,r.mobile=!0)}return r}const la=navigator.userAgent||navigator.vendor||window.opera,hd={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Fe={userAgent:la,is:md(la),has:{touch:ra},within:{iframe:window.self!==window.top}},po={install(e){const{$q:t}=e;Ut.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Fe),Ut.value=!1}),t.platform=l.reactive(this)):t.platform=this}};{let e;ct(Fe.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(po,Fe),Ut.value===!0&&(Object.assign(po,dr,hd),dr=null)}function be(e){return l.markRaw(l.defineComponent(e))}function gd(e){return l.markRaw(e)}const _o=(e,t)=>{const n=l.reactive(e);for(const o in e)ct(t,o,()=>n[o],r=>{n[o]=r});return t},Qe={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(Qe,{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 pn(){}function aa(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 pd(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}}function At(e){e.stopPropagation()}function St(e){e.cancelable!==!1&&e.preventDefault()}function ze(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function fr(e,t,n){const o=`__q_${t}_evt`;e[o]=e[o]!==void 0?e[o].concat(n):n,n.forEach(r=>{r[0].addEventListener(r[1],e[r[2]],Qe[r[3]])})}function ia(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],Qe[o[3]])}),e[n]=void 0)}function mr(e,t=250,n){let o=null;function r(){const a=arguments,i=()=>{o=null,e.apply(this,a)};o!==null&&clearTimeout(o),o=setTimeout(i,t)}return r.cancel=()=>{o!==null&&clearTimeout(o)},r}const hr=["sm","md","lg","xl"],{passive:sa}=Qe,_d=_o({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:pn,setDebounce:pn,install({$q:e,onSSRHydrated:t}){var c;if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,o=n||window,r=document.scrollingElement||document.documentElement,a=n===void 0||Fe.is.mobile===!0?()=>[Math.max(window.innerWidth,r.clientWidth),Math.max(window.innerHeight,r.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-r.clientWidth,n.height*n.scale+window.innerHeight-r.clientHeight],i=((c=e.config.screen)==null?void 0:c.bodyClasses)===!0;this.__update=h=>{const[m,_]=a();if(_!==this.height&&(this.height=_),m!==this.width)this.width=m;else if(h!==!0)return;let v=this.sizes;this.gt.xs=m>=v.sm,this.gt.sm=m>=v.md,this.gt.md=m>=v.lg,this.gt.lg=m>=v.xl,this.lt.sm=m<v.sm,this.lt.md=m<v.md,this.lt.lg=m<v.lg,this.lt.xl=m<v.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,v=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",v!==this.name&&(i===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${v}`)),this.name=v)};let s,u={},f=16;this.setSizes=h=>{hr.forEach(m=>{h[m]!==void 0&&(u[m]=h[m])})},this.setDebounce=h=>{f=h};const d=()=>{const h=getComputedStyle(document.body);h.getPropertyValue("--q-size-sm")&&hr.forEach(m=>{this.sizes[m]=parseInt(h.getPropertyValue(`--q-size-${m}`),10)}),this.setSizes=m=>{hr.forEach(_=>{m[_]&&(this.sizes[_]=m[_])}),this.__update(!0)},this.setDebounce=m=>{s!==void 0&&o.removeEventListener("resize",s,sa),s=m>0?mr(this.__update,m):this.__update,o.addEventListener("resize",s,sa)},this.setDebounce(f),Object.keys(u).length!==0?(this.setSizes(u),u=void 0):this.__update(),i===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};Ut.value===!0?t.push(d):d()}}),et=_o({isActive:!1,mode:!1},{__media:void 0,set(e){et.mode=e,e==="auto"?(et.__media===void 0&&(et.__media=window.matchMedia("(prefers-color-scheme: dark)"),et.__updateMedia=()=>{et.set("auto")},et.__media.addListener(et.__updateMedia)),e=et.__media.matches):et.__media!==void 0&&(et.__media.removeListener(et.__updateMedia),et.__media=void 0),et.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){et.set(et.isActive===!1)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function bd(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let ua=!1;function vd(e){ua=e.isComposing===!0}function gr(e){return ua===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Jt(e,t){return gr(e)===!0?!1:[].concat(t).includes(e.keyCode)}function ca(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function yd({is:e,has:t,within:n},o){const r=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const a=ca(e);a!==void 0&&r.push("platform-"+a)}if(e.nativeMobile===!0){const a=e.nativeMobileWrapper;r.push(a),r.push("native-mobile"),e.ios===!0&&(o[a]===void 0||o[a].iosStatusBarPadding!==!1)&&r.push("q-ios-padding")}else e.electron===!0?r.push("electron"):e.bex===!0&&r.push("bex");return n.iframe===!0&&r.push("within-iframe"),r}function Ed(){const{is:e}=Fe,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const r=ca(e);r!==void 0&&n.add(`platform-${r}`)}}Fe.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),Fe.within.iframe===!0&&n.add("within-iframe");const o=Array.from(n).join(" ");t!==o&&(document.body.className=o)}function Sd(e){for(const t in e)bd(t,e[t])}const Cd={install(e){if(this.__installed!==!0){if(Ut.value===!0)Ed();else{const{$q:t}=e;t.config.brand!==void 0&&Sd(t.config.brand);const n=yd(Fe,t.config);document.body.classList.add.apply(document.body.classList,n)}Fe.is.ios===!0&&document.body.addEventListener("touchstart",pn),window.addEventListener("keydown",vd,!0)}}},da=()=>!0;function kd(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function wd(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 Td(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return da;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(kd).map(wd)),()=>t.includes(window.location.hash)}const $n={__history:[],add:pn,remove:pn,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=Fe.is;if(t!==!0&&n!==!0)return;const o=e.config[t===!0?"cordova":"capacitor"];if((o==null?void 0:o.backButton)===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=i=>{i.condition===void 0&&(i.condition=da),this.__history.push(i)},this.remove=i=>{const s=this.__history.indexOf(i);s>=0&&this.__history.splice(s,1)};const r=Td(Object.assign({backButtonExit:!0},o)),a=()=>{if(this.__history.length){const i=this.__history[this.__history.length-1];i.condition()===!0&&(this.__history.pop(),i.handler())}else r()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",a,!1)}):window.Capacitor.Plugins.App.addListener("backButton",a)}},pr={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days",prevMonth:"Previous month",nextMonth:"Next month",prevYear:"Previous year",nextYear:"Next year",today:"Today",prevRangeYears:e=>`Previous ${e} years`,nextRangeYears:e=>`Next ${e} years`},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},pagination:{first:"First page",prev:"Previous page",next:"Next page",last:"Last page"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function fa(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const Dt=_o({__qLang:{}},{getLocale:fa,set(e=pr,t){const n={...e,rtl:e.rtl===!0,getLocale:fa};{if(n.set=Dt.set,Dt.__langConfig===void 0||Dt.__langConfig.noHtmlAttrs!==!0){const o=document.documentElement;o.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),o.setAttribute("lang",n.isoName)}Object.assign(Dt.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=Dt.__qLang,Dt.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(r=>r!=="set"&&r!=="getLocale")}}),this.set(t||pr))}}),Od={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"}},bo=_o({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=bo.set,Object.assign(bo.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,ct(e,"iconMapFn",()=>this.iconMapFn,o=>{this.iconMapFn=o}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(r=>r!=="set")}}),this.set(t||Od))}}),Ad="_q_",Dd="_q_fo_",vo={};let ma=!1;function Id(){ma=!0}function Vt(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(Vt(e[o],t[o])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let a=e.entries();for(o=a.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=a.next()}for(a=e.entries(),o=a.next();o.done!==!0;){if(Vt(o.value[1],t.get(o.value[0]))!==!0)return!1;o=a.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const a=e.entries();for(o=a.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=a.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const r=Object.keys(e).filter(a=>e[a]!==void 0);if(n=r.length,n!==Object.keys(t).filter(a=>t[a]!==void 0).length)return!1;for(o=n;o--!==0;){const a=r[o];if(Vt(e[a],t[a])!==!0)return!1}return!0}return e!==e&&t!==t}function _r(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function yo(e){return Object.prototype.toString.call(e)==="[object Date]"}function br(e){return typeof e=="number"&&isFinite(e)}const ha=[po,Cd,et,_d,$n,Dt,bo];function ga(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function xd(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(Ad,n.$q),ga(n,ha),t.components!==void 0&&Object.values(t.components).forEach(o=>{_r(o)===!0&&o.name!==void 0&&e.component(o.name,o)}),t.directives!==void 0&&Object.values(t.directives).forEach(o=>{_r(o)===!0&&o.name!==void 0&&e.directive(o.name,o)}),t.plugins!==void 0&&ga(n,Object.values(t.plugins).filter(o=>typeof o.install=="function"&&ha.includes(o)===!1)),Ut.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(o=>{o()}),n.$q.onSSRHydrated=()=>{}})}const Nd={name:"Quasar",version:"2.18.1",install:function(e,t={}){const n={version:"2.18.1"};ma===!1?(t.config!==void 0&&Object.assign(vo,t.config),n.config={...vo},Id()):n.config=t.config||{},xd(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},lang:Dt,iconSet:bo},dt={dark:{type:Boolean,default:null}};function ft(e,t){return l.computed(()=>e.dark===null?t.dark.isActive:e.dark)}const Pd={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},vr={xs:2,sm:4,md:8,lg:16,xl:24},pa=be({name:"QSeparator",props:{...dt,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=l.getCurrentInstance(),n=ft(e,t.proxy.$q),o=l.computed(()=>e.vertical===!0?"vertical":"horizontal"),r=l.computed(()=>` q-separator--${o.value}`),a=l.computed(()=>e.inset!==!1?`${r.value}-${Pd[e.inset]}`:""),i=l.computed(()=>`q-separator${r.value}${a.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(n.value===!0?" q-separator--dark":"")),s=l.computed(()=>{const u={};if(e.size!==void 0&&(u[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const f=e.spaced===!0?`${vr.md}px`:e.spaced in vr?`${vr[e.spaced]}px`:e.spaced,d=e.vertical===!0?["Left","Right"]:["Top","Bottom"];u[`margin${d[0]}`]=u[`margin${d[1]}`]=f}return u});return()=>l.h("hr",{class:i.value,style:s.value,"aria-orientation":o.value})}}),yr={xs:18,sm:24,md:32,lg:38,xl:46},Un={size:String};function Hn(e,t=yr){return l.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function ke(e,t){return e!==void 0&&e()||t}function _a(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function Rt(e,t){return e!==void 0?t.concat(e()):t}function Ld(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Vd(e,t,n,o,r,a){t.key=o+r;const i=l.h(e,t,n);return r===!0?l.withDirectives(i,a()):i}const ba="0 0 24 24",Er=e=>e,Sr=e=>`ionicons ${e}`,va={"mdi-":e=>`mdi ${e}`,"icon-":Er,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Sr,"ion-ios":Sr,"ion-logo":Sr,"iconfont ":Er,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`,"i-":Er},ya={o_:"-outlined",r_:"-round",s_:"-sharp"},Ea={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Rd=new RegExp("^("+Object.keys(va).join("|")+")"),Md=new RegExp("^("+Object.keys(ya).join("|")+")"),Sa=new RegExp("^("+Object.keys(Ea).join("|")+")"),Bd=/^[Mm]\s?[-+]?\.?\d/,Fd=/^img:/,qd=/^svguse:/,$d=/^ion-/,Ud=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Ve=be({name:"QIcon",props:{...Un,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=l.getCurrentInstance(),o=Hn(e),r=l.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),a=l.computed(()=>{let i,s=e.name;if(s==="none"||!s)return{none:!0};if(n.iconMapFn!==null){const d=n.iconMapFn(s);if(d!==void 0)if(d.icon!==void 0){if(s=d.icon,s==="none"||!s)return{none:!0}}else return{cls:d.cls,content:d.content!==void 0?d.content:" "}}if(Bd.test(s)===!0){const[d,c=ba]=s.split("|");return{svg:!0,viewBox:c,nodes:d.split("&&").map(h=>{const[m,_,v]=h.split("@@");return l.h("path",{style:_,d:m,transform:v})})}}if(Fd.test(s)===!0)return{img:!0,src:s.substring(4)};if(qd.test(s)===!0){const[d,c=ba]=s.split("|");return{svguse:!0,src:d.substring(7),viewBox:c}}let u=" ";const f=s.match(Rd);if(f!==null)i=va[f[1]](s);else if(Ud.test(s)===!0)i=s;else if($d.test(s)===!0)i=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(Sa.test(s)===!0){i="notranslate material-symbols";const d=s.match(Sa);d!==null&&(s=s.substring(6),i+=Ea[d[1]]),u=s}else{i="notranslate material-icons";const d=s.match(Md);d!==null&&(s=s.substring(2),i+=ya[d[1]]),u=s}return{cls:i,content:u}});return()=>{const i={class:r.value,style:o.value,"aria-hidden":"true"};return a.value.none===!0?l.h(e.tag,i,ke(t.default)):a.value.img===!0?l.h(e.tag,i,Rt(t.default,[l.h("img",{src:a.value.src})])):a.value.svg===!0?l.h(e.tag,i,Rt(t.default,[l.h("svg",{viewBox:a.value.viewBox||"0 0 24 24"},a.value.nodes)])):a.value.svguse===!0?l.h(e.tag,i,Rt(t.default,[l.h("svg",{viewBox:a.value.viewBox},[l.h("use",{"xlink:href":a.value.src})])])):(a.value.cls!==void 0&&(i.class+=" "+a.value.cls),l.h(e.tag,i,Rt(t.default,[a.value.content])))}}}),Cr=be({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const o=l.getCurrentInstance(),{proxy:{$q:r}}=o,a=i=>{n("click",i)};return()=>{if(e.props===void 0)return l.h("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:a},ke(t.default));let i,s;const u=o.vnode.key;if(u){if(i=e.props.colsMap[u],i===void 0)return}else i=e.props.col;if(i.sortable===!0){const d=i.align==="right"?"unshift":"push";s=_a(t.default,[]),s[d](l.h(Ve,{class:i.__iconClass,name:r.iconSet.table.arrowUp}))}else s=ke(t.default);const f={class:i.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:i.headerStyle,onClick:d=>{i.sortable===!0&&e.props.sort(i),a(d)}};return l.h("th",f,s)}}}),Hd=["ul","ol"],Ca=be({name:"QList",props:{...dt,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=l.getCurrentInstance(),o=ft(e,n.proxy.$q),r=l.computed(()=>Hd.includes(e.tag)?null:"list"),a=l.computed(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(o.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>l.h(e.tag,{class:a.value,role:r.value},ke(t.default))}}),zd=["horizontal","vertical","cell","none"],ka=be({name:"QMarkupTable",props:{...dt,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>zd.includes(e)}},setup(e,{slots:t}){const n=l.getCurrentInstance(),o=ft(e,n.proxy.$q),r=l.computed(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(o.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>l.h("div",{class:r.value},[l.h("table",{class:"q-table"},ke(t.default))])}});function wa(e,t){return l.h("div",e,[l.h("table",{class:"q-table"},t)])}let Eo=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,Eo=e.scrollLeft>=0,e.remove()}const Ct=1e3,jd=["start","center","end","start-force","center-force","end-force"],Ta=Array.prototype.filter,Kd=window.getComputedStyle(document.body).overflowAnchor===void 0?pn:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];Ta.call(n,r=>r.dataset&&r.dataset.qVsAnchor!==void 0).forEach(r=>{delete r.dataset.qVsAnchor});const o=n[t];o!=null&&o.dataset&&(o.dataset.qVsAnchor="")}))};function _n(e,t){return e+t}function kr(e,t,n,o,r,a,i,s){const u=e===window?document.scrollingElement||document.documentElement:e,f=r===!0?"offsetWidth":"offsetHeight",d={scrollStart:0,scrollViewSize:-i-s,scrollMaxSize:0,offsetStart:-i,offsetEnd:-s};if(r===!0?(e===window?(d.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,d.scrollViewSize+=document.documentElement.clientWidth):(d.scrollStart=u.scrollLeft,d.scrollViewSize+=u.clientWidth),d.scrollMaxSize=u.scrollWidth,a===!0&&(d.scrollStart=(Eo===!0?d.scrollMaxSize-d.scrollViewSize:0)-d.scrollStart)):(e===window?(d.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,d.scrollViewSize+=document.documentElement.clientHeight):(d.scrollStart=u.scrollTop,d.scrollViewSize+=u.clientHeight),d.scrollMaxSize=u.scrollHeight),n!==null)for(let c=n.previousElementSibling;c!==null;c=c.previousElementSibling)c.classList.contains("q-virtual-scroll--skip")===!1&&(d.offsetStart+=c[f]);if(o!==null)for(let c=o.nextElementSibling;c!==null;c=c.nextElementSibling)c.classList.contains("q-virtual-scroll--skip")===!1&&(d.offsetEnd+=c[f]);if(t!==e){const c=u.getBoundingClientRect(),h=t.getBoundingClientRect();r===!0?(d.offsetStart+=h.left-c.left,d.offsetEnd-=h.width):(d.offsetStart+=h.top-c.top,d.offsetEnd-=h.height),e!==window&&(d.offsetStart+=d.scrollStart),d.offsetEnd+=d.scrollMaxSize-d.offsetStart}return d}function Oa(e,t,n,o){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(o===!0&&(t=(Eo===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):n===!0?(o===!0&&(t=(Eo===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function zn(e,t,n,o){if(n>=o)return 0;const r=t.length,a=Math.floor(n/Ct),i=Math.floor((o-1)/Ct)+1;let s=e.slice(a,i).reduce(_n,0);return n%Ct!==0&&(s-=t.slice(a*Ct,n).reduce(_n,0)),o%Ct!==0&&o!==r&&(s-=t.slice(o,i*Ct).reduce(_n,0)),s}const Aa={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},Da=Object.keys(Aa),wr={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Aa};function Ia({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:o}){const r=l.getCurrentInstance(),{props:a,emit:i,proxy:s}=r,{$q:u}=s;let f,d,c,h=[],m;const _=l.ref(0),v=l.ref(0),p=l.ref({}),g=l.ref(null),b=l.ref(null),S=l.ref(null),y=l.ref({from:0,to:0}),A=l.computed(()=>a.tableColspan!==void 0?a.tableColspan:100);o===void 0&&(o=l.computed(()=>a.virtualScrollItemSize));const I=l.computed(()=>o.value+";"+a.virtualScrollHorizontal),T=l.computed(()=>I.value+";"+a.virtualScrollSliceRatioBefore+";"+a.virtualScrollSliceRatioAfter);l.watch(T,()=>{W()}),l.watch(I,M);function M(){ne(d,!0)}function x(O){ne(O===void 0?d:O)}function P(O,w){const j=t();if(j==null||j.nodeType===8)return;const le=kr(j,n(),g.value,b.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd);c!==le.scrollViewSize&&W(le.scrollViewSize),D(j,le,Math.min(e.value-1,Math.max(0,parseInt(O,10)||0)),0,jd.indexOf(w)!==-1?w:d!==-1&&O>d?"end":"start")}function F(){const O=t();if(O==null||O.nodeType===8)return;const w=kr(O,n(),g.value,b.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd),j=e.value-1,le=w.scrollMaxSize-w.offsetStart-w.offsetEnd-v.value;if(f===w.scrollStart)return;if(w.scrollMaxSize<=0){D(O,w,0,0);return}c!==w.scrollViewSize&&W(w.scrollViewSize),K(y.value.from);const se=Math.floor(w.scrollMaxSize-Math.max(w.scrollViewSize,w.offsetEnd)-Math.min(m[j],w.scrollViewSize/2));if(se>0&&Math.ceil(w.scrollStart)>=se){D(O,w,j,w.scrollMaxSize-w.offsetEnd-h.reduce(_n,0));return}let U=0,G=w.scrollStart-w.offsetStart,ge=G;if(G<=le&&G+w.scrollViewSize>=_.value)G-=_.value,U=y.value.from,ge=G;else for(let z=0;G>=h[z]&&U<j;z++)G-=h[z],U+=Ct;for(;G>0&&U<j;)G-=m[U],G>-w.scrollViewSize?(U++,ge=G):ge=m[U]+G;D(O,w,U,ge)}function D(O,w,j,le,se){const U=typeof se=="string"&&se.indexOf("-force")!==-1,G=U===!0?se.replace("-force",""):se,ge=G!==void 0?G:"start";let z=Math.max(0,j-p.value[ge]),Ee=z+p.value.total;Ee>e.value&&(Ee=e.value,z=Math.max(0,Ee-p.value.total)),f=w.scrollStart;const Ne=z!==y.value.from||Ee!==y.value.to;if(Ne===!1&&G===void 0){H(j);return}const{activeElement:vt}=document,Le=S.value;Ne===!0&&Le!==null&&Le!==vt&&Le.contains(vt)===!0&&(Le.addEventListener("focusout",V),setTimeout(()=>{Le==null||Le.removeEventListener("focusout",V)})),Kd(Le,j-z);const ut=G!==void 0?m.slice(z,j).reduce(_n,0):0;if(Ne===!0){const We=Ee>=y.value.from&&z<=y.value.to?y.value.to:Ee;y.value={from:z,to:We},_.value=zn(h,m,0,z),v.value=zn(h,m,Ee,e.value),requestAnimationFrame(()=>{y.value.to!==Ee&&f===w.scrollStart&&(y.value={from:y.value.from,to:Ee},v.value=zn(h,m,Ee,e.value))})}requestAnimationFrame(()=>{if(f!==w.scrollStart)return;Ne===!0&&K(z);const We=m.slice(z,j).reduce(_n,0),Ze=We+w.offsetStart+_.value,yt=Ze+m[j];let E=Ze+le;if(G!==void 0){const k=We-ut,R=w.scrollStart+k;E=U!==!0&&R<Ze&&yt<R+w.scrollViewSize?R:G==="end"?yt-w.scrollViewSize:Ze-(G==="start"?0:Math.round((w.scrollViewSize-m[j])/2))}f=E,Oa(O,E,a.virtualScrollHorizontal,u.lang.rtl),H(j)})}function K(O){const w=S.value;if(w){const j=Ta.call(w.children,z=>z.classList&&z.classList.contains("q-virtual-scroll--skip")===!1),le=j.length,se=a.virtualScrollHorizontal===!0?z=>z.getBoundingClientRect().width:z=>z.offsetHeight;let U=O,G,ge;for(let z=0;z<le;){for(G=se(j[z]),z++;z<le&&j[z].classList.contains("q-virtual-scroll--with-prev")===!0;)G+=se(j[z]),z++;ge=G-m[U],ge!==0&&(m[U]+=ge,h[Math.floor(U/Ct)]+=ge),U++}}}function V(){var O;(O=S.value)==null||O.focus()}function ne(O,w){const j=1*o.value;(w===!0||Array.isArray(m)===!1)&&(m=[]);const le=m.length;m.length=e.value;for(let U=e.value-1;U>=le;U--)m[U]=j;const se=Math.floor((e.value-1)/Ct);h=[];for(let U=0;U<=se;U++){let G=0;const ge=Math.min((U+1)*Ct,e.value);for(let z=U*Ct;z<ge;z++)G+=m[z];h.push(G)}d=-1,f=void 0,_.value=zn(h,m,0,y.value.from),v.value=zn(h,m,y.value.to,e.value),O>=0?(K(y.value.from),l.nextTick(()=>{P(O)})):Q()}function W(O){if(O===void 0&&typeof window<"u"){const G=t();G!=null&&G.nodeType!==8&&(O=kr(G,n(),g.value,b.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd).scrollViewSize)}c=O;const w=parseFloat(a.virtualScrollSliceRatioBefore)||0,j=parseFloat(a.virtualScrollSliceRatioAfter)||0,le=1+w+j,se=O===void 0||O<=0?1:Math.ceil(O/o.value),U=Math.max(1,se,Math.ceil((a.virtualScrollSliceSize>0?a.virtualScrollSliceSize:10)/le));p.value={total:Math.ceil(U*le),start:Math.ceil(U*w),center:Math.ceil(U*(.5+w)),end:Math.ceil(U*(1+w)),view:se}}function $(O,w){const j=a.virtualScrollHorizontal===!0?"width":"height",le={["--q-virtual-scroll-item-"+j]:o.value+"px"};return[O==="tbody"?l.h(O,{class:"q-virtual-scroll__padding",key:"before",ref:g},[l.h("tr",[l.h("td",{style:{[j]:`${_.value}px`,...le},colspan:A.value})])]):l.h(O,{class:"q-virtual-scroll__padding",key:"before",ref:g,style:{[j]:`${_.value}px`,...le}}),l.h(O,{class:"q-virtual-scroll__content",key:"content",ref:S,tabindex:-1},w.flat()),O==="tbody"?l.h(O,{class:"q-virtual-scroll__padding",key:"after",ref:b},[l.h("tr",[l.h("td",{style:{[j]:`${v.value}px`,...le},colspan:A.value})])]):l.h(O,{class:"q-virtual-scroll__padding",key:"after",ref:b,style:{[j]:`${v.value}px`,...le}})]}function H(O){d!==O&&(a.onVirtualScroll!==void 0&&i("virtualScroll",{index:O,from:y.value.from,to:y.value.to-1,direction:O<d?"decrease":"increase",ref:s}),d=O)}W();const Q=mr(F,u.platform.is.ios===!0?120:35);l.onBeforeMount(()=>{W()});let oe=!1;return l.onDeactivated(()=>{oe=!0}),l.onActivated(()=>{if(oe!==!0)return;const O=t();f!==void 0&&O!==void 0&&O!==null&&O.nodeType!==8?Oa(O,f,a.virtualScrollHorizontal,u.lang.rtl):P(d)}),l.onBeforeUnmount(()=>{Q.cancel()}),Object.assign(s,{scrollTo:P,reset:M,refresh:x}),{virtualScrollSliceRange:y,virtualScrollSliceSizeComputed:p,setVirtualScrollSize:W,onVirtualScrollEvt:Q,localResetVirtualScroll:ne,padVirtualScroll:$,scrollTo:P,reset:M,refresh:x}}function Tr(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function Wd(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=l.unref(e);if(t)return t.$el||t}function xa(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}const Na=[Element,String],Yd=[null,document,document.body,document.scrollingElement,document.documentElement];function Pa(e,t){let n=Wd(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return Yd.includes(n)?window:n}function Gd(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function Qd(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let So;function Xd(){if(So!==void 0)return So;const e=document.createElement("p"),t=document.createElement("div");Tr(e,{width:"100%",height:"200px"}),Tr(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=t.clientWidth),t.remove(),So=n-o,So}function Zd(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}const Jd={list:Ca,table:ka},ef=["list","table","__qtable"],tf=be({name:"QVirtualScroll",props:{...wr,type:{type:String,default:"list",validator:e=>ef.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:Na},setup(e,{slots:t,attrs:n}){let o;const r=l.ref(null),a=l.computed(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:i,localResetVirtualScroll:s,padVirtualScroll:u,onVirtualScrollEvt:f}=Ia({virtualScrollLength:a,getVirtualScrollTarget:_,getVirtualScrollEl:m}),d=l.computed(()=>{if(a.value===0)return[];const b=(S,y)=>({index:i.value.from+y,item:S});return e.itemsFn===void 0?e.items.slice(i.value.from,i.value.to).map(b):e.itemsFn(i.value.from,i.value.to-i.value.from).map(b)}),c=l.computed(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),h=l.computed(()=>e.scrollTarget!==void 0?{}:{tabindex:0});l.watch(a,()=>{s()}),l.watch(()=>e.scrollTarget,()=>{p(),v()});function m(){return r.value.$el||r.value}function _(){return o}function v(){o=Pa(m(),e.scrollTarget),o.addEventListener("scroll",f,Qe.passive)}function p(){o!==void 0&&(o.removeEventListener("scroll",f,Qe.passive),o=void 0)}function g(){let b=u(e.type==="list"?"div":"tbody",d.value.map(t.default));return t.before!==void 0&&(b=t.before().concat(b)),Rt(t.after,b)}return l.onBeforeMount(()=>{s()}),l.onMounted(()=>{v()}),l.onActivated(()=>{v()}),l.onDeactivated(()=>{p()}),l.onBeforeUnmount(()=>{p()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?wa({ref:r,class:"q-table__middle "+c.value},g()):l.h(Jd[e.type],{...n,ref:r,class:[n.class,c.value],...h.value},g)}}}),nf={size:{type:[String,Number],default:"1em"},color:String};function of(e){return{cSize:l.computed(()=>e.size in yr?`${yr[e.size]}px`:e.size),classes:l.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const La=be({name:"QSpinner",props:{...nf,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=of(e);return()=>l.h("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[l.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});let Or,Co=0;const Xe=new Array(256);for(let e=0;e<256;e++)Xe[e]=(e+256).toString(16).substring(1);const rf=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{const n=[];for(let o=t;o>0;o--)n.push(Math.floor(Math.random()*256));return n}})(),Va=4096;function Ar(){(Or===void 0||Co+16>Va)&&(Co=0,Or=rf(Va));const e=Array.prototype.slice.call(Or,Co,Co+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,Xe[e[0]]+Xe[e[1]]+Xe[e[2]]+Xe[e[3]]+"-"+Xe[e[4]]+Xe[e[5]]+"-"+Xe[e[6]]+Xe[e[7]]+"-"+Xe[e[8]]+Xe[e[9]]+"-"+Xe[e[10]]+Xe[e[11]]+Xe[e[12]]+Xe[e[13]]+Xe[e[14]]+Xe[e[15]]}function lf(e){return e??null}function Ra(e,t){return e??(t===!0?`f_${Ar()}`:null)}function af({getValue:e,required:t=!0}={}){if(Ut.value===!0){const n=e!==void 0?l.ref(lf(e())):l.ref(null);return t===!0&&n.value===null&&l.onMounted(()=>{n.value=`f_${Ar()}`}),e!==void 0&&l.watch(e,o=>{n.value=Ra(o,t)}),n}return e!==void 0?l.computed(()=>Ra(e(),t)):l.ref(`f_${Ar()}`)}const Ma=/^on[A-Z]/;function sf(){const{attrs:e,vnode:t}=l.getCurrentInstance(),n={listeners:l.ref({}),attributes:l.ref({})};function o(){const r={},a={};for(const i in e)i!=="class"&&i!=="style"&&Ma.test(i)===!1&&(r[i]=e[i]);for(const i in t.props)Ma.test(i)===!0&&(a[i]=t.props[i]);n.attributes.value=r,n.listeners.value=a}return l.onBeforeUpdate(o),o(),n}function uf({validate:e,resetValidation:t,requiresQForm:n}){const o=l.inject(Dd,!1);if(o!==!1){const{props:r,proxy:a}=l.getCurrentInstance();Object.assign(a,{validate:e,resetValidation:t}),l.watch(()=>r.disable,i=>{i===!0?(typeof t=="function"&&t(),o.unbindComponent(a)):o.bindComponent(a)}),l.onMounted(()=>{r.disable!==!0&&o.bindComponent(a)}),l.onBeforeUnmount(()=>{r.disable!==!0&&o.unbindComponent(a)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const Ba=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Fa=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,qa=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,ko=/^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])\)$/,wo=/^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)\)$/,Dr={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=>Ba.test(e),hexaColor:e=>Fa.test(e),hexOrHexaColor:e=>qa.test(e),rgbColor:e=>ko.test(e),rgbaColor:e=>wo.test(e),rgbOrRgbaColor:e=>ko.test(e)||wo.test(e),hexOrRgbColor:e=>Ba.test(e)||ko.test(e),hexaOrRgbaColor:e=>Fa.test(e)||wo.test(e),anyColor:e=>qa.test(e)||ko.test(e)||wo.test(e)},cf=[!0,!1,"ondemand"],df={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>cf.includes(e)}};function ff(e,t){const{props:n,proxy:o}=l.getCurrentInstance(),r=l.ref(!1),a=l.ref(null),i=l.ref(!1);uf({validate:v,resetValidation:_});let s=0,u;const f=l.computed(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),d=l.computed(()=>n.disable!==!0&&f.value===!0&&t.value===!1),c=l.computed(()=>n.error===!0||r.value===!0),h=l.computed(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:a.value);l.watch(()=>n.modelValue,()=>{i.value=!0,d.value===!0&&n.lazyRules===!1&&p()});function m(){n.lazyRules!=="ondemand"&&d.value===!0&&i.value===!0&&p()}l.watch(()=>n.reactiveRules,g=>{g===!0?u===void 0&&(u=l.watch(()=>n.rules,m,{immediate:!0,deep:!0})):u!==void 0&&(u(),u=void 0)},{immediate:!0}),l.watch(()=>n.lazyRules,m),l.watch(e,g=>{g===!0?i.value=!0:d.value===!0&&n.lazyRules!=="ondemand"&&p()});function _(){s++,t.value=!1,i.value=!1,r.value=!1,a.value=null,p.cancel()}function v(g=n.modelValue){if(n.disable===!0||f.value===!1)return!0;const b=++s,S=t.value!==!0?()=>{i.value=!0}:()=>{},y=(I,T)=>{I===!0&&S(),r.value=I,a.value=T||null,t.value=!1},A=[];for(let I=0;I<n.rules.length;I++){const T=n.rules[I];let M;if(typeof T=="function"?M=T(g,Dr):typeof T=="string"&&Dr[T]!==void 0&&(M=Dr[T](g)),M===!1||typeof M=="string")return y(!0,M),!1;M!==!0&&M!==void 0&&A.push(M)}return A.length===0?(y(!1),!0):(t.value=!0,Promise.all(A).then(I=>{if(I===void 0||Array.isArray(I)===!1||I.length===0)return b===s&&y(!1),!0;const T=I.find(M=>M===!1||typeof M=="string");return b===s&&y(T!==void 0,T),T===void 0},I=>(b===s&&(console.error(I),y(!0)),!1)))}const p=mr(v,0);return l.onBeforeUnmount(()=>{u==null||u(),p.cancel()}),Object.assign(o,{resetValidation:_,validate:v}),ct(o,"hasError",()=>c.value),{isDirtyModel:i,hasRules:f,hasError:c,errorMessage:h,validate:v,resetValidation:_}}let en=[],jn=[];function $a(e){jn=jn.filter(t=>t!==e)}function mf(e){$a(e),jn.push(e)}function Ua(e){$a(e),jn.length===0&&en.length!==0&&(en[en.length-1](),en=[])}function To(e){jn.length===0?e():en.push(e)}function hf(e){en=en.filter(t=>t!==e)}function Kn(e){return e!=null&&(""+e).length!==0}const Oo={...{...dt,...df,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},maxlength:[Number,String]},Ir=["update:modelValue","clear","focus","blur"];function xr({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:o,proxy:r}=l.getCurrentInstance(),a=ft(o,r.$q),i=af({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?l.computed(()=>o.tag):{value:"label"},isDark:a,editable:l.computed(()=>o.disable!==!0&&o.readonly!==!0),innerLoading:l.ref(!1),focused:l.ref(!1),hasPopupOpen:!1,splitAttrs:sf(),targetUid:i,rootRef:l.ref(null),targetRef:l.ref(null),controlRef:l.ref(null)}}function Nr(e){const{props:t,emit:n,slots:o,attrs:r,proxy:a}=l.getCurrentInstance(),{$q:i}=a;let s=null;e.hasValue===void 0&&(e.hasValue=l.computed(()=>Kn(t.modelValue))),e.emitValue===void 0&&(e.emitValue=H=>{n("update:modelValue",H)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:x,onFocusout:P}),Object.assign(e,{clearValue:F,onControlFocusin:x,onControlFocusout:P,focus:T}),e.computedCounter===void 0&&(e.computedCounter=l.computed(()=>{if(t.counter!==!1){const H=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,Q=t.maxlength!==void 0?t.maxlength:t.maxValues;return H+(Q!==void 0?" / "+Q:"")}}));const{isDirtyModel:u,hasRules:f,hasError:d,errorMessage:c,resetValidation:h}=ff(e.focused,e.innerLoading),m=e.floatingLabel!==void 0?l.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):l.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),_=l.computed(()=>t.bottomSlots===!0||t.hint!==void 0||f.value===!0||t.counter===!0||t.error!==null),v=l.computed(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),p=l.computed(()=>`q-field row no-wrap items-start q-field--${v.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(m.value===!0?" q-field--float":"")+(b.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(d.value===!0?" q-field--error":"")+(d.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&_.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),g=l.computed(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(d.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),b=l.computed(()=>t.labelSlot===!0||t.label!==void 0),S=l.computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&d.value!==!0?` text-${t.labelColor}`:"")),y=l.computed(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:m.value,modelValue:t.modelValue,emitValue:e.emitValue})),A=l.computed(()=>{const H={};return e.targetUid.value&&(H.for=e.targetUid.value),t.disable===!0&&(H["aria-disabled"]="true"),H});function I(){var oe;const H=document.activeElement;let Q=(oe=e.targetRef)==null?void 0:oe.value;Q&&(H===null||H.id!==e.targetUid.value)&&(Q.hasAttribute("tabindex")===!0||(Q=Q.querySelector("[tabindex]")),Q!==H&&(Q==null||Q.focus({preventScroll:!0})))}function T(){To(I)}function M(){hf(I);const H=document.activeElement;H!==null&&e.rootRef.value.contains(H)&&H.blur()}function x(H){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",H))}function P(H,Q){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,n("blur",H)),Q==null||Q())})}function F(H){var Q;ze(H),i.platform.is.mobile!==!0?(((Q=e.targetRef)==null?void 0:Q.value)||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),n("update:modelValue",null),e.changeEvent===!0&&n("change",null),n("clear",t.modelValue),l.nextTick(()=>{const oe=u.value;h(),u.value=oe})}function D(H){[13,32].includes(H.keyCode)&&F(H)}function K(){const H=[];return o.prepend!==void 0&&H.push(l.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:St},o.prepend())),H.push(l.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},V())),d.value===!0&&t.noErrorIcon===!1&&H.push(W("error",[l.h(Ve,{name:i.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?H.push(W("inner-loading-append",o.loading!==void 0?o.loading():[l.h(La,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&H.push(W("inner-clearable-append",[l.h(Ve,{class:"q-field__focusable-action",name:t.clearIcon||i.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":i.lang.label.clear,onKeyup:D,onClick:F})])),o.append!==void 0&&H.push(l.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:St},o.append())),e.getInnerAppend!==void 0&&H.push(W("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&H.push(e.getControlChild()),H}function V(){const H=[];return t.prefix!==void 0&&t.prefix!==null&&H.push(l.h("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&H.push(e.getShadowControl()),e.getControl!==void 0?H.push(e.getControl()):o.rawControl!==void 0?H.push(o.rawControl()):o.control!==void 0&&H.push(l.h("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},o.control(y.value))),b.value===!0&&H.push(l.h("div",{class:S.value},ke(o.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&H.push(l.h("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),H.concat(ke(o.default))}function ne(){let H,Q;d.value===!0?c.value!==null?(H=[l.h("div",{role:"alert"},c.value)],Q=`q--slot-error-${c.value}`):(H=ke(o.error),Q="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(H=[l.h("div",t.hint)],Q=`q--slot-hint-${t.hint}`):(H=ke(o.hint),Q="q--slot-hint"));const oe=t.counter===!0||o.counter!==void 0;if(t.hideBottomSpace===!0&&oe===!1&&H===void 0)return;const O=l.h("div",{key:Q,class:"q-field__messages col"},H);return l.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:St},[t.hideBottomSpace===!0?O:l.h(l.Transition,{name:"q-transition--field-message"},()=>O),oe===!0?l.h("div",{class:"q-field__counter"},o.counter!==void 0?o.counter():e.computedCounter.value):null])}function W(H,Q){return Q===null?null:l.h("div",{key:H,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},Q)}let $=!1;return l.onDeactivated(()=>{$=!0}),l.onActivated(()=>{$===!0&&t.autofocus===!0&&a.focus()}),t.autofocus===!0&&l.onMounted(()=>{a.focus()}),l.onBeforeUnmount(()=>{s!==null&&clearTimeout(s)}),Object.assign(a,{focus:T,blur:M}),function(){const Q=e.getControl===void 0&&o.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...A.value}:A.value;return l.h(e.tag.value,{ref:e.rootRef,class:[p.value,r.class],style:r.style,...Q},[o.before!==void 0?l.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:St},o.before()):null,l.h("div",{class:"q-field__inner relative-position col self-stretch"},[l.h("div",{ref:e.controlRef,class:g.value,tabindex:-1,...e.controlEvents},K()),_.value===!0?ne():null]),o.after!==void 0?l.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:St},o.after()):null])}}const gf=be({name:"QField",inheritAttrs:!1,props:{...Oo,tag:{type:String,default:"label"}},emits:Ir,setup(){return Nr(xr({tagProp:!0}))}});function pf(e,t=250){let n=!1,o;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),o=e.apply(this,arguments)),o}}function Ha(e,t,n,o){n.modifiers.stop===!0&&At(e);const r=n.modifiers.color;let a=n.modifiers.center;a=a===!0||o===!0;const i=document.createElement("span"),s=document.createElement("span"),u=aa(e),{left:f,top:d,width:c,height:h}=t.getBoundingClientRect(),m=Math.sqrt(c*c+h*h),_=m/2,v=`${(c-m)/2}px`,p=a?v:`${u.left-f-_}px`,g=`${(h-m)/2}px`,b=a?g:`${u.top-d-_}px`;s.className="q-ripple__inner",Tr(s,{height:`${m}px`,width:`${m}px`,transform:`translate3d(${p},${b},0) scale3d(.2,.2,1)`,opacity:0}),i.className=`q-ripple${r?" text-"+r:""}`,i.setAttribute("dir","ltr"),i.appendChild(s),t.appendChild(i);const S=()=>{i.remove(),clearTimeout(y)};n.abort.push(S);let y=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${v},${g},0) scale3d(1,1,1)`,s.style.opacity=.2,y=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,y=setTimeout(()=>{i.remove(),n.abort.splice(n.abort.indexOf(S),1)},275)},250)},50)}function za(e,{modifiers:t,value:n,arg:o}){const r=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:r.early===!0,stop:r.stop===!0,center:r.center===!0,color:r.color||o,keyCodes:[].concat(r.keyCodes||13)}}const ja=gd({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const o={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(r){o.enabled===!0&&r.qSkipRipple!==!0&&r.type===(o.modifiers.early===!0?"pointerdown":"click")&&Ha(r,e,o,r.qKeyEvent===!0)},keystart:pf(r=>{o.enabled===!0&&r.qSkipRipple!==!0&&Jt(r,o.modifiers.keyCodes)===!0&&r.type===`key${o.modifiers.early===!0?"down":"up"}`&&Ha(r,e,o,!0)},300)};za(o,t),e.__qripple=o,fr(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&za(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),ia(t,"main"),delete e._qripple)}}),_f={xs:8,sm:10,md:14,lg:20,xl:24},bf=be({name:"QChip",props:{...dt,...Un,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=l.getCurrentInstance(),r=ft(e,o),a=Hn(e,_f),i=l.computed(()=>e.selected===!0||e.icon!==void 0),s=l.computed(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),u=l.computed(()=>e.iconRemove||o.iconSet.chip.remove),f=l.computed(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),d=l.computed(()=>{const p=e.outline===!0&&e.color||e.textColor;return"q-chip row inline no-wrap items-center"+(e.outline===!1&&e.color!==void 0?` bg-${e.color}`:"")+(p?` text-${p} q-chip--colored`:"")+(e.disable===!0?" disabled":"")+(e.dense===!0?" q-chip--dense":"")+(e.outline===!0?" q-chip--outline":"")+(e.selected===!0?" q-chip--selected":"")+(f.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(e.square===!0?" q-chip--square":"")+(r.value===!0?" q-chip--dark q-dark":"")}),c=l.computed(()=>{const p=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},g={...p,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove};return{chip:p,remove:g}});function h(p){p.keyCode===13&&m(p)}function m(p){e.disable||(n("update:selected",!e.selected),n("click",p))}function _(p){(p.keyCode===void 0||p.keyCode===13)&&(ze(p),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function v(){const p=[];f.value===!0&&p.push(l.h("div",{class:"q-focus-helper"})),i.value===!0&&p.push(l.h(Ve,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const g=e.label!==void 0?[l.h("div",{class:"ellipsis"},[e.label])]:void 0;return p.push(l.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Ld(t.default,g))),e.iconRight&&p.push(l.h(Ve,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&p.push(l.h(Ve,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:u.value,...c.value.remove,onClick:_,onKeyup:_})),p}return()=>{if(e.modelValue===!1)return;const p={class:d.value,style:a.value};return f.value===!0&&Object.assign(p,c.value.chip,{onClick:m,onKeyup:h}),Vd("div",p,v(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[ja,e.ripple]])}}});function Pr(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 Lr(e){return e.appContext.config.globalProperties.$router!==void 0}function Ka(e){return e.isUnmounted===!0||e.isDeactivated===!0}function Wa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function Ya(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vf(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(Array.isArray(r)===!1||r.length!==o.length||o.some((a,i)=>a!==r[i]))return!1}return!0}function Ga(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function yf(e,t){return Array.isArray(e)===!0?Ga(e,t):Array.isArray(t)===!0?Ga(t,e):e===t}function Ef(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(yf(e[n],t[n])===!1)return!1;return!0}const Qa={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Sf={...Qa,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Xa({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=l.getCurrentInstance(),{props:o,proxy:r,emit:a}=n,i=Lr(n),s=l.computed(()=>o.disable!==!0&&o.href!==void 0),u=t===!0?l.computed(()=>i===!0&&o.disable!==!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""):l.computed(()=>i===!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),f=l.computed(()=>u.value===!0?b(o.to):null),d=l.computed(()=>f.value!==null),c=l.computed(()=>s.value===!0||d.value===!0),h=l.computed(()=>o.type==="a"||c.value===!0?"a":o.tag||e||"div"),m=l.computed(()=>s.value===!0?{href:o.href,target:o.target}:d.value===!0?{href:f.value.href,target:o.target}:{}),_=l.computed(()=>{if(d.value===!1)return-1;const{matched:A}=f.value,{length:I}=A,T=A[I-1];if(T===void 0)return-1;const M=r.$route.matched;if(M.length===0)return-1;const x=M.findIndex(Ya.bind(null,T));if(x!==-1)return x;const P=Wa(A[I-2]);return I>1&&Wa(T)===P&&M[M.length-1].path!==P?M.findIndex(Ya.bind(null,A[I-2])):x}),v=l.computed(()=>d.value===!0&&_.value!==-1&&vf(r.$route.params,f.value.params)),p=l.computed(()=>v.value===!0&&_.value===r.$route.matched.length-1&&Ef(r.$route.params,f.value.params)),g=l.computed(()=>d.value===!0?p.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":v.value===!0?` ${o.activeClass}`:"":"");function b(A){try{return r.$router.resolve(A)}catch{}return null}function S(A,{returnRouterError:I,to:T=o.to,replace:M=o.replace}={}){if(o.disable===!0)return A.preventDefault(),Promise.resolve(!1);if(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey||A.button!==void 0&&A.button!==0||o.target==="_blank")return Promise.resolve(!1);A.preventDefault();const x=r.$router[M===!0?"replace":"push"](T);return I===!0?x:x.then(()=>{}).catch(()=>{})}function y(A){if(d.value===!0){const I=T=>S(A,T);a("click",A,I),A.defaultPrevented!==!0&&I()}else a("click",A)}return{hasRouterLink:d,hasHrefLink:s,hasLink:c,linkTag:h,resolvedLink:f,linkIsActive:v,linkIsExactActive:p,linkClass:g,linkAttrs:m,getLink:b,navigateToRouterLink:S,navigateOnClick:y}}const Ht=be({name:"QItem",props:{...dt,...Sf,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=l.getCurrentInstance(),r=ft(e,o),{hasLink:a,linkAttrs:i,linkClass:s,linkTag:u,navigateOnClick:f}=Xa(),d=l.ref(null),c=l.ref(null),h=l.computed(()=>e.clickable===!0||a.value===!0||e.tag==="label"),m=l.computed(()=>e.disable!==!0&&h.value===!0),_=l.computed(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(r.value===!0?" q-item--dark":"")+(a.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(m.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),v=l.computed(()=>e.insetLevel===void 0?null:{["padding"+(o.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function p(S){m.value===!0&&(c.value!==null&&S.qAvoidFocus!==!0&&(S.qKeyEvent!==!0&&document.activeElement===d.value?c.value.focus():document.activeElement===c.value&&d.value.focus()),f(S))}function g(S){if(m.value===!0&&Jt(S,[13,32])===!0){ze(S),S.qKeyEvent=!0;const y=new MouseEvent("click",S);y.qKeyEvent=!0,d.value.dispatchEvent(y)}n("keyup",S)}function b(){const S=_a(t.default,[]);return m.value===!0&&S.unshift(l.h("div",{class:"q-focus-helper",tabindex:-1,ref:c})),S}return()=>{const S={ref:d,class:_.value,style:v.value,role:"listitem",onClick:p,onKeyup:g};return m.value===!0?(S.tabindex=e.tabindex||"0",Object.assign(S,i.value)):h.value===!0&&(S["aria-disabled"]="true"),l.h(u.value,S,b())}}}),kt=be({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=l.computed(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>l.h("div",{class:n.value},ke(t.default))}}),pt=be({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=l.computed(()=>parseInt(e.lines,10)),o=l.computed(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(n.value===1?" ellipsis":"")),r=l.computed(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>l.h("div",{style:r.value,class:o.value},ke(t.default))}});function Cf(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),po.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const kf={...{target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},contextMenu:Boolean};function wf({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:o,proxy:r,emit:a}=l.getCurrentInstance(),i=l.ref(null);let s=null;function u(m){return i.value===null?!1:m===void 0||m.touches===void 0||m.touches.length<=1}const f={};n===void 0&&(Object.assign(f,{hide(m){r.hide(m)},toggle(m){r.toggle(m),m.qAnchorHandled=!0},toggleKey(m){Jt(m,13)===!0&&f.toggle(m)},contextClick(m){r.hide(m),St(m),l.nextTick(()=>{r.show(m),m.qAnchorHandled=!0})},prevent:St,mobileTouch(m){if(f.mobileCleanup(m),u(m)!==!0)return;r.hide(m),i.value.classList.add("non-selectable");const _=m.target;fr(f,"anchor",[[_,"touchmove","mobileCleanup","passive"],[_,"touchend","mobileCleanup","passive"],[_,"touchcancel","mobileCleanup","passive"],[i.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,r.show(m),m.qAnchorHandled=!0},300)},mobileCleanup(m){i.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&m!==void 0&&Cf()}}),n=function(m=o.contextMenu){if(o.noParentEvent===!0||i.value===null)return;let _;m===!0?r.$q.platform.is.mobile===!0?_=[[i.value,"touchstart","mobileTouch","passive"]]:_=[[i.value,"mousedown","hide","passive"],[i.value,"contextmenu","contextClick","notPassive"]]:_=[[i.value,"click","toggle","passive"],[i.value,"keyup","toggleKey","passive"]],fr(f,"anchor",_)});function d(){ia(f,"anchor")}function c(m){for(i.value=m;i.value.classList.contains("q-anchor--skip");)i.value=i.value.parentNode;n()}function h(){if(o.target===!1||o.target===""||r.$el.parentNode===null)i.value=null;else if(o.target===!0)c(r.$el.parentNode);else{let m=o.target;if(typeof o.target=="string")try{m=document.querySelector(o.target)}catch{m=void 0}m!=null?(i.value=m.$el||m,n()):(i.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return l.watch(()=>o.contextMenu,m=>{i.value!==null&&(d(),n(m))}),l.watch(()=>o.target,()=>{i.value!==null&&d(),h()}),l.watch(()=>o.noParentEvent,m=>{i.value!==null&&(m===!0?d():n())}),l.onMounted(()=>{h(),t!==!0&&o.modelValue===!0&&i.value===null&&a("update:modelValue",!1)}),l.onBeforeUnmount(()=>{s!==null&&clearTimeout(s),d()}),{anchorEl:i,canShow:u,anchorEvents:f}}function Tf(e,t){const n=l.ref(null);let o;function r(s,u){const f=`${u!==void 0?"add":"remove"}EventListener`,d=u!==void 0?u:o;s!==window&&s[f]("scroll",d,Qe.passive),window[f]("scroll",d,Qe.passive),o=u}function a(){n.value!==null&&(r(n.value),n.value=null)}const i=l.watch(()=>e.noParentEvent,()=>{n.value!==null&&(a(),t())});return l.onBeforeUnmount(i),{localScrollTarget:n,unconfigureScrollTarget:a,changeScrollEvent:r}}const Za={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Ja=["beforeShow","show","beforeHide","hide"];function ei({showing:e,canShow:t,hideOnRouteChange:n,handleShow:o,handleHide:r,processOnMount:a}){const i=l.getCurrentInstance(),{props:s,emit:u,proxy:f}=i;let d;function c(b){e.value===!0?_(b):h(b)}function h(b){if(s.disable===!0||(b==null?void 0:b.qAnchorHandled)===!0||t!==void 0&&t(b)!==!0)return;const S=s["onUpdate:modelValue"]!==void 0;S===!0&&(u("update:modelValue",!0),d=b,l.nextTick(()=>{d===b&&(d=void 0)})),(s.modelValue===null||S===!1)&&m(b)}function m(b){e.value!==!0&&(e.value=!0,u("beforeShow",b),o!==void 0?o(b):u("show",b))}function _(b){if(s.disable===!0)return;const S=s["onUpdate:modelValue"]!==void 0;S===!0&&(u("update:modelValue",!1),d=b,l.nextTick(()=>{d===b&&(d=void 0)})),(s.modelValue===null||S===!1)&&v(b)}function v(b){e.value!==!1&&(e.value=!1,u("beforeHide",b),r!==void 0?r(b):u("hide",b))}function p(b){s.disable===!0&&b===!0?s["onUpdate:modelValue"]!==void 0&&u("update:modelValue",!1):b===!0!==e.value&&(b===!0?m:v)(d)}l.watch(()=>s.modelValue,p),n!==void 0&&Lr(i)===!0&&l.watch(()=>f.$route.fullPath,()=>{n.value===!0&&e.value===!0&&_()}),l.onMounted(()=>{p(s.modelValue)});const g={show:h,hide:_,toggle:c};return Object.assign(f,g),g}let Of=1,Af=document.body;function Df(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${Of++}`:e,vo.globalNodes!==void 0){const o=vo.globalNodes.class;o!==void 0&&(n.className=o)}return Af.appendChild(n),n}function If(e){e.remove()}const Wn=[];function xf(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Pr(e)}else if(e.__qPortal===!0){const n=Pr(e);return(n==null?void 0:n.$options.name)==="QPopupProxy"?(e.hide(t),n):e}e=Pr(e)}while(e!=null)}const Nf=be({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function Pf(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 ti(e,t,n,o){const r=l.ref(!1),a=l.ref(!1);let i=null;const s={},u=o==="dialog"&&Pf(e);function f(c){if(c===!0){Ua(s),a.value=!0;return}a.value=!1,r.value===!1&&(u===!1&&i===null&&(i=Df(!1,o)),r.value=!0,Wn.push(e.proxy),mf(s))}function d(c){if(a.value=!1,c!==!0)return;Ua(s),r.value=!1;const h=Wn.indexOf(e.proxy);h!==-1&&Wn.splice(h,1),i!==null&&(If(i),i=null)}return l.onUnmounted(()=>{d(!0)}),e.proxy.__qPortal=!0,ct(e.proxy,"contentEl",()=>t.value),{showPortal:f,hidePortal:d,portalIsActive:r,portalIsAccessible:a,renderPortal:()=>u===!0?n():r.value===!0?[l.h(l.Teleport,{to:i},l.h(Nf,n))]:void 0}}const ni={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function oi(e,t=()=>{},n=()=>{}){return{transitionProps:l.computed(()=>{const o=`q-transition--${e.transitionShow||t()}`,r=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${r}-leave-from`,leaveActiveClass:`${r}-leave-active`,leaveToClass:`${r}-leave-to`}}),transitionStyle:l.computed(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function ri(){let e;const t=l.getCurrentInstance();function n(){e=void 0}return l.onDeactivated(n),l.onBeforeUnmount(n),{removeTick:n,registerTick(o){e=o,l.nextTick(()=>{e===o&&(Ka(t)===!1&&e(),e=void 0)})}}}function li(){let e=null;const t=l.getCurrentInstance();function n(){e!==null&&(clearTimeout(e),e=null)}return l.onDeactivated(n),l.onBeforeUnmount(n),{removeTimeout:n,registerTimeout(o,r){n(),Ka(t)===!1&&(e=setTimeout(()=>{e=null,o()},r))}}}const tn=[];let bn;function Lf(e){bn=e.keyCode===27}function Vf(){bn===!0&&(bn=!1)}function Rf(e){bn===!0&&(bn=!1,Jt(e,27)===!0&&tn[tn.length-1](e))}function ai(e){window[e]("keydown",Lf),window[e]("blur",Vf),window[e]("keyup",Rf),bn=!1}function ii(e){Fe.is.desktop===!0&&(tn.push(e),tn.length===1&&ai("addEventListener"))}function Ao(e){const t=tn.indexOf(e);t!==-1&&(tn.splice(t,1),tn.length===0&&ai("removeEventListener"))}const nn=[];function si(e){nn[nn.length-1](e)}function ui(e){Fe.is.desktop===!0&&(nn.push(e),nn.length===1&&document.body.addEventListener("focusin",si))}function Vr(e){const t=nn.indexOf(e);t!==-1&&(nn.splice(t,1),nn.length===0&&document.body.removeEventListener("focusin",si))}const{notPassiveCapture:Do}=Qe,on=[];function Io(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=Wn.length-1;for(;n>=0;){const o=Wn[n].$;if(o.type.name==="QTooltip"){n--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;n--}for(let o=on.length-1;o>=0;o--){const r=on[o];if((r.anchorEl.value===null||r.anchorEl.value.contains(t)===!1)&&(t===document.body||r.innerRef.value!==null&&r.innerRef.value.contains(t)===!1))e.qClickOutside=!0,r.onClickOutside(e);else return}}function Mf(e){on.push(e),on.length===1&&(document.addEventListener("mousedown",Io,Do),document.addEventListener("touchstart",Io,Do))}function ci(e){const t=on.findIndex(n=>n===e);t!==-1&&(on.splice(t,1),on.length===0&&(document.removeEventListener("mousedown",Io,Do),document.removeEventListener("touchstart",Io,Do)))}let di,fi;function mi(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Bf(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const Rr={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Rr[`${e}#ltr`]=e,Rr[`${e}#rtl`]=e});function hi(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:Rr[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function Ff(e,t){let{top:n,left:o,right:r,bottom:a,width:i,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],o-=t[0],a+=t[1],r+=t[0],i+=t[0],s+=t[1]),{top:n,bottom:a,height:s,left:o,right:r,width:i,middle:o+(r-o)/2,center:n+(a-n)/2}}function qf(e,t,n){let{top:o,left:r}=e.getBoundingClientRect();return o+=t.top,r+=t.left,n!==void 0&&(o+=n[1],r+=n[0]),{top:o,bottom:o+1,height:1,left:r,right:r+1,width:1,middle:r,center:o}}function $f(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function gi(e,t,n,o){return{top:e[n.vertical]-t[o.vertical],left:e[n.horizontal]-t[o.horizontal]}}function pi(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{pi(e,t+1)},10);return}const{targetEl:n,offset:o,anchorEl:r,anchorOrigin:a,selfOrigin:i,absoluteOffset:s,fit:u,cover:f,maxHeight:d,maxWidth:c}=e;if(Fe.is.ios===!0&&window.visualViewport!==void 0){const I=document.body.style,{offsetLeft:T,offsetTop:M}=window.visualViewport;T!==di&&(I.setProperty("--q-pe-left",T+"px"),di=T),M!==fi&&(I.setProperty("--q-pe-top",M+"px"),fi=M)}const{scrollLeft:h,scrollTop:m}=n,_=s===void 0?Ff(r,f===!0?[0,0]:o):qf(r,s,o);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:c,maxHeight:d,visibility:"visible"});const{offsetWidth:v,offsetHeight:p}=n,{elWidth:g,elHeight:b}=u===!0||f===!0?{elWidth:Math.max(_.width,v),elHeight:f===!0?Math.max(_.height,p):p}:{elWidth:v,elHeight:p};let S={maxWidth:c,maxHeight:d};(u===!0||f===!0)&&(S.minWidth=_.width+"px",f===!0&&(S.minHeight=_.height+"px")),Object.assign(n.style,S);const y=$f(g,b);let A=gi(_,y,a,i);if(s===void 0||o===void 0)Mr(A,_,y,a,i);else{const{top:I,left:T}=A;Mr(A,_,y,a,i);let M=!1;if(A.top!==I){M=!0;const x=2*o[1];_.center=_.top-=x,_.bottom-=x+2}if(A.left!==T){M=!0;const x=2*o[0];_.middle=_.left-=x,_.right-=x+2}M===!0&&(A=gi(_,y,a,i),Mr(A,_,y,a,i))}S={top:A.top+"px",left:A.left+"px"},A.maxHeight!==void 0&&(S.maxHeight=A.maxHeight+"px",_.height>A.maxHeight&&(S.minHeight=S.maxHeight)),A.maxWidth!==void 0&&(S.maxWidth=A.maxWidth+"px",_.width>A.maxWidth&&(S.minWidth=S.maxWidth)),Object.assign(n.style,S),n.scrollTop!==m&&(n.scrollTop=m),n.scrollLeft!==h&&(n.scrollLeft=h)}function Mr(e,t,n,o,r){const a=n.bottom,i=n.right,s=Xd(),u=window.innerHeight-s,f=document.body.clientWidth;if(e.top<0||e.top+a>u)if(r.vertical==="center")e.top=t[o.vertical]>u/2?Math.max(0,u-a):0,e.maxHeight=Math.min(a,u);else if(t[o.vertical]>u/2){const d=Math.min(u,o.vertical==="center"?t.center:o.vertical===r.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,d),e.top=Math.max(0,d-a)}else e.top=Math.max(0,o.vertical==="center"?t.center:o.vertical===r.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,u-e.top);if(e.left<0||e.left+i>f)if(e.maxWidth=Math.min(i,f),r.horizontal==="middle")e.left=t[o.horizontal]>f/2?Math.max(0,f-i):0;else if(t[o.horizontal]>f/2){const d=Math.min(f,o.horizontal==="middle"?t.middle:o.horizontal===r.horizontal?t.right:t.left);e.maxWidth=Math.min(i,d),e.left=Math.max(0,d-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?t.middle:o.horizontal===r.horizontal?t.left:t.right),e.maxWidth=Math.min(i,f-e.left)}const _i=be({name:"QMenu",inheritAttrs:!1,props:{...kf,...Za,...dt,...ni,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:mi},self:{type:String,validator:mi},offset:{type:Array,validator:Bf},scrollTarget:Na,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Ja,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){let r=null,a,i,s;const u=l.getCurrentInstance(),{proxy:f}=u,{$q:d}=f,c=l.ref(null),h=l.ref(!1),m=l.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),_=ft(e,d),{registerTick:v,removeTick:p}=ri(),{registerTimeout:g}=li(),{transitionProps:b,transitionStyle:S}=oi(e),{localScrollTarget:y,changeScrollEvent:A,unconfigureScrollTarget:I}=Tf(e,j),{anchorEl:T,canShow:M}=wf({showing:h}),{hide:x}=ei({showing:h,canShow:M,handleShow:oe,handleHide:O,hideOnRouteChange:m,processOnMount:!0}),{showPortal:P,hidePortal:F,renderPortal:D}=ti(u,c,ge,"menu"),K={anchorEl:T,innerRef:c,onClickOutside(z){if(e.persistent!==!0&&h.value===!0)return x(z),(z.type==="touchstart"||z.target.classList.contains("q-dialog__backdrop"))&&ze(z),!0}},V=l.computed(()=>hi(e.anchor||(e.cover===!0?"center middle":"bottom start"),d.lang.rtl)),ne=l.computed(()=>e.cover===!0?V.value:hi(e.self||"top start",d.lang.rtl)),W=l.computed(()=>(e.square===!0?" q-menu--square":"")+(_.value===!0?" q-menu--dark q-dark":"")),$=l.computed(()=>e.autoClose===!0?{onClick:le}:{}),H=l.computed(()=>h.value===!0&&e.persistent!==!0);l.watch(H,z=>{z===!0?(ii(U),Mf(K)):(Ao(U),ci(K))});function Q(){To(()=>{let z=c.value;z&&z.contains(document.activeElement)!==!0&&(z=z.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||z.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||z.querySelector("[autofocus], [data-autofocus]")||z,z.focus({preventScroll:!0}))})}function oe(z){if(r=e.noRefocus===!1?document.activeElement:null,ui(se),P(),j(),a=void 0,z!==void 0&&(e.touchPosition||e.contextMenu)){const Ee=aa(z);if(Ee.left!==void 0){const{top:Ne,left:vt}=T.value.getBoundingClientRect();a={left:Ee.left-vt,top:Ee.top-Ne}}}i===void 0&&(i=l.watch(()=>d.screen.width+"|"+d.screen.height+"|"+e.self+"|"+e.anchor+"|"+d.lang.rtl,G)),e.noFocus!==!0&&document.activeElement.blur(),v(()=>{G(),e.noFocus!==!0&&Q()}),g(()=>{d.platform.is.ios===!0&&(s=e.autoClose,c.value.click()),G(),P(!0),n("show",z)},e.transitionDuration)}function O(z){p(),F(),w(!0),r!==null&&(z===void 0||z.qClickOutside!==!0)&&((((z==null?void 0:z.type.indexOf("key"))===0?r.closest('[tabindex]:not([tabindex^="-"])'):void 0)||r).focus(),r=null),g(()=>{F(!0),n("hide",z)},e.transitionDuration)}function w(z){a=void 0,i!==void 0&&(i(),i=void 0),(z===!0||h.value===!0)&&(Vr(se),I(),ci(K),Ao(U)),z!==!0&&(r=null)}function j(){(T.value!==null||e.scrollTarget!==void 0)&&(y.value=Pa(T.value,e.scrollTarget),A(y.value,G))}function le(z){s!==!0?(xf(f,z),n("click",z)):s=!1}function se(z){H.value===!0&&e.noFocus!==!0&&xa(c.value,z.target)!==!0&&Q()}function U(z){e.noEscDismiss!==!0&&(n("escapeKey"),x(z))}function G(){pi({targetEl:c.value,offset:e.offset,anchorEl:T.value,anchorOrigin:V.value,selfOrigin:ne.value,absoluteOffset:a,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function ge(){return l.h(l.Transition,b.value,()=>h.value===!0?l.h("div",{role:"menu",...o,ref:c,tabindex:-1,class:["q-menu q-position-engine scroll"+W.value,o.class],style:[o.style,S.value],...$.value},ke(t.default)):null)}return l.onBeforeUnmount(w),Object.assign(f,{focus:Q,updatePosition:G}),D}});function Uf(e,t,n){let o;function r(){o!==void 0&&($n.remove(o),o=void 0)}return l.onBeforeUnmount(()=>{e.value===!0&&r()}),{removeFromHistory:r,addToHistory(){o={condition:()=>n.value===!0,handler:t},$n.add(o)}}}let Yn=0,Br,Fr,Gn,qr=!1,bi,vi,yi,rn=null;function Hf(e){zf(e)&&ze(e)}function zf(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=pd(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),r=n||o?e.deltaY:e.deltaX;for(let a=0;a<t.length;a++){const i=t[a];if(Zd(i,o))return o?r<0&&i.scrollTop===0?!0:r>0&&i.scrollTop+i.clientHeight===i.scrollHeight:r<0&&i.scrollLeft===0?!0:r>0&&i.scrollLeft+i.clientWidth===i.scrollWidth}return!0}function Ei(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function xo(e){qr!==!0&&(qr=!0,requestAnimationFrame(()=>{qr=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;(Gn===void 0||t!==window.innerHeight)&&(Gn=n-t,document.scrollingElement.scrollTop=o),o>Gn&&(document.scrollingElement.scrollTop-=Math.ceil((o-Gn)/8))}))}function Si(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:o,overflowX:r}=window.getComputedStyle(t);Br=Qd(window),Fr=Gd(window),bi=t.style.left,vi=t.style.top,yi=window.location.href,t.style.left=`-${Br}px`,t.style.top=`-${Fr}px`,r!=="hidden"&&(r==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),o!=="hidden"&&(o==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Fe.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",xo,Qe.passiveCapture),window.visualViewport.addEventListener("scroll",xo,Qe.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Ei,Qe.passiveCapture))}Fe.is.desktop===!0&&Fe.is.mac===!0&&window[`${e}EventListener`]("wheel",Hf,Qe.notPassive),e==="remove"&&(Fe.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",xo,Qe.passiveCapture),window.visualViewport.removeEventListener("scroll",xo,Qe.passiveCapture)):window.removeEventListener("scroll",Ei,Qe.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=bi,t.style.top=vi,window.location.href===yi&&window.scrollTo(Br,Fr),Gn=void 0)}function jf(e){let t="add";if(e===!0){if(Yn++,rn!==null){clearTimeout(rn),rn=null;return}if(Yn>1)return}else{if(Yn===0||(Yn--,Yn>0))return;if(t="remove",Fe.is.ios===!0&&Fe.is.nativeMobile===!0){rn!==null&&clearTimeout(rn),rn=setTimeout(()=>{Si(t),rn=null},100);return}}Si(t)}function Kf(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,jf(t))}}}let No=0;const Wf={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"},Ci={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},$r=be({name:"QDialog",inheritAttrs:!1,props:{...Za,...ni,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...Ja,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){const r=l.getCurrentInstance(),a=l.ref(null),i=l.ref(!1),s=l.ref(!1);let u=null,f=null,d,c;const h=l.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:m}=Kf(),{registerTimeout:_}=li(),{registerTick:v,removeTick:p}=ri(),{transitionProps:g,transitionStyle:b}=oi(e,()=>Ci[e.position][0],()=>Ci[e.position][1]),S=l.computed(()=>b.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:y,hidePortal:A,portalIsAccessible:I,renderPortal:T}=ti(r,a,se,"dialog"),{hide:M}=ei({showing:i,hideOnRouteChange:h,handleShow:ne,handleHide:W,processOnMount:!0}),{addToHistory:x,removeFromHistory:P}=Uf(i,M,h),F=l.computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${Wf[e.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),D=l.computed(()=>i.value===!0&&e.seamless!==!0),K=l.computed(()=>e.autoClose===!0?{onClick:w}:{}),V=l.computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${D.value===!0?"modal":"seamless"}`,o.class]);l.watch(()=>e.maximized,U=>{i.value===!0&&O(U)}),l.watch(D,U=>{m(U),U===!0?(ui(le),ii(Q)):(Vr(le),Ao(Q))});function ne(U){var G;x(),f=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,O(e.maximized),y(),s.value=!0,e.noFocus!==!0?((G=document.activeElement)==null||G.blur(),v($)):p(),_(()=>{if(r.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:ge,bottom:z}=document.activeElement.getBoundingClientRect(),{innerHeight:Ee}=window,Ne=window.visualViewport!==void 0?window.visualViewport.height:Ee;ge>0&&z>Ne/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-Ne,z>=Ee?1/0:Math.ceil(document.scrollingElement.scrollTop+z-Ne/2))),document.activeElement.scrollIntoView()}c=!0,a.value.click(),c=!1}y(!0),s.value=!1,n("show",U)},e.transitionDuration)}function W(U){p(),P(),oe(!0),s.value=!0,A(),f!==null&&((((U==null?void 0:U.type.indexOf("key"))===0?f.closest('[tabindex]:not([tabindex^="-"])'):void 0)||f).focus(),f=null),_(()=>{A(!0),s.value=!1,n("hide",U)},e.transitionDuration)}function $(U){To(()=>{let G=a.value;if(G!==null){if(U!==void 0){const ge=G.querySelector(U);if(ge!==null){ge.focus({preventScroll:!0});return}}G.contains(document.activeElement)!==!0&&(G=G.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||G.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||G.querySelector("[autofocus], [data-autofocus]")||G,G.focus({preventScroll:!0}))}})}function H(U){U&&typeof U.focus=="function"?U.focus({preventScroll:!0}):$(),n("shake");const G=a.value;G!==null&&(G.classList.remove("q-animate--scale"),G.classList.add("q-animate--scale"),u!==null&&clearTimeout(u),u=setTimeout(()=>{u=null,a.value!==null&&(G.classList.remove("q-animate--scale"),$())},170))}function Q(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&H():(n("escapeKey"),M()))}function oe(U){u!==null&&(clearTimeout(u),u=null),(U===!0||i.value===!0)&&(O(!1),e.seamless!==!0&&(m(!1),Vr(le),Ao(Q))),U!==!0&&(f=null)}function O(U){U===!0?d!==!0&&(No<1&&document.body.classList.add("q-body--dialog"),No++,d=!0):d===!0&&(No<2&&document.body.classList.remove("q-body--dialog"),No--,d=!1)}function w(U){c!==!0&&(M(U),n("click",U))}function j(U){e.persistent!==!0&&e.noBackdropDismiss!==!0?M(U):e.noShake!==!0&&H()}function le(U){e.allowFocusOutside!==!0&&I.value===!0&&xa(a.value,U.target)!==!0&&$('[tabindex]:not([tabindex="-1"])')}Object.assign(r.proxy,{focus:$,shake:H,__updateRefocusTarget(U){f=U||null}}),l.onBeforeUnmount(oe);function se(){return l.h("div",{role:"dialog","aria-modal":D.value===!0?"true":"false",...o,class:V.value},[l.h(l.Transition,{name:"q-transition--fade",appear:!0},()=>D.value===!0?l.h("div",{class:"q-dialog__backdrop fixed-full",style:S.value,"aria-hidden":"true",tabindex:-1,onClick:j}):null),l.h(l.Transition,g.value,()=>i.value===!0?l.h("div",{ref:a,class:F.value,style:b.value,tabindex:-1,...K.value},ke(t.default)):null)])}return T}}),Ur={name:String};function Yf(e={}){return(t,n,o)=>{t[n](l.h("input",{class:"hidden"+(o||""),...e.value}))}}function ki(e){return l.computed(()=>e.name||e.for)}const Gf=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,Qf=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,Xf=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Zf=/[a-z0-9_ -]$/i;function wi(e){return function(n){if(n.type==="compositionend"||n.type==="change"){if(n.target.qComposing!==!0)return;n.target.qComposing=!1,e(n)}else n.type==="compositionupdate"&&n.target.qComposing!==!0&&typeof n.data=="string"&&(Fe.is.firefox===!0?Zf.test(n.data)===!1:Gf.test(n.data)===!0||Qf.test(n.data)===!0||Xf.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function Jf(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Ti(e,t,n){if(n<=t)return t;const o=n-t+1;let r=t+(e-t)%o;return r<t&&(r=o+r),r===0?0:r}function qe(e,t=2,n="0"){if(e==null)return e;const o=""+e;return o.length>=t?o:new Array(t-o.length+1).join(n)+o}const Oi=e=>["add","add-unique","toggle"].includes(e),em=".*+?^${}()|[]\\",tm=Object.keys(Oo);function Hr(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return o=>o!==null&&typeof o=="object"&&n in o?o[n]:o}const zr=be({name:"QSelect",inheritAttrs:!1,props:{...wr,...Ur,...Oo,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:Oi},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:wr.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Ir,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:o}=l.getCurrentInstance(),{$q:r}=o,a=l.ref(!1),i=l.ref(!1),s=l.ref(-1),u=l.ref(""),f=l.ref(!1),d=l.ref(!1);let c=null,h=null,m,_,v,p=null,g,b,S,y;const A=l.ref(null),I=l.ref(null),T=l.ref(null),M=l.ref(null),x=l.ref(null),P=ki(e),F=wi(N),D=l.computed(()=>Array.isArray(e.options)?e.options.length:0),K=l.computed(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:V,virtualScrollSliceSizeComputed:ne,localResetVirtualScroll:W,padVirtualScroll:$,onVirtualScrollEvt:H,scrollTo:Q,setVirtualScrollSize:oe}=Ia({virtualScrollLength:D,getVirtualScrollTarget:Jl,getVirtualScrollEl:ur,virtualScrollItemSizeComputed:K}),O=xr(),w=l.computed(()=>{const C=e.mapOptions===!0&&e.multiple!==!0,X=e.modelValue!==void 0&&(e.modelValue!==null||C===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const ee=e.mapOptions===!0&&m!==void 0?m:[],he=X.map(Te=>mo(Te,ee));return e.modelValue===null&&C===!0?he.filter(Te=>Te!==null):he}return X}),j=l.computed(()=>{const C={};return tm.forEach(X=>{const ee=e[X];ee!==void 0&&(C[X]=ee)}),C}),le=l.computed(()=>e.optionsDark===null?O.isDark.value:e.optionsDark),se=l.computed(()=>Kn(w.value)),U=l.computed(()=>{let C="q-field__input q-placeholder col";return e.hideSelected===!0||w.value.length===0?[C,e.inputClass]:(C+=" q-field__input--padding",e.inputClass===void 0?C:[C,e.inputClass])}),G=l.computed(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),ge=l.computed(()=>D.value===0),z=l.computed(()=>w.value.map(C=>me.value(C)).join(", ")),Ee=l.computed(()=>e.displayValue!==void 0?e.displayValue:z.value),Ne=l.computed(()=>e.optionsHtml===!0?()=>!0:C=>(C==null?void 0:C.html)===!0),vt=l.computed(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||w.value.some(Ne.value))),Le=l.computed(()=>O.focused.value===!0?e.tabindex:-1),ut=l.computed(()=>{const C={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":a.value===!0?"true":"false","aria-controls":`${O.targetUid.value}_lb`};return s.value>=0&&(C["aria-activedescendant"]=`${O.targetUid.value}_${s.value}`),C}),We=l.computed(()=>({id:`${O.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),Ze=l.computed(()=>w.value.map((C,X)=>({index:X,opt:C,html:Ne.value(C),selected:!0,removeAtIndex:Ae,toggleOption:rt,tabindex:Le.value}))),yt=l.computed(()=>{if(D.value===0)return[];const{from:C,to:X}=V.value;return e.options.slice(C,X).map((ee,he)=>{const Te=ve.value(ee)===!0,Me=qt(ee)===!0,Oe=C+he,Be={clickable:!0,active:Me,activeClass:R.value,manualFocus:!0,focused:!1,disable:Te,tabindex:-1,dense:e.optionsDense,dark:le.value,role:"option","aria-selected":Me===!0?"true":"false",id:`${O.targetUid.value}_${Oe}`,onClick:()=>{rt(ee)}};return Te!==!0&&(s.value===Oe&&(Be.focused=!0),r.platform.is.desktop===!0&&(Be.onMousemove=()=>{a.value===!0&&He(Oe)})),{index:Oe,opt:ee,html:Ne.value(ee),label:me.value(ee),selected:Be.active,focused:Be.focused,toggleOption:rt,setOptionIndex:He,itemProps:Be}})}),E=l.computed(()=>e.dropdownIcon!==void 0?e.dropdownIcon:r.iconSet.arrow.dropdown),k=l.computed(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),R=l.computed(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),J=l.computed(()=>Hr(e.optionValue,"value")),me=l.computed(()=>Hr(e.optionLabel,"label")),ve=l.computed(()=>Hr(e.optionDisable,"disable")),de=l.computed(()=>w.value.map(J.value)),L=l.computed(()=>{const C={onInput:N,onChange:F,onKeydown:hn,onKeyup:Vn,onKeypress:go,onFocus:ho,onClick(X){_===!0&&At(X)}};return C.onCompositionstart=C.onCompositionupdate=C.onCompositionend=F,C});l.watch(w,C=>{m=C,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&O.innerLoading.value!==!0&&(i.value!==!0&&a.value!==!0||se.value!==!0)&&(v!==!0&&Fn(),(i.value===!0||a.value===!0)&&re(""))},{immediate:!0}),l.watch(()=>e.fillInput,Fn),l.watch(a,oa),l.watch(D,Kv);function q(C){return e.emitValue===!0?J.value(C):C}function fe(C){if(C!==-1&&C<w.value.length)if(e.multiple===!0){const X=e.modelValue.slice();n("remove",{index:C,value:X.splice(C,1)[0]}),n("update:modelValue",X)}else n("update:modelValue",null)}function Ae(C){fe(C),O.focus()}function Et(C,X){const ee=q(C);if(e.multiple!==!0){e.fillInput===!0&&ae(me.value(C),!0,!0),n("update:modelValue",ee);return}if(w.value.length===0){n("add",{index:0,value:ee}),n("update:modelValue",e.multiple===!0?[ee]:ee);return}if(X===!0&&qt(C)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const he=e.modelValue.slice();n("add",{index:he.length,value:ee}),he.push(ee),n("update:modelValue",he)}function rt(C,X){var Me;if(O.editable.value!==!0||C===void 0||ve.value(C)===!0)return;const ee=J.value(C);if(e.multiple!==!0){X!==!0&&(ae(e.fillInput===!0?me.value(C):"",!0,!0),gn()),(Me=I.value)==null||Me.focus(),(w.value.length===0||Vt(J.value(w.value[0]),ee)!==!0)&&n("update:modelValue",e.emitValue===!0?ee:C);return}if((_!==!0||f.value===!0)&&O.focus(),ho(),w.value.length===0){const Oe=e.emitValue===!0?ee:C;n("add",{index:0,value:Oe}),n("update:modelValue",e.multiple===!0?[Oe]:Oe);return}const he=e.modelValue.slice(),Te=de.value.findIndex(Oe=>Vt(Oe,ee));if(Te!==-1)n("remove",{index:Te,value:he.splice(Te,1)[0]});else{if(e.maxValues!==void 0&&he.length>=e.maxValues)return;const Oe=e.emitValue===!0?ee:C;n("add",{index:he.length,value:Oe}),he.push(Oe)}n("update:modelValue",he)}function He(C){if(r.platform.is.desktop!==!0)return;const X=C!==-1&&C<D.value?C:-1;s.value!==X&&(s.value=X)}function Ye(C=1,X){if(a.value===!0){let ee=s.value;do ee=Ti(ee+C,-1,D.value-1);while(ee!==-1&&ee!==s.value&&ve.value(e.options[ee])===!0);s.value!==ee&&(He(ee),Q(ee),X!==!0&&e.useInput===!0&&e.fillInput===!0&&Z(ee>=0?me.value(e.options[ee]):g,!0))}}function mo(C,X){const ee=he=>Vt(J.value(he),C);return e.options.find(ee)||X.find(ee)||C}function qt(C){const X=J.value(C);return de.value.find(ee=>Vt(ee,X))!==void 0}function ho(C){e.useInput===!0&&I.value!==null&&(C===void 0||I.value===C.target&&C.target.value===z.value)&&I.value.select()}function sr(C){Jt(C,27)===!0&&a.value===!0&&(At(C),gn(),Fn()),n("keyup",C)}function Vn(C){const{value:X}=C.target;if(C.keyCode!==void 0){sr(C);return}if(C.target.value="",c!==null&&(clearTimeout(c),c=null),h!==null&&(clearTimeout(h),h=null),Fn(),typeof X=="string"&&X.length!==0){const ee=X.toLocaleLowerCase(),he=Me=>{const Oe=e.options.find(Be=>String(Me.value(Be)).toLocaleLowerCase()===ee);return Oe===void 0?!1:(w.value.indexOf(Oe)===-1?rt(Oe):gn(),!0)},Te=Me=>{he(J)!==!0&&Me!==!0&&he(me)!==!0&&re(X,!0,()=>Te(!0))};Te()}else O.clearValue(C)}function go(C){n("keypress",C)}function hn(C){if(n("keydown",C),gr(C)===!0)return;const X=u.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),ee=C.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||X===!0);if(C.keyCode===27){St(C);return}if(C.keyCode===9&&ee===!1){Mn();return}if(C.target===void 0||C.target.id!==O.targetUid.value||O.editable.value!==!0)return;if(C.keyCode===40&&O.innerLoading.value!==!0&&a.value===!1){ze(C),Bn();return}if(C.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&u.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?fe(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n("update:modelValue",null);return}(C.keyCode===35||C.keyCode===36)&&(typeof u.value!="string"||u.value.length===0)&&(ze(C),s.value=-1,Ye(C.keyCode===36?1:-1,e.multiple)),(C.keyCode===33||C.keyCode===34)&&ne.value!==void 0&&(ze(C),s.value=Math.max(-1,Math.min(D.value,s.value+(C.keyCode===33?-1:1)*ne.value.view)),Ye(C.keyCode===33?1:-1,e.multiple)),(C.keyCode===38||C.keyCode===40)&&(ze(C),Ye(C.keyCode===38?-1:1,e.multiple));const he=D.value;if((S===void 0||y<Date.now())&&(S=""),he>0&&e.useInput!==!0&&C.key!==void 0&&C.key.length===1&&C.altKey===!1&&C.ctrlKey===!1&&C.metaKey===!1&&(C.keyCode!==32||S.length!==0)){a.value!==!0&&Bn(C);const Te=C.key.toLocaleLowerCase(),Me=S.length===1&&S[0]===Te;y=Date.now()+1500,Me===!1&&(ze(C),S+=Te);const Oe=new RegExp("^"+S.split("").map(qn=>em.indexOf(qn)!==-1?"\\"+qn:qn).join(".*"),"i");let Be=s.value;if(Me===!0||Be<0||Oe.test(me.value(e.options[Be]))!==!0)do Be=Ti(Be+1,-1,he-1);while(Be!==s.value&&(ve.value(e.options[Be])===!0||Oe.test(me.value(e.options[Be]))!==!0));s.value!==Be&&l.nextTick(()=>{He(Be),Q(Be),Be>=0&&e.useInput===!0&&e.fillInput===!0&&Z(me.value(e.options[Be]),!0)});return}if(!(C.keyCode!==13&&(C.keyCode!==32||e.useInput===!0||S!=="")&&(C.keyCode!==9||ee===!1))){if(C.keyCode!==9&&ze(C),s.value!==-1&&s.value<he){rt(e.options[s.value]);return}if(X===!0){const Te=(Me,Oe)=>{var qn;if(Oe){if(Oi(Oe)!==!0)return}else Oe=e.newValueMode;if(ae("",e.multiple!==!0,!0),Me==null)return;(Oe==="toggle"?rt:Et)(Me,Oe==="add-unique"),e.multiple!==!0&&((qn=I.value)==null||qn.focus(),gn())};if(e.onNewValue!==void 0?n("newValue",u.value,Te):Te(u.value),e.multiple!==!0)return}a.value===!0?Mn():O.innerLoading.value!==!0&&Bn()}}function ur(){return _===!0?x.value:T.value!==null&&T.value.contentEl!==null?T.value.contentEl:void 0}function Jl(){return ur()}function ea(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?Ze.value.map(C=>t["selected-item"](C)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?Ze.value.map((C,X)=>l.h(bf,{key:"option-"+X,removable:O.editable.value===!0&&ve.value(C.opt)!==!0,dense:!0,textColor:e.color,tabindex:Le.value,onRemove(){C.removeAtIndex(X)}},()=>l.h("span",{class:"ellipsis",[C.html===!0?"innerHTML":"textContent"]:me.value(C.opt)}))):[l.h("span",{class:"ellipsis",[vt.value===!0?"innerHTML":"textContent"]:Ee.value})]}function cr(){if(ge.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:u.value}):void 0;const C=t.option!==void 0?t.option:ee=>l.h(Ht,{key:ee.index,...ee.itemProps},()=>l.h(kt,()=>l.h(pt,()=>l.h("span",{[ee.html===!0?"innerHTML":"textContent"]:ee.label}))));let X=$("div",yt.value.map(C));return t["before-options"]!==void 0&&(X=t["before-options"]().concat(X)),Rt(t["after-options"],X)}function ta(C,X){const ee=X===!0?{...ut.value,...O.splitAttrs.attributes.value}:void 0,he={ref:X===!0?I:void 0,key:"i_t",class:U.value,style:e.inputStyle,value:u.value!==void 0?u.value:"",type:"search",...ee,id:X===!0?O.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":C===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...L.value};return C!==!0&&_===!0&&(Array.isArray(he.class)===!0?he.class=[...he.class,"no-pointer-events"]:he.class+=" no-pointer-events"),l.h("input",he)}function N(C){c!==null&&(clearTimeout(c),c=null),h!==null&&(clearTimeout(h),h=null),!(C&&C.target&&C.target.qComposing===!0)&&(Z(C.target.value||""),v=!0,g=u.value,O.focused.value!==!0&&(_!==!0||f.value===!0)&&O.focus(),e.onFilter!==void 0&&(c=setTimeout(()=>{c=null,re(u.value)},e.inputDebounce)))}function Z(C,X){u.value!==C&&(u.value=C,X===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",C):h=setTimeout(()=>{h=null,n("inputValue",C)},e.inputDebounce))}function ae(C,X,ee){v=ee!==!0,e.useInput===!0&&(Z(C,!0),(X===!0||ee!==!0)&&(g=C),X!==!0&&re(C))}function re(C,X,ee){if(e.onFilter===void 0||X!==!0&&O.focused.value!==!0)return;O.innerLoading.value===!0?n("filterAbort"):(O.innerLoading.value=!0,d.value=!0),C!==""&&e.multiple!==!0&&w.value.length!==0&&v!==!0&&C===me.value(w.value[0])&&(C="");const he=setTimeout(()=>{a.value===!0&&(a.value=!1)},10);p!==null&&clearTimeout(p),p=he,n("filter",C,(Te,Me)=>{(X===!0||O.focused.value===!0)&&p===he&&(clearTimeout(p),typeof Te=="function"&&Te(),d.value=!1,l.nextTick(()=>{O.innerLoading.value=!1,O.editable.value===!0&&(X===!0?a.value===!0&&gn():a.value===!0?oa(!0):a.value=!0),typeof Me=="function"&&l.nextTick(()=>{Me(o)}),typeof ee=="function"&&l.nextTick(()=>{ee(o)})}))},()=>{O.focused.value===!0&&p===he&&(clearTimeout(p),O.innerLoading.value=!1,d.value=!1),a.value===!0&&(a.value=!1)})}function ue(){return l.h(_i,{ref:T,class:G.value,style:e.popupContentStyle,modelValue:a.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&ge.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:le.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:k.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...We.value,onScrollPassive:H,onBeforeShow:id,onBeforeHide:Pe,onShow:De},cr)}function Pe(C){sd(C),Mn()}function De(){oe()}function gt(C){var X;At(C),(X=I.value)==null||X.focus(),f.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Ie(C){At(C),l.nextTick(()=>{f.value=!1})}function $t(){const C=[l.h(gf,{class:`col-auto ${O.fieldClass.value}`,...j.value,for:O.targetUid.value,dark:le.value,square:!0,loading:d.value,itemAligned:!1,filled:!0,stackLabel:u.value.length!==0,...O.splitAttrs.listeners.value,onFocus:gt,onBlur:Ie},{...t,rawControl:()=>O.getControl(!0),before:void 0,after:void 0})];return a.value===!0&&C.push(l.h("div",{ref:x,class:G.value+" scroll",style:e.popupContentStyle,...We.value,onClick:St,onScrollPassive:H},cr())),l.h($r,{ref:M,modelValue:i.value,position:e.useInput===!0?"top":void 0,transitionShow:b,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:id,onBeforeHide:Rn,onHide:na,onShow:jv},()=>l.h("div",{class:"q-select__dialog"+(le.value===!0?" q-select__dialog--dark q-dark":"")+(f.value===!0?" q-select__dialog--focused":"")},C))}function Rn(C){sd(C),M.value!==null&&M.value.__updateRefocusTarget(O.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),O.focused.value=!1}function na(C){gn(),O.focused.value===!1&&n("blur",C),Fn()}function jv(){const C=document.activeElement;(C===null||C.id!==O.targetUid.value)&&I.value!==null&&I.value!==C&&I.value.focus(),oe()}function Mn(){i.value!==!0&&(s.value=-1,a.value===!0&&(a.value=!1),O.focused.value===!1&&(p!==null&&(clearTimeout(p),p=null),O.innerLoading.value===!0&&(n("filterAbort"),O.innerLoading.value=!1,d.value=!1)))}function Bn(C){O.editable.value===!0&&(_===!0?(O.onControlFocusin(C),i.value=!0,l.nextTick(()=>{O.focus()})):O.focus(),e.onFilter!==void 0?re(u.value):(ge.value!==!0||t["no-option"]!==void 0)&&(a.value=!0))}function gn(){i.value=!1,Mn()}function Fn(){e.useInput===!0&&ae(e.multiple!==!0&&e.fillInput===!0&&w.value.length!==0&&me.value(w.value[0])||"",!0,!0)}function oa(C){let X=-1;if(C===!0){if(w.value.length!==0){const ee=J.value(w.value[0]);X=e.options.findIndex(he=>Vt(J.value(he),ee))}W(X)}He(X)}function Kv(C,X){a.value===!0&&O.innerLoading.value===!1&&(W(-1,!0),l.nextTick(()=>{a.value===!0&&O.innerLoading.value===!1&&(C>X?W():oa(!0))}))}function ad(){i.value===!1&&T.value!==null&&T.value.updatePosition()}function id(C){C!==void 0&&At(C),n("popupShow",C),O.hasPopupOpen=!0,O.onControlFocusin(C)}function sd(C){C!==void 0&&At(C),n("popupHide",C),O.hasPopupOpen=!1,O.onControlFocusout(C)}function ud(){_=r.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||ge.value===!1:!0),b=r.platform.is.ios===!0&&_===!0&&e.useInput===!0?"fade":e.transitionShow}return l.onBeforeUpdate(ud),l.onUpdated(ad),ud(),l.onBeforeUnmount(()=>{c!==null&&clearTimeout(c),h!==null&&clearTimeout(h)}),Object.assign(o,{showPopup:Bn,hidePopup:gn,removeAtIndex:fe,add:Et,toggleOption:rt,getOptionIndex:()=>s.value,setOptionIndex:He,moveOptionSelection:Ye,filter:re,updateMenuPosition:ad,updateInputValue:ae,isOptionSelected:qt,getEmittingOptionValue:q,isOptionDisabled:(...C)=>ve.value.apply(null,C)===!0,getOptionValue:(...C)=>J.value.apply(null,C),getOptionLabel:(...C)=>me.value.apply(null,C)}),Object.assign(O,{innerValue:w,fieldClass:l.computed(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:A,targetRef:I,hasValue:se,showPopup:Bn,floatingLabel:l.computed(()=>e.hideSelected!==!0&&se.value===!0||typeof u.value=="number"||u.value.length!==0||Kn(e.displayValue)),getControlChild:()=>{if(O.editable.value!==!1&&(i.value===!0||ge.value!==!0||t["no-option"]!==void 0))return _===!0?$t():ue();O.hasPopupOpen===!0&&(O.hasPopupOpen=!1)},controlEvents:{onFocusin(C){O.onControlFocusin(C)},onFocusout(C){O.onControlFocusout(C,()=>{Fn(),Mn()})},onClick(C){var X;if(St(C),_!==!0&&a.value===!0){Mn(),(X=I.value)==null||X.focus();return}Bn(C)}},getControl:C=>{const X=ea(),ee=C===!0||i.value!==!0||_!==!0;if(e.useInput===!0)X.push(ta(C,ee));else if(O.editable.value===!0){const Te=ee===!0?ut.value:void 0;X.push(l.h("input",{ref:ee===!0?I:void 0,key:"d_t",class:"q-select__focus-target",id:ee===!0?O.targetUid.value:void 0,value:Ee.value,readonly:!0,"data-autofocus":C===!0||e.autofocus===!0||void 0,...Te,onKeydown:hn,onKeyup:sr,onKeypress:go})),ee===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&X.push(l.h("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Vn}))}if(P.value!==void 0&&e.disable!==!0&&de.value.length!==0){const Te=de.value.map(Me=>l.h("option",{value:Me,selected:!0}));X.push(l.h("select",{class:"hidden",name:P.value,multiple:e.multiple},Te))}const he=e.useInput===!0||ee!==!0?void 0:O.splitAttrs.attributes.value;return l.h("div",{class:"q-field__native row items-center",...he,...O.splitAttrs.listeners.value},X)},getInnerAppend:()=>e.loading!==!0&&d.value!==!0&&e.hideDropdownIcon!==!0?[l.h(Ve,{class:"q-select__dropdown-icon"+(a.value===!0?" rotate-180":""),name:E.value})]:null}),Nr(O)}}),nm={xs:2,sm:4,md:6,lg:10,xl:14};function Ai(e,t,n){return{transform:t===!0?`translateX(${n.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const om=be({name:"QLinearProgress",props:{...dt,...Un,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=l.getCurrentInstance(),o=ft(e,n.$q),r=Hn(e,nm),a=l.computed(()=>e.indeterminate===!0||e.query===!0),i=l.computed(()=>e.reverse!==e.query),s=l.computed(()=>({...r.value!==null?r.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),u=l.computed(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),f=l.computed(()=>Ai(e.buffer!==void 0?e.buffer:1,i.value,n.$q)),d=l.computed(()=>`with${e.instantFeedback===!0?"out":""}-transition`),c=l.computed(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${d.value} q-linear-progress__track--${o.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),h=l.computed(()=>Ai(a.value===!0?1:e.value,i.value,n.$q)),m=l.computed(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${d.value} q-linear-progress__model--${a.value===!0?"in":""}determinate`),_=l.computed(()=>({width:`${e.value*100}%`})),v=l.computed(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${d.value}`);return()=>{const p=[l.h("div",{class:c.value,style:f.value}),l.h("div",{class:m.value,style:h.value})];return e.stripe===!0&&a.value===!1&&p.push(l.h("div",{class:v.value,style:_.value})),l.h("div",{class:u.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},Rt(t.default,p))}}});function rm(e,t){const n=l.ref(null),o=l.computed(()=>e.disable===!0?null:l.h("span",{ref:n,class:"no-outline",tabindex:-1}));function r(a){const i=t.value;(a==null?void 0:a.qAvoidFocus)!==!0&&((a==null?void 0:a.type.indexOf("key"))===0?document.activeElement!==i&&(i==null?void 0:i.contains(document.activeElement))===!0&&i.focus():n.value!==null&&(a===void 0||(i==null?void 0:i.contains(a.target))===!0)&&n.value.focus())}return{refocusTargetEl:o,refocusTarget:r}}const lm={xs:30,sm:35,md:40,lg:50,xl:60},am={...dt,...Un,...Ur,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]},im=["update:modelValue"];function sm(e,t){const{props:n,slots:o,emit:r,proxy:a}=l.getCurrentInstance(),{$q:i}=a,s=ft(n,i),u=l.ref(null),{refocusTargetEl:f,refocusTarget:d}=rm(n,u),c=Hn(n,lm),h=l.computed(()=>n.val!==void 0&&Array.isArray(n.modelValue)),m=l.computed(()=>{const D=l.toRaw(n.val);return h.value===!0?n.modelValue.findIndex(K=>l.toRaw(K)===D):-1}),_=l.computed(()=>h.value===!0?m.value!==-1:l.toRaw(n.modelValue)===l.toRaw(n.trueValue)),v=l.computed(()=>h.value===!0?m.value===-1:l.toRaw(n.modelValue)===l.toRaw(n.falseValue)),p=l.computed(()=>_.value===!1&&v.value===!1),g=l.computed(()=>n.disable===!0?-1:n.tabindex||0),b=l.computed(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),S=l.computed(()=>{const D=_.value===!0?"truthy":v.value===!0?"falsy":"indet",K=n.color!==void 0&&(n.keepColor===!0||v.value!==!0)?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${D}${K}`}),y=l.computed(()=>{const D={type:"checkbox"};return n.name!==void 0&&Object.assign(D,{".checked":_.value,"^checked":_.value===!0?"checked":void 0,name:n.name,value:h.value===!0?n.val:n.trueValue}),D}),A=Yf(y),I=l.computed(()=>{const D={tabindex:g.value,role:"checkbox","aria-label":n.label,"aria-checked":p.value===!0?"mixed":_.value===!0?"true":"false"};return n.disable===!0&&(D["aria-disabled"]="true"),D});function T(D){D!==void 0&&(ze(D),d(D)),n.disable!==!0&&r("update:modelValue",M(),D)}function M(){if(h.value===!0){if(_.value===!0){const D=n.modelValue.slice();return D.splice(m.value,1),D}return n.modelValue.concat([n.val])}if(_.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(v.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function x(D){(D.keyCode===13||D.keyCode===32)&&ze(D)}function P(D){(D.keyCode===13||D.keyCode===32)&&T(D)}const F=t(_,p);return Object.assign(a,{toggle:T}),()=>{const D=F();n.disable!==!0&&A(D,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const K=[l.h("div",{class:S.value,style:c.value,"aria-hidden":"true"},D)];f.value!==null&&K.push(f.value);const V=n.label!==void 0?Rt(o.default,[n.label]):ke(o.default);return V!==void 0&&K.push(l.h("div",{class:`q-${e}__label q-anchor--skip`},V)),l.h("div",{ref:u,class:b.value,...I.value,onClick:T,onKeydown:x,onKeyup:P},K)}}const um=()=>l.h("div",{key:"svg",class:"q-checkbox__bg absolute"},[l.h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[l.h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),l.h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),zt=be({name:"QCheckbox",props:am,emits:im,setup(e){const t=um();function n(o,r){const a=l.computed(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>a.value!==null?[l.h("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[l.h(Ve,{class:"q-checkbox__icon",name:a.value})])]:[t]}return sm("checkbox",n)}}),Di={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},cm=Object.keys(Di),Ii={align:{type:String,validator:e=>cm.includes(e)}};function xi(e){return l.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${Di[t]}`})}const Ni={none:0,xs:4,sm:8,md:16,lg:24,xl:32},dm={xs:8,sm:10,md:14,lg:20,xl:24},fm=["button","submit","reset"],mm=/[^\s]\/[^\s]/,hm=["flat","outline","push","unelevated"];function gm(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const pm={...{...Un,...Qa,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...hm.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:{...Ii.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},round:Boolean};function _m(e){const t=Hn(e,dm),n=xi(e),{hasRouterLink:o,hasLink:r,linkTag:a,linkAttrs:i,navigateOnClick:s}=Xa({fallbackTag:"button"}),u=l.computed(()=>{const p=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},p,{padding:e.padding.split(/\s+/).map(g=>g in Ni?Ni[g]+"px":g).join(" "),minWidth:"0",minHeight:"0"}):p}),f=l.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),d=l.computed(()=>e.disable!==!0&&e.loading!==!0),c=l.computed(()=>d.value===!0?e.tabindex||0:-1),h=l.computed(()=>gm(e,"standard")),m=l.computed(()=>{const p={tabindex:c.value};return r.value===!0?Object.assign(p,i.value):fm.includes(e.type)===!0&&(p.type=e.type),a.value==="a"?(e.disable===!0?p["aria-disabled"]="true":p.href===void 0&&(p.role="button"),o.value!==!0&&mm.test(e.type)===!0&&(p.type=e.type)):e.disable===!0&&(p.disabled="",p["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(p,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),p}),_=l.computed(()=>{let p;e.color!==void 0?e.flat===!0||e.outline===!0?p=`text-${e.textColor||e.color}`:p=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(p=`text-${e.textColor}`);const g=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${h.value} q-btn--${g}`+(p!==void 0?" "+p:"")+(d.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),v=l.computed(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:_,style:u,innerClasses:v,attributes:m,hasLink:r,linkTag:a,navigateOnClick:s,isActionable:d}}const{passiveCapture:_t}=Qe;let vn=null,yn=null,En=null;const It=be({name:"QBtn",props:{...pm,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:o}=l.getCurrentInstance(),{classes:r,style:a,innerClasses:i,attributes:s,hasLink:u,linkTag:f,navigateOnClick:d,isActionable:c}=_m(e),h=l.ref(null),m=l.ref(null);let _=null,v,p=null;const g=l.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),b=l.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:u.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),S=l.computed(()=>({center:e.round})),y=l.computed(()=>{const V=Math.max(0,Math.min(100,e.percentage));return V>0?{transition:"transform 0.6s",transform:`translateX(${V-100}%)`}:{}}),A=l.computed(()=>{if(e.loading===!0)return{onMousedown:K,onTouchstart:K,onClick:K,onKeydown:K,onKeyup:K};if(c.value===!0){const V={onClick:T,onKeydown:M,onMousedown:P};if(o.$q.platform.has.touch===!0){const ne=e.onTouchstart!==void 0?"":"Passive";V[`onTouchstart${ne}`]=x}return V}return{onClick:ze}}),I=l.computed(()=>({ref:h,class:"q-btn q-btn-item non-selectable no-outline "+r.value,style:a.value,...s.value,...A.value}));function T(V){if(h.value!==null){if(V!==void 0){if(V.defaultPrevented===!0)return;const ne=document.activeElement;if(e.type==="submit"&&ne!==document.body&&h.value.contains(ne)===!1&&ne.contains(h.value)===!1){V.qAvoidFocus!==!0&&h.value.focus();const W=()=>{var $;document.removeEventListener("keydown",ze,!0),document.removeEventListener("keyup",W,_t),($=h.value)==null||$.removeEventListener("blur",W,_t)};document.addEventListener("keydown",ze,!0),document.addEventListener("keyup",W,_t),h.value.addEventListener("blur",W,_t)}}d(V)}}function M(V){h.value!==null&&(n("keydown",V),Jt(V,[13,32])===!0&&yn!==h.value&&(yn!==null&&D(),V.defaultPrevented!==!0&&(V.qAvoidFocus!==!0&&h.value.focus(),yn=h.value,h.value.classList.add("q-btn--active"),document.addEventListener("keyup",F,!0),h.value.addEventListener("blur",F,_t)),ze(V)))}function x(V){h.value!==null&&(n("touchstart",V),V.defaultPrevented!==!0&&(vn!==h.value&&(vn!==null&&D(),vn=h.value,_=V.target,_.addEventListener("touchcancel",F,_t),_.addEventListener("touchend",F,_t)),v=!0,p!==null&&clearTimeout(p),p=setTimeout(()=>{p=null,v=!1},200)))}function P(V){h.value!==null&&(V.qSkipRipple=v===!0,n("mousedown",V),V.defaultPrevented!==!0&&En!==h.value&&(En!==null&&D(),En=h.value,h.value.classList.add("q-btn--active"),document.addEventListener("mouseup",F,_t)))}function F(V){if(h.value!==null&&!((V==null?void 0:V.type)==="blur"&&document.activeElement===h.value)){if((V==null?void 0:V.type)==="keyup"){if(yn===h.value&&Jt(V,[13,32])===!0){const ne=new MouseEvent("click",V);ne.qKeyEvent=!0,V.defaultPrevented===!0&&St(ne),V.cancelBubble===!0&&At(ne),h.value.dispatchEvent(ne),ze(V),V.qKeyEvent=!0}n("keyup",V)}D()}}function D(V){var W,$;const ne=m.value;V!==!0&&(vn===h.value||En===h.value)&&ne!==null&&ne!==document.activeElement&&(ne.setAttribute("tabindex",-1),ne.focus()),vn===h.value&&(_!==null&&(_.removeEventListener("touchcancel",F,_t),_.removeEventListener("touchend",F,_t)),vn=_=null),En===h.value&&(document.removeEventListener("mouseup",F,_t),En=null),yn===h.value&&(document.removeEventListener("keyup",F,!0),(W=h.value)==null||W.removeEventListener("blur",F,_t),yn=null),($=h.value)==null||$.classList.remove("q-btn--active")}function K(V){ze(V),V.qSkipRipple=!0}return l.onBeforeUnmount(()=>{D(!0)}),Object.assign(o,{click:V=>{c.value===!0&&T(V)}}),()=>{let V=[];e.icon!==void 0&&V.push(l.h(Ve,{name:e.icon,left:e.stack!==!0&&g.value===!0,role:"img"})),g.value===!0&&V.push(l.h("span",{class:"block"},[e.label])),V=Rt(t.default,V),e.iconRight!==void 0&&e.round===!1&&V.push(l.h(Ve,{name:e.iconRight,right:e.stack!==!0&&g.value===!0,role:"img"}));const ne=[l.h("span",{class:"q-focus-helper",ref:m})];return e.loading===!0&&e.percentage!==void 0&&ne.push(l.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[l.h("span",{class:"q-btn__progress-indicator fit block",style:y.value})])),ne.push(l.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+i.value},V)),e.loading!==null&&ne.push(l.h(l.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[l.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[l.h(La)])]:null)),l.withDirectives(l.h(f.value,I.value,ne),[[ja,b.value,void 0,S.value]])}}});let Qn=0;const bm={fullscreen:Boolean,noRouteFullscreenExit:Boolean},vm=["update:fullscreen","fullscreen"];function ym(){const e=l.getCurrentInstance(),{props:t,emit:n,proxy:o}=e;let r,a,i;const s=l.ref(!1);Lr(e)===!0&&l.watch(()=>o.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&d()}),l.watch(()=>t.fullscreen,c=>{s.value!==c&&u()}),l.watch(s,c=>{n("update:fullscreen",c),n("fullscreen",c)});function u(){s.value===!0?d():f()}function f(){s.value!==!0&&(s.value=!0,i=o.$el.parentNode,i.replaceChild(a,o.$el),document.body.appendChild(o.$el),Qn++,Qn===1&&document.body.classList.add("q-body--fullscreen-mixin"),r={handler:d},$n.add(r))}function d(){s.value===!0&&(r!==void 0&&($n.remove(r),r=void 0),i.replaceChild(o.$el,a),s.value=!1,Qn=Math.max(0,Qn-1),Qn===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),o.$el.scrollIntoView!==void 0&&setTimeout(()=>{o.$el.scrollIntoView()})))}return l.onBeforeMount(()=>{a=document.createElement("span")}),l.onMounted(()=>{t.fullscreen===!0&&f()}),l.onBeforeUnmount(d),Object.assign(o,{toggleFullscreen:u,setFullscreen:f,exitFullscreen:d}),{inFullscreen:s,toggleFullscreen:u}}function Em(e,t){return new Date(e)-new Date(t)}const Sm={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function Cm(e,t,n,o){const r=l.computed(()=>{const{sortBy:s}=t.value;return s&&n.value.find(u=>u.name===s)||null}),a=l.computed(()=>e.sortMethod!==void 0?e.sortMethod:(s,u,f)=>{const d=n.value.find(m=>m.name===u);if(d===void 0||d.field===void 0)return s;const c=f===!0?-1:1,h=typeof d.field=="function"?m=>d.field(m):m=>m[d.field];return s.sort((m,_)=>{let v=h(m),p=h(_);return d.rawSort!==void 0?d.rawSort(v,p,m,_)*c:v==null?-1*c:p==null?1*c:d.sort!==void 0?d.sort(v,p,m,_)*c:br(v)===!0&&br(p)===!0?(v-p)*c:yo(v)===!0&&yo(p)===!0?Em(v,p)*c:typeof v=="boolean"&&typeof p=="boolean"?(v-p)*c:([v,p]=[v,p].map(g=>(g+"").toLocaleString().toLowerCase()),v<p?-1*c:v===p?0:c)})});function i(s){let u=e.columnSortOrder;if(_r(s)===!0)s.sortOrder&&(u=s.sortOrder),s=s.name;else{const c=n.value.find(h=>h.name===s);c!=null&&c.sortOrder&&(u=c.sortOrder)}let{sortBy:f,descending:d}=t.value;f!==s?(f=s,d=u==="da"):e.binaryStateSort===!0?d=!d:d===!0?u==="ad"?f=null:d=!1:u==="ad"?d=!0:f=null,o({sortBy:f,descending:d,page:1})}return{columnToSort:r,computedSortMethod:a,sort:i}}const km={filter:[String,Object],filterMethod:Function};function wm(e,t){const n=l.computed(()=>e.filterMethod!==void 0?e.filterMethod:(o,r,a,i)=>{const s=r?r.toLowerCase():"";return o.filter(u=>a.some(f=>{const d=i(f,u)+"";return(d==="undefined"||d==="null"?"":d.toLowerCase()).indexOf(s)!==-1}))});return l.watch(()=>e.filter,()=>{l.nextTick(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:n}}function Tm(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function Pi(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const Om={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function Am(e,t){const{props:n,emit:o}=e,r=l.ref(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length!==0?n.rowsPerPageOptions[0]:5},n.pagination)),a=l.computed(()=>{const d=n["onUpdate:pagination"]!==void 0?{...r.value,...n.pagination}:r.value;return Pi(d)}),i=l.computed(()=>a.value.rowsNumber!==void 0);function s(d){u({pagination:d,filter:n.filter})}function u(d={}){l.nextTick(()=>{o("request",{pagination:d.pagination||a.value,filter:d.filter||n.filter,getCellValue:t})})}function f(d,c){const h=Pi({...a.value,...d});if(Tm(a.value,h)===!0){i.value===!0&&c===!0&&s(h);return}if(i.value===!0){s(h);return}n.pagination!==void 0&&n["onUpdate:pagination"]!==void 0?o("update:pagination",h):r.value=h}return{innerPagination:r,computedPagination:a,isServerSide:i,requestServerInteraction:u,setPagination:f}}function Dm(e,t,n,o,r,a){const{props:i,emit:s,proxy:{$q:u}}=e,f=l.computed(()=>o.value===!0?n.value.rowsNumber||0:a.value),d=l.computed(()=>{const{page:y,rowsPerPage:A}=n.value;return(y-1)*A}),c=l.computed(()=>{const{page:y,rowsPerPage:A}=n.value;return y*A}),h=l.computed(()=>n.value.page===1),m=l.computed(()=>n.value.rowsPerPage===0?1:Math.max(1,Math.ceil(f.value/n.value.rowsPerPage))),_=l.computed(()=>c.value===0?!0:n.value.page>=m.value),v=l.computed(()=>(i.rowsPerPageOptions.includes(t.value.rowsPerPage)?i.rowsPerPageOptions:[t.value.rowsPerPage].concat(i.rowsPerPageOptions)).map(A=>({label:A===0?u.lang.table.allRows:""+A,value:A})));l.watch(m,(y,A)=>{if(y===A)return;const I=n.value.page;y&&!I?r({page:1}):y<I&&r({page:y})});function p(){r({page:1})}function g(){const{page:y}=n.value;y>1&&r({page:y-1})}function b(){const{page:y,rowsPerPage:A}=n.value;c.value>0&&y*A<f.value&&r({page:y+1})}function S(){r({page:m.value})}return i["onUpdate:pagination"]!==void 0&&s("update:pagination",{...n.value}),{firstRowIndex:d,lastRowIndex:c,isFirstPage:h,isLastPage:_,pagesNumber:m,computedRowsPerPageOptions:v,computedRowsNumber:f,firstPage:p,prevPage:g,nextPage:b,lastPage:S}}const Im={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},xm=["update:selected","selection"];function Nm(e,t,n,o){const r=l.computed(()=>{const _={};return e.selected.map(o.value).forEach(v=>{_[v]=!0}),_}),a=l.computed(()=>e.selection!=="none"),i=l.computed(()=>e.selection==="single"),s=l.computed(()=>e.selection==="multiple"),u=l.computed(()=>n.value.length!==0&&n.value.every(_=>r.value[o.value(_)]===!0)),f=l.computed(()=>u.value!==!0&&n.value.some(_=>r.value[o.value(_)]===!0)),d=l.computed(()=>e.selected.length);function c(_){return r.value[_]===!0}function h(){t("update:selected",[])}function m(_,v,p,g){t("selection",{rows:v,added:p,keys:_,evt:g});const b=i.value===!0?p===!0?v:[]:p===!0?e.selected.concat(v):e.selected.filter(S=>_.includes(o.value(S))===!1);t("update:selected",b)}return{hasSelectionMode:a,singleSelection:i,multipleSelection:s,allRowsSelected:u,someRowsSelected:f,rowsSelectedNumber:d,isRowSelected:c,clearSelection:h,updateSelection:m}}function Li(e){return Array.isArray(e)?e.slice():[]}const Pm={expanded:Array},Lm=["update:expanded"];function Vm(e,t){const n=l.ref(Li(e.expanded));l.watch(()=>e.expanded,i=>{n.value=Li(i)});function o(i){return n.value.includes(i)}function r(i){e.expanded!==void 0?t("update:expanded",i):n.value=i}function a(i,s){const u=n.value.slice(),f=u.indexOf(i);s===!0?f===-1&&(u.push(i),r(u)):f!==-1&&(u.splice(f,1),r(u))}return{isRowExpanded:o,setExpanded:r,updateExpanded:a}}const Rm={visibleColumns:Array};function Mm(e,t,n){const o=l.computed(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(u=>({name:u,label:u.toUpperCase(),field:u,align:br(s[u])?"right":"left",sortable:!0})):[]}),r=l.computed(()=>{const{sortBy:s,descending:u}=t.value;return(e.visibleColumns!==void 0?o.value.filter(d=>d.required===!0||e.visibleColumns.includes(d.name)===!0):o.value).map(d=>{const c=d.align||"right",h=`text-${c}`;return{...d,align:c,__iconClass:`q-table__sort-icon q-table__sort-icon--${c}`,__thClass:h+(d.headerClasses!==void 0?" "+d.headerClasses:"")+(d.sortable===!0?" sortable":"")+(d.name===s?` sorted ${u===!0?"sort-desc":""}`:""),__tdStyle:d.style!==void 0?typeof d.style!="function"?()=>d.style:d.style:()=>null,__tdClass:d.classes!==void 0?typeof d.classes!="function"?()=>h+" "+d.classes:m=>h+" "+d.classes(m):()=>h}})}),a=l.computed(()=>{const s={};return r.value.forEach(u=>{s[u.name]=u}),s}),i=l.computed(()=>e.tableColspan!==void 0?e.tableColspan:r.value.length+(n.value===!0?1:0));return{colList:o,computedCols:r,computedColsMap:a,computedColspan:i}}const Po="q-table__bottom row items-center",Vi={};Da.forEach(e=>{Vi[e]={}});const Bm=be({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...Vi,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],tableRowStyleFn:Function,tableRowClassFn:Function,cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],cardStyleFn:Function,cardClassFn:Function,hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...dt,...bm,...Rm,...km,...Om,...Pm,...Im,...Sm},emits:["request","virtualScroll",...vm,...Lm,...xm],setup(e,{slots:t,emit:n}){const o=l.getCurrentInstance(),{proxy:{$q:r}}=o,a=ft(e,r),{inFullscreen:i,toggleFullscreen:s}=ym(),u=l.computed(()=>typeof e.rowKey=="function"?e.rowKey:N=>N[e.rowKey]),f=l.ref(null),d=l.ref(null),c=l.computed(()=>e.grid!==!0&&e.virtualScroll===!0),h=l.computed(()=>" q-table__card"+(a.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),m=l.computed(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":h.value)+(a.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(i.value===!0?" fullscreen scroll":"")),_=l.computed(()=>m.value+(e.loading===!0?" q-table--loading":""));l.watch(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+m.value,()=>{var N;c.value===!0&&((N=d.value)==null||N.reset())});const{innerPagination:v,computedPagination:p,isServerSide:g,requestServerInteraction:b,setPagination:S}=Am(o,He),{computedFilterMethod:y}=wm(e,S),{isRowExpanded:A,setExpanded:I,updateExpanded:T}=Vm(e,n),M=l.computed(()=>{let N=e.rows;if(g.value===!0||N.length===0)return N;const{sortBy:Z,descending:ae}=p.value;return e.filter&&(N=y.value(N,e.filter,O.value,He)),le.value!==null&&(N=se.value(e.rows===N?N.slice():N,Z,ae)),N}),x=l.computed(()=>M.value.length),P=l.computed(()=>{let N=M.value;if(g.value===!0)return N;const{rowsPerPage:Z}=p.value;return Z!==0&&(G.value===0&&e.rows!==N?N.length>ge.value&&(N=N.slice(0,ge.value)):N=N.slice(G.value,ge.value)),N}),{hasSelectionMode:F,singleSelection:D,multipleSelection:K,allRowsSelected:V,someRowsSelected:ne,rowsSelectedNumber:W,isRowSelected:$,clearSelection:H,updateSelection:Q}=Nm(e,n,P,u),{colList:oe,computedCols:O,computedColsMap:w,computedColspan:j}=Mm(e,p,F),{columnToSort:le,computedSortMethod:se,sort:U}=Cm(e,p,oe,S),{firstRowIndex:G,lastRowIndex:ge,isFirstPage:z,isLastPage:Ee,pagesNumber:Ne,computedRowsPerPageOptions:vt,computedRowsNumber:Le,firstPage:ut,prevPage:We,nextPage:Ze,lastPage:yt}=Dm(o,v,p,g,S,x),E=l.computed(()=>P.value.length===0),k=l.computed(()=>{const N={};return Da.forEach(Z=>{N[Z]=e[Z]}),N.virtualScrollItemSize===void 0&&(N.virtualScrollItemSize=e.dense===!0?28:48),N});function R(){c.value===!0&&d.value.reset()}function J(){if(e.grid===!0)return ta();const N=e.hideHeader!==!0?ho:null;if(c.value===!0){const ae=t["top-row"],re=t["bottom-row"],ue={default:Pe=>L(Pe.item,t.body,Pe.index)};if(ae!==void 0){const Pe=l.h("tbody",ae({cols:O.value}));ue.before=N===null?()=>Pe:()=>[N()].concat(Pe)}else N!==null&&(ue.before=N);return re!==void 0&&(ue.after=()=>l.h("tbody",re({cols:O.value}))),l.h(tf,{ref:d,class:e.tableClass,style:e.tableStyle,...k.value,scrollTarget:e.virtualScrollTarget,items:P.value,type:"__qtable",tableColspan:j.value,onVirtualScroll:ve},ue)}const Z=[q()];return N!==null&&Z.unshift(N()),wa({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},Z)}function me(N,Z){if(d.value!==null){d.value.scrollTo(N,Z);return}N=parseInt(N,10);const ae=f.value.querySelector(`tbody tr:nth-of-type(${N+1})`);if(ae!==null){const re=f.value.querySelector(".q-table__middle.scroll"),ue=ae.offsetTop-e.virtualScrollStickySizeStart,Pe=ue<re.scrollTop?"decrease":"increase";re.scrollTop=ue,n("virtualScroll",{index:N,from:0,to:v.value.rowsPerPage-1,direction:Pe})}}function ve(N){n("virtualScroll",N)}function de(){return[l.h(om,{class:"q-table__linear-progress",color:e.color,dark:a.value,indeterminate:!0,trackColor:"transparent"})]}function L(N,Z,ae){const re=u.value(N),ue=$(re);if(Z!==void 0){const Ie={key:re,row:N,pageIndex:ae,__trClass:ue?"selected":""};if(e.tableRowStyleFn!==void 0&&(Ie.__trStyle=e.tableRowStyleFn(N)),e.tableRowClassFn!==void 0){const $t=e.tableRowClassFn(N);$t&&(Ie.__trClass=`${$t} ${Ie.__trClass}`)}return Z(fe(Ie))}const Pe=t["body-cell"],De=O.value.map(Ie=>{const $t=t[`body-cell-${Ie.name}`],Rn=$t!==void 0?$t:Pe;return Rn!==void 0?Rn(Ae({key:re,row:N,pageIndex:ae,col:Ie})):l.h("td",{class:Ie.__tdClass(N),style:Ie.__tdStyle(N)},He(Ie,N))});if(F.value===!0){const Ie=t["body-selection"],$t=Ie!==void 0?Ie(Et({key:re,row:N,pageIndex:ae})):[l.h(zt,{modelValue:ue,color:e.color,dark:a.value,dense:e.dense,"onUpdate:modelValue":(Rn,na)=>{Q([re],[N],Rn,na)}})];De.unshift(l.h("td",{class:"q-table--col-auto-width"},$t))}const gt={key:re,class:{selected:ue}};if(e.onRowClick!==void 0&&(gt.class["cursor-pointer"]=!0,gt.onClick=Ie=>{n("rowClick",Ie,N,ae)}),e.onRowDblclick!==void 0&&(gt.class["cursor-pointer"]=!0,gt.onDblclick=Ie=>{n("rowDblclick",Ie,N,ae)}),e.onRowContextmenu!==void 0&&(gt.class["cursor-pointer"]=!0,gt.onContextmenu=Ie=>{n("rowContextmenu",Ie,N,ae)}),e.tableRowStyleFn!==void 0&&(gt.style=e.tableRowStyleFn(N)),e.tableRowClassFn!==void 0){const Ie=e.tableRowClassFn(N);Ie&&(gt.class[Ie]=!0)}return l.h("tr",gt,De)}function q(){const N=t.body,Z=t["top-row"],ae=t["bottom-row"];let re=P.value.map((ue,Pe)=>L(ue,N,Pe));return Z!==void 0&&(re=Z({cols:O.value}).concat(re)),ae!==void 0&&(re=re.concat(ae({cols:O.value}))),l.h("tbody",re)}function fe(N){return rt(N),N.cols=N.cols.map(Z=>ct({...Z},"value",()=>He(Z,N.row))),N}function Ae(N){return rt(N),ct(N,"value",()=>He(N.col,N.row)),N}function Et(N){return rt(N),N}function rt(N){Object.assign(N,{cols:O.value,colsMap:w.value,sort:U,rowIndex:G.value+N.pageIndex,color:e.color,dark:a.value,dense:e.dense}),F.value===!0&&ct(N,"selected",()=>$(N.key),(Z,ae)=>{Q([N.key],[N.row],Z,ae)}),ct(N,"expand",()=>A(N.key),Z=>{T(N.key,Z)})}function He(N,Z){const ae=typeof N.field=="function"?N.field(Z):Z[N.field];return N.format!==void 0?N.format(ae,Z):ae}const Ye=l.computed(()=>({pagination:p.value,pagesNumber:Ne.value,isFirstPage:z.value,isLastPage:Ee.value,firstPage:ut,prevPage:We,nextPage:Ze,lastPage:yt,inFullscreen:i.value,toggleFullscreen:s}));function mo(){const N=t.top,Z=t["top-left"],ae=t["top-right"],re=t["top-selection"],ue=F.value===!0&&re!==void 0&&W.value>0,Pe="q-table__top relative-position row items-center";if(N!==void 0)return l.h("div",{class:Pe},[N(Ye.value)]);let De;if(ue===!0?De=re(Ye.value).slice():(De=[],Z!==void 0?De.push(l.h("div",{class:"q-table__control"},[Z(Ye.value)])):e.title&&De.push(l.h("div",{class:"q-table__control"},[l.h("div",{class:["q-table__title",e.titleClass]},e.title)]))),ae!==void 0&&(De.push(l.h("div",{class:"q-table__separator col"})),De.push(l.h("div",{class:"q-table__control"},[ae(Ye.value)]))),De.length!==0)return l.h("div",{class:Pe},De)}const qt=l.computed(()=>ne.value===!0?null:V.value);function ho(){const N=sr();return e.loading===!0&&t.loading===void 0&&N.push(l.h("tr",{class:"q-table__progress"},[l.h("th",{class:"relative-position",colspan:j.value},de())])),l.h("thead",N)}function sr(){const N=t.header,Z=t["header-cell"];if(N!==void 0)return N(Vn({header:!0})).slice();const ae=O.value.map(re=>{const ue=t[`header-cell-${re.name}`],Pe=ue!==void 0?ue:Z,De=Vn({col:re});return Pe!==void 0?Pe(De):l.h(Cr,{key:re.name,props:De},()=>re.label)});if(D.value===!0&&e.grid!==!0)ae.unshift(l.h("th",{class:"q-table--col-auto-width"}," "));else if(K.value===!0){const re=t["header-selection"],ue=re!==void 0?re(Vn({})):[l.h(zt,{color:e.color,modelValue:qt.value,dark:a.value,dense:e.dense,"onUpdate:modelValue":go})];ae.unshift(l.h("th",{class:"q-table--col-auto-width"},ue))}return[l.h("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},ae)]}function Vn(N){return Object.assign(N,{cols:O.value,sort:U,colsMap:w.value,color:e.color,dark:a.value,dense:e.dense}),K.value===!0&&ct(N,"selected",()=>qt.value,go),N}function go(N){ne.value===!0&&(N=!1),Q(P.value.map(u.value),P.value,N)}const hn=l.computed(()=>{const N=[e.iconFirstPage||r.iconSet.table.firstPage,e.iconPrevPage||r.iconSet.table.prevPage,e.iconNextPage||r.iconSet.table.nextPage,e.iconLastPage||r.iconSet.table.lastPage];return r.lang.rtl===!0?N.reverse():N});function ur(){if(e.hideBottom===!0)return;if(E.value===!0){if(e.hideNoData===!0)return;const ae=e.loading===!0?e.loadingLabel||r.lang.table.loading:e.filter?e.noResultsLabel||r.lang.table.noResults:e.noDataLabel||r.lang.table.noData,re=t["no-data"],ue=re!==void 0?[re({message:ae,icon:r.iconSet.table.warning,filter:e.filter})]:[l.h(Ve,{class:"q-table__bottom-nodata-icon",name:r.iconSet.table.warning}),ae];return l.h("div",{class:Po+" q-table__bottom--nodata"},ue)}const N=t.bottom;if(N!==void 0)return l.h("div",{class:Po},[N(Ye.value)]);const Z=e.hideSelectedBanner!==!0&&F.value===!0&&W.value>0?[l.h("div",{class:"q-table__control"},[l.h("div",[(e.selectedRowsLabel||r.lang.table.selectedRecords)(W.value)])])]:[];if(e.hidePagination!==!0)return l.h("div",{class:Po+" justify-end"},ea(Z));if(Z.length!==0)return l.h("div",{class:Po},Z)}function Jl(N){S({page:1,rowsPerPage:N.value})}function ea(N){let Z;const{rowsPerPage:ae}=p.value,re=e.paginationLabel||r.lang.table.pagination,ue=t.pagination,Pe=e.rowsPerPageOptions.length>1;if(N.push(l.h("div",{class:"q-table__separator col"})),Pe===!0&&N.push(l.h("div",{class:"q-table__control"},[l.h("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||r.lang.table.recordsPerPage]),l.h(zr,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:ae,options:vt.value,displayValue:ae===0?r.lang.table.allRows:ae,dark:a.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":Jl})])),ue!==void 0)Z=ue(Ye.value);else if(Z=[l.h("span",ae!==0?{class:"q-table__bottom-item"}:{},[ae?re(G.value+1,Math.min(ge.value,Le.value),Le.value):re(1,x.value,Le.value)])],ae!==0&&Ne.value>1){const De={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(De.size="sm"),Ne.value>2&&Z.push(l.h(It,{key:"pgFirst",...De,icon:hn.value[0],disable:z.value,ariaLabel:r.lang.pagination.first,onClick:ut})),Z.push(l.h(It,{key:"pgPrev",...De,icon:hn.value[1],disable:z.value,ariaLabel:r.lang.pagination.prev,onClick:We}),l.h(It,{key:"pgNext",...De,icon:hn.value[2],disable:Ee.value,ariaLabel:r.lang.pagination.next,onClick:Ze})),Ne.value>2&&Z.push(l.h(It,{key:"pgLast",...De,icon:hn.value[3],disable:Ee.value,ariaLabel:r.lang.pagination.last,onClick:yt}))}return N.push(l.h("div",{class:"q-table__control"},Z)),N}function cr(){const N=e.gridHeader===!0?[l.h("table",{class:"q-table"},[ho()])]:e.loading===!0&&t.loading===void 0?de():void 0;return l.h("div",{class:"q-table__middle"},N)}function ta(){const N=t.item!==void 0?t.item:Z=>{const ae=Z.cols.map(ue=>l.h("div",{class:"q-table__grid-item-row"},[l.h("div",{class:"q-table__grid-item-title"},[ue.label]),l.h("div",{class:"q-table__grid-item-value"},[ue.value])]));if(F.value===!0){const ue=t["body-selection"],Pe=ue!==void 0?ue(Z):[l.h(zt,{modelValue:Z.selected,color:e.color,dark:a.value,dense:e.dense,"onUpdate:modelValue":(De,gt)=>{Q([Z.key],[Z.row],De,gt)}})];ae.unshift(l.h("div",{class:"q-table__grid-item-row"},Pe),l.h(pa,{dark:a.value}))}const re={class:["q-table__grid-item-card"+h.value,e.cardClass],style:e.cardStyle};if(e.cardStyleFn!==void 0&&(re.style=[re.style,e.cardStyleFn(Z.row)]),e.cardClassFn!==void 0){const ue=e.cardClassFn(Z.row);ue&&(re.class[0]+=` ${ue}`)}return(e.onRowClick!==void 0||e.onRowDblclick!==void 0||e.onRowContextmenu!==void 0)&&(re.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(re.onClick=ue=>{n("RowClick",ue,Z.row,Z.pageIndex)}),e.onRowDblclick!==void 0&&(re.onDblclick=ue=>{n("RowDblclick",ue,Z.row,Z.pageIndex)}),e.onRowContextmenu!==void 0&&(re.onContextmenu=ue=>{n("rowContextmenu",ue,Z.row,Z.pageIndex)})),l.h("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(Z.selected===!0?" q-table__grid-item--selected":"")},[l.h("div",re,ae)])};return l.h("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},P.value.map((Z,ae)=>N(fe({key:u.value(Z),row:Z,pageIndex:ae}))))}return Object.assign(o.proxy,{requestServerInteraction:b,setPagination:S,firstPage:ut,prevPage:We,nextPage:Ze,lastPage:yt,isRowSelected:$,clearSelection:H,isRowExpanded:A,setExpanded:I,sort:U,resetVirtualScroll:R,scrollTo:me,getCellValue:He}),cd(o.proxy,{filteredSortedRows:()=>M.value,computedRows:()=>P.value,computedRowsNumber:()=>Le.value}),()=>{const N=[mo()],Z={ref:f,class:_.value};return e.grid===!0?N.push(cr()):Object.assign(Z,{class:[Z.class,e.cardClass],style:e.cardStyle}),N.push(J(),ur()),e.loading===!0&&t.loading!==void 0&&N.push(t.loading()),l.h("div",Z,N)}}}),Fm=be({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=l.computed(()=>"q-tr"+(e.props===void 0||e.props.header===!0?"":" "+e.props.__trClass)+(e.noHover===!0?" q-tr--no-hover":""));return()=>{var o;return l.h("tr",{style:(o=e.props)==null?void 0:o.__trStyle,class:n.value},ke(t.default))}}}),qm={name:"TableSlotHeader",props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},smallDevice:{type:Boolean,required:!0}},data(){return{tablePropsData:this.tableProps,showColumnsSelector:!1,showSearch:!1}},watch:{tableProps(e){this.tablePropsData=e}},methods:{}},tt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function $m(e,t,n,o,r,a){return l.openBlock(),l.createBlock(Fm,{class:"table-header"},{default:l.withCtx(()=>[n.selectionType!=="none"?(l.openBlock(),l.createBlock(Cr,{key:0},{default:l.withCtx(()=>[n.selectionType=="multiple"?(l.openBlock(),l.createBlock(zt,{key:0,modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=i=>r.tablePropsData.selected=i),size:"sm",class:"float-left"},null,8,["modelValue"])):l.createCommentVNode("",!0)]),_:1})):l.createCommentVNode("",!0),n.smallDevice?l.createCommentVNode("",!0):(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:1},l.renderList(r.tablePropsData.cols,i=>(l.openBlock(),l.createBlock(Cr,{key:i.name,props:r.tablePropsData},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(i.label),1)]),_:2},1032,["props"]))),128))]),_:1})}const Um=tt(qm,[["render",$m]]),Hm={name:"TableColumnsSelector",props:{columns:{type:Array},visibleColumns:{type:Array,required:!0}},emits:["onSelectVisibleColumns"],data(){return{visibleColumnsData:[]}},watch:{visibleColumns(e){this.visibleColumnsData=e}},methods:{onSelectVisibleColumns(e){this.$emit("onSelectVisibleColumns",e)}}};function zm(e,t,n,o,r,a){return l.openBlock(),l.createBlock(zr,{modelValue:r.visibleColumnsData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.visibleColumnsData=i),a.onSelectVisibleColumns],multiple:"",outlined:"",dense:"","options-dense":"","display-value":e.$q.lang.table.columns,"emit-value":"","map-options":"",options:n.columns,"option-value":"name","options-cover":"",class:"columns-selector","options-selected-class":"addicional-visible-columns"},{option:l.withCtx(i=>[l.createVNode(Ht,l.mergeProps(i.itemProps,{class:i.opt.required?"required-table-columns":""}),{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,null,{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(i.opt.label),1)]),_:2},1024)]),_:2},1024)]),_:2},1040,["class"])]),_:1},8,["modelValue","display-value","options","onUpdate:modelValue"])}const jm=tt(Hm,[["render",zm]]),Ri=be({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=l.getCurrentInstance(),o=l.computed(()=>"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return l.h("td",{class:o.value},ke(t.default));const r=n.vnode.key,a=(e.props.colsMap!==void 0?e.props.colsMap[r]:null)||e.props.col;if(a===void 0)return;const{row:i}=e.props;return l.h("td",{class:o.value+a.__tdClass(i),style:a.__tdStyle(i)},ke(t.default))}}}),Mi={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},Lo={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},Bi=Object.keys(Lo);Bi.forEach(e=>{Lo[e].regex=new RegExp(Lo[e].pattern)});const Km=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+Bi.join("")+"])|(.)","g"),Fi=/[.*+?^${}()|[\]\\]/g,$e="",Wm={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function Ym(e,t,n,o){let r,a,i,s,u,f;const d=l.ref(null),c=l.ref(m());function h(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}l.watch(()=>e.type+e.autogrow,v),l.watch(()=>e.mask,x=>{if(x!==void 0)p(c.value,!0);else{const P=T(c.value);v(),e.modelValue!==P&&t("update:modelValue",P)}}),l.watch(()=>e.fillMask+e.reverseFillMask,()=>{d.value===!0&&p(c.value,!0)}),l.watch(()=>e.unmaskedValue,()=>{d.value===!0&&p(c.value)});function m(){if(v(),d.value===!0){const x=A(T(e.modelValue));return e.fillMask!==!1?M(x):x}return e.modelValue}function _(x){if(x<r.length)return r.slice(-x);let P="",F=r;const D=F.indexOf($e);if(D!==-1){for(let K=x-F.length;K>0;K--)P+=$e;F=F.slice(0,D)+P+F.slice(D)}return F}function v(){if(d.value=e.mask!==void 0&&e.mask.length!==0&&h(),d.value===!1){s=void 0,r="",a="";return}const x=Mi[e.mask]===void 0?e.mask:Mi[e.mask],P=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",F=P.replace(Fi,"\\$&"),D=[],K=[],V=[];let ne=e.reverseFillMask===!0,W="",$="";x.replace(Km,(O,w,j,le,se)=>{if(le!==void 0){const U=Lo[le];V.push(U),$=U.negate,ne===!0&&(K.push("(?:"+$+"+)?("+U.pattern+"+)?(?:"+$+"+)?("+U.pattern+"+)?"),ne=!1),K.push("(?:"+$+"+)?("+U.pattern+")?")}else if(j!==void 0)W="\\"+(j==="\\"?"":j),V.push(j),D.push("([^"+W+"]+)?"+W+"?");else{const U=w!==void 0?w:se;W=U==="\\"?"\\\\\\\\":U.replace(Fi,"\\\\$&"),V.push(U),D.push("([^"+W+"]+)?"+W+"?")}});const H=new RegExp("^"+D.join("")+"("+(W===""?".":"[^"+W+"]")+"+)?"+(W===""?"":"["+W+"]*")+"$"),Q=K.length-1,oe=K.map((O,w)=>w===0&&e.reverseFillMask===!0?new RegExp("^"+F+"*"+O):w===Q?new RegExp("^"+O+"("+($===""?".":$)+"+)?"+(e.reverseFillMask===!0?"$":F+"*")):new RegExp("^"+O));i=V,s=O=>{const w=H.exec(e.reverseFillMask===!0?O:O.slice(0,V.length+1));w!==null&&(O=w.slice(1).join(""));const j=[],le=oe.length;for(let se=0,U=O;se<le;se++){const G=oe[se].exec(U);if(G===null)break;U=U.slice(G.shift().length),j.push(...G)}return j.length!==0?j.join(""):O},r=V.map(O=>typeof O=="string"?O:$e).join(""),a=r.split($e).join(P)}function p(x,P,F){const D=o.value,K=D.selectionEnd,V=D.value.length-K,ne=T(x);P===!0&&v();const W=A(ne),$=e.fillMask!==!1?M(W):W,H=c.value!==$;D.value!==$&&(D.value=$),H===!0&&(c.value=$),document.activeElement===D&&l.nextTick(()=>{if($===a){const oe=e.reverseFillMask===!0?a.length:0;D.setSelectionRange(oe,oe,"forward");return}if(F==="insertFromPaste"&&e.reverseFillMask!==!0){const oe=D.selectionEnd;let O=K-1;for(let w=u;w<=O&&w<oe;w++)r[w]!==$e&&O++;b.right(D,O);return}if(["deleteContentBackward","deleteContentForward"].indexOf(F)!==-1){const oe=e.reverseFillMask===!0?K===0?$.length>W.length?1:0:Math.max(0,$.length-($===a?0:Math.min(W.length,V)+1))+1:K;D.setSelectionRange(oe,oe,"forward");return}if(e.reverseFillMask===!0)if(H===!0){const oe=Math.max(0,$.length-($===a?0:Math.min(W.length,V+1)));oe===1&&K===1?D.setSelectionRange(oe,oe,"forward"):b.rightReverse(D,oe)}else{const oe=$.length-V;D.setSelectionRange(oe,oe,"backward")}else if(H===!0){const oe=Math.max(0,r.indexOf($e),Math.min(W.length,K)-1);b.right(D,oe)}else{const oe=K-1;b.right(D,oe)}});const Q=e.unmaskedValue===!0?T($):$;String(e.modelValue)!==Q&&(e.modelValue!==null||Q!=="")&&n(Q,!0)}function g(x,P,F){const D=A(T(x.value));P=Math.max(0,r.indexOf($e),Math.min(D.length,P)),u=P,x.setSelectionRange(P,F,"forward")}const b={left(x,P){const F=r.slice(P-1).indexOf($e)===-1;let D=Math.max(0,P-1);for(;D>=0;D--)if(r[D]===$e){P=D,F===!0&&P++;break}if(D<0&&r[P]!==void 0&&r[P]!==$e)return b.right(x,0);P>=0&&x.setSelectionRange(P,P,"backward")},right(x,P){const F=x.value.length;let D=Math.min(F,P+1);for(;D<=F;D++)if(r[D]===$e){P=D;break}else r[D-1]===$e&&(P=D);if(D>F&&r[P-1]!==void 0&&r[P-1]!==$e)return b.left(x,F);x.setSelectionRange(P,P,"forward")},leftReverse(x,P){const F=_(x.value.length);let D=Math.max(0,P-1);for(;D>=0;D--)if(F[D-1]===$e){P=D;break}else if(F[D]===$e&&(P=D,D===0))break;if(D<0&&F[P]!==void 0&&F[P]!==$e)return b.rightReverse(x,0);P>=0&&x.setSelectionRange(P,P,"backward")},rightReverse(x,P){const F=x.value.length,D=_(F),K=D.slice(0,P+1).indexOf($e)===-1;let V=Math.min(F,P+1);for(;V<=F;V++)if(D[V-1]===$e){P=V,P>0&&K===!0&&P--;break}if(V>F&&D[P-1]!==void 0&&D[P-1]!==$e)return b.leftReverse(x,F);x.setSelectionRange(P,P,"forward")}};function S(x){t("click",x),f=void 0}function y(x){if(t("keydown",x),gr(x)===!0||x.altKey===!0)return;const P=o.value,F=P.selectionStart,D=P.selectionEnd;if(x.shiftKey||(f=void 0),x.keyCode===37||x.keyCode===39){x.shiftKey&&f===void 0&&(f=P.selectionDirection==="forward"?F:D);const K=b[(x.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(x.preventDefault(),K(P,f===F?D:F),x.shiftKey){const V=P.selectionStart;P.setSelectionRange(Math.min(f,V),Math.max(f,V),"forward")}}else x.keyCode===8&&e.reverseFillMask!==!0&&F===D?(b.left(P,F),P.setSelectionRange(P.selectionStart,D,"backward")):x.keyCode===46&&e.reverseFillMask===!0&&F===D&&(b.rightReverse(P,D),P.setSelectionRange(F,P.selectionEnd,"forward"))}function A(x){if(x==null||x==="")return"";if(e.reverseFillMask===!0)return I(x);const P=i;let F=0,D="";for(let K=0;K<P.length;K++){const V=x[F],ne=P[K];if(typeof ne=="string")D+=ne,V===ne&&F++;else if(V!==void 0&&ne.regex.test(V))D+=ne.transform!==void 0?ne.transform(V):V,F++;else return D}return D}function I(x){const P=i,F=r.indexOf($e);let D=x.length-1,K="";for(let V=P.length-1;V>=0&&D!==-1;V--){const ne=P[V];let W=x[D];if(typeof ne=="string")K=ne+K,W===ne&&D--;else if(W!==void 0&&ne.regex.test(W))do K=(ne.transform!==void 0?ne.transform(W):W)+K,D--,W=x[D];while(F===V&&W!==void 0&&ne.regex.test(W));else return K}return K}function T(x){return typeof x!="string"||s===void 0?typeof x=="number"?s(""+x):x:s(x)}function M(x){return a.length-x.length<=0?x:e.reverseFillMask===!0&&x.length!==0?a.slice(0,-x.length)+x:x+a.slice(x.length)}return{innerValue:c,hasMask:d,moveCursorForPaste:g,updateMaskValue:p,onMaskedKeydown:y,onMaskedClick:S}}function Gm(e,t){function n(){const o=e.modelValue;try{const r="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(o)===o&&("length"in o?Array.from(o):[o]).forEach(a=>{r.items.add(a)}),{files:r.files}}catch{return{files:void 0}}}return l.computed(()=>{if(e.type==="file")return n()})}const qi=be({name:"QInput",inheritAttrs:!1,props:{...Oo,...Wm,...Ur,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Ir,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:o}=l.getCurrentInstance(),{$q:r}=o,a={};let i=NaN,s,u,f=null,d;const c=l.ref(null),h=ki(e),{innerValue:m,hasMask:_,moveCursorForPaste:v,updateMaskValue:p,onMaskedKeydown:g,onMaskedClick:b}=Ym(e,t,W,c),S=Gm(e),y=l.computed(()=>Kn(m.value)),A=wi(V),I=xr({changeEvent:!0}),T=l.computed(()=>e.type==="textarea"||e.autogrow===!0),M=l.computed(()=>T.value===!0||["text","search","url","tel","password"].includes(e.type)),x=l.computed(()=>{const w={...I.splitAttrs.listeners.value,onInput:V,onPaste:K,onChange:H,onBlur:Q,onFocus:At};return w.onCompositionstart=w.onCompositionupdate=w.onCompositionend=A,_.value===!0&&(w.onKeydown=g,w.onClick=b),e.autogrow===!0&&(w.onAnimationend=ne),w}),P=l.computed(()=>{const w={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:h.value,...I.splitAttrs.attributes.value,id:I.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return T.value===!1&&(w.type=e.type),e.autogrow===!0&&(w.rows=1),w});l.watch(()=>e.type,()=>{c.value&&(c.value.value=e.modelValue)}),l.watch(()=>e.modelValue,w=>{if(_.value===!0){if(u===!0&&(u=!1,String(w)===i))return;p(w)}else m.value!==w&&(m.value=w,e.type==="number"&&a.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete a.value));e.autogrow===!0&&l.nextTick($)}),l.watch(()=>e.autogrow,w=>{w===!0?l.nextTick($):c.value!==null&&n.rows>0&&(c.value.style.height="auto")}),l.watch(()=>e.dense,()=>{e.autogrow===!0&&l.nextTick($)});function F(){To(()=>{const w=document.activeElement;c.value!==null&&c.value!==w&&(w===null||w.id!==I.targetUid.value)&&c.value.focus({preventScroll:!0})})}function D(){var w;(w=c.value)==null||w.select()}function K(w){if(_.value===!0&&e.reverseFillMask!==!0){const j=w.target;v(j,j.selectionStart,j.selectionEnd)}t("paste",w)}function V(w){if(!w||!w.target)return;if(e.type==="file"){t("update:modelValue",w.target.files);return}const j=w.target.value;if(w.target.qComposing===!0){a.value=j;return}if(_.value===!0)p(j,!1,w.inputType);else if(W(j),M.value===!0&&w.target===document.activeElement){const{selectionStart:le,selectionEnd:se}=w.target;le!==void 0&&se!==void 0&&l.nextTick(()=>{w.target===document.activeElement&&j.indexOf(w.target.value)===0&&w.target.setSelectionRange(le,se)})}e.autogrow===!0&&$()}function ne(w){t("animationend",w),$()}function W(w,j){d=()=>{f=null,e.type!=="number"&&a.hasOwnProperty("value")===!0&&delete a.value,e.modelValue!==w&&i!==w&&(i=w,j===!0&&(u=!0),t("update:modelValue",w),l.nextTick(()=>{i===w&&(i=NaN)})),d=void 0},e.type==="number"&&(s=!0,a.value=w),e.debounce!==void 0?(f!==null&&clearTimeout(f),a.value=w,f=setTimeout(d,e.debounce)):d()}function $(){requestAnimationFrame(()=>{const w=c.value;if(w!==null){const j=w.parentNode.style,{scrollTop:le}=w,{overflowY:se,maxHeight:U}=r.platform.is.firefox===!0?{}:window.getComputedStyle(w),G=se!==void 0&&se!=="scroll";G===!0&&(w.style.overflowY="hidden"),j.marginBottom=w.scrollHeight-1+"px",w.style.height="1px",w.style.height=w.scrollHeight+"px",G===!0&&(w.style.overflowY=parseInt(U,10)<w.scrollHeight?"auto":"hidden"),j.marginBottom="",w.scrollTop=le}})}function H(w){A(w),f!==null&&(clearTimeout(f),f=null),d==null||d(),t("change",w.target.value)}function Q(w){w!==void 0&&At(w),f!==null&&(clearTimeout(f),f=null),d==null||d(),s=!1,u=!1,delete a.value,e.type!=="file"&&setTimeout(()=>{c.value!==null&&(c.value.value=m.value!==void 0?m.value:"")})}function oe(){return a.hasOwnProperty("value")===!0?a.value:m.value!==void 0?m.value:""}l.onBeforeUnmount(()=>{Q()}),l.onMounted(()=>{e.autogrow===!0&&$()}),Object.assign(I,{innerValue:m,fieldClass:l.computed(()=>`q-${T.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:l.computed(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:c,emitValue:W,hasValue:y,floatingLabel:l.computed(()=>y.value===!0&&(e.type!=="number"||isNaN(m.value)===!1)||Kn(e.displayValue)),getControl:()=>l.h(T.value===!0?"textarea":"input",{ref:c,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...P.value,...x.value,...e.type!=="file"?{value:oe()}:S.value}),getShadowControl:()=>l.h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(T.value===!0?"":" text-no-wrap")},[l.h("span",{class:"invisible"},oe()),l.h("span",e.shadowText)])});const O=Nr(I);return Object.assign(o,{focus:F,select:D,getNativeElement:()=>c.value}),ct(o,"nativeEl",()=>c.value),O}});function Xn(e,t=new WeakMap){if(Object(e)!==e)return e;if(t.has(e))return t.get(e);const n=e instanceof Date?new Date(e):e instanceof RegExp?new RegExp(e.source,e.flags):e instanceof Set?new Set:e instanceof Map?new Map:typeof e.constructor!="function"?Object.create(null):e.prototype!==void 0&&typeof e.prototype.constructor=="function"?e:new e.constructor;if(typeof e.constructor=="function"&&typeof e.valueOf=="function"){const o=e.valueOf();if(Object(o)!==o){const r=new e.constructor(o);return t.set(e,r),r}}return t.set(e,n),e instanceof Set?e.forEach(o=>{n.add(Xn(o,t))}):e instanceof Map&&e.forEach((o,r)=>{n.set(r,Xn(o,t))}),Object.assign(n,...Object.keys(e).map(o=>({[o]:Xn(e[o],t)})))}const Qm=be({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:n}){const{proxy:o}=l.getCurrentInstance(),{$q:r}=o,a=l.ref(null),i=l.ref(""),s=l.ref("");let u=!1;const f=l.computed(()=>ct({initialValue:i.value,validate:e.validate,set:d,cancel:c,updatePosition:h},"value",()=>s.value,y=>{s.value=y}));function d(){e.validate(s.value)!==!1&&(m()===!0&&(n("save",s.value,i.value),n("update:modelValue",s.value)),_())}function c(){m()===!0&&n("cancel",s.value,i.value),_()}function h(){l.nextTick(()=>{a.value.updatePosition()})}function m(){return Vt(s.value,i.value)===!1}function _(){u=!0,a.value.hide()}function v(){u=!1,i.value=Xn(e.modelValue),s.value=Xn(e.modelValue),n("beforeShow")}function p(){n("show")}function g(){u===!1&&m()===!0&&(e.autoSave===!0&&e.validate(s.value)===!0?(n("save",s.value,i.value),n("update:modelValue",s.value)):n("cancel",s.value,i.value)),n("beforeHide")}function b(){n("hide")}function S(){const y=t.default!==void 0?[].concat(t.default(f.value)):[];return e.title&&y.unshift(l.h("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},e.title)),e.buttons===!0&&y.push(l.h("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[l.h(It,{flat:!0,color:e.color,label:e.labelCancel||r.lang.label.cancel,onClick:c}),l.h(It,{flat:!0,color:e.color,label:e.labelSet||r.lang.label.set,onClick:d})])),y}return Object.assign(o,{set:d,cancel:c,show(y){var A;(A=a.value)==null||A.show(y)},hide(y){var A;(A=a.value)==null||A.hide(y)},updatePosition:h}),()=>{if(e.disable!==!0)return l.h(_i,{ref:a,class:"q-popup-edit",cover:e.cover,onBeforeShow:v,onShow:p,onBeforeHide:g,onHide:b,onEscapeKey:c},S)}}}),Xm={name:"PopupEdit",props:{model:{type:[String,Number,Boolean,Array,Object],required:!0},label:{type:String,required:!0},dataCy:{type:String,required:!0},mask:{type:String,required:!0},inputType:{type:String,required:!0},inputMaxLength:{type:Number,required:!0},popupEditNumberOptions:{type:Array,default:()=>[]},showInputPopupEdit:{type:Boolean,required:!0},showSelectNumberOptions:{type:Boolean,required:!1}},emits:["popupEditUpdated","popupEditEmit","save"],data(){return{modelData:this.model}},methods:{validate(e){this.$refs.inputField.validate()?this.$emit("save",e):this.$q.notify({type:"negative",message:"Value not accepted",position:"bottom"})}}};function Zm(e,t,n,o,r,a){return l.openBlock(),l.createBlock(Qm,{modelValue:r.modelData,"onUpdate:modelValue":t[1]||(t[1]=i=>r.modelData=i),buttons:"","label-set":e.$t("table.confirm"),"label-cancel":e.$t("table.cancel"),onSave:a.validate,onCancel:()=>{}},{default:l.withCtx(i=>[n.showInputPopupEdit?(l.openBlock(),l.createBlock(qi,{key:0,ref:"inputField",modelValue:i.value,"onUpdate:modelValue":s=>i.value=s,"data-cy":n.dataCy,label:n.label,type:n.inputType,mask:n.mask,autogrow:n.inputType==="textarea",rules:[s=>s&&s.length>0||e.$t("form.rules.emptyField"),s=>s&&s.length<=n.inputMaxLength||e.$t("form.rules.exceedCharactersTypeList",[n.inputMaxLength])],dense:"",autofocus:"",onKeyup:t[0]||(t[0]=l.withKeys(l.withModifiers(()=>{},["stop"]),["enter"]))},null,8,["modelValue","onUpdate:modelValue","data-cy","label","type","mask","autogrow","rules"])):l.createCommentVNode("",!0),n.showSelectNumberOptions?(l.openBlock(),l.createBlock(zr,{key:1,ref:"selectField",modelValue:i.value,"onUpdate:modelValue":s=>i.value=s,"data-cy":n.dataCy,dense:"",options:n.popupEditNumberOptions},null,8,["modelValue","onUpdate:modelValue","data-cy","options"])):l.createCommentVNode("",!0)]),_:1},8,["modelValue","label-set","label-cancel","onSave"])}const $i=tt(Xm,[["render",Zm]]),Jm={name:"BasicCheckBox",props:{model:{type:Boolean,required:!0},tableProps:{type:Object,required:!0},dataCy:{type:String,required:!0}},emits:["checkBoxEmit"],data(){return{tablePropsData:this.tableProps,modelData:this.model}}};function eh(e,t,n,o,r,a){return l.openBlock(),l.createBlock(zt,{modelValue:r.modelData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.modelData=i),t[1]||(t[1]=i=>{e.$emit("checkBoxEmit",i)})],"data-cy":n.dataCy},null,8,["modelValue","data-cy"])}const Ui=tt(Jm,[["render",eh]]),th={name:"CustomizedCheckBox",props:{model:{type:Boolean,required:!0},tableProps:{type:Object,required:!0},dataCy:{type:String,required:!0},checkBoxColor:{type:String,required:!0},checkBoxIconSize:{type:String,required:!0},checkedIcon:{type:String,required:!0},uncheckedIcon:{type:String,required:!0}},emits:["checkBoxEmit"],data(){return{tablePropsData:this.tableProps,modelData:this.model}}};function nh(e,t,n,o,r,a){return l.openBlock(),l.createBlock(zt,{modelValue:r.modelData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.modelData=i),t[1]||(t[1]=i=>{e.$emit("checkBoxEmit",i)})],"data-cy":n.dataCy,size:n.checkBoxIconSize,color:n.checkBoxColor,"keep-color":!0,"checked-icon":n.checkedIcon,"unchecked-icon":n.uncheckedIcon},null,8,["modelValue","data-cy","size","color","checked-icon","unchecked-icon"])}const Hi=tt(th,[["render",nh]]),oh={name:"CustomizedIcon",props:{model:{type:Boolean,required:!0},customizedIconSize:{type:String,required:!0},customizedIconName:{type:String,required:!0},customizedIconColor:{type:String,required:!0}}};function rh(e,t,n,o,r,a){return l.openBlock(),l.createBlock(Ve,{name:n.customizedIconName?n.customizedIconName:n.model?"check_circle":"cancel",color:n.customizedIconColor?n.customizedIconColor:n.model?"green":"red",size:n.customizedIconSize},null,8,["name","color","size"])}const zi=tt(oh,[["render",rh]]),lh={name:"CustomizedButton",props:{dataCy:{type:String,required:!0},btnColor:{type:String,required:!0},btnIcon:{type:String,required:!0}},emits:["onClickButton"],data:function(){return{}}};function ah(e,t,n,o,r,a){return l.openBlock(),l.createBlock(It,{"data-cy":n.dataCy,flat:"",round:"",color:n.btnColor,size:"md",onClick:t[0]||(t[0]=i=>e.$emit("onClickButton"))},{default:l.withCtx(()=>[l.createVNode(Ve,{name:n.btnIcon},null,8,["name"])]),_:1},8,["data-cy","color"])}const ji=tt(lh,[["render",ah]]),ih={name:"KTableSlotBody",components:{TablePopupEdit:$i,BasicCheckBox:Ui,CustomizedCheckBox:Hi,CustomizedIcon:zi,CustomizedButton:ji},props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"}},watch:{tableProps(e){this.tablePropsData=e}},emits:["onSaveValuePopupEdit","onUpdateBasicCheckboxValue","onClickButton","onUpdateCustomizedCheckboxValue"],data(){return{tablePropsData:this.tableProps}},methods:{getColumnValue(e){return!(e.showBasicCheckbox||e.showCustomizedCheckBox||e.showCustomizedIcon||e.showColumButton)}}},sh=["innerHTML"];function uh(e,t,n,o,r,a){const i=l.resolveComponent("TablePopupEdit"),s=l.resolveComponent("BasicCheckBox"),u=l.resolveComponent("CustomizedCheckBox"),f=l.resolveComponent("CustomizedIcon"),d=l.resolveComponent("CustomizedButton");return l.openBlock(),l.createElementBlock("tr",{class:l.normalizeClass(r.tablePropsData.row.rowBgColor||"bg-main-color")},[n.selectionType!="none"?(l.openBlock(),l.createBlock(Ri,{key:0,id:r.tablePropsData.row.id,"auto-width":""},{default:l.withCtx(()=>[l.createVNode(zt,{modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=c=>r.tablePropsData.selected=c),size:"sm"},null,8,["modelValue"])]),_:1},8,["id"])):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.tablePropsData.cols,c=>(l.openBlock(),l.createBlock(Ri,{key:c.name,class:l.normalizeClass(r.tablePropsData.row.rowBgColor||"bg-main-color"),props:r.tablePropsData},{default:l.withCtx(()=>[a.getColumnValue(c)?(l.openBlock(),l.createElementBlock("span",{key:0,style:l.normalizeStyle(r.tablePropsData.row.tdStyle),innerHTML:r.tablePropsData.row[c.name]},null,12,sh)):l.createCommentVNode("",!0),c.editable?(l.openBlock(),l.createBlock(Ve,{key:1,name:"edit",color:"primary",size:"sm",class:"cursor-pointer"})):l.createCommentVNode("",!0),c.editable?(l.openBlock(),l.createBlock(i,{key:2,model:r.tablePropsData.row[c.name]||"",label:c.label,"data-cy":c.popupEditDataCy+"-"+r.tablePropsData.row.id,"input-max-length":c.inputMaxLength||20,mask:c.popupEditMask||"","input-type":c.popupEditInputtype||"text","show-input-popup-edit":c.showInputPopupEdit||!0,"show-select-number-options":c.showSelectNumberOptions||!1,"popup-edit-number-options":c.popupEditNumberOptions||[],onSave:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","input-max-length","mask","input-type","show-input-popup-edit","show-select-number-options","popup-edit-number-options","onSave"])):l.createCommentVNode("",!0),c.showBasicCheckbox?(l.openBlock(),l.createBlock(s,{key:3,"table-props":r.tablePropsData,"data-cy":c.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[c.name],onCheckBoxEmit:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.checkBoxEmit||"onUpdateBasicCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","onCheckBoxEmit"])):l.createCommentVNode("",!0),c.showCustomizedCheckBox?(l.openBlock(),l.createBlock(u,{key:4,"table-props":r.tablePropsData,"data-cy":c.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[c.name],"check-box-color":r.tablePropsData.row[c.name]?c.checkBoxColorCaseTrue:c.checkBoxColorCaseFalse,"check-box-icon-size":"md","checked-icon":c.checkedIcon,"unchecked-icon":c.uncheckedIcon,onCheckBoxEmit:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.checkBoxEmit||"onUpdateCustomizedCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","check-box-color","checked-icon","unchecked-icon","onCheckBoxEmit"])):l.createCommentVNode("",!0),c.showCustomizedIcon?(l.openBlock(),l.createBlock(f,{key:5,model:r.tablePropsData.row[c.name],"customized-icon-size":"sm","customized-icon-name":(r.tablePropsData.row[c.name]?c.customizedIconNameCaseTrue:c.customizedIconNameCaseFalse)||"","customized-icon-color":(r.tablePropsData.row[c.name]?c.customizedIconColorCaseTrue:c.customizedIconColorCaseFalse)||""},null,8,["model","customized-icon-name","customized-icon-color"])):l.createCommentVNode("",!0),c.showCustomizedButton?(l.openBlock(),l.createBlock(d,{key:6,"data-cy":c.colButtonDataCy+"-"+r.tablePropsData.row.id,"btn-color":c.btnColor||"primary","btn-icon":c.btnIcon||"",onOnClickButton:()=>{e.$emit("onClickButton",c.btnEmit,r.tablePropsData.row)}},null,8,["data-cy","btn-color","btn-icon","onOnClickButton"])):l.createCommentVNode("",!0)]),_:2},1032,["class","props"]))),128))],2)}const ch=tt(ih,[["render",uh]]),Ki=be({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=l.computed(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>l.h(e.tag,{class:n.value},ke(t.default))}}),jr=be({name:"QCard",props:{...dt,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=l.getCurrentInstance(),o=ft(e,n),r=l.computed(()=>"q-card"+(o.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>l.h(e.tag,{class:r.value},ke(t.default))}}),dh={name:"KTableSlotGrid",components:{TablePopupEdit:$i,BasicCheckBox:Ui,CustomizedCheckBox:Hi,CustomizedIcon:zi,CustomizedButton:ji},props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},popupEditNumberOptions:{type:Array}},emits:["onSaveValuePopupEdit","onUpdateBasicCheckboxValue","onClickButton","onUpdateCustomizedCheckboxValue"],data(){return{tablePropsData:this.tableProps,selected:!1}},watch:{tableProps(e){this.tablePropsData=e}},mounted(){},methods:{getColumnValue(e){return!(e.showBasicCheckbox||e.showCustomizedCheckBox||e.showCustomizedIcon||e.showColumButton)}}},fh=["innerHTML"];function mh(e,t,n,o,r,a){const i=l.resolveComponent("TablePopupEdit"),s=l.resolveComponent("BasicCheckBox"),u=l.resolveComponent("CustomizedCheckBox"),f=l.resolveComponent("CustomizedIcon"),d=l.resolveComponent("CustomizedButton");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass("q-pa-xs col-xs-12 col-sm-6 col-md-4 col-lg-3 grid-style-transition"),style:l.normalizeStyle(r.tablePropsData.selected?"transform: scale(0.95);":"")},[l.createVNode(jr,{bordered:"",flat:"",square:"",class:l.normalizeClass(r.tablePropsData.selected?e.$q.dark.isActive?"bg-grey-9":"bg-grey-2":r.tablePropsData.row.rowBgColor||"bg-main-color")},{default:l.withCtx(()=>[l.createVNode(Ki,null,{default:l.withCtx(()=>[n.selectionType!="none"?(l.openBlock(),l.createBlock(zt,{key:0,modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=c=>r.tablePropsData.selected=c),dense:""},null,8,["modelValue"])):l.createCommentVNode("",!0)]),_:1}),l.createVNode(Ca,{dense:""},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.tablePropsData.cols.filter(c=>c.name!=="desc"),c=>(l.openBlock(),l.createBlock(Ht,{key:c.name},{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,{class:"itemsFontSize ellipsis text-light-gray"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(c.label),1)]),_:2},1024)]),_:2},1024),l.createVNode(kt,{side:""},{default:l.withCtx(()=>[a.getColumnValue(c)?(l.openBlock(),l.createBlock(pt,{key:0,class:"itemsFontSize text-almost-black",style:l.normalizeStyle(r.tablePropsData.row.tdStyle)},{default:l.withCtx(()=>[c.editable?(l.openBlock(),l.createBlock(Ve,{key:0,name:"edit",color:"primary",size:"sm",class:"cursor-pointer"})):l.createCommentVNode("",!0),l.createElementVNode("span",{innerHTML:r.tablePropsData.row[c.name]},null,8,fh),l.createVNode(i,{model:r.tablePropsData.row[c.name]||"",label:c.label,"data-cy":c.popupEditDataCy+"-"+r.tablePropsData.row.id,"input-max-length":c.inputMaxLength||20,mask:c.popupEditMask||"","input-type":c.popupEditInputtype||"text","show-input-popup-edit":c.showInputPopupEdit||!0,"show-select-number-options":c.showSelectNumberOptions||!1,"popup-edit-number-options":c.popupEditNumberOptions||[],onSave:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","input-max-length","mask","input-type","show-input-popup-edit","show-select-number-options","popup-edit-number-options","onSave"])]),_:2},1032,["style"])):l.createCommentVNode("",!0),l.createVNode(kt,null,{default:l.withCtx(()=>[c.showBasicCheckbox?(l.openBlock(),l.createBlock(s,{key:0,"table-props":r.tablePropsData,"data-cy":c.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[c.name],onCheckBoxEmit:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.checkBoxEmit||"onUpdateBasicCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","onCheckBoxEmit"])):l.createCommentVNode("",!0),c.showCustomizedCheckBox?(l.openBlock(),l.createBlock(u,{key:1,"table-props":r.tablePropsData,"data-cy":c.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[c.name],"check-box-color":r.tablePropsData.row[c.name]?c.checkBoxColorCaseTrue:c.checkBoxColorCaseFalse,"check-box-icon-size":"lg","checked-icon":c.checkedIcon,"unchecked-icon":c.uncheckedIcon,onCheckBoxEmit:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.checkBoxEmit||"onUpdateCustomizedCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","check-box-color","checked-icon","unchecked-icon","onCheckBoxEmit"])):l.createCommentVNode("",!0)]),_:2},1024),l.createVNode(kt,null,{default:l.withCtx(()=>[c.showCustomizedIcon?(l.openBlock(),l.createBlock(f,{key:0,model:r.tablePropsData.row[c.name],"table-props":r.tablePropsData,"customized-icon-size":"sm","customized-icon-name":(r.tablePropsData.row[c.name]?c.customizedIconNameCaseTrue:c.customizedIconNameCaseFalse)||"","customized-icon-color":(r.tablePropsData.row[c.name]?c.customizedIconColorCaseTrue:c.customizedIconColorCaseFalse)||""},null,8,["model","table-props","customized-icon-name","customized-icon-color"])):l.createCommentVNode("",!0)]),_:2},1024),l.createVNode(kt,null,{default:l.withCtx(()=>[c.showCustomizedButton?(l.openBlock(),l.createBlock(d,{key:0,"data-cy":c.colButtonDataCy+"-"+r.tablePropsData.row.id,"btn-color":c.btnColor||"primary","btn-icon":c.btnIcon||"",onOnClickButton:()=>{e.$emit("onClickButton",c.btnEmit,r.tablePropsData.row)}},null,8,["data-cy","btn-color","btn-icon","onOnClickButton"])):l.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["class"])],4)}const hh=tt(dh,[["render",mh]]),gh={name:"TableFilter",props:{store:{type:Object,required:!0}},data(){return{localStore:this.store}},mounted(){},methods:{inputFocus(){setTimeout(()=>{this.$refs.filterRef.focus()},10)},cleanFilter(){this.localStore.filterValue=""},setFilterValue(e){this.localStore.filterValue=e}}};function ph(e,t,n,o,r,a){return l.openBlock(),l.createBlock(qi,{ref:"filterRef",modelValue:r.localStore.filterValue,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.localStore.filterValue=i),a.setFilterValue],borderless:"",dense:"",debounce:"300",class:"table-filter auto-width",placeholder:"Search",outlined:""},{append:l.withCtx(()=>[r.localStore.filterValue===""?(l.openBlock(),l.createBlock(Ve,{key:0,name:"search",color:"black"})):(l.openBlock(),l.createBlock(Ve,{key:1,name:"clear",class:"cursor-pointer",onClick:a.cleanFilter},null,8,["onClick"]))]),_:1},8,["modelValue","onUpdate:modelValue"])}const _h=tt(gh,[["render",ph]]),bh=["text","rect","circle","QBtn","QBadge","QChip","QToolbar","QCheckbox","QRadio","QToggle","QSlider","QRange","QInput","QAvatar"],vh=["wave","pulse","pulse-x","pulse-y","fade","blink","none"],Ue=be({name:"QSkeleton",props:{...dt,tag:{type:String,default:"div"},type:{type:String,validator:e=>bh.includes(e),default:"rect"},animation:{type:String,validator:e=>vh.includes(e),default:"wave"},animationSpeed:{type:[String,Number],default:1500},square:Boolean,bordered:Boolean,size:String,width:String,height:String},setup(e,{slots:t}){const n=l.getCurrentInstance(),o=ft(e,n.proxy.$q),r=l.computed(()=>{const i=e.size!==void 0?[e.size,e.size]:[e.width,e.height];return{"--q-skeleton-speed":`${e.animationSpeed}ms`,width:i[0],height:i[1]}}),a=l.computed(()=>`q-skeleton q-skeleton--${o.value===!0?"dark":"light"} q-skeleton--type-${e.type}`+(e.animation!=="none"?` q-skeleton--anim q-skeleton--anim-${e.animation}`:"")+(e.square===!0?" q-skeleton--square":"")+(e.bordered===!0?" q-skeleton--bordered":""));return()=>l.h(e.tag,{class:a.value,style:r.value},ke(t.default))}}),yh={name:"TableSkeleton",properties:{showSkeleton:{type:Boolean,default:!1}}},Eh={class:"text-left",style:{width:"150px"}},Sh={class:"text-right"},Ch={class:"text-right"},kh={class:"text-right"},wh={class:"text-right"},Th={class:"text-right"},Oh={class:"text-left"},Ah={class:"text-right"},Dh={class:"text-right"},Ih={class:"text-right"},xh={class:"text-right"},Nh={class:"text-right"};function Ph(e,t,n,o,r,a){return l.openBlock(),l.createElementBlock("div",null,[l.createVNode(ka,null,{default:l.withCtx(()=>[l.createElementVNode("thead",null,[l.createElementVNode("tr",null,[l.createElementVNode("th",Eh,[l.createVNode(Ue,{type:"text"})]),l.createElementVNode("th",Sh,[l.createVNode(Ue,{type:"text"})]),l.createElementVNode("th",Ch,[l.createVNode(Ue,{type:"text"})]),l.createElementVNode("th",kh,[l.createVNode(Ue,{type:"text"})]),l.createElementVNode("th",wh,[l.createVNode(Ue,{type:"text"})]),l.createElementVNode("th",Th,[l.createVNode(Ue,{type:"text"})])])]),l.createElementVNode("tbody",null,[(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(10,i=>l.createElementVNode("tr",{key:i},[l.createElementVNode("td",Oh,[l.createVNode(Ue,{type:"text",width:"85px"})]),l.createElementVNode("td",Ah,[l.createVNode(Ue,{type:"text",width:"50px"})]),l.createElementVNode("td",Dh,[l.createVNode(Ue,{type:"text",width:"35px"})]),l.createElementVNode("td",Ih,[l.createVNode(Ue,{type:"text",width:"65px"})]),l.createElementVNode("td",xh,[l.createVNode(Ue,{type:"text",width:"25px"})]),l.createElementVNode("td",Nh,[l.createVNode(Ue,{type:"text",width:"85px"})])])),64))])]),_:1})])}const Lh=tt(yh,[["render",Ph]]),Vh={name:"CardListSkeleton"};function Rh(e,t,n,o,r,a){return l.openBlock(),l.createElementBlock("div",null,[(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(2,i=>l.createVNode(Ht,{key:i},{default:l.withCtx(()=>[l.createVNode(jr,{style:{width:"100%"}},{default:l.withCtx(()=>[l.createVNode(Ht,null,{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,null,{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"60%"})]),_:1}),l.createVNode(pt,{caption:""},{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"60%"})]),_:1})]),_:1})]),_:1}),l.createVNode(Ht,null,{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,null,{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"70%"})]),_:1}),l.createVNode(pt,{caption:""},{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"70%"})]),_:1})]),_:1})]),_:1}),l.createVNode(Ht,null,{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,null,{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"80%"})]),_:1}),l.createVNode(pt,{caption:""},{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"80%"})]),_:1})]),_:1})]),_:1}),l.createVNode(Ht,null,{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,null,{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"90%"})]),_:1}),l.createVNode(pt,{caption:""},{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"90%"})]),_:1})]),_:1})]),_:1})]),_:1})]),_:2},1024)),64))])}const Mh=tt(Vh,[["render",Rh]]),Bh=l.defineComponent({components:{TableSlotHeader:Um,TableColumnsSelector:jm,TableSlotBody:ch,TableSlotGrid:hh,TableFilter:_h,TableSkeleton:Lh,CardListSkeleton:Mh},props:{columns:{type:Array,required:!0},rows:{type:Array,required:!0},visibleColumns:{type:Array,required:!0},filterMethod:{type:Function,default:function(){}},sortMethod:{type:Function,default:function(){}},selectionType:{type:String,default:"none"},rowKey:{type:String,default:"id"},tableStyle:{type:String,default:""},popupEditNumberOptions:{type:Array,default:()=>[]},smallDevice:{type:Boolean,required:!0},store:{type:Object,required:!0},tableId:{type:String,default:""},hideColumnsSelector:{type:Boolean,default:!1},hideFilter:{type:Boolean,default:!1},showSkeleton:{type:Boolean}},emits:["onSelectVisibleColumns","onUpdateBasicCheckboxValue","onUpdateCustomizedCheckboxValue","onSaveValuePopupEdit","onClickButton","storeUpdated","deleteItem","openModalWithTable","setItemNotFound","onRowClick"],data(){return{selected:[],filter:"",visibleColumnsData:this.visibleColumns,rowsData:[],gridRowsSelected:!1,selectedRows:[],showColumnsSelector:!1,showSearch:!1,loading:!1,forceRender:!1,totalPage:0,pageSize:20}},computed:{getColumnsSelectorVisibility(){return!this.smallDevice||this.showColumnsSelector},getTableInputSearchVisibility(){return!this.smallDevice||this.showSearch},showGridHeader(){return this.selectionType==="multiple"},getTableSkeletonVisibility(){return!this.smallDevice&&this.showSkeleton},getGridSkeletonVisibility(){return this.smallDevice&&this.showSkeleton},filterComputed(){return{search:this.store.filterValue,forceRender:this.forceRender}},pageLength(){return(this.totalPage+1)*this.pageSize}},watch:{rows(e){this.rowsData=e},visibleColumns(e){this.visibleColumnsData=e}},mounted(){},methods:{getSelectedString(e){const t=e;if(t===0)return"";const n=t>1?"records":"record";return`${t} ${n} selected`},onSelectVisibleColumns(e){this.$emit("onSelectVisibleColumns",e)},onSaveValuePopupEdit(e){this.$emit("onSaveValuePopupEdit",e)},onUpdateBasicCheckboxValue(e){this.$emit("onUpdateBasicCheckboxValue",e)},onClickButton(e,t){this.$emit(e,t)},onRowClick(e){this.$emit("onRowClick",e)},deleteItem(e){this.$emit("deleteItem",e)},onUpdateCustomizedCheckboxValue(e){this.$emit("onUpdateCustomizedCheckboxValue",e)},clearTableSelection(){this.selected=[]},toggleSearchVisibility(e){this.showSearch=!this.showSearch,e.disableScannerButtons=!1,e.lastFilterValue="",e.valueInputFilterTable=""},toogleColumnsSelectorVisibility(){this.showColumnsSelector=!this.showColumnsSelector},filterInputFocus(){setTimeout(()=>{this.$refs.filterInput&&this.$refs.filterInput.inputFocus()},10)},toogleLoading(){this.loading=!this.loading}}});function Fh(e,t,n,o,r,a){const i=l.resolveComponent("TableFilter"),s=l.resolveComponent("TableColumnsSelector"),u=l.resolveComponent("TableSlotHeader"),f=l.resolveComponent("TableSlotBody"),d=l.resolveComponent("TableSlotGrid"),c=l.resolveComponent("TableSkeleton"),h=l.resolveComponent("CardListSkeleton");return l.openBlock(),l.createElementBlock("div",null,[e.showSkeleton?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(Bm,{key:0,ref:"myTable",selected:e.selected,"onUpdate:selected":t[0]||(t[0]=m=>e.selected=m),class:"my-table",grid:e.smallDevice,style:l.normalizeStyle(e.tableStyle),flat:"",bordered:"",rows:e.rowsData,columns:e.columns,"row-key":e.rowKey,"rows-per-page-options":[0],selection:e.selectionType,"visible-columns":e.visibleColumns,"table-class":"text-grey-9","table-header-class":"main-color",filter:e.filterComputed,"filter-method":e.filterMethod,"sort-method":e.sortMethod,separator:"horizontal","binary-state-sort":"","selected-rows-label":e.getSelectedString,loading:e.loading,"pagination.sync":"0","grid-header":e.showGridHeader},{"top-right":l.withCtx(m=>[l.createVNode(pa),e.getTableInputSearchVisibility&&!e.hideFilter?(l.openBlock(),l.createBlock(i,{key:0,ref:"filterInput",class:"q-pl-xs","table-props":m,store:e.store,onInputFocus:e.filterInputFocus},null,8,["table-props","store","onInputFocus"])):l.createCommentVNode("",!0),e.getColumnsSelectorVisibility&&!e.hideColumnsSelector?(l.openBlock(),l.createBlock(s,{key:1,class:"q-pl-xs","table-props":m,columns:e.columns,"visible-columns":e.visibleColumns,onOnSelectVisibleColumns:e.onSelectVisibleColumns},null,8,["table-props","columns","visible-columns","onOnSelectVisibleColumns"])):l.createCommentVNode("",!0)]),header:l.withCtx(m=>[l.createVNode(u,{"table-props":m,"selection-type":e.selectionType,"small-device":e.smallDevice},null,8,["table-props","selection-type","small-device"])]),body:l.withCtx(m=>[e.showSkeleton?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(f,{key:0,"table-props":m,"selection-type":e.selectionType,onOnUpdateBasicCheckboxValue:e.onUpdateBasicCheckboxValue,onOnUpdateCustomizedCheckboxValue:e.onUpdateCustomizedCheckboxValue,onOnSaveValuePopupEdit:e.onSaveValuePopupEdit,onOnClickButton:e.onClickButton,onClick:_=>e.onRowClick(m.row)},null,8,["table-props","selection-type","onOnUpdateBasicCheckboxValue","onOnUpdateCustomizedCheckboxValue","onOnSaveValuePopupEdit","onOnClickButton","onClick"]))]),item:l.withCtx(m=>[e.showSkeleton?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(d,{key:0,"table-props":m,"selection-type":e.selectionType,"popup-edit-number-options":e.popupEditNumberOptions,onOnUpdateCustomizedCheckboxValue:e.onUpdateCustomizedCheckboxValue,onOnUpdateBasicCheckboxValue:e.onUpdateBasicCheckboxValue,onOnSaveValuePopupEdit:e.onSaveValuePopupEdit,onOnClickButton:e.onClickButton,onClick:_=>e.onRowClick(m.row)},null,8,["table-props","selection-type","popup-edit-number-options","onOnUpdateCustomizedCheckboxValue","onOnUpdateBasicCheckboxValue","onOnSaveValuePopupEdit","onOnClickButton","onClick"]))]),_:1},8,["selected","grid","style","rows","columns","row-key","selection","visible-columns","filter","filter-method","sort-method","selected-rows-label","loading","grid-header"])),e.getTableSkeletonVisibility?(l.openBlock(),l.createBlock(c,{key:1,id:"tableSkeleton"})):l.createCommentVNode("",!0),e.getGridSkeletonVisibility?(l.openBlock(),l.createBlock(h,{key:2,id:"cardListSkeleton"})):l.createCommentVNode("",!0)])}const Wi=tt(Bh,[["render",Fh]]),Vo=(e,t)=>{e.use(t)},Ro=(e,t,n)=>{e.component(t,n)},qh={install(e){Ro(e,"MyTable",Wi)}},$h=be({name:"QBanner",props:{...dt,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=l.getCurrentInstance(),o=ft(e,n),r=l.computed(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(o.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),a=l.computed(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{const i=[l.h("div",{class:"q-banner__avatar col-auto row items-center self-start"},ke(t.avatar)),l.h("div",{class:"q-banner__content col text-body2"},ke(t.default))],s=ke(t.action);return s!==void 0&&i.push(l.h("div",{class:a.value},s)),l.h("div",{class:r.value+(e.inlineActions===!1&&s!==void 0?" q-banner--top-padding":""),role:"alert"},i)}}}),Uh=l.defineComponent({name:"AlertDialog",data(){return{alert:!1,alertMessage:""}},props:{dataCy:{type:String,default:""},persistent:{type:Boolean,default:!0},icon:{type:String,default:"warning"},iconSize:{type:String,default:"md"},iconColor:{type:String,default:"red-8"},btnColor:{type:String,default:"primary"},btnLabel:{type:String,default:"OK"}},emit:["dialogClosed"],methods:{openAlertAndSetMessage(e){this.alert=!0,this.alertMessage=e},closePopup(){this.alert=!1,this.$emit("onPopupClosed")}}}),Hh={class:"info"};function zh(e,t,n,o,r,a){return l.openBlock(),l.createBlock($r,{modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:e.persistent},{default:l.withCtx(()=>[l.createVNode($h,{"inline-actions":"","data-cy":"alert"},{avatar:l.withCtx(()=>[l.createVNode(Ve,{name:e.icon,color:e.iconColor,size:e.iconSize},null,8,["name","color","size"])]),action:l.withCtx(()=>[l.createVNode(It,{flat:"",color:e.btnColor,label:e.btnLabel,onClick:e.closePopup,"data-cy":"btn-close-alert"},null,8,["color","label","onClick"])]),default:l.withCtx(()=>[l.createElementVNode("p",Hh,l.toDisplayString(e.alertMessage),1)]),_:1})]),_:1},8,["modelValue","persistent"])}const Yi=tt(Uh,[["render",zh]]),jh={install(e){Ro(e,"AlertDialog",Yi)}},Kh=be({name:"QCardActions",props:{...Ii,vertical:Boolean},setup(e,{slots:t}){const n=xi(e),o=l.computed(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>l.h("div",{class:o.value},ke(t.default))}}),Wh=l.defineComponent({name:"ConfirmDialog",data(){return{alert:!1,message:""}},props:{dataCy:{type:String,default:""}},emits:["onClickBtnConfirm","onClickBtnCancel"],methods:{openDialogAndSetMessage(e){this.alert=!0,this.message=e},closeAlert(){this.alert=!1},onClickBtnConfirm(){this.closeAlert(),this.$emit("onClickBtnConfirm")},onClickBtnCancel(){this.closeAlert(),this.$emit("onClickBtnCancel")}}}),Yh={class:"q-ml-sm text-body1"};function Gh(e,t,n,o,r,a){return l.openBlock(),l.createBlock($r,{modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:""},{default:l.withCtx(()=>[l.createVNode(jr,{class:"alert-card","data-cy":e.dataCy},{default:l.withCtx(()=>[l.createVNode(Ki,{class:"row items-center"},{default:l.withCtx(()=>[l.createElementVNode("span",Yh,l.toDisplayString(e.message),1)]),_:1}),l.createVNode(Kh,{align:"right"},{default:l.withCtx(()=>[l.createVNode(It,{color:"negative",flat:"",label:e.$t("confirmDialog.cancel"),onClick:e.onClickBtnCancel,"data-cy":"cancel"},null,8,["label","onClick"]),l.createVNode(It,{color:"positive",flat:"",label:e.$t("confirmDialog.confirm"),onClick:e.onClickBtnConfirm,"data-cy":"confirm"},null,8,["label","onClick"])]),_:1})]),_:1},8,["data-cy"])]),_:1},8,["modelValue"])}const Gi=tt(Wh,[["render",Gh]]),Qh={install(e){Ro(e,"ConfirmDialog",Gi)}},Xh=be({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const n=l.computed(()=>"q-toolbar row no-wrap items-center"+(e.inset===!0?" q-toolbar--inset":""));return()=>l.h("div",{class:n.value,role:"toolbar"},ke(t.default))}}),Zh=be({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:t}){const n=l.computed(()=>"q-toolbar__title ellipsis"+(e.shrink===!0?" col-shrink":""));return()=>l.h("div",{class:n.value},ke(t.default))}}),Qi=864e5,Jh=36e5,Kr=6e4,Xi="YYYY-MM-DDTHH:mm:ss.SSSZ",eg=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,tg=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,Wr={};function ng(e,t){const n="("+t.days.join("|")+")",o=e+n;if(Wr[o]!==void 0)return Wr[o];const r="("+t.daysShort.join("|")+")",a="("+t.months.join("|")+")",i="("+t.monthsShort.join("|")+")",s={};let u=0;const f=e.replace(tg,c=>{switch(u++,c){case"YY":return s.YY=u,"(-?\\d{1,2})";case"YYYY":return s.YYYY=u,"(-?\\d{1,4})";case"M":return s.M=u,"(\\d{1,2})";case"Mo":return s.M=u++,"(\\d{1,2}(st|nd|rd|th))";case"MM":return s.M=u,"(\\d{2})";case"MMM":return s.MMM=u,i;case"MMMM":return s.MMMM=u,a;case"D":return s.D=u,"(\\d{1,2})";case"Do":return s.D=u++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=u,"(\\d{2})";case"H":return s.H=u,"(\\d{1,2})";case"HH":return s.H=u,"(\\d{2})";case"h":return s.h=u,"(\\d{1,2})";case"hh":return s.h=u,"(\\d{2})";case"m":return s.m=u,"(\\d{1,2})";case"mm":return s.m=u,"(\\d{2})";case"s":return s.s=u,"(\\d{1,2})";case"ss":return s.s=u,"(\\d{2})";case"S":return s.S=u,"(\\d{1})";case"SS":return s.S=u,"(\\d{2})";case"SSS":return s.S=u,"(\\d{3})";case"A":return s.A=u,"(AM|PM)";case"a":return s.a=u,"(am|pm)";case"aa":return s.aa=u,"(a\\.m\\.|p\\.m\\.)";case"ddd":return r;case"dddd":return n;case"Q":case"d":case"E":return"(\\d{1})";case"do":return u++,"(\\d{1}(st|nd|rd|th))";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"DDDo":return u++,"(\\d{1,3}(st|nd|rd|th))";case"w":return"(\\d{1,2})";case"wo":return u++,"(\\d{1,2}(st|nd|rd|th))";case"ww":return"(\\d{2})";case"Z":return s.Z=u,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=u,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=u,"(-?\\d+)";case"x":return s.x=u,"(-?\\d{4,})";default:return u--,c[0]==="["&&(c=c.substring(1,c.length-1)),c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),d={map:s,regex:new RegExp("^"+f)};return Wr[o]=d,d}function Zi(e,t){return e!==void 0?e:t!==void 0?t.date:pr.date}function Ji(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.floor(o/60),a=o%60;return n+qe(r)+t+qe(a)}function og(e,t,n){let o=e.getFullYear(),r=e.getMonth();const a=e.getDate();return t.year!==void 0&&(o+=n*t.year,delete t.year),t.month!==void 0&&(r+=n*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(o),e.setMonth(r),e.setDate(Math.min(a,Qr(e))),t.date!==void 0&&(e.setDate(e.getDate()+n*t.date),delete t.date),e}function rg(e,t,n){const o=t.year!==void 0?t.year:e[`get${n}FullYear`](),r=t.month!==void 0?t.month-1:e[`get${n}Month`](),a=new Date(o,r+1,0).getDate(),i=Math.min(a,t.date!==void 0?t.date:e[`get${n}Date`]());return e[`set${n}Date`](1),e[`set${n}Month`](2),e[`set${n}FullYear`](o),e[`set${n}Month`](r),e[`set${n}Date`](i),delete t.year,delete t.month,delete t.date,e}function Yr(e,t,n){const o=es(t),r=new Date(e),a=o.year!==void 0||o.month!==void 0||o.date!==void 0?og(r,o,n):r;for(const i in o){const s=Jf(i);a[`set${s}`](a[`get${s}`]()+n*o[i])}return a}function es(e){const 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 ts(e,t,n){const o=es(t),r=n===!0?"UTC":"",a=new Date(e),i=o.year!==void 0||o.month!==void 0||o.date!==void 0?rg(a,o,r):a;for(const s in o){const u=s.charAt(0).toUpperCase()+s.slice(1);i[`set${r}${u}`](o[s])}return i}function lg(e,t,n){const o=ag(e,t,n),r=new Date(o.year,o.month===null?null:o.month-1,o.day===null?1:o.day,o.hour,o.minute,o.second,o.millisecond),a=r.getTimezoneOffset();return o.timezoneOffset===null||o.timezoneOffset===a?r:Yr(r,{minutes:o.timezoneOffset-a},1)}function ag(e,t,n,o,r){const a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(e==null||e===""||typeof e!="string")return a;t===void 0&&(t=Xi);const i=Zi(n,Dt.props),s=i.months,u=i.monthsShort,{regex:f,map:d}=ng(t,i),c=e.match(f);if(c===null)return a;let h="";if(d.X!==void 0||d.x!==void 0){const m=parseInt(c[d.X!==void 0?d.X:d.x],10);if(isNaN(m)===!0||m<0)return a;const _=new Date(m*(d.X!==void 0?1e3:1));a.year=_.getFullYear(),a.month=_.getMonth()+1,a.day=_.getDate(),a.hour=_.getHours(),a.minute=_.getMinutes(),a.second=_.getSeconds(),a.millisecond=_.getMilliseconds()}else{if(d.YYYY!==void 0)a.year=parseInt(c[d.YYYY],10);else if(d.YY!==void 0){const m=parseInt(c[d.YY],10);a.year=m<0?m:2e3+m}if(d.M!==void 0){if(a.month=parseInt(c[d.M],10),a.month<1||a.month>12)return a}else d.MMM!==void 0?a.month=u.indexOf(c[d.MMM])+1:d.MMMM!==void 0&&(a.month=s.indexOf(c[d.MMMM])+1);if(d.D!==void 0){if(a.day=parseInt(c[d.D],10),a.year===null||a.month===null||a.day<1)return a;const m=new Date(a.year,a.month,0).getDate();if(a.day>m)return a}d.H!==void 0?a.hour=parseInt(c[d.H],10)%24:d.h!==void 0&&(a.hour=parseInt(c[d.h],10)%12,(d.A&&c[d.A]==="PM"||d.a&&c[d.a]==="pm"||d.aa&&c[d.aa]==="p.m.")&&(a.hour+=12),a.hour=a.hour%24),d.m!==void 0&&(a.minute=parseInt(c[d.m],10)%60),d.s!==void 0&&(a.second=parseInt(c[d.s],10)%60),d.S!==void 0&&(a.millisecond=parseInt(c[d.S],10)*10**(3-c[d.S].length)),(d.Z!==void 0||d.ZZ!==void 0)&&(h=d.Z!==void 0?c[d.Z].replace(":",""):c[d.ZZ],a.timezoneOffset=(h[0]==="+"?-1:1)*(60*h.slice(1,3)+1*h.slice(3,5)))}return a.dateHash=qe(a.year,6)+"/"+qe(a.month)+"/"+qe(a.day),a.timeHash=qe(a.hour)+":"+qe(a.minute)+":"+qe(a.second)+h,a}function ig(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function sg(e,t){return ts(new Date,e,t)}function ug(e){const t=new Date(e).getDay();return t===0?7:t}function Mo(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);const o=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-o);const r=(t-n)/(Qi*7);return 1+Math.floor(r)}function cg(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function Gr(e,t){const n=new Date(e);return t===!0?cg(n):n.getTime()}function dg(e,t,n,o={}){const r=Gr(t,o.onlyDate),a=Gr(n,o.onlyDate),i=Gr(e,o.onlyDate);return(i>r||o.inclusiveFrom===!0&&i===r)&&(i<a||o.inclusiveTo===!0&&i===a)}function fg(e,t){return Yr(e,t,1)}function mg(e,t){return Yr(e,t,-1)}function xt(e,t,n){const o=new Date(e),r=`set${n===!0?"UTC":""}`;switch(t){case"year":case"years":o[`${r}Month`](0);case"month":case"months":o[`${r}Date`](1);case"day":case"days":case"date":o[`${r}Hours`](0);case"hour":case"hours":o[`${r}Minutes`](0);case"minute":case"minutes":o[`${r}Seconds`](0);case"second":case"seconds":o[`${r}Milliseconds`](0)}return o}function hg(e,t,n){const o=new Date(e),r=`set${n===!0?"UTC":""}`;switch(t){case"year":case"years":o[`${r}Month`](11);case"month":case"months":o[`${r}Date`](Qr(o));case"day":case"days":case"date":o[`${r}Hours`](23);case"hour":case"hours":o[`${r}Minutes`](59);case"minute":case"minutes":o[`${r}Seconds`](59);case"second":case"seconds":o[`${r}Milliseconds`](999)}return o}function gg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(n=>{t=Math.max(t,new Date(n))}),t}function pg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(n=>{t=Math.min(t,new Date(n))}),t}function Bo(e,t,n){return(e.getTime()-e.getTimezoneOffset()*Kr-(t.getTime()-t.getTimezoneOffset()*Kr))/n}function ns(e,t,n="days"){const o=new Date(e),r=new Date(t);switch(n){case"years":case"year":return o.getFullYear()-r.getFullYear();case"months":case"month":return(o.getFullYear()-r.getFullYear())*12+o.getMonth()-r.getMonth();case"days":case"day":case"date":return Bo(xt(o,"day"),xt(r,"day"),Qi);case"hours":case"hour":return Bo(xt(o,"hour"),xt(r,"hour"),Jh);case"minutes":case"minute":return Bo(xt(o,"minute"),xt(r,"minute"),Kr);case"seconds":case"second":return Bo(xt(o,"second"),xt(r,"second"),1e3)}}function Fo(e){return ns(e,xt(e,"year"),"days")+1}function _g(e){return yo(e)===!0?"date":typeof e=="number"?"number":"string"}function bg(e,t,n){const o=new Date(e);if(t){const r=new Date(t);if(o<r)return r}if(n){const r=new Date(n);if(o>r)return r}return o}function vg(e,t,n){const o=new Date(e),r=new Date(t);if(n===void 0)return o.getTime()===r.getTime();switch(n){case"second":case"seconds":if(o.getSeconds()!==r.getSeconds())return!1;case"minute":case"minutes":if(o.getMinutes()!==r.getMinutes())return!1;case"hour":case"hours":if(o.getHours()!==r.getHours())return!1;case"day":case"days":case"date":if(o.getDate()!==r.getDate())return!1;case"month":case"months":if(o.getMonth()!==r.getMonth())return!1;case"year":case"years":if(o.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${n}`)}return!0}function Qr(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function Sn(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const os={YY(e,t,n){const o=this.YYYY(e,t,n)%100;return o>=0?qe(o):"-"+qe(Math.abs(o))},YYYY(e,t,n){return n??e.getFullYear()},M(e){return e.getMonth()+1},Mo(e){return Sn(e.getMonth()+1)},MM(e){return qe(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 Sn(this.Q(e))},D(e){return e.getDate()},Do(e){return Sn(e.getDate())},DD(e){return qe(e.getDate())},DDD(e){return Fo(e)},DDDo(e){return Sn(Fo(e))},DDDD(e){return qe(Fo(e),3)},d(e){return e.getDay()},do(e){return Sn(e.getDay())},dd(e,t){return t.days[e.getDay()].slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return Mo(e)},wo(e){return Sn(Mo(e))},ww(e){return qe(Mo(e))},H(e){return e.getHours()},HH(e){return qe(e.getHours())},h(e){const t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return qe(this.h(e))},m(e){return e.getMinutes()},mm(e){return qe(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return qe(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return qe(Math.floor(e.getMilliseconds()/10))},SSS(e){return qe(e.getMilliseconds(),3)},A(e){return e.getHours()<12?"AM":"PM"},a(e){return e.getHours()<12?"am":"pm"},aa(e){return e.getHours()<12?"a.m.":"p.m."},Z(e,t,n,o){const r=o??e.getTimezoneOffset();return Ji(r,":")},ZZ(e,t,n,o){const r=o??e.getTimezoneOffset();return Ji(r)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function yg(e,t,n,o,r){if(e!==0&&!e||e===1/0||e===-1/0)return;const a=new Date(e);if(isNaN(a))return;t===void 0&&(t=Xi);const i=Zi(n,Dt.props);return t.replace(eg,(s,u)=>s in os?os[s](a,i,o,r):u===void 0?s:u.split("\\]").join("]"))}function Eg(e){return yo(e)===!0?new Date(e.getTime()):e}const Sg={isValid:ig,extractDate:lg,buildDate:sg,getDayOfWeek:ug,getWeekOfYear:Mo,isBetweenDates:dg,addToDate:fg,subtractFromDate:mg,adjustDate:ts,startOfDate:xt,endOfDate:hg,getMaxDate:gg,getMinDate:pg,getDateDiff:ns,getDayOfYear:Fo,inferDateFormat:_g,getDateBetween:bg,isSameDate:vg,daysInMonth:Qr,formatDate:yg,clone:Eg},Cg=l.defineComponent({name:"TaskNavBar",data(){return{date:Sg,showIconSearch:!0,rightDrawerOpen:!1}},props:{logo:{type:String,default:""},title:{type:String,default:"Testing Title"},showBtnBack:{type:Boolean,default:!0},showBtnSearch:{type:Boolean,default:!0}},emits:["onClickBtnMenu","onClickBtnSearch","onClickBtnBack"],methods:{onClickBtnMenu(){this.$emit("onClickBtnMenu"),console.log("menu")},onClickBtnSearch(){this.showIconSearch=!this.showIconSearch,this.$emit("onClickBtnSearch"),console.log("search")},onClickBtnBack(){this.$emit("onClickBtnBack"),console.log("back")}}}),kg={id:"taskNavBar"},wg={class:"row full-width"},Tg={class:"col-7"},Og=["src"],Ag={id:"mobile-title"},Dg={class:"col-5 text-right"};function Ig(e,t,n,o,r,a){return l.openBlock(),l.createElementBlock("div",kg,[l.createVNode(Xh,{class:"q-toolbar-unset-height"},{default:l.withCtx(()=>[l.createElementVNode("div",wg,[l.createElementVNode("div",Tg,[l.createElementVNode("img",{src:e.logo,class:"logo"},null,8,Og),l.createElementVNode("span",Ag,l.toDisplayString(e.title),1)]),l.createElementVNode("div",Dg,[e.showBtnBack?(l.openBlock(),l.createBlock(Ve,{key:0,size:"md",class:"cursor-pointer",onClick:e.onClickBtnBack},{default:l.withCtx(()=>t[0]||(t[0]=[l.createElementVNode("svg",{class:"text-h4",xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 23.648 22.836"},[l.createElementVNode("g",{id:"Arrow_brand","data-name":"Arrow brand",transform:"translate(0 22.836) rotate(-90)"},[l.createElementVNode("path",{id:"Caminho_1066","data-name":"Caminho 1066",d:"M23.648,10.644l-22.323.569L11.42,1.095,10.325,0,0,11.418,10.325,22.836l1.095-1.095-10.1-10.13,22.323.581Z",transform:"translate(22.836) rotate(90)"})])],-1)])),_:1},8,["onClick"])):l.createCommentVNode("",!0),e.showBtnSearch?(l.openBlock(),l.createBlock(Ve,{key:1,color:"primary",name:e.showIconSearch?"search":"search_off",size:"md",class:"q-ml-md cursor-pointer",onClick:e.onClickBtnSearch},null,8,["name","onClick"])):l.createCommentVNode("",!0),l.createVNode(Ve,{id:"iconMenu",size:"md",onClick:e.onClickBtnMenu,class:"q-ml-md cursor-pointer"},{default:l.withCtx(()=>t[1]||(t[1]=[l.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30.448",height:"28.247",viewBox:"0 0 30.448 28.247"},[l.createElementVNode("g",{id:"Componente_11_3","data-name":"Componente 11 – 3",transform:"translate(0 1)"},[l.createElementVNode("path",{id:"Caminho_702","data-name":"Caminho 702",d:"M38.053,40.174H24",transform:"translate(-7.604 -13.177)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"0.5"}),l.createElementVNode("path",{id:"Caminho_703","data-name":"Caminho 703",d:"M45.079,31.913H24",transform:"translate(-14.631 -18.155)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"1"}),l.createElementVNode("path",{id:"Caminho_704","data-name":"Caminho 704",d:"M54.448,23.328H24",transform:"translate(-24 -23.328)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"2"})])],-1)])),_:1},8,["onClick"])])])]),_:1}),l.createVNode(Zh,{class:"text-color-almost-black q-pl-none"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.title),1)]),_:1})])}const rs=tt(Cg,[["render",Ig]]),xg={install(e){Ro(e,"TaskNavBar",rs)}};var Ng=Object.create,ls=Object.defineProperty,Pg=Object.getOwnPropertyDescriptor,Xr=Object.getOwnPropertyNames,Lg=Object.getPrototypeOf,Vg=Object.prototype.hasOwnProperty,Rg=(e,t)=>function(){return e&&(t=(0,e[Xr(e)[0]])(e=0)),t},Mg=(e,t)=>function(){return t||(0,e[Xr(e)[0]])((t={exports:{}}).exports,t),t.exports},Bg=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Xr(t))!Vg.call(e,r)&&r!==n&&ls(e,r,{get:()=>t[r],enumerable:!(o=Pg(t,r))||o.enumerable});return e},Fg=(e,t,n)=>(n=e!=null?Ng(Lg(e)):{},Bg(ls(n,"default",{value:e,enumerable:!0}),e)),Zn=Rg({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),qg=Mg({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){Zn(),t.exports=o;function n(a){return a instanceof Buffer?Buffer.from(a):new a.constructor(a.buffer.slice(),a.byteOffset,a.length)}function o(a){if(a=a||{},a.circles)return r(a);const i=new Map;if(i.set(Date,c=>new Date(c)),i.set(Map,(c,h)=>new Map(u(Array.from(c),h))),i.set(Set,(c,h)=>new Set(u(Array.from(c),h))),a.constructorHandlers)for(const c of a.constructorHandlers)i.set(c[0],c[1]);let s=null;return a.proto?d:f;function u(c,h){const m=Object.keys(c),_=new Array(m.length);for(let v=0;v<m.length;v++){const p=m[v],g=c[p];typeof g!="object"||g===null?_[p]=g:g.constructor!==Object&&(s=i.get(g.constructor))?_[p]=s(g,h):ArrayBuffer.isView(g)?_[p]=n(g):_[p]=h(g)}return _}function f(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return u(c,f);if(c.constructor!==Object&&(s=i.get(c.constructor)))return s(c,f);const h={};for(const m in c){if(Object.hasOwnProperty.call(c,m)===!1)continue;const _=c[m];typeof _!="object"||_===null?h[m]=_:_.constructor!==Object&&(s=i.get(_.constructor))?h[m]=s(_,f):ArrayBuffer.isView(_)?h[m]=n(_):h[m]=f(_)}return h}function d(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return u(c,d);if(c.constructor!==Object&&(s=i.get(c.constructor)))return s(c,d);const h={};for(const m in c){const _=c[m];typeof _!="object"||_===null?h[m]=_:_.constructor!==Object&&(s=i.get(_.constructor))?h[m]=s(_,d):ArrayBuffer.isView(_)?h[m]=n(_):h[m]=d(_)}return h}}function r(a){const i=[],s=[],u=new Map;if(u.set(Date,m=>new Date(m)),u.set(Map,(m,_)=>new Map(d(Array.from(m),_))),u.set(Set,(m,_)=>new Set(d(Array.from(m),_))),a.constructorHandlers)for(const m of a.constructorHandlers)u.set(m[0],m[1]);let f=null;return a.proto?h:c;function d(m,_){const v=Object.keys(m),p=new Array(v.length);for(let g=0;g<v.length;g++){const b=v[g],S=m[b];if(typeof S!="object"||S===null)p[b]=S;else if(S.constructor!==Object&&(f=u.get(S.constructor)))p[b]=f(S,_);else if(ArrayBuffer.isView(S))p[b]=n(S);else{const y=i.indexOf(S);y!==-1?p[b]=s[y]:p[b]=_(S)}}return p}function c(m){if(typeof m!="object"||m===null)return m;if(Array.isArray(m))return d(m,c);if(m.constructor!==Object&&(f=u.get(m.constructor)))return f(m,c);const _={};i.push(m),s.push(_);for(const v in m){if(Object.hasOwnProperty.call(m,v)===!1)continue;const p=m[v];if(typeof p!="object"||p===null)_[v]=p;else if(p.constructor!==Object&&(f=u.get(p.constructor)))_[v]=f(p,c);else if(ArrayBuffer.isView(p))_[v]=n(p);else{const g=i.indexOf(p);g!==-1?_[v]=s[g]:_[v]=c(p)}}return i.pop(),s.pop(),_}function h(m){if(typeof m!="object"||m===null)return m;if(Array.isArray(m))return d(m,h);if(m.constructor!==Object&&(f=u.get(m.constructor)))return f(m,h);const _={};i.push(m),s.push(_);for(const v in m){const p=m[v];if(typeof p!="object"||p===null)_[v]=p;else if(p.constructor!==Object&&(f=u.get(p.constructor)))_[v]=f(p,h);else if(ArrayBuffer.isView(p))_[v]=n(p);else{const g=i.indexOf(p);g!==-1?_[v]=s[g]:_[v]=h(p)}}return i.pop(),s.pop(),_}}}});Zn(),Zn(),Zn();var as=typeof navigator<"u",te=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof te.chrome<"u"&&te.chrome.devtools,as&&(te.self,te.top);var is;typeof navigator<"u"&&((is=navigator.userAgent)==null||is.toLowerCase().includes("electron")),Zn();var $g=Fg(qg()),Ug=/(?:^|[-_/])(\w)/g;function Hg(e,t){return t?t.toUpperCase():""}function zg(e){return e&&`${e}`.replace(Ug,Hg)}function jg(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const o=n.lastIndexOf("/"),r=n.substring(o+1);{const a=r.lastIndexOf(t);return r.substring(0,a)}}var ss=(0,$g.default)({circles:!0});const Kg={trailing:!0};function Cn(e,t=25,n={}){if(n={...Kg,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,r,a=[],i,s;const u=(f,d)=>(i=Wg(e,f,d),i.finally(()=>{if(i=null,n.trailing&&s&&!r){const c=u(f,s);return s=null,c}}),i);return function(...f){return i?(n.trailing&&(s=f),i):new Promise(d=>{const c=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const h=n.leading?o:u(this,f);for(const m of a)m(h);a=[]},t),c?(o=u(this,f),d(o)):a.push(d)})}}async function Wg(e,t,n){return await e.apply(t,n)}function Zr(e,t={},n){for(const o in e){const r=e[o],a=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?Zr(r,t,a):typeof r=="function"&&(t[a]=r)}return t}const Yg={run:e=>e()},Gg=()=>Yg,us=typeof console.createTask<"u"?console.createTask:Gg;function Qg(e,t){const n=t.shift(),o=us(n);return e.reduce((r,a)=>r.then(()=>o.run(()=>a(...t))),Promise.resolve())}function Xg(e,t){const n=t.shift(),o=us(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function Jr(e,t){for(const n of[...e])n(t)}class Zg{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!o.allowDeprecated){let i=a.message;i||(i=`${r} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...a)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...a));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Zr(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=Zr(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Qg,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Xg,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&Jr(this._before,r);const a=t(n in this._hooks?[...this._hooks[n]]:[],o);return a instanceof Promise?a.finally(()=>{this._after&&r&&Jr(this._after,r)}):(this._after&&r&&Jr(this._after,r),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function cs(){return new Zg}var Jg=Object.create,ds=Object.defineProperty,ep=Object.getOwnPropertyDescriptor,el=Object.getOwnPropertyNames,tp=Object.getPrototypeOf,np=Object.prototype.hasOwnProperty,op=(e,t)=>function(){return e&&(t=(0,e[el(e)[0]])(e=0)),t},fs=(e,t)=>function(){return t||(0,e[el(e)[0]])((t={exports:{}}).exports,t),t.exports},rp=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of el(t))!np.call(e,r)&&r!==n&&ds(e,r,{get:()=>t[r],enumerable:!(o=ep(t,r))||o.enumerable});return e},lp=(e,t,n)=>(n=e!=null?Jg(tp(e)):{},rp(ds(n,"default",{value:e,enumerable:!0}),e)),B=op({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),ap=fs({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){B(),function(n){var o={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},r=["်","ް"],a={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},s={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},u=[";","?",":","@","&","=","+","$",",","/"].join(""),f=[";","?",":","@","&","=","+","$",","].join(""),d=[".","!","~","*","'","(",")"].join(""),c=function(p,g){var b="-",S="",y="",A=!0,I={},T,M,x,P,F,D,K,V,ne,W,$,H,Q,oe,O="";if(typeof p!="string")return"";if(typeof g=="string"&&(b=g),K=s.en,V=i.en,typeof g=="object"){T=g.maintainCase||!1,I=g.custom&&typeof g.custom=="object"?g.custom:I,x=+g.truncate>1&&g.truncate||!1,P=g.uric||!1,F=g.uricNoSlash||!1,D=g.mark||!1,A=!(g.symbols===!1||g.lang===!1),b=g.separator||b,P&&(O+=u),F&&(O+=f),D&&(O+=d),K=g.lang&&s[g.lang]&&A?s[g.lang]:A?s.en:{},V=g.lang&&i[g.lang]?i[g.lang]:g.lang===!1||g.lang===!0?{}:i.en,g.titleCase&&typeof g.titleCase.length=="number"&&Array.prototype.toString.call(g.titleCase)?(g.titleCase.forEach(function(w){I[w+""]=w+""}),M=!0):M=!!g.titleCase,g.custom&&typeof g.custom.length=="number"&&Array.prototype.toString.call(g.custom)&&g.custom.forEach(function(w){I[w+""]=w+""}),Object.keys(I).forEach(function(w){var j;w.length>1?j=new RegExp("\\b"+m(w)+"\\b","gi"):j=new RegExp(m(w),"gi"),p=p.replace(j,I[w])});for($ in I)O+=$}for(O+=b,O=m(O),p=p.replace(/(^\s+|\s+$)/g,""),Q=!1,oe=!1,W=0,H=p.length;W<H;W++)$=p[W],_($,I)?Q=!1:V[$]?($=Q&&V[$].match(/[A-Za-z0-9]/)?" "+V[$]:V[$],Q=!1):$ in o?(W+1<H&&r.indexOf(p[W+1])>=0?(y+=$,$=""):oe===!0?($=a[y]+o[$],y=""):$=Q&&o[$].match(/[A-Za-z0-9]/)?" "+o[$]:o[$],Q=!1,oe=!1):$ in a?(y+=$,$="",W===H-1&&($=a[y]),oe=!0):K[$]&&!(P&&u.indexOf($)!==-1)&&!(F&&f.indexOf($)!==-1)?($=Q||S.substr(-1).match(/[A-Za-z0-9]/)?b+K[$]:K[$],$+=p[W+1]!==void 0&&p[W+1].match(/[A-Za-z0-9]/)?b:"",Q=!0):(oe===!0?($=a[y]+$,y="",oe=!1):Q&&(/[A-Za-z0-9]/.test($)||S.substr(-1).match(/A-Za-z0-9]/))&&($=" "+$),Q=!1),S+=$.replace(new RegExp("[^\\w\\s"+O+"_-]","g"),b);return M&&(S=S.replace(/(\w)(\S*)/g,function(w,j,le){var se=j.toUpperCase()+(le!==null?le:"");return Object.keys(I).indexOf(se.toLowerCase())<0?se:se.toLowerCase()})),S=S.replace(/\s+/g,b).replace(new RegExp("\\"+b+"+","g"),b).replace(new RegExp("(^\\"+b+"+|\\"+b+"+$)","g"),""),x&&S.length>x&&(ne=S.charAt(x)===b,S=S.slice(0,x),ne||(S=S.slice(0,S.lastIndexOf(b)))),!T&&!M&&(S=S.toLowerCase()),S},h=function(p){return function(b){return c(b,p)}},m=function(p){return p.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},_=function(v,p){for(var g in p)if(p[g]===v)return!0};if(typeof t<"u"&&t.exports)t.exports=c,t.exports.createSlug=h;else if(typeof define<"u"&&define.amd)define([],function(){return c});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=c,n.createSlug=h}catch{}}(e)}}),ip=fs({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){B(),t.exports=ap()}});B(),B(),B(),B(),B(),B(),B(),B();function sp(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function up(e){const t=e.__file;if(t)return zg(jg(t,".vue"))}function ms(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function tl(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function hs(e){var t,n;const o=(t=e.subTree)==null?void 0:t.type,r=tl(e);return r?((n=r==null?void 0:r.types)==null?void 0:n.Fragment)===o:!1}function qo(e){var t,n,o;const r=sp((e==null?void 0:e.type)||{});if(r)return r;if((e==null?void 0:e.root)===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===(e==null?void 0:e.type))return ms(e,i);for(const i in(o=e.appContext)==null?void 0:o.components)if(e.appContext.components[i]===(e==null?void 0:e.type))return ms(e,i);const a=up((e==null?void 0:e.type)||{});return a||"Anonymous Component"}function cp(e){var t,n,o;const r=(o=(n=(t=e==null?void 0:e.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?o:0,a=e===(e==null?void 0:e.root)?"root":e.uid;return`${r}:${a}`}function nl(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function dp(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var $o;function fp(e){return $o||($o=document.createRange()),$o.selectNode(e),$o.getBoundingClientRect()}function mp(e){const t=dp();if(!e.children)return t;for(let n=0,o=e.children.length;n<o;n++){const r=e.children[n];let a;if(r.component)a=ln(r.component);else if(r.el){const i=r.el;i.nodeType===1||i.getBoundingClientRect?a=i.getBoundingClientRect():i.nodeType===3&&i.data.trim()&&(a=fp(i))}a&&hp(t,a)}return t}function hp(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var gs={top:0,left:0,right:0,bottom:0,width:0,height:0};function ln(e){const t=e.subTree.el;return typeof window>"u"?gs:hs(e)?mp(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?ln(e.subTree.component):gs}B();function ol(e){return hs(e)?gp(e.subTree):e.subTree?[e.subTree.el]:[]}function gp(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...ol(n.component)):n!=null&&n.el&&t.push(n.el)}),t}var ps="__vue-devtools-component-inspector__",_s="__vue-devtools-component-inspector__card__",bs="__vue-devtools-component-inspector__name__",vs="__vue-devtools-component-inspector__indicator__",ys={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},pp={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},_p={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function kn(){return document.getElementById(ps)}function bp(){return document.getElementById(_s)}function vp(){return document.getElementById(vs)}function yp(){return document.getElementById(bs)}function rl(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function ll(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:ps,Object.assign(n.style,{...ys,...rl(e.bounds),...e.style});const o=document.createElement("span");o.id=_s,Object.assign(o.style,{...pp,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=bs,r.innerHTML=`<${e.name}> `;const a=document.createElement("i");return a.id=vs,a.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(a.style,_p),o.appendChild(r),o.appendChild(a),n.appendChild(o),document.body.appendChild(n),n}function al(e){const t=kn(),n=bp(),o=yp(),r=vp();t&&(Object.assign(t.style,{...ys,...rl(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),o.innerHTML=`<${e.name}> `,r.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function Ep(e){const t=ln(e);if(!t.width&&!t.height)return;const n=qo(e);kn()?al({bounds:t,name:n}):ll({bounds:t,name:n})}function Es(){const e=kn();e&&(e.style.display="none")}var il=null;function sl(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(il=n,n.vnode.el)){const r=ln(n),a=qo(n);kn()?al({bounds:r,name:a}):ll({bounds:r,name:a})}}}function Sp(e,t){if(e.preventDefault(),e.stopPropagation(),il){const n=cp(il);t(n)}}var Uo=null;function Cp(){Es(),window.removeEventListener("mouseover",sl),window.removeEventListener("click",Uo,!0),Uo=null}function kp(){return window.addEventListener("mouseover",sl),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),Sp(n,o=>{window.removeEventListener("click",t,!0),Uo=null,window.removeEventListener("mouseover",sl);const r=kn();r&&(r.style.display="none"),e(JSON.stringify({id:o}))})}Uo=t,window.addEventListener("click",t,!0)})}function wp(e){const t=nl(lt.value,e.id);if(t){const[n]=ol(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const o=ln(t),r=document.createElement("div"),a={...rl(o),position:"absolute"};Object.assign(r.style,a),document.body.appendChild(r),r.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(r)},2e3)}setTimeout(()=>{const o=ln(t);if(o.width||o.height){const r=qo(t),a=kn();a?al({...e,name:r,bounds:o}):ll({...e,name:r,bounds:o}),setTimeout(()=>{a&&(a.style.display="none")},1500)}},1200)}}B();var Ss,Cs;(Cs=(Ss=te).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(Ss.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function Tp(e){let t=0;const n=setInterval(()=>{te.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function Op(){const e=te.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function Ap(){return new Promise(e=>{function t(){Op(),e(te.__VUE_INSPECTOR__)}te.__VUE_INSPECTOR__?t():Tp(()=>{t()})})}B(),B();function Dp(e){return!!(e&&e.__v_isReadonly)}function ks(e){return Dp(e)?ks(e.__v_raw):!!(e&&e.__v_isReactive)}function ul(e){return!!(e&&e.__v_isRef===!0)}function Jn(e){const t=e&&e.__v_raw;return t?Jn(t):e}var Ip=class{constructor(){this.refEditor=new xp}set(e,t,n,o){const r=Array.isArray(t)?t:t.split(".");for(;r.length>1;){const s=r.shift();e instanceof Map&&(e=e.get(s)),e instanceof Set?e=Array.from(e.values())[s]:e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const a=r[0],i=this.refEditor.get(e)[a];o?o(e,a,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[a]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let o=0;o<n.length;o++)if(e instanceof Map?e=e.get(n[o]):e=e[n[o]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const o=Array.isArray(t)?t.slice():t.split("."),r=n?2:1;for(;e&&o.length>r;){const a=o.shift();e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,o[0])}createDefaultSetCallback(e){return(t,n,o)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):Jn(t)instanceof Map?t.delete(n):Jn(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const r=t[e.newKey||n];this.refEditor.isRef(r)?this.refEditor.set(r,o):Jn(t)instanceof Map?t.set(e.newKey||n,o):Jn(t)instanceof Set?t.add(o):t[e.newKey||n]=o}}}},xp=class{set(e,t){if(ul(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(r=>e.add(r));return}const n=Object.keys(t);if(e instanceof Map){const r=new Set(e.keys());n.forEach(a=>{e.set(a,Reflect.get(t,a)),r.delete(a)}),r.forEach(a=>e.delete(a));return}const o=new Set(Object.keys(e));n.forEach(r=>{Reflect.set(e,r,Reflect.get(t,r)),o.delete(r)}),o.forEach(r=>Reflect.deleteProperty(e,r))}}get(e){return ul(e)?e.value:e}isRef(e){return ul(e)||ks(e)}};B(),B(),B();var Np="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Pp(){if(!as||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(Np);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}B(),B(),B();var ws,Ts;(Ts=(ws=te).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(ws.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var Lp=new Proxy(te.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function Vp(e,t){je.timelineLayersState[t.id]=!1,Lp.push({...e,descriptorId:t.id,appRecord:tl(t.app)})}var Os,As;(As=(Os=te).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(Os.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var cl=new Proxy(te.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Ds=Cn(()=>{Tn.hooks.callHook("sendInspectorToClient",Is())});function Rp(e,t){var n,o;cl.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(o=e.stateFilterPlaceholder)!=null?o:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:tl(t.app)}),Ds()}function Is(){return cl.filter(e=>e.descriptor.app===lt.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,o=e.options;return{id:o.id,label:o.label,logo:n.logo,icon:`custom-ic-baseline-${(t=o==null?void 0:o.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function Ho(e,t){return cl.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function Mp(){const e=cs();e.hook("addInspector",({inspector:o,plugin:r})=>{Rp(o,r.descriptor)});const t=Cn(async({inspectorId:o,plugin:r})=>{var a;if(!o||!((a=r==null?void 0:r.descriptor)!=null&&a.app)||je.highPerfModeEnabled)return;const i=Ho(o,r.descriptor.app),s={app:r.descriptor.app,inspectorId:o,filter:(i==null?void 0:i.treeFilter)||"",rootNodes:[]};await new Promise(u=>{e.callHookWith(async f=>{await Promise.all(f.map(d=>d(s))),u()},"getInspectorTree")}),e.callHookWith(async u=>{await Promise.all(u.map(f=>f({inspectorId:o,rootNodes:s.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=Cn(async({inspectorId:o,plugin:r})=>{var a;if(!o||!((a=r==null?void 0:r.descriptor)!=null&&a.app)||je.highPerfModeEnabled)return;const i=Ho(o,r.descriptor.app),s={app:r.descriptor.app,inspectorId:o,nodeId:(i==null?void 0:i.selectedNodeId)||"",state:null},u={currentTab:`custom-inspector:${o}`};s.nodeId&&await new Promise(f=>{e.callHookWith(async d=>{await Promise.all(d.map(c=>c(s,u))),f()},"getInspectorState")}),e.callHookWith(async f=>{await Promise.all(f.map(d=>d({inspectorId:o,nodeId:s.nodeId,state:s.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:o,nodeId:r,plugin:a})=>{const i=Ho(o,a.descriptor.app);i&&(i.selectedNodeId=r)}),e.hook("timelineLayerAdded",({options:o,plugin:r})=>{Vp(o,r.descriptor)}),e.hook("timelineEventAdded",({options:o,plugin:r})=>{var a;const i=["performance","component-event","keyboard","mouse"];je.highPerfModeEnabled||!((a=je.timelineLayersState)!=null&&a[r.descriptor.id])&&!i.includes(o.layerId)||e.callHookWith(async s=>{await Promise.all(s.map(u=>u(o)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:o})=>{const r=o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!r)return null;const a=r.id.toString();return[...r.instanceMap].filter(([s])=>s.split(":")[0]===a).map(([,s])=>s)}),e.hook("getComponentBounds",async({instance:o})=>ln(o)),e.hook("getComponentName",({instance:o})=>qo(o)),e.hook("componentHighlight",({uid:o})=>{const r=lt.value.instanceMap.get(o);r&&Ep(r)}),e.hook("componentUnhighlight",()=>{Es()}),e}var xs,Ns;(Ns=(xs=te).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(xs.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Ps,Ls;(Ls=(Ps=te).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Ps.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Vs,Rs;(Rs=(Vs=te).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Vs.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var Ms,Bs;(Bs=(Ms=te).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(Ms.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Fs,qs;(qs=(Fs=te).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Fs.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var an="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Bp(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Pp()}}var $s,Us;(Us=($s=te)[an])!=null||($s[an]=Bp());var Fp=Cn(e=>{Tn.hooks.callHook("devtoolsStateUpdated",{state:e})});Cn((e,t)=>{Tn.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var zo=new Proxy(te.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?te.__VUE_DEVTOOLS_KIT_APP_RECORDS__:te.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),lt=new Proxy(te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function Hs(){Fp({...te[an],appRecords:zo.value,activeAppRecordId:lt.id,tabs:te.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:te.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function qp(e){te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,Hs()}function $p(e){te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,Hs()}var je=new Proxy(te[an],{get(e,t){return t==="appRecords"?zo:t==="activeAppRecordId"?lt.id:t==="tabs"?te.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?te.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:te[an][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...te[an]},e[t]=n,te[an][t]=n,!0}});function Up(e={}){var t,n,o;const{file:r,host:a,baseUrl:i=window.location.origin,line:s=0,column:u=0}=e;if(r){if(a==="chrome-extension"){const f=r.replace(/\\/g,"\\\\"),d=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${d}__open-in-editor?file=${encodeURI(r)}`).then(c=>{if(!c.ok){const h=`Opening component ${f} failed`;console.log(`%c${h}`,"color:red")}})}else if(je.vitePluginDetected){const f=(o=te.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?o:i;te.__VUE_INSPECTOR__.openInEditor(f,r,s,u)}}}B(),B(),B(),B(),B();var zs,js;(js=(zs=te).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(zs.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var dl=new Proxy(te.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function fl(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function ml(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Hp(e){var t,n,o;const r=(n=(t=dl.find(a=>{var i;return a[0].id===e&&!!((i=a[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?n:null;return(o=r==null?void 0:r.settings)!=null?o:null}function Ks(e,t){var n,o,r;const a=ml(e);if(a){const i=localStorage.getItem(a);if(i)return JSON.parse(i)}if(e){const i=(o=(n=dl.find(s=>s[0].id===e))==null?void 0:n[0])!=null?o:null;return fl((r=i==null?void 0:i.settings)!=null?r:{})}return fl(t)}function zp(e,t){const n=ml(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(fl(t)))}function jp(e,t,n){const o=ml(e),r=localStorage.getItem(o),a=JSON.parse(r||"{}"),i={...a,[t]:n};localStorage.setItem(o,JSON.stringify(i)),Tn.hooks.callHookWith(s=>{s.forEach(u=>u({pluginId:e,key:t,oldValue:a[t],newValue:n,settings:i}))},"setPluginSettings")}B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B();var Ws,Ys,mt=(Ys=(Ws=te).__VUE_DEVTOOLS_HOOK)!=null?Ys:Ws.__VUE_DEVTOOLS_HOOK=cs(),Kp={vueAppInit(e){mt.hook("app:init",e)},vueAppUnmount(e){mt.hook("app:unmount",e)},vueAppConnected(e){mt.hook("app:connected",e)},componentAdded(e){return mt.hook("component:added",e)},componentEmit(e){return mt.hook("component:emit",e)},componentUpdated(e){return mt.hook("component:updated",e)},componentRemoved(e){return mt.hook("component:removed",e)},setupDevtoolsPlugin(e){mt.hook("devtools-plugin:setup",e)},perfStart(e){return mt.hook("perf:start",e)},perfEnd(e){return mt.hook("perf:end",e)}},Gs={on:Kp,setupDevToolsPlugin(e,t){return mt.callHook("devtools-plugin:setup",e,t)}},Wp=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(je.highPerfModeEnabled)return;const n=Is().find(o=>o.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const o=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];mt.callHook("component:updated",...o)}else mt.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&zp(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){je.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){je.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return je.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){je.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return Ks(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Yp=Wp;B(),B(),B(),B();var Gp="__vue_devtool_undefined__",Qp="__vue_devtool_infinity__",Xp="__vue_devtool_negative_infinity__",Zp="__vue_devtool_nan__";B(),B();var Jp={[Gp]:"undefined",[Zp]:"NaN",[Qp]:"Infinity",[Xp]:"-Infinity"};Object.entries(Jp).reduce((e,[t,n])=>(e[n]=t,e),{}),B(),B(),B(),B(),B();var Qs,Xs;(Xs=(Qs=te).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(Qs.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function Zs(e,t){return Gs.setupDevToolsPlugin(e,t)}function e_(e,t){const[n,o]=e;if(n.app!==t)return;const r=new Yp({plugin:{setupFn:o,descriptor:n},ctx:Tn});n.packageName==="vuex"&&r.on.editInspectorState(a=>{r.sendInspectorState(a.inspectorId)}),o(r)}function Js(e,t){te.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||je.highPerfModeEnabled&&!(t!=null&&t.inspectingComponent)||(te.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),dl.forEach(n=>{e_(n,e)}))}B(),B();var eo="__VUE_DEVTOOLS_ROUTER__",wn="__VUE_DEVTOOLS_ROUTER_INFO__",eu,tu;(tu=(eu=te)[wn])!=null||(eu[wn]={currentRoute:null,routes:[]});var nu,ou;(ou=(nu=te)[eo])!=null||(nu[eo]={}),new Proxy(te[wn],{get(e,t){return te[wn][t]}}),new Proxy(te[eo],{get(e,t){if(t==="value")return te[eo]}});function t_(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function hl(e){return e.map(t=>{let{path:n,name:o,children:r,meta:a}=t;return r!=null&&r.length&&(r=hl(r)),{path:n,name:o,children:r,meta:a}})}function n_(e){if(e){const{fullPath:t,hash:n,href:o,path:r,name:a,matched:i,params:s,query:u}=e;return{fullPath:t,hash:n,href:o,path:r,name:a,params:s,query:u,matched:hl(i)}}return e}function o_(e,t){function n(){var o;const r=(o=e.app)==null?void 0:o.config.globalProperties.$router,a=n_(r==null?void 0:r.currentRoute.value),i=hl(t_(r)),s=console.warn;console.warn=()=>{},te[wn]={currentRoute:a?ss(a):{},routes:ss(i)},te[eo]=r,console.warn=s}n(),Gs.on.componentUpdated(Cn(()=>{var o;((o=t.value)==null?void 0:o.app)===e.app&&(n(),!je.highPerfModeEnabled&&Tn.hooks.callHook("routerInfoUpdated",{state:te[wn]}))},200))}function r_(e){return{async getInspectorTree(t){const n={...t,app:lt.value.app,rootNodes:[]};return await new Promise(o=>{e.callHookWith(async r=>{await Promise.all(r.map(a=>a(n))),o()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:lt.value.app,state:null},o={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(r=>{e.callHookWith(async a=>{await Promise.all(a.map(i=>i(n,o))),r()},"getInspectorState")}),n.state},editInspectorState(t){const n=new Ip,o={...t,app:lt.value.app,set:(r,a=t.path,i=t.state.value,s)=>{n.set(r,a,i,s||n.createDefaultSetCallback(t.state))}};e.callHookWith(r=>{r.forEach(a=>a(o))},"editInspectorState")},sendInspectorState(t){const n=Ho(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return kp()},cancelInspectComponentInspector(){return Cp()},getComponentRenderCode(t){const n=nl(lt.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return wp({id:t})},openInEditor:Up,getVueInspector:Ap,toggleApp(t,n){const o=zo.value.find(r=>r.id===t);o&&($p(t),qp(o),o_(o,lt),Ds(),Js(o.app,n))},inspectDOM(t){const n=nl(lt.value,t);if(n){const[o]=ol(n);o&&(te.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=o)}},updatePluginSettings(t,n,o){jp(t,n,o)},getPluginSettings(t){return{options:Hp(t),values:Ks(t)}}}}B();var ru,lu;(lu=(ru=te).__VUE_DEVTOOLS_ENV__)!=null||(ru.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var au=Mp(),iu,su;(su=(iu=te).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(iu.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:au,get state(){return{...je,activeAppRecordId:lt.id,activeAppRecord:lt.value,appRecords:zo.value}},api:r_(au)});var Tn=te.__VUE_DEVTOOLS_KIT_CONTEXT__;B(),lp(ip());var uu,cu;(cu=(uu=te).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(uu.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set}),B();function l_(e){je.highPerfModeEnabled=e??!je.highPerfModeEnabled,!e&<.value&&Js(lt.value.app)}B(),B(),B();function a_(e){je.devtoolsClientDetected={...je.devtoolsClientDetected,...e};const t=Object.values(je.devtoolsClientDetected).some(Boolean);l_(!t)}var du,fu;(fu=(du=te).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(du.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=a_),B(),B(),B(),B(),B(),B(),B();var i_=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},mu=class{constructor(e){this.generateIdentifier=e,this.kv=new i_}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},s_=class extends mu{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};B(),B();function u_(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function c_(e,t){const n=u_(e);if("find"in n)return n.find(t);const o=n;for(let r=0;r<o.length;r++){const a=o[r];if(t(a))return a}}function On(e,t){Object.entries(e).forEach(([n,o])=>t(o,n))}function jo(e,t){return e.indexOf(t)!==-1}function hu(e,t){for(let n=0;n<e.length;n++){const o=e[n];if(t(o))return o}}var d_=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return c_(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};B(),B();var f_=e=>Object.prototype.toString.call(e).slice(8,-1),gu=e=>typeof e>"u",m_=e=>e===null,to=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,gl=e=>to(e)&&Object.keys(e).length===0,jt=e=>Array.isArray(e),h_=e=>typeof e=="string",g_=e=>typeof e=="number"&&!isNaN(e),p_=e=>typeof e=="boolean",__=e=>e instanceof RegExp,no=e=>e instanceof Map,oo=e=>e instanceof Set,pu=e=>f_(e)==="Symbol",b_=e=>e instanceof Date&&!isNaN(e.valueOf()),v_=e=>e instanceof Error,_u=e=>typeof e=="number"&&isNaN(e),y_=e=>p_(e)||m_(e)||gu(e)||g_(e)||h_(e)||pu(e),E_=e=>typeof e=="bigint",S_=e=>e===1/0||e===-1/0,C_=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),k_=e=>e instanceof URL;B();var bu=e=>e.replace(/\./g,"\\."),pl=e=>e.map(String).map(bu).join("."),ro=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let a=e.charAt(r);if(a==="\\"&&e.charAt(r+1)==="."){n+=".",r++;continue}if(a==="."){t.push(n),n="";continue}n+=a}const o=n;return t.push(o),t};B();function Nt(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var vu=[Nt(gu,"undefined",()=>null,()=>{}),Nt(E_,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),Nt(b_,"Date",e=>e.toISOString(),e=>new Date(e)),Nt(v_,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n}),Nt(__,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),Nt(oo,"set",e=>[...e.values()],e=>new Set(e)),Nt(no,"map",e=>[...e.entries()],e=>new Map(e)),Nt(e=>_u(e)||S_(e),"number",e=>_u(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Nt(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),Nt(k_,"URL",e=>e.toString(),e=>new URL(e))];function Ko(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var yu=Ko((e,t)=>pu(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o}),w_=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),Eu=Ko(C_,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=w_[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function Su(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var Cu=Ko(Su,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const o={};return n.forEach(r=>{o[r]=e[r]}),o},(e,t,n)=>{const o=n.classRegistry.getValue(t[1]);if(!o)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(o.prototype),e)}),ku=Ko((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)}),T_=[Cu,yu,ku,Eu],wu=(e,t)=>{const n=hu(T_,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const o=hu(vu,r=>r.isApplicable(e,t));if(o)return{value:o.transform(e,t),type:o.annotation}},Tu={};vu.forEach(e=>{Tu[e.annotation]=e});var O_=(e,t,n)=>{if(jt(t))switch(t[0]){case"symbol":return yu.untransform(e,t,n);case"class":return Cu.untransform(e,t,n);case"custom":return ku.untransform(e,t,n);case"typed-array":return Eu.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const o=Tu[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}};B();var An=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function Ou(e){if(jo(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(jo(e,"prototype"))throw new Error("prototype is not allowed as a property");if(jo(e,"constructor"))throw new Error("constructor is not allowed as a property")}var A_=(e,t)=>{Ou(t);for(let n=0;n<t.length;n++){const o=t[n];if(oo(e))e=An(e,+o);else if(no(e)){const r=+o,a=+t[++n]==0?"key":"value",i=An(e,r);switch(a){case"key":e=i;break;case"value":e=e.get(i);break}}else e=e[o]}return e},_l=(e,t,n)=>{if(Ou(t),t.length===0)return n(e);let o=e;for(let a=0;a<t.length-1;a++){const i=t[a];if(jt(o)){const s=+i;o=o[s]}else if(to(o))o=o[i];else if(oo(o)){const s=+i;o=An(o,s)}else if(no(o)){if(a===t.length-2)break;const u=+i,f=+t[++a]==0?"key":"value",d=An(o,u);switch(f){case"key":o=d;break;case"value":o=o.get(d);break}}}const r=t[t.length-1];if(jt(o)?o[+r]=n(o[+r]):to(o)&&(o[r]=n(o[r])),oo(o)){const a=An(o,+r),i=n(a);a!==i&&(o.delete(a),o.add(i))}if(no(o)){const a=+t[t.length-2],i=An(o,a);switch(+r==0?"key":"value"){case"key":{const u=n(i);o.set(u,o.get(i)),u!==i&&o.delete(i);break}case"value":{o.set(i,n(o.get(i)));break}}}return e};function bl(e,t,n=[]){if(!e)return;if(!jt(e)){On(e,(a,i)=>bl(a,t,[...n,...ro(i)]));return}const[o,r]=e;r&&On(r,(a,i)=>{bl(a,t,[...n,...ro(i)])}),t(o,n)}function D_(e,t,n){return bl(t,(o,r)=>{e=_l(e,r,a=>O_(a,o,n))}),e}function I_(e,t){function n(o,r){const a=A_(e,ro(r));o.map(ro).forEach(i=>{e=_l(e,i,()=>a)})}if(jt(t)){const[o,r]=t;o.forEach(a=>{e=_l(e,ro(a),()=>e)}),r&&On(r,n)}else On(t,n);return e}var x_=(e,t)=>to(e)||jt(e)||no(e)||oo(e)||Su(e,t);function N_(e,t,n){const o=n.get(e);o?o.push(t):n.set(e,[t])}function P_(e,t){const n={};let o;return e.forEach(r=>{if(r.length<=1)return;t||(r=r.map(s=>s.map(String)).sort((s,u)=>s.length-u.length));const[a,...i]=r;a.length===0?o=i.map(pl):n[pl(a)]=i.map(pl)}),o?gl(n)?[o]:[o,n]:gl(n)?void 0:n}var Au=(e,t,n,o,r=[],a=[],i=new Map)=>{var s;const u=y_(e);if(!u){N_(e,r,t);const _=i.get(e);if(_)return o?{transformedValue:null}:_}if(!x_(e,n)){const _=wu(e,n),v=_?{transformedValue:_.value,annotations:[_.type]}:{transformedValue:e};return u||i.set(e,v),v}if(jo(a,e))return{transformedValue:null};const f=wu(e,n),d=(s=f==null?void 0:f.value)!=null?s:e,c=jt(d)?[]:{},h={};On(d,(_,v)=>{if(v==="__proto__"||v==="constructor"||v==="prototype")throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);const p=Au(_,t,n,o,[...r,v],[...a,e],i);c[v]=p.transformedValue,jt(p.annotations)?h[v]=p.annotations:to(p.annotations)&&On(p.annotations,(g,b)=>{h[bu(v)+"."+b]=g})});const m=gl(h)?{transformedValue:c,annotations:f?[f.type]:void 0}:{transformedValue:c,annotations:f?[f.type,h]:h};return u||i.set(e,m),m};B(),B();function Du(e){return Object.prototype.toString.call(e).slice(8,-1)}function Iu(e){return Du(e)==="Array"}function L_(e){if(Du(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function V_(e,t,n,o,r){const a={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";a==="enumerable"&&(e[t]=n),r&&a==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function vl(e,t={}){if(Iu(e))return e.map(r=>vl(r,t));if(!L_(e))return e;const n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertySymbols(e);return[...n,...o].reduce((r,a)=>{if(Iu(t.props)&&!t.props.includes(a))return r;const i=e[a],s=vl(i,t);return V_(r,a,s,e,t.nonenumerable),r},{})}var we=class{constructor({dedupe:e=!1}={}){this.classRegistry=new s_,this.symbolRegistry=new mu(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new d_,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=Au(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta={...o.meta,values:n.annotations});const r=P_(t,this.dedupe);return r&&(o.meta={...o.meta,referentialEqualities:r}),o}deserialize(e){const{json:t,meta:n}=e;let o=vl(t);return n!=null&&n.values&&(o=D_(o,n.values,this)),n!=null&&n.referentialEqualities&&(o=I_(o,n.referentialEqualities)),o}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};we.defaultInstance=new we,we.serialize=we.defaultInstance.serialize.bind(we.defaultInstance),we.deserialize=we.defaultInstance.deserialize.bind(we.defaultInstance),we.stringify=we.defaultInstance.stringify.bind(we.defaultInstance),we.parse=we.defaultInstance.parse.bind(we.defaultInstance),we.registerClass=we.defaultInstance.registerClass.bind(we.defaultInstance),we.registerSymbol=we.defaultInstance.registerSymbol.bind(we.defaultInstance),we.registerCustom=we.defaultInstance.registerCustom.bind(we.defaultInstance),we.allowErrorProps=we.defaultInstance.allowErrorProps.bind(we.defaultInstance),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B();var xu,Nu;(Nu=(xu=te).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(xu.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var Pu,Lu;(Lu=(Pu=te).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(Pu.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Vu,Ru;(Ru=(Vu=te).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(Vu.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var Mu,Bu;(Bu=(Mu=te).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(Mu.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var Fu,qu;(qu=(Fu=te).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(Fu.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var $u,Uu;(Uu=($u=te).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||($u.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null),B(),B(),B(),B(),B(),B(),B();/*!
|
|
1
|
+
(function(Je,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],l):(Je=typeof globalThis<"u"?globalThis:Je||self,l(Je.QuasarFactoryLib={},Je.Vue))})(this,function(Je,l){"use strict";function ct(e,t,n,o){return Object.defineProperty(e,t,{get:n,set:o,enumerable:!0}),e}function cd(e,t){for(const n in t)ct(e,n,t[n]);return e}const Ut=l.ref(!1);let dr;function dd(e,t){const n=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(e)||/(opr)[\/]([\w.]+)/.exec(e)||/(vivaldi)[\/]([\w.]+)/.exec(e)||/(chrome|crios)[\/]([\w.]+)/.exec(e)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(e)||/(firefox|fxios)[\/]([\w.]+)/.exec(e)||/(webkit)[\/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(e)||[];return{browser:n[5]||n[3]||n[1]||"",version:n[4]||n[2]||"0",platform:t[0]||""}}function fd(e){return/(ipad)/.exec(e)||/(ipod)/.exec(e)||/(windows phone)/.exec(e)||/(iphone)/.exec(e)||/(kindle)/.exec(e)||/(silk)/.exec(e)||/(android)/.exec(e)||/(win)/.exec(e)||/(mac)/.exec(e)||/(linux)/.exec(e)||/(cros)/.exec(e)||/(playbook)/.exec(e)||/(bb)/.exec(e)||/(blackberry)/.exec(e)||[]}const ra="ontouchstart"in window||window.navigator.maxTouchPoints>0;function md(e){const t=e.toLowerCase(),n=fd(t),o=dd(t,n),r={mobile:!1,desktop:!1,cordova:!1,capacitor:!1,nativeMobile:!1,electron:!1,bex:!1,linux:!1,mac:!1,win:!1,cros:!1,chrome:!1,firefox:!1,opera:!1,safari:!1,vivaldi:!1,edge:!1,edgeChromium:!1,ie:!1,webkit:!1,android:!1,ios:!1,ipad:!1,iphone:!1,ipod:!1,kindle:!1,winphone:!1,blackberry:!1,playbook:!1,silk:!1};o.browser&&(r[o.browser]=!0,r.version=o.version,r.versionNumber=parseInt(o.version,10)),o.platform&&(r[o.platform]=!0);const a=r.android||r.ios||r.bb||r.blackberry||r.ipad||r.iphone||r.ipod||r.kindle||r.playbook||r.silk||r["windows phone"];if(a===!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,o.browser="edge"):r.crios?(r.chrome=!0,o.browser="chrome"):r.fxios&&(r.firefox=!0,o.browser="firefox"),(r.ipod||r.ipad||r.iphone)&&(r.ios=!0),r.vivaldi&&(o.browser="vivaldi",r.vivaldi=!0),(r.chrome||r.opr||r.safari||r.vivaldi||r.mobile===!0&&r.ios!==!0&&a!==!0)&&(r.webkit=!0),r.opr&&(o.browser="opera",r.opera=!0),r.safari&&(r.blackberry||r.bb?(o.browser="blackberry",r.blackberry=!0):r.playbook?(o.browser="playbook",r.playbook=!0):r.android?(o.browser="android",r.android=!0):r.kindle?(o.browser="kindle",r.kindle=!0):r.silk&&(o.browser="silk",r.silk=!0)),r.name=o.browser,r.platform=o.platform,t.indexOf("electron")!==-1)r.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)r.bex=!0;else{if(window.Capacitor!==void 0?(r.capacitor=!0,r.nativeMobile=!0,r.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(r.cordova=!0,r.nativeMobile=!0,r.nativeMobileWrapper="cordova"),Ut.value===!0&&(dr={is:{...r}}),ra===!0&&r.mac===!0&&(r.desktop===!0&&r.safari===!0||r.nativeMobile===!0&&r.android!==!0&&r.ios!==!0&&r.ipad!==!0)){delete r.mac,delete r.desktop;const i=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(r,{mobile:!0,ios:!0,platform:i,[i]:!0})}r.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete r.desktop,r.mobile=!0)}return r}const la=navigator.userAgent||navigator.vendor||window.opera,hd={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Fe={userAgent:la,is:md(la),has:{touch:ra},within:{iframe:window.self!==window.top}},po={install(e){const{$q:t}=e;Ut.value===!0?(e.onSSRHydrated.push(()=>{Object.assign(t.platform,Fe),Ut.value=!1}),t.platform=l.reactive(this)):t.platform=this}};{let e;ct(Fe.has,"webStorage",()=>{if(e!==void 0)return e;try{if(window.localStorage)return e=!0,!0}catch{}return e=!1,!1}),Object.assign(po,Fe),Ut.value===!0&&(Object.assign(po,dr,hd),dr=null)}function be(e){return l.markRaw(l.defineComponent(e))}function gd(e){return l.markRaw(e)}const _o=(e,t)=>{const n=l.reactive(e);for(const o in e)ct(t,o,()=>n[o],r=>{n[o]=r});return t},Qe={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const e=Object.defineProperty({},"passive",{get(){Object.assign(Qe,{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 pn(){}function aa(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 pd(e){if(e.path)return e.path;if(e.composedPath)return e.composedPath();const t=[];let n=e.target;for(;n;){if(t.push(n),n.tagName==="HTML")return t.push(document),t.push(window),t;n=n.parentElement}}function At(e){e.stopPropagation()}function St(e){e.cancelable!==!1&&e.preventDefault()}function ze(e){e.cancelable!==!1&&e.preventDefault(),e.stopPropagation()}function fr(e,t,n){const o=`__q_${t}_evt`;e[o]=e[o]!==void 0?e[o].concat(n):n,n.forEach(r=>{r[0].addEventListener(r[1],e[r[2]],Qe[r[3]])})}function ia(e,t){const n=`__q_${t}_evt`;e[n]!==void 0&&(e[n].forEach(o=>{o[0].removeEventListener(o[1],e[o[2]],Qe[o[3]])}),e[n]=void 0)}function mr(e,t=250,n){let o=null;function r(){const a=arguments,i=()=>{o=null,e.apply(this,a)};o!==null&&clearTimeout(o),o=setTimeout(i,t)}return r.cancel=()=>{o!==null&&clearTimeout(o)},r}const hr=["sm","md","lg","xl"],{passive:sa}=Qe,_d=_o({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:pn,setDebounce:pn,install({$q:e,onSSRHydrated:t}){var c;if(e.screen=this,this.__installed===!0){e.config.screen!==void 0&&(e.config.screen.bodyClasses===!1?document.body.classList.remove(`screen--${this.name}`):this.__update(!0));return}const{visualViewport:n}=window,o=n||window,r=document.scrollingElement||document.documentElement,a=n===void 0||Fe.is.mobile===!0?()=>[Math.max(window.innerWidth,r.clientWidth),Math.max(window.innerHeight,r.clientHeight)]:()=>[n.width*n.scale+window.innerWidth-r.clientWidth,n.height*n.scale+window.innerHeight-r.clientHeight],i=((c=e.config.screen)==null?void 0:c.bodyClasses)===!0;this.__update=h=>{const[m,p]=a();if(p!==this.height&&(this.height=p),m!==this.width)this.width=m;else if(h!==!0)return;let v=this.sizes;this.gt.xs=m>=v.sm,this.gt.sm=m>=v.md,this.gt.md=m>=v.lg,this.gt.lg=m>=v.xl,this.lt.sm=m<v.sm,this.lt.md=m<v.md,this.lt.lg=m<v.lg,this.lt.xl=m<v.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,v=this.xs===!0&&"xs"||this.sm===!0&&"sm"||this.md===!0&&"md"||this.lg===!0&&"lg"||"xl",v!==this.name&&(i===!0&&(document.body.classList.remove(`screen--${this.name}`),document.body.classList.add(`screen--${v}`)),this.name=v)};let s,u={},f=16;this.setSizes=h=>{hr.forEach(m=>{h[m]!==void 0&&(u[m]=h[m])})},this.setDebounce=h=>{f=h};const d=()=>{const h=getComputedStyle(document.body);h.getPropertyValue("--q-size-sm")&&hr.forEach(m=>{this.sizes[m]=parseInt(h.getPropertyValue(`--q-size-${m}`),10)}),this.setSizes=m=>{hr.forEach(p=>{m[p]&&(this.sizes[p]=m[p])}),this.__update(!0)},this.setDebounce=m=>{s!==void 0&&o.removeEventListener("resize",s,sa),s=m>0?mr(this.__update,m):this.__update,o.addEventListener("resize",s,sa)},this.setDebounce(f),Object.keys(u).length!==0?(this.setSizes(u),u=void 0):this.__update(),i===!0&&this.name==="xs"&&document.body.classList.add("screen--xs")};Ut.value===!0?t.push(d):d()}}),et=_o({isActive:!1,mode:!1},{__media:void 0,set(e){et.mode=e,e==="auto"?(et.__media===void 0&&(et.__media=window.matchMedia("(prefers-color-scheme: dark)"),et.__updateMedia=()=>{et.set("auto")},et.__media.addListener(et.__updateMedia)),e=et.__media.matches):et.__media!==void 0&&(et.__media.removeListener(et.__updateMedia),et.__media=void 0),et.isActive=e===!0,document.body.classList.remove(`body--${e===!0?"light":"dark"}`),document.body.classList.add(`body--${e===!0?"dark":"light"}`)},toggle(){et.set(et.isActive===!1)},install({$q:e,ssrContext:t}){const{dark:n}=e.config;e.dark=this,this.__installed!==!0&&this.set(n!==void 0?n:!1)}});function bd(e,t,n=document.body){if(typeof e!="string")throw new TypeError("Expected a string as propName");if(typeof t!="string")throw new TypeError("Expected a string as value");if(!(n instanceof Element))throw new TypeError("Expected a DOM element");n.style.setProperty(`--q-${e}`,t)}let ua=!1;function vd(e){ua=e.isComposing===!0}function gr(e){return ua===!0||e!==Object(e)||e.isComposing===!0||e.qKeyEvent===!0}function Jt(e,t){return gr(e)===!0?!1:[].concat(t).includes(e.keyCode)}function ca(e){if(e.ios===!0)return"ios";if(e.android===!0)return"android"}function yd({is:e,has:t,within:n},o){const r=[e.desktop===!0?"desktop":"mobile",`${t.touch===!1?"no-":""}touch`];if(e.mobile===!0){const a=ca(e);a!==void 0&&r.push("platform-"+a)}if(e.nativeMobile===!0){const a=e.nativeMobileWrapper;r.push(a),r.push("native-mobile"),e.ios===!0&&(o[a]===void 0||o[a].iosStatusBarPadding!==!1)&&r.push("q-ios-padding")}else e.electron===!0?r.push("electron"):e.bex===!0&&r.push("bex");return n.iframe===!0&&r.push("within-iframe"),r}function Ed(){const{is:e}=Fe,t=document.body.className,n=new Set(t.replace(/ {2}/g," ").split(" "));if(e.nativeMobile!==!0&&e.electron!==!0&&e.bex!==!0){if(e.desktop===!0)n.delete("mobile"),n.delete("platform-ios"),n.delete("platform-android"),n.add("desktop");else if(e.mobile===!0){n.delete("desktop"),n.add("mobile"),n.delete("platform-ios"),n.delete("platform-android");const r=ca(e);r!==void 0&&n.add(`platform-${r}`)}}Fe.has.touch===!0&&(n.delete("no-touch"),n.add("touch")),Fe.within.iframe===!0&&n.add("within-iframe");const o=Array.from(n).join(" ");t!==o&&(document.body.className=o)}function Sd(e){for(const t in e)bd(t,e[t])}const Cd={install(e){if(this.__installed!==!0){if(Ut.value===!0)Ed();else{const{$q:t}=e;t.config.brand!==void 0&&Sd(t.config.brand);const n=yd(Fe,t.config);document.body.classList.add.apply(document.body.classList,n)}Fe.is.ios===!0&&document.body.addEventListener("touchstart",pn),window.addEventListener("keydown",vd,!0)}}},da=()=>!0;function kd(e){return typeof e=="string"&&e!==""&&e!=="/"&&e!=="#/"}function wd(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 Td(e){if(e.backButtonExit===!1)return()=>!1;if(e.backButtonExit==="*")return da;const t=["#/"];return Array.isArray(e.backButtonExit)===!0&&t.push(...e.backButtonExit.filter(kd).map(wd)),()=>t.includes(window.location.hash)}const $n={__history:[],add:pn,remove:pn,install({$q:e}){if(this.__installed===!0)return;const{cordova:t,capacitor:n}=Fe.is;if(t!==!0&&n!==!0)return;const o=e.config[t===!0?"cordova":"capacitor"];if((o==null?void 0:o.backButton)===!1||n===!0&&(window.Capacitor===void 0||window.Capacitor.Plugins.App===void 0))return;this.add=i=>{i.condition===void 0&&(i.condition=da),this.__history.push(i)},this.remove=i=>{const s=this.__history.indexOf(i);s>=0&&this.__history.splice(s,1)};const r=Td(Object.assign({backButtonExit:!0},o)),a=()=>{if(this.__history.length){const i=this.__history[this.__history.length-1];i.condition()===!0&&(this.__history.pop(),i.handler())}else r()===!0?navigator.app.exitApp():window.history.back()};t===!0?document.addEventListener("deviceready",()=>{document.addEventListener("backbutton",a,!1)}):window.Capacitor.Plugins.App.addListener("backButton",a)}},pr={isoName:"en-US",nativeName:"English (US)",label:{clear:"Clear",ok:"OK",cancel:"Cancel",close:"Close",set:"Set",select:"Select",reset:"Reset",remove:"Remove",update:"Update",create:"Create",search:"Search",filter:"Filter",refresh:"Refresh",expand:e=>e?`Expand "${e}"`:"Expand",collapse:e=>e?`Collapse "${e}"`:"Collapse"},date:{days:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),daysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),firstDayOfWeek:0,format24h:!1,pluralDay:"days",prevMonth:"Previous month",nextMonth:"Next month",prevYear:"Previous year",nextYear:"Next year",today:"Today",prevRangeYears:e=>`Previous ${e} years`,nextRangeYears:e=>`Next ${e} years`},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:e=>e===1?"1 record selected.":(e===0?"No":e)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(e,t,n)=>e+"-"+t+" of "+n,columns:"Columns"},pagination:{first:"First page",prev:"Previous page",next:"Next page",last:"Last page"},editor:{url:"URL",bold:"Bold",italic:"Italic",strikethrough:"Strikethrough",underline:"Underline",unorderedList:"Unordered List",orderedList:"Ordered List",subscript:"Subscript",superscript:"Superscript",hyperlink:"Hyperlink",toggleFullscreen:"Toggle Fullscreen",quote:"Quote",left:"Left align",center:"Center align",right:"Right align",justify:"Justify align",print:"Print",outdent:"Decrease indentation",indent:"Increase indentation",removeFormat:"Remove formatting",formatting:"Formatting",fontSize:"Font Size",align:"Align",hr:"Insert Horizontal Rule",undo:"Undo",redo:"Redo",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",heading4:"Heading 4",heading5:"Heading 5",heading6:"Heading 6",paragraph:"Paragraph",code:"Code",size1:"Very small",size2:"A bit small",size3:"Normal",size4:"Medium-large",size5:"Big",size6:"Very big",size7:"Maximum",defaultFont:"Default Font",viewSource:"View Source"},tree:{noNodes:"No nodes available",noResults:"No matching nodes found"}};function fa(){const e=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof e=="string")return e.split(/[-_]/).map((t,n)=>n===0?t.toLowerCase():n>1||t.length<4?t.toUpperCase():t[0].toUpperCase()+t.slice(1).toLowerCase()).join("-")}const Dt=_o({__qLang:{}},{getLocale:fa,set(e=pr,t){const n={...e,rtl:e.rtl===!0,getLocale:fa};{if(n.set=Dt.set,Dt.__langConfig===void 0||Dt.__langConfig.noHtmlAttrs!==!0){const o=document.documentElement;o.setAttribute("dir",n.rtl===!0?"rtl":"ltr"),o.setAttribute("lang",n.isoName)}Object.assign(Dt.__qLang,n)}},install({$q:e,lang:t,ssrContext:n}){e.lang=Dt.__qLang,Dt.__langConfig=e.config.lang,this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(r=>r!=="set"&&r!=="getLocale")}}),this.set(t||pr))}}),Od={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"}},bo=_o({iconMapFn:null,__qIconSet:{}},{set(e,t){const n={...e};n.set=bo.set,Object.assign(bo.__qIconSet,n)},install({$q:e,iconSet:t,ssrContext:n}){e.config.iconMapFn!==void 0&&(this.iconMapFn=e.config.iconMapFn),e.iconSet=this.__qIconSet,ct(e,"iconMapFn",()=>this.iconMapFn,o=>{this.iconMapFn=o}),this.__installed===!0?t!==void 0&&this.set(t):(this.props=new Proxy(this.__qIconSet,{get(){return Reflect.get(...arguments)},ownKeys(o){return Reflect.ownKeys(o).filter(r=>r!=="set")}}),this.set(t||Od))}}),Ad="_q_",Dd="_q_fo_",vo={};let ma=!1;function Id(){ma=!0}function Vt(e,t){if(e===t)return!0;if(e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,o;if(e.constructor===Array){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(Vt(e[o],t[o])!==!0)return!1;return!0}if(e.constructor===Map){if(e.size!==t.size)return!1;let a=e.entries();for(o=a.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=a.next()}for(a=e.entries(),o=a.next();o.done!==!0;){if(Vt(o.value[1],t.get(o.value[0]))!==!0)return!1;o=a.next()}return!0}if(e.constructor===Set){if(e.size!==t.size)return!1;const a=e.entries();for(o=a.next();o.done!==!0;){if(t.has(o.value[0])!==!0)return!1;o=a.next()}return!0}if(e.buffer!=null&&e.buffer.constructor===ArrayBuffer){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(e[o]!==t[o])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();const r=Object.keys(e).filter(a=>e[a]!==void 0);if(n=r.length,n!==Object.keys(t).filter(a=>t[a]!==void 0).length)return!1;for(o=n;o--!==0;){const a=r[o];if(Vt(e[a],t[a])!==!0)return!1}return!0}return e!==e&&t!==t}function _r(e){return e!==null&&typeof e=="object"&&Array.isArray(e)!==!0}function yo(e){return Object.prototype.toString.call(e)==="[object Date]"}function br(e){return typeof e=="number"&&isFinite(e)}const ha=[po,Cd,et,_d,$n,Dt,bo];function ga(e,t){t.forEach(n=>{n.install(e),n.__installed=!0})}function Nd(e,t,n){e.config.globalProperties.$q=n.$q,e.provide(Ad,n.$q),ga(n,ha),t.components!==void 0&&Object.values(t.components).forEach(o=>{_r(o)===!0&&o.name!==void 0&&e.component(o.name,o)}),t.directives!==void 0&&Object.values(t.directives).forEach(o=>{_r(o)===!0&&o.name!==void 0&&e.directive(o.name,o)}),t.plugins!==void 0&&ga(n,Object.values(t.plugins).filter(o=>typeof o.install=="function"&&ha.includes(o)===!1)),Ut.value===!0&&(n.$q.onSSRHydrated=()=>{n.onSSRHydrated.forEach(o=>{o()}),n.$q.onSSRHydrated=()=>{}})}const xd={name:"Quasar",version:"2.18.1",install:function(e,t={}){const n={version:"2.18.1"};ma===!1?(t.config!==void 0&&Object.assign(vo,t.config),n.config={...vo},Id()):n.config=t.config||{},Nd(e,t,{parentApp:e,$q:n,lang:t.lang,iconSet:t.iconSet,onSSRHydrated:[]})},lang:Dt,iconSet:bo},dt={dark:{type:Boolean,default:null}};function ft(e,t){return l.computed(()=>e.dark===null?t.dark.isActive:e.dark)}const Pd={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},vr={xs:2,sm:4,md:8,lg:16,xl:24},pa=be({name:"QSeparator",props:{...dt,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(e){const t=l.getCurrentInstance(),n=ft(e,t.proxy.$q),o=l.computed(()=>e.vertical===!0?"vertical":"horizontal"),r=l.computed(()=>` q-separator--${o.value}`),a=l.computed(()=>e.inset!==!1?`${r.value}-${Pd[e.inset]}`:""),i=l.computed(()=>`q-separator${r.value}${a.value}`+(e.color!==void 0?` bg-${e.color}`:"")+(n.value===!0?" q-separator--dark":"")),s=l.computed(()=>{const u={};if(e.size!==void 0&&(u[e.vertical===!0?"width":"height"]=e.size),e.spaced!==!1){const f=e.spaced===!0?`${vr.md}px`:e.spaced in vr?`${vr[e.spaced]}px`:e.spaced,d=e.vertical===!0?["Left","Right"]:["Top","Bottom"];u[`margin${d[0]}`]=u[`margin${d[1]}`]=f}return u});return()=>l.h("hr",{class:i.value,style:s.value,"aria-orientation":o.value})}}),yr={xs:18,sm:24,md:32,lg:38,xl:46},Un={size:String};function Hn(e,t=yr){return l.computed(()=>e.size!==void 0?{fontSize:e.size in t?`${t[e.size]}px`:e.size}:null)}function ke(e,t){return e!==void 0&&e()||t}function _a(e,t){if(e!==void 0){const n=e();if(n!=null)return n.slice()}return t}function Rt(e,t){return e!==void 0?t.concat(e()):t}function Ld(e,t){return e===void 0?t:t!==void 0?t.concat(e()):e()}function Vd(e,t,n,o,r,a){t.key=o+r;const i=l.h(e,t,n);return r===!0?l.withDirectives(i,a()):i}const ba="0 0 24 24",Er=e=>e,Sr=e=>`ionicons ${e}`,va={"mdi-":e=>`mdi ${e}`,"icon-":Er,"bt-":e=>`bt ${e}`,"eva-":e=>`eva ${e}`,"ion-md":Sr,"ion-ios":Sr,"ion-logo":Sr,"iconfont ":Er,"ti-":e=>`themify-icon ${e}`,"bi-":e=>`bootstrap-icons ${e}`,"i-":Er},ya={o_:"-outlined",r_:"-round",s_:"-sharp"},Ea={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Rd=new RegExp("^("+Object.keys(va).join("|")+")"),Md=new RegExp("^("+Object.keys(ya).join("|")+")"),Sa=new RegExp("^("+Object.keys(Ea).join("|")+")"),Bd=/^[Mm]\s?[-+]?\.?\d/,Fd=/^img:/,qd=/^svguse:/,$d=/^ion-/,Ud=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,Ve=be({name:"QIcon",props:{...Un,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=l.getCurrentInstance(),o=Hn(e),r=l.computed(()=>"q-icon"+(e.left===!0?" on-left":"")+(e.right===!0?" on-right":"")+(e.color!==void 0?` text-${e.color}`:"")),a=l.computed(()=>{let i,s=e.name;if(s==="none"||!s)return{none:!0};if(n.iconMapFn!==null){const d=n.iconMapFn(s);if(d!==void 0)if(d.icon!==void 0){if(s=d.icon,s==="none"||!s)return{none:!0}}else return{cls:d.cls,content:d.content!==void 0?d.content:" "}}if(Bd.test(s)===!0){const[d,c=ba]=s.split("|");return{svg:!0,viewBox:c,nodes:d.split("&&").map(h=>{const[m,p,v]=h.split("@@");return l.h("path",{style:p,d:m,transform:v})})}}if(Fd.test(s)===!0)return{img:!0,src:s.substring(4)};if(qd.test(s)===!0){const[d,c=ba]=s.split("|");return{svguse:!0,src:d.substring(7),viewBox:c}}let u=" ";const f=s.match(Rd);if(f!==null)i=va[f[1]](s);else if(Ud.test(s)===!0)i=s;else if($d.test(s)===!0)i=`ionicons ion-${n.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(Sa.test(s)===!0){i="notranslate material-symbols";const d=s.match(Sa);d!==null&&(s=s.substring(6),i+=Ea[d[1]]),u=s}else{i="notranslate material-icons";const d=s.match(Md);d!==null&&(s=s.substring(2),i+=ya[d[1]]),u=s}return{cls:i,content:u}});return()=>{const i={class:r.value,style:o.value,"aria-hidden":"true"};return a.value.none===!0?l.h(e.tag,i,ke(t.default)):a.value.img===!0?l.h(e.tag,i,Rt(t.default,[l.h("img",{src:a.value.src})])):a.value.svg===!0?l.h(e.tag,i,Rt(t.default,[l.h("svg",{viewBox:a.value.viewBox||"0 0 24 24"},a.value.nodes)])):a.value.svguse===!0?l.h(e.tag,i,Rt(t.default,[l.h("svg",{viewBox:a.value.viewBox},[l.h("use",{"xlink:href":a.value.src})])])):(a.value.cls!==void 0&&(i.class+=" "+a.value.cls),l.h(e.tag,i,Rt(t.default,[a.value.content])))}}}),Cr=be({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(e,{slots:t,emit:n}){const o=l.getCurrentInstance(),{proxy:{$q:r}}=o,a=i=>{n("click",i)};return()=>{if(e.props===void 0)return l.h("th",{class:e.autoWidth===!0?"q-table--col-auto-width":"",onClick:a},ke(t.default));let i,s;const u=o.vnode.key;if(u){if(i=e.props.colsMap[u],i===void 0)return}else i=e.props.col;if(i.sortable===!0){const d=i.align==="right"?"unshift":"push";s=_a(t.default,[]),s[d](l.h(Ve,{class:i.__iconClass,name:r.iconSet.table.arrowUp}))}else s=ke(t.default);const f={class:i.__thClass+(e.autoWidth===!0?" q-table--col-auto-width":""),style:i.headerStyle,onClick:d=>{i.sortable===!0&&e.props.sort(i),a(d)}};return l.h("th",f,s)}}}),Hd=["ul","ol"],Ca=be({name:"QList",props:{...dt,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(e,{slots:t}){const n=l.getCurrentInstance(),o=ft(e,n.proxy.$q),r=l.computed(()=>Hd.includes(e.tag)?null:"list"),a=l.computed(()=>"q-list"+(e.bordered===!0?" q-list--bordered":"")+(e.dense===!0?" q-list--dense":"")+(e.separator===!0?" q-list--separator":"")+(o.value===!0?" q-list--dark":"")+(e.padding===!0?" q-list--padding":""));return()=>l.h(e.tag,{class:a.value,role:r.value},ke(t.default))}}),zd=["horizontal","vertical","cell","none"],ka=be({name:"QMarkupTable",props:{...dt,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:e=>zd.includes(e)}},setup(e,{slots:t}){const n=l.getCurrentInstance(),o=ft(e,n.proxy.$q),r=l.computed(()=>`q-markup-table q-table__container q-table__card q-table--${e.separator}-separator`+(o.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(e.dense===!0?" q-table--dense":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")+(e.square===!0?" q-table--square":"")+(e.wrapCells===!1?" q-table--no-wrap":""));return()=>l.h("div",{class:r.value},[l.h("table",{class:"q-table"},ke(t.default))])}});function wa(e,t){return l.h("div",e,[l.h("table",{class:"q-table"},t)])}let Eo=!1;{const e=document.createElement("div");e.setAttribute("dir","rtl"),Object.assign(e.style,{width:"1px",height:"1px",overflow:"auto"});const t=document.createElement("div");Object.assign(t.style,{width:"1000px",height:"1px"}),document.body.appendChild(e),e.appendChild(t),e.scrollLeft=-1e3,Eo=e.scrollLeft>=0,e.remove()}const Ct=1e3,jd=["start","center","end","start-force","center-force","end-force"],Ta=Array.prototype.filter,Kd=window.getComputedStyle(document.body).overflowAnchor===void 0?pn:function(e,t){e!==null&&(e._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(e._qOverflowAnimationFrame),e._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(e===null)return;e._qOverflowAnimationFrame=void 0;const n=e.children||[];Ta.call(n,r=>r.dataset&&r.dataset.qVsAnchor!==void 0).forEach(r=>{delete r.dataset.qVsAnchor});const o=n[t];o!=null&&o.dataset&&(o.dataset.qVsAnchor="")}))};function _n(e,t){return e+t}function kr(e,t,n,o,r,a,i,s){const u=e===window?document.scrollingElement||document.documentElement:e,f=r===!0?"offsetWidth":"offsetHeight",d={scrollStart:0,scrollViewSize:-i-s,scrollMaxSize:0,offsetStart:-i,offsetEnd:-s};if(r===!0?(e===window?(d.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,d.scrollViewSize+=document.documentElement.clientWidth):(d.scrollStart=u.scrollLeft,d.scrollViewSize+=u.clientWidth),d.scrollMaxSize=u.scrollWidth,a===!0&&(d.scrollStart=(Eo===!0?d.scrollMaxSize-d.scrollViewSize:0)-d.scrollStart)):(e===window?(d.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,d.scrollViewSize+=document.documentElement.clientHeight):(d.scrollStart=u.scrollTop,d.scrollViewSize+=u.clientHeight),d.scrollMaxSize=u.scrollHeight),n!==null)for(let c=n.previousElementSibling;c!==null;c=c.previousElementSibling)c.classList.contains("q-virtual-scroll--skip")===!1&&(d.offsetStart+=c[f]);if(o!==null)for(let c=o.nextElementSibling;c!==null;c=c.nextElementSibling)c.classList.contains("q-virtual-scroll--skip")===!1&&(d.offsetEnd+=c[f]);if(t!==e){const c=u.getBoundingClientRect(),h=t.getBoundingClientRect();r===!0?(d.offsetStart+=h.left-c.left,d.offsetEnd-=h.width):(d.offsetStart+=h.top-c.top,d.offsetEnd-=h.height),e!==window&&(d.offsetStart+=d.scrollStart),d.offsetEnd+=d.scrollMaxSize-d.offsetStart}return d}function Oa(e,t,n,o){t==="end"&&(t=(e===window?document.body:e)[n===!0?"scrollWidth":"scrollHeight"]),e===window?n===!0?(o===!0&&(t=(Eo===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-t),window.scrollTo(t,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,t):n===!0?(o===!0&&(t=(Eo===!0?e.scrollWidth-e.offsetWidth:0)-t),e.scrollLeft=t):e.scrollTop=t}function zn(e,t,n,o){if(n>=o)return 0;const r=t.length,a=Math.floor(n/Ct),i=Math.floor((o-1)/Ct)+1;let s=e.slice(a,i).reduce(_n,0);return n%Ct!==0&&(s-=t.slice(a*Ct,n).reduce(_n,0)),o%Ct!==0&&o!==r&&(s-=t.slice(o,i*Ct).reduce(_n,0)),s}const Aa={virtualScrollSliceSize:{type:[Number,String],default:10},virtualScrollSliceRatioBefore:{type:[Number,String],default:1},virtualScrollSliceRatioAfter:{type:[Number,String],default:1},virtualScrollItemSize:{type:[Number,String],default:24},virtualScrollStickySizeStart:{type:[Number,String],default:0},virtualScrollStickySizeEnd:{type:[Number,String],default:0},tableColspan:[Number,String]},Da=Object.keys(Aa),wr={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Aa};function Ia({virtualScrollLength:e,getVirtualScrollTarget:t,getVirtualScrollEl:n,virtualScrollItemSizeComputed:o}){const r=l.getCurrentInstance(),{props:a,emit:i,proxy:s}=r,{$q:u}=s;let f,d,c,h=[],m;const p=l.ref(0),v=l.ref(0),_=l.ref({}),g=l.ref(null),b=l.ref(null),S=l.ref(null),y=l.ref({from:0,to:0}),A=l.computed(()=>a.tableColspan!==void 0?a.tableColspan:100);o===void 0&&(o=l.computed(()=>a.virtualScrollItemSize));const I=l.computed(()=>o.value+";"+a.virtualScrollHorizontal),T=l.computed(()=>I.value+";"+a.virtualScrollSliceRatioBefore+";"+a.virtualScrollSliceRatioAfter);l.watch(T,()=>{W()}),l.watch(I,M);function M(){ne(d,!0)}function N(O){ne(O===void 0?d:O)}function P(O,w){const j=t();if(j==null||j.nodeType===8)return;const le=kr(j,n(),g.value,b.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd);c!==le.scrollViewSize&&W(le.scrollViewSize),D(j,le,Math.min(e.value-1,Math.max(0,parseInt(O,10)||0)),0,jd.indexOf(w)!==-1?w:d!==-1&&O>d?"end":"start")}function F(){const O=t();if(O==null||O.nodeType===8)return;const w=kr(O,n(),g.value,b.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd),j=e.value-1,le=w.scrollMaxSize-w.offsetStart-w.offsetEnd-v.value;if(f===w.scrollStart)return;if(w.scrollMaxSize<=0){D(O,w,0,0);return}c!==w.scrollViewSize&&W(w.scrollViewSize),K(y.value.from);const se=Math.floor(w.scrollMaxSize-Math.max(w.scrollViewSize,w.offsetEnd)-Math.min(m[j],w.scrollViewSize/2));if(se>0&&Math.ceil(w.scrollStart)>=se){D(O,w,j,w.scrollMaxSize-w.offsetEnd-h.reduce(_n,0));return}let U=0,G=w.scrollStart-w.offsetStart,ge=G;if(G<=le&&G+w.scrollViewSize>=p.value)G-=p.value,U=y.value.from,ge=G;else for(let z=0;G>=h[z]&&U<j;z++)G-=h[z],U+=Ct;for(;G>0&&U<j;)G-=m[U],G>-w.scrollViewSize?(U++,ge=G):ge=m[U]+G;D(O,w,U,ge)}function D(O,w,j,le,se){const U=typeof se=="string"&&se.indexOf("-force")!==-1,G=U===!0?se.replace("-force",""):se,ge=G!==void 0?G:"start";let z=Math.max(0,j-_.value[ge]),Ee=z+_.value.total;Ee>e.value&&(Ee=e.value,z=Math.max(0,Ee-_.value.total)),f=w.scrollStart;const xe=z!==y.value.from||Ee!==y.value.to;if(xe===!1&&G===void 0){H(j);return}const{activeElement:vt}=document,Le=S.value;xe===!0&&Le!==null&&Le!==vt&&Le.contains(vt)===!0&&(Le.addEventListener("focusout",V),setTimeout(()=>{Le==null||Le.removeEventListener("focusout",V)})),Kd(Le,j-z);const ut=G!==void 0?m.slice(z,j).reduce(_n,0):0;if(xe===!0){const We=Ee>=y.value.from&&z<=y.value.to?y.value.to:Ee;y.value={from:z,to:We},p.value=zn(h,m,0,z),v.value=zn(h,m,Ee,e.value),requestAnimationFrame(()=>{y.value.to!==Ee&&f===w.scrollStart&&(y.value={from:y.value.from,to:Ee},v.value=zn(h,m,Ee,e.value))})}requestAnimationFrame(()=>{if(f!==w.scrollStart)return;xe===!0&&K(z);const We=m.slice(z,j).reduce(_n,0),Ze=We+w.offsetStart+p.value,yt=Ze+m[j];let E=Ze+le;if(G!==void 0){const k=We-ut,R=w.scrollStart+k;E=U!==!0&&R<Ze&&yt<R+w.scrollViewSize?R:G==="end"?yt-w.scrollViewSize:Ze-(G==="start"?0:Math.round((w.scrollViewSize-m[j])/2))}f=E,Oa(O,E,a.virtualScrollHorizontal,u.lang.rtl),H(j)})}function K(O){const w=S.value;if(w){const j=Ta.call(w.children,z=>z.classList&&z.classList.contains("q-virtual-scroll--skip")===!1),le=j.length,se=a.virtualScrollHorizontal===!0?z=>z.getBoundingClientRect().width:z=>z.offsetHeight;let U=O,G,ge;for(let z=0;z<le;){for(G=se(j[z]),z++;z<le&&j[z].classList.contains("q-virtual-scroll--with-prev")===!0;)G+=se(j[z]),z++;ge=G-m[U],ge!==0&&(m[U]+=ge,h[Math.floor(U/Ct)]+=ge),U++}}}function V(){var O;(O=S.value)==null||O.focus()}function ne(O,w){const j=1*o.value;(w===!0||Array.isArray(m)===!1)&&(m=[]);const le=m.length;m.length=e.value;for(let U=e.value-1;U>=le;U--)m[U]=j;const se=Math.floor((e.value-1)/Ct);h=[];for(let U=0;U<=se;U++){let G=0;const ge=Math.min((U+1)*Ct,e.value);for(let z=U*Ct;z<ge;z++)G+=m[z];h.push(G)}d=-1,f=void 0,p.value=zn(h,m,0,y.value.from),v.value=zn(h,m,y.value.to,e.value),O>=0?(K(y.value.from),l.nextTick(()=>{P(O)})):Q()}function W(O){if(O===void 0&&typeof window<"u"){const G=t();G!=null&&G.nodeType!==8&&(O=kr(G,n(),g.value,b.value,a.virtualScrollHorizontal,u.lang.rtl,a.virtualScrollStickySizeStart,a.virtualScrollStickySizeEnd).scrollViewSize)}c=O;const w=parseFloat(a.virtualScrollSliceRatioBefore)||0,j=parseFloat(a.virtualScrollSliceRatioAfter)||0,le=1+w+j,se=O===void 0||O<=0?1:Math.ceil(O/o.value),U=Math.max(1,se,Math.ceil((a.virtualScrollSliceSize>0?a.virtualScrollSliceSize:10)/le));_.value={total:Math.ceil(U*le),start:Math.ceil(U*w),center:Math.ceil(U*(.5+w)),end:Math.ceil(U*(1+w)),view:se}}function $(O,w){const j=a.virtualScrollHorizontal===!0?"width":"height",le={["--q-virtual-scroll-item-"+j]:o.value+"px"};return[O==="tbody"?l.h(O,{class:"q-virtual-scroll__padding",key:"before",ref:g},[l.h("tr",[l.h("td",{style:{[j]:`${p.value}px`,...le},colspan:A.value})])]):l.h(O,{class:"q-virtual-scroll__padding",key:"before",ref:g,style:{[j]:`${p.value}px`,...le}}),l.h(O,{class:"q-virtual-scroll__content",key:"content",ref:S,tabindex:-1},w.flat()),O==="tbody"?l.h(O,{class:"q-virtual-scroll__padding",key:"after",ref:b},[l.h("tr",[l.h("td",{style:{[j]:`${v.value}px`,...le},colspan:A.value})])]):l.h(O,{class:"q-virtual-scroll__padding",key:"after",ref:b,style:{[j]:`${v.value}px`,...le}})]}function H(O){d!==O&&(a.onVirtualScroll!==void 0&&i("virtualScroll",{index:O,from:y.value.from,to:y.value.to-1,direction:O<d?"decrease":"increase",ref:s}),d=O)}W();const Q=mr(F,u.platform.is.ios===!0?120:35);l.onBeforeMount(()=>{W()});let oe=!1;return l.onDeactivated(()=>{oe=!0}),l.onActivated(()=>{if(oe!==!0)return;const O=t();f!==void 0&&O!==void 0&&O!==null&&O.nodeType!==8?Oa(O,f,a.virtualScrollHorizontal,u.lang.rtl):P(d)}),l.onBeforeUnmount(()=>{Q.cancel()}),Object.assign(s,{scrollTo:P,reset:M,refresh:N}),{virtualScrollSliceRange:y,virtualScrollSliceSizeComputed:_,setVirtualScrollSize:W,onVirtualScrollEvt:Q,localResetVirtualScroll:ne,padVirtualScroll:$,scrollTo:P,reset:M,refresh:N}}function Tr(e,t){const n=e.style;for(const o in t)n[o]=t[o]}function Wd(e){if(e==null)return;if(typeof e=="string")try{return document.querySelector(e)||void 0}catch{return}const t=l.unref(e);if(t)return t.$el||t}function Na(e,t){if(e==null||e.contains(t)===!0)return!0;for(let n=e.nextElementSibling;n!==null;n=n.nextElementSibling)if(n.contains(t))return!0;return!1}const xa=[Element,String],Yd=[null,document,document.body,document.scrollingElement,document.documentElement];function Pa(e,t){let n=Wd(t);if(n===void 0){if(e==null)return window;n=e.closest(".scroll,.scroll-y,.overflow-auto")}return Yd.includes(n)?window:n}function Gd(e){return e===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:e.scrollTop}function Qd(e){return e===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:e.scrollLeft}let So;function Xd(){if(So!==void 0)return So;const e=document.createElement("p"),t=document.createElement("div");Tr(e,{width:"100%",height:"200px"}),Tr(t,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);const n=e.offsetWidth;t.style.overflow="scroll";let o=e.offsetWidth;return n===o&&(o=t.clientWidth),t.remove(),So=n-o,So}function Zd(e,t=!0){return!e||e.nodeType!==Node.ELEMENT_NODE?!1:t?e.scrollHeight>e.clientHeight&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-y"])):e.scrollWidth>e.clientWidth&&(e.classList.contains("scroll")||e.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(e)["overflow-x"]))}const Jd={list:Ca,table:ka},ef=["list","table","__qtable"],tf=be({name:"QVirtualScroll",props:{...wr,type:{type:String,default:"list",validator:e=>ef.includes(e)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:xa},setup(e,{slots:t,attrs:n}){let o;const r=l.ref(null),a=l.computed(()=>e.itemsSize>=0&&e.itemsFn!==void 0?parseInt(e.itemsSize,10):Array.isArray(e.items)?e.items.length:0),{virtualScrollSliceRange:i,localResetVirtualScroll:s,padVirtualScroll:u,onVirtualScrollEvt:f}=Ia({virtualScrollLength:a,getVirtualScrollTarget:p,getVirtualScrollEl:m}),d=l.computed(()=>{if(a.value===0)return[];const b=(S,y)=>({index:i.value.from+y,item:S});return e.itemsFn===void 0?e.items.slice(i.value.from,i.value.to).map(b):e.itemsFn(i.value.from,i.value.to-i.value.from).map(b)}),c=l.computed(()=>"q-virtual-scroll q-virtual-scroll"+(e.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(e.scrollTarget!==void 0?"":" scroll")),h=l.computed(()=>e.scrollTarget!==void 0?{}:{tabindex:0});l.watch(a,()=>{s()}),l.watch(()=>e.scrollTarget,()=>{_(),v()});function m(){return r.value.$el||r.value}function p(){return o}function v(){o=Pa(m(),e.scrollTarget),o.addEventListener("scroll",f,Qe.passive)}function _(){o!==void 0&&(o.removeEventListener("scroll",f,Qe.passive),o=void 0)}function g(){let b=u(e.type==="list"?"div":"tbody",d.value.map(t.default));return t.before!==void 0&&(b=t.before().concat(b)),Rt(t.after,b)}return l.onBeforeMount(()=>{s()}),l.onMounted(()=>{v()}),l.onActivated(()=>{v()}),l.onDeactivated(()=>{_()}),l.onBeforeUnmount(()=>{_()}),()=>{if(t.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return e.type==="__qtable"?wa({ref:r,class:"q-table__middle "+c.value},g()):l.h(Jd[e.type],{...n,ref:r,class:[n.class,c.value],...h.value},g)}}}),nf={size:{type:[String,Number],default:"1em"},color:String};function of(e){return{cSize:l.computed(()=>e.size in yr?`${yr[e.size]}px`:e.size),classes:l.computed(()=>"q-spinner"+(e.color?` text-${e.color}`:""))}}const La=be({name:"QSpinner",props:{...nf,thickness:{type:Number,default:5}},setup(e){const{cSize:t,classes:n}=of(e);return()=>l.h("svg",{class:n.value+" q-spinner-mat",width:t.value,height:t.value,viewBox:"25 25 50 50"},[l.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e.thickness,"stroke-miterlimit":"10"})])}});let Or,Co=0;const Xe=new Array(256);for(let e=0;e<256;e++)Xe[e]=(e+256).toString(16).substring(1);const rf=(()=>{const e=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(e!==void 0){if(e.randomBytes!==void 0)return e.randomBytes;if(e.getRandomValues!==void 0)return t=>{const n=new Uint8Array(t);return e.getRandomValues(n),n}}return t=>{const n=[];for(let o=t;o>0;o--)n.push(Math.floor(Math.random()*256));return n}})(),Va=4096;function Ar(){(Or===void 0||Co+16>Va)&&(Co=0,Or=rf(Va));const e=Array.prototype.slice.call(Or,Co,Co+=16);return e[6]=e[6]&15|64,e[8]=e[8]&63|128,Xe[e[0]]+Xe[e[1]]+Xe[e[2]]+Xe[e[3]]+"-"+Xe[e[4]]+Xe[e[5]]+"-"+Xe[e[6]]+Xe[e[7]]+"-"+Xe[e[8]]+Xe[e[9]]+"-"+Xe[e[10]]+Xe[e[11]]+Xe[e[12]]+Xe[e[13]]+Xe[e[14]]+Xe[e[15]]}function lf(e){return e??null}function Ra(e,t){return e??(t===!0?`f_${Ar()}`:null)}function af({getValue:e,required:t=!0}={}){if(Ut.value===!0){const n=e!==void 0?l.ref(lf(e())):l.ref(null);return t===!0&&n.value===null&&l.onMounted(()=>{n.value=`f_${Ar()}`}),e!==void 0&&l.watch(e,o=>{n.value=Ra(o,t)}),n}return e!==void 0?l.computed(()=>Ra(e(),t)):l.ref(`f_${Ar()}`)}const Ma=/^on[A-Z]/;function sf(){const{attrs:e,vnode:t}=l.getCurrentInstance(),n={listeners:l.ref({}),attributes:l.ref({})};function o(){const r={},a={};for(const i in e)i!=="class"&&i!=="style"&&Ma.test(i)===!1&&(r[i]=e[i]);for(const i in t.props)Ma.test(i)===!0&&(a[i]=t.props[i]);n.attributes.value=r,n.listeners.value=a}return l.onBeforeUpdate(o),o(),n}function uf({validate:e,resetValidation:t,requiresQForm:n}){const o=l.inject(Dd,!1);if(o!==!1){const{props:r,proxy:a}=l.getCurrentInstance();Object.assign(a,{validate:e,resetValidation:t}),l.watch(()=>r.disable,i=>{i===!0?(typeof t=="function"&&t(),o.unbindComponent(a)):o.bindComponent(a)}),l.onMounted(()=>{r.disable!==!0&&o.bindComponent(a)}),l.onBeforeUnmount(()=>{r.disable!==!0&&o.unbindComponent(a)})}else n===!0&&console.error("Parent QForm not found on useFormChild()!")}const Ba=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Fa=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,qa=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,ko=/^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])\)$/,wo=/^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)\)$/,Dr={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=>Ba.test(e),hexaColor:e=>Fa.test(e),hexOrHexaColor:e=>qa.test(e),rgbColor:e=>ko.test(e),rgbaColor:e=>wo.test(e),rgbOrRgbaColor:e=>ko.test(e)||wo.test(e),hexOrRgbColor:e=>Ba.test(e)||ko.test(e),hexaOrRgbaColor:e=>Fa.test(e)||wo.test(e),anyColor:e=>qa.test(e)||ko.test(e)||wo.test(e)},cf=[!0,!1,"ondemand"],df={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:e=>cf.includes(e)}};function ff(e,t){const{props:n,proxy:o}=l.getCurrentInstance(),r=l.ref(!1),a=l.ref(null),i=l.ref(!1);uf({validate:v,resetValidation:p});let s=0,u;const f=l.computed(()=>n.rules!==void 0&&n.rules!==null&&n.rules.length!==0),d=l.computed(()=>n.disable!==!0&&f.value===!0&&t.value===!1),c=l.computed(()=>n.error===!0||r.value===!0),h=l.computed(()=>typeof n.errorMessage=="string"&&n.errorMessage.length!==0?n.errorMessage:a.value);l.watch(()=>n.modelValue,()=>{i.value=!0,d.value===!0&&n.lazyRules===!1&&_()});function m(){n.lazyRules!=="ondemand"&&d.value===!0&&i.value===!0&&_()}l.watch(()=>n.reactiveRules,g=>{g===!0?u===void 0&&(u=l.watch(()=>n.rules,m,{immediate:!0,deep:!0})):u!==void 0&&(u(),u=void 0)},{immediate:!0}),l.watch(()=>n.lazyRules,m),l.watch(e,g=>{g===!0?i.value=!0:d.value===!0&&n.lazyRules!=="ondemand"&&_()});function p(){s++,t.value=!1,i.value=!1,r.value=!1,a.value=null,_.cancel()}function v(g=n.modelValue){if(n.disable===!0||f.value===!1)return!0;const b=++s,S=t.value!==!0?()=>{i.value=!0}:()=>{},y=(I,T)=>{I===!0&&S(),r.value=I,a.value=T||null,t.value=!1},A=[];for(let I=0;I<n.rules.length;I++){const T=n.rules[I];let M;if(typeof T=="function"?M=T(g,Dr):typeof T=="string"&&Dr[T]!==void 0&&(M=Dr[T](g)),M===!1||typeof M=="string")return y(!0,M),!1;M!==!0&&M!==void 0&&A.push(M)}return A.length===0?(y(!1),!0):(t.value=!0,Promise.all(A).then(I=>{if(I===void 0||Array.isArray(I)===!1||I.length===0)return b===s&&y(!1),!0;const T=I.find(M=>M===!1||typeof M=="string");return b===s&&y(T!==void 0,T),T===void 0},I=>(b===s&&(console.error(I),y(!0)),!1)))}const _=mr(v,0);return l.onBeforeUnmount(()=>{u==null||u(),_.cancel()}),Object.assign(o,{resetValidation:p,validate:v}),ct(o,"hasError",()=>c.value),{isDirtyModel:i,hasRules:f,hasError:c,errorMessage:h,validate:v,resetValidation:p}}let en=[],jn=[];function $a(e){jn=jn.filter(t=>t!==e)}function mf(e){$a(e),jn.push(e)}function Ua(e){$a(e),jn.length===0&&en.length!==0&&(en[en.length-1](),en=[])}function To(e){jn.length===0?e():en.push(e)}function hf(e){en=en.filter(t=>t!==e)}function Kn(e){return e!=null&&(""+e).length!==0}const Oo={...{...dt,...df,label:String,stackLabel:Boolean,hint:String,hideHint:Boolean,prefix:String,suffix:String,labelColor:String,color:String,bgColor:String,filled:Boolean,outlined:Boolean,borderless:Boolean,standout:[Boolean,String],square:Boolean,loading:Boolean,labelSlot:Boolean,bottomSlots:Boolean,hideBottomSpace:Boolean,rounded:Boolean,dense:Boolean,itemAligned:Boolean,counter:Boolean,clearable:Boolean,clearIcon:String,disable:Boolean,readonly:Boolean,autofocus:Boolean,for:String},maxlength:[Number,String]},Ir=["update:modelValue","clear","focus","blur"];function Nr({requiredForAttr:e=!0,tagProp:t,changeEvent:n=!1}={}){const{props:o,proxy:r}=l.getCurrentInstance(),a=ft(o,r.$q),i=af({required:e,getValue:()=>o.for});return{requiredForAttr:e,changeEvent:n,tag:t===!0?l.computed(()=>o.tag):{value:"label"},isDark:a,editable:l.computed(()=>o.disable!==!0&&o.readonly!==!0),innerLoading:l.ref(!1),focused:l.ref(!1),hasPopupOpen:!1,splitAttrs:sf(),targetUid:i,rootRef:l.ref(null),targetRef:l.ref(null),controlRef:l.ref(null)}}function xr(e){const{props:t,emit:n,slots:o,attrs:r,proxy:a}=l.getCurrentInstance(),{$q:i}=a;let s=null;e.hasValue===void 0&&(e.hasValue=l.computed(()=>Kn(t.modelValue))),e.emitValue===void 0&&(e.emitValue=H=>{n("update:modelValue",H)}),e.controlEvents===void 0&&(e.controlEvents={onFocusin:N,onFocusout:P}),Object.assign(e,{clearValue:F,onControlFocusin:N,onControlFocusout:P,focus:T}),e.computedCounter===void 0&&(e.computedCounter=l.computed(()=>{if(t.counter!==!1){const H=typeof t.modelValue=="string"||typeof t.modelValue=="number"?(""+t.modelValue).length:Array.isArray(t.modelValue)===!0?t.modelValue.length:0,Q=t.maxlength!==void 0?t.maxlength:t.maxValues;return H+(Q!==void 0?" / "+Q:"")}}));const{isDirtyModel:u,hasRules:f,hasError:d,errorMessage:c,resetValidation:h}=ff(e.focused,e.innerLoading),m=e.floatingLabel!==void 0?l.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.floatingLabel.value===!0):l.computed(()=>t.stackLabel===!0||e.focused.value===!0||e.hasValue.value===!0),p=l.computed(()=>t.bottomSlots===!0||t.hint!==void 0||f.value===!0||t.counter===!0||t.error!==null),v=l.computed(()=>t.filled===!0?"filled":t.outlined===!0?"outlined":t.borderless===!0?"borderless":t.standout?"standout":"standard"),_=l.computed(()=>`q-field row no-wrap items-start q-field--${v.value}`+(e.fieldClass!==void 0?` ${e.fieldClass.value}`:"")+(t.rounded===!0?" q-field--rounded":"")+(t.square===!0?" q-field--square":"")+(m.value===!0?" q-field--float":"")+(b.value===!0?" q-field--labeled":"")+(t.dense===!0?" q-field--dense":"")+(t.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(e.isDark.value===!0?" q-field--dark":"")+(e.getControl===void 0?" q-field--auto-height":"")+(e.focused.value===!0?" q-field--focused":"")+(d.value===!0?" q-field--error":"")+(d.value===!0||e.focused.value===!0?" q-field--highlighted":"")+(t.hideBottomSpace!==!0&&p.value===!0?" q-field--with-bottom":"")+(t.disable===!0?" q-field--disabled":t.readonly===!0?" q-field--readonly":"")),g=l.computed(()=>"q-field__control relative-position row no-wrap"+(t.bgColor!==void 0?` bg-${t.bgColor}`:"")+(d.value===!0?" text-negative":typeof t.standout=="string"&&t.standout.length!==0&&e.focused.value===!0?` ${t.standout}`:t.color!==void 0?` text-${t.color}`:"")),b=l.computed(()=>t.labelSlot===!0||t.label!==void 0),S=l.computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(t.labelColor!==void 0&&d.value!==!0?` text-${t.labelColor}`:"")),y=l.computed(()=>({id:e.targetUid.value,editable:e.editable.value,focused:e.focused.value,floatingLabel:m.value,modelValue:t.modelValue,emitValue:e.emitValue})),A=l.computed(()=>{const H={};return e.targetUid.value&&(H.for=e.targetUid.value),t.disable===!0&&(H["aria-disabled"]="true"),H});function I(){var oe;const H=document.activeElement;let Q=(oe=e.targetRef)==null?void 0:oe.value;Q&&(H===null||H.id!==e.targetUid.value)&&(Q.hasAttribute("tabindex")===!0||(Q=Q.querySelector("[tabindex]")),Q!==H&&(Q==null||Q.focus({preventScroll:!0})))}function T(){To(I)}function M(){hf(I);const H=document.activeElement;H!==null&&e.rootRef.value.contains(H)&&H.blur()}function N(H){s!==null&&(clearTimeout(s),s=null),e.editable.value===!0&&e.focused.value===!1&&(e.focused.value=!0,n("focus",H))}function P(H,Q){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(e.hasPopupOpen===!0||e.controlRef===void 0||e.controlRef.value===null||e.controlRef.value.contains(document.activeElement)!==!1))&&(e.focused.value===!0&&(e.focused.value=!1,n("blur",H)),Q==null||Q())})}function F(H){var Q;ze(H),i.platform.is.mobile!==!0?(((Q=e.targetRef)==null?void 0:Q.value)||e.rootRef.value).focus():e.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),t.type==="file"&&(e.inputRef.value.value=null),n("update:modelValue",null),e.changeEvent===!0&&n("change",null),n("clear",t.modelValue),l.nextTick(()=>{const oe=u.value;h(),u.value=oe})}function D(H){[13,32].includes(H.keyCode)&&F(H)}function K(){const H=[];return o.prepend!==void 0&&H.push(l.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:St},o.prepend())),H.push(l.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},V())),d.value===!0&&t.noErrorIcon===!1&&H.push(W("error",[l.h(Ve,{name:i.iconSet.field.error,color:"negative"})])),t.loading===!0||e.innerLoading.value===!0?H.push(W("inner-loading-append",o.loading!==void 0?o.loading():[l.h(La,{color:t.color})])):t.clearable===!0&&e.hasValue.value===!0&&e.editable.value===!0&&H.push(W("inner-clearable-append",[l.h(Ve,{class:"q-field__focusable-action",name:t.clearIcon||i.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":i.lang.label.clear,onKeyup:D,onClick:F})])),o.append!==void 0&&H.push(l.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:St},o.append())),e.getInnerAppend!==void 0&&H.push(W("inner-append",e.getInnerAppend())),e.getControlChild!==void 0&&H.push(e.getControlChild()),H}function V(){const H=[];return t.prefix!==void 0&&t.prefix!==null&&H.push(l.h("div",{class:"q-field__prefix no-pointer-events row items-center"},t.prefix)),e.getShadowControl!==void 0&&e.hasShadow.value===!0&&H.push(e.getShadowControl()),e.getControl!==void 0?H.push(e.getControl()):o.rawControl!==void 0?H.push(o.rawControl()):o.control!==void 0&&H.push(l.h("div",{ref:e.targetRef,class:"q-field__native row",tabindex:-1,...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0},o.control(y.value))),b.value===!0&&H.push(l.h("div",{class:S.value},ke(o.label,t.label))),t.suffix!==void 0&&t.suffix!==null&&H.push(l.h("div",{class:"q-field__suffix no-pointer-events row items-center"},t.suffix)),H.concat(ke(o.default))}function ne(){let H,Q;d.value===!0?c.value!==null?(H=[l.h("div",{role:"alert"},c.value)],Q=`q--slot-error-${c.value}`):(H=ke(o.error),Q="q--slot-error"):(t.hideHint!==!0||e.focused.value===!0)&&(t.hint!==void 0?(H=[l.h("div",t.hint)],Q=`q--slot-hint-${t.hint}`):(H=ke(o.hint),Q="q--slot-hint"));const oe=t.counter===!0||o.counter!==void 0;if(t.hideBottomSpace===!0&&oe===!1&&H===void 0)return;const O=l.h("div",{key:Q,class:"q-field__messages col"},H);return l.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(t.hideBottomSpace!==!0?"animated":"stale"),onClick:St},[t.hideBottomSpace===!0?O:l.h(l.Transition,{name:"q-transition--field-message"},()=>O),oe===!0?l.h("div",{class:"q-field__counter"},o.counter!==void 0?o.counter():e.computedCounter.value):null])}function W(H,Q){return Q===null?null:l.h("div",{key:H,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},Q)}let $=!1;return l.onDeactivated(()=>{$=!0}),l.onActivated(()=>{$===!0&&t.autofocus===!0&&a.focus()}),t.autofocus===!0&&l.onMounted(()=>{a.focus()}),l.onBeforeUnmount(()=>{s!==null&&clearTimeout(s)}),Object.assign(a,{focus:T,blur:M}),function(){const Q=e.getControl===void 0&&o.control===void 0?{...e.splitAttrs.attributes.value,"data-autofocus":t.autofocus===!0||void 0,...A.value}:A.value;return l.h(e.tag.value,{ref:e.rootRef,class:[_.value,r.class],style:r.style,...Q},[o.before!==void 0?l.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:St},o.before()):null,l.h("div",{class:"q-field__inner relative-position col self-stretch"},[l.h("div",{ref:e.controlRef,class:g.value,tabindex:-1,...e.controlEvents},K()),p.value===!0?ne():null]),o.after!==void 0?l.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:St},o.after()):null])}}const gf=be({name:"QField",inheritAttrs:!1,props:{...Oo,tag:{type:String,default:"label"}},emits:Ir,setup(){return xr(Nr({tagProp:!0}))}});function pf(e,t=250){let n=!1,o;return function(){return n===!1&&(n=!0,setTimeout(()=>{n=!1},t),o=e.apply(this,arguments)),o}}function Ha(e,t,n,o){n.modifiers.stop===!0&&At(e);const r=n.modifiers.color;let a=n.modifiers.center;a=a===!0||o===!0;const i=document.createElement("span"),s=document.createElement("span"),u=aa(e),{left:f,top:d,width:c,height:h}=t.getBoundingClientRect(),m=Math.sqrt(c*c+h*h),p=m/2,v=`${(c-m)/2}px`,_=a?v:`${u.left-f-p}px`,g=`${(h-m)/2}px`,b=a?g:`${u.top-d-p}px`;s.className="q-ripple__inner",Tr(s,{height:`${m}px`,width:`${m}px`,transform:`translate3d(${_},${b},0) scale3d(.2,.2,1)`,opacity:0}),i.className=`q-ripple${r?" text-"+r:""}`,i.setAttribute("dir","ltr"),i.appendChild(s),t.appendChild(i);const S=()=>{i.remove(),clearTimeout(y)};n.abort.push(S);let y=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${v},${g},0) scale3d(1,1,1)`,s.style.opacity=.2,y=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,y=setTimeout(()=>{i.remove(),n.abort.splice(n.abort.indexOf(S),1)},275)},250)},50)}function za(e,{modifiers:t,value:n,arg:o}){const r=Object.assign({},e.cfg.ripple,t,n);e.modifiers={early:r.early===!0,stop:r.stop===!0,center:r.center===!0,color:r.color||o,keyCodes:[].concat(r.keyCodes||13)}}const ja=gd({name:"ripple",beforeMount(e,t){const n=t.instance.$.appContext.config.globalProperties.$q.config||{};if(n.ripple===!1)return;const o={cfg:n,enabled:t.value!==!1,modifiers:{},abort:[],start(r){o.enabled===!0&&r.qSkipRipple!==!0&&r.type===(o.modifiers.early===!0?"pointerdown":"click")&&Ha(r,e,o,r.qKeyEvent===!0)},keystart:pf(r=>{o.enabled===!0&&r.qSkipRipple!==!0&&Jt(r,o.modifiers.keyCodes)===!0&&r.type===`key${o.modifiers.early===!0?"down":"up"}`&&Ha(r,e,o,!0)},300)};za(o,t),e.__qripple=o,fr(o,"main",[[e,"pointerdown","start","passive"],[e,"click","start","passive"],[e,"keydown","keystart","passive"],[e,"keyup","keystart","passive"]])},updated(e,t){if(t.oldValue!==t.value){const n=e.__qripple;n!==void 0&&(n.enabled=t.value!==!1,n.enabled===!0&&Object(t.value)===t.value&&za(n,t))}},beforeUnmount(e){const t=e.__qripple;t!==void 0&&(t.abort.forEach(n=>{n()}),ia(t,"main"),delete e._qripple)}}),_f={xs:8,sm:10,md:14,lg:20,xl:24},bf=be({name:"QChip",props:{...dt,...Un,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:Boolean,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:["update:modelValue","update:selected","remove","click"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=l.getCurrentInstance(),r=ft(e,o),a=Hn(e,_f),i=l.computed(()=>e.selected===!0||e.icon!==void 0),s=l.computed(()=>e.selected===!0?e.iconSelected||o.iconSet.chip.selected:e.icon),u=l.computed(()=>e.iconRemove||o.iconSet.chip.remove),f=l.computed(()=>e.disable===!1&&(e.clickable===!0||e.selected!==null)),d=l.computed(()=>{const _=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}`:"")+(_?` text-${_} 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":"")+(r.value===!0?" q-chip--dark q-dark":"")}),c=l.computed(()=>{const _=e.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:e.tabindex||0},g={..._,role:"button","aria-hidden":"false","aria-label":e.removeAriaLabel||o.lang.label.remove};return{chip:_,remove:g}});function h(_){_.keyCode===13&&m(_)}function m(_){e.disable||(n("update:selected",!e.selected),n("click",_))}function p(_){(_.keyCode===void 0||_.keyCode===13)&&(ze(_),e.disable===!1&&(n("update:modelValue",!1),n("remove")))}function v(){const _=[];f.value===!0&&_.push(l.h("div",{class:"q-focus-helper"})),i.value===!0&&_.push(l.h(Ve,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const g=e.label!==void 0?[l.h("div",{class:"ellipsis"},[e.label])]:void 0;return _.push(l.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},Ld(t.default,g))),e.iconRight&&_.push(l.h(Ve,{class:"q-chip__icon q-chip__icon--right",name:e.iconRight})),e.removable===!0&&_.push(l.h(Ve,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:u.value,...c.value.remove,onClick:p,onKeyup:p})),_}return()=>{if(e.modelValue===!1)return;const _={class:d.value,style:a.value};return f.value===!0&&Object.assign(_,c.value.chip,{onClick:m,onKeyup:h}),Vd("div",_,v(),"ripple",e.ripple!==!1&&e.disable!==!0,()=>[[ja,e.ripple]])}}});function Pr(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 Lr(e){return e.appContext.config.globalProperties.$router!==void 0}function Ka(e){return e.isUnmounted===!0||e.isDeactivated===!0}function Wa(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}function Ya(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vf(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(Array.isArray(r)===!1||r.length!==o.length||o.some((a,i)=>a!==r[i]))return!1}return!0}function Ga(e,t){return Array.isArray(t)===!0?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function yf(e,t){return Array.isArray(e)===!0?Ga(e,t):Array.isArray(t)===!0?Ga(t,e):e===t}function Ef(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(yf(e[n],t[n])===!1)return!1;return!0}const Qa={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},Sf={...Qa,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Xa({fallbackTag:e,useDisableForRouterLinkProps:t=!0}={}){const n=l.getCurrentInstance(),{props:o,proxy:r,emit:a}=n,i=Lr(n),s=l.computed(()=>o.disable!==!0&&o.href!==void 0),u=t===!0?l.computed(()=>i===!0&&o.disable!==!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""):l.computed(()=>i===!0&&s.value!==!0&&o.to!==void 0&&o.to!==null&&o.to!==""),f=l.computed(()=>u.value===!0?b(o.to):null),d=l.computed(()=>f.value!==null),c=l.computed(()=>s.value===!0||d.value===!0),h=l.computed(()=>o.type==="a"||c.value===!0?"a":o.tag||e||"div"),m=l.computed(()=>s.value===!0?{href:o.href,target:o.target}:d.value===!0?{href:f.value.href,target:o.target}:{}),p=l.computed(()=>{if(d.value===!1)return-1;const{matched:A}=f.value,{length:I}=A,T=A[I-1];if(T===void 0)return-1;const M=r.$route.matched;if(M.length===0)return-1;const N=M.findIndex(Ya.bind(null,T));if(N!==-1)return N;const P=Wa(A[I-2]);return I>1&&Wa(T)===P&&M[M.length-1].path!==P?M.findIndex(Ya.bind(null,A[I-2])):N}),v=l.computed(()=>d.value===!0&&p.value!==-1&&vf(r.$route.params,f.value.params)),_=l.computed(()=>v.value===!0&&p.value===r.$route.matched.length-1&&Ef(r.$route.params,f.value.params)),g=l.computed(()=>d.value===!0?_.value===!0?` ${o.exactActiveClass} ${o.activeClass}`:o.exact===!0?"":v.value===!0?` ${o.activeClass}`:"":"");function b(A){try{return r.$router.resolve(A)}catch{}return null}function S(A,{returnRouterError:I,to:T=o.to,replace:M=o.replace}={}){if(o.disable===!0)return A.preventDefault(),Promise.resolve(!1);if(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey||A.button!==void 0&&A.button!==0||o.target==="_blank")return Promise.resolve(!1);A.preventDefault();const N=r.$router[M===!0?"replace":"push"](T);return I===!0?N:N.then(()=>{}).catch(()=>{})}function y(A){if(d.value===!0){const I=T=>S(A,T);a("click",A,I),A.defaultPrevented!==!0&&I()}else a("click",A)}return{hasRouterLink:d,hasHrefLink:s,hasLink:c,linkTag:h,resolvedLink:f,linkIsActive:v,linkIsExactActive:_,linkClass:g,linkAttrs:m,getLink:b,navigateToRouterLink:S,navigateOnClick:y}}const Ht=be({name:"QItem",props:{...dt,...Sf,tag:{type:String,default:"div"},active:{type:Boolean,default:null},clickable:Boolean,dense:Boolean,insetLevel:Number,tabindex:[String,Number],focused:Boolean,manualFocus:Boolean},emits:["click","keyup"],setup(e,{slots:t,emit:n}){const{proxy:{$q:o}}=l.getCurrentInstance(),r=ft(e,o),{hasLink:a,linkAttrs:i,linkClass:s,linkTag:u,navigateOnClick:f}=Xa(),d=l.ref(null),c=l.ref(null),h=l.computed(()=>e.clickable===!0||a.value===!0||e.tag==="label"),m=l.computed(()=>e.disable!==!0&&h.value===!0),p=l.computed(()=>"q-item q-item-type row no-wrap"+(e.dense===!0?" q-item--dense":"")+(r.value===!0?" q-item--dark":"")+(a.value===!0&&e.active===null?s.value:e.active===!0?` q-item--active${e.activeClass!==void 0?` ${e.activeClass}`:""}`:"")+(e.disable===!0?" disabled":"")+(m.value===!0?" q-item--clickable q-link cursor-pointer "+(e.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(e.focused===!0?" q-manual-focusable--focused":""):"")),v=l.computed(()=>e.insetLevel===void 0?null:{["padding"+(o.lang.rtl===!0?"Right":"Left")]:16+e.insetLevel*56+"px"});function _(S){m.value===!0&&(c.value!==null&&S.qAvoidFocus!==!0&&(S.qKeyEvent!==!0&&document.activeElement===d.value?c.value.focus():document.activeElement===c.value&&d.value.focus()),f(S))}function g(S){if(m.value===!0&&Jt(S,[13,32])===!0){ze(S),S.qKeyEvent=!0;const y=new MouseEvent("click",S);y.qKeyEvent=!0,d.value.dispatchEvent(y)}n("keyup",S)}function b(){const S=_a(t.default,[]);return m.value===!0&&S.unshift(l.h("div",{class:"q-focus-helper",tabindex:-1,ref:c})),S}return()=>{const S={ref:d,class:p.value,style:v.value,role:"listitem",onClick:_,onKeyup:g};return m.value===!0?(S.tabindex=e.tabindex||"0",Object.assign(S,i.value)):h.value===!0&&(S["aria-disabled"]="true"),l.h(u.value,S,b())}}}),kt=be({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(e,{slots:t}){const n=l.computed(()=>`q-item__section column q-item__section--${e.avatar===!0||e.side===!0||e.thumbnail===!0?"side":"main"}`+(e.top===!0?" q-item__section--top justify-start":" justify-center")+(e.avatar===!0?" q-item__section--avatar":"")+(e.thumbnail===!0?" q-item__section--thumbnail":"")+(e.noWrap===!0?" q-item__section--nowrap":""));return()=>l.h("div",{class:n.value},ke(t.default))}}),pt=be({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(e,{slots:t}){const n=l.computed(()=>parseInt(e.lines,10)),o=l.computed(()=>"q-item__label"+(e.overline===!0?" q-item__label--overline text-overline":"")+(e.caption===!0?" q-item__label--caption text-caption":"")+(e.header===!0?" q-item__label--header":"")+(n.value===1?" ellipsis":"")),r=l.computed(()=>e.lines!==void 0&&n.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":n.value}:null);return()=>l.h("div",{style:r.value,class:o.value},ke(t.default))}});function Cf(){if(window.getSelection!==void 0){const e=window.getSelection();e.empty!==void 0?e.empty():e.removeAllRanges!==void 0&&(e.removeAllRanges(),po.is.mobile!==!0&&e.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}const kf={...{target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},contextMenu:Boolean};function wf({showing:e,avoidEmit:t,configureAnchorEl:n}){const{props:o,proxy:r,emit:a}=l.getCurrentInstance(),i=l.ref(null);let s=null;function u(m){return i.value===null?!1:m===void 0||m.touches===void 0||m.touches.length<=1}const f={};n===void 0&&(Object.assign(f,{hide(m){r.hide(m)},toggle(m){r.toggle(m),m.qAnchorHandled=!0},toggleKey(m){Jt(m,13)===!0&&f.toggle(m)},contextClick(m){r.hide(m),St(m),l.nextTick(()=>{r.show(m),m.qAnchorHandled=!0})},prevent:St,mobileTouch(m){if(f.mobileCleanup(m),u(m)!==!0)return;r.hide(m),i.value.classList.add("non-selectable");const p=m.target;fr(f,"anchor",[[p,"touchmove","mobileCleanup","passive"],[p,"touchend","mobileCleanup","passive"],[p,"touchcancel","mobileCleanup","passive"],[i.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,r.show(m),m.qAnchorHandled=!0},300)},mobileCleanup(m){i.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),e.value===!0&&m!==void 0&&Cf()}}),n=function(m=o.contextMenu){if(o.noParentEvent===!0||i.value===null)return;let p;m===!0?r.$q.platform.is.mobile===!0?p=[[i.value,"touchstart","mobileTouch","passive"]]:p=[[i.value,"mousedown","hide","passive"],[i.value,"contextmenu","contextClick","notPassive"]]:p=[[i.value,"click","toggle","passive"],[i.value,"keyup","toggleKey","passive"]],fr(f,"anchor",p)});function d(){ia(f,"anchor")}function c(m){for(i.value=m;i.value.classList.contains("q-anchor--skip");)i.value=i.value.parentNode;n()}function h(){if(o.target===!1||o.target===""||r.$el.parentNode===null)i.value=null;else if(o.target===!0)c(r.$el.parentNode);else{let m=o.target;if(typeof o.target=="string")try{m=document.querySelector(o.target)}catch{m=void 0}m!=null?(i.value=m.$el||m,n()):(i.value=null,console.error(`Anchor: target "${o.target}" not found`))}}return l.watch(()=>o.contextMenu,m=>{i.value!==null&&(d(),n(m))}),l.watch(()=>o.target,()=>{i.value!==null&&d(),h()}),l.watch(()=>o.noParentEvent,m=>{i.value!==null&&(m===!0?d():n())}),l.onMounted(()=>{h(),t!==!0&&o.modelValue===!0&&i.value===null&&a("update:modelValue",!1)}),l.onBeforeUnmount(()=>{s!==null&&clearTimeout(s),d()}),{anchorEl:i,canShow:u,anchorEvents:f}}function Tf(e,t){const n=l.ref(null);let o;function r(s,u){const f=`${u!==void 0?"add":"remove"}EventListener`,d=u!==void 0?u:o;s!==window&&s[f]("scroll",d,Qe.passive),window[f]("scroll",d,Qe.passive),o=u}function a(){n.value!==null&&(r(n.value),n.value=null)}const i=l.watch(()=>e.noParentEvent,()=>{n.value!==null&&(a(),t())});return l.onBeforeUnmount(i),{localScrollTarget:n,unconfigureScrollTarget:a,changeScrollEvent:r}}const Za={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},Ja=["beforeShow","show","beforeHide","hide"];function ei({showing:e,canShow:t,hideOnRouteChange:n,handleShow:o,handleHide:r,processOnMount:a}){const i=l.getCurrentInstance(),{props:s,emit:u,proxy:f}=i;let d;function c(b){e.value===!0?p(b):h(b)}function h(b){if(s.disable===!0||(b==null?void 0:b.qAnchorHandled)===!0||t!==void 0&&t(b)!==!0)return;const S=s["onUpdate:modelValue"]!==void 0;S===!0&&(u("update:modelValue",!0),d=b,l.nextTick(()=>{d===b&&(d=void 0)})),(s.modelValue===null||S===!1)&&m(b)}function m(b){e.value!==!0&&(e.value=!0,u("beforeShow",b),o!==void 0?o(b):u("show",b))}function p(b){if(s.disable===!0)return;const S=s["onUpdate:modelValue"]!==void 0;S===!0&&(u("update:modelValue",!1),d=b,l.nextTick(()=>{d===b&&(d=void 0)})),(s.modelValue===null||S===!1)&&v(b)}function v(b){e.value!==!1&&(e.value=!1,u("beforeHide",b),r!==void 0?r(b):u("hide",b))}function _(b){s.disable===!0&&b===!0?s["onUpdate:modelValue"]!==void 0&&u("update:modelValue",!1):b===!0!==e.value&&(b===!0?m:v)(d)}l.watch(()=>s.modelValue,_),n!==void 0&&Lr(i)===!0&&l.watch(()=>f.$route.fullPath,()=>{n.value===!0&&e.value===!0&&p()}),l.onMounted(()=>{_(s.modelValue)});const g={show:h,hide:p,toggle:c};return Object.assign(f,g),g}let Of=1,Af=document.body;function Df(e,t){const n=document.createElement("div");if(n.id=t!==void 0?`q-portal--${t}--${Of++}`:e,vo.globalNodes!==void 0){const o=vo.globalNodes.class;o!==void 0&&(n.className=o)}return Af.appendChild(n),n}function If(e){e.remove()}const Wn=[];function Nf(e,t){do{if(e.$options.name==="QMenu"){if(e.hide(t),e.$props.separateClosePopup===!0)return Pr(e)}else if(e.__qPortal===!0){const n=Pr(e);return(n==null?void 0:n.$options.name)==="QPopupProxy"?(e.hide(t),n):e}e=Pr(e)}while(e!=null)}const xf=be({name:"QPortal",setup(e,{slots:t}){return()=>t.default()}});function Pf(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 ti(e,t,n,o){const r=l.ref(!1),a=l.ref(!1);let i=null;const s={},u=o==="dialog"&&Pf(e);function f(c){if(c===!0){Ua(s),a.value=!0;return}a.value=!1,r.value===!1&&(u===!1&&i===null&&(i=Df(!1,o)),r.value=!0,Wn.push(e.proxy),mf(s))}function d(c){if(a.value=!1,c!==!0)return;Ua(s),r.value=!1;const h=Wn.indexOf(e.proxy);h!==-1&&Wn.splice(h,1),i!==null&&(If(i),i=null)}return l.onUnmounted(()=>{d(!0)}),e.proxy.__qPortal=!0,ct(e.proxy,"contentEl",()=>t.value),{showPortal:f,hidePortal:d,portalIsActive:r,portalIsAccessible:a,renderPortal:()=>u===!0?n():r.value===!0?[l.h(l.Teleport,{to:i},l.h(xf,n))]:void 0}}const ni={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function oi(e,t=()=>{},n=()=>{}){return{transitionProps:l.computed(()=>{const o=`q-transition--${e.transitionShow||t()}`,r=`q-transition--${e.transitionHide||n()}`;return{appear:!0,enterFromClass:`${o}-enter-from`,enterActiveClass:`${o}-enter-active`,enterToClass:`${o}-enter-to`,leaveFromClass:`${r}-leave-from`,leaveActiveClass:`${r}-leave-active`,leaveToClass:`${r}-leave-to`}}),transitionStyle:l.computed(()=>`--q-transition-duration: ${e.transitionDuration}ms`)}}function ri(){let e;const t=l.getCurrentInstance();function n(){e=void 0}return l.onDeactivated(n),l.onBeforeUnmount(n),{removeTick:n,registerTick(o){e=o,l.nextTick(()=>{e===o&&(Ka(t)===!1&&e(),e=void 0)})}}}function li(){let e=null;const t=l.getCurrentInstance();function n(){e!==null&&(clearTimeout(e),e=null)}return l.onDeactivated(n),l.onBeforeUnmount(n),{removeTimeout:n,registerTimeout(o,r){n(),Ka(t)===!1&&(e=setTimeout(()=>{e=null,o()},r))}}}const tn=[];let bn;function Lf(e){bn=e.keyCode===27}function Vf(){bn===!0&&(bn=!1)}function Rf(e){bn===!0&&(bn=!1,Jt(e,27)===!0&&tn[tn.length-1](e))}function ai(e){window[e]("keydown",Lf),window[e]("blur",Vf),window[e]("keyup",Rf),bn=!1}function ii(e){Fe.is.desktop===!0&&(tn.push(e),tn.length===1&&ai("addEventListener"))}function Ao(e){const t=tn.indexOf(e);t!==-1&&(tn.splice(t,1),tn.length===0&&ai("removeEventListener"))}const nn=[];function si(e){nn[nn.length-1](e)}function ui(e){Fe.is.desktop===!0&&(nn.push(e),nn.length===1&&document.body.addEventListener("focusin",si))}function Vr(e){const t=nn.indexOf(e);t!==-1&&(nn.splice(t,1),nn.length===0&&document.body.removeEventListener("focusin",si))}const{notPassiveCapture:Do}=Qe,on=[];function Io(e){const t=e.target;if(t===void 0||t.nodeType===8||t.classList.contains("no-pointer-events")===!0)return;let n=Wn.length-1;for(;n>=0;){const o=Wn[n].$;if(o.type.name==="QTooltip"){n--;continue}if(o.type.name!=="QDialog")break;if(o.props.seamless!==!0)return;n--}for(let o=on.length-1;o>=0;o--){const r=on[o];if((r.anchorEl.value===null||r.anchorEl.value.contains(t)===!1)&&(t===document.body||r.innerRef.value!==null&&r.innerRef.value.contains(t)===!1))e.qClickOutside=!0,r.onClickOutside(e);else return}}function Mf(e){on.push(e),on.length===1&&(document.addEventListener("mousedown",Io,Do),document.addEventListener("touchstart",Io,Do))}function ci(e){const t=on.findIndex(n=>n===e);t!==-1&&(on.splice(t,1),on.length===0&&(document.removeEventListener("mousedown",Io,Do),document.removeEventListener("touchstart",Io,Do)))}let di,fi;function mi(e){const t=e.split(" ");return t.length!==2?!1:["top","center","bottom"].includes(t[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(t[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Bf(e){return e?!(e.length!==2||typeof e[0]!="number"||typeof e[1]!="number"):!0}const Rr={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(e=>{Rr[`${e}#ltr`]=e,Rr[`${e}#rtl`]=e});function hi(e,t){const n=e.split(" ");return{vertical:n[0],horizontal:Rr[`${n[1]}#${t===!0?"rtl":"ltr"}`]}}function Ff(e,t){let{top:n,left:o,right:r,bottom:a,width:i,height:s}=e.getBoundingClientRect();return t!==void 0&&(n-=t[1],o-=t[0],a+=t[1],r+=t[0],i+=t[0],s+=t[1]),{top:n,bottom:a,height:s,left:o,right:r,width:i,middle:o+(r-o)/2,center:n+(a-n)/2}}function qf(e,t,n){let{top:o,left:r}=e.getBoundingClientRect();return o+=t.top,r+=t.left,n!==void 0&&(o+=n[1],r+=n[0]),{top:o,bottom:o+1,height:1,left:r,right:r+1,width:1,middle:r,center:o}}function $f(e,t){return{top:0,center:t/2,bottom:t,left:0,middle:e/2,right:e}}function gi(e,t,n,o){return{top:e[n.vertical]-t[o.vertical],left:e[n.horizontal]-t[o.horizontal]}}function pi(e,t=0){if(e.targetEl===null||e.anchorEl===null||t>5)return;if(e.targetEl.offsetHeight===0||e.targetEl.offsetWidth===0){setTimeout(()=>{pi(e,t+1)},10);return}const{targetEl:n,offset:o,anchorEl:r,anchorOrigin:a,selfOrigin:i,absoluteOffset:s,fit:u,cover:f,maxHeight:d,maxWidth:c}=e;if(Fe.is.ios===!0&&window.visualViewport!==void 0){const I=document.body.style,{offsetLeft:T,offsetTop:M}=window.visualViewport;T!==di&&(I.setProperty("--q-pe-left",T+"px"),di=T),M!==fi&&(I.setProperty("--q-pe-top",M+"px"),fi=M)}const{scrollLeft:h,scrollTop:m}=n,p=s===void 0?Ff(r,f===!0?[0,0]:o):qf(r,s,o);Object.assign(n.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:c,maxHeight:d,visibility:"visible"});const{offsetWidth:v,offsetHeight:_}=n,{elWidth:g,elHeight:b}=u===!0||f===!0?{elWidth:Math.max(p.width,v),elHeight:f===!0?Math.max(p.height,_):_}:{elWidth:v,elHeight:_};let S={maxWidth:c,maxHeight:d};(u===!0||f===!0)&&(S.minWidth=p.width+"px",f===!0&&(S.minHeight=p.height+"px")),Object.assign(n.style,S);const y=$f(g,b);let A=gi(p,y,a,i);if(s===void 0||o===void 0)Mr(A,p,y,a,i);else{const{top:I,left:T}=A;Mr(A,p,y,a,i);let M=!1;if(A.top!==I){M=!0;const N=2*o[1];p.center=p.top-=N,p.bottom-=N+2}if(A.left!==T){M=!0;const N=2*o[0];p.middle=p.left-=N,p.right-=N+2}M===!0&&(A=gi(p,y,a,i),Mr(A,p,y,a,i))}S={top:A.top+"px",left:A.left+"px"},A.maxHeight!==void 0&&(S.maxHeight=A.maxHeight+"px",p.height>A.maxHeight&&(S.minHeight=S.maxHeight)),A.maxWidth!==void 0&&(S.maxWidth=A.maxWidth+"px",p.width>A.maxWidth&&(S.minWidth=S.maxWidth)),Object.assign(n.style,S),n.scrollTop!==m&&(n.scrollTop=m),n.scrollLeft!==h&&(n.scrollLeft=h)}function Mr(e,t,n,o,r){const a=n.bottom,i=n.right,s=Xd(),u=window.innerHeight-s,f=document.body.clientWidth;if(e.top<0||e.top+a>u)if(r.vertical==="center")e.top=t[o.vertical]>u/2?Math.max(0,u-a):0,e.maxHeight=Math.min(a,u);else if(t[o.vertical]>u/2){const d=Math.min(u,o.vertical==="center"?t.center:o.vertical===r.vertical?t.bottom:t.top);e.maxHeight=Math.min(a,d),e.top=Math.max(0,d-a)}else e.top=Math.max(0,o.vertical==="center"?t.center:o.vertical===r.vertical?t.top:t.bottom),e.maxHeight=Math.min(a,u-e.top);if(e.left<0||e.left+i>f)if(e.maxWidth=Math.min(i,f),r.horizontal==="middle")e.left=t[o.horizontal]>f/2?Math.max(0,f-i):0;else if(t[o.horizontal]>f/2){const d=Math.min(f,o.horizontal==="middle"?t.middle:o.horizontal===r.horizontal?t.right:t.left);e.maxWidth=Math.min(i,d),e.left=Math.max(0,d-e.maxWidth)}else e.left=Math.max(0,o.horizontal==="middle"?t.middle:o.horizontal===r.horizontal?t.left:t.right),e.maxWidth=Math.min(i,f-e.left)}const _i=be({name:"QMenu",inheritAttrs:!1,props:{...kf,...Za,...dt,...ni,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:mi},self:{type:String,validator:mi},offset:{type:Array,validator:Bf},scrollTarget:xa,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...Ja,"click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){let r=null,a,i,s;const u=l.getCurrentInstance(),{proxy:f}=u,{$q:d}=f,c=l.ref(null),h=l.ref(!1),m=l.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0),p=ft(e,d),{registerTick:v,removeTick:_}=ri(),{registerTimeout:g}=li(),{transitionProps:b,transitionStyle:S}=oi(e),{localScrollTarget:y,changeScrollEvent:A,unconfigureScrollTarget:I}=Tf(e,j),{anchorEl:T,canShow:M}=wf({showing:h}),{hide:N}=ei({showing:h,canShow:M,handleShow:oe,handleHide:O,hideOnRouteChange:m,processOnMount:!0}),{showPortal:P,hidePortal:F,renderPortal:D}=ti(u,c,ge,"menu"),K={anchorEl:T,innerRef:c,onClickOutside(z){if(e.persistent!==!0&&h.value===!0)return N(z),(z.type==="touchstart"||z.target.classList.contains("q-dialog__backdrop"))&&ze(z),!0}},V=l.computed(()=>hi(e.anchor||(e.cover===!0?"center middle":"bottom start"),d.lang.rtl)),ne=l.computed(()=>e.cover===!0?V.value:hi(e.self||"top start",d.lang.rtl)),W=l.computed(()=>(e.square===!0?" q-menu--square":"")+(p.value===!0?" q-menu--dark q-dark":"")),$=l.computed(()=>e.autoClose===!0?{onClick:le}:{}),H=l.computed(()=>h.value===!0&&e.persistent!==!0);l.watch(H,z=>{z===!0?(ii(U),Mf(K)):(Ao(U),ci(K))});function Q(){To(()=>{let z=c.value;z&&z.contains(document.activeElement)!==!0&&(z=z.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||z.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||z.querySelector("[autofocus], [data-autofocus]")||z,z.focus({preventScroll:!0}))})}function oe(z){if(r=e.noRefocus===!1?document.activeElement:null,ui(se),P(),j(),a=void 0,z!==void 0&&(e.touchPosition||e.contextMenu)){const Ee=aa(z);if(Ee.left!==void 0){const{top:xe,left:vt}=T.value.getBoundingClientRect();a={left:Ee.left-vt,top:Ee.top-xe}}}i===void 0&&(i=l.watch(()=>d.screen.width+"|"+d.screen.height+"|"+e.self+"|"+e.anchor+"|"+d.lang.rtl,G)),e.noFocus!==!0&&document.activeElement.blur(),v(()=>{G(),e.noFocus!==!0&&Q()}),g(()=>{d.platform.is.ios===!0&&(s=e.autoClose,c.value.click()),G(),P(!0),n("show",z)},e.transitionDuration)}function O(z){_(),F(),w(!0),r!==null&&(z===void 0||z.qClickOutside!==!0)&&((((z==null?void 0:z.type.indexOf("key"))===0?r.closest('[tabindex]:not([tabindex^="-"])'):void 0)||r).focus(),r=null),g(()=>{F(!0),n("hide",z)},e.transitionDuration)}function w(z){a=void 0,i!==void 0&&(i(),i=void 0),(z===!0||h.value===!0)&&(Vr(se),I(),ci(K),Ao(U)),z!==!0&&(r=null)}function j(){(T.value!==null||e.scrollTarget!==void 0)&&(y.value=Pa(T.value,e.scrollTarget),A(y.value,G))}function le(z){s!==!0?(Nf(f,z),n("click",z)):s=!1}function se(z){H.value===!0&&e.noFocus!==!0&&Na(c.value,z.target)!==!0&&Q()}function U(z){e.noEscDismiss!==!0&&(n("escapeKey"),N(z))}function G(){pi({targetEl:c.value,offset:e.offset,anchorEl:T.value,anchorOrigin:V.value,selfOrigin:ne.value,absoluteOffset:a,fit:e.fit,cover:e.cover,maxHeight:e.maxHeight,maxWidth:e.maxWidth})}function ge(){return l.h(l.Transition,b.value,()=>h.value===!0?l.h("div",{role:"menu",...o,ref:c,tabindex:-1,class:["q-menu q-position-engine scroll"+W.value,o.class],style:[o.style,S.value],...$.value},ke(t.default)):null)}return l.onBeforeUnmount(w),Object.assign(f,{focus:Q,updatePosition:G}),D}});function Uf(e,t,n){let o;function r(){o!==void 0&&($n.remove(o),o=void 0)}return l.onBeforeUnmount(()=>{e.value===!0&&r()}),{removeFromHistory:r,addToHistory(){o={condition:()=>n.value===!0,handler:t},$n.add(o)}}}let Yn=0,Br,Fr,Gn,qr=!1,bi,vi,yi,rn=null;function Hf(e){zf(e)&&ze(e)}function zf(e){if(e.target===document.body||e.target.classList.contains("q-layout__backdrop"))return!0;const t=pd(e),n=e.shiftKey&&!e.deltaX,o=!n&&Math.abs(e.deltaX)<=Math.abs(e.deltaY),r=n||o?e.deltaY:e.deltaX;for(let a=0;a<t.length;a++){const i=t[a];if(Zd(i,o))return o?r<0&&i.scrollTop===0?!0:r>0&&i.scrollTop+i.clientHeight===i.scrollHeight:r<0&&i.scrollLeft===0?!0:r>0&&i.scrollLeft+i.clientWidth===i.scrollWidth}return!0}function Ei(e){e.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function No(e){qr!==!0&&(qr=!0,requestAnimationFrame(()=>{qr=!1;const{height:t}=e.target,{clientHeight:n,scrollTop:o}=document.scrollingElement;(Gn===void 0||t!==window.innerHeight)&&(Gn=n-t,document.scrollingElement.scrollTop=o),o>Gn&&(document.scrollingElement.scrollTop-=Math.ceil((o-Gn)/8))}))}function Si(e){const t=document.body,n=window.visualViewport!==void 0;if(e==="add"){const{overflowY:o,overflowX:r}=window.getComputedStyle(t);Br=Qd(window),Fr=Gd(window),bi=t.style.left,vi=t.style.top,yi=window.location.href,t.style.left=`-${Br}px`,t.style.top=`-${Fr}px`,r!=="hidden"&&(r==="scroll"||t.scrollWidth>window.innerWidth)&&t.classList.add("q-body--force-scrollbar-x"),o!=="hidden"&&(o==="scroll"||t.scrollHeight>window.innerHeight)&&t.classList.add("q-body--force-scrollbar-y"),t.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Fe.is.ios===!0&&(n===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",No,Qe.passiveCapture),window.visualViewport.addEventListener("scroll",No,Qe.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",Ei,Qe.passiveCapture))}Fe.is.desktop===!0&&Fe.is.mac===!0&&window[`${e}EventListener`]("wheel",Hf,Qe.notPassive),e==="remove"&&(Fe.is.ios===!0&&(n===!0?(window.visualViewport.removeEventListener("resize",No,Qe.passiveCapture),window.visualViewport.removeEventListener("scroll",No,Qe.passiveCapture)):window.removeEventListener("scroll",Ei,Qe.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=bi,t.style.top=vi,window.location.href===yi&&window.scrollTo(Br,Fr),Gn=void 0)}function jf(e){let t="add";if(e===!0){if(Yn++,rn!==null){clearTimeout(rn),rn=null;return}if(Yn>1)return}else{if(Yn===0||(Yn--,Yn>0))return;if(t="remove",Fe.is.ios===!0&&Fe.is.nativeMobile===!0){rn!==null&&clearTimeout(rn),rn=setTimeout(()=>{Si(t),rn=null},100);return}}Si(t)}function Kf(){let e;return{preventBodyScroll(t){t!==e&&(e!==void 0||t===!0)&&(e=t,jf(t))}}}let xo=0;const Wf={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"},Ci={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},$r=be({name:"QDialog",inheritAttrs:!1,props:{...Za,...ni,transitionShow:String,transitionHide:String,persistent:Boolean,autoClose:Boolean,allowFocusOutside:Boolean,noEscDismiss:Boolean,noBackdropDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,noShake:Boolean,seamless:Boolean,maximized:Boolean,fullWidth:Boolean,fullHeight:Boolean,square:Boolean,backdropFilter:String,position:{type:String,default:"standard",validator:e=>["standard","top","bottom","left","right"].includes(e)}},emits:[...Ja,"shake","click","escapeKey"],setup(e,{slots:t,emit:n,attrs:o}){const r=l.getCurrentInstance(),a=l.ref(null),i=l.ref(!1),s=l.ref(!1);let u=null,f=null,d,c;const h=l.computed(()=>e.persistent!==!0&&e.noRouteDismiss!==!0&&e.seamless!==!0),{preventBodyScroll:m}=Kf(),{registerTimeout:p}=li(),{registerTick:v,removeTick:_}=ri(),{transitionProps:g,transitionStyle:b}=oi(e,()=>Ci[e.position][0],()=>Ci[e.position][1]),S=l.computed(()=>b.value+(e.backdropFilter!==void 0?`;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`:"")),{showPortal:y,hidePortal:A,portalIsAccessible:I,renderPortal:T}=ti(r,a,se,"dialog"),{hide:M}=ei({showing:i,hideOnRouteChange:h,handleShow:ne,handleHide:W,processOnMount:!0}),{addToHistory:N,removeFromHistory:P}=Uf(i,M,h),F=l.computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized===!0?"maximized":"minimized"} q-dialog__inner--${e.position} ${Wf[e.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(e.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(e.fullHeight===!0?" q-dialog__inner--fullheight":"")+(e.square===!0?" q-dialog__inner--square":"")),D=l.computed(()=>i.value===!0&&e.seamless!==!0),K=l.computed(()=>e.autoClose===!0?{onClick:w}:{}),V=l.computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${D.value===!0?"modal":"seamless"}`,o.class]);l.watch(()=>e.maximized,U=>{i.value===!0&&O(U)}),l.watch(D,U=>{m(U),U===!0?(ui(le),ii(Q)):(Vr(le),Ao(Q))});function ne(U){var G;N(),f=e.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,O(e.maximized),y(),s.value=!0,e.noFocus!==!0?((G=document.activeElement)==null||G.blur(),v($)):_(),p(()=>{if(r.proxy.$q.platform.is.ios===!0){if(e.seamless!==!0&&document.activeElement){const{top:ge,bottom:z}=document.activeElement.getBoundingClientRect(),{innerHeight:Ee}=window,xe=window.visualViewport!==void 0?window.visualViewport.height:Ee;ge>0&&z>xe/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-xe,z>=Ee?1/0:Math.ceil(document.scrollingElement.scrollTop+z-xe/2))),document.activeElement.scrollIntoView()}c=!0,a.value.click(),c=!1}y(!0),s.value=!1,n("show",U)},e.transitionDuration)}function W(U){_(),P(),oe(!0),s.value=!0,A(),f!==null&&((((U==null?void 0:U.type.indexOf("key"))===0?f.closest('[tabindex]:not([tabindex^="-"])'):void 0)||f).focus(),f=null),p(()=>{A(!0),s.value=!1,n("hide",U)},e.transitionDuration)}function $(U){To(()=>{let G=a.value;if(G!==null){if(U!==void 0){const ge=G.querySelector(U);if(ge!==null){ge.focus({preventScroll:!0});return}}G.contains(document.activeElement)!==!0&&(G=G.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||G.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||G.querySelector("[autofocus], [data-autofocus]")||G,G.focus({preventScroll:!0}))}})}function H(U){U&&typeof U.focus=="function"?U.focus({preventScroll:!0}):$(),n("shake");const G=a.value;G!==null&&(G.classList.remove("q-animate--scale"),G.classList.add("q-animate--scale"),u!==null&&clearTimeout(u),u=setTimeout(()=>{u=null,a.value!==null&&(G.classList.remove("q-animate--scale"),$())},170))}function Q(){e.seamless!==!0&&(e.persistent===!0||e.noEscDismiss===!0?e.maximized!==!0&&e.noShake!==!0&&H():(n("escapeKey"),M()))}function oe(U){u!==null&&(clearTimeout(u),u=null),(U===!0||i.value===!0)&&(O(!1),e.seamless!==!0&&(m(!1),Vr(le),Ao(Q))),U!==!0&&(f=null)}function O(U){U===!0?d!==!0&&(xo<1&&document.body.classList.add("q-body--dialog"),xo++,d=!0):d===!0&&(xo<2&&document.body.classList.remove("q-body--dialog"),xo--,d=!1)}function w(U){c!==!0&&(M(U),n("click",U))}function j(U){e.persistent!==!0&&e.noBackdropDismiss!==!0?M(U):e.noShake!==!0&&H()}function le(U){e.allowFocusOutside!==!0&&I.value===!0&&Na(a.value,U.target)!==!0&&$('[tabindex]:not([tabindex="-1"])')}Object.assign(r.proxy,{focus:$,shake:H,__updateRefocusTarget(U){f=U||null}}),l.onBeforeUnmount(oe);function se(){return l.h("div",{role:"dialog","aria-modal":D.value===!0?"true":"false",...o,class:V.value},[l.h(l.Transition,{name:"q-transition--fade",appear:!0},()=>D.value===!0?l.h("div",{class:"q-dialog__backdrop fixed-full",style:S.value,"aria-hidden":"true",tabindex:-1,onClick:j}):null),l.h(l.Transition,g.value,()=>i.value===!0?l.h("div",{ref:a,class:F.value,style:b.value,tabindex:-1,...K.value},ke(t.default)):null)])}return T}}),Ur={name:String};function Yf(e={}){return(t,n,o)=>{t[n](l.h("input",{class:"hidden"+(o||""),...e.value}))}}function ki(e){return l.computed(()=>e.name||e.for)}const Gf=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,Qf=/[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u,Xf=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,Zf=/[a-z0-9_ -]$/i;function wi(e){return function(n){if(n.type==="compositionend"||n.type==="change"){if(n.target.qComposing!==!0)return;n.target.qComposing=!1,e(n)}else n.type==="compositionupdate"&&n.target.qComposing!==!0&&typeof n.data=="string"&&(Fe.is.firefox===!0?Zf.test(n.data)===!1:Gf.test(n.data)===!0||Qf.test(n.data)===!0||Xf.test(n.data)===!0)===!0&&(n.target.qComposing=!0)}}function Jf(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Ti(e,t,n){if(n<=t)return t;const o=n-t+1;let r=t+(e-t)%o;return r<t&&(r=o+r),r===0?0:r}function qe(e,t=2,n="0"){if(e==null)return e;const o=""+e;return o.length>=t?o:new Array(t-o.length+1).join(n)+o}const Oi=e=>["add","add-unique","toggle"].includes(e),em=".*+?^${}()|[]\\",tm=Object.keys(Oo);function Hr(e,t){if(typeof e=="function")return e;const n=e!==void 0?e:t;return o=>o!==null&&typeof o=="object"&&n in o?o[n]:o}const zr=be({name:"QSelect",inheritAttrs:!1,props:{...wr,...Ur,...Oo,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,newValueMode:{type:String,validator:Oi},mapOptions:Boolean,emitValue:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>["default","menu","dialog"].includes(e),default:"default"},virtualScrollItemSize:wr.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Ir,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(e,{slots:t,emit:n}){const{proxy:o}=l.getCurrentInstance(),{$q:r}=o,a=l.ref(!1),i=l.ref(!1),s=l.ref(-1),u=l.ref(""),f=l.ref(!1),d=l.ref(!1);let c=null,h=null,m,p,v,_=null,g,b,S,y;const A=l.ref(null),I=l.ref(null),T=l.ref(null),M=l.ref(null),N=l.ref(null),P=ki(e),F=wi(x),D=l.computed(()=>Array.isArray(e.options)?e.options.length:0),K=l.computed(()=>e.virtualScrollItemSize===void 0?e.optionsDense===!0?24:48:e.virtualScrollItemSize),{virtualScrollSliceRange:V,virtualScrollSliceSizeComputed:ne,localResetVirtualScroll:W,padVirtualScroll:$,onVirtualScrollEvt:H,scrollTo:Q,setVirtualScrollSize:oe}=Ia({virtualScrollLength:D,getVirtualScrollTarget:Jl,getVirtualScrollEl:ur,virtualScrollItemSizeComputed:K}),O=Nr(),w=l.computed(()=>{const C=e.mapOptions===!0&&e.multiple!==!0,X=e.modelValue!==void 0&&(e.modelValue!==null||C===!0)?e.multiple===!0&&Array.isArray(e.modelValue)?e.modelValue:[e.modelValue]:[];if(e.mapOptions===!0&&Array.isArray(e.options)===!0){const ee=e.mapOptions===!0&&m!==void 0?m:[],he=X.map(Te=>mo(Te,ee));return e.modelValue===null&&C===!0?he.filter(Te=>Te!==null):he}return X}),j=l.computed(()=>{const C={};return tm.forEach(X=>{const ee=e[X];ee!==void 0&&(C[X]=ee)}),C}),le=l.computed(()=>e.optionsDark===null?O.isDark.value:e.optionsDark),se=l.computed(()=>Kn(w.value)),U=l.computed(()=>{let C="q-field__input q-placeholder col";return e.hideSelected===!0||w.value.length===0?[C,e.inputClass]:(C+=" q-field__input--padding",e.inputClass===void 0?C:[C,e.inputClass])}),G=l.computed(()=>(e.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(e.popupContentClass?" "+e.popupContentClass:"")),ge=l.computed(()=>D.value===0),z=l.computed(()=>w.value.map(C=>me.value(C)).join(", ")),Ee=l.computed(()=>e.displayValue!==void 0?e.displayValue:z.value),xe=l.computed(()=>e.optionsHtml===!0?()=>!0:C=>(C==null?void 0:C.html)===!0),vt=l.computed(()=>e.displayValueHtml===!0||e.displayValue===void 0&&(e.optionsHtml===!0||w.value.some(xe.value))),Le=l.computed(()=>O.focused.value===!0?e.tabindex:-1),ut=l.computed(()=>{const C={tabindex:e.tabindex,role:"combobox","aria-label":e.label,"aria-readonly":e.readonly===!0?"true":"false","aria-autocomplete":e.useInput===!0?"list":"none","aria-expanded":a.value===!0?"true":"false","aria-controls":`${O.targetUid.value}_lb`};return s.value>=0&&(C["aria-activedescendant"]=`${O.targetUid.value}_${s.value}`),C}),We=l.computed(()=>({id:`${O.targetUid.value}_lb`,role:"listbox","aria-multiselectable":e.multiple===!0?"true":"false"})),Ze=l.computed(()=>w.value.map((C,X)=>({index:X,opt:C,html:xe.value(C),selected:!0,removeAtIndex:Ae,toggleOption:rt,tabindex:Le.value}))),yt=l.computed(()=>{if(D.value===0)return[];const{from:C,to:X}=V.value;return e.options.slice(C,X).map((ee,he)=>{const Te=ve.value(ee)===!0,Me=qt(ee)===!0,Oe=C+he,Be={clickable:!0,active:Me,activeClass:R.value,manualFocus:!0,focused:!1,disable:Te,tabindex:-1,dense:e.optionsDense,dark:le.value,role:"option","aria-selected":Me===!0?"true":"false",id:`${O.targetUid.value}_${Oe}`,onClick:()=>{rt(ee)}};return Te!==!0&&(s.value===Oe&&(Be.focused=!0),r.platform.is.desktop===!0&&(Be.onMousemove=()=>{a.value===!0&&He(Oe)})),{index:Oe,opt:ee,html:xe.value(ee),label:me.value(ee),selected:Be.active,focused:Be.focused,toggleOption:rt,setOptionIndex:He,itemProps:Be}})}),E=l.computed(()=>e.dropdownIcon!==void 0?e.dropdownIcon:r.iconSet.arrow.dropdown),k=l.computed(()=>e.optionsCover===!1&&e.outlined!==!0&&e.standout!==!0&&e.borderless!==!0&&e.rounded!==!0),R=l.computed(()=>e.optionsSelectedClass!==void 0?e.optionsSelectedClass:e.color!==void 0?`text-${e.color}`:""),J=l.computed(()=>Hr(e.optionValue,"value")),me=l.computed(()=>Hr(e.optionLabel,"label")),ve=l.computed(()=>Hr(e.optionDisable,"disable")),de=l.computed(()=>w.value.map(J.value)),L=l.computed(()=>{const C={onInput:x,onChange:F,onKeydown:hn,onKeyup:Vn,onKeypress:go,onFocus:ho,onClick(X){p===!0&&At(X)}};return C.onCompositionstart=C.onCompositionupdate=C.onCompositionend=F,C});l.watch(w,C=>{m=C,e.useInput===!0&&e.fillInput===!0&&e.multiple!==!0&&O.innerLoading.value!==!0&&(i.value!==!0&&a.value!==!0||se.value!==!0)&&(v!==!0&&Fn(),(i.value===!0||a.value===!0)&&re(""))},{immediate:!0}),l.watch(()=>e.fillInput,Fn),l.watch(a,oa),l.watch(D,Kv);function q(C){return e.emitValue===!0?J.value(C):C}function fe(C){if(C!==-1&&C<w.value.length)if(e.multiple===!0){const X=e.modelValue.slice();n("remove",{index:C,value:X.splice(C,1)[0]}),n("update:modelValue",X)}else n("update:modelValue",null)}function Ae(C){fe(C),O.focus()}function Et(C,X){const ee=q(C);if(e.multiple!==!0){e.fillInput===!0&&ae(me.value(C),!0,!0),n("update:modelValue",ee);return}if(w.value.length===0){n("add",{index:0,value:ee}),n("update:modelValue",e.multiple===!0?[ee]:ee);return}if(X===!0&&qt(C)===!0||e.maxValues!==void 0&&e.modelValue.length>=e.maxValues)return;const he=e.modelValue.slice();n("add",{index:he.length,value:ee}),he.push(ee),n("update:modelValue",he)}function rt(C,X){var Me;if(O.editable.value!==!0||C===void 0||ve.value(C)===!0)return;const ee=J.value(C);if(e.multiple!==!0){X!==!0&&(ae(e.fillInput===!0?me.value(C):"",!0,!0),gn()),(Me=I.value)==null||Me.focus(),(w.value.length===0||Vt(J.value(w.value[0]),ee)!==!0)&&n("update:modelValue",e.emitValue===!0?ee:C);return}if((p!==!0||f.value===!0)&&O.focus(),ho(),w.value.length===0){const Oe=e.emitValue===!0?ee:C;n("add",{index:0,value:Oe}),n("update:modelValue",e.multiple===!0?[Oe]:Oe);return}const he=e.modelValue.slice(),Te=de.value.findIndex(Oe=>Vt(Oe,ee));if(Te!==-1)n("remove",{index:Te,value:he.splice(Te,1)[0]});else{if(e.maxValues!==void 0&&he.length>=e.maxValues)return;const Oe=e.emitValue===!0?ee:C;n("add",{index:he.length,value:Oe}),he.push(Oe)}n("update:modelValue",he)}function He(C){if(r.platform.is.desktop!==!0)return;const X=C!==-1&&C<D.value?C:-1;s.value!==X&&(s.value=X)}function Ye(C=1,X){if(a.value===!0){let ee=s.value;do ee=Ti(ee+C,-1,D.value-1);while(ee!==-1&&ee!==s.value&&ve.value(e.options[ee])===!0);s.value!==ee&&(He(ee),Q(ee),X!==!0&&e.useInput===!0&&e.fillInput===!0&&Z(ee>=0?me.value(e.options[ee]):g,!0))}}function mo(C,X){const ee=he=>Vt(J.value(he),C);return e.options.find(ee)||X.find(ee)||C}function qt(C){const X=J.value(C);return de.value.find(ee=>Vt(ee,X))!==void 0}function ho(C){e.useInput===!0&&I.value!==null&&(C===void 0||I.value===C.target&&C.target.value===z.value)&&I.value.select()}function sr(C){Jt(C,27)===!0&&a.value===!0&&(At(C),gn(),Fn()),n("keyup",C)}function Vn(C){const{value:X}=C.target;if(C.keyCode!==void 0){sr(C);return}if(C.target.value="",c!==null&&(clearTimeout(c),c=null),h!==null&&(clearTimeout(h),h=null),Fn(),typeof X=="string"&&X.length!==0){const ee=X.toLocaleLowerCase(),he=Me=>{const Oe=e.options.find(Be=>String(Me.value(Be)).toLocaleLowerCase()===ee);return Oe===void 0?!1:(w.value.indexOf(Oe)===-1?rt(Oe):gn(),!0)},Te=Me=>{he(J)!==!0&&Me!==!0&&he(me)!==!0&&re(X,!0,()=>Te(!0))};Te()}else O.clearValue(C)}function go(C){n("keypress",C)}function hn(C){if(n("keydown",C),gr(C)===!0)return;const X=u.value.length!==0&&(e.newValueMode!==void 0||e.onNewValue!==void 0),ee=C.shiftKey!==!0&&e.disableTabSelection!==!0&&e.multiple!==!0&&(s.value!==-1||X===!0);if(C.keyCode===27){St(C);return}if(C.keyCode===9&&ee===!1){Mn();return}if(C.target===void 0||C.target.id!==O.targetUid.value||O.editable.value!==!0)return;if(C.keyCode===40&&O.innerLoading.value!==!0&&a.value===!1){ze(C),Bn();return}if(C.keyCode===8&&(e.useChips===!0||e.clearable===!0)&&e.hideSelected!==!0&&u.value.length===0){e.multiple===!0&&Array.isArray(e.modelValue)===!0?fe(e.modelValue.length-1):e.multiple!==!0&&e.modelValue!==null&&n("update:modelValue",null);return}(C.keyCode===35||C.keyCode===36)&&(typeof u.value!="string"||u.value.length===0)&&(ze(C),s.value=-1,Ye(C.keyCode===36?1:-1,e.multiple)),(C.keyCode===33||C.keyCode===34)&&ne.value!==void 0&&(ze(C),s.value=Math.max(-1,Math.min(D.value,s.value+(C.keyCode===33?-1:1)*ne.value.view)),Ye(C.keyCode===33?1:-1,e.multiple)),(C.keyCode===38||C.keyCode===40)&&(ze(C),Ye(C.keyCode===38?-1:1,e.multiple));const he=D.value;if((S===void 0||y<Date.now())&&(S=""),he>0&&e.useInput!==!0&&C.key!==void 0&&C.key.length===1&&C.altKey===!1&&C.ctrlKey===!1&&C.metaKey===!1&&(C.keyCode!==32||S.length!==0)){a.value!==!0&&Bn(C);const Te=C.key.toLocaleLowerCase(),Me=S.length===1&&S[0]===Te;y=Date.now()+1500,Me===!1&&(ze(C),S+=Te);const Oe=new RegExp("^"+S.split("").map(qn=>em.indexOf(qn)!==-1?"\\"+qn:qn).join(".*"),"i");let Be=s.value;if(Me===!0||Be<0||Oe.test(me.value(e.options[Be]))!==!0)do Be=Ti(Be+1,-1,he-1);while(Be!==s.value&&(ve.value(e.options[Be])===!0||Oe.test(me.value(e.options[Be]))!==!0));s.value!==Be&&l.nextTick(()=>{He(Be),Q(Be),Be>=0&&e.useInput===!0&&e.fillInput===!0&&Z(me.value(e.options[Be]),!0)});return}if(!(C.keyCode!==13&&(C.keyCode!==32||e.useInput===!0||S!=="")&&(C.keyCode!==9||ee===!1))){if(C.keyCode!==9&&ze(C),s.value!==-1&&s.value<he){rt(e.options[s.value]);return}if(X===!0){const Te=(Me,Oe)=>{var qn;if(Oe){if(Oi(Oe)!==!0)return}else Oe=e.newValueMode;if(ae("",e.multiple!==!0,!0),Me==null)return;(Oe==="toggle"?rt:Et)(Me,Oe==="add-unique"),e.multiple!==!0&&((qn=I.value)==null||qn.focus(),gn())};if(e.onNewValue!==void 0?n("newValue",u.value,Te):Te(u.value),e.multiple!==!0)return}a.value===!0?Mn():O.innerLoading.value!==!0&&Bn()}}function ur(){return p===!0?N.value:T.value!==null&&T.value.contentEl!==null?T.value.contentEl:void 0}function Jl(){return ur()}function ea(){return e.hideSelected===!0?[]:t["selected-item"]!==void 0?Ze.value.map(C=>t["selected-item"](C)).slice():t.selected!==void 0?[].concat(t.selected()):e.useChips===!0?Ze.value.map((C,X)=>l.h(bf,{key:"option-"+X,removable:O.editable.value===!0&&ve.value(C.opt)!==!0,dense:!0,textColor:e.color,tabindex:Le.value,onRemove(){C.removeAtIndex(X)}},()=>l.h("span",{class:"ellipsis",[C.html===!0?"innerHTML":"textContent"]:me.value(C.opt)}))):[l.h("span",{class:"ellipsis",[vt.value===!0?"innerHTML":"textContent"]:Ee.value})]}function cr(){if(ge.value===!0)return t["no-option"]!==void 0?t["no-option"]({inputValue:u.value}):void 0;const C=t.option!==void 0?t.option:ee=>l.h(Ht,{key:ee.index,...ee.itemProps},()=>l.h(kt,()=>l.h(pt,()=>l.h("span",{[ee.html===!0?"innerHTML":"textContent"]:ee.label}))));let X=$("div",yt.value.map(C));return t["before-options"]!==void 0&&(X=t["before-options"]().concat(X)),Rt(t["after-options"],X)}function ta(C,X){const ee=X===!0?{...ut.value,...O.splitAttrs.attributes.value}:void 0,he={ref:X===!0?I:void 0,key:"i_t",class:U.value,style:e.inputStyle,value:u.value!==void 0?u.value:"",type:"search",...ee,id:X===!0?O.targetUid.value:void 0,maxlength:e.maxlength,autocomplete:e.autocomplete,"data-autofocus":C===!0||e.autofocus===!0||void 0,disabled:e.disable===!0,readonly:e.readonly===!0,...L.value};return C!==!0&&p===!0&&(Array.isArray(he.class)===!0?he.class=[...he.class,"no-pointer-events"]:he.class+=" no-pointer-events"),l.h("input",he)}function x(C){c!==null&&(clearTimeout(c),c=null),h!==null&&(clearTimeout(h),h=null),!(C&&C.target&&C.target.qComposing===!0)&&(Z(C.target.value||""),v=!0,g=u.value,O.focused.value!==!0&&(p!==!0||f.value===!0)&&O.focus(),e.onFilter!==void 0&&(c=setTimeout(()=>{c=null,re(u.value)},e.inputDebounce)))}function Z(C,X){u.value!==C&&(u.value=C,X===!0||e.inputDebounce===0||e.inputDebounce==="0"?n("inputValue",C):h=setTimeout(()=>{h=null,n("inputValue",C)},e.inputDebounce))}function ae(C,X,ee){v=ee!==!0,e.useInput===!0&&(Z(C,!0),(X===!0||ee!==!0)&&(g=C),X!==!0&&re(C))}function re(C,X,ee){if(e.onFilter===void 0||X!==!0&&O.focused.value!==!0)return;O.innerLoading.value===!0?n("filterAbort"):(O.innerLoading.value=!0,d.value=!0),C!==""&&e.multiple!==!0&&w.value.length!==0&&v!==!0&&C===me.value(w.value[0])&&(C="");const he=setTimeout(()=>{a.value===!0&&(a.value=!1)},10);_!==null&&clearTimeout(_),_=he,n("filter",C,(Te,Me)=>{(X===!0||O.focused.value===!0)&&_===he&&(clearTimeout(_),typeof Te=="function"&&Te(),d.value=!1,l.nextTick(()=>{O.innerLoading.value=!1,O.editable.value===!0&&(X===!0?a.value===!0&&gn():a.value===!0?oa(!0):a.value=!0),typeof Me=="function"&&l.nextTick(()=>{Me(o)}),typeof ee=="function"&&l.nextTick(()=>{ee(o)})}))},()=>{O.focused.value===!0&&_===he&&(clearTimeout(_),O.innerLoading.value=!1,d.value=!1),a.value===!0&&(a.value=!1)})}function ue(){return l.h(_i,{ref:T,class:G.value,style:e.popupContentStyle,modelValue:a.value,fit:e.menuShrink!==!0,cover:e.optionsCover===!0&&ge.value!==!0&&e.useInput!==!0,anchor:e.menuAnchor,self:e.menuSelf,offset:e.menuOffset,dark:le.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:e.popupNoRouteDismiss,square:k.value,transitionShow:e.transitionShow,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,separateClosePopup:!0,...We.value,onScrollPassive:H,onBeforeShow:id,onBeforeHide:Pe,onShow:De},cr)}function Pe(C){sd(C),Mn()}function De(){oe()}function gt(C){var X;At(C),(X=I.value)==null||X.focus(),f.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function Ie(C){At(C),l.nextTick(()=>{f.value=!1})}function $t(){const C=[l.h(gf,{class:`col-auto ${O.fieldClass.value}`,...j.value,for:O.targetUid.value,dark:le.value,square:!0,loading:d.value,itemAligned:!1,filled:!0,stackLabel:u.value.length!==0,...O.splitAttrs.listeners.value,onFocus:gt,onBlur:Ie},{...t,rawControl:()=>O.getControl(!0),before:void 0,after:void 0})];return a.value===!0&&C.push(l.h("div",{ref:N,class:G.value+" scroll",style:e.popupContentStyle,...We.value,onClick:St,onScrollPassive:H},cr())),l.h($r,{ref:M,modelValue:i.value,position:e.useInput===!0?"top":void 0,transitionShow:b,transitionHide:e.transitionHide,transitionDuration:e.transitionDuration,noRouteDismiss:e.popupNoRouteDismiss,onBeforeShow:id,onBeforeHide:Rn,onHide:na,onShow:jv},()=>l.h("div",{class:"q-select__dialog"+(le.value===!0?" q-select__dialog--dark q-dark":"")+(f.value===!0?" q-select__dialog--focused":"")},C))}function Rn(C){sd(C),M.value!==null&&M.value.__updateRefocusTarget(O.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),O.focused.value=!1}function na(C){gn(),O.focused.value===!1&&n("blur",C),Fn()}function jv(){const C=document.activeElement;(C===null||C.id!==O.targetUid.value)&&I.value!==null&&I.value!==C&&I.value.focus(),oe()}function Mn(){i.value!==!0&&(s.value=-1,a.value===!0&&(a.value=!1),O.focused.value===!1&&(_!==null&&(clearTimeout(_),_=null),O.innerLoading.value===!0&&(n("filterAbort"),O.innerLoading.value=!1,d.value=!1)))}function Bn(C){O.editable.value===!0&&(p===!0?(O.onControlFocusin(C),i.value=!0,l.nextTick(()=>{O.focus()})):O.focus(),e.onFilter!==void 0?re(u.value):(ge.value!==!0||t["no-option"]!==void 0)&&(a.value=!0))}function gn(){i.value=!1,Mn()}function Fn(){e.useInput===!0&&ae(e.multiple!==!0&&e.fillInput===!0&&w.value.length!==0&&me.value(w.value[0])||"",!0,!0)}function oa(C){let X=-1;if(C===!0){if(w.value.length!==0){const ee=J.value(w.value[0]);X=e.options.findIndex(he=>Vt(J.value(he),ee))}W(X)}He(X)}function Kv(C,X){a.value===!0&&O.innerLoading.value===!1&&(W(-1,!0),l.nextTick(()=>{a.value===!0&&O.innerLoading.value===!1&&(C>X?W():oa(!0))}))}function ad(){i.value===!1&&T.value!==null&&T.value.updatePosition()}function id(C){C!==void 0&&At(C),n("popupShow",C),O.hasPopupOpen=!0,O.onControlFocusin(C)}function sd(C){C!==void 0&&At(C),n("popupHide",C),O.hasPopupOpen=!1,O.onControlFocusout(C)}function ud(){p=r.platform.is.mobile!==!0&&e.behavior!=="dialog"?!1:e.behavior!=="menu"&&(e.useInput===!0?t["no-option"]!==void 0||e.onFilter!==void 0||ge.value===!1:!0),b=r.platform.is.ios===!0&&p===!0&&e.useInput===!0?"fade":e.transitionShow}return l.onBeforeUpdate(ud),l.onUpdated(ad),ud(),l.onBeforeUnmount(()=>{c!==null&&clearTimeout(c),h!==null&&clearTimeout(h)}),Object.assign(o,{showPopup:Bn,hidePopup:gn,removeAtIndex:fe,add:Et,toggleOption:rt,getOptionIndex:()=>s.value,setOptionIndex:He,moveOptionSelection:Ye,filter:re,updateMenuPosition:ad,updateInputValue:ae,isOptionSelected:qt,getEmittingOptionValue:q,isOptionDisabled:(...C)=>ve.value.apply(null,C)===!0,getOptionValue:(...C)=>J.value.apply(null,C),getOptionLabel:(...C)=>me.value.apply(null,C)}),Object.assign(O,{innerValue:w,fieldClass:l.computed(()=>`q-select q-field--auto-height q-select--with${e.useInput!==!0?"out":""}-input q-select--with${e.useChips!==!0?"out":""}-chips q-select--${e.multiple===!0?"multiple":"single"}`),inputRef:A,targetRef:I,hasValue:se,showPopup:Bn,floatingLabel:l.computed(()=>e.hideSelected!==!0&&se.value===!0||typeof u.value=="number"||u.value.length!==0||Kn(e.displayValue)),getControlChild:()=>{if(O.editable.value!==!1&&(i.value===!0||ge.value!==!0||t["no-option"]!==void 0))return p===!0?$t():ue();O.hasPopupOpen===!0&&(O.hasPopupOpen=!1)},controlEvents:{onFocusin(C){O.onControlFocusin(C)},onFocusout(C){O.onControlFocusout(C,()=>{Fn(),Mn()})},onClick(C){var X;if(St(C),p!==!0&&a.value===!0){Mn(),(X=I.value)==null||X.focus();return}Bn(C)}},getControl:C=>{const X=ea(),ee=C===!0||i.value!==!0||p!==!0;if(e.useInput===!0)X.push(ta(C,ee));else if(O.editable.value===!0){const Te=ee===!0?ut.value:void 0;X.push(l.h("input",{ref:ee===!0?I:void 0,key:"d_t",class:"q-select__focus-target",id:ee===!0?O.targetUid.value:void 0,value:Ee.value,readonly:!0,"data-autofocus":C===!0||e.autofocus===!0||void 0,...Te,onKeydown:hn,onKeyup:sr,onKeypress:go})),ee===!0&&typeof e.autocomplete=="string"&&e.autocomplete.length!==0&&X.push(l.h("input",{class:"q-select__autocomplete-input",autocomplete:e.autocomplete,tabindex:-1,onKeyup:Vn}))}if(P.value!==void 0&&e.disable!==!0&&de.value.length!==0){const Te=de.value.map(Me=>l.h("option",{value:Me,selected:!0}));X.push(l.h("select",{class:"hidden",name:P.value,multiple:e.multiple},Te))}const he=e.useInput===!0||ee!==!0?void 0:O.splitAttrs.attributes.value;return l.h("div",{class:"q-field__native row items-center",...he,...O.splitAttrs.listeners.value},X)},getInnerAppend:()=>e.loading!==!0&&d.value!==!0&&e.hideDropdownIcon!==!0?[l.h(Ve,{class:"q-select__dropdown-icon"+(a.value===!0?" rotate-180":""),name:E.value})]:null}),xr(O)}}),nm={xs:2,sm:4,md:6,lg:10,xl:14};function Ai(e,t,n){return{transform:t===!0?`translateX(${n.lang.rtl===!0?"-":""}100%) scale3d(${-e},1,1)`:`scale3d(${e},1,1)`}}const om=be({name:"QLinearProgress",props:{...dt,...Un,value:{type:Number,default:0},buffer:Number,color:String,trackColor:String,reverse:Boolean,stripe:Boolean,indeterminate:Boolean,query:Boolean,rounded:Boolean,animationSpeed:{type:[String,Number],default:2100},instantFeedback:Boolean},setup(e,{slots:t}){const{proxy:n}=l.getCurrentInstance(),o=ft(e,n.$q),r=Hn(e,nm),a=l.computed(()=>e.indeterminate===!0||e.query===!0),i=l.computed(()=>e.reverse!==e.query),s=l.computed(()=>({...r.value!==null?r.value:{},"--q-linear-progress-speed":`${e.animationSpeed}ms`})),u=l.computed(()=>"q-linear-progress"+(e.color!==void 0?` text-${e.color}`:"")+(e.reverse===!0||e.query===!0?" q-linear-progress--reverse":"")+(e.rounded===!0?" rounded-borders":"")),f=l.computed(()=>Ai(e.buffer!==void 0?e.buffer:1,i.value,n.$q)),d=l.computed(()=>`with${e.instantFeedback===!0?"out":""}-transition`),c=l.computed(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${d.value} q-linear-progress__track--${o.value===!0?"dark":"light"}`+(e.trackColor!==void 0?` bg-${e.trackColor}`:"")),h=l.computed(()=>Ai(a.value===!0?1:e.value,i.value,n.$q)),m=l.computed(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${d.value} q-linear-progress__model--${a.value===!0?"in":""}determinate`),p=l.computed(()=>({width:`${e.value*100}%`})),v=l.computed(()=>`q-linear-progress__stripe absolute-${e.reverse===!0?"right":"left"} q-linear-progress__stripe--${d.value}`);return()=>{const _=[l.h("div",{class:c.value,style:f.value}),l.h("div",{class:m.value,style:h.value})];return e.stripe===!0&&a.value===!1&&_.push(l.h("div",{class:v.value,style:p.value})),l.h("div",{class:u.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":e.indeterminate===!0?void 0:e.value},Rt(t.default,_))}}});function rm(e,t){const n=l.ref(null),o=l.computed(()=>e.disable===!0?null:l.h("span",{ref:n,class:"no-outline",tabindex:-1}));function r(a){const i=t.value;(a==null?void 0:a.qAvoidFocus)!==!0&&((a==null?void 0:a.type.indexOf("key"))===0?document.activeElement!==i&&(i==null?void 0:i.contains(document.activeElement))===!0&&i.focus():n.value!==null&&(a===void 0||(i==null?void 0:i.contains(a.target))===!0)&&n.value.focus())}return{refocusTargetEl:o,refocusTarget:r}}const lm={xs:30,sm:35,md:40,lg:50,xl:60},am={...dt,...Un,...Ur,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]},im=["update:modelValue"];function sm(e,t){const{props:n,slots:o,emit:r,proxy:a}=l.getCurrentInstance(),{$q:i}=a,s=ft(n,i),u=l.ref(null),{refocusTargetEl:f,refocusTarget:d}=rm(n,u),c=Hn(n,lm),h=l.computed(()=>n.val!==void 0&&Array.isArray(n.modelValue)),m=l.computed(()=>{const D=l.toRaw(n.val);return h.value===!0?n.modelValue.findIndex(K=>l.toRaw(K)===D):-1}),p=l.computed(()=>h.value===!0?m.value!==-1:l.toRaw(n.modelValue)===l.toRaw(n.trueValue)),v=l.computed(()=>h.value===!0?m.value===-1:l.toRaw(n.modelValue)===l.toRaw(n.falseValue)),_=l.computed(()=>p.value===!1&&v.value===!1),g=l.computed(()=>n.disable===!0?-1:n.tabindex||0),b=l.computed(()=>`q-${e} cursor-pointer no-outline row inline no-wrap items-center`+(n.disable===!0?" disabled":"")+(s.value===!0?` q-${e}--dark`:"")+(n.dense===!0?` q-${e}--dense`:"")+(n.leftLabel===!0?" reverse":"")),S=l.computed(()=>{const D=p.value===!0?"truthy":v.value===!0?"falsy":"indet",K=n.color!==void 0&&(n.keepColor===!0||v.value!==!0)?` text-${n.color}`:"";return`q-${e}__inner relative-position non-selectable q-${e}__inner--${D}${K}`}),y=l.computed(()=>{const D={type:"checkbox"};return n.name!==void 0&&Object.assign(D,{".checked":p.value,"^checked":p.value===!0?"checked":void 0,name:n.name,value:h.value===!0?n.val:n.trueValue}),D}),A=Yf(y),I=l.computed(()=>{const D={tabindex:g.value,role:"checkbox","aria-label":n.label,"aria-checked":_.value===!0?"mixed":p.value===!0?"true":"false"};return n.disable===!0&&(D["aria-disabled"]="true"),D});function T(D){D!==void 0&&(ze(D),d(D)),n.disable!==!0&&r("update:modelValue",M(),D)}function M(){if(h.value===!0){if(p.value===!0){const D=n.modelValue.slice();return D.splice(m.value,1),D}return n.modelValue.concat([n.val])}if(p.value===!0){if(n.toggleOrder!=="ft"||n.toggleIndeterminate===!1)return n.falseValue}else if(v.value===!0){if(n.toggleOrder==="ft"||n.toggleIndeterminate===!1)return n.trueValue}else return n.toggleOrder!=="ft"?n.trueValue:n.falseValue;return n.indeterminateValue}function N(D){(D.keyCode===13||D.keyCode===32)&&ze(D)}function P(D){(D.keyCode===13||D.keyCode===32)&&T(D)}const F=t(p,_);return Object.assign(a,{toggle:T}),()=>{const D=F();n.disable!==!0&&A(D,"unshift",` q-${e}__native absolute q-ma-none q-pa-none`);const K=[l.h("div",{class:S.value,style:c.value,"aria-hidden":"true"},D)];f.value!==null&&K.push(f.value);const V=n.label!==void 0?Rt(o.default,[n.label]):ke(o.default);return V!==void 0&&K.push(l.h("div",{class:`q-${e}__label q-anchor--skip`},V)),l.h("div",{ref:u,class:b.value,...I.value,onClick:T,onKeydown:N,onKeyup:P},K)}}const um=()=>l.h("div",{key:"svg",class:"q-checkbox__bg absolute"},[l.h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[l.h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),l.h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),zt=be({name:"QCheckbox",props:am,emits:im,setup(e){const t=um();function n(o,r){const a=l.computed(()=>(o.value===!0?e.checkedIcon:r.value===!0?e.indeterminateIcon:e.uncheckedIcon)||null);return()=>a.value!==null?[l.h("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[l.h(Ve,{class:"q-checkbox__icon",name:a.value})])]:[t]}return sm("checkbox",n)}}),Di={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},cm=Object.keys(Di),Ii={align:{type:String,validator:e=>cm.includes(e)}};function Ni(e){return l.computed(()=>{const t=e.align===void 0?e.vertical===!0?"stretch":"left":e.align;return`${e.vertical===!0?"items":"justify"}-${Di[t]}`})}const xi={none:0,xs:4,sm:8,md:16,lg:24,xl:32},dm={xs:8,sm:10,md:14,lg:20,xl:24},fm=["button","submit","reset"],mm=/[^\s]\/[^\s]/,hm=["flat","outline","push","unelevated"];function gm(e,t){return e.flat===!0?"flat":e.outline===!0?"outline":e.push===!0?"push":e.unelevated===!0?"unelevated":t}const pm={...{...Un,...Qa,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...hm.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:{...Ii.align,default:"center"},stack:Boolean,stretch:Boolean,loading:{type:Boolean,default:null},disable:Boolean},round:Boolean};function _m(e){const t=Hn(e,dm),n=Ni(e),{hasRouterLink:o,hasLink:r,linkTag:a,linkAttrs:i,navigateOnClick:s}=Xa({fallbackTag:"button"}),u=l.computed(()=>{const _=e.fab===!1&&e.fabMini===!1?t.value:{};return e.padding!==void 0?Object.assign({},_,{padding:e.padding.split(/\s+/).map(g=>g in xi?xi[g]+"px":g).join(" "),minWidth:"0",minHeight:"0"}):_}),f=l.computed(()=>e.rounded===!0||e.fab===!0||e.fabMini===!0),d=l.computed(()=>e.disable!==!0&&e.loading!==!0),c=l.computed(()=>d.value===!0?e.tabindex||0:-1),h=l.computed(()=>gm(e,"standard")),m=l.computed(()=>{const _={tabindex:c.value};return r.value===!0?Object.assign(_,i.value):fm.includes(e.type)===!0&&(_.type=e.type),a.value==="a"?(e.disable===!0?_["aria-disabled"]="true":_.href===void 0&&(_.role="button"),o.value!==!0&&mm.test(e.type)===!0&&(_.type=e.type)):e.disable===!0&&(_.disabled="",_["aria-disabled"]="true"),e.loading===!0&&e.percentage!==void 0&&Object.assign(_,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":e.percentage}),_}),p=l.computed(()=>{let _;e.color!==void 0?e.flat===!0||e.outline===!0?_=`text-${e.textColor||e.color}`:_=`bg-${e.color} text-${e.textColor||"white"}`:e.textColor&&(_=`text-${e.textColor}`);const g=e.round===!0?"round":`rectangle${f.value===!0?" q-btn--rounded":e.square===!0?" q-btn--square":""}`;return`q-btn--${h.value} q-btn--${g}`+(_!==void 0?" "+_:"")+(d.value===!0?" q-btn--actionable q-focusable q-hoverable":e.disable===!0?" disabled":"")+(e.fab===!0?" q-btn--fab":e.fabMini===!0?" q-btn--fab-mini":"")+(e.noCaps===!0?" q-btn--no-uppercase":"")+(e.dense===!0?" q-btn--dense":"")+(e.stretch===!0?" no-border-radius self-stretch":"")+(e.glossy===!0?" glossy":"")+(e.square?" q-btn--square":"")}),v=l.computed(()=>n.value+(e.stack===!0?" column":" row")+(e.noWrap===!0?" no-wrap text-no-wrap":"")+(e.loading===!0?" q-btn__content--hidden":""));return{classes:p,style:u,innerClasses:v,attributes:m,hasLink:r,linkTag:a,navigateOnClick:s,isActionable:d}}const{passiveCapture:_t}=Qe;let vn=null,yn=null,En=null;const It=be({name:"QBtn",props:{...pm,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(e,{slots:t,emit:n}){const{proxy:o}=l.getCurrentInstance(),{classes:r,style:a,innerClasses:i,attributes:s,hasLink:u,linkTag:f,navigateOnClick:d,isActionable:c}=_m(e),h=l.ref(null),m=l.ref(null);let p=null,v,_=null;const g=l.computed(()=>e.label!==void 0&&e.label!==null&&e.label!==""),b=l.computed(()=>e.disable===!0||e.ripple===!1?!1:{keyCodes:u.value===!0?[13,32]:[13],...e.ripple===!0?{}:e.ripple}),S=l.computed(()=>({center:e.round})),y=l.computed(()=>{const V=Math.max(0,Math.min(100,e.percentage));return V>0?{transition:"transform 0.6s",transform:`translateX(${V-100}%)`}:{}}),A=l.computed(()=>{if(e.loading===!0)return{onMousedown:K,onTouchstart:K,onClick:K,onKeydown:K,onKeyup:K};if(c.value===!0){const V={onClick:T,onKeydown:M,onMousedown:P};if(o.$q.platform.has.touch===!0){const ne=e.onTouchstart!==void 0?"":"Passive";V[`onTouchstart${ne}`]=N}return V}return{onClick:ze}}),I=l.computed(()=>({ref:h,class:"q-btn q-btn-item non-selectable no-outline "+r.value,style:a.value,...s.value,...A.value}));function T(V){if(h.value!==null){if(V!==void 0){if(V.defaultPrevented===!0)return;const ne=document.activeElement;if(e.type==="submit"&&ne!==document.body&&h.value.contains(ne)===!1&&ne.contains(h.value)===!1){V.qAvoidFocus!==!0&&h.value.focus();const W=()=>{var $;document.removeEventListener("keydown",ze,!0),document.removeEventListener("keyup",W,_t),($=h.value)==null||$.removeEventListener("blur",W,_t)};document.addEventListener("keydown",ze,!0),document.addEventListener("keyup",W,_t),h.value.addEventListener("blur",W,_t)}}d(V)}}function M(V){h.value!==null&&(n("keydown",V),Jt(V,[13,32])===!0&&yn!==h.value&&(yn!==null&&D(),V.defaultPrevented!==!0&&(V.qAvoidFocus!==!0&&h.value.focus(),yn=h.value,h.value.classList.add("q-btn--active"),document.addEventListener("keyup",F,!0),h.value.addEventListener("blur",F,_t)),ze(V)))}function N(V){h.value!==null&&(n("touchstart",V),V.defaultPrevented!==!0&&(vn!==h.value&&(vn!==null&&D(),vn=h.value,p=V.target,p.addEventListener("touchcancel",F,_t),p.addEventListener("touchend",F,_t)),v=!0,_!==null&&clearTimeout(_),_=setTimeout(()=>{_=null,v=!1},200)))}function P(V){h.value!==null&&(V.qSkipRipple=v===!0,n("mousedown",V),V.defaultPrevented!==!0&&En!==h.value&&(En!==null&&D(),En=h.value,h.value.classList.add("q-btn--active"),document.addEventListener("mouseup",F,_t)))}function F(V){if(h.value!==null&&!((V==null?void 0:V.type)==="blur"&&document.activeElement===h.value)){if((V==null?void 0:V.type)==="keyup"){if(yn===h.value&&Jt(V,[13,32])===!0){const ne=new MouseEvent("click",V);ne.qKeyEvent=!0,V.defaultPrevented===!0&&St(ne),V.cancelBubble===!0&&At(ne),h.value.dispatchEvent(ne),ze(V),V.qKeyEvent=!0}n("keyup",V)}D()}}function D(V){var W,$;const ne=m.value;V!==!0&&(vn===h.value||En===h.value)&&ne!==null&&ne!==document.activeElement&&(ne.setAttribute("tabindex",-1),ne.focus()),vn===h.value&&(p!==null&&(p.removeEventListener("touchcancel",F,_t),p.removeEventListener("touchend",F,_t)),vn=p=null),En===h.value&&(document.removeEventListener("mouseup",F,_t),En=null),yn===h.value&&(document.removeEventListener("keyup",F,!0),(W=h.value)==null||W.removeEventListener("blur",F,_t),yn=null),($=h.value)==null||$.classList.remove("q-btn--active")}function K(V){ze(V),V.qSkipRipple=!0}return l.onBeforeUnmount(()=>{D(!0)}),Object.assign(o,{click:V=>{c.value===!0&&T(V)}}),()=>{let V=[];e.icon!==void 0&&V.push(l.h(Ve,{name:e.icon,left:e.stack!==!0&&g.value===!0,role:"img"})),g.value===!0&&V.push(l.h("span",{class:"block"},[e.label])),V=Rt(t.default,V),e.iconRight!==void 0&&e.round===!1&&V.push(l.h(Ve,{name:e.iconRight,right:e.stack!==!0&&g.value===!0,role:"img"}));const ne=[l.h("span",{class:"q-focus-helper",ref:m})];return e.loading===!0&&e.percentage!==void 0&&ne.push(l.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(e.darkPercentage===!0?" q-btn__progress--dark":"")},[l.h("span",{class:"q-btn__progress-indicator fit block",style:y.value})])),ne.push(l.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+i.value},V)),e.loading!==null&&ne.push(l.h(l.Transition,{name:"q-transition--fade"},()=>e.loading===!0?[l.h("span",{key:"loading",class:"absolute-full flex flex-center"},t.loading!==void 0?t.loading():[l.h(La)])]:null)),l.withDirectives(l.h(f.value,I.value,ne),[[ja,b.value,void 0,S.value]])}}});let Qn=0;const bm={fullscreen:Boolean,noRouteFullscreenExit:Boolean},vm=["update:fullscreen","fullscreen"];function ym(){const e=l.getCurrentInstance(),{props:t,emit:n,proxy:o}=e;let r,a,i;const s=l.ref(!1);Lr(e)===!0&&l.watch(()=>o.$route.fullPath,()=>{t.noRouteFullscreenExit!==!0&&d()}),l.watch(()=>t.fullscreen,c=>{s.value!==c&&u()}),l.watch(s,c=>{n("update:fullscreen",c),n("fullscreen",c)});function u(){s.value===!0?d():f()}function f(){s.value!==!0&&(s.value=!0,i=o.$el.parentNode,i.replaceChild(a,o.$el),document.body.appendChild(o.$el),Qn++,Qn===1&&document.body.classList.add("q-body--fullscreen-mixin"),r={handler:d},$n.add(r))}function d(){s.value===!0&&(r!==void 0&&($n.remove(r),r=void 0),i.replaceChild(o.$el,a),s.value=!1,Qn=Math.max(0,Qn-1),Qn===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),o.$el.scrollIntoView!==void 0&&setTimeout(()=>{o.$el.scrollIntoView()})))}return l.onBeforeMount(()=>{a=document.createElement("span")}),l.onMounted(()=>{t.fullscreen===!0&&f()}),l.onBeforeUnmount(d),Object.assign(o,{toggleFullscreen:u,setFullscreen:f,exitFullscreen:d}),{inFullscreen:s,toggleFullscreen:u}}function Em(e,t){return new Date(e)-new Date(t)}const Sm={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:e=>e==="ad"||e==="da",default:"ad"}};function Cm(e,t,n,o){const r=l.computed(()=>{const{sortBy:s}=t.value;return s&&n.value.find(u=>u.name===s)||null}),a=l.computed(()=>e.sortMethod!==void 0?e.sortMethod:(s,u,f)=>{const d=n.value.find(m=>m.name===u);if(d===void 0||d.field===void 0)return s;const c=f===!0?-1:1,h=typeof d.field=="function"?m=>d.field(m):m=>m[d.field];return s.sort((m,p)=>{let v=h(m),_=h(p);return d.rawSort!==void 0?d.rawSort(v,_,m,p)*c:v==null?-1*c:_==null?1*c:d.sort!==void 0?d.sort(v,_,m,p)*c:br(v)===!0&&br(_)===!0?(v-_)*c:yo(v)===!0&&yo(_)===!0?Em(v,_)*c:typeof v=="boolean"&&typeof _=="boolean"?(v-_)*c:([v,_]=[v,_].map(g=>(g+"").toLocaleString().toLowerCase()),v<_?-1*c:v===_?0:c)})});function i(s){let u=e.columnSortOrder;if(_r(s)===!0)s.sortOrder&&(u=s.sortOrder),s=s.name;else{const c=n.value.find(h=>h.name===s);c!=null&&c.sortOrder&&(u=c.sortOrder)}let{sortBy:f,descending:d}=t.value;f!==s?(f=s,d=u==="da"):e.binaryStateSort===!0?d=!d:d===!0?u==="ad"?f=null:d=!1:u==="ad"?d=!0:f=null,o({sortBy:f,descending:d,page:1})}return{columnToSort:r,computedSortMethod:a,sort:i}}const km={filter:[String,Object],filterMethod:Function};function wm(e,t){const n=l.computed(()=>e.filterMethod!==void 0?e.filterMethod:(o,r,a,i)=>{const s=r?r.toLowerCase():"";return o.filter(u=>a.some(f=>{const d=i(f,u)+"";return(d==="undefined"||d==="null"?"":d.toLowerCase()).indexOf(s)!==-1}))});return l.watch(()=>e.filter,()=>{l.nextTick(()=>{t({page:1},!0)})},{deep:!0}),{computedFilterMethod:n}}function Tm(e,t){for(const n in t)if(t[n]!==e[n])return!1;return!0}function Pi(e){return e.page<1&&(e.page=1),e.rowsPerPage!==void 0&&e.rowsPerPage<1&&(e.rowsPerPage=0),e}const Om={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function Am(e,t){const{props:n,emit:o}=e,r=l.ref(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:n.rowsPerPageOptions.length!==0?n.rowsPerPageOptions[0]:5},n.pagination)),a=l.computed(()=>{const d=n["onUpdate:pagination"]!==void 0?{...r.value,...n.pagination}:r.value;return Pi(d)}),i=l.computed(()=>a.value.rowsNumber!==void 0);function s(d){u({pagination:d,filter:n.filter})}function u(d={}){l.nextTick(()=>{o("request",{pagination:d.pagination||a.value,filter:d.filter||n.filter,getCellValue:t})})}function f(d,c){const h=Pi({...a.value,...d});if(Tm(a.value,h)===!0){i.value===!0&&c===!0&&s(h);return}if(i.value===!0){s(h);return}n.pagination!==void 0&&n["onUpdate:pagination"]!==void 0?o("update:pagination",h):r.value=h}return{innerPagination:r,computedPagination:a,isServerSide:i,requestServerInteraction:u,setPagination:f}}function Dm(e,t,n,o,r,a){const{props:i,emit:s,proxy:{$q:u}}=e,f=l.computed(()=>o.value===!0?n.value.rowsNumber||0:a.value),d=l.computed(()=>{const{page:y,rowsPerPage:A}=n.value;return(y-1)*A}),c=l.computed(()=>{const{page:y,rowsPerPage:A}=n.value;return y*A}),h=l.computed(()=>n.value.page===1),m=l.computed(()=>n.value.rowsPerPage===0?1:Math.max(1,Math.ceil(f.value/n.value.rowsPerPage))),p=l.computed(()=>c.value===0?!0:n.value.page>=m.value),v=l.computed(()=>(i.rowsPerPageOptions.includes(t.value.rowsPerPage)?i.rowsPerPageOptions:[t.value.rowsPerPage].concat(i.rowsPerPageOptions)).map(A=>({label:A===0?u.lang.table.allRows:""+A,value:A})));l.watch(m,(y,A)=>{if(y===A)return;const I=n.value.page;y&&!I?r({page:1}):y<I&&r({page:y})});function _(){r({page:1})}function g(){const{page:y}=n.value;y>1&&r({page:y-1})}function b(){const{page:y,rowsPerPage:A}=n.value;c.value>0&&y*A<f.value&&r({page:y+1})}function S(){r({page:m.value})}return i["onUpdate:pagination"]!==void 0&&s("update:pagination",{...n.value}),{firstRowIndex:d,lastRowIndex:c,isFirstPage:h,isLastPage:p,pagesNumber:m,computedRowsPerPageOptions:v,computedRowsNumber:f,firstPage:_,prevPage:g,nextPage:b,lastPage:S}}const Im={selection:{type:String,default:"none",validator:e=>["single","multiple","none"].includes(e)},selected:{type:Array,default:()=>[]}},Nm=["update:selected","selection"];function xm(e,t,n,o){const r=l.computed(()=>{const p={};return e.selected.map(o.value).forEach(v=>{p[v]=!0}),p}),a=l.computed(()=>e.selection!=="none"),i=l.computed(()=>e.selection==="single"),s=l.computed(()=>e.selection==="multiple"),u=l.computed(()=>n.value.length!==0&&n.value.every(p=>r.value[o.value(p)]===!0)),f=l.computed(()=>u.value!==!0&&n.value.some(p=>r.value[o.value(p)]===!0)),d=l.computed(()=>e.selected.length);function c(p){return r.value[p]===!0}function h(){t("update:selected",[])}function m(p,v,_,g){t("selection",{rows:v,added:_,keys:p,evt:g});const b=i.value===!0?_===!0?v:[]:_===!0?e.selected.concat(v):e.selected.filter(S=>p.includes(o.value(S))===!1);t("update:selected",b)}return{hasSelectionMode:a,singleSelection:i,multipleSelection:s,allRowsSelected:u,someRowsSelected:f,rowsSelectedNumber:d,isRowSelected:c,clearSelection:h,updateSelection:m}}function Li(e){return Array.isArray(e)?e.slice():[]}const Pm={expanded:Array},Lm=["update:expanded"];function Vm(e,t){const n=l.ref(Li(e.expanded));l.watch(()=>e.expanded,i=>{n.value=Li(i)});function o(i){return n.value.includes(i)}function r(i){e.expanded!==void 0?t("update:expanded",i):n.value=i}function a(i,s){const u=n.value.slice(),f=u.indexOf(i);s===!0?f===-1&&(u.push(i),r(u)):f!==-1&&(u.splice(f,1),r(u))}return{isRowExpanded:o,setExpanded:r,updateExpanded:a}}const Rm={visibleColumns:Array};function Mm(e,t,n){const o=l.computed(()=>{if(e.columns!==void 0)return e.columns;const s=e.rows[0];return s!==void 0?Object.keys(s).map(u=>({name:u,label:u.toUpperCase(),field:u,align:br(s[u])?"right":"left",sortable:!0})):[]}),r=l.computed(()=>{const{sortBy:s,descending:u}=t.value;return(e.visibleColumns!==void 0?o.value.filter(d=>d.required===!0||e.visibleColumns.includes(d.name)===!0):o.value).map(d=>{const c=d.align||"right",h=`text-${c}`;return{...d,align:c,__iconClass:`q-table__sort-icon q-table__sort-icon--${c}`,__thClass:h+(d.headerClasses!==void 0?" "+d.headerClasses:"")+(d.sortable===!0?" sortable":"")+(d.name===s?` sorted ${u===!0?"sort-desc":""}`:""),__tdStyle:d.style!==void 0?typeof d.style!="function"?()=>d.style:d.style:()=>null,__tdClass:d.classes!==void 0?typeof d.classes!="function"?()=>h+" "+d.classes:m=>h+" "+d.classes(m):()=>h}})}),a=l.computed(()=>{const s={};return r.value.forEach(u=>{s[u.name]=u}),s}),i=l.computed(()=>e.tableColspan!==void 0?e.tableColspan:r.value.length+(n.value===!0?1:0));return{colList:o,computedCols:r,computedColsMap:a,computedColspan:i}}const Po="q-table__bottom row items-center",Vi={};Da.forEach(e=>{Vi[e]={}});const Bm=be({name:"QTable",props:{rows:{type:Array,required:!0},rowKey:{type:[String,Function],default:"id"},columns:Array,loading:Boolean,iconFirstPage:String,iconPrevPage:String,iconNextPage:String,iconLastPage:String,title:String,hideHeader:Boolean,grid:Boolean,gridHeader:Boolean,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,separator:{type:String,default:"horizontal",validator:e=>["horizontal","vertical","cell","none"].includes(e)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...Vi,noDataLabel:String,noResultsLabel:String,loadingLabel:String,selectedRowsLabel:Function,rowsPerPageLabel:String,paginationLabel:Function,color:{type:String,default:"grey-8"},titleClass:[String,Array,Object],tableStyle:[String,Array,Object],tableClass:[String,Array,Object],tableHeaderStyle:[String,Array,Object],tableHeaderClass:[String,Array,Object],tableRowStyleFn:Function,tableRowClassFn:Function,cardContainerClass:[String,Array,Object],cardContainerStyle:[String,Array,Object],cardStyle:[String,Array,Object],cardClass:[String,Array,Object],cardStyleFn:Function,cardClassFn:Function,hideBottom:Boolean,hideSelectedBanner:Boolean,hideNoData:Boolean,hidePagination:Boolean,onRowClick:Function,onRowDblclick:Function,onRowContextmenu:Function,...dt,...bm,...Rm,...km,...Om,...Pm,...Im,...Sm},emits:["request","virtualScroll",...vm,...Lm,...Nm],setup(e,{slots:t,emit:n}){const o=l.getCurrentInstance(),{proxy:{$q:r}}=o,a=ft(e,r),{inFullscreen:i,toggleFullscreen:s}=ym(),u=l.computed(()=>typeof e.rowKey=="function"?e.rowKey:x=>x[e.rowKey]),f=l.ref(null),d=l.ref(null),c=l.computed(()=>e.grid!==!0&&e.virtualScroll===!0),h=l.computed(()=>" q-table__card"+(a.value===!0?" q-table__card--dark q-dark":"")+(e.square===!0?" q-table--square":"")+(e.flat===!0?" q-table--flat":"")+(e.bordered===!0?" q-table--bordered":"")),m=l.computed(()=>`q-table__container q-table--${e.separator}-separator column no-wrap`+(e.grid===!0?" q-table--grid":h.value)+(a.value===!0?" q-table--dark":"")+(e.dense===!0?" q-table--dense":"")+(e.wrapCells===!1?" q-table--no-wrap":"")+(i.value===!0?" fullscreen scroll":"")),p=l.computed(()=>m.value+(e.loading===!0?" q-table--loading":""));l.watch(()=>e.tableStyle+e.tableClass+e.tableHeaderStyle+e.tableHeaderClass+m.value,()=>{var x;c.value===!0&&((x=d.value)==null||x.reset())});const{innerPagination:v,computedPagination:_,isServerSide:g,requestServerInteraction:b,setPagination:S}=Am(o,He),{computedFilterMethod:y}=wm(e,S),{isRowExpanded:A,setExpanded:I,updateExpanded:T}=Vm(e,n),M=l.computed(()=>{let x=e.rows;if(g.value===!0||x.length===0)return x;const{sortBy:Z,descending:ae}=_.value;return e.filter&&(x=y.value(x,e.filter,O.value,He)),le.value!==null&&(x=se.value(e.rows===x?x.slice():x,Z,ae)),x}),N=l.computed(()=>M.value.length),P=l.computed(()=>{let x=M.value;if(g.value===!0)return x;const{rowsPerPage:Z}=_.value;return Z!==0&&(G.value===0&&e.rows!==x?x.length>ge.value&&(x=x.slice(0,ge.value)):x=x.slice(G.value,ge.value)),x}),{hasSelectionMode:F,singleSelection:D,multipleSelection:K,allRowsSelected:V,someRowsSelected:ne,rowsSelectedNumber:W,isRowSelected:$,clearSelection:H,updateSelection:Q}=xm(e,n,P,u),{colList:oe,computedCols:O,computedColsMap:w,computedColspan:j}=Mm(e,_,F),{columnToSort:le,computedSortMethod:se,sort:U}=Cm(e,_,oe,S),{firstRowIndex:G,lastRowIndex:ge,isFirstPage:z,isLastPage:Ee,pagesNumber:xe,computedRowsPerPageOptions:vt,computedRowsNumber:Le,firstPage:ut,prevPage:We,nextPage:Ze,lastPage:yt}=Dm(o,v,_,g,S,N),E=l.computed(()=>P.value.length===0),k=l.computed(()=>{const x={};return Da.forEach(Z=>{x[Z]=e[Z]}),x.virtualScrollItemSize===void 0&&(x.virtualScrollItemSize=e.dense===!0?28:48),x});function R(){c.value===!0&&d.value.reset()}function J(){if(e.grid===!0)return ta();const x=e.hideHeader!==!0?ho:null;if(c.value===!0){const ae=t["top-row"],re=t["bottom-row"],ue={default:Pe=>L(Pe.item,t.body,Pe.index)};if(ae!==void 0){const Pe=l.h("tbody",ae({cols:O.value}));ue.before=x===null?()=>Pe:()=>[x()].concat(Pe)}else x!==null&&(ue.before=x);return re!==void 0&&(ue.after=()=>l.h("tbody",re({cols:O.value}))),l.h(tf,{ref:d,class:e.tableClass,style:e.tableStyle,...k.value,scrollTarget:e.virtualScrollTarget,items:P.value,type:"__qtable",tableColspan:j.value,onVirtualScroll:ve},ue)}const Z=[q()];return x!==null&&Z.unshift(x()),wa({class:["q-table__middle scroll",e.tableClass],style:e.tableStyle},Z)}function me(x,Z){if(d.value!==null){d.value.scrollTo(x,Z);return}x=parseInt(x,10);const ae=f.value.querySelector(`tbody tr:nth-of-type(${x+1})`);if(ae!==null){const re=f.value.querySelector(".q-table__middle.scroll"),ue=ae.offsetTop-e.virtualScrollStickySizeStart,Pe=ue<re.scrollTop?"decrease":"increase";re.scrollTop=ue,n("virtualScroll",{index:x,from:0,to:v.value.rowsPerPage-1,direction:Pe})}}function ve(x){n("virtualScroll",x)}function de(){return[l.h(om,{class:"q-table__linear-progress",color:e.color,dark:a.value,indeterminate:!0,trackColor:"transparent"})]}function L(x,Z,ae){const re=u.value(x),ue=$(re);if(Z!==void 0){const Ie={key:re,row:x,pageIndex:ae,__trClass:ue?"selected":""};if(e.tableRowStyleFn!==void 0&&(Ie.__trStyle=e.tableRowStyleFn(x)),e.tableRowClassFn!==void 0){const $t=e.tableRowClassFn(x);$t&&(Ie.__trClass=`${$t} ${Ie.__trClass}`)}return Z(fe(Ie))}const Pe=t["body-cell"],De=O.value.map(Ie=>{const $t=t[`body-cell-${Ie.name}`],Rn=$t!==void 0?$t:Pe;return Rn!==void 0?Rn(Ae({key:re,row:x,pageIndex:ae,col:Ie})):l.h("td",{class:Ie.__tdClass(x),style:Ie.__tdStyle(x)},He(Ie,x))});if(F.value===!0){const Ie=t["body-selection"],$t=Ie!==void 0?Ie(Et({key:re,row:x,pageIndex:ae})):[l.h(zt,{modelValue:ue,color:e.color,dark:a.value,dense:e.dense,"onUpdate:modelValue":(Rn,na)=>{Q([re],[x],Rn,na)}})];De.unshift(l.h("td",{class:"q-table--col-auto-width"},$t))}const gt={key:re,class:{selected:ue}};if(e.onRowClick!==void 0&&(gt.class["cursor-pointer"]=!0,gt.onClick=Ie=>{n("rowClick",Ie,x,ae)}),e.onRowDblclick!==void 0&&(gt.class["cursor-pointer"]=!0,gt.onDblclick=Ie=>{n("rowDblclick",Ie,x,ae)}),e.onRowContextmenu!==void 0&&(gt.class["cursor-pointer"]=!0,gt.onContextmenu=Ie=>{n("rowContextmenu",Ie,x,ae)}),e.tableRowStyleFn!==void 0&&(gt.style=e.tableRowStyleFn(x)),e.tableRowClassFn!==void 0){const Ie=e.tableRowClassFn(x);Ie&&(gt.class[Ie]=!0)}return l.h("tr",gt,De)}function q(){const x=t.body,Z=t["top-row"],ae=t["bottom-row"];let re=P.value.map((ue,Pe)=>L(ue,x,Pe));return Z!==void 0&&(re=Z({cols:O.value}).concat(re)),ae!==void 0&&(re=re.concat(ae({cols:O.value}))),l.h("tbody",re)}function fe(x){return rt(x),x.cols=x.cols.map(Z=>ct({...Z},"value",()=>He(Z,x.row))),x}function Ae(x){return rt(x),ct(x,"value",()=>He(x.col,x.row)),x}function Et(x){return rt(x),x}function rt(x){Object.assign(x,{cols:O.value,colsMap:w.value,sort:U,rowIndex:G.value+x.pageIndex,color:e.color,dark:a.value,dense:e.dense}),F.value===!0&&ct(x,"selected",()=>$(x.key),(Z,ae)=>{Q([x.key],[x.row],Z,ae)}),ct(x,"expand",()=>A(x.key),Z=>{T(x.key,Z)})}function He(x,Z){const ae=typeof x.field=="function"?x.field(Z):Z[x.field];return x.format!==void 0?x.format(ae,Z):ae}const Ye=l.computed(()=>({pagination:_.value,pagesNumber:xe.value,isFirstPage:z.value,isLastPage:Ee.value,firstPage:ut,prevPage:We,nextPage:Ze,lastPage:yt,inFullscreen:i.value,toggleFullscreen:s}));function mo(){const x=t.top,Z=t["top-left"],ae=t["top-right"],re=t["top-selection"],ue=F.value===!0&&re!==void 0&&W.value>0,Pe="q-table__top relative-position row items-center";if(x!==void 0)return l.h("div",{class:Pe},[x(Ye.value)]);let De;if(ue===!0?De=re(Ye.value).slice():(De=[],Z!==void 0?De.push(l.h("div",{class:"q-table__control"},[Z(Ye.value)])):e.title&&De.push(l.h("div",{class:"q-table__control"},[l.h("div",{class:["q-table__title",e.titleClass]},e.title)]))),ae!==void 0&&(De.push(l.h("div",{class:"q-table__separator col"})),De.push(l.h("div",{class:"q-table__control"},[ae(Ye.value)]))),De.length!==0)return l.h("div",{class:Pe},De)}const qt=l.computed(()=>ne.value===!0?null:V.value);function ho(){const x=sr();return e.loading===!0&&t.loading===void 0&&x.push(l.h("tr",{class:"q-table__progress"},[l.h("th",{class:"relative-position",colspan:j.value},de())])),l.h("thead",x)}function sr(){const x=t.header,Z=t["header-cell"];if(x!==void 0)return x(Vn({header:!0})).slice();const ae=O.value.map(re=>{const ue=t[`header-cell-${re.name}`],Pe=ue!==void 0?ue:Z,De=Vn({col:re});return Pe!==void 0?Pe(De):l.h(Cr,{key:re.name,props:De},()=>re.label)});if(D.value===!0&&e.grid!==!0)ae.unshift(l.h("th",{class:"q-table--col-auto-width"}," "));else if(K.value===!0){const re=t["header-selection"],ue=re!==void 0?re(Vn({})):[l.h(zt,{color:e.color,modelValue:qt.value,dark:a.value,dense:e.dense,"onUpdate:modelValue":go})];ae.unshift(l.h("th",{class:"q-table--col-auto-width"},ue))}return[l.h("tr",{class:e.tableHeaderClass,style:e.tableHeaderStyle},ae)]}function Vn(x){return Object.assign(x,{cols:O.value,sort:U,colsMap:w.value,color:e.color,dark:a.value,dense:e.dense}),K.value===!0&&ct(x,"selected",()=>qt.value,go),x}function go(x){ne.value===!0&&(x=!1),Q(P.value.map(u.value),P.value,x)}const hn=l.computed(()=>{const x=[e.iconFirstPage||r.iconSet.table.firstPage,e.iconPrevPage||r.iconSet.table.prevPage,e.iconNextPage||r.iconSet.table.nextPage,e.iconLastPage||r.iconSet.table.lastPage];return r.lang.rtl===!0?x.reverse():x});function ur(){if(e.hideBottom===!0)return;if(E.value===!0){if(e.hideNoData===!0)return;const ae=e.loading===!0?e.loadingLabel||r.lang.table.loading:e.filter?e.noResultsLabel||r.lang.table.noResults:e.noDataLabel||r.lang.table.noData,re=t["no-data"],ue=re!==void 0?[re({message:ae,icon:r.iconSet.table.warning,filter:e.filter})]:[l.h(Ve,{class:"q-table__bottom-nodata-icon",name:r.iconSet.table.warning}),ae];return l.h("div",{class:Po+" q-table__bottom--nodata"},ue)}const x=t.bottom;if(x!==void 0)return l.h("div",{class:Po},[x(Ye.value)]);const Z=e.hideSelectedBanner!==!0&&F.value===!0&&W.value>0?[l.h("div",{class:"q-table__control"},[l.h("div",[(e.selectedRowsLabel||r.lang.table.selectedRecords)(W.value)])])]:[];if(e.hidePagination!==!0)return l.h("div",{class:Po+" justify-end"},ea(Z));if(Z.length!==0)return l.h("div",{class:Po},Z)}function Jl(x){S({page:1,rowsPerPage:x.value})}function ea(x){let Z;const{rowsPerPage:ae}=_.value,re=e.paginationLabel||r.lang.table.pagination,ue=t.pagination,Pe=e.rowsPerPageOptions.length>1;if(x.push(l.h("div",{class:"q-table__separator col"})),Pe===!0&&x.push(l.h("div",{class:"q-table__control"},[l.h("span",{class:"q-table__bottom-item"},[e.rowsPerPageLabel||r.lang.table.recordsPerPage]),l.h(zr,{class:"q-table__select inline q-table__bottom-item",color:e.color,modelValue:ae,options:vt.value,displayValue:ae===0?r.lang.table.allRows:ae,dark:a.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":Jl})])),ue!==void 0)Z=ue(Ye.value);else if(Z=[l.h("span",ae!==0?{class:"q-table__bottom-item"}:{},[ae?re(G.value+1,Math.min(ge.value,Le.value),Le.value):re(1,N.value,Le.value)])],ae!==0&&xe.value>1){const De={color:e.color,round:!0,dense:!0,flat:!0};e.dense===!0&&(De.size="sm"),xe.value>2&&Z.push(l.h(It,{key:"pgFirst",...De,icon:hn.value[0],disable:z.value,ariaLabel:r.lang.pagination.first,onClick:ut})),Z.push(l.h(It,{key:"pgPrev",...De,icon:hn.value[1],disable:z.value,ariaLabel:r.lang.pagination.prev,onClick:We}),l.h(It,{key:"pgNext",...De,icon:hn.value[2],disable:Ee.value,ariaLabel:r.lang.pagination.next,onClick:Ze})),xe.value>2&&Z.push(l.h(It,{key:"pgLast",...De,icon:hn.value[3],disable:Ee.value,ariaLabel:r.lang.pagination.last,onClick:yt}))}return x.push(l.h("div",{class:"q-table__control"},Z)),x}function cr(){const x=e.gridHeader===!0?[l.h("table",{class:"q-table"},[ho()])]:e.loading===!0&&t.loading===void 0?de():void 0;return l.h("div",{class:"q-table__middle"},x)}function ta(){const x=t.item!==void 0?t.item:Z=>{const ae=Z.cols.map(ue=>l.h("div",{class:"q-table__grid-item-row"},[l.h("div",{class:"q-table__grid-item-title"},[ue.label]),l.h("div",{class:"q-table__grid-item-value"},[ue.value])]));if(F.value===!0){const ue=t["body-selection"],Pe=ue!==void 0?ue(Z):[l.h(zt,{modelValue:Z.selected,color:e.color,dark:a.value,dense:e.dense,"onUpdate:modelValue":(De,gt)=>{Q([Z.key],[Z.row],De,gt)}})];ae.unshift(l.h("div",{class:"q-table__grid-item-row"},Pe),l.h(pa,{dark:a.value}))}const re={class:["q-table__grid-item-card"+h.value,e.cardClass],style:e.cardStyle};if(e.cardStyleFn!==void 0&&(re.style=[re.style,e.cardStyleFn(Z.row)]),e.cardClassFn!==void 0){const ue=e.cardClassFn(Z.row);ue&&(re.class[0]+=` ${ue}`)}return(e.onRowClick!==void 0||e.onRowDblclick!==void 0||e.onRowContextmenu!==void 0)&&(re.class[0]+=" cursor-pointer",e.onRowClick!==void 0&&(re.onClick=ue=>{n("RowClick",ue,Z.row,Z.pageIndex)}),e.onRowDblclick!==void 0&&(re.onDblclick=ue=>{n("RowDblclick",ue,Z.row,Z.pageIndex)}),e.onRowContextmenu!==void 0&&(re.onContextmenu=ue=>{n("rowContextmenu",ue,Z.row,Z.pageIndex)})),l.h("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(Z.selected===!0?" q-table__grid-item--selected":"")},[l.h("div",re,ae)])};return l.h("div",{class:["q-table__grid-content row",e.cardContainerClass],style:e.cardContainerStyle},P.value.map((Z,ae)=>x(fe({key:u.value(Z),row:Z,pageIndex:ae}))))}return Object.assign(o.proxy,{requestServerInteraction:b,setPagination:S,firstPage:ut,prevPage:We,nextPage:Ze,lastPage:yt,isRowSelected:$,clearSelection:H,isRowExpanded:A,setExpanded:I,sort:U,resetVirtualScroll:R,scrollTo:me,getCellValue:He}),cd(o.proxy,{filteredSortedRows:()=>M.value,computedRows:()=>P.value,computedRowsNumber:()=>Le.value}),()=>{const x=[mo()],Z={ref:f,class:p.value};return e.grid===!0?x.push(cr()):Object.assign(Z,{class:[Z.class,e.cardClass],style:e.cardStyle}),x.push(J(),ur()),e.loading===!0&&t.loading!==void 0&&x.push(t.loading()),l.h("div",Z,x)}}}),Fm=be({name:"QTr",props:{props:Object,noHover:Boolean},setup(e,{slots:t}){const n=l.computed(()=>"q-tr"+(e.props===void 0||e.props.header===!0?"":" "+e.props.__trClass)+(e.noHover===!0?" q-tr--no-hover":""));return()=>{var o;return l.h("tr",{style:(o=e.props)==null?void 0:o.__trStyle,class:n.value},ke(t.default))}}}),qm={name:"TableSlotHeader",props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},smallDevice:{type:Boolean,required:!0}},data(){return{tablePropsData:this.tableProps,showColumnsSelector:!1,showSearch:!1}},watch:{tableProps(e){this.tablePropsData=e}},methods:{}},tt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n};function $m(e,t,n,o,r,a){return l.openBlock(),l.createBlock(Fm,{class:"table-header"},{default:l.withCtx(()=>[n.selectionType!=="none"?(l.openBlock(),l.createBlock(Cr,{key:0},{default:l.withCtx(()=>[n.selectionType=="multiple"?(l.openBlock(),l.createBlock(zt,{key:0,modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=i=>r.tablePropsData.selected=i),size:"sm",class:"float-left"},null,8,["modelValue"])):l.createCommentVNode("",!0)]),_:1})):l.createCommentVNode("",!0),n.smallDevice?l.createCommentVNode("",!0):(l.openBlock(!0),l.createElementBlock(l.Fragment,{key:1},l.renderList(r.tablePropsData.cols,i=>(l.openBlock(),l.createBlock(Cr,{key:i.name,props:r.tablePropsData},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(i.label),1)]),_:2},1032,["props"]))),128))]),_:1})}const Um=tt(qm,[["render",$m]]),Hm={name:"TableColumnsSelector",props:{columns:{type:Array},visibleColumns:{type:Array,required:!0}},emits:["onSelectVisibleColumns"],data(){return{visibleColumnsData:[]}},watch:{visibleColumns(e){this.visibleColumnsData=e}},methods:{onSelectVisibleColumns(e){this.$emit("onSelectVisibleColumns",e)}}};function zm(e,t,n,o,r,a){return l.openBlock(),l.createBlock(zr,{modelValue:r.visibleColumnsData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.visibleColumnsData=i),a.onSelectVisibleColumns],multiple:"",outlined:"",dense:"","options-dense":"","display-value":e.$q.lang.table.columns,"emit-value":"","map-options":"",options:n.columns,"option-value":"name","options-cover":"",class:"columns-selector","options-selected-class":"addicional-visible-columns"},{option:l.withCtx(i=>[l.createVNode(Ht,l.mergeProps(i.itemProps,{class:i.opt.required?"required-table-columns":""}),{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,null,{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(i.opt.label),1)]),_:2},1024)]),_:2},1024)]),_:2},1040,["class"])]),_:1},8,["modelValue","display-value","options","onUpdate:modelValue"])}const jm=tt(Hm,[["render",zm]]),Ri=be({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(e,{slots:t}){const n=l.getCurrentInstance(),o=l.computed(()=>"q-td"+(e.autoWidth===!0?" q-table--col-auto-width":"")+(e.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(e.props===void 0)return l.h("td",{class:o.value},ke(t.default));const r=n.vnode.key,a=(e.props.colsMap!==void 0?e.props.colsMap[r]:null)||e.props.col;if(a===void 0)return;const{row:i}=e.props;return l.h("td",{class:o.value+a.__tdClass(i),style:a.__tdStyle(i)},ke(t.default))}}}),Mi={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},Lo={"#":{pattern:"[\\d]",negate:"[^\\d]"},S:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]"},N:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]"},A:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:e=>e.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:e=>e.toLocaleLowerCase()}},Bi=Object.keys(Lo);Bi.forEach(e=>{Lo[e].regex=new RegExp(Lo[e].pattern)});const Km=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+Bi.join("")+"])|(.)","g"),Fi=/[.*+?^${}()|[\]\\]/g,$e="",Wm={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function Ym(e,t,n,o){let r,a,i,s,u,f;const d=l.ref(null),c=l.ref(m());function h(){return e.autogrow===!0||["textarea","text","search","url","tel","password"].includes(e.type)}l.watch(()=>e.type+e.autogrow,v),l.watch(()=>e.mask,N=>{if(N!==void 0)_(c.value,!0);else{const P=T(c.value);v(),e.modelValue!==P&&t("update:modelValue",P)}}),l.watch(()=>e.fillMask+e.reverseFillMask,()=>{d.value===!0&&_(c.value,!0)}),l.watch(()=>e.unmaskedValue,()=>{d.value===!0&&_(c.value)});function m(){if(v(),d.value===!0){const N=A(T(e.modelValue));return e.fillMask!==!1?M(N):N}return e.modelValue}function p(N){if(N<r.length)return r.slice(-N);let P="",F=r;const D=F.indexOf($e);if(D!==-1){for(let K=N-F.length;K>0;K--)P+=$e;F=F.slice(0,D)+P+F.slice(D)}return F}function v(){if(d.value=e.mask!==void 0&&e.mask.length!==0&&h(),d.value===!1){s=void 0,r="",a="";return}const N=Mi[e.mask]===void 0?e.mask:Mi[e.mask],P=typeof e.fillMask=="string"&&e.fillMask.length!==0?e.fillMask.slice(0,1):"_",F=P.replace(Fi,"\\$&"),D=[],K=[],V=[];let ne=e.reverseFillMask===!0,W="",$="";N.replace(Km,(O,w,j,le,se)=>{if(le!==void 0){const U=Lo[le];V.push(U),$=U.negate,ne===!0&&(K.push("(?:"+$+"+)?("+U.pattern+"+)?(?:"+$+"+)?("+U.pattern+"+)?"),ne=!1),K.push("(?:"+$+"+)?("+U.pattern+")?")}else if(j!==void 0)W="\\"+(j==="\\"?"":j),V.push(j),D.push("([^"+W+"]+)?"+W+"?");else{const U=w!==void 0?w:se;W=U==="\\"?"\\\\\\\\":U.replace(Fi,"\\\\$&"),V.push(U),D.push("([^"+W+"]+)?"+W+"?")}});const H=new RegExp("^"+D.join("")+"("+(W===""?".":"[^"+W+"]")+"+)?"+(W===""?"":"["+W+"]*")+"$"),Q=K.length-1,oe=K.map((O,w)=>w===0&&e.reverseFillMask===!0?new RegExp("^"+F+"*"+O):w===Q?new RegExp("^"+O+"("+($===""?".":$)+"+)?"+(e.reverseFillMask===!0?"$":F+"*")):new RegExp("^"+O));i=V,s=O=>{const w=H.exec(e.reverseFillMask===!0?O:O.slice(0,V.length+1));w!==null&&(O=w.slice(1).join(""));const j=[],le=oe.length;for(let se=0,U=O;se<le;se++){const G=oe[se].exec(U);if(G===null)break;U=U.slice(G.shift().length),j.push(...G)}return j.length!==0?j.join(""):O},r=V.map(O=>typeof O=="string"?O:$e).join(""),a=r.split($e).join(P)}function _(N,P,F){const D=o.value,K=D.selectionEnd,V=D.value.length-K,ne=T(N);P===!0&&v();const W=A(ne),$=e.fillMask!==!1?M(W):W,H=c.value!==$;D.value!==$&&(D.value=$),H===!0&&(c.value=$),document.activeElement===D&&l.nextTick(()=>{if($===a){const oe=e.reverseFillMask===!0?a.length:0;D.setSelectionRange(oe,oe,"forward");return}if(F==="insertFromPaste"&&e.reverseFillMask!==!0){const oe=D.selectionEnd;let O=K-1;for(let w=u;w<=O&&w<oe;w++)r[w]!==$e&&O++;b.right(D,O);return}if(["deleteContentBackward","deleteContentForward"].indexOf(F)!==-1){const oe=e.reverseFillMask===!0?K===0?$.length>W.length?1:0:Math.max(0,$.length-($===a?0:Math.min(W.length,V)+1))+1:K;D.setSelectionRange(oe,oe,"forward");return}if(e.reverseFillMask===!0)if(H===!0){const oe=Math.max(0,$.length-($===a?0:Math.min(W.length,V+1)));oe===1&&K===1?D.setSelectionRange(oe,oe,"forward"):b.rightReverse(D,oe)}else{const oe=$.length-V;D.setSelectionRange(oe,oe,"backward")}else if(H===!0){const oe=Math.max(0,r.indexOf($e),Math.min(W.length,K)-1);b.right(D,oe)}else{const oe=K-1;b.right(D,oe)}});const Q=e.unmaskedValue===!0?T($):$;String(e.modelValue)!==Q&&(e.modelValue!==null||Q!=="")&&n(Q,!0)}function g(N,P,F){const D=A(T(N.value));P=Math.max(0,r.indexOf($e),Math.min(D.length,P)),u=P,N.setSelectionRange(P,F,"forward")}const b={left(N,P){const F=r.slice(P-1).indexOf($e)===-1;let D=Math.max(0,P-1);for(;D>=0;D--)if(r[D]===$e){P=D,F===!0&&P++;break}if(D<0&&r[P]!==void 0&&r[P]!==$e)return b.right(N,0);P>=0&&N.setSelectionRange(P,P,"backward")},right(N,P){const F=N.value.length;let D=Math.min(F,P+1);for(;D<=F;D++)if(r[D]===$e){P=D;break}else r[D-1]===$e&&(P=D);if(D>F&&r[P-1]!==void 0&&r[P-1]!==$e)return b.left(N,F);N.setSelectionRange(P,P,"forward")},leftReverse(N,P){const F=p(N.value.length);let D=Math.max(0,P-1);for(;D>=0;D--)if(F[D-1]===$e){P=D;break}else if(F[D]===$e&&(P=D,D===0))break;if(D<0&&F[P]!==void 0&&F[P]!==$e)return b.rightReverse(N,0);P>=0&&N.setSelectionRange(P,P,"backward")},rightReverse(N,P){const F=N.value.length,D=p(F),K=D.slice(0,P+1).indexOf($e)===-1;let V=Math.min(F,P+1);for(;V<=F;V++)if(D[V-1]===$e){P=V,P>0&&K===!0&&P--;break}if(V>F&&D[P-1]!==void 0&&D[P-1]!==$e)return b.leftReverse(N,F);N.setSelectionRange(P,P,"forward")}};function S(N){t("click",N),f=void 0}function y(N){if(t("keydown",N),gr(N)===!0||N.altKey===!0)return;const P=o.value,F=P.selectionStart,D=P.selectionEnd;if(N.shiftKey||(f=void 0),N.keyCode===37||N.keyCode===39){N.shiftKey&&f===void 0&&(f=P.selectionDirection==="forward"?F:D);const K=b[(N.keyCode===39?"right":"left")+(e.reverseFillMask===!0?"Reverse":"")];if(N.preventDefault(),K(P,f===F?D:F),N.shiftKey){const V=P.selectionStart;P.setSelectionRange(Math.min(f,V),Math.max(f,V),"forward")}}else N.keyCode===8&&e.reverseFillMask!==!0&&F===D?(b.left(P,F),P.setSelectionRange(P.selectionStart,D,"backward")):N.keyCode===46&&e.reverseFillMask===!0&&F===D&&(b.rightReverse(P,D),P.setSelectionRange(F,P.selectionEnd,"forward"))}function A(N){if(N==null||N==="")return"";if(e.reverseFillMask===!0)return I(N);const P=i;let F=0,D="";for(let K=0;K<P.length;K++){const V=N[F],ne=P[K];if(typeof ne=="string")D+=ne,V===ne&&F++;else if(V!==void 0&&ne.regex.test(V))D+=ne.transform!==void 0?ne.transform(V):V,F++;else return D}return D}function I(N){const P=i,F=r.indexOf($e);let D=N.length-1,K="";for(let V=P.length-1;V>=0&&D!==-1;V--){const ne=P[V];let W=N[D];if(typeof ne=="string")K=ne+K,W===ne&&D--;else if(W!==void 0&&ne.regex.test(W))do K=(ne.transform!==void 0?ne.transform(W):W)+K,D--,W=N[D];while(F===V&&W!==void 0&&ne.regex.test(W));else return K}return K}function T(N){return typeof N!="string"||s===void 0?typeof N=="number"?s(""+N):N:s(N)}function M(N){return a.length-N.length<=0?N:e.reverseFillMask===!0&&N.length!==0?a.slice(0,-N.length)+N:N+a.slice(N.length)}return{innerValue:c,hasMask:d,moveCursorForPaste:g,updateMaskValue:_,onMaskedKeydown:y,onMaskedClick:S}}function Gm(e,t){function n(){const o=e.modelValue;try{const r="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(o)===o&&("length"in o?Array.from(o):[o]).forEach(a=>{r.items.add(a)}),{files:r.files}}catch{return{files:void 0}}}return l.computed(()=>{if(e.type==="file")return n()})}const qi=be({name:"QInput",inheritAttrs:!1,props:{...Oo,...Wm,...Ur,modelValue:[String,Number,FileList],shadowText:String,type:{type:String,default:"text"},debounce:[String,Number],autogrow:Boolean,inputClass:[Array,String,Object],inputStyle:[Array,String,Object]},emits:[...Ir,"paste","change","keydown","click","animationend"],setup(e,{emit:t,attrs:n}){const{proxy:o}=l.getCurrentInstance(),{$q:r}=o,a={};let i=NaN,s,u,f=null,d;const c=l.ref(null),h=ki(e),{innerValue:m,hasMask:p,moveCursorForPaste:v,updateMaskValue:_,onMaskedKeydown:g,onMaskedClick:b}=Ym(e,t,W,c),S=Gm(e),y=l.computed(()=>Kn(m.value)),A=wi(V),I=Nr({changeEvent:!0}),T=l.computed(()=>e.type==="textarea"||e.autogrow===!0),M=l.computed(()=>T.value===!0||["text","search","url","tel","password"].includes(e.type)),N=l.computed(()=>{const w={...I.splitAttrs.listeners.value,onInput:V,onPaste:K,onChange:H,onBlur:Q,onFocus:At};return w.onCompositionstart=w.onCompositionupdate=w.onCompositionend=A,p.value===!0&&(w.onKeydown=g,w.onClick=b),e.autogrow===!0&&(w.onAnimationend=ne),w}),P=l.computed(()=>{const w={tabindex:0,"data-autofocus":e.autofocus===!0||void 0,rows:e.type==="textarea"?6:void 0,"aria-label":e.label,name:h.value,...I.splitAttrs.attributes.value,id:I.targetUid.value,maxlength:e.maxlength,disabled:e.disable===!0,readonly:e.readonly===!0};return T.value===!1&&(w.type=e.type),e.autogrow===!0&&(w.rows=1),w});l.watch(()=>e.type,()=>{c.value&&(c.value.value=e.modelValue)}),l.watch(()=>e.modelValue,w=>{if(p.value===!0){if(u===!0&&(u=!1,String(w)===i))return;_(w)}else m.value!==w&&(m.value=w,e.type==="number"&&a.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete a.value));e.autogrow===!0&&l.nextTick($)}),l.watch(()=>e.autogrow,w=>{w===!0?l.nextTick($):c.value!==null&&n.rows>0&&(c.value.style.height="auto")}),l.watch(()=>e.dense,()=>{e.autogrow===!0&&l.nextTick($)});function F(){To(()=>{const w=document.activeElement;c.value!==null&&c.value!==w&&(w===null||w.id!==I.targetUid.value)&&c.value.focus({preventScroll:!0})})}function D(){var w;(w=c.value)==null||w.select()}function K(w){if(p.value===!0&&e.reverseFillMask!==!0){const j=w.target;v(j,j.selectionStart,j.selectionEnd)}t("paste",w)}function V(w){if(!w||!w.target)return;if(e.type==="file"){t("update:modelValue",w.target.files);return}const j=w.target.value;if(w.target.qComposing===!0){a.value=j;return}if(p.value===!0)_(j,!1,w.inputType);else if(W(j),M.value===!0&&w.target===document.activeElement){const{selectionStart:le,selectionEnd:se}=w.target;le!==void 0&&se!==void 0&&l.nextTick(()=>{w.target===document.activeElement&&j.indexOf(w.target.value)===0&&w.target.setSelectionRange(le,se)})}e.autogrow===!0&&$()}function ne(w){t("animationend",w),$()}function W(w,j){d=()=>{f=null,e.type!=="number"&&a.hasOwnProperty("value")===!0&&delete a.value,e.modelValue!==w&&i!==w&&(i=w,j===!0&&(u=!0),t("update:modelValue",w),l.nextTick(()=>{i===w&&(i=NaN)})),d=void 0},e.type==="number"&&(s=!0,a.value=w),e.debounce!==void 0?(f!==null&&clearTimeout(f),a.value=w,f=setTimeout(d,e.debounce)):d()}function $(){requestAnimationFrame(()=>{const w=c.value;if(w!==null){const j=w.parentNode.style,{scrollTop:le}=w,{overflowY:se,maxHeight:U}=r.platform.is.firefox===!0?{}:window.getComputedStyle(w),G=se!==void 0&&se!=="scroll";G===!0&&(w.style.overflowY="hidden"),j.marginBottom=w.scrollHeight-1+"px",w.style.height="1px",w.style.height=w.scrollHeight+"px",G===!0&&(w.style.overflowY=parseInt(U,10)<w.scrollHeight?"auto":"hidden"),j.marginBottom="",w.scrollTop=le}})}function H(w){A(w),f!==null&&(clearTimeout(f),f=null),d==null||d(),t("change",w.target.value)}function Q(w){w!==void 0&&At(w),f!==null&&(clearTimeout(f),f=null),d==null||d(),s=!1,u=!1,delete a.value,e.type!=="file"&&setTimeout(()=>{c.value!==null&&(c.value.value=m.value!==void 0?m.value:"")})}function oe(){return a.hasOwnProperty("value")===!0?a.value:m.value!==void 0?m.value:""}l.onBeforeUnmount(()=>{Q()}),l.onMounted(()=>{e.autogrow===!0&&$()}),Object.assign(I,{innerValue:m,fieldClass:l.computed(()=>`q-${T.value===!0?"textarea":"input"}`+(e.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:l.computed(()=>e.type!=="file"&&typeof e.shadowText=="string"&&e.shadowText.length!==0),inputRef:c,emitValue:W,hasValue:y,floatingLabel:l.computed(()=>y.value===!0&&(e.type!=="number"||isNaN(m.value)===!1)||Kn(e.displayValue)),getControl:()=>l.h(T.value===!0?"textarea":"input",{ref:c,class:["q-field__native q-placeholder",e.inputClass],style:e.inputStyle,...P.value,...N.value,...e.type!=="file"?{value:oe()}:S.value}),getShadowControl:()=>l.h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(T.value===!0?"":" text-no-wrap")},[l.h("span",{class:"invisible"},oe()),l.h("span",e.shadowText)])});const O=xr(I);return Object.assign(o,{focus:F,select:D,getNativeElement:()=>c.value}),ct(o,"nativeEl",()=>c.value),O}});function Xn(e,t=new WeakMap){if(Object(e)!==e)return e;if(t.has(e))return t.get(e);const n=e instanceof Date?new Date(e):e instanceof RegExp?new RegExp(e.source,e.flags):e instanceof Set?new Set:e instanceof Map?new Map:typeof e.constructor!="function"?Object.create(null):e.prototype!==void 0&&typeof e.prototype.constructor=="function"?e:new e.constructor;if(typeof e.constructor=="function"&&typeof e.valueOf=="function"){const o=e.valueOf();if(Object(o)!==o){const r=new e.constructor(o);return t.set(e,r),r}}return t.set(e,n),e instanceof Set?e.forEach(o=>{n.add(Xn(o,t))}):e instanceof Map&&e.forEach((o,r)=>{n.set(r,Xn(o,t))}),Object.assign(n,...Object.keys(e).map(o=>({[o]:Xn(e[o],t)})))}const Qm=be({name:"QPopupEdit",props:{modelValue:{required:!0},title:String,buttons:Boolean,labelSet:String,labelCancel:String,color:{type:String,default:"primary"},validate:{type:Function,default:()=>!0},autoSave:Boolean,cover:{type:Boolean,default:!0},disable:Boolean},emits:["update:modelValue","save","cancel","beforeShow","show","beforeHide","hide"],setup(e,{slots:t,emit:n}){const{proxy:o}=l.getCurrentInstance(),{$q:r}=o,a=l.ref(null),i=l.ref(""),s=l.ref("");let u=!1;const f=l.computed(()=>ct({initialValue:i.value,validate:e.validate,set:d,cancel:c,updatePosition:h},"value",()=>s.value,y=>{s.value=y}));function d(){e.validate(s.value)!==!1&&(m()===!0&&(n("save",s.value,i.value),n("update:modelValue",s.value)),p())}function c(){m()===!0&&n("cancel",s.value,i.value),p()}function h(){l.nextTick(()=>{a.value.updatePosition()})}function m(){return Vt(s.value,i.value)===!1}function p(){u=!0,a.value.hide()}function v(){u=!1,i.value=Xn(e.modelValue),s.value=Xn(e.modelValue),n("beforeShow")}function _(){n("show")}function g(){u===!1&&m()===!0&&(e.autoSave===!0&&e.validate(s.value)===!0?(n("save",s.value,i.value),n("update:modelValue",s.value)):n("cancel",s.value,i.value)),n("beforeHide")}function b(){n("hide")}function S(){const y=t.default!==void 0?[].concat(t.default(f.value)):[];return e.title&&y.unshift(l.h("div",{class:"q-dialog__title q-mt-sm q-mb-sm"},e.title)),e.buttons===!0&&y.push(l.h("div",{class:"q-popup-edit__buttons row justify-center no-wrap"},[l.h(It,{flat:!0,color:e.color,label:e.labelCancel||r.lang.label.cancel,onClick:c}),l.h(It,{flat:!0,color:e.color,label:e.labelSet||r.lang.label.set,onClick:d})])),y}return Object.assign(o,{set:d,cancel:c,show(y){var A;(A=a.value)==null||A.show(y)},hide(y){var A;(A=a.value)==null||A.hide(y)},updatePosition:h}),()=>{if(e.disable!==!0)return l.h(_i,{ref:a,class:"q-popup-edit",cover:e.cover,onBeforeShow:v,onShow:_,onBeforeHide:g,onHide:b,onEscapeKey:c},S)}}}),Xm={name:"PopupEdit",props:{model:{type:[String,Number,Boolean,Array,Object],required:!0},label:{type:String,required:!0},dataCy:{type:String,required:!0},mask:{type:String,required:!0},inputType:{type:String,required:!0},inputMaxLength:{type:Number,required:!0},popupEditNumberOptions:{type:Array,default:()=>[]},showInputPopupEdit:{type:Boolean,required:!0},showSelectNumberOptions:{type:Boolean,required:!1}},emits:["popupEditUpdated","popupEditEmit","save"],data(){return{modelData:this.model}},methods:{validate(e){this.$refs.inputField.validate()?this.$emit("save",e):this.$q.notify({type:"negative",message:"Value not accepted",position:"bottom"})}}};function Zm(e,t,n,o,r,a){return l.openBlock(),l.createBlock(Qm,{modelValue:r.modelData,"onUpdate:modelValue":t[1]||(t[1]=i=>r.modelData=i),buttons:"","label-set":e.$t("table.confirm"),"label-cancel":e.$t("table.cancel"),onSave:a.validate,onCancel:()=>{}},{default:l.withCtx(i=>[n.showInputPopupEdit?(l.openBlock(),l.createBlock(qi,{key:0,ref:"inputField",modelValue:i.value,"onUpdate:modelValue":s=>i.value=s,"data-cy":n.dataCy,label:n.label,type:n.inputType,mask:n.mask,autogrow:n.inputType==="textarea",rules:[s=>s&&s.length>0||e.$t("form.rules.emptyField"),s=>s&&s.length<=n.inputMaxLength||e.$t("form.rules.exceedCharactersTypeList",[n.inputMaxLength])],dense:"",autofocus:"",onKeyup:t[0]||(t[0]=l.withKeys(l.withModifiers(()=>{},["stop"]),["enter"]))},null,8,["modelValue","onUpdate:modelValue","data-cy","label","type","mask","autogrow","rules"])):l.createCommentVNode("",!0),n.showSelectNumberOptions?(l.openBlock(),l.createBlock(zr,{key:1,ref:"selectField",modelValue:i.value,"onUpdate:modelValue":s=>i.value=s,"data-cy":n.dataCy,dense:"",options:n.popupEditNumberOptions},null,8,["modelValue","onUpdate:modelValue","data-cy","options"])):l.createCommentVNode("",!0)]),_:1},8,["modelValue","label-set","label-cancel","onSave"])}const $i=tt(Xm,[["render",Zm]]),Jm={name:"BasicCheckBox",props:{model:{type:Boolean,required:!0},tableProps:{type:Object,required:!0},dataCy:{type:String,required:!0}},emits:["checkBoxEmit"],data(){return{tablePropsData:this.tableProps,modelData:this.model}}};function eh(e,t,n,o,r,a){return l.openBlock(),l.createBlock(zt,{modelValue:r.modelData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.modelData=i),t[1]||(t[1]=i=>{e.$emit("checkBoxEmit",i)})],"data-cy":n.dataCy},null,8,["modelValue","data-cy"])}const Ui=tt(Jm,[["render",eh]]),th={name:"CustomizedCheckBox",props:{model:{type:Boolean,required:!0},tableProps:{type:Object,required:!0},dataCy:{type:String,required:!0},checkBoxColor:{type:String,required:!0},checkBoxIconSize:{type:String,required:!0},checkedIcon:{type:String,required:!0},uncheckedIcon:{type:String,required:!0}},emits:["checkBoxEmit"],data(){return{tablePropsData:this.tableProps,modelData:this.model}}};function nh(e,t,n,o,r,a){return l.openBlock(),l.createBlock(zt,{modelValue:r.modelData,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.modelData=i),t[1]||(t[1]=i=>{e.$emit("checkBoxEmit",i)})],"data-cy":n.dataCy,size:n.checkBoxIconSize,color:n.checkBoxColor,"keep-color":!0,"checked-icon":n.checkedIcon,"unchecked-icon":n.uncheckedIcon},null,8,["modelValue","data-cy","size","color","checked-icon","unchecked-icon"])}const Hi=tt(th,[["render",nh]]),oh={name:"CustomizedIcon",props:{model:{type:Boolean,required:!0},customizedIconSize:{type:String,required:!0},customizedIconName:{type:String,required:!0},customizedIconColor:{type:String,required:!0}}};function rh(e,t,n,o,r,a){return l.openBlock(),l.createBlock(Ve,{name:n.customizedIconName?n.customizedIconName:n.model?"check_circle":"cancel",color:n.customizedIconColor?n.customizedIconColor:n.model?"green":"red",size:n.customizedIconSize},null,8,["name","color","size"])}const zi=tt(oh,[["render",rh]]),lh={name:"CustomizedButton",props:{dataCy:{type:String,required:!0},btnColor:{type:String,required:!0},btnIcon:{type:String,required:!0}},emits:["onClickButton"],data:function(){return{}}};function ah(e,t,n,o,r,a){return l.openBlock(),l.createBlock(It,{"data-cy":n.dataCy,flat:"",round:"",color:n.btnColor,size:"md",onClick:t[0]||(t[0]=i=>e.$emit("onClickButton"))},{default:l.withCtx(()=>[l.createVNode(Ve,{name:n.btnIcon},null,8,["name"])]),_:1},8,["data-cy","color"])}const ji=tt(lh,[["render",ah]]),ih={name:"KTableSlotBody",components:{TablePopupEdit:$i,BasicCheckBox:Ui,CustomizedCheckBox:Hi,CustomizedIcon:zi,CustomizedButton:ji},props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},getCellClass:{type:Function,default:function(){}}},watch:{tableProps(e){this.tablePropsData=e}},emits:["onSaveValuePopupEdit","onUpdateBasicCheckboxValue","onClickButton","onUpdateCustomizedCheckboxValue"],data(){return{tablePropsData:this.tableProps}},methods:{getColumnValue(e){return!(e.showBasicCheckbox||e.showCustomizedCheckBox||e.showCustomizedIcon||e.showColumButton)}}},sh=["innerHTML"];function uh(e,t,n,o,r,a){const i=l.resolveComponent("TablePopupEdit"),s=l.resolveComponent("BasicCheckBox"),u=l.resolveComponent("CustomizedCheckBox"),f=l.resolveComponent("CustomizedIcon"),d=l.resolveComponent("CustomizedButton");return l.openBlock(),l.createElementBlock("tr",{class:l.normalizeClass(r.tablePropsData.row.rowBgColor||"bg-main-color")},[n.selectionType!="none"?(l.openBlock(),l.createBlock(Ri,{key:0,id:r.tablePropsData.row.id,"auto-width":""},{default:l.withCtx(()=>[l.createVNode(zt,{modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=c=>r.tablePropsData.selected=c),size:"sm"},null,8,["modelValue"])]),_:1},8,["id"])):l.createCommentVNode("",!0),(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.tablePropsData.cols,c=>(l.openBlock(),l.createBlock(Ri,{key:c.name,class:l.normalizeClass(r.tablePropsData.row.rowBgColor||"bg-main-color"),props:r.tablePropsData},{default:l.withCtx(()=>[a.getColumnValue(c)?(l.openBlock(),l.createElementBlock("span",{key:0,class:l.normalizeClass(n.getCellClass(r.tablePropsData.row,c)),innerHTML:r.tablePropsData.row[c.name]},null,10,sh)):l.createCommentVNode("",!0),c.editable?(l.openBlock(),l.createBlock(Ve,{key:1,name:"edit",color:"primary",size:"sm",class:"cursor-pointer"})):l.createCommentVNode("",!0),c.editable?(l.openBlock(),l.createBlock(i,{key:2,model:r.tablePropsData.row[c.name]||"",label:c.label,"data-cy":c.popupEditDataCy+"-"+r.tablePropsData.row.id,"input-max-length":c.inputMaxLength||20,mask:c.popupEditMask||"","input-type":c.popupEditInputtype||"text","show-input-popup-edit":c.showInputPopupEdit||!0,"show-select-number-options":c.showSelectNumberOptions||!1,"popup-edit-number-options":c.popupEditNumberOptions||[],onSave:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","input-max-length","mask","input-type","show-input-popup-edit","show-select-number-options","popup-edit-number-options","onSave"])):l.createCommentVNode("",!0),c.showBasicCheckbox?(l.openBlock(),l.createBlock(s,{key:3,"table-props":r.tablePropsData,"data-cy":c.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[c.name],onCheckBoxEmit:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.checkBoxEmit||"onUpdateBasicCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","onCheckBoxEmit"])):l.createCommentVNode("",!0),c.showCustomizedCheckBox?(l.openBlock(),l.createBlock(u,{key:4,"table-props":r.tablePropsData,"data-cy":c.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[c.name],"check-box-color":r.tablePropsData.row[c.name]?c.checkBoxColorCaseTrue:c.checkBoxColorCaseFalse,"check-box-icon-size":"md","checked-icon":c.checkedIcon,"unchecked-icon":c.uncheckedIcon,onCheckBoxEmit:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.checkBoxEmit||"onUpdateCustomizedCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","check-box-color","checked-icon","unchecked-icon","onCheckBoxEmit"])):l.createCommentVNode("",!0),c.showCustomizedIcon?(l.openBlock(),l.createBlock(f,{key:5,model:r.tablePropsData.row[c.name],"customized-icon-size":"sm","customized-icon-name":(r.tablePropsData.row[c.name]?c.customizedIconNameCaseTrue:c.customizedIconNameCaseFalse)||"","customized-icon-color":(r.tablePropsData.row[c.name]?c.customizedIconColorCaseTrue:c.customizedIconColorCaseFalse)||""},null,8,["model","customized-icon-name","customized-icon-color"])):l.createCommentVNode("",!0),c.showCustomizedButton?(l.openBlock(),l.createBlock(d,{key:6,"data-cy":c.colButtonDataCy+"-"+r.tablePropsData.row.id,"btn-color":c.btnColor||"primary","btn-icon":c.btnIcon||"",onOnClickButton:()=>{e.$emit("onClickButton",c.btnEmit,r.tablePropsData.row)}},null,8,["data-cy","btn-color","btn-icon","onOnClickButton"])):l.createCommentVNode("",!0)]),_:2},1032,["class","props"]))),128))],2)}const ch=tt(ih,[["render",uh]]),Ki=be({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(e,{slots:t}){const n=l.computed(()=>`q-card__section q-card__section--${e.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>l.h(e.tag,{class:n.value},ke(t.default))}}),jr=be({name:"QCard",props:{...dt,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=l.getCurrentInstance(),o=ft(e,n),r=l.computed(()=>"q-card"+(o.value===!0?" q-card--dark q-dark":"")+(e.bordered===!0?" q-card--bordered":"")+(e.square===!0?" q-card--square no-border-radius":"")+(e.flat===!0?" q-card--flat no-shadow":""));return()=>l.h(e.tag,{class:r.value},ke(t.default))}}),dh={name:"KTableSlotGrid",components:{TablePopupEdit:$i,BasicCheckBox:Ui,CustomizedCheckBox:Hi,CustomizedIcon:zi,CustomizedButton:ji},props:{tableProps:{type:Object,required:!0},selectionType:{type:String,default:"none"},popupEditNumberOptions:{type:Array},getCellClass:{type:Function,default:function(){}}},emits:["onSaveValuePopupEdit","onUpdateBasicCheckboxValue","onClickButton","onUpdateCustomizedCheckboxValue"],data(){return{tablePropsData:this.tableProps,selected:!1}},watch:{tableProps(e){this.tablePropsData=e}},mounted(){},methods:{getColumnValue(e){return!(e.showBasicCheckbox||e.showCustomizedCheckBox||e.showCustomizedIcon||e.showColumButton)}}},fh=["innerHTML"];function mh(e,t,n,o,r,a){const i=l.resolveComponent("TablePopupEdit"),s=l.resolveComponent("BasicCheckBox"),u=l.resolveComponent("CustomizedCheckBox"),f=l.resolveComponent("CustomizedIcon"),d=l.resolveComponent("CustomizedButton");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass("q-pa-xs col-xs-12 col-sm-6 col-md-4 col-lg-3 grid-style-transition"),style:l.normalizeStyle(r.tablePropsData.selected?"transform: scale(0.95);":"")},[l.createVNode(jr,{bordered:"",flat:"",square:"",class:l.normalizeClass(r.tablePropsData.selected?e.$q.dark.isActive?"bg-grey-9":"bg-grey-2":r.tablePropsData.row.rowBgColor||"bg-main-color")},{default:l.withCtx(()=>[l.createVNode(Ki,null,{default:l.withCtx(()=>[n.selectionType!="none"?(l.openBlock(),l.createBlock(zt,{key:0,modelValue:r.tablePropsData.selected,"onUpdate:modelValue":t[0]||(t[0]=c=>r.tablePropsData.selected=c),dense:""},null,8,["modelValue"])):l.createCommentVNode("",!0)]),_:1}),l.createVNode(Ca,{dense:""},{default:l.withCtx(()=>[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(r.tablePropsData.cols.filter(c=>c.name!=="desc"),c=>(l.openBlock(),l.createBlock(Ht,{key:c.name},{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,{class:"itemsFontSize ellipsis text-light-gray"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(c.label),1)]),_:2},1024)]),_:2},1024),l.createVNode(kt,{side:""},{default:l.withCtx(()=>[a.getColumnValue(c)?(l.openBlock(),l.createBlock(pt,{key:0,class:l.normalizeClass(["itemsFontSize text-almost-black",n.getCellClass(r.tablePropsData.row,c)])},{default:l.withCtx(()=>[c.editable?(l.openBlock(),l.createBlock(Ve,{key:0,name:"edit",color:"primary",size:"sm",class:"cursor-pointer"})):l.createCommentVNode("",!0),l.createElementVNode("span",{innerHTML:r.tablePropsData.row[c.name]},null,8,fh),l.createVNode(i,{model:r.tablePropsData.row[c.name]||"",label:c.label,"data-cy":c.popupEditDataCy+"-"+r.tablePropsData.row.id,"input-max-length":c.inputMaxLength||20,mask:c.popupEditMask||"","input-type":c.popupEditInputtype||"text","show-input-popup-edit":c.showInputPopupEdit||!0,"show-select-number-options":c.showSelectNumberOptions||!1,"popup-edit-number-options":c.popupEditNumberOptions||[],onSave:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.popupEditEmit,r.tablePropsData.row)}},null,8,["model","label","data-cy","input-max-length","mask","input-type","show-input-popup-edit","show-select-number-options","popup-edit-number-options","onSave"])]),_:2},1032,["class"])):l.createCommentVNode("",!0),l.createVNode(kt,null,{default:l.withCtx(()=>[c.showBasicCheckbox?(l.openBlock(),l.createBlock(s,{key:0,"table-props":r.tablePropsData,"data-cy":c.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[c.name],onCheckBoxEmit:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.checkBoxEmit||"onUpdateBasicCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","onCheckBoxEmit"])):l.createCommentVNode("",!0),c.showCustomizedCheckBox?(l.openBlock(),l.createBlock(u,{key:1,"table-props":r.tablePropsData,"data-cy":c.checkBoxDataCy+"-"+r.tablePropsData.row.id||"",model:r.tablePropsData.row[c.name],"check-box-color":r.tablePropsData.row[c.name]?c.checkBoxColorCaseTrue:c.checkBoxColorCaseFalse,"check-box-icon-size":"lg","checked-icon":c.checkedIcon,"unchecked-icon":c.uncheckedIcon,onCheckBoxEmit:h=>{r.tablePropsData.row[c.name]=h,e.$emit(c.checkBoxEmit||"onUpdateCustomizedCheckboxValue",r.tablePropsData.row)}},null,8,["table-props","data-cy","model","check-box-color","checked-icon","unchecked-icon","onCheckBoxEmit"])):l.createCommentVNode("",!0)]),_:2},1024),l.createVNode(kt,null,{default:l.withCtx(()=>[c.showCustomizedIcon?(l.openBlock(),l.createBlock(f,{key:0,model:r.tablePropsData.row[c.name],"table-props":r.tablePropsData,"customized-icon-size":"sm","customized-icon-name":(r.tablePropsData.row[c.name]?c.customizedIconNameCaseTrue:c.customizedIconNameCaseFalse)||"","customized-icon-color":(r.tablePropsData.row[c.name]?c.customizedIconColorCaseTrue:c.customizedIconColorCaseFalse)||""},null,8,["model","table-props","customized-icon-name","customized-icon-color"])):l.createCommentVNode("",!0)]),_:2},1024),l.createVNode(kt,null,{default:l.withCtx(()=>[c.showCustomizedButton?(l.openBlock(),l.createBlock(d,{key:0,"data-cy":c.colButtonDataCy+"-"+r.tablePropsData.row.id,"btn-color":c.btnColor||"primary","btn-icon":c.btnIcon||"",onOnClickButton:()=>{e.$emit("onClickButton",c.btnEmit,r.tablePropsData.row)}},null,8,["data-cy","btn-color","btn-icon","onOnClickButton"])):l.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["class"])],4)}const hh=tt(dh,[["render",mh]]),gh={name:"TableFilter",props:{store:{type:Object,required:!0}},data(){return{localStore:this.store}},mounted(){},methods:{inputFocus(){setTimeout(()=>{this.$refs.filterRef.focus()},10)},cleanFilter(){this.localStore.filterValue=""},setFilterValue(e){this.localStore.filterValue=e}}};function ph(e,t,n,o,r,a){return l.openBlock(),l.createBlock(qi,{ref:"filterRef",modelValue:r.localStore.filterValue,"onUpdate:modelValue":[t[0]||(t[0]=i=>r.localStore.filterValue=i),a.setFilterValue],borderless:"",dense:"",debounce:"300",class:"table-filter auto-width",placeholder:"Search",outlined:""},{append:l.withCtx(()=>[r.localStore.filterValue===""?(l.openBlock(),l.createBlock(Ve,{key:0,name:"search",color:"black"})):(l.openBlock(),l.createBlock(Ve,{key:1,name:"clear",class:"cursor-pointer",onClick:a.cleanFilter},null,8,["onClick"]))]),_:1},8,["modelValue","onUpdate:modelValue"])}const _h=tt(gh,[["render",ph]]),bh=["text","rect","circle","QBtn","QBadge","QChip","QToolbar","QCheckbox","QRadio","QToggle","QSlider","QRange","QInput","QAvatar"],vh=["wave","pulse","pulse-x","pulse-y","fade","blink","none"],Ue=be({name:"QSkeleton",props:{...dt,tag:{type:String,default:"div"},type:{type:String,validator:e=>bh.includes(e),default:"rect"},animation:{type:String,validator:e=>vh.includes(e),default:"wave"},animationSpeed:{type:[String,Number],default:1500},square:Boolean,bordered:Boolean,size:String,width:String,height:String},setup(e,{slots:t}){const n=l.getCurrentInstance(),o=ft(e,n.proxy.$q),r=l.computed(()=>{const i=e.size!==void 0?[e.size,e.size]:[e.width,e.height];return{"--q-skeleton-speed":`${e.animationSpeed}ms`,width:i[0],height:i[1]}}),a=l.computed(()=>`q-skeleton q-skeleton--${o.value===!0?"dark":"light"} q-skeleton--type-${e.type}`+(e.animation!=="none"?` q-skeleton--anim q-skeleton--anim-${e.animation}`:"")+(e.square===!0?" q-skeleton--square":"")+(e.bordered===!0?" q-skeleton--bordered":""));return()=>l.h(e.tag,{class:a.value,style:r.value},ke(t.default))}}),yh={name:"TableSkeleton",properties:{showSkeleton:{type:Boolean,default:!1}}},Eh={class:"text-left",style:{width:"150px"}},Sh={class:"text-right"},Ch={class:"text-right"},kh={class:"text-right"},wh={class:"text-right"},Th={class:"text-right"},Oh={class:"text-left"},Ah={class:"text-right"},Dh={class:"text-right"},Ih={class:"text-right"},Nh={class:"text-right"},xh={class:"text-right"};function Ph(e,t,n,o,r,a){return l.openBlock(),l.createElementBlock("div",null,[l.createVNode(ka,null,{default:l.withCtx(()=>[l.createElementVNode("thead",null,[l.createElementVNode("tr",null,[l.createElementVNode("th",Eh,[l.createVNode(Ue,{type:"text"})]),l.createElementVNode("th",Sh,[l.createVNode(Ue,{type:"text"})]),l.createElementVNode("th",Ch,[l.createVNode(Ue,{type:"text"})]),l.createElementVNode("th",kh,[l.createVNode(Ue,{type:"text"})]),l.createElementVNode("th",wh,[l.createVNode(Ue,{type:"text"})]),l.createElementVNode("th",Th,[l.createVNode(Ue,{type:"text"})])])]),l.createElementVNode("tbody",null,[(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(10,i=>l.createElementVNode("tr",{key:i},[l.createElementVNode("td",Oh,[l.createVNode(Ue,{type:"text",width:"85px"})]),l.createElementVNode("td",Ah,[l.createVNode(Ue,{type:"text",width:"50px"})]),l.createElementVNode("td",Dh,[l.createVNode(Ue,{type:"text",width:"35px"})]),l.createElementVNode("td",Ih,[l.createVNode(Ue,{type:"text",width:"65px"})]),l.createElementVNode("td",Nh,[l.createVNode(Ue,{type:"text",width:"25px"})]),l.createElementVNode("td",xh,[l.createVNode(Ue,{type:"text",width:"85px"})])])),64))])]),_:1})])}const Lh=tt(yh,[["render",Ph]]),Vh={name:"CardListSkeleton"};function Rh(e,t,n,o,r,a){return l.openBlock(),l.createElementBlock("div",null,[(l.openBlock(),l.createElementBlock(l.Fragment,null,l.renderList(2,i=>l.createVNode(Ht,{key:i},{default:l.withCtx(()=>[l.createVNode(jr,{style:{width:"100%"}},{default:l.withCtx(()=>[l.createVNode(Ht,null,{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,null,{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"60%"})]),_:1}),l.createVNode(pt,{caption:""},{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"60%"})]),_:1})]),_:1})]),_:1}),l.createVNode(Ht,null,{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,null,{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"70%"})]),_:1}),l.createVNode(pt,{caption:""},{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"70%"})]),_:1})]),_:1})]),_:1}),l.createVNode(Ht,null,{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,null,{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"80%"})]),_:1}),l.createVNode(pt,{caption:""},{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"80%"})]),_:1})]),_:1})]),_:1}),l.createVNode(Ht,null,{default:l.withCtx(()=>[l.createVNode(kt,null,{default:l.withCtx(()=>[l.createVNode(pt,null,{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"90%"})]),_:1}),l.createVNode(pt,{caption:""},{default:l.withCtx(()=>[l.createVNode(Ue,{type:"text",width:"90%"})]),_:1})]),_:1})]),_:1})]),_:1})]),_:2},1024)),64))])}const Mh=tt(Vh,[["render",Rh]]),Bh=l.defineComponent({components:{TableSlotHeader:Um,TableColumnsSelector:jm,TableSlotBody:ch,TableSlotGrid:hh,TableFilter:_h,TableSkeleton:Lh,CardListSkeleton:Mh},props:{columns:{type:Array,required:!0},rows:{type:Array,required:!0},visibleColumns:{type:Array,required:!0},filterMethod:{type:Function,default:function(){}},selectionType:{type:String,default:"none"},rowKey:{type:String,default:"id"},tableStyle:{type:String,default:""},popupEditNumberOptions:{type:Array,default:()=>[]},smallDevice:{type:Boolean,required:!0},store:{type:Object,required:!0},tableId:{type:String,default:""},hideColumnsSelector:{type:Boolean,default:!1},hideFilter:{type:Boolean,default:!1},showSkeleton:{type:Boolean},filterComputedOptions:{type:Object,default:{}},getCellClass:{type:Function,default:function(){}}},emits:["onSelectVisibleColumns","onUpdateBasicCheckboxValue","onUpdateCustomizedCheckboxValue","onSaveValuePopupEdit","onClickButton","storeUpdated","deleteItem","openModalWithTable","setItemNotFound","onRowClick"],data(){return{selected:[],filter:"",visibleColumnsData:this.visibleColumns,rowsData:[],gridRowsSelected:!1,selectedRows:[],showColumnsSelector:!1,showSearch:!1,loading:!1,forceRender:!1,totalPage:0,pageSize:20}},computed:{getColumnsSelectorVisibility(){return!this.smallDevice||this.showColumnsSelector},getTableInputSearchVisibility(){return!this.smallDevice||this.showSearch},showGridHeader(){return this.selectionType==="multiple"},getTableSkeletonVisibility(){return!this.smallDevice&&this.showSkeleton},getGridSkeletonVisibility(){return this.smallDevice&&this.showSkeleton},filterComputed(){return{search:this.store.filterValue,forceRender:this.forceRender,...this.filterComputedOptions}},pageLength(){return(this.totalPage+1)*this.pageSize}},watch:{rows(e){this.rowsData=e},visibleColumns(e){this.visibleColumnsData=e}},mounted(){},methods:{getSelectedString(e){const t=e;if(t===0)return"";const n=t>1?"records":"record";return`${t} ${n} selected`},onSelectVisibleColumns(e){this.$emit("onSelectVisibleColumns",e)},onSaveValuePopupEdit(e){this.$emit("onSaveValuePopupEdit",e)},onUpdateBasicCheckboxValue(e){this.$emit("onUpdateBasicCheckboxValue",e)},onClickButton(e,t){this.$emit(e,t)},onRowClick(e){this.$emit("onRowClick",e)},deleteItem(e){this.$emit("deleteItem",e)},onUpdateCustomizedCheckboxValue(e){this.$emit("onUpdateCustomizedCheckboxValue",e)},clearTableSelection(){this.selected=[]},toggleSearchVisibility(e){this.showSearch=!this.showSearch,e.disableScannerButtons=!1,e.lastFilterValue="",e.valueInputFilterTable=""},toogleColumnsSelectorVisibility(){this.showColumnsSelector=!this.showColumnsSelector},filterInputFocus(){setTimeout(()=>{this.$refs.filterInput&&this.$refs.filterInput.inputFocus()},10)},toogleLoading(){this.loading=!this.loading},customSortMethod(e,t,n){const o=[...e];return t&&o.sort((r,a)=>{const i=n?a:r,s=n?r:a,u=i[t],f=s[t],d=h=>{const[m,p,v]=h.split("/");return new Date(`${v}-${p}-${m}`)},c=h=>{const[m,p,v]=h.split(":").map(Number);return m*3600+p*60+v};if(typeof u=="string"&&typeof f=="string"){const h=d(u),m=d(f);if(!isNaN(h.getTime())&&!isNaN(m.getTime()))return h.getTime()-m.getTime();const p=c(u),v=c(f);return!isNaN(p)&&!isNaN(v)?p-v:u.localeCompare(f)}else return typeof u=="number"&&typeof f=="number"?u-f:typeof u=="boolean"&&typeof f=="boolean"?u===f?0:u?1:-1:String(u)>String(f)?1:String(u)<String(f)?-1:0}),o}}});function Fh(e,t,n,o,r,a){const i=l.resolveComponent("TableFilter"),s=l.resolveComponent("TableColumnsSelector"),u=l.resolveComponent("TableSlotHeader"),f=l.resolveComponent("TableSlotBody"),d=l.resolveComponent("TableSlotGrid"),c=l.resolveComponent("TableSkeleton"),h=l.resolveComponent("CardListSkeleton");return l.openBlock(),l.createElementBlock("div",null,[e.showSkeleton?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(Bm,{key:0,ref:"myTable",selected:e.selected,"onUpdate:selected":t[0]||(t[0]=m=>e.selected=m),class:"my-table",grid:e.smallDevice,style:l.normalizeStyle(e.tableStyle),flat:"",bordered:"",rows:e.rowsData,columns:e.columns,"row-key":e.rowKey,"rows-per-page-options":[0],selection:e.selectionType,"visible-columns":e.visibleColumns,"table-class":"text-grey-9","table-header-class":"main-color",filter:e.filterComputed,"filter-method":e.filterMethod,"sort-method":e.customSortMethod,separator:"horizontal","binary-state-sort":"","selected-rows-label":e.getSelectedString,loading:e.loading,"pagination.sync":"0","grid-header":e.showGridHeader},{"top-right":l.withCtx(m=>[l.createVNode(pa),e.getTableInputSearchVisibility&&!e.hideFilter?(l.openBlock(),l.createBlock(i,{key:0,ref:"filterInput",class:"q-pl-xs","table-props":m,store:e.store,onInputFocus:e.filterInputFocus},null,8,["table-props","store","onInputFocus"])):l.createCommentVNode("",!0),e.getColumnsSelectorVisibility&&!e.hideColumnsSelector?(l.openBlock(),l.createBlock(s,{key:1,class:"q-pl-xs","table-props":m,columns:e.columns,"visible-columns":e.visibleColumns,onOnSelectVisibleColumns:e.onSelectVisibleColumns},null,8,["table-props","columns","visible-columns","onOnSelectVisibleColumns"])):l.createCommentVNode("",!0)]),header:l.withCtx(m=>[l.createVNode(u,{"table-props":m,"selection-type":e.selectionType,"small-device":e.smallDevice},null,8,["table-props","selection-type","small-device"])]),body:l.withCtx(m=>[e.showSkeleton?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(f,{key:0,"table-props":m,"selection-type":e.selectionType,getCellClass:e.getCellClass,onOnUpdateBasicCheckboxValue:e.onUpdateBasicCheckboxValue,onOnUpdateCustomizedCheckboxValue:e.onUpdateCustomizedCheckboxValue,onOnSaveValuePopupEdit:e.onSaveValuePopupEdit,onOnClickButton:e.onClickButton,onClick:p=>e.onRowClick(m.row)},null,8,["table-props","selection-type","getCellClass","onOnUpdateBasicCheckboxValue","onOnUpdateCustomizedCheckboxValue","onOnSaveValuePopupEdit","onOnClickButton","onClick"]))]),item:l.withCtx(m=>[e.showSkeleton?l.createCommentVNode("",!0):(l.openBlock(),l.createBlock(d,{key:0,"table-props":m,"selection-type":e.selectionType,"popup-edit-number-options":e.popupEditNumberOptions,getCellClass:e.getCellClass,onOnUpdateCustomizedCheckboxValue:e.onUpdateCustomizedCheckboxValue,onOnUpdateBasicCheckboxValue:e.onUpdateBasicCheckboxValue,onOnSaveValuePopupEdit:e.onSaveValuePopupEdit,onOnClickButton:e.onClickButton,onClick:p=>e.onRowClick(m.row)},null,8,["table-props","selection-type","popup-edit-number-options","getCellClass","onOnUpdateCustomizedCheckboxValue","onOnUpdateBasicCheckboxValue","onOnSaveValuePopupEdit","onOnClickButton","onClick"]))]),_:1},8,["selected","grid","style","rows","columns","row-key","selection","visible-columns","filter","filter-method","sort-method","selected-rows-label","loading","grid-header"])),e.getTableSkeletonVisibility?(l.openBlock(),l.createBlock(c,{key:1,id:"tableSkeleton"})):l.createCommentVNode("",!0),e.getGridSkeletonVisibility?(l.openBlock(),l.createBlock(h,{key:2,id:"cardListSkeleton"})):l.createCommentVNode("",!0)])}const Wi=tt(Bh,[["render",Fh]]),Vo=(e,t)=>{e.use(t)},Ro=(e,t,n)=>{e.component(t,n)},qh={install(e){Ro(e,"MyTable",Wi)}},$h=be({name:"QBanner",props:{...dt,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){const{proxy:{$q:n}}=l.getCurrentInstance(),o=ft(e,n),r=l.computed(()=>"q-banner row items-center"+(e.dense===!0?" q-banner--dense":"")+(o.value===!0?" q-banner--dark q-dark":"")+(e.rounded===!0?" rounded-borders":"")),a=l.computed(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions===!0?"auto":"all"}`);return()=>{const i=[l.h("div",{class:"q-banner__avatar col-auto row items-center self-start"},ke(t.avatar)),l.h("div",{class:"q-banner__content col text-body2"},ke(t.default))],s=ke(t.action);return s!==void 0&&i.push(l.h("div",{class:a.value},s)),l.h("div",{class:r.value+(e.inlineActions===!1&&s!==void 0?" q-banner--top-padding":""),role:"alert"},i)}}}),Uh=l.defineComponent({name:"AlertDialog",data(){return{alert:!1,alertMessage:""}},props:{dataCy:{type:String,default:""},persistent:{type:Boolean,default:!0},icon:{type:String,default:"warning"},iconSize:{type:String,default:"md"},iconColor:{type:String,default:"red-8"},btnColor:{type:String,default:"primary"},btnLabel:{type:String,default:"OK"}},emit:["dialogClosed"],methods:{openAlertAndSetMessage(e){this.alert=!0,this.alertMessage=e},closePopup(){this.alert=!1,this.$emit("onPopupClosed")}}}),Hh={class:"info"};function zh(e,t,n,o,r,a){return l.openBlock(),l.createBlock($r,{modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:e.persistent},{default:l.withCtx(()=>[l.createVNode($h,{"inline-actions":"","data-cy":"alert"},{avatar:l.withCtx(()=>[l.createVNode(Ve,{name:e.icon,color:e.iconColor,size:e.iconSize},null,8,["name","color","size"])]),action:l.withCtx(()=>[l.createVNode(It,{flat:"",color:e.btnColor,label:e.btnLabel,onClick:e.closePopup,"data-cy":"btn-close-alert"},null,8,["color","label","onClick"])]),default:l.withCtx(()=>[l.createElementVNode("p",Hh,l.toDisplayString(e.alertMessage),1)]),_:1})]),_:1},8,["modelValue","persistent"])}const Yi=tt(Uh,[["render",zh]]),jh={install(e){Ro(e,"AlertDialog",Yi)}},Kh=be({name:"QCardActions",props:{...Ii,vertical:Boolean},setup(e,{slots:t}){const n=Ni(e),o=l.computed(()=>`q-card__actions ${n.value} q-card__actions--${e.vertical===!0?"vert column":"horiz row"}`);return()=>l.h("div",{class:o.value},ke(t.default))}}),Wh=l.defineComponent({name:"ConfirmDialog",data(){return{alert:!1,message:""}},props:{dataCy:{type:String,default:""}},emits:["onClickBtnConfirm","onClickBtnCancel"],methods:{openDialogAndSetMessage(e){this.alert=!0,this.message=e},closeAlert(){this.alert=!1},onClickBtnConfirm(){this.closeAlert(),this.$emit("onClickBtnConfirm")},onClickBtnCancel(){this.closeAlert(),this.$emit("onClickBtnCancel")}}}),Yh={class:"q-ml-sm text-body1"};function Gh(e,t,n,o,r,a){return l.openBlock(),l.createBlock($r,{modelValue:e.alert,"onUpdate:modelValue":t[0]||(t[0]=i=>e.alert=i),persistent:""},{default:l.withCtx(()=>[l.createVNode(jr,{class:"alert-card","data-cy":e.dataCy},{default:l.withCtx(()=>[l.createVNode(Ki,{class:"row items-center"},{default:l.withCtx(()=>[l.createElementVNode("span",Yh,l.toDisplayString(e.message),1)]),_:1}),l.createVNode(Kh,{align:"right"},{default:l.withCtx(()=>[l.createVNode(It,{color:"negative",flat:"",label:e.$t("confirmDialog.cancel"),onClick:e.onClickBtnCancel,"data-cy":"cancel"},null,8,["label","onClick"]),l.createVNode(It,{color:"positive",flat:"",label:e.$t("confirmDialog.confirm"),onClick:e.onClickBtnConfirm,"data-cy":"confirm"},null,8,["label","onClick"])]),_:1})]),_:1},8,["data-cy"])]),_:1},8,["modelValue"])}const Gi=tt(Wh,[["render",Gh]]),Qh={install(e){Ro(e,"ConfirmDialog",Gi)}},Xh=be({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const n=l.computed(()=>"q-toolbar row no-wrap items-center"+(e.inset===!0?" q-toolbar--inset":""));return()=>l.h("div",{class:n.value,role:"toolbar"},ke(t.default))}}),Zh=be({name:"QToolbarTitle",props:{shrink:Boolean},setup(e,{slots:t}){const n=l.computed(()=>"q-toolbar__title ellipsis"+(e.shrink===!0?" col-shrink":""));return()=>l.h("div",{class:n.value},ke(t.default))}}),Qi=864e5,Jh=36e5,Kr=6e4,Xi="YYYY-MM-DDTHH:mm:ss.SSSZ",eg=/\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g,tg=/(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g,Wr={};function ng(e,t){const n="("+t.days.join("|")+")",o=e+n;if(Wr[o]!==void 0)return Wr[o];const r="("+t.daysShort.join("|")+")",a="("+t.months.join("|")+")",i="("+t.monthsShort.join("|")+")",s={};let u=0;const f=e.replace(tg,c=>{switch(u++,c){case"YY":return s.YY=u,"(-?\\d{1,2})";case"YYYY":return s.YYYY=u,"(-?\\d{1,4})";case"M":return s.M=u,"(\\d{1,2})";case"Mo":return s.M=u++,"(\\d{1,2}(st|nd|rd|th))";case"MM":return s.M=u,"(\\d{2})";case"MMM":return s.MMM=u,i;case"MMMM":return s.MMMM=u,a;case"D":return s.D=u,"(\\d{1,2})";case"Do":return s.D=u++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=u,"(\\d{2})";case"H":return s.H=u,"(\\d{1,2})";case"HH":return s.H=u,"(\\d{2})";case"h":return s.h=u,"(\\d{1,2})";case"hh":return s.h=u,"(\\d{2})";case"m":return s.m=u,"(\\d{1,2})";case"mm":return s.m=u,"(\\d{2})";case"s":return s.s=u,"(\\d{1,2})";case"ss":return s.s=u,"(\\d{2})";case"S":return s.S=u,"(\\d{1})";case"SS":return s.S=u,"(\\d{2})";case"SSS":return s.S=u,"(\\d{3})";case"A":return s.A=u,"(AM|PM)";case"a":return s.a=u,"(am|pm)";case"aa":return s.aa=u,"(a\\.m\\.|p\\.m\\.)";case"ddd":return r;case"dddd":return n;case"Q":case"d":case"E":return"(\\d{1})";case"do":return u++,"(\\d{1}(st|nd|rd|th))";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"DDDo":return u++,"(\\d{1,3}(st|nd|rd|th))";case"w":return"(\\d{1,2})";case"wo":return u++,"(\\d{1,2}(st|nd|rd|th))";case"ww":return"(\\d{2})";case"Z":return s.Z=u,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=u,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=u,"(-?\\d+)";case"x":return s.x=u,"(-?\\d{4,})";default:return u--,c[0]==="["&&(c=c.substring(1,c.length-1)),c.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),d={map:s,regex:new RegExp("^"+f)};return Wr[o]=d,d}function Zi(e,t){return e!==void 0?e:t!==void 0?t.date:pr.date}function Ji(e,t=""){const n=e>0?"-":"+",o=Math.abs(e),r=Math.floor(o/60),a=o%60;return n+qe(r)+t+qe(a)}function og(e,t,n){let o=e.getFullYear(),r=e.getMonth();const a=e.getDate();return t.year!==void 0&&(o+=n*t.year,delete t.year),t.month!==void 0&&(r+=n*t.month,delete t.month),e.setDate(1),e.setMonth(2),e.setFullYear(o),e.setMonth(r),e.setDate(Math.min(a,Qr(e))),t.date!==void 0&&(e.setDate(e.getDate()+n*t.date),delete t.date),e}function rg(e,t,n){const o=t.year!==void 0?t.year:e[`get${n}FullYear`](),r=t.month!==void 0?t.month-1:e[`get${n}Month`](),a=new Date(o,r+1,0).getDate(),i=Math.min(a,t.date!==void 0?t.date:e[`get${n}Date`]());return e[`set${n}Date`](1),e[`set${n}Month`](2),e[`set${n}FullYear`](o),e[`set${n}Month`](r),e[`set${n}Date`](i),delete t.year,delete t.month,delete t.date,e}function Yr(e,t,n){const o=es(t),r=new Date(e),a=o.year!==void 0||o.month!==void 0||o.date!==void 0?og(r,o,n):r;for(const i in o){const s=Jf(i);a[`set${s}`](a[`get${s}`]()+n*o[i])}return a}function es(e){const 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 ts(e,t,n){const o=es(t),r=n===!0?"UTC":"",a=new Date(e),i=o.year!==void 0||o.month!==void 0||o.date!==void 0?rg(a,o,r):a;for(const s in o){const u=s.charAt(0).toUpperCase()+s.slice(1);i[`set${r}${u}`](o[s])}return i}function lg(e,t,n){const o=ag(e,t,n),r=new Date(o.year,o.month===null?null:o.month-1,o.day===null?1:o.day,o.hour,o.minute,o.second,o.millisecond),a=r.getTimezoneOffset();return o.timezoneOffset===null||o.timezoneOffset===a?r:Yr(r,{minutes:o.timezoneOffset-a},1)}function ag(e,t,n,o,r){const a={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(e==null||e===""||typeof e!="string")return a;t===void 0&&(t=Xi);const i=Zi(n,Dt.props),s=i.months,u=i.monthsShort,{regex:f,map:d}=ng(t,i),c=e.match(f);if(c===null)return a;let h="";if(d.X!==void 0||d.x!==void 0){const m=parseInt(c[d.X!==void 0?d.X:d.x],10);if(isNaN(m)===!0||m<0)return a;const p=new Date(m*(d.X!==void 0?1e3:1));a.year=p.getFullYear(),a.month=p.getMonth()+1,a.day=p.getDate(),a.hour=p.getHours(),a.minute=p.getMinutes(),a.second=p.getSeconds(),a.millisecond=p.getMilliseconds()}else{if(d.YYYY!==void 0)a.year=parseInt(c[d.YYYY],10);else if(d.YY!==void 0){const m=parseInt(c[d.YY],10);a.year=m<0?m:2e3+m}if(d.M!==void 0){if(a.month=parseInt(c[d.M],10),a.month<1||a.month>12)return a}else d.MMM!==void 0?a.month=u.indexOf(c[d.MMM])+1:d.MMMM!==void 0&&(a.month=s.indexOf(c[d.MMMM])+1);if(d.D!==void 0){if(a.day=parseInt(c[d.D],10),a.year===null||a.month===null||a.day<1)return a;const m=new Date(a.year,a.month,0).getDate();if(a.day>m)return a}d.H!==void 0?a.hour=parseInt(c[d.H],10)%24:d.h!==void 0&&(a.hour=parseInt(c[d.h],10)%12,(d.A&&c[d.A]==="PM"||d.a&&c[d.a]==="pm"||d.aa&&c[d.aa]==="p.m.")&&(a.hour+=12),a.hour=a.hour%24),d.m!==void 0&&(a.minute=parseInt(c[d.m],10)%60),d.s!==void 0&&(a.second=parseInt(c[d.s],10)%60),d.S!==void 0&&(a.millisecond=parseInt(c[d.S],10)*10**(3-c[d.S].length)),(d.Z!==void 0||d.ZZ!==void 0)&&(h=d.Z!==void 0?c[d.Z].replace(":",""):c[d.ZZ],a.timezoneOffset=(h[0]==="+"?-1:1)*(60*h.slice(1,3)+1*h.slice(3,5)))}return a.dateHash=qe(a.year,6)+"/"+qe(a.month)+"/"+qe(a.day),a.timeHash=qe(a.hour)+":"+qe(a.minute)+":"+qe(a.second)+h,a}function ig(e){return typeof e=="number"?!0:isNaN(Date.parse(e))===!1}function sg(e,t){return ts(new Date,e,t)}function ug(e){const t=new Date(e).getDay();return t===0?7:t}function Mo(e){const t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);const n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);const o=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-o);const r=(t-n)/(Qi*7);return 1+Math.floor(r)}function cg(e){return e.getFullYear()*1e4+e.getMonth()*100+e.getDate()}function Gr(e,t){const n=new Date(e);return t===!0?cg(n):n.getTime()}function dg(e,t,n,o={}){const r=Gr(t,o.onlyDate),a=Gr(n,o.onlyDate),i=Gr(e,o.onlyDate);return(i>r||o.inclusiveFrom===!0&&i===r)&&(i<a||o.inclusiveTo===!0&&i===a)}function fg(e,t){return Yr(e,t,1)}function mg(e,t){return Yr(e,t,-1)}function Nt(e,t,n){const o=new Date(e),r=`set${n===!0?"UTC":""}`;switch(t){case"year":case"years":o[`${r}Month`](0);case"month":case"months":o[`${r}Date`](1);case"day":case"days":case"date":o[`${r}Hours`](0);case"hour":case"hours":o[`${r}Minutes`](0);case"minute":case"minutes":o[`${r}Seconds`](0);case"second":case"seconds":o[`${r}Milliseconds`](0)}return o}function hg(e,t,n){const o=new Date(e),r=`set${n===!0?"UTC":""}`;switch(t){case"year":case"years":o[`${r}Month`](11);case"month":case"months":o[`${r}Date`](Qr(o));case"day":case"days":case"date":o[`${r}Hours`](23);case"hour":case"hours":o[`${r}Minutes`](59);case"minute":case"minutes":o[`${r}Seconds`](59);case"second":case"seconds":o[`${r}Milliseconds`](999)}return o}function gg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(n=>{t=Math.max(t,new Date(n))}),t}function pg(e){let t=new Date(e);return Array.prototype.slice.call(arguments,1).forEach(n=>{t=Math.min(t,new Date(n))}),t}function Bo(e,t,n){return(e.getTime()-e.getTimezoneOffset()*Kr-(t.getTime()-t.getTimezoneOffset()*Kr))/n}function ns(e,t,n="days"){const o=new Date(e),r=new Date(t);switch(n){case"years":case"year":return o.getFullYear()-r.getFullYear();case"months":case"month":return(o.getFullYear()-r.getFullYear())*12+o.getMonth()-r.getMonth();case"days":case"day":case"date":return Bo(Nt(o,"day"),Nt(r,"day"),Qi);case"hours":case"hour":return Bo(Nt(o,"hour"),Nt(r,"hour"),Jh);case"minutes":case"minute":return Bo(Nt(o,"minute"),Nt(r,"minute"),Kr);case"seconds":case"second":return Bo(Nt(o,"second"),Nt(r,"second"),1e3)}}function Fo(e){return ns(e,Nt(e,"year"),"days")+1}function _g(e){return yo(e)===!0?"date":typeof e=="number"?"number":"string"}function bg(e,t,n){const o=new Date(e);if(t){const r=new Date(t);if(o<r)return r}if(n){const r=new Date(n);if(o>r)return r}return o}function vg(e,t,n){const o=new Date(e),r=new Date(t);if(n===void 0)return o.getTime()===r.getTime();switch(n){case"second":case"seconds":if(o.getSeconds()!==r.getSeconds())return!1;case"minute":case"minutes":if(o.getMinutes()!==r.getMinutes())return!1;case"hour":case"hours":if(o.getHours()!==r.getHours())return!1;case"day":case"days":case"date":if(o.getDate()!==r.getDate())return!1;case"month":case"months":if(o.getMonth()!==r.getMonth())return!1;case"year":case"years":if(o.getFullYear()!==r.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${n}`)}return!0}function Qr(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function Sn(e){if(e>=11&&e<=13)return`${e}th`;switch(e%10){case 1:return`${e}st`;case 2:return`${e}nd`;case 3:return`${e}rd`}return`${e}th`}const os={YY(e,t,n){const o=this.YYYY(e,t,n)%100;return o>=0?qe(o):"-"+qe(Math.abs(o))},YYYY(e,t,n){return n??e.getFullYear()},M(e){return e.getMonth()+1},Mo(e){return Sn(e.getMonth()+1)},MM(e){return qe(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 Sn(this.Q(e))},D(e){return e.getDate()},Do(e){return Sn(e.getDate())},DD(e){return qe(e.getDate())},DDD(e){return Fo(e)},DDDo(e){return Sn(Fo(e))},DDDD(e){return qe(Fo(e),3)},d(e){return e.getDay()},do(e){return Sn(e.getDay())},dd(e,t){return t.days[e.getDay()].slice(0,2)},ddd(e,t){return t.daysShort[e.getDay()]},dddd(e,t){return t.days[e.getDay()]},E(e){return e.getDay()||7},w(e){return Mo(e)},wo(e){return Sn(Mo(e))},ww(e){return qe(Mo(e))},H(e){return e.getHours()},HH(e){return qe(e.getHours())},h(e){const t=e.getHours();return t===0?12:t>12?t%12:t},hh(e){return qe(this.h(e))},m(e){return e.getMinutes()},mm(e){return qe(e.getMinutes())},s(e){return e.getSeconds()},ss(e){return qe(e.getSeconds())},S(e){return Math.floor(e.getMilliseconds()/100)},SS(e){return qe(Math.floor(e.getMilliseconds()/10))},SSS(e){return qe(e.getMilliseconds(),3)},A(e){return e.getHours()<12?"AM":"PM"},a(e){return e.getHours()<12?"am":"pm"},aa(e){return e.getHours()<12?"a.m.":"p.m."},Z(e,t,n,o){const r=o??e.getTimezoneOffset();return Ji(r,":")},ZZ(e,t,n,o){const r=o??e.getTimezoneOffset();return Ji(r)},X(e){return Math.floor(e.getTime()/1e3)},x(e){return e.getTime()}};function yg(e,t,n,o,r){if(e!==0&&!e||e===1/0||e===-1/0)return;const a=new Date(e);if(isNaN(a))return;t===void 0&&(t=Xi);const i=Zi(n,Dt.props);return t.replace(eg,(s,u)=>s in os?os[s](a,i,o,r):u===void 0?s:u.split("\\]").join("]"))}function Eg(e){return yo(e)===!0?new Date(e.getTime()):e}const Sg={isValid:ig,extractDate:lg,buildDate:sg,getDayOfWeek:ug,getWeekOfYear:Mo,isBetweenDates:dg,addToDate:fg,subtractFromDate:mg,adjustDate:ts,startOfDate:Nt,endOfDate:hg,getMaxDate:gg,getMinDate:pg,getDateDiff:ns,getDayOfYear:Fo,inferDateFormat:_g,getDateBetween:bg,isSameDate:vg,daysInMonth:Qr,formatDate:yg,clone:Eg},Cg=l.defineComponent({name:"TaskNavBar",data(){return{date:Sg,showIconSearch:!0,rightDrawerOpen:!1}},props:{logo:{type:String,default:""},title:{type:String,default:"Testing Title"},showBtnBack:{type:Boolean,default:!0},showBtnSearch:{type:Boolean,default:!0}},emits:["onClickBtnMenu","onClickBtnSearch","onClickBtnBack"],methods:{onClickBtnMenu(){this.$emit("onClickBtnMenu"),console.log("menu")},onClickBtnSearch(){this.showIconSearch=!this.showIconSearch,this.$emit("onClickBtnSearch"),console.log("search")},onClickBtnBack(){this.$emit("onClickBtnBack"),console.log("back")}}}),kg={id:"taskNavBar"},wg={class:"row full-width"},Tg={class:"col-7"},Og=["src"],Ag={id:"mobile-title"},Dg={class:"col-5 text-right"};function Ig(e,t,n,o,r,a){return l.openBlock(),l.createElementBlock("div",kg,[l.createVNode(Xh,{class:"q-toolbar-unset-height"},{default:l.withCtx(()=>[l.createElementVNode("div",wg,[l.createElementVNode("div",Tg,[l.createElementVNode("img",{src:e.logo,class:"logo"},null,8,Og),l.createElementVNode("span",Ag,l.toDisplayString(e.title),1)]),l.createElementVNode("div",Dg,[e.showBtnBack?(l.openBlock(),l.createBlock(Ve,{key:0,size:"md",class:"cursor-pointer",onClick:e.onClickBtnBack},{default:l.withCtx(()=>t[0]||(t[0]=[l.createElementVNode("svg",{class:"text-h4",xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 23.648 22.836"},[l.createElementVNode("g",{id:"Arrow_brand","data-name":"Arrow brand",transform:"translate(0 22.836) rotate(-90)"},[l.createElementVNode("path",{id:"Caminho_1066","data-name":"Caminho 1066",d:"M23.648,10.644l-22.323.569L11.42,1.095,10.325,0,0,11.418,10.325,22.836l1.095-1.095-10.1-10.13,22.323.581Z",transform:"translate(22.836) rotate(90)"})])],-1)])),_:1},8,["onClick"])):l.createCommentVNode("",!0),e.showBtnSearch?(l.openBlock(),l.createBlock(Ve,{key:1,color:"primary",name:e.showIconSearch?"search":"search_off",size:"md",class:"q-ml-md cursor-pointer",onClick:e.onClickBtnSearch},null,8,["name","onClick"])):l.createCommentVNode("",!0),l.createVNode(Ve,{id:"iconMenu",size:"md",onClick:e.onClickBtnMenu,class:"q-ml-md cursor-pointer"},{default:l.withCtx(()=>t[1]||(t[1]=[l.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30.448",height:"28.247",viewBox:"0 0 30.448 28.247"},[l.createElementVNode("g",{id:"Componente_11_3","data-name":"Componente 11 – 3",transform:"translate(0 1)"},[l.createElementVNode("path",{id:"Caminho_702","data-name":"Caminho 702",d:"M38.053,40.174H24",transform:"translate(-7.604 -13.177)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"0.5"}),l.createElementVNode("path",{id:"Caminho_703","data-name":"Caminho 703",d:"M45.079,31.913H24",transform:"translate(-14.631 -18.155)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"1"}),l.createElementVNode("path",{id:"Caminho_704","data-name":"Caminho 704",d:"M54.448,23.328H24",transform:"translate(-24 -23.328)",fill:"none",stroke:"#1a1311","stroke-miterlimit":"10","stroke-width":"2"})])],-1)])),_:1},8,["onClick"])])])]),_:1}),l.createVNode(Zh,{class:"text-color-almost-black q-pl-none"},{default:l.withCtx(()=>[l.createTextVNode(l.toDisplayString(e.title),1)]),_:1})])}const rs=tt(Cg,[["render",Ig]]),Ng={install(e){Ro(e,"TaskNavBar",rs)}};var xg=Object.create,ls=Object.defineProperty,Pg=Object.getOwnPropertyDescriptor,Xr=Object.getOwnPropertyNames,Lg=Object.getPrototypeOf,Vg=Object.prototype.hasOwnProperty,Rg=(e,t)=>function(){return e&&(t=(0,e[Xr(e)[0]])(e=0)),t},Mg=(e,t)=>function(){return t||(0,e[Xr(e)[0]])((t={exports:{}}).exports,t),t.exports},Bg=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Xr(t))!Vg.call(e,r)&&r!==n&&ls(e,r,{get:()=>t[r],enumerable:!(o=Pg(t,r))||o.enumerable});return e},Fg=(e,t,n)=>(n=e!=null?xg(Lg(e)):{},Bg(ls(n,"default",{value:e,enumerable:!0}),e)),Zn=Rg({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),qg=Mg({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){Zn(),t.exports=o;function n(a){return a instanceof Buffer?Buffer.from(a):new a.constructor(a.buffer.slice(),a.byteOffset,a.length)}function o(a){if(a=a||{},a.circles)return r(a);const i=new Map;if(i.set(Date,c=>new Date(c)),i.set(Map,(c,h)=>new Map(u(Array.from(c),h))),i.set(Set,(c,h)=>new Set(u(Array.from(c),h))),a.constructorHandlers)for(const c of a.constructorHandlers)i.set(c[0],c[1]);let s=null;return a.proto?d:f;function u(c,h){const m=Object.keys(c),p=new Array(m.length);for(let v=0;v<m.length;v++){const _=m[v],g=c[_];typeof g!="object"||g===null?p[_]=g:g.constructor!==Object&&(s=i.get(g.constructor))?p[_]=s(g,h):ArrayBuffer.isView(g)?p[_]=n(g):p[_]=h(g)}return p}function f(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return u(c,f);if(c.constructor!==Object&&(s=i.get(c.constructor)))return s(c,f);const h={};for(const m in c){if(Object.hasOwnProperty.call(c,m)===!1)continue;const p=c[m];typeof p!="object"||p===null?h[m]=p:p.constructor!==Object&&(s=i.get(p.constructor))?h[m]=s(p,f):ArrayBuffer.isView(p)?h[m]=n(p):h[m]=f(p)}return h}function d(c){if(typeof c!="object"||c===null)return c;if(Array.isArray(c))return u(c,d);if(c.constructor!==Object&&(s=i.get(c.constructor)))return s(c,d);const h={};for(const m in c){const p=c[m];typeof p!="object"||p===null?h[m]=p:p.constructor!==Object&&(s=i.get(p.constructor))?h[m]=s(p,d):ArrayBuffer.isView(p)?h[m]=n(p):h[m]=d(p)}return h}}function r(a){const i=[],s=[],u=new Map;if(u.set(Date,m=>new Date(m)),u.set(Map,(m,p)=>new Map(d(Array.from(m),p))),u.set(Set,(m,p)=>new Set(d(Array.from(m),p))),a.constructorHandlers)for(const m of a.constructorHandlers)u.set(m[0],m[1]);let f=null;return a.proto?h:c;function d(m,p){const v=Object.keys(m),_=new Array(v.length);for(let g=0;g<v.length;g++){const b=v[g],S=m[b];if(typeof S!="object"||S===null)_[b]=S;else if(S.constructor!==Object&&(f=u.get(S.constructor)))_[b]=f(S,p);else if(ArrayBuffer.isView(S))_[b]=n(S);else{const y=i.indexOf(S);y!==-1?_[b]=s[y]:_[b]=p(S)}}return _}function c(m){if(typeof m!="object"||m===null)return m;if(Array.isArray(m))return d(m,c);if(m.constructor!==Object&&(f=u.get(m.constructor)))return f(m,c);const p={};i.push(m),s.push(p);for(const v in m){if(Object.hasOwnProperty.call(m,v)===!1)continue;const _=m[v];if(typeof _!="object"||_===null)p[v]=_;else if(_.constructor!==Object&&(f=u.get(_.constructor)))p[v]=f(_,c);else if(ArrayBuffer.isView(_))p[v]=n(_);else{const g=i.indexOf(_);g!==-1?p[v]=s[g]:p[v]=c(_)}}return i.pop(),s.pop(),p}function h(m){if(typeof m!="object"||m===null)return m;if(Array.isArray(m))return d(m,h);if(m.constructor!==Object&&(f=u.get(m.constructor)))return f(m,h);const p={};i.push(m),s.push(p);for(const v in m){const _=m[v];if(typeof _!="object"||_===null)p[v]=_;else if(_.constructor!==Object&&(f=u.get(_.constructor)))p[v]=f(_,h);else if(ArrayBuffer.isView(_))p[v]=n(_);else{const g=i.indexOf(_);g!==-1?p[v]=s[g]:p[v]=h(_)}}return i.pop(),s.pop(),p}}}});Zn(),Zn(),Zn();var as=typeof navigator<"u",te=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof te.chrome<"u"&&te.chrome.devtools,as&&(te.self,te.top);var is;typeof navigator<"u"&&((is=navigator.userAgent)==null||is.toLowerCase().includes("electron")),Zn();var $g=Fg(qg()),Ug=/(?:^|[-_/])(\w)/g;function Hg(e,t){return t?t.toUpperCase():""}function zg(e){return e&&`${e}`.replace(Ug,Hg)}function jg(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const o=n.lastIndexOf("/"),r=n.substring(o+1);{const a=r.lastIndexOf(t);return r.substring(0,a)}}var ss=(0,$g.default)({circles:!0});const Kg={trailing:!0};function Cn(e,t=25,n={}){if(n={...Kg,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,r,a=[],i,s;const u=(f,d)=>(i=Wg(e,f,d),i.finally(()=>{if(i=null,n.trailing&&s&&!r){const c=u(f,s);return s=null,c}}),i);return function(...f){return i?(n.trailing&&(s=f),i):new Promise(d=>{const c=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const h=n.leading?o:u(this,f);for(const m of a)m(h);a=[]},t),c?(o=u(this,f),d(o)):a.push(d)})}}async function Wg(e,t,n){return await e.apply(t,n)}function Zr(e,t={},n){for(const o in e){const r=e[o],a=n?`${n}:${o}`:o;typeof r=="object"&&r!==null?Zr(r,t,a):typeof r=="function"&&(t[a]=r)}return t}const Yg={run:e=>e()},Gg=()=>Yg,us=typeof console.createTask<"u"?console.createTask:Gg;function Qg(e,t){const n=t.shift(),o=us(n);return e.reduce((r,a)=>r.then(()=>o.run(()=>a(...t))),Promise.resolve())}function Xg(e,t){const n=t.shift(),o=us(n);return Promise.all(e.map(r=>o.run(()=>r(...t))))}function Jr(e,t){for(const n of[...e])n(t)}class Zg{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const r=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!o.allowDeprecated){let i=a.message;i||(i=`${r} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,r=(...a)=>(typeof o=="function"&&o(),o=void 0,r=void 0,n(...a));return o=this.hook(t,r),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const r of o)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Zr(t),o=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of o.splice(0,o.length))r()}}removeHooks(t){const n=Zr(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Qg,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Xg,t,...n)}callHookWith(t,n,...o){const r=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&Jr(this._before,r);const a=t(n in this._hooks?[...this._hooks[n]]:[],o);return a instanceof Promise?a.finally(()=>{this._after&&r&&Jr(this._after,r)}):(this._after&&r&&Jr(this._after,r),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function cs(){return new Zg}var Jg=Object.create,ds=Object.defineProperty,ep=Object.getOwnPropertyDescriptor,el=Object.getOwnPropertyNames,tp=Object.getPrototypeOf,np=Object.prototype.hasOwnProperty,op=(e,t)=>function(){return e&&(t=(0,e[el(e)[0]])(e=0)),t},fs=(e,t)=>function(){return t||(0,e[el(e)[0]])((t={exports:{}}).exports,t),t.exports},rp=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of el(t))!np.call(e,r)&&r!==n&&ds(e,r,{get:()=>t[r],enumerable:!(o=ep(t,r))||o.enumerable});return e},lp=(e,t,n)=>(n=e!=null?Jg(tp(e)):{},rp(ds(n,"default",{value:e,enumerable:!0}),e)),B=op({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.1_@types+node@22.10.5__jiti@2.4.2_postcss@8.4.49_tsx_s7k37zks4wtn7x2grzma6lrsfa/node_modules/tsup/assets/esm_shims.js"(){}}),ap=fs({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){B(),function(n){var o={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},r=["်","ް"],a={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},s={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},u=[";","?",":","@","&","=","+","$",",","/"].join(""),f=[";","?",":","@","&","=","+","$",","].join(""),d=[".","!","~","*","'","(",")"].join(""),c=function(_,g){var b="-",S="",y="",A=!0,I={},T,M,N,P,F,D,K,V,ne,W,$,H,Q,oe,O="";if(typeof _!="string")return"";if(typeof g=="string"&&(b=g),K=s.en,V=i.en,typeof g=="object"){T=g.maintainCase||!1,I=g.custom&&typeof g.custom=="object"?g.custom:I,N=+g.truncate>1&&g.truncate||!1,P=g.uric||!1,F=g.uricNoSlash||!1,D=g.mark||!1,A=!(g.symbols===!1||g.lang===!1),b=g.separator||b,P&&(O+=u),F&&(O+=f),D&&(O+=d),K=g.lang&&s[g.lang]&&A?s[g.lang]:A?s.en:{},V=g.lang&&i[g.lang]?i[g.lang]:g.lang===!1||g.lang===!0?{}:i.en,g.titleCase&&typeof g.titleCase.length=="number"&&Array.prototype.toString.call(g.titleCase)?(g.titleCase.forEach(function(w){I[w+""]=w+""}),M=!0):M=!!g.titleCase,g.custom&&typeof g.custom.length=="number"&&Array.prototype.toString.call(g.custom)&&g.custom.forEach(function(w){I[w+""]=w+""}),Object.keys(I).forEach(function(w){var j;w.length>1?j=new RegExp("\\b"+m(w)+"\\b","gi"):j=new RegExp(m(w),"gi"),_=_.replace(j,I[w])});for($ in I)O+=$}for(O+=b,O=m(O),_=_.replace(/(^\s+|\s+$)/g,""),Q=!1,oe=!1,W=0,H=_.length;W<H;W++)$=_[W],p($,I)?Q=!1:V[$]?($=Q&&V[$].match(/[A-Za-z0-9]/)?" "+V[$]:V[$],Q=!1):$ in o?(W+1<H&&r.indexOf(_[W+1])>=0?(y+=$,$=""):oe===!0?($=a[y]+o[$],y=""):$=Q&&o[$].match(/[A-Za-z0-9]/)?" "+o[$]:o[$],Q=!1,oe=!1):$ in a?(y+=$,$="",W===H-1&&($=a[y]),oe=!0):K[$]&&!(P&&u.indexOf($)!==-1)&&!(F&&f.indexOf($)!==-1)?($=Q||S.substr(-1).match(/[A-Za-z0-9]/)?b+K[$]:K[$],$+=_[W+1]!==void 0&&_[W+1].match(/[A-Za-z0-9]/)?b:"",Q=!0):(oe===!0?($=a[y]+$,y="",oe=!1):Q&&(/[A-Za-z0-9]/.test($)||S.substr(-1).match(/A-Za-z0-9]/))&&($=" "+$),Q=!1),S+=$.replace(new RegExp("[^\\w\\s"+O+"_-]","g"),b);return M&&(S=S.replace(/(\w)(\S*)/g,function(w,j,le){var se=j.toUpperCase()+(le!==null?le:"");return Object.keys(I).indexOf(se.toLowerCase())<0?se:se.toLowerCase()})),S=S.replace(/\s+/g,b).replace(new RegExp("\\"+b+"+","g"),b).replace(new RegExp("(^\\"+b+"+|\\"+b+"+$)","g"),""),N&&S.length>N&&(ne=S.charAt(N)===b,S=S.slice(0,N),ne||(S=S.slice(0,S.lastIndexOf(b)))),!T&&!M&&(S=S.toLowerCase()),S},h=function(_){return function(b){return c(b,_)}},m=function(_){return _.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},p=function(v,_){for(var g in _)if(_[g]===v)return!0};if(typeof t<"u"&&t.exports)t.exports=c,t.exports.createSlug=h;else if(typeof define<"u"&&define.amd)define([],function(){return c});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=c,n.createSlug=h}catch{}}(e)}}),ip=fs({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){B(),t.exports=ap()}});B(),B(),B(),B(),B(),B(),B(),B();function sp(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function up(e){const t=e.__file;if(t)return zg(jg(t,".vue"))}function ms(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function tl(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function hs(e){var t,n;const o=(t=e.subTree)==null?void 0:t.type,r=tl(e);return r?((n=r==null?void 0:r.types)==null?void 0:n.Fragment)===o:!1}function qo(e){var t,n,o;const r=sp((e==null?void 0:e.type)||{});if(r)return r;if((e==null?void 0:e.root)===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===(e==null?void 0:e.type))return ms(e,i);for(const i in(o=e.appContext)==null?void 0:o.components)if(e.appContext.components[i]===(e==null?void 0:e.type))return ms(e,i);const a=up((e==null?void 0:e.type)||{});return a||"Anonymous Component"}function cp(e){var t,n,o;const r=(o=(n=(t=e==null?void 0:e.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?o:0,a=e===(e==null?void 0:e.root)?"root":e.uid;return`${r}:${a}`}function nl(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function dp(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var $o;function fp(e){return $o||($o=document.createRange()),$o.selectNode(e),$o.getBoundingClientRect()}function mp(e){const t=dp();if(!e.children)return t;for(let n=0,o=e.children.length;n<o;n++){const r=e.children[n];let a;if(r.component)a=ln(r.component);else if(r.el){const i=r.el;i.nodeType===1||i.getBoundingClientRect?a=i.getBoundingClientRect():i.nodeType===3&&i.data.trim()&&(a=fp(i))}a&&hp(t,a)}return t}function hp(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var gs={top:0,left:0,right:0,bottom:0,width:0,height:0};function ln(e){const t=e.subTree.el;return typeof window>"u"?gs:hs(e)?mp(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?ln(e.subTree.component):gs}B();function ol(e){return hs(e)?gp(e.subTree):e.subTree?[e.subTree.el]:[]}function gp(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...ol(n.component)):n!=null&&n.el&&t.push(n.el)}),t}var ps="__vue-devtools-component-inspector__",_s="__vue-devtools-component-inspector__card__",bs="__vue-devtools-component-inspector__name__",vs="__vue-devtools-component-inspector__indicator__",ys={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},pp={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},_p={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function kn(){return document.getElementById(ps)}function bp(){return document.getElementById(_s)}function vp(){return document.getElementById(vs)}function yp(){return document.getElementById(bs)}function rl(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function ll(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:ps,Object.assign(n.style,{...ys,...rl(e.bounds),...e.style});const o=document.createElement("span");o.id=_s,Object.assign(o.style,{...pp,top:e.bounds.top<35?0:"-35px"});const r=document.createElement("span");r.id=bs,r.innerHTML=`<${e.name}> `;const a=document.createElement("i");return a.id=vs,a.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(a.style,_p),o.appendChild(r),o.appendChild(a),n.appendChild(o),document.body.appendChild(n),n}function al(e){const t=kn(),n=bp(),o=yp(),r=vp();t&&(Object.assign(t.style,{...ys,...rl(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),o.innerHTML=`<${e.name}> `,r.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function Ep(e){const t=ln(e);if(!t.width&&!t.height)return;const n=qo(e);kn()?al({bounds:t,name:n}):ll({bounds:t,name:n})}function Es(){const e=kn();e&&(e.style.display="none")}var il=null;function sl(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(il=n,n.vnode.el)){const r=ln(n),a=qo(n);kn()?al({bounds:r,name:a}):ll({bounds:r,name:a})}}}function Sp(e,t){if(e.preventDefault(),e.stopPropagation(),il){const n=cp(il);t(n)}}var Uo=null;function Cp(){Es(),window.removeEventListener("mouseover",sl),window.removeEventListener("click",Uo,!0),Uo=null}function kp(){return window.addEventListener("mouseover",sl),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),Sp(n,o=>{window.removeEventListener("click",t,!0),Uo=null,window.removeEventListener("mouseover",sl);const r=kn();r&&(r.style.display="none"),e(JSON.stringify({id:o}))})}Uo=t,window.addEventListener("click",t,!0)})}function wp(e){const t=nl(lt.value,e.id);if(t){const[n]=ol(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const o=ln(t),r=document.createElement("div"),a={...rl(o),position:"absolute"};Object.assign(r.style,a),document.body.appendChild(r),r.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(r)},2e3)}setTimeout(()=>{const o=ln(t);if(o.width||o.height){const r=qo(t),a=kn();a?al({...e,name:r,bounds:o}):ll({...e,name:r,bounds:o}),setTimeout(()=>{a&&(a.style.display="none")},1500)}},1200)}}B();var Ss,Cs;(Cs=(Ss=te).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(Ss.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function Tp(e){let t=0;const n=setInterval(()=>{te.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function Op(){const e=te.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function Ap(){return new Promise(e=>{function t(){Op(),e(te.__VUE_INSPECTOR__)}te.__VUE_INSPECTOR__?t():Tp(()=>{t()})})}B(),B();function Dp(e){return!!(e&&e.__v_isReadonly)}function ks(e){return Dp(e)?ks(e.__v_raw):!!(e&&e.__v_isReactive)}function ul(e){return!!(e&&e.__v_isRef===!0)}function Jn(e){const t=e&&e.__v_raw;return t?Jn(t):e}var Ip=class{constructor(){this.refEditor=new Np}set(e,t,n,o){const r=Array.isArray(t)?t:t.split(".");for(;r.length>1;){const s=r.shift();e instanceof Map&&(e=e.get(s)),e instanceof Set?e=Array.from(e.values())[s]:e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const a=r[0],i=this.refEditor.get(e)[a];o?o(e,a,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[a]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let o=0;o<n.length;o++)if(e instanceof Map?e=e.get(n[o]):e=e[n[o]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const o=Array.isArray(t)?t.slice():t.split("."),r=n?2:1;for(;e&&o.length>r;){const a=o.shift();e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,o[0])}createDefaultSetCallback(e){return(t,n,o)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):Jn(t)instanceof Map?t.delete(n):Jn(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const r=t[e.newKey||n];this.refEditor.isRef(r)?this.refEditor.set(r,o):Jn(t)instanceof Map?t.set(e.newKey||n,o):Jn(t)instanceof Set?t.add(o):t[e.newKey||n]=o}}}},Np=class{set(e,t){if(ul(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(r=>e.add(r));return}const n=Object.keys(t);if(e instanceof Map){const r=new Set(e.keys());n.forEach(a=>{e.set(a,Reflect.get(t,a)),r.delete(a)}),r.forEach(a=>e.delete(a));return}const o=new Set(Object.keys(e));n.forEach(r=>{Reflect.set(e,r,Reflect.get(t,r)),o.delete(r)}),o.forEach(r=>Reflect.deleteProperty(e,r))}}get(e){return ul(e)?e.value:e}isRef(e){return ul(e)||ks(e)}};B(),B(),B();var xp="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Pp(){if(!as||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(xp);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}B(),B(),B();var ws,Ts;(Ts=(ws=te).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(ws.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var Lp=new Proxy(te.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function Vp(e,t){je.timelineLayersState[t.id]=!1,Lp.push({...e,descriptorId:t.id,appRecord:tl(t.app)})}var Os,As;(As=(Os=te).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(Os.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var cl=new Proxy(te.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Ds=Cn(()=>{Tn.hooks.callHook("sendInspectorToClient",Is())});function Rp(e,t){var n,o;cl.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(o=e.stateFilterPlaceholder)!=null?o:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:tl(t.app)}),Ds()}function Is(){return cl.filter(e=>e.descriptor.app===lt.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,o=e.options;return{id:o.id,label:o.label,logo:n.logo,icon:`custom-ic-baseline-${(t=o==null?void 0:o.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function Ho(e,t){return cl.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function Mp(){const e=cs();e.hook("addInspector",({inspector:o,plugin:r})=>{Rp(o,r.descriptor)});const t=Cn(async({inspectorId:o,plugin:r})=>{var a;if(!o||!((a=r==null?void 0:r.descriptor)!=null&&a.app)||je.highPerfModeEnabled)return;const i=Ho(o,r.descriptor.app),s={app:r.descriptor.app,inspectorId:o,filter:(i==null?void 0:i.treeFilter)||"",rootNodes:[]};await new Promise(u=>{e.callHookWith(async f=>{await Promise.all(f.map(d=>d(s))),u()},"getInspectorTree")}),e.callHookWith(async u=>{await Promise.all(u.map(f=>f({inspectorId:o,rootNodes:s.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=Cn(async({inspectorId:o,plugin:r})=>{var a;if(!o||!((a=r==null?void 0:r.descriptor)!=null&&a.app)||je.highPerfModeEnabled)return;const i=Ho(o,r.descriptor.app),s={app:r.descriptor.app,inspectorId:o,nodeId:(i==null?void 0:i.selectedNodeId)||"",state:null},u={currentTab:`custom-inspector:${o}`};s.nodeId&&await new Promise(f=>{e.callHookWith(async d=>{await Promise.all(d.map(c=>c(s,u))),f()},"getInspectorState")}),e.callHookWith(async f=>{await Promise.all(f.map(d=>d({inspectorId:o,nodeId:s.nodeId,state:s.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:o,nodeId:r,plugin:a})=>{const i=Ho(o,a.descriptor.app);i&&(i.selectedNodeId=r)}),e.hook("timelineLayerAdded",({options:o,plugin:r})=>{Vp(o,r.descriptor)}),e.hook("timelineEventAdded",({options:o,plugin:r})=>{var a;const i=["performance","component-event","keyboard","mouse"];je.highPerfModeEnabled||!((a=je.timelineLayersState)!=null&&a[r.descriptor.id])&&!i.includes(o.layerId)||e.callHookWith(async s=>{await Promise.all(s.map(u=>u(o)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:o})=>{const r=o.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!r)return null;const a=r.id.toString();return[...r.instanceMap].filter(([s])=>s.split(":")[0]===a).map(([,s])=>s)}),e.hook("getComponentBounds",async({instance:o})=>ln(o)),e.hook("getComponentName",({instance:o})=>qo(o)),e.hook("componentHighlight",({uid:o})=>{const r=lt.value.instanceMap.get(o);r&&Ep(r)}),e.hook("componentUnhighlight",()=>{Es()}),e}var Ns,xs;(xs=(Ns=te).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(Ns.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Ps,Ls;(Ls=(Ps=te).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Ps.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Vs,Rs;(Rs=(Vs=te).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Vs.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var Ms,Bs;(Bs=(Ms=te).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(Ms.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Fs,qs;(qs=(Fs=te).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Fs.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var an="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function Bp(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Pp()}}var $s,Us;(Us=($s=te)[an])!=null||($s[an]=Bp());var Fp=Cn(e=>{Tn.hooks.callHook("devtoolsStateUpdated",{state:e})});Cn((e,t)=>{Tn.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var zo=new Proxy(te.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?te.__VUE_DEVTOOLS_KIT_APP_RECORDS__:te.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),lt=new Proxy(te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function Hs(){Fp({...te[an],appRecords:zo.value,activeAppRecordId:lt.id,tabs:te.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:te.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function qp(e){te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,Hs()}function $p(e){te.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,Hs()}var je=new Proxy(te[an],{get(e,t){return t==="appRecords"?zo:t==="activeAppRecordId"?lt.id:t==="tabs"?te.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?te.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:te[an][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...te[an]},e[t]=n,te[an][t]=n,!0}});function Up(e={}){var t,n,o;const{file:r,host:a,baseUrl:i=window.location.origin,line:s=0,column:u=0}=e;if(r){if(a==="chrome-extension"){const f=r.replace(/\\/g,"\\\\"),d=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${d}__open-in-editor?file=${encodeURI(r)}`).then(c=>{if(!c.ok){const h=`Opening component ${f} failed`;console.log(`%c${h}`,"color:red")}})}else if(je.vitePluginDetected){const f=(o=te.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?o:i;te.__VUE_INSPECTOR__.openInEditor(f,r,s,u)}}}B(),B(),B(),B(),B();var zs,js;(js=(zs=te).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(zs.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var dl=new Proxy(te.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function fl(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function ml(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Hp(e){var t,n,o;const r=(n=(t=dl.find(a=>{var i;return a[0].id===e&&!!((i=a[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?n:null;return(o=r==null?void 0:r.settings)!=null?o:null}function Ks(e,t){var n,o,r;const a=ml(e);if(a){const i=localStorage.getItem(a);if(i)return JSON.parse(i)}if(e){const i=(o=(n=dl.find(s=>s[0].id===e))==null?void 0:n[0])!=null?o:null;return fl((r=i==null?void 0:i.settings)!=null?r:{})}return fl(t)}function zp(e,t){const n=ml(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(fl(t)))}function jp(e,t,n){const o=ml(e),r=localStorage.getItem(o),a=JSON.parse(r||"{}"),i={...a,[t]:n};localStorage.setItem(o,JSON.stringify(i)),Tn.hooks.callHookWith(s=>{s.forEach(u=>u({pluginId:e,key:t,oldValue:a[t],newValue:n,settings:i}))},"setPluginSettings")}B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B();var Ws,Ys,mt=(Ys=(Ws=te).__VUE_DEVTOOLS_HOOK)!=null?Ys:Ws.__VUE_DEVTOOLS_HOOK=cs(),Kp={vueAppInit(e){mt.hook("app:init",e)},vueAppUnmount(e){mt.hook("app:unmount",e)},vueAppConnected(e){mt.hook("app:connected",e)},componentAdded(e){return mt.hook("component:added",e)},componentEmit(e){return mt.hook("component:emit",e)},componentUpdated(e){return mt.hook("component:updated",e)},componentRemoved(e){return mt.hook("component:removed",e)},setupDevtoolsPlugin(e){mt.hook("devtools-plugin:setup",e)},perfStart(e){return mt.hook("perf:start",e)},perfEnd(e){return mt.hook("perf:end",e)}},Gs={on:Kp,setupDevToolsPlugin(e,t){return mt.callHook("devtools-plugin:setup",e,t)}},Wp=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(je.highPerfModeEnabled)return;const n=Is().find(o=>o.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const o=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];mt.callHook("component:updated",...o)}else mt.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&zp(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){je.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){je.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return je.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){je.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return Ks(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},Yp=Wp;B(),B(),B(),B();var Gp="__vue_devtool_undefined__",Qp="__vue_devtool_infinity__",Xp="__vue_devtool_negative_infinity__",Zp="__vue_devtool_nan__";B(),B();var Jp={[Gp]:"undefined",[Zp]:"NaN",[Qp]:"Infinity",[Xp]:"-Infinity"};Object.entries(Jp).reduce((e,[t,n])=>(e[n]=t,e),{}),B(),B(),B(),B(),B();var Qs,Xs;(Xs=(Qs=te).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(Qs.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function Zs(e,t){return Gs.setupDevToolsPlugin(e,t)}function e_(e,t){const[n,o]=e;if(n.app!==t)return;const r=new Yp({plugin:{setupFn:o,descriptor:n},ctx:Tn});n.packageName==="vuex"&&r.on.editInspectorState(a=>{r.sendInspectorState(a.inspectorId)}),o(r)}function Js(e,t){te.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||je.highPerfModeEnabled&&!(t!=null&&t.inspectingComponent)||(te.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),dl.forEach(n=>{e_(n,e)}))}B(),B();var eo="__VUE_DEVTOOLS_ROUTER__",wn="__VUE_DEVTOOLS_ROUTER_INFO__",eu,tu;(tu=(eu=te)[wn])!=null||(eu[wn]={currentRoute:null,routes:[]});var nu,ou;(ou=(nu=te)[eo])!=null||(nu[eo]={}),new Proxy(te[wn],{get(e,t){return te[wn][t]}}),new Proxy(te[eo],{get(e,t){if(t==="value")return te[eo]}});function t_(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function hl(e){return e.map(t=>{let{path:n,name:o,children:r,meta:a}=t;return r!=null&&r.length&&(r=hl(r)),{path:n,name:o,children:r,meta:a}})}function n_(e){if(e){const{fullPath:t,hash:n,href:o,path:r,name:a,matched:i,params:s,query:u}=e;return{fullPath:t,hash:n,href:o,path:r,name:a,params:s,query:u,matched:hl(i)}}return e}function o_(e,t){function n(){var o;const r=(o=e.app)==null?void 0:o.config.globalProperties.$router,a=n_(r==null?void 0:r.currentRoute.value),i=hl(t_(r)),s=console.warn;console.warn=()=>{},te[wn]={currentRoute:a?ss(a):{},routes:ss(i)},te[eo]=r,console.warn=s}n(),Gs.on.componentUpdated(Cn(()=>{var o;((o=t.value)==null?void 0:o.app)===e.app&&(n(),!je.highPerfModeEnabled&&Tn.hooks.callHook("routerInfoUpdated",{state:te[wn]}))},200))}function r_(e){return{async getInspectorTree(t){const n={...t,app:lt.value.app,rootNodes:[]};return await new Promise(o=>{e.callHookWith(async r=>{await Promise.all(r.map(a=>a(n))),o()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:lt.value.app,state:null},o={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(r=>{e.callHookWith(async a=>{await Promise.all(a.map(i=>i(n,o))),r()},"getInspectorState")}),n.state},editInspectorState(t){const n=new Ip,o={...t,app:lt.value.app,set:(r,a=t.path,i=t.state.value,s)=>{n.set(r,a,i,s||n.createDefaultSetCallback(t.state))}};e.callHookWith(r=>{r.forEach(a=>a(o))},"editInspectorState")},sendInspectorState(t){const n=Ho(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return kp()},cancelInspectComponentInspector(){return Cp()},getComponentRenderCode(t){const n=nl(lt.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return wp({id:t})},openInEditor:Up,getVueInspector:Ap,toggleApp(t,n){const o=zo.value.find(r=>r.id===t);o&&($p(t),qp(o),o_(o,lt),Ds(),Js(o.app,n))},inspectDOM(t){const n=nl(lt.value,t);if(n){const[o]=ol(n);o&&(te.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=o)}},updatePluginSettings(t,n,o){jp(t,n,o)},getPluginSettings(t){return{options:Hp(t),values:Ks(t)}}}}B();var ru,lu;(lu=(ru=te).__VUE_DEVTOOLS_ENV__)!=null||(ru.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var au=Mp(),iu,su;(su=(iu=te).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(iu.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:au,get state(){return{...je,activeAppRecordId:lt.id,activeAppRecord:lt.value,appRecords:zo.value}},api:r_(au)});var Tn=te.__VUE_DEVTOOLS_KIT_CONTEXT__;B(),lp(ip());var uu,cu;(cu=(uu=te).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(uu.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set}),B();function l_(e){je.highPerfModeEnabled=e??!je.highPerfModeEnabled,!e&<.value&&Js(lt.value.app)}B(),B(),B();function a_(e){je.devtoolsClientDetected={...je.devtoolsClientDetected,...e};const t=Object.values(je.devtoolsClientDetected).some(Boolean);l_(!t)}var du,fu;(fu=(du=te).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(du.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=a_),B(),B(),B(),B(),B(),B(),B();var i_=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},mu=class{constructor(e){this.generateIdentifier=e,this.kv=new i_}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},s_=class extends mu{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};B(),B();function u_(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function c_(e,t){const n=u_(e);if("find"in n)return n.find(t);const o=n;for(let r=0;r<o.length;r++){const a=o[r];if(t(a))return a}}function On(e,t){Object.entries(e).forEach(([n,o])=>t(o,n))}function jo(e,t){return e.indexOf(t)!==-1}function hu(e,t){for(let n=0;n<e.length;n++){const o=e[n];if(t(o))return o}}var d_=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return c_(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};B(),B();var f_=e=>Object.prototype.toString.call(e).slice(8,-1),gu=e=>typeof e>"u",m_=e=>e===null,to=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,gl=e=>to(e)&&Object.keys(e).length===0,jt=e=>Array.isArray(e),h_=e=>typeof e=="string",g_=e=>typeof e=="number"&&!isNaN(e),p_=e=>typeof e=="boolean",__=e=>e instanceof RegExp,no=e=>e instanceof Map,oo=e=>e instanceof Set,pu=e=>f_(e)==="Symbol",b_=e=>e instanceof Date&&!isNaN(e.valueOf()),v_=e=>e instanceof Error,_u=e=>typeof e=="number"&&isNaN(e),y_=e=>p_(e)||m_(e)||gu(e)||g_(e)||h_(e)||pu(e),E_=e=>typeof e=="bigint",S_=e=>e===1/0||e===-1/0,C_=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),k_=e=>e instanceof URL;B();var bu=e=>e.replace(/\./g,"\\."),pl=e=>e.map(String).map(bu).join("."),ro=e=>{const t=[];let n="";for(let r=0;r<e.length;r++){let a=e.charAt(r);if(a==="\\"&&e.charAt(r+1)==="."){n+=".",r++;continue}if(a==="."){t.push(n),n="";continue}n+=a}const o=n;return t.push(o),t};B();function xt(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var vu=[xt(gu,"undefined",()=>null,()=>{}),xt(E_,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),xt(b_,"Date",e=>e.toISOString(),e=>new Date(e)),xt(v_,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(o=>{n[o]=e[o]}),n}),xt(__,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),xt(oo,"set",e=>[...e.values()],e=>new Set(e)),xt(no,"map",e=>[...e.entries()],e=>new Map(e)),xt(e=>_u(e)||S_(e),"number",e=>_u(e)?"NaN":e>0?"Infinity":"-Infinity",Number),xt(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),xt(k_,"URL",e=>e.toString(),e=>new URL(e))];function Ko(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var yu=Ko((e,t)=>pu(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o}),w_=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),Eu=Ko(C_,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=w_[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function Su(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var Cu=Ko(Su,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const o={};return n.forEach(r=>{o[r]=e[r]}),o},(e,t,n)=>{const o=n.classRegistry.getValue(t[1]);if(!o)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(o.prototype),e)}),ku=Ko((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)}),T_=[Cu,yu,ku,Eu],wu=(e,t)=>{const n=hu(T_,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const o=hu(vu,r=>r.isApplicable(e,t));if(o)return{value:o.transform(e,t),type:o.annotation}},Tu={};vu.forEach(e=>{Tu[e.annotation]=e});var O_=(e,t,n)=>{if(jt(t))switch(t[0]){case"symbol":return yu.untransform(e,t,n);case"class":return Cu.untransform(e,t,n);case"custom":return ku.untransform(e,t,n);case"typed-array":return Eu.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const o=Tu[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}};B();var An=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function Ou(e){if(jo(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(jo(e,"prototype"))throw new Error("prototype is not allowed as a property");if(jo(e,"constructor"))throw new Error("constructor is not allowed as a property")}var A_=(e,t)=>{Ou(t);for(let n=0;n<t.length;n++){const o=t[n];if(oo(e))e=An(e,+o);else if(no(e)){const r=+o,a=+t[++n]==0?"key":"value",i=An(e,r);switch(a){case"key":e=i;break;case"value":e=e.get(i);break}}else e=e[o]}return e},_l=(e,t,n)=>{if(Ou(t),t.length===0)return n(e);let o=e;for(let a=0;a<t.length-1;a++){const i=t[a];if(jt(o)){const s=+i;o=o[s]}else if(to(o))o=o[i];else if(oo(o)){const s=+i;o=An(o,s)}else if(no(o)){if(a===t.length-2)break;const u=+i,f=+t[++a]==0?"key":"value",d=An(o,u);switch(f){case"key":o=d;break;case"value":o=o.get(d);break}}}const r=t[t.length-1];if(jt(o)?o[+r]=n(o[+r]):to(o)&&(o[r]=n(o[r])),oo(o)){const a=An(o,+r),i=n(a);a!==i&&(o.delete(a),o.add(i))}if(no(o)){const a=+t[t.length-2],i=An(o,a);switch(+r==0?"key":"value"){case"key":{const u=n(i);o.set(u,o.get(i)),u!==i&&o.delete(i);break}case"value":{o.set(i,n(o.get(i)));break}}}return e};function bl(e,t,n=[]){if(!e)return;if(!jt(e)){On(e,(a,i)=>bl(a,t,[...n,...ro(i)]));return}const[o,r]=e;r&&On(r,(a,i)=>{bl(a,t,[...n,...ro(i)])}),t(o,n)}function D_(e,t,n){return bl(t,(o,r)=>{e=_l(e,r,a=>O_(a,o,n))}),e}function I_(e,t){function n(o,r){const a=A_(e,ro(r));o.map(ro).forEach(i=>{e=_l(e,i,()=>a)})}if(jt(t)){const[o,r]=t;o.forEach(a=>{e=_l(e,ro(a),()=>e)}),r&&On(r,n)}else On(t,n);return e}var N_=(e,t)=>to(e)||jt(e)||no(e)||oo(e)||Su(e,t);function x_(e,t,n){const o=n.get(e);o?o.push(t):n.set(e,[t])}function P_(e,t){const n={};let o;return e.forEach(r=>{if(r.length<=1)return;t||(r=r.map(s=>s.map(String)).sort((s,u)=>s.length-u.length));const[a,...i]=r;a.length===0?o=i.map(pl):n[pl(a)]=i.map(pl)}),o?gl(n)?[o]:[o,n]:gl(n)?void 0:n}var Au=(e,t,n,o,r=[],a=[],i=new Map)=>{var s;const u=y_(e);if(!u){x_(e,r,t);const p=i.get(e);if(p)return o?{transformedValue:null}:p}if(!N_(e,n)){const p=wu(e,n),v=p?{transformedValue:p.value,annotations:[p.type]}:{transformedValue:e};return u||i.set(e,v),v}if(jo(a,e))return{transformedValue:null};const f=wu(e,n),d=(s=f==null?void 0:f.value)!=null?s:e,c=jt(d)?[]:{},h={};On(d,(p,v)=>{if(v==="__proto__"||v==="constructor"||v==="prototype")throw new Error(`Detected property ${v}. This is a prototype pollution risk, please remove it from your object.`);const _=Au(p,t,n,o,[...r,v],[...a,e],i);c[v]=_.transformedValue,jt(_.annotations)?h[v]=_.annotations:to(_.annotations)&&On(_.annotations,(g,b)=>{h[bu(v)+"."+b]=g})});const m=gl(h)?{transformedValue:c,annotations:f?[f.type]:void 0}:{transformedValue:c,annotations:f?[f.type,h]:h};return u||i.set(e,m),m};B(),B();function Du(e){return Object.prototype.toString.call(e).slice(8,-1)}function Iu(e){return Du(e)==="Array"}function L_(e){if(Du(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function V_(e,t,n,o,r){const a={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";a==="enumerable"&&(e[t]=n),r&&a==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function vl(e,t={}){if(Iu(e))return e.map(r=>vl(r,t));if(!L_(e))return e;const n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertySymbols(e);return[...n,...o].reduce((r,a)=>{if(Iu(t.props)&&!t.props.includes(a))return r;const i=e[a],s=vl(i,t);return V_(r,a,s,e,t.nonenumerable),r},{})}var we=class{constructor({dedupe:e=!1}={}){this.classRegistry=new s_,this.symbolRegistry=new mu(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new d_,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=Au(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta={...o.meta,values:n.annotations});const r=P_(t,this.dedupe);return r&&(o.meta={...o.meta,referentialEqualities:r}),o}deserialize(e){const{json:t,meta:n}=e;let o=vl(t);return n!=null&&n.values&&(o=D_(o,n.values,this)),n!=null&&n.referentialEqualities&&(o=I_(o,n.referentialEqualities)),o}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};we.defaultInstance=new we,we.serialize=we.defaultInstance.serialize.bind(we.defaultInstance),we.deserialize=we.defaultInstance.deserialize.bind(we.defaultInstance),we.stringify=we.defaultInstance.stringify.bind(we.defaultInstance),we.parse=we.defaultInstance.parse.bind(we.defaultInstance),we.registerClass=we.defaultInstance.registerClass.bind(we.defaultInstance),we.registerSymbol=we.defaultInstance.registerSymbol.bind(we.defaultInstance),we.registerCustom=we.defaultInstance.registerCustom.bind(we.defaultInstance),we.allowErrorProps=we.defaultInstance.allowErrorProps.bind(we.defaultInstance),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B(),B();var Nu,xu;(xu=(Nu=te).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(Nu.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var Pu,Lu;(Lu=(Pu=te).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(Pu.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Vu,Ru;(Ru=(Vu=te).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(Vu.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var Mu,Bu;(Bu=(Mu=te).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(Mu.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var Fu,qu;(qu=(Fu=te).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(Fu.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var $u,Uu;(Uu=($u=te).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||($u.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null),B(),B(),B(),B(),B(),B(),B();/*!
|
|
2
2
|
* pinia v3.0.1
|
|
3
3
|
* (c) 2025 Eduardo San Martin Morote
|
|
4
4
|
* @license MIT
|
|
@@ -8,20 +8,20 @@ Only state can be modified.`);i[0]="$state",Dn=!1,o.set(a,i,o.state.value),Dn=!0
|
|
|
8
8
|
* shared v10.0.5
|
|
9
9
|
* (c) 2024 kazuya kawaguchi
|
|
10
10
|
* Released under the MIT License.
|
|
11
|
-
*/const Tt=typeof window<"u";let ht,cn;if(process.env.NODE_ENV!=="production"){const e=Tt&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ht=t=>{e.mark(t)},cn=(t,n,o)=>{e.measure(t,n,o),e.clearMarks(n),e.clearMarks(o)})}const r0=/\{([0-9a-zA-Z]+)\}/g;function Zo(e,...t){return t.length===1&&pe(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(r0,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Pt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),l0=(e,t,n)=>a0({l:e,k:t,s:n}),a0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Re=e=>typeof e=="number"&&isFinite(e),i0=e=>kl(e)==="[object Date]",In=e=>kl(e)==="[object RegExp]",Jo=e=>ce(e)&&Object.keys(e).length===0,Ke=Object.assign,s0=Object.create,ye=(e=null)=>s0(e);let ec;const dn=()=>ec||(ec=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ye());function tc(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const u0=Object.prototype.hasOwnProperty;function Ot(e,t){return u0.call(e,t)}const
|
|
12
|
-
`)}function Wt(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rc={};function lc(e){rc[e]||(rc[e]=!0,Wt(e))}function Tl(){const e=new Map;return{events:e,on(n,o){const r=e.get(n);r&&r.push(o)||e.set(n,[o])},off(n,o){const r=e.get(n);r&&r.splice(r.indexOf(o)>>>0,1)},emit(n,o){(e.get(n)||[]).slice().map(r=>r(o)),(e.get("*")||[]).slice().map(r=>r(n,o))}}}const er=e=>!pe(e)||
|
|
11
|
+
*/const Tt=typeof window<"u";let ht,cn;if(process.env.NODE_ENV!=="production"){const e=Tt&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ht=t=>{e.mark(t)},cn=(t,n,o)=>{e.measure(t,n,o),e.clearMarks(n),e.clearMarks(o)})}const r0=/\{([0-9a-zA-Z]+)\}/g;function Zo(e,...t){return t.length===1&&pe(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(r0,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Pt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),l0=(e,t,n)=>a0({l:e,k:t,s:n}),a0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Re=e=>typeof e=="number"&&isFinite(e),i0=e=>kl(e)==="[object Date]",In=e=>kl(e)==="[object RegExp]",Jo=e=>ce(e)&&Object.keys(e).length===0,Ke=Object.assign,s0=Object.create,ye=(e=null)=>s0(e);let ec;const dn=()=>ec||(ec=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ye());function tc(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const u0=Object.prototype.hasOwnProperty;function Ot(e,t){return u0.call(e,t)}const Ne=Array.isArray,Se=e=>typeof e=="function",Y=e=>typeof e=="string",_e=e=>typeof e=="boolean",pe=e=>e!==null&&typeof e=="object",c0=e=>pe(e)&&Se(e.then)&&Se(e.catch),nc=Object.prototype.toString,kl=e=>nc.call(e),ce=e=>kl(e)==="[object Object]",d0=e=>e==null?"":Ne(e)||ce(e)&&e.toString===nc?JSON.stringify(e,null,2):String(e);function wl(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const oc=2;function f0(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const a=[];for(let i=0;i<o.length;i++)if(r+=o[i].length+1,r>=t){for(let s=i-oc;s<=i+oc||n>r;s++){if(s<0||s>=o.length)continue;const u=s+1;a.push(`${u}${" ".repeat(3-String(u).length)}| ${o[s]}`);const f=o[s].length;if(s===i){const d=t-(r-f)+1,c=Math.max(1,n>r?f-d:n-t);a.push(" | "+" ".repeat(d)+"^".repeat(c))}else if(s>i){if(n>r){const d=Math.max(Math.min(n-r,f),1);a.push(" | "+"^".repeat(d))}r+=f+1}}break}return a.join(`
|
|
12
|
+
`)}function Wt(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rc={};function lc(e){rc[e]||(rc[e]=!0,Wt(e))}function Tl(){const e=new Map;return{events:e,on(n,o){const r=e.get(n);r&&r.push(o)||e.set(n,[o])},off(n,o){const r=e.get(n);r&&r.splice(r.indexOf(o)>>>0,1)},emit(n,o){(e.get(n)||[]).slice().map(r=>r(o)),(e.get("*")||[]).slice().map(r=>r(n,o))}}}const er=e=>!pe(e)||Ne(e);function tr(e,t){if(er(e)||er(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:r}=n.pop();Object.keys(o).forEach(a=>{a!=="__proto__"&&(pe(o[a])&&!pe(r[a])&&(r[a]=Array.isArray(o[a])?[]:ye()),er(r[a])||er(o[a])?r[a]=o[a]:n.push({src:o[a],des:r[a]}))})}}/*!
|
|
13
13
|
* message-compiler v10.0.5
|
|
14
14
|
* (c) 2024 kazuya kawaguchi
|
|
15
15
|
* Released under the MIT License.
|
|
16
|
-
*/function m0(e,t,n){return{line:e,column:t,offset:n}}function Ol(e,t,n){return{start:e,end:t}}const ie={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},h0=17,g0={[ie.EXPECTED_TOKEN]:"Expected token: '{0}'",[ie.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ie.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ie.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ie.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ie.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ie.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ie.EMPTY_PLACEHOLDER]:"Empty placeholder",[ie.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ie.INVALID_LINKED_FORMAT]:"Invalid linked format",[ie.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ie.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ie.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ie.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ie.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ie.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function
|
|
17
|
-
`,y0="\u2028",E0="\u2029";function S0(e){const t=e;let n=0,o=1,r=1,a=0;const i=T=>t[T]===v0&&t[T+1]===at,s=T=>t[T]===at,u=T=>t[T]===E0,f=T=>t[T]===y0,d=T=>i(T)||s(T)||u(T)||f(T),c=()=>n,h=()=>o,m=()=>r,_=()=>a,v=T=>i(T)||u(T)||f(T)?at:t[T],p=()=>v(n),g=()=>v(n+a);function b(){return a=0,d(n)&&(o++,r=0),i(n)&&n++,n++,r++,t[n]}function S(){return i(n+a)&&a++,a++,t[n+a]}function y(){n=0,o=1,r=1,a=0}function A(T=0){a=T}function I(){const T=n+a;for(;T!==n;)b();a=0}return{index:c,line:h,column:m,peekOffset:_,charAt:v,currentChar:p,currentPeek:g,next:b,peek:S,reset:y,resetPeek:A,skipToPeek:I}}const Yt=void 0,C0=".",ac="'",k0="tokenizer";function w0(e,t={}){const n=t.location!==!1,o=S0(e),r=()=>o.index(),a=()=>m0(o.line(),o.column(),o.index()),i=a(),s=r(),u={currentType:13,offset:s,startLoc:i,endLoc:i,lastType:13,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},f=()=>u,{onError:d}=t;function c(E,k,R,...J){const me=f();if(k.column+=R,k.offset+=R,d){const ve=n?Ol(me.startLoc,k):null,de=xn(E,ve,{domain:k0,args:J});d(de)}}function h(E,k,R){E.endLoc=a(),E.currentType=k;const J={type:k};return n&&(J.loc=Ol(E.startLoc,E.endLoc)),R!=null&&(J.value=R),J}const m=E=>h(E,13);function _(E,k){return E.currentChar()===k?(E.next(),k):(c(ie.EXPECTED_TOKEN,a(),0,k),"")}function v(E){let k="";for(;E.currentPeek()===Bt||E.currentPeek()===at;)k+=E.currentPeek(),E.peek();return k}function p(E){const k=v(E);return E.skipToPeek(),k}function g(E){if(E===Yt)return!1;const k=E.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function b(E){if(E===Yt)return!1;const k=E.charCodeAt(0);return k>=48&&k<=57}function S(E,k){const{currentType:R}=k;if(R!==2)return!1;v(E);const J=g(E.currentPeek());return E.resetPeek(),J}function y(E,k){const{currentType:R}=k;if(R!==2)return!1;v(E);const J=E.currentPeek()==="-"?E.peek():E.currentPeek(),me=b(J);return E.resetPeek(),me}function A(E,k){const{currentType:R}=k;if(R!==2)return!1;v(E);const J=E.currentPeek()===ac;return E.resetPeek(),J}function I(E,k){const{currentType:R}=k;if(R!==7)return!1;v(E);const J=E.currentPeek()===".";return E.resetPeek(),J}function T(E,k){const{currentType:R}=k;if(R!==8)return!1;v(E);const J=g(E.currentPeek());return E.resetPeek(),J}function M(E,k){const{currentType:R}=k;if(!(R===7||R===11))return!1;v(E);const J=E.currentPeek()===":";return E.resetPeek(),J}function x(E,k){const{currentType:R}=k;if(R!==9)return!1;const J=()=>{const ve=E.currentPeek();return ve==="{"?g(E.peek()):ve==="@"||ve==="|"||ve===":"||ve==="."||ve===Bt||!ve?!1:ve===at?(E.peek(),J()):F(E,!1)},me=J();return E.resetPeek(),me}function P(E){v(E);const k=E.currentPeek()==="|";return E.resetPeek(),k}function F(E,k=!0){const R=(me=!1,ve="")=>{const de=E.currentPeek();return de==="{"||de==="@"||!de?me:de==="|"?!(ve===Bt||ve===at):de===Bt?(E.peek(),R(!0,Bt)):de===at?(E.peek(),R(!0,at)):!0},J=R();return k&&E.resetPeek(),J}function D(E,k){const R=E.currentChar();return R===Yt?Yt:k(R)?(E.next(),R):null}function K(E){const k=E.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function V(E){return D(E,K)}function ne(E){const k=E.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36||k===45}function W(E){return D(E,ne)}function $(E){const k=E.charCodeAt(0);return k>=48&&k<=57}function H(E){return D(E,$)}function Q(E){const k=E.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function oe(E){return D(E,Q)}function O(E){let k="",R="";for(;k=H(E);)R+=k;return R}function w(E){let k="";for(;;){const R=E.currentChar();if(R==="{"||R==="}"||R==="@"||R==="|"||!R)break;if(R===Bt||R===at)if(F(E))k+=R,E.next();else{if(P(E))break;k+=R,E.next()}else k+=R,E.next()}return k}function j(E){p(E);let k="",R="";for(;k=W(E);)R+=k;return E.currentChar()===Yt&&c(ie.UNTERMINATED_CLOSING_BRACE,a(),0),R}function le(E){p(E);let k="";return E.currentChar()==="-"?(E.next(),k+=`-${O(E)}`):k+=O(E),E.currentChar()===Yt&&c(ie.UNTERMINATED_CLOSING_BRACE,a(),0),k}function se(E){return E!==ac&&E!==at}function U(E){p(E),_(E,"'");let k="",R="";for(;k=D(E,se);)k==="\\"?R+=G(E):R+=k;const J=E.currentChar();return J===at||J===Yt?(c(ie.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),J===at&&(E.next(),_(E,"'")),R):(_(E,"'"),R)}function G(E){const k=E.currentChar();switch(k){case"\\":case"'":return E.next(),`\\${k}`;case"u":return ge(E,k,4);case"U":return ge(E,k,6);default:return c(ie.UNKNOWN_ESCAPE_SEQUENCE,a(),0,k),""}}function ge(E,k,R){_(E,k);let J="";for(let me=0;me<R;me++){const ve=oe(E);if(!ve){c(ie.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${k}${J}${E.currentChar()}`);break}J+=ve}return`\\${k}${J}`}function z(E){return E!=="{"&&E!=="}"&&E!==Bt&&E!==at}function Ee(E){p(E);let k="",R="";for(;k=D(E,z);)R+=k;return R}function Ne(E){let k="",R="";for(;k=V(E);)R+=k;return R}function vt(E){const k=R=>{const J=E.currentChar();return J==="{"||J==="@"||J==="|"||J==="("||J===")"||!J||J===Bt?R:(R+=J,E.next(),k(R))};return k("")}function Le(E){p(E);const k=_(E,"|");return p(E),k}function ut(E,k){let R=null;switch(E.currentChar()){case"{":return k.braceNest>=1&&c(ie.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),E.next(),R=h(k,2,"{"),p(E),k.braceNest++,R;case"}":return k.braceNest>0&&k.currentType===2&&c(ie.EMPTY_PLACEHOLDER,a(),0),E.next(),R=h(k,3,"}"),k.braceNest--,k.braceNest>0&&p(E),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),R;case"@":return k.braceNest>0&&c(ie.UNTERMINATED_CLOSING_BRACE,a(),0),R=We(E,k)||m(k),k.braceNest=0,R;default:{let me=!0,ve=!0,de=!0;if(P(E))return k.braceNest>0&&c(ie.UNTERMINATED_CLOSING_BRACE,a(),0),R=h(k,1,Le(E)),k.braceNest=0,k.inLinked=!1,R;if(k.braceNest>0&&(k.currentType===4||k.currentType===5||k.currentType===6))return c(ie.UNTERMINATED_CLOSING_BRACE,a(),0),k.braceNest=0,Ze(E,k);if(me=S(E,k))return R=h(k,4,j(E)),p(E),R;if(ve=y(E,k))return R=h(k,5,le(E)),p(E),R;if(de=A(E,k))return R=h(k,6,U(E)),p(E),R;if(!me&&!ve&&!de)return R=h(k,12,Ee(E)),c(ie.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,R.value),p(E),R;break}}return R}function We(E,k){const{currentType:R}=k;let J=null;const me=E.currentChar();switch((R===7||R===8||R===11||R===9)&&(me===at||me===Bt)&&c(ie.INVALID_LINKED_FORMAT,a(),0),me){case"@":return E.next(),J=h(k,7,"@"),k.inLinked=!0,J;case".":return p(E),E.next(),h(k,8,".");case":":return p(E),E.next(),h(k,9,":");default:return P(E)?(J=h(k,1,Le(E)),k.braceNest=0,k.inLinked=!1,J):I(E,k)||M(E,k)?(p(E),We(E,k)):T(E,k)?(p(E),h(k,11,Ne(E))):x(E,k)?(p(E),me==="{"?ut(E,k)||J:h(k,10,vt(E))):(R===7&&c(ie.INVALID_LINKED_FORMAT,a(),0),k.braceNest=0,k.inLinked=!1,Ze(E,k))}}function Ze(E,k){let R={type:13};if(k.braceNest>0)return ut(E,k)||m(k);if(k.inLinked)return We(E,k)||m(k);switch(E.currentChar()){case"{":return ut(E,k)||m(k);case"}":return c(ie.UNBALANCED_CLOSING_BRACE,a(),0),E.next(),h(k,3,"}");case"@":return We(E,k)||m(k);default:{if(P(E))return R=h(k,1,Le(E)),k.braceNest=0,k.inLinked=!1,R;if(F(E))return h(k,0,w(E));break}}return R}function yt(){const{currentType:E,offset:k,startLoc:R,endLoc:J}=u;return u.lastType=E,u.lastOffset=k,u.lastStartLoc=R,u.lastEndLoc=J,u.offset=r(),u.startLoc=a(),o.currentChar()===Yt?h(u,13):Ze(o,u)}return{nextToken:yt,currentOffset:r,currentPosition:a,context:f}}const T0="parser",O0=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function A0(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function D0(e={}){const t=e.location!==!1,{onError:n}=e;function o(g,b,S,y,...A){const I=g.currentPosition();if(I.offset+=y,I.column+=y,n){const T=t?Ol(S,I):null,M=xn(b,T,{domain:T0,args:A});n(M)}}function r(g,b,S){const y={type:g};return t&&(y.start=b,y.end=b,y.loc={start:S,end:S}),y}function a(g,b,S,y){t&&(g.end=b,g.loc&&(g.loc.end=S))}function i(g,b){const S=g.context(),y=r(3,S.offset,S.startLoc);return y.value=b,a(y,g.currentOffset(),g.currentPosition()),y}function s(g,b){const S=g.context(),{lastOffset:y,lastStartLoc:A}=S,I=r(5,y,A);return I.index=parseInt(b,10),g.nextToken(),a(I,g.currentOffset(),g.currentPosition()),I}function u(g,b){const S=g.context(),{lastOffset:y,lastStartLoc:A}=S,I=r(4,y,A);return I.key=b,g.nextToken(),a(I,g.currentOffset(),g.currentPosition()),I}function f(g,b){const S=g.context(),{lastOffset:y,lastStartLoc:A}=S,I=r(9,y,A);return I.value=b.replace(O0,A0),g.nextToken(),a(I,g.currentOffset(),g.currentPosition()),I}function d(g){const b=g.nextToken(),S=g.context(),{lastOffset:y,lastStartLoc:A}=S,I=r(8,y,A);return b.type!==11?(o(g,ie.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),I.value="",a(I,y,A),{nextConsumeToken:b,node:I}):(b.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Lt(b)),I.value=b.value||"",a(I,g.currentOffset(),g.currentPosition()),{node:I})}function c(g,b){const S=g.context(),y=r(7,S.offset,S.startLoc);return y.value=b,a(y,g.currentOffset(),g.currentPosition()),y}function h(g){const b=g.context(),S=r(6,b.offset,b.startLoc);let y=g.nextToken();if(y.type===8){const A=d(g);S.modifier=A.node,y=A.nextConsumeToken||g.nextToken()}switch(y.type!==9&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(y)),y=g.nextToken(),y.type===2&&(y=g.nextToken()),y.type){case 10:y.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(y)),S.key=c(g,y.value||"");break;case 4:y.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(y)),S.key=u(g,y.value||"");break;case 5:y.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(y)),S.key=s(g,y.value||"");break;case 6:y.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(y)),S.key=f(g,y.value||"");break;default:{o(g,ie.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const A=g.context(),I=r(7,A.offset,A.startLoc);return I.value="",a(I,A.offset,A.startLoc),S.key=I,a(S,A.offset,A.startLoc),{nextConsumeToken:y,node:S}}}return a(S,g.currentOffset(),g.currentPosition()),{node:S}}function m(g){const b=g.context(),S=b.currentType===1?g.currentOffset():b.offset,y=b.currentType===1?b.endLoc:b.startLoc,A=r(2,S,y);A.items=[];let I=null;do{const x=I||g.nextToken();switch(I=null,x.type){case 0:x.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(x)),A.items.push(i(g,x.value||""));break;case 5:x.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(x)),A.items.push(s(g,x.value||""));break;case 4:x.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(x)),A.items.push(u(g,x.value||""));break;case 6:x.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(x)),A.items.push(f(g,x.value||""));break;case 7:{const P=h(g);A.items.push(P.node),I=P.nextConsumeToken||null;break}}}while(b.currentType!==13&&b.currentType!==1);const T=b.currentType===1?b.lastOffset:g.currentOffset(),M=b.currentType===1?b.lastEndLoc:g.currentPosition();return a(A,T,M),A}function _(g,b,S,y){const A=g.context();let I=y.items.length===0;const T=r(1,b,S);T.cases=[],T.cases.push(y);do{const M=m(g);I||(I=M.items.length===0),T.cases.push(M)}while(A.currentType!==13);return I&&o(g,ie.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),a(T,g.currentOffset(),g.currentPosition()),T}function v(g){const b=g.context(),{offset:S,startLoc:y}=b,A=m(g);return b.currentType===13?A:_(g,S,y,A)}function p(g){const b=w0(g,Ke({},e)),S=b.context(),y=r(0,S.offset,S.startLoc);return t&&y.loc&&(y.loc.source=g),y.body=v(b),e.onCacheKey&&(y.cacheKey=e.onCacheKey(g)),S.currentType!==13&&o(b,ie.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,g[S.offset]||""),a(y,b.currentOffset(),b.currentPosition()),y}return{parse:p}}function Lt(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function I0(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function ic(e,t){for(let n=0;n<e.length;n++)Al(e[n],t)}function Al(e,t){switch(e.type){case 1:ic(e.cases,t),t.helper("plural");break;case 2:ic(e.items,t);break;case 6:{Al(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function x0(e,t={}){const n=I0(e);n.helper("normalize"),e.body&&Al(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function N0(e){const t=e.body;return t.type===2?sc(t):t.cases.forEach(n=>sc(n)),e}function sc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const o=e.items[n];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=wl(t);for(let n=0;n<e.items.length;n++){const o=e.items[n];(o.type===3||o.type===9)&&delete o.value}}}}const P0="minifier";function Nn(e){switch(e.t=e.type,e.type){case 0:{const t=e;Nn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let o=0;o<n.length;o++)Nn(n[o]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let o=0;o<n.length;o++)Nn(n[o]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Nn(t.key),t.k=t.key,delete t.key,t.modifier&&(Nn(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw xn(ie.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:P0,args:[e.type]})}delete e.type}const L0="parser";function V0(e,t){const{filename:n,breakLineCode:o,needIndent:r}=t,a=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:r,indentLevel:0};a&&e.loc&&(i.source=e.loc.source);const s=()=>i;function u(v,p){i.code+=v}function f(v,p=!0){const g=p?o:"";u(r?g+" ".repeat(v):g)}function d(v=!0){const p=++i.indentLevel;v&&f(p)}function c(v=!0){const p=--i.indentLevel;v&&f(p)}function h(){f(i.indentLevel)}return{context:s,push:u,indent:d,deindent:c,newline:h,helper:v=>`_${v}`,needIndent:()=>i.needIndent}}function R0(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Pn(e,t.key),t.modifier?(e.push(", "),Pn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function M0(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let a=0;a<r&&(Pn(e,t.items[a]),a!==r-1);a++)e.push(", ");e.deindent(o()),e.push("])")}function B0(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let a=0;a<r&&(Pn(e,t.cases[a]),a!==r-1);a++)e.push(", ");e.deindent(o()),e.push("])")}}function F0(e,t){t.body?Pn(e,t.body):e.push("null")}function Pn(e,t){const{helper:n}=e;switch(t.type){case 0:F0(e,t);break;case 1:B0(e,t);break;case 2:M0(e,t);break;case 6:R0(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw xn(ie.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:L0,args:[t.type]})}}const q0=(e,t={})=>{const n=Y(t.mode)?t.mode:"normal",o=Y(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
18
|
-
`,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],s=V0(e,{filename:o,breakLineCode:r,needIndent:a});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),i.length>0&&(s.push(`const { ${wl(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),Pn(s,e),s.deindent(a),s.push("}"),delete e.helpers;const{code:u,map:f}=s.context();return{ast:e,code:u,map:f?f.toJSON():void 0}};function $0(e,t={}){const n=Ke({},t),o=!!n.jit,r=!!n.minify,a=n.optimize==null?!0:n.optimize,s=D0(n).parse(e);return o?(a&&
|
|
16
|
+
*/function m0(e,t,n){return{line:e,column:t,offset:n}}function Ol(e,t,n){return{start:e,end:t}}const ie={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},h0=17,g0={[ie.EXPECTED_TOKEN]:"Expected token: '{0}'",[ie.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ie.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ie.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ie.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ie.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ie.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ie.EMPTY_PLACEHOLDER]:"Empty placeholder",[ie.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ie.INVALID_LINKED_FORMAT]:"Invalid linked format",[ie.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ie.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ie.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ie.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ie.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ie.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Nn(e,t,n={}){const{domain:o,messages:r,args:a}=n,i=process.env.NODE_ENV!=="production"?Zo((r||g0)[e]||"",...a||[]):e,s=new SyntaxError(String(i));return s.code=e,t&&(s.location=t),s.domain=o,s}function p0(e){throw e}const _0=/<\/?[\w\s="/.':;#-\/]+>/,b0=e=>_0.test(e),Bt=" ",v0="\r",at=`
|
|
17
|
+
`,y0="\u2028",E0="\u2029";function S0(e){const t=e;let n=0,o=1,r=1,a=0;const i=T=>t[T]===v0&&t[T+1]===at,s=T=>t[T]===at,u=T=>t[T]===E0,f=T=>t[T]===y0,d=T=>i(T)||s(T)||u(T)||f(T),c=()=>n,h=()=>o,m=()=>r,p=()=>a,v=T=>i(T)||u(T)||f(T)?at:t[T],_=()=>v(n),g=()=>v(n+a);function b(){return a=0,d(n)&&(o++,r=0),i(n)&&n++,n++,r++,t[n]}function S(){return i(n+a)&&a++,a++,t[n+a]}function y(){n=0,o=1,r=1,a=0}function A(T=0){a=T}function I(){const T=n+a;for(;T!==n;)b();a=0}return{index:c,line:h,column:m,peekOffset:p,charAt:v,currentChar:_,currentPeek:g,next:b,peek:S,reset:y,resetPeek:A,skipToPeek:I}}const Yt=void 0,C0=".",ac="'",k0="tokenizer";function w0(e,t={}){const n=t.location!==!1,o=S0(e),r=()=>o.index(),a=()=>m0(o.line(),o.column(),o.index()),i=a(),s=r(),u={currentType:13,offset:s,startLoc:i,endLoc:i,lastType:13,lastOffset:s,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},f=()=>u,{onError:d}=t;function c(E,k,R,...J){const me=f();if(k.column+=R,k.offset+=R,d){const ve=n?Ol(me.startLoc,k):null,de=Nn(E,ve,{domain:k0,args:J});d(de)}}function h(E,k,R){E.endLoc=a(),E.currentType=k;const J={type:k};return n&&(J.loc=Ol(E.startLoc,E.endLoc)),R!=null&&(J.value=R),J}const m=E=>h(E,13);function p(E,k){return E.currentChar()===k?(E.next(),k):(c(ie.EXPECTED_TOKEN,a(),0,k),"")}function v(E){let k="";for(;E.currentPeek()===Bt||E.currentPeek()===at;)k+=E.currentPeek(),E.peek();return k}function _(E){const k=v(E);return E.skipToPeek(),k}function g(E){if(E===Yt)return!1;const k=E.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function b(E){if(E===Yt)return!1;const k=E.charCodeAt(0);return k>=48&&k<=57}function S(E,k){const{currentType:R}=k;if(R!==2)return!1;v(E);const J=g(E.currentPeek());return E.resetPeek(),J}function y(E,k){const{currentType:R}=k;if(R!==2)return!1;v(E);const J=E.currentPeek()==="-"?E.peek():E.currentPeek(),me=b(J);return E.resetPeek(),me}function A(E,k){const{currentType:R}=k;if(R!==2)return!1;v(E);const J=E.currentPeek()===ac;return E.resetPeek(),J}function I(E,k){const{currentType:R}=k;if(R!==7)return!1;v(E);const J=E.currentPeek()===".";return E.resetPeek(),J}function T(E,k){const{currentType:R}=k;if(R!==8)return!1;v(E);const J=g(E.currentPeek());return E.resetPeek(),J}function M(E,k){const{currentType:R}=k;if(!(R===7||R===11))return!1;v(E);const J=E.currentPeek()===":";return E.resetPeek(),J}function N(E,k){const{currentType:R}=k;if(R!==9)return!1;const J=()=>{const ve=E.currentPeek();return ve==="{"?g(E.peek()):ve==="@"||ve==="|"||ve===":"||ve==="."||ve===Bt||!ve?!1:ve===at?(E.peek(),J()):F(E,!1)},me=J();return E.resetPeek(),me}function P(E){v(E);const k=E.currentPeek()==="|";return E.resetPeek(),k}function F(E,k=!0){const R=(me=!1,ve="")=>{const de=E.currentPeek();return de==="{"||de==="@"||!de?me:de==="|"?!(ve===Bt||ve===at):de===Bt?(E.peek(),R(!0,Bt)):de===at?(E.peek(),R(!0,at)):!0},J=R();return k&&E.resetPeek(),J}function D(E,k){const R=E.currentChar();return R===Yt?Yt:k(R)?(E.next(),R):null}function K(E){const k=E.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function V(E){return D(E,K)}function ne(E){const k=E.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36||k===45}function W(E){return D(E,ne)}function $(E){const k=E.charCodeAt(0);return k>=48&&k<=57}function H(E){return D(E,$)}function Q(E){const k=E.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function oe(E){return D(E,Q)}function O(E){let k="",R="";for(;k=H(E);)R+=k;return R}function w(E){let k="";for(;;){const R=E.currentChar();if(R==="{"||R==="}"||R==="@"||R==="|"||!R)break;if(R===Bt||R===at)if(F(E))k+=R,E.next();else{if(P(E))break;k+=R,E.next()}else k+=R,E.next()}return k}function j(E){_(E);let k="",R="";for(;k=W(E);)R+=k;return E.currentChar()===Yt&&c(ie.UNTERMINATED_CLOSING_BRACE,a(),0),R}function le(E){_(E);let k="";return E.currentChar()==="-"?(E.next(),k+=`-${O(E)}`):k+=O(E),E.currentChar()===Yt&&c(ie.UNTERMINATED_CLOSING_BRACE,a(),0),k}function se(E){return E!==ac&&E!==at}function U(E){_(E),p(E,"'");let k="",R="";for(;k=D(E,se);)k==="\\"?R+=G(E):R+=k;const J=E.currentChar();return J===at||J===Yt?(c(ie.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),J===at&&(E.next(),p(E,"'")),R):(p(E,"'"),R)}function G(E){const k=E.currentChar();switch(k){case"\\":case"'":return E.next(),`\\${k}`;case"u":return ge(E,k,4);case"U":return ge(E,k,6);default:return c(ie.UNKNOWN_ESCAPE_SEQUENCE,a(),0,k),""}}function ge(E,k,R){p(E,k);let J="";for(let me=0;me<R;me++){const ve=oe(E);if(!ve){c(ie.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${k}${J}${E.currentChar()}`);break}J+=ve}return`\\${k}${J}`}function z(E){return E!=="{"&&E!=="}"&&E!==Bt&&E!==at}function Ee(E){_(E);let k="",R="";for(;k=D(E,z);)R+=k;return R}function xe(E){let k="",R="";for(;k=V(E);)R+=k;return R}function vt(E){const k=R=>{const J=E.currentChar();return J==="{"||J==="@"||J==="|"||J==="("||J===")"||!J||J===Bt?R:(R+=J,E.next(),k(R))};return k("")}function Le(E){_(E);const k=p(E,"|");return _(E),k}function ut(E,k){let R=null;switch(E.currentChar()){case"{":return k.braceNest>=1&&c(ie.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),E.next(),R=h(k,2,"{"),_(E),k.braceNest++,R;case"}":return k.braceNest>0&&k.currentType===2&&c(ie.EMPTY_PLACEHOLDER,a(),0),E.next(),R=h(k,3,"}"),k.braceNest--,k.braceNest>0&&_(E),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),R;case"@":return k.braceNest>0&&c(ie.UNTERMINATED_CLOSING_BRACE,a(),0),R=We(E,k)||m(k),k.braceNest=0,R;default:{let me=!0,ve=!0,de=!0;if(P(E))return k.braceNest>0&&c(ie.UNTERMINATED_CLOSING_BRACE,a(),0),R=h(k,1,Le(E)),k.braceNest=0,k.inLinked=!1,R;if(k.braceNest>0&&(k.currentType===4||k.currentType===5||k.currentType===6))return c(ie.UNTERMINATED_CLOSING_BRACE,a(),0),k.braceNest=0,Ze(E,k);if(me=S(E,k))return R=h(k,4,j(E)),_(E),R;if(ve=y(E,k))return R=h(k,5,le(E)),_(E),R;if(de=A(E,k))return R=h(k,6,U(E)),_(E),R;if(!me&&!ve&&!de)return R=h(k,12,Ee(E)),c(ie.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,R.value),_(E),R;break}}return R}function We(E,k){const{currentType:R}=k;let J=null;const me=E.currentChar();switch((R===7||R===8||R===11||R===9)&&(me===at||me===Bt)&&c(ie.INVALID_LINKED_FORMAT,a(),0),me){case"@":return E.next(),J=h(k,7,"@"),k.inLinked=!0,J;case".":return _(E),E.next(),h(k,8,".");case":":return _(E),E.next(),h(k,9,":");default:return P(E)?(J=h(k,1,Le(E)),k.braceNest=0,k.inLinked=!1,J):I(E,k)||M(E,k)?(_(E),We(E,k)):T(E,k)?(_(E),h(k,11,xe(E))):N(E,k)?(_(E),me==="{"?ut(E,k)||J:h(k,10,vt(E))):(R===7&&c(ie.INVALID_LINKED_FORMAT,a(),0),k.braceNest=0,k.inLinked=!1,Ze(E,k))}}function Ze(E,k){let R={type:13};if(k.braceNest>0)return ut(E,k)||m(k);if(k.inLinked)return We(E,k)||m(k);switch(E.currentChar()){case"{":return ut(E,k)||m(k);case"}":return c(ie.UNBALANCED_CLOSING_BRACE,a(),0),E.next(),h(k,3,"}");case"@":return We(E,k)||m(k);default:{if(P(E))return R=h(k,1,Le(E)),k.braceNest=0,k.inLinked=!1,R;if(F(E))return h(k,0,w(E));break}}return R}function yt(){const{currentType:E,offset:k,startLoc:R,endLoc:J}=u;return u.lastType=E,u.lastOffset=k,u.lastStartLoc=R,u.lastEndLoc=J,u.offset=r(),u.startLoc=a(),o.currentChar()===Yt?h(u,13):Ze(o,u)}return{nextToken:yt,currentOffset:r,currentPosition:a,context:f}}const T0="parser",O0=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function A0(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function D0(e={}){const t=e.location!==!1,{onError:n}=e;function o(g,b,S,y,...A){const I=g.currentPosition();if(I.offset+=y,I.column+=y,n){const T=t?Ol(S,I):null,M=Nn(b,T,{domain:T0,args:A});n(M)}}function r(g,b,S){const y={type:g};return t&&(y.start=b,y.end=b,y.loc={start:S,end:S}),y}function a(g,b,S,y){t&&(g.end=b,g.loc&&(g.loc.end=S))}function i(g,b){const S=g.context(),y=r(3,S.offset,S.startLoc);return y.value=b,a(y,g.currentOffset(),g.currentPosition()),y}function s(g,b){const S=g.context(),{lastOffset:y,lastStartLoc:A}=S,I=r(5,y,A);return I.index=parseInt(b,10),g.nextToken(),a(I,g.currentOffset(),g.currentPosition()),I}function u(g,b){const S=g.context(),{lastOffset:y,lastStartLoc:A}=S,I=r(4,y,A);return I.key=b,g.nextToken(),a(I,g.currentOffset(),g.currentPosition()),I}function f(g,b){const S=g.context(),{lastOffset:y,lastStartLoc:A}=S,I=r(9,y,A);return I.value=b.replace(O0,A0),g.nextToken(),a(I,g.currentOffset(),g.currentPosition()),I}function d(g){const b=g.nextToken(),S=g.context(),{lastOffset:y,lastStartLoc:A}=S,I=r(8,y,A);return b.type!==11?(o(g,ie.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),I.value="",a(I,y,A),{nextConsumeToken:b,node:I}):(b.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Lt(b)),I.value=b.value||"",a(I,g.currentOffset(),g.currentPosition()),{node:I})}function c(g,b){const S=g.context(),y=r(7,S.offset,S.startLoc);return y.value=b,a(y,g.currentOffset(),g.currentPosition()),y}function h(g){const b=g.context(),S=r(6,b.offset,b.startLoc);let y=g.nextToken();if(y.type===8){const A=d(g);S.modifier=A.node,y=A.nextConsumeToken||g.nextToken()}switch(y.type!==9&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(y)),y=g.nextToken(),y.type===2&&(y=g.nextToken()),y.type){case 10:y.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(y)),S.key=c(g,y.value||"");break;case 4:y.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(y)),S.key=u(g,y.value||"");break;case 5:y.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(y)),S.key=s(g,y.value||"");break;case 6:y.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(y)),S.key=f(g,y.value||"");break;default:{o(g,ie.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const A=g.context(),I=r(7,A.offset,A.startLoc);return I.value="",a(I,A.offset,A.startLoc),S.key=I,a(S,A.offset,A.startLoc),{nextConsumeToken:y,node:S}}}return a(S,g.currentOffset(),g.currentPosition()),{node:S}}function m(g){const b=g.context(),S=b.currentType===1?g.currentOffset():b.offset,y=b.currentType===1?b.endLoc:b.startLoc,A=r(2,S,y);A.items=[];let I=null;do{const N=I||g.nextToken();switch(I=null,N.type){case 0:N.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(N)),A.items.push(i(g,N.value||""));break;case 5:N.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(N)),A.items.push(s(g,N.value||""));break;case 4:N.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(N)),A.items.push(u(g,N.value||""));break;case 6:N.value==null&&o(g,ie.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,Lt(N)),A.items.push(f(g,N.value||""));break;case 7:{const P=h(g);A.items.push(P.node),I=P.nextConsumeToken||null;break}}}while(b.currentType!==13&&b.currentType!==1);const T=b.currentType===1?b.lastOffset:g.currentOffset(),M=b.currentType===1?b.lastEndLoc:g.currentPosition();return a(A,T,M),A}function p(g,b,S,y){const A=g.context();let I=y.items.length===0;const T=r(1,b,S);T.cases=[],T.cases.push(y);do{const M=m(g);I||(I=M.items.length===0),T.cases.push(M)}while(A.currentType!==13);return I&&o(g,ie.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),a(T,g.currentOffset(),g.currentPosition()),T}function v(g){const b=g.context(),{offset:S,startLoc:y}=b,A=m(g);return b.currentType===13?A:p(g,S,y,A)}function _(g){const b=w0(g,Ke({},e)),S=b.context(),y=r(0,S.offset,S.startLoc);return t&&y.loc&&(y.loc.source=g),y.body=v(b),e.onCacheKey&&(y.cacheKey=e.onCacheKey(g)),S.currentType!==13&&o(b,ie.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,g[S.offset]||""),a(y,b.currentOffset(),b.currentPosition()),y}return{parse:_}}function Lt(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function I0(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:a=>(n.helpers.add(a),a)}}function ic(e,t){for(let n=0;n<e.length;n++)Al(e[n],t)}function Al(e,t){switch(e.type){case 1:ic(e.cases,t),t.helper("plural");break;case 2:ic(e.items,t);break;case 6:{Al(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function N0(e,t={}){const n=I0(e);n.helper("normalize"),e.body&&Al(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function x0(e){const t=e.body;return t.type===2?sc(t):t.cases.forEach(n=>sc(n)),e}function sc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const o=e.items[n];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=wl(t);for(let n=0;n<e.items.length;n++){const o=e.items[n];(o.type===3||o.type===9)&&delete o.value}}}}const P0="minifier";function xn(e){switch(e.t=e.type,e.type){case 0:{const t=e;xn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let o=0;o<n.length;o++)xn(n[o]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let o=0;o<n.length;o++)xn(n[o]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;xn(t.key),t.k=t.key,delete t.key,t.modifier&&(xn(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:if(process.env.NODE_ENV!=="production")throw Nn(ie.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:P0,args:[e.type]})}delete e.type}const L0="parser";function V0(e,t){const{filename:n,breakLineCode:o,needIndent:r}=t,a=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:r,indentLevel:0};a&&e.loc&&(i.source=e.loc.source);const s=()=>i;function u(v,_){i.code+=v}function f(v,_=!0){const g=_?o:"";u(r?g+" ".repeat(v):g)}function d(v=!0){const _=++i.indentLevel;v&&f(_)}function c(v=!0){const _=--i.indentLevel;v&&f(_)}function h(){f(i.indentLevel)}return{context:s,push:u,indent:d,deindent:c,newline:h,helper:v=>`_${v}`,needIndent:()=>i.needIndent}}function R0(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Pn(e,t.key),t.modifier?(e.push(", "),Pn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function M0(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let a=0;a<r&&(Pn(e,t.items[a]),a!==r-1);a++)e.push(", ");e.deindent(o()),e.push("])")}function B0(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let a=0;a<r&&(Pn(e,t.cases[a]),a!==r-1);a++)e.push(", ");e.deindent(o()),e.push("])")}}function F0(e,t){t.body?Pn(e,t.body):e.push("null")}function Pn(e,t){const{helper:n}=e;switch(t.type){case 0:F0(e,t);break;case 1:B0(e,t);break;case 2:M0(e,t);break;case 6:R0(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:if(process.env.NODE_ENV!=="production")throw Nn(ie.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:L0,args:[t.type]})}}const q0=(e,t={})=>{const n=Y(t.mode)?t.mode:"normal",o=Y(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
18
|
+
`,a=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],s=V0(e,{filename:o,breakLineCode:r,needIndent:a});s.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),s.indent(a),i.length>0&&(s.push(`const { ${wl(i.map(d=>`${d}: _${d}`),", ")} } = ctx`),s.newline()),s.push("return "),Pn(s,e),s.deindent(a),s.push("}"),delete e.helpers;const{code:u,map:f}=s.context();return{ast:e,code:u,map:f?f.toJSON():void 0}};function $0(e,t={}){const n=Ke({},t),o=!!n.jit,r=!!n.minify,a=n.optimize==null?!0:n.optimize,s=D0(n).parse(e);return o?(a&&x0(s),r&&xn(s),{ast:s,code:""}):(N0(s,n),q0(s,n))}/*!
|
|
19
19
|
* core-base v10.0.5
|
|
20
20
|
* (c) 2024 kazuya kawaguchi
|
|
21
21
|
* Released under the MIT License.
|
|
22
|
-
*/function U0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(dn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(dn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Dl(e){return n=>H0(n,e)}function H0(e,t){const n=j0(t);if(n==null)throw lo(0);if(xl(n)===1){const a=W0(n);return e.plural(a.reduce((i,s)=>[...i,uc(e,s)],[]))}else return uc(e,n)}const z0=["b","body"];function j0(e){return Gt(e,z0)}const K0=["c","cases"];function W0(e){return Gt(e,K0,[])}function uc(e,t){const n=G0(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const o=X0(t).reduce((r,a)=>[...r,Il(e,a)],[]);return e.normalize(o)}}const Y0=["s","static"];function G0(e){return Gt(e,Y0)}const Q0=["i","items"];function X0(e){return Gt(e,Q0,[])}function Il(e,t){const n=xl(t);switch(n){case 3:return nr(t,n);case 9:return nr(t,n);case 4:{const o=t;if(Ot(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(Ot(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw lo(n)}case 5:{const o=t;if(Ot(o,"i")&&Re(o.i))return e.interpolate(e.list(o.i));if(Ot(o,"index")&&Re(o.index))return e.interpolate(e.list(o.index));throw lo(n)}case 6:{const o=t,r=tb(o),a=ob(o);return e.linked(Il(e,a),r?Il(e,r):void 0,e.type)}case 7:return nr(t,n);case 8:return nr(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Z0=["t","type"];function xl(e){return Gt(e,Z0)}const J0=["v","value"];function nr(e,t){const n=Gt(e,J0);if(n)return n;throw lo(t)}const eb=["m","modifier"];function tb(e){return Gt(e,eb)}const nb=["k","key"];function ob(e){const t=Gt(e,nb);if(t)return t;throw lo(6)}function Gt(e,t,n){for(let o=0;o<t.length;o++){const r=t[o];if(Ot(e,r)&&e[r]!=null)return e[r]}return n}function lo(e){return new Error(`unhandled node type: ${e}`)}const rb="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function lb(e,t){t&&b0(e)&&Wt(Zo(rb,{source:e}))}const ab=e=>e;let or=ye();function Qt(e){return pe(e)&&xl(e)===0&&(Ot(e,"b")||Ot(e,"body"))}function ib(e,t={}){let n=!1;const o=t.onError||p0;return t.onError=r=>{n=!0,o(r)},{...$0(e,t),detectError:n}}function sb(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Y(e)){const n=_e(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&lb(e,n);const r=(t.onCacheKey||ab)(e),a=or[r];if(a)return a;const{ast:i,detectError:s}=ib(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),u=Dl(i);return s?u:or[r]=u}else{if(process.env.NODE_ENV!=="production"&&!Qt(e))return Wt(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const o=or[n];return o||(or[n]=Dl(e))}else return Dl(e)}}let ao=null;function ub(e){ao=e}function cb(e,t,n){ao&&ao.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const db=fb("function:translate");function fb(e){return t=>ao&&ao.emit(e,t)}const ot={INVALID_ARGUMENT:h0,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},mb=24;function Ft(e){return xn(e,null,process.env.NODE_ENV!=="production"?{messages:hb}:void 0)}const hb={[ot.INVALID_ARGUMENT]:"Invalid arguments",[ot.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ot.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ot.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ot.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ot.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ot.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Nl(e,t){return t.locale!=null?cc(t.locale):cc(e.locale)}let Pl;function cc(e){if(Y(e))return e;if(Se(e)){if(e.resolvedOnce&&Pl!=null)return Pl;if(e.constructor.name==="Function"){const t=e();if(c0(t))throw Ft(ot.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Pl=t}else throw Ft(ot.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ft(ot.NOT_SUPPORT_LOCALE_TYPE)}function gb(e,t,n){return[...new Set([n,...xe(t)?t:pe(t)?Object.keys(t):Y(t)?[t]:[n]])]}function dc(e,t,n){const o=Y(n)?n:io,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(o);if(!a){a=[];let i=[n];for(;xe(i);)i=fc(a,i,t);const s=xe(t)||!ce(t)?t:t.default?t.default:null;i=Y(s)?[s]:s,xe(i)&&fc(a,i,!1),r.__localeChainCache.set(o,a)}return a}function fc(e,t,n){let o=!0;for(let r=0;r<t.length&&_e(o);r++){const a=t[r];Y(a)&&(o=pb(e,t[r],n))}return o}function pb(e,t,n){let o;const r=t.split("-");do{const a=r.join("-");o=_b(e,a,n),r.splice(-1,1)}while(r.length&&o===!0);return o}function _b(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(xe(n)||ce(n))&&n[r]&&(o=n[r])}return o}const Xt=[];Xt[0]={w:[0],i:[3,0],"[":[4],o:[7]},Xt[1]={w:[1],".":[2],"[":[4],o:[7]},Xt[2]={w:[2],i:[3,0],0:[3,0]},Xt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Xt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Xt[5]={"'":[4,0],o:8,l:[5,0]},Xt[6]={'"':[4,0],o:8,l:[6,0]};const bb=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function vb(e){return bb.test(e)}function yb(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Eb(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Sb(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:vb(t)?yb(t):"*"+t}function Cb(e){const t=[];let n=-1,o=0,r=0,a,i,s,u,f,d,c;const h=[];h[0]=()=>{i===void 0?i=s:i+=s},h[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,o=4,h[0]();else{if(r=0,i===void 0||(i=Sb(i),i===!1))return!1;h[1]()}};function m(){const _=e[n+1];if(o===5&&_==="'"||o===6&&_==='"')return n++,s="\\"+_,h[0](),!0}for(;o!==null;)if(n++,a=e[n],!(a==="\\"&&m())){if(u=Eb(a),c=Xt[o],f=c[u]||c.l||8,f===8||(o=f[0],f[1]!==void 0&&(d=h[f[1]],d&&(s=a,d()===!1))))return;if(o===7)return t}}const mc=new Map;function kb(e,t){return pe(e)?e[t]:null}function wb(e,t){if(!pe(e))return null;let n=mc.get(t);if(n||(n=Cb(t),n&&mc.set(t,n)),!n)return null;const o=n.length;let r=e,a=0;for(;a<o;){const i=r[n[a]];if(i===void 0||Se(r))return null;r=i,a++}return r}const st={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},Tb=8,Ob={[st.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[st.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[st.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[st.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[st.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[st.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[st.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function fn(e,...t){return Zo(Ob[e],...t)}const Ab="10.0.5",rr=-1,io="en-US",lr="",hc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Db(){return{upper:(e,t)=>t==="text"&&Y(e)?e.toUpperCase():t==="vnode"&&pe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Y(e)?e.toLowerCase():t==="vnode"&&pe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Y(e)?hc(e):t==="vnode"&&pe(e)&&"__v_isVNode"in e?hc(e.children):e}}let gc;function Ib(e){gc=e}let pc;function xb(e){pc=e}let _c;function Nb(e){_c=e}let bc=null;const Pb=e=>{bc=e},Lb=()=>bc;let vc=null;const yc=e=>{vc=e},Vb=()=>vc;let Ec=0;function Rb(e={}){const t=Se(e.onWarn)?e.onWarn:Wt,n=Y(e.version)?e.version:Ab,o=Y(e.locale)||Se(e.locale)?e.locale:io,r=Se(o)?io:o,a=xe(e.fallbackLocale)||ce(e.fallbackLocale)||Y(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,i=ce(e.messages)?e.messages:Ll(r),s=ce(e.datetimeFormats)?e.datetimeFormats:Ll(r),u=ce(e.numberFormats)?e.numberFormats:Ll(r),f=Ke(ye(),e.modifiers,Db()),d=e.pluralRules||ye(),c=Se(e.missing)?e.missing:null,h=_e(e.missingWarn)||In(e.missingWarn)?e.missingWarn:!0,m=_e(e.fallbackWarn)||In(e.fallbackWarn)?e.fallbackWarn:!0,_=!!e.fallbackFormat,v=!!e.unresolving,p=Se(e.postTranslation)?e.postTranslation:null,g=ce(e.processor)?e.processor:null,b=_e(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,y=Se(e.messageCompiler)?e.messageCompiler:gc;process.env.NODE_ENV!=="production"&&Se(e.messageCompiler)&&lc(fn(st.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const A=Se(e.messageResolver)?e.messageResolver:pc||kb,I=Se(e.localeFallbacker)?e.localeFallbacker:_c||gb,T=pe(e.fallbackContext)?e.fallbackContext:void 0,M=e,x=pe(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,P=pe(M.__numberFormatters)?M.__numberFormatters:new Map,F=pe(M.__meta)?M.__meta:{};Ec++;const D={version:n,cid:Ec,locale:o,fallbackLocale:a,messages:i,modifiers:f,pluralRules:d,missing:c,missingWarn:h,fallbackWarn:m,fallbackFormat:_,unresolving:v,postTranslation:p,processor:g,warnHtmlMessage:b,escapeParameter:S,messageCompiler:y,messageResolver:A,localeFallbacker:I,fallbackContext:T,onWarn:t,__meta:F};return D.datetimeFormats=s,D.numberFormats=u,D.__datetimeFormatters=x,D.__numberFormatters=P,process.env.NODE_ENV!=="production"&&(D.__v_emitter=M.__v_emitter!=null?M.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&cb(D,n,F),D}const Ll=e=>({[e]:ye()});function ar(e,t){return e instanceof RegExp?e.test(t):e}function Sc(e,t){return e instanceof RegExp?e.test(t):e}function Vl(e,t,n,o,r){const{missing:a,onWarn:i}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:n,key:t,type:r,groupId:`${r}:${t}`})}if(a!==null){const s=a(e,n,t,r);return Y(s)?s:t}else return process.env.NODE_ENV!=="production"&&Sc(o,t)&&i(fn(st.NOT_FOUND_KEY,{key:t,locale:n})),t}function so(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Cc(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Mb(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;o<t.length;o++)if(Cc(e,t[o]))return!0;return!1}const kc=typeof Intl<"u",wc={dateTimeFormat:kc&&typeof Intl.DateTimeFormat<"u",numberFormat:kc&&typeof Intl.NumberFormat<"u"};function Tc(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!wc.dateTimeFormat)return a(fn(st.CANNOT_FORMAT_DATE)),lr;const[u,f,d,c]=Rl(...t),h=_e(d.missingWarn)?d.missingWarn:e.missingWarn,m=_e(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,_=!!d.part,v=Nl(e,d),p=i(e,r,v);if(!Y(u)||u==="")return new Intl.DateTimeFormat(v,c).format(f);let g={},b,S=null,y=v,A=null;const I="datetime format";for(let x=0;x<p.length;x++){if(b=A=p[x],process.env.NODE_ENV!=="production"&&v!==b&&ar(m,u)&&a(fn(st.FALLBACK_TO_DATE_FORMAT,{key:u,target:b})),process.env.NODE_ENV!=="production"&&v!==b){const P=e.__v_emitter;P&&P.emit("fallback",{type:I,key:u,from:y,to:A,groupId:`${I}:${u}`})}if(g=n[b]||{},S=g[u],ce(S))break;Vl(e,u,b,h,I),y=A}if(!ce(S)||!Y(b))return o?rr:u;let T=`${b}__${u}`;Jo(c)||(T=`${T}__${JSON.stringify(c)}`);let M=s.get(T);return M||(M=new Intl.DateTimeFormat(b,Ke({},S,c)),s.set(T,M)),_?M.formatToParts(f):M.format(f)}const Oc=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Rl(...e){const[t,n,o,r]=e,a=ye();let i=ye(),s;if(Y(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Ft(ot.INVALID_ISO_DATE_ARGUMENT);const f=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();s=new Date(f);try{s.toISOString()}catch{throw Ft(ot.INVALID_ISO_DATE_ARGUMENT)}}else if(i0(t)){if(isNaN(t.getTime()))throw Ft(ot.INVALID_DATE_ARGUMENT);s=t}else if(Re(t))s=t;else throw Ft(ot.INVALID_ARGUMENT);return Y(n)?a.key=n:ce(n)&&Object.keys(n).forEach(u=>{Oc.includes(u)?i[u]=n[u]:a[u]=n[u]}),Y(o)?a.locale=o:ce(o)&&(i=o),ce(r)&&(i=r),[a.key||"",s,a,i]}function Ac(e,t,n){const o=e;for(const r in n){const a=`${t}__${r}`;o.__datetimeFormatters.has(a)&&o.__datetimeFormatters.delete(a)}}function Dc(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!wc.numberFormat)return a(fn(st.CANNOT_FORMAT_NUMBER)),lr;const[u,f,d,c]=Ml(...t),h=_e(d.missingWarn)?d.missingWarn:e.missingWarn,m=_e(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,_=!!d.part,v=Nl(e,d),p=i(e,r,v);if(!Y(u)||u==="")return new Intl.NumberFormat(v,c).format(f);let g={},b,S=null,y=v,A=null;const I="number format";for(let x=0;x<p.length;x++){if(b=A=p[x],process.env.NODE_ENV!=="production"&&v!==b&&ar(m,u)&&a(fn(st.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:b})),process.env.NODE_ENV!=="production"&&v!==b){const P=e.__v_emitter;P&&P.emit("fallback",{type:I,key:u,from:y,to:A,groupId:`${I}:${u}`})}if(g=n[b]||{},S=g[u],ce(S))break;Vl(e,u,b,h,I),y=A}if(!ce(S)||!Y(b))return o?rr:u;let T=`${b}__${u}`;Jo(c)||(T=`${T}__${JSON.stringify(c)}`);let M=s.get(T);return M||(M=new Intl.NumberFormat(b,Ke({},S,c)),s.set(T,M)),_?M.formatToParts(f):M.format(f)}const Ic=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ml(...e){const[t,n,o,r]=e,a=ye();let i=ye();if(!Re(t))throw Ft(ot.INVALID_ARGUMENT);const s=t;return Y(n)?a.key=n:ce(n)&&Object.keys(n).forEach(u=>{Ic.includes(u)?i[u]=n[u]:a[u]=n[u]}),Y(o)?a.locale=o:ce(o)&&(i=o),ce(r)&&(i=r),[a.key||"",s,a,i]}function xc(e,t,n){const o=e;for(const r in n){const a=`${t}__${r}`;o.__numberFormatters.has(a)&&o.__numberFormatters.delete(a)}}const Bb=e=>e,Fb=e=>"",qb="text",$b=e=>e.length===0?"":wl(e),Ub=d0;function Nc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Hb(e){const t=Re(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Re(e.named.count)||Re(e.named.n))?Re(e.named.count)?e.named.count:Re(e.named.n)?e.named.n:t:t}function zb(e,t){t.count||(t.count=e),t.n||(t.n=e)}function jb(e={}){const t=e.locale,n=Hb(e),o=pe(e.pluralRules)&&Y(t)&&Se(e.pluralRules[t])?e.pluralRules[t]:Nc,r=pe(e.pluralRules)&&Y(t)&&Se(e.pluralRules[t])?Nc:void 0,a=g=>g[o(n,g.length,r)],i=e.list||[],s=g=>i[g],u=e.named||ye();Re(e.pluralIndex)&&zb(n,u);const f=g=>u[g];function d(g,b){const S=Se(e.messages)?e.messages(g,!!b):pe(e.messages)?e.messages[g]:!1;return S||(e.parent?e.parent.message(g):Fb)}const c=g=>e.modifiers?e.modifiers[g]:Bb,h=ce(e.processor)&&Se(e.processor.normalize)?e.processor.normalize:$b,m=ce(e.processor)&&Se(e.processor.interpolate)?e.processor.interpolate:Ub,_=ce(e.processor)&&Y(e.processor.type)?e.processor.type:qb,p={list:s,named:f,plural:a,linked:(g,...b)=>{const[S,y]=b;let A="text",I="";b.length===1?pe(S)?(I=S.modifier||I,A=S.type||A):Y(S)&&(I=S||I):b.length===2&&(Y(S)&&(I=S||I),Y(y)&&(A=y||A));const T=d(g,!0)(p),M=A==="vnode"&&xe(T)&&I?T[0]:T;return I?c(I)(M,A):M},message:d,type:_,interpolate:m,normalize:h,values:Ke(ye(),i,u)};return p}const Pc=()=>"",bt=e=>Se(e);function Lc(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:a,fallbackLocale:i,messages:s}=e,[u,f]=Bl(...t),d=_e(f.missingWarn)?f.missingWarn:e.missingWarn,c=_e(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,h=_e(f.escapeParameter)?f.escapeParameter:e.escapeParameter,m=!!f.resolvedMessage,_=Y(f.default)||_e(f.default)?_e(f.default)?a?u:()=>u:f.default:n?a?u:()=>u:null,v=n||_!=null&&(Y(_)||Se(_)),p=Nl(e,f);h&&Kb(f);let[g,b,S]=m?[u,p,s[p]||ye()]:Vc(e,u,p,i,c,d),y=g,A=u;if(!m&&!(Y(y)||Qt(y)||bt(y))&&v&&(y=_,A=y),!m&&(!(Y(y)||Qt(y)||bt(y))||!Y(b)))return r?rr:u;if(process.env.NODE_ENV!=="production"&&Y(y)&&e.messageCompiler==null)return Wt(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`),u;let I=!1;const T=()=>{I=!0},M=bt(y)?y:Rc(e,u,b,y,A,T);if(I)return y;const x=Qb(e,b,S,f),P=jb(x),F=Wb(e,M,P),D=o?o(F,u):F;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:Y(u)?u:bt(y)?y.key:"",locale:b||(bt(y)?y.locale:""),format:Y(y)?y:bt(y)?y.source:"",message:D};K.meta=Ke({},e.__meta,Lb()||{}),db(K)}return D}function Kb(e){xe(e.list)?e.list=e.list.map(t=>Y(t)?tc(t):t):pe(e.named)&&Object.keys(e.named).forEach(t=>{Y(e.named[t])&&(e.named[t]=tc(e.named[t]))})}function Vc(e,t,n,o,r,a){const{messages:i,onWarn:s,messageResolver:u,localeFallbacker:f}=e,d=f(e,o,n);let c=ye(),h,m=null,_=n,v=null;const p="translate";for(let g=0;g<d.length;g++){if(h=v=d[g],process.env.NODE_ENV!=="production"&&n!==h&&!Cc(n,h)&&ar(r,t)&&s(fn(st.FALLBACK_TO_TRANSLATE,{key:t,target:h})),process.env.NODE_ENV!=="production"&&n!==h){const A=e.__v_emitter;A&&A.emit("fallback",{type:p,key:t,from:_,to:v,groupId:`${p}:${t}`})}c=i[h]||ye();let b=null,S,y;if(process.env.NODE_ENV!=="production"&&Tt&&(b=window.performance.now(),S="intlify-message-resolve-start",y="intlify-message-resolve-end",ht&&ht(S)),(m=u(c,t))===null&&(m=c[t]),process.env.NODE_ENV!=="production"&&Tt){const A=window.performance.now(),I=e.__v_emitter;I&&b&&m&&I.emit("message-resolve",{type:"message-resolve",key:t,message:m,time:A-b,groupId:`${p}:${t}`}),S&&y&&ht&&cn&&(ht(y),cn("intlify message resolve",S,y))}if(Y(m)||Qt(m)||bt(m))break;if(!Mb(h,d)){const A=Vl(e,t,h,a,p);A!==t&&(m=A)}_=v}return[m,h,c]}function Rc(e,t,n,o,r,a){const{messageCompiler:i,warnHtmlMessage:s}=e;if(bt(o)){const h=o;return h.locale=h.locale||n,h.key=h.key||t,h}if(i==null){const h=()=>o;return h.locale=n,h.key=t,h}let u=null,f,d;process.env.NODE_ENV!=="production"&&Tt&&(u=window.performance.now(),f="intlify-message-compilation-start",d="intlify-message-compilation-end",ht&&ht(f));const c=i(o,Yb(e,n,r,o,s,a));if(process.env.NODE_ENV!=="production"&&Tt){const h=window.performance.now(),m=e.__v_emitter;m&&u&&m.emit("message-compilation",{type:"message-compilation",message:o,time:h-u,groupId:`translate:${t}`}),f&&d&&ht&&cn&&(ht(d),cn("intlify message compilation",f,d))}return c.locale=n,c.key=t,c.source=o,c}function Wb(e,t,n){let o=null,r,a;process.env.NODE_ENV!=="production"&&Tt&&(o=window.performance.now(),r="intlify-message-evaluation-start",a="intlify-message-evaluation-end",ht&&ht(r));const i=t(n);if(process.env.NODE_ENV!=="production"&&Tt){const s=window.performance.now(),u=e.__v_emitter;u&&o&&u.emit("message-evaluation",{type:"message-evaluation",value:i,time:s-o,groupId:`translate:${t.key}`}),r&&a&&ht&&cn&&(ht(a),cn("intlify message evaluation",r,a))}return i}function Bl(...e){const[t,n,o]=e,r=ye();if(!Y(t)&&!Re(t)&&!bt(t)&&!Qt(t))throw Ft(ot.INVALID_ARGUMENT);const a=Re(t)?String(t):(bt(t),t);return Re(n)?r.plural=n:Y(n)?r.default=n:ce(n)&&!Jo(n)?r.named=n:xe(n)&&(r.list=n),Re(o)?r.plural=o:Y(o)?r.default=o:ce(o)&&Ke(r,o),[a,r]}function Yb(e,t,n,o,r,a){return{locale:t,key:n,warnHtmlMessage:r,onError:i=>{if(a&&a(i),process.env.NODE_ENV!=="production"){const s=Gb(o),u=`Message compilation error: ${i.message}`,f=i.location&&s&&f0(s,i.location.start.offset,i.location.end.offset),d=e.__v_emitter;d&&s&&d.emit("compile-error",{message:s,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${n}`}),console.error(f?`${u}
|
|
23
|
-
${f}`:u)}else throw i},onCacheKey:i=>l0(t,n,i)}}function Gb(e){if(Y(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Qb(e,t,n,o){const{modifiers:r,pluralRules:a,messageResolver:i,fallbackLocale:s,fallbackWarn:u,missingWarn:f,fallbackContext:d}=e,h={locale:t,modifiers:r,pluralRules:a,messages:(m,
|
|
22
|
+
*/function U0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(dn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(dn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Dl(e){return n=>H0(n,e)}function H0(e,t){const n=j0(t);if(n==null)throw lo(0);if(Nl(n)===1){const a=W0(n);return e.plural(a.reduce((i,s)=>[...i,uc(e,s)],[]))}else return uc(e,n)}const z0=["b","body"];function j0(e){return Gt(e,z0)}const K0=["c","cases"];function W0(e){return Gt(e,K0,[])}function uc(e,t){const n=G0(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const o=X0(t).reduce((r,a)=>[...r,Il(e,a)],[]);return e.normalize(o)}}const Y0=["s","static"];function G0(e){return Gt(e,Y0)}const Q0=["i","items"];function X0(e){return Gt(e,Q0,[])}function Il(e,t){const n=Nl(t);switch(n){case 3:return nr(t,n);case 9:return nr(t,n);case 4:{const o=t;if(Ot(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(Ot(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw lo(n)}case 5:{const o=t;if(Ot(o,"i")&&Re(o.i))return e.interpolate(e.list(o.i));if(Ot(o,"index")&&Re(o.index))return e.interpolate(e.list(o.index));throw lo(n)}case 6:{const o=t,r=tb(o),a=ob(o);return e.linked(Il(e,a),r?Il(e,r):void 0,e.type)}case 7:return nr(t,n);case 8:return nr(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Z0=["t","type"];function Nl(e){return Gt(e,Z0)}const J0=["v","value"];function nr(e,t){const n=Gt(e,J0);if(n)return n;throw lo(t)}const eb=["m","modifier"];function tb(e){return Gt(e,eb)}const nb=["k","key"];function ob(e){const t=Gt(e,nb);if(t)return t;throw lo(6)}function Gt(e,t,n){for(let o=0;o<t.length;o++){const r=t[o];if(Ot(e,r)&&e[r]!=null)return e[r]}return n}function lo(e){return new Error(`unhandled node type: ${e}`)}const rb="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function lb(e,t){t&&b0(e)&&Wt(Zo(rb,{source:e}))}const ab=e=>e;let or=ye();function Qt(e){return pe(e)&&Nl(e)===0&&(Ot(e,"b")||Ot(e,"body"))}function ib(e,t={}){let n=!1;const o=t.onError||p0;return t.onError=r=>{n=!0,o(r)},{...$0(e,t),detectError:n}}function sb(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&Y(e)){const n=_e(t.warnHtmlMessage)?t.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&lb(e,n);const r=(t.onCacheKey||ab)(e),a=or[r];if(a)return a;const{ast:i,detectError:s}=ib(e,{...t,location:process.env.NODE_ENV!=="production",jit:!0}),u=Dl(i);return s?u:or[r]=u}else{if(process.env.NODE_ENV!=="production"&&!Qt(e))return Wt(`the message that is resolve with key '${t.key}' is not supported for jit compilation`),()=>e;const n=e.cacheKey;if(n){const o=or[n];return o||(or[n]=Dl(e))}else return Dl(e)}}let ao=null;function ub(e){ao=e}function cb(e,t,n){ao&&ao.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const db=fb("function:translate");function fb(e){return t=>ao&&ao.emit(e,t)}const ot={INVALID_ARGUMENT:h0,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},mb=24;function Ft(e){return Nn(e,null,process.env.NODE_ENV!=="production"?{messages:hb}:void 0)}const hb={[ot.INVALID_ARGUMENT]:"Invalid arguments",[ot.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ot.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ot.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ot.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ot.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ot.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function xl(e,t){return t.locale!=null?cc(t.locale):cc(e.locale)}let Pl;function cc(e){if(Y(e))return e;if(Se(e)){if(e.resolvedOnce&&Pl!=null)return Pl;if(e.constructor.name==="Function"){const t=e();if(c0(t))throw Ft(ot.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Pl=t}else throw Ft(ot.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ft(ot.NOT_SUPPORT_LOCALE_TYPE)}function gb(e,t,n){return[...new Set([n,...Ne(t)?t:pe(t)?Object.keys(t):Y(t)?[t]:[n]])]}function dc(e,t,n){const o=Y(n)?n:io,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let a=r.__localeChainCache.get(o);if(!a){a=[];let i=[n];for(;Ne(i);)i=fc(a,i,t);const s=Ne(t)||!ce(t)?t:t.default?t.default:null;i=Y(s)?[s]:s,Ne(i)&&fc(a,i,!1),r.__localeChainCache.set(o,a)}return a}function fc(e,t,n){let o=!0;for(let r=0;r<t.length&&_e(o);r++){const a=t[r];Y(a)&&(o=pb(e,t[r],n))}return o}function pb(e,t,n){let o;const r=t.split("-");do{const a=r.join("-");o=_b(e,a,n),r.splice(-1,1)}while(r.length&&o===!0);return o}function _b(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(Ne(n)||ce(n))&&n[r]&&(o=n[r])}return o}const Xt=[];Xt[0]={w:[0],i:[3,0],"[":[4],o:[7]},Xt[1]={w:[1],".":[2],"[":[4],o:[7]},Xt[2]={w:[2],i:[3,0],0:[3,0]},Xt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Xt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Xt[5]={"'":[4,0],o:8,l:[5,0]},Xt[6]={'"':[4,0],o:8,l:[6,0]};const bb=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function vb(e){return bb.test(e)}function yb(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Eb(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Sb(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:vb(t)?yb(t):"*"+t}function Cb(e){const t=[];let n=-1,o=0,r=0,a,i,s,u,f,d,c;const h=[];h[0]=()=>{i===void 0?i=s:i+=s},h[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},h[2]=()=>{h[0](),r++},h[3]=()=>{if(r>0)r--,o=4,h[0]();else{if(r=0,i===void 0||(i=Sb(i),i===!1))return!1;h[1]()}};function m(){const p=e[n+1];if(o===5&&p==="'"||o===6&&p==='"')return n++,s="\\"+p,h[0](),!0}for(;o!==null;)if(n++,a=e[n],!(a==="\\"&&m())){if(u=Eb(a),c=Xt[o],f=c[u]||c.l||8,f===8||(o=f[0],f[1]!==void 0&&(d=h[f[1]],d&&(s=a,d()===!1))))return;if(o===7)return t}}const mc=new Map;function kb(e,t){return pe(e)?e[t]:null}function wb(e,t){if(!pe(e))return null;let n=mc.get(t);if(n||(n=Cb(t),n&&mc.set(t,n)),!n)return null;const o=n.length;let r=e,a=0;for(;a<o;){const i=r[n[a]];if(i===void 0||Se(r))return null;r=i,a++}return r}const st={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7},Tb=8,Ob={[st.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[st.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[st.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[st.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[st.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[st.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[st.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function fn(e,...t){return Zo(Ob[e],...t)}const Ab="10.0.5",rr=-1,io="en-US",lr="",hc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Db(){return{upper:(e,t)=>t==="text"&&Y(e)?e.toUpperCase():t==="vnode"&&pe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Y(e)?e.toLowerCase():t==="vnode"&&pe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Y(e)?hc(e):t==="vnode"&&pe(e)&&"__v_isVNode"in e?hc(e.children):e}}let gc;function Ib(e){gc=e}let pc;function Nb(e){pc=e}let _c;function xb(e){_c=e}let bc=null;const Pb=e=>{bc=e},Lb=()=>bc;let vc=null;const yc=e=>{vc=e},Vb=()=>vc;let Ec=0;function Rb(e={}){const t=Se(e.onWarn)?e.onWarn:Wt,n=Y(e.version)?e.version:Ab,o=Y(e.locale)||Se(e.locale)?e.locale:io,r=Se(o)?io:o,a=Ne(e.fallbackLocale)||ce(e.fallbackLocale)||Y(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,i=ce(e.messages)?e.messages:Ll(r),s=ce(e.datetimeFormats)?e.datetimeFormats:Ll(r),u=ce(e.numberFormats)?e.numberFormats:Ll(r),f=Ke(ye(),e.modifiers,Db()),d=e.pluralRules||ye(),c=Se(e.missing)?e.missing:null,h=_e(e.missingWarn)||In(e.missingWarn)?e.missingWarn:!0,m=_e(e.fallbackWarn)||In(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,v=!!e.unresolving,_=Se(e.postTranslation)?e.postTranslation:null,g=ce(e.processor)?e.processor:null,b=_e(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter,y=Se(e.messageCompiler)?e.messageCompiler:gc;process.env.NODE_ENV!=="production"&&Se(e.messageCompiler)&&lc(fn(st.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const A=Se(e.messageResolver)?e.messageResolver:pc||kb,I=Se(e.localeFallbacker)?e.localeFallbacker:_c||gb,T=pe(e.fallbackContext)?e.fallbackContext:void 0,M=e,N=pe(M.__datetimeFormatters)?M.__datetimeFormatters:new Map,P=pe(M.__numberFormatters)?M.__numberFormatters:new Map,F=pe(M.__meta)?M.__meta:{};Ec++;const D={version:n,cid:Ec,locale:o,fallbackLocale:a,messages:i,modifiers:f,pluralRules:d,missing:c,missingWarn:h,fallbackWarn:m,fallbackFormat:p,unresolving:v,postTranslation:_,processor:g,warnHtmlMessage:b,escapeParameter:S,messageCompiler:y,messageResolver:A,localeFallbacker:I,fallbackContext:T,onWarn:t,__meta:F};return D.datetimeFormats=s,D.numberFormats=u,D.__datetimeFormatters=N,D.__numberFormatters=P,process.env.NODE_ENV!=="production"&&(D.__v_emitter=M.__v_emitter!=null?M.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&cb(D,n,F),D}const Ll=e=>({[e]:ye()});function ar(e,t){return e instanceof RegExp?e.test(t):e}function Sc(e,t){return e instanceof RegExp?e.test(t):e}function Vl(e,t,n,o,r){const{missing:a,onWarn:i}=e;if(process.env.NODE_ENV!=="production"){const s=e.__v_emitter;s&&s.emit("missing",{locale:n,key:t,type:r,groupId:`${r}:${t}`})}if(a!==null){const s=a(e,n,t,r);return Y(s)?s:t}else return process.env.NODE_ENV!=="production"&&Sc(o,t)&&i(fn(st.NOT_FOUND_KEY,{key:t,locale:n})),t}function so(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Cc(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Mb(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;o<t.length;o++)if(Cc(e,t[o]))return!0;return!1}const kc=typeof Intl<"u",wc={dateTimeFormat:kc&&typeof Intl.DateTimeFormat<"u",numberFormat:kc&&typeof Intl.NumberFormat<"u"};function Tc(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!wc.dateTimeFormat)return a(fn(st.CANNOT_FORMAT_DATE)),lr;const[u,f,d,c]=Rl(...t),h=_e(d.missingWarn)?d.missingWarn:e.missingWarn,m=_e(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,p=!!d.part,v=xl(e,d),_=i(e,r,v);if(!Y(u)||u==="")return new Intl.DateTimeFormat(v,c).format(f);let g={},b,S=null,y=v,A=null;const I="datetime format";for(let N=0;N<_.length;N++){if(b=A=_[N],process.env.NODE_ENV!=="production"&&v!==b&&ar(m,u)&&a(fn(st.FALLBACK_TO_DATE_FORMAT,{key:u,target:b})),process.env.NODE_ENV!=="production"&&v!==b){const P=e.__v_emitter;P&&P.emit("fallback",{type:I,key:u,from:y,to:A,groupId:`${I}:${u}`})}if(g=n[b]||{},S=g[u],ce(S))break;Vl(e,u,b,h,I),y=A}if(!ce(S)||!Y(b))return o?rr:u;let T=`${b}__${u}`;Jo(c)||(T=`${T}__${JSON.stringify(c)}`);let M=s.get(T);return M||(M=new Intl.DateTimeFormat(b,Ke({},S,c)),s.set(T,M)),p?M.formatToParts(f):M.format(f)}const Oc=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Rl(...e){const[t,n,o,r]=e,a=ye();let i=ye(),s;if(Y(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw Ft(ot.INVALID_ISO_DATE_ARGUMENT);const f=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();s=new Date(f);try{s.toISOString()}catch{throw Ft(ot.INVALID_ISO_DATE_ARGUMENT)}}else if(i0(t)){if(isNaN(t.getTime()))throw Ft(ot.INVALID_DATE_ARGUMENT);s=t}else if(Re(t))s=t;else throw Ft(ot.INVALID_ARGUMENT);return Y(n)?a.key=n:ce(n)&&Object.keys(n).forEach(u=>{Oc.includes(u)?i[u]=n[u]:a[u]=n[u]}),Y(o)?a.locale=o:ce(o)&&(i=o),ce(r)&&(i=r),[a.key||"",s,a,i]}function Ac(e,t,n){const o=e;for(const r in n){const a=`${t}__${r}`;o.__datetimeFormatters.has(a)&&o.__datetimeFormatters.delete(a)}}function Dc(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:s}=e;if(process.env.NODE_ENV!=="production"&&!wc.numberFormat)return a(fn(st.CANNOT_FORMAT_NUMBER)),lr;const[u,f,d,c]=Ml(...t),h=_e(d.missingWarn)?d.missingWarn:e.missingWarn,m=_e(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,p=!!d.part,v=xl(e,d),_=i(e,r,v);if(!Y(u)||u==="")return new Intl.NumberFormat(v,c).format(f);let g={},b,S=null,y=v,A=null;const I="number format";for(let N=0;N<_.length;N++){if(b=A=_[N],process.env.NODE_ENV!=="production"&&v!==b&&ar(m,u)&&a(fn(st.FALLBACK_TO_NUMBER_FORMAT,{key:u,target:b})),process.env.NODE_ENV!=="production"&&v!==b){const P=e.__v_emitter;P&&P.emit("fallback",{type:I,key:u,from:y,to:A,groupId:`${I}:${u}`})}if(g=n[b]||{},S=g[u],ce(S))break;Vl(e,u,b,h,I),y=A}if(!ce(S)||!Y(b))return o?rr:u;let T=`${b}__${u}`;Jo(c)||(T=`${T}__${JSON.stringify(c)}`);let M=s.get(T);return M||(M=new Intl.NumberFormat(b,Ke({},S,c)),s.set(T,M)),p?M.formatToParts(f):M.format(f)}const Ic=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ml(...e){const[t,n,o,r]=e,a=ye();let i=ye();if(!Re(t))throw Ft(ot.INVALID_ARGUMENT);const s=t;return Y(n)?a.key=n:ce(n)&&Object.keys(n).forEach(u=>{Ic.includes(u)?i[u]=n[u]:a[u]=n[u]}),Y(o)?a.locale=o:ce(o)&&(i=o),ce(r)&&(i=r),[a.key||"",s,a,i]}function Nc(e,t,n){const o=e;for(const r in n){const a=`${t}__${r}`;o.__numberFormatters.has(a)&&o.__numberFormatters.delete(a)}}const Bb=e=>e,Fb=e=>"",qb="text",$b=e=>e.length===0?"":wl(e),Ub=d0;function xc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Hb(e){const t=Re(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Re(e.named.count)||Re(e.named.n))?Re(e.named.count)?e.named.count:Re(e.named.n)?e.named.n:t:t}function zb(e,t){t.count||(t.count=e),t.n||(t.n=e)}function jb(e={}){const t=e.locale,n=Hb(e),o=pe(e.pluralRules)&&Y(t)&&Se(e.pluralRules[t])?e.pluralRules[t]:xc,r=pe(e.pluralRules)&&Y(t)&&Se(e.pluralRules[t])?xc:void 0,a=g=>g[o(n,g.length,r)],i=e.list||[],s=g=>i[g],u=e.named||ye();Re(e.pluralIndex)&&zb(n,u);const f=g=>u[g];function d(g,b){const S=Se(e.messages)?e.messages(g,!!b):pe(e.messages)?e.messages[g]:!1;return S||(e.parent?e.parent.message(g):Fb)}const c=g=>e.modifiers?e.modifiers[g]:Bb,h=ce(e.processor)&&Se(e.processor.normalize)?e.processor.normalize:$b,m=ce(e.processor)&&Se(e.processor.interpolate)?e.processor.interpolate:Ub,p=ce(e.processor)&&Y(e.processor.type)?e.processor.type:qb,_={list:s,named:f,plural:a,linked:(g,...b)=>{const[S,y]=b;let A="text",I="";b.length===1?pe(S)?(I=S.modifier||I,A=S.type||A):Y(S)&&(I=S||I):b.length===2&&(Y(S)&&(I=S||I),Y(y)&&(A=y||A));const T=d(g,!0)(_),M=A==="vnode"&&Ne(T)&&I?T[0]:T;return I?c(I)(M,A):M},message:d,type:p,interpolate:m,normalize:h,values:Ke(ye(),i,u)};return _}const Pc=()=>"",bt=e=>Se(e);function Lc(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:a,fallbackLocale:i,messages:s}=e,[u,f]=Bl(...t),d=_e(f.missingWarn)?f.missingWarn:e.missingWarn,c=_e(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,h=_e(f.escapeParameter)?f.escapeParameter:e.escapeParameter,m=!!f.resolvedMessage,p=Y(f.default)||_e(f.default)?_e(f.default)?a?u:()=>u:f.default:n?a?u:()=>u:null,v=n||p!=null&&(Y(p)||Se(p)),_=xl(e,f);h&&Kb(f);let[g,b,S]=m?[u,_,s[_]||ye()]:Vc(e,u,_,i,c,d),y=g,A=u;if(!m&&!(Y(y)||Qt(y)||bt(y))&&v&&(y=p,A=y),!m&&(!(Y(y)||Qt(y)||bt(y))||!Y(b)))return r?rr:u;if(process.env.NODE_ENV!=="production"&&Y(y)&&e.messageCompiler==null)return Wt(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`),u;let I=!1;const T=()=>{I=!0},M=bt(y)?y:Rc(e,u,b,y,A,T);if(I)return y;const N=Qb(e,b,S,f),P=jb(N),F=Wb(e,M,P),D=o?o(F,u):F;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:Y(u)?u:bt(y)?y.key:"",locale:b||(bt(y)?y.locale:""),format:Y(y)?y:bt(y)?y.source:"",message:D};K.meta=Ke({},e.__meta,Lb()||{}),db(K)}return D}function Kb(e){Ne(e.list)?e.list=e.list.map(t=>Y(t)?tc(t):t):pe(e.named)&&Object.keys(e.named).forEach(t=>{Y(e.named[t])&&(e.named[t]=tc(e.named[t]))})}function Vc(e,t,n,o,r,a){const{messages:i,onWarn:s,messageResolver:u,localeFallbacker:f}=e,d=f(e,o,n);let c=ye(),h,m=null,p=n,v=null;const _="translate";for(let g=0;g<d.length;g++){if(h=v=d[g],process.env.NODE_ENV!=="production"&&n!==h&&!Cc(n,h)&&ar(r,t)&&s(fn(st.FALLBACK_TO_TRANSLATE,{key:t,target:h})),process.env.NODE_ENV!=="production"&&n!==h){const A=e.__v_emitter;A&&A.emit("fallback",{type:_,key:t,from:p,to:v,groupId:`${_}:${t}`})}c=i[h]||ye();let b=null,S,y;if(process.env.NODE_ENV!=="production"&&Tt&&(b=window.performance.now(),S="intlify-message-resolve-start",y="intlify-message-resolve-end",ht&&ht(S)),(m=u(c,t))===null&&(m=c[t]),process.env.NODE_ENV!=="production"&&Tt){const A=window.performance.now(),I=e.__v_emitter;I&&b&&m&&I.emit("message-resolve",{type:"message-resolve",key:t,message:m,time:A-b,groupId:`${_}:${t}`}),S&&y&&ht&&cn&&(ht(y),cn("intlify message resolve",S,y))}if(Y(m)||Qt(m)||bt(m))break;if(!Mb(h,d)){const A=Vl(e,t,h,a,_);A!==t&&(m=A)}p=v}return[m,h,c]}function Rc(e,t,n,o,r,a){const{messageCompiler:i,warnHtmlMessage:s}=e;if(bt(o)){const h=o;return h.locale=h.locale||n,h.key=h.key||t,h}if(i==null){const h=()=>o;return h.locale=n,h.key=t,h}let u=null,f,d;process.env.NODE_ENV!=="production"&&Tt&&(u=window.performance.now(),f="intlify-message-compilation-start",d="intlify-message-compilation-end",ht&&ht(f));const c=i(o,Yb(e,n,r,o,s,a));if(process.env.NODE_ENV!=="production"&&Tt){const h=window.performance.now(),m=e.__v_emitter;m&&u&&m.emit("message-compilation",{type:"message-compilation",message:o,time:h-u,groupId:`translate:${t}`}),f&&d&&ht&&cn&&(ht(d),cn("intlify message compilation",f,d))}return c.locale=n,c.key=t,c.source=o,c}function Wb(e,t,n){let o=null,r,a;process.env.NODE_ENV!=="production"&&Tt&&(o=window.performance.now(),r="intlify-message-evaluation-start",a="intlify-message-evaluation-end",ht&&ht(r));const i=t(n);if(process.env.NODE_ENV!=="production"&&Tt){const s=window.performance.now(),u=e.__v_emitter;u&&o&&u.emit("message-evaluation",{type:"message-evaluation",value:i,time:s-o,groupId:`translate:${t.key}`}),r&&a&&ht&&cn&&(ht(a),cn("intlify message evaluation",r,a))}return i}function Bl(...e){const[t,n,o]=e,r=ye();if(!Y(t)&&!Re(t)&&!bt(t)&&!Qt(t))throw Ft(ot.INVALID_ARGUMENT);const a=Re(t)?String(t):(bt(t),t);return Re(n)?r.plural=n:Y(n)?r.default=n:ce(n)&&!Jo(n)?r.named=n:Ne(n)&&(r.list=n),Re(o)?r.plural=o:Y(o)?r.default=o:ce(o)&&Ke(r,o),[a,r]}function Yb(e,t,n,o,r,a){return{locale:t,key:n,warnHtmlMessage:r,onError:i=>{if(a&&a(i),process.env.NODE_ENV!=="production"){const s=Gb(o),u=`Message compilation error: ${i.message}`,f=i.location&&s&&f0(s,i.location.start.offset,i.location.end.offset),d=e.__v_emitter;d&&s&&d.emit("compile-error",{message:s,error:i.message,start:i.location&&i.location.start.offset,end:i.location&&i.location.end.offset,groupId:`translate:${n}`}),console.error(f?`${u}
|
|
23
|
+
${f}`:u)}else throw i},onCacheKey:i=>l0(t,n,i)}}function Gb(e){if(Y(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Qb(e,t,n,o){const{modifiers:r,pluralRules:a,messageResolver:i,fallbackLocale:s,fallbackWarn:u,missingWarn:f,fallbackContext:d}=e,h={locale:t,modifiers:r,pluralRules:a,messages:(m,p)=>{let v=i(n,m);if(v==null&&(d||p)){const[,,_]=Vc(d||e,m,t,s,u,f);v=i(_,m)}if(Y(v)||Qt(v)){let _=!1;const b=Rc(e,m,t,v,m,()=>{_=!0});return _?Pc:b}else return bt(v)?v:Pc}};return e.processor&&(h.processor=e.processor),o.list&&(h.list=o.list),o.named&&(h.named=o.named),Re(o.plural)&&(h.pluralIndex=o.plural),h}U0();function Xb(){return Mc().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Mc(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Zb=typeof Proxy=="function",Jb="devtools-plugin:setup",ev="plugin:settings:set";let Ln,Fl;function tv(){var e;return Ln!==void 0||(typeof window<"u"&&window.performance?(Ln=!0,Fl=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Ln=!0,Fl=globalThis.perf_hooks.performance):Ln=!1),Ln}function nv(){return tv()?Fl.now():Date.now()}class ov{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const o={};if(t.settings)for(const i in t.settings){const s=t.settings[i];o[i]=s.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let a=Object.assign({},o);try{const i=localStorage.getItem(r),s=JSON.parse(i);Object.assign(a,s)}catch{}this.fallbacks={getSettings(){return a},setSettings(i){try{localStorage.setItem(r,JSON.stringify(i))}catch{}a=i},now(){return nv()}},n&&n.on(ev,(i,s)=>{i===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(i,s)=>this.target?this.target.on[s]:(...u)=>{this.onQueue.push({method:s,args:u})}}),this.proxiedTarget=new Proxy({},{get:(i,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...u)=>(this.targetQueue.push({method:s,args:u,resolve:()=>{}}),this.fallbacks[s](...u)):(...u)=>new Promise(f=>{this.targetQueue.push({method:s,args:u,resolve:f})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function rv(e,t){const n=e,o=Mc(),r=Xb(),a=Zb&&n.enableEarlyProxy;if(r&&(o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!a))r.emit(Jb,e,t);else{const i=a?new ov(n,r):null;(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
|
24
24
|
* vue-i18n v10.0.5
|
|
25
25
|
* (c) 2024 kazuya kawaguchi
|
|
26
26
|
* Released under the MIT License.
|
|
27
|
-
*/const lv="10.0.5";function av(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(dn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(dn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(dn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(dn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Zt={FALLBACK_TO_ROOT:Tb,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_TC:11},iv={[Zt.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Zt.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Zt.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Zt.DEPRECATE_TC]:"'tc' and '$tc' has been deprecated in v10. Use 't' or '$t' instead. 'tc' and '$tc’ are going to remove in v11."};function ir(e,...t){return Zo(iv[e],...t)}const Ce={UNEXPECTED_RETURN_TYPE:mb,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function it(e,...t){return xn(e,null,process.env.NODE_ENV!=="production"?{messages:sv,args:t}:void 0)}const sv={[Ce.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Ce.INVALID_ARGUMENT]:"Invalid argument",[Ce.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Ce.NOT_INSTALLED]:"Need to install with `app.use` function",[Ce.UNEXPECTED_ERROR]:"Unexpected error",[Ce.REQUIRED_VALUE]:"Required in value: {0}",[Ce.INVALID_VALUE]:"Invalid value",[Ce.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Ce.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Ce.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Ce.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},ql=Pt("__translateVNode"),$l=Pt("__datetimeParts"),Ul=Pt("__numberParts"),mn=Pt("__enableEmitter"),uo=Pt("__disableEmitter"),Bc=Pt("__setPluralRules"),Fc=Pt("__injectWithOption"),Hl=Pt("__dispose");function co(e){if(!pe(e))return e;for(const t in e)if(Ot(e,t))if(!t.includes("."))pe(e[t])&&co(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,a=!1;for(let i=0;i<o;i++){if(n[i]in r||(r[n[i]]=ye()),!pe(r[n[i]])){process.env.NODE_ENV!=="production"&&Wt(ir(Zt.IGNORE_OBJ_FLATTEN,{key:n[i]})),a=!0;break}r=r[n[i]]}a||(r[n[o]]=e[t],delete e[t]),pe(r[n[o]])&&co(r[n[o]])}return e}function zl(e,t){const{messages:n,__i18n:o,messageResolver:r,flatJson:a}=t,i=ce(n)?n:xe(o)?ye():{[e]:ye()};if(xe(o)&&o.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:u,resource:f}=s;u?(i[u]=i[u]||ye(),tr(f,i[u])):tr(f,i)}else Y(s)&&tr(JSON.parse(s),i)}),r==null&&a)for(const s in i)Ot(i,s)&&co(i[s]);return i}function qc(e){return e.type}function $c(e,t,n){let o=pe(t.messages)?t.messages:ye();"__i18nGlobal"in n&&(o=zl(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(a=>{e.mergeLocaleMessage(a,o[a])});{if(pe(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(pe(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Uc(e){return l.createVNode(l.Text,null,e,0)}const Hc="__INTLIFY_META__",zc=()=>[],uv=()=>!1;let jc=0;function Kc(e){return(t,n,o,r)=>e(n,o,l.getCurrentInstance()||void 0,r)}const cv=()=>{const e=l.getCurrentInstance();let t=null;return e&&(t=qc(e)[Hc])?{[Hc]:t}:null};function jl(e={}){const{__root:t,__injectWithOption:n}=e,o=t===void 0,r=e.flatJson,a=Tt?l.ref:l.shallowRef;let i=_e(e.inheritLocale)?e.inheritLocale:!0;const s=a(t&&i?t.locale.value:Y(e.locale)?e.locale:io),u=a(t&&i?t.fallbackLocale.value:Y(e.fallbackLocale)||xe(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),f=a(zl(s.value,e)),d=a(ce(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),c=a(ce(e.numberFormats)?e.numberFormats:{[s.value]:{}});let h=t?t.missingWarn:_e(e.missingWarn)||In(e.missingWarn)?e.missingWarn:!0,m=t?t.fallbackWarn:_e(e.fallbackWarn)||In(e.fallbackWarn)?e.fallbackWarn:!0,_=t?t.fallbackRoot:_e(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,p=Se(e.missing)?e.missing:null,g=Se(e.missing)?Kc(e.missing):null,b=Se(e.postTranslation)?e.postTranslation:null,S=t?t.warnHtmlMessage:_e(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const A=t?t.modifiers:ce(e.modifiers)?e.modifiers:{};let I=e.pluralRules||t&&t.pluralRules,T;T=(()=>{o&&yc(null);const L={version:lv,locale:s.value,fallbackLocale:u.value,messages:f.value,modifiers:A,pluralRules:I,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:m,fallbackFormat:v,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:S,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=d.value,L.numberFormats=c.value,L.__datetimeFormatters=ce(T)?T.__datetimeFormatters:void 0,L.__numberFormatters=ce(T)?T.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(L.__v_emitter=ce(T)?T.__v_emitter:void 0);const q=Rb(L);return o&&yc(q),q})(),so(T,s.value,u.value);function x(){return[s.value,u.value,f.value,d.value,c.value]}const P=l.computed({get:()=>s.value,set:L=>{s.value=L,T.locale=s.value}}),F=l.computed({get:()=>u.value,set:L=>{u.value=L,T.fallbackLocale=u.value,so(T,s.value,L)}}),D=l.computed(()=>f.value),K=l.computed(()=>d.value),V=l.computed(()=>c.value);function ne(){return Se(b)?b:null}function W(L){b=L,T.postTranslation=L}function $(){return p}function H(L){L!==null&&(g=Kc(L)),p=L,T.missing=g}function Q(L,q){return L!=="translate"||!q.resolvedMessage}const oe=(L,q,fe,Ae,Et,rt)=>{x();let He;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=t?Vb():void 0),He=L(T)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=void 0)}if(fe!=="translate exists"&&Re(He)&&He===rr||fe==="translate exists"&&!He){const[Ye,mo]=q();if(process.env.NODE_ENV!=="production"&&t&&Y(Ye)&&Q(fe,mo)&&(_&&(ar(m,Ye)||Sc(h,Ye))&&Wt(ir(Zt.FALLBACK_TO_ROOT,{key:Ye,type:fe})),process.env.NODE_ENV!=="production")){const{__v_emitter:qt}=T;qt&&_&&qt.emit("fallback",{type:fe,key:Ye,to:"global",groupId:`${fe}:${Ye}`})}return t&&_?Ae(t):Et(Ye)}else{if(rt(He))return He;throw it(Ce.UNEXPECTED_RETURN_TYPE)}};function O(...L){return oe(q=>Reflect.apply(Lc,null,[q,...L]),()=>Bl(...L),"translate",q=>Reflect.apply(q.t,q,[...L]),q=>q,q=>Y(q))}function w(...L){const[q,fe,Ae]=L;if(Ae&&!pe(Ae))throw it(Ce.INVALID_ARGUMENT);return O(q,fe,Ke({resolvedMessage:!0},Ae||{}))}function j(...L){return oe(q=>Reflect.apply(Tc,null,[q,...L]),()=>Rl(...L),"datetime format",q=>Reflect.apply(q.d,q,[...L]),()=>lr,q=>Y(q))}function le(...L){return oe(q=>Reflect.apply(Dc,null,[q,...L]),()=>Ml(...L),"number format",q=>Reflect.apply(q.n,q,[...L]),()=>lr,q=>Y(q))}function se(L){return L.map(q=>Y(q)||Re(q)||_e(q)?Uc(String(q)):q)}const G={normalize:se,interpolate:L=>L,type:"vnode"};function ge(...L){return oe(q=>{let fe;const Ae=q;try{Ae.processor=G,fe=Reflect.apply(Lc,null,[Ae,...L])}finally{Ae.processor=null}return fe},()=>Bl(...L),"translate",q=>q[ql](...L),q=>[Uc(q)],q=>xe(q))}function z(...L){return oe(q=>Reflect.apply(Dc,null,[q,...L]),()=>Ml(...L),"number format",q=>q[Ul](...L),zc,q=>Y(q)||xe(q))}function Ee(...L){return oe(q=>Reflect.apply(Tc,null,[q,...L]),()=>Rl(...L),"datetime format",q=>q[$l](...L),zc,q=>Y(q)||xe(q))}function Ne(L){I=L,T.pluralRules=I}function vt(L,q){return oe(()=>{if(!L)return!1;const fe=Y(q)?q:s.value,Ae=We(fe),Et=T.messageResolver(Ae,L);return Qt(Et)||bt(Et)||Y(Et)},()=>[L],"translate exists",fe=>Reflect.apply(fe.te,fe,[L,q]),uv,fe=>_e(fe))}function Le(L){let q=null;const fe=dc(T,u.value,s.value);for(let Ae=0;Ae<fe.length;Ae++){const Et=f.value[fe[Ae]]||{},rt=T.messageResolver(Et,L);if(rt!=null){q=rt;break}}return q}function ut(L){const q=Le(L);return q??(t?t.tm(L)||{}:{})}function We(L){return f.value[L]||{}}function Ze(L,q){if(r){const fe={[L]:q};for(const Ae in fe)Ot(fe,Ae)&&co(fe[Ae]);q=fe[L]}f.value[L]=q,T.messages=f.value}function yt(L,q){f.value[L]=f.value[L]||{};const fe={[L]:q};if(r)for(const Ae in fe)Ot(fe,Ae)&&co(fe[Ae]);q=fe[L],tr(q,f.value[L]),T.messages=f.value}function E(L){return d.value[L]||{}}function k(L,q){d.value[L]=q,T.datetimeFormats=d.value,Ac(T,L,q)}function R(L,q){d.value[L]=Ke(d.value[L]||{},q),T.datetimeFormats=d.value,Ac(T,L,q)}function J(L){return c.value[L]||{}}function me(L,q){c.value[L]=q,T.numberFormats=c.value,xc(T,L,q)}function ve(L,q){c.value[L]=Ke(c.value[L]||{},q),T.numberFormats=c.value,xc(T,L,q)}jc++,t&&Tt&&(l.watch(t.locale,L=>{i&&(s.value=L,T.locale=L,so(T,s.value,u.value))}),l.watch(t.fallbackLocale,L=>{i&&(u.value=L,T.fallbackLocale=L,so(T,s.value,u.value))}));const de={id:jc,locale:P,fallbackLocale:F,get inheritLocale(){return i},set inheritLocale(L){i=L,L&&t&&(s.value=t.locale.value,u.value=t.fallbackLocale.value,so(T,s.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:D,get modifiers(){return A},get pluralRules(){return I||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(L){h=L,T.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn(L){m=L,T.fallbackWarn=m},get fallbackRoot(){return _},set fallbackRoot(L){_=L},get fallbackFormat(){return v},set fallbackFormat(L){v=L,T.fallbackFormat=v},get warnHtmlMessage(){return S},set warnHtmlMessage(L){S=L,T.warnHtmlMessage=L},get escapeParameter(){return y},set escapeParameter(L){y=L,T.escapeParameter=L},t:O,getLocaleMessage:We,setLocaleMessage:Ze,mergeLocaleMessage:yt,getPostTranslationHandler:ne,setPostTranslationHandler:W,getMissingHandler:$,setMissingHandler:H,[Bc]:Ne};return de.datetimeFormats=K,de.numberFormats=V,de.rt=w,de.te=vt,de.tm=ut,de.d=j,de.n=le,de.getDateTimeFormat=E,de.setDateTimeFormat=k,de.mergeDateTimeFormat=R,de.getNumberFormat=J,de.setNumberFormat=me,de.mergeNumberFormat=ve,de[Fc]=n,de[ql]=ge,de[$l]=Ee,de[Ul]=z,process.env.NODE_ENV!=="production"&&(de[mn]=L=>{T.__v_emitter=L},de[uo]=()=>{T.__v_emitter=void 0}),de}const Wc="vue-i18n: composer properties",Kl={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},dv={"vue-i18n-resource-inspector":"Search for scopes ..."},fv={"vue-i18n-timeline":16764185};let Wl;async function mv(e,t){return new Promise((n,o)=>{try{rv({id:"vue-devtools-plugin-vue-i18n",label:Kl["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Wc],app:e},r=>{Wl=r,r.on.visitComponentTree(({componentInstance:i,treeNode:s})=>{hv(i,s,t)}),r.on.inspectComponent(({componentInstance:i,instanceData:s})=>{i.vnode.el&&i.vnode.el.__VUE_I18N__&&s&&(t.mode==="legacy"?i.vnode.el.__VUE_I18N__!==t.global.__composer&&Gc(s,i.vnode.el.__VUE_I18N__):Gc(s,i.vnode.el.__VUE_I18N__))}),r.addInspector({id:"vue-i18n-resource-inspector",label:Kl["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:dv["vue-i18n-resource-inspector"]}),r.on.getInspectorTree(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&vv(i,t)});const a=new Map;r.on.getInspectorState(async i=>{if(i.app===e&&i.inspectorId==="vue-i18n-resource-inspector")if(r.unhighlightElement(),Ev(i,t),i.nodeId==="global"){if(!a.has(i.app)){const[s]=await r.getComponentInstances(i.app);a.set(i.app,s)}r.highlightElement(a.get(i.app))}else{const s=yv(i.nodeId,t);s&&r.highlightElement(s)}}),r.on.editInspectorState(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&Cv(i,t)}),r.addTimelineLayer({id:"vue-i18n-timeline",label:Kl["vue-i18n-timeline"],color:fv["vue-i18n-timeline"]}),n(!0)})}catch(r){console.error(r),o(!1)}})}function Yc(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function hv(e,t,n){const o=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==o){const r={label:`i18n (${Yc(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(r)}}function Gc(e,t){const n=Wc;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Yl(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Yl(e){const t={};return Object.keys(e).forEach(n=>{const o=e[n];Se(o)&&"source"in o?t[n]=bv(o):Qt(o)&&o.loc&&o.loc.source?t[n]=o.loc.source:pe(o)?t[n]=Yl(o):t[n]=o}),t}const gv={"<":"<",">":">",'"':""","&":"&"};function pv(e){return e.replace(/[<>"&]/g,_v)}function _v(e){return gv[e]||e}function bv(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${pv(e.source)}")`:"(?)"}`}}}function vv(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[o,r]of t.__instances){const a=t.mode==="composition"?r:r.__composer;n!==a&&e.rootNodes.push({id:a.id.toString(),label:`${Yc(o)} Scope`})}}function yv(e,t){let n=null;if(e!=="global"){for(const[o,r]of t.__instances.entries())if(r.id.toString()===e){n=o;break}}return n}function Qc(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(o=>o.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function Ev(e,t){const n=Qc(e.nodeId,t);return n&&(e.state=Sv(n)),null}function Sv(e){const t={},n="Locale related info",o=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=o;const r="Locale messages info",a=[{type:r,key:"messages",editable:!1,value:Yl(e.messages.value)}];t[r]=a;{const i="Datetime formats info",s=[{type:i,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[i]=s;const u="Datetime formats info",f=[{type:u,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[u]=f}return t}function fo(e,t){if(Wl){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Wl.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function Cv(e,t){const n=Qc(e.nodeId,t);if(n){const[o]=e.path;o==="locale"&&Y(e.state.value)?n.locale.value=e.state.value:o==="fallbackLocale"&&(Y(e.state.value)||xe(e.state.value)||pe(e.state.value))?n.fallbackLocale.value=e.state.value:o==="inheritLocale"&&_e(e.state.value)&&(n.inheritLocale=e.state.value)}}function kv(e){const t=Y(e.locale)?e.locale:io,n=Y(e.fallbackLocale)||xe(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Se(e.missing)?e.missing:void 0,r=_e(e.silentTranslationWarn)||In(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=_e(e.silentFallbackWarn)||In(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=_e(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,u=ce(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,d=Se(e.postTranslation)?e.postTranslation:void 0,c=Y(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,m=_e(e.sync)?e.sync:!0;let _=e.messages;if(ce(e.sharedMessages)){const A=e.sharedMessages;_=Object.keys(A).reduce((T,M)=>{const x=T[M]||(T[M]={});return Ke(x,A[M]),T},_||{})}const{__i18n:v,__root:p,__injectWithOption:g}=e,b=e.datetimeFormats,S=e.numberFormats,y=e.flatJson;return{locale:t,fallbackLocale:n,messages:_,flatJson:y,datetimeFormats:b,numberFormats:S,missing:o,missingWarn:r,fallbackWarn:a,fallbackRoot:i,fallbackFormat:s,modifiers:u,pluralRules:f,postTranslation:d,warnHtmlMessage:c,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:m,__i18n:v,__root:p,__injectWithOption:g}}function Gl(e={}){const t=jl(kv(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(r){t.locale.value=r},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(r){t.fallbackLocale.value=r},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(r){t.setMissingHandler(r)},get silentTranslationWarn(){return _e(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(r){t.missingWarn=_e(r)?!r:r},get silentFallbackWarn(){return _e(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(r){t.fallbackWarn=_e(r)?!r:r},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(r){t.fallbackFormat=r},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(r){t.setPostTranslationHandler(r)},get sync(){return t.inheritLocale},set sync(r){t.inheritLocale=r},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){t.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(r){t.escapeParameter=r},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...r){return Reflect.apply(t.t,t,[...r])},rt(...r){return Reflect.apply(t.rt,t,[...r])},tc(...r){const[a,i,s]=r,u={plural:1};let f=null,d=null;if(process.env.NODE_ENV!=="production"&&lc(ir(Zt.DEPRECATE_TC)),!Y(a))throw it(Ce.INVALID_ARGUMENT);const c=a;return Y(i)?u.locale=i:Re(i)?u.plural=i:xe(i)?f=i:ce(i)&&(d=i),Y(s)?u.locale=s:xe(s)?f=s:ce(s)&&(d=s),Reflect.apply(t.t,t,[c,f||d||{},u])},te(r,a){return t.te(r,a)},tm(r){return t.tm(r)},getLocaleMessage(r){return t.getLocaleMessage(r)},setLocaleMessage(r,a){t.setLocaleMessage(r,a)},mergeLocaleMessage(r,a){t.mergeLocaleMessage(r,a)},d(...r){return Reflect.apply(t.d,t,[...r])},getDateTimeFormat(r){return t.getDateTimeFormat(r)},setDateTimeFormat(r,a){t.setDateTimeFormat(r,a)},mergeDateTimeFormat(r,a){t.mergeDateTimeFormat(r,a)},n(...r){return Reflect.apply(t.n,t,[...r])},getNumberFormat(r){return t.getNumberFormat(r)},setNumberFormat(r,a){t.setNumberFormat(r,a)},mergeNumberFormat(r,a){t.mergeNumberFormat(r,a)}};return o.__extender=n,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=r=>{const a=t;a[mn]&&a[mn](r)},o.__disableEmitter=()=>{const r=t;r[uo]&&r[uo]()}),o}function wv(e,t,n){return{beforeCreate(){const o=l.getCurrentInstance();if(!o)throw it(Ce.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const a=r.i18n;if(r.__i18n&&(a.__i18n=r.__i18n),a.__root=t,this===this.$root)this.$i18n=Xc(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=Gl(a);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Xc(e,r);else{this.$i18n=Gl({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&$c(t,r,r),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,i)=>this.$i18n.te(a,i),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(o,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const o=this.$i18n;this.$el.__VUE_I18N__=o.__composer;const r=this.__v_emitter=Tl();o.__enableEmitter&&o.__enableEmitter(r),r.on("*",fo)}},unmounted(){const o=l.getCurrentInstance();if(!o)throw it(Ce.UNEXPECTED_ERROR);const r=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",fo),delete this.__v_emitter),this.$i18n&&(r.__disableEmitter&&r.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(o),delete this.$i18n}}}function Xc(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Bc](t.pluralizationRules||e.pluralizationRules);const n=zl(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const Ql={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Tv({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===l.Fragment?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},ye())}function Zc(){return l.Fragment}const Jc=l.defineComponent({name:"i18n-t",props:Ke({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Re(e)||!isNaN(e)}},Ql),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Xl({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(c=>c!=="_"),i=ye();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Y(e.plural)?+e.plural:e.plural);const s=Tv(t,a),u=r[ql](e.keypath,s,i),f=Ke(ye(),o),d=Y(e.tag)||pe(e.tag)?e.tag:Zc();return l.h(d,f,u)}}});function Ov(e){return xe(e)&&!Y(e[0])}function ed(e,t,n,o){const{slots:r,attrs:a}=t;return()=>{const i={part:!0};let s=ye();e.locale&&(i.locale=e.locale),Y(e.format)?i.key=e.format:pe(e.format)&&(Y(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((h,m)=>n.includes(m)?Ke(ye(),h,{[m]:e.format[m]}):h,ye()));const u=o(e.value,i,s);let f=[i.key];xe(u)?f=u.map((h,m)=>{const _=r[h.type],v=_?_({[h.type]:h.value,index:m,parts:u}):[h.value];return Ov(v)&&(v[0].key=`${h.type}-${m}`),v}):Y(u)&&(f=[u]);const d=Ke(ye(),a),c=Y(e.tag)||pe(e.tag)?e.tag:Zc();return l.h(c,d,f)}}const td=l.defineComponent({name:"i18n-n",props:Ke({value:{type:Number,required:!0},format:{type:[String,Object]}},Ql),setup(e,t){const n=e.i18n||Xl({useScope:e.scope,__useComponent:!0});return ed(e,t,Ic,(...o)=>n[Ul](...o))}}),nd=l.defineComponent({name:"i18n-d",props:Ke({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ql),setup(e,t){const n=e.i18n||Xl({useScope:e.scope,__useComponent:!0});return ed(e,t,Oc,(...o)=>n[$l](...o))}});function Av(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function Dv(e){const t=i=>{const{instance:s,value:u}=i;if(!s||!s.$)throw it(Ce.UNEXPECTED_ERROR);const f=Av(e,s.$),d=od(u);return[Reflect.apply(f.t,f,[...rd(d)]),f]};return{created:(i,s)=>{const[u,f]=t(s);Tt&&e.global===f&&(i.__i18nWatcher=l.watch(f.locale,()=>{s.instance&&s.instance.$forceUpdate()})),i.__composer=f,i.textContent=u},unmounted:i=>{Tt&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:s})=>{if(i.__composer){const u=i.__composer,f=od(s);i.textContent=Reflect.apply(u.t,u,[...rd(f)])}},getSSRProps:i=>{const[s]=t(i);return{textContent:s}}}}function od(e){if(Y(e))return{path:e};if(ce(e)){if(!("path"in e))throw it(Ce.REQUIRED_VALUE,"path");return e}else throw it(Ce.INVALID_VALUE)}function rd(e){const{path:t,locale:n,args:o,choice:r,plural:a}=e,i={},s=o||{};return Y(n)&&(i.locale=n),Re(r)&&(i.plural=r),Re(a)&&(i.plural=a),[t,s,i]}function Iv(e,t,...n){const o=ce(n[0])?n[0]:{};(_e(o.globalInstall)?o.globalInstall:!0)&&([Jc.name,"I18nT"].forEach(a=>e.component(a,Jc)),[td.name,"I18nN"].forEach(a=>e.component(a,td)),[nd.name,"I18nD"].forEach(a=>e.component(a,nd))),e.directive("t",Dv(t))}const xv=Pt("global-vue-i18n");function Nv(e={},t){const n=__VUE_I18N_LEGACY_API__&&_e(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=_e(e.globalInjection)?e.globalInjection:!0,r=new Map,[a,i]=Pv(e,n),s=Pt(process.env.NODE_ENV!=="production"?"vue-i18n":"");function u(h){return r.get(h)||null}function f(h,m){r.set(h,m)}function d(h){r.delete(h)}const c={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(h,...m){if(process.env.NODE_ENV!=="production"&&(h.__VUE_I18N__=c),h.__VUE_I18N_SYMBOL__=s,h.provide(h.__VUE_I18N_SYMBOL__,c),ce(m[0])){const p=m[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let _=null;!n&&o&&(_=$v(h,c.global)),__VUE_I18N_FULL_INSTALL__&&Iv(h,c,...m),__VUE_I18N_LEGACY_API__&&n&&h.mixin(wv(i,i.__composer,c));const v=h.unmount;if(h.unmount=()=>{_&&_(),c.dispose(),v()},process.env.NODE_ENV!=="production"){if(!await mv(h,c))throw it(Ce.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const g=Tl();if(n){const b=i;b.__enableEmitter&&b.__enableEmitter(g)}else{const b=i;b[mn]&&b[mn](g)}g.on("*",fo)}},get global(){return i},dispose(){a.stop()},__instances:r,__getInstance:u,__setInstance:f,__deleteInstance:d};return c}function Xl(e={}){const t=l.getCurrentInstance();if(t==null)throw it(Ce.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw it(Ce.NOT_INSTALLED);const n=Lv(t),o=Rv(n),r=qc(t),a=Vv(e,r);if(a==="global")return $c(o,e,r),o;if(a==="parent"){let u=Mv(n,t,e.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&Wt(ir(Zt.NOT_FOUND_PARENT_SCOPE)),u=o),u}const i=n;let s=i.__getInstance(t);if(s==null){const u=Ke({},e);"__i18n"in r&&(u.__i18n=r.__i18n),o&&(u.__root=o),s=jl(u),i.__composerExtend&&(s[Hl]=i.__composerExtend(s)),Fv(i,t,s),i.__setInstance(t,s)}return s}function Pv(e,t,n){const o=l.effectScope(),r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Gl(e)):o.run(()=>jl(e));if(r==null)throw it(Ce.UNEXPECTED_ERROR);return[o,r]}function Lv(e){const t=l.inject(e.isCE?xv:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw it(e.isCE?Ce.NOT_INSTALLED_WITH_PROVIDE:Ce.UNEXPECTED_ERROR);return t}function Vv(e,t){return Jo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Rv(e){return e.mode==="composition"?e.global:e.global.__composer}function Mv(e,t,n=!1){let o=null;const r=t.root;let a=Bv(t,n);for(;a!=null;){const i=e;if(e.mode==="composition")o=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(a);s!=null&&(o=s.__composer,n&&o&&!o[Fc]&&(o=null))}if(o!=null||r===a)break;a=a.parent}return o}function Bv(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Fv(e,t,n){let o=null;l.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,o=Tl();const r=n;r[mn]&&r[mn](o),o.on("*",fo)}},t),l.onUnmounted(()=>{const r=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(o&&o.off("*",fo),r[uo]&&r[uo](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const a=r[Hl];a&&(a(),delete r[Hl])},t)}const qv=["locale","fallbackLocale","availableLocales"],ld=["t","rt","d","n","tm","te"];function $v(e,t){const n=Object.create(null);return qv.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a)throw it(Ce.UNEXPECTED_ERROR);const i=l.isRef(a.value)?{get(){return a.value.value},set(s){a.value.value=s}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,r,i)}),e.config.globalProperties.$i18n=n,ld.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a||!a.value)throw it(Ce.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,a)}),()=>{delete e.config.globalProperties.$i18n,ld.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}if(av(),Ib(sb),xb(wb),Nb(dc),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=dn();e.__INTLIFY__=!0,ub(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Zl=Nv({locale:"es",globalInjection:!0,silentTranslationWarn:!0,messages:e0}),Uv=Ju(),Hv={install(e){console.log("[Quasar Components] Installing..."),Vo(e,qh),Vo(e,jh),Vo(e,Qh),Vo(e,xg),e.use(Zl),e.use(Uv),Zl.global.locale="en",e.use(Nd,{plugins:{}}),console.log("[Quasar components] Installed")}};function zv(e){Zl.global.locale=e}Je.AlertDialog=Yi,Je.ConfirmDialog=Gi,Je.MyTable=Wi,Je.QuasarFactoryLib=Hv,Je.TaskNavBar=rs,Je.filterMethod=t0,Je.infiniteScroll=Cl,Je.qTableSort=o0,Je.setTableHeight=n0,Je.updatePackageLanguage=zv,Object.defineProperty(Je,Symbol.toStringTag,{value:"Module"})});
|
|
27
|
+
*/const lv="10.0.5";function av(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(dn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(dn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(dn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(dn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Zt={FALLBACK_TO_ROOT:Tb,NOT_FOUND_PARENT_SCOPE:9,IGNORE_OBJ_FLATTEN:10,DEPRECATE_TC:11},iv={[Zt.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Zt.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Zt.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Zt.DEPRECATE_TC]:"'tc' and '$tc' has been deprecated in v10. Use 't' or '$t' instead. 'tc' and '$tc’ are going to remove in v11."};function ir(e,...t){return Zo(iv[e],...t)}const Ce={UNEXPECTED_RETURN_TYPE:mb,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function it(e,...t){return Nn(e,null,process.env.NODE_ENV!=="production"?{messages:sv,args:t}:void 0)}const sv={[Ce.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Ce.INVALID_ARGUMENT]:"Invalid argument",[Ce.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Ce.NOT_INSTALLED]:"Need to install with `app.use` function",[Ce.UNEXPECTED_ERROR]:"Unexpected error",[Ce.REQUIRED_VALUE]:"Required in value: {0}",[Ce.INVALID_VALUE]:"Invalid value",[Ce.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Ce.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Ce.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Ce.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},ql=Pt("__translateVNode"),$l=Pt("__datetimeParts"),Ul=Pt("__numberParts"),mn=Pt("__enableEmitter"),uo=Pt("__disableEmitter"),Bc=Pt("__setPluralRules"),Fc=Pt("__injectWithOption"),Hl=Pt("__dispose");function co(e){if(!pe(e))return e;for(const t in e)if(Ot(e,t))if(!t.includes("."))pe(e[t])&&co(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,a=!1;for(let i=0;i<o;i++){if(n[i]in r||(r[n[i]]=ye()),!pe(r[n[i]])){process.env.NODE_ENV!=="production"&&Wt(ir(Zt.IGNORE_OBJ_FLATTEN,{key:n[i]})),a=!0;break}r=r[n[i]]}a||(r[n[o]]=e[t],delete e[t]),pe(r[n[o]])&&co(r[n[o]])}return e}function zl(e,t){const{messages:n,__i18n:o,messageResolver:r,flatJson:a}=t,i=ce(n)?n:Ne(o)?ye():{[e]:ye()};if(Ne(o)&&o.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:u,resource:f}=s;u?(i[u]=i[u]||ye(),tr(f,i[u])):tr(f,i)}else Y(s)&&tr(JSON.parse(s),i)}),r==null&&a)for(const s in i)Ot(i,s)&&co(i[s]);return i}function qc(e){return e.type}function $c(e,t,n){let o=pe(t.messages)?t.messages:ye();"__i18nGlobal"in n&&(o=zl(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(a=>{e.mergeLocaleMessage(a,o[a])});{if(pe(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(pe(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Uc(e){return l.createVNode(l.Text,null,e,0)}const Hc="__INTLIFY_META__",zc=()=>[],uv=()=>!1;let jc=0;function Kc(e){return(t,n,o,r)=>e(n,o,l.getCurrentInstance()||void 0,r)}const cv=()=>{const e=l.getCurrentInstance();let t=null;return e&&(t=qc(e)[Hc])?{[Hc]:t}:null};function jl(e={}){const{__root:t,__injectWithOption:n}=e,o=t===void 0,r=e.flatJson,a=Tt?l.ref:l.shallowRef;let i=_e(e.inheritLocale)?e.inheritLocale:!0;const s=a(t&&i?t.locale.value:Y(e.locale)?e.locale:io),u=a(t&&i?t.fallbackLocale.value:Y(e.fallbackLocale)||Ne(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),f=a(zl(s.value,e)),d=a(ce(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),c=a(ce(e.numberFormats)?e.numberFormats:{[s.value]:{}});let h=t?t.missingWarn:_e(e.missingWarn)||In(e.missingWarn)?e.missingWarn:!0,m=t?t.fallbackWarn:_e(e.fallbackWarn)||In(e.fallbackWarn)?e.fallbackWarn:!0,p=t?t.fallbackRoot:_e(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,_=Se(e.missing)?e.missing:null,g=Se(e.missing)?Kc(e.missing):null,b=Se(e.postTranslation)?e.postTranslation:null,S=t?t.warnHtmlMessage:_e(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const A=t?t.modifiers:ce(e.modifiers)?e.modifiers:{};let I=e.pluralRules||t&&t.pluralRules,T;T=(()=>{o&&yc(null);const L={version:lv,locale:s.value,fallbackLocale:u.value,messages:f.value,modifiers:A,pluralRules:I,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:m,fallbackFormat:v,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:S,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=d.value,L.numberFormats=c.value,L.__datetimeFormatters=ce(T)?T.__datetimeFormatters:void 0,L.__numberFormatters=ce(T)?T.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(L.__v_emitter=ce(T)?T.__v_emitter:void 0);const q=Rb(L);return o&&yc(q),q})(),so(T,s.value,u.value);function N(){return[s.value,u.value,f.value,d.value,c.value]}const P=l.computed({get:()=>s.value,set:L=>{s.value=L,T.locale=s.value}}),F=l.computed({get:()=>u.value,set:L=>{u.value=L,T.fallbackLocale=u.value,so(T,s.value,L)}}),D=l.computed(()=>f.value),K=l.computed(()=>d.value),V=l.computed(()=>c.value);function ne(){return Se(b)?b:null}function W(L){b=L,T.postTranslation=L}function $(){return _}function H(L){L!==null&&(g=Kc(L)),_=L,T.missing=g}function Q(L,q){return L!=="translate"||!q.resolvedMessage}const oe=(L,q,fe,Ae,Et,rt)=>{N();let He;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=t?Vb():void 0),He=L(T)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(T.fallbackContext=void 0)}if(fe!=="translate exists"&&Re(He)&&He===rr||fe==="translate exists"&&!He){const[Ye,mo]=q();if(process.env.NODE_ENV!=="production"&&t&&Y(Ye)&&Q(fe,mo)&&(p&&(ar(m,Ye)||Sc(h,Ye))&&Wt(ir(Zt.FALLBACK_TO_ROOT,{key:Ye,type:fe})),process.env.NODE_ENV!=="production")){const{__v_emitter:qt}=T;qt&&p&&qt.emit("fallback",{type:fe,key:Ye,to:"global",groupId:`${fe}:${Ye}`})}return t&&p?Ae(t):Et(Ye)}else{if(rt(He))return He;throw it(Ce.UNEXPECTED_RETURN_TYPE)}};function O(...L){return oe(q=>Reflect.apply(Lc,null,[q,...L]),()=>Bl(...L),"translate",q=>Reflect.apply(q.t,q,[...L]),q=>q,q=>Y(q))}function w(...L){const[q,fe,Ae]=L;if(Ae&&!pe(Ae))throw it(Ce.INVALID_ARGUMENT);return O(q,fe,Ke({resolvedMessage:!0},Ae||{}))}function j(...L){return oe(q=>Reflect.apply(Tc,null,[q,...L]),()=>Rl(...L),"datetime format",q=>Reflect.apply(q.d,q,[...L]),()=>lr,q=>Y(q))}function le(...L){return oe(q=>Reflect.apply(Dc,null,[q,...L]),()=>Ml(...L),"number format",q=>Reflect.apply(q.n,q,[...L]),()=>lr,q=>Y(q))}function se(L){return L.map(q=>Y(q)||Re(q)||_e(q)?Uc(String(q)):q)}const G={normalize:se,interpolate:L=>L,type:"vnode"};function ge(...L){return oe(q=>{let fe;const Ae=q;try{Ae.processor=G,fe=Reflect.apply(Lc,null,[Ae,...L])}finally{Ae.processor=null}return fe},()=>Bl(...L),"translate",q=>q[ql](...L),q=>[Uc(q)],q=>Ne(q))}function z(...L){return oe(q=>Reflect.apply(Dc,null,[q,...L]),()=>Ml(...L),"number format",q=>q[Ul](...L),zc,q=>Y(q)||Ne(q))}function Ee(...L){return oe(q=>Reflect.apply(Tc,null,[q,...L]),()=>Rl(...L),"datetime format",q=>q[$l](...L),zc,q=>Y(q)||Ne(q))}function xe(L){I=L,T.pluralRules=I}function vt(L,q){return oe(()=>{if(!L)return!1;const fe=Y(q)?q:s.value,Ae=We(fe),Et=T.messageResolver(Ae,L);return Qt(Et)||bt(Et)||Y(Et)},()=>[L],"translate exists",fe=>Reflect.apply(fe.te,fe,[L,q]),uv,fe=>_e(fe))}function Le(L){let q=null;const fe=dc(T,u.value,s.value);for(let Ae=0;Ae<fe.length;Ae++){const Et=f.value[fe[Ae]]||{},rt=T.messageResolver(Et,L);if(rt!=null){q=rt;break}}return q}function ut(L){const q=Le(L);return q??(t?t.tm(L)||{}:{})}function We(L){return f.value[L]||{}}function Ze(L,q){if(r){const fe={[L]:q};for(const Ae in fe)Ot(fe,Ae)&&co(fe[Ae]);q=fe[L]}f.value[L]=q,T.messages=f.value}function yt(L,q){f.value[L]=f.value[L]||{};const fe={[L]:q};if(r)for(const Ae in fe)Ot(fe,Ae)&&co(fe[Ae]);q=fe[L],tr(q,f.value[L]),T.messages=f.value}function E(L){return d.value[L]||{}}function k(L,q){d.value[L]=q,T.datetimeFormats=d.value,Ac(T,L,q)}function R(L,q){d.value[L]=Ke(d.value[L]||{},q),T.datetimeFormats=d.value,Ac(T,L,q)}function J(L){return c.value[L]||{}}function me(L,q){c.value[L]=q,T.numberFormats=c.value,Nc(T,L,q)}function ve(L,q){c.value[L]=Ke(c.value[L]||{},q),T.numberFormats=c.value,Nc(T,L,q)}jc++,t&&Tt&&(l.watch(t.locale,L=>{i&&(s.value=L,T.locale=L,so(T,s.value,u.value))}),l.watch(t.fallbackLocale,L=>{i&&(u.value=L,T.fallbackLocale=L,so(T,s.value,u.value))}));const de={id:jc,locale:P,fallbackLocale:F,get inheritLocale(){return i},set inheritLocale(L){i=L,L&&t&&(s.value=t.locale.value,u.value=t.fallbackLocale.value,so(T,s.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:D,get modifiers(){return A},get pluralRules(){return I||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(L){h=L,T.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn(L){m=L,T.fallbackWarn=m},get fallbackRoot(){return p},set fallbackRoot(L){p=L},get fallbackFormat(){return v},set fallbackFormat(L){v=L,T.fallbackFormat=v},get warnHtmlMessage(){return S},set warnHtmlMessage(L){S=L,T.warnHtmlMessage=L},get escapeParameter(){return y},set escapeParameter(L){y=L,T.escapeParameter=L},t:O,getLocaleMessage:We,setLocaleMessage:Ze,mergeLocaleMessage:yt,getPostTranslationHandler:ne,setPostTranslationHandler:W,getMissingHandler:$,setMissingHandler:H,[Bc]:xe};return de.datetimeFormats=K,de.numberFormats=V,de.rt=w,de.te=vt,de.tm=ut,de.d=j,de.n=le,de.getDateTimeFormat=E,de.setDateTimeFormat=k,de.mergeDateTimeFormat=R,de.getNumberFormat=J,de.setNumberFormat=me,de.mergeNumberFormat=ve,de[Fc]=n,de[ql]=ge,de[$l]=Ee,de[Ul]=z,process.env.NODE_ENV!=="production"&&(de[mn]=L=>{T.__v_emitter=L},de[uo]=()=>{T.__v_emitter=void 0}),de}const Wc="vue-i18n: composer properties",Kl={"vue-devtools-plugin-vue-i18n":"Vue I18n DevTools","vue-i18n-resource-inspector":"Vue I18n DevTools","vue-i18n-timeline":"Vue I18n"},dv={"vue-i18n-resource-inspector":"Search for scopes ..."},fv={"vue-i18n-timeline":16764185};let Wl;async function mv(e,t){return new Promise((n,o)=>{try{rv({id:"vue-devtools-plugin-vue-i18n",label:Kl["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Wc],app:e},r=>{Wl=r,r.on.visitComponentTree(({componentInstance:i,treeNode:s})=>{hv(i,s,t)}),r.on.inspectComponent(({componentInstance:i,instanceData:s})=>{i.vnode.el&&i.vnode.el.__VUE_I18N__&&s&&(t.mode==="legacy"?i.vnode.el.__VUE_I18N__!==t.global.__composer&&Gc(s,i.vnode.el.__VUE_I18N__):Gc(s,i.vnode.el.__VUE_I18N__))}),r.addInspector({id:"vue-i18n-resource-inspector",label:Kl["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:dv["vue-i18n-resource-inspector"]}),r.on.getInspectorTree(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&vv(i,t)});const a=new Map;r.on.getInspectorState(async i=>{if(i.app===e&&i.inspectorId==="vue-i18n-resource-inspector")if(r.unhighlightElement(),Ev(i,t),i.nodeId==="global"){if(!a.has(i.app)){const[s]=await r.getComponentInstances(i.app);a.set(i.app,s)}r.highlightElement(a.get(i.app))}else{const s=yv(i.nodeId,t);s&&r.highlightElement(s)}}),r.on.editInspectorState(i=>{i.app===e&&i.inspectorId==="vue-i18n-resource-inspector"&&Cv(i,t)}),r.addTimelineLayer({id:"vue-i18n-timeline",label:Kl["vue-i18n-timeline"],color:fv["vue-i18n-timeline"]}),n(!0)})}catch(r){console.error(r),o(!1)}})}function Yc(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function hv(e,t,n){const o=n.mode==="composition"?n.global:n.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==o){const r={label:`i18n (${Yc(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(r)}}function Gc(e,t){const n=Wc;e.state.push({type:n,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:n,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:n,key:"messages",editable:!1,value:Yl(t.messages.value)}),e.state.push({type:n,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:n,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function Yl(e){const t={};return Object.keys(e).forEach(n=>{const o=e[n];Se(o)&&"source"in o?t[n]=bv(o):Qt(o)&&o.loc&&o.loc.source?t[n]=o.loc.source:pe(o)?t[n]=Yl(o):t[n]=o}),t}const gv={"<":"<",">":">",'"':""","&":"&"};function pv(e){return e.replace(/[<>"&]/g,_v)}function _v(e){return gv[e]||e}function bv(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${pv(e.source)}")`:"(?)"}`}}}function vv(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const n=t.mode==="composition"?t.global:t.global.__composer;for(const[o,r]of t.__instances){const a=t.mode==="composition"?r:r.__composer;n!==a&&e.rootNodes.push({id:a.id.toString(),label:`${Yc(o)} Scope`})}}function yv(e,t){let n=null;if(e!=="global"){for(const[o,r]of t.__instances.entries())if(r.id.toString()===e){n=o;break}}return n}function Qc(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const n=Array.from(t.__instances.values()).find(o=>o.id.toString()===e);return n?t.mode==="composition"?n:n.__composer:null}}function Ev(e,t){const n=Qc(e.nodeId,t);return n&&(e.state=Sv(n)),null}function Sv(e){const t={},n="Locale related info",o=[{type:n,key:"locale",editable:!0,value:e.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:e.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[n]=o;const r="Locale messages info",a=[{type:r,key:"messages",editable:!1,value:Yl(e.messages.value)}];t[r]=a;{const i="Datetime formats info",s=[{type:i,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[i]=s;const u="Datetime formats info",f=[{type:u,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[u]=f}return t}function fo(e,t){if(Wl){let n;t&&"groupId"in t&&(n=t.groupId,delete t.groupId),Wl.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:n,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function Cv(e,t){const n=Qc(e.nodeId,t);if(n){const[o]=e.path;o==="locale"&&Y(e.state.value)?n.locale.value=e.state.value:o==="fallbackLocale"&&(Y(e.state.value)||Ne(e.state.value)||pe(e.state.value))?n.fallbackLocale.value=e.state.value:o==="inheritLocale"&&_e(e.state.value)&&(n.inheritLocale=e.state.value)}}function kv(e){const t=Y(e.locale)?e.locale:io,n=Y(e.fallbackLocale)||Ne(e.fallbackLocale)||ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Se(e.missing)?e.missing:void 0,r=_e(e.silentTranslationWarn)||In(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=_e(e.silentFallbackWarn)||In(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=_e(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,u=ce(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,d=Se(e.postTranslation)?e.postTranslation:void 0,c=Y(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,m=_e(e.sync)?e.sync:!0;let p=e.messages;if(ce(e.sharedMessages)){const A=e.sharedMessages;p=Object.keys(A).reduce((T,M)=>{const N=T[M]||(T[M]={});return Ke(N,A[M]),T},p||{})}const{__i18n:v,__root:_,__injectWithOption:g}=e,b=e.datetimeFormats,S=e.numberFormats,y=e.flatJson;return{locale:t,fallbackLocale:n,messages:p,flatJson:y,datetimeFormats:b,numberFormats:S,missing:o,missingWarn:r,fallbackWarn:a,fallbackRoot:i,fallbackFormat:s,modifiers:u,pluralRules:f,postTranslation:d,warnHtmlMessage:c,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:m,__i18n:v,__root:_,__injectWithOption:g}}function Gl(e={}){const t=jl(kv(e)),{__extender:n}=e,o={id:t.id,get locale(){return t.locale.value},set locale(r){t.locale.value=r},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(r){t.fallbackLocale.value=r},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(r){t.setMissingHandler(r)},get silentTranslationWarn(){return _e(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(r){t.missingWarn=_e(r)?!r:r},get silentFallbackWarn(){return _e(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(r){t.fallbackWarn=_e(r)?!r:r},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(r){t.fallbackFormat=r},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(r){t.setPostTranslationHandler(r)},get sync(){return t.inheritLocale},set sync(r){t.inheritLocale=r},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){t.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(r){t.escapeParameter=r},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...r){return Reflect.apply(t.t,t,[...r])},rt(...r){return Reflect.apply(t.rt,t,[...r])},tc(...r){const[a,i,s]=r,u={plural:1};let f=null,d=null;if(process.env.NODE_ENV!=="production"&&lc(ir(Zt.DEPRECATE_TC)),!Y(a))throw it(Ce.INVALID_ARGUMENT);const c=a;return Y(i)?u.locale=i:Re(i)?u.plural=i:Ne(i)?f=i:ce(i)&&(d=i),Y(s)?u.locale=s:Ne(s)?f=s:ce(s)&&(d=s),Reflect.apply(t.t,t,[c,f||d||{},u])},te(r,a){return t.te(r,a)},tm(r){return t.tm(r)},getLocaleMessage(r){return t.getLocaleMessage(r)},setLocaleMessage(r,a){t.setLocaleMessage(r,a)},mergeLocaleMessage(r,a){t.mergeLocaleMessage(r,a)},d(...r){return Reflect.apply(t.d,t,[...r])},getDateTimeFormat(r){return t.getDateTimeFormat(r)},setDateTimeFormat(r,a){t.setDateTimeFormat(r,a)},mergeDateTimeFormat(r,a){t.mergeDateTimeFormat(r,a)},n(...r){return Reflect.apply(t.n,t,[...r])},getNumberFormat(r){return t.getNumberFormat(r)},setNumberFormat(r,a){t.setNumberFormat(r,a)},mergeNumberFormat(r,a){t.mergeNumberFormat(r,a)}};return o.__extender=n,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=r=>{const a=t;a[mn]&&a[mn](r)},o.__disableEmitter=()=>{const r=t;r[uo]&&r[uo]()}),o}function wv(e,t,n){return{beforeCreate(){const o=l.getCurrentInstance();if(!o)throw it(Ce.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const a=r.i18n;if(r.__i18n&&(a.__i18n=r.__i18n),a.__root=t,this===this.$root)this.$i18n=Xc(e,a);else{a.__injectWithOption=!0,a.__extender=n.__vueI18nExtend,this.$i18n=Gl(a);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Xc(e,r);else{this.$i18n=Gl({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&$c(t,r,r),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,i)=>this.$i18n.te(a,i),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),n.__setInstance(o,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const o=this.$i18n;this.$el.__VUE_I18N__=o.__composer;const r=this.__v_emitter=Tl();o.__enableEmitter&&o.__enableEmitter(r),r.on("*",fo)}},unmounted(){const o=l.getCurrentInstance();if(!o)throw it(Ce.UNEXPECTED_ERROR);const r=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",fo),delete this.__v_emitter),this.$i18n&&(r.__disableEmitter&&r.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(o),delete this.$i18n}}}function Xc(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Bc](t.pluralizationRules||e.pluralizationRules);const n=zl(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const Ql={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Tv({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===l.Fragment?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},ye())}function Zc(){return l.Fragment}const Jc=l.defineComponent({name:"i18n-t",props:Ke({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Re(e)||!isNaN(e)}},Ql),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Xl({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter(c=>c!=="_"),i=ye();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Y(e.plural)?+e.plural:e.plural);const s=Tv(t,a),u=r[ql](e.keypath,s,i),f=Ke(ye(),o),d=Y(e.tag)||pe(e.tag)?e.tag:Zc();return l.h(d,f,u)}}});function Ov(e){return Ne(e)&&!Y(e[0])}function ed(e,t,n,o){const{slots:r,attrs:a}=t;return()=>{const i={part:!0};let s=ye();e.locale&&(i.locale=e.locale),Y(e.format)?i.key=e.format:pe(e.format)&&(Y(e.format.key)&&(i.key=e.format.key),s=Object.keys(e.format).reduce((h,m)=>n.includes(m)?Ke(ye(),h,{[m]:e.format[m]}):h,ye()));const u=o(e.value,i,s);let f=[i.key];Ne(u)?f=u.map((h,m)=>{const p=r[h.type],v=p?p({[h.type]:h.value,index:m,parts:u}):[h.value];return Ov(v)&&(v[0].key=`${h.type}-${m}`),v}):Y(u)&&(f=[u]);const d=Ke(ye(),a),c=Y(e.tag)||pe(e.tag)?e.tag:Zc();return l.h(c,d,f)}}const td=l.defineComponent({name:"i18n-n",props:Ke({value:{type:Number,required:!0},format:{type:[String,Object]}},Ql),setup(e,t){const n=e.i18n||Xl({useScope:e.scope,__useComponent:!0});return ed(e,t,Ic,(...o)=>n[Ul](...o))}}),nd=l.defineComponent({name:"i18n-d",props:Ke({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ql),setup(e,t){const n=e.i18n||Xl({useScope:e.scope,__useComponent:!0});return ed(e,t,Oc,(...o)=>n[$l](...o))}});function Av(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function Dv(e){const t=i=>{const{instance:s,value:u}=i;if(!s||!s.$)throw it(Ce.UNEXPECTED_ERROR);const f=Av(e,s.$),d=od(u);return[Reflect.apply(f.t,f,[...rd(d)]),f]};return{created:(i,s)=>{const[u,f]=t(s);Tt&&e.global===f&&(i.__i18nWatcher=l.watch(f.locale,()=>{s.instance&&s.instance.$forceUpdate()})),i.__composer=f,i.textContent=u},unmounted:i=>{Tt&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:s})=>{if(i.__composer){const u=i.__composer,f=od(s);i.textContent=Reflect.apply(u.t,u,[...rd(f)])}},getSSRProps:i=>{const[s]=t(i);return{textContent:s}}}}function od(e){if(Y(e))return{path:e};if(ce(e)){if(!("path"in e))throw it(Ce.REQUIRED_VALUE,"path");return e}else throw it(Ce.INVALID_VALUE)}function rd(e){const{path:t,locale:n,args:o,choice:r,plural:a}=e,i={},s=o||{};return Y(n)&&(i.locale=n),Re(r)&&(i.plural=r),Re(a)&&(i.plural=a),[t,s,i]}function Iv(e,t,...n){const o=ce(n[0])?n[0]:{};(_e(o.globalInstall)?o.globalInstall:!0)&&([Jc.name,"I18nT"].forEach(a=>e.component(a,Jc)),[td.name,"I18nN"].forEach(a=>e.component(a,td)),[nd.name,"I18nD"].forEach(a=>e.component(a,nd))),e.directive("t",Dv(t))}const Nv=Pt("global-vue-i18n");function xv(e={},t){const n=__VUE_I18N_LEGACY_API__&&_e(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=_e(e.globalInjection)?e.globalInjection:!0,r=new Map,[a,i]=Pv(e,n),s=Pt(process.env.NODE_ENV!=="production"?"vue-i18n":"");function u(h){return r.get(h)||null}function f(h,m){r.set(h,m)}function d(h){r.delete(h)}const c={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(h,...m){if(process.env.NODE_ENV!=="production"&&(h.__VUE_I18N__=c),h.__VUE_I18N_SYMBOL__=s,h.provide(h.__VUE_I18N_SYMBOL__,c),ce(m[0])){const _=m[0];c.__composerExtend=_.__composerExtend,c.__vueI18nExtend=_.__vueI18nExtend}let p=null;!n&&o&&(p=$v(h,c.global)),__VUE_I18N_FULL_INSTALL__&&Iv(h,c,...m),__VUE_I18N_LEGACY_API__&&n&&h.mixin(wv(i,i.__composer,c));const v=h.unmount;if(h.unmount=()=>{p&&p(),c.dispose(),v()},process.env.NODE_ENV!=="production"){if(!await mv(h,c))throw it(Ce.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const g=Tl();if(n){const b=i;b.__enableEmitter&&b.__enableEmitter(g)}else{const b=i;b[mn]&&b[mn](g)}g.on("*",fo)}},get global(){return i},dispose(){a.stop()},__instances:r,__getInstance:u,__setInstance:f,__deleteInstance:d};return c}function Xl(e={}){const t=l.getCurrentInstance();if(t==null)throw it(Ce.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw it(Ce.NOT_INSTALLED);const n=Lv(t),o=Rv(n),r=qc(t),a=Vv(e,r);if(a==="global")return $c(o,e,r),o;if(a==="parent"){let u=Mv(n,t,e.__useComponent);return u==null&&(process.env.NODE_ENV!=="production"&&Wt(ir(Zt.NOT_FOUND_PARENT_SCOPE)),u=o),u}const i=n;let s=i.__getInstance(t);if(s==null){const u=Ke({},e);"__i18n"in r&&(u.__i18n=r.__i18n),o&&(u.__root=o),s=jl(u),i.__composerExtend&&(s[Hl]=i.__composerExtend(s)),Fv(i,t,s),i.__setInstance(t,s)}return s}function Pv(e,t,n){const o=l.effectScope(),r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Gl(e)):o.run(()=>jl(e));if(r==null)throw it(Ce.UNEXPECTED_ERROR);return[o,r]}function Lv(e){const t=l.inject(e.isCE?Nv:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw it(e.isCE?Ce.NOT_INSTALLED_WITH_PROVIDE:Ce.UNEXPECTED_ERROR);return t}function Vv(e,t){return Jo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Rv(e){return e.mode==="composition"?e.global:e.global.__composer}function Mv(e,t,n=!1){let o=null;const r=t.root;let a=Bv(t,n);for(;a!=null;){const i=e;if(e.mode==="composition")o=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const s=i.__getInstance(a);s!=null&&(o=s.__composer,n&&o&&!o[Fc]&&(o=null))}if(o!=null||r===a)break;a=a.parent}return o}function Bv(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Fv(e,t,n){let o=null;l.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&t.vnode.el){t.vnode.el.__VUE_I18N__=n,o=Tl();const r=n;r[mn]&&r[mn](o),o.on("*",fo)}},t),l.onUnmounted(()=>{const r=n;process.env.NODE_ENV!=="production"&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(o&&o.off("*",fo),r[uo]&&r[uo](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const a=r[Hl];a&&(a(),delete r[Hl])},t)}const qv=["locale","fallbackLocale","availableLocales"],ld=["t","rt","d","n","tm","te"];function $v(e,t){const n=Object.create(null);return qv.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a)throw it(Ce.UNEXPECTED_ERROR);const i=l.isRef(a.value)?{get(){return a.value.value},set(s){a.value.value=s}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,r,i)}),e.config.globalProperties.$i18n=n,ld.forEach(r=>{const a=Object.getOwnPropertyDescriptor(t,r);if(!a||!a.value)throw it(Ce.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,a)}),()=>{delete e.config.globalProperties.$i18n,ld.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}if(av(),Ib(sb),Nb(wb),xb(dc),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=dn();e.__INTLIFY__=!0,ub(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Zl=xv({locale:"es",globalInjection:!0,silentTranslationWarn:!0,messages:e0}),Uv=Ju(),Hv={install(e){console.log("[Quasar Components] Installing..."),Vo(e,qh),Vo(e,jh),Vo(e,Qh),Vo(e,Ng),e.use(Zl),e.use(Uv),Zl.global.locale="en",e.use(xd,{plugins:{}}),console.log("[Quasar components] Installed")}};function zv(e){Zl.global.locale=e}Je.AlertDialog=Yi,Je.ConfirmDialog=Gi,Je.MyTable=Wi,Je.QuasarFactoryLib=Hv,Je.TaskNavBar=rs,Je.filterMethod=t0,Je.infiniteScroll=Cl,Je.qTableSort=o0,Je.setTableHeight=n0,Je.updatePackageLanguage=zv,Object.defineProperty(Je,Symbol.toStringTag,{value:"Module"})});
|