@opens/ui 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/yunique_ui.umd.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*$vite$:1*/`,document.head.appendChild(iw);const Hr={class:"simple-input"},lr={class:"yu-flex yu-h-full yu-pl-2"},Sr={class:"material-icons yu-text-gray-700 yu-my-auto"},zr=["placeholder","type","maxlength"],Eg=E.defineComponent({__name:"icon-text-input",props:{value:{},label:{},icon:{},placeholder:{},type:{},tooltip:{},caract:{},invalid:{type:Boolean}},emits:["blur","focus","input"],setup(A,{emit:B}){const Q=B,I=A;E.ref(!1);const g=E.ref(I.value);E.ref(!1);const e=E.ref(I.type),w=E.ref(!1);E.watch(w,i=>{if(!i){Q("blur");return}Q("focus")});function M(){return!(w.value||g.value)}function c(i){Q("input",i.target.value)}return(i,t)=>(E.openBlock(),E.createElementBlock("div",Hr,[E.createElementVNode("div",lr,[E.createElementVNode("i",Sr,E.toDisplayString(A.icon),1),E.createElementVNode("p",{class:E.normalizeClass(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition",{"yu-translate-y-2 yu-text-sm":M(),"yu-translate-y-0 yu-text-xs":!M()}])},E.toDisplayString(A.label),3)]),E.withDirectives(E.createElementVNode("input",{class:"yu-pl-8 yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-transparent yu-appearence-none yu-indent-2 yu-pt-3 yu-font-plus yu-font-semibold yu-text-gray-800",placeholder:A.placeholder,onInput:c,onFocus:t[0]||(t[0]=r=>w.value=!0),onBlur:t[1]||(t[1]=r=>w.value=!1),"onUpdate:modelValue":t[2]||(t[2]=r=>g.value=r),type:e.value||A.type,onKeyup:t[3]||(t[3]=E.withKeys(r=>i.$emit("keyup-enter"),["enter"])),maxlength:A.caract},null,40,zr),[[E.vModelDynamic,g.value]])]))}}),jr=["type","disabled"],WE=E.defineComponent({__name:"text-input",props:{modelValue:{},label:{},invalid:{type:Boolean},disabled:{type:Boolean},type:{}},emits:["update:model-value","blur","press-enter"],setup(A,{emit:B}){const Q=A,I=B,g=E.ref(Q.modelValue),e=E.ref(!1);function w(){return!(e.value||g.value)}function M(i){I(i)}function c(i){const t=i.target;I("update:model-value",t.value)}return(i,t)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["simple-input",{"yu-border-red-500":A.invalid}])},[E.createElementVNode("p",{class:E.normalizeClass(["yu-text-gray-500 yu-font-plus yu-font-medium yu-p-1 yu-px-2 yu-transition",{"yu-translate-y-1/4 yu-text-sm":w(),"yu-translate-x-0 yu-text-xs":!w()}])},E.toDisplayString(A.label),3),E.withDirectives(E.createElementVNode("input",{class:"yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-transparent yu-appearence-none yu-indent-2 yu-pt-3 yu-font-plus yu-font-semibold yu-text-gray-800 dark:yu-text-gray-200","onUpdate:modelValue":t[0]||(t[0]=r=>g.value=r),onKeyup:t[1]||(t[1]=E.withKeys(r=>M("press-enter"),["enter"])),type:A.type,disabled:A.disabled,onInput:c,onFocus:t[2]||(t[2]=r=>e.value=!0),onBlur:t[3]||(t[3]=r=>e.value=!1)},null,40,jr),[[E.vModelDynamic,g.value]])],2))}}),xr=["checked"],Ig=E.defineComponent({__name:"switch-checkbox",props:{modelValue:{type:Boolean},invalid:{type:Boolean},disabled:{type:Boolean}},emits:["update:modelValue","change","input"],setup(A,{emit:B}){const Q=A,I=B,g=E.ref(Q.modelValue);return E.ref(!1),E.watch(g,e=>{I("update:modelValue",e)}),(e,w)=>(E.openBlock(),E.createElementBlock("div",{class:"yu-relative yu-inline-block yu-w-10 yu-align-middle yu-select-none yu-transition yu-duration-200 yu-ease-in",onClick:w[0]||(w[0]=M=>g.value=!g.value)},[E.createElementVNode("input",{class:"yu-absolute yu-block yu-w-6 yu-h-6 yu-bg-white yu-border-4 yu-rounded-full yu-appearance-none yu-cursor-pointer toggle-checkbox checked:yu-right-0 checked:yu-border-primary-500",type:"checkbox",checked:g.value},null,8,xr),E.createElementVNode("label",{class:E.normalizeClass(["yu-block yu-h-6 yu-overflow-hidden yu-bg-gray-300 yu-rounded-full yu-cursor-pointer yu-toggle-label",{"yu-bg-primary-500":g.value}]),for:"toggle"},null,2)]))}}),gg=E.defineComponent({__name:"button-primary",props:{large:{type:Boolean,default:!1},small:{type:Boolean,default:!1},warning:{type:Boolean,default:!1},alert:{type:Boolean,default:!1},success:{type:Boolean,default:!1}},setup(A){return(B,Q)=>(E.openBlock(),E.createElementBlock("button",{class:E.normalizeClass(["yu-bg-primary yu-px-5 yu-p-2 yu-w-fit yu-text-base yu-text-white yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate hover:yu-brightness-90 active:yu-scale-95",{"!yu-px-7 !yu-p-4":A.large,"!yu-px-3 !yu-p-1":A.small,"!yu-bg-red-500":A.warning,"!yu-bg-yellow-400":A.alert,"!yu-bg-green-400":A.success}])},[E.renderSlot(B.$slots,"default")],2))}}),eg=E.defineComponent({__name:"button-secondary",props:{large:{type:Boolean,default:!1},small:{type:Boolean,default:!1},warning:{type:Boolean,default:!1},alert:{type:Boolean,default:!1},success:{type:Boolean,default:!1}},setup(A){return(B,Q)=>(E.openBlock(),E.createElementBlock("button",{class:E.normalizeClass(["yu-text-primary yu-bg-primary yu-text-base yu-w-fit yu-px-5 yu-p-2 yu-rounded-md yu-transition-all yu-font-plus yu-font-bold yu-truncate !yu-bg-opacity-5 group hover:!yu-bg-opacity-10 active:yu-scale-95 active:!yu-bg-opacity-20",{"!yu-text-lg":A.large,"!yu-text-sm":A.small,"!yu-text-red-500 !yu-bg-red-500":A.warning,"!yu-text-yellow-400 !yu-bg-yellow-400":A.alert,"!yu-text-green-400 !yu-bg-green-400":A.success}])},[E.renderSlot(B.$slots,"default")],2))}}),wg=E.defineComponent({__name:"simple-dropdown-item",props:{selected:{type:Boolean},center:{type:Boolean}},setup(A){const B=A,Q=E.computed(()=>B.selected?"yu-bg-primary-500 yu-bg-opacity-10 yu-text-primary-400":""),I=E.computed(()=>B.center?"yu-items-center yu-justify-center":"");return(g,e)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["yu-transition yu-text-gray-900 yu-font-plus yu-text-sm yu-p-2 yu-font-semibold yu-rounded-md yu-cursor-pointer yu-flex active:yu-scale-95 hover:yu-bg-primary-500 hover:!yu-bg-opacity-10 hover:yu-text-primary-400",[I.value,Q.value]])},[E.renderSlot(g.$slots,"default")],2))}}),Jr={class:"yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2"},dr={class:"yu-mt-2 yu-w-full yu-bg-white yu-rounded-md yu-flex yu-flex-col yu-gap-1 yu-shadow-md yu-absolute yu-z-10"},Tr={class:"yu-w-full yu-rounded-md yu-p-2"},tw=E.defineComponent({__name:"simple-dropdown",props:{label:{},icon:{},isOpen:{type:Boolean},disabled:{type:Boolean}},setup(A){const B=A;E.watch(()=>B.isOpen,I=>{Q.value=I});const Q=E.ref(!1);return(I,g)=>(E.openBlock(),E.createElementBlock("div",null,[E.createElementVNode("div",{class:E.normalizeClass(["yu-relative yu-w-full",{"yu-opacity-50 yu-pointer-events-none":A.disabled}])},[E.createElementVNode("button",{class:E.normalizeClass(["yu-w-full yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition yu-border yu-border-gray-200 hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95",{"!yu-bg-primary-500 !yu-bg-opacity-10":Q.value}]),onClick:g[0]||(g[0]=e=>Q.value=!Q.value)},[E.withDirectives(E.createElementVNode("i",{class:E.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit",{"yu-text-primary-500":Q.value}])},E.toDisplayString(A.icon),3),[[E.vShow,A.icon]]),E.createElementVNode("div",Jr,E.toDisplayString(A.label),1),E.createElementVNode("i",{class:E.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto",{"yu-text-primary-500 yu-rotate-180":Q.value}])}," keyboard_arrow_down",2)],2),E.withDirectives(E.createElementVNode("div",dr,[E.createElementVNode("div",Tr,[E.renderSlot(I.$slots,"default")])],512),[[E.vShow,Q.value]])],2)]))}}),kr=["top","right","bottom","left"],rw=["start","end"],Fw=kr.reduce((A,B)=>A.concat(B,B+"-"+rw[0],B+"-"+rw[1]),[]),EE=Math.min,gQ=Math.max,mr={left:"right",right:"left",bottom:"top",top:"bottom"},ur={start:"end",end:"start"};function Mg(A,B,Q){return gQ(A,EE(B,Q))}function eQ(A,B){return typeof A=="function"?A(B):A}function gB(A){return A.split("-")[0]}function bA(A){return A.split("-")[1]}function sw(A){return A==="x"?"y":"x"}function cg(A){return A==="y"?"height":"width"}const Kr=new Set(["top","bottom"]);function hB(A){return Kr.has(gB(A))?"y":"x"}function ig(A){return sw(hB(A))}function Uw(A,B,Q){Q===void 0&&(Q=!1);const I=bA(A),g=ig(A),e=cg(g);let w=g==="x"?I===(Q?"end":"start")?"right":"left":I==="start"?"bottom":"top";return B.reference[e]>B.floating[e]&&(w=qE(w)),[w,qE(w)]}function fr(A){const B=qE(A);return[pE(A),B,pE(B)]}function pE(A){return A.replace(/start|end/g,B=>ur[B])}const ow=["left","right"],Yw=["right","left"],Wr=["top","bottom"],pr=["bottom","top"];function qr(A,B,Q){switch(A){case"top":case"bottom":return Q?B?Yw:ow:B?ow:Yw;case"left":case"right":return B?Wr:pr;default:return[]}}function Zr(A,B,Q,I){const g=bA(A);let e=qr(gB(A),Q==="start",I);return g&&(e=e.map(w=>w+"-"+g),B&&(e=e.concat(e.map(pE)))),e}function qE(A){return A.replace(/left|right|bottom|top/g,B=>mr[B])}function Or(A){return{top:0,right:0,bottom:0,left:0,...A}}function Cw(A){return typeof A!="number"?Or(A):{top:A,right:A,bottom:A,left:A}}function IE(A){const{x:B,y:Q,width:I,height:g}=A;return{width:I,height:g,top:Q,left:B,right:B+I,bottom:Q+g,x:B,y:Q}}function aw(A,B,Q){let{reference:I,floating:g}=A;const e=hB(B),w=ig(B),M=cg(w),c=gB(B),i=e==="y",t=I.x+I.width/2-g.width/2,r=I.y+I.height/2-g.height/2,F=I[M]/2-g[M]/2;let s;switch(c){case"top":s={x:t,y:I.y-g.height};break;case"bottom":s={x:t,y:I.y+I.height};break;case"right":s={x:I.x+I.width,y:r};break;case"left":s={x:I.x-g.width,y:r};break;default:s={x:I.x,y:I.y}}switch(bA(B)){case"start":s[w]-=F*(Q&&i?-1:1);break;case"end":s[w]+=F*(Q&&i?-1:1);break}return s}const br=async(A,B,Q)=>{const{placement:I="bottom",strategy:g="absolute",middleware:e=[],platform:w}=Q,M=e.filter(Boolean),c=await(w.isRTL==null?void 0:w.isRTL(B));let i=await w.getElementRects({reference:A,floating:B,strategy:g}),{x:t,y:r}=aw(i,I,c),F=I,s={},o=0;for(let C=0;C<M.length;C++){const{name:a,fn:Y}=M[C],{x:R,y:n,data:h,reset:D}=await Y({x:t,y:r,initialPlacement:I,placement:F,strategy:g,middlewareData:s,rects:i,platform:w,elements:{reference:A,floating:B}});t=R??t,r=n??r,s={...s,[a]:{...s[a],...h}},D&&o<=50&&(o++,typeof D=="object"&&(D.placement&&(F=D.placement),D.rects&&(i=D.rects===!0?await w.getElementRects({reference:A,floating:B,strategy:g}):D.rects),{x:t,y:r}=aw(i,F,c)),C=-1)}return{x:t,y:r,placement:F,strategy:g,middlewareData:s}};async function ZE(A,B){var Q;B===void 0&&(B={});const{x:I,y:g,platform:e,rects:w,elements:M,strategy:c}=A,{boundary:i="clippingAncestors",rootBoundary:t="viewport",elementContext:r="floating",altBoundary:F=!1,padding:s=0}=eQ(B,A),o=Cw(s),a=M[F?r==="floating"?"reference":"floating":r],Y=IE(await e.getClippingRect({element:(Q=await(e.isElement==null?void 0:e.isElement(a)))==null||Q?a:a.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(M.floating)),boundary:i,rootBoundary:t,strategy:c})),R=r==="floating"?{x:I,y:g,width:w.floating.width,height:w.floating.height}:w.reference,n=await(e.getOffsetParent==null?void 0:e.getOffsetParent(M.floating)),h=await(e.isElement==null?void 0:e.isElement(n))?await(e.getScale==null?void 0:e.getScale(n))||{x:1,y:1}:{x:1,y:1},D=IE(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({elements:M,rect:R,offsetParent:n,strategy:c}):R);return{top:(Y.top-D.top+o.top)/h.y,bottom:(D.bottom-Y.bottom+o.bottom)/h.y,left:(Y.left-D.left+o.left)/h.x,right:(D.right-Y.right+o.right)/h.x}}const Lr=A=>({name:"arrow",options:A,async fn(B){const{x:Q,y:I,placement:g,rects:e,platform:w,elements:M,middlewareData:c}=B,{element:i,padding:t=0}=eQ(A,B)||{};if(i==null)return{};const r=Cw(t),F={x:Q,y:I},s=ig(g),o=cg(s),C=await w.getDimensions(i),a=s==="y",Y=a?"top":"left",R=a?"bottom":"right",n=a?"clientHeight":"clientWidth",h=e.reference[o]+e.reference[s]-F[s]-e.floating[o],D=F[s]-e.reference[s],S=await(w.getOffsetParent==null?void 0:w.getOffsetParent(i));let V=S?S[n]:0;(!V||!await(w.isElement==null?void 0:w.isElement(S)))&&(V=M.floating[n]||e.floating[o]);const J=h/2-D/2,u=V/2-C[o]/2-1,y=EE(r[Y],u),j=EE(r[R],u),z=y,k=V-C[o]-j,q=V/2-C[o]/2+J,m=Mg(z,q,k),Z=!c.arrow&&bA(g)!=null&&q!==m&&e.reference[o]/2-(q<z?y:j)-C[o]/2<0,L=Z?q<z?q-z:q-k:0;return{[s]:F[s]+L,data:{[s]:m,centerOffset:q-m-L,...Z&&{alignmentOffset:L}},reset:Z}}});function Xr(A,B,Q){return(A?[...Q.filter(g=>bA(g)===A),...Q.filter(g=>bA(g)!==A)]:Q.filter(g=>gB(g)===g)).filter(g=>A?bA(g)===A||(B?pE(g)!==g:!1):!0)}const vr=function(A){return A===void 0&&(A={}),{name:"autoPlacement",options:A,async fn(B){var Q,I,g;const{rects:e,middlewareData:w,placement:M,platform:c,elements:i}=B,{crossAxis:t=!1,alignment:r,allowedPlacements:F=Fw,autoAlignment:s=!0,...o}=eQ(A,B),C=r!==void 0||F===Fw?Xr(r||null,s,F):F,a=await ZE(B,o),Y=((Q=w.autoPlacement)==null?void 0:Q.index)||0,R=C[Y];if(R==null)return{};const n=Uw(R,e,await(c.isRTL==null?void 0:c.isRTL(i.floating)));if(M!==R)return{reset:{placement:C[0]}};const h=[a[gB(R)],a[n[0]],a[n[1]]],D=[...((I=w.autoPlacement)==null?void 0:I.overflows)||[],{placement:R,overflows:h}],S=C[Y+1];if(S)return{data:{index:Y+1,overflows:D},reset:{placement:S}};const V=D.map(y=>{const j=bA(y.placement);return[y.placement,j&&t?y.overflows.slice(0,2).reduce((z,k)=>z+k,0):y.overflows[0],y.overflows]}).sort((y,j)=>y[1]-j[1]),u=((g=V.filter(y=>y[2].slice(0,bA(y[0])?2:3).every(j=>j<=0))[0])==null?void 0:g[0])||V[0][0];return u!==M?{data:{index:Y+1,overflows:D},reset:{placement:u}}:{}}}},Pr=function(A){return A===void 0&&(A={}),{name:"flip",options:A,async fn(B){var Q,I;const{placement:g,middlewareData:e,rects:w,initialPlacement:M,platform:c,elements:i}=B,{mainAxis:t=!0,crossAxis:r=!0,fallbackPlacements:F,fallbackStrategy:s="bestFit",fallbackAxisSideDirection:o="none",flipAlignment:C=!0,...a}=eQ(A,B);if((Q=e.arrow)!=null&&Q.alignmentOffset)return{};const Y=gB(g),R=hB(M),n=gB(M)===M,h=await(c.isRTL==null?void 0:c.isRTL(i.floating)),D=F||(n||!C?[qE(M)]:fr(M)),S=o!=="none";!F&&S&&D.push(...Zr(M,C,o,h));const V=[M,...D],J=await ZE(B,a),u=[];let y=((I=e.flip)==null?void 0:I.overflows)||[];if(t&&u.push(J[Y]),r){const q=Uw(g,w,h);u.push(J[q[0]],J[q[1]])}if(y=[...y,{placement:g,overflows:u}],!u.every(q=>q<=0)){var j,z;const q=(((j=e.flip)==null?void 0:j.index)||0)+1,m=V[q];if(m&&(!(r==="alignment"?R!==hB(m):!1)||y.every(IA=>hB(IA.placement)===R?IA.overflows[0]>0:!0)))return{data:{index:q,overflows:y},reset:{placement:m}};let Z=(z=y.filter(L=>L.overflows[0]<=0).sort((L,IA)=>L.overflows[1]-IA.overflows[1])[0])==null?void 0:z.placement;if(!Z)switch(s){case"bestFit":{var k;const L=(k=y.filter(IA=>{if(S){const $=hB(IA.placement);return $===R||$==="y"}return!0}).map(IA=>[IA.placement,IA.overflows.filter($=>$>0).reduce(($,l)=>$+l,0)]).sort((IA,$)=>IA[1]-$[1])[0])==null?void 0:k[0];L&&(Z=L);break}case"initialPlacement":Z=M;break}if(g!==Z)return{reset:{placement:Z}}}return{}}}},_r=new Set(["left","top"]);async function $r(A,B){const{placement:Q,platform:I,elements:g}=A,e=await(I.isRTL==null?void 0:I.isRTL(g.floating)),w=gB(Q),M=bA(Q),c=hB(Q)==="y",i=_r.has(w)?-1:1,t=e&&c?-1:1,r=eQ(B,A);let{mainAxis:F,crossAxis:s,alignmentAxis:o}=typeof r=="number"?{mainAxis:r,crossAxis:0,alignmentAxis:null}:{mainAxis:r.mainAxis||0,crossAxis:r.crossAxis||0,alignmentAxis:r.alignmentAxis};return M&&typeof o=="number"&&(s=M==="end"?o*-1:o),c?{x:s*t,y:F*i}:{x:F*i,y:s*t}}const AF=function(A){return A===void 0&&(A=0),{name:"offset",options:A,async fn(B){var Q,I;const{x:g,y:e,placement:w,middlewareData:M}=B,c=await $r(B,A);return w===((Q=M.offset)==null?void 0:Q.placement)&&(I=M.arrow)!=null&&I.alignmentOffset?{}:{x:g+c.x,y:e+c.y,data:{...c,placement:w}}}}},BF=function(A){return A===void 0&&(A={}),{name:"shift",options:A,async fn(B){const{x:Q,y:I,placement:g}=B,{mainAxis:e=!0,crossAxis:w=!1,limiter:M={fn:a=>{let{x:Y,y:R}=a;return{x:Y,y:R}}},...c}=eQ(A,B),i={x:Q,y:I},t=await ZE(B,c),r=hB(gB(g)),F=sw(r);let s=i[F],o=i[r];if(e){const a=F==="y"?"top":"left",Y=F==="y"?"bottom":"right",R=s+t[a],n=s-t[Y];s=Mg(R,s,n)}if(w){const a=r==="y"?"top":"left",Y=r==="y"?"bottom":"right",R=o+t[a],n=o-t[Y];o=Mg(R,o,n)}const C=M.fn({...B,[F]:s,[r]:o});return{...C,data:{x:C.x-Q,y:C.y-I,enabled:{[F]:e,[r]:w}}}}}},QF=function(A){return A===void 0&&(A={}),{name:"size",options:A,async fn(B){var Q,I;const{placement:g,rects:e,platform:w,elements:M}=B,{apply:c=()=>{},...i}=eQ(A,B),t=await ZE(B,i),r=gB(g),F=bA(g),s=hB(g)==="y",{width:o,height:C}=e.floating;let a,Y;r==="top"||r==="bottom"?(a=r,Y=F===(await(w.isRTL==null?void 0:w.isRTL(M.floating))?"start":"end")?"left":"right"):(Y=r,a=F==="end"?"top":"bottom");const R=C-t.top-t.bottom,n=o-t.left-t.right,h=EE(C-t[a],R),D=EE(o-t[Y],n),S=!B.middlewareData.shift;let V=h,J=D;if((Q=B.middlewareData.shift)!=null&&Q.enabled.x&&(J=n),(I=B.middlewareData.shift)!=null&&I.enabled.y&&(V=R),S&&!F){const y=gQ(t.left,0),j=gQ(t.right,0),z=gQ(t.top,0),k=gQ(t.bottom,0);s?J=o-2*(y!==0||j!==0?y+j:gQ(t.left,t.right)):V=C-2*(z!==0||k!==0?z+k:gQ(t.top,t.bottom))}await c({...B,availableWidth:J,availableHeight:V});const u=await w.getDimensions(M.floating);return o!==u.width||C!==u.height?{reset:{rects:!0}}:{}}}};function TA(A){var B;return((B=A.ownerDocument)==null?void 0:B.defaultView)||window}function eB(A){return TA(A).getComputedStyle(A)}const hw=Math.min,gE=Math.max,OE=Math.round;function nw(A){const B=eB(A);let Q=parseFloat(B.width),I=parseFloat(B.height);const g=A.offsetWidth,e=A.offsetHeight,w=OE(Q)!==g||OE(I)!==e;return w&&(Q=g,I=e),{width:Q,height:I,fallback:w}}function kB(A){return Rw(A)?(A.nodeName||"").toLowerCase():""}let bE;function Nw(){if(bE)return bE;const A=navigator.userAgentData;return A&&Array.isArray(A.brands)?(bE=A.brands.map((B=>B.brand+"/"+B.version)).join(" "),bE):navigator.userAgent}function wB(A){return A instanceof TA(A).HTMLElement}function mB(A){return A instanceof TA(A).Element}function Rw(A){return A instanceof TA(A).Node}function Dw(A){return typeof ShadowRoot>"u"?!1:A instanceof TA(A).ShadowRoot||A instanceof ShadowRoot}function LE(A){const{overflow:B,overflowX:Q,overflowY:I,display:g}=eB(A);return/auto|scroll|overlay|hidden|clip/.test(B+I+Q)&&!["inline","contents"].includes(g)}function EF(A){return["table","td","th"].includes(kB(A))}function tg(A){const B=/firefox/i.test(Nw()),Q=eB(A),I=Q.backdropFilter||Q.WebkitBackdropFilter;return Q.transform!=="none"||Q.perspective!=="none"||!!I&&I!=="none"||B&&Q.willChange==="filter"||B&&!!Q.filter&&Q.filter!=="none"||["transform","perspective"].some((g=>Q.willChange.includes(g)))||["paint","layout","strict","content"].some((g=>{const e=Q.contain;return e!=null&&e.includes(g)}))}function Gw(){return!/^((?!chrome|android).)*safari/i.test(Nw())}function rg(A){return["html","body","#document"].includes(kB(A))}function Vw(A){return mB(A)?A:A.contextElement}const yw={x:1,y:1};function DQ(A){const B=Vw(A);if(!wB(B))return yw;const Q=B.getBoundingClientRect(),{width:I,height:g,fallback:e}=nw(B);let w=(e?OE(Q.width):Q.width)/I,M=(e?OE(Q.height):Q.height)/g;return w&&Number.isFinite(w)||(w=1),M&&Number.isFinite(M)||(M=1),{x:w,y:M}}function eE(A,B,Q,I){var g,e;B===void 0&&(B=!1),Q===void 0&&(Q=!1);const w=A.getBoundingClientRect(),M=Vw(A);let c=yw;B&&(I?mB(I)&&(c=DQ(I)):c=DQ(A));const i=M?TA(M):window,t=!Gw()&&Q;let r=(w.left+(t&&((g=i.visualViewport)==null?void 0:g.offsetLeft)||0))/c.x,F=(w.top+(t&&((e=i.visualViewport)==null?void 0:e.offsetTop)||0))/c.y,s=w.width/c.x,o=w.height/c.y;if(M){const C=TA(M),a=I&&mB(I)?TA(I):I;let Y=C.frameElement;for(;Y&&I&&a!==C;){const R=DQ(Y),n=Y.getBoundingClientRect(),h=getComputedStyle(Y);n.x+=(Y.clientLeft+parseFloat(h.paddingLeft))*R.x,n.y+=(Y.clientTop+parseFloat(h.paddingTop))*R.y,r*=R.x,F*=R.y,s*=R.x,o*=R.y,r+=n.x,F+=n.y,Y=TA(Y).frameElement}}return{width:s,height:o,top:F,right:r+s,bottom:F+o,left:r,x:r,y:F}}function uB(A){return((Rw(A)?A.ownerDocument:A.document)||window.document).documentElement}function XE(A){return mB(A)?{scrollLeft:A.scrollLeft,scrollTop:A.scrollTop}:{scrollLeft:A.pageXOffset,scrollTop:A.pageYOffset}}function Hw(A){return eE(uB(A)).left+XE(A).scrollLeft}function wE(A){if(kB(A)==="html")return A;const B=A.assignedSlot||A.parentNode||Dw(A)&&A.host||uB(A);return Dw(B)?B.host:B}function lw(A){const B=wE(A);return rg(B)?B.ownerDocument.body:wB(B)&&LE(B)?B:lw(B)}function vE(A,B){var Q;B===void 0&&(B=[]);const I=lw(A),g=I===((Q=A.ownerDocument)==null?void 0:Q.body),e=TA(I);return g?B.concat(e,e.visualViewport||[],LE(I)?I:[]):B.concat(I,vE(I))}function Sw(A,B,Q){return B==="viewport"?IE((function(I,g){const e=TA(I),w=uB(I),M=e.visualViewport;let c=w.clientWidth,i=w.clientHeight,t=0,r=0;if(M){c=M.width,i=M.height;const F=Gw();(F||!F&&g==="fixed")&&(t=M.offsetLeft,r=M.offsetTop)}return{width:c,height:i,x:t,y:r}})(A,Q)):mB(B)?IE((function(I,g){const e=eE(I,!0,g==="fixed"),w=e.top+I.clientTop,M=e.left+I.clientLeft,c=wB(I)?DQ(I):{x:1,y:1};return{width:I.clientWidth*c.x,height:I.clientHeight*c.y,x:M*c.x,y:w*c.y}})(B,Q)):IE((function(I){const g=uB(I),e=XE(I),w=I.ownerDocument.body,M=gE(g.scrollWidth,g.clientWidth,w.scrollWidth,w.clientWidth),c=gE(g.scrollHeight,g.clientHeight,w.scrollHeight,w.clientHeight);let i=-e.scrollLeft+Hw(I);const t=-e.scrollTop;return eB(w).direction==="rtl"&&(i+=gE(g.clientWidth,w.clientWidth)-M),{width:M,height:c,x:i,y:t}})(uB(A)))}function zw(A){return wB(A)&&eB(A).position!=="fixed"?A.offsetParent:null}function jw(A){const B=TA(A);let Q=zw(A);for(;Q&&EF(Q)&&eB(Q).position==="static";)Q=zw(Q);return Q&&(kB(Q)==="html"||kB(Q)==="body"&&eB(Q).position==="static"&&!tg(Q))?B:Q||(function(I){let g=wE(I);for(;wB(g)&&!rg(g);){if(tg(g))return g;g=wE(g)}return null})(A)||B}function IF(A,B,Q){const I=wB(B),g=uB(B),e=eE(A,!0,Q==="fixed",B);let w={scrollLeft:0,scrollTop:0};const M={x:0,y:0};if(I||!I&&Q!=="fixed")if((kB(B)!=="body"||LE(g))&&(w=XE(B)),wB(B)){const c=eE(B,!0);M.x=c.x+B.clientLeft,M.y=c.y+B.clientTop}else g&&(M.x=Hw(g));return{x:e.left+w.scrollLeft-M.x,y:e.top+w.scrollTop-M.y,width:e.width,height:e.height}}const gF={getClippingRect:function(A){let{element:B,boundary:Q,rootBoundary:I,strategy:g}=A;const e=Q==="clippingAncestors"?(function(i,t){const r=t.get(i);if(r)return r;let F=vE(i).filter((a=>mB(a)&&kB(a)!=="body")),s=null;const o=eB(i).position==="fixed";let C=o?wE(i):i;for(;mB(C)&&!rg(C);){const a=eB(C),Y=tg(C);(o?Y||s:Y||a.position!=="static"||!s||!["absolute","fixed"].includes(s.position))?s=a:F=F.filter((R=>R!==C)),C=wE(C)}return t.set(i,F),F})(B,this._c):[].concat(Q),w=[...e,I],M=w[0],c=w.reduce(((i,t)=>{const r=Sw(B,t,g);return i.top=gE(r.top,i.top),i.right=hw(r.right,i.right),i.bottom=hw(r.bottom,i.bottom),i.left=gE(r.left,i.left),i}),Sw(B,M,g));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(A){let{rect:B,offsetParent:Q,strategy:I}=A;const g=wB(Q),e=uB(Q);if(Q===e)return B;let w={scrollLeft:0,scrollTop:0},M={x:1,y:1};const c={x:0,y:0};if((g||!g&&I!=="fixed")&&((kB(Q)!=="body"||LE(e))&&(w=XE(Q)),wB(Q))){const i=eE(Q);M=DQ(Q),c.x=i.x+Q.clientLeft,c.y=i.y+Q.clientTop}return{width:B.width*M.x,height:B.height*M.y,x:B.x*M.x-w.scrollLeft*M.x+c.x,y:B.y*M.y-w.scrollTop*M.y+c.y}},isElement:mB,getDimensions:function(A){return wB(A)?nw(A):A.getBoundingClientRect()},getOffsetParent:jw,getDocumentElement:uB,getScale:DQ,async getElementRects(A){let{reference:B,floating:Q,strategy:I}=A;const g=this.getOffsetParent||jw,e=this.getDimensions;return{reference:IF(B,await g(Q),I),floating:{x:0,y:0,...await e(Q)}}},getClientRects:A=>Array.from(A.getClientRects()),isRTL:A=>eB(A).direction==="rtl"},eF=(A,B,Q)=>{const I=new Map,g={platform:gF,...Q},e={...g.platform,_c:I};return br(A,B,{...g,platform:e})};function xw(A,B){for(const Q in B)Object.prototype.hasOwnProperty.call(B,Q)&&(typeof B[Q]=="object"&&A[Q]?xw(A[Q],B[Q]):A[Q]=B[Q])}const LA={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:A=>[...A,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ME(A,B){let Q=LA.themes[A]||{},I;do I=Q[B],typeof I>"u"?Q.$extend?Q=LA.themes[Q.$extend]||{}:(Q=null,I=LA[B]):Q=null;while(Q);return I}function wF(A){const B=[A];let Q=LA.themes[A]||{};do Q.$extend&&!Q.$resetCss?(B.push(Q.$extend),Q=LA.themes[Q.$extend]||{}):Q=null;while(Q);return B.map(I=>`v-popper--theme-${I}`)}function Jw(A){const B=[A];let Q=LA.themes[A]||{};do Q.$extend?(B.push(Q.$extend),Q=LA.themes[Q.$extend]||{}):Q=null;while(Q);return B}let GQ=!1;if(typeof window<"u"){GQ=!1;try{const A=Object.defineProperty({},"passive",{get(){GQ=!0}});window.addEventListener("test",null,A)}catch{}}let dw=!1;typeof window<"u"&&typeof navigator<"u"&&(dw=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Tw=["auto","top","bottom","left","right"].reduce((A,B)=>A.concat([B,`${B}-start`,`${B}-end`]),[]),kw={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},mw={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function uw(A,B){const Q=A.indexOf(B);Q!==-1&&A.splice(Q,1)}function Fg(){return new Promise(A=>requestAnimationFrame(()=>{requestAnimationFrame(A)}))}const XA=[];let wQ=null;const Kw={};function fw(A){let B=Kw[A];return B||(B=Kw[A]=[]),B}let sg=function(){};typeof window<"u"&&(sg=window.Element);function v(A){return function(B){return ME(B.theme,A)}}const Ug="__floating-vue__popper",Ww=()=>E.defineComponent({name:"VPopper",provide(){return{[Ug]:{parentPopper:this}}},inject:{[Ug]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:v("disabled")},positioningDisabled:{type:Boolean,default:v("positioningDisabled")},placement:{type:String,default:v("placement"),validator:A=>Tw.includes(A)},delay:{type:[String,Number,Object],default:v("delay")},distance:{type:[Number,String],default:v("distance")},skidding:{type:[Number,String],default:v("skidding")},triggers:{type:Array,default:v("triggers")},showTriggers:{type:[Array,Function],default:v("showTriggers")},hideTriggers:{type:[Array,Function],default:v("hideTriggers")},popperTriggers:{type:Array,default:v("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:v("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:v("popperHideTriggers")},container:{type:[String,Object,sg,Boolean],default:v("container")},boundary:{type:[String,sg],default:v("boundary")},strategy:{type:String,validator:A=>["absolute","fixed"].includes(A),default:v("strategy")},autoHide:{type:[Boolean,Function],default:v("autoHide")},handleResize:{type:Boolean,default:v("handleResize")},instantMove:{type:Boolean,default:v("instantMove")},eagerMount:{type:Boolean,default:v("eagerMount")},popperClass:{type:[String,Array,Object],default:v("popperClass")},computeTransformOrigin:{type:Boolean,default:v("computeTransformOrigin")},autoMinSize:{type:Boolean,default:v("autoMinSize")},autoSize:{type:[Boolean,String],default:v("autoSize")},autoMaxSize:{type:Boolean,default:v("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:v("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:v("preventOverflow")},overflowPadding:{type:[Number,String],default:v("overflowPadding")},arrowPadding:{type:[Number,String],default:v("arrowPadding")},arrowOverflow:{type:Boolean,default:v("arrowOverflow")},flip:{type:Boolean,default:v("flip")},shift:{type:Boolean,default:v("shift")},shiftCrossAxis:{type:Boolean,default:v("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:v("noAutoFocus")},disposeTimeout:{type:Number,default:v("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":A=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(A=>A.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var A;return(A=this[Ug])==null?void 0:A.parentPopper},hasPopperShowTriggerHover(){var A,B;return((A=this.popperTriggers)==null?void 0:A.includes("hover"))||((B=this.popperShowTriggers)==null?void 0:B.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(A){A?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((A,B)=>(A[B]="$_computePosition",A),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:A=null,skipDelay:B=!1,force:Q=!1}={}){var I,g;(I=this.parentPopper)!=null&&I.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(Q||!this.disabled)&&(((g=this.parentPopper)==null?void 0:g.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(A,B),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:A=null,skipDelay:B=!1}={}){var Q;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:B}),this.parentPopper.lockedChild=null)},1e3));return}((Q=this.parentPopper)==null?void 0:Q.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(A,B),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var A;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((A=this.referenceNode)==null?void 0:A.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(B=>B.nodeType===B.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const A={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&A.middleware.push(AF({mainAxis:this.distance,crossAxis:this.skidding}));const B=this.placement.startsWith("auto");if(B?A.middleware.push(vr({alignment:this.placement.split("-")[1]??""})):A.placement=this.placement,this.preventOverflow&&(this.shift&&A.middleware.push(BF({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!B&&this.flip&&A.middleware.push(Pr({padding:this.overflowPadding,boundary:this.boundary}))),A.middleware.push(Lr({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&A.middleware.push({name:"arrowOverflow",fn:({placement:I,rects:g,middlewareData:e})=>{let w;const{centerOffset:M}=e.arrow;return I.startsWith("top")||I.startsWith("bottom")?w=Math.abs(M)>g.reference.width/2:w=Math.abs(M)>g.reference.height/2,{data:{overflow:w}}}}),this.autoMinSize||this.autoSize){const I=this.autoSize?this.autoSize:this.autoMinSize?"min":null;A.middleware.push({name:"autoSize",fn:({rects:g,placement:e,middlewareData:w})=>{var M;if((M=w.autoSize)!=null&&M.skip)return{};let c,i;return e.startsWith("top")||e.startsWith("bottom")?c=g.reference.width:i=g.reference.height,this.$_innerNode.style[I==="min"?"minWidth":I==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[I==="min"?"minHeight":I==="max"?"maxHeight":"height"]=i!=null?`${i}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,A.middleware.push(QF({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:I,availableHeight:g})=>{this.$_innerNode.style.maxWidth=I!=null?`${I}px`:null,this.$_innerNode.style.maxHeight=g!=null?`${g}px`:null}})));const Q=await eF(this.$_referenceNode,this.$_popperNode,A);Object.assign(this.result,{x:Q.x,y:Q.y,placement:Q.placement,strategy:Q.strategy,arrow:{...Q.middlewareData.arrow,...Q.middlewareData.arrowOverflow}})},$_scheduleShow(A,B=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),wQ&&this.instantMove&&wQ.instantMove&&wQ!==this.parentPopper){wQ.$_applyHide(!0),this.$_applyShow(!0);return}B?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(A,B=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(wQ=this),B?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(A){const B=this.delay;return parseInt(B&&B[A]||B||0)},async $_applyShow(A=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=A,!this.isShown&&(this.$_ensureTeleport(),await Fg(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...vE(this.$_referenceNode),...vE(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const B=this.$_referenceNode.getBoundingClientRect(),Q=this.$_popperNode.querySelector(".v-popper__wrapper"),I=Q.parentNode.getBoundingClientRect(),g=B.x+B.width/2-(I.left+Q.offsetLeft),e=B.y+B.height/2-(I.top+Q.offsetTop);this.result.transformOrigin=`${g}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const A=this.showGroup;if(A){let B;for(let Q=0;Q<XA.length;Q++)B=XA[Q],B.showGroup!==A&&(B.hide(),B.$emit("close-group"))}XA.push(this),document.body.classList.add("v-popper--some-open");for(const B of Jw(this.theme))fw(B).push(this),document.body.classList.add(`v-popper--some-open--${B}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Fg(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(A=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=A,uw(XA,this),XA.length===0&&document.body.classList.remove("v-popper--some-open");for(const Q of Jw(this.theme)){const I=fw(Q);uw(I,this),I.length===0&&document.body.classList.remove(`v-popper--some-open--${Q}`)}wQ===this&&(wQ=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const B=this.disposeTimeout;B!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},B)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Fg(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let A=this.container;if(typeof A=="string"?A=window.document.querySelector(A):A===!1&&(A=this.$_targetNodes[0].parentNode),!A)throw new Error("No container for popover: "+this.container);A.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const A=Q=>{this.isShown&&!this.$_hideInProgress||(Q.usedByTooltip=!0,!this.$_preventShow&&this.show({event:Q}))};this.$_registerTriggerListeners(this.$_targetNodes,kw,this.triggers,this.showTriggers,A),this.$_registerTriggerListeners([this.$_popperNode],kw,this.popperTriggers,this.popperShowTriggers,A);const B=Q=>{Q.usedByTooltip||this.hide({event:Q})};this.$_registerTriggerListeners(this.$_targetNodes,mw,this.triggers,this.hideTriggers,B),this.$_registerTriggerListeners([this.$_popperNode],mw,this.popperTriggers,this.popperHideTriggers,B)},$_registerEventListeners(A,B,Q){this.$_events.push({targetNodes:A,eventType:B,handler:Q}),A.forEach(I=>I.addEventListener(B,Q,GQ?{passive:!0}:void 0))},$_registerTriggerListeners(A,B,Q,I,g){let e=Q;I!=null&&(e=typeof I=="function"?I(e):I),e.forEach(w=>{const M=B[w];M&&this.$_registerEventListeners(A,M,g)})},$_removeEventListeners(A){const B=[];this.$_events.forEach(Q=>{const{targetNodes:I,eventType:g,handler:e}=Q;!A||A===g?I.forEach(w=>w.removeEventListener(g,e)):B.push(Q)}),this.$_events=B},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(A,B=!1){this.$_showFrameLocked||(this.hide({event:A}),A.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),B&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(A,B){for(const Q of this.$_targetNodes){const I=Q.getAttribute(A);I&&(Q.removeAttribute(A),Q.setAttribute(B,I))}},$_applyAttrsToTarget(A){for(const B of this.$_targetNodes)for(const Q in A){const I=A[Q];I==null?B.removeAttribute(Q):B.setAttribute(Q,I)}},$_updateParentShownChildren(A){let B=this.parentPopper;for(;B;)A?B.shownChildren.add(this.randomId):(B.shownChildren.delete(this.randomId),B.pendingHide&&B.hide()),B=B.parentPopper},$_isAimingPopper(){const A=this.$_referenceNode.getBoundingClientRect();if(cE>=A.left&&cE<=A.right&&iE>=A.top&&iE<=A.bottom){const B=this.$_popperNode.getBoundingClientRect(),Q=cE-KB,I=iE-fB,g=B.left+B.width/2-KB+(B.top+B.height/2)-fB+B.width+B.height,e=KB+Q*g,w=fB+I*g;return PE(KB,fB,e,w,B.left,B.top,B.left,B.bottom)||PE(KB,fB,e,w,B.left,B.top,B.right,B.top)||PE(KB,fB,e,w,B.right,B.top,B.right,B.bottom)||PE(KB,fB,e,w,B.left,B.bottom,B.right,B.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(dw){const A=GQ?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",B=>pw(B,!0),A),document.addEventListener("touchend",B=>qw(B,!0),A)}else window.addEventListener("mousedown",A=>pw(A,!1),!0),window.addEventListener("click",A=>qw(A,!1),!0);window.addEventListener("resize",cF)}function pw(A,B){if(LA.autoHideOnMousedown)Zw(A,B);else for(let Q=0;Q<XA.length;Q++){const I=XA[Q];try{I.mouseDownContains=I.popperNode().contains(A.target)}catch{}}}function qw(A,B){LA.autoHideOnMousedown||Zw(A,B)}function Zw(A,B){const Q={};for(let I=XA.length-1;I>=0;I--){const g=XA[I];try{const e=g.containsGlobalTarget=g.mouseDownContains||g.popperNode().contains(A.target);g.pendingHide=!1,requestAnimationFrame(()=>{if(g.pendingHide=!1,!Q[g.randomId]&&Ow(g,e,A)){if(g.$_handleGlobalClose(A,B),!A.closeAllPopover&&A.closePopover&&e){let M=g.parentPopper;for(;M;)Q[M.randomId]=!0,M=M.parentPopper;return}let w=g.parentPopper;for(;w&&Ow(w,w.containsGlobalTarget,A);)w.$_handleGlobalClose(A,B),w=w.parentPopper}})}catch{}}}function Ow(A,B,Q){return Q.closeAllPopover||Q.closePopover&&B||MF(A,Q)&&!B}function MF(A,B){if(typeof A.autoHide=="function"){const Q=A.autoHide(B);return A.lastAutoHide=Q,Q}return A.autoHide}function cF(){for(let A=0;A<XA.length;A++)XA[A].$_computePosition()}let KB=0,fB=0,cE=0,iE=0;typeof window<"u"&&window.addEventListener("mousemove",A=>{KB=cE,fB=iE,cE=A.clientX,iE=A.clientY},GQ?{passive:!0}:void 0);function PE(A,B,Q,I,g,e,w,M){const c=((w-g)*(B-e)-(M-e)*(A-g))/((M-e)*(Q-A)-(w-g)*(I-B)),i=((Q-A)*(B-e)-(I-B)*(A-g))/((M-e)*(Q-A)-(w-g)*(I-B));return c>=0&&c<=1&&i>=0&&i<=1}const iF={extends:Ww()},_E=(A,B)=>{const Q=A.__vccOpts||A;for(const[I,g]of B)Q[I]=g;return Q};function tF(A,B,Q,I,g,e){return E.openBlock(),E.createElementBlock("div",{ref:"reference",class:E.normalizeClass(["v-popper",{"v-popper--shown":A.slotData.isShown}])},[E.renderSlot(A.$slots,"default",E.normalizeProps(E.guardReactiveProps(A.slotData)))],2)}const rF=_E(iF,[["render",tF]]);function FF(){var A=window.navigator.userAgent,B=A.indexOf("MSIE ");if(B>0)return parseInt(A.substring(B+5,A.indexOf(".",B)),10);var Q=A.indexOf("Trident/");if(Q>0){var I=A.indexOf("rv:");return parseInt(A.substring(I+3,A.indexOf(".",I)),10)}var g=A.indexOf("Edge/");return g>0?parseInt(A.substring(g+5,A.indexOf(".",g)),10):-1}let $E;function og(){og.init||(og.init=!0,$E=FF()!==-1)}var AI={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){og(),E.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const A=document.createElement("object");this._resizeObject=A,A.setAttribute("aria-hidden","true"),A.setAttribute("tabindex",-1),A.onload=this.addResizeHandlers,A.type="text/html",$E&&this.$el.appendChild(A),A.data="about:blank",$E||this.$el.appendChild(A)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!$E&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const sF=E.withScopeId("data-v-b329ee4c");E.pushScopeId("data-v-b329ee4c");const UF={class:"resize-observer",tabindex:"-1"};E.popScopeId();const oF=sF((A,B,Q,I,g,e)=>(E.openBlock(),E.createBlock("div",UF)));AI.render=oF,AI.__scopeId="data-v-b329ee4c",AI.__file="src/components/ResizeObserver.vue";const bw=(A="theme")=>({computed:{themeClass(){return wF(this[A])}}}),YF=E.defineComponent({name:"VPopperContent",components:{ResizeObserver:AI},mixins:[bw()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(A){return A!=null&&!isNaN(A)?`${A}px`:null}}}),CF=["id","aria-hidden","tabindex","data-popper-placement"],aF={ref:"inner",class:"v-popper__inner"},hF=E.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),nF=E.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),NF=[hF,nF];function RF(A,B,Q,I,g,e){const w=E.resolveComponent("ResizeObserver");return E.openBlock(),E.createElementBlock("div",{id:A.popperId,ref:"popover",class:E.normalizeClass(["v-popper__popper",[A.themeClass,A.classes.popperClass,{"v-popper__popper--shown":A.shown,"v-popper__popper--hidden":!A.shown,"v-popper__popper--show-from":A.classes.showFrom,"v-popper__popper--show-to":A.classes.showTo,"v-popper__popper--hide-from":A.classes.hideFrom,"v-popper__popper--hide-to":A.classes.hideTo,"v-popper__popper--skip-transition":A.skipTransition,"v-popper__popper--arrow-overflow":A.result&&A.result.arrow.overflow,"v-popper__popper--no-positioning":!A.result}]]),style:E.normalizeStyle(A.result?{position:A.result.strategy,transform:`translate3d(${Math.round(A.result.x)}px,${Math.round(A.result.y)}px,0)`}:void 0),"aria-hidden":A.shown?"false":"true",tabindex:A.autoHide?0:void 0,"data-popper-placement":A.result?A.result.placement:void 0,onKeyup:B[2]||(B[2]=E.withKeys(M=>A.autoHide&&A.$emit("hide"),["esc"]))},[E.createElementVNode("div",{class:"v-popper__backdrop",onClick:B[0]||(B[0]=M=>A.autoHide&&A.$emit("hide"))}),E.createElementVNode("div",{class:"v-popper__wrapper",style:E.normalizeStyle(A.result?{transformOrigin:A.result.transformOrigin}:void 0)},[E.createElementVNode("div",aF,[A.mounted?(E.openBlock(),E.createElementBlock(E.Fragment,{key:0},[E.createElementVNode("div",null,[E.renderSlot(A.$slots,"default")]),A.handleResize?(E.openBlock(),E.createBlock(w,{key:0,onNotify:B[1]||(B[1]=M=>A.$emit("resize",M))})):E.createCommentVNode("",!0)],64)):E.createCommentVNode("",!0)],512),E.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:E.normalizeStyle(A.result?{left:A.toPx(A.result.arrow.x),top:A.toPx(A.result.arrow.y)}:void 0)},NF,4)],4)],46,CF)}const Lw=_E(YF,[["render",RF]]),Xw={methods:{show(...A){return this.$refs.popper.show(...A)},hide(...A){return this.$refs.popper.hide(...A)},dispose(...A){return this.$refs.popper.dispose(...A)},onResize(...A){return this.$refs.popper.onResize(...A)}}};let Yg=function(){};typeof window<"u"&&(Yg=window.Element);const DF=E.defineComponent({name:"VPopperWrapper",components:{Popper:rF,PopperContent:Lw},mixins:[Xw,bw("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Yg,Boolean],default:void 0},boundary:{type:[String,Yg],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":A=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(A=>A!==this.$refs.popperContent.$el)}}});function GF(A,B,Q,I,g,e){const w=E.resolveComponent("PopperContent"),M=E.resolveComponent("Popper");return E.openBlock(),E.createBlock(M,E.mergeProps({ref:"popper"},A.$props,{theme:A.finalTheme,"target-nodes":A.getTargetNodes,"popper-node":()=>A.$refs.popperContent.$el,class:[A.themeClass],onShow:B[0]||(B[0]=()=>A.$emit("show")),onHide:B[1]||(B[1]=()=>A.$emit("hide")),"onUpdate:shown":B[2]||(B[2]=c=>A.$emit("update:shown",c)),onApplyShow:B[3]||(B[3]=()=>A.$emit("apply-show")),onApplyHide:B[4]||(B[4]=()=>A.$emit("apply-hide")),onCloseGroup:B[5]||(B[5]=()=>A.$emit("close-group")),onCloseDirective:B[6]||(B[6]=()=>A.$emit("close-directive")),onAutoHide:B[7]||(B[7]=()=>A.$emit("auto-hide")),onResize:B[8]||(B[8]=()=>A.$emit("resize"))}),{default:E.withCtx(({popperId:c,isShown:i,shouldMountContent:t,skipTransition:r,autoHide:F,show:s,hide:o,handleResize:C,onResize:a,classes:Y,result:R})=>[E.renderSlot(A.$slots,"default",{shown:i,show:s,hide:o}),E.createVNode(w,{ref:"popperContent","popper-id":c,theme:A.finalTheme,shown:i,mounted:t,"skip-transition":r,"auto-hide":F,"handle-resize":C,classes:Y,result:R,onHide:o,onResize:a},{default:E.withCtx(()=>[E.renderSlot(A.$slots,"popper",{shown:i,hide:o})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Cg=_E(DF,[["render",GF]]),vw={...Cg,name:"VDropdown",vPopperTheme:"dropdown"},VF={...Cg,name:"VMenu",vPopperTheme:"menu"},Pw={...Cg,name:"VTooltip",vPopperTheme:"tooltip"},yF=E.defineComponent({name:"VTooltipDirective",components:{Popper:Ww(),PopperContent:Lw},mixins:[Xw],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:A=>ME(A.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:A=>ME(A.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(A){if(typeof this.content=="function"&&this.$_isShown&&(A||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const B=++this.$_fetchId,Q=this.content(this);Q.then?Q.then(I=>this.onResult(B,I)):this.onResult(B,Q)}},onResult(A,B){A===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=B)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),HF=["innerHTML"],lF=["textContent"];function SF(A,B,Q,I,g,e){const w=E.resolveComponent("PopperContent"),M=E.resolveComponent("Popper");return E.openBlock(),E.createBlock(M,E.mergeProps({ref:"popper"},A.$attrs,{theme:A.theme,"target-nodes":A.targetNodes,"popper-node":()=>A.$refs.popperContent.$el,onApplyShow:A.onShow,onApplyHide:A.onHide}),{default:E.withCtx(({popperId:c,isShown:i,shouldMountContent:t,skipTransition:r,autoHide:F,hide:s,handleResize:o,onResize:C,classes:a,result:Y})=>[E.createVNode(w,{ref:"popperContent",class:E.normalizeClass({"v-popper--tooltip-loading":A.loading}),"popper-id":c,theme:A.theme,shown:i,mounted:t,"skip-transition":r,"auto-hide":F,"handle-resize":o,classes:a,result:Y,onHide:s,onResize:C},{default:E.withCtx(()=>[A.html?(E.openBlock(),E.createElementBlock("div",{key:0,innerHTML:A.finalContent},null,8,HF)):(E.openBlock(),E.createElementBlock("div",{key:1,textContent:E.toDisplayString(A.finalContent)},null,8,lF))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const zF=_E(yF,[["render",SF]]),_w="v-popper--has-tooltip";function jF(A,B){let Q=A.placement;if(!Q&&B)for(const I of Tw)B[I]&&(Q=I);return Q||(Q=ME(A.theme||"tooltip","placement")),Q}function $w(A,B,Q){let I;const g=typeof B;return g==="string"?I={content:B}:B&&g==="object"?I=B:I={content:!1},I.placement=jF(I,Q),I.targetNodes=()=>[A],I.referenceNode=()=>A,I}let ag,tE,xF=0;function JF(){if(ag)return;tE=E.ref([]),ag=E.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:tE}},render(){return this.directives.map(B=>E.h(zF,{...B.options,shown:B.shown||B.options.shown,key:B.id}))},devtools:{hide:!0}});const A=document.createElement("div");document.body.appendChild(A),ag.mount(A)}function dF(A,B,Q){JF();const I=E.ref($w(A,B,Q)),g=E.ref(!1),e={id:xF++,options:I,shown:g};return tE.value.push(e),A.classList&&A.classList.add(_w),A.$_popper={options:I,item:e,show(){g.value=!0},hide(){g.value=!1}}}function AM(A){if(A.$_popper){const B=tE.value.indexOf(A.$_popper.item);B!==-1&&tE.value.splice(B,1),delete A.$_popper,delete A.$_popperOldShown,delete A.$_popperMountTarget}A.classList&&A.classList.remove(_w)}function BM(A,{value:B,modifiers:Q}){const I=$w(A,B,Q);if(!I.content||ME(I.theme||"tooltip","disabled"))AM(A);else{let g;A.$_popper?(g=A.$_popper,g.options.value=I):g=dF(A,B,Q),typeof B.shown<"u"&&B.shown!==A.$_popperOldShown&&(A.$_popperOldShown=B.shown,B.shown?g.show():g.hide())}}const TF={beforeMount:BM,updated:BM,beforeUnmount(A){AM(A)}};function QM(A){A.addEventListener("mousedown",BI),A.addEventListener("click",BI),A.addEventListener("touchstart",IM,GQ?{passive:!0}:!1)}function EM(A){A.removeEventListener("mousedown",BI),A.removeEventListener("click",BI),A.removeEventListener("touchstart",IM),A.removeEventListener("touchend",gM),A.removeEventListener("touchcancel",eM)}function BI(A){const B=A.currentTarget;A.closePopover=!B.$_vclosepopover_touch,A.closeAllPopover=B.$_closePopoverModifiers&&!!B.$_closePopoverModifiers.all}function IM(A){if(A.changedTouches.length===1){const B=A.currentTarget;B.$_vclosepopover_touch=!0;const Q=A.changedTouches[0];B.$_vclosepopover_touchPoint=Q,B.addEventListener("touchend",gM),B.addEventListener("touchcancel",eM)}}function gM(A){const B=A.currentTarget;if(B.$_vclosepopover_touch=!1,A.changedTouches.length===1){const Q=A.changedTouches[0],I=B.$_vclosepopover_touchPoint;A.closePopover=Math.abs(Q.screenY-I.screenY)<20&&Math.abs(Q.screenX-I.screenX)<20,A.closeAllPopover=B.$_closePopoverModifiers&&!!B.$_closePopoverModifiers.all}}function eM(A){const B=A.currentTarget;B.$_vclosepopover_touch=!1}const kF={beforeMount(A,{value:B,modifiers:Q}){A.$_closePopoverModifiers=Q,(typeof B>"u"||B)&&QM(A)},updated(A,{value:B,oldValue:Q,modifiers:I}){A.$_closePopoverModifiers=I,B!==Q&&(typeof B>"u"||B?QM(A):EM(A))},beforeUnmount(A){EM(A)}},hg=vw,mF=Pw;function uF(A,B={}){A.$_vTooltipInstalled||(A.$_vTooltipInstalled=!0,xw(LA,B),A.directive("tooltip",TF),A.directive("close-popper",kF),A.component("VTooltip",Pw),A.component("VDropdown",vw),A.component("VMenu",VF))}const KF={version:"5.2.2",install:uF,options:LA},fF={class:"yu-text-gray-700 yu-font-plus yu-font-medium yu-text-base yu-mr-2"},WF={class:"yu-w-full yu-rounded-md yu-p-2 yu-flex yu-flex-col yu-gap-1"},pF={class:"yu-px-2 yu-w-full"},qF=["checked"],ZF={class:"yu-w-full yu-p-2 yu-overflow-y-auto yu-max-h-60"},wM=E.defineComponent({__name:"app-dropdown",props:{label:{type:String,default:"Dropdown"},icon:{type:String,default:"menu"},openIcon:{type:String,default:"keyboard_arrow_down"},inputLabel:{type:String,default:"Procurar"},allSelected:{type:Boolean,default:!1},showSearchInput:{type:Boolean,default:!1},showSelectAll:{type:Boolean,default:!1},bordered:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["filter-value","update:allSelected","update:opened"],setup(A,{expose:B,emit:Q}){const I=Q,g=E.ref(!1),e=w=>{g.value=w,I("update:opened",w)};return B({opened:g}),(w,M)=>(E.openBlock(),E.createBlock(E.unref(hg),{placement:"bottom-start",skidding:6,disabled:A.disabled,"onUpdate:shown":e},{popper:E.withCtx(()=>[A.showSearchInput?E.renderSlot(w.$slots,"searchInput",{key:0},()=>[E.createElementVNode("div",WF,[E.createVNode(WE,{label:A.inputLabel||"Procurar","onUpdate:modelValue":M[0]||(M[0]=c=>I("filter-value",c))},null,8,["label"])])]):E.createCommentVNode("",!0),A.showSelectAll?E.renderSlot(w.$slots,"selectAll",{key:1},()=>[E.createElementVNode("div",pF,[E.createVNode(wg,{onClick:M[1]||(M[1]=c=>I("update:allSelected"))},{default:E.withCtx(()=>[M[2]||(M[2]=E.createElementVNode("div",{class:"yu-text-gray-700 yu-text-xs yu-mr-2"},"Selecionar todos",-1)),E.createElementVNode("input",{class:"yu-ml-auto yu-accent-primary-500 yu-border-2 yu-cursor-pointer",type:"checkbox",checked:A.allSelected},null,8,qF)]),_:1})])]):E.createCommentVNode("",!0),E.createElementVNode("div",ZF,[E.renderSlot(w.$slots,"default")])]),default:E.withCtx(()=>[E.createElementVNode("button",{class:E.normalizeClass(["yu-bg-gray-700 yu-bg-opacity-0 yu-px-3 yu-p-2 yu-rounded-md yu-flex yu-gap-1 yu-transition hover:yu-bg-opacity-10 yu-group active:yu-bg-primary-500 active:!yu-bg-opacity-10 active:yu-scale-95",{"!yu-bg-primary-500 !yu-bg-opacity-10":g.value,"yu-border":A.bordered,"yu-opacity-50 yu-pointer-events-none":A.disabled}])},[E.renderSlot(w.$slots,"icon",{},()=>[E.createElementVNode("i",{class:E.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit",{"yu-text-primary-500":g.value}])},E.toDisplayString(A.icon),3)]),E.renderSlot(w.$slots,"label",{},()=>[E.createElementVNode("div",fF,E.toDisplayString(A.label),1)]),E.renderSlot(w.$slots,"open-icon",{},()=>[E.createElementVNode("i",{class:E.normalizeClass(["material-icons yu-text-gray-700 yu-h-fit yu-ml-auto yu-transition-all",{"yu-text-primary-500 yu-rotate-180":g.value}])},E.toDisplayString(A.openIcon),3)])],2)]),_:3},8,["disabled"]))}});function OF(A){const B=E.computed(()=>A.small?"!yu-h-8 !yu-min-h-[2rem]":"!yu-h-10 !yu-min-h-[2.5rem]"),Q=E.computed(()=>A.small?"!yu-text-xs":"!yu-text-sm"),I=E.computed(()=>A.fluid?"!yu-w-full":"yu-w-fit");return{height:B,textSize:Q,width:I}}function ng(A,B){const Q=E.computed(()=>({"!yu-font-plus":B.plus,"!yu-font-inter":B.inter,"!yu-font-titillium":B.titillium})),I=E.computed(()=>({"!yu-text-white":B.white,"!yu-text-primary":B.primary,"!yu-text-secondary":B.secondary,"!yu-text-base":B.neutral,"!yu-text-neutral":B.gray})),g=E.computed(()=>({"!yu-font-thin":B.thin,"!yu-font-extralight":B.extralight,"!yu-font-light":B.light,"!yu-font-normal":B.normal,"!yu-font-medium":B.medium,"!yu-font-semibold":B.semibold,"!yu-font-bold":B.bold,"!yu-font-extrabold":B.extrabold,"!yu-font-black":B.black})),e=E.computed(()=>({...{title:{"!yu-text-xl":B.small,"!yu-text-2xl":B.base,"!yu-text-3xl":B.large,"!yu-text-4xl":B.extralarge},subtitle:{"!yu-text-sm":B.small,"!yu-text-md":B.base,"!yu-text-xl":B.large},text:{"!yu-text-xs":B.small,"!yu-text-sm":B.base,"!yu-text-lg":B.large,"!yu-text-xl":B.extralarge}}[A]}));return{fontClass:Q,colorClass:I,weightClass:g,sizeClass:e}}const bF=E.defineComponent({__name:"text",props:{inter:{type:Boolean},titillium:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},extralarge:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},white:{type:Boolean},neutral:{type:Boolean}},setup(A){const B=A,{fontClass:Q,colorClass:I,weightClass:g,sizeClass:e}=ng("text",B);return(w,M)=>(E.openBlock(),E.createElementBlock("p",{class:E.normalizeClass(["yu-font-primary yu-text-sm yu-font-normal yu-gray-700",[E.unref(Q),E.unref(I),E.unref(g),E.unref(e)]])},[E.renderSlot(w.$slots,"default",{},void 0,!0)],2))}}),MB=(A,B)=>{const Q=A.__vccOpts||A;for(const[I,g]of B)Q[I]=g;return Q},_=MB(bF,[["__scopeId","data-v-9eb46db3"]]),eA=E.defineComponent({__name:"app-icon",props:{small:Boolean,large:Boolean,extraLarge:Boolean,gray:Boolean,base:Boolean,light:Boolean,dark:Boolean,outlined:Boolean},setup(A){const B=A,Q=E.computed(()=>B.small?"!yu-text-xs yu-w-4 yu-h-4":B.large?"!yu-text-2xl yu-w-8 yu-h-8":B.extraLarge?"!yu-text-4xl yu-w-10 yu-h-10":"!yu-text-base yu-w-6 yu-h-6"),I=E.computed(()=>B.dark?"yu-text-neutral-800 dark:yu-text-white":B.light?"yu-text-white dark:yu-text-neutral-800":B.gray?"yu-text-gray-500":""),g=E.computed(()=>B.outlined?"material-symbols-outlined":"material-icons");return(e,w)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["notranslate yu-flex yu-items-center yu-justify-center yu-text-center",[Q.value,I.value,g.value]])},[E.renderSlot(e.$slots,"default")],2))}}),BA=E.defineComponent({__name:"app-group",props:{fit:{type:Boolean},full:{type:Boolean},row:{type:Boolean},col:{type:Boolean},gapNone:{type:Boolean},gapBase:{type:Boolean},gapSm:{type:Boolean},gapMd:{type:Boolean},gapLg:{type:Boolean},wrap:{type:Boolean},paddingNone:{type:Boolean},paddingBase:{type:Boolean},paddingXs:{type:Boolean},paddingSm:{type:Boolean},paddingMd:{type:Boolean},paddingLg:{type:Boolean},center:{type:Boolean},justifyEnd:{type:Boolean},centerBetween:{type:Boolean},border:{type:Boolean},borderPrimary:{type:Boolean},rounded:{type:Boolean},roundedTop:{type:Boolean},roundedBottom:{type:Boolean},bgPrimary:{type:Boolean},bgWhite:{type:Boolean},divisor:{type:Boolean}},setup(A){const B=A,Q=E.computed(()=>B.fit?"yu-w-fit yu-h-fit":B.full?"yu-w-full yu-h-full":""),I=E.computed(()=>B.justifyEnd?"yu-items-end yu-justify-end":B.center?"yu-items-center yu-justify-center":B.centerBetween?"yu-items-center yu-justify-between":""),g=E.computed(()=>B.row?"yu-flex-row":B.col?"yu-flex-col":"yu-flex-row"),e=E.computed(()=>B.gapBase?"yu-gap-4":B.gapSm?"yu-gap-2":B.gapMd?"yu-gap-6":B.gapLg?"yu-gap-8":B.gapNone?"yu-gap-0":"yu-gap-4"),w=E.computed(()=>B.wrap?"yu-flex-wrap":""),M=E.computed(()=>B.paddingXs?"yu-p-1":B.paddingSm?"yu-p-2":B.paddingBase?"yu-p-4":B.paddingMd?"yu-p-6":B.paddingLg?"yu-p-8":""),c=E.computed(()=>B.border?"yu-border":B.borderPrimary?"yu-border yu-border-primary":""),i=E.computed(()=>B.rounded?"yu-rounded-md":B.roundedTop?"yu-rounded-t-md":B.roundedBottom?"yu-rounded-b-md":""),t=E.computed(()=>B.bgPrimary?"yu-bg-primary":B.bgWhite?"yu-bg-white":""),r=E.computed(()=>B.divisor&&B.col?"yu-divide-y":B.divisor&&B.row?"yu-divide-x":""),F=E.computed(()=>[g.value,e.value,w.value,M.value,I.value,c.value,i.value,t.value,Q.value,r.value]);return(s,o)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["yu-flex",F.value])},[E.renderSlot(s.$slots,"default")],2))}}),LF={class:"yu-flex yu-h-full yu-pl-2 yu-z-10 yu-pointer-events-none"},XF={class:"yu-h-full yu-flex yu-items-center yu-justify-center"},vF=["type","disabled","maxlength"],Ng=E.defineComponent({__name:"app-text-input",props:{modelValue:{},type:{},maxLength:{},disabled:{type:Boolean},loading:{type:Boolean},invalid:{type:Boolean},small:{type:Boolean},fluid:{type:Boolean},round:{type:Boolean},valid:{type:Boolean},block:{type:Boolean},maskFunction:{type:Function}},emits:["update:modelValue","keyup-enter"],setup(A,{expose:B,emit:Q}){const I=A,g=E.computed(()=>E.useSlots());function e(S){return!!g.value[S]}const w=E.ref(""),M=E.ref(!1);function c(S){if(!I.maskFunction)return S;try{const V=I.maskFunction(S);return typeof V=="string"?V:S}catch{return S}}E.watch(()=>I.modelValue,S=>{if(S)return I.maskFunction?w.value=c(S):w.value=S},{immediate:!0});const i=Q;function t(){return!(M.value||w.value)}const r=E.ref(!1),{height:F,textSize:s,width:o}=OF(I),C=E.computed(()=>I.invalid?"yu-border-red-500 focus-within:yu-border-red-500":I.valid?"yu-border-green-500 focus-within:yu-border-green-500":"focus-within:yu-border-primary focus-within:yu-border-2"),a=E.computed(()=>I.invalid?"yu-text-red-500":I.valid?"yu-text-green-500":""),Y=E.computed(()=>{if(I.small&&t())return"yu-translate-y-1.5 yu-text-xs";if(I.small&&!t())return"-yu-translate-y-1 yu-text-xs";if(t())return"yu-translate-y-2 yu-text-sm";if(!t())return"-yu-translate-y-0 yu-text-xs"}),R=E.computed(()=>e("icon")?"yu-pl-8":"yu-pl-2"),n=E.computed(()=>I.block?"yu-rounded-none":I.round?"yu-rounded-full":"yu-rounded-md"),h=E.computed(()=>I.disabled||I.loading?"yu-opacity-50 yu-pointer-events-none":"");function D(S){const J=S.target.value;I.maskFunction?w.value=c(J):w.value=J,i("update:modelValue",w.value)}return B({focus:M,content:w}),(S,V)=>(E.openBlock(),E.createBlock(BA,{class:E.normalizeClass(["yu-font-primary",[E.unref(o)]]),col:"","gap-none":""},{default:E.withCtx(()=>[E.createVNode(BA,{col:"","gap-sm":""},{default:E.withCtx(()=>[e("label")?(E.openBlock(),E.createBlock(_,{key:0,base:"",medium:""},{default:E.withCtx(()=>[E.renderSlot(S.$slots,"label")]),_:3})):E.createCommentVNode("",!0),E.createElementVNode("div",{class:E.normalizeClass(["yu-relative yu-flex yu-flex-col yu-justify-center yu-items-start yu-border yu-transition yu-w-full",[n.value,h.value,E.unref(F),C.value]])},[E.createElementVNode("div",LF,[E.createElementVNode("div",XF,[!A.loading&&e("icon")?E.renderSlot(S.$slots,"icon",{key:0}):E.createCommentVNode("",!0),A.loading?(E.openBlock(),E.createBlock(eA,{key:1,class:"yu-animate-spin",outlined:""},{default:E.withCtx(()=>[...V[5]||(V[5]=[E.createTextVNode("progress_activity",-1)])]),_:1})):E.createCommentVNode("",!0)]),E.createVNode(_,{class:E.normalizeClass(["yu-px-2 yu-transition",[Y.value]]),medium:"",gray:""},{default:E.withCtx(()=>[E.renderSlot(S.$slots,"default")]),_:3},8,["class"])]),E.withDirectives(E.createElementVNode("input",{class:E.normalizeClass(["yu-absolute yu-w-full yu-h-full yu-outline-none yu-appearance-none yu-indent-2 yu-pt-3 yu-font-medium yu-bg-gray-50 yu-z-0",[E.unref(s),R.value,n.value]]),"onUpdate:modelValue":V[0]||(V[0]=J=>w.value=J),type:r.value?"text":A.type,onInput:D,onFocus:V[1]||(V[1]=J=>M.value=!0),onBlur:V[2]||(V[2]=J=>M.value=!1),onKeyup:V[3]||(V[3]=E.withKeys(J=>i("keyup-enter"),["enter"])),disabled:A.disabled||A.loading,maxlength:A.maxLength},null,42,vF),[[E.vModelDynamic,w.value]]),E.createVNode(BA,{class:"yu-absolute yu-right-2 yu-cursor-pointer yu-text-gray-500 yu-select-none yu-flex yu-items-center"},{default:E.withCtx(()=>[A.maxLength?(E.openBlock(),E.createBlock(BA,{key:0},{default:E.withCtx(()=>[E.createVNode(_,{small:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(`${w.value.length} / ${A.maxLength}`),1)]),_:1})]),_:1})):E.createCommentVNode("",!0),A.type==="password"?(E.openBlock(),E.createBlock(eA,{key:1,onClick:V[4]||(V[4]=J=>r.value=!r.value)},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(r.value?"visibility_off":"visibility"),1)]),_:1})):E.createCommentVNode("",!0),E.renderSlot(S.$slots,"suffix")]),_:3})],2)]),_:3}),e("feedback")?(E.openBlock(),E.createElementBlock("div",{key:0,class:E.normalizeClass([a.value])},[E.renderSlot(S.$slots,"feedback")],2)):E.createCommentVNode("",!0)]),_:3},8,["class"]))}});function PF(A){const B=E.computed(()=>A.small?"!yu-h-8 !yu-min-h-[2rem]":"!yu-h-10 !yu-min-h-[2.5rem]"),Q=E.computed(()=>A.small?"!yu-text-xs":"!yu-text-sm"),I=E.computed(()=>A.fluid?"!yu-w-full":"yu-w-fit");return{height:B,textSize:Q,width:I}}const _F=["disabled"],WB=E.defineComponent({__name:"app-button",props:{small:Boolean,soft:Boolean,outline:Boolean,ghost:Boolean,link:Boolean,round:Boolean,icon:Boolean,fluid:Boolean,disabled:Boolean,loading:Boolean,alert:Boolean,warning:Boolean,success:Boolean,block:Boolean},setup(A){const B=A,Q=E.computed(()=>E.useSlots());function I(r){return!!Q.value[r]}const{height:g,textSize:e,width:w}=PF(B),M=E.computed(()=>B.soft?"yu-bg-primary yu-bg-opacity-5 !yu-text-primary-400":B.alert?"yu-bg-red-500 !yu-text-white":B.warning?"yu-bg-amber-500 !yu-text-white":B.success?"yu-bg-green-500 !yu-text-white":B.outline?"yu-bg-transparent yu-border hover:!yu-bg-gray-100":B.ghost?"yu-bg-transparent hover:!yu-bg-gray-100":B.link?"yu-bg-transparent !yu-text-blue-600 hover:yu-underline":"yu-bg-primary-500 yu-text-white"),c=E.computed(()=>B.block?"yu-rounded-none":B.round?"yu-rounded-full":"yu-rounded-lg"),i=E.computed(()=>B.icon&&!B.small?"!yu-w-10 !yu-h-10":B.icon&&B.small?"!yu-w-8 !yu-h-8":"yu-px-3"),t=E.computed(()=>B.disabled||B.loading?"yu-opacity-50 yu-pointer-events-none":"");return(r,F)=>(E.openBlock(),E.createElementBlock("button",{class:E.normalizeClass(["yu-transition-all yu-inline-flex yu-items-center yu-justify-center yu-gap-x-2 active:yu-scale-90 hover:yu-opacity-80 focus:yu-outline-hidden focus:yu-opacity-80 disabled:yu-opacity-50 disabled:yu-pointer-events-none",[E.unref(e),M.value,c.value,E.unref(w),E.unref(g),t.value,i.value]]),disabled:t.value||A.loading},[!A.loading&&I("icon")?E.renderSlot(r.$slots,"icon",{key:0}):E.createCommentVNode("",!0),A.loading?(E.openBlock(),E.createBlock(eA,{key:1,class:"yu-animate-spin yu-flex yu-items-center yu-justify-center",small:A.small,outlined:""},{default:E.withCtx(()=>[...F[0]||(F[0]=[E.createTextVNode("progress_activity",-1)])]),_:1},8,["small"])):E.createCommentVNode("",!0),I("default")?(E.openBlock(),E.createBlock(_,{key:2,medium:"",small:A.small,base:!A.small},{default:E.withCtx(()=>[E.renderSlot(r.$slots,"default")]),_:3},8,["small","base"])):E.createCommentVNode("",!0)],10,_F))}});function MM(A){const B=E.computed(()=>A.small?"!yu-h-8 !yu-min-h-[2rem]":"!yu-h-10 !yu-min-h-[2.5rem]"),Q=E.computed(()=>A.small?"!yu-text-xs":"!yu-text-sm"),I=E.computed(()=>A.fluid?"!yu-w-full":"yu-w-fit");return{height:B,textSize:Q,width:I}}const Rg=E.defineComponent({__name:"app-select-item",props:{selected:Boolean,small:Boolean,disabled:Boolean,loading:Boolean,fluid:Boolean,round:Boolean},setup(A){const B=A,Q=E.computed(()=>E.useSlots());function I(t){return!!Q.value[t]}const{height:g,textSize:e,width:w}=MM(B),M=E.computed(()=>B.round?"yu-rounded-full":"yu-rounded-lg"),c=E.computed(()=>B.disabled||B.loading?"yu-opacity-50 yu-pointer-events-none":""),i=E.computed(()=>B.fluid?"yu-flex-1 yu-min-w-0":"");return(t,r)=>(E.openBlock(),E.createElementBlock("button",{class:E.normalizeClass(["yu-transition yu-px-2 yu-rounded-md yu-cursor-pointer yu-flex yu-items-center yu-gap-2 yu-justify-between active:yu-scale-95 hover:yu-bg-primary-500 hover:!yu-bg-opacity-10 hover:yu-text-primary-400",[E.unref(e),M.value,E.unref(w),E.unref(g),c.value]])},[E.createElementVNode("div",{class:E.normalizeClass(["yu-flex yu-items-center yu-gap-2",[i.value]])},[!A.loading&&I("icon")?E.renderSlot(t.$slots,"icon",{key:0}):E.createCommentVNode("",!0),A.loading?(E.openBlock(),E.createBlock(eA,{key:1,class:"yu-animate-spin yu-flex yu-items-center yu-justify-center",small:A.small,outlined:""},{default:E.withCtx(()=>[...r[0]||(r[0]=[E.createTextVNode("progress_activity",-1)])]),_:1},8,["small"])):E.createCommentVNode("",!0),I("default")?(E.openBlock(),E.createBlock(_,{key:2,small:A.small,base:!A.small,medium:"",gray:"",class:E.normalizeClass({"yu-w-full yu-flex-1 yu-min-w-0 yu-text-left":i.value})},{default:E.withCtx(()=>[E.renderSlot(t.$slots,"default")]),_:3},8,["small","base","class"])):E.createCommentVNode("",!0)],2),B.selected?(E.openBlock(),E.createBlock(eA,{key:0},{default:E.withCtx(()=>[...r[1]||(r[1]=[E.createTextVNode("check",-1)])]),_:1})):E.createCommentVNode("",!0)],2))}}),$F=E.defineComponent({__name:"app-observer",props:{options:{type:Object,default:{}}},emits:["intersect"],setup(A,{emit:B}){const Q=A,I=B,g=E.ref(),e=E.ref();return E.onMounted(()=>{const w=Q.options||{};g.value=new IntersectionObserver(([M])=>{M&&M.isIntersecting&&I("intersect")},w),e.value&&g.value.observe(e.value)}),E.onBeforeUnmount(()=>{g.value.disconnect()}),(w,M)=>(E.openBlock(),E.createElementBlock("div",{class:"observer h-2",ref_key:"observerEl",ref:e},null,512))}});function cM(A){const B=E.computed(()=>A.small?"!yu-h-8 !yu-min-h-[2rem]":"!yu-h-10 !yu-min-h-[2.5rem]"),Q=E.computed(()=>A.small?"!yu-text-xs":"!yu-text-sm"),I=E.computed(()=>A.fluid?"!yu-w-full":"yu-w-fit");return{height:B,textSize:Q,width:I}}const As=["disabled"],Bs={key:2,class:"yu-overflow-hidden yu-truncate yu-whitespace-nowrap"},Qs=["onClick"],Dg=E.defineComponent({__name:"app-select",props:{small:Boolean,round:Boolean,fluid:Boolean,disabled:Boolean,loading:Boolean,multiple:Boolean,filterable:Boolean,confirmFilterable:Boolean,options:Array,autoSize:{type:Boolean,default:!0},remote:Boolean,modelValue:{type:[Object,Array],default:null},block:Boolean,ghost:Boolean,icon:Boolean},emits:["update:modelValue","search","intersect"],setup(A,{expose:B,emit:Q}){const I=A,g=Q,e=E.computed(()=>E.useSlots());function w(y){return!!e.value[y]}const{height:M,textSize:c,width:i}=cM(I),t=E.computed(()=>I.block?"yu-rounded-none":I.round?"yu-rounded-full":"yu-rounded-lg"),r=E.computed(()=>I.ghost?"yu-bg-transparent hover:!yu-bg-gray-100":"yu-border"),F=E.computed(()=>I.disabled||I.loading?"yu-opacity-50 yu-pointer-events-none":""),s=E.computed(()=>{if(I.icon&&!I.small)return"!yu-w-10 !yu-h-10";if(I.icon&&I.small)return"!yu-w-8 !yu-h-8"}),o=E.ref(!1),C=E.ref(""),a=E.ref(""),Y=()=>{C.value=a.value};E.watch(a,y=>{I.confirmFilterable||(C.value=y)}),E.watch(C,y=>{I.remote&&g("search",y)});const R=E.computed(()=>{if(I.remote)return I.options||[];if(!I.options)return[];if(!C?.value)return I.options;const y=C?.value?.toLowerCase();return I.options.filter(j=>j.label.toLowerCase().includes(y)||j.value.toLowerCase().includes(y))}),n=E.ref([]),h=E.ref(null);E.computed(()=>n.value.map(y=>y.value));const D=y=>I.multiple?n.value.find(j=>j.value===y.value):h.value?.value===y.value,S=y=>{if(!I.multiple)return h.value?.value===y.value?(h.value=null,o.value=!1):(h.value=y,o.value=!1);if(n.value.find(j=>j.value===y.value))return n.value=n.value.filter(j=>j.value!==y.value);n.value=[...n.value,y]},V=()=>{n.value=[]},J=()=>{I.options&&(n.value=R.value)};E.watch(n,y=>{g("update:modelValue",y)}),E.watch(h,y=>{g("update:modelValue",y)}),E.onMounted(()=>{I.modelValue&&(I.multiple?n.value=I.modelValue:h.value=I.modelValue)});const u=E.computed(()=>I.multiple?n.value.length?n.value.length===1?n.value[0].label:n.value.map(y=>y.label).join(", "):null:h.value?.label||null);return B({opened:o,selectedItems:n,handleSelect:S,displayText:u,searchTerm:C,selectAll:J,unselectAll:V,optionsList:R,selectedItem:h,pendingSearchTerm:a,confirmSearch:Y}),(y,j)=>(E.openBlock(),E.createBlock(BA,{col:"","gap-sm":""},{default:E.withCtx(()=>[w("label")?(E.openBlock(),E.createBlock(_,{key:0,medium:"",small:A.small,base:!A.small},{default:E.withCtx(()=>[E.renderSlot(y.$slots,"label")]),_:3},8,["small","base"])):E.createCommentVNode("",!0),E.createVNode(E.unref(hg),{"onUpdate:shown":j[2]||(j[2]=z=>o.value=z),placement:"bottom-start",shown:o.value,"auto-size":A.autoSize,class:E.normalizeClass([E.unref(i)])},{popper:E.withCtx(()=>[E.createVNode(BA,{col:"","gap-sm":"","padding-sm":""},{default:E.withCtx(()=>[A.filterable||A.confirmFilterable?(E.openBlock(),E.createBlock(Ng,{key:0,onKeyupEnter:Y,modelValue:a.value,"onUpdate:modelValue":j[0]||(j[0]=z=>a.value=z),small:A.small,fluid:""},{icon:E.withCtx(()=>[E.createVNode(eA,null,{default:E.withCtx(()=>[...j[5]||(j[5]=[E.createTextVNode("search",-1)])]),_:1})]),suffix:E.withCtx(()=>[A.confirmFilterable?(E.openBlock(),E.createBlock(WB,{key:0,onClick:Y,disabled:a.value===C.value,small:"",icon:""},{icon:E.withCtx(()=>[E.createVNode(eA,null,{default:E.withCtx(()=>[...j[6]||(j[6]=[E.createTextVNode("search",-1)])]),_:1})]),_:1},8,["disabled"])):E.createCommentVNode("",!0)]),default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(A.confirmFilterable?"Pesquisar (Aperte Enter para buscar ou clique no botão de lupa)":"Pesquisar"),1)]),_:1},8,["modelValue","small"])):E.createCommentVNode("",!0),E.createVNode(BA,{class:"yu-max-h-72 yu-overflow-y-auto",col:"","gap-sm":""},{default:E.withCtx(()=>[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(R.value,(z,k)=>(E.openBlock(),E.createElementBlock("div",{key:k,onClick:q=>S(z)},[w("item")?E.renderSlot(y.$slots,"item",{key:0,item:z,selected:D(z)}):E.createCommentVNode("",!0),w("item")?E.createCommentVNode("",!0):(E.openBlock(),E.createBlock(Rg,{key:1,selected:D(z),small:A.small,fluid:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(z.label),1)]),_:2},1032,["selected","small"]))],8,Qs))),128)),A.remote?(E.openBlock(),E.createBlock($F,{key:0,onIntersect:j[1]||(j[1]=z=>g("intersect"))})):E.createCommentVNode("",!0),R.value.length?E.createCommentVNode("",!0):(E.openBlock(),E.createBlock(BA,{key:1,"padding-sm":"",center:""},{default:E.withCtx(()=>[E.createVNode(_,{gray:""},{default:E.withCtx(()=>[...j[7]||(j[7]=[E.createTextVNode("Nenhuma opção encontrada",-1)])]),_:1})]),_:1}))]),_:3}),w("options")?(E.openBlock(),E.createBlock(BA,{key:1,center:""},{default:E.withCtx(()=>[E.renderSlot(y.$slots,"options",{unselectAll:V,selectAll:J})]),_:3})):E.createCommentVNode("",!0)]),_:3})]),default:E.withCtx(()=>[E.createVNode(BA,{class:E.normalizeClass(["yu-w-full",{"yu-pointer-events-none":F.value||A.loading}]),col:"","gap-sm":""},{default:E.withCtx(()=>[E.createElementVNode("div",{class:E.normalizeClass(["yu-w-full yu-cursor-pointer yu-px-3 yu-transition-all yu-flex yu-items-center yu-justify-between hover:!yu-bg-gray-100 yu-gap-x-2 hover:yu-opacity-80 focus:yu-outline-hidden focus:yu-opacity-80 disabled:yu-opacity-50 disabled:yu-pointer-events-none",[E.unref(c),t.value,E.unref(i),E.unref(M),F.value,r.value,s.value]]),disabled:F.value||A.loading},[E.createVNode(BA,{class:"yu-items-center yu-overflow-hidden yu-truncate yu-whitespace-nowrap","gap-sm":""},{default:E.withCtx(()=>[w("icon")&&!A.loading?E.renderSlot(y.$slots,"icon",{key:0}):E.createCommentVNode("",!0),A.loading?(E.openBlock(),E.createBlock(eA,{key:1,class:"yu-animate-spin yu-flex yu-items-center yu-justify-center",small:A.small,outlined:""},{default:E.withCtx(()=>[...j[3]||(j[3]=[E.createTextVNode("progress_activity",-1)])]),_:1},8,["small"])):E.createCommentVNode("",!0),s.value?E.createCommentVNode("",!0):(E.openBlock(),E.createElementBlock("div",Bs,[u.value?(E.openBlock(),E.createBlock(_,{key:0,class:"yu-truncate yu-overflow-hidden yu-whitespace-nowrap yu-block yu-max-w-full",medium:"",small:A.small,base:!A.small},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(u.value),1)]),_:1},8,["small","base"])):E.createCommentVNode("",!0),u.value?E.createCommentVNode("",!0):(E.openBlock(),E.createBlock(_,{key:1,class:"yu-truncate yu-overflow-hidden yu-whitespace-nowrap yu-block yu-max-w-full",medium:"",small:A.small,base:!A.small},{default:E.withCtx(()=>[E.renderSlot(y.$slots,"default")]),_:3},8,["small","base"]))]))]),_:3}),s.value?E.createCommentVNode("",!0):(E.openBlock(),E.createBlock(eA,{key:0,class:E.normalizeClass(["yu-transition-all",{"yu-rotate-180":o.value}])},{default:E.withCtx(()=>[...j[4]||(j[4]=[E.createTextVNode("keyboard_arrow_down",-1)])]),_:1},8,["class"]))],10,As)]),_:3},8,["class"])]),_:3},8,["shown","auto-size","class"])]),_:3}))}}),Es={class:"yu-border yu-border-gray-100 yu-rounded-md yu-py-4 yu-px-3 yu-bg-white yu-flex yu-flex-col yu-justify-center yu-shadow-2xl yu-shadow-gray-100"},Is={class:"yu-flex yu-gap-5 yu-px-2"},gs={class:"yu-flex yu-flex-col"},es={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},ws={key:0,class:"yu-font-plus yu-text-xs yu-text-gray-400"},Ms={class:"yu-font-plus yu-text-gray-400 yu-font-medium yu-text-sm"},Gg=E.defineComponent({__name:"stat-card",props:{icon:{type:String,default:"assignment"},bad:{type:Boolean,default:!1},good:{type:Boolean,default:!1},comparison:{type:Number,default:0},total:{type:Number,default:100},hideTotal:{type:Boolean,default:!1}},setup(A){return(B,Q)=>(E.openBlock(),E.createElementBlock("div",Es,[E.createElementVNode("div",Is,[E.renderSlot(B.$slots,"icon",{},()=>[E.createElementVNode("i",{class:E.normalizeClass(["yu-aspect-square material-icons yu-bg-yellow-100 yu-text-yellow-500 yu-h-14 yu-w-14 yu-place-items-center yu-rounded-full !yu-text-1xl !yu-grid",{"!yu-text-red-500 !yu-bg-red-100":A.bad,"!yu-text-green-500 !yu-bg-green-100":A.good}])},E.toDisplayString(A.icon),3)]),E.createElementVNode("div",gs,[E.createElementVNode("div",es,[E.createTextVNode(E.toDisplayString(A.comparison),1),A.hideTotal?E.createCommentVNode("",!0):(E.openBlock(),E.createElementBlock("span",ws,"/"+E.toDisplayString(A.total),1))]),E.createElementVNode("p",Ms,[E.renderSlot(B.$slots,"default")])])])]))}}),Vg=MB(E.defineComponent({__name:"title",props:{inter:{type:Boolean},plus:{type:Boolean,default:!0},titillium:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},extralarge:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean}},setup(A){const B=A,{fontClass:Q,colorClass:I,weightClass:g,sizeClass:e}=ng("title",B);return(w,M)=>(E.openBlock(),E.createElementBlock("h1",{class:E.normalizeClass(["yu-font-plus yu-text-2xl yu-font-normal yu-text-gray-700",[E.unref(Q),E.unref(I),E.unref(g),E.unref(e)]])},[E.renderSlot(w.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-0d8233f2"]]),cs={class:"yu-border yu-border-gray-100 yu-rounded-md yu-py-4 yu-px-5 yu-bg-white yu-shadow-2xl yu-shadow-gray-100 yu-flex yu-flex-col"},is={class:"yu-flex gap-3 yu-flex-col yu-h-full yu-w-full yu-justify-between"},ts={class:"yu-text-base"},rs={class:"yu-flex yu-justify-between"},Fs={class:"yu-flex yu-gap-2"},ss={class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid !yu-bg-green-100 !yu-text-green-500"},Us={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},os={class:"yu-flex yu-gap-2"},Ys={class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid !yu-bg-red-100 !yu-text-red-500"},Cs={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},as={class:"yu-flex yu-gap-1"},hs={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},ns={class:"yu-flex yu-gap-1"},Ns={class:"yu-font-plus yu-flex yu-text-xl yu-text-gray-800 yu-font-bold yu-items-center"},iM=E.defineComponent({__name:"app-advanced-stat-card",props:{totalGood:{type:Number,default:0},totalBad:{type:Number,default:0},totalReceived:{type:Number,default:0},totalSent:{type:Number,default:0},goodTooltip:{type:String,default:""},badTooltip:{type:String,default:""},receivedTooltip:{type:String,default:""},sentTooltip:{type:String,default:""}},setup(A){return(B,Q)=>{const I=E.resolveDirective("tooltip");return E.openBlock(),E.createElementBlock("div",cs,[E.createElementVNode("div",is,[E.createVNode(Vg,{plus:"",semibold:""},{default:E.withCtx(()=>[E.createElementVNode("div",ts,[E.renderSlot(B.$slots,"title")])]),_:3}),E.createElementVNode("div",rs,[E.withDirectives((E.openBlock(),E.createElementBlock("div",Fs,[E.createElementVNode("i",ss,[E.renderSlot(B.$slots,"icon-good",{},()=>[Q[0]||(Q[0]=E.createTextVNode("assignment",-1))])]),E.createElementVNode("p",Us,E.toDisplayString(A.totalGood),1)])),[[I,A.goodTooltip]]),E.withDirectives((E.openBlock(),E.createElementBlock("div",os,[E.createElementVNode("i",Ys,[E.renderSlot(B.$slots,"icon-bad",{},()=>[Q[1]||(Q[1]=E.createTextVNode("assignment",-1))])]),E.createElementVNode("p",Cs,E.toDisplayString(A.totalBad),1)])),[[I,A.badTooltip]]),E.withDirectives((E.openBlock(),E.createElementBlock("div",as,[Q[2]||(Q[2]=E.createElementVNode("i",{class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid"},"call_received",-1)),E.createElementVNode("p",hs,E.toDisplayString(A.totalReceived),1)])),[[I,A.receivedTooltip]]),E.withDirectives((E.openBlock(),E.createElementBlock("div",ns,[Q[3]||(Q[3]=E.createElementVNode("i",{class:"yu-aspect-square material-icons yu-h-12 yu-w-12 yu-place-items-center yu-rounded-full cursor-default !yu-text-1xl !yu-grid"},"call_made",-1)),E.createElementVNode("p",Ns,E.toDisplayString(A.totalSent),1)])),[[I,A.sentTooltip]])]),E.createElementVNode("div",null,[E.renderSlot(B.$slots,"footer")])])])}}}),Rs={class:"yu-border yu-border-gray-100 yu-rounded-md yu-py-5 yu-px-5 yu-bg-white yu-shadow-md yu-shadow-gray-100"},Ds={class:"yu-font-plus yu-text-gray-800 yu-font-semibold yu-text-lg"},Gs={class:"yu-mt-2 yu-flex yu-flex-col"};function Vs(A,B){return E.openBlock(),E.createElementBlock("div",Rs,[E.createElementVNode("div",Ds,[E.renderSlot(A.$slots,"heading")]),E.createElementVNode("div",Gs,[E.renderSlot(A.$slots,"list")])])}var ys={};const tM=MB(ys,[["render",Vs]]),rM=MB(E.defineComponent({__name:"subtitle",props:{inter:{type:Boolean},plus:{type:Boolean,default:!0},titillium:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean}},setup(A){const B=A,{fontClass:Q,colorClass:I,weightClass:g,sizeClass:e}=ng("subtitle",B);return(w,M)=>(E.openBlock(),E.createElementBlock("h3",{class:E.normalizeClass(["yu-font-inter yu-text-md yu-font-normal yu-text-black",[E.unref(Q),E.unref(I),E.unref(g),E.unref(e)]])},[E.renderSlot(w.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-11d0ee28"]]),Hs={key:0,class:"yu-relative yu-cursor-help"},ls={class:"yu-relative yu-cursor-help"},Ss={class:"yu-text-sm yu-max-w-44"},FM=E.defineComponent({__name:"app-tooltip-icon",props:{error:Boolean,warning:Boolean,info:Boolean,success:Boolean,ping:Boolean,small:Boolean,large:Boolean},setup(A){const B=E.computed(()=>E.useSlots()),Q=A,I=E.computed(()=>!!B.value.default),g=E.computed(()=>Q.ping?"yu-animate-ping":""),e=E.computed(()=>Q.error?"error":Q.warning?"warning":Q.info?"info":Q.success?"check_circle":"info"),w=E.computed(()=>Q.error?"yu-text-red-500":Q.warning?"yu-text-amber-500":Q.info?"yu-text-zinc-300":Q.success?"yu-text-green-500":"yu-text-zinc-400");return(M,c)=>I.value?(E.openBlock(),E.createBlock(E.unref(mF),{key:1},{popper:E.withCtx(()=>[E.createElementVNode("div",Ss,[E.renderSlot(M.$slots,"default")])]),default:E.withCtx(()=>[E.createElementVNode("div",ls,[E.createVNode(eA,{class:E.normalizeClass(["yu-absolute",[w.value]]),small:A.small,large:A.large},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(e.value),1)]),_:1},8,["class","small","large"]),E.createVNode(eA,{class:E.normalizeClass([g.value,w.value]),small:A.small,large:A.large},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(e.value),1)]),_:1},8,["class","small","large"])])]),_:3})):(E.openBlock(),E.createElementBlock("div",Hs,[E.createVNode(eA,{class:E.normalizeClass(["yu-absolute",[w.value]]),small:A.small,large:A.large},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(e.value),1)]),_:1},8,["class","small","large"]),E.createVNode(eA,{class:E.normalizeClass([g.value,w.value]),small:A.small,large:A.large},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(e.value),1)]),_:1},8,["class","small","large"])]))}}),zs={class:"yu-w-full yu-bg-white yu-rounded-lg yu-p-6 yu-gap-2.5"},js={class:"yu-w-full yu-table-auto yu-border-separate yu-border-spacing-0 yu-rounded-lg"},xs={class:"yu-bg-gray-100 yu-rounded-lg yu-border"};function Js(A,B){return E.openBlock(),E.createElementBlock("div",zs,[E.createElementVNode("table",js,[E.createElementVNode("thead",xs,[E.renderSlot(A.$slots,"header")]),E.createElementVNode("tbody",null,[E.renderSlot(A.$slots,"body")])])])}var ds={};const sM=MB(ds,[["render",Js]]);function Ts(A,B){return E.openBlock(),E.createElementBlock("tr",null,[E.renderSlot(A.$slots,"default")])}var ks={};const UM=MB(ks,[["render",Ts]]),ms={class:"yu-p-3"};function us(A,B){return E.openBlock(),E.createElementBlock("tr",ms,[E.renderSlot(A.$slots,"default")])}var Ks={};const oM=MB(Ks,[["render",us]]),fs={class:"yu-font-plus yu-text-sm yu-py-2 yu-px-3 yu-border-b"};function Ws(A,B){return E.openBlock(),E.createElementBlock("td",fs,[E.renderSlot(A.$slots,"default")])}var ps={};const YM=MB(ps,[["render",Ws]]),qs={class:"yu-text-gray-500 yu-font-medium yu-py-2 yu-px-3 yu-text-sm",align:"left"};function Zs(A,B){return E.openBlock(),E.createElementBlock("th",qs,[E.renderSlot(A.$slots,"default")])}var Os={};const CM=MB(Os,[["render",Zs]]),aM=E.defineComponent({__name:"app-pagination",props:E.mergeModels({totalItems:{type:Number,required:!0},initialPerPageOptions:{type:Array,default:()=>[5,10,15,20]}},{itemsPerPage:{required:!0,default:10},itemsPerPageModifiers:{},currentPage:{required:!0,default:1},currentPageModifiers:{}}),emits:["update:itemsPerPage","update:currentPage"],setup(A){const B=A,Q=E.useModel(A,"itemsPerPage"),I=E.useModel(A,"currentPage"),g=E.computed(()=>Math.ceil(B.totalItems/Q.value)),e=E.computed(()=>(I.value-1)*Q.value+1),w=E.computed(()=>Math.min(I.value*Q.value,B.totalItems)),M=F=>{const s=F;if(s==Q.value)return;const o=(I.value-1)*Q.value+1;I.value=Math.ceil(o/s),Q.value=s},c=()=>{I.value<g.value&&(I.value+=1)},i=()=>{I.value>1&&(I.value-=1)},t=E.ref({value:Q.value,label:String(Q.value)}),r=E.computed(()=>B.initialPerPageOptions.map(F=>({value:F,label:String(F)})));return E.watch(t,F=>{M(F.value)}),(F,s)=>(E.openBlock(),E.createBlock(BA,{class:"yu-items-center","gap-sm":""},{default:E.withCtx(()=>[E.createVNode(_,null,{default:E.withCtx(()=>[...s[1]||(s[1]=[E.createTextVNode("Items por página",-1)])]),_:1}),E.createVNode(Dg,{modelValue:t.value,"onUpdate:modelValue":s[0]||(s[0]=o=>t.value=o),options:r.value},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(t.value.label),1)]),_:1},8,["modelValue","options"]),E.createVNode(_,null,{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(e.value)+" - "+E.toDisplayString(w.value)+" de "+E.toDisplayString(B.totalItems),1)]),_:1}),E.createVNode(BA,{class:"yu-items-center","gap-sm":""},{default:E.withCtx(()=>[E.createVNode(WB,{onClick:i,disabled:I.value===1,icon:"",small:"",outline:""},{icon:E.withCtx(()=>[E.createVNode(eA,null,{default:E.withCtx(()=>[...s[2]||(s[2]=[E.createTextVNode("chevron_left",-1)])]),_:1})]),_:1},8,["disabled"]),E.createVNode(_,null,{default:E.withCtx(()=>[E.createTextVNode("Página "+E.toDisplayString(I.value)+" de "+E.toDisplayString(g.value),1)]),_:1}),E.createVNode(WB,{onClick:c,disabled:I.value===g.value,icon:"",small:"",outline:""},{icon:E.withCtx(()=>[E.createVNode(eA,null,{default:E.withCtx(()=>[...s[3]||(s[3]=[E.createTextVNode("chevron_right",-1)])]),_:1})]),_:1},8,["disabled"])]),_:1})]),_:1}))}}),hM=E.defineComponent({__name:"app-popup",emits:["closed"],setup(A,{emit:B}){const Q=B,I=E.ref(!1);function g(){Q("closed"),I.value=!1}return(e,w)=>(E.openBlock(),E.createElementBlock("div",null,[E.createElementVNode("div",{onClick:w[0]||(w[0]=M=>I.value=!I.value)},[E.renderSlot(e.$slots,"default")]),I.value?(E.openBlock(),E.createBlock(E.Teleport,{key:0,to:"body"},[E.createElementVNode("div",{class:"yu-z-10 yu-absolute yu-top-0 yu-bg-zinc-900 yu-bg-opacity-50 yu-w-full yu-h-full yu-flex yu-flex-col yu-justify-center yu-items-center yu-p-4",onClick:E.withModifiers(g,["self"]),onKeydown:E.withKeys(g,["esc"])},[E.renderSlot(e.$slots,"content",{closePopup:g})],32)])):E.createCommentVNode("",!0)]))}}),nM=E.defineComponent({__name:"app-container",props:{page:{type:Boolean},gapSm:{type:Boolean},gapMd:{type:Boolean},divisor:{type:Boolean},center:{type:Boolean},paddingSm:{type:Boolean},paddingMd:{type:Boolean},border:{type:Boolean},rounded:{type:Boolean},bgWhite:{type:Boolean}},setup(A){const B=A,Q=E.computed(()=>B.page?"yu-bg-gray-50 yu-p-8 yu-flex yu-flex-col yu-min-h-screen yu-w-screen yu-gap-4":""),I=E.computed(()=>B.center?"yu-flex yu-items-center yu-justify-center":""),g=E.computed(()=>B.paddingSm?"yu-p-2":B.paddingMd?"yu-p-4":""),e=E.computed(()=>B.divisor?"yu-divide-y":""),w=E.computed(()=>B.border?"yu-border":""),M=E.computed(()=>B.rounded?"yu-rounded-md":""),c=E.computed(()=>B.gapSm?"yu-flex yu-flex-col yu-gap-2":B.gapMd?"yu-flex yu-flex-col yu-gap-4":""),i=E.computed(()=>B.bgWhite?"yu-bg-white":"");return(t,r)=>{const F=E.resolveComponent("app-group");return E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass([Q.value,c.value,e.value,w.value,M.value,i.value])},[t.$slots.header?(E.openBlock(),E.createElementBlock("header",{key:0,class:E.normalizeClass([I.value,g.value])},[E.createVNode(F,{class:"w-full",col:"","gap-none":""},{default:E.withCtx(()=>[E.renderSlot(t.$slots,"header")]),_:3})],2)):E.createCommentVNode("",!0),t.$slots.body?(E.openBlock(),E.createElementBlock("main",{key:1,class:E.normalizeClass([I.value,g.value])},[E.createVNode(F,{class:"w-full",col:"","gap-none":""},{default:E.withCtx(()=>[E.renderSlot(t.$slots,"body")]),_:3})],2)):E.createCommentVNode("",!0),t.$slots.footer?(E.openBlock(),E.createElementBlock("footer",{key:2,class:E.normalizeClass([I.value,g.value])},[E.createVNode(F,{class:"w-full",col:"","gap-none":""},{default:E.withCtx(()=>[E.renderSlot(t.$slots,"footer")]),_:3})],2)):E.createCommentVNode("",!0)],2)}}}),bs={class:"yu-flex yu-gap-1 yu-items-center yu-w-full"},Ls={key:0,class:"yu-flex yu-w-full yu-text-sm yu-pb-2","data-testid":"app-accordion-description"},NM=E.defineComponent({__name:"app-accordion",props:{error:{type:Boolean},warning:{type:Boolean},info:{type:Boolean},success:{type:Boolean},defaultExpanded:{type:Boolean}},setup(A,{expose:B}){const Q=A,I=E.ref(Q.defaultExpanded||!1),g=E.computed(()=>Q.error?"yu-bg-red-500 yu-bg-opacity-5":Q.success?"yu-bg-green-500 yu-bg-opacity-5":Q.warning?"yu-bg-yellow-500 yu-bg-opacity-5":!1),e=E.computed(()=>Q.error?"yu-border yu-border-red-500 yu-rounded-lg":Q.success?"yu-border yu-border-green-500 yu-rounded-lg":Q.warning?"yu-border yu-border-yellow-500 yu-rounded-lg":!1),w=E.computed(()=>Q.error?"yu-text-red-500":Q.success?"yu-text-green-500":Q.warning?"yu-text-yellow-500":"");return E.computed(()=>!Q.error&&!Q.warning&&!Q.success),B({isExpanded:I}),(M,c)=>(E.openBlock(),E.createBlock(BA,{col:"","padding-base":"",class:E.normalizeClass([e.value,g.value]),"data-testid":"app-accordion"},{default:E.withCtx(()=>[E.createElementVNode("div",{class:E.normalizeClass(["yu-flex yu-w-full yu-justify-between yu-items-center yu-cursor-pointer",[w.value]]),"data-testid":"app-accordion-toggle",onClick:c[0]||(c[0]=i=>I.value=!I.value)},[E.createElementVNode("div",bs,[E.createVNode(_,{class:"yu-w-full",medium:"",small:""},{default:E.withCtx(()=>[E.renderSlot(M.$slots,"title")]),_:3})]),E.createVNode(eA,{class:"yu-transition-all","data-testid":"app-accordion-icon"},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(I.value?"remove":"add"),1)]),_:1})],2),I.value?(E.openBlock(),E.createElementBlock("div",Ls,[E.renderSlot(M.$slots,"description")])):E.createCommentVNode("",!0)]),_:3},8,["class"]))}}),Xs={role:"status"};function vs(A,B){return E.openBlock(),E.createElementBlock("div",Xs,[...B[0]||(B[0]=[E.createElementVNode("svg",{class:"yu-w-8 yu-h-8 yu-mr-2 yu-text-gray-200 yu-animate-spin yu-fill-primary","aria-hidden":"true",viewBox:"0 0 100 101",xmlns:"http://www.w3.org/2000/svg"},[E.createElementVNode("path",{fill:"currentColor",d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z"}),E.createElementVNode("path",{fill:"currentFill",d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z"})],-1)])])}var Ps={};const RM=MB(Ps,[["render",vs]]),DM=E.defineComponent({__name:"app-join",props:{vertical:{type:Boolean,default:!1},border:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},setup(A){const B=A,Q=E.computed(()=>{if(B.border)return"[&>*]:!yu-border"}),I=E.computed(()=>{if(B.rounded&&B.vertical)return"[&>*]:!yu-rounded-none [&>*:first-child]:!yu-rounded-t-lg [&>*:first-child]:!yu-rounded-b-none [&>*:last-child]:!yu-rounded-b-lg [&>*:last-child]:!yu-rounded-t-none";if(B.rounded&&!B.vertical)return"[&>*]:!yu-rounded-none [&>*:first-child]:!yu-rounded-l-lg [&>*:first-child]:!yu-rounded-r-none [&>*:last-child]:!yu-rounded-r-lg [&>*:last-child]:!yu-rounded-l-none"}),g=E.computed(()=>[Q.value,I.value]);return(e,w)=>(E.openBlock(),E.createBlock(BA,{"gap-none":"",col:A.vertical,class:E.normalizeClass(g.value)},{default:E.withCtx(()=>[E.renderSlot(e.$slots,"default")]),_:3},8,["col","class"]))}}),_s=["src"],GM=E.defineComponent({__name:"app-avatar",props:{small:Boolean,large:Boolean,round:{type:Boolean,default:!0},placeholder:String,src:{type:String,default:""}},setup(A){const B=A;E.computed(()=>E.useSlots());const Q=E.computed(()=>B.small?"yu-h-8 yu-w-8":B.large?"yu-h-12 yu-w-12":"yu-h-10 yu-w-10"),I=E.computed(()=>B.round?"yu-rounded-full":"yu-rounded-lg"),g=E.ref(!0);return(e,w)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["yu-flex yu-items-center yu-justify-center yu-border yu-relative",[Q.value,I.value]])},[E.withDirectives(E.createElementVNode("img",{class:E.normalizeClass(["yu-w-full yu-h-full yu-object-cover",I.value]),src:A.src,onError:w[0]||(w[0]=M=>g.value=!1)},null,42,_s),[[E.vShow,g.value]]),E.withDirectives(E.createVNode(eA,{class:"yu-text-gray-500",small:A.small,large:A.large},{default:E.withCtx(()=>[...w[1]||(w[1]=[E.createTextVNode("person",-1)])]),_:1},8,["small","large"]),[[E.vShow,!g.value&&!A.placeholder]]),E.withDirectives(E.createVNode(_,{medium:"",gray:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(A.placeholder),1)]),_:1},512),[[E.vShow,!g.value&&A.placeholder]])],2))}}),$s={class:"yu-relative yu-w-fit"},VM=E.defineComponent({__name:"app-badge",props:{show:{type:Boolean,default:!0},value:String,bottomLeft:Boolean,bottomRight:Boolean,topLeft:Boolean,topRight:Boolean,success:Boolean,warning:Boolean,error:Boolean,ghost:Boolean,info:Boolean,round:{type:Boolean,default:!0},ping:Boolean,icon:Boolean},setup(A){const B=A,Q=E.computed(()=>E.useSlots());function I(i){return!!Q.value[i]}const g=E.computed(()=>B.bottomLeft?"-yu-bottom-1 -yu-left-1":B.bottomRight?"-yu-bottom-1 -yu-right-1":B.topLeft?"-yu-top-1 -yu-left-1":"-yu-top-1 -yu-right-1"),e=E.computed(()=>B.success?"yu-bg-green-500 yu-text-white":B.warning?"yu-bg-amber-500 yu-text-white":B.info?"yu-bg-blue-500 yu-text-white":B.ghost?"yu-bg-white yu-text-black":"yu-bg-red-500 yu-text-white"),w=E.computed(()=>B.round?"yu-rounded-full":"yu-rounded-sm"),M=E.computed(()=>B.ping?"yu-animate-ping":""),c=E.computed(()=>B.icon?"yu-h-5 yu-w-5":"yu-px-1.5");return(i,t)=>(E.openBlock(),E.createElementBlock("div",$s,[E.createElementVNode("div",null,[E.renderSlot(i.$slots,"default")]),A.show?(E.openBlock(),E.createElementBlock("div",{key:0,class:E.normalizeClass(["yu-absolute yu-flex yu-items-center yu-justify-center yu-h-4",[g.value]])},[M.value?(E.openBlock(),E.createElementBlock("div",{key:0,class:E.normalizeClass(["yu-absolute yu-inset-0",[e.value,w.value,"yu-animate-ping"]])},null,2)):E.createCommentVNode("",!0),E.createElementVNode("div",{class:E.normalizeClass(["yu-relative yu-flex yu-items-center yu-justify-center yu-h-4",[e.value,w.value,c.value]])},[E.createVNode(_,{class:"yu-max-w-[1.4rem] yu-truncate",small:""},{default:E.withCtx(()=>[I("value")&&!A.value?E.renderSlot(i.$slots,"value",{key:0}):(E.openBlock(),E.createBlock(_,{key:1,class:"yu-max-w-[1.4rem] yu-truncate",small:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(A.value),1)]),_:1}))]),_:3})],2)],2)):E.createCommentVNode("",!0)]))}}),AU=["disabled"],BU=["disabled"],yM=E.defineComponent({__name:"app-switch",props:{modelValue:{type:Boolean,default:!1},small:Boolean,round:{type:Boolean,default:!0},disabled:Boolean},emits:["update:modelValue"],setup(A,{emit:B}){const Q=E.useSlots(),I=E.computed(()=>!!Q.default),g=A,e=B,w=E.computed(()=>g.small?"yu-h-5 yu-w-9":"yu-h-6 yu-w-11"),M=E.computed(()=>g.small?"yu-h-4 yu-w-4":"yu-h-5 yu-w-5"),c=E.computed(()=>g.modelValue?g.small?"yu-translate-x-4":"yu-translate-x-5":"yu-translate-x-0"),i=E.computed(()=>g.round?"yu-rounded-full":"yu-rounded-md"),t=E.computed(()=>g.disabled?"yu-opacity-50 yu-pointer-events-none":""),r=E.computed(()=>g.modelValue?"yu-bg-primary-500":"yu-bg-gray-200");return(F,s)=>I.value?(E.openBlock(),E.createBlock(BA,{key:0,wrap:"","data-testid":"app-switch-group"},{default:E.withCtx(()=>[E.createElementVNode("button",{type:"button",class:E.normalizeClass([w.value,i.value,r.value,t.value,"yu-relative yu-inline-flex yu-flex-shrink-0 yu-cursor-pointer yu-border-2 yu-border-transparent yu-transition-colors yu-duration-200 yu-ease-in-out"]),disabled:A.disabled,onClick:s[0]||(s[0]=o=>e("update:modelValue",!A.modelValue))},[E.createElementVNode("span",{"aria-hidden":"true",class:E.normalizeClass([M.value,c.value,i.value,"yu-pointer-events-none yu-inline-block yu-transform yu-ring-0 yu-transition yu-duration-200 yu-ease-in-out yu-bg-white"])},null,2)],10,AU),E.createVNode(_,{"data-testid":"app-switch-label"},{default:E.withCtx(()=>[E.renderSlot(F.$slots,"default")]),_:3})]),_:3})):(E.openBlock(),E.createElementBlock("button",{key:1,type:"button",class:E.normalizeClass([w.value,i.value,r.value,t.value,"yu-relative yu-inline-flex yu-flex-shrink-0 yu-cursor-pointer yu-border-2 yu-border-transparent yu-transition-colors yu-duration-200 yu-ease-in-out"]),disabled:A.disabled,onClick:s[1]||(s[1]=o=>e("update:modelValue",!A.modelValue))},[E.createElementVNode("span",{"aria-hidden":"true",class:E.normalizeClass([M.value,c.value,i.value,"yu-pointer-events-none yu-inline-block yu-transform yu-ring-0 yu-transition yu-duration-200 yu-ease-in-out yu-bg-white"])},null,2)],10,BU))}}),QU=["disabled"],yg=E.defineComponent({__name:"app-dropview",props:{small:Boolean,round:Boolean,fluid:Boolean,disabled:Boolean,loading:Boolean,autoSize:{type:Boolean,default:!0},scroll:Boolean,block:Boolean,ghost:Boolean,icon:Boolean},setup(A,{expose:B}){const Q=A,I=E.computed(()=>E.useSlots());function g(C){return!!I.value[C]}const{height:e,textSize:w,width:M}=cM(Q),c=E.computed(()=>Q.block?"yu-rounded-none":Q.round?"yu-rounded-full":"yu-rounded-lg"),i=E.computed(()=>{if(Q.icon&&!Q.small)return"!yu-w-10 !yu-h-10";if(Q.icon&&Q.small)return"!yu-w-8 !yu-h-8"}),t=E.computed(()=>Q.ghost?"yu-bg-transparent hover:!yu-bg-gray-100":"yu-border"),r=E.computed(()=>Q.disabled||Q.loading?"yu-opacity-50 yu-pointer-events-none":""),F=E.computed(()=>Q.scroll?"yu-max-h-72 yu-overflow-y-auto":""),s=E.ref(!1),o=C=>{s.value=C};return B({opened:s,handleOpenClose:o}),(C,a)=>(E.openBlock(),E.createBlock(E.unref(hg),{"onUpdate:shown":o,placement:"bottom-start",shown:s.value,"auto-size":A.autoSize,class:E.normalizeClass([E.unref(M)])},{popper:E.withCtx(()=>[E.createVNode(BA,{col:"","gap-sm":"","padding-sm":"",class:E.normalizeClass([F.value])},{default:E.withCtx(()=>[E.renderSlot(C.$slots,"content")]),_:3},8,["class"])]),default:E.withCtx(()=>[E.createVNode(BA,{class:E.normalizeClass(["yu-w-full",{"yu-pointer-events-none":r.value||A.loading}]),col:"","gap-sm":""},{default:E.withCtx(()=>[g("label")?(E.openBlock(),E.createBlock(_,{key:0,small:A.small,base:!A.small,medium:""},{default:E.withCtx(()=>[E.renderSlot(C.$slots,"label")]),_:3},8,["small","base"])):E.createCommentVNode("",!0),E.createElementVNode("div",{class:E.normalizeClass(["yu-w-full yu-cursor-pointer yu-px-3 yu-transition-all yu-inline-flex yu-items-center yu-justify-between hover:!yu-bg-gray-100 yu-gap-x-2 hover:yu-opacity-80 focus:yu-outline-hidden focus:yu-opacity-80 disabled:yu-opacity-50 disabled:yu-pointer-events-none",[E.unref(w),c.value,E.unref(M),E.unref(e),r.value,t.value,i.value]]),disabled:r.value||A.loading},[g("icon")&&!A.loading?E.renderSlot(C.$slots,"icon",{key:0}):E.createCommentVNode("",!0),A.loading?(E.openBlock(),E.createBlock(eA,{key:1,class:"yu-animate-spin yu-flex yu-items-center yu-justify-center",small:A.small,outlined:""},{default:E.withCtx(()=>[...a[0]||(a[0]=[E.createTextVNode("progress_activity",-1)])]),_:1},8,["small"])):E.createCommentVNode("",!0),g("default")?(E.openBlock(),E.createBlock(_,{key:2,small:A.small,base:!A.small,medium:""},{default:E.withCtx(()=>[E.renderSlot(C.$slots,"default")]),_:3},8,["small","base"])):E.createCommentVNode("",!0),i.value?E.createCommentVNode("",!0):(E.openBlock(),E.createBlock(eA,{key:3,class:E.normalizeClass(["yu-transition-all",{"yu-rotate-180":s.value}])},{default:E.withCtx(()=>[...a[1]||(a[1]=[E.createTextVNode("keyboard_arrow_down",-1)])]),_:1},8,["class"]))],10,QU)]),_:3},8,["class"])]),_:3},8,["shown","auto-size","class"]))}}),EU={class:"yu-flex yu-items-center yu-gap-1"},HM=E.defineComponent({__name:"app-dropview-item",props:{selected:Boolean,small:Boolean,disabled:Boolean,loading:Boolean,fluid:Boolean,round:Boolean},setup(A){const B=A,Q=E.computed(()=>E.useSlots());function I(i){return!!Q.value[i]}const{height:g,textSize:e,width:w}=MM(B),M=E.computed(()=>B.round?"yu-rounded-full":"yu-rounded-lg"),c=E.computed(()=>B.disabled||B.loading?"yu-opacity-50 yu-pointer-events-none":"");return(i,t)=>(E.openBlock(),E.createElementBlock("button",{class:E.normalizeClass(["yu-transition yu-px-2 yu-rounded-md yu-cursor-pointer yu-flex yu-items-center yu-gap-2 yu-justify-between active:yu-scale-95 hover:yu-bg-primary-500 hover:!yu-bg-opacity-10 hover:yu-text-primary-400",[E.unref(e),M.value,E.unref(w),E.unref(g),c.value]])},[E.createElementVNode("div",EU,[!A.loading&&I("icon")?E.renderSlot(i.$slots,"icon",{key:0}):E.createCommentVNode("",!0),A.loading?(E.openBlock(),E.createBlock(eA,{key:1,class:"yu-animate-spin yu-flex yu-items-center yu-justify-center",small:A.small,outlined:""},{default:E.withCtx(()=>[...t[0]||(t[0]=[E.createTextVNode("progress_activity",-1)])]),_:1},8,["small"])):E.createCommentVNode("",!0),I("default")?(E.openBlock(),E.createBlock(_,{key:2,small:A.small,base:!A.small,medium:"",gray:""},{default:E.withCtx(()=>[E.renderSlot(i.$slots,"default")]),_:3},8,["small","base"])):E.createCommentVNode("",!0)]),B.selected?(E.openBlock(),E.createBlock(eA,{key:0},{default:E.withCtx(()=>[...t[1]||(t[1]=[E.createTextVNode("check",-1)])]),_:1})):E.createCommentVNode("",!0)],2))}});var HA="top",kA="bottom",mA="right",lA="left",Hg="auto",rE=[HA,kA,mA,lA],VQ="start",FE="end",IU="clippingParents",lM="viewport",sE="popper",gU="reference",SM=rE.reduce(function(A,B){return A.concat([B+"-"+VQ,B+"-"+FE])},[]),zM=[].concat(rE,[Hg]).reduce(function(A,B){return A.concat([B,B+"-"+VQ,B+"-"+FE])},[]),eU="beforeRead",wU="read",MU="afterRead",cU="beforeMain",iU="main",tU="afterMain",rU="beforeWrite",FU="write",sU="afterWrite",UU=[eU,wU,MU,cU,iU,tU,rU,FU,sU];function cB(A){return A?(A.nodeName||"").toLowerCase():null}function jA(A){if(A==null)return window;if(A.toString()!=="[object Window]"){var B=A.ownerDocument;return B&&B.defaultView||window}return A}function MQ(A){var B=jA(A).Element;return A instanceof B||A instanceof Element}function uA(A){var B=jA(A).HTMLElement;return A instanceof B||A instanceof HTMLElement}function lg(A){if(typeof ShadowRoot>"u")return!1;var B=jA(A).ShadowRoot;return A instanceof B||A instanceof ShadowRoot}function oU(A){var B=A.state;Object.keys(B.elements).forEach(function(Q){var I=B.styles[Q]||{},g=B.attributes[Q]||{},e=B.elements[Q];!uA(e)||!cB(e)||(Object.assign(e.style,I),Object.keys(g).forEach(function(w){var M=g[w];M===!1?e.removeAttribute(w):e.setAttribute(w,M===!0?"":M)}))})}function YU(A){var B=A.state,Q={popper:{position:B.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(B.elements.popper.style,Q.popper),B.styles=Q,B.elements.arrow&&Object.assign(B.elements.arrow.style,Q.arrow),function(){Object.keys(B.elements).forEach(function(I){var g=B.elements[I],e=B.attributes[I]||{},w=Object.keys(B.styles.hasOwnProperty(I)?B.styles[I]:Q[I]),M=w.reduce(function(c,i){return c[i]="",c},{});!uA(g)||!cB(g)||(Object.assign(g.style,M),Object.keys(e).forEach(function(c){g.removeAttribute(c)}))})}}const CU={name:"applyStyles",enabled:!0,phase:"write",fn:oU,effect:YU,requires:["computeStyles"]};function iB(A){return A.split("-")[0]}var cQ=Math.max,QI=Math.min,yQ=Math.round;function Sg(){var A=navigator.userAgentData;return A!=null&&A.brands&&Array.isArray(A.brands)?A.brands.map(function(B){return B.brand+"/"+B.version}).join(" "):navigator.userAgent}function jM(){return!/^((?!chrome|android).)*safari/i.test(Sg())}function HQ(A,B,Q){B===void 0&&(B=!1),Q===void 0&&(Q=!1);var I=A.getBoundingClientRect(),g=1,e=1;B&&uA(A)&&(g=A.offsetWidth>0&&yQ(I.width)/A.offsetWidth||1,e=A.offsetHeight>0&&yQ(I.height)/A.offsetHeight||1);var w=MQ(A)?jA(A):window,M=w.visualViewport,c=!jM()&&Q,i=(I.left+(c&&M?M.offsetLeft:0))/g,t=(I.top+(c&&M?M.offsetTop:0))/e,r=I.width/g,F=I.height/e;return{width:r,height:F,top:t,right:i+r,bottom:t+F,left:i,x:i,y:t}}function zg(A){var B=HQ(A),Q=A.offsetWidth,I=A.offsetHeight;return Math.abs(B.width-Q)<=1&&(Q=B.width),Math.abs(B.height-I)<=1&&(I=B.height),{x:A.offsetLeft,y:A.offsetTop,width:Q,height:I}}function xM(A,B){var Q=B.getRootNode&&B.getRootNode();if(A.contains(B))return!0;if(Q&&lg(Q)){var I=B;do{if(I&&A.isSameNode(I))return!0;I=I.parentNode||I.host}while(I)}return!1}function nB(A){return jA(A).getComputedStyle(A)}function aU(A){return["table","td","th"].indexOf(cB(A))>=0}function pB(A){return((MQ(A)?A.ownerDocument:A.document)||window.document).documentElement}function EI(A){return cB(A)==="html"?A:A.assignedSlot||A.parentNode||(lg(A)?A.host:null)||pB(A)}function JM(A){return!uA(A)||nB(A).position==="fixed"?null:A.offsetParent}function hU(A){var B=/firefox/i.test(Sg()),Q=/Trident/i.test(Sg());if(Q&&uA(A)){var I=nB(A);if(I.position==="fixed")return null}var g=EI(A);for(lg(g)&&(g=g.host);uA(g)&&["html","body"].indexOf(cB(g))<0;){var e=nB(g);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||B&&e.willChange==="filter"||B&&e.filter&&e.filter!=="none")return g;g=g.parentNode}return null}function UE(A){for(var B=jA(A),Q=JM(A);Q&&aU(Q)&&nB(Q).position==="static";)Q=JM(Q);return Q&&(cB(Q)==="html"||cB(Q)==="body"&&nB(Q).position==="static")?B:Q||hU(A)||B}function jg(A){return["top","bottom"].indexOf(A)>=0?"x":"y"}function oE(A,B,Q){return cQ(A,QI(B,Q))}function nU(A,B,Q){var I=oE(A,B,Q);return I>Q?Q:I}function dM(){return{top:0,right:0,bottom:0,left:0}}function TM(A){return Object.assign({},dM(),A)}function kM(A,B){return B.reduce(function(Q,I){return Q[I]=A,Q},{})}var NU=function(B,Q){return B=typeof B=="function"?B(Object.assign({},Q.rects,{placement:Q.placement})):B,TM(typeof B!="number"?B:kM(B,rE))};function RU(A){var B,Q=A.state,I=A.name,g=A.options,e=Q.elements.arrow,w=Q.modifiersData.popperOffsets,M=iB(Q.placement),c=jg(M),i=[lA,mA].indexOf(M)>=0,t=i?"height":"width";if(!(!e||!w)){var r=NU(g.padding,Q),F=zg(e),s=c==="y"?HA:lA,o=c==="y"?kA:mA,C=Q.rects.reference[t]+Q.rects.reference[c]-w[c]-Q.rects.popper[t],a=w[c]-Q.rects.reference[c],Y=UE(e),R=Y?c==="y"?Y.clientHeight||0:Y.clientWidth||0:0,n=C/2-a/2,h=r[s],D=R-F[t]-r[o],S=R/2-F[t]/2+n,V=oE(h,S,D),J=c;Q.modifiersData[I]=(B={},B[J]=V,B.centerOffset=V-S,B)}}function DU(A){var B=A.state,Q=A.options,I=Q.element,g=I===void 0?"[data-popper-arrow]":I;g!=null&&(typeof g=="string"&&(g=B.elements.popper.querySelector(g),!g)||xM(B.elements.popper,g)&&(B.elements.arrow=g))}const GU={name:"arrow",enabled:!0,phase:"main",fn:RU,effect:DU,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lQ(A){return A.split("-")[1]}var VU={top:"auto",right:"auto",bottom:"auto",left:"auto"};function yU(A,B){var Q=A.x,I=A.y,g=B.devicePixelRatio||1;return{x:yQ(Q*g)/g||0,y:yQ(I*g)/g||0}}function mM(A){var B,Q=A.popper,I=A.popperRect,g=A.placement,e=A.variation,w=A.offsets,M=A.position,c=A.gpuAcceleration,i=A.adaptive,t=A.roundOffsets,r=A.isFixed,F=w.x,s=F===void 0?0:F,o=w.y,C=o===void 0?0:o,a=typeof t=="function"?t({x:s,y:C}):{x:s,y:C};s=a.x,C=a.y;var Y=w.hasOwnProperty("x"),R=w.hasOwnProperty("y"),n=lA,h=HA,D=window;if(i){var S=UE(Q),V="clientHeight",J="clientWidth";if(S===jA(Q)&&(S=pB(Q),nB(S).position!=="static"&&M==="absolute"&&(V="scrollHeight",J="scrollWidth")),S=S,g===HA||(g===lA||g===mA)&&e===FE){h=kA;var u=r&&S===D&&D.visualViewport?D.visualViewport.height:S[V];C-=u-I.height,C*=c?1:-1}if(g===lA||(g===HA||g===kA)&&e===FE){n=mA;var y=r&&S===D&&D.visualViewport?D.visualViewport.width:S[J];s-=y-I.width,s*=c?1:-1}}var j=Object.assign({position:M},i&&VU),z=t===!0?yU({x:s,y:C},jA(Q)):{x:s,y:C};if(s=z.x,C=z.y,c){var k;return Object.assign({},j,(k={},k[h]=R?"0":"",k[n]=Y?"0":"",k.transform=(D.devicePixelRatio||1)<=1?"translate("+s+"px, "+C+"px)":"translate3d("+s+"px, "+C+"px, 0)",k))}return Object.assign({},j,(B={},B[h]=R?C+"px":"",B[n]=Y?s+"px":"",B.transform="",B))}function HU(A){var B=A.state,Q=A.options,I=Q.gpuAcceleration,g=I===void 0?!0:I,e=Q.adaptive,w=e===void 0?!0:e,M=Q.roundOffsets,c=M===void 0?!0:M,i={placement:iB(B.placement),variation:lQ(B.placement),popper:B.elements.popper,popperRect:B.rects.popper,gpuAcceleration:g,isFixed:B.options.strategy==="fixed"};B.modifiersData.popperOffsets!=null&&(B.styles.popper=Object.assign({},B.styles.popper,mM(Object.assign({},i,{offsets:B.modifiersData.popperOffsets,position:B.options.strategy,adaptive:w,roundOffsets:c})))),B.modifiersData.arrow!=null&&(B.styles.arrow=Object.assign({},B.styles.arrow,mM(Object.assign({},i,{offsets:B.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),B.attributes.popper=Object.assign({},B.attributes.popper,{"data-popper-placement":B.placement})}const lU={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:HU,data:{}};var II={passive:!0};function SU(A){var B=A.state,Q=A.instance,I=A.options,g=I.scroll,e=g===void 0?!0:g,w=I.resize,M=w===void 0?!0:w,c=jA(B.elements.popper),i=[].concat(B.scrollParents.reference,B.scrollParents.popper);return e&&i.forEach(function(t){t.addEventListener("scroll",Q.update,II)}),M&&c.addEventListener("resize",Q.update,II),function(){e&&i.forEach(function(t){t.removeEventListener("scroll",Q.update,II)}),M&&c.removeEventListener("resize",Q.update,II)}}const zU={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:SU,data:{}};var jU={left:"right",right:"left",bottom:"top",top:"bottom"};function gI(A){return A.replace(/left|right|bottom|top/g,function(B){return jU[B]})}var xU={start:"end",end:"start"};function uM(A){return A.replace(/start|end/g,function(B){return xU[B]})}function xg(A){var B=jA(A),Q=B.pageXOffset,I=B.pageYOffset;return{scrollLeft:Q,scrollTop:I}}function Jg(A){return HQ(pB(A)).left+xg(A).scrollLeft}function JU(A,B){var Q=jA(A),I=pB(A),g=Q.visualViewport,e=I.clientWidth,w=I.clientHeight,M=0,c=0;if(g){e=g.width,w=g.height;var i=jM();(i||!i&&B==="fixed")&&(M=g.offsetLeft,c=g.offsetTop)}return{width:e,height:w,x:M+Jg(A),y:c}}function dU(A){var B,Q=pB(A),I=xg(A),g=(B=A.ownerDocument)==null?void 0:B.body,e=cQ(Q.scrollWidth,Q.clientWidth,g?g.scrollWidth:0,g?g.clientWidth:0),w=cQ(Q.scrollHeight,Q.clientHeight,g?g.scrollHeight:0,g?g.clientHeight:0),M=-I.scrollLeft+Jg(A),c=-I.scrollTop;return nB(g||Q).direction==="rtl"&&(M+=cQ(Q.clientWidth,g?g.clientWidth:0)-e),{width:e,height:w,x:M,y:c}}function dg(A){var B=nB(A),Q=B.overflow,I=B.overflowX,g=B.overflowY;return/auto|scroll|overlay|hidden/.test(Q+g+I)}function KM(A){return["html","body","#document"].indexOf(cB(A))>=0?A.ownerDocument.body:uA(A)&&dg(A)?A:KM(EI(A))}function YE(A,B){var Q;B===void 0&&(B=[]);var I=KM(A),g=I===((Q=A.ownerDocument)==null?void 0:Q.body),e=jA(I),w=g?[e].concat(e.visualViewport||[],dg(I)?I:[]):I,M=B.concat(w);return g?M:M.concat(YE(EI(w)))}function Tg(A){return Object.assign({},A,{left:A.x,top:A.y,right:A.x+A.width,bottom:A.y+A.height})}function TU(A,B){var Q=HQ(A,!1,B==="fixed");return Q.top=Q.top+A.clientTop,Q.left=Q.left+A.clientLeft,Q.bottom=Q.top+A.clientHeight,Q.right=Q.left+A.clientWidth,Q.width=A.clientWidth,Q.height=A.clientHeight,Q.x=Q.left,Q.y=Q.top,Q}function fM(A,B,Q){return B===lM?Tg(JU(A,Q)):MQ(B)?TU(B,Q):Tg(dU(pB(A)))}function kU(A){var B=YE(EI(A)),Q=["absolute","fixed"].indexOf(nB(A).position)>=0,I=Q&&uA(A)?UE(A):A;return MQ(I)?B.filter(function(g){return MQ(g)&&xM(g,I)&&cB(g)!=="body"}):[]}function mU(A,B,Q,I){var g=B==="clippingParents"?kU(A):[].concat(B),e=[].concat(g,[Q]),w=e[0],M=e.reduce(function(c,i){var t=fM(A,i,I);return c.top=cQ(t.top,c.top),c.right=QI(t.right,c.right),c.bottom=QI(t.bottom,c.bottom),c.left=cQ(t.left,c.left),c},fM(A,w,I));return M.width=M.right-M.left,M.height=M.bottom-M.top,M.x=M.left,M.y=M.top,M}function WM(A){var B=A.reference,Q=A.element,I=A.placement,g=I?iB(I):null,e=I?lQ(I):null,w=B.x+B.width/2-Q.width/2,M=B.y+B.height/2-Q.height/2,c;switch(g){case HA:c={x:w,y:B.y-Q.height};break;case kA:c={x:w,y:B.y+B.height};break;case mA:c={x:B.x+B.width,y:M};break;case lA:c={x:B.x-Q.width,y:M};break;default:c={x:B.x,y:B.y}}var i=g?jg(g):null;if(i!=null){var t=i==="y"?"height":"width";switch(e){case VQ:c[i]=c[i]-(B[t]/2-Q[t]/2);break;case FE:c[i]=c[i]+(B[t]/2-Q[t]/2);break}}return c}function CE(A,B){B===void 0&&(B={});var Q=B,I=Q.placement,g=I===void 0?A.placement:I,e=Q.strategy,w=e===void 0?A.strategy:e,M=Q.boundary,c=M===void 0?IU:M,i=Q.rootBoundary,t=i===void 0?lM:i,r=Q.elementContext,F=r===void 0?sE:r,s=Q.altBoundary,o=s===void 0?!1:s,C=Q.padding,a=C===void 0?0:C,Y=TM(typeof a!="number"?a:kM(a,rE)),R=F===sE?gU:sE,n=A.rects.popper,h=A.elements[o?R:F],D=mU(MQ(h)?h:h.contextElement||pB(A.elements.popper),c,t,w),S=HQ(A.elements.reference),V=WM({reference:S,element:n,placement:g}),J=Tg(Object.assign({},n,V)),u=F===sE?J:S,y={top:D.top-u.top+Y.top,bottom:u.bottom-D.bottom+Y.bottom,left:D.left-u.left+Y.left,right:u.right-D.right+Y.right},j=A.modifiersData.offset;if(F===sE&&j){var z=j[g];Object.keys(y).forEach(function(k){var q=[mA,kA].indexOf(k)>=0?1:-1,m=[HA,kA].indexOf(k)>=0?"y":"x";y[k]+=z[m]*q})}return y}function uU(A,B){B===void 0&&(B={});var Q=B,I=Q.placement,g=Q.boundary,e=Q.rootBoundary,w=Q.padding,M=Q.flipVariations,c=Q.allowedAutoPlacements,i=c===void 0?zM:c,t=lQ(I),r=t?M?SM:SM.filter(function(o){return lQ(o)===t}):rE,F=r.filter(function(o){return i.indexOf(o)>=0});F.length===0&&(F=r);var s=F.reduce(function(o,C){return o[C]=CE(A,{placement:C,boundary:g,rootBoundary:e,padding:w})[iB(C)],o},{});return Object.keys(s).sort(function(o,C){return s[o]-s[C]})}function KU(A){if(iB(A)===Hg)return[];var B=gI(A);return[uM(A),B,uM(B)]}function fU(A){var B=A.state,Q=A.options,I=A.name;if(!B.modifiersData[I]._skip){for(var g=Q.mainAxis,e=g===void 0?!0:g,w=Q.altAxis,M=w===void 0?!0:w,c=Q.fallbackPlacements,i=Q.padding,t=Q.boundary,r=Q.rootBoundary,F=Q.altBoundary,s=Q.flipVariations,o=s===void 0?!0:s,C=Q.allowedAutoPlacements,a=B.options.placement,Y=iB(a),R=Y===a,n=c||(R||!o?[gI(a)]:KU(a)),h=[a].concat(n).reduce(function(gA,YA){return gA.concat(iB(YA)===Hg?uU(B,{placement:YA,boundary:t,rootBoundary:r,padding:i,flipVariations:o,allowedAutoPlacements:C}):YA)},[]),D=B.rects.reference,S=B.rects.popper,V=new Map,J=!0,u=h[0],y=0;y<h.length;y++){var j=h[y],z=iB(j),k=lQ(j)===VQ,q=[HA,kA].indexOf(z)>=0,m=q?"width":"height",Z=CE(B,{placement:j,boundary:t,rootBoundary:r,altBoundary:F,padding:i}),L=q?k?mA:lA:k?kA:HA;D[m]>S[m]&&(L=gI(L));var IA=gI(L),$=[];if(e&&$.push(Z[z]<=0),M&&$.push(Z[L]<=0,Z[IA]<=0),$.every(function(gA){return gA})){u=j,J=!1;break}V.set(j,$)}if(J)for(var l=o?3:1,AA=function(YA){var hA=h.find(function(CA){var nA=V.get(CA);if(nA)return nA.slice(0,YA).every(function(JA){return JA})});if(hA)return u=hA,"break"},W=l;W>0;W--){var oA=AA(W);if(oA==="break")break}B.placement!==u&&(B.modifiersData[I]._skip=!0,B.placement=u,B.reset=!0)}}const WU={name:"flip",enabled:!0,phase:"main",fn:fU,requiresIfExists:["offset"],data:{_skip:!1}};function pM(A,B,Q){return Q===void 0&&(Q={x:0,y:0}),{top:A.top-B.height-Q.y,right:A.right-B.width+Q.x,bottom:A.bottom-B.height+Q.y,left:A.left-B.width-Q.x}}function qM(A){return[HA,mA,kA,lA].some(function(B){return A[B]>=0})}function pU(A){var B=A.state,Q=A.name,I=B.rects.reference,g=B.rects.popper,e=B.modifiersData.preventOverflow,w=CE(B,{elementContext:"reference"}),M=CE(B,{altBoundary:!0}),c=pM(w,I),i=pM(M,g,e),t=qM(c),r=qM(i);B.modifiersData[Q]={referenceClippingOffsets:c,popperEscapeOffsets:i,isReferenceHidden:t,hasPopperEscaped:r},B.attributes.popper=Object.assign({},B.attributes.popper,{"data-popper-reference-hidden":t,"data-popper-escaped":r})}const qU={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pU};function ZU(A,B,Q){var I=iB(A),g=[lA,HA].indexOf(I)>=0?-1:1,e=typeof Q=="function"?Q(Object.assign({},B,{placement:A})):Q,w=e[0],M=e[1];return w=w||0,M=(M||0)*g,[lA,mA].indexOf(I)>=0?{x:M,y:w}:{x:w,y:M}}function OU(A){var B=A.state,Q=A.options,I=A.name,g=Q.offset,e=g===void 0?[0,0]:g,w=zM.reduce(function(t,r){return t[r]=ZU(r,B.rects,e),t},{}),M=w[B.placement],c=M.x,i=M.y;B.modifiersData.popperOffsets!=null&&(B.modifiersData.popperOffsets.x+=c,B.modifiersData.popperOffsets.y+=i),B.modifiersData[I]=w}const bU={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:OU};function LU(A){var B=A.state,Q=A.name;B.modifiersData[Q]=WM({reference:B.rects.reference,element:B.rects.popper,placement:B.placement})}const XU={name:"popperOffsets",enabled:!0,phase:"read",fn:LU,data:{}};function vU(A){return A==="x"?"y":"x"}function PU(A){var B=A.state,Q=A.options,I=A.name,g=Q.mainAxis,e=g===void 0?!0:g,w=Q.altAxis,M=w===void 0?!1:w,c=Q.boundary,i=Q.rootBoundary,t=Q.altBoundary,r=Q.padding,F=Q.tether,s=F===void 0?!0:F,o=Q.tetherOffset,C=o===void 0?0:o,a=CE(B,{boundary:c,rootBoundary:i,padding:r,altBoundary:t}),Y=iB(B.placement),R=lQ(B.placement),n=!R,h=jg(Y),D=vU(h),S=B.modifiersData.popperOffsets,V=B.rects.reference,J=B.rects.popper,u=typeof C=="function"?C(Object.assign({},B.rects,{placement:B.placement})):C,y=typeof u=="number"?{mainAxis:u,altAxis:u}:Object.assign({mainAxis:0,altAxis:0},u),j=B.modifiersData.offset?B.modifiersData.offset[B.placement]:null,z={x:0,y:0};if(S){if(e){var k,q=h==="y"?HA:lA,m=h==="y"?kA:mA,Z=h==="y"?"height":"width",L=S[h],IA=L+a[q],$=L-a[m],l=s?-J[Z]/2:0,AA=R===VQ?V[Z]:J[Z],W=R===VQ?-J[Z]:-V[Z],oA=B.elements.arrow,gA=s&&oA?zg(oA):{width:0,height:0},YA=B.modifiersData["arrow#persistent"]?B.modifiersData["arrow#persistent"].padding:dM(),hA=YA[q],CA=YA[m],nA=oE(0,V[Z],gA[Z]),JA=n?V[Z]/2-l-nA-hA-y.mainAxis:AA-nA-hA-y.mainAxis,TB=n?-V[Z]/2+l+nA+CA+y.mainAxis:W+nA+CA+y.mainAxis,EB=B.elements.arrow&&UE(B.elements.arrow),ZA=EB?h==="y"?EB.clientTop||0:EB.clientLeft||0:0,OA=(k=j?.[h])!=null?k:0,_B=L+JA-OA-ZA,$Q=L+TB-OA,aB=oE(s?QI(IA,_B):IA,L,s?cQ($,$Q):$);S[h]=aB,z[h]=aB-L}if(M){var hQ,nQ=h==="x"?HA:lA,NQ=h==="x"?kA:mA,IB=S[D],$B=D==="y"?"height":"width",AQ=IB+a[nQ],BQ=IB-a[NQ],QQ=[HA,lA].indexOf(Y)!==-1,EQ=(hQ=j?.[D])!=null?hQ:0,IQ=QQ?AQ:IB-V[$B]-J[$B]-EQ+y.altAxis,RQ=QQ?IB+V[$B]+J[$B]-EQ-y.altAxis:BQ,AE=s&&QQ?nU(IQ,IB,RQ):oE(s?IQ:AQ,IB,s?RQ:BQ);S[D]=AE,z[D]=AE-IB}B.modifiersData[I]=z}}const _U={name:"preventOverflow",enabled:!0,phase:"main",fn:PU,requiresIfExists:["offset"]};function $U(A){return{scrollLeft:A.scrollLeft,scrollTop:A.scrollTop}}function Ao(A){return A===jA(A)||!uA(A)?xg(A):$U(A)}function Bo(A){var B=A.getBoundingClientRect(),Q=yQ(B.width)/A.offsetWidth||1,I=yQ(B.height)/A.offsetHeight||1;return Q!==1||I!==1}function Qo(A,B,Q){Q===void 0&&(Q=!1);var I=uA(B),g=uA(B)&&Bo(B),e=pB(B),w=HQ(A,g,Q),M={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(I||!I&&!Q)&&((cB(B)!=="body"||dg(e))&&(M=Ao(B)),uA(B)?(c=HQ(B,!0),c.x+=B.clientLeft,c.y+=B.clientTop):e&&(c.x=Jg(e))),{x:w.left+M.scrollLeft-c.x,y:w.top+M.scrollTop-c.y,width:w.width,height:w.height}}function Eo(A){var B=new Map,Q=new Set,I=[];A.forEach(function(e){B.set(e.name,e)});function g(e){Q.add(e.name);var w=[].concat(e.requires||[],e.requiresIfExists||[]);w.forEach(function(M){if(!Q.has(M)){var c=B.get(M);c&&g(c)}}),I.push(e)}return A.forEach(function(e){Q.has(e.name)||g(e)}),I}function Io(A){var B=Eo(A);return UU.reduce(function(Q,I){return Q.concat(B.filter(function(g){return g.phase===I}))},[])}function go(A){var B;return function(){return B||(B=new Promise(function(Q){Promise.resolve().then(function(){B=void 0,Q(A())})})),B}}function eo(A){var B=A.reduce(function(Q,I){var g=Q[I.name];return Q[I.name]=g?Object.assign({},g,I,{options:Object.assign({},g.options,I.options),data:Object.assign({},g.data,I.data)}):I,Q},{});return Object.keys(B).map(function(Q){return B[Q]})}var ZM={placement:"bottom",modifiers:[],strategy:"absolute"};function OM(){for(var A=arguments.length,B=new Array(A),Q=0;Q<A;Q++)B[Q]=arguments[Q];return!B.some(function(I){return!(I&&typeof I.getBoundingClientRect=="function")})}function wo(A){A===void 0&&(A={});var B=A,Q=B.defaultModifiers,I=Q===void 0?[]:Q,g=B.defaultOptions,e=g===void 0?ZM:g;return function(M,c,i){i===void 0&&(i=e);var t={placement:"bottom",orderedModifiers:[],options:Object.assign({},ZM,e),modifiersData:{},elements:{reference:M,popper:c},attributes:{},styles:{}},r=[],F=!1,s={state:t,setOptions:function(Y){var R=typeof Y=="function"?Y(t.options):Y;C(),t.options=Object.assign({},e,t.options,R),t.scrollParents={reference:MQ(M)?YE(M):M.contextElement?YE(M.contextElement):[],popper:YE(c)};var n=Io(eo([].concat(I,t.options.modifiers)));return t.orderedModifiers=n.filter(function(h){return h.enabled}),o(),s.update()},forceUpdate:function(){if(!F){var Y=t.elements,R=Y.reference,n=Y.popper;if(OM(R,n)){t.rects={reference:Qo(R,UE(n),t.options.strategy==="fixed"),popper:zg(n)},t.reset=!1,t.placement=t.options.placement,t.orderedModifiers.forEach(function(y){return t.modifiersData[y.name]=Object.assign({},y.data)});for(var h=0;h<t.orderedModifiers.length;h++){if(t.reset===!0){t.reset=!1,h=-1;continue}var D=t.orderedModifiers[h],S=D.fn,V=D.options,J=V===void 0?{}:V,u=D.name;typeof S=="function"&&(t=S({state:t,options:J,name:u,instance:s})||t)}}}},update:go(function(){return new Promise(function(a){s.forceUpdate(),a(t)})}),destroy:function(){C(),F=!0}};if(!OM(M,c))return s;s.setOptions(i).then(function(a){!F&&i.onFirstUpdate&&i.onFirstUpdate(a)});function o(){t.orderedModifiers.forEach(function(a){var Y=a.name,R=a.options,n=R===void 0?{}:R,h=a.effect;if(typeof h=="function"){var D=h({state:t,name:Y,instance:s,options:n}),S=function(){};r.push(D||S)}})}function C(){r.forEach(function(a){return a()}),r=[]}return s}}var Mo=[zU,XU,lU,CU,bU,WU,_U,GU,qU],co=wo({defaultModifiers:Mo}),io=Object.defineProperty,to=(A,B,Q)=>B in A?io(A,B,{enumerable:!0,configurable:!0,writable:!0,value:Q}):A[B]=Q,K=(A,B,Q)=>(to(A,typeof B!="symbol"?B+"":B,Q),Q),eI=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bM(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var ro=Object.prototype,Fo=ro.hasOwnProperty;function so(A,B){return A!=null&&Fo.call(A,B)}var Uo=so,oo=Array.isArray,vA=oo,Yo=typeof eI=="object"&&eI&&eI.Object===Object&&eI,LM=Yo,Co=LM,ao=typeof self=="object"&&self&&self.Object===Object&&self,ho=Co||ao||Function("return this")(),tB=ho,no=tB,No=no.Symbol,wI=No,XM=wI,vM=Object.prototype,Ro=vM.hasOwnProperty,Do=vM.toString,aE=XM?XM.toStringTag:void 0;function Go(A){var B=Ro.call(A,aE),Q=A[aE];try{A[aE]=void 0;var I=!0}catch{}var g=Do.call(A);return I&&(B?A[aE]=Q:delete A[aE]),g}var Vo=Go,yo=Object.prototype,Ho=yo.toString;function lo(A){return Ho.call(A)}var So=lo,PM=wI,zo=Vo,jo=So,xo="[object Null]",Jo="[object Undefined]",_M=PM?PM.toStringTag:void 0;function To(A){return A==null?A===void 0?Jo:xo:_M&&_M in Object(A)?zo(A):jo(A)}var rB=To;function ko(A){return A!=null&&typeof A=="object"}var PA=ko,mo=rB,uo=PA,Ko="[object Symbol]";function fo(A){return typeof A=="symbol"||uo(A)&&mo(A)==Ko}var kg=fo,Wo=vA,po=kg,qo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zo=/^\w*$/;function Oo(A,B){if(Wo(A))return!1;var Q=typeof A;return Q=="number"||Q=="symbol"||Q=="boolean"||A==null||po(A)?!0:Zo.test(A)||!qo.test(A)||B!=null&&A in Object(B)}var mg=Oo;function bo(A){var B=typeof A;return A!=null&&(B=="object"||B=="function")}var NB=bo,Lo=rB,Xo=NB,vo="[object AsyncFunction]",Po="[object Function]",_o="[object GeneratorFunction]",$o="[object Proxy]";function AY(A){if(!Xo(A))return!1;var B=Lo(A);return B==Po||B==_o||B==vo||B==$o}var iQ=AY,BY=tB,QY=BY["__core-js_shared__"],EY=QY,ug=EY,$M=(function(){var A=/[^.]+$/.exec(ug&&ug.keys&&ug.keys.IE_PROTO||"");return A?"Symbol(src)_1."+A:""})();function IY(A){return!!$M&&$M in A}var gY=IY,eY=Function.prototype,wY=eY.toString;function MY(A){if(A!=null){try{return wY.call(A)}catch{}try{return A+""}catch{}}return""}var Ac=MY,cY=iQ,iY=gY,tY=NB,rY=Ac,FY=/[\\^$.*+?()[\]{}|]/g,sY=/^\[object .+?Constructor\]$/,UY=Function.prototype,oY=Object.prototype,YY=UY.toString,CY=oY.hasOwnProperty,aY=RegExp("^"+YY.call(CY).replace(FY,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function hY(A){if(!tY(A)||iY(A))return!1;var B=cY(A)?aY:sY;return B.test(rY(A))}var nY=hY;function NY(A,B){return A?.[B]}var RY=NY,DY=nY,GY=RY;function VY(A,B){var Q=GY(A,B);return DY(Q)?Q:void 0}var tQ=VY,yY=tQ,HY=yY(Object,"create"),MI=HY,Bc=MI;function lY(){this.__data__=Bc?Bc(null):{},this.size=0}var SY=lY;function zY(A){var B=this.has(A)&&delete this.__data__[A];return this.size-=B?1:0,B}var jY=zY,xY=MI,JY="__lodash_hash_undefined__",dY=Object.prototype,TY=dY.hasOwnProperty;function kY(A){var B=this.__data__;if(xY){var Q=B[A];return Q===JY?void 0:Q}return TY.call(B,A)?B[A]:void 0}var mY=kY,uY=MI,KY=Object.prototype,fY=KY.hasOwnProperty;function WY(A){var B=this.__data__;return uY?B[A]!==void 0:fY.call(B,A)}var pY=WY,qY=MI,ZY="__lodash_hash_undefined__";function OY(A,B){var Q=this.__data__;return this.size+=this.has(A)?0:1,Q[A]=qY&&B===void 0?ZY:B,this}var bY=OY,LY=SY,XY=jY,vY=mY,PY=pY,_Y=bY;function SQ(A){var B=-1,Q=A==null?0:A.length;for(this.clear();++B<Q;){var I=A[B];this.set(I[0],I[1])}}SQ.prototype.clear=LY,SQ.prototype.delete=XY,SQ.prototype.get=vY,SQ.prototype.has=PY,SQ.prototype.set=_Y;var $Y=SQ;function AC(){this.__data__=[],this.size=0}var BC=AC;function QC(A,B){return A===B||A!==A&&B!==B}var zQ=QC,EC=zQ;function IC(A,B){for(var Q=A.length;Q--;)if(EC(A[Q][0],B))return Q;return-1}var cI=IC,gC=cI,eC=Array.prototype,wC=eC.splice;function MC(A){var B=this.__data__,Q=gC(B,A);if(Q<0)return!1;var I=B.length-1;return Q==I?B.pop():wC.call(B,Q,1),--this.size,!0}var cC=MC,iC=cI;function tC(A){var B=this.__data__,Q=iC(B,A);return Q<0?void 0:B[Q][1]}var rC=tC,FC=cI;function sC(A){return FC(this.__data__,A)>-1}var UC=sC,oC=cI;function YC(A,B){var Q=this.__data__,I=oC(Q,A);return I<0?(++this.size,Q.push([A,B])):Q[I][1]=B,this}var CC=YC,aC=BC,hC=cC,nC=rC,NC=UC,RC=CC;function jQ(A){var B=-1,Q=A==null?0:A.length;for(this.clear();++B<Q;){var I=A[B];this.set(I[0],I[1])}}jQ.prototype.clear=aC,jQ.prototype.delete=hC,jQ.prototype.get=nC,jQ.prototype.has=NC,jQ.prototype.set=RC;var iI=jQ,DC=tQ,GC=tB,VC=DC(GC,"Map"),Kg=VC,Qc=$Y,yC=iI,HC=Kg;function lC(){this.size=0,this.__data__={hash:new Qc,map:new(HC||yC),string:new Qc}}var SC=lC;function zC(A){var B=typeof A;return B=="string"||B=="number"||B=="symbol"||B=="boolean"?A!=="__proto__":A===null}var jC=zC,xC=jC;function JC(A,B){var Q=A.__data__;return xC(B)?Q[typeof B=="string"?"string":"hash"]:Q.map}var tI=JC,dC=tI;function TC(A){var B=dC(this,A).delete(A);return this.size-=B?1:0,B}var kC=TC,mC=tI;function uC(A){return mC(this,A).get(A)}var KC=uC,fC=tI;function WC(A){return fC(this,A).has(A)}var pC=WC,qC=tI;function ZC(A,B){var Q=qC(this,A),I=Q.size;return Q.set(A,B),this.size+=Q.size==I?0:1,this}var OC=ZC,bC=SC,LC=kC,XC=KC,vC=pC,PC=OC;function xQ(A){var B=-1,Q=A==null?0:A.length;for(this.clear();++B<Q;){var I=A[B];this.set(I[0],I[1])}}xQ.prototype.clear=bC,xQ.prototype.delete=LC,xQ.prototype.get=XC,xQ.prototype.has=vC,xQ.prototype.set=PC;var fg=xQ,Ec=fg,_C="Expected a function";function Wg(A,B){if(typeof A!="function"||B!=null&&typeof B!="function")throw new TypeError(_C);var Q=function(){var I=arguments,g=B?B.apply(this,I):I[0],e=Q.cache;if(e.has(g))return e.get(g);var w=A.apply(this,I);return Q.cache=e.set(g,w)||e,w};return Q.cache=new(Wg.Cache||Ec),Q}Wg.Cache=Ec;var $C=Wg,Aa=$C,Ba=500;function Qa(A){var B=Aa(A,function(I){return Q.size===Ba&&Q.clear(),I}),Q=B.cache;return B}var Ea=Qa,Ia=Ea,ga=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ea=/\\(\\)?/g,wa=Ia(function(A){var B=[];return A.charCodeAt(0)===46&&B.push(""),A.replace(ga,function(Q,I,g,e){B.push(g?e.replace(ea,"$1"):I||Q)}),B}),Ma=wa;function ca(A,B){for(var Q=-1,I=A==null?0:A.length,g=Array(I);++Q<I;)g[Q]=B(A[Q],Q,A);return g}var ia=ca,Ic=wI,ta=ia,ra=vA,Fa=kg,gc=Ic?Ic.prototype:void 0,ec=gc?gc.toString:void 0;function wc(A){if(typeof A=="string")return A;if(ra(A))return ta(A,wc)+"";if(Fa(A))return ec?ec.call(A):"";var B=A+"";return B=="0"&&1/A==-1/0?"-0":B}var sa=wc,Ua=sa;function oa(A){return A==null?"":Ua(A)}var Ya=oa,Ca=vA,aa=mg,ha=Ma,na=Ya;function Na(A,B){return Ca(A)?A:aa(A,B)?[A]:ha(na(A))}var Mc=Na,Ra=rB,Da=PA,Ga="[object Arguments]";function Va(A){return Da(A)&&Ra(A)==Ga}var ya=Va,cc=ya,Ha=PA,ic=Object.prototype,la=ic.hasOwnProperty,Sa=ic.propertyIsEnumerable,za=cc((function(){return arguments})())?cc:function(A){return Ha(A)&&la.call(A,"callee")&&!Sa.call(A,"callee")},pg=za,ja=9007199254740991,xa=/^(?:0|[1-9]\d*)$/;function Ja(A,B){var Q=typeof A;return B=B??ja,!!B&&(Q=="number"||Q!="symbol"&&xa.test(A))&&A>-1&&A%1==0&&A<B}var qg=Ja,da=9007199254740991;function Ta(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=da}var Zg=Ta,ka=kg;function ma(A){if(typeof A=="string"||ka(A))return A;var B=A+"";return B=="0"&&1/A==-1/0?"-0":B}var rI=ma,ua=Mc,Ka=pg,fa=vA,Wa=qg,pa=Zg,qa=rI;function Za(A,B,Q){B=ua(B,A);for(var I=-1,g=B.length,e=!1;++I<g;){var w=qa(B[I]);if(!(e=A!=null&&Q(A,w)))break;A=A[w]}return e||++I!=g?e:(g=A==null?0:A.length,!!g&&pa(g)&&Wa(w,g)&&(fa(A)||Ka(A)))}var tc=Za,Oa=Uo,ba=tc;function La(A,B){return A!=null&&ba(A,B,Oa)}var rc=La,Xa=rB,va=PA,Pa="[object Date]";function _a(A){return va(A)&&Xa(A)==Pa}var $a=_a;function Ah(A){return function(B){return A(B)}}var Fc=Ah,hE={},Bh={get exports(){return hE},set exports(A){hE=A}};(function(A,B){var Q=LM,I=B&&!B.nodeType&&B,g=I&&!0&&A&&!A.nodeType&&A,e=g&&g.exports===I,w=e&&Q.process,M=(function(){try{var c=g&&g.require&&g.require("util").types;return c||w&&w.binding&&w.binding("util")}catch{}})();A.exports=M})(Bh,hE);var Qh=$a,Eh=Fc,sc=hE,Uc=sc&&sc.isDate,Ih=Uc?Eh(Uc):Qh,gh=Ih,eh=rB,wh=vA,Mh=PA,ch="[object String]";function ih(A){return typeof A=="string"||!wh(A)&&Mh(A)&&eh(A)==ch}var FB=ih;function th(A,B){for(var Q=-1,I=A==null?0:A.length;++Q<I;)if(B(A[Q],Q,A))return!0;return!1}var oc=th,rh=iI;function Fh(){this.__data__=new rh,this.size=0}var sh=Fh;function Uh(A){var B=this.__data__,Q=B.delete(A);return this.size=B.size,Q}var oh=Uh;function Yh(A){return this.__data__.get(A)}var Ch=Yh;function ah(A){return this.__data__.has(A)}var hh=ah,nh=iI,Nh=Kg,Rh=fg,Dh=200;function Gh(A,B){var Q=this.__data__;if(Q instanceof nh){var I=Q.__data__;if(!Nh||I.length<Dh-1)return I.push([A,B]),this.size=++Q.size,this;Q=this.__data__=new Rh(I)}return Q.set(A,B),this.size=Q.size,this}var Vh=Gh,yh=iI,Hh=sh,lh=oh,Sh=Ch,zh=hh,jh=Vh;function JQ(A){var B=this.__data__=new yh(A);this.size=B.size}JQ.prototype.clear=Hh,JQ.prototype.delete=lh,JQ.prototype.get=Sh,JQ.prototype.has=zh,JQ.prototype.set=jh;var Og=JQ,xh="__lodash_hash_undefined__";function Jh(A){return this.__data__.set(A,xh),this}var dh=Jh;function Th(A){return this.__data__.has(A)}var kh=Th,mh=fg,uh=dh,Kh=kh;function FI(A){var B=-1,Q=A==null?0:A.length;for(this.__data__=new mh;++B<Q;)this.add(A[B])}FI.prototype.add=FI.prototype.push=uh,FI.prototype.has=Kh;var fh=FI;function Wh(A,B){return A.has(B)}var ph=Wh,qh=fh,Zh=oc,Oh=ph,bh=1,Lh=2;function Xh(A,B,Q,I,g,e){var w=Q&bh,M=A.length,c=B.length;if(M!=c&&!(w&&c>M))return!1;var i=e.get(A),t=e.get(B);if(i&&t)return i==B&&t==A;var r=-1,F=!0,s=Q&Lh?new qh:void 0;for(e.set(A,B),e.set(B,A);++r<M;){var o=A[r],C=B[r];if(I)var a=w?I(C,o,r,B,A,e):I(o,C,r,A,B,e);if(a!==void 0){if(a)continue;F=!1;break}if(s){if(!Zh(B,function(Y,R){if(!Oh(s,R)&&(o===Y||g(o,Y,Q,I,e)))return s.push(R)})){F=!1;break}}else if(!(o===C||g(o,C,Q,I,e))){F=!1;break}}return e.delete(A),e.delete(B),F}var Yc=Xh,vh=tB,Ph=vh.Uint8Array,Cc=Ph;function _h(A){var B=-1,Q=Array(A.size);return A.forEach(function(I,g){Q[++B]=[g,I]}),Q}var $h=_h;function An(A){var B=-1,Q=Array(A.size);return A.forEach(function(I){Q[++B]=I}),Q}var Bn=An,ac=wI,hc=Cc,Qn=zQ,En=Yc,In=$h,gn=Bn,en=1,wn=2,Mn="[object Boolean]",cn="[object Date]",tn="[object Error]",rn="[object Map]",Fn="[object Number]",sn="[object RegExp]",Un="[object Set]",on="[object String]",Yn="[object Symbol]",Cn="[object ArrayBuffer]",an="[object DataView]",nc=ac?ac.prototype:void 0,bg=nc?nc.valueOf:void 0;function hn(A,B,Q,I,g,e,w){switch(Q){case an:if(A.byteLength!=B.byteLength||A.byteOffset!=B.byteOffset)return!1;A=A.buffer,B=B.buffer;case Cn:return!(A.byteLength!=B.byteLength||!e(new hc(A),new hc(B)));case Mn:case cn:case Fn:return Qn(+A,+B);case tn:return A.name==B.name&&A.message==B.message;case sn:case on:return A==B+"";case rn:var M=In;case Un:var c=I&en;if(M||(M=gn),A.size!=B.size&&!c)return!1;var i=w.get(A);if(i)return i==B;I|=wn,w.set(A,B);var t=En(M(A),M(B),I,g,e,w);return w.delete(A),t;case Yn:if(bg)return bg.call(A)==bg.call(B)}return!1}var nn=hn;function Nn(A,B){for(var Q=-1,I=B.length,g=A.length;++Q<I;)A[g+Q]=B[Q];return A}var Rn=Nn,Dn=Rn,Gn=vA;function Vn(A,B,Q){var I=B(A);return Gn(A)?I:Dn(I,Q(A))}var yn=Vn;function Hn(A,B){for(var Q=-1,I=A==null?0:A.length,g=0,e=[];++Q<I;){var w=A[Q];B(w,Q,A)&&(e[g++]=w)}return e}var ln=Hn;function Sn(){return[]}var zn=Sn,jn=ln,xn=zn,Jn=Object.prototype,dn=Jn.propertyIsEnumerable,Nc=Object.getOwnPropertySymbols,Tn=Nc?function(A){return A==null?[]:(A=Object(A),jn(Nc(A),function(B){return dn.call(A,B)}))}:xn,kn=Tn;function mn(A,B){for(var Q=-1,I=Array(A);++Q<A;)I[Q]=B(Q);return I}var un=mn,dQ={},Kn={get exports(){return dQ},set exports(A){dQ=A}};function fn(){return!1}var Wn=fn;(function(A,B){var Q=tB,I=Wn,g=B&&!B.nodeType&&B,e=g&&!0&&A&&!A.nodeType&&A,w=e&&e.exports===g,M=w?Q.Buffer:void 0,c=M?M.isBuffer:void 0,i=c||I;A.exports=i})(Kn,dQ);var pn=rB,qn=Zg,Zn=PA,On="[object Arguments]",bn="[object Array]",Ln="[object Boolean]",Xn="[object Date]",vn="[object Error]",Pn="[object Function]",_n="[object Map]",$n="[object Number]",AN="[object Object]",BN="[object RegExp]",QN="[object Set]",EN="[object String]",IN="[object WeakMap]",gN="[object ArrayBuffer]",eN="[object DataView]",wN="[object Float32Array]",MN="[object Float64Array]",cN="[object Int8Array]",iN="[object Int16Array]",tN="[object Int32Array]",rN="[object Uint8Array]",FN="[object Uint8ClampedArray]",sN="[object Uint16Array]",UN="[object Uint32Array]",iA={};iA[wN]=iA[MN]=iA[cN]=iA[iN]=iA[tN]=iA[rN]=iA[FN]=iA[sN]=iA[UN]=!0,iA[On]=iA[bn]=iA[gN]=iA[Ln]=iA[eN]=iA[Xn]=iA[vn]=iA[Pn]=iA[_n]=iA[$n]=iA[AN]=iA[BN]=iA[QN]=iA[EN]=iA[IN]=!1;function oN(A){return Zn(A)&&qn(A.length)&&!!iA[pn(A)]}var YN=oN,CN=YN,aN=Fc,Rc=hE,Dc=Rc&&Rc.isTypedArray,hN=Dc?aN(Dc):CN,Lg=hN,nN=un,NN=pg,RN=vA,DN=dQ,GN=qg,VN=Lg,yN=Object.prototype,HN=yN.hasOwnProperty;function lN(A,B){var Q=RN(A),I=!Q&&NN(A),g=!Q&&!I&&DN(A),e=!Q&&!I&&!g&&VN(A),w=Q||I||g||e,M=w?nN(A.length,String):[],c=M.length;for(var i in A)(B||HN.call(A,i))&&!(w&&(i=="length"||g&&(i=="offset"||i=="parent")||e&&(i=="buffer"||i=="byteLength"||i=="byteOffset")||GN(i,c)))&&M.push(i);return M}var Gc=lN,SN=Object.prototype;function zN(A){var B=A&&A.constructor,Q=typeof B=="function"&&B.prototype||SN;return A===Q}var Xg=zN;function jN(A,B){return function(Q){return A(B(Q))}}var Vc=jN,xN=Vc,JN=xN(Object.keys,Object),dN=JN,TN=Xg,kN=dN,mN=Object.prototype,uN=mN.hasOwnProperty;function KN(A){if(!TN(A))return kN(A);var B=[];for(var Q in Object(A))uN.call(A,Q)&&Q!="constructor"&&B.push(Q);return B}var fN=KN,WN=iQ,pN=Zg;function qN(A){return A!=null&&pN(A.length)&&!WN(A)}var nE=qN,ZN=Gc,ON=fN,bN=nE;function LN(A){return bN(A)?ZN(A):ON(A)}var vg=LN,XN=yn,vN=kn,PN=vg;function _N(A){return XN(A,PN,vN)}var $N=_N,yc=$N,AR=1,BR=Object.prototype,QR=BR.hasOwnProperty;function ER(A,B,Q,I,g,e){var w=Q&AR,M=yc(A),c=M.length,i=yc(B),t=i.length;if(c!=t&&!w)return!1;for(var r=c;r--;){var F=M[r];if(!(w?F in B:QR.call(B,F)))return!1}var s=e.get(A),o=e.get(B);if(s&&o)return s==B&&o==A;var C=!0;e.set(A,B),e.set(B,A);for(var a=w;++r<c;){F=M[r];var Y=A[F],R=B[F];if(I)var n=w?I(R,Y,F,B,A,e):I(Y,R,F,A,B,e);if(!(n===void 0?Y===R||g(Y,R,Q,I,e):n)){C=!1;break}a||(a=F=="constructor")}if(C&&!a){var h=A.constructor,D=B.constructor;h!=D&&"constructor"in A&&"constructor"in B&&!(typeof h=="function"&&h instanceof h&&typeof D=="function"&&D instanceof D)&&(C=!1)}return e.delete(A),e.delete(B),C}var IR=ER,gR=tQ,eR=tB,wR=gR(eR,"DataView"),MR=wR,cR=tQ,iR=tB,tR=cR(iR,"Promise"),rR=tR,FR=tQ,sR=tB,UR=FR(sR,"Set"),oR=UR,YR=tQ,CR=tB,aR=YR(CR,"WeakMap"),hR=aR,Pg=MR,_g=Kg,$g=rR,Ae=oR,Be=hR,Hc=rB,TQ=Ac,lc="[object Map]",nR="[object Object]",Sc="[object Promise]",zc="[object Set]",jc="[object WeakMap]",xc="[object DataView]",NR=TQ(Pg),RR=TQ(_g),DR=TQ($g),GR=TQ(Ae),VR=TQ(Be),rQ=Hc;(Pg&&rQ(new Pg(new ArrayBuffer(1)))!=xc||_g&&rQ(new _g)!=lc||$g&&rQ($g.resolve())!=Sc||Ae&&rQ(new Ae)!=zc||Be&&rQ(new Be)!=jc)&&(rQ=function(A){var B=Hc(A),Q=B==nR?A.constructor:void 0,I=Q?TQ(Q):"";if(I)switch(I){case NR:return xc;case RR:return lc;case DR:return Sc;case GR:return zc;case VR:return jc}return B});var yR=rQ,Qe=Og,HR=Yc,lR=nn,SR=IR,Jc=yR,dc=vA,Tc=dQ,zR=Lg,jR=1,kc="[object Arguments]",mc="[object Array]",sI="[object Object]",xR=Object.prototype,uc=xR.hasOwnProperty;function JR(A,B,Q,I,g,e){var w=dc(A),M=dc(B),c=w?mc:Jc(A),i=M?mc:Jc(B);c=c==kc?sI:c,i=i==kc?sI:i;var t=c==sI,r=i==sI,F=c==i;if(F&&Tc(A)){if(!Tc(B))return!1;w=!0,t=!1}if(F&&!t)return e||(e=new Qe),w||zR(A)?HR(A,B,Q,I,g,e):lR(A,B,c,Q,I,g,e);if(!(Q&jR)){var s=t&&uc.call(A,"__wrapped__"),o=r&&uc.call(B,"__wrapped__");if(s||o){var C=s?A.value():A,a=o?B.value():B;return e||(e=new Qe),g(C,a,Q,I,e)}}return F?(e||(e=new Qe),SR(A,B,Q,I,g,e)):!1}var dR=JR,TR=dR,Kc=PA;function fc(A,B,Q,I,g){return A===B?!0:A==null||B==null||!Kc(A)&&!Kc(B)?A!==A&&B!==B:TR(A,B,Q,I,fc,g)}var Wc=fc,kR=Og,mR=Wc,uR=1,KR=2;function fR(A,B,Q,I){var g=Q.length,e=g,w=!I;if(A==null)return!e;for(A=Object(A);g--;){var M=Q[g];if(w&&M[2]?M[1]!==A[M[0]]:!(M[0]in A))return!1}for(;++g<e;){M=Q[g];var c=M[0],i=A[c],t=M[1];if(w&&M[2]){if(i===void 0&&!(c in A))return!1}else{var r=new kR;if(I)var F=I(i,t,c,A,B,r);if(!(F===void 0?mR(t,i,uR|KR,I,r):F))return!1}}return!0}var WR=fR,pR=NB;function qR(A){return A===A&&!pR(A)}var pc=qR,ZR=pc,OR=vg;function bR(A){for(var B=OR(A),Q=B.length;Q--;){var I=B[Q],g=A[I];B[Q]=[I,g,ZR(g)]}return B}var LR=bR;function XR(A,B){return function(Q){return Q==null?!1:Q[A]===B&&(B!==void 0||A in Object(Q))}}var qc=XR,vR=WR,PR=LR,_R=qc;function $R(A){var B=PR(A);return B.length==1&&B[0][2]?_R(B[0][0],B[0][1]):function(Q){return Q===A||vR(Q,A,B)}}var AD=$R,BD=Mc,QD=rI;function ED(A,B){B=BD(B,A);for(var Q=0,I=B.length;A!=null&&Q<I;)A=A[QD(B[Q++])];return Q&&Q==I?A:void 0}var Zc=ED,ID=Zc;function gD(A,B,Q){var I=A==null?void 0:ID(A,B);return I===void 0?Q:I}var FQ=gD;function eD(A,B){return A!=null&&B in Object(A)}var wD=eD,MD=wD,cD=tc;function iD(A,B){return A!=null&&cD(A,B,MD)}var tD=iD,rD=Wc,FD=FQ,sD=tD,UD=mg,oD=pc,YD=qc,CD=rI,aD=1,hD=2;function nD(A,B){return UD(A)&&oD(B)?YD(CD(A),B):function(Q){var I=FD(Q,A);return I===void 0&&I===B?sD(Q,A):rD(B,I,aD|hD)}}var ND=nD;function RD(A){return A}var Ee=RD;function DD(A){return function(B){return B?.[A]}}var GD=DD,VD=Zc;function yD(A){return function(B){return VD(B,A)}}var HD=yD,lD=GD,SD=HD,zD=mg,jD=rI;function xD(A){return zD(A)?lD(jD(A)):SD(A)}var JD=xD,dD=AD,TD=ND,kD=Ee,mD=vA,uD=JD;function KD(A){return typeof A=="function"?A:A==null?kD:typeof A=="object"?mD(A)?TD(A[0],A[1]):dD(A):uD(A)}var Oc=KD;function fD(A){return function(B,Q,I){for(var g=-1,e=Object(B),w=I(B),M=w.length;M--;){var c=w[A?M:++g];if(Q(e[c],c,e)===!1)break}return B}}var WD=fD,pD=WD,qD=pD(),bc=qD,ZD=bc,OD=vg;function bD(A,B){return A&&ZD(A,B,OD)}var Lc=bD,LD=nE;function XD(A,B){return function(Q,I){if(Q==null)return Q;if(!LD(Q))return A(Q,I);for(var g=Q.length,e=B?g:-1,w=Object(Q);(B?e--:++e<g)&&I(w[e],e,w)!==!1;);return Q}}var vD=XD,PD=Lc,_D=vD,$D=_D(PD),AG=$D,BG=AG;function QG(A,B){var Q;return BG(A,function(I,g,e){return Q=B(I,g,e),!Q}),!!Q}var EG=QG,IG=zQ,gG=nE,eG=qg,wG=NB;function MG(A,B,Q){if(!wG(Q))return!1;var I=typeof B;return(I=="number"?gG(Q)&&eG(B,Q.length):I=="string"&&B in Q)?IG(Q[B],A):!1}var Ie=MG,cG=oc,iG=Oc,tG=EG,rG=vA,FG=Ie;function sG(A,B,Q){var I=rG(A)?cG:tG;return Q&&FG(A,B,Q)&&(B=void 0),I(A,iG(B))}var UG=sG,oG=rB,YG=PA,CG="[object Boolean]";function aG(A){return A===!0||A===!1||YG(A)&&oG(A)==CG}var hG=aG,nG=rB,NG=PA,RG="[object Number]";function DG(A){return typeof A=="number"||NG(A)&&nG(A)==RG}var _A=DG,GG=tQ,VG=(function(){try{var A=GG(Object,"defineProperty");return A({},"",{}),A}catch{}})(),Xc=VG,vc=Xc;function yG(A,B,Q){B=="__proto__"&&vc?vc(A,B,{configurable:!0,enumerable:!0,value:Q,writable:!0}):A[B]=Q}var UI=yG,HG=UI,lG=zQ,SG=Object.prototype,zG=SG.hasOwnProperty;function jG(A,B,Q){var I=A[B];(!(zG.call(A,B)&&lG(I,Q))||Q===void 0&&!(B in A))&&HG(A,B,Q)}var xG=jG,JG=UI,dG=Lc,TG=Oc;function kG(A,B){var Q={};return B=TG(B),dG(A,function(I,g,e){JG(Q,g,B(I,g,e))}),Q}var mG=kG;function uG(A,B,Q){switch(Q.length){case 0:return A.call(B);case 1:return A.call(B,Q[0]);case 2:return A.call(B,Q[0],Q[1]);case 3:return A.call(B,Q[0],Q[1],Q[2])}return A.apply(B,Q)}var Pc=uG,KG=Pc,_c=Math.max;function fG(A,B,Q){return B=_c(B===void 0?A.length-1:B,0),function(){for(var I=arguments,g=-1,e=_c(I.length-B,0),w=Array(e);++g<e;)w[g]=I[B+g];g=-1;for(var M=Array(B+1);++g<B;)M[g]=I[g];return M[B]=Q(w),KG(A,this,M)}}var WG=fG;function pG(A){return function(){return A}}var qG=pG,ZG=qG,$c=Xc,OG=Ee,bG=$c?function(A,B){return $c(A,"toString",{configurable:!0,enumerable:!1,value:ZG(B),writable:!0})}:OG,LG=bG,XG=800,vG=16,PG=Date.now;function _G(A){var B=0,Q=0;return function(){var I=PG(),g=vG-(I-Q);if(Q=I,g>0){if(++B>=XG)return arguments[0]}else B=0;return A.apply(void 0,arguments)}}var $G=_G,AV=LG,BV=$G,QV=BV(AV),EV=QV,IV=Ee,gV=WG,eV=EV;function wV(A,B){return eV(gV(A,B,IV),A+"")}var ge=wV;function MV(A){var B=[];if(A!=null)for(var Q in Object(A))B.push(Q);return B}var cV=MV,iV=NB,tV=Xg,rV=cV,FV=Object.prototype,sV=FV.hasOwnProperty;function UV(A){if(!iV(A))return rV(A);var B=tV(A),Q=[];for(var I in A)I=="constructor"&&(B||!sV.call(A,I))||Q.push(I);return Q}var oV=UV,YV=Gc,CV=oV,aV=nE;function hV(A){return aV(A)?YV(A,!0):CV(A)}var ee=hV,nV=ge,NV=zQ,RV=Ie,DV=ee,Ai=Object.prototype,GV=Ai.hasOwnProperty,VV=nV(function(A,B){A=Object(A);var Q=-1,I=B.length,g=I>2?B[2]:void 0;for(g&&RV(B[0],B[1],g)&&(I=1);++Q<I;)for(var e=B[Q],w=DV(e),M=-1,c=w.length;++M<c;){var i=w[M],t=A[i];(t===void 0||NV(t,Ai[i])&&!GV.call(A,i))&&(A[i]=e[i])}return A}),Bi=VV,yV=UI,HV=zQ;function lV(A,B,Q){(Q!==void 0&&!HV(A[B],Q)||Q===void 0&&!(B in A))&&yV(A,B,Q)}var Qi=lV,oI={},SV={get exports(){return oI},set exports(A){oI=A}};(function(A,B){var Q=tB,I=B&&!B.nodeType&&B,g=I&&!0&&A&&!A.nodeType&&A,e=g&&g.exports===I,w=e?Q.Buffer:void 0,M=w?w.allocUnsafe:void 0;function c(i,t){if(t)return i.slice();var r=i.length,F=M?M(r):new i.constructor(r);return i.copy(F),F}A.exports=c})(SV,oI);var Ei=Cc;function zV(A){var B=new A.constructor(A.byteLength);return new Ei(B).set(new Ei(A)),B}var jV=zV,xV=jV;function JV(A,B){var Q=B?xV(A.buffer):A.buffer;return new A.constructor(Q,A.byteOffset,A.length)}var dV=JV;function TV(A,B){var Q=-1,I=A.length;for(B||(B=Array(I));++Q<I;)B[Q]=A[Q];return B}var kV=TV,mV=NB,Ii=Object.create,uV=(function(){function A(){}return function(B){if(!mV(B))return{};if(Ii)return Ii(B);A.prototype=B;var Q=new A;return A.prototype=void 0,Q}})(),KV=uV,fV=Vc,WV=fV(Object.getPrototypeOf,Object),gi=WV,pV=KV,qV=gi,ZV=Xg;function OV(A){return typeof A.constructor=="function"&&!ZV(A)?pV(qV(A)):{}}var bV=OV,LV=nE,XV=PA;function vV(A){return XV(A)&&LV(A)}var PV=vV,_V=rB,$V=gi,Ay=PA,By="[object Object]",Qy=Function.prototype,Ey=Object.prototype,ei=Qy.toString,Iy=Ey.hasOwnProperty,gy=ei.call(Object);function ey(A){if(!Ay(A)||_V(A)!=By)return!1;var B=$V(A);if(B===null)return!0;var Q=Iy.call(B,"constructor")&&B.constructor;return typeof Q=="function"&&Q instanceof Q&&ei.call(Q)==gy}var wy=ey;function My(A,B){if(!(B==="constructor"&&typeof A[B]=="function")&&B!="__proto__")return A[B]}var wi=My,cy=xG,iy=UI;function ty(A,B,Q,I){var g=!Q;Q||(Q={});for(var e=-1,w=B.length;++e<w;){var M=B[e],c=I?I(Q[M],A[M],M,Q,A):void 0;c===void 0&&(c=A[M]),g?iy(Q,M,c):cy(Q,M,c)}return Q}var ry=ty,Fy=ry,sy=ee;function Uy(A){return Fy(A,sy(A))}var oy=Uy,Mi=Qi,Yy=oI,Cy=dV,ay=kV,hy=bV,ci=pg,ii=vA,ny=PV,Ny=dQ,Ry=iQ,Dy=NB,Gy=wy,Vy=Lg,ti=wi,yy=oy;function Hy(A,B,Q,I,g,e,w){var M=ti(A,Q),c=ti(B,Q),i=w.get(c);if(i){Mi(A,Q,i);return}var t=e?e(M,c,Q+"",A,B,w):void 0,r=t===void 0;if(r){var F=ii(c),s=!F&&Ny(c),o=!F&&!s&&Vy(c);t=c,F||s||o?ii(M)?t=M:ny(M)?t=ay(M):s?(r=!1,t=Yy(c,!0)):o?(r=!1,t=Cy(c,!0)):t=[]:Gy(c)||ci(c)?(t=M,ci(M)?t=yy(M):(!Dy(M)||Ry(M))&&(t=hy(c))):r=!1}r&&(w.set(c,t),g(t,c,I,e,w),w.delete(c)),Mi(A,Q,t)}var ly=Hy,Sy=Og,zy=Qi,jy=bc,xy=ly,Jy=NB,dy=ee,Ty=wi;function ri(A,B,Q,I,g){A!==B&&jy(B,function(e,w){if(g||(g=new Sy),Jy(e))xy(A,B,w,Q,ri,I,g);else{var M=I?I(Ty(A,w),e,w+"",A,B,g):void 0;M===void 0&&(M=e),zy(A,w,M)}},dy)}var Fi=ri,ky=Fi,si=NB;function Ui(A,B,Q,I,g,e){return si(A)&&si(B)&&(e.set(B,A),ky(A,B,void 0,Ui,e),e.delete(B)),A}var my=Ui,uy=ge,Ky=Ie;function fy(A){return uy(function(B,Q){var I=-1,g=Q.length,e=g>1?Q[g-1]:void 0,w=g>2?Q[2]:void 0;for(e=A.length>3&&typeof e=="function"?(g--,e):void 0,w&&Ky(Q[0],Q[1],w)&&(e=g<3?void 0:e,g=1),B=Object(B);++I<g;){var M=Q[I];M&&A(B,M,I,e)}return B})}var Wy=fy,py=Fi,qy=Wy,Zy=qy(function(A,B,Q,I){py(A,B,Q,I)}),Oy=Zy,by=Pc,Ly=ge,Xy=my,vy=Oy,Py=Ly(function(A){return A.push(void 0,Xy),by(vy,void 0,A)}),NE=Py;function _y(A){return A&&A.length?A[0]:void 0}var oi=_y;function $y(A){var B=A==null?0:A.length;return B?A[B-1]:void 0}var kQ=$y;const AH=A=>Object.prototype.toString.call(A).slice(8,-1),mQ=A=>gh(A)&&!isNaN(A.getTime()),RB=A=>AH(A)==="Object",Yi=rc,Ci=(A,B)=>UG(B,Q=>rc(A,Q)),wA=(A,B,Q="0")=>{for(A=A!=null?String(A):"",B=B||2;A.length<B;)A=`${Q}${A}`;return A},KA=A=>Array.isArray(A),DB=A=>KA(A)&&A.length>0,YI=A=>A==null?null:document&&FB(A)?document.querySelector(A):A.$el??A,qB=(A,B,Q,I=void 0)=>{A.removeEventListener(B,Q,I)},ZB=(A,B,Q,I=void 0)=>(A.addEventListener(B,Q,I),()=>qB(A,B,Q,I)),CI=(A,B)=>!!A&&!!B&&(A===B||A.contains(B)),aI=(A,B)=>{(A.key===" "||A.key==="Enter")&&(B(A),A.preventDefault())},ai=(A,...B)=>{const Q={};let I;for(I in A)B.includes(I)||(Q[I]=A[I]);return Q},hi=(A,B)=>{const Q={};return B.forEach(I=>{I in A&&(Q[I]=A[I])}),Q};function BH(A,B,Q){return Math.min(Math.max(A,B),Q)}var hI={},QH={get exports(){return hI},set exports(A){hI=A}};(function(A,B){Object.defineProperty(B,"__esModule",{value:!0}),B.default=Q;function Q(I){if(I===null||I===!0||I===!1)return NaN;var g=Number(I);return isNaN(g)?g:g<0?Math.ceil(g):Math.floor(g)}A.exports=B.default})(QH,hI);const EH=bM(hI);var nI={},IH={get exports(){return nI},set exports(A){nI=A}};(function(A,B){Object.defineProperty(B,"__esModule",{value:!0}),B.default=Q;function Q(I){var g=new Date(Date.UTC(I.getFullYear(),I.getMonth(),I.getDate(),I.getHours(),I.getMinutes(),I.getSeconds(),I.getMilliseconds()));return g.setUTCFullYear(I.getFullYear()),I.getTime()-g.getTime()}A.exports=B.default})(IH,nI);const ni=bM(nI);function gH(A,B){var Q=cH(B);return Q.formatToParts?wH(Q,A):MH(Q,A)}var eH={year:0,month:1,day:2,hour:3,minute:4,second:5};function wH(A,B){try{for(var Q=A.formatToParts(B),I=[],g=0;g<Q.length;g++){var e=eH[Q[g].type];e>=0&&(I[e]=parseInt(Q[g].value,10))}return I}catch(w){if(w instanceof RangeError)return[NaN];throw w}}function MH(A,B){var Q=A.format(B).replace(/\u200E/g,""),I=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(Q);return[I[3],I[1],I[2],I[4],I[5],I[6]]}var we={};function cH(A){if(!we[A]){var B=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),Q=B==="06/25/2014, 00:00:00"||B==="06/25/2014 00:00:00";we[A]=Q?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:A,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:A,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return we[A]}function Ni(A,B,Q,I,g,e,w){var M=new Date(0);return M.setUTCFullYear(A,B,Q),M.setUTCHours(I,g,e,w),M}var Ri=36e5,iH=6e4,Me={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function tH(A,B,Q){var I,g;if(!A||(I=Me.timezoneZ.exec(A),I))return 0;var e;if(I=Me.timezoneHH.exec(A),I)return e=parseInt(I[1],10),Di(e)?-(e*Ri):NaN;if(I=Me.timezoneHHMM.exec(A),I){e=parseInt(I[1],10);var w=parseInt(I[2],10);return Di(e,w)?(g=Math.abs(e)*Ri+w*iH,e>0?-g:g):NaN}if(sH(A)){B=new Date(B||Date.now());var M=rH(B),c=ce(M,A),i=FH(B,c,A);return-i}return NaN}function rH(A){return Ni(A.getFullYear(),A.getMonth(),A.getDate(),A.getHours(),A.getMinutes(),A.getSeconds(),A.getMilliseconds())}function ce(A,B){var Q=gH(A,B),I=Ni(Q[0],Q[1]-1,Q[2],Q[3]%24,Q[4],Q[5],0).getTime(),g=A.getTime(),e=g%1e3;return g-=e>=0?e:1e3+e,I-g}function FH(A,B,Q){var I=A.getTime(),g=I-B,e=ce(new Date(g),Q);if(B===e)return B;g-=e-B;var w=ce(new Date(g),Q);return e===w?e:Math.max(e,w)}function Di(A,B){return-23<=A&&A<=23&&(B==null||0<=B&&B<=59)}var Gi={};function sH(A){if(Gi[A])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:A}),Gi[A]=!0,!0}catch{return!1}}var UH=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;const oH=UH;var ie=36e5,Vi=6e4,YH=2,GA={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:oH};function CH(A,B){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(A===null)return new Date(NaN);var Q=B||{},I=Q.additionalDigits==null?YH:EH(Q.additionalDigits);if(I!==2&&I!==1&&I!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(A instanceof Date||typeof A=="object"&&Object.prototype.toString.call(A)==="[object Date]")return new Date(A.getTime());if(typeof A=="number"||Object.prototype.toString.call(A)==="[object Number]")return new Date(A);if(!(typeof A=="string"||Object.prototype.toString.call(A)==="[object String]"))return new Date(NaN);var g=aH(A),e=hH(g.date,I),w=e.year,M=e.restDateString,c=nH(M,w);if(isNaN(c))return new Date(NaN);if(c){var i=c.getTime(),t=0,r;if(g.time&&(t=NH(g.time),isNaN(t)))return new Date(NaN);if(g.timeZone||Q.timeZone){if(r=tH(g.timeZone||Q.timeZone,new Date(i+t)),isNaN(r))return new Date(NaN)}else r=ni(new Date(i+t)),r=ni(new Date(i+t+r));return new Date(i+t+r)}else return new Date(NaN)}function aH(A){var B={},Q=GA.dateTimePattern.exec(A),I;if(Q?(B.date=Q[1],I=Q[3]):(Q=GA.datePattern.exec(A),Q?(B.date=Q[1],I=Q[2]):(B.date=null,I=A)),I){var g=GA.timeZone.exec(I);g?(B.time=I.replace(g[1],""),B.timeZone=g[1].trim()):B.time=I}return B}function hH(A,B){var Q=GA.YYY[B],I=GA.YYYYY[B],g;if(g=GA.YYYY.exec(A)||I.exec(A),g){var e=g[1];return{year:parseInt(e,10),restDateString:A.slice(e.length)}}if(g=GA.YY.exec(A)||Q.exec(A),g){var w=g[1];return{year:parseInt(w,10)*100,restDateString:A.slice(w.length)}}return{year:null}}function nH(A,B){if(B===null)return null;var Q,I,g,e;if(A.length===0)return I=new Date(0),I.setUTCFullYear(B),I;if(Q=GA.MM.exec(A),Q)return I=new Date(0),g=parseInt(Q[1],10)-1,li(B,g)?(I.setUTCFullYear(B,g),I):new Date(NaN);if(Q=GA.DDD.exec(A),Q){I=new Date(0);var w=parseInt(Q[1],10);return GH(B,w)?(I.setUTCFullYear(B,0,w),I):new Date(NaN)}if(Q=GA.MMDD.exec(A),Q){I=new Date(0),g=parseInt(Q[1],10)-1;var M=parseInt(Q[2],10);return li(B,g,M)?(I.setUTCFullYear(B,g,M),I):new Date(NaN)}if(Q=GA.Www.exec(A),Q)return e=parseInt(Q[1],10)-1,Si(B,e)?yi(B,e):new Date(NaN);if(Q=GA.WwwD.exec(A),Q){e=parseInt(Q[1],10)-1;var c=parseInt(Q[2],10)-1;return Si(B,e,c)?yi(B,e,c):new Date(NaN)}return null}function NH(A){var B,Q,I;if(B=GA.HH.exec(A),B)return Q=parseFloat(B[1].replace(",",".")),te(Q)?Q%24*ie:NaN;if(B=GA.HHMM.exec(A),B)return Q=parseInt(B[1],10),I=parseFloat(B[2].replace(",",".")),te(Q,I)?Q%24*ie+I*Vi:NaN;if(B=GA.HHMMSS.exec(A),B){Q=parseInt(B[1],10),I=parseInt(B[2],10);var g=parseFloat(B[3].replace(",","."));return te(Q,I,g)?Q%24*ie+I*Vi+g*1e3:NaN}return null}function yi(A,B,Q){B=B||0,Q=Q||0;var I=new Date(0);I.setUTCFullYear(A,0,4);var g=I.getUTCDay()||7,e=B*7+Q+1-g;return I.setUTCDate(I.getUTCDate()+e),I}var RH=[31,28,31,30,31,30,31,31,30,31,30,31],DH=[31,29,31,30,31,30,31,31,30,31,30,31];function Hi(A){return A%400===0||A%4===0&&A%100!==0}function li(A,B,Q){if(B<0||B>11)return!1;if(Q!=null){if(Q<1)return!1;var I=Hi(A);if(I&&Q>DH[B]||!I&&Q>RH[B])return!1}return!0}function GH(A,B){if(B<1)return!1;var Q=Hi(A);return!(Q&&B>366||!Q&&B>365)}function Si(A,B,Q){return!(B<0||B>52||Q!=null&&(Q<0||Q>6))}function te(A,B,Q){return!(A!=null&&(A<0||A>=25)||B!=null&&(B<0||B>=60)||Q!=null&&(Q<0||Q>=60))}function NA(A,B){if(B.length<A)throw new TypeError(A+" argument"+(A>1?"s":"")+" required, but only "+B.length+" present")}function NI(A){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?NI=function(Q){return typeof Q}:NI=function(Q){return Q&&typeof Symbol=="function"&&Q.constructor===Symbol&&Q!==Symbol.prototype?"symbol":typeof Q},NI(A)}function GB(A){NA(1,arguments);var B=Object.prototype.toString.call(A);return A instanceof Date||NI(A)==="object"&&B==="[object Date]"?new Date(A.getTime()):typeof A=="number"||B==="[object Number]"?new Date(A):((typeof A=="string"||B==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function uQ(A){if(A===null||A===!0||A===!1)return NaN;var B=Number(A);return isNaN(B)?B:B<0?Math.ceil(B):Math.floor(B)}var VH={};function re(){return VH}function sQ(A,B){var Q,I,g,e,w,M,c,i;NA(1,arguments);var t=re(),r=uQ((Q=(I=(g=(e=B?.weekStartsOn)!==null&&e!==void 0?e:B==null||(w=B.locale)===null||w===void 0||(M=w.options)===null||M===void 0?void 0:M.weekStartsOn)!==null&&g!==void 0?g:t.weekStartsOn)!==null&&I!==void 0?I:(c=t.locale)===null||c===void 0||(i=c.options)===null||i===void 0?void 0:i.weekStartsOn)!==null&&Q!==void 0?Q:0);if(!(r>=0&&r<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var F=GB(A),s=F.getDay(),o=(s<r?7:0)+s-r;return F.setDate(F.getDate()-o),F.setHours(0,0,0,0),F}function zi(A){var B=new Date(Date.UTC(A.getFullYear(),A.getMonth(),A.getDate(),A.getHours(),A.getMinutes(),A.getSeconds(),A.getMilliseconds()));return B.setUTCFullYear(A.getFullYear()),A.getTime()-B.getTime()}var yH=6048e5;function HH(A,B,Q){NA(2,arguments);var I=sQ(A,Q),g=sQ(B,Q),e=I.getTime()-zi(I),w=g.getTime()-zi(g);return Math.round((e-w)/yH)}function lH(A){NA(1,arguments);var B=GB(A),Q=B.getMonth();return B.setFullYear(B.getFullYear(),Q+1,0),B.setHours(0,0,0,0),B}function SH(A){NA(1,arguments);var B=GB(A);return B.setDate(1),B.setHours(0,0,0,0),B}function zH(A,B){return NA(1,arguments),HH(lH(A),SH(A),B)+1}function jH(A,B){var Q,I,g,e,w,M,c,i;NA(1,arguments);var t=GB(A),r=t.getFullYear(),F=re(),s=uQ((Q=(I=(g=(e=B?.firstWeekContainsDate)!==null&&e!==void 0?e:B==null||(w=B.locale)===null||w===void 0||(M=w.options)===null||M===void 0?void 0:M.firstWeekContainsDate)!==null&&g!==void 0?g:F.firstWeekContainsDate)!==null&&I!==void 0?I:(c=F.locale)===null||c===void 0||(i=c.options)===null||i===void 0?void 0:i.firstWeekContainsDate)!==null&&Q!==void 0?Q:1);if(!(s>=1&&s<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var o=new Date(0);o.setFullYear(r+1,0,s),o.setHours(0,0,0,0);var C=sQ(o,B),a=new Date(0);a.setFullYear(r,0,s),a.setHours(0,0,0,0);var Y=sQ(a,B);return t.getTime()>=C.getTime()?r+1:t.getTime()>=Y.getTime()?r:r-1}function xH(A,B){var Q,I,g,e,w,M,c,i;NA(1,arguments);var t=re(),r=uQ((Q=(I=(g=(e=B?.firstWeekContainsDate)!==null&&e!==void 0?e:B==null||(w=B.locale)===null||w===void 0||(M=w.options)===null||M===void 0?void 0:M.firstWeekContainsDate)!==null&&g!==void 0?g:t.firstWeekContainsDate)!==null&&I!==void 0?I:(c=t.locale)===null||c===void 0||(i=c.options)===null||i===void 0?void 0:i.firstWeekContainsDate)!==null&&Q!==void 0?Q:1),F=jH(A,B),s=new Date(0);s.setFullYear(F,0,r),s.setHours(0,0,0,0);var o=sQ(s,B);return o}var JH=6048e5;function dH(A,B){NA(1,arguments);var Q=GB(A),I=sQ(Q,B).getTime()-xH(Q,B).getTime();return Math.round(I/JH)+1}function RI(A){return NA(1,arguments),sQ(A,{weekStartsOn:1})}function TH(A){NA(1,arguments);var B=GB(A),Q=B.getFullYear(),I=new Date(0);I.setFullYear(Q+1,0,4),I.setHours(0,0,0,0);var g=RI(I),e=new Date(0);e.setFullYear(Q,0,4),e.setHours(0,0,0,0);var w=RI(e);return B.getTime()>=g.getTime()?Q+1:B.getTime()>=w.getTime()?Q:Q-1}function kH(A){NA(1,arguments);var B=TH(A),Q=new Date(0);Q.setFullYear(B,0,4),Q.setHours(0,0,0,0);var I=RI(Q);return I}var mH=6048e5;function uH(A){NA(1,arguments);var B=GB(A),Q=RI(B).getTime()-kH(B).getTime();return Math.round(Q/mH)+1}function VA(A,B){NA(2,arguments);var Q=GB(A),I=uQ(B);return isNaN(I)?new Date(NaN):(I&&Q.setDate(Q.getDate()+I),Q)}function DI(A,B){NA(2,arguments);var Q=GB(A),I=uQ(B);if(isNaN(I))return new Date(NaN);if(!I)return Q;var g=Q.getDate(),e=new Date(Q.getTime());e.setMonth(Q.getMonth()+I+1,0);var w=e.getDate();return g>=w?e:(Q.setFullYear(e.getFullYear(),e.getMonth(),g),Q)}function ji(A,B){NA(2,arguments);var Q=uQ(B);return DI(A,Q*12)}const KH={daily:["year","month","day"],weekly:["year","month","week"],monthly:["year","month"]};function fH({monthComps:A,prevMonthComps:B,nextMonthComps:Q},I){const g=[],{firstDayOfWeek:e,firstWeekday:w,isoWeeknumbers:M,weeknumbers:c,numDays:i,numWeeks:t}=A,r=w+(w<e?RA:0)-e;let F=!0,s=!1,o=!1,C=0;const a=new Intl.DateTimeFormat(I.id,{weekday:"long",year:"numeric",month:"short",day:"numeric"});let Y=B.numDays-r+1,R=B.numDays-Y+1,n=Math.floor((Y-1)/RA+1),h=1,D=B.numWeeks,S=1,V=B.month,J=B.year;const u=new Date,y=u.getDate(),j=u.getMonth()+1,z=u.getFullYear();for(let k=1;k<=Ul;k++){for(let q=1,m=e;q<=RA;q++,m+=m===RA?1-RA:1){F&&m===w&&(Y=1,R=A.numDays,n=Math.floor((Y-1)/RA+1),h=Math.floor((i-Y)/RA+1),D=1,S=t,V=A.month,J=A.year,F=!1,s=!0);const Z=I.getDateFromParams(J,V,Y,0,0,0,0),L=I.getDateFromParams(J,V,Y,12,0,0,0),IA=I.getDateFromParams(J,V,Y,23,59,59,999),$=Z,l=`${wA(J,4)}-${wA(V,2)}-${wA(Y,2)}`,AA=q,W=RA-q,oA=c[k-1],gA=M[k-1],YA=Y===y&&V===j&&J===z,hA=s&&Y===1,CA=s&&Y===i,nA=k===1,JA=k===t,TB=q===1,EB=q===RA,ZA=vi(J,V,Y);g.push({locale:I,id:l,position:++C,label:Y.toString(),ariaLabel:a.format(new Date(J,V-1,Y)),day:Y,dayFromEnd:R,weekday:m,weekdayPosition:AA,weekdayPositionFromEnd:W,weekdayOrdinal:n,weekdayOrdinalFromEnd:h,week:D,weekFromEnd:S,weekPosition:k,weeknumber:oA,isoWeeknumber:gA,month:V,year:J,date:$,startDate:Z,endDate:IA,noonDate:L,dayIndex:ZA,isToday:YA,isFirstDay:hA,isLastDay:CA,isDisabled:!s,isFocusable:!s,isFocused:!1,inMonth:s,inPrevMonth:F,inNextMonth:o,onTop:nA,onBottom:JA,onLeft:TB,onRight:EB,classes:[`id-${l}`,`day-${Y}`,`day-from-end-${R}`,`weekday-${m}`,`weekday-position-${AA}`,`weekday-ordinal-${n}`,`weekday-ordinal-from-end-${h}`,`week-${D}`,`week-from-end-${S}`,{"is-today":YA,"is-first-day":hA,"is-last-day":CA,"in-month":s,"in-prev-month":F,"in-next-month":o,"on-top":nA,"on-bottom":JA,"on-left":TB,"on-right":EB}]}),s&&CA?(s=!1,o=!0,Y=1,R=i,n=1,h=Math.floor((i-Y)/RA+1),D=1,S=Q.numWeeks,V=Q.month,J=Q.year):(Y++,R--,n=Math.floor((Y-1)/RA+1),h=Math.floor((i-Y)/RA+1))}D++,S--}return g}function WH(A,B,Q,I){const g=A.reduce((e,w,M)=>{const c=Math.floor(M/7);let i=e[c];return i||(i={id:`week-${c+1}`,title:"",week:w.week,weekPosition:w.weekPosition,weeknumber:w.weeknumber,isoWeeknumber:w.isoWeeknumber,weeknumberDisplay:B?w.weeknumber:Q?w.isoWeeknumber:void 0,days:[]},e[c]=i),i.days.push(w),e},Array(A.length/RA));return g.forEach(e=>{const w=e.days[0],M=e.days[e.days.length-1];w.month===M.month?e.title=`${I.formatDate(w.date,"MMMM YYYY")}`:w.year===M.year?e.title=`${I.formatDate(w.date,"MMM")} - ${I.formatDate(M.date,"MMM YYYY")}`:e.title=`${I.formatDate(w.date,"MMM YYYY")} - ${I.formatDate(M.date,"MMM YYYY")}`}),g}function pH(A,B){return A.days.map(Q=>({label:B.formatDate(Q.date,B.masks.weekdays),weekday:Q.weekday}))}function qH(A,B){return`${B}.${wA(A,2)}`}function xi(A,B,Q){return hi(Q.getDateParts(Q.toDate(A)),KH[B])}function Ji({day:A,week:B,month:Q,year:I},g,e,w){if(e==="daily"&&A){const M=new Date(I,Q-1,A),c=VA(M,g);return{day:c.getDate(),month:c.getMonth()+1,year:c.getFullYear()}}else if(e==="weekly"&&B){const c=w.getMonthParts(Q,I).firstDayOfMonth,i=VA(c,(B-1+g)*7),t=w.getDateParts(i);return{week:t.week,month:t.month,year:t.year}}else{const M=new Date(I,Q-1,1),c=DI(M,g);return{month:c.getMonth()+1,year:c.getFullYear()}}}function sB(A){return A!=null&&A.month!=null&&A.year!=null}function Fe(A,B){return!sB(A)||!sB(B)?!1:(A=A,B=B,A.year!==B.year?A.year<B.year:A.month&&B.month&&A.month!==B.month?A.month<B.month:A.week&&B.week&&A.week!==B.week?A.week<B.week:A.day&&B.day&&A.day!==B.day?A.day<B.day:!1)}function GI(A,B){return!sB(A)||!sB(B)?!1:(A=A,B=B,A.year!==B.year?A.year>B.year:A.month&&B.month&&A.month!==B.month?A.month>B.month:A.week&&B.week&&A.week!==B.week?A.week>B.week:A.day&&B.day&&A.day!==B.day?A.day>B.day:!1)}function ZH(A,B,Q){return(A||!1)&&!Fe(A,B)&&!GI(A,Q)}function OH(A,B){return!A&&B||A&&!B?!1:!A&&!B?!0:(A=A,B=B,A.year===B.year&&A.month===B.month&&A.week===B.week&&A.day===B.day)}function bH(A,B,Q,I){if(!sB(A)||!sB(B))return[];const g=[];for(;!GI(A,B);)g.push(A),A=Ji(A,1,Q,I);return g}function di(A){const{day:B,week:Q,month:I,year:g}=A;let e=`${g}-${wA(I,2)}`;return Q&&(e=`${e}-w${Q}`),B&&(e=`${e}-${wA(B,2)}`),e}function LH(A,B){const{month:Q,year:I,showWeeknumbers:g,showIsoWeeknumbers:e}=A,w=new Date(I,Q-1,15),M=B.getMonthParts(Q,I),c=B.getPrevMonthParts(Q,I),i=B.getNextMonthParts(Q,I),t=fH({monthComps:M,prevMonthComps:c,nextMonthComps:i},B),r=WH(t,g,e,B),F=pH(r[0],B);return{id:di(A),month:Q,year:I,monthTitle:B.formatDate(w,B.masks.title),shortMonthLabel:B.formatDate(w,"MMM"),monthLabel:B.formatDate(w,"MMMM"),shortYearLabel:I.toString().substring(2),yearLabel:I.toString(),monthComps:M,prevMonthComps:c,nextMonthComps:i,days:t,weeks:r,weekdays:F}}function XH(A,B){const{day:Q,week:I,view:g,trimWeeks:e}=A,w={...B,...A,title:"",viewDays:[],viewWeeks:[]};switch(g){case"daily":{let M=w.days.find(i=>i.inMonth);Q?M=w.days.find(i=>i.day===Q&&i.inMonth)||M:I&&(M=w.days.find(i=>i.week===I&&i.inMonth));const c=w.weeks[M.week-1];w.viewWeeks=[c],w.viewDays=[M],w.week=M.week,w.weekTitle=c.title,w.day=M.day,w.dayTitle=M.ariaLabel,w.title=w.dayTitle;break}case"weekly":{w.week=I||1;const M=w.weeks[w.week-1];w.viewWeeks=[M],w.viewDays=M.days,w.weekTitle=M.title,w.title=w.weekTitle;break}default:{w.title=w.monthTitle,w.viewWeeks=w.weeks.slice(0,e?w.monthComps.numWeeks:void 0),w.viewDays=w.days;break}}return w}class Ti{constructor(B,Q,I){K(this,"keys",[]),K(this,"store",{}),this.size=B,this.createKey=Q,this.createItem=I}get(...B){const Q=this.createKey(...B);return this.store[Q]}getOrSet(...B){const Q=this.createKey(...B);if(this.store[Q])return this.store[Q];const I=this.createItem(...B);if(this.keys.length>=this.size){const g=this.keys.shift();g!=null&&delete this.store[g]}return this.keys.push(Q),this.store[Q]=I,I}}class KQ{constructor(B,Q=new VI){K(this,"order"),K(this,"locale"),K(this,"start",null),K(this,"end",null),K(this,"repeat",null);var I;this.locale=Q;const{start:g,end:e,span:w,order:M,repeat:c}=B;mQ(g)&&(this.start=Q.getDateParts(g)),mQ(e)?this.end=Q.getDateParts(e):this.start!=null&&w&&(this.end=Q.getDateParts(VA(this.start.date,w-1))),this.order=M??0,c&&(this.repeat=new yI({from:(I=this.start)==null?void 0:I.date,...c},{locale:this.locale}))}static fromMany(B,Q){return(KA(B)?B:[B]).filter(I=>I).map(I=>KQ.from(I,Q))}static from(B,Q){if(B instanceof KQ)return B;const I={start:null,end:null};return B!=null&&(KA(B)?(I.start=B[0]??null,I.end=B[1]??null):RB(B)?Object.assign(I,B):(I.start=B,I.end=B)),I.start!=null&&(I.start=new Date(I.start)),I.end!=null&&(I.end=new Date(I.end)),new KQ(I,Q)}get opts(){const{order:B,locale:Q}=this;return{order:B,locale:Q}}get hasRepeat(){return!!this.repeat}get isSingleDay(){const{start:B,end:Q}=this;return B&&Q&&B.year===Q.year&&B.month===Q.month&&B.day===Q.day}get isMultiDay(){return!this.isSingleDay}get daySpan(){return this.start==null||this.end==null?this.hasRepeat?1:1/0:this.end.dayIndex-this.start.dayIndex}startsOnDay(B){var Q,I;return((Q=this.start)==null?void 0:Q.dayIndex)===B.dayIndex||!!((I=this.repeat)!=null&&I.passes(B))}intersectsDay(B){return this.intersectsDayRange(B,B)}intersectsRange(B){var Q,I;return this.intersectsDayRange(((Q=B.start)==null?void 0:Q.dayIndex)??-1/0,((I=B.end)==null?void 0:I.dayIndex)??1/0)}intersectsDayRange(B,Q){return!(this.start&&this.start.dayIndex>Q||this.end&&this.end.dayIndex<B)}}class vH{constructor(){K(this,"records",{})}render(B,Q,I){var g,e,w,M;let c=null;const i=I[0].dayIndex,t=I[I.length-1].dayIndex;return Q.hasRepeat?I.forEach(r=>{var F,s;if(Q.startsOnDay(r)){const o=Q.daySpan<1/0?Q.daySpan:1;c={startDay:r.dayIndex,startTime:((F=Q.start)==null?void 0:F.time)??0,endDay:r.dayIndex+o-1,endTime:((s=Q.end)==null?void 0:s.time)??HI},this.getRangeRecords(B).push(c)}}):Q.intersectsDayRange(i,t)&&(c={startDay:((g=Q.start)==null?void 0:g.dayIndex)??-1/0,startTime:((e=Q.start)==null?void 0:e.time)??-1/0,endDay:((w=Q.end)==null?void 0:w.dayIndex)??1/0,endTime:((M=Q.end)==null?void 0:M.time)??1/0},this.getRangeRecords(B).push(c)),c}getRangeRecords(B){let Q=this.records[B.key];return Q||(Q={ranges:[],data:B},this.records[B.key]=Q),Q.ranges}getCell(B,Q){return this.getCells(Q).find(e=>e.data.key===B)}cellExists(B,Q){const I=this.records[B];return I==null?!1:I.ranges.some(g=>g.startDay<=Q&&g.endDay>=Q)}getCells(B){const Q=Object.values(this.records),I=[],{dayIndex:g}=B;return Q.forEach(({data:e,ranges:w})=>{w.filter(M=>M.startDay<=g&&M.endDay>=g).forEach(M=>{const c=g===M.startDay,i=g===M.endDay,t=c?M.startTime:0,r=new Date(B.startDate.getTime()+t),F=i?M.endTime:HI,s=new Date(B.endDate.getTime()+F),o=t===0&&F===HI,C=e.order||0;I.push({...M,data:e,onStart:c,onEnd:i,startTime:t,startDate:r,endTime:F,endDate:s,allDay:o,order:C})})}),I.sort((e,w)=>e.order-w.order),I}}const VB={ar:{dow:7,L:"D/M/YYYY"},bg:{dow:2,L:"D.MM.YYYY"},ca:{dow:2,L:"DD/MM/YYYY"},"zh-CN":{dow:2,L:"YYYY/MM/DD"},"zh-TW":{dow:1,L:"YYYY/MM/DD"},hr:{dow:2,L:"DD.MM.YYYY"},cs:{dow:2,L:"DD.MM.YYYY"},da:{dow:2,L:"DD.MM.YYYY"},nl:{dow:2,L:"DD-MM-YYYY"},"en-US":{dow:1,L:"MM/DD/YYYY"},"en-AU":{dow:2,L:"DD/MM/YYYY"},"en-CA":{dow:1,L:"YYYY-MM-DD"},"en-GB":{dow:2,L:"DD/MM/YYYY"},"en-IE":{dow:2,L:"DD-MM-YYYY"},"en-NZ":{dow:2,L:"DD/MM/YYYY"},"en-ZA":{dow:1,L:"YYYY/MM/DD"},eo:{dow:2,L:"YYYY-MM-DD"},et:{dow:2,L:"DD.MM.YYYY"},fi:{dow:2,L:"DD.MM.YYYY"},fr:{dow:2,L:"DD/MM/YYYY"},"fr-CA":{dow:1,L:"YYYY-MM-DD"},"fr-CH":{dow:2,L:"DD.MM.YYYY"},de:{dow:2,L:"DD.MM.YYYY"},he:{dow:1,L:"DD.MM.YYYY"},id:{dow:2,L:"DD/MM/YYYY"},it:{dow:2,L:"DD/MM/YYYY"},ja:{dow:1,L:"YYYY年M月D日"},ko:{dow:1,L:"YYYY.MM.DD"},lv:{dow:2,L:"DD.MM.YYYY"},lt:{dow:2,L:"DD.MM.YYYY"},mk:{dow:2,L:"D.MM.YYYY"},nb:{dow:2,L:"D. MMMM YYYY"},nn:{dow:2,L:"D. MMMM YYYY"},pl:{dow:2,L:"DD.MM.YYYY"},pt:{dow:2,L:"DD/MM/YYYY"},ro:{dow:2,L:"DD.MM.YYYY"},ru:{dow:2,L:"DD.MM.YYYY"},sk:{dow:2,L:"DD.MM.YYYY"},"es-ES":{dow:2,L:"DD/MM/YYYY"},"es-MX":{dow:2,L:"DD/MM/YYYY"},sv:{dow:2,L:"YYYY-MM-DD"},th:{dow:1,L:"DD/MM/YYYY"},tr:{dow:2,L:"DD.MM.YYYY"},uk:{dow:2,L:"DD.MM.YYYY"},vi:{dow:2,L:"DD/MM/YYYY"}};VB.en=VB["en-US"],VB.es=VB["es-ES"],VB.no=VB.nb,VB.zh=VB["zh-CN"];const PH=Object.entries(VB).reduce((A,[B,{dow:Q,L:I}])=>(A[B]={id:B,firstDayOfWeek:Q,masks:{L:I}},A),{}),_H={componentPrefix:"V",color:"blue",isDark:!1,navVisibility:"click",titlePosition:"center",transition:"slide-h",touch:{maxSwipeTime:300,minHorizontalSwipeDistance:60,maxVerticalSwipeDistance:80},masks:{title:"MMMM YYYY",weekdays:"W",navMonths:"MMM",hours:"h A",input:["L","YYYY-MM-DD","YYYY/MM/DD"],inputDateTime:["L h:mm A","YYYY-MM-DD h:mm A","YYYY/MM/DD h:mm A"],inputDateTime24hr:["L HH:mm","YYYY-MM-DD HH:mm","YYYY/MM/DD HH:mm"],inputTime:["h:mm A"],inputTime24hr:["HH:mm"],dayPopover:"WWW, MMM D, YYYY",data:["L","YYYY-MM-DD","YYYY/MM/DD"],model:"iso",iso:"YYYY-MM-DDTHH:mm:ss.SSSZ"},locales:PH,datePicker:{updateOnInput:!0,inputDebounce:1e3,popover:{visibility:"hover-focus",placement:"bottom-start",isInteractive:!0}}},se=E.reactive(_H),$H=E.computed(()=>mG(se.locales,A=>(A.masks=NE(A.masks,se.masks),A))),OB=A=>typeof window<"u"&&Yi(window.__vcalendar__,A)?FQ(window.__vcalendar__,A):FQ(se,A),Al=12,Bl=5;function Ql(A,B){const Q=new Intl.DateTimeFormat().resolvedOptions().locale;let I;FB(A)?I=A:Yi(A,"id")&&(I=A.id),I=(I||Q).toLowerCase();const g=Object.keys(B),e=c=>g.find(i=>i.toLowerCase()===c);I=e(I)||e(I.substring(0,2))||Q;const w={...B["en-IE"],...B[I],id:I,monthCacheSize:Al,pageCacheSize:Bl};return RB(A)?NE(A,w):w}let VI=class{constructor(B=void 0,Q){K(this,"id"),K(this,"daysInWeek"),K(this,"firstDayOfWeek"),K(this,"masks"),K(this,"timezone"),K(this,"hourLabels"),K(this,"dayNames"),K(this,"dayNamesShort"),K(this,"dayNamesShorter"),K(this,"dayNamesNarrow"),K(this,"monthNames"),K(this,"monthNamesShort"),K(this,"relativeTimeNames"),K(this,"amPm",["am","pm"]),K(this,"monthCache"),K(this,"pageCache");const{id:I,firstDayOfWeek:g,masks:e,monthCacheSize:w,pageCacheSize:M}=Ql(B,$H.value);this.monthCache=new Ti(w,Dl,Gl),this.pageCache=new Ti(M,di,LH),this.id=I,this.daysInWeek=RA,this.firstDayOfWeek=BH(g,1,RA),this.masks=e,this.timezone=Q||void 0,this.hourLabels=this.getHourLabels(),this.dayNames=Ce("long",this.id),this.dayNamesShort=Ce("short",this.id),this.dayNamesShorter=this.dayNamesShort.map(c=>c.substring(0,2)),this.dayNamesNarrow=Ce("narrow",this.id),this.monthNames=At("long",this.id),this.monthNamesShort=At("short",this.id),this.relativeTimeNames=Hl(this.id)}formatDate(B,Q){return xl(B,Q,this)}parseDate(B,Q){return Bt(B,Q,this)}toDate(B,Q={}){const I=new Date(NaN);let g=I;const{fillDate:e,mask:w,patch:M,rules:c}=Q;if(_A(B)?(Q.type="number",g=new Date(+B)):FB(B)?(Q.type="string",g=B?Bt(B,w||"iso",this):I):mQ(B)?(Q.type="date",g=new Date(B.getTime())):oe(B)&&(Q.type="object",g=this.getDateFromParts(B)),g&&(M||c)){let i=this.getDateParts(g);if(M&&e!=null){const t=this.getDateParts(this.toDate(e));i=this.getDateParts(this.toDate({...t,...hi(i,sl[M])}))}c&&(i=jl(i,c)),g=this.getDateFromParts(i)}return g||I}toDateOrNull(B,Q={}){const I=this.toDate(B,Q);return isNaN(I.getTime())?null:I}fromDate(B,{type:Q,mask:I}={}){switch(Q){case"number":return B?B.getTime():NaN;case"string":return B?this.formatDate(B,I||"iso"):"";case"object":return B?this.getDateParts(B):null;default:return B?new Date(B):null}}range(B){return KQ.from(B,this)}ranges(B){return KQ.fromMany(B,this)}getDateParts(B){return Rl(B,this)}getDateFromParts(B){return _i(B,this.timezone)}getDateFromParams(B,Q,I,g,e,w,M){return this.getDateFromParts({year:B,month:Q,day:I,hours:g,minutes:e,seconds:w,milliseconds:M})}getPage(B){const Q=this.pageCache.getOrSet(B,this);return XH(B,Q)}getMonthParts(B,Q){const{firstDayOfWeek:I}=this;return this.monthCache.getOrSet(B,Q,I)}getThisMonthParts(){const B=new Date;return this.getMonthParts(B.getMonth()+1,B.getFullYear())}getPrevMonthParts(B,Q){return B===1?this.getMonthParts(12,Q-1):this.getMonthParts(B-1,Q)}getNextMonthParts(B,Q){return B===12?this.getMonthParts(1,Q+1):this.getMonthParts(B+1,Q)}getHourLabels(){return yl().map(B=>this.formatDate(B,this.masks.hours))}getDayId(B){return this.formatDate(B,"YYYY-MM-DD")}};var fQ=(A=>(A.Any="any",A.All="all",A))(fQ||{}),ki=(A=>(A.Days="days",A.Weeks="weeks",A.Months="months",A.Years="years",A))(ki||{}),mi=(A=>(A.Days="days",A.Weekdays="weekdays",A.Weeks="weeks",A.Months="months",A.Years="years",A))(mi||{}),ui=(A=>(A.OrdinalWeekdays="ordinalWeekdays",A))(ui||{});class El{constructor(B,Q,I){K(this,"validated",!0),this.type=B,this.interval=Q,this.from=I,this.from||(console.error('A valid "from" date is required for date interval rule. This rule will be skipped.'),this.validated=!1)}passes(B){if(!this.validated)return!0;const{date:Q}=B;switch(this.type){case"days":return Ye(this.from.date,Q)%this.interval===0;case"weeks":return nl(this.from.date,Q)%this.interval===0;case"months":return Nl(this.from.date,Q)%this.interval===0;case"years":return Pi(this.from.date,Q)%this.interval===0;default:return!1}}}class WQ{constructor(B,Q,I,g){K(this,"components",[]),this.type=B,this.validator=I,this.getter=g,this.components=this.normalizeComponents(Q)}static create(B,Q){switch(B){case"days":return new Il(Q);case"weekdays":return new gl(Q);case"weeks":return new el(Q);case"months":return new wl(Q);case"years":return new Ml(Q)}}normalizeComponents(B){if(this.validator(B))return[B];if(!KA(B))return[];const Q=[];return B.forEach(I=>{if(!this.validator(I)){console.error(`Component value ${I} in invalid for "${this.type}" rule. This rule will be skipped.`);return}Q.push(I)}),Q}passes(B){return this.getter(B).some(g=>this.components.includes(g))}}class Il extends WQ{constructor(B){super("days",B,tl,({day:Q,dayFromEnd:I})=>[Q,-I])}}class gl extends WQ{constructor(B){super("weekdays",B,Ue,({weekday:Q})=>[Q])}}class el extends WQ{constructor(B){super("weeks",B,rl,({week:Q,weekFromEnd:I})=>[Q,-I])}}class wl extends WQ{constructor(B){super("months",B,Fl,({month:Q})=>[Q])}}class Ml extends WQ{constructor(B){super("years",B,_A,({year:Q})=>[Q])}}class cl{constructor(B,Q){K(this,"components"),this.type=B,this.components=this.normalizeComponents(Q)}normalizeArrayConfig(B){const Q=[];return B.forEach((I,g)=>{if(_A(I)){if(g===0)return;if(!Ki(B[0])){console.error(`Ordinal range for "${this.type}" rule is from -5 to -1 or 1 to 5. This rule will be skipped.`);return}if(!Ue(I)){console.error(`Acceptable range for "${this.type}" rule is from 1 to 5. This rule will be skipped`);return}Q.push([B[0],I])}else KA(I)&&Q.push(...this.normalizeArrayConfig(I))}),Q}normalizeComponents(B){const Q=[];return B.forEach((I,g)=>{if(_A(I)){if(g===0)return;if(!Ki(B[0])){console.error(`Ordinal range for "${this.type}" rule is from -5 to -1 or 1 to 5. This rule will be skipped.`);return}if(!Ue(I)){console.error(`Acceptable range for "${this.type}" rule is from 1 to 5. This rule will be skipped`);return}Q.push([B[0],I])}else KA(I)&&Q.push(...this.normalizeArrayConfig(I))}),Q}passes(B){const{weekday:Q,weekdayOrdinal:I,weekdayOrdinalFromEnd:g}=B;return this.components.some(([e,w])=>(e===I||e===-g)&&Q===w)}}class il{constructor(B){K(this,"type","function"),K(this,"validated",!0),this.fn=B,iQ(B)||(console.error("The function rule requires a valid function. This rule will be skipped."),this.validated=!1)}passes(B){return this.validated?this.fn(B):!0}}class yI{constructor(B,Q={},I){K(this,"validated",!0),K(this,"config"),K(this,"type",fQ.Any),K(this,"from"),K(this,"until"),K(this,"rules",[]),K(this,"locale",new VI),this.parent=I,Q.locale&&(this.locale=Q.locale),this.config=B,iQ(B)?(this.type=fQ.All,this.rules=[new il(B)]):KA(B)?(this.type=fQ.Any,this.rules=B.map(g=>new yI(g,Q,this))):RB(B)?(this.type=fQ.All,this.from=B.from?this.locale.getDateParts(B.from):I?.from,this.until=B.until?this.locale.getDateParts(B.until):I?.until,this.rules=this.getObjectRules(B)):(console.error("Rule group configuration must be an object or an array."),this.validated=!1)}getObjectRules(B){const Q=[];if(B.every&&(FB(B.every)&&(B.every=[1,`${B.every}s`]),KA(B.every))){const[I=1,g=ki.Days]=B.every;Q.push(new El(g,I,this.from))}return Object.values(mi).forEach(I=>{I in B&&Q.push(WQ.create(I,B[I]))}),Object.values(ui).forEach(I=>{I in B&&Q.push(new cl(I,B[I]))}),B.on!=null&&(KA(B.on)||(B.on=[B.on]),Q.push(new yI(B.on,{locale:this.locale},this.parent))),Q}passes(B){return this.validated?this.from&&B.dayIndex<=this.from.dayIndex||this.until&&B.dayIndex>=this.until.dayIndex?!1:this.type===fQ.Any?this.rules.some(Q=>Q.passes(B)):this.rules.every(Q=>Q.passes(B)):!0}}function tl(A){return _A(A)?A>=1&&A<=31:!1}function Ue(A){return _A(A)?A>=1&&A<=7:!1}function rl(A){return _A(A)?A>=-6&&A<=-1||A>=1&&A<=6:!1}function Fl(A){return _A(A)?A>=1&&A<=12:!1}function Ki(A){return!(!_A(A)||A<-5||A>5||A===0)}const sl={dateTime:["year","month","day","hours","minutes","seconds","milliseconds"],date:["year","month","day"],time:["hours","minutes","seconds","milliseconds"]},RA=7,Ul=6,fi=1e3,Wi=fi*60,pi=Wi*60,HI=pi*24,ol=[31,28,31,30,31,30,31,31,30,31,30,31],Yl=["L","iso"],RE={milliseconds:[0,999,3],seconds:[0,59,2],minutes:[0,59,2],hours:[0,23,2]},qi=/d{1,2}|W{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|Z{1,4}|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Cl=/\[([^]*?)\]/gm,Zi={D(A){return A.day},DD(A){return wA(A.day,2)},d(A){return A.weekday-1},dd(A){return wA(A.weekday-1,2)},W(A,B){return B.dayNamesNarrow[A.weekday-1]},WW(A,B){return B.dayNamesShorter[A.weekday-1]},WWW(A,B){return B.dayNamesShort[A.weekday-1]},WWWW(A,B){return B.dayNames[A.weekday-1]},M(A){return A.month},MM(A){return wA(A.month,2)},MMM(A,B){return B.monthNamesShort[A.month-1]},MMMM(A,B){return B.monthNames[A.month-1]},YY(A){return String(A.year).substr(2)},YYYY(A){return wA(A.year,4)},h(A){return A.hours%12||12},hh(A){return wA(A.hours%12||12,2)},H(A){return A.hours},HH(A){return wA(A.hours,2)},m(A){return A.minutes},mm(A){return wA(A.minutes,2)},s(A){return A.seconds},ss(A){return wA(A.seconds,2)},S(A){return Math.round(A.milliseconds/100)},SS(A){return wA(Math.round(A.milliseconds/10),2)},SSS(A){return wA(A.milliseconds,3)},a(A,B){return A.hours<12?B.amPm[0]:B.amPm[1]},A(A,B){return A.hours<12?B.amPm[0].toUpperCase():B.amPm[1].toUpperCase()},Z(){return"Z"},ZZ(A){const B=A.timezoneOffset;return`${B>0?"-":"+"}${wA(Math.floor(Math.abs(B)/60),2)}`},ZZZ(A){const B=A.timezoneOffset;return`${B>0?"-":"+"}${wA(Math.floor(Math.abs(B)/60)*100+Math.abs(B)%60,4)}`},ZZZZ(A){const B=A.timezoneOffset;return`${B>0?"-":"+"}${wA(Math.floor(Math.abs(B)/60),2)}:${wA(Math.abs(B)%60,2)}`}},bB=/\d\d?/,al=/\d{3}/,hl=/\d{4}/,DE=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Oi=()=>{},bi=A=>(B,Q,I)=>{const g=I[A].indexOf(Q.charAt(0).toUpperCase()+Q.substr(1).toLowerCase());~g&&(B.month=g)},cA={D:[bB,(A,B)=>{A.day=B}],Do:[new RegExp(bB.source+DE.source),(A,B)=>{A.day=parseInt(B,10)}],d:[bB,Oi],W:[DE,Oi],M:[bB,(A,B)=>{A.month=B-1}],MMM:[DE,bi("monthNamesShort")],MMMM:[DE,bi("monthNames")],YY:[bB,(A,B)=>{const I=+new Date().getFullYear().toString().substr(0,2);A.year=+`${B>68?I-1:I}${B}`}],YYYY:[hl,(A,B)=>{A.year=B}],S:[/\d/,(A,B)=>{A.milliseconds=B*100}],SS:[/\d{2}/,(A,B)=>{A.milliseconds=B*10}],SSS:[al,(A,B)=>{A.milliseconds=B}],h:[bB,(A,B)=>{A.hours=B}],m:[bB,(A,B)=>{A.minutes=B}],s:[bB,(A,B)=>{A.seconds=B}],a:[DE,(A,B,Q)=>{const I=B.toLowerCase();I===Q.amPm[0]?A.isPm=!1:I===Q.amPm[1]&&(A.isPm=!0)}],Z:[/[^\s]*?[+-]\d\d:?\d\d|[^\s]*?Z?/,(A,B)=>{B==="Z"&&(B="+00:00");const Q=`${B}`.match(/([+-]|\d\d)/gi);if(Q){const I=+Q[1]*60+parseInt(Q[2],10);A.timezoneOffset=Q[0]==="+"?I:-I}}]};cA.DD=cA.D,cA.dd=cA.d,cA.WWWW=cA.WWW=cA.WW=cA.W,cA.MM=cA.M,cA.mm=cA.m,cA.hh=cA.H=cA.HH=cA.h,cA.ss=cA.s,cA.A=cA.a,cA.ZZZZ=cA.ZZZ=cA.ZZ=cA.Z;function Li(A,B){return(DB(A)&&A||[FB(A)&&A||"YYYY-MM-DD"]).map(Q=>Yl.reduce((I,g)=>I.replace(g,B.masks[g]||""),Q))}function oe(A){return RB(A)&&"year"in A&&"month"in A&&"day"in A}function Xi(A,B=1){const Q=A.getDay()+1,I=Q>=B?B-Q:-(7-(B-Q));return VA(A,I)}function vi(A,B,Q){const I=Date.UTC(A,B-1,Q);return Ye(new Date(0),new Date(I))}function Ye(A,B){return Math.round((B.getTime()-A.getTime())/HI)}function nl(A,B){return Math.ceil(Ye(Xi(A),Xi(B))/7)}function Pi(A,B){return B.getUTCFullYear()-A.getUTCFullYear()}function Nl(A,B){return Pi(A,B)*12+(B.getMonth()-A.getMonth())}function _i(A,B=""){const Q=new Date,{year:I=Q.getFullYear(),month:g=Q.getMonth()+1,day:e=Q.getDate(),hours:w=0,minutes:M=0,seconds:c=0,milliseconds:i=0}=A;if(B){const t=`${wA(I,4)}-${wA(g,2)}-${wA(e,2)}T${wA(w,2)}:${wA(M,2)}:${wA(c,2)}.${wA(i,3)}`;return CH(t,{timeZone:B})}return new Date(I,g-1,e,w,M,c,i)}function Rl(A,B){let Q=new Date(A.getTime());B.timezone&&(Q=new Date(A.toLocaleString("en-US",{timeZone:B.timezone})),Q.setMilliseconds(A.getMilliseconds()));const I=Q.getMilliseconds(),g=Q.getSeconds(),e=Q.getMinutes(),w=Q.getHours(),M=I+g*fi+e*Wi+w*pi,c=Q.getMonth()+1,i=Q.getFullYear(),t=B.getMonthParts(c,i),r=Q.getDate(),F=t.numDays-r+1,s=Q.getDay()+1,o=Math.floor((r-1)/7+1),C=Math.floor((t.numDays-r)/7+1),a=Math.ceil((r+Math.abs(t.firstWeekday-t.firstDayOfWeek))/7),Y=t.numWeeks-a+1,R=t.weeknumbers[a],n=vi(i,c,r);return{milliseconds:I,seconds:g,minutes:e,hours:w,time:M,day:r,dayFromEnd:F,weekday:s,weekdayOrdinal:o,weekdayOrdinalFromEnd:C,week:a,weekFromEnd:Y,weeknumber:R,month:c,year:i,date:Q,dateTime:Q.getTime(),dayIndex:n,timezoneOffset:0,isValid:!0}}function Dl(A,B,Q){return`${B}-${A}-${Q}`}function Gl(A,B,Q){const I=B%4===0&&B%100!==0||B%400===0,g=new Date(B,A-1,1),e=g.getDay()+1,w=A===2&&I?29:ol[A-1],M=Q-1,c=zH(g,{weekStartsOn:M}),i=[],t=[];for(let r=0;r<c;r++){const F=VA(g,r*7);i.push(dH(F,{weekStartsOn:M})),t.push(uH(F))}return{firstDayOfWeek:Q,firstDayOfMonth:g,inLeapYear:I,firstWeekday:e,numDays:w,numWeeks:c,month:A,year:B,weeknumbers:i,isoWeeknumbers:t}}function Vl(){const A=[];for(let g=0;g<RA;g++)A.push(_i({year:2020,month:1,day:5+g,hours:12}));return A}function Ce(A,B=void 0){const Q=new Intl.DateTimeFormat(B,{weekday:A});return Vl().map(I=>Q.format(I))}function yl(){const A=[];for(let B=0;B<=24;B++)A.push(new Date(2e3,0,1,B));return A}function Hl(A=void 0){const B=["second","minute","hour","day","week","month","quarter","year"],Q=new Intl.RelativeTimeFormat(A);return B.reduce((I,g)=>{const e=Q.formatToParts(100,g);return I[g]=e[1].unit,I},{})}function $i(){const A=[];for(let B=0;B<12;B++)A.push(new Date(2e3,B,15));return A}function At(A,B=void 0){const Q=new Intl.DateTimeFormat(B,{month:A,timeZone:"UTC"});return $i().map(I=>Q.format(I))}function ll(A,B,Q){return _A(B)?B===A:KA(B)?B.includes(A):iQ(B)?B(A,Q):!(B.min!=null&&B.min>A||B.max!=null&&B.max<A||B.interval!=null&&A%B.interval!==0)}function GE(A,B,Q){const I=[],[g,e,w]=B;for(let M=g;M<=e;M++)(Q==null||ll(M,Q,A))&&I.push({value:M,label:wA(M,w)});return I}function Sl(A,B){return{milliseconds:GE(A,RE.milliseconds,B.milliseconds),seconds:GE(A,RE.seconds,B.seconds),minutes:GE(A,RE.minutes,B.minutes),hours:GE(A,RE.hours,B.hours)}}function zl(A,B,Q,I){const e=GE(A,B,I).reduce((w,M)=>{if(M.disabled)return w;if(isNaN(w))return M.value;const c=Math.abs(w-Q);return Math.abs(M.value-Q)<c?M.value:w},NaN);return isNaN(e)?Q:e}function jl(A,B){const Q={...A};return Object.entries(B).forEach(([I,g])=>{const e=RE[I],w=A[I];Q[I]=zl(A,e,w,g)}),Q}function Bt(A,B,Q){return Li(B,Q).map(g=>{if(typeof g!="string")throw new Error("Invalid mask");let e=A;if(e.length>1e3)return!1;let w=!0;const M={};if(g.replace(qi,t=>{if(cA[t]){const r=cA[t],F=e.search(r[0]);~F?e.replace(r[0],s=>(r[1](M,s,Q),e=e.substr(F+s.length),s)):w=!1}return cA[t]?"":t.slice(1,t.length-1)}),!w)return!1;const c=new Date;M.hours!=null&&(M.isPm===!0&&+M.hours!=12?M.hours=+M.hours+12:M.isPm===!1&&+M.hours==12&&(M.hours=0));let i;return M.timezoneOffset!=null?(M.minutes=+(M.minutes||0)-+M.timezoneOffset,i=new Date(Date.UTC(M.year||c.getFullYear(),M.month||0,M.day||1,M.hours||0,M.minutes||0,M.seconds||0,M.milliseconds||0))):i=Q.getDateFromParts({year:M.year||c.getFullYear(),month:(M.month||0)+1,day:M.day||1,hours:M.hours||0,minutes:M.minutes||0,seconds:M.seconds||0,milliseconds:M.milliseconds||0}),i}).find(g=>g)||new Date(A)}function xl(A,B,Q){if(A==null)return"";let I=Li(B,Q)[0];/Z$/.test(I)&&(Q.timezone="utc");const g=[];I=I.replace(Cl,(w,M)=>(g.push(M),"??"));const e=Q.getDateParts(A);return I=I.replace(qi,w=>w in Zi?Zi[w](e,Q):w.slice(1,w.length-1)),I.replace(/\?\?/g,()=>g.shift())}let Jl=0;class Qt{constructor(B,Q,I){K(this,"key",""),K(this,"hashcode",""),K(this,"highlight",null),K(this,"content",null),K(this,"dot",null),K(this,"bar",null),K(this,"event",null),K(this,"popover",null),K(this,"customData",null),K(this,"ranges"),K(this,"hasRanges",!1),K(this,"order",0),K(this,"pinPage",!1),K(this,"maxRepeatSpan",0),K(this,"locale");const{dates:g}=Object.assign(this,{hashcode:"",order:0,pinPage:!1},B);this.key||(this.key=++Jl),this.locale=I,Q.normalizeGlyphs(this),this.ranges=I.ranges(g??[]),this.hasRanges=!!DB(this.ranges),this.maxRepeatSpan=this.ranges.filter(e=>e.hasRepeat).map(e=>e.daySpan).reduce((e,w)=>Math.max(e,w),0)}intersectsRange({start:B,end:Q}){if(B==null||Q==null)return!1;const I=this.ranges.filter(w=>!w.hasRepeat);for(const w of I)if(w.intersectsDayRange(B.dayIndex,Q.dayIndex))return!0;const g=this.ranges.filter(w=>w.hasRepeat);if(!g.length)return!1;let e=B;for(this.maxRepeatSpan>1&&(e=this.locale.getDateParts(VA(e.date,-this.maxRepeatSpan)));e.dayIndex<=Q.dayIndex;){for(const w of g)if(w.startsOnDay(e))return!0;e=this.locale.getDateParts(VA(e.date,1))}return!1}}function ae(A){document&&document.dispatchEvent(new CustomEvent("show-popover",{detail:A}))}function VE(A){document&&document.dispatchEvent(new CustomEvent("hide-popover",{detail:A}))}function Et(A){document&&document.dispatchEvent(new CustomEvent("toggle-popover",{detail:A}))}function It(A){const{visibility:B}=A,Q=B==="click",I=B==="hover",g=B==="hover-focus",e=B==="focus";A.autoHide=!Q;let w=!1,M=!1;const c=o=>{Q&&(Et({...A,target:A.target||o.currentTarget}),o.stopPropagation())},i=o=>{w||(w=!0,(I||g)&&ae({...A,target:A.target||o.currentTarget}))},t=()=>{w&&(w=!1,(I||g&&!M)&&VE(A))},r=o=>{M||(M=!0,(e||g)&&ae({...A,target:A.target||o.currentTarget}))},F=o=>{M&&!CI(o.currentTarget,o.relatedTarget)&&(M=!1,(e||g&&!w)&&VE(A))},s={};switch(A.visibility){case"click":s.click=c;break;case"hover":s.mousemove=i,s.mouseleave=t;break;case"focus":s.focusin=r,s.focusout=F;break;case"hover-focus":s.mousemove=i,s.mouseleave=t,s.focusin=r,s.focusout=F;break}return s}const gt=A=>{const B=YI(A);if(B==null)return;const Q=B.popoverHandlers;!Q||!Q.length||(Q.forEach(I=>I()),delete B.popoverHandlers)},et=(A,B)=>{const Q=YI(A);if(Q==null)return;const I=[],g=It(B);Object.entries(g).forEach(([e,w])=>{I.push(ZB(Q,e,w))}),Q.popoverHandlers=I},wt={mounted(A,B){const{value:Q}=B;Q&&et(A,Q)},updated(A,B){const{oldValue:Q,value:I}=B,g=Q?.visibility,e=I?.visibility;g!==e&&(g&&(gt(A),e||VE(Q)),e&&et(A,I))},unmounted(A){gt(A)}},dl=(A,B,{maxSwipeTime:Q,minHorizontalSwipeDistance:I,maxVerticalSwipeDistance:g})=>{if(!A||!A.addEventListener||!iQ(B))return null;let e=0,w=0,M=null,c=!1;function i(r){const F=r.changedTouches[0];e=F.screenX,w=F.screenY,M=new Date().getTime(),c=!0}function t(r){if(!c||!M)return;c=!1;const F=r.changedTouches[0],s=F.screenX-e,o=F.screenY-w;if(new Date().getTime()-M<Q&&Math.abs(s)>=I&&Math.abs(o)<=g){const a={toLeft:!1,toRight:!1};s<0?a.toLeft=!0:a.toRight=!0,B(a)}}return ZB(A,"touchstart",i,{passive:!0}),ZB(A,"touchend",t,{passive:!0}),()=>{qB(A,"touchstart",i),qB(A,"touchend",t)}},lI={},Tl=(A,B=10)=>{lI[A]=Date.now()+B},kl=(A,B)=>{if(A in lI){const Q=lI[A];if(Date.now()<Q)return;delete lI[A]}B()};function Mt(){return typeof window<"u"}function ml(A){return Mt()&&A in window}function ul(A){const B=E.ref(!1),Q=E.computed(()=>B.value?"dark":"light");let I,g;function e(s){B.value=s.matches}function w(){ml("matchMedia")&&(I=window.matchMedia("(prefers-color-scheme: dark)"),I.addEventListener("change",e),B.value=I.matches)}function M(){const{selector:s=":root",darkClass:o="dark"}=A.value,C=document.querySelector(s);B.value=C.classList.contains(o)}function c(s){const{selector:o=":root",darkClass:C="dark"}=s;if(Mt()&&o&&C){const a=document.querySelector(o);a&&(g=new MutationObserver(M),g.observe(a,{attributes:!0,attributeFilter:["class"]}),B.value=a.classList.contains(C))}}function i(){r();const s=typeof A.value;s==="string"&&A.value.toLowerCase()==="system"?w():s==="object"?c(A.value):B.value=!!A.value}const t=E.watch(()=>A.value,()=>i(),{immediate:!0});function r(){I&&(I.removeEventListener("change",e),I=void 0),g&&(g.disconnect(),g=void 0)}function F(){r(),t()}return E.onUnmounted(()=>F()),{isDark:B,displayMode:Q,cleanup:F}}const Kl=["base","start","end","startEnd"],fl=["class","wrapperClass","contentClass","style","contentStyle","color","fillMode"],Wl={base:{},start:{},end:{}};function he(A,B,Q=Wl){let I=A,g={};B===!0||FB(B)?(I=FB(B)?B:I,g={...Q}):RB(B)&&(Ci(B,Kl)?g={...B}:g={base:{...B},start:{...B},end:{...B}});const e=NE(g,{start:g.startEnd,end:g.startEnd},Q);return Object.entries(e).forEach(([w,M])=>{let c=I;M===!0||FB(M)?(c=FB(M)?M:c,e[w]={color:c}):RB(M)&&(Ci(M,fl)?e[w]={...M}:e[w]={}),NE(e[w],{color:c})}),e}class pl{constructor(){K(this,"type","highlight")}normalizeConfig(B,Q){return he(B,Q,{base:{fillMode:"light"},start:{fillMode:"solid"},end:{fillMode:"solid"}})}prepareRender(B){B.highlights=[],B.content||(B.content=[])}render({data:B,onStart:Q,onEnd:I},g){const{key:e,highlight:w}=B;if(!w)return;const{highlights:M}=g,{base:c,start:i,end:t}=w;Q&&I?M.push({...i,key:e,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${i.color}`,class:[`vc-highlight vc-highlight-bg-${i.fillMode}`,i.class],contentClass:[`vc-attr vc-highlight-content-${i.fillMode} vc-${i.color}`,i.contentClass]}):Q?(M.push({...c,key:`${e}-base`,wrapperClass:`vc-day-layer vc-day-box-right-center vc-attr vc-${c.color}`,class:[`vc-highlight vc-highlight-base-start vc-highlight-bg-${c.fillMode}`,c.class]}),M.push({...i,key:e,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${i.color}`,class:[`vc-highlight vc-highlight-bg-${i.fillMode}`,i.class],contentClass:[`vc-attr vc-highlight-content-${i.fillMode} vc-${i.color}`,i.contentClass]})):I?(M.push({...c,key:`${e}-base`,wrapperClass:`vc-day-layer vc-day-box-left-center vc-attr vc-${c.color}`,class:[`vc-highlight vc-highlight-base-end vc-highlight-bg-${c.fillMode}`,c.class]}),M.push({...t,key:e,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${t.color}`,class:[`vc-highlight vc-highlight-bg-${t.fillMode}`,t.class],contentClass:[`vc-attr vc-highlight-content-${t.fillMode} vc-${t.color}`,t.contentClass]})):M.push({...c,key:`${e}-middle`,wrapperClass:`vc-day-layer vc-day-box-center-center vc-attr vc-${c.color}`,class:[`vc-highlight vc-highlight-base-middle vc-highlight-bg-${c.fillMode}`,c.class],contentClass:[`vc-attr vc-highlight-content-${c.fillMode} vc-${c.color}`,c.contentClass]})}}class ne{constructor(B,Q){K(this,"type",""),K(this,"collectionType",""),this.type=B,this.collectionType=Q}normalizeConfig(B,Q){return he(B,Q)}prepareRender(B){B[this.collectionType]=[]}render({data:B,onStart:Q,onEnd:I},g){const{key:e}=B,w=B[this.type];if(!e||!w)return;const M=g[this.collectionType],{base:c,start:i,end:t}=w;Q?M.push({...i,key:e,class:[`vc-${this.type} vc-${this.type}-start vc-${i.color} vc-attr`,i.class]}):I?M.push({...t,key:e,class:[`vc-${this.type} vc-${this.type}-end vc-${t.color} vc-attr`,t.class]}):M.push({...c,key:e,class:[`vc-${this.type} vc-${this.type}-base vc-${c.color} vc-attr`,c.class]})}}class ql extends ne{constructor(){super("content","content")}normalizeConfig(B,Q){return he("base",Q)}}class Zl extends ne{constructor(){super("dot","dots")}}class Ol extends ne{constructor(){super("bar","bars")}}class bl{constructor(B){K(this,"color"),K(this,"renderers",[new ql,new pl,new Zl,new Ol]),this.color=B}normalizeGlyphs(B){this.renderers.forEach(Q=>{const I=Q.type;B[I]!=null&&(B[I]=Q.normalizeConfig(this.color,B[I]))})}prepareRender(B={}){return this.renderers.forEach(Q=>{Q.prepareRender(B)}),B}render(B,Q){this.renderers.forEach(I=>{I.render(B,Q)})}}const ct=Symbol("__vc_base_context__"),it={color:{type:String,default:()=>OB("color")},isDark:{type:[Boolean,String,Object],default:()=>OB("isDark")},firstDayOfWeek:Number,masks:Object,locale:[String,Object],timezone:String,minDate:null,maxDate:null,disabledDates:null};function tt(A){const B=E.computed(()=>A.color??""),Q=E.computed(()=>A.isDark??!1),{displayMode:I}=ul(Q),g=E.computed(()=>new bl(B.value)),e=E.computed(()=>{if(A.locale instanceof VI)return A.locale;const F=RB(A.locale)?A.locale:{id:A.locale,firstDayOfWeek:A.firstDayOfWeek,masks:A.masks};return new VI(F,A.timezone)}),w=E.computed(()=>e.value.masks),M=E.computed(()=>A.minDate),c=E.computed(()=>A.maxDate),i=E.computed(()=>{const F=A.disabledDates?[...A.disabledDates]:[];return M.value!=null&&F.push({start:null,end:VA(e.value.toDate(M.value),-1)}),c.value!=null&&F.push({start:VA(e.value.toDate(c.value),1),end:null}),e.value.ranges(F)}),t=E.computed(()=>new Qt({key:"disabled",dates:i.value,order:100},g.value,e.value)),r={color:B,isDark:Q,displayMode:I,theme:g,locale:e,masks:w,minDate:M,maxDate:c,disabledDates:i,disabledAttribute:t};return E.provide(ct,r),r}function Ll(A){return E.inject(ct,()=>tt(A),!0)}function rt(A){return`__vc_slot_${A}__`}function Ft(A,B={}){Object.keys(A).forEach(Q=>{E.provide(rt(B[Q]??Q),A[Q])})}function st(A){return E.inject(rt(A),null)}const Xl={...it,view:{type:String,default:"monthly",validator(A){return["daily","weekly","monthly"].includes(A)}},rows:{type:Number,default:1},columns:{type:Number,default:1},step:Number,titlePosition:{type:String,default:()=>OB("titlePosition")},navVisibility:{type:String,default:()=>OB("navVisibility")},showWeeknumbers:[Boolean,String],showIsoWeeknumbers:[Boolean,String],expanded:Boolean,borderless:Boolean,transparent:Boolean,initialPage:Object,initialPagePosition:{type:Number,default:1},minPage:Object,maxPage:Object,transition:String,attributes:Array,trimWeeks:Boolean,disablePageSwipe:Boolean},vl=["dayclick","daymouseenter","daymouseleave","dayfocusin","dayfocusout","daykeydown","weeknumberclick","transition-start","transition-end","did-move","update:view","update:pages"],Ut=Symbol("__vc_calendar_context__");function Pl(A,{slots:B,emit:Q}){const I=E.ref(null),g=E.ref(null),e=E.ref(new Date().getDate()),w=E.ref(!1),M=E.ref(Symbol()),c=E.ref(Symbol()),i=E.ref(A.view),t=E.ref([]),r=E.ref("");let F=null,s=null;Ft(B);const{theme:o,color:C,displayMode:a,locale:Y,masks:R,minDate:n,maxDate:h,disabledAttribute:D,disabledDates:S}=Ll(A),V=E.computed(()=>A.rows*A.columns),J=E.computed(()=>A.step||V.value),u=E.computed(()=>oi(t.value)??null),y=E.computed(()=>kQ(t.value)??null),j=E.computed(()=>A.minPage||(n.value?W(n.value):null)),z=E.computed(()=>A.maxPage||(h.value?W(h.value):null)),k=E.computed(()=>A.navVisibility),q=E.computed(()=>!!A.showWeeknumbers),m=E.computed(()=>!!A.showIsoWeeknumbers),Z=E.computed(()=>i.value==="monthly"),L=E.computed(()=>i.value==="weekly"),IA=E.computed(()=>i.value==="daily"),$=()=>{w.value=!0,Q("transition-start")},l=()=>{w.value=!1,Q("transition-end"),F&&(F.resolve(!0),F=null)},AA=(G,U,N=i.value)=>Ji(G,U,N,Y.value),W=G=>xi(G,i.value,Y.value),oA=G=>{!D.value||!JA.value||(G.isDisabled=JA.value.cellExists(D.value.key,G.dayIndex))},gA=G=>{G.isFocusable=G.inMonth&&G.day===e.value},YA=(G,U)=>{for(const N of G)for(const d of N.days)if(U(d)===!1)return},hA=E.computed(()=>t.value.reduce((G,U)=>(G.push(...U.viewDays),G),[])),CA=E.computed(()=>{const G=[];return(A.attributes||[]).forEach((U,N)=>{!U||!U.dates||G.push(new Qt({...U,order:U.order||0},o.value,Y.value))}),D.value&&G.push(D.value),G}),nA=E.computed(()=>DB(CA.value)),JA=E.computed(()=>{const G=new vH;return CA.value.forEach(U=>{U.ranges.forEach(N=>{G.render(U,N,hA.value)})}),G}),TB=E.computed(()=>hA.value.reduce((G,U)=>(G[U.dayIndex]={day:U,cells:[]},G[U.dayIndex].cells.push(...JA.value.getCells(U)),G),{})),EB=(G,U)=>{const N=A.showWeeknumbers||A.showIsoWeeknumbers;return N==null?"":hG(N)?N?"left":"":N.startsWith("right")?U>1?"right":N:G>1?"left":N},ZA=()=>{var G,U;if(!nA.value)return null;const N=CA.value.find(sA=>sA.pinPage)||CA.value[0];if(!N||!N.hasRanges)return null;const[d]=N.ranges,O=((G=d.start)==null?void 0:G.date)||((U=d.end)==null?void 0:U.date);return O?W(O):null},OA=()=>{if(sB(u.value))return u.value;const G=ZA();return sB(G)?G:W(new Date)},_B=(G,U={})=>{const{view:N=i.value,position:d=1,force:O}=U,sA=d>0?1-d:-(V.value+d);let yA=AA(G,sA,N),dA=AA(yA,V.value-1,N);return O||(Fe(yA,j.value)?yA=j.value:GI(dA,z.value)&&(yA=AA(z.value,1-V.value)),dA=AA(yA,V.value-1)),{fromPage:yA,toPage:dA}},$Q=(G,U,N="")=>{if(N==="none"||N==="fade")return N;if(G?.view!==U?.view)return"fade";const d=GI(U,G),O=Fe(U,G);return!d&&!O?"fade":N==="slide-v"?O?"slide-down":"slide-up":O?"slide-right":"slide-left"},aB=(G={})=>new Promise((U,N)=>{const{position:d=1,force:O=!1,transition:sA}=G,yA=sB(G.page)?G.page:OA(),{fromPage:dA}=_B(yA,{position:d,force:O}),BE=[];for(let QE=0;QE<V.value;QE++){const Mw=AA(dA,QE),zA=QE+1,cw=Math.ceil(zA/A.columns),Qg=A.rows-cw+1,KE=zA%A.columns||A.columns,fE=A.columns-KE+1,fJ=EB(KE,fE);BE.push(Y.value.getPage({...Mw,view:i.value,titlePosition:A.titlePosition,trimWeeks:A.trimWeeks,position:zA,row:cw,rowFromEnd:Qg,column:KE,columnFromEnd:fE,showWeeknumbers:q.value,showIsoWeeknumbers:m.value,weeknumberPosition:fJ}))}r.value=$Q(t.value[0],BE[0],sA),t.value=BE,r.value&&r.value!=="none"?F={resolve:U,reject:N}:U(!0)}),hQ=G=>{const U=u.value??W(new Date);return AA(U,G)},nQ=(G,U={})=>{const N=sB(G)?G:W(G);return Object.assign(U,_B(N,{...U,force:!0})),bH(U.fromPage,U.toPage,i.value,Y.value).map(O=>ZH(O,j.value,z.value)).some(O=>O)},NQ=(G,U={})=>nQ(hQ(G),U),IB=E.computed(()=>NQ(-J.value)),$B=E.computed(()=>NQ(J.value)),AQ=async(G,U={})=>!U.force&&!nQ(G,U)?!1:(U.fromPage&&!OH(U.fromPage,u.value)&&(VE({id:M.value,hideDelay:0}),U.view&&(Tl("view",10),i.value=U.view),await aB({...U,page:U.fromPage,position:1,force:!0}),Q("did-move",t.value)),!0),BQ=(G,U={})=>AQ(hQ(G),U),QQ=()=>BQ(-J.value),EQ=()=>BQ(J.value),IQ=G=>{const U=Z.value?".in-month":"",N=`.id-${Y.value.getDayId(G)}${U}`,d=`${N}.vc-focusable, ${N} .vc-focusable`,O=I.value;if(O){const sA=O.querySelector(d);if(sA)return sA.focus(),!0}return!1},RQ=async(G,U={})=>IQ(G)?!0:(await AQ(G,U),IQ(G)),AE=(G,U)=>{e.value=G.day,Q("dayclick",G,U)},gw=(G,U)=>{Q("daymouseenter",G,U)},uE=(G,U)=>{Q("daymouseleave",G,U)},ew=(G,U)=>{e.value=G.day,g.value=G,G.isFocused=!0,Q("dayfocusin",G,U)},_I=(G,U)=>{g.value=null,G.isFocused=!1,Q("dayfocusout",G,U)},$I=(G,U)=>{Q("daykeydown",G,U);const N=G.noonDate;let d=null;switch(U.key){case"ArrowLeft":{d=VA(N,-1);break}case"ArrowRight":{d=VA(N,1);break}case"ArrowUp":{d=VA(N,-7);break}case"ArrowDown":{d=VA(N,7);break}case"Home":{d=VA(N,-G.weekdayPosition+1);break}case"End":{d=VA(N,G.weekdayPositionFromEnd);break}case"PageUp":{U.altKey?d=ji(N,-1):d=DI(N,-1);break}case"PageDown":{U.altKey?d=ji(N,1):d=DI(N,1);break}}d&&(U.preventDefault(),RQ(d).catch())},ww=G=>{const U=g.value;U!=null&&$I(U,G)},Ag=(G,U)=>{Q("weeknumberclick",G,U)};aB({page:A.initialPage,position:A.initialPagePosition}),E.onMounted(()=>{!A.disablePageSwipe&&I.value&&(s=dl(I.value,({toLeft:G=!1,toRight:U=!1})=>{G?EQ():U&&QQ()},OB("touch")))}),E.onUnmounted(()=>{t.value=[],s&&s()}),E.watch(()=>Y.value,()=>{aB()}),E.watch(()=>V.value,()=>aB()),E.watch(()=>A.view,()=>i.value=A.view),E.watch(()=>i.value,()=>{kl("view",()=>{aB()}),Q("update:view",i.value)}),E.watch(()=>e.value,()=>{YA(t.value,G=>gA(G))}),E.watchEffect(()=>{Q("update:pages",t.value),YA(t.value,G=>{oA(G),gA(G)})});const Bg={emit:Q,containerRef:I,focusedDay:g,inTransition:w,navPopoverId:M,dayPopoverId:c,view:i,pages:t,transitionName:r,theme:o,color:C,displayMode:a,locale:Y,masks:R,attributes:CA,disabledAttribute:D,disabledDates:S,attributeContext:JA,days:hA,dayCells:TB,count:V,step:J,firstPage:u,lastPage:y,canMovePrev:IB,canMoveNext:$B,minPage:j,maxPage:z,isMonthly:Z,isWeekly:L,isDaily:IA,navVisibility:k,showWeeknumbers:q,showIsoWeeknumbers:m,getDateAddress:W,canMove:nQ,canMoveBy:NQ,move:AQ,moveBy:BQ,movePrev:QQ,moveNext:EQ,onTransitionBeforeEnter:$,onTransitionAfterEnter:l,tryFocusDate:IQ,focusDate:RQ,onKeydown:ww,onDayKeydown:$I,onDayClick:AE,onDayMouseenter:gw,onDayMouseleave:uE,onDayFocusin:ew,onDayFocusout:_I,onWeeknumberClick:Ag};return E.provide(Ut,Bg),Bg}function UQ(){const A=E.inject(Ut);if(A)return A;throw new Error("Calendar context missing. Please verify this component is nested within a valid context provider.")}const _l=E.defineComponent({inheritAttrs:!1,emits:["before-show","after-show","before-hide","after-hide"],props:{id:{type:[Number,String,Symbol],required:!0},showDelay:{type:Number,default:0},hideDelay:{type:Number,default:110},boundarySelector:{type:String}},setup(A,{emit:B}){let Q;const I=E.ref();let g=null,e=null;const w=E.reactive({isVisible:!1,target:null,data:null,transition:"slide-fade",placement:"bottom",direction:"",positionFixed:!1,modifiers:[],isInteractive:!0,visibility:"click",isHovered:!1,isFocused:!1,autoHide:!1,force:!1});function M(l){l&&(w.direction=l.split("-")[0])}function c({placement:l,options:AA}){M(l||AA?.placement)}const i=E.computed(()=>({placement:w.placement,strategy:w.positionFixed?"fixed":"absolute",boundary:"",modifiers:[{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:c},...w.modifiers||[]],onFirstUpdate:c})),t=E.computed(()=>{const l=w.direction==="left"||w.direction==="right";let AA="";if(w.placement){const W=w.placement.split("-");W.length>1&&(AA=W[1])}return["start","top","left"].includes(AA)?l?"top":"left":["end","bottom","right"].includes(AA)?l?"bottom":"right":l?"middle":"center"});function r(){e&&(e.destroy(),e=null)}function F(){E.nextTick(()=>{const l=YI(w.target);!l||!I.value||(e&&e.state.elements.reference!==l&&r(),e?e.update():e=co(l,I.value,i.value))})}function s(l){Object.assign(w,ai(l,"force"))}function o(l,AA){clearTimeout(Q),l>0?Q=setTimeout(AA,l):AA()}function C(l){return!l||!e?!1:YI(l)===e.state.elements.reference}async function a(l={}){w.force||(l.force&&(w.force=!0),o(l.showDelay??A.showDelay,()=>{w.isVisible&&(w.force=!1),s({...l,isVisible:!0}),F()}))}function Y(l={}){e&&(l.target&&!C(l.target)||w.force||(l.force&&(w.force=!0),o(l.hideDelay??A.hideDelay,()=>{w.isVisible||(w.force=!1),w.isVisible=!1})))}function R(l={}){l.target!=null&&(w.isVisible&&C(l.target)?Y(l):a(l))}function n(l){if(!e)return;const AA=e.state.elements.reference;if(!I.value||!AA)return;const W=l.target;CI(I.value,W)||CI(AA,W)||Y({force:!0})}function h(l){(l.key==="Esc"||l.key==="Escape")&&Y()}function D({detail:l}){!l.id||l.id!==A.id||a(l)}function S({detail:l}){!l.id||l.id!==A.id||Y(l)}function V({detail:l}){!l.id||l.id!==A.id||R(l)}function J(){ZB(document,"keydown",h),ZB(document,"click",n),ZB(document,"show-popover",D),ZB(document,"hide-popover",S),ZB(document,"toggle-popover",V)}function u(){qB(document,"keydown",h),qB(document,"click",n),qB(document,"show-popover",D),qB(document,"hide-popover",S),qB(document,"toggle-popover",V)}function y(l){B("before-show",l)}function j(l){w.force=!1,B("after-show",l)}function z(l){B("before-hide",l)}function k(l){w.force=!1,r(),B("after-hide",l)}function q(l){l.stopPropagation()}function m(){w.isHovered=!0,w.isInteractive&&["hover","hover-focus"].includes(w.visibility)&&a()}function Z(){if(w.isHovered=!1,!e)return;const l=e.state.elements.reference;w.autoHide&&!w.isFocused&&(!l||l!==document.activeElement)&&["hover","hover-focus"].includes(w.visibility)&&Y()}function L(){w.isFocused=!0,w.isInteractive&&["focus","hover-focus"].includes(w.visibility)&&a()}function IA(l){["focus","hover-focus"].includes(w.visibility)&&(!l.relatedTarget||!CI(I.value,l.relatedTarget))&&(w.isFocused=!1,!w.isHovered&&w.autoHide&&Y())}function $(){g!=null&&(g.disconnect(),g=null)}return E.watch(()=>I.value,l=>{$(),l&&(g=new ResizeObserver(()=>{e&&e.update()}),g.observe(l))}),E.watch(()=>w.placement,M,{immediate:!0}),E.onMounted(()=>{J()}),E.onUnmounted(()=>{r(),$(),u()}),{...E.toRefs(w),popoverRef:I,alignment:t,hide:Y,setupPopper:F,beforeEnter:y,afterEnter:j,beforeLeave:z,afterLeave:k,onClick:q,onMouseOver:m,onMouseLeave:Z,onFocusIn:L,onFocusOut:IA}}}),LB=(A,B)=>{const Q=A.__vccOpts||A;for(const[I,g]of B)Q[I]=g;return Q};function $l(A,B,Q,I,g,e){return E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["vc-popover-content-wrapper",{"is-interactive":A.isInteractive}]),ref:"popoverRef",onClick:B[0]||(B[0]=(...w)=>A.onClick&&A.onClick(...w)),onMouseover:B[1]||(B[1]=(...w)=>A.onMouseOver&&A.onMouseOver(...w)),onMouseleave:B[2]||(B[2]=(...w)=>A.onMouseLeave&&A.onMouseLeave(...w)),onFocusin:B[3]||(B[3]=(...w)=>A.onFocusIn&&A.onFocusIn(...w)),onFocusout:B[4]||(B[4]=(...w)=>A.onFocusOut&&A.onFocusOut(...w))},[E.createVNode(E.Transition,{name:`vc-${A.transition}`,appear:"",onBeforeEnter:A.beforeEnter,onAfterEnter:A.afterEnter,onBeforeLeave:A.beforeLeave,onAfterLeave:A.afterLeave},{default:E.withCtx(()=>[A.isVisible?(E.openBlock(),E.createElementBlock("div",E.mergeProps({key:0,tabindex:"-1",class:`vc-popover-content direction-${A.direction}`},A.$attrs),[E.renderSlot(A.$slots,"default",{direction:A.direction,alignment:A.alignment,data:A.data,hide:A.hide},()=>[E.createTextVNode(E.toDisplayString(A.data),1)]),E.createElementVNode("span",{class:E.normalizeClass(["vc-popover-caret",`direction-${A.direction}`,`align-${A.alignment}`])},null,2)],16)):E.createCommentVNode("",!0)]),_:3},8,["name","onBeforeEnter","onAfterEnter","onBeforeLeave","onAfterLeave"])],34)}const Ne=LB(_l,[["render",$l]]),AS={class:"vc-day-popover-row"},BS={key:0,class:"vc-day-popover-row-indicator"},QS={class:"vc-day-popover-row-label"},ES=E.defineComponent({__name:"PopoverRow",props:{attribute:null},setup(A){const B=A,Q=E.computed(()=>{const{content:I,highlight:g,dot:e,bar:w,popover:M}=B.attribute;return M&&M.hideIndicator?null:I?{class:`vc-bar vc-day-popover-row-bar vc-attr vc-${I.base.color}`}:g?{class:`vc-highlight-bg-solid vc-day-popover-row-highlight vc-attr vc-${g.base.color}`}:e?{class:`vc-dot vc-attr vc-${e.base.color}`}:w?{class:`vc-bar vc-day-popover-row-bar vc-attr vc-${w.base.color}`}:null});return(I,g)=>(E.openBlock(),E.createElementBlock("div",AS,[E.unref(Q)?(E.openBlock(),E.createElementBlock("div",BS,[E.createElementVNode("span",{class:E.normalizeClass(E.unref(Q).class)},null,2)])):E.createCommentVNode("",!0),E.createElementVNode("div",QS,[E.renderSlot(I.$slots,"default",{},()=>[E.createTextVNode(E.toDisplayString(A.attribute.popover?A.attribute.popover.label:"No content provided"),1)])])]))}}),IS={inheritAttrs:!1},fA=E.defineComponent({...IS,__name:"CalendarSlot",props:{name:null},setup(A){const Q=st(A.name);return(I,g)=>E.unref(Q)?(E.openBlock(),E.createBlock(E.resolveDynamicComponent(E.unref(Q)),E.normalizeProps(E.mergeProps({key:0},I.$attrs)),null,16)):E.renderSlot(I.$slots,"default",{key:1})}}),gS={class:"vc-day-popover-container"},eS={key:0,class:"vc-day-popover-header"},wS=E.defineComponent({__name:"CalendarDayPopover",setup(A){const{dayPopoverId:B,displayMode:Q,color:I,masks:g,locale:e}=UQ();function w(c,i){return e.value.formatDate(c,i)}function M(c){return e.value.formatDate(c.date,g.value.dayPopover)}return(c,i)=>(E.openBlock(),E.createBlock(Ne,{id:E.unref(B),class:E.normalizeClass([`vc-${E.unref(I)}`,`vc-${E.unref(Q)}`])},{default:E.withCtx(({data:{day:t,attributes:r},hide:F})=>[E.createVNode(fA,{name:"day-popover",day:t,"day-title":M(t),attributes:r,format:w,masks:E.unref(g),hide:F},{default:E.withCtx(()=>[E.createElementVNode("div",gS,[E.unref(g).dayPopover?(E.openBlock(),E.createElementBlock("div",eS,E.toDisplayString(M(t)),1)):E.createCommentVNode("",!0),(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(r,s=>(E.openBlock(),E.createBlock(ES,{key:s.key,attribute:s},null,8,["attribute"]))),128))])]),_:2},1032,["day","day-title","attributes","masks","hide"])]),_:1},8,["id","class"]))}}),MS={},cS={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},iS=[E.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)];function tS(A,B){return E.openBlock(),E.createElementBlock("svg",cS,iS)}const rS=LB(MS,[["render",tS]]),FS={},sS={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},US=[E.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)];function oS(A,B){return E.openBlock(),E.createElementBlock("svg",sS,US)}const YS=LB(FS,[["render",oS]]),CS={},aS={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},hS=[E.createElementVNode("polyline",{points:"6 9 12 15 18 9"},null,-1)];function nS(A,B){return E.openBlock(),E.createElementBlock("svg",aS,hS)}const NS=LB(CS,[["render",nS]]),RS={},DS={fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},GS=[E.createElementVNode("path",{d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1)];function VS(A,B){return E.openBlock(),E.createElementBlock("svg",DS,GS)}const yS=Object.freeze(Object.defineProperty({__proto__:null,IconChevronDown:NS,IconChevronLeft:YS,IconChevronRight:rS,IconClock:LB(RS,[["render",VS]])},Symbol.toStringTag,{value:"Module"})),pQ=E.defineComponent({__name:"BaseIcon",props:{name:{type:String,required:!0},width:{type:String},height:{type:String},size:{type:String,default:"26"},viewBox:{type:String}},setup(A){const B=A,Q=E.computed(()=>B.width||B.size),I=E.computed(()=>B.height||B.size),g=E.computed(()=>yS[`Icon${B.name}`]);return(e,w)=>(E.openBlock(),E.createBlock(E.resolveDynamicComponent(E.unref(g)),{width:E.unref(Q),height:E.unref(I),class:"vc-base-icon"},null,8,["width","height"]))}}),HS=["disabled"],lS={key:1,class:"vc-title-wrapper"},SS={type:"button",class:"vc-title"},zS=["disabled"],ot=E.defineComponent({__name:"CalendarHeader",props:{page:null,layout:null,isLg:{type:Boolean},isXl:{type:Boolean},is2xl:{type:Boolean},hideTitle:{type:Boolean},hideArrows:{type:Boolean}},setup(A){const B=A,{navPopoverId:Q,navVisibility:I,canMovePrev:g,movePrev:e,canMoveNext:w,moveNext:M}=UQ(),c=E.computed(()=>{switch(B.page.titlePosition){case"left":return"bottom-start";case"right":return"bottom-end";default:return"bottom"}}),i=E.computed(()=>{const{page:C}=B;return{id:Q.value,visibility:I.value,placement:c.value,modifiers:[{name:"flip",options:{fallbackPlacements:["bottom"]}}],data:{page:C},isInteractive:!0}}),t=E.computed(()=>B.page.titlePosition.includes("left")),r=E.computed(()=>B.page.titlePosition.includes("right")),F=E.computed(()=>B.layout?B.layout:t.value?"tu-pn":r.value?"pn-tu":"p-tu-n;"),s=E.computed(()=>({prev:F.value.includes("p")&&!B.hideArrows,title:F.value.includes("t")&&!B.hideTitle,next:F.value.includes("n")&&!B.hideArrows})),o=E.computed(()=>({gridTemplateColumns:F.value.split("").map(a=>{switch(a){case"p":return"[prev] auto";case"n":return"[next] auto";case"t":return"[title] auto";case"-":return"1fr";default:return""}}).join(" ")}));return(C,a)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["vc-header",{"is-lg":A.isLg,"is-xl":A.isXl,"is-2xl":A.is2xl}]),style:E.normalizeStyle(E.unref(o))},[E.unref(s).prev?(E.openBlock(),E.createElementBlock("button",{key:0,type:"button",class:"vc-arrow vc-prev vc-focus",disabled:!E.unref(g),onClick:a[0]||(a[0]=(...Y)=>E.unref(e)&&E.unref(e)(...Y)),onKeydown:a[1]||(a[1]=E.withKeys((...Y)=>E.unref(e)&&E.unref(e)(...Y),["space","enter"]))},[E.createVNode(fA,{name:"header-prev-button",disabled:!E.unref(g)},{default:E.withCtx(()=>[E.createVNode(pQ,{name:"ChevronLeft",size:"24"})]),_:1},8,["disabled"])],40,HS)):E.createCommentVNode("",!0),E.unref(s).title?(E.openBlock(),E.createElementBlock("div",lS,[E.createVNode(fA,{name:"header-title-wrapper"},{default:E.withCtx(()=>[E.withDirectives((E.openBlock(),E.createElementBlock("button",SS,[E.createVNode(fA,{name:"header-title",title:A.page.title},{default:E.withCtx(()=>[E.createElementVNode("span",null,E.toDisplayString(A.page.title),1)]),_:1},8,["title"])])),[[E.unref(wt),E.unref(i)]])]),_:1})])):E.createCommentVNode("",!0),E.unref(s).next?(E.openBlock(),E.createElementBlock("button",{key:2,type:"button",class:"vc-arrow vc-next vc-focus",disabled:!E.unref(w),onClick:a[2]||(a[2]=(...Y)=>E.unref(M)&&E.unref(M)(...Y)),onKeydown:a[3]||(a[3]=E.withKeys((...Y)=>E.unref(M)&&E.unref(M)(...Y),["space","enter"]))},[E.createVNode(fA,{name:"header-next-button",disabled:!E.unref(w)},{default:E.withCtx(()=>[E.createVNode(pQ,{name:"ChevronRight",size:"24"})]),_:1},8,["disabled"])],40,zS)):E.createCommentVNode("",!0)],6))}}),Yt=Symbol("__vc_page_context__");function jS(A){const{locale:B,getDateAddress:Q,canMove:I}=UQ();function g(M,c){const{month:i,year:t}=Q(new Date);return $i().map((r,F)=>{const s=F+1;return{month:s,year:M,id:qH(s,M),label:B.value.formatDate(r,c),ariaLabel:B.value.formatDate(r,"MMMM"),isActive:s===A.value.month&&M===A.value.year,isCurrent:s===i&&M===t,isDisabled:!I({month:s,year:M},{position:A.value.position})}})}function e(M,c){const{year:i}=Q(new Date),{position:t}=A.value,r=[];for(let F=M;F<=c;F+=1){const s=[...Array(12).keys()].some(o=>I({month:o+1,year:F},{position:t}));r.push({year:F,id:F.toString(),label:F.toString(),ariaLabel:F.toString(),isActive:F===A.value.year,isCurrent:F===i,isDisabled:!s})}return r}const w={page:A,getMonthItems:g,getYearItems:e};return E.provide(Yt,w),w}function Ct(){const A=E.inject(Yt);if(A)return A;throw new Error("Page context missing. Please verify this component is nested within a valid context provider.")}const xS={class:"vc-nav-header"},JS=["disabled"],dS=["disabled"],TS={class:"vc-nav-items"},kS=["data-id","aria-label","disabled","onClick","onKeydown"],mS=E.defineComponent({__name:"CalendarNav",setup(A){const{masks:B,move:Q}=UQ(),{page:I,getMonthItems:g,getYearItems:e}=Ct(),w=E.ref(!0),M=12,c=E.ref(I.value.year),i=E.ref(F(I.value.year)),t=E.ref(null);function r(){setTimeout(()=>{if(t.value==null)return;const W=t.value.querySelector(".vc-nav-item:not(:disabled)");W&&W.focus()},10)}function F(W){return Math.floor(W/M)}function s(){w.value=!w.value}function o(W){return W*M}function C(W){return M*(W+1)-1}function a(){L.value&&(w.value&&R(),h())}function Y(){IA.value&&(w.value&&n(),D())}function R(){c.value--}function n(){c.value++}function h(){i.value--}function D(){i.value++}const S=E.computed(()=>g(c.value,B.value.navMonths).map(W=>({...W,click:()=>Q({month:W.month,year:W.year},{position:I.value.position})}))),V=E.computed(()=>g(c.value-1,B.value.navMonths)),J=E.computed(()=>V.value.some(W=>!W.isDisabled)),u=E.computed(()=>g(c.value+1,B.value.navMonths)),y=E.computed(()=>u.value.some(W=>!W.isDisabled)),j=E.computed(()=>e(o(i.value),C(i.value)).map(W=>({...W,click:()=>{c.value=W.year,w.value=!0,r()}}))),z=E.computed(()=>e(o(i.value-1),C(i.value-1))),k=E.computed(()=>z.value.some(W=>!W.isDisabled)),q=E.computed(()=>e(o(i.value+1),C(i.value+1))),m=E.computed(()=>q.value.some(W=>!W.isDisabled)),Z=E.computed(()=>w.value?S.value:j.value),L=E.computed(()=>w.value?J.value:k.value),IA=E.computed(()=>w.value?y.value:m.value),$=E.computed(()=>oi(j.value.map(W=>W.year))),l=E.computed(()=>kQ(j.value.map(W=>W.year))),AA=E.computed(()=>w.value?c.value:`${$.value} - ${l.value}`);return E.watchEffect(()=>{c.value=I.value.year,r()}),E.watch(()=>c.value,W=>i.value=F(W)),E.onMounted(()=>r()),(W,oA)=>(E.openBlock(),E.createElementBlock("div",{class:"vc-nav-container",ref_key:"navContainer",ref:t},[E.createElementVNode("div",xS,[E.createElementVNode("button",{type:"button",class:"vc-nav-arrow is-left vc-focus",disabled:!E.unref(L),onClick:a,onKeydown:oA[0]||(oA[0]=gA=>E.unref(aI)(gA,a))},[E.createVNode(fA,{name:"nav-prev-button",move:a,disabled:!E.unref(L)},{default:E.withCtx(()=>[E.createVNode(pQ,{name:"ChevronLeft",width:"22px",height:"24px"})]),_:1},8,["disabled"])],40,JS),E.createElementVNode("button",{type:"button",class:"vc-nav-title vc-focus",onClick:s,onKeydown:oA[1]||(oA[1]=gA=>E.unref(aI)(gA,s))},E.toDisplayString(E.unref(AA)),33),E.createElementVNode("button",{type:"button",class:"vc-nav-arrow is-right vc-focus",disabled:!E.unref(IA),onClick:Y,onKeydown:oA[2]||(oA[2]=gA=>E.unref(aI)(gA,Y))},[E.createVNode(fA,{name:"nav-next-button",move:Y,disabled:!E.unref(IA)},{default:E.withCtx(()=>[E.createVNode(pQ,{name:"ChevronRight",width:"22px",height:"24px"})]),_:1},8,["disabled"])],40,dS)]),E.createElementVNode("div",TS,[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(E.unref(Z),gA=>(E.openBlock(),E.createElementBlock("button",{key:gA.label,type:"button","data-id":gA.id,"aria-label":gA.ariaLabel,class:E.normalizeClass(["vc-nav-item vc-focus",[gA.isActive?"is-active":gA.isCurrent?"is-current":""]]),disabled:gA.isDisabled,onClick:gA.click,onKeydown:YA=>E.unref(aI)(YA,gA.click)},E.toDisplayString(gA.label),43,kS))),128))])],512))}}),at=E.defineComponent({__name:"CalendarPageProvider",props:{page:null},setup(A){const B=A;return jS(E.toRef(B,"page")),(Q,I)=>E.renderSlot(Q.$slots,"default")}}),uS=E.defineComponent({__name:"CalendarNavPopover",setup(A){const{navPopoverId:B,color:Q,displayMode:I}=UQ();return(g,e)=>(E.openBlock(),E.createBlock(Ne,{id:E.unref(B),class:E.normalizeClass(["vc-nav-popover-container",`vc-${E.unref(Q)}`,`vc-${E.unref(I)}`])},{default:E.withCtx(({data:w})=>[E.createVNode(at,{page:w.page},{default:E.withCtx(()=>[E.createVNode(fA,{name:"nav"},{default:E.withCtx(()=>[E.createVNode(mS)]),_:1})]),_:2},1032,["page"])]),_:1},8,["id","class"]))}}),KS=E.defineComponent({directives:{popover:wt},components:{CalendarSlot:fA},props:{day:{type:Object,required:!0}},setup(A){const{locale:B,theme:Q,attributeContext:I,dayPopoverId:g,onDayClick:e,onDayMouseenter:w,onDayMouseleave:M,onDayFocusin:c,onDayFocusout:i,onDayKeydown:t}=UQ(),r=E.computed(()=>A.day),F=E.computed(()=>I.value.getCells(r.value)),s=E.computed(()=>F.value.map(m=>m.data)),o=E.computed(()=>({...r.value,attributes:s.value,attributeCells:F.value}));function C({data:m},{popovers:Z}){const{key:L,customData:IA,popover:$}=m;if(!$)return;const l=Bi({key:L,customData:IA,attribute:m},{...$},{visibility:$.label?"hover":"click",placement:"bottom",isInteractive:!$.label});Z.splice(0,0,l)}const a=E.computed(()=>{const m={...Q.value.prepareRender({}),popovers:[]};return F.value.forEach(Z=>{Q.value.render(Z,m),C(Z,m)}),m}),Y=E.computed(()=>a.value.highlights),R=E.computed(()=>!!DB(Y.value)),n=E.computed(()=>a.value.content),h=E.computed(()=>a.value.dots),D=E.computed(()=>!!DB(h.value)),S=E.computed(()=>a.value.bars),V=E.computed(()=>!!DB(S.value)),J=E.computed(()=>a.value.popovers),u=E.computed(()=>J.value.map(m=>m.attribute)),y=st("day-content"),j=E.computed(()=>["vc-day",...r.value.classes,{"vc-day-box-center-center":!y},{"is-not-in-month":!A.day.inMonth}]),z=E.computed(()=>{let m;r.value.isFocusable?m="0":m="-1";const Z=["vc-day-content vc-focusable vc-focus vc-attr",{"vc-disabled":r.value.isDisabled},FQ(kQ(Y.value),"contentClass"),FQ(kQ(n.value),"class")||""],L={...FQ(kQ(Y.value),"contentStyle"),...FQ(kQ(n.value),"style")};return{class:Z,style:L,tabindex:m,"aria-label":r.value.ariaLabel,"aria-disabled":!!r.value.isDisabled,role:"button"}}),k=E.computed(()=>({click(m){e(o.value,m)},mouseenter(m){w(o.value,m)},mouseleave(m){M(o.value,m)},focusin(m){c(o.value,m)},focusout(m){i(o.value,m)},keydown(m){t(o.value,m)}})),q=E.computed(()=>DB(J.value)?Bi({id:g.value,data:{day:r,attributes:u.value}},...J.value):null);return{attributes:s,attributeCells:F,bars:S,dayClasses:j,dayContentProps:z,dayContentEvents:k,dayPopover:q,glyphs:a,dots:h,hasDots:D,hasBars:V,highlights:Y,hasHighlights:R,locale:B,popovers:J}}}),fS={key:0,class:"vc-highlights vc-day-layer"},WS={key:1,class:"vc-day-layer vc-day-box-center-bottom"},pS={class:"vc-dots"},qS={key:2,class:"vc-day-layer vc-day-box-center-bottom"},ZS={class:"vc-bars"};function OS(A,B,Q,I,g,e){const w=E.resolveComponent("CalendarSlot"),M=E.resolveDirective("popover");return E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(A.dayClasses)},[A.hasHighlights?(E.openBlock(),E.createElementBlock("div",fS,[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.highlights,({key:c,wrapperClass:i,class:t,style:r})=>(E.openBlock(),E.createElementBlock("div",{key:c,class:E.normalizeClass(i)},[E.createElementVNode("div",{class:E.normalizeClass(t),style:E.normalizeStyle(r)},null,6)],2))),128))])):E.createCommentVNode("",!0),E.createVNode(w,{name:"day-content",day:A.day,attributes:A.attributes,"attribute-cells":A.attributeCells,dayProps:A.dayContentProps,dayEvents:A.dayContentEvents,locale:A.locale},{default:E.withCtx(()=>[E.withDirectives((E.openBlock(),E.createElementBlock("div",E.mergeProps(A.dayContentProps,E.toHandlers(A.dayContentEvents,!0)),[E.createTextVNode(E.toDisplayString(A.day.label),1)],16)),[[M,A.dayPopover]])]),_:1},8,["day","attributes","attribute-cells","dayProps","dayEvents","locale"]),A.hasDots?(E.openBlock(),E.createElementBlock("div",WS,[E.createElementVNode("div",pS,[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.dots,({key:c,class:i,style:t})=>(E.openBlock(),E.createElementBlock("span",{key:c,class:E.normalizeClass(i),style:E.normalizeStyle(t)},null,6))),128))])])):E.createCommentVNode("",!0),A.hasBars?(E.openBlock(),E.createElementBlock("div",qS,[E.createElementVNode("div",ZS,[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.bars,({key:c,class:i,style:t})=>(E.openBlock(),E.createElementBlock("span",{key:c,class:E.normalizeClass(i),style:E.normalizeStyle(t)},null,6))),128))])])):E.createCommentVNode("",!0)],2)}const bS=LB(KS,[["render",OS]]),LS={class:"vc-weekdays"},XS=["onClick"],vS={inheritAttrs:!1},PS=E.defineComponent({...vS,__name:"CalendarPage",setup(A){const{page:B}=Ct(),{onWeeknumberClick:Q}=UQ();return(I,g)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["vc-pane",`row-${E.unref(B).row}`,`row-from-end-${E.unref(B).rowFromEnd}`,`column-${E.unref(B).column}`,`column-from-end-${E.unref(B).columnFromEnd}`]),ref:"pane"},[E.createVNode(ot,{page:E.unref(B),"is-lg":"","hide-arrows":""},null,8,["page"]),E.createElementVNode("div",{class:E.normalizeClass(["vc-weeks",{[`vc-show-weeknumbers-${E.unref(B).weeknumberPosition}`]:E.unref(B).weeknumberPosition}])},[E.createElementVNode("div",LS,[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(E.unref(B).weekdays,({weekday:e,label:w},M)=>(E.openBlock(),E.createElementBlock("div",{key:M,class:E.normalizeClass(`vc-weekday vc-weekday-${e}`)},E.toDisplayString(w),3))),128))]),(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(E.unref(B).viewWeeks,e=>(E.openBlock(),E.createElementBlock("div",{key:`weeknumber-${e.weeknumber}`,class:"vc-week"},[E.unref(B).weeknumberPosition?(E.openBlock(),E.createElementBlock("div",{key:0,class:E.normalizeClass(["vc-weeknumber",`is-${E.unref(B).weeknumberPosition}`])},[E.createElementVNode("span",{class:E.normalizeClass(["vc-weeknumber-content"]),onClick:w=>E.unref(Q)(e,w)},E.toDisplayString(e.weeknumberDisplay),9,XS)],2)):E.createCommentVNode("",!0),(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(e.days,w=>(E.openBlock(),E.createBlock(bS,{key:w.id,day:w},null,8,["day"]))),128))]))),128))],2)],2))}}),_S=E.defineComponent({components:{CalendarHeader:ot,CalendarPage:PS,CalendarNavPopover:uS,CalendarDayPopover:wS,CalendarPageProvider:at,CalendarSlot:fA},props:Xl,emit:vl,setup(A,{emit:B,slots:Q}){return Pl(A,{emit:B,slots:Q})}}),$S={class:"vc-pane-header-wrapper"};function Az(A,B,Q,I,g,e){const w=E.resolveComponent("CalendarHeader"),M=E.resolveComponent("CalendarPage"),c=E.resolveComponent("CalendarSlot"),i=E.resolveComponent("CalendarPageProvider"),t=E.resolveComponent("CalendarDayPopover"),r=E.resolveComponent("CalendarNavPopover");return E.openBlock(),E.createElementBlock(E.Fragment,null,[E.createElementVNode("div",E.mergeProps({"data-helptext":"Press the arrow keys to navigate by day, Home and End to navigate to week ends, PageUp and PageDown to navigate by month, Alt+PageUp and Alt+PageDown to navigate by year"},A.$attrs,{class:["vc-container",`vc-${A.view}`,`vc-${A.color}`,`vc-${A.displayMode}`,{"vc-expanded":A.expanded,"vc-bordered":!A.borderless,"vc-transparent":A.transparent}],onMouseup:B[0]||(B[0]=E.withModifiers(()=>{},["prevent"])),ref:"containerRef"}),[E.createElementVNode("div",{class:E.normalizeClass(["vc-pane-container",{"in-transition":A.inTransition}])},[E.createElementVNode("div",$S,[A.firstPage?(E.openBlock(),E.createBlock(w,{key:0,page:A.firstPage,"is-lg":"","hide-title":""},null,8,["page"])):E.createCommentVNode("",!0)]),E.createVNode(E.Transition,{name:`vc-${A.transitionName}`,onBeforeEnter:A.onTransitionBeforeEnter,onAfterEnter:A.onTransitionAfterEnter},{default:E.withCtx(()=>[(E.openBlock(),E.createElementBlock("div",{key:A.pages[0].id,class:"vc-pane-layout",style:E.normalizeStyle({gridTemplateColumns:`repeat(${A.columns}, 1fr)`})},[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.pages,F=>(E.openBlock(),E.createBlock(i,{key:F.id,page:F},{default:E.withCtx(()=>[E.createVNode(c,{name:"page",page:F},{default:E.withCtx(()=>[E.createVNode(M)]),_:2},1032,["page"])]),_:2},1032,["page"]))),128))],4))]),_:1},8,["name","onBeforeEnter","onAfterEnter"]),E.createVNode(c,{name:"footer"})],2)],16),E.createVNode(t),E.createVNode(r)],64)}const Bz=LB(_S,[["render",Az]]),ht=Symbol("__vc_date_picker_context__"),Qz={...it,mode:{type:String,default:"date"},modelValue:{type:[Number,String,Date,Object]},modelModifiers:{type:Object,default:()=>({})},rules:[String,Object],is24hr:Boolean,hideTimeHeader:Boolean,timeAccuracy:{type:Number,default:2},isRequired:Boolean,isRange:Boolean,updateOnInput:{type:Boolean,default:()=>OB("datePicker.updateOnInput")},inputDebounce:{type:Number,default:()=>OB("datePicker.inputDebounce")},popover:{type:[Boolean,Object],default:!0},dragAttribute:Object,selectAttribute:Object,attributes:[Object,Array]},Ez=["update:modelValue","drag","dayclick","daykeydown","popover-will-show","popover-did-show","popover-will-hide","popover-did-hide"];function Iz(A,{emit:B,slots:Q}){Ft(Q,{footer:"dp-footer"});const I=tt(A),{locale:g,masks:e,disabledAttribute:w}=I,M=E.ref(!1),c=E.ref(Symbol()),i=E.ref(null),t=E.ref(null),r=E.ref(["",""]),F=E.ref(null),s=E.ref(null);let o,C,a=!0;const Y=E.computed(()=>A.isRange||A.modelModifiers.range===!0),R=E.computed(()=>Y.value&&i.value!=null?i.value.start:null),n=E.computed(()=>Y.value&&i.value!=null?i.value.end:null),h=E.computed(()=>A.mode.toLowerCase()==="date"),D=E.computed(()=>A.mode.toLowerCase()==="datetime"),S=E.computed(()=>A.mode.toLowerCase()==="time"),V=E.computed(()=>!!t.value),J=E.computed(()=>{let U="date";A.modelModifiers.number&&(U="number"),A.modelModifiers.string&&(U="string");const N=e.value.modelValue||"iso";return oA({type:U,mask:N})}),u=E.computed(()=>NQ(t.value??i.value)),y=E.computed(()=>S.value?A.is24hr?e.value.inputTime24hr:e.value.inputTime:D.value?A.is24hr?e.value.inputDateTime24hr:e.value.inputDateTime:e.value.input),j=E.computed(()=>/[Hh]/g.test(y.value)),z=E.computed(()=>/[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(y.value)),k=E.computed(()=>{if(j.value&&z.value)return"dateTime";if(z.value)return"date";if(j.value)return"time"}),q=E.computed(()=>{var U;const N=((U=F.value)==null?void 0:U.$el.previousElementSibling)??void 0;return NE({},A.popover,OB("datePicker.popover"),{target:N})}),m=E.computed(()=>It({...q.value,id:c.value})),Z=E.computed(()=>Y.value?{start:r.value[0],end:r.value[1]}:r.value[0]),L=E.computed(()=>{const U=["start","end"].map(N=>({input:aB(N),change:hQ(N),keyup:nQ,...A.popover&&m.value}));return Y.value?{start:U[0],end:U[1]}:U[0]}),IA=E.computed(()=>{if(!CA(i.value))return null;const U={key:"select-drag",...A.selectAttribute,dates:i.value,pinPage:!0},{dot:N,bar:d,highlight:O,content:sA}=U;return!N&&!d&&!O&&!sA&&(U.highlight=!0),U}),$=E.computed(()=>{if(!Y.value||!CA(t.value))return null;const U={key:"select-drag",...A.dragAttribute,dates:t.value},{dot:N,bar:d,highlight:O,content:sA}=U;return!N&&!d&&!O&&!sA&&(U.highlight={startEnd:{fillMode:"outline"}}),U}),l=E.computed(()=>{const U=KA(A.attributes)?[...A.attributes]:[];return $.value?U.unshift($.value):IA.value&&U.unshift(IA.value),U}),AA=E.computed(()=>oA(A.rules==="auto"?W():A.rules??{}));function W(){const U={ms:[0,999],sec:[0,59],min:[0,59],hr:[0,23]},N=h.value?0:A.timeAccuracy;return[0,1].map(d=>{switch(N){case 0:return{hours:U.hr[d],minutes:U.min[d],seconds:U.sec[d],milliseconds:U.ms[d]};case 1:return{minutes:U.min[d],seconds:U.sec[d],milliseconds:U.ms[d]};case 3:return{milliseconds:U.ms[d]};case 4:return{};default:return{seconds:U.sec[d],milliseconds:U.ms[d]}}})}function oA(U){return KA(U)?U.length===1?[U[0],U[0]]:U:[U,U]}function gA(U){return oA(U).map((N,d)=>({...N,rules:AA.value[d]}))}function YA(U){return U==null?!1:_A(U)?!isNaN(U):mQ(U)?!isNaN(U.getTime()):FB(U)?U!=="":oe(U)}function hA(U){return RB(U)&&"start"in U&&"end"in U&&YA(U.start??null)&&YA(U.end??null)}function CA(U){return hA(U)||YA(U)}function nA(U,N){if(U==null&&N==null)return!0;if(U==null||N==null)return!1;const d=mQ(U),O=mQ(N);return d&&O?U.getTime()===N.getTime():d||O?!1:nA(U.start,N.start)&&nA(U.end,N.end)}function JA(U){return!CA(U)||!w.value?!1:w.value.intersectsRange(g.value.range(U))}function TB(U,N,d,O){if(!CA(U))return null;if(hA(U)){const sA=g.value.toDate(U.start,{...N[0],fillDate:R.value??void 0,patch:d}),yA=g.value.toDate(U.end,{...N[1],fillDate:n.value??void 0,patch:d});return _I({start:sA,end:yA},O)}return g.value.toDateOrNull(U,{...N[0],fillDate:i.value,patch:d})}function EB(U,N){return hA(U)?{start:g.value.fromDate(U.start,N[0]),end:g.value.fromDate(U.end,N[1])}:Y.value?null:g.value.fromDate(U,N[0])}function ZA(U,N={}){return clearTimeout(o),new Promise(d=>{const{debounce:O=0,...sA}=N;O>0?o=window.setTimeout(()=>{d(OA(U,sA))},O):d(OA(U,sA))})}function OA(U,{config:N=J.value,patch:d="dateTime",clearIfEqual:O=!1,formatInput:sA=!0,hidePopover:yA=!1,dragging:dA=V.value,targetPriority:BE,moveToValue:QE=!1}={}){const Mw=gA(N);let zA=TB(U,Mw,d,BE);if(JA(zA)){if(dA)return null;zA=i.value,yA=!1}else zA==null&&A.isRequired?zA=i.value:zA!=null&&nA(i.value,zA)&&O&&(zA=null);const Qg=dA?t:i,KE=!nA(Qg.value,zA);Qg.value=zA,dA||(t.value=null);const fE=EB(zA,J.value);return KE&&(a=!1,B(dA?"drag":"update:modelValue",fE),E.nextTick(()=>a=!0)),yA&&!dA&&uE(),sA&&_B(),QE&&E.nextTick(()=>Ag(BE??"start")),fE}function _B(){E.nextTick(()=>{const U=gA({type:"string",mask:y.value}),N=EB(t.value??i.value,U);Y.value?r.value=[N&&N.start,N&&N.end]:r.value=[N,""]})}function $Q(U,N,d){r.value.splice(N==="start"?0:1,1,U);const O=Y.value?{start:r.value[0],end:r.value[1]||r.value[0]}:U,sA={type:"string",mask:y.value};ZA(O,{...d,config:sA,patch:k.value,targetPriority:N,moveToValue:!0})}function aB(U){return N=>{A.updateOnInput&&$Q(N.currentTarget.value,U,{formatInput:!1,hidePopover:!1,debounce:A.inputDebounce})}}function hQ(U){return N=>{$Q(N.currentTarget.value,U,{formatInput:!0,hidePopover:!1})}}function nQ(U){U.key==="Escape"&&ZA(i.value,{formatInput:!0,hidePopover:!0})}function NQ(U){return Y.value?[U&&U.start?g.value.getDateParts(U.start):null,U&&U.end?g.value.getDateParts(U.end):null]:[U?g.value.getDateParts(U):null]}function IB(){t.value=null,_B()}function $B(U){B("popover-will-show",U)}function AQ(U){B("popover-did-show",U)}function BQ(U){IB(),B("popover-will-hide",U)}function QQ(U){B("popover-did-hide",U)}function EQ(U){const N={patch:"date",formatInput:!0,hidePopover:!0};if(Y.value){const d=!V.value;d?C={start:U.startDate,end:U.endDate}:C!=null&&(C.end=U.date),ZA(C,{...N,dragging:d})}else ZA(U.date,{...N,clearIfEqual:!A.isRequired})}function IQ(U,N){EQ(U),B("dayclick",U,N)}function RQ(U,N){switch(N.key){case" ":case"Enter":{EQ(U),N.preventDefault();break}case"Escape":uE()}B("daykeydown",U,N)}function AE(U,N){!V.value||C==null||(C.end=U.date,ZA(_I(C),{patch:"date",formatInput:!0}))}function gw(U={}){ae({...q.value,...U,isInteractive:!0,id:c.value})}function uE(U={}){VE({hideDelay:10,force:!0,...q.value,...U,id:c.value})}function ew(U){Et({...q.value,...U,isInteractive:!0,id:c.value})}function _I(U,N){const{start:d,end:O}=U;if(d>O)switch(N){case"start":return{start:d,end:d};case"end":return{start:O,end:O};default:return{start:O,end:d}}return{start:d,end:O}}async function $I(U,N={}){return s.value==null?!1:s.value.move(U,N)}async function ww(U,N={}){return s.value==null?!1:s.value.moveBy(U,N)}async function Ag(U,N={}){const d=i.value;if(s.value==null||!CA(d))return!1;const O=U!=="end",sA=O?1:-1,yA=hA(d)?O?d.start:d.end:d,dA=xi(yA,"monthly",g.value);return s.value.move(dA,{position:sA,...N})}E.watch(()=>A.isRange,U=>{U&&console.warn("The `is-range` prop will be deprecated in future releases. Please use the `range` modifier.")},{immediate:!0}),E.watch(()=>Y.value,()=>{OA(null,{formatInput:!0})}),E.watch(()=>y.value,()=>_B()),E.watch(()=>A.modelValue,U=>{a&&OA(U,{formatInput:!0,hidePopover:!1})}),E.watch(()=>AA.value,()=>{RB(A.rules)&&OA(A.modelValue,{formatInput:!0,hidePopover:!1})}),E.watch(()=>A.timezone,()=>{OA(i.value,{formatInput:!0})});const Bg=oA(J.value);i.value=TB(A.modelValue??null,Bg,"dateTime"),E.onMounted(()=>{OA(A.modelValue,{formatInput:!0,hidePopover:!1})}),E.nextTick(()=>M.value=!0);const G={...I,showCalendar:M,datePickerPopoverId:c,popoverRef:F,popoverEvents:m,calendarRef:s,isRange:Y,isTimeMode:S,isDateTimeMode:D,is24hr:E.toRef(A,"is24hr"),hideTimeHeader:E.toRef(A,"hideTimeHeader"),timeAccuracy:E.toRef(A,"timeAccuracy"),isDragging:V,inputValue:Z,inputEvents:L,dateParts:u,attributes:l,rules:AA,move:$I,moveBy:ww,moveToValue:Ag,updateValue:ZA,showPopover:gw,hidePopover:uE,togglePopover:ew,onDayClick:IQ,onDayKeydown:RQ,onDayMouseEnter:AE,onPopoverBeforeShow:$B,onPopoverAfterShow:AQ,onPopoverBeforeHide:BQ,onPopoverAfterHide:QQ};return E.provide(ht,G),G}function Re(){const A=E.inject(ht);if(A)return A;throw new Error("DatePicker context missing. Please verify this component is nested within a valid context provider.")}const gz=[{value:0,label:"12"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"},{value:6,label:"6"},{value:7,label:"7"},{value:8,label:"8"},{value:9,label:"9"},{value:10,label:"10"},{value:11,label:"11"}],ez=[{value:12,label:"12"},{value:13,label:"1"},{value:14,label:"2"},{value:15,label:"3"},{value:16,label:"4"},{value:17,label:"5"},{value:18,label:"6"},{value:19,label:"7"},{value:20,label:"8"},{value:21,label:"9"},{value:22,label:"10"},{value:23,label:"11"}];function wz(A){const B=Re(),{locale:Q,isRange:I,isTimeMode:g,dateParts:e,rules:w,is24hr:M,hideTimeHeader:c,timeAccuracy:i,updateValue:t}=B;function r(z){z=Object.assign(s.value,z);let k=null;if(I.value){const q=F.value?z:e.value[0],m=F.value?e.value[1]:z;k={start:q,end:m}}else k=z;t(k,{patch:"time",targetPriority:F.value?"start":"end",moveToValue:!0})}const F=E.computed(()=>A.position===0),s=E.computed(()=>e.value[A.position]||{isValid:!1}),o=E.computed(()=>oe(s.value)),C=E.computed(()=>!!s.value.isValid),a=E.computed(()=>!c.value&&C.value),Y=E.computed(()=>{if(!o.value)return null;let z=Q.value.toDate(s.value);return s.value.hours===24&&(z=new Date(z.getTime()-1)),z}),R=E.computed({get(){return s.value.hours},set(z){r({hours:z})}}),n=E.computed({get(){return s.value.minutes},set(z){r({minutes:z})}}),h=E.computed({get(){return s.value.seconds},set(z){r({seconds:z})}}),D=E.computed({get(){return s.value.milliseconds},set(z){r({milliseconds:z})}}),S=E.computed({get(){return s.value.hours<12},set(z){z=String(z).toLowerCase()=="true";let k=R.value;z&&k>=12?k-=12:!z&&k<12&&(k+=12),r({hours:k})}}),V=E.computed(()=>Sl(s.value,w.value[A.position])),J=E.computed(()=>gz.filter(z=>V.value.hours.some(k=>k.value===z.value))),u=E.computed(()=>ez.filter(z=>V.value.hours.some(k=>k.value===z.value))),y=E.computed(()=>M.value?V.value.hours:S.value?J.value:u.value),j=E.computed(()=>{const z=[];return DB(J.value)&&z.push({value:!0,label:"AM"}),DB(u.value)&&z.push({value:!1,label:"PM"}),z});return{...B,showHeader:a,timeAccuracy:i,parts:s,isValid:C,date:Y,hours:R,minutes:n,seconds:h,milliseconds:D,options:V,hourOptions:y,isAM:S,isAMOptions:j,is24hr:M}}const Mz=["value"],cz=["value","disabled"],iz={key:1,class:"vc-base-sizer","aria-hidden":"true"},tz={inheritAttrs:!1},yE=E.defineComponent({...tz,__name:"BaseSelect",props:{options:null,modelValue:null,alignRight:{type:Boolean},alignLeft:{type:Boolean},showIcon:{type:Boolean},fitContent:{type:Boolean}},emits:["update:modelValue"],setup(A){const B=A,Q=E.computed(()=>{const I=B.options.find(g=>g.value===B.modelValue);return I?.label});return(I,g)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["vc-base-select",{"vc-fit-content":A.fitContent,"vc-has-icon":A.showIcon}])},[E.createElementVNode("select",E.mergeProps(I.$attrs,{value:A.modelValue,class:["vc-focus",{"vc-align-right":A.alignRight,"vc-align-left":A.alignLeft}],onChange:g[0]||(g[0]=e=>I.$emit("update:modelValue",e.target.value))}),[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.options,e=>(E.openBlock(),E.createElementBlock("option",{key:e.value,value:e.value,disabled:e.disabled},E.toDisplayString(e.label),9,cz))),128))],16,Mz),A.showIcon?(E.openBlock(),E.createBlock(pQ,{key:0,name:"ChevronDown",size:"18"})):E.createCommentVNode("",!0),A.fitContent?(E.openBlock(),E.createElementBlock("div",iz,E.toDisplayString(E.unref(Q)),1)):E.createCommentVNode("",!0)],2))}}),rz={key:0,class:"vc-time-header"},Fz={class:"vc-time-weekday"},sz={class:"vc-time-month"},Uz={class:"vc-time-day"},oz={class:"vc-time-year"},Yz={class:"vc-time-select-group"},Cz=E.createElementVNode("span",{class:"vc-time-colon"},":",-1),az=E.createElementVNode("span",{class:"vc-time-colon"},":",-1),hz=E.createElementVNode("span",{class:"vc-time-decimal"},".",-1),nt=E.defineComponent({__name:"TimePicker",props:{position:null},setup(A,{expose:B}){const I=wz(A);B(I);const{locale:g,isValid:e,date:w,hours:M,minutes:c,seconds:i,milliseconds:t,options:r,hourOptions:F,isTimeMode:s,isAM:o,isAMOptions:C,is24hr:a,showHeader:Y,timeAccuracy:R}=I;return(n,h)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["vc-time-picker",[{"vc-invalid":!E.unref(e),"vc-attached":!E.unref(s)}]])},[E.createVNode(fA,{name:"time-header"},{default:E.withCtx(()=>[E.unref(Y)&&E.unref(w)?(E.openBlock(),E.createElementBlock("div",rz,[E.createElementVNode("span",Fz,E.toDisplayString(E.unref(g).formatDate(E.unref(w),"WWW")),1),E.createElementVNode("span",sz,E.toDisplayString(E.unref(g).formatDate(E.unref(w),"MMM")),1),E.createElementVNode("span",Uz,E.toDisplayString(E.unref(g).formatDate(E.unref(w),"D")),1),E.createElementVNode("span",oz,E.toDisplayString(E.unref(g).formatDate(E.unref(w),"YYYY")),1)])):E.createCommentVNode("",!0)]),_:1}),E.createElementVNode("div",Yz,[E.createVNode(pQ,{name:"Clock",size:"17"}),E.createVNode(yE,{modelValue:E.unref(M),"onUpdate:modelValue":h[0]||(h[0]=D=>E.isRef(M)?M.value=D:null),modelModifiers:{number:!0},options:E.unref(F),class:"vc-time-select-hours","align-right":""},null,8,["modelValue","options"]),E.unref(R)>1?(E.openBlock(),E.createElementBlock(E.Fragment,{key:0},[Cz,E.createVNode(yE,{modelValue:E.unref(c),"onUpdate:modelValue":h[1]||(h[1]=D=>E.isRef(c)?c.value=D:null),modelModifiers:{number:!0},options:E.unref(r).minutes,class:"vc-time-select-minutes","align-left":E.unref(R)===2},null,8,["modelValue","options","align-left"])],64)):E.createCommentVNode("",!0),E.unref(R)>2?(E.openBlock(),E.createElementBlock(E.Fragment,{key:1},[az,E.createVNode(yE,{modelValue:E.unref(i),"onUpdate:modelValue":h[2]||(h[2]=D=>E.isRef(i)?i.value=D:null),modelModifiers:{number:!0},options:E.unref(r).seconds,class:"vc-time-select-seconds","align-left":E.unref(R)===3},null,8,["modelValue","options","align-left"])],64)):E.createCommentVNode("",!0),E.unref(R)>3?(E.openBlock(),E.createElementBlock(E.Fragment,{key:2},[hz,E.createVNode(yE,{modelValue:E.unref(t),"onUpdate:modelValue":h[3]||(h[3]=D=>E.isRef(t)?t.value=D:null),modelModifiers:{number:!0},options:E.unref(r).milliseconds,class:"vc-time-select-milliseconds","align-left":""},null,8,["modelValue","options"])],64)):E.createCommentVNode("",!0),E.unref(a)?E.createCommentVNode("",!0):(E.openBlock(),E.createBlock(yE,{key:3,modelValue:E.unref(o),"onUpdate:modelValue":h[4]||(h[4]=D=>E.isRef(o)?o.value=D:null),options:E.unref(C)},null,8,["modelValue","options"]))])],2))}}),Nt=E.defineComponent({__name:"DatePickerBase",setup(A){const{attributes:B,calendarRef:Q,color:I,displayMode:g,isDateTimeMode:e,isTimeMode:w,isRange:M,onDayClick:c,onDayMouseEnter:i,onDayKeydown:t}=Re(),r=M.value?[0,1]:[0];return(F,s)=>E.unref(w)?(E.openBlock(),E.createElementBlock("div",{key:0,class:E.normalizeClass(`vc-container vc-bordered vc-${E.unref(I)} vc-${E.unref(g)}`)},[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(E.unref(r),o=>(E.openBlock(),E.createBlock(nt,{key:o,position:o},null,8,["position"]))),128))],2)):(E.openBlock(),E.createBlock(Bz,{key:1,attributes:E.unref(B),ref_key:"calendarRef",ref:Q,onDayclick:E.unref(c),onDaymouseenter:E.unref(i),onDaykeydown:E.unref(t)},{footer:E.withCtx(()=>[E.unref(e)?(E.openBlock(!0),E.createElementBlock(E.Fragment,{key:0},E.renderList(E.unref(r),o=>(E.openBlock(),E.createBlock(nt,{key:o,position:o},null,8,["position"]))),128)):E.createCommentVNode("",!0),E.createVNode(fA,{name:"dp-footer"})]),_:1},8,["attributes","onDayclick","onDaymouseenter","onDaykeydown"]))}}),nz={inheritAttrs:!1},Nz=E.defineComponent({...nz,__name:"DatePickerPopover",setup(A){const{datePickerPopoverId:B,color:Q,displayMode:I,popoverRef:g,onPopoverBeforeShow:e,onPopoverAfterShow:w,onPopoverBeforeHide:M,onPopoverAfterHide:c}=Re();return(i,t)=>(E.openBlock(),E.createBlock(Ne,{id:E.unref(B),placement:"bottom-start",class:E.normalizeClass(`vc-date-picker-content vc-${E.unref(Q)} vc-${E.unref(I)}`),ref_key:"popoverRef",ref:g,onBeforeShow:E.unref(e),onAfterShow:E.unref(w),onBeforeHide:E.unref(M),onAfterHide:E.unref(c)},{default:E.withCtx(()=>[E.createVNode(Nt,E.normalizeProps(E.guardReactiveProps(i.$attrs)),null,16)]),_:1},8,["id","class","onBeforeShow","onAfterShow","onBeforeHide","onAfterHide"]))}}),Rz=E.defineComponent({inheritAttrs:!1,emits:Ez,props:Qz,components:{DatePickerBase:Nt,DatePickerPopover:Nz},setup(A,B){const Q=Iz(A,B),I=E.reactive(ai(Q,"calendarRef","popoverRef"));return{...Q,slotCtx:I}}});function Dz(A,B,Q,I,g,e){const w=E.resolveComponent("DatePickerPopover"),M=E.resolveComponent("DatePickerBase");return A.$slots.default?(E.openBlock(),E.createElementBlock(E.Fragment,{key:0},[E.renderSlot(A.$slots,"default",E.normalizeProps(E.guardReactiveProps(A.slotCtx))),E.createVNode(w,E.normalizeProps(E.guardReactiveProps(A.$attrs)),null,16)],64)):(E.openBlock(),E.createBlock(M,E.normalizeProps(E.mergeProps({key:1},A.$attrs)),null,16))}const Rt=LB(Rz,[["render",Dz]]);var Dt;function x(){return Dt.apply(null,arguments)}function Gz(A){Dt=A}function $A(A){return A instanceof Array||Object.prototype.toString.call(A)==="[object Array]"}function oQ(A){return A!=null&&Object.prototype.toString.call(A)==="[object Object]"}function QA(A,B){return Object.prototype.hasOwnProperty.call(A,B)}function De(A){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(A).length===0;var B;for(B in A)if(QA(A,B))return!1;return!0}function SA(A){return A===void 0}function yB(A){return typeof A=="number"||Object.prototype.toString.call(A)==="[object Number]"}function HE(A){return A instanceof Date||Object.prototype.toString.call(A)==="[object Date]"}function Gt(A,B){var Q=[],I,g=A.length;for(I=0;I<g;++I)Q.push(B(A[I],I));return Q}function XB(A,B){for(var Q in B)QA(B,Q)&&(A[Q]=B[Q]);return QA(B,"toString")&&(A.toString=B.toString),QA(B,"valueOf")&&(A.valueOf=B.valueOf),A}function UB(A,B,Q,I){return _t(A,B,Q,I,!0).utc()}function Vz(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function b(A){return A._pf==null&&(A._pf=Vz()),A._pf}var Ge;Array.prototype.some?Ge=Array.prototype.some:Ge=function(A){var B=Object(this),Q=B.length>>>0,I;for(I=0;I<Q;I++)if(I in B&&A.call(this,B[I],I,B))return!0;return!1};function Ve(A){var B=null,Q=!1,I=A._d&&!isNaN(A._d.getTime());if(I&&(B=b(A),Q=Ge.call(B.parsedDateParts,function(g){return g!=null}),I=B.overflow<0&&!B.empty&&!B.invalidEra&&!B.invalidMonth&&!B.invalidWeekday&&!B.weekdayMismatch&&!B.nullInput&&!B.invalidFormat&&!B.userInvalidated&&(!B.meridiem||B.meridiem&&Q),A._strict&&(I=I&&B.charsLeftOver===0&&B.unusedTokens.length===0&&B.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(A))A._isValid=I;else return I;return A._isValid}function SI(A){var B=UB(NaN);return A!=null?XB(b(B),A):b(B).userInvalidated=!0,B}var Vt=x.momentProperties=[],ye=!1;function He(A,B){var Q,I,g,e=Vt.length;if(SA(B._isAMomentObject)||(A._isAMomentObject=B._isAMomentObject),SA(B._i)||(A._i=B._i),SA(B._f)||(A._f=B._f),SA(B._l)||(A._l=B._l),SA(B._strict)||(A._strict=B._strict),SA(B._tzm)||(A._tzm=B._tzm),SA(B._isUTC)||(A._isUTC=B._isUTC),SA(B._offset)||(A._offset=B._offset),SA(B._pf)||(A._pf=b(B)),SA(B._locale)||(A._locale=B._locale),e>0)for(Q=0;Q<e;Q++)I=Vt[Q],g=B[I],SA(g)||(A[I]=g);return A}function lE(A){He(this,A),this._d=new Date(A._d!=null?A._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ye===!1&&(ye=!0,x.updateOffset(this),ye=!1)}function AB(A){return A instanceof lE||A!=null&&A._isAMomentObject!=null}function yt(A){x.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+A)}function WA(A,B){var Q=!0;return XB(function(){if(x.deprecationHandler!=null&&x.deprecationHandler(null,A),Q){var I=[],g,e,w,M=arguments.length;for(e=0;e<M;e++){if(g="",typeof arguments[e]=="object"){g+=`
|
|
3
3
|
[`+e+"] ";for(w in arguments[0])QA(arguments[0],w)&&(g+=w+": "+arguments[0][w]+", ");g=g.slice(0,-2)}else g=arguments[e];I.push(g)}yt(A+`
|
|
4
4
|
Arguments: `+Array.prototype.slice.call(I).join("")+`
|
|
5
|
-
`+new Error().stack),Q=!1}return B.apply(this,arguments)},B)}var Ht={};function lt(A,B){x.deprecationHandler!=null&&x.deprecationHandler(A,B),Ht[A]||(yt(B),Ht[A]=!0)}x.suppressDeprecationWarnings=!1,x.deprecationHandler=null;function oB(A){return typeof Function<"u"&&A instanceof Function||Object.prototype.toString.call(A)==="[object Function]"}function yz(A){var B,Q;for(Q in A)QA(A,Q)&&(B=A[Q],oB(B)?this[Q]=B:this["_"+Q]=B);this._config=A,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function le(A,B){var Q=XB({},A),I;for(I in B)QA(B,I)&&(oQ(A[I])&&oQ(B[I])?(Q[I]={},XB(Q[I],A[I]),XB(Q[I],B[I])):B[I]!=null?Q[I]=B[I]:delete Q[I]);for(I in A)QA(A,I)&&!QA(B,I)&&oQ(A[I])&&(Q[I]=XB({},Q[I]));return Q}function Se(A){A!=null&&this.set(A)}var ze;Object.keys?ze=Object.keys:ze=function(A){var B,Q=[];for(B in A)QA(A,B)&&Q.push(B);return Q};var Hz={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function lz(A,B,Q){var I=this._calendar[A]||this._calendar.sameElse;return oB(I)?I.call(B,Q):I}function YB(A,B,Q){var I=""+Math.abs(A),g=B-I.length,e=A>=0;return(e?Q?"+":"":"-")+Math.pow(10,Math.max(0,g)).toString().substr(1)+I}var je=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,zI=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xe={},qQ={};function f(A,B,Q,I){var g=I;typeof I=="string"&&(g=function(){return this[I]()}),A&&(qQ[A]=g),B&&(qQ[B[0]]=function(){return YB(g.apply(this,arguments),B[1],B[2])}),Q&&(qQ[Q]=function(){return this.localeData().ordinal(g.apply(this,arguments),A)})}function Sz(A){return A.match(/\[[\s\S]/)?A.replace(/^\[|\]$/g,""):A.replace(/\\/g,"")}function zz(A){var B=A.match(je),Q,I;for(Q=0,I=B.length;Q<I;Q++)qQ[B[Q]]?B[Q]=qQ[B[Q]]:B[Q]=Sz(B[Q]);return function(g){var e="",w;for(w=0;w<I;w++)e+=oB(B[w])?B[w].call(g,A):B[w];return e}}function jI(A,B){return A.isValid()?(B=St(B,A.localeData()),xe[B]=xe[B]||zz(B),xe[B](A)):A.localeData().invalidDate()}function St(A,B){var Q=5;function I(g){return B.longDateFormat(g)||g}for(zI.lastIndex=0;Q>=0&&zI.test(A);)A=A.replace(zI,I),zI.lastIndex=0,Q-=1;return A}var jz={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function xz(A){var B=this._longDateFormat[A],Q=this._longDateFormat[A.toUpperCase()];return B||!Q?B:(this._longDateFormat[A]=Q.match(je).map(function(I){return I==="MMMM"||I==="MM"||I==="DD"||I==="dddd"?I.slice(1):I}).join(""),this._longDateFormat[A])}var Jz="Invalid date";function dz(){return this._invalidDate}var Tz="%d",kz=/\d{1,2}/;function mz(A){return this._ordinal.replace("%d",A)}var uz={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Kz(A,B,Q,I){var g=this._relativeTime[Q];return oB(g)?g(A,B,Q,I):g.replace(/%d/i,A)}function fz(A,B){var Q=this._relativeTime[A>0?"future":"past"];return oB(Q)?Q(B):Q.replace(/%s/i,B)}var zt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function pA(A){return typeof A=="string"?zt[A]||zt[A.toLowerCase()]:void 0}function Je(A){var B={},Q,I;for(I in A)QA(A,I)&&(Q=pA(I),Q&&(B[Q]=A[I]));return B}var Wz={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function pz(A){var B=[],Q;for(Q in A)QA(A,Q)&&B.push({unit:Q,priority:Wz[Q]});return B.sort(function(I,g){return I.priority-g.priority}),B}var jt=/\d/,xA=/\d\d/,xt=/\d{3}/,de=/\d{4}/,xI=/[+-]?\d{6}/,tA=/\d\d?/,Jt=/\d\d\d\d?/,dt=/\d\d\d\d\d\d?/,JI=/\d{1,3}/,Te=/\d{1,4}/,dI=/[+-]?\d{1,6}/,ZQ=/\d+/,TI=/[+-]?\d+/,qz=/Z|[+-]\d\d:?\d\d/gi,kI=/Z|[+-]\d\d(?::?\d\d)?/gi,Zz=/[+-]?\d+(\.\d{1,3})?/,SE=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,OQ=/^[1-9]\d?/,ke=/^([1-9]\d|\d)/,mI;mI={};function T(A,B,Q){mI[A]=oB(B)?B:function(I,g){return I&&Q?Q:B}}function Oz(A,B){return QA(mI,A)?mI[A](B._strict,B._locale):new RegExp(bz(A))}function bz(A){return HB(A.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(B,Q,I,g,e){return Q||I||g||e}))}function HB(A){return A.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function qA(A){return A<0?Math.ceil(A)||0:Math.floor(A)}function X(A){var B=+A,Q=0;return B!==0&&isFinite(B)&&(Q=qA(B)),Q}var me={};function MA(A,B){var Q,I=B,g;for(typeof A=="string"&&(A=[A]),yB(B)&&(I=function(e,w){w[B]=X(e)}),g=A.length,Q=0;Q<g;Q++)me[A[Q]]=I}function zE(A,B){MA(A,function(Q,I,g,e){g._w=g._w||{},B(Q,g._w,g,e)})}function Lz(A,B,Q){B!=null&&QA(me,A)&&me[A](B,Q._a,Q,A)}function uI(A){return A%4===0&&A%100!==0||A%400===0}var DA=0,lB=1,CB=2,aA=3,BB=4,SB=5,YQ=6,Xz=7,vz=8;f("Y",0,0,function(){var A=this.year();return A<=9999?YB(A,4):"+"+A}),f(0,["YY",2],0,function(){return this.year()%100}),f(0,["YYYY",4],0,"year"),f(0,["YYYYY",5],0,"year"),f(0,["YYYYYY",6,!0],0,"year"),T("Y",TI),T("YY",tA,xA),T("YYYY",Te,de),T("YYYYY",dI,xI),T("YYYYYY",dI,xI),MA(["YYYYY","YYYYYY"],DA),MA("YYYY",function(A,B){B[DA]=A.length===2?x.parseTwoDigitYear(A):X(A)}),MA("YY",function(A,B){B[DA]=x.parseTwoDigitYear(A)}),MA("Y",function(A,B){B[DA]=parseInt(A,10)});function jE(A){return uI(A)?366:365}x.parseTwoDigitYear=function(A){return X(A)+(X(A)>68?1900:2e3)};var Tt=bQ("FullYear",!0);function Pz(){return uI(this.year())}function bQ(A,B){return function(Q){return Q!=null?(kt(this,A,Q),x.updateOffset(this,B),this):xE(this,A)}}function xE(A,B){if(!A.isValid())return NaN;var Q=A._d,I=A._isUTC;switch(B){case"Milliseconds":return I?Q.getUTCMilliseconds():Q.getMilliseconds();case"Seconds":return I?Q.getUTCSeconds():Q.getSeconds();case"Minutes":return I?Q.getUTCMinutes():Q.getMinutes();case"Hours":return I?Q.getUTCHours():Q.getHours();case"Date":return I?Q.getUTCDate():Q.getDate();case"Day":return I?Q.getUTCDay():Q.getDay();case"Month":return I?Q.getUTCMonth():Q.getMonth();case"FullYear":return I?Q.getUTCFullYear():Q.getFullYear();default:return NaN}}function kt(A,B,Q){var I,g,e,w,M;if(!(!A.isValid()||isNaN(Q))){switch(I=A._d,g=A._isUTC,B){case"Milliseconds":return void(g?I.setUTCMilliseconds(Q):I.setMilliseconds(Q));case"Seconds":return void(g?I.setUTCSeconds(Q):I.setSeconds(Q));case"Minutes":return void(g?I.setUTCMinutes(Q):I.setMinutes(Q));case"Hours":return void(g?I.setUTCHours(Q):I.setHours(Q));case"Date":return void(g?I.setUTCDate(Q):I.setDate(Q));case"FullYear":break;default:return}e=Q,w=A.month(),M=A.date(),M=M===29&&w===1&&!uI(e)?28:M,g?I.setUTCFullYear(e,w,M):I.setFullYear(e,w,M)}}function _z(A){return A=pA(A),oB(this[A])?this[A]():this}function $z(A,B){if(typeof A=="object"){A=Je(A);var Q=pz(A),I,g=Q.length;for(I=0;I<g;I++)this[Q[I].unit](A[Q[I].unit])}else if(A=pA(A),oB(this[A]))return this[A](B);return this}function A0(A,B){return(A%B+B)%B}var UA;Array.prototype.indexOf?UA=Array.prototype.indexOf:UA=function(A){var B;for(B=0;B<this.length;++B)if(this[B]===A)return B;return-1};function ue(A,B){if(isNaN(A)||isNaN(B))return NaN;var Q=A0(B,12);return A+=(B-Q)/12,Q===1?uI(A)?29:28:31-Q%7%2}f("M",["MM",2],"Mo",function(){return this.month()+1}),f("MMM",0,0,function(A){return this.localeData().monthsShort(this,A)}),f("MMMM",0,0,function(A){return this.localeData().months(this,A)}),T("M",tA,OQ),T("MM",tA,xA),T("MMM",function(A,B){return B.monthsShortRegex(A)}),T("MMMM",function(A,B){return B.monthsRegex(A)}),MA(["M","MM"],function(A,B){B[lB]=X(A)-1}),MA(["MMM","MMMM"],function(A,B,Q,I){var g=Q._locale.monthsParse(A,I,Q._strict);g!=null?B[lB]=g:b(Q).invalidMonth=A});var B0="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ut=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Q0=SE,E0=SE;function I0(A,B){return A?$A(this._months)?this._months[A.month()]:this._months[(this._months.isFormat||ut).test(B)?"format":"standalone"][A.month()]:$A(this._months)?this._months:this._months.standalone}function g0(A,B){return A?$A(this._monthsShort)?this._monthsShort[A.month()]:this._monthsShort[ut.test(B)?"format":"standalone"][A.month()]:$A(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function e0(A,B,Q){var I,g,e,w=A.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],I=0;I<12;++I)e=UB([2e3,I]),this._shortMonthsParse[I]=this.monthsShort(e,"").toLocaleLowerCase(),this._longMonthsParse[I]=this.months(e,"").toLocaleLowerCase();return Q?B==="MMM"?(g=UA.call(this._shortMonthsParse,w),g!==-1?g:null):(g=UA.call(this._longMonthsParse,w),g!==-1?g:null):B==="MMM"?(g=UA.call(this._shortMonthsParse,w),g!==-1?g:(g=UA.call(this._longMonthsParse,w),g!==-1?g:null)):(g=UA.call(this._longMonthsParse,w),g!==-1?g:(g=UA.call(this._shortMonthsParse,w),g!==-1?g:null))}function w0(A,B,Q){var I,g,e;if(this._monthsParseExact)return e0.call(this,A,B,Q);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),I=0;I<12;I++){if(g=UB([2e3,I]),Q&&!this._longMonthsParse[I]&&(this._longMonthsParse[I]=new RegExp("^"+this.months(g,"").replace(".","")+"$","i"),this._shortMonthsParse[I]=new RegExp("^"+this.monthsShort(g,"").replace(".","")+"$","i")),!Q&&!this._monthsParse[I]&&(e="^"+this.months(g,"")+"|^"+this.monthsShort(g,""),this._monthsParse[I]=new RegExp(e.replace(".",""),"i")),Q&&B==="MMMM"&&this._longMonthsParse[I].test(A))return I;if(Q&&B==="MMM"&&this._shortMonthsParse[I].test(A))return I;if(!Q&&this._monthsParse[I].test(A))return I}}function Kt(A,B){if(!A.isValid())return A;if(typeof B=="string"){if(/^\d+$/.test(B))B=X(B);else if(B=A.localeData().monthsParse(B),!yB(B))return A}var Q=B,I=A.date();return I=I<29?I:Math.min(I,ue(A.year(),Q)),A._isUTC?A._d.setUTCMonth(Q,I):A._d.setMonth(Q,I),A}function ft(A){return A!=null?(Kt(this,A),x.updateOffset(this,!0),this):xE(this,"Month")}function M0(){return ue(this.year(),this.month())}function c0(A){return this._monthsParseExact?(QA(this,"_monthsRegex")||Wt.call(this),A?this._monthsShortStrictRegex:this._monthsShortRegex):(QA(this,"_monthsShortRegex")||(this._monthsShortRegex=Q0),this._monthsShortStrictRegex&&A?this._monthsShortStrictRegex:this._monthsShortRegex)}function i0(A){return this._monthsParseExact?(QA(this,"_monthsRegex")||Wt.call(this),A?this._monthsStrictRegex:this._monthsRegex):(QA(this,"_monthsRegex")||(this._monthsRegex=E0),this._monthsStrictRegex&&A?this._monthsStrictRegex:this._monthsRegex)}function Wt(){function A(c,i){return i.length-c.length}var B=[],Q=[],I=[],g,e,w,M;for(g=0;g<12;g++)e=UB([2e3,g]),w=HB(this.monthsShort(e,"")),M=HB(this.months(e,"")),B.push(w),Q.push(M),I.push(M),I.push(w);B.sort(A),Q.sort(A),I.sort(A),this._monthsRegex=new RegExp("^("+I.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+Q.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+B.join("|")+")","i")}function t0(A,B,Q,I,g,e,w){var M;return A<100&&A>=0?(M=new Date(A+400,B,Q,I,g,e,w),isFinite(M.getFullYear())&&M.setFullYear(A)):M=new Date(A,B,Q,I,g,e,w),M}function JE(A){var B,Q;return A<100&&A>=0?(Q=Array.prototype.slice.call(arguments),Q[0]=A+400,B=new Date(Date.UTC.apply(null,Q)),isFinite(B.getUTCFullYear())&&B.setUTCFullYear(A)):B=new Date(Date.UTC.apply(null,arguments)),B}function KI(A,B,Q){var I=7+B-Q,g=(7+JE(A,0,I).getUTCDay()-B)%7;return-g+I-1}function pt(A,B,Q,I,g){var e=(7+Q-I)%7,w=KI(A,I,g),M=1+7*(B-1)+e+w,c,i;return M<=0?(c=A-1,i=jE(c)+M):M>jE(A)?(c=A+1,i=M-jE(A)):(c=A,i=M),{year:c,dayOfYear:i}}function dE(A,B,Q){var I=KI(A.year(),B,Q),g=Math.floor((A.dayOfYear()-I-1)/7)+1,e,w;return g<1?(w=A.year()-1,e=g+zB(w,B,Q)):g>zB(A.year(),B,Q)?(e=g-zB(A.year(),B,Q),w=A.year()+1):(w=A.year(),e=g),{week:e,year:w}}function zB(A,B,Q){var I=KI(A,B,Q),g=KI(A+1,B,Q);return(jE(A)-I+g)/7}f("w",["ww",2],"wo","week"),f("W",["WW",2],"Wo","isoWeek"),T("w",tA,OQ),T("ww",tA,xA),T("W",tA,OQ),T("WW",tA,xA),zE(["w","ww","W","WW"],function(A,B,Q,I){B[I.substr(0,1)]=X(A)});function r0(A){return dE(A,this._week.dow,this._week.doy).week}var F0={dow:0,doy:6};function s0(){return this._week.dow}function U0(){return this._week.doy}function o0(A){var B=this.localeData().week(this);return A==null?B:this.add((A-B)*7,"d")}function Y0(A){var B=dE(this,1,4).week;return A==null?B:this.add((A-B)*7,"d")}f("d",0,"do","day"),f("dd",0,0,function(A){return this.localeData().weekdaysMin(this,A)}),f("ddd",0,0,function(A){return this.localeData().weekdaysShort(this,A)}),f("dddd",0,0,function(A){return this.localeData().weekdays(this,A)}),f("e",0,0,"weekday"),f("E",0,0,"isoWeekday"),T("d",tA),T("e",tA),T("E",tA),T("dd",function(A,B){return B.weekdaysMinRegex(A)}),T("ddd",function(A,B){return B.weekdaysShortRegex(A)}),T("dddd",function(A,B){return B.weekdaysRegex(A)}),zE(["dd","ddd","dddd"],function(A,B,Q,I){var g=Q._locale.weekdaysParse(A,I,Q._strict);g!=null?B.d=g:b(Q).invalidWeekday=A}),zE(["d","e","E"],function(A,B,Q,I){B[I]=X(A)});function C0(A,B){return typeof A!="string"?A:isNaN(A)?(A=B.weekdaysParse(A),typeof A=="number"?A:null):parseInt(A,10)}function a0(A,B){return typeof A=="string"?B.weekdaysParse(A)%7||7:isNaN(A)?null:A}function Ke(A,B){return A.slice(B,7).concat(A.slice(0,B))}var h0="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),n0="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),N0=SE,R0=SE,D0=SE;function G0(A,B){var Q=$A(this._weekdays)?this._weekdays:this._weekdays[A&&A!==!0&&this._weekdays.isFormat.test(B)?"format":"standalone"];return A===!0?Ke(Q,this._week.dow):A?Q[A.day()]:Q}function V0(A){return A===!0?Ke(this._weekdaysShort,this._week.dow):A?this._weekdaysShort[A.day()]:this._weekdaysShort}function y0(A){return A===!0?Ke(this._weekdaysMin,this._week.dow):A?this._weekdaysMin[A.day()]:this._weekdaysMin}function H0(A,B,Q){var I,g,e,w=A.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],I=0;I<7;++I)e=UB([2e3,1]).day(I),this._minWeekdaysParse[I]=this.weekdaysMin(e,"").toLocaleLowerCase(),this._shortWeekdaysParse[I]=this.weekdaysShort(e,"").toLocaleLowerCase(),this._weekdaysParse[I]=this.weekdays(e,"").toLocaleLowerCase();return Q?B==="dddd"?(g=UA.call(this._weekdaysParse,w),g!==-1?g:null):B==="ddd"?(g=UA.call(this._shortWeekdaysParse,w),g!==-1?g:null):(g=UA.call(this._minWeekdaysParse,w),g!==-1?g:null):B==="dddd"?(g=UA.call(this._weekdaysParse,w),g!==-1||(g=UA.call(this._shortWeekdaysParse,w),g!==-1)?g:(g=UA.call(this._minWeekdaysParse,w),g!==-1?g:null)):B==="ddd"?(g=UA.call(this._shortWeekdaysParse,w),g!==-1||(g=UA.call(this._weekdaysParse,w),g!==-1)?g:(g=UA.call(this._minWeekdaysParse,w),g!==-1?g:null)):(g=UA.call(this._minWeekdaysParse,w),g!==-1||(g=UA.call(this._weekdaysParse,w),g!==-1)?g:(g=UA.call(this._shortWeekdaysParse,w),g!==-1?g:null))}function l0(A,B,Q){var I,g,e;if(this._weekdaysParseExact)return H0.call(this,A,B,Q);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),I=0;I<7;I++){if(g=UB([2e3,1]).day(I),Q&&!this._fullWeekdaysParse[I]&&(this._fullWeekdaysParse[I]=new RegExp("^"+this.weekdays(g,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[I]=new RegExp("^"+this.weekdaysShort(g,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[I]=new RegExp("^"+this.weekdaysMin(g,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[I]||(e="^"+this.weekdays(g,"")+"|^"+this.weekdaysShort(g,"")+"|^"+this.weekdaysMin(g,""),this._weekdaysParse[I]=new RegExp(e.replace(".",""),"i")),Q&&B==="dddd"&&this._fullWeekdaysParse[I].test(A))return I;if(Q&&B==="ddd"&&this._shortWeekdaysParse[I].test(A))return I;if(Q&&B==="dd"&&this._minWeekdaysParse[I].test(A))return I;if(!Q&&this._weekdaysParse[I].test(A))return I}}function S0(A){if(!this.isValid())return A!=null?this:NaN;var B=xE(this,"Day");return A!=null?(A=C0(A,this.localeData()),this.add(A-B,"d")):B}function z0(A){if(!this.isValid())return A!=null?this:NaN;var B=(this.day()+7-this.localeData()._week.dow)%7;return A==null?B:this.add(A-B,"d")}function j0(A){if(!this.isValid())return A!=null?this:NaN;if(A!=null){var B=a0(A,this.localeData());return this.day(this.day()%7?B:B-7)}else return this.day()||7}function x0(A){return this._weekdaysParseExact?(QA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysStrictRegex:this._weekdaysRegex):(QA(this,"_weekdaysRegex")||(this._weekdaysRegex=N0),this._weekdaysStrictRegex&&A?this._weekdaysStrictRegex:this._weekdaysRegex)}function J0(A){return this._weekdaysParseExact?(QA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(QA(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=R0),this._weekdaysShortStrictRegex&&A?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function d0(A){return this._weekdaysParseExact?(QA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(QA(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=D0),this._weekdaysMinStrictRegex&&A?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function fe(){function A(t,r){return r.length-t.length}var B=[],Q=[],I=[],g=[],e,w,M,c,i;for(e=0;e<7;e++)w=UB([2e3,1]).day(e),M=HB(this.weekdaysMin(w,"")),c=HB(this.weekdaysShort(w,"")),i=HB(this.weekdays(w,"")),B.push(M),Q.push(c),I.push(i),g.push(M),g.push(c),g.push(i);B.sort(A),Q.sort(A),I.sort(A),g.sort(A),this._weekdaysRegex=new RegExp("^("+g.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+I.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Q.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+B.join("|")+")","i")}function We(){return this.hours()%12||12}function T0(){return this.hours()||24}f("H",["HH",2],0,"hour"),f("h",["hh",2],0,We),f("k",["kk",2],0,T0),f("hmm",0,0,function(){return""+We.apply(this)+YB(this.minutes(),2)}),f("hmmss",0,0,function(){return""+We.apply(this)+YB(this.minutes(),2)+YB(this.seconds(),2)}),f("Hmm",0,0,function(){return""+this.hours()+YB(this.minutes(),2)}),f("Hmmss",0,0,function(){return""+this.hours()+YB(this.minutes(),2)+YB(this.seconds(),2)});function Zt(A,B){f(A,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),B)})}Zt("a",!0),Zt("A",!1);function Ot(A,B){return B._meridiemParse}T("a",Ot),T("A",Ot),T("H",tA,ke),T("h",tA,OQ),T("k",tA,OQ),T("HH",tA,xA),T("hh",tA,xA),T("kk",tA,xA),T("hmm",Jt),T("hmmss",dt),T("Hmm",Jt),T("Hmmss",dt),MA(["H","HH"],aA),MA(["k","kk"],function(A,B,Q){var I=X(A);B[aA]=I===24?0:I}),MA(["a","A"],function(A,B,Q){Q._isPm=Q._locale.isPM(A),Q._meridiem=A}),MA(["h","hh"],function(A,B,Q){B[aA]=X(A),b(Q).bigHour=!0}),MA("hmm",function(A,B,Q){var I=A.length-2;B[aA]=X(A.substr(0,I)),B[BB]=X(A.substr(I)),b(Q).bigHour=!0}),MA("hmmss",function(A,B,Q){var I=A.length-4,g=A.length-2;B[aA]=X(A.substr(0,I)),B[BB]=X(A.substr(I,2)),B[SB]=X(A.substr(g)),b(Q).bigHour=!0}),MA("Hmm",function(A,B,Q){var I=A.length-2;B[aA]=X(A.substr(0,I)),B[BB]=X(A.substr(I))}),MA("Hmmss",function(A,B,Q){var I=A.length-4,g=A.length-2;B[aA]=X(A.substr(0,I)),B[BB]=X(A.substr(I,2)),B[SB]=X(A.substr(g))});function k0(A){return(A+"").toLowerCase().charAt(0)==="p"}var m0=/[ap]\.?m?\.?/i,u0=bQ("Hours",!0);function K0(A,B,Q){return A>11?Q?"pm":"PM":Q?"am":"AM"}var bt={calendar:Hz,longDateFormat:jz,invalidDate:Jz,ordinal:Tz,dayOfMonthOrdinalParse:kz,relativeTime:uz,months:B0,monthsShort:mt,week:F0,weekdays:h0,weekdaysMin:n0,weekdaysShort:qt,meridiemParse:m0},FA={},TE={},kE;function f0(A,B){var Q,I=Math.min(A.length,B.length);for(Q=0;Q<I;Q+=1)if(A[Q]!==B[Q])return Q;return I}function Lt(A){return A&&A.toLowerCase().replace("_","-")}function W0(A){for(var B=0,Q,I,g,e;B<A.length;){for(e=Lt(A[B]).split("-"),Q=e.length,I=Lt(A[B+1]),I=I?I.split("-"):null;Q>0;){if(g=fI(e.slice(0,Q).join("-")),g)return g;if(I&&I.length>=Q&&f0(e,I)>=Q-1)break;Q--}B++}return kE}function p0(A){return!!(A&&A.match("^[^/\\\\]*$"))}function fI(A){var B=null,Q;if(FA[A]===void 0&&typeof module<"u"&&module&&module.exports&&p0(A))try{B=kE._abbr,Q=require,Q("./locale/"+A),vB(B)}catch{FA[A]=null}return FA[A]}function vB(A,B){var Q;return A&&(SA(B)?Q=jB(A):Q=pe(A,B),Q?kE=Q:typeof console<"u"&&console.warn&&console.warn("Locale "+A+" not found. Did you forget to load it?")),kE._abbr}function pe(A,B){if(B!==null){var Q,I=bt;if(B.abbr=A,FA[A]!=null)lt("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),I=FA[A]._config;else if(B.parentLocale!=null)if(FA[B.parentLocale]!=null)I=FA[B.parentLocale]._config;else if(Q=fI(B.parentLocale),Q!=null)I=Q._config;else return TE[B.parentLocale]||(TE[B.parentLocale]=[]),TE[B.parentLocale].push({name:A,config:B}),null;return FA[A]=new Se(le(I,B)),TE[A]&&TE[A].forEach(function(g){pe(g.name,g.config)}),vB(A),FA[A]}else return delete FA[A],null}function q0(A,B){if(B!=null){var Q,I,g=bt;FA[A]!=null&&FA[A].parentLocale!=null?FA[A].set(le(FA[A]._config,B)):(I=fI(A),I!=null&&(g=I._config),B=le(g,B),I==null&&(B.abbr=A),Q=new Se(B),Q.parentLocale=FA[A],FA[A]=Q),vB(A)}else FA[A]!=null&&(FA[A].parentLocale!=null?(FA[A]=FA[A].parentLocale,A===vB()&&vB(A)):FA[A]!=null&&delete FA[A]);return FA[A]}function jB(A){var B;if(A&&A._locale&&A._locale._abbr&&(A=A._locale._abbr),!A)return kE;if(!$A(A)){if(B=fI(A),B)return B;A=[A]}return W0(A)}function Z0(){return ze(FA)}function qe(A){var B,Q=A._a;return Q&&b(A).overflow===-2&&(B=Q[lB]<0||Q[lB]>11?lB:Q[CB]<1||Q[CB]>ue(Q[DA],Q[lB])?CB:Q[aA]<0||Q[aA]>24||Q[aA]===24&&(Q[BB]!==0||Q[SB]!==0||Q[YQ]!==0)?aA:Q[BB]<0||Q[BB]>59?BB:Q[SB]<0||Q[SB]>59?SB:Q[YQ]<0||Q[YQ]>999?YQ:-1,b(A)._overflowDayOfYear&&(B<DA||B>CB)&&(B=CB),b(A)._overflowWeeks&&B===-1&&(B=Xz),b(A)._overflowWeekday&&B===-1&&(B=vz),b(A).overflow=B),A}var O0=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,b0=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,L0=/Z|[+-]\d\d(?::?\d\d)?/,WI=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ze=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],X0=/^\/?Date\((-?\d+)/i,v0=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,P0={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xt(A){var B,Q,I=A._i,g=O0.exec(I)||b0.exec(I),e,w,M,c,i=WI.length,t=Ze.length;if(g){for(b(A).iso=!0,B=0,Q=i;B<Q;B++)if(WI[B][1].exec(g[1])){w=WI[B][0],e=WI[B][2]!==!1;break}if(w==null){A._isValid=!1;return}if(g[3]){for(B=0,Q=t;B<Q;B++)if(Ze[B][1].exec(g[3])){M=(g[2]||" ")+Ze[B][0];break}if(M==null){A._isValid=!1;return}}if(!e&&M!=null){A._isValid=!1;return}if(g[4])if(L0.exec(g[4]))c="Z";else{A._isValid=!1;return}A._f=w+(M||"")+(c||""),be(A)}else A._isValid=!1}function _0(A,B,Q,I,g,e){var w=[$0(A),mt.indexOf(B),parseInt(Q,10),parseInt(I,10),parseInt(g,10)];return e&&w.push(parseInt(e,10)),w}function $0(A){var B=parseInt(A,10);return B<=49?2e3+B:B<=999?1900+B:B}function Aj(A){return A.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Bj(A,B,Q){if(A){var I=qt.indexOf(A),g=new Date(B[0],B[1],B[2]).getDay();if(I!==g)return b(Q).weekdayMismatch=!0,Q._isValid=!1,!1}return!0}function Qj(A,B,Q){if(A)return P0[A];if(B)return 0;var I=parseInt(Q,10),g=I%100,e=(I-g)/100;return e*60+g}function vt(A){var B=v0.exec(Aj(A._i)),Q;if(B){if(Q=_0(B[4],B[3],B[2],B[5],B[6],B[7]),!Bj(B[1],Q,A))return;A._a=Q,A._tzm=Qj(B[8],B[9],B[10]),A._d=JE.apply(null,A._a),A._d.setUTCMinutes(A._d.getUTCMinutes()-A._tzm),b(A).rfc2822=!0}else A._isValid=!1}function Ej(A){var B=X0.exec(A._i);if(B!==null){A._d=new Date(+B[1]);return}if(Xt(A),A._isValid===!1)delete A._isValid;else return;if(vt(A),A._isValid===!1)delete A._isValid;else return;A._strict?A._isValid=!1:x.createFromInputFallback(A)}x.createFromInputFallback=WA("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(A){A._d=new Date(A._i+(A._useUTC?" UTC":""))});function LQ(A,B,Q){return A??B??Q}function Ij(A){var B=new Date(x.now());return A._useUTC?[B.getUTCFullYear(),B.getUTCMonth(),B.getUTCDate()]:[B.getFullYear(),B.getMonth(),B.getDate()]}function Oe(A){var B,Q,I=[],g,e,w;if(!A._d){for(g=Ij(A),A._w&&A._a[CB]==null&&A._a[lB]==null&&gj(A),A._dayOfYear!=null&&(w=LQ(A._a[DA],g[DA]),(A._dayOfYear>jE(w)||A._dayOfYear===0)&&(b(A)._overflowDayOfYear=!0),Q=JE(w,0,A._dayOfYear),A._a[lB]=Q.getUTCMonth(),A._a[CB]=Q.getUTCDate()),B=0;B<3&&A._a[B]==null;++B)A._a[B]=I[B]=g[B];for(;B<7;B++)A._a[B]=I[B]=A._a[B]==null?B===2?1:0:A._a[B];A._a[aA]===24&&A._a[BB]===0&&A._a[SB]===0&&A._a[YQ]===0&&(A._nextDay=!0,A._a[aA]=0),A._d=(A._useUTC?JE:t0).apply(null,I),e=A._useUTC?A._d.getUTCDay():A._d.getDay(),A._tzm!=null&&A._d.setUTCMinutes(A._d.getUTCMinutes()-A._tzm),A._nextDay&&(A._a[aA]=24),A._w&&typeof A._w.d<"u"&&A._w.d!==e&&(b(A).weekdayMismatch=!0)}}function gj(A){var B,Q,I,g,e,w,M,c,i;B=A._w,B.GG!=null||B.W!=null||B.E!=null?(e=1,w=4,Q=LQ(B.GG,A._a[DA],dE(rA(),1,4).year),I=LQ(B.W,1),g=LQ(B.E,1),(g<1||g>7)&&(c=!0)):(e=A._locale._week.dow,w=A._locale._week.doy,i=dE(rA(),e,w),Q=LQ(B.gg,A._a[DA],i.year),I=LQ(B.w,i.week),B.d!=null?(g=B.d,(g<0||g>6)&&(c=!0)):B.e!=null?(g=B.e+e,(B.e<0||B.e>6)&&(c=!0)):g=e),I<1||I>zB(Q,e,w)?b(A)._overflowWeeks=!0:c!=null?b(A)._overflowWeekday=!0:(M=pt(Q,I,g,e,w),A._a[DA]=M.year,A._dayOfYear=M.dayOfYear)}x.ISO_8601=function(){},x.RFC_2822=function(){};function be(A){if(A._f===x.ISO_8601){Xt(A);return}if(A._f===x.RFC_2822){vt(A);return}A._a=[],b(A).empty=!0;var B=""+A._i,Q,I,g,e,w,M=B.length,c=0,i,t;for(g=St(A._f,A._locale).match(je)||[],t=g.length,Q=0;Q<t;Q++)e=g[Q],I=(B.match(Oz(e,A))||[])[0],I&&(w=B.substr(0,B.indexOf(I)),w.length>0&&b(A).unusedInput.push(w),B=B.slice(B.indexOf(I)+I.length),c+=I.length),qQ[e]?(I?b(A).empty=!1:b(A).unusedTokens.push(e),Lz(e,I,A)):A._strict&&!I&&b(A).unusedTokens.push(e);b(A).charsLeftOver=M-c,B.length>0&&b(A).unusedInput.push(B),A._a[aA]<=12&&b(A).bigHour===!0&&A._a[aA]>0&&(b(A).bigHour=void 0),b(A).parsedDateParts=A._a.slice(0),b(A).meridiem=A._meridiem,A._a[aA]=ej(A._locale,A._a[aA],A._meridiem),i=b(A).era,i!==null&&(A._a[DA]=A._locale.erasConvertYear(i,A._a[DA])),Oe(A),qe(A)}function ej(A,B,Q){var I;return Q==null?B:A.meridiemHour!=null?A.meridiemHour(B,Q):(A.isPM!=null&&(I=A.isPM(Q),I&&B<12&&(B+=12),!I&&B===12&&(B=0)),B)}function wj(A){var B,Q,I,g,e,w,M=!1,c=A._f.length;if(c===0){b(A).invalidFormat=!0,A._d=new Date(NaN);return}for(g=0;g<c;g++)e=0,w=!1,B=He({},A),A._useUTC!=null&&(B._useUTC=A._useUTC),B._f=A._f[g],be(B),Ve(B)&&(w=!0),e+=b(B).charsLeftOver,e+=b(B).unusedTokens.length*10,b(B).score=e,M?e<I&&(I=e,Q=B):(I==null||e<I||w)&&(I=e,Q=B,w&&(M=!0));XB(A,Q||B)}function Mj(A){if(!A._d){var B=Je(A._i),Q=B.day===void 0?B.date:B.day;A._a=Gt([B.year,B.month,Q,B.hour,B.minute,B.second,B.millisecond],function(I){return I&&parseInt(I,10)}),Oe(A)}}function cj(A){var B=new lE(qe(Pt(A)));return B._nextDay&&(B.add(1,"d"),B._nextDay=void 0),B}function Pt(A){var B=A._i,Q=A._f;return A._locale=A._locale||jB(A._l),B===null||Q===void 0&&B===""?SI({nullInput:!0}):(typeof B=="string"&&(A._i=B=A._locale.preparse(B)),AB(B)?new lE(qe(B)):(HE(B)?A._d=B:$A(Q)?wj(A):Q?be(A):ij(A),Ve(A)||(A._d=null),A))}function ij(A){var B=A._i;SA(B)?A._d=new Date(x.now()):HE(B)?A._d=new Date(B.valueOf()):typeof B=="string"?Ej(A):$A(B)?(A._a=Gt(B.slice(0),function(Q){return parseInt(Q,10)}),Oe(A)):oQ(B)?Mj(A):yB(B)?A._d=new Date(B):x.createFromInputFallback(A)}function _t(A,B,Q,I,g){var e={};return(B===!0||B===!1)&&(I=B,B=void 0),(Q===!0||Q===!1)&&(I=Q,Q=void 0),(oQ(A)&&De(A)||$A(A)&&A.length===0)&&(A=void 0),e._isAMomentObject=!0,e._useUTC=e._isUTC=g,e._l=Q,e._i=A,e._f=B,e._strict=I,cj(e)}function rA(A,B,Q,I){return _t(A,B,Q,I,!1)}var tj=WA("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var A=rA.apply(null,arguments);return this.isValid()&&A.isValid()?A<this?this:A:SI()}),rj=WA("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var A=rA.apply(null,arguments);return this.isValid()&&A.isValid()?A>this?this:A:SI()});function $t(A,B){var Q,I;if(B.length===1&&$A(B[0])&&(B=B[0]),!B.length)return rA();for(Q=B[0],I=1;I<B.length;++I)(!B[I].isValid()||B[I][A](Q))&&(Q=B[I]);return Q}function Fj(){var A=[].slice.call(arguments,0);return $t("isBefore",A)}function sj(){var A=[].slice.call(arguments,0);return $t("isAfter",A)}var Uj=function(){return Date.now?Date.now():+new Date},mE=["year","quarter","month","week","day","hour","minute","second","millisecond"];function oj(A){var B,Q=!1,I,g=mE.length;for(B in A)if(QA(A,B)&&!(UA.call(mE,B)!==-1&&(A[B]==null||!isNaN(A[B]))))return!1;for(I=0;I<g;++I)if(A[mE[I]]){if(Q)return!1;parseFloat(A[mE[I]])!==X(A[mE[I]])&&(Q=!0)}return!0}function Yj(){return this._isValid}function Cj(){return QB(NaN)}function pI(A){var B=Je(A),Q=B.year||0,I=B.quarter||0,g=B.month||0,e=B.week||B.isoWeek||0,w=B.day||0,M=B.hour||0,c=B.minute||0,i=B.second||0,t=B.millisecond||0;this._isValid=oj(B),this._milliseconds=+t+i*1e3+c*6e4+M*1e3*60*60,this._days=+w+e*7,this._months=+g+I*3+Q*12,this._data={},this._locale=jB(),this._bubble()}function qI(A){return A instanceof pI}function Le(A){return A<0?Math.round(-1*A)*-1:Math.round(A)}function aj(A,B,Q){var I=Math.min(A.length,B.length),g=Math.abs(A.length-B.length),e=0,w;for(w=0;w<I;w++)X(A[w])!==X(B[w])&&e++;return e+g}function Ar(A,B){f(A,0,0,function(){var Q=this.utcOffset(),I="+";return Q<0&&(Q=-Q,I="-"),I+YB(~~(Q/60),2)+B+YB(~~Q%60,2)})}Ar("Z",":"),Ar("ZZ",""),T("Z",kI),T("ZZ",kI),MA(["Z","ZZ"],function(A,B,Q){Q._useUTC=!0,Q._tzm=Xe(kI,A)});var hj=/([\+\-]|\d\d)/gi;function Xe(A,B){var Q=(B||"").match(A),I,g,e;return Q===null?null:(I=Q[Q.length-1]||[],g=(I+"").match(hj)||["-",0,0],e=+(g[1]*60)+X(g[2]),e===0?0:g[0]==="+"?e:-e)}function ve(A,B){var Q,I;return B._isUTC?(Q=B.clone(),I=(AB(A)||HE(A)?A.valueOf():rA(A).valueOf())-Q.valueOf(),Q._d.setTime(Q._d.valueOf()+I),x.updateOffset(Q,!1),Q):rA(A).local()}function Pe(A){return-Math.round(A._d.getTimezoneOffset())}x.updateOffset=function(){};function nj(A,B,Q){var I=this._offset||0,g;if(!this.isValid())return A!=null?this:NaN;if(A!=null){if(typeof A=="string"){if(A=Xe(kI,A),A===null)return this}else Math.abs(A)<16&&!Q&&(A=A*60);return!this._isUTC&&B&&(g=Pe(this)),this._offset=A,this._isUTC=!0,g!=null&&this.add(g,"m"),I!==A&&(!B||this._changeInProgress?Ir(this,QB(A-I,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,x.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?I:Pe(this)}function Nj(A,B){return A!=null?(typeof A!="string"&&(A=-A),this.utcOffset(A,B),this):-this.utcOffset()}function Rj(A){return this.utcOffset(0,A)}function Dj(A){return this._isUTC&&(this.utcOffset(0,A),this._isUTC=!1,A&&this.subtract(Pe(this),"m")),this}function Gj(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var A=Xe(qz,this._i);A!=null?this.utcOffset(A):this.utcOffset(0,!0)}return this}function Vj(A){return this.isValid()?(A=A?rA(A).utcOffset():0,(this.utcOffset()-A)%60===0):!1}function yj(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Hj(){if(!SA(this._isDSTShifted))return this._isDSTShifted;var A={},B;return He(A,this),A=Pt(A),A._a?(B=A._isUTC?UB(A._a):rA(A._a),this._isDSTShifted=this.isValid()&&aj(A._a,B.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function lj(){return this.isValid()?!this._isUTC:!1}function Sj(){return this.isValid()?this._isUTC:!1}function Br(){return this.isValid()?this._isUTC&&this._offset===0:!1}var zj=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jj=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function QB(A,B){var Q=A,I=null,g,e,w;return qI(A)?Q={ms:A._milliseconds,d:A._days,M:A._months}:yB(A)||!isNaN(+A)?(Q={},B?Q[B]=+A:Q.milliseconds=+A):(I=zj.exec(A))?(g=I[1]==="-"?-1:1,Q={y:0,d:X(I[CB])*g,h:X(I[aA])*g,m:X(I[BB])*g,s:X(I[SB])*g,ms:X(Le(I[YQ]*1e3))*g}):(I=jj.exec(A))?(g=I[1]==="-"?-1:1,Q={y:CQ(I[2],g),M:CQ(I[3],g),w:CQ(I[4],g),d:CQ(I[5],g),h:CQ(I[6],g),m:CQ(I[7],g),s:CQ(I[8],g)}):Q==null?Q={}:typeof Q=="object"&&("from"in Q||"to"in Q)&&(w=xj(rA(Q.from),rA(Q.to)),Q={},Q.ms=w.milliseconds,Q.M=w.months),e=new pI(Q),qI(A)&&QA(A,"_locale")&&(e._locale=A._locale),qI(A)&&QA(A,"_isValid")&&(e._isValid=A._isValid),e}QB.fn=pI.prototype,QB.invalid=Cj;function CQ(A,B){var Q=A&&parseFloat(A.replace(",","."));return(isNaN(Q)?0:Q)*B}function Qr(A,B){var Q={};return Q.months=B.month()-A.month()+(B.year()-A.year())*12,A.clone().add(Q.months,"M").isAfter(B)&&--Q.months,Q.milliseconds=+B-+A.clone().add(Q.months,"M"),Q}function xj(A,B){var Q;return A.isValid()&&B.isValid()?(B=ve(B,A),A.isBefore(B)?Q=Qr(A,B):(Q=Qr(B,A),Q.milliseconds=-Q.milliseconds,Q.months=-Q.months),Q):{milliseconds:0,months:0}}function Er(A,B){return function(Q,I){var g,e;return I!==null&&!isNaN(+I)&&(lt(B,"moment()."+B+"(period, number) is deprecated. Please use moment()."+B+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),e=Q,Q=I,I=e),g=QB(Q,I),Ir(this,g,A),this}}function Ir(A,B,Q,I){var g=B._milliseconds,e=Le(B._days),w=Le(B._months);A.isValid()&&(I=I??!0,w&&Kt(A,xE(A,"Month")+w*Q),e&&kt(A,"Date",xE(A,"Date")+e*Q),g&&A._d.setTime(A._d.valueOf()+g*Q),I&&x.updateOffset(A,e||w))}var Jj=Er(1,"add"),dj=Er(-1,"subtract");function gr(A){return typeof A=="string"||A instanceof String}function Tj(A){return AB(A)||HE(A)||gr(A)||yB(A)||mj(A)||kj(A)||A===null||A===void 0}function kj(A){var B=oQ(A)&&!De(A),Q=!1,I=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],g,e,w=I.length;for(g=0;g<w;g+=1)e=I[g],Q=Q||QA(A,e);return B&&Q}function mj(A){var B=$A(A),Q=!1;return B&&(Q=A.filter(function(I){return!yB(I)&&gr(A)}).length===0),B&&Q}function uj(A){var B=oQ(A)&&!De(A),Q=!1,I=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],g,e;for(g=0;g<I.length;g+=1)e=I[g],Q=Q||QA(A,e);return B&&Q}function Kj(A,B){var Q=A.diff(B,"days",!0);return Q<-6?"sameElse":Q<-1?"lastWeek":Q<0?"lastDay":Q<1?"sameDay":Q<2?"nextDay":Q<7?"nextWeek":"sameElse"}function fj(A,B){arguments.length===1&&(arguments[0]?Tj(arguments[0])?(A=arguments[0],B=void 0):uj(arguments[0])&&(B=arguments[0],A=void 0):(A=void 0,B=void 0));var Q=A||rA(),I=ve(Q,this).startOf("day"),g=x.calendarFormat(this,I)||"sameElse",e=B&&(oB(B[g])?B[g].call(this,Q):B[g]);return this.format(e||this.localeData().calendar(g,this,rA(Q)))}function Wj(){return new lE(this)}function pj(A,B){var Q=AB(A)?A:rA(A);return this.isValid()&&Q.isValid()?(B=pA(B)||"millisecond",B==="millisecond"?this.valueOf()>Q.valueOf():Q.valueOf()<this.clone().startOf(B).valueOf()):!1}function qj(A,B){var Q=AB(A)?A:rA(A);return this.isValid()&&Q.isValid()?(B=pA(B)||"millisecond",B==="millisecond"?this.valueOf()<Q.valueOf():this.clone().endOf(B).valueOf()<Q.valueOf()):!1}function Zj(A,B,Q,I){var g=AB(A)?A:rA(A),e=AB(B)?B:rA(B);return this.isValid()&&g.isValid()&&e.isValid()?(I=I||"()",(I[0]==="("?this.isAfter(g,Q):!this.isBefore(g,Q))&&(I[1]===")"?this.isBefore(e,Q):!this.isAfter(e,Q))):!1}function Oj(A,B){var Q=AB(A)?A:rA(A),I;return this.isValid()&&Q.isValid()?(B=pA(B)||"millisecond",B==="millisecond"?this.valueOf()===Q.valueOf():(I=Q.valueOf(),this.clone().startOf(B).valueOf()<=I&&I<=this.clone().endOf(B).valueOf())):!1}function bj(A,B){return this.isSame(A,B)||this.isAfter(A,B)}function Lj(A,B){return this.isSame(A,B)||this.isBefore(A,B)}function Xj(A,B,Q){var I,g,e;if(!this.isValid())return NaN;if(I=ve(A,this),!I.isValid())return NaN;switch(g=(I.utcOffset()-this.utcOffset())*6e4,B=pA(B),B){case"year":e=ZI(this,I)/12;break;case"month":e=ZI(this,I);break;case"quarter":e=ZI(this,I)/3;break;case"second":e=(this-I)/1e3;break;case"minute":e=(this-I)/6e4;break;case"hour":e=(this-I)/36e5;break;case"day":e=(this-I-g)/864e5;break;case"week":e=(this-I-g)/6048e5;break;default:e=this-I}return Q?e:qA(e)}function ZI(A,B){if(A.date()<B.date())return-ZI(B,A);var Q=(B.year()-A.year())*12+(B.month()-A.month()),I=A.clone().add(Q,"months"),g,e;return B-I<0?(g=A.clone().add(Q-1,"months"),e=(B-I)/(I-g)):(g=A.clone().add(Q+1,"months"),e=(B-I)/(g-I)),-(Q+e)||0}x.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",x.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function vj(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Pj(A){if(!this.isValid())return null;var B=A!==!0,Q=B?this.clone().utc():this;return Q.year()<0||Q.year()>9999?jI(Q,B?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):oB(Date.prototype.toISOString)?B?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",jI(Q,"Z")):jI(Q,B?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _j(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var A="moment",B="",Q,I,g,e;return this.isLocal()||(A=this.utcOffset()===0?"moment.utc":"moment.parseZone",B="Z"),Q="["+A+'("]',I=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",g="-MM-DD[T]HH:mm:ss.SSS",e=B+'[")]',this.format(Q+I+g+e)}function $j(A){A||(A=this.isUtc()?x.defaultFormatUtc:x.defaultFormat);var B=jI(this,A);return this.localeData().postformat(B)}function Ax(A,B){return this.isValid()&&(AB(A)&&A.isValid()||rA(A).isValid())?QB({to:this,from:A}).locale(this.locale()).humanize(!B):this.localeData().invalidDate()}function Bx(A){return this.from(rA(),A)}function Qx(A,B){return this.isValid()&&(AB(A)&&A.isValid()||rA(A).isValid())?QB({from:this,to:A}).locale(this.locale()).humanize(!B):this.localeData().invalidDate()}function Ex(A){return this.to(rA(),A)}function er(A){var B;return A===void 0?this._locale._abbr:(B=jB(A),B!=null&&(this._locale=B),this)}var wr=WA("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(A){return A===void 0?this.localeData():this.locale(A)});function Mr(){return this._locale}var OI=1e3,XQ=60*OI,bI=60*XQ,cr=(365*400+97)*24*bI;function vQ(A,B){return(A%B+B)%B}function ir(A,B,Q){return A<100&&A>=0?new Date(A+400,B,Q)-cr:new Date(A,B,Q).valueOf()}function tr(A,B,Q){return A<100&&A>=0?Date.UTC(A+400,B,Q)-cr:Date.UTC(A,B,Q)}function Ix(A){var B,Q;if(A=pA(A),A===void 0||A==="millisecond"||!this.isValid())return this;switch(Q=this._isUTC?tr:ir,A){case"year":B=Q(this.year(),0,1);break;case"quarter":B=Q(this.year(),this.month()-this.month()%3,1);break;case"month":B=Q(this.year(),this.month(),1);break;case"week":B=Q(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":B=Q(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":B=Q(this.year(),this.month(),this.date());break;case"hour":B=this._d.valueOf(),B-=vQ(B+(this._isUTC?0:this.utcOffset()*XQ),bI);break;case"minute":B=this._d.valueOf(),B-=vQ(B,XQ);break;case"second":B=this._d.valueOf(),B-=vQ(B,OI);break}return this._d.setTime(B),x.updateOffset(this,!0),this}function gx(A){var B,Q;if(A=pA(A),A===void 0||A==="millisecond"||!this.isValid())return this;switch(Q=this._isUTC?tr:ir,A){case"year":B=Q(this.year()+1,0,1)-1;break;case"quarter":B=Q(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":B=Q(this.year(),this.month()+1,1)-1;break;case"week":B=Q(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":B=Q(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":B=Q(this.year(),this.month(),this.date()+1)-1;break;case"hour":B=this._d.valueOf(),B+=bI-vQ(B+(this._isUTC?0:this.utcOffset()*XQ),bI)-1;break;case"minute":B=this._d.valueOf(),B+=XQ-vQ(B,XQ)-1;break;case"second":B=this._d.valueOf(),B+=OI-vQ(B,OI)-1;break}return this._d.setTime(B),x.updateOffset(this,!0),this}function ex(){return this._d.valueOf()-(this._offset||0)*6e4}function wx(){return Math.floor(this.valueOf()/1e3)}function Mx(){return new Date(this.valueOf())}function cx(){var A=this;return[A.year(),A.month(),A.date(),A.hour(),A.minute(),A.second(),A.millisecond()]}function ix(){var A=this;return{years:A.year(),months:A.month(),date:A.date(),hours:A.hours(),minutes:A.minutes(),seconds:A.seconds(),milliseconds:A.milliseconds()}}function tx(){return this.isValid()?this.toISOString():null}function rx(){return Ve(this)}function Fx(){return XB({},b(this))}function sx(){return b(this).overflow}function Ux(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}f("N",0,0,"eraAbbr"),f("NN",0,0,"eraAbbr"),f("NNN",0,0,"eraAbbr"),f("NNNN",0,0,"eraName"),f("NNNNN",0,0,"eraNarrow"),f("y",["y",1],"yo","eraYear"),f("y",["yy",2],0,"eraYear"),f("y",["yyy",3],0,"eraYear"),f("y",["yyyy",4],0,"eraYear"),T("N",_e),T("NN",_e),T("NNN",_e),T("NNNN",Vx),T("NNNNN",yx),MA(["N","NN","NNN","NNNN","NNNNN"],function(A,B,Q,I){var g=Q._locale.erasParse(A,I,Q._strict);g?b(Q).era=g:b(Q).invalidEra=A}),T("y",ZQ),T("yy",ZQ),T("yyy",ZQ),T("yyyy",ZQ),T("yo",Hx),MA(["y","yy","yyy","yyyy"],DA),MA(["yo"],function(A,B,Q,I){var g;Q._locale._eraYearOrdinalRegex&&(g=A.match(Q._locale._eraYearOrdinalRegex)),Q._locale.eraYearOrdinalParse?B[DA]=Q._locale.eraYearOrdinalParse(A,g):B[DA]=parseInt(A,10)});function ox(A,B){var Q,I,g,e=this._eras||jB("en")._eras;for(Q=0,I=e.length;Q<I;++Q){switch(typeof e[Q].since){case"string":g=x(e[Q].since).startOf("day"),e[Q].since=g.valueOf();break}switch(typeof e[Q].until){case"undefined":e[Q].until=1/0;break;case"string":g=x(e[Q].until).startOf("day").valueOf(),e[Q].until=g.valueOf();break}}return e}function Yx(A,B,Q){var I,g,e=this.eras(),w,M,c;for(A=A.toUpperCase(),I=0,g=e.length;I<g;++I)if(w=e[I].name.toUpperCase(),M=e[I].abbr.toUpperCase(),c=e[I].narrow.toUpperCase(),Q)switch(B){case"N":case"NN":case"NNN":if(M===A)return e[I];break;case"NNNN":if(w===A)return e[I];break;case"NNNNN":if(c===A)return e[I];break}else if([w,M,c].indexOf(A)>=0)return e[I]}function Cx(A,B){var Q=A.since<=A.until?1:-1;return B===void 0?x(A.since).year():x(A.since).year()+(B-A.offset)*Q}function ax(){var A,B,Q,I=this.localeData().eras();for(A=0,B=I.length;A<B;++A)if(Q=this.clone().startOf("day").valueOf(),I[A].since<=Q&&Q<=I[A].until||I[A].until<=Q&&Q<=I[A].since)return I[A].name;return""}function hx(){var A,B,Q,I=this.localeData().eras();for(A=0,B=I.length;A<B;++A)if(Q=this.clone().startOf("day").valueOf(),I[A].since<=Q&&Q<=I[A].until||I[A].until<=Q&&Q<=I[A].since)return I[A].narrow;return""}function nx(){var A,B,Q,I=this.localeData().eras();for(A=0,B=I.length;A<B;++A)if(Q=this.clone().startOf("day").valueOf(),I[A].since<=Q&&Q<=I[A].until||I[A].until<=Q&&Q<=I[A].since)return I[A].abbr;return""}function Nx(){var A,B,Q,I,g=this.localeData().eras();for(A=0,B=g.length;A<B;++A)if(Q=g[A].since<=g[A].until?1:-1,I=this.clone().startOf("day").valueOf(),g[A].since<=I&&I<=g[A].until||g[A].until<=I&&I<=g[A].since)return(this.year()-x(g[A].since).year())*Q+g[A].offset;return this.year()}function Rx(A){return QA(this,"_erasNameRegex")||$e.call(this),A?this._erasNameRegex:this._erasRegex}function Dx(A){return QA(this,"_erasAbbrRegex")||$e.call(this),A?this._erasAbbrRegex:this._erasRegex}function Gx(A){return QA(this,"_erasNarrowRegex")||$e.call(this),A?this._erasNarrowRegex:this._erasRegex}function _e(A,B){return B.erasAbbrRegex(A)}function Vx(A,B){return B.erasNameRegex(A)}function yx(A,B){return B.erasNarrowRegex(A)}function Hx(A,B){return B._eraYearOrdinalRegex||ZQ}function $e(){var A=[],B=[],Q=[],I=[],g,e,w,M,c,i=this.eras();for(g=0,e=i.length;g<e;++g)w=HB(i[g].name),M=HB(i[g].abbr),c=HB(i[g].narrow),B.push(w),A.push(M),Q.push(c),I.push(w),I.push(M),I.push(c);this._erasRegex=new RegExp("^("+I.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+B.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+A.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+Q.join("|")+")","i")}f(0,["gg",2],0,function(){return this.weekYear()%100}),f(0,["GG",2],0,function(){return this.isoWeekYear()%100});function LI(A,B){f(0,[A,A.length],0,B)}LI("gggg","weekYear"),LI("ggggg","weekYear"),LI("GGGG","isoWeekYear"),LI("GGGGG","isoWeekYear"),T("G",TI),T("g",TI),T("GG",tA,xA),T("gg",tA,xA),T("GGGG",Te,de),T("gggg",Te,de),T("GGGGG",dI,xI),T("ggggg",dI,xI),zE(["gggg","ggggg","GGGG","GGGGG"],function(A,B,Q,I){B[I.substr(0,2)]=X(A)}),zE(["gg","GG"],function(A,B,Q,I){B[I]=x.parseTwoDigitYear(A)});function lx(A){return rr.call(this,A,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Sx(A){return rr.call(this,A,this.isoWeek(),this.isoWeekday(),1,4)}function zx(){return zB(this.year(),1,4)}function jx(){return zB(this.isoWeekYear(),1,4)}function xx(){var A=this.localeData()._week;return zB(this.year(),A.dow,A.doy)}function Jx(){var A=this.localeData()._week;return zB(this.weekYear(),A.dow,A.doy)}function rr(A,B,Q,I,g){var e;return A==null?dE(this,I,g).year:(e=zB(A,I,g),B>e&&(B=e),dx.call(this,A,B,Q,I,g))}function dx(A,B,Q,I,g){var e=pt(A,B,Q,I,g),w=JE(e.year,0,e.dayOfYear);return this.year(w.getUTCFullYear()),this.month(w.getUTCMonth()),this.date(w.getUTCDate()),this}f("Q",0,"Qo","quarter"),T("Q",jt),MA("Q",function(A,B){B[lB]=(X(A)-1)*3});function Tx(A){return A==null?Math.ceil((this.month()+1)/3):this.month((A-1)*3+this.month()%3)}f("D",["DD",2],"Do","date"),T("D",tA,OQ),T("DD",tA,xA),T("Do",function(A,B){return A?B._dayOfMonthOrdinalParse||B._ordinalParse:B._dayOfMonthOrdinalParseLenient}),MA(["D","DD"],CB),MA("Do",function(A,B){B[CB]=X(A.match(tA)[0])});var Fr=bQ("Date",!0);f("DDD",["DDDD",3],"DDDo","dayOfYear"),T("DDD",JI),T("DDDD",xt),MA(["DDD","DDDD"],function(A,B,Q){Q._dayOfYear=X(A)});function kx(A){var B=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return A==null?B:this.add(A-B,"d")}f("m",["mm",2],0,"minute"),T("m",tA,ke),T("mm",tA,xA),MA(["m","mm"],BB);var mx=bQ("Minutes",!1);f("s",["ss",2],0,"second"),T("s",tA,ke),T("ss",tA,xA),MA(["s","ss"],SB);var ux=bQ("Seconds",!1);f("S",0,0,function(){return~~(this.millisecond()/100)}),f(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),f(0,["SSS",3],0,"millisecond"),f(0,["SSSS",4],0,function(){return this.millisecond()*10}),f(0,["SSSSS",5],0,function(){return this.millisecond()*100}),f(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),f(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),f(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),f(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),T("S",JI,jt),T("SS",JI,xA),T("SSS",JI,xt);var PB,sr;for(PB="SSSS";PB.length<=9;PB+="S")T(PB,ZQ);function Kx(A,B){B[YQ]=X(("0."+A)*1e3)}for(PB="S";PB.length<=9;PB+="S")MA(PB,Kx);sr=bQ("Milliseconds",!1),f("z",0,0,"zoneAbbr"),f("zz",0,0,"zoneName");function fx(){return this._isUTC?"UTC":""}function Wx(){return this._isUTC?"Coordinated Universal Time":""}var H=lE.prototype;H.add=Jj,H.calendar=fj,H.clone=Wj,H.diff=Xj,H.endOf=gx,H.format=$j,H.from=Ax,H.fromNow=Bx,H.to=Qx,H.toNow=Ex,H.get=_z,H.invalidAt=sx,H.isAfter=pj,H.isBefore=qj,H.isBetween=Zj,H.isSame=Oj,H.isSameOrAfter=bj,H.isSameOrBefore=Lj,H.isValid=rx,H.lang=wr,H.locale=er,H.localeData=Mr,H.max=rj,H.min=tj,H.parsingFlags=Fx,H.set=$z,H.startOf=Ix,H.subtract=dj,H.toArray=cx,H.toObject=ix,H.toDate=Mx,H.toISOString=Pj,H.inspect=_j,typeof Symbol<"u"&&Symbol.for!=null&&(H[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),H.toJSON=tx,H.toString=vj,H.unix=wx,H.valueOf=ex,H.creationData=Ux,H.eraName=ax,H.eraNarrow=hx,H.eraAbbr=nx,H.eraYear=Nx,H.year=Tt,H.isLeapYear=Pz,H.weekYear=lx,H.isoWeekYear=Sx,H.quarter=H.quarters=Tx,H.month=ft,H.daysInMonth=M0,H.week=H.weeks=o0,H.isoWeek=H.isoWeeks=Y0,H.weeksInYear=xx,H.weeksInWeekYear=Jx,H.isoWeeksInYear=zx,H.isoWeeksInISOWeekYear=jx,H.date=Fr,H.day=H.days=S0,H.weekday=z0,H.isoWeekday=j0,H.dayOfYear=kx,H.hour=H.hours=u0,H.minute=H.minutes=mx,H.second=H.seconds=ux,H.millisecond=H.milliseconds=sr,H.utcOffset=nj,H.utc=Rj,H.local=Dj,H.parseZone=Gj,H.hasAlignedHourOffset=Vj,H.isDST=yj,H.isLocal=lj,H.isUtcOffset=Sj,H.isUtc=Br,H.isUTC=Br,H.zoneAbbr=fx,H.zoneName=Wx,H.dates=WA("dates accessor is deprecated. Use date instead.",Fr),H.months=WA("months accessor is deprecated. Use month instead",ft),H.years=WA("years accessor is deprecated. Use year instead",Tt),H.zone=WA("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Nj),H.isDSTShifted=WA("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Hj);function px(A){return rA(A*1e3)}function qx(){return rA.apply(null,arguments).parseZone()}function Ur(A){return A}var EA=Se.prototype;EA.calendar=lz,EA.longDateFormat=xz,EA.invalidDate=dz,EA.ordinal=mz,EA.preparse=Ur,EA.postformat=Ur,EA.relativeTime=Kz,EA.pastFuture=fz,EA.set=yz,EA.eras=ox,EA.erasParse=Yx,EA.erasConvertYear=Cx,EA.erasAbbrRegex=Dx,EA.erasNameRegex=Rx,EA.erasNarrowRegex=Gx,EA.months=I0,EA.monthsShort=g0,EA.monthsParse=w0,EA.monthsRegex=i0,EA.monthsShortRegex=c0,EA.week=r0,EA.firstDayOfYear=U0,EA.firstDayOfWeek=s0,EA.weekdays=G0,EA.weekdaysMin=y0,EA.weekdaysShort=V0,EA.weekdaysParse=l0,EA.weekdaysRegex=x0,EA.weekdaysShortRegex=J0,EA.weekdaysMinRegex=d0,EA.isPM=k0,EA.meridiem=K0;function XI(A,B,Q,I){var g=jB(),e=UB().set(I,B);return g[Q](e,A)}function or(A,B,Q){if(yB(A)&&(B=A,A=void 0),A=A||"",B!=null)return XI(A,B,Q,"month");var I,g=[];for(I=0;I<12;I++)g[I]=XI(A,I,Q,"month");return g}function Aw(A,B,Q,I){typeof A=="boolean"?(yB(B)&&(Q=B,B=void 0),B=B||""):(B=A,Q=B,A=!1,yB(B)&&(Q=B,B=void 0),B=B||"");var g=jB(),e=A?g._week.dow:0,w,M=[];if(Q!=null)return XI(B,(Q+e)%7,I,"day");for(w=0;w<7;w++)M[w]=XI(B,(w+e)%7,I,"day");return M}function Zx(A,B){return or(A,B,"months")}function Ox(A,B){return or(A,B,"monthsShort")}function bx(A,B,Q){return Aw(A,B,Q,"weekdays")}function Lx(A,B,Q){return Aw(A,B,Q,"weekdaysShort")}function Xx(A,B,Q){return Aw(A,B,Q,"weekdaysMin")}vB("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(A){var B=A%10,Q=X(A%100/10)===1?"th":B===1?"st":B===2?"nd":B===3?"rd":"th";return A+Q}}),x.lang=WA("moment.lang is deprecated. Use moment.locale instead.",vB),x.langData=WA("moment.langData is deprecated. Use moment.localeData instead.",jB);var xB=Math.abs;function vx(){var A=this._data;return this._milliseconds=xB(this._milliseconds),this._days=xB(this._days),this._months=xB(this._months),A.milliseconds=xB(A.milliseconds),A.seconds=xB(A.seconds),A.minutes=xB(A.minutes),A.hours=xB(A.hours),A.months=xB(A.months),A.years=xB(A.years),this}function Yr(A,B,Q,I){var g=QB(B,Q);return A._milliseconds+=I*g._milliseconds,A._days+=I*g._days,A._months+=I*g._months,A._bubble()}function Px(A,B){return Yr(this,A,B,1)}function _x(A,B){return Yr(this,A,B,-1)}function Cr(A){return A<0?Math.floor(A):Math.ceil(A)}function $x(){var A=this._milliseconds,B=this._days,Q=this._months,I=this._data,g,e,w,M,c;return A>=0&&B>=0&&Q>=0||A<=0&&B<=0&&Q<=0||(A+=Cr(Bw(Q)+B)*864e5,B=0,Q=0),I.milliseconds=A%1e3,g=qA(A/1e3),I.seconds=g%60,e=qA(g/60),I.minutes=e%60,w=qA(e/60),I.hours=w%24,B+=qA(w/24),c=qA(ar(B)),Q+=c,B-=Cr(Bw(c)),M=qA(Q/12),Q%=12,I.days=B,I.months=Q,I.years=M,this}function ar(A){return A*4800/146097}function Bw(A){return A*146097/4800}function AJ(A){if(!this.isValid())return NaN;var B,Q,I=this._milliseconds;if(A=pA(A),A==="month"||A==="quarter"||A==="year")switch(B=this._days+I/864e5,Q=this._months+ar(B),A){case"month":return Q;case"quarter":return Q/3;case"year":return Q/12}else switch(B=this._days+Math.round(Bw(this._months)),A){case"week":return B/7+I/6048e5;case"day":return B+I/864e5;case"hour":return B*24+I/36e5;case"minute":return B*1440+I/6e4;case"second":return B*86400+I/1e3;case"millisecond":return Math.floor(B*864e5)+I;default:throw new Error("Unknown unit "+A)}}function JB(A){return function(){return this.as(A)}}var hr=JB("ms"),BJ=JB("s"),QJ=JB("m"),EJ=JB("h"),IJ=JB("d"),gJ=JB("w"),eJ=JB("M"),wJ=JB("Q"),MJ=JB("y"),cJ=hr;function iJ(){return QB(this)}function tJ(A){return A=pA(A),this.isValid()?this[A+"s"]():NaN}function aQ(A){return function(){return this.isValid()?this._data[A]:NaN}}var rJ=aQ("milliseconds"),FJ=aQ("seconds"),sJ=aQ("minutes"),UJ=aQ("hours"),oJ=aQ("days"),YJ=aQ("months"),CJ=aQ("years");function aJ(){return qA(this.days()/7)}var dB=Math.round,PQ={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function hJ(A,B,Q,I,g){return g.relativeTime(B||1,!!Q,A,I)}function nJ(A,B,Q,I){var g=QB(A).abs(),e=dB(g.as("s")),w=dB(g.as("m")),M=dB(g.as("h")),c=dB(g.as("d")),i=dB(g.as("M")),t=dB(g.as("w")),r=dB(g.as("y")),F=e<=Q.ss&&["s",e]||e<Q.s&&["ss",e]||w<=1&&["m"]||w<Q.m&&["mm",w]||M<=1&&["h"]||M<Q.h&&["hh",M]||c<=1&&["d"]||c<Q.d&&["dd",c];return Q.w!=null&&(F=F||t<=1&&["w"]||t<Q.w&&["ww",t]),F=F||i<=1&&["M"]||i<Q.M&&["MM",i]||r<=1&&["y"]||["yy",r],F[2]=B,F[3]=+A>0,F[4]=I,hJ.apply(null,F)}function NJ(A){return A===void 0?dB:typeof A=="function"?(dB=A,!0):!1}function RJ(A,B){return PQ[A]===void 0?!1:B===void 0?PQ[A]:(PQ[A]=B,A==="s"&&(PQ.ss=B-1),!0)}function DJ(A,B){if(!this.isValid())return this.localeData().invalidDate();var Q=!1,I=PQ,g,e;return typeof A=="object"&&(B=A,A=!1),typeof A=="boolean"&&(Q=A),typeof B=="object"&&(I=Object.assign({},PQ,B),B.s!=null&&B.ss==null&&(I.ss=B.s-1)),g=this.localeData(),e=nJ(this,!Q,I,g),Q&&(e=g.pastFuture(+this,e)),g.postformat(e)}var Qw=Math.abs;function _Q(A){return(A>0)-(A<0)||+A}function vI(){if(!this.isValid())return this.localeData().invalidDate();var A=Qw(this._milliseconds)/1e3,B=Qw(this._days),Q=Qw(this._months),I,g,e,w,M=this.asSeconds(),c,i,t,r;return M?(I=qA(A/60),g=qA(I/60),A%=60,I%=60,e=qA(Q/12),Q%=12,w=A?A.toFixed(3).replace(/\.?0+$/,""):"",c=M<0?"-":"",i=_Q(this._months)!==_Q(M)?"-":"",t=_Q(this._days)!==_Q(M)?"-":"",r=_Q(this._milliseconds)!==_Q(M)?"-":"",c+"P"+(e?i+e+"Y":"")+(Q?i+Q+"M":"")+(B?t+B+"D":"")+(g||I||A?"T":"")+(g?r+g+"H":"")+(I?r+I+"M":"")+(A?r+w+"S":"")):"P0D"}var P=pI.prototype;P.isValid=Yj,P.abs=vx,P.add=Px,P.subtract=_x,P.as=AJ,P.asMilliseconds=hr,P.asSeconds=BJ,P.asMinutes=QJ,P.asHours=EJ,P.asDays=IJ,P.asWeeks=gJ,P.asMonths=eJ,P.asQuarters=wJ,P.asYears=MJ,P.valueOf=cJ,P._bubble=$x,P.clone=iJ,P.get=tJ,P.milliseconds=rJ,P.seconds=FJ,P.minutes=sJ,P.hours=UJ,P.days=oJ,P.weeks=aJ,P.months=YJ,P.years=CJ,P.humanize=DJ,P.toISOString=vI,P.toString=vI,P.toJSON=vI,P.locale=er,P.localeData=Mr,P.toIsoString=WA("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",vI),P.lang=wr,f("X",0,0,"unix"),f("x",0,0,"valueOf"),T("x",TI),T("X",Zz),MA("X",function(A,B,Q){Q._d=new Date(parseFloat(A)*1e3)}),MA("x",function(A,B,Q){Q._d=new Date(X(A))});x.version="2.30.1",Gz(rA),x.fn=H,x.min=Fj,x.max=sj,x.now=Uj,x.utc=UB,x.unix=px,x.months=Zx,x.isDate=HE,x.locale=vB,x.invalid=SI,x.duration=QB,x.isMoment=AB,x.weekdays=bx,x.parseZone=qx,x.localeData=jB,x.isDuration=qI,x.monthsShort=Ox,x.weekdaysMin=Xx,x.defineLocale=pe,x.updateLocale=q0,x.locales=Z0,x.weekdaysShort=Lx,x.normalizeUnits=pA,x.relativeTimeRounding=NJ,x.relativeTimeThreshold=RJ,x.calendarFormat=Kj,x.prototype=H,x.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const nr=E.defineComponent({__name:"app-date-picker",props:{small:Boolean,range:Boolean,minDate:Date,maxDate:Date,mode:String},emits:["update:modelValue"],setup(A,{expose:B,emit:Q}){const I=Q,g=E.computed(()=>E.useSlots());function e(o){return!!g.value[o]}const w=A,M=E.ref({start:"",end:""}),c=E.ref({start:"",end:""}),i=E.ref(""),t=E.ref(""),r=E.computed(()=>{if(w.range){const{start:o,end:C}=c.value;return o&&C?`${x(o).format("DD/MM/YYYY")} - ${x(C).format("DD/MM/YYYY")}`:"Selecione um período"}return t.value?x(t.value).format("DD/MM/YYYY"):"Selecione uma data"}),F=()=>w.range&&M.value.start&&M.value.end?c.value={...M.value}:t.value=i.value,s=()=>{if(w.range){const{start:o,end:C}=c.value;return M.value=o&&C?{...c.value}:{start:"",end:""}}return i.value=t.value||""};return E.watch(t,o=>{I("update:modelValue",o)}),E.watch(c,o=>{I("update:modelValue",o)}),B({rangeValue:M,singleValue:i,appliedRange:c,appliedSingle:t}),(o,C)=>{const a=E.resolveDirective("close-popper");return E.openBlock(),E.createBlock(yg,{small:A.small,"auto-size":!1,onHide:s},{icon:E.withCtx(()=>[E.createVNode(eA,{small:A.small},{default:E.withCtx(()=>[...C[2]||(C[2]=[E.createTextVNode("calendar_month",-1)])]),_:1},8,["small"])]),content:E.withCtx(()=>[A.range?(E.openBlock(),E.createBlock(E.unref(Rt),{key:0,class:E.normalizeClass(A.small?"date-small":""),modelValue:M.value,"onUpdate:modelValue":C[0]||(C[0]=Y=>M.value=Y),modelModifiers:{range:!0},color:"purple",timezone:"America/Sao_Paulo","min-date":A.minDate,"max-date":A.maxDate,borderless:"",mode:A.mode},null,8,["class","modelValue","min-date","max-date","mode"])):(E.openBlock(),E.createBlock(E.unref(Rt),{key:1,class:E.normalizeClass(A.small?"date-small":""),modelValue:i.value,"onUpdate:modelValue":C[1]||(C[1]=Y=>i.value=Y),color:"purple",timezone:"America/Sao_Paulo","min-date":A.minDate,"max-date":A.maxDate,borderless:"",mode:A.mode},null,8,["class","modelValue","min-date","max-date","mode"])),E.createVNode(BA,{class:"yu-border-t yu-pt-2","gap-sm":""},{default:E.withCtx(()=>[E.withDirectives((E.openBlock(),E.createBlock(WB,{small:A.small,fluid:"",soft:""},{default:E.withCtx(()=>[...C[3]||(C[3]=[E.createTextVNode("Fechar",-1)])]),_:1},8,["small"])),[[a]]),E.withDirectives((E.openBlock(),E.createBlock(WB,{onClick:F,small:A.small,fluid:""},{default:E.withCtx(()=>[...C[4]||(C[4]=[E.createTextVNode("Aplicar",-1)])]),_:1},8,["small"])),[[a]])]),_:1})]),default:E.withCtx(()=>[e("default")?E.renderSlot(o.$slots,"default",{key:0}):(E.openBlock(),E.createBlock(_,{key:1,medium:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(r.value),1)]),_:1}))]),_:3},8,["small"])}}}),PI=E.defineComponent({__name:"app-skeleton",props:{round:Boolean,fluid:Boolean,block:Boolean},setup(A){const B=A,Q=E.computed(()=>B.fluid?"!yu-w-full":""),I=E.computed(()=>B.round?"!yu-rounded-full":B.block?"!yu-rounded-none":"!yu-rounded-lg");return(g,e)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["yu-animate-pulse yu-bg-gray-200",[I.value,Q.value]])},null,2))}}),GJ=["disabled","maxlength"],VJ=72,Nr=E.defineComponent({__name:"app-text-area",props:{small:Boolean,fluid:Boolean,round:Boolean,invalid:Boolean,valid:Boolean,disabled:Boolean,type:String,maxLength:Number,modelValue:String},emits:["update:modelValue"],setup(A,{expose:B,emit:Q}){const I=A,g=Q,e=E.computed(()=>E.useSlots());function w(n){return!!e.value[n]}const M=E.ref(I.modelValue||""),c=E.ref(!1),i=()=>!(c.value||M.value),t=E.computed(()=>I.invalid?"yu-border-red-500 focus-within:yu-border-red-500":I.valid?"yu-border-green-500 focus-within:yu-border-green-500":"focus-within:yu-border-primary focus-within:yu-border-2"),r=E.computed(()=>I.invalid?"yu-text-red-500":I.valid?"yu-text-green-500":""),F=E.computed(()=>{if(i())return"yu-translate-y-1/4";if(!i())return"yu-translate-x-0 yu-text-xs"}),s=E.computed(()=>I.disabled?"yu-opacity-50 yu-pointer-events-none":""),o=E.computed(()=>I.fluid?"!yu-w-full":""),C=E.ref(null),a=E.ref(null),Y=()=>{E.nextTick(()=>{const n=a.value,h=C.value;!n||!h||(n.style.height="auto",n.style.height=Math.max(n.scrollHeight,VJ)+"px",h.style.height=n.style.height)})};E.watch(()=>I.modelValue,n=>{n!==M.value&&(M.value=n||"",Y())});const R=()=>{g("update:modelValue",M.value),Y()};return B({focus:c}),(n,h)=>(E.openBlock(),E.createBlock(BA,{class:"yu-font-primary",col:"","gap-none":""},{default:E.withCtx(()=>[E.createVNode(BA,{col:"","gap-sm":""},{default:E.withCtx(()=>[w("label")?(E.openBlock(),E.createBlock(_,{key:0,base:"",medium:""},{default:E.withCtx(()=>[E.renderSlot(n.$slots,"label")]),_:3})):E.createCommentVNode("",!0),E.createElementVNode("div",{class:E.normalizeClass(["simple-input yu-min-h-[4.5rem]",[t.value,s.value,o.value]]),ref_key:"textareaContainerRef",ref:C},[E.createVNode(_,{class:E.normalizeClass(["yu-p-1 yu-px-2 yu-transition yu-z-10 yu-pointer-events-none",[F.value]]),medium:"",gray:""},{default:E.withCtx(()=>[E.renderSlot(n.$slots,"default")]),_:3},8,["class"]),E.withDirectives(E.createElementVNode("textarea",{class:"yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-gray-50 yu-p-2 yu-pt-5 yu-z-0 yu-text-sm yu-leading-4 yu-font-medium",ref_key:"textareaRef",ref:a,"onUpdate:modelValue":h[0]||(h[0]=D=>M.value=D),disabled:A.disabled,onInput:R,onFocus:h[1]||(h[1]=D=>c.value=!0),onBlur:h[2]||(h[2]=D=>c.value=!1),maxlength:A.maxLength},null,40,GJ),[[E.vModelText,M.value]]),E.createVNode(BA,{class:"yu-absolute yu-bottom-2 yu-right-2 yu-cursor-pointer yu-text-gray-500 yu-select-none yu-flex yu-items-center"},{default:E.withCtx(()=>[A.maxLength?(E.openBlock(),E.createBlock(_,{key:0,small:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(`${M.value.length} / ${A.maxLength}`),1)]),_:1})):E.createCommentVNode("",!0)]),_:1})],2)]),_:3}),w("feedback")?(E.openBlock(),E.createElementBlock("div",{key:0,class:E.normalizeClass([r.value])},[E.renderSlot(n.$slots,"feedback")],2)):E.createCommentVNode("",!0)]),_:3}))}}),yJ={class:"yu-flex yu-gap-1"},Rr=E.defineComponent({__name:"app-typing-indicator",props:{small:Boolean},setup(A){const B=A,Q=E.computed(()=>B.small?"yu-h-1 yu-w-1":"yu-h-2 yu-w-2");return(I,g)=>(E.openBlock(),E.createElementBlock("div",yJ,[E.createElementVNode("span",{class:E.normalizeClass(["yu-bg-gray-500 yu-bg-opacity-80 yu-rounded-full yu-animate-bounce",[Q.value]]),style:{"animation-delay":"0s"}},null,2),E.createElementVNode("span",{class:E.normalizeClass(["yu-bg-gray-500 yu-bg-opacity-80 yu-rounded-full yu-animate-bounce",[Q.value]]),style:{"animation-delay":"0.2s"}},null,2),E.createElementVNode("span",{class:E.normalizeClass(["yu-bg-gray-500 yu-bg-opacity-80 yu-rounded-full yu-animate-bounce",[Q.value]]),style:{"animation-delay":"0.4s"}},null,2)]))}}),HJ=["data-state","onClick"],Dr=E.defineComponent({__name:"app-tabs",props:{center:Boolean,segment:Boolean,small:{type:Boolean,default:!0},defaultTab:String,options:{type:Array,default:()=>[]}},setup(A){const B=A,Q=E.useSlots(),I=E.computed(()=>{const i={};return B.options.forEach(t=>{i[t.name]=t}),i}),g=Object.keys(Q),e=E.ref(B.defaultTab??g[0]);function w(i){const t=I.value[i];return!t||!t.label?i:t.label}const M=E.computed(()=>B.segment?"yu-bg-gray-100 yu-rounded-md":"yu-border-b"),c=E.computed(()=>B.segment?"yu-p-2 yu-transition-all duration-200 yu-group yu-rounded-md yu-w-full data-[state=active]:yu-bg-white data-[state=active]:yu-shadow":B.small?"yu-p-2 yu-border-b-4 yu-border-transparent yu-transition-all duration-200 yu-group data-[state=active]:yu-border-b-primary":"yu-p-2 yu-px-4 yu-border-b-4 yu-border-transparent yu-transition-all duration-200 yu-group data-[state=active]:yu-border-b-primary");return(i,t)=>(E.openBlock(),E.createBlock(BA,{col:"","gap-none":""},{default:E.withCtx(()=>[E.createVNode(BA,{class:E.normalizeClass([M.value]),"gap-none":"",center:A.center,"padding-sm":A.segment},{default:E.withCtx(()=>[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(E.unref(g),r=>(E.openBlock(),E.createElementBlock("button",{class:E.normalizeClass(["yu-flex yu-gap-2 yu-items-center yu-justify-center",[c.value]]),key:r,"data-state":e.value===r?"active":"inactive",onClick:F=>e.value=r},[I.value[r]?.icon?(E.openBlock(),E.createBlock(eA,{key:0,class:"group-hover:!yu-text-primary yu-transition-colors duration-200",small:A.small,gray:e.value!==r,dark:e.value===r},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(I.value[r].icon),1)]),_:2},1032,["small","gray","dark"])):E.createCommentVNode("",!0),E.createVNode(_,{class:E.normalizeClass(["group-hover:!yu-text-primary yu-transition-colors duration-200",{"!yu-text-primary":e.value===r}]),gray:e.value!==r,small:A.small,medium:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(w(r)),1)]),_:2},1032,["class","gray","small"])],10,HJ))),128))]),_:1},8,["class","center","padding-sm"]),(E.openBlock(),E.createBlock(E.resolveDynamicComponent(E.unref(Q)[e.value]),{key:e.value}))]),_:1}))}}),lJ={class:"yu-w-full"},SJ={key:0,class:"yu-p-3",align:"left"},zJ={key:0,class:"yu-p-3"},jJ={key:1},xJ={class:"yu-p-4",colspan:"100%"},JJ={key:2},dJ={class:"yu-p-4",colspan:"100%"},TJ={key:3},kJ={class:"yu-p-4",colspan:"100%"},mJ={key:0,class:"yu-p-3"},Gr=E.defineComponent({__name:"app-data-table",props:{loading:{type:Boolean,default:!1},columns:{},data:{},itemsPerPage:{default:10},round:{type:Boolean,default:!0},border:{type:Boolean,default:!0},error:{type:Boolean,default:!1},divisor:{type:Boolean,default:!0},striped:{type:Boolean,default:!1},hover:{type:Boolean,default:!0}},emits:["reload"],setup(A,{emit:B}){const Q=B,I=A,g=E.useSlots();function e(t){return!!g[t]}const w=E.computed(()=>I.round?"yu-rounded-xl":""),M=E.computed(()=>I.border?"yu-border":""),c=E.computed(()=>I.border?"yu-border-b":""),i=E.computed(()=>I.divisor?"yu-divide-y":"");return(t,r)=>(E.openBlock(),E.createBlock(BA,{class:"yu-w-full",col:"","gap-sm":""},{default:E.withCtx(()=>[E.renderSlot(t.$slots,"header"),E.createElementVNode("div",{class:E.normalizeClass(["yu-w-full yu-overflow-hidden yu-relative yu-overflow-y-auto yu-bg-white",[w.value,M.value]])},[E.createElementVNode("table",lJ,[E.createElementVNode("thead",{class:E.normalizeClass(["yu-bg-white",[w.value,c.value]])},[E.createElementVNode("tr",null,[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.columns,F=>(E.openBlock(),E.createElementBlock("th",{class:"yu-p-3",key:F.value,align:"left"},[E.createVNode(_,{medium:"",gray:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(F.label),1)]),_:2},1024)]))),128)),e("actions")&&A.columns.length>0?(E.openBlock(),E.createElementBlock("th",SJ,[E.createVNode(_,{medium:"",gray:""},{default:E.withCtx(()=>[...r[1]||(r[1]=[E.createTextVNode("Ações",-1)])]),_:1})])):E.createCommentVNode("",!0)])],2),E.createElementVNode("tbody",{class:E.normalizeClass([i.value])},[A.loading?(E.openBlock(!0),E.createElementBlock(E.Fragment,{key:0},E.renderList(A.itemsPerPage,F=>(E.openBlock(),E.createElementBlock("tr",{key:F},[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.columns,s=>(E.openBlock(),E.createElementBlock("td",{class:"yu-p-3",key:s.value},[E.createVNode(PI,{class:"yu-h-6 yu-w-full"})]))),128)),e("actions")&&A.columns.length>0?(E.openBlock(),E.createElementBlock("td",zJ,[E.createVNode(PI,{class:"yu-h-6 yu-w-full"})])):E.createCommentVNode("",!0)]))),128)):A.error?(E.openBlock(),E.createElementBlock("tr",jJ,[E.createElementVNode("td",xJ,[E.createVNode(BA,{center:"","gap-sm":"",col:""},{default:E.withCtx(()=>[E.createVNode(eA,{"extra-large":"",gray:""},{default:E.withCtx(()=>[...r[2]||(r[2]=[E.createTextVNode("error",-1)])]),_:1}),E.createVNode(_,{center:"",gray:""},{default:E.withCtx(()=>[...r[3]||(r[3]=[E.createTextVNode("Ocorreu um erro ao carregar os dados",-1)])]),_:1}),E.createVNode(WB,{onClick:r[0]||(r[0]=F=>Q("reload")),small:"",outline:""},{icon:E.withCtx(()=>[E.createVNode(eA,null,{default:E.withCtx(()=>[...r[4]||(r[4]=[E.createTextVNode("refresh",-1)])]),_:1})]),default:E.withCtx(()=>[r[5]||(r[5]=E.createTextVNode("Recarregar",-1))]),_:1})]),_:1})])])):A.data.length===0?(E.openBlock(),E.createElementBlock("tr",JJ,[E.createElementVNode("td",dJ,[E.createVNode(BA,{center:"","gap-sm":"",col:""},{default:E.withCtx(()=>[E.createVNode(eA,{"extra-large":"",gray:""},{default:E.withCtx(()=>[...r[6]||(r[6]=[E.createTextVNode("inbox",-1)])]),_:1}),E.createVNode(_,{center:"",gray:""},{default:E.withCtx(()=>[...r[7]||(r[7]=[E.createTextVNode("Nenhum resultado encontrado",-1)])]),_:1})]),_:1})])])):A.columns.length===0?(E.openBlock(),E.createElementBlock("tr",TJ,[E.createElementVNode("td",kJ,[E.createVNode(BA,{center:"","gap-sm":"",col:""},{default:E.withCtx(()=>[E.createVNode(eA,{"extra-large":"",gray:""},{default:E.withCtx(()=>[...r[8]||(r[8]=[E.createTextVNode("filter_list",-1)])]),_:1}),E.createVNode(_,{center:"",gray:""},{default:E.withCtx(()=>[...r[9]||(r[9]=[E.createTextVNode("Nenhuma coluna selecionada",-1)])]),_:1})]),_:1})])])):E.createCommentVNode("",!0),!A.loading&&!A.error?(E.openBlock(!0),E.createElementBlock(E.Fragment,{key:4},E.renderList(A.data,(F,s)=>(E.openBlock(),E.createElementBlock("tr",{class:E.normalizeClass(["yu-transition-all",{"yu-bg-gray-50":A.striped&&s%2===1,"hover:yu-bg-gray-100":A.hover}]),key:F.id},[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.columns,o=>(E.openBlock(),E.createElementBlock("td",{class:"yu-p-3",key:o.value},[e(`cell-${o.value}`)?E.renderSlot(t.$slots,`cell-${o.value}`,{key:0,row:F,column:o}):(E.openBlock(),E.createBlock(_,{key:1},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(F[o.value]),1)]),_:2},1024))]))),128)),e("actions")&&A.columns.length>0?(E.openBlock(),E.createElementBlock("td",mJ,[E.createVNode(BA,{class:"yu-items-center","gap-sm":""},{default:E.withCtx(()=>[E.renderSlot(t.$slots,"actions",{row:F})]),_:2},1024)])):E.createCommentVNode("",!0)],2))),128)):E.createCommentVNode("",!0)],2)])],2),E.renderSlot(t.$slots,"footer")]),_:3}))}}),Ew=E.ref(null),Iw=E.ref(null);function Vr(){return{siderComponent:Ew,siderProps:Iw,setSiderComponent:(Q,I)=>{Ew.value=E.markRaw(Q),Iw.value=I??{}},clearSiderComponent:()=>{Ew.value=null,Iw.value=null}}}const yr=E.defineComponent({__name:"app-sider",setup(A){const{siderComponent:B,siderProps:Q}=Vr();return(I,g)=>E.unref(B)?(E.openBlock(),E.createBlock(BA,{key:0,class:"yu-h-screen yu-bg-white yu-border-l yu-max-w-[25rem] yu-min-w-[25rem]"},{default:E.withCtx(()=>[(E.openBlock(),E.createBlock(E.resolveDynamicComponent(E.unref(B)),E.normalizeProps(E.guardReactiveProps(E.unref(Q))),null,16))]),_:1})):E.createCommentVNode("",!0)}});function uJ(){return{maskPhone:e=>e.replace(/\D/g,"").slice(0,11).replace(/^(\d{2})(\d)/,"($1) $2").replace(/^(\(\d{2}\)\s\d{5})(\d)/,"$1-$2"),maskCnpj:e=>e.replace(/\D/g,"").slice(0,14).replace(/^(\d{2})(\d)/,"$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3").replace(/^(\d{2})\.(\d{3})\.(\d{3})(\d)/,"$1.$2.$3/$4").replace(/^(\d{2})\.(\d{3})\.(\d{3})\/(\d{4})(\d)/,"$1.$2.$3/$4-$5"),maskCep:e=>e.replace(/\D/g,"").slice(0,8).replace(/^(\d{5})(\d)/,"$1-$2"),maskCpf:e=>e.replace(/\D/g,"").slice(0,11).replace(/^(\d{3})(\d)/,"$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/,"$1.$2.$3").replace(/^(\d{3})\.(\d{3})\.(\d{3})(\d)/,"$1.$2.$3-$4")}}const KJ={install:A=>{A.use(KF),A.component("TextInput",WE),A.component("AppTextInput",WE),A.component("IconTextInput",Eg),A.component("AppIconTextInput",Eg),A.component("SwitchCheckbox",Ig),A.component("AppSwitchCheckbox",Ig),A.component("ButtonPrimary",gg),A.component("AppButtonPrimary",gg),A.component("ButtonSecondary",eg),A.component("AppButtonSecondary",eg),A.component("SimpleDropdown",tw),A.component("AppDropdown",wM),A.component("AppSelect",Dg),A.component("AppSelectItem",Rg),A.component("SimpleDropdownItem",wg),A.component("StatCard",Gg),A.component("AppStatCard",Gg),A.component("AppAdvancedStatCard",iM),A.component("ListCard",tM),A.component("AppTitle",Vg),A.component("AppSubtitle",rM),A.component("AppText",_),A.component("AppTooltipIcon",FM),A.component("AppTable",sM),A.component("AppTableHeader",UM),A.component("AppTableRow",oM),A.component("AppTableCell",YM),A.component("AppTableHeaderCell",CM),A.component("AppPagination",aM),A.component("AppPopup",hM),A.component("AppContainer",nM),A.component("AppGroup",BA),A.component("AppAccordion",NM),A.component("AppLoadingRing",RM),A.component("AppJoin",DM),A.component("AppIcon",eA),A.component("AppButton",WB),A.component("AppAvatar",GM),A.component("AppBadge",VM),A.component("AppSwitch",yM),A.component("AppTextInput",Ng),A.component("AppDropview",yg),A.component("AppDropviewItem",HM),A.component("AppDatePicker",nr),A.component("AppSkeleton",PI),A.component("AppTextArea",Nr),A.component("AppTypingIndicator",Rr),A.component("AppTabs",Dr),A.component("AppDataTable",Gr),A.component("AppSider",yr)}};p.AppAccordion=NM,p.AppAdvancedStatCard=iM,p.AppAvatar=GM,p.AppBadge=VM,p.AppButton=WB,p.AppContainer=nM,p.AppDataTable=Gr,p.AppDatePicker=nr,p.AppDropdown=wM,p.AppDropview=yg,p.AppDropviewItem=HM,p.AppGroup=BA,p.AppIcon=eA,p.AppJoin=DM,p.AppLoadingRing=RM,p.AppPagination=aM,p.AppPopup=hM,p.AppSelect=Dg,p.AppSelectItem=Rg,p.AppSider=yr,p.AppSkeleton=PI,p.AppSubtitle=rM,p.AppSwitch=yM,p.AppTable=sM,p.AppTableCell=YM,p.AppTableHeader=UM,p.AppTableHeaderCell=CM,p.AppTableRow=oM,p.AppTabs=Dr,p.AppText=_,p.AppTextArea=Nr,p.AppTextInput=Ng,p.AppTitle=Vg,p.AppTooltipIcon=FM,p.AppTypingIndicator=Rr,p.ButtonPrimary=gg,p.ButtonSecondary=eg,p.IconTextInput=Eg,p.ListCard=tM,p.SimpleDropdown=tw,p.SimpleDropdownItem=wg,p.StatCard=Gg,p.SwitchCheckbox=Ig,p.TextInput=WE,p.default=KJ,p.useMaskFunctions=uJ,p.useSider=Vr,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
5
|
+
`+new Error().stack),Q=!1}return B.apply(this,arguments)},B)}var Ht={};function lt(A,B){x.deprecationHandler!=null&&x.deprecationHandler(A,B),Ht[A]||(yt(B),Ht[A]=!0)}x.suppressDeprecationWarnings=!1,x.deprecationHandler=null;function oB(A){return typeof Function<"u"&&A instanceof Function||Object.prototype.toString.call(A)==="[object Function]"}function yz(A){var B,Q;for(Q in A)QA(A,Q)&&(B=A[Q],oB(B)?this[Q]=B:this["_"+Q]=B);this._config=A,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function le(A,B){var Q=XB({},A),I;for(I in B)QA(B,I)&&(oQ(A[I])&&oQ(B[I])?(Q[I]={},XB(Q[I],A[I]),XB(Q[I],B[I])):B[I]!=null?Q[I]=B[I]:delete Q[I]);for(I in A)QA(A,I)&&!QA(B,I)&&oQ(A[I])&&(Q[I]=XB({},Q[I]));return Q}function Se(A){A!=null&&this.set(A)}var ze;Object.keys?ze=Object.keys:ze=function(A){var B,Q=[];for(B in A)QA(A,B)&&Q.push(B);return Q};var Hz={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function lz(A,B,Q){var I=this._calendar[A]||this._calendar.sameElse;return oB(I)?I.call(B,Q):I}function YB(A,B,Q){var I=""+Math.abs(A),g=B-I.length,e=A>=0;return(e?Q?"+":"":"-")+Math.pow(10,Math.max(0,g)).toString().substr(1)+I}var je=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,zI=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,xe={},qQ={};function f(A,B,Q,I){var g=I;typeof I=="string"&&(g=function(){return this[I]()}),A&&(qQ[A]=g),B&&(qQ[B[0]]=function(){return YB(g.apply(this,arguments),B[1],B[2])}),Q&&(qQ[Q]=function(){return this.localeData().ordinal(g.apply(this,arguments),A)})}function Sz(A){return A.match(/\[[\s\S]/)?A.replace(/^\[|\]$/g,""):A.replace(/\\/g,"")}function zz(A){var B=A.match(je),Q,I;for(Q=0,I=B.length;Q<I;Q++)qQ[B[Q]]?B[Q]=qQ[B[Q]]:B[Q]=Sz(B[Q]);return function(g){var e="",w;for(w=0;w<I;w++)e+=oB(B[w])?B[w].call(g,A):B[w];return e}}function jI(A,B){return A.isValid()?(B=St(B,A.localeData()),xe[B]=xe[B]||zz(B),xe[B](A)):A.localeData().invalidDate()}function St(A,B){var Q=5;function I(g){return B.longDateFormat(g)||g}for(zI.lastIndex=0;Q>=0&&zI.test(A);)A=A.replace(zI,I),zI.lastIndex=0,Q-=1;return A}var jz={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function xz(A){var B=this._longDateFormat[A],Q=this._longDateFormat[A.toUpperCase()];return B||!Q?B:(this._longDateFormat[A]=Q.match(je).map(function(I){return I==="MMMM"||I==="MM"||I==="DD"||I==="dddd"?I.slice(1):I}).join(""),this._longDateFormat[A])}var Jz="Invalid date";function dz(){return this._invalidDate}var Tz="%d",kz=/\d{1,2}/;function mz(A){return this._ordinal.replace("%d",A)}var uz={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Kz(A,B,Q,I){var g=this._relativeTime[Q];return oB(g)?g(A,B,Q,I):g.replace(/%d/i,A)}function fz(A,B){var Q=this._relativeTime[A>0?"future":"past"];return oB(Q)?Q(B):Q.replace(/%s/i,B)}var zt={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function pA(A){return typeof A=="string"?zt[A]||zt[A.toLowerCase()]:void 0}function Je(A){var B={},Q,I;for(I in A)QA(A,I)&&(Q=pA(I),Q&&(B[Q]=A[I]));return B}var Wz={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function pz(A){var B=[],Q;for(Q in A)QA(A,Q)&&B.push({unit:Q,priority:Wz[Q]});return B.sort(function(I,g){return I.priority-g.priority}),B}var jt=/\d/,xA=/\d\d/,xt=/\d{3}/,de=/\d{4}/,xI=/[+-]?\d{6}/,tA=/\d\d?/,Jt=/\d\d\d\d?/,dt=/\d\d\d\d\d\d?/,JI=/\d{1,3}/,Te=/\d{1,4}/,dI=/[+-]?\d{1,6}/,ZQ=/\d+/,TI=/[+-]?\d+/,qz=/Z|[+-]\d\d:?\d\d/gi,kI=/Z|[+-]\d\d(?::?\d\d)?/gi,Zz=/[+-]?\d+(\.\d{1,3})?/,SE=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,OQ=/^[1-9]\d?/,ke=/^([1-9]\d|\d)/,mI;mI={};function T(A,B,Q){mI[A]=oB(B)?B:function(I,g){return I&&Q?Q:B}}function Oz(A,B){return QA(mI,A)?mI[A](B._strict,B._locale):new RegExp(bz(A))}function bz(A){return HB(A.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(B,Q,I,g,e){return Q||I||g||e}))}function HB(A){return A.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function qA(A){return A<0?Math.ceil(A)||0:Math.floor(A)}function X(A){var B=+A,Q=0;return B!==0&&isFinite(B)&&(Q=qA(B)),Q}var me={};function MA(A,B){var Q,I=B,g;for(typeof A=="string"&&(A=[A]),yB(B)&&(I=function(e,w){w[B]=X(e)}),g=A.length,Q=0;Q<g;Q++)me[A[Q]]=I}function zE(A,B){MA(A,function(Q,I,g,e){g._w=g._w||{},B(Q,g._w,g,e)})}function Lz(A,B,Q){B!=null&&QA(me,A)&&me[A](B,Q._a,Q,A)}function uI(A){return A%4===0&&A%100!==0||A%400===0}var DA=0,lB=1,CB=2,aA=3,BB=4,SB=5,YQ=6,Xz=7,vz=8;f("Y",0,0,function(){var A=this.year();return A<=9999?YB(A,4):"+"+A}),f(0,["YY",2],0,function(){return this.year()%100}),f(0,["YYYY",4],0,"year"),f(0,["YYYYY",5],0,"year"),f(0,["YYYYYY",6,!0],0,"year"),T("Y",TI),T("YY",tA,xA),T("YYYY",Te,de),T("YYYYY",dI,xI),T("YYYYYY",dI,xI),MA(["YYYYY","YYYYYY"],DA),MA("YYYY",function(A,B){B[DA]=A.length===2?x.parseTwoDigitYear(A):X(A)}),MA("YY",function(A,B){B[DA]=x.parseTwoDigitYear(A)}),MA("Y",function(A,B){B[DA]=parseInt(A,10)});function jE(A){return uI(A)?366:365}x.parseTwoDigitYear=function(A){return X(A)+(X(A)>68?1900:2e3)};var Tt=bQ("FullYear",!0);function Pz(){return uI(this.year())}function bQ(A,B){return function(Q){return Q!=null?(kt(this,A,Q),x.updateOffset(this,B),this):xE(this,A)}}function xE(A,B){if(!A.isValid())return NaN;var Q=A._d,I=A._isUTC;switch(B){case"Milliseconds":return I?Q.getUTCMilliseconds():Q.getMilliseconds();case"Seconds":return I?Q.getUTCSeconds():Q.getSeconds();case"Minutes":return I?Q.getUTCMinutes():Q.getMinutes();case"Hours":return I?Q.getUTCHours():Q.getHours();case"Date":return I?Q.getUTCDate():Q.getDate();case"Day":return I?Q.getUTCDay():Q.getDay();case"Month":return I?Q.getUTCMonth():Q.getMonth();case"FullYear":return I?Q.getUTCFullYear():Q.getFullYear();default:return NaN}}function kt(A,B,Q){var I,g,e,w,M;if(!(!A.isValid()||isNaN(Q))){switch(I=A._d,g=A._isUTC,B){case"Milliseconds":return void(g?I.setUTCMilliseconds(Q):I.setMilliseconds(Q));case"Seconds":return void(g?I.setUTCSeconds(Q):I.setSeconds(Q));case"Minutes":return void(g?I.setUTCMinutes(Q):I.setMinutes(Q));case"Hours":return void(g?I.setUTCHours(Q):I.setHours(Q));case"Date":return void(g?I.setUTCDate(Q):I.setDate(Q));case"FullYear":break;default:return}e=Q,w=A.month(),M=A.date(),M=M===29&&w===1&&!uI(e)?28:M,g?I.setUTCFullYear(e,w,M):I.setFullYear(e,w,M)}}function _z(A){return A=pA(A),oB(this[A])?this[A]():this}function $z(A,B){if(typeof A=="object"){A=Je(A);var Q=pz(A),I,g=Q.length;for(I=0;I<g;I++)this[Q[I].unit](A[Q[I].unit])}else if(A=pA(A),oB(this[A]))return this[A](B);return this}function A0(A,B){return(A%B+B)%B}var UA;Array.prototype.indexOf?UA=Array.prototype.indexOf:UA=function(A){var B;for(B=0;B<this.length;++B)if(this[B]===A)return B;return-1};function ue(A,B){if(isNaN(A)||isNaN(B))return NaN;var Q=A0(B,12);return A+=(B-Q)/12,Q===1?uI(A)?29:28:31-Q%7%2}f("M",["MM",2],"Mo",function(){return this.month()+1}),f("MMM",0,0,function(A){return this.localeData().monthsShort(this,A)}),f("MMMM",0,0,function(A){return this.localeData().months(this,A)}),T("M",tA,OQ),T("MM",tA,xA),T("MMM",function(A,B){return B.monthsShortRegex(A)}),T("MMMM",function(A,B){return B.monthsRegex(A)}),MA(["M","MM"],function(A,B){B[lB]=X(A)-1}),MA(["MMM","MMMM"],function(A,B,Q,I){var g=Q._locale.monthsParse(A,I,Q._strict);g!=null?B[lB]=g:b(Q).invalidMonth=A});var B0="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),mt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ut=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Q0=SE,E0=SE;function I0(A,B){return A?$A(this._months)?this._months[A.month()]:this._months[(this._months.isFormat||ut).test(B)?"format":"standalone"][A.month()]:$A(this._months)?this._months:this._months.standalone}function g0(A,B){return A?$A(this._monthsShort)?this._monthsShort[A.month()]:this._monthsShort[ut.test(B)?"format":"standalone"][A.month()]:$A(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function e0(A,B,Q){var I,g,e,w=A.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],I=0;I<12;++I)e=UB([2e3,I]),this._shortMonthsParse[I]=this.monthsShort(e,"").toLocaleLowerCase(),this._longMonthsParse[I]=this.months(e,"").toLocaleLowerCase();return Q?B==="MMM"?(g=UA.call(this._shortMonthsParse,w),g!==-1?g:null):(g=UA.call(this._longMonthsParse,w),g!==-1?g:null):B==="MMM"?(g=UA.call(this._shortMonthsParse,w),g!==-1?g:(g=UA.call(this._longMonthsParse,w),g!==-1?g:null)):(g=UA.call(this._longMonthsParse,w),g!==-1?g:(g=UA.call(this._shortMonthsParse,w),g!==-1?g:null))}function w0(A,B,Q){var I,g,e;if(this._monthsParseExact)return e0.call(this,A,B,Q);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),I=0;I<12;I++){if(g=UB([2e3,I]),Q&&!this._longMonthsParse[I]&&(this._longMonthsParse[I]=new RegExp("^"+this.months(g,"").replace(".","")+"$","i"),this._shortMonthsParse[I]=new RegExp("^"+this.monthsShort(g,"").replace(".","")+"$","i")),!Q&&!this._monthsParse[I]&&(e="^"+this.months(g,"")+"|^"+this.monthsShort(g,""),this._monthsParse[I]=new RegExp(e.replace(".",""),"i")),Q&&B==="MMMM"&&this._longMonthsParse[I].test(A))return I;if(Q&&B==="MMM"&&this._shortMonthsParse[I].test(A))return I;if(!Q&&this._monthsParse[I].test(A))return I}}function Kt(A,B){if(!A.isValid())return A;if(typeof B=="string"){if(/^\d+$/.test(B))B=X(B);else if(B=A.localeData().monthsParse(B),!yB(B))return A}var Q=B,I=A.date();return I=I<29?I:Math.min(I,ue(A.year(),Q)),A._isUTC?A._d.setUTCMonth(Q,I):A._d.setMonth(Q,I),A}function ft(A){return A!=null?(Kt(this,A),x.updateOffset(this,!0),this):xE(this,"Month")}function M0(){return ue(this.year(),this.month())}function c0(A){return this._monthsParseExact?(QA(this,"_monthsRegex")||Wt.call(this),A?this._monthsShortStrictRegex:this._monthsShortRegex):(QA(this,"_monthsShortRegex")||(this._monthsShortRegex=Q0),this._monthsShortStrictRegex&&A?this._monthsShortStrictRegex:this._monthsShortRegex)}function i0(A){return this._monthsParseExact?(QA(this,"_monthsRegex")||Wt.call(this),A?this._monthsStrictRegex:this._monthsRegex):(QA(this,"_monthsRegex")||(this._monthsRegex=E0),this._monthsStrictRegex&&A?this._monthsStrictRegex:this._monthsRegex)}function Wt(){function A(c,i){return i.length-c.length}var B=[],Q=[],I=[],g,e,w,M;for(g=0;g<12;g++)e=UB([2e3,g]),w=HB(this.monthsShort(e,"")),M=HB(this.months(e,"")),B.push(w),Q.push(M),I.push(M),I.push(w);B.sort(A),Q.sort(A),I.sort(A),this._monthsRegex=new RegExp("^("+I.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+Q.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+B.join("|")+")","i")}function t0(A,B,Q,I,g,e,w){var M;return A<100&&A>=0?(M=new Date(A+400,B,Q,I,g,e,w),isFinite(M.getFullYear())&&M.setFullYear(A)):M=new Date(A,B,Q,I,g,e,w),M}function JE(A){var B,Q;return A<100&&A>=0?(Q=Array.prototype.slice.call(arguments),Q[0]=A+400,B=new Date(Date.UTC.apply(null,Q)),isFinite(B.getUTCFullYear())&&B.setUTCFullYear(A)):B=new Date(Date.UTC.apply(null,arguments)),B}function KI(A,B,Q){var I=7+B-Q,g=(7+JE(A,0,I).getUTCDay()-B)%7;return-g+I-1}function pt(A,B,Q,I,g){var e=(7+Q-I)%7,w=KI(A,I,g),M=1+7*(B-1)+e+w,c,i;return M<=0?(c=A-1,i=jE(c)+M):M>jE(A)?(c=A+1,i=M-jE(A)):(c=A,i=M),{year:c,dayOfYear:i}}function dE(A,B,Q){var I=KI(A.year(),B,Q),g=Math.floor((A.dayOfYear()-I-1)/7)+1,e,w;return g<1?(w=A.year()-1,e=g+zB(w,B,Q)):g>zB(A.year(),B,Q)?(e=g-zB(A.year(),B,Q),w=A.year()+1):(w=A.year(),e=g),{week:e,year:w}}function zB(A,B,Q){var I=KI(A,B,Q),g=KI(A+1,B,Q);return(jE(A)-I+g)/7}f("w",["ww",2],"wo","week"),f("W",["WW",2],"Wo","isoWeek"),T("w",tA,OQ),T("ww",tA,xA),T("W",tA,OQ),T("WW",tA,xA),zE(["w","ww","W","WW"],function(A,B,Q,I){B[I.substr(0,1)]=X(A)});function r0(A){return dE(A,this._week.dow,this._week.doy).week}var F0={dow:0,doy:6};function s0(){return this._week.dow}function U0(){return this._week.doy}function o0(A){var B=this.localeData().week(this);return A==null?B:this.add((A-B)*7,"d")}function Y0(A){var B=dE(this,1,4).week;return A==null?B:this.add((A-B)*7,"d")}f("d",0,"do","day"),f("dd",0,0,function(A){return this.localeData().weekdaysMin(this,A)}),f("ddd",0,0,function(A){return this.localeData().weekdaysShort(this,A)}),f("dddd",0,0,function(A){return this.localeData().weekdays(this,A)}),f("e",0,0,"weekday"),f("E",0,0,"isoWeekday"),T("d",tA),T("e",tA),T("E",tA),T("dd",function(A,B){return B.weekdaysMinRegex(A)}),T("ddd",function(A,B){return B.weekdaysShortRegex(A)}),T("dddd",function(A,B){return B.weekdaysRegex(A)}),zE(["dd","ddd","dddd"],function(A,B,Q,I){var g=Q._locale.weekdaysParse(A,I,Q._strict);g!=null?B.d=g:b(Q).invalidWeekday=A}),zE(["d","e","E"],function(A,B,Q,I){B[I]=X(A)});function C0(A,B){return typeof A!="string"?A:isNaN(A)?(A=B.weekdaysParse(A),typeof A=="number"?A:null):parseInt(A,10)}function a0(A,B){return typeof A=="string"?B.weekdaysParse(A)%7||7:isNaN(A)?null:A}function Ke(A,B){return A.slice(B,7).concat(A.slice(0,B))}var h0="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),n0="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),N0=SE,R0=SE,D0=SE;function G0(A,B){var Q=$A(this._weekdays)?this._weekdays:this._weekdays[A&&A!==!0&&this._weekdays.isFormat.test(B)?"format":"standalone"];return A===!0?Ke(Q,this._week.dow):A?Q[A.day()]:Q}function V0(A){return A===!0?Ke(this._weekdaysShort,this._week.dow):A?this._weekdaysShort[A.day()]:this._weekdaysShort}function y0(A){return A===!0?Ke(this._weekdaysMin,this._week.dow):A?this._weekdaysMin[A.day()]:this._weekdaysMin}function H0(A,B,Q){var I,g,e,w=A.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],I=0;I<7;++I)e=UB([2e3,1]).day(I),this._minWeekdaysParse[I]=this.weekdaysMin(e,"").toLocaleLowerCase(),this._shortWeekdaysParse[I]=this.weekdaysShort(e,"").toLocaleLowerCase(),this._weekdaysParse[I]=this.weekdays(e,"").toLocaleLowerCase();return Q?B==="dddd"?(g=UA.call(this._weekdaysParse,w),g!==-1?g:null):B==="ddd"?(g=UA.call(this._shortWeekdaysParse,w),g!==-1?g:null):(g=UA.call(this._minWeekdaysParse,w),g!==-1?g:null):B==="dddd"?(g=UA.call(this._weekdaysParse,w),g!==-1||(g=UA.call(this._shortWeekdaysParse,w),g!==-1)?g:(g=UA.call(this._minWeekdaysParse,w),g!==-1?g:null)):B==="ddd"?(g=UA.call(this._shortWeekdaysParse,w),g!==-1||(g=UA.call(this._weekdaysParse,w),g!==-1)?g:(g=UA.call(this._minWeekdaysParse,w),g!==-1?g:null)):(g=UA.call(this._minWeekdaysParse,w),g!==-1||(g=UA.call(this._weekdaysParse,w),g!==-1)?g:(g=UA.call(this._shortWeekdaysParse,w),g!==-1?g:null))}function l0(A,B,Q){var I,g,e;if(this._weekdaysParseExact)return H0.call(this,A,B,Q);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),I=0;I<7;I++){if(g=UB([2e3,1]).day(I),Q&&!this._fullWeekdaysParse[I]&&(this._fullWeekdaysParse[I]=new RegExp("^"+this.weekdays(g,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[I]=new RegExp("^"+this.weekdaysShort(g,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[I]=new RegExp("^"+this.weekdaysMin(g,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[I]||(e="^"+this.weekdays(g,"")+"|^"+this.weekdaysShort(g,"")+"|^"+this.weekdaysMin(g,""),this._weekdaysParse[I]=new RegExp(e.replace(".",""),"i")),Q&&B==="dddd"&&this._fullWeekdaysParse[I].test(A))return I;if(Q&&B==="ddd"&&this._shortWeekdaysParse[I].test(A))return I;if(Q&&B==="dd"&&this._minWeekdaysParse[I].test(A))return I;if(!Q&&this._weekdaysParse[I].test(A))return I}}function S0(A){if(!this.isValid())return A!=null?this:NaN;var B=xE(this,"Day");return A!=null?(A=C0(A,this.localeData()),this.add(A-B,"d")):B}function z0(A){if(!this.isValid())return A!=null?this:NaN;var B=(this.day()+7-this.localeData()._week.dow)%7;return A==null?B:this.add(A-B,"d")}function j0(A){if(!this.isValid())return A!=null?this:NaN;if(A!=null){var B=a0(A,this.localeData());return this.day(this.day()%7?B:B-7)}else return this.day()||7}function x0(A){return this._weekdaysParseExact?(QA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysStrictRegex:this._weekdaysRegex):(QA(this,"_weekdaysRegex")||(this._weekdaysRegex=N0),this._weekdaysStrictRegex&&A?this._weekdaysStrictRegex:this._weekdaysRegex)}function J0(A){return this._weekdaysParseExact?(QA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(QA(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=R0),this._weekdaysShortStrictRegex&&A?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function d0(A){return this._weekdaysParseExact?(QA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(QA(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=D0),this._weekdaysMinStrictRegex&&A?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function fe(){function A(t,r){return r.length-t.length}var B=[],Q=[],I=[],g=[],e,w,M,c,i;for(e=0;e<7;e++)w=UB([2e3,1]).day(e),M=HB(this.weekdaysMin(w,"")),c=HB(this.weekdaysShort(w,"")),i=HB(this.weekdays(w,"")),B.push(M),Q.push(c),I.push(i),g.push(M),g.push(c),g.push(i);B.sort(A),Q.sort(A),I.sort(A),g.sort(A),this._weekdaysRegex=new RegExp("^("+g.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+I.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+Q.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+B.join("|")+")","i")}function We(){return this.hours()%12||12}function T0(){return this.hours()||24}f("H",["HH",2],0,"hour"),f("h",["hh",2],0,We),f("k",["kk",2],0,T0),f("hmm",0,0,function(){return""+We.apply(this)+YB(this.minutes(),2)}),f("hmmss",0,0,function(){return""+We.apply(this)+YB(this.minutes(),2)+YB(this.seconds(),2)}),f("Hmm",0,0,function(){return""+this.hours()+YB(this.minutes(),2)}),f("Hmmss",0,0,function(){return""+this.hours()+YB(this.minutes(),2)+YB(this.seconds(),2)});function Zt(A,B){f(A,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),B)})}Zt("a",!0),Zt("A",!1);function Ot(A,B){return B._meridiemParse}T("a",Ot),T("A",Ot),T("H",tA,ke),T("h",tA,OQ),T("k",tA,OQ),T("HH",tA,xA),T("hh",tA,xA),T("kk",tA,xA),T("hmm",Jt),T("hmmss",dt),T("Hmm",Jt),T("Hmmss",dt),MA(["H","HH"],aA),MA(["k","kk"],function(A,B,Q){var I=X(A);B[aA]=I===24?0:I}),MA(["a","A"],function(A,B,Q){Q._isPm=Q._locale.isPM(A),Q._meridiem=A}),MA(["h","hh"],function(A,B,Q){B[aA]=X(A),b(Q).bigHour=!0}),MA("hmm",function(A,B,Q){var I=A.length-2;B[aA]=X(A.substr(0,I)),B[BB]=X(A.substr(I)),b(Q).bigHour=!0}),MA("hmmss",function(A,B,Q){var I=A.length-4,g=A.length-2;B[aA]=X(A.substr(0,I)),B[BB]=X(A.substr(I,2)),B[SB]=X(A.substr(g)),b(Q).bigHour=!0}),MA("Hmm",function(A,B,Q){var I=A.length-2;B[aA]=X(A.substr(0,I)),B[BB]=X(A.substr(I))}),MA("Hmmss",function(A,B,Q){var I=A.length-4,g=A.length-2;B[aA]=X(A.substr(0,I)),B[BB]=X(A.substr(I,2)),B[SB]=X(A.substr(g))});function k0(A){return(A+"").toLowerCase().charAt(0)==="p"}var m0=/[ap]\.?m?\.?/i,u0=bQ("Hours",!0);function K0(A,B,Q){return A>11?Q?"pm":"PM":Q?"am":"AM"}var bt={calendar:Hz,longDateFormat:jz,invalidDate:Jz,ordinal:Tz,dayOfMonthOrdinalParse:kz,relativeTime:uz,months:B0,monthsShort:mt,week:F0,weekdays:h0,weekdaysMin:n0,weekdaysShort:qt,meridiemParse:m0},FA={},TE={},kE;function f0(A,B){var Q,I=Math.min(A.length,B.length);for(Q=0;Q<I;Q+=1)if(A[Q]!==B[Q])return Q;return I}function Lt(A){return A&&A.toLowerCase().replace("_","-")}function W0(A){for(var B=0,Q,I,g,e;B<A.length;){for(e=Lt(A[B]).split("-"),Q=e.length,I=Lt(A[B+1]),I=I?I.split("-"):null;Q>0;){if(g=fI(e.slice(0,Q).join("-")),g)return g;if(I&&I.length>=Q&&f0(e,I)>=Q-1)break;Q--}B++}return kE}function p0(A){return!!(A&&A.match("^[^/\\\\]*$"))}function fI(A){var B=null,Q;if(FA[A]===void 0&&typeof module<"u"&&module&&module.exports&&p0(A))try{B=kE._abbr,Q=require,Q("./locale/"+A),vB(B)}catch{FA[A]=null}return FA[A]}function vB(A,B){var Q;return A&&(SA(B)?Q=jB(A):Q=pe(A,B),Q?kE=Q:typeof console<"u"&&console.warn&&console.warn("Locale "+A+" not found. Did you forget to load it?")),kE._abbr}function pe(A,B){if(B!==null){var Q,I=bt;if(B.abbr=A,FA[A]!=null)lt("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),I=FA[A]._config;else if(B.parentLocale!=null)if(FA[B.parentLocale]!=null)I=FA[B.parentLocale]._config;else if(Q=fI(B.parentLocale),Q!=null)I=Q._config;else return TE[B.parentLocale]||(TE[B.parentLocale]=[]),TE[B.parentLocale].push({name:A,config:B}),null;return FA[A]=new Se(le(I,B)),TE[A]&&TE[A].forEach(function(g){pe(g.name,g.config)}),vB(A),FA[A]}else return delete FA[A],null}function q0(A,B){if(B!=null){var Q,I,g=bt;FA[A]!=null&&FA[A].parentLocale!=null?FA[A].set(le(FA[A]._config,B)):(I=fI(A),I!=null&&(g=I._config),B=le(g,B),I==null&&(B.abbr=A),Q=new Se(B),Q.parentLocale=FA[A],FA[A]=Q),vB(A)}else FA[A]!=null&&(FA[A].parentLocale!=null?(FA[A]=FA[A].parentLocale,A===vB()&&vB(A)):FA[A]!=null&&delete FA[A]);return FA[A]}function jB(A){var B;if(A&&A._locale&&A._locale._abbr&&(A=A._locale._abbr),!A)return kE;if(!$A(A)){if(B=fI(A),B)return B;A=[A]}return W0(A)}function Z0(){return ze(FA)}function qe(A){var B,Q=A._a;return Q&&b(A).overflow===-2&&(B=Q[lB]<0||Q[lB]>11?lB:Q[CB]<1||Q[CB]>ue(Q[DA],Q[lB])?CB:Q[aA]<0||Q[aA]>24||Q[aA]===24&&(Q[BB]!==0||Q[SB]!==0||Q[YQ]!==0)?aA:Q[BB]<0||Q[BB]>59?BB:Q[SB]<0||Q[SB]>59?SB:Q[YQ]<0||Q[YQ]>999?YQ:-1,b(A)._overflowDayOfYear&&(B<DA||B>CB)&&(B=CB),b(A)._overflowWeeks&&B===-1&&(B=Xz),b(A)._overflowWeekday&&B===-1&&(B=vz),b(A).overflow=B),A}var O0=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,b0=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,L0=/Z|[+-]\d\d(?::?\d\d)?/,WI=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ze=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],X0=/^\/?Date\((-?\d+)/i,v0=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,P0={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xt(A){var B,Q,I=A._i,g=O0.exec(I)||b0.exec(I),e,w,M,c,i=WI.length,t=Ze.length;if(g){for(b(A).iso=!0,B=0,Q=i;B<Q;B++)if(WI[B][1].exec(g[1])){w=WI[B][0],e=WI[B][2]!==!1;break}if(w==null){A._isValid=!1;return}if(g[3]){for(B=0,Q=t;B<Q;B++)if(Ze[B][1].exec(g[3])){M=(g[2]||" ")+Ze[B][0];break}if(M==null){A._isValid=!1;return}}if(!e&&M!=null){A._isValid=!1;return}if(g[4])if(L0.exec(g[4]))c="Z";else{A._isValid=!1;return}A._f=w+(M||"")+(c||""),be(A)}else A._isValid=!1}function _0(A,B,Q,I,g,e){var w=[$0(A),mt.indexOf(B),parseInt(Q,10),parseInt(I,10),parseInt(g,10)];return e&&w.push(parseInt(e,10)),w}function $0(A){var B=parseInt(A,10);return B<=49?2e3+B:B<=999?1900+B:B}function Aj(A){return A.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Bj(A,B,Q){if(A){var I=qt.indexOf(A),g=new Date(B[0],B[1],B[2]).getDay();if(I!==g)return b(Q).weekdayMismatch=!0,Q._isValid=!1,!1}return!0}function Qj(A,B,Q){if(A)return P0[A];if(B)return 0;var I=parseInt(Q,10),g=I%100,e=(I-g)/100;return e*60+g}function vt(A){var B=v0.exec(Aj(A._i)),Q;if(B){if(Q=_0(B[4],B[3],B[2],B[5],B[6],B[7]),!Bj(B[1],Q,A))return;A._a=Q,A._tzm=Qj(B[8],B[9],B[10]),A._d=JE.apply(null,A._a),A._d.setUTCMinutes(A._d.getUTCMinutes()-A._tzm),b(A).rfc2822=!0}else A._isValid=!1}function Ej(A){var B=X0.exec(A._i);if(B!==null){A._d=new Date(+B[1]);return}if(Xt(A),A._isValid===!1)delete A._isValid;else return;if(vt(A),A._isValid===!1)delete A._isValid;else return;A._strict?A._isValid=!1:x.createFromInputFallback(A)}x.createFromInputFallback=WA("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(A){A._d=new Date(A._i+(A._useUTC?" UTC":""))});function LQ(A,B,Q){return A??B??Q}function Ij(A){var B=new Date(x.now());return A._useUTC?[B.getUTCFullYear(),B.getUTCMonth(),B.getUTCDate()]:[B.getFullYear(),B.getMonth(),B.getDate()]}function Oe(A){var B,Q,I=[],g,e,w;if(!A._d){for(g=Ij(A),A._w&&A._a[CB]==null&&A._a[lB]==null&&gj(A),A._dayOfYear!=null&&(w=LQ(A._a[DA],g[DA]),(A._dayOfYear>jE(w)||A._dayOfYear===0)&&(b(A)._overflowDayOfYear=!0),Q=JE(w,0,A._dayOfYear),A._a[lB]=Q.getUTCMonth(),A._a[CB]=Q.getUTCDate()),B=0;B<3&&A._a[B]==null;++B)A._a[B]=I[B]=g[B];for(;B<7;B++)A._a[B]=I[B]=A._a[B]==null?B===2?1:0:A._a[B];A._a[aA]===24&&A._a[BB]===0&&A._a[SB]===0&&A._a[YQ]===0&&(A._nextDay=!0,A._a[aA]=0),A._d=(A._useUTC?JE:t0).apply(null,I),e=A._useUTC?A._d.getUTCDay():A._d.getDay(),A._tzm!=null&&A._d.setUTCMinutes(A._d.getUTCMinutes()-A._tzm),A._nextDay&&(A._a[aA]=24),A._w&&typeof A._w.d<"u"&&A._w.d!==e&&(b(A).weekdayMismatch=!0)}}function gj(A){var B,Q,I,g,e,w,M,c,i;B=A._w,B.GG!=null||B.W!=null||B.E!=null?(e=1,w=4,Q=LQ(B.GG,A._a[DA],dE(rA(),1,4).year),I=LQ(B.W,1),g=LQ(B.E,1),(g<1||g>7)&&(c=!0)):(e=A._locale._week.dow,w=A._locale._week.doy,i=dE(rA(),e,w),Q=LQ(B.gg,A._a[DA],i.year),I=LQ(B.w,i.week),B.d!=null?(g=B.d,(g<0||g>6)&&(c=!0)):B.e!=null?(g=B.e+e,(B.e<0||B.e>6)&&(c=!0)):g=e),I<1||I>zB(Q,e,w)?b(A)._overflowWeeks=!0:c!=null?b(A)._overflowWeekday=!0:(M=pt(Q,I,g,e,w),A._a[DA]=M.year,A._dayOfYear=M.dayOfYear)}x.ISO_8601=function(){},x.RFC_2822=function(){};function be(A){if(A._f===x.ISO_8601){Xt(A);return}if(A._f===x.RFC_2822){vt(A);return}A._a=[],b(A).empty=!0;var B=""+A._i,Q,I,g,e,w,M=B.length,c=0,i,t;for(g=St(A._f,A._locale).match(je)||[],t=g.length,Q=0;Q<t;Q++)e=g[Q],I=(B.match(Oz(e,A))||[])[0],I&&(w=B.substr(0,B.indexOf(I)),w.length>0&&b(A).unusedInput.push(w),B=B.slice(B.indexOf(I)+I.length),c+=I.length),qQ[e]?(I?b(A).empty=!1:b(A).unusedTokens.push(e),Lz(e,I,A)):A._strict&&!I&&b(A).unusedTokens.push(e);b(A).charsLeftOver=M-c,B.length>0&&b(A).unusedInput.push(B),A._a[aA]<=12&&b(A).bigHour===!0&&A._a[aA]>0&&(b(A).bigHour=void 0),b(A).parsedDateParts=A._a.slice(0),b(A).meridiem=A._meridiem,A._a[aA]=ej(A._locale,A._a[aA],A._meridiem),i=b(A).era,i!==null&&(A._a[DA]=A._locale.erasConvertYear(i,A._a[DA])),Oe(A),qe(A)}function ej(A,B,Q){var I;return Q==null?B:A.meridiemHour!=null?A.meridiemHour(B,Q):(A.isPM!=null&&(I=A.isPM(Q),I&&B<12&&(B+=12),!I&&B===12&&(B=0)),B)}function wj(A){var B,Q,I,g,e,w,M=!1,c=A._f.length;if(c===0){b(A).invalidFormat=!0,A._d=new Date(NaN);return}for(g=0;g<c;g++)e=0,w=!1,B=He({},A),A._useUTC!=null&&(B._useUTC=A._useUTC),B._f=A._f[g],be(B),Ve(B)&&(w=!0),e+=b(B).charsLeftOver,e+=b(B).unusedTokens.length*10,b(B).score=e,M?e<I&&(I=e,Q=B):(I==null||e<I||w)&&(I=e,Q=B,w&&(M=!0));XB(A,Q||B)}function Mj(A){if(!A._d){var B=Je(A._i),Q=B.day===void 0?B.date:B.day;A._a=Gt([B.year,B.month,Q,B.hour,B.minute,B.second,B.millisecond],function(I){return I&&parseInt(I,10)}),Oe(A)}}function cj(A){var B=new lE(qe(Pt(A)));return B._nextDay&&(B.add(1,"d"),B._nextDay=void 0),B}function Pt(A){var B=A._i,Q=A._f;return A._locale=A._locale||jB(A._l),B===null||Q===void 0&&B===""?SI({nullInput:!0}):(typeof B=="string"&&(A._i=B=A._locale.preparse(B)),AB(B)?new lE(qe(B)):(HE(B)?A._d=B:$A(Q)?wj(A):Q?be(A):ij(A),Ve(A)||(A._d=null),A))}function ij(A){var B=A._i;SA(B)?A._d=new Date(x.now()):HE(B)?A._d=new Date(B.valueOf()):typeof B=="string"?Ej(A):$A(B)?(A._a=Gt(B.slice(0),function(Q){return parseInt(Q,10)}),Oe(A)):oQ(B)?Mj(A):yB(B)?A._d=new Date(B):x.createFromInputFallback(A)}function _t(A,B,Q,I,g){var e={};return(B===!0||B===!1)&&(I=B,B=void 0),(Q===!0||Q===!1)&&(I=Q,Q=void 0),(oQ(A)&&De(A)||$A(A)&&A.length===0)&&(A=void 0),e._isAMomentObject=!0,e._useUTC=e._isUTC=g,e._l=Q,e._i=A,e._f=B,e._strict=I,cj(e)}function rA(A,B,Q,I){return _t(A,B,Q,I,!1)}var tj=WA("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var A=rA.apply(null,arguments);return this.isValid()&&A.isValid()?A<this?this:A:SI()}),rj=WA("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var A=rA.apply(null,arguments);return this.isValid()&&A.isValid()?A>this?this:A:SI()});function $t(A,B){var Q,I;if(B.length===1&&$A(B[0])&&(B=B[0]),!B.length)return rA();for(Q=B[0],I=1;I<B.length;++I)(!B[I].isValid()||B[I][A](Q))&&(Q=B[I]);return Q}function Fj(){var A=[].slice.call(arguments,0);return $t("isBefore",A)}function sj(){var A=[].slice.call(arguments,0);return $t("isAfter",A)}var Uj=function(){return Date.now?Date.now():+new Date},mE=["year","quarter","month","week","day","hour","minute","second","millisecond"];function oj(A){var B,Q=!1,I,g=mE.length;for(B in A)if(QA(A,B)&&!(UA.call(mE,B)!==-1&&(A[B]==null||!isNaN(A[B]))))return!1;for(I=0;I<g;++I)if(A[mE[I]]){if(Q)return!1;parseFloat(A[mE[I]])!==X(A[mE[I]])&&(Q=!0)}return!0}function Yj(){return this._isValid}function Cj(){return QB(NaN)}function pI(A){var B=Je(A),Q=B.year||0,I=B.quarter||0,g=B.month||0,e=B.week||B.isoWeek||0,w=B.day||0,M=B.hour||0,c=B.minute||0,i=B.second||0,t=B.millisecond||0;this._isValid=oj(B),this._milliseconds=+t+i*1e3+c*6e4+M*1e3*60*60,this._days=+w+e*7,this._months=+g+I*3+Q*12,this._data={},this._locale=jB(),this._bubble()}function qI(A){return A instanceof pI}function Le(A){return A<0?Math.round(-1*A)*-1:Math.round(A)}function aj(A,B,Q){var I=Math.min(A.length,B.length),g=Math.abs(A.length-B.length),e=0,w;for(w=0;w<I;w++)X(A[w])!==X(B[w])&&e++;return e+g}function Ar(A,B){f(A,0,0,function(){var Q=this.utcOffset(),I="+";return Q<0&&(Q=-Q,I="-"),I+YB(~~(Q/60),2)+B+YB(~~Q%60,2)})}Ar("Z",":"),Ar("ZZ",""),T("Z",kI),T("ZZ",kI),MA(["Z","ZZ"],function(A,B,Q){Q._useUTC=!0,Q._tzm=Xe(kI,A)});var hj=/([\+\-]|\d\d)/gi;function Xe(A,B){var Q=(B||"").match(A),I,g,e;return Q===null?null:(I=Q[Q.length-1]||[],g=(I+"").match(hj)||["-",0,0],e=+(g[1]*60)+X(g[2]),e===0?0:g[0]==="+"?e:-e)}function ve(A,B){var Q,I;return B._isUTC?(Q=B.clone(),I=(AB(A)||HE(A)?A.valueOf():rA(A).valueOf())-Q.valueOf(),Q._d.setTime(Q._d.valueOf()+I),x.updateOffset(Q,!1),Q):rA(A).local()}function Pe(A){return-Math.round(A._d.getTimezoneOffset())}x.updateOffset=function(){};function nj(A,B,Q){var I=this._offset||0,g;if(!this.isValid())return A!=null?this:NaN;if(A!=null){if(typeof A=="string"){if(A=Xe(kI,A),A===null)return this}else Math.abs(A)<16&&!Q&&(A=A*60);return!this._isUTC&&B&&(g=Pe(this)),this._offset=A,this._isUTC=!0,g!=null&&this.add(g,"m"),I!==A&&(!B||this._changeInProgress?Ir(this,QB(A-I,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,x.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?I:Pe(this)}function Nj(A,B){return A!=null?(typeof A!="string"&&(A=-A),this.utcOffset(A,B),this):-this.utcOffset()}function Rj(A){return this.utcOffset(0,A)}function Dj(A){return this._isUTC&&(this.utcOffset(0,A),this._isUTC=!1,A&&this.subtract(Pe(this),"m")),this}function Gj(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var A=Xe(qz,this._i);A!=null?this.utcOffset(A):this.utcOffset(0,!0)}return this}function Vj(A){return this.isValid()?(A=A?rA(A).utcOffset():0,(this.utcOffset()-A)%60===0):!1}function yj(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Hj(){if(!SA(this._isDSTShifted))return this._isDSTShifted;var A={},B;return He(A,this),A=Pt(A),A._a?(B=A._isUTC?UB(A._a):rA(A._a),this._isDSTShifted=this.isValid()&&aj(A._a,B.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function lj(){return this.isValid()?!this._isUTC:!1}function Sj(){return this.isValid()?this._isUTC:!1}function Br(){return this.isValid()?this._isUTC&&this._offset===0:!1}var zj=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jj=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function QB(A,B){var Q=A,I=null,g,e,w;return qI(A)?Q={ms:A._milliseconds,d:A._days,M:A._months}:yB(A)||!isNaN(+A)?(Q={},B?Q[B]=+A:Q.milliseconds=+A):(I=zj.exec(A))?(g=I[1]==="-"?-1:1,Q={y:0,d:X(I[CB])*g,h:X(I[aA])*g,m:X(I[BB])*g,s:X(I[SB])*g,ms:X(Le(I[YQ]*1e3))*g}):(I=jj.exec(A))?(g=I[1]==="-"?-1:1,Q={y:CQ(I[2],g),M:CQ(I[3],g),w:CQ(I[4],g),d:CQ(I[5],g),h:CQ(I[6],g),m:CQ(I[7],g),s:CQ(I[8],g)}):Q==null?Q={}:typeof Q=="object"&&("from"in Q||"to"in Q)&&(w=xj(rA(Q.from),rA(Q.to)),Q={},Q.ms=w.milliseconds,Q.M=w.months),e=new pI(Q),qI(A)&&QA(A,"_locale")&&(e._locale=A._locale),qI(A)&&QA(A,"_isValid")&&(e._isValid=A._isValid),e}QB.fn=pI.prototype,QB.invalid=Cj;function CQ(A,B){var Q=A&&parseFloat(A.replace(",","."));return(isNaN(Q)?0:Q)*B}function Qr(A,B){var Q={};return Q.months=B.month()-A.month()+(B.year()-A.year())*12,A.clone().add(Q.months,"M").isAfter(B)&&--Q.months,Q.milliseconds=+B-+A.clone().add(Q.months,"M"),Q}function xj(A,B){var Q;return A.isValid()&&B.isValid()?(B=ve(B,A),A.isBefore(B)?Q=Qr(A,B):(Q=Qr(B,A),Q.milliseconds=-Q.milliseconds,Q.months=-Q.months),Q):{milliseconds:0,months:0}}function Er(A,B){return function(Q,I){var g,e;return I!==null&&!isNaN(+I)&&(lt(B,"moment()."+B+"(period, number) is deprecated. Please use moment()."+B+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),e=Q,Q=I,I=e),g=QB(Q,I),Ir(this,g,A),this}}function Ir(A,B,Q,I){var g=B._milliseconds,e=Le(B._days),w=Le(B._months);A.isValid()&&(I=I??!0,w&&Kt(A,xE(A,"Month")+w*Q),e&&kt(A,"Date",xE(A,"Date")+e*Q),g&&A._d.setTime(A._d.valueOf()+g*Q),I&&x.updateOffset(A,e||w))}var Jj=Er(1,"add"),dj=Er(-1,"subtract");function gr(A){return typeof A=="string"||A instanceof String}function Tj(A){return AB(A)||HE(A)||gr(A)||yB(A)||mj(A)||kj(A)||A===null||A===void 0}function kj(A){var B=oQ(A)&&!De(A),Q=!1,I=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],g,e,w=I.length;for(g=0;g<w;g+=1)e=I[g],Q=Q||QA(A,e);return B&&Q}function mj(A){var B=$A(A),Q=!1;return B&&(Q=A.filter(function(I){return!yB(I)&&gr(A)}).length===0),B&&Q}function uj(A){var B=oQ(A)&&!De(A),Q=!1,I=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],g,e;for(g=0;g<I.length;g+=1)e=I[g],Q=Q||QA(A,e);return B&&Q}function Kj(A,B){var Q=A.diff(B,"days",!0);return Q<-6?"sameElse":Q<-1?"lastWeek":Q<0?"lastDay":Q<1?"sameDay":Q<2?"nextDay":Q<7?"nextWeek":"sameElse"}function fj(A,B){arguments.length===1&&(arguments[0]?Tj(arguments[0])?(A=arguments[0],B=void 0):uj(arguments[0])&&(B=arguments[0],A=void 0):(A=void 0,B=void 0));var Q=A||rA(),I=ve(Q,this).startOf("day"),g=x.calendarFormat(this,I)||"sameElse",e=B&&(oB(B[g])?B[g].call(this,Q):B[g]);return this.format(e||this.localeData().calendar(g,this,rA(Q)))}function Wj(){return new lE(this)}function pj(A,B){var Q=AB(A)?A:rA(A);return this.isValid()&&Q.isValid()?(B=pA(B)||"millisecond",B==="millisecond"?this.valueOf()>Q.valueOf():Q.valueOf()<this.clone().startOf(B).valueOf()):!1}function qj(A,B){var Q=AB(A)?A:rA(A);return this.isValid()&&Q.isValid()?(B=pA(B)||"millisecond",B==="millisecond"?this.valueOf()<Q.valueOf():this.clone().endOf(B).valueOf()<Q.valueOf()):!1}function Zj(A,B,Q,I){var g=AB(A)?A:rA(A),e=AB(B)?B:rA(B);return this.isValid()&&g.isValid()&&e.isValid()?(I=I||"()",(I[0]==="("?this.isAfter(g,Q):!this.isBefore(g,Q))&&(I[1]===")"?this.isBefore(e,Q):!this.isAfter(e,Q))):!1}function Oj(A,B){var Q=AB(A)?A:rA(A),I;return this.isValid()&&Q.isValid()?(B=pA(B)||"millisecond",B==="millisecond"?this.valueOf()===Q.valueOf():(I=Q.valueOf(),this.clone().startOf(B).valueOf()<=I&&I<=this.clone().endOf(B).valueOf())):!1}function bj(A,B){return this.isSame(A,B)||this.isAfter(A,B)}function Lj(A,B){return this.isSame(A,B)||this.isBefore(A,B)}function Xj(A,B,Q){var I,g,e;if(!this.isValid())return NaN;if(I=ve(A,this),!I.isValid())return NaN;switch(g=(I.utcOffset()-this.utcOffset())*6e4,B=pA(B),B){case"year":e=ZI(this,I)/12;break;case"month":e=ZI(this,I);break;case"quarter":e=ZI(this,I)/3;break;case"second":e=(this-I)/1e3;break;case"minute":e=(this-I)/6e4;break;case"hour":e=(this-I)/36e5;break;case"day":e=(this-I-g)/864e5;break;case"week":e=(this-I-g)/6048e5;break;default:e=this-I}return Q?e:qA(e)}function ZI(A,B){if(A.date()<B.date())return-ZI(B,A);var Q=(B.year()-A.year())*12+(B.month()-A.month()),I=A.clone().add(Q,"months"),g,e;return B-I<0?(g=A.clone().add(Q-1,"months"),e=(B-I)/(I-g)):(g=A.clone().add(Q+1,"months"),e=(B-I)/(g-I)),-(Q+e)||0}x.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",x.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function vj(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Pj(A){if(!this.isValid())return null;var B=A!==!0,Q=B?this.clone().utc():this;return Q.year()<0||Q.year()>9999?jI(Q,B?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):oB(Date.prototype.toISOString)?B?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",jI(Q,"Z")):jI(Q,B?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function _j(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var A="moment",B="",Q,I,g,e;return this.isLocal()||(A=this.utcOffset()===0?"moment.utc":"moment.parseZone",B="Z"),Q="["+A+'("]',I=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",g="-MM-DD[T]HH:mm:ss.SSS",e=B+'[")]',this.format(Q+I+g+e)}function $j(A){A||(A=this.isUtc()?x.defaultFormatUtc:x.defaultFormat);var B=jI(this,A);return this.localeData().postformat(B)}function Ax(A,B){return this.isValid()&&(AB(A)&&A.isValid()||rA(A).isValid())?QB({to:this,from:A}).locale(this.locale()).humanize(!B):this.localeData().invalidDate()}function Bx(A){return this.from(rA(),A)}function Qx(A,B){return this.isValid()&&(AB(A)&&A.isValid()||rA(A).isValid())?QB({from:this,to:A}).locale(this.locale()).humanize(!B):this.localeData().invalidDate()}function Ex(A){return this.to(rA(),A)}function er(A){var B;return A===void 0?this._locale._abbr:(B=jB(A),B!=null&&(this._locale=B),this)}var wr=WA("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(A){return A===void 0?this.localeData():this.locale(A)});function Mr(){return this._locale}var OI=1e3,XQ=60*OI,bI=60*XQ,cr=(365*400+97)*24*bI;function vQ(A,B){return(A%B+B)%B}function ir(A,B,Q){return A<100&&A>=0?new Date(A+400,B,Q)-cr:new Date(A,B,Q).valueOf()}function tr(A,B,Q){return A<100&&A>=0?Date.UTC(A+400,B,Q)-cr:Date.UTC(A,B,Q)}function Ix(A){var B,Q;if(A=pA(A),A===void 0||A==="millisecond"||!this.isValid())return this;switch(Q=this._isUTC?tr:ir,A){case"year":B=Q(this.year(),0,1);break;case"quarter":B=Q(this.year(),this.month()-this.month()%3,1);break;case"month":B=Q(this.year(),this.month(),1);break;case"week":B=Q(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":B=Q(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":B=Q(this.year(),this.month(),this.date());break;case"hour":B=this._d.valueOf(),B-=vQ(B+(this._isUTC?0:this.utcOffset()*XQ),bI);break;case"minute":B=this._d.valueOf(),B-=vQ(B,XQ);break;case"second":B=this._d.valueOf(),B-=vQ(B,OI);break}return this._d.setTime(B),x.updateOffset(this,!0),this}function gx(A){var B,Q;if(A=pA(A),A===void 0||A==="millisecond"||!this.isValid())return this;switch(Q=this._isUTC?tr:ir,A){case"year":B=Q(this.year()+1,0,1)-1;break;case"quarter":B=Q(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":B=Q(this.year(),this.month()+1,1)-1;break;case"week":B=Q(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":B=Q(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":B=Q(this.year(),this.month(),this.date()+1)-1;break;case"hour":B=this._d.valueOf(),B+=bI-vQ(B+(this._isUTC?0:this.utcOffset()*XQ),bI)-1;break;case"minute":B=this._d.valueOf(),B+=XQ-vQ(B,XQ)-1;break;case"second":B=this._d.valueOf(),B+=OI-vQ(B,OI)-1;break}return this._d.setTime(B),x.updateOffset(this,!0),this}function ex(){return this._d.valueOf()-(this._offset||0)*6e4}function wx(){return Math.floor(this.valueOf()/1e3)}function Mx(){return new Date(this.valueOf())}function cx(){var A=this;return[A.year(),A.month(),A.date(),A.hour(),A.minute(),A.second(),A.millisecond()]}function ix(){var A=this;return{years:A.year(),months:A.month(),date:A.date(),hours:A.hours(),minutes:A.minutes(),seconds:A.seconds(),milliseconds:A.milliseconds()}}function tx(){return this.isValid()?this.toISOString():null}function rx(){return Ve(this)}function Fx(){return XB({},b(this))}function sx(){return b(this).overflow}function Ux(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}f("N",0,0,"eraAbbr"),f("NN",0,0,"eraAbbr"),f("NNN",0,0,"eraAbbr"),f("NNNN",0,0,"eraName"),f("NNNNN",0,0,"eraNarrow"),f("y",["y",1],"yo","eraYear"),f("y",["yy",2],0,"eraYear"),f("y",["yyy",3],0,"eraYear"),f("y",["yyyy",4],0,"eraYear"),T("N",_e),T("NN",_e),T("NNN",_e),T("NNNN",Vx),T("NNNNN",yx),MA(["N","NN","NNN","NNNN","NNNNN"],function(A,B,Q,I){var g=Q._locale.erasParse(A,I,Q._strict);g?b(Q).era=g:b(Q).invalidEra=A}),T("y",ZQ),T("yy",ZQ),T("yyy",ZQ),T("yyyy",ZQ),T("yo",Hx),MA(["y","yy","yyy","yyyy"],DA),MA(["yo"],function(A,B,Q,I){var g;Q._locale._eraYearOrdinalRegex&&(g=A.match(Q._locale._eraYearOrdinalRegex)),Q._locale.eraYearOrdinalParse?B[DA]=Q._locale.eraYearOrdinalParse(A,g):B[DA]=parseInt(A,10)});function ox(A,B){var Q,I,g,e=this._eras||jB("en")._eras;for(Q=0,I=e.length;Q<I;++Q){switch(typeof e[Q].since){case"string":g=x(e[Q].since).startOf("day"),e[Q].since=g.valueOf();break}switch(typeof e[Q].until){case"undefined":e[Q].until=1/0;break;case"string":g=x(e[Q].until).startOf("day").valueOf(),e[Q].until=g.valueOf();break}}return e}function Yx(A,B,Q){var I,g,e=this.eras(),w,M,c;for(A=A.toUpperCase(),I=0,g=e.length;I<g;++I)if(w=e[I].name.toUpperCase(),M=e[I].abbr.toUpperCase(),c=e[I].narrow.toUpperCase(),Q)switch(B){case"N":case"NN":case"NNN":if(M===A)return e[I];break;case"NNNN":if(w===A)return e[I];break;case"NNNNN":if(c===A)return e[I];break}else if([w,M,c].indexOf(A)>=0)return e[I]}function Cx(A,B){var Q=A.since<=A.until?1:-1;return B===void 0?x(A.since).year():x(A.since).year()+(B-A.offset)*Q}function ax(){var A,B,Q,I=this.localeData().eras();for(A=0,B=I.length;A<B;++A)if(Q=this.clone().startOf("day").valueOf(),I[A].since<=Q&&Q<=I[A].until||I[A].until<=Q&&Q<=I[A].since)return I[A].name;return""}function hx(){var A,B,Q,I=this.localeData().eras();for(A=0,B=I.length;A<B;++A)if(Q=this.clone().startOf("day").valueOf(),I[A].since<=Q&&Q<=I[A].until||I[A].until<=Q&&Q<=I[A].since)return I[A].narrow;return""}function nx(){var A,B,Q,I=this.localeData().eras();for(A=0,B=I.length;A<B;++A)if(Q=this.clone().startOf("day").valueOf(),I[A].since<=Q&&Q<=I[A].until||I[A].until<=Q&&Q<=I[A].since)return I[A].abbr;return""}function Nx(){var A,B,Q,I,g=this.localeData().eras();for(A=0,B=g.length;A<B;++A)if(Q=g[A].since<=g[A].until?1:-1,I=this.clone().startOf("day").valueOf(),g[A].since<=I&&I<=g[A].until||g[A].until<=I&&I<=g[A].since)return(this.year()-x(g[A].since).year())*Q+g[A].offset;return this.year()}function Rx(A){return QA(this,"_erasNameRegex")||$e.call(this),A?this._erasNameRegex:this._erasRegex}function Dx(A){return QA(this,"_erasAbbrRegex")||$e.call(this),A?this._erasAbbrRegex:this._erasRegex}function Gx(A){return QA(this,"_erasNarrowRegex")||$e.call(this),A?this._erasNarrowRegex:this._erasRegex}function _e(A,B){return B.erasAbbrRegex(A)}function Vx(A,B){return B.erasNameRegex(A)}function yx(A,B){return B.erasNarrowRegex(A)}function Hx(A,B){return B._eraYearOrdinalRegex||ZQ}function $e(){var A=[],B=[],Q=[],I=[],g,e,w,M,c,i=this.eras();for(g=0,e=i.length;g<e;++g)w=HB(i[g].name),M=HB(i[g].abbr),c=HB(i[g].narrow),B.push(w),A.push(M),Q.push(c),I.push(w),I.push(M),I.push(c);this._erasRegex=new RegExp("^("+I.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+B.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+A.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+Q.join("|")+")","i")}f(0,["gg",2],0,function(){return this.weekYear()%100}),f(0,["GG",2],0,function(){return this.isoWeekYear()%100});function LI(A,B){f(0,[A,A.length],0,B)}LI("gggg","weekYear"),LI("ggggg","weekYear"),LI("GGGG","isoWeekYear"),LI("GGGGG","isoWeekYear"),T("G",TI),T("g",TI),T("GG",tA,xA),T("gg",tA,xA),T("GGGG",Te,de),T("gggg",Te,de),T("GGGGG",dI,xI),T("ggggg",dI,xI),zE(["gggg","ggggg","GGGG","GGGGG"],function(A,B,Q,I){B[I.substr(0,2)]=X(A)}),zE(["gg","GG"],function(A,B,Q,I){B[I]=x.parseTwoDigitYear(A)});function lx(A){return rr.call(this,A,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Sx(A){return rr.call(this,A,this.isoWeek(),this.isoWeekday(),1,4)}function zx(){return zB(this.year(),1,4)}function jx(){return zB(this.isoWeekYear(),1,4)}function xx(){var A=this.localeData()._week;return zB(this.year(),A.dow,A.doy)}function Jx(){var A=this.localeData()._week;return zB(this.weekYear(),A.dow,A.doy)}function rr(A,B,Q,I,g){var e;return A==null?dE(this,I,g).year:(e=zB(A,I,g),B>e&&(B=e),dx.call(this,A,B,Q,I,g))}function dx(A,B,Q,I,g){var e=pt(A,B,Q,I,g),w=JE(e.year,0,e.dayOfYear);return this.year(w.getUTCFullYear()),this.month(w.getUTCMonth()),this.date(w.getUTCDate()),this}f("Q",0,"Qo","quarter"),T("Q",jt),MA("Q",function(A,B){B[lB]=(X(A)-1)*3});function Tx(A){return A==null?Math.ceil((this.month()+1)/3):this.month((A-1)*3+this.month()%3)}f("D",["DD",2],"Do","date"),T("D",tA,OQ),T("DD",tA,xA),T("Do",function(A,B){return A?B._dayOfMonthOrdinalParse||B._ordinalParse:B._dayOfMonthOrdinalParseLenient}),MA(["D","DD"],CB),MA("Do",function(A,B){B[CB]=X(A.match(tA)[0])});var Fr=bQ("Date",!0);f("DDD",["DDDD",3],"DDDo","dayOfYear"),T("DDD",JI),T("DDDD",xt),MA(["DDD","DDDD"],function(A,B,Q){Q._dayOfYear=X(A)});function kx(A){var B=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return A==null?B:this.add(A-B,"d")}f("m",["mm",2],0,"minute"),T("m",tA,ke),T("mm",tA,xA),MA(["m","mm"],BB);var mx=bQ("Minutes",!1);f("s",["ss",2],0,"second"),T("s",tA,ke),T("ss",tA,xA),MA(["s","ss"],SB);var ux=bQ("Seconds",!1);f("S",0,0,function(){return~~(this.millisecond()/100)}),f(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),f(0,["SSS",3],0,"millisecond"),f(0,["SSSS",4],0,function(){return this.millisecond()*10}),f(0,["SSSSS",5],0,function(){return this.millisecond()*100}),f(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),f(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),f(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),f(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),T("S",JI,jt),T("SS",JI,xA),T("SSS",JI,xt);var PB,sr;for(PB="SSSS";PB.length<=9;PB+="S")T(PB,ZQ);function Kx(A,B){B[YQ]=X(("0."+A)*1e3)}for(PB="S";PB.length<=9;PB+="S")MA(PB,Kx);sr=bQ("Milliseconds",!1),f("z",0,0,"zoneAbbr"),f("zz",0,0,"zoneName");function fx(){return this._isUTC?"UTC":""}function Wx(){return this._isUTC?"Coordinated Universal Time":""}var H=lE.prototype;H.add=Jj,H.calendar=fj,H.clone=Wj,H.diff=Xj,H.endOf=gx,H.format=$j,H.from=Ax,H.fromNow=Bx,H.to=Qx,H.toNow=Ex,H.get=_z,H.invalidAt=sx,H.isAfter=pj,H.isBefore=qj,H.isBetween=Zj,H.isSame=Oj,H.isSameOrAfter=bj,H.isSameOrBefore=Lj,H.isValid=rx,H.lang=wr,H.locale=er,H.localeData=Mr,H.max=rj,H.min=tj,H.parsingFlags=Fx,H.set=$z,H.startOf=Ix,H.subtract=dj,H.toArray=cx,H.toObject=ix,H.toDate=Mx,H.toISOString=Pj,H.inspect=_j,typeof Symbol<"u"&&Symbol.for!=null&&(H[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),H.toJSON=tx,H.toString=vj,H.unix=wx,H.valueOf=ex,H.creationData=Ux,H.eraName=ax,H.eraNarrow=hx,H.eraAbbr=nx,H.eraYear=Nx,H.year=Tt,H.isLeapYear=Pz,H.weekYear=lx,H.isoWeekYear=Sx,H.quarter=H.quarters=Tx,H.month=ft,H.daysInMonth=M0,H.week=H.weeks=o0,H.isoWeek=H.isoWeeks=Y0,H.weeksInYear=xx,H.weeksInWeekYear=Jx,H.isoWeeksInYear=zx,H.isoWeeksInISOWeekYear=jx,H.date=Fr,H.day=H.days=S0,H.weekday=z0,H.isoWeekday=j0,H.dayOfYear=kx,H.hour=H.hours=u0,H.minute=H.minutes=mx,H.second=H.seconds=ux,H.millisecond=H.milliseconds=sr,H.utcOffset=nj,H.utc=Rj,H.local=Dj,H.parseZone=Gj,H.hasAlignedHourOffset=Vj,H.isDST=yj,H.isLocal=lj,H.isUtcOffset=Sj,H.isUtc=Br,H.isUTC=Br,H.zoneAbbr=fx,H.zoneName=Wx,H.dates=WA("dates accessor is deprecated. Use date instead.",Fr),H.months=WA("months accessor is deprecated. Use month instead",ft),H.years=WA("years accessor is deprecated. Use year instead",Tt),H.zone=WA("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Nj),H.isDSTShifted=WA("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Hj);function px(A){return rA(A*1e3)}function qx(){return rA.apply(null,arguments).parseZone()}function Ur(A){return A}var EA=Se.prototype;EA.calendar=lz,EA.longDateFormat=xz,EA.invalidDate=dz,EA.ordinal=mz,EA.preparse=Ur,EA.postformat=Ur,EA.relativeTime=Kz,EA.pastFuture=fz,EA.set=yz,EA.eras=ox,EA.erasParse=Yx,EA.erasConvertYear=Cx,EA.erasAbbrRegex=Dx,EA.erasNameRegex=Rx,EA.erasNarrowRegex=Gx,EA.months=I0,EA.monthsShort=g0,EA.monthsParse=w0,EA.monthsRegex=i0,EA.monthsShortRegex=c0,EA.week=r0,EA.firstDayOfYear=U0,EA.firstDayOfWeek=s0,EA.weekdays=G0,EA.weekdaysMin=y0,EA.weekdaysShort=V0,EA.weekdaysParse=l0,EA.weekdaysRegex=x0,EA.weekdaysShortRegex=J0,EA.weekdaysMinRegex=d0,EA.isPM=k0,EA.meridiem=K0;function XI(A,B,Q,I){var g=jB(),e=UB().set(I,B);return g[Q](e,A)}function or(A,B,Q){if(yB(A)&&(B=A,A=void 0),A=A||"",B!=null)return XI(A,B,Q,"month");var I,g=[];for(I=0;I<12;I++)g[I]=XI(A,I,Q,"month");return g}function Aw(A,B,Q,I){typeof A=="boolean"?(yB(B)&&(Q=B,B=void 0),B=B||""):(B=A,Q=B,A=!1,yB(B)&&(Q=B,B=void 0),B=B||"");var g=jB(),e=A?g._week.dow:0,w,M=[];if(Q!=null)return XI(B,(Q+e)%7,I,"day");for(w=0;w<7;w++)M[w]=XI(B,(w+e)%7,I,"day");return M}function Zx(A,B){return or(A,B,"months")}function Ox(A,B){return or(A,B,"monthsShort")}function bx(A,B,Q){return Aw(A,B,Q,"weekdays")}function Lx(A,B,Q){return Aw(A,B,Q,"weekdaysShort")}function Xx(A,B,Q){return Aw(A,B,Q,"weekdaysMin")}vB("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(A){var B=A%10,Q=X(A%100/10)===1?"th":B===1?"st":B===2?"nd":B===3?"rd":"th";return A+Q}}),x.lang=WA("moment.lang is deprecated. Use moment.locale instead.",vB),x.langData=WA("moment.langData is deprecated. Use moment.localeData instead.",jB);var xB=Math.abs;function vx(){var A=this._data;return this._milliseconds=xB(this._milliseconds),this._days=xB(this._days),this._months=xB(this._months),A.milliseconds=xB(A.milliseconds),A.seconds=xB(A.seconds),A.minutes=xB(A.minutes),A.hours=xB(A.hours),A.months=xB(A.months),A.years=xB(A.years),this}function Yr(A,B,Q,I){var g=QB(B,Q);return A._milliseconds+=I*g._milliseconds,A._days+=I*g._days,A._months+=I*g._months,A._bubble()}function Px(A,B){return Yr(this,A,B,1)}function _x(A,B){return Yr(this,A,B,-1)}function Cr(A){return A<0?Math.floor(A):Math.ceil(A)}function $x(){var A=this._milliseconds,B=this._days,Q=this._months,I=this._data,g,e,w,M,c;return A>=0&&B>=0&&Q>=0||A<=0&&B<=0&&Q<=0||(A+=Cr(Bw(Q)+B)*864e5,B=0,Q=0),I.milliseconds=A%1e3,g=qA(A/1e3),I.seconds=g%60,e=qA(g/60),I.minutes=e%60,w=qA(e/60),I.hours=w%24,B+=qA(w/24),c=qA(ar(B)),Q+=c,B-=Cr(Bw(c)),M=qA(Q/12),Q%=12,I.days=B,I.months=Q,I.years=M,this}function ar(A){return A*4800/146097}function Bw(A){return A*146097/4800}function AJ(A){if(!this.isValid())return NaN;var B,Q,I=this._milliseconds;if(A=pA(A),A==="month"||A==="quarter"||A==="year")switch(B=this._days+I/864e5,Q=this._months+ar(B),A){case"month":return Q;case"quarter":return Q/3;case"year":return Q/12}else switch(B=this._days+Math.round(Bw(this._months)),A){case"week":return B/7+I/6048e5;case"day":return B+I/864e5;case"hour":return B*24+I/36e5;case"minute":return B*1440+I/6e4;case"second":return B*86400+I/1e3;case"millisecond":return Math.floor(B*864e5)+I;default:throw new Error("Unknown unit "+A)}}function JB(A){return function(){return this.as(A)}}var hr=JB("ms"),BJ=JB("s"),QJ=JB("m"),EJ=JB("h"),IJ=JB("d"),gJ=JB("w"),eJ=JB("M"),wJ=JB("Q"),MJ=JB("y"),cJ=hr;function iJ(){return QB(this)}function tJ(A){return A=pA(A),this.isValid()?this[A+"s"]():NaN}function aQ(A){return function(){return this.isValid()?this._data[A]:NaN}}var rJ=aQ("milliseconds"),FJ=aQ("seconds"),sJ=aQ("minutes"),UJ=aQ("hours"),oJ=aQ("days"),YJ=aQ("months"),CJ=aQ("years");function aJ(){return qA(this.days()/7)}var dB=Math.round,PQ={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function hJ(A,B,Q,I,g){return g.relativeTime(B||1,!!Q,A,I)}function nJ(A,B,Q,I){var g=QB(A).abs(),e=dB(g.as("s")),w=dB(g.as("m")),M=dB(g.as("h")),c=dB(g.as("d")),i=dB(g.as("M")),t=dB(g.as("w")),r=dB(g.as("y")),F=e<=Q.ss&&["s",e]||e<Q.s&&["ss",e]||w<=1&&["m"]||w<Q.m&&["mm",w]||M<=1&&["h"]||M<Q.h&&["hh",M]||c<=1&&["d"]||c<Q.d&&["dd",c];return Q.w!=null&&(F=F||t<=1&&["w"]||t<Q.w&&["ww",t]),F=F||i<=1&&["M"]||i<Q.M&&["MM",i]||r<=1&&["y"]||["yy",r],F[2]=B,F[3]=+A>0,F[4]=I,hJ.apply(null,F)}function NJ(A){return A===void 0?dB:typeof A=="function"?(dB=A,!0):!1}function RJ(A,B){return PQ[A]===void 0?!1:B===void 0?PQ[A]:(PQ[A]=B,A==="s"&&(PQ.ss=B-1),!0)}function DJ(A,B){if(!this.isValid())return this.localeData().invalidDate();var Q=!1,I=PQ,g,e;return typeof A=="object"&&(B=A,A=!1),typeof A=="boolean"&&(Q=A),typeof B=="object"&&(I=Object.assign({},PQ,B),B.s!=null&&B.ss==null&&(I.ss=B.s-1)),g=this.localeData(),e=nJ(this,!Q,I,g),Q&&(e=g.pastFuture(+this,e)),g.postformat(e)}var Qw=Math.abs;function _Q(A){return(A>0)-(A<0)||+A}function vI(){if(!this.isValid())return this.localeData().invalidDate();var A=Qw(this._milliseconds)/1e3,B=Qw(this._days),Q=Qw(this._months),I,g,e,w,M=this.asSeconds(),c,i,t,r;return M?(I=qA(A/60),g=qA(I/60),A%=60,I%=60,e=qA(Q/12),Q%=12,w=A?A.toFixed(3).replace(/\.?0+$/,""):"",c=M<0?"-":"",i=_Q(this._months)!==_Q(M)?"-":"",t=_Q(this._days)!==_Q(M)?"-":"",r=_Q(this._milliseconds)!==_Q(M)?"-":"",c+"P"+(e?i+e+"Y":"")+(Q?i+Q+"M":"")+(B?t+B+"D":"")+(g||I||A?"T":"")+(g?r+g+"H":"")+(I?r+I+"M":"")+(A?r+w+"S":"")):"P0D"}var P=pI.prototype;P.isValid=Yj,P.abs=vx,P.add=Px,P.subtract=_x,P.as=AJ,P.asMilliseconds=hr,P.asSeconds=BJ,P.asMinutes=QJ,P.asHours=EJ,P.asDays=IJ,P.asWeeks=gJ,P.asMonths=eJ,P.asQuarters=wJ,P.asYears=MJ,P.valueOf=cJ,P._bubble=$x,P.clone=iJ,P.get=tJ,P.milliseconds=rJ,P.seconds=FJ,P.minutes=sJ,P.hours=UJ,P.days=oJ,P.weeks=aJ,P.months=YJ,P.years=CJ,P.humanize=DJ,P.toISOString=vI,P.toString=vI,P.toJSON=vI,P.locale=er,P.localeData=Mr,P.toIsoString=WA("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",vI),P.lang=wr,f("X",0,0,"unix"),f("x",0,0,"valueOf"),T("x",TI),T("X",Zz),MA("X",function(A,B,Q){Q._d=new Date(parseFloat(A)*1e3)}),MA("x",function(A,B,Q){Q._d=new Date(X(A))});x.version="2.30.1",Gz(rA),x.fn=H,x.min=Fj,x.max=sj,x.now=Uj,x.utc=UB,x.unix=px,x.months=Zx,x.isDate=HE,x.locale=vB,x.invalid=SI,x.duration=QB,x.isMoment=AB,x.weekdays=bx,x.parseZone=qx,x.localeData=jB,x.isDuration=qI,x.monthsShort=Ox,x.weekdaysMin=Xx,x.defineLocale=pe,x.updateLocale=q0,x.locales=Z0,x.weekdaysShort=Lx,x.normalizeUnits=pA,x.relativeTimeRounding=NJ,x.relativeTimeThreshold=RJ,x.calendarFormat=Kj,x.prototype=H,x.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const nr=E.defineComponent({__name:"app-date-picker",props:{small:Boolean,range:Boolean,minDate:Date,maxDate:Date,mode:String},emits:["update:modelValue"],setup(A,{expose:B,emit:Q}){const I=Q,g=E.computed(()=>E.useSlots());function e(o){return!!g.value[o]}const w=A,M=E.ref({start:"",end:""}),c=E.ref({start:"",end:""}),i=E.ref(""),t=E.ref(""),r=E.computed(()=>{if(w.range){const{start:o,end:C}=c.value;return o&&C?`${x(o).format("DD/MM/YYYY")} - ${x(C).format("DD/MM/YYYY")}`:"Selecione um período"}return t.value?x(t.value).format("DD/MM/YYYY"):"Selecione uma data"}),F=()=>w.range&&M.value.start&&M.value.end?c.value={...M.value}:t.value=i.value,s=()=>{if(w.range){const{start:o,end:C}=c.value;return M.value=o&&C?{...c.value}:{start:"",end:""}}return i.value=t.value||""};return E.watch(t,o=>{I("update:modelValue",o)}),E.watch(c,o=>{I("update:modelValue",o)}),B({rangeValue:M,singleValue:i,appliedRange:c,appliedSingle:t}),(o,C)=>{const a=E.resolveDirective("close-popper");return E.openBlock(),E.createBlock(yg,{small:A.small,"auto-size":!1,onHide:s},{icon:E.withCtx(()=>[E.createVNode(eA,{small:A.small},{default:E.withCtx(()=>[...C[2]||(C[2]=[E.createTextVNode("calendar_month",-1)])]),_:1},8,["small"])]),content:E.withCtx(()=>[A.range?(E.openBlock(),E.createBlock(E.unref(Rt),{key:0,class:E.normalizeClass(A.small?"date-small":""),modelValue:M.value,"onUpdate:modelValue":C[0]||(C[0]=Y=>M.value=Y),modelModifiers:{range:!0},color:"purple",timezone:"America/Sao_Paulo","min-date":A.minDate,"max-date":A.maxDate,borderless:"",mode:A.mode},null,8,["class","modelValue","min-date","max-date","mode"])):(E.openBlock(),E.createBlock(E.unref(Rt),{key:1,class:E.normalizeClass(A.small?"date-small":""),modelValue:i.value,"onUpdate:modelValue":C[1]||(C[1]=Y=>i.value=Y),color:"purple",timezone:"America/Sao_Paulo","min-date":A.minDate,"max-date":A.maxDate,borderless:"",mode:A.mode},null,8,["class","modelValue","min-date","max-date","mode"])),E.createVNode(BA,{class:"yu-border-t yu-pt-2","gap-sm":""},{default:E.withCtx(()=>[E.withDirectives((E.openBlock(),E.createBlock(WB,{small:A.small,fluid:"",soft:""},{default:E.withCtx(()=>[...C[3]||(C[3]=[E.createTextVNode("Fechar",-1)])]),_:1},8,["small"])),[[a]]),E.withDirectives((E.openBlock(),E.createBlock(WB,{onClick:F,small:A.small,fluid:""},{default:E.withCtx(()=>[...C[4]||(C[4]=[E.createTextVNode("Aplicar",-1)])]),_:1},8,["small"])),[[a]])]),_:1})]),default:E.withCtx(()=>[e("default")?E.renderSlot(o.$slots,"default",{key:0}):(E.openBlock(),E.createBlock(_,{key:1,medium:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(r.value),1)]),_:1}))]),_:3},8,["small"])}}}),PI=E.defineComponent({__name:"app-skeleton",props:{round:Boolean,fluid:Boolean,block:Boolean},setup(A){const B=A,Q=E.computed(()=>B.fluid?"!yu-w-full":""),I=E.computed(()=>B.round?"!yu-rounded-full":B.block?"!yu-rounded-none":"!yu-rounded-lg");return(g,e)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["yu-animate-pulse yu-bg-gray-200",[I.value,Q.value]])},null,2))}}),GJ=["disabled","maxlength"],VJ=72,Nr=E.defineComponent({__name:"app-text-area",props:{small:Boolean,fluid:Boolean,round:Boolean,invalid:Boolean,valid:Boolean,disabled:Boolean,type:String,maxLength:Number,modelValue:String},emits:["update:modelValue"],setup(A,{expose:B,emit:Q}){const I=A,g=Q,e=E.computed(()=>E.useSlots());function w(n){return!!e.value[n]}const M=E.ref(I.modelValue||""),c=E.ref(!1),i=()=>!(c.value||M.value),t=E.computed(()=>I.invalid?"yu-border-red-500 focus-within:yu-border-red-500":I.valid?"yu-border-green-500 focus-within:yu-border-green-500":"focus-within:yu-border-primary focus-within:yu-border-2"),r=E.computed(()=>I.invalid?"yu-text-red-500":I.valid?"yu-text-green-500":""),F=E.computed(()=>{if(i())return"yu-translate-y-1/4";if(!i())return"yu-translate-x-0 yu-text-xs"}),s=E.computed(()=>I.disabled?"yu-opacity-50 yu-pointer-events-none":""),o=E.computed(()=>I.fluid?"!yu-w-full":""),C=E.ref(null),a=E.ref(null),Y=()=>{E.nextTick(()=>{const n=a.value,h=C.value;!n||!h||(n.style.height="auto",n.style.height=Math.max(n.scrollHeight,VJ)+"px",h.style.height=n.style.height)})};E.watch(()=>I.modelValue,n=>{n!==M.value&&(M.value=n||"",Y())});const R=()=>{g("update:modelValue",M.value),Y()};return B({focus:c}),(n,h)=>(E.openBlock(),E.createBlock(BA,{class:"yu-font-primary",col:"","gap-none":""},{default:E.withCtx(()=>[E.createVNode(BA,{col:"","gap-sm":""},{default:E.withCtx(()=>[w("label")?(E.openBlock(),E.createBlock(_,{key:0,base:"",medium:""},{default:E.withCtx(()=>[E.renderSlot(n.$slots,"label")]),_:3})):E.createCommentVNode("",!0),E.createElementVNode("div",{class:E.normalizeClass(["simple-input yu-min-h-[4.5rem]",[t.value,s.value,o.value]]),ref_key:"textareaContainerRef",ref:C},[E.createVNode(_,{class:E.normalizeClass(["yu-p-1 yu-px-2 yu-transition yu-z-10 yu-pointer-events-none",[F.value]]),medium:"",gray:""},{default:E.withCtx(()=>[E.renderSlot(n.$slots,"default")]),_:3},8,["class"]),E.withDirectives(E.createElementVNode("textarea",{class:"yu-absolute yu-w-full yu-h-full yu-outline-none yu-bg-gray-50 yu-p-2 yu-pt-5 yu-z-0 yu-text-sm yu-leading-4 yu-font-medium",ref_key:"textareaRef",ref:a,"onUpdate:modelValue":h[0]||(h[0]=D=>M.value=D),disabled:A.disabled,onInput:R,onFocus:h[1]||(h[1]=D=>c.value=!0),onBlur:h[2]||(h[2]=D=>c.value=!1),maxlength:A.maxLength},null,40,GJ),[[E.vModelText,M.value]]),E.createVNode(BA,{class:"yu-absolute yu-bottom-2 yu-right-2 yu-cursor-pointer yu-text-gray-500 yu-select-none yu-flex yu-items-center"},{default:E.withCtx(()=>[A.maxLength?(E.openBlock(),E.createBlock(_,{key:0,small:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(`${M.value.length} / ${A.maxLength}`),1)]),_:1})):E.createCommentVNode("",!0)]),_:1})],2)]),_:3}),w("feedback")?(E.openBlock(),E.createElementBlock("div",{key:0,class:E.normalizeClass([r.value])},[E.renderSlot(n.$slots,"feedback")],2)):E.createCommentVNode("",!0)]),_:3}))}}),yJ={class:"yu-flex yu-gap-1"},Rr=E.defineComponent({__name:"app-typing-indicator",props:{small:Boolean},setup(A){const B=A,Q=E.computed(()=>B.small?"yu-h-1 yu-w-1":"yu-h-2 yu-w-2");return(I,g)=>(E.openBlock(),E.createElementBlock("div",yJ,[E.createElementVNode("span",{class:E.normalizeClass(["yu-bg-gray-500 yu-bg-opacity-80 yu-rounded-full yu-animate-bounce",[Q.value]]),style:{"animation-delay":"0s"}},null,2),E.createElementVNode("span",{class:E.normalizeClass(["yu-bg-gray-500 yu-bg-opacity-80 yu-rounded-full yu-animate-bounce",[Q.value]]),style:{"animation-delay":"0.2s"}},null,2),E.createElementVNode("span",{class:E.normalizeClass(["yu-bg-gray-500 yu-bg-opacity-80 yu-rounded-full yu-animate-bounce",[Q.value]]),style:{"animation-delay":"0.4s"}},null,2)]))}}),HJ=["data-state","onClick"],Dr=E.defineComponent({__name:"app-tabs",props:{center:Boolean,segment:Boolean,small:{type:Boolean,default:!0},defaultTab:String,options:{type:Array,default:()=>[]}},setup(A){const B=A,Q=E.useSlots(),I=E.computed(()=>{const i={};return B.options.forEach(t=>{i[t.name]=t}),i}),g=Object.keys(Q),e=E.ref(B.defaultTab??g[0]);function w(i){const t=I.value[i];return!t||!t.label?i:t.label}const M=E.computed(()=>B.segment?"yu-bg-gray-100 yu-rounded-md":"yu-border-b"),c=E.computed(()=>B.segment?"yu-p-2 yu-transition-all duration-200 yu-group yu-rounded-md yu-w-full data-[state=active]:yu-bg-white data-[state=active]:yu-shadow":B.small?"yu-p-2 yu-border-b-4 yu-border-transparent yu-transition-all duration-200 yu-group data-[state=active]:yu-border-b-primary":"yu-p-2 yu-px-4 yu-border-b-4 yu-border-transparent yu-transition-all duration-200 yu-group data-[state=active]:yu-border-b-primary");return(i,t)=>(E.openBlock(),E.createBlock(BA,{col:""},{default:E.withCtx(()=>[E.createVNode(BA,{class:E.normalizeClass([M.value]),"gap-none":"",center:A.center,"padding-sm":A.segment},{default:E.withCtx(()=>[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(E.unref(g),r=>(E.openBlock(),E.createElementBlock("button",{class:E.normalizeClass(["yu-flex yu-gap-2 yu-items-center yu-justify-center",[c.value]]),key:r,"data-state":e.value===r?"active":"inactive",onClick:F=>e.value=r},[I.value[r]?.icon?(E.openBlock(),E.createBlock(eA,{key:0,class:"group-hover:!yu-text-primary yu-transition-colors duration-200",small:A.small,gray:e.value!==r,dark:e.value===r},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(I.value[r].icon),1)]),_:2},1032,["small","gray","dark"])):E.createCommentVNode("",!0),E.createVNode(_,{class:E.normalizeClass(["group-hover:!yu-text-primary yu-transition-colors duration-200",{"!yu-text-primary":e.value===r}]),gray:e.value!==r,small:A.small,medium:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(w(r)),1)]),_:2},1032,["class","gray","small"])],10,HJ))),128))]),_:1},8,["class","center","padding-sm"]),(E.openBlock(),E.createBlock(E.resolveDynamicComponent(E.unref(Q)[e.value]),{key:e.value}))]),_:1}))}}),lJ={class:"yu-w-full"},SJ={key:0,class:"yu-p-3",align:"left"},zJ={key:0,class:"yu-p-3"},jJ={key:1},xJ={class:"yu-p-4",colspan:"100%"},JJ={key:2},dJ={class:"yu-p-4",colspan:"100%"},TJ={key:3},kJ={class:"yu-p-4",colspan:"100%"},mJ={key:0,class:"yu-p-3"},Gr=E.defineComponent({__name:"app-data-table",props:{loading:{type:Boolean,default:!1},columns:{},data:{},itemsPerPage:{default:10},round:{type:Boolean,default:!0},border:{type:Boolean,default:!0},error:{type:Boolean,default:!1},divisor:{type:Boolean,default:!0},striped:{type:Boolean,default:!1},hover:{type:Boolean,default:!0}},emits:["reload"],setup(A,{emit:B}){const Q=B,I=A,g=E.useSlots();function e(t){return!!g[t]}const w=E.computed(()=>I.round?"yu-rounded-xl":""),M=E.computed(()=>I.border?"yu-border":""),c=E.computed(()=>I.border?"yu-border-b":""),i=E.computed(()=>I.divisor?"yu-divide-y":"");return(t,r)=>(E.openBlock(),E.createBlock(BA,{class:"yu-w-full",col:"","gap-sm":""},{default:E.withCtx(()=>[E.renderSlot(t.$slots,"header"),E.createElementVNode("div",{class:E.normalizeClass(["yu-w-full yu-overflow-hidden yu-relative yu-overflow-y-auto yu-bg-white",[w.value,M.value]])},[E.createElementVNode("table",lJ,[E.createElementVNode("thead",{class:E.normalizeClass(["yu-bg-white",[w.value,c.value]])},[E.createElementVNode("tr",null,[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.columns,F=>(E.openBlock(),E.createElementBlock("th",{class:"yu-p-3",key:F.value,align:"left"},[E.createVNode(_,{medium:"",gray:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(F.label),1)]),_:2},1024)]))),128)),e("actions")&&A.columns.length>0?(E.openBlock(),E.createElementBlock("th",SJ,[E.createVNode(_,{medium:"",gray:""},{default:E.withCtx(()=>[...r[1]||(r[1]=[E.createTextVNode("Ações",-1)])]),_:1})])):E.createCommentVNode("",!0)])],2),E.createElementVNode("tbody",{class:E.normalizeClass([i.value])},[A.loading?(E.openBlock(!0),E.createElementBlock(E.Fragment,{key:0},E.renderList(A.itemsPerPage,F=>(E.openBlock(),E.createElementBlock("tr",{key:F},[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.columns,s=>(E.openBlock(),E.createElementBlock("td",{class:"yu-p-3",key:s.value},[E.createVNode(PI,{class:"yu-h-6 yu-w-full"})]))),128)),e("actions")&&A.columns.length>0?(E.openBlock(),E.createElementBlock("td",zJ,[E.createVNode(PI,{class:"yu-h-6 yu-w-full"})])):E.createCommentVNode("",!0)]))),128)):A.error?(E.openBlock(),E.createElementBlock("tr",jJ,[E.createElementVNode("td",xJ,[E.createVNode(BA,{center:"","gap-sm":"",col:""},{default:E.withCtx(()=>[E.createVNode(eA,{"extra-large":"",gray:""},{default:E.withCtx(()=>[...r[2]||(r[2]=[E.createTextVNode("error",-1)])]),_:1}),E.createVNode(_,{center:"",gray:""},{default:E.withCtx(()=>[...r[3]||(r[3]=[E.createTextVNode("Ocorreu um erro ao carregar os dados",-1)])]),_:1}),E.createVNode(WB,{onClick:r[0]||(r[0]=F=>Q("reload")),small:"",outline:""},{icon:E.withCtx(()=>[E.createVNode(eA,null,{default:E.withCtx(()=>[...r[4]||(r[4]=[E.createTextVNode("refresh",-1)])]),_:1})]),default:E.withCtx(()=>[r[5]||(r[5]=E.createTextVNode("Recarregar",-1))]),_:1})]),_:1})])])):A.data.length===0?(E.openBlock(),E.createElementBlock("tr",JJ,[E.createElementVNode("td",dJ,[E.createVNode(BA,{center:"","gap-sm":"",col:""},{default:E.withCtx(()=>[E.createVNode(eA,{"extra-large":"",gray:""},{default:E.withCtx(()=>[...r[6]||(r[6]=[E.createTextVNode("inbox",-1)])]),_:1}),E.createVNode(_,{center:"",gray:""},{default:E.withCtx(()=>[...r[7]||(r[7]=[E.createTextVNode("Nenhum resultado encontrado",-1)])]),_:1})]),_:1})])])):A.columns.length===0?(E.openBlock(),E.createElementBlock("tr",TJ,[E.createElementVNode("td",kJ,[E.createVNode(BA,{center:"","gap-sm":"",col:""},{default:E.withCtx(()=>[E.createVNode(eA,{"extra-large":"",gray:""},{default:E.withCtx(()=>[...r[8]||(r[8]=[E.createTextVNode("filter_list",-1)])]),_:1}),E.createVNode(_,{center:"",gray:""},{default:E.withCtx(()=>[...r[9]||(r[9]=[E.createTextVNode("Nenhuma coluna selecionada",-1)])]),_:1})]),_:1})])])):E.createCommentVNode("",!0),!A.loading&&!A.error?(E.openBlock(!0),E.createElementBlock(E.Fragment,{key:4},E.renderList(A.data,(F,s)=>(E.openBlock(),E.createElementBlock("tr",{class:E.normalizeClass(["yu-transition-all",{"yu-bg-gray-50":A.striped&&s%2===1,"hover:yu-bg-gray-100":A.hover}]),key:F.id},[(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(A.columns,o=>(E.openBlock(),E.createElementBlock("td",{class:"yu-p-3",key:o.value},[e(`cell-${o.value}`)?E.renderSlot(t.$slots,`cell-${o.value}`,{key:0,row:F,column:o}):(E.openBlock(),E.createBlock(_,{key:1},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(F[o.value]),1)]),_:2},1024))]))),128)),e("actions")&&A.columns.length>0?(E.openBlock(),E.createElementBlock("td",mJ,[E.createVNode(BA,{class:"yu-items-center","gap-sm":""},{default:E.withCtx(()=>[E.renderSlot(t.$slots,"actions",{row:F})]),_:2},1024)])):E.createCommentVNode("",!0)],2))),128)):E.createCommentVNode("",!0)],2)])],2),E.renderSlot(t.$slots,"footer")]),_:3}))}}),Ew=E.ref(null),Iw=E.ref(null);function Vr(){return{siderComponent:Ew,siderProps:Iw,setSiderComponent:(Q,I)=>{Ew.value=E.markRaw(Q),Iw.value=I??{}},clearSiderComponent:()=>{Ew.value=null,Iw.value=null}}}const yr=E.defineComponent({__name:"app-sider",setup(A){const{siderComponent:B,siderProps:Q}=Vr();return(I,g)=>E.unref(B)?(E.openBlock(),E.createBlock(BA,{key:0,class:"yu-h-screen yu-bg-white yu-border-l yu-max-w-[25rem] yu-min-w-[25rem]"},{default:E.withCtx(()=>[(E.openBlock(),E.createBlock(E.resolveDynamicComponent(E.unref(B)),E.normalizeProps(E.guardReactiveProps(E.unref(Q))),null,16))]),_:1})):E.createCommentVNode("",!0)}});function uJ(){return{maskPhone:e=>e.replace(/\D/g,"").slice(0,11).replace(/^(\d{2})(\d)/,"($1) $2").replace(/^(\(\d{2}\)\s\d{5})(\d)/,"$1-$2"),maskCnpj:e=>e.replace(/\D/g,"").slice(0,14).replace(/^(\d{2})(\d)/,"$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/,"$1.$2.$3").replace(/^(\d{2})\.(\d{3})\.(\d{3})(\d)/,"$1.$2.$3/$4").replace(/^(\d{2})\.(\d{3})\.(\d{3})\/(\d{4})(\d)/,"$1.$2.$3/$4-$5"),maskCep:e=>e.replace(/\D/g,"").slice(0,8).replace(/^(\d{5})(\d)/,"$1-$2"),maskCpf:e=>e.replace(/\D/g,"").slice(0,11).replace(/^(\d{3})(\d)/,"$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/,"$1.$2.$3").replace(/^(\d{3})\.(\d{3})\.(\d{3})(\d)/,"$1.$2.$3-$4")}}const KJ={install:A=>{A.use(KF),A.component("TextInput",WE),A.component("AppTextInput",WE),A.component("IconTextInput",Eg),A.component("AppIconTextInput",Eg),A.component("SwitchCheckbox",Ig),A.component("AppSwitchCheckbox",Ig),A.component("ButtonPrimary",gg),A.component("AppButtonPrimary",gg),A.component("ButtonSecondary",eg),A.component("AppButtonSecondary",eg),A.component("SimpleDropdown",tw),A.component("AppDropdown",wM),A.component("AppSelect",Dg),A.component("AppSelectItem",Rg),A.component("SimpleDropdownItem",wg),A.component("StatCard",Gg),A.component("AppStatCard",Gg),A.component("AppAdvancedStatCard",iM),A.component("ListCard",tM),A.component("AppTitle",Vg),A.component("AppSubtitle",rM),A.component("AppText",_),A.component("AppTooltipIcon",FM),A.component("AppTable",sM),A.component("AppTableHeader",UM),A.component("AppTableRow",oM),A.component("AppTableCell",YM),A.component("AppTableHeaderCell",CM),A.component("AppPagination",aM),A.component("AppPopup",hM),A.component("AppContainer",nM),A.component("AppGroup",BA),A.component("AppAccordion",NM),A.component("AppLoadingRing",RM),A.component("AppJoin",DM),A.component("AppIcon",eA),A.component("AppButton",WB),A.component("AppAvatar",GM),A.component("AppBadge",VM),A.component("AppSwitch",yM),A.component("AppTextInput",Ng),A.component("AppDropview",yg),A.component("AppDropviewItem",HM),A.component("AppDatePicker",nr),A.component("AppSkeleton",PI),A.component("AppTextArea",Nr),A.component("AppTypingIndicator",Rr),A.component("AppTabs",Dr),A.component("AppDataTable",Gr),A.component("AppSider",yr)}};p.AppAccordion=NM,p.AppAdvancedStatCard=iM,p.AppAvatar=GM,p.AppBadge=VM,p.AppButton=WB,p.AppContainer=nM,p.AppDataTable=Gr,p.AppDatePicker=nr,p.AppDropdown=wM,p.AppDropview=yg,p.AppDropviewItem=HM,p.AppGroup=BA,p.AppIcon=eA,p.AppJoin=DM,p.AppLoadingRing=RM,p.AppPagination=aM,p.AppPopup=hM,p.AppSelect=Dg,p.AppSelectItem=Rg,p.AppSider=yr,p.AppSkeleton=PI,p.AppSubtitle=rM,p.AppSwitch=yM,p.AppTable=sM,p.AppTableCell=YM,p.AppTableHeader=UM,p.AppTableHeaderCell=CM,p.AppTableRow=oM,p.AppTabs=Dr,p.AppText=_,p.AppTextArea=Nr,p.AppTextInput=Ng,p.AppTitle=Vg,p.AppTooltipIcon=FM,p.AppTypingIndicator=Rr,p.ButtonPrimary=gg,p.ButtonSecondary=eg,p.IconTextInput=Eg,p.ListCard=tM,p.SimpleDropdown=tw,p.SimpleDropdownItem=wg,p.StatCard=Gg,p.SwitchCheckbox=Ig,p.TextInput=WE,p.default=KJ,p.useMaskFunctions=uJ,p.useSider=Vr,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|