@selfeesas/shared-components 1.5.4 → 1.6.0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("vue"),fi={xs:18,sm:24,md:32,lg:38,xl:46},Or={size:String};function Fr(l,B=fi){return y.computed(()=>l.size!==void 0?{fontSize:l.size in B?`${B[l.size]}px`:l.size}:null)}function Lt(l,B,t,b){return Object.defineProperty(l,B,{get:t,set:b,enumerable:!0}),l}function ks(l,B){for(const t in B)Lt(l,t,B[t]);return l}function $e(l){return y.markRaw(y.defineComponent(l))}function Ei(l){return y.markRaw(l)}const _s=(l,B)=>{const t=y.reactive(l);for(const b in l)Lt(B,b,()=>t[b],m=>{t[b]=m});return B};function bt(l,B){return l!==void 0&&l()||B}function Mi(l,B){if(l!==void 0){const t=l();if(t!=null)return t.slice()}return B}function It(l,B){return l!==void 0?B.concat(l()):B}function sa(l,B){return l===void 0?B:B!==void 0?B.concat(l()):l()}function Cs(l,B,t,b,m,c){B.key=b+m;const i=y.h(l,B,t);return m===!0?y.withDirectives(i,c()):i}const so="0 0 24 24",Hn=l=>l,Yn=l=>`ionicons ${l}`,la={"mdi-":l=>`mdi ${l}`,"icon-":Hn,"bt-":l=>`bt ${l}`,"eva-":l=>`eva ${l}`,"ion-md":Yn,"ion-ios":Yn,"ion-logo":Yn,"iconfont ":Hn,"ti-":l=>`themify-icon ${l}`,"bi-":l=>`bootstrap-icons ${l}`,"i-":Hn},ua={o_:"-outlined",r_:"-round",s_:"-sharp"},ca={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},As=new RegExp("^("+Object.keys(la).join("|")+")"),Es=new RegExp("^("+Object.keys(ua).join("|")+")"),lo=new RegExp("^("+Object.keys(ca).join("|")+")"),Ms=/^[Mm]\s?[-+]?\.?\d/,Ts=/^img:/,Rs=/^svguse:/,Bs=/^ion-/,Is=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,gt=$e({name:"QIcon",props:{...Or,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(l,{slots:B}){const{proxy:{$q:t}}=y.getCurrentInstance(),b=Fr(l),m=y.computed(()=>"q-icon"+(l.left===!0?" on-left":"")+(l.right===!0?" on-right":"")+(l.color!==void 0?` text-${l.color}`:"")),c=y.computed(()=>{let i,s=l.name;if(s==="none"||!s)return{none:!0};if(t.iconMapFn!==null){const r=t.iconMapFn(s);if(r!==void 0)if(r.icon!==void 0){if(s=r.icon,s==="none"||!s)return{none:!0}}else return{cls:r.cls,content:r.content!==void 0?r.content:" "}}if(Ms.test(s)===!0){const[r,u=so]=s.split("|");return{svg:!0,viewBox:u,nodes:r.split("&&").map(a=>{const[o,d,h]=a.split("@@");return y.h("path",{style:d,d:o,transform:h})})}}if(Ts.test(s)===!0)return{img:!0,src:s.substring(4)};if(Rs.test(s)===!0){const[r,u=so]=s.split("|");return{svguse:!0,src:r.substring(7),viewBox:u}}let n=" ";const e=s.match(As);if(e!==null)i=la[e[1]](s);else if(Is.test(s)===!0)i=s;else if(Bs.test(s)===!0)i=`ionicons ion-${t.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(lo.test(s)===!0){i="notranslate material-symbols";const r=s.match(lo);r!==null&&(s=s.substring(6),i+=ca[r[1]]),n=s}else{i="notranslate material-icons";const r=s.match(Es);r!==null&&(s=s.substring(2),i+=ua[r[1]]),n=s}return{cls:i,content:n}});return()=>{const i={class:m.value,style:b.value,"aria-hidden":"true"};return c.value.none===!0?y.h(l.tag,i,bt(B.default)):c.value.img===!0?y.h(l.tag,i,It(B.default,[y.h("img",{src:c.value.src})])):c.value.svg===!0?y.h(l.tag,i,It(B.default,[y.h("svg",{viewBox:c.value.viewBox||"0 0 24 24"},c.value.nodes)])):c.value.svguse===!0?y.h(l.tag,i,It(B.default,[y.h("svg",{viewBox:c.value.viewBox},[y.h("use",{"xlink:href":c.value.src})])])):(c.value.cls!==void 0&&(i.class+=" "+c.value.cls),y.h(l.tag,i,It(B.default,[c.value.content])))}}});function wn(l){if(Object(l.$parent)===l.$parent)return l.$parent;let{parent:B}=l.$;for(;Object(B)===B;){if(Object(B.proxy)===B.proxy)return B.proxy;B=B.parent}}function fa(l,B){typeof B.type=="symbol"?Array.isArray(B.children)===!0&&B.children.forEach(t=>{fa(l,t)}):l.add(B)}function Os(l){const B=new Set;return l.forEach(t=>{fa(B,t)}),Array.from(B)}function Ti(l){return l.appContext.config.globalProperties.$router!==void 0}function Ri(l){return l.isUnmounted===!0||l.isDeactivated===!0}function uo(l){return l?l.aliasOf?l.aliasOf.path:l.path:""}function co(l,B){return(l.aliasOf||l)===(B.aliasOf||B)}function Fs(l,B){for(const t in B){const b=B[t],m=l[t];if(typeof b=="string"){if(b!==m)return!1}else if(Array.isArray(m)===!1||m.length!==b.length||b.some((c,i)=>c!==m[i]))return!1}return!0}function fo(l,B){return Array.isArray(B)===!0?l.length===B.length&&l.every((t,b)=>t===B[b]):l.length===1&&l[0]===B}function js(l,B){return Array.isArray(l)===!0?fo(l,B):Array.isArray(B)===!0?fo(B,l):l===B}function Ds(l,B){if(Object.keys(l).length!==Object.keys(B).length)return!1;for(const t in l)if(js(l[t],B[t])===!1)return!1;return!0}const da={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},ha={...da,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Bi({fallbackTag:l,useDisableForRouterLinkProps:B=!0}={}){const t=y.getCurrentInstance(),{props:b,proxy:m,emit:c}=t,i=Ti(t),s=y.computed(()=>b.disable!==!0&&b.href!==void 0),n=B===!0?y.computed(()=>i===!0&&b.disable!==!0&&s.value!==!0&&b.to!==void 0&&b.to!==null&&b.to!==""):y.computed(()=>i===!0&&s.value!==!0&&b.to!==void 0&&b.to!==null&&b.to!==""),e=y.computed(()=>n.value===!0?p(b.to):null),r=y.computed(()=>e.value!==null),u=y.computed(()=>s.value===!0||r.value===!0),a=y.computed(()=>b.type==="a"||u.value===!0?"a":b.tag||l||"div"),o=y.computed(()=>s.value===!0?{href:b.href,target:b.target}:r.value===!0?{href:e.value.href,target:b.target}:{}),d=y.computed(()=>{if(r.value===!1)return-1;const{matched:T}=e.value,{length:D}=T,V=T[D-1];if(V===void 0)return-1;const P=m.$route.matched;if(P.length===0)return-1;const N=P.findIndex(co.bind(null,V));if(N!==-1)return N;const q=uo(T[D-2]);return D>1&&uo(V)===q&&P[P.length-1].path!==q?P.findIndex(co.bind(null,T[D-2])):N}),h=y.computed(()=>r.value===!0&&d.value!==-1&&Fs(m.$route.params,e.value.params)),f=y.computed(()=>h.value===!0&&d.value===m.$route.matched.length-1&&Ds(m.$route.params,e.value.params)),g=y.computed(()=>r.value===!0?f.value===!0?` ${b.exactActiveClass} ${b.activeClass}`:b.exact===!0?"":h.value===!0?` ${b.activeClass}`:"":"");function p(T){try{return m.$router.resolve(T)}catch{}return null}function k(T,{returnRouterError:D,to:V=b.to,replace:P=b.replace}={}){if(b.disable===!0)return T.preventDefault(),Promise.resolve(!1);if(T.metaKey||T.altKey||T.ctrlKey||T.shiftKey||T.button!==void 0&&T.button!==0||b.target==="_blank")return Promise.resolve(!1);T.preventDefault();const N=m.$router[P===!0?"replace":"push"](V);return D===!0?N:N.then(()=>{}).catch(()=>{})}function C(T){if(r.value===!0){const D=V=>k(T,V);c("click",T,D),T.defaultPrevented!==!0&&D()}else c("click",T)}return{hasRouterLink:r,hasHrefLink:s,hasLink:u,linkTag:a,resolvedLink:e,linkIsActive:h,linkIsExactActive:f,linkClass:g,linkAttrs:o,getLink:p,navigateToRouterLink:k,navigateOnClick:C}}const Ps=$e({name:"QBreadcrumbsEl",props:{...ha,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(l,{slots:B}){const{linkTag:t,linkAttrs:b,linkClass:m,navigateOnClick:c}=Bi(),i=y.computed(()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(l.disable!==!0?"q-link--focusable"+m.value:"q-breadcrumbs__el--disable"),...b.value,onClick:c})),s=y.computed(()=>"q-breadcrumbs__el-icon"+(l.label!==void 0?" q-breadcrumbs__el-icon--with-label":""));return()=>{const n=[];return l.icon!==void 0&&n.push(y.h(gt,{class:s.value,name:l.icon})),l.label!==void 0&&n.push(l.label),y.h(t.value,{...i.value},It(B.default,n))}}}),pa={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Ns=Object.keys(pa),Ii={align:{type:String,validator:l=>Ns.includes(l)}};function Oi(l){return y.computed(()=>{const B=l.align===void 0?l.vertical===!0?"stretch":"left":l.align;return`${l.vertical===!0?"items":"justify"}-${pa[B]}`})}const Ls=["",!0],Vs=$e({name:"QBreadcrumbs",props:{...Ii,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:l=>["none","xs","sm","md","lg","xl"].includes(l),default:"sm"}},setup(l,{slots:B}){const t=Oi(l),b=y.computed(()=>`flex items-center ${t.value}${l.gutter==="none"?"":` q-gutter-${l.gutter}`}`),m=y.computed(()=>l.separatorColor?` text-${l.separatorColor}`:""),c=y.computed(()=>` text-${l.activeColor}`);return()=>{if(B.default===void 0)return;const i=Os(bt(B.default));if(i.length===0)return;let s=1;const n=[],e=i.filter(u=>u.type?.name==="QBreadcrumbsEl").length,r=B.separator!==void 0?B.separator:()=>l.separator;return i.forEach(u=>{if(u.type?.name==="QBreadcrumbsEl"){const a=s<e,o=u.props!==null&&Ls.includes(u.props.disable),d=(a===!0?"":" q-breadcrumbs--last")+(o!==!0&&a===!0?c.value:"");s++,n.push(y.h("div",{class:`flex items-center${d}`},[u])),a===!0&&n.push(y.h("div",{class:"q-breadcrumbs__separator"+m.value},r()))}else n.push(u)}),y.h("div",{class:"q-breadcrumbs"},[y.h("div",{class:b.value},n)])}}}),qs=y.defineComponent({inheritAttrs:!1,__name:"Breadcrumbs",props:{activeColor:{},separatorIcon:{},separatorSize:{},separatorColor:{},store:{},navStore:{},route:{},router:{},breadcrumbConfig:{},separator:{},gutter:{},align:{}},setup(l){const B=l,t=y.useAttrs(),b=y.computed(()=>{const{activeColor:a,separatorIcon:o,separatorSize:d,separatorColor:h,...f}=t;return f}),m=a=>({"data-cy":a.dataCy,class:"cursor-pointer text-h5",color:a.color}),c=y.computed(()=>B.activeColor||"primary"),i=y.computed(()=>B.separatorIcon||"chevron_right"),s=y.computed(()=>B.separatorSize||"2em"),n=y.computed(()=>B.separatorColor||"primary"),e=y.computed(()=>({store:B.store,route:B.route,navStore:B.navStore||{}})),r=y.computed(()=>{const a=[];return B.breadcrumbConfig.forEach(o=>{if(!o.shouldRender(e.value))return;const d=o.getLabel?o.getLabel(e.value):o.defaultLabel,h=o.getColor?o.getColor(e.value):"dark",f={name:o.routeName,...o.getRouteParams&&{params:o.getRouteParams(e.value)}},g=o.clearActions?o.clearActions.map(p=>()=>p(e.value)):[];a.push({label:d,dataCy:o.dataCy,color:h,route:f,clearActions:g})}),a}),u=a=>{a.clearActions&&a.clearActions.forEach(o=>o()),B.router.push(a.route)};return(a,o)=>(y.openBlock(),y.createBlock(Vs,y.mergeProps({"active-color":c.value,class:"text-brown"},b.value),{separator:y.withCtx(()=>[y.createVNode(gt,{size:s.value,name:i.value,color:n.value},null,8,["size","name","color"])]),default:y.withCtx(()=>[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(r.value,(d,h)=>(y.openBlock(),y.createBlock(Ps,y.mergeProps({key:h,to:d.route},{ref_for:!0},m(d),{label:d.label,onClick:f=>u(d)}),null,16,["to","label","onClick"]))),128))]),_:1},16,["active-color"]))}}),zs={size:{type:[String,Number],default:"1em"},color:String};function Us(l){return{cSize:y.computed(()=>l.size in fi?`${fi[l.size]}px`:l.size),classes:y.computed(()=>"q-spinner"+(l.color?` text-${l.color}`:""))}}const ma=$e({name:"QSpinner",props:{...zs,thickness:{type:Number,default:5}},setup(l){const{cSize:B,classes:t}=Us(l);return()=>y.h("svg",{class:t.value+" q-spinner-mat",width:B.value,height:B.value,viewBox:"25 25 50 50"},[y.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":l.thickness,"stroke-miterlimit":"10"})])}});function di(l,B){const t=l.style;for(const b in B)t[b]=B[b]}function Ws(l){if(l==null)return;if(typeof l=="string")try{return document.querySelector(l)||void 0}catch{return}const B=y.unref(l);if(B)return B.$el||B}function ga(l,B){if(l==null||l.contains(B)===!0)return!0;for(let t=l.nextElementSibling;t!==null;t=t.nextElementSibling)if(t.contains(B))return!0;return!1}const _t={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const l=Object.defineProperty({},"passive",{get(){Object.assign(_t,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,l),window.removeEventListener("qtest",null,l)}catch{}function Pn(){}function Hs(l){return l.button===0}function Yr(l){return l.touches&&l.touches[0]?l=l.touches[0]:l.changedTouches&&l.changedTouches[0]?l=l.changedTouches[0]:l.targetTouches&&l.targetTouches[0]&&(l=l.targetTouches[0]),{top:l.clientY,left:l.clientX}}function Ys(l){if(l.path)return l.path;if(l.composedPath)return l.composedPath();const B=[];let t=l.target;for(;t;){if(B.push(t),t.tagName==="HTML")return B.push(document),B.push(window),B;t=t.parentElement}}function Dt(l){l.stopPropagation()}function Bt(l){l.cancelable!==!1&&l.preventDefault()}function St(l){l.cancelable!==!1&&l.preventDefault(),l.stopPropagation()}function Qn(l,B){if(l===void 0||B===!0&&l.__dragPrevented===!0)return;const t=B===!0?b=>{b.__dragPrevented=!0,b.addEventListener("dragstart",Bt,_t.notPassiveCapture)}:b=>{delete b.__dragPrevented,b.removeEventListener("dragstart",Bt,_t.notPassiveCapture)};l.querySelectorAll("a, img").forEach(t)}function Xt(l,B,t){const b=`__q_${B}_evt`;l[b]=l[b]!==void 0?l[b].concat(t):t,t.forEach(m=>{m[0].addEventListener(m[1],l[m[2]],_t[m[3]])})}function fr(l,B){const t=`__q_${B}_evt`;l[t]!==void 0&&(l[t].forEach(b=>{b[0].removeEventListener(b[1],l[b[2]],_t[b[3]])}),l[t]=void 0)}function Fi(l){return l!==Object(l)||l.isComposing===!0||l.qKeyEvent===!0}function ir(l,B){return Fi(l)===!0?!1:[].concat(B).includes(l.keyCode)}function Qs(l,B=250){let t=!1,b;return function(){return t===!1&&(t=!0,setTimeout(()=>{t=!1},B),b=l.apply(this,arguments)),b}}function ho(l,B,t,b){t.modifiers.stop===!0&&Dt(l);const m=t.modifiers.color;let c=t.modifiers.center;c=c===!0||b===!0;const i=document.createElement("span"),s=document.createElement("span"),n=Yr(l),{left:e,top:r,width:u,height:a}=B.getBoundingClientRect(),o=Math.sqrt(u*u+a*a),d=o/2,h=`${(u-o)/2}px`,f=c?h:`${n.left-e-d}px`,g=`${(a-o)/2}px`,p=c?g:`${n.top-r-d}px`;s.className="q-ripple__inner",di(s,{height:`${o}px`,width:`${o}px`,transform:`translate3d(${f},${p},0) scale3d(.2,.2,1)`,opacity:0}),i.className=`q-ripple${m?" text-"+m:""}`,i.setAttribute("dir","ltr"),i.appendChild(s),B.appendChild(i);const k=()=>{i.remove(),clearTimeout(C)};t.abort.push(k);let C=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${h},${g},0) scale3d(1,1,1)`,s.style.opacity=.2,C=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,C=setTimeout(()=>{i.remove(),t.abort.splice(t.abort.indexOf(k),1)},275)},250)},50)}function po(l,{modifiers:B,value:t,arg:b}){const m=Object.assign({},l.cfg.ripple,B,t);l.modifiers={early:m.early===!0,stop:m.stop===!0,center:m.center===!0,color:m.color||b,keyCodes:[].concat(m.keyCodes||13)}}const ba=Ei({name:"ripple",beforeMount(l,B){const t=B.instance.$.appContext.config.globalProperties.$q.config||{};if(t.ripple===!1)return;const b={cfg:t,enabled:B.value!==!1,modifiers:{},abort:[],start(m){b.enabled===!0&&m.qSkipRipple!==!0&&m.type===(b.modifiers.early===!0?"pointerdown":"click")&&ho(m,l,b,m.qKeyEvent===!0)},keystart:Qs(m=>{b.enabled===!0&&m.qSkipRipple!==!0&&ir(m,b.modifiers.keyCodes)===!0&&m.type===`key${b.modifiers.early===!0?"down":"up"}`&&ho(m,l,b,!0)},300)};po(b,B),l.__qripple=b,Xt(b,"main",[[l,"pointerdown","start","passive"],[l,"click","start","passive"],[l,"keydown","keystart","passive"],[l,"keyup","keystart","passive"]])},updated(l,B){if(B.oldValue!==B.value){const t=l.__qripple;t!==void 0&&(t.enabled=B.value!==!1,t.enabled===!0&&Object(B.value)===B.value&&po(t,B))}},beforeUnmount(l){const B=l.__qripple;B!==void 0&&(B.abort.forEach(t=>{t()}),fr(B,"main"),delete l._qripple)}}),mo={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Ks={xs:8,sm:10,md:14,lg:20,xl:24},Xs=["button","submit","reset"],Gs=/[^\s]\/[^\s]/,Js=["flat","outline","push","unelevated"];function Zs(l,B){return l.flat===!0?"flat":l.outline===!0?"outline":l.push===!0?"push":l.unelevated===!0?"unelevated":B}const $s={...Or,...da,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Js.reduce((l,B)=>(l[B]=Boolean)&&l,{}),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},el={...$s,round:Boolean};function tl(l){const B=Fr(l,Ks),t=Oi(l),{hasRouterLink:b,hasLink:m,linkTag:c,linkAttrs:i,navigateOnClick:s}=Bi({fallbackTag:"button"}),n=y.computed(()=>{const f=l.fab===!1&&l.fabMini===!1?B.value:{};return l.padding!==void 0?Object.assign({},f,{padding:l.padding.split(/\s+/).map(g=>g in mo?mo[g]+"px":g).join(" "),minWidth:"0",minHeight:"0"}):f}),e=y.computed(()=>l.rounded===!0||l.fab===!0||l.fabMini===!0),r=y.computed(()=>l.disable!==!0&&l.loading!==!0),u=y.computed(()=>r.value===!0?l.tabindex||0:-1),a=y.computed(()=>Zs(l,"standard")),o=y.computed(()=>{const f={tabindex:u.value};return m.value===!0?Object.assign(f,i.value):Xs.includes(l.type)===!0&&(f.type=l.type),c.value==="a"?(l.disable===!0?f["aria-disabled"]="true":f.href===void 0&&(f.role="button"),b.value!==!0&&Gs.test(l.type)===!0&&(f.type=l.type)):l.disable===!0&&(f.disabled="",f["aria-disabled"]="true"),l.loading===!0&&l.percentage!==void 0&&Object.assign(f,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l.percentage}),f}),d=y.computed(()=>{let f;l.color!==void 0?l.flat===!0||l.outline===!0?f=`text-${l.textColor||l.color}`:f=`bg-${l.color} text-${l.textColor||"white"}`:l.textColor&&(f=`text-${l.textColor}`);const g=l.round===!0?"round":`rectangle${e.value===!0?" q-btn--rounded":l.square===!0?" q-btn--square":""}`;return`q-btn--${a.value} q-btn--${g}`+(f!==void 0?" "+f:"")+(r.value===!0?" q-btn--actionable q-focusable q-hoverable":l.disable===!0?" disabled":"")+(l.fab===!0?" q-btn--fab":l.fabMini===!0?" q-btn--fab-mini":"")+(l.noCaps===!0?" q-btn--no-uppercase":"")+(l.dense===!0?" q-btn--dense":"")+(l.stretch===!0?" no-border-radius self-stretch":"")+(l.glossy===!0?" glossy":"")+(l.square?" q-btn--square":"")}),h=y.computed(()=>t.value+(l.stack===!0?" column":" row")+(l.noWrap===!0?" no-wrap text-no-wrap":"")+(l.loading===!0?" q-btn__content--hidden":""));return{classes:d,style:n,innerClasses:h,attributes:o,hasLink:m,linkTag:c,navigateOnClick:s,isActionable:r}}const{passiveCapture:Nt}=_t;let yr=null,wr=null,xr=null;const ut=$e({name:"QBtn",props:{...el,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(l,{slots:B,emit:t}){const{proxy:b}=y.getCurrentInstance(),{classes:m,style:c,innerClasses:i,attributes:s,hasLink:n,linkTag:e,navigateOnClick:r,isActionable:u}=tl(l),a=y.ref(null),o=y.ref(null);let d=null,h,f=null;const g=y.computed(()=>l.label!==void 0&&l.label!==null&&l.label!==""),p=y.computed(()=>l.disable===!0||l.ripple===!1?!1:{keyCodes:n.value===!0?[13,32]:[13],...l.ripple===!0?{}:l.ripple}),k=y.computed(()=>({center:l.round})),C=y.computed(()=>{const M=Math.max(0,Math.min(100,l.percentage));return M>0?{transition:"transform 0.6s",transform:`translateX(${M-100}%)`}:{}}),T=y.computed(()=>{if(l.loading===!0)return{onMousedown:A,onTouchstart:A,onClick:A,onKeydown:A,onKeyup:A};if(u.value===!0){const M={onClick:V,onKeydown:P,onMousedown:q};if(b.$q.platform.has.touch===!0){const _=l.onTouchstart!==void 0?"":"Passive";M[`onTouchstart${_}`]=N}return M}return{onClick:St}}),D=y.computed(()=>({ref:a,class:"q-btn q-btn-item non-selectable no-outline "+m.value,style:c.value,...s.value,...T.value}));function V(M){if(a.value!==null){if(M!==void 0){if(M.defaultPrevented===!0)return;const _=document.activeElement;if(l.type==="submit"&&_!==document.body&&a.value.contains(_)===!1&&_.contains(a.value)===!1){M.qAvoidFocus!==!0&&a.value.focus();const v=()=>{document.removeEventListener("keydown",St,!0),document.removeEventListener("keyup",v,Nt),a.value?.removeEventListener("blur",v,Nt)};document.addEventListener("keydown",St,!0),document.addEventListener("keyup",v,Nt),a.value.addEventListener("blur",v,Nt)}}r(M)}}function P(M){a.value!==null&&(t("keydown",M),ir(M,[13,32])===!0&&wr!==a.value&&(wr!==null&&L(),M.defaultPrevented!==!0&&(M.qAvoidFocus!==!0&&a.value.focus(),wr=a.value,a.value.classList.add("q-btn--active"),document.addEventListener("keyup",W,!0),a.value.addEventListener("blur",W,Nt)),St(M)))}function N(M){a.value!==null&&(t("touchstart",M),M.defaultPrevented!==!0&&(yr!==a.value&&(yr!==null&&L(),yr=a.value,d=M.target,d.addEventListener("touchcancel",W,Nt),d.addEventListener("touchend",W,Nt)),h=!0,f!==null&&clearTimeout(f),f=setTimeout(()=>{f=null,h=!1},200)))}function q(M){a.value!==null&&(M.qSkipRipple=h===!0,t("mousedown",M),M.defaultPrevented!==!0&&xr!==a.value&&(xr!==null&&L(),xr=a.value,a.value.classList.add("q-btn--active"),document.addEventListener("mouseup",W,Nt)))}function W(M){if(a.value!==null&&!(M?.type==="blur"&&document.activeElement===a.value)){if(M?.type==="keyup"){if(wr===a.value&&ir(M,[13,32])===!0){const _=new MouseEvent("click",M);_.qKeyEvent=!0,M.defaultPrevented===!0&&Bt(_),M.cancelBubble===!0&&Dt(_),a.value.dispatchEvent(_),St(M),M.qKeyEvent=!0}t("keyup",M)}L()}}function L(M){const _=o.value;M!==!0&&(yr===a.value||xr===a.value)&&_!==null&&_!==document.activeElement&&(_.setAttribute("tabindex",-1),_.focus()),yr===a.value&&(d!==null&&(d.removeEventListener("touchcancel",W,Nt),d.removeEventListener("touchend",W,Nt)),yr=d=null),xr===a.value&&(document.removeEventListener("mouseup",W,Nt),xr=null),wr===a.value&&(document.removeEventListener("keyup",W,!0),a.value?.removeEventListener("blur",W,Nt),wr=null),a.value?.classList.remove("q-btn--active")}function A(M){St(M),M.qSkipRipple=!0}return y.onBeforeUnmount(()=>{L(!0)}),Object.assign(b,{click:M=>{u.value===!0&&V(M)}}),()=>{let M=[];l.icon!==void 0&&M.push(y.h(gt,{name:l.icon,left:l.stack!==!0&&g.value===!0,role:"img"})),g.value===!0&&M.push(y.h("span",{class:"block"},[l.label])),M=It(B.default,M),l.iconRight!==void 0&&l.round===!1&&M.push(y.h(gt,{name:l.iconRight,right:l.stack!==!0&&g.value===!0,role:"img"}));const _=[y.h("span",{class:"q-focus-helper",ref:o})];return l.loading===!0&&l.percentage!==void 0&&_.push(y.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(l.darkPercentage===!0?" q-btn__progress--dark":"")},[y.h("span",{class:"q-btn__progress-indicator fit block",style:C.value})])),_.push(y.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+i.value},M)),l.loading!==null&&_.push(y.h(y.Transition,{name:"q-transition--fade"},()=>l.loading===!0?[y.h("span",{key:"loading",class:"absolute-full flex flex-center"},B.loading!==void 0?B.loading():[y.h(ma)])]:null)),y.withDirectives(y.h(e.value,D.value,_),[[ba,p.value,void 0,k.value]])}}}),rl={class:"row justify-between"},nl=y.defineComponent({__name:"NavButton",props:{from:{},to:{default:void 0},labelFrom:{},labelTo:{default:void 0},params:{default:()=>({})},query:{default:()=>({})}},setup(l){const B=l,t=y.inject("navContext",null),b=y.inject("router");function m(c){if(!b){console.warn("Dependencies not available:",{router:b});return}t?.setTabs();const i=c==="back"?B.from:B.to;if(!i){console.warn("Destination not provided:",c);return}b.push({name:i,params:B.params,query:B.query})}return(c,i)=>(y.openBlock(),y.createElementBlock("div",rl,[y.createVNode(ut,{icon:"chevron_left","rounded-sm":"",label:c.labelFrom,"data-cy":"go-back","data-testid":"go-back",onClick:i[0]||(i[0]=s=>m("back"))},null,8,["label"]),c.labelTo?(y.openBlock(),y.createBlock(ut,{key:0,label:c.labelTo,color:"primary","text-color":"white","icon-right":"chevron_right","rounded-sm":"","data-cy":"go-next","data-testid":"go-next",onClick:i[1]||(i[1]=s=>m("next"))},null,8,["label"])):y.createCommentVNode("",!0)]))}}),Ht=(l,B)=>{const t=l.__vccOpts||l;for(const[b,m]of B)t[b]=m;return t},il=Ht(nl,[["__scopeId","data-v-8dd99f80"]]),Ot={dark:{type:Boolean,default:null}};function Ft(l,B){return y.computed(()=>l.dark===null?B.dark.isActive:l.dark)}function ol(l,B){const t=y.ref(null),b=y.computed(()=>l.disable===!0?null:y.h("span",{ref:t,class:"no-outline",tabindex:-1}));function m(c){const i=B.value;c?.qAvoidFocus!==!0&&(c?.type.indexOf("key")===0?document.activeElement!==i&&i?.contains(document.activeElement)===!0&&i.focus():t.value!==null&&(c===void 0||i?.contains(c.target)===!0)&&t.value.focus())}return{refocusTargetEl:b,refocusTarget:m}}const Nn={name:String};function al(l){return y.computed(()=>({type:"hidden",name:l.name,value:l.modelValue}))}function va(l={}){return(B,t,b)=>{B[t](y.h("input",{class:"hidden"+(b||""),...l.value}))}}function ya(l){return y.computed(()=>l.name||l.for)}const sl={xs:30,sm:35,md:40,lg:50,xl:60},wa={...Ot,...Or,...Nn,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:l=>l==="tf"||l==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},xa=["update:modelValue"];function Sa(l,B){const{props:t,slots:b,emit:m,proxy:c}=y.getCurrentInstance(),{$q:i}=c,s=Ft(t,i),n=y.ref(null),{refocusTargetEl:e,refocusTarget:r}=ol(t,n),u=Fr(t,sl),a=y.computed(()=>t.val!==void 0&&Array.isArray(t.modelValue)),o=y.computed(()=>{const L=y.toRaw(t.val);return a.value===!0?t.modelValue.findIndex(A=>y.toRaw(A)===L):-1}),d=y.computed(()=>a.value===!0?o.value!==-1:y.toRaw(t.modelValue)===y.toRaw(t.trueValue)),h=y.computed(()=>a.value===!0?o.value===-1:y.toRaw(t.modelValue)===y.toRaw(t.falseValue)),f=y.computed(()=>d.value===!1&&h.value===!1),g=y.computed(()=>t.disable===!0?-1:t.tabindex||0),p=y.computed(()=>`q-${l} cursor-pointer no-outline row inline no-wrap items-center`+(t.disable===!0?" disabled":"")+(s.value===!0?` q-${l}--dark`:"")+(t.dense===!0?` q-${l}--dense`:"")+(t.leftLabel===!0?" reverse":"")),k=y.computed(()=>{const L=d.value===!0?"truthy":h.value===!0?"falsy":"indet",A=t.color!==void 0&&(t.keepColor===!0||(l==="toggle"?d.value===!0:h.value!==!0))?` text-${t.color}`:"";return`q-${l}__inner relative-position non-selectable q-${l}__inner--${L}${A}`}),C=y.computed(()=>{const L={type:"checkbox"};return t.name!==void 0&&Object.assign(L,{".checked":d.value,"^checked":d.value===!0?"checked":void 0,name:t.name,value:a.value===!0?t.val:t.trueValue}),L}),T=va(C),D=y.computed(()=>{const L={tabindex:g.value,role:l==="toggle"?"switch":"checkbox","aria-label":t.label,"aria-checked":f.value===!0?"mixed":d.value===!0?"true":"false"};return t.disable===!0&&(L["aria-disabled"]="true"),L});function V(L){L!==void 0&&(St(L),r(L)),t.disable!==!0&&m("update:modelValue",P(),L)}function P(){if(a.value===!0){if(d.value===!0){const L=t.modelValue.slice();return L.splice(o.value,1),L}return t.modelValue.concat([t.val])}if(d.value===!0){if(t.toggleOrder!=="ft"||t.toggleIndeterminate===!1)return t.falseValue}else if(h.value===!0){if(t.toggleOrder==="ft"||t.toggleIndeterminate===!1)return t.trueValue}else return t.toggleOrder!=="ft"?t.trueValue:t.falseValue;return t.indeterminateValue}function N(L){(L.keyCode===13||L.keyCode===32)&&St(L)}function q(L){(L.keyCode===13||L.keyCode===32)&&V(L)}const W=B(d,f);return Object.assign(c,{toggle:V}),()=>{const L=W();t.disable!==!0&&T(L,"unshift",` q-${l}__native absolute q-ma-none q-pa-none`);const A=[y.h("div",{class:k.value,style:u.value,"aria-hidden":"true"},L)];e.value!==null&&A.push(e.value);const M=t.label!==void 0?It(b.default,[t.label]):bt(b.default);return M!==void 0&&A.push(y.h("div",{class:`q-${l}__label q-anchor--skip`},M)),y.h("div",{ref:n,class:p.value,...D.value,onClick:V,onKeydown:N,onKeyup:q},A)}}const ll=()=>y.h("div",{key:"svg",class:"q-checkbox__bg absolute"},[y.h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[y.h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),y.h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),Er=$e({name:"QCheckbox",props:wa,emits:xa,setup(l){const B=ll();function t(b,m){const c=y.computed(()=>(b.value===!0?l.checkedIcon:m.value===!0?l.indeterminateIcon:l.uncheckedIcon)||null);return()=>c.value!==null?[y.h("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[y.h(gt,{class:"q-checkbox__icon",name:c.value})])]:[B]}return Sa("checkbox",t)}}),ul=$e({props:["store","barStyle","verticalBarStyle","horizontalBarStyle"],setup(l){return()=>[y.h("div",{class:l.store.scroll.vertical.barClass.value,style:[l.barStyle,l.verticalBarStyle],"aria-hidden":"true",onMousedown:l.store.onVerticalMousedown}),y.h("div",{class:l.store.scroll.horizontal.barClass.value,style:[l.barStyle,l.horizontalBarStyle],"aria-hidden":"true",onMousedown:l.store.onHorizontalMousedown}),y.withDirectives(y.h("div",{ref:l.store.scroll.vertical.ref,class:l.store.scroll.vertical.thumbClass.value,style:l.store.scroll.vertical.style.value,"aria-hidden":"true"}),l.store.thumbVertDir),y.withDirectives(y.h("div",{ref:l.store.scroll.horizontal.ref,class:l.store.scroll.horizontal.thumbClass.value,style:l.store.scroll.horizontal.style.value,"aria-hidden":"true"}),l.store.thumbHorizDir)]}}),or=y.ref(!1);let hi;function cl(l,B){const t=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(l)||/(opr)[\/]([\w.]+)/.exec(l)||/(vivaldi)[\/]([\w.]+)/.exec(l)||/(chrome|crios)[\/]([\w.]+)/.exec(l)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(l)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(l)||/(firefox|fxios)[\/]([\w.]+)/.exec(l)||/(webkit)[\/]([\w.]+)/.exec(l)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(l)||[];return{browser:t[5]||t[3]||t[1]||"",version:t[4]||t[2]||"0",platform:B[0]||""}}function fl(l){return/(ipad)/.exec(l)||/(ipod)/.exec(l)||/(windows phone)/.exec(l)||/(iphone)/.exec(l)||/(kindle)/.exec(l)||/(silk)/.exec(l)||/(android)/.exec(l)||/(win)/.exec(l)||/(mac)/.exec(l)||/(linux)/.exec(l)||/(cros)/.exec(l)||/(playbook)/.exec(l)||/(bb)/.exec(l)||/(blackberry)/.exec(l)||[]}const ka="ontouchstart"in window||window.navigator.maxTouchPoints>0;function dl(l){const B=l.toLowerCase(),t=fl(B),b=cl(B,t),m={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};b.browser&&(m[b.browser]=!0,m.version=b.version,m.versionNumber=parseInt(b.version,10)),b.platform&&(m[b.platform]=!0);const c=m.android||m.ios||m.bb||m.blackberry||m.ipad||m.iphone||m.ipod||m.kindle||m.playbook||m.silk||m["windows phone"];if(c===!0||B.indexOf("mobile")!==-1?m.mobile=!0:m.desktop=!0,m["windows phone"]&&(m.winphone=!0,delete m["windows phone"]),m.edga||m.edgios||m.edg?(m.edge=!0,b.browser="edge"):m.crios?(m.chrome=!0,b.browser="chrome"):m.fxios&&(m.firefox=!0,b.browser="firefox"),(m.ipod||m.ipad||m.iphone)&&(m.ios=!0),m.vivaldi&&(b.browser="vivaldi",m.vivaldi=!0),(m.chrome||m.opr||m.safari||m.vivaldi||m.mobile===!0&&m.ios!==!0&&c!==!0)&&(m.webkit=!0),m.opr&&(b.browser="opera",m.opera=!0),m.safari&&(m.blackberry||m.bb?(b.browser="blackberry",m.blackberry=!0):m.playbook?(b.browser="playbook",m.playbook=!0):m.android?(b.browser="android",m.android=!0):m.kindle?(b.browser="kindle",m.kindle=!0):m.silk&&(b.browser="silk",m.silk=!0)),m.name=b.browser,m.platform=b.platform,B.indexOf("electron")!==-1)m.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)m.bex=!0;else{if(window.Capacitor!==void 0?(m.capacitor=!0,m.nativeMobile=!0,m.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(m.cordova=!0,m.nativeMobile=!0,m.nativeMobileWrapper="cordova"),or.value===!0&&(hi={is:{...m}}),ka===!0&&m.mac===!0&&(m.desktop===!0&&m.safari===!0||m.nativeMobile===!0&&m.android!==!0&&m.ios!==!0&&m.ipad!==!0)){delete m.mac,delete m.desktop;const i=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(m,{mobile:!0,ios:!0,platform:i,[i]:!0})}m.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete m.desktop,m.mobile=!0)}return m}const go=navigator.userAgent||navigator.vendor||window.opera,hl={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Et={userAgent:go,is:dl(go),has:{touch:ka},within:{iframe:window.self!==window.top}},pi={install(l){const{$q:B}=l;or.value===!0?(l.onSSRHydrated.push(()=>{Object.assign(B.platform,Et),or.value=!1}),B.platform=y.reactive(this)):B.platform=this}};{let l;Lt(Et.has,"webStorage",()=>{if(l!==void 0)return l;try{if(window.localStorage)return l=!0,!0}catch{}return l=!1,!1}),Object.assign(pi,Et),or.value===!0&&(Object.assign(pi,hi,hl),hi=null)}function pl(){const l=y.ref(!or.value);return l.value===!1&&y.onMounted(()=>{l.value=!0}),{isHydrated:l}}const _a=typeof ResizeObserver<"u",bo=_a===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},Rr=$e({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(l,{emit:B}){let t=null,b,m={width:-1,height:-1};function c(n){n===!0||l.debounce===0||l.debounce==="0"?i():t===null&&(t=setTimeout(i,l.debounce))}function i(){if(t!==null&&(clearTimeout(t),t=null),b){const{offsetWidth:n,offsetHeight:e}=b;(n!==m.width||e!==m.height)&&(m={width:n,height:e},B("resize",m))}}const{proxy:s}=y.getCurrentInstance();if(s.trigger=c,_a===!0){let n;const e=r=>{b=s.$el.parentNode,b?(n=new ResizeObserver(c),n.observe(b),i()):r!==!0&&y.nextTick(()=>{e(!0)})};return y.onMounted(()=>{e()}),y.onBeforeUnmount(()=>{t!==null&&clearTimeout(t),n!==void 0&&(n.disconnect!==void 0?n.disconnect():b&&n.unobserve(b))}),Pn}else{let n=function(){t!==null&&(clearTimeout(t),t=null),u!==void 0&&(u.removeEventListener!==void 0&&u.removeEventListener("resize",c,_t.passive),u=void 0)},e=function(){n(),b?.contentDocument&&(u=b.contentDocument.defaultView,u.addEventListener("resize",c,_t.passive),i())};const{isHydrated:r}=pl();let u;return y.onMounted(()=>{y.nextTick(()=>{b=s.$el,b&&e()})}),y.onBeforeUnmount(n),()=>{if(r.value===!0)return y.h("object",{class:"q--avoid-card-border",style:bo.style,tabindex:-1,type:"text/html",data:bo.url,"aria-hidden":"true",onLoad:e})}}}}),Ln=[Element,String],ml=[null,document,document.body,document.scrollingElement,document.documentElement];function Vn(l,B){let t=Ws(B);if(t===void 0){if(l==null)return window;t=l.closest(".scroll,.scroll-y,.overflow-auto")}return ml.includes(t)?window:t}function ji(l){return l===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:l.scrollTop}function Di(l){return l===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:l.scrollLeft}function Ca(l,B,t=0){const b=arguments[3]===void 0?performance.now():arguments[3],m=ji(l);if(t<=0){m!==B&&mi(l,B);return}requestAnimationFrame(c=>{const i=c-b,s=m+(B-m)/Math.max(i,t)*i;mi(l,s),s!==B&&Ca(l,B,t-i,c)})}function Aa(l,B,t=0){const b=arguments[3]===void 0?performance.now():arguments[3],m=Di(l);if(t<=0){m!==B&&gi(l,B);return}requestAnimationFrame(c=>{const i=c-b,s=m+(B-m)/Math.max(i,t)*i;gi(l,s),s!==B&&Aa(l,B,t-i,c)})}function mi(l,B){if(l===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,B);return}l.scrollTop=B}function gi(l,B){if(l===window){window.scrollTo(B,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}l.scrollLeft=B}function vo(l,B,t){if(t){Ca(l,B,t);return}mi(l,B)}function Kn(l,B,t){if(t){Aa(l,B,t);return}gi(l,B)}let ln;function xn(){if(ln!==void 0)return ln;const l=document.createElement("p"),B=document.createElement("div");di(l,{width:"100%",height:"200px"}),di(B,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),B.appendChild(l),document.body.appendChild(B);const t=l.offsetWidth;B.style.overflow="scroll";let b=l.offsetWidth;return t===b&&(b=B.clientWidth),B.remove(),ln=t-b,ln}function gl(l,B=!0){return!l||l.nodeType!==Node.ELEMENT_NODE?!1:B?l.scrollHeight>l.clientHeight&&(l.classList.contains("scroll")||l.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(l)["overflow-y"])):l.scrollWidth>l.clientWidth&&(l.classList.contains("scroll")||l.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(l)["overflow-x"]))}const{passive:yo}=_t,bl=["both","horizontal","vertical"],Ea=$e({name:"QScrollObserver",props:{axis:{type:String,validator:l=>bl.includes(l),default:"vertical"},debounce:[String,Number],scrollTarget:Ln},emits:["scroll"],setup(l,{emit:B}){const t={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let b=null,m,c;y.watch(()=>l.scrollTarget,()=>{n(),s()});function i(){b?.();const u=Math.max(0,ji(m)),a=Di(m),o={top:u-t.position.top,left:a-t.position.left};if(l.axis==="vertical"&&o.top===0||l.axis==="horizontal"&&o.left===0)return;const d=Math.abs(o.top)>=Math.abs(o.left)?o.top<0?"up":"down":o.left<0?"left":"right";t.position={top:u,left:a},t.directionChanged=t.direction!==d,t.delta=o,t.directionChanged===!0&&(t.direction=d,t.inflectionPoint=t.position),B("scroll",{...t})}function s(){m=Vn(c,l.scrollTarget),m.addEventListener("scroll",e,yo),e(!0)}function n(){m!==void 0&&(m.removeEventListener("scroll",e,yo),m=void 0)}function e(u){if(u===!0||l.debounce===0||l.debounce==="0")i();else if(b===null){const[a,o]=l.debounce?[setTimeout(i,l.debounce),clearTimeout]:[requestAnimationFrame(i),cancelAnimationFrame];b=()=>{o(a),b=null}}}const{proxy:r}=y.getCurrentInstance();return y.watch(()=>r.$q.lang.rtl,i),y.onMounted(()=>{c=r.$el.parentNode,s()}),y.onBeforeUnmount(()=>{b?.(),n()}),Object.assign(r,{trigger:e,getPosition:()=>t}),Pn}}),Pi={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},vl=Object.keys(Pi);Pi.all=!0;function wo(l){const B={};for(const t of vl)l[t]===!0&&(B[t]=!0);return Object.keys(B).length===0?Pi:(B.horizontal===!0?B.left=B.right=!0:B.left===!0&&B.right===!0&&(B.horizontal=!0),B.vertical===!0?B.up=B.down=!0:B.up===!0&&B.down===!0&&(B.vertical=!0),B.horizontal===!0&&B.vertical===!0&&(B.all=!0),B)}const yl=["INPUT","TEXTAREA"];function xo(l,B){return B.event===void 0&&l.target!==void 0&&l.target.draggable!==!0&&typeof B.handler=="function"&&yl.includes(l.target.nodeName.toUpperCase())===!1&&(l.qClonedBy===void 0||l.qClonedBy.indexOf(B.uid)===-1)}function Cn(){if(window.getSelection!==void 0){const l=window.getSelection();l.empty!==void 0?l.empty():l.removeAllRanges!==void 0&&(l.removeAllRanges(),pi.is.mobile!==!0&&l.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}function Xn(l,B,t){const b=Yr(l);let m,c=b.left-B.event.x,i=b.top-B.event.y,s=Math.abs(c),n=Math.abs(i);const e=B.direction;e.horizontal===!0&&e.vertical!==!0?m=c<0?"left":"right":e.horizontal!==!0&&e.vertical===!0?m=i<0?"up":"down":e.up===!0&&i<0?(m="up",s>n&&(e.left===!0&&c<0?m="left":e.right===!0&&c>0&&(m="right"))):e.down===!0&&i>0?(m="down",s>n&&(e.left===!0&&c<0?m="left":e.right===!0&&c>0&&(m="right"))):e.left===!0&&c<0?(m="left",s<n&&(e.up===!0&&i<0?m="up":e.down===!0&&i>0&&(m="down"))):e.right===!0&&c>0&&(m="right",s<n&&(e.up===!0&&i<0?m="up":e.down===!0&&i>0&&(m="down")));let r=!1;if(m===void 0&&t===!1){if(B.event.isFirst===!0||B.event.lastDir===void 0)return{};m=B.event.lastDir,r=!0,m==="left"||m==="right"?(b.left-=c,s=0,c=0):(b.top-=i,n=0,i=0)}return{synthetic:r,payload:{evt:l,touch:B.event.mouse!==!0,mouse:B.event.mouse===!0,position:b,direction:m,isFirst:B.event.isFirst,isFinal:t===!0,duration:Date.now()-B.event.time,distance:{x:s,y:n},offset:{x:c,y:i},delta:{x:b.left-B.event.lastX,y:b.top-B.event.lastY}}}}let wl=0;const So=Ei({name:"touch-pan",beforeMount(l,{value:B,modifiers:t}){if(t.mouse!==!0&&Et.has.touch!==!0)return;function b(c,i){t.mouse===!0&&i===!0?St(c):(t.stop===!0&&Dt(c),t.prevent===!0&&Bt(c))}const m={uid:"qvtp_"+wl++,handler:B,modifiers:t,direction:wo(t),noop:Pn,mouseStart(c){xo(c,m)&&Hs(c)&&(Xt(m,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),m.start(c,!0))},touchStart(c){if(xo(c,m)){const i=c.target;Xt(m,"temp",[[i,"touchmove","move","notPassiveCapture"],[i,"touchcancel","end","passiveCapture"],[i,"touchend","end","passiveCapture"]]),m.start(c)}},start(c,i){if(Et.is.firefox===!0&&Qn(l,!0),m.lastEvt=c,i===!0||t.stop===!0){if(m.direction.all!==!0&&(i!==!0||m.modifiers.mouseAllDir!==!0&&m.modifiers.mousealldir!==!0)){const e=c.type.indexOf("mouse")!==-1?new MouseEvent(c.type,c):new TouchEvent(c.type,c);c.defaultPrevented===!0&&Bt(e),c.cancelBubble===!0&&Dt(e),Object.assign(e,{qKeyEvent:c.qKeyEvent,qClickOutside:c.qClickOutside,qAnchorHandled:c.qAnchorHandled,qClonedBy:c.qClonedBy===void 0?[m.uid]:c.qClonedBy.concat(m.uid)}),m.initialEvent={target:c.target,event:e}}Dt(c)}const{left:s,top:n}=Yr(c);m.event={x:s,y:n,time:Date.now(),mouse:i===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:s,lastY:n}},move(c){if(m.event===void 0)return;const i=Yr(c),s=i.left-m.event.x,n=i.top-m.event.y;if(s===0&&n===0)return;m.lastEvt=c;const e=m.event.mouse===!0,r=()=>{b(c,e);let o;t.preserveCursor!==!0&&t.preservecursor!==!0&&(o=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),e===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Cn(),m.styleCleanup=d=>{if(m.styleCleanup=void 0,o!==void 0&&(document.documentElement.style.cursor=o),document.body.classList.remove("non-selectable"),e===!0){const h=()=>{document.body.classList.remove("no-pointer-events--children")};d!==void 0?setTimeout(()=>{h(),d()},50):h()}else d!==void 0&&d()}};if(m.event.detected===!0){m.event.isFirst!==!0&&b(c,m.event.mouse);const{payload:o,synthetic:d}=Xn(c,m,!1);o!==void 0&&(m.handler(o)===!1?m.end(c):(m.styleCleanup===void 0&&m.event.isFirst===!0&&r(),m.event.lastX=o.position.left,m.event.lastY=o.position.top,m.event.lastDir=d===!0?void 0:o.direction,m.event.isFirst=!1));return}if(m.direction.all===!0||e===!0&&(m.modifiers.mouseAllDir===!0||m.modifiers.mousealldir===!0)){r(),m.event.detected=!0,m.move(c);return}const u=Math.abs(s),a=Math.abs(n);u!==a&&(m.direction.horizontal===!0&&u>a||m.direction.vertical===!0&&u<a||m.direction.up===!0&&u<a&&n<0||m.direction.down===!0&&u<a&&n>0||m.direction.left===!0&&u>a&&s<0||m.direction.right===!0&&u>a&&s>0?(m.event.detected=!0,m.move(c)):m.end(c,!0))},end(c,i){if(m.event!==void 0){if(fr(m,"temp"),Et.is.firefox===!0&&Qn(l,!1),i===!0)m.styleCleanup?.(),m.event.detected!==!0&&m.initialEvent!==void 0&&m.initialEvent.target.dispatchEvent(m.initialEvent.event);else if(m.event.detected===!0){m.event.isFirst===!0&&m.handler(Xn(c===void 0?m.lastEvt:c,m).payload);const{payload:s}=Xn(c===void 0?m.lastEvt:c,m,!0),n=()=>{m.handler(s)};m.styleCleanup!==void 0?m.styleCleanup(n):n()}m.event=void 0,m.initialEvent=void 0,m.lastEvt=void 0}}};if(l.__qtouchpan=m,t.mouse===!0){const c=t.mouseCapture===!0||t.mousecapture===!0?"Capture":"";Xt(m,"main",[[l,"mousedown","mouseStart",`passive${c}`]])}Et.has.touch===!0&&Xt(m,"main",[[l,"touchstart","touchStart",`passive${t.capture===!0?"Capture":""}`],[l,"touchmove","noop","notPassiveCapture"]])},updated(l,B){const t=l.__qtouchpan;t!==void 0&&(B.oldValue!==B.value&&(typeof value!="function"&&t.end(),t.handler=B.value),t.direction=wo(B.modifiers))},beforeUnmount(l){const B=l.__qtouchpan;B!==void 0&&(B.event!==void 0&&B.end(),fr(B,"main"),fr(B,"temp"),Et.is.firefox===!0&&Qn(l,!1),B.styleCleanup?.(),delete l.__qtouchpan)}});function xl(l){return l.charAt(0).toUpperCase()+l.slice(1)}function Dr(l,B,t){return t<=B?B:Math.min(t,Math.max(B,l))}function ko(l,B,t){if(t<=B)return B;const b=t-B+1;let m=B+(l-B)%b;return m<B&&(m=b+m),m===0?0:m}function vt(l,B=2,t="0"){if(l==null)return l;const b=""+l;return b.length>=B?b:new Array(B-b.length+1).join(t)+b}function Ni(l,B=250,t){let b=null;function m(){const c=arguments,i=()=>{b=null,l.apply(this,c)};b!==null&&clearTimeout(b),b=setTimeout(i,B)}return m.cancel=()=>{b!==null&&clearTimeout(b)},m}const _o=["vertical","horizontal"],Gn={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}},Co={prevent:!0,mouse:!0,mouseAllDir:!0},Ao=l=>l>=250?50:Math.ceil(l/5),Sl=$e({name:"QScrollArea",props:{...Ot,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],verticalOffset:{type:Array,default:[0,0]},horizontalOffset:{type:Array,default:[0,0]},contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(l,{slots:B,emit:t}){const b=y.ref(!1),m=y.ref(!1),c=y.ref(!1),i={vertical:y.ref(0),horizontal:y.ref(0)},s={vertical:{ref:y.ref(null),position:y.ref(0),size:y.ref(0)},horizontal:{ref:y.ref(null),position:y.ref(0),size:y.ref(0)}},{proxy:n}=y.getCurrentInstance(),e=Ft(l,n.$q);let r=null,u;const a=y.ref(null),o=y.computed(()=>"q-scrollarea"+(e.value===!0?" q-scrollarea--dark":""));Object.assign(i,{verticalInner:y.computed(()=>i.vertical.value-l.verticalOffset[0]-l.verticalOffset[1]),horizontalInner:y.computed(()=>i.horizontal.value-l.horizontalOffset[0]-l.horizontalOffset[1])}),s.vertical.percentage=y.computed(()=>{const M=s.vertical.size.value-i.vertical.value;if(M<=0)return 0;const _=Dr(s.vertical.position.value/M,0,1);return Math.round(_*1e4)/1e4}),s.vertical.thumbHidden=y.computed(()=>(l.visible===null?c.value:l.visible)!==!0&&b.value===!1&&m.value===!1||s.vertical.size.value<=i.vertical.value+1),s.vertical.thumbStart=y.computed(()=>l.verticalOffset[0]+s.vertical.percentage.value*(i.verticalInner.value-s.vertical.thumbSize.value)),s.vertical.thumbSize=y.computed(()=>Math.round(Dr(i.verticalInner.value*i.verticalInner.value/s.vertical.size.value,Ao(i.verticalInner.value),i.verticalInner.value))),s.vertical.style=y.computed(()=>({...l.thumbStyle,...l.verticalThumbStyle,top:`${s.vertical.thumbStart.value}px`,height:`${s.vertical.thumbSize.value}px`,right:`${l.horizontalOffset[1]}px`})),s.vertical.thumbClass=y.computed(()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(s.vertical.thumbHidden.value===!0?" q-scrollarea__thumb--invisible":"")),s.vertical.barClass=y.computed(()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(s.vertical.thumbHidden.value===!0?" q-scrollarea__bar--invisible":"")),s.horizontal.percentage=y.computed(()=>{const M=s.horizontal.size.value-i.horizontal.value;if(M<=0)return 0;const _=Dr(Math.abs(s.horizontal.position.value)/M,0,1);return Math.round(_*1e4)/1e4}),s.horizontal.thumbHidden=y.computed(()=>(l.visible===null?c.value:l.visible)!==!0&&b.value===!1&&m.value===!1||s.horizontal.size.value<=i.horizontal.value+1),s.horizontal.thumbStart=y.computed(()=>l.horizontalOffset[0]+s.horizontal.percentage.value*(i.horizontalInner.value-s.horizontal.thumbSize.value)),s.horizontal.thumbSize=y.computed(()=>Math.round(Dr(i.horizontalInner.value*i.horizontalInner.value/s.horizontal.size.value,Ao(i.horizontalInner.value),i.horizontalInner.value))),s.horizontal.style=y.computed(()=>({...l.thumbStyle,...l.horizontalThumbStyle,[n.$q.lang.rtl===!0?"right":"left"]:`${s.horizontal.thumbStart.value}px`,width:`${s.horizontal.thumbSize.value}px`,bottom:`${l.verticalOffset[1]}px`})),s.horizontal.thumbClass=y.computed(()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(s.horizontal.thumbHidden.value===!0?" q-scrollarea__thumb--invisible":"")),s.horizontal.barClass=y.computed(()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(s.horizontal.thumbHidden.value===!0?" q-scrollarea__bar--invisible":""));const d=y.computed(()=>s.vertical.thumbHidden.value===!0&&s.horizontal.thumbHidden.value===!0?l.contentStyle:l.contentActiveStyle);function h(){const M={};return _o.forEach(_=>{const v=s[_];Object.assign(M,{[_+"Position"]:v.position.value,[_+"Percentage"]:v.percentage.value,[_+"Size"]:v.size.value,[_+"ContainerSize"]:i[_].value,[_+"ContainerInnerSize"]:i[_+"Inner"].value})}),M}const f=Ni(()=>{const M=h();M.ref=n,t("scroll",M)},0);function g(M,_,v){if(_o.includes(M)===!1){console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");return}(M==="vertical"?vo:Kn)(a.value,_,v)}function p({height:M,width:_}){let v=!1;i.vertical.value!==M&&(i.vertical.value=M,v=!0),i.horizontal.value!==_&&(i.horizontal.value=_,v=!0),v===!0&&V()}function k({position:M}){let _=!1;s.vertical.position.value!==M.top&&(s.vertical.position.value=M.top,_=!0),s.horizontal.position.value!==M.left&&(s.horizontal.position.value=M.left,_=!0),_===!0&&V()}function C({height:M,width:_}){s.horizontal.size.value!==_&&(s.horizontal.size.value=_,V()),s.vertical.size.value!==M&&(s.vertical.size.value=M,V())}function T(M,_){const v=s[_];if(M.isFirst===!0){if(v.thumbHidden.value===!0)return;u=v.position.value,m.value=!0}else if(m.value!==!0)return;M.isFinal===!0&&(m.value=!1);const x=Gn[_],w=(v.size.value-i[_].value)/(i[_+"Inner"].value-v.thumbSize.value),S=M.distance[x.dist],E=u+(M.direction===x.dir?1:-1)*S*w;P(E,_)}function D(M,_){const v=s[_];if(v.thumbHidden.value!==!0){const x=_==="vertical"?l.verticalOffset[0]:l.horizontalOffset[0],w=M[Gn[_].offset]-x,S=v.thumbStart.value-x;if(w<S||w>S+v.thumbSize.value){const E=w-v.thumbSize.value/2,O=Dr(E/(i[_+"Inner"].value-v.thumbSize.value),0,1);P(O*Math.max(0,v.size.value-i[_].value),_)}v.ref.value!==null&&v.ref.value.dispatchEvent(new MouseEvent(M.type,M))}}function V(){b.value=!0,r!==null&&clearTimeout(r),r=setTimeout(()=>{r=null,b.value=!1},l.delay),l.onScroll!==void 0&&f()}function P(M,_){a.value[Gn[_].scroll]=M}let N=null;function q(){N!==null&&clearTimeout(N),N=setTimeout(()=>{N=null,c.value=!0},n.$q.platform.is.ios?50:0)}function W(){N!==null&&(clearTimeout(N),N=null),c.value=!1}let L=null;y.watch(()=>n.$q.lang.rtl,M=>{a.value!==null&&Kn(a.value,Math.abs(s.horizontal.position.value)*(M===!0?-1:1))}),y.onDeactivated(()=>{L={top:s.vertical.position.value,left:s.horizontal.position.value}}),y.onActivated(()=>{if(L===null)return;const M=a.value;M!==null&&(Kn(M,L.left),vo(M,L.top))}),y.onBeforeUnmount(f.cancel),Object.assign(n,{getScrollTarget:()=>a.value,getScroll:h,getScrollPosition:()=>({top:s.vertical.position.value,left:s.horizontal.position.value}),getScrollPercentage:()=>({top:s.vertical.percentage.value,left:s.horizontal.percentage.value}),setScrollPosition:g,setScrollPercentage(M,_,v){g(M,_*(s[M].size.value-i[M].value)*(M==="horizontal"&&n.$q.lang.rtl===!0?-1:1),v)}});const A={scroll:s,thumbVertDir:[[So,M=>{T(M,"vertical")},void 0,{vertical:!0,...Co}]],thumbHorizDir:[[So,M=>{T(M,"horizontal")},void 0,{horizontal:!0,...Co}]],onVerticalMousedown(M){D(M,"vertical")},onHorizontalMousedown(M){D(M,"horizontal")}};return()=>y.h("div",{class:o.value,onMouseenter:q,onMouseleave:W},[y.h("div",{ref:a,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:l.tabindex!==void 0?l.tabindex:void 0},[y.h("div",{class:"q-scrollarea__content absolute",style:d.value},It(B.default,[y.h(Rr,{debounce:0,onResize:C})])),y.h(Ea,{axis:"both",onScroll:k})]),y.h(Rr,{debounce:0,onResize:p}),y.h(ul,{store:A,barStyle:l.barStyle,verticalBarStyle:l.verticalBarStyle,horizontalBarStyle:l.horizontalBarStyle})])}}),Gr=$e({name:"QCard",props:{...Ot,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(l,{slots:B}){const{proxy:{$q:t}}=y.getCurrentInstance(),b=Ft(l,t),m=y.computed(()=>"q-card"+(b.value===!0?" q-card--dark q-dark":"")+(l.bordered===!0?" q-card--bordered":"")+(l.square===!0?" q-card--square no-border-radius":"")+(l.flat===!0?" q-card--flat no-shadow":""));return()=>y.h(l.tag,{class:m.value},bt(B.default))}}),Ma={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},Ta={...Ma,contextMenu:Boolean};function Li({showing:l,avoidEmit:B,configureAnchorEl:t}){const{props:b,proxy:m,emit:c}=y.getCurrentInstance(),i=y.ref(null);let s=null;function n(o){return i.value===null?!1:o===void 0||o.touches===void 0||o.touches.length<=1}const e={};t===void 0&&(Object.assign(e,{hide(o){m.hide(o)},toggle(o){m.toggle(o),o.qAnchorHandled=!0},toggleKey(o){ir(o,13)===!0&&e.toggle(o)},contextClick(o){m.hide(o),Bt(o),y.nextTick(()=>{m.show(o),o.qAnchorHandled=!0})},prevent:Bt,mobileTouch(o){if(e.mobileCleanup(o),n(o)!==!0)return;m.hide(o),i.value.classList.add("non-selectable");const d=o.target;Xt(e,"anchor",[[d,"touchmove","mobileCleanup","passive"],[d,"touchend","mobileCleanup","passive"],[d,"touchcancel","mobileCleanup","passive"],[i.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,m.show(o),o.qAnchorHandled=!0},300)},mobileCleanup(o){i.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),l.value===!0&&o!==void 0&&Cn()}}),t=function(o=b.contextMenu){if(b.noParentEvent===!0||i.value===null)return;let d;o===!0?m.$q.platform.is.mobile===!0?d=[[i.value,"touchstart","mobileTouch","passive"]]:d=[[i.value,"mousedown","hide","passive"],[i.value,"contextmenu","contextClick","notPassive"]]:d=[[i.value,"click","toggle","passive"],[i.value,"keyup","toggleKey","passive"]],Xt(e,"anchor",d)});function r(){fr(e,"anchor")}function u(o){for(i.value=o;i.value.classList.contains("q-anchor--skip");)i.value=i.value.parentNode;t()}function a(){if(b.target===!1||b.target===""||m.$el.parentNode===null)i.value=null;else if(b.target===!0)u(m.$el.parentNode);else{let o=b.target;if(typeof b.target=="string")try{o=document.querySelector(b.target)}catch{o=void 0}o!=null?(i.value=o.$el||o,t()):(i.value=null,console.error(`Anchor: target "${b.target}" not found`))}}return y.watch(()=>b.contextMenu,o=>{i.value!==null&&(r(),t(o))}),y.watch(()=>b.target,()=>{i.value!==null&&r(),a()}),y.watch(()=>b.noParentEvent,o=>{i.value!==null&&(o===!0?r():t())}),y.onMounted(()=>{a(),B!==!0&&b.modelValue===!0&&i.value===null&&c("update:modelValue",!1)}),y.onBeforeUnmount(()=>{s!==null&&clearTimeout(s),r()}),{anchorEl:i,canShow:n,anchorEvents:e}}function Ra(l,B){const t=y.ref(null);let b;function m(s,n){const e=`${n!==void 0?"add":"remove"}EventListener`,r=n!==void 0?n:b;s!==window&&s[e]("scroll",r,_t.passive),window[e]("scroll",r,_t.passive),b=n}function c(){t.value!==null&&(m(t.value),t.value=null)}const i=y.watch(()=>l.noParentEvent,()=>{t.value!==null&&(c(),B())});return y.onBeforeUnmount(i),{localScrollTarget:t,unconfigureScrollTarget:c,changeScrollEvent:m}}const Vi={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},qi=["beforeShow","show","beforeHide","hide"];function zi({showing:l,canShow:B,hideOnRouteChange:t,handleShow:b,handleHide:m,processOnMount:c}){const i=y.getCurrentInstance(),{props:s,emit:n,proxy:e}=i;let r;function u(p){l.value===!0?d(p):a(p)}function a(p){if(s.disable===!0||p?.qAnchorHandled===!0||B!==void 0&&B(p)!==!0)return;const k=s["onUpdate:modelValue"]!==void 0;k===!0&&(n("update:modelValue",!0),r=p,y.nextTick(()=>{r===p&&(r=void 0)})),(s.modelValue===null||k===!1)&&o(p)}function o(p){l.value!==!0&&(l.value=!0,n("beforeShow",p),b!==void 0?b(p):n("show",p))}function d(p){if(s.disable===!0)return;const k=s["onUpdate:modelValue"]!==void 0;k===!0&&(n("update:modelValue",!1),r=p,y.nextTick(()=>{r===p&&(r=void 0)})),(s.modelValue===null||k===!1)&&h(p)}function h(p){l.value!==!1&&(l.value=!1,n("beforeHide",p),m!==void 0?m(p):n("hide",p))}function f(p){s.disable===!0&&p===!0?s["onUpdate:modelValue"]!==void 0&&n("update:modelValue",!1):p===!0!==l.value&&(p===!0?o:h)(r)}y.watch(()=>s.modelValue,f),t!==void 0&&Ti(i)===!0&&y.watch(()=>e.$route.fullPath,()=>{t.value===!0&&l.value===!0&&d()}),y.onMounted(()=>{f(s.modelValue)});const g={show:a,hide:d,toggle:u};return Object.assign(e,g),g}let cr=[],Qr=[];function Ba(l){Qr=Qr.filter(B=>B!==l)}function kl(l){Ba(l),Qr.push(l)}function Eo(l){Ba(l),Qr.length===0&&cr.length!==0&&(cr[cr.length-1](),cr=[])}function Jr(l){Qr.length===0?l():cr.push(l)}function _l(l){cr=cr.filter(B=>B!==l)}const Mo={};let Cl=1,Al=document.body;function El(l,B){const t=document.createElement("div");if(t.id=B!==void 0?`q-portal--${B}--${Cl++}`:l,Mo.globalNodes!==void 0){const b=Mo.globalNodes.class;b!==void 0&&(t.className=b)}return Al.appendChild(t),t}function Ml(l){l.remove()}const Mr=[];function Tl(l){return Mr.find(B=>B.contentEl!==null&&B.contentEl.contains(l))}function Ia(l,B){do{if(l.$options.name==="QMenu"){if(l.hide(B),l.$props.separateClosePopup===!0)return wn(l)}else if(l.__qPortal===!0){const t=wn(l);return t?.$options.name==="QPopupProxy"?(l.hide(B),t):l}l=wn(l)}while(l!=null)}function Rl(l,B,t){for(;t!==0&&l!==void 0&&l!==null;){if(l.__qPortal===!0){if(t--,l.$options.name==="QMenu"){l=Ia(l,B);continue}l.hide(B)}l=wn(l)}}const Bl=$e({name:"QPortal",setup(l,{slots:B}){return()=>B.default()}});function Il(l){for(l=l.parent;l!=null;){if(l.type.name==="QGlobalDialog")return!0;if(l.type.name==="QDialog"||l.type.name==="QMenu")return!1;l=l.parent}return!1}function Ui(l,B,t,b){const m=y.ref(!1),c=y.ref(!1);let i=null;const s={},n=b==="dialog"&&Il(l);function e(u){if(u===!0){Eo(s),c.value=!0;return}c.value=!1,m.value===!1&&(n===!1&&i===null&&(i=El(!1,b)),m.value=!0,Mr.push(l.proxy),kl(s))}function r(u){if(c.value=!1,u!==!0)return;Eo(s),m.value=!1;const a=Mr.indexOf(l.proxy);a!==-1&&Mr.splice(a,1),i!==null&&(Ml(i),i=null)}return y.onUnmounted(()=>{r(!0)}),l.proxy.__qPortal=!0,Lt(l.proxy,"contentEl",()=>B.value),{showPortal:e,hidePortal:r,portalIsActive:m,portalIsAccessible:c,renderPortal:()=>n===!0?t():m.value===!0?[y.h(y.Teleport,{to:i},y.h(Bl,t))]:void 0}}const Wr={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Wi(l,B=()=>{},t=()=>{}){return{transitionProps:y.computed(()=>{const b=`q-transition--${l.transitionShow||B()}`,m=`q-transition--${l.transitionHide||t()}`;return{appear:!0,enterFromClass:`${b}-enter-from`,enterActiveClass:`${b}-enter-active`,enterToClass:`${b}-enter-to`,leaveFromClass:`${m}-leave-from`,leaveActiveClass:`${m}-leave-active`,leaveToClass:`${m}-leave-to`}}),transitionStyle:y.computed(()=>`--q-transition-duration: ${l.transitionDuration}ms`)}}function Hi(){let l;const B=y.getCurrentInstance();function t(){l=void 0}return y.onDeactivated(t),y.onBeforeUnmount(t),{removeTick:t,registerTick(b){l=b,y.nextTick(()=>{l===b&&(Ri(B)===!1&&l(),l=void 0)})}}}function Yi(){let l=null;const B=y.getCurrentInstance();function t(){l!==null&&(clearTimeout(l),l=null)}return y.onDeactivated(t),y.onBeforeUnmount(t),{removeTimeout:t,registerTimeout(b,m){t(),Ri(B)===!1&&(l=setTimeout(()=>{l=null,b()},m))}}}const dr=[];let Br;function Ol(l){Br=l.keyCode===27}function Fl(){Br===!0&&(Br=!1)}function jl(l){Br===!0&&(Br=!1,ir(l,27)===!0&&dr[dr.length-1](l))}function Oa(l){window[l]("keydown",Ol),window[l]("blur",Fl),window[l]("keyup",jl),Br=!1}function Fa(l){Et.is.desktop===!0&&(dr.push(l),dr.length===1&&Oa("addEventListener"))}function An(l){const B=dr.indexOf(l);B!==-1&&(dr.splice(B,1),dr.length===0&&Oa("removeEventListener"))}const hr=[];function ja(l){hr[hr.length-1](l)}function Da(l){Et.is.desktop===!0&&(hr.push(l),hr.length===1&&document.body.addEventListener("focusin",ja))}function bi(l){const B=hr.indexOf(l);B!==-1&&(hr.splice(B,1),hr.length===0&&document.body.removeEventListener("focusin",ja))}const{notPassiveCapture:En}=_t,pr=[];function Mn(l){const B=l.target;if(B===void 0||B.nodeType===8||B.classList.contains("no-pointer-events")===!0)return;let t=Mr.length-1;for(;t>=0;){const b=Mr[t].$;if(b.type.name==="QTooltip"){t--;continue}if(b.type.name!=="QDialog")break;if(b.props.seamless!==!0)return;t--}for(let b=pr.length-1;b>=0;b--){const m=pr[b];if((m.anchorEl.value===null||m.anchorEl.value.contains(B)===!1)&&(B===document.body||m.innerRef.value!==null&&m.innerRef.value.contains(B)===!1))l.qClickOutside=!0,m.onClickOutside(l);else return}}function Pa(l){pr.push(l),pr.length===1&&(document.addEventListener("mousedown",Mn,En),document.addEventListener("touchstart",Mn,En))}function Tn(l){const B=pr.findIndex(t=>t===l);B!==-1&&(pr.splice(B,1),pr.length===0&&(document.removeEventListener("mousedown",Mn,En),document.removeEventListener("touchstart",Mn,En)))}let To,Ro;function Rn(l){const B=l.split(" ");return B.length!==2?!1:["top","center","bottom"].includes(B[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(B[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Na(l){return l?!(l.length!==2||typeof l[0]!="number"||typeof l[1]!="number"):!0}const vi={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(l=>{vi[`${l}#ltr`]=l,vi[`${l}#rtl`]=l});function Bn(l,B){const t=l.split(" ");return{vertical:t[0],horizontal:vi[`${t[1]}#${B===!0?"rtl":"ltr"}`]}}function Dl(l,B){let{top:t,left:b,right:m,bottom:c,width:i,height:s}=l.getBoundingClientRect();return B!==void 0&&(t-=B[1],b-=B[0],c+=B[1],m+=B[0],i+=B[0],s+=B[1]),{top:t,bottom:c,height:s,left:b,right:m,width:i,middle:b+(m-b)/2,center:t+(c-t)/2}}function Pl(l,B,t){let{top:b,left:m}=l.getBoundingClientRect();return b+=B.top,m+=B.left,t!==void 0&&(b+=t[1],m+=t[0]),{top:b,bottom:b+1,height:1,left:m,right:m+1,width:1,middle:m,center:b}}function Nl(l,B){return{top:0,center:B/2,bottom:B,left:0,middle:l/2,right:l}}function Bo(l,B,t,b){return{top:l[t.vertical]-B[b.vertical],left:l[t.horizontal]-B[b.horizontal]}}function Qi(l,B=0){if(l.targetEl===null||l.anchorEl===null||B>5)return;if(l.targetEl.offsetHeight===0||l.targetEl.offsetWidth===0){setTimeout(()=>{Qi(l,B+1)},10);return}const{targetEl:t,offset:b,anchorEl:m,anchorOrigin:c,selfOrigin:i,absoluteOffset:s,fit:n,cover:e,maxHeight:r,maxWidth:u}=l;if(Et.is.ios===!0&&window.visualViewport!==void 0){const D=document.body.style,{offsetLeft:V,offsetTop:P}=window.visualViewport;V!==To&&(D.setProperty("--q-pe-left",V+"px"),To=V),P!==Ro&&(D.setProperty("--q-pe-top",P+"px"),Ro=P)}const{scrollLeft:a,scrollTop:o}=t,d=s===void 0?Dl(m,e===!0?[0,0]:b):Pl(m,s,b);Object.assign(t.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:u,maxHeight:r,visibility:"visible"});const{offsetWidth:h,offsetHeight:f}=t,{elWidth:g,elHeight:p}=n===!0||e===!0?{elWidth:Math.max(d.width,h),elHeight:e===!0?Math.max(d.height,f):f}:{elWidth:h,elHeight:f};let k={maxWidth:u,maxHeight:r};(n===!0||e===!0)&&(k.minWidth=d.width+"px",e===!0&&(k.minHeight=d.height+"px")),Object.assign(t.style,k);const C=Nl(g,p);let T=Bo(d,C,c,i);if(s===void 0||b===void 0)Jn(T,d,C,c,i);else{const{top:D,left:V}=T;Jn(T,d,C,c,i);let P=!1;if(T.top!==D){P=!0;const N=2*b[1];d.center=d.top-=N,d.bottom-=N+2}if(T.left!==V){P=!0;const N=2*b[0];d.middle=d.left-=N,d.right-=N+2}P===!0&&(T=Bo(d,C,c,i),Jn(T,d,C,c,i))}k={top:T.top+"px",left:T.left+"px"},T.maxHeight!==void 0&&(k.maxHeight=T.maxHeight+"px",d.height>T.maxHeight&&(k.minHeight=k.maxHeight)),T.maxWidth!==void 0&&(k.maxWidth=T.maxWidth+"px",d.width>T.maxWidth&&(k.minWidth=k.maxWidth)),Object.assign(t.style,k),t.scrollTop!==o&&(t.scrollTop=o),t.scrollLeft!==a&&(t.scrollLeft=a)}function Jn(l,B,t,b,m){const c=t.bottom,i=t.right,s=xn(),n=window.innerHeight-s,e=document.body.clientWidth;if(l.top<0||l.top+c>n)if(m.vertical==="center")l.top=B[b.vertical]>n/2?Math.max(0,n-c):0,l.maxHeight=Math.min(c,n);else if(B[b.vertical]>n/2){const r=Math.min(n,b.vertical==="center"?B.center:b.vertical===m.vertical?B.bottom:B.top);l.maxHeight=Math.min(c,r),l.top=Math.max(0,r-c)}else l.top=Math.max(0,b.vertical==="center"?B.center:b.vertical===m.vertical?B.top:B.bottom),l.maxHeight=Math.min(c,n-l.top);if(l.left<0||l.left+i>e)if(l.maxWidth=Math.min(i,e),m.horizontal==="middle")l.left=B[b.horizontal]>e/2?Math.max(0,e-i):0;else if(B[b.horizontal]>e/2){const r=Math.min(e,b.horizontal==="middle"?B.middle:b.horizontal===m.horizontal?B.right:B.left);l.maxWidth=Math.min(i,r),l.left=Math.max(0,r-l.maxWidth)}else l.left=Math.max(0,b.horizontal==="middle"?B.middle:b.horizontal===m.horizontal?B.left:B.right),l.maxWidth=Math.min(i,e-l.left)}const Zr=$e({name:"QMenu",inheritAttrs:!1,props:{...Ta,...Vi,...Ot,...Wr,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Rn},self:{type:String,validator:Rn},offset:{type:Array,validator:Na},scrollTarget:Ln,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...qi,"click","escapeKey"],setup(l,{slots:B,emit:t,attrs:b}){let m=null,c,i,s;const n=y.getCurrentInstance(),{proxy:e}=n,{$q:r}=e,u=y.ref(null),a=y.ref(!1),o=y.computed(()=>l.persistent!==!0&&l.noRouteDismiss!==!0),d=Ft(l,r),{registerTick:h,removeTick:f}=Hi(),{registerTimeout:g}=Yi(),{transitionProps:p,transitionStyle:k}=Wi(l),{localScrollTarget:C,changeScrollEvent:T,unconfigureScrollTarget:D}=Ra(l,z),{anchorEl:V,canShow:P}=Li({showing:a}),{hide:N}=zi({showing:a,canShow:P,handleShow:E,handleHide:O,hideOnRouteChange:o,processOnMount:!0}),{showPortal:q,hidePortal:W,renderPortal:L}=Ui(n,u,F,"menu"),A={anchorEl:V,innerRef:u,onClickOutside(I){if(l.persistent!==!0&&a.value===!0)return N(I),(I.type==="touchstart"||I.target.classList.contains("q-dialog__backdrop"))&&St(I),!0}},M=y.computed(()=>Bn(l.anchor||(l.cover===!0?"center middle":"bottom start"),r.lang.rtl)),_=y.computed(()=>l.cover===!0?M.value:Bn(l.self||"top start",r.lang.rtl)),v=y.computed(()=>(l.square===!0?" q-menu--square":"")+(d.value===!0?" q-menu--dark q-dark":"")),x=y.computed(()=>l.autoClose===!0?{onClick:U}:{}),w=y.computed(()=>a.value===!0&&l.persistent!==!0);y.watch(w,I=>{I===!0?(Fa(j),Pa(A)):(An(j),Tn(A))});function S(){Jr(()=>{let I=u.value;I&&I.contains(document.activeElement)!==!0&&(I=I.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||I.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||I.querySelector("[autofocus], [data-autofocus]")||I,I.focus({preventScroll:!0}))})}function E(I){if(m=l.noRefocus===!1?document.activeElement:null,Da(Q),q(),z(),c=void 0,I!==void 0&&(l.touchPosition||l.contextMenu)){const H=Yr(I);if(H.left!==void 0){const{top:K,left:ee}=V.value.getBoundingClientRect();c={left:H.left-ee,top:H.top-K}}}i===void 0&&(i=y.watch(()=>r.screen.width+"|"+r.screen.height+"|"+l.self+"|"+l.anchor+"|"+r.lang.rtl,Y)),l.noFocus!==!0&&document.activeElement.blur(),h(()=>{Y(),l.noFocus!==!0&&S()}),g(()=>{r.platform.is.ios===!0&&(s=l.autoClose,u.value.click()),Y(),q(!0),t("show",I)},l.transitionDuration)}function O(I){f(),W(),R(!0),m!==null&&(I===void 0||I.qClickOutside!==!0)&&(((I?.type.indexOf("key")===0?m.closest('[tabindex]:not([tabindex^="-"])'):void 0)||m).focus(),m=null),g(()=>{W(!0),t("hide",I)},l.transitionDuration)}function R(I){c=void 0,i!==void 0&&(i(),i=void 0),(I===!0||a.value===!0)&&(bi(Q),D(),Tn(A),An(j)),I!==!0&&(m=null)}function z(){(V.value!==null||l.scrollTarget!==void 0)&&(C.value=Vn(V.value,l.scrollTarget),T(C.value,Y))}function U(I){s!==!0?(Ia(e,I),t("click",I)):s=!1}function Q(I){w.value===!0&&l.noFocus!==!0&&ga(u.value,I.target)!==!0&&S()}function j(I){l.noEscDismiss!==!0&&(t("escapeKey"),N(I))}function Y(){Qi({targetEl:u.value,offset:l.offset,anchorEl:V.value,anchorOrigin:M.value,selfOrigin:_.value,absoluteOffset:c,fit:l.fit,cover:l.cover,maxHeight:l.maxHeight,maxWidth:l.maxWidth})}function F(){return y.h(y.Transition,p.value,()=>a.value===!0?y.h("div",{role:"menu",...b,ref:u,tabindex:-1,class:["q-menu q-position-engine scroll"+v.value,b.class],style:[b.style,k.value],...x.value},bt(B.default)):null)}return y.onBeforeUnmount(R),Object.assign(e,{focus:S,updatePosition:Y}),L}});let Zn,un=0;const Mt=new Array(256);for(let l=0;l<256;l++)Mt[l]=(l+256).toString(16).substring(1);const Ll=(()=>{const l=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(l!==void 0){if(l.randomBytes!==void 0)return l.randomBytes;if(l.getRandomValues!==void 0)return B=>{const t=new Uint8Array(B);return l.getRandomValues(t),t}}return B=>{const t=[];for(let b=B;b>0;b--)t.push(Math.floor(Math.random()*256));return t}})(),Io=4096;function yi(){(Zn===void 0||un+16>Io)&&(un=0,Zn=Ll(Io));const l=Array.prototype.slice.call(Zn,un,un+=16);return l[6]=l[6]&15|64,l[8]=l[8]&63|128,Mt[l[0]]+Mt[l[1]]+Mt[l[2]]+Mt[l[3]]+"-"+Mt[l[4]]+Mt[l[5]]+"-"+Mt[l[6]]+Mt[l[7]]+"-"+Mt[l[8]]+Mt[l[9]]+"-"+Mt[l[10]]+Mt[l[11]]+Mt[l[12]]+Mt[l[13]]+Mt[l[14]]+Mt[l[15]]}function Vl(l){return l??null}function Oo(l,B){return l??(B===!0?`f_${yi()}`:null)}function ql({getValue:l,required:B=!0}={}){if(or.value===!0){const t=l!==void 0?y.ref(Vl(l())):y.ref(null);return B===!0&&t.value===null&&y.onMounted(()=>{t.value=`f_${yi()}`}),l!==void 0&&y.watch(l,b=>{t.value=Oo(b,B)}),t}return l!==void 0?y.computed(()=>Oo(l(),B)):y.ref(`f_${yi()}`)}const Fo=/^on[A-Z]/;function zl(){const{attrs:l,vnode:B}=y.getCurrentInstance(),t={listeners:y.ref({}),attributes:y.ref({})};function b(){const m={},c={};for(const i in l)i!=="class"&&i!=="style"&&Fo.test(i)===!1&&(m[i]=l[i]);for(const i in B.props)Fo.test(i)===!0&&(c[i]=B.props[i]);t.attributes.value=m,t.listeners.value=c}return y.onBeforeUpdate(b),b(),t}const Ul="_q_",$r="_q_l_",La="_q_pc_",Va="_q_fo_";function Rt(){}function Wl({validate:l,resetValidation:B,requiresQForm:t}){const b=y.inject(Va,!1);if(b!==!1){const{props:m,proxy:c}=y.getCurrentInstance();Object.assign(c,{validate:l,resetValidation:B}),y.watch(()=>m.disable,i=>{i===!0?(typeof B=="function"&&B(),b.unbindComponent(c)):b.bindComponent(c)}),y.onMounted(()=>{m.disable!==!0&&b.bindComponent(c)}),y.onBeforeUnmount(()=>{m.disable!==!0&&b.unbindComponent(c)})}else t===!0&&console.error("Parent QForm not found on useFormChild()!")}const jo=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Do=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Po=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,cn=/^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])\)$/,fn=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,$n={date:l=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(l),time:l=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(l),fulltime:l=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(l),timeOrFulltime:l=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(l),email:l=>/^(([^<>()\[\]\\.,;:\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(l),hexColor:l=>jo.test(l),hexaColor:l=>Do.test(l),hexOrHexaColor:l=>Po.test(l),rgbColor:l=>cn.test(l),rgbaColor:l=>fn.test(l),rgbOrRgbaColor:l=>cn.test(l)||fn.test(l),hexOrRgbColor:l=>jo.test(l)||cn.test(l),hexaOrRgbaColor:l=>Do.test(l)||fn.test(l),anyColor:l=>Po.test(l)||cn.test(l)||fn.test(l)},Hl=[!0,!1,"ondemand"],Yl={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:l=>Hl.includes(l)}};function Ql(l,B){const{props:t,proxy:b}=y.getCurrentInstance(),m=y.ref(!1),c=y.ref(null),i=y.ref(!1);Wl({validate:h,resetValidation:d});let s=0,n;const e=y.computed(()=>t.rules!==void 0&&t.rules!==null&&t.rules.length!==0),r=y.computed(()=>t.disable!==!0&&e.value===!0&&B.value===!1),u=y.computed(()=>t.error===!0||m.value===!0),a=y.computed(()=>typeof t.errorMessage=="string"&&t.errorMessage.length!==0?t.errorMessage:c.value);y.watch(()=>t.modelValue,()=>{i.value=!0,r.value===!0&&t.lazyRules===!1&&f()});function o(){t.lazyRules!=="ondemand"&&r.value===!0&&i.value===!0&&f()}y.watch(()=>t.reactiveRules,g=>{g===!0?n===void 0&&(n=y.watch(()=>t.rules,o,{immediate:!0,deep:!0})):n!==void 0&&(n(),n=void 0)},{immediate:!0}),y.watch(()=>t.lazyRules,o),y.watch(l,g=>{g===!0?i.value=!0:r.value===!0&&t.lazyRules!=="ondemand"&&f()});function d(){s++,B.value=!1,i.value=!1,m.value=!1,c.value=null,f.cancel()}function h(g=t.modelValue){if(t.disable===!0||e.value===!1)return!0;const p=++s,k=B.value!==!0?()=>{i.value=!0}:()=>{},C=(D,V)=>{D===!0&&k(),m.value=D,c.value=V||null,B.value=!1},T=[];for(let D=0;D<t.rules.length;D++){const V=t.rules[D];let P;if(typeof V=="function"?P=V(g,$n):typeof V=="string"&&$n[V]!==void 0&&(P=$n[V](g)),P===!1||typeof P=="string")return C(!0,P),!1;P!==!0&&P!==void 0&&T.push(P)}return T.length===0?(C(!1),!0):(B.value=!0,Promise.all(T).then(D=>{if(D===void 0||Array.isArray(D)===!1||D.length===0)return p===s&&C(!1),!0;const V=D.find(P=>P===!1||typeof P=="string");return p===s&&C(V!==void 0,V),V===void 0},D=>(p===s&&(console.error(D),C(!0)),!1)))}const f=Ni(h,0);return y.onBeforeUnmount(()=>{n?.(),f.cancel()}),Object.assign(b,{resetValidation:d,validate:h}),Lt(b,"hasError",()=>u.value),{isDirtyModel:i,hasRules:e,hasError:u,errorMessage:a,validate:h,resetValidation:d}}function Kr(l){return l!=null&&(""+l).length!==0}const Kl={...Ot,...Yl,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},qn={...Kl,maxlength:[Number,String]},Ki=["update:modelValue","clear","focus","blur"];function Xi({requiredForAttr:l=!0,tagProp:B,changeEvent:t=!1}={}){const{props:b,proxy:m}=y.getCurrentInstance(),c=Ft(b,m.$q),i=ql({required:l,getValue:()=>b.for});return{requiredForAttr:l,changeEvent:t,tag:B===!0?y.computed(()=>b.tag):{value:"label"},isDark:c,editable:y.computed(()=>b.disable!==!0&&b.readonly!==!0),innerLoading:y.ref(!1),focused:y.ref(!1),hasPopupOpen:!1,splitAttrs:zl(),targetUid:i,rootRef:y.ref(null),targetRef:y.ref(null),controlRef:y.ref(null)}}function Gi(l){const{props:B,emit:t,slots:b,attrs:m,proxy:c}=y.getCurrentInstance(),{$q:i}=c;let s=null;l.hasValue===void 0&&(l.hasValue=y.computed(()=>Kr(B.modelValue))),l.emitValue===void 0&&(l.emitValue=w=>{t("update:modelValue",w)}),l.controlEvents===void 0&&(l.controlEvents={onFocusin:N,onFocusout:q}),Object.assign(l,{clearValue:W,onControlFocusin:N,onControlFocusout:q,focus:V}),l.computedCounter===void 0&&(l.computedCounter=y.computed(()=>{if(B.counter!==!1){const w=typeof B.modelValue=="string"||typeof B.modelValue=="number"?(""+B.modelValue).length:Array.isArray(B.modelValue)===!0?B.modelValue.length:0,S=B.maxlength!==void 0?B.maxlength:B.maxValues;return w+(S!==void 0?" / "+S:"")}}));const{isDirtyModel:n,hasRules:e,hasError:r,errorMessage:u,resetValidation:a}=Ql(l.focused,l.innerLoading),o=l.floatingLabel!==void 0?y.computed(()=>B.stackLabel===!0||l.focused.value===!0||l.floatingLabel.value===!0):y.computed(()=>B.stackLabel===!0||l.focused.value===!0||l.hasValue.value===!0),d=y.computed(()=>B.bottomSlots===!0||B.hint!==void 0||e.value===!0||B.counter===!0||B.error!==null),h=y.computed(()=>B.filled===!0?"filled":B.outlined===!0?"outlined":B.borderless===!0?"borderless":B.standout?"standout":"standard"),f=y.computed(()=>`q-field row no-wrap items-start q-field--${h.value}`+(l.fieldClass!==void 0?` ${l.fieldClass.value}`:"")+(B.rounded===!0?" q-field--rounded":"")+(B.square===!0?" q-field--square":"")+(o.value===!0?" q-field--float":"")+(p.value===!0?" q-field--labeled":"")+(B.dense===!0?" q-field--dense":"")+(B.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(l.isDark.value===!0?" q-field--dark":"")+(l.getControl===void 0?" q-field--auto-height":"")+(l.focused.value===!0?" q-field--focused":"")+(r.value===!0?" q-field--error":"")+(r.value===!0||l.focused.value===!0?" q-field--highlighted":"")+(B.hideBottomSpace!==!0&&d.value===!0?" q-field--with-bottom":"")+(B.disable===!0?" q-field--disabled":B.readonly===!0?" q-field--readonly":"")),g=y.computed(()=>"q-field__control relative-position row no-wrap"+(B.bgColor!==void 0?` bg-${B.bgColor}`:"")+(r.value===!0?" text-negative":typeof B.standout=="string"&&B.standout.length!==0&&l.focused.value===!0?` ${B.standout}`:B.color!==void 0?` text-${B.color}`:"")),p=y.computed(()=>B.labelSlot===!0||B.label!==void 0),k=y.computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(B.labelColor!==void 0&&r.value!==!0?` text-${B.labelColor}`:"")),C=y.computed(()=>({id:l.targetUid.value,editable:l.editable.value,focused:l.focused.value,floatingLabel:o.value,modelValue:B.modelValue,emitValue:l.emitValue})),T=y.computed(()=>{const w={};return l.targetUid.value&&(w.for=l.targetUid.value),B.disable===!0&&(w["aria-disabled"]="true"),w});function D(){const w=document.activeElement;let S=l.targetRef?.value;S&&(w===null||w.id!==l.targetUid.value)&&(S.hasAttribute("tabindex")===!0||(S=S.querySelector("[tabindex]")),S!==w&&S?.focus({preventScroll:!0}))}function V(){Jr(D)}function P(){_l(D);const w=document.activeElement;w!==null&&l.rootRef.value.contains(w)&&w.blur()}function N(w){s!==null&&(clearTimeout(s),s=null),l.editable.value===!0&&l.focused.value===!1&&(l.focused.value=!0,t("focus",w))}function q(w,S){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(l.hasPopupOpen===!0||l.controlRef===void 0||l.controlRef.value===null||l.controlRef.value.contains(document.activeElement)!==!1))&&(l.focused.value===!0&&(l.focused.value=!1,t("blur",w)),S?.())})}function W(w){St(w),i.platform.is.mobile!==!0?(l.targetRef?.value||l.rootRef.value).focus():l.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),B.type==="file"&&(l.inputRef.value.value=null),t("update:modelValue",null),l.changeEvent===!0&&t("change",null),t("clear",B.modelValue),y.nextTick(()=>{const S=n.value;a(),n.value=S})}function L(w){[13,32].includes(w.keyCode)&&W(w)}function A(){const w=[];return b.prepend!==void 0&&w.push(y.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:Bt},b.prepend())),w.push(y.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},M())),r.value===!0&&B.noErrorIcon===!1&&w.push(v("error",[y.h(gt,{name:i.iconSet.field.error,color:"negative"})])),B.loading===!0||l.innerLoading.value===!0?w.push(v("inner-loading-append",b.loading!==void 0?b.loading():[y.h(ma,{color:B.color})])):B.clearable===!0&&l.hasValue.value===!0&&l.editable.value===!0&&w.push(v("inner-clearable-append",[y.h(gt,{class:"q-field__focusable-action",name:B.clearIcon||i.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":i.lang.label.clear,onKeyup:L,onClick:W})])),b.append!==void 0&&w.push(y.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:Bt},b.append())),l.getInnerAppend!==void 0&&w.push(v("inner-append",l.getInnerAppend())),l.getControlChild!==void 0&&w.push(l.getControlChild()),w}function M(){const w=[];return B.prefix!==void 0&&B.prefix!==null&&w.push(y.h("div",{class:"q-field__prefix no-pointer-events row items-center"},B.prefix)),l.getShadowControl!==void 0&&l.hasShadow.value===!0&&w.push(l.getShadowControl()),l.getControl!==void 0?w.push(l.getControl()):b.rawControl!==void 0?w.push(b.rawControl()):b.control!==void 0&&w.push(y.h("div",{ref:l.targetRef,class:"q-field__native row",tabindex:-1,...l.splitAttrs.attributes.value,"data-autofocus":B.autofocus===!0||void 0},b.control(C.value))),p.value===!0&&w.push(y.h("div",{class:k.value},bt(b.label,B.label))),B.suffix!==void 0&&B.suffix!==null&&w.push(y.h("div",{class:"q-field__suffix no-pointer-events row items-center"},B.suffix)),w.concat(bt(b.default))}function _(){let w,S;r.value===!0?u.value!==null?(w=[y.h("div",{role:"alert"},u.value)],S=`q--slot-error-${u.value}`):(w=bt(b.error),S="q--slot-error"):(B.hideHint!==!0||l.focused.value===!0)&&(B.hint!==void 0?(w=[y.h("div",B.hint)],S=`q--slot-hint-${B.hint}`):(w=bt(b.hint),S="q--slot-hint"));const E=B.counter===!0||b.counter!==void 0;if(B.hideBottomSpace===!0&&E===!1&&w===void 0)return;const O=y.h("div",{key:S,class:"q-field__messages col"},w);return y.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(B.hideBottomSpace!==!0?"animated":"stale"),onClick:Bt},[B.hideBottomSpace===!0?O:y.h(y.Transition,{name:"q-transition--field-message"},()=>O),E===!0?y.h("div",{class:"q-field__counter"},b.counter!==void 0?b.counter():l.computedCounter.value):null])}function v(w,S){return S===null?null:y.h("div",{key:w,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},S)}let x=!1;return y.onDeactivated(()=>{x=!0}),y.onActivated(()=>{x===!0&&B.autofocus===!0&&c.focus()}),B.autofocus===!0&&y.onMounted(()=>{c.focus()}),y.onBeforeUnmount(()=>{s!==null&&clearTimeout(s)}),Object.assign(c,{focus:V,blur:P}),function(){const S=l.getControl===void 0&&b.control===void 0?{...l.splitAttrs.attributes.value,"data-autofocus":B.autofocus===!0||void 0,...T.value}:T.value;return y.h(l.tag.value,{ref:l.rootRef,class:[f.value,m.class],style:m.style,...S},[b.before!==void 0?y.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:Bt},b.before()):null,y.h("div",{class:"q-field__inner relative-position col self-stretch"},[y.h("div",{ref:l.controlRef,class:g.value,tabindex:-1,...l.controlEvents},A()),d.value===!0?_():null]),b.after!==void 0?y.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:Bt},b.after()):null])}}const Xl=$e({name:"QField",inheritAttrs:!1,props:{...qn,tag:{type:String,default:"label"}},emits:Ki,setup(){return Gi(Xi({tagProp:!0}))}}),Gl={xs:8,sm:10,md:14,lg:20,xl:24},qa=$e({name:"QChip",props:{...Ot,...Or,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(l,{slots:B,emit:t}){const{proxy:{$q:b}}=y.getCurrentInstance(),m=Ft(l,b),c=Fr(l,Gl),i=y.computed(()=>l.selected===!0||l.icon!==void 0),s=y.computed(()=>l.selected===!0?l.iconSelected||b.iconSet.chip.selected:l.icon),n=y.computed(()=>l.iconRemove||b.iconSet.chip.remove),e=y.computed(()=>l.disable===!1&&(l.clickable===!0||l.selected!==null)),r=y.computed(()=>{const f=l.outline===!0&&l.color||l.textColor;return"q-chip row inline no-wrap items-center"+(l.outline===!1&&l.color!==void 0?` bg-${l.color}`:"")+(f?` text-${f} q-chip--colored`:"")+(l.disable===!0?" disabled":"")+(l.dense===!0?" q-chip--dense":"")+(l.outline===!0?" q-chip--outline":"")+(l.selected===!0?" q-chip--selected":"")+(e.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(l.square===!0?" q-chip--square":"")+(m.value===!0?" q-chip--dark q-dark":"")}),u=y.computed(()=>{const f=l.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:l.tabindex||0},g={...f,role:"button","aria-hidden":"false","aria-label":l.removeAriaLabel||b.lang.label.remove};return{chip:f,remove:g}});function a(f){f.keyCode===13&&o(f)}function o(f){l.disable||(t("update:selected",!l.selected),t("click",f))}function d(f){(f.keyCode===void 0||f.keyCode===13)&&(St(f),l.disable===!1&&(t("update:modelValue",!1),t("remove")))}function h(){const f=[];e.value===!0&&f.push(y.h("div",{class:"q-focus-helper"})),i.value===!0&&f.push(y.h(gt,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const g=l.label!==void 0?[y.h("div",{class:"ellipsis"},[l.label])]:void 0;return f.push(y.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},sa(B.default,g))),l.iconRight&&f.push(y.h(gt,{class:"q-chip__icon q-chip__icon--right",name:l.iconRight})),l.removable===!0&&f.push(y.h(gt,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:n.value,...u.value.remove,onClick:d,onKeyup:d})),f}return()=>{if(l.modelValue===!1)return;const f={class:r.value,style:c.value};return e.value===!0&&Object.assign(f,u.value.chip,{onClick:o,onKeyup:a}),Cs("div",f,h(),"ripple",l.ripple!==!1&&l.disable!==!0,()=>[[ba,l.ripple]])}}}),Cr=$e({name:"QItem",props:{...Ot,...ha,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(l,{slots:B,emit:t}){const{proxy:{$q:b}}=y.getCurrentInstance(),m=Ft(l,b),{hasLink:c,linkAttrs:i,linkClass:s,linkTag:n,navigateOnClick:e}=Bi(),r=y.ref(null),u=y.ref(null),a=y.computed(()=>l.clickable===!0||c.value===!0||l.tag==="label"),o=y.computed(()=>l.disable!==!0&&a.value===!0),d=y.computed(()=>"q-item q-item-type row no-wrap"+(l.dense===!0?" q-item--dense":"")+(m.value===!0?" q-item--dark":"")+(c.value===!0&&l.active===null?s.value:l.active===!0?` q-item--active${l.activeClass!==void 0?` ${l.activeClass}`:""}`:"")+(l.disable===!0?" disabled":"")+(o.value===!0?" q-item--clickable q-link cursor-pointer "+(l.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(l.focused===!0?" q-manual-focusable--focused":""):"")),h=y.computed(()=>l.insetLevel===void 0?null:{["padding"+(b.lang.rtl===!0?"Right":"Left")]:16+l.insetLevel*56+"px"});function f(k){o.value===!0&&(u.value!==null&&k.qAvoidFocus!==!0&&(k.qKeyEvent!==!0&&document.activeElement===r.value?u.value.focus():document.activeElement===u.value&&r.value.focus()),e(k))}function g(k){if(o.value===!0&&ir(k,[13,32])===!0){St(k),k.qKeyEvent=!0;const C=new MouseEvent("click",k);C.qKeyEvent=!0,r.value.dispatchEvent(C)}t("keyup",k)}function p(){const k=Mi(B.default,[]);return o.value===!0&&k.unshift(y.h("div",{class:"q-focus-helper",tabindex:-1,ref:u})),k}return()=>{const k={ref:r,class:d.value,style:h.value,role:"listitem",onClick:f,onKeyup:g};return o.value===!0?(k.tabindex=l.tabindex||"0",Object.assign(k,i.value)):a.value===!0&&(k["aria-disabled"]="true"),y.h(n.value,k,p())}}}),Ar=$e({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(l,{slots:B}){const t=y.computed(()=>`q-item__section column q-item__section--${l.avatar===!0||l.side===!0||l.thumbnail===!0?"side":"main"}`+(l.top===!0?" q-item__section--top justify-start":" justify-center")+(l.avatar===!0?" q-item__section--avatar":"")+(l.thumbnail===!0?" q-item__section--thumbnail":"")+(l.noWrap===!0?" q-item__section--nowrap":""));return()=>y.h("div",{class:t.value},bt(B.default))}}),wi=$e({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(l,{slots:B}){const t=y.computed(()=>parseInt(l.lines,10)),b=y.computed(()=>"q-item__label"+(l.overline===!0?" q-item__label--overline text-overline":"")+(l.caption===!0?" q-item__label--caption text-caption":"")+(l.header===!0?" q-item__label--header":"")+(t.value===1?" ellipsis":"")),m=y.computed(()=>l.lines!==void 0&&t.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t.value}:null);return()=>y.h("div",{style:m.value,class:b.value},bt(B.default))}});function Jl(l,B,t){function b(){}return y.onBeforeUnmount(()=>{l.value===!0&&void 0}),{removeFromHistory:b,addToHistory(){}}}let Pr=0,ei,ti,Vr,ri=!1,No,Lo,Vo,lr=null;function Zl(l){$l(l)&&St(l)}function $l(l){if(l.target===document.body||l.target.classList.contains("q-layout__backdrop"))return!0;const B=Ys(l),t=l.shiftKey&&!l.deltaX,b=!t&&Math.abs(l.deltaX)<=Math.abs(l.deltaY),m=t||b?l.deltaY:l.deltaX;for(let c=0;c<B.length;c++){const i=B[c];if(gl(i,b))return b?m<0&&i.scrollTop===0?!0:m>0&&i.scrollTop+i.clientHeight===i.scrollHeight:m<0&&i.scrollLeft===0?!0:m>0&&i.scrollLeft+i.clientWidth===i.scrollWidth}return!0}function qo(l){l.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function dn(l){ri!==!0&&(ri=!0,requestAnimationFrame(()=>{ri=!1;const{height:B}=l.target,{clientHeight:t,scrollTop:b}=document.scrollingElement;(Vr===void 0||B!==window.innerHeight)&&(Vr=t-B,document.scrollingElement.scrollTop=b),b>Vr&&(document.scrollingElement.scrollTop-=Math.ceil((b-Vr)/8))}))}function zo(l){const B=document.body,t=window.visualViewport!==void 0;if(l==="add"){const{overflowY:b,overflowX:m}=window.getComputedStyle(B);ei=Di(window),ti=ji(window),No=B.style.left,Lo=B.style.top,Vo=window.location.href,B.style.left=`-${ei}px`,B.style.top=`-${ti}px`,m!=="hidden"&&(m==="scroll"||B.scrollWidth>window.innerWidth)&&B.classList.add("q-body--force-scrollbar-x"),b!=="hidden"&&(b==="scroll"||B.scrollHeight>window.innerHeight)&&B.classList.add("q-body--force-scrollbar-y"),B.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Et.is.ios===!0&&(t===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",dn,_t.passiveCapture),window.visualViewport.addEventListener("scroll",dn,_t.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",qo,_t.passiveCapture))}Et.is.desktop===!0&&Et.is.mac===!0&&window[`${l}EventListener`]("wheel",Zl,_t.notPassive),l==="remove"&&(Et.is.ios===!0&&(t===!0?(window.visualViewport.removeEventListener("resize",dn,_t.passiveCapture),window.visualViewport.removeEventListener("scroll",dn,_t.passiveCapture)):window.removeEventListener("scroll",qo,_t.passiveCapture)),B.classList.remove("q-body--prevent-scroll"),B.classList.remove("q-body--force-scrollbar-x"),B.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,B.style.left=No,B.style.top=Lo,window.location.href===Vo&&window.scrollTo(ei,ti),Vr=void 0)}function eu(l){let B="add";if(l===!0){if(Pr++,lr!==null){clearTimeout(lr),lr=null;return}if(Pr>1)return}else{if(Pr===0||(Pr--,Pr>0))return;if(B="remove",Et.is.ios===!0&&Et.is.nativeMobile===!0){lr!==null&&clearTimeout(lr),lr=setTimeout(()=>{zo(B),lr=null},100);return}}zo(B)}function tu(){let l;return{preventBodyScroll(B){B!==l&&(l!==void 0||B===!0)&&(l=B,eu(B))}}}let hn=0;const ru={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"},Uo={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},zn=$e({name:"QDialog",inheritAttrs:!1,props:{...Vi,...Wr,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:l=>["standard","top","bottom","left","right"].includes(l)}},emits:[...qi,"shake","click","escapeKey"],setup(l,{slots:B,emit:t,attrs:b}){const m=y.getCurrentInstance(),c=y.ref(null),i=y.ref(!1),s=y.ref(!1);let n=null,e=null,r,u;const a=y.computed(()=>l.persistent!==!0&&l.noRouteDismiss!==!0&&l.seamless!==!0),{preventBodyScroll:o}=tu(),{registerTimeout:d}=Yi(),{registerTick:h,removeTick:f}=Hi(),{transitionProps:g,transitionStyle:p}=Wi(l,()=>Uo[l.position][0],()=>Uo[l.position][1]),k=y.computed(()=>p.value+(l.backdropFilter!==void 0?`;backdrop-filter:${l.backdropFilter};-webkit-backdrop-filter:${l.backdropFilter}`:"")),{showPortal:C,hidePortal:T,portalIsAccessible:D,renderPortal:V}=Ui(m,c,z,"dialog"),{hide:P}=zi({showing:i,hideOnRouteChange:a,handleShow:A,handleHide:M,processOnMount:!0});Jl(i);const N=y.computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${l.maximized===!0?"maximized":"minimized"} q-dialog__inner--${l.position} ${ru[l.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(l.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(l.fullHeight===!0?" q-dialog__inner--fullheight":"")+(l.square===!0?" q-dialog__inner--square":"")),q=y.computed(()=>i.value===!0&&l.seamless!==!0),W=y.computed(()=>l.autoClose===!0?{onClick:E}:{}),L=y.computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${q.value===!0?"modal":"seamless"}`,b.class]);y.watch(()=>l.maximized,U=>{i.value===!0&&S(U)}),y.watch(q,U=>{o(U),U===!0?(Da(R),Fa(x)):(bi(R),An(x))});function A(U){e=l.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,S(l.maximized),C(),s.value=!0,l.noFocus!==!0?(document.activeElement?.blur(),h(_)):f(),d(()=>{if(m.proxy.$q.platform.is.ios===!0){if(l.seamless!==!0&&document.activeElement){const{top:Q,bottom:j}=document.activeElement.getBoundingClientRect(),{innerHeight:Y}=window,F=window.visualViewport!==void 0?window.visualViewport.height:Y;Q>0&&j>F/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-F,j>=Y?1/0:Math.ceil(document.scrollingElement.scrollTop+j-F/2))),document.activeElement.scrollIntoView()}u=!0,c.value.click(),u=!1}C(!0),s.value=!1,t("show",U)},l.transitionDuration)}function M(U){f(),w(!0),s.value=!0,T(),e!==null&&(((U?.type.indexOf("key")===0?e.closest('[tabindex]:not([tabindex^="-"])'):void 0)||e).focus(),e=null),d(()=>{T(!0),s.value=!1,t("hide",U)},l.transitionDuration)}function _(U){Jr(()=>{let Q=c.value;if(Q!==null){if(U!==void 0){const j=Q.querySelector(U);if(j!==null){j.focus({preventScroll:!0});return}}Q.contains(document.activeElement)!==!0&&(Q=Q.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||Q.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||Q.querySelector("[autofocus], [data-autofocus]")||Q,Q.focus({preventScroll:!0}))}})}function v(U){U&&typeof U.focus=="function"?U.focus({preventScroll:!0}):_(),t("shake");const Q=c.value;Q!==null&&(Q.classList.remove("q-animate--scale"),Q.classList.add("q-animate--scale"),n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,c.value!==null&&(Q.classList.remove("q-animate--scale"),_())},170))}function x(){l.seamless!==!0&&(l.persistent===!0||l.noEscDismiss===!0?l.maximized!==!0&&l.noShake!==!0&&v():(t("escapeKey"),P()))}function w(U){n!==null&&(clearTimeout(n),n=null),(U===!0||i.value===!0)&&(S(!1),l.seamless!==!0&&(o(!1),bi(R),An(x))),U!==!0&&(e=null)}function S(U){U===!0?r!==!0&&(hn<1&&document.body.classList.add("q-body--dialog"),hn++,r=!0):r===!0&&(hn<2&&document.body.classList.remove("q-body--dialog"),hn--,r=!1)}function E(U){u!==!0&&(P(U),t("click",U))}function O(U){l.persistent!==!0&&l.noBackdropDismiss!==!0?P(U):l.noShake!==!0&&v()}function R(U){l.allowFocusOutside!==!0&&D.value===!0&&ga(c.value,U.target)!==!0&&_('[tabindex]:not([tabindex="-1"])')}Object.assign(m.proxy,{focus:_,shake:v,__updateRefocusTarget(U){e=U||null}}),y.onBeforeUnmount(w);function z(){return y.h("div",{role:"dialog","aria-modal":q.value===!0?"true":"false",...b,class:L.value},[y.h(y.Transition,{name:"q-transition--fade",appear:!0},()=>q.value===!0?y.h("div",{class:"q-dialog__backdrop fixed-full",style:k.value,"aria-hidden":"true",tabindex:-1,onClick:O}):null),y.h(y.Transition,g.value,()=>i.value===!0?y.h("div",{ref:c,class:N.value,style:p.value,tabindex:-1,...W.value},bt(B.default)):null)])}return V}});let In=!1;{const l=document.createElement("div");l.setAttribute("dir","rtl"),Object.assign(l.style,{width:"1px",height:"1px",overflow:"auto"});const B=document.createElement("div");Object.assign(B.style,{width:"1000px",height:"1px"}),document.body.appendChild(l),l.appendChild(B),l.scrollLeft=-1e3,In=l.scrollLeft>=0,l.remove()}const Ut=1e3,nu=["start","center","end","start-force","center-force","end-force"],za=Array.prototype.filter,iu=window.getComputedStyle(document.body).overflowAnchor===void 0?Pn:function(l,B){l!==null&&(l._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(l._qOverflowAnimationFrame),l._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(l===null)return;l._qOverflowAnimationFrame=void 0;const t=l.children||[];za.call(t,m=>m.dataset&&m.dataset.qVsAnchor!==void 0).forEach(m=>{delete m.dataset.qVsAnchor});const b=t[B];b?.dataset&&(b.dataset.qVsAnchor="")}))};function Tr(l,B){return l+B}function ni(l,B,t,b,m,c,i,s){const n=l===window?document.scrollingElement||document.documentElement:l,e=m===!0?"offsetWidth":"offsetHeight",r={scrollStart:0,scrollViewSize:-i-s,scrollMaxSize:0,offsetStart:-i,offsetEnd:-s};if(m===!0?(l===window?(r.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,r.scrollViewSize+=document.documentElement.clientWidth):(r.scrollStart=n.scrollLeft,r.scrollViewSize+=n.clientWidth),r.scrollMaxSize=n.scrollWidth,c===!0&&(r.scrollStart=(In===!0?r.scrollMaxSize-r.scrollViewSize:0)-r.scrollStart)):(l===window?(r.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,r.scrollViewSize+=document.documentElement.clientHeight):(r.scrollStart=n.scrollTop,r.scrollViewSize+=n.clientHeight),r.scrollMaxSize=n.scrollHeight),t!==null)for(let u=t.previousElementSibling;u!==null;u=u.previousElementSibling)u.classList.contains("q-virtual-scroll--skip")===!1&&(r.offsetStart+=u[e]);if(b!==null)for(let u=b.nextElementSibling;u!==null;u=u.nextElementSibling)u.classList.contains("q-virtual-scroll--skip")===!1&&(r.offsetEnd+=u[e]);if(B!==l){const u=n.getBoundingClientRect(),a=B.getBoundingClientRect();m===!0?(r.offsetStart+=a.left-u.left,r.offsetEnd-=a.width):(r.offsetStart+=a.top-u.top,r.offsetEnd-=a.height),l!==window&&(r.offsetStart+=r.scrollStart),r.offsetEnd+=r.scrollMaxSize-r.offsetStart}return r}function Wo(l,B,t,b){B==="end"&&(B=(l===window?document.body:l)[t===!0?"scrollWidth":"scrollHeight"]),l===window?t===!0?(b===!0&&(B=(In===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-B),window.scrollTo(B,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,B):t===!0?(b===!0&&(B=(In===!0?l.scrollWidth-l.offsetWidth:0)-B),l.scrollLeft=B):l.scrollTop=B}function Nr(l,B,t,b){if(t>=b)return 0;const m=B.length,c=Math.floor(t/Ut),i=Math.floor((b-1)/Ut)+1;let s=l.slice(c,i).reduce(Tr,0);return t%Ut!==0&&(s-=B.slice(c*Ut,t).reduce(Tr,0)),b%Ut!==0&&b!==m&&(s-=B.slice(b,i*Ut).reduce(Tr,0)),s}const Ua={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]},Wa=Object.keys(Ua),xi={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Ua};function Ha({virtualScrollLength:l,getVirtualScrollTarget:B,getVirtualScrollEl:t,virtualScrollItemSizeComputed:b}){const m=y.getCurrentInstance(),{props:c,emit:i,proxy:s}=m,{$q:n}=s;let e,r,u,a=[],o;const d=y.ref(0),h=y.ref(0),f=y.ref({}),g=y.ref(null),p=y.ref(null),k=y.ref(null),C=y.ref({from:0,to:0}),T=y.computed(()=>c.tableColspan!==void 0?c.tableColspan:100);b===void 0&&(b=y.computed(()=>c.virtualScrollItemSize));const D=y.computed(()=>b.value+";"+c.virtualScrollHorizontal),V=y.computed(()=>D.value+";"+c.virtualScrollSliceRatioBefore+";"+c.virtualScrollSliceRatioAfter);y.watch(V,()=>{v()}),y.watch(D,P);function P(){_(r,!0)}function N(O){_(O===void 0?r:O)}function q(O,R){const z=B();if(z==null||z.nodeType===8)return;const U=ni(z,t(),g.value,p.value,c.virtualScrollHorizontal,n.lang.rtl,c.virtualScrollStickySizeStart,c.virtualScrollStickySizeEnd);u!==U.scrollViewSize&&v(U.scrollViewSize),L(z,U,Math.min(l.value-1,Math.max(0,parseInt(O,10)||0)),0,nu.indexOf(R)!==-1?R:r!==-1&&O>r?"end":"start")}function W(){const O=B();if(O==null||O.nodeType===8)return;const R=ni(O,t(),g.value,p.value,c.virtualScrollHorizontal,n.lang.rtl,c.virtualScrollStickySizeStart,c.virtualScrollStickySizeEnd),z=l.value-1,U=R.scrollMaxSize-R.offsetStart-R.offsetEnd-h.value;if(e===R.scrollStart)return;if(R.scrollMaxSize<=0){L(O,R,0,0);return}u!==R.scrollViewSize&&v(R.scrollViewSize),A(C.value.from);const Q=Math.floor(R.scrollMaxSize-Math.max(R.scrollViewSize,R.offsetEnd)-Math.min(o[z],R.scrollViewSize/2));if(Q>0&&Math.ceil(R.scrollStart)>=Q){L(O,R,z,R.scrollMaxSize-R.offsetEnd-a.reduce(Tr,0));return}let j=0,Y=R.scrollStart-R.offsetStart,F=Y;if(Y<=U&&Y+R.scrollViewSize>=d.value)Y-=d.value,j=C.value.from,F=Y;else for(let I=0;Y>=a[I]&&j<z;I++)Y-=a[I],j+=Ut;for(;Y>0&&j<z;)Y-=o[j],Y>-R.scrollViewSize?(j++,F=Y):F=o[j]+Y;L(O,R,j,F)}function L(O,R,z,U,Q){const j=typeof Q=="string"&&Q.indexOf("-force")!==-1,Y=j===!0?Q.replace("-force",""):Q,F=Y!==void 0?Y:"start";let I=Math.max(0,z-f.value[F]),H=I+f.value.total;H>l.value&&(H=l.value,I=Math.max(0,H-f.value.total)),e=R.scrollStart;const K=I!==C.value.from||H!==C.value.to;if(K===!1&&Y===void 0){w(z);return}const{activeElement:ee}=document,G=k.value;K===!0&&G!==null&&G!==ee&&G.contains(ee)===!0&&(G.addEventListener("focusout",M),setTimeout(()=>{G?.removeEventListener("focusout",M)})),iu(G,z-I);const te=Y!==void 0?o.slice(I,z).reduce(Tr,0):0;if(K===!0){const ce=H>=C.value.from&&I<=C.value.to?C.value.to:H;C.value={from:I,to:ce},d.value=Nr(a,o,0,I),h.value=Nr(a,o,H,l.value),requestAnimationFrame(()=>{C.value.to!==H&&e===R.scrollStart&&(C.value={from:C.value.from,to:H},h.value=Nr(a,o,H,l.value))})}requestAnimationFrame(()=>{if(e!==R.scrollStart)return;K===!0&&A(I);const ce=o.slice(I,z).reduce(Tr,0),ue=ce+R.offsetStart+d.value,J=ue+o[z];let ae=ue+U;if(Y!==void 0){const se=ce-te,pe=R.scrollStart+se;ae=j!==!0&&pe<ue&&J<pe+R.scrollViewSize?pe:Y==="end"?J-R.scrollViewSize:ue-(Y==="start"?0:Math.round((R.scrollViewSize-o[z])/2))}e=ae,Wo(O,ae,c.virtualScrollHorizontal,n.lang.rtl),w(z)})}function A(O){const R=k.value;if(R){const z=za.call(R.children,I=>I.classList&&I.classList.contains("q-virtual-scroll--skip")===!1),U=z.length,Q=c.virtualScrollHorizontal===!0?I=>I.getBoundingClientRect().width:I=>I.offsetHeight;let j=O,Y,F;for(let I=0;I<U;){for(Y=Q(z[I]),I++;I<U&&z[I].classList.contains("q-virtual-scroll--with-prev")===!0;)Y+=Q(z[I]),I++;F=Y-o[j],F!==0&&(o[j]+=F,a[Math.floor(j/Ut)]+=F),j++}}}function M(){k.value?.focus()}function _(O,R){const z=1*b.value;(R===!0||Array.isArray(o)===!1)&&(o=[]);const U=o.length;o.length=l.value;for(let j=l.value-1;j>=U;j--)o[j]=z;const Q=Math.floor((l.value-1)/Ut);a=[];for(let j=0;j<=Q;j++){let Y=0;const F=Math.min((j+1)*Ut,l.value);for(let I=j*Ut;I<F;I++)Y+=o[I];a.push(Y)}r=-1,e=void 0,d.value=Nr(a,o,0,C.value.from),h.value=Nr(a,o,C.value.to,l.value),O>=0?(A(C.value.from),y.nextTick(()=>{q(O)})):S()}function v(O){if(O===void 0&&typeof window<"u"){const Y=B();Y!=null&&Y.nodeType!==8&&(O=ni(Y,t(),g.value,p.value,c.virtualScrollHorizontal,n.lang.rtl,c.virtualScrollStickySizeStart,c.virtualScrollStickySizeEnd).scrollViewSize)}u=O;const R=parseFloat(c.virtualScrollSliceRatioBefore)||0,z=parseFloat(c.virtualScrollSliceRatioAfter)||0,U=1+R+z,Q=O===void 0||O<=0?1:Math.ceil(O/b.value),j=Math.max(1,Q,Math.ceil((c.virtualScrollSliceSize>0?c.virtualScrollSliceSize:10)/U));f.value={total:Math.ceil(j*U),start:Math.ceil(j*R),center:Math.ceil(j*(.5+R)),end:Math.ceil(j*(1+R)),view:Q}}function x(O,R){const z=c.virtualScrollHorizontal===!0?"width":"height",U={["--q-virtual-scroll-item-"+z]:b.value+"px"};return[O==="tbody"?y.h(O,{class:"q-virtual-scroll__padding",key:"before",ref:g},[y.h("tr",[y.h("td",{style:{[z]:`${d.value}px`,...U},colspan:T.value})])]):y.h(O,{class:"q-virtual-scroll__padding",key:"before",ref:g,style:{[z]:`${d.value}px`,...U}}),y.h(O,{class:"q-virtual-scroll__content",key:"content",ref:k,tabindex:-1},R.flat()),O==="tbody"?y.h(O,{class:"q-virtual-scroll__padding",key:"after",ref:p},[y.h("tr",[y.h("td",{style:{[z]:`${h.value}px`,...U},colspan:T.value})])]):y.h(O,{class:"q-virtual-scroll__padding",key:"after",ref:p,style:{[z]:`${h.value}px`,...U}})]}function w(O){r!==O&&(c.onVirtualScroll!==void 0&&i("virtualScroll",{index:O,from:C.value.from,to:C.value.to-1,direction:O<r?"decrease":"increase",ref:s}),r=O)}v();const S=Ni(W,n.platform.is.ios===!0?120:35);y.onBeforeMount(()=>{v()});let E=!1;return y.onDeactivated(()=>{E=!0}),y.onActivated(()=>{if(E!==!0)return;const O=B();e!==void 0&&O!==void 0&&O!==null&&O.nodeType!==8?Wo(O,e,c.virtualScrollHorizontal,n.lang.rtl):q(r)}),y.onBeforeUnmount(()=>{S.cancel()}),Object.assign(s,{scrollTo:q,reset:P,refresh:N}),{virtualScrollSliceRange:C,virtualScrollSliceSizeComputed:f,setVirtualScrollSize:v,onVirtualScrollEvt:S,localResetVirtualScroll:_,padVirtualScroll:x,scrollTo:q,reset:P,refresh:N}}const ou=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,au=/[\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,su=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,lu=/[a-z0-9_ -]$/i;function Ya(l){return function(t){if(t.type==="compositionend"||t.type==="change"){if(t.target.qComposing!==!0)return;t.target.qComposing=!1,l(t)}else t.type==="compositionupdate"&&t.target.qComposing!==!0&&typeof t.data=="string"&&(Et.is.firefox===!0?lu.test(t.data)===!1:ou.test(t.data)===!0||au.test(t.data)===!0||su.test(t.data)===!0)===!0&&(t.target.qComposing=!0)}}function rr(l,B){if(l===B)return!0;if(l!==null&&B!==null&&typeof l=="object"&&typeof B=="object"){if(l.constructor!==B.constructor)return!1;let t,b;if(l.constructor===Array){if(t=l.length,t!==B.length)return!1;for(b=t;b--!==0;)if(rr(l[b],B[b])!==!0)return!1;return!0}if(l.constructor===Map){if(l.size!==B.size)return!1;let c=l.entries();for(b=c.next();b.done!==!0;){if(B.has(b.value[0])!==!0)return!1;b=c.next()}for(c=l.entries(),b=c.next();b.done!==!0;){if(rr(b.value[1],B.get(b.value[0]))!==!0)return!1;b=c.next()}return!0}if(l.constructor===Set){if(l.size!==B.size)return!1;const c=l.entries();for(b=c.next();b.done!==!0;){if(B.has(b.value[0])!==!0)return!1;b=c.next()}return!0}if(l.buffer!=null&&l.buffer.constructor===ArrayBuffer){if(t=l.length,t!==B.length)return!1;for(b=t;b--!==0;)if(l[b]!==B[b])return!1;return!0}if(l.constructor===RegExp)return l.source===B.source&&l.flags===B.flags;if(l.valueOf!==Object.prototype.valueOf)return l.valueOf()===B.valueOf();if(l.toString!==Object.prototype.toString)return l.toString()===B.toString();const m=Object.keys(l).filter(c=>l[c]!==void 0);if(t=m.length,t!==Object.keys(B).filter(c=>B[c]!==void 0).length)return!1;for(b=t;b--!==0;){const c=m[b];if(rr(l[c],B[c])!==!0)return!1}return!0}return l!==l&&B!==B}function Qa(l){return l!==null&&typeof l=="object"&&Array.isArray(l)!==!0}function On(l){return Object.prototype.toString.call(l)==="[object Date]"}function Si(l){return typeof l=="number"&&isFinite(l)}const Ho=l=>["add","add-unique","toggle"].includes(l),uu=".*+?^${}()|[]\\",cu=Object.keys(qn);function ii(l,B){if(typeof l=="function")return l;const t=l!==void 0?l:B;return b=>b!==null&&typeof b=="object"&&t in b?b[t]:b}const Un=$e({name:"QSelect",inheritAttrs:!1,props:{...xi,...Nn,...qn,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:Ho},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:l=>["default","menu","dialog"].includes(l),default:"default"},virtualScrollItemSize:xi.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Ki,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(l,{slots:B,emit:t}){const{proxy:b}=y.getCurrentInstance(),{$q:m}=b,c=y.ref(!1),i=y.ref(!1),s=y.ref(-1),n=y.ref(""),e=y.ref(!1),r=y.ref(!1);let u=null,a=null,o,d,h,f=null,g,p,k,C;const T=y.ref(null),D=y.ref(null),V=y.ref(null),P=y.ref(null),N=y.ref(null),q=ya(l),W=Ya(me),L=y.computed(()=>Array.isArray(l.options)?l.options.length:0),A=y.computed(()=>l.virtualScrollItemSize===void 0?l.optionsDense===!0?24:48:l.virtualScrollItemSize),{virtualScrollSliceRange:M,virtualScrollSliceSizeComputed:_,localResetVirtualScroll:v,padVirtualScroll:x,onVirtualScrollEvt:w,scrollTo:S,setVirtualScrollSize:E}=Ha({virtualScrollLength:L,getVirtualScrollTarget:nt,getVirtualScrollEl:He,virtualScrollItemSizeComputed:A}),O=Xi(),R=y.computed(()=>{const fe=l.mapOptions===!0&&l.multiple!==!0,je=l.modelValue!==void 0&&(l.modelValue!==null||fe===!0)?l.multiple===!0&&Array.isArray(l.modelValue)?l.modelValue:[l.modelValue]:[];if(l.mapOptions===!0&&Array.isArray(l.options)===!0){const Z=l.mapOptions===!0&&o!==void 0?o:[],he=je.map(ye=>Fe(ye,Z));return l.modelValue===null&&fe===!0?he.filter(ye=>ye!==null):he}return je}),z=y.computed(()=>{const fe={};return cu.forEach(je=>{const Z=l[je];Z!==void 0&&(fe[je]=Z)}),fe}),U=y.computed(()=>l.optionsDark===null?O.isDark.value:l.optionsDark),Q=y.computed(()=>Kr(R.value)),j=y.computed(()=>{let fe="q-field__input q-placeholder col";return l.hideSelected===!0||R.value.length===0?[fe,l.inputClass]:(fe+=" q-field__input--padding",l.inputClass===void 0?fe:[fe,l.inputClass])}),Y=y.computed(()=>(l.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(l.popupContentClass?" "+l.popupContentClass:"")),F=y.computed(()=>L.value===0),I=y.computed(()=>R.value.map(fe=>ie.value(fe)).join(", ")),H=y.computed(()=>l.displayValue!==void 0?l.displayValue:I.value),K=y.computed(()=>l.optionsHtml===!0?()=>!0:fe=>fe?.html===!0),ee=y.computed(()=>l.displayValueHtml===!0||l.displayValue===void 0&&(l.optionsHtml===!0||R.value.some(K.value))),G=y.computed(()=>O.focused.value===!0?l.tabindex:-1),te=y.computed(()=>{const fe={tabindex:l.tabindex,role:"combobox","aria-label":l.label,"aria-readonly":l.readonly===!0?"true":"false","aria-autocomplete":l.useInput===!0?"list":"none","aria-expanded":c.value===!0?"true":"false","aria-controls":`${O.targetUid.value}_lb`};return s.value>=0&&(fe["aria-activedescendant"]=`${O.targetUid.value}_${s.value}`),fe}),ce=y.computed(()=>({id:`${O.targetUid.value}_lb`,role:"listbox","aria-multiselectable":l.multiple===!0?"true":"false"})),ue=y.computed(()=>R.value.map((fe,je)=>({index:je,opt:fe,html:K.value(fe),selected:!0,removeAtIndex:Te,toggleOption:Ne,tabindex:G.value}))),J=y.computed(()=>{if(L.value===0)return[];const{from:fe,to:je}=M.value;return l.options.slice(fe,je).map((Z,he)=>{const ye=oe.value(Z)===!0,we=ke(Z)===!0,Pe=fe+he,Se={clickable:!0,active:we,activeClass:pe.value,manualFocus:!0,focused:!1,disable:ye,tabindex:-1,dense:l.optionsDense,dark:U.value,role:"option","aria-selected":we===!0?"true":"false",id:`${O.targetUid.value}_${Pe}`,onClick:()=>{Ne(Z)}};return ye!==!0&&(s.value===Pe&&(Se.focused=!0),m.platform.is.desktop===!0&&(Se.onMousemove=()=>{c.value===!0&&Le(Pe)})),{index:Pe,opt:Z,html:K.value(Z),label:ie.value(Z),selected:Se.active,focused:Se.focused,toggleOption:Ne,setOptionIndex:Le,itemProps:Se}})}),ae=y.computed(()=>l.dropdownIcon!==void 0?l.dropdownIcon:m.iconSet.arrow.dropdown),se=y.computed(()=>l.optionsCover===!1&&l.outlined!==!0&&l.standout!==!0&&l.borderless!==!0&&l.rounded!==!0),pe=y.computed(()=>l.optionsSelectedClass!==void 0?l.optionsSelectedClass:l.color!==void 0?`text-${l.color}`:""),$=y.computed(()=>ii(l.optionValue,"value")),ie=y.computed(()=>ii(l.optionLabel,"label")),oe=y.computed(()=>ii(l.optionDisable,"disable")),le=y.computed(()=>R.value.map($.value)),ge=y.computed(()=>{const fe={onInput:me,onChange:W,onKeydown:et,onKeyup:Ve,onKeypress:Ge,onFocus:De,onClick(je){d===!0&&Dt(je)}};return fe.onCompositionstart=fe.onCompositionupdate=fe.onCompositionend=W,fe});y.watch(R,fe=>{o=fe,l.useInput===!0&&l.fillInput===!0&&l.multiple!==!0&&O.innerLoading.value!==!0&&(i.value!==!0&&c.value!==!0||Q.value!==!0)&&(h!==!0&&ze(),(i.value===!0||c.value===!0)&&Oe(""))},{immediate:!0}),y.watch(()=>l.fillInput,ze),y.watch(c,Je),y.watch(L,Ze);function Ce(fe){return l.emitValue===!0?$.value(fe):fe}function Ae(fe){if(fe!==-1&&fe<R.value.length)if(l.multiple===!0){const je=l.modelValue.slice();t("remove",{index:fe,value:je.splice(fe,1)[0]}),t("update:modelValue",je)}else t("update:modelValue",null)}function Te(fe){Ae(fe),O.focus()}function Ue(fe,je){const Z=Ce(fe);if(l.multiple!==!0){l.fillInput===!0&&Re(ie.value(fe),!0,!0),t("update:modelValue",Z);return}if(R.value.length===0){t("add",{index:0,value:Z}),t("update:modelValue",l.multiple===!0?[Z]:Z);return}if(je===!0&&ke(fe)===!0||l.maxValues!==void 0&&l.modelValue.length>=l.maxValues)return;const he=l.modelValue.slice();t("add",{index:he.length,value:Z}),he.push(Z),t("update:modelValue",he)}function Ne(fe,je){if(O.editable.value!==!0||fe===void 0||oe.value(fe)===!0)return;const Z=$.value(fe);if(l.multiple!==!0){je!==!0&&(Re(l.fillInput===!0?ie.value(fe):"",!0,!0),Be()),D.value?.focus(),(R.value.length===0||rr($.value(R.value[0]),Z)!==!0)&&t("update:modelValue",l.emitValue===!0?Z:fe);return}if((d!==!0||e.value===!0)&&O.focus(),De(),R.value.length===0){const we=l.emitValue===!0?Z:fe;t("add",{index:0,value:we}),t("update:modelValue",l.multiple===!0?[we]:we);return}const he=l.modelValue.slice(),ye=le.value.findIndex(we=>rr(we,Z));if(ye!==-1)t("remove",{index:ye,value:he.splice(ye,1)[0]});else{if(l.maxValues!==void 0&&he.length>=l.maxValues)return;const we=l.emitValue===!0?Z:fe;t("add",{index:he.length,value:we}),he.push(we)}t("update:modelValue",he)}function Le(fe){if(m.platform.is.desktop!==!0)return;const je=fe!==-1&&fe<L.value?fe:-1;s.value!==je&&(s.value=je)}function qe(fe=1,je){if(c.value===!0){let Z=s.value;do Z=ko(Z+fe,-1,L.value-1);while(Z!==-1&&Z!==s.value&&oe.value(l.options[Z])===!0);s.value!==Z&&(Le(Z),S(Z),je!==!0&&l.useInput===!0&&l.fillInput===!0&&xe(Z>=0?ie.value(l.options[Z]):g,!0))}}function Fe(fe,je){const Z=he=>rr($.value(he),fe);return l.options.find(Z)||je.find(Z)||fe}function ke(fe){const je=$.value(fe);return le.value.find(Z=>rr(Z,je))!==void 0}function De(fe){l.useInput===!0&&D.value!==null&&(fe===void 0||D.value===fe.target&&fe.target.value===I.value)&&D.value.select()}function We(fe){ir(fe,27)===!0&&c.value===!0&&(Dt(fe),Be(),ze()),t("keyup",fe)}function Ve(fe){const{value:je}=fe.target;if(fe.keyCode!==void 0){We(fe);return}if(fe.target.value="",u!==null&&(clearTimeout(u),u=null),a!==null&&(clearTimeout(a),a=null),ze(),typeof je=="string"&&je.length!==0){const Z=je.toLocaleLowerCase(),he=we=>{const Pe=l.options.find(Se=>String(we.value(Se)).toLocaleLowerCase()===Z);return Pe===void 0?!1:(R.value.indexOf(Pe)===-1?Ne(Pe):Be(),!0)},ye=we=>{he($)!==!0&&we!==!0&&he(ie)!==!0&&Oe(je,!0,()=>ye(!0))};ye()}else O.clearValue(fe)}function Ge(fe){t("keypress",fe)}function et(fe){if(t("keydown",fe),Fi(fe)===!0)return;const je=n.value.length!==0&&(l.newValueMode!==void 0||l.onNewValue!==void 0),Z=fe.shiftKey!==!0&&l.disableTabSelection!==!0&&l.multiple!==!0&&(s.value!==-1||je===!0);if(fe.keyCode===27){Bt(fe);return}if(fe.keyCode===9&&Z===!1){ve();return}if(fe.target===void 0||fe.target.id!==O.targetUid.value||O.editable.value!==!0)return;if(fe.keyCode===40&&O.innerLoading.value!==!0&&c.value===!1){St(fe),_e();return}if(fe.keyCode===8&&(l.useChips===!0||l.clearable===!0)&&l.hideSelected!==!0&&n.value.length===0){l.multiple===!0&&Array.isArray(l.modelValue)===!0?Ae(l.modelValue.length-1):l.multiple!==!0&&l.modelValue!==null&&t("update:modelValue",null);return}(fe.keyCode===35||fe.keyCode===36)&&(typeof n.value!="string"||n.value.length===0)&&(St(fe),s.value=-1,qe(fe.keyCode===36?1:-1,l.multiple)),(fe.keyCode===33||fe.keyCode===34)&&_.value!==void 0&&(St(fe),s.value=Math.max(-1,Math.min(L.value,s.value+(fe.keyCode===33?-1:1)*_.value.view)),qe(fe.keyCode===33?1:-1,l.multiple)),(fe.keyCode===38||fe.keyCode===40)&&(St(fe),qe(fe.keyCode===38?-1:1,l.multiple));const he=L.value;if((k===void 0||C<Date.now())&&(k=""),he>0&&l.useInput!==!0&&fe.key!==void 0&&fe.key.length===1&&fe.altKey===!1&&fe.ctrlKey===!1&&fe.metaKey===!1&&(fe.keyCode!==32||k.length!==0)){c.value!==!0&&_e(fe);const ye=fe.key.toLocaleLowerCase(),we=k.length===1&&k[0]===ye;C=Date.now()+1500,we===!1&&(St(fe),k+=ye);const Pe=new RegExp("^"+k.split("").map(Ie=>uu.indexOf(Ie)!==-1?"\\"+Ie:Ie).join(".*"),"i");let Se=s.value;if(we===!0||Se<0||Pe.test(ie.value(l.options[Se]))!==!0)do Se=ko(Se+1,-1,he-1);while(Se!==s.value&&(oe.value(l.options[Se])===!0||Pe.test(ie.value(l.options[Se]))!==!0));s.value!==Se&&y.nextTick(()=>{Le(Se),S(Se),Se>=0&&l.useInput===!0&&l.fillInput===!0&&xe(ie.value(l.options[Se]),!0)});return}if(!(fe.keyCode!==13&&(fe.keyCode!==32||l.useInput===!0||k!=="")&&(fe.keyCode!==9||Z===!1))){if(fe.keyCode!==9&&St(fe),s.value!==-1&&s.value<he){Ne(l.options[s.value]);return}if(je===!0){const ye=(we,Pe)=>{if(Pe){if(Ho(Pe)!==!0)return}else Pe=l.newValueMode;if(Re("",l.multiple!==!0,!0),we==null)return;(Pe==="toggle"?Ne:Ue)(we,Pe==="add-unique"),l.multiple!==!0&&(D.value?.focus(),Be())};if(l.onNewValue!==void 0?t("newValue",n.value,ye):ye(n.value),l.multiple!==!0)return}c.value===!0?ve():O.innerLoading.value!==!0&&_e()}}function He(){return d===!0?N.value:V.value!==null&&V.value.contentEl!==null?V.value.contentEl:void 0}function nt(){return He()}function tt(){return l.hideSelected===!0?[]:B["selected-item"]!==void 0?ue.value.map(fe=>B["selected-item"](fe)).slice():B.selected!==void 0?[].concat(B.selected()):l.useChips===!0?ue.value.map((fe,je)=>y.h(qa,{key:"option-"+je,removable:O.editable.value===!0&&oe.value(fe.opt)!==!0,dense:!0,textColor:l.color,tabindex:G.value,onRemove(){fe.removeAtIndex(je)}},()=>y.h("span",{class:"ellipsis",[fe.html===!0?"innerHTML":"textContent"]:ie.value(fe.opt)}))):[y.h("span",{class:"ellipsis",[ee.value===!0?"innerHTML":"textContent"]:H.value})]}function Ye(){if(F.value===!0)return B["no-option"]!==void 0?B["no-option"]({inputValue:n.value}):void 0;const fe=B.option!==void 0?B.option:Z=>y.h(Cr,{key:Z.index,...Z.itemProps},()=>y.h(Ar,()=>y.h(wi,()=>y.h("span",{[Z.html===!0?"innerHTML":"textContent"]:Z.label}))));let je=x("div",J.value.map(fe));return B["before-options"]!==void 0&&(je=B["before-options"]().concat(je)),It(B["after-options"],je)}function at(fe,je){const Z=je===!0?{...te.value,...O.splitAttrs.attributes.value}:void 0,he={ref:je===!0?D:void 0,key:"i_t",class:j.value,style:l.inputStyle,value:n.value!==void 0?n.value:"",type:"search",...Z,id:je===!0?O.targetUid.value:void 0,maxlength:l.maxlength,autocomplete:l.autocomplete,"data-autofocus":fe===!0||l.autofocus===!0||void 0,disabled:l.disable===!0,readonly:l.readonly===!0,...ge.value};return fe!==!0&&d===!0&&(Array.isArray(he.class)===!0?he.class=[...he.class,"no-pointer-events"]:he.class+=" no-pointer-events"),y.h("input",he)}function me(fe){u!==null&&(clearTimeout(u),u=null),a!==null&&(clearTimeout(a),a=null),!(fe&&fe.target&&fe.target.qComposing===!0)&&(xe(fe.target.value||""),h=!0,g=n.value,O.focused.value!==!0&&(d!==!0||e.value===!0)&&O.focus(),l.onFilter!==void 0&&(u=setTimeout(()=>{u=null,Oe(n.value)},l.inputDebounce)))}function xe(fe,je){n.value!==fe&&(n.value=fe,je===!0||l.inputDebounce===0||l.inputDebounce==="0"?t("inputValue",fe):a=setTimeout(()=>{a=null,t("inputValue",fe)},l.inputDebounce))}function Re(fe,je,Z){h=Z!==!0,l.useInput===!0&&(xe(fe,!0),(je===!0||Z!==!0)&&(g=fe),je!==!0&&Oe(fe))}function Oe(fe,je,Z){if(l.onFilter===void 0||je!==!0&&O.focused.value!==!0)return;O.innerLoading.value===!0?t("filterAbort"):(O.innerLoading.value=!0,r.value=!0),fe!==""&&l.multiple!==!0&&R.value.length!==0&&h!==!0&&fe===ie.value(R.value[0])&&(fe="");const he=setTimeout(()=>{c.value===!0&&(c.value=!1)},10);f!==null&&clearTimeout(f),f=he,t("filter",fe,(ye,we)=>{(je===!0||O.focused.value===!0)&&f===he&&(clearTimeout(f),typeof ye=="function"&&ye(),r.value=!1,y.nextTick(()=>{O.innerLoading.value=!1,O.editable.value===!0&&(je===!0?c.value===!0&&Be():c.value===!0?Je(!0):c.value=!0),typeof we=="function"&&y.nextTick(()=>{we(b)}),typeof Z=="function"&&y.nextTick(()=>{Z(b)})}))},()=>{O.focused.value===!0&&f===he&&(clearTimeout(f),O.innerLoading.value=!1,r.value=!1),c.value===!0&&(c.value=!1)})}function Ee(){return y.h(Zr,{ref:V,class:Y.value,style:l.popupContentStyle,modelValue:c.value,fit:l.menuShrink!==!0,cover:l.optionsCover===!0&&F.value!==!0&&l.useInput!==!0,anchor:l.menuAnchor,self:l.menuSelf,offset:l.menuOffset,dark:U.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:l.popupNoRouteDismiss,square:se.value,transitionShow:l.transitionShow,transitionHide:l.transitionHide,transitionDuration:l.transitionDuration,separateClosePopup:!0,...ce.value,onScrollPassive:w,onBeforeShow:yt,onBeforeHide:Qe,onShow:Ke},Ye)}function Qe(fe){ft(fe),ve()}function Ke(){E()}function re(fe){Dt(fe),D.value?.focus(),e.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function X(fe){Dt(fe),y.nextTick(()=>{e.value=!1})}function ne(){const fe=[y.h(Xl,{class:`col-auto ${O.fieldClass.value}`,...z.value,for:O.targetUid.value,dark:U.value,square:!0,loading:r.value,itemAligned:!1,filled:!0,stackLabel:n.value.length!==0,...O.splitAttrs.listeners.value,onFocus:re,onBlur:X},{...B,rawControl:()=>O.getControl(!0),before:void 0,after:void 0})];return c.value===!0&&fe.push(y.h("div",{ref:N,class:Y.value+" scroll",style:l.popupContentStyle,...ce.value,onClick:Bt,onScrollPassive:w},Ye())),y.h(zn,{ref:P,modelValue:i.value,position:l.useInput===!0?"top":void 0,transitionShow:p,transitionHide:l.transitionHide,transitionDuration:l.transitionDuration,noRouteDismiss:l.popupNoRouteDismiss,onBeforeShow:yt,onBeforeHide:de,onHide:be,onShow:Me},()=>y.h("div",{class:"q-select__dialog"+(U.value===!0?" q-select__dialog--dark q-dark":"")+(e.value===!0?" q-select__dialog--focused":"")},fe))}function de(fe){ft(fe),P.value!==null&&P.value.__updateRefocusTarget(O.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),O.focused.value=!1}function be(fe){Be(),O.focused.value===!1&&t("blur",fe),ze()}function Me(){const fe=document.activeElement;(fe===null||fe.id!==O.targetUid.value)&&D.value!==null&&D.value!==fe&&D.value.focus(),E()}function ve(){i.value!==!0&&(s.value=-1,c.value===!0&&(c.value=!1),O.focused.value===!1&&(f!==null&&(clearTimeout(f),f=null),O.innerLoading.value===!0&&(t("filterAbort"),O.innerLoading.value=!1,r.value=!1)))}function _e(fe){O.editable.value===!0&&(d===!0?(O.onControlFocusin(fe),i.value=!0,y.nextTick(()=>{O.focus()})):O.focus(),l.onFilter!==void 0?Oe(n.value):(F.value!==!0||B["no-option"]!==void 0)&&(c.value=!0))}function Be(){i.value=!1,ve()}function ze(){l.useInput===!0&&Re(l.multiple!==!0&&l.fillInput===!0&&R.value.length!==0&&ie.value(R.value[0])||"",!0,!0)}function Je(fe){let je=-1;if(fe===!0){if(R.value.length!==0){const Z=$.value(R.value[0]);je=l.options.findIndex(he=>rr($.value(he),Z))}v(je)}Le(je)}function Ze(fe,je){c.value===!0&&O.innerLoading.value===!1&&(v(-1,!0),y.nextTick(()=>{c.value===!0&&O.innerLoading.value===!1&&(fe>je?v():Je(!0))}))}function rt(){i.value===!1&&V.value!==null&&V.value.updatePosition()}function yt(fe){fe!==void 0&&Dt(fe),t("popupShow",fe),O.hasPopupOpen=!0,O.onControlFocusin(fe)}function ft(fe){fe!==void 0&&Dt(fe),t("popupHide",fe),O.hasPopupOpen=!1,O.onControlFocusout(fe)}function kt(){d=m.platform.is.mobile!==!0&&l.behavior!=="dialog"?!1:l.behavior!=="menu"&&(l.useInput===!0?B["no-option"]!==void 0||l.onFilter!==void 0||F.value===!1:!0),p=m.platform.is.ios===!0&&d===!0&&l.useInput===!0?"fade":l.transitionShow}return y.onBeforeUpdate(kt),y.onUpdated(rt),kt(),y.onBeforeUnmount(()=>{u!==null&&clearTimeout(u),a!==null&&clearTimeout(a)}),Object.assign(b,{showPopup:_e,hidePopup:Be,removeAtIndex:Ae,add:Ue,toggleOption:Ne,getOptionIndex:()=>s.value,setOptionIndex:Le,moveOptionSelection:qe,filter:Oe,updateMenuPosition:rt,updateInputValue:Re,isOptionSelected:ke,getEmittingOptionValue:Ce,isOptionDisabled:(...fe)=>oe.value.apply(null,fe)===!0,getOptionValue:(...fe)=>$.value.apply(null,fe),getOptionLabel:(...fe)=>ie.value.apply(null,fe)}),Object.assign(O,{innerValue:R,fieldClass:y.computed(()=>`q-select q-field--auto-height q-select--with${l.useInput!==!0?"out":""}-input q-select--with${l.useChips!==!0?"out":""}-chips q-select--${l.multiple===!0?"multiple":"single"}`),inputRef:T,targetRef:D,hasValue:Q,showPopup:_e,floatingLabel:y.computed(()=>l.hideSelected!==!0&&Q.value===!0||typeof n.value=="number"||n.value.length!==0||Kr(l.displayValue)),getControlChild:()=>{if(O.editable.value!==!1&&(i.value===!0||F.value!==!0||B["no-option"]!==void 0))return d===!0?ne():Ee();O.hasPopupOpen===!0&&(O.hasPopupOpen=!1)},controlEvents:{onFocusin(fe){O.onControlFocusin(fe)},onFocusout(fe){O.onControlFocusout(fe,()=>{ze(),ve()})},onClick(fe){if(Bt(fe),d!==!0&&c.value===!0){ve(),D.value?.focus();return}_e(fe)}},getControl:fe=>{const je=tt(),Z=fe===!0||i.value!==!0||d!==!0;if(l.useInput===!0)je.push(at(fe,Z));else if(O.editable.value===!0){const ye=Z===!0?te.value:void 0;je.push(y.h("input",{ref:Z===!0?D:void 0,key:"d_t",class:"q-select__focus-target",id:Z===!0?O.targetUid.value:void 0,value:H.value,readonly:!0,"data-autofocus":fe===!0||l.autofocus===!0||void 0,...ye,onKeydown:et,onKeyup:We,onKeypress:Ge})),Z===!0&&typeof l.autocomplete=="string"&&l.autocomplete.length!==0&&je.push(y.h("input",{class:"q-select__autocomplete-input",autocomplete:l.autocomplete,tabindex:-1,onKeyup:Ve}))}if(q.value!==void 0&&l.disable!==!0&&le.value.length!==0){const ye=le.value.map(we=>y.h("option",{value:we,selected:!0}));je.push(y.h("select",{class:"hidden",name:q.value,multiple:l.multiple},ye))}const he=l.useInput===!0||Z!==!0?void 0:O.splitAttrs.attributes.value;return y.h("div",{class:"q-field__native row items-center",...he,...O.splitAttrs.listeners.value},je)},getInnerAppend:()=>l.loading!==!0&&r.value!==!0&&l.hideDropdownIcon!==!0?[y.h(gt,{class:"q-select__dropdown-icon"+(c.value===!0?" rotate-180":""),name:ae.value})]:null}),Gi(O)}}),fu={class:"q-pa-none"},du=y.defineComponent({__name:"CheckboxFilter",props:{options:{},label:{default:"Sélectionner les options"},modelValue:{default:()=>[]},scrollAreaHeight:{default:"200px"},scrollAreaWidth:{default:"250px"},dataCy:{default:"checkbox-filter"}},emits:["update:modelValue"],setup(l,{emit:B}){const t=l,b=B,m=y.ref(!1),c=y.ref(t.modelValue||[]),i=y.computed(()=>({height:t.scrollAreaHeight,width:t.scrollAreaWidth})),s=y.computed(()=>t.dataCy||"checkbox-filter");return y.watch(c,n=>{b("update:modelValue",n)}),y.watch(()=>t.modelValue,n=>{n&&(c.value=n)},{immediate:!0}),(n,e)=>(y.openBlock(),y.createElementBlock("div",fu,[y.createVNode(Un,y.mergeProps({outlined:"",dense:"",label:t.label,class:["full-width","cursor-pointer"],"data-cy":s.value,"model-value":null,options:[],"hide-dropdown-icon":""},n.$attrs),{append:y.withCtx(()=>[y.createVNode(gt,{name:"arrow_drop_down",class:y.normalizeClass(["cursor-pointer smooth-rotate",{"rotate-180":m.value}])},null,8,["class"])]),default:y.withCtx(()=>[y.createVNode(Zr,{modelValue:m.value,"onUpdate:modelValue":e[1]||(e[1]=r=>m.value=r),anchor:"bottom left",self:"top left",offset:[0,8],"transition-show":"scale","transition-hide":"scale"},{default:y.withCtx(()=>[y.createVNode(Gr,{class:"q-pa-sm"},{default:y.withCtx(()=>[y.createVNode(Sl,{style:y.normalizeStyle(i.value)},{default:y.withCtx(()=>[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(t.options,r=>(y.openBlock(),y.createBlock(Er,{key:r.value,modelValue:c.value,"onUpdate:modelValue":e[0]||(e[0]=u=>c.value=u),val:r,disable:r.disabled,color:"primary",class:"q-mb-sm q-ml-sm q-mr-sm","data-cy":`${s.value}-option-${r.label}`},{default:y.withCtx(()=>[y.createElementVNode("span",{class:y.normalizeClass({"text-italic":r.italic})},y.toDisplayString(r.label),3)]),_:2},1032,["modelValue","val","disable","data-cy"]))),128))]),_:1},8,["style"])]),_:1})]),_:1},8,["modelValue"])]),_:1},16,["label","data-cy"])]))}}),hu=Ht(du,[["__scopeId","data-v-b83ebff3"]]),pu=y.defineComponent({__name:"SelectSearch",props:{options:{default:()=>[]},fetchOptions:{},label:{default:"Selectionner un option"},modelValue:{default:null},rules:{},updateInputOnModelChange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:B}){const t=l,b=B,m=y.ref(),c=y.ref(t.modelValue??null),i=y.ref(""),s=y.ref(t.options??[]),n=y.ref(!1),e=y.ref(!0),r=y.ref(!1);y.watch(()=>t.options,g=>{s.value=g??[],u()},{immediate:!0}),y.watch(()=>t.modelValue,async g=>{if(t.updateInputOnModelChange){if(r.value=!0,t.fetchOptions&&g){const p=await t.fetchOptions("");s.value=p}c.value=g,u(),n.value=!1,await y.nextTick(),m.value?.updateInputValue(i.value,!0),setTimeout(()=>{r.value=!1},100)}else c.value=g});function u(){const g=s.value.find(p=>p.value===c.value);i.value=g?.label??""}function a(g){r.value||(c.value=g,b("update:modelValue",g),u(),n.value=!1)}function o(g){i.value=g,g===""&&(n.value=!0)}function d(){if(e.value){e.value=!1;return}c.value!==null&&!n.value?(i.value="",n.value=!0,m.value?.showPopup()):n.value&&(i.value="")}function h(){e.value=!0;const g=i.value.trim();if(g==="")n.value&&(c.value=null,b("update:modelValue",null));else{const p=s.value.find(k=>k.label.toLowerCase()===g.toLowerCase());p?(c.value=p.value,b("update:modelValue",p.value),i.value=p.label):u()}n.value=!1}function f(g,p,k){if(t.fetchOptions)t.fetchOptions(g).then(C=>{s.value=C,p(()=>{})}).catch(k).finally(()=>{});else{const C=t.options??[];s.value=C.filter(T=>T.label.toLowerCase().includes(g.toLowerCase())),p(()=>{})}}return y.onMounted(async()=>{if(t.fetchOptions&&t.modelValue){const g=await t.fetchOptions("");s.value=g,u()}}),(g,p)=>(y.openBlock(),y.createBlock(Un,y.mergeProps({ref_key:"selectRef",ref:m,"model-value":c.value,"input-value":i.value,"use-input":"","fill-input":"","hide-selected":"","input-debounce":"300",label:g.label,options:s.value,"map-options":"",dense:"",outlined:"",class:"full-width cursor-pointer"},g.$attrs,{"onUpdate:modelValue":a,"onUpdate:inputValue":o,onFocus:d,onBlur:h,onFilter:f}),null,16,["model-value","input-value","label","options"]))}}),mu=y.defineComponent({__name:"SelectYear",props:{modelValue:{},label:{default:"Sélectionner une année"},startYear:{default:2015},endYear:{default:void 0}},emits:["update:modelValue"],setup(l,{emit:B}){const t=l,b=B,m=y.computed(()=>{const s=t.startYear??new Date().getFullYear()-5,n=t.endYear??new Date().getFullYear(),e=[];for(let r=n;r>=s;r--)e.push({label:String(r),value:r});return e});function c(s){b("update:modelValue",s)}function i(){t.modelValue!==null&&b("update:modelValue",null)}return(s,n)=>(y.openBlock(),y.createBlock(Un,y.mergeProps({"model-value":s.modelValue,options:m.value,"option-value":"value","option-label":"label",label:s.label,dense:"","emit-value":"",outlined:"",class:"full-width cursor-pointer"},s.$attrs,{"onUpdate:modelValue":c,onFocus:i}),null,16,["model-value","options","label"]))}}),Ka=$e({name:"QAvatar",props:{...Or,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(l,{slots:B}){const t=Fr(l),b=y.computed(()=>"q-avatar"+(l.color?` bg-${l.color}`:"")+(l.textColor?` text-${l.textColor} q-chip--colored`:"")+(l.square===!0?" q-avatar--square":l.rounded===!0?" rounded-borders":"")),m=y.computed(()=>l.fontSize?{fontSize:l.fontSize}:null);return()=>{const c=l.icon!==void 0?[y.h(gt,{name:l.icon})]:void 0;return y.h("div",{class:b.value,style:t.value},[y.h("div",{class:"q-avatar__content row flex-center overflow-hidden",style:m.value},sa(B.default,c))])}}}),gu=$e({name:"QSpace",setup(){const l=y.h("div",{class:"q-space"});return()=>l}}),bu=["ul","ol"],Ji=$e({name:"QList",props:{...Ot,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(l,{slots:B}){const t=y.getCurrentInstance(),b=Ft(l,t.proxy.$q),m=y.computed(()=>bu.includes(l.tag)?null:"list"),c=y.computed(()=>"q-list"+(l.bordered===!0?" q-list--bordered":"")+(l.dense===!0?" q-list--dense":"")+(l.separator===!0?" q-list--separator":"")+(b.value===!0?" q-list--dark":"")+(l.padding===!0?" q-list--padding":""));return()=>y.h(l.tag,{class:c.value,role:m.value},bt(B.default))}}),Xa=$e({name:"QToolbar",props:{inset:Boolean},setup(l,{slots:B}){const t=y.computed(()=>"q-toolbar row no-wrap items-center"+(l.inset===!0?" q-toolbar--inset":""));return()=>y.h("div",{class:t.value,role:"toolbar"},bt(B.default))}}),vu=$e({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(l,{slots:B,emit:t}){const{proxy:{$q:b}}=y.getCurrentInstance(),m=y.inject($r,Rt);if(m===Rt)return console.error("QHeader needs to be child of QLayout"),Rt;const c=y.ref(parseInt(l.heightHint,10)),i=y.ref(!0),s=y.computed(()=>l.reveal===!0||m.view.value.indexOf("H")!==-1||b.platform.is.ios&&m.isContainer.value===!0),n=y.computed(()=>{if(l.modelValue!==!0)return 0;if(s.value===!0)return i.value===!0?c.value:0;const p=c.value-m.scroll.value.position;return p>0?p:0}),e=y.computed(()=>l.modelValue!==!0||s.value===!0&&i.value!==!0),r=y.computed(()=>l.modelValue===!0&&e.value===!0&&l.reveal===!0),u=y.computed(()=>"q-header q-layout__section--marginal "+(s.value===!0?"fixed":"absolute")+"-top"+(l.bordered===!0?" q-header--bordered":"")+(e.value===!0?" q-header--hidden":"")+(l.modelValue!==!0?" q-layout--prevent-focus":"")),a=y.computed(()=>{const p=m.rows.value.top,k={};return p[0]==="l"&&m.left.space===!0&&(k[b.lang.rtl===!0?"right":"left"]=`${m.left.size}px`),p[2]==="r"&&m.right.space===!0&&(k[b.lang.rtl===!0?"left":"right"]=`${m.right.size}px`),k});function o(p,k){m.update("header",p,k)}function d(p,k){p.value!==k&&(p.value=k)}function h({height:p}){d(c,p),o("size",p)}function f(p){r.value===!0&&d(i,!0),t("focusin",p)}y.watch(()=>l.modelValue,p=>{o("space",p),d(i,!0),m.animate()}),y.watch(n,p=>{o("offset",p)}),y.watch(()=>l.reveal,p=>{p===!1&&d(i,l.modelValue)}),y.watch(i,p=>{m.animate(),t("reveal",p)}),y.watch(m.scroll,p=>{l.reveal===!0&&d(i,p.direction==="up"||p.position<=l.revealOffset||p.position-p.inflectionPoint<100)});const g={};return m.instances.header=g,l.modelValue===!0&&o("size",c.value),o("space",l.modelValue),o("offset",n.value),y.onBeforeUnmount(()=>{m.instances.header===g&&(m.instances.header=void 0,o("size",0),o("offset",0),o("space",!1))}),()=>{const p=Mi(B.default,[]);return l.elevated===!0&&p.push(y.h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),p.push(y.h(Rr,{debounce:0,onResize:h})),y.h("header",{class:u.value,style:a.value,onFocusin:f},p)}}});function Yo(l){if(l===!1)return 0;if(l===!0||l===void 0)return 1;const B=parseInt(l,10);return isNaN(B)?0:B}const Ga=Ei({name:"close-popup",beforeMount(l,{value:B}){const t={depth:Yo(B),handler(b){t.depth!==0&&setTimeout(()=>{const m=Tl(l);m!==void 0&&Rl(m,b,t.depth)})},handlerKey(b){ir(b,13)===!0&&t.handler(b)}};l.__qclosepopup=t,l.addEventListener("click",t.handler),l.addEventListener("keyup",t.handlerKey)},updated(l,{value:B,oldValue:t}){B!==t&&(l.__qclosepopup.depth=Yo(B))},beforeUnmount(l){const B=l.__qclosepopup;l.removeEventListener("click",B.handler),l.removeEventListener("keyup",B.handlerKey),delete l.__qclosepopup}}),yu=["src","alt"],wu={key:0,class:"project-environment-container row items-center q-mr-md"},xu=y.defineComponent({__name:"SelfeeHeader",props:{logoSrc:{},logoAlt:{},logoTo:{},showProjectSwitch:{type:Boolean},currentProjectLabel:{},availableProjects:{},currentPath:{},environment:{}},emits:["project-change"],setup(l,{emit:B}){const t=l,b=t.logoAlt??"Logo",m=t.logoTo??"/",c=y.computed(()=>({width:"260px",height:"auto",borderRadius:"0"})),i=y.computed(()=>t.environment?t.environment.toUpperCase()!=="PROD":!1),s=y.computed(()=>`environment-badge--${t.environment?.toUpperCase()?.toLowerCase()}`),n=e=>t.currentPath?.startsWith(e);return(e,r)=>{const u=y.resolveComponent("router-link");return y.openBlock(),y.createBlock(vu,y.mergeProps({elevated:""},e.$attrs),{default:y.withCtx(()=>[y.createVNode(Xa,null,{default:y.withCtx(()=>[y.createVNode(u,{to:y.unref(m),class:"q-mr-lg"},{default:y.withCtx(()=>[y.createVNode(Ka,{class:"logo",style:y.normalizeStyle(c.value),"data-testid":"header-logo"},{default:y.withCtx(()=>[y.createElementVNode("img",{src:e.logoSrc,alt:y.unref(b)},null,8,yu)]),_:1},8,["style"])]),_:1},8,["to"]),y.createVNode(gu),e.showProjectSwitch||i.value?(y.openBlock(),y.createElementBlock("div",wu,[i.value?(y.openBlock(),y.createElementBlock("div",{key:0,class:y.normalizeClass(["environment-badge",s.value]),"data-testid":"environment-badge"},y.toDisplayString(e.environment),3)):y.createCommentVNode("",!0),e.showProjectSwitch?(y.openBlock(),y.createBlock(ut,{key:1,dense:"",unelevated:"",color:"primary",label:e.currentProjectLabel,"data-testid":"project-switch-btn",class:"project-switch-btn q-mr-md bg-info"},{default:y.withCtx(()=>[y.createVNode(Zr,{anchor:"bottom right",self:"top right"},{default:y.withCtx(()=>[y.createVNode(Ji,{dense:"",class:"project-menu"},{default:y.withCtx(()=>[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(e.availableProjects,a=>y.withDirectives((y.openBlock(),y.createBlock(Cr,{key:a.path,clickable:"",disable:n(a.path),onClick:o=>e.$emit("project-change",a.path)},{default:y.withCtx(()=>[y.createVNode(Ar,{class:"q-mr-lg"},{default:y.withCtx(()=>[y.createVNode(wi,null,{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(a.label),1)]),_:2},1024),n(a.path)?(y.openBlock(),y.createBlock(wi,{key:0,caption:""},{default:y.withCtx(()=>r[0]||(r[0]=[y.createTextVNode(" Actuel ")])),_:1,__:[0]})):y.createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["disable","onClick"])),[[Ga]])),128))]),_:1})]),_:1})]),_:1},8,["label"])):y.createCommentVNode("",!0)])):y.createCommentVNode("",!0),y.renderSlot(e.$slots,"user-avatar",{},void 0,!0)]),_:3})]),_:3},16)}}}),Su=Ht(xu,[["__scopeId","data-v-a4df46a4"]]),ku=$e({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(l,{slots:B,emit:t}){const{proxy:{$q:b}}=y.getCurrentInstance(),m=y.inject($r,Rt);if(m===Rt)return console.error("QFooter needs to be child of QLayout"),Rt;const c=y.ref(parseInt(l.heightHint,10)),i=y.ref(!0),s=y.ref(or.value===!0||m.isContainer.value===!0?0:window.innerHeight),n=y.computed(()=>l.reveal===!0||m.view.value.indexOf("F")!==-1||b.platform.is.ios&&m.isContainer.value===!0),e=y.computed(()=>m.isContainer.value===!0?m.containerHeight.value:s.value),r=y.computed(()=>{if(l.modelValue!==!0)return 0;if(n.value===!0)return i.value===!0?c.value:0;const T=m.scroll.value.position+e.value+c.value-m.height.value;return T>0?T:0}),u=y.computed(()=>l.modelValue!==!0||n.value===!0&&i.value!==!0),a=y.computed(()=>l.modelValue===!0&&u.value===!0&&l.reveal===!0),o=y.computed(()=>"q-footer q-layout__section--marginal "+(n.value===!0?"fixed":"absolute")+"-bottom"+(l.bordered===!0?" q-footer--bordered":"")+(u.value===!0?" q-footer--hidden":"")+(l.modelValue!==!0?" q-layout--prevent-focus"+(n.value!==!0?" hidden":""):"")),d=y.computed(()=>{const T=m.rows.value.bottom,D={};return T[0]==="l"&&m.left.space===!0&&(D[b.lang.rtl===!0?"right":"left"]=`${m.left.size}px`),T[2]==="r"&&m.right.space===!0&&(D[b.lang.rtl===!0?"left":"right"]=`${m.right.size}px`),D});function h(T,D){m.update("footer",T,D)}function f(T,D){T.value!==D&&(T.value=D)}function g({height:T}){f(c,T),h("size",T)}function p(){if(l.reveal!==!0)return;const{direction:T,position:D,inflectionPoint:V}=m.scroll.value;f(i,T==="up"||D-V<100||m.height.value-e.value-D-c.value<300)}function k(T){a.value===!0&&f(i,!0),t("focusin",T)}y.watch(()=>l.modelValue,T=>{h("space",T),f(i,!0),m.animate()}),y.watch(r,T=>{h("offset",T)}),y.watch(()=>l.reveal,T=>{T===!1&&f(i,l.modelValue)}),y.watch(i,T=>{m.animate(),t("reveal",T)}),y.watch([c,m.scroll,m.height],p),y.watch(()=>b.screen.height,T=>{m.isContainer.value!==!0&&f(s,T)});const C={};return m.instances.footer=C,l.modelValue===!0&&h("size",c.value),h("space",l.modelValue),h("offset",r.value),y.onBeforeUnmount(()=>{m.instances.footer===C&&(m.instances.footer=void 0,h("size",0),h("offset",0),h("space",!1))}),()=>{const T=It(B.default,[y.h(Rr,{debounce:0,onResize:g})]);return l.elevated===!0&&T.push(y.h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),y.h("footer",{class:o.value,style:d.value,onFocusin:k},T)}}}),_u={class:"row justify-between"},Cu={class:"col-3 q-py-md flex justify-center"},Au={class:"col-3 q-py-md flex justify-center"},Eu={class:"col-3 q-py-md flex justify-center"},Mu=y.defineComponent({__name:"SelfeeFooter",props:{frontVersion:{},backVersion:{},platform:{}},setup(l){return(B,t)=>(y.openBlock(),y.createBlock(ku,y.mergeProps({elevated:""},B.$attrs),{default:y.withCtx(()=>[y.createElementVNode("div",_u,[y.createElementVNode("div",Cu," Front: "+y.toDisplayString(B.frontVersion),1),y.createElementVNode("div",Au," Back: "+y.toDisplayString(B.backVersion),1),y.createElementVNode("div",Eu," Platform: "+y.toDisplayString(B.platform),1)])]),_:1},16))}}),Tu={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},oi={xs:2,sm:4,md:8,lg:16,xl:24},Hr=$e({name:"QSeparator",props:{...Ot,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(l){const B=y.getCurrentInstance(),t=Ft(l,B.proxy.$q),b=y.computed(()=>l.vertical===!0?"vertical":"horizontal"),m=y.computed(()=>` q-separator--${b.value}`),c=y.computed(()=>l.inset!==!1?`${m.value}-${Tu[l.inset]}`:""),i=y.computed(()=>`q-separator${m.value}${c.value}`+(l.color!==void 0?` bg-${l.color}`:"")+(t.value===!0?" q-separator--dark":"")),s=y.computed(()=>{const n={};if(l.size!==void 0&&(n[l.vertical===!0?"width":"height"]=l.size),l.spaced!==!1){const e=l.spaced===!0?`${oi.md}px`:l.spaced in oi?`${oi[l.spaced]}px`:l.spaced,r=l.vertical===!0?["Left","Right"]:["Top","Bottom"];n[`margin${r[0]}`]=n[`margin${r[1]}`]=e}return n});return()=>y.h("hr",{class:i.value,style:s.value,"aria-orientation":b.value})}}),Ru=$e({name:"QToggle",props:{...wa,icon:String,iconColor:String},emits:xa,setup(l){function B(t,b){const m=y.computed(()=>(t.value===!0?l.checkedIcon:b.value===!0?l.indeterminateIcon:l.uncheckedIcon)||l.icon),c=y.computed(()=>t.value===!0?l.iconColor:null);return()=>[y.h("div",{class:"q-toggle__track"}),y.h("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},m.value!==void 0?[y.h(gt,{name:m.value,color:c.value})]:void 0)]}return Sa("toggle",B)}}),Bu={class:"text-h6 text-primary","data-testid":"avatar-initial"},Iu={class:"text-weight-bold"},Ou={class:"row items-center q-gutter-sm"},Fu={class:"version-info"},ju={class:"text-caption"},Du={class:"text-caption"},Pu={class:"text-caption"},Nu=y.defineComponent({__name:"UserAvatar",props:{username:{},onLogout:{},logoutLabel:{default:"Déconnexion"},frontVersion:{default:"N/A"},backVersion:{default:"N/A"},platform:{default:"N/A"},showVersionInfo:{type:Boolean,default:!0},showFilterToggle:{type:Boolean,default:!1},persistFilters:{type:Boolean,default:!1}},emits:["toggle-filter-persistence"],setup(l,{emit:B}){const t=l,b=y.computed(()=>t.username?.charAt(0).toUpperCase()??"");return(m,c)=>(y.openBlock(),y.createElementBlock("div",null,[y.createVNode(Ka,{class:"cursor-pointer",size:"40px",color:"white","data-cy":"cy-avatar","data-testid":"cy-avatar"},{default:y.withCtx(()=>[y.createElementVNode("span",Bu,y.toDisplayString(b.value),1),y.createVNode(Zr,{"transition-show":"flip-right","transition-hide":"flip-left",class:"user-avatar-menu"},{default:y.withCtx(()=>[y.createVNode(Ji,{class:"user-menu-list"},{default:y.withCtx(()=>[y.createVNode(Cr,{class:"user-info-section"},{default:y.withCtx(()=>[y.createVNode(Ar,null,{default:y.withCtx(()=>[y.createElementVNode("div",Iu,y.toDisplayString(m.username),1)]),_:1})]),_:1}),y.createVNode(Hr),m.showFilterToggle?(y.openBlock(),y.createBlock(Cr,{key:0,class:"filter-toggle-section"},{default:y.withCtx(()=>[y.createVNode(Ar,null,{default:y.withCtx(()=>[y.createElementVNode("div",Ou,[c[1]||(c[1]=y.createElementVNode("span",{class:"text-caption"},"Filtres persistants",-1)),y.createVNode(Ru,{"model-value":m.persistFilters,"onUpdate:modelValue":c[0]||(c[0]=i=>m.$emit("toggle-filter-persistence",i)),size:"sm","data-cy":"filter-persistence-toggle"},null,8,["model-value"])])]),_:1})]),_:1})):y.createCommentVNode("",!0),m.showFilterToggle?(y.openBlock(),y.createBlock(Hr,{key:1})):y.createCommentVNode("",!0),m.showVersionInfo?(y.openBlock(),y.createBlock(Cr,{key:2,class:"version-info-section"},{default:y.withCtx(()=>[y.createVNode(Ar,null,{default:y.withCtx(()=>[y.createElementVNode("div",Fu,[c[2]||(c[2]=y.createElementVNode("div",{class:"text-caption text-grey-7"},"Informations de version",-1)),y.createElementVNode("div",ju,"Front: "+y.toDisplayString(m.frontVersion),1),y.createElementVNode("div",Du,"Back: "+y.toDisplayString(m.backVersion),1),y.createElementVNode("div",Pu,"Plateforme: "+y.toDisplayString(m.platform),1)])]),_:1})]),_:1})):y.createCommentVNode("",!0),m.showVersionInfo?(y.openBlock(),y.createBlock(Hr,{key:3})):y.createCommentVNode("",!0),y.createVNode(Cr,{clickable:"",class:"logout-section","data-cy":"cy-logout-button","data-testid":"cy-logout-button",onClick:m.onLogout},{default:y.withCtx(()=>[y.createVNode(Ar,null,{default:y.withCtx(()=>[y.createElementVNode("div",null,y.toDisplayString(m.logoutLabel),1)]),_:1})]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]))}}),Lu=Ht(Nu,[["__scopeId","data-v-d9b256cf"]]),Vu=$e({name:"QPageContainer",setup(l,{slots:B}){const{proxy:{$q:t}}=y.getCurrentInstance(),b=y.inject($r,Rt);if(b===Rt)return console.error("QPageContainer needs to be child of QLayout"),Rt;y.provide(La,!0);const m=y.computed(()=>{const c={};return b.header.space===!0&&(c.paddingTop=`${b.header.size}px`),b.right.space===!0&&(c[`padding${t.lang.rtl===!0?"Left":"Right"}`]=`${b.right.size}px`),b.footer.space===!0&&(c.paddingBottom=`${b.footer.size}px`),b.left.space===!0&&(c[`padding${t.lang.rtl===!0?"Right":"Left"}`]=`${b.left.size}px`),c});return()=>y.h("div",{class:"q-page-container",style:m.value},bt(B.default))}}),qu=$e({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:l=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(l.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(l,{slots:B,emit:t}){const{proxy:{$q:b}}=y.getCurrentInstance(),m=y.ref(null),c=y.ref(b.screen.height),i=y.ref(l.container===!0?0:b.screen.width),s=y.ref({position:0,direction:"down",inflectionPoint:0}),n=y.ref(0),e=y.ref(or.value===!0?0:xn()),r=y.computed(()=>"q-layout q-layout--"+(l.container===!0?"containerized":"standard")),u=y.computed(()=>l.container===!1?{minHeight:b.screen.height+"px"}:null),a=y.computed(()=>e.value!==0?{[b.lang.rtl===!0?"left":"right"]:`${e.value}px`}:null),o=y.computed(()=>e.value!==0?{[b.lang.rtl===!0?"right":"left"]:0,[b.lang.rtl===!0?"left":"right"]:`-${e.value}px`,width:`calc(100% + ${e.value}px)`}:null);function d(C){if(l.container===!0||document.qScrollPrevented!==!0){const T={position:C.position.top,direction:C.direction,directionChanged:C.directionChanged,inflectionPoint:C.inflectionPoint.top,delta:C.delta.top};s.value=T,l.onScroll!==void 0&&t("scroll",T)}}function h(C){const{height:T,width:D}=C;let V=!1;c.value!==T&&(V=!0,c.value=T,l.onScrollHeight!==void 0&&t("scrollHeight",T),g()),i.value!==D&&(V=!0,i.value=D),V===!0&&l.onResize!==void 0&&t("resize",C)}function f({height:C}){n.value!==C&&(n.value=C,g())}function g(){if(l.container===!0){const C=c.value>n.value?xn():0;e.value!==C&&(e.value=C)}}let p=null;const k={instances:{},view:y.computed(()=>l.view),isContainer:y.computed(()=>l.container),rootRef:m,height:c,containerHeight:n,scrollbarWidth:e,totalWidth:y.computed(()=>i.value+e.value),rows:y.computed(()=>{const C=l.view.toLowerCase().split(" ");return{top:C[0].split(""),middle:C[1].split(""),bottom:C[2].split("")}}),header:y.reactive({size:0,offset:0,space:!1}),right:y.reactive({size:300,offset:0,space:!1}),footer:y.reactive({size:0,offset:0,space:!1}),left:y.reactive({size:300,offset:0,space:!1}),scroll:s,animate(){p!==null?clearTimeout(p):document.body.classList.add("q-body--layout-animate"),p=setTimeout(()=>{p=null,document.body.classList.remove("q-body--layout-animate")},155)},update(C,T,D){k[C][T]=D}};if(y.provide($r,k),xn()>0){let C=function(){V=null,P.classList.remove("hide-scrollbar")},T=function(){if(V===null){if(P.scrollHeight>b.screen.height)return;P.classList.add("hide-scrollbar")}else clearTimeout(V);V=setTimeout(C,300)},D=function(N){V!==null&&N==="remove"&&(clearTimeout(V),C()),window[`${N}EventListener`]("resize",T)},V=null;const P=document.body;y.watch(()=>l.container!==!0?"add":"remove",D),l.container!==!0&&D("add"),y.onUnmounted(()=>{D("remove")})}return()=>{const C=It(B.default,[y.h(Ea,{onScroll:d}),y.h(Rr,{onResize:h})]),T=y.h("div",{class:r.value,style:u.value,ref:l.container===!0?void 0:m,tabindex:-1},C);return l.container===!0?y.h("div",{class:"q-layout-container overflow-hidden",ref:m},[y.h(Rr,{onResize:f}),y.h("div",{class:"absolute-full",style:a.value},[y.h("div",{class:"scroll",style:o.value},[T])])]):T}}}),Zi=y.defineComponent({name:"Layout",__name:"Layout",props:{view:{default:"HHh Lpr Fff"},layoutClass:{default:"bg-white"},pageContainerClass:{default:""}},setup(l){return(B,t)=>(y.openBlock(),y.createBlock(qu,{view:B.view,class:y.normalizeClass(B.layoutClass),style:{minHeight:"auto !important"}},{default:y.withCtx(()=>[y.renderSlot(B.$slots,"header"),y.createVNode(Vu,{class:y.normalizeClass(B.pageContainerClass),style:{paddingBottom:"0 !important"}},{default:y.withCtx(()=>[y.renderSlot(B.$slots,"default")]),_:3},8,["class"]),y.renderSlot(B.$slots,"footer")]),_:3},8,["view","class"]))}});function zu(){let l=Object.create(null);return{getCache:(B,t)=>l[B]===void 0?l[B]=typeof t=="function"?t():t:l[B],setCache(B,t){l[B]=t},hasCache(B){return Object.hasOwnProperty.call(l,B)},clearCache(B){B!==void 0?delete l[B]:l=Object.create(null)}}}const nr=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function Uu(l,B,t){return Object.prototype.toString.call(l)==="[object Date]"&&(t=l.getDate(),B=l.getMonth()+1,l=l.getFullYear()),Qu($i(l,B,t))}function Qo(l,B,t){return Za(Yu(l,B,t))}function Wu(l){return Hu(l)===0}function Sn(l,B){return B<=6?31:B<=11||Wu(l)?30:29}function Hu(l){const B=nr.length;let t=nr[0],b,m,c,i,s;if(l<t||l>=nr[B-1])throw new Error("Invalid Jalaali year "+l);for(s=1;s<B&&(b=nr[s],m=b-t,!(l<b));s+=1)t=b;return i=l-t,m-i<6&&(i=i-m+wt(m+4,33)*33),c=Pt(Pt(i+1,33)-1,4),c===-1&&(c=4),c}function Ja(l,B){const t=nr.length,b=l+621;let m=-14,c=nr[0],i,s,n,e,r;if(l<c||l>=nr[t-1])throw new Error("Invalid Jalaali year "+l);for(r=1;r<t&&(i=nr[r],s=i-c,!(l<i));r+=1)m=m+wt(s,33)*8+wt(Pt(s,33),4),c=i;e=l-c,m=m+wt(e,33)*8+wt(Pt(e,33)+3,4),Pt(s,33)===4&&s-e===4&&(m+=1);const u=wt(b,4)-wt((wt(b,100)+1)*3,4)-150,a=20+m-u;return B||(s-e<6&&(e=e-s+wt(s+4,33)*33),n=Pt(Pt(e+1,33)-1,4),n===-1&&(n=4)),{leap:n,gy:b,march:a}}function Yu(l,B,t){const b=Ja(l,!0);return $i(b.gy,3,b.march)+(B-1)*31-wt(B,7)*(B-7)+t-1}function Qu(l){const B=Za(l).gy;let t=B-621,b,m,c;const i=Ja(t,!1),s=$i(B,3,i.march);if(c=l-s,c>=0){if(c<=185)return m=1+wt(c,31),b=Pt(c,31)+1,{jy:t,jm:m,jd:b};c-=186}else t-=1,c+=179,i.leap===1&&(c+=1);return m=7+wt(c,30),b=Pt(c,30)+1,{jy:t,jm:m,jd:b}}function $i(l,B,t){let b=wt((l+wt(B-8,6)+100100)*1461,4)+wt(153*Pt(B+9,12)+2,5)+t-34840408;return b=b-wt(wt(l+100100+wt(B-8,6),100)*3,4)+752,b}function Za(l){let B=4*l+139361631;B=B+wt(wt(4*l+183187720,146097)*3,4)*4-3908;const t=wt(Pt(B,1461),4)*5+308,b=wt(Pt(t,153),5)+1,m=Pt(wt(t,153),12)+1;return{gy:wt(B,1461)-100100+wt(8-m,6),gm:m,gd:b}}function wt(l,B){return~~(l/B)}function Pt(l,B){return l-~~(l/B)*B}const Ku=["gregorian","persian"],Ko={mask:{type:String},locale:Object,calendar:{type:String,validator:l=>Ku.includes(l),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},Xu=["update:modelValue"];function $t(l){return l.year+"/"+vt(l.month)+"/"+vt(l.day)}function Gu(l,B){const t=y.computed(()=>l.disable!==!0&&l.readonly!==!0),b=y.computed(()=>t.value===!0?0:-1),m=y.computed(()=>{const s=[];return l.color!==void 0&&s.push(`bg-${l.color}`),l.textColor!==void 0&&s.push(`text-${l.textColor}`),s.join(" ")});function c(){return l.locale!==void 0?{...B.lang.date,...l.locale}:B.lang.date}function i(s){const n=new Date,e=s===!0?null:0;if(l.calendar==="persian"){const r=Uu(n);return{year:r.jy,month:r.jm,day:r.jd}}return{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:e,minute:e,second:e,millisecond:e}}return{editable:t,tabindex:b,headerClass:m,getLocale:c,getCurrentDate:i}}const ki={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:l=>l?`Expand "${l}"`:"Expand",collapse:l=>l?`Collapse "${l}"`:"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:l=>`Previous ${l} years`,nextRangeYears:l=>`Next ${l} years`},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:l=>l===1?"1 record selected.":(l===0?"No":l)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(l,B,t)=>l+"-"+B+" of "+t,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 Xo(){const l=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof l=="string")return l.split(/[-_]/).map((B,t)=>t===0?B.toLowerCase():t>1||B.length<4?B.toUpperCase():B[0].toUpperCase()+B.slice(1).toLowerCase()).join("-")}const tr=_s({__qLang:{}},{getLocale:Xo,set(l=ki,B){const t={...l,rtl:l.rtl===!0,getLocale:Xo};{if(t.set=tr.set,tr.__langConfig===void 0||tr.__langConfig.noHtmlAttrs!==!0){const b=document.documentElement;b.setAttribute("dir",t.rtl===!0?"rtl":"ltr"),b.setAttribute("lang",t.isoName)}Object.assign(tr.__qLang,t)}},install({$q:l,lang:B,ssrContext:t}){l.lang=tr.__qLang,tr.__langConfig=l.config.lang,this.__installed===!0?B!==void 0&&this.set(B):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(b){return Reflect.ownKeys(b).filter(m=>m!=="set"&&m!=="getLocale")}}),this.set(B||ki))}}),$a=864e5,Ju=36e5,_i=6e4,es="YYYY-MM-DDTHH:mm:ss.SSSZ",Zu=/\[((?:[^\]\\]|\\]|\\)*)\]|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,$u=/(\[[^\]]*\])|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,ai={};function ec(l,B){const t="("+B.days.join("|")+")",b=l+t;if(ai[b]!==void 0)return ai[b];const m="("+B.daysShort.join("|")+")",c="("+B.months.join("|")+")",i="("+B.monthsShort.join("|")+")",s={};let n=0;const e=l.replace($u,u=>{switch(n++,u){case"YY":return s.YY=n,"(-?\\d{1,2})";case"YYYY":return s.YYYY=n,"(-?\\d{1,4})";case"M":return s.M=n,"(\\d{1,2})";case"Mo":return s.M=n++,"(\\d{1,2}(st|nd|rd|th))";case"MM":return s.M=n,"(\\d{2})";case"MMM":return s.MMM=n,i;case"MMMM":return s.MMMM=n,c;case"D":return s.D=n,"(\\d{1,2})";case"Do":return s.D=n++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=n,"(\\d{2})";case"H":return s.H=n,"(\\d{1,2})";case"HH":return s.H=n,"(\\d{2})";case"h":return s.h=n,"(\\d{1,2})";case"hh":return s.h=n,"(\\d{2})";case"m":return s.m=n,"(\\d{1,2})";case"mm":return s.m=n,"(\\d{2})";case"s":return s.s=n,"(\\d{1,2})";case"ss":return s.s=n,"(\\d{2})";case"S":return s.S=n,"(\\d{1})";case"SS":return s.S=n,"(\\d{2})";case"SSS":return s.S=n,"(\\d{3})";case"A":return s.A=n,"(AM|PM)";case"a":return s.a=n,"(am|pm)";case"aa":return s.aa=n,"(a\\.m\\.|p\\.m\\.)";case"ddd":return m;case"dddd":return t;case"Q":case"d":case"E":return"(\\d{1})";case"do":return n++,"(\\d{1}(st|nd|rd|th))";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"DDDo":return n++,"(\\d{1,3}(st|nd|rd|th))";case"w":return"(\\d{1,2})";case"wo":return n++,"(\\d{1,2}(st|nd|rd|th))";case"ww":return"(\\d{2})";case"Z":return s.Z=n,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=n,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=n,"(-?\\d+)";case"x":return s.x=n,"(-?\\d{4,})";default:return n--,u[0]==="["&&(u=u.substring(1,u.length-1)),u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),r={map:s,regex:new RegExp("^"+e)};return ai[b]=r,r}function ts(l,B){return l!==void 0?l:B!==void 0?B.date:ki.date}function Go(l,B=""){const t=l>0?"-":"+",b=Math.abs(l),m=Math.floor(b/60),c=b%60;return t+vt(m)+B+vt(c)}function tc(l,B,t){let b=l.getFullYear(),m=l.getMonth();const c=l.getDate();return B.year!==void 0&&(b+=t*B.year,delete B.year),B.month!==void 0&&(m+=t*B.month,delete B.month),l.setDate(1),l.setMonth(2),l.setFullYear(b),l.setMonth(m),l.setDate(Math.min(c,ro(l))),B.date!==void 0&&(l.setDate(l.getDate()+t*B.date),delete B.date),l}function rc(l,B,t){const b=B.year!==void 0?B.year:l[`get${t}FullYear`](),m=B.month!==void 0?B.month-1:l[`get${t}Month`](),c=new Date(b,m+1,0).getDate(),i=Math.min(c,B.date!==void 0?B.date:l[`get${t}Date`]());return l[`set${t}Date`](1),l[`set${t}Month`](2),l[`set${t}FullYear`](b),l[`set${t}Month`](m),l[`set${t}Date`](i),delete B.year,delete B.month,delete B.date,l}function eo(l,B,t){const b=rs(B),m=new Date(l),c=b.year!==void 0||b.month!==void 0||b.date!==void 0?tc(m,b,t):m;for(const i in b){const s=xl(i);c[`set${s}`](c[`get${s}`]()+t*b[i])}return c}function rs(l){const B={...l};return l.years!==void 0&&(B.year=l.years,delete B.years),l.months!==void 0&&(B.month=l.months,delete B.months),l.days!==void 0&&(B.date=l.days,delete B.days),l.day!==void 0&&(B.date=l.day,delete B.day),l.hour!==void 0&&(B.hours=l.hour,delete B.hour),l.minute!==void 0&&(B.minutes=l.minute,delete B.minute),l.second!==void 0&&(B.seconds=l.second,delete B.second),l.millisecond!==void 0&&(B.milliseconds=l.millisecond,delete B.millisecond),B}function ns(l,B,t){const b=rs(B),m=t===!0?"UTC":"",c=new Date(l),i=b.year!==void 0||b.month!==void 0||b.date!==void 0?rc(c,b,m):c;for(const s in b){const n=s.charAt(0).toUpperCase()+s.slice(1);i[`set${m}${n}`](b[s])}return i}function nc(l,B,t){const b=is(l,B,t),m=new Date(b.year,b.month===null?null:b.month-1,b.day===null?1:b.day,b.hour,b.minute,b.second,b.millisecond),c=m.getTimezoneOffset();return b.timezoneOffset===null||b.timezoneOffset===c?m:eo(m,{minutes:b.timezoneOffset-c},1)}function is(l,B,t,b,m){const c={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(m!==void 0&&Object.assign(c,m),l==null||l===""||typeof l!="string")return c;B===void 0&&(B=es);const i=ts(t,tr.props),s=i.months,n=i.monthsShort,{regex:e,map:r}=ec(B,i),u=l.match(e);if(u===null)return c;let a="";if(r.X!==void 0||r.x!==void 0){const o=parseInt(u[r.X!==void 0?r.X:r.x],10);if(isNaN(o)===!0||o<0)return c;const d=new Date(o*(r.X!==void 0?1e3:1));c.year=d.getFullYear(),c.month=d.getMonth()+1,c.day=d.getDate(),c.hour=d.getHours(),c.minute=d.getMinutes(),c.second=d.getSeconds(),c.millisecond=d.getMilliseconds()}else{if(r.YYYY!==void 0)c.year=parseInt(u[r.YYYY],10);else if(r.YY!==void 0){const o=parseInt(u[r.YY],10);c.year=o<0?o:2e3+o}if(r.M!==void 0){if(c.month=parseInt(u[r.M],10),c.month<1||c.month>12)return c}else r.MMM!==void 0?c.month=n.indexOf(u[r.MMM])+1:r.MMMM!==void 0&&(c.month=s.indexOf(u[r.MMMM])+1);if(r.D!==void 0){if(c.day=parseInt(u[r.D],10),c.year===null||c.month===null||c.day<1)return c;const o=b!=="persian"?new Date(c.year,c.month,0).getDate():Sn(c.year,c.month);if(c.day>o)return c}r.H!==void 0?c.hour=parseInt(u[r.H],10)%24:r.h!==void 0&&(c.hour=parseInt(u[r.h],10)%12,(r.A&&u[r.A]==="PM"||r.a&&u[r.a]==="pm"||r.aa&&u[r.aa]==="p.m.")&&(c.hour+=12),c.hour=c.hour%24),r.m!==void 0&&(c.minute=parseInt(u[r.m],10)%60),r.s!==void 0&&(c.second=parseInt(u[r.s],10)%60),r.S!==void 0&&(c.millisecond=parseInt(u[r.S],10)*10**(3-u[r.S].length)),(r.Z!==void 0||r.ZZ!==void 0)&&(a=r.Z!==void 0?u[r.Z].replace(":",""):u[r.ZZ],c.timezoneOffset=(a[0]==="+"?-1:1)*(60*a.slice(1,3)+1*a.slice(3,5)))}return c.dateHash=vt(c.year,4)+"/"+vt(c.month)+"/"+vt(c.day),c.timeHash=vt(c.hour)+":"+vt(c.minute)+":"+vt(c.second)+a,c}function ic(l){return typeof l=="number"?!0:isNaN(Date.parse(l))===!1}function oc(l,B){return ns(new Date,l,B)}function ac(l){const B=new Date(l).getDay();return B===0?7:B}function kn(l){const B=new Date(l.getFullYear(),l.getMonth(),l.getDate());B.setDate(B.getDate()-(B.getDay()+6)%7+3);const t=new Date(B.getFullYear(),0,4);t.setDate(t.getDate()-(t.getDay()+6)%7+3);const b=B.getTimezoneOffset()-t.getTimezoneOffset();B.setHours(B.getHours()-b);const m=(B-t)/($a*7);return 1+Math.floor(m)}function sc(l){return l.getFullYear()*1e4+l.getMonth()*100+l.getDate()}function si(l,B){const t=new Date(l);return B===!0?sc(t):t.getTime()}function lc(l,B,t,b={}){const m=si(B,b.onlyDate),c=si(t,b.onlyDate),i=si(l,b.onlyDate);return(i>m||b.inclusiveFrom===!0&&i===m)&&(i<c||b.inclusiveTo===!0&&i===c)}function uc(l,B){return eo(l,B,1)}function cc(l,B){return eo(l,B,-1)}function Wt(l,B,t){const b=new Date(l),m=`set${t===!0?"UTC":""}`;switch(B){case"year":case"years":b[`${m}Month`](0);case"month":case"months":b[`${m}Date`](1);case"day":case"days":case"date":b[`${m}Hours`](0);case"hour":case"hours":b[`${m}Minutes`](0);case"minute":case"minutes":b[`${m}Seconds`](0);case"second":case"seconds":b[`${m}Milliseconds`](0)}return b}function fc(l,B,t){const b=new Date(l),m=`set${t===!0?"UTC":""}`;switch(B){case"year":case"years":b[`${m}Month`](11);case"month":case"months":b[`${m}Date`](ro(b));case"day":case"days":case"date":b[`${m}Hours`](23);case"hour":case"hours":b[`${m}Minutes`](59);case"minute":case"minutes":b[`${m}Seconds`](59);case"second":case"seconds":b[`${m}Milliseconds`](999)}return b}function dc(l){let B=new Date(l);return Array.prototype.slice.call(arguments,1).forEach(t=>{B=Math.max(B,new Date(t))}),B}function hc(l){let B=new Date(l);return Array.prototype.slice.call(arguments,1).forEach(t=>{B=Math.min(B,new Date(t))}),B}function pn(l,B,t){return(l.getTime()-l.getTimezoneOffset()*_i-(B.getTime()-B.getTimezoneOffset()*_i))/t}function to(l,B,t="days"){const b=new Date(l),m=new Date(B);switch(t){case"years":case"year":return b.getFullYear()-m.getFullYear();case"months":case"month":return(b.getFullYear()-m.getFullYear())*12+b.getMonth()-m.getMonth();case"days":case"day":case"date":return pn(Wt(b,"day"),Wt(m,"day"),$a);case"hours":case"hour":return pn(Wt(b,"hour"),Wt(m,"hour"),Ju);case"minutes":case"minute":return pn(Wt(b,"minute"),Wt(m,"minute"),_i);case"seconds":case"second":return pn(Wt(b,"second"),Wt(m,"second"),1e3)}}function _n(l){return to(l,Wt(l,"year"),"days")+1}function pc(l){return On(l)===!0?"date":typeof l=="number"?"number":"string"}function mc(l,B,t){const b=new Date(l);if(B){const m=new Date(B);if(b<m)return m}if(t){const m=new Date(t);if(b>m)return m}return b}function gc(l,B,t){const b=new Date(l),m=new Date(B);if(t===void 0)return b.getTime()===m.getTime();switch(t){case"second":case"seconds":if(b.getSeconds()!==m.getSeconds())return!1;case"minute":case"minutes":if(b.getMinutes()!==m.getMinutes())return!1;case"hour":case"hours":if(b.getHours()!==m.getHours())return!1;case"day":case"days":case"date":if(b.getDate()!==m.getDate())return!1;case"month":case"months":if(b.getMonth()!==m.getMonth())return!1;case"year":case"years":if(b.getFullYear()!==m.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${t}`)}return!0}function ro(l){return new Date(l.getFullYear(),l.getMonth()+1,0).getDate()}function Sr(l){if(l>=11&&l<=13)return`${l}th`;switch(l%10){case 1:return`${l}st`;case 2:return`${l}nd`;case 3:return`${l}rd`}return`${l}th`}const Jo={YY(l,B,t){const b=this.YYYY(l,B,t)%100;return b>=0?vt(b):"-"+vt(Math.abs(b))},YYYY(l,B,t){return t??l.getFullYear()},M(l){return l.getMonth()+1},Mo(l){return Sr(l.getMonth()+1)},MM(l){return vt(l.getMonth()+1)},MMM(l,B){return B.monthsShort[l.getMonth()]},MMMM(l,B){return B.months[l.getMonth()]},Q(l){return Math.ceil((l.getMonth()+1)/3)},Qo(l){return Sr(this.Q(l))},D(l){return l.getDate()},Do(l){return Sr(l.getDate())},DD(l){return vt(l.getDate())},DDD(l){return _n(l)},DDDo(l){return Sr(_n(l))},DDDD(l){return vt(_n(l),3)},d(l){return l.getDay()},do(l){return Sr(l.getDay())},dd(l,B){return B.days[l.getDay()].slice(0,2)},ddd(l,B){return B.daysShort[l.getDay()]},dddd(l,B){return B.days[l.getDay()]},E(l){return l.getDay()||7},w(l){return kn(l)},wo(l){return Sr(kn(l))},ww(l){return vt(kn(l))},H(l){return l.getHours()},HH(l){return vt(l.getHours())},h(l){const B=l.getHours();return B===0?12:B>12?B%12:B},hh(l){return vt(this.h(l))},m(l){return l.getMinutes()},mm(l){return vt(l.getMinutes())},s(l){return l.getSeconds()},ss(l){return vt(l.getSeconds())},S(l){return Math.floor(l.getMilliseconds()/100)},SS(l){return vt(Math.floor(l.getMilliseconds()/10))},SSS(l){return vt(l.getMilliseconds(),3)},A(l){return l.getHours()<12?"AM":"PM"},a(l){return l.getHours()<12?"am":"pm"},aa(l){return l.getHours()<12?"a.m.":"p.m."},Z(l,B,t,b){const m=b??l.getTimezoneOffset();return Go(m,":")},ZZ(l,B,t,b){const m=b??l.getTimezoneOffset();return Go(m)},X(l){return Math.floor(l.getTime()/1e3)},x(l){return l.getTime()}};function os(l,B,t,b,m){if(l!==0&&!l||l===1/0||l===-1/0)return;const c=new Date(l);if(isNaN(c))return;B===void 0&&(B=es);const i=ts(t,tr.props);return B.replace(Zu,(s,n)=>s in Jo?Jo[s](c,i,b,m):n===void 0?s:n.split("\\]").join("]"))}function bc(l){return On(l)===!0?new Date(l.getTime()):l}const as={isValid:ic,extractDate:nc,buildDate:oc,getDayOfWeek:ac,getWeekOfYear:kn,isBetweenDates:lc,addToDate:uc,subtractFromDate:cc,adjustDate:ns,startOfDate:Wt,endOfDate:fc,getMaxDate:dc,getMinDate:hc,getDateDiff:to,getDayOfYear:_n,inferDateFormat:pc,getDateBetween:mc,isSameDate:gc,daysInMonth:ro,formatDate:os,clone:bc},Qt=20,vc=["Calendar","Years","Months"],Zo=l=>vc.includes(l),li=l=>/^-?[\d]+\/[0-1]\d$/.test(l),kr=" — ";function er(l){return l.year+"/"+vt(l.month)}const ss=$e({name:"QDate",props:{...Ko,...Nn,...Ot,modelValue:{required:!0,validator:l=>typeof l=="string"||Array.isArray(l)===!0||Object(l)===l||l===null},multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{...Ko.mask,default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:li},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:li},navigationMaxYearMonth:{type:String,validator:li},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:Zo}},emits:[...Xu,"rangeStart","rangeEnd","navigation"],setup(l,{slots:B,emit:t}){const{proxy:b}=y.getCurrentInstance(),{$q:m}=b,c=Ft(l,m),{getCache:i}=zu(),{tabindex:s,headerClass:n,getLocale:e,getCurrentDate:r}=Gu(l,m);let u;const a=al(l),o=va(a),d=y.ref(null),h=y.ref(Ue()),f=y.ref(e()),g=y.computed(()=>Ue()),p=y.computed(()=>e()),k=y.computed(()=>r()),C=y.ref(Le(h.value,f.value)),T=y.ref(l.defaultView),D=y.computed(()=>m.lang.rtl===!0?"right":"left"),V=y.ref(D.value),P=y.ref(D.value),N=C.value.year,q=y.ref(N-N%Qt-(N<0?Qt:0)),W=y.ref(null),L=y.computed(()=>{const re=l.landscape===!0?"landscape":"portrait";return`q-date q-date--${re} q-date--${re}-${l.minimal===!0?"minimal":"standard"}`+(c.value===!0?" q-date--dark q-dark":"")+(l.bordered===!0?" q-date--bordered":"")+(l.square===!0?" q-date--square no-border-radius":"")+(l.flat===!0?" q-date--flat no-shadow":"")+(l.disable===!0?" disabled":l.readonly===!0?" q-date--readonly":"")}),A=y.computed(()=>l.color||"primary"),M=y.computed(()=>l.textColor||"white"),_=y.computed(()=>l.emitImmediately===!0&&l.multiple!==!0&&l.range!==!0),v=y.computed(()=>Array.isArray(l.modelValue)===!0?l.modelValue:l.modelValue!==null&&l.modelValue!==void 0?[l.modelValue]:[]),x=y.computed(()=>v.value.filter(re=>typeof re=="string").map(re=>Ne(re,h.value,f.value)).filter(re=>re.dateHash!==null&&re.day!==null&&re.month!==null&&re.year!==null)),w=y.computed(()=>{const re=X=>Ne(X,h.value,f.value);return v.value.filter(X=>Qa(X)===!0&&X.from!==void 0&&X.to!==void 0).map(X=>({from:re(X.from),to:re(X.to)})).filter(X=>X.from.dateHash!==null&&X.to.dateHash!==null&&X.from.dateHash<X.to.dateHash)}),S=y.computed(()=>l.calendar!=="persian"?re=>new Date(re.year,re.month-1,re.day):re=>{const X=Qo(re.year,re.month,re.day);return new Date(X.gy,X.gm-1,X.gd)}),E=y.computed(()=>l.calendar==="persian"?$t:(re,X,ne)=>os(new Date(re.year,re.month-1,re.day,re.hour,re.minute,re.second,re.millisecond),X===void 0?h.value:X,ne===void 0?f.value:ne,re.year,re.timezoneOffset)),O=y.computed(()=>x.value.length+w.value.reduce((re,X)=>re+1+to(S.value(X.to),S.value(X.from)),0)),R=y.computed(()=>{if(l.title!==void 0&&l.title!==null&&l.title.length!==0)return l.title;if(W.value!==null){const ne=W.value.init,de=S.value(ne);return f.value.daysShort[de.getDay()]+", "+f.value.monthsShort[ne.month-1]+" "+ne.day+kr+"?"}if(O.value===0)return kr;if(O.value>1)return`${O.value} ${f.value.pluralDay}`;const re=x.value[0],X=S.value(re);return isNaN(X.valueOf())===!0?kr:f.value.headerTitle!==void 0?f.value.headerTitle(X,re):f.value.daysShort[X.getDay()]+", "+f.value.monthsShort[re.month-1]+" "+re.day}),z=y.computed(()=>x.value.concat(w.value.map(X=>X.from)).sort((X,ne)=>X.year-ne.year||X.month-ne.month)[0]),U=y.computed(()=>x.value.concat(w.value.map(X=>X.to)).sort((X,ne)=>ne.year-X.year||ne.month-X.month)[0]),Q=y.computed(()=>{if(l.subtitle!==void 0&&l.subtitle!==null&&l.subtitle.length!==0)return l.subtitle;if(O.value===0)return kr;if(O.value>1){const re=z.value,X=U.value,ne=f.value.monthsShort;return ne[re.month-1]+(re.year!==X.year?" "+re.year+kr+ne[X.month-1]+" ":re.month!==X.month?kr+ne[X.month-1]:"")+" "+X.year}return x.value[0].year}),j=y.computed(()=>{const re=[m.iconSet.datetime.arrowLeft,m.iconSet.datetime.arrowRight];return m.lang.rtl===!0?re.reverse():re}),Y=y.computed(()=>l.firstDayOfWeek!==void 0?Number(l.firstDayOfWeek):f.value.firstDayOfWeek),F=y.computed(()=>{const re=f.value.daysShort,X=Y.value;return X>0?re.slice(X,7).concat(re.slice(0,X)):re}),I=y.computed(()=>{const re=C.value;return l.calendar!=="persian"?new Date(re.year,re.month,0).getDate():Sn(re.year,re.month)}),H=y.computed(()=>typeof l.eventColor=="function"?l.eventColor:()=>l.eventColor),K=y.computed(()=>{if(l.navigationMinYearMonth===void 0)return null;const re=l.navigationMinYearMonth.split("/");return{year:parseInt(re[0],10),month:parseInt(re[1],10)}}),ee=y.computed(()=>{if(l.navigationMaxYearMonth===void 0)return null;const re=l.navigationMaxYearMonth.split("/");return{year:parseInt(re[0],10),month:parseInt(re[1],10)}}),G=y.computed(()=>{const re={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return K.value!==null&&K.value.year>=C.value.year&&(re.year.prev=!1,K.value.year===C.value.year&&K.value.month>=C.value.month&&(re.month.prev=!1)),ee.value!==null&&ee.value.year<=C.value.year&&(re.year.next=!1,ee.value.year===C.value.year&&ee.value.month<=C.value.month&&(re.month.next=!1)),re}),te=y.computed(()=>{const re={};return x.value.forEach(X=>{const ne=er(X);re[ne]===void 0&&(re[ne]=[]),re[ne].push(X.day)}),re}),ce=y.computed(()=>{const re={};return w.value.forEach(X=>{const ne=er(X.from),de=er(X.to);if(re[ne]===void 0&&(re[ne]=[]),re[ne].push({from:X.from.day,to:ne===de?X.to.day:void 0,range:X}),ne<de){let be;const{year:Me,month:ve}=X.from,_e=ve<12?{year:Me,month:ve+1}:{year:Me+1,month:1};for(;(be=er(_e))<=de;)re[be]===void 0&&(re[be]=[]),re[be].push({from:void 0,to:be===de?X.to.day:void 0,range:X}),_e.month++,_e.month>12&&(_e.year++,_e.month=1)}}),re}),ue=y.computed(()=>{if(W.value===null)return;const{init:re,initHash:X,final:ne,finalHash:de}=W.value,[be,Me]=X<=de?[re,ne]:[ne,re],ve=er(be),_e=er(Me);if(ve!==J.value&&_e!==J.value)return;const Be={};return ve===J.value?(Be.from=be.day,Be.includeFrom=!0):Be.from=1,_e===J.value?(Be.to=Me.day,Be.includeTo=!0):Be.to=I.value,Be}),J=y.computed(()=>er(C.value)),ae=y.computed(()=>{const re={};if(l.options===void 0){for(let ne=1;ne<=I.value;ne++)re[ne]=!0;return re}const X=typeof l.options=="function"?l.options:ne=>l.options.includes(ne);for(let ne=1;ne<=I.value;ne++){const de=J.value+"/"+vt(ne);re[ne]=X(de)}return re}),se=y.computed(()=>{const re={};if(l.events===void 0)for(let X=1;X<=I.value;X++)re[X]=!1;else{const X=typeof l.events=="function"?l.events:ne=>l.events.includes(ne);for(let ne=1;ne<=I.value;ne++){const de=J.value+"/"+vt(ne);re[ne]=X(de)===!0&&H.value(de)}}return re}),pe=y.computed(()=>{let re,X;const{year:ne,month:de}=C.value;if(l.calendar!=="persian")re=new Date(ne,de-1,1),X=new Date(ne,de-1,0).getDate();else{const be=Qo(ne,de,1);re=new Date(be.gy,be.gm-1,be.gd);let Me=de-1,ve=ne;Me===0&&(Me=12,ve--),X=Sn(ve,Me)}return{days:re.getDay()-Y.value-1,endDay:X}}),$=y.computed(()=>{const re=[],{days:X,endDay:ne}=pe.value,de=X<0?X+7:X;if(de<6)for(let ve=ne-de;ve<=ne;ve++)re.push({i:ve,fill:!0});const be=re.length;for(let ve=1;ve<=I.value;ve++){const _e={i:ve,event:se.value[ve],classes:[]};ae.value[ve]===!0&&(_e.in=!0,_e.flat=!0),re.push(_e)}if(te.value[J.value]!==void 0&&te.value[J.value].forEach(ve=>{const _e=be+ve-1;Object.assign(re[_e],{selected:!0,unelevated:!0,flat:!1,color:A.value,textColor:M.value})}),ce.value[J.value]!==void 0&&ce.value[J.value].forEach(ve=>{if(ve.from!==void 0){const _e=be+ve.from-1,Be=be+(ve.to||I.value)-1;for(let ze=_e;ze<=Be;ze++)Object.assign(re[ze],{range:ve.range,unelevated:!0,color:A.value,textColor:M.value});Object.assign(re[_e],{rangeFrom:!0,flat:!1}),ve.to!==void 0&&Object.assign(re[Be],{rangeTo:!0,flat:!1})}else if(ve.to!==void 0){const _e=be+ve.to-1;for(let Be=be;Be<=_e;Be++)Object.assign(re[Be],{range:ve.range,unelevated:!0,color:A.value,textColor:M.value});Object.assign(re[_e],{flat:!1,rangeTo:!0})}else{const _e=be+I.value-1;for(let Be=be;Be<=_e;Be++)Object.assign(re[Be],{range:ve.range,unelevated:!0,color:A.value,textColor:M.value})}}),ue.value!==void 0){const ve=be+ue.value.from-1,_e=be+ue.value.to-1;for(let Be=ve;Be<=_e;Be++)re[Be].color=A.value,re[Be].editRange=!0;ue.value.includeFrom===!0&&(re[ve].editRangeFrom=!0),ue.value.includeTo===!0&&(re[_e].editRangeTo=!0)}C.value.year===k.value.year&&C.value.month===k.value.month&&(re[be+k.value.day-1].today=!0);const Me=re.length%7;if(Me>0){const ve=7-Me;for(let _e=1;_e<=ve;_e++)re.push({i:_e,fill:!0})}return re.forEach(ve=>{let _e="q-date__calendar-item ";ve.fill===!0?_e+="q-date__calendar-item--fill":(_e+=`q-date__calendar-item--${ve.in===!0?"in":"out"}`,ve.range!==void 0&&(_e+=` q-date__range${ve.rangeTo===!0?"-to":ve.rangeFrom===!0?"-from":""}`),ve.editRange===!0&&(_e+=` q-date__edit-range${ve.editRangeFrom===!0?"-from":""}${ve.editRangeTo===!0?"-to":""}`),(ve.range!==void 0||ve.editRange===!0)&&(_e+=` text-${ve.color}`)),ve.classes=_e}),re}),ie=y.computed(()=>l.disable===!0?{"aria-disabled":"true"}:{});y.watch(()=>l.modelValue,re=>{if(u===JSON.stringify(re))u=0;else{const X=Le(h.value,f.value);et(X.year,X.month,X)}}),y.watch(T,()=>{d.value!==null&&b.$el.contains(document.activeElement)===!0&&d.value.focus()}),y.watch(()=>C.value.year+"|"+C.value.month,()=>{t("navigation",{year:C.value.year,month:C.value.month})}),y.watch(g,re=>{xe(re,f.value,"mask"),h.value=re}),y.watch(p,re=>{xe(h.value,re,"locale"),f.value=re});function oe(re){u=JSON.stringify(re)}function le(){const{year:re,month:X,day:ne}=k.value,de={...C.value,year:re,month:X,day:ne},be=te.value[er(de)];(be===void 0||be.includes(de.day)===!1)&&at(de),Ae(de.year,de.month)}function ge(re){Zo(re)===!0&&(T.value=re)}function Ce(re,X){["month","year"].includes(re)&&(re==="month"?Fe:ke)(X===!0?-1:1)}function Ae(re,X){T.value="Calendar",et(re,X)}function Te(re,X){if(l.range===!1||!re){W.value=null;return}const ne=Object.assign({...C.value},re),de=X!==void 0?Object.assign({...C.value},X):ne;W.value={init:ne,initHash:$t(ne),final:de,finalHash:$t(de)},Ae(ne.year,ne.month)}function Ue(){return l.calendar==="persian"?"YYYY/MM/DD":l.mask}function Ne(re,X,ne){return is(re,X,ne,l.calendar,{hour:0,minute:0,second:0,millisecond:0})}function Le(re,X){const ne=Array.isArray(l.modelValue)===!0?l.modelValue:l.modelValue?[l.modelValue]:[];if(ne.length===0)return qe();const de=ne[ne.length-1],be=Ne(de.from!==void 0?de.from:de,re,X);return be.dateHash===null?qe():be}function qe(){let re,X;if(l.defaultYearMonth!==void 0){const ne=l.defaultYearMonth.split("/");re=parseInt(ne[0],10),X=parseInt(ne[1],10)}else{const ne=k.value!==void 0?k.value:r();re=ne.year,X=ne.month}return{year:re,month:X,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:re+"/"+vt(X)+"/01"}}function Fe(re){let X=C.value.year,ne=Number(C.value.month)+re;ne===13?(ne=1,X++):ne===0&&(ne=12,X--),et(X,ne),_.value===!0&&nt("month")}function ke(re){const X=Number(C.value.year)+re;et(X,C.value.month),_.value===!0&&nt("year")}function De(re){et(re,C.value.month),T.value=l.defaultView==="Years"?"Months":"Calendar",_.value===!0&&nt("year")}function We(re){et(C.value.year,re),T.value="Calendar",_.value===!0&&nt("month")}function Ve(re,X){(te.value[X]?.includes(re.day)===!0?me:at)(re)}function Ge(re){return{year:re.year,month:re.month,day:re.day}}function et(re,X,ne){if(K.value!==null&&re<=K.value.year&&((X<K.value.month||re<K.value.year)&&(X=K.value.month),re=K.value.year),ee.value!==null&&re>=ee.value.year&&((X>ee.value.month||re>ee.value.year)&&(X=ee.value.month),re=ee.value.year),ne!==void 0){const{hour:be,minute:Me,second:ve,millisecond:_e,timezoneOffset:Be,timeHash:ze}=ne;Object.assign(C.value,{hour:be,minute:Me,second:ve,millisecond:_e,timezoneOffset:Be,timeHash:ze})}const de=re+"/"+vt(X)+"/01";de!==C.value.dateHash&&(V.value=C.value.dateHash<de==(m.lang.rtl!==!0)?"left":"right",re!==C.value.year&&(P.value=V.value),y.nextTick(()=>{q.value=re-re%Qt-(re<0?Qt:0),Object.assign(C.value,{year:re,month:X,day:1,dateHash:de})}))}function He(re,X,ne){const de=re!==null&&re.length===1&&l.multiple===!1?re[0]:re,{reason:be,details:Me}=tt(X,ne);oe(de),t("update:modelValue",de,be,Me)}function nt(re){const X=x.value[0]!==void 0&&x.value[0].dateHash!==null?{...x.value[0]}:{...C.value};y.nextTick(()=>{X.year=C.value.year,X.month=C.value.month;const ne=l.calendar!=="persian"?new Date(X.year,X.month,0).getDate():Sn(X.year,X.month);X.day=Math.min(Math.max(1,X.day),ne);const de=Ye(X),{details:be}=tt("",X);oe(de),t("update:modelValue",de,re,be)})}function tt(re,X){return X.from!==void 0?{reason:`${re}-range`,details:{...Ge(X.target),from:Ge(X.from),to:Ge(X.to)}}:{reason:`${re}-day`,details:Ge(X)}}function Ye(re,X,ne){return re.from!==void 0?{from:E.value(re.from,X,ne),to:E.value(re.to,X,ne)}:E.value(re,X,ne)}function at(re){let X;if(l.multiple===!0)if(re.from!==void 0){const ne=$t(re.from),de=$t(re.to),be=x.value.filter(ve=>ve.dateHash<ne||ve.dateHash>de),Me=w.value.filter(({from:ve,to:_e})=>_e.dateHash<ne||ve.dateHash>de);X=be.concat(Me).concat(re).map(ve=>Ye(ve))}else{const ne=v.value.slice();ne.push(Ye(re)),X=ne}else X=Ye(re);He(X,"add",re)}function me(re){if(l.noUnset===!0)return;let X=null;if(l.multiple===!0&&Array.isArray(l.modelValue)===!0){const ne=Ye(re);re.from!==void 0?X=l.modelValue.filter(de=>de.from!==void 0?de.from!==ne.from&&de.to!==ne.to:!0):X=l.modelValue.filter(de=>de!==ne),X.length===0&&(X=null)}He(X,"remove",re)}function xe(re,X,ne){const de=x.value.concat(w.value).map(Me=>Ye(Me,re,X)).filter(Me=>Me.from!==void 0?Me.from.dateHash!==null&&Me.to.dateHash!==null:Me.dateHash!==null),be=(l.multiple===!0?de:de[0])||null;oe(be),t("update:modelValue",be,ne)}function Re(){if(l.minimal!==!0)return y.h("div",{class:"q-date__header "+n.value},[y.h("div",{class:"relative-position"},[y.h(y.Transition,{name:"q-transition--fade"},()=>y.h("div",{key:"h-yr-"+Q.value,class:"q-date__header-subtitle q-date__header-link "+(T.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:s.value,...i("vY",{onClick(){T.value="Years"},onKeyup(re){re.keyCode===13&&(T.value="Years")}})},[Q.value]))]),y.h("div",{class:"q-date__header-title relative-position flex no-wrap"},[y.h("div",{class:"relative-position col"},[y.h(y.Transition,{name:"q-transition--fade"},()=>y.h("div",{key:"h-sub"+R.value,class:"q-date__header-title-label q-date__header-link "+(T.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:s.value,...i("vC",{onClick(){T.value="Calendar"},onKeyup(re){re.keyCode===13&&(T.value="Calendar")}})},[R.value]))]),l.todayBtn===!0?y.h(ut,{class:"q-date__header-today self-start",icon:m.iconSet.datetime.today,"aria-label":m.lang.date.today,flat:!0,size:"sm",round:!0,tabindex:s.value,onClick:le}):null])])}function Oe({label:re,type:X,key:ne,dir:de,goTo:be,boundaries:Me,cls:ve}){return[y.h("div",{class:"row items-center q-date__arrow"},[y.h(ut,{round:!0,dense:!0,size:"sm",flat:!0,icon:j.value[0],"aria-label":X==="Years"?m.lang.date.prevYear:m.lang.date.prevMonth,tabindex:s.value,disable:Me.prev===!1,...i("go-#"+X,{onClick(){be(-1)}})})]),y.h("div",{class:"relative-position overflow-hidden flex flex-center"+ve},[y.h(y.Transition,{name:"q-transition--jump-"+de},()=>y.h("div",{key:ne},[y.h(ut,{flat:!0,dense:!0,noCaps:!0,label:re,tabindex:s.value,...i("view#"+X,{onClick:()=>{T.value=X}})})]))]),y.h("div",{class:"row items-center q-date__arrow"},[y.h(ut,{round:!0,dense:!0,size:"sm",flat:!0,icon:j.value[1],"aria-label":X==="Years"?m.lang.date.nextYear:m.lang.date.nextMonth,tabindex:s.value,disable:Me.next===!1,...i("go+#"+X,{onClick(){be(1)}})})])]}const Ee={Calendar:()=>[y.h("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[y.h("div",{class:"q-date__navigation row items-center no-wrap"},Oe({label:f.value.months[C.value.month-1],type:"Months",key:C.value.month,dir:V.value,goTo:Fe,boundaries:G.value.month,cls:" col"}).concat(Oe({label:C.value.year,type:"Years",key:C.value.year,dir:P.value,goTo:ke,boundaries:G.value.year,cls:""}))),y.h("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},F.value.map(re=>y.h("div",{class:"q-date__calendar-item"},[y.h("div",re)]))),y.h("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[y.h(y.Transition,{name:"q-transition--slide-"+V.value},()=>y.h("div",{key:J.value,class:"q-date__calendar-days fit"},$.value.map(re=>y.h("div",{class:re.classes},[re.in===!0?y.h(ut,{class:re.today===!0?"q-date__today":"",dense:!0,flat:re.flat,unelevated:re.unelevated,color:re.color,textColor:re.textColor,label:re.i,tabindex:s.value,...i("day#"+re.i,{onClick:()=>{Qe(re.i)},onMouseover:()=>{Ke(re.i)}})},re.event!==!1?()=>y.h("div",{class:"q-date__event bg-"+re.event}):null):y.h("div",""+re.i)]))))])])],Months(){const re=C.value.year===k.value.year,X=de=>K.value!==null&&C.value.year===K.value.year&&K.value.month>de||ee.value!==null&&C.value.year===ee.value.year&&ee.value.month<de,ne=f.value.monthsShort.map((de,be)=>{const Me=C.value.month===be+1;return y.h("div",{class:"q-date__months-item flex flex-center"},[y.h(ut,{class:re===!0&&k.value.month===be+1?"q-date__today":null,flat:Me!==!0,label:de,unelevated:Me,color:Me===!0?A.value:null,textColor:Me===!0?M.value:null,tabindex:s.value,disable:X(be+1),...i("month#"+be,{onClick:()=>{We(be+1)}})})])});return l.yearsInMonthView===!0&&ne.unshift(y.h("div",{class:"row no-wrap full-width"},[Oe({label:C.value.year,type:"Years",key:C.value.year,dir:P.value,goTo:ke,boundaries:G.value.year,cls:" col"})])),y.h("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},ne)},Years(){const re=q.value,X=re+Qt,ne=[],de=be=>K.value!==null&&K.value.year>be||ee.value!==null&&ee.value.year<be;for(let be=re;be<=X;be++){const Me=C.value.year===be;ne.push(y.h("div",{class:"q-date__years-item flex flex-center"},[y.h(ut,{key:"yr"+be,class:k.value.year===be?"q-date__today":null,flat:!Me,label:be,dense:!0,unelevated:Me,color:Me===!0?A.value:null,textColor:Me===!0?M.value:null,tabindex:s.value,disable:de(be),...i("yr#"+be,{onClick:()=>{De(be)}})})]))}return y.h("div",{class:"q-date__view q-date__years flex flex-center"},[y.h("div",{class:"col-auto"},[y.h(ut,{round:!0,dense:!0,flat:!0,icon:j.value[0],"aria-label":m.lang.date.prevRangeYears(Qt),tabindex:s.value,disable:de(re),...i("y-",{onClick:()=>{q.value-=Qt}})})]),y.h("div",{class:"q-date__years-content col self-stretch row items-center"},ne),y.h("div",{class:"col-auto"},[y.h(ut,{round:!0,dense:!0,flat:!0,icon:j.value[1],"aria-label":m.lang.date.nextRangeYears(Qt),tabindex:s.value,disable:de(X),...i("y+",{onClick:()=>{q.value+=Qt}})})])])}};function Qe(re){const X={...C.value,day:re};if(l.range===!1){Ve(X,J.value);return}if(W.value===null){const ne=$.value.find(be=>be.fill!==!0&&be.i===re);if(l.noUnset!==!0&&ne.range!==void 0){me({target:X,from:ne.range.from,to:ne.range.to});return}if(ne.selected===!0){me(X);return}const de=$t(X);W.value={init:X,initHash:de,final:X,finalHash:de},t("rangeStart",Ge(X))}else{const ne=W.value.initHash,de=$t(X),be=ne<=de?{from:W.value.init,to:X}:{from:X,to:W.value.init};W.value=null,at(ne===de?X:{target:X,...be}),t("rangeEnd",{from:Ge(be.from),to:Ge(be.to)})}}function Ke(re){if(W.value!==null){const X={...C.value,day:re};Object.assign(W.value,{final:X,finalHash:$t(X)})}}return Object.assign(b,{setToday:le,setView:ge,offsetCalendar:Ce,setCalendarTo:Ae,setEditingRange:Te}),()=>{const re=[y.h("div",{class:"q-date__content col relative-position"},[y.h(y.Transition,{name:"q-transition--fade"},Ee[T.value])])],X=bt(B.default);return X!==void 0&&re.push(y.h("div",{class:"q-date__actions"},X)),l.name!==void 0&&l.disable!==!0&&o(re,"push"),y.h("div",{class:L.value,...ie.value},[Re(),y.h("div",{ref:d,class:"q-date__main col column",tabindex:-1},re)])}}}),ls=$e({name:"QPopupProxy",props:{...Ta,breakpoint:{type:[String,Number],default:450}},emits:["show","hide"],setup(l,{slots:B,emit:t,attrs:b}){const{proxy:m}=y.getCurrentInstance(),{$q:c}=m,i=y.ref(!1),s=y.ref(null),n=y.computed(()=>parseInt(l.breakpoint,10)),{canShow:e}=Li({showing:i});function r(){return c.screen.width<n.value||c.screen.height<n.value?"dialog":"menu"}const u=y.ref(r()),a=y.computed(()=>u.value==="menu"?{maxHeight:"99vh"}:{});y.watch(()=>r(),h=>{i.value!==!0&&(u.value=h)});function o(h){i.value=!0,t("show",h)}function d(h){i.value=!1,u.value=r(),t("hide",h)}return Object.assign(m,{show(h){e(h)===!0&&s.value.show(h)},hide(h){s.value.hide(h)},toggle(h){s.value.toggle(h)}}),Lt(m,"currentComponent",()=>({type:u.value,ref:s.value})),()=>{const h={ref:s,...a.value,...b,onShow:o,onHide:d};let f;return u.value==="dialog"?f=zn:(f=Zr,Object.assign(h,{target:l.target,contextMenu:l.contextMenu,noParentEvent:!0,separateClosePopup:!0})),y.h(f,h,B.default)}}}),$o={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},Fn={"#":{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:l=>l.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:l=>l.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:l=>l.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:l=>l.toLocaleLowerCase()}},us=Object.keys(Fn);us.forEach(l=>{Fn[l].regex=new RegExp(Fn[l].pattern)});const yc=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+us.join("")+"])|(.)","g"),ea=/[.*+?^${}()|[\]\\]/g,Ct="",wc={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function xc(l,B,t,b){let m,c,i,s,n,e;const r=y.ref(null),u=y.ref(o());function a(){return l.autogrow===!0||["textarea","text","search","url","tel","password"].includes(l.type)}y.watch(()=>l.type+l.autogrow,h),y.watch(()=>l.mask,N=>{if(N!==void 0)f(u.value,!0);else{const q=V(u.value);h(),l.modelValue!==q&&B("update:modelValue",q)}}),y.watch(()=>l.fillMask+l.reverseFillMask,()=>{r.value===!0&&f(u.value,!0)}),y.watch(()=>l.unmaskedValue,()=>{r.value===!0&&f(u.value)});function o(){if(h(),r.value===!0){const N=T(V(l.modelValue));return l.fillMask!==!1?P(N):N}return l.modelValue}function d(N){if(N<m.length)return m.slice(-N);let q="",W=m;const L=W.indexOf(Ct);if(L!==-1){for(let A=N-W.length;A>0;A--)q+=Ct;W=W.slice(0,L)+q+W.slice(L)}return W}function h(){if(r.value=l.mask!==void 0&&l.mask.length!==0&&a(),r.value===!1){s=void 0,m="",c="";return}const N=$o[l.mask]===void 0?l.mask:$o[l.mask],q=typeof l.fillMask=="string"&&l.fillMask.length!==0?l.fillMask.slice(0,1):"_",W=q.replace(ea,"\\$&"),L=[],A=[],M=[];let _=l.reverseFillMask===!0,v="",x="";N.replace(yc,(O,R,z,U,Q)=>{if(U!==void 0){const j=Fn[U];M.push(j),x=j.negate,_===!0&&(A.push("(?:"+x+"+)?("+j.pattern+"+)?(?:"+x+"+)?("+j.pattern+"+)?"),_=!1),A.push("(?:"+x+"+)?("+j.pattern+")?")}else if(z!==void 0)v="\\"+(z==="\\"?"":z),M.push(z),L.push("([^"+v+"]+)?"+v+"?");else{const j=R!==void 0?R:Q;v=j==="\\"?"\\\\\\\\":j.replace(ea,"\\\\$&"),M.push(j),L.push("([^"+v+"]+)?"+v+"?")}});const w=new RegExp("^"+L.join("")+"("+(v===""?".":"[^"+v+"]")+"+)?"+(v===""?"":"["+v+"]*")+"$"),S=A.length-1,E=A.map((O,R)=>R===0&&l.reverseFillMask===!0?new RegExp("^"+W+"*"+O):R===S?new RegExp("^"+O+"("+(x===""?".":x)+"+)?"+(l.reverseFillMask===!0?"$":W+"*")):new RegExp("^"+O));i=M,s=O=>{const R=w.exec(l.reverseFillMask===!0?O:O.slice(0,M.length+1));R!==null&&(O=R.slice(1).join(""));const z=[],U=E.length;for(let Q=0,j=O;Q<U;Q++){const Y=E[Q].exec(j);if(Y===null)break;j=j.slice(Y.shift().length),z.push(...Y)}return z.length!==0?z.join(""):O},m=M.map(O=>typeof O=="string"?O:Ct).join(""),c=m.split(Ct).join(q)}function f(N,q,W){const L=b.value,A=L.selectionEnd,M=L.value.length-A,_=V(N);q===!0&&h();const v=T(_),x=l.fillMask!==!1?P(v):v,w=u.value!==x;L.value!==x&&(L.value=x),w===!0&&(u.value=x),document.activeElement===L&&y.nextTick(()=>{if(x===c){const E=l.reverseFillMask===!0?c.length:0;L.setSelectionRange(E,E,"forward");return}if(W==="insertFromPaste"&&l.reverseFillMask!==!0){const E=L.selectionEnd;let O=A-1;for(let R=n;R<=O&&R<E;R++)m[R]!==Ct&&O++;p.right(L,O);return}if(["deleteContentBackward","deleteContentForward"].indexOf(W)!==-1){const E=l.reverseFillMask===!0?A===0?x.length>v.length?1:0:Math.max(0,x.length-(x===c?0:Math.min(v.length,M)+1))+1:A;L.setSelectionRange(E,E,"forward");return}if(l.reverseFillMask===!0)if(w===!0){const E=Math.max(0,x.length-(x===c?0:Math.min(v.length,M+1)));E===1&&A===1?L.setSelectionRange(E,E,"forward"):p.rightReverse(L,E)}else{const E=x.length-M;L.setSelectionRange(E,E,"backward")}else if(w===!0){const E=Math.max(0,m.indexOf(Ct),Math.min(v.length,A)-1);p.right(L,E)}else{const E=A-1;p.right(L,E)}});const S=l.unmaskedValue===!0?V(x):x;String(l.modelValue)!==S&&(l.modelValue!==null||S!=="")&&t(S,!0)}function g(N,q,W){const L=T(V(N.value));q=Math.max(0,m.indexOf(Ct),Math.min(L.length,q)),n=q,N.setSelectionRange(q,W,"forward")}const p={left(N,q){const W=m.slice(q-1).indexOf(Ct)===-1;let L=Math.max(0,q-1);for(;L>=0;L--)if(m[L]===Ct){q=L,W===!0&&q++;break}if(L<0&&m[q]!==void 0&&m[q]!==Ct)return p.right(N,0);q>=0&&N.setSelectionRange(q,q,"backward")},right(N,q){const W=N.value.length;let L=Math.min(W,q+1);for(;L<=W;L++)if(m[L]===Ct){q=L;break}else m[L-1]===Ct&&(q=L);if(L>W&&m[q-1]!==void 0&&m[q-1]!==Ct)return p.left(N,W);N.setSelectionRange(q,q,"forward")},leftReverse(N,q){const W=d(N.value.length);let L=Math.max(0,q-1);for(;L>=0;L--)if(W[L-1]===Ct){q=L;break}else if(W[L]===Ct&&(q=L,L===0))break;if(L<0&&W[q]!==void 0&&W[q]!==Ct)return p.rightReverse(N,0);q>=0&&N.setSelectionRange(q,q,"backward")},rightReverse(N,q){const W=N.value.length,L=d(W),A=L.slice(0,q+1).indexOf(Ct)===-1;let M=Math.min(W,q+1);for(;M<=W;M++)if(L[M-1]===Ct){q=M,q>0&&A===!0&&q--;break}if(M>W&&L[q-1]!==void 0&&L[q-1]!==Ct)return p.leftReverse(N,W);N.setSelectionRange(q,q,"forward")}};function k(N){B("click",N),e=void 0}function C(N){if(B("keydown",N),Fi(N)===!0||N.altKey===!0)return;const q=b.value,W=q.selectionStart,L=q.selectionEnd;if(N.shiftKey||(e=void 0),N.keyCode===37||N.keyCode===39){N.shiftKey&&e===void 0&&(e=q.selectionDirection==="forward"?W:L);const A=p[(N.keyCode===39?"right":"left")+(l.reverseFillMask===!0?"Reverse":"")];if(N.preventDefault(),A(q,e===W?L:W),N.shiftKey){const M=q.selectionStart;q.setSelectionRange(Math.min(e,M),Math.max(e,M),"forward")}}else N.keyCode===8&&l.reverseFillMask!==!0&&W===L?(p.left(q,W),q.setSelectionRange(q.selectionStart,L,"backward")):N.keyCode===46&&l.reverseFillMask===!0&&W===L&&(p.rightReverse(q,L),q.setSelectionRange(W,q.selectionEnd,"forward"))}function T(N){if(N==null||N==="")return"";if(l.reverseFillMask===!0)return D(N);const q=i;let W=0,L="";for(let A=0;A<q.length;A++){const M=N[W],_=q[A];if(typeof _=="string")L+=_;else if(M!==void 0&&_.regex.test(M))L+=_.transform!==void 0?_.transform(M):M,W++;else return L}return L}function D(N){const q=i,W=m.indexOf(Ct);let L=N.length-1,A="";for(let M=q.length-1;M>=0&&L!==-1;M--){const _=q[M];let v=N[L];if(typeof _=="string")A=_+A;else if(v!==void 0&&_.regex.test(v))do A=(_.transform!==void 0?_.transform(v):v)+A,L--,v=N[L];while(W===M&&v!==void 0&&_.regex.test(v));else return A}return A}function V(N){return typeof N!="string"||s===void 0?typeof N=="number"?s(""+N):N:s(N)}function P(N){return c.length-N.length<=0?N:l.reverseFillMask===!0&&N.length!==0?c.slice(0,-N.length)+N:N+c.slice(N.length)}return{innerValue:u,hasMask:r,moveCursorForPaste:g,updateMaskValue:f,onMaskedKeydown:C,onMaskedClick:k}}function Sc(l,B){function t(){const b=l.modelValue;try{const m="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(b)===b&&("length"in b?Array.from(b):[b]).forEach(c=>{m.items.add(c)}),{files:m.files}}catch{return{files:void 0}}}return y.computed(()=>{if(l.type==="file")return t()})}const Xr=$e({name:"QInput",inheritAttrs:!1,props:{...qn,...wc,...Nn,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:[...Ki,"paste","change","keydown","click","animationend"],setup(l,{emit:B,attrs:t}){const{proxy:b}=y.getCurrentInstance(),{$q:m}=b,c={};let i=NaN,s,n,e=null,r;const u=y.ref(null),a=ya(l),{innerValue:o,hasMask:d,moveCursorForPaste:h,updateMaskValue:f,onMaskedKeydown:g,onMaskedClick:p}=xc(l,B,v,u),k=Sc(l),C=y.computed(()=>Kr(o.value)),T=Ya(M),D=Xi({changeEvent:!0}),V=y.computed(()=>l.type==="textarea"||l.autogrow===!0),P=y.computed(()=>V.value===!0||["text","search","url","tel","password"].includes(l.type)),N=y.computed(()=>{const R={...D.splitAttrs.listeners.value,onInput:M,onPaste:A,onChange:w,onBlur:S,onFocus:Dt};return R.onCompositionstart=R.onCompositionupdate=R.onCompositionend=T,d.value===!0&&(R.onKeydown=g,R.onClick=p),l.autogrow===!0&&(R.onAnimationend=_),R}),q=y.computed(()=>{const R={tabindex:0,"data-autofocus":l.autofocus===!0||void 0,rows:l.type==="textarea"?6:void 0,"aria-label":l.label,name:a.value,...D.splitAttrs.attributes.value,id:D.targetUid.value,maxlength:l.maxlength,disabled:l.disable===!0,readonly:l.readonly===!0};return V.value===!1&&(R.type=l.type),l.autogrow===!0&&(R.rows=1),R});y.watch(()=>l.type,()=>{u.value&&(u.value.value=l.modelValue)}),y.watch(()=>l.modelValue,R=>{if(d.value===!0){if(n===!0&&(n=!1,String(R)===i))return;f(R)}else o.value!==R&&(o.value=R,l.type==="number"&&c.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete c.value));l.autogrow===!0&&y.nextTick(x)}),y.watch(()=>l.autogrow,R=>{R===!0?y.nextTick(x):u.value!==null&&t.rows>0&&(u.value.style.height="auto")}),y.watch(()=>l.dense,()=>{l.autogrow===!0&&y.nextTick(x)});function W(){Jr(()=>{const R=document.activeElement;u.value!==null&&u.value!==R&&(R===null||R.id!==D.targetUid.value)&&u.value.focus({preventScroll:!0})})}function L(){u.value?.select()}function A(R){if(d.value===!0&&l.reverseFillMask!==!0){const z=R.target;h(z,z.selectionStart,z.selectionEnd)}B("paste",R)}function M(R){if(!R||!R.target)return;if(l.type==="file"){B("update:modelValue",R.target.files);return}const z=R.target.value;if(R.target.qComposing===!0){c.value=z;return}if(d.value===!0)f(z,!1,R.inputType);else if(v(z),P.value===!0&&R.target===document.activeElement){const{selectionStart:U,selectionEnd:Q}=R.target;U!==void 0&&Q!==void 0&&y.nextTick(()=>{R.target===document.activeElement&&z.indexOf(R.target.value)===0&&R.target.setSelectionRange(U,Q)})}l.autogrow===!0&&x()}function _(R){B("animationend",R),x()}function v(R,z){r=()=>{e=null,l.type!=="number"&&c.hasOwnProperty("value")===!0&&delete c.value,l.modelValue!==R&&i!==R&&(i=R,z===!0&&(n=!0),B("update:modelValue",R),y.nextTick(()=>{i===R&&(i=NaN)})),r=void 0},l.type==="number"&&(s=!0,c.value=R),l.debounce!==void 0?(e!==null&&clearTimeout(e),c.value=R,e=setTimeout(r,l.debounce)):r()}function x(){requestAnimationFrame(()=>{const R=u.value;if(R!==null){const z=R.parentNode.style,{scrollTop:U}=R,{overflowY:Q,maxHeight:j}=m.platform.is.firefox===!0?{}:window.getComputedStyle(R),Y=Q!==void 0&&Q!=="scroll";Y===!0&&(R.style.overflowY="hidden"),z.marginBottom=R.scrollHeight-1+"px",R.style.height="1px",R.style.height=R.scrollHeight+"px",Y===!0&&(R.style.overflowY=parseInt(j,10)<R.scrollHeight?"auto":"hidden"),z.marginBottom="",R.scrollTop=U}})}function w(R){T(R),e!==null&&(clearTimeout(e),e=null),r?.(),B("change",R.target.value)}function S(R){R!==void 0&&Dt(R),e!==null&&(clearTimeout(e),e=null),r?.(),s=!1,n=!1,delete c.value,l.type!=="file"&&setTimeout(()=>{u.value!==null&&(u.value.value=o.value!==void 0?o.value:"")})}function E(){return c.hasOwnProperty("value")===!0?c.value:o.value!==void 0?o.value:""}y.onBeforeUnmount(()=>{S()}),y.onMounted(()=>{l.autogrow===!0&&x()}),Object.assign(D,{innerValue:o,fieldClass:y.computed(()=>`q-${V.value===!0?"textarea":"input"}`+(l.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:y.computed(()=>l.type!=="file"&&typeof l.shadowText=="string"&&l.shadowText.length!==0),inputRef:u,emitValue:v,hasValue:C,floatingLabel:y.computed(()=>C.value===!0&&(l.type!=="number"||isNaN(o.value)===!1)||Kr(l.displayValue)),getControl:()=>y.h(V.value===!0?"textarea":"input",{ref:u,class:["q-field__native q-placeholder",l.inputClass],style:l.inputStyle,...q.value,...N.value,...l.type!=="file"?{value:E()}:k.value}),getShadowControl:()=>y.h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(V.value===!0?"":" text-no-wrap")},[y.h("span",{class:"invisible"},E()),y.h("span",l.shadowText)])});const O=Gi(D);return Object.assign(b,{focus:W,select:L,getNativeElement:()=>u.value}),Lt(b,"nativeEl",()=>u.value),O}});function kc(l){return{entity:l.entity,dataCy:l.dataCy,defaultLabel:l.defaultLabel,routeName:l.routeName,shouldRender:l.customShouldRender||(({store:B})=>l.storeField?!!B[l.storeField]:!0),getLabel:l.getLabel||(l.labelField?({store:B})=>l.storeField&&B[l.storeField]?.[l.labelField]||l.defaultLabel:void 0),getColor:l.customGetColor||(({store:B})=>l.storeField&&B[l.storeField]?"primary":"dark"),getRouteParams:l.routeParamKey&&l.routeParamField?({store:B})=>({[l.routeParamKey]:l.storeField&&B[l.storeField]?.[l.routeParamField]}):void 0,clearActions:[...l.clearMethods?.map(B=>({store:t})=>t[B]?.())||[],...l.navActions?.map(B=>({navStore:t})=>B(t))||[]]}}const cs=/^\d{2}-\d{2}-\d{4}$/;function _c(l){const B=l.getTimezoneOffset()*6e4;return new Date(l.getTime()+B)}function qr(l){const B=/^\d{4}-\d{2}-\d{2}$/,t=/^\d{2}-\d{2}-\d{4}$/;if(B.test(l))return l;if(t.test(l)){const b=l.split("-");return`${b[2]}-${b[1]}-${b[0]}`}return console.warn("'Invalid date format. Expected DD-MM-YYYY' or 'YYYY-MM-DD' but got: "+l),""}function no(l,B,t,b=[]){const m=typeof l=="string"?new Date(qr(l)):new Date(l);if(Number.isNaN(m.getTime()))return!1;if(B){const s=typeof B=="string"?new Date(qr(B)):new Date(B);if(m<s)return!1}if(t){const s=typeof t=="string"?new Date(qr(t)):new Date(t);if(m>s)return!1}return b.some(s=>{if(typeof s=="string"){const n=new Date(qr(s));return m.getFullYear()===n.getFullYear()&&m.getMonth()===n.getMonth()&&m.getDate()===n.getDate()}else{if(s instanceof Date)return m.getFullYear()===s.getFullYear()&&m.getMonth()===s.getMonth()&&m.getDate()===s.getDate();{const n=new Date(s.start_date),e=new Date(s.end_date);return m>=n&&m<=e}}})?!1:!b.some(s=>{if(typeof s=="object"&&!(s instanceof Date)&&s.start_date&&s.end_date){const n=new Date(s.start_date),e=new Date(s.end_date);if(n.getTime()===e.getTime())return m.getTime()===n.getTime()||m.getTime()===e.getTime()}return!1})}const Kt={validateAndUpdate(l,B,t){return cs.test(B)?{...l,[t?"from":"to"]:B}:l},isEndDateValid(l,B,t=!1){if(!l||!B)return!0;try{const[b,m,c]=l.split("-"),[i,s,n]=B.split("-"),e=new Date(Number(c),Number(m)-1,Number(b)),r=new Date(Number(n),Number(s)-1,Number(i));return t?r>=e:r>e}catch{return!1}},handlePickerUpdate(l){return l===null?{from:"",to:""}:typeof l=="string"?{from:l,to:l}:l},reset(){return{from:"",to:""}},handleInput(l,B){typeof l=="string"&&B(l)}},fs={days:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],daysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Janv","Févr","Mars","Avr","Mai","Juin","Juil","Août","Sept","Oct","Nov","Dec"],firstDayOfWeek:1,format24h:!0,pluralDay:"jours"};function Cc(l){if(!l||!/^\d{2}-\d{2}-\d{4}$/.test(l))return new Date(Number.NaN);const[B,t,b]=l.split("-").map(Number);return new Date(b,t-1,B)}function zt(l){if(!l)return"";const B=new Date(l),t=B.getFullYear(),b=String(B.getMonth()+1).padStart(2,"0");return`${String(B.getDate()).padStart(2,"0")}-${b}-${t}`}function jn(l,B){return new Date(l,B-1,1)}function Dn(l,B){return new Date(l,B,0)}function ds(l=new Date){const B=l.getFullYear(),t=l.getMonth()+1;let b=t-3,m=B;b<=0&&(b+=12,m-=1);const c=jn(m,b);let i=t-1,s=B;i<=0&&(i+=12,s-=1);const n=Dn(s,i);return{from:zt(c),to:zt(n)}}const hs={currentMonth:(l=new Date)=>{const B=l.getFullYear(),t=l.getMonth()+1;return{from:zt(jn(B,t)),to:zt(Dn(B,t))}},previousMonth:(l=new Date)=>{const B=l.getFullYear();let b=l.getMonth()+1-1,m=B;return b===0&&(b=12,m=B-1),{from:zt(jn(m,b)),to:zt(Dn(m,b))}},last3Months:ds,currentYear:(l=new Date)=>{const B=l.getFullYear();return{from:zt(new Date(B,0,1)),to:zt(new Date(B,11,31))}},previousYear:(l=new Date)=>{const B=l.getFullYear()-1;return{from:zt(new Date(B,0,1)),to:zt(new Date(B,11,31))}}};function Ac(l){if(!l)return{date:"",time:""};try{const B=new Date(l);if(Number.isNaN(B.getTime()))return console.error("Invalid date:",l),{date:"",time:""};const b=new Intl.DateTimeFormat("fr-FR",{timeZone:"Europe/Paris",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts(B),m=d=>b.find(h=>h.type===d)?.value||"",c=m("day"),i=m("month"),s=m("year"),n=m("hour"),e=m("minute"),r=m("second"),u=`${c}-${i}-${s}`,o=l.includes("T")&&l.split("T")[1]?.split(":").length>=3&&l.split("T")[1].split(":")[2]!=="00"?`${n}:${e}:${r}`:`${n}:${e}`;return{date:u,time:o}}catch(B){return console.error("Error parsing ISO datetime:",B,"Input:",l),{date:"",time:""}}}function Ec(l){if(!l)return"";if(new RegExp(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/).exec(l))return l;if(new RegExp(/^\d{4}-\d{2}-\d{2}$/).exec(l))return`${l}T00:00:00Z`;if(new RegExp(/^\d{2}-\d{2}-\d{4}$/).exec(l)){const[t,b,m]=l.split("-");return`${m}-${b}-${t}T00:00:00Z`}if(new RegExp(/^\d{2}\/\d{2}\/\d{4}$/).exec(l)){const[t,b,m]=l.split("/");return`${m}-${b}-${t}T00:00:00Z`}if(new RegExp(/^\d{2}\.\d{2}\.\d{4}$/).exec(l)){const[t,b,m]=l.split(".");return`${m}-${b}-${t}T00:00:00Z`}const B=new Date(l);return Number.isNaN(B.getTime())?l:B.toISOString()}const Mc={class:"columns justify-end"},Tc=y.defineComponent({__name:"DatePicker",props:{label:{default:"Date"},date:{default:""},required:{type:Boolean,default:!1},minDate:{default:void 0},maxDate:{default:void 0},datesDisabled:{default:()=>[]},requiredErrorMessage:{default:"Ce champ est obligatoire !"},invalidDateErrorMessage:{default:"Date invalide!"},disabled:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},placeholder:{default:void 0},closeLabel:{default:"Close"},rules:{default:()=>[]}},emits:["update:modelValue","update:date"],setup(l,{emit:B}){const t=l,b=B,m=y.useAttrs(),c=y.ref(),i=y.ref(t.date),s=y.ref(null),n=y.computed(()=>i.value),e=C=>{if(!C||C.length!==10)return!1;const T=/^(\d{2})-(\d{2})-(\d{4})$/,D=C.match(T);if(!D)return!1;const V=Number.parseInt(D[1],10),P=Number.parseInt(D[2],10),N=Number.parseInt(D[3],10);if(P<1||P>12||V<1||V>31)return!1;const q=new Date(N,P-1,V);return q.getFullYear()===N&&q.getMonth()===P-1&&q.getDate()===V},r=C=>{if(!C)return null;if(C.length!==10)return"Le format doit être JJ-MM-AAAA";const T=/^(\d{2})-(\d{2})-(\d{4})$/,D=C.match(T);if(!D)return"Format invalide. Utilisez JJ-MM-AAAA";const V=Number.parseInt(D[1],10),P=Number.parseInt(D[2],10),N=Number.parseInt(D[3],10),q=u(P);if(q)return q;const W=a(V,P,N);return W||(d(V,P,N)?null:"Date inexistante")},u=C=>C<1||C>12?"Le mois doit être entre 01 et 12":null,a=(C,T,D)=>C<1||C>31?"Le jour doit être entre 01 et 31":[4,6,9,11].includes(T)&&C>30?`Le mois ${T} n'a que 30 jours`:T===2?o(C,D):null,o=(C,T)=>{const D=T%4===0&&T%100!==0||T%400===0;return D&&C>29?"Février a maximum 29 jours pour les années bissextiles":!D&&C>28?"Février a maximum 28 jours":null},d=(C,T,D)=>{const V=new Date(D,T-1,C);return V.getFullYear()===D&&V.getMonth()===T-1&&V.getDate()===C},h=()=>{n.value?s.value=r(n.value):s.value=null},f=y.computed(()=>C=>{const T=C.replaceAll("/","-");return no(T,t.minDate,t.maxDate,t.datesDisabled)}),g=C=>{e(C)&&(i.value=C,s.value=null,b("update:date",C),b("update:modelValue",C),setTimeout(()=>{c.value?.hide?.()},0))},p=C=>{if(typeof C=="string")if(i.value=C,b("update:date",C),b("update:modelValue",C),C.length===10){const T=r(C);s.value=T}else C===""&&(s.value=null);else C===null&&(i.value="",s.value=null,b("update:date",""),b("update:modelValue",""))},k=y.computed(()=>{const C=[...t.rules];return t.required&&C.push(T=>!!T||t.requiredErrorMessage),C.push(T=>T?e(T)||s.value||t.invalidDateErrorMessage:!0),C});return y.watch(()=>[t.date],([C,T])=>{const D=T??C;D&&D!==i.value&&(i.value=D,h())}),(C,T)=>(y.openBlock(),y.createElementBlock("div",Mc,[y.createVNode(Xr,y.mergeProps(y.unref(m),{class:"full-width","model-value":n.value,mask:"##-##-####",dense:"",label:C.label,"data-cy":"datePick",rules:k.value,disable:C.disabled,required:C.required,outlined:C.outlined,placeholder:C.placeholder,"onUpdate:modelValue":p,onBlur:h}),{append:y.withCtx(()=>[y.createVNode(gt,{name:"event",class:"cursor-pointer","data-testid":"calendar-icon-picker"},{default:y.withCtx(()=>[y.createVNode(ls,{ref_key:"popupRef",ref:c,cover:"","transition-show":"scale","transition-hide":"scale","no-focus":""},{default:y.withCtx(()=>[y.createVNode(ss,{mask:"DD-MM-YYYY","model-value":i.value,options:f.value,disable:C.disabled,"onUpdate:modelValue":g},null,8,["model-value","options","disable"])]),_:1},512)]),_:1})]),_:1},16,["model-value","label","rules","disable","required","outlined","placeholder"])]))}}),Rc={class:"date-range-wrapper"},Bc={class:"date-range-flex"},Ic={key:0,class:"actions-group"},Oc={class:"date-range-popup"},Fc={key:0,class:"presets-section"},jc={class:"presets-grid"},Dc={class:"presets-row"},Pc={class:"presets-row"},Nc={class:"calendar-container"},Lc={class:"popup-actions"},Vc={key:0,class:"hint"},qc={class:"text-warning text-caption q-mb-none"},zc=y.defineComponent({__name:"DateRange",props:{allowSameDate:{type:Boolean,default:!0},from:{default:""},to:{default:""},labelStart:{default:"De"},labelEnd:{default:"À"},startDateHint:{default:""},resetLabel:{default:"Reinitialiser"},closeLabel:{default:"Fermer"},locale:{default:()=>fs},required:{type:Boolean,default:!1},requiredErrorMessage:{default:"Ce champ est obligatoire !"},invalidDateErrorMessage:{default:"Date invalide!"},rules:{default:()=>[]},minDate:{default:void 0},maxDate:{default:void 0},datesDisabled:{default:()=>[]},highlightEvents:{default:()=>[]},disabled:{type:Boolean,default:!1},idCy:{default:"dateRange"},isIconCalendar:{type:Boolean},resetPosition:{},hideActions:{type:Boolean,default:!1},hideShortcuts:{type:Boolean,default:!1},shortcuts:{default:()=>[{id:"currentMonth",label:"Mois courant"},{id:"previousMonth",label:"Mois précédent"},{id:"last3Months",label:"3 derniers mois"},{id:"currentYear",label:"Année courante"},{id:"previousYear",label:"Année précédente"}]}},emits:["update:dateRange","clear"],setup(l,{expose:B,emit:t}){const b=l,m=t,c=y.ref({from:b.from,to:b.to}),i=y.ref(null),s=y.computed(()=>`from-date-${b.idCy}`),n=y.computed(()=>`to-date-${b.idCy}`),e=y.ref(null),r=y.computed(()=>b.shortcuts.map(R=>({...R,getRange:hs[R.id]}))),u=y.computed(()=>r.value.slice(0,3)),a=y.computed(()=>r.value.slice(3)),o=()=>{c.value=Kt.reset(),D.value=null,V.value=null,e.value=null,w(),m("clear")},d=()=>{i.value&&i.value.hide()},h=()=>{if(e.value=null,!(!c.value.from||!c.value.to))for(const R of r.value)try{const z=R.getRange(new Date);if(z.from===c.value.from&&z.to===c.value.to){e.value=R.id;break}}catch(z){console.error("Error checking preset:",z)}},f=R=>{if(!R||R.length!==10)return!1;const z=/^(\d{2})-(\d{2})-(\d{4})$/,U=R.match(z);if(!U)return!1;const Q=Number.parseInt(U[1],10),j=Number.parseInt(U[2],10),Y=Number.parseInt(U[3],10);if(j<1||j>12||Q<1||Q>31)return!1;const F=new Date(Y,j-1,Q);return F.getFullYear()===Y&&F.getMonth()===j-1&&F.getDate()===Q},g=R=>{if(!R)return null;if(R.length!==10)return"Le format doit être JJ-MM-AAAA";const z=/^(\d{2})-(\d{2})-(\d{4})$/,U=R.match(z);if(!U)return"Format invalide. Utilisez JJ-MM-AAAA";const Q=Number.parseInt(U[1],10),j=Number.parseInt(U[2],10),Y=Number.parseInt(U[3],10),F=p(j);if(F)return F;const I=k(Q,j,Y);return I||(T(Q,j,Y)?null:"Date inexistante")},p=R=>R<1||R>12?"Le mois doit être entre 01 et 12":null,k=(R,z,U)=>R<1||R>31?"Le jour doit être entre 01 et 31":[4,6,9,11].includes(z)&&R>30?`Le mois ${z} n'a que 30 jours`:z===2?C(R,U):null,C=(R,z)=>{const U=z%4===0&&z%100!==0||z%400===0;return U&&R>29?"Février a maximum 29 jours pour les années bissextiles":!U&&R>28?"Février a maximum 28 jours":null},T=(R,z,U)=>{const Q=new Date(U,z-1,R);return Q.getFullYear()===U&&Q.getMonth()===z-1&&Q.getDate()===R},D=y.ref(null),V=y.ref(null),P=()=>{c.value.from?D.value=g(c.value.from):D.value=null},N=()=>{c.value.to?V.value=g(c.value.to):V.value=null},q=y.computed(()=>R=>{const z=R.replaceAll("/","-");return no(z,b.minDate,b.maxDate,b.datesDisabled)});let W=!1;const L=()=>{W=!0,c.value.from="",D.value=null,e.value=null,w(),setTimeout(()=>{W=!1},100)},A=()=>{W=!0,c.value.to="",V.value=null,e.value=null,w(),setTimeout(()=>{W=!1},100)},M=R=>{if(R===null||R===""){const z=c.value.from;c.value.from="",D.value=null,e.value=null,w(),!c.value.to&&z&&!c.value.from&&m("clear");return}Kt.handleInput(R,z=>{const U=c.value.from;if(z&&z.length===10){const Q=g(z);if(D.value=Q,Q){c.value.from=z,w();return}}else D.value=null;c.value=Kt.validateAndUpdate(c.value,z,!0),h(),w(),!z&&!c.value.to&&U&&m("clear")})},_=R=>{if(R===null||R===""){const z=c.value.to;c.value.to="",V.value=null,e.value=null,w(),!c.value.from&&z&&!c.value.to&&m("clear");return}Kt.handleInput(R,z=>{const U=c.value.to;if(z&&z.length===10){const Q=g(z);if(V.value=Q,Q){c.value.to=z,w();return}}else V.value=null;c.value=Kt.validateAndUpdate(c.value,z,!1),h(),w(),!z&&!c.value.from&&U&&m("clear")})},v=()=>{setTimeout(()=>{c.value.from&&c.value.from.length===10?D.value=g(c.value.from):D.value=null,c.value.to&&c.value.to.length===10?V.value=g(c.value.to):V.value=null,!b.allowSameDate&&c.value.from&&c.value.to&&c.value.from===c.value.to&&(c.value.to=""),h()},10)},x=R=>{const z=Kt.handlePickerUpdate(R);(z.from!==c.value.from||z.to!==c.value.to)&&(e.value=null),c.value=z,w(),h()},w=()=>{m("update:dateRange",{...c.value})},S=y.computed(()=>[...b.required?[R=>!!R||b.requiredErrorMessage]:[],...b.rules,R=>{if(R&&!f(R))return D.value||b.invalidDateErrorMessage||"Date invalide!";const z=c.value.to;if(!R||!z)return!0;const U=Kt.isEndDateValid(R,z,b.allowSameDate);return b.allowSameDate?U||"La date de début doit être avant ou égale à la date de fin":U||"La date de début doit être strictement avant la date de fin"}]),E=y.computed(()=>[...b.required?[R=>!!R||b.requiredErrorMessage]:[],...b.rules,R=>{if(R&&!f(R))return V.value||b.invalidDateErrorMessage||"Date invalide!";const z=c.value.from;if(!R||!z)return!0;const U=Kt.isEndDateValid(z,R,b.allowSameDate);return b.allowSameDate?U||"La date de fin doit être après ou égale à la date de début":U||"La date de fin doit être strictement après la date de début"}]);y.watch([()=>c.value.from,()=>c.value.to],([R,z],[U,Q])=>{!R&&!z&&(U||Q)&&!W&&(D.value=null,V.value=null,e.value=null,m("clear"))}),y.watch(()=>b.from,R=>{R!==c.value.from&&(c.value.from=R,P(),h())}),y.watch(()=>b.to,R=>{R!==c.value.to&&(c.value.to=R,N(),h())}),B({setDateRange:R=>{c.value={from:R.from,to:R.to},P(),N(),h(),w()},getCurrentRange:()=>({from:c.value.from,to:c.value.to}),resetDate:()=>{o()}});const O=R=>{try{const z=R.getRange(new Date);c.value={from:z.from,to:z.to},e.value=R.id,P(),N(),w()}catch(z){console.error("Error applying date preset:",z)}};return y.onMounted(()=>{P(),N(),h()}),(R,z)=>(y.openBlock(),y.createElementBlock("div",Rc,[y.createElementVNode("div",Bc,[y.createVNode(Xr,y.mergeProps(R.$attrs,{"data-cy":s.value,"model-value":c.value.from,mask:"##-##-####",label:R.labelStart,rules:S.value,disable:R.disabled,required:R.required,"hide-bottom-space":"","onUpdate:modelValue":M,onClear:L,onBlur:P,class:"date-input",clearable:""}),null,16,["data-cy","model-value","label","rules","disable","required"]),y.createVNode(Xr,y.mergeProps(R.$attrs,{"model-value":c.value.to,mask:"##-##-####",label:R.labelEnd,"hide-bottom-space":"","data-cy":n.value,rules:E.value,disable:R.disabled,required:R.required,"onUpdate:modelValue":_,onClear:A,onBlur:N,class:"date-input",clearable:""}),null,16,["model-value","label","data-cy","rules","disable","required"]),R.hideActions?y.createCommentVNode("",!0):(y.openBlock(),y.createElementBlock("div",Ic,[y.createVNode(gt,{name:"event",size:"30px",class:"cursor-pointer calendar-icon",style:{opacity:"0.55"},"data-cy":"calendar-icon-range"},{default:y.withCtx(()=>[y.createVNode(ls,{cover:"","transition-show":"scale","transition-hide":"scale",ref_key:"popupRef",ref:i,"no-focus":""},{default:y.withCtx(()=>[y.createElementVNode("div",Oc,[R.hideShortcuts?y.createCommentVNode("",!0):(y.openBlock(),y.createElementBlock("div",Fc,[z[0]||(z[0]=y.createElementVNode("div",{class:"presets-title"},"Périodes rapides :",-1)),y.createElementVNode("div",jc,[y.createElementVNode("div",Dc,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(u.value,U=>(y.openBlock(),y.createBlock(ut,{key:U.id,label:U.label,color:e.value===U.id?"primary":"grey-7",outline:e.value!==U.id,flat:"",dense:"",size:"sm",class:"preset-btn",onClick:Q=>O(U),"data-cy":`date-preset-${U.id}`},null,8,["label","color","outline","onClick","data-cy"]))),128))]),y.createElementVNode("div",Pc,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(a.value,U=>(y.openBlock(),y.createBlock(ut,{key:U.id,label:U.label,color:e.value===U.id?"primary":"grey-7",outline:e.value!==U.id,flat:"",dense:"",size:"sm",class:"preset-btn",onClick:Q=>O(U),"data-cy":`date-preset-${U.id}`},null,8,["label","color","outline","onClick","data-cy"]))),128))])])])),y.createElementVNode("div",Nc,[y.createVNode(ss,{"model-value":c.value,mask:"DD-MM-YYYY","today-btn":"",range:"","data-cy":"date-picker-range",locale:R.locale,options:q.value,events:R.highlightEvents,"event-color":"warning",disable:R.disabled,"onUpdate:modelValue":x,onRangeEnd:v,"no-unset":""},null,8,["model-value","locale","options","events","disable"])]),y.createElementVNode("div",Lc,[y.createVNode(ut,{label:R.resetLabel,color:"grey-7",flat:"",dense:"",onClick:o,class:"q-mr-sm"},null,8,["label"]),y.createVNode(ut,{label:R.closeLabel,color:"primary",flat:"",dense:"",onClick:d},null,8,["label"])])])]),_:1},512)]),_:1})]))]),R.startDateHint?(y.openBlock(),y.createElementBlock("div",Vc,[y.createElementVNode("p",qc,y.toDisplayString(R.startDateHint),1)])):y.createCommentVNode("",!0)]))}}),ps=Ht(zc,[["__scopeId","data-v-3ec8c453"]]);var lt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Uc(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}function mn(l){throw new Error('Could not dynamically require "'+l+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ui={exports:{}};/*! ExcelJS 19-10-2023 */var ta;function Wc(){return ta||(ta=1,function(l,B){(function(t){l.exports=t()})(function(){return function t(b,m,c){function i(e,r){if(!m[e]){if(!b[e]){var u=typeof mn=="function"&&mn;if(!r&&u)return u(e,!0);if(s)return s(e,!0);var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}var o=m[e]={exports:{}};b[e][0].call(o.exports,function(d){return i(b[e][1][d]||d)},o,o.exports,t,b,m,c)}return m[e].exports}for(var s=typeof mn=="function"&&mn,n=0;n<c.length;n++)i(c[n]);return i}({1:[function(t,b,m){const c=t("fs"),i=t("fast-csv"),s=t("dayjs/plugin/customParseFormat"),n=t("dayjs/plugin/utc"),e=t("dayjs").extend(s).extend(n),r=t("../utils/stream-buf"),{fs:{exists:u}}=t("../utils/utils"),a={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};b.exports=class{constructor(o){this.workbook=o,this.worksheet=null}async readFile(o,d){if(d=d||{},!await u(o))throw new Error("File not found: "+o);const h=c.createReadStream(o),f=await this.read(h,d);return h.close(),f}read(o,d){return d=d||{},new Promise((h,f)=>{const g=this.workbook.addWorksheet(d.sheetName),p=d.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],k=d.map||function(T){if(T==="")return null;const D=Number(T);if(!Number.isNaN(D)&&D!==1/0)return D;const V=p.reduce((N,q)=>{if(N)return N;const W=e(T,q,!0);return W.isValid()?W:null},null);if(V)return new Date(V.valueOf());const P=a[T];return P!==void 0?P:T},C=i.parse(d.parserOptions).on("data",T=>{g.addRow(T.map(k))}).on("end",()=>{C.emit("worksheet",g)});C.on("worksheet",h).on("error",f),o.pipe(C)})}createInputStream(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write(o,d){return new Promise((h,f)=>{d=d||{};const g=this.workbook.getWorksheet(d.sheetName||d.sheetId),p=i.format(d.formatterOptions);o.on("finish",()=>{h()}),p.on("error",f),p.pipe(o);const{dateFormat:k,dateUTC:C}=d,T=d.map||(P=>{if(P){if(P.text||P.hyperlink)return P.hyperlink||P.text||"";if(P.formula||P.result)return P.result||"";if(P instanceof Date)return k?C?e.utc(P).format(k):e(P).format(k):C?e.utc(P).format():e(P).format();if(P.error)return P.error;if(typeof P=="object")return JSON.stringify(P)}return P}),D=d.includeEmptyRows===void 0||d.includeEmptyRows;let V=1;g&&g.eachRow((P,N)=>{if(D)for(;V++<N-1;)p.write([]);const{values:q}=P;q.shift(),p.write(q.map(T)),V=N}),p.end()})}writeFile(o,d){const h={encoding:(d=d||{}).encoding||"utf8"},f=c.createWriteStream(o,h);return this.write(f,d)}async writeBuffer(o){const d=new r;return await this.write(d,o),d.read()}}},{"../utils/stream-buf":24,"../utils/utils":27,dayjs:391,"dayjs/plugin/customParseFormat":392,"dayjs/plugin/utc":393,"fast-csv":424,fs:216}],2:[function(t,b,m){const c=t("../utils/col-cache");class i{constructor(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=n,e)if(typeof e=="string"){const u=c.decodeAddress(e);this.nativeCol=u.col+r,this.nativeColOff=0,this.nativeRow=u.row+r,this.nativeRowOff=0}else e.nativeCol!==void 0?(this.nativeCol=e.nativeCol||0,this.nativeColOff=e.nativeColOff||0,this.nativeRow=e.nativeRow||0,this.nativeRowOff=e.nativeRowOff||0):e.col!==void 0?(this.col=e.col+r,this.row=e.row+r):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(n){return n instanceof i||n==null?n:new i(n)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(n){this.nativeCol=Math.floor(n),this.nativeColOff=Math.floor((n-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(n){this.nativeRow=Math.floor(n),this.nativeRowOff=Math.floor((n-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(n){this.nativeCol=n.nativeCol,this.nativeColOff=n.nativeColOff,this.nativeRow=n.nativeRow,this.nativeRowOff=n.nativeRowOff}}b.exports=i},{"../utils/col-cache":19}],3:[function(t,b,m){const c=t("../utils/col-cache"),i=t("../utils/under-dash"),s=t("./enums"),{slideFormula:n}=t("../utils/shared-formula"),e=t("./note");class r{constructor(o,d,h){if(!o||!d)throw new Error("A Cell needs a Row");this._row=o,this._column=d,c.validateAddress(h),this._address=h,this._value=u.create(r.Types.Null,this),this.style=this._mergeStyle(o.style,d.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt(o){this.style.numFmt=o}get font(){return this.style.font}set font(o){this.style.font=o}get alignment(){return this.style.alignment}set alignment(o){this.style.alignment=o}get border(){return this.style.border}set border(o){this.style.border=o}get fill(){return this.style.fill}set fill(o){this.style.fill=o}get protection(){return this.style.protection}set protection(o){this.style.protection=o}_mergeStyle(o,d,h){const f=o&&o.numFmt||d&&d.numFmt;f&&(h.numFmt=f);const g=o&&o.font||d&&d.font;g&&(h.font=g);const p=o&&o.alignment||d&&d.alignment;p&&(h.alignment=p);const k=o&&o.border||d&&d.border;k&&(h.border=k);const C=o&&o.fill||d&&d.fill;C&&(h.fill=C);const T=o&&o.protection||d&&d.protection;return T&&(h.protection=T),h}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===r.Types.Merge}merge(o,d){this._value.release(),this._value=u.create(r.Types.Merge,this,o),d||(this.style=o.style)}unmerge(){this.type===r.Types.Merge&&(this._value.release(),this._value=u.create(r.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(o){return this._value.type===r.Types.Merge&&this._value.isMergedTo(o)}get master(){return this.type===r.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===r.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(o){this.type!==r.Types.Merge?(this._value.release(),this._value=u.create(u.getType(o),this,o)):this._value.master.value=o}get note(){return this._comment&&this._comment.note}set note(o){this._comment=new e(o)}get text(){return this._value.toString()}get html(){return i.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(o){this.type===r.Types.String&&(this._value=u.create(r.Types.Hyperlink,this,{text:this._value.value,hyperlink:o}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:o}=this._row;return{sheetName:o.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(o){this.names=[o]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(o){const{definedNames:d}=this.workbook;d.removeAllNames(this.fullAddress),o.forEach(h=>{d.addEx(this.fullAddress,h)})}addName(o){this.workbook.definedNames.addEx(this.fullAddress,o)}removeName(o){this.workbook.definedNames.removeEx(this.fullAddress,o)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(o){this._dataValidations.add(this.address,o)}get model(){const{model:o}=this._value;return o.style=this.style,this._comment&&(o.comment=this._comment.model),o}set model(o){if(this._value.release(),this._value=u.create(o.type,this),this._value.model=o,o.comment)switch(o.comment.type){case"note":this._comment=e.fromModel(o.comment)}o.style?this.style=o.style:this.style={}}}r.Types=s.ValueType;const u={getType:a=>a==null?r.Types.Null:a instanceof String||typeof a=="string"?r.Types.String:typeof a=="number"?r.Types.Number:typeof a=="boolean"?r.Types.Boolean:a instanceof Date?r.Types.Date:a.text&&a.hyperlink?r.Types.Hyperlink:a.formula||a.sharedFormula?r.Types.Formula:a.richText?r.Types.RichText:a.sharedString?r.Types.SharedString:a.error?r.Types.Error:r.Types.JSON,types:[{t:r.Types.Null,f:class{constructor(a){this.model={address:a.address,type:r.Types.Null}}get value(){return null}set value(a){}get type(){return r.Types.Null}get effectiveType(){return r.Types.Null}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return""}release(){}toString(){return""}}},{t:r.Types.Number,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Number,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.Number}get effectiveType(){return r.Types.Number}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:r.Types.String,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.String,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.String}get effectiveType(){return r.Types.String}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}},{t:r.Types.Date,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Date,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.Date}get effectiveType(){return r.Types.Date}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:r.Types.Hyperlink,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Hyperlink,text:o?o.text:void 0,hyperlink:o?o.hyperlink:void 0},o&&o.tooltip&&(this.model.tooltip=o.tooltip)}get value(){const a={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(a.tooltip=this.model.tooltip),a}set value(a){this.model={text:a.text,hyperlink:a.hyperlink},a.tooltip&&(this.model.tooltip=a.tooltip)}get text(){return this.model.text}set text(a){this.model.text=a}get hyperlink(){return this.model.hyperlink}set hyperlink(a){this.model.hyperlink=a}get type(){return r.Types.Hyperlink}get effectiveType(){return r.Types.Hyperlink}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:r.Types.Formula,f:class{constructor(a,o){this.cell=a,this.model={address:a.address,type:r.Types.Formula,shareType:o?o.shareType:void 0,ref:o?o.ref:void 0,formula:o?o.formula:void 0,sharedFormula:o?o.sharedFormula:void 0,result:o?o.result:void 0}}_copyModel(a){const o={},d=h=>{const f=a[h];f&&(o[h]=f)};return d("formula"),d("result"),d("ref"),d("shareType"),d("sharedFormula"),o}get value(){return this._copyModel(this.model)}set value(a){this.model=this._copyModel(a)}validate(a){switch(u.getType(a)){case r.Types.Null:case r.Types.String:case r.Types.Number:case r.Types.Date:break;case r.Types.Hyperlink:case r.Types.Formula:default:throw new Error("Cannot process that type of result value")}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula(a){this.model.formula=a}get formulaType(){return this.model.formula?s.FormulaType.Master:this.model.sharedFormula?s.FormulaType.Shared:s.FormulaType.None}get result(){return this.model.result}set result(a){this.model.result=a}get type(){return r.Types.Formula}get effectiveType(){const a=this.model.result;return a==null?s.ValueType.Null:a instanceof String||typeof a=="string"?s.ValueType.String:typeof a=="number"?s.ValueType.Number:a instanceof Date?s.ValueType.Date:a.text&&a.hyperlink?s.ValueType.Hyperlink:a.formula?s.ValueType.Formula:s.ValueType.Null}get address(){return this.model.address}set address(a){this.model.address=a}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){const{worksheet:a}=this.cell,o=a.findCell(this.model.sharedFormula);this._translatedFormula=o&&n(o.formula,o.address,this.model.address)}return this._translatedFormula}toCsvString(){return""+(this.model.result||"")}release(){}toString(){return this.model.result?this.model.result.toString():""}}},{t:r.Types.Merge,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Merge,master:o?o.address:void 0},this._master=o,o&&o.addMergeRef()}get value(){return this._master.value}set value(a){a instanceof r?(this._master&&this._master.releaseMergeRef(),a.addMergeRef(),this._master=a):this._master.value=a}isMergedTo(a){return a===this._master}get master(){return this._master}get type(){return r.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:r.Types.JSON,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.String,value:JSON.stringify(o),rawValue:o}}get value(){return this.model.rawValue}set value(a){this.model.rawValue=a,this.model.value=JSON.stringify(a)}get type(){return r.Types.String}get effectiveType(){return r.Types.String}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:r.Types.SharedString,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.SharedString,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.SharedString}get effectiveType(){return r.Types.SharedString}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:r.Types.RichText,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.String,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}toString(){return this.model.value.richText.map(a=>a.text).join("")}get type(){return r.Types.RichText}get effectiveType(){return r.Types.RichText}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}},{t:r.Types.Boolean,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Boolean,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.Boolean}get effectiveType(){return r.Types.Boolean}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:r.Types.Error,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Error,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.Error}get effectiveType(){return r.Types.Error}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce((a,o)=>(a[o.t]=o.f,a),[]),create(a,o,d){const h=this.types[a];if(!h)throw new Error("Could not create Value of type "+a);return new h(o,d)}};b.exports=r},{"../utils/col-cache":19,"../utils/shared-formula":23,"../utils/under-dash":26,"./enums":7,"./note":9}],4:[function(t,b,m){const c=t("../utils/under-dash"),i=t("./enums"),s=t("../utils/col-cache");class n{constructor(r,u,a){this._worksheet=r,this._number=u,a!==!1&&(this.defn=a)}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return s.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn(r){r?(this.key=r.key,this.width=r.width!==void 0?r.width:9,this.outlineLevel=r.outlineLevel,r.style?this.style=r.style:this.style={},this.header=r.header,this._hidden=!!r.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header(r){r!==void 0?(this._header=r,this.headers.forEach((u,a)=>{this._worksheet.getCell(a+1,this.number).value=u})):this._header=void 0}get key(){return this._key}set key(r){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=r,r&&this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(r){this._hidden=r}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(r){this._outlineLevel=r}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo(r){return this.width===r.width&&this.hidden===r.hidden&&this.outlineLevel===r.outlineLevel&&c.isEqual(this.style,r.style)}get isDefault(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;const r=this.style;return!r||!(r.font||r.numFmt||r.alignment||r.border||r.fill||r.protection)}get headerCount(){return this.headers.length}eachCell(r,u){const a=this.number;u||(u=r,r=null),this._worksheet.eachRow(r,(o,d)=>{u(o.getCell(a),d)})}get values(){const r=[];return this.eachCell((u,a)=>{u&&u.type!==i.ValueType.Null&&(r[a]=u.value)}),r}set values(r){if(!r)return;const u=this.number;let a=0;r.hasOwnProperty("0")&&(a=1),r.forEach((o,d)=>{this._worksheet.getCell(d+a,u).value=o})}_applyStyle(r,u){return this.style[r]=u,this.eachCell(a=>{a[r]=u}),u}get numFmt(){return this.style.numFmt}set numFmt(r){this._applyStyle("numFmt",r)}get font(){return this.style.font}set font(r){this._applyStyle("font",r)}get alignment(){return this.style.alignment}set alignment(r){this._applyStyle("alignment",r)}get protection(){return this.style.protection}set protection(r){this._applyStyle("protection",r)}get border(){return this.style.border}set border(r){this._applyStyle("border",r)}get fill(){return this.style.fill}set fill(r){this._applyStyle("fill",r)}static toModel(r){const u=[];let a=null;return r&&r.forEach((o,d)=>{o.isDefault?a&&(a=null):a&&o.equivalentTo(a)?a.max=d+1:(a={min:d+1,max:d+1,width:o.width!==void 0?o.width:9,style:o.style,isCustomWidth:o.isCustomWidth,hidden:o.hidden,outlineLevel:o.outlineLevel,collapsed:o.collapsed},u.push(a))}),u.length?u:void 0}static fromModel(r,u){const a=[];let o=1,d=0;for(u=(u=u||[]).sort(function(h,f){return h.min-f.min});d<u.length;){const h=u[d++];for(;o<h.min;)a.push(new n(r,o++));for(;o<=h.max;)a.push(new n(r,o++,h))}return a.length?a:null}}b.exports=n},{"../utils/col-cache":19,"../utils/under-dash":26,"./enums":7}],5:[function(t,b,m){b.exports=class{constructor(c){this.model=c||{}}add(c,i){return this.model[c]=i}find(c){return this.model[c]}remove(c){this.model[c]=void 0}}},{}],6:[function(t,b,m){const c=t("../utils/under-dash"),i=t("../utils/col-cache"),s=t("../utils/cell-matrix"),n=t("./range"),e=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;b.exports=class{constructor(){this.matrixMap={}}getMatrix(r){return this.matrixMap[r]||(this.matrixMap[r]=new s)}add(r,u){const a=i.decodeEx(r);this.addEx(a,u)}addEx(r,u){const a=this.getMatrix(u);if(r.top)for(let o=r.left;o<=r.right;o++)for(let d=r.top;d<=r.bottom;d++){const h={sheetName:r.sheetName,address:i.n2l(o)+d,row:d,col:o};a.addCellEx(h)}else a.addCellEx(r)}remove(r,u){const a=i.decodeEx(r);this.removeEx(a,u)}removeEx(r,u){this.getMatrix(u).removeCellEx(r)}removeAllNames(r){c.each(this.matrixMap,u=>{u.removeCellEx(r)})}forEach(r){c.each(this.matrixMap,(u,a)=>{u.forEach(o=>{r(a,o)})})}getNames(r){return this.getNamesEx(i.decodeEx(r))}getNamesEx(r){return c.map(this.matrixMap,(u,a)=>u.findCellEx(r)&&a).filter(Boolean)}_explore(r,u){u.mark=!1;const{sheetName:a}=u,o=new n(u.row,u.col,u.row,u.col,a);let d,h;function f(p,k){const C=r.findCellAt(a,p,u.col);return!(!C||!C.mark)&&(o[k]=p,C.mark=!1,!0)}for(h=u.row-1;f(h,"top");h--);for(h=u.row+1;f(h,"bottom");h++);function g(p,k){const C=[];for(h=o.top;h<=o.bottom;h++){const T=r.findCellAt(a,h,p);if(!T||!T.mark)return!1;C.push(T)}o[k]=p;for(let T=0;T<C.length;T++)C[T].mark=!1;return!0}for(d=u.col-1;g(d,"left");d--);for(d=u.col+1;g(d,"right");d++);return o}getRanges(r,u){return(u=u||this.matrixMap[r])?(u.forEach(a=>{a.mark=!0}),{name:r,ranges:u.map(a=>a.mark&&this._explore(u,a)).filter(Boolean).map(a=>a.$shortRange)}):{name:r,ranges:[]}}normaliseMatrix(r,u){r.forEachInSheet(u,(a,o,d)=>{a&&(a.row===o&&a.col===d||(a.row=o,a.col=d,a.address=i.n2l(d)+o))})}spliceRows(r,u,a,o){c.each(this.matrixMap,d=>{d.spliceRows(r,u,a,o),this.normaliseMatrix(d,r)})}spliceColumns(r,u,a,o){c.each(this.matrixMap,d=>{d.spliceColumns(r,u,a,o),this.normaliseMatrix(d,r)})}get model(){return c.map(this.matrixMap,(r,u)=>this.getRanges(u,r)).filter(r=>r.ranges.length)}set model(r){const u=this.matrixMap={};r.forEach(a=>{const o=u[a.name]=new s;a.ranges.forEach(d=>{e.test(d.split("!").pop()||"")&&o.addCell(d)})})}}},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":26,"./range":10}],7:[function(t,b,m){b.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(t,b,m){const c=t("../utils/col-cache"),i=t("./anchor");b.exports=class{constructor(s,n){this.worksheet=s,this.model=n}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}}set model(s){let{type:n,imageId:e,range:r,hyperlinks:u}=s;if(this.type=n,this.imageId=e,n==="image")if(typeof r=="string"){const a=c.decode(r);this.range={tl:new i(this.worksheet,{col:a.left,row:a.top},-1),br:new i(this.worksheet,{col:a.right,row:a.bottom},0),editAs:"oneCell"}}else this.range={tl:new i(this.worksheet,r.tl,0),br:r.br&&new i(this.worksheet,r.br,0),ext:r.ext,editAs:r.editAs,hyperlinks:u||r.hyperlinks}}}},{"../utils/col-cache":19,"./anchor":2}],9:[function(t,b,m){const c=t("../utils/under-dash");class i{constructor(n){this.note=n}get model(){let n=null;switch(typeof this.note){case"string":n={type:"note",note:{texts:[{text:this.note}]}};break;default:n={type:"note",note:this.note}}return c.deepMerge({},i.DEFAULT_CONFIGS,n)}set model(n){const{note:e}=n,{texts:r}=e;r.length===1&&Object.keys(r[0]).length===1?this.note=r[0].text:this.note=e}static fromModel(n){const e=new i;return e.model=n,e}}i.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},b.exports=i},{"../utils/under-dash":26}],10:[function(t,b,m){const c=t("../utils/col-cache");class i{constructor(){this.decode(arguments)}setTLBR(n,e,r,u,a){if(arguments.length<4){const o=c.decodeAddress(n),d=c.decodeAddress(e);this.model={top:Math.min(o.row,d.row),left:Math.min(o.col,d.col),bottom:Math.max(o.row,d.row),right:Math.max(o.col,d.col),sheetName:r},this.setTLBR(o.row,o.col,d.row,d.col,a)}else this.model={top:Math.min(n,r),left:Math.min(e,u),bottom:Math.max(n,r),right:Math.max(e,u),sheetName:a}}decode(n){switch(n.length){case 5:this.setTLBR(n[0],n[1],n[2],n[3],n[4]);break;case 4:this.setTLBR(n[0],n[1],n[2],n[3]);break;case 3:this.setTLBR(n[0],n[1],n[2]);break;case 2:this.setTLBR(n[0],n[1]);break;case 1:{const e=n[0];if(e instanceof i)this.model={top:e.model.top,left:e.model.left,bottom:e.model.bottom,right:e.model.right,sheetName:e.sheetName};else if(e instanceof Array)this.decode(e);else if(e.top&&e.left&&e.bottom&&e.right)this.model={top:e.top,left:e.left,bottom:e.bottom,right:e.right,sheetName:e.sheetName};else{const r=c.decodeEx(e);r.top?this.model={top:r.top,left:r.left,bottom:r.bottom,right:r.right,sheetName:r.sheetName}:this.model={top:r.row,left:r.col,bottom:r.row,right:r.col,sheetName:r.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - "+n.length)}}get top(){return this.model.top||1}set top(n){this.model.top=n}get left(){return this.model.left||1}set left(n){this.model.left=n}get bottom(){return this.model.bottom||1}set bottom(n){this.model.bottom=n}get right(){return this.model.right||1}set right(n){this.model.right=n}get sheetName(){return this.model.sheetName}set sheetName(n){this.model.sheetName=n}get _serialisedSheetName(){const{sheetName:n}=this.model;return n?/^[a-zA-Z0-9]*$/.test(n)?n+"!":`'${n}'!`:""}expand(n,e,r,u){(!this.model.top||n<this.top)&&(this.top=n),(!this.model.left||e<this.left)&&(this.left=e),(!this.model.bottom||r>this.bottom)&&(this.bottom=r),(!this.model.right||u>this.right)&&(this.right=u)}expandRow(n){if(n){const{dimensions:e,number:r}=n;e&&this.expand(r,e.min,r,e.max)}}expandToAddress(n){const e=c.decodeEx(n);this.expand(e.row,e.col,e.row,e.col)}get tl(){return c.n2l(this.left)+this.top}get $t$l(){return`$${c.n2l(this.left)}$${this.top}`}get br(){return c.n2l(this.right)+this.bottom}get $b$r(){return`$${c.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(n){return(!n.sheetName||!this.sheetName||n.sheetName===this.sheetName)&&!(n.bottom<this.top)&&!(n.top>this.bottom)&&!(n.right<this.left)&&!(n.left>this.right)}contains(n){const e=c.decodeEx(n);return this.containsEx(e)}containsEx(n){return(!n.sheetName||!this.sheetName||n.sheetName===this.sheetName)&&n.row>=this.top&&n.row<=this.bottom&&n.col>=this.left&&n.col<=this.right}forEachAddress(n){for(let e=this.left;e<=this.right;e++)for(let r=this.top;r<=this.bottom;r++)n(c.encodeAddress(r,e),r,e)}}b.exports=i},{"../utils/col-cache":19}],11:[function(t,b,m){const c=t("../utils/under-dash"),i=t("./enums"),s=t("../utils/col-cache"),n=t("./cell");b.exports=class{constructor(e,r){this._worksheet=e,this._number=r,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell(e){return this._cells[e-1]}getCellEx(e){let r=this._cells[e.col-1];if(!r){const u=this._worksheet.getColumn(e.col);r=new n(this,u,e.address),this._cells[e.col-1]=r}return r}getCell(e){if(typeof e=="string"){const r=this._worksheet.getColumnKey(e);e=r?r.number:s.l2n(e)}return this._cells[e-1]||this.getCellEx({address:s.encodeAddress(this._number,e),row:this._number,col:e})}splice(e,r){const u=e+r;for(var a=arguments.length,o=new Array(a>2?a-2:0),d=2;d<a;d++)o[d-2]=arguments[d];const h=o.length-r,f=this._cells.length;let g,p,k;if(h<0)for(g=e+o.length;g<=f;g++)k=this._cells[g-1],p=this._cells[g-h-1],p?(k=this.getCell(g),k.value=p.value,k.style=p.style,k._comment=p._comment):k&&(k.value=null,k.style={},k._comment=void 0);else if(h>0)for(g=f;g>=u;g--)p=this._cells[g-1],p?(k=this.getCell(g+h),k.value=p.value,k.style=p.style,k._comment=p._comment):this._cells[g+h-1]=void 0;for(g=0;g<o.length;g++)k=this.getCell(e+g),k.value=o[g],k.style={},k._comment=void 0}eachCell(e,r){if(r||(r=e,e=null),e&&e.includeEmpty){const u=this._cells.length;for(let a=1;a<=u;a++)r(this.getCell(a),a)}else this._cells.forEach((u,a)=>{u&&u.type!==i.ValueType.Null&&r(u,a+1)})}addPageBreak(e,r){const u=this._worksheet,a=Math.max(0,e-1)||0,o=Math.max(0,r-1)||16838,d={id:this._number,max:o,man:1};a&&(d.min=a),u.rowBreaks.push(d)}get values(){const e=[];return this._cells.forEach(r=>{r&&r.type!==i.ValueType.Null&&(e[r.col]=r.value)}),e}set values(e){if(this._cells=[],e)if(e instanceof Array){let r=0;e.hasOwnProperty("0")&&(r=1),e.forEach((u,a)=>{u!==void 0&&(this.getCellEx({address:s.encodeAddress(this._number,a+r),row:this._number,col:a+r}).value=u)})}else this._worksheet.eachColumnKey((r,u)=>{e[u]!==void 0&&(this.getCellEx({address:s.encodeAddress(this._number,r.number),row:this._number,col:r.number}).value=e[u])})}get hasValues(){return c.some(this._cells,e=>e&&e.type!==i.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let e=0;return this.eachCell(()=>{e++}),e}get dimensions(){let e=0,r=0;return this._cells.forEach(u=>{u&&u.type!==i.ValueType.Null&&((!e||e>u.col)&&(e=u.col),r<u.col&&(r=u.col))}),e>0?{min:e,max:r}:null}_applyStyle(e,r){return this.style[e]=r,this._cells.forEach(u=>{u&&(u[e]=r)}),r}get numFmt(){return this.style.numFmt}set numFmt(e){this._applyStyle("numFmt",e)}get font(){return this.style.font}set font(e){this._applyStyle("font",e)}get alignment(){return this.style.alignment}set alignment(e){this._applyStyle("alignment",e)}get protection(){return this.style.protection}set protection(e){this._applyStyle("protection",e)}get border(){return this.style.border}set border(e){this._applyStyle("border",e)}get fill(){return this.style.fill}set fill(e){this._applyStyle("fill",e)}get hidden(){return!!this._hidden}set hidden(e){this._hidden=e}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(e){this._outlineLevel=e}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){const e=[];let r=0,u=0;return this._cells.forEach(a=>{if(a){const o=a.model;o&&((!r||r>a.col)&&(r=a.col),u<a.col&&(u=a.col),e.push(o))}}),this.height||e.length?{cells:e,number:this.number,min:r,max:u,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model(e){if(e.number!==this._number)throw new Error("Invalid row number in model");let r;this._cells=[],e.cells.forEach(u=>{switch(u.type){case n.Types.Merge:break;default:{let a;if(u.address)a=s.decodeAddress(u.address);else if(r){const{row:o}=r,d=r.col+1;a={row:o,col:d,address:s.encodeAddress(o,d),$col$row:`$${s.n2l(d)}$${o}`}}r=a,this.getCellEx(a).model=u;break}}}),e.height?this.height=e.height:delete this.height,this.hidden=e.hidden,this.outlineLevel=e.outlineLevel||0,this.style=e.style&&JSON.parse(JSON.stringify(e.style))||{}}}},{"../utils/col-cache":19,"../utils/under-dash":26,"./cell":3,"./enums":7}],12:[function(t,b,m){const c=t("../utils/col-cache");class i{constructor(n,e,r){this.table=n,this.column=e,this.index=r}_set(n,e){this.table.cacheState(),this.column[n]=e}get name(){return this.column.name}set name(n){this._set("name",n)}get filterButton(){return this.column.filterButton}set filterButton(n){this.column.filterButton=n}get style(){return this.column.style}set style(n){this.column.style=n}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(n){this._set("totalsRowLabel",n)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(n){this._set("totalsRowFunction",n)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(n){this._set("totalsRowResult",n)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(n){this._set("totalsRowFormula",n)}}b.exports=class{constructor(s,n){this.worksheet=s,n&&(this.table=n,this.validate(),this.store())}getFormula(s){switch(s.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${s.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${s.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${s.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${s.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${s.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${s.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${s.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${s.name}])`;case"custom":return s.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: "+s.totalsRowFunction)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){const{table:s}=this,n=(h,f,g)=>{h[f]===void 0&&(h[f]=g)};n(s,"headerRow",!0),n(s,"totalsRow",!1),n(s,"style",{}),n(s.style,"theme","TableStyleMedium2"),n(s.style,"showFirstColumn",!1),n(s.style,"showLastColumn",!1),n(s.style,"showRowStripes",!1),n(s.style,"showColumnStripes",!1);const e=(h,f)=>{if(!h)throw new Error(f)};e(s.ref,"Table must have ref"),e(s.columns,"Table must have column definitions"),e(s.rows,"Table must have row definitions"),s.tl=c.decodeAddress(s.ref);const{row:r,col:u}=s.tl;e(r>0,"Table must be on valid row"),e(u>0,"Table must be on valid col");const{width:a,filterHeight:o,tableHeight:d}=this;s.autoFilterRef=c.encode(r,u,r+o-1,u+a-1),s.tableRef=c.encode(r,u,r+d-1,u+a-1),s.columns.forEach((h,f)=>{e(h.name,`Column ${f} must have a name`),f===0?n(h,"totalsRowLabel","Total"):(n(h,"totalsRowFunction","none"),h.totalsRowFormula=this.getFormula(h))})}store(){const s=(o,d)=>{d&&Object.keys(d).forEach(h=>{o[h]=d[h]})},{worksheet:n,table:e}=this,{row:r,col:u}=e.tl;let a=0;if(e.headerRow){const o=n.getRow(r+a++);e.columns.forEach((d,h)=>{const{style:f,name:g}=d,p=o.getCell(u+h);p.value=g,s(p,f)})}if(e.rows.forEach(o=>{const d=n.getRow(r+a++);o.forEach((h,f)=>{const g=d.getCell(u+f);g.value=h,s(g,e.columns[f].style)})}),e.totalsRow){const o=n.getRow(r+a++);e.columns.forEach((d,h)=>{const f=o.getCell(u+h);if(h===0)f.value=d.totalsRowLabel;else{const g=this.getFormula(d);f.value=g?{formula:d.totalsRowFormula,result:d.totalsRowResult}:null}s(f,d.style)})}}load(s){const{table:n}=this,{row:e,col:r}=n.tl;let u=0;if(n.headerRow){const a=s.getRow(e+u++);n.columns.forEach((o,d)=>{a.getCell(r+d).value=o.name})}if(n.rows.forEach(a=>{const o=s.getRow(e+u++);a.forEach((d,h)=>{o.getCell(r+h).value=d})}),n.totalsRow){const a=s.getRow(e+u++);n.columns.forEach((o,d)=>{const h=a.getCell(r+d);d===0?h.value=o.totalsRowLabel:this.getFormula(o)&&(h.value={formula:o.totalsRowFormula,result:o.totalsRowResult})})}}get model(){return this.table}set model(s){this.table=s}cacheState(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}commit(){if(!this._cache)return;this.validate();const s=c.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let n=0;n<this._cache.tableHeight;n++){const e=this.worksheet.getRow(s.row+n);for(let r=0;r<this._cache.width;r++)e.getCell(s.col+r).value=null}else{for(let n=this.tableHeight;n<this._cache.tableHeight;n++){const e=this.worksheet.getRow(s.row+n);for(let r=0;r<this._cache.width;r++)e.getCell(s.col+r).value=null}for(let n=0;n<this.tableHeight;n++){const e=this.worksheet.getRow(s.row+n);for(let r=this.width;r<this._cache.width;r++)e.getCell(s.col+r).value=null}}this.store()}addRow(s,n){this.cacheState(),n===void 0?this.table.rows.push(s):this.table.rows.splice(n,0,s)}removeRows(s){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(s,n)}getColumn(s){const n=this.table.columns[s];return new i(this,n,s)}addColumn(s,n,e){this.cacheState(),e===void 0?(this.table.columns.push(s),this.table.rows.forEach((r,u)=>{r.push(n[u])})):(this.table.columns.splice(e,0,s),this.table.rows.forEach((r,u)=>{r.splice(e,0,n[u])}))}removeColumns(s){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(s,n),this.table.rows.forEach(e=>{e.splice(s,n)})}_assign(s,n,e){this.cacheState(),s[n]=e}get ref(){return this.table.ref}set ref(s){this._assign(this.table,"ref",s)}get name(){return this.table.name}set name(s){this.table.name=s}get displayName(){return this.table.displyName||this.table.name}set displayNamename(s){this.table.displayName=s}get headerRow(){return this.table.headerRow}set headerRow(s){this._assign(this.table,"headerRow",s)}get totalsRow(){return this.table.totalsRow}set totalsRow(s){this._assign(this.table,"totalsRow",s)}get theme(){return this.table.style.name}set theme(s){this.table.style.name=s}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(s){this.table.style.showFirstColumn=s}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(s){this.table.style.showLastColumn=s}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(s){this.table.style.showRowStripes=s}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(s){this.table.style.showColumnStripes=s}}},{"../utils/col-cache":19}],13:[function(t,b,m){const c=t("./worksheet"),i=t("./defined-names"),s=t("../xlsx/xlsx"),n=t("../csv/csv");b.exports=class{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new i}get xlsx(){return this._xlsx||(this._xlsx=new s(this)),this._xlsx}get csv(){return this._csv||(this._csv=new n(this)),this._csv}get nextId(){for(let e=1;e<this._worksheets.length;e++)if(!this._worksheets[e])return e;return this._worksheets.length||1}addWorksheet(e,r){const u=this.nextId;r&&(typeof r=="string"?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),r={properties:{tabColor:{argb:r}}}):(r.argb||r.theme||r.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),r={properties:{tabColor:r}}));const a=this._worksheets.reduce((h,f)=>(f&&f.orderNo)>h?f.orderNo:h,0),o=Object.assign({},r,{id:u,name:e,orderNo:a+1,workbook:this}),d=new c(o);return this._worksheets[u]=d,d}removeWorksheetEx(e){delete this._worksheets[e.id]}removeWorksheet(e){const r=this.getWorksheet(e);r&&r.destroy()}getWorksheet(e){return e===void 0?this._worksheets.find(Boolean):typeof e=="number"?this._worksheets[e]:typeof e=="string"?this._worksheets.find(r=>r&&r.name===e):void 0}get worksheets(){return this._worksheets.slice(1).sort((e,r)=>e.orderNo-r.orderNo).filter(Boolean)}eachSheet(e){this.worksheets.forEach(r=>{e(r,r.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(e){const r=this.media.length;return this.media.push(Object.assign({},e,{type:"image"})),r}getImage(e){return this.media[e]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(e=>e.model),sheets:this.worksheets.map(e=>e.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model(e){this.creator=e.creator,this.lastModifiedBy=e.lastModifiedBy,this.lastPrinted=e.lastPrinted,this.created=e.created,this.modified=e.modified,this.company=e.company,this.manager=e.manager,this.title=e.title,this.subject=e.subject,this.keywords=e.keywords,this.category=e.category,this.description=e.description,this.language=e.language,this.revision=e.revision,this.contentStatus=e.contentStatus,this.properties=e.properties,this.calcProperties=e.calcProperties,this._worksheets=[],e.worksheets.forEach(r=>{const{id:u,name:a,state:o}=r,d=e.sheets&&e.sheets.findIndex(h=>h.id===u);(this._worksheets[u]=new c({id:u,name:a,orderNo:d,state:o,workbook:this})).model=r}),this._definedNames.model=e.definedNames,this.views=e.views,this._themes=e.themes,this.media=e.media||[]}}},{"../csv/csv":1,"../xlsx/xlsx":144,"./defined-names":6,"./worksheet":14}],14:[function(t,b,m){const c=t("../utils/under-dash"),i=t("../utils/col-cache"),s=t("./range"),n=t("./row"),e=t("./column"),r=t("./enums"),u=t("./image"),a=t("./table"),o=t("./data-validations"),d=t("../utils/encryptor"),{copyStyle:h}=t("../utils/copy-style");b.exports=class{constructor(f){f=f||{},this._workbook=f.workbook,this.id=f.id,this.orderNo=f.orderNo,this.name=f.name,this.state=f.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},f.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!f.pageSetup||!f.pageSetup.fitToWidth&&!f.pageSetup.fitToHeight||f.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},f.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},f.headerFooter),this.dataValidations=new o,this.views=f.views||[],this.autoFilter=f.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(f){if(f===void 0&&(f="sheet"+this.id),this._name!==f){if(typeof f!="string")throw new Error("The name has to be a string.");if(f==="")throw new Error("The name can't be empty.");if(f==="History")throw new Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test(f))throw new Error(`Worksheet name ${f} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test(f))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: "+f);if(f&&f.length>31&&(console.warn(`Worksheet name ${f} exceeds 31 chars. This will be truncated`),f=f.substring(0,31)),this._workbook._worksheets.find(g=>g&&g.name.toLowerCase()===f.toLowerCase()))throw new Error("Worksheet name already exists: "+f);this._name=f}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const f=new s;return this._rows.forEach(g=>{if(g){const p=g.dimensions;p&&f.expand(g.number,p.min,g.number,p.max)}}),f}get columns(){return this._columns}set columns(f){this._headerRowCount=f.reduce((k,C)=>{const T=(C.header?1:C.headers&&C.headers.length)||0;return Math.max(k,T)},0);let g=1;const p=this._columns=[];f.forEach(k=>{const C=new e(this,g++,!1);p.push(C),C.defn=k})}getColumnKey(f){return this._keys[f]}setColumnKey(f,g){this._keys[f]=g}deleteColumnKey(f){delete this._keys[f]}eachColumnKey(f){c.each(this._keys,f)}getColumn(f){if(typeof f=="string"){const g=this._keys[f];if(g)return g;f=i.l2n(f)}if(this._columns||(this._columns=[]),f>this._columns.length){let g=this._columns.length+1;for(;g<=f;)this._columns.push(new e(this,g++))}return this._columns[f-1]}spliceColumns(f,g){const p=this._rows.length;for(var k=arguments.length,C=new Array(k>2?k-2:0),T=2;T<k;T++)C[T-2]=arguments[T];if(C.length>0)for(let N=0;N<p;N++){const q=[f,g];C.forEach(L=>{q.push(L[N]||null)});const W=this.getRow(N+1);W.splice.apply(W,q)}else this._rows.forEach(N=>{N&&N.splice(f,g)});const D=C.length-g,V=f+g,P=this._columns.length;if(D<0)for(let N=f+C.length;N<=P;N++)this.getColumn(N).defn=this.getColumn(N-D).defn;else if(D>0)for(let N=P;N>=V;N--)this.getColumn(N+D).defn=this.getColumn(N).defn;for(let N=f;N<f+C.length;N++)this.getColumn(N).defn=null;this.workbook.definedNames.spliceColumns(this.name,f,g,C.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let f=0;return this.eachRow(g=>{f=Math.max(f,g.cellCount)}),f}get actualColumnCount(){const f=[];let g=0;return this.eachRow(p=>{p.eachCell(k=>{let{col:C}=k;f[C]||(f[C]=!0,g++)})}),g}_commitRow(){}get _lastRowNumber(){const f=this._rows;let g=f.length;for(;g>0&&f[g-1]===void 0;)g--;return g}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(f){return this._rows[f-1]}findRows(f,g){return this._rows.slice(f-1,f-1+g)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let f=0;return this.eachRow(()=>{f++}),f}getRow(f){let g=this._rows[f-1];return g||(g=this._rows[f-1]=new n(this,f)),g}getRows(f,g){if(g<1)return;const p=[];for(let k=f;k<f+g;k++)p.push(this.getRow(k));return p}addRow(f){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";const p=this._nextRow,k=this.getRow(p);return k.values=f,this._setStyleOption(p,g[0]==="i"?g:"n"),k}addRows(f){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";const p=[];return f.forEach(k=>{p.push(this.addRow(k,g))}),p}insertRow(f,g){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";return this.spliceRows(f,0,g),this._setStyleOption(f,p),this.getRow(f)}insertRows(f,g){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";if(this.spliceRows(f,0,...g),p!=="n")for(let k=0;k<g.length;k++)p[0]==="o"&&this.findRow(g.length+f+k)!==void 0?this._copyStyle(g.length+f+k,f+k,p[1]==="+"):p[0]==="i"&&this.findRow(f-1)!==void 0&&this._copyStyle(f-1,f+k,p[1]==="+");return this.getRows(f,g.length)}_setStyleOption(f){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";g[0]==="o"&&this.findRow(f+1)!==void 0?this._copyStyle(f+1,f,g[1]==="+"):g[0]==="i"&&this.findRow(f-1)!==void 0&&this._copyStyle(f-1,f,g[1]==="+")}_copyStyle(f,g){let p=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const k=this.getRow(f),C=this.getRow(g);C.style=h(k.style),k.eachCell({includeEmpty:p},(T,D)=>{C.getCell(D).style=h(T.style)}),C.height=k.height}duplicateRow(f,g){let p=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const k=this._rows[f-1],C=new Array(g).fill(k.values);this.spliceRows(f+1,p?0:g,...C);for(let T=0;T<g;T++){const D=this._rows[f+T];D.style=k.style,D.height=k.height,k.eachCell({includeEmpty:!0},(V,P)=>{D.getCell(P).style=V.style})}}spliceRows(f,g){const p=f+g;for(var k=arguments.length,C=new Array(k>2?k-2:0),T=2;T<k;T++)C[T-2]=arguments[T];const D=C.length,V=D-g,P=this._rows.length;let N,q;if(V<0)for(f===P&&(this._rows[P-1]=void 0),N=p;N<=P;N++)if(q=this._rows[N-1],q){const W=this.getRow(N+V);W.values=q.values,W.style=q.style,W.height=q.height,q.eachCell({includeEmpty:!0},(L,A)=>{W.getCell(A).style=L.style}),this._rows[N-1]=void 0}else this._rows[N+V-1]=void 0;else if(V>0)for(N=P;N>=p;N--)if(q=this._rows[N-1],q){const W=this.getRow(N+V);W.values=q.values,W.style=q.style,W.height=q.height,q.eachCell({includeEmpty:!0},(L,A)=>{if(W.getCell(A).style=L.style,L._value.constructor.name==="MergeValue"){const M=this.getRow(L._row._number+D).getCell(A),_=L._value._master,v=this.getRow(_._row._number+D).getCell(_._column._number);M.merge(v)}})}else this._rows[N+V-1]=void 0;for(N=0;N<D;N++){const W=this.getRow(f+N);W.style={},W.values=C[N]}this.workbook.definedNames.spliceRows(this.name,f,g,D)}eachRow(f,g){if(g||(g=f,f=void 0),f&&f.includeEmpty){const p=this._rows.length;for(let k=1;k<=p;k++)g(this.getRow(k),k)}else this._rows.forEach(p=>{p&&p.hasValues&&g(p,p.number)})}getSheetValues(){const f=[];return this._rows.forEach(g=>{g&&(f[g.number]=g.values)}),f}findCell(f,g){const p=i.getAddress(f,g),k=this._rows[p.row-1];return k?k.findCell(p.col):void 0}getCell(f,g){const p=i.getAddress(f,g);return this.getRow(p.row).getCellEx(p)}mergeCells(){for(var f=arguments.length,g=new Array(f),p=0;p<f;p++)g[p]=arguments[p];const k=new s(g);this._mergeCellsInternal(k)}mergeCellsWithoutStyle(){for(var f=arguments.length,g=new Array(f),p=0;p<f;p++)g[p]=arguments[p];const k=new s(g);this._mergeCellsInternal(k,!0)}_mergeCellsInternal(f,g){c.each(this._merges,k=>{if(k.intersects(f))throw new Error("Cannot merge already merged cells")});const p=this.getCell(f.top,f.left);for(let k=f.top;k<=f.bottom;k++)for(let C=f.left;C<=f.right;C++)(k>f.top||C>f.left)&&this.getCell(k,C).merge(p,g);this._merges[p.address]=f}_unMergeMaster(f){const g=this._merges[f.address];if(g){for(let p=g.top;p<=g.bottom;p++)for(let k=g.left;k<=g.right;k++)this.getCell(p,k).unmerge();delete this._merges[f.address]}}get hasMerges(){return c.some(this._merges,Boolean)}unMergeCells(){for(var f=arguments.length,g=new Array(f),p=0;p<f;p++)g[p]=arguments[p];const k=new s(g);for(let C=k.top;C<=k.bottom;C++)for(let T=k.left;T<=k.right;T++){const D=this.findCell(C,T);D&&(D.type===r.ValueType.Merge?this._unMergeMaster(D.master):this._merges[D.address]&&this._unMergeMaster(D))}}fillFormula(f,g,p){let k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"shared";const C=i.decode(f),{top:T,left:D,bottom:V,right:P}=C,N=P-D+1,q=i.encodeAddress(T,D),W=k==="shared";let L;L=typeof p=="function"?p:Array.isArray(p)?Array.isArray(p[0])?(M,_)=>p[M-T][_-D]:(M,_)=>p[(M-T)*N+(_-D)]:()=>{};let A=!0;for(let M=T;M<=V;M++)for(let _=D;_<=P;_++)A?(this.getCell(M,_).value={shareType:k,formula:g,ref:f,result:L(M,_)},A=!1):this.getCell(M,_).value=W?{sharedFormula:q,result:L(M,_)}:L(M,_)}addImage(f,g){const p={type:"image",imageId:f,range:g};this._media.push(new u(this,p))}getImages(){return this._media.filter(f=>f.type==="image")}addBackgroundImage(f){const g={type:"background",imageId:f};this._media.push(new u(this,g))}getBackgroundImageId(){const f=this._media.find(g=>g.type==="background");return f&&f.imageId}protect(f,g){return new Promise(p=>{this.sheetProtection={sheet:!0},g&&"spinCount"in g&&(g.spinCount=Number.isFinite(g.spinCount)?Math.round(Math.max(0,g.spinCount)):1e5),f&&(this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=d.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=g&&"spinCount"in g?g.spinCount:1e5,this.sheetProtection.hashValue=d.convertPasswordToHash(f,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount)),g&&(this.sheetProtection=Object.assign(this.sheetProtection,g),!f&&"spinCount"in g&&delete this.sheetProtection.spinCount),p()})}unprotect(){this.sheetProtection=null}addTable(f){const g=new a(this,f);return this.tables[f.name]=g,g}getTable(f){return this.tables[f]}removeTable(f){delete this.tables[f]}getTables(){return Object.values(this.tables)}addConditionalFormatting(f){this.conditionalFormattings.push(f)}removeConditionalFormatting(f){typeof f=="number"?this.conditionalFormattings.splice(f,1):this.conditionalFormattings=f instanceof Function?this.conditionalFormattings.filter(f):[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor(f){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=f}get model(){const f={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(k=>k.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(k=>k.model),conditionalFormattings:this.conditionalFormattings};f.cols=e.toModel(this.columns);const g=f.rows=[],p=f.dimensions=new s;return this._rows.forEach(k=>{const C=k&&k.model;C&&(p.expand(C.number,C.min,C.number,C.max),g.push(C))}),f.merges=[],c.each(this._merges,k=>{f.merges.push(k.range)}),f}_parseRows(f){this._rows=[],f.rows.forEach(g=>{const p=new n(this,g.number);this._rows[p.number-1]=p,p.model=g})}_parseMergeCells(f){c.each(f.mergeCells,g=>{this.mergeCellsWithoutStyle(g)})}set model(f){this.name=f.name,this._columns=e.fromModel(this,f.cols),this._parseRows(f),this._parseMergeCells(f),this.dataValidations=new o(f.dataValidations),this.properties=f.properties,this.pageSetup=f.pageSetup,this.headerFooter=f.headerFooter,this.views=f.views,this.autoFilter=f.autoFilter,this._media=f.media.map(g=>new u(this,g)),this.sheetProtection=f.sheetProtection,this.tables=f.tables.reduce((g,p)=>{const k=new a;return k.model=p,g[p.name]=k,g},{}),this.conditionalFormattings=f.conditionalFormattings}}},{"../utils/col-cache":19,"../utils/copy-style":20,"../utils/encryptor":21,"../utils/under-dash":26,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(t,b,m){t("core-js/modules/es.promise"),t("core-js/modules/es.promise.finally"),t("core-js/modules/es.object.assign"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.values"),t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.async-iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.find-index"),t("core-js/modules/es.array.find"),t("core-js/modules/es.string.from-code-point"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.number.is-nan"),t("regenerator-runtime/runtime");const c={Workbook:t("./doc/workbook")},i=t("./doc/enums");Object.keys(i).forEach(s=>{c[s]=i[s]}),b.exports=c},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":359,"core-js/modules/es.array.find-index":358,"core-js/modules/es.array.includes":360,"core-js/modules/es.array.iterator":361,"core-js/modules/es.number.is-nan":363,"core-js/modules/es.object.assign":364,"core-js/modules/es.object.keys":366,"core-js/modules/es.object.values":367,"core-js/modules/es.promise":372,"core-js/modules/es.promise.finally":371,"core-js/modules/es.string.from-code-point":376,"core-js/modules/es.string.includes":377,"core-js/modules/es.symbol":381,"core-js/modules/es.symbol.async-iterator":378,"regenerator-runtime/runtime":492}],16:[function(t,b,m){const c=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");m.bufferToString=function(i){return typeof i=="string"?i:c?c.decode(i):i.toString()}},{}],17:[function(t,b,m){const c=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:i}=t("buffer");m.stringToBuffer=function(s){return typeof s!="string"?s:c?i.from(c.encode(s).buffer):i.from(s)}},{buffer:220}],18:[function(t,b,m){const c=t("./under-dash"),i=t("./col-cache");b.exports=class{constructor(s){this.template=s,this.sheets={}}addCell(s){this.addCellEx(i.decodeEx(s))}getCell(s){return this.findCellEx(i.decodeEx(s),!0)}findCell(s){return this.findCellEx(i.decodeEx(s),!1)}findCellAt(s,n,e){const r=this.sheets[s],u=r&&r[n];return u&&u[e]}addCellEx(s){if(s.top)for(let n=s.top;n<=s.bottom;n++)for(let e=s.left;e<=s.right;e++)this.getCellAt(s.sheetName,n,e);else this.findCellEx(s,!0)}getCellEx(s){return this.findCellEx(s,!0)}findCellEx(s,n){const e=this.findSheet(s,n),r=this.findSheetRow(e,s,n);return this.findRowCell(r,s,n)}getCellAt(s,n,e){const r=this.sheets[s]||(this.sheets[s]=[]),u=r[n]||(r[n]=[]);return u[e]||(u[e]={sheetName:s,address:i.n2l(e)+n,row:n,col:e})}removeCellEx(s){const n=this.findSheet(s);if(!n)return;const e=this.findSheetRow(n,s);e&&delete e[s.col]}forEachInSheet(s,n){const e=this.sheets[s];e&&e.forEach((r,u)=>{r&&r.forEach((a,o)=>{a&&n(a,u,o)})})}forEach(s){c.each(this.sheets,(n,e)=>{this.forEachInSheet(e,s)})}map(s){const n=[];return this.forEach(e=>{n.push(s(e))}),n}findSheet(s,n){const e=s.sheetName;return this.sheets[e]?this.sheets[e]:n?this.sheets[e]=[]:void 0}findSheetRow(s,n,e){const{row:r}=n;return s&&s[r]?s[r]:e?s[r]=[]:void 0}findRowCell(s,n,e){const{col:r}=n;return s&&s[r]?s[r]:e?s[r]=this.template?Object.assign(n,JSON.parse(JSON.stringify(this.template))):n:void 0}spliceRows(s,n,e,r){const u=this.sheets[s];if(u){const a=[];for(let o=0;o<r;o++)a.push([]);u.splice(n,e,...a)}}spliceColumns(s,n,e,r){const u=this.sheets[s];if(u){const a=[];for(let o=0;o<r;o++)a.push(null);c.each(u,o=>{o.splice(n,e,...a)})}}}},{"./col-cache":19,"./under-dash":26}],19:[function(t,b,m){const c=/^[A-Z]+\d+$/,i={_dictionary:["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"],_l2nFill:0,_l2n:{},_n2l:[],_level:s=>s<=26?1:s<=676?2:3,_fill(s){let n,e,r,u,a,o=1;if(s>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&s>=1){for(;o<=26;)n=this._dictionary[o-1],this._n2l[o]=n,this._l2n[n]=o,o++;this._l2nFill=1}if(this._l2nFill<2&&s>=2){for(o=27;o<=702;)e=o-27,r=e%26,u=Math.floor(e/26),n=this._dictionary[u]+this._dictionary[r],this._n2l[o]=n,this._l2n[n]=o,o++;this._l2nFill=2}if(this._l2nFill<3&&s>=3){for(o=703;o<=16384;)e=o-703,r=e%26,u=Math.floor(e/26)%26,a=Math.floor(e/676),n=this._dictionary[a]+this._dictionary[u]+this._dictionary[r],this._n2l[o]=n,this._l2n[n]=o,o++;this._l2nFill=3}},l2n(s){if(this._l2n[s]||this._fill(s.length),!this._l2n[s])throw new Error("Out of bounds. Invalid column letter: "+s);return this._l2n[s]},n2l(s){if(s<1||s>16384)throw new Error(s+" is out of bounds. Excel supports columns from 1 to 16384");return this._n2l[s]||this._fill(this._level(s)),this._n2l[s]},_hash:{},validateAddress(s){if(!c.test(s))throw new Error("Invalid Address: "+s);return!0},decodeAddress(s){const n=s.length<5&&this._hash[s];if(n)return n;let e=!1,r="",u=0,a=!1,o="",d=0;for(let f,g=0;g<s.length;g++)if(f=s.charCodeAt(g),!a&&f>=65&&f<=90)e=!0,r+=s[g],u=26*u+f-64;else if(f>=48&&f<=57)a=!0,o+=s[g],d=10*d+f-48;else if(a&&e&&f!==36)break;if(e){if(u>16384)throw new Error("Out of bounds. Invalid column letter: "+r)}else u=void 0;a||(d=void 0);const h={address:s=r+o,col:u,row:d,$col$row:`$${r}$${o}`};return u<=100&&d<=100&&(this._hash[s]=h,this._hash[h.$col$row]=h),h},getAddress(s,n){if(n){const e=this.n2l(n)+s;return this.decodeAddress(e)}return this.decodeAddress(s)},decode(s){const n=s.split(":");if(n.length===2){const e=this.decodeAddress(n[0]),r=this.decodeAddress(n[1]),u={top:Math.min(e.row,r.row),left:Math.min(e.col,r.col),bottom:Math.max(e.row,r.row),right:Math.max(e.col,r.col)};return u.tl=this.n2l(u.left)+u.top,u.br=this.n2l(u.right)+u.bottom,u.dimensions=`${u.tl}:${u.br}`,u}return this.decodeAddress(s)},decodeEx(s){const n=s.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),e=n[1]||n[2],r=n[3],u=r.split(":");if(u.length>1){let o=this.decodeAddress(u[0]),d=this.decodeAddress(u[1]);const h=Math.min(o.row,d.row),f=Math.min(o.col,d.col),g=Math.max(o.row,d.row),p=Math.max(o.col,d.col);return o=this.n2l(f)+h,d=this.n2l(p)+g,{top:h,left:f,bottom:g,right:p,sheetName:e,tl:{address:o,col:f,row:h,$col$row:`$${this.n2l(f)}$${h}`,sheetName:e},br:{address:d,col:p,row:g,$col$row:`$${this.n2l(p)}$${g}`,sheetName:e},dimensions:`${o}:${d}`}}if(r.startsWith("#"))return e?{sheetName:e,error:r}:{error:r};const a=this.decodeAddress(r);return e?{sheetName:e,...a}:a},encodeAddress:(s,n)=>i.n2l(n)+s,encode(){switch(arguments.length){case 2:return i.encodeAddress(arguments[0],arguments[1]);case 4:return`${i.encodeAddress(arguments[0],arguments[1])}:${i.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange(s,n){const[e,r,,u,a]=s,[o,d]=n;return o>=e&&o<=u&&d>=r&&d<=a}};b.exports=i},{}],20:[function(t,b,m){const c=(s,n)=>({...s,...n.reduce((e,r)=>(s[r]&&(e[r]={...s[r]}),e),{})}),i=function(s,n,e){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];s[e]&&(n[e]=c(s[e],r))};m.copyStyle=s=>{if(!s)return s;if(n=s,Object.keys(n).length===0)return{};var n;const e={...s};return i(s,e,"font",["color"]),i(s,e,"alignment"),i(s,e,"protection"),s.border&&(i(s,e,"border"),i(s.border,e.border,"top",["color"]),i(s.border,e.border,"left",["color"]),i(s.border,e.border,"bottom",["color"]),i(s.border,e.border,"right",["color"]),i(s.border,e.border,"diagonal",["color"])),s.fill&&(i(s,e,"fill",["fgColor","bgColor","center"]),s.fill.stops&&(e.fill.stops=s.fill.stops.map(r=>c(r,["color"])))),e}},{}],21:[function(t,b,m){(function(c){(function(){const i=t("crypto"),s={hash(n){const e=i.createHash(n);for(var r=arguments.length,u=new Array(r>1?r-1:0),a=1;a<r;a++)u[a-1]=arguments[a];return e.update(c.concat(u)),e.digest()},convertPasswordToHash(n,e,r,u){if(e=e.toLowerCase(),i.getHashes().indexOf(e)<0)throw new Error(`Hash algorithm '${e}' not supported!`);const a=c.from(n,"utf16le");let o=this.hash(e,c.from(r,"base64"),a);for(let d=0;d<u;d++){const h=c.alloc(4);h.writeUInt32LE(d,0),o=this.hash(e,o,h)}return o.toString("base64")},randomBytes:n=>i.randomBytes(n)};b.exports=s}).call(this)}).call(this,t("buffer").Buffer)},{buffer:220,crypto:390}],22:[function(t,b,m){const{SaxesParser:c}=t("saxes"),{PassThrough:i}=t("readable-stream"),{bufferToString:s}=t("./browser-buffer-decode");b.exports=async function*(n){n.pipe&&!n[Symbol.asyncIterator]&&(n=n.pipe(new i));const e=new c;let r;e.on("error",a=>{r=a});let u=[];e.on("opentag",a=>u.push({eventType:"opentag",value:a})),e.on("text",a=>u.push({eventType:"text",value:a})),e.on("closetag",a=>u.push({eventType:"closetag",value:a}));for await(const a of n){if(e.write(s(a)),r)throw r;yield u,u=[]}}},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],23:[function(t,b,m){const c=t("./col-cache"),i=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,s=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;b.exports={slideFormula:function(n,e,r){const u=c.decode(e),a=c.decode(r);return n.replace(i,(o,d,h,f,g)=>{if(g)return o;const p=s.exec(f);if(p){const k=p[1],C=p[2].toUpperCase(),T=p[3],D=p[4];if(C.length>3||C.length===3&&C>"XFD")return o;let V=c.l2n(C),P=parseInt(D,10);return k||(V+=a.col-u.col),T||(P+=a.row-u.row),(d||"")+(k||"")+c.n2l(V)+(T||"")+P}return o})}}},{"./col-cache":19}],24:[function(t,b,m){(function(c,i){(function(){const s=t("readable-stream"),n=t("./utils"),e=t("./string-buf");class r{constructor(f,g){this._data=f,this._encoding=g}get length(){return this.toBuffer().length}copy(f,g,p,k){return this.toBuffer().copy(f,g,p,k)}toBuffer(){return this._buffer||(this._buffer=i.from(this._data,this._encoding)),this._buffer}}class u{constructor(f){this._data=f}get length(){return this._data.length}copy(f,g,p,k){return this._data._buf.copy(f,g,p,k)}toBuffer(){return this._data.toBuffer()}}class a{constructor(f){this._data=f}get length(){return this._data.length}copy(f,g,p,k){this._data.copy(f,g,p,k)}toBuffer(){return this._data}}class o{constructor(f){this.size=f,this.buffer=i.alloc(f),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;const f=i.alloc(this.iWrite-this.iRead);return this.buffer.copy(f,0,this.iRead,this.iWrite),f}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(f){let g;return f===0?null:f===void 0||f>=this.length?(g=this.toBuffer(),this.iRead=this.iWrite,g):(g=i.alloc(f),this.buffer.copy(g,0,this.iRead,f),this.iRead+=f,g)}write(f,g,p){const k=Math.min(p,this.size-this.iWrite);return f.copy(this.buffer,this.iWrite,g,g+k),this.iWrite+=k,k}}const d=function(h){h=h||{},this.bufSize=h.bufSize||1048576,this.buffers=[],this.batch=h.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};n.inherits(d,s.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return i.concat(this.buffers.map(h=>h.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const f=this.buffers[this.buffers.length-1];if(!f.full)return f}const h=new o(this.bufSize);return this.buffers.push(h),h},async _pipe(h){await Promise.all(this.pipes.map(function(f){return new Promise(g=>{f.write(h.toBuffer(),()=>{g()})})}))},_writeToBuffers(h){let f=0;const g=h.length;for(;f<g;)f+=this._getWritableBuffer().write(h,f,g-f)},async write(h,f,g){let p;if(f instanceof Function&&(g=f,f="utf8"),g=g||n.nop,h instanceof e)p=new u(h);else if(h instanceof i)p=new a(h);else{if(!(typeof h=="string"||h instanceof String||h instanceof ArrayBuffer))throw new Error("Chunk must be one of type String, Buffer or StringBuf.");p=new r(h,f)}if(this.pipes.length)if(this.batch)for(this._writeToBuffers(p);!this.corked&&this.buffers.length>1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(p),c.nextTick(g)):(await this._pipe(p),g());else this.paused||this.emit("data",p.toBuffer()),this._writeToBuffers(p),this.emit("readable");return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end(h,f,g){const p=k=>{k?g(k):(this._flush(),this.pipes.forEach(C=>{C.end()}),this.emit("finish"))};h?this.write(h,f,p):p()},read(h){let f;if(h){for(f=[];h&&this.buffers.length&&!this.buffers[0].eod;){const g=this.buffers[0],p=g.read(h);h-=p.length,f.push(p),g.eod&&g.full&&this.buffers.shift()}return i.concat(f)}return f=this.buffers.map(g=>g.toBuffer()).filter(Boolean),this.buffers=[],i.concat(f)},setEncoding(h){this.encoding=h},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(h){this.pipes.push(h),!this.paused&&this.buffers.length&&this.end()},unpipe(h){this.pipes=this.pipes.filter(f=>f!==h)},unshift(){throw new Error("Not Implemented")},wrap(){throw new Error("Not Implemented")}}),b.exports=d}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{"./string-buf":25,"./utils":27,_process:467,buffer:220,"readable-stream":491}],25:[function(t,b,m){(function(c){(function(){b.exports=class{constructor(i){this._buf=c.alloc(i&&i.size||16384),this._encoding=i&&i.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=c.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(i){i=i||0,this._buffer=void 0,this._inPos=i}_grow(i){let s=2*this._buf.length;for(;s<i;)s*=2;const n=c.alloc(s);this._buf.copy(n,0),this._buf=n}addText(i){this._buffer=void 0;let s=this._inPos+this._buf.write(i,this._inPos,this._encoding);for(;s>=this._buf.length-4;)this._grow(this._inPos+i.length),s=this._inPos+this._buf.write(i,this._inPos,this._encoding);this._inPos=s}addStringBuf(i){i.length&&(this._buffer=void 0,this.length+i.length>this.capacity&&this._grow(this.length+i.length),i._buf.copy(this._buf,this._inPos,0,i.length),this._inPos+=i.length)}}}).call(this)}).call(this,t("buffer").Buffer)},{buffer:220}],26:[function(t,b,m){const{toString:c}=Object.prototype,i=/["&<>]/,s={each:function(n,e){n&&(Array.isArray(n)?n.forEach(e):Object.keys(n).forEach(r=>{e(n[r],r)}))},some:function(n,e){return!!n&&(Array.isArray(n)?n.some(e):Object.keys(n).some(r=>e(n[r],r)))},every:function(n,e){return!n||(Array.isArray(n)?n.every(e):Object.keys(n).every(r=>e(n[r],r)))},map:function(n,e){return n?Array.isArray(n)?n.map(e):Object.keys(n).map(r=>e(n[r],r)):[]},keyBy:(n,e)=>n.reduce((r,u)=>(r[u[e]]=u,r),{}),isEqual:function(n,e){const r=typeof n,u=typeof e,a=Array.isArray(n),o=Array.isArray(e);let d;if(r!==u)return!1;switch(typeof n){case"object":if(a||o)return!(!a||!o)&&n.length===e.length&&n.every((h,f)=>{const g=e[f];return s.isEqual(h,g)});if(n===null||e===null)return n===e;if(d=Object.keys(n),Object.keys(e).length!==d.length)return!1;for(const h of d)if(!e.hasOwnProperty(h))return!1;return s.every(n,(h,f)=>{const g=e[f];return s.isEqual(h,g)});default:return n===e}},escapeHtml(n){const e=i.exec(n);if(!e)return n;let r="",u="",a=0,o=e.index;for(;o<n.length;o++){switch(n.charAt(o)){case'"':u=""";break;case"&":u="&";break;case"'":u="'";break;case"<":u="<";break;case">":u=">";break;default:continue}a!==o&&(r+=n.substring(a,o)),a=o+1,r+=u}return a!==o?r+n.substring(a,o):r},strcmp:(n,e)=>n<e?-1:n>e?1:0,isUndefined:n=>c.call(n)==="[object Undefined]",isObject:n=>c.call(n)==="[object Object]",deepMerge(){const n=arguments[0]||{},{length:e}=arguments;let r,u,a;function o(d,h){r=n[h],a=Array.isArray(d),s.isObject(d)||a?(a?(a=!1,u=r&&Array.isArray(r)?r:[]):u=r&&s.isObject(r)?r:{},n[h]=s.deepMerge(u,d)):s.isUndefined(d)||(n[h]=d)}for(let d=0;d<e;d++)s.each(arguments[d],o);return n}};b.exports=s},{}],27:[function(t,b,m){(function(c,i){(function(){const s=t("fs"),n=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,e={nop(){},promiseImmediate:r=>new Promise(u=>{c.setImmediate?i(()=>{u(r)}):setTimeout(()=>{u(r)},1)}),inherits:function(r,u,a,o){r.super_=u,o||(o=a,a=null),a&&Object.keys(a).forEach(h=>{Object.defineProperty(r,h,Object.getOwnPropertyDescriptor(a,h))});const d={constructor:{value:r,enumerable:!1,writable:!1,configurable:!0}};o&&Object.keys(o).forEach(h=>{d[h]=Object.getOwnPropertyDescriptor(o,h)}),r.prototype=Object.create(u.prototype,d)},dateToExcel:(r,u)=>25569+r.getTime()/864e5-(u?1462:0),excelToDate(r,u){const a=Math.round(24*(r-25569+(u?1462:0))*3600*1e3);return new Date(a)},parsePath(r){const u=r.lastIndexOf("/");return{path:r.substring(0,u),name:r.substring(u+1)}},getRelsPath(r){const u=e.parsePath(r);return`${u.path}/_rels/${u.name}.rels`},xmlEncode(r){const u=n.exec(r);if(!u)return r;let a="",o="",d=0,h=u.index;for(;h<r.length;h++){const f=r.charCodeAt(h);switch(f){case 34:o=""";break;case 38:o="&";break;case 39:o="'";break;case 60:o="<";break;case 62:o=">";break;case 127:o="";break;default:if(f<=31&&(f<=8||f>=11&&f!==13)){o="";break}continue}d!==h&&(a+=r.substring(d,h)),d=h+1,o&&(a+=o)}return d!==h?a+r.substring(d,h):a},xmlDecode:r=>r.replace(/&([a-z]*);/g,u=>{switch(u){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return u}}),validInt(r){const u=parseInt(r,10);return Number.isNaN(u)?0:u},isDateFmt(r){return r?(r=(r=r.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)!==null:!1},fs:{exists:r=>new Promise(u=>{s.access(r,s.constants.F_OK,a=>{u(!a)})})},toIsoDateString:r=>r.toIsoString().subsstr(0,10),parseBoolean:r=>r===!0||r==="true"||r===1||r==="1"};b.exports=e}).call(this)}).call(this,typeof lt<"u"?lt:typeof self<"u"?self:typeof window<"u"?window:{},t("timers").setImmediate)},{fs:216,timers:523}],28:[function(t,b,m){const c=t("./under-dash"),i=t("./utils");function s(r,u,a){r.push(` ${u}="${i.xmlEncode(a.toString())}"`)}function n(r,u){if(u){const a=[];c.each(u,(o,d)=>{o!==void 0&&s(a,d,o)}),r.push(a.join(""))}}class e{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml(u){const a=this._xml;a.push("<?xml"),n(a,u),a.push(`?>
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("vue"),fi={xs:18,sm:24,md:32,lg:38,xl:46},Or={size:String};function Fr(l,B=fi){return y.computed(()=>l.size!==void 0?{fontSize:l.size in B?`${B[l.size]}px`:l.size}:null)}function Lt(l,B,t,b){return Object.defineProperty(l,B,{get:t,set:b,enumerable:!0}),l}function _s(l,B){for(const t in B)Lt(l,t,B[t]);return l}function $e(l){return y.markRaw(y.defineComponent(l))}function Ei(l){return y.markRaw(l)}const Cs=(l,B)=>{const t=y.reactive(l);for(const b in l)Lt(B,b,()=>t[b],m=>{t[b]=m});return B};function bt(l,B){return l!==void 0&&l()||B}function Mi(l,B){if(l!==void 0){const t=l();if(t!=null)return t.slice()}return B}function It(l,B){return l!==void 0?B.concat(l()):B}function sa(l,B){return l===void 0?B:B!==void 0?B.concat(l()):l()}function As(l,B,t,b,m,c){B.key=b+m;const i=y.h(l,B,t);return m===!0?y.withDirectives(i,c()):i}const so="0 0 24 24",Hn=l=>l,Yn=l=>`ionicons ${l}`,la={"mdi-":l=>`mdi ${l}`,"icon-":Hn,"bt-":l=>`bt ${l}`,"eva-":l=>`eva ${l}`,"ion-md":Yn,"ion-ios":Yn,"ion-logo":Yn,"iconfont ":Hn,"ti-":l=>`themify-icon ${l}`,"bi-":l=>`bootstrap-icons ${l}`,"i-":Hn},ua={o_:"-outlined",r_:"-round",s_:"-sharp"},ca={sym_o_:"-outlined",sym_r_:"-rounded",sym_s_:"-sharp"},Es=new RegExp("^("+Object.keys(la).join("|")+")"),Ms=new RegExp("^("+Object.keys(ua).join("|")+")"),lo=new RegExp("^("+Object.keys(ca).join("|")+")"),Ts=/^[Mm]\s?[-+]?\.?\d/,Rs=/^img:/,Bs=/^svguse:/,Is=/^ion-/,Os=/^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /,gt=$e({name:"QIcon",props:{...Or,tag:{type:String,default:"i"},name:String,color:String,left:Boolean,right:Boolean},setup(l,{slots:B}){const{proxy:{$q:t}}=y.getCurrentInstance(),b=Fr(l),m=y.computed(()=>"q-icon"+(l.left===!0?" on-left":"")+(l.right===!0?" on-right":"")+(l.color!==void 0?` text-${l.color}`:"")),c=y.computed(()=>{let i,s=l.name;if(s==="none"||!s)return{none:!0};if(t.iconMapFn!==null){const r=t.iconMapFn(s);if(r!==void 0)if(r.icon!==void 0){if(s=r.icon,s==="none"||!s)return{none:!0}}else return{cls:r.cls,content:r.content!==void 0?r.content:" "}}if(Ts.test(s)===!0){const[r,u=so]=s.split("|");return{svg:!0,viewBox:u,nodes:r.split("&&").map(a=>{const[o,d,h]=a.split("@@");return y.h("path",{style:d,d:o,transform:h})})}}if(Rs.test(s)===!0)return{img:!0,src:s.substring(4)};if(Bs.test(s)===!0){const[r,u=so]=s.split("|");return{svguse:!0,src:r.substring(7),viewBox:u}}let n=" ";const e=s.match(Es);if(e!==null)i=la[e[1]](s);else if(Os.test(s)===!0)i=s;else if(Is.test(s)===!0)i=`ionicons ion-${t.platform.is.ios===!0?"ios":"md"}${s.substring(3)}`;else if(lo.test(s)===!0){i="notranslate material-symbols";const r=s.match(lo);r!==null&&(s=s.substring(6),i+=ca[r[1]]),n=s}else{i="notranslate material-icons";const r=s.match(Ms);r!==null&&(s=s.substring(2),i+=ua[r[1]]),n=s}return{cls:i,content:n}});return()=>{const i={class:m.value,style:b.value,"aria-hidden":"true"};return c.value.none===!0?y.h(l.tag,i,bt(B.default)):c.value.img===!0?y.h(l.tag,i,It(B.default,[y.h("img",{src:c.value.src})])):c.value.svg===!0?y.h(l.tag,i,It(B.default,[y.h("svg",{viewBox:c.value.viewBox||"0 0 24 24"},c.value.nodes)])):c.value.svguse===!0?y.h(l.tag,i,It(B.default,[y.h("svg",{viewBox:c.value.viewBox},[y.h("use",{"xlink:href":c.value.src})])])):(c.value.cls!==void 0&&(i.class+=" "+c.value.cls),y.h(l.tag,i,It(B.default,[c.value.content])))}}});function wn(l){if(Object(l.$parent)===l.$parent)return l.$parent;let{parent:B}=l.$;for(;Object(B)===B;){if(Object(B.proxy)===B.proxy)return B.proxy;B=B.parent}}function fa(l,B){typeof B.type=="symbol"?Array.isArray(B.children)===!0&&B.children.forEach(t=>{fa(l,t)}):l.add(B)}function Fs(l){const B=new Set;return l.forEach(t=>{fa(B,t)}),Array.from(B)}function Ti(l){return l.appContext.config.globalProperties.$router!==void 0}function Ri(l){return l.isUnmounted===!0||l.isDeactivated===!0}function uo(l){return l?l.aliasOf?l.aliasOf.path:l.path:""}function co(l,B){return(l.aliasOf||l)===(B.aliasOf||B)}function js(l,B){for(const t in B){const b=B[t],m=l[t];if(typeof b=="string"){if(b!==m)return!1}else if(Array.isArray(m)===!1||m.length!==b.length||b.some((c,i)=>c!==m[i]))return!1}return!0}function fo(l,B){return Array.isArray(B)===!0?l.length===B.length&&l.every((t,b)=>t===B[b]):l.length===1&&l[0]===B}function Ds(l,B){return Array.isArray(l)===!0?fo(l,B):Array.isArray(B)===!0?fo(B,l):l===B}function Ps(l,B){if(Object.keys(l).length!==Object.keys(B).length)return!1;for(const t in l)if(Ds(l[t],B[t])===!1)return!1;return!0}const da={to:[String,Object],replace:Boolean,href:String,target:String,disable:Boolean},ha={...da,exact:Boolean,activeClass:{type:String,default:"q-router-link--active"},exactActiveClass:{type:String,default:"q-router-link--exact-active"}};function Bi({fallbackTag:l,useDisableForRouterLinkProps:B=!0}={}){const t=y.getCurrentInstance(),{props:b,proxy:m,emit:c}=t,i=Ti(t),s=y.computed(()=>b.disable!==!0&&b.href!==void 0),n=B===!0?y.computed(()=>i===!0&&b.disable!==!0&&s.value!==!0&&b.to!==void 0&&b.to!==null&&b.to!==""):y.computed(()=>i===!0&&s.value!==!0&&b.to!==void 0&&b.to!==null&&b.to!==""),e=y.computed(()=>n.value===!0?p(b.to):null),r=y.computed(()=>e.value!==null),u=y.computed(()=>s.value===!0||r.value===!0),a=y.computed(()=>b.type==="a"||u.value===!0?"a":b.tag||l||"div"),o=y.computed(()=>s.value===!0?{href:b.href,target:b.target}:r.value===!0?{href:e.value.href,target:b.target}:{}),d=y.computed(()=>{if(r.value===!1)return-1;const{matched:T}=e.value,{length:D}=T,V=T[D-1];if(V===void 0)return-1;const P=m.$route.matched;if(P.length===0)return-1;const N=P.findIndex(co.bind(null,V));if(N!==-1)return N;const q=uo(T[D-2]);return D>1&&uo(V)===q&&P[P.length-1].path!==q?P.findIndex(co.bind(null,T[D-2])):N}),h=y.computed(()=>r.value===!0&&d.value!==-1&&js(m.$route.params,e.value.params)),f=y.computed(()=>h.value===!0&&d.value===m.$route.matched.length-1&&Ps(m.$route.params,e.value.params)),g=y.computed(()=>r.value===!0?f.value===!0?` ${b.exactActiveClass} ${b.activeClass}`:b.exact===!0?"":h.value===!0?` ${b.activeClass}`:"":"");function p(T){try{return m.$router.resolve(T)}catch{}return null}function k(T,{returnRouterError:D,to:V=b.to,replace:P=b.replace}={}){if(b.disable===!0)return T.preventDefault(),Promise.resolve(!1);if(T.metaKey||T.altKey||T.ctrlKey||T.shiftKey||T.button!==void 0&&T.button!==0||b.target==="_blank")return Promise.resolve(!1);T.preventDefault();const N=m.$router[P===!0?"replace":"push"](V);return D===!0?N:N.then(()=>{}).catch(()=>{})}function C(T){if(r.value===!0){const D=V=>k(T,V);c("click",T,D),T.defaultPrevented!==!0&&D()}else c("click",T)}return{hasRouterLink:r,hasHrefLink:s,hasLink:u,linkTag:a,resolvedLink:e,linkIsActive:h,linkIsExactActive:f,linkClass:g,linkAttrs:o,getLink:p,navigateToRouterLink:k,navigateOnClick:C}}const Ns=$e({name:"QBreadcrumbsEl",props:{...ha,label:String,icon:String,tag:{type:String,default:"span"}},emits:["click"],setup(l,{slots:B}){const{linkTag:t,linkAttrs:b,linkClass:m,navigateOnClick:c}=Bi(),i=y.computed(()=>({class:"q-breadcrumbs__el q-link flex inline items-center relative-position "+(l.disable!==!0?"q-link--focusable"+m.value:"q-breadcrumbs__el--disable"),...b.value,onClick:c})),s=y.computed(()=>"q-breadcrumbs__el-icon"+(l.label!==void 0?" q-breadcrumbs__el-icon--with-label":""));return()=>{const n=[];return l.icon!==void 0&&n.push(y.h(gt,{class:s.value,name:l.icon})),l.label!==void 0&&n.push(l.label),y.h(t.value,{...i.value},It(B.default,n))}}}),pa={left:"start",center:"center",right:"end",between:"between",around:"around",evenly:"evenly",stretch:"stretch"},Ls=Object.keys(pa),Ii={align:{type:String,validator:l=>Ls.includes(l)}};function Oi(l){return y.computed(()=>{const B=l.align===void 0?l.vertical===!0?"stretch":"left":l.align;return`${l.vertical===!0?"items":"justify"}-${pa[B]}`})}const Vs=["",!0],qs=$e({name:"QBreadcrumbs",props:{...Ii,separator:{type:String,default:"/"},separatorColor:String,activeColor:{type:String,default:"primary"},gutter:{type:String,validator:l=>["none","xs","sm","md","lg","xl"].includes(l),default:"sm"}},setup(l,{slots:B}){const t=Oi(l),b=y.computed(()=>`flex items-center ${t.value}${l.gutter==="none"?"":` q-gutter-${l.gutter}`}`),m=y.computed(()=>l.separatorColor?` text-${l.separatorColor}`:""),c=y.computed(()=>` text-${l.activeColor}`);return()=>{if(B.default===void 0)return;const i=Fs(bt(B.default));if(i.length===0)return;let s=1;const n=[],e=i.filter(u=>u.type?.name==="QBreadcrumbsEl").length,r=B.separator!==void 0?B.separator:()=>l.separator;return i.forEach(u=>{if(u.type?.name==="QBreadcrumbsEl"){const a=s<e,o=u.props!==null&&Vs.includes(u.props.disable),d=(a===!0?"":" q-breadcrumbs--last")+(o!==!0&&a===!0?c.value:"");s++,n.push(y.h("div",{class:`flex items-center${d}`},[u])),a===!0&&n.push(y.h("div",{class:"q-breadcrumbs__separator"+m.value},r()))}else n.push(u)}),y.h("div",{class:"q-breadcrumbs"},[y.h("div",{class:b.value},n)])}}}),zs=y.defineComponent({inheritAttrs:!1,__name:"Breadcrumbs",props:{activeColor:{},separatorIcon:{},separatorSize:{},separatorColor:{},store:{},navStore:{},route:{},router:{},breadcrumbConfig:{},separator:{},gutter:{},align:{}},setup(l){const B=l,t=y.useAttrs(),b=y.computed(()=>{const{activeColor:a,separatorIcon:o,separatorSize:d,separatorColor:h,...f}=t;return f}),m=a=>({"data-cy":a.dataCy,class:"cursor-pointer text-h5",color:a.color}),c=y.computed(()=>B.activeColor||"primary"),i=y.computed(()=>B.separatorIcon||"chevron_right"),s=y.computed(()=>B.separatorSize||"2em"),n=y.computed(()=>B.separatorColor||"primary"),e=y.computed(()=>({store:B.store,route:B.route,navStore:B.navStore||{}})),r=y.computed(()=>{const a=[];return B.breadcrumbConfig.forEach(o=>{if(!o.shouldRender(e.value))return;const d=o.getLabel?o.getLabel(e.value):o.defaultLabel,h=o.getColor?o.getColor(e.value):"dark",f={name:o.routeName,...o.getRouteParams&&{params:o.getRouteParams(e.value)}},g=o.clearActions?o.clearActions.map(p=>()=>p(e.value)):[];a.push({label:d,dataCy:o.dataCy,color:h,route:f,clearActions:g})}),a}),u=a=>{a.clearActions&&a.clearActions.forEach(o=>o()),B.router.push(a.route)};return(a,o)=>(y.openBlock(),y.createBlock(qs,y.mergeProps({"active-color":c.value,class:"text-brown"},b.value),{separator:y.withCtx(()=>[y.createVNode(gt,{size:s.value,name:i.value,color:n.value},null,8,["size","name","color"])]),default:y.withCtx(()=>[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(r.value,(d,h)=>(y.openBlock(),y.createBlock(Ns,y.mergeProps({key:h,to:d.route},{ref_for:!0},m(d),{label:d.label,onClick:f=>u(d)}),null,16,["to","label","onClick"]))),128))]),_:1},16,["active-color"]))}}),Us={size:{type:[String,Number],default:"1em"},color:String};function Ws(l){return{cSize:y.computed(()=>l.size in fi?`${fi[l.size]}px`:l.size),classes:y.computed(()=>"q-spinner"+(l.color?` text-${l.color}`:""))}}const ma=$e({name:"QSpinner",props:{...Us,thickness:{type:Number,default:5}},setup(l){const{cSize:B,classes:t}=Ws(l);return()=>y.h("svg",{class:t.value+" q-spinner-mat",width:B.value,height:B.value,viewBox:"25 25 50 50"},[y.h("circle",{class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":l.thickness,"stroke-miterlimit":"10"})])}});function di(l,B){const t=l.style;for(const b in B)t[b]=B[b]}function Hs(l){if(l==null)return;if(typeof l=="string")try{return document.querySelector(l)||void 0}catch{return}const B=y.unref(l);if(B)return B.$el||B}function ga(l,B){if(l==null||l.contains(B)===!0)return!0;for(let t=l.nextElementSibling;t!==null;t=t.nextElementSibling)if(t.contains(B))return!0;return!1}const _t={hasPassive:!1,passiveCapture:!0,notPassiveCapture:!0};try{const l=Object.defineProperty({},"passive",{get(){Object.assign(_t,{hasPassive:!0,passive:{passive:!0},notPassive:{passive:!1},passiveCapture:{passive:!0,capture:!0},notPassiveCapture:{passive:!1,capture:!0}})}});window.addEventListener("qtest",null,l),window.removeEventListener("qtest",null,l)}catch{}function Pn(){}function Ys(l){return l.button===0}function Yr(l){return l.touches&&l.touches[0]?l=l.touches[0]:l.changedTouches&&l.changedTouches[0]?l=l.changedTouches[0]:l.targetTouches&&l.targetTouches[0]&&(l=l.targetTouches[0]),{top:l.clientY,left:l.clientX}}function Qs(l){if(l.path)return l.path;if(l.composedPath)return l.composedPath();const B=[];let t=l.target;for(;t;){if(B.push(t),t.tagName==="HTML")return B.push(document),B.push(window),B;t=t.parentElement}}function Dt(l){l.stopPropagation()}function Bt(l){l.cancelable!==!1&&l.preventDefault()}function St(l){l.cancelable!==!1&&l.preventDefault(),l.stopPropagation()}function Qn(l,B){if(l===void 0||B===!0&&l.__dragPrevented===!0)return;const t=B===!0?b=>{b.__dragPrevented=!0,b.addEventListener("dragstart",Bt,_t.notPassiveCapture)}:b=>{delete b.__dragPrevented,b.removeEventListener("dragstart",Bt,_t.notPassiveCapture)};l.querySelectorAll("a, img").forEach(t)}function Xt(l,B,t){const b=`__q_${B}_evt`;l[b]=l[b]!==void 0?l[b].concat(t):t,t.forEach(m=>{m[0].addEventListener(m[1],l[m[2]],_t[m[3]])})}function fr(l,B){const t=`__q_${B}_evt`;l[t]!==void 0&&(l[t].forEach(b=>{b[0].removeEventListener(b[1],l[b[2]],_t[b[3]])}),l[t]=void 0)}function Fi(l){return l!==Object(l)||l.isComposing===!0||l.qKeyEvent===!0}function ir(l,B){return Fi(l)===!0?!1:[].concat(B).includes(l.keyCode)}function Ks(l,B=250){let t=!1,b;return function(){return t===!1&&(t=!0,setTimeout(()=>{t=!1},B),b=l.apply(this,arguments)),b}}function ho(l,B,t,b){t.modifiers.stop===!0&&Dt(l);const m=t.modifiers.color;let c=t.modifiers.center;c=c===!0||b===!0;const i=document.createElement("span"),s=document.createElement("span"),n=Yr(l),{left:e,top:r,width:u,height:a}=B.getBoundingClientRect(),o=Math.sqrt(u*u+a*a),d=o/2,h=`${(u-o)/2}px`,f=c?h:`${n.left-e-d}px`,g=`${(a-o)/2}px`,p=c?g:`${n.top-r-d}px`;s.className="q-ripple__inner",di(s,{height:`${o}px`,width:`${o}px`,transform:`translate3d(${f},${p},0) scale3d(.2,.2,1)`,opacity:0}),i.className=`q-ripple${m?" text-"+m:""}`,i.setAttribute("dir","ltr"),i.appendChild(s),B.appendChild(i);const k=()=>{i.remove(),clearTimeout(C)};t.abort.push(k);let C=setTimeout(()=>{s.classList.add("q-ripple__inner--enter"),s.style.transform=`translate3d(${h},${g},0) scale3d(1,1,1)`,s.style.opacity=.2,C=setTimeout(()=>{s.classList.remove("q-ripple__inner--enter"),s.classList.add("q-ripple__inner--leave"),s.style.opacity=0,C=setTimeout(()=>{i.remove(),t.abort.splice(t.abort.indexOf(k),1)},275)},250)},50)}function po(l,{modifiers:B,value:t,arg:b}){const m=Object.assign({},l.cfg.ripple,B,t);l.modifiers={early:m.early===!0,stop:m.stop===!0,center:m.center===!0,color:m.color||b,keyCodes:[].concat(m.keyCodes||13)}}const ba=Ei({name:"ripple",beforeMount(l,B){const t=B.instance.$.appContext.config.globalProperties.$q.config||{};if(t.ripple===!1)return;const b={cfg:t,enabled:B.value!==!1,modifiers:{},abort:[],start(m){b.enabled===!0&&m.qSkipRipple!==!0&&m.type===(b.modifiers.early===!0?"pointerdown":"click")&&ho(m,l,b,m.qKeyEvent===!0)},keystart:Ks(m=>{b.enabled===!0&&m.qSkipRipple!==!0&&ir(m,b.modifiers.keyCodes)===!0&&m.type===`key${b.modifiers.early===!0?"down":"up"}`&&ho(m,l,b,!0)},300)};po(b,B),l.__qripple=b,Xt(b,"main",[[l,"pointerdown","start","passive"],[l,"click","start","passive"],[l,"keydown","keystart","passive"],[l,"keyup","keystart","passive"]])},updated(l,B){if(B.oldValue!==B.value){const t=l.__qripple;t!==void 0&&(t.enabled=B.value!==!1,t.enabled===!0&&Object(B.value)===B.value&&po(t,B))}},beforeUnmount(l){const B=l.__qripple;B!==void 0&&(B.abort.forEach(t=>{t()}),fr(B,"main"),delete l._qripple)}}),mo={none:0,xs:4,sm:8,md:16,lg:24,xl:32},Xs={xs:8,sm:10,md:14,lg:20,xl:24},Gs=["button","submit","reset"],Js=/[^\s]\/[^\s]/,Zs=["flat","outline","push","unelevated"];function $s(l,B){return l.flat===!0?"flat":l.outline===!0?"outline":l.push===!0?"push":l.unelevated===!0?"unelevated":B}const el={...Or,...da,type:{type:String,default:"button"},label:[Number,String],icon:String,iconRight:String,...Zs.reduce((l,B)=>(l[B]=Boolean)&&l,{}),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},tl={...el,round:Boolean};function rl(l){const B=Fr(l,Xs),t=Oi(l),{hasRouterLink:b,hasLink:m,linkTag:c,linkAttrs:i,navigateOnClick:s}=Bi({fallbackTag:"button"}),n=y.computed(()=>{const f=l.fab===!1&&l.fabMini===!1?B.value:{};return l.padding!==void 0?Object.assign({},f,{padding:l.padding.split(/\s+/).map(g=>g in mo?mo[g]+"px":g).join(" "),minWidth:"0",minHeight:"0"}):f}),e=y.computed(()=>l.rounded===!0||l.fab===!0||l.fabMini===!0),r=y.computed(()=>l.disable!==!0&&l.loading!==!0),u=y.computed(()=>r.value===!0?l.tabindex||0:-1),a=y.computed(()=>$s(l,"standard")),o=y.computed(()=>{const f={tabindex:u.value};return m.value===!0?Object.assign(f,i.value):Gs.includes(l.type)===!0&&(f.type=l.type),c.value==="a"?(l.disable===!0?f["aria-disabled"]="true":f.href===void 0&&(f.role="button"),b.value!==!0&&Js.test(l.type)===!0&&(f.type=l.type)):l.disable===!0&&(f.disabled="",f["aria-disabled"]="true"),l.loading===!0&&l.percentage!==void 0&&Object.assign(f,{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l.percentage}),f}),d=y.computed(()=>{let f;l.color!==void 0?l.flat===!0||l.outline===!0?f=`text-${l.textColor||l.color}`:f=`bg-${l.color} text-${l.textColor||"white"}`:l.textColor&&(f=`text-${l.textColor}`);const g=l.round===!0?"round":`rectangle${e.value===!0?" q-btn--rounded":l.square===!0?" q-btn--square":""}`;return`q-btn--${a.value} q-btn--${g}`+(f!==void 0?" "+f:"")+(r.value===!0?" q-btn--actionable q-focusable q-hoverable":l.disable===!0?" disabled":"")+(l.fab===!0?" q-btn--fab":l.fabMini===!0?" q-btn--fab-mini":"")+(l.noCaps===!0?" q-btn--no-uppercase":"")+(l.dense===!0?" q-btn--dense":"")+(l.stretch===!0?" no-border-radius self-stretch":"")+(l.glossy===!0?" glossy":"")+(l.square?" q-btn--square":"")}),h=y.computed(()=>t.value+(l.stack===!0?" column":" row")+(l.noWrap===!0?" no-wrap text-no-wrap":"")+(l.loading===!0?" q-btn__content--hidden":""));return{classes:d,style:n,innerClasses:h,attributes:o,hasLink:m,linkTag:c,navigateOnClick:s,isActionable:r}}const{passiveCapture:Nt}=_t;let yr=null,wr=null,xr=null;const ut=$e({name:"QBtn",props:{...tl,percentage:Number,darkPercentage:Boolean,onTouchstart:[Function,Array]},emits:["click","keydown","mousedown","keyup"],setup(l,{slots:B,emit:t}){const{proxy:b}=y.getCurrentInstance(),{classes:m,style:c,innerClasses:i,attributes:s,hasLink:n,linkTag:e,navigateOnClick:r,isActionable:u}=rl(l),a=y.ref(null),o=y.ref(null);let d=null,h,f=null;const g=y.computed(()=>l.label!==void 0&&l.label!==null&&l.label!==""),p=y.computed(()=>l.disable===!0||l.ripple===!1?!1:{keyCodes:n.value===!0?[13,32]:[13],...l.ripple===!0?{}:l.ripple}),k=y.computed(()=>({center:l.round})),C=y.computed(()=>{const M=Math.max(0,Math.min(100,l.percentage));return M>0?{transition:"transform 0.6s",transform:`translateX(${M-100}%)`}:{}}),T=y.computed(()=>{if(l.loading===!0)return{onMousedown:A,onTouchstart:A,onClick:A,onKeydown:A,onKeyup:A};if(u.value===!0){const M={onClick:V,onKeydown:P,onMousedown:q};if(b.$q.platform.has.touch===!0){const _=l.onTouchstart!==void 0?"":"Passive";M[`onTouchstart${_}`]=N}return M}return{onClick:St}}),D=y.computed(()=>({ref:a,class:"q-btn q-btn-item non-selectable no-outline "+m.value,style:c.value,...s.value,...T.value}));function V(M){if(a.value!==null){if(M!==void 0){if(M.defaultPrevented===!0)return;const _=document.activeElement;if(l.type==="submit"&&_!==document.body&&a.value.contains(_)===!1&&_.contains(a.value)===!1){M.qAvoidFocus!==!0&&a.value.focus();const v=()=>{document.removeEventListener("keydown",St,!0),document.removeEventListener("keyup",v,Nt),a.value?.removeEventListener("blur",v,Nt)};document.addEventListener("keydown",St,!0),document.addEventListener("keyup",v,Nt),a.value.addEventListener("blur",v,Nt)}}r(M)}}function P(M){a.value!==null&&(t("keydown",M),ir(M,[13,32])===!0&&wr!==a.value&&(wr!==null&&L(),M.defaultPrevented!==!0&&(M.qAvoidFocus!==!0&&a.value.focus(),wr=a.value,a.value.classList.add("q-btn--active"),document.addEventListener("keyup",W,!0),a.value.addEventListener("blur",W,Nt)),St(M)))}function N(M){a.value!==null&&(t("touchstart",M),M.defaultPrevented!==!0&&(yr!==a.value&&(yr!==null&&L(),yr=a.value,d=M.target,d.addEventListener("touchcancel",W,Nt),d.addEventListener("touchend",W,Nt)),h=!0,f!==null&&clearTimeout(f),f=setTimeout(()=>{f=null,h=!1},200)))}function q(M){a.value!==null&&(M.qSkipRipple=h===!0,t("mousedown",M),M.defaultPrevented!==!0&&xr!==a.value&&(xr!==null&&L(),xr=a.value,a.value.classList.add("q-btn--active"),document.addEventListener("mouseup",W,Nt)))}function W(M){if(a.value!==null&&!(M?.type==="blur"&&document.activeElement===a.value)){if(M?.type==="keyup"){if(wr===a.value&&ir(M,[13,32])===!0){const _=new MouseEvent("click",M);_.qKeyEvent=!0,M.defaultPrevented===!0&&Bt(_),M.cancelBubble===!0&&Dt(_),a.value.dispatchEvent(_),St(M),M.qKeyEvent=!0}t("keyup",M)}L()}}function L(M){const _=o.value;M!==!0&&(yr===a.value||xr===a.value)&&_!==null&&_!==document.activeElement&&(_.setAttribute("tabindex",-1),_.focus()),yr===a.value&&(d!==null&&(d.removeEventListener("touchcancel",W,Nt),d.removeEventListener("touchend",W,Nt)),yr=d=null),xr===a.value&&(document.removeEventListener("mouseup",W,Nt),xr=null),wr===a.value&&(document.removeEventListener("keyup",W,!0),a.value?.removeEventListener("blur",W,Nt),wr=null),a.value?.classList.remove("q-btn--active")}function A(M){St(M),M.qSkipRipple=!0}return y.onBeforeUnmount(()=>{L(!0)}),Object.assign(b,{click:M=>{u.value===!0&&V(M)}}),()=>{let M=[];l.icon!==void 0&&M.push(y.h(gt,{name:l.icon,left:l.stack!==!0&&g.value===!0,role:"img"})),g.value===!0&&M.push(y.h("span",{class:"block"},[l.label])),M=It(B.default,M),l.iconRight!==void 0&&l.round===!1&&M.push(y.h(gt,{name:l.iconRight,right:l.stack!==!0&&g.value===!0,role:"img"}));const _=[y.h("span",{class:"q-focus-helper",ref:o})];return l.loading===!0&&l.percentage!==void 0&&_.push(y.h("span",{class:"q-btn__progress absolute-full overflow-hidden"+(l.darkPercentage===!0?" q-btn__progress--dark":"")},[y.h("span",{class:"q-btn__progress-indicator fit block",style:C.value})])),_.push(y.h("span",{class:"q-btn__content text-center col items-center q-anchor--skip "+i.value},M)),l.loading!==null&&_.push(y.h(y.Transition,{name:"q-transition--fade"},()=>l.loading===!0?[y.h("span",{key:"loading",class:"absolute-full flex flex-center"},B.loading!==void 0?B.loading():[y.h(ma)])]:null)),y.withDirectives(y.h(e.value,D.value,_),[[ba,p.value,void 0,k.value]])}}}),nl={class:"row justify-between"},il=y.defineComponent({__name:"NavButton",props:{from:{},to:{default:void 0},labelFrom:{},labelTo:{default:void 0},params:{default:()=>({})},query:{default:()=>({})}},setup(l){const B=l,t=y.inject("navContext",null),b=y.inject("router");function m(c){if(!b){console.warn("Dependencies not available:",{router:b});return}t?.setTabs();const i=c==="back"?B.from:B.to;if(!i){console.warn("Destination not provided:",c);return}b.push({name:i,params:B.params,query:B.query})}return(c,i)=>(y.openBlock(),y.createElementBlock("div",nl,[y.createVNode(ut,{icon:"chevron_left","rounded-sm":"",label:c.labelFrom,"data-cy":"go-back","data-testid":"go-back",onClick:i[0]||(i[0]=s=>m("back"))},null,8,["label"]),c.labelTo?(y.openBlock(),y.createBlock(ut,{key:0,label:c.labelTo,color:"primary","text-color":"white","icon-right":"chevron_right","rounded-sm":"","data-cy":"go-next","data-testid":"go-next",onClick:i[1]||(i[1]=s=>m("next"))},null,8,["label"])):y.createCommentVNode("",!0)]))}}),Ht=(l,B)=>{const t=l.__vccOpts||l;for(const[b,m]of B)t[b]=m;return t},ol=Ht(il,[["__scopeId","data-v-8dd99f80"]]),Ot={dark:{type:Boolean,default:null}};function Ft(l,B){return y.computed(()=>l.dark===null?B.dark.isActive:l.dark)}function al(l,B){const t=y.ref(null),b=y.computed(()=>l.disable===!0?null:y.h("span",{ref:t,class:"no-outline",tabindex:-1}));function m(c){const i=B.value;c?.qAvoidFocus!==!0&&(c?.type.indexOf("key")===0?document.activeElement!==i&&i?.contains(document.activeElement)===!0&&i.focus():t.value!==null&&(c===void 0||i?.contains(c.target)===!0)&&t.value.focus())}return{refocusTargetEl:b,refocusTarget:m}}const Nn={name:String};function sl(l){return y.computed(()=>({type:"hidden",name:l.name,value:l.modelValue}))}function va(l={}){return(B,t,b)=>{B[t](y.h("input",{class:"hidden"+(b||""),...l.value}))}}function ya(l){return y.computed(()=>l.name||l.for)}const ll={xs:30,sm:35,md:40,lg:50,xl:60},wa={...Ot,...Or,...Nn,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:l=>l==="tf"||l==="ft"},toggleIndeterminate:Boolean,label:String,leftLabel:Boolean,color:String,keepColor:Boolean,dense:Boolean,disable:Boolean,tabindex:[String,Number]},xa=["update:modelValue"];function Sa(l,B){const{props:t,slots:b,emit:m,proxy:c}=y.getCurrentInstance(),{$q:i}=c,s=Ft(t,i),n=y.ref(null),{refocusTargetEl:e,refocusTarget:r}=al(t,n),u=Fr(t,ll),a=y.computed(()=>t.val!==void 0&&Array.isArray(t.modelValue)),o=y.computed(()=>{const L=y.toRaw(t.val);return a.value===!0?t.modelValue.findIndex(A=>y.toRaw(A)===L):-1}),d=y.computed(()=>a.value===!0?o.value!==-1:y.toRaw(t.modelValue)===y.toRaw(t.trueValue)),h=y.computed(()=>a.value===!0?o.value===-1:y.toRaw(t.modelValue)===y.toRaw(t.falseValue)),f=y.computed(()=>d.value===!1&&h.value===!1),g=y.computed(()=>t.disable===!0?-1:t.tabindex||0),p=y.computed(()=>`q-${l} cursor-pointer no-outline row inline no-wrap items-center`+(t.disable===!0?" disabled":"")+(s.value===!0?` q-${l}--dark`:"")+(t.dense===!0?` q-${l}--dense`:"")+(t.leftLabel===!0?" reverse":"")),k=y.computed(()=>{const L=d.value===!0?"truthy":h.value===!0?"falsy":"indet",A=t.color!==void 0&&(t.keepColor===!0||(l==="toggle"?d.value===!0:h.value!==!0))?` text-${t.color}`:"";return`q-${l}__inner relative-position non-selectable q-${l}__inner--${L}${A}`}),C=y.computed(()=>{const L={type:"checkbox"};return t.name!==void 0&&Object.assign(L,{".checked":d.value,"^checked":d.value===!0?"checked":void 0,name:t.name,value:a.value===!0?t.val:t.trueValue}),L}),T=va(C),D=y.computed(()=>{const L={tabindex:g.value,role:l==="toggle"?"switch":"checkbox","aria-label":t.label,"aria-checked":f.value===!0?"mixed":d.value===!0?"true":"false"};return t.disable===!0&&(L["aria-disabled"]="true"),L});function V(L){L!==void 0&&(St(L),r(L)),t.disable!==!0&&m("update:modelValue",P(),L)}function P(){if(a.value===!0){if(d.value===!0){const L=t.modelValue.slice();return L.splice(o.value,1),L}return t.modelValue.concat([t.val])}if(d.value===!0){if(t.toggleOrder!=="ft"||t.toggleIndeterminate===!1)return t.falseValue}else if(h.value===!0){if(t.toggleOrder==="ft"||t.toggleIndeterminate===!1)return t.trueValue}else return t.toggleOrder!=="ft"?t.trueValue:t.falseValue;return t.indeterminateValue}function N(L){(L.keyCode===13||L.keyCode===32)&&St(L)}function q(L){(L.keyCode===13||L.keyCode===32)&&V(L)}const W=B(d,f);return Object.assign(c,{toggle:V}),()=>{const L=W();t.disable!==!0&&T(L,"unshift",` q-${l}__native absolute q-ma-none q-pa-none`);const A=[y.h("div",{class:k.value,style:u.value,"aria-hidden":"true"},L)];e.value!==null&&A.push(e.value);const M=t.label!==void 0?It(b.default,[t.label]):bt(b.default);return M!==void 0&&A.push(y.h("div",{class:`q-${l}__label q-anchor--skip`},M)),y.h("div",{ref:n,class:p.value,...D.value,onClick:V,onKeydown:N,onKeyup:q},A)}}const ul=()=>y.h("div",{key:"svg",class:"q-checkbox__bg absolute"},[y.h("svg",{class:"q-checkbox__svg fit absolute-full",viewBox:"0 0 24 24"},[y.h("path",{class:"q-checkbox__truthy",fill:"none",d:"M1.73,12.91 8.1,19.28 22.79,4.59"}),y.h("path",{class:"q-checkbox__indet",d:"M4,14H20V10H4"})])]),Er=$e({name:"QCheckbox",props:wa,emits:xa,setup(l){const B=ul();function t(b,m){const c=y.computed(()=>(b.value===!0?l.checkedIcon:m.value===!0?l.indeterminateIcon:l.uncheckedIcon)||null);return()=>c.value!==null?[y.h("div",{key:"icon",class:"q-checkbox__icon-container absolute-full flex flex-center no-wrap"},[y.h(gt,{class:"q-checkbox__icon",name:c.value})])]:[B]}return Sa("checkbox",t)}}),cl=$e({props:["store","barStyle","verticalBarStyle","horizontalBarStyle"],setup(l){return()=>[y.h("div",{class:l.store.scroll.vertical.barClass.value,style:[l.barStyle,l.verticalBarStyle],"aria-hidden":"true",onMousedown:l.store.onVerticalMousedown}),y.h("div",{class:l.store.scroll.horizontal.barClass.value,style:[l.barStyle,l.horizontalBarStyle],"aria-hidden":"true",onMousedown:l.store.onHorizontalMousedown}),y.withDirectives(y.h("div",{ref:l.store.scroll.vertical.ref,class:l.store.scroll.vertical.thumbClass.value,style:l.store.scroll.vertical.style.value,"aria-hidden":"true"}),l.store.thumbVertDir),y.withDirectives(y.h("div",{ref:l.store.scroll.horizontal.ref,class:l.store.scroll.horizontal.thumbClass.value,style:l.store.scroll.horizontal.style.value,"aria-hidden":"true"}),l.store.thumbHorizDir)]}}),or=y.ref(!1);let hi;function fl(l,B){const t=/(edg|edge|edga|edgios)\/([\w.]+)/.exec(l)||/(opr)[\/]([\w.]+)/.exec(l)||/(vivaldi)[\/]([\w.]+)/.exec(l)||/(chrome|crios)[\/]([\w.]+)/.exec(l)||/(version)(applewebkit)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(l)||/(webkit)[\/]([\w.]+).*(version)[\/]([\w.]+).*(safari)[\/]([\w.]+)/.exec(l)||/(firefox|fxios)[\/]([\w.]+)/.exec(l)||/(webkit)[\/]([\w.]+)/.exec(l)||/(opera)(?:.*version|)[\/]([\w.]+)/.exec(l)||[];return{browser:t[5]||t[3]||t[1]||"",version:t[4]||t[2]||"0",platform:B[0]||""}}function dl(l){return/(ipad)/.exec(l)||/(ipod)/.exec(l)||/(windows phone)/.exec(l)||/(iphone)/.exec(l)||/(kindle)/.exec(l)||/(silk)/.exec(l)||/(android)/.exec(l)||/(win)/.exec(l)||/(mac)/.exec(l)||/(linux)/.exec(l)||/(cros)/.exec(l)||/(playbook)/.exec(l)||/(bb)/.exec(l)||/(blackberry)/.exec(l)||[]}const ka="ontouchstart"in window||window.navigator.maxTouchPoints>0;function hl(l){const B=l.toLowerCase(),t=dl(B),b=fl(B,t),m={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};b.browser&&(m[b.browser]=!0,m.version=b.version,m.versionNumber=parseInt(b.version,10)),b.platform&&(m[b.platform]=!0);const c=m.android||m.ios||m.bb||m.blackberry||m.ipad||m.iphone||m.ipod||m.kindle||m.playbook||m.silk||m["windows phone"];if(c===!0||B.indexOf("mobile")!==-1?m.mobile=!0:m.desktop=!0,m["windows phone"]&&(m.winphone=!0,delete m["windows phone"]),m.edga||m.edgios||m.edg?(m.edge=!0,b.browser="edge"):m.crios?(m.chrome=!0,b.browser="chrome"):m.fxios&&(m.firefox=!0,b.browser="firefox"),(m.ipod||m.ipad||m.iphone)&&(m.ios=!0),m.vivaldi&&(b.browser="vivaldi",m.vivaldi=!0),(m.chrome||m.opr||m.safari||m.vivaldi||m.mobile===!0&&m.ios!==!0&&c!==!0)&&(m.webkit=!0),m.opr&&(b.browser="opera",m.opera=!0),m.safari&&(m.blackberry||m.bb?(b.browser="blackberry",m.blackberry=!0):m.playbook?(b.browser="playbook",m.playbook=!0):m.android?(b.browser="android",m.android=!0):m.kindle?(b.browser="kindle",m.kindle=!0):m.silk&&(b.browser="silk",m.silk=!0)),m.name=b.browser,m.platform=b.platform,B.indexOf("electron")!==-1)m.electron=!0;else if(document.location.href.indexOf("-extension://")!==-1)m.bex=!0;else{if(window.Capacitor!==void 0?(m.capacitor=!0,m.nativeMobile=!0,m.nativeMobileWrapper="capacitor"):(window._cordovaNative!==void 0||window.cordova!==void 0)&&(m.cordova=!0,m.nativeMobile=!0,m.nativeMobileWrapper="cordova"),or.value===!0&&(hi={is:{...m}}),ka===!0&&m.mac===!0&&(m.desktop===!0&&m.safari===!0||m.nativeMobile===!0&&m.android!==!0&&m.ios!==!0&&m.ipad!==!0)){delete m.mac,delete m.desktop;const i=Math.min(window.innerHeight,window.innerWidth)>414?"ipad":"iphone";Object.assign(m,{mobile:!0,ios:!0,platform:i,[i]:!0})}m.mobile!==!0&&window.navigator.userAgentData&&window.navigator.userAgentData.mobile&&(delete m.desktop,m.mobile=!0)}return m}const go=navigator.userAgent||navigator.vendor||window.opera,pl={has:{touch:!1,webStorage:!1},within:{iframe:!1}},Et={userAgent:go,is:hl(go),has:{touch:ka},within:{iframe:window.self!==window.top}},pi={install(l){const{$q:B}=l;or.value===!0?(l.onSSRHydrated.push(()=>{Object.assign(B.platform,Et),or.value=!1}),B.platform=y.reactive(this)):B.platform=this}};{let l;Lt(Et.has,"webStorage",()=>{if(l!==void 0)return l;try{if(window.localStorage)return l=!0,!0}catch{}return l=!1,!1}),Object.assign(pi,Et),or.value===!0&&(Object.assign(pi,hi,pl),hi=null)}function ml(){const l=y.ref(!or.value);return l.value===!1&&y.onMounted(()=>{l.value=!0}),{isHydrated:l}}const _a=typeof ResizeObserver<"u",bo=_a===!0?{}:{style:"display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",url:"about:blank"},Rr=$e({name:"QResizeObserver",props:{debounce:{type:[String,Number],default:100}},emits:["resize"],setup(l,{emit:B}){let t=null,b,m={width:-1,height:-1};function c(n){n===!0||l.debounce===0||l.debounce==="0"?i():t===null&&(t=setTimeout(i,l.debounce))}function i(){if(t!==null&&(clearTimeout(t),t=null),b){const{offsetWidth:n,offsetHeight:e}=b;(n!==m.width||e!==m.height)&&(m={width:n,height:e},B("resize",m))}}const{proxy:s}=y.getCurrentInstance();if(s.trigger=c,_a===!0){let n;const e=r=>{b=s.$el.parentNode,b?(n=new ResizeObserver(c),n.observe(b),i()):r!==!0&&y.nextTick(()=>{e(!0)})};return y.onMounted(()=>{e()}),y.onBeforeUnmount(()=>{t!==null&&clearTimeout(t),n!==void 0&&(n.disconnect!==void 0?n.disconnect():b&&n.unobserve(b))}),Pn}else{let n=function(){t!==null&&(clearTimeout(t),t=null),u!==void 0&&(u.removeEventListener!==void 0&&u.removeEventListener("resize",c,_t.passive),u=void 0)},e=function(){n(),b?.contentDocument&&(u=b.contentDocument.defaultView,u.addEventListener("resize",c,_t.passive),i())};const{isHydrated:r}=ml();let u;return y.onMounted(()=>{y.nextTick(()=>{b=s.$el,b&&e()})}),y.onBeforeUnmount(n),()=>{if(r.value===!0)return y.h("object",{class:"q--avoid-card-border",style:bo.style,tabindex:-1,type:"text/html",data:bo.url,"aria-hidden":"true",onLoad:e})}}}}),Ln=[Element,String],gl=[null,document,document.body,document.scrollingElement,document.documentElement];function Vn(l,B){let t=Hs(B);if(t===void 0){if(l==null)return window;t=l.closest(".scroll,.scroll-y,.overflow-auto")}return gl.includes(t)?window:t}function ji(l){return l===window?window.pageYOffset||window.scrollY||document.body.scrollTop||0:l.scrollTop}function Di(l){return l===window?window.pageXOffset||window.scrollX||document.body.scrollLeft||0:l.scrollLeft}function Ca(l,B,t=0){const b=arguments[3]===void 0?performance.now():arguments[3],m=ji(l);if(t<=0){m!==B&&mi(l,B);return}requestAnimationFrame(c=>{const i=c-b,s=m+(B-m)/Math.max(i,t)*i;mi(l,s),s!==B&&Ca(l,B,t-i,c)})}function Aa(l,B,t=0){const b=arguments[3]===void 0?performance.now():arguments[3],m=Di(l);if(t<=0){m!==B&&gi(l,B);return}requestAnimationFrame(c=>{const i=c-b,s=m+(B-m)/Math.max(i,t)*i;gi(l,s),s!==B&&Aa(l,B,t-i,c)})}function mi(l,B){if(l===window){window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,B);return}l.scrollTop=B}function gi(l,B){if(l===window){window.scrollTo(B,window.pageYOffset||window.scrollY||document.body.scrollTop||0);return}l.scrollLeft=B}function vo(l,B,t){if(t){Ca(l,B,t);return}mi(l,B)}function Kn(l,B,t){if(t){Aa(l,B,t);return}gi(l,B)}let ln;function xn(){if(ln!==void 0)return ln;const l=document.createElement("p"),B=document.createElement("div");di(l,{width:"100%",height:"200px"}),di(B,{position:"absolute",top:"0px",left:"0px",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),B.appendChild(l),document.body.appendChild(B);const t=l.offsetWidth;B.style.overflow="scroll";let b=l.offsetWidth;return t===b&&(b=B.clientWidth),B.remove(),ln=t-b,ln}function bl(l,B=!0){return!l||l.nodeType!==Node.ELEMENT_NODE?!1:B?l.scrollHeight>l.clientHeight&&(l.classList.contains("scroll")||l.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(l)["overflow-y"])):l.scrollWidth>l.clientWidth&&(l.classList.contains("scroll")||l.classList.contains("overflow-auto")||["auto","scroll"].includes(window.getComputedStyle(l)["overflow-x"]))}const{passive:yo}=_t,vl=["both","horizontal","vertical"],Ea=$e({name:"QScrollObserver",props:{axis:{type:String,validator:l=>vl.includes(l),default:"vertical"},debounce:[String,Number],scrollTarget:Ln},emits:["scroll"],setup(l,{emit:B}){const t={position:{top:0,left:0},direction:"down",directionChanged:!1,delta:{top:0,left:0},inflectionPoint:{top:0,left:0}};let b=null,m,c;y.watch(()=>l.scrollTarget,()=>{n(),s()});function i(){b?.();const u=Math.max(0,ji(m)),a=Di(m),o={top:u-t.position.top,left:a-t.position.left};if(l.axis==="vertical"&&o.top===0||l.axis==="horizontal"&&o.left===0)return;const d=Math.abs(o.top)>=Math.abs(o.left)?o.top<0?"up":"down":o.left<0?"left":"right";t.position={top:u,left:a},t.directionChanged=t.direction!==d,t.delta=o,t.directionChanged===!0&&(t.direction=d,t.inflectionPoint=t.position),B("scroll",{...t})}function s(){m=Vn(c,l.scrollTarget),m.addEventListener("scroll",e,yo),e(!0)}function n(){m!==void 0&&(m.removeEventListener("scroll",e,yo),m=void 0)}function e(u){if(u===!0||l.debounce===0||l.debounce==="0")i();else if(b===null){const[a,o]=l.debounce?[setTimeout(i,l.debounce),clearTimeout]:[requestAnimationFrame(i),cancelAnimationFrame];b=()=>{o(a),b=null}}}const{proxy:r}=y.getCurrentInstance();return y.watch(()=>r.$q.lang.rtl,i),y.onMounted(()=>{c=r.$el.parentNode,s()}),y.onBeforeUnmount(()=>{b?.(),n()}),Object.assign(r,{trigger:e,getPosition:()=>t}),Pn}}),Pi={left:!0,right:!0,up:!0,down:!0,horizontal:!0,vertical:!0},yl=Object.keys(Pi);Pi.all=!0;function wo(l){const B={};for(const t of yl)l[t]===!0&&(B[t]=!0);return Object.keys(B).length===0?Pi:(B.horizontal===!0?B.left=B.right=!0:B.left===!0&&B.right===!0&&(B.horizontal=!0),B.vertical===!0?B.up=B.down=!0:B.up===!0&&B.down===!0&&(B.vertical=!0),B.horizontal===!0&&B.vertical===!0&&(B.all=!0),B)}const wl=["INPUT","TEXTAREA"];function xo(l,B){return B.event===void 0&&l.target!==void 0&&l.target.draggable!==!0&&typeof B.handler=="function"&&wl.includes(l.target.nodeName.toUpperCase())===!1&&(l.qClonedBy===void 0||l.qClonedBy.indexOf(B.uid)===-1)}function Cn(){if(window.getSelection!==void 0){const l=window.getSelection();l.empty!==void 0?l.empty():l.removeAllRanges!==void 0&&(l.removeAllRanges(),pi.is.mobile!==!0&&l.addRange(document.createRange()))}else document.selection!==void 0&&document.selection.empty()}function Xn(l,B,t){const b=Yr(l);let m,c=b.left-B.event.x,i=b.top-B.event.y,s=Math.abs(c),n=Math.abs(i);const e=B.direction;e.horizontal===!0&&e.vertical!==!0?m=c<0?"left":"right":e.horizontal!==!0&&e.vertical===!0?m=i<0?"up":"down":e.up===!0&&i<0?(m="up",s>n&&(e.left===!0&&c<0?m="left":e.right===!0&&c>0&&(m="right"))):e.down===!0&&i>0?(m="down",s>n&&(e.left===!0&&c<0?m="left":e.right===!0&&c>0&&(m="right"))):e.left===!0&&c<0?(m="left",s<n&&(e.up===!0&&i<0?m="up":e.down===!0&&i>0&&(m="down"))):e.right===!0&&c>0&&(m="right",s<n&&(e.up===!0&&i<0?m="up":e.down===!0&&i>0&&(m="down")));let r=!1;if(m===void 0&&t===!1){if(B.event.isFirst===!0||B.event.lastDir===void 0)return{};m=B.event.lastDir,r=!0,m==="left"||m==="right"?(b.left-=c,s=0,c=0):(b.top-=i,n=0,i=0)}return{synthetic:r,payload:{evt:l,touch:B.event.mouse!==!0,mouse:B.event.mouse===!0,position:b,direction:m,isFirst:B.event.isFirst,isFinal:t===!0,duration:Date.now()-B.event.time,distance:{x:s,y:n},offset:{x:c,y:i},delta:{x:b.left-B.event.lastX,y:b.top-B.event.lastY}}}}let xl=0;const So=Ei({name:"touch-pan",beforeMount(l,{value:B,modifiers:t}){if(t.mouse!==!0&&Et.has.touch!==!0)return;function b(c,i){t.mouse===!0&&i===!0?St(c):(t.stop===!0&&Dt(c),t.prevent===!0&&Bt(c))}const m={uid:"qvtp_"+xl++,handler:B,modifiers:t,direction:wo(t),noop:Pn,mouseStart(c){xo(c,m)&&Ys(c)&&(Xt(m,"temp",[[document,"mousemove","move","notPassiveCapture"],[document,"mouseup","end","passiveCapture"]]),m.start(c,!0))},touchStart(c){if(xo(c,m)){const i=c.target;Xt(m,"temp",[[i,"touchmove","move","notPassiveCapture"],[i,"touchcancel","end","passiveCapture"],[i,"touchend","end","passiveCapture"]]),m.start(c)}},start(c,i){if(Et.is.firefox===!0&&Qn(l,!0),m.lastEvt=c,i===!0||t.stop===!0){if(m.direction.all!==!0&&(i!==!0||m.modifiers.mouseAllDir!==!0&&m.modifiers.mousealldir!==!0)){const e=c.type.indexOf("mouse")!==-1?new MouseEvent(c.type,c):new TouchEvent(c.type,c);c.defaultPrevented===!0&&Bt(e),c.cancelBubble===!0&&Dt(e),Object.assign(e,{qKeyEvent:c.qKeyEvent,qClickOutside:c.qClickOutside,qAnchorHandled:c.qAnchorHandled,qClonedBy:c.qClonedBy===void 0?[m.uid]:c.qClonedBy.concat(m.uid)}),m.initialEvent={target:c.target,event:e}}Dt(c)}const{left:s,top:n}=Yr(c);m.event={x:s,y:n,time:Date.now(),mouse:i===!0,detected:!1,isFirst:!0,isFinal:!1,lastX:s,lastY:n}},move(c){if(m.event===void 0)return;const i=Yr(c),s=i.left-m.event.x,n=i.top-m.event.y;if(s===0&&n===0)return;m.lastEvt=c;const e=m.event.mouse===!0,r=()=>{b(c,e);let o;t.preserveCursor!==!0&&t.preservecursor!==!0&&(o=document.documentElement.style.cursor||"",document.documentElement.style.cursor="grabbing"),e===!0&&document.body.classList.add("no-pointer-events--children"),document.body.classList.add("non-selectable"),Cn(),m.styleCleanup=d=>{if(m.styleCleanup=void 0,o!==void 0&&(document.documentElement.style.cursor=o),document.body.classList.remove("non-selectable"),e===!0){const h=()=>{document.body.classList.remove("no-pointer-events--children")};d!==void 0?setTimeout(()=>{h(),d()},50):h()}else d!==void 0&&d()}};if(m.event.detected===!0){m.event.isFirst!==!0&&b(c,m.event.mouse);const{payload:o,synthetic:d}=Xn(c,m,!1);o!==void 0&&(m.handler(o)===!1?m.end(c):(m.styleCleanup===void 0&&m.event.isFirst===!0&&r(),m.event.lastX=o.position.left,m.event.lastY=o.position.top,m.event.lastDir=d===!0?void 0:o.direction,m.event.isFirst=!1));return}if(m.direction.all===!0||e===!0&&(m.modifiers.mouseAllDir===!0||m.modifiers.mousealldir===!0)){r(),m.event.detected=!0,m.move(c);return}const u=Math.abs(s),a=Math.abs(n);u!==a&&(m.direction.horizontal===!0&&u>a||m.direction.vertical===!0&&u<a||m.direction.up===!0&&u<a&&n<0||m.direction.down===!0&&u<a&&n>0||m.direction.left===!0&&u>a&&s<0||m.direction.right===!0&&u>a&&s>0?(m.event.detected=!0,m.move(c)):m.end(c,!0))},end(c,i){if(m.event!==void 0){if(fr(m,"temp"),Et.is.firefox===!0&&Qn(l,!1),i===!0)m.styleCleanup?.(),m.event.detected!==!0&&m.initialEvent!==void 0&&m.initialEvent.target.dispatchEvent(m.initialEvent.event);else if(m.event.detected===!0){m.event.isFirst===!0&&m.handler(Xn(c===void 0?m.lastEvt:c,m).payload);const{payload:s}=Xn(c===void 0?m.lastEvt:c,m,!0),n=()=>{m.handler(s)};m.styleCleanup!==void 0?m.styleCleanup(n):n()}m.event=void 0,m.initialEvent=void 0,m.lastEvt=void 0}}};if(l.__qtouchpan=m,t.mouse===!0){const c=t.mouseCapture===!0||t.mousecapture===!0?"Capture":"";Xt(m,"main",[[l,"mousedown","mouseStart",`passive${c}`]])}Et.has.touch===!0&&Xt(m,"main",[[l,"touchstart","touchStart",`passive${t.capture===!0?"Capture":""}`],[l,"touchmove","noop","notPassiveCapture"]])},updated(l,B){const t=l.__qtouchpan;t!==void 0&&(B.oldValue!==B.value&&(typeof value!="function"&&t.end(),t.handler=B.value),t.direction=wo(B.modifiers))},beforeUnmount(l){const B=l.__qtouchpan;B!==void 0&&(B.event!==void 0&&B.end(),fr(B,"main"),fr(B,"temp"),Et.is.firefox===!0&&Qn(l,!1),B.styleCleanup?.(),delete l.__qtouchpan)}});function Sl(l){return l.charAt(0).toUpperCase()+l.slice(1)}function Dr(l,B,t){return t<=B?B:Math.min(t,Math.max(B,l))}function ko(l,B,t){if(t<=B)return B;const b=t-B+1;let m=B+(l-B)%b;return m<B&&(m=b+m),m===0?0:m}function vt(l,B=2,t="0"){if(l==null)return l;const b=""+l;return b.length>=B?b:new Array(B-b.length+1).join(t)+b}function Ni(l,B=250,t){let b=null;function m(){const c=arguments,i=()=>{b=null,l.apply(this,c)};b!==null&&clearTimeout(b),b=setTimeout(i,B)}return m.cancel=()=>{b!==null&&clearTimeout(b)},m}const _o=["vertical","horizontal"],Gn={vertical:{offset:"offsetY",scroll:"scrollTop",dir:"down",dist:"y"},horizontal:{offset:"offsetX",scroll:"scrollLeft",dir:"right",dist:"x"}},Co={prevent:!0,mouse:!0,mouseAllDir:!0},Ao=l=>l>=250?50:Math.ceil(l/5),kl=$e({name:"QScrollArea",props:{...Ot,thumbStyle:Object,verticalThumbStyle:Object,horizontalThumbStyle:Object,barStyle:[Array,String,Object],verticalBarStyle:[Array,String,Object],horizontalBarStyle:[Array,String,Object],verticalOffset:{type:Array,default:[0,0]},horizontalOffset:{type:Array,default:[0,0]},contentStyle:[Array,String,Object],contentActiveStyle:[Array,String,Object],delay:{type:[String,Number],default:1e3},visible:{type:Boolean,default:null},tabindex:[String,Number],onScroll:Function},setup(l,{slots:B,emit:t}){const b=y.ref(!1),m=y.ref(!1),c=y.ref(!1),i={vertical:y.ref(0),horizontal:y.ref(0)},s={vertical:{ref:y.ref(null),position:y.ref(0),size:y.ref(0)},horizontal:{ref:y.ref(null),position:y.ref(0),size:y.ref(0)}},{proxy:n}=y.getCurrentInstance(),e=Ft(l,n.$q);let r=null,u;const a=y.ref(null),o=y.computed(()=>"q-scrollarea"+(e.value===!0?" q-scrollarea--dark":""));Object.assign(i,{verticalInner:y.computed(()=>i.vertical.value-l.verticalOffset[0]-l.verticalOffset[1]),horizontalInner:y.computed(()=>i.horizontal.value-l.horizontalOffset[0]-l.horizontalOffset[1])}),s.vertical.percentage=y.computed(()=>{const M=s.vertical.size.value-i.vertical.value;if(M<=0)return 0;const _=Dr(s.vertical.position.value/M,0,1);return Math.round(_*1e4)/1e4}),s.vertical.thumbHidden=y.computed(()=>(l.visible===null?c.value:l.visible)!==!0&&b.value===!1&&m.value===!1||s.vertical.size.value<=i.vertical.value+1),s.vertical.thumbStart=y.computed(()=>l.verticalOffset[0]+s.vertical.percentage.value*(i.verticalInner.value-s.vertical.thumbSize.value)),s.vertical.thumbSize=y.computed(()=>Math.round(Dr(i.verticalInner.value*i.verticalInner.value/s.vertical.size.value,Ao(i.verticalInner.value),i.verticalInner.value))),s.vertical.style=y.computed(()=>({...l.thumbStyle,...l.verticalThumbStyle,top:`${s.vertical.thumbStart.value}px`,height:`${s.vertical.thumbSize.value}px`,right:`${l.horizontalOffset[1]}px`})),s.vertical.thumbClass=y.computed(()=>"q-scrollarea__thumb q-scrollarea__thumb--v absolute-right"+(s.vertical.thumbHidden.value===!0?" q-scrollarea__thumb--invisible":"")),s.vertical.barClass=y.computed(()=>"q-scrollarea__bar q-scrollarea__bar--v absolute-right"+(s.vertical.thumbHidden.value===!0?" q-scrollarea__bar--invisible":"")),s.horizontal.percentage=y.computed(()=>{const M=s.horizontal.size.value-i.horizontal.value;if(M<=0)return 0;const _=Dr(Math.abs(s.horizontal.position.value)/M,0,1);return Math.round(_*1e4)/1e4}),s.horizontal.thumbHidden=y.computed(()=>(l.visible===null?c.value:l.visible)!==!0&&b.value===!1&&m.value===!1||s.horizontal.size.value<=i.horizontal.value+1),s.horizontal.thumbStart=y.computed(()=>l.horizontalOffset[0]+s.horizontal.percentage.value*(i.horizontalInner.value-s.horizontal.thumbSize.value)),s.horizontal.thumbSize=y.computed(()=>Math.round(Dr(i.horizontalInner.value*i.horizontalInner.value/s.horizontal.size.value,Ao(i.horizontalInner.value),i.horizontalInner.value))),s.horizontal.style=y.computed(()=>({...l.thumbStyle,...l.horizontalThumbStyle,[n.$q.lang.rtl===!0?"right":"left"]:`${s.horizontal.thumbStart.value}px`,width:`${s.horizontal.thumbSize.value}px`,bottom:`${l.verticalOffset[1]}px`})),s.horizontal.thumbClass=y.computed(()=>"q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom"+(s.horizontal.thumbHidden.value===!0?" q-scrollarea__thumb--invisible":"")),s.horizontal.barClass=y.computed(()=>"q-scrollarea__bar q-scrollarea__bar--h absolute-bottom"+(s.horizontal.thumbHidden.value===!0?" q-scrollarea__bar--invisible":""));const d=y.computed(()=>s.vertical.thumbHidden.value===!0&&s.horizontal.thumbHidden.value===!0?l.contentStyle:l.contentActiveStyle);function h(){const M={};return _o.forEach(_=>{const v=s[_];Object.assign(M,{[_+"Position"]:v.position.value,[_+"Percentage"]:v.percentage.value,[_+"Size"]:v.size.value,[_+"ContainerSize"]:i[_].value,[_+"ContainerInnerSize"]:i[_+"Inner"].value})}),M}const f=Ni(()=>{const M=h();M.ref=n,t("scroll",M)},0);function g(M,_,v){if(_o.includes(M)===!1){console.error("[QScrollArea]: wrong first param of setScrollPosition (vertical/horizontal)");return}(M==="vertical"?vo:Kn)(a.value,_,v)}function p({height:M,width:_}){let v=!1;i.vertical.value!==M&&(i.vertical.value=M,v=!0),i.horizontal.value!==_&&(i.horizontal.value=_,v=!0),v===!0&&V()}function k({position:M}){let _=!1;s.vertical.position.value!==M.top&&(s.vertical.position.value=M.top,_=!0),s.horizontal.position.value!==M.left&&(s.horizontal.position.value=M.left,_=!0),_===!0&&V()}function C({height:M,width:_}){s.horizontal.size.value!==_&&(s.horizontal.size.value=_,V()),s.vertical.size.value!==M&&(s.vertical.size.value=M,V())}function T(M,_){const v=s[_];if(M.isFirst===!0){if(v.thumbHidden.value===!0)return;u=v.position.value,m.value=!0}else if(m.value!==!0)return;M.isFinal===!0&&(m.value=!1);const x=Gn[_],w=(v.size.value-i[_].value)/(i[_+"Inner"].value-v.thumbSize.value),S=M.distance[x.dist],E=u+(M.direction===x.dir?1:-1)*S*w;P(E,_)}function D(M,_){const v=s[_];if(v.thumbHidden.value!==!0){const x=_==="vertical"?l.verticalOffset[0]:l.horizontalOffset[0],w=M[Gn[_].offset]-x,S=v.thumbStart.value-x;if(w<S||w>S+v.thumbSize.value){const E=w-v.thumbSize.value/2,O=Dr(E/(i[_+"Inner"].value-v.thumbSize.value),0,1);P(O*Math.max(0,v.size.value-i[_].value),_)}v.ref.value!==null&&v.ref.value.dispatchEvent(new MouseEvent(M.type,M))}}function V(){b.value=!0,r!==null&&clearTimeout(r),r=setTimeout(()=>{r=null,b.value=!1},l.delay),l.onScroll!==void 0&&f()}function P(M,_){a.value[Gn[_].scroll]=M}let N=null;function q(){N!==null&&clearTimeout(N),N=setTimeout(()=>{N=null,c.value=!0},n.$q.platform.is.ios?50:0)}function W(){N!==null&&(clearTimeout(N),N=null),c.value=!1}let L=null;y.watch(()=>n.$q.lang.rtl,M=>{a.value!==null&&Kn(a.value,Math.abs(s.horizontal.position.value)*(M===!0?-1:1))}),y.onDeactivated(()=>{L={top:s.vertical.position.value,left:s.horizontal.position.value}}),y.onActivated(()=>{if(L===null)return;const M=a.value;M!==null&&(Kn(M,L.left),vo(M,L.top))}),y.onBeforeUnmount(f.cancel),Object.assign(n,{getScrollTarget:()=>a.value,getScroll:h,getScrollPosition:()=>({top:s.vertical.position.value,left:s.horizontal.position.value}),getScrollPercentage:()=>({top:s.vertical.percentage.value,left:s.horizontal.percentage.value}),setScrollPosition:g,setScrollPercentage(M,_,v){g(M,_*(s[M].size.value-i[M].value)*(M==="horizontal"&&n.$q.lang.rtl===!0?-1:1),v)}});const A={scroll:s,thumbVertDir:[[So,M=>{T(M,"vertical")},void 0,{vertical:!0,...Co}]],thumbHorizDir:[[So,M=>{T(M,"horizontal")},void 0,{horizontal:!0,...Co}]],onVerticalMousedown(M){D(M,"vertical")},onHorizontalMousedown(M){D(M,"horizontal")}};return()=>y.h("div",{class:o.value,onMouseenter:q,onMouseleave:W},[y.h("div",{ref:a,class:"q-scrollarea__container scroll relative-position fit hide-scrollbar",tabindex:l.tabindex!==void 0?l.tabindex:void 0},[y.h("div",{class:"q-scrollarea__content absolute",style:d.value},It(B.default,[y.h(Rr,{debounce:0,onResize:C})])),y.h(Ea,{axis:"both",onScroll:k})]),y.h(Rr,{debounce:0,onResize:p}),y.h(cl,{store:A,barStyle:l.barStyle,verticalBarStyle:l.verticalBarStyle,horizontalBarStyle:l.horizontalBarStyle})])}}),Gr=$e({name:"QCard",props:{...Ot,tag:{type:String,default:"div"},square:Boolean,flat:Boolean,bordered:Boolean},setup(l,{slots:B}){const{proxy:{$q:t}}=y.getCurrentInstance(),b=Ft(l,t),m=y.computed(()=>"q-card"+(b.value===!0?" q-card--dark q-dark":"")+(l.bordered===!0?" q-card--bordered":"")+(l.square===!0?" q-card--square no-border-radius":"")+(l.flat===!0?" q-card--flat no-shadow":""));return()=>y.h(l.tag,{class:m.value},bt(B.default))}}),Ma={target:{type:[Boolean,String,Element],default:!0},noParentEvent:Boolean},Ta={...Ma,contextMenu:Boolean};function Li({showing:l,avoidEmit:B,configureAnchorEl:t}){const{props:b,proxy:m,emit:c}=y.getCurrentInstance(),i=y.ref(null);let s=null;function n(o){return i.value===null?!1:o===void 0||o.touches===void 0||o.touches.length<=1}const e={};t===void 0&&(Object.assign(e,{hide(o){m.hide(o)},toggle(o){m.toggle(o),o.qAnchorHandled=!0},toggleKey(o){ir(o,13)===!0&&e.toggle(o)},contextClick(o){m.hide(o),Bt(o),y.nextTick(()=>{m.show(o),o.qAnchorHandled=!0})},prevent:Bt,mobileTouch(o){if(e.mobileCleanup(o),n(o)!==!0)return;m.hide(o),i.value.classList.add("non-selectable");const d=o.target;Xt(e,"anchor",[[d,"touchmove","mobileCleanup","passive"],[d,"touchend","mobileCleanup","passive"],[d,"touchcancel","mobileCleanup","passive"],[i.value,"contextmenu","prevent","notPassive"]]),s=setTimeout(()=>{s=null,m.show(o),o.qAnchorHandled=!0},300)},mobileCleanup(o){i.value.classList.remove("non-selectable"),s!==null&&(clearTimeout(s),s=null),l.value===!0&&o!==void 0&&Cn()}}),t=function(o=b.contextMenu){if(b.noParentEvent===!0||i.value===null)return;let d;o===!0?m.$q.platform.is.mobile===!0?d=[[i.value,"touchstart","mobileTouch","passive"]]:d=[[i.value,"mousedown","hide","passive"],[i.value,"contextmenu","contextClick","notPassive"]]:d=[[i.value,"click","toggle","passive"],[i.value,"keyup","toggleKey","passive"]],Xt(e,"anchor",d)});function r(){fr(e,"anchor")}function u(o){for(i.value=o;i.value.classList.contains("q-anchor--skip");)i.value=i.value.parentNode;t()}function a(){if(b.target===!1||b.target===""||m.$el.parentNode===null)i.value=null;else if(b.target===!0)u(m.$el.parentNode);else{let o=b.target;if(typeof b.target=="string")try{o=document.querySelector(b.target)}catch{o=void 0}o!=null?(i.value=o.$el||o,t()):(i.value=null,console.error(`Anchor: target "${b.target}" not found`))}}return y.watch(()=>b.contextMenu,o=>{i.value!==null&&(r(),t(o))}),y.watch(()=>b.target,()=>{i.value!==null&&r(),a()}),y.watch(()=>b.noParentEvent,o=>{i.value!==null&&(o===!0?r():t())}),y.onMounted(()=>{a(),B!==!0&&b.modelValue===!0&&i.value===null&&c("update:modelValue",!1)}),y.onBeforeUnmount(()=>{s!==null&&clearTimeout(s),r()}),{anchorEl:i,canShow:n,anchorEvents:e}}function Ra(l,B){const t=y.ref(null);let b;function m(s,n){const e=`${n!==void 0?"add":"remove"}EventListener`,r=n!==void 0?n:b;s!==window&&s[e]("scroll",r,_t.passive),window[e]("scroll",r,_t.passive),b=n}function c(){t.value!==null&&(m(t.value),t.value=null)}const i=y.watch(()=>l.noParentEvent,()=>{t.value!==null&&(c(),B())});return y.onBeforeUnmount(i),{localScrollTarget:t,unconfigureScrollTarget:c,changeScrollEvent:m}}const Vi={modelValue:{type:Boolean,default:null},"onUpdate:modelValue":[Function,Array]},qi=["beforeShow","show","beforeHide","hide"];function zi({showing:l,canShow:B,hideOnRouteChange:t,handleShow:b,handleHide:m,processOnMount:c}){const i=y.getCurrentInstance(),{props:s,emit:n,proxy:e}=i;let r;function u(p){l.value===!0?d(p):a(p)}function a(p){if(s.disable===!0||p?.qAnchorHandled===!0||B!==void 0&&B(p)!==!0)return;const k=s["onUpdate:modelValue"]!==void 0;k===!0&&(n("update:modelValue",!0),r=p,y.nextTick(()=>{r===p&&(r=void 0)})),(s.modelValue===null||k===!1)&&o(p)}function o(p){l.value!==!0&&(l.value=!0,n("beforeShow",p),b!==void 0?b(p):n("show",p))}function d(p){if(s.disable===!0)return;const k=s["onUpdate:modelValue"]!==void 0;k===!0&&(n("update:modelValue",!1),r=p,y.nextTick(()=>{r===p&&(r=void 0)})),(s.modelValue===null||k===!1)&&h(p)}function h(p){l.value!==!1&&(l.value=!1,n("beforeHide",p),m!==void 0?m(p):n("hide",p))}function f(p){s.disable===!0&&p===!0?s["onUpdate:modelValue"]!==void 0&&n("update:modelValue",!1):p===!0!==l.value&&(p===!0?o:h)(r)}y.watch(()=>s.modelValue,f),t!==void 0&&Ti(i)===!0&&y.watch(()=>e.$route.fullPath,()=>{t.value===!0&&l.value===!0&&d()}),y.onMounted(()=>{f(s.modelValue)});const g={show:a,hide:d,toggle:u};return Object.assign(e,g),g}let cr=[],Qr=[];function Ba(l){Qr=Qr.filter(B=>B!==l)}function _l(l){Ba(l),Qr.push(l)}function Eo(l){Ba(l),Qr.length===0&&cr.length!==0&&(cr[cr.length-1](),cr=[])}function Jr(l){Qr.length===0?l():cr.push(l)}function Cl(l){cr=cr.filter(B=>B!==l)}const Mo={};let Al=1,El=document.body;function Ml(l,B){const t=document.createElement("div");if(t.id=B!==void 0?`q-portal--${B}--${Al++}`:l,Mo.globalNodes!==void 0){const b=Mo.globalNodes.class;b!==void 0&&(t.className=b)}return El.appendChild(t),t}function Tl(l){l.remove()}const Mr=[];function Rl(l){return Mr.find(B=>B.contentEl!==null&&B.contentEl.contains(l))}function Ia(l,B){do{if(l.$options.name==="QMenu"){if(l.hide(B),l.$props.separateClosePopup===!0)return wn(l)}else if(l.__qPortal===!0){const t=wn(l);return t?.$options.name==="QPopupProxy"?(l.hide(B),t):l}l=wn(l)}while(l!=null)}function Bl(l,B,t){for(;t!==0&&l!==void 0&&l!==null;){if(l.__qPortal===!0){if(t--,l.$options.name==="QMenu"){l=Ia(l,B);continue}l.hide(B)}l=wn(l)}}const Il=$e({name:"QPortal",setup(l,{slots:B}){return()=>B.default()}});function Ol(l){for(l=l.parent;l!=null;){if(l.type.name==="QGlobalDialog")return!0;if(l.type.name==="QDialog"||l.type.name==="QMenu")return!1;l=l.parent}return!1}function Ui(l,B,t,b){const m=y.ref(!1),c=y.ref(!1);let i=null;const s={},n=b==="dialog"&&Ol(l);function e(u){if(u===!0){Eo(s),c.value=!0;return}c.value=!1,m.value===!1&&(n===!1&&i===null&&(i=Ml(!1,b)),m.value=!0,Mr.push(l.proxy),_l(s))}function r(u){if(c.value=!1,u!==!0)return;Eo(s),m.value=!1;const a=Mr.indexOf(l.proxy);a!==-1&&Mr.splice(a,1),i!==null&&(Tl(i),i=null)}return y.onUnmounted(()=>{r(!0)}),l.proxy.__qPortal=!0,Lt(l.proxy,"contentEl",()=>B.value),{showPortal:e,hidePortal:r,portalIsActive:m,portalIsAccessible:c,renderPortal:()=>n===!0?t():m.value===!0?[y.h(y.Teleport,{to:i},y.h(Il,t))]:void 0}}const Wr={transitionShow:{type:String,default:"fade"},transitionHide:{type:String,default:"fade"},transitionDuration:{type:[String,Number],default:300}};function Wi(l,B=()=>{},t=()=>{}){return{transitionProps:y.computed(()=>{const b=`q-transition--${l.transitionShow||B()}`,m=`q-transition--${l.transitionHide||t()}`;return{appear:!0,enterFromClass:`${b}-enter-from`,enterActiveClass:`${b}-enter-active`,enterToClass:`${b}-enter-to`,leaveFromClass:`${m}-leave-from`,leaveActiveClass:`${m}-leave-active`,leaveToClass:`${m}-leave-to`}}),transitionStyle:y.computed(()=>`--q-transition-duration: ${l.transitionDuration}ms`)}}function Hi(){let l;const B=y.getCurrentInstance();function t(){l=void 0}return y.onDeactivated(t),y.onBeforeUnmount(t),{removeTick:t,registerTick(b){l=b,y.nextTick(()=>{l===b&&(Ri(B)===!1&&l(),l=void 0)})}}}function Yi(){let l=null;const B=y.getCurrentInstance();function t(){l!==null&&(clearTimeout(l),l=null)}return y.onDeactivated(t),y.onBeforeUnmount(t),{removeTimeout:t,registerTimeout(b,m){t(),Ri(B)===!1&&(l=setTimeout(()=>{l=null,b()},m))}}}const dr=[];let Br;function Fl(l){Br=l.keyCode===27}function jl(){Br===!0&&(Br=!1)}function Dl(l){Br===!0&&(Br=!1,ir(l,27)===!0&&dr[dr.length-1](l))}function Oa(l){window[l]("keydown",Fl),window[l]("blur",jl),window[l]("keyup",Dl),Br=!1}function Fa(l){Et.is.desktop===!0&&(dr.push(l),dr.length===1&&Oa("addEventListener"))}function An(l){const B=dr.indexOf(l);B!==-1&&(dr.splice(B,1),dr.length===0&&Oa("removeEventListener"))}const hr=[];function ja(l){hr[hr.length-1](l)}function Da(l){Et.is.desktop===!0&&(hr.push(l),hr.length===1&&document.body.addEventListener("focusin",ja))}function bi(l){const B=hr.indexOf(l);B!==-1&&(hr.splice(B,1),hr.length===0&&document.body.removeEventListener("focusin",ja))}const{notPassiveCapture:En}=_t,pr=[];function Mn(l){const B=l.target;if(B===void 0||B.nodeType===8||B.classList.contains("no-pointer-events")===!0)return;let t=Mr.length-1;for(;t>=0;){const b=Mr[t].$;if(b.type.name==="QTooltip"){t--;continue}if(b.type.name!=="QDialog")break;if(b.props.seamless!==!0)return;t--}for(let b=pr.length-1;b>=0;b--){const m=pr[b];if((m.anchorEl.value===null||m.anchorEl.value.contains(B)===!1)&&(B===document.body||m.innerRef.value!==null&&m.innerRef.value.contains(B)===!1))l.qClickOutside=!0,m.onClickOutside(l);else return}}function Pa(l){pr.push(l),pr.length===1&&(document.addEventListener("mousedown",Mn,En),document.addEventListener("touchstart",Mn,En))}function Tn(l){const B=pr.findIndex(t=>t===l);B!==-1&&(pr.splice(B,1),pr.length===0&&(document.removeEventListener("mousedown",Mn,En),document.removeEventListener("touchstart",Mn,En)))}let To,Ro;function Rn(l){const B=l.split(" ");return B.length!==2?!1:["top","center","bottom"].includes(B[0])!==!0?(console.error("Anchor/Self position must start with one of top/center/bottom"),!1):["left","middle","right","start","end"].includes(B[1])!==!0?(console.error("Anchor/Self position must end with one of left/middle/right/start/end"),!1):!0}function Na(l){return l?!(l.length!==2||typeof l[0]!="number"||typeof l[1]!="number"):!0}const vi={"start#ltr":"left","start#rtl":"right","end#ltr":"right","end#rtl":"left"};["left","middle","right"].forEach(l=>{vi[`${l}#ltr`]=l,vi[`${l}#rtl`]=l});function Bn(l,B){const t=l.split(" ");return{vertical:t[0],horizontal:vi[`${t[1]}#${B===!0?"rtl":"ltr"}`]}}function Pl(l,B){let{top:t,left:b,right:m,bottom:c,width:i,height:s}=l.getBoundingClientRect();return B!==void 0&&(t-=B[1],b-=B[0],c+=B[1],m+=B[0],i+=B[0],s+=B[1]),{top:t,bottom:c,height:s,left:b,right:m,width:i,middle:b+(m-b)/2,center:t+(c-t)/2}}function Nl(l,B,t){let{top:b,left:m}=l.getBoundingClientRect();return b+=B.top,m+=B.left,t!==void 0&&(b+=t[1],m+=t[0]),{top:b,bottom:b+1,height:1,left:m,right:m+1,width:1,middle:m,center:b}}function Ll(l,B){return{top:0,center:B/2,bottom:B,left:0,middle:l/2,right:l}}function Bo(l,B,t,b){return{top:l[t.vertical]-B[b.vertical],left:l[t.horizontal]-B[b.horizontal]}}function Qi(l,B=0){if(l.targetEl===null||l.anchorEl===null||B>5)return;if(l.targetEl.offsetHeight===0||l.targetEl.offsetWidth===0){setTimeout(()=>{Qi(l,B+1)},10);return}const{targetEl:t,offset:b,anchorEl:m,anchorOrigin:c,selfOrigin:i,absoluteOffset:s,fit:n,cover:e,maxHeight:r,maxWidth:u}=l;if(Et.is.ios===!0&&window.visualViewport!==void 0){const D=document.body.style,{offsetLeft:V,offsetTop:P}=window.visualViewport;V!==To&&(D.setProperty("--q-pe-left",V+"px"),To=V),P!==Ro&&(D.setProperty("--q-pe-top",P+"px"),Ro=P)}const{scrollLeft:a,scrollTop:o}=t,d=s===void 0?Pl(m,e===!0?[0,0]:b):Nl(m,s,b);Object.assign(t.style,{top:0,left:0,minWidth:null,minHeight:null,maxWidth:u,maxHeight:r,visibility:"visible"});const{offsetWidth:h,offsetHeight:f}=t,{elWidth:g,elHeight:p}=n===!0||e===!0?{elWidth:Math.max(d.width,h),elHeight:e===!0?Math.max(d.height,f):f}:{elWidth:h,elHeight:f};let k={maxWidth:u,maxHeight:r};(n===!0||e===!0)&&(k.minWidth=d.width+"px",e===!0&&(k.minHeight=d.height+"px")),Object.assign(t.style,k);const C=Ll(g,p);let T=Bo(d,C,c,i);if(s===void 0||b===void 0)Jn(T,d,C,c,i);else{const{top:D,left:V}=T;Jn(T,d,C,c,i);let P=!1;if(T.top!==D){P=!0;const N=2*b[1];d.center=d.top-=N,d.bottom-=N+2}if(T.left!==V){P=!0;const N=2*b[0];d.middle=d.left-=N,d.right-=N+2}P===!0&&(T=Bo(d,C,c,i),Jn(T,d,C,c,i))}k={top:T.top+"px",left:T.left+"px"},T.maxHeight!==void 0&&(k.maxHeight=T.maxHeight+"px",d.height>T.maxHeight&&(k.minHeight=k.maxHeight)),T.maxWidth!==void 0&&(k.maxWidth=T.maxWidth+"px",d.width>T.maxWidth&&(k.minWidth=k.maxWidth)),Object.assign(t.style,k),t.scrollTop!==o&&(t.scrollTop=o),t.scrollLeft!==a&&(t.scrollLeft=a)}function Jn(l,B,t,b,m){const c=t.bottom,i=t.right,s=xn(),n=window.innerHeight-s,e=document.body.clientWidth;if(l.top<0||l.top+c>n)if(m.vertical==="center")l.top=B[b.vertical]>n/2?Math.max(0,n-c):0,l.maxHeight=Math.min(c,n);else if(B[b.vertical]>n/2){const r=Math.min(n,b.vertical==="center"?B.center:b.vertical===m.vertical?B.bottom:B.top);l.maxHeight=Math.min(c,r),l.top=Math.max(0,r-c)}else l.top=Math.max(0,b.vertical==="center"?B.center:b.vertical===m.vertical?B.top:B.bottom),l.maxHeight=Math.min(c,n-l.top);if(l.left<0||l.left+i>e)if(l.maxWidth=Math.min(i,e),m.horizontal==="middle")l.left=B[b.horizontal]>e/2?Math.max(0,e-i):0;else if(B[b.horizontal]>e/2){const r=Math.min(e,b.horizontal==="middle"?B.middle:b.horizontal===m.horizontal?B.right:B.left);l.maxWidth=Math.min(i,r),l.left=Math.max(0,r-l.maxWidth)}else l.left=Math.max(0,b.horizontal==="middle"?B.middle:b.horizontal===m.horizontal?B.left:B.right),l.maxWidth=Math.min(i,e-l.left)}const Zr=$e({name:"QMenu",inheritAttrs:!1,props:{...Ta,...Vi,...Ot,...Wr,persistent:Boolean,autoClose:Boolean,separateClosePopup:Boolean,noEscDismiss:Boolean,noRouteDismiss:Boolean,noRefocus:Boolean,noFocus:Boolean,fit:Boolean,cover:Boolean,square:Boolean,anchor:{type:String,validator:Rn},self:{type:String,validator:Rn},offset:{type:Array,validator:Na},scrollTarget:Ln,touchPosition:Boolean,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null}},emits:[...qi,"click","escapeKey"],setup(l,{slots:B,emit:t,attrs:b}){let m=null,c,i,s;const n=y.getCurrentInstance(),{proxy:e}=n,{$q:r}=e,u=y.ref(null),a=y.ref(!1),o=y.computed(()=>l.persistent!==!0&&l.noRouteDismiss!==!0),d=Ft(l,r),{registerTick:h,removeTick:f}=Hi(),{registerTimeout:g}=Yi(),{transitionProps:p,transitionStyle:k}=Wi(l),{localScrollTarget:C,changeScrollEvent:T,unconfigureScrollTarget:D}=Ra(l,z),{anchorEl:V,canShow:P}=Li({showing:a}),{hide:N}=zi({showing:a,canShow:P,handleShow:E,handleHide:O,hideOnRouteChange:o,processOnMount:!0}),{showPortal:q,hidePortal:W,renderPortal:L}=Ui(n,u,F,"menu"),A={anchorEl:V,innerRef:u,onClickOutside(I){if(l.persistent!==!0&&a.value===!0)return N(I),(I.type==="touchstart"||I.target.classList.contains("q-dialog__backdrop"))&&St(I),!0}},M=y.computed(()=>Bn(l.anchor||(l.cover===!0?"center middle":"bottom start"),r.lang.rtl)),_=y.computed(()=>l.cover===!0?M.value:Bn(l.self||"top start",r.lang.rtl)),v=y.computed(()=>(l.square===!0?" q-menu--square":"")+(d.value===!0?" q-menu--dark q-dark":"")),x=y.computed(()=>l.autoClose===!0?{onClick:U}:{}),w=y.computed(()=>a.value===!0&&l.persistent!==!0);y.watch(w,I=>{I===!0?(Fa(j),Pa(A)):(An(j),Tn(A))});function S(){Jr(()=>{let I=u.value;I&&I.contains(document.activeElement)!==!0&&(I=I.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||I.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||I.querySelector("[autofocus], [data-autofocus]")||I,I.focus({preventScroll:!0}))})}function E(I){if(m=l.noRefocus===!1?document.activeElement:null,Da(Q),q(),z(),c=void 0,I!==void 0&&(l.touchPosition||l.contextMenu)){const H=Yr(I);if(H.left!==void 0){const{top:K,left:ee}=V.value.getBoundingClientRect();c={left:H.left-ee,top:H.top-K}}}i===void 0&&(i=y.watch(()=>r.screen.width+"|"+r.screen.height+"|"+l.self+"|"+l.anchor+"|"+r.lang.rtl,Y)),l.noFocus!==!0&&document.activeElement.blur(),h(()=>{Y(),l.noFocus!==!0&&S()}),g(()=>{r.platform.is.ios===!0&&(s=l.autoClose,u.value.click()),Y(),q(!0),t("show",I)},l.transitionDuration)}function O(I){f(),W(),R(!0),m!==null&&(I===void 0||I.qClickOutside!==!0)&&(((I?.type.indexOf("key")===0?m.closest('[tabindex]:not([tabindex^="-"])'):void 0)||m).focus(),m=null),g(()=>{W(!0),t("hide",I)},l.transitionDuration)}function R(I){c=void 0,i!==void 0&&(i(),i=void 0),(I===!0||a.value===!0)&&(bi(Q),D(),Tn(A),An(j)),I!==!0&&(m=null)}function z(){(V.value!==null||l.scrollTarget!==void 0)&&(C.value=Vn(V.value,l.scrollTarget),T(C.value,Y))}function U(I){s!==!0?(Ia(e,I),t("click",I)):s=!1}function Q(I){w.value===!0&&l.noFocus!==!0&&ga(u.value,I.target)!==!0&&S()}function j(I){l.noEscDismiss!==!0&&(t("escapeKey"),N(I))}function Y(){Qi({targetEl:u.value,offset:l.offset,anchorEl:V.value,anchorOrigin:M.value,selfOrigin:_.value,absoluteOffset:c,fit:l.fit,cover:l.cover,maxHeight:l.maxHeight,maxWidth:l.maxWidth})}function F(){return y.h(y.Transition,p.value,()=>a.value===!0?y.h("div",{role:"menu",...b,ref:u,tabindex:-1,class:["q-menu q-position-engine scroll"+v.value,b.class],style:[b.style,k.value],...x.value},bt(B.default)):null)}return y.onBeforeUnmount(R),Object.assign(e,{focus:S,updatePosition:Y}),L}});let Zn,un=0;const Mt=new Array(256);for(let l=0;l<256;l++)Mt[l]=(l+256).toString(16).substring(1);const Vl=(()=>{const l=typeof crypto<"u"?crypto:typeof window<"u"?window.crypto||window.msCrypto:void 0;if(l!==void 0){if(l.randomBytes!==void 0)return l.randomBytes;if(l.getRandomValues!==void 0)return B=>{const t=new Uint8Array(B);return l.getRandomValues(t),t}}return B=>{const t=[];for(let b=B;b>0;b--)t.push(Math.floor(Math.random()*256));return t}})(),Io=4096;function yi(){(Zn===void 0||un+16>Io)&&(un=0,Zn=Vl(Io));const l=Array.prototype.slice.call(Zn,un,un+=16);return l[6]=l[6]&15|64,l[8]=l[8]&63|128,Mt[l[0]]+Mt[l[1]]+Mt[l[2]]+Mt[l[3]]+"-"+Mt[l[4]]+Mt[l[5]]+"-"+Mt[l[6]]+Mt[l[7]]+"-"+Mt[l[8]]+Mt[l[9]]+"-"+Mt[l[10]]+Mt[l[11]]+Mt[l[12]]+Mt[l[13]]+Mt[l[14]]+Mt[l[15]]}function ql(l){return l??null}function Oo(l,B){return l??(B===!0?`f_${yi()}`:null)}function zl({getValue:l,required:B=!0}={}){if(or.value===!0){const t=l!==void 0?y.ref(ql(l())):y.ref(null);return B===!0&&t.value===null&&y.onMounted(()=>{t.value=`f_${yi()}`}),l!==void 0&&y.watch(l,b=>{t.value=Oo(b,B)}),t}return l!==void 0?y.computed(()=>Oo(l(),B)):y.ref(`f_${yi()}`)}const Fo=/^on[A-Z]/;function Ul(){const{attrs:l,vnode:B}=y.getCurrentInstance(),t={listeners:y.ref({}),attributes:y.ref({})};function b(){const m={},c={};for(const i in l)i!=="class"&&i!=="style"&&Fo.test(i)===!1&&(m[i]=l[i]);for(const i in B.props)Fo.test(i)===!0&&(c[i]=B.props[i]);t.attributes.value=m,t.listeners.value=c}return y.onBeforeUpdate(b),b(),t}const Wl="_q_",$r="_q_l_",La="_q_pc_",Va="_q_fo_";function Rt(){}function Hl({validate:l,resetValidation:B,requiresQForm:t}){const b=y.inject(Va,!1);if(b!==!1){const{props:m,proxy:c}=y.getCurrentInstance();Object.assign(c,{validate:l,resetValidation:B}),y.watch(()=>m.disable,i=>{i===!0?(typeof B=="function"&&B(),b.unbindComponent(c)):b.bindComponent(c)}),y.onMounted(()=>{m.disable!==!0&&b.bindComponent(c)}),y.onBeforeUnmount(()=>{m.disable!==!0&&b.unbindComponent(c)})}else t===!0&&console.error("Parent QForm not found on useFormChild()!")}const jo=/^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/,Do=/^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/,Po=/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,cn=/^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])\)$/,fn=/^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/,$n={date:l=>/^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(l),time:l=>/^([0-1]?\d|2[0-3]):[0-5]\d$/.test(l),fulltime:l=>/^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(l),timeOrFulltime:l=>/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/.test(l),email:l=>/^(([^<>()\[\]\\.,;:\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(l),hexColor:l=>jo.test(l),hexaColor:l=>Do.test(l),hexOrHexaColor:l=>Po.test(l),rgbColor:l=>cn.test(l),rgbaColor:l=>fn.test(l),rgbOrRgbaColor:l=>cn.test(l)||fn.test(l),hexOrRgbColor:l=>jo.test(l)||cn.test(l),hexaOrRgbaColor:l=>Do.test(l)||fn.test(l),anyColor:l=>Po.test(l)||cn.test(l)||fn.test(l)},Yl=[!0,!1,"ondemand"],Ql={modelValue:{},error:{type:Boolean,default:null},errorMessage:String,noErrorIcon:Boolean,rules:Array,reactiveRules:Boolean,lazyRules:{type:[Boolean,String],default:!1,validator:l=>Yl.includes(l)}};function Kl(l,B){const{props:t,proxy:b}=y.getCurrentInstance(),m=y.ref(!1),c=y.ref(null),i=y.ref(!1);Hl({validate:h,resetValidation:d});let s=0,n;const e=y.computed(()=>t.rules!==void 0&&t.rules!==null&&t.rules.length!==0),r=y.computed(()=>t.disable!==!0&&e.value===!0&&B.value===!1),u=y.computed(()=>t.error===!0||m.value===!0),a=y.computed(()=>typeof t.errorMessage=="string"&&t.errorMessage.length!==0?t.errorMessage:c.value);y.watch(()=>t.modelValue,()=>{i.value=!0,r.value===!0&&t.lazyRules===!1&&f()});function o(){t.lazyRules!=="ondemand"&&r.value===!0&&i.value===!0&&f()}y.watch(()=>t.reactiveRules,g=>{g===!0?n===void 0&&(n=y.watch(()=>t.rules,o,{immediate:!0,deep:!0})):n!==void 0&&(n(),n=void 0)},{immediate:!0}),y.watch(()=>t.lazyRules,o),y.watch(l,g=>{g===!0?i.value=!0:r.value===!0&&t.lazyRules!=="ondemand"&&f()});function d(){s++,B.value=!1,i.value=!1,m.value=!1,c.value=null,f.cancel()}function h(g=t.modelValue){if(t.disable===!0||e.value===!1)return!0;const p=++s,k=B.value!==!0?()=>{i.value=!0}:()=>{},C=(D,V)=>{D===!0&&k(),m.value=D,c.value=V||null,B.value=!1},T=[];for(let D=0;D<t.rules.length;D++){const V=t.rules[D];let P;if(typeof V=="function"?P=V(g,$n):typeof V=="string"&&$n[V]!==void 0&&(P=$n[V](g)),P===!1||typeof P=="string")return C(!0,P),!1;P!==!0&&P!==void 0&&T.push(P)}return T.length===0?(C(!1),!0):(B.value=!0,Promise.all(T).then(D=>{if(D===void 0||Array.isArray(D)===!1||D.length===0)return p===s&&C(!1),!0;const V=D.find(P=>P===!1||typeof P=="string");return p===s&&C(V!==void 0,V),V===void 0},D=>(p===s&&(console.error(D),C(!0)),!1)))}const f=Ni(h,0);return y.onBeforeUnmount(()=>{n?.(),f.cancel()}),Object.assign(b,{resetValidation:d,validate:h}),Lt(b,"hasError",()=>u.value),{isDirtyModel:i,hasRules:e,hasError:u,errorMessage:a,validate:h,resetValidation:d}}function Kr(l){return l!=null&&(""+l).length!==0}const Xl={...Ot,...Ql,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},qn={...Xl,maxlength:[Number,String]},Ki=["update:modelValue","clear","focus","blur"];function Xi({requiredForAttr:l=!0,tagProp:B,changeEvent:t=!1}={}){const{props:b,proxy:m}=y.getCurrentInstance(),c=Ft(b,m.$q),i=zl({required:l,getValue:()=>b.for});return{requiredForAttr:l,changeEvent:t,tag:B===!0?y.computed(()=>b.tag):{value:"label"},isDark:c,editable:y.computed(()=>b.disable!==!0&&b.readonly!==!0),innerLoading:y.ref(!1),focused:y.ref(!1),hasPopupOpen:!1,splitAttrs:Ul(),targetUid:i,rootRef:y.ref(null),targetRef:y.ref(null),controlRef:y.ref(null)}}function Gi(l){const{props:B,emit:t,slots:b,attrs:m,proxy:c}=y.getCurrentInstance(),{$q:i}=c;let s=null;l.hasValue===void 0&&(l.hasValue=y.computed(()=>Kr(B.modelValue))),l.emitValue===void 0&&(l.emitValue=w=>{t("update:modelValue",w)}),l.controlEvents===void 0&&(l.controlEvents={onFocusin:N,onFocusout:q}),Object.assign(l,{clearValue:W,onControlFocusin:N,onControlFocusout:q,focus:V}),l.computedCounter===void 0&&(l.computedCounter=y.computed(()=>{if(B.counter!==!1){const w=typeof B.modelValue=="string"||typeof B.modelValue=="number"?(""+B.modelValue).length:Array.isArray(B.modelValue)===!0?B.modelValue.length:0,S=B.maxlength!==void 0?B.maxlength:B.maxValues;return w+(S!==void 0?" / "+S:"")}}));const{isDirtyModel:n,hasRules:e,hasError:r,errorMessage:u,resetValidation:a}=Kl(l.focused,l.innerLoading),o=l.floatingLabel!==void 0?y.computed(()=>B.stackLabel===!0||l.focused.value===!0||l.floatingLabel.value===!0):y.computed(()=>B.stackLabel===!0||l.focused.value===!0||l.hasValue.value===!0),d=y.computed(()=>B.bottomSlots===!0||B.hint!==void 0||e.value===!0||B.counter===!0||B.error!==null),h=y.computed(()=>B.filled===!0?"filled":B.outlined===!0?"outlined":B.borderless===!0?"borderless":B.standout?"standout":"standard"),f=y.computed(()=>`q-field row no-wrap items-start q-field--${h.value}`+(l.fieldClass!==void 0?` ${l.fieldClass.value}`:"")+(B.rounded===!0?" q-field--rounded":"")+(B.square===!0?" q-field--square":"")+(o.value===!0?" q-field--float":"")+(p.value===!0?" q-field--labeled":"")+(B.dense===!0?" q-field--dense":"")+(B.itemAligned===!0?" q-field--item-aligned q-item-type":"")+(l.isDark.value===!0?" q-field--dark":"")+(l.getControl===void 0?" q-field--auto-height":"")+(l.focused.value===!0?" q-field--focused":"")+(r.value===!0?" q-field--error":"")+(r.value===!0||l.focused.value===!0?" q-field--highlighted":"")+(B.hideBottomSpace!==!0&&d.value===!0?" q-field--with-bottom":"")+(B.disable===!0?" q-field--disabled":B.readonly===!0?" q-field--readonly":"")),g=y.computed(()=>"q-field__control relative-position row no-wrap"+(B.bgColor!==void 0?` bg-${B.bgColor}`:"")+(r.value===!0?" text-negative":typeof B.standout=="string"&&B.standout.length!==0&&l.focused.value===!0?` ${B.standout}`:B.color!==void 0?` text-${B.color}`:"")),p=y.computed(()=>B.labelSlot===!0||B.label!==void 0),k=y.computed(()=>"q-field__label no-pointer-events absolute ellipsis"+(B.labelColor!==void 0&&r.value!==!0?` text-${B.labelColor}`:"")),C=y.computed(()=>({id:l.targetUid.value,editable:l.editable.value,focused:l.focused.value,floatingLabel:o.value,modelValue:B.modelValue,emitValue:l.emitValue})),T=y.computed(()=>{const w={};return l.targetUid.value&&(w.for=l.targetUid.value),B.disable===!0&&(w["aria-disabled"]="true"),w});function D(){const w=document.activeElement;let S=l.targetRef?.value;S&&(w===null||w.id!==l.targetUid.value)&&(S.hasAttribute("tabindex")===!0||(S=S.querySelector("[tabindex]")),S!==w&&S?.focus({preventScroll:!0}))}function V(){Jr(D)}function P(){Cl(D);const w=document.activeElement;w!==null&&l.rootRef.value.contains(w)&&w.blur()}function N(w){s!==null&&(clearTimeout(s),s=null),l.editable.value===!0&&l.focused.value===!1&&(l.focused.value=!0,t("focus",w))}function q(w,S){s!==null&&clearTimeout(s),s=setTimeout(()=>{s=null,!(document.hasFocus()===!0&&(l.hasPopupOpen===!0||l.controlRef===void 0||l.controlRef.value===null||l.controlRef.value.contains(document.activeElement)!==!1))&&(l.focused.value===!0&&(l.focused.value=!1,t("blur",w)),S?.())})}function W(w){St(w),i.platform.is.mobile!==!0?(l.targetRef?.value||l.rootRef.value).focus():l.rootRef.value.contains(document.activeElement)===!0&&document.activeElement.blur(),B.type==="file"&&(l.inputRef.value.value=null),t("update:modelValue",null),l.changeEvent===!0&&t("change",null),t("clear",B.modelValue),y.nextTick(()=>{const S=n.value;a(),n.value=S})}function L(w){[13,32].includes(w.keyCode)&&W(w)}function A(){const w=[];return b.prepend!==void 0&&w.push(y.h("div",{class:"q-field__prepend q-field__marginal row no-wrap items-center",key:"prepend",onClick:Bt},b.prepend())),w.push(y.h("div",{class:"q-field__control-container col relative-position row no-wrap q-anchor--skip"},M())),r.value===!0&&B.noErrorIcon===!1&&w.push(v("error",[y.h(gt,{name:i.iconSet.field.error,color:"negative"})])),B.loading===!0||l.innerLoading.value===!0?w.push(v("inner-loading-append",b.loading!==void 0?b.loading():[y.h(ma,{color:B.color})])):B.clearable===!0&&l.hasValue.value===!0&&l.editable.value===!0&&w.push(v("inner-clearable-append",[y.h(gt,{class:"q-field__focusable-action",name:B.clearIcon||i.iconSet.field.clear,tabindex:0,role:"button","aria-hidden":"false","aria-label":i.lang.label.clear,onKeyup:L,onClick:W})])),b.append!==void 0&&w.push(y.h("div",{class:"q-field__append q-field__marginal row no-wrap items-center",key:"append",onClick:Bt},b.append())),l.getInnerAppend!==void 0&&w.push(v("inner-append",l.getInnerAppend())),l.getControlChild!==void 0&&w.push(l.getControlChild()),w}function M(){const w=[];return B.prefix!==void 0&&B.prefix!==null&&w.push(y.h("div",{class:"q-field__prefix no-pointer-events row items-center"},B.prefix)),l.getShadowControl!==void 0&&l.hasShadow.value===!0&&w.push(l.getShadowControl()),l.getControl!==void 0?w.push(l.getControl()):b.rawControl!==void 0?w.push(b.rawControl()):b.control!==void 0&&w.push(y.h("div",{ref:l.targetRef,class:"q-field__native row",tabindex:-1,...l.splitAttrs.attributes.value,"data-autofocus":B.autofocus===!0||void 0},b.control(C.value))),p.value===!0&&w.push(y.h("div",{class:k.value},bt(b.label,B.label))),B.suffix!==void 0&&B.suffix!==null&&w.push(y.h("div",{class:"q-field__suffix no-pointer-events row items-center"},B.suffix)),w.concat(bt(b.default))}function _(){let w,S;r.value===!0?u.value!==null?(w=[y.h("div",{role:"alert"},u.value)],S=`q--slot-error-${u.value}`):(w=bt(b.error),S="q--slot-error"):(B.hideHint!==!0||l.focused.value===!0)&&(B.hint!==void 0?(w=[y.h("div",B.hint)],S=`q--slot-hint-${B.hint}`):(w=bt(b.hint),S="q--slot-hint"));const E=B.counter===!0||b.counter!==void 0;if(B.hideBottomSpace===!0&&E===!1&&w===void 0)return;const O=y.h("div",{key:S,class:"q-field__messages col"},w);return y.h("div",{class:"q-field__bottom row items-start q-field__bottom--"+(B.hideBottomSpace!==!0?"animated":"stale"),onClick:Bt},[B.hideBottomSpace===!0?O:y.h(y.Transition,{name:"q-transition--field-message"},()=>O),E===!0?y.h("div",{class:"q-field__counter"},b.counter!==void 0?b.counter():l.computedCounter.value):null])}function v(w,S){return S===null?null:y.h("div",{key:w,class:"q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"},S)}let x=!1;return y.onDeactivated(()=>{x=!0}),y.onActivated(()=>{x===!0&&B.autofocus===!0&&c.focus()}),B.autofocus===!0&&y.onMounted(()=>{c.focus()}),y.onBeforeUnmount(()=>{s!==null&&clearTimeout(s)}),Object.assign(c,{focus:V,blur:P}),function(){const S=l.getControl===void 0&&b.control===void 0?{...l.splitAttrs.attributes.value,"data-autofocus":B.autofocus===!0||void 0,...T.value}:T.value;return y.h(l.tag.value,{ref:l.rootRef,class:[f.value,m.class],style:m.style,...S},[b.before!==void 0?y.h("div",{class:"q-field__before q-field__marginal row no-wrap items-center",onClick:Bt},b.before()):null,y.h("div",{class:"q-field__inner relative-position col self-stretch"},[y.h("div",{ref:l.controlRef,class:g.value,tabindex:-1,...l.controlEvents},A()),d.value===!0?_():null]),b.after!==void 0?y.h("div",{class:"q-field__after q-field__marginal row no-wrap items-center",onClick:Bt},b.after()):null])}}const Gl=$e({name:"QField",inheritAttrs:!1,props:{...qn,tag:{type:String,default:"label"}},emits:Ki,setup(){return Gi(Xi({tagProp:!0}))}}),Jl={xs:8,sm:10,md:14,lg:20,xl:24},qa=$e({name:"QChip",props:{...Ot,...Or,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(l,{slots:B,emit:t}){const{proxy:{$q:b}}=y.getCurrentInstance(),m=Ft(l,b),c=Fr(l,Jl),i=y.computed(()=>l.selected===!0||l.icon!==void 0),s=y.computed(()=>l.selected===!0?l.iconSelected||b.iconSet.chip.selected:l.icon),n=y.computed(()=>l.iconRemove||b.iconSet.chip.remove),e=y.computed(()=>l.disable===!1&&(l.clickable===!0||l.selected!==null)),r=y.computed(()=>{const f=l.outline===!0&&l.color||l.textColor;return"q-chip row inline no-wrap items-center"+(l.outline===!1&&l.color!==void 0?` bg-${l.color}`:"")+(f?` text-${f} q-chip--colored`:"")+(l.disable===!0?" disabled":"")+(l.dense===!0?" q-chip--dense":"")+(l.outline===!0?" q-chip--outline":"")+(l.selected===!0?" q-chip--selected":"")+(e.value===!0?" q-chip--clickable cursor-pointer non-selectable q-hoverable":"")+(l.square===!0?" q-chip--square":"")+(m.value===!0?" q-chip--dark q-dark":"")}),u=y.computed(()=>{const f=l.disable===!0?{tabindex:-1,"aria-disabled":"true"}:{tabindex:l.tabindex||0},g={...f,role:"button","aria-hidden":"false","aria-label":l.removeAriaLabel||b.lang.label.remove};return{chip:f,remove:g}});function a(f){f.keyCode===13&&o(f)}function o(f){l.disable||(t("update:selected",!l.selected),t("click",f))}function d(f){(f.keyCode===void 0||f.keyCode===13)&&(St(f),l.disable===!1&&(t("update:modelValue",!1),t("remove")))}function h(){const f=[];e.value===!0&&f.push(y.h("div",{class:"q-focus-helper"})),i.value===!0&&f.push(y.h(gt,{class:"q-chip__icon q-chip__icon--left",name:s.value}));const g=l.label!==void 0?[y.h("div",{class:"ellipsis"},[l.label])]:void 0;return f.push(y.h("div",{class:"q-chip__content col row no-wrap items-center q-anchor--skip"},sa(B.default,g))),l.iconRight&&f.push(y.h(gt,{class:"q-chip__icon q-chip__icon--right",name:l.iconRight})),l.removable===!0&&f.push(y.h(gt,{class:"q-chip__icon q-chip__icon--remove cursor-pointer",name:n.value,...u.value.remove,onClick:d,onKeyup:d})),f}return()=>{if(l.modelValue===!1)return;const f={class:r.value,style:c.value};return e.value===!0&&Object.assign(f,u.value.chip,{onClick:o,onKeyup:a}),As("div",f,h(),"ripple",l.ripple!==!1&&l.disable!==!0,()=>[[ba,l.ripple]])}}}),Cr=$e({name:"QItem",props:{...Ot,...ha,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(l,{slots:B,emit:t}){const{proxy:{$q:b}}=y.getCurrentInstance(),m=Ft(l,b),{hasLink:c,linkAttrs:i,linkClass:s,linkTag:n,navigateOnClick:e}=Bi(),r=y.ref(null),u=y.ref(null),a=y.computed(()=>l.clickable===!0||c.value===!0||l.tag==="label"),o=y.computed(()=>l.disable!==!0&&a.value===!0),d=y.computed(()=>"q-item q-item-type row no-wrap"+(l.dense===!0?" q-item--dense":"")+(m.value===!0?" q-item--dark":"")+(c.value===!0&&l.active===null?s.value:l.active===!0?` q-item--active${l.activeClass!==void 0?` ${l.activeClass}`:""}`:"")+(l.disable===!0?" disabled":"")+(o.value===!0?" q-item--clickable q-link cursor-pointer "+(l.manualFocus===!0?"q-manual-focusable":"q-focusable q-hoverable")+(l.focused===!0?" q-manual-focusable--focused":""):"")),h=y.computed(()=>l.insetLevel===void 0?null:{["padding"+(b.lang.rtl===!0?"Right":"Left")]:16+l.insetLevel*56+"px"});function f(k){o.value===!0&&(u.value!==null&&k.qAvoidFocus!==!0&&(k.qKeyEvent!==!0&&document.activeElement===r.value?u.value.focus():document.activeElement===u.value&&r.value.focus()),e(k))}function g(k){if(o.value===!0&&ir(k,[13,32])===!0){St(k),k.qKeyEvent=!0;const C=new MouseEvent("click",k);C.qKeyEvent=!0,r.value.dispatchEvent(C)}t("keyup",k)}function p(){const k=Mi(B.default,[]);return o.value===!0&&k.unshift(y.h("div",{class:"q-focus-helper",tabindex:-1,ref:u})),k}return()=>{const k={ref:r,class:d.value,style:h.value,role:"listitem",onClick:f,onKeyup:g};return o.value===!0?(k.tabindex=l.tabindex||"0",Object.assign(k,i.value)):a.value===!0&&(k["aria-disabled"]="true"),y.h(n.value,k,p())}}}),Ar=$e({name:"QItemSection",props:{avatar:Boolean,thumbnail:Boolean,side:Boolean,top:Boolean,noWrap:Boolean},setup(l,{slots:B}){const t=y.computed(()=>`q-item__section column q-item__section--${l.avatar===!0||l.side===!0||l.thumbnail===!0?"side":"main"}`+(l.top===!0?" q-item__section--top justify-start":" justify-center")+(l.avatar===!0?" q-item__section--avatar":"")+(l.thumbnail===!0?" q-item__section--thumbnail":"")+(l.noWrap===!0?" q-item__section--nowrap":""));return()=>y.h("div",{class:t.value},bt(B.default))}}),wi=$e({name:"QItemLabel",props:{overline:Boolean,caption:Boolean,header:Boolean,lines:[Number,String]},setup(l,{slots:B}){const t=y.computed(()=>parseInt(l.lines,10)),b=y.computed(()=>"q-item__label"+(l.overline===!0?" q-item__label--overline text-overline":"")+(l.caption===!0?" q-item__label--caption text-caption":"")+(l.header===!0?" q-item__label--header":"")+(t.value===1?" ellipsis":"")),m=y.computed(()=>l.lines!==void 0&&t.value>1?{overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":t.value}:null);return()=>y.h("div",{style:m.value,class:b.value},bt(B.default))}});function Zl(l,B,t){function b(){}return y.onBeforeUnmount(()=>{l.value===!0&&void 0}),{removeFromHistory:b,addToHistory(){}}}let Pr=0,ei,ti,Vr,ri=!1,No,Lo,Vo,lr=null;function $l(l){eu(l)&&St(l)}function eu(l){if(l.target===document.body||l.target.classList.contains("q-layout__backdrop"))return!0;const B=Qs(l),t=l.shiftKey&&!l.deltaX,b=!t&&Math.abs(l.deltaX)<=Math.abs(l.deltaY),m=t||b?l.deltaY:l.deltaX;for(let c=0;c<B.length;c++){const i=B[c];if(bl(i,b))return b?m<0&&i.scrollTop===0?!0:m>0&&i.scrollTop+i.clientHeight===i.scrollHeight:m<0&&i.scrollLeft===0?!0:m>0&&i.scrollLeft+i.clientWidth===i.scrollWidth}return!0}function qo(l){l.target===document&&(document.scrollingElement.scrollTop=document.scrollingElement.scrollTop)}function dn(l){ri!==!0&&(ri=!0,requestAnimationFrame(()=>{ri=!1;const{height:B}=l.target,{clientHeight:t,scrollTop:b}=document.scrollingElement;(Vr===void 0||B!==window.innerHeight)&&(Vr=t-B,document.scrollingElement.scrollTop=b),b>Vr&&(document.scrollingElement.scrollTop-=Math.ceil((b-Vr)/8))}))}function zo(l){const B=document.body,t=window.visualViewport!==void 0;if(l==="add"){const{overflowY:b,overflowX:m}=window.getComputedStyle(B);ei=Di(window),ti=ji(window),No=B.style.left,Lo=B.style.top,Vo=window.location.href,B.style.left=`-${ei}px`,B.style.top=`-${ti}px`,m!=="hidden"&&(m==="scroll"||B.scrollWidth>window.innerWidth)&&B.classList.add("q-body--force-scrollbar-x"),b!=="hidden"&&(b==="scroll"||B.scrollHeight>window.innerHeight)&&B.classList.add("q-body--force-scrollbar-y"),B.classList.add("q-body--prevent-scroll"),document.qScrollPrevented=!0,Et.is.ios===!0&&(t===!0?(window.scrollTo(0,0),window.visualViewport.addEventListener("resize",dn,_t.passiveCapture),window.visualViewport.addEventListener("scroll",dn,_t.passiveCapture),window.scrollTo(0,0)):window.addEventListener("scroll",qo,_t.passiveCapture))}Et.is.desktop===!0&&Et.is.mac===!0&&window[`${l}EventListener`]("wheel",$l,_t.notPassive),l==="remove"&&(Et.is.ios===!0&&(t===!0?(window.visualViewport.removeEventListener("resize",dn,_t.passiveCapture),window.visualViewport.removeEventListener("scroll",dn,_t.passiveCapture)):window.removeEventListener("scroll",qo,_t.passiveCapture)),B.classList.remove("q-body--prevent-scroll"),B.classList.remove("q-body--force-scrollbar-x"),B.classList.remove("q-body--force-scrollbar-y"),document.qScrollPrevented=!1,B.style.left=No,B.style.top=Lo,window.location.href===Vo&&window.scrollTo(ei,ti),Vr=void 0)}function tu(l){let B="add";if(l===!0){if(Pr++,lr!==null){clearTimeout(lr),lr=null;return}if(Pr>1)return}else{if(Pr===0||(Pr--,Pr>0))return;if(B="remove",Et.is.ios===!0&&Et.is.nativeMobile===!0){lr!==null&&clearTimeout(lr),lr=setTimeout(()=>{zo(B),lr=null},100);return}}zo(B)}function ru(){let l;return{preventBodyScroll(B){B!==l&&(l!==void 0||B===!0)&&(l=B,tu(B))}}}let hn=0;const nu={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"},Uo={standard:["scale","scale"],top:["slide-down","slide-up"],bottom:["slide-up","slide-down"],right:["slide-left","slide-right"],left:["slide-right","slide-left"]},zn=$e({name:"QDialog",inheritAttrs:!1,props:{...Vi,...Wr,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:l=>["standard","top","bottom","left","right"].includes(l)}},emits:[...qi,"shake","click","escapeKey"],setup(l,{slots:B,emit:t,attrs:b}){const m=y.getCurrentInstance(),c=y.ref(null),i=y.ref(!1),s=y.ref(!1);let n=null,e=null,r,u;const a=y.computed(()=>l.persistent!==!0&&l.noRouteDismiss!==!0&&l.seamless!==!0),{preventBodyScroll:o}=ru(),{registerTimeout:d}=Yi(),{registerTick:h,removeTick:f}=Hi(),{transitionProps:g,transitionStyle:p}=Wi(l,()=>Uo[l.position][0],()=>Uo[l.position][1]),k=y.computed(()=>p.value+(l.backdropFilter!==void 0?`;backdrop-filter:${l.backdropFilter};-webkit-backdrop-filter:${l.backdropFilter}`:"")),{showPortal:C,hidePortal:T,portalIsAccessible:D,renderPortal:V}=Ui(m,c,z,"dialog"),{hide:P}=zi({showing:i,hideOnRouteChange:a,handleShow:A,handleHide:M,processOnMount:!0});Zl(i);const N=y.computed(()=>`q-dialog__inner flex no-pointer-events q-dialog__inner--${l.maximized===!0?"maximized":"minimized"} q-dialog__inner--${l.position} ${nu[l.position]}`+(s.value===!0?" q-dialog__inner--animating":"")+(l.fullWidth===!0?" q-dialog__inner--fullwidth":"")+(l.fullHeight===!0?" q-dialog__inner--fullheight":"")+(l.square===!0?" q-dialog__inner--square":"")),q=y.computed(()=>i.value===!0&&l.seamless!==!0),W=y.computed(()=>l.autoClose===!0?{onClick:E}:{}),L=y.computed(()=>[`q-dialog fullscreen no-pointer-events q-dialog--${q.value===!0?"modal":"seamless"}`,b.class]);y.watch(()=>l.maximized,U=>{i.value===!0&&S(U)}),y.watch(q,U=>{o(U),U===!0?(Da(R),Fa(x)):(bi(R),An(x))});function A(U){e=l.noRefocus===!1&&document.activeElement!==null?document.activeElement:null,S(l.maximized),C(),s.value=!0,l.noFocus!==!0?(document.activeElement?.blur(),h(_)):f(),d(()=>{if(m.proxy.$q.platform.is.ios===!0){if(l.seamless!==!0&&document.activeElement){const{top:Q,bottom:j}=document.activeElement.getBoundingClientRect(),{innerHeight:Y}=window,F=window.visualViewport!==void 0?window.visualViewport.height:Y;Q>0&&j>F/2&&(document.scrollingElement.scrollTop=Math.min(document.scrollingElement.scrollHeight-F,j>=Y?1/0:Math.ceil(document.scrollingElement.scrollTop+j-F/2))),document.activeElement.scrollIntoView()}u=!0,c.value.click(),u=!1}C(!0),s.value=!1,t("show",U)},l.transitionDuration)}function M(U){f(),w(!0),s.value=!0,T(),e!==null&&(((U?.type.indexOf("key")===0?e.closest('[tabindex]:not([tabindex^="-"])'):void 0)||e).focus(),e=null),d(()=>{T(!0),s.value=!1,t("hide",U)},l.transitionDuration)}function _(U){Jr(()=>{let Q=c.value;if(Q!==null){if(U!==void 0){const j=Q.querySelector(U);if(j!==null){j.focus({preventScroll:!0});return}}Q.contains(document.activeElement)!==!0&&(Q=Q.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||Q.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||Q.querySelector("[autofocus], [data-autofocus]")||Q,Q.focus({preventScroll:!0}))}})}function v(U){U&&typeof U.focus=="function"?U.focus({preventScroll:!0}):_(),t("shake");const Q=c.value;Q!==null&&(Q.classList.remove("q-animate--scale"),Q.classList.add("q-animate--scale"),n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,c.value!==null&&(Q.classList.remove("q-animate--scale"),_())},170))}function x(){l.seamless!==!0&&(l.persistent===!0||l.noEscDismiss===!0?l.maximized!==!0&&l.noShake!==!0&&v():(t("escapeKey"),P()))}function w(U){n!==null&&(clearTimeout(n),n=null),(U===!0||i.value===!0)&&(S(!1),l.seamless!==!0&&(o(!1),bi(R),An(x))),U!==!0&&(e=null)}function S(U){U===!0?r!==!0&&(hn<1&&document.body.classList.add("q-body--dialog"),hn++,r=!0):r===!0&&(hn<2&&document.body.classList.remove("q-body--dialog"),hn--,r=!1)}function E(U){u!==!0&&(P(U),t("click",U))}function O(U){l.persistent!==!0&&l.noBackdropDismiss!==!0?P(U):l.noShake!==!0&&v()}function R(U){l.allowFocusOutside!==!0&&D.value===!0&&ga(c.value,U.target)!==!0&&_('[tabindex]:not([tabindex="-1"])')}Object.assign(m.proxy,{focus:_,shake:v,__updateRefocusTarget(U){e=U||null}}),y.onBeforeUnmount(w);function z(){return y.h("div",{role:"dialog","aria-modal":q.value===!0?"true":"false",...b,class:L.value},[y.h(y.Transition,{name:"q-transition--fade",appear:!0},()=>q.value===!0?y.h("div",{class:"q-dialog__backdrop fixed-full",style:k.value,"aria-hidden":"true",tabindex:-1,onClick:O}):null),y.h(y.Transition,g.value,()=>i.value===!0?y.h("div",{ref:c,class:N.value,style:p.value,tabindex:-1,...W.value},bt(B.default)):null)])}return V}});let In=!1;{const l=document.createElement("div");l.setAttribute("dir","rtl"),Object.assign(l.style,{width:"1px",height:"1px",overflow:"auto"});const B=document.createElement("div");Object.assign(B.style,{width:"1000px",height:"1px"}),document.body.appendChild(l),l.appendChild(B),l.scrollLeft=-1e3,In=l.scrollLeft>=0,l.remove()}const Ut=1e3,iu=["start","center","end","start-force","center-force","end-force"],za=Array.prototype.filter,ou=window.getComputedStyle(document.body).overflowAnchor===void 0?Pn:function(l,B){l!==null&&(l._qOverflowAnimationFrame!==void 0&&cancelAnimationFrame(l._qOverflowAnimationFrame),l._qOverflowAnimationFrame=requestAnimationFrame(()=>{if(l===null)return;l._qOverflowAnimationFrame=void 0;const t=l.children||[];za.call(t,m=>m.dataset&&m.dataset.qVsAnchor!==void 0).forEach(m=>{delete m.dataset.qVsAnchor});const b=t[B];b?.dataset&&(b.dataset.qVsAnchor="")}))};function Tr(l,B){return l+B}function ni(l,B,t,b,m,c,i,s){const n=l===window?document.scrollingElement||document.documentElement:l,e=m===!0?"offsetWidth":"offsetHeight",r={scrollStart:0,scrollViewSize:-i-s,scrollMaxSize:0,offsetStart:-i,offsetEnd:-s};if(m===!0?(l===window?(r.scrollStart=window.pageXOffset||window.scrollX||document.body.scrollLeft||0,r.scrollViewSize+=document.documentElement.clientWidth):(r.scrollStart=n.scrollLeft,r.scrollViewSize+=n.clientWidth),r.scrollMaxSize=n.scrollWidth,c===!0&&(r.scrollStart=(In===!0?r.scrollMaxSize-r.scrollViewSize:0)-r.scrollStart)):(l===window?(r.scrollStart=window.pageYOffset||window.scrollY||document.body.scrollTop||0,r.scrollViewSize+=document.documentElement.clientHeight):(r.scrollStart=n.scrollTop,r.scrollViewSize+=n.clientHeight),r.scrollMaxSize=n.scrollHeight),t!==null)for(let u=t.previousElementSibling;u!==null;u=u.previousElementSibling)u.classList.contains("q-virtual-scroll--skip")===!1&&(r.offsetStart+=u[e]);if(b!==null)for(let u=b.nextElementSibling;u!==null;u=u.nextElementSibling)u.classList.contains("q-virtual-scroll--skip")===!1&&(r.offsetEnd+=u[e]);if(B!==l){const u=n.getBoundingClientRect(),a=B.getBoundingClientRect();m===!0?(r.offsetStart+=a.left-u.left,r.offsetEnd-=a.width):(r.offsetStart+=a.top-u.top,r.offsetEnd-=a.height),l!==window&&(r.offsetStart+=r.scrollStart),r.offsetEnd+=r.scrollMaxSize-r.offsetStart}return r}function Wo(l,B,t,b){B==="end"&&(B=(l===window?document.body:l)[t===!0?"scrollWidth":"scrollHeight"]),l===window?t===!0?(b===!0&&(B=(In===!0?document.body.scrollWidth-document.documentElement.clientWidth:0)-B),window.scrollTo(B,window.pageYOffset||window.scrollY||document.body.scrollTop||0)):window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,B):t===!0?(b===!0&&(B=(In===!0?l.scrollWidth-l.offsetWidth:0)-B),l.scrollLeft=B):l.scrollTop=B}function Nr(l,B,t,b){if(t>=b)return 0;const m=B.length,c=Math.floor(t/Ut),i=Math.floor((b-1)/Ut)+1;let s=l.slice(c,i).reduce(Tr,0);return t%Ut!==0&&(s-=B.slice(c*Ut,t).reduce(Tr,0)),b%Ut!==0&&b!==m&&(s-=B.slice(b,i*Ut).reduce(Tr,0)),s}const Ua={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]},Wa=Object.keys(Ua),xi={virtualScrollHorizontal:Boolean,onVirtualScroll:Function,...Ua};function Ha({virtualScrollLength:l,getVirtualScrollTarget:B,getVirtualScrollEl:t,virtualScrollItemSizeComputed:b}){const m=y.getCurrentInstance(),{props:c,emit:i,proxy:s}=m,{$q:n}=s;let e,r,u,a=[],o;const d=y.ref(0),h=y.ref(0),f=y.ref({}),g=y.ref(null),p=y.ref(null),k=y.ref(null),C=y.ref({from:0,to:0}),T=y.computed(()=>c.tableColspan!==void 0?c.tableColspan:100);b===void 0&&(b=y.computed(()=>c.virtualScrollItemSize));const D=y.computed(()=>b.value+";"+c.virtualScrollHorizontal),V=y.computed(()=>D.value+";"+c.virtualScrollSliceRatioBefore+";"+c.virtualScrollSliceRatioAfter);y.watch(V,()=>{v()}),y.watch(D,P);function P(){_(r,!0)}function N(O){_(O===void 0?r:O)}function q(O,R){const z=B();if(z==null||z.nodeType===8)return;const U=ni(z,t(),g.value,p.value,c.virtualScrollHorizontal,n.lang.rtl,c.virtualScrollStickySizeStart,c.virtualScrollStickySizeEnd);u!==U.scrollViewSize&&v(U.scrollViewSize),L(z,U,Math.min(l.value-1,Math.max(0,parseInt(O,10)||0)),0,iu.indexOf(R)!==-1?R:r!==-1&&O>r?"end":"start")}function W(){const O=B();if(O==null||O.nodeType===8)return;const R=ni(O,t(),g.value,p.value,c.virtualScrollHorizontal,n.lang.rtl,c.virtualScrollStickySizeStart,c.virtualScrollStickySizeEnd),z=l.value-1,U=R.scrollMaxSize-R.offsetStart-R.offsetEnd-h.value;if(e===R.scrollStart)return;if(R.scrollMaxSize<=0){L(O,R,0,0);return}u!==R.scrollViewSize&&v(R.scrollViewSize),A(C.value.from);const Q=Math.floor(R.scrollMaxSize-Math.max(R.scrollViewSize,R.offsetEnd)-Math.min(o[z],R.scrollViewSize/2));if(Q>0&&Math.ceil(R.scrollStart)>=Q){L(O,R,z,R.scrollMaxSize-R.offsetEnd-a.reduce(Tr,0));return}let j=0,Y=R.scrollStart-R.offsetStart,F=Y;if(Y<=U&&Y+R.scrollViewSize>=d.value)Y-=d.value,j=C.value.from,F=Y;else for(let I=0;Y>=a[I]&&j<z;I++)Y-=a[I],j+=Ut;for(;Y>0&&j<z;)Y-=o[j],Y>-R.scrollViewSize?(j++,F=Y):F=o[j]+Y;L(O,R,j,F)}function L(O,R,z,U,Q){const j=typeof Q=="string"&&Q.indexOf("-force")!==-1,Y=j===!0?Q.replace("-force",""):Q,F=Y!==void 0?Y:"start";let I=Math.max(0,z-f.value[F]),H=I+f.value.total;H>l.value&&(H=l.value,I=Math.max(0,H-f.value.total)),e=R.scrollStart;const K=I!==C.value.from||H!==C.value.to;if(K===!1&&Y===void 0){w(z);return}const{activeElement:ee}=document,G=k.value;K===!0&&G!==null&&G!==ee&&G.contains(ee)===!0&&(G.addEventListener("focusout",M),setTimeout(()=>{G?.removeEventListener("focusout",M)})),ou(G,z-I);const te=Y!==void 0?o.slice(I,z).reduce(Tr,0):0;if(K===!0){const ce=H>=C.value.from&&I<=C.value.to?C.value.to:H;C.value={from:I,to:ce},d.value=Nr(a,o,0,I),h.value=Nr(a,o,H,l.value),requestAnimationFrame(()=>{C.value.to!==H&&e===R.scrollStart&&(C.value={from:C.value.from,to:H},h.value=Nr(a,o,H,l.value))})}requestAnimationFrame(()=>{if(e!==R.scrollStart)return;K===!0&&A(I);const ce=o.slice(I,z).reduce(Tr,0),ue=ce+R.offsetStart+d.value,J=ue+o[z];let ae=ue+U;if(Y!==void 0){const se=ce-te,pe=R.scrollStart+se;ae=j!==!0&&pe<ue&&J<pe+R.scrollViewSize?pe:Y==="end"?J-R.scrollViewSize:ue-(Y==="start"?0:Math.round((R.scrollViewSize-o[z])/2))}e=ae,Wo(O,ae,c.virtualScrollHorizontal,n.lang.rtl),w(z)})}function A(O){const R=k.value;if(R){const z=za.call(R.children,I=>I.classList&&I.classList.contains("q-virtual-scroll--skip")===!1),U=z.length,Q=c.virtualScrollHorizontal===!0?I=>I.getBoundingClientRect().width:I=>I.offsetHeight;let j=O,Y,F;for(let I=0;I<U;){for(Y=Q(z[I]),I++;I<U&&z[I].classList.contains("q-virtual-scroll--with-prev")===!0;)Y+=Q(z[I]),I++;F=Y-o[j],F!==0&&(o[j]+=F,a[Math.floor(j/Ut)]+=F),j++}}}function M(){k.value?.focus()}function _(O,R){const z=1*b.value;(R===!0||Array.isArray(o)===!1)&&(o=[]);const U=o.length;o.length=l.value;for(let j=l.value-1;j>=U;j--)o[j]=z;const Q=Math.floor((l.value-1)/Ut);a=[];for(let j=0;j<=Q;j++){let Y=0;const F=Math.min((j+1)*Ut,l.value);for(let I=j*Ut;I<F;I++)Y+=o[I];a.push(Y)}r=-1,e=void 0,d.value=Nr(a,o,0,C.value.from),h.value=Nr(a,o,C.value.to,l.value),O>=0?(A(C.value.from),y.nextTick(()=>{q(O)})):S()}function v(O){if(O===void 0&&typeof window<"u"){const Y=B();Y!=null&&Y.nodeType!==8&&(O=ni(Y,t(),g.value,p.value,c.virtualScrollHorizontal,n.lang.rtl,c.virtualScrollStickySizeStart,c.virtualScrollStickySizeEnd).scrollViewSize)}u=O;const R=parseFloat(c.virtualScrollSliceRatioBefore)||0,z=parseFloat(c.virtualScrollSliceRatioAfter)||0,U=1+R+z,Q=O===void 0||O<=0?1:Math.ceil(O/b.value),j=Math.max(1,Q,Math.ceil((c.virtualScrollSliceSize>0?c.virtualScrollSliceSize:10)/U));f.value={total:Math.ceil(j*U),start:Math.ceil(j*R),center:Math.ceil(j*(.5+R)),end:Math.ceil(j*(1+R)),view:Q}}function x(O,R){const z=c.virtualScrollHorizontal===!0?"width":"height",U={["--q-virtual-scroll-item-"+z]:b.value+"px"};return[O==="tbody"?y.h(O,{class:"q-virtual-scroll__padding",key:"before",ref:g},[y.h("tr",[y.h("td",{style:{[z]:`${d.value}px`,...U},colspan:T.value})])]):y.h(O,{class:"q-virtual-scroll__padding",key:"before",ref:g,style:{[z]:`${d.value}px`,...U}}),y.h(O,{class:"q-virtual-scroll__content",key:"content",ref:k,tabindex:-1},R.flat()),O==="tbody"?y.h(O,{class:"q-virtual-scroll__padding",key:"after",ref:p},[y.h("tr",[y.h("td",{style:{[z]:`${h.value}px`,...U},colspan:T.value})])]):y.h(O,{class:"q-virtual-scroll__padding",key:"after",ref:p,style:{[z]:`${h.value}px`,...U}})]}function w(O){r!==O&&(c.onVirtualScroll!==void 0&&i("virtualScroll",{index:O,from:C.value.from,to:C.value.to-1,direction:O<r?"decrease":"increase",ref:s}),r=O)}v();const S=Ni(W,n.platform.is.ios===!0?120:35);y.onBeforeMount(()=>{v()});let E=!1;return y.onDeactivated(()=>{E=!0}),y.onActivated(()=>{if(E!==!0)return;const O=B();e!==void 0&&O!==void 0&&O!==null&&O.nodeType!==8?Wo(O,e,c.virtualScrollHorizontal,n.lang.rtl):q(r)}),y.onBeforeUnmount(()=>{S.cancel()}),Object.assign(s,{scrollTo:q,reset:P,refresh:N}),{virtualScrollSliceRange:C,virtualScrollSliceSizeComputed:f,setVirtualScrollSize:v,onVirtualScrollEvt:S,localResetVirtualScroll:_,padVirtualScroll:x,scrollTo:q,reset:P,refresh:N}}const au=/[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/,su=/[\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,lu=/[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/,uu=/[a-z0-9_ -]$/i;function Ya(l){return function(t){if(t.type==="compositionend"||t.type==="change"){if(t.target.qComposing!==!0)return;t.target.qComposing=!1,l(t)}else t.type==="compositionupdate"&&t.target.qComposing!==!0&&typeof t.data=="string"&&(Et.is.firefox===!0?uu.test(t.data)===!1:au.test(t.data)===!0||su.test(t.data)===!0||lu.test(t.data)===!0)===!0&&(t.target.qComposing=!0)}}function rr(l,B){if(l===B)return!0;if(l!==null&&B!==null&&typeof l=="object"&&typeof B=="object"){if(l.constructor!==B.constructor)return!1;let t,b;if(l.constructor===Array){if(t=l.length,t!==B.length)return!1;for(b=t;b--!==0;)if(rr(l[b],B[b])!==!0)return!1;return!0}if(l.constructor===Map){if(l.size!==B.size)return!1;let c=l.entries();for(b=c.next();b.done!==!0;){if(B.has(b.value[0])!==!0)return!1;b=c.next()}for(c=l.entries(),b=c.next();b.done!==!0;){if(rr(b.value[1],B.get(b.value[0]))!==!0)return!1;b=c.next()}return!0}if(l.constructor===Set){if(l.size!==B.size)return!1;const c=l.entries();for(b=c.next();b.done!==!0;){if(B.has(b.value[0])!==!0)return!1;b=c.next()}return!0}if(l.buffer!=null&&l.buffer.constructor===ArrayBuffer){if(t=l.length,t!==B.length)return!1;for(b=t;b--!==0;)if(l[b]!==B[b])return!1;return!0}if(l.constructor===RegExp)return l.source===B.source&&l.flags===B.flags;if(l.valueOf!==Object.prototype.valueOf)return l.valueOf()===B.valueOf();if(l.toString!==Object.prototype.toString)return l.toString()===B.toString();const m=Object.keys(l).filter(c=>l[c]!==void 0);if(t=m.length,t!==Object.keys(B).filter(c=>B[c]!==void 0).length)return!1;for(b=t;b--!==0;){const c=m[b];if(rr(l[c],B[c])!==!0)return!1}return!0}return l!==l&&B!==B}function Qa(l){return l!==null&&typeof l=="object"&&Array.isArray(l)!==!0}function On(l){return Object.prototype.toString.call(l)==="[object Date]"}function Si(l){return typeof l=="number"&&isFinite(l)}const Ho=l=>["add","add-unique","toggle"].includes(l),cu=".*+?^${}()|[]\\",fu=Object.keys(qn);function ii(l,B){if(typeof l=="function")return l;const t=l!==void 0?l:B;return b=>b!==null&&typeof b=="object"&&t in b?b[t]:b}const Un=$e({name:"QSelect",inheritAttrs:!1,props:{...xi,...Nn,...qn,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:Ho},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:l=>["default","menu","dialog"].includes(l),default:"default"},virtualScrollItemSize:xi.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...Ki,"add","remove","inputValue","keyup","keypress","keydown","popupShow","popupHide","filterAbort"],setup(l,{slots:B,emit:t}){const{proxy:b}=y.getCurrentInstance(),{$q:m}=b,c=y.ref(!1),i=y.ref(!1),s=y.ref(-1),n=y.ref(""),e=y.ref(!1),r=y.ref(!1);let u=null,a=null,o,d,h,f=null,g,p,k,C;const T=y.ref(null),D=y.ref(null),V=y.ref(null),P=y.ref(null),N=y.ref(null),q=ya(l),W=Ya(me),L=y.computed(()=>Array.isArray(l.options)?l.options.length:0),A=y.computed(()=>l.virtualScrollItemSize===void 0?l.optionsDense===!0?24:48:l.virtualScrollItemSize),{virtualScrollSliceRange:M,virtualScrollSliceSizeComputed:_,localResetVirtualScroll:v,padVirtualScroll:x,onVirtualScrollEvt:w,scrollTo:S,setVirtualScrollSize:E}=Ha({virtualScrollLength:L,getVirtualScrollTarget:nt,getVirtualScrollEl:He,virtualScrollItemSizeComputed:A}),O=Xi(),R=y.computed(()=>{const fe=l.mapOptions===!0&&l.multiple!==!0,je=l.modelValue!==void 0&&(l.modelValue!==null||fe===!0)?l.multiple===!0&&Array.isArray(l.modelValue)?l.modelValue:[l.modelValue]:[];if(l.mapOptions===!0&&Array.isArray(l.options)===!0){const Z=l.mapOptions===!0&&o!==void 0?o:[],he=je.map(ye=>Fe(ye,Z));return l.modelValue===null&&fe===!0?he.filter(ye=>ye!==null):he}return je}),z=y.computed(()=>{const fe={};return fu.forEach(je=>{const Z=l[je];Z!==void 0&&(fe[je]=Z)}),fe}),U=y.computed(()=>l.optionsDark===null?O.isDark.value:l.optionsDark),Q=y.computed(()=>Kr(R.value)),j=y.computed(()=>{let fe="q-field__input q-placeholder col";return l.hideSelected===!0||R.value.length===0?[fe,l.inputClass]:(fe+=" q-field__input--padding",l.inputClass===void 0?fe:[fe,l.inputClass])}),Y=y.computed(()=>(l.virtualScrollHorizontal===!0?"q-virtual-scroll--horizontal":"")+(l.popupContentClass?" "+l.popupContentClass:"")),F=y.computed(()=>L.value===0),I=y.computed(()=>R.value.map(fe=>ie.value(fe)).join(", ")),H=y.computed(()=>l.displayValue!==void 0?l.displayValue:I.value),K=y.computed(()=>l.optionsHtml===!0?()=>!0:fe=>fe?.html===!0),ee=y.computed(()=>l.displayValueHtml===!0||l.displayValue===void 0&&(l.optionsHtml===!0||R.value.some(K.value))),G=y.computed(()=>O.focused.value===!0?l.tabindex:-1),te=y.computed(()=>{const fe={tabindex:l.tabindex,role:"combobox","aria-label":l.label,"aria-readonly":l.readonly===!0?"true":"false","aria-autocomplete":l.useInput===!0?"list":"none","aria-expanded":c.value===!0?"true":"false","aria-controls":`${O.targetUid.value}_lb`};return s.value>=0&&(fe["aria-activedescendant"]=`${O.targetUid.value}_${s.value}`),fe}),ce=y.computed(()=>({id:`${O.targetUid.value}_lb`,role:"listbox","aria-multiselectable":l.multiple===!0?"true":"false"})),ue=y.computed(()=>R.value.map((fe,je)=>({index:je,opt:fe,html:K.value(fe),selected:!0,removeAtIndex:Te,toggleOption:Ne,tabindex:G.value}))),J=y.computed(()=>{if(L.value===0)return[];const{from:fe,to:je}=M.value;return l.options.slice(fe,je).map((Z,he)=>{const ye=oe.value(Z)===!0,we=ke(Z)===!0,Pe=fe+he,Se={clickable:!0,active:we,activeClass:pe.value,manualFocus:!0,focused:!1,disable:ye,tabindex:-1,dense:l.optionsDense,dark:U.value,role:"option","aria-selected":we===!0?"true":"false",id:`${O.targetUid.value}_${Pe}`,onClick:()=>{Ne(Z)}};return ye!==!0&&(s.value===Pe&&(Se.focused=!0),m.platform.is.desktop===!0&&(Se.onMousemove=()=>{c.value===!0&&Le(Pe)})),{index:Pe,opt:Z,html:K.value(Z),label:ie.value(Z),selected:Se.active,focused:Se.focused,toggleOption:Ne,setOptionIndex:Le,itemProps:Se}})}),ae=y.computed(()=>l.dropdownIcon!==void 0?l.dropdownIcon:m.iconSet.arrow.dropdown),se=y.computed(()=>l.optionsCover===!1&&l.outlined!==!0&&l.standout!==!0&&l.borderless!==!0&&l.rounded!==!0),pe=y.computed(()=>l.optionsSelectedClass!==void 0?l.optionsSelectedClass:l.color!==void 0?`text-${l.color}`:""),$=y.computed(()=>ii(l.optionValue,"value")),ie=y.computed(()=>ii(l.optionLabel,"label")),oe=y.computed(()=>ii(l.optionDisable,"disable")),le=y.computed(()=>R.value.map($.value)),ge=y.computed(()=>{const fe={onInput:me,onChange:W,onKeydown:et,onKeyup:Ve,onKeypress:Ge,onFocus:De,onClick(je){d===!0&&Dt(je)}};return fe.onCompositionstart=fe.onCompositionupdate=fe.onCompositionend=W,fe});y.watch(R,fe=>{o=fe,l.useInput===!0&&l.fillInput===!0&&l.multiple!==!0&&O.innerLoading.value!==!0&&(i.value!==!0&&c.value!==!0||Q.value!==!0)&&(h!==!0&&ze(),(i.value===!0||c.value===!0)&&Oe(""))},{immediate:!0}),y.watch(()=>l.fillInput,ze),y.watch(c,Je),y.watch(L,Ze);function Ce(fe){return l.emitValue===!0?$.value(fe):fe}function Ae(fe){if(fe!==-1&&fe<R.value.length)if(l.multiple===!0){const je=l.modelValue.slice();t("remove",{index:fe,value:je.splice(fe,1)[0]}),t("update:modelValue",je)}else t("update:modelValue",null)}function Te(fe){Ae(fe),O.focus()}function Ue(fe,je){const Z=Ce(fe);if(l.multiple!==!0){l.fillInput===!0&&Re(ie.value(fe),!0,!0),t("update:modelValue",Z);return}if(R.value.length===0){t("add",{index:0,value:Z}),t("update:modelValue",l.multiple===!0?[Z]:Z);return}if(je===!0&&ke(fe)===!0||l.maxValues!==void 0&&l.modelValue.length>=l.maxValues)return;const he=l.modelValue.slice();t("add",{index:he.length,value:Z}),he.push(Z),t("update:modelValue",he)}function Ne(fe,je){if(O.editable.value!==!0||fe===void 0||oe.value(fe)===!0)return;const Z=$.value(fe);if(l.multiple!==!0){je!==!0&&(Re(l.fillInput===!0?ie.value(fe):"",!0,!0),Be()),D.value?.focus(),(R.value.length===0||rr($.value(R.value[0]),Z)!==!0)&&t("update:modelValue",l.emitValue===!0?Z:fe);return}if((d!==!0||e.value===!0)&&O.focus(),De(),R.value.length===0){const we=l.emitValue===!0?Z:fe;t("add",{index:0,value:we}),t("update:modelValue",l.multiple===!0?[we]:we);return}const he=l.modelValue.slice(),ye=le.value.findIndex(we=>rr(we,Z));if(ye!==-1)t("remove",{index:ye,value:he.splice(ye,1)[0]});else{if(l.maxValues!==void 0&&he.length>=l.maxValues)return;const we=l.emitValue===!0?Z:fe;t("add",{index:he.length,value:we}),he.push(we)}t("update:modelValue",he)}function Le(fe){if(m.platform.is.desktop!==!0)return;const je=fe!==-1&&fe<L.value?fe:-1;s.value!==je&&(s.value=je)}function qe(fe=1,je){if(c.value===!0){let Z=s.value;do Z=ko(Z+fe,-1,L.value-1);while(Z!==-1&&Z!==s.value&&oe.value(l.options[Z])===!0);s.value!==Z&&(Le(Z),S(Z),je!==!0&&l.useInput===!0&&l.fillInput===!0&&xe(Z>=0?ie.value(l.options[Z]):g,!0))}}function Fe(fe,je){const Z=he=>rr($.value(he),fe);return l.options.find(Z)||je.find(Z)||fe}function ke(fe){const je=$.value(fe);return le.value.find(Z=>rr(Z,je))!==void 0}function De(fe){l.useInput===!0&&D.value!==null&&(fe===void 0||D.value===fe.target&&fe.target.value===I.value)&&D.value.select()}function We(fe){ir(fe,27)===!0&&c.value===!0&&(Dt(fe),Be(),ze()),t("keyup",fe)}function Ve(fe){const{value:je}=fe.target;if(fe.keyCode!==void 0){We(fe);return}if(fe.target.value="",u!==null&&(clearTimeout(u),u=null),a!==null&&(clearTimeout(a),a=null),ze(),typeof je=="string"&&je.length!==0){const Z=je.toLocaleLowerCase(),he=we=>{const Pe=l.options.find(Se=>String(we.value(Se)).toLocaleLowerCase()===Z);return Pe===void 0?!1:(R.value.indexOf(Pe)===-1?Ne(Pe):Be(),!0)},ye=we=>{he($)!==!0&&we!==!0&&he(ie)!==!0&&Oe(je,!0,()=>ye(!0))};ye()}else O.clearValue(fe)}function Ge(fe){t("keypress",fe)}function et(fe){if(t("keydown",fe),Fi(fe)===!0)return;const je=n.value.length!==0&&(l.newValueMode!==void 0||l.onNewValue!==void 0),Z=fe.shiftKey!==!0&&l.disableTabSelection!==!0&&l.multiple!==!0&&(s.value!==-1||je===!0);if(fe.keyCode===27){Bt(fe);return}if(fe.keyCode===9&&Z===!1){ve();return}if(fe.target===void 0||fe.target.id!==O.targetUid.value||O.editable.value!==!0)return;if(fe.keyCode===40&&O.innerLoading.value!==!0&&c.value===!1){St(fe),_e();return}if(fe.keyCode===8&&(l.useChips===!0||l.clearable===!0)&&l.hideSelected!==!0&&n.value.length===0){l.multiple===!0&&Array.isArray(l.modelValue)===!0?Ae(l.modelValue.length-1):l.multiple!==!0&&l.modelValue!==null&&t("update:modelValue",null);return}(fe.keyCode===35||fe.keyCode===36)&&(typeof n.value!="string"||n.value.length===0)&&(St(fe),s.value=-1,qe(fe.keyCode===36?1:-1,l.multiple)),(fe.keyCode===33||fe.keyCode===34)&&_.value!==void 0&&(St(fe),s.value=Math.max(-1,Math.min(L.value,s.value+(fe.keyCode===33?-1:1)*_.value.view)),qe(fe.keyCode===33?1:-1,l.multiple)),(fe.keyCode===38||fe.keyCode===40)&&(St(fe),qe(fe.keyCode===38?-1:1,l.multiple));const he=L.value;if((k===void 0||C<Date.now())&&(k=""),he>0&&l.useInput!==!0&&fe.key!==void 0&&fe.key.length===1&&fe.altKey===!1&&fe.ctrlKey===!1&&fe.metaKey===!1&&(fe.keyCode!==32||k.length!==0)){c.value!==!0&&_e(fe);const ye=fe.key.toLocaleLowerCase(),we=k.length===1&&k[0]===ye;C=Date.now()+1500,we===!1&&(St(fe),k+=ye);const Pe=new RegExp("^"+k.split("").map(Ie=>cu.indexOf(Ie)!==-1?"\\"+Ie:Ie).join(".*"),"i");let Se=s.value;if(we===!0||Se<0||Pe.test(ie.value(l.options[Se]))!==!0)do Se=ko(Se+1,-1,he-1);while(Se!==s.value&&(oe.value(l.options[Se])===!0||Pe.test(ie.value(l.options[Se]))!==!0));s.value!==Se&&y.nextTick(()=>{Le(Se),S(Se),Se>=0&&l.useInput===!0&&l.fillInput===!0&&xe(ie.value(l.options[Se]),!0)});return}if(!(fe.keyCode!==13&&(fe.keyCode!==32||l.useInput===!0||k!=="")&&(fe.keyCode!==9||Z===!1))){if(fe.keyCode!==9&&St(fe),s.value!==-1&&s.value<he){Ne(l.options[s.value]);return}if(je===!0){const ye=(we,Pe)=>{if(Pe){if(Ho(Pe)!==!0)return}else Pe=l.newValueMode;if(Re("",l.multiple!==!0,!0),we==null)return;(Pe==="toggle"?Ne:Ue)(we,Pe==="add-unique"),l.multiple!==!0&&(D.value?.focus(),Be())};if(l.onNewValue!==void 0?t("newValue",n.value,ye):ye(n.value),l.multiple!==!0)return}c.value===!0?ve():O.innerLoading.value!==!0&&_e()}}function He(){return d===!0?N.value:V.value!==null&&V.value.contentEl!==null?V.value.contentEl:void 0}function nt(){return He()}function tt(){return l.hideSelected===!0?[]:B["selected-item"]!==void 0?ue.value.map(fe=>B["selected-item"](fe)).slice():B.selected!==void 0?[].concat(B.selected()):l.useChips===!0?ue.value.map((fe,je)=>y.h(qa,{key:"option-"+je,removable:O.editable.value===!0&&oe.value(fe.opt)!==!0,dense:!0,textColor:l.color,tabindex:G.value,onRemove(){fe.removeAtIndex(je)}},()=>y.h("span",{class:"ellipsis",[fe.html===!0?"innerHTML":"textContent"]:ie.value(fe.opt)}))):[y.h("span",{class:"ellipsis",[ee.value===!0?"innerHTML":"textContent"]:H.value})]}function Ye(){if(F.value===!0)return B["no-option"]!==void 0?B["no-option"]({inputValue:n.value}):void 0;const fe=B.option!==void 0?B.option:Z=>y.h(Cr,{key:Z.index,...Z.itemProps},()=>y.h(Ar,()=>y.h(wi,()=>y.h("span",{[Z.html===!0?"innerHTML":"textContent"]:Z.label}))));let je=x("div",J.value.map(fe));return B["before-options"]!==void 0&&(je=B["before-options"]().concat(je)),It(B["after-options"],je)}function at(fe,je){const Z=je===!0?{...te.value,...O.splitAttrs.attributes.value}:void 0,he={ref:je===!0?D:void 0,key:"i_t",class:j.value,style:l.inputStyle,value:n.value!==void 0?n.value:"",type:"search",...Z,id:je===!0?O.targetUid.value:void 0,maxlength:l.maxlength,autocomplete:l.autocomplete,"data-autofocus":fe===!0||l.autofocus===!0||void 0,disabled:l.disable===!0,readonly:l.readonly===!0,...ge.value};return fe!==!0&&d===!0&&(Array.isArray(he.class)===!0?he.class=[...he.class,"no-pointer-events"]:he.class+=" no-pointer-events"),y.h("input",he)}function me(fe){u!==null&&(clearTimeout(u),u=null),a!==null&&(clearTimeout(a),a=null),!(fe&&fe.target&&fe.target.qComposing===!0)&&(xe(fe.target.value||""),h=!0,g=n.value,O.focused.value!==!0&&(d!==!0||e.value===!0)&&O.focus(),l.onFilter!==void 0&&(u=setTimeout(()=>{u=null,Oe(n.value)},l.inputDebounce)))}function xe(fe,je){n.value!==fe&&(n.value=fe,je===!0||l.inputDebounce===0||l.inputDebounce==="0"?t("inputValue",fe):a=setTimeout(()=>{a=null,t("inputValue",fe)},l.inputDebounce))}function Re(fe,je,Z){h=Z!==!0,l.useInput===!0&&(xe(fe,!0),(je===!0||Z!==!0)&&(g=fe),je!==!0&&Oe(fe))}function Oe(fe,je,Z){if(l.onFilter===void 0||je!==!0&&O.focused.value!==!0)return;O.innerLoading.value===!0?t("filterAbort"):(O.innerLoading.value=!0,r.value=!0),fe!==""&&l.multiple!==!0&&R.value.length!==0&&h!==!0&&fe===ie.value(R.value[0])&&(fe="");const he=setTimeout(()=>{c.value===!0&&(c.value=!1)},10);f!==null&&clearTimeout(f),f=he,t("filter",fe,(ye,we)=>{(je===!0||O.focused.value===!0)&&f===he&&(clearTimeout(f),typeof ye=="function"&&ye(),r.value=!1,y.nextTick(()=>{O.innerLoading.value=!1,O.editable.value===!0&&(je===!0?c.value===!0&&Be():c.value===!0?Je(!0):c.value=!0),typeof we=="function"&&y.nextTick(()=>{we(b)}),typeof Z=="function"&&y.nextTick(()=>{Z(b)})}))},()=>{O.focused.value===!0&&f===he&&(clearTimeout(f),O.innerLoading.value=!1,r.value=!1),c.value===!0&&(c.value=!1)})}function Ee(){return y.h(Zr,{ref:V,class:Y.value,style:l.popupContentStyle,modelValue:c.value,fit:l.menuShrink!==!0,cover:l.optionsCover===!0&&F.value!==!0&&l.useInput!==!0,anchor:l.menuAnchor,self:l.menuSelf,offset:l.menuOffset,dark:U.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:l.popupNoRouteDismiss,square:se.value,transitionShow:l.transitionShow,transitionHide:l.transitionHide,transitionDuration:l.transitionDuration,separateClosePopup:!0,...ce.value,onScrollPassive:w,onBeforeShow:yt,onBeforeHide:Qe,onShow:Ke},Ye)}function Qe(fe){ft(fe),ve()}function Ke(){E()}function re(fe){Dt(fe),D.value?.focus(),e.value=!0,window.scrollTo(window.pageXOffset||window.scrollX||document.body.scrollLeft||0,0)}function X(fe){Dt(fe),y.nextTick(()=>{e.value=!1})}function ne(){const fe=[y.h(Gl,{class:`col-auto ${O.fieldClass.value}`,...z.value,for:O.targetUid.value,dark:U.value,square:!0,loading:r.value,itemAligned:!1,filled:!0,stackLabel:n.value.length!==0,...O.splitAttrs.listeners.value,onFocus:re,onBlur:X},{...B,rawControl:()=>O.getControl(!0),before:void 0,after:void 0})];return c.value===!0&&fe.push(y.h("div",{ref:N,class:Y.value+" scroll",style:l.popupContentStyle,...ce.value,onClick:Bt,onScrollPassive:w},Ye())),y.h(zn,{ref:P,modelValue:i.value,position:l.useInput===!0?"top":void 0,transitionShow:p,transitionHide:l.transitionHide,transitionDuration:l.transitionDuration,noRouteDismiss:l.popupNoRouteDismiss,onBeforeShow:yt,onBeforeHide:de,onHide:be,onShow:Me},()=>y.h("div",{class:"q-select__dialog"+(U.value===!0?" q-select__dialog--dark q-dark":"")+(e.value===!0?" q-select__dialog--focused":"")},fe))}function de(fe){ft(fe),P.value!==null&&P.value.__updateRefocusTarget(O.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")),O.focused.value=!1}function be(fe){Be(),O.focused.value===!1&&t("blur",fe),ze()}function Me(){const fe=document.activeElement;(fe===null||fe.id!==O.targetUid.value)&&D.value!==null&&D.value!==fe&&D.value.focus(),E()}function ve(){i.value!==!0&&(s.value=-1,c.value===!0&&(c.value=!1),O.focused.value===!1&&(f!==null&&(clearTimeout(f),f=null),O.innerLoading.value===!0&&(t("filterAbort"),O.innerLoading.value=!1,r.value=!1)))}function _e(fe){O.editable.value===!0&&(d===!0?(O.onControlFocusin(fe),i.value=!0,y.nextTick(()=>{O.focus()})):O.focus(),l.onFilter!==void 0?Oe(n.value):(F.value!==!0||B["no-option"]!==void 0)&&(c.value=!0))}function Be(){i.value=!1,ve()}function ze(){l.useInput===!0&&Re(l.multiple!==!0&&l.fillInput===!0&&R.value.length!==0&&ie.value(R.value[0])||"",!0,!0)}function Je(fe){let je=-1;if(fe===!0){if(R.value.length!==0){const Z=$.value(R.value[0]);je=l.options.findIndex(he=>rr($.value(he),Z))}v(je)}Le(je)}function Ze(fe,je){c.value===!0&&O.innerLoading.value===!1&&(v(-1,!0),y.nextTick(()=>{c.value===!0&&O.innerLoading.value===!1&&(fe>je?v():Je(!0))}))}function rt(){i.value===!1&&V.value!==null&&V.value.updatePosition()}function yt(fe){fe!==void 0&&Dt(fe),t("popupShow",fe),O.hasPopupOpen=!0,O.onControlFocusin(fe)}function ft(fe){fe!==void 0&&Dt(fe),t("popupHide",fe),O.hasPopupOpen=!1,O.onControlFocusout(fe)}function kt(){d=m.platform.is.mobile!==!0&&l.behavior!=="dialog"?!1:l.behavior!=="menu"&&(l.useInput===!0?B["no-option"]!==void 0||l.onFilter!==void 0||F.value===!1:!0),p=m.platform.is.ios===!0&&d===!0&&l.useInput===!0?"fade":l.transitionShow}return y.onBeforeUpdate(kt),y.onUpdated(rt),kt(),y.onBeforeUnmount(()=>{u!==null&&clearTimeout(u),a!==null&&clearTimeout(a)}),Object.assign(b,{showPopup:_e,hidePopup:Be,removeAtIndex:Ae,add:Ue,toggleOption:Ne,getOptionIndex:()=>s.value,setOptionIndex:Le,moveOptionSelection:qe,filter:Oe,updateMenuPosition:rt,updateInputValue:Re,isOptionSelected:ke,getEmittingOptionValue:Ce,isOptionDisabled:(...fe)=>oe.value.apply(null,fe)===!0,getOptionValue:(...fe)=>$.value.apply(null,fe),getOptionLabel:(...fe)=>ie.value.apply(null,fe)}),Object.assign(O,{innerValue:R,fieldClass:y.computed(()=>`q-select q-field--auto-height q-select--with${l.useInput!==!0?"out":""}-input q-select--with${l.useChips!==!0?"out":""}-chips q-select--${l.multiple===!0?"multiple":"single"}`),inputRef:T,targetRef:D,hasValue:Q,showPopup:_e,floatingLabel:y.computed(()=>l.hideSelected!==!0&&Q.value===!0||typeof n.value=="number"||n.value.length!==0||Kr(l.displayValue)),getControlChild:()=>{if(O.editable.value!==!1&&(i.value===!0||F.value!==!0||B["no-option"]!==void 0))return d===!0?ne():Ee();O.hasPopupOpen===!0&&(O.hasPopupOpen=!1)},controlEvents:{onFocusin(fe){O.onControlFocusin(fe)},onFocusout(fe){O.onControlFocusout(fe,()=>{ze(),ve()})},onClick(fe){if(Bt(fe),d!==!0&&c.value===!0){ve(),D.value?.focus();return}_e(fe)}},getControl:fe=>{const je=tt(),Z=fe===!0||i.value!==!0||d!==!0;if(l.useInput===!0)je.push(at(fe,Z));else if(O.editable.value===!0){const ye=Z===!0?te.value:void 0;je.push(y.h("input",{ref:Z===!0?D:void 0,key:"d_t",class:"q-select__focus-target",id:Z===!0?O.targetUid.value:void 0,value:H.value,readonly:!0,"data-autofocus":fe===!0||l.autofocus===!0||void 0,...ye,onKeydown:et,onKeyup:We,onKeypress:Ge})),Z===!0&&typeof l.autocomplete=="string"&&l.autocomplete.length!==0&&je.push(y.h("input",{class:"q-select__autocomplete-input",autocomplete:l.autocomplete,tabindex:-1,onKeyup:Ve}))}if(q.value!==void 0&&l.disable!==!0&&le.value.length!==0){const ye=le.value.map(we=>y.h("option",{value:we,selected:!0}));je.push(y.h("select",{class:"hidden",name:q.value,multiple:l.multiple},ye))}const he=l.useInput===!0||Z!==!0?void 0:O.splitAttrs.attributes.value;return y.h("div",{class:"q-field__native row items-center",...he,...O.splitAttrs.listeners.value},je)},getInnerAppend:()=>l.loading!==!0&&r.value!==!0&&l.hideDropdownIcon!==!0?[y.h(gt,{class:"q-select__dropdown-icon"+(c.value===!0?" rotate-180":""),name:ae.value})]:null}),Gi(O)}}),du={class:"q-pa-none"},hu=y.defineComponent({__name:"CheckboxFilter",props:{options:{},label:{default:"Sélectionner les options"},modelValue:{default:()=>[]},scrollAreaHeight:{default:"200px"},scrollAreaWidth:{default:"250px"},dataCy:{default:"checkbox-filter"}},emits:["update:modelValue"],setup(l,{emit:B}){const t=l,b=B,m=y.ref(!1),c=y.ref(t.modelValue||[]),i=y.computed(()=>({height:t.scrollAreaHeight,width:t.scrollAreaWidth})),s=y.computed(()=>t.dataCy||"checkbox-filter");return y.watch(c,n=>{b("update:modelValue",n)}),y.watch(()=>t.modelValue,n=>{n&&(c.value=n)},{immediate:!0}),(n,e)=>(y.openBlock(),y.createElementBlock("div",du,[y.createVNode(Un,y.mergeProps({outlined:"",dense:"",label:t.label,class:["full-width","cursor-pointer"],"data-cy":s.value,"model-value":null,options:[],"hide-dropdown-icon":""},n.$attrs),{append:y.withCtx(()=>[y.createVNode(gt,{name:"arrow_drop_down",class:y.normalizeClass(["cursor-pointer smooth-rotate",{"rotate-180":m.value}])},null,8,["class"])]),default:y.withCtx(()=>[y.createVNode(Zr,{modelValue:m.value,"onUpdate:modelValue":e[1]||(e[1]=r=>m.value=r),anchor:"bottom left",self:"top left",offset:[0,8],"transition-show":"scale","transition-hide":"scale"},{default:y.withCtx(()=>[y.createVNode(Gr,{class:"q-pa-sm"},{default:y.withCtx(()=>[y.createVNode(kl,{style:y.normalizeStyle(i.value)},{default:y.withCtx(()=>[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(t.options,r=>(y.openBlock(),y.createBlock(Er,{key:r.value,modelValue:c.value,"onUpdate:modelValue":e[0]||(e[0]=u=>c.value=u),val:r,disable:r.disabled,color:"primary",class:"q-mb-sm q-ml-sm q-mr-sm","data-cy":`${s.value}-option-${r.label}`},{default:y.withCtx(()=>[y.createElementVNode("span",{class:y.normalizeClass({"text-italic":r.italic})},y.toDisplayString(r.label),3)]),_:2},1032,["modelValue","val","disable","data-cy"]))),128))]),_:1},8,["style"])]),_:1})]),_:1},8,["modelValue"])]),_:1},16,["label","data-cy"])]))}}),pu=Ht(hu,[["__scopeId","data-v-b83ebff3"]]),mu=y.defineComponent({__name:"SelectSearch",props:{options:{default:()=>[]},fetchOptions:{},label:{default:"Selectionner un option"},modelValue:{default:null},rules:{},updateInputOnModelChange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:B}){const t=l,b=B,m=y.ref(),c=y.ref(t.modelValue??null),i=y.ref(""),s=y.ref(t.options??[]),n=y.ref(!1),e=y.ref(!0),r=y.ref(!1);y.watch(()=>t.options,g=>{s.value=g??[],u()},{immediate:!0}),y.watch(()=>t.modelValue,async g=>{if(t.updateInputOnModelChange){if(r.value=!0,t.fetchOptions&&g){const p=await t.fetchOptions("");s.value=p}c.value=g,u(),n.value=!1,await y.nextTick(),m.value?.updateInputValue(i.value,!0),setTimeout(()=>{r.value=!1},100)}else c.value=g});function u(){const g=s.value.find(p=>p.value===c.value);i.value=g?.label??""}function a(g){r.value||(c.value=g,b("update:modelValue",g),u(),n.value=!1)}function o(g){i.value=g,g===""&&(n.value=!0)}function d(){if(e.value){e.value=!1;return}c.value!==null&&!n.value?(i.value="",n.value=!0,m.value?.showPopup()):n.value&&(i.value="")}function h(){e.value=!0;const g=i.value.trim();if(g==="")n.value&&(c.value=null,b("update:modelValue",null));else{const p=s.value.find(k=>k.label.toLowerCase()===g.toLowerCase());p?(c.value=p.value,b("update:modelValue",p.value),i.value=p.label):u()}n.value=!1}function f(g,p,k){if(t.fetchOptions)t.fetchOptions(g).then(C=>{s.value=C,p(()=>{})}).catch(k).finally(()=>{});else{const C=t.options??[];s.value=C.filter(T=>T.label.toLowerCase().includes(g.toLowerCase())),p(()=>{})}}return y.onMounted(async()=>{if(t.fetchOptions&&t.modelValue){const g=await t.fetchOptions("");s.value=g,u()}}),(g,p)=>(y.openBlock(),y.createBlock(Un,y.mergeProps({ref_key:"selectRef",ref:m,"model-value":c.value,"input-value":i.value,"use-input":"","fill-input":"","hide-selected":"","input-debounce":"300",label:g.label,options:s.value,"map-options":"",dense:"",outlined:"",class:"full-width cursor-pointer"},g.$attrs,{"onUpdate:modelValue":a,"onUpdate:inputValue":o,onFocus:d,onBlur:h,onFilter:f}),null,16,["model-value","input-value","label","options"]))}}),gu=y.defineComponent({__name:"SelectYear",props:{modelValue:{},label:{default:"Sélectionner une année"},startYear:{default:2015},endYear:{default:void 0}},emits:["update:modelValue"],setup(l,{emit:B}){const t=l,b=B,m=y.computed(()=>{const s=t.startYear??new Date().getFullYear()-5,n=t.endYear??new Date().getFullYear(),e=[];for(let r=n;r>=s;r--)e.push({label:String(r),value:r});return e});function c(s){b("update:modelValue",s)}function i(){t.modelValue!==null&&b("update:modelValue",null)}return(s,n)=>(y.openBlock(),y.createBlock(Un,y.mergeProps({"model-value":s.modelValue,options:m.value,"option-value":"value","option-label":"label",label:s.label,dense:"","emit-value":"",outlined:"",class:"full-width cursor-pointer"},s.$attrs,{"onUpdate:modelValue":c,onFocus:i}),null,16,["model-value","options","label"]))}}),Ka=$e({name:"QAvatar",props:{...Or,fontSize:String,color:String,textColor:String,icon:String,square:Boolean,rounded:Boolean},setup(l,{slots:B}){const t=Fr(l),b=y.computed(()=>"q-avatar"+(l.color?` bg-${l.color}`:"")+(l.textColor?` text-${l.textColor} q-chip--colored`:"")+(l.square===!0?" q-avatar--square":l.rounded===!0?" rounded-borders":"")),m=y.computed(()=>l.fontSize?{fontSize:l.fontSize}:null);return()=>{const c=l.icon!==void 0?[y.h(gt,{name:l.icon})]:void 0;return y.h("div",{class:b.value,style:t.value},[y.h("div",{class:"q-avatar__content row flex-center overflow-hidden",style:m.value},sa(B.default,c))])}}}),bu=$e({name:"QSpace",setup(){const l=y.h("div",{class:"q-space"});return()=>l}}),vu=["ul","ol"],Ji=$e({name:"QList",props:{...Ot,bordered:Boolean,dense:Boolean,separator:Boolean,padding:Boolean,tag:{type:String,default:"div"}},setup(l,{slots:B}){const t=y.getCurrentInstance(),b=Ft(l,t.proxy.$q),m=y.computed(()=>vu.includes(l.tag)?null:"list"),c=y.computed(()=>"q-list"+(l.bordered===!0?" q-list--bordered":"")+(l.dense===!0?" q-list--dense":"")+(l.separator===!0?" q-list--separator":"")+(b.value===!0?" q-list--dark":"")+(l.padding===!0?" q-list--padding":""));return()=>y.h(l.tag,{class:c.value,role:m.value},bt(B.default))}}),Xa=$e({name:"QToolbar",props:{inset:Boolean},setup(l,{slots:B}){const t=y.computed(()=>"q-toolbar row no-wrap items-center"+(l.inset===!0?" q-toolbar--inset":""));return()=>y.h("div",{class:t.value,role:"toolbar"},bt(B.default))}}),yu=$e({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(l,{slots:B,emit:t}){const{proxy:{$q:b}}=y.getCurrentInstance(),m=y.inject($r,Rt);if(m===Rt)return console.error("QHeader needs to be child of QLayout"),Rt;const c=y.ref(parseInt(l.heightHint,10)),i=y.ref(!0),s=y.computed(()=>l.reveal===!0||m.view.value.indexOf("H")!==-1||b.platform.is.ios&&m.isContainer.value===!0),n=y.computed(()=>{if(l.modelValue!==!0)return 0;if(s.value===!0)return i.value===!0?c.value:0;const p=c.value-m.scroll.value.position;return p>0?p:0}),e=y.computed(()=>l.modelValue!==!0||s.value===!0&&i.value!==!0),r=y.computed(()=>l.modelValue===!0&&e.value===!0&&l.reveal===!0),u=y.computed(()=>"q-header q-layout__section--marginal "+(s.value===!0?"fixed":"absolute")+"-top"+(l.bordered===!0?" q-header--bordered":"")+(e.value===!0?" q-header--hidden":"")+(l.modelValue!==!0?" q-layout--prevent-focus":"")),a=y.computed(()=>{const p=m.rows.value.top,k={};return p[0]==="l"&&m.left.space===!0&&(k[b.lang.rtl===!0?"right":"left"]=`${m.left.size}px`),p[2]==="r"&&m.right.space===!0&&(k[b.lang.rtl===!0?"left":"right"]=`${m.right.size}px`),k});function o(p,k){m.update("header",p,k)}function d(p,k){p.value!==k&&(p.value=k)}function h({height:p}){d(c,p),o("size",p)}function f(p){r.value===!0&&d(i,!0),t("focusin",p)}y.watch(()=>l.modelValue,p=>{o("space",p),d(i,!0),m.animate()}),y.watch(n,p=>{o("offset",p)}),y.watch(()=>l.reveal,p=>{p===!1&&d(i,l.modelValue)}),y.watch(i,p=>{m.animate(),t("reveal",p)}),y.watch(m.scroll,p=>{l.reveal===!0&&d(i,p.direction==="up"||p.position<=l.revealOffset||p.position-p.inflectionPoint<100)});const g={};return m.instances.header=g,l.modelValue===!0&&o("size",c.value),o("space",l.modelValue),o("offset",n.value),y.onBeforeUnmount(()=>{m.instances.header===g&&(m.instances.header=void 0,o("size",0),o("offset",0),o("space",!1))}),()=>{const p=Mi(B.default,[]);return l.elevated===!0&&p.push(y.h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),p.push(y.h(Rr,{debounce:0,onResize:h})),y.h("header",{class:u.value,style:a.value,onFocusin:f},p)}}});function Yo(l){if(l===!1)return 0;if(l===!0||l===void 0)return 1;const B=parseInt(l,10);return isNaN(B)?0:B}const Ga=Ei({name:"close-popup",beforeMount(l,{value:B}){const t={depth:Yo(B),handler(b){t.depth!==0&&setTimeout(()=>{const m=Rl(l);m!==void 0&&Bl(m,b,t.depth)})},handlerKey(b){ir(b,13)===!0&&t.handler(b)}};l.__qclosepopup=t,l.addEventListener("click",t.handler),l.addEventListener("keyup",t.handlerKey)},updated(l,{value:B,oldValue:t}){B!==t&&(l.__qclosepopup.depth=Yo(B))},beforeUnmount(l){const B=l.__qclosepopup;l.removeEventListener("click",B.handler),l.removeEventListener("keyup",B.handlerKey),delete l.__qclosepopup}}),wu=["src","alt"],xu={key:0,class:"project-environment-container row items-center q-mr-md"},Su=y.defineComponent({__name:"SelfeeHeader",props:{logoSrc:{},logoAlt:{},logoTo:{},showProjectSwitch:{type:Boolean},currentProjectLabel:{},availableProjects:{},currentPath:{},environment:{}},emits:["project-change"],setup(l,{emit:B}){const t=l,b=t.logoAlt??"Logo",m=t.logoTo??"/",c=y.computed(()=>({width:"260px",height:"auto",borderRadius:"0"})),i=y.computed(()=>t.environment?t.environment.toUpperCase()!=="PROD":!1),s=y.computed(()=>`environment-badge--${t.environment?.toUpperCase()?.toLowerCase()}`),n=e=>t.currentPath?.startsWith(e);return(e,r)=>{const u=y.resolveComponent("router-link");return y.openBlock(),y.createBlock(yu,y.mergeProps({elevated:""},e.$attrs),{default:y.withCtx(()=>[y.createVNode(Xa,null,{default:y.withCtx(()=>[y.createVNode(u,{to:y.unref(m),class:"q-mr-lg"},{default:y.withCtx(()=>[y.createVNode(Ka,{class:"logo",style:y.normalizeStyle(c.value),"data-testid":"header-logo"},{default:y.withCtx(()=>[y.createElementVNode("img",{src:e.logoSrc,alt:y.unref(b)},null,8,wu)]),_:1},8,["style"])]),_:1},8,["to"]),y.createVNode(bu),e.showProjectSwitch||i.value?(y.openBlock(),y.createElementBlock("div",xu,[i.value?(y.openBlock(),y.createElementBlock("div",{key:0,class:y.normalizeClass(["environment-badge",s.value]),"data-testid":"environment-badge"},y.toDisplayString(e.environment),3)):y.createCommentVNode("",!0),e.showProjectSwitch?(y.openBlock(),y.createBlock(ut,{key:1,dense:"",unelevated:"",color:"primary",label:e.currentProjectLabel,"data-testid":"project-switch-btn",class:"project-switch-btn q-mr-md bg-info"},{default:y.withCtx(()=>[y.createVNode(Zr,{anchor:"bottom right",self:"top right"},{default:y.withCtx(()=>[y.createVNode(Ji,{dense:"",class:"project-menu"},{default:y.withCtx(()=>[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(e.availableProjects,a=>y.withDirectives((y.openBlock(),y.createBlock(Cr,{key:a.path,clickable:"",disable:n(a.path),onClick:o=>e.$emit("project-change",a.path)},{default:y.withCtx(()=>[y.createVNode(Ar,{class:"q-mr-lg"},{default:y.withCtx(()=>[y.createVNode(wi,null,{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(a.label),1)]),_:2},1024),n(a.path)?(y.openBlock(),y.createBlock(wi,{key:0,caption:""},{default:y.withCtx(()=>r[0]||(r[0]=[y.createTextVNode(" Actuel ")])),_:1,__:[0]})):y.createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["disable","onClick"])),[[Ga]])),128))]),_:1})]),_:1})]),_:1},8,["label"])):y.createCommentVNode("",!0)])):y.createCommentVNode("",!0),y.renderSlot(e.$slots,"user-avatar",{},void 0,!0)]),_:3})]),_:3},16)}}}),ku=Ht(Su,[["__scopeId","data-v-a4df46a4"]]),_u=$e({name:"QFooter",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(l,{slots:B,emit:t}){const{proxy:{$q:b}}=y.getCurrentInstance(),m=y.inject($r,Rt);if(m===Rt)return console.error("QFooter needs to be child of QLayout"),Rt;const c=y.ref(parseInt(l.heightHint,10)),i=y.ref(!0),s=y.ref(or.value===!0||m.isContainer.value===!0?0:window.innerHeight),n=y.computed(()=>l.reveal===!0||m.view.value.indexOf("F")!==-1||b.platform.is.ios&&m.isContainer.value===!0),e=y.computed(()=>m.isContainer.value===!0?m.containerHeight.value:s.value),r=y.computed(()=>{if(l.modelValue!==!0)return 0;if(n.value===!0)return i.value===!0?c.value:0;const T=m.scroll.value.position+e.value+c.value-m.height.value;return T>0?T:0}),u=y.computed(()=>l.modelValue!==!0||n.value===!0&&i.value!==!0),a=y.computed(()=>l.modelValue===!0&&u.value===!0&&l.reveal===!0),o=y.computed(()=>"q-footer q-layout__section--marginal "+(n.value===!0?"fixed":"absolute")+"-bottom"+(l.bordered===!0?" q-footer--bordered":"")+(u.value===!0?" q-footer--hidden":"")+(l.modelValue!==!0?" q-layout--prevent-focus"+(n.value!==!0?" hidden":""):"")),d=y.computed(()=>{const T=m.rows.value.bottom,D={};return T[0]==="l"&&m.left.space===!0&&(D[b.lang.rtl===!0?"right":"left"]=`${m.left.size}px`),T[2]==="r"&&m.right.space===!0&&(D[b.lang.rtl===!0?"left":"right"]=`${m.right.size}px`),D});function h(T,D){m.update("footer",T,D)}function f(T,D){T.value!==D&&(T.value=D)}function g({height:T}){f(c,T),h("size",T)}function p(){if(l.reveal!==!0)return;const{direction:T,position:D,inflectionPoint:V}=m.scroll.value;f(i,T==="up"||D-V<100||m.height.value-e.value-D-c.value<300)}function k(T){a.value===!0&&f(i,!0),t("focusin",T)}y.watch(()=>l.modelValue,T=>{h("space",T),f(i,!0),m.animate()}),y.watch(r,T=>{h("offset",T)}),y.watch(()=>l.reveal,T=>{T===!1&&f(i,l.modelValue)}),y.watch(i,T=>{m.animate(),t("reveal",T)}),y.watch([c,m.scroll,m.height],p),y.watch(()=>b.screen.height,T=>{m.isContainer.value!==!0&&f(s,T)});const C={};return m.instances.footer=C,l.modelValue===!0&&h("size",c.value),h("space",l.modelValue),h("offset",r.value),y.onBeforeUnmount(()=>{m.instances.footer===C&&(m.instances.footer=void 0,h("size",0),h("offset",0),h("space",!1))}),()=>{const T=It(B.default,[y.h(Rr,{debounce:0,onResize:g})]);return l.elevated===!0&&T.push(y.h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),y.h("footer",{class:o.value,style:d.value,onFocusin:k},T)}}}),Cu={class:"row justify-between"},Au={class:"col-3 q-py-md flex justify-center"},Eu={class:"col-3 q-py-md flex justify-center"},Mu={class:"col-3 q-py-md flex justify-center"},Tu=y.defineComponent({__name:"SelfeeFooter",props:{frontVersion:{},backVersion:{},platform:{}},setup(l){return(B,t)=>(y.openBlock(),y.createBlock(_u,y.mergeProps({elevated:""},B.$attrs),{default:y.withCtx(()=>[y.createElementVNode("div",Cu,[y.createElementVNode("div",Au," Front: "+y.toDisplayString(B.frontVersion),1),y.createElementVNode("div",Eu," Back: "+y.toDisplayString(B.backVersion),1),y.createElementVNode("div",Mu," Platform: "+y.toDisplayString(B.platform),1)])]),_:1},16))}}),Ru={true:"inset",item:"item-inset","item-thumbnail":"item-thumbnail-inset"},oi={xs:2,sm:4,md:8,lg:16,xl:24},Hr=$e({name:"QSeparator",props:{...Ot,spaced:[Boolean,String],inset:[Boolean,String],vertical:Boolean,color:String,size:String},setup(l){const B=y.getCurrentInstance(),t=Ft(l,B.proxy.$q),b=y.computed(()=>l.vertical===!0?"vertical":"horizontal"),m=y.computed(()=>` q-separator--${b.value}`),c=y.computed(()=>l.inset!==!1?`${m.value}-${Ru[l.inset]}`:""),i=y.computed(()=>`q-separator${m.value}${c.value}`+(l.color!==void 0?` bg-${l.color}`:"")+(t.value===!0?" q-separator--dark":"")),s=y.computed(()=>{const n={};if(l.size!==void 0&&(n[l.vertical===!0?"width":"height"]=l.size),l.spaced!==!1){const e=l.spaced===!0?`${oi.md}px`:l.spaced in oi?`${oi[l.spaced]}px`:l.spaced,r=l.vertical===!0?["Left","Right"]:["Top","Bottom"];n[`margin${r[0]}`]=n[`margin${r[1]}`]=e}return n});return()=>y.h("hr",{class:i.value,style:s.value,"aria-orientation":b.value})}}),Bu=$e({name:"QToggle",props:{...wa,icon:String,iconColor:String},emits:xa,setup(l){function B(t,b){const m=y.computed(()=>(t.value===!0?l.checkedIcon:b.value===!0?l.indeterminateIcon:l.uncheckedIcon)||l.icon),c=y.computed(()=>t.value===!0?l.iconColor:null);return()=>[y.h("div",{class:"q-toggle__track"}),y.h("div",{class:"q-toggle__thumb absolute flex flex-center no-wrap"},m.value!==void 0?[y.h(gt,{name:m.value,color:c.value})]:void 0)]}return Sa("toggle",B)}}),Iu={class:"text-h6 text-primary","data-testid":"avatar-initial"},Ou={class:"text-weight-bold"},Fu={class:"row items-center q-gutter-sm"},ju={class:"version-info"},Du={class:"text-caption"},Pu={class:"text-caption"},Nu={class:"text-caption"},Lu=y.defineComponent({__name:"UserAvatar",props:{username:{},onLogout:{},logoutLabel:{default:"Déconnexion"},frontVersion:{default:"N/A"},backVersion:{default:"N/A"},platform:{default:"N/A"},showVersionInfo:{type:Boolean,default:!0},showFilterToggle:{type:Boolean,default:!1},persistFilters:{type:Boolean,default:!1}},emits:["toggle-filter-persistence"],setup(l,{emit:B}){const t=l,b=y.computed(()=>t.username?.charAt(0).toUpperCase()??"");return(m,c)=>(y.openBlock(),y.createElementBlock("div",null,[y.createVNode(Ka,{class:"cursor-pointer",size:"40px",color:"white","data-cy":"cy-avatar","data-testid":"cy-avatar"},{default:y.withCtx(()=>[y.createElementVNode("span",Iu,y.toDisplayString(b.value),1),y.createVNode(Zr,{"transition-show":"flip-right","transition-hide":"flip-left",class:"user-avatar-menu"},{default:y.withCtx(()=>[y.createVNode(Ji,{class:"user-menu-list"},{default:y.withCtx(()=>[y.createVNode(Cr,{class:"user-info-section"},{default:y.withCtx(()=>[y.createVNode(Ar,null,{default:y.withCtx(()=>[y.createElementVNode("div",Ou,y.toDisplayString(m.username),1)]),_:1})]),_:1}),y.createVNode(Hr),m.showFilterToggle?(y.openBlock(),y.createBlock(Cr,{key:0,class:"filter-toggle-section"},{default:y.withCtx(()=>[y.createVNode(Ar,null,{default:y.withCtx(()=>[y.createElementVNode("div",Fu,[c[1]||(c[1]=y.createElementVNode("span",{class:"text-caption"},"Filtres persistants",-1)),y.createVNode(Bu,{"model-value":m.persistFilters,"onUpdate:modelValue":c[0]||(c[0]=i=>m.$emit("toggle-filter-persistence",i)),size:"sm","data-cy":"filter-persistence-toggle"},null,8,["model-value"])])]),_:1})]),_:1})):y.createCommentVNode("",!0),m.showFilterToggle?(y.openBlock(),y.createBlock(Hr,{key:1})):y.createCommentVNode("",!0),m.showVersionInfo?(y.openBlock(),y.createBlock(Cr,{key:2,class:"version-info-section"},{default:y.withCtx(()=>[y.createVNode(Ar,null,{default:y.withCtx(()=>[y.createElementVNode("div",ju,[c[2]||(c[2]=y.createElementVNode("div",{class:"text-caption text-grey-7"},"Informations de version",-1)),y.createElementVNode("div",Du,"Front: "+y.toDisplayString(m.frontVersion),1),y.createElementVNode("div",Pu,"Back: "+y.toDisplayString(m.backVersion),1),y.createElementVNode("div",Nu,"Plateforme: "+y.toDisplayString(m.platform),1)])]),_:1})]),_:1})):y.createCommentVNode("",!0),m.showVersionInfo?(y.openBlock(),y.createBlock(Hr,{key:3})):y.createCommentVNode("",!0),y.createVNode(Cr,{clickable:"",class:"logout-section","data-cy":"cy-logout-button","data-testid":"cy-logout-button",onClick:m.onLogout},{default:y.withCtx(()=>[y.createVNode(Ar,null,{default:y.withCtx(()=>[y.createElementVNode("div",null,y.toDisplayString(m.logoutLabel),1)]),_:1})]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1})]))}}),Vu=Ht(Lu,[["__scopeId","data-v-d9b256cf"]]),qu=$e({name:"QPageContainer",setup(l,{slots:B}){const{proxy:{$q:t}}=y.getCurrentInstance(),b=y.inject($r,Rt);if(b===Rt)return console.error("QPageContainer needs to be child of QLayout"),Rt;y.provide(La,!0);const m=y.computed(()=>{const c={};return b.header.space===!0&&(c.paddingTop=`${b.header.size}px`),b.right.space===!0&&(c[`padding${t.lang.rtl===!0?"Left":"Right"}`]=`${b.right.size}px`),b.footer.space===!0&&(c.paddingBottom=`${b.footer.size}px`),b.left.space===!0&&(c[`padding${t.lang.rtl===!0?"Right":"Left"}`]=`${b.left.size}px`),c});return()=>y.h("div",{class:"q-page-container",style:m.value},bt(B.default))}}),zu=$e({name:"QLayout",props:{container:Boolean,view:{type:String,default:"hhh lpr fff",validator:l=>/^(h|l)h(h|r) lpr (f|l)f(f|r)$/.test(l.toLowerCase())},onScroll:Function,onScrollHeight:Function,onResize:Function},setup(l,{slots:B,emit:t}){const{proxy:{$q:b}}=y.getCurrentInstance(),m=y.ref(null),c=y.ref(b.screen.height),i=y.ref(l.container===!0?0:b.screen.width),s=y.ref({position:0,direction:"down",inflectionPoint:0}),n=y.ref(0),e=y.ref(or.value===!0?0:xn()),r=y.computed(()=>"q-layout q-layout--"+(l.container===!0?"containerized":"standard")),u=y.computed(()=>l.container===!1?{minHeight:b.screen.height+"px"}:null),a=y.computed(()=>e.value!==0?{[b.lang.rtl===!0?"left":"right"]:`${e.value}px`}:null),o=y.computed(()=>e.value!==0?{[b.lang.rtl===!0?"right":"left"]:0,[b.lang.rtl===!0?"left":"right"]:`-${e.value}px`,width:`calc(100% + ${e.value}px)`}:null);function d(C){if(l.container===!0||document.qScrollPrevented!==!0){const T={position:C.position.top,direction:C.direction,directionChanged:C.directionChanged,inflectionPoint:C.inflectionPoint.top,delta:C.delta.top};s.value=T,l.onScroll!==void 0&&t("scroll",T)}}function h(C){const{height:T,width:D}=C;let V=!1;c.value!==T&&(V=!0,c.value=T,l.onScrollHeight!==void 0&&t("scrollHeight",T),g()),i.value!==D&&(V=!0,i.value=D),V===!0&&l.onResize!==void 0&&t("resize",C)}function f({height:C}){n.value!==C&&(n.value=C,g())}function g(){if(l.container===!0){const C=c.value>n.value?xn():0;e.value!==C&&(e.value=C)}}let p=null;const k={instances:{},view:y.computed(()=>l.view),isContainer:y.computed(()=>l.container),rootRef:m,height:c,containerHeight:n,scrollbarWidth:e,totalWidth:y.computed(()=>i.value+e.value),rows:y.computed(()=>{const C=l.view.toLowerCase().split(" ");return{top:C[0].split(""),middle:C[1].split(""),bottom:C[2].split("")}}),header:y.reactive({size:0,offset:0,space:!1}),right:y.reactive({size:300,offset:0,space:!1}),footer:y.reactive({size:0,offset:0,space:!1}),left:y.reactive({size:300,offset:0,space:!1}),scroll:s,animate(){p!==null?clearTimeout(p):document.body.classList.add("q-body--layout-animate"),p=setTimeout(()=>{p=null,document.body.classList.remove("q-body--layout-animate")},155)},update(C,T,D){k[C][T]=D}};if(y.provide($r,k),xn()>0){let C=function(){V=null,P.classList.remove("hide-scrollbar")},T=function(){if(V===null){if(P.scrollHeight>b.screen.height)return;P.classList.add("hide-scrollbar")}else clearTimeout(V);V=setTimeout(C,300)},D=function(N){V!==null&&N==="remove"&&(clearTimeout(V),C()),window[`${N}EventListener`]("resize",T)},V=null;const P=document.body;y.watch(()=>l.container!==!0?"add":"remove",D),l.container!==!0&&D("add"),y.onUnmounted(()=>{D("remove")})}return()=>{const C=It(B.default,[y.h(Ea,{onScroll:d}),y.h(Rr,{onResize:h})]),T=y.h("div",{class:r.value,style:u.value,ref:l.container===!0?void 0:m,tabindex:-1},C);return l.container===!0?y.h("div",{class:"q-layout-container overflow-hidden",ref:m},[y.h(Rr,{onResize:f}),y.h("div",{class:"absolute-full",style:a.value},[y.h("div",{class:"scroll",style:o.value},[T])])]):T}}}),Zi=y.defineComponent({name:"Layout",__name:"Layout",props:{view:{default:"HHh Lpr Fff"},layoutClass:{default:"bg-white"},pageContainerClass:{default:""}},setup(l){return(B,t)=>(y.openBlock(),y.createBlock(zu,{view:B.view,class:y.normalizeClass(B.layoutClass),style:{minHeight:"auto !important"}},{default:y.withCtx(()=>[y.renderSlot(B.$slots,"header"),y.createVNode(qu,{class:y.normalizeClass(B.pageContainerClass),style:{paddingBottom:"0 !important"}},{default:y.withCtx(()=>[y.renderSlot(B.$slots,"default")]),_:3},8,["class"]),y.renderSlot(B.$slots,"footer")]),_:3},8,["view","class"]))}});function Uu(){let l=Object.create(null);return{getCache:(B,t)=>l[B]===void 0?l[B]=typeof t=="function"?t():t:l[B],setCache(B,t){l[B]=t},hasCache(B){return Object.hasOwnProperty.call(l,B)},clearCache(B){B!==void 0?delete l[B]:l=Object.create(null)}}}const nr=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178];function Wu(l,B,t){return Object.prototype.toString.call(l)==="[object Date]"&&(t=l.getDate(),B=l.getMonth()+1,l=l.getFullYear()),Ku($i(l,B,t))}function Qo(l,B,t){return Za(Qu(l,B,t))}function Hu(l){return Yu(l)===0}function Sn(l,B){return B<=6?31:B<=11||Hu(l)?30:29}function Yu(l){const B=nr.length;let t=nr[0],b,m,c,i,s;if(l<t||l>=nr[B-1])throw new Error("Invalid Jalaali year "+l);for(s=1;s<B&&(b=nr[s],m=b-t,!(l<b));s+=1)t=b;return i=l-t,m-i<6&&(i=i-m+wt(m+4,33)*33),c=Pt(Pt(i+1,33)-1,4),c===-1&&(c=4),c}function Ja(l,B){const t=nr.length,b=l+621;let m=-14,c=nr[0],i,s,n,e,r;if(l<c||l>=nr[t-1])throw new Error("Invalid Jalaali year "+l);for(r=1;r<t&&(i=nr[r],s=i-c,!(l<i));r+=1)m=m+wt(s,33)*8+wt(Pt(s,33),4),c=i;e=l-c,m=m+wt(e,33)*8+wt(Pt(e,33)+3,4),Pt(s,33)===4&&s-e===4&&(m+=1);const u=wt(b,4)-wt((wt(b,100)+1)*3,4)-150,a=20+m-u;return B||(s-e<6&&(e=e-s+wt(s+4,33)*33),n=Pt(Pt(e+1,33)-1,4),n===-1&&(n=4)),{leap:n,gy:b,march:a}}function Qu(l,B,t){const b=Ja(l,!0);return $i(b.gy,3,b.march)+(B-1)*31-wt(B,7)*(B-7)+t-1}function Ku(l){const B=Za(l).gy;let t=B-621,b,m,c;const i=Ja(t,!1),s=$i(B,3,i.march);if(c=l-s,c>=0){if(c<=185)return m=1+wt(c,31),b=Pt(c,31)+1,{jy:t,jm:m,jd:b};c-=186}else t-=1,c+=179,i.leap===1&&(c+=1);return m=7+wt(c,30),b=Pt(c,30)+1,{jy:t,jm:m,jd:b}}function $i(l,B,t){let b=wt((l+wt(B-8,6)+100100)*1461,4)+wt(153*Pt(B+9,12)+2,5)+t-34840408;return b=b-wt(wt(l+100100+wt(B-8,6),100)*3,4)+752,b}function Za(l){let B=4*l+139361631;B=B+wt(wt(4*l+183187720,146097)*3,4)*4-3908;const t=wt(Pt(B,1461),4)*5+308,b=wt(Pt(t,153),5)+1,m=Pt(wt(t,153),12)+1;return{gy:wt(B,1461)-100100+wt(8-m,6),gm:m,gd:b}}function wt(l,B){return~~(l/B)}function Pt(l,B){return l-~~(l/B)*B}const Xu=["gregorian","persian"],Ko={mask:{type:String},locale:Object,calendar:{type:String,validator:l=>Xu.includes(l),default:"gregorian"},landscape:Boolean,color:String,textColor:String,square:Boolean,flat:Boolean,bordered:Boolean,readonly:Boolean,disable:Boolean},Gu=["update:modelValue"];function $t(l){return l.year+"/"+vt(l.month)+"/"+vt(l.day)}function Ju(l,B){const t=y.computed(()=>l.disable!==!0&&l.readonly!==!0),b=y.computed(()=>t.value===!0?0:-1),m=y.computed(()=>{const s=[];return l.color!==void 0&&s.push(`bg-${l.color}`),l.textColor!==void 0&&s.push(`text-${l.textColor}`),s.join(" ")});function c(){return l.locale!==void 0?{...B.lang.date,...l.locale}:B.lang.date}function i(s){const n=new Date,e=s===!0?null:0;if(l.calendar==="persian"){const r=Wu(n);return{year:r.jy,month:r.jm,day:r.jd}}return{year:n.getFullYear(),month:n.getMonth()+1,day:n.getDate(),hour:e,minute:e,second:e,millisecond:e}}return{editable:t,tabindex:b,headerClass:m,getLocale:c,getCurrentDate:i}}const ki={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:l=>l?`Expand "${l}"`:"Expand",collapse:l=>l?`Collapse "${l}"`:"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:l=>`Previous ${l} years`,nextRangeYears:l=>`Next ${l} years`},table:{noData:"No data available",noResults:"No matching records found",loading:"Loading...",selectedRecords:l=>l===1?"1 record selected.":(l===0?"No":l)+" records selected.",recordsPerPage:"Records per page:",allRows:"All",pagination:(l,B,t)=>l+"-"+B+" of "+t,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 Xo(){const l=Array.isArray(navigator.languages)===!0&&navigator.languages.length!==0?navigator.languages[0]:navigator.language;if(typeof l=="string")return l.split(/[-_]/).map((B,t)=>t===0?B.toLowerCase():t>1||B.length<4?B.toUpperCase():B[0].toUpperCase()+B.slice(1).toLowerCase()).join("-")}const tr=Cs({__qLang:{}},{getLocale:Xo,set(l=ki,B){const t={...l,rtl:l.rtl===!0,getLocale:Xo};{if(t.set=tr.set,tr.__langConfig===void 0||tr.__langConfig.noHtmlAttrs!==!0){const b=document.documentElement;b.setAttribute("dir",t.rtl===!0?"rtl":"ltr"),b.setAttribute("lang",t.isoName)}Object.assign(tr.__qLang,t)}},install({$q:l,lang:B,ssrContext:t}){l.lang=tr.__qLang,tr.__langConfig=l.config.lang,this.__installed===!0?B!==void 0&&this.set(B):(this.props=new Proxy(this.__qLang,{get(){return Reflect.get(...arguments)},ownKeys(b){return Reflect.ownKeys(b).filter(m=>m!=="set"&&m!=="getLocale")}}),this.set(B||ki))}}),$a=864e5,Zu=36e5,_i=6e4,es="YYYY-MM-DDTHH:mm:ss.SSSZ",$u=/\[((?:[^\]\\]|\\]|\\)*)\]|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,ec=/(\[[^\]]*\])|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,ai={};function tc(l,B){const t="("+B.days.join("|")+")",b=l+t;if(ai[b]!==void 0)return ai[b];const m="("+B.daysShort.join("|")+")",c="("+B.months.join("|")+")",i="("+B.monthsShort.join("|")+")",s={};let n=0;const e=l.replace(ec,u=>{switch(n++,u){case"YY":return s.YY=n,"(-?\\d{1,2})";case"YYYY":return s.YYYY=n,"(-?\\d{1,4})";case"M":return s.M=n,"(\\d{1,2})";case"Mo":return s.M=n++,"(\\d{1,2}(st|nd|rd|th))";case"MM":return s.M=n,"(\\d{2})";case"MMM":return s.MMM=n,i;case"MMMM":return s.MMMM=n,c;case"D":return s.D=n,"(\\d{1,2})";case"Do":return s.D=n++,"(\\d{1,2}(st|nd|rd|th))";case"DD":return s.D=n,"(\\d{2})";case"H":return s.H=n,"(\\d{1,2})";case"HH":return s.H=n,"(\\d{2})";case"h":return s.h=n,"(\\d{1,2})";case"hh":return s.h=n,"(\\d{2})";case"m":return s.m=n,"(\\d{1,2})";case"mm":return s.m=n,"(\\d{2})";case"s":return s.s=n,"(\\d{1,2})";case"ss":return s.s=n,"(\\d{2})";case"S":return s.S=n,"(\\d{1})";case"SS":return s.S=n,"(\\d{2})";case"SSS":return s.S=n,"(\\d{3})";case"A":return s.A=n,"(AM|PM)";case"a":return s.a=n,"(am|pm)";case"aa":return s.aa=n,"(a\\.m\\.|p\\.m\\.)";case"ddd":return m;case"dddd":return t;case"Q":case"d":case"E":return"(\\d{1})";case"do":return n++,"(\\d{1}(st|nd|rd|th))";case"Qo":return"(1st|2nd|3rd|4th)";case"DDD":case"DDDD":return"(\\d{1,3})";case"DDDo":return n++,"(\\d{1,3}(st|nd|rd|th))";case"w":return"(\\d{1,2})";case"wo":return n++,"(\\d{1,2}(st|nd|rd|th))";case"ww":return"(\\d{2})";case"Z":return s.Z=n,"(Z|[+-]\\d{2}:\\d{2})";case"ZZ":return s.ZZ=n,"(Z|[+-]\\d{2}\\d{2})";case"X":return s.X=n,"(-?\\d+)";case"x":return s.x=n,"(-?\\d{4,})";default:return n--,u[0]==="["&&(u=u.substring(1,u.length-1)),u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}),r={map:s,regex:new RegExp("^"+e)};return ai[b]=r,r}function ts(l,B){return l!==void 0?l:B!==void 0?B.date:ki.date}function Go(l,B=""){const t=l>0?"-":"+",b=Math.abs(l),m=Math.floor(b/60),c=b%60;return t+vt(m)+B+vt(c)}function rc(l,B,t){let b=l.getFullYear(),m=l.getMonth();const c=l.getDate();return B.year!==void 0&&(b+=t*B.year,delete B.year),B.month!==void 0&&(m+=t*B.month,delete B.month),l.setDate(1),l.setMonth(2),l.setFullYear(b),l.setMonth(m),l.setDate(Math.min(c,ro(l))),B.date!==void 0&&(l.setDate(l.getDate()+t*B.date),delete B.date),l}function nc(l,B,t){const b=B.year!==void 0?B.year:l[`get${t}FullYear`](),m=B.month!==void 0?B.month-1:l[`get${t}Month`](),c=new Date(b,m+1,0).getDate(),i=Math.min(c,B.date!==void 0?B.date:l[`get${t}Date`]());return l[`set${t}Date`](1),l[`set${t}Month`](2),l[`set${t}FullYear`](b),l[`set${t}Month`](m),l[`set${t}Date`](i),delete B.year,delete B.month,delete B.date,l}function eo(l,B,t){const b=rs(B),m=new Date(l),c=b.year!==void 0||b.month!==void 0||b.date!==void 0?rc(m,b,t):m;for(const i in b){const s=Sl(i);c[`set${s}`](c[`get${s}`]()+t*b[i])}return c}function rs(l){const B={...l};return l.years!==void 0&&(B.year=l.years,delete B.years),l.months!==void 0&&(B.month=l.months,delete B.months),l.days!==void 0&&(B.date=l.days,delete B.days),l.day!==void 0&&(B.date=l.day,delete B.day),l.hour!==void 0&&(B.hours=l.hour,delete B.hour),l.minute!==void 0&&(B.minutes=l.minute,delete B.minute),l.second!==void 0&&(B.seconds=l.second,delete B.second),l.millisecond!==void 0&&(B.milliseconds=l.millisecond,delete B.millisecond),B}function ns(l,B,t){const b=rs(B),m=t===!0?"UTC":"",c=new Date(l),i=b.year!==void 0||b.month!==void 0||b.date!==void 0?nc(c,b,m):c;for(const s in b){const n=s.charAt(0).toUpperCase()+s.slice(1);i[`set${m}${n}`](b[s])}return i}function ic(l,B,t){const b=is(l,B,t),m=new Date(b.year,b.month===null?null:b.month-1,b.day===null?1:b.day,b.hour,b.minute,b.second,b.millisecond),c=m.getTimezoneOffset();return b.timezoneOffset===null||b.timezoneOffset===c?m:eo(m,{minutes:b.timezoneOffset-c},1)}function is(l,B,t,b,m){const c={year:null,month:null,day:null,hour:null,minute:null,second:null,millisecond:null,timezoneOffset:null,dateHash:null,timeHash:null};if(m!==void 0&&Object.assign(c,m),l==null||l===""||typeof l!="string")return c;B===void 0&&(B=es);const i=ts(t,tr.props),s=i.months,n=i.monthsShort,{regex:e,map:r}=tc(B,i),u=l.match(e);if(u===null)return c;let a="";if(r.X!==void 0||r.x!==void 0){const o=parseInt(u[r.X!==void 0?r.X:r.x],10);if(isNaN(o)===!0||o<0)return c;const d=new Date(o*(r.X!==void 0?1e3:1));c.year=d.getFullYear(),c.month=d.getMonth()+1,c.day=d.getDate(),c.hour=d.getHours(),c.minute=d.getMinutes(),c.second=d.getSeconds(),c.millisecond=d.getMilliseconds()}else{if(r.YYYY!==void 0)c.year=parseInt(u[r.YYYY],10);else if(r.YY!==void 0){const o=parseInt(u[r.YY],10);c.year=o<0?o:2e3+o}if(r.M!==void 0){if(c.month=parseInt(u[r.M],10),c.month<1||c.month>12)return c}else r.MMM!==void 0?c.month=n.indexOf(u[r.MMM])+1:r.MMMM!==void 0&&(c.month=s.indexOf(u[r.MMMM])+1);if(r.D!==void 0){if(c.day=parseInt(u[r.D],10),c.year===null||c.month===null||c.day<1)return c;const o=b!=="persian"?new Date(c.year,c.month,0).getDate():Sn(c.year,c.month);if(c.day>o)return c}r.H!==void 0?c.hour=parseInt(u[r.H],10)%24:r.h!==void 0&&(c.hour=parseInt(u[r.h],10)%12,(r.A&&u[r.A]==="PM"||r.a&&u[r.a]==="pm"||r.aa&&u[r.aa]==="p.m.")&&(c.hour+=12),c.hour=c.hour%24),r.m!==void 0&&(c.minute=parseInt(u[r.m],10)%60),r.s!==void 0&&(c.second=parseInt(u[r.s],10)%60),r.S!==void 0&&(c.millisecond=parseInt(u[r.S],10)*10**(3-u[r.S].length)),(r.Z!==void 0||r.ZZ!==void 0)&&(a=r.Z!==void 0?u[r.Z].replace(":",""):u[r.ZZ],c.timezoneOffset=(a[0]==="+"?-1:1)*(60*a.slice(1,3)+1*a.slice(3,5)))}return c.dateHash=vt(c.year,4)+"/"+vt(c.month)+"/"+vt(c.day),c.timeHash=vt(c.hour)+":"+vt(c.minute)+":"+vt(c.second)+a,c}function oc(l){return typeof l=="number"?!0:isNaN(Date.parse(l))===!1}function ac(l,B){return ns(new Date,l,B)}function sc(l){const B=new Date(l).getDay();return B===0?7:B}function kn(l){const B=new Date(l.getFullYear(),l.getMonth(),l.getDate());B.setDate(B.getDate()-(B.getDay()+6)%7+3);const t=new Date(B.getFullYear(),0,4);t.setDate(t.getDate()-(t.getDay()+6)%7+3);const b=B.getTimezoneOffset()-t.getTimezoneOffset();B.setHours(B.getHours()-b);const m=(B-t)/($a*7);return 1+Math.floor(m)}function lc(l){return l.getFullYear()*1e4+l.getMonth()*100+l.getDate()}function si(l,B){const t=new Date(l);return B===!0?lc(t):t.getTime()}function uc(l,B,t,b={}){const m=si(B,b.onlyDate),c=si(t,b.onlyDate),i=si(l,b.onlyDate);return(i>m||b.inclusiveFrom===!0&&i===m)&&(i<c||b.inclusiveTo===!0&&i===c)}function cc(l,B){return eo(l,B,1)}function fc(l,B){return eo(l,B,-1)}function Wt(l,B,t){const b=new Date(l),m=`set${t===!0?"UTC":""}`;switch(B){case"year":case"years":b[`${m}Month`](0);case"month":case"months":b[`${m}Date`](1);case"day":case"days":case"date":b[`${m}Hours`](0);case"hour":case"hours":b[`${m}Minutes`](0);case"minute":case"minutes":b[`${m}Seconds`](0);case"second":case"seconds":b[`${m}Milliseconds`](0)}return b}function dc(l,B,t){const b=new Date(l),m=`set${t===!0?"UTC":""}`;switch(B){case"year":case"years":b[`${m}Month`](11);case"month":case"months":b[`${m}Date`](ro(b));case"day":case"days":case"date":b[`${m}Hours`](23);case"hour":case"hours":b[`${m}Minutes`](59);case"minute":case"minutes":b[`${m}Seconds`](59);case"second":case"seconds":b[`${m}Milliseconds`](999)}return b}function hc(l){let B=new Date(l);return Array.prototype.slice.call(arguments,1).forEach(t=>{B=Math.max(B,new Date(t))}),B}function pc(l){let B=new Date(l);return Array.prototype.slice.call(arguments,1).forEach(t=>{B=Math.min(B,new Date(t))}),B}function pn(l,B,t){return(l.getTime()-l.getTimezoneOffset()*_i-(B.getTime()-B.getTimezoneOffset()*_i))/t}function to(l,B,t="days"){const b=new Date(l),m=new Date(B);switch(t){case"years":case"year":return b.getFullYear()-m.getFullYear();case"months":case"month":return(b.getFullYear()-m.getFullYear())*12+b.getMonth()-m.getMonth();case"days":case"day":case"date":return pn(Wt(b,"day"),Wt(m,"day"),$a);case"hours":case"hour":return pn(Wt(b,"hour"),Wt(m,"hour"),Zu);case"minutes":case"minute":return pn(Wt(b,"minute"),Wt(m,"minute"),_i);case"seconds":case"second":return pn(Wt(b,"second"),Wt(m,"second"),1e3)}}function _n(l){return to(l,Wt(l,"year"),"days")+1}function mc(l){return On(l)===!0?"date":typeof l=="number"?"number":"string"}function gc(l,B,t){const b=new Date(l);if(B){const m=new Date(B);if(b<m)return m}if(t){const m=new Date(t);if(b>m)return m}return b}function bc(l,B,t){const b=new Date(l),m=new Date(B);if(t===void 0)return b.getTime()===m.getTime();switch(t){case"second":case"seconds":if(b.getSeconds()!==m.getSeconds())return!1;case"minute":case"minutes":if(b.getMinutes()!==m.getMinutes())return!1;case"hour":case"hours":if(b.getHours()!==m.getHours())return!1;case"day":case"days":case"date":if(b.getDate()!==m.getDate())return!1;case"month":case"months":if(b.getMonth()!==m.getMonth())return!1;case"year":case"years":if(b.getFullYear()!==m.getFullYear())return!1;break;default:throw new Error(`date isSameDate unknown unit ${t}`)}return!0}function ro(l){return new Date(l.getFullYear(),l.getMonth()+1,0).getDate()}function Sr(l){if(l>=11&&l<=13)return`${l}th`;switch(l%10){case 1:return`${l}st`;case 2:return`${l}nd`;case 3:return`${l}rd`}return`${l}th`}const Jo={YY(l,B,t){const b=this.YYYY(l,B,t)%100;return b>=0?vt(b):"-"+vt(Math.abs(b))},YYYY(l,B,t){return t??l.getFullYear()},M(l){return l.getMonth()+1},Mo(l){return Sr(l.getMonth()+1)},MM(l){return vt(l.getMonth()+1)},MMM(l,B){return B.monthsShort[l.getMonth()]},MMMM(l,B){return B.months[l.getMonth()]},Q(l){return Math.ceil((l.getMonth()+1)/3)},Qo(l){return Sr(this.Q(l))},D(l){return l.getDate()},Do(l){return Sr(l.getDate())},DD(l){return vt(l.getDate())},DDD(l){return _n(l)},DDDo(l){return Sr(_n(l))},DDDD(l){return vt(_n(l),3)},d(l){return l.getDay()},do(l){return Sr(l.getDay())},dd(l,B){return B.days[l.getDay()].slice(0,2)},ddd(l,B){return B.daysShort[l.getDay()]},dddd(l,B){return B.days[l.getDay()]},E(l){return l.getDay()||7},w(l){return kn(l)},wo(l){return Sr(kn(l))},ww(l){return vt(kn(l))},H(l){return l.getHours()},HH(l){return vt(l.getHours())},h(l){const B=l.getHours();return B===0?12:B>12?B%12:B},hh(l){return vt(this.h(l))},m(l){return l.getMinutes()},mm(l){return vt(l.getMinutes())},s(l){return l.getSeconds()},ss(l){return vt(l.getSeconds())},S(l){return Math.floor(l.getMilliseconds()/100)},SS(l){return vt(Math.floor(l.getMilliseconds()/10))},SSS(l){return vt(l.getMilliseconds(),3)},A(l){return l.getHours()<12?"AM":"PM"},a(l){return l.getHours()<12?"am":"pm"},aa(l){return l.getHours()<12?"a.m.":"p.m."},Z(l,B,t,b){const m=b??l.getTimezoneOffset();return Go(m,":")},ZZ(l,B,t,b){const m=b??l.getTimezoneOffset();return Go(m)},X(l){return Math.floor(l.getTime()/1e3)},x(l){return l.getTime()}};function os(l,B,t,b,m){if(l!==0&&!l||l===1/0||l===-1/0)return;const c=new Date(l);if(isNaN(c))return;B===void 0&&(B=es);const i=ts(t,tr.props);return B.replace($u,(s,n)=>s in Jo?Jo[s](c,i,b,m):n===void 0?s:n.split("\\]").join("]"))}function vc(l){return On(l)===!0?new Date(l.getTime()):l}const as={isValid:oc,extractDate:ic,buildDate:ac,getDayOfWeek:sc,getWeekOfYear:kn,isBetweenDates:uc,addToDate:cc,subtractFromDate:fc,adjustDate:ns,startOfDate:Wt,endOfDate:dc,getMaxDate:hc,getMinDate:pc,getDateDiff:to,getDayOfYear:_n,inferDateFormat:mc,getDateBetween:gc,isSameDate:bc,daysInMonth:ro,formatDate:os,clone:vc},Qt=20,yc=["Calendar","Years","Months"],Zo=l=>yc.includes(l),li=l=>/^-?[\d]+\/[0-1]\d$/.test(l),kr=" — ";function er(l){return l.year+"/"+vt(l.month)}const ss=$e({name:"QDate",props:{...Ko,...Nn,...Ot,modelValue:{required:!0,validator:l=>typeof l=="string"||Array.isArray(l)===!0||Object(l)===l||l===null},multiple:Boolean,range:Boolean,title:String,subtitle:String,mask:{...Ko.mask,default:"YYYY/MM/DD"},defaultYearMonth:{type:String,validator:li},yearsInMonthView:Boolean,events:[Array,Function],eventColor:[String,Function],emitImmediately:Boolean,options:[Array,Function],navigationMinYearMonth:{type:String,validator:li},navigationMaxYearMonth:{type:String,validator:li},noUnset:Boolean,firstDayOfWeek:[String,Number],todayBtn:Boolean,minimal:Boolean,defaultView:{type:String,default:"Calendar",validator:Zo}},emits:[...Gu,"rangeStart","rangeEnd","navigation"],setup(l,{slots:B,emit:t}){const{proxy:b}=y.getCurrentInstance(),{$q:m}=b,c=Ft(l,m),{getCache:i}=Uu(),{tabindex:s,headerClass:n,getLocale:e,getCurrentDate:r}=Ju(l,m);let u;const a=sl(l),o=va(a),d=y.ref(null),h=y.ref(Ue()),f=y.ref(e()),g=y.computed(()=>Ue()),p=y.computed(()=>e()),k=y.computed(()=>r()),C=y.ref(Le(h.value,f.value)),T=y.ref(l.defaultView),D=y.computed(()=>m.lang.rtl===!0?"right":"left"),V=y.ref(D.value),P=y.ref(D.value),N=C.value.year,q=y.ref(N-N%Qt-(N<0?Qt:0)),W=y.ref(null),L=y.computed(()=>{const re=l.landscape===!0?"landscape":"portrait";return`q-date q-date--${re} q-date--${re}-${l.minimal===!0?"minimal":"standard"}`+(c.value===!0?" q-date--dark q-dark":"")+(l.bordered===!0?" q-date--bordered":"")+(l.square===!0?" q-date--square no-border-radius":"")+(l.flat===!0?" q-date--flat no-shadow":"")+(l.disable===!0?" disabled":l.readonly===!0?" q-date--readonly":"")}),A=y.computed(()=>l.color||"primary"),M=y.computed(()=>l.textColor||"white"),_=y.computed(()=>l.emitImmediately===!0&&l.multiple!==!0&&l.range!==!0),v=y.computed(()=>Array.isArray(l.modelValue)===!0?l.modelValue:l.modelValue!==null&&l.modelValue!==void 0?[l.modelValue]:[]),x=y.computed(()=>v.value.filter(re=>typeof re=="string").map(re=>Ne(re,h.value,f.value)).filter(re=>re.dateHash!==null&&re.day!==null&&re.month!==null&&re.year!==null)),w=y.computed(()=>{const re=X=>Ne(X,h.value,f.value);return v.value.filter(X=>Qa(X)===!0&&X.from!==void 0&&X.to!==void 0).map(X=>({from:re(X.from),to:re(X.to)})).filter(X=>X.from.dateHash!==null&&X.to.dateHash!==null&&X.from.dateHash<X.to.dateHash)}),S=y.computed(()=>l.calendar!=="persian"?re=>new Date(re.year,re.month-1,re.day):re=>{const X=Qo(re.year,re.month,re.day);return new Date(X.gy,X.gm-1,X.gd)}),E=y.computed(()=>l.calendar==="persian"?$t:(re,X,ne)=>os(new Date(re.year,re.month-1,re.day,re.hour,re.minute,re.second,re.millisecond),X===void 0?h.value:X,ne===void 0?f.value:ne,re.year,re.timezoneOffset)),O=y.computed(()=>x.value.length+w.value.reduce((re,X)=>re+1+to(S.value(X.to),S.value(X.from)),0)),R=y.computed(()=>{if(l.title!==void 0&&l.title!==null&&l.title.length!==0)return l.title;if(W.value!==null){const ne=W.value.init,de=S.value(ne);return f.value.daysShort[de.getDay()]+", "+f.value.monthsShort[ne.month-1]+" "+ne.day+kr+"?"}if(O.value===0)return kr;if(O.value>1)return`${O.value} ${f.value.pluralDay}`;const re=x.value[0],X=S.value(re);return isNaN(X.valueOf())===!0?kr:f.value.headerTitle!==void 0?f.value.headerTitle(X,re):f.value.daysShort[X.getDay()]+", "+f.value.monthsShort[re.month-1]+" "+re.day}),z=y.computed(()=>x.value.concat(w.value.map(X=>X.from)).sort((X,ne)=>X.year-ne.year||X.month-ne.month)[0]),U=y.computed(()=>x.value.concat(w.value.map(X=>X.to)).sort((X,ne)=>ne.year-X.year||ne.month-X.month)[0]),Q=y.computed(()=>{if(l.subtitle!==void 0&&l.subtitle!==null&&l.subtitle.length!==0)return l.subtitle;if(O.value===0)return kr;if(O.value>1){const re=z.value,X=U.value,ne=f.value.monthsShort;return ne[re.month-1]+(re.year!==X.year?" "+re.year+kr+ne[X.month-1]+" ":re.month!==X.month?kr+ne[X.month-1]:"")+" "+X.year}return x.value[0].year}),j=y.computed(()=>{const re=[m.iconSet.datetime.arrowLeft,m.iconSet.datetime.arrowRight];return m.lang.rtl===!0?re.reverse():re}),Y=y.computed(()=>l.firstDayOfWeek!==void 0?Number(l.firstDayOfWeek):f.value.firstDayOfWeek),F=y.computed(()=>{const re=f.value.daysShort,X=Y.value;return X>0?re.slice(X,7).concat(re.slice(0,X)):re}),I=y.computed(()=>{const re=C.value;return l.calendar!=="persian"?new Date(re.year,re.month,0).getDate():Sn(re.year,re.month)}),H=y.computed(()=>typeof l.eventColor=="function"?l.eventColor:()=>l.eventColor),K=y.computed(()=>{if(l.navigationMinYearMonth===void 0)return null;const re=l.navigationMinYearMonth.split("/");return{year:parseInt(re[0],10),month:parseInt(re[1],10)}}),ee=y.computed(()=>{if(l.navigationMaxYearMonth===void 0)return null;const re=l.navigationMaxYearMonth.split("/");return{year:parseInt(re[0],10),month:parseInt(re[1],10)}}),G=y.computed(()=>{const re={month:{prev:!0,next:!0},year:{prev:!0,next:!0}};return K.value!==null&&K.value.year>=C.value.year&&(re.year.prev=!1,K.value.year===C.value.year&&K.value.month>=C.value.month&&(re.month.prev=!1)),ee.value!==null&&ee.value.year<=C.value.year&&(re.year.next=!1,ee.value.year===C.value.year&&ee.value.month<=C.value.month&&(re.month.next=!1)),re}),te=y.computed(()=>{const re={};return x.value.forEach(X=>{const ne=er(X);re[ne]===void 0&&(re[ne]=[]),re[ne].push(X.day)}),re}),ce=y.computed(()=>{const re={};return w.value.forEach(X=>{const ne=er(X.from),de=er(X.to);if(re[ne]===void 0&&(re[ne]=[]),re[ne].push({from:X.from.day,to:ne===de?X.to.day:void 0,range:X}),ne<de){let be;const{year:Me,month:ve}=X.from,_e=ve<12?{year:Me,month:ve+1}:{year:Me+1,month:1};for(;(be=er(_e))<=de;)re[be]===void 0&&(re[be]=[]),re[be].push({from:void 0,to:be===de?X.to.day:void 0,range:X}),_e.month++,_e.month>12&&(_e.year++,_e.month=1)}}),re}),ue=y.computed(()=>{if(W.value===null)return;const{init:re,initHash:X,final:ne,finalHash:de}=W.value,[be,Me]=X<=de?[re,ne]:[ne,re],ve=er(be),_e=er(Me);if(ve!==J.value&&_e!==J.value)return;const Be={};return ve===J.value?(Be.from=be.day,Be.includeFrom=!0):Be.from=1,_e===J.value?(Be.to=Me.day,Be.includeTo=!0):Be.to=I.value,Be}),J=y.computed(()=>er(C.value)),ae=y.computed(()=>{const re={};if(l.options===void 0){for(let ne=1;ne<=I.value;ne++)re[ne]=!0;return re}const X=typeof l.options=="function"?l.options:ne=>l.options.includes(ne);for(let ne=1;ne<=I.value;ne++){const de=J.value+"/"+vt(ne);re[ne]=X(de)}return re}),se=y.computed(()=>{const re={};if(l.events===void 0)for(let X=1;X<=I.value;X++)re[X]=!1;else{const X=typeof l.events=="function"?l.events:ne=>l.events.includes(ne);for(let ne=1;ne<=I.value;ne++){const de=J.value+"/"+vt(ne);re[ne]=X(de)===!0&&H.value(de)}}return re}),pe=y.computed(()=>{let re,X;const{year:ne,month:de}=C.value;if(l.calendar!=="persian")re=new Date(ne,de-1,1),X=new Date(ne,de-1,0).getDate();else{const be=Qo(ne,de,1);re=new Date(be.gy,be.gm-1,be.gd);let Me=de-1,ve=ne;Me===0&&(Me=12,ve--),X=Sn(ve,Me)}return{days:re.getDay()-Y.value-1,endDay:X}}),$=y.computed(()=>{const re=[],{days:X,endDay:ne}=pe.value,de=X<0?X+7:X;if(de<6)for(let ve=ne-de;ve<=ne;ve++)re.push({i:ve,fill:!0});const be=re.length;for(let ve=1;ve<=I.value;ve++){const _e={i:ve,event:se.value[ve],classes:[]};ae.value[ve]===!0&&(_e.in=!0,_e.flat=!0),re.push(_e)}if(te.value[J.value]!==void 0&&te.value[J.value].forEach(ve=>{const _e=be+ve-1;Object.assign(re[_e],{selected:!0,unelevated:!0,flat:!1,color:A.value,textColor:M.value})}),ce.value[J.value]!==void 0&&ce.value[J.value].forEach(ve=>{if(ve.from!==void 0){const _e=be+ve.from-1,Be=be+(ve.to||I.value)-1;for(let ze=_e;ze<=Be;ze++)Object.assign(re[ze],{range:ve.range,unelevated:!0,color:A.value,textColor:M.value});Object.assign(re[_e],{rangeFrom:!0,flat:!1}),ve.to!==void 0&&Object.assign(re[Be],{rangeTo:!0,flat:!1})}else if(ve.to!==void 0){const _e=be+ve.to-1;for(let Be=be;Be<=_e;Be++)Object.assign(re[Be],{range:ve.range,unelevated:!0,color:A.value,textColor:M.value});Object.assign(re[_e],{flat:!1,rangeTo:!0})}else{const _e=be+I.value-1;for(let Be=be;Be<=_e;Be++)Object.assign(re[Be],{range:ve.range,unelevated:!0,color:A.value,textColor:M.value})}}),ue.value!==void 0){const ve=be+ue.value.from-1,_e=be+ue.value.to-1;for(let Be=ve;Be<=_e;Be++)re[Be].color=A.value,re[Be].editRange=!0;ue.value.includeFrom===!0&&(re[ve].editRangeFrom=!0),ue.value.includeTo===!0&&(re[_e].editRangeTo=!0)}C.value.year===k.value.year&&C.value.month===k.value.month&&(re[be+k.value.day-1].today=!0);const Me=re.length%7;if(Me>0){const ve=7-Me;for(let _e=1;_e<=ve;_e++)re.push({i:_e,fill:!0})}return re.forEach(ve=>{let _e="q-date__calendar-item ";ve.fill===!0?_e+="q-date__calendar-item--fill":(_e+=`q-date__calendar-item--${ve.in===!0?"in":"out"}`,ve.range!==void 0&&(_e+=` q-date__range${ve.rangeTo===!0?"-to":ve.rangeFrom===!0?"-from":""}`),ve.editRange===!0&&(_e+=` q-date__edit-range${ve.editRangeFrom===!0?"-from":""}${ve.editRangeTo===!0?"-to":""}`),(ve.range!==void 0||ve.editRange===!0)&&(_e+=` text-${ve.color}`)),ve.classes=_e}),re}),ie=y.computed(()=>l.disable===!0?{"aria-disabled":"true"}:{});y.watch(()=>l.modelValue,re=>{if(u===JSON.stringify(re))u=0;else{const X=Le(h.value,f.value);et(X.year,X.month,X)}}),y.watch(T,()=>{d.value!==null&&b.$el.contains(document.activeElement)===!0&&d.value.focus()}),y.watch(()=>C.value.year+"|"+C.value.month,()=>{t("navigation",{year:C.value.year,month:C.value.month})}),y.watch(g,re=>{xe(re,f.value,"mask"),h.value=re}),y.watch(p,re=>{xe(h.value,re,"locale"),f.value=re});function oe(re){u=JSON.stringify(re)}function le(){const{year:re,month:X,day:ne}=k.value,de={...C.value,year:re,month:X,day:ne},be=te.value[er(de)];(be===void 0||be.includes(de.day)===!1)&&at(de),Ae(de.year,de.month)}function ge(re){Zo(re)===!0&&(T.value=re)}function Ce(re,X){["month","year"].includes(re)&&(re==="month"?Fe:ke)(X===!0?-1:1)}function Ae(re,X){T.value="Calendar",et(re,X)}function Te(re,X){if(l.range===!1||!re){W.value=null;return}const ne=Object.assign({...C.value},re),de=X!==void 0?Object.assign({...C.value},X):ne;W.value={init:ne,initHash:$t(ne),final:de,finalHash:$t(de)},Ae(ne.year,ne.month)}function Ue(){return l.calendar==="persian"?"YYYY/MM/DD":l.mask}function Ne(re,X,ne){return is(re,X,ne,l.calendar,{hour:0,minute:0,second:0,millisecond:0})}function Le(re,X){const ne=Array.isArray(l.modelValue)===!0?l.modelValue:l.modelValue?[l.modelValue]:[];if(ne.length===0)return qe();const de=ne[ne.length-1],be=Ne(de.from!==void 0?de.from:de,re,X);return be.dateHash===null?qe():be}function qe(){let re,X;if(l.defaultYearMonth!==void 0){const ne=l.defaultYearMonth.split("/");re=parseInt(ne[0],10),X=parseInt(ne[1],10)}else{const ne=k.value!==void 0?k.value:r();re=ne.year,X=ne.month}return{year:re,month:X,day:1,hour:0,minute:0,second:0,millisecond:0,dateHash:re+"/"+vt(X)+"/01"}}function Fe(re){let X=C.value.year,ne=Number(C.value.month)+re;ne===13?(ne=1,X++):ne===0&&(ne=12,X--),et(X,ne),_.value===!0&&nt("month")}function ke(re){const X=Number(C.value.year)+re;et(X,C.value.month),_.value===!0&&nt("year")}function De(re){et(re,C.value.month),T.value=l.defaultView==="Years"?"Months":"Calendar",_.value===!0&&nt("year")}function We(re){et(C.value.year,re),T.value="Calendar",_.value===!0&&nt("month")}function Ve(re,X){(te.value[X]?.includes(re.day)===!0?me:at)(re)}function Ge(re){return{year:re.year,month:re.month,day:re.day}}function et(re,X,ne){if(K.value!==null&&re<=K.value.year&&((X<K.value.month||re<K.value.year)&&(X=K.value.month),re=K.value.year),ee.value!==null&&re>=ee.value.year&&((X>ee.value.month||re>ee.value.year)&&(X=ee.value.month),re=ee.value.year),ne!==void 0){const{hour:be,minute:Me,second:ve,millisecond:_e,timezoneOffset:Be,timeHash:ze}=ne;Object.assign(C.value,{hour:be,minute:Me,second:ve,millisecond:_e,timezoneOffset:Be,timeHash:ze})}const de=re+"/"+vt(X)+"/01";de!==C.value.dateHash&&(V.value=C.value.dateHash<de==(m.lang.rtl!==!0)?"left":"right",re!==C.value.year&&(P.value=V.value),y.nextTick(()=>{q.value=re-re%Qt-(re<0?Qt:0),Object.assign(C.value,{year:re,month:X,day:1,dateHash:de})}))}function He(re,X,ne){const de=re!==null&&re.length===1&&l.multiple===!1?re[0]:re,{reason:be,details:Me}=tt(X,ne);oe(de),t("update:modelValue",de,be,Me)}function nt(re){const X=x.value[0]!==void 0&&x.value[0].dateHash!==null?{...x.value[0]}:{...C.value};y.nextTick(()=>{X.year=C.value.year,X.month=C.value.month;const ne=l.calendar!=="persian"?new Date(X.year,X.month,0).getDate():Sn(X.year,X.month);X.day=Math.min(Math.max(1,X.day),ne);const de=Ye(X),{details:be}=tt("",X);oe(de),t("update:modelValue",de,re,be)})}function tt(re,X){return X.from!==void 0?{reason:`${re}-range`,details:{...Ge(X.target),from:Ge(X.from),to:Ge(X.to)}}:{reason:`${re}-day`,details:Ge(X)}}function Ye(re,X,ne){return re.from!==void 0?{from:E.value(re.from,X,ne),to:E.value(re.to,X,ne)}:E.value(re,X,ne)}function at(re){let X;if(l.multiple===!0)if(re.from!==void 0){const ne=$t(re.from),de=$t(re.to),be=x.value.filter(ve=>ve.dateHash<ne||ve.dateHash>de),Me=w.value.filter(({from:ve,to:_e})=>_e.dateHash<ne||ve.dateHash>de);X=be.concat(Me).concat(re).map(ve=>Ye(ve))}else{const ne=v.value.slice();ne.push(Ye(re)),X=ne}else X=Ye(re);He(X,"add",re)}function me(re){if(l.noUnset===!0)return;let X=null;if(l.multiple===!0&&Array.isArray(l.modelValue)===!0){const ne=Ye(re);re.from!==void 0?X=l.modelValue.filter(de=>de.from!==void 0?de.from!==ne.from&&de.to!==ne.to:!0):X=l.modelValue.filter(de=>de!==ne),X.length===0&&(X=null)}He(X,"remove",re)}function xe(re,X,ne){const de=x.value.concat(w.value).map(Me=>Ye(Me,re,X)).filter(Me=>Me.from!==void 0?Me.from.dateHash!==null&&Me.to.dateHash!==null:Me.dateHash!==null),be=(l.multiple===!0?de:de[0])||null;oe(be),t("update:modelValue",be,ne)}function Re(){if(l.minimal!==!0)return y.h("div",{class:"q-date__header "+n.value},[y.h("div",{class:"relative-position"},[y.h(y.Transition,{name:"q-transition--fade"},()=>y.h("div",{key:"h-yr-"+Q.value,class:"q-date__header-subtitle q-date__header-link "+(T.value==="Years"?"q-date__header-link--active":"cursor-pointer"),tabindex:s.value,...i("vY",{onClick(){T.value="Years"},onKeyup(re){re.keyCode===13&&(T.value="Years")}})},[Q.value]))]),y.h("div",{class:"q-date__header-title relative-position flex no-wrap"},[y.h("div",{class:"relative-position col"},[y.h(y.Transition,{name:"q-transition--fade"},()=>y.h("div",{key:"h-sub"+R.value,class:"q-date__header-title-label q-date__header-link "+(T.value==="Calendar"?"q-date__header-link--active":"cursor-pointer"),tabindex:s.value,...i("vC",{onClick(){T.value="Calendar"},onKeyup(re){re.keyCode===13&&(T.value="Calendar")}})},[R.value]))]),l.todayBtn===!0?y.h(ut,{class:"q-date__header-today self-start",icon:m.iconSet.datetime.today,"aria-label":m.lang.date.today,flat:!0,size:"sm",round:!0,tabindex:s.value,onClick:le}):null])])}function Oe({label:re,type:X,key:ne,dir:de,goTo:be,boundaries:Me,cls:ve}){return[y.h("div",{class:"row items-center q-date__arrow"},[y.h(ut,{round:!0,dense:!0,size:"sm",flat:!0,icon:j.value[0],"aria-label":X==="Years"?m.lang.date.prevYear:m.lang.date.prevMonth,tabindex:s.value,disable:Me.prev===!1,...i("go-#"+X,{onClick(){be(-1)}})})]),y.h("div",{class:"relative-position overflow-hidden flex flex-center"+ve},[y.h(y.Transition,{name:"q-transition--jump-"+de},()=>y.h("div",{key:ne},[y.h(ut,{flat:!0,dense:!0,noCaps:!0,label:re,tabindex:s.value,...i("view#"+X,{onClick:()=>{T.value=X}})})]))]),y.h("div",{class:"row items-center q-date__arrow"},[y.h(ut,{round:!0,dense:!0,size:"sm",flat:!0,icon:j.value[1],"aria-label":X==="Years"?m.lang.date.nextYear:m.lang.date.nextMonth,tabindex:s.value,disable:Me.next===!1,...i("go+#"+X,{onClick(){be(1)}})})])]}const Ee={Calendar:()=>[y.h("div",{key:"calendar-view",class:"q-date__view q-date__calendar"},[y.h("div",{class:"q-date__navigation row items-center no-wrap"},Oe({label:f.value.months[C.value.month-1],type:"Months",key:C.value.month,dir:V.value,goTo:Fe,boundaries:G.value.month,cls:" col"}).concat(Oe({label:C.value.year,type:"Years",key:C.value.year,dir:P.value,goTo:ke,boundaries:G.value.year,cls:""}))),y.h("div",{class:"q-date__calendar-weekdays row items-center no-wrap"},F.value.map(re=>y.h("div",{class:"q-date__calendar-item"},[y.h("div",re)]))),y.h("div",{class:"q-date__calendar-days-container relative-position overflow-hidden"},[y.h(y.Transition,{name:"q-transition--slide-"+V.value},()=>y.h("div",{key:J.value,class:"q-date__calendar-days fit"},$.value.map(re=>y.h("div",{class:re.classes},[re.in===!0?y.h(ut,{class:re.today===!0?"q-date__today":"",dense:!0,flat:re.flat,unelevated:re.unelevated,color:re.color,textColor:re.textColor,label:re.i,tabindex:s.value,...i("day#"+re.i,{onClick:()=>{Qe(re.i)},onMouseover:()=>{Ke(re.i)}})},re.event!==!1?()=>y.h("div",{class:"q-date__event bg-"+re.event}):null):y.h("div",""+re.i)]))))])])],Months(){const re=C.value.year===k.value.year,X=de=>K.value!==null&&C.value.year===K.value.year&&K.value.month>de||ee.value!==null&&C.value.year===ee.value.year&&ee.value.month<de,ne=f.value.monthsShort.map((de,be)=>{const Me=C.value.month===be+1;return y.h("div",{class:"q-date__months-item flex flex-center"},[y.h(ut,{class:re===!0&&k.value.month===be+1?"q-date__today":null,flat:Me!==!0,label:de,unelevated:Me,color:Me===!0?A.value:null,textColor:Me===!0?M.value:null,tabindex:s.value,disable:X(be+1),...i("month#"+be,{onClick:()=>{We(be+1)}})})])});return l.yearsInMonthView===!0&&ne.unshift(y.h("div",{class:"row no-wrap full-width"},[Oe({label:C.value.year,type:"Years",key:C.value.year,dir:P.value,goTo:ke,boundaries:G.value.year,cls:" col"})])),y.h("div",{key:"months-view",class:"q-date__view q-date__months flex flex-center"},ne)},Years(){const re=q.value,X=re+Qt,ne=[],de=be=>K.value!==null&&K.value.year>be||ee.value!==null&&ee.value.year<be;for(let be=re;be<=X;be++){const Me=C.value.year===be;ne.push(y.h("div",{class:"q-date__years-item flex flex-center"},[y.h(ut,{key:"yr"+be,class:k.value.year===be?"q-date__today":null,flat:!Me,label:be,dense:!0,unelevated:Me,color:Me===!0?A.value:null,textColor:Me===!0?M.value:null,tabindex:s.value,disable:de(be),...i("yr#"+be,{onClick:()=>{De(be)}})})]))}return y.h("div",{class:"q-date__view q-date__years flex flex-center"},[y.h("div",{class:"col-auto"},[y.h(ut,{round:!0,dense:!0,flat:!0,icon:j.value[0],"aria-label":m.lang.date.prevRangeYears(Qt),tabindex:s.value,disable:de(re),...i("y-",{onClick:()=>{q.value-=Qt}})})]),y.h("div",{class:"q-date__years-content col self-stretch row items-center"},ne),y.h("div",{class:"col-auto"},[y.h(ut,{round:!0,dense:!0,flat:!0,icon:j.value[1],"aria-label":m.lang.date.nextRangeYears(Qt),tabindex:s.value,disable:de(X),...i("y+",{onClick:()=>{q.value+=Qt}})})])])}};function Qe(re){const X={...C.value,day:re};if(l.range===!1){Ve(X,J.value);return}if(W.value===null){const ne=$.value.find(be=>be.fill!==!0&&be.i===re);if(l.noUnset!==!0&&ne.range!==void 0){me({target:X,from:ne.range.from,to:ne.range.to});return}if(ne.selected===!0){me(X);return}const de=$t(X);W.value={init:X,initHash:de,final:X,finalHash:de},t("rangeStart",Ge(X))}else{const ne=W.value.initHash,de=$t(X),be=ne<=de?{from:W.value.init,to:X}:{from:X,to:W.value.init};W.value=null,at(ne===de?X:{target:X,...be}),t("rangeEnd",{from:Ge(be.from),to:Ge(be.to)})}}function Ke(re){if(W.value!==null){const X={...C.value,day:re};Object.assign(W.value,{final:X,finalHash:$t(X)})}}return Object.assign(b,{setToday:le,setView:ge,offsetCalendar:Ce,setCalendarTo:Ae,setEditingRange:Te}),()=>{const re=[y.h("div",{class:"q-date__content col relative-position"},[y.h(y.Transition,{name:"q-transition--fade"},Ee[T.value])])],X=bt(B.default);return X!==void 0&&re.push(y.h("div",{class:"q-date__actions"},X)),l.name!==void 0&&l.disable!==!0&&o(re,"push"),y.h("div",{class:L.value,...ie.value},[Re(),y.h("div",{ref:d,class:"q-date__main col column",tabindex:-1},re)])}}}),ls=$e({name:"QPopupProxy",props:{...Ta,breakpoint:{type:[String,Number],default:450}},emits:["show","hide"],setup(l,{slots:B,emit:t,attrs:b}){const{proxy:m}=y.getCurrentInstance(),{$q:c}=m,i=y.ref(!1),s=y.ref(null),n=y.computed(()=>parseInt(l.breakpoint,10)),{canShow:e}=Li({showing:i});function r(){return c.screen.width<n.value||c.screen.height<n.value?"dialog":"menu"}const u=y.ref(r()),a=y.computed(()=>u.value==="menu"?{maxHeight:"99vh"}:{});y.watch(()=>r(),h=>{i.value!==!0&&(u.value=h)});function o(h){i.value=!0,t("show",h)}function d(h){i.value=!1,u.value=r(),t("hide",h)}return Object.assign(m,{show(h){e(h)===!0&&s.value.show(h)},hide(h){s.value.hide(h)},toggle(h){s.value.toggle(h)}}),Lt(m,"currentComponent",()=>({type:u.value,ref:s.value})),()=>{const h={ref:s,...a.value,...b,onShow:o,onHide:d};let f;return u.value==="dialog"?f=zn:(f=Zr,Object.assign(h,{target:l.target,contextMenu:l.contextMenu,noParentEvent:!0,separateClosePopup:!0})),y.h(f,h,B.default)}}}),$o={date:"####/##/##",datetime:"####/##/## ##:##",time:"##:##",fulltime:"##:##:##",phone:"(###) ### - ####",card:"#### #### #### ####"},Fn={"#":{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:l=>l.toLocaleUpperCase()},a:{pattern:"[a-zA-Z]",negate:"[^a-zA-Z]",transform:l=>l.toLocaleLowerCase()},X:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:l=>l.toLocaleUpperCase()},x:{pattern:"[0-9a-zA-Z]",negate:"[^0-9a-zA-Z]",transform:l=>l.toLocaleLowerCase()}},us=Object.keys(Fn);us.forEach(l=>{Fn[l].regex=new RegExp(Fn[l].pattern)});const wc=new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|(["+us.join("")+"])|(.)","g"),ea=/[.*+?^${}()|[\]\\]/g,Ct="",xc={mask:String,reverseFillMask:Boolean,fillMask:[Boolean,String],unmaskedValue:Boolean};function Sc(l,B,t,b){let m,c,i,s,n,e;const r=y.ref(null),u=y.ref(o());function a(){return l.autogrow===!0||["textarea","text","search","url","tel","password"].includes(l.type)}y.watch(()=>l.type+l.autogrow,h),y.watch(()=>l.mask,N=>{if(N!==void 0)f(u.value,!0);else{const q=V(u.value);h(),l.modelValue!==q&&B("update:modelValue",q)}}),y.watch(()=>l.fillMask+l.reverseFillMask,()=>{r.value===!0&&f(u.value,!0)}),y.watch(()=>l.unmaskedValue,()=>{r.value===!0&&f(u.value)});function o(){if(h(),r.value===!0){const N=T(V(l.modelValue));return l.fillMask!==!1?P(N):N}return l.modelValue}function d(N){if(N<m.length)return m.slice(-N);let q="",W=m;const L=W.indexOf(Ct);if(L!==-1){for(let A=N-W.length;A>0;A--)q+=Ct;W=W.slice(0,L)+q+W.slice(L)}return W}function h(){if(r.value=l.mask!==void 0&&l.mask.length!==0&&a(),r.value===!1){s=void 0,m="",c="";return}const N=$o[l.mask]===void 0?l.mask:$o[l.mask],q=typeof l.fillMask=="string"&&l.fillMask.length!==0?l.fillMask.slice(0,1):"_",W=q.replace(ea,"\\$&"),L=[],A=[],M=[];let _=l.reverseFillMask===!0,v="",x="";N.replace(wc,(O,R,z,U,Q)=>{if(U!==void 0){const j=Fn[U];M.push(j),x=j.negate,_===!0&&(A.push("(?:"+x+"+)?("+j.pattern+"+)?(?:"+x+"+)?("+j.pattern+"+)?"),_=!1),A.push("(?:"+x+"+)?("+j.pattern+")?")}else if(z!==void 0)v="\\"+(z==="\\"?"":z),M.push(z),L.push("([^"+v+"]+)?"+v+"?");else{const j=R!==void 0?R:Q;v=j==="\\"?"\\\\\\\\":j.replace(ea,"\\\\$&"),M.push(j),L.push("([^"+v+"]+)?"+v+"?")}});const w=new RegExp("^"+L.join("")+"("+(v===""?".":"[^"+v+"]")+"+)?"+(v===""?"":"["+v+"]*")+"$"),S=A.length-1,E=A.map((O,R)=>R===0&&l.reverseFillMask===!0?new RegExp("^"+W+"*"+O):R===S?new RegExp("^"+O+"("+(x===""?".":x)+"+)?"+(l.reverseFillMask===!0?"$":W+"*")):new RegExp("^"+O));i=M,s=O=>{const R=w.exec(l.reverseFillMask===!0?O:O.slice(0,M.length+1));R!==null&&(O=R.slice(1).join(""));const z=[],U=E.length;for(let Q=0,j=O;Q<U;Q++){const Y=E[Q].exec(j);if(Y===null)break;j=j.slice(Y.shift().length),z.push(...Y)}return z.length!==0?z.join(""):O},m=M.map(O=>typeof O=="string"?O:Ct).join(""),c=m.split(Ct).join(q)}function f(N,q,W){const L=b.value,A=L.selectionEnd,M=L.value.length-A,_=V(N);q===!0&&h();const v=T(_),x=l.fillMask!==!1?P(v):v,w=u.value!==x;L.value!==x&&(L.value=x),w===!0&&(u.value=x),document.activeElement===L&&y.nextTick(()=>{if(x===c){const E=l.reverseFillMask===!0?c.length:0;L.setSelectionRange(E,E,"forward");return}if(W==="insertFromPaste"&&l.reverseFillMask!==!0){const E=L.selectionEnd;let O=A-1;for(let R=n;R<=O&&R<E;R++)m[R]!==Ct&&O++;p.right(L,O);return}if(["deleteContentBackward","deleteContentForward"].indexOf(W)!==-1){const E=l.reverseFillMask===!0?A===0?x.length>v.length?1:0:Math.max(0,x.length-(x===c?0:Math.min(v.length,M)+1))+1:A;L.setSelectionRange(E,E,"forward");return}if(l.reverseFillMask===!0)if(w===!0){const E=Math.max(0,x.length-(x===c?0:Math.min(v.length,M+1)));E===1&&A===1?L.setSelectionRange(E,E,"forward"):p.rightReverse(L,E)}else{const E=x.length-M;L.setSelectionRange(E,E,"backward")}else if(w===!0){const E=Math.max(0,m.indexOf(Ct),Math.min(v.length,A)-1);p.right(L,E)}else{const E=A-1;p.right(L,E)}});const S=l.unmaskedValue===!0?V(x):x;String(l.modelValue)!==S&&(l.modelValue!==null||S!=="")&&t(S,!0)}function g(N,q,W){const L=T(V(N.value));q=Math.max(0,m.indexOf(Ct),Math.min(L.length,q)),n=q,N.setSelectionRange(q,W,"forward")}const p={left(N,q){const W=m.slice(q-1).indexOf(Ct)===-1;let L=Math.max(0,q-1);for(;L>=0;L--)if(m[L]===Ct){q=L,W===!0&&q++;break}if(L<0&&m[q]!==void 0&&m[q]!==Ct)return p.right(N,0);q>=0&&N.setSelectionRange(q,q,"backward")},right(N,q){const W=N.value.length;let L=Math.min(W,q+1);for(;L<=W;L++)if(m[L]===Ct){q=L;break}else m[L-1]===Ct&&(q=L);if(L>W&&m[q-1]!==void 0&&m[q-1]!==Ct)return p.left(N,W);N.setSelectionRange(q,q,"forward")},leftReverse(N,q){const W=d(N.value.length);let L=Math.max(0,q-1);for(;L>=0;L--)if(W[L-1]===Ct){q=L;break}else if(W[L]===Ct&&(q=L,L===0))break;if(L<0&&W[q]!==void 0&&W[q]!==Ct)return p.rightReverse(N,0);q>=0&&N.setSelectionRange(q,q,"backward")},rightReverse(N,q){const W=N.value.length,L=d(W),A=L.slice(0,q+1).indexOf(Ct)===-1;let M=Math.min(W,q+1);for(;M<=W;M++)if(L[M-1]===Ct){q=M,q>0&&A===!0&&q--;break}if(M>W&&L[q-1]!==void 0&&L[q-1]!==Ct)return p.leftReverse(N,W);N.setSelectionRange(q,q,"forward")}};function k(N){B("click",N),e=void 0}function C(N){if(B("keydown",N),Fi(N)===!0||N.altKey===!0)return;const q=b.value,W=q.selectionStart,L=q.selectionEnd;if(N.shiftKey||(e=void 0),N.keyCode===37||N.keyCode===39){N.shiftKey&&e===void 0&&(e=q.selectionDirection==="forward"?W:L);const A=p[(N.keyCode===39?"right":"left")+(l.reverseFillMask===!0?"Reverse":"")];if(N.preventDefault(),A(q,e===W?L:W),N.shiftKey){const M=q.selectionStart;q.setSelectionRange(Math.min(e,M),Math.max(e,M),"forward")}}else N.keyCode===8&&l.reverseFillMask!==!0&&W===L?(p.left(q,W),q.setSelectionRange(q.selectionStart,L,"backward")):N.keyCode===46&&l.reverseFillMask===!0&&W===L&&(p.rightReverse(q,L),q.setSelectionRange(W,q.selectionEnd,"forward"))}function T(N){if(N==null||N==="")return"";if(l.reverseFillMask===!0)return D(N);const q=i;let W=0,L="";for(let A=0;A<q.length;A++){const M=N[W],_=q[A];if(typeof _=="string")L+=_;else if(M!==void 0&&_.regex.test(M))L+=_.transform!==void 0?_.transform(M):M,W++;else return L}return L}function D(N){const q=i,W=m.indexOf(Ct);let L=N.length-1,A="";for(let M=q.length-1;M>=0&&L!==-1;M--){const _=q[M];let v=N[L];if(typeof _=="string")A=_+A;else if(v!==void 0&&_.regex.test(v))do A=(_.transform!==void 0?_.transform(v):v)+A,L--,v=N[L];while(W===M&&v!==void 0&&_.regex.test(v));else return A}return A}function V(N){return typeof N!="string"||s===void 0?typeof N=="number"?s(""+N):N:s(N)}function P(N){return c.length-N.length<=0?N:l.reverseFillMask===!0&&N.length!==0?c.slice(0,-N.length)+N:N+c.slice(N.length)}return{innerValue:u,hasMask:r,moveCursorForPaste:g,updateMaskValue:f,onMaskedKeydown:C,onMaskedClick:k}}function kc(l,B){function t(){const b=l.modelValue;try{const m="DataTransfer"in window?new DataTransfer:"ClipboardEvent"in window?new ClipboardEvent("").clipboardData:void 0;return Object(b)===b&&("length"in b?Array.from(b):[b]).forEach(c=>{m.items.add(c)}),{files:m.files}}catch{return{files:void 0}}}return y.computed(()=>{if(l.type==="file")return t()})}const Xr=$e({name:"QInput",inheritAttrs:!1,props:{...qn,...xc,...Nn,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:[...Ki,"paste","change","keydown","click","animationend"],setup(l,{emit:B,attrs:t}){const{proxy:b}=y.getCurrentInstance(),{$q:m}=b,c={};let i=NaN,s,n,e=null,r;const u=y.ref(null),a=ya(l),{innerValue:o,hasMask:d,moveCursorForPaste:h,updateMaskValue:f,onMaskedKeydown:g,onMaskedClick:p}=Sc(l,B,v,u),k=kc(l),C=y.computed(()=>Kr(o.value)),T=Ya(M),D=Xi({changeEvent:!0}),V=y.computed(()=>l.type==="textarea"||l.autogrow===!0),P=y.computed(()=>V.value===!0||["text","search","url","tel","password"].includes(l.type)),N=y.computed(()=>{const R={...D.splitAttrs.listeners.value,onInput:M,onPaste:A,onChange:w,onBlur:S,onFocus:Dt};return R.onCompositionstart=R.onCompositionupdate=R.onCompositionend=T,d.value===!0&&(R.onKeydown=g,R.onClick=p),l.autogrow===!0&&(R.onAnimationend=_),R}),q=y.computed(()=>{const R={tabindex:0,"data-autofocus":l.autofocus===!0||void 0,rows:l.type==="textarea"?6:void 0,"aria-label":l.label,name:a.value,...D.splitAttrs.attributes.value,id:D.targetUid.value,maxlength:l.maxlength,disabled:l.disable===!0,readonly:l.readonly===!0};return V.value===!1&&(R.type=l.type),l.autogrow===!0&&(R.rows=1),R});y.watch(()=>l.type,()=>{u.value&&(u.value.value=l.modelValue)}),y.watch(()=>l.modelValue,R=>{if(d.value===!0){if(n===!0&&(n=!1,String(R)===i))return;f(R)}else o.value!==R&&(o.value=R,l.type==="number"&&c.hasOwnProperty("value")===!0&&(s===!0?s=!1:delete c.value));l.autogrow===!0&&y.nextTick(x)}),y.watch(()=>l.autogrow,R=>{R===!0?y.nextTick(x):u.value!==null&&t.rows>0&&(u.value.style.height="auto")}),y.watch(()=>l.dense,()=>{l.autogrow===!0&&y.nextTick(x)});function W(){Jr(()=>{const R=document.activeElement;u.value!==null&&u.value!==R&&(R===null||R.id!==D.targetUid.value)&&u.value.focus({preventScroll:!0})})}function L(){u.value?.select()}function A(R){if(d.value===!0&&l.reverseFillMask!==!0){const z=R.target;h(z,z.selectionStart,z.selectionEnd)}B("paste",R)}function M(R){if(!R||!R.target)return;if(l.type==="file"){B("update:modelValue",R.target.files);return}const z=R.target.value;if(R.target.qComposing===!0){c.value=z;return}if(d.value===!0)f(z,!1,R.inputType);else if(v(z),P.value===!0&&R.target===document.activeElement){const{selectionStart:U,selectionEnd:Q}=R.target;U!==void 0&&Q!==void 0&&y.nextTick(()=>{R.target===document.activeElement&&z.indexOf(R.target.value)===0&&R.target.setSelectionRange(U,Q)})}l.autogrow===!0&&x()}function _(R){B("animationend",R),x()}function v(R,z){r=()=>{e=null,l.type!=="number"&&c.hasOwnProperty("value")===!0&&delete c.value,l.modelValue!==R&&i!==R&&(i=R,z===!0&&(n=!0),B("update:modelValue",R),y.nextTick(()=>{i===R&&(i=NaN)})),r=void 0},l.type==="number"&&(s=!0,c.value=R),l.debounce!==void 0?(e!==null&&clearTimeout(e),c.value=R,e=setTimeout(r,l.debounce)):r()}function x(){requestAnimationFrame(()=>{const R=u.value;if(R!==null){const z=R.parentNode.style,{scrollTop:U}=R,{overflowY:Q,maxHeight:j}=m.platform.is.firefox===!0?{}:window.getComputedStyle(R),Y=Q!==void 0&&Q!=="scroll";Y===!0&&(R.style.overflowY="hidden"),z.marginBottom=R.scrollHeight-1+"px",R.style.height="1px",R.style.height=R.scrollHeight+"px",Y===!0&&(R.style.overflowY=parseInt(j,10)<R.scrollHeight?"auto":"hidden"),z.marginBottom="",R.scrollTop=U}})}function w(R){T(R),e!==null&&(clearTimeout(e),e=null),r?.(),B("change",R.target.value)}function S(R){R!==void 0&&Dt(R),e!==null&&(clearTimeout(e),e=null),r?.(),s=!1,n=!1,delete c.value,l.type!=="file"&&setTimeout(()=>{u.value!==null&&(u.value.value=o.value!==void 0?o.value:"")})}function E(){return c.hasOwnProperty("value")===!0?c.value:o.value!==void 0?o.value:""}y.onBeforeUnmount(()=>{S()}),y.onMounted(()=>{l.autogrow===!0&&x()}),Object.assign(D,{innerValue:o,fieldClass:y.computed(()=>`q-${V.value===!0?"textarea":"input"}`+(l.autogrow===!0?" q-textarea--autogrow":"")),hasShadow:y.computed(()=>l.type!=="file"&&typeof l.shadowText=="string"&&l.shadowText.length!==0),inputRef:u,emitValue:v,hasValue:C,floatingLabel:y.computed(()=>C.value===!0&&(l.type!=="number"||isNaN(o.value)===!1)||Kr(l.displayValue)),getControl:()=>y.h(V.value===!0?"textarea":"input",{ref:u,class:["q-field__native q-placeholder",l.inputClass],style:l.inputStyle,...q.value,...N.value,...l.type!=="file"?{value:E()}:k.value}),getShadowControl:()=>y.h("div",{class:"q-field__native q-field__shadow absolute-bottom no-pointer-events"+(V.value===!0?"":" text-no-wrap")},[y.h("span",{class:"invisible"},E()),y.h("span",l.shadowText)])});const O=Gi(D);return Object.assign(b,{focus:W,select:L,getNativeElement:()=>u.value}),Lt(b,"nativeEl",()=>u.value),O}});function _c(l){return{entity:l.entity,dataCy:l.dataCy,defaultLabel:l.defaultLabel,routeName:l.routeName,shouldRender:l.customShouldRender||(({store:B})=>l.storeField?!!B[l.storeField]:!0),getLabel:l.getLabel||(l.labelField?({store:B})=>l.storeField&&B[l.storeField]?.[l.labelField]||l.defaultLabel:void 0),getColor:l.customGetColor||(({store:B})=>l.storeField&&B[l.storeField]?"primary":"dark"),getRouteParams:l.routeParamKey&&l.routeParamField?({store:B})=>({[l.routeParamKey]:l.storeField&&B[l.storeField]?.[l.routeParamField]}):void 0,clearActions:[...l.clearMethods?.map(B=>({store:t})=>t[B]?.())||[],...l.navActions?.map(B=>({navStore:t})=>B(t))||[]]}}const cs=/^\d{2}-\d{2}-\d{4}$/;function Cc(l){const B=l.getTimezoneOffset()*6e4;return new Date(l.getTime()+B)}function qr(l){const B=/^\d{4}-\d{2}-\d{2}$/,t=/^\d{2}-\d{2}-\d{4}$/;if(B.test(l))return l;if(t.test(l)){const b=l.split("-");return`${b[2]}-${b[1]}-${b[0]}`}return console.warn("'Invalid date format. Expected DD-MM-YYYY' or 'YYYY-MM-DD' but got: "+l),""}function no(l,B,t,b=[]){const m=typeof l=="string"?new Date(qr(l)):new Date(l);if(Number.isNaN(m.getTime()))return!1;if(B){const s=typeof B=="string"?new Date(qr(B)):new Date(B);if(m<s)return!1}if(t){const s=typeof t=="string"?new Date(qr(t)):new Date(t);if(m>s)return!1}return b.some(s=>{if(typeof s=="string"){const n=new Date(qr(s));return m.getFullYear()===n.getFullYear()&&m.getMonth()===n.getMonth()&&m.getDate()===n.getDate()}else{if(s instanceof Date)return m.getFullYear()===s.getFullYear()&&m.getMonth()===s.getMonth()&&m.getDate()===s.getDate();{const n=new Date(s.start_date),e=new Date(s.end_date);return m>=n&&m<=e}}})?!1:!b.some(s=>{if(typeof s=="object"&&!(s instanceof Date)&&s.start_date&&s.end_date){const n=new Date(s.start_date),e=new Date(s.end_date);if(n.getTime()===e.getTime())return m.getTime()===n.getTime()||m.getTime()===e.getTime()}return!1})}const Kt={validateAndUpdate(l,B,t){return cs.test(B)?{...l,[t?"from":"to"]:B}:l},isEndDateValid(l,B,t=!1){if(!l||!B)return!0;try{const[b,m,c]=l.split("-"),[i,s,n]=B.split("-"),e=new Date(Number(c),Number(m)-1,Number(b)),r=new Date(Number(n),Number(s)-1,Number(i));return t?r>=e:r>e}catch{return!1}},handlePickerUpdate(l){return l===null?{from:"",to:""}:typeof l=="string"?{from:l,to:l}:l},reset(){return{from:"",to:""}},handleInput(l,B){typeof l=="string"&&B(l)}},fs={days:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],daysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Janv","Févr","Mars","Avr","Mai","Juin","Juil","Août","Sept","Oct","Nov","Dec"],firstDayOfWeek:1,format24h:!0,pluralDay:"jours"};function Ac(l){if(!l||!/^\d{2}-\d{2}-\d{4}$/.test(l))return new Date(Number.NaN);const[B,t,b]=l.split("-").map(Number);return new Date(b,t-1,B)}function zt(l){if(!l)return"";const B=new Date(l),t=B.getFullYear(),b=String(B.getMonth()+1).padStart(2,"0");return`${String(B.getDate()).padStart(2,"0")}-${b}-${t}`}function jn(l,B){return new Date(l,B-1,1)}function Dn(l,B){return new Date(l,B,0)}function ds(l=new Date){const B=l.getFullYear(),t=l.getMonth()+1;let b=t-3,m=B;b<=0&&(b+=12,m-=1);const c=jn(m,b);let i=t-1,s=B;i<=0&&(i+=12,s-=1);const n=Dn(s,i);return{from:zt(c),to:zt(n)}}const hs={currentMonth:(l=new Date)=>{const B=l.getFullYear(),t=l.getMonth()+1;return{from:zt(jn(B,t)),to:zt(Dn(B,t))}},previousMonth:(l=new Date)=>{const B=l.getFullYear();let b=l.getMonth()+1-1,m=B;return b===0&&(b=12,m=B-1),{from:zt(jn(m,b)),to:zt(Dn(m,b))}},last3Months:ds,currentYear:(l=new Date)=>{const B=l.getFullYear();return{from:zt(new Date(B,0,1)),to:zt(new Date(B,11,31))}},previousYear:(l=new Date)=>{const B=l.getFullYear()-1;return{from:zt(new Date(B,0,1)),to:zt(new Date(B,11,31))}}};function Ec(l){if(!l)return{date:"",time:""};try{const B=new Date(l);if(Number.isNaN(B.getTime()))return console.error("Invalid date:",l),{date:"",time:""};const b=new Intl.DateTimeFormat("fr-FR",{timeZone:"Europe/Paris",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).formatToParts(B),m=d=>b.find(h=>h.type===d)?.value||"",c=m("day"),i=m("month"),s=m("year"),n=m("hour"),e=m("minute"),r=m("second"),u=`${c}-${i}-${s}`,o=l.includes("T")&&l.split("T")[1]?.split(":").length>=3&&l.split("T")[1].split(":")[2]!=="00"?`${n}:${e}:${r}`:`${n}:${e}`;return{date:u,time:o}}catch(B){return console.error("Error parsing ISO datetime:",B,"Input:",l),{date:"",time:""}}}function Mc(l){if(!l)return"";if(new RegExp(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/).exec(l))return l;if(new RegExp(/^\d{4}-\d{2}-\d{2}$/).exec(l))return`${l}T00:00:00Z`;if(new RegExp(/^\d{2}-\d{2}-\d{4}$/).exec(l)){const[t,b,m]=l.split("-");return`${m}-${b}-${t}T00:00:00Z`}if(new RegExp(/^\d{2}\/\d{2}\/\d{4}$/).exec(l)){const[t,b,m]=l.split("/");return`${m}-${b}-${t}T00:00:00Z`}if(new RegExp(/^\d{2}\.\d{2}\.\d{4}$/).exec(l)){const[t,b,m]=l.split(".");return`${m}-${b}-${t}T00:00:00Z`}const B=new Date(l);return Number.isNaN(B.getTime())?l:B.toISOString()}const Tc={class:"columns justify-end"},Rc=y.defineComponent({__name:"DatePicker",props:{label:{default:"Date"},date:{default:""},required:{type:Boolean,default:!1},minDate:{default:void 0},maxDate:{default:void 0},datesDisabled:{default:()=>[]},requiredErrorMessage:{default:"Ce champ est obligatoire !"},invalidDateErrorMessage:{default:"Date invalide!"},disabled:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},placeholder:{default:void 0},closeLabel:{default:"Close"},rules:{default:()=>[]}},emits:["update:modelValue","update:date"],setup(l,{emit:B}){const t=l,b=B,m=y.useAttrs(),c=y.ref(),i=y.ref(t.date),s=y.ref(null),n=y.computed(()=>i.value),e=C=>{if(!C||C.length!==10)return!1;const T=/^(\d{2})-(\d{2})-(\d{4})$/,D=C.match(T);if(!D)return!1;const V=Number.parseInt(D[1],10),P=Number.parseInt(D[2],10),N=Number.parseInt(D[3],10);if(P<1||P>12||V<1||V>31)return!1;const q=new Date(N,P-1,V);return q.getFullYear()===N&&q.getMonth()===P-1&&q.getDate()===V},r=C=>{if(!C)return null;if(C.length!==10)return"Le format doit être JJ-MM-AAAA";const T=/^(\d{2})-(\d{2})-(\d{4})$/,D=C.match(T);if(!D)return"Format invalide. Utilisez JJ-MM-AAAA";const V=Number.parseInt(D[1],10),P=Number.parseInt(D[2],10),N=Number.parseInt(D[3],10),q=u(P);if(q)return q;const W=a(V,P,N);return W||(d(V,P,N)?null:"Date inexistante")},u=C=>C<1||C>12?"Le mois doit être entre 01 et 12":null,a=(C,T,D)=>C<1||C>31?"Le jour doit être entre 01 et 31":[4,6,9,11].includes(T)&&C>30?`Le mois ${T} n'a que 30 jours`:T===2?o(C,D):null,o=(C,T)=>{const D=T%4===0&&T%100!==0||T%400===0;return D&&C>29?"Février a maximum 29 jours pour les années bissextiles":!D&&C>28?"Février a maximum 28 jours":null},d=(C,T,D)=>{const V=new Date(D,T-1,C);return V.getFullYear()===D&&V.getMonth()===T-1&&V.getDate()===C},h=()=>{n.value?s.value=r(n.value):s.value=null},f=y.computed(()=>C=>{const T=C.replaceAll("/","-");return no(T,t.minDate,t.maxDate,t.datesDisabled)}),g=C=>{e(C)&&(i.value=C,s.value=null,b("update:date",C),b("update:modelValue",C),setTimeout(()=>{c.value?.hide?.()},0))},p=C=>{if(typeof C=="string")if(i.value=C,b("update:date",C),b("update:modelValue",C),C.length===10){const T=r(C);s.value=T}else C===""&&(s.value=null);else C===null&&(i.value="",s.value=null,b("update:date",""),b("update:modelValue",""))},k=y.computed(()=>{const C=[...t.rules];return t.required&&C.push(T=>!!T||t.requiredErrorMessage),C.push(T=>T?e(T)||s.value||t.invalidDateErrorMessage:!0),C});return y.watch(()=>[t.date],([C,T])=>{const D=T??C;D&&D!==i.value&&(i.value=D,h())}),(C,T)=>(y.openBlock(),y.createElementBlock("div",Tc,[y.createVNode(Xr,y.mergeProps(y.unref(m),{class:"full-width","model-value":n.value,mask:"##-##-####",dense:"",label:C.label,"data-cy":"datePick",rules:k.value,disable:C.disabled,required:C.required,outlined:C.outlined,placeholder:C.placeholder,"onUpdate:modelValue":p,onBlur:h}),{append:y.withCtx(()=>[y.createVNode(gt,{name:"event",class:"cursor-pointer","data-testid":"calendar-icon-picker"},{default:y.withCtx(()=>[y.createVNode(ls,{ref_key:"popupRef",ref:c,cover:"","transition-show":"scale","transition-hide":"scale","no-focus":""},{default:y.withCtx(()=>[y.createVNode(ss,{mask:"DD-MM-YYYY","model-value":i.value,options:f.value,disable:C.disabled,"onUpdate:modelValue":g},null,8,["model-value","options","disable"])]),_:1},512)]),_:1})]),_:1},16,["model-value","label","rules","disable","required","outlined","placeholder"])]))}}),Bc={class:"date-range-wrapper"},Ic={class:"date-range-flex"},Oc={key:0,class:"actions-group"},Fc={class:"date-range-popup"},jc={key:0,class:"presets-section"},Dc={class:"presets-grid"},Pc={class:"presets-row"},Nc={class:"presets-row"},Lc={class:"calendar-container"},Vc={class:"popup-actions"},qc={key:0,class:"hint"},zc={class:"text-warning text-caption q-mb-none"},Uc=y.defineComponent({__name:"DateRange",props:{allowSameDate:{type:Boolean,default:!0},from:{default:""},to:{default:""},labelStart:{default:"De"},labelEnd:{default:"À"},startDateHint:{default:""},resetLabel:{default:"Reinitialiser"},closeLabel:{default:"Fermer"},locale:{default:()=>fs},required:{type:Boolean,default:!1},requiredErrorMessage:{default:"Ce champ est obligatoire !"},invalidDateErrorMessage:{default:"Date invalide!"},rules:{default:()=>[]},minDate:{default:void 0},maxDate:{default:void 0},datesDisabled:{default:()=>[]},highlightEvents:{default:()=>[]},disabled:{type:Boolean,default:!1},idCy:{default:"dateRange"},isIconCalendar:{type:Boolean},resetPosition:{},hideActions:{type:Boolean,default:!1},hideShortcuts:{type:Boolean,default:!1},shortcuts:{default:()=>[{id:"currentMonth",label:"Mois courant"},{id:"previousMonth",label:"Mois précédent"},{id:"last3Months",label:"3 derniers mois"},{id:"currentYear",label:"Année courante"},{id:"previousYear",label:"Année précédente"}]}},emits:["update:dateRange","clear"],setup(l,{expose:B,emit:t}){const b=l,m=t,c=y.ref({from:b.from,to:b.to}),i=y.ref(null),s=y.computed(()=>`from-date-${b.idCy}`),n=y.computed(()=>`to-date-${b.idCy}`),e=y.ref(null),r=y.computed(()=>b.shortcuts.map(R=>({...R,getRange:hs[R.id]}))),u=y.computed(()=>r.value.slice(0,3)),a=y.computed(()=>r.value.slice(3)),o=()=>{c.value=Kt.reset(),D.value=null,V.value=null,e.value=null,w(),m("clear")},d=()=>{i.value&&i.value.hide()},h=()=>{if(e.value=null,!(!c.value.from||!c.value.to))for(const R of r.value)try{const z=R.getRange(new Date);if(z.from===c.value.from&&z.to===c.value.to){e.value=R.id;break}}catch(z){console.error("Error checking preset:",z)}},f=R=>{if(!R||R.length!==10)return!1;const z=/^(\d{2})-(\d{2})-(\d{4})$/,U=R.match(z);if(!U)return!1;const Q=Number.parseInt(U[1],10),j=Number.parseInt(U[2],10),Y=Number.parseInt(U[3],10);if(j<1||j>12||Q<1||Q>31)return!1;const F=new Date(Y,j-1,Q);return F.getFullYear()===Y&&F.getMonth()===j-1&&F.getDate()===Q},g=R=>{if(!R)return null;if(R.length!==10)return"Le format doit être JJ-MM-AAAA";const z=/^(\d{2})-(\d{2})-(\d{4})$/,U=R.match(z);if(!U)return"Format invalide. Utilisez JJ-MM-AAAA";const Q=Number.parseInt(U[1],10),j=Number.parseInt(U[2],10),Y=Number.parseInt(U[3],10),F=p(j);if(F)return F;const I=k(Q,j,Y);return I||(T(Q,j,Y)?null:"Date inexistante")},p=R=>R<1||R>12?"Le mois doit être entre 01 et 12":null,k=(R,z,U)=>R<1||R>31?"Le jour doit être entre 01 et 31":[4,6,9,11].includes(z)&&R>30?`Le mois ${z} n'a que 30 jours`:z===2?C(R,U):null,C=(R,z)=>{const U=z%4===0&&z%100!==0||z%400===0;return U&&R>29?"Février a maximum 29 jours pour les années bissextiles":!U&&R>28?"Février a maximum 28 jours":null},T=(R,z,U)=>{const Q=new Date(U,z-1,R);return Q.getFullYear()===U&&Q.getMonth()===z-1&&Q.getDate()===R},D=y.ref(null),V=y.ref(null),P=()=>{c.value.from?D.value=g(c.value.from):D.value=null},N=()=>{c.value.to?V.value=g(c.value.to):V.value=null},q=y.computed(()=>R=>{const z=R.replaceAll("/","-");return no(z,b.minDate,b.maxDate,b.datesDisabled)});let W=!1;const L=()=>{W=!0,c.value.from="",D.value=null,e.value=null,w(),setTimeout(()=>{W=!1},100)},A=()=>{W=!0,c.value.to="",V.value=null,e.value=null,w(),setTimeout(()=>{W=!1},100)},M=R=>{if(R===null||R===""){const z=c.value.from;c.value.from="",D.value=null,e.value=null,w(),!c.value.to&&z&&!c.value.from&&m("clear");return}Kt.handleInput(R,z=>{const U=c.value.from;if(z&&z.length===10){const Q=g(z);if(D.value=Q,Q){c.value.from=z,w();return}}else D.value=null;c.value=Kt.validateAndUpdate(c.value,z,!0),h(),w(),!z&&!c.value.to&&U&&m("clear")})},_=R=>{if(R===null||R===""){const z=c.value.to;c.value.to="",V.value=null,e.value=null,w(),!c.value.from&&z&&!c.value.to&&m("clear");return}Kt.handleInput(R,z=>{const U=c.value.to;if(z&&z.length===10){const Q=g(z);if(V.value=Q,Q){c.value.to=z,w();return}}else V.value=null;c.value=Kt.validateAndUpdate(c.value,z,!1),h(),w(),!z&&!c.value.from&&U&&m("clear")})},v=()=>{setTimeout(()=>{c.value.from&&c.value.from.length===10?D.value=g(c.value.from):D.value=null,c.value.to&&c.value.to.length===10?V.value=g(c.value.to):V.value=null,!b.allowSameDate&&c.value.from&&c.value.to&&c.value.from===c.value.to&&(c.value.to=""),h()},10)},x=R=>{const z=Kt.handlePickerUpdate(R);(z.from!==c.value.from||z.to!==c.value.to)&&(e.value=null),c.value=z,w(),h()},w=()=>{m("update:dateRange",{...c.value})},S=y.computed(()=>[...b.required?[R=>!!R||b.requiredErrorMessage]:[],...b.rules,R=>{if(R&&!f(R))return D.value||b.invalidDateErrorMessage||"Date invalide!";const z=c.value.to;if(!R||!z)return!0;const U=Kt.isEndDateValid(R,z,b.allowSameDate);return b.allowSameDate?U||"La date de début doit être avant ou égale à la date de fin":U||"La date de début doit être strictement avant la date de fin"}]),E=y.computed(()=>[...b.required?[R=>!!R||b.requiredErrorMessage]:[],...b.rules,R=>{if(R&&!f(R))return V.value||b.invalidDateErrorMessage||"Date invalide!";const z=c.value.from;if(!R||!z)return!0;const U=Kt.isEndDateValid(z,R,b.allowSameDate);return b.allowSameDate?U||"La date de fin doit être après ou égale à la date de début":U||"La date de fin doit être strictement après la date de début"}]);y.watch([()=>c.value.from,()=>c.value.to],([R,z],[U,Q])=>{!R&&!z&&(U||Q)&&!W&&(D.value=null,V.value=null,e.value=null,m("clear"))}),y.watch(()=>b.from,R=>{R!==c.value.from&&(c.value.from=R,P(),h())}),y.watch(()=>b.to,R=>{R!==c.value.to&&(c.value.to=R,N(),h())}),B({setDateRange:R=>{c.value={from:R.from,to:R.to},P(),N(),h(),w()},getCurrentRange:()=>({from:c.value.from,to:c.value.to}),resetDate:()=>{o()}});const O=R=>{try{const z=R.getRange(new Date);c.value={from:z.from,to:z.to},e.value=R.id,P(),N(),w()}catch(z){console.error("Error applying date preset:",z)}};return y.onMounted(()=>{P(),N(),h()}),(R,z)=>(y.openBlock(),y.createElementBlock("div",Bc,[y.createElementVNode("div",Ic,[y.createVNode(Xr,y.mergeProps(R.$attrs,{"data-cy":s.value,"model-value":c.value.from,mask:"##-##-####",label:R.labelStart,rules:S.value,disable:R.disabled,required:R.required,"hide-bottom-space":"","onUpdate:modelValue":M,onClear:L,onBlur:P,class:"date-input",clearable:""}),null,16,["data-cy","model-value","label","rules","disable","required"]),y.createVNode(Xr,y.mergeProps(R.$attrs,{"model-value":c.value.to,mask:"##-##-####",label:R.labelEnd,"hide-bottom-space":"","data-cy":n.value,rules:E.value,disable:R.disabled,required:R.required,"onUpdate:modelValue":_,onClear:A,onBlur:N,class:"date-input",clearable:""}),null,16,["model-value","label","data-cy","rules","disable","required"]),R.hideActions?y.createCommentVNode("",!0):(y.openBlock(),y.createElementBlock("div",Oc,[y.createVNode(gt,{name:"event",size:"30px",class:"cursor-pointer calendar-icon",style:{opacity:"0.55"},"data-cy":"calendar-icon-range"},{default:y.withCtx(()=>[y.createVNode(ls,{cover:"","transition-show":"scale","transition-hide":"scale",ref_key:"popupRef",ref:i,"no-focus":""},{default:y.withCtx(()=>[y.createElementVNode("div",Fc,[R.hideShortcuts?y.createCommentVNode("",!0):(y.openBlock(),y.createElementBlock("div",jc,[z[0]||(z[0]=y.createElementVNode("div",{class:"presets-title"},"Périodes rapides :",-1)),y.createElementVNode("div",Dc,[y.createElementVNode("div",Pc,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(u.value,U=>(y.openBlock(),y.createBlock(ut,{key:U.id,label:U.label,color:e.value===U.id?"primary":"grey-7",outline:e.value!==U.id,flat:"",dense:"",size:"sm",class:"preset-btn",onClick:Q=>O(U),"data-cy":`date-preset-${U.id}`},null,8,["label","color","outline","onClick","data-cy"]))),128))]),y.createElementVNode("div",Nc,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(a.value,U=>(y.openBlock(),y.createBlock(ut,{key:U.id,label:U.label,color:e.value===U.id?"primary":"grey-7",outline:e.value!==U.id,flat:"",dense:"",size:"sm",class:"preset-btn",onClick:Q=>O(U),"data-cy":`date-preset-${U.id}`},null,8,["label","color","outline","onClick","data-cy"]))),128))])])])),y.createElementVNode("div",Lc,[y.createVNode(ss,{"model-value":c.value,mask:"DD-MM-YYYY","today-btn":"",range:"","data-cy":"date-picker-range",locale:R.locale,options:q.value,events:R.highlightEvents,"event-color":"warning",disable:R.disabled,"onUpdate:modelValue":x,onRangeEnd:v,"no-unset":""},null,8,["model-value","locale","options","events","disable"])]),y.createElementVNode("div",Vc,[y.createVNode(ut,{label:R.resetLabel,color:"grey-7",flat:"",dense:"",onClick:o,class:"q-mr-sm"},null,8,["label"]),y.createVNode(ut,{label:R.closeLabel,color:"primary",flat:"",dense:"",onClick:d},null,8,["label"])])])]),_:1},512)]),_:1})]))]),R.startDateHint?(y.openBlock(),y.createElementBlock("div",qc,[y.createElementVNode("p",zc,y.toDisplayString(R.startDateHint),1)])):y.createCommentVNode("",!0)]))}}),ps=Ht(Uc,[["__scopeId","data-v-3ec8c453"]]);var lt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wc(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}function mn(l){throw new Error('Could not dynamically require "'+l+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ui={exports:{}};/*! ExcelJS 19-10-2023 */var ta;function Hc(){return ta||(ta=1,function(l,B){(function(t){l.exports=t()})(function(){return function t(b,m,c){function i(e,r){if(!m[e]){if(!b[e]){var u=typeof mn=="function"&&mn;if(!r&&u)return u(e,!0);if(s)return s(e,!0);var a=new Error("Cannot find module '"+e+"'");throw a.code="MODULE_NOT_FOUND",a}var o=m[e]={exports:{}};b[e][0].call(o.exports,function(d){return i(b[e][1][d]||d)},o,o.exports,t,b,m,c)}return m[e].exports}for(var s=typeof mn=="function"&&mn,n=0;n<c.length;n++)i(c[n]);return i}({1:[function(t,b,m){const c=t("fs"),i=t("fast-csv"),s=t("dayjs/plugin/customParseFormat"),n=t("dayjs/plugin/utc"),e=t("dayjs").extend(s).extend(n),r=t("../utils/stream-buf"),{fs:{exists:u}}=t("../utils/utils"),a={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};b.exports=class{constructor(o){this.workbook=o,this.worksheet=null}async readFile(o,d){if(d=d||{},!await u(o))throw new Error("File not found: "+o);const h=c.createReadStream(o),f=await this.read(h,d);return h.close(),f}read(o,d){return d=d||{},new Promise((h,f)=>{const g=this.workbook.addWorksheet(d.sheetName),p=d.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],k=d.map||function(T){if(T==="")return null;const D=Number(T);if(!Number.isNaN(D)&&D!==1/0)return D;const V=p.reduce((N,q)=>{if(N)return N;const W=e(T,q,!0);return W.isValid()?W:null},null);if(V)return new Date(V.valueOf());const P=a[T];return P!==void 0?P:T},C=i.parse(d.parserOptions).on("data",T=>{g.addRow(T.map(k))}).on("end",()=>{C.emit("worksheet",g)});C.on("worksheet",h).on("error",f),o.pipe(C)})}createInputStream(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write(o,d){return new Promise((h,f)=>{d=d||{};const g=this.workbook.getWorksheet(d.sheetName||d.sheetId),p=i.format(d.formatterOptions);o.on("finish",()=>{h()}),p.on("error",f),p.pipe(o);const{dateFormat:k,dateUTC:C}=d,T=d.map||(P=>{if(P){if(P.text||P.hyperlink)return P.hyperlink||P.text||"";if(P.formula||P.result)return P.result||"";if(P instanceof Date)return k?C?e.utc(P).format(k):e(P).format(k):C?e.utc(P).format():e(P).format();if(P.error)return P.error;if(typeof P=="object")return JSON.stringify(P)}return P}),D=d.includeEmptyRows===void 0||d.includeEmptyRows;let V=1;g&&g.eachRow((P,N)=>{if(D)for(;V++<N-1;)p.write([]);const{values:q}=P;q.shift(),p.write(q.map(T)),V=N}),p.end()})}writeFile(o,d){const h={encoding:(d=d||{}).encoding||"utf8"},f=c.createWriteStream(o,h);return this.write(f,d)}async writeBuffer(o){const d=new r;return await this.write(d,o),d.read()}}},{"../utils/stream-buf":24,"../utils/utils":27,dayjs:391,"dayjs/plugin/customParseFormat":392,"dayjs/plugin/utc":393,"fast-csv":424,fs:216}],2:[function(t,b,m){const c=t("../utils/col-cache");class i{constructor(n,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=n,e)if(typeof e=="string"){const u=c.decodeAddress(e);this.nativeCol=u.col+r,this.nativeColOff=0,this.nativeRow=u.row+r,this.nativeRowOff=0}else e.nativeCol!==void 0?(this.nativeCol=e.nativeCol||0,this.nativeColOff=e.nativeColOff||0,this.nativeRow=e.nativeRow||0,this.nativeRowOff=e.nativeRowOff||0):e.col!==void 0?(this.col=e.col+r,this.row=e.row+r):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(n){return n instanceof i||n==null?n:new i(n)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(n){this.nativeCol=Math.floor(n),this.nativeColOff=Math.floor((n-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(n){this.nativeRow=Math.floor(n),this.nativeRowOff=Math.floor((n-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(n){this.nativeCol=n.nativeCol,this.nativeColOff=n.nativeColOff,this.nativeRow=n.nativeRow,this.nativeRowOff=n.nativeRowOff}}b.exports=i},{"../utils/col-cache":19}],3:[function(t,b,m){const c=t("../utils/col-cache"),i=t("../utils/under-dash"),s=t("./enums"),{slideFormula:n}=t("../utils/shared-formula"),e=t("./note");class r{constructor(o,d,h){if(!o||!d)throw new Error("A Cell needs a Row");this._row=o,this._column=d,c.validateAddress(h),this._address=h,this._value=u.create(r.Types.Null,this),this.style=this._mergeStyle(o.style,d.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt(o){this.style.numFmt=o}get font(){return this.style.font}set font(o){this.style.font=o}get alignment(){return this.style.alignment}set alignment(o){this.style.alignment=o}get border(){return this.style.border}set border(o){this.style.border=o}get fill(){return this.style.fill}set fill(o){this.style.fill=o}get protection(){return this.style.protection}set protection(o){this.style.protection=o}_mergeStyle(o,d,h){const f=o&&o.numFmt||d&&d.numFmt;f&&(h.numFmt=f);const g=o&&o.font||d&&d.font;g&&(h.font=g);const p=o&&o.alignment||d&&d.alignment;p&&(h.alignment=p);const k=o&&o.border||d&&d.border;k&&(h.border=k);const C=o&&o.fill||d&&d.fill;C&&(h.fill=C);const T=o&&o.protection||d&&d.protection;return T&&(h.protection=T),h}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===r.Types.Merge}merge(o,d){this._value.release(),this._value=u.create(r.Types.Merge,this,o),d||(this.style=o.style)}unmerge(){this.type===r.Types.Merge&&(this._value.release(),this._value=u.create(r.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(o){return this._value.type===r.Types.Merge&&this._value.isMergedTo(o)}get master(){return this.type===r.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===r.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(o){this.type!==r.Types.Merge?(this._value.release(),this._value=u.create(u.getType(o),this,o)):this._value.master.value=o}get note(){return this._comment&&this._comment.note}set note(o){this._comment=new e(o)}get text(){return this._value.toString()}get html(){return i.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(o){this.type===r.Types.String&&(this._value=u.create(r.Types.Hyperlink,this,{text:this._value.value,hyperlink:o}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:o}=this._row;return{sheetName:o.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(o){this.names=[o]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(o){const{definedNames:d}=this.workbook;d.removeAllNames(this.fullAddress),o.forEach(h=>{d.addEx(this.fullAddress,h)})}addName(o){this.workbook.definedNames.addEx(this.fullAddress,o)}removeName(o){this.workbook.definedNames.removeEx(this.fullAddress,o)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(o){this._dataValidations.add(this.address,o)}get model(){const{model:o}=this._value;return o.style=this.style,this._comment&&(o.comment=this._comment.model),o}set model(o){if(this._value.release(),this._value=u.create(o.type,this),this._value.model=o,o.comment)switch(o.comment.type){case"note":this._comment=e.fromModel(o.comment)}o.style?this.style=o.style:this.style={}}}r.Types=s.ValueType;const u={getType:a=>a==null?r.Types.Null:a instanceof String||typeof a=="string"?r.Types.String:typeof a=="number"?r.Types.Number:typeof a=="boolean"?r.Types.Boolean:a instanceof Date?r.Types.Date:a.text&&a.hyperlink?r.Types.Hyperlink:a.formula||a.sharedFormula?r.Types.Formula:a.richText?r.Types.RichText:a.sharedString?r.Types.SharedString:a.error?r.Types.Error:r.Types.JSON,types:[{t:r.Types.Null,f:class{constructor(a){this.model={address:a.address,type:r.Types.Null}}get value(){return null}set value(a){}get type(){return r.Types.Null}get effectiveType(){return r.Types.Null}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return""}release(){}toString(){return""}}},{t:r.Types.Number,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Number,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.Number}get effectiveType(){return r.Types.Number}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:r.Types.String,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.String,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.String}get effectiveType(){return r.Types.String}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}},{t:r.Types.Date,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Date,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.Date}get effectiveType(){return r.Types.Date}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:r.Types.Hyperlink,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Hyperlink,text:o?o.text:void 0,hyperlink:o?o.hyperlink:void 0},o&&o.tooltip&&(this.model.tooltip=o.tooltip)}get value(){const a={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(a.tooltip=this.model.tooltip),a}set value(a){this.model={text:a.text,hyperlink:a.hyperlink},a.tooltip&&(this.model.tooltip=a.tooltip)}get text(){return this.model.text}set text(a){this.model.text=a}get hyperlink(){return this.model.hyperlink}set hyperlink(a){this.model.hyperlink=a}get type(){return r.Types.Hyperlink}get effectiveType(){return r.Types.Hyperlink}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:r.Types.Formula,f:class{constructor(a,o){this.cell=a,this.model={address:a.address,type:r.Types.Formula,shareType:o?o.shareType:void 0,ref:o?o.ref:void 0,formula:o?o.formula:void 0,sharedFormula:o?o.sharedFormula:void 0,result:o?o.result:void 0}}_copyModel(a){const o={},d=h=>{const f=a[h];f&&(o[h]=f)};return d("formula"),d("result"),d("ref"),d("shareType"),d("sharedFormula"),o}get value(){return this._copyModel(this.model)}set value(a){this.model=this._copyModel(a)}validate(a){switch(u.getType(a)){case r.Types.Null:case r.Types.String:case r.Types.Number:case r.Types.Date:break;case r.Types.Hyperlink:case r.Types.Formula:default:throw new Error("Cannot process that type of result value")}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula(a){this.model.formula=a}get formulaType(){return this.model.formula?s.FormulaType.Master:this.model.sharedFormula?s.FormulaType.Shared:s.FormulaType.None}get result(){return this.model.result}set result(a){this.model.result=a}get type(){return r.Types.Formula}get effectiveType(){const a=this.model.result;return a==null?s.ValueType.Null:a instanceof String||typeof a=="string"?s.ValueType.String:typeof a=="number"?s.ValueType.Number:a instanceof Date?s.ValueType.Date:a.text&&a.hyperlink?s.ValueType.Hyperlink:a.formula?s.ValueType.Formula:s.ValueType.Null}get address(){return this.model.address}set address(a){this.model.address=a}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){const{worksheet:a}=this.cell,o=a.findCell(this.model.sharedFormula);this._translatedFormula=o&&n(o.formula,o.address,this.model.address)}return this._translatedFormula}toCsvString(){return""+(this.model.result||"")}release(){}toString(){return this.model.result?this.model.result.toString():""}}},{t:r.Types.Merge,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Merge,master:o?o.address:void 0},this._master=o,o&&o.addMergeRef()}get value(){return this._master.value}set value(a){a instanceof r?(this._master&&this._master.releaseMergeRef(),a.addMergeRef(),this._master=a):this._master.value=a}isMergedTo(a){return a===this._master}get master(){return this._master}get type(){return r.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:r.Types.JSON,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.String,value:JSON.stringify(o),rawValue:o}}get value(){return this.model.rawValue}set value(a){this.model.rawValue=a,this.model.value=JSON.stringify(a)}get type(){return r.Types.String}get effectiveType(){return r.Types.String}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:r.Types.SharedString,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.SharedString,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.SharedString}get effectiveType(){return r.Types.SharedString}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:r.Types.RichText,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.String,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}toString(){return this.model.value.richText.map(a=>a.text).join("")}get type(){return r.Types.RichText}get effectiveType(){return r.Types.RichText}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}},{t:r.Types.Boolean,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Boolean,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.Boolean}get effectiveType(){return r.Types.Boolean}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:r.Types.Error,f:class{constructor(a,o){this.model={address:a.address,type:r.Types.Error,value:o}}get value(){return this.model.value}set value(a){this.model.value=a}get type(){return r.Types.Error}get effectiveType(){return r.Types.Error}get address(){return this.model.address}set address(a){this.model.address=a}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce((a,o)=>(a[o.t]=o.f,a),[]),create(a,o,d){const h=this.types[a];if(!h)throw new Error("Could not create Value of type "+a);return new h(o,d)}};b.exports=r},{"../utils/col-cache":19,"../utils/shared-formula":23,"../utils/under-dash":26,"./enums":7,"./note":9}],4:[function(t,b,m){const c=t("../utils/under-dash"),i=t("./enums"),s=t("../utils/col-cache");class n{constructor(r,u,a){this._worksheet=r,this._number=u,a!==!1&&(this.defn=a)}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return s.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn(r){r?(this.key=r.key,this.width=r.width!==void 0?r.width:9,this.outlineLevel=r.outlineLevel,r.style?this.style=r.style:this.style={},this.header=r.header,this._hidden=!!r.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header(r){r!==void 0?(this._header=r,this.headers.forEach((u,a)=>{this._worksheet.getCell(a+1,this.number).value=u})):this._header=void 0}get key(){return this._key}set key(r){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=r,r&&this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(r){this._hidden=r}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(r){this._outlineLevel=r}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo(r){return this.width===r.width&&this.hidden===r.hidden&&this.outlineLevel===r.outlineLevel&&c.isEqual(this.style,r.style)}get isDefault(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;const r=this.style;return!r||!(r.font||r.numFmt||r.alignment||r.border||r.fill||r.protection)}get headerCount(){return this.headers.length}eachCell(r,u){const a=this.number;u||(u=r,r=null),this._worksheet.eachRow(r,(o,d)=>{u(o.getCell(a),d)})}get values(){const r=[];return this.eachCell((u,a)=>{u&&u.type!==i.ValueType.Null&&(r[a]=u.value)}),r}set values(r){if(!r)return;const u=this.number;let a=0;r.hasOwnProperty("0")&&(a=1),r.forEach((o,d)=>{this._worksheet.getCell(d+a,u).value=o})}_applyStyle(r,u){return this.style[r]=u,this.eachCell(a=>{a[r]=u}),u}get numFmt(){return this.style.numFmt}set numFmt(r){this._applyStyle("numFmt",r)}get font(){return this.style.font}set font(r){this._applyStyle("font",r)}get alignment(){return this.style.alignment}set alignment(r){this._applyStyle("alignment",r)}get protection(){return this.style.protection}set protection(r){this._applyStyle("protection",r)}get border(){return this.style.border}set border(r){this._applyStyle("border",r)}get fill(){return this.style.fill}set fill(r){this._applyStyle("fill",r)}static toModel(r){const u=[];let a=null;return r&&r.forEach((o,d)=>{o.isDefault?a&&(a=null):a&&o.equivalentTo(a)?a.max=d+1:(a={min:d+1,max:d+1,width:o.width!==void 0?o.width:9,style:o.style,isCustomWidth:o.isCustomWidth,hidden:o.hidden,outlineLevel:o.outlineLevel,collapsed:o.collapsed},u.push(a))}),u.length?u:void 0}static fromModel(r,u){const a=[];let o=1,d=0;for(u=(u=u||[]).sort(function(h,f){return h.min-f.min});d<u.length;){const h=u[d++];for(;o<h.min;)a.push(new n(r,o++));for(;o<=h.max;)a.push(new n(r,o++,h))}return a.length?a:null}}b.exports=n},{"../utils/col-cache":19,"../utils/under-dash":26,"./enums":7}],5:[function(t,b,m){b.exports=class{constructor(c){this.model=c||{}}add(c,i){return this.model[c]=i}find(c){return this.model[c]}remove(c){this.model[c]=void 0}}},{}],6:[function(t,b,m){const c=t("../utils/under-dash"),i=t("../utils/col-cache"),s=t("../utils/cell-matrix"),n=t("./range"),e=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;b.exports=class{constructor(){this.matrixMap={}}getMatrix(r){return this.matrixMap[r]||(this.matrixMap[r]=new s)}add(r,u){const a=i.decodeEx(r);this.addEx(a,u)}addEx(r,u){const a=this.getMatrix(u);if(r.top)for(let o=r.left;o<=r.right;o++)for(let d=r.top;d<=r.bottom;d++){const h={sheetName:r.sheetName,address:i.n2l(o)+d,row:d,col:o};a.addCellEx(h)}else a.addCellEx(r)}remove(r,u){const a=i.decodeEx(r);this.removeEx(a,u)}removeEx(r,u){this.getMatrix(u).removeCellEx(r)}removeAllNames(r){c.each(this.matrixMap,u=>{u.removeCellEx(r)})}forEach(r){c.each(this.matrixMap,(u,a)=>{u.forEach(o=>{r(a,o)})})}getNames(r){return this.getNamesEx(i.decodeEx(r))}getNamesEx(r){return c.map(this.matrixMap,(u,a)=>u.findCellEx(r)&&a).filter(Boolean)}_explore(r,u){u.mark=!1;const{sheetName:a}=u,o=new n(u.row,u.col,u.row,u.col,a);let d,h;function f(p,k){const C=r.findCellAt(a,p,u.col);return!(!C||!C.mark)&&(o[k]=p,C.mark=!1,!0)}for(h=u.row-1;f(h,"top");h--);for(h=u.row+1;f(h,"bottom");h++);function g(p,k){const C=[];for(h=o.top;h<=o.bottom;h++){const T=r.findCellAt(a,h,p);if(!T||!T.mark)return!1;C.push(T)}o[k]=p;for(let T=0;T<C.length;T++)C[T].mark=!1;return!0}for(d=u.col-1;g(d,"left");d--);for(d=u.col+1;g(d,"right");d++);return o}getRanges(r,u){return(u=u||this.matrixMap[r])?(u.forEach(a=>{a.mark=!0}),{name:r,ranges:u.map(a=>a.mark&&this._explore(u,a)).filter(Boolean).map(a=>a.$shortRange)}):{name:r,ranges:[]}}normaliseMatrix(r,u){r.forEachInSheet(u,(a,o,d)=>{a&&(a.row===o&&a.col===d||(a.row=o,a.col=d,a.address=i.n2l(d)+o))})}spliceRows(r,u,a,o){c.each(this.matrixMap,d=>{d.spliceRows(r,u,a,o),this.normaliseMatrix(d,r)})}spliceColumns(r,u,a,o){c.each(this.matrixMap,d=>{d.spliceColumns(r,u,a,o),this.normaliseMatrix(d,r)})}get model(){return c.map(this.matrixMap,(r,u)=>this.getRanges(u,r)).filter(r=>r.ranges.length)}set model(r){const u=this.matrixMap={};r.forEach(a=>{const o=u[a.name]=new s;a.ranges.forEach(d=>{e.test(d.split("!").pop()||"")&&o.addCell(d)})})}}},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":26,"./range":10}],7:[function(t,b,m){b.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(t,b,m){const c=t("../utils/col-cache"),i=t("./anchor");b.exports=class{constructor(s,n){this.worksheet=s,this.model=n}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}}set model(s){let{type:n,imageId:e,range:r,hyperlinks:u}=s;if(this.type=n,this.imageId=e,n==="image")if(typeof r=="string"){const a=c.decode(r);this.range={tl:new i(this.worksheet,{col:a.left,row:a.top},-1),br:new i(this.worksheet,{col:a.right,row:a.bottom},0),editAs:"oneCell"}}else this.range={tl:new i(this.worksheet,r.tl,0),br:r.br&&new i(this.worksheet,r.br,0),ext:r.ext,editAs:r.editAs,hyperlinks:u||r.hyperlinks}}}},{"../utils/col-cache":19,"./anchor":2}],9:[function(t,b,m){const c=t("../utils/under-dash");class i{constructor(n){this.note=n}get model(){let n=null;switch(typeof this.note){case"string":n={type:"note",note:{texts:[{text:this.note}]}};break;default:n={type:"note",note:this.note}}return c.deepMerge({},i.DEFAULT_CONFIGS,n)}set model(n){const{note:e}=n,{texts:r}=e;r.length===1&&Object.keys(r[0]).length===1?this.note=r[0].text:this.note=e}static fromModel(n){const e=new i;return e.model=n,e}}i.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},b.exports=i},{"../utils/under-dash":26}],10:[function(t,b,m){const c=t("../utils/col-cache");class i{constructor(){this.decode(arguments)}setTLBR(n,e,r,u,a){if(arguments.length<4){const o=c.decodeAddress(n),d=c.decodeAddress(e);this.model={top:Math.min(o.row,d.row),left:Math.min(o.col,d.col),bottom:Math.max(o.row,d.row),right:Math.max(o.col,d.col),sheetName:r},this.setTLBR(o.row,o.col,d.row,d.col,a)}else this.model={top:Math.min(n,r),left:Math.min(e,u),bottom:Math.max(n,r),right:Math.max(e,u),sheetName:a}}decode(n){switch(n.length){case 5:this.setTLBR(n[0],n[1],n[2],n[3],n[4]);break;case 4:this.setTLBR(n[0],n[1],n[2],n[3]);break;case 3:this.setTLBR(n[0],n[1],n[2]);break;case 2:this.setTLBR(n[0],n[1]);break;case 1:{const e=n[0];if(e instanceof i)this.model={top:e.model.top,left:e.model.left,bottom:e.model.bottom,right:e.model.right,sheetName:e.sheetName};else if(e instanceof Array)this.decode(e);else if(e.top&&e.left&&e.bottom&&e.right)this.model={top:e.top,left:e.left,bottom:e.bottom,right:e.right,sheetName:e.sheetName};else{const r=c.decodeEx(e);r.top?this.model={top:r.top,left:r.left,bottom:r.bottom,right:r.right,sheetName:r.sheetName}:this.model={top:r.row,left:r.col,bottom:r.row,right:r.col,sheetName:r.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - "+n.length)}}get top(){return this.model.top||1}set top(n){this.model.top=n}get left(){return this.model.left||1}set left(n){this.model.left=n}get bottom(){return this.model.bottom||1}set bottom(n){this.model.bottom=n}get right(){return this.model.right||1}set right(n){this.model.right=n}get sheetName(){return this.model.sheetName}set sheetName(n){this.model.sheetName=n}get _serialisedSheetName(){const{sheetName:n}=this.model;return n?/^[a-zA-Z0-9]*$/.test(n)?n+"!":`'${n}'!`:""}expand(n,e,r,u){(!this.model.top||n<this.top)&&(this.top=n),(!this.model.left||e<this.left)&&(this.left=e),(!this.model.bottom||r>this.bottom)&&(this.bottom=r),(!this.model.right||u>this.right)&&(this.right=u)}expandRow(n){if(n){const{dimensions:e,number:r}=n;e&&this.expand(r,e.min,r,e.max)}}expandToAddress(n){const e=c.decodeEx(n);this.expand(e.row,e.col,e.row,e.col)}get tl(){return c.n2l(this.left)+this.top}get $t$l(){return`$${c.n2l(this.left)}$${this.top}`}get br(){return c.n2l(this.right)+this.bottom}get $b$r(){return`$${c.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(n){return(!n.sheetName||!this.sheetName||n.sheetName===this.sheetName)&&!(n.bottom<this.top)&&!(n.top>this.bottom)&&!(n.right<this.left)&&!(n.left>this.right)}contains(n){const e=c.decodeEx(n);return this.containsEx(e)}containsEx(n){return(!n.sheetName||!this.sheetName||n.sheetName===this.sheetName)&&n.row>=this.top&&n.row<=this.bottom&&n.col>=this.left&&n.col<=this.right}forEachAddress(n){for(let e=this.left;e<=this.right;e++)for(let r=this.top;r<=this.bottom;r++)n(c.encodeAddress(r,e),r,e)}}b.exports=i},{"../utils/col-cache":19}],11:[function(t,b,m){const c=t("../utils/under-dash"),i=t("./enums"),s=t("../utils/col-cache"),n=t("./cell");b.exports=class{constructor(e,r){this._worksheet=e,this._number=r,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell(e){return this._cells[e-1]}getCellEx(e){let r=this._cells[e.col-1];if(!r){const u=this._worksheet.getColumn(e.col);r=new n(this,u,e.address),this._cells[e.col-1]=r}return r}getCell(e){if(typeof e=="string"){const r=this._worksheet.getColumnKey(e);e=r?r.number:s.l2n(e)}return this._cells[e-1]||this.getCellEx({address:s.encodeAddress(this._number,e),row:this._number,col:e})}splice(e,r){const u=e+r;for(var a=arguments.length,o=new Array(a>2?a-2:0),d=2;d<a;d++)o[d-2]=arguments[d];const h=o.length-r,f=this._cells.length;let g,p,k;if(h<0)for(g=e+o.length;g<=f;g++)k=this._cells[g-1],p=this._cells[g-h-1],p?(k=this.getCell(g),k.value=p.value,k.style=p.style,k._comment=p._comment):k&&(k.value=null,k.style={},k._comment=void 0);else if(h>0)for(g=f;g>=u;g--)p=this._cells[g-1],p?(k=this.getCell(g+h),k.value=p.value,k.style=p.style,k._comment=p._comment):this._cells[g+h-1]=void 0;for(g=0;g<o.length;g++)k=this.getCell(e+g),k.value=o[g],k.style={},k._comment=void 0}eachCell(e,r){if(r||(r=e,e=null),e&&e.includeEmpty){const u=this._cells.length;for(let a=1;a<=u;a++)r(this.getCell(a),a)}else this._cells.forEach((u,a)=>{u&&u.type!==i.ValueType.Null&&r(u,a+1)})}addPageBreak(e,r){const u=this._worksheet,a=Math.max(0,e-1)||0,o=Math.max(0,r-1)||16838,d={id:this._number,max:o,man:1};a&&(d.min=a),u.rowBreaks.push(d)}get values(){const e=[];return this._cells.forEach(r=>{r&&r.type!==i.ValueType.Null&&(e[r.col]=r.value)}),e}set values(e){if(this._cells=[],e)if(e instanceof Array){let r=0;e.hasOwnProperty("0")&&(r=1),e.forEach((u,a)=>{u!==void 0&&(this.getCellEx({address:s.encodeAddress(this._number,a+r),row:this._number,col:a+r}).value=u)})}else this._worksheet.eachColumnKey((r,u)=>{e[u]!==void 0&&(this.getCellEx({address:s.encodeAddress(this._number,r.number),row:this._number,col:r.number}).value=e[u])})}get hasValues(){return c.some(this._cells,e=>e&&e.type!==i.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let e=0;return this.eachCell(()=>{e++}),e}get dimensions(){let e=0,r=0;return this._cells.forEach(u=>{u&&u.type!==i.ValueType.Null&&((!e||e>u.col)&&(e=u.col),r<u.col&&(r=u.col))}),e>0?{min:e,max:r}:null}_applyStyle(e,r){return this.style[e]=r,this._cells.forEach(u=>{u&&(u[e]=r)}),r}get numFmt(){return this.style.numFmt}set numFmt(e){this._applyStyle("numFmt",e)}get font(){return this.style.font}set font(e){this._applyStyle("font",e)}get alignment(){return this.style.alignment}set alignment(e){this._applyStyle("alignment",e)}get protection(){return this.style.protection}set protection(e){this._applyStyle("protection",e)}get border(){return this.style.border}set border(e){this._applyStyle("border",e)}get fill(){return this.style.fill}set fill(e){this._applyStyle("fill",e)}get hidden(){return!!this._hidden}set hidden(e){this._hidden=e}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(e){this._outlineLevel=e}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){const e=[];let r=0,u=0;return this._cells.forEach(a=>{if(a){const o=a.model;o&&((!r||r>a.col)&&(r=a.col),u<a.col&&(u=a.col),e.push(o))}}),this.height||e.length?{cells:e,number:this.number,min:r,max:u,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model(e){if(e.number!==this._number)throw new Error("Invalid row number in model");let r;this._cells=[],e.cells.forEach(u=>{switch(u.type){case n.Types.Merge:break;default:{let a;if(u.address)a=s.decodeAddress(u.address);else if(r){const{row:o}=r,d=r.col+1;a={row:o,col:d,address:s.encodeAddress(o,d),$col$row:`$${s.n2l(d)}$${o}`}}r=a,this.getCellEx(a).model=u;break}}}),e.height?this.height=e.height:delete this.height,this.hidden=e.hidden,this.outlineLevel=e.outlineLevel||0,this.style=e.style&&JSON.parse(JSON.stringify(e.style))||{}}}},{"../utils/col-cache":19,"../utils/under-dash":26,"./cell":3,"./enums":7}],12:[function(t,b,m){const c=t("../utils/col-cache");class i{constructor(n,e,r){this.table=n,this.column=e,this.index=r}_set(n,e){this.table.cacheState(),this.column[n]=e}get name(){return this.column.name}set name(n){this._set("name",n)}get filterButton(){return this.column.filterButton}set filterButton(n){this.column.filterButton=n}get style(){return this.column.style}set style(n){this.column.style=n}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(n){this._set("totalsRowLabel",n)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(n){this._set("totalsRowFunction",n)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(n){this._set("totalsRowResult",n)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(n){this._set("totalsRowFormula",n)}}b.exports=class{constructor(s,n){this.worksheet=s,n&&(this.table=n,this.validate(),this.store())}getFormula(s){switch(s.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${s.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${s.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${s.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${s.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${s.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${s.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${s.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${s.name}])`;case"custom":return s.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: "+s.totalsRowFunction)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){const{table:s}=this,n=(h,f,g)=>{h[f]===void 0&&(h[f]=g)};n(s,"headerRow",!0),n(s,"totalsRow",!1),n(s,"style",{}),n(s.style,"theme","TableStyleMedium2"),n(s.style,"showFirstColumn",!1),n(s.style,"showLastColumn",!1),n(s.style,"showRowStripes",!1),n(s.style,"showColumnStripes",!1);const e=(h,f)=>{if(!h)throw new Error(f)};e(s.ref,"Table must have ref"),e(s.columns,"Table must have column definitions"),e(s.rows,"Table must have row definitions"),s.tl=c.decodeAddress(s.ref);const{row:r,col:u}=s.tl;e(r>0,"Table must be on valid row"),e(u>0,"Table must be on valid col");const{width:a,filterHeight:o,tableHeight:d}=this;s.autoFilterRef=c.encode(r,u,r+o-1,u+a-1),s.tableRef=c.encode(r,u,r+d-1,u+a-1),s.columns.forEach((h,f)=>{e(h.name,`Column ${f} must have a name`),f===0?n(h,"totalsRowLabel","Total"):(n(h,"totalsRowFunction","none"),h.totalsRowFormula=this.getFormula(h))})}store(){const s=(o,d)=>{d&&Object.keys(d).forEach(h=>{o[h]=d[h]})},{worksheet:n,table:e}=this,{row:r,col:u}=e.tl;let a=0;if(e.headerRow){const o=n.getRow(r+a++);e.columns.forEach((d,h)=>{const{style:f,name:g}=d,p=o.getCell(u+h);p.value=g,s(p,f)})}if(e.rows.forEach(o=>{const d=n.getRow(r+a++);o.forEach((h,f)=>{const g=d.getCell(u+f);g.value=h,s(g,e.columns[f].style)})}),e.totalsRow){const o=n.getRow(r+a++);e.columns.forEach((d,h)=>{const f=o.getCell(u+h);if(h===0)f.value=d.totalsRowLabel;else{const g=this.getFormula(d);f.value=g?{formula:d.totalsRowFormula,result:d.totalsRowResult}:null}s(f,d.style)})}}load(s){const{table:n}=this,{row:e,col:r}=n.tl;let u=0;if(n.headerRow){const a=s.getRow(e+u++);n.columns.forEach((o,d)=>{a.getCell(r+d).value=o.name})}if(n.rows.forEach(a=>{const o=s.getRow(e+u++);a.forEach((d,h)=>{o.getCell(r+h).value=d})}),n.totalsRow){const a=s.getRow(e+u++);n.columns.forEach((o,d)=>{const h=a.getCell(r+d);d===0?h.value=o.totalsRowLabel:this.getFormula(o)&&(h.value={formula:o.totalsRowFormula,result:o.totalsRowResult})})}}get model(){return this.table}set model(s){this.table=s}cacheState(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}commit(){if(!this._cache)return;this.validate();const s=c.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let n=0;n<this._cache.tableHeight;n++){const e=this.worksheet.getRow(s.row+n);for(let r=0;r<this._cache.width;r++)e.getCell(s.col+r).value=null}else{for(let n=this.tableHeight;n<this._cache.tableHeight;n++){const e=this.worksheet.getRow(s.row+n);for(let r=0;r<this._cache.width;r++)e.getCell(s.col+r).value=null}for(let n=0;n<this.tableHeight;n++){const e=this.worksheet.getRow(s.row+n);for(let r=this.width;r<this._cache.width;r++)e.getCell(s.col+r).value=null}}this.store()}addRow(s,n){this.cacheState(),n===void 0?this.table.rows.push(s):this.table.rows.splice(n,0,s)}removeRows(s){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(s,n)}getColumn(s){const n=this.table.columns[s];return new i(this,n,s)}addColumn(s,n,e){this.cacheState(),e===void 0?(this.table.columns.push(s),this.table.rows.forEach((r,u)=>{r.push(n[u])})):(this.table.columns.splice(e,0,s),this.table.rows.forEach((r,u)=>{r.splice(e,0,n[u])}))}removeColumns(s){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(s,n),this.table.rows.forEach(e=>{e.splice(s,n)})}_assign(s,n,e){this.cacheState(),s[n]=e}get ref(){return this.table.ref}set ref(s){this._assign(this.table,"ref",s)}get name(){return this.table.name}set name(s){this.table.name=s}get displayName(){return this.table.displyName||this.table.name}set displayNamename(s){this.table.displayName=s}get headerRow(){return this.table.headerRow}set headerRow(s){this._assign(this.table,"headerRow",s)}get totalsRow(){return this.table.totalsRow}set totalsRow(s){this._assign(this.table,"totalsRow",s)}get theme(){return this.table.style.name}set theme(s){this.table.style.name=s}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(s){this.table.style.showFirstColumn=s}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(s){this.table.style.showLastColumn=s}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(s){this.table.style.showRowStripes=s}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(s){this.table.style.showColumnStripes=s}}},{"../utils/col-cache":19}],13:[function(t,b,m){const c=t("./worksheet"),i=t("./defined-names"),s=t("../xlsx/xlsx"),n=t("../csv/csv");b.exports=class{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new i}get xlsx(){return this._xlsx||(this._xlsx=new s(this)),this._xlsx}get csv(){return this._csv||(this._csv=new n(this)),this._csv}get nextId(){for(let e=1;e<this._worksheets.length;e++)if(!this._worksheets[e])return e;return this._worksheets.length||1}addWorksheet(e,r){const u=this.nextId;r&&(typeof r=="string"?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),r={properties:{tabColor:{argb:r}}}):(r.argb||r.theme||r.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),r={properties:{tabColor:r}}));const a=this._worksheets.reduce((h,f)=>(f&&f.orderNo)>h?f.orderNo:h,0),o=Object.assign({},r,{id:u,name:e,orderNo:a+1,workbook:this}),d=new c(o);return this._worksheets[u]=d,d}removeWorksheetEx(e){delete this._worksheets[e.id]}removeWorksheet(e){const r=this.getWorksheet(e);r&&r.destroy()}getWorksheet(e){return e===void 0?this._worksheets.find(Boolean):typeof e=="number"?this._worksheets[e]:typeof e=="string"?this._worksheets.find(r=>r&&r.name===e):void 0}get worksheets(){return this._worksheets.slice(1).sort((e,r)=>e.orderNo-r.orderNo).filter(Boolean)}eachSheet(e){this.worksheets.forEach(r=>{e(r,r.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(e){const r=this.media.length;return this.media.push(Object.assign({},e,{type:"image"})),r}getImage(e){return this.media[e]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(e=>e.model),sheets:this.worksheets.map(e=>e.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model(e){this.creator=e.creator,this.lastModifiedBy=e.lastModifiedBy,this.lastPrinted=e.lastPrinted,this.created=e.created,this.modified=e.modified,this.company=e.company,this.manager=e.manager,this.title=e.title,this.subject=e.subject,this.keywords=e.keywords,this.category=e.category,this.description=e.description,this.language=e.language,this.revision=e.revision,this.contentStatus=e.contentStatus,this.properties=e.properties,this.calcProperties=e.calcProperties,this._worksheets=[],e.worksheets.forEach(r=>{const{id:u,name:a,state:o}=r,d=e.sheets&&e.sheets.findIndex(h=>h.id===u);(this._worksheets[u]=new c({id:u,name:a,orderNo:d,state:o,workbook:this})).model=r}),this._definedNames.model=e.definedNames,this.views=e.views,this._themes=e.themes,this.media=e.media||[]}}},{"../csv/csv":1,"../xlsx/xlsx":144,"./defined-names":6,"./worksheet":14}],14:[function(t,b,m){const c=t("../utils/under-dash"),i=t("../utils/col-cache"),s=t("./range"),n=t("./row"),e=t("./column"),r=t("./enums"),u=t("./image"),a=t("./table"),o=t("./data-validations"),d=t("../utils/encryptor"),{copyStyle:h}=t("../utils/copy-style");b.exports=class{constructor(f){f=f||{},this._workbook=f.workbook,this.id=f.id,this.orderNo=f.orderNo,this.name=f.name,this.state=f.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},f.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!f.pageSetup||!f.pageSetup.fitToWidth&&!f.pageSetup.fitToHeight||f.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},f.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},f.headerFooter),this.dataValidations=new o,this.views=f.views||[],this.autoFilter=f.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(f){if(f===void 0&&(f="sheet"+this.id),this._name!==f){if(typeof f!="string")throw new Error("The name has to be a string.");if(f==="")throw new Error("The name can't be empty.");if(f==="History")throw new Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test(f))throw new Error(`Worksheet name ${f} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test(f))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: "+f);if(f&&f.length>31&&(console.warn(`Worksheet name ${f} exceeds 31 chars. This will be truncated`),f=f.substring(0,31)),this._workbook._worksheets.find(g=>g&&g.name.toLowerCase()===f.toLowerCase()))throw new Error("Worksheet name already exists: "+f);this._name=f}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const f=new s;return this._rows.forEach(g=>{if(g){const p=g.dimensions;p&&f.expand(g.number,p.min,g.number,p.max)}}),f}get columns(){return this._columns}set columns(f){this._headerRowCount=f.reduce((k,C)=>{const T=(C.header?1:C.headers&&C.headers.length)||0;return Math.max(k,T)},0);let g=1;const p=this._columns=[];f.forEach(k=>{const C=new e(this,g++,!1);p.push(C),C.defn=k})}getColumnKey(f){return this._keys[f]}setColumnKey(f,g){this._keys[f]=g}deleteColumnKey(f){delete this._keys[f]}eachColumnKey(f){c.each(this._keys,f)}getColumn(f){if(typeof f=="string"){const g=this._keys[f];if(g)return g;f=i.l2n(f)}if(this._columns||(this._columns=[]),f>this._columns.length){let g=this._columns.length+1;for(;g<=f;)this._columns.push(new e(this,g++))}return this._columns[f-1]}spliceColumns(f,g){const p=this._rows.length;for(var k=arguments.length,C=new Array(k>2?k-2:0),T=2;T<k;T++)C[T-2]=arguments[T];if(C.length>0)for(let N=0;N<p;N++){const q=[f,g];C.forEach(L=>{q.push(L[N]||null)});const W=this.getRow(N+1);W.splice.apply(W,q)}else this._rows.forEach(N=>{N&&N.splice(f,g)});const D=C.length-g,V=f+g,P=this._columns.length;if(D<0)for(let N=f+C.length;N<=P;N++)this.getColumn(N).defn=this.getColumn(N-D).defn;else if(D>0)for(let N=P;N>=V;N--)this.getColumn(N+D).defn=this.getColumn(N).defn;for(let N=f;N<f+C.length;N++)this.getColumn(N).defn=null;this.workbook.definedNames.spliceColumns(this.name,f,g,C.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let f=0;return this.eachRow(g=>{f=Math.max(f,g.cellCount)}),f}get actualColumnCount(){const f=[];let g=0;return this.eachRow(p=>{p.eachCell(k=>{let{col:C}=k;f[C]||(f[C]=!0,g++)})}),g}_commitRow(){}get _lastRowNumber(){const f=this._rows;let g=f.length;for(;g>0&&f[g-1]===void 0;)g--;return g}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(f){return this._rows[f-1]}findRows(f,g){return this._rows.slice(f-1,f-1+g)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let f=0;return this.eachRow(()=>{f++}),f}getRow(f){let g=this._rows[f-1];return g||(g=this._rows[f-1]=new n(this,f)),g}getRows(f,g){if(g<1)return;const p=[];for(let k=f;k<f+g;k++)p.push(this.getRow(k));return p}addRow(f){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";const p=this._nextRow,k=this.getRow(p);return k.values=f,this._setStyleOption(p,g[0]==="i"?g:"n"),k}addRows(f){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";const p=[];return f.forEach(k=>{p.push(this.addRow(k,g))}),p}insertRow(f,g){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";return this.spliceRows(f,0,g),this._setStyleOption(f,p),this.getRow(f)}insertRows(f,g){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";if(this.spliceRows(f,0,...g),p!=="n")for(let k=0;k<g.length;k++)p[0]==="o"&&this.findRow(g.length+f+k)!==void 0?this._copyStyle(g.length+f+k,f+k,p[1]==="+"):p[0]==="i"&&this.findRow(f-1)!==void 0&&this._copyStyle(f-1,f+k,p[1]==="+");return this.getRows(f,g.length)}_setStyleOption(f){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";g[0]==="o"&&this.findRow(f+1)!==void 0?this._copyStyle(f+1,f,g[1]==="+"):g[0]==="i"&&this.findRow(f-1)!==void 0&&this._copyStyle(f-1,f,g[1]==="+")}_copyStyle(f,g){let p=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const k=this.getRow(f),C=this.getRow(g);C.style=h(k.style),k.eachCell({includeEmpty:p},(T,D)=>{C.getCell(D).style=h(T.style)}),C.height=k.height}duplicateRow(f,g){let p=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const k=this._rows[f-1],C=new Array(g).fill(k.values);this.spliceRows(f+1,p?0:g,...C);for(let T=0;T<g;T++){const D=this._rows[f+T];D.style=k.style,D.height=k.height,k.eachCell({includeEmpty:!0},(V,P)=>{D.getCell(P).style=V.style})}}spliceRows(f,g){const p=f+g;for(var k=arguments.length,C=new Array(k>2?k-2:0),T=2;T<k;T++)C[T-2]=arguments[T];const D=C.length,V=D-g,P=this._rows.length;let N,q;if(V<0)for(f===P&&(this._rows[P-1]=void 0),N=p;N<=P;N++)if(q=this._rows[N-1],q){const W=this.getRow(N+V);W.values=q.values,W.style=q.style,W.height=q.height,q.eachCell({includeEmpty:!0},(L,A)=>{W.getCell(A).style=L.style}),this._rows[N-1]=void 0}else this._rows[N+V-1]=void 0;else if(V>0)for(N=P;N>=p;N--)if(q=this._rows[N-1],q){const W=this.getRow(N+V);W.values=q.values,W.style=q.style,W.height=q.height,q.eachCell({includeEmpty:!0},(L,A)=>{if(W.getCell(A).style=L.style,L._value.constructor.name==="MergeValue"){const M=this.getRow(L._row._number+D).getCell(A),_=L._value._master,v=this.getRow(_._row._number+D).getCell(_._column._number);M.merge(v)}})}else this._rows[N+V-1]=void 0;for(N=0;N<D;N++){const W=this.getRow(f+N);W.style={},W.values=C[N]}this.workbook.definedNames.spliceRows(this.name,f,g,D)}eachRow(f,g){if(g||(g=f,f=void 0),f&&f.includeEmpty){const p=this._rows.length;for(let k=1;k<=p;k++)g(this.getRow(k),k)}else this._rows.forEach(p=>{p&&p.hasValues&&g(p,p.number)})}getSheetValues(){const f=[];return this._rows.forEach(g=>{g&&(f[g.number]=g.values)}),f}findCell(f,g){const p=i.getAddress(f,g),k=this._rows[p.row-1];return k?k.findCell(p.col):void 0}getCell(f,g){const p=i.getAddress(f,g);return this.getRow(p.row).getCellEx(p)}mergeCells(){for(var f=arguments.length,g=new Array(f),p=0;p<f;p++)g[p]=arguments[p];const k=new s(g);this._mergeCellsInternal(k)}mergeCellsWithoutStyle(){for(var f=arguments.length,g=new Array(f),p=0;p<f;p++)g[p]=arguments[p];const k=new s(g);this._mergeCellsInternal(k,!0)}_mergeCellsInternal(f,g){c.each(this._merges,k=>{if(k.intersects(f))throw new Error("Cannot merge already merged cells")});const p=this.getCell(f.top,f.left);for(let k=f.top;k<=f.bottom;k++)for(let C=f.left;C<=f.right;C++)(k>f.top||C>f.left)&&this.getCell(k,C).merge(p,g);this._merges[p.address]=f}_unMergeMaster(f){const g=this._merges[f.address];if(g){for(let p=g.top;p<=g.bottom;p++)for(let k=g.left;k<=g.right;k++)this.getCell(p,k).unmerge();delete this._merges[f.address]}}get hasMerges(){return c.some(this._merges,Boolean)}unMergeCells(){for(var f=arguments.length,g=new Array(f),p=0;p<f;p++)g[p]=arguments[p];const k=new s(g);for(let C=k.top;C<=k.bottom;C++)for(let T=k.left;T<=k.right;T++){const D=this.findCell(C,T);D&&(D.type===r.ValueType.Merge?this._unMergeMaster(D.master):this._merges[D.address]&&this._unMergeMaster(D))}}fillFormula(f,g,p){let k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"shared";const C=i.decode(f),{top:T,left:D,bottom:V,right:P}=C,N=P-D+1,q=i.encodeAddress(T,D),W=k==="shared";let L;L=typeof p=="function"?p:Array.isArray(p)?Array.isArray(p[0])?(M,_)=>p[M-T][_-D]:(M,_)=>p[(M-T)*N+(_-D)]:()=>{};let A=!0;for(let M=T;M<=V;M++)for(let _=D;_<=P;_++)A?(this.getCell(M,_).value={shareType:k,formula:g,ref:f,result:L(M,_)},A=!1):this.getCell(M,_).value=W?{sharedFormula:q,result:L(M,_)}:L(M,_)}addImage(f,g){const p={type:"image",imageId:f,range:g};this._media.push(new u(this,p))}getImages(){return this._media.filter(f=>f.type==="image")}addBackgroundImage(f){const g={type:"background",imageId:f};this._media.push(new u(this,g))}getBackgroundImageId(){const f=this._media.find(g=>g.type==="background");return f&&f.imageId}protect(f,g){return new Promise(p=>{this.sheetProtection={sheet:!0},g&&"spinCount"in g&&(g.spinCount=Number.isFinite(g.spinCount)?Math.round(Math.max(0,g.spinCount)):1e5),f&&(this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=d.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=g&&"spinCount"in g?g.spinCount:1e5,this.sheetProtection.hashValue=d.convertPasswordToHash(f,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount)),g&&(this.sheetProtection=Object.assign(this.sheetProtection,g),!f&&"spinCount"in g&&delete this.sheetProtection.spinCount),p()})}unprotect(){this.sheetProtection=null}addTable(f){const g=new a(this,f);return this.tables[f.name]=g,g}getTable(f){return this.tables[f]}removeTable(f){delete this.tables[f]}getTables(){return Object.values(this.tables)}addConditionalFormatting(f){this.conditionalFormattings.push(f)}removeConditionalFormatting(f){typeof f=="number"?this.conditionalFormattings.splice(f,1):this.conditionalFormattings=f instanceof Function?this.conditionalFormattings.filter(f):[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor(f){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=f}get model(){const f={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(k=>k.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(k=>k.model),conditionalFormattings:this.conditionalFormattings};f.cols=e.toModel(this.columns);const g=f.rows=[],p=f.dimensions=new s;return this._rows.forEach(k=>{const C=k&&k.model;C&&(p.expand(C.number,C.min,C.number,C.max),g.push(C))}),f.merges=[],c.each(this._merges,k=>{f.merges.push(k.range)}),f}_parseRows(f){this._rows=[],f.rows.forEach(g=>{const p=new n(this,g.number);this._rows[p.number-1]=p,p.model=g})}_parseMergeCells(f){c.each(f.mergeCells,g=>{this.mergeCellsWithoutStyle(g)})}set model(f){this.name=f.name,this._columns=e.fromModel(this,f.cols),this._parseRows(f),this._parseMergeCells(f),this.dataValidations=new o(f.dataValidations),this.properties=f.properties,this.pageSetup=f.pageSetup,this.headerFooter=f.headerFooter,this.views=f.views,this.autoFilter=f.autoFilter,this._media=f.media.map(g=>new u(this,g)),this.sheetProtection=f.sheetProtection,this.tables=f.tables.reduce((g,p)=>{const k=new a;return k.model=p,g[p.name]=k,g},{}),this.conditionalFormattings=f.conditionalFormattings}}},{"../utils/col-cache":19,"../utils/copy-style":20,"../utils/encryptor":21,"../utils/under-dash":26,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(t,b,m){t("core-js/modules/es.promise"),t("core-js/modules/es.promise.finally"),t("core-js/modules/es.object.assign"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.values"),t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.async-iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.find-index"),t("core-js/modules/es.array.find"),t("core-js/modules/es.string.from-code-point"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.number.is-nan"),t("regenerator-runtime/runtime");const c={Workbook:t("./doc/workbook")},i=t("./doc/enums");Object.keys(i).forEach(s=>{c[s]=i[s]}),b.exports=c},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":359,"core-js/modules/es.array.find-index":358,"core-js/modules/es.array.includes":360,"core-js/modules/es.array.iterator":361,"core-js/modules/es.number.is-nan":363,"core-js/modules/es.object.assign":364,"core-js/modules/es.object.keys":366,"core-js/modules/es.object.values":367,"core-js/modules/es.promise":372,"core-js/modules/es.promise.finally":371,"core-js/modules/es.string.from-code-point":376,"core-js/modules/es.string.includes":377,"core-js/modules/es.symbol":381,"core-js/modules/es.symbol.async-iterator":378,"regenerator-runtime/runtime":492}],16:[function(t,b,m){const c=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");m.bufferToString=function(i){return typeof i=="string"?i:c?c.decode(i):i.toString()}},{}],17:[function(t,b,m){const c=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:i}=t("buffer");m.stringToBuffer=function(s){return typeof s!="string"?s:c?i.from(c.encode(s).buffer):i.from(s)}},{buffer:220}],18:[function(t,b,m){const c=t("./under-dash"),i=t("./col-cache");b.exports=class{constructor(s){this.template=s,this.sheets={}}addCell(s){this.addCellEx(i.decodeEx(s))}getCell(s){return this.findCellEx(i.decodeEx(s),!0)}findCell(s){return this.findCellEx(i.decodeEx(s),!1)}findCellAt(s,n,e){const r=this.sheets[s],u=r&&r[n];return u&&u[e]}addCellEx(s){if(s.top)for(let n=s.top;n<=s.bottom;n++)for(let e=s.left;e<=s.right;e++)this.getCellAt(s.sheetName,n,e);else this.findCellEx(s,!0)}getCellEx(s){return this.findCellEx(s,!0)}findCellEx(s,n){const e=this.findSheet(s,n),r=this.findSheetRow(e,s,n);return this.findRowCell(r,s,n)}getCellAt(s,n,e){const r=this.sheets[s]||(this.sheets[s]=[]),u=r[n]||(r[n]=[]);return u[e]||(u[e]={sheetName:s,address:i.n2l(e)+n,row:n,col:e})}removeCellEx(s){const n=this.findSheet(s);if(!n)return;const e=this.findSheetRow(n,s);e&&delete e[s.col]}forEachInSheet(s,n){const e=this.sheets[s];e&&e.forEach((r,u)=>{r&&r.forEach((a,o)=>{a&&n(a,u,o)})})}forEach(s){c.each(this.sheets,(n,e)=>{this.forEachInSheet(e,s)})}map(s){const n=[];return this.forEach(e=>{n.push(s(e))}),n}findSheet(s,n){const e=s.sheetName;return this.sheets[e]?this.sheets[e]:n?this.sheets[e]=[]:void 0}findSheetRow(s,n,e){const{row:r}=n;return s&&s[r]?s[r]:e?s[r]=[]:void 0}findRowCell(s,n,e){const{col:r}=n;return s&&s[r]?s[r]:e?s[r]=this.template?Object.assign(n,JSON.parse(JSON.stringify(this.template))):n:void 0}spliceRows(s,n,e,r){const u=this.sheets[s];if(u){const a=[];for(let o=0;o<r;o++)a.push([]);u.splice(n,e,...a)}}spliceColumns(s,n,e,r){const u=this.sheets[s];if(u){const a=[];for(let o=0;o<r;o++)a.push(null);c.each(u,o=>{o.splice(n,e,...a)})}}}},{"./col-cache":19,"./under-dash":26}],19:[function(t,b,m){const c=/^[A-Z]+\d+$/,i={_dictionary:["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"],_l2nFill:0,_l2n:{},_n2l:[],_level:s=>s<=26?1:s<=676?2:3,_fill(s){let n,e,r,u,a,o=1;if(s>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&s>=1){for(;o<=26;)n=this._dictionary[o-1],this._n2l[o]=n,this._l2n[n]=o,o++;this._l2nFill=1}if(this._l2nFill<2&&s>=2){for(o=27;o<=702;)e=o-27,r=e%26,u=Math.floor(e/26),n=this._dictionary[u]+this._dictionary[r],this._n2l[o]=n,this._l2n[n]=o,o++;this._l2nFill=2}if(this._l2nFill<3&&s>=3){for(o=703;o<=16384;)e=o-703,r=e%26,u=Math.floor(e/26)%26,a=Math.floor(e/676),n=this._dictionary[a]+this._dictionary[u]+this._dictionary[r],this._n2l[o]=n,this._l2n[n]=o,o++;this._l2nFill=3}},l2n(s){if(this._l2n[s]||this._fill(s.length),!this._l2n[s])throw new Error("Out of bounds. Invalid column letter: "+s);return this._l2n[s]},n2l(s){if(s<1||s>16384)throw new Error(s+" is out of bounds. Excel supports columns from 1 to 16384");return this._n2l[s]||this._fill(this._level(s)),this._n2l[s]},_hash:{},validateAddress(s){if(!c.test(s))throw new Error("Invalid Address: "+s);return!0},decodeAddress(s){const n=s.length<5&&this._hash[s];if(n)return n;let e=!1,r="",u=0,a=!1,o="",d=0;for(let f,g=0;g<s.length;g++)if(f=s.charCodeAt(g),!a&&f>=65&&f<=90)e=!0,r+=s[g],u=26*u+f-64;else if(f>=48&&f<=57)a=!0,o+=s[g],d=10*d+f-48;else if(a&&e&&f!==36)break;if(e){if(u>16384)throw new Error("Out of bounds. Invalid column letter: "+r)}else u=void 0;a||(d=void 0);const h={address:s=r+o,col:u,row:d,$col$row:`$${r}$${o}`};return u<=100&&d<=100&&(this._hash[s]=h,this._hash[h.$col$row]=h),h},getAddress(s,n){if(n){const e=this.n2l(n)+s;return this.decodeAddress(e)}return this.decodeAddress(s)},decode(s){const n=s.split(":");if(n.length===2){const e=this.decodeAddress(n[0]),r=this.decodeAddress(n[1]),u={top:Math.min(e.row,r.row),left:Math.min(e.col,r.col),bottom:Math.max(e.row,r.row),right:Math.max(e.col,r.col)};return u.tl=this.n2l(u.left)+u.top,u.br=this.n2l(u.right)+u.bottom,u.dimensions=`${u.tl}:${u.br}`,u}return this.decodeAddress(s)},decodeEx(s){const n=s.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),e=n[1]||n[2],r=n[3],u=r.split(":");if(u.length>1){let o=this.decodeAddress(u[0]),d=this.decodeAddress(u[1]);const h=Math.min(o.row,d.row),f=Math.min(o.col,d.col),g=Math.max(o.row,d.row),p=Math.max(o.col,d.col);return o=this.n2l(f)+h,d=this.n2l(p)+g,{top:h,left:f,bottom:g,right:p,sheetName:e,tl:{address:o,col:f,row:h,$col$row:`$${this.n2l(f)}$${h}`,sheetName:e},br:{address:d,col:p,row:g,$col$row:`$${this.n2l(p)}$${g}`,sheetName:e},dimensions:`${o}:${d}`}}if(r.startsWith("#"))return e?{sheetName:e,error:r}:{error:r};const a=this.decodeAddress(r);return e?{sheetName:e,...a}:a},encodeAddress:(s,n)=>i.n2l(n)+s,encode(){switch(arguments.length){case 2:return i.encodeAddress(arguments[0],arguments[1]);case 4:return`${i.encodeAddress(arguments[0],arguments[1])}:${i.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange(s,n){const[e,r,,u,a]=s,[o,d]=n;return o>=e&&o<=u&&d>=r&&d<=a}};b.exports=i},{}],20:[function(t,b,m){const c=(s,n)=>({...s,...n.reduce((e,r)=>(s[r]&&(e[r]={...s[r]}),e),{})}),i=function(s,n,e){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];s[e]&&(n[e]=c(s[e],r))};m.copyStyle=s=>{if(!s)return s;if(n=s,Object.keys(n).length===0)return{};var n;const e={...s};return i(s,e,"font",["color"]),i(s,e,"alignment"),i(s,e,"protection"),s.border&&(i(s,e,"border"),i(s.border,e.border,"top",["color"]),i(s.border,e.border,"left",["color"]),i(s.border,e.border,"bottom",["color"]),i(s.border,e.border,"right",["color"]),i(s.border,e.border,"diagonal",["color"])),s.fill&&(i(s,e,"fill",["fgColor","bgColor","center"]),s.fill.stops&&(e.fill.stops=s.fill.stops.map(r=>c(r,["color"])))),e}},{}],21:[function(t,b,m){(function(c){(function(){const i=t("crypto"),s={hash(n){const e=i.createHash(n);for(var r=arguments.length,u=new Array(r>1?r-1:0),a=1;a<r;a++)u[a-1]=arguments[a];return e.update(c.concat(u)),e.digest()},convertPasswordToHash(n,e,r,u){if(e=e.toLowerCase(),i.getHashes().indexOf(e)<0)throw new Error(`Hash algorithm '${e}' not supported!`);const a=c.from(n,"utf16le");let o=this.hash(e,c.from(r,"base64"),a);for(let d=0;d<u;d++){const h=c.alloc(4);h.writeUInt32LE(d,0),o=this.hash(e,o,h)}return o.toString("base64")},randomBytes:n=>i.randomBytes(n)};b.exports=s}).call(this)}).call(this,t("buffer").Buffer)},{buffer:220,crypto:390}],22:[function(t,b,m){const{SaxesParser:c}=t("saxes"),{PassThrough:i}=t("readable-stream"),{bufferToString:s}=t("./browser-buffer-decode");b.exports=async function*(n){n.pipe&&!n[Symbol.asyncIterator]&&(n=n.pipe(new i));const e=new c;let r;e.on("error",a=>{r=a});let u=[];e.on("opentag",a=>u.push({eventType:"opentag",value:a})),e.on("text",a=>u.push({eventType:"text",value:a})),e.on("closetag",a=>u.push({eventType:"closetag",value:a}));for await(const a of n){if(e.write(s(a)),r)throw r;yield u,u=[]}}},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],23:[function(t,b,m){const c=t("./col-cache"),i=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,s=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;b.exports={slideFormula:function(n,e,r){const u=c.decode(e),a=c.decode(r);return n.replace(i,(o,d,h,f,g)=>{if(g)return o;const p=s.exec(f);if(p){const k=p[1],C=p[2].toUpperCase(),T=p[3],D=p[4];if(C.length>3||C.length===3&&C>"XFD")return o;let V=c.l2n(C),P=parseInt(D,10);return k||(V+=a.col-u.col),T||(P+=a.row-u.row),(d||"")+(k||"")+c.n2l(V)+(T||"")+P}return o})}}},{"./col-cache":19}],24:[function(t,b,m){(function(c,i){(function(){const s=t("readable-stream"),n=t("./utils"),e=t("./string-buf");class r{constructor(f,g){this._data=f,this._encoding=g}get length(){return this.toBuffer().length}copy(f,g,p,k){return this.toBuffer().copy(f,g,p,k)}toBuffer(){return this._buffer||(this._buffer=i.from(this._data,this._encoding)),this._buffer}}class u{constructor(f){this._data=f}get length(){return this._data.length}copy(f,g,p,k){return this._data._buf.copy(f,g,p,k)}toBuffer(){return this._data.toBuffer()}}class a{constructor(f){this._data=f}get length(){return this._data.length}copy(f,g,p,k){this._data.copy(f,g,p,k)}toBuffer(){return this._data}}class o{constructor(f){this.size=f,this.buffer=i.alloc(f),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;const f=i.alloc(this.iWrite-this.iRead);return this.buffer.copy(f,0,this.iRead,this.iWrite),f}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(f){let g;return f===0?null:f===void 0||f>=this.length?(g=this.toBuffer(),this.iRead=this.iWrite,g):(g=i.alloc(f),this.buffer.copy(g,0,this.iRead,f),this.iRead+=f,g)}write(f,g,p){const k=Math.min(p,this.size-this.iWrite);return f.copy(this.buffer,this.iWrite,g,g+k),this.iWrite+=k,k}}const d=function(h){h=h||{},this.bufSize=h.bufSize||1048576,this.buffers=[],this.batch=h.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};n.inherits(d,s.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return i.concat(this.buffers.map(h=>h.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const f=this.buffers[this.buffers.length-1];if(!f.full)return f}const h=new o(this.bufSize);return this.buffers.push(h),h},async _pipe(h){await Promise.all(this.pipes.map(function(f){return new Promise(g=>{f.write(h.toBuffer(),()=>{g()})})}))},_writeToBuffers(h){let f=0;const g=h.length;for(;f<g;)f+=this._getWritableBuffer().write(h,f,g-f)},async write(h,f,g){let p;if(f instanceof Function&&(g=f,f="utf8"),g=g||n.nop,h instanceof e)p=new u(h);else if(h instanceof i)p=new a(h);else{if(!(typeof h=="string"||h instanceof String||h instanceof ArrayBuffer))throw new Error("Chunk must be one of type String, Buffer or StringBuf.");p=new r(h,f)}if(this.pipes.length)if(this.batch)for(this._writeToBuffers(p);!this.corked&&this.buffers.length>1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(p),c.nextTick(g)):(await this._pipe(p),g());else this.paused||this.emit("data",p.toBuffer()),this._writeToBuffers(p),this.emit("readable");return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end(h,f,g){const p=k=>{k?g(k):(this._flush(),this.pipes.forEach(C=>{C.end()}),this.emit("finish"))};h?this.write(h,f,p):p()},read(h){let f;if(h){for(f=[];h&&this.buffers.length&&!this.buffers[0].eod;){const g=this.buffers[0],p=g.read(h);h-=p.length,f.push(p),g.eod&&g.full&&this.buffers.shift()}return i.concat(f)}return f=this.buffers.map(g=>g.toBuffer()).filter(Boolean),this.buffers=[],i.concat(f)},setEncoding(h){this.encoding=h},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(h){this.pipes.push(h),!this.paused&&this.buffers.length&&this.end()},unpipe(h){this.pipes=this.pipes.filter(f=>f!==h)},unshift(){throw new Error("Not Implemented")},wrap(){throw new Error("Not Implemented")}}),b.exports=d}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{"./string-buf":25,"./utils":27,_process:467,buffer:220,"readable-stream":491}],25:[function(t,b,m){(function(c){(function(){b.exports=class{constructor(i){this._buf=c.alloc(i&&i.size||16384),this._encoding=i&&i.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=c.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(i){i=i||0,this._buffer=void 0,this._inPos=i}_grow(i){let s=2*this._buf.length;for(;s<i;)s*=2;const n=c.alloc(s);this._buf.copy(n,0),this._buf=n}addText(i){this._buffer=void 0;let s=this._inPos+this._buf.write(i,this._inPos,this._encoding);for(;s>=this._buf.length-4;)this._grow(this._inPos+i.length),s=this._inPos+this._buf.write(i,this._inPos,this._encoding);this._inPos=s}addStringBuf(i){i.length&&(this._buffer=void 0,this.length+i.length>this.capacity&&this._grow(this.length+i.length),i._buf.copy(this._buf,this._inPos,0,i.length),this._inPos+=i.length)}}}).call(this)}).call(this,t("buffer").Buffer)},{buffer:220}],26:[function(t,b,m){const{toString:c}=Object.prototype,i=/["&<>]/,s={each:function(n,e){n&&(Array.isArray(n)?n.forEach(e):Object.keys(n).forEach(r=>{e(n[r],r)}))},some:function(n,e){return!!n&&(Array.isArray(n)?n.some(e):Object.keys(n).some(r=>e(n[r],r)))},every:function(n,e){return!n||(Array.isArray(n)?n.every(e):Object.keys(n).every(r=>e(n[r],r)))},map:function(n,e){return n?Array.isArray(n)?n.map(e):Object.keys(n).map(r=>e(n[r],r)):[]},keyBy:(n,e)=>n.reduce((r,u)=>(r[u[e]]=u,r),{}),isEqual:function(n,e){const r=typeof n,u=typeof e,a=Array.isArray(n),o=Array.isArray(e);let d;if(r!==u)return!1;switch(typeof n){case"object":if(a||o)return!(!a||!o)&&n.length===e.length&&n.every((h,f)=>{const g=e[f];return s.isEqual(h,g)});if(n===null||e===null)return n===e;if(d=Object.keys(n),Object.keys(e).length!==d.length)return!1;for(const h of d)if(!e.hasOwnProperty(h))return!1;return s.every(n,(h,f)=>{const g=e[f];return s.isEqual(h,g)});default:return n===e}},escapeHtml(n){const e=i.exec(n);if(!e)return n;let r="",u="",a=0,o=e.index;for(;o<n.length;o++){switch(n.charAt(o)){case'"':u=""";break;case"&":u="&";break;case"'":u="'";break;case"<":u="<";break;case">":u=">";break;default:continue}a!==o&&(r+=n.substring(a,o)),a=o+1,r+=u}return a!==o?r+n.substring(a,o):r},strcmp:(n,e)=>n<e?-1:n>e?1:0,isUndefined:n=>c.call(n)==="[object Undefined]",isObject:n=>c.call(n)==="[object Object]",deepMerge(){const n=arguments[0]||{},{length:e}=arguments;let r,u,a;function o(d,h){r=n[h],a=Array.isArray(d),s.isObject(d)||a?(a?(a=!1,u=r&&Array.isArray(r)?r:[]):u=r&&s.isObject(r)?r:{},n[h]=s.deepMerge(u,d)):s.isUndefined(d)||(n[h]=d)}for(let d=0;d<e;d++)s.each(arguments[d],o);return n}};b.exports=s},{}],27:[function(t,b,m){(function(c,i){(function(){const s=t("fs"),n=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,e={nop(){},promiseImmediate:r=>new Promise(u=>{c.setImmediate?i(()=>{u(r)}):setTimeout(()=>{u(r)},1)}),inherits:function(r,u,a,o){r.super_=u,o||(o=a,a=null),a&&Object.keys(a).forEach(h=>{Object.defineProperty(r,h,Object.getOwnPropertyDescriptor(a,h))});const d={constructor:{value:r,enumerable:!1,writable:!1,configurable:!0}};o&&Object.keys(o).forEach(h=>{d[h]=Object.getOwnPropertyDescriptor(o,h)}),r.prototype=Object.create(u.prototype,d)},dateToExcel:(r,u)=>25569+r.getTime()/864e5-(u?1462:0),excelToDate(r,u){const a=Math.round(24*(r-25569+(u?1462:0))*3600*1e3);return new Date(a)},parsePath(r){const u=r.lastIndexOf("/");return{path:r.substring(0,u),name:r.substring(u+1)}},getRelsPath(r){const u=e.parsePath(r);return`${u.path}/_rels/${u.name}.rels`},xmlEncode(r){const u=n.exec(r);if(!u)return r;let a="",o="",d=0,h=u.index;for(;h<r.length;h++){const f=r.charCodeAt(h);switch(f){case 34:o=""";break;case 38:o="&";break;case 39:o="'";break;case 60:o="<";break;case 62:o=">";break;case 127:o="";break;default:if(f<=31&&(f<=8||f>=11&&f!==13)){o="";break}continue}d!==h&&(a+=r.substring(d,h)),d=h+1,o&&(a+=o)}return d!==h?a+r.substring(d,h):a},xmlDecode:r=>r.replace(/&([a-z]*);/g,u=>{switch(u){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return u}}),validInt(r){const u=parseInt(r,10);return Number.isNaN(u)?0:u},isDateFmt(r){return r?(r=(r=r.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)!==null:!1},fs:{exists:r=>new Promise(u=>{s.access(r,s.constants.F_OK,a=>{u(!a)})})},toIsoDateString:r=>r.toIsoString().subsstr(0,10),parseBoolean:r=>r===!0||r==="true"||r===1||r==="1"};b.exports=e}).call(this)}).call(this,typeof lt<"u"?lt:typeof self<"u"?self:typeof window<"u"?window:{},t("timers").setImmediate)},{fs:216,timers:523}],28:[function(t,b,m){const c=t("./under-dash"),i=t("./utils");function s(r,u,a){r.push(` ${u}="${i.xmlEncode(a.toString())}"`)}function n(r,u){if(u){const a=[];c.each(u,(o,d)=>{o!==void 0&&s(a,d,o)}),r.push(a.join(""))}}class e{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml(u){const a=this._xml;a.push("<?xml"),n(a,u),a.push(`?>
|
|
2
2
|
`)}openNode(u,a){const o=this.tos,d=this._xml;o&&this.open&&d.push(">"),this._stack.push(u),d.push("<"),d.push(u),n(d,a),this.leaf=!0,this.open=!0}addAttribute(u,a){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");a!==void 0&&s(this._xml,u,a)}addAttributes(u){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");n(this._xml,u)}writeText(u){const a=this._xml;this.open&&(a.push(">"),this.open=!1),this.leaf=!1,a.push(i.xmlEncode(u.toString()))}writeXml(u){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(u)}closeNode(){const u=this._stack.pop(),a=this._xml;this.leaf?a.push("/>"):(a.push("</"),a.push(u),a.push(">")),this.open=!1,this.leaf=!1}leafNode(u,a,o){this.openNode(u,a),o!==void 0&&this.writeText(o),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){const u=this._rollbacks.pop();this._xml.length>u.xml&&this._xml.splice(u.xml,this._xml.length-u.xml),this._stack.length>u.stack&&this._stack.splice(u.stack,this._stack.length-u.stack),this.leaf=u.leaf,this.open=u.open}get xml(){return this.closeAll(),this._xml.join("")}}e.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},b.exports=e},{"./under-dash":26,"./utils":27}],29:[function(t,b,m){(function(c){(function(){const i=t("events"),s=t("jszip"),n=t("./stream-buf"),{stringToBuffer:e}=t("./browser-buffer-encode");class r extends i.EventEmitter{constructor(a){super(),this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},a),this.zip=new s,this.stream=new n}append(a,o){o.hasOwnProperty("base64")&&o.base64?this.zip.file(o.name,a,{base64:!0}):(c.browser&&typeof a=="string"&&(a=e(a)),this.zip.file(o.name,a))}async finalize(){const a=await this.zip.generateAsync(this.options);this.stream.end(a),this.emit("finish")}read(a){return this.stream.read(a)}setEncoding(a){return this.stream.setEncoding(a)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(a,o){return this.stream.pipe(a,o)}unpipe(a){return this.stream.unpipe(a)}unshift(a){return this.stream.unshift(a)}wrap(a){return this.stream.wrap(a)}}b.exports={ZipWriter:r}}).call(this)}).call(this,t("_process"))},{"./browser-buffer-encode":17,"./stream-buf":24,_process:467,events:422,jszip:441}],30:[function(t,b,m){b.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],31:[function(t,b,m){b.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],32:[function(t,b,m){const c=t("../../utils/parse-sax"),i=t("../../utils/xml-stream");class s{prepare(){}render(){}parseOpen(e){}parseText(e){}parseClose(e){}reconcile(e,r){}reset(){this.model=null,this.map&&Object.values(this.map).forEach(e=>{e instanceof s?e.reset():e.xform&&e.xform.reset()})}mergeModel(e){this.model=Object.assign(this.model||{},e)}async parse(e){for await(const r of e)for(const{eventType:u,value:a}of r)if(u==="opentag")this.parseOpen(a);else if(u==="text")this.parseText(a);else if(u==="closetag"&&!this.parseClose(a.name))return this.model;return this.model}async parseStream(e){return this.parse(c(e))}get xml(){return this.toXml(this.model)}toXml(e){const r=new i;return this.render(r,e),r.xml}static toAttribute(e,r){let u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(e===void 0){if(u)return r}else if(u||e!==r)return e.toString()}static toStringAttribute(e,r){let u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return s.toAttribute(e,r,u)}static toStringValue(e,r){return e===void 0?r:e}static toBoolAttribute(e,r){let u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(e===void 0){if(u)return r}else if(u||e!==r)return e?"1":"0"}static toBoolValue(e,r){return e===void 0?r:e==="1"}static toIntAttribute(e,r){let u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return s.toAttribute(e,r,u)}static toIntValue(e,r){return e===void 0?r:parseInt(e,10)}static toFloatAttribute(e,r){let u=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return s.toAttribute(e,r,u)}static toFloatValue(e,r){return e===void 0?r:parseFloat(e)}}b.exports=s},{"../../utils/parse-sax":22,"../../utils/xml-stream":28}],33:[function(t,b,m){const c=t("../base-xform"),i=t("../../../utils/col-cache");function s(e){try{return i.decodeEx(e),!0}catch{return!1}}function n(e){const r=[];let u=!1,a="";return e.split(",").forEach(o=>{if(!o)return;const d=(o.match(/'/g)||[]).length;if(!d)return void(u?a+=o+",":s(o)&&r.push(o));const h=d%2==0;!u&&h&&s(o)?r.push(o):u&&!h?(u=!1,s(a+o)&&r.push(a+o),a=""):(u=!0,a+=o+",")}),r}b.exports=class extends c{render(e,r){e.openNode("definedName",{name:r.name,localSheetId:r.localSheetId}),e.writeText(r.ranges.join(",")),e.closeNode()}parseOpen(e){switch(e.name){case"definedName":return this._parsedName=e.attributes.name,this._parsedLocalSheetId=e.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText(e){this._parsedText.push(e)}parseClose(){return this.model={name:this._parsedName,ranges:n(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}},{"../../../utils/col-cache":19,"../base-xform":32}],34:[function(t,b,m){const c=t("../../../utils/utils"),i=t("../base-xform");b.exports=class extends i{render(s,n){s.leafNode("sheet",{sheetId:n.id,name:n.name,state:n.state,"r:id":n.rId})}parseOpen(s){return s.name==="sheet"&&(this.model={name:c.xmlDecode(s.attributes.name),id:parseInt(s.attributes.sheetId,10),state:s.attributes.state,rId:s.attributes["r:id"]},!0)}parseText(){}parseClose(){return!1}}},{"../../../utils/utils":27,"../base-xform":32}],35:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{render(i,s){i.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:s.fullCalcOnLoad?1:void 0})}parseOpen(i){return i.name==="calcPr"&&(this.model={},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],36:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{render(i,s){i.leafNode("workbookPr",{date1904:s.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen(i){return i.name==="workbookPr"&&(this.model={date1904:i.attributes.date1904==="1"},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],37:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{render(i,s){const n={xWindow:s.x||0,yWindow:s.y||0,windowWidth:s.width||12e3,windowHeight:s.height||24e3,firstSheet:s.firstSheet,activeTab:s.activeTab};s.visibility&&s.visibility!=="visible"&&(n.visibility=s.visibility),i.leafNode("workbookView",n)}parseOpen(i){if(i.name==="workbookView"){const s=this.model={},n=function(r,u,a){const o=u!==void 0?s[r]=u:a;o!==void 0&&(s[r]=o)},e=function(r,u,a){const o=u!==void 0?s[r]=parseInt(u,10):a;o!==void 0&&(s[r]=o)};return e("x",i.attributes.xWindow,0),e("y",i.attributes.yWindow,0),e("width",i.attributes.windowWidth,25e3),e("height",i.attributes.windowHeight,1e4),n("visibility",i.attributes.visibility,"visible"),e("activeTab",i.attributes.activeTab,void 0),e("firstSheet",i.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],38:[function(t,b,m){const c=t("../../../utils/under-dash"),i=t("../../../utils/col-cache"),s=t("../../../utils/xml-stream"),n=t("../base-xform"),e=t("../static-xform"),r=t("../list-xform"),u=t("./defined-name-xform"),a=t("./sheet-xform"),o=t("./workbook-view-xform"),d=t("./workbook-properties-xform"),h=t("./workbook-calc-properties-xform");class f extends n{constructor(){super(),this.map={fileVersion:f.STATIC_XFORMS.fileVersion,workbookPr:new d,bookViews:new r({tag:"bookViews",count:!1,childXform:new o}),sheets:new r({tag:"sheets",count:!1,childXform:new a}),definedNames:new r({tag:"definedNames",count:!1,childXform:new u}),calcPr:new h}}prepare(p){p.sheets=p.worksheets;const k=[];let C=0;p.sheets.forEach(T=>{if(T.pageSetup&&T.pageSetup.printArea&&T.pageSetup.printArea.split("&&").forEach(D=>{const V=D.split(":"),P={name:"_xlnm.Print_Area",ranges:[`'${T.name}'!$${V[0]}:$${V[1]}`],localSheetId:C};k.push(P)}),T.pageSetup&&(T.pageSetup.printTitlesRow||T.pageSetup.printTitlesColumn)){const D=[];if(T.pageSetup.printTitlesColumn){const P=T.pageSetup.printTitlesColumn.split(":");D.push(`'${T.name}'!$${P[0]}:$${P[1]}`)}if(T.pageSetup.printTitlesRow){const P=T.pageSetup.printTitlesRow.split(":");D.push(`'${T.name}'!$${P[0]}:$${P[1]}`)}const V={name:"_xlnm.Print_Titles",ranges:D,localSheetId:C};k.push(V)}C++}),k.length&&(p.definedNames=p.definedNames.concat(k)),(p.media||[]).forEach((T,D)=>{T.name=T.type+(D+1)})}render(p,k){p.openXml(s.StdDocAttributes),p.openNode("workbook",f.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(p),this.map.workbookPr.render(p,k.properties),this.map.bookViews.render(p,k.views),this.map.sheets.render(p,k.sheets),this.map.definedNames.render(p,k.definedNames),this.map.calcPr.render(p,k.calcProperties),p.closeNode()}parseOpen(p){if(this.parser)return this.parser.parseOpen(p),!0;switch(p.name){case"workbook":return!0;default:return this.parser=this.map[p.name],this.parser&&this.parser.parseOpen(p),!0}}parseText(p){this.parser&&this.parser.parseText(p)}parseClose(p){if(this.parser)return this.parser.parseClose(p)||(this.parser=void 0),!0;switch(p){case"workbook":return this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1;default:return!0}}reconcile(p){const k=(p.workbookRels||[]).reduce((P,N)=>(P[N.Id]=N,P),{}),C=[];let T,D=0;(p.sheets||[]).forEach(P=>{const N=k[P.rId];N&&(T=p.worksheetHash["xl/"+N.Target.replace(/^(\s|\/xl\/)+/,"")],T&&(T.name=P.name,T.id=P.id,T.state=P.state,C[D++]=T))});const V=[];c.each(p.definedNames,P=>{if(P.name==="_xlnm.Print_Area"){if(T=C[P.localSheetId],T){T.pageSetup||(T.pageSetup={});const N=i.decodeEx(P.ranges[0]);T.pageSetup.printArea=T.pageSetup.printArea?`${T.pageSetup.printArea}&&${N.dimensions}`:N.dimensions}}else if(P.name==="_xlnm.Print_Titles"){if(T=C[P.localSheetId],T){T.pageSetup||(T.pageSetup={});const N=P.ranges.join(","),q=/\$/g,W=/\$\d+:\$\d+/,L=N.match(W);if(L&&L.length){const _=L[0];T.pageSetup.printTitlesRow=_.replace(q,"")}const A=/\$[A-Z]+:\$[A-Z]+/,M=N.match(A);if(M&&M.length){const _=M[0];T.pageSetup.printTitlesColumn=_.replace(q,"")}}}else V.push(P)}),p.definedNames=V,p.media.forEach((P,N)=>{P.index=N})}}f.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},f.STATIC_XFORMS={fileVersion:new e({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},b.exports=f},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./defined-name-xform":33,"./sheet-xform":34,"./workbook-calc-properties-xform":35,"./workbook-properties-xform":36,"./workbook-view-xform":37}],39:[function(t,b,m){const c=t("../strings/rich-text-xform"),i=t("../../../utils/utils"),s=t("../base-xform"),n=b.exports=function(e){this.model=e};i.inherits(n,s,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new c),this._richTextXform},render(e,r){r=r||this.model,e.openNode("comment",{ref:r.ref,authorId:0}),e.openNode("text"),r&&r.note&&r.note.texts&&r.note.texts.forEach(u=>{this.richTextXform.render(e,u)}),e.closeNode(),e.closeNode()},parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"comment":return this.model={type:"note",note:{texts:[]},...e.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(e),!0;default:return!1}},parseText(e){this.parser&&this.parser.parseText(e)},parseClose(e){switch(e){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}})},{"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],40:[function(t,b,m){const c=t("../../../utils/xml-stream"),i=t("../../../utils/utils"),s=t("../base-xform"),n=t("./comment-xform"),e=b.exports=function(){this.map={comment:new n}};i.inherits(e,s,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render(r,u){u=u||this.model,r.openXml(c.StdDocAttributes),r.openNode("comments",e.COMMENTS_ATTRIBUTES),r.openNode("authors"),r.leafNode("author",null,"Author"),r.closeNode(),r.openNode("commentList"),u.comments.forEach(a=>{this.map.comment.render(r,a)}),r.closeNode(),r.closeNode()},parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(r),!0;default:return!1}},parseText(r){this.parser&&this.parser.parseText(r)},parseClose(r){switch(r){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(r),!0}}})},{"../../../utils/utils":27,"../../../utils/xml-stream":28,"../base-xform":32,"./comment-xform":39}],41:[function(t,b,m){const c=t("../../base-xform");b.exports=class extends c{constructor(i){super(),this._model=i}get tag(){return this._model&&this._model.tag}render(i,s,n){(s===n[2]||this.tag==="x:SizeWithCells"&&s===n[1])&&i.leafNode(this.tag)}parseOpen(i){switch(i.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../base-xform":32}],42:[function(t,b,m){const c=t("../../base-xform");b.exports=class extends c{constructor(i){super(),this._model=i}get tag(){return this._model&&this._model.tag}render(i,s){i.leafNode(this.tag,null,s)}parseOpen(i){switch(i.name){case this.tag:return this.text="",!0;default:return!1}}parseText(i){this.text=i}parseClose(){return!1}}},{"../../base-xform":32}],43:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"x:Anchor"}getAnchorRect(i){const s=Math.floor(i.left),n=Math.floor(68*(i.left-s)),e=Math.floor(i.top),r=Math.floor(18*(i.top-e)),u=Math.floor(i.right),a=Math.floor(68*(i.right-u)),o=Math.floor(i.bottom);return[s,n,e,r,u,a,o,Math.floor(18*(i.bottom-o))]}getDefaultRect(i){const s=i.col,n=Math.max(i.row-2,0);return[s,6,n,14,s+2,2,n+4,16]}render(i,s){const n=s.anchor?this.getAnchorRect(s.anchor):this.getDefaultRect(s.refAddress);i.leafNode("x:Anchor",null,n.join(", "))}parseOpen(i){switch(i.name){case this.tag:return this.text="",!0;default:return!1}}parseText(i){this.text=i}parseClose(){return!1}}},{"../base-xform":32}],44:[function(t,b,m){const c=t("../base-xform"),i=t("./vml-anchor-xform"),s=t("./style/vml-protection-xform"),n=t("./style/vml-position-xform"),e=["twoCells","oneCells","absolute"];b.exports=class extends c{constructor(){super(),this.map={"x:Anchor":new i,"x:Locked":new s({tag:"x:Locked"}),"x:LockText":new s({tag:"x:LockText"}),"x:SizeWithCells":new n({tag:"x:SizeWithCells"}),"x:MoveWithCells":new n({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render(r,u){const{protection:a,editAs:o}=u.note;r.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(r,o,e),this.map["x:SizeWithCells"].render(r,o,e),this.map["x:Anchor"].render(r,u),this.map["x:Locked"].render(r,a.locked),r.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(r,a.lockText),r.leafNode("x:Row",null,u.refAddress.row-1),r.leafNode("x:Column",null,u.refAddress.col-1),r.closeNode()}parseOpen(r){switch(r.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:this.parser=this.map[r.name],this.parser&&this.parser.parseOpen(r)}return!0}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){if(this.parser)return this.parser.parseClose(r)||(this.parser=void 0),!0;switch(r){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){const r=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),u=Object.keys(r).length;this.model.editAs=e[u],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}},{"../base-xform":32,"./style/vml-position-xform":41,"./style/vml-protection-xform":42,"./vml-anchor-xform":43}],45:[function(t,b,m){const c=t("../../../utils/xml-stream"),i=t("../base-xform"),s=t("./vml-shape-xform");class n extends i{constructor(){super(),this.map={"v:shape":new s}}get tag(){return"xml"}render(r,u){r.openXml(c.StdDocAttributes),r.openNode(this.tag,n.DRAWING_ATTRIBUTES),r.openNode("o:shapelayout",{"v:ext":"edit"}),r.leafNode("o:idmap",{"v:ext":"edit",data:1}),r.closeNode(),r.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),r.leafNode("v:stroke",{joinstyle:"miter"}),r.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),r.closeNode(),u.comments.forEach((a,o)=>{this.map["v:shape"].render(r,a,o)}),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case this.tag:this.reset(),this.model={comments:[]};break;default:this.parser=this.map[r.name],this.parser&&this.parser.parseOpen(r)}return!0}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){if(this.parser)return this.parser.parseClose(r)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0;switch(r){case this.tag:return!1;default:return!0}}reconcile(r,u){r.anchors.forEach(a=>{a.br?this.map["xdr:twoCellAnchor"].reconcile(a,u):this.map["xdr:oneCellAnchor"].reconcile(a,u)})}}n.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},b.exports=n},{"../../../utils/xml-stream":28,"../base-xform":32,"./vml-shape-xform":46}],46:[function(t,b,m){const c=t("../base-xform"),i=t("./vml-textbox-xform"),s=t("./vml-client-data-xform");class n extends c{constructor(){super(),this.map={"v:textbox":new i,"x:ClientData":new s}}get tag(){return"v:shape"}render(r,u,a){r.openNode("v:shape",n.V_SHAPE_ATTRIBUTES(u,a)),r.leafNode("v:fill",{color2:"infoBackground [80]"}),r.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),r.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(r,u),this.map["x:ClientData"].render(r,u),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case this.tag:this.reset(),this.model={margins:{insetmode:r.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:this.parser=this.map[r.name],this.parser&&this.parser.parseOpen(r)}return!0}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){if(this.parser)return this.parser.parseClose(r)||(this.parser=void 0),!0;switch(r){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}n.V_SHAPE_ATTRIBUTES=(e,r)=>({id:"_x0000_s"+(1025+r),type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":e.note.margins&&e.note.margins.insetmode}),b.exports=n},{"../base-xform":32,"./vml-client-data-xform":44,"./vml-textbox-xform":47}],47:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"v:textbox"}conversionUnit(i,s,n){return`${parseFloat(i)*s.toFixed(2)}${n}`}reverseConversionUnit(i){return(i||"").split(",").map(s=>Number(parseFloat(this.conversionUnit(parseFloat(s),.1,"")).toFixed(2)))}render(i,s){const n={style:"mso-direction-alt:auto"};if(s&&s.note){let{inset:e}=s.note&&s.note.margins;Array.isArray(e)&&(e=e.map(r=>this.conversionUnit(r,10,"mm")).join(",")),e&&(n.inset=e)}i.openNode("v:textbox",n),i.leafNode("div",{style:"text-align:left"}),i.closeNode()}parseOpen(i){switch(i.name){case this.tag:return this.model={inset:this.reverseConversionUnit(i.attributes.inset)},!0;default:return!0}}parseText(){}parseClose(i){switch(i){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],48:[function(t,b,m){const c=t("./base-xform");b.exports=class extends c{createNewModel(i){return{}}parseOpen(i){return this.parser=this.parser||this.map[i.name],this.parser?(this.parser.parseOpen(i),!0):i.name===this.tag&&(this.model=this.createNewModel(i),!0)}parseText(i){this.parser&&this.parser.parseText(i)}onParserClose(i,s){this.model[i]=s.model}parseClose(i){return this.parser?(this.parser.parseClose(i)||(this.onParserClose(i,this.parser),this.parser=void 0),!0):i!==this.tag}}},{"./base-xform":32}],49:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{render(i,s){i.openNode("HeadingPairs"),i.openNode("vt:vector",{size:2,baseType:"variant"}),i.openNode("vt:variant"),i.leafNode("vt:lpstr",void 0,"Worksheets"),i.closeNode(),i.openNode("vt:variant"),i.leafNode("vt:i4",void 0,s.length),i.closeNode(),i.closeNode(),i.closeNode()}parseOpen(i){return i.name==="HeadingPairs"}parseText(){}parseClose(i){return i!=="HeadingPairs"}}},{"../base-xform":32}],50:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{render(i,s){i.openNode("TitlesOfParts"),i.openNode("vt:vector",{size:s.length,baseType:"lpstr"}),s.forEach(n=>{i.leafNode("vt:lpstr",void 0,n.name)}),i.closeNode(),i.closeNode()}parseOpen(i){return i.name==="TitlesOfParts"}parseText(){}parseClose(i){return i!=="TitlesOfParts"}}},{"../base-xform":32}],51:[function(t,b,m){const c=t("../../../utils/xml-stream"),i=t("../base-xform"),s=t("../simple/string-xform"),n=t("./app-heading-pairs-xform"),e=t("./app-titles-of-parts-xform");class r extends i{constructor(){super(),this.map={Company:new s({tag:"Company"}),Manager:new s({tag:"Manager"}),HeadingPairs:new n,TitleOfParts:new e}}render(a,o){a.openXml(c.StdDocAttributes),a.openNode("Properties",r.PROPERTY_ATTRIBUTES),a.leafNode("Application",void 0,"Microsoft Excel"),a.leafNode("DocSecurity",void 0,"0"),a.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(a,o.worksheets),this.map.TitleOfParts.render(a,o.worksheets),this.map.Company.render(a,o.company||""),this.map.Manager.render(a,o.manager),a.leafNode("LinksUpToDate",void 0,"false"),a.leafNode("SharedDoc",void 0,"false"),a.leafNode("HyperlinksChanged",void 0,"false"),a.leafNode("AppVersion",void 0,"16.0300"),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case"Properties":return!0;default:return this.parser=this.map[a.name],!!this.parser&&(this.parser.parseOpen(a),!0)}}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){if(this.parser)return this.parser.parseClose(a)||(this.parser=void 0),!0;switch(a){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}r.DateFormat=function(u){return u.toISOString().replace(/[.]\d{3,6}/,"")},r.DateAttrs={"xsi:type":"dcterms:W3CDTF"},r.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},b.exports=r},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/string-xform":119,"./app-heading-pairs-xform":49,"./app-titles-of-parts-xform":50}],52:[function(t,b,m){const c=t("../../../utils/xml-stream"),i=t("../base-xform");class s extends i{render(e,r){e.openXml(c.StdDocAttributes),e.openNode("Types",s.PROPERTY_ATTRIBUTES);const u={};(r.media||[]).forEach(a=>{if(a.type==="image"){const o=a.extension;u[o]||(u[o]=!0,e.leafNode("Default",{Extension:o,ContentType:"image/"+o}))}}),e.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),e.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),e.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),r.worksheets.forEach(a=>{const o=`/xl/worksheets/sheet${a.id}.xml`;e.leafNode("Override",{PartName:o,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),e.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),e.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),r.sharedStrings&&r.sharedStrings.count&&e.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),r.tables&&r.tables.forEach(a=>{e.leafNode("Override",{PartName:"/xl/tables/"+a.target,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})}),r.drawings&&r.drawings.forEach(a=>{e.leafNode("Override",{PartName:`/xl/drawings/${a.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})}),r.commentRefs&&(e.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),r.commentRefs.forEach(a=>{let{commentName:o}=a;e.leafNode("Override",{PartName:`/xl/${o}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})})),e.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),e.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),e.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}s.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},b.exports=s},{"../../../utils/xml-stream":28,"../base-xform":32}],53:[function(t,b,m){const c=t("../../../utils/xml-stream"),i=t("../base-xform"),s=t("../simple/date-xform"),n=t("../simple/string-xform"),e=t("../simple/integer-xform");class r extends i{constructor(){super(),this.map={"dc:creator":new n({tag:"dc:creator"}),"dc:title":new n({tag:"dc:title"}),"dc:subject":new n({tag:"dc:subject"}),"dc:description":new n({tag:"dc:description"}),"dc:identifier":new n({tag:"dc:identifier"}),"dc:language":new n({tag:"dc:language"}),"cp:keywords":new n({tag:"cp:keywords"}),"cp:category":new n({tag:"cp:category"}),"cp:lastModifiedBy":new n({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new s({tag:"cp:lastPrinted",format:r.DateFormat}),"cp:revision":new e({tag:"cp:revision"}),"cp:version":new n({tag:"cp:version"}),"cp:contentStatus":new n({tag:"cp:contentStatus"}),"cp:contentType":new n({tag:"cp:contentType"}),"dcterms:created":new s({tag:"dcterms:created",attrs:r.DateAttrs,format:r.DateFormat}),"dcterms:modified":new s({tag:"dcterms:modified",attrs:r.DateAttrs,format:r.DateFormat})}}render(a,o){a.openXml(c.StdDocAttributes),a.openNode("cp:coreProperties",r.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(a,o.creator),this.map["dc:title"].render(a,o.title),this.map["dc:subject"].render(a,o.subject),this.map["dc:description"].render(a,o.description),this.map["dc:identifier"].render(a,o.identifier),this.map["dc:language"].render(a,o.language),this.map["cp:keywords"].render(a,o.keywords),this.map["cp:category"].render(a,o.category),this.map["cp:lastModifiedBy"].render(a,o.lastModifiedBy),this.map["cp:lastPrinted"].render(a,o.lastPrinted),this.map["cp:revision"].render(a,o.revision),this.map["cp:version"].render(a,o.version),this.map["cp:contentStatus"].render(a,o.contentStatus),this.map["cp:contentType"].render(a,o.contentType),this.map["dcterms:created"].render(a,o.created),this.map["dcterms:modified"].render(a,o.modified),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[a.name],this.parser)return this.parser.parseOpen(a),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(a))}}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){if(this.parser)return this.parser.parseClose(a)||(this.parser=void 0),!0;switch(a){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error("Unexpected xml node in parseClose: "+a)}}}r.DateFormat=function(u){return u.toISOString().replace(/[.]\d{3}/,"")},r.DateAttrs={"xsi:type":"dcterms:W3CDTF"},r.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},b.exports=r},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/date-xform":117,"../simple/integer-xform":118,"../simple/string-xform":119}],54:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{render(i,s){i.leafNode("Relationship",s)}parseOpen(i){switch(i.name){case"Relationship":return this.model=i.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],55:[function(t,b,m){const c=t("../../../utils/xml-stream"),i=t("../base-xform"),s=t("./relationship-xform");class n extends i{constructor(){super(),this.map={Relationship:new s}}render(r,u){u=u||this._values,r.openXml(c.StdDocAttributes),r.openNode("Relationships",n.RELATIONSHIPS_ATTRIBUTES),u.forEach(a=>{this.map.Relationship.render(r,a)}),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[r.name],this.parser)return this.parser.parseOpen(r),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(r))}}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){if(this.parser)return this.parser.parseClose(r)||(this.model.push(this.parser.model),this.parser=void 0),!0;switch(r){case"Relationships":return!1;default:throw new Error("Unexpected xml node in parseClose: "+r)}}}n.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},b.exports=n},{"../../../utils/xml-stream":28,"../base-xform":32,"./relationship-xform":54}],56:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{parseOpen(i){if(this.parser)return this.parser.parseOpen(i),!0;switch(i.name){case this.tag:this.reset(),this.model={range:{editAs:i.attributes.editAs||"oneCell"}};break;default:this.parser=this.map[i.name],this.parser&&this.parser.parseOpen(i)}return!0}parseText(i){this.parser&&this.parser.parseText(i)}reconcilePicture(i,s){if(i&&i.rId){const n=s.rels[i.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(n){const e=n[1],r=s.mediaIndex[e];return s.media[r]}}}}},{"../base-xform":32}],57:[function(t,b,m){const c=t("../base-xform"),i=t("./blip-xform");b.exports=class extends c{constructor(){super(),this.map={"a:blip":new i}}get tag(){return"xdr:blipFill"}render(s,n){s.openNode(this.tag),this.map["a:blip"].render(s,n),s.openNode("a:stretch"),s.leafNode("a:fillRect"),s.closeNode(),s.closeNode()}parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;switch(s.name){case this.tag:this.reset();break;default:this.parser=this.map[s.name],this.parser&&this.parser.parseOpen(s)}return!0}parseText(){}parseClose(s){if(this.parser)return this.parser.parseClose(s)||(this.parser=void 0),!0;switch(s){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}},{"../base-xform":32,"./blip-xform":58}],58:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"a:blip"}render(i,s){i.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":s.rId,cstate:"print"})}parseOpen(i){switch(i.name){case this.tag:return this.model={rId:i.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose(i){switch(i){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],59:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"xdr:cNvPicPr"}render(i){i.openNode(this.tag),i.leafNode("a:picLocks",{noChangeAspect:"1"}),i.closeNode()}parseOpen(i){switch(i.name){case this.tag:default:return!0}}parseText(){}parseClose(i){switch(i){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],60:[function(t,b,m){const c=t("../base-xform"),i=t("./hlink-click-xform"),s=t("./ext-lst-xform");b.exports=class extends c{constructor(){super(),this.map={"a:hlinkClick":new i,"a:extLst":new s}}get tag(){return"xdr:cNvPr"}render(n,e){n.openNode(this.tag,{id:e.index,name:"Picture "+e.index}),this.map["a:hlinkClick"].render(n,e),this.map["a:extLst"].render(n,e),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case this.tag:this.reset();break;default:this.parser=this.map[n.name],this.parser&&this.parser.parseOpen(n)}return!0}parseText(){}parseClose(n){if(this.parser)return this.parser.parseClose(n)||(this.parser=void 0),!0;switch(n){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}},{"../base-xform":32,"./ext-lst-xform":63,"./hlink-click-xform":65}],61:[function(t,b,m){const c=t("../base-xform"),i=t("../simple/integer-xform");b.exports=class extends c{constructor(s){super(),this.tag=s.tag,this.map={"xdr:col":new i({tag:"xdr:col",zero:!0}),"xdr:colOff":new i({tag:"xdr:colOff",zero:!0}),"xdr:row":new i({tag:"xdr:row",zero:!0}),"xdr:rowOff":new i({tag:"xdr:rowOff",zero:!0})}}render(s,n){s.openNode(this.tag),this.map["xdr:col"].render(s,n.nativeCol),this.map["xdr:colOff"].render(s,n.nativeColOff),this.map["xdr:row"].render(s,n.nativeRow),this.map["xdr:rowOff"].render(s,n.nativeRowOff),s.closeNode()}parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;switch(s.name){case this.tag:this.reset();break;default:this.parser=this.map[s.name],this.parser&&this.parser.parseOpen(s)}return!0}parseText(s){this.parser&&this.parser.parseText(s)}parseClose(s){if(this.parser)return this.parser.parseClose(s)||(this.parser=void 0),!0;switch(s){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}},{"../base-xform":32,"../simple/integer-xform":118}],62:[function(t,b,m){const c=t("../../../utils/col-cache"),i=t("../../../utils/xml-stream"),s=t("../base-xform"),n=t("./two-cell-anchor-xform"),e=t("./one-cell-anchor-xform");class r extends s{constructor(){super(),this.map={"xdr:twoCellAnchor":new n,"xdr:oneCellAnchor":new e}}prepare(a){a.anchors.forEach((o,d)=>{o.anchorType=function(h){return(typeof h.range=="string"?c.decode(h.range):h.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}(o),this.map[o.anchorType].prepare(o,{index:d})})}get tag(){return"xdr:wsDr"}render(a,o){a.openXml(i.StdDocAttributes),a.openNode(this.tag,r.DRAWING_ATTRIBUTES),o.anchors.forEach(d=>{this.map[d.anchorType].render(a,d)}),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:this.parser=this.map[a.name],this.parser&&this.parser.parseOpen(a)}return!0}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){if(this.parser)return this.parser.parseClose(a)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0;switch(a){case this.tag:return!1;default:return!0}}reconcile(a,o){a.anchors.forEach(d=>{d.br?this.map["xdr:twoCellAnchor"].reconcile(d,o):this.map["xdr:oneCellAnchor"].reconcile(d,o)})}}r.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},b.exports=r},{"../../../utils/col-cache":19,"../../../utils/xml-stream":28,"../base-xform":32,"./one-cell-anchor-xform":67,"./two-cell-anchor-xform":70}],63:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"a:extLst"}render(i){i.openNode(this.tag),i.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),i.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),i.closeNode(),i.closeNode()}parseOpen(i){switch(i.name){case this.tag:default:return!0}}parseText(){}parseClose(i){switch(i){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],64:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{constructor(i){super(),this.tag=i.tag,this.map={}}render(i,s){i.openNode(this.tag);const n=Math.floor(9525*s.width),e=Math.floor(9525*s.height);i.addAttribute("cx",n),i.addAttribute("cy",e),i.closeNode()}parseOpen(i){return i.name===this.tag&&(this.model={width:parseInt(i.attributes.cx||"0",10)/9525,height:parseInt(i.attributes.cy||"0",10)/9525},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],65:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"a:hlinkClick"}render(i,s){s.hyperlinks&&s.hyperlinks.rId&&i.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":s.hyperlinks.rId,tooltip:s.hyperlinks.tooltip})}parseOpen(i){switch(i.name){case this.tag:return this.model={hyperlinks:{rId:i.attributes["r:id"],tooltip:i.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],66:[function(t,b,m){const c=t("../base-xform"),i=t("./c-nv-pr-xform"),s=t("./c-nv-pic-pr-xform");b.exports=class extends c{constructor(){super(),this.map={"xdr:cNvPr":new i,"xdr:cNvPicPr":new s}}get tag(){return"xdr:nvPicPr"}render(n,e){n.openNode(this.tag),this.map["xdr:cNvPr"].render(n,e),this.map["xdr:cNvPicPr"].render(n,e),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case this.tag:this.reset();break;default:this.parser=this.map[n.name],this.parser&&this.parser.parseOpen(n)}return!0}parseText(){}parseClose(n){if(this.parser)return this.parser.parseClose(n)||(this.parser=void 0),!0;switch(n){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}},{"../base-xform":32,"./c-nv-pic-pr-xform":59,"./c-nv-pr-xform":60}],67:[function(t,b,m){const c=t("./base-cell-anchor-xform"),i=t("../static-xform"),s=t("./cell-position-xform"),n=t("./ext-xform"),e=t("./pic-xform");b.exports=class extends c{constructor(){super(),this.map={"xdr:from":new s({tag:"xdr:from"}),"xdr:ext":new n({tag:"xdr:ext"}),"xdr:pic":new e,"xdr:clientData":new i({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare(r,u){this.map["xdr:pic"].prepare(r.picture,u)}render(r,u){r.openNode(this.tag,{editAs:u.range.editAs||"oneCell"}),this.map["xdr:from"].render(r,u.range.tl),this.map["xdr:ext"].render(r,u.range.ext),this.map["xdr:pic"].render(r,u.picture),this.map["xdr:clientData"].render(r,{}),r.closeNode()}parseClose(r){if(this.parser)return this.parser.parseClose(r)||(this.parser=void 0),!0;switch(r){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile(r,u){r.medium=this.reconcilePicture(r.picture,u)}}},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./ext-xform":64,"./pic-xform":68}],68:[function(t,b,m){const c=t("../base-xform"),i=t("../static-xform"),s=t("./blip-fill-xform"),n=t("./nv-pic-pr-xform"),e=t("./sp-pr");b.exports=class extends c{constructor(){super(),this.map={"xdr:nvPicPr":new n,"xdr:blipFill":new s,"xdr:spPr":new i(e)}}get tag(){return"xdr:pic"}prepare(r,u){r.index=u.index+1}render(r,u){r.openNode(this.tag),this.map["xdr:nvPicPr"].render(r,u),this.map["xdr:blipFill"].render(r,u),this.map["xdr:spPr"].render(r,u),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case this.tag:this.reset();break;default:this.parser=this.map[r.name],this.parser&&this.parser.parseOpen(r)}return!0}parseText(){}parseClose(r){if(this.parser)return this.parser.parseClose(r)||(this.mergeModel(this.parser.model),this.parser=void 0),!0;switch(r){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"../static-xform":120,"./blip-fill-xform":57,"./nv-pic-pr-xform":66,"./sp-pr":69}],69:[function(t,b,m){b.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},{}],70:[function(t,b,m){const c=t("./base-cell-anchor-xform"),i=t("../static-xform"),s=t("./cell-position-xform"),n=t("./pic-xform");b.exports=class extends c{constructor(){super(),this.map={"xdr:from":new s({tag:"xdr:from"}),"xdr:to":new s({tag:"xdr:to"}),"xdr:pic":new n,"xdr:clientData":new i({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare(e,r){this.map["xdr:pic"].prepare(e.picture,r)}render(e,r){e.openNode(this.tag,{editAs:r.range.editAs||"oneCell"}),this.map["xdr:from"].render(e,r.range.tl),this.map["xdr:to"].render(e,r.range.br),this.map["xdr:pic"].render(e,r.picture),this.map["xdr:clientData"].render(e,{}),e.closeNode()}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile(e,r){e.medium=this.reconcilePicture(e.picture,r)}}},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./pic-xform":68}],71:[function(t,b,m){const c=t("./base-xform");b.exports=class extends c{constructor(i){super(),this.tag=i.tag,this.always=!!i.always,this.count=i.count,this.empty=i.empty,this.$count=i.$count||"count",this.$=i.$,this.childXform=i.childXform,this.maxItems=i.maxItems}prepare(i,s){const{childXform:n}=this;i&&i.forEach((e,r)=>{s.index=r,n.prepare(e,s)})}render(i,s){if(this.always||s&&s.length){i.openNode(this.tag,this.$),this.count&&i.addAttribute(this.$count,s&&s.length||0);const{childXform:n}=this;(s||[]).forEach((e,r)=>{n.render(i,e,r)}),i.closeNode()}else this.empty&&i.leafNode(this.tag)}parseOpen(i){if(this.parser)return this.parser.parseOpen(i),!0;switch(i.name){case this.tag:return this.model=[],!0;default:return!!this.childXform.parseOpen(i)&&(this.parser=this.childXform,!0)}}parseText(i){this.parser&&this.parser.parseText(i)}parseClose(i){if(this.parser){if(!this.parser.parseClose(i)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`);return!0}return!1}reconcile(i,s){if(i){const{childXform:n}=this;i.forEach(e=>{n.reconcile(e,s)})}}}},{"./base-xform":32}],72:[function(t,b,m){const c=t("../../../utils/col-cache"),i=t("../base-xform");b.exports=class extends i{get tag(){return"autoFilter"}render(s,n){if(n)if(typeof n=="string")s.leafNode("autoFilter",{ref:n});else{const e=function(a){return typeof a=="string"?a:c.getAddress(a.row,a.column).address},r=e(n.from),u=e(n.to);r&&u&&s.leafNode("autoFilter",{ref:`${r}:${u}`})}}parseOpen(s){s.name==="autoFilter"&&(this.model=s.attributes.ref)}}},{"../../../utils/col-cache":19,"../base-xform":32}],73:[function(t,b,m){const c=t("../../../utils/utils"),i=t("../base-xform"),s=t("../../../doc/range"),n=t("../../../doc/enums"),e=t("../strings/rich-text-xform");function r(u){if(u==null)return n.ValueType.Null;if(u instanceof String||typeof u=="string")return n.ValueType.String;if(typeof u=="number")return n.ValueType.Number;if(typeof u=="boolean")return n.ValueType.Boolean;if(u instanceof Date)return n.ValueType.Date;if(u.text&&u.hyperlink)return n.ValueType.Hyperlink;if(u.formula)return n.ValueType.Formula;if(u.error)return n.ValueType.Error;throw new Error("I could not understand type of value")}b.exports=class extends i{constructor(){super(),this.richTextXForm=new e}get tag(){return"c"}prepare(u,a){const o=a.styles.addStyleModel(u.style||{},function(d){switch(d.type){case n.ValueType.Formula:return r(d.result);default:return d.type}}(u));switch(o&&(u.styleId=o),u.comment&&a.comments.push({...u.comment,ref:u.address}),u.type){case n.ValueType.String:case n.ValueType.RichText:a.sharedStrings&&(u.ssId=a.sharedStrings.add(u.value));break;case n.ValueType.Date:a.date1904&&(u.date1904=!0);break;case n.ValueType.Hyperlink:a.sharedStrings&&u.text!==void 0&&u.text!==null&&(u.ssId=a.sharedStrings.add(u.text)),a.hyperlinks.push({address:u.address,target:u.hyperlink,tooltip:u.tooltip});break;case n.ValueType.Merge:a.merges.add(u);break;case n.ValueType.Formula:if(a.date1904&&(u.date1904=!0),u.shareType==="shared"&&(u.si=a.siFormulae++),u.formula)a.formulae[u.address]=u;else if(u.sharedFormula){const d=a.formulae[u.sharedFormula];if(!d)throw new Error("Shared Formula master must exist above and or left of clone for cell "+u.address);d.si===void 0?(d.shareType="shared",d.si=a.siFormulae++,d.range=new s(d.address,u.address)):d.range&&d.range.expandToAddress(u.address),u.si=d.si}}}renderFormula(u,a){let o=null;switch(a.shareType){case"shared":o={t:"shared",ref:a.ref||a.range.range,si:a.si};break;case"array":o={t:"array",ref:a.ref};break;default:a.si!==void 0&&(o={t:"shared",si:a.si})}switch(r(a.result)){case n.ValueType.Null:u.leafNode("f",o,a.formula);break;case n.ValueType.String:u.addAttribute("t","str"),u.leafNode("f",o,a.formula),u.leafNode("v",null,a.result);break;case n.ValueType.Number:u.leafNode("f",o,a.formula),u.leafNode("v",null,a.result);break;case n.ValueType.Boolean:u.addAttribute("t","b"),u.leafNode("f",o,a.formula),u.leafNode("v",null,a.result?1:0);break;case n.ValueType.Error:u.addAttribute("t","e"),u.leafNode("f",o,a.formula),u.leafNode("v",null,a.result.error);break;case n.ValueType.Date:u.leafNode("f",o,a.formula),u.leafNode("v",null,c.dateToExcel(a.result,a.date1904));break;default:throw new Error("I could not understand type of value")}}render(u,a){if(a.type!==n.ValueType.Null||a.styleId){switch(u.openNode("c"),u.addAttribute("r",a.address),a.styleId&&u.addAttribute("s",a.styleId),a.type){case n.ValueType.Null:break;case n.ValueType.Number:u.leafNode("v",null,a.value);break;case n.ValueType.Boolean:u.addAttribute("t","b"),u.leafNode("v",null,a.value?"1":"0");break;case n.ValueType.Error:u.addAttribute("t","e"),u.leafNode("v",null,a.value.error);break;case n.ValueType.String:case n.ValueType.RichText:a.ssId!==void 0?(u.addAttribute("t","s"),u.leafNode("v",null,a.ssId)):a.value&&a.value.richText?(u.addAttribute("t","inlineStr"),u.openNode("is"),a.value.richText.forEach(o=>{this.richTextXForm.render(u,o)}),u.closeNode("is")):(u.addAttribute("t","str"),u.leafNode("v",null,a.value));break;case n.ValueType.Date:u.leafNode("v",null,c.dateToExcel(a.value,a.date1904));break;case n.ValueType.Hyperlink:a.ssId!==void 0?(u.addAttribute("t","s"),u.leafNode("v",null,a.ssId)):(u.addAttribute("t","str"),u.leafNode("v",null,a.text));break;case n.ValueType.Formula:this.renderFormula(u,a);break;case n.ValueType.Merge:}u.closeNode()}}parseOpen(u){if(this.parser)return this.parser.parseOpen(u),!0;switch(u.name){case"c":return this.model={address:u.attributes.r},this.t=u.attributes.t,u.attributes.s&&(this.model.styleId=parseInt(u.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=u.attributes.si,this.model.shareType=u.attributes.t,this.model.ref=u.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(u),!0;default:return!1}}parseText(u){if(this.parser)this.parser.parseText(u);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+u:u;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+u:u:this.model.value=this.model.value?this.model.value+u:u}}parseClose(u){switch(u){case"c":{const{model:a}=this;if(a.formula||a.shareType)a.type=n.ValueType.Formula,a.value&&(this.t==="str"?a.result=c.xmlDecode(a.value):this.t==="b"?a.result=parseInt(a.value,10)!==0:this.t==="e"?a.result={error:a.value}:a.result=parseFloat(a.value),a.value=void 0);else if(a.value!==void 0)switch(this.t){case"s":a.type=n.ValueType.String,a.value=parseInt(a.value,10);break;case"str":a.type=n.ValueType.String,a.value=c.xmlDecode(a.value);break;case"inlineStr":a.type=n.ValueType.String;break;case"b":a.type=n.ValueType.Boolean,a.value=parseInt(a.value,10)!==0;break;case"e":a.type=n.ValueType.Error,a.value={error:a.value};break;default:a.type=n.ValueType.Number,a.value=parseFloat(a.value)}else a.styleId?a.type=n.ValueType.Null:a.type=n.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(u),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(u),!0)}}reconcile(u,a){const o=u.styleId&&a.styles&&a.styles.getStyleModel(u.styleId);switch(o&&(u.style=o),u.styleId!==void 0&&(u.styleId=void 0),u.type){case n.ValueType.String:typeof u.value=="number"&&a.sharedStrings&&(u.value=a.sharedStrings.getString(u.value)),u.value.richText&&(u.type=n.ValueType.RichText);break;case n.ValueType.Number:o&&c.isDateFmt(o.numFmt)&&(u.type=n.ValueType.Date,u.value=c.excelToDate(u.value,a.date1904));break;case n.ValueType.Formula:u.result!==void 0&&o&&c.isDateFmt(o.numFmt)&&(u.result=c.excelToDate(u.result,a.date1904)),u.shareType==="shared"&&(u.ref?a.formulae[u.si]=u.address:(u.sharedFormula=a.formulae[u.si],delete u.shareType),delete u.si)}const d=a.hyperlinkMap[u.address];d&&(u.type===n.ValueType.Formula?(u.text=u.result,u.result=void 0):(u.text=u.value,u.value=void 0),u.type=n.ValueType.Hyperlink,u.hyperlink=d);const h=a.commentsMap&&a.commentsMap[u.address];h&&(u.comment=h)}}},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],74:[function(t,b,m){const c=t("../../base-xform");b.exports=class extends c{get tag(){return"x14:cfIcon"}render(i,s){i.leafNode(this.tag,{iconSet:s.iconSet,iconId:s.iconId})}parseOpen(i){let{attributes:s}=i;this.model={iconSet:s.iconSet,iconId:c.toIntValue(s.iconId)}}parseClose(i){return i!==this.tag}}},{"../../base-xform":32}],75:[function(t,b,m){const{v4:c}=t("uuid"),i=t("../../base-xform"),s=t("../../composite-xform"),n=t("./databar-ext-xform"),e=t("./icon-set-ext-xform"),r={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class u extends s{constructor(){super(),this.map={"x14:dataBar":this.databarXform=new n,"x14:iconSet":this.iconSetXform=new e}}get tag(){return"x14:cfRule"}static isExt(o){return o.type==="dataBar"?n.isExt(o):!(o.type!=="iconSet"||!o.custom&&!r[o.iconSet])}prepare(o){u.isExt(o)&&(o.x14Id=`{${c()}}`.toUpperCase())}render(o,d){if(u.isExt(d))switch(d.type){case"dataBar":this.renderDataBar(o,d);break;case"iconSet":this.renderIconSet(o,d)}}renderDataBar(o,d){o.openNode(this.tag,{type:"dataBar",id:d.x14Id}),this.databarXform.render(o,d),o.closeNode()}renderIconSet(o,d){o.openNode(this.tag,{type:"iconSet",priority:d.priority,id:d.x14Id||`{${c()}}`}),this.iconSetXform.render(o,d),o.closeNode()}createNewModel(o){let{attributes:d}=o;return{type:d.type,x14Id:d.id,priority:i.toIntValue(d.priority)}}onParserClose(o,d){Object.assign(this.model,d.model)}}b.exports=u},{"../../base-xform":32,"../../composite-xform":48,"./databar-ext-xform":79,"./icon-set-ext-xform":81,uuid:528}],76:[function(t,b,m){const c=t("../../composite-xform"),i=t("./f-ext-xform");b.exports=class extends c{constructor(){super(),this.map={"xm:f":this.fExtXform=new i}}get tag(){return"x14:cfvo"}render(s,n){s.openNode(this.tag,{type:n.type}),n.value!==void 0&&this.fExtXform.render(s,n.value),s.closeNode()}createNewModel(s){return{type:s.attributes.type}}onParserClose(s,n){switch(s){case"xm:f":this.model.value=n.model?parseFloat(n.model):0}}}},{"../../composite-xform":48,"./f-ext-xform":80}],77:[function(t,b,m){const c=t("../../composite-xform"),i=t("./sqref-ext-xform"),s=t("./cf-rule-ext-xform");b.exports=class extends c{constructor(){super(),this.map={"xm:sqref":this.sqRef=new i,"x14:cfRule":this.cfRule=new s}}get tag(){return"x14:conditionalFormatting"}prepare(n,e){n.rules.forEach(r=>{this.cfRule.prepare(r,e)})}render(n,e){e.rules.some(s.isExt)&&(n.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),e.rules.filter(s.isExt).forEach(r=>this.cfRule.render(n,r)),this.sqRef.render(n,e.ref),n.closeNode())}createNewModel(){return{rules:[]}}onParserClose(n,e){switch(n){case"xm:sqref":this.model.ref=e.model;break;case"x14:cfRule":this.model.rules.push(e.model)}}}},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./sqref-ext-xform":82}],78:[function(t,b,m){const c=t("../../composite-xform"),i=t("./cf-rule-ext-xform"),s=t("./conditional-formatting-ext-xform");b.exports=class extends c{constructor(){super(),this.map={"x14:conditionalFormatting":this.cfXform=new s}}get tag(){return"x14:conditionalFormattings"}hasContent(n){return n.hasExtContent===void 0&&(n.hasExtContent=n.some(e=>e.rules.some(i.isExt))),n.hasExtContent}prepare(n,e){n.forEach(r=>{this.cfXform.prepare(r,e)})}render(n,e){this.hasContent(e)&&(n.openNode(this.tag),e.forEach(r=>this.cfXform.render(n,r)),n.closeNode())}createNewModel(){return[]}onParserClose(n,e){this.model.push(e.model)}}},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./conditional-formatting-ext-xform":77}],79:[function(t,b,m){const c=t("../../base-xform"),i=t("../../composite-xform"),s=t("../../style/color-xform"),n=t("./cfvo-ext-xform");b.exports=class extends i{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new n,"x14:borderColor":this.borderColorXform=new s("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new s("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new s("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new s("x14:axisColor")}}static isExt(e){return!e.gradient}get tag(){return"x14:dataBar"}render(e,r){e.openNode(this.tag,{minLength:c.toIntAttribute(r.minLength,0,!0),maxLength:c.toIntAttribute(r.maxLength,100,!0),border:c.toBoolAttribute(r.border,!1),gradient:c.toBoolAttribute(r.gradient,!0),negativeBarColorSameAsPositive:c.toBoolAttribute(r.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:c.toBoolAttribute(r.negativeBarBorderColorSameAsPositive,!0),axisPosition:c.toAttribute(r.axisPosition,"auto"),direction:c.toAttribute(r.direction,"leftToRight")}),r.cfvo.forEach(u=>{this.cfvoXform.render(e,u)}),this.borderColorXform.render(e,r.borderColor),this.negativeBorderColorXform.render(e,r.negativeBorderColor),this.negativeFillColorXform.render(e,r.negativeFillColor),this.axisColorXform.render(e,r.axisColor),e.closeNode()}createNewModel(e){let{attributes:r}=e;return{cfvo:[],minLength:c.toIntValue(r.minLength,0),maxLength:c.toIntValue(r.maxLength,100),border:c.toBoolValue(r.border,!1),gradient:c.toBoolValue(r.gradient,!0),negativeBarColorSameAsPositive:c.toBoolValue(r.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:c.toBoolValue(r.negativeBarBorderColorSameAsPositive,!0),axisPosition:c.toStringValue(r.axisPosition,"auto"),direction:c.toStringValue(r.direction,"leftToRight")}}onParserClose(e,r){const[,u]=e.split(":");switch(u){case"cfvo":this.model.cfvo.push(r.model);break;default:this.model[u]=r.model}}}},{"../../base-xform":32,"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-ext-xform":76}],80:[function(t,b,m){const c=t("../../base-xform");b.exports=class extends c{get tag(){return"xm:f"}render(i,s){i.leafNode(this.tag,null,s)}parseOpen(){this.model=""}parseText(i){this.model+=i}parseClose(i){return i!==this.tag}}},{"../../base-xform":32}],81:[function(t,b,m){const c=t("../../base-xform"),i=t("../../composite-xform"),s=t("./cfvo-ext-xform"),n=t("./cf-icon-ext-xform");b.exports=class extends i{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new s,"x14:cfIcon":this.cfIconXform=new n}}get tag(){return"x14:iconSet"}render(e,r){e.openNode(this.tag,{iconSet:c.toStringAttribute(r.iconSet),reverse:c.toBoolAttribute(r.reverse,!1),showValue:c.toBoolAttribute(r.showValue,!0),custom:c.toBoolAttribute(r.icons,!1)}),r.cfvo.forEach(u=>{this.cfvoXform.render(e,u)}),r.icons&&r.icons.forEach((u,a)=>{u.iconId=a,this.cfIconXform.render(e,u)}),e.closeNode()}createNewModel(e){let{attributes:r}=e;return{cfvo:[],iconSet:c.toStringValue(r.iconSet,"3TrafficLights"),reverse:c.toBoolValue(r.reverse,!1),showValue:c.toBoolValue(r.showValue,!0)}}onParserClose(e,r){const[,u]=e.split(":");switch(u){case"cfvo":this.model.cfvo.push(r.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(r.model);break;default:this.model[u]=r.model}}}},{"../../base-xform":32,"../../composite-xform":48,"./cf-icon-ext-xform":74,"./cfvo-ext-xform":76}],82:[function(t,b,m){const c=t("../../base-xform");b.exports=class extends c{get tag(){return"xm:sqref"}render(i,s){i.leafNode(this.tag,null,s)}parseOpen(){this.model=""}parseText(i){this.model+=i}parseClose(i){return i!==this.tag}}},{"../../base-xform":32}],83:[function(t,b,m){const c=t("../../base-xform"),i=t("../../composite-xform"),s=t("../../../../doc/range"),n=t("./databar-xform"),e=t("./ext-lst-ref-xform"),r=t("./formula-xform"),u=t("./color-scale-xform"),a=t("./icon-set-xform"),o={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},d=f=>{const{type:g,operator:p}=f;switch(g){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:g};default:return{type:g,operator:p}}};class h extends i{constructor(){super(),this.map={dataBar:this.databarXform=new n,extLst:this.extLstRefXform=new e,formula:this.formulaXform=new r,colorScale:this.colorScaleXform=new u,iconSet:this.iconSetXform=new a}}get tag(){return"cfRule"}static isPrimitive(g){return g.type!=="iconSet"||!g.custom&&!o[g.iconSet]}render(g,p){switch(p.type){case"expression":this.renderExpression(g,p);break;case"cellIs":this.renderCellIs(g,p);break;case"top10":this.renderTop10(g,p);break;case"aboveAverage":this.renderAboveAverage(g,p);break;case"dataBar":this.renderDataBar(g,p);break;case"colorScale":this.renderColorScale(g,p);break;case"iconSet":this.renderIconSet(g,p);break;case"containsText":this.renderText(g,p);break;case"timePeriod":this.renderTimePeriod(g,p)}}renderExpression(g,p){g.openNode(this.tag,{type:"expression",dxfId:p.dxfId,priority:p.priority}),this.formulaXform.render(g,p.formulae[0]),g.closeNode()}renderCellIs(g,p){g.openNode(this.tag,{type:"cellIs",dxfId:p.dxfId,priority:p.priority,operator:p.operator}),p.formulae.forEach(k=>{this.formulaXform.render(g,k)}),g.closeNode()}renderTop10(g,p){g.leafNode(this.tag,{type:"top10",dxfId:p.dxfId,priority:p.priority,percent:c.toBoolAttribute(p.percent,!1),bottom:c.toBoolAttribute(p.bottom,!1),rank:c.toIntValue(p.rank,10,!0)})}renderAboveAverage(g,p){g.leafNode(this.tag,{type:"aboveAverage",dxfId:p.dxfId,priority:p.priority,aboveAverage:c.toBoolAttribute(p.aboveAverage,!0)})}renderDataBar(g,p){g.openNode(this.tag,{type:"dataBar",priority:p.priority}),this.databarXform.render(g,p),this.extLstRefXform.render(g,p),g.closeNode()}renderColorScale(g,p){g.openNode(this.tag,{type:"colorScale",priority:p.priority}),this.colorScaleXform.render(g,p),g.closeNode()}renderIconSet(g,p){h.isPrimitive(p)&&(g.openNode(this.tag,{type:"iconSet",priority:p.priority}),this.iconSetXform.render(g,p),g.closeNode())}renderText(g,p){g.openNode(this.tag,{type:p.operator,dxfId:p.dxfId,priority:p.priority,operator:c.toStringAttribute(p.operator,"containsText")});const k=(C=>{if(C.formulae&&C.formulae[0])return C.formulae[0];const T=new s(C.ref),{tl:D}=T;switch(C.operator){case"containsText":return`NOT(ISERROR(SEARCH("${C.text}",${D})))`;case"containsBlanks":return`LEN(TRIM(${D}))=0`;case"notContainsBlanks":return`LEN(TRIM(${D}))>0`;case"containsErrors":return`ISERROR(${D})`;case"notContainsErrors":return`NOT(ISERROR(${D}))`;default:return}})(p);k&&this.formulaXform.render(g,k),g.closeNode()}renderTimePeriod(g,p){g.openNode(this.tag,{type:"timePeriod",dxfId:p.dxfId,priority:p.priority,timePeriod:p.timePeriod});const k=(C=>{if(C.formulae&&C.formulae[0])return C.formulae[0];const T=new s(C.ref),{tl:D}=T;switch(C.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${D},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${D},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${D},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${D},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${D},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${D},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${D},1)=TODAY()-1`;case"today":return`FLOOR(${D},1)=TODAY()`;case"tomorrow":return`FLOOR(${D},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${D},1)<=6,FLOOR(${D},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${D})=MONTH(EDATE(TODAY(),0-1)),YEAR(${D})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${D})=MONTH(TODAY()),YEAR(${D})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${D})=MONTH(EDATE(TODAY(),0+1)),YEAR(${D})=YEAR(EDATE(TODAY(),0+1)))`;default:return}})(p);k&&this.formulaXform.render(g,k),g.closeNode()}createNewModel(g){let{attributes:p}=g;return{...d(p),dxfId:c.toIntValue(p.dxfId),priority:c.toIntValue(p.priority),timePeriod:p.timePeriod,percent:c.toBoolValue(p.percent),bottom:c.toBoolValue(p.bottom),rank:c.toIntValue(p.rank),aboveAverage:c.toBoolValue(p.aboveAverage)}}onParserClose(g,p){switch(g){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,p.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(p.model)}}}b.exports=h},{"../../../../doc/range":10,"../../base-xform":32,"../../composite-xform":48,"./color-scale-xform":85,"./databar-xform":88,"./ext-lst-ref-xform":89,"./formula-xform":90,"./icon-set-xform":91}],84:[function(t,b,m){const c=t("../../base-xform");b.exports=class extends c{get tag(){return"cfvo"}render(i,s){i.leafNode(this.tag,{type:s.type,val:s.value})}parseOpen(i){this.model={type:i.attributes.type,value:c.toFloatValue(i.attributes.val)}}parseClose(i){return i!==this.tag}}},{"../../base-xform":32}],85:[function(t,b,m){const c=t("../../composite-xform"),i=t("../../style/color-xform"),s=t("./cfvo-xform");b.exports=class extends c{constructor(){super(),this.map={cfvo:this.cfvoXform=new s,color:this.colorXform=new i}}get tag(){return"colorScale"}render(n,e){n.openNode(this.tag),e.cfvo.forEach(r=>{this.cfvoXform.render(n,r)}),e.color.forEach(r=>{this.colorXform.render(n,r)}),n.closeNode()}createNewModel(n){return{cfvo:[],color:[]}}onParserClose(n,e){this.model[n].push(e.model)}}},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],86:[function(t,b,m){const c=t("../../composite-xform"),i=t("./cf-rule-xform");b.exports=class extends c{constructor(){super(),this.map={cfRule:new i}}get tag(){return"conditionalFormatting"}render(s,n){n.rules.some(i.isPrimitive)&&(s.openNode(this.tag,{sqref:n.ref}),n.rules.forEach(e=>{i.isPrimitive(e)&&(e.ref=n.ref,this.map.cfRule.render(s,e))}),s.closeNode())}createNewModel(s){let{attributes:n}=s;return{ref:n.sqref,rules:[]}}onParserClose(s,n){this.model.rules.push(n.model)}}},{"../../composite-xform":48,"./cf-rule-xform":83}],87:[function(t,b,m){const c=t("../../base-xform"),i=t("./conditional-formatting-xform");b.exports=class extends c{constructor(){super(),this.cfXform=new i}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare(s,n){let e=s.reduce((r,u)=>Math.max(r,...u.rules.map(a=>a.priority||0)),1);s.forEach(r=>{r.rules.forEach(u=>{u.priority||(u.priority=e++),u.style&&(u.dxfId=n.styles.addDxfStyle(u.style))})})}render(s,n){n.forEach(e=>{this.cfXform.render(s,e)})}parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;switch(s.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen(s),!0;default:return!1}}parseText(s){this.parser&&this.parser.parseText(s)}parseClose(s){return!!this.parser&&(!!this.parser.parseClose(s)||(this.model.push(this.parser.model),this.parser=void 0,!1))}reconcile(s,n){s.forEach(e=>{e.rules.forEach(r=>{r.dxfId!==void 0&&(r.style=n.styles.getDxfStyle(r.dxfId),delete r.dxfId)})})}}},{"../../base-xform":32,"./conditional-formatting-xform":86}],88:[function(t,b,m){const c=t("../../composite-xform"),i=t("../../style/color-xform"),s=t("./cfvo-xform");b.exports=class extends c{constructor(){super(),this.map={cfvo:this.cfvoXform=new s,color:this.colorXform=new i}}get tag(){return"dataBar"}render(n,e){n.openNode(this.tag),e.cfvo.forEach(r=>{this.cfvoXform.render(n,r)}),this.colorXform.render(n,e.color),n.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(n,e){switch(n){case"cfvo":this.model.cfvo.push(e.model);break;case"color":this.model.color=e.model}}}},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],89:[function(t,b,m){const c=t("../../base-xform"),i=t("../../composite-xform");class s extends c{get tag(){return"x14:id"}render(r,u){r.leafNode(this.tag,null,u)}parseOpen(){this.model=""}parseText(r){this.model+=r}parseClose(r){return r!==this.tag}}class n extends i{constructor(){super(),this.map={"x14:id":this.idXform=new s}}get tag(){return"ext"}render(r,u){r.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(r,u.x14Id),r.closeNode()}createNewModel(){return{}}onParserClose(r,u){this.model.x14Id=u.model}}b.exports=class extends i{constructor(){super(),this.map={ext:new n}}get tag(){return"extLst"}render(e,r){e.openNode(this.tag),this.map.ext.render(e,r),e.closeNode()}createNewModel(){return{}}onParserClose(e,r){Object.assign(this.model,r.model)}}},{"../../base-xform":32,"../../composite-xform":48}],90:[function(t,b,m){const c=t("../../base-xform");b.exports=class extends c{get tag(){return"formula"}render(i,s){i.leafNode(this.tag,null,s)}parseOpen(){this.model=""}parseText(i){this.model+=i}parseClose(i){return i!==this.tag}}},{"../../base-xform":32}],91:[function(t,b,m){const c=t("../../base-xform"),i=t("../../composite-xform"),s=t("./cfvo-xform");b.exports=class extends i{constructor(){super(),this.map={cfvo:this.cfvoXform=new s}}get tag(){return"iconSet"}render(n,e){n.openNode(this.tag,{iconSet:c.toStringAttribute(e.iconSet,"3TrafficLights"),reverse:c.toBoolAttribute(e.reverse,!1),showValue:c.toBoolAttribute(e.showValue,!0)}),e.cfvo.forEach(r=>{this.cfvoXform.render(n,r)}),n.closeNode()}createNewModel(n){let{attributes:e}=n;return{iconSet:c.toStringValue(e.iconSet,"3TrafficLights"),reverse:c.toBoolValue(e.reverse),showValue:c.toBoolValue(e.showValue),cfvo:[]}}onParserClose(n,e){this.model[n].push(e.model)}}},{"../../base-xform":32,"../../composite-xform":48,"./cfvo-xform":84}],92:[function(t,b,m){const c=t("../../../utils/utils"),i=t("../base-xform");b.exports=class extends i{get tag(){return"col"}prepare(s,n){const e=n.styles.addStyleModel(s.style||{});e&&(s.styleId=e)}render(s,n){s.openNode("col"),s.addAttribute("min",n.min),s.addAttribute("max",n.max),n.width&&s.addAttribute("width",n.width),n.styleId&&s.addAttribute("style",n.styleId),n.hidden&&s.addAttribute("hidden","1"),n.bestFit&&s.addAttribute("bestFit","1"),n.outlineLevel&&s.addAttribute("outlineLevel",n.outlineLevel),n.collapsed&&s.addAttribute("collapsed","1"),s.addAttribute("customWidth","1"),s.closeNode()}parseOpen(s){if(s.name==="col"){const n=this.model={min:parseInt(s.attributes.min||"0",10),max:parseInt(s.attributes.max||"0",10),width:s.attributes.width===void 0?void 0:parseFloat(s.attributes.width||"0")};return s.attributes.style&&(n.styleId=parseInt(s.attributes.style,10)),c.parseBoolean(s.attributes.hidden)&&(n.hidden=!0),c.parseBoolean(s.attributes.bestFit)&&(n.bestFit=!0),s.attributes.outlineLevel&&(n.outlineLevel=parseInt(s.attributes.outlineLevel,10)),c.parseBoolean(s.attributes.collapsed)&&(n.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(s,n){s.styleId&&(s.style=n.styles.getStyleModel(s.styleId))}}},{"../../../utils/utils":27,"../base-xform":32}],93:[function(t,b,m){const c=t("../../../utils/under-dash"),i=t("../../../utils/utils"),s=t("../../../utils/col-cache"),n=t("../base-xform"),e=t("../../../doc/range");function r(a,o,d,h){const f=o[d];f!==void 0?a[d]=f:h!==void 0&&(a[d]=h)}function u(a,o,d,h){const f=o[d];f!==void 0&&(a[d]=i.parseBoolean(f))}b.exports=class extends n{get tag(){return"dataValidations"}render(a,o){const d=function(h){const f=c.map(h,(k,C)=>({address:C,dataValidation:k,marked:!1})).sort((k,C)=>c.strcmp(k.address,C.address)),g=c.keyBy(f,"address"),p=(k,C,T)=>{for(let D=0;D<C;D++){const V=s.encodeAddress(k.row+D,T);if(!h[V]||!c.isEqual(h[k.address],h[V]))return!1}return!0};return f.map(k=>{if(!k.marked){const C=s.decodeEx(k.address);if(C.dimensions)return g[C.dimensions].marked=!0,{...k.dataValidation,sqref:k.address};let T=1,D=s.encodeAddress(C.row+T,C.col);for(;h[D]&&c.isEqual(k.dataValidation,h[D]);)T++,D=s.encodeAddress(C.row+T,C.col);let V=1;for(;p(C,T,C.col+V);)V++;for(let P=0;P<T;P++)for(let N=0;N<V;N++)D=s.encodeAddress(C.row+P,C.col+N),g[D].marked=!0;if(T>1||V>1){const P=C.row+(T-1),N=C.col+(V-1);return{...k.dataValidation,sqref:`${k.address}:${s.encodeAddress(P,N)}`}}return{...k.dataValidation,sqref:k.address}}return null}).filter(Boolean)}(o);d.length&&(a.openNode("dataValidations",{count:d.length}),d.forEach(h=>{a.openNode("dataValidation"),h.type!=="any"&&(a.addAttribute("type",h.type),h.operator&&h.type!=="list"&&h.operator!=="between"&&a.addAttribute("operator",h.operator),h.allowBlank&&a.addAttribute("allowBlank","1")),h.showInputMessage&&a.addAttribute("showInputMessage","1"),h.promptTitle&&a.addAttribute("promptTitle",h.promptTitle),h.prompt&&a.addAttribute("prompt",h.prompt),h.showErrorMessage&&a.addAttribute("showErrorMessage","1"),h.errorStyle&&a.addAttribute("errorStyle",h.errorStyle),h.errorTitle&&a.addAttribute("errorTitle",h.errorTitle),h.error&&a.addAttribute("error",h.error),a.addAttribute("sqref",h.sqref),(h.formulae||[]).forEach((f,g)=>{a.openNode("formula"+(g+1)),h.type==="date"?a.writeText(i.dateToExcel(new Date(f))):a.writeText(f),a.closeNode()}),a.closeNode()}),a.closeNode())}parseOpen(a){switch(a.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=a.attributes.sqref;const o={type:a.attributes.type||"any",formulae:[]};switch(a.attributes.type&&u(o,a.attributes,"allowBlank"),u(o,a.attributes,"showInputMessage"),u(o,a.attributes,"showErrorMessage"),o.type){case"any":case"list":case"custom":break;default:r(o,a.attributes,"operator","between")}return r(o,a.attributes,"promptTitle"),r(o,a.attributes,"prompt"),r(o,a.attributes,"errorStyle"),r(o,a.attributes,"errorTitle"),r(o,a.attributes,"error"),this._dataValidation=o,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText(a){this._formula&&this._formula.push(a)}parseClose(a){switch(a){case"dataValidations":return!1;case"dataValidation":return this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach(o=>{o.includes(":")?new e(o).forEachAddress(d=>{this.model[d]=this._dataValidation}):this.model[o]=this._dataValidation}),!0;case"formula1":case"formula2":{let o=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":o=parseInt(o,10);break;case"decimal":o=parseFloat(o);break;case"date":o=i.excelToDate(parseFloat(o))}return this._dataValidation.formulae.push(o),this._formula=void 0,!0}default:return!0}}}},{"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/utils":27,"../base-xform":32}],94:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"dimension"}render(i,s){s&&i.leafNode("dimension",{ref:s})}parseOpen(i){return i.name==="dimension"&&(this.model=i.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],95:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"drawing"}render(i,s){s&&i.leafNode(this.tag,{"r:id":s.rId})}parseOpen(i){switch(i.name){case this.tag:return this.model={rId:i.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],96:[function(t,b,m){const c=t("../composite-xform"),i=t("./cf-ext/conditional-formattings-ext-xform");class s extends c{constructor(){super(),this.map={"x14:conditionalFormattings":this.conditionalFormattings=new i}}get tag(){return"ext"}hasContent(e){return this.conditionalFormattings.hasContent(e.conditionalFormattings)}prepare(e,r){this.conditionalFormattings.prepare(e.conditionalFormattings,r)}render(e,r){e.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(e,r.conditionalFormattings),e.closeNode()}createNewModel(){return{}}onParserClose(e,r){this.model[e]=r.model}}b.exports=class extends c{constructor(){super(),this.map={ext:this.ext=new s}}get tag(){return"extLst"}prepare(n,e){this.ext.prepare(n,e)}hasContent(n){return this.ext.hasContent(n)}render(n,e){this.hasContent(e)&&(n.openNode("extLst"),this.ext.render(n,e),n.closeNode())}createNewModel(){return{}}onParserClose(n,e){Object.assign(this.model,e.model)}}},{"../composite-xform":48,"./cf-ext/conditional-formattings-ext-xform":78}],97:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"headerFooter"}render(i,s){if(s){i.addRollback();let n=!1;i.openNode("headerFooter"),s.differentFirst&&(i.addAttribute("differentFirst","1"),n=!0),s.differentOddEven&&(i.addAttribute("differentOddEven","1"),n=!0),s.oddHeader&&typeof s.oddHeader=="string"&&(i.leafNode("oddHeader",null,s.oddHeader),n=!0),s.oddFooter&&typeof s.oddFooter=="string"&&(i.leafNode("oddFooter",null,s.oddFooter),n=!0),s.evenHeader&&typeof s.evenHeader=="string"&&(i.leafNode("evenHeader",null,s.evenHeader),n=!0),s.evenFooter&&typeof s.evenFooter=="string"&&(i.leafNode("evenFooter",null,s.evenFooter),n=!0),s.firstHeader&&typeof s.firstHeader=="string"&&(i.leafNode("firstHeader",null,s.firstHeader),n=!0),s.firstFooter&&typeof s.firstFooter=="string"&&(i.leafNode("firstFooter",null,s.firstFooter),n=!0),n?(i.closeNode(),i.commit()):i.rollback()}}parseOpen(i){switch(i.name){case"headerFooter":return this.model={},i.attributes.differentFirst&&(this.model.differentFirst=parseInt(i.attributes.differentFirst,0)===1),i.attributes.differentOddEven&&(this.model.differentOddEven=parseInt(i.attributes.differentOddEven,0)===1),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText(i){switch(this.currentNode){case"oddHeader":this.model.oddHeader=i;break;case"oddFooter":this.model.oddFooter=i;break;case"evenHeader":this.model.evenHeader=i;break;case"evenFooter":this.model.evenFooter=i;break;case"firstHeader":this.model.firstHeader=i;break;case"firstFooter":this.model.firstFooter=i}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}},{"../base-xform":32}],98:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"hyperlink"}render(i,s){this.isInternalLink(s)?i.leafNode("hyperlink",{ref:s.address,"r:id":s.rId,tooltip:s.tooltip,location:s.target}):i.leafNode("hyperlink",{ref:s.address,"r:id":s.rId,tooltip:s.tooltip})}parseOpen(i){return i.name==="hyperlink"&&(this.model={address:i.attributes.ref,rId:i.attributes["r:id"],tooltip:i.attributes.tooltip},i.attributes.location&&(this.model.target=i.attributes.location),!0)}parseText(){}parseClose(){return!1}isInternalLink(i){return i.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test(i.target)}}},{"../base-xform":32}],99:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"mergeCell"}render(i,s){i.leafNode("mergeCell",{ref:s})}parseOpen(i){return i.name==="mergeCell"&&(this.model=i.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],100:[function(t,b,m){const c=t("../../../utils/under-dash"),i=t("../../../doc/range"),s=t("../../../utils/col-cache"),n=t("../../../doc/enums");b.exports=class{constructor(){this.merges={}}add(e){if(this.merges[e.master])this.merges[e.master].expandToAddress(e.address);else{const r=`${e.master}:${e.address}`;this.merges[e.master]=new i(r)}}get mergeCells(){return c.map(this.merges,e=>e.range)}reconcile(e,r){c.each(e,u=>{const a=s.decode(u);for(let o=a.top;o<=a.bottom;o++){const d=r[o-1];for(let h=a.left;h<=a.right;h++){const f=d.cells[h-1];f?f.type===n.ValueType.Merge&&(f.master=a.tl):d.cells[h]={type:n.ValueType.Null,address:s.encodeAddress(o,h)}}}})}getMasterAddress(e){const r=this.hash[e];return r&&r.tl}}},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26}],101:[function(t,b,m){const c=t("../base-xform"),i=s=>s!==void 0;b.exports=class extends c{get tag(){return"outlinePr"}render(s,n){return!(!n||!i(n.summaryBelow)&&!i(n.summaryRight))&&(s.leafNode(this.tag,{summaryBelow:i(n.summaryBelow)?Number(n.summaryBelow):void 0,summaryRight:i(n.summaryRight)?Number(n.summaryRight):void 0}),!0)}parseOpen(s){return s.name===this.tag&&(this.model={summaryBelow:i(s.attributes.summaryBelow)?!!Number(s.attributes.summaryBelow):void 0,summaryRight:i(s.attributes.summaryRight)?!!Number(s.attributes.summaryRight):void 0},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],102:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"brk"}render(i,s){i.leafNode("brk",s)}parseOpen(i){return i.name==="brk"&&(this.model=i.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],103:[function(t,b,m){const c=t("../../../utils/under-dash"),i=t("../base-xform");b.exports=class extends i{get tag(){return"pageMargins"}render(s,n){if(n){const e={left:n.left,right:n.right,top:n.top,bottom:n.bottom,header:n.header,footer:n.footer};c.some(e,r=>r!==void 0)&&s.leafNode(this.tag,e)}}parseOpen(s){switch(s.name){case this.tag:return this.model={left:parseFloat(s.attributes.left||.7),right:parseFloat(s.attributes.right||.7),top:parseFloat(s.attributes.top||.75),bottom:parseFloat(s.attributes.bottom||.75),header:parseFloat(s.attributes.header||.3),footer:parseFloat(s.attributes.footer||.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],104:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"pageSetUpPr"}render(i,s){return!(!s||!s.fitToPage)&&(i.leafNode(this.tag,{fitToPage:s.fitToPage?"1":void 0}),!0)}parseOpen(i){return i.name===this.tag&&(this.model={fitToPage:i.attributes.fitToPage==="1"},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],105:[function(t,b,m){const c=t("../../../utils/under-dash"),i=t("../base-xform");function s(u){return u?"1":void 0}function n(u){switch(u){case"overThenDown":return u;default:return}}function e(u){switch(u){case"atEnd":case"asDisplyed":return u;default:return}}function r(u){switch(u){case"dash":case"blank":case"NA":return u;default:return}}b.exports=class extends i{get tag(){return"pageSetup"}render(u,a){if(a){const o={paperSize:a.paperSize,orientation:a.orientation,horizontalDpi:a.horizontalDpi,verticalDpi:a.verticalDpi,pageOrder:n(a.pageOrder),blackAndWhite:s(a.blackAndWhite),draft:s(a.draft),cellComments:e(a.cellComments),errors:r(a.errors),scale:a.scale,fitToWidth:a.fitToWidth,fitToHeight:a.fitToHeight,firstPageNumber:a.firstPageNumber,useFirstPageNumber:s(a.firstPageNumber),usePrinterDefaults:s(a.usePrinterDefaults),copies:a.copies};c.some(o,d=>d!==void 0)&&u.leafNode(this.tag,o)}}parseOpen(u){switch(u.name){case this.tag:return this.model={paperSize:(a=u.attributes.paperSize,a!==void 0?parseInt(a,10):void 0),orientation:u.attributes.orientation||"portrait",horizontalDpi:parseInt(u.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(u.attributes.verticalDpi||"4294967295",10),pageOrder:u.attributes.pageOrder||"downThenOver",blackAndWhite:u.attributes.blackAndWhite==="1",draft:u.attributes.draft==="1",cellComments:u.attributes.cellComments||"None",errors:u.attributes.errors||"displayed",scale:parseInt(u.attributes.scale||"100",10),fitToWidth:parseInt(u.attributes.fitToWidth||"1",10),fitToHeight:parseInt(u.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(u.attributes.firstPageNumber||"1",10),useFirstPageNumber:u.attributes.useFirstPageNumber==="1",usePrinterDefaults:u.attributes.usePrinterDefaults==="1",copies:parseInt(u.attributes.copies||"1",10)},!0;default:return!1}var a}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],106:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"picture"}render(i,s){s&&i.leafNode(this.tag,{"r:id":s.rId})}parseOpen(i){switch(i.name){case this.tag:return this.model={rId:i.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],107:[function(t,b,m){const c=t("../../../utils/under-dash"),i=t("../base-xform");function s(n){return n?"1":void 0}b.exports=class extends i{get tag(){return"printOptions"}render(n,e){if(e){const r={headings:s(e.showRowColHeaders),gridLines:s(e.showGridLines),horizontalCentered:s(e.horizontalCentered),verticalCentered:s(e.verticalCentered)};c.some(r,u=>u!==void 0)&&n.leafNode(this.tag,r)}}parseOpen(n){switch(n.name){case this.tag:return this.model={showRowColHeaders:n.attributes.headings==="1",showGridLines:n.attributes.gridLines==="1",horizontalCentered:n.attributes.horizontalCentered==="1",verticalCentered:n.attributes.verticalCentered==="1"},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],108:[function(t,b,m){const c=t("./page-breaks-xform"),i=t("../list-xform");b.exports=class extends i{constructor(){super({tag:"rowBreaks",count:!0,childXform:new c})}render(s,n){if(n&&n.length){s.openNode(this.tag,this.$),this.count&&(s.addAttribute(this.$count,n.length),s.addAttribute("manualBreakCount",n.length));const{childXform:e}=this;n.forEach(r=>{e.render(s,r)}),s.closeNode()}else this.empty&&s.leafNode(this.tag)}}},{"../list-xform":71,"./page-breaks-xform":102}],109:[function(t,b,m){const c=t("../base-xform"),i=t("../../../utils/utils"),s=t("./cell-xform");b.exports=class extends c{constructor(n){super(),this.maxItems=n&&n.maxItems,this.map={c:new s}}get tag(){return"row"}prepare(n,e){const r=e.styles.addStyleModel(n.style);r&&(n.styleId=r);const u=this.map.c;n.cells.forEach(a=>{u.prepare(a,e)})}render(n,e,r){n.openNode("row"),n.addAttribute("r",e.number),e.height&&(n.addAttribute("ht",e.height),n.addAttribute("customHeight","1")),e.hidden&&n.addAttribute("hidden","1"),e.min>0&&e.max>0&&e.min<=e.max&&n.addAttribute("spans",`${e.min}:${e.max}`),e.styleId&&(n.addAttribute("s",e.styleId),n.addAttribute("customFormat","1")),n.addAttribute("x14ac:dyDescent","0.25"),e.outlineLevel&&n.addAttribute("outlineLevel",e.outlineLevel),e.collapsed&&n.addAttribute("collapsed","1");const u=this.map.c;e.cells.forEach(a=>{u.render(n,a,r)}),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;if(n.name==="row"){this.numRowsSeen+=1;const e=n.attributes.spans?n.attributes.spans.split(":").map(u=>parseInt(u,10)):[void 0,void 0],r=this.model={number:parseInt(n.attributes.r,10),min:e[0],max:e[1],cells:[]};return n.attributes.s&&(r.styleId=parseInt(n.attributes.s,10)),i.parseBoolean(n.attributes.hidden)&&(r.hidden=!0),i.parseBoolean(n.attributes.bestFit)&&(r.bestFit=!0),n.attributes.ht&&(r.height=parseFloat(n.attributes.ht)),n.attributes.outlineLevel&&(r.outlineLevel=parseInt(n.attributes.outlineLevel,10)),i.parseBoolean(n.attributes.collapsed)&&(r.collapsed=!0),!0}return this.parser=this.map[n.name],!!this.parser&&(this.parser.parseOpen(n),!0)}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){if(this.parser){if(!this.parser.parseClose(n)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile(n,e){n.style=n.styleId?e.styles.getStyleModel(n.styleId):{},n.styleId!==void 0&&(n.styleId=void 0);const r=this.map.c;n.cells.forEach(u=>{r.reconcile(u,e)})}}},{"../../../utils/utils":27,"../base-xform":32,"./cell-xform":73}],110:[function(t,b,m){const c=t("../../../utils/under-dash"),i=t("../base-xform");b.exports=class extends i{get tag(){return"sheetFormatPr"}render(s,n){if(n){const e={defaultRowHeight:n.defaultRowHeight,outlineLevelRow:n.outlineLevelRow,outlineLevelCol:n.outlineLevelCol,"x14ac:dyDescent":n.dyDescent};n.defaultColWidth&&(e.defaultColWidth=n.defaultColWidth),n.defaultRowHeight&&n.defaultRowHeight===15||(e.customHeight="1"),c.some(e,r=>r!==void 0)&&s.leafNode("sheetFormatPr",e)}}parseOpen(s){return s.name==="sheetFormatPr"&&(this.model={defaultRowHeight:parseFloat(s.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(s.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(s.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(s.attributes.outlineLevelCol||"0",10)},s.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(s.attributes.defaultColWidth)),!0)}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],111:[function(t,b,m){const c=t("../base-xform"),i=t("../style/color-xform"),s=t("./page-setup-properties-xform"),n=t("./outline-properties-xform");b.exports=class extends c{constructor(){super(),this.map={tabColor:new i("tabColor"),pageSetUpPr:new s,outlinePr:new n}}get tag(){return"sheetPr"}render(e,r){if(r){e.addRollback(),e.openNode("sheetPr");let u=!1;u=this.map.tabColor.render(e,r.tabColor)||u,u=this.map.pageSetUpPr.render(e,r.pageSetup)||u,u=this.map.outlinePr.render(e,r.outlineProperties)||u,u?(e.closeNode(),e.commit()):e.rollback()}}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.reset(),!0):!!this.map[e.name]&&(this.parser=this.map[e.name],this.parser.parseOpen(e),!0)}parseText(e){return!!this.parser&&(this.parser.parseText(e),!0)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}},{"../base-xform":32,"../style/color-xform":128,"./outline-properties-xform":101,"./page-setup-properties-xform":104}],112:[function(t,b,m){const c=t("../../../utils/under-dash"),i=t("../base-xform");function s(e,r){return e?r:void 0}function n(e,r){return e===r||void 0}b.exports=class extends i{get tag(){return"sheetProtection"}render(e,r){if(r){const u={sheet:s(r.sheet,"1"),selectLockedCells:r.selectLockedCells===!1?"1":void 0,selectUnlockedCells:r.selectUnlockedCells===!1?"1":void 0,formatCells:s(r.formatCells,"0"),formatColumns:s(r.formatColumns,"0"),formatRows:s(r.formatRows,"0"),insertColumns:s(r.insertColumns,"0"),insertRows:s(r.insertRows,"0"),insertHyperlinks:s(r.insertHyperlinks,"0"),deleteColumns:s(r.deleteColumns,"0"),deleteRows:s(r.deleteRows,"0"),sort:s(r.sort,"0"),autoFilter:s(r.autoFilter,"0"),pivotTables:s(r.pivotTables,"0")};r.sheet&&(u.algorithmName=r.algorithmName,u.hashValue=r.hashValue,u.saltValue=r.saltValue,u.spinCount=r.spinCount,u.objects=s(r.objects===!1,"1"),u.scenarios=s(r.scenarios===!1,"1")),c.some(u,a=>a!==void 0)&&e.leafNode(this.tag,u)}}parseOpen(e){switch(e.name){case this.tag:return this.model={sheet:n(e.attributes.sheet,"1"),objects:e.attributes.objects!=="1"&&void 0,scenarios:e.attributes.scenarios!=="1"&&void 0,selectLockedCells:e.attributes.selectLockedCells!=="1"&&void 0,selectUnlockedCells:e.attributes.selectUnlockedCells!=="1"&&void 0,formatCells:n(e.attributes.formatCells,"0"),formatColumns:n(e.attributes.formatColumns,"0"),formatRows:n(e.attributes.formatRows,"0"),insertColumns:n(e.attributes.insertColumns,"0"),insertRows:n(e.attributes.insertRows,"0"),insertHyperlinks:n(e.attributes.insertHyperlinks,"0"),deleteColumns:n(e.attributes.deleteColumns,"0"),deleteRows:n(e.attributes.deleteRows,"0"),sort:n(e.attributes.sort,"0"),autoFilter:n(e.attributes.autoFilter,"0"),pivotTables:n(e.attributes.pivotTables,"0")},e.attributes.algorithmName&&(this.model.algorithmName=e.attributes.algorithmName,this.model.hashValue=e.attributes.hashValue,this.model.saltValue=e.attributes.saltValue,this.model.spinCount=parseInt(e.attributes.spinCount,10)),!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],113:[function(t,b,m){const c=t("../../../utils/col-cache"),i=t("../base-xform"),s={frozen:"frozen",frozenSplit:"frozen",split:"split"};b.exports=class extends i{get tag(){return"sheetView"}prepare(n){switch(n.state){case"frozen":case"split":break;default:n.state="normal"}}render(n,e){n.openNode("sheetView",{workbookViewId:e.workbookViewId||0});const r=function(h,f,g){g&&n.addAttribute(h,f)};let u,a,o,d;switch(r("rightToLeft","1",e.rightToLeft===!0),r("tabSelected","1",e.tabSelected),r("showRuler","0",e.showRuler===!1),r("showRowColHeaders","0",e.showRowColHeaders===!1),r("showGridLines","0",e.showGridLines===!1),r("zoomScale",e.zoomScale,e.zoomScale),r("zoomScaleNormal",e.zoomScaleNormal,e.zoomScaleNormal),r("view",e.style,e.style),e.state){case"frozen":a=e.xSplit||0,o=e.ySplit||0,u=e.topLeftCell||c.getAddress(o+1,a+1).address,d=(e.xSplit&&e.ySplit?"bottomRight":e.xSplit&&"topRight")||"bottomLeft",n.leafNode("pane",{xSplit:e.xSplit||void 0,ySplit:e.ySplit||void 0,topLeftCell:u,activePane:d,state:"frozen"}),n.leafNode("selection",{pane:d,activeCell:e.activeCell,sqref:e.activeCell});break;case"split":e.activePane==="topLeft"&&(e.activePane=void 0),n.leafNode("pane",{xSplit:e.xSplit||void 0,ySplit:e.ySplit||void 0,topLeftCell:e.topLeftCell,activePane:e.activePane}),n.leafNode("selection",{pane:e.activePane,activeCell:e.activeCell,sqref:e.activeCell});break;case"normal":e.activeCell&&n.leafNode("selection",{activeCell:e.activeCell,sqref:e.activeCell})}n.closeNode()}parseOpen(n){switch(n.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(n.attributes.workbookViewId,10),rightToLeft:n.attributes.rightToLeft==="1",tabSelected:n.attributes.tabSelected==="1",showRuler:n.attributes.showRuler!=="0",showRowColHeaders:n.attributes.showRowColHeaders!=="0",showGridLines:n.attributes.showGridLines!=="0",zoomScale:parseInt(n.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(n.attributes.zoomScaleNormal||"100",10),style:n.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(n.attributes.xSplit||"0",10),ySplit:parseInt(n.attributes.ySplit||"0",10),topLeftCell:n.attributes.topLeftCell,activePane:n.attributes.activePane||"topLeft",state:n.attributes.state},!0;case"selection":{const e=n.attributes.pane||"topLeft";return this.selections[e]={pane:e,activeCell:n.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(n){let e,r;switch(n){case"sheetView":return this.sheetView&&this.pane?(e=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:s[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split"&&(e.activePane=this.pane.activePane),r=this.selections[this.pane.activePane],r&&r.activeCell&&(e.activeCell=r.activeCell),this.sheetView.style&&(e.style=this.sheetView.style)):(e=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},r=this.selections.topLeft,r&&r.activeCell&&(e.activeCell=r.activeCell),this.sheetView.style&&(e.style=this.sheetView.style)),!1;default:return!0}}reconcile(){}}},{"../../../utils/col-cache":19,"../base-xform":32}],114:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"tablePart"}render(i,s){s&&i.leafNode(this.tag,{"r:id":s.rId})}parseOpen(i){switch(i.name){case this.tag:return this.model={rId:i.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],115:[function(t,b,m){const c=t("../../../utils/under-dash"),i=t("../../../utils/col-cache"),s=t("../../../utils/xml-stream"),n=t("../../rel-type"),e=t("./merges"),r=t("../base-xform"),u=t("../list-xform"),a=t("./row-xform"),o=t("./col-xform"),d=t("./dimension-xform"),h=t("./hyperlink-xform"),f=t("./merge-cell-xform"),g=t("./data-validations-xform"),p=t("./sheet-properties-xform"),k=t("./sheet-format-properties-xform"),C=t("./sheet-view-xform"),T=t("./sheet-protection-xform"),D=t("./page-margins-xform"),V=t("./page-setup-xform"),P=t("./print-options-xform"),N=t("./auto-filter-xform"),q=t("./picture-xform"),W=t("./drawing-xform"),L=t("./table-part-xform"),A=t("./row-breaks-xform"),M=t("./header-footer-xform"),_=t("./cf/conditional-formattings-xform"),v=t("./ext-lst-xform"),x=(S,E)=>{if(!E||!E.length)return S;if(!S||!S.length)return E;const O={},R={};return S.forEach(z=>{O[z.ref]=z,z.rules.forEach(U=>{const{x14Id:Q}=U;Q&&(R[Q]=U)})}),E.forEach(z=>{z.rules.forEach(U=>{const Q=R[U.x14Id];Q?((j,Y)=>{Object.keys(Y).forEach(F=>{const I=j[F],H=Y[F];I===void 0&&H!==void 0&&(j[F]=H)})})(Q,U):O[z.ref]?O[z.ref].rules.push(U):S.push({ref:z.ref,rules:[U]})})}),S};class w extends r{constructor(E){super();const{maxRows:O,maxCols:R,ignoreNodes:z}=E||{};this.ignoreNodes=z||[],this.map={sheetPr:new p,dimension:new d,sheetViews:new u({tag:"sheetViews",count:!1,childXform:new C}),sheetFormatPr:new k,cols:new u({tag:"cols",count:!1,childXform:new o}),sheetData:new u({tag:"sheetData",count:!1,empty:!0,childXform:new a({maxItems:R}),maxItems:O}),autoFilter:new N,mergeCells:new u({tag:"mergeCells",count:!0,childXform:new f}),rowBreaks:new A,hyperlinks:new u({tag:"hyperlinks",count:!1,childXform:new h}),pageMargins:new D,dataValidations:new g,pageSetup:new V,headerFooter:new M,printOptions:new P,picture:new q,drawing:new W,sheetProtection:new T,tableParts:new u({tag:"tableParts",count:!0,childXform:new L}),conditionalFormatting:new _,extLst:new v}}prepare(E,O){O.merges=new e,E.hyperlinks=O.hyperlinks=[],E.comments=O.comments=[],O.formulae={},O.siFormulae=0,this.map.cols.prepare(E.cols,O),this.map.sheetData.prepare(E.rows,O),this.map.conditionalFormatting.prepare(E.conditionalFormattings,O),E.mergeCells=O.merges.mergeCells;const R=E.rels=[];function z(j){return"rId"+(j.length+1)}if(E.hyperlinks.forEach(j=>{const Y=z(R);j.rId=Y,R.push({Id:Y,Type:n.Hyperlink,Target:j.target,TargetMode:"External"})}),E.comments.length>0){const j={Id:z(R),Type:n.Comments,Target:`../comments${E.id}.xml`};R.push(j);const Y={Id:z(R),Type:n.VmlDrawing,Target:`../drawings/vmlDrawing${E.id}.vml`};R.push(Y),E.comments.forEach(F=>{F.refAddress=i.decodeAddress(F.ref)}),O.commentRefs.push({commentName:"comments"+E.id,vmlDrawing:"vmlDrawing"+E.id})}const U=[];let Q;E.media.forEach(j=>{if(j.type==="background"){const Y=z(R);Q=O.media[j.imageId],R.push({Id:Y,Type:n.Image,Target:`../media/${Q.name}.${Q.extension}`}),E.background={rId:Y},E.image=O.media[j.imageId]}else if(j.type==="image"){let{drawing:Y}=E;Q=O.media[j.imageId],Y||(Y=E.drawing={rId:z(R),name:"drawing"+ ++O.drawingsCount,anchors:[],rels:[]},O.drawings.push(Y),R.push({Id:Y.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${Y.name}.xml`}));let F=this.preImageId===j.imageId?U[j.imageId]:U[Y.rels.length];F||(F=z(Y.rels),U[Y.rels.length]=F,Y.rels.push({Id:F,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${Q.name}.${Q.extension}`}));const I={picture:{rId:F},range:j.range};if(j.hyperlinks&&j.hyperlinks.hyperlink){const H=z(Y.rels);U[Y.rels.length]=H,I.picture.hyperlinks={tooltip:j.hyperlinks.tooltip,rId:H},Y.rels.push({Id:H,Type:n.Hyperlink,Target:j.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=j.imageId,Y.anchors.push(I)}}),E.tables.forEach(j=>{const Y=z(R);j.rId=Y,R.push({Id:Y,Type:n.Table,Target:"../tables/"+j.target}),j.columns.forEach(F=>{const{style:I}=F;I&&(F.dxfId=O.styles.addDxfStyle(I))})}),this.map.extLst.prepare(E,O)}render(E,O){E.openXml(s.StdDocAttributes),E.openNode("worksheet",w.WORKSHEET_ATTRIBUTES);const R=O.properties?{defaultRowHeight:O.properties.defaultRowHeight,dyDescent:O.properties.dyDescent,outlineLevelCol:O.properties.outlineLevelCol,outlineLevelRow:O.properties.outlineLevelRow}:void 0;O.properties&&O.properties.defaultColWidth&&(R.defaultColWidth=O.properties.defaultColWidth);const z={outlineProperties:O.properties&&O.properties.outlineProperties,tabColor:O.properties&&O.properties.tabColor,pageSetup:O.pageSetup&&O.pageSetup.fitToPage?{fitToPage:O.pageSetup.fitToPage}:void 0},U=O.pageSetup&&O.pageSetup.margins,Q={showRowColHeaders:O.pageSetup&&O.pageSetup.showRowColHeaders,showGridLines:O.pageSetup&&O.pageSetup.showGridLines,horizontalCentered:O.pageSetup&&O.pageSetup.horizontalCentered,verticalCentered:O.pageSetup&&O.pageSetup.verticalCentered},j=O.sheetProtection;this.map.sheetPr.render(E,z),this.map.dimension.render(E,O.dimensions),this.map.sheetViews.render(E,O.views),this.map.sheetFormatPr.render(E,R),this.map.cols.render(E,O.cols),this.map.sheetData.render(E,O.rows),this.map.sheetProtection.render(E,j),this.map.autoFilter.render(E,O.autoFilter),this.map.mergeCells.render(E,O.mergeCells),this.map.conditionalFormatting.render(E,O.conditionalFormattings),this.map.dataValidations.render(E,O.dataValidations),this.map.hyperlinks.render(E,O.hyperlinks),this.map.printOptions.render(E,Q),this.map.pageMargins.render(E,U),this.map.pageSetup.render(E,O.pageSetup),this.map.headerFooter.render(E,O.headerFooter),this.map.rowBreaks.render(E,O.rowBreaks),this.map.drawing.render(E,O.drawing),this.map.picture.render(E,O.background),this.map.tableParts.render(E,O.tables),this.map.extLst.render(E,O),O.rels&&O.rels.forEach(Y=>{Y.Type===n.VmlDrawing&&E.leafNode("legacyDrawing",{"r:id":Y.Id})}),E.closeNode()}parseOpen(E){return this.parser?(this.parser.parseOpen(E),!0):E.name==="worksheet"?(c.each(this.map,O=>{O.reset()}),!0):(this.map[E.name]&&!this.ignoreNodes.includes(E.name)&&(this.parser=this.map[E.name],this.parser.parseOpen(E)),!0)}parseText(E){this.parser&&this.parser.parseText(E)}parseClose(E){if(this.parser)return this.parser.parseClose(E)||(this.parser=void 0),!0;switch(E){case"worksheet":{const O=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(O.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(O.outlineProperties=this.map.sheetPr.model.outlineProperties);const R={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},z=Object.assign(R,this.map.pageSetup.model,this.map.printOptions.model),U=x(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:O,views:this.map.sheetViews.model,pageSetup:z,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:U},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1}default:return!0}}reconcile(E,O){const R=(E.relationships||[]).reduce((U,Q)=>{if(U[Q.Id]=Q,Q.Type===n.Comments&&(E.comments=O.comments[Q.Target].comments),Q.Type===n.VmlDrawing&&E.comments&&E.comments.length){const j=O.vmlDrawings[Q.Target].comments;E.comments.forEach((Y,F)=>{Y.note=Object.assign({},Y.note,j[F])})}return U},{});if(O.commentsMap=(E.comments||[]).reduce((U,Q)=>(Q.ref&&(U[Q.ref]=Q),U),{}),O.hyperlinkMap=(E.hyperlinks||[]).reduce((U,Q)=>(Q.rId&&(U[Q.address]=R[Q.rId].Target),U),{}),O.formulae={},E.rows=E.rows&&E.rows.filter(Boolean)||[],E.rows.forEach(U=>{U.cells=U.cells&&U.cells.filter(Boolean)||[]}),this.map.cols.reconcile(E.cols,O),this.map.sheetData.reconcile(E.rows,O),this.map.conditionalFormatting.reconcile(E.conditionalFormattings,O),E.media=[],E.drawing){const U=R[E.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(U){const Q=U[1];O.drawings[Q].anchors.forEach(j=>{if(j.medium){const Y={type:"image",imageId:j.medium.index,range:j.range,hyperlinks:j.picture.hyperlinks};E.media.push(Y)}})}}const z=E.background&&R[E.background.rId];if(z){const U=z.Target.split("/media/")[1],Q=O.mediaIndex&&O.mediaIndex[U];Q!==void 0&&E.media.push({type:"background",imageId:Q})}E.tables=(E.tables||[]).map(U=>{const Q=R[U.rId];return O.tables[Q.Target]}),delete E.relationships,delete E.hyperlinks,delete E.comments}}w.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},b.exports=w},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../../rel-type":31,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":72,"./cf/conditional-formattings-xform":87,"./col-xform":92,"./data-validations-xform":93,"./dimension-xform":94,"./drawing-xform":95,"./ext-lst-xform":96,"./header-footer-xform":97,"./hyperlink-xform":98,"./merge-cell-xform":99,"./merges":100,"./page-margins-xform":103,"./page-setup-xform":105,"./picture-xform":106,"./print-options-xform":107,"./row-breaks-xform":108,"./row-xform":109,"./sheet-format-properties-xform":110,"./sheet-properties-xform":111,"./sheet-protection-xform":112,"./sheet-view-xform":113,"./table-part-xform":114}],116:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{constructor(i){super(),this.tag=i.tag,this.attr=i.attr}render(i,s){s&&(i.openNode(this.tag),i.closeNode())}parseOpen(i){i.name===this.tag&&(this.model=!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],117:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{constructor(i){super(),this.tag=i.tag,this.attr=i.attr,this.attrs=i.attrs,this._format=i.format||function(s){try{return Number.isNaN(s.getTime())?"":s.toISOString()}catch{return""}},this._parse=i.parse||function(s){return new Date(s)}}render(i,s){s&&(i.openNode(this.tag),this.attrs&&i.addAttributes(this.attrs),this.attr?i.addAttribute(this.attr,this._format(s)):i.writeText(this._format(s)),i.closeNode())}parseOpen(i){i.name===this.tag&&(this.attr?this.model=this._parse(i.attributes[this.attr]):this.text=[])}parseText(i){this.attr||this.text.push(i)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}},{"../base-xform":32}],118:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{constructor(i){super(),this.tag=i.tag,this.attr=i.attr,this.attrs=i.attrs,this.zero=i.zero}render(i,s){(s||this.zero)&&(i.openNode(this.tag),this.attrs&&i.addAttributes(this.attrs),this.attr?i.addAttribute(this.attr,s):i.writeText(s),i.closeNode())}parseOpen(i){return i.name===this.tag&&(this.attr?this.model=parseInt(i.attributes[this.attr],10):this.text=[],!0)}parseText(i){this.attr||this.text.push(i)}parseClose(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}},{"../base-xform":32}],119:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{constructor(i){super(),this.tag=i.tag,this.attr=i.attr,this.attrs=i.attrs}render(i,s){s!==void 0&&(i.openNode(this.tag),this.attrs&&i.addAttributes(this.attrs),this.attr?i.addAttribute(this.attr,s):i.writeText(s),i.closeNode())}parseOpen(i){i.name===this.tag&&(this.attr?this.model=i.attributes[this.attr]:this.text=[])}parseText(i){this.attr||this.text.push(i)}parseClose(){return this.attr||(this.model=this.text.join("")),!1}}},{"../base-xform":32}],120:[function(t,b,m){const c=t("./base-xform"),i=t("../../utils/xml-stream");b.exports=class extends c{constructor(s){super(),this._model=s}render(s){if(!this._xml){const n=new i;(function e(r,u){r.openNode(u.tag,u.$),u.c&&u.c.forEach(a=>{e(r,a)}),u.t&&r.writeText(u.t),r.closeNode()})(n,this._model),this._xml=n.xml}s.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose(s){switch(s){case this._model.tag:return!1;default:return!0}}}},{"../../utils/xml-stream":28,"./base-xform":32}],121:[function(t,b,m){const c=t("./text-xform"),i=t("./rich-text-xform"),s=t("../base-xform");b.exports=class extends s{constructor(){super(),this.map={r:new i,t:new c}}get tag(){return"rPh"}render(n,e){if(n.openNode(this.tag,{sb:e.sb||0,eb:e.eb||0}),e&&e.hasOwnProperty("richText")&&e.richText){const{r}=this.map;e.richText.forEach(u=>{r.render(n,u)})}else e&&this.map.t.render(n,e.text);n.closeNode()}parseOpen(n){const{name:e}=n;return this.parser?(this.parser.parseOpen(n),!0):e===this.tag?(this.model={sb:parseInt(n.attributes.sb,10),eb:parseInt(n.attributes.eb,10)},!0):(this.parser=this.map[e],!!this.parser&&(this.parser.parseOpen(n),!0))}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){if(this.parser){if(!this.parser.parseClose(n)){switch(n){case"r":{let e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break}case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}switch(n){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"./rich-text-xform":122,"./text-xform":125}],122:[function(t,b,m){const c=t("./text-xform"),i=t("../style/font-xform"),s=t("../base-xform");class n extends s{constructor(r){super(),this.model=r}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new c)}get fontXform(){return this._fontXform||(this._fontXform=new i(n.FONT_OPTIONS))}render(r,u){u=u||this.model,r.openNode("r"),u.font&&this.fontXform.render(r,u.font),this.textXform.render(r,u.text),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(r),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(r),!0;default:return!1}}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){switch(r){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(r),!0}}}n.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},b.exports=n},{"../base-xform":32,"../style/font-xform":131,"./text-xform":125}],123:[function(t,b,m){const c=t("./text-xform"),i=t("./rich-text-xform"),s=t("./phonetic-text-xform"),n=t("../base-xform");b.exports=class extends n{constructor(e){super(),this.model=e,this.map={r:new i,t:new c,rPh:new s}}get tag(){return"si"}render(e,r){e.openNode(this.tag),r&&r.hasOwnProperty("richText")&&r.richText?r.richText.length?r.richText.forEach(u=>{this.map.r.render(e,u)}):this.map.t.render(e,""):r!=null&&this.map.t.render(e,r),e.closeNode()}parseOpen(e){const{name:r}=e;return this.parser?(this.parser.parseOpen(e),!0):r===this.tag?(this.model={},!0):(this.parser=this.map[r],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case"r":{let r=this.model.richText;r||(r=this.model.richText=[]),r.push(this.parser.model);break}case"t":this.model=this.parser.model}this.parser=void 0}return!0}switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"./phonetic-text-xform":121,"./rich-text-xform":122,"./text-xform":125}],124:[function(t,b,m){const c=t("../../../utils/xml-stream"),i=t("../base-xform"),s=t("./shared-string-xform");b.exports=class extends i{constructor(n){super(),this.model=n||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new s)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(n){return this.model.values[n]}add(n){return n.richText?this.addRichText(n):this.addText(n)}addText(n){let e=this.hash[n];return e===void 0&&(e=this.hash[n]=this.model.values.length,this.model.values.push(n)),this.model.count++,e}addRichText(n){const e=this.sharedStringXform.toXml(n);let r=this.rich[e];return r===void 0&&(r=this.rich[e]=this.model.values.length,this.model.values.push(n)),this.model.count++,r}render(n,e){e=e||this._values,n.openXml(c.StdDocAttributes),n.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:e.count,uniqueCount:e.values.length});const r=this.sharedStringXform;e.values.forEach(u=>{r.render(n,u)}),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(n),!0;default:throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(n))}}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){if(this.parser)return this.parser.parseClose(n)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;switch(n){case"sst":return!1;default:throw new Error("Unexpected xml node in parseClose: "+n)}}}},{"../../../utils/xml-stream":28,"../base-xform":32,"./shared-string-xform":123}],125:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"t"}render(i,s){i.openNode("t"),/^\s|\n|\s$/.test(s)&&i.addAttribute("xml:space","preserve"),i.writeText(s),i.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,(i,s)=>String.fromCharCode(parseInt(s,16)))}parseOpen(i){switch(i.name){case"t":return this._text=[],!0;default:return!1}}parseText(i){this._text.push(i)}parseClose(){return!1}}},{"../base-xform":32}],126:[function(t,b,m){const c=t("../../../doc/enums"),i=t("../../../utils/utils"),s=t("../base-xform"),n={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce((r,u)=>(r[u]=!0,r),{}),horizontal(r){return this.horizontalValues[r]?r:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce((r,u)=>(r[u]=!0,r),{}),vertical(r){return r==="middle"?"center":this.verticalValues[r]?r:void 0},wrapText:r=>!!r||void 0,shrinkToFit:r=>!!r||void 0,textRotation(r){switch(r){case"vertical":return r;default:return(r=i.validInt(r))>=-90&&r<=90?r:void 0}},indent:r=>(r=i.validInt(r),Math.max(0,r)),readingOrder(r){switch(r){case"ltr":return c.ReadingOrder.LeftToRight;case"rtl":return c.ReadingOrder.RightToLeft;default:return}}},e={toXml(r){if(r=n.textRotation(r)){if(r==="vertical")return 255;const u=Math.round(r);if(u>=0&&u<=90)return u;if(u<0&&u>=-90)return 90-u}},toModel(r){const u=i.validInt(r);if(u!==void 0){if(u===255)return"vertical";if(u>=0&&u<=90)return u;if(u>90&&u<=180)return 90-u}}};b.exports=class extends s{get tag(){return"alignment"}render(r,u){r.addRollback(),r.openNode("alignment");let a=!1;function o(d,h){h&&(r.addAttribute(d,h),a=!0)}o("horizontal",n.horizontal(u.horizontal)),o("vertical",n.vertical(u.vertical)),o("wrapText",!!n.wrapText(u.wrapText)&&"1"),o("shrinkToFit",!!n.shrinkToFit(u.shrinkToFit)&&"1"),o("indent",n.indent(u.indent)),o("textRotation",e.toXml(u.textRotation)),o("readingOrder",n.readingOrder(u.readingOrder)),r.closeNode(),a?r.commit():r.rollback()}parseOpen(r){const u={};let a=!1;function o(d,h,f){d&&(u[h]=f,a=!0)}o(r.attributes.horizontal,"horizontal",r.attributes.horizontal),o(r.attributes.vertical,"vertical",r.attributes.vertical==="center"?"middle":r.attributes.vertical),o(r.attributes.wrapText,"wrapText",i.parseBoolean(r.attributes.wrapText)),o(r.attributes.shrinkToFit,"shrinkToFit",i.parseBoolean(r.attributes.shrinkToFit)),o(r.attributes.indent,"indent",parseInt(r.attributes.indent,10)),o(r.attributes.textRotation,"textRotation",e.toModel(r.attributes.textRotation)),o(r.attributes.readingOrder,"readingOrder",r.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=a?u:null}parseText(){}parseClose(){return!1}}},{"../../../doc/enums":7,"../../../utils/utils":27,"../base-xform":32}],127:[function(t,b,m){const c=t("../base-xform"),i=t("../../../utils/utils"),s=t("./color-xform");class n extends c{constructor(r){super(),this.name=r,this.map={color:new s}}get tag(){return this.name}render(r,u,a){const o=u&&u.color||a||this.defaultColor;r.openNode(this.name),u&&u.style&&(r.addAttribute("style",u.style),o&&this.map.color.render(r,o)),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case this.name:{const{style:u}=r.attributes;return this.model=u?{style:u}:void 0,!0}case"color":return this.parser=this.map.color,this.parser.parseOpen(r),!0;default:return!1}}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){return this.parser?(this.parser.parseClose(r)||(this.parser=void 0),!0):(r===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}validStyle(r){return n.validStyleValues[r]}}n.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce((e,r)=>(e[r]=!0,e),{}),b.exports=class extends c{constructor(){super(),this.map={top:new n("top"),left:new n("left"),bottom:new n("bottom"),right:new n("right"),diagonal:new n("diagonal")}}render(e,r){const{color:u}=r;function a(o,d){o&&!o.color&&r.color&&(o={...o,color:r.color}),d.render(e,o,u)}e.openNode("border"),r.diagonal&&r.diagonal.style&&(r.diagonal.up&&e.addAttribute("diagonalUp","1"),r.diagonal.down&&e.addAttribute("diagonalDown","1")),a(r.left,this.map.left),a(r.right,this.map.right),a(r.top,this.map.top),a(r.bottom,this.map.bottom),a(r.diagonal,this.map.diagonal),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"border":return this.reset(),this.diagonalUp=i.parseBoolean(e.attributes.diagonalUp),this.diagonalDown=i.parseBoolean(e.attributes.diagonalDown),!0;default:return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;if(e==="border"){const r=this.model={},u=function(a,o,d){o&&(d&&Object.assign(o,d),r[a]=o)};u("left",this.map.left.model),u("right",this.map.right.model),u("top",this.map.top.model),u("bottom",this.map.bottom.model),u("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}},{"../../../utils/utils":27,"../base-xform":32,"./color-xform":128}],128:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{constructor(i){super(),this.name=i||"color"}get tag(){return this.name}render(i,s){return!!s&&(i.openNode(this.name),s.argb?i.addAttribute("rgb",s.argb):s.theme!==void 0?(i.addAttribute("theme",s.theme),s.tint!==void 0&&i.addAttribute("tint",s.tint)):s.indexed!==void 0?i.addAttribute("indexed",s.indexed):i.addAttribute("auto","1"),i.closeNode(),!0)}parseOpen(i){return i.name===this.name&&(i.attributes.rgb?this.model={argb:i.attributes.rgb}:i.attributes.theme?(this.model={theme:parseInt(i.attributes.theme,10)},i.attributes.tint&&(this.model.tint=parseFloat(i.attributes.tint))):i.attributes.indexed?this.model={indexed:parseInt(i.attributes.indexed,10)}:this.model=void 0,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],129:[function(t,b,m){const c=t("../base-xform"),i=t("./alignment-xform"),s=t("./border-xform"),n=t("./fill-xform"),e=t("./font-xform"),r=t("./numfmt-xform"),u=t("./protection-xform");b.exports=class extends c{constructor(){super(),this.map={alignment:new i,border:new s,fill:new n,font:new e,numFmt:new r,protection:new u}}get tag(){return"dxf"}render(a,o){if(a.openNode(this.tag),o.font&&this.map.font.render(a,o.font),o.numFmt&&o.numFmtId){const d={id:o.numFmtId,formatCode:o.numFmt};this.map.numFmt.render(a,d)}o.fill&&this.map.fill.render(a,o.fill),o.alignment&&this.map.alignment.render(a,o.alignment),o.border&&this.map.border.render(a,o.border),o.protection&&this.map.protection.render(a,o.protection),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case this.tag:return this.reset(),!0;default:return this.parser=this.map[a.name],this.parser&&this.parser.parseOpen(a),!0}}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){return this.parser?(this.parser.parseClose(a)||(this.parser=void 0),!0):a!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}},{"../base-xform":32,"./alignment-xform":126,"./border-xform":127,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./protection-xform":133}],130:[function(t,b,m){const c=t("../base-xform"),i=t("./color-xform");class s extends c{constructor(){super(),this.map={color:new i}}get tag(){return"stop"}render(a,o){a.openNode("stop"),a.addAttribute("position",o.position),this.map.color.render(a,o.color),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case"stop":return this.model={position:parseFloat(a.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(a),!0;default:return!1}}parseText(){}parseClose(a){return!!this.parser&&(this.parser.parseClose(a)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}class n extends c{constructor(){super(),this.map={fgColor:new i("fgColor"),bgColor:new i("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render(a,o){a.openNode("patternFill"),a.addAttribute("patternType",o.pattern),o.fgColor&&this.map.fgColor.render(a,o.fgColor),o.bgColor&&this.map.bgColor.render(a,o.bgColor),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case"patternFill":return this.model={type:"pattern",pattern:a.attributes.patternType},!0;default:return this.parser=this.map[a.name],!!this.parser&&(this.parser.parseOpen(a),!0)}}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){return!!this.parser&&(this.parser.parseClose(a)||(this.parser.model&&(this.model[a]=this.parser.model),this.parser=void 0),!0)}}class e extends c{constructor(){super(),this.map={stop:new s}}get name(){return"gradient"}get tag(){return"gradientFill"}render(a,o){switch(a.openNode("gradientFill"),o.gradient){case"angle":a.addAttribute("degree",o.degree);break;case"path":a.addAttribute("type","path"),o.center.left&&(a.addAttribute("left",o.center.left),o.center.right===void 0&&a.addAttribute("right",o.center.left)),o.center.right&&a.addAttribute("right",o.center.right),o.center.top&&(a.addAttribute("top",o.center.top),o.center.bottom===void 0&&a.addAttribute("bottom",o.center.top)),o.center.bottom&&a.addAttribute("bottom",o.center.bottom)}const d=this.map.stop;o.stops.forEach(h=>{d.render(a,h)}),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case"gradientFill":{const o=this.model={stops:[]};return a.attributes.degree?(o.gradient="angle",o.degree=parseInt(a.attributes.degree,10)):a.attributes.type==="path"&&(o.gradient="path",o.center={left:a.attributes.left?parseFloat(a.attributes.left):0,top:a.attributes.top?parseFloat(a.attributes.top):0},a.attributes.right!==a.attributes.left&&(o.center.right=a.attributes.right?parseFloat(a.attributes.right):0),a.attributes.bottom!==a.attributes.top&&(o.center.bottom=a.attributes.bottom?parseFloat(a.attributes.bottom):0)),!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen(a),!0;default:return!1}}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){return!!this.parser&&(this.parser.parseClose(a)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}class r extends c{constructor(){super(),this.map={patternFill:new n,gradientFill:new e}}get tag(){return"fill"}render(a,o){switch(a.addRollback(),a.openNode("fill"),o.type){case"pattern":this.map.patternFill.render(a,o);break;case"gradient":this.map.gradientFill.render(a,o);break;default:return void a.rollback()}a.closeNode(),a.commit()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case"fill":return this.model={},!0;default:return this.parser=this.map[a.name],!!this.parser&&(this.parser.parseOpen(a),!0)}}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){return!!this.parser&&(this.parser.parseClose(a)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}validStyle(a){return r.validPatternValues[a]}}r.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce((u,a)=>(u[a]=!0,u),{}),r.StopXform=s,r.PatternFillXform=n,r.GradientFillXform=e,b.exports=r},{"../base-xform":32,"./color-xform":128}],131:[function(t,b,m){const c=t("./color-xform"),i=t("../simple/boolean-xform"),s=t("../simple/integer-xform"),n=t("../simple/string-xform"),e=t("./underline-xform"),r=t("../../../utils/under-dash"),u=t("../base-xform");class a extends u{constructor(d){super(),this.options=d||a.OPTIONS,this.map={b:{prop:"bold",xform:new i({tag:"b",attr:"val"})},i:{prop:"italic",xform:new i({tag:"i",attr:"val"})},u:{prop:"underline",xform:new e},charset:{prop:"charset",xform:new s({tag:"charset",attr:"val"})},color:{prop:"color",xform:new c},condense:{prop:"condense",xform:new i({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new i({tag:"extend",attr:"val"})},family:{prop:"family",xform:new s({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new i({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new n({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new n({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new i({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new i({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new s({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new n({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render(d,h){const{map:f}=this;d.openNode(this.options.tagName),r.each(this.map,(g,p)=>{f[p].xform.render(d,h[g.prop])}),d.closeNode()}parseOpen(d){if(this.parser)return this.parser.parseOpen(d),!0;if(this.map[d.name])return this.parser=this.map[d.name].xform,this.parser.parseOpen(d);switch(d.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText(d){this.parser&&this.parser.parseText(d)}parseClose(d){if(this.parser&&!this.parser.parseClose(d)){const h=this.map[d];return this.parser.model&&(this.model[h.prop]=this.parser.model),this.parser=void 0,!0}switch(d){case this.options.tagName:return!1;default:return!0}}}a.OPTIONS={tagName:"font",fontNameTag:"name"},b.exports=a},{"../../../utils/under-dash":26,"../base-xform":32,"../simple/boolean-xform":116,"../simple/integer-xform":118,"../simple/string-xform":119,"./color-xform":128,"./underline-xform":136}],132:[function(t,b,m){const c=t("../../../utils/under-dash"),i=t("../../defaultnumformats"),s=t("../base-xform"),n=function(){const r={};return c.each(i,(u,a)=>{u.f&&(r[u.f]=parseInt(a,10))}),r}();class e extends s{constructor(u,a){super(),this.id=u,this.formatCode=a}get tag(){return"numFmt"}render(u,a){u.leafNode("numFmt",{numFmtId:a.id,formatCode:a.formatCode})}parseOpen(u){switch(u.name){case"numFmt":return this.model={id:parseInt(u.attributes.numFmtId,10),formatCode:u.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}e.getDefaultFmtId=function(r){return n[r]},e.getDefaultFmtCode=function(r){return i[r]&&i[r].f},b.exports=e},{"../../../utils/under-dash":26,"../../defaultnumformats":30,"../base-xform":32}],133:[function(t,b,m){const c=t("../base-xform"),i={boolean:(s,n)=>s===void 0?n:s};b.exports=class extends c{get tag(){return"protection"}render(s,n){s.addRollback(),s.openNode("protection");let e=!1;function r(u,a){a!==void 0&&(s.addAttribute(u,a),e=!0)}r("locked",i.boolean(n.locked,!0)?void 0:"0"),r("hidden",i.boolean(n.hidden,!1)?"1":void 0),s.closeNode(),e?s.commit():s.rollback()}parseOpen(s){const n={locked:s.attributes.locked!=="0",hidden:s.attributes.hidden==="1"},e=!n.locked||n.hidden;this.model=e?n:null}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],134:[function(t,b,m){const c=t("../base-xform"),i=t("./alignment-xform"),s=t("./protection-xform");b.exports=class extends c{constructor(n){super(),this.xfId=!(!n||!n.xfId),this.map={alignment:new i,protection:new s}}get tag(){return"xf"}render(n,e){n.openNode("xf",{numFmtId:e.numFmtId||0,fontId:e.fontId||0,fillId:e.fillId||0,borderId:e.borderId||0}),this.xfId&&n.addAttribute("xfId",e.xfId||0),e.numFmtId&&n.addAttribute("applyNumberFormat","1"),e.fontId&&n.addAttribute("applyFont","1"),e.fillId&&n.addAttribute("applyFill","1"),e.borderId&&n.addAttribute("applyBorder","1"),e.alignment&&n.addAttribute("applyAlignment","1"),e.protection&&n.addAttribute("applyProtection","1"),e.alignment&&this.map.alignment.render(n,e.alignment),e.protection&&this.map.protection.render(n,e.protection),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case"xf":return this.model={numFmtId:parseInt(n.attributes.numFmtId,10),fontId:parseInt(n.attributes.fontId,10),fillId:parseInt(n.attributes.fillId,10),borderId:parseInt(n.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(n.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(n),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(n),!0;default:return!1}}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){return this.parser?(this.parser.parseClose(n)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):n!=="xf"}}},{"../base-xform":32,"./alignment-xform":126,"./protection-xform":133}],135:[function(t,b,m){const c=t("../../../doc/enums"),i=t("../../../utils/xml-stream"),s=t("../base-xform"),n=t("../static-xform"),e=t("../list-xform"),r=t("./font-xform"),u=t("./fill-xform"),a=t("./border-xform"),o=t("./numfmt-xform"),d=t("./style-xform"),h=t("./dxf-xform");class f extends s{constructor(p){super(),this.map={numFmts:new e({tag:"numFmts",count:!0,childXform:new o}),fonts:new e({tag:"fonts",count:!0,childXform:new r,$:{"x14ac:knownFonts":1}}),fills:new e({tag:"fills",count:!0,childXform:new u}),borders:new e({tag:"borders",count:!0,childXform:new a}),cellStyleXfs:new e({tag:"cellStyleXfs",count:!0,childXform:new d}),cellXfs:new e({tag:"cellXfs",count:!0,childXform:new d({xfId:!0})}),dxfs:new e({tag:"dxfs",always:!0,count:!0,childXform:new h}),numFmt:new o,font:new r,fill:new u,border:new a,style:new d({xfId:!0}),cellStyles:f.STATIC_XFORMS.cellStyles,tableStyles:f.STATIC_XFORMS.tableStyles,extLst:f.STATIC_XFORMS.extLst},p&&this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render(p,k){k=k||this.model,p.openXml(i.StdDocAttributes),p.openNode("styleSheet",f.STYLESHEET_ATTRIBUTES),this.index?(k.numFmts&&k.numFmts.length&&(p.openNode("numFmts",{count:k.numFmts.length}),k.numFmts.forEach(C=>{p.writeXml(C)}),p.closeNode()),k.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),p.openNode("fonts",{count:k.fonts.length,"x14ac:knownFonts":1}),k.fonts.forEach(C=>{p.writeXml(C)}),p.closeNode(),p.openNode("fills",{count:k.fills.length}),k.fills.forEach(C=>{p.writeXml(C)}),p.closeNode(),p.openNode("borders",{count:k.borders.length}),k.borders.forEach(C=>{p.writeXml(C)}),p.closeNode(),this.map.cellStyleXfs.render(p,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),p.openNode("cellXfs",{count:k.styles.length}),k.styles.forEach(C=>{p.writeXml(C)}),p.closeNode()):(this.map.numFmts.render(p,k.numFmts),this.map.fonts.render(p,k.fonts),this.map.fills.render(p,k.fills),this.map.borders.render(p,k.borders),this.map.cellStyleXfs.render(p,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(p,k.styles)),f.STATIC_XFORMS.cellStyles.render(p),this.map.dxfs.render(p,k.dxfs),f.STATIC_XFORMS.tableStyles.render(p),f.STATIC_XFORMS.extLst.render(p),p.closeNode()}parseOpen(p){if(this.parser)return this.parser.parseOpen(p),!0;switch(p.name){case"styleSheet":return this.initIndex(),!0;default:return this.parser=this.map[p.name],this.parser&&this.parser.parseOpen(p),!0}}parseText(p){this.parser&&this.parser.parseText(p)}parseClose(p){if(this.parser)return this.parser.parseClose(p)||(this.parser=void 0),!0;switch(p){case"styleSheet":{this.model={};const k=(C,T)=>{T.model&&T.model.length&&(this.model[C]=T.model)};if(k("numFmts",this.map.numFmts),k("fonts",this.map.fonts),k("fills",this.map.fills),k("borders",this.map.borders),k("styles",this.map.cellXfs),k("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){const C=this.index.numFmt;this.model.numFmts.forEach(T=>{C[T.id]=T.formatCode})}return!1}default:return!0}}addStyleModel(p,k){if(!p)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(p))return this.weakMap.get(p);const C={};if(k=k||c.ValueType.Number,p.numFmt)C.numFmtId=this._addNumFmtStr(p.numFmt);else switch(k){case c.ValueType.Number:C.numFmtId=this._addNumFmtStr("General");break;case c.ValueType.Date:C.numFmtId=this._addNumFmtStr("mm-dd-yy")}p.font&&(C.fontId=this._addFont(p.font)),p.border&&(C.borderId=this._addBorder(p.border)),p.fill&&(C.fillId=this._addFill(p.fill)),p.alignment&&(C.alignment=p.alignment),p.protection&&(C.protection=p.protection);const T=this._addStyle(C);return this.weakMap&&this.weakMap.set(p,T),T}getStyleModel(p){const k=this.model.styles[p];if(!k)return null;let C=this.index.model[p];if(C)return C;if(C=this.index.model[p]={},k.numFmtId){const D=this.index.numFmt[k.numFmtId]||o.getDefaultFmtCode(k.numFmtId);D&&(C.numFmt=D)}function T(D,V,P){if(P||P===0){const N=V[P];N&&(C[D]=N)}}return T("font",this.model.fonts,k.fontId),T("border",this.model.borders,k.borderId),T("fill",this.model.fills,k.fillId),k.alignment&&(C.alignment=k.alignment),k.protection&&(C.protection=k.protection),C}addDxfStyle(p){return p.numFmt&&(p.numFmtId=this._addNumFmtStr(p.numFmt)),this.model.dxfs.push(p),this.model.dxfs.length-1}getDxfStyle(p){return this.model.dxfs[p]}_addStyle(p){const k=this.map.style.toXml(p);let C=this.index.style[k];return C===void 0&&(C=this.index.style[k]=this.model.styles.length,this.model.styles.push(k)),C}_addNumFmtStr(p){let k=o.getDefaultFmtId(p);if(k!==void 0||(k=this.index.numFmt[p],k!==void 0))return k;k=this.index.numFmt[p]=164+this.model.numFmts.length;const C=this.map.numFmt.toXml({id:k,formatCode:p});return this.model.numFmts.push(C),k}_addFont(p){const k=this.map.font.toXml(p);let C=this.index.font[k];return C===void 0&&(C=this.index.font[k]=this.model.fonts.length,this.model.fonts.push(k)),C}_addBorder(p){const k=this.map.border.toXml(p);let C=this.index.border[k];return C===void 0&&(C=this.index.border[k]=this.model.borders.length,this.model.borders.push(k)),C}_addFill(p){const k=this.map.fill.toXml(p);let C=this.index.fill[k];return C===void 0&&(C=this.index.fill[k]=this.model.fills.length,this.model.fills.push(k)),C}}f.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},f.STATIC_XFORMS={cellStyles:new n({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new n({tag:"dxfs",$:{count:0}}),tableStyles:new n({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new n({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})},f.Mock=class extends f{constructor(){super(),this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream(g){return g.autodrain(),Promise.resolve()}addStyleModel(g,p){switch(p){case c.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){const g={numFmtId:o.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(g)}return this._dateStyleId}getStyleModel(){return{}}},b.exports=f},{"../../../doc/enums":7,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./border-xform":127,"./dxf-xform":129,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./style-xform":134}],136:[function(t,b,m){const c=t("../base-xform");class i extends c{constructor(n){super(),this.model=n}get tag(){return"u"}render(n,e){if((e=e||this.model)===!0)n.leafNode("u");else{const r=i.Attributes[e];r&&n.leafNode("u",r)}}parseOpen(n){n.name==="u"&&(this.model=n.attributes.val||!0)}parseText(){}parseClose(){return!1}}i.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},b.exports=i},{"../base-xform":32}],137:[function(t,b,m){const c=t("../base-xform"),i=t("./filter-column-xform");b.exports=class extends c{constructor(){super(),this.map={filterColumn:new i}}get tag(){return"autoFilter"}prepare(s){s.columns.forEach((n,e)=>{this.map.filterColumn.prepare(n,{index:e})})}render(s,n){return s.openNode(this.tag,{ref:n.autoFilterRef}),n.columns.forEach(e=>{this.map.filterColumn.render(s,e)}),s.closeNode(),!0}parseOpen(s){if(this.parser)return this.parser.parseOpen(s),!0;switch(s.name){case this.tag:return this.model={autoFilterRef:s.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[s.name],this.parser)return this.parseOpen(s),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(s))}}parseText(s){this.parser&&this.parser.parseText(s)}parseClose(s){if(this.parser)return this.parser.parseClose(s)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;switch(s){case this.tag:return!1;default:throw new Error("Unexpected xml node in parseClose: "+s)}}}},{"../base-xform":32,"./filter-column-xform":139}],138:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"customFilter"}render(i,s){i.leafNode(this.tag,{val:s.val,operator:s.operator})}parseOpen(i){return i.name===this.tag&&(this.model={val:i.attributes.val,operator:i.attributes.operator},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],139:[function(t,b,m){const c=t("../base-xform"),i=t("../list-xform"),s=t("./custom-filter-xform"),n=t("./filter-xform");b.exports=class extends c{constructor(){super(),this.map={customFilters:new i({tag:"customFilters",count:!1,empty:!0,childXform:new s}),filters:new i({tag:"filters",count:!1,empty:!0,childXform:new n})}}get tag(){return"filterColumn"}prepare(e,r){e.colId=r.index.toString()}render(e,r){return r.customFilters?(e.openNode(this.tag,{colId:r.colId,hiddenButton:r.filterButton?"0":"1"}),this.map.customFilters.render(e,r.customFilters),e.closeNode(),!0):(e.leafNode(this.tag,{colId:r.colId,hiddenButton:r.filterButton?"0":"1"}),!0)}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;const{attributes:r}=e;switch(e.name){case this.tag:return this.model={filterButton:r.hiddenButton==="0"},!0;default:if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}},{"../base-xform":32,"../list-xform":71,"./custom-filter-xform":138,"./filter-xform":140}],140:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"filter"}render(i,s){i.leafNode(this.tag,{val:s.val})}parseOpen(i){return i.name===this.tag&&(this.model={val:i.attributes.val},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],141:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"tableColumn"}prepare(i,s){i.id=s.index+1}render(i,s){return i.leafNode(this.tag,{id:s.id.toString(),name:s.name,totalsRowLabel:s.totalsRowLabel,totalsRowFunction:s.totalsRowFunction,dxfId:s.dxfId}),!0}parseOpen(i){if(i.name===this.tag){const{attributes:s}=i;return this.model={name:s.name,totalsRowLabel:s.totalsRowLabel,totalsRowFunction:s.totalsRowFunction,dxfId:s.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],142:[function(t,b,m){const c=t("../base-xform");b.exports=class extends c{get tag(){return"tableStyleInfo"}render(i,s){return i.leafNode(this.tag,{name:s.theme?s.theme:void 0,showFirstColumn:s.showFirstColumn?"1":"0",showLastColumn:s.showLastColumn?"1":"0",showRowStripes:s.showRowStripes?"1":"0",showColumnStripes:s.showColumnStripes?"1":"0"}),!0}parseOpen(i){if(i.name===this.tag){const{attributes:s}=i;return this.model={theme:s.name?s.name:null,showFirstColumn:s.showFirstColumn==="1",showLastColumn:s.showLastColumn==="1",showRowStripes:s.showRowStripes==="1",showColumnStripes:s.showColumnStripes==="1"},!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],143:[function(t,b,m){const c=t("../../../utils/xml-stream"),i=t("../base-xform"),s=t("../list-xform"),n=t("./auto-filter-xform"),e=t("./table-column-xform"),r=t("./table-style-info-xform");class u extends i{constructor(){super(),this.map={autoFilter:new n,tableColumns:new s({tag:"tableColumns",count:!0,empty:!0,childXform:new e}),tableStyleInfo:new r}}prepare(o,d){this.map.autoFilter.prepare(o),this.map.tableColumns.prepare(o.columns,d)}get tag(){return"table"}render(o,d){o.openXml(c.StdDocAttributes),o.openNode(this.tag,{...u.TABLE_ATTRIBUTES,id:d.id,name:d.name,displayName:d.displayName||d.name,ref:d.tableRef,totalsRowCount:d.totalsRow?"1":void 0,totalsRowShown:d.totalsRow?void 0:"1",headerRowCount:d.headerRow?"1":"0"}),this.map.autoFilter.render(o,d),this.map.tableColumns.render(o,d.columns),this.map.tableStyleInfo.render(o,d.style),o.closeNode()}parseOpen(o){if(this.parser)return this.parser.parseOpen(o),!0;const{name:d,attributes:h}=o;switch(d){case this.tag:this.reset(),this.model={name:h.name,displayName:h.displayName||h.name,tableRef:h.ref,totalsRow:h.totalsRowCount==="1",headerRow:h.headerRowCount==="1"};break;default:this.parser=this.map[o.name],this.parser&&this.parser.parseOpen(o)}return!0}parseText(o){this.parser&&this.parser.parseText(o)}parseClose(o){if(this.parser)return this.parser.parseClose(o)||(this.parser=void 0),!0;switch(o){case this.tag:return this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((d,h)=>{this.model.columns[h].filterButton=d.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile(o,d){o.columns.forEach(h=>{h.dxfId!==void 0&&(h.style=d.styles.getDxfStyle(h.dxfId))})}}u.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},b.exports=u},{"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":137,"./table-column-xform":141,"./table-style-info-xform":142}],144:[function(t,b,m){(function(c,i){(function(){const s=t("fs"),n=t("jszip"),{PassThrough:e}=t("readable-stream"),r=t("../utils/zip-stream"),u=t("../utils/stream-buf"),a=t("../utils/utils"),o=t("../utils/xml-stream"),{bufferToString:d}=t("../utils/browser-buffer-decode"),h=t("./xform/style/styles-xform"),f=t("./xform/core/core-xform"),g=t("./xform/strings/shared-strings-xform"),p=t("./xform/core/relationships-xform"),k=t("./xform/core/content-types-xform"),C=t("./xform/core/app-xform"),T=t("./xform/book/workbook-xform"),D=t("./xform/sheet/worksheet-xform"),V=t("./xform/drawing/drawing-xform"),P=t("./xform/table/table-xform"),N=t("./xform/comment/comments-xform"),q=t("./xform/comment/vml-notes-xform"),W=t("./xml/theme1");class L{constructor(M){this.workbook=M}async readFile(M,_){if(!await a.fs.exists(M))throw new Error("File not found: "+M);const v=s.createReadStream(M);try{const x=await this.read(v,_);return v.close(),x}catch(x){throw v.close(),x}}parseRels(M){return new p().parseStream(M)}parseWorkbook(M){return new T().parseStream(M)}parseSharedStrings(M){return new g().parseStream(M)}reconcile(M,_){const v=new T,x=new D(_),w=new V,S=new P;v.reconcile(M);const E={media:M.media,mediaIndex:M.mediaIndex};Object.keys(M.drawings).forEach(z=>{const U=M.drawings[z],Q=M.drawingRels[z];Q&&(E.rels=Q.reduce((j,Y)=>(j[Y.Id]=Y,j),{}),(U.anchors||[]).forEach(j=>{const Y=j.picture&&j.picture.hyperlinks;Y&&E.rels[Y.rId]&&(Y.hyperlink=E.rels[Y.rId].Target,delete Y.rId)}),w.reconcile(U,E))});const O={styles:M.styles};Object.values(M.tables).forEach(z=>{S.reconcile(z,O)});const R={styles:M.styles,sharedStrings:M.sharedStrings,media:M.media,mediaIndex:M.mediaIndex,date1904:M.properties&&M.properties.date1904,drawings:M.drawings,comments:M.comments,tables:M.tables,vmlDrawings:M.vmlDrawings};M.worksheets.forEach(z=>{z.relationships=M.worksheetRels[z.sheetNo],x.reconcile(z,R)}),delete M.worksheetHash,delete M.worksheetRels,delete M.globalRels,delete M.sharedStrings,delete M.workbookRels,delete M.sheetDefs,delete M.styles,delete M.mediaIndex,delete M.drawings,delete M.drawingRels,delete M.vmlDrawings}async _processWorksheetEntry(M,_,v,x,w){const S=new D(x),E=await S.parseStream(M);E.sheetNo=v,_.worksheetHash[w]=E,_.worksheets.push(E)}async _processCommentEntry(M,_,v){const x=new N,w=await x.parseStream(M);_.comments[`../${v}.xml`]=w}async _processTableEntry(M,_,v){const x=new P,w=await x.parseStream(M);_.tables[`../tables/${v}.xml`]=w}async _processWorksheetRelsEntry(M,_,v){const x=new p,w=await x.parseStream(M);_.worksheetRels[v]=w}async _processMediaEntry(M,_,v){const x=v.lastIndexOf(".");if(x>=1){const w=v.substr(x+1),S=v.substr(0,x);await new Promise((E,O)=>{const R=new u;R.on("finish",()=>{_.mediaIndex[v]=_.media.length,_.mediaIndex[S]=_.media.length;const z={type:"image",name:S,extension:w,buffer:R.toBuffer()};_.media.push(z),E()}),M.on("error",z=>{O(z)}),M.pipe(R)})}}async _processDrawingEntry(M,_,v){const x=new V,w=await x.parseStream(M);_.drawings[v]=w}async _processDrawingRelsEntry(M,_,v){const x=new p,w=await x.parseStream(M);_.drawingRels[v]=w}async _processVmlDrawingEntry(M,_,v){const x=new q,w=await x.parseStream(M);_.vmlDrawings[`../drawings/${v}.vml`]=w}async _processThemeEntry(M,_,v){await new Promise((x,w)=>{const S=new u;M.on("error",w),S.on("error",w),S.on("finish",()=>{_.themes[v]=S.read().toString(),x()}),M.pipe(S)})}createInputStream(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read(M,_){!M[Symbol.asyncIterator]&&M.pipe&&(M=M.pipe(new e));const v=[];for await(const x of M)v.push(x);return this.load(i.concat(v),_)}async load(M,_){let v;v=_&&_.base64?i.from(M.toString(),"base64"):M;const x={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},w=await n.loadAsync(v);for(const S of Object.values(w.files))if(!S.dir){let E,O=S.name;if(O[0]==="/"&&(O=O.substr(1)),O.match(/xl\/media\//)||O.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))E=new e,E.write(await S.async("nodebuffer"));else{let R;E=new e({writableObjectMode:!0,readableObjectMode:!0}),R=c.browser?d(await S.async("nodebuffer")):await S.async("string");const z=16384;for(let U=0;U<R.length;U+=z)E.write(R.substring(U,U+z))}switch(E.end(),O){case"_rels/.rels":x.globalRels=await this.parseRels(E);break;case"xl/workbook.xml":{const R=await this.parseWorkbook(E);x.sheets=R.sheets,x.definedNames=R.definedNames,x.views=R.views,x.properties=R.properties,x.calcProperties=R.calcProperties;break}case"xl/_rels/workbook.xml.rels":x.workbookRels=await this.parseRels(E);break;case"xl/sharedStrings.xml":x.sharedStrings=new g,await x.sharedStrings.parseStream(E);break;case"xl/styles.xml":x.styles=new h,await x.styles.parseStream(E);break;case"docProps/app.xml":{const R=new C,z=await R.parseStream(E);x.company=z.company,x.manager=z.manager;break}case"docProps/core.xml":{const R=new f,z=await R.parseStream(E);Object.assign(x,z);break}default:{let R=O.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(R){await this._processWorksheetEntry(E,x,R[1],_,O);break}if(R=O.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),R){await this._processWorksheetRelsEntry(E,x,R[1]);break}if(R=O.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),R){await this._processThemeEntry(E,x,R[1]);break}if(R=O.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),R){await this._processMediaEntry(E,x,R[1]);break}if(R=O.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),R){await this._processDrawingEntry(E,x,R[1]);break}if(R=O.match(/xl\/(comments\d+)[.]xml/),R){await this._processCommentEntry(E,x,R[1]);break}if(R=O.match(/xl\/tables\/(table\d+)[.]xml/),R){await this._processTableEntry(E,x,R[1]);break}if(R=O.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),R){await this._processDrawingRelsEntry(E,x,R[1]);break}if(R=O.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),R){await this._processVmlDrawingEntry(E,x,R[1]);break}}}}return this.reconcile(x,_),this.workbook.model=x,this.workbook}async addMedia(M,_){await Promise.all(_.media.map(async v=>{if(v.type==="image"){const x=`xl/media/${v.name}.${v.extension}`;if(v.filename){const w=await function(S,E){return new Promise((O,R)=>{s.readFile(S,E,(z,U)=>{z?R(z):O(U)})})}(v.filename);return M.append(w,{name:x})}if(v.buffer)return M.append(v.buffer,{name:x});if(v.base64){const w=v.base64,S=w.substring(w.indexOf(",")+1);return M.append(S,{name:x,base64:!0})}}throw new Error("Unsupported media")}))}addDrawings(M,_){const v=new V,x=new p;_.worksheets.forEach(w=>{const{drawing:S}=w;if(S){v.prepare(S,{});let E=v.toXml(S);M.append(E,{name:`xl/drawings/${S.name}.xml`}),E=x.toXml(S.rels),M.append(E,{name:`xl/drawings/_rels/${S.name}.xml.rels`})}})}addTables(M,_){const v=new P;_.worksheets.forEach(x=>{const{tables:w}=x;w.forEach(S=>{v.prepare(S,{});const E=v.toXml(S);M.append(E,{name:"xl/tables/"+S.target})})})}async addContentTypes(M,_){const v=new k().toXml(_);M.append(v,{name:"[Content_Types].xml"})}async addApp(M,_){const v=new C().toXml(_);M.append(v,{name:"docProps/app.xml"})}async addCore(M,_){const v=new f;M.append(v.toXml(_),{name:"docProps/core.xml"})}async addThemes(M,_){const v=_.themes||{theme1:W};Object.keys(v).forEach(x=>{const w=v[x],S=`xl/theme/${x}.xml`;M.append(w,{name:S})})}async addOfficeRels(M){const _=new p().toXml([{Id:"rId1",Type:L.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:L.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:L.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);M.append(_,{name:"_rels/.rels"})}async addWorkbookRels(M,_){let v=1;const x=[{Id:"rId"+v++,Type:L.RelType.Styles,Target:"styles.xml"},{Id:"rId"+v++,Type:L.RelType.Theme,Target:"theme/theme1.xml"}];_.sharedStrings.count&&x.push({Id:"rId"+v++,Type:L.RelType.SharedStrings,Target:"sharedStrings.xml"}),_.worksheets.forEach(S=>{S.rId="rId"+v++,x.push({Id:S.rId,Type:L.RelType.Worksheet,Target:`worksheets/sheet${S.id}.xml`})});const w=new p().toXml(x);M.append(w,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings(M,_){_.sharedStrings&&_.sharedStrings.count&&M.append(_.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles(M,_){const{xml:v}=_.styles;v&&M.append(v,{name:"xl/styles.xml"})}async addWorkbook(M,_){const v=new T;M.append(v.toXml(_),{name:"xl/workbook.xml"})}async addWorksheets(M,_){const v=new D,x=new p,w=new N,S=new q;_.worksheets.forEach(E=>{let O=new o;v.render(O,E),M.append(O.xml,{name:`xl/worksheets/sheet${E.id}.xml`}),E.rels&&E.rels.length&&(O=new o,x.render(O,E.rels),M.append(O.xml,{name:`xl/worksheets/_rels/sheet${E.id}.xml.rels`})),E.comments.length>0&&(O=new o,w.render(O,E),M.append(O.xml,{name:`xl/comments${E.id}.xml`}),O=new o,S.render(O,E),M.append(O.xml,{name:`xl/drawings/vmlDrawing${E.id}.vml`}))})}_finalize(M){return new Promise((_,v)=>{M.on("finish",()=>{_(this)}),M.on("error",v),M.finalize()})}prepareModel(M,_){M.creator=M.creator||"ExcelJS",M.lastModifiedBy=M.lastModifiedBy||"ExcelJS",M.created=M.created||new Date,M.modified=M.modified||new Date,M.useSharedStrings=_.useSharedStrings===void 0||_.useSharedStrings,M.useStyles=_.useStyles===void 0||_.useStyles,M.sharedStrings=new g,M.styles=M.useStyles?new h(!0):new h.Mock;const v=new T,x=new D;v.prepare(M);const w={sharedStrings:M.sharedStrings,styles:M.styles,date1904:M.properties.date1904,drawingsCount:0,media:M.media};w.drawings=M.drawings=[],w.commentRefs=M.commentRefs=[];let S=0;M.tables=[],M.worksheets.forEach(E=>{E.tables.forEach(O=>{S++,O.target=`table${S}.xml`,O.id=S,M.tables.push(O)}),x.prepare(E,w)})}async write(M,_){_=_||{};const{model:v}=this.workbook,x=new r.ZipWriter(_.zip);return x.pipe(M),this.prepareModel(v,_),await this.addContentTypes(x,v),await this.addOfficeRels(x,v),await this.addWorkbookRels(x,v),await this.addWorksheets(x,v),await this.addSharedStrings(x,v),await this.addDrawings(x,v),await this.addTables(x,v),await Promise.all([this.addThemes(x,v),this.addStyles(x,v)]),await this.addMedia(x,v),await Promise.all([this.addApp(x,v),this.addCore(x,v)]),await this.addWorkbook(x,v),this._finalize(x)}writeFile(M,_){const v=s.createWriteStream(M);return new Promise((x,w)=>{v.on("finish",()=>{x()}),v.on("error",S=>{w(S)}),this.write(v,_).then(()=>{v.end()}).catch(S=>{w(S)})})}async writeBuffer(M){const _=new u;return await this.write(_,M),_.read()}}L.RelType=t("./rel-type"),b.exports=L}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{"../utils/browser-buffer-decode":16,"../utils/stream-buf":24,"../utils/utils":27,"../utils/xml-stream":28,"../utils/zip-stream":29,"./rel-type":31,"./xform/book/workbook-xform":38,"./xform/comment/comments-xform":40,"./xform/comment/vml-notes-xform":45,"./xform/core/app-xform":51,"./xform/core/content-types-xform":52,"./xform/core/core-xform":53,"./xform/core/relationships-xform":55,"./xform/drawing/drawing-xform":62,"./xform/sheet/worksheet-xform":115,"./xform/strings/shared-strings-xform":124,"./xform/style/styles-xform":135,"./xform/table/table-xform":143,"./xml/theme1":145,_process:467,buffer:220,fs:216,jszip:441,"readable-stream":491}],145:[function(t,b,m){b.exports=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
3
3
|
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>`},{}],146:[function(t,b,m){(function(c){(function(){Object.defineProperty(m,"__esModule",{value:!0}),m.CsvFormatterStream=void 0;const i=t("stream"),s=t("./formatter");class n extends i.Transform{constructor(r){super({writableObjectMode:r.objectMode}),this.hasWrittenBOM=!1,this.formatterOptions=r,this.rowFormatter=new s.RowFormatter(r),this.hasWrittenBOM=!r.writeBOM}transform(r){return this.rowFormatter.rowTransform=r,this}_transform(r,u,a){let o=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(r,(d,h)=>d?(o=!0,a(d)):(h&&h.forEach(f=>{this.push(c.from(f,"utf8"))}),o=!0,a()))}catch(d){if(o)throw d;a(d)}}_flush(r){this.rowFormatter.finish((u,a)=>u?r(u):(a&&a.forEach(o=>{this.push(c.from(o,"utf8"))}),r()))}}m.CsvFormatterStream=n}).call(this)}).call(this,t("buffer").Buffer)},{"./formatter":150,buffer:220,stream:505}],147:[function(t,b,m){Object.defineProperty(m,"__esModule",{value:!0}),m.FormatterOptions=void 0,m.FormatterOptions=class{constructor(){let c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var i;this.objectMode=!0,this.delimiter=",",this.rowDelimiter=`
|
|
4
4
|
`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,c||{}),c?.quoteHeaders===void 0&&(this.quoteHeaders=this.quoteColumns),c?.quote===!0?this.quote='"':c?.quote===!1&&(this.quote=""),typeof c?.escape!="string"&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&((i=c.writeHeaders)===null||i===void 0||i),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(t,b,m){var c=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(m,"__esModule",{value:!0}),m.FieldFormatter=void 0;const i=c(t("lodash.isboolean")),s=c(t("lodash.isnil")),n=c(t("lodash.escaperegexp"));m.FieldFormatter=class{constructor(e){this._headers=null,this.formatterOptions=e,e.headers!==null&&(this.headers=e.headers),this.REPLACE_REGEXP=new RegExp(e.quote,"g");const r=`[${e.delimiter}${n.default(e.rowDelimiter)}|\r|
|
|
@@ -54,5 +54,5 @@ use chrome, FireFox or Internet Explorer 11`)}var n=t("safe-buffer"),e=t("random
|
|
|
54
54
|
* @author Louis-Dominique Dubeau
|
|
55
55
|
* @license MIT
|
|
56
56
|
* @copyright Louis-Dominique Dubeau
|
|
57
|
-
*/function c(i){return i>=65&&i<=90||i===95||i>=97&&i<=122||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8204&&i<=8205||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}Object.defineProperty(m,"__esModule",{value:!0}),m.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",m.NC_NAME_CHAR="-"+m.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",m.NC_NAME_START_CHAR_RE=new RegExp("^["+m.NC_NAME_START_CHAR+"]$","u"),m.NC_NAME_CHAR_RE=new RegExp("^["+m.NC_NAME_CHAR+"]$","u"),m.NC_NAME_RE=new RegExp("^["+m.NC_NAME_START_CHAR+"]["+m.NC_NAME_CHAR+"]*$","u"),m.isNCNameStartChar=c,m.isNCNameChar=function(i){return c(i)||i===45||i===46||i>=48&&i<=57||i===183||i>=768&&i<=879||i>=8255&&i<=8256}},{}]},{},[15])(15)})}(ui)),ui.exports}var Hc=Wc();const Yc=Uc(Hc),ms=l=>{if(l==null||typeof l!="object")return l;if(l instanceof Date)return as.formatDate(l,"DD-MM-YYYY HH:mm");if(Array.isArray(l))return l.map(t=>ms(t)).join(", ");const B=["name","title","label","value","id","code"];for(const t of B)if(l[t]!==void 0&&l[t]!==null)return l[t];try{return JSON.stringify(l)}catch{return"[Complex Object]"}},Qc=async l=>{const{data:B,columns:t,fileNamePrefix:b,filters:m={}}=l,c=new Yc.Workbook,i=c.addWorksheet("Données");if(i.columns=t.map(d=>({header:d.label,key:d.label,width:d.width||20})),B.forEach(d=>{const h={};t.forEach(f=>{let g;typeof f.field=="function"?g=f.field(d):g=d[f.field],g=f.format?f.format(g,d):ms(g),h[f.label]=g}),i.addRow(h)}),Object.keys(m).length>0){const d=c.addWorksheet("Filtres");d.addRow(["Filtres appliqués:"]),Object.entries(m).filter(([h,f])=>f!=null&&f!=="").forEach(([h,f])=>{d.addRow([h,String(f)])})}const s=as.formatDate(new Date,"DD-MM-YYYY"),n=Object.entries(m).filter(([d,h])=>h!=null&&h!=="").map(([d,h])=>`${d}_${h}`),e=`${b}_${s}${n.length?`_${n.join("_")}`:""}.xlsx`,r=await c.xlsx.writeBuffer(),u=new Blob([r],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),a=URL.createObjectURL(u),o=document.createElement("a");o.href=a,o.download=e,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(a)},Kc=y.defineComponent({__name:"ExportButton",props:{data:{},columns:{},fileNamePrefix:{},filters:{default:()=>({})},color:{default:"positive"},label:{default:"Exporter en Excel"},disabled:{type:Boolean,default:!1},beforeExport:{},onSuccess:{},onError:{}},emits:["success","error"],setup(l,{emit:B}){const t=l,b=B,m=y.useAttrs(),c=y.ref(!1),i=y.computed(()=>{const{label:n,disabled:e,...r}=m;return r}),s=async()=>{if(!c.value){c.value=!0;try{await t.beforeExport?.(),await Qc(t),t.onSuccess?.(),b("success")}catch(n){t.onError?.(n),b("error",n)}finally{c.value=!1}}};return(n,e)=>(y.openBlock(),y.createBlock(ut,y.mergeProps({color:n.color,icon:"file_download",label:n.label,loading:c.value,disable:n.disabled||c.value},i.value,{"data-cy":"export-excel-button",onClick:s}),null,16,["color","label","loading","disable"]))}}),zr=$e({name:"QTooltip",inheritAttrs:!1,props:{...Ma,...Vi,...Wr,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...Wr.transitionShow,default:"jump-down"},transitionHide:{...Wr.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:Rn},self:{type:String,default:"top middle",validator:Rn},offset:{type:Array,default:()=>[14,14],validator:Na},scrollTarget:Ln,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...qi],setup(l,{slots:B,emit:t,attrs:b}){let m,c;const i=y.getCurrentInstance(),{proxy:{$q:s}}=i,n=y.ref(null),e=y.ref(!1),r=y.computed(()=>Bn(l.anchor,s.lang.rtl)),u=y.computed(()=>Bn(l.self,s.lang.rtl)),a=y.computed(()=>l.persistent!==!0),{registerTick:o,removeTick:d}=Hi(),{registerTimeout:h}=Yi(),{transitionProps:f,transitionStyle:g}=Wi(l),{localScrollTarget:p,changeScrollEvent:k,unconfigureScrollTarget:C}=Ra(l,E),{anchorEl:T,canShow:D,anchorEvents:V}=Li({showing:e,configureAnchorEl:S}),{show:P,hide:N}=zi({showing:e,canShow:D,handleShow:A,handleHide:M,hideOnRouteChange:a,processOnMount:!0});Object.assign(V,{delayShow:x,delayHide:w});const{showPortal:q,hidePortal:W,renderPortal:L}=Ui(i,n,R,"tooltip");if(s.platform.is.mobile===!0){const z={anchorEl:T,innerRef:n,onClickOutside(Q){return N(Q),Q.target.classList.contains("q-dialog__backdrop")&&St(Q),!0}},U=y.computed(()=>l.modelValue===null&&l.persistent!==!0&&e.value===!0);y.watch(U,Q=>{(Q===!0?Pa:Tn)(z)}),y.onBeforeUnmount(()=>{Tn(z)})}function A(z){q(),o(()=>{c=new MutationObserver(()=>v()),c.observe(n.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),v(),E()}),m===void 0&&(m=y.watch(()=>s.screen.width+"|"+s.screen.height+"|"+l.self+"|"+l.anchor+"|"+s.lang.rtl,v)),h(()=>{q(!0),t("show",z)},l.transitionDuration)}function M(z){d(),W(),_(),h(()=>{W(!0),t("hide",z)},l.transitionDuration)}function _(){c!==void 0&&(c.disconnect(),c=void 0),m!==void 0&&(m(),m=void 0),C(),fr(V,"tooltipTemp")}function v(){Qi({targetEl:n.value,offset:l.offset,anchorEl:T.value,anchorOrigin:r.value,selfOrigin:u.value,maxHeight:l.maxHeight,maxWidth:l.maxWidth})}function x(z){if(s.platform.is.mobile===!0){Cn(),document.body.classList.add("non-selectable");const U=T.value,Q=["touchmove","touchcancel","touchend","click"].map(j=>[U,j,"delayHide","passiveCapture"]);Xt(V,"tooltipTemp",Q)}h(()=>{P(z)},l.delay)}function w(z){s.platform.is.mobile===!0&&(fr(V,"tooltipTemp"),Cn(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),h(()=>{N(z)},l.hideDelay)}function S(){if(l.noParentEvent===!0||T.value===null)return;const z=s.platform.is.mobile===!0?[[T.value,"touchstart","delayShow","passive"]]:[[T.value,"mouseenter","delayShow","passive"],[T.value,"mouseleave","delayHide","passive"]];Xt(V,"anchor",z)}function E(){if(T.value!==null||l.scrollTarget!==void 0){p.value=Vn(T.value,l.scrollTarget);const z=l.noParentEvent===!0?v:N;k(p.value,z)}}function O(){return e.value===!0?y.h("div",{...b,ref:n,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",b.class],style:[b.style,g.value],role:"tooltip"},bt(B.default)):null}function R(){return y.h(y.Transition,f.value,O)}return y.onBeforeUnmount(_),Object.assign(i.proxy,{updatePosition:v}),L}}),Xc=y.defineComponent({name:"ExportPerimeterButton",__name:"ExportPerimeterButton",props:{label:{default:"Exporter"},disabled:{type:Boolean,default:!1},disabledTooltip:{default:void 0},exportFn:{},onSuccess:{type:Function,default:void 0},onError:{type:Function,default:void 0}},setup(l){const B=l,t=y.ref(!1);async function b(){t.value=!0;try{const{blob:m,fileName:c}=await B.exportFn(),i=URL.createObjectURL(m),s=document.createElement("a");s.href=i,s.download=c,document.body.appendChild(s),s.click(),s.remove(),setTimeout(()=>URL.revokeObjectURL(i),100),B.onSuccess?.()}catch(m){B.onError?.(m)}finally{t.value=!1}}return(m,c)=>(y.openBlock(),y.createBlock(ut,{unelevated:"",color:"positive",label:m.label,loading:t.value,disable:m.disabled||t.value,"data-cy":"export-perimeter-button",onClick:b},{default:y.withCtx(()=>[m.disabled&&m.disabledTooltip?(y.openBlock(),y.createBlock(zr,{key:0},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(m.disabledTooltip),1)]),_:1})):y.createCommentVNode("",!0)]),_:1},8,["label","loading","disable"]))}}),Gc=$e({name:"QForm",props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean,onSubmit:Function},emits:["reset","validationSuccess","validationError"],setup(l,{slots:B,emit:t}){const b=y.getCurrentInstance(),m=y.ref(null);let c=0;const i=[];function s(o){const d=typeof o=="boolean"?o:l.noErrorFocus!==!0,h=++c,f=(k,C)=>{t(`validation${k===!0?"Success":"Error"}`,C)},g=k=>{const C=k.validate();return typeof C.then=="function"?C.then(T=>({valid:T,comp:k}),T=>({valid:!1,comp:k,err:T})):Promise.resolve({valid:C,comp:k})};return(l.greedy===!0?Promise.all(i.map(g)).then(k=>k.filter(C=>C.valid!==!0)):i.reduce((k,C)=>k.then(()=>g(C).then(T=>{if(T.valid===!1)return Promise.reject(T)})),Promise.resolve()).catch(k=>[k])).then(k=>{if(k===void 0||k.length===0)return h===c&&f(!0),!0;if(h===c){const{comp:C,err:T}=k[0];if(T!==void 0&&console.error(T),f(!1,C),d===!0){const D=k.find(({comp:V})=>typeof V.focus=="function"&&Ri(V.$)===!1);D!==void 0&&D.comp.focus()}}return!1})}function n(){c++,i.forEach(o=>{typeof o.resetValidation=="function"&&o.resetValidation()})}function e(o){o!==void 0&&St(o);const d=c+1;s().then(h=>{d===c&&h===!0&&(l.onSubmit!==void 0?t("submit",o):o?.target!==void 0&&typeof o.target.submit=="function"&&o.target.submit())})}function r(o){o!==void 0&&St(o),t("reset"),y.nextTick(()=>{n(),l.autofocus===!0&&l.noResetFocus!==!0&&u()})}function u(){Jr(()=>{if(m.value===null)return;(m.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||m.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||m.value.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(m.value.querySelectorAll("[tabindex]"),d=>d.tabIndex!==-1))?.focus({preventScroll:!0})})}y.provide(Va,{bindComponent(o){i.push(o)},unbindComponent(o){const d=i.indexOf(o);d!==-1&&i.splice(d,1)}});let a=!1;return y.onDeactivated(()=>{a=!0}),y.onActivated(()=>{a===!0&&l.autofocus===!0&&u()}),y.onMounted(()=>{l.autofocus===!0&&u()}),Object.assign(b.proxy,{validate:s,resetValidation:n,submit:e,reset:r,focus:u,getValidationComponents:()=>i}),()=>y.h("form",{class:"q-form",ref:m,onSubmit:e,onReset:r},bt(B.default))}}),gs=$e({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(l,{slots:B}){const{proxy:{$q:t}}=y.getCurrentInstance(),b=y.inject($r,Rt);if(b===Rt)return console.error("QPage needs to be a deep child of QLayout"),Rt;if(y.inject(La,Rt)===Rt)return console.error("QPage needs to be child of QPageContainer"),Rt;const c=y.computed(()=>{const s=(b.header.space===!0?b.header.size:0)+(b.footer.space===!0?b.footer.size:0);if(typeof l.styleFn=="function"){const n=b.isContainer.value===!0?b.containerHeight.value:t.screen.height;return l.styleFn(s,n)}return{minHeight:b.isContainer.value===!0?b.containerHeight.value-s+"px":t.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":t.screen.height-s+"px"}}),i=y.computed(()=>`q-page${l.padding===!0?" q-layout-padding":""}`);return()=>y.h("main",{class:i.value,style:c.value},bt(B.default))}}),Jc="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20$$$/GeneralStr/196=Adobe%20Illustrator%2027.6.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Calque_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20283.46%20106.16'%20style='enable-background:new%200%200%20283.46%20106.16;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23312783;}%20.st1{clip-path:url(%23SVGID_00000045611852752240487530000015327764237627392946_);}%20.st2{fill:%232A4D8E;}%20.st3{fill:%23187396;}%20.st4{fill:%230D9695;}%20.st5{fill:%23E52322;}%20%3c/style%3e%3cg%3e%3cg%3e%3cpath%20class='st0'%20d='M119.92,85.75v-8.18h2.31c0.71,0,1.34,0.16,1.89,0.47c0.55,0.31,0.97,0.76,1.27,1.34%20c0.3,0.58,0.45,1.25,0.45,2v0.52c0,0.77-0.15,1.45-0.45,2.03c-0.3,0.58-0.72,1.03-1.27,1.34c-0.55,0.31-1.2,0.47-1.93,0.48H119.92%20z%20M121,78.46v6.41h1.13c0.83,0,1.48-0.26,1.94-0.78c0.46-0.52,0.69-1.25,0.69-2.21v-0.48c0-0.93-0.22-1.65-0.65-2.17%20c-0.44-0.51-1.06-0.78-1.86-0.78H121z'/%3e%3cpath%20class='st0'%20d='M132.66,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3cpath%20class='st0'%20d='M139.65,84.87h3.87v0.88h-4.96v-8.18h1.08V84.87z'/%3e%3cpath%20class='st0'%20d='M143.36,79.88l-0.59-0.4c0.35-0.49,0.53-1,0.54-1.54v-0.81h1.03v0.73c0,0.37-0.1,0.75-0.28,1.12%20C143.88,79.35,143.64,79.65,143.36,79.88z'/%3e%3cpath%20class='st0'%20d='M150.94,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z%20M149.36,75.33h1.26%20l-1.51,1.65l-0.84,0L149.36,75.33z'/%3e%3cpath%20class='st0'%20d='M159.71,85.75h-1.08l-4.12-6.3v6.3h-1.08v-8.18h1.08l4.13,6.33v-6.33h1.07V85.75z'/%3e%3cpath%20class='st0'%20d='M166.82,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3cpath%20class='st0'%20d='M172.31,82.45h-1.92v3.31h-1.08v-8.18h2.71c0.92,0,1.63,0.21,2.12,0.63c0.5,0.42,0.74,1.03,0.74,1.83%20c0,0.51-0.14,0.95-0.41,1.33c-0.28,0.38-0.66,0.66-1.15,0.85l1.92,3.47v0.07h-1.16L172.31,82.45z%20M170.39,81.56h1.66%20c0.53,0,0.96-0.14,1.28-0.42c0.32-0.28,0.47-0.65,0.47-1.11c0-0.51-0.15-0.89-0.45-1.16c-0.3-0.27-0.74-0.41-1.31-0.41h-1.65%20V81.56z'/%3e%3cpath%20class='st0'%20d='M183.01,84.68c-0.28,0.4-0.66,0.69-1.16,0.89c-0.5,0.2-1.07,0.29-1.73,0.29c-0.67,0-1.26-0.16-1.77-0.47%20c-0.52-0.31-0.92-0.76-1.2-1.33c-0.28-0.58-0.43-1.24-0.44-2v-0.71c0-1.23,0.29-2.19,0.86-2.86c0.57-0.68,1.38-1.02,2.42-1.02%20c0.85,0,1.54,0.22,2.06,0.65c0.52,0.44,0.84,1.05,0.95,1.86h-1.08c-0.2-1.09-0.85-1.63-1.93-1.63c-0.72,0-1.27,0.25-1.64,0.76%20c-0.37,0.51-0.56,1.24-0.56,2.21v0.67c0,0.92,0.21,1.65,0.63,2.19c0.42,0.54,0.99,0.81,1.7,0.81c0.4,0,0.76-0.05,1.06-0.13%20c0.3-0.09,0.55-0.24,0.75-0.45v-1.83h-1.89v-0.88h2.96V84.68z'/%3e%3cpath%20class='st0'%20d='M186.53,85.75h-1.08v-8.18h1.08V85.75z'/%3e%3cpath%20class='st0'%20d='M193.7,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3cpath%20class='st0'%20d='M204.13,83.61h-3.43l-0.77,2.14h-1.11l3.12-8.18h0.94l3.13,8.18h-1.11L204.13,83.61z%20M203.03,77.05l-0.89,0%20l-1.45-1.65h1.25L203.03,77.05z%20M201.03,82.73h2.78l-1.39-3.82L201.03,82.73z'/%3e%3cpath%20class='st0'%20d='M214.11,82.45h-1.92v3.31h-1.08v-8.18h2.71c0.92,0,1.63,0.21,2.12,0.63c0.5,0.42,0.74,1.03,0.74,1.83%20c0,0.51-0.14,0.95-0.41,1.33c-0.28,0.38-0.66,0.66-1.15,0.85l1.92,3.47v0.07h-1.16L214.11,82.45z%20M212.19,81.56h1.66%20c0.53,0,0.96-0.14,1.28-0.42c0.32-0.28,0.47-0.65,0.47-1.11c0-0.51-0.15-0.89-0.45-1.16c-0.3-0.27-0.74-0.41-1.31-0.41h-1.65%20V81.56z'/%3e%3cpath%20class='st0'%20d='M223.39,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3cpath%20class='st0'%20d='M228.58,84.32l2.34-6.74h1.18l-3.03,8.18h-0.96l-3.03-8.18h1.17L228.58,84.32z'/%3e%3cpath%20class='st0'%20d='M238.39,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3cpath%20class='st0'%20d='M247.16,85.75h-1.08l-4.12-6.3v6.3h-1.08v-8.18h1.08l4.13,6.33v-6.33h1.07V85.75z'/%3e%3cpath%20class='st0'%20d='M249.65,85.75v-8.18h2.31c0.71,0,1.34,0.16,1.89,0.47c0.55,0.31,0.97,0.76,1.27,1.34%20c0.3,0.58,0.45,1.25,0.45,2v0.52c0,0.77-0.15,1.45-0.45,2.03c-0.3,0.58-0.72,1.03-1.27,1.34c-0.55,0.31-1.2,0.47-1.93,0.48H249.65%20z%20M250.73,78.46v6.41h1.13c0.83,0,1.48-0.26,1.94-0.78c0.46-0.52,0.69-1.25,0.69-2.21v-0.48c0-0.93-0.22-1.65-0.65-2.17%20c-0.44-0.51-1.06-0.78-1.86-0.78H250.73z'/%3e%3cpath%20class='st0'%20d='M260.77,82.45h-1.92v3.31h-1.08v-8.18h2.71c0.92,0,1.63,0.21,2.12,0.63c0.5,0.42,0.74,1.03,0.74,1.83%20c0,0.51-0.14,0.95-0.41,1.33c-0.28,0.38-0.66,0.66-1.15,0.85l1.92,3.47v0.07h-1.16L260.77,82.45z%20M258.85,81.56h1.66%20c0.53,0,0.96-0.14,1.28-0.42c0.32-0.28,0.47-0.65,0.47-1.11c0-0.51-0.15-0.89-0.45-1.16c-0.3-0.27-0.74-0.41-1.31-0.41h-1.65%20V81.56z'/%3e%3cpath%20class='st0'%20d='M270.05,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3c/g%3e%3cg%3e%3cdefs%3e%3cpath%20id='SVGID_1_'%20d='M104.63,63.18c0,13.08-10.63,23.72-23.72,23.72H41.16c-2.83,0-5.13-2.3-5.13-5.13%20c0-2.83,2.3-5.12,5.13-5.12h39.75c7.42,0,13.46-6.04,13.46-13.47c0-7.41-6.04-13.46-13.46-13.46H41.16%20c-2.83,0-5.13-2.3-5.13-5.13c0-2.83,2.3-5.13,5.13-5.13h39.75C94,39.46,104.63,50.1,104.63,63.18z%20M78.03,68.31%20c2.84,0,5.14-2.29,5.14-5.13c0-2.83-2.3-5.13-5.14-5.13H38.28c-7.42,0-13.46-6.03-13.46-13.46c0-7.42,6.04-13.46,13.46-13.46%20h39.75c2.84,0,5.14-2.29,5.14-5.13c0-2.83-2.3-5.13-5.14-5.13H38.28c-13.07,0-23.71,10.64-23.71,23.72%20c0,13.09,10.64,23.73,23.71,23.73H78.03z'/%3e%3c/defs%3e%3cclipPath%20id='SVGID_00000070801902322448613270000014543336054545289661_'%3e%3cuse%20xlink:href='%23SVGID_1_'%20style='overflow:visible;'/%3e%3c/clipPath%3e%3cg%20style='clip-path:url(%23SVGID_00000070801902322448613270000014543336054545289661_);'%3e%3cpath%20class='st0'%20d='M-14.51,110.37c3.65,2.03,7.46,3.79,11.42,5.27h59.07c16.05-5.99,29.79-16.72,39.52-30.48%20s15.44-30.57,15.44-48.71c0-16.35-4.65-31.61-12.68-44.54H41.88h-56.38v59.23V110.37z'/%3e%3cpath%20class='st2'%20d='M-10.33-4.56c0.95-0.95,44.55-1.54,46-1.54c1.45,0,45.05,0.59,46,1.54c6.98,10.65,11.05,23.41,11.05,37.12%20c0,15.07-4.89,29-13.16,40.28C71.33,84.09,59.72,92.71,46.25,97.2c-1.19,0-46.59-0.4-47.47-1.06c-3.16-1.25-6.2-2.74-9.11-4.43%20c-0.95-0.95-1.54-46.69-1.54-48.14C-11.87,42.12-11.28-3.61-10.33-4.56z'/%3e%3cpath%20class='st3'%20d='M-6.16-1.04c1.9-1.9,32.72-3.08,35.62-3.08c2.9,0,33.72,1.18,35.62,3.08c5.92,8.37,9.42,18.62,9.42,29.7%20c0,12.01-4.06,23.06-10.87,31.85c-6.76,8.74-16.23,15.25-27.12,18.25c-2.38,0-34.11-0.79-35.87-2.13%20c-2.36-1.03-4.64-2.23-6.8-3.58c-1.9-1.9-3.08-34.14-3.08-37.05C-9.23,33.1-8.06,0.86-6.16-1.04z'/%3e%3cpath%20class='st4'%20d='M-1.98,2.48c2.85-2.85,20.89-4.62,25.24-4.62c4.35,0,22.39,1.76,25.24,4.62c4.86,6.09,7.79,13.84,7.79,22.28%20c0,8.94-3.24,17.12-8.58,23.43c-5.28,6.23-12.61,10.64-20.92,12.13c-3.57,0-21.63-1.19-24.27-3.19%20c-1.57-0.81-3.07-1.73-4.49-2.74c-2.85-2.85-4.62-21.6-4.62-25.95C-6.6,24.08-4.83,5.34-1.98,2.48z'/%3e%3cpath%20class='st5'%20d='M38.07,20.87c0,11.61-9.41,21.01-21.02,21.01c-5.8,0-11.06-2.35-14.86-6.16s-6.16-9.06-6.16-14.86%20c0-5.8,2.35-11.06,6.16-14.86s9.06-6.16,14.86-6.16c5.8,0,11.06,2.35,14.86,6.16C35.72,9.81,38.07,15.06,38.07,20.87z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cpath%20class='st0'%20d='M128.02,70.64c-3.84,0-6.61-0.89-9.05-3.37l2.58-2.55c1.87,1.87,3.91,2.44,6.53,2.44%20c3.34,0,5.28-1.43,5.28-3.91c0-1.11-0.32-2.04-1.01-2.66c-0.65-0.61-1.29-0.86-2.8-1.08l-3.02-0.43%20c-2.08-0.29-3.74-1.01-4.85-2.04c-1.26-1.19-1.87-2.8-1.87-4.88c0-4.45,3.23-7.5,8.54-7.5c3.38,0,5.74,0.86,7.94,2.91L133.84,50%20c-1.58-1.51-3.41-1.97-5.56-1.97c-3.02,0-4.67,1.72-4.67,3.98c0,0.93,0.29,1.76,0.97,2.37c0.65,0.58,1.69,1,2.88,1.18l2.9,0.43%20c2.37,0.35,3.7,0.93,4.77,1.9c1.4,1.22,2.09,3.05,2.09,5.24C137.22,67.84,133.37,70.64,128.02,70.64z'/%3e%3cpath%20class='st0'%20d='M142.43,62.39c0,3.12,1.65,5.1,4.63,5.1c2.05,0,3.12-0.58,4.42-1.87l2.33,2.19%20c-1.86,1.87-3.63,2.84-6.82,2.84c-4.56,0-8.18-2.4-8.18-9.33c0-5.89,3.05-9.3,7.71-9.3c4.88,0,7.72,3.59,7.72,8.76v1.62H142.43z%20M150.12,57.36c-0.58-1.36-1.87-2.3-3.59-2.3c-1.72,0-3.05,0.94-3.63,2.3c-0.36,0.83-0.43,1.37-0.46,2.48h8.18%20C150.58,58.72,150.47,58.18,150.12,57.36z'/%3e%3cpath%20class='st0'%20d='M161.8,70.43c-3.48,0-4.99-2.33-4.99-5.03V44.86h3.66v20.32c0,1.4,0.5,2.12,1.97,2.12h1.62v3.13H161.8z'/%3e%3cpath%20class='st0'%20d='M170.27,55.35v15.08h-3.67V49.75c0-2.62,1.58-5.06,5-5.06h2.3v3.13h-1.62c-1.36,0-2.01,0.79-2.01,2.12v2.62%20h3.63v2.8H170.27z'/%3e%3cpath%20class='st0'%20d='M177.98,62.39c0,3.12,1.65,5.1,4.63,5.1c2.05,0,3.13-0.58,4.42-1.87l2.33,2.19%20c-1.87,1.87-3.62,2.84-6.82,2.84c-4.56,0-8.19-2.4-8.19-9.33c0-5.89,3.05-9.3,7.72-9.3c4.88,0,7.72,3.59,7.72,8.76v1.62H177.98z%20M185.66,57.36c-0.57-1.36-1.86-2.3-3.59-2.3c-1.73,0-3.05,0.94-3.63,2.3c-0.36,0.83-0.43,1.37-0.46,2.48h8.19%20C186.13,58.72,186.02,58.18,185.66,57.36z'/%3e%3cpath%20class='st0'%20d='M195.54,62.39c0,3.12,1.65,5.1,4.63,5.1c2.05,0,3.13-0.58,4.42-1.87l2.33,2.19%20c-1.86,1.87-3.62,2.84-6.82,2.84c-4.56,0-8.19-2.4-8.19-9.33c0-5.89,3.05-9.3,7.72-9.3c4.88,0,7.72,3.59,7.72,8.76v1.62H195.54z%20M203.22,57.36c-0.58-1.36-1.87-2.3-3.59-2.3c-1.72,0-3.05,0.94-3.62,2.3c-0.35,0.83-0.43,1.37-0.46,2.48h8.18%20C203.69,58.72,203.58,58.18,203.22,57.36z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",bs=(l,B="#0d9695")=>{const b=[];for(let m=0;m<30;m++)b.push({size:Math.random()*3+2,x:Math.random()*100,y:Math.random()*100,delay:Math.random()*5,duration:Math.random()*10+5,color:B,opacity:Math.random()*.5+.3});l.value=b},Zc=l=>{const t=[];for(let m=0;m<12;m++){const c=m/12*Math.PI*2;t.push({size:Math.random()*8+4,x:50+Math.cos(c)*120,y:50+Math.sin(c)*120,delay:Math.random()*2,duration:Math.random()*3+2,opacity:Math.random()*.5+.3})}l.value=t},vs=l=>({width:`${l.size}px`,height:`${l.size}px`,left:`${l.x}%`,top:`${l.y}%`,animation:`float ${l.duration}s infinite ${l.delay}s linear`,background:l.color,opacity:l.opacity,"--random-x":Math.random()*2-1,"--random-y":Math.random()*.5-.25}),$c={class:"particles"},ef={class:"container"},tf={class:"login-section"},rf={key:0,class:"custom-title"},nf={class:"form-group"},of={class:"form-group"},af=y.defineComponent({__name:"LoginLayout",props:{customTitle:{}},emits:["login"],setup(l,{emit:B}){const t=l,b=B,m=y.ref(!1),c=y.ref([]),i=y.ref({username:"",password:""}),s=async()=>{m.value=!0,b("login",{...i.value}),m.value=!1};return y.onMounted(()=>{bs(c)}),(n,e)=>(y.openBlock(),y.createBlock(y.unref(Zi),null,{default:y.withCtx(()=>[y.createVNode(gs,{class:"login-page"},{default:y.withCtx(()=>[y.createElementVNode("div",$c,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(c.value,(r,u)=>(y.openBlock(),y.createElementBlock("div",{key:u,class:"particle",style:y.normalizeStyle(y.unref(vs)(r))},null,4))),128))]),y.createElementVNode("div",ef,[e[3]||(e[3]=y.createElementVNode("div",{class:"brand-section"},[y.createElementVNode("div",{class:"logo-container"},[y.createElementVNode("img",{src:Jc,alt:"Selfee Logo",class:"logo-image"}),y.createElementVNode("div",{class:"ring ring-1"}),y.createElementVNode("div",{class:"ring ring-2"}),y.createElementVNode("div",{class:"ring ring-3"})]),y.createElementVNode("div",{class:"tagline"},"DE L'ÉNERGIE À REVENDRE"),y.createElementVNode("div",{class:"energy-wave"}),y.createElementVNode("div",{class:"energy-wave-2"}),y.createElementVNode("div",{class:"energy-pulse"})],-1)),y.createElementVNode("div",tf,[n.customTitle?(y.openBlock(),y.createElementBlock("div",rf,y.toDisplayString(t.customTitle),1)):y.createCommentVNode("",!0),e[2]||(e[2]=y.createElementVNode("div",{class:"login-header"},[y.createElementVNode("h2",null,"Connexion"),y.createElementVNode("p",null,"Accédez à votre espace personnel")],-1)),y.createVNode(Gc,{class:"login-form",onSubmit:y.withModifiers(s,["prevent"])},{default:y.withCtx(()=>[y.createElementVNode("div",nf,[y.createVNode(Xr,{modelValue:i.value.username,"onUpdate:modelValue":e[0]||(e[0]=r=>i.value.username=r),label:"Identifiant",outlined:"",dark:"",rules:[r=>!!r||"Identifiant requis"],"data-cy":"username"},{prepend:y.withCtx(()=>[y.createVNode(gt,{name:"person",color:"energy-green"})]),_:1},8,["modelValue","rules"])]),y.createElementVNode("div",of,[y.createVNode(Xr,{modelValue:i.value.password,"onUpdate:modelValue":e[1]||(e[1]=r=>i.value.password=r),type:"password",label:"Mot de passe",outlined:"",dark:"",rules:[r=>!!r||"Mot de passe requis"],"data-cy":"password"},{prepend:y.withCtx(()=>[y.createVNode(gt,{name:"lock",color:"energy-green"})]),_:1},8,["modelValue","rules"])]),y.createVNode(ut,{type:"submit",label:"Se connecter",class:"login-button full-width",color:"energy-green","text-color":"'white'",loading:m.value,"data-cy":"login-button"},null,8,["loading"])]),_:1})])])]),_:1})]),_:1}))}}),Ir=$e({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(l,{slots:B}){const t=y.computed(()=>`q-card__section q-card__section--${l.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>y.h(l.tag,{class:t.value},bt(B.default))}}),ys=[{id:"fourniture",title:"Fourniture",description:"Gestion des contrats de consommation",icon:"bolt"},{id:"agregation",title:"Agregation",description:"Gestion des contrats de production",icon:"hub"}],ws={title:"Nos Projets",subtitle:"Sélectionnez un projet pour continuer",titleColor:"#FFFFFF",subtitleColor:"rgba(255, 255, 255, 0.7)",iconColor:"#FFFFFF",projectTitleColor:"#FFFFFF",projectDescriptionColor:"rgba(255, 255, 255, 0.7)",hoverEffectColor:"#0d9695",particleColor:"#0d9695"},sf={class:"particles"},lf={class:"container"},uf={class:"projects-section"},cf={class:"projects-header"},ff={class:"projects-grid"},df=y.defineComponent({__name:"SelectProjectLayout",props:y.mergeDefaults({title:{},subtitle:{},projects:{},titleColor:{},subtitleColor:{},iconColor:{},projectTitleColor:{},projectDescriptionColor:{},cardBackground:{},cardBorderColor:{},hoverEffectColor:{},particleColor:{},disabledIds:{}},{...ws,projects:()=>ys,disabledIds:()=>[]}),emits:["project-click"],setup(l,{emit:B}){const t=l,b=B,m=y.ref([]),c=y.ref([]),i=n=>{b("project-click",n)},s=n=>t.disabledIds?.includes(n.id)??!1;return y.onMounted(()=>{bs(m,t.particleColor),Zc(c)}),(n,e)=>(y.openBlock(),y.createBlock(y.unref(Zi),null,{default:y.withCtx(()=>[y.createVNode(gs,{class:"projects-page"},{default:y.withCtx(()=>[y.createElementVNode("div",sf,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(m.value,(r,u)=>(y.openBlock(),y.createElementBlock("div",{key:u,class:"particle",style:y.normalizeStyle(y.unref(vs)(r))},null,4))),128))]),y.createElementVNode("div",lf,[y.createElementVNode("div",uf,[y.createElementVNode("div",cf,[y.createElementVNode("h2",{style:y.normalizeStyle({color:n.titleColor})},y.toDisplayString(n.title),5),y.createElementVNode("p",{style:y.normalizeStyle({color:n.subtitleColor})},y.toDisplayString(n.subtitle),5)]),y.createElementVNode("div",ff,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(n.projects,(r,u)=>(y.openBlock(),y.createBlock(Gr,{key:u,class:y.normalizeClass(["project-card",{"q-card--disabled":s(r)}]),style:y.normalizeStyle({background:n.cardBackground,"border-color":n.cardBorderColor}),disable:s(r),"data-cy":`project-card-${r.id}`,onClick:a=>!s(r)&&i(r)},{default:y.withCtx(()=>[y.createVNode(Ir,{class:"card-content"},{default:y.withCtx(()=>[y.createElementVNode("div",{class:"project-icon",style:y.normalizeStyle({color:n.iconColor})},[y.createVNode(gt,{name:r.icon,size:"xl"},null,8,["name"])],4),y.createElementVNode("h3",{style:y.normalizeStyle({color:n.projectTitleColor})},y.toDisplayString(r.title),5),y.createElementVNode("p",{style:y.normalizeStyle({color:n.projectDescriptionColor})},y.toDisplayString(r.description),5)]),_:2},1024),y.createElementVNode("div",{class:"card-hover-effect",style:y.normalizeStyle({background:`radial-gradient(circle, ${n.hoverEffectColor} 0%, transparent 70%)`})},null,4)]),_:2},1032,["style","class","disable","data-cy","onClick"]))),128))])])])]),_:1})]),_:1}))}}),hf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAHBCAYAAABKReAoAAAAAXNSR0IArs4c6QAAIABJREFUeF7sfQmYZUV59ltV55y7dff0LMzODDOswrApgmDABbdojEsUE40oxj8uUUJQjIkLoiREjRvGJQJRNJqIC0ZxxQ1EAdkGBAHZd5i1t7ucpar+56s6p++dZkZmepm+t+c7zzNcuvuec+q8VafqrW95PwE+GAFGgBFgBBgBRoAR6HIERJe3j5vHCDACjAAjwAgwAowAmLDwIGAEGAFGgBFgBBiBrkeACUvXdxE3kBFgBBgBRoARYASYsPAYYAQYAUaAEWAEGIGuR4AJS9d3ETeQEWAEGAFGgBFgBJiw8BhgBBgBRoARYAQYga5HgAlL13cRN5ARYAQYAUaAEWAEmLDwGGAEGAFGgBFgBBiBrkeACUvXdxE3kBFgBBgBRoARYASYsPAYYAQYAUaAEWAEGIGuR4AJS9d3ETeQEWAEGAFGgBFgBJiw8BhgBBgBRoARYAQYga5HgAlL13cRN5ARYAQYAUaAEWAEmLDwGGAEGAFGgBFgBBiBrkeACUvXdxE3kBFgBBgBRoARYASYsPAYYAQYAUaAEWAEGIGuR4AJS9d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JiKBkoIEAKEACFACBQXASIsxbU9zZwQIAQIAUKAEMgNAkRYcmMqGighQAgQAoQAIVBcBIiwFNf2NHNCgBAgBAgBQiA3CBBhyY2paKCEACFACBAChEBxESDCUlzb08wJAUKAECAECIHcIECEJTemooESAoQAIUAIEALFRYAIS3FtTzMnBAgBQoAQIARygwARltyYigZKCBAChAAhQAgUFwEiLMW1Pc2cECAECAFCgBDIDQJEWHJjKhooIUAIEAKEACFQXASIsBTX9jRzQoAQIAQIAUIgNwgQYcmNqWighAAhQAgQAoRAcRH4f9K4tao20lmVAAAAAElFTkSuQmCC",pf=["src"],mf={key:0,class:"loader-text"},gf=y.defineComponent({__name:"SelfeeLoader",props:{size:{default:"medium"},variant:{default:"pulse"},text:{default:""},logoUrl:{default:""},speed:{default:1.5}},setup(l){const B=l,t=y.computed(()=>({"--animation-speed":`${B.speed}s`}));return(b,m)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["selfee-loader",[b.size,b.variant]]),style:y.normalizeStyle(t.value)},[y.createElementVNode("img",{src:b.logoUrl||y.unref(hf),class:"loader-logo",alt:"Loading..."},null,8,pf),b.text?(y.openBlock(),y.createElementBlock("div",mf,y.toDisplayString(b.text),1)):y.createCommentVNode("",!0)],6))}}),bf=y.defineComponent({__name:"ResetFiltersButton",props:{mainFilter:{},filterRefs:{},label:{}},emits:["reset"],setup(l){const B=l,t=y.computed(()=>{if(B.mainFilter.value){const b=B.mainFilter.value;if(Object.values(b).some(c=>c!==""&&c!==null&&c!==void 0&&c!==!1))return!0}return B.filterRefs?Object.values(B.filterRefs).some(b=>b.value!==""&&b.value!==null&&b.value!==void 0):!1});return(b,m)=>(y.openBlock(),y.createBlock(ut,{label:b.label||"Réinitialiser les filtres",icon:"restart_alt",color:"grey-7",outline:"","rounded-sm":"",class:"q-ml-md","data-cy":"reset-filters-button",disable:!t.value,onClick:m[0]||(m[0]=c=>b.$emit("reset"))},null,8,["label","disable"]))}}),io=$e({name:"QCardActions",props:{...Ii,vertical:Boolean},setup(l,{slots:B}){const t=Oi(l),b=y.computed(()=>`q-card__actions ${t.value} q-card__actions--${l.vertical===!0?"vert column":"horiz row"}`);return()=>y.h("div",{class:b.value},bt(B.default))}}),vf={class:"icon-container"},yf={class:"dialog-title q-mt-md"},wf={class:"text-body1 text-grey-8"},xf=y.defineComponent({__name:"ConfirmDeleteDialog",props:{modelValue:{type:Boolean},title:{},message:{},icon:{default:"warning"},color:{default:"negative"},confirmLabel:{default:"Supprimer"},cancelLabel:{default:"Annuler"}},emits:["update:modelValue","confirm","cancel"],setup(l,{emit:B}){const t=B,b=i=>{t("update:modelValue",i)},m=()=>{t("confirm"),t("update:modelValue",!1)},c=()=>{t("cancel"),t("update:modelValue",!1)};return(i,s)=>(y.openBlock(),y.createBlock(zn,{"model-value":i.modelValue,"onUpdate:modelValue":b,persistent:"",class:"confirm-delete-dialog"},{default:y.withCtx(()=>[y.createVNode(Gr,{class:"confirm-delete-card","data-cy":"confirm-delete-card"},{default:y.withCtx(()=>[y.createVNode(Ir,{class:"dialog-header text-center"},{default:y.withCtx(()=>[y.createElementVNode("div",vf,[y.createVNode(gt,{name:i.icon,color:i.color,size:"lg",class:"dialog-icon"},null,8,["name","color"])]),y.createElementVNode("h2",yf,y.toDisplayString(i.title),1)]),_:1}),y.createVNode(Ir,{class:"dialog-message text-center"},{default:y.withCtx(()=>[y.createElementVNode("p",wf,y.toDisplayString(i.message),1)]),_:1}),y.createVNode(io,{class:"dialog-actions justify-between"},{default:y.withCtx(()=>[y.createVNode(ut,{label:i.cancelLabel,color:"grey-6",flat:"","no-caps":"",class:"action-btn cancel-btn",padding:"8px 20px",onClick:c,"data-cy":"cancel-delete-button"},null,8,["label"]),y.createVNode(ut,{label:i.confirmLabel,color:i.color,"no-caps":"",class:"action-btn confirm-btn",padding:"8px 24px",onClick:m,"data-cy":"confirm-delete-button"},null,8,["label","color"])]),_:1})]),_:1})]),_:1},8,["model-value"]))}}),Sf=Ht(xf,[["__scopeId","data-v-6caf8343"]]);function kf(l="sticky-filters-target"){const B=y.ref(!1),t=()=>{document.getElementById(l)&&(B.value=!0)};return y.onMounted(()=>{t()}),{isTargetMounted:B,checkTarget:t}}const _f={class:"q-pa-md"},Cf={key:1},Af=y.defineComponent({__name:"DynamicTeleport",props:{useDiv:{type:Boolean,default:!1},to:{default:"#sticky-filters-target"}},setup(l){const t=l.to.replace("#",""),{isTargetMounted:b}=kf(t);return(m,c)=>!m.useDiv&&y.unref(b)?(y.openBlock(),y.createBlock(y.Teleport,{key:0,to:m.to},[y.createElementVNode("div",_f,[y.renderSlot(m.$slots,"default")])],8,["to"])):m.useDiv?(y.openBlock(),y.createElementBlock("div",Cf,[y.renderSlot(m.$slots,"default")])):y.createCommentVNode("",!0)}}),Ef=y.defineComponent({__name:"SelfeeCard",props:{title:{default:""},subtitle:{default:""},showHeader:{type:Boolean,default:!0},colorScheme:{default:"primary"},shadowIntensity:{default:"medium"},noPadding:{type:Boolean,default:!1},dense:{type:Boolean,default:!1},rounded:{type:Boolean,default:!0},hoverable:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},flat:{type:Boolean,default:!1},centerTitle:{type:Boolean,default:!1},centerActions:{type:Boolean,default:!1},contentGap:{type:[Boolean,String],default:!0}},setup(l){return(B,t)=>(y.openBlock(),y.createBlock(Gr,{class:y.normalizeClass(["selfee-card",`selfee-card--${B.colorScheme}`,`selfee-card--${B.shadowIntensity}`,{"selfee-card--bordered":B.bordered},{"selfee-card--rounded":B.rounded},{"selfee-card--hoverable":B.hoverable}]),flat:B.flat,bordered:B.bordered,square:!B.rounded},{default:y.withCtx(()=>[B.showHeader||B.$slots.header?(y.openBlock(),y.createBlock(Ir,{key:0,class:y.normalizeClass(["selfee-card__header",`selfee-card__header--${B.colorScheme}`,{"selfee-card__header--dense":B.dense}])},{default:y.withCtx(()=>[y.renderSlot(B.$slots,"header",{},()=>[B.title?(y.openBlock(),y.createElementBlock("div",{key:0,class:y.normalizeClass(["selfee-card__title",{"text-center":B.centerTitle}])},y.toDisplayString(B.title),3)):y.createCommentVNode("",!0),B.subtitle?(y.openBlock(),y.createElementBlock("div",{key:1,class:y.normalizeClass(["selfee-card__subtitle q-mt-xs",{"text-center":B.centerTitle}])},y.toDisplayString(B.subtitle),3)):y.createCommentVNode("",!0)],!0)]),_:3},8,["class"])):y.createCommentVNode("",!0),y.createVNode(Ir,{class:y.normalizeClass(["selfee-card__content",{"selfee-card__content--no-padding":B.noPadding},{"selfee-card__content--dense":B.dense},{"selfee-card__content--with-gap":B.contentGap}])},{default:y.withCtx(()=>[y.renderSlot(B.$slots,"default",{},void 0,!0)]),_:3},8,["class"]),B.$slots.actions?(y.openBlock(),y.createElementBlock(y.Fragment,{key:1},[y.createVNode(Hr),y.createVNode(io,{class:y.normalizeClass(["selfee-card__actions",{"selfee-card__actions--dense":B.dense},{"selfee-card__actions--center":B.centerActions}]),align:B.centerActions?"center":"right"},{default:y.withCtx(()=>[y.renderSlot(B.$slots,"actions",{},void 0,!0)]),_:3},8,["class","align"])],64)):y.createCommentVNode("",!0)]),_:3},8,["class","flat","bordered","square"]))}}),Mf=Ht(Ef,[["__scopeId","data-v-513adcd0"]]),Tf=["top","middle","bottom"],Ci=$e({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:l=>Tf.includes(l)}},setup(l,{slots:B}){const t=y.computed(()=>l.align!==void 0?{verticalAlign:l.align}:null),b=y.computed(()=>{const m=l.outline===!0&&l.color||l.textColor;return`q-badge flex inline items-center no-wrap q-badge--${l.multiLine===!0?"multi":"single"}-line`+(l.outline===!0?" q-badge--outline":l.color!==void 0?` bg-${l.color}`:"")+(m!==void 0?` text-${m}`:"")+(l.floating===!0?" q-badge--floating":"")+(l.rounded===!0?" q-badge--rounded":"")+(l.transparent===!0?" q-badge--transparent":"")});return()=>y.h("div",{class:b.value,style:t.value,role:"status","aria-label":l.label},It(B.default,l.label!==void 0?[l.label]:[]))}}),Rf=$e({name:"QToolbarTitle",props:{shrink:Boolean},setup(l,{slots:B}){const t=y.computed(()=>"q-toolbar__title ellipsis"+(l.shrink===!0?" col-shrink":""));return()=>y.h("div",{class:t.value},bt(B.default))}});function Bf(){return y.inject(Ul)}const If={class:"filters-controls"},Of={class:"visible-filters"},Ff={key:0,class:"extra-content"},jf={class:"sidebar-filters q-gutter-y-md"},Df=y.defineComponent({__name:"SmartFilters",props:{containerClass:{default:""},rowClass:{default:""},activeHiddenCount:{default:0},hasActiveFilters:{type:Boolean,default:!1}},emits:["reset"],setup(l,{emit:B}){const t=l,b=B,m=Bf(),c=y.ref(!1),i=y.computed(()=>m.screen.lt.md),s=y.computed(()=>!0),n=y.computed(()=>i.value?"":t.activeHiddenCount>0?`Filtres (${t.activeHiddenCount})`:"Filtres"),e=y.computed(()=>i.value?{width:"100%",height:"80vh"}:{width:"400px",maxWidth:"90vw"});function r(){b("reset")}return(u,a)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["smart-filters",u.containerClass])},[y.createElementVNode("div",{class:y.normalizeClass(["main-row",u.rowClass])},[y.createElementVNode("div",If,[s.value?(y.openBlock(),y.createBlock(ut,{key:0,unelevated:"",color:"primary",icon:"filter_list",label:n.value,onClick:a[0]||(a[0]=o=>c.value=!0),class:"more-filters-btn",size:"sm","data-cy":"hidden-filters-button"},{default:y.withCtx(()=>[u.activeHiddenCount>0?(y.openBlock(),y.createBlock(Ci,{key:0,color:"red",floating:"",rounded:"",class:"badge"},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(u.activeHiddenCount),1)]),_:1})):y.createCommentVNode("",!0)]),_:1},8,["label"])):y.createCommentVNode("",!0)]),y.createElementVNode("div",Of,[y.renderSlot(u.$slots,"visible",{},void 0,!0)]),u.$slots.extra?(y.openBlock(),y.createElementBlock("div",Ff,[y.renderSlot(u.$slots,"extra",{},void 0,!0)])):y.createCommentVNode("",!0)],2),y.createVNode(zn,{modelValue:c.value,"onUpdate:modelValue":a[1]||(a[1]=o=>c.value=o),position:i.value?"bottom":"right",maximized:i.value},{default:y.withCtx(()=>[y.createVNode(Gr,{class:"filters-sidebar",style:y.normalizeStyle(e.value),"data-cy":"filters-sidebar"},{default:y.withCtx(()=>[y.createVNode(Xa,{class:"sidebar-header bg-primary text-white"},{default:y.withCtx(()=>[y.createVNode(Rf,null,{default:y.withCtx(()=>[y.createVNode(gt,{name:"filter_list",class:"q-mr-sm"}),a[2]||(a[2]=y.createTextVNode(" Filtres "))]),_:1,__:[2]}),y.withDirectives(y.createVNode(ut,{flat:"",round:"",dense:"",icon:"close","aria-label":"Fermer","data-cy":"close-button"},null,512),[[Ga]])]),_:1}),y.createVNode(Ir,{class:"sidebar-body scroll"},{default:y.withCtx(()=>[y.createElementVNode("div",jf,[y.renderSlot(u.$slots,"hidden",{},void 0,!0)])]),_:3}),y.createVNode(io,{class:"sidebar-footer q-px-md q-pb-md"},{default:y.withCtx(()=>[y.createVNode(ut,{flat:"",color:"grey-7",icon:"close",label:"Effacer tous les filtres",onClick:r,size:"sm",class:"full-width",disable:!u.hasActiveFilters,"data-cy":"reset-all-filters-button"},null,8,["disable"])]),_:1})]),_:3},8,["style"])]),_:3},8,["modelValue","position","maximized"])],2))}}),Pf=Ht(Df,[["__scopeId","data-v-eccf053f"]]),Nf=y.defineComponent({__name:"PersistentDateRange",props:{modelValue:{default:()=>({from:"",to:""})},storageKey:{default:"date-range-state"},allowSameDate:{type:Boolean,default:!0},labelStart:{default:"De"},labelEnd:{default:"À"},startDateHint:{default:""},resetLabel:{default:"Réinitialiser"},closeLabel:{default:"Fermer"},locale:{default:void 0},required:{type:Boolean,default:!1},requiredErrorMessage:{default:"Ce champ est obligatoire !"},invalidDateErrorMessage:{default:"Date invalide!"},rules:{default:()=>[]},minDate:{default:void 0},maxDate:{default:void 0},datesDisabled:{default:()=>[]},highlightEvents:{default:()=>[]},disabled:{type:Boolean,default:!1},idCy:{default:"dateRange"},isIconCalendar:{type:Boolean},resetPosition:{},hideActions:{type:Boolean,default:!1},hideShortcuts:{type:Boolean},shortcuts:{}},emits:["update:dateRange","update:modelValue","clear"],setup(l,{expose:B,emit:t}){const b=l,m=t,c=y.ref(null),i=y.ref({...b.modelValue}),s=y.ref(!1),n=y.computed(()=>({...b,from:i.value.from,to:i.value.to}));y.onMounted(async()=>{await y.nextTick(),s.value=!0,e(),s.value=!1});function e(){if(r()){u();return}b.storageKey&&a()}function r(){return!!(b.modelValue?.from||b.modelValue?.to)}function u(){b.modelValue&&(i.value={...b.modelValue},o(i.value))}function a(){const g=localStorage.getItem(b.storageKey);if(g)try{const p=JSON.parse(g);(p.from||p.to)&&(i.value=p,o(p))}catch(p){console.error("Error restoring date range:",p)}}function o(g){c.value&&c.value.setDateRange(g)}const d=g=>{const p=g||{from:"",to:""};p.from===i.value.from&&p.to===i.value.to||(i.value=p,s.value||(m("update:dateRange",i.value),m("update:modelValue",i.value)),b.storageKey&&!s.value&&localStorage.setItem(b.storageKey,JSON.stringify(i.value)))},h=()=>{i.value={from:"",to:""},b.storageKey&&localStorage.removeItem(b.storageKey),m("update:dateRange",i.value),m("update:modelValue",i.value),m("clear")};return y.watch(()=>b.modelValue,g=>{!g||s.value||(g.from!==i.value.from||g.to!==i.value.to)&&(i.value={...g},o(g))},{deep:!0}),B({reset:()=>{i.value={from:"",to:""},c.value&&c.value.resetDate(),b.storageKey&&localStorage.removeItem(b.storageKey),m("update:modelValue",i.value),m("update:dateRange",i.value),m("clear")},getCurrentRange:()=>({...i.value}),setDateRange:g=>{i.value={...g},c.value&&c.value.setDateRange(g),m("update:modelValue",i.value),m("update:dateRange",i.value)}}),(g,p)=>(y.openBlock(),y.createBlock(ps,y.mergeProps({ref_key:"dateRangeRef",ref:c},n.value,{"onUpdate:dateRange":d,onClear:h}),null,16))}}),Ur=$e({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(l,{slots:B,emit:t}){const b=y.getCurrentInstance(),{proxy:{$q:m}}=b,c=i=>{t("click",i)};return()=>{if(l.props===void 0)return y.h("th",{class:l.autoWidth===!0?"q-table--col-auto-width":"",onClick:c},bt(B.default));let i,s;const n=b.vnode.key;if(n){if(i=l.props.colsMap[n],i===void 0)return}else i=l.props.col;if(i.sortable===!0){const r=i.align==="right"?"unshift":"push";s=Mi(B.default,[]),s[r](y.h(gt,{class:i.__iconClass,name:m.iconSet.table.arrowUp}))}else s=bt(B.default);const e={class:i.__thClass+(l.autoWidth===!0?" q-table--col-auto-width":""),style:i.headerStyle,onClick:r=>{i.sortable===!0&&l.props.sort(i),c(r)}};return y.h("th",e,s)}}}),gn=$e({name:"QTr",props:{props:Object,noHover:Boolean},setup(l,{slots:B}){const t=y.computed(()=>"q-tr"+(l.props===void 0||l.props.header===!0?"":" "+l.props.__trClass)+(l.noHover===!0?" q-tr--no-hover":""));return()=>y.h("tr",{style:l.props?.__trStyle,class:t.value},bt(B.default))}}),Lf=["text","rect","circle","QBtn","QBadge","QChip","QToolbar","QCheckbox","QRadio","QToggle","QSlider","QRange","QInput","QAvatar"],Vf=["wave","pulse","pulse-x","pulse-y","fade","blink","none"],ra=$e({name:"QSkeleton",props:{...Ot,tag:{type:String,default:"div"},type:{type:String,validator:l=>Lf.includes(l),default:"rect"},animation:{type:String,validator:l=>Vf.includes(l),default:"wave"},animationSpeed:{type:[String,Number],default:1500},square:Boolean,bordered:Boolean,size:String,width:String,height:String},setup(l,{slots:B}){const t=y.getCurrentInstance(),b=Ft(l,t.proxy.$q),m=y.computed(()=>{const i=l.size!==void 0?[l.size,l.size]:[l.width,l.height];return{"--q-skeleton-speed":`${l.animationSpeed}ms`,width:i[0],height:i[1]}}),c=y.computed(()=>`q-skeleton q-skeleton--${b.value===!0?"dark":"light"} q-skeleton--type-${l.type}`+(l.animation!=="none"?` q-skeleton--anim q-skeleton--anim-${l.animation}`:"")+(l.square===!0?" q-skeleton--square":"")+(l.bordered===!0?" q-skeleton--bordered":""));return()=>y.h(l.tag,{class:c.value,style:m.value},bt(B.default))}}),ci=$e({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(l,{slots:B}){const t=y.getCurrentInstance(),b=y.computed(()=>"q-td"+(l.autoWidth===!0?" q-table--col-auto-width":"")+(l.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(l.props===void 0)return y.h("td",{class:b.value},bt(B.default));const m=t.vnode.key,c=(l.props.colsMap!==void 0?l.props.colsMap[m]:null)||l.props.col;if(c===void 0)return;const{row:i}=l.props;return y.h("td",{class:b.value+c.__tdClass(i),style:c.__tdStyle(i)},bt(B.default))}}}),qf=["horizontal","vertical","cell","none"],zf=$e({name:"QMarkupTable",props:{...Ot,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:l=>qf.includes(l)}},setup(l,{slots:B}){const t=y.getCurrentInstance(),b=Ft(l,t.proxy.$q),m=y.computed(()=>`q-markup-table q-table__container q-table__card q-table--${l.separator}-separator`+(b.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(l.dense===!0?" q-table--dense":"")+(l.flat===!0?" q-table--flat":"")+(l.bordered===!0?" q-table--bordered":"")+(l.square===!0?" q-table--square":"")+(l.wrapCells===!1?" q-table--no-wrap":""));return()=>y.h("div",{class:m.value},[y.h("table",{class:"q-table"},bt(B.default))])}});function xs(l,B){return y.h("div",l,[y.h("table",{class:"q-table"},B)])}const Uf={list:Ji,table:zf},Wf=["list","table","__qtable"],Hf=$e({name:"QVirtualScroll",props:{...xi,type:{type:String,default:"list",validator:l=>Wf.includes(l)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:Ln},setup(l,{slots:B,attrs:t}){let b;const m=y.ref(null),c=y.computed(()=>l.itemsSize>=0&&l.itemsFn!==void 0?parseInt(l.itemsSize,10):Array.isArray(l.items)?l.items.length:0),{virtualScrollSliceRange:i,localResetVirtualScroll:s,padVirtualScroll:n,onVirtualScrollEvt:e}=Ha({virtualScrollLength:c,getVirtualScrollTarget:d,getVirtualScrollEl:o}),r=y.computed(()=>{if(c.value===0)return[];const p=(k,C)=>({index:i.value.from+C,item:k});return l.itemsFn===void 0?l.items.slice(i.value.from,i.value.to).map(p):l.itemsFn(i.value.from,i.value.to-i.value.from).map(p)}),u=y.computed(()=>"q-virtual-scroll q-virtual-scroll"+(l.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(l.scrollTarget!==void 0?"":" scroll")),a=y.computed(()=>l.scrollTarget!==void 0?{}:{tabindex:0});y.watch(c,()=>{s()}),y.watch(()=>l.scrollTarget,()=>{f(),h()});function o(){return m.value.$el||m.value}function d(){return b}function h(){b=Vn(o(),l.scrollTarget),b.addEventListener("scroll",e,_t.passive)}function f(){b!==void 0&&(b.removeEventListener("scroll",e,_t.passive),b=void 0)}function g(){let p=n(l.type==="list"?"div":"tbody",r.value.map(B.default));return B.before!==void 0&&(p=B.before().concat(p)),It(B.after,p)}return y.onBeforeMount(()=>{s()}),y.onMounted(()=>{h()}),y.onActivated(()=>{h()}),y.onDeactivated(()=>{f()}),y.onBeforeUnmount(()=>{f()}),()=>{if(B.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return l.type==="__qtable"?xs({ref:m,class:"q-table__middle "+u.value},g()):y.h(Uf[l.type],{...t,ref:m,class:[t.class,u.value],...a.value},g)}}}),Yf={xs:2,sm:4,md:6,lg:10,xl:14};function na(l,B,t){return{transform:B===!0?`translateX(${t.lang.rtl===!0?"-":""}100%) scale3d(${-l},1,1)`:`scale3d(${l},1,1)`}}const Qf=$e({name:"QLinearProgress",props:{...Ot,...Or,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(l,{slots:B}){const{proxy:t}=y.getCurrentInstance(),b=Ft(l,t.$q),m=Fr(l,Yf),c=y.computed(()=>l.indeterminate===!0||l.query===!0),i=y.computed(()=>l.reverse!==l.query),s=y.computed(()=>({...m.value!==null?m.value:{},"--q-linear-progress-speed":`${l.animationSpeed}ms`})),n=y.computed(()=>"q-linear-progress"+(l.color!==void 0?` text-${l.color}`:"")+(l.reverse===!0||l.query===!0?" q-linear-progress--reverse":"")+(l.rounded===!0?" rounded-borders":"")),e=y.computed(()=>na(l.buffer!==void 0?l.buffer:1,i.value,t.$q)),r=y.computed(()=>`with${l.instantFeedback===!0?"out":""}-transition`),u=y.computed(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${r.value} q-linear-progress__track--${b.value===!0?"dark":"light"}`+(l.trackColor!==void 0?` bg-${l.trackColor}`:"")),a=y.computed(()=>na(c.value===!0?1:l.value,i.value,t.$q)),o=y.computed(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${r.value} q-linear-progress__model--${c.value===!0?"in":""}determinate`),d=y.computed(()=>({width:`${l.value*100}%`})),h=y.computed(()=>`q-linear-progress__stripe absolute-${l.reverse===!0?"right":"left"} q-linear-progress__stripe--${r.value}`);return()=>{const f=[y.h("div",{class:u.value,style:e.value}),y.h("div",{class:o.value,style:a.value})];return l.stripe===!0&&c.value===!1&&f.push(y.h("div",{class:h.value,style:d.value})),y.h("div",{class:n.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":l.indeterminate===!0?void 0:l.value},It(B.default,f))}}});let Lr=0;const Kf={fullscreen:Boolean,noRouteFullscreenExit:Boolean},Xf=["update:fullscreen","fullscreen"];function Gf(){const l=y.getCurrentInstance(),{props:B,emit:t,proxy:b}=l;let m,c;const i=y.ref(!1);Ti(l)===!0&&y.watch(()=>b.$route.fullPath,()=>{B.noRouteFullscreenExit!==!0&&e()}),y.watch(()=>B.fullscreen,r=>{i.value!==r&&s()}),y.watch(i,r=>{t("update:fullscreen",r),t("fullscreen",r)});function s(){i.value===!0?e():n()}function n(){i.value!==!0&&(i.value=!0,c=b.$el.parentNode,c.replaceChild(m,b.$el),document.body.appendChild(b.$el),Lr++,Lr===1&&document.body.classList.add("q-body--fullscreen-mixin"))}function e(){i.value===!0&&(c.replaceChild(b.$el,m),i.value=!1,Lr=Math.max(0,Lr-1),Lr===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),b.$el.scrollIntoView!==void 0&&setTimeout(()=>{b.$el.scrollIntoView()})))}return y.onBeforeMount(()=>{m=document.createElement("span")}),y.onMounted(()=>{B.fullscreen===!0&&n()}),y.onBeforeUnmount(e),Object.assign(b,{toggleFullscreen:s,setFullscreen:n,exitFullscreen:e}),{inFullscreen:i,toggleFullscreen:s}}function Jf(l,B){return new Date(l)-new Date(B)}const Zf={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:l=>l==="ad"||l==="da",default:"ad"}};function $f(l,B,t,b){const m=y.computed(()=>{const{sortBy:s}=B.value;return s&&t.value.find(n=>n.name===s)||null}),c=y.computed(()=>l.sortMethod!==void 0?l.sortMethod:(s,n,e)=>{const r=t.value.find(o=>o.name===n);if(r===void 0||r.field===void 0)return s;const u=e===!0?-1:1,a=typeof r.field=="function"?o=>r.field(o):o=>o[r.field];return s.sort((o,d)=>{let h=a(o),f=a(d);return r.rawSort!==void 0?r.rawSort(h,f,o,d)*u:h==null?-1*u:f==null?1*u:r.sort!==void 0?r.sort(h,f,o,d)*u:Si(h)===!0&&Si(f)===!0?(h-f)*u:On(h)===!0&&On(f)===!0?Jf(h,f)*u:typeof h=="boolean"&&typeof f=="boolean"?(h-f)*u:([h,f]=[h,f].map(g=>(g+"").toLocaleString().toLowerCase()),h<f?-1*u:h===f?0:u)})});function i(s){let n=l.columnSortOrder;if(Qa(s)===!0)s.sortOrder&&(n=s.sortOrder),s=s.name;else{const u=t.value.find(a=>a.name===s);u?.sortOrder&&(n=u.sortOrder)}let{sortBy:e,descending:r}=B.value;e!==s?(e=s,r=n==="da"):l.binaryStateSort===!0?r=!r:r===!0?n==="ad"?e=null:r=!1:n==="ad"?r=!0:e=null,b({sortBy:e,descending:r,page:1})}return{columnToSort:m,computedSortMethod:c,sort:i}}const ed={filter:[String,Object],filterMethod:Function};function td(l,B){const t=y.computed(()=>l.filterMethod!==void 0?l.filterMethod:(b,m,c,i)=>{const s=m?m.toLowerCase():"";return b.filter(n=>c.some(e=>{const r=i(e,n)+"";return(r==="undefined"||r==="null"?"":r.toLowerCase()).indexOf(s)!==-1}))});return y.watch(()=>l.filter,()=>{y.nextTick(()=>{B({page:1},!0)})},{deep:!0}),{computedFilterMethod:t}}function rd(l,B){for(const t in B)if(B[t]!==l[t])return!1;return!0}function ia(l){return l.page<1&&(l.page=1),l.rowsPerPage!==void 0&&l.rowsPerPage<1&&(l.rowsPerPage=0),l}const nd={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function id(l,B){const{props:t,emit:b}=l,m=y.ref(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:t.rowsPerPageOptions.length!==0?t.rowsPerPageOptions[0]:5},t.pagination)),c=y.computed(()=>{const r=t["onUpdate:pagination"]!==void 0?{...m.value,...t.pagination}:m.value;return ia(r)}),i=y.computed(()=>c.value.rowsNumber!==void 0);function s(r){n({pagination:r,filter:t.filter})}function n(r={}){y.nextTick(()=>{b("request",{pagination:r.pagination||c.value,filter:r.filter||t.filter,getCellValue:B})})}function e(r,u){const a=ia({...c.value,...r});if(rd(c.value,a)===!0){i.value===!0&&u===!0&&s(a);return}if(i.value===!0){s(a);return}t.pagination!==void 0&&t["onUpdate:pagination"]!==void 0?b("update:pagination",a):m.value=a}return{innerPagination:m,computedPagination:c,isServerSide:i,requestServerInteraction:n,setPagination:e}}function od(l,B,t,b,m,c){const{props:i,emit:s,proxy:{$q:n}}=l,e=y.computed(()=>b.value===!0?t.value.rowsNumber||0:c.value),r=y.computed(()=>{const{page:C,rowsPerPage:T}=t.value;return(C-1)*T}),u=y.computed(()=>{const{page:C,rowsPerPage:T}=t.value;return C*T}),a=y.computed(()=>t.value.page===1),o=y.computed(()=>t.value.rowsPerPage===0?1:Math.max(1,Math.ceil(e.value/t.value.rowsPerPage))),d=y.computed(()=>u.value===0?!0:t.value.page>=o.value),h=y.computed(()=>(i.rowsPerPageOptions.includes(B.value.rowsPerPage)?i.rowsPerPageOptions:[B.value.rowsPerPage].concat(i.rowsPerPageOptions)).map(T=>({label:T===0?n.lang.table.allRows:""+T,value:T})));y.watch(o,(C,T)=>{if(C===T)return;const D=t.value.page;C&&!D?m({page:1}):C<D&&m({page:C})});function f(){m({page:1})}function g(){const{page:C}=t.value;C>1&&m({page:C-1})}function p(){const{page:C,rowsPerPage:T}=t.value;u.value>0&&C*T<e.value&&m({page:C+1})}function k(){m({page:o.value})}return i["onUpdate:pagination"]!==void 0&&s("update:pagination",{...t.value}),{firstRowIndex:r,lastRowIndex:u,isFirstPage:a,isLastPage:d,pagesNumber:o,computedRowsPerPageOptions:h,computedRowsNumber:e,firstPage:f,prevPage:g,nextPage:p,lastPage:k}}const ad={selection:{type:String,default:"none",validator:l=>["single","multiple","none"].includes(l)},selected:{type:Array,default:()=>[]}},sd=["update:selected","selection"];function ld(l,B,t,b){const m=y.computed(()=>{const d={};return l.selected.map(b.value).forEach(h=>{d[h]=!0}),d}),c=y.computed(()=>l.selection!=="none"),i=y.computed(()=>l.selection==="single"),s=y.computed(()=>l.selection==="multiple"),n=y.computed(()=>t.value.length!==0&&t.value.every(d=>m.value[b.value(d)]===!0)),e=y.computed(()=>n.value!==!0&&t.value.some(d=>m.value[b.value(d)]===!0)),r=y.computed(()=>l.selected.length);function u(d){return m.value[d]===!0}function a(){B("update:selected",[])}function o(d,h,f,g){B("selection",{rows:h,added:f,keys:d,evt:g});const p=i.value===!0?f===!0?h:[]:f===!0?l.selected.concat(h):l.selected.filter(k=>d.includes(b.value(k))===!1);B("update:selected",p)}return{hasSelectionMode:c,singleSelection:i,multipleSelection:s,allRowsSelected:n,someRowsSelected:e,rowsSelectedNumber:r,isRowSelected:u,clearSelection:a,updateSelection:o}}function oa(l){return Array.isArray(l)?l.slice():[]}const ud={expanded:Array},cd=["update:expanded"];function fd(l,B){const t=y.ref(oa(l.expanded));y.watch(()=>l.expanded,i=>{t.value=oa(i)});function b(i){return t.value.includes(i)}function m(i){l.expanded!==void 0?B("update:expanded",i):t.value=i}function c(i,s){const n=t.value.slice(),e=n.indexOf(i);s===!0?e===-1&&(n.push(i),m(n)):e!==-1&&(n.splice(e,1),m(n))}return{isRowExpanded:b,setExpanded:m,updateExpanded:c}}const dd={visibleColumns:Array};function hd(l,B,t){const b=y.computed(()=>{if(l.columns!==void 0)return l.columns;const s=l.rows[0];return s!==void 0?Object.keys(s).map(n=>({name:n,label:n.toUpperCase(),field:n,align:Si(s[n])?"right":"left",sortable:!0})):[]}),m=y.computed(()=>{const{sortBy:s,descending:n}=B.value;return(l.visibleColumns!==void 0?b.value.filter(r=>r.required===!0||l.visibleColumns.includes(r.name)===!0):b.value).map(r=>{const u=r.align||"right",a=`text-${u}`;return{...r,align:u,__iconClass:`q-table__sort-icon q-table__sort-icon--${u}`,__thClass:a+(r.headerClasses!==void 0?" "+r.headerClasses:"")+(r.sortable===!0?" sortable":"")+(r.name===s?` sorted ${n===!0?"sort-desc":""}`:""),__tdStyle:r.style!==void 0?typeof r.style!="function"?()=>r.style:r.style:()=>null,__tdClass:r.classes!==void 0?typeof r.classes!="function"?()=>a+" "+r.classes:o=>a+" "+r.classes(o):()=>a}})}),c=y.computed(()=>{const s={};return m.value.forEach(n=>{s[n.name]=n}),s}),i=y.computed(()=>l.tableColspan!==void 0?l.tableColspan:m.value.length+(t.value===!0?1:0));return{colList:b,computedCols:m,computedColsMap:c,computedColspan:i}}const bn="q-table__bottom row items-center",Ss={};Wa.forEach(l=>{Ss[l]={}});const pd=$e({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:l=>["horizontal","vertical","cell","none"].includes(l)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...Ss,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,...Ot,...Kf,...dd,...ed,...nd,...ud,...ad,...Zf},emits:["request","virtualScroll",...Xf,...cd,...sd],setup(l,{slots:B,emit:t}){const b=y.getCurrentInstance(),{proxy:{$q:m}}=b,c=Ft(l,m),{inFullscreen:i,toggleFullscreen:s}=Gf(),n=y.computed(()=>typeof l.rowKey=="function"?l.rowKey:me=>me[l.rowKey]),e=y.ref(null),r=y.ref(null),u=y.computed(()=>l.grid!==!0&&l.virtualScroll===!0),a=y.computed(()=>" q-table__card"+(c.value===!0?" q-table__card--dark q-dark":"")+(l.square===!0?" q-table--square":"")+(l.flat===!0?" q-table--flat":"")+(l.bordered===!0?" q-table--bordered":"")),o=y.computed(()=>`q-table__container q-table--${l.separator}-separator column no-wrap`+(l.grid===!0?" q-table--grid":a.value)+(c.value===!0?" q-table--dark":"")+(l.dense===!0?" q-table--dense":"")+(l.wrapCells===!1?" q-table--no-wrap":"")+(i.value===!0?" fullscreen scroll":"")),d=y.computed(()=>o.value+(l.loading===!0?" q-table--loading":""));y.watch(()=>l.tableStyle+l.tableClass+l.tableHeaderStyle+l.tableHeaderClass+o.value,()=>{u.value===!0&&r.value?.reset()});const{innerPagination:h,computedPagination:f,isServerSide:g,requestServerInteraction:p,setPagination:k}=id(b,Le),{computedFilterMethod:C}=td(l,k),{isRowExpanded:T,setExpanded:D,updateExpanded:V}=fd(l,t),P=y.computed(()=>{let me=l.rows;if(g.value===!0||me.length===0)return me;const{sortBy:xe,descending:Re}=f.value;return l.filter&&(me=C.value(me,l.filter,O.value,Le)),U.value!==null&&(me=Q.value(l.rows===me?me.slice():me,xe,Re)),me}),N=y.computed(()=>P.value.length),q=y.computed(()=>{let me=P.value;if(g.value===!0)return me;const{rowsPerPage:xe}=f.value;return xe!==0&&(Y.value===0&&l.rows!==me?me.length>F.value&&(me=me.slice(0,F.value)):me=me.slice(Y.value,F.value)),me}),{hasSelectionMode:W,singleSelection:L,multipleSelection:A,allRowsSelected:M,someRowsSelected:_,rowsSelectedNumber:v,isRowSelected:x,clearSelection:w,updateSelection:S}=ld(l,t,q,n),{colList:E,computedCols:O,computedColsMap:R,computedColspan:z}=hd(l,f,W),{columnToSort:U,computedSortMethod:Q,sort:j}=$f(l,f,E,k),{firstRowIndex:Y,lastRowIndex:F,isFirstPage:I,isLastPage:H,pagesNumber:K,computedRowsPerPageOptions:ee,computedRowsNumber:G,firstPage:te,prevPage:ce,nextPage:ue,lastPage:J}=od(b,h,f,g,k,N),ae=y.computed(()=>q.value.length===0),se=y.computed(()=>{const me={};return Wa.forEach(xe=>{me[xe]=l[xe]}),me.virtualScrollItemSize===void 0&&(me.virtualScrollItemSize=l.dense===!0?28:48),me});function pe(){u.value===!0&&r.value.reset()}function $(){if(l.grid===!0)return at();const me=l.hideHeader!==!0?De:null;if(u.value===!0){const Re=B["top-row"],Oe=B["bottom-row"],Ee={default:Qe=>ge(Qe.item,B.body,Qe.index)};if(Re!==void 0){const Qe=y.h("tbody",Re({cols:O.value}));Ee.before=me===null?()=>Qe:()=>[me()].concat(Qe)}else me!==null&&(Ee.before=me);return Oe!==void 0&&(Ee.after=()=>y.h("tbody",Oe({cols:O.value}))),y.h(Hf,{ref:r,class:l.tableClass,style:l.tableStyle,...se.value,scrollTarget:l.virtualScrollTarget,items:q.value,type:"__qtable",tableColspan:z.value,onVirtualScroll:oe},Ee)}const xe=[Ce()];return me!==null&&xe.unshift(me()),xs({class:["q-table__middle scroll",l.tableClass],style:l.tableStyle},xe)}function ie(me,xe){if(r.value!==null){r.value.scrollTo(me,xe);return}me=parseInt(me,10);const Re=e.value.querySelector(`tbody tr:nth-of-type(${me+1})`);if(Re!==null){const Oe=e.value.querySelector(".q-table__middle.scroll"),Ee=Re.offsetTop-l.virtualScrollStickySizeStart,Qe=Ee<Oe.scrollTop?"decrease":"increase";Oe.scrollTop=Ee,t("virtualScroll",{index:me,from:0,to:h.value.rowsPerPage-1,direction:Qe})}}function oe(me){t("virtualScroll",me)}function le(){return[y.h(Qf,{class:"q-table__linear-progress",color:l.color,dark:c.value,indeterminate:!0,trackColor:"transparent"})]}function ge(me,xe,Re){const Oe=n.value(me),Ee=x(Oe);if(xe!==void 0){const X={key:Oe,row:me,pageIndex:Re,__trClass:Ee?"selected":""};if(l.tableRowStyleFn!==void 0&&(X.__trStyle=l.tableRowStyleFn(me)),l.tableRowClassFn!==void 0){const ne=l.tableRowClassFn(me);ne&&(X.__trClass=`${ne} ${X.__trClass}`)}return xe(Ae(X))}const Qe=B["body-cell"],Ke=O.value.map(X=>{const ne=B[`body-cell-${X.name}`],de=ne!==void 0?ne:Qe;return de!==void 0?de(Te({key:Oe,row:me,pageIndex:Re,col:X})):y.h("td",{class:X.__tdClass(me),style:X.__tdStyle(me)},Le(X,me))});if(W.value===!0){const X=B["body-selection"],ne=X!==void 0?X(Ue({key:Oe,row:me,pageIndex:Re})):[y.h(Er,{modelValue:Ee,color:l.color,dark:c.value,dense:l.dense,"onUpdate:modelValue":(de,be)=>{S([Oe],[me],de,be)}})];Ke.unshift(y.h("td",{class:"q-table--col-auto-width"},ne))}const re={key:Oe,class:{selected:Ee}};if(l.onRowClick!==void 0&&(re.class["cursor-pointer"]=!0,re.onClick=X=>{t("rowClick",X,me,Re)}),l.onRowDblclick!==void 0&&(re.class["cursor-pointer"]=!0,re.onDblclick=X=>{t("rowDblclick",X,me,Re)}),l.onRowContextmenu!==void 0&&(re.class["cursor-pointer"]=!0,re.onContextmenu=X=>{t("rowContextmenu",X,me,Re)}),l.tableRowStyleFn!==void 0&&(re.style=l.tableRowStyleFn(me)),l.tableRowClassFn!==void 0){const X=l.tableRowClassFn(me);X&&(re.class[X]=!0)}return y.h("tr",re,Ke)}function Ce(){const me=B.body,xe=B["top-row"],Re=B["bottom-row"];let Oe=q.value.map((Ee,Qe)=>ge(Ee,me,Qe));return xe!==void 0&&(Oe=xe({cols:O.value}).concat(Oe)),Re!==void 0&&(Oe=Oe.concat(Re({cols:O.value}))),y.h("tbody",Oe)}function Ae(me){return Ne(me),me.cols=me.cols.map(xe=>Lt({...xe},"value",()=>Le(xe,me.row))),me}function Te(me){return Ne(me),Lt(me,"value",()=>Le(me.col,me.row)),me}function Ue(me){return Ne(me),me}function Ne(me){Object.assign(me,{cols:O.value,colsMap:R.value,sort:j,rowIndex:Y.value+me.pageIndex,color:l.color,dark:c.value,dense:l.dense}),W.value===!0&&Lt(me,"selected",()=>x(me.key),(xe,Re)=>{S([me.key],[me.row],xe,Re)}),Lt(me,"expand",()=>T(me.key),xe=>{V(me.key,xe)})}function Le(me,xe){const Re=typeof me.field=="function"?me.field(xe):xe[me.field];return me.format!==void 0?me.format(Re,xe):Re}const qe=y.computed(()=>({pagination:f.value,pagesNumber:K.value,isFirstPage:I.value,isLastPage:H.value,firstPage:te,prevPage:ce,nextPage:ue,lastPage:J,inFullscreen:i.value,toggleFullscreen:s}));function Fe(){const me=B.top,xe=B["top-left"],Re=B["top-right"],Oe=B["top-selection"],Ee=W.value===!0&&Oe!==void 0&&v.value>0,Qe="q-table__top relative-position row items-center";if(me!==void 0)return y.h("div",{class:Qe},[me(qe.value)]);let Ke;if(Ee===!0?Ke=Oe(qe.value).slice():(Ke=[],xe!==void 0?Ke.push(y.h("div",{class:"q-table__control"},[xe(qe.value)])):l.title&&Ke.push(y.h("div",{class:"q-table__control"},[y.h("div",{class:["q-table__title",l.titleClass]},l.title)]))),Re!==void 0&&(Ke.push(y.h("div",{class:"q-table__separator col"})),Ke.push(y.h("div",{class:"q-table__control"},[Re(qe.value)]))),Ke.length!==0)return y.h("div",{class:Qe},Ke)}const ke=y.computed(()=>_.value===!0?null:M.value);function De(){const me=We();return l.loading===!0&&B.loading===void 0&&me.push(y.h("tr",{class:"q-table__progress"},[y.h("th",{class:"relative-position",colspan:z.value},le())])),y.h("thead",me)}function We(){const me=B.header,xe=B["header-cell"];if(me!==void 0)return me(Ve({header:!0})).slice();const Re=O.value.map(Oe=>{const Ee=B[`header-cell-${Oe.name}`],Qe=Ee!==void 0?Ee:xe,Ke=Ve({col:Oe});return Qe!==void 0?Qe(Ke):y.h(Ur,{key:Oe.name,props:Ke},()=>Oe.label)});if(L.value===!0&&l.grid!==!0)Re.unshift(y.h("th",{class:"q-table--col-auto-width"}," "));else if(A.value===!0){const Oe=B["header-selection"],Ee=Oe!==void 0?Oe(Ve({})):[y.h(Er,{color:l.color,modelValue:ke.value,dark:c.value,dense:l.dense,"onUpdate:modelValue":Ge})];Re.unshift(y.h("th",{class:"q-table--col-auto-width"},Ee))}return[y.h("tr",{class:l.tableHeaderClass,style:l.tableHeaderStyle},Re)]}function Ve(me){return Object.assign(me,{cols:O.value,sort:j,colsMap:R.value,color:l.color,dark:c.value,dense:l.dense}),A.value===!0&&Lt(me,"selected",()=>ke.value,Ge),me}function Ge(me){_.value===!0&&(me=!1),S(q.value.map(n.value),q.value,me)}const et=y.computed(()=>{const me=[l.iconFirstPage||m.iconSet.table.firstPage,l.iconPrevPage||m.iconSet.table.prevPage,l.iconNextPage||m.iconSet.table.nextPage,l.iconLastPage||m.iconSet.table.lastPage];return m.lang.rtl===!0?me.reverse():me});function He(){if(l.hideBottom===!0)return;if(ae.value===!0){if(l.hideNoData===!0)return;const Re=l.loading===!0?l.loadingLabel||m.lang.table.loading:l.filter?l.noResultsLabel||m.lang.table.noResults:l.noDataLabel||m.lang.table.noData,Oe=B["no-data"],Ee=Oe!==void 0?[Oe({message:Re,icon:m.iconSet.table.warning,filter:l.filter})]:[y.h(gt,{class:"q-table__bottom-nodata-icon",name:m.iconSet.table.warning}),Re];return y.h("div",{class:bn+" q-table__bottom--nodata"},Ee)}const me=B.bottom;if(me!==void 0)return y.h("div",{class:bn},[me(qe.value)]);const xe=l.hideSelectedBanner!==!0&&W.value===!0&&v.value>0?[y.h("div",{class:"q-table__control"},[y.h("div",[(l.selectedRowsLabel||m.lang.table.selectedRecords)(v.value)])])]:[];if(l.hidePagination!==!0)return y.h("div",{class:bn+" justify-end"},tt(xe));if(xe.length!==0)return y.h("div",{class:bn},xe)}function nt(me){k({page:1,rowsPerPage:me.value})}function tt(me){let xe;const{rowsPerPage:Re}=f.value,Oe=l.paginationLabel||m.lang.table.pagination,Ee=B.pagination,Qe=l.rowsPerPageOptions.length>1;if(me.push(y.h("div",{class:"q-table__separator col"})),Qe===!0&&me.push(y.h("div",{class:"q-table__control"},[y.h("span",{class:"q-table__bottom-item"},[l.rowsPerPageLabel||m.lang.table.recordsPerPage]),y.h(Un,{class:"q-table__select inline q-table__bottom-item",color:l.color,modelValue:Re,options:ee.value,displayValue:Re===0?m.lang.table.allRows:Re,dark:c.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":nt})])),Ee!==void 0)xe=Ee(qe.value);else if(xe=[y.h("span",Re!==0?{class:"q-table__bottom-item"}:{},[Re?Oe(Y.value+1,Math.min(F.value,G.value),G.value):Oe(1,N.value,G.value)])],Re!==0&&K.value>1){const Ke={color:l.color,round:!0,dense:!0,flat:!0};l.dense===!0&&(Ke.size="sm"),K.value>2&&xe.push(y.h(ut,{key:"pgFirst",...Ke,icon:et.value[0],disable:I.value,"aria-label":m.lang.pagination.first,onClick:te})),xe.push(y.h(ut,{key:"pgPrev",...Ke,icon:et.value[1],disable:I.value,"aria-label":m.lang.pagination.prev,onClick:ce}),y.h(ut,{key:"pgNext",...Ke,icon:et.value[2],disable:H.value,"aria-label":m.lang.pagination.next,onClick:ue})),K.value>2&&xe.push(y.h(ut,{key:"pgLast",...Ke,icon:et.value[3],disable:H.value,"aria-label":m.lang.pagination.last,onClick:J}))}return me.push(y.h("div",{class:"q-table__control"},xe)),me}function Ye(){const me=l.gridHeader===!0?[y.h("table",{class:"q-table"},[De()])]:l.loading===!0&&B.loading===void 0?le():void 0;return y.h("div",{class:"q-table__middle"},me)}function at(){const me=B.item!==void 0?B.item:xe=>{const Re=xe.cols.map(Ee=>y.h("div",{class:"q-table__grid-item-row"},[y.h("div",{class:"q-table__grid-item-title"},[Ee.label]),y.h("div",{class:"q-table__grid-item-value"},[Ee.value])]));if(W.value===!0){const Ee=B["body-selection"],Qe=Ee!==void 0?Ee(xe):[y.h(Er,{modelValue:xe.selected,color:l.color,dark:c.value,dense:l.dense,"onUpdate:modelValue":(Ke,re)=>{S([xe.key],[xe.row],Ke,re)}})];Re.unshift(y.h("div",{class:"q-table__grid-item-row"},Qe),y.h(Hr,{dark:c.value}))}const Oe={class:["q-table__grid-item-card"+a.value,l.cardClass],style:l.cardStyle};if(l.cardStyleFn!==void 0&&(Oe.style=[Oe.style,l.cardStyleFn(xe.row)]),l.cardClassFn!==void 0){const Ee=l.cardClassFn(xe.row);Ee&&(Oe.class[0]+=` ${Ee}`)}return(l.onRowClick!==void 0||l.onRowDblclick!==void 0||l.onRowContextmenu!==void 0)&&(Oe.class[0]+=" cursor-pointer",l.onRowClick!==void 0&&(Oe.onClick=Ee=>{t("RowClick",Ee,xe.row,xe.pageIndex)}),l.onRowDblclick!==void 0&&(Oe.onDblclick=Ee=>{t("RowDblclick",Ee,xe.row,xe.pageIndex)}),l.onRowContextmenu!==void 0&&(Oe.onContextmenu=Ee=>{t("rowContextmenu",Ee,xe.row,xe.pageIndex)})),y.h("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(xe.selected===!0?" q-table__grid-item--selected":"")},[y.h("div",Oe,Re)])};return y.h("div",{class:["q-table__grid-content row",l.cardContainerClass],style:l.cardContainerStyle},q.value.map((xe,Re)=>me(Ae({key:n.value(xe),row:xe,pageIndex:Re}))))}return Object.assign(b.proxy,{requestServerInteraction:p,setPagination:k,firstPage:te,prevPage:ce,nextPage:ue,lastPage:J,isRowSelected:x,clearSelection:w,isRowExpanded:T,setExpanded:D,sort:j,resetVirtualScroll:pe,scrollTo:ie,getCellValue:Le}),ks(b.proxy,{filteredSortedRows:()=>P.value,computedRows:()=>q.value,computedRowsNumber:()=>G.value}),()=>{const me=[Fe()],xe={ref:e,class:d.value};return l.grid===!0?me.push(Ye()):Object.assign(xe,{class:[xe.class,l.cardClass],style:l.cardStyle}),me.push($(),He()),l.loading===!0&&B.loading!==void 0&&me.push(B.loading()),y.h("div",xe,me)}}});function md(l,B,t){if(!t.renderAsBadge)return null;const b={label:typeof t.format=="function"?t.format(l):String(l),outline:t.badgeOutline,rounded:t.badgeRounded,size:t.badgeSize||"md",class:t.badgeClass};if(t.badgeMapping){const m=String(l).toLowerCase(),c=t.badgeMapping[m]||t.badgeMapping[l];c&&(b.color=c.color,b.label=c.label||b.label,b.icon=c.icon,b.outline=c.outline??b.outline)}return typeof t.badgeColor=="function"?b.color=t.badgeColor(l,B):t.badgeColor?b.color=t.badgeColor:b.color||(b.color=gd(l)),b}function gd(l){const B=String(l).toLowerCase();return{active:"green",inactive:"grey",pending:"orange",approved:"blue",rejected:"red",completed:"green",cancelled:"red",success:"green",error:"red",warning:"orange",info:"blue",draft:"grey",published:"green",archived:"grey-7",true:"green",false:"grey",yes:"green",no:"grey",enabled:"green",disabled:"grey"}[B]||"primary"}function qt(l,B){const t=vd(l,B);return{value:t,badgeConfig:md(t,l,B)}}const bd={shouldShowExpandButton:()=>!0,shouldShowSelectionColumn:()=>!0};function vd(l,B){return typeof B.field=="function"?B.field(l):l[B.field]}function Ai(l,B){return typeof l.visible=="function"?l.visible(B):l.visible!==!1}function _r(l,B){return typeof l.disabled=="function"?l.disabled(B):!!l.disabled}function aa(l,B,t,b){return l.filter(m=>Ai(m,B)&&(m.position===t||m.position==="both")&&(!b||m.columnName===b))}function vn(l,B){return _r(l,B)?"grey":l.color||"primary"}function yn(l,B,t,b="action"){return l.testId?typeof l.testId=="function"?l.testId(B):l.testId:`${b}-${l.id}-${B[t]}`}function ur(l,B){return l[B]||String(l.id)||String(l._id)||JSON.stringify(l)}function yd(l,B,t){const b=ur(l,t);return B.some(m=>ur(m,t)===b)}function wd(l,B){const t=y.ref(new Set);return(()=>{if(B&&typeof localStorage<"u")try{const a=localStorage.getItem(B);if(a){const o=JSON.parse(a),d=new Set(Object.keys(o).filter(h=>o[h]));t.value=d;return}}catch(a){console.warn("Error loading column state from localStorage:",a)}l.forEach(a=>{!a.hidden&&!a.isSelectionColumn&&t.value.add(a.name)})})(),B&&y.watch(t,a=>{try{const o={};l.forEach(d=>{o[d.name]=a.has(d.name)}),localStorage.setItem(B,JSON.stringify(o))}catch(o){console.warn("Error saving column state to localStorage:",o)}},{deep:!0}),{visibleColumns:t,toggleColumnVisibility:a=>{const o=new Set(t.value);o.has(a)?o.delete(a):o.add(a),t.value=o},showColumn:a=>{t.value.add(a)},hideColumn:a=>{t.value.delete(a)},showAllColumns:()=>{const a=new Set;l.forEach(o=>{a.add(o.name)}),t.value=a},hideAllColumns:()=>{t.value.clear()},resetColumns:()=>{t.value.clear(),l.forEach(a=>{!a.hidden&&!a.isSelectionColumn&&t.value.add(a.name)}),B&&typeof localStorage<"u"&&localStorage.removeItem(B)},filteredColumns:a=>a.filter(o=>t.value.has(o.name)),isColumnVisible:a=>t.value.has(a)}}function xd(l,B={},t={}){const b=y.ref([]),{persistKey:m="pagination",defaultRowsPerPage:c=100}=B,i=y.ref(!1),s=y.ref(null),n=y.ref({});let e="",r=!1,u=null;const o=(()=>{try{if(!m||typeof localStorage>"u")return{page:1,rowsPerPage:c};const g=localStorage.getItem(m);if(!g)return{page:1,rowsPerPage:c};const p=JSON.parse(g);return{page:p.page&&p.page>0?Number(p.page):1,rowsPerPage:p.rowsPerPage&&p.rowsPerPage>0?Number(p.rowsPerPage):c,sortBy:p.sortBy,descending:p.descending}}catch(g){return console.warn("Failed to restore pagination:",g),{page:1,rowsPerPage:c}}})(),d=y.ref({page:o.page??1,rowsPerPage:o.rowsPerPage??c,rowsNumber:0,rowsPerPageOptions:[5,15,50,100,200],sortBy:o.sortBy,descending:o.descending});y.watch(()=>({page:d.value.page,rowsPerPage:d.value.rowsPerPage,sortBy:d.value.sortBy,descending:d.value.descending}),g=>{if(m)try{localStorage.setItem(m,JSON.stringify(g))}catch(p){console.warn("Failed to save pagination:",p)}},{deep:!0});const h=g=>{const{page:p,rowsPerPage:k,sortBy:C,descending:T}=g.pagination;let D={};y.isRef(t)?D={...t.value}:D={...t};const V=Object.fromEntries(Object.entries({...D,page:p,page_size:k,filter:s.value,...n.value}).filter(([,P])=>P!=null));if(C){const P=Array.isArray(C)?C:[C],N=Array.isArray(T)?T:[T];V.ordering=P.map((q,W)=>`${N[W]?"-":""}${q}`)}return V};return{results:b,pagination:d,loading:i,filter:s,filterSelected:n,onRequest:async g=>{const p=g.force??!1,{page:k,rowsPerPage:C,sortBy:T,descending:D}=g.pagination;if(r&&!p)return;u&&u.abort(),u=new AbortController;const V=h(g),P=JSON.stringify(V);if(!(!p&&P===e&&k===d.value.page&&C===d.value.rowsPerPage)){e=P,r=!0,i.value=!0;try{const N=await l(V);u.signal.aborted||(b.value=N.results??[],d.value.page=k,d.value.rowsPerPage=C,d.value.sortBy=T,d.value.descending=D,d.value.rowsNumber=N.count??0)}catch(N){throw u.signal.aborted||(console.error("Error fetching data:",N),b.value=[],d.value.rowsNumber=0),N}finally{u.signal.aborted||(i.value=!1,r=!1),u=null}}}}}const Sd={key:0,class:"row items-center q-mb-md q-pa-sm bg-blue-1 rounded-borders"},kd={class:"col-auto q-mr-md"},_d={class:"col"},Cd={class:"flex items-center gap-2"},Ad={key:1,class:"row items-center q-mb-sm q-pa-xs bg-grey-2 rounded-borders"},Ed={class:"col"},Md={class:"flex items-center flex-wrap gap-1"},Td={class:"column-container"},Rd={class:"column-label ellipsis"},Bd={key:0,"auto-width":"",class:"q-pa-xs selection-cell"},Id={key:1,"auto-width":"",class:"expand-cell"},Od=["onClick"],Fd={class:"flex items-center"},jd={key:1,class:"text-no-wrap ellipsis"},Dd={colspan:"100%"},Pd=y.defineComponent({__name:"SelfeeTable",props:{columns:{},results:{},pagination:{default:()=>({page:1,rowsPerPage:100,rowsNumber:0,rowsPerPageOptions:[5,15,50,100,200]})},loading:{type:Boolean,default:!1},filter:{default:null},selected:{default:()=>[]},onRequest:{},onSelectionChange:{},onRowDblClick:{},rowKey:{default:"id"},selection:{default:"none"},selectable:{type:Function,default:()=>!0},showSelectAll:{type:Boolean,default:!0},rowClasses:{type:[String,Function],default:void 0},services:{default:()=>({})},conditionals:{default:()=>({})},actions:{type:[Array,Function],default:()=>[]},showSkeleton:{type:Boolean,default:!1},showColumnToggle:{type:Boolean,default:!1},columnStorageKey:{default:void 0},multiSort:{type:Boolean,default:!0},maxSortFields:{default:3},useBuiltInPagination:{type:Boolean,default:!1},fetchDataFn:{type:Function,default:void 0},persistKey:{default:"table-pagination"},defaultRowsPerPage:{default:100},initialParams:{default:()=>({})},filterSelected:{default:()=>({})}},emits:["update:pagination","update:selected","selection-change","data-loaded","loading-change"],setup(l,{expose:B,emit:t}){const b=l,m=t,c=y.ref([]),i=y.ref(b.selected||[]),s=y.ref(!1),n=y.ref(!1),e=y.ref(null),r=y.ref(!0),u=y.ref(""),a=y.ref(null),o=y.useSlots(),d=y.computed(()=>!!o.expanded),{toggleColumnVisibility:h,resetColumns:f,filteredColumns:g,isColumnVisible:p}=wd(b.columns,b.columnStorageKey),k=y.computed(()=>g(b.columns)),C=b.useBuiltInPagination&&b.fetchDataFn?xd(b.fetchDataFn,{persistKey:b.persistKey,defaultRowsPerPage:b.defaultRowsPerPage},b.initialParams):null,T=y.computed(()=>b.useBuiltInPagination&&C?C.results.value||[]:b.results||[]),D=y.computed(()=>b.useBuiltInPagination&&C?C.loading.value:b.loading),V=y.computed({get(){return b.useBuiltInPagination&&C?C.pagination.value:b.pagination},set($){if(b.useBuiltInPagination&&C){C.pagination.value={...C.pagination.value,page:$.page,rowsPerPage:$.rowsPerPage,sortBy:$.sortBy,descending:$.descending};try{localStorage.setItem(b.persistKey||"table-pagination",JSON.stringify({page:$.page,rowsPerPage:$.rowsPerPage,sortBy:$.sortBy,descending:$.descending}))}catch(ie){console.warn("Failed to save pagination:",ie)}}else m("update:pagination",$)}}),P=y.computed(()=>({...bd,...b.conditionals})),N=$=>P.value.shouldShowExpandButton($),q=$=>c.value.includes($[b.rowKey]),W=y.computed(()=>{if(b.selection!=="none")return b.selection}),L=y.computed(()=>b.selection==="none"?!1:P.value.shouldShowSelectionColumn()),A=y.computed(()=>T.value.length===0?!1:typeof b.actions=="function"?!0:b.actions.some($=>Ai($,T.value[0])&&($.position==="row"||$.position==="both"))),M=y.computed(()=>L.value?[{name:"__selection",label:"",field:"__selection",align:"center",sortable:!1,isSelectionColumn:!0},...k.value]:k.value),_=$=>typeof b.selectable=="function"?b.selectable($):b.selectable!==!1,v=$=>yd($,i.value,b.rowKey),x=y.computed(()=>T.value.filter($=>_($))),w=y.computed(()=>x.value.length===0?!1:x.value.every($=>v($))),S=y.computed(()=>i.value.length===0?!1:!w.value&&x.value.some($=>v($)));async function E($=!1){if(!b.useBuiltInPagination||!C)return;a.value&&(clearTimeout(a.value),a.value=null);const ie=JSON.stringify({pagination:V.value,filters:b.filterSelected,search:b.filter});if(!(!$&&ie===u.value)){if(s.value){e.value={pagination:{...V.value}};return}a.value=setTimeout(async()=>{s.value=!0,u.value=ie,m("loading-change",!0);try{if(C.filterSelected&&(C.filterSelected.value={...b.filterSelected}),C.filter&&(C.filter.value=b.filter),await C.onRequest({pagination:{page:V.value.page,rowsPerPage:V.value.rowsPerPage,sortBy:V.value.sortBy,descending:V.value.descending},force:!0}),m("data-loaded",C.results.value),m("loading-change",!1),e.value){const oe={...e.value};e.value=null,oe.pagination&&(V.value=oe.pagination)}}catch(oe){console.error("Error loading data:",oe),m("loading-change",!1)}finally{s.value=!1,a.value=null}},50)}}y.watch(()=>b.filterSelected,$=>{b.useBuiltInPagination&&C&&!r.value&&(C.filterSelected.value={...$},V.value.page===1?E(!0):V.value={...V.value,page:1})},{deep:!0}),y.watch(()=>b.filter,$=>{b.useBuiltInPagination&&C&&!r.value&&(C.filter.value=$,V.value.page===1?E(!0):V.value={...V.value,page:1})}),y.watch(()=>V.value.page,($,ie)=>{b.useBuiltInPagination&&C&&!r.value&&$!==ie&&!n.value&&E(!0)}),y.watch(()=>V.value.rowsPerPage,($,ie)=>{b.useBuiltInPagination&&C&&!r.value&&$!==ie&&E(!0)});function O($){if(b.useBuiltInPagination&&C){if(n.value)return;const ie={...$.pagination};if(ie.sortBy){const le=(Array.isArray(ie.sortBy)?ie.sortBy:[ie.sortBy]).map(ge=>b.columns.find(Ae=>Ae.name===ge)?.sortField||ge);ie.sortBy=le.length===1?le[0]:le}V.value=ie}else b.onRequest&&b.onRequest($)}y.watch(()=>b.selected,$=>{JSON.stringify($)!==JSON.stringify(i.value)&&(i.value=$||[])},{deep:!0}),y.watch(i,$=>{m("update:selected",$),m("selection-change",$)},{deep:!0}),y.onMounted(async()=>{if(b.useBuiltInPagination&&C){try{const $=localStorage.getItem(b.persistKey||"table-pagination");if($){const ie=JSON.parse($);ie.rowsPerPage&&(C.pagination.value={...C.pagination.value,page:ie.page||1,rowsPerPage:ie.rowsPerPage||100,sortBy:ie.sortBy,descending:ie.descending})}}catch($){console.warn("Failed to restore pagination:",$)}b.filterSelected&&(C.filterSelected.value={...b.filterSelected}),b.filter&&(C.filter.value=b.filter),r.value=!1}});function R($,ie){if(!_($))return;const oe=ur($,b.rowKey);ie?i.value.some(le=>ur(le,b.rowKey)===oe)||(i.value=[...i.value,$]):i.value=i.value.filter(le=>ur(le,b.rowKey)!==oe)}function z($){if($){const ie=[...i.value];x.value.forEach(oe=>{v(oe)||ie.push(oe)}),i.value=ie}else{const ie=new Set(x.value.map(oe=>ur(oe,b.rowKey)));i.value=i.value.filter(oe=>!ie.has(ur(oe,b.rowKey)))}}function U(){i.value=[]}const Q=$=>b.rowClasses&&typeof b.rowClasses=="function"?b.rowClasses($):b.rowClasses||"";function j($){return typeof b.actions=="function"?b.actions($):b.actions.filter(ie=>Ai(ie,$))}function Y($){return aa(j($),$,"row")}function F($,ie){return aa(j($),$,"cell",ie)}function I($){if(b.onRowDblClick){b.onRowDblClick($);return}const ie=H($);ie&&!_r(ie,$)&&ie.handler($)}function H($){return j($).find(oe=>oe.id==="edit")}function K($,ie){const oe=F($,ie);for(const le of oe)_r(le,$)||le.handler($)}async function ee($,ie=!1){const oe=$[b.rowKey];if(q($)||ie)c.value=c.value.filter(le=>le!==oe);else if(c.value=[oe],b.services.fetchDetails)try{$.details=await b.services.fetchDetails($)}catch(le){console.error("Error fetching details:",le)}}async function G($,ie){if(!_r($,ie))try{$.isCancel&&await ee(ie,!0),$.handler(ie)}catch(oe){console.error(`Error executing action ${$.id}:`,oe)}}const te=($,ie)=>{if(!ie.sortable)return;const le=b.columns.find(ge=>ge.name===ie.name)?.sortField||ie.name;b.multiSort&&$.ctrlKey?se(le):ce(le)},ce=$=>{const ie=V.value.sortBy,oe=V.value.descending;let le=$,ge;ie===$?oe===!1?ge=!0:oe===!0?(le=void 0,ge=void 0):ge=!1:(le=$,ge=!1),n.value=!0,V.value={...V.value,page:1,sortBy:le,descending:ge},b.useBuiltInPagination&&C?C.onRequest({pagination:{page:V.value.page,rowsPerPage:V.value.rowsPerPage,sortBy:le,descending:ge},force:!0}).finally(()=>{n.value=!1}):b.onRequest&&b.onRequest({pagination:{...V.value,sortBy:le,descending:ge},filter:b.filter})},ue=()=>{const $=V.value.sortBy,ie=V.value.descending;let oe=[];$&&(oe=Array.isArray($)?[...$]:[$]);let le=[];return ie!==void 0&&(le=Array.isArray(ie)?[...ie]:[ie]),{fields:oe,directions:le}},J=$=>$<(b.maxSortFields||3),ae=($,ie)=>{let oe;$.length===0?oe=void 0:$.length===1?oe=$[0]:oe=$;let le;ie.length===0?le=void 0:ie.length===1?le=ie[0]:le=ie,n.value=!0,V.value={...V.value,page:1,sortBy:oe,descending:le},b.useBuiltInPagination&&C?C.onRequest({pagination:{page:1,rowsPerPage:V.value.rowsPerPage,sortBy:oe,descending:le},force:!0}).finally(()=>{n.value=!1}):b.onRequest&&b.onRequest({pagination:{...V.value,page:1,sortBy:oe,descending:le},filter:b.filter??void 0})},se=$=>{const{fields:ie,directions:oe}=ue(),le=ie.indexOf($);if(le===-1){if(!J(ie.length))return;ae([...ie,$],[...oe,!1]);return}if(oe[le]===!1){const ge=[...oe];ge[le]=!0,ae([...ie],ge)}else{const ge=[...ie],Ce=[...oe];ge.splice(le,1),Ce.splice(le,1),ae(ge,Ce)}},pe=$=>{const ie=V.value.sortBy,oe=V.value.descending;if(!ie)return{direction:null,order:0};const ge=b.columns.find(Ne=>Ne.name===$)?.sortField||$,Ce=Array.isArray(ie)?ie:[ie],Ae=Array.isArray(oe)?oe:[oe],Te=Ce.indexOf(ge);if(Te===-1)return{direction:null,order:0};const Ue=Ce.length>1;return{direction:Ae[Te]?"desc":"asc",order:Ue?Te+1:0}};return B({clearSelection:U,getSelectedRows:()=>i.value,toggleRowSelection:R,toggleSelectAll:z,toggleColumnVisibility:h,resetColumns:f,refresh:()=>E(!0),getSortIndicator:pe,clearSort:()=>{V.value={...V.value,page:1,sortBy:void 0,descending:void 0}},expandRow:$=>ee($)}),($,ie)=>(y.openBlock(),y.createElementBlock(y.Fragment,null,[i.value.length>0?(y.openBlock(),y.createElementBlock("div",Sd,[y.createElementVNode("div",kd,[y.createVNode(Ci,{color:"primary",class:"q-pa-xs"},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(i.value.length)+" sélectionné(s) ",1)]),_:1})]),y.createElementVNode("div",_d,[y.createElementVNode("div",Cd,[y.renderSlot($.$slots,"selection-actions",{selected:i.value,clearSelection:U},()=>[y.createVNode(ut,{dense:"",icon:"mdi-close",label:"Effacer",onClick:U,size:"sm"})],!0)])])])):y.createCommentVNode("",!0),$.showColumnToggle&&$.columns.length>0?(y.openBlock(),y.createElementBlock("div",Ad,[ie[2]||(ie[2]=y.createElementVNode("div",{class:"col-auto q-mr-sm"},[y.createElementVNode("span",{class:"text-caption text-grey-7"},"Colonnes:")],-1)),y.createElementVNode("div",Ed,[y.createElementVNode("div",Md,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList($.columns.filter(oe=>!oe.isSelectionColumn),oe=>(y.openBlock(),y.createBlock(qa,{key:oe.name,clickable:"",color:y.unref(p)(oe.name)?"primary":"grey-5","text-color":"white",icon:y.unref(p)(oe.name)?"visibility":"visibility_off",size:"sm",onClick:le=>y.unref(h)(oe.name)},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(oe.label),1)]),_:2},1032,["color","icon","onClick"]))),128)),$.columnStorageKey?(y.openBlock(),y.createBlock(ut,{key:0,flat:"",dense:"",size:"sm",icon:"refresh",color:"grey",onClick:y.unref(f)},{default:y.withCtx(()=>[y.createVNode(zr,null,{default:y.withCtx(()=>ie[1]||(ie[1]=[y.createTextVNode("Réinitialiser les colonnes")])),_:1,__:[1]})]),_:1},8,["onClick"])):y.createCommentVNode("",!0)])])])):y.createCommentVNode("",!0),y.createVNode(pd,{pagination:V.value,"onUpdate:pagination":ie[0]||(ie[0]=oe=>V.value=oe),columns:M.value,rows:T.value,filter:$.filter,"row-key":$.rowKey,"binary-state-sort":"","rows-per-page-options":V.value.rowsPerPageOptions,onRequest:O,loading:D.value,"hide-no-data":D.value,onHeaderClick:te,class:"q-mb-xl",flat:"",bordered:""},{header:y.withCtx(oe=>[y.createVNode(gn,{props:oe},{default:y.withCtx(()=>[L.value?(y.openBlock(),y.createBlock(Ur,{key:0,"auto-width":"",class:"selection-column"},{default:y.withCtx(()=>[W.value==="multiple"?(y.openBlock(),y.createBlock(Er,{key:0,"model-value":w.value,indeterminate:S.value,"onUpdate:modelValue":z,disabled:D.value||x.value.length===0,"data-cy":"select-all-checkbox",dense:"",size:"sm"},null,8,["model-value","indeterminate","disabled"])):y.createCommentVNode("",!0)]),_:1})):y.createCommentVNode("",!0),d.value?(y.openBlock(),y.createBlock(Ur,{key:1,"auto-width":"",class:"expand-column"})):y.createCommentVNode("",!0),(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(oe.cols.filter(le=>!le.isSelectionColumn),le=>(y.openBlock(),y.createBlock(Ur,{key:le.name,props:oe,class:"column-header",onClick:ge=>te(ge,le)},{default:y.withCtx(()=>[y.createElementVNode("div",Td,[y.createElementVNode("span",Rd,y.toDisplayString(le.label),1),le.sortable?(y.openBlock(),y.createElementBlock("div",{key:0,class:y.normalizeClass(["sort-indicator",{active:pe(le.name).direction!==null}])},[pe(le.name).direction===null?(y.openBlock(),y.createBlock(gt,{key:0,name:"unfold_more",size:"16px",class:"q-ml-xs sort-hover-icon"})):pe(le.name).direction==="asc"?(y.openBlock(),y.createBlock(gt,{key:1,name:"arrow_upward",size:"16px",class:"q-ml-xs sort-active-icon"})):pe(le.name).direction==="desc"?(y.openBlock(),y.createBlock(gt,{key:2,name:"arrow_downward",size:"16px",class:"q-ml-xs sort-active-icon"})):y.createCommentVNode("",!0),pe(le.name).order>0?(y.openBlock(),y.createElementBlock("span",{key:3,class:y.normalizeClass(["sort-order-badge",{"two-digits":pe(le.name).order>9}])},y.toDisplayString(pe(le.name).order),3)):y.createCommentVNode("",!0)],2)):y.createCommentVNode("",!0),$.showColumnToggle?(y.openBlock(),y.createBlock(ut,{key:1,flat:"",dense:"",size:"xs",icon:"visibility_off",onClick:y.withModifiers(ge=>y.unref(h)(le.name),["stop"]),class:"column-close-btn"},{default:y.withCtx(()=>[y.createVNode(zr,null,{default:y.withCtx(()=>ie[3]||(ie[3]=[y.createTextVNode("Cacher cette colonne")])),_:1,__:[3]})]),_:2},1032,["onClick"])):y.createCommentVNode("",!0)])]),_:2},1032,["props","onClick"]))),128)),A.value?(y.openBlock(),y.createBlock(Ur,{key:2,"auto-width":"",class:"actions-column"},{default:y.withCtx(()=>ie[4]||(ie[4]=[y.createTextVNode(" Actions ")])),_:1,__:[4]})):y.createCommentVNode("",!0)]),_:2},1032,["props"])]),body:y.withCtx(oe=>[$.showSkeleton?(y.openBlock(),y.createElementBlock(y.Fragment,{key:0},y.renderList(5,le=>y.createVNode(gn,{key:`skeleton-${le}`},{default:y.withCtx(()=>[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(M.value.filter(ge=>!ge.isSelectionColumn),ge=>(y.openBlock(),y.createBlock(ci,{key:ge.name},{default:y.withCtx(()=>[y.createVNode(ra,{type:"text"})]),_:2},1024))),128)),A.value?(y.openBlock(),y.createBlock(ci,{key:0},{default:y.withCtx(()=>[y.createVNode(ra,{type:"QBtn"})]),_:1})):y.createCommentVNode("",!0)]),_:2},1024)),64)):(y.openBlock(),y.createBlock(gn,{key:1,"data-cy":`row-${oe.row[$.rowKey]}`,props:oe,class:y.normalizeClass([{"bg-grey-3":oe.row.archived},Q(oe.row),v(oe.row)?"selected-row":""]),onDblclick:le=>I(oe.row)},{default:y.withCtx(()=>[L.value?(y.openBlock(),y.createElementBlock("td",Bd,[y.createVNode(Er,{"model-value":v(oe.row),"onUpdate:modelValue":le=>R(oe.row,le),disabled:!_(oe.row),"data-cy":`row-checkbox-${oe.row[$.rowKey]}`,dense:"",size:"sm"},null,8,["model-value","onUpdate:modelValue","disabled","data-cy"])])):y.createCommentVNode("",!0),d.value?(y.openBlock(),y.createElementBlock("td",Id,[y.renderSlot($.$slots,"expand-button",{row:oe.row,expanded:q(oe.row),toggle:()=>ee(oe.row)},()=>[N(oe.row)?(y.openBlock(),y.createBlock(ut,{key:0,"data-cy":`expand-button-${oe.row[$.rowKey]}`,size:"sm",color:"primary",round:"",dense:"",icon:q(oe.row)?"remove":"add",onClick:le=>ee(oe.row)},null,8,["data-cy","icon","onClick"])):y.createCommentVNode("",!0)],!0)])):y.createCommentVNode("",!0),(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(oe.cols.filter(le=>!le.isSelectionColumn),le=>(y.openBlock(),y.createElementBlock("td",{key:le.name,onClick:y.withModifiers(ge=>K(oe.row,le.name),["stop"]),class:"data-cell"},[y.renderSlot($.$slots,"body-cell",{row:oe.row,col:le,value:y.unref(qt)(oe.row,le).value,badgeConfig:y.unref(qt)(oe.row,le).badgeConfig},()=>[y.createElementVNode("div",Fd,[y.unref(qt)(oe.row,le).badgeConfig?(y.openBlock(),y.createBlock(Ci,{key:0,color:y.unref(qt)(oe.row,le).badgeConfig?.color,outline:y.unref(qt)(oe.row,le).badgeConfig?.outline,rounded:y.unref(qt)(oe.row,le).badgeConfig?.rounded,size:y.unref(qt)(oe.row,le).badgeConfig?.size,icon:y.unref(qt)(oe.row,le).badgeConfig?.icon,class:y.normalizeClass(y.unref(qt)(oe.row,le).badgeConfig?.class)},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(y.unref(qt)(oe.row,le).badgeConfig?.label),1)]),_:2},1032,["color","outline","rounded","size","icon","class"])):(y.openBlock(),y.createElementBlock("span",jd,y.toDisplayString(y.unref(qt)(oe.row,le).value),1)),(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(F(oe.row,le.name),ge=>(y.openBlock(),y.createElementBlock(y.Fragment,{key:ge.id},[ge.isButton?(y.openBlock(),y.createBlock(ut,y.mergeProps({key:0,color:y.unref(vn)(ge,oe.row),size:ge.size||"sm",class:ge.class,disabled:y.unref(_r)(ge,oe.row),label:ge.label},{ref_for:!0},ge.buttonProps||{},{"data-cy":y.unref(yn)(ge,oe.row,$.rowKey),onClick:y.withModifiers(Ce=>G(ge,oe.row),["stop"])}),null,16,["color","size","class","disabled","label","data-cy","onClick"])):(y.openBlock(),y.createBlock(gt,{key:1,class:"cursor-pointer q-ml-sm",name:ge.icon,color:y.unref(vn)(ge,oe.row),size:ge.size||"20px","data-cy":y.unref(yn)(ge,oe.row,$.rowKey,"cell-icon"),onClick:y.withModifiers(Ce=>G(ge,oe.row),["stop"])},{default:y.withCtx(()=>[ge.label?(y.openBlock(),y.createBlock(zr,{key:0},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(ge.label),1)]),_:2},1024)):y.createCommentVNode("",!0)]),_:2},1032,["name","color","size","data-cy","onClick"]))],64))),128))])],!0)],8,Od))),128)),y.createVNode(ci,{class:y.normalizeClass(["row items-center justify-center no-wrap actions-cell",Q(oe.row)])},{default:y.withCtx(()=>[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(Y(oe.row),le=>(y.openBlock(),y.createElementBlock(y.Fragment,{key:le.id},[le.isButton?(y.openBlock(),y.createBlock(ut,y.mergeProps({key:0,color:y.unref(vn)(le,oe.row),size:le.size||"sm",class:le.class,disabled:y.unref(_r)(le,oe.row),label:le.label},{ref_for:!0},le.buttonProps||{},{"data-cy":y.unref(yn)(le,oe.row,$.rowKey),onClick:y.withModifiers(ge=>G(le,oe.row),["stop"])}),null,16,["color","size","class","disabled","label","data-cy","onClick"])):(y.openBlock(),y.createBlock(gt,{key:1,class:"cursor-pointer q-mr-sm",name:le.icon,color:y.unref(vn)(le,oe.row),size:le.size||"25px","data-cy":y.unref(yn)(le,oe.row,$.rowKey,"icon"),onClick:y.withModifiers(ge=>G(le,oe.row),["stop"])},{default:y.withCtx(()=>[le.label?(y.openBlock(),y.createBlock(zr,{key:0},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(le.label),1)]),_:2},1024)):y.createCommentVNode("",!0)]),_:2},1032,["name","color","size","data-cy","onClick"]))],64))),128))]),_:2},1032,["class"])]),_:2},1032,["data-cy","props","class","onDblclick"])),d.value&&q(oe.row)?(y.openBlock(),y.createBlock(gn,{key:2},{default:y.withCtx(()=>[y.createElementVNode("td",Dd,[y.renderSlot($.$slots,"expanded",{row:oe.row},void 0,!0)])]),_:2},1024)):y.createCommentVNode("",!0)]),_:3},8,["pagination","columns","rows","filter","row-key","rows-per-page-options","loading","hide-no-data"])],64))}}),Nd=Ht(Pd,[["__scopeId","data-v-ea36456d"]]),Ld={sm:"18px",md:"22px",lg:"28px"},Vd={class:"stat-card__content"},qd={key:0,class:"stat-card__header"},zd={key:0,class:"stat-card__unit"},Ud=y.defineComponent({__name:"StatCard",props:{size:{default:"md"},title:{},titleSize:{default:"md"},icon:{},iconColor:{default:"grey-7"},iconSize:{default:"md"},dotColor:{},value:{},unit:{},valueColor:{},bodySize:{default:"md"},subtitle:{},subtitleSize:{default:"md"}},setup(l){return(B,t)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["stat-card",`stat-card--${B.size}`])},[B.icon?(y.openBlock(),y.createBlock(gt,{key:0,name:B.icon,color:B.iconColor,size:y.unref(Ld)[B.iconSize],class:"stat-card__icon"},null,8,["name","color","size"])):y.createCommentVNode("",!0),y.createElementVNode("div",Vd,[B.dotColor||B.title?(y.openBlock(),y.createElementBlock("div",qd,[B.dotColor?(y.openBlock(),y.createElementBlock("span",{key:0,class:"stat-card__dot",style:y.normalizeStyle({backgroundColor:B.dotColor})},null,4)):y.createCommentVNode("",!0),B.title?(y.openBlock(),y.createElementBlock("span",{key:1,class:y.normalizeClass(["stat-card__title",`stat-card__title--${B.titleSize}`])},y.toDisplayString(B.title),3)):y.createCommentVNode("",!0)])):y.createCommentVNode("",!0),y.createElementVNode("div",{class:y.normalizeClass(["stat-card__body",`stat-card__body--${B.bodySize}`])},[y.renderSlot(B.$slots,"default",{},()=>[y.createElementVNode("span",{style:y.normalizeStyle(B.valueColor?{color:B.valueColor}:{})},y.toDisplayString(B.value),5),B.unit?(y.openBlock(),y.createElementBlock("span",zd,y.toDisplayString(B.unit),1)):y.createCommentVNode("",!0)],!0)],2),B.$slots.footer||B.subtitle?(y.openBlock(),y.createElementBlock("div",{key:1,class:y.normalizeClass(["stat-card__footer",`stat-card__footer--${B.subtitleSize}`])},[y.renderSlot(B.$slots,"footer",{},()=>[y.createTextVNode(y.toDisplayString(B.subtitle),1)],!0)],2)):y.createCommentVNode("",!0)])],2))}}),Wd=Ht(Ud,[["__scopeId","data-v-428727db"]]);exports.Breadcrumbs=qs;exports.CheckboxFilter=hu;exports.ConfirmDeleteDialog=Sf;exports.DATE_FORMAT_REGEX=cs;exports.DatePicker=Tc;exports.DateRange=ps;exports.DynamicTeleport=Af;exports.ExportButton=Kc;exports.ExportPerimeterButton=Xc;exports.Layout=Zi;exports.LoginLayout=af;exports.NavButton=il;exports.PersistentDateRange=Nf;exports.ResetFiltersButton=bf;exports.SelectProjectLayout=df;exports.SelectSearch=pu;exports.SelectYear=mu;exports.SelfeeCard=Mf;exports.SelfeeFooter=Mu;exports.SelfeeHeader=Su;exports.SelfeeLoader=gf;exports.SelfeeTable=Nd;exports.SmartFilters=Pf;exports.StatCard=Wd;exports.UserAvatar=Lu;exports.createBreadcrumb=kc;exports.datePresets=hs;exports.dateRangeUtils=Kt;exports.dateWithoutTimezone=_c;exports.defaultLocale=fs;exports.defaultProjects=ys;exports.defaultProps=ws;exports.formatDate=qr;exports.formatDateToDDMMYYYY=zt;exports.formatToISODateTime=Ec;exports.getFirstDayOfMonth=jn;exports.getLastDayOfMonth=Dn;exports.getLastThreeFullMonths=ds;exports.isDateSelectable=no;exports.parseDate=Cc;exports.parseISODateTime=Ac;
|
|
57
|
+
*/function c(i){return i>=65&&i<=90||i===95||i>=97&&i<=122||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8204&&i<=8205||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}Object.defineProperty(m,"__esModule",{value:!0}),m.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",m.NC_NAME_CHAR="-"+m.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",m.NC_NAME_START_CHAR_RE=new RegExp("^["+m.NC_NAME_START_CHAR+"]$","u"),m.NC_NAME_CHAR_RE=new RegExp("^["+m.NC_NAME_CHAR+"]$","u"),m.NC_NAME_RE=new RegExp("^["+m.NC_NAME_START_CHAR+"]["+m.NC_NAME_CHAR+"]*$","u"),m.isNCNameStartChar=c,m.isNCNameChar=function(i){return c(i)||i===45||i===46||i>=48&&i<=57||i===183||i>=768&&i<=879||i>=8255&&i<=8256}},{}]},{},[15])(15)})}(ui)),ui.exports}var Yc=Hc();const ms=Wc(Yc),gs=l=>{if(l==null||typeof l!="object")return l;if(l instanceof Date)return as.formatDate(l,"DD-MM-YYYY HH:mm");if(Array.isArray(l))return l.map(t=>gs(t)).join(", ");const B=["name","title","label","value","id","code"];for(const t of B)if(l[t]!==void 0&&l[t]!==null)return l[t];try{return JSON.stringify(l)}catch{return"[Complex Object]"}},Qc=async l=>{const{data:B,columns:t,fileNamePrefix:b,filters:m={}}=l,c=new ms.Workbook,i=c.addWorksheet("Données");if(i.columns=t.map(d=>({header:d.label,key:d.label,width:d.width||20})),B.forEach(d=>{const h={};t.forEach(f=>{let g;typeof f.field=="function"?g=f.field(d):g=d[f.field],g=f.format?f.format(g,d):gs(g),h[f.label]=g}),i.addRow(h)}),Object.keys(m).length>0){const d=c.addWorksheet("Filtres");d.addRow(["Filtres appliqués:"]),Object.entries(m).filter(([h,f])=>f!=null&&f!=="").forEach(([h,f])=>{d.addRow([h,String(f)])})}const s=as.formatDate(new Date,"DD-MM-YYYY"),n=Object.entries(m).filter(([d,h])=>h!=null&&h!=="").map(([d,h])=>`${d}_${h}`),e=`${b}_${s}${n.length?`_${n.join("_")}`:""}.xlsx`,r=await c.xlsx.writeBuffer(),u=new Blob([r],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),a=URL.createObjectURL(u),o=document.createElement("a");o.href=a,o.download=e,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(a)},Kc=y.defineComponent({__name:"ExportButton",props:{data:{},columns:{},fileNamePrefix:{},filters:{default:()=>({})},color:{default:"positive"},label:{default:"Exporter en Excel"},disabled:{type:Boolean,default:!1},beforeExport:{},onSuccess:{},onError:{}},emits:["success","error"],setup(l,{emit:B}){const t=l,b=B,m=y.useAttrs(),c=y.ref(!1),i=y.computed(()=>{const{label:n,disabled:e,...r}=m;return r}),s=async()=>{if(!c.value){c.value=!0;try{await t.beforeExport?.(),await Qc(t),t.onSuccess?.(),b("success")}catch(n){t.onError?.(n),b("error",n)}finally{c.value=!1}}};return(n,e)=>(y.openBlock(),y.createBlock(ut,y.mergeProps({color:n.color,icon:"file_download",label:n.label,loading:c.value,disable:n.disabled||c.value},i.value,{"data-cy":"export-excel-button",onClick:s}),null,16,["color","label","loading","disable"]))}}),zr=$e({name:"QTooltip",inheritAttrs:!1,props:{...Ma,...Vi,...Wr,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...Wr.transitionShow,default:"jump-down"},transitionHide:{...Wr.transitionHide,default:"jump-up"},anchor:{type:String,default:"bottom middle",validator:Rn},self:{type:String,default:"top middle",validator:Rn},offset:{type:Array,default:()=>[14,14],validator:Na},scrollTarget:Ln,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...qi],setup(l,{slots:B,emit:t,attrs:b}){let m,c;const i=y.getCurrentInstance(),{proxy:{$q:s}}=i,n=y.ref(null),e=y.ref(!1),r=y.computed(()=>Bn(l.anchor,s.lang.rtl)),u=y.computed(()=>Bn(l.self,s.lang.rtl)),a=y.computed(()=>l.persistent!==!0),{registerTick:o,removeTick:d}=Hi(),{registerTimeout:h}=Yi(),{transitionProps:f,transitionStyle:g}=Wi(l),{localScrollTarget:p,changeScrollEvent:k,unconfigureScrollTarget:C}=Ra(l,E),{anchorEl:T,canShow:D,anchorEvents:V}=Li({showing:e,configureAnchorEl:S}),{show:P,hide:N}=zi({showing:e,canShow:D,handleShow:A,handleHide:M,hideOnRouteChange:a,processOnMount:!0});Object.assign(V,{delayShow:x,delayHide:w});const{showPortal:q,hidePortal:W,renderPortal:L}=Ui(i,n,R,"tooltip");if(s.platform.is.mobile===!0){const z={anchorEl:T,innerRef:n,onClickOutside(Q){return N(Q),Q.target.classList.contains("q-dialog__backdrop")&&St(Q),!0}},U=y.computed(()=>l.modelValue===null&&l.persistent!==!0&&e.value===!0);y.watch(U,Q=>{(Q===!0?Pa:Tn)(z)}),y.onBeforeUnmount(()=>{Tn(z)})}function A(z){q(),o(()=>{c=new MutationObserver(()=>v()),c.observe(n.value,{attributes:!1,childList:!0,characterData:!0,subtree:!0}),v(),E()}),m===void 0&&(m=y.watch(()=>s.screen.width+"|"+s.screen.height+"|"+l.self+"|"+l.anchor+"|"+s.lang.rtl,v)),h(()=>{q(!0),t("show",z)},l.transitionDuration)}function M(z){d(),W(),_(),h(()=>{W(!0),t("hide",z)},l.transitionDuration)}function _(){c!==void 0&&(c.disconnect(),c=void 0),m!==void 0&&(m(),m=void 0),C(),fr(V,"tooltipTemp")}function v(){Qi({targetEl:n.value,offset:l.offset,anchorEl:T.value,anchorOrigin:r.value,selfOrigin:u.value,maxHeight:l.maxHeight,maxWidth:l.maxWidth})}function x(z){if(s.platform.is.mobile===!0){Cn(),document.body.classList.add("non-selectable");const U=T.value,Q=["touchmove","touchcancel","touchend","click"].map(j=>[U,j,"delayHide","passiveCapture"]);Xt(V,"tooltipTemp",Q)}h(()=>{P(z)},l.delay)}function w(z){s.platform.is.mobile===!0&&(fr(V,"tooltipTemp"),Cn(),setTimeout(()=>{document.body.classList.remove("non-selectable")},10)),h(()=>{N(z)},l.hideDelay)}function S(){if(l.noParentEvent===!0||T.value===null)return;const z=s.platform.is.mobile===!0?[[T.value,"touchstart","delayShow","passive"]]:[[T.value,"mouseenter","delayShow","passive"],[T.value,"mouseleave","delayHide","passive"]];Xt(V,"anchor",z)}function E(){if(T.value!==null||l.scrollTarget!==void 0){p.value=Vn(T.value,l.scrollTarget);const z=l.noParentEvent===!0?v:N;k(p.value,z)}}function O(){return e.value===!0?y.h("div",{...b,ref:n,class:["q-tooltip q-tooltip--style q-position-engine no-pointer-events",b.class],style:[b.style,g.value],role:"tooltip"},bt(B.default)):null}function R(){return y.h(y.Transition,f.value,O)}return y.onBeforeUnmount(_),Object.assign(i.proxy,{updatePosition:v}),L}}),Xc=y.defineComponent({name:"ExportPerimeterButton",__name:"ExportPerimeterButton",props:{label:{default:"Exporter"},disabled:{type:Boolean,default:!1},disabledTooltip:{default:void 0},exportFn:{},onSuccess:{type:Function,default:void 0},onError:{type:Function,default:void 0}},setup(l){const B=l,t=y.ref(!1);async function b(){t.value=!0;try{const{blob:m,fileName:c}=await B.exportFn(),i=URL.createObjectURL(m),s=document.createElement("a");s.href=i,s.download=c,document.body.appendChild(s),s.click(),s.remove(),setTimeout(()=>URL.revokeObjectURL(i),100),B.onSuccess?.()}catch(m){B.onError?.(m)}finally{t.value=!1}}return(m,c)=>(y.openBlock(),y.createBlock(ut,{unelevated:"",color:"positive",label:m.label,loading:t.value,disable:m.disabled||t.value,"data-cy":"export-perimeter-button",onClick:b},{default:y.withCtx(()=>[m.disabled&&m.disabledTooltip?(y.openBlock(),y.createBlock(zr,{key:0},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(m.disabledTooltip),1)]),_:1})):y.createCommentVNode("",!0)]),_:1},8,["label","loading","disable"]))}}),Gc=$e({name:"QForm",props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean,onSubmit:Function},emits:["reset","validationSuccess","validationError"],setup(l,{slots:B,emit:t}){const b=y.getCurrentInstance(),m=y.ref(null);let c=0;const i=[];function s(o){const d=typeof o=="boolean"?o:l.noErrorFocus!==!0,h=++c,f=(k,C)=>{t(`validation${k===!0?"Success":"Error"}`,C)},g=k=>{const C=k.validate();return typeof C.then=="function"?C.then(T=>({valid:T,comp:k}),T=>({valid:!1,comp:k,err:T})):Promise.resolve({valid:C,comp:k})};return(l.greedy===!0?Promise.all(i.map(g)).then(k=>k.filter(C=>C.valid!==!0)):i.reduce((k,C)=>k.then(()=>g(C).then(T=>{if(T.valid===!1)return Promise.reject(T)})),Promise.resolve()).catch(k=>[k])).then(k=>{if(k===void 0||k.length===0)return h===c&&f(!0),!0;if(h===c){const{comp:C,err:T}=k[0];if(T!==void 0&&console.error(T),f(!1,C),d===!0){const D=k.find(({comp:V})=>typeof V.focus=="function"&&Ri(V.$)===!1);D!==void 0&&D.comp.focus()}}return!1})}function n(){c++,i.forEach(o=>{typeof o.resetValidation=="function"&&o.resetValidation()})}function e(o){o!==void 0&&St(o);const d=c+1;s().then(h=>{d===c&&h===!0&&(l.onSubmit!==void 0?t("submit",o):o?.target!==void 0&&typeof o.target.submit=="function"&&o.target.submit())})}function r(o){o!==void 0&&St(o),t("reset"),y.nextTick(()=>{n(),l.autofocus===!0&&l.noResetFocus!==!0&&u()})}function u(){Jr(()=>{if(m.value===null)return;(m.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]")||m.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]")||m.value.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(m.value.querySelectorAll("[tabindex]"),d=>d.tabIndex!==-1))?.focus({preventScroll:!0})})}y.provide(Va,{bindComponent(o){i.push(o)},unbindComponent(o){const d=i.indexOf(o);d!==-1&&i.splice(d,1)}});let a=!1;return y.onDeactivated(()=>{a=!0}),y.onActivated(()=>{a===!0&&l.autofocus===!0&&u()}),y.onMounted(()=>{l.autofocus===!0&&u()}),Object.assign(b.proxy,{validate:s,resetValidation:n,submit:e,reset:r,focus:u,getValidationComponents:()=>i}),()=>y.h("form",{class:"q-form",ref:m,onSubmit:e,onReset:r},bt(B.default))}}),bs=$e({name:"QPage",props:{padding:Boolean,styleFn:Function},setup(l,{slots:B}){const{proxy:{$q:t}}=y.getCurrentInstance(),b=y.inject($r,Rt);if(b===Rt)return console.error("QPage needs to be a deep child of QLayout"),Rt;if(y.inject(La,Rt)===Rt)return console.error("QPage needs to be child of QPageContainer"),Rt;const c=y.computed(()=>{const s=(b.header.space===!0?b.header.size:0)+(b.footer.space===!0?b.footer.size:0);if(typeof l.styleFn=="function"){const n=b.isContainer.value===!0?b.containerHeight.value:t.screen.height;return l.styleFn(s,n)}return{minHeight:b.isContainer.value===!0?b.containerHeight.value-s+"px":t.screen.height===0?s!==0?`calc(100vh - ${s}px)`:"100vh":t.screen.height-s+"px"}}),i=y.computed(()=>`q-page${l.padding===!0?" q-layout-padding":""}`);return()=>y.h("main",{class:i.value,style:c.value},bt(B.default))}}),Jc="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20$$$/GeneralStr/196=Adobe%20Illustrator%2027.6.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Calque_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%20283.46%20106.16'%20style='enable-background:new%200%200%20283.46%20106.16;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23312783;}%20.st1{clip-path:url(%23SVGID_00000045611852752240487530000015327764237627392946_);}%20.st2{fill:%232A4D8E;}%20.st3{fill:%23187396;}%20.st4{fill:%230D9695;}%20.st5{fill:%23E52322;}%20%3c/style%3e%3cg%3e%3cg%3e%3cpath%20class='st0'%20d='M119.92,85.75v-8.18h2.31c0.71,0,1.34,0.16,1.89,0.47c0.55,0.31,0.97,0.76,1.27,1.34%20c0.3,0.58,0.45,1.25,0.45,2v0.52c0,0.77-0.15,1.45-0.45,2.03c-0.3,0.58-0.72,1.03-1.27,1.34c-0.55,0.31-1.2,0.47-1.93,0.48H119.92%20z%20M121,78.46v6.41h1.13c0.83,0,1.48-0.26,1.94-0.78c0.46-0.52,0.69-1.25,0.69-2.21v-0.48c0-0.93-0.22-1.65-0.65-2.17%20c-0.44-0.51-1.06-0.78-1.86-0.78H121z'/%3e%3cpath%20class='st0'%20d='M132.66,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3cpath%20class='st0'%20d='M139.65,84.87h3.87v0.88h-4.96v-8.18h1.08V84.87z'/%3e%3cpath%20class='st0'%20d='M143.36,79.88l-0.59-0.4c0.35-0.49,0.53-1,0.54-1.54v-0.81h1.03v0.73c0,0.37-0.1,0.75-0.28,1.12%20C143.88,79.35,143.64,79.65,143.36,79.88z'/%3e%3cpath%20class='st0'%20d='M150.94,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z%20M149.36,75.33h1.26%20l-1.51,1.65l-0.84,0L149.36,75.33z'/%3e%3cpath%20class='st0'%20d='M159.71,85.75h-1.08l-4.12-6.3v6.3h-1.08v-8.18h1.08l4.13,6.33v-6.33h1.07V85.75z'/%3e%3cpath%20class='st0'%20d='M166.82,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3cpath%20class='st0'%20d='M172.31,82.45h-1.92v3.31h-1.08v-8.18h2.71c0.92,0,1.63,0.21,2.12,0.63c0.5,0.42,0.74,1.03,0.74,1.83%20c0,0.51-0.14,0.95-0.41,1.33c-0.28,0.38-0.66,0.66-1.15,0.85l1.92,3.47v0.07h-1.16L172.31,82.45z%20M170.39,81.56h1.66%20c0.53,0,0.96-0.14,1.28-0.42c0.32-0.28,0.47-0.65,0.47-1.11c0-0.51-0.15-0.89-0.45-1.16c-0.3-0.27-0.74-0.41-1.31-0.41h-1.65%20V81.56z'/%3e%3cpath%20class='st0'%20d='M183.01,84.68c-0.28,0.4-0.66,0.69-1.16,0.89c-0.5,0.2-1.07,0.29-1.73,0.29c-0.67,0-1.26-0.16-1.77-0.47%20c-0.52-0.31-0.92-0.76-1.2-1.33c-0.28-0.58-0.43-1.24-0.44-2v-0.71c0-1.23,0.29-2.19,0.86-2.86c0.57-0.68,1.38-1.02,2.42-1.02%20c0.85,0,1.54,0.22,2.06,0.65c0.52,0.44,0.84,1.05,0.95,1.86h-1.08c-0.2-1.09-0.85-1.63-1.93-1.63c-0.72,0-1.27,0.25-1.64,0.76%20c-0.37,0.51-0.56,1.24-0.56,2.21v0.67c0,0.92,0.21,1.65,0.63,2.19c0.42,0.54,0.99,0.81,1.7,0.81c0.4,0,0.76-0.05,1.06-0.13%20c0.3-0.09,0.55-0.24,0.75-0.45v-1.83h-1.89v-0.88h2.96V84.68z'/%3e%3cpath%20class='st0'%20d='M186.53,85.75h-1.08v-8.18h1.08V85.75z'/%3e%3cpath%20class='st0'%20d='M193.7,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3cpath%20class='st0'%20d='M204.13,83.61h-3.43l-0.77,2.14h-1.11l3.12-8.18h0.94l3.13,8.18h-1.11L204.13,83.61z%20M203.03,77.05l-0.89,0%20l-1.45-1.65h1.25L203.03,77.05z%20M201.03,82.73h2.78l-1.39-3.82L201.03,82.73z'/%3e%3cpath%20class='st0'%20d='M214.11,82.45h-1.92v3.31h-1.08v-8.18h2.71c0.92,0,1.63,0.21,2.12,0.63c0.5,0.42,0.74,1.03,0.74,1.83%20c0,0.51-0.14,0.95-0.41,1.33c-0.28,0.38-0.66,0.66-1.15,0.85l1.92,3.47v0.07h-1.16L214.11,82.45z%20M212.19,81.56h1.66%20c0.53,0,0.96-0.14,1.28-0.42c0.32-0.28,0.47-0.65,0.47-1.11c0-0.51-0.15-0.89-0.45-1.16c-0.3-0.27-0.74-0.41-1.31-0.41h-1.65%20V81.56z'/%3e%3cpath%20class='st0'%20d='M223.39,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3cpath%20class='st0'%20d='M228.58,84.32l2.34-6.74h1.18l-3.03,8.18h-0.96l-3.03-8.18h1.17L228.58,84.32z'/%3e%3cpath%20class='st0'%20d='M238.39,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3cpath%20class='st0'%20d='M247.16,85.75h-1.08l-4.12-6.3v6.3h-1.08v-8.18h1.08l4.13,6.33v-6.33h1.07V85.75z'/%3e%3cpath%20class='st0'%20d='M249.65,85.75v-8.18h2.31c0.71,0,1.34,0.16,1.89,0.47c0.55,0.31,0.97,0.76,1.27,1.34%20c0.3,0.58,0.45,1.25,0.45,2v0.52c0,0.77-0.15,1.45-0.45,2.03c-0.3,0.58-0.72,1.03-1.27,1.34c-0.55,0.31-1.2,0.47-1.93,0.48H249.65%20z%20M250.73,78.46v6.41h1.13c0.83,0,1.48-0.26,1.94-0.78c0.46-0.52,0.69-1.25,0.69-2.21v-0.48c0-0.93-0.22-1.65-0.65-2.17%20c-0.44-0.51-1.06-0.78-1.86-0.78H250.73z'/%3e%3cpath%20class='st0'%20d='M260.77,82.45h-1.92v3.31h-1.08v-8.18h2.71c0.92,0,1.63,0.21,2.12,0.63c0.5,0.42,0.74,1.03,0.74,1.83%20c0,0.51-0.14,0.95-0.41,1.33c-0.28,0.38-0.66,0.66-1.15,0.85l1.92,3.47v0.07h-1.16L260.77,82.45z%20M258.85,81.56h1.66%20c0.53,0,0.96-0.14,1.28-0.42c0.32-0.28,0.47-0.65,0.47-1.11c0-0.51-0.15-0.89-0.45-1.16c-0.3-0.27-0.74-0.41-1.31-0.41h-1.65%20V81.56z'/%3e%3cpath%20class='st0'%20d='M270.05,81.97h-3.54v2.9h4.12v0.88h-5.19v-8.18h5.14v0.88h-4.06v2.63h3.54V81.97z'/%3e%3c/g%3e%3cg%3e%3cdefs%3e%3cpath%20id='SVGID_1_'%20d='M104.63,63.18c0,13.08-10.63,23.72-23.72,23.72H41.16c-2.83,0-5.13-2.3-5.13-5.13%20c0-2.83,2.3-5.12,5.13-5.12h39.75c7.42,0,13.46-6.04,13.46-13.47c0-7.41-6.04-13.46-13.46-13.46H41.16%20c-2.83,0-5.13-2.3-5.13-5.13c0-2.83,2.3-5.13,5.13-5.13h39.75C94,39.46,104.63,50.1,104.63,63.18z%20M78.03,68.31%20c2.84,0,5.14-2.29,5.14-5.13c0-2.83-2.3-5.13-5.14-5.13H38.28c-7.42,0-13.46-6.03-13.46-13.46c0-7.42,6.04-13.46,13.46-13.46%20h39.75c2.84,0,5.14-2.29,5.14-5.13c0-2.83-2.3-5.13-5.14-5.13H38.28c-13.07,0-23.71,10.64-23.71,23.72%20c0,13.09,10.64,23.73,23.71,23.73H78.03z'/%3e%3c/defs%3e%3cclipPath%20id='SVGID_00000070801902322448613270000014543336054545289661_'%3e%3cuse%20xlink:href='%23SVGID_1_'%20style='overflow:visible;'/%3e%3c/clipPath%3e%3cg%20style='clip-path:url(%23SVGID_00000070801902322448613270000014543336054545289661_);'%3e%3cpath%20class='st0'%20d='M-14.51,110.37c3.65,2.03,7.46,3.79,11.42,5.27h59.07c16.05-5.99,29.79-16.72,39.52-30.48%20s15.44-30.57,15.44-48.71c0-16.35-4.65-31.61-12.68-44.54H41.88h-56.38v59.23V110.37z'/%3e%3cpath%20class='st2'%20d='M-10.33-4.56c0.95-0.95,44.55-1.54,46-1.54c1.45,0,45.05,0.59,46,1.54c6.98,10.65,11.05,23.41,11.05,37.12%20c0,15.07-4.89,29-13.16,40.28C71.33,84.09,59.72,92.71,46.25,97.2c-1.19,0-46.59-0.4-47.47-1.06c-3.16-1.25-6.2-2.74-9.11-4.43%20c-0.95-0.95-1.54-46.69-1.54-48.14C-11.87,42.12-11.28-3.61-10.33-4.56z'/%3e%3cpath%20class='st3'%20d='M-6.16-1.04c1.9-1.9,32.72-3.08,35.62-3.08c2.9,0,33.72,1.18,35.62,3.08c5.92,8.37,9.42,18.62,9.42,29.7%20c0,12.01-4.06,23.06-10.87,31.85c-6.76,8.74-16.23,15.25-27.12,18.25c-2.38,0-34.11-0.79-35.87-2.13%20c-2.36-1.03-4.64-2.23-6.8-3.58c-1.9-1.9-3.08-34.14-3.08-37.05C-9.23,33.1-8.06,0.86-6.16-1.04z'/%3e%3cpath%20class='st4'%20d='M-1.98,2.48c2.85-2.85,20.89-4.62,25.24-4.62c4.35,0,22.39,1.76,25.24,4.62c4.86,6.09,7.79,13.84,7.79,22.28%20c0,8.94-3.24,17.12-8.58,23.43c-5.28,6.23-12.61,10.64-20.92,12.13c-3.57,0-21.63-1.19-24.27-3.19%20c-1.57-0.81-3.07-1.73-4.49-2.74c-2.85-2.85-4.62-21.6-4.62-25.95C-6.6,24.08-4.83,5.34-1.98,2.48z'/%3e%3cpath%20class='st5'%20d='M38.07,20.87c0,11.61-9.41,21.01-21.02,21.01c-5.8,0-11.06-2.35-14.86-6.16s-6.16-9.06-6.16-14.86%20c0-5.8,2.35-11.06,6.16-14.86s9.06-6.16,14.86-6.16c5.8,0,11.06,2.35,14.86,6.16C35.72,9.81,38.07,15.06,38.07,20.87z'/%3e%3c/g%3e%3c/g%3e%3cg%3e%3cpath%20class='st0'%20d='M128.02,70.64c-3.84,0-6.61-0.89-9.05-3.37l2.58-2.55c1.87,1.87,3.91,2.44,6.53,2.44%20c3.34,0,5.28-1.43,5.28-3.91c0-1.11-0.32-2.04-1.01-2.66c-0.65-0.61-1.29-0.86-2.8-1.08l-3.02-0.43%20c-2.08-0.29-3.74-1.01-4.85-2.04c-1.26-1.19-1.87-2.8-1.87-4.88c0-4.45,3.23-7.5,8.54-7.5c3.38,0,5.74,0.86,7.94,2.91L133.84,50%20c-1.58-1.51-3.41-1.97-5.56-1.97c-3.02,0-4.67,1.72-4.67,3.98c0,0.93,0.29,1.76,0.97,2.37c0.65,0.58,1.69,1,2.88,1.18l2.9,0.43%20c2.37,0.35,3.7,0.93,4.77,1.9c1.4,1.22,2.09,3.05,2.09,5.24C137.22,67.84,133.37,70.64,128.02,70.64z'/%3e%3cpath%20class='st0'%20d='M142.43,62.39c0,3.12,1.65,5.1,4.63,5.1c2.05,0,3.12-0.58,4.42-1.87l2.33,2.19%20c-1.86,1.87-3.63,2.84-6.82,2.84c-4.56,0-8.18-2.4-8.18-9.33c0-5.89,3.05-9.3,7.71-9.3c4.88,0,7.72,3.59,7.72,8.76v1.62H142.43z%20M150.12,57.36c-0.58-1.36-1.87-2.3-3.59-2.3c-1.72,0-3.05,0.94-3.63,2.3c-0.36,0.83-0.43,1.37-0.46,2.48h8.18%20C150.58,58.72,150.47,58.18,150.12,57.36z'/%3e%3cpath%20class='st0'%20d='M161.8,70.43c-3.48,0-4.99-2.33-4.99-5.03V44.86h3.66v20.32c0,1.4,0.5,2.12,1.97,2.12h1.62v3.13H161.8z'/%3e%3cpath%20class='st0'%20d='M170.27,55.35v15.08h-3.67V49.75c0-2.62,1.58-5.06,5-5.06h2.3v3.13h-1.62c-1.36,0-2.01,0.79-2.01,2.12v2.62%20h3.63v2.8H170.27z'/%3e%3cpath%20class='st0'%20d='M177.98,62.39c0,3.12,1.65,5.1,4.63,5.1c2.05,0,3.13-0.58,4.42-1.87l2.33,2.19%20c-1.87,1.87-3.62,2.84-6.82,2.84c-4.56,0-8.19-2.4-8.19-9.33c0-5.89,3.05-9.3,7.72-9.3c4.88,0,7.72,3.59,7.72,8.76v1.62H177.98z%20M185.66,57.36c-0.57-1.36-1.86-2.3-3.59-2.3c-1.73,0-3.05,0.94-3.63,2.3c-0.36,0.83-0.43,1.37-0.46,2.48h8.19%20C186.13,58.72,186.02,58.18,185.66,57.36z'/%3e%3cpath%20class='st0'%20d='M195.54,62.39c0,3.12,1.65,5.1,4.63,5.1c2.05,0,3.13-0.58,4.42-1.87l2.33,2.19%20c-1.86,1.87-3.62,2.84-6.82,2.84c-4.56,0-8.19-2.4-8.19-9.33c0-5.89,3.05-9.3,7.72-9.3c4.88,0,7.72,3.59,7.72,8.76v1.62H195.54z%20M203.22,57.36c-0.58-1.36-1.87-2.3-3.59-2.3c-1.72,0-3.05,0.94-3.62,2.3c-0.35,0.83-0.43,1.37-0.46,2.48h8.18%20C203.69,58.72,203.58,58.18,203.22,57.36z'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",vs=(l,B="#0d9695")=>{const b=[];for(let m=0;m<30;m++)b.push({size:Math.random()*3+2,x:Math.random()*100,y:Math.random()*100,delay:Math.random()*5,duration:Math.random()*10+5,color:B,opacity:Math.random()*.5+.3});l.value=b},Zc=l=>{const t=[];for(let m=0;m<12;m++){const c=m/12*Math.PI*2;t.push({size:Math.random()*8+4,x:50+Math.cos(c)*120,y:50+Math.sin(c)*120,delay:Math.random()*2,duration:Math.random()*3+2,opacity:Math.random()*.5+.3})}l.value=t},ys=l=>({width:`${l.size}px`,height:`${l.size}px`,left:`${l.x}%`,top:`${l.y}%`,animation:`float ${l.duration}s infinite ${l.delay}s linear`,background:l.color,opacity:l.opacity,"--random-x":Math.random()*2-1,"--random-y":Math.random()*.5-.25}),$c={class:"particles"},ef={class:"container"},tf={class:"login-section"},rf={key:0,class:"custom-title"},nf={class:"form-group"},of={class:"form-group"},af=y.defineComponent({__name:"LoginLayout",props:{customTitle:{}},emits:["login"],setup(l,{emit:B}){const t=l,b=B,m=y.ref(!1),c=y.ref([]),i=y.ref({username:"",password:""}),s=async()=>{m.value=!0,b("login",{...i.value}),m.value=!1};return y.onMounted(()=>{vs(c)}),(n,e)=>(y.openBlock(),y.createBlock(y.unref(Zi),null,{default:y.withCtx(()=>[y.createVNode(bs,{class:"login-page"},{default:y.withCtx(()=>[y.createElementVNode("div",$c,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(c.value,(r,u)=>(y.openBlock(),y.createElementBlock("div",{key:u,class:"particle",style:y.normalizeStyle(y.unref(ys)(r))},null,4))),128))]),y.createElementVNode("div",ef,[e[3]||(e[3]=y.createElementVNode("div",{class:"brand-section"},[y.createElementVNode("div",{class:"logo-container"},[y.createElementVNode("img",{src:Jc,alt:"Selfee Logo",class:"logo-image"}),y.createElementVNode("div",{class:"ring ring-1"}),y.createElementVNode("div",{class:"ring ring-2"}),y.createElementVNode("div",{class:"ring ring-3"})]),y.createElementVNode("div",{class:"tagline"},"DE L'ÉNERGIE À REVENDRE"),y.createElementVNode("div",{class:"energy-wave"}),y.createElementVNode("div",{class:"energy-wave-2"}),y.createElementVNode("div",{class:"energy-pulse"})],-1)),y.createElementVNode("div",tf,[n.customTitle?(y.openBlock(),y.createElementBlock("div",rf,y.toDisplayString(t.customTitle),1)):y.createCommentVNode("",!0),e[2]||(e[2]=y.createElementVNode("div",{class:"login-header"},[y.createElementVNode("h2",null,"Connexion"),y.createElementVNode("p",null,"Accédez à votre espace personnel")],-1)),y.createVNode(Gc,{class:"login-form",onSubmit:y.withModifiers(s,["prevent"])},{default:y.withCtx(()=>[y.createElementVNode("div",nf,[y.createVNode(Xr,{modelValue:i.value.username,"onUpdate:modelValue":e[0]||(e[0]=r=>i.value.username=r),label:"Identifiant",outlined:"",dark:"",rules:[r=>!!r||"Identifiant requis"],"data-cy":"username"},{prepend:y.withCtx(()=>[y.createVNode(gt,{name:"person",color:"energy-green"})]),_:1},8,["modelValue","rules"])]),y.createElementVNode("div",of,[y.createVNode(Xr,{modelValue:i.value.password,"onUpdate:modelValue":e[1]||(e[1]=r=>i.value.password=r),type:"password",label:"Mot de passe",outlined:"",dark:"",rules:[r=>!!r||"Mot de passe requis"],"data-cy":"password"},{prepend:y.withCtx(()=>[y.createVNode(gt,{name:"lock",color:"energy-green"})]),_:1},8,["modelValue","rules"])]),y.createVNode(ut,{type:"submit",label:"Se connecter",class:"login-button full-width",color:"energy-green","text-color":"'white'",loading:m.value,"data-cy":"login-button"},null,8,["loading"])]),_:1})])])]),_:1})]),_:1}))}}),Ir=$e({name:"QCardSection",props:{tag:{type:String,default:"div"},horizontal:Boolean},setup(l,{slots:B}){const t=y.computed(()=>`q-card__section q-card__section--${l.horizontal===!0?"horiz row no-wrap":"vert"}`);return()=>y.h(l.tag,{class:t.value},bt(B.default))}}),ws=[{id:"fourniture",title:"Fourniture",description:"Gestion des contrats de consommation",icon:"bolt"},{id:"agregation",title:"Agregation",description:"Gestion des contrats de production",icon:"hub"}],xs={title:"Nos Projets",subtitle:"Sélectionnez un projet pour continuer",titleColor:"#FFFFFF",subtitleColor:"rgba(255, 255, 255, 0.7)",iconColor:"#FFFFFF",projectTitleColor:"#FFFFFF",projectDescriptionColor:"rgba(255, 255, 255, 0.7)",hoverEffectColor:"#0d9695",particleColor:"#0d9695"},sf={class:"particles"},lf={class:"container"},uf={class:"projects-section"},cf={class:"projects-header"},ff={class:"projects-grid"},df=y.defineComponent({__name:"SelectProjectLayout",props:y.mergeDefaults({title:{},subtitle:{},projects:{},titleColor:{},subtitleColor:{},iconColor:{},projectTitleColor:{},projectDescriptionColor:{},cardBackground:{},cardBorderColor:{},hoverEffectColor:{},particleColor:{},disabledIds:{}},{...xs,projects:()=>ws,disabledIds:()=>[]}),emits:["project-click"],setup(l,{emit:B}){const t=l,b=B,m=y.ref([]),c=y.ref([]),i=n=>{b("project-click",n)},s=n=>t.disabledIds?.includes(n.id)??!1;return y.onMounted(()=>{vs(m,t.particleColor),Zc(c)}),(n,e)=>(y.openBlock(),y.createBlock(y.unref(Zi),null,{default:y.withCtx(()=>[y.createVNode(bs,{class:"projects-page"},{default:y.withCtx(()=>[y.createElementVNode("div",sf,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(m.value,(r,u)=>(y.openBlock(),y.createElementBlock("div",{key:u,class:"particle",style:y.normalizeStyle(y.unref(ys)(r))},null,4))),128))]),y.createElementVNode("div",lf,[y.createElementVNode("div",uf,[y.createElementVNode("div",cf,[y.createElementVNode("h2",{style:y.normalizeStyle({color:n.titleColor})},y.toDisplayString(n.title),5),y.createElementVNode("p",{style:y.normalizeStyle({color:n.subtitleColor})},y.toDisplayString(n.subtitle),5)]),y.createElementVNode("div",ff,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(n.projects,(r,u)=>(y.openBlock(),y.createBlock(Gr,{key:u,class:y.normalizeClass(["project-card",{"q-card--disabled":s(r)}]),style:y.normalizeStyle({background:n.cardBackground,"border-color":n.cardBorderColor}),disable:s(r),"data-cy":`project-card-${r.id}`,onClick:a=>!s(r)&&i(r)},{default:y.withCtx(()=>[y.createVNode(Ir,{class:"card-content"},{default:y.withCtx(()=>[y.createElementVNode("div",{class:"project-icon",style:y.normalizeStyle({color:n.iconColor})},[y.createVNode(gt,{name:r.icon,size:"xl"},null,8,["name"])],4),y.createElementVNode("h3",{style:y.normalizeStyle({color:n.projectTitleColor})},y.toDisplayString(r.title),5),y.createElementVNode("p",{style:y.normalizeStyle({color:n.projectDescriptionColor})},y.toDisplayString(r.description),5)]),_:2},1024),y.createElementVNode("div",{class:"card-hover-effect",style:y.normalizeStyle({background:`radial-gradient(circle, ${n.hoverEffectColor} 0%, transparent 70%)`})},null,4)]),_:2},1032,["style","class","disable","data-cy","onClick"]))),128))])])])]),_:1})]),_:1}))}}),hf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiwAAAHBCAYAAABKReAoAAAAAXNSR0IArs4c6QAAIABJREFUeF7sfQmYZUV59ltV55y7dff0LMzODDOswrApgmDABbdojEsUE40oxj8uUUJQjIkLoiREjRvGJQJRNJqIC0ZxxQ1EAdkGBAHZd5i1t7ucpar+56s6p++dZkZmepm+t+c7zzNcuvuec+q8VafqrW95PwE+GAFGgBFgBBgBRoAR6HIERJe3j5vHCDACjAAjwAgwAowAmLDwIGAEGAFGgBFgBBiBrkeACUvXdxE3kBFgBBgBRoARYASYsPAYYAQYAUaAEWAEGIGuR4AJS9d3ETeQEWAEGAFGgBFgBJiw8BhgBBgBRoARYAQYga5HgAlL13cRN5ARYAQYAUaAEWAEmLDwGGAEGAFGgBFgBBiBrkeACUvXdxE3kBFgBBgBRoARYASYsPAYYAQYAUaAEWAEGIGuR4AJS9d3ETeQEWAEGAFGgBFgBJiw8BhgBBgBRoARYAQYga5HgAlL13cRN5ARYAQYAUaA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EQHERIMJSXNvTzAkBQoAQIAQIgdwgQIQlN6aigRIChAAhQAgQAsVFgAhLcW1PMycECAFCgBAgBHKDABGW3JiKBkoIEAKEACFACBQXASIsxbU9zZwQIAQIAUKAEMgNAkRYcmMqGighQAgQAoQAIVBcBIiwFNf2NHNCgBAgBAgBQiA3CBBhyY2paKCEACFACBAChEBxESDCUlzb08wJAUKAECAECIHcIECEJTemooESAoQAIUAIEALFRYAIS3FtTzMnBAgBQoAQIARygwARltyYigZKCBAChAAhQAgUFwEiLMW1Pc2cECAECAFCgBDIDQJEWHJjKhooIUAIEAKEACFQXASIsBTX9jRzQoAQIAQIAUIgNwgQYcmNqWighAAhQAgQAoRAcRH4f9K4tao20lmVAAAAAElFTkSuQmCC",pf=["src"],mf={key:0,class:"loader-text"},gf=y.defineComponent({__name:"SelfeeLoader",props:{size:{default:"medium"},variant:{default:"pulse"},text:{default:""},logoUrl:{default:""},speed:{default:1.5}},setup(l){const B=l,t=y.computed(()=>({"--animation-speed":`${B.speed}s`}));return(b,m)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["selfee-loader",[b.size,b.variant]]),style:y.normalizeStyle(t.value)},[y.createElementVNode("img",{src:b.logoUrl||y.unref(hf),class:"loader-logo",alt:"Loading..."},null,8,pf),b.text?(y.openBlock(),y.createElementBlock("div",mf,y.toDisplayString(b.text),1)):y.createCommentVNode("",!0)],6))}}),bf=y.defineComponent({__name:"ResetFiltersButton",props:{mainFilter:{},filterRefs:{},label:{}},emits:["reset"],setup(l){const B=l,t=y.computed(()=>{if(B.mainFilter.value){const b=B.mainFilter.value;if(Object.values(b).some(c=>c!==""&&c!==null&&c!==void 0&&c!==!1))return!0}return B.filterRefs?Object.values(B.filterRefs).some(b=>b.value!==""&&b.value!==null&&b.value!==void 0):!1});return(b,m)=>(y.openBlock(),y.createBlock(ut,{label:b.label||"Réinitialiser les filtres",icon:"restart_alt",color:"grey-7",outline:"","rounded-sm":"",class:"q-ml-md","data-cy":"reset-filters-button",disable:!t.value,onClick:m[0]||(m[0]=c=>b.$emit("reset"))},null,8,["label","disable"]))}}),io=$e({name:"QCardActions",props:{...Ii,vertical:Boolean},setup(l,{slots:B}){const t=Oi(l),b=y.computed(()=>`q-card__actions ${t.value} q-card__actions--${l.vertical===!0?"vert column":"horiz row"}`);return()=>y.h("div",{class:b.value},bt(B.default))}}),vf={class:"icon-container"},yf={class:"dialog-title q-mt-md"},wf={class:"text-body1 text-grey-8"},xf=y.defineComponent({__name:"ConfirmDeleteDialog",props:{modelValue:{type:Boolean},title:{},message:{},icon:{default:"warning"},color:{default:"negative"},confirmLabel:{default:"Supprimer"},cancelLabel:{default:"Annuler"}},emits:["update:modelValue","confirm","cancel"],setup(l,{emit:B}){const t=B,b=i=>{t("update:modelValue",i)},m=()=>{t("confirm"),t("update:modelValue",!1)},c=()=>{t("cancel"),t("update:modelValue",!1)};return(i,s)=>(y.openBlock(),y.createBlock(zn,{"model-value":i.modelValue,"onUpdate:modelValue":b,persistent:"",class:"confirm-delete-dialog"},{default:y.withCtx(()=>[y.createVNode(Gr,{class:"confirm-delete-card","data-cy":"confirm-delete-card"},{default:y.withCtx(()=>[y.createVNode(Ir,{class:"dialog-header text-center"},{default:y.withCtx(()=>[y.createElementVNode("div",vf,[y.createVNode(gt,{name:i.icon,color:i.color,size:"lg",class:"dialog-icon"},null,8,["name","color"])]),y.createElementVNode("h2",yf,y.toDisplayString(i.title),1)]),_:1}),y.createVNode(Ir,{class:"dialog-message text-center"},{default:y.withCtx(()=>[y.createElementVNode("p",wf,y.toDisplayString(i.message),1)]),_:1}),y.createVNode(io,{class:"dialog-actions justify-between"},{default:y.withCtx(()=>[y.createVNode(ut,{label:i.cancelLabel,color:"grey-6",flat:"","no-caps":"",class:"action-btn cancel-btn",padding:"8px 20px",onClick:c,"data-cy":"cancel-delete-button"},null,8,["label"]),y.createVNode(ut,{label:i.confirmLabel,color:i.color,"no-caps":"",class:"action-btn confirm-btn",padding:"8px 24px",onClick:m,"data-cy":"confirm-delete-button"},null,8,["label","color"])]),_:1})]),_:1})]),_:1},8,["model-value"]))}}),Sf=Ht(xf,[["__scopeId","data-v-6caf8343"]]);function kf(l="sticky-filters-target"){const B=y.ref(!1),t=()=>{document.getElementById(l)&&(B.value=!0)};return y.onMounted(()=>{t()}),{isTargetMounted:B,checkTarget:t}}const _f={class:"q-pa-md"},Cf={key:1},Af=y.defineComponent({__name:"DynamicTeleport",props:{useDiv:{type:Boolean,default:!1},to:{default:"#sticky-filters-target"}},setup(l){const t=l.to.replace("#",""),{isTargetMounted:b}=kf(t);return(m,c)=>!m.useDiv&&y.unref(b)?(y.openBlock(),y.createBlock(y.Teleport,{key:0,to:m.to},[y.createElementVNode("div",_f,[y.renderSlot(m.$slots,"default")])],8,["to"])):m.useDiv?(y.openBlock(),y.createElementBlock("div",Cf,[y.renderSlot(m.$slots,"default")])):y.createCommentVNode("",!0)}}),Ef=y.defineComponent({__name:"SelfeeCard",props:{title:{default:""},subtitle:{default:""},showHeader:{type:Boolean,default:!0},colorScheme:{default:"primary"},shadowIntensity:{default:"medium"},noPadding:{type:Boolean,default:!1},dense:{type:Boolean,default:!1},rounded:{type:Boolean,default:!0},hoverable:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},flat:{type:Boolean,default:!1},centerTitle:{type:Boolean,default:!1},centerActions:{type:Boolean,default:!1},contentGap:{type:[Boolean,String],default:!0}},setup(l){return(B,t)=>(y.openBlock(),y.createBlock(Gr,{class:y.normalizeClass(["selfee-card",`selfee-card--${B.colorScheme}`,`selfee-card--${B.shadowIntensity}`,{"selfee-card--bordered":B.bordered},{"selfee-card--rounded":B.rounded},{"selfee-card--hoverable":B.hoverable}]),flat:B.flat,bordered:B.bordered,square:!B.rounded},{default:y.withCtx(()=>[B.showHeader||B.$slots.header?(y.openBlock(),y.createBlock(Ir,{key:0,class:y.normalizeClass(["selfee-card__header",`selfee-card__header--${B.colorScheme}`,{"selfee-card__header--dense":B.dense}])},{default:y.withCtx(()=>[y.renderSlot(B.$slots,"header",{},()=>[B.title?(y.openBlock(),y.createElementBlock("div",{key:0,class:y.normalizeClass(["selfee-card__title",{"text-center":B.centerTitle}])},y.toDisplayString(B.title),3)):y.createCommentVNode("",!0),B.subtitle?(y.openBlock(),y.createElementBlock("div",{key:1,class:y.normalizeClass(["selfee-card__subtitle q-mt-xs",{"text-center":B.centerTitle}])},y.toDisplayString(B.subtitle),3)):y.createCommentVNode("",!0)],!0)]),_:3},8,["class"])):y.createCommentVNode("",!0),y.createVNode(Ir,{class:y.normalizeClass(["selfee-card__content",{"selfee-card__content--no-padding":B.noPadding},{"selfee-card__content--dense":B.dense},{"selfee-card__content--with-gap":B.contentGap}])},{default:y.withCtx(()=>[y.renderSlot(B.$slots,"default",{},void 0,!0)]),_:3},8,["class"]),B.$slots.actions?(y.openBlock(),y.createElementBlock(y.Fragment,{key:1},[y.createVNode(Hr),y.createVNode(io,{class:y.normalizeClass(["selfee-card__actions",{"selfee-card__actions--dense":B.dense},{"selfee-card__actions--center":B.centerActions}]),align:B.centerActions?"center":"right"},{default:y.withCtx(()=>[y.renderSlot(B.$slots,"actions",{},void 0,!0)]),_:3},8,["class","align"])],64)):y.createCommentVNode("",!0)]),_:3},8,["class","flat","bordered","square"]))}}),Mf=Ht(Ef,[["__scopeId","data-v-513adcd0"]]),Tf=["top","middle","bottom"],Ci=$e({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:l=>Tf.includes(l)}},setup(l,{slots:B}){const t=y.computed(()=>l.align!==void 0?{verticalAlign:l.align}:null),b=y.computed(()=>{const m=l.outline===!0&&l.color||l.textColor;return`q-badge flex inline items-center no-wrap q-badge--${l.multiLine===!0?"multi":"single"}-line`+(l.outline===!0?" q-badge--outline":l.color!==void 0?` bg-${l.color}`:"")+(m!==void 0?` text-${m}`:"")+(l.floating===!0?" q-badge--floating":"")+(l.rounded===!0?" q-badge--rounded":"")+(l.transparent===!0?" q-badge--transparent":"")});return()=>y.h("div",{class:b.value,style:t.value,role:"status","aria-label":l.label},It(B.default,l.label!==void 0?[l.label]:[]))}}),Rf=$e({name:"QToolbarTitle",props:{shrink:Boolean},setup(l,{slots:B}){const t=y.computed(()=>"q-toolbar__title ellipsis"+(l.shrink===!0?" col-shrink":""));return()=>y.h("div",{class:t.value},bt(B.default))}});function Bf(){return y.inject(Wl)}const If={class:"filters-controls"},Of={class:"visible-filters"},Ff={key:0,class:"extra-content"},jf={class:"sidebar-filters q-gutter-y-md"},Df=y.defineComponent({__name:"SmartFilters",props:{containerClass:{default:""},rowClass:{default:""},activeHiddenCount:{default:0},hasActiveFilters:{type:Boolean,default:!1}},emits:["reset"],setup(l,{emit:B}){const t=l,b=B,m=Bf(),c=y.ref(!1),i=y.computed(()=>m.screen.lt.md),s=y.computed(()=>!0),n=y.computed(()=>i.value?"":t.activeHiddenCount>0?`Filtres (${t.activeHiddenCount})`:"Filtres"),e=y.computed(()=>i.value?{width:"100%",height:"80vh"}:{width:"400px",maxWidth:"90vw"});function r(){b("reset")}return(u,a)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["smart-filters",u.containerClass])},[y.createElementVNode("div",{class:y.normalizeClass(["main-row",u.rowClass])},[y.createElementVNode("div",If,[s.value?(y.openBlock(),y.createBlock(ut,{key:0,unelevated:"",color:"primary",icon:"filter_list",label:n.value,onClick:a[0]||(a[0]=o=>c.value=!0),class:"more-filters-btn",size:"sm","data-cy":"hidden-filters-button"},{default:y.withCtx(()=>[u.activeHiddenCount>0?(y.openBlock(),y.createBlock(Ci,{key:0,color:"red",floating:"",rounded:"",class:"badge"},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(u.activeHiddenCount),1)]),_:1})):y.createCommentVNode("",!0)]),_:1},8,["label"])):y.createCommentVNode("",!0)]),y.createElementVNode("div",Of,[y.renderSlot(u.$slots,"visible",{},void 0,!0)]),u.$slots.extra?(y.openBlock(),y.createElementBlock("div",Ff,[y.renderSlot(u.$slots,"extra",{},void 0,!0)])):y.createCommentVNode("",!0)],2),y.createVNode(zn,{modelValue:c.value,"onUpdate:modelValue":a[1]||(a[1]=o=>c.value=o),position:i.value?"bottom":"right",maximized:i.value},{default:y.withCtx(()=>[y.createVNode(Gr,{class:"filters-sidebar",style:y.normalizeStyle(e.value),"data-cy":"filters-sidebar"},{default:y.withCtx(()=>[y.createVNode(Xa,{class:"sidebar-header bg-primary text-white"},{default:y.withCtx(()=>[y.createVNode(Rf,null,{default:y.withCtx(()=>[y.createVNode(gt,{name:"filter_list",class:"q-mr-sm"}),a[2]||(a[2]=y.createTextVNode(" Filtres "))]),_:1,__:[2]}),y.withDirectives(y.createVNode(ut,{flat:"",round:"",dense:"",icon:"close","aria-label":"Fermer","data-cy":"close-button"},null,512),[[Ga]])]),_:1}),y.createVNode(Ir,{class:"sidebar-body scroll"},{default:y.withCtx(()=>[y.createElementVNode("div",jf,[y.renderSlot(u.$slots,"hidden",{},void 0,!0)])]),_:3}),y.createVNode(io,{class:"sidebar-footer q-px-md q-pb-md"},{default:y.withCtx(()=>[y.createVNode(ut,{flat:"",color:"grey-7",icon:"close",label:"Effacer tous les filtres",onClick:r,size:"sm",class:"full-width",disable:!u.hasActiveFilters,"data-cy":"reset-all-filters-button"},null,8,["disable"])]),_:1})]),_:3},8,["style"])]),_:3},8,["modelValue","position","maximized"])],2))}}),Pf=Ht(Df,[["__scopeId","data-v-eccf053f"]]),Nf=y.defineComponent({__name:"PersistentDateRange",props:{modelValue:{default:()=>({from:"",to:""})},storageKey:{default:"date-range-state"},allowSameDate:{type:Boolean,default:!0},labelStart:{default:"De"},labelEnd:{default:"À"},startDateHint:{default:""},resetLabel:{default:"Réinitialiser"},closeLabel:{default:"Fermer"},locale:{default:void 0},required:{type:Boolean,default:!1},requiredErrorMessage:{default:"Ce champ est obligatoire !"},invalidDateErrorMessage:{default:"Date invalide!"},rules:{default:()=>[]},minDate:{default:void 0},maxDate:{default:void 0},datesDisabled:{default:()=>[]},highlightEvents:{default:()=>[]},disabled:{type:Boolean,default:!1},idCy:{default:"dateRange"},isIconCalendar:{type:Boolean},resetPosition:{},hideActions:{type:Boolean,default:!1},hideShortcuts:{type:Boolean},shortcuts:{}},emits:["update:dateRange","update:modelValue","clear"],setup(l,{expose:B,emit:t}){const b=l,m=t,c=y.ref(null),i=y.ref({...b.modelValue}),s=y.ref(!1),n=y.computed(()=>({...b,from:i.value.from,to:i.value.to}));y.onMounted(async()=>{await y.nextTick(),s.value=!0,e(),s.value=!1});function e(){if(r()){u();return}b.storageKey&&a()}function r(){return!!(b.modelValue?.from||b.modelValue?.to)}function u(){b.modelValue&&(i.value={...b.modelValue},o(i.value))}function a(){const g=localStorage.getItem(b.storageKey);if(g)try{const p=JSON.parse(g);(p.from||p.to)&&(i.value=p,o(p))}catch(p){console.error("Error restoring date range:",p)}}function o(g){c.value&&c.value.setDateRange(g)}const d=g=>{const p=g||{from:"",to:""};p.from===i.value.from&&p.to===i.value.to||(i.value=p,s.value||(m("update:dateRange",i.value),m("update:modelValue",i.value)),b.storageKey&&!s.value&&localStorage.setItem(b.storageKey,JSON.stringify(i.value)))},h=()=>{i.value={from:"",to:""},b.storageKey&&localStorage.removeItem(b.storageKey),m("update:dateRange",i.value),m("update:modelValue",i.value),m("clear")};return y.watch(()=>b.modelValue,g=>{!g||s.value||(g.from!==i.value.from||g.to!==i.value.to)&&(i.value={...g},o(g))},{deep:!0}),B({reset:()=>{i.value={from:"",to:""},c.value&&c.value.resetDate(),b.storageKey&&localStorage.removeItem(b.storageKey),m("update:modelValue",i.value),m("update:dateRange",i.value),m("clear")},getCurrentRange:()=>({...i.value}),setDateRange:g=>{i.value={...g},c.value&&c.value.setDateRange(g),m("update:modelValue",i.value),m("update:dateRange",i.value)}}),(g,p)=>(y.openBlock(),y.createBlock(ps,y.mergeProps({ref_key:"dateRangeRef",ref:c},n.value,{"onUpdate:dateRange":d,onClear:h}),null,16))}}),Ur=$e({name:"QTh",props:{props:Object,autoWidth:Boolean},emits:["click"],setup(l,{slots:B,emit:t}){const b=y.getCurrentInstance(),{proxy:{$q:m}}=b,c=i=>{t("click",i)};return()=>{if(l.props===void 0)return y.h("th",{class:l.autoWidth===!0?"q-table--col-auto-width":"",onClick:c},bt(B.default));let i,s;const n=b.vnode.key;if(n){if(i=l.props.colsMap[n],i===void 0)return}else i=l.props.col;if(i.sortable===!0){const r=i.align==="right"?"unshift":"push";s=Mi(B.default,[]),s[r](y.h(gt,{class:i.__iconClass,name:m.iconSet.table.arrowUp}))}else s=bt(B.default);const e={class:i.__thClass+(l.autoWidth===!0?" q-table--col-auto-width":""),style:i.headerStyle,onClick:r=>{i.sortable===!0&&l.props.sort(i),c(r)}};return y.h("th",e,s)}}}),gn=$e({name:"QTr",props:{props:Object,noHover:Boolean},setup(l,{slots:B}){const t=y.computed(()=>"q-tr"+(l.props===void 0||l.props.header===!0?"":" "+l.props.__trClass)+(l.noHover===!0?" q-tr--no-hover":""));return()=>y.h("tr",{style:l.props?.__trStyle,class:t.value},bt(B.default))}}),Lf=["text","rect","circle","QBtn","QBadge","QChip","QToolbar","QCheckbox","QRadio","QToggle","QSlider","QRange","QInput","QAvatar"],Vf=["wave","pulse","pulse-x","pulse-y","fade","blink","none"],ra=$e({name:"QSkeleton",props:{...Ot,tag:{type:String,default:"div"},type:{type:String,validator:l=>Lf.includes(l),default:"rect"},animation:{type:String,validator:l=>Vf.includes(l),default:"wave"},animationSpeed:{type:[String,Number],default:1500},square:Boolean,bordered:Boolean,size:String,width:String,height:String},setup(l,{slots:B}){const t=y.getCurrentInstance(),b=Ft(l,t.proxy.$q),m=y.computed(()=>{const i=l.size!==void 0?[l.size,l.size]:[l.width,l.height];return{"--q-skeleton-speed":`${l.animationSpeed}ms`,width:i[0],height:i[1]}}),c=y.computed(()=>`q-skeleton q-skeleton--${b.value===!0?"dark":"light"} q-skeleton--type-${l.type}`+(l.animation!=="none"?` q-skeleton--anim q-skeleton--anim-${l.animation}`:"")+(l.square===!0?" q-skeleton--square":"")+(l.bordered===!0?" q-skeleton--bordered":""));return()=>y.h(l.tag,{class:c.value,style:m.value},bt(B.default))}}),ci=$e({name:"QTd",props:{props:Object,autoWidth:Boolean,noHover:Boolean},setup(l,{slots:B}){const t=y.getCurrentInstance(),b=y.computed(()=>"q-td"+(l.autoWidth===!0?" q-table--col-auto-width":"")+(l.noHover===!0?" q-td--no-hover":"")+" ");return()=>{if(l.props===void 0)return y.h("td",{class:b.value},bt(B.default));const m=t.vnode.key,c=(l.props.colsMap!==void 0?l.props.colsMap[m]:null)||l.props.col;if(c===void 0)return;const{row:i}=l.props;return y.h("td",{class:b.value+c.__tdClass(i),style:c.__tdStyle(i)},bt(B.default))}}}),qf=["horizontal","vertical","cell","none"],zf=$e({name:"QMarkupTable",props:{...Ot,dense:Boolean,flat:Boolean,bordered:Boolean,square:Boolean,wrapCells:Boolean,separator:{type:String,default:"horizontal",validator:l=>qf.includes(l)}},setup(l,{slots:B}){const t=y.getCurrentInstance(),b=Ft(l,t.proxy.$q),m=y.computed(()=>`q-markup-table q-table__container q-table__card q-table--${l.separator}-separator`+(b.value===!0?" q-table--dark q-table__card--dark q-dark":"")+(l.dense===!0?" q-table--dense":"")+(l.flat===!0?" q-table--flat":"")+(l.bordered===!0?" q-table--bordered":"")+(l.square===!0?" q-table--square":"")+(l.wrapCells===!1?" q-table--no-wrap":""));return()=>y.h("div",{class:m.value},[y.h("table",{class:"q-table"},bt(B.default))])}});function Ss(l,B){return y.h("div",l,[y.h("table",{class:"q-table"},B)])}const Uf={list:Ji,table:zf},Wf=["list","table","__qtable"],Hf=$e({name:"QVirtualScroll",props:{...xi,type:{type:String,default:"list",validator:l=>Wf.includes(l)},items:{type:Array,default:()=>[]},itemsFn:Function,itemsSize:Number,scrollTarget:Ln},setup(l,{slots:B,attrs:t}){let b;const m=y.ref(null),c=y.computed(()=>l.itemsSize>=0&&l.itemsFn!==void 0?parseInt(l.itemsSize,10):Array.isArray(l.items)?l.items.length:0),{virtualScrollSliceRange:i,localResetVirtualScroll:s,padVirtualScroll:n,onVirtualScrollEvt:e}=Ha({virtualScrollLength:c,getVirtualScrollTarget:d,getVirtualScrollEl:o}),r=y.computed(()=>{if(c.value===0)return[];const p=(k,C)=>({index:i.value.from+C,item:k});return l.itemsFn===void 0?l.items.slice(i.value.from,i.value.to).map(p):l.itemsFn(i.value.from,i.value.to-i.value.from).map(p)}),u=y.computed(()=>"q-virtual-scroll q-virtual-scroll"+(l.virtualScrollHorizontal===!0?"--horizontal":"--vertical")+(l.scrollTarget!==void 0?"":" scroll")),a=y.computed(()=>l.scrollTarget!==void 0?{}:{tabindex:0});y.watch(c,()=>{s()}),y.watch(()=>l.scrollTarget,()=>{f(),h()});function o(){return m.value.$el||m.value}function d(){return b}function h(){b=Vn(o(),l.scrollTarget),b.addEventListener("scroll",e,_t.passive)}function f(){b!==void 0&&(b.removeEventListener("scroll",e,_t.passive),b=void 0)}function g(){let p=n(l.type==="list"?"div":"tbody",r.value.map(B.default));return B.before!==void 0&&(p=B.before().concat(p)),It(B.after,p)}return y.onBeforeMount(()=>{s()}),y.onMounted(()=>{h()}),y.onActivated(()=>{h()}),y.onDeactivated(()=>{f()}),y.onBeforeUnmount(()=>{f()}),()=>{if(B.default===void 0){console.error("QVirtualScroll: default scoped slot is required for rendering");return}return l.type==="__qtable"?Ss({ref:m,class:"q-table__middle "+u.value},g()):y.h(Uf[l.type],{...t,ref:m,class:[t.class,u.value],...a.value},g)}}}),Yf={xs:2,sm:4,md:6,lg:10,xl:14};function na(l,B,t){return{transform:B===!0?`translateX(${t.lang.rtl===!0?"-":""}100%) scale3d(${-l},1,1)`:`scale3d(${l},1,1)`}}const Qf=$e({name:"QLinearProgress",props:{...Ot,...Or,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(l,{slots:B}){const{proxy:t}=y.getCurrentInstance(),b=Ft(l,t.$q),m=Fr(l,Yf),c=y.computed(()=>l.indeterminate===!0||l.query===!0),i=y.computed(()=>l.reverse!==l.query),s=y.computed(()=>({...m.value!==null?m.value:{},"--q-linear-progress-speed":`${l.animationSpeed}ms`})),n=y.computed(()=>"q-linear-progress"+(l.color!==void 0?` text-${l.color}`:"")+(l.reverse===!0||l.query===!0?" q-linear-progress--reverse":"")+(l.rounded===!0?" rounded-borders":"")),e=y.computed(()=>na(l.buffer!==void 0?l.buffer:1,i.value,t.$q)),r=y.computed(()=>`with${l.instantFeedback===!0?"out":""}-transition`),u=y.computed(()=>`q-linear-progress__track absolute-full q-linear-progress__track--${r.value} q-linear-progress__track--${b.value===!0?"dark":"light"}`+(l.trackColor!==void 0?` bg-${l.trackColor}`:"")),a=y.computed(()=>na(c.value===!0?1:l.value,i.value,t.$q)),o=y.computed(()=>`q-linear-progress__model absolute-full q-linear-progress__model--${r.value} q-linear-progress__model--${c.value===!0?"in":""}determinate`),d=y.computed(()=>({width:`${l.value*100}%`})),h=y.computed(()=>`q-linear-progress__stripe absolute-${l.reverse===!0?"right":"left"} q-linear-progress__stripe--${r.value}`);return()=>{const f=[y.h("div",{class:u.value,style:e.value}),y.h("div",{class:o.value,style:a.value})];return l.stripe===!0&&c.value===!1&&f.push(y.h("div",{class:h.value,style:d.value})),y.h("div",{class:n.value,style:s.value,role:"progressbar","aria-valuemin":0,"aria-valuemax":1,"aria-valuenow":l.indeterminate===!0?void 0:l.value},It(B.default,f))}}});let Lr=0;const Kf={fullscreen:Boolean,noRouteFullscreenExit:Boolean},Xf=["update:fullscreen","fullscreen"];function Gf(){const l=y.getCurrentInstance(),{props:B,emit:t,proxy:b}=l;let m,c;const i=y.ref(!1);Ti(l)===!0&&y.watch(()=>b.$route.fullPath,()=>{B.noRouteFullscreenExit!==!0&&e()}),y.watch(()=>B.fullscreen,r=>{i.value!==r&&s()}),y.watch(i,r=>{t("update:fullscreen",r),t("fullscreen",r)});function s(){i.value===!0?e():n()}function n(){i.value!==!0&&(i.value=!0,c=b.$el.parentNode,c.replaceChild(m,b.$el),document.body.appendChild(b.$el),Lr++,Lr===1&&document.body.classList.add("q-body--fullscreen-mixin"))}function e(){i.value===!0&&(c.replaceChild(b.$el,m),i.value=!1,Lr=Math.max(0,Lr-1),Lr===0&&(document.body.classList.remove("q-body--fullscreen-mixin"),b.$el.scrollIntoView!==void 0&&setTimeout(()=>{b.$el.scrollIntoView()})))}return y.onBeforeMount(()=>{m=document.createElement("span")}),y.onMounted(()=>{B.fullscreen===!0&&n()}),y.onBeforeUnmount(e),Object.assign(b,{toggleFullscreen:s,setFullscreen:n,exitFullscreen:e}),{inFullscreen:i,toggleFullscreen:s}}function Jf(l,B){return new Date(l)-new Date(B)}const Zf={sortMethod:Function,binaryStateSort:Boolean,columnSortOrder:{type:String,validator:l=>l==="ad"||l==="da",default:"ad"}};function $f(l,B,t,b){const m=y.computed(()=>{const{sortBy:s}=B.value;return s&&t.value.find(n=>n.name===s)||null}),c=y.computed(()=>l.sortMethod!==void 0?l.sortMethod:(s,n,e)=>{const r=t.value.find(o=>o.name===n);if(r===void 0||r.field===void 0)return s;const u=e===!0?-1:1,a=typeof r.field=="function"?o=>r.field(o):o=>o[r.field];return s.sort((o,d)=>{let h=a(o),f=a(d);return r.rawSort!==void 0?r.rawSort(h,f,o,d)*u:h==null?-1*u:f==null?1*u:r.sort!==void 0?r.sort(h,f,o,d)*u:Si(h)===!0&&Si(f)===!0?(h-f)*u:On(h)===!0&&On(f)===!0?Jf(h,f)*u:typeof h=="boolean"&&typeof f=="boolean"?(h-f)*u:([h,f]=[h,f].map(g=>(g+"").toLocaleString().toLowerCase()),h<f?-1*u:h===f?0:u)})});function i(s){let n=l.columnSortOrder;if(Qa(s)===!0)s.sortOrder&&(n=s.sortOrder),s=s.name;else{const u=t.value.find(a=>a.name===s);u?.sortOrder&&(n=u.sortOrder)}let{sortBy:e,descending:r}=B.value;e!==s?(e=s,r=n==="da"):l.binaryStateSort===!0?r=!r:r===!0?n==="ad"?e=null:r=!1:n==="ad"?r=!0:e=null,b({sortBy:e,descending:r,page:1})}return{columnToSort:m,computedSortMethod:c,sort:i}}const ed={filter:[String,Object],filterMethod:Function};function td(l,B){const t=y.computed(()=>l.filterMethod!==void 0?l.filterMethod:(b,m,c,i)=>{const s=m?m.toLowerCase():"";return b.filter(n=>c.some(e=>{const r=i(e,n)+"";return(r==="undefined"||r==="null"?"":r.toLowerCase()).indexOf(s)!==-1}))});return y.watch(()=>l.filter,()=>{y.nextTick(()=>{B({page:1},!0)})},{deep:!0}),{computedFilterMethod:t}}function rd(l,B){for(const t in B)if(B[t]!==l[t])return!1;return!0}function ia(l){return l.page<1&&(l.page=1),l.rowsPerPage!==void 0&&l.rowsPerPage<1&&(l.rowsPerPage=0),l}const nd={pagination:Object,rowsPerPageOptions:{type:Array,default:()=>[5,7,10,15,20,25,50,0]},"onUpdate:pagination":[Function,Array]};function id(l,B){const{props:t,emit:b}=l,m=y.ref(Object.assign({sortBy:null,descending:!1,page:1,rowsPerPage:t.rowsPerPageOptions.length!==0?t.rowsPerPageOptions[0]:5},t.pagination)),c=y.computed(()=>{const r=t["onUpdate:pagination"]!==void 0?{...m.value,...t.pagination}:m.value;return ia(r)}),i=y.computed(()=>c.value.rowsNumber!==void 0);function s(r){n({pagination:r,filter:t.filter})}function n(r={}){y.nextTick(()=>{b("request",{pagination:r.pagination||c.value,filter:r.filter||t.filter,getCellValue:B})})}function e(r,u){const a=ia({...c.value,...r});if(rd(c.value,a)===!0){i.value===!0&&u===!0&&s(a);return}if(i.value===!0){s(a);return}t.pagination!==void 0&&t["onUpdate:pagination"]!==void 0?b("update:pagination",a):m.value=a}return{innerPagination:m,computedPagination:c,isServerSide:i,requestServerInteraction:n,setPagination:e}}function od(l,B,t,b,m,c){const{props:i,emit:s,proxy:{$q:n}}=l,e=y.computed(()=>b.value===!0?t.value.rowsNumber||0:c.value),r=y.computed(()=>{const{page:C,rowsPerPage:T}=t.value;return(C-1)*T}),u=y.computed(()=>{const{page:C,rowsPerPage:T}=t.value;return C*T}),a=y.computed(()=>t.value.page===1),o=y.computed(()=>t.value.rowsPerPage===0?1:Math.max(1,Math.ceil(e.value/t.value.rowsPerPage))),d=y.computed(()=>u.value===0?!0:t.value.page>=o.value),h=y.computed(()=>(i.rowsPerPageOptions.includes(B.value.rowsPerPage)?i.rowsPerPageOptions:[B.value.rowsPerPage].concat(i.rowsPerPageOptions)).map(T=>({label:T===0?n.lang.table.allRows:""+T,value:T})));y.watch(o,(C,T)=>{if(C===T)return;const D=t.value.page;C&&!D?m({page:1}):C<D&&m({page:C})});function f(){m({page:1})}function g(){const{page:C}=t.value;C>1&&m({page:C-1})}function p(){const{page:C,rowsPerPage:T}=t.value;u.value>0&&C*T<e.value&&m({page:C+1})}function k(){m({page:o.value})}return i["onUpdate:pagination"]!==void 0&&s("update:pagination",{...t.value}),{firstRowIndex:r,lastRowIndex:u,isFirstPage:a,isLastPage:d,pagesNumber:o,computedRowsPerPageOptions:h,computedRowsNumber:e,firstPage:f,prevPage:g,nextPage:p,lastPage:k}}const ad={selection:{type:String,default:"none",validator:l=>["single","multiple","none"].includes(l)},selected:{type:Array,default:()=>[]}},sd=["update:selected","selection"];function ld(l,B,t,b){const m=y.computed(()=>{const d={};return l.selected.map(b.value).forEach(h=>{d[h]=!0}),d}),c=y.computed(()=>l.selection!=="none"),i=y.computed(()=>l.selection==="single"),s=y.computed(()=>l.selection==="multiple"),n=y.computed(()=>t.value.length!==0&&t.value.every(d=>m.value[b.value(d)]===!0)),e=y.computed(()=>n.value!==!0&&t.value.some(d=>m.value[b.value(d)]===!0)),r=y.computed(()=>l.selected.length);function u(d){return m.value[d]===!0}function a(){B("update:selected",[])}function o(d,h,f,g){B("selection",{rows:h,added:f,keys:d,evt:g});const p=i.value===!0?f===!0?h:[]:f===!0?l.selected.concat(h):l.selected.filter(k=>d.includes(b.value(k))===!1);B("update:selected",p)}return{hasSelectionMode:c,singleSelection:i,multipleSelection:s,allRowsSelected:n,someRowsSelected:e,rowsSelectedNumber:r,isRowSelected:u,clearSelection:a,updateSelection:o}}function oa(l){return Array.isArray(l)?l.slice():[]}const ud={expanded:Array},cd=["update:expanded"];function fd(l,B){const t=y.ref(oa(l.expanded));y.watch(()=>l.expanded,i=>{t.value=oa(i)});function b(i){return t.value.includes(i)}function m(i){l.expanded!==void 0?B("update:expanded",i):t.value=i}function c(i,s){const n=t.value.slice(),e=n.indexOf(i);s===!0?e===-1&&(n.push(i),m(n)):e!==-1&&(n.splice(e,1),m(n))}return{isRowExpanded:b,setExpanded:m,updateExpanded:c}}const dd={visibleColumns:Array};function hd(l,B,t){const b=y.computed(()=>{if(l.columns!==void 0)return l.columns;const s=l.rows[0];return s!==void 0?Object.keys(s).map(n=>({name:n,label:n.toUpperCase(),field:n,align:Si(s[n])?"right":"left",sortable:!0})):[]}),m=y.computed(()=>{const{sortBy:s,descending:n}=B.value;return(l.visibleColumns!==void 0?b.value.filter(r=>r.required===!0||l.visibleColumns.includes(r.name)===!0):b.value).map(r=>{const u=r.align||"right",a=`text-${u}`;return{...r,align:u,__iconClass:`q-table__sort-icon q-table__sort-icon--${u}`,__thClass:a+(r.headerClasses!==void 0?" "+r.headerClasses:"")+(r.sortable===!0?" sortable":"")+(r.name===s?` sorted ${n===!0?"sort-desc":""}`:""),__tdStyle:r.style!==void 0?typeof r.style!="function"?()=>r.style:r.style:()=>null,__tdClass:r.classes!==void 0?typeof r.classes!="function"?()=>a+" "+r.classes:o=>a+" "+r.classes(o):()=>a}})}),c=y.computed(()=>{const s={};return m.value.forEach(n=>{s[n.name]=n}),s}),i=y.computed(()=>l.tableColspan!==void 0?l.tableColspan:m.value.length+(t.value===!0?1:0));return{colList:b,computedCols:m,computedColsMap:c,computedColspan:i}}const bn="q-table__bottom row items-center",ks={};Wa.forEach(l=>{ks[l]={}});const pd=$e({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:l=>["horizontal","vertical","cell","none"].includes(l)},wrapCells:Boolean,virtualScroll:Boolean,virtualScrollTarget:{},...ks,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,...Ot,...Kf,...dd,...ed,...nd,...ud,...ad,...Zf},emits:["request","virtualScroll",...Xf,...cd,...sd],setup(l,{slots:B,emit:t}){const b=y.getCurrentInstance(),{proxy:{$q:m}}=b,c=Ft(l,m),{inFullscreen:i,toggleFullscreen:s}=Gf(),n=y.computed(()=>typeof l.rowKey=="function"?l.rowKey:me=>me[l.rowKey]),e=y.ref(null),r=y.ref(null),u=y.computed(()=>l.grid!==!0&&l.virtualScroll===!0),a=y.computed(()=>" q-table__card"+(c.value===!0?" q-table__card--dark q-dark":"")+(l.square===!0?" q-table--square":"")+(l.flat===!0?" q-table--flat":"")+(l.bordered===!0?" q-table--bordered":"")),o=y.computed(()=>`q-table__container q-table--${l.separator}-separator column no-wrap`+(l.grid===!0?" q-table--grid":a.value)+(c.value===!0?" q-table--dark":"")+(l.dense===!0?" q-table--dense":"")+(l.wrapCells===!1?" q-table--no-wrap":"")+(i.value===!0?" fullscreen scroll":"")),d=y.computed(()=>o.value+(l.loading===!0?" q-table--loading":""));y.watch(()=>l.tableStyle+l.tableClass+l.tableHeaderStyle+l.tableHeaderClass+o.value,()=>{u.value===!0&&r.value?.reset()});const{innerPagination:h,computedPagination:f,isServerSide:g,requestServerInteraction:p,setPagination:k}=id(b,Le),{computedFilterMethod:C}=td(l,k),{isRowExpanded:T,setExpanded:D,updateExpanded:V}=fd(l,t),P=y.computed(()=>{let me=l.rows;if(g.value===!0||me.length===0)return me;const{sortBy:xe,descending:Re}=f.value;return l.filter&&(me=C.value(me,l.filter,O.value,Le)),U.value!==null&&(me=Q.value(l.rows===me?me.slice():me,xe,Re)),me}),N=y.computed(()=>P.value.length),q=y.computed(()=>{let me=P.value;if(g.value===!0)return me;const{rowsPerPage:xe}=f.value;return xe!==0&&(Y.value===0&&l.rows!==me?me.length>F.value&&(me=me.slice(0,F.value)):me=me.slice(Y.value,F.value)),me}),{hasSelectionMode:W,singleSelection:L,multipleSelection:A,allRowsSelected:M,someRowsSelected:_,rowsSelectedNumber:v,isRowSelected:x,clearSelection:w,updateSelection:S}=ld(l,t,q,n),{colList:E,computedCols:O,computedColsMap:R,computedColspan:z}=hd(l,f,W),{columnToSort:U,computedSortMethod:Q,sort:j}=$f(l,f,E,k),{firstRowIndex:Y,lastRowIndex:F,isFirstPage:I,isLastPage:H,pagesNumber:K,computedRowsPerPageOptions:ee,computedRowsNumber:G,firstPage:te,prevPage:ce,nextPage:ue,lastPage:J}=od(b,h,f,g,k,N),ae=y.computed(()=>q.value.length===0),se=y.computed(()=>{const me={};return Wa.forEach(xe=>{me[xe]=l[xe]}),me.virtualScrollItemSize===void 0&&(me.virtualScrollItemSize=l.dense===!0?28:48),me});function pe(){u.value===!0&&r.value.reset()}function $(){if(l.grid===!0)return at();const me=l.hideHeader!==!0?De:null;if(u.value===!0){const Re=B["top-row"],Oe=B["bottom-row"],Ee={default:Qe=>ge(Qe.item,B.body,Qe.index)};if(Re!==void 0){const Qe=y.h("tbody",Re({cols:O.value}));Ee.before=me===null?()=>Qe:()=>[me()].concat(Qe)}else me!==null&&(Ee.before=me);return Oe!==void 0&&(Ee.after=()=>y.h("tbody",Oe({cols:O.value}))),y.h(Hf,{ref:r,class:l.tableClass,style:l.tableStyle,...se.value,scrollTarget:l.virtualScrollTarget,items:q.value,type:"__qtable",tableColspan:z.value,onVirtualScroll:oe},Ee)}const xe=[Ce()];return me!==null&&xe.unshift(me()),Ss({class:["q-table__middle scroll",l.tableClass],style:l.tableStyle},xe)}function ie(me,xe){if(r.value!==null){r.value.scrollTo(me,xe);return}me=parseInt(me,10);const Re=e.value.querySelector(`tbody tr:nth-of-type(${me+1})`);if(Re!==null){const Oe=e.value.querySelector(".q-table__middle.scroll"),Ee=Re.offsetTop-l.virtualScrollStickySizeStart,Qe=Ee<Oe.scrollTop?"decrease":"increase";Oe.scrollTop=Ee,t("virtualScroll",{index:me,from:0,to:h.value.rowsPerPage-1,direction:Qe})}}function oe(me){t("virtualScroll",me)}function le(){return[y.h(Qf,{class:"q-table__linear-progress",color:l.color,dark:c.value,indeterminate:!0,trackColor:"transparent"})]}function ge(me,xe,Re){const Oe=n.value(me),Ee=x(Oe);if(xe!==void 0){const X={key:Oe,row:me,pageIndex:Re,__trClass:Ee?"selected":""};if(l.tableRowStyleFn!==void 0&&(X.__trStyle=l.tableRowStyleFn(me)),l.tableRowClassFn!==void 0){const ne=l.tableRowClassFn(me);ne&&(X.__trClass=`${ne} ${X.__trClass}`)}return xe(Ae(X))}const Qe=B["body-cell"],Ke=O.value.map(X=>{const ne=B[`body-cell-${X.name}`],de=ne!==void 0?ne:Qe;return de!==void 0?de(Te({key:Oe,row:me,pageIndex:Re,col:X})):y.h("td",{class:X.__tdClass(me),style:X.__tdStyle(me)},Le(X,me))});if(W.value===!0){const X=B["body-selection"],ne=X!==void 0?X(Ue({key:Oe,row:me,pageIndex:Re})):[y.h(Er,{modelValue:Ee,color:l.color,dark:c.value,dense:l.dense,"onUpdate:modelValue":(de,be)=>{S([Oe],[me],de,be)}})];Ke.unshift(y.h("td",{class:"q-table--col-auto-width"},ne))}const re={key:Oe,class:{selected:Ee}};if(l.onRowClick!==void 0&&(re.class["cursor-pointer"]=!0,re.onClick=X=>{t("rowClick",X,me,Re)}),l.onRowDblclick!==void 0&&(re.class["cursor-pointer"]=!0,re.onDblclick=X=>{t("rowDblclick",X,me,Re)}),l.onRowContextmenu!==void 0&&(re.class["cursor-pointer"]=!0,re.onContextmenu=X=>{t("rowContextmenu",X,me,Re)}),l.tableRowStyleFn!==void 0&&(re.style=l.tableRowStyleFn(me)),l.tableRowClassFn!==void 0){const X=l.tableRowClassFn(me);X&&(re.class[X]=!0)}return y.h("tr",re,Ke)}function Ce(){const me=B.body,xe=B["top-row"],Re=B["bottom-row"];let Oe=q.value.map((Ee,Qe)=>ge(Ee,me,Qe));return xe!==void 0&&(Oe=xe({cols:O.value}).concat(Oe)),Re!==void 0&&(Oe=Oe.concat(Re({cols:O.value}))),y.h("tbody",Oe)}function Ae(me){return Ne(me),me.cols=me.cols.map(xe=>Lt({...xe},"value",()=>Le(xe,me.row))),me}function Te(me){return Ne(me),Lt(me,"value",()=>Le(me.col,me.row)),me}function Ue(me){return Ne(me),me}function Ne(me){Object.assign(me,{cols:O.value,colsMap:R.value,sort:j,rowIndex:Y.value+me.pageIndex,color:l.color,dark:c.value,dense:l.dense}),W.value===!0&&Lt(me,"selected",()=>x(me.key),(xe,Re)=>{S([me.key],[me.row],xe,Re)}),Lt(me,"expand",()=>T(me.key),xe=>{V(me.key,xe)})}function Le(me,xe){const Re=typeof me.field=="function"?me.field(xe):xe[me.field];return me.format!==void 0?me.format(Re,xe):Re}const qe=y.computed(()=>({pagination:f.value,pagesNumber:K.value,isFirstPage:I.value,isLastPage:H.value,firstPage:te,prevPage:ce,nextPage:ue,lastPage:J,inFullscreen:i.value,toggleFullscreen:s}));function Fe(){const me=B.top,xe=B["top-left"],Re=B["top-right"],Oe=B["top-selection"],Ee=W.value===!0&&Oe!==void 0&&v.value>0,Qe="q-table__top relative-position row items-center";if(me!==void 0)return y.h("div",{class:Qe},[me(qe.value)]);let Ke;if(Ee===!0?Ke=Oe(qe.value).slice():(Ke=[],xe!==void 0?Ke.push(y.h("div",{class:"q-table__control"},[xe(qe.value)])):l.title&&Ke.push(y.h("div",{class:"q-table__control"},[y.h("div",{class:["q-table__title",l.titleClass]},l.title)]))),Re!==void 0&&(Ke.push(y.h("div",{class:"q-table__separator col"})),Ke.push(y.h("div",{class:"q-table__control"},[Re(qe.value)]))),Ke.length!==0)return y.h("div",{class:Qe},Ke)}const ke=y.computed(()=>_.value===!0?null:M.value);function De(){const me=We();return l.loading===!0&&B.loading===void 0&&me.push(y.h("tr",{class:"q-table__progress"},[y.h("th",{class:"relative-position",colspan:z.value},le())])),y.h("thead",me)}function We(){const me=B.header,xe=B["header-cell"];if(me!==void 0)return me(Ve({header:!0})).slice();const Re=O.value.map(Oe=>{const Ee=B[`header-cell-${Oe.name}`],Qe=Ee!==void 0?Ee:xe,Ke=Ve({col:Oe});return Qe!==void 0?Qe(Ke):y.h(Ur,{key:Oe.name,props:Ke},()=>Oe.label)});if(L.value===!0&&l.grid!==!0)Re.unshift(y.h("th",{class:"q-table--col-auto-width"}," "));else if(A.value===!0){const Oe=B["header-selection"],Ee=Oe!==void 0?Oe(Ve({})):[y.h(Er,{color:l.color,modelValue:ke.value,dark:c.value,dense:l.dense,"onUpdate:modelValue":Ge})];Re.unshift(y.h("th",{class:"q-table--col-auto-width"},Ee))}return[y.h("tr",{class:l.tableHeaderClass,style:l.tableHeaderStyle},Re)]}function Ve(me){return Object.assign(me,{cols:O.value,sort:j,colsMap:R.value,color:l.color,dark:c.value,dense:l.dense}),A.value===!0&&Lt(me,"selected",()=>ke.value,Ge),me}function Ge(me){_.value===!0&&(me=!1),S(q.value.map(n.value),q.value,me)}const et=y.computed(()=>{const me=[l.iconFirstPage||m.iconSet.table.firstPage,l.iconPrevPage||m.iconSet.table.prevPage,l.iconNextPage||m.iconSet.table.nextPage,l.iconLastPage||m.iconSet.table.lastPage];return m.lang.rtl===!0?me.reverse():me});function He(){if(l.hideBottom===!0)return;if(ae.value===!0){if(l.hideNoData===!0)return;const Re=l.loading===!0?l.loadingLabel||m.lang.table.loading:l.filter?l.noResultsLabel||m.lang.table.noResults:l.noDataLabel||m.lang.table.noData,Oe=B["no-data"],Ee=Oe!==void 0?[Oe({message:Re,icon:m.iconSet.table.warning,filter:l.filter})]:[y.h(gt,{class:"q-table__bottom-nodata-icon",name:m.iconSet.table.warning}),Re];return y.h("div",{class:bn+" q-table__bottom--nodata"},Ee)}const me=B.bottom;if(me!==void 0)return y.h("div",{class:bn},[me(qe.value)]);const xe=l.hideSelectedBanner!==!0&&W.value===!0&&v.value>0?[y.h("div",{class:"q-table__control"},[y.h("div",[(l.selectedRowsLabel||m.lang.table.selectedRecords)(v.value)])])]:[];if(l.hidePagination!==!0)return y.h("div",{class:bn+" justify-end"},tt(xe));if(xe.length!==0)return y.h("div",{class:bn},xe)}function nt(me){k({page:1,rowsPerPage:me.value})}function tt(me){let xe;const{rowsPerPage:Re}=f.value,Oe=l.paginationLabel||m.lang.table.pagination,Ee=B.pagination,Qe=l.rowsPerPageOptions.length>1;if(me.push(y.h("div",{class:"q-table__separator col"})),Qe===!0&&me.push(y.h("div",{class:"q-table__control"},[y.h("span",{class:"q-table__bottom-item"},[l.rowsPerPageLabel||m.lang.table.recordsPerPage]),y.h(Un,{class:"q-table__select inline q-table__bottom-item",color:l.color,modelValue:Re,options:ee.value,displayValue:Re===0?m.lang.table.allRows:Re,dark:c.value,borderless:!0,dense:!0,optionsDense:!0,optionsCover:!0,"onUpdate:modelValue":nt})])),Ee!==void 0)xe=Ee(qe.value);else if(xe=[y.h("span",Re!==0?{class:"q-table__bottom-item"}:{},[Re?Oe(Y.value+1,Math.min(F.value,G.value),G.value):Oe(1,N.value,G.value)])],Re!==0&&K.value>1){const Ke={color:l.color,round:!0,dense:!0,flat:!0};l.dense===!0&&(Ke.size="sm"),K.value>2&&xe.push(y.h(ut,{key:"pgFirst",...Ke,icon:et.value[0],disable:I.value,"aria-label":m.lang.pagination.first,onClick:te})),xe.push(y.h(ut,{key:"pgPrev",...Ke,icon:et.value[1],disable:I.value,"aria-label":m.lang.pagination.prev,onClick:ce}),y.h(ut,{key:"pgNext",...Ke,icon:et.value[2],disable:H.value,"aria-label":m.lang.pagination.next,onClick:ue})),K.value>2&&xe.push(y.h(ut,{key:"pgLast",...Ke,icon:et.value[3],disable:H.value,"aria-label":m.lang.pagination.last,onClick:J}))}return me.push(y.h("div",{class:"q-table__control"},xe)),me}function Ye(){const me=l.gridHeader===!0?[y.h("table",{class:"q-table"},[De()])]:l.loading===!0&&B.loading===void 0?le():void 0;return y.h("div",{class:"q-table__middle"},me)}function at(){const me=B.item!==void 0?B.item:xe=>{const Re=xe.cols.map(Ee=>y.h("div",{class:"q-table__grid-item-row"},[y.h("div",{class:"q-table__grid-item-title"},[Ee.label]),y.h("div",{class:"q-table__grid-item-value"},[Ee.value])]));if(W.value===!0){const Ee=B["body-selection"],Qe=Ee!==void 0?Ee(xe):[y.h(Er,{modelValue:xe.selected,color:l.color,dark:c.value,dense:l.dense,"onUpdate:modelValue":(Ke,re)=>{S([xe.key],[xe.row],Ke,re)}})];Re.unshift(y.h("div",{class:"q-table__grid-item-row"},Qe),y.h(Hr,{dark:c.value}))}const Oe={class:["q-table__grid-item-card"+a.value,l.cardClass],style:l.cardStyle};if(l.cardStyleFn!==void 0&&(Oe.style=[Oe.style,l.cardStyleFn(xe.row)]),l.cardClassFn!==void 0){const Ee=l.cardClassFn(xe.row);Ee&&(Oe.class[0]+=` ${Ee}`)}return(l.onRowClick!==void 0||l.onRowDblclick!==void 0||l.onRowContextmenu!==void 0)&&(Oe.class[0]+=" cursor-pointer",l.onRowClick!==void 0&&(Oe.onClick=Ee=>{t("RowClick",Ee,xe.row,xe.pageIndex)}),l.onRowDblclick!==void 0&&(Oe.onDblclick=Ee=>{t("RowDblclick",Ee,xe.row,xe.pageIndex)}),l.onRowContextmenu!==void 0&&(Oe.onContextmenu=Ee=>{t("rowContextmenu",Ee,xe.row,xe.pageIndex)})),y.h("div",{class:"q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3"+(xe.selected===!0?" q-table__grid-item--selected":"")},[y.h("div",Oe,Re)])};return y.h("div",{class:["q-table__grid-content row",l.cardContainerClass],style:l.cardContainerStyle},q.value.map((xe,Re)=>me(Ae({key:n.value(xe),row:xe,pageIndex:Re}))))}return Object.assign(b.proxy,{requestServerInteraction:p,setPagination:k,firstPage:te,prevPage:ce,nextPage:ue,lastPage:J,isRowSelected:x,clearSelection:w,isRowExpanded:T,setExpanded:D,sort:j,resetVirtualScroll:pe,scrollTo:ie,getCellValue:Le}),_s(b.proxy,{filteredSortedRows:()=>P.value,computedRows:()=>q.value,computedRowsNumber:()=>G.value}),()=>{const me=[Fe()],xe={ref:e,class:d.value};return l.grid===!0?me.push(Ye()):Object.assign(xe,{class:[xe.class,l.cardClass],style:l.cardStyle}),me.push($(),He()),l.loading===!0&&B.loading!==void 0&&me.push(B.loading()),y.h("div",xe,me)}}});function md(l,B,t){if(!t.renderAsBadge)return null;const b={label:typeof t.format=="function"?t.format(l):String(l),outline:t.badgeOutline,rounded:t.badgeRounded,size:t.badgeSize||"md",class:t.badgeClass};if(t.badgeMapping){const m=String(l).toLowerCase(),c=t.badgeMapping[m]||t.badgeMapping[l];c&&(b.color=c.color,b.label=c.label||b.label,b.icon=c.icon,b.outline=c.outline??b.outline)}return typeof t.badgeColor=="function"?b.color=t.badgeColor(l,B):t.badgeColor?b.color=t.badgeColor:b.color||(b.color=gd(l)),b}function gd(l){const B=String(l).toLowerCase();return{active:"green",inactive:"grey",pending:"orange",approved:"blue",rejected:"red",completed:"green",cancelled:"red",success:"green",error:"red",warning:"orange",info:"blue",draft:"grey",published:"green",archived:"grey-7",true:"green",false:"grey",yes:"green",no:"grey",enabled:"green",disabled:"grey"}[B]||"primary"}function qt(l,B){const t=vd(l,B);return{value:t,badgeConfig:md(t,l,B)}}const bd={shouldShowExpandButton:()=>!0,shouldShowSelectionColumn:()=>!0};function vd(l,B){return typeof B.field=="function"?B.field(l):l[B.field]}function Ai(l,B){return typeof l.visible=="function"?l.visible(B):l.visible!==!1}function _r(l,B){return typeof l.disabled=="function"?l.disabled(B):!!l.disabled}function aa(l,B,t,b){return l.filter(m=>Ai(m,B)&&(m.position===t||m.position==="both")&&(!b||m.columnName===b))}function vn(l,B){return _r(l,B)?"grey":l.color||"primary"}function yn(l,B,t,b="action"){return l.testId?typeof l.testId=="function"?l.testId(B):l.testId:`${b}-${l.id}-${B[t]}`}function ur(l,B){return l[B]||String(l.id)||String(l._id)||JSON.stringify(l)}function yd(l,B,t){const b=ur(l,t);return B.some(m=>ur(m,t)===b)}function wd(l,B){const t=y.ref(new Set);return(()=>{if(B&&typeof localStorage<"u")try{const a=localStorage.getItem(B);if(a){const o=JSON.parse(a),d=new Set(Object.keys(o).filter(h=>o[h]));t.value=d;return}}catch(a){console.warn("Error loading column state from localStorage:",a)}l.forEach(a=>{!a.hidden&&!a.isSelectionColumn&&t.value.add(a.name)})})(),B&&y.watch(t,a=>{try{const o={};l.forEach(d=>{o[d.name]=a.has(d.name)}),localStorage.setItem(B,JSON.stringify(o))}catch(o){console.warn("Error saving column state to localStorage:",o)}},{deep:!0}),{visibleColumns:t,toggleColumnVisibility:a=>{const o=new Set(t.value);o.has(a)?o.delete(a):o.add(a),t.value=o},showColumn:a=>{t.value.add(a)},hideColumn:a=>{t.value.delete(a)},showAllColumns:()=>{const a=new Set;l.forEach(o=>{a.add(o.name)}),t.value=a},hideAllColumns:()=>{t.value.clear()},resetColumns:()=>{t.value.clear(),l.forEach(a=>{!a.hidden&&!a.isSelectionColumn&&t.value.add(a.name)}),B&&typeof localStorage<"u"&&localStorage.removeItem(B)},filteredColumns:a=>a.filter(o=>t.value.has(o.name)),isColumnVisible:a=>t.value.has(a)}}function xd(l,B={},t={}){const b=y.ref([]),{persistKey:m="pagination",defaultRowsPerPage:c=100}=B,i=y.ref(!1),s=y.ref(null),n=y.ref({});let e="",r=!1,u=null;const o=(()=>{try{if(!m||typeof localStorage>"u")return{page:1,rowsPerPage:c};const g=localStorage.getItem(m);if(!g)return{page:1,rowsPerPage:c};const p=JSON.parse(g);return{page:p.page&&p.page>0?Number(p.page):1,rowsPerPage:p.rowsPerPage&&p.rowsPerPage>0?Number(p.rowsPerPage):c,sortBy:p.sortBy,descending:p.descending}}catch(g){return console.warn("Failed to restore pagination:",g),{page:1,rowsPerPage:c}}})(),d=y.ref({page:o.page??1,rowsPerPage:o.rowsPerPage??c,rowsNumber:0,rowsPerPageOptions:[5,15,50,100,200],sortBy:o.sortBy,descending:o.descending});y.watch(()=>({page:d.value.page,rowsPerPage:d.value.rowsPerPage,sortBy:d.value.sortBy,descending:d.value.descending}),g=>{if(m)try{localStorage.setItem(m,JSON.stringify(g))}catch(p){console.warn("Failed to save pagination:",p)}},{deep:!0});const h=g=>{const{page:p,rowsPerPage:k,sortBy:C,descending:T}=g.pagination;let D={};y.isRef(t)?D={...t.value}:D={...t};const V=Object.fromEntries(Object.entries({...D,page:p,page_size:k,filter:s.value,...n.value}).filter(([,P])=>P!=null));if(C){const P=Array.isArray(C)?C:[C],N=Array.isArray(T)?T:[T];V.ordering=P.map((q,W)=>`${N[W]?"-":""}${q}`)}return V};return{results:b,pagination:d,loading:i,filter:s,filterSelected:n,onRequest:async g=>{const p=g.force??!1,{page:k,rowsPerPage:C,sortBy:T,descending:D}=g.pagination;if(r&&!p)return;u&&u.abort(),u=new AbortController;const V=h(g),P=JSON.stringify(V);if(!(!p&&P===e&&k===d.value.page&&C===d.value.rowsPerPage)){e=P,r=!0,i.value=!0;try{const N=await l(V);u.signal.aborted||(b.value=N.results??[],d.value.page=k,d.value.rowsPerPage=C,d.value.sortBy=T,d.value.descending=D,d.value.rowsNumber=N.count??0)}catch(N){throw u.signal.aborted||(console.error("Error fetching data:",N),b.value=[],d.value.rowsNumber=0),N}finally{u.signal.aborted||(i.value=!1,r=!1),u=null}}}}}const Sd={key:0,class:"row items-center q-mb-md q-pa-sm bg-blue-1 rounded-borders"},kd={class:"col-auto q-mr-md"},_d={class:"col"},Cd={class:"flex items-center gap-2"},Ad={key:1,class:"row items-center q-mb-sm q-pa-xs bg-grey-2 rounded-borders"},Ed={class:"col"},Md={class:"flex items-center flex-wrap gap-1"},Td={class:"column-container"},Rd={class:"column-label ellipsis"},Bd={key:0,"auto-width":"",class:"q-pa-xs selection-cell"},Id={key:1,"auto-width":"",class:"expand-cell"},Od=["onClick"],Fd={class:"flex items-center"},jd={key:1,class:"text-no-wrap ellipsis"},Dd={colspan:"100%"},Pd=y.defineComponent({__name:"SelfeeTable",props:{columns:{},results:{},pagination:{default:()=>({page:1,rowsPerPage:100,rowsNumber:0,rowsPerPageOptions:[5,15,50,100,200]})},loading:{type:Boolean,default:!1},filter:{default:null},selected:{default:()=>[]},onRequest:{},onSelectionChange:{},onRowDblClick:{},rowKey:{default:"id"},selection:{default:"none"},selectable:{type:Function,default:()=>!0},showSelectAll:{type:Boolean,default:!0},rowClasses:{type:[String,Function],default:void 0},services:{default:()=>({})},conditionals:{default:()=>({})},actions:{type:[Array,Function],default:()=>[]},showSkeleton:{type:Boolean,default:!1},showColumnToggle:{type:Boolean,default:!1},columnStorageKey:{default:void 0},multiSort:{type:Boolean,default:!0},maxSortFields:{default:3},useBuiltInPagination:{type:Boolean,default:!1},fetchDataFn:{type:Function,default:void 0},persistKey:{default:"table-pagination"},defaultRowsPerPage:{default:100},initialParams:{default:()=>({})},filterSelected:{default:()=>({})}},emits:["update:pagination","update:selected","selection-change","data-loaded","loading-change"],setup(l,{expose:B,emit:t}){const b=l,m=t,c=y.ref([]),i=y.ref(b.selected||[]),s=y.ref(!1),n=y.ref(!1),e=y.ref(null),r=y.ref(!0),u=y.ref(""),a=y.ref(null),o=y.useSlots(),d=y.computed(()=>!!o.expanded),{toggleColumnVisibility:h,resetColumns:f,filteredColumns:g,isColumnVisible:p}=wd(b.columns,b.columnStorageKey),k=y.computed(()=>g(b.columns)),C=b.useBuiltInPagination&&b.fetchDataFn?xd(b.fetchDataFn,{persistKey:b.persistKey,defaultRowsPerPage:b.defaultRowsPerPage},b.initialParams):null,T=y.computed(()=>b.useBuiltInPagination&&C?C.results.value||[]:b.results||[]),D=y.computed(()=>b.useBuiltInPagination&&C?C.loading.value:b.loading),V=y.computed({get(){return b.useBuiltInPagination&&C?C.pagination.value:b.pagination},set($){if(b.useBuiltInPagination&&C){C.pagination.value={...C.pagination.value,page:$.page,rowsPerPage:$.rowsPerPage,sortBy:$.sortBy,descending:$.descending};try{localStorage.setItem(b.persistKey||"table-pagination",JSON.stringify({page:$.page,rowsPerPage:$.rowsPerPage,sortBy:$.sortBy,descending:$.descending}))}catch(ie){console.warn("Failed to save pagination:",ie)}}else m("update:pagination",$)}}),P=y.computed(()=>({...bd,...b.conditionals})),N=$=>P.value.shouldShowExpandButton($),q=$=>c.value.includes($[b.rowKey]),W=y.computed(()=>{if(b.selection!=="none")return b.selection}),L=y.computed(()=>b.selection==="none"?!1:P.value.shouldShowSelectionColumn()),A=y.computed(()=>T.value.length===0?!1:typeof b.actions=="function"?!0:b.actions.some($=>Ai($,T.value[0])&&($.position==="row"||$.position==="both"))),M=y.computed(()=>L.value?[{name:"__selection",label:"",field:"__selection",align:"center",sortable:!1,isSelectionColumn:!0},...k.value]:k.value),_=$=>typeof b.selectable=="function"?b.selectable($):b.selectable!==!1,v=$=>yd($,i.value,b.rowKey),x=y.computed(()=>T.value.filter($=>_($))),w=y.computed(()=>x.value.length===0?!1:x.value.every($=>v($))),S=y.computed(()=>i.value.length===0?!1:!w.value&&x.value.some($=>v($)));async function E($=!1){if(!b.useBuiltInPagination||!C)return;a.value&&(clearTimeout(a.value),a.value=null);const ie=JSON.stringify({pagination:V.value,filters:b.filterSelected,search:b.filter});if(!(!$&&ie===u.value)){if(s.value){e.value={pagination:{...V.value}};return}a.value=setTimeout(async()=>{s.value=!0,u.value=ie,m("loading-change",!0);try{if(C.filterSelected&&(C.filterSelected.value={...b.filterSelected}),C.filter&&(C.filter.value=b.filter),await C.onRequest({pagination:{page:V.value.page,rowsPerPage:V.value.rowsPerPage,sortBy:V.value.sortBy,descending:V.value.descending},force:!0}),m("data-loaded",C.results.value),m("loading-change",!1),e.value){const oe={...e.value};e.value=null,oe.pagination&&(V.value=oe.pagination)}}catch(oe){console.error("Error loading data:",oe),m("loading-change",!1)}finally{s.value=!1,a.value=null}},50)}}y.watch(()=>b.filterSelected,$=>{b.useBuiltInPagination&&C&&!r.value&&(C.filterSelected.value={...$},V.value.page===1?E(!0):V.value={...V.value,page:1})},{deep:!0}),y.watch(()=>b.filter,$=>{b.useBuiltInPagination&&C&&!r.value&&(C.filter.value=$,V.value.page===1?E(!0):V.value={...V.value,page:1})}),y.watch(()=>V.value.page,($,ie)=>{b.useBuiltInPagination&&C&&!r.value&&$!==ie&&!n.value&&E(!0)}),y.watch(()=>V.value.rowsPerPage,($,ie)=>{b.useBuiltInPagination&&C&&!r.value&&$!==ie&&E(!0)});function O($){if(b.useBuiltInPagination&&C){if(n.value)return;const ie={...$.pagination};if(ie.sortBy){const le=(Array.isArray(ie.sortBy)?ie.sortBy:[ie.sortBy]).map(ge=>b.columns.find(Ae=>Ae.name===ge)?.sortField||ge);ie.sortBy=le.length===1?le[0]:le}V.value=ie}else b.onRequest&&b.onRequest($)}y.watch(()=>b.selected,$=>{JSON.stringify($)!==JSON.stringify(i.value)&&(i.value=$||[])},{deep:!0}),y.watch(i,$=>{m("update:selected",$),m("selection-change",$)},{deep:!0}),y.onMounted(async()=>{if(b.useBuiltInPagination&&C){try{const $=localStorage.getItem(b.persistKey||"table-pagination");if($){const ie=JSON.parse($);ie.rowsPerPage&&(C.pagination.value={...C.pagination.value,page:ie.page||1,rowsPerPage:ie.rowsPerPage||100,sortBy:ie.sortBy,descending:ie.descending})}}catch($){console.warn("Failed to restore pagination:",$)}b.filterSelected&&(C.filterSelected.value={...b.filterSelected}),b.filter&&(C.filter.value=b.filter),r.value=!1}});function R($,ie){if(!_($))return;const oe=ur($,b.rowKey);ie?i.value.some(le=>ur(le,b.rowKey)===oe)||(i.value=[...i.value,$]):i.value=i.value.filter(le=>ur(le,b.rowKey)!==oe)}function z($){if($){const ie=[...i.value];x.value.forEach(oe=>{v(oe)||ie.push(oe)}),i.value=ie}else{const ie=new Set(x.value.map(oe=>ur(oe,b.rowKey)));i.value=i.value.filter(oe=>!ie.has(ur(oe,b.rowKey)))}}function U(){i.value=[]}const Q=$=>b.rowClasses&&typeof b.rowClasses=="function"?b.rowClasses($):b.rowClasses||"";function j($){return typeof b.actions=="function"?b.actions($):b.actions.filter(ie=>Ai(ie,$))}function Y($){return aa(j($),$,"row")}function F($,ie){return aa(j($),$,"cell",ie)}function I($){if(b.onRowDblClick){b.onRowDblClick($);return}const ie=H($);ie&&!_r(ie,$)&&ie.handler($)}function H($){return j($).find(oe=>oe.id==="edit")}function K($,ie){const oe=F($,ie);for(const le of oe)_r(le,$)||le.handler($)}async function ee($,ie=!1){const oe=$[b.rowKey];if(q($)||ie)c.value=c.value.filter(le=>le!==oe);else if(c.value=[oe],b.services.fetchDetails)try{$.details=await b.services.fetchDetails($)}catch(le){console.error("Error fetching details:",le)}}async function G($,ie){if(!_r($,ie))try{$.isCancel&&await ee(ie,!0),$.handler(ie)}catch(oe){console.error(`Error executing action ${$.id}:`,oe)}}const te=($,ie)=>{if(!ie.sortable)return;const le=b.columns.find(ge=>ge.name===ie.name)?.sortField||ie.name;b.multiSort&&$.ctrlKey?se(le):ce(le)},ce=$=>{const ie=V.value.sortBy,oe=V.value.descending;let le=$,ge;ie===$?oe===!1?ge=!0:oe===!0?(le=void 0,ge=void 0):ge=!1:(le=$,ge=!1),n.value=!0,V.value={...V.value,page:1,sortBy:le,descending:ge},b.useBuiltInPagination&&C?C.onRequest({pagination:{page:V.value.page,rowsPerPage:V.value.rowsPerPage,sortBy:le,descending:ge},force:!0}).finally(()=>{n.value=!1}):b.onRequest&&b.onRequest({pagination:{...V.value,sortBy:le,descending:ge},filter:b.filter})},ue=()=>{const $=V.value.sortBy,ie=V.value.descending;let oe=[];$&&(oe=Array.isArray($)?[...$]:[$]);let le=[];return ie!==void 0&&(le=Array.isArray(ie)?[...ie]:[ie]),{fields:oe,directions:le}},J=$=>$<(b.maxSortFields||3),ae=($,ie)=>{let oe;$.length===0?oe=void 0:$.length===1?oe=$[0]:oe=$;let le;ie.length===0?le=void 0:ie.length===1?le=ie[0]:le=ie,n.value=!0,V.value={...V.value,page:1,sortBy:oe,descending:le},b.useBuiltInPagination&&C?C.onRequest({pagination:{page:1,rowsPerPage:V.value.rowsPerPage,sortBy:oe,descending:le},force:!0}).finally(()=>{n.value=!1}):b.onRequest&&b.onRequest({pagination:{...V.value,page:1,sortBy:oe,descending:le},filter:b.filter??void 0})},se=$=>{const{fields:ie,directions:oe}=ue(),le=ie.indexOf($);if(le===-1){if(!J(ie.length))return;ae([...ie,$],[...oe,!1]);return}if(oe[le]===!1){const ge=[...oe];ge[le]=!0,ae([...ie],ge)}else{const ge=[...ie],Ce=[...oe];ge.splice(le,1),Ce.splice(le,1),ae(ge,Ce)}},pe=$=>{const ie=V.value.sortBy,oe=V.value.descending;if(!ie)return{direction:null,order:0};const ge=b.columns.find(Ne=>Ne.name===$)?.sortField||$,Ce=Array.isArray(ie)?ie:[ie],Ae=Array.isArray(oe)?oe:[oe],Te=Ce.indexOf(ge);if(Te===-1)return{direction:null,order:0};const Ue=Ce.length>1;return{direction:Ae[Te]?"desc":"asc",order:Ue?Te+1:0}};return B({clearSelection:U,getSelectedRows:()=>i.value,toggleRowSelection:R,toggleSelectAll:z,toggleColumnVisibility:h,resetColumns:f,refresh:()=>E(!0),getSortIndicator:pe,clearSort:()=>{V.value={...V.value,page:1,sortBy:void 0,descending:void 0}},expandRow:$=>ee($)}),($,ie)=>(y.openBlock(),y.createElementBlock(y.Fragment,null,[i.value.length>0?(y.openBlock(),y.createElementBlock("div",Sd,[y.createElementVNode("div",kd,[y.createVNode(Ci,{color:"primary",class:"q-pa-xs"},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(i.value.length)+" sélectionné(s) ",1)]),_:1})]),y.createElementVNode("div",_d,[y.createElementVNode("div",Cd,[y.renderSlot($.$slots,"selection-actions",{selected:i.value,clearSelection:U},()=>[y.createVNode(ut,{dense:"",icon:"mdi-close",label:"Effacer",onClick:U,size:"sm"})],!0)])])])):y.createCommentVNode("",!0),$.showColumnToggle&&$.columns.length>0?(y.openBlock(),y.createElementBlock("div",Ad,[ie[2]||(ie[2]=y.createElementVNode("div",{class:"col-auto q-mr-sm"},[y.createElementVNode("span",{class:"text-caption text-grey-7"},"Colonnes:")],-1)),y.createElementVNode("div",Ed,[y.createElementVNode("div",Md,[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList($.columns.filter(oe=>!oe.isSelectionColumn),oe=>(y.openBlock(),y.createBlock(qa,{key:oe.name,clickable:"",color:y.unref(p)(oe.name)?"primary":"grey-5","text-color":"white",icon:y.unref(p)(oe.name)?"visibility":"visibility_off",size:"sm",onClick:le=>y.unref(h)(oe.name)},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(oe.label),1)]),_:2},1032,["color","icon","onClick"]))),128)),$.columnStorageKey?(y.openBlock(),y.createBlock(ut,{key:0,flat:"",dense:"",size:"sm",icon:"refresh",color:"grey",onClick:y.unref(f)},{default:y.withCtx(()=>[y.createVNode(zr,null,{default:y.withCtx(()=>ie[1]||(ie[1]=[y.createTextVNode("Réinitialiser les colonnes")])),_:1,__:[1]})]),_:1},8,["onClick"])):y.createCommentVNode("",!0)])])])):y.createCommentVNode("",!0),y.createVNode(pd,{pagination:V.value,"onUpdate:pagination":ie[0]||(ie[0]=oe=>V.value=oe),columns:M.value,rows:T.value,filter:$.filter,"row-key":$.rowKey,"binary-state-sort":"","rows-per-page-options":V.value.rowsPerPageOptions,onRequest:O,loading:D.value,"hide-no-data":D.value,onHeaderClick:te,class:"q-mb-xl",flat:"",bordered:""},{header:y.withCtx(oe=>[y.createVNode(gn,{props:oe},{default:y.withCtx(()=>[L.value?(y.openBlock(),y.createBlock(Ur,{key:0,"auto-width":"",class:"selection-column"},{default:y.withCtx(()=>[W.value==="multiple"?(y.openBlock(),y.createBlock(Er,{key:0,"model-value":w.value,indeterminate:S.value,"onUpdate:modelValue":z,disabled:D.value||x.value.length===0,"data-cy":"select-all-checkbox",dense:"",size:"sm"},null,8,["model-value","indeterminate","disabled"])):y.createCommentVNode("",!0)]),_:1})):y.createCommentVNode("",!0),d.value?(y.openBlock(),y.createBlock(Ur,{key:1,"auto-width":"",class:"expand-column"})):y.createCommentVNode("",!0),(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(oe.cols.filter(le=>!le.isSelectionColumn),le=>(y.openBlock(),y.createBlock(Ur,{key:le.name,props:oe,class:"column-header",onClick:ge=>te(ge,le)},{default:y.withCtx(()=>[y.createElementVNode("div",Td,[y.createElementVNode("span",Rd,y.toDisplayString(le.label),1),le.sortable?(y.openBlock(),y.createElementBlock("div",{key:0,class:y.normalizeClass(["sort-indicator",{active:pe(le.name).direction!==null}])},[pe(le.name).direction===null?(y.openBlock(),y.createBlock(gt,{key:0,name:"unfold_more",size:"16px",class:"q-ml-xs sort-hover-icon"})):pe(le.name).direction==="asc"?(y.openBlock(),y.createBlock(gt,{key:1,name:"arrow_upward",size:"16px",class:"q-ml-xs sort-active-icon"})):pe(le.name).direction==="desc"?(y.openBlock(),y.createBlock(gt,{key:2,name:"arrow_downward",size:"16px",class:"q-ml-xs sort-active-icon"})):y.createCommentVNode("",!0),pe(le.name).order>0?(y.openBlock(),y.createElementBlock("span",{key:3,class:y.normalizeClass(["sort-order-badge",{"two-digits":pe(le.name).order>9}])},y.toDisplayString(pe(le.name).order),3)):y.createCommentVNode("",!0)],2)):y.createCommentVNode("",!0),$.showColumnToggle?(y.openBlock(),y.createBlock(ut,{key:1,flat:"",dense:"",size:"xs",icon:"visibility_off",onClick:y.withModifiers(ge=>y.unref(h)(le.name),["stop"]),class:"column-close-btn"},{default:y.withCtx(()=>[y.createVNode(zr,null,{default:y.withCtx(()=>ie[3]||(ie[3]=[y.createTextVNode("Cacher cette colonne")])),_:1,__:[3]})]),_:2},1032,["onClick"])):y.createCommentVNode("",!0)])]),_:2},1032,["props","onClick"]))),128)),A.value?(y.openBlock(),y.createBlock(Ur,{key:2,"auto-width":"",class:"actions-column"},{default:y.withCtx(()=>ie[4]||(ie[4]=[y.createTextVNode(" Actions ")])),_:1,__:[4]})):y.createCommentVNode("",!0)]),_:2},1032,["props"])]),body:y.withCtx(oe=>[$.showSkeleton?(y.openBlock(),y.createElementBlock(y.Fragment,{key:0},y.renderList(5,le=>y.createVNode(gn,{key:`skeleton-${le}`},{default:y.withCtx(()=>[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(M.value.filter(ge=>!ge.isSelectionColumn),ge=>(y.openBlock(),y.createBlock(ci,{key:ge.name},{default:y.withCtx(()=>[y.createVNode(ra,{type:"text"})]),_:2},1024))),128)),A.value?(y.openBlock(),y.createBlock(ci,{key:0},{default:y.withCtx(()=>[y.createVNode(ra,{type:"QBtn"})]),_:1})):y.createCommentVNode("",!0)]),_:2},1024)),64)):(y.openBlock(),y.createBlock(gn,{key:1,"data-cy":`row-${oe.row[$.rowKey]}`,props:oe,class:y.normalizeClass([{"bg-grey-3":oe.row.archived},Q(oe.row),v(oe.row)?"selected-row":""]),onDblclick:le=>I(oe.row)},{default:y.withCtx(()=>[L.value?(y.openBlock(),y.createElementBlock("td",Bd,[y.createVNode(Er,{"model-value":v(oe.row),"onUpdate:modelValue":le=>R(oe.row,le),disabled:!_(oe.row),"data-cy":`row-checkbox-${oe.row[$.rowKey]}`,dense:"",size:"sm"},null,8,["model-value","onUpdate:modelValue","disabled","data-cy"])])):y.createCommentVNode("",!0),d.value?(y.openBlock(),y.createElementBlock("td",Id,[y.renderSlot($.$slots,"expand-button",{row:oe.row,expanded:q(oe.row),toggle:()=>ee(oe.row)},()=>[N(oe.row)?(y.openBlock(),y.createBlock(ut,{key:0,"data-cy":`expand-button-${oe.row[$.rowKey]}`,size:"sm",color:"primary",round:"",dense:"",icon:q(oe.row)?"remove":"add",onClick:le=>ee(oe.row)},null,8,["data-cy","icon","onClick"])):y.createCommentVNode("",!0)],!0)])):y.createCommentVNode("",!0),(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(oe.cols.filter(le=>!le.isSelectionColumn),le=>(y.openBlock(),y.createElementBlock("td",{key:le.name,onClick:y.withModifiers(ge=>K(oe.row,le.name),["stop"]),class:"data-cell"},[y.renderSlot($.$slots,"body-cell",{row:oe.row,col:le,value:y.unref(qt)(oe.row,le).value,badgeConfig:y.unref(qt)(oe.row,le).badgeConfig},()=>[y.createElementVNode("div",Fd,[y.unref(qt)(oe.row,le).badgeConfig?(y.openBlock(),y.createBlock(Ci,{key:0,color:y.unref(qt)(oe.row,le).badgeConfig?.color,outline:y.unref(qt)(oe.row,le).badgeConfig?.outline,rounded:y.unref(qt)(oe.row,le).badgeConfig?.rounded,size:y.unref(qt)(oe.row,le).badgeConfig?.size,icon:y.unref(qt)(oe.row,le).badgeConfig?.icon,class:y.normalizeClass(y.unref(qt)(oe.row,le).badgeConfig?.class)},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(y.unref(qt)(oe.row,le).badgeConfig?.label),1)]),_:2},1032,["color","outline","rounded","size","icon","class"])):(y.openBlock(),y.createElementBlock("span",jd,y.toDisplayString(y.unref(qt)(oe.row,le).value),1)),(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(F(oe.row,le.name),ge=>(y.openBlock(),y.createElementBlock(y.Fragment,{key:ge.id},[ge.isButton?(y.openBlock(),y.createBlock(ut,y.mergeProps({key:0,color:y.unref(vn)(ge,oe.row),size:ge.size||"sm",class:ge.class,disabled:y.unref(_r)(ge,oe.row),label:ge.label},{ref_for:!0},ge.buttonProps||{},{"data-cy":y.unref(yn)(ge,oe.row,$.rowKey),onClick:y.withModifiers(Ce=>G(ge,oe.row),["stop"])}),null,16,["color","size","class","disabled","label","data-cy","onClick"])):(y.openBlock(),y.createBlock(gt,{key:1,class:"cursor-pointer q-ml-sm",name:ge.icon,color:y.unref(vn)(ge,oe.row),size:ge.size||"20px","data-cy":y.unref(yn)(ge,oe.row,$.rowKey,"cell-icon"),onClick:y.withModifiers(Ce=>G(ge,oe.row),["stop"])},{default:y.withCtx(()=>[ge.label?(y.openBlock(),y.createBlock(zr,{key:0},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(ge.label),1)]),_:2},1024)):y.createCommentVNode("",!0)]),_:2},1032,["name","color","size","data-cy","onClick"]))],64))),128))])],!0)],8,Od))),128)),y.createVNode(ci,{class:y.normalizeClass(["row items-center justify-center no-wrap actions-cell",Q(oe.row)])},{default:y.withCtx(()=>[(y.openBlock(!0),y.createElementBlock(y.Fragment,null,y.renderList(Y(oe.row),le=>(y.openBlock(),y.createElementBlock(y.Fragment,{key:le.id},[le.isButton?(y.openBlock(),y.createBlock(ut,y.mergeProps({key:0,color:y.unref(vn)(le,oe.row),size:le.size||"sm",class:le.class,disabled:y.unref(_r)(le,oe.row),label:le.label},{ref_for:!0},le.buttonProps||{},{"data-cy":y.unref(yn)(le,oe.row,$.rowKey),onClick:y.withModifiers(ge=>G(le,oe.row),["stop"])}),null,16,["color","size","class","disabled","label","data-cy","onClick"])):(y.openBlock(),y.createBlock(gt,{key:1,class:"cursor-pointer q-mr-sm",name:le.icon,color:y.unref(vn)(le,oe.row),size:le.size||"25px","data-cy":y.unref(yn)(le,oe.row,$.rowKey,"icon"),onClick:y.withModifiers(ge=>G(le,oe.row),["stop"])},{default:y.withCtx(()=>[le.label?(y.openBlock(),y.createBlock(zr,{key:0},{default:y.withCtx(()=>[y.createTextVNode(y.toDisplayString(le.label),1)]),_:2},1024)):y.createCommentVNode("",!0)]),_:2},1032,["name","color","size","data-cy","onClick"]))],64))),128))]),_:2},1032,["class"])]),_:2},1032,["data-cy","props","class","onDblclick"])),d.value&&q(oe.row)?(y.openBlock(),y.createBlock(gn,{key:2},{default:y.withCtx(()=>[y.createElementVNode("td",Dd,[y.renderSlot($.$slots,"expanded",{row:oe.row},void 0,!0)])]),_:2},1024)):y.createCommentVNode("",!0)]),_:3},8,["pagination","columns","rows","filter","row-key","rows-per-page-options","loading","hide-no-data"])],64))}}),Nd=Ht(Pd,[["__scopeId","data-v-ea36456d"]]),Ld={sm:"18px",md:"22px",lg:"28px"},Vd={class:"stat-card__content"},qd={key:0,class:"stat-card__header"},zd={key:0,class:"stat-card__unit"},Ud=y.defineComponent({__name:"StatCard",props:{size:{default:"md"},title:{},titleSize:{default:"md"},icon:{},iconColor:{default:"grey-7"},iconSize:{default:"md"},dotColor:{},value:{},unit:{},valueColor:{},bodySize:{default:"md"},subtitle:{},subtitleSize:{default:"md"}},setup(l){return(B,t)=>(y.openBlock(),y.createElementBlock("div",{class:y.normalizeClass(["stat-card",`stat-card--${B.size}`])},[B.icon?(y.openBlock(),y.createBlock(gt,{key:0,name:B.icon,color:B.iconColor,size:y.unref(Ld)[B.iconSize],class:"stat-card__icon"},null,8,["name","color","size"])):y.createCommentVNode("",!0),y.createElementVNode("div",Vd,[B.dotColor||B.title?(y.openBlock(),y.createElementBlock("div",qd,[B.dotColor?(y.openBlock(),y.createElementBlock("span",{key:0,class:"stat-card__dot",style:y.normalizeStyle({backgroundColor:B.dotColor})},null,4)):y.createCommentVNode("",!0),B.title?(y.openBlock(),y.createElementBlock("span",{key:1,class:y.normalizeClass(["stat-card__title",`stat-card__title--${B.titleSize}`])},y.toDisplayString(B.title),3)):y.createCommentVNode("",!0)])):y.createCommentVNode("",!0),y.createElementVNode("div",{class:y.normalizeClass(["stat-card__body",`stat-card__body--${B.bodySize}`])},[y.renderSlot(B.$slots,"default",{},()=>[y.createElementVNode("span",{style:y.normalizeStyle(B.valueColor?{color:B.valueColor}:{})},y.toDisplayString(B.value),5),B.unit?(y.openBlock(),y.createElementBlock("span",zd,y.toDisplayString(B.unit),1)):y.createCommentVNode("",!0)],!0)],2),B.$slots.footer||B.subtitle?(y.openBlock(),y.createElementBlock("div",{key:1,class:y.normalizeClass(["stat-card__footer",`stat-card__footer--${B.subtitleSize}`])},[y.renderSlot(B.$slots,"footer",{},()=>[y.createTextVNode(y.toDisplayString(B.subtitle),1)],!0)],2)):y.createCommentVNode("",!0)])],2))}}),Wd=Ht(Ud,[["__scopeId","data-v-428727db"]]),Hd=async l=>{const{fileName:B,columns:t,values:b,sheetName:m="Données"}=l,c=new ms.Workbook,i=c.addWorksheet(m);i.columns=t.map(u=>({header:u,key:u,width:20})),b.forEach(u=>{i.addRow(u)});const s=await c.xlsx.writeBuffer(),n=new Blob([s],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),e=URL.createObjectURL(n),r=document.createElement("a");r.href=e,r.download=B.endsWith(".xlsx")?B:`${B}.xlsx`,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(e)},Yd=y.defineComponent({name:"ExportDataButton",__name:"ExportDataButton",props:{fileName:{},columns:{},values:{},sheetName:{default:"Données"},label:{default:"Exporter en Excel"},color:{default:"positive"},disabled:{type:Boolean,default:!1},beforeExport:{type:Function,default:void 0},onSuccess:{type:Function,default:void 0},onError:{type:Function,default:void 0}},emits:["success","error"],setup(l,{emit:B}){const t=l,b=B,m=y.useAttrs(),c=y.ref(!1),i=y.computed(()=>{const{label:n,disabled:e,...r}=m;return r});async function s(){if(!(t.disabled||c.value)){c.value=!0;try{await t.beforeExport?.(),await Hd(t),t.onSuccess?.(),b("success")}catch(n){t.onError?.(n),b("error",n)}finally{c.value=!1}}}return(n,e)=>(y.openBlock(),y.createBlock(ut,y.mergeProps({color:n.color,icon:"file_download",label:n.label,loading:c.value,disable:n.disabled||c.value},i.value,{"data-cy":"export-data-button",onClick:s}),null,16,["color","label","loading","disable"]))}});exports.Breadcrumbs=zs;exports.CheckboxFilter=pu;exports.ConfirmDeleteDialog=Sf;exports.DATE_FORMAT_REGEX=cs;exports.DatePicker=Rc;exports.DateRange=ps;exports.DynamicTeleport=Af;exports.ExportButton=Kc;exports.ExportDataButton=Yd;exports.ExportPerimeterButton=Xc;exports.Layout=Zi;exports.LoginLayout=af;exports.NavButton=ol;exports.PersistentDateRange=Nf;exports.ResetFiltersButton=bf;exports.SelectProjectLayout=df;exports.SelectSearch=mu;exports.SelectYear=gu;exports.SelfeeCard=Mf;exports.SelfeeFooter=Tu;exports.SelfeeHeader=ku;exports.SelfeeLoader=gf;exports.SelfeeTable=Nd;exports.SmartFilters=Pf;exports.StatCard=Wd;exports.UserAvatar=Vu;exports.createBreadcrumb=_c;exports.datePresets=hs;exports.dateRangeUtils=Kt;exports.dateWithoutTimezone=Cc;exports.defaultLocale=fs;exports.defaultProjects=ws;exports.defaultProps=xs;exports.formatDate=qr;exports.formatDateToDDMMYYYY=zt;exports.formatToISODateTime=Mc;exports.getFirstDayOfMonth=jn;exports.getLastDayOfMonth=Dn;exports.getLastThreeFullMonths=ds;exports.isDateSelectable=no;exports.parseDate=Ac;exports.parseISODateTime=Ec;
|
|
58
58
|
//# sourceMappingURL=shared-components.cjs.js.map
|