@opens/ui 1.0.44 → 1.0.45

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.
@@ -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:D,y:N,data:h,reset:n}=await Y({x:t,y:r,initialPlacement:I,placement:F,strategy:g,middlewareData:s,rects:i,platform:w,elements:{reference:A,floating:B}});t=D??t,r=N??r,s={...s,[a]:{...s[a],...h}},n&&o<=50&&(o++,typeof n=="object"&&(n.placement&&(F=n.placement),n.rects&&(i=n.rects===!0?await w.getElementRects({reference:A,floating:B,strategy:g}):n.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})),D=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},n=IE(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({elements:M,rect:D,offsetParent:N,strategy:c}):D);return{top:(Y.top-n.top+o.top)/h.y,bottom:(n.bottom-Y.bottom+o.bottom)/h.y,left:(Y.left-n.left+o.left)/h.x,right:(n.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",D=a?"bottom":"right",N=a?"clientHeight":"clientWidth",h=e.reference[o]+e.reference[s]-F[s]-e.floating[o],n=F[s]-e.reference[s],J=await(w.getOffsetParent==null?void 0:w.getOffsetParent(i));let S=J?J[N]:0;(!S||!await(w.isElement==null?void 0:w.isElement(J)))&&(S=M.floating[N]||e.floating[o]);const T=h/2-n/2,u=S/2-C[o]/2-1,V=EE(r[Y],u),z=EE(r[D],u),l=V,k=S-C[o]-z,q=S/2-C[o]/2+T,m=Mg(l,q,k),Z=!c.arrow&&bA(g)!=null&&q!==m&&e.reference[o]/2-(q<l?V:z)-C[o]/2<0,L=Z?q<l?q-l: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,D=C[Y];if(D==null)return{};const N=Uw(D,e,await(c.isRTL==null?void 0:c.isRTL(i.floating)));if(M!==D)return{reset:{placement:C[0]}};const h=[a[gB(D)],a[N[0]],a[N[1]]],n=[...((I=w.autoPlacement)==null?void 0:I.overflows)||[],{placement:D,overflows:h}],J=C[Y+1];if(J)return{data:{index:Y+1,overflows:n},reset:{placement:J}};const S=n.map(V=>{const z=bA(V.placement);return[V.placement,z&&t?V.overflows.slice(0,2).reduce((l,k)=>l+k,0):V.overflows[0],V.overflows]}).sort((V,z)=>V[1]-z[1]),u=((g=S.filter(V=>V[2].slice(0,bA(V[0])?2:3).every(z=>z<=0))[0])==null?void 0:g[0])||S[0][0];return u!==M?{data:{index:Y+1,overflows:n},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),D=hB(M),N=gB(M)===M,h=await(c.isRTL==null?void 0:c.isRTL(i.floating)),n=F||(N||!C?[qE(M)]:fr(M)),J=o!=="none";!F&&J&&n.push(...Zr(M,C,o,h));const S=[M,...n],T=await ZE(B,a),u=[];let V=((I=e.flip)==null?void 0:I.overflows)||[];if(t&&u.push(T[Y]),r){const q=Uw(g,w,h);u.push(T[q[0]],T[q[1]])}if(V=[...V,{placement:g,overflows:u}],!u.every(q=>q<=0)){var z,l;const q=(((z=e.flip)==null?void 0:z.index)||0)+1,m=S[q];if(m&&(!(r==="alignment"?D!==hB(m):!1)||V.every(IA=>hB(IA.placement)===D?IA.overflows[0]>0:!0)))return{data:{index:q,overflows:V},reset:{placement:m}};let Z=(l=V.filter(L=>L.overflows[0]<=0).sort((L,IA)=>L.overflows[1]-IA.overflows[1])[0])==null?void 0:l.placement;if(!Z)switch(s){case"bestFit":{var k;const L=(k=V.filter(IA=>{if(J){const $=hB(IA.placement);return $===D||$==="y"}return!0}).map(IA=>[IA.placement,IA.overflows.filter($=>$>0).reduce(($,H)=>$+H,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:D}=a;return{x:Y,y:D}}},...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",D=s+t[a],N=s-t[Y];s=Mg(D,s,N)}if(w){const a=r==="y"?"top":"left",Y=r==="y"?"bottom":"right",D=o+t[a],N=o-t[Y];o=Mg(D,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 D=C-t.top-t.bottom,N=o-t.left-t.right,h=EE(C-t[a],D),n=EE(o-t[Y],N),J=!B.middlewareData.shift;let S=h,T=n;if((Q=B.middlewareData.shift)!=null&&Q.enabled.x&&(T=N),(I=B.middlewareData.shift)!=null&&I.enabled.y&&(S=D),J&&!F){const V=gQ(t.left,0),z=gQ(t.right,0),l=gQ(t.top,0),k=gQ(t.bottom,0);s?T=o-2*(V!==0||z!==0?V+z:gQ(t.left,t.right)):S=C-2*(l!==0||k!==0?l+k:gQ(t.top,t.bottom))}await c({...B,availableWidth:T,availableHeight:S});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 D=DQ(Y),N=Y.getBoundingClientRect(),h=getComputedStyle(Y);N.x+=(Y.clientLeft+parseFloat(h.paddingLeft))*D.x,N.y+=(Y.clientTop+parseFloat(h.paddingTop))*D.y,r*=D.x,F*=D.y,s*=D.x,o*=D.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((D=>D!==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:D})=>[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:D,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}}const 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))}});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-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:{small:Boolean,fluid:Boolean,round:Boolean,invalid:Boolean,valid:Boolean,disabled:Boolean,loading:Boolean,type:String,maxLength:Number,block:Boolean},emits:["update:modelValue","keyup-enter"],setup(A,{expose:B,emit:Q}){const I=A,g=E.computed(()=>E.useSlots());function e(h){return!!g.value[h]}const w=E.ref(""),M=E.ref(!1),c=Q;function i(){return!(M.value||w.value)}const t=E.ref(!1),{height:r,textSize:F,width:s}=OF(I),o=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"),C=E.computed(()=>I.invalid?"yu-text-red-500":I.valid?"yu-text-green-500":""),a=E.computed(()=>{if(I.small&&i())return"yu-translate-y-1.5 yu-text-xs";if(I.small&&!i())return"-yu-translate-y-1 yu-text-xs";if(i())return"yu-translate-y-2 yu-text-sm";if(!i())return"-yu-translate-y-0 yu-text-xs"}),Y=E.computed(()=>e("icon")?"yu-pl-8":"yu-pl-2"),D=E.computed(()=>I.block?"yu-rounded-none":I.round?"yu-rounded-full":"yu-rounded-md"),N=E.computed(()=>I.disabled||I.loading?"yu-opacity-50 yu-pointer-events-none":"");return B({focus:M}),(h,n)=>(E.openBlock(),E.createBlock(EA,{class:E.normalizeClass(["yu-font-primary",[E.unref(s)]]),col:"","gap-none":""},{default:E.withCtx(()=>[E.createVNode(EA,{col:"","gap-sm":""},{default:E.withCtx(()=>[e("label")?(E.openBlock(),E.createBlock(_,{key:0,base:"",medium:""},{default:E.withCtx(()=>[E.renderSlot(h.$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",[D.value,N.value,E.unref(r),o.value]])},[E.createElementVNode("div",LF,[E.createElementVNode("div",XF,[!A.loading&&e("icon")?E.renderSlot(h.$slots,"icon",{key:0}):E.createCommentVNode("",!0),A.loading?(E.openBlock(),E.createBlock(eA,{key:1,class:"yu-animate-spin",outlined:""},{default:E.withCtx(()=>[...n[6]||(n[6]=[E.createTextVNode("progress_activity",-1)])]),_:1})):E.createCommentVNode("",!0)]),E.createVNode(_,{class:E.normalizeClass(["yu-px-2 yu-transition",[a.value]]),medium:"",gray:""},{default:E.withCtx(()=>[E.renderSlot(h.$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(F),Y.value,D.value]]),"onUpdate:modelValue":n[0]||(n[0]=J=>w.value=J),type:t.value?"text":A.type,onInput:n[1]||(n[1]=J=>c("update:modelValue",w.value)),onFocus:n[2]||(n[2]=J=>M.value=!0),onBlur:n[3]||(n[3]=J=>M.value=!1),onKeyup:n[4]||(n[4]=E.withKeys(J=>c("keyup-enter"),["enter"])),disabled:A.disabled||A.loading,maxlength:A.maxLength},null,42,vF),[[E.vModelDynamic,w.value]]),E.createVNode(EA,{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(EA,{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:n[5]||(n[5]=J=>t.value=!t.value)},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(t.value?"visibility_off":"visibility"),1)]),_:1})):E.createCommentVNode("",!0),E.renderSlot(h.$slots,"suffix")]),_:3})],2)]),_:3}),e("feedback")?(E.openBlock(),E.createElementBlock("div",{key:0,class:E.normalizeClass([C.value])},[E.renderSlot(h.$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(V){return!!e.value[V]}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,V=>{I.confirmFilterable||(C.value=V)}),E.watch(C,V=>{I.remote&&g("search",V)});const D=E.computed(()=>{if(I.remote)return I.options||[];if(!I.options)return[];if(!C?.value)return I.options;const V=C?.value?.toLowerCase();return I.options.filter(z=>z.label.toLowerCase().includes(V)||z.value.toLowerCase().includes(V))}),N=E.ref([]),h=E.ref(null);E.computed(()=>N.value.map(V=>V.value));const n=V=>I.multiple?N.value.find(z=>z.value===V.value):h.value?.value===V.value,J=V=>{if(!I.multiple)return h.value?.value===V.value?(h.value=null,o.value=!1):(h.value=V,o.value=!1);if(N.value.find(z=>z.value===V.value))return N.value=N.value.filter(z=>z.value!==V.value);N.value=[...N.value,V]},S=()=>{N.value=[]},T=()=>{I.options&&(N.value=D.value)};E.watch(N,V=>{g("update:modelValue",V)}),E.watch(h,V=>{g("update:modelValue",V)}),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(V=>V.label).join(", "):null:h.value?.label||null);return B({opened:o,selectedItems:N,handleSelect:J,displayText:u,searchTerm:C,selectAll:T,unselectAll:S,optionsList:D,selectedItem:h,pendingSearchTerm:a,confirmSearch:Y}),(V,z)=>(E.openBlock(),E.createBlock(EA,{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(V.$slots,"label")]),_:3},8,["small","base"])):E.createCommentVNode("",!0),E.createVNode(E.unref(hg),{"onUpdate:shown":z[2]||(z[2]=l=>o.value=l),placement:"bottom-start",shown:o.value,"auto-size":A.autoSize,class:E.normalizeClass([E.unref(i)])},{popper:E.withCtx(()=>[E.createVNode(EA,{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":z[0]||(z[0]=l=>a.value=l),small:A.small,fluid:""},{icon:E.withCtx(()=>[E.createVNode(eA,null,{default:E.withCtx(()=>[...z[5]||(z[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(()=>[...z[6]||(z[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(EA,{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(D.value,(l,k)=>(E.openBlock(),E.createElementBlock("div",{key:k,onClick:q=>J(l)},[w("item")?E.renderSlot(V.$slots,"item",{key:0,item:l,selected:n(l)}):E.createCommentVNode("",!0),w("item")?E.createCommentVNode("",!0):(E.openBlock(),E.createBlock(Rg,{key:1,selected:n(l),small:A.small,fluid:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(l.label),1)]),_:2},1032,["selected","small"]))],8,Qs))),128)),A.remote?(E.openBlock(),E.createBlock($F,{key:0,onIntersect:z[1]||(z[1]=l=>g("intersect"))})):E.createCommentVNode("",!0),D.value.length?E.createCommentVNode("",!0):(E.openBlock(),E.createBlock(EA,{key:1,"padding-sm":"",center:""},{default:E.withCtx(()=>[E.createVNode(_,{gray:""},{default:E.withCtx(()=>[...z[7]||(z[7]=[E.createTextVNode("Nenhuma opção encontrada",-1)])]),_:1})]),_:1}))]),_:3}),w("options")?(E.openBlock(),E.createBlock(EA,{key:1,center:""},{default:E.withCtx(()=>[E.renderSlot(V.$slots,"options",{unselectAll:S,selectAll:T})]),_:3})):E.createCommentVNode("",!0)]),_:3})]),default:E.withCtx(()=>[E.createVNode(EA,{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(EA,{class:"yu-items-center yu-overflow-hidden yu-truncate yu-whitespace-nowrap","gap-sm":""},{default:E.withCtx(()=>[w("icon")&&!A.loading?E.renderSlot(V.$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(()=>[...z[3]||(z[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(V.$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(()=>[...z[4]||(z[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(EA,{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(EA,{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"},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-p-2 yu-border-red-500 yu-rounded-lg":Q.success?"yu-border yu-p-2 yu-border-green-500 yu-rounded-lg":Q.warning?"yu-border yu-p-2 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":"yu-text-gray-600"),M=E.computed(()=>I.value?"":"yu-transition-all hover:yu-opacity-80"),c=E.computed(()=>!Q.error&&!Q.warning&&!Q.success);return B({showDescription:I}),(i,t)=>(E.openBlock(),E.createElementBlock("div",{class:E.normalizeClass(["yu-flex yu-w-full yu-flex-col yu-gap-2",[e.value,g.value,M.value]])},[E.createElementVNode("div",{class:E.normalizeClass(["yu-flex yu-w-full yu-justify-between yu-items-center yu-cursor-pointer yu-transition-all hover:yu-opacity-80",[w.value]]),onClick:t[0]||(t[0]=r=>I.value=!I.value)},[E.createElementVNode("div",bs,[E.createVNode(_,{class:"yu-w-full hover:underline",medium:""},{default:E.withCtx(()=>[E.renderSlot(i.$slots,"title")]),_:3})]),E.createVNode(eA,{class:E.normalizeClass(["yu-transition-all",{"yu-rotate-180":I.value}])},{default:E.withCtx(()=>[...t[1]||(t[1]=[E.createTextVNode("keyboard_arrow_down",-1)])]),_:1},8,["class"])],2),E.withDirectives(E.createElementVNode("div",{class:E.normalizeClass(["yu-flex yu-w-full yu-text-sm yu-pb-2",{"yu-border-b":c.value}])},[E.renderSlot(i.$slots,"description")],2),[[E.vShow,I.value]])],2))}}),Ls={role:"status"};function Xs(A,B){return E.openBlock(),E.createElementBlock("div",Ls,[...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 vs={};const RM=MB(vs,[["render",Xs]]),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(EA,{"gap-none":"",col:A.vertical,class:E.normalizeClass(g.value)},{default:E.withCtx(()=>[E.renderSlot(e.$slots,"default")]),_:3},8,["col","class"]))}}),Ps=["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,Ps),[[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)]))}}),$s=["disabled"],AU=["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(EA,{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,$s),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,AU))}}),BU=["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(EA,{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(EA,{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,BU)]),_:3},8,["class"])]),_:3},8,["shown","auto-size","class"]))}}),QU={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",QU,[!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",EU="clippingParents",lM="viewport",sE="popper",IU="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])},[]),gU="beforeRead",eU="read",wU="afterRead",MU="beforeMain",cU="main",iU="afterMain",tU="beforeWrite",rU="write",FU="afterWrite",sU=[gU,eU,wU,MU,cU,iU,tU,rU,FU];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 UU(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 oU(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 YU={name:"applyStyles",enabled:!0,phase:"write",fn:UU,effect:oU,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 CU(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 aU(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&&CU(Q)&&nB(Q).position==="static";)Q=JM(Q);return Q&&(cB(Q)==="html"||cB(Q)==="body"&&nB(Q).position==="static")?B:Q||aU(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 hU(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 NU(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),D=Y?c==="y"?Y.clientHeight||0:Y.clientWidth||0:0,N=C/2-a/2,h=r[s],n=D-F[t]-r[o],J=D/2-F[t]/2+N,S=oE(h,J,n),T=c;Q.modifiersData[I]=(B={},B[T]=S,B.centerOffset=S-J,B)}}function RU(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 DU={name:"arrow",enabled:!0,phase:"main",fn:NU,effect:RU,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function lQ(A){return A.split("-")[1]}var GU={top:"auto",right:"auto",bottom:"auto",left:"auto"};function VU(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"),D=w.hasOwnProperty("y"),N=lA,h=HA,n=window;if(i){var J=UE(Q),S="clientHeight",T="clientWidth";if(J===jA(Q)&&(J=pB(Q),nB(J).position!=="static"&&M==="absolute"&&(S="scrollHeight",T="scrollWidth")),J=J,g===HA||(g===lA||g===mA)&&e===FE){h=kA;var u=r&&J===n&&n.visualViewport?n.visualViewport.height:J[S];C-=u-I.height,C*=c?1:-1}if(g===lA||(g===HA||g===kA)&&e===FE){N=mA;var V=r&&J===n&&n.visualViewport?n.visualViewport.width:J[T];s-=V-I.width,s*=c?1:-1}}var z=Object.assign({position:M},i&&GU),l=t===!0?VU({x:s,y:C},jA(Q)):{x:s,y:C};if(s=l.x,C=l.y,c){var k;return Object.assign({},z,(k={},k[h]=D?"0":"",k[N]=Y?"0":"",k.transform=(n.devicePixelRatio||1)<=1?"translate("+s+"px, "+C+"px)":"translate3d("+s+"px, "+C+"px, 0)",k))}return Object.assign({},z,(B={},B[h]=D?C+"px":"",B[N]=Y?s+"px":"",B.transform="",B))}function yU(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 HU={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yU,data:{}};var II={passive:!0};function lU(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 SU={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lU,data:{}};var zU={left:"right",right:"left",bottom:"top",top:"bottom"};function gI(A){return A.replace(/left|right|bottom|top/g,function(B){return zU[B]})}var jU={start:"end",end:"start"};function uM(A){return A.replace(/start|end/g,function(B){return jU[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 xU(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 JU(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 dU(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(xU(A,Q)):MQ(B)?dU(B,Q):Tg(JU(pB(A)))}function TU(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 kU(A,B,Q,I){var g=B==="clippingParents"?TU(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?EU: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)),D=F===sE?IU:sE,N=A.rects.popper,h=A.elements[o?D:F],n=kU(MQ(h)?h:h.contextElement||pB(A.elements.popper),c,t,w),J=HQ(A.elements.reference),S=WM({reference:J,element:N,placement:g}),T=Tg(Object.assign({},N,S)),u=F===sE?T:J,V={top:n.top-u.top+Y.top,bottom:u.bottom-n.bottom+Y.bottom,left:n.left-u.left+Y.left,right:u.right-n.right+Y.right},z=A.modifiersData.offset;if(F===sE&&z){var l=z[g];Object.keys(V).forEach(function(k){var q=[mA,kA].indexOf(k)>=0?1:-1,m=[HA,kA].indexOf(k)>=0?"y":"x";V[k]+=l[m]*q})}return V}function mU(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 uU(A){if(iB(A)===Hg)return[];var B=gI(A);return[uM(A),B,uM(B)]}function KU(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),D=Y===a,N=c||(D||!o?[gI(a)]:uU(a)),h=[a].concat(N).reduce(function(gA,YA){return gA.concat(iB(YA)===Hg?mU(B,{placement:YA,boundary:t,rootBoundary:r,padding:i,flipVariations:o,allowedAutoPlacements:C}):YA)},[]),n=B.rects.reference,J=B.rects.popper,S=new Map,T=!0,u=h[0],V=0;V<h.length;V++){var z=h[V],l=iB(z),k=lQ(z)===VQ,q=[HA,kA].indexOf(l)>=0,m=q?"width":"height",Z=CE(B,{placement:z,boundary:t,rootBoundary:r,altBoundary:F,padding:i}),L=q?k?mA:lA:k?kA:HA;n[m]>J[m]&&(L=gI(L));var IA=gI(L),$=[];if(e&&$.push(Z[l]<=0),M&&$.push(Z[L]<=0,Z[IA]<=0),$.every(function(gA){return gA})){u=z,T=!1;break}S.set(z,$)}if(T)for(var H=o?3:1,AA=function(YA){var hA=h.find(function(CA){var nA=S.get(CA);if(nA)return nA.slice(0,YA).every(function(JA){return JA})});if(hA)return u=hA,"break"},W=H;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 fU={name:"flip",enabled:!0,phase:"main",fn:KU,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 WU(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 pU={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:WU};function qU(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 ZU(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]=qU(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 OU={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ZU};function bU(A){var B=A.state,Q=A.name;B.modifiersData[Q]=WM({reference:B.rects.reference,element:B.rects.popper,placement:B.placement})}const LU={name:"popperOffsets",enabled:!0,phase:"read",fn:bU,data:{}};function XU(A){return A==="x"?"y":"x"}function vU(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),D=lQ(B.placement),N=!D,h=jg(Y),n=XU(h),J=B.modifiersData.popperOffsets,S=B.rects.reference,T=B.rects.popper,u=typeof C=="function"?C(Object.assign({},B.rects,{placement:B.placement})):C,V=typeof u=="number"?{mainAxis:u,altAxis:u}:Object.assign({mainAxis:0,altAxis:0},u),z=B.modifiersData.offset?B.modifiersData.offset[B.placement]:null,l={x:0,y:0};if(J){if(e){var k,q=h==="y"?HA:lA,m=h==="y"?kA:mA,Z=h==="y"?"height":"width",L=J[h],IA=L+a[q],$=L-a[m],H=s?-T[Z]/2:0,AA=D===VQ?S[Z]:T[Z],W=D===VQ?-T[Z]:-S[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,S[Z],gA[Z]),JA=N?S[Z]/2-H-nA-hA-V.mainAxis:AA-nA-hA-V.mainAxis,TB=N?-S[Z]/2+H+nA+CA+V.mainAxis:W+nA+CA+V.mainAxis,EB=B.elements.arrow&&UE(B.elements.arrow),ZA=EB?h==="y"?EB.clientTop||0:EB.clientLeft||0:0,OA=(k=z?.[h])!=null?k:0,_B=L+JA-OA-ZA,$Q=L+TB-OA,aB=oE(s?QI(IA,_B):IA,L,s?cQ($,$Q):$);J[h]=aB,l[h]=aB-L}if(M){var hQ,nQ=h==="x"?HA:lA,NQ=h==="x"?kA:mA,IB=J[n],$B=n==="y"?"height":"width",AQ=IB+a[nQ],BQ=IB-a[NQ],QQ=[HA,lA].indexOf(Y)!==-1,EQ=(hQ=z?.[n])!=null?hQ:0,IQ=QQ?AQ:IB-S[$B]-T[$B]-EQ+V.altAxis,RQ=QQ?IB+S[$B]+T[$B]-EQ-V.altAxis:BQ,AE=s&&QQ?hU(IQ,IB,RQ):oE(s?IQ:AQ,IB,s?RQ:BQ);J[n]=AE,l[n]=AE-IB}B.modifiersData[I]=l}}const PU={name:"preventOverflow",enabled:!0,phase:"main",fn:vU,requiresIfExists:["offset"]};function _U(A){return{scrollLeft:A.scrollLeft,scrollTop:A.scrollTop}}function $U(A){return A===jA(A)||!uA(A)?xg(A):_U(A)}function Ao(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 Bo(A,B,Q){Q===void 0&&(Q=!1);var I=uA(B),g=uA(B)&&Ao(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=$U(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 Qo(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 Eo(A){var B=Qo(A);return sU.reduce(function(Q,I){return Q.concat(B.filter(function(g){return g.phase===I}))},[])}function Io(A){var B;return function(){return B||(B=new Promise(function(Q){Promise.resolve().then(function(){B=void 0,Q(A())})})),B}}function go(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 eo(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 D=typeof Y=="function"?Y(t.options):Y;C(),t.options=Object.assign({},e,t.options,D),t.scrollParents={reference:MQ(M)?YE(M):M.contextElement?YE(M.contextElement):[],popper:YE(c)};var N=Eo(go([].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,D=Y.reference,N=Y.popper;if(OM(D,N)){t.rects={reference:Bo(D,UE(N),t.options.strategy==="fixed"),popper:zg(N)},t.reset=!1,t.placement=t.options.placement,t.orderedModifiers.forEach(function(V){return t.modifiersData[V.name]=Object.assign({},V.data)});for(var h=0;h<t.orderedModifiers.length;h++){if(t.reset===!0){t.reset=!1,h=-1;continue}var n=t.orderedModifiers[h],J=n.fn,S=n.options,T=S===void 0?{}:S,u=n.name;typeof J=="function"&&(t=J({state:t,options:T,name:u,instance:s})||t)}}}},update:Io(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,D=a.options,N=D===void 0?{}:D,h=a.effect;if(typeof h=="function"){var n=h({state:t,name:Y,instance:s,options:N}),J=function(){};r.push(n||J)}})}function C(){r.forEach(function(a){return a()}),r=[]}return s}}var wo=[SU,LU,HU,YU,OU,fU,PU,DU,pU],Mo=eo({defaultModifiers:wo}),co=Object.defineProperty,io=(A,B,Q)=>B in A?co(A,B,{enumerable:!0,configurable:!0,writable:!0,value:Q}):A[B]=Q,K=(A,B,Q)=>(io(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 to=Object.prototype,ro=to.hasOwnProperty;function Fo(A,B){return A!=null&&ro.call(A,B)}var so=Fo,Uo=Array.isArray,vA=Uo,oo=typeof eI=="object"&&eI&&eI.Object===Object&&eI,LM=oo,Yo=LM,Co=typeof self=="object"&&self&&self.Object===Object&&self,ao=Yo||Co||Function("return this")(),tB=ao,ho=tB,no=ho.Symbol,wI=no,XM=wI,vM=Object.prototype,No=vM.hasOwnProperty,Ro=vM.toString,aE=XM?XM.toStringTag:void 0;function Do(A){var B=No.call(A,aE),Q=A[aE];try{A[aE]=void 0;var I=!0}catch{}var g=Ro.call(A);return I&&(B?A[aE]=Q:delete A[aE]),g}var Go=Do,Vo=Object.prototype,yo=Vo.toString;function Ho(A){return yo.call(A)}var lo=Ho,PM=wI,So=Go,zo=lo,jo="[object Null]",xo="[object Undefined]",_M=PM?PM.toStringTag:void 0;function Jo(A){return A==null?A===void 0?xo:jo:_M&&_M in Object(A)?So(A):zo(A)}var rB=Jo;function To(A){return A!=null&&typeof A=="object"}var PA=To,ko=rB,mo=PA,uo="[object Symbol]";function Ko(A){return typeof A=="symbol"||mo(A)&&ko(A)==uo}var kg=Ko,fo=vA,Wo=kg,po=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qo=/^\w*$/;function Zo(A,B){if(fo(A))return!1;var Q=typeof A;return Q=="number"||Q=="symbol"||Q=="boolean"||A==null||Wo(A)?!0:qo.test(A)||!po.test(A)||B!=null&&A in Object(B)}var mg=Zo;function Oo(A){var B=typeof A;return A!=null&&(B=="object"||B=="function")}var NB=Oo,bo=rB,Lo=NB,Xo="[object AsyncFunction]",vo="[object Function]",Po="[object GeneratorFunction]",_o="[object Proxy]";function $o(A){if(!Lo(A))return!1;var B=bo(A);return B==vo||B==Po||B==Xo||B==_o}var iQ=$o,AY=tB,BY=AY["__core-js_shared__"],QY=BY,ug=QY,$M=(function(){var A=/[^.]+$/.exec(ug&&ug.keys&&ug.keys.IE_PROTO||"");return A?"Symbol(src)_1."+A:""})();function EY(A){return!!$M&&$M in A}var IY=EY,gY=Function.prototype,eY=gY.toString;function wY(A){if(A!=null){try{return eY.call(A)}catch{}try{return A+""}catch{}}return""}var Ac=wY,MY=iQ,cY=IY,iY=NB,tY=Ac,rY=/[\\^$.*+?()[\]{}|]/g,FY=/^\[object .+?Constructor\]$/,sY=Function.prototype,UY=Object.prototype,oY=sY.toString,YY=UY.hasOwnProperty,CY=RegExp("^"+oY.call(YY).replace(rY,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function aY(A){if(!iY(A)||cY(A))return!1;var B=MY(A)?CY:FY;return B.test(tY(A))}var hY=aY;function nY(A,B){return A?.[B]}var NY=nY,RY=hY,DY=NY;function GY(A,B){var Q=DY(A,B);return RY(Q)?Q:void 0}var tQ=GY,VY=tQ,yY=VY(Object,"create"),MI=yY,Bc=MI;function HY(){this.__data__=Bc?Bc(null):{},this.size=0}var lY=HY;function SY(A){var B=this.has(A)&&delete this.__data__[A];return this.size-=B?1:0,B}var zY=SY,jY=MI,xY="__lodash_hash_undefined__",JY=Object.prototype,dY=JY.hasOwnProperty;function TY(A){var B=this.__data__;if(jY){var Q=B[A];return Q===xY?void 0:Q}return dY.call(B,A)?B[A]:void 0}var kY=TY,mY=MI,uY=Object.prototype,KY=uY.hasOwnProperty;function fY(A){var B=this.__data__;return mY?B[A]!==void 0:KY.call(B,A)}var WY=fY,pY=MI,qY="__lodash_hash_undefined__";function ZY(A,B){var Q=this.__data__;return this.size+=this.has(A)?0:1,Q[A]=pY&&B===void 0?qY:B,this}var OY=ZY,bY=lY,LY=zY,XY=kY,vY=WY,PY=OY;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=bY,SQ.prototype.delete=LY,SQ.prototype.get=XY,SQ.prototype.has=vY,SQ.prototype.set=PY;var _Y=SQ;function $Y(){this.__data__=[],this.size=0}var AC=$Y;function BC(A,B){return A===B||A!==A&&B!==B}var zQ=BC,QC=zQ;function EC(A,B){for(var Q=A.length;Q--;)if(QC(A[Q][0],B))return Q;return-1}var cI=EC,IC=cI,gC=Array.prototype,eC=gC.splice;function wC(A){var B=this.__data__,Q=IC(B,A);if(Q<0)return!1;var I=B.length-1;return Q==I?B.pop():eC.call(B,Q,1),--this.size,!0}var MC=wC,cC=cI;function iC(A){var B=this.__data__,Q=cC(B,A);return Q<0?void 0:B[Q][1]}var tC=iC,rC=cI;function FC(A){return rC(this.__data__,A)>-1}var sC=FC,UC=cI;function oC(A,B){var Q=this.__data__,I=UC(Q,A);return I<0?(++this.size,Q.push([A,B])):Q[I][1]=B,this}var YC=oC,CC=AC,aC=MC,hC=tC,nC=sC,NC=YC;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=CC,jQ.prototype.delete=aC,jQ.prototype.get=hC,jQ.prototype.has=nC,jQ.prototype.set=NC;var iI=jQ,RC=tQ,DC=tB,GC=RC(DC,"Map"),Kg=GC,Qc=_Y,VC=iI,yC=Kg;function HC(){this.size=0,this.__data__={hash:new Qc,map:new(yC||VC),string:new Qc}}var lC=HC;function SC(A){var B=typeof A;return B=="string"||B=="number"||B=="symbol"||B=="boolean"?A!=="__proto__":A===null}var zC=SC,jC=zC;function xC(A,B){var Q=A.__data__;return jC(B)?Q[typeof B=="string"?"string":"hash"]:Q.map}var tI=xC,JC=tI;function dC(A){var B=JC(this,A).delete(A);return this.size-=B?1:0,B}var TC=dC,kC=tI;function mC(A){return kC(this,A).get(A)}var uC=mC,KC=tI;function fC(A){return KC(this,A).has(A)}var WC=fC,pC=tI;function qC(A,B){var Q=pC(this,A),I=Q.size;return Q.set(A,B),this.size+=Q.size==I?0:1,this}var ZC=qC,OC=lC,bC=TC,LC=uC,XC=WC,vC=ZC;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=OC,xQ.prototype.delete=bC,xQ.prototype.get=LC,xQ.prototype.has=XC,xQ.prototype.set=vC;var fg=xQ,Ec=fg,PC="Expected a function";function Wg(A,B){if(typeof A!="function"||B!=null&&typeof B!="function")throw new TypeError(PC);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,$C=_C,Aa=500;function Ba(A){var B=$C(A,function(I){return Q.size===Aa&&Q.clear(),I}),Q=B.cache;return B}var Qa=Ba,Ea=Qa,Ia=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ga=/\\(\\)?/g,ea=Ea(function(A){var B=[];return A.charCodeAt(0)===46&&B.push(""),A.replace(Ia,function(Q,I,g,e){B.push(g?e.replace(ga,"$1"):I||Q)}),B}),wa=ea;function Ma(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 ca=Ma,Ic=wI,ia=ca,ta=vA,ra=kg,gc=Ic?Ic.prototype:void 0,ec=gc?gc.toString:void 0;function wc(A){if(typeof A=="string")return A;if(ta(A))return ia(A,wc)+"";if(ra(A))return ec?ec.call(A):"";var B=A+"";return B=="0"&&1/A==-1/0?"-0":B}var Fa=wc,sa=Fa;function Ua(A){return A==null?"":sa(A)}var oa=Ua,Ya=vA,Ca=mg,aa=wa,ha=oa;function na(A,B){return Ya(A)?A:Ca(A,B)?[A]:aa(ha(A))}var Mc=na,Na=rB,Ra=PA,Da="[object Arguments]";function Ga(A){return Ra(A)&&Na(A)==Da}var Va=Ga,cc=Va,ya=PA,ic=Object.prototype,Ha=ic.hasOwnProperty,la=ic.propertyIsEnumerable,Sa=cc((function(){return arguments})())?cc:function(A){return ya(A)&&Ha.call(A,"callee")&&!la.call(A,"callee")},pg=Sa,za=9007199254740991,ja=/^(?:0|[1-9]\d*)$/;function xa(A,B){var Q=typeof A;return B=B??za,!!B&&(Q=="number"||Q!="symbol"&&ja.test(A))&&A>-1&&A%1==0&&A<B}var qg=xa,Ja=9007199254740991;function da(A){return typeof A=="number"&&A>-1&&A%1==0&&A<=Ja}var Zg=da,Ta=kg;function ka(A){if(typeof A=="string"||Ta(A))return A;var B=A+"";return B=="0"&&1/A==-1/0?"-0":B}var rI=ka,ma=Mc,ua=pg,Ka=vA,fa=qg,Wa=Zg,pa=rI;function qa(A,B,Q){B=ma(B,A);for(var I=-1,g=B.length,e=!1;++I<g;){var w=pa(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&&Wa(g)&&fa(w,g)&&(Ka(A)||ua(A)))}var tc=qa,Za=so,Oa=tc;function ba(A,B){return A!=null&&Oa(A,B,Za)}var rc=ba,La=rB,Xa=PA,va="[object Date]";function Pa(A){return Xa(A)&&La(A)==va}var _a=Pa;function $a(A){return function(B){return A(B)}}var Fc=$a,hE={},Ah={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})(Ah,hE);var Bh=_a,Qh=Fc,sc=hE,Uc=sc&&sc.isDate,Eh=Uc?Qh(Uc):Bh,Ih=Eh,gh=rB,eh=vA,wh=PA,Mh="[object String]";function ch(A){return typeof A=="string"||!eh(A)&&wh(A)&&gh(A)==Mh}var FB=ch;function ih(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=ih,th=iI;function rh(){this.__data__=new th,this.size=0}var Fh=rh;function sh(A){var B=this.__data__,Q=B.delete(A);return this.size=B.size,Q}var Uh=sh;function oh(A){return this.__data__.get(A)}var Yh=oh;function Ch(A){return this.__data__.has(A)}var ah=Ch,hh=iI,nh=Kg,Nh=fg,Rh=200;function Dh(A,B){var Q=this.__data__;if(Q instanceof hh){var I=Q.__data__;if(!nh||I.length<Rh-1)return I.push([A,B]),this.size=++Q.size,this;Q=this.__data__=new Nh(I)}return Q.set(A,B),this.size=Q.size,this}var Gh=Dh,Vh=iI,yh=Fh,Hh=Uh,lh=Yh,Sh=ah,zh=Gh;function JQ(A){var B=this.__data__=new Vh(A);this.size=B.size}JQ.prototype.clear=yh,JQ.prototype.delete=Hh,JQ.prototype.get=lh,JQ.prototype.has=Sh,JQ.prototype.set=zh;var Og=JQ,jh="__lodash_hash_undefined__";function xh(A){return this.__data__.set(A,jh),this}var Jh=xh;function dh(A){return this.__data__.has(A)}var Th=dh,kh=fg,mh=Jh,uh=Th;function FI(A){var B=-1,Q=A==null?0:A.length;for(this.__data__=new kh;++B<Q;)this.add(A[B])}FI.prototype.add=FI.prototype.push=mh,FI.prototype.has=uh;var Kh=FI;function fh(A,B){return A.has(B)}var Wh=fh,ph=Kh,qh=oc,Zh=Wh,Oh=1,bh=2;function Lh(A,B,Q,I,g,e){var w=Q&Oh,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&bh?new ph: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(!qh(B,function(Y,D){if(!Zh(s,D)&&(o===Y||g(o,Y,Q,I,e)))return s.push(D)})){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=Lh,Xh=tB,vh=Xh.Uint8Array,Cc=vh;function Ph(A){var B=-1,Q=Array(A.size);return A.forEach(function(I,g){Q[++B]=[g,I]}),Q}var _h=Ph;function $h(A){var B=-1,Q=Array(A.size);return A.forEach(function(I){Q[++B]=I}),Q}var An=$h,ac=wI,hc=Cc,Bn=zQ,Qn=Yc,En=_h,In=An,gn=1,en=2,wn="[object Boolean]",Mn="[object Date]",cn="[object Error]",tn="[object Map]",rn="[object Number]",Fn="[object RegExp]",sn="[object Set]",Un="[object String]",on="[object Symbol]",Yn="[object ArrayBuffer]",Cn="[object DataView]",nc=ac?ac.prototype:void 0,bg=nc?nc.valueOf:void 0;function an(A,B,Q,I,g,e,w){switch(Q){case Cn:if(A.byteLength!=B.byteLength||A.byteOffset!=B.byteOffset)return!1;A=A.buffer,B=B.buffer;case Yn:return!(A.byteLength!=B.byteLength||!e(new hc(A),new hc(B)));case wn:case Mn:case rn:return Bn(+A,+B);case cn:return A.name==B.name&&A.message==B.message;case Fn:case Un:return A==B+"";case tn:var M=En;case sn:var c=I&gn;if(M||(M=In),A.size!=B.size&&!c)return!1;var i=w.get(A);if(i)return i==B;I|=en,w.set(A,B);var t=Qn(M(A),M(B),I,g,e,w);return w.delete(A),t;case on:if(bg)return bg.call(A)==bg.call(B)}return!1}var hn=an;function nn(A,B){for(var Q=-1,I=B.length,g=A.length;++Q<I;)A[g+Q]=B[Q];return A}var Nn=nn,Rn=Nn,Dn=vA;function Gn(A,B,Q){var I=B(A);return Dn(A)?I:Rn(I,Q(A))}var Vn=Gn;function yn(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 Hn=yn;function ln(){return[]}var Sn=ln,zn=Hn,jn=Sn,xn=Object.prototype,Jn=xn.propertyIsEnumerable,Nc=Object.getOwnPropertySymbols,dn=Nc?function(A){return A==null?[]:(A=Object(A),zn(Nc(A),function(B){return Jn.call(A,B)}))}:jn,Tn=dn;function kn(A,B){for(var Q=-1,I=Array(A);++Q<A;)I[Q]=B(Q);return I}var mn=kn,dQ={},un={get exports(){return dQ},set exports(A){dQ=A}};function Kn(){return!1}var fn=Kn;(function(A,B){var Q=tB,I=fn,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})(un,dQ);var Wn=rB,pn=Zg,qn=PA,Zn="[object Arguments]",On="[object Array]",bn="[object Boolean]",Ln="[object Date]",Xn="[object Error]",vn="[object Function]",Pn="[object Map]",_n="[object Number]",$n="[object Object]",AN="[object RegExp]",BN="[object Set]",QN="[object String]",EN="[object WeakMap]",IN="[object ArrayBuffer]",gN="[object DataView]",eN="[object Float32Array]",wN="[object Float64Array]",MN="[object Int8Array]",cN="[object Int16Array]",iN="[object Int32Array]",tN="[object Uint8Array]",rN="[object Uint8ClampedArray]",FN="[object Uint16Array]",sN="[object Uint32Array]",iA={};iA[eN]=iA[wN]=iA[MN]=iA[cN]=iA[iN]=iA[tN]=iA[rN]=iA[FN]=iA[sN]=!0,iA[Zn]=iA[On]=iA[IN]=iA[bn]=iA[gN]=iA[Ln]=iA[Xn]=iA[vn]=iA[Pn]=iA[_n]=iA[$n]=iA[AN]=iA[BN]=iA[QN]=iA[EN]=!1;function UN(A){return qn(A)&&pn(A.length)&&!!iA[Wn(A)]}var oN=UN,YN=oN,CN=Fc,Rc=hE,Dc=Rc&&Rc.isTypedArray,aN=Dc?CN(Dc):YN,Lg=aN,hN=mn,nN=pg,NN=vA,RN=dQ,DN=qg,GN=Lg,VN=Object.prototype,yN=VN.hasOwnProperty;function HN(A,B){var Q=NN(A),I=!Q&&nN(A),g=!Q&&!I&&RN(A),e=!Q&&!I&&!g&&GN(A),w=Q||I||g||e,M=w?hN(A.length,String):[],c=M.length;for(var i in A)(B||yN.call(A,i))&&!(w&&(i=="length"||g&&(i=="offset"||i=="parent")||e&&(i=="buffer"||i=="byteLength"||i=="byteOffset")||DN(i,c)))&&M.push(i);return M}var Gc=HN,lN=Object.prototype;function SN(A){var B=A&&A.constructor,Q=typeof B=="function"&&B.prototype||lN;return A===Q}var Xg=SN;function zN(A,B){return function(Q){return A(B(Q))}}var Vc=zN,jN=Vc,xN=jN(Object.keys,Object),JN=xN,dN=Xg,TN=JN,kN=Object.prototype,mN=kN.hasOwnProperty;function uN(A){if(!dN(A))return TN(A);var B=[];for(var Q in Object(A))mN.call(A,Q)&&Q!="constructor"&&B.push(Q);return B}var KN=uN,fN=iQ,WN=Zg;function pN(A){return A!=null&&WN(A.length)&&!fN(A)}var nE=pN,qN=Gc,ZN=KN,ON=nE;function bN(A){return ON(A)?qN(A):ZN(A)}var vg=bN,LN=Vn,XN=Tn,vN=vg;function PN(A){return LN(A,vN,XN)}var _N=PN,yc=_N,$N=1,AR=Object.prototype,BR=AR.hasOwnProperty;function QR(A,B,Q,I,g,e){var w=Q&$N,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:BR.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],D=B[F];if(I)var N=w?I(D,Y,F,B,A,e):I(Y,D,F,A,B,e);if(!(N===void 0?Y===D||g(Y,D,Q,I,e):N)){C=!1;break}a||(a=F=="constructor")}if(C&&!a){var h=A.constructor,n=B.constructor;h!=n&&"constructor"in A&&"constructor"in B&&!(typeof h=="function"&&h instanceof h&&typeof n=="function"&&n instanceof n)&&(C=!1)}return e.delete(A),e.delete(B),C}var ER=QR,IR=tQ,gR=tB,eR=IR(gR,"DataView"),wR=eR,MR=tQ,cR=tB,iR=MR(cR,"Promise"),tR=iR,rR=tQ,FR=tB,sR=rR(FR,"Set"),UR=sR,oR=tQ,YR=tB,CR=oR(YR,"WeakMap"),aR=CR,Pg=wR,_g=Kg,$g=tR,Ae=UR,Be=aR,Hc=rB,TQ=Ac,lc="[object Map]",hR="[object Object]",Sc="[object Promise]",zc="[object Set]",jc="[object WeakMap]",xc="[object DataView]",nR=TQ(Pg),NR=TQ(_g),RR=TQ($g),DR=TQ(Ae),GR=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==hR?A.constructor:void 0,I=Q?TQ(Q):"";if(I)switch(I){case nR:return xc;case NR:return lc;case RR:return Sc;case DR:return zc;case GR:return jc}return B});var VR=rQ,Qe=Og,yR=Yc,HR=hn,lR=ER,Jc=VR,dc=vA,Tc=dQ,SR=Lg,zR=1,kc="[object Arguments]",mc="[object Array]",sI="[object Object]",jR=Object.prototype,uc=jR.hasOwnProperty;function xR(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||SR(A)?yR(A,B,Q,I,g,e):HR(A,B,c,Q,I,g,e);if(!(Q&zR)){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),lR(A,B,Q,I,g,e)):!1}var JR=xR,dR=JR,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:dR(A,B,Q,I,fc,g)}var Wc=fc,TR=Og,kR=Wc,mR=1,uR=2;function KR(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 TR;if(I)var F=I(i,t,c,A,B,r);if(!(F===void 0?kR(t,i,mR|uR,I,r):F))return!1}}return!0}var fR=KR,WR=NB;function pR(A){return A===A&&!WR(A)}var pc=pR,qR=pc,ZR=vg;function OR(A){for(var B=ZR(A),Q=B.length;Q--;){var I=B[Q],g=A[I];B[Q]=[I,g,qR(g)]}return B}var bR=OR;function LR(A,B){return function(Q){return Q==null?!1:Q[A]===B&&(B!==void 0||A in Object(Q))}}var qc=LR,XR=fR,vR=bR,PR=qc;function _R(A){var B=vR(A);return B.length==1&&B[0][2]?PR(B[0][0],B[0][1]):function(Q){return Q===A||XR(Q,A,B)}}var $R=_R,AD=Mc,BD=rI;function QD(A,B){B=AD(B,A);for(var Q=0,I=B.length;A!=null&&Q<I;)A=A[BD(B[Q++])];return Q&&Q==I?A:void 0}var Zc=QD,ED=Zc;function ID(A,B,Q){var I=A==null?void 0:ED(A,B);return I===void 0?Q:I}var FQ=ID;function gD(A,B){return A!=null&&B in Object(A)}var eD=gD,wD=eD,MD=tc;function cD(A,B){return A!=null&&MD(A,B,wD)}var iD=cD,tD=Wc,rD=FQ,FD=iD,sD=mg,UD=pc,oD=qc,YD=rI,CD=1,aD=2;function hD(A,B){return sD(A)&&UD(B)?oD(YD(A),B):function(Q){var I=rD(Q,A);return I===void 0&&I===B?FD(Q,A):tD(B,I,CD|aD)}}var nD=hD;function ND(A){return A}var Ee=ND;function RD(A){return function(B){return B?.[A]}}var DD=RD,GD=Zc;function VD(A){return function(B){return GD(B,A)}}var yD=VD,HD=DD,lD=yD,SD=mg,zD=rI;function jD(A){return SD(A)?HD(zD(A)):lD(A)}var xD=jD,JD=$R,dD=nD,TD=Ee,kD=vA,mD=xD;function uD(A){return typeof A=="function"?A:A==null?TD:typeof A=="object"?kD(A)?dD(A[0],A[1]):JD(A):mD(A)}var Oc=uD;function KD(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 fD=KD,WD=fD,pD=WD(),bc=pD,qD=bc,ZD=vg;function OD(A,B){return A&&qD(A,B,ZD)}var Lc=OD,bD=nE;function LD(A,B){return function(Q,I){if(Q==null)return Q;if(!bD(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 XD=LD,vD=Lc,PD=XD,_D=PD(vD),$D=_D,AG=$D;function BG(A,B){var Q;return AG(A,function(I,g,e){return Q=B(I,g,e),!Q}),!!Q}var QG=BG,EG=zQ,IG=nE,gG=qg,eG=NB;function wG(A,B,Q){if(!eG(Q))return!1;var I=typeof B;return(I=="number"?IG(Q)&&gG(B,Q.length):I=="string"&&B in Q)?EG(Q[B],A):!1}var Ie=wG,MG=oc,cG=Oc,iG=QG,tG=vA,rG=Ie;function FG(A,B,Q){var I=tG(A)?MG:iG;return Q&&rG(A,B,Q)&&(B=void 0),I(A,cG(B))}var sG=FG,UG=rB,oG=PA,YG="[object Boolean]";function CG(A){return A===!0||A===!1||oG(A)&&UG(A)==YG}var aG=CG,hG=rB,nG=PA,NG="[object Number]";function RG(A){return typeof A=="number"||nG(A)&&hG(A)==NG}var _A=RG,DG=tQ,GG=(function(){try{var A=DG(Object,"defineProperty");return A({},"",{}),A}catch{}})(),Xc=GG,vc=Xc;function VG(A,B,Q){B=="__proto__"&&vc?vc(A,B,{configurable:!0,enumerable:!0,value:Q,writable:!0}):A[B]=Q}var UI=VG,yG=UI,HG=zQ,lG=Object.prototype,SG=lG.hasOwnProperty;function zG(A,B,Q){var I=A[B];(!(SG.call(A,B)&&HG(I,Q))||Q===void 0&&!(B in A))&&yG(A,B,Q)}var jG=zG,xG=UI,JG=Lc,dG=Oc;function TG(A,B){var Q={};return B=dG(B),JG(A,function(I,g,e){xG(Q,g,B(I,g,e))}),Q}var kG=TG;function mG(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=mG,uG=Pc,_c=Math.max;function KG(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),uG(A,this,M)}}var fG=KG;function WG(A){return function(){return A}}var pG=WG,qG=pG,$c=Xc,ZG=Ee,OG=$c?function(A,B){return $c(A,"toString",{configurable:!0,enumerable:!1,value:qG(B),writable:!0})}:ZG,bG=OG,LG=800,XG=16,vG=Date.now;function PG(A){var B=0,Q=0;return function(){var I=vG(),g=XG-(I-Q);if(Q=I,g>0){if(++B>=LG)return arguments[0]}else B=0;return A.apply(void 0,arguments)}}var _G=PG,$G=bG,AV=_G,BV=AV($G),QV=BV,EV=Ee,IV=fG,gV=QV;function eV(A,B){return gV(IV(A,B,EV),A+"")}var ge=eV;function wV(A){var B=[];if(A!=null)for(var Q in Object(A))B.push(Q);return B}var MV=wV,cV=NB,iV=Xg,tV=MV,rV=Object.prototype,FV=rV.hasOwnProperty;function sV(A){if(!cV(A))return tV(A);var B=iV(A),Q=[];for(var I in A)I=="constructor"&&(B||!FV.call(A,I))||Q.push(I);return Q}var UV=sV,oV=Gc,YV=UV,CV=nE;function aV(A){return CV(A)?oV(A,!0):YV(A)}var ee=aV,hV=ge,nV=zQ,NV=Ie,RV=ee,Ai=Object.prototype,DV=Ai.hasOwnProperty,GV=hV(function(A,B){A=Object(A);var Q=-1,I=B.length,g=I>2?B[2]:void 0;for(g&&NV(B[0],B[1],g)&&(I=1);++Q<I;)for(var e=B[Q],w=RV(e),M=-1,c=w.length;++M<c;){var i=w[M],t=A[i];(t===void 0||nV(t,Ai[i])&&!DV.call(A,i))&&(A[i]=e[i])}return A}),Bi=GV,VV=UI,yV=zQ;function HV(A,B,Q){(Q!==void 0&&!yV(A[B],Q)||Q===void 0&&!(B in A))&&VV(A,B,Q)}var Qi=HV,oI={},lV={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})(lV,oI);var Ei=Cc;function SV(A){var B=new A.constructor(A.byteLength);return new Ei(B).set(new Ei(A)),B}var zV=SV,jV=zV;function xV(A,B){var Q=B?jV(A.buffer):A.buffer;return new A.constructor(Q,A.byteOffset,A.length)}var JV=xV;function dV(A,B){var Q=-1,I=A.length;for(B||(B=Array(I));++Q<I;)B[Q]=A[Q];return B}var TV=dV,kV=NB,Ii=Object.create,mV=(function(){function A(){}return function(B){if(!kV(B))return{};if(Ii)return Ii(B);A.prototype=B;var Q=new A;return A.prototype=void 0,Q}})(),uV=mV,KV=Vc,fV=KV(Object.getPrototypeOf,Object),gi=fV,WV=uV,pV=gi,qV=Xg;function ZV(A){return typeof A.constructor=="function"&&!qV(A)?WV(pV(A)):{}}var OV=ZV,bV=nE,LV=PA;function XV(A){return LV(A)&&bV(A)}var vV=XV,PV=rB,_V=gi,$V=PA,Ay="[object Object]",By=Function.prototype,Qy=Object.prototype,ei=By.toString,Ey=Qy.hasOwnProperty,Iy=ei.call(Object);function gy(A){if(!$V(A)||PV(A)!=Ay)return!1;var B=_V(A);if(B===null)return!0;var Q=Ey.call(B,"constructor")&&B.constructor;return typeof Q=="function"&&Q instanceof Q&&ei.call(Q)==Iy}var ey=gy;function wy(A,B){if(!(B==="constructor"&&typeof A[B]=="function")&&B!="__proto__")return A[B]}var wi=wy,My=jG,cy=UI;function iy(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?cy(Q,M,c):My(Q,M,c)}return Q}var ty=iy,ry=ty,Fy=ee;function sy(A){return ry(A,Fy(A))}var Uy=sy,Mi=Qi,oy=oI,Yy=JV,Cy=TV,ay=OV,ci=pg,ii=vA,hy=vV,ny=dQ,Ny=iQ,Ry=NB,Dy=ey,Gy=Lg,ti=wi,Vy=Uy;function yy(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&&Gy(c);t=c,F||s||o?ii(M)?t=M:hy(M)?t=Cy(M):s?(r=!1,t=oy(c,!0)):o?(r=!1,t=Yy(c,!0)):t=[]:Dy(c)||ci(c)?(t=M,ci(M)?t=Vy(M):(!Ry(M)||Ny(M))&&(t=ay(c))):r=!1}r&&(w.set(c,t),g(t,c,I,e,w),w.delete(c)),Mi(A,Q,t)}var Hy=yy,ly=Og,Sy=Qi,zy=bc,jy=Hy,xy=NB,Jy=ee,dy=wi;function ri(A,B,Q,I,g){A!==B&&zy(B,function(e,w){if(g||(g=new ly),xy(e))jy(A,B,w,Q,ri,I,g);else{var M=I?I(dy(A,w),e,w+"",A,B,g):void 0;M===void 0&&(M=e),Sy(A,w,M)}},Jy)}var Fi=ri,Ty=Fi,si=NB;function Ui(A,B,Q,I,g,e){return si(A)&&si(B)&&(e.set(B,A),Ty(A,B,void 0,Ui,e),e.delete(B)),A}var ky=Ui,my=ge,uy=Ie;function Ky(A){return my(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&&uy(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 fy=Ky,Wy=Fi,py=fy,qy=py(function(A,B,Q,I){Wy(A,B,Q,I)}),Zy=qy,Oy=Pc,by=ge,Ly=ky,Xy=Zy,vy=by(function(A){return A.push(void 0,Ly),Oy(Xy,void 0,A)}),NE=vy;function Py(A){return A&&A.length?A[0]:void 0}var oi=Py;function _y(A){var B=A==null?0:A.length;return B?A[B-1]:void 0}var kQ=_y;const $y=A=>Object.prototype.toString.call(A).slice(8,-1),mQ=A=>Ih(A)&&!isNaN(A.getTime()),RB=A=>$y(A)==="Object",Yi=rc,Ci=(A,B)=>sG(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 AH(A,B,Q){return Math.min(Math.max(A,B),Q)}var hI={},BH={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})(BH,hI);const QH=bM(hI);var nI={},EH={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})(EH,nI);const ni=bM(nI);function IH(A,B){var Q=MH(B);return Q.formatToParts?eH(Q,A):wH(Q,A)}var gH={year:0,month:1,day:2,hour:3,minute:4,second:5};function eH(A,B){try{for(var Q=A.formatToParts(B),I=[],g=0;g<Q.length;g++){var e=gH[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 wH(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 MH(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,cH=6e4,Me={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function iH(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*cH,e>0?-g:g):NaN}if(FH(A)){B=new Date(B||Date.now());var M=tH(B),c=ce(M,A),i=rH(B,c,A);return-i}return NaN}function tH(A){return Ni(A.getFullYear(),A.getMonth(),A.getDate(),A.getHours(),A.getMinutes(),A.getSeconds(),A.getMilliseconds())}function ce(A,B){var Q=IH(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 rH(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 FH(A){if(Gi[A])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:A}),Gi[A]=!0,!0}catch{return!1}}var sH=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;const UH=sH;var ie=36e5,Vi=6e4,oH=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:UH};function YH(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?oH:QH(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=CH(A),e=aH(g.date,I),w=e.year,M=e.restDateString,c=hH(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=iH(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 CH(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 aH(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 hH(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 DH(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 NH=[31,28,31,30,31,30,31,31,30,31,30,31],RH=[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>RH[B]||!I&&Q>NH[B])return!1}return!0}function DH(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 GH={};function re(){return GH}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 VH=6048e5;function yH(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)/VH)}function HH(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 lH(A){NA(1,arguments);var B=GB(A);return B.setDate(1),B.setHours(0,0,0,0),B}function SH(A,B){return NA(1,arguments),yH(HH(A),lH(A),B)+1}function zH(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 jH(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=zH(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 xH=6048e5;function JH(A,B){NA(1,arguments);var Q=GB(A),I=sQ(Q,B).getTime()-jH(Q,B).getTime();return Math.round(I/xH)+1}function RI(A){return NA(1,arguments),sQ(A,{weekStartsOn:1})}function dH(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 TH(A){NA(1,arguments);var B=dH(A),Q=new Date(0);Q.setFullYear(B,0,4),Q.setHours(0,0,0,0);var I=RI(Q);return I}var kH=6048e5;function mH(A){NA(1,arguments);var B=GB(A),Q=RI(B).getTime()-TH(B).getTime();return Math.round(Q/kH)+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 uH={daily:["year","month","day"],weekly:["year","month","week"],monthly:["year","month"]};function KH({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,D=B.numDays-Y+1,N=Math.floor((Y-1)/RA+1),h=1,n=B.numWeeks,J=1,S=B.month,T=B.year;const u=new Date,V=u.getDate(),z=u.getMonth()+1,l=u.getFullYear();for(let k=1;k<=sl;k++){for(let q=1,m=e;q<=RA;q++,m+=m===RA?1-RA:1){F&&m===w&&(Y=1,D=A.numDays,N=Math.floor((Y-1)/RA+1),h=Math.floor((i-Y)/RA+1),n=1,J=t,S=A.month,T=A.year,F=!1,s=!0);const Z=I.getDateFromParams(T,S,Y,0,0,0,0),L=I.getDateFromParams(T,S,Y,12,0,0,0),IA=I.getDateFromParams(T,S,Y,23,59,59,999),$=Z,H=`${wA(T,4)}-${wA(S,2)}-${wA(Y,2)}`,AA=q,W=RA-q,oA=c[k-1],gA=M[k-1],YA=Y===V&&S===z&&T===l,hA=s&&Y===1,CA=s&&Y===i,nA=k===1,JA=k===t,TB=q===1,EB=q===RA,ZA=vi(T,S,Y);g.push({locale:I,id:H,position:++C,label:Y.toString(),ariaLabel:a.format(new Date(T,S-1,Y)),day:Y,dayFromEnd:D,weekday:m,weekdayPosition:AA,weekdayPositionFromEnd:W,weekdayOrdinal:N,weekdayOrdinalFromEnd:h,week:n,weekFromEnd:J,weekPosition:k,weeknumber:oA,isoWeeknumber:gA,month:S,year:T,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-${H}`,`day-${Y}`,`day-from-end-${D}`,`weekday-${m}`,`weekday-position-${AA}`,`weekday-ordinal-${N}`,`weekday-ordinal-from-end-${h}`,`week-${n}`,`week-from-end-${J}`,{"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,D=i,N=1,h=Math.floor((i-Y)/RA+1),n=1,J=Q.numWeeks,S=Q.month,T=Q.year):(Y++,D--,N=Math.floor((Y-1)/RA+1),h=Math.floor((i-Y)/RA+1))}n++,J--}return g}function fH(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 WH(A,B){return A.days.map(Q=>({label:B.formatDate(Q.date,B.masks.weekdays),weekday:Q.weekday}))}function pH(A,B){return`${B}.${wA(A,2)}`}function xi(A,B,Q){return hi(Q.getDateParts(Q.toDate(A)),uH[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 qH(A,B,Q){return(A||!1)&&!Fe(A,B)&&!GI(A,Q)}function ZH(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 OH(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 bH(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=KH({monthComps:M,prevMonthComps:c,nextMonthComps:i},B),r=fH(t,g,e,B),F=WH(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 LH(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 XH{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 vH=Object.entries(VB).reduce((A,[B,{dow:Q,L:I}])=>(A[B]={id:B,firstDayOfWeek:Q,masks:{L:I}},A),{}),PH={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:vH,datePicker:{updateOnInput:!0,inputDebounce:1e3,popover:{visibility:"hover-focus",placement:"bottom-start",isInteractive:!0}}},se=E.reactive(PH),_H=E.computed(()=>kG(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),$H=12,Al=5;function Bl(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:$H,pageCacheSize:Al};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}=Bl(B,_H.value);this.monthCache=new Ti(w,Rl,Dl),this.pageCache=new Ti(M,di,bH),this.id=I,this.daysInWeek=RA,this.firstDayOfWeek=AH(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=yl(this.id)}formatDate(B,Q){return jl(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,Fl[M])}))}c&&(i=zl(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 Nl(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 LH(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 Vl().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 Ql{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 hl(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 El(Q);case"weekdays":return new Il(Q);case"weeks":return new gl(Q);case"months":return new el(Q);case"years":return new wl(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 El extends WQ{constructor(B){super("days",B,il,({day:Q,dayFromEnd:I})=>[Q,-I])}}class Il extends WQ{constructor(B){super("weekdays",B,Ue,({weekday:Q})=>[Q])}}class gl extends WQ{constructor(B){super("weeks",B,tl,({week:Q,weekFromEnd:I})=>[Q,-I])}}class el extends WQ{constructor(B){super("months",B,rl,({month:Q})=>[Q])}}class wl extends WQ{constructor(B){super("years",B,_A,({year:Q})=>[Q])}}class Ml{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 cl{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 cl(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 Ql(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 Ml(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 il(A){return _A(A)?A>=1&&A<=31:!1}function Ue(A){return _A(A)?A>=1&&A<=7:!1}function tl(A){return _A(A)?A>=-6&&A<=-1||A>=1&&A<=6:!1}function rl(A){return _A(A)?A>=1&&A<=12:!1}function Ki(A){return!(!_A(A)||A<-5||A>5||A===0)}const Fl={dateTime:["year","month","day","hours","minutes","seconds","milliseconds"],date:["year","month","day"],time:["hours","minutes","seconds","milliseconds"]},RA=7,sl=6,fi=1e3,Wi=fi*60,pi=Wi*60,HI=pi*24,Ul=[31,28,31,30,31,30,31,31,30,31,30,31],ol=["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,Yl=/\[([^]*?)\]/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?/,Cl=/\d{3}/,al=/\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:[al,(A,B)=>{A.year=B}],S:[/\d/,(A,B)=>{A.milliseconds=B*100}],SS:[/\d{2}/,(A,B)=>{A.milliseconds=B*10}],SSS:[Cl,(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=>ol.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 hl(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 YH(t,{timeZone:B})}return new Date(I,g-1,e,w,M,c,i)}function Nl(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,D=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:D,month:c,year:i,date:Q,dateTime:Q.getTime(),dayIndex:N,timezoneOffset:0,isValid:!0}}function Rl(A,B,Q){return`${B}-${A}-${Q}`}function Dl(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:Ul[A-1],M=Q-1,c=SH(g,{weekStartsOn:M}),i=[],t=[];for(let r=0;r<c;r++){const F=VA(g,r*7);i.push(JH(F,{weekStartsOn:M})),t.push(mH(F))}return{firstDayOfWeek:Q,firstDayOfMonth:g,inLeapYear:I,firstWeekday:e,numDays:w,numWeeks:c,month:A,year:B,weeknumbers:i,isoWeeknumbers:t}}function Gl(){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 Gl().map(I=>Q.format(I))}function Vl(){const A=[];for(let B=0;B<=24;B++)A.push(new Date(2e3,0,1,B));return A}function yl(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 Hl(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||Hl(M,Q,A))&&I.push({value:M,label:wA(M,w)});return I}function ll(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 Sl(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 zl(A,B){const Q={...A};return Object.entries(B).forEach(([I,g])=>{const e=RE[I],w=A[I];Q[I]=Sl(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 jl(A,B,Q){if(A==null)return"";let I=Li(B,Q)[0];/Z$/.test(I)&&(Q.timezone="utc");const g=[];I=I.replace(Yl,(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 xl=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=++xl),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)}},Jl=(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={},dl=(A,B=10)=>{lI[A]=Date.now()+B},Tl=(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 kl(A){return Mt()&&A in window}function ml(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(){kl("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 ul=["base","start","end","startEnd"],Kl=["class","wrapperClass","contentClass","style","contentStyle","color","fillMode"],fl={base:{},start:{},end:{}};function he(A,B,Q=fl){let I=A,g={};B===!0||FB(B)?(I=FB(B)?B:I,g={...Q}):RB(B)&&(Ci(B,ul)?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,Kl)?e[w]={...M}:e[w]={}),NE(e[w],{color:c})}),e}class Wl{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 pl extends ne{constructor(){super("content","content")}normalizeConfig(B,Q){return he("base",Q)}}class ql extends ne{constructor(){super("dot","dots")}}class Zl extends ne{constructor(){super("bar","bars")}}class Ol{constructor(B){K(this,"color"),K(this,"renderers",[new pl,new Wl,new ql,new Zl]),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}=ml(Q),g=E.computed(()=>new Ol(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 bl(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 Ll={...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},Xl=["dayclick","daymouseenter","daymouseleave","dayfocusin","dayfocusout","daykeydown","weeknumberclick","transition-start","transition-end","did-move","update:view","update:pages"],Ut=Symbol("__vc_calendar_context__");function vl(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:D,minDate:N,maxDate:h,disabledAttribute:n,disabledDates:J}=bl(A),S=E.computed(()=>A.rows*A.columns),T=E.computed(()=>A.step||S.value),u=E.computed(()=>oi(t.value)??null),V=E.computed(()=>kQ(t.value)??null),z=E.computed(()=>A.minPage||(N.value?W(N.value):null)),l=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")},H=()=>{w.value=!1,Q("transition-end"),F&&(F.resolve(!0),F=null)},AA=(G,U,R=i.value)=>Ji(G,U,R,Y.value),W=G=>xi(G,i.value,Y.value),oA=G=>{!n.value||!JA.value||(G.isDisabled=JA.value.cellExists(n.value.key,G.dayIndex))},gA=G=>{G.isFocusable=G.inMonth&&G.day===e.value},YA=(G,U)=>{for(const R of G)for(const x of R.days)if(U(x)===!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,R)=>{!U||!U.dates||G.push(new Qt({...U,order:U.order||0},o.value,Y.value))}),n.value&&G.push(n.value),G}),nA=E.computed(()=>DB(CA.value)),JA=E.computed(()=>{const G=new XH;return CA.value.forEach(U=>{U.ranges.forEach(R=>{G.render(U,R,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 R=A.showWeeknumbers||A.showIsoWeeknumbers;return R==null?"":aG(R)?R?"left":"":R.startsWith("right")?U>1?"right":R:G>1?"left":R},ZA=()=>{var G,U;if(!nA.value)return null;const R=CA.value.find(sA=>sA.pinPage)||CA.value[0];if(!R||!R.hasRanges)return null;const[x]=R.ranges,O=((G=x.start)==null?void 0:G.date)||((U=x.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:R=i.value,position:x=1,force:O}=U,sA=x>0?1-x:-(S.value+x);let yA=AA(G,sA,R),dA=AA(yA,S.value-1,R);return O||(Fe(yA,z.value)?yA=z.value:GI(dA,l.value)&&(yA=AA(l.value,1-S.value)),dA=AA(yA,S.value-1)),{fromPage:yA,toPage:dA}},$Q=(G,U,R="")=>{if(R==="none"||R==="fade")return R;if(G?.view!==U?.view)return"fade";const x=GI(U,G),O=Fe(U,G);return!x&&!O?"fade":R==="slide-v"?O?"slide-down":"slide-up":O?"slide-right":"slide-left"},aB=(G={})=>new Promise((U,R)=>{const{position:x=1,force:O=!1,transition:sA}=G,yA=sB(G.page)?G.page:OA(),{fromPage:dA}=_B(yA,{position:x,force:O}),BE=[];for(let QE=0;QE<S.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,uJ=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:uJ}))}r.value=$Q(t.value[0],BE[0],sA),t.value=BE,r.value&&r.value!=="none"?F={resolve:U,reject:R}:U(!0)}),hQ=G=>{const U=u.value??W(new Date);return AA(U,G)},nQ=(G,U={})=>{const R=sB(G)?G:W(G);return Object.assign(U,_B(R,{...U,force:!0})),OH(U.fromPage,U.toPage,i.value,Y.value).map(O=>qH(O,z.value,l.value)).some(O=>O)},NQ=(G,U={})=>nQ(hQ(G),U),IB=E.computed(()=>NQ(-T.value)),$B=E.computed(()=>NQ(T.value)),AQ=async(G,U={})=>!U.force&&!nQ(G,U)?!1:(U.fromPage&&!ZH(U.fromPage,u.value)&&(VE({id:M.value,hideDelay:0}),U.view&&(dl("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(-T.value),EQ=()=>BQ(T.value),IQ=G=>{const U=Z.value?".in-month":"",R=`.id-${Y.value.getDayId(G)}${U}`,x=`${R}.vc-focusable, ${R} .vc-focusable`,O=I.value;if(O){const sA=O.querySelector(x);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 R=G.noonDate;let x=null;switch(U.key){case"ArrowLeft":{x=VA(R,-1);break}case"ArrowRight":{x=VA(R,1);break}case"ArrowUp":{x=VA(R,-7);break}case"ArrowDown":{x=VA(R,7);break}case"Home":{x=VA(R,-G.weekdayPosition+1);break}case"End":{x=VA(R,G.weekdayPositionFromEnd);break}case"PageUp":{U.altKey?x=ji(R,-1):x=DI(R,-1);break}case"PageDown":{U.altKey?x=ji(R,1):x=DI(R,1);break}}x&&(U.preventDefault(),RQ(x).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=Jl(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(()=>S.value,()=>aB()),E.watch(()=>A.view,()=>i.value=A.view),E.watch(()=>i.value,()=>{Tl("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:D,attributes:CA,disabledAttribute:n,disabledDates:J,attributeContext:JA,days:hA,dayCells:TB,count:S,step:T,firstPage:u,lastPage:V,canMovePrev:IB,canMoveNext:$B,minPage:z,maxPage:l,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:H,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 Pl=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(H){H&&(w.direction=H.split("-")[0])}function c({placement:H,options:AA}){M(H||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 H=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)?H?"top":"left":["end","bottom","right"].includes(AA)?H?"bottom":"right":H?"middle":"center"});function r(){e&&(e.destroy(),e=null)}function F(){E.nextTick(()=>{const H=YI(w.target);!H||!I.value||(e&&e.state.elements.reference!==H&&r(),e?e.update():e=Mo(H,I.value,i.value))})}function s(H){Object.assign(w,ai(H,"force"))}function o(H,AA){clearTimeout(Q),H>0?Q=setTimeout(AA,H):AA()}function C(H){return!H||!e?!1:YI(H)===e.state.elements.reference}async function a(H={}){w.force||(H.force&&(w.force=!0),o(H.showDelay??A.showDelay,()=>{w.isVisible&&(w.force=!1),s({...H,isVisible:!0}),F()}))}function Y(H={}){e&&(H.target&&!C(H.target)||w.force||(H.force&&(w.force=!0),o(H.hideDelay??A.hideDelay,()=>{w.isVisible||(w.force=!1),w.isVisible=!1})))}function D(H={}){H.target!=null&&(w.isVisible&&C(H.target)?Y(H):a(H))}function N(H){if(!e)return;const AA=e.state.elements.reference;if(!I.value||!AA)return;const W=H.target;CI(I.value,W)||CI(AA,W)||Y({force:!0})}function h(H){(H.key==="Esc"||H.key==="Escape")&&Y()}function n({detail:H}){!H.id||H.id!==A.id||a(H)}function J({detail:H}){!H.id||H.id!==A.id||Y(H)}function S({detail:H}){!H.id||H.id!==A.id||D(H)}function T(){ZB(document,"keydown",h),ZB(document,"click",N),ZB(document,"show-popover",n),ZB(document,"hide-popover",J),ZB(document,"toggle-popover",S)}function u(){qB(document,"keydown",h),qB(document,"click",N),qB(document,"show-popover",n),qB(document,"hide-popover",J),qB(document,"toggle-popover",S)}function V(H){B("before-show",H)}function z(H){w.force=!1,B("after-show",H)}function l(H){B("before-hide",H)}function k(H){w.force=!1,r(),B("after-hide",H)}function q(H){H.stopPropagation()}function m(){w.isHovered=!0,w.isInteractive&&["hover","hover-focus"].includes(w.visibility)&&a()}function Z(){if(w.isHovered=!1,!e)return;const H=e.state.elements.reference;w.autoHide&&!w.isFocused&&(!H||H!==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(H){["focus","hover-focus"].includes(w.visibility)&&(!H.relatedTarget||!CI(I.value,H.relatedTarget))&&(w.isFocused=!1,!w.isHovered&&w.autoHide&&Y())}function $(){g!=null&&(g.disconnect(),g=null)}return E.watch(()=>I.value,H=>{$(),H&&(g=new ResizeObserver(()=>{e&&e.update()}),g.observe(H))}),E.watch(()=>w.placement,M,{immediate:!0}),E.onMounted(()=>{T()}),E.onUnmounted(()=>{r(),$(),u()}),{...E.toRefs(w),popoverRef:I,alignment:t,hide:Y,setupPopper:F,beforeEnter:V,afterEnter:z,beforeLeave:l,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(Pl,[["render",_l]]),$l={class:"vc-day-popover-row"},AS={key:0,class:"vc-day-popover-row-indicator"},BS={class:"vc-day-popover-row-label"},QS=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",$l,[E.unref(Q)?(E.openBlock(),E.createElementBlock("div",AS,[E.createElementVNode("span",{class:E.normalizeClass(E.unref(Q).class)},null,2)])):E.createCommentVNode("",!0),E.createElementVNode("div",BS,[E.renderSlot(I.$slots,"default",{},()=>[E.createTextVNode(E.toDisplayString(A.attribute.popover?A.attribute.popover.label:"No content provided"),1)])])]))}}),ES={inheritAttrs:!1},fA=E.defineComponent({...ES,__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})}}),IS={class:"vc-day-popover-container"},gS={key:0,class:"vc-day-popover-header"},eS=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",IS,[E.unref(g).dayPopover?(E.openBlock(),E.createElementBlock("div",gS,E.toDisplayString(M(t)),1)):E.createCommentVNode("",!0),(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(r,s=>(E.openBlock(),E.createBlock(QS,{key:s.key,attribute:s},null,8,["attribute"]))),128))])]),_:2},1032,["day","day-title","attributes","masks","hide"])]),_:1},8,["id","class"]))}}),wS={},MS={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},cS=[E.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)];function iS(A,B){return E.openBlock(),E.createElementBlock("svg",MS,cS)}const tS=LB(wS,[["render",iS]]),rS={},FS={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},sS=[E.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)];function US(A,B){return E.openBlock(),E.createElementBlock("svg",FS,sS)}const oS=LB(rS,[["render",US]]),YS={},CS={"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},aS=[E.createElementVNode("polyline",{points:"6 9 12 15 18 9"},null,-1)];function hS(A,B){return E.openBlock(),E.createElementBlock("svg",CS,aS)}const nS=LB(YS,[["render",hS]]),NS={},RS={fill:"none","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24"},DS=[E.createElementVNode("path",{d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1)];function GS(A,B){return E.openBlock(),E.createElementBlock("svg",RS,DS)}const VS=Object.freeze(Object.defineProperty({__proto__:null,IconChevronDown:nS,IconChevronLeft:oS,IconChevronRight:tS,IconClock:LB(NS,[["render",GS]])},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(()=>VS[`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"]))}}),yS=["disabled"],HS={key:1,class:"vc-title-wrapper"},lS={type:"button",class:"vc-title"},SS=["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,yS)):E.createCommentVNode("",!0),E.unref(s).title?(E.openBlock(),E.createElementBlock("div",HS,[E.createVNode(fA,{name:"header-title-wrapper"},{default:E.withCtx(()=>[E.withDirectives((E.openBlock(),E.createElementBlock("button",lS,[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,SS)):E.createCommentVNode("",!0)],6))}}),Yt=Symbol("__vc_page_context__");function zS(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:pH(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 jS={class:"vc-nav-header"},xS=["disabled"],JS=["disabled"],dS={class:"vc-nav-items"},TS=["data-id","aria-label","disabled","onClick","onKeydown"],kS=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&&D(),h())}function Y(){IA.value&&(w.value&&N(),n())}function D(){c.value--}function N(){c.value++}function h(){i.value--}function n(){i.value++}const J=E.computed(()=>g(c.value,B.value.navMonths).map(W=>({...W,click:()=>Q({month:W.month,year:W.year},{position:I.value.position})}))),S=E.computed(()=>g(c.value-1,B.value.navMonths)),T=E.computed(()=>S.value.some(W=>!W.isDisabled)),u=E.computed(()=>g(c.value+1,B.value.navMonths)),V=E.computed(()=>u.value.some(W=>!W.isDisabled)),z=E.computed(()=>e(o(i.value),C(i.value)).map(W=>({...W,click:()=>{c.value=W.year,w.value=!0,r()}}))),l=E.computed(()=>e(o(i.value-1),C(i.value-1))),k=E.computed(()=>l.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?J.value:z.value),L=E.computed(()=>w.value?T.value:k.value),IA=E.computed(()=>w.value?V.value:m.value),$=E.computed(()=>oi(z.value.map(W=>W.year))),H=E.computed(()=>kQ(z.value.map(W=>W.year))),AA=E.computed(()=>w.value?c.value:`${$.value} - ${H.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",jS,[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,xS),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,JS)]),E.createElementVNode("div",dS,[(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,TS))),128))])],512))}}),at=E.defineComponent({__name:"CalendarPageProvider",props:{page:null},setup(A){const B=A;return zS(E.toRef(B,"page")),(Q,I)=>E.renderSlot(Q.$slots,"default")}}),mS=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(kS)]),_:1})]),_:2},1032,["page"])]),_:1},8,["id","class"]))}}),uS=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 H=Bi({key:L,customData:IA,attribute:m},{...$},{visibility:$.label?"hover":"click",placement:"bottom",isInteractive:!$.label});Z.splice(0,0,H)}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),D=E.computed(()=>!!DB(Y.value)),N=E.computed(()=>a.value.content),h=E.computed(()=>a.value.dots),n=E.computed(()=>!!DB(h.value)),J=E.computed(()=>a.value.bars),S=E.computed(()=>!!DB(J.value)),T=E.computed(()=>a.value.popovers),u=E.computed(()=>T.value.map(m=>m.attribute)),V=st("day-content"),z=E.computed(()=>["vc-day",...r.value.classes,{"vc-day-box-center-center":!V},{"is-not-in-month":!A.day.inMonth}]),l=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(T.value)?Bi({id:g.value,data:{day:r,attributes:u.value}},...T.value):null);return{attributes:s,attributeCells:F,bars:J,dayClasses:z,dayContentProps:l,dayContentEvents:k,dayPopover:q,glyphs:a,dots:h,hasDots:n,hasBars:S,highlights:Y,hasHighlights:D,locale:B,popovers:T}}}),KS={key:0,class:"vc-highlights vc-day-layer"},fS={key:1,class:"vc-day-layer vc-day-box-center-bottom"},WS={class:"vc-dots"},pS={key:2,class:"vc-day-layer vc-day-box-center-bottom"},qS={class:"vc-bars"};function ZS(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",KS,[(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",fS,[E.createElementVNode("div",WS,[(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",pS,[E.createElementVNode("div",qS,[(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 OS=LB(uS,[["render",ZS]]),bS={class:"vc-weekdays"},LS=["onClick"],XS={inheritAttrs:!1},vS=E.defineComponent({...XS,__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",bS,[(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,LS)],2)):E.createCommentVNode("",!0),(E.openBlock(!0),E.createElementBlock(E.Fragment,null,E.renderList(e.days,w=>(E.openBlock(),E.createBlock(OS,{key:w.id,day:w},null,8,["day"]))),128))]))),128))],2)],2))}}),PS=E.defineComponent({components:{CalendarHeader:ot,CalendarPage:vS,CalendarNavPopover:mS,CalendarDayPopover:eS,CalendarPageProvider:at,CalendarSlot:fA},props:Ll,emit:Xl,setup(A,{emit:B,slots:Q}){return vl(A,{emit:B,slots:Q})}}),_S={class:"vc-pane-header-wrapper"};function $S(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 Az=LB(PS,[["render",$S]]),ht=Symbol("__vc_date_picker_context__"),Bz={...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]},Qz=["update:modelValue","drag","dayclick","daykeydown","popover-will-show","popover-did-show","popover-will-hide","popover-did-hide"];function Ez(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),D=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"),n=E.computed(()=>A.mode.toLowerCase()==="datetime"),J=E.computed(()=>A.mode.toLowerCase()==="time"),S=E.computed(()=>!!t.value),T=E.computed(()=>{let U="date";A.modelModifiers.number&&(U="number"),A.modelModifiers.string&&(U="string");const R=e.value.modelValue||"iso";return oA({type:U,mask:R})}),u=E.computed(()=>NQ(t.value??i.value)),V=E.computed(()=>J.value?A.is24hr?e.value.inputTime24hr:e.value.inputTime:n.value?A.is24hr?e.value.inputDateTime24hr:e.value.inputDateTime:e.value.input),z=E.computed(()=>/[Hh]/g.test(V.value)),l=E.computed(()=>/[dD]{1,2}|Do|W{1,4}|M{1,4}|YY(?:YY)?/g.test(V.value)),k=E.computed(()=>{if(z.value&&l.value)return"dateTime";if(l.value)return"date";if(z.value)return"time"}),q=E.computed(()=>{var U;const R=((U=F.value)==null?void 0:U.$el.previousElementSibling)??void 0;return NE({},A.popover,OB("datePicker.popover"),{target:R})}),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(R=>({input:aB(R),change:hQ(R),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:R,bar:x,highlight:O,content:sA}=U;return!R&&!x&&!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:R,bar:x,highlight:O,content:sA}=U;return!R&&!x&&!O&&!sA&&(U.highlight={startEnd:{fillMode:"outline"}}),U}),H=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]},R=h.value?0:A.timeAccuracy;return[0,1].map(x=>{switch(R){case 0:return{hours:U.hr[x],minutes:U.min[x],seconds:U.sec[x],milliseconds:U.ms[x]};case 1:return{minutes:U.min[x],seconds:U.sec[x],milliseconds:U.ms[x]};case 3:return{milliseconds:U.ms[x]};case 4:return{};default:return{seconds:U.sec[x],milliseconds:U.ms[x]}}})}function oA(U){return KA(U)?U.length===1?[U[0],U[0]]:U:[U,U]}function gA(U){return oA(U).map((R,x)=>({...R,rules:AA.value[x]}))}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,R){if(U==null&&R==null)return!0;if(U==null||R==null)return!1;const x=mQ(U),O=mQ(R);return x&&O?U.getTime()===R.getTime():x||O?!1:nA(U.start,R.start)&&nA(U.end,R.end)}function JA(U){return!CA(U)||!w.value?!1:w.value.intersectsRange(g.value.range(U))}function TB(U,R,x,O){if(!CA(U))return null;if(hA(U)){const sA=g.value.toDate(U.start,{...R[0],fillDate:D.value??void 0,patch:x}),yA=g.value.toDate(U.end,{...R[1],fillDate:N.value??void 0,patch:x});return _I({start:sA,end:yA},O)}return g.value.toDateOrNull(U,{...R[0],fillDate:i.value,patch:x})}function EB(U,R){return hA(U)?{start:g.value.fromDate(U.start,R[0]),end:g.value.fromDate(U.end,R[1])}:Y.value?null:g.value.fromDate(U,R[0])}function ZA(U,R={}){return clearTimeout(o),new Promise(x=>{const{debounce:O=0,...sA}=R;O>0?o=window.setTimeout(()=>{x(OA(U,sA))},O):x(OA(U,sA))})}function OA(U,{config:R=T.value,patch:x="dateTime",clearIfEqual:O=!1,formatInput:sA=!0,hidePopover:yA=!1,dragging:dA=S.value,targetPriority:BE,moveToValue:QE=!1}={}){const Mw=gA(R);let zA=TB(U,Mw,x,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,T.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:V.value}),R=EB(t.value??i.value,U);Y.value?r.value=[R&&R.start,R&&R.end]:r.value=[R,""]})}function $Q(U,R,x){r.value.splice(R==="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:V.value};ZA(O,{...x,config:sA,patch:k.value,targetPriority:R,moveToValue:!0})}function aB(U){return R=>{A.updateOnInput&&$Q(R.currentTarget.value,U,{formatInput:!1,hidePopover:!1,debounce:A.inputDebounce})}}function hQ(U){return R=>{$Q(R.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 R={patch:"date",formatInput:!0,hidePopover:!0};if(Y.value){const x=!S.value;x?C={start:U.startDate,end:U.endDate}:C!=null&&(C.end=U.date),ZA(C,{...R,dragging:x})}else ZA(U.date,{...R,clearIfEqual:!A.isRequired})}function IQ(U,R){EQ(U),B("dayclick",U,R)}function RQ(U,R){switch(R.key){case" ":case"Enter":{EQ(U),R.preventDefault();break}case"Escape":uE()}B("daykeydown",U,R)}function AE(U,R){!S.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,R){const{start:x,end:O}=U;if(x>O)switch(R){case"start":return{start:x,end:x};case"end":return{start:O,end:O};default:return{start:O,end:x}}return{start:x,end:O}}async function $I(U,R={}){return s.value==null?!1:s.value.move(U,R)}async function ww(U,R={}){return s.value==null?!1:s.value.moveBy(U,R)}async function Ag(U,R={}){const x=i.value;if(s.value==null||!CA(x))return!1;const O=U!=="end",sA=O?1:-1,yA=hA(x)?O?x.start:x.end:x,dA=xi(yA,"monthly",g.value);return s.value.move(dA,{position:sA,...R})}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(()=>V.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(T.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:J,isDateTimeMode:n,is24hr:E.toRef(A,"is24hr"),hideTimeHeader:E.toRef(A,"hideTimeHeader"),timeAccuracy:E.toRef(A,"timeAccuracy"),isDragging:S,inputValue:Z,inputEvents:L,dateParts:u,attributes:H,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 Iz=[{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"}],gz=[{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 ez(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(l){l=Object.assign(s.value,l);let k=null;if(I.value){const q=F.value?l:e.value[0],m=F.value?e.value[1]:l;k={start:q,end:m}}else k=l;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 l=Q.value.toDate(s.value);return s.value.hours===24&&(l=new Date(l.getTime()-1)),l}),D=E.computed({get(){return s.value.hours},set(l){r({hours:l})}}),N=E.computed({get(){return s.value.minutes},set(l){r({minutes:l})}}),h=E.computed({get(){return s.value.seconds},set(l){r({seconds:l})}}),n=E.computed({get(){return s.value.milliseconds},set(l){r({milliseconds:l})}}),J=E.computed({get(){return s.value.hours<12},set(l){l=String(l).toLowerCase()=="true";let k=D.value;l&&k>=12?k-=12:!l&&k<12&&(k+=12),r({hours:k})}}),S=E.computed(()=>ll(s.value,w.value[A.position])),T=E.computed(()=>Iz.filter(l=>S.value.hours.some(k=>k.value===l.value))),u=E.computed(()=>gz.filter(l=>S.value.hours.some(k=>k.value===l.value))),V=E.computed(()=>M.value?S.value.hours:J.value?T.value:u.value),z=E.computed(()=>{const l=[];return DB(T.value)&&l.push({value:!0,label:"AM"}),DB(u.value)&&l.push({value:!1,label:"PM"}),l});return{...B,showHeader:a,timeAccuracy:i,parts:s,isValid:C,date:Y,hours:D,minutes:N,seconds:h,milliseconds:n,options:S,hourOptions:V,isAM:J,isAMOptions:z,is24hr:M}}const wz=["value"],Mz=["value","disabled"],cz={key:1,class:"vc-base-sizer","aria-hidden":"true"},iz={inheritAttrs:!1},yE=E.defineComponent({...iz,__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,Mz))),128))],16,wz),A.showIcon?(E.openBlock(),E.createBlock(pQ,{key:0,name:"ChevronDown",size:"18"})):E.createCommentVNode("",!0),A.fitContent?(E.openBlock(),E.createElementBlock("div",cz,E.toDisplayString(E.unref(Q)),1)):E.createCommentVNode("",!0)],2))}}),tz={key:0,class:"vc-time-header"},rz={class:"vc-time-weekday"},Fz={class:"vc-time-month"},sz={class:"vc-time-day"},Uz={class:"vc-time-year"},oz={class:"vc-time-select-group"},Yz=E.createElementVNode("span",{class:"vc-time-colon"},":",-1),Cz=E.createElementVNode("span",{class:"vc-time-colon"},":",-1),az=E.createElementVNode("span",{class:"vc-time-decimal"},".",-1),nt=E.defineComponent({__name:"TimePicker",props:{position:null},setup(A,{expose:B}){const I=ez(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:D}=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",tz,[E.createElementVNode("span",rz,E.toDisplayString(E.unref(g).formatDate(E.unref(w),"WWW")),1),E.createElementVNode("span",Fz,E.toDisplayString(E.unref(g).formatDate(E.unref(w),"MMM")),1),E.createElementVNode("span",sz,E.toDisplayString(E.unref(g).formatDate(E.unref(w),"D")),1),E.createElementVNode("span",Uz,E.toDisplayString(E.unref(g).formatDate(E.unref(w),"YYYY")),1)])):E.createCommentVNode("",!0)]),_:1}),E.createElementVNode("div",oz,[E.createVNode(pQ,{name:"Clock",size:"17"}),E.createVNode(yE,{modelValue:E.unref(M),"onUpdate:modelValue":h[0]||(h[0]=n=>E.isRef(M)?M.value=n:null),modelModifiers:{number:!0},options:E.unref(F),class:"vc-time-select-hours","align-right":""},null,8,["modelValue","options"]),E.unref(D)>1?(E.openBlock(),E.createElementBlock(E.Fragment,{key:0},[Yz,E.createVNode(yE,{modelValue:E.unref(c),"onUpdate:modelValue":h[1]||(h[1]=n=>E.isRef(c)?c.value=n:null),modelModifiers:{number:!0},options:E.unref(r).minutes,class:"vc-time-select-minutes","align-left":E.unref(D)===2},null,8,["modelValue","options","align-left"])],64)):E.createCommentVNode("",!0),E.unref(D)>2?(E.openBlock(),E.createElementBlock(E.Fragment,{key:1},[Cz,E.createVNode(yE,{modelValue:E.unref(i),"onUpdate:modelValue":h[2]||(h[2]=n=>E.isRef(i)?i.value=n:null),modelModifiers:{number:!0},options:E.unref(r).seconds,class:"vc-time-select-seconds","align-left":E.unref(D)===3},null,8,["modelValue","options","align-left"])],64)):E.createCommentVNode("",!0),E.unref(D)>3?(E.openBlock(),E.createElementBlock(E.Fragment,{key:2},[az,E.createVNode(yE,{modelValue:E.unref(t),"onUpdate:modelValue":h[3]||(h[3]=n=>E.isRef(t)?t.value=n: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]=n=>E.isRef(o)?o.value=n: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(Az,{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"]))}}),hz={inheritAttrs:!1},nz=E.defineComponent({...hz,__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"]))}}),Nz=E.defineComponent({inheritAttrs:!1,emits:Qz,props:Bz,components:{DatePickerBase:Nt,DatePickerPopover:nz},setup(A,B){const Q=Ez(A,B),I=E.reactive(ai(Q,"calendarRef","popoverRef"));return{...Q,slotCtx:I}}});function Rz(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(Nz,[["render",Rz]]);var Dt;function j(){return Dt.apply(null,arguments)}function Dz(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 BA(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(BA(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)BA(B,Q)&&(A[Q]=B[Q]);return BA(B,"toString")&&(A.toString=B.toString),BA(B,"valueOf")&&(A.valueOf=B.valueOf),A}function UB(A,B,Q,I){return _t(A,B,Q,I,!0).utc()}function Gz(){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=Gz()),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=j.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,j.updateOffset(this),ye=!1)}function AB(A){return A instanceof lE||A!=null&&A._isAMomentObject!=null}function yt(A){j.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+A)}function WA(A,B){var Q=!0;return XB(function(){if(j.deprecationHandler!=null&&j.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])BA(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){j.deprecationHandler!=null&&j.deprecationHandler(A,B),Ht[A]||(yt(B),Ht[A]=!0)}j.suppressDeprecationWarnings=!1,j.deprecationHandler=null;function oB(A){return typeof Function<"u"&&A instanceof Function||Object.prototype.toString.call(A)==="[object Function]"}function Vz(A){var B,Q;for(Q in A)BA(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)BA(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)BA(A,I)&&!BA(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)BA(A,B)&&Q.push(B);return Q};var yz={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Hz(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 lz(A){return A.match(/\[[\s\S]/)?A.replace(/^\[|\]$/g,""):A.replace(/\\/g,"")}function Sz(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]=lz(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]||Sz(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 zz={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 jz(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 xz="Invalid date";function Jz(){return this._invalidDate}var dz="%d",Tz=/\d{1,2}/;function kz(A){return this._ordinal.replace("%d",A)}var mz={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 uz(A,B,Q,I){var g=this._relativeTime[Q];return oB(g)?g(A,B,Q,I):g.replace(/%d/i,A)}function Kz(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)BA(A,I)&&(Q=pA(I),Q&&(B[Q]=A[I]));return B}var fz={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 Wz(A){var B=[],Q;for(Q in A)BA(A,Q)&&B.push({unit:Q,priority:fz[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+/,pz=/Z|[+-]\d\d:?\d\d/gi,kI=/Z|[+-]\d\d(?::?\d\d)?/gi,qz=/[+-]?\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 d(A,B,Q){mI[A]=oB(B)?B:function(I,g){return I&&Q?Q:B}}function Zz(A,B){return BA(mI,A)?mI[A](B._strict,B._locale):new RegExp(Oz(A))}function Oz(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 bz(A,B,Q){B!=null&&BA(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,Lz=7,Xz=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"),d("Y",TI),d("YY",tA,xA),d("YYYY",Te,de),d("YYYYY",dI,xI),d("YYYYYY",dI,xI),MA(["YYYYY","YYYYYY"],DA),MA("YYYY",function(A,B){B[DA]=A.length===2?j.parseTwoDigitYear(A):X(A)}),MA("YY",function(A,B){B[DA]=j.parseTwoDigitYear(A)}),MA("Y",function(A,B){B[DA]=parseInt(A,10)});function jE(A){return uI(A)?366:365}j.parseTwoDigitYear=function(A){return X(A)+(X(A)>68?1900:2e3)};var Tt=bQ("FullYear",!0);function vz(){return uI(this.year())}function bQ(A,B){return function(Q){return Q!=null?(kt(this,A,Q),j.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 Pz(A){return A=pA(A),oB(this[A])?this[A]():this}function _z(A,B){if(typeof A=="object"){A=Je(A);var Q=Wz(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 $z(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=$z(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)}),d("M",tA,OQ),d("MM",tA,xA),d("MMM",function(A,B){return B.monthsShortRegex(A)}),d("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 A0="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?/,B0=SE,Q0=SE;function E0(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 I0(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 g0(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 e0(A,B,Q){var I,g,e;if(this._monthsParseExact)return g0.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),j.updateOffset(this,!0),this):xE(this,"Month")}function w0(){return ue(this.year(),this.month())}function M0(A){return this._monthsParseExact?(BA(this,"_monthsRegex")||Wt.call(this),A?this._monthsShortStrictRegex:this._monthsShortRegex):(BA(this,"_monthsShortRegex")||(this._monthsShortRegex=B0),this._monthsShortStrictRegex&&A?this._monthsShortStrictRegex:this._monthsShortRegex)}function c0(A){return this._monthsParseExact?(BA(this,"_monthsRegex")||Wt.call(this),A?this._monthsStrictRegex:this._monthsRegex):(BA(this,"_monthsRegex")||(this._monthsRegex=Q0),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 i0(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"),d("w",tA,OQ),d("ww",tA,xA),d("W",tA,OQ),d("WW",tA,xA),zE(["w","ww","W","WW"],function(A,B,Q,I){B[I.substr(0,1)]=X(A)});function t0(A){return dE(A,this._week.dow,this._week.doy).week}var r0={dow:0,doy:6};function F0(){return this._week.dow}function s0(){return this._week.doy}function U0(A){var B=this.localeData().week(this);return A==null?B:this.add((A-B)*7,"d")}function o0(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"),d("d",tA),d("e",tA),d("E",tA),d("dd",function(A,B){return B.weekdaysMinRegex(A)}),d("ddd",function(A,B){return B.weekdaysShortRegex(A)}),d("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 Y0(A,B){return typeof A!="string"?A:isNaN(A)?(A=B.weekdaysParse(A),typeof A=="number"?A:null):parseInt(A,10)}function C0(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 a0="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),h0="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),n0=SE,N0=SE,R0=SE;function D0(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 G0(A){return A===!0?Ke(this._weekdaysShort,this._week.dow):A?this._weekdaysShort[A.day()]:this._weekdaysShort}function V0(A){return A===!0?Ke(this._weekdaysMin,this._week.dow):A?this._weekdaysMin[A.day()]:this._weekdaysMin}function y0(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 H0(A,B,Q){var I,g,e;if(this._weekdaysParseExact)return y0.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 l0(A){if(!this.isValid())return A!=null?this:NaN;var B=xE(this,"Day");return A!=null?(A=Y0(A,this.localeData()),this.add(A-B,"d")):B}function S0(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 z0(A){if(!this.isValid())return A!=null?this:NaN;if(A!=null){var B=C0(A,this.localeData());return this.day(this.day()%7?B:B-7)}else return this.day()||7}function j0(A){return this._weekdaysParseExact?(BA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysStrictRegex:this._weekdaysRegex):(BA(this,"_weekdaysRegex")||(this._weekdaysRegex=n0),this._weekdaysStrictRegex&&A?this._weekdaysStrictRegex:this._weekdaysRegex)}function x0(A){return this._weekdaysParseExact?(BA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(BA(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=N0),this._weekdaysShortStrictRegex&&A?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function J0(A){return this._weekdaysParseExact?(BA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(BA(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=R0),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 d0(){return this.hours()||24}f("H",["HH",2],0,"hour"),f("h",["hh",2],0,We),f("k",["kk",2],0,d0),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}d("a",Ot),d("A",Ot),d("H",tA,ke),d("h",tA,OQ),d("k",tA,OQ),d("HH",tA,xA),d("hh",tA,xA),d("kk",tA,xA),d("hmm",Jt),d("hmmss",dt),d("Hmm",Jt),d("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 T0(A){return(A+"").toLowerCase().charAt(0)==="p"}var k0=/[ap]\.?m?\.?/i,m0=bQ("Hours",!0);function u0(A,B,Q){return A>11?Q?"pm":"PM":Q?"am":"AM"}var bt={calendar:yz,longDateFormat:zz,invalidDate:xz,ordinal:dz,dayOfMonthOrdinalParse:Tz,relativeTime:mz,months:A0,monthsShort:mt,week:r0,weekdays:a0,weekdaysMin:h0,weekdaysShort:qt,meridiemParse:k0},FA={},TE={},kE;function K0(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 f0(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&&K0(e,I)>=Q-1)break;Q--}B++}return kE}function W0(A){return!!(A&&A.match("^[^/\\\\]*$"))}function fI(A){var B=null,Q;if(FA[A]===void 0&&typeof module<"u"&&module&&module.exports&&W0(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 p0(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 f0(A)}function q0(){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=Lz),b(A)._overflowWeekday&&B===-1&&(B=Xz),b(A).overflow=B),A}var Z0=/^\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)?)?$/,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=/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/]],L0=/^\/?Date\((-?\d+)/i,X0=/^(?:(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}))$/,v0={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=Z0.exec(I)||O0.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(b0.exec(g[4]))c="Z";else{A._isValid=!1;return}A._f=w+(M||"")+(c||""),be(A)}else A._isValid=!1}function P0(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 $0(A){return A.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Aj(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 Bj(A,B,Q){if(A)return v0[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=X0.exec($0(A._i)),Q;if(B){if(Q=P0(B[4],B[3],B[2],B[5],B[6],B[7]),!Aj(B[1],Q,A))return;A._a=Q,A._tzm=Bj(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 Qj(A){var B=L0.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:j.createFromInputFallback(A)}j.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 Ej(A){var B=new Date(j.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=Ej(A),A._w&&A._a[CB]==null&&A._a[lB]==null&&Ij(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:i0).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 Ij(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)}j.ISO_8601=function(){},j.RFC_2822=function(){};function be(A){if(A._f===j.ISO_8601){Xt(A);return}if(A._f===j.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(Zz(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),bz(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]=gj(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 gj(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 ej(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 wj(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 Mj(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)?ej(A):Q?be(A):cj(A),Ve(A)||(A._d=null),A))}function cj(A){var B=A._i;SA(B)?A._d=new Date(j.now()):HE(B)?A._d=new Date(B.valueOf()):typeof B=="string"?Qj(A):$A(B)?(A._a=Gt(B.slice(0),function(Q){return parseInt(Q,10)}),Oe(A)):oQ(B)?wj(A):yB(B)?A._d=new Date(B):j.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,Mj(e)}function rA(A,B,Q,I){return _t(A,B,Q,I,!1)}var ij=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()}),tj=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 rj(){var A=[].slice.call(arguments,0);return $t("isBefore",A)}function Fj(){var A=[].slice.call(arguments,0);return $t("isAfter",A)}var sj=function(){return Date.now?Date.now():+new Date},mE=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Uj(A){var B,Q=!1,I,g=mE.length;for(B in A)if(BA(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 oj(){return this._isValid}function Yj(){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=Uj(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 Cj(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",""),d("Z",kI),d("ZZ",kI),MA(["Z","ZZ"],function(A,B,Q){Q._useUTC=!0,Q._tzm=Xe(kI,A)});var aj=/([\+\-]|\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(aj)||["-",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),j.updateOffset(Q,!1),Q):rA(A).local()}function Pe(A){return-Math.round(A._d.getTimezoneOffset())}j.updateOffset=function(){};function hj(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,j.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 Nj(A){return this.utcOffset(0,A)}function Rj(A){return this._isUTC&&(this.utcOffset(0,A),this._isUTC=!1,A&&this.subtract(Pe(this),"m")),this}function Dj(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var A=Xe(pz,this._i);A!=null?this.utcOffset(A):this.utcOffset(0,!0)}return this}function Gj(A){return this.isValid()?(A=A?rA(A).utcOffset():0,(this.utcOffset()-A)%60===0):!1}function Vj(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function yj(){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()&&Cj(A._a,B.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Hj(){return this.isValid()?!this._isUTC:!1}function lj(){return this.isValid()?this._isUTC:!1}function Br(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Sj=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zj=/^(-|\+)?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=Sj.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=zj.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=jj(rA(Q.from),rA(Q.to)),Q={},Q.ms=w.milliseconds,Q.M=w.months),e=new pI(Q),qI(A)&&BA(A,"_locale")&&(e._locale=A._locale),qI(A)&&BA(A,"_isValid")&&(e._isValid=A._isValid),e}QB.fn=pI.prototype,QB.invalid=Yj;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 jj(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&&j.updateOffset(A,e||w))}var xj=Er(1,"add"),Jj=Er(-1,"subtract");function gr(A){return typeof A=="string"||A instanceof String}function dj(A){return AB(A)||HE(A)||gr(A)||yB(A)||kj(A)||Tj(A)||A===null||A===void 0}function Tj(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||BA(A,e);return B&&Q}function kj(A){var B=$A(A),Q=!1;return B&&(Q=A.filter(function(I){return!yB(I)&&gr(A)}).length===0),B&&Q}function mj(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||BA(A,e);return B&&Q}function uj(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 Kj(A,B){arguments.length===1&&(arguments[0]?dj(arguments[0])?(A=arguments[0],B=void 0):mj(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=j.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 fj(){return new lE(this)}function Wj(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 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():this.clone().endOf(B).valueOf()<Q.valueOf()):!1}function qj(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 Zj(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 Oj(A,B){return this.isSame(A,B)||this.isAfter(A,B)}function bj(A,B){return this.isSame(A,B)||this.isBefore(A,B)}function Lj(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}j.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",j.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Xj(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function vj(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 Pj(){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()?j.defaultFormatUtc:j.defaultFormat);var B=jI(this,A);return this.localeData().postformat(B)}function $j(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 Ax(A){return this.from(rA(),A)}function Bx(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 Qx(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 Ex(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),j.updateOffset(this,!0),this}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()+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),j.updateOffset(this,!0),this}function gx(){return this._d.valueOf()-(this._offset||0)*6e4}function ex(){return Math.floor(this.valueOf()/1e3)}function wx(){return new Date(this.valueOf())}function Mx(){var A=this;return[A.year(),A.month(),A.date(),A.hour(),A.minute(),A.second(),A.millisecond()]}function cx(){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 ix(){return this.isValid()?this.toISOString():null}function tx(){return Ve(this)}function rx(){return XB({},b(this))}function Fx(){return b(this).overflow}function sx(){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"),d("N",_e),d("NN",_e),d("NNN",_e),d("NNNN",Gx),d("NNNNN",Vx),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}),d("y",ZQ),d("yy",ZQ),d("yyy",ZQ),d("yyyy",ZQ),d("yo",yx),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 Ux(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=j(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=j(e[Q].until).startOf("day").valueOf(),e[Q].until=g.valueOf();break}}return e}function ox(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 Yx(A,B){var Q=A.since<=A.until?1:-1;return B===void 0?j(A.since).year():j(A.since).year()+(B-A.offset)*Q}function Cx(){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 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].narrow;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].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()-j(g[A].since).year())*Q+g[A].offset;return this.year()}function Nx(A){return BA(this,"_erasNameRegex")||$e.call(this),A?this._erasNameRegex:this._erasRegex}function Rx(A){return BA(this,"_erasAbbrRegex")||$e.call(this),A?this._erasAbbrRegex:this._erasRegex}function Dx(A){return BA(this,"_erasNarrowRegex")||$e.call(this),A?this._erasNarrowRegex:this._erasRegex}function _e(A,B){return B.erasAbbrRegex(A)}function Gx(A,B){return B.erasNameRegex(A)}function Vx(A,B){return B.erasNarrowRegex(A)}function yx(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"),d("G",TI),d("g",TI),d("GG",tA,xA),d("gg",tA,xA),d("GGGG",Te,de),d("gggg",Te,de),d("GGGGG",dI,xI),d("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]=j.parseTwoDigitYear(A)});function Hx(A){return rr.call(this,A,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function lx(A){return rr.call(this,A,this.isoWeek(),this.isoWeekday(),1,4)}function Sx(){return zB(this.year(),1,4)}function zx(){return zB(this.isoWeekYear(),1,4)}function jx(){var A=this.localeData()._week;return zB(this.year(),A.dow,A.doy)}function xx(){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),Jx.call(this,A,B,Q,I,g))}function Jx(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"),d("Q",jt),MA("Q",function(A,B){B[lB]=(X(A)-1)*3});function dx(A){return A==null?Math.ceil((this.month()+1)/3):this.month((A-1)*3+this.month()%3)}f("D",["DD",2],"Do","date"),d("D",tA,OQ),d("DD",tA,xA),d("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"),d("DDD",JI),d("DDDD",xt),MA(["DDD","DDDD"],function(A,B,Q){Q._dayOfYear=X(A)});function Tx(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"),d("m",tA,ke),d("mm",tA,xA),MA(["m","mm"],BB);var kx=bQ("Minutes",!1);f("s",["ss",2],0,"second"),d("s",tA,ke),d("ss",tA,xA),MA(["s","ss"],SB);var mx=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}),d("S",JI,jt),d("SS",JI,xA),d("SSS",JI,xt);var PB,sr;for(PB="SSSS";PB.length<=9;PB+="S")d(PB,ZQ);function ux(A,B){B[YQ]=X(("0."+A)*1e3)}for(PB="S";PB.length<=9;PB+="S")MA(PB,ux);sr=bQ("Milliseconds",!1),f("z",0,0,"zoneAbbr"),f("zz",0,0,"zoneName");function Kx(){return this._isUTC?"UTC":""}function fx(){return this._isUTC?"Coordinated Universal Time":""}var y=lE.prototype;y.add=xj,y.calendar=Kj,y.clone=fj,y.diff=Lj,y.endOf=Ix,y.format=_j,y.from=$j,y.fromNow=Ax,y.to=Bx,y.toNow=Qx,y.get=Pz,y.invalidAt=Fx,y.isAfter=Wj,y.isBefore=pj,y.isBetween=qj,y.isSame=Zj,y.isSameOrAfter=Oj,y.isSameOrBefore=bj,y.isValid=tx,y.lang=wr,y.locale=er,y.localeData=Mr,y.max=tj,y.min=ij,y.parsingFlags=rx,y.set=_z,y.startOf=Ex,y.subtract=Jj,y.toArray=Mx,y.toObject=cx,y.toDate=wx,y.toISOString=vj,y.inspect=Pj,typeof Symbol<"u"&&Symbol.for!=null&&(y[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),y.toJSON=ix,y.toString=Xj,y.unix=ex,y.valueOf=gx,y.creationData=sx,y.eraName=Cx,y.eraNarrow=ax,y.eraAbbr=hx,y.eraYear=nx,y.year=Tt,y.isLeapYear=vz,y.weekYear=Hx,y.isoWeekYear=lx,y.quarter=y.quarters=dx,y.month=ft,y.daysInMonth=w0,y.week=y.weeks=U0,y.isoWeek=y.isoWeeks=o0,y.weeksInYear=jx,y.weeksInWeekYear=xx,y.isoWeeksInYear=Sx,y.isoWeeksInISOWeekYear=zx,y.date=Fr,y.day=y.days=l0,y.weekday=S0,y.isoWeekday=z0,y.dayOfYear=Tx,y.hour=y.hours=m0,y.minute=y.minutes=kx,y.second=y.seconds=mx,y.millisecond=y.milliseconds=sr,y.utcOffset=hj,y.utc=Nj,y.local=Rj,y.parseZone=Dj,y.hasAlignedHourOffset=Gj,y.isDST=Vj,y.isLocal=Hj,y.isUtcOffset=lj,y.isUtc=Br,y.isUTC=Br,y.zoneAbbr=Kx,y.zoneName=fx,y.dates=WA("dates accessor is deprecated. Use date instead.",Fr),y.months=WA("months accessor is deprecated. Use month instead",ft),y.years=WA("years accessor is deprecated. Use year instead",Tt),y.zone=WA("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",nj),y.isDSTShifted=WA("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",yj);function Wx(A){return rA(A*1e3)}function px(){return rA.apply(null,arguments).parseZone()}function Ur(A){return A}var QA=Se.prototype;QA.calendar=Hz,QA.longDateFormat=jz,QA.invalidDate=Jz,QA.ordinal=kz,QA.preparse=Ur,QA.postformat=Ur,QA.relativeTime=uz,QA.pastFuture=Kz,QA.set=Vz,QA.eras=Ux,QA.erasParse=ox,QA.erasConvertYear=Yx,QA.erasAbbrRegex=Rx,QA.erasNameRegex=Nx,QA.erasNarrowRegex=Dx,QA.months=E0,QA.monthsShort=I0,QA.monthsParse=e0,QA.monthsRegex=c0,QA.monthsShortRegex=M0,QA.week=t0,QA.firstDayOfYear=s0,QA.firstDayOfWeek=F0,QA.weekdays=D0,QA.weekdaysMin=V0,QA.weekdaysShort=G0,QA.weekdaysParse=H0,QA.weekdaysRegex=j0,QA.weekdaysShortRegex=x0,QA.weekdaysMinRegex=J0,QA.isPM=T0,QA.meridiem=u0;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 qx(A,B){return or(A,B,"months")}function Zx(A,B){return or(A,B,"monthsShort")}function Ox(A,B,Q){return Aw(A,B,Q,"weekdays")}function bx(A,B,Q){return Aw(A,B,Q,"weekdaysShort")}function Lx(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}}),j.lang=WA("moment.lang is deprecated. Use moment.locale instead.",vB),j.langData=WA("moment.langData is deprecated. Use moment.localeData instead.",jB);var xB=Math.abs;function Xx(){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 vx(A,B){return Yr(this,A,B,1)}function Px(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 $x(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"),AJ=JB("s"),BJ=JB("m"),QJ=JB("h"),EJ=JB("d"),IJ=JB("w"),gJ=JB("M"),eJ=JB("Q"),wJ=JB("y"),MJ=hr;function cJ(){return QB(this)}function iJ(A){return A=pA(A),this.isValid()?this[A+"s"]():NaN}function aQ(A){return function(){return this.isValid()?this._data[A]:NaN}}var tJ=aQ("milliseconds"),rJ=aQ("seconds"),FJ=aQ("minutes"),sJ=aQ("hours"),UJ=aQ("days"),oJ=aQ("months"),YJ=aQ("years");function CJ(){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 aJ(A,B,Q,I,g){return g.relativeTime(B||1,!!Q,A,I)}function hJ(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,aJ.apply(null,F)}function nJ(A){return A===void 0?dB:typeof A=="function"?(dB=A,!0):!1}function NJ(A,B){return PQ[A]===void 0?!1:B===void 0?PQ[A]:(PQ[A]=B,A==="s"&&(PQ.ss=B-1),!0)}function RJ(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=hJ(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=oj,P.abs=Xx,P.add=vx,P.subtract=Px,P.as=$x,P.asMilliseconds=hr,P.asSeconds=AJ,P.asMinutes=BJ,P.asHours=QJ,P.asDays=EJ,P.asWeeks=IJ,P.asMonths=gJ,P.asQuarters=eJ,P.asYears=wJ,P.valueOf=MJ,P._bubble=_x,P.clone=cJ,P.get=iJ,P.milliseconds=tJ,P.seconds=rJ,P.minutes=FJ,P.hours=sJ,P.days=UJ,P.weeks=CJ,P.months=oJ,P.years=YJ,P.humanize=RJ,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"),d("x",TI),d("X",qz),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))});j.version="2.30.1",Dz(rA),j.fn=y,j.min=rj,j.max=Fj,j.now=sj,j.utc=UB,j.unix=Wx,j.months=qx,j.isDate=HE,j.locale=vB,j.invalid=SI,j.duration=QB,j.isMoment=AB,j.weekdays=Ox,j.parseZone=px,j.localeData=jB,j.isDuration=qI,j.monthsShort=Zx,j.weekdaysMin=Lx,j.defineLocale=pe,j.updateLocale=p0,j.locales=q0,j.weekdaysShort=bx,j.normalizeUnits=pA,j.relativeTimeRounding=nJ,j.relativeTimeThreshold=NJ,j.calendarFormat=uj,j.prototype=y,j.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?`${j(o).format("DD/MM/YYYY")} - ${j(C).format("DD/MM/YYYY")}`:"Selecione um período"}return t.value?j(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(EA,{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))}}),DJ=["disabled","maxlength"],GJ=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,GJ)+"px",h.style.height=N.style.height)})};E.watch(()=>I.modelValue,N=>{N!==M.value&&(M.value=N||"",Y())});const D=()=>{g("update:modelValue",M.value),Y()};return B({focus:c}),(N,h)=>(E.openBlock(),E.createBlock(EA,{class:"yu-font-primary",col:"","gap-none":""},{default:E.withCtx(()=>[E.createVNode(EA,{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]=n=>M.value=n),disabled:A.disabled,onInput:D,onFocus:h[1]||(h[1]=n=>c.value=!0),onBlur:h[2]||(h[2]=n=>c.value=!1),maxlength:A.maxLength},null,40,DJ),[[E.vModelText,M.value]]),E.createVNode(EA,{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}))}}),VJ={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",VJ,[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)]))}}),yJ=["data-state","onClick"],Dr=E.defineComponent({__name:"app-tabs",props:{center:Boolean,segment:Boolean,small:Boolean},setup(A){const B=E.useSlots(),Q=Object.keys(B),I=E.ref(Q[0]),g=A,e=E.computed(()=>g.segment?"yu-bg-gray-100 yu-rounded-md":"yu-border-b"),w=E.computed(()=>g.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":g.small?"yu-p-2 yu-border-b 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 yu-border-transparent yu-transition-all duration-200 yu-group data-[state=active]:yu-border-b-primary");return(M,c)=>(E.openBlock(),E.createBlock(EA,{col:"","gap-none":""},{default:E.withCtx(()=>[E.createVNode(EA,{class:E.normalizeClass([e.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(Q),i=>(E.openBlock(),E.createElementBlock("button",{key:i,class:E.normalizeClass([w.value]),"data-state":I.value===i?"active":"inactive",onClick:t=>I.value=i},[E.createVNode(_,{class:E.normalizeClass(["group-hover:!yu-text-primary yu-transition-colors duration-200",{"!yu-text-primary":I.value===i}]),gray:I.value!==i,small:A.small,medium:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(i),1)]),_:2},1032,["class","gray","small"])],10,yJ))),128))]),_:1},8,["class","center","padding-sm"]),(E.openBlock(),E.createBlock(E.resolveDynamicComponent(E.unref(B)[I.value]),{key:I.value}))]),_:1}))}}),HJ={class:"yu-w-full"},lJ={key:0,class:"yu-p-3",align:"left"},SJ={key:0,class:"yu-p-3"},zJ={key:1},jJ={class:"yu-p-4",colspan:"100%"},xJ={key:2},JJ={class:"yu-p-4",colspan:"100%"},dJ={key:3},TJ={class:"yu-p-4",colspan:"100%"},kJ={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(EA,{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",[w.value,M.value]])},[E.createElementVNode("table",HJ,[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",lJ,[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",SJ,[E.createVNode(PI,{class:"yu-h-6 yu-w-full"})])):E.createCommentVNode("",!0)]))),128)):A.error?(E.openBlock(),E.createElementBlock("tr",zJ,[E.createElementVNode("td",jJ,[E.createVNode(EA,{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",xJ,[E.createElementVNode("td",JJ,[E.createVNode(EA,{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",dJ,[E.createElementVNode("td",TJ,[E.createVNode(EA,{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",kJ,[E.createVNode(EA,{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(EA,{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)}}),mJ={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",EA),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=EA,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=mJ,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){j.deprecationHandler!=null&&j.deprecationHandler(A,B),Ht[A]||(yt(B),Ht[A]=!0)}j.suppressDeprecationWarnings=!1,j.deprecationHandler=null;function oB(A){return typeof Function<"u"&&A instanceof Function||Object.prototype.toString.call(A)==="[object Function]"}function Vz(A){var B,Q;for(Q in A)BA(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)BA(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)BA(A,I)&&!BA(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)BA(A,B)&&Q.push(B);return Q};var yz={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Hz(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 lz(A){return A.match(/\[[\s\S]/)?A.replace(/^\[|\]$/g,""):A.replace(/\\/g,"")}function Sz(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]=lz(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]||Sz(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 zz={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 jz(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 xz="Invalid date";function Jz(){return this._invalidDate}var dz="%d",Tz=/\d{1,2}/;function kz(A){return this._ordinal.replace("%d",A)}var mz={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 uz(A,B,Q,I){var g=this._relativeTime[Q];return oB(g)?g(A,B,Q,I):g.replace(/%d/i,A)}function Kz(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)BA(A,I)&&(Q=pA(I),Q&&(B[Q]=A[I]));return B}var fz={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 Wz(A){var B=[],Q;for(Q in A)BA(A,Q)&&B.push({unit:Q,priority:fz[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+/,pz=/Z|[+-]\d\d:?\d\d/gi,kI=/Z|[+-]\d\d(?::?\d\d)?/gi,qz=/[+-]?\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 d(A,B,Q){mI[A]=oB(B)?B:function(I,g){return I&&Q?Q:B}}function Zz(A,B){return BA(mI,A)?mI[A](B._strict,B._locale):new RegExp(Oz(A))}function Oz(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 bz(A,B,Q){B!=null&&BA(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,Lz=7,Xz=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"),d("Y",TI),d("YY",tA,xA),d("YYYY",Te,de),d("YYYYY",dI,xI),d("YYYYYY",dI,xI),MA(["YYYYY","YYYYYY"],DA),MA("YYYY",function(A,B){B[DA]=A.length===2?j.parseTwoDigitYear(A):X(A)}),MA("YY",function(A,B){B[DA]=j.parseTwoDigitYear(A)}),MA("Y",function(A,B){B[DA]=parseInt(A,10)});function jE(A){return uI(A)?366:365}j.parseTwoDigitYear=function(A){return X(A)+(X(A)>68?1900:2e3)};var Tt=bQ("FullYear",!0);function vz(){return uI(this.year())}function bQ(A,B){return function(Q){return Q!=null?(kt(this,A,Q),j.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 Pz(A){return A=pA(A),oB(this[A])?this[A]():this}function _z(A,B){if(typeof A=="object"){A=Je(A);var Q=Wz(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 $z(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=$z(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)}),d("M",tA,OQ),d("MM",tA,xA),d("MMM",function(A,B){return B.monthsShortRegex(A)}),d("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 A0="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?/,B0=SE,Q0=SE;function E0(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 I0(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 g0(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 e0(A,B,Q){var I,g,e;if(this._monthsParseExact)return g0.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),j.updateOffset(this,!0),this):xE(this,"Month")}function w0(){return ue(this.year(),this.month())}function M0(A){return this._monthsParseExact?(BA(this,"_monthsRegex")||Wt.call(this),A?this._monthsShortStrictRegex:this._monthsShortRegex):(BA(this,"_monthsShortRegex")||(this._monthsShortRegex=B0),this._monthsShortStrictRegex&&A?this._monthsShortStrictRegex:this._monthsShortRegex)}function c0(A){return this._monthsParseExact?(BA(this,"_monthsRegex")||Wt.call(this),A?this._monthsStrictRegex:this._monthsRegex):(BA(this,"_monthsRegex")||(this._monthsRegex=Q0),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 i0(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"),d("w",tA,OQ),d("ww",tA,xA),d("W",tA,OQ),d("WW",tA,xA),zE(["w","ww","W","WW"],function(A,B,Q,I){B[I.substr(0,1)]=X(A)});function t0(A){return dE(A,this._week.dow,this._week.doy).week}var r0={dow:0,doy:6};function F0(){return this._week.dow}function s0(){return this._week.doy}function U0(A){var B=this.localeData().week(this);return A==null?B:this.add((A-B)*7,"d")}function o0(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"),d("d",tA),d("e",tA),d("E",tA),d("dd",function(A,B){return B.weekdaysMinRegex(A)}),d("ddd",function(A,B){return B.weekdaysShortRegex(A)}),d("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 Y0(A,B){return typeof A!="string"?A:isNaN(A)?(A=B.weekdaysParse(A),typeof A=="number"?A:null):parseInt(A,10)}function C0(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 a0="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),h0="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),n0=SE,N0=SE,R0=SE;function D0(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 G0(A){return A===!0?Ke(this._weekdaysShort,this._week.dow):A?this._weekdaysShort[A.day()]:this._weekdaysShort}function V0(A){return A===!0?Ke(this._weekdaysMin,this._week.dow):A?this._weekdaysMin[A.day()]:this._weekdaysMin}function y0(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 H0(A,B,Q){var I,g,e;if(this._weekdaysParseExact)return y0.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 l0(A){if(!this.isValid())return A!=null?this:NaN;var B=xE(this,"Day");return A!=null?(A=Y0(A,this.localeData()),this.add(A-B,"d")):B}function S0(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 z0(A){if(!this.isValid())return A!=null?this:NaN;if(A!=null){var B=C0(A,this.localeData());return this.day(this.day()%7?B:B-7)}else return this.day()||7}function j0(A){return this._weekdaysParseExact?(BA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysStrictRegex:this._weekdaysRegex):(BA(this,"_weekdaysRegex")||(this._weekdaysRegex=n0),this._weekdaysStrictRegex&&A?this._weekdaysStrictRegex:this._weekdaysRegex)}function x0(A){return this._weekdaysParseExact?(BA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(BA(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=N0),this._weekdaysShortStrictRegex&&A?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function J0(A){return this._weekdaysParseExact?(BA(this,"_weekdaysRegex")||fe.call(this),A?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(BA(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=R0),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 d0(){return this.hours()||24}f("H",["HH",2],0,"hour"),f("h",["hh",2],0,We),f("k",["kk",2],0,d0),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}d("a",Ot),d("A",Ot),d("H",tA,ke),d("h",tA,OQ),d("k",tA,OQ),d("HH",tA,xA),d("hh",tA,xA),d("kk",tA,xA),d("hmm",Jt),d("hmmss",dt),d("Hmm",Jt),d("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 T0(A){return(A+"").toLowerCase().charAt(0)==="p"}var k0=/[ap]\.?m?\.?/i,m0=bQ("Hours",!0);function u0(A,B,Q){return A>11?Q?"pm":"PM":Q?"am":"AM"}var bt={calendar:yz,longDateFormat:zz,invalidDate:xz,ordinal:dz,dayOfMonthOrdinalParse:Tz,relativeTime:mz,months:A0,monthsShort:mt,week:r0,weekdays:a0,weekdaysMin:h0,weekdaysShort:qt,meridiemParse:k0},FA={},TE={},kE;function K0(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 f0(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&&K0(e,I)>=Q-1)break;Q--}B++}return kE}function W0(A){return!!(A&&A.match("^[^/\\\\]*$"))}function fI(A){var B=null,Q;if(FA[A]===void 0&&typeof module<"u"&&module&&module.exports&&W0(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 p0(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 f0(A)}function q0(){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=Lz),b(A)._overflowWeekday&&B===-1&&(B=Xz),b(A).overflow=B),A}var Z0=/^\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)?)?$/,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=/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/]],L0=/^\/?Date\((-?\d+)/i,X0=/^(?:(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}))$/,v0={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=Z0.exec(I)||O0.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(b0.exec(g[4]))c="Z";else{A._isValid=!1;return}A._f=w+(M||"")+(c||""),be(A)}else A._isValid=!1}function P0(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 $0(A){return A.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Aj(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 Bj(A,B,Q){if(A)return v0[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=X0.exec($0(A._i)),Q;if(B){if(Q=P0(B[4],B[3],B[2],B[5],B[6],B[7]),!Aj(B[1],Q,A))return;A._a=Q,A._tzm=Bj(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 Qj(A){var B=L0.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:j.createFromInputFallback(A)}j.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 Ej(A){var B=new Date(j.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=Ej(A),A._w&&A._a[CB]==null&&A._a[lB]==null&&Ij(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:i0).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 Ij(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)}j.ISO_8601=function(){},j.RFC_2822=function(){};function be(A){if(A._f===j.ISO_8601){Xt(A);return}if(A._f===j.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(Zz(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),bz(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]=gj(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 gj(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 ej(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 wj(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 Mj(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)?ej(A):Q?be(A):cj(A),Ve(A)||(A._d=null),A))}function cj(A){var B=A._i;SA(B)?A._d=new Date(j.now()):HE(B)?A._d=new Date(B.valueOf()):typeof B=="string"?Qj(A):$A(B)?(A._a=Gt(B.slice(0),function(Q){return parseInt(Q,10)}),Oe(A)):oQ(B)?wj(A):yB(B)?A._d=new Date(B):j.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,Mj(e)}function rA(A,B,Q,I){return _t(A,B,Q,I,!1)}var ij=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()}),tj=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 rj(){var A=[].slice.call(arguments,0);return $t("isBefore",A)}function Fj(){var A=[].slice.call(arguments,0);return $t("isAfter",A)}var sj=function(){return Date.now?Date.now():+new Date},mE=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Uj(A){var B,Q=!1,I,g=mE.length;for(B in A)if(BA(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 oj(){return this._isValid}function Yj(){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=Uj(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 Cj(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",""),d("Z",kI),d("ZZ",kI),MA(["Z","ZZ"],function(A,B,Q){Q._useUTC=!0,Q._tzm=Xe(kI,A)});var aj=/([\+\-]|\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(aj)||["-",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),j.updateOffset(Q,!1),Q):rA(A).local()}function Pe(A){return-Math.round(A._d.getTimezoneOffset())}j.updateOffset=function(){};function hj(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,j.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 Nj(A){return this.utcOffset(0,A)}function Rj(A){return this._isUTC&&(this.utcOffset(0,A),this._isUTC=!1,A&&this.subtract(Pe(this),"m")),this}function Dj(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var A=Xe(pz,this._i);A!=null?this.utcOffset(A):this.utcOffset(0,!0)}return this}function Gj(A){return this.isValid()?(A=A?rA(A).utcOffset():0,(this.utcOffset()-A)%60===0):!1}function Vj(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function yj(){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()&&Cj(A._a,B.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Hj(){return this.isValid()?!this._isUTC:!1}function lj(){return this.isValid()?this._isUTC:!1}function Br(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Sj=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zj=/^(-|\+)?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=Sj.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=zj.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=jj(rA(Q.from),rA(Q.to)),Q={},Q.ms=w.milliseconds,Q.M=w.months),e=new pI(Q),qI(A)&&BA(A,"_locale")&&(e._locale=A._locale),qI(A)&&BA(A,"_isValid")&&(e._isValid=A._isValid),e}QB.fn=pI.prototype,QB.invalid=Yj;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 jj(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&&j.updateOffset(A,e||w))}var xj=Er(1,"add"),Jj=Er(-1,"subtract");function gr(A){return typeof A=="string"||A instanceof String}function dj(A){return AB(A)||HE(A)||gr(A)||yB(A)||kj(A)||Tj(A)||A===null||A===void 0}function Tj(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||BA(A,e);return B&&Q}function kj(A){var B=$A(A),Q=!1;return B&&(Q=A.filter(function(I){return!yB(I)&&gr(A)}).length===0),B&&Q}function mj(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||BA(A,e);return B&&Q}function uj(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 Kj(A,B){arguments.length===1&&(arguments[0]?dj(arguments[0])?(A=arguments[0],B=void 0):mj(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=j.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 fj(){return new lE(this)}function Wj(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 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():this.clone().endOf(B).valueOf()<Q.valueOf()):!1}function qj(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 Zj(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 Oj(A,B){return this.isSame(A,B)||this.isAfter(A,B)}function bj(A,B){return this.isSame(A,B)||this.isBefore(A,B)}function Lj(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}j.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",j.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Xj(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function vj(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 Pj(){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()?j.defaultFormatUtc:j.defaultFormat);var B=jI(this,A);return this.localeData().postformat(B)}function $j(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 Ax(A){return this.from(rA(),A)}function Bx(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 Qx(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 Ex(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),j.updateOffset(this,!0),this}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()+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),j.updateOffset(this,!0),this}function gx(){return this._d.valueOf()-(this._offset||0)*6e4}function ex(){return Math.floor(this.valueOf()/1e3)}function wx(){return new Date(this.valueOf())}function Mx(){var A=this;return[A.year(),A.month(),A.date(),A.hour(),A.minute(),A.second(),A.millisecond()]}function cx(){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 ix(){return this.isValid()?this.toISOString():null}function tx(){return Ve(this)}function rx(){return XB({},b(this))}function Fx(){return b(this).overflow}function sx(){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"),d("N",_e),d("NN",_e),d("NNN",_e),d("NNNN",Gx),d("NNNNN",Vx),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}),d("y",ZQ),d("yy",ZQ),d("yyy",ZQ),d("yyyy",ZQ),d("yo",yx),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 Ux(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=j(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=j(e[Q].until).startOf("day").valueOf(),e[Q].until=g.valueOf();break}}return e}function ox(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 Yx(A,B){var Q=A.since<=A.until?1:-1;return B===void 0?j(A.since).year():j(A.since).year()+(B-A.offset)*Q}function Cx(){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 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].narrow;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].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()-j(g[A].since).year())*Q+g[A].offset;return this.year()}function Nx(A){return BA(this,"_erasNameRegex")||$e.call(this),A?this._erasNameRegex:this._erasRegex}function Rx(A){return BA(this,"_erasAbbrRegex")||$e.call(this),A?this._erasAbbrRegex:this._erasRegex}function Dx(A){return BA(this,"_erasNarrowRegex")||$e.call(this),A?this._erasNarrowRegex:this._erasRegex}function _e(A,B){return B.erasAbbrRegex(A)}function Gx(A,B){return B.erasNameRegex(A)}function Vx(A,B){return B.erasNarrowRegex(A)}function yx(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"),d("G",TI),d("g",TI),d("GG",tA,xA),d("gg",tA,xA),d("GGGG",Te,de),d("gggg",Te,de),d("GGGGG",dI,xI),d("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]=j.parseTwoDigitYear(A)});function Hx(A){return rr.call(this,A,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function lx(A){return rr.call(this,A,this.isoWeek(),this.isoWeekday(),1,4)}function Sx(){return zB(this.year(),1,4)}function zx(){return zB(this.isoWeekYear(),1,4)}function jx(){var A=this.localeData()._week;return zB(this.year(),A.dow,A.doy)}function xx(){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),Jx.call(this,A,B,Q,I,g))}function Jx(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"),d("Q",jt),MA("Q",function(A,B){B[lB]=(X(A)-1)*3});function dx(A){return A==null?Math.ceil((this.month()+1)/3):this.month((A-1)*3+this.month()%3)}f("D",["DD",2],"Do","date"),d("D",tA,OQ),d("DD",tA,xA),d("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"),d("DDD",JI),d("DDDD",xt),MA(["DDD","DDDD"],function(A,B,Q){Q._dayOfYear=X(A)});function Tx(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"),d("m",tA,ke),d("mm",tA,xA),MA(["m","mm"],BB);var kx=bQ("Minutes",!1);f("s",["ss",2],0,"second"),d("s",tA,ke),d("ss",tA,xA),MA(["s","ss"],SB);var mx=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}),d("S",JI,jt),d("SS",JI,xA),d("SSS",JI,xt);var PB,sr;for(PB="SSSS";PB.length<=9;PB+="S")d(PB,ZQ);function ux(A,B){B[YQ]=X(("0."+A)*1e3)}for(PB="S";PB.length<=9;PB+="S")MA(PB,ux);sr=bQ("Milliseconds",!1),f("z",0,0,"zoneAbbr"),f("zz",0,0,"zoneName");function Kx(){return this._isUTC?"UTC":""}function fx(){return this._isUTC?"Coordinated Universal Time":""}var y=lE.prototype;y.add=xj,y.calendar=Kj,y.clone=fj,y.diff=Lj,y.endOf=Ix,y.format=_j,y.from=$j,y.fromNow=Ax,y.to=Bx,y.toNow=Qx,y.get=Pz,y.invalidAt=Fx,y.isAfter=Wj,y.isBefore=pj,y.isBetween=qj,y.isSame=Zj,y.isSameOrAfter=Oj,y.isSameOrBefore=bj,y.isValid=tx,y.lang=wr,y.locale=er,y.localeData=Mr,y.max=tj,y.min=ij,y.parsingFlags=rx,y.set=_z,y.startOf=Ex,y.subtract=Jj,y.toArray=Mx,y.toObject=cx,y.toDate=wx,y.toISOString=vj,y.inspect=Pj,typeof Symbol<"u"&&Symbol.for!=null&&(y[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),y.toJSON=ix,y.toString=Xj,y.unix=ex,y.valueOf=gx,y.creationData=sx,y.eraName=Cx,y.eraNarrow=ax,y.eraAbbr=hx,y.eraYear=nx,y.year=Tt,y.isLeapYear=vz,y.weekYear=Hx,y.isoWeekYear=lx,y.quarter=y.quarters=dx,y.month=ft,y.daysInMonth=w0,y.week=y.weeks=U0,y.isoWeek=y.isoWeeks=o0,y.weeksInYear=jx,y.weeksInWeekYear=xx,y.isoWeeksInYear=Sx,y.isoWeeksInISOWeekYear=zx,y.date=Fr,y.day=y.days=l0,y.weekday=S0,y.isoWeekday=z0,y.dayOfYear=Tx,y.hour=y.hours=m0,y.minute=y.minutes=kx,y.second=y.seconds=mx,y.millisecond=y.milliseconds=sr,y.utcOffset=hj,y.utc=Nj,y.local=Rj,y.parseZone=Dj,y.hasAlignedHourOffset=Gj,y.isDST=Vj,y.isLocal=Hj,y.isUtcOffset=lj,y.isUtc=Br,y.isUTC=Br,y.zoneAbbr=Kx,y.zoneName=fx,y.dates=WA("dates accessor is deprecated. Use date instead.",Fr),y.months=WA("months accessor is deprecated. Use month instead",ft),y.years=WA("years accessor is deprecated. Use year instead",Tt),y.zone=WA("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",nj),y.isDSTShifted=WA("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",yj);function Wx(A){return rA(A*1e3)}function px(){return rA.apply(null,arguments).parseZone()}function Ur(A){return A}var QA=Se.prototype;QA.calendar=Hz,QA.longDateFormat=jz,QA.invalidDate=Jz,QA.ordinal=kz,QA.preparse=Ur,QA.postformat=Ur,QA.relativeTime=uz,QA.pastFuture=Kz,QA.set=Vz,QA.eras=Ux,QA.erasParse=ox,QA.erasConvertYear=Yx,QA.erasAbbrRegex=Rx,QA.erasNameRegex=Nx,QA.erasNarrowRegex=Dx,QA.months=E0,QA.monthsShort=I0,QA.monthsParse=e0,QA.monthsRegex=c0,QA.monthsShortRegex=M0,QA.week=t0,QA.firstDayOfYear=s0,QA.firstDayOfWeek=F0,QA.weekdays=D0,QA.weekdaysMin=V0,QA.weekdaysShort=G0,QA.weekdaysParse=H0,QA.weekdaysRegex=j0,QA.weekdaysShortRegex=x0,QA.weekdaysMinRegex=J0,QA.isPM=T0,QA.meridiem=u0;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 qx(A,B){return or(A,B,"months")}function Zx(A,B){return or(A,B,"monthsShort")}function Ox(A,B,Q){return Aw(A,B,Q,"weekdays")}function bx(A,B,Q){return Aw(A,B,Q,"weekdaysShort")}function Lx(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}}),j.lang=WA("moment.lang is deprecated. Use moment.locale instead.",vB),j.langData=WA("moment.langData is deprecated. Use moment.localeData instead.",jB);var xB=Math.abs;function Xx(){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 vx(A,B){return Yr(this,A,B,1)}function Px(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 $x(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"),AJ=JB("s"),BJ=JB("m"),QJ=JB("h"),EJ=JB("d"),IJ=JB("w"),gJ=JB("M"),eJ=JB("Q"),wJ=JB("y"),MJ=hr;function cJ(){return QB(this)}function iJ(A){return A=pA(A),this.isValid()?this[A+"s"]():NaN}function aQ(A){return function(){return this.isValid()?this._data[A]:NaN}}var tJ=aQ("milliseconds"),rJ=aQ("seconds"),FJ=aQ("minutes"),sJ=aQ("hours"),UJ=aQ("days"),oJ=aQ("months"),YJ=aQ("years");function CJ(){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 aJ(A,B,Q,I,g){return g.relativeTime(B||1,!!Q,A,I)}function hJ(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,aJ.apply(null,F)}function nJ(A){return A===void 0?dB:typeof A=="function"?(dB=A,!0):!1}function NJ(A,B){return PQ[A]===void 0?!1:B===void 0?PQ[A]:(PQ[A]=B,A==="s"&&(PQ.ss=B-1),!0)}function RJ(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=hJ(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=oj,P.abs=Xx,P.add=vx,P.subtract=Px,P.as=$x,P.asMilliseconds=hr,P.asSeconds=AJ,P.asMinutes=BJ,P.asHours=QJ,P.asDays=EJ,P.asWeeks=IJ,P.asMonths=gJ,P.asQuarters=eJ,P.asYears=wJ,P.valueOf=MJ,P._bubble=_x,P.clone=cJ,P.get=iJ,P.milliseconds=tJ,P.seconds=rJ,P.minutes=FJ,P.hours=sJ,P.days=UJ,P.weeks=CJ,P.months=oJ,P.years=YJ,P.humanize=RJ,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"),d("x",TI),d("X",qz),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))});j.version="2.30.1",Dz(rA),j.fn=y,j.min=rj,j.max=Fj,j.now=sj,j.utc=UB,j.unix=Wx,j.months=qx,j.isDate=HE,j.locale=vB,j.invalid=SI,j.duration=QB,j.isMoment=AB,j.weekdays=Ox,j.parseZone=px,j.localeData=jB,j.isDuration=qI,j.monthsShort=Zx,j.weekdaysMin=Lx,j.defineLocale=pe,j.updateLocale=p0,j.locales=q0,j.weekdaysShort=bx,j.normalizeUnits=pA,j.relativeTimeRounding=nJ,j.relativeTimeThreshold=NJ,j.calendarFormat=uj,j.prototype=y,j.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?`${j(o).format("DD/MM/YYYY")} - ${j(C).format("DD/MM/YYYY")}`:"Selecione um período"}return t.value?j(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(EA,{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))}}),DJ=["disabled","maxlength"],GJ=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,GJ)+"px",h.style.height=N.style.height)})};E.watch(()=>I.modelValue,N=>{N!==M.value&&(M.value=N||"",Y())});const D=()=>{g("update:modelValue",M.value),Y()};return B({focus:c}),(N,h)=>(E.openBlock(),E.createBlock(EA,{class:"yu-font-primary",col:"","gap-none":""},{default:E.withCtx(()=>[E.createVNode(EA,{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]=n=>M.value=n),disabled:A.disabled,onInput:D,onFocus:h[1]||(h[1]=n=>c.value=!0),onBlur:h[2]||(h[2]=n=>c.value=!1),maxlength:A.maxLength},null,40,DJ),[[E.vModelText,M.value]]),E.createVNode(EA,{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}))}}),VJ={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",VJ,[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)]))}}),yJ=["data-state","onClick"],Dr=E.defineComponent({__name:"app-tabs",props:{center:Boolean,segment:Boolean,small:Boolean},setup(A){const B=E.useSlots(),Q=Object.keys(B),I=E.ref(Q[0]),g=A,e=E.computed(()=>g.segment?"yu-bg-gray-100 yu-rounded-md":"yu-border-b"),w=E.computed(()=>g.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":g.small?"yu-p-2 yu-border-b 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 yu-border-transparent yu-transition-all duration-200 yu-group data-[state=active]:yu-border-b-primary");return(M,c)=>(E.openBlock(),E.createBlock(EA,{col:"","gap-none":""},{default:E.withCtx(()=>[E.createVNode(EA,{class:E.normalizeClass([e.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(Q),i=>(E.openBlock(),E.createElementBlock("button",{key:i,class:E.normalizeClass([w.value]),"data-state":I.value===i?"active":"inactive",onClick:t=>I.value=i},[E.createVNode(_,{class:E.normalizeClass(["group-hover:!yu-text-primary yu-transition-colors duration-200",{"!yu-text-primary":I.value===i}]),gray:I.value!==i,small:A.small,medium:""},{default:E.withCtx(()=>[E.createTextVNode(E.toDisplayString(i),1)]),_:2},1032,["class","gray","small"])],10,yJ))),128))]),_:1},8,["class","center","padding-sm"]),(E.openBlock(),E.createBlock(E.resolveDynamicComponent(E.unref(B)[I.value]),{key:I.value}))]),_:1}))}}),HJ={class:"yu-w-full"},lJ={key:0,class:"yu-p-3",align:"left"},SJ={key:0,class:"yu-p-3"},zJ={key:1},jJ={class:"yu-p-4",colspan:"100%"},xJ={key:2},JJ={class:"yu-p-4",colspan:"100%"},dJ={key:3},TJ={class:"yu-p-4",colspan:"100%"},kJ={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(EA,{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",HJ,[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",lJ,[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",SJ,[E.createVNode(PI,{class:"yu-h-6 yu-w-full"})])):E.createCommentVNode("",!0)]))),128)):A.error?(E.openBlock(),E.createElementBlock("tr",zJ,[E.createElementVNode("td",jJ,[E.createVNode(EA,{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",xJ,[E.createElementVNode("td",JJ,[E.createVNode(EA,{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",dJ,[E.createElementVNode("td",TJ,[E.createVNode(EA,{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",kJ,[E.createVNode(EA,{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(EA,{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)}}),mJ={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",EA),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=EA,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=mJ,p.useSider=Vr,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));