P?At(a,b,C,!0,!1,V):$(d,g,E,b,C,L,A,R,V)},Yt=(a,d,g,E,b,C,L,A,R)=>{let w=0;const P=d.length;let V=a.length-1,H=P-1;for(;w<=V&&w<=H;){const q=a[w],X=d[w]=R?We(d[w]):xe(d[w]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;w++}for(;w<=V&&w<=H;){const q=a[V],X=d[H]=R?We(d[H]):xe(d[H]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;V--,H--}if(w>V){if(w<=H){const q=H+1,X=qH)for(;w<=V;)Le(a[w],b,C,!0),w++;else{const q=w,X=w,te=new Map;for(w=X;w<=H;w++){const ve=d[w]=R?We(d[w]):xe(d[w]);ve.key!=null&&te.set(ve.key,w)}let Q,ce=0;const Re=H-X+1;let pt=!1,Gr=0;const Rt=new Array(Re);for(w=0;w=Re){Le(ve,b,C,!0);continue}let Me;if(ve.key!=null)Me=te.get(ve.key);else for(Q=X;Q<=H;Q++)if(Rt[Q-X]===0&<(ve,d[Q])){Me=Q;break}Me===void 0?Le(ve,b,C,!0):(Rt[Me-X]=w+1,Me>=Gr?Gr=Me:pt=!0,O(ve,d[Me],g,null,b,C,L,A,R),ce++)}const Xr=pt?dc(Rt):yt;for(Q=Xr.length-1,w=Re-1;w>=0;w--){const ve=X+w,Me=d[ve],Yr=ve+1{const{el:C,type:L,transition:A,children:R,shapeFlag:w}=a;if(w&6){nt(a.component.subTree,d,g,E);return}if(w&128){a.suspense.move(d,g,E);return}if(w&64){L.move(a,d,g,ht);return}if(L===_e){r(C,d,g);for(let V=0;VA.enter(C),b);else{const{leave:V,delayLeave:H,afterLeave:q}=A,X=()=>r(C,d,g),te=()=>{V(C,()=>{X(),q&&q()})};H?H(C,X,te):te()}else r(C,d,g)},Le=(a,d,g,E=!1,b=!1)=>{const{type:C,props:L,ref:A,children:R,dynamicChildren:w,shapeFlag:P,patchFlag:V,dirs:H,cacheIndex:q}=a;if(V===-2&&(b=!1),A!=null&&En(A,null,g,a,!0),q!=null&&(d.renderCache[q]=void 0),P&256){d.ctx.deactivate(a);return}const X=P&1&&H,te=!Et(a);let Q;if(te&&(Q=L&&L.onVnodeBeforeUnmount)&&Se(Q,d,a),P&6)Mi(a.component,g,E);else{if(P&128){a.suspense.unmount(g,E);return}X&&Ie(a,null,d,"beforeUnmount"),P&64?a.type.remove(a,d,g,ht,E):w&&!w.hasOnce&&(C!==_e||V>0&&V&64)?At(w,d,g,!1,!0):(C===_e&&V&384||!b&&P&16)&&At(R,d,g),E&&Wr(a)}(te&&(Q=L&&L.onVnodeUnmounted)||X)&&ye(()=>{Q&&Se(Q,d,a),X&&Ie(a,null,d,"unmounted")},g)},Wr=a=>{const{type:d,el:g,anchor:E,transition:b}=a;if(d===_e){Li(g,E);return}if(d===$t){y(a);return}const C=()=>{s(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:L,delayLeave:A}=b,R=()=>L(g,C);A?A(a.el,C,R):R()}else C()},Li=(a,d)=>{let g;for(;a!==d;)g=m(a),s(a),a=g;s(d)},Mi=(a,d,g)=>{const{bum:E,scope:b,update:C,subTree:L,um:A,m:R,a:w}=a;_s(R),_s(w),E&&dn(E),b.stop(),C&&(C.active=!1,Le(L,a,d,g)),A&&ye(A,d),ye(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},At=(a,d,g,E=!1,b=!1,C=0)=>{for(let L=C;L{if(a.shapeFlag&6)return zt(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=m(a.anchor||a.el),g=d&&d[qo];return g?m(g):d};let Bn=!1;const qr=(a,d,g)=>{a==null?d._vnode&&Le(d._vnode,null,null,!0):O(d._vnode||null,a,d,null,null,null,g),Bn||(Bn=!0,ss(),_n(),Bn=!1),d._vnode=a},ht={p:O,um:Le,m:nt,r:Wr,mt:ee,mc:$,pc:j,pbc:_,n:zt,o:e};let Kn,Wn;return t&&([Kn,Wn]=t(ht)),{render:qr,hydrate:Kn,createApp:zl(qr,Kn)}}function zn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Yo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ur(e,t,n=!1){const r=e.children,s=t.children;if(k(r)&&k(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function zo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zo(t)}function _s(e){if(e)for(let t=0;tCt(hc);function Jo(e,t){return Vn(e,null,t)}function Cf(e,t){return Vn(e,null,{flush:"post"})}const ln={};function Ne(e,t,n){return Vn(e,t,n)}function Vn(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:l}=ne){if(t&&o){const T=t;t=(...F)=>{T(...F),I()}}const c=ae,f=T=>r===!0?T:qe(T,r===!1?1:void 0);let u,h=!1,m=!1;if(pe(e)?(u=()=>e.value,h=St(e)):vt(e)?(u=()=>f(e),h=!0):k(e)?(m=!0,h=e.some(T=>vt(T)||St(T)),u=()=>e.map(T=>{if(pe(T))return T.value;if(vt(T))return f(T);if(K(T))return Xe(T,c,2)})):K(e)?t?u=()=>Xe(e,c,2):u=()=>(v&&v(),Ae(e,c,3,[x])):u=Te,t&&r){const T=u;u=()=>qe(T())}let v,x=T=>{v=p.onStop=()=>{Xe(T,c,4),v=p.onStop=void 0}},O;if(Xt)if(x=Te,t?n&&Ae(t,c,3,[u(),m?[]:void 0,x]):u(),s==="sync"){const T=pc();O=T.__watcherHandles||(T.__watcherHandles=[])}else return Te;let B=m?new Array(e.length).fill(ln):ln;const W=()=>{if(!(!p.active||!p.dirty))if(t){const T=p.run();(r||h||(m?T.some((F,$)=>ze(F,B[$])):ze(T,B)))&&(v&&v(),Ae(t,c,3,[T,B===ln?void 0:m&&B[0]===ln?[]:B,x]),B=T)}else p.run()};W.allowRecurse=!!t;let D;s==="sync"?D=W:s==="post"?D=()=>ye(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),D=()=>Fn(W));const p=new Rr(u,Te,D),y=ro(),I=()=>{p.stop(),y&&Tr(y.effects,p)};return t?n?W():B=p.run():s==="post"?ye(p.run.bind(p),c&&c.suspense):p.run(),O&&O.push(I),I}function gc(e,t,n){const r=this.proxy,s=se(e)?e.includes(".")?Qo(r,e):()=>r[e]:e.bind(r,r);let o;K(t)?o=t:(o=t.handler,n=t);const i=Gt(this),l=Vn(s,o.bind(r),n);return i(),l}function Qo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{qe(r,t,n)});else if(Js(e)){for(const r in e)qe(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&qe(e[r],t,n)}return e}const mc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${Ze(t)}Modifiers`];function yc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ne;let s=n;const o=t.startsWith("update:"),i=o&&mc(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>se(u)?u.trim():u)),i.number&&(s=n.map(ur)));let l,c=r[l=un(t)]||r[l=un(Oe(t))];!c&&o&&(c=r[l=un(Ze(t))]),c&&Ae(c,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(f,e,6,s)}}function Zo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!K(e)){const c=f=>{const u=Zo(f,t,!0);u&&(l=!0,ue(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&r.set(e,null),null):(k(o)?o.forEach(c=>i[c]=null):ue(i,o),Z(e)&&r.set(e,i),i)}function Dn(e,t){return!e||!Kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ze(t))||z(e,t))}function Jn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:f,renderCache:u,props:h,data:m,setupState:v,ctx:x,inheritAttrs:O}=e,B=bn(e);let W,D;try{if(n.shapeFlag&4){const y=s||r,I=y;W=xe(f.call(I,y,u,h,v,m,x)),D=l}else{const y=t;W=xe(y.length>1?y(h,{attrs:l,slots:i,emit:c}):y(h,null)),D=t.props?l:_c(l)}}catch(y){Ht.length=0,Wt(y,e,1),W=ie(me)}let p=W;if(D&&O!==!1){const y=Object.keys(D),{shapeFlag:I}=p;y.length&&I&7&&(o&&y.some(xr)&&(D=bc(D,o)),p=Je(p,D,!1,!0))}return n.dirs&&(p=Je(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),W=p,bn(B),W}const _c=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kt(n))&&((t||(t={}))[n]=e[n]);return t},bc=(e,t)=>{const n={};for(const r in e)(!xr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function vc(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?bs(r,i,f):!!i;if(c&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function ei(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):Al(e)}const _e=Symbol.for("v-fgt"),ft=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),$t=Symbol.for("v-stc"),Ht=[];let Ee=null;function ti(e=!1){Ht.push(Ee=e?null:[])}function Cc(){Ht.pop(),Ee=Ht[Ht.length-1]||null}let kt=1;function vs(e){kt+=e,e<0&&Ee&&(Ee.hasOnce=!0)}function ni(e){return e.dynamicChildren=kt>0?Ee||yt:null,Cc(),kt>0&&Ee&&Ee.push(e),e}function Sf(e,t,n,r,s,o){return ni(oi(e,t,n,r,s,o,!0))}function ri(e,t,n,r,s){return ni(ie(e,t,n,r,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const si=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||pe(e)||K(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function oi(e,t=null,n=null,r=0,s=null,o=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&si(t),ref:t&&pn(t),scopeId:$n,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:fe};return l?(kr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),kt>0&&!i&&Ee&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ee.push(c),c}const ie=Sc;function Sc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Mo)&&(e=me),Cn(e)){const l=Je(e,t,!0);return n&&kr(l,n),kt>0&&!o&&Ee&&(l.shapeFlag&6?Ee[Ee.indexOf(e)]=l:Ee.push(l)),l.patchFlag=-2,l}if(Nc(e)&&(e=e.__vccOpts),t){t=xc(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Ln(l)),Z(c)&&(mo(c)&&!k(c)&&(c=ue({},c)),t.style=On(c))}const i=se(e)?1:Ec(e)?128:sc(e)?64:Z(e)?4:K(e)?2:0;return oi(e,t,n,r,s,i,o,!0)}function xc(e){return e?mo(e)||Vo(e)?ue({},e):e:null}function Je(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,f=t?Tc(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&si(f),ref:t&&t.ref?n&&o?k(o)?o.concat(pn(t)):[o,pn(t)]:pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&vn(u,c.clone(u)),u}function ii(e=" ",t=0){return ie(ft,null,e,t)}function xf(e,t){const n=ie($t,null,e);return n.staticCount=t,n}function Tf(e="",t=!1){return t?(ti(),ri(me,null,e)):ie(me,null,e)}function xe(e){return e==null||typeof e=="boolean"?ie(me):k(e)?ie(_e,null,e.slice()):typeof e=="object"?We(e):ie(ft,null,String(e))}function We(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function kr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),kr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Vo(t)?t._ctx=fe:s===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),r&64?(n=16,t=[ii(t)]):n=8);e.children=t,e.shapeFlag|=n}function Tc(...e){const t={};for(let n=0;nae||fe;let Sn,Er;{const e=Zs(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Sn=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),Er=t("__VUE_SSR_SETTERS__",n=>Xt=n)}const Gt=e=>{const t=ae;return Sn(e),e.scope.on(),()=>{e.scope.off(),Sn(t)}},ws=()=>{ae&&ae.scope.off(),Sn(null)};function li(e){return e.vnode.shapeFlag&4}let Xt=!1;function Lc(e,t=!1,n=!1){t&&Er(t);const{props:r,children:s}=e.vnode,o=li(e);Ql(e,r,o,t),nc(e,s,n);const i=o?Mc(e,t):void 0;return t&&Er(!1),i}function Mc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bl);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ai(e):null,o=Gt(e);et();const i=Xe(r,e,0,[e.props,s]);if(tt(),o(),Ys(i)){if(i.then(ws,ws),t)return i.then(l=>{Es(e,l,t)}).catch(l=>{Wt(l,e,0)});e.asyncDep=i}else Es(e,i,t)}else ci(e,t)}function Es(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=wo(t)),ci(e,n)}let Cs;function ci(e,t,n){const r=e.type;if(!e.render){if(!t&&Cs&&!r.render){const s=r.template||Vr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,f=ue(ue({isCustomElement:o,delimiters:l},i),c);r.render=Cs(s,f)}}e.render=r.render||Te}{const s=Gt(e);et();try{Kl(e)}finally{tt(),s()}}}const Ic={get(e,t){return be(e,"get",""),e[t]}};function ai(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ic),slots:e.slots,emit:e.emit,expose:t}}function kn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wo(hn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Pt)return Pt[n](e)},has(t,n){return n in t||n in Pt}})):e.proxy}function Pc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Nc(e){return K(e)&&"__vccOpts"in e}const oe=(e,t)=>gl(e,t,Xt);function Cr(e,t,n){const r=arguments.length;return r===2?Z(t)&&!k(t)?Cn(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),ie(e,t,n))}const Fc="3.4.32";/**
+* @vue/runtime-dom v3.4.32
+* (c) 2018-present Yuxi (Evan) You and Vue contributors
+* @license MIT
+**/const $c="http://www.w3.org/2000/svg",Hc="http://www.w3.org/1998/Math/MathML",$e=typeof document<"u"?document:null,Ss=$e&&$e.createElement("template"),jc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?$e.createElementNS($c,e):t==="mathml"?$e.createElementNS(Hc,e):n?$e.createElement(e,{is:n}):$e.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>$e.createTextNode(e),createComment:e=>$e.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$e.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Ss.innerHTML=r==="svg"?`${e} `:r==="mathml"?`${e} `:e;const l=Ss.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ue="transition",Ot="animation",Bt=Symbol("_vtc"),fi=(e,{slots:t})=>Cr(Il,Vc(e),t);fi.displayName="Transition";const ui={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};fi.props=ue({},xo,ui);const st=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},xs=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Vc(e){const t={};for(const S in e)S in ui||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:u=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,x=Dc(s),O=x&&x[0],B=x&&x[1],{onBeforeEnter:W,onEnter:D,onEnterCancelled:p,onLeave:y,onLeaveCancelled:I,onBeforeAppear:T=W,onAppear:F=D,onAppearCancelled:$=p}=t,M=(S,G,ee)=>{ot(S,G?u:l),ot(S,G?f:i),ee&&ee()},_=(S,G)=>{S._isLeaving=!1,ot(S,h),ot(S,v),ot(S,m),G&&G()},N=S=>(G,ee)=>{const re=S?F:D,U=()=>M(G,S,ee);st(re,[G,U]),Ts(()=>{ot(G,S?c:o),ke(G,S?u:l),xs(re)||As(G,r,O,U)})};return ue(t,{onBeforeEnter(S){st(W,[S]),ke(S,o),ke(S,i)},onBeforeAppear(S){st(T,[S]),ke(S,c),ke(S,f)},onEnter:N(!1),onAppear:N(!0),onLeave(S,G){S._isLeaving=!0;const ee=()=>_(S,G);ke(S,h),ke(S,m),Bc(),Ts(()=>{S._isLeaving&&(ot(S,h),ke(S,v),xs(y)||As(S,r,B,ee))}),st(y,[S,ee])},onEnterCancelled(S){M(S,!1),st(p,[S])},onAppearCancelled(S){M(S,!0),st($,[S])},onLeaveCancelled(S){_(S),st(I,[S])}})}function Dc(e){if(e==null)return null;if(Z(e))return[Qn(e.enter),Qn(e.leave)];{const t=Qn(e);return[t,t]}}function Qn(e){return Hi(e)}function ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Bt];n&&(n.delete(t),n.size||(e[Bt]=void 0))}function Ts(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Uc=0;function As(e,t,n,r){const s=e._endId=++Uc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=kc(e,t);if(!i)return r();const f=i+"end";let u=0;const h=()=>{e.removeEventListener(f,m),o()},m=v=>{v.target===e&&++u>=c&&h()};setTimeout(()=>{u(n[x]||"").split(", "),s=r(`${Ue}Delay`),o=r(`${Ue}Duration`),i=Rs(s,o),l=r(`${Ot}Delay`),c=r(`${Ot}Duration`),f=Rs(l,c);let u=null,h=0,m=0;t===Ue?i>0&&(u=Ue,h=i,m=o.length):t===Ot?f>0&&(u=Ot,h=f,m=c.length):(h=Math.max(i,f),u=h>0?i>f?Ue:Ot:null,m=u?u===Ue?o.length:c.length:0);const v=u===Ue&&/\b(transform|all)(,|$)/.test(r(`${Ue}Property`).toString());return{type:u,timeout:h,propCount:m,hasTransform:v}}function Rs(e,t){for(;e.lengthOs(n)+Os(e[r])))}function Os(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Bc(){return document.body.offsetHeight}function Kc(e,t,n){const r=e[Bt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const xn=Symbol("_vod"),di=Symbol("_vsh"),Af={beforeMount(e,{value:t},{transition:n}){e[xn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Lt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Lt(e,!0),r.enter(e)):r.leave(e,()=>{Lt(e,!1)}):Lt(e,t))},beforeUnmount(e,{value:t}){Lt(e,t)}};function Lt(e,t){e.style.display=t?e[xn]:"none",e[di]=!t}const Wc=Symbol(""),qc=/(^|;)\s*display\s*:/;function Gc(e,t,n){const r=e.style,s=se(n);let o=!1;if(n&&!s){if(t)if(se(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&gn(r,l,"")}else for(const i in t)n[i]==null&&gn(r,i,"");for(const i in n)i==="display"&&(o=!0),gn(r,i,n[i])}else if(s){if(t!==n){const i=r[Wc];i&&(n+=";"+i),r.cssText=n,o=qc.test(n)}}else t&&e.removeAttribute("style");xn in e&&(e[xn]=o?r.display:"",e[di]&&(r.display="none"))}const Ls=/\s*!important$/;function gn(e,t,n){if(k(n))n.forEach(r=>gn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Xc(e,t);Ls.test(n)?e.setProperty(Ze(r),n.replace(Ls,""),"important"):e[r]=n}}const Ms=["Webkit","Moz","ms"],Zn={};function Xc(e,t){const n=Zn[t];if(n)return n;let r=Oe(t);if(r!=="filter"&&r in e)return Zn[t]=r;r=Rn(r);for(let s=0;ser||(Zc.then(()=>er=0),er=Date.now());function ta(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ae(na(r,n.value),t,5,[r])};return n.value=e,n.attached=ea(),n}function na(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const $s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ra=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Kc(e,r,i):t==="style"?Gc(e,n,r):Kt(t)?xr(t)||Jc(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sa(e,t,r,i))?(Yc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ps(e,t,r,i,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ps(e,t,r,i))};function sa(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&$s(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return $s(t)&&se(n)?!1:t in e}const Hs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>dn(t,n):t};function oa(e){e.target.composing=!0}function js(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const tr=Symbol("_assign"),Rf={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[tr]=Hs(s);const o=r||s.props&&s.props.type==="number";mt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=ur(l)),e[tr](l)}),n&&mt(e,"change",()=>{e.value=e.value.trim()}),t||(mt(e,"compositionstart",oa),mt(e,"compositionend",js),mt(e,"change",js))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[tr]=Hs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?ur(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},ia=["ctrl","shift","alt","meta"],la={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ia.some(n=>e[`${n}Key`]&&!t.includes(n))},Of=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Ze(s.key);if(t.some(i=>i===o||ca[i]===o))return e(s)})},hi=ue({patchProp:ra},jc);let jt,Vs=!1;function aa(){return jt||(jt=fc(hi))}function fa(){return jt=Vs?jt:uc(hi),Vs=!0,jt}const Mf=(...e)=>{aa().render(...e)},If=(...e)=>{const t=fa().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=da(r);if(s)return n(s,!0,ua(s))},t};function ua(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function da(e){return se(e)?document.querySelector(e):e}const Pf=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},ha="modulepreload",pa=function(e){return"/"+e},Ds={},Nf=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=pa(l),l in Ds)return;Ds[l]=!0;const c=l.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${f}`))return;const u=document.createElement("link");if(u.rel=c?"stylesheet":ha,c||(u.as="script",u.crossOrigin=""),u.href=l,i&&u.setAttribute("nonce",i),document.head.appendChild(u),c)return new Promise((h,m)=>{u.addEventListener("load",h),u.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},ga=window.__VP_SITE_DATA__;function Br(e){return ro()?(Gi(e),!0):!1}function Ye(e){return typeof e=="function"?e():vo(e)}const pi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ma=Object.prototype.toString,ya=e=>ma.call(e)==="[object Object]",gi=()=>{},Us=_a();function _a(){var e,t;return pi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ba(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const mi=e=>e();function va(e=mi){const t=le(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Pn(t),pause:n,resume:r,eventFilter:s}}function wa(e){return Un()}function yi(...e){if(e.length!==1)return El(...e);const t=e[0];return typeof t=="function"?Pn(bl(()=>({get:t,set:gi}))):le(t)}function Ea(e,t,n={}){const{eventFilter:r=mi,...s}=n;return Ne(e,ba(r,t),s)}function Ca(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=va(r);return{stop:Ea(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function Kr(e,t=!0,n){wa()?Tt(e,n):t?e():Nn(e)}function _i(e){var t;const n=Ye(e);return(t=n==null?void 0:n.$el)!=null?t:n}const je=pi?window:void 0;function xt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=je):[t,n,r,s]=e,!t)return gi;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(u=>u()),o.length=0},l=(u,h,m,v)=>(u.addEventListener(h,m,v),()=>u.removeEventListener(h,m,v)),c=Ne(()=>[_i(t),Ye(s)],([u,h])=>{if(i(),!u)return;const m=ya(h)?{...h}:h;o.push(...n.flatMap(v=>r.map(x=>l(u,v,x,m))))},{immediate:!0,flush:"post"}),f=()=>{c(),i()};return Br(f),f}function Sa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Ff(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=je,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=Sa(t);return xt(s,o,u=>{u.repeat&&Ye(l)||c(u)&&n(u)},i)}function xa(){const e=le(!1),t=Un();return t&&Tt(()=>{e.value=!0},t),e}function Ta(e){const t=xa();return oe(()=>(t.value,!!e()))}function bi(e,t={}){const{window:n=je}=t,r=Ta(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=le(!1),i=f=>{o.value=f.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Jo(()=>{r.value&&(l(),s=n.matchMedia(Ye(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return Br(()=>{c(),l(),s=void 0}),o}const cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},an="__vueuse_ssr_handlers__",Aa=Ra();function Ra(){return an in cn||(cn[an]=cn[an]||{}),cn[an]}function vi(e,t){return Aa[e]||t}function Oa(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const La={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ks="vueuse-storage";function Ma(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:u,window:h=je,eventFilter:m,onError:v=_=>{console.error(_)},initOnMounted:x}=r,O=(u?_o:le)(typeof t=="function"?t():t);if(!n)try{n=vi("getDefaultStorage",()=>{var _;return(_=je)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return O;const B=Ye(t),W=Oa(B),D=(s=r.serializer)!=null?s:La[W],{pause:p,resume:y}=Ca(O,()=>T(O.value),{flush:o,deep:i,eventFilter:m});h&&l&&Kr(()=>{xt(h,"storage",$),xt(h,ks,M),x&&$()}),x||$();function I(_,N){h&&h.dispatchEvent(new CustomEvent(ks,{detail:{key:e,oldValue:_,newValue:N,storageArea:n}}))}function T(_){try{const N=n.getItem(e);if(_==null)I(N,null),n.removeItem(e);else{const S=D.write(_);N!==S&&(n.setItem(e,S),I(N,S))}}catch(N){v(N)}}function F(_){const N=_?_.newValue:n.getItem(e);if(N==null)return c&&B!=null&&n.setItem(e,D.write(B)),B;if(!_&&f){const S=D.read(N);return typeof f=="function"?f(S,B):W==="object"&&!Array.isArray(S)?{...B,...S}:S}else return typeof N!="string"?N:D.read(N)}function $(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){O.value=B;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==D.write(O.value)&&(O.value=F(_))}catch(N){v(N)}finally{_?Nn(y):y()}}}}function M(_){$(_.detail)}return O}function wi(e){return bi("(prefers-color-scheme: dark)",e)}function Ia(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=je,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:u=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=wi({window:s}),v=oe(()=>m.value?"dark":"light"),x=c||(i==null?yi(r):Ma(i,r,o,{window:s,listenToStorageChanges:l})),O=oe(()=>x.value==="auto"?v.value:x.value),B=vi("updateHTMLAttrs",(y,I,T)=>{const F=typeof y=="string"?s==null?void 0:s.document.querySelector(y):_i(y);if(!F)return;let $;if(u&&($=s.document.createElement("style"),$.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild($)),I==="class"){const M=T.split(/\s/g);Object.values(h).flatMap(_=>(_||"").split(/\s/g)).filter(Boolean).forEach(_=>{M.includes(_)?F.classList.add(_):F.classList.remove(_)})}else F.setAttribute(I,T);u&&(s.getComputedStyle($).opacity,document.head.removeChild($))});function W(y){var I;B(t,n,(I=h[y])!=null?I:y)}function D(y){e.onChanged?e.onChanged(y,W):W(y)}Ne(O,D,{flush:"post",immediate:!0}),Kr(()=>D(O.value));const p=oe({get(){return f?x.value:O.value},set(y){x.value=y}});try{return Object.assign(p,{store:x,system:v,state:O})}catch{return p}}function Pa(e={}){const{valueDark:t="dark",valueLight:n="",window:r=je}=e,s=Ia({...e,onChanged:(l,c)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=oe(()=>s.system?s.system.value:wi({window:r}).value?"dark":"light");return oe({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function nr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ei(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const rr=new WeakMap;function $f(e,t=!1){const n=le(t);let r=null,s="";Ne(yi(e),l=>{const c=nr(Ye(l));if(c){const f=c;if(rr.get(f)||rr.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(s=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=nr(Ye(e));!l||n.value||(Us&&(r=xt(l,"touchmove",c=>{Na(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=nr(Ye(e));!l||!n.value||(Us&&(r==null||r()),l.style.overflow=s,rr.delete(l),n.value=!1)};return Br(i),oe({get(){return n.value},set(l){l?o():i()}})}function Hf(e={}){const{window:t=je,behavior:n="auto"}=e;if(!t)return{x:le(0),y:le(0)};const r=le(t.scrollX),s=le(t.scrollY),o=oe({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=oe({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return xt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function jf(e={}){const{window:t=je,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=le(n),l=le(r),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Kr(c),xt("resize",c,{passive:!0}),s){const f=bi("(orientation: portrait)");Ne(f,()=>c())}return{width:i,height:l}}var sr={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},or={};const Ci=/^(?:[a-z]+:|\/\/)/i,Fa="vitepress-theme-appearance",$a=/#.*$/,Ha=/[?#].*$/,ja=/(?:(^|\/)index)?\.(?:md|html)$/,de=typeof document<"u",Si={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Va(e,t,n=!1){if(t===void 0)return!1;if(e=Bs(`/${e}`),n)return new RegExp(t).test(e);if(Bs(t)!==e)return!1;const r=t.match($a);return r?(de?location.hash:"")===r[0]:!0}function Bs(e){return decodeURI(e).replace(Ha,"").replace(ja,"$1")}function Da(e){return Ci.test(e)}function Ua(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Da(n)&&Va(t,`/${n}/`,!0))||"root"}function ka(e,t){var r,s,o,i,l,c,f;const n=Ua(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ti(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function xi(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=Ba(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function Ba(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Ka(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function Ti(e,t){return[...e.filter(n=>!Ka(t,n)),...t]}const Wa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,qa=/^[a-z]:/i;function Ks(e){const t=qa.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Wa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ir=new Set;function Ga(e){if(ir.size===0){const n=typeof process=="object"&&(or==null?void 0:or.VITE_EXTRA_EXTENSIONS)||(sr==null?void 0:sr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>ir.add(r))}const t=e.split(".").pop();return t==null||!ir.has(t.toLowerCase())}const Xa=Symbol(),ut=_o(ga);function Vf(e){const t=oe(()=>ka(ut.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?le(!0):n?Pa({storageKey:Fa,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):le(!1),s=le(de?location.hash:"");return de&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Ne(()=>e.data,()=>{s.value=de?location.hash:""}),{site:t,theme:oe(()=>t.value.themeConfig),page:oe(()=>e.data),frontmatter:oe(()=>e.data.frontmatter),params:oe(()=>e.data.params),lang:oe(()=>t.value.lang),dir:oe(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:oe(()=>t.value.localeIndex||"root"),title:oe(()=>xi(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:r,hash:oe(()=>s.value)}}function Ya(){const e=Ct(Xa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function za(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ws(e){return Ci.test(e)||!e.startsWith("/")?e:za(ut.value.base,e)}function Ja(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),de){const n="/";t=Ks(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${Ks(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let mn=[];function Df(e){mn.push(e),jn(()=>{mn=mn.filter(t=>t!==e)})}function Qa(){let e=ut.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=qs(e,n);else if(Array.isArray(e))for(const r of e){const s=qs(r,n);if(s){t=s;break}}return t}function qs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Za=Symbol(),Ai="http://a.com",ef=()=>({path:"/",component:null,data:Si});function Uf(e,t){const n=In(ef()),r={route:n,go:s};async function s(l=de?location.href:"/"){var c,f;l=lr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(de&&l!==lr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((f=r.onAfterRouteChanged)==null?void 0:f.call(r,l)))}let o=null;async function i(l,c=0,f=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const u=new URL(l,Ai),h=o=u.pathname;try{let v=await e(h);if(!v)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:x,__pageData:O}=v;if(!x)throw new Error(`Invalid route component: ${x}`);n.path=de?h:Ws(h),n.component=hn(x),n.data=hn(O),de&&Nn(()=>{let B=ut.value.base+O.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ut.value.cleanUrls&&!B.endsWith("/")&&(B+=".html"),B!==u.pathname&&(u.pathname=B,l=B+u.search+u.hash,history.replaceState({},"",l)),u.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(u.hash).slice(1))}catch(D){console.warn(D)}if(W){Gs(W,u.hash);return}}window.scrollTo(0,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!f)try{const x=await fetch(ut.value.base+"hashmap.json");window.__VP_HASH_MAP__=await x.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=de?h:Ws(h),n.component=t?hn(t):null;const x=de?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Si,relativePath:x}}}}return de&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:u,origin:h,pathname:m,hash:v,search:x}=new URL(f,c.baseURI),O=new URL(location.href);h===O.origin&&Ga(m)&&(l.preventDefault(),m===O.pathname&&x===O.search?(v!==O.hash&&(history.pushState({},"",u),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:O.href,newURL:u}))),v?Gs(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(u))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(lr(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function tf(){const e=Ct(Za);if(!e)throw new Error("useRouter() is called without provider.");return e}function Ri(){return tf().route}function Gs(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(r).paddingTop,10),i=window.scrollY+r.getBoundingClientRect().top-Qa()+o;requestAnimationFrame(s)}}function lr(e){const t=new URL(e,Ai);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ut.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const cr=()=>mn.forEach(e=>e()),kf=Hr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Ri(),{site:n}=Ya();return()=>Cr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Cr(t.component,{onVnodeMounted:cr,onVnodeUpdated:cr,onVnodeUnmounted:cr}):"404 Page Not Found"])}}),Bf="/leaderboard.png",Kf="/logo.png",Wf=Hr({setup(e,{slots:t}){const n=le(!1);return Tt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function qf(){de&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(f=>f.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Gf(){if(de){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(u=>u.remove());let f=c.textContent||"";i&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),nf(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const u=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,u)})}})}}async function nf(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function Xf(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=ar(l);for(const f of document.head.children)if(f.isEqualNode(c)){r.push(f);return}});return}const i=o.map(ar);r.forEach((l,c)=>{const f=i.findIndex(u=>u==null?void 0:u.isEqualNode(l??null));f!==-1?delete i[f]:(l==null||l.remove(),delete r[c])}),i.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...i].filter(Boolean)};Jo(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],f=xi(i,o);f!==document.title&&(document.title=f);const u=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==u&&h.setAttribute("content",u):ar(["meta",{name:"description",content:u}]),s(Ti(i.head,sf(c)))})}function ar([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function rf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function sf(e){return e.filter(t=>!rf(t))}const fr=new Set,Oi=()=>document.createElement("link"),of=e=>{const t=Oi();t.rel="prefetch",t.href=e,document.head.appendChild(t)},lf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let fn;const cf=de&&(fn=Oi())&&fn.relList&&fn.relList.supports&&fn.relList.supports("prefetch")?of:lf;function Yf(){if(!de||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!fr.has(c)){fr.add(c);const f=Ja(c);f&&cf(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):fr.add(l))})})};Tt(r);const s=Ri();Ne(()=>s.path,r),jn(()=>{n&&n.disconnect()})}export{Lf as $,Cf as A,jl as B,Qa as C,pf as D,mf as E,_e as F,_o as G,Df as H,ie as I,hf as J,Nf as K,gf as L,Ci as M,Ri as N,Tc as O,Ct as P,jf as Q,On as R,Ff as S,fi as T,Nn as U,Hf as V,de as W,Pn as X,$f as Y,Jl as Z,Pf as _,ii as a,bf as a0,Lo as a1,Of as a2,vf as a3,Bf as a4,In as a5,El as a6,yf as a7,af as a8,xc as a9,tf as aA,pe as aa,Ef as ab,Cr as ac,Mf as ad,wf as ae,Hl as af,df as ag,Af as ah,ro as ai,Gi as aj,Kf as ak,Rf as al,xf as am,Xf as an,Za as ao,Vf as ap,Xa as aq,kf as ar,Wf as as,ut as at,If as au,Uf as av,Ja as aw,Yf as ax,Gf as ay,qf as az,ri as b,Sf as c,Hr as d,Tf as e,Ga as f,Ws as g,oe as h,Da as i,oi as j,vo as k,uf as l,Va as m,Ln as n,ti as o,ff as p,bi as q,_f as r,le as s,Ki as t,Ya as u,Ne as v,Ol as w,Jo as x,Tt as y,jn as z};
diff --git a/docs/assets/chunks/framework.IJS20kTW.js b/docs/assets/chunks/framework.IJS20kTW.js
deleted file mode 100644
index 78f77263..00000000
--- a/docs/assets/chunks/framework.IJS20kTW.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
-* @vue/shared v3.4.31
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**//*! #__NO_SIDE_EFFECTS__ */function xr(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const te={},mt=[],xe=()=>{},Li=()=>!1,Bt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sr=e=>e.startsWith("onUpdate:"),le=Object.assign,Tr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ii=Object.prototype.hasOwnProperty,Y=(e,t)=>Ii.call(e,t),k=Array.isArray,yt=e=>Tn(e)==="[object Map]",zs=e=>Tn(e)==="[object Set]",K=e=>typeof e=="function",ne=e=>typeof e=="string",Ze=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Xs=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),Ys=Object.prototype.toString,Tn=e=>Ys.call(e),Mi=e=>Tn(e).slice(8,-1),Js=e=>Tn(e)==="[object Object]",Ar=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_t=xr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),An=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pi=/-(\w)/g,Ne=An(e=>e.replace(Pi,(t,n)=>n?n.toUpperCase():"")),Ni=/\B([A-Z])/g,ft=An(e=>e.replace(Ni,"-$1").toLowerCase()),Rn=An(e=>e.charAt(0).toUpperCase()+e.slice(1)),un=An(e=>e?`on${Rn(e)}`:""),Je=(e,t)=>!Object.is(e,t),fn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},fr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Fi=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Yr;const Zs=()=>Yr||(Yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function On(e){if(k(e)){const t={};for(let n=0;n{if(n){const r=n.split(Hi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ln(e){let t="";if(ne(e))t=e;else if(k(e))for(let n=0;n!!(e&&e.__v_isRef===!0),ki=e=>ne(e)?e:e==null?"":k(e)||Z(e)&&(e.toString===Ys||!K(e.toString))?to(e)?ki(e.value):JSON.stringify(e,no,2):String(e),no=(e,t)=>to(t)?no(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[qn(r,o)+" =>"]=s,n),{})}:zs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qn(n))}:Ze(t)?qn(t):Z(t)&&!k(t)&&!Js(t)?String(t):t,qn=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
-* @vue/reactivity v3.4.31
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/let we;class Bi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),tt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ze,n=ct;try{return ze=!0,ct=this,this._runnings++,Jr(this),this.fn()}finally{Qr(this),this._runnings--,ct=n,ze=t}}stop(){this.active&&(Jr(this),Qr(this),this.onStop&&this.onStop(),this.active=!1)}}function qi(e){return e.value}function Jr(e){e._trackId++,e._depsLength=0}function Qr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},mn=new WeakMap,at=Symbol(""),pr=Symbol("");function be(e,t,n){if(ze&&ct){let r=mn.get(e);r||mn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=co(()=>r.delete(n))),io(ct,s)}}function je(e,t,n,r,s,o){const i=mn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&k(e)){const c=Number(r);i.forEach((u,f)=>{(f==="length"||!Ze(f)&&f>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":k(e)?Ar(n)&&l.push(i.get("length")):(l.push(i.get(at)),yt(e)&&l.push(i.get(pr)));break;case"delete":k(e)||(l.push(i.get(at)),yt(e)&&l.push(i.get(pr)));break;case"set":yt(e)&&l.push(i.get(at));break}Or();for(const c of l)c&&lo(c,4);Lr()}function Gi(e,t){const n=mn.get(e);return n&&n.get(t)}const zi=xr("__proto__,__v_isRef,__isVue"),ao=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze)),Zr=Xi();function Xi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let o=0,i=this.length;o{e[t]=function(...n){et(),Or();const r=J(this)[t].apply(this,n);return Lr(),tt(),r}}),e}function Yi(e){Ze(e)||(e=String(e));const t=J(this);return be(t,"has",e),t.hasOwnProperty(e)}class uo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?al:go:o?po:ho).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=k(t);if(!s){if(i&&Y(Zr,n))return Reflect.get(Zr,n,r);if(n==="hasOwnProperty")return Yi}const l=Reflect.get(t,n,r);return(Ze(n)?ao.has(n):zi(n))||(s||be(t,"get",n),o)?l:pe(l)?i&&Ar(n)?l:l.value:Z(l)?s?Pn(l):Mn(l):l}}class fo extends uo{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=Ht(o);if(!yn(r)&&!Ht(r)&&(o=J(o),r=J(r)),!k(t)&&pe(o)&&!pe(r))return c?!1:(o.value=r,!0)}const i=k(t)&&Ar(n)?Number(n)e,In=e=>Reflect.getPrototypeOf(e);function Yt(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),o=J(t);n||(Je(t,o)&&be(s,"get",t),be(s,"get",o));const{has:i}=In(s),l=r?Ir:n?Nr:jt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Jt(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(Je(e,s)&&be(r,"has",e),be(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Qt(e,t=!1){return e=e.__v_raw,!t&&be(J(e),"iterate",at),Reflect.get(e,"size",e)}function es(e){e=J(e);const t=J(this);return In(t).has.call(t,e)||(t.add(e),je(t,"add",e,e)),this}function ts(e,t){t=J(t);const n=J(this),{has:r,get:s}=In(n);let o=r.call(n,e);o||(e=J(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Je(t,i)&&je(n,"set",e,t):je(n,"add",e,t),this}function ns(e){const t=J(this),{has:n,get:r}=In(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&je(t,"delete",e,void 0),o}function rs(){const e=J(this),t=e.size!==0,n=e.clear();return t&&je(e,"clear",void 0,void 0),n}function Zt(e,t){return function(r,s){const o=this,i=o.__v_raw,l=J(i),c=t?Ir:e?Nr:jt;return!e&&be(l,"iterate",at),i.forEach((u,f)=>r.call(s,c(u),c(f),o))}}function en(e,t,n){return function(...r){const s=this.__v_raw,o=J(s),i=yt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=s[e](...r),f=n?Ir:t?Nr:jt;return!t&&be(o,"iterate",c?pr:at),{next(){const{value:h,done:m}=u.next();return m?{value:h,done:m}:{value:l?[f(h[0]),f(h[1])]:f(h),done:m}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tl(){const e={get(o){return Yt(this,o)},get size(){return Qt(this)},has:Jt,add:es,set:ts,delete:ns,clear:rs,forEach:Zt(!1,!1)},t={get(o){return Yt(this,o,!1,!0)},get size(){return Qt(this)},has:Jt,add:es,set:ts,delete:ns,clear:rs,forEach:Zt(!1,!0)},n={get(o){return Yt(this,o,!0)},get size(){return Qt(this,!0)},has(o){return Jt.call(this,o,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Zt(!0,!1)},r={get(o){return Yt(this,o,!0,!0)},get size(){return Qt(this,!0)},has(o){return Jt.call(this,o,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=en(o,!1,!1),n[o]=en(o,!0,!1),t[o]=en(o,!1,!0),r[o]=en(o,!0,!0)}),[e,n,t,r]}const[nl,rl,sl,ol]=tl();function Mr(e,t){const n=t?e?ol:sl:e?rl:nl;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Y(n,s)&&s in r?n:r,s,o)}const il={get:Mr(!1,!1)},ll={get:Mr(!1,!0)},cl={get:Mr(!0,!1)};const ho=new WeakMap,po=new WeakMap,go=new WeakMap,al=new WeakMap;function ul(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fl(e){return e.__v_skip||!Object.isExtensible(e)?0:ul(Mi(e))}function Mn(e){return Ht(e)?e:Pr(e,!1,Qi,il,ho)}function dl(e){return Pr(e,!1,el,ll,po)}function Pn(e){return Pr(e,!0,Zi,cl,go)}function Pr(e,t,n,r,s){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=fl(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Ot(e){return Ht(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function Ht(e){return!!(e&&e.__v_isReadonly)}function yn(e){return!!(e&&e.__v_isShallow)}function mo(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function dn(e){return Object.isExtensible(e)&&Qs(e,"__v_skip",!0),e}const jt=e=>Z(e)?Mn(e):e,Nr=e=>Z(e)?Pn(e):e;class yo{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Rr(()=>t(this._value),()=>Lt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&Je(t._value,t._value=t.effect.run())&&Lt(t,4),Fr(t),t.effect._dirtyLevel>=2&&Lt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function hl(e,t,n=!1){let r,s;const o=K(e);return o?(r=e,s=xe):(r=e.get,s=e.set),new yo(r,s,o||!s,n)}function Fr(e){var t;ze&&ct&&(e=J(e),io(ct,(t=e.dep)!=null?t:e.dep=co(()=>e.dep=void 0,e instanceof yo?e:void 0)))}function Lt(e,t=4,n,r){e=J(e);const s=e.dep;s&&lo(s,t)}function pe(e){return!!(e&&e.__v_isRef===!0)}function ie(e){return bo(e,!1)}function _o(e){return bo(e,!0)}function bo(e,t){return pe(e)?e:new pl(e,t)}class pl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:jt(t)}get value(){return Fr(this),this._value}set value(t){const n=this.__v_isShallow||yn(t)||Ht(t);t=n?t:J(t),Je(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:jt(t),Lt(this,4))}}function vo(e){return pe(e)?e.value:e}const gl={get:(e,t,n)=>vo(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return pe(s)&&!pe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function wo(e){return Ot(e)?e:new Proxy(e,gl)}class ml{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Fr(this),()=>Lt(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function yl(e){return new ml(e)}class _l{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Gi(J(this._object),this._key)}}class bl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function vl(e,t,n){return pe(e)?e:K(e)?new bl(e):Z(e)&&arguments.length>1?wl(e,t,n):ie(e)}function wl(e,t,n){const r=e[t];return pe(r)?r:new _l(e,t,n)}/**
-* @vue/runtime-core v3.4.31
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/function Xe(e,t,n,r){try{return r?e(...r):e()}catch(s){Kt(s,t,n)}}function Se(e,t,n,r){if(K(e)){const s=Xe(e,t,n,r);return s&&Xs(s)&&s.catch(o=>{Kt(o,t,n)}),s}if(k(e)){const s=[];for(let o=0;o>>1,s=he[r],o=Dt(s);oMe&&he.splice(t,1)}function Sl(e){k(e)?bt.push(...e):(!Ke||!Ke.includes(e,e.allowRecurse?it+1:it))&&bt.push(e),Co()}function ss(e,t,n=Vt?Me+1:0){for(;nDt(n)-Dt(r));if(bt.length=0,Ke){Ke.push(...t);return}for(Ke=t,it=0;ite.id==null?1/0:e.id,Tl=(e,t)=>{const n=Dt(e)-Dt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xo(e){gr=!1,Vt=!0,he.sort(Tl);try{for(Me=0;Mene(_)?_.trim():_)),h&&(s=n.map(fr))}let l,c=r[l=un(t)]||r[l=un(Ne(t))];!c&&o&&(c=r[l=un(ft(t))]),c&&Se(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Se(u,e,6,s)}}function So(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const f=So(u,t,!0);f&&(l=!0,le(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&r.set(e,null),null):(k(o)?o.forEach(c=>i[c]=null):le(i,o),Z(e)&&r.set(e,i),i)}function $n(e,t){return!e||!Bt(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,ft(t))||Y(e,t))}let fe=null,Hn=null;function bn(e){const t=fe;return fe=e,Hn=e&&e.type.__scopeId||null,t}function ou(e){Hn=e}function iu(){Hn=null}function Rl(e,t=fe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&vs(-1);const o=bn(t);let i;try{i=e(...s)}finally{bn(o),r._d&&vs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Gn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:f,props:h,data:m,setupState:_,ctx:S,inheritAttrs:I}=e,B=bn(e);let W,V;try{if(n.shapeFlag&4){const y=s||r,M=y;W=Ae(u.call(M,y,f,h,_,m,S)),V=l}else{const y=t;W=Ae(y.length>1?y(h,{attrs:l,slots:i,emit:c}):y(h,null)),V=t.props?l:Ol(l)}}catch(y){Ft.length=0,Kt(y,e,1),W=oe(me)}let p=W;if(V&&I!==!1){const y=Object.keys(V),{shapeFlag:M}=p;y.length&&M&7&&(o&&y.some(Sr)&&(V=Ll(V,o)),p=Qe(p,V,!1,!0))}return n.dirs&&(p=Qe(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),W=p,bn(B),W}const Ol=e=>{let t;for(const n in e)(n==="class"||n==="style"||Bt(n))&&((t||(t={}))[n]=e[n]);return t},Ll=(e,t)=>{const n={};for(const r in e)(!Sr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Il(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?os(r,i,u):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function Ro(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):Sl(e)}function jn(e,t,n=ue,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{et();const l=qt(n),c=Se(t,n,e,i);return l(),tt(),c});return r?s.unshift(o):s.push(o),o}}const De=e=>(t,n=ue)=>{(!Gt||e==="sp")&&jn(e,(...r)=>t(...r),n)},Nl=De("bm"),xt=De("m"),Fl=De("bu"),$l=De("u"),Oo=De("bum"),Vn=De("um"),Hl=De("sp"),jl=De("rtg"),Vl=De("rtc");function Dl(e,t=ue){jn("ec",e,t)}function au(e,t){if(fe===null)return e;const n=kn(fe),r=e.dirs||(e.dirs=[]);for(let s=0;st(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}/*! #__NO_SIDE_EFFECTS__ */function jr(e,t){return K(e)?le({name:e.name},t,{setup:e}):e}const vt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function du(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,u,f=0;const h=()=>(f++,c=null,m()),m=()=>{let _;return c||(_=c=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),l)return new Promise((I,B)=>{l(S,()=>I(h()),()=>B(S),f+1)});throw S}).then(S=>_!==c&&c?c:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),u=S,S)))};return jr({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return u},setup(){const _=ue;if(u)return()=>zn(u,_);const S=V=>{c=null,Kt(V,_,13,!r)};if(i&&_.suspense||Gt)return m().then(V=>()=>zn(V,_)).catch(V=>(S(V),()=>r?oe(r,{error:V}):null));const I=ie(!1),B=ie(),W=ie(!!s);return s&&setTimeout(()=>{W.value=!1},s),o!=null&&setTimeout(()=>{if(!I.value&&!B.value){const V=new Error(`Async component timed out after ${o}ms.`);S(V),B.value=V}},o),m().then(()=>{I.value=!0,_.parent&&Wt(_.parent.vnode)&&(_.parent.effect.dirty=!0,Fn(_.parent.update))}).catch(V=>{S(V),B.value=V}),()=>{if(I.value&&u)return zn(u,_);if(B.value&&r)return oe(r,{error:B.value});if(n&&!W.value)return oe(n)}}})}function zn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=oe(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}function hu(e,t,n={},r,s){if(fe.isCE||fe.parent&&vt(fe.parent)&&fe.parent.isCE)return t!=="default"&&(n.name=t),oe("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Zo();const i=o&&Lo(o(n)),l=ti(_e,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Lo(e){return e.some(t=>Cn(t)?!(t.type===me||t.type===_e&&!Lo(t.children)):!0)?e:null}function pu(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:un(r)]=e[r];return n}const mr=e=>e?oi(e)?kn(e):mr(e.parent):null,It=le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mr(e.parent),$root:e=>mr(e.root),$emit:e=>e.emit,$options:e=>Vr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Fn(e.update)}),$nextTick:e=>e.n||(e.n=Nn.bind(e.proxy)),$watch:e=>ac.bind(e)}),Xn=(e,t)=>e!==te&&!e.__isScriptSetup&&Y(e,t),Ul={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const _=i[t];if(_!==void 0)switch(_){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Xn(r,t))return i[t]=1,r[t];if(s!==te&&Y(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&Y(u,t))return i[t]=3,o[t];if(n!==te&&Y(n,t))return i[t]=4,n[t];yr&&(i[t]=0)}}const f=It[t];let h,m;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&Y(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,Y(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Xn(s,t)?(s[t]=n,!0):r!==te&&Y(r,t)?(r[t]=n,!0):Y(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==te&&Y(e,i)||Xn(t,i)||(l=o[0])&&Y(l,i)||Y(r,i)||Y(It,i)||Y(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gu(){return Io().slots}function mu(){return Io().attrs}function Io(){const e=Un();return e.setupContext||(e.setupContext=li(e))}function ls(e){return k(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let yr=!0;function kl(e){const t=Vr(e),n=e.proxy,r=e.ctx;yr=!1,t.beforeCreate&&cs(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:m,beforeUpdate:_,updated:S,activated:I,deactivated:B,beforeDestroy:W,beforeUnmount:V,destroyed:p,unmounted:y,render:M,renderTracked:A,renderTriggered:F,errorCaptured:$,serverPrefetch:L,expose:w,inheritAttrs:N,components:T,directives:G,filters:re}=t;if(u&&Bl(u,r,null),i)for(const X in i){const j=i[X];K(j)&&(r[X]=j.bind(n))}if(s){const X=s.call(n,n);Z(X)&&(e.data=Mn(X))}if(yr=!0,o)for(const X in o){const j=o[X],Fe=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):xe,zt=!K(j)&&K(j.set)?j.set.bind(n):xe,nt=se({get:Fe,set:zt});Object.defineProperty(r,X,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Oe=>nt.value=Oe})}if(l)for(const X in l)Mo(l[X],r,n,X);if(c){const X=K(c)?c.call(n):c;Reflect.ownKeys(X).forEach(j=>{Xl(j,X[j])})}f&&cs(f,e,"c");function D(X,j){k(j)?j.forEach(Fe=>X(Fe.bind(n))):j&&X(j.bind(n))}if(D(Nl,h),D(xt,m),D(Fl,_),D($l,S),D(uc,I),D(fc,B),D(Dl,$),D(Vl,A),D(jl,F),D(Oo,V),D(Vn,y),D(Hl,L),k(w))if(w.length){const X=e.exposed||(e.exposed={});w.forEach(j=>{Object.defineProperty(X,j,{get:()=>n[j],set:Fe=>n[j]=Fe})})}else e.exposed||(e.exposed={});M&&e.render===xe&&(e.render=M),N!=null&&(e.inheritAttrs=N),T&&(e.components=T),G&&(e.directives=G)}function Bl(e,t,n=xe){k(e)&&(e=_r(e));for(const r in e){const s=e[r];let o;Z(s)?"default"in s?o=wt(s.from||r,s.default,!0):o=wt(s.from||r):o=wt(s),pe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function cs(e,t,n){Se(k(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mo(e,t,n,r){const s=r.includes(".")?qo(n,r):()=>n[r];if(ne(e)){const o=t[e];K(o)&&Pe(s,o)}else if(K(e))Pe(s,e.bind(n));else if(Z(e))if(k(e))e.forEach(o=>Mo(o,t,n,r));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Pe(s,o,e)}}function Vr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>vn(c,u,i,!0)),vn(c,t,i)),Z(t)&&o.set(t,c),c}function vn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&vn(e,o,n,!0),s&&s.forEach(i=>vn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Kl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Kl={data:as,props:us,emits:us,methods:Rt,computed:Rt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Rt,directives:Rt,watch:ql,provide:as,inject:Wl};function as(e,t){return t?e?function(){return le(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Wl(e,t){return Rt(_r(e),_r(t))}function _r(e){if(k(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const No={},Fo=()=>Object.create(No),$o=e=>Object.getPrototypeOf(e)===No;function Yl(e,t,n,r=!1){const s={},o=Fo();e.propsDefaults=Object.create(null),Ho(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:dl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Jl(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,_]=jo(h,t,!0);le(i,m),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return Z(e)&&r.set(e,mt),mt;if(k(o))for(let f=0;f-1,_[1]=I<0||S-1||Y(_,"default"))&&l.push(h)}}}const u=[i,l];return Z(e)&&r.set(e,u),u}function fs(e){return e[0]!=="$"&&!_t(e)}function ds(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function hs(e,t){return ds(e)===ds(t)}function ps(e,t){return k(t)?t.findIndex(n=>hs(n,e)):K(t)&&hs(t,e)?0:-1}const Vo=e=>e[0]==="_"||e==="$stable",Dr=e=>k(e)?e.map(Ae):[Ae(e)],Ql=(e,t,n)=>{if(t._n)return t;const r=Rl((...s)=>Dr(t(...s)),n);return r._c=!1,r},Do=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Vo(s))continue;const o=e[s];if(K(o))t[s]=Ql(s,o,r);else if(o!=null){const i=Dr(o);t[s]=()=>i}}},Uo=(e,t)=>{const n=Dr(t);e.slots.default=()=>n},Zl=(e,t)=>{const n=e.slots=Fo();if(e.vnode.shapeFlag&32){const r=t._;r?(le(n,t),Qs(n,"_",r,!0)):Do(t,n)}else t&&Uo(e,t)},ec=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=te;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(le(s,t),!n&&l===1&&delete s._):(o=!t.$stable,Do(t,s)),i=t}else t&&(Uo(e,t),i={default:1});if(o)for(const l in s)!Vo(l)&&i[l]==null&&delete s[l]};function wn(e,t,n,r,s=!1){if(k(e)){e.forEach((m,_)=>wn(m,t&&(k(t)?t[_]:t),n,r,s));return}if(vt(r)&&!s)return;const o=r.shapeFlag&4?kn(r.component):r.el,i=s?null:o,{i:l,r:c}=e,u=t&&t.r,f=l.refs===te?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(ne(u)?(f[u]=null,Y(h,u)&&(h[u]=null)):pe(u)&&(u.value=null)),K(c))Xe(c,l,12,[i,f]);else{const m=ne(c),_=pe(c);if(m||_){const S=()=>{if(e.f){const I=m?Y(h,c)?h[c]:f[c]:c.value;s?k(I)&&Tr(I,o):k(I)?I.includes(o)||I.push(o):m?(f[c]=[o],Y(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else m?(f[c]=i,Y(h,c)&&(h[c]=i)):_&&(c.value=i,e.k&&(f[e.k]=i))};i?(S.id=-1,ye(S,n)):S()}}}let gs=!1;const pt=()=>{gs||(console.error("Hydration completed but contains mismatches."),gs=!0)},tc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",nc=e=>e.namespaceURI.includes("MathML"),tn=e=>{if(tc(e))return"svg";if(nc(e))return"mathml"},nn=e=>e.nodeType===8;function rc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:u}}=e,f=(p,y)=>{if(!y.hasChildNodes()){n(null,p,y),_n(),y._vnode=p;return}h(y.firstChild,p,null,null,null),_n(),y._vnode=p},h=(p,y,M,A,F,$=!1)=>{$=$||!!y.dynamicChildren;const L=nn(p)&&p.data==="[",w=()=>I(p,y,M,A,F,L),{type:N,ref:T,shapeFlag:G,patchFlag:re}=y;let ce=p.nodeType;y.el=p,re===-2&&($=!1,y.dynamicChildren=null);let D=null;switch(N){case Et:ce!==3?y.children===""?(c(y.el=s(""),i(p),p),D=p):D=w():(p.data!==y.children&&(pt(),p.data=y.children),D=o(p));break;case me:V(p)?(D=o(p),W(y.el=p.content.firstChild,p,M)):ce!==8||L?D=w():D=o(p);break;case Nt:if(L&&(p=o(p),ce=p.nodeType),ce===1||ce===3){D=p;const X=!y.children.length;for(let j=0;j{$=$||!!y.dynamicChildren;const{type:L,props:w,patchFlag:N,shapeFlag:T,dirs:G,transition:re}=y,ce=L==="input"||L==="option";if(ce||N!==-1){G&&Ie(y,null,M,"created");let D=!1;if(V(p)){D=Bo(A,re)&&M&&M.vnode.props&&M.vnode.props.appear;const j=p.content.firstChild;D&&re.beforeEnter(j),W(j,p,M),y.el=p=j}if(T&16&&!(w&&(w.innerHTML||w.textContent))){let j=_(p.firstChild,y,p,M,A,F,$);for(;j;){pt();const Fe=j;j=j.nextSibling,l(Fe)}}else T&8&&p.textContent!==y.children&&(pt(),p.textContent=y.children);if(w)if(ce||!$||N&48)for(const j in w)(ce&&(j.endsWith("value")||j==="indeterminate")||Bt(j)&&!_t(j)||j[0]===".")&&r(p,j,null,w[j],void 0,void 0,M);else w.onClick&&r(p,"onClick",null,w.onClick,void 0,void 0,M);let X;(X=w&&w.onVnodeBeforeMount)&&Ce(X,M,y),G&&Ie(y,null,M,"beforeMount"),((X=w&&w.onVnodeMounted)||G||D)&&Ro(()=>{X&&Ce(X,M,y),D&&re.enter(p),G&&Ie(y,null,M,"mounted")},A)}return p.nextSibling},_=(p,y,M,A,F,$,L)=>{L=L||!!y.dynamicChildren;const w=y.children,N=w.length;for(let T=0;T{const{slotScopeIds:L}=y;L&&(F=F?F.concat(L):L);const w=i(p),N=_(o(p),y,w,M,A,F,$);return N&&nn(N)&&N.data==="]"?o(y.anchor=N):(pt(),c(y.anchor=u("]"),w,N),N)},I=(p,y,M,A,F,$)=>{if(pt(),y.el=null,$){const N=B(p);for(;;){const T=o(p);if(T&&T!==N)l(T);else break}}const L=o(p),w=i(p);return l(p),n(null,y,w,L,M,A,tn(w),F),L},B=(p,y="[",M="]")=>{let A=0;for(;p;)if(p=o(p),p&&nn(p)&&(p.data===y&&A++,p.data===M)){if(A===0)return o(p);A--}return p},W=(p,y,M)=>{const A=y.parentNode;A&&A.replaceChild(p,y);let F=M;for(;F;)F.vnode.el===y&&(F.vnode.el=F.subTree.el=p),F=F.parent},V=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[f,h]}const ye=Ro;function sc(e){return ko(e)}function oc(e){return ko(e,rc)}function ko(e,t){const n=Zs();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:m,setScopeId:_=xe,insertStaticContent:S}=e,I=(a,d,g,b=null,v=null,x=null,O=void 0,C=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!lt(a,d)&&(b=Xt(a),Oe(a,v,x,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:E,ref:P,shapeFlag:U}=d;switch(E){case Et:B(a,d,g,b);break;case me:W(a,d,g,b);break;case Nt:a==null&&V(d,g,b,O);break;case _e:T(a,d,g,b,v,x,O,C,R);break;default:U&1?M(a,d,g,b,v,x,O,C,R):U&6?G(a,d,g,b,v,x,O,C,R):(U&64||U&128)&&E.process(a,d,g,b,v,x,O,C,R,dt)}P!=null&&v&&wn(P,a&&a.ref,x,d||a,!d)},B=(a,d,g,b)=>{if(a==null)r(d.el=l(d.children),g,b);else{const v=d.el=a.el;d.children!==a.children&&u(v,d.children)}},W=(a,d,g,b)=>{a==null?r(d.el=c(d.children||""),g,b):d.el=a.el},V=(a,d,g,b)=>{[a.el,a.anchor]=S(a.children,d,g,b,a.el,a.anchor)},p=({el:a,anchor:d},g,b)=>{let v;for(;a&&a!==d;)v=m(a),r(a,g,b),a=v;r(d,g,b)},y=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=m(a),s(a),a=g;s(d)},M=(a,d,g,b,v,x,O,C,R)=>{d.type==="svg"?O="svg":d.type==="math"&&(O="mathml"),a==null?A(d,g,b,v,x,O,C,R):L(a,d,v,x,O,C,R)},A=(a,d,g,b,v,x,O,C)=>{let R,E;const{props:P,shapeFlag:U,transition:H,dirs:q}=a;if(R=a.el=i(a.type,x,P&&P.is,P),U&8?f(R,a.children):U&16&&$(a.children,R,null,b,v,Yn(a,x),O,C),q&&Ie(a,null,b,"created"),F(R,a,a.scopeId,O,b),P){for(const ee in P)ee!=="value"&&!_t(ee)&&o(R,ee,null,P[ee],x,a.children,b,v,$e);"value"in P&&o(R,"value",null,P.value,x),(E=P.onVnodeBeforeMount)&&Ce(E,b,a)}q&&Ie(a,null,b,"beforeMount");const z=Bo(v,H);z&&H.beforeEnter(R),r(R,d,g),((E=P&&P.onVnodeMounted)||z||q)&&ye(()=>{E&&Ce(E,b,a),z&&H.enter(R),q&&Ie(a,null,b,"mounted")},v)},F=(a,d,g,b,v)=>{if(g&&_(a,g),b)for(let x=0;x{for(let E=R;E{const C=d.el=a.el;let{patchFlag:R,dynamicChildren:E,dirs:P}=d;R|=a.patchFlag&16;const U=a.props||te,H=d.props||te;let q;if(g&&rt(g,!1),(q=H.onVnodeBeforeUpdate)&&Ce(q,g,d,a),P&&Ie(d,a,g,"beforeUpdate"),g&&rt(g,!0),E?w(a.dynamicChildren,E,C,g,b,Yn(d,v),x):O||j(a,d,C,null,g,b,Yn(d,v),x,!1),R>0){if(R&16)N(C,d,U,H,g,b,v);else if(R&2&&U.class!==H.class&&o(C,"class",null,H.class,v),R&4&&o(C,"style",U.style,H.style,v),R&8){const z=d.dynamicProps;for(let ee=0;ee{q&&Ce(q,g,d,a),P&&Ie(d,a,g,"updated")},b)},w=(a,d,g,b,v,x,O)=>{for(let C=0;C{if(g!==b){if(g!==te)for(const C in g)!_t(C)&&!(C in b)&&o(a,C,g[C],null,O,d.children,v,x,$e);for(const C in b){if(_t(C))continue;const R=b[C],E=g[C];R!==E&&C!=="value"&&o(a,C,E,R,O,d.children,v,x,$e)}"value"in b&&o(a,"value",g.value,b.value,O)}},T=(a,d,g,b,v,x,O,C,R)=>{const E=d.el=a?a.el:l(""),P=d.anchor=a?a.anchor:l("");let{patchFlag:U,dynamicChildren:H,slotScopeIds:q}=d;q&&(C=C?C.concat(q):q),a==null?(r(E,g,b),r(P,g,b),$(d.children||[],g,P,v,x,O,C,R)):U>0&&U&64&&H&&a.dynamicChildren?(w(a.dynamicChildren,H,g,v,x,O,C),(d.key!=null||v&&d===v.subTree)&&Ur(a,d,!0)):j(a,d,g,P,v,x,O,C,R)},G=(a,d,g,b,v,x,O,C,R)=>{d.slotScopeIds=C,a==null?d.shapeFlag&512?v.ctx.activate(d,g,b,O,R):re(d,g,b,v,x,O,R):ce(a,d,R)},re=(a,d,g,b,v,x,O)=>{const C=a.component=Sc(a,b,v);if(Wt(a)&&(C.ctx.renderer=dt),Tc(C),C.asyncDep){if(v&&v.registerDep(C,D,O),!a.el){const R=C.subTree=oe(me);W(null,R,d,g)}}else D(C,a,d,g,v,x,O)},ce=(a,d,g)=>{const b=d.component=a.component;if(Il(a,d,g))if(b.asyncDep&&!b.asyncResolved){X(b,d,g);return}else b.next=d,xl(b.update),b.effect.dirty=!0,b.update();else d.el=a.el,b.vnode=d},D=(a,d,g,b,v,x,O)=>{const C=()=>{if(a.isMounted){let{next:P,bu:U,u:H,parent:q,vnode:z}=a;{const ht=Ko(a);if(ht){P&&(P.el=z.el,X(a,P,O)),ht.asyncDep.then(()=>{a.isUnmounted||C()});return}}let ee=P,Q;rt(a,!1),P?(P.el=z.el,X(a,P,O)):P=z,U&&fn(U),(Q=P.props&&P.props.onVnodeBeforeUpdate)&&Ce(Q,q,P,z),rt(a,!0);const ae=Gn(a),Te=a.subTree;a.subTree=ae,I(Te,ae,h(Te.el),Xt(Te),a,v,x),P.el=ae.el,ee===null&&Ml(a,ae.el),H&&ye(H,v),(Q=P.props&&P.props.onVnodeUpdated)&&ye(()=>Ce(Q,q,P,z),v)}else{let P;const{el:U,props:H}=d,{bm:q,m:z,parent:ee}=a,Q=vt(d);if(rt(a,!1),q&&fn(q),!Q&&(P=H&&H.onVnodeBeforeMount)&&Ce(P,ee,d),rt(a,!0),U&&Wn){const ae=()=>{a.subTree=Gn(a),Wn(U,a.subTree,a,v,null)};Q?d.type.__asyncLoader().then(()=>!a.isUnmounted&&ae()):ae()}else{const ae=a.subTree=Gn(a);I(null,ae,g,b,a,v,x),d.el=ae.el}if(z&&ye(z,v),!Q&&(P=H&&H.onVnodeMounted)){const ae=d;ye(()=>Ce(P,ee,ae),v)}(d.shapeFlag&256||ee&&vt(ee.vnode)&&ee.vnode.shapeFlag&256)&&a.a&&ye(a.a,v),a.isMounted=!0,d=g=b=null}},R=a.effect=new Rr(C,xe,()=>Fn(E),a.scope),E=a.update=()=>{R.dirty&&R.run()};E.id=a.uid,rt(a,!0),E()},X=(a,d,g)=>{d.component=a;const b=a.vnode.props;a.vnode=d,a.next=null,Jl(a,d.props,b,g),ec(a,d.children,g),et(),ss(a),tt()},j=(a,d,g,b,v,x,O,C,R=!1)=>{const E=a&&a.children,P=a?a.shapeFlag:0,U=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){zt(E,U,g,b,v,x,O,C,R);return}else if(H&256){Fe(E,U,g,b,v,x,O,C,R);return}}q&8?(P&16&&$e(E,v,x),U!==E&&f(g,U)):P&16?q&16?zt(E,U,g,b,v,x,O,C,R):$e(E,v,x,!0):(P&8&&f(g,""),q&16&&$(U,g,b,v,x,O,C,R))},Fe=(a,d,g,b,v,x,O,C,R)=>{a=a||mt,d=d||mt;const E=a.length,P=d.length,U=Math.min(E,P);let H;for(H=0;HP?$e(a,v,x,!0,!1,U):$(d,g,b,v,x,O,C,R,U)},zt=(a,d,g,b,v,x,O,C,R)=>{let E=0;const P=d.length;let U=a.length-1,H=P-1;for(;E<=U&&E<=H;){const q=a[E],z=d[E]=R?qe(d[E]):Ae(d[E]);if(lt(q,z))I(q,z,g,null,v,x,O,C,R);else break;E++}for(;E<=U&&E<=H;){const q=a[U],z=d[H]=R?qe(d[H]):Ae(d[H]);if(lt(q,z))I(q,z,g,null,v,x,O,C,R);else break;U--,H--}if(E>U){if(E<=H){const q=H+1,z=q H)for(;E<=U;)Oe(a[E],v,x,!0),E++;else{const q=E,z=E,ee=new Map;for(E=z;E<=H;E++){const ve=d[E]=R?qe(d[E]):Ae(d[E]);ve.key!=null&&ee.set(ve.key,E)}let Q,ae=0;const Te=H-z+1;let ht=!1,Gr=0;const St=new Array(Te);for(E=0;E=Te){Oe(ve,v,x,!0);continue}let Le;if(ve.key!=null)Le=ee.get(ve.key);else for(Q=z;Q<=H;Q++)if(St[Q-z]===0&<(ve,d[Q])){Le=Q;break}Le===void 0?Oe(ve,v,x,!0):(St[Le-z]=E+1,Le>=Gr?Gr=Le:ht=!0,I(ve,d[Le],g,null,v,x,O,C,R),ae++)}const zr=ht?ic(St):mt;for(Q=zr.length-1,E=Te-1;E>=0;E--){const ve=z+E,Le=d[ve],Xr=ve+1{const{el:x,type:O,transition:C,children:R,shapeFlag:E}=a;if(E&6){nt(a.component.subTree,d,g,b);return}if(E&128){a.suspense.move(d,g,b);return}if(E&64){O.move(a,d,g,dt);return}if(O===_e){r(x,d,g);for(let U=0;UC.enter(x),v);else{const{leave:U,delayLeave:H,afterLeave:q}=C,z=()=>r(x,d,g),ee=()=>{U(x,()=>{z(),q&&q()})};H?H(x,z,ee):ee()}else r(x,d,g)},Oe=(a,d,g,b=!1,v=!1)=>{const{type:x,props:O,ref:C,children:R,dynamicChildren:E,shapeFlag:P,patchFlag:U,dirs:H,memoIndex:q}=a;if(U===-2&&(v=!1),C!=null&&wn(C,null,g,a,!0),q!=null&&(d.renderCache[q]=void 0),P&256){d.ctx.deactivate(a);return}const z=P&1&&H,ee=!vt(a);let Q;if(ee&&(Q=O&&O.onVnodeBeforeUnmount)&&Ce(Q,d,a),P&6)Oi(a.component,g,b);else{if(P&128){a.suspense.unmount(g,b);return}z&&Ie(a,null,d,"beforeUnmount"),P&64?a.type.remove(a,d,g,dt,b):E&&(x!==_e||U>0&&U&64)?$e(E,d,g,!1,!0):(x===_e&&U&384||!v&&P&16)&&$e(R,d,g),b&&Wr(a)}(ee&&(Q=O&&O.onVnodeUnmounted)||z)&&ye(()=>{Q&&Ce(Q,d,a),z&&Ie(a,null,d,"unmounted")},g)},Wr=a=>{const{type:d,el:g,anchor:b,transition:v}=a;if(d===_e){Ri(g,b);return}if(d===Nt){y(a);return}const x=()=>{s(g),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(a.shapeFlag&1&&v&&!v.persisted){const{leave:O,delayLeave:C}=v,R=()=>O(g,x);C?C(a.el,x,R):R()}else x()},Ri=(a,d)=>{let g;for(;a!==d;)g=m(a),s(a),a=g;s(d)},Oi=(a,d,g)=>{const{bum:b,scope:v,update:x,subTree:O,um:C,m:R,a:E}=a;ms(R),ms(E),b&&fn(b),v.stop(),x&&(x.active=!1,Oe(O,a,d,g)),C&&ye(C,d),ye(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},$e=(a,d,g,b=!1,v=!1,x=0)=>{for(let O=x;Oa.shapeFlag&6?Xt(a.component.subTree):a.shapeFlag&128?a.suspense.next():m(a.anchor||a.el);let Bn=!1;const qr=(a,d,g)=>{a==null?d._vnode&&Oe(d._vnode,null,null,!0):I(d._vnode||null,a,d,null,null,null,g),Bn||(Bn=!0,ss(),_n(),Bn=!1),d._vnode=a},dt={p:I,um:Oe,m:nt,r:Wr,mt:re,mc:$,pc:j,pbc:w,n:Xt,o:e};let Kn,Wn;return t&&([Kn,Wn]=t(dt)),{render:qr,hydrate:Kn,createApp:zl(qr,Kn)}}function Yn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Bo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ur(e,t,n=!1){const r=e.children,s=t.children;if(k(r)&&k(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Ko(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ko(t)}function ms(e){if(e)for(let t=0;twt(lc);function Wo(e,t){return Dn(e,null,t)}function yu(e,t){return Dn(e,null,{flush:"post"})}const rn={};function Pe(e,t,n){return Dn(e,t,n)}function Dn(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:l}=te){if(t&&o){const A=t;t=(...F)=>{A(...F),M()}}const c=ue,u=A=>r===!0?A:Ge(A,r===!1?1:void 0);let f,h=!1,m=!1;if(pe(e)?(f=()=>e.value,h=yn(e)):Ot(e)?(f=()=>u(e),h=!0):k(e)?(m=!0,h=e.some(A=>Ot(A)||yn(A)),f=()=>e.map(A=>{if(pe(A))return A.value;if(Ot(A))return u(A);if(K(A))return Xe(A,c,2)})):K(e)?t?f=()=>Xe(e,c,2):f=()=>(_&&_(),Se(e,c,3,[S])):f=xe,t&&r){const A=f;f=()=>Ge(A())}let _,S=A=>{_=p.onStop=()=>{Xe(A,c,4),_=p.onStop=void 0}},I;if(Gt)if(S=xe,t?n&&Se(t,c,3,[f(),m?[]:void 0,S]):f(),s==="sync"){const A=cc();I=A.__watcherHandles||(A.__watcherHandles=[])}else return xe;let B=m?new Array(e.length).fill(rn):rn;const W=()=>{if(!(!p.active||!p.dirty))if(t){const A=p.run();(r||h||(m?A.some((F,$)=>Je(F,B[$])):Je(A,B)))&&(_&&_(),Se(t,c,3,[A,B===rn?void 0:m&&B[0]===rn?[]:B,S]),B=A)}else p.run()};W.allowRecurse=!!t;let V;s==="sync"?V=W:s==="post"?V=()=>ye(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),V=()=>Fn(W));const p=new Rr(f,xe,V),y=ro(),M=()=>{p.stop(),y&&Tr(y.effects,p)};return t?n?W():B=p.run():s==="post"?ye(p.run.bind(p),c&&c.suspense):p.run(),I&&I.push(M),M}function ac(e,t,n){const r=this.proxy,s=ne(e)?e.includes(".")?qo(r,e):()=>r[e]:e.bind(r,r);let o;K(t)?o=t:(o=t.handler,n=t);const i=qt(this),l=Dn(s,o.bind(r),n);return i(),l}function qo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Ge(r,t,n)});else if(Js(e)){for(const r in e)Ge(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ge(e[r],t,n)}return e}const Wt=e=>e.type.__isKeepAlive;function uc(e,t){Go(e,"a",t)}function fc(e,t){Go(e,"da",t)}function Go(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(jn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Wt(s.parent.vnode)&&dc(r,t,n,s),s=s.parent}}function dc(e,t,n,r){const s=jn(t,e,r,!0);Vn(()=>{Tr(r[t],s)},n)}const We=Symbol("_leaveCb"),sn=Symbol("_enterCb");function hc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xt(()=>{e.isMounted=!0}),Oo(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],zo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},Xo=e=>{const t=e.subTree;return t.component?Xo(t.component):t},pc={name:"BaseTransition",props:zo,setup(e,{slots:t}){const n=Un(),r=hc();return()=>{const s=t.default&&Jo(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const m of s)if(m.type!==me){o=m;break}}const i=J(e),{mode:l}=i;if(r.isLeaving)return Jn(o);const c=ys(o);if(!c)return Jn(o);let u=vr(c,i,r,n,m=>u=m);En(c,u);const f=n.subTree,h=f&&ys(f);if(h&&h.type!==me&&!lt(c,h)&&Xo(n).type!==me){const m=vr(h,i,r,n);if(En(h,m),l==="out-in"&&c.type!==me)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Jn(o);l==="in-out"&&c.type!==me&&(m.delayLeave=(_,S,I)=>{const B=Yo(r,h);B[String(h.key)]=h,_[We]=()=>{S(),_[We]=void 0,delete u.delayedLeave},u.delayedLeave=I})}return o}}},gc=pc;function Yo(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function vr(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:m,onLeave:_,onAfterLeave:S,onLeaveCancelled:I,onBeforeAppear:B,onAppear:W,onAfterAppear:V,onAppearCancelled:p}=t,y=String(e.key),M=Yo(n,e),A=(L,w)=>{L&&Se(L,r,9,w)},F=(L,w)=>{const N=w[1];A(L,w),k(L)?L.every(T=>T.length<=1)&&N():L.length<=1&&N()},$={mode:i,persisted:l,beforeEnter(L){let w=c;if(!n.isMounted)if(o)w=B||c;else return;L[We]&&L[We](!0);const N=M[y];N&<(e,N)&&N.el[We]&&N.el[We](),A(w,[L])},enter(L){let w=u,N=f,T=h;if(!n.isMounted)if(o)w=W||u,N=V||f,T=p||h;else return;let G=!1;const re=L[sn]=ce=>{G||(G=!0,ce?A(T,[L]):A(N,[L]),$.delayedLeave&&$.delayedLeave(),L[sn]=void 0)};w?F(w,[L,re]):re()},leave(L,w){const N=String(e.key);if(L[sn]&&L[sn](!0),n.isUnmounting)return w();A(m,[L]);let T=!1;const G=L[We]=re=>{T||(T=!0,w(),re?A(I,[L]):A(S,[L]),L[We]=void 0,M[N]===e&&delete M[N])};M[N]=e,_?F(_,[L,G]):G()},clone(L){const w=vr(L,t,n,r,s);return s&&s(w),w}};return $}function Jn(e){if(Wt(e))return e=Qe(e),e.children=null,e}function ys(e){if(!Wt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function En(e,t){e.shapeFlag&6&&e.component?En(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Jo(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;oe.__isTeleport,Pt=e=>e&&(e.disabled||e.disabled===""),_s=e=>typeof SVGElement<"u"&&e instanceof SVGElement,bs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,wr=(e,t)=>{const n=e&&e.to;return ne(n)?t?t(n):null:n},yc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,u){const{mc:f,pc:h,pbc:m,o:{insert:_,querySelector:S,createText:I,createComment:B}}=u,W=Pt(t.props);let{shapeFlag:V,children:p,dynamicChildren:y}=t;if(e==null){const M=t.el=I(""),A=t.anchor=I("");_(M,n,r),_(A,n,r);const F=t.target=wr(t.props,S),$=t.targetAnchor=I("");F&&(_($,F),i==="svg"||_s(F)?i="svg":(i==="mathml"||bs(F))&&(i="mathml"));const L=(w,N)=>{V&16&&f(p,w,N,s,o,i,l,c)};W?L(n,A):F&&L(F,$)}else{t.el=e.el;const M=t.anchor=e.anchor,A=t.target=e.target,F=t.targetAnchor=e.targetAnchor,$=Pt(e.props),L=$?n:A,w=$?M:F;if(i==="svg"||_s(A)?i="svg":(i==="mathml"||bs(A))&&(i="mathml"),y?(m(e.dynamicChildren,y,L,s,o,i,l),Ur(e,t,!0)):c||h(e,t,L,w,s,o,i,l,!1),W)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):on(t,n,M,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=wr(t.props,S);N&&on(t,N,null,u,0)}else $&&on(t,A,F,u,1)}Qo(t)},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:l,anchor:c,targetAnchor:u,target:f,props:h}=e;if(f&&s(u),o&&s(c),i&16){const m=o||!Pt(h);for(let _=0;_0?Re||mt:null,bc(),Ut>0&&Re&&Re.push(e),e}function bu(e,t,n,r,s,o){return ei(ri(e,t,n,r,s,o,!0))}function ti(e,t,n,r,s){return ei(oe(e,t,n,r,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const ni=({key:e})=>e??null,hn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||pe(e)||K(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function ri(e,t=null,n=null,r=0,s=null,o=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ni(t),ref:t&&hn(t),scopeId:Hn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:fe};return l?(kr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Ut>0&&!i&&Re&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Re.push(c),c}const oe=vc;function vc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===To)&&(e=me),Cn(e)){const l=Qe(e,t,!0);return n&&kr(l,n),Ut>0&&!o&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag=-2,l}if(Lc(e)&&(e=e.__vccOpts),t){t=wc(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Ln(l)),Z(c)&&(mo(c)&&!k(c)&&(c=le({},c)),t.style=On(c))}const i=ne(e)?1:Pl(e)?128:mc(e)?64:Z(e)?4:K(e)?2:0;return ri(e,t,n,r,s,i,o,!0)}function wc(e){return e?mo(e)||$o(e)?le({},e):e:null}function Qe(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Ec(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ni(u),ref:t&&t.ref?n&&o?k(o)?o.concat(hn(t)):[o,hn(t)]:hn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qe(e.ssContent),ssFallback:e.ssFallback&&Qe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&En(f,c.clone(f)),f}function si(e=" ",t=0){return oe(Et,null,e,t)}function vu(e,t){const n=oe(Nt,null,e);return n.staticCount=t,n}function wu(e="",t=!1){return t?(Zo(),ti(me,null,e)):oe(me,null,e)}function Ae(e){return e==null||typeof e=="boolean"?oe(me):k(e)?oe(_e,null,e.slice()):typeof e=="object"?qe(e):oe(Et,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qe(e)}function kr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),kr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!$o(t)?t._ctx=fe:s===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),r&64?(n=16,t=[si(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ec(...e){const t={};for(let n=0;nue||fe;let xn,Er;{const e=Zs(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};xn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Er=t("__VUE_SSR_SETTERS__",n=>Gt=n)}const qt=e=>{const t=ue;return xn(e),e.scope.on(),()=>{e.scope.off(),xn(t)}},ws=()=>{ue&&ue.scope.off(),xn(null)};function oi(e){return e.vnode.shapeFlag&4}let Gt=!1;function Tc(e,t=!1){t&&Er(t);const{props:n,children:r}=e.vnode,s=oi(e);Yl(e,n,s,t),Zl(e,r);const o=s?Ac(e,t):void 0;return t&&Er(!1),o}function Ac(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ul);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?li(e):null,o=qt(e);et();const i=Xe(r,e,0,[e.props,s]);if(tt(),o(),Xs(i)){if(i.then(ws,ws),t)return i.then(l=>{Es(e,l,t)}).catch(l=>{Kt(l,e,0)});e.asyncDep=i}else Es(e,i,t)}else ii(e,t)}function Es(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=wo(t)),ii(e,n)}let Cs;function ii(e,t,n){const r=e.type;if(!e.render){if(!t&&Cs&&!r.render){const s=r.template||Vr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=le(le({isCustomElement:o,delimiters:l},i),c);r.render=Cs(s,u)}}e.render=r.render||xe}{const s=qt(e);et();try{kl(e)}finally{tt(),s()}}}const Rc={get(e,t){return be(e,"get",""),e[t]}};function li(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Rc),slots:e.slots,emit:e.emit,expose:t}}function kn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wo(dn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in It)return It[n](e)},has(t,n){return n in t||n in It}})):e.proxy}function Oc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Lc(e){return K(e)&&"__vccOpts"in e}const se=(e,t)=>hl(e,t,Gt);function Cr(e,t,n){const r=arguments.length;return r===2?Z(t)&&!k(t)?Cn(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),oe(e,t,n))}const Ic="3.4.31";/**
-* @vue/runtime-dom v3.4.31
-* (c) 2018-present Yuxi (Evan) You and Vue contributors
-* @license MIT
-**/const Mc="http://www.w3.org/2000/svg",Pc="http://www.w3.org/1998/Math/MathML",He=typeof document<"u"?document:null,xs=He&&He.createElement("template"),Nc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?He.createElementNS(Mc,e):t==="mathml"?He.createElementNS(Pc,e):n?He.createElement(e,{is:n}):He.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>He.createTextNode(e),createComment:e=>He.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>He.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{xs.innerHTML=r==="svg"?`${e} `:r==="mathml"?`${e} `:e;const l=xs.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ke="transition",Tt="animation",kt=Symbol("_vtc"),ci=(e,{slots:t})=>Cr(gc,Fc(e),t);ci.displayName="Transition";const ai={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ci.props=le({},zo,ai);const st=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ss=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Fc(e){const t={};for(const T in e)T in ai||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,S=$c(s),I=S&&S[0],B=S&&S[1],{onBeforeEnter:W,onEnter:V,onEnterCancelled:p,onLeave:y,onLeaveCancelled:M,onBeforeAppear:A=W,onAppear:F=V,onAppearCancelled:$=p}=t,L=(T,G,re)=>{ot(T,G?f:l),ot(T,G?u:i),re&&re()},w=(T,G)=>{T._isLeaving=!1,ot(T,h),ot(T,_),ot(T,m),G&&G()},N=T=>(G,re)=>{const ce=T?F:V,D=()=>L(G,T,re);st(ce,[G,D]),Ts(()=>{ot(G,T?c:o),Be(G,T?f:l),Ss(ce)||As(G,r,I,D)})};return le(t,{onBeforeEnter(T){st(W,[T]),Be(T,o),Be(T,i)},onBeforeAppear(T){st(A,[T]),Be(T,c),Be(T,u)},onEnter:N(!1),onAppear:N(!0),onLeave(T,G){T._isLeaving=!0;const re=()=>w(T,G);Be(T,h),Be(T,m),Vc(),Ts(()=>{T._isLeaving&&(ot(T,h),Be(T,_),Ss(y)||As(T,r,B,re))}),st(y,[T,re])},onEnterCancelled(T){L(T,!1),st(p,[T])},onAppearCancelled(T){L(T,!0),st($,[T])},onLeaveCancelled(T){w(T),st(M,[T])}})}function $c(e){if(e==null)return null;if(Z(e))return[Qn(e.enter),Qn(e.leave)];{const t=Qn(e);return[t,t]}}function Qn(e){return Fi(e)}function Be(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[kt]||(e[kt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[kt];n&&(n.delete(t),n.size||(e[kt]=void 0))}function Ts(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hc=0;function As(e,t,n,r){const s=e._endId=++Hc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=jc(e,t);if(!i)return r();const u=i+"end";let f=0;const h=()=>{e.removeEventListener(u,m),o()},m=_=>{_.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[S]||"").split(", "),s=r(`${ke}Delay`),o=r(`${ke}Duration`),i=Rs(s,o),l=r(`${Tt}Delay`),c=r(`${Tt}Duration`),u=Rs(l,c);let f=null,h=0,m=0;t===ke?i>0&&(f=ke,h=i,m=o.length):t===Tt?u>0&&(f=Tt,h=u,m=c.length):(h=Math.max(i,u),f=h>0?i>u?ke:Tt:null,m=f?f===ke?o.length:c.length:0);const _=f===ke&&/\b(transform|all)(,|$)/.test(r(`${ke}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:_}}function Rs(e,t){for(;e.lengthOs(n)+Os(e[r])))}function Os(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Vc(){return document.body.offsetHeight}function Dc(e,t,n){const r=e[kt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Sn=Symbol("_vod"),ui=Symbol("_vsh"),Eu={beforeMount(e,{value:t},{transition:n}){e[Sn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):At(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),At(e,!0),r.enter(e)):r.leave(e,()=>{At(e,!1)}):At(e,t))},beforeUnmount(e,{value:t}){At(e,t)}};function At(e,t){e.style.display=t?e[Sn]:"none",e[ui]=!t}const Uc=Symbol(""),kc=/(^|;)\s*display\s*:/;function Bc(e,t,n){const r=e.style,s=ne(n);let o=!1;if(n&&!s){if(t)if(ne(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&pn(r,l,"")}else for(const i in t)n[i]==null&&pn(r,i,"");for(const i in n)i==="display"&&(o=!0),pn(r,i,n[i])}else if(s){if(t!==n){const i=r[Uc];i&&(n+=";"+i),r.cssText=n,o=kc.test(n)}}else t&&e.removeAttribute("style");Sn in e&&(e[Sn]=o?r.display:"",e[ui]&&(r.display="none"))}const Ls=/\s*!important$/;function pn(e,t,n){if(k(n))n.forEach(r=>pn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Kc(e,t);Ls.test(n)?e.setProperty(ft(r),n.replace(Ls,""),"important"):e[r]=n}}const Is=["Webkit","Moz","ms"],Zn={};function Kc(e,t){const n=Zn[t];if(n)return n;let r=Ne(t);if(r!=="filter"&&r in e)return Zn[t]=r;r=Rn(r);for(let s=0;ser||(Xc.then(()=>er=0),er=Date.now());function Jc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Se(Qc(r,n.value),t,5,[r])};return n.value=e,n.attached=Yc(),n}function Qc(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const $s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zc=(e,t,n,r,s,o,i,l,c)=>{const u=s==="svg";t==="class"?Dc(e,r,u):t==="style"?Bc(e,n,r):Bt(t)?Sr(t)||Gc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ea(e,t,r,u))?(Wc(e,t,r,o,i,l,c),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ps(e,t,r,u,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ps(e,t,r,u))};function ea(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&$s(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return $s(t)&&ne(n)?!1:t in e}const Hs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>fn(t,n):t};function ta(e){e.target.composing=!0}function js(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const tr=Symbol("_assign"),Cu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[tr]=Hs(s);const o=r||s.props&&s.props.type==="number";gt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=fr(l)),e[tr](l)}),n&>(e,"change",()=>{e.value=e.value.trim()}),t||(gt(e,"compositionstart",ta),gt(e,"compositionend",js),gt(e,"change",js))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[tr]=Hs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?fr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},na=["ctrl","shift","alt","meta"],ra={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>na.some(n=>e[`${n}Key`]&&!t.includes(n))},xu=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=ft(s.key);if(t.some(i=>i===o||sa[i]===o))return e(s)})},fi=le({patchProp:Zc},Nc);let $t,Vs=!1;function oa(){return $t||($t=sc(fi))}function ia(){return $t=Vs?$t:oc(fi),Vs=!0,$t}const Tu=(...e)=>{oa().render(...e)},Au=(...e)=>{const t=ia().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=ca(r);if(s)return n(s,!0,la(s))},t};function la(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ca(e){return ne(e)?document.querySelector(e):e}const Ru=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},aa="modulepreload",ua=function(e){return"/"+e},Ds={},Ou=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=ua(l),l in Ds)return;Ds[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":aa,c||(f.as="script",f.crossOrigin=""),f.href=l,i&&f.setAttribute("nonce",i),document.head.appendChild(f),c)return new Promise((h,m)=>{f.addEventListener("load",h),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},fa=window.__VP_SITE_DATA__;function Br(e){return ro()?(Wi(e),!0):!1}function Ye(e){return typeof e=="function"?e():vo(e)}const di=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const da=Object.prototype.toString,ha=e=>da.call(e)==="[object Object]",hi=()=>{},Us=pa();function pa(){var e,t;return di&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ga(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const pi=e=>e();function ma(e=pi){const t=ie(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Pn(t),pause:n,resume:r,eventFilter:s}}function ya(e){return Un()}function gi(...e){if(e.length!==1)return vl(...e);const t=e[0];return typeof t=="function"?Pn(yl(()=>({get:t,set:hi}))):ie(t)}function _a(e,t,n={}){const{eventFilter:r=pi,...s}=n;return Pe(e,ga(r,t),s)}function ba(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=ma(r);return{stop:_a(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function Kr(e,t=!0,n){ya()?xt(e,n):t?e():Nn(e)}function mi(e){var t;const n=Ye(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ve=di?window:void 0;function Ct(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Ve):[t,n,r,s]=e,!t)return hi;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,m,_)=>(f.addEventListener(h,m,_),()=>f.removeEventListener(h,m,_)),c=Pe(()=>[mi(t),Ye(s)],([f,h])=>{if(i(),!f)return;const m=ha(h)?{...h}:h;o.push(...n.flatMap(_=>r.map(S=>l(f,_,S,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return Br(u),u}function va(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Lu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Ve,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=va(t);return Ct(s,o,f=>{f.repeat&&Ye(l)||c(f)&&n(f)},i)}function wa(){const e=ie(!1),t=Un();return t&&xt(()=>{e.value=!0},t),e}function Ea(e){const t=wa();return se(()=>(t.value,!!e()))}function yi(e,t={}){const{window:n=Ve}=t,r=Ea(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=ie(!1),i=u=>{o.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Wo(()=>{r.value&&(l(),s=n.matchMedia(Ye(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return Br(()=>{c(),l(),s=void 0}),o}const ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},cn="__vueuse_ssr_handlers__",Ca=xa();function xa(){return cn in ln||(ln[cn]=ln[cn]||{}),ln[cn]}function _i(e,t){return Ca[e]||t}function Sa(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ta={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ks="vueuse-storage";function Aa(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:f,window:h=Ve,eventFilter:m,onError:_=w=>{console.error(w)},initOnMounted:S}=r,I=(f?_o:ie)(typeof t=="function"?t():t);if(!n)try{n=_i("getDefaultStorage",()=>{var w;return(w=Ve)==null?void 0:w.localStorage})()}catch(w){_(w)}if(!n)return I;const B=Ye(t),W=Sa(B),V=(s=r.serializer)!=null?s:Ta[W],{pause:p,resume:y}=ba(I,()=>A(I.value),{flush:o,deep:i,eventFilter:m});h&&l&&Kr(()=>{Ct(h,"storage",$),Ct(h,ks,L),S&&$()}),S||$();function M(w,N){h&&h.dispatchEvent(new CustomEvent(ks,{detail:{key:e,oldValue:w,newValue:N,storageArea:n}}))}function A(w){try{const N=n.getItem(e);if(w==null)M(N,null),n.removeItem(e);else{const T=V.write(w);N!==T&&(n.setItem(e,T),M(N,T))}}catch(N){_(N)}}function F(w){const N=w?w.newValue:n.getItem(e);if(N==null)return c&&B!=null&&n.setItem(e,V.write(B)),B;if(!w&&u){const T=V.read(N);return typeof u=="function"?u(T,B):W==="object"&&!Array.isArray(T)?{...B,...T}:T}else return typeof N!="string"?N:V.read(N)}function $(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){I.value=B;return}if(!(w&&w.key!==e)){p();try{(w==null?void 0:w.newValue)!==V.write(I.value)&&(I.value=F(w))}catch(N){_(N)}finally{w?Nn(y):y()}}}}function L(w){$(w.detail)}return I}function bi(e){return yi("(prefers-color-scheme: dark)",e)}function Ra(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Ve,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=bi({window:s}),_=se(()=>m.value?"dark":"light"),S=c||(i==null?gi(r):Aa(i,r,o,{window:s,listenToStorageChanges:l})),I=se(()=>S.value==="auto"?_.value:S.value),B=_i("updateHTMLAttrs",(y,M,A)=>{const F=typeof y=="string"?s==null?void 0:s.document.querySelector(y):mi(y);if(!F)return;let $;if(f&&($=s.document.createElement("style"),$.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild($)),M==="class"){const L=A.split(/\s/g);Object.values(h).flatMap(w=>(w||"").split(/\s/g)).filter(Boolean).forEach(w=>{L.includes(w)?F.classList.add(w):F.classList.remove(w)})}else F.setAttribute(M,A);f&&(s.getComputedStyle($).opacity,document.head.removeChild($))});function W(y){var M;B(t,n,(M=h[y])!=null?M:y)}function V(y){e.onChanged?e.onChanged(y,W):W(y)}Pe(I,V,{flush:"post",immediate:!0}),Kr(()=>V(I.value));const p=se({get(){return u?S.value:I.value},set(y){S.value=y}});try{return Object.assign(p,{store:S,system:_,state:I})}catch{return p}}function Oa(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Ve}=e,s=Ra({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=se(()=>s.system?s.system.value:bi({window:r}).value?"dark":"light");return se({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function nr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function vi(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const rr=new WeakMap;function Iu(e,t=!1){const n=ie(t);let r=null,s="";Pe(gi(e),l=>{const c=nr(Ye(l));if(c){const u=c;if(rr.get(u)||rr.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=nr(Ye(e));!l||n.value||(Us&&(r=Ct(l,"touchmove",c=>{La(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=nr(Ye(e));!l||!n.value||(Us&&(r==null||r()),l.style.overflow=s,rr.delete(l),n.value=!1)};return Br(i),se({get(){return n.value},set(l){l?o():i()}})}function Mu(e={}){const{window:t=Ve,behavior:n="auto"}=e;if(!t)return{x:ie(0),y:ie(0)};const r=ie(t.scrollX),s=ie(t.scrollY),o=se({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=se({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Ct(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function Pu(e={}){const{window:t=Ve,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=ie(n),l=ie(r),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Kr(c),Ct("resize",c,{passive:!0}),s){const u=yi("(orientation: portrait)");Pe(u,()=>c())}return{width:i,height:l}}var sr={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},or={};const wi=/^(?:[a-z]+:|\/\/)/i,Ia="vitepress-theme-appearance",Ma=/#.*$/,Pa=/[?#].*$/,Na=/(?:(^|\/)index)?\.(?:md|html)$/,de=typeof document<"u",Ei={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Fa(e,t,n=!1){if(t===void 0)return!1;if(e=Bs(`/${e}`),n)return new RegExp(t).test(e);if(Bs(t)!==e)return!1;const r=t.match(Ma);return r?(de?location.hash:"")===r[0]:!0}function Bs(e){return decodeURI(e).replace(Pa,"").replace(Na,"$1")}function $a(e){return wi.test(e)}function Ha(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!$a(n)&&Fa(t,`/${n}/`,!0))||"root"}function ja(e,t){var r,s,o,i,l,c,u;const n=Ha(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:xi(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Ci(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=Va(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function Va(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Da(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function xi(e,t){return[...e.filter(n=>!Da(t,n)),...t]}const Ua=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ka=/^[a-z]:/i;function Ks(e){const t=ka.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Ua,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ir=new Set;function Ba(e){if(ir.size===0){const n=typeof process=="object"&&(or==null?void 0:or.VITE_EXTRA_EXTENSIONS)||(sr==null?void 0:sr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>ir.add(r))}const t=e.split(".").pop();return t==null||!ir.has(t.toLowerCase())}const Ka=Symbol(),ut=_o(fa);function Nu(e){const t=se(()=>ja(ut.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?ie(!0):n?Oa({storageKey:Ia,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):ie(!1),s=ie(de?location.hash:"");return de&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Pe(()=>e.data,()=>{s.value=de?location.hash:""}),{site:t,theme:se(()=>t.value.themeConfig),page:se(()=>e.data),frontmatter:se(()=>e.data.frontmatter),params:se(()=>e.data.params),lang:se(()=>t.value.lang),dir:se(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:se(()=>t.value.localeIndex||"root"),title:se(()=>Ci(t.value,e.data)),description:se(()=>e.data.description||t.value.description),isDark:r,hash:se(()=>s.value)}}function Wa(){const e=wt(Ka);if(!e)throw new Error("vitepress data not properly injected in app");return e}function qa(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ws(e){return wi.test(e)||!e.startsWith("/")?e:qa(ut.value.base,e)}function Ga(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),de){const n="/";t=Ks(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${Ks(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let gn=[];function Fu(e){gn.push(e),Vn(()=>{gn=gn.filter(t=>t!==e)})}function za(){let e=ut.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=qs(e,n);else if(Array.isArray(e))for(const r of e){const s=qs(r,n);if(s){t=s;break}}return t}function qs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Xa=Symbol(),Si="http://a.com",Ya=()=>({path:"/",component:null,data:Ei});function $u(e,t){const n=Mn(Ya()),r={route:n,go:s};async function s(l=de?location.href:"/"){var c,u;l=lr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(de&&l!==lr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let o=null;async function i(l,c=0,u=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const f=new URL(l,Si),h=o=f.pathname;try{let _=await e(h);if(!_)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:S,__pageData:I}=_;if(!S)throw new Error(`Invalid route component: ${S}`);n.path=de?h:Ws(h),n.component=dn(S),n.data=dn(I),de&&Nn(()=>{let B=ut.value.base+I.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ut.value.cleanUrls&&!B.endsWith("/")&&(B+=".html"),B!==f.pathname&&(f.pathname=B,l=B+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(V){console.warn(V)}if(W){Gs(W,f.hash);return}}window.scrollTo(0,c)})}}catch(_){if(!/fetch|Page not found/.test(_.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(_),!u)try{const S=await fetch(ut.value.base+"hashmap.json");window.__VP_HASH_MAP__=await S.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=de?h:Ws(h),n.component=t?dn(t):null;const S=de?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Ei,relativePath:S}}}}return de&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:f,origin:h,pathname:m,hash:_,search:S}=new URL(u,c.baseURI),I=new URL(location.href);h===I.origin&&Ba(m)&&(l.preventDefault(),m===I.pathname&&S===I.search?(_!==I.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:I.href,newURL:f}))),_?Gs(c,_,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(f))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(lr(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function Ja(){const e=wt(Xa);if(!e)throw new Error("useRouter() is called without provider.");return e}function Ti(){return Ja().route}function Gs(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(r).paddingTop,10),i=window.scrollY+r.getBoundingClientRect().top-za()+o;requestAnimationFrame(s)}}function lr(e){const t=new URL(e,Si);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ut.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const cr=()=>gn.forEach(e=>e()),Hu=jr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Ti(),{site:n}=Wa();return()=>Cr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Cr(t.component,{onVnodeMounted:cr,onVnodeUpdated:cr,onVnodeUnmounted:cr}):"404 Page Not Found"])}}),ju="/leaderboard.png",Vu="/logo.png",Du=jr({setup(e,{slots:t}){const n=ie(!1);return xt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Uu(){de&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(u=>u.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function ku(){if(de){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(f=>f.remove());let u=c.textContent||"";i&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),Qa(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function Qa(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function Bu(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=ar(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const i=o.map(ar);r.forEach((l,c)=>{const u=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));u!==-1?delete i[u]:(l==null||l.remove(),delete r[c])}),i.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...i].filter(Boolean)};Wo(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],u=Ci(i,o);u!==document.title&&(document.title=u);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):ar(["meta",{name:"description",content:f}]),s(xi(i.head,eu(c)))})}function ar([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function Za(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function eu(e){return e.filter(t=>!Za(t))}const ur=new Set,Ai=()=>document.createElement("link"),tu=e=>{const t=Ai();t.rel="prefetch",t.href=e,document.head.appendChild(t)},nu=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let an;const ru=de&&(an=Ai())&&an.relList&&an.relList.supports&&an.relList.supports("prefetch")?tu:nu;function Ku(){if(!de||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!ur.has(c)){ur.add(c);const u=Ga(c);u&&ru(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):ur.add(l))})})};xt(r);const s=Ti();Pe(()=>s.path,r),Vn(()=>{n&&n.disconnect()})}export{Su as $,yu as A,$l as B,za as C,lu as D,uu as E,_e as F,_o as G,Fu as H,oe as I,du as J,Ou as K,cu as L,wi as M,Ti as N,Ec as O,wt as P,Pu as Q,On as R,Lu as S,ci as T,Nn as U,Mu as V,de as W,Pn as X,Iu as Y,Xl as Z,Ru as _,si as a,pu as a0,Oo as a1,xu as a2,gu as a3,ju as a4,Mn as a5,vl as a6,fu as a7,su as a8,wc as a9,Ja as aA,pe as aa,_u as ab,Cr as ac,Tu as ad,mu as ae,Fl as af,au as ag,Eu as ah,ro as ai,Wi as aj,Vu as ak,Cu as al,vu as am,Bu as an,Xa as ao,Nu as ap,Ka as aq,Hu as ar,Du as as,ut as at,Au as au,$u as av,Ga as aw,Ku as ax,ku as ay,Uu as az,ti as b,bu as c,jr as d,wu as e,Ba as f,Ws as g,se as h,$a as i,ri as j,vo as k,iu as l,Fa as m,Ln as n,Zo as o,ou as p,yi as q,hu as r,ie as s,ki as t,Wa as u,Pe as v,Rl as w,Wo as x,xt as y,Vn as z};
diff --git a/docs/assets/chunks/metadata.13361d29.js b/docs/assets/chunks/metadata.e60a3cb8.js
similarity index 74%
rename from docs/assets/chunks/metadata.13361d29.js
rename to docs/assets/chunks/metadata.e60a3cb8.js
index 14ee4fbd..62778f3a 100644
--- a/docs/assets/chunks/metadata.13361d29.js
+++ b/docs/assets/chunks/metadata.e60a3cb8.js
@@ -1 +1 @@
-window.__VP_HASH_MAP__=JSON.parse("{\"customization_theming_index.md\":\"DkqYS7LC\",\"index.md\":\"DcYGhi7H\",\"installation_index.md\":\"BdZmYzE_\",\"methods-and-events_events_index.md\":\"itNS5m-d\",\"methods-and-events_methods_index.md\":\"DSpdWHb0\",\"migration_from-v5.md\":\"BI3LqLn8\",\"migration_from-v6.md\":\"RC2xdNpA\",\"migration_from-v7.md\":\"BiHzPJ31\",\"migration_from-v8.md\":\"ue4YmvjS\",\"props_calendar-configuration_index.md\":\"BxXIyXWr\",\"props_formatting_index.md\":\"CXFddBvT\",\"props_general-configuration_index.md\":\"kdLulLhN\",\"props_keyboard_index.md\":\"G0H1-SZ1\",\"props_localization_index.md\":\"Deuw2KpT\",\"props_look-and-feel_index.md\":\"CUxjRaCU\",\"props_modes-configuration_index.md\":\"DST_YaWQ\",\"props_modes_index.md\":\"H-gBcZzP\",\"props_positioning_index.md\":\"YyAjrg37\",\"props_time-picker-configuration_index.md\":\"CCjnWvEv\",\"slots_components_index.md\":\"BrJZD4-9\",\"slots_content_index.md\":\"BkiMSQRe\",\"slots_icons_index.md\":\"DRv55zkf\",\"slots_overlay_index.md\":\"wp0_DWD6\",\"slots_trigger-and-input_index.md\":\"c9_O1uv2\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Vue Datepicker\",\"description\":\"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.png\",\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"GM52TZG3DR\",\"apiKey\":\"46719e038256b2385d9617a76bd411b6\",\"indexName\":\"vue3-date-time-picker\"}},\"carbonAds\":{\"code\":\"CEAIL5QM\",\"placement\":\"vue3datepickercom\"},\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2021-present Vuepic\"},\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"9.0.0\",\"items\":[{\"text\":\"v8\",\"link\":\"https://v8-8.vue3datepicker.com/\"},{\"text\":\"v7\",\"link\":\"https://v7-4.vue3datepicker.com/\"},{\"text\":\"v6\",\"link\":\"https://v6.vue3datepicker.com/\"},{\"text\":\"v5\",\"link\":\"https://v5.vue3datepicker.com/\"}]},{\"text\":\"Changelog\",\"link\":\"https://github.com/Vuepic/vue-datepicker/releases\"}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Vuepic/vue-datepicker\"},{\"icon\":\"npm\",\"link\":\"https://www.npmjs.com/package/@vuepic/vue-datepicker\"}],\"sidebar\":[{\"text\":\"Getting Started\",\"collapsed\":false,\"items\":[{\"text\":\"Installation\",\"link\":\"/installation\"}]},{\"text\":\"Props\",\"collapsed\":false,\"items\":[{\"text\":\"Modes\",\"link\":\"/props/modes\"},{\"text\":\"Modes configuration\",\"link\":\"/props/modes-configuration\"},{\"text\":\"General configuration\",\"link\":\"/props/general-configuration\"},{\"text\":\"Calendar configuration\",\"link\":\"/props/calendar-configuration\"},{\"text\":\"Time picker configuration\",\"link\":\"/props/time-picker-configuration\"},{\"text\":\"Formatting\",\"link\":\"/props/formatting\"},{\"text\":\"Localization\",\"link\":\"/props/localization\"},{\"text\":\"Positioning\",\"link\":\"/props/positioning\"},{\"text\":\"Keyboard\",\"link\":\"/props/keyboard\"},{\"text\":\"Look and feel\",\"link\":\"/props/look-and-feel\"}]},{\"text\":\"Slots\",\"collapsed\":true,\"items\":[{\"text\":\"Components\",\"link\":\"/slots/components\"},{\"text\":\"Content\",\"link\":\"/slots/content\"},{\"text\":\"Trigger and input\",\"link\":\"/slots/trigger-and-input\"},{\"text\":\"Icons\",\"link\":\"/slots/icons\"},{\"text\":\"Overlay\",\"link\":\"/slots/overlay\"}]},{\"text\":\"Methods and events\",\"collapsed\":true,\"items\":[{\"text\":\"Methods\",\"link\":\"/methods-and-events/methods\"},{\"text\":\"Events\",\"link\":\"/methods-and-events/events\"}]},{\"text\":\"Customization\",\"collapsed\":true,\"items\":[{\"text\":\"Theming\",\"link\":\"/customization/theming\"}]},{\"text\":\"Migration guides\",\"collapsed\":true,\"items\":[{\"text\":\"Migrating from v8\",\"link\":\"/migration/from-v8\"},{\"text\":\"Migrating from v7\",\"link\":\"/migration/from-v7\"},{\"text\":\"Migrating from v6\",\"link\":\"/migration/from-v6\"},{\"text\":\"Migrating from v5\",\"link\":\"/migration/from-v5\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}");
\ No newline at end of file
+window.__VP_HASH_MAP__=JSON.parse("{\"customization_theming_index.md\":\"BHtaDIzU\",\"index.md\":\"qJxocQGM\",\"installation_index.md\":\"CzOQj94f\",\"methods-and-events_events_index.md\":\"CLtD3nmd\",\"methods-and-events_methods_index.md\":\"sxka_nYL\",\"migration_from-v5.md\":\"CHERqwZ1\",\"migration_from-v6.md\":\"Dpqy4PX4\",\"migration_from-v7.md\":\"BKCSZk9W\",\"migration_from-v8.md\":\"BaR1FjMQ\",\"props_calendar-configuration_index.md\":\"CgmBjRMD\",\"props_formatting_index.md\":\"yZ544n8V\",\"props_general-configuration_index.md\":\"DOYpbrWq\",\"props_keyboard_index.md\":\"8mfI-ATL\",\"props_localization_index.md\":\"DAA9qzr1\",\"props_look-and-feel_index.md\":\"CkNbrHve\",\"props_modes-configuration_index.md\":\"DZEhKzVk\",\"props_modes_index.md\":\"DTsCdhjY\",\"props_positioning_index.md\":\"CRvumIlI\",\"props_time-picker-configuration_index.md\":\"D6BhtHUZ\",\"slots_components_index.md\":\"zUCX-m9_\",\"slots_content_index.md\":\"CCqeNkz2\",\"slots_icons_index.md\":\"DTSIjGV0\",\"slots_overlay_index.md\":\"p6o8_8U6\",\"slots_trigger-and-input_index.md\":\"Cr-l7A-B\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Vue Datepicker\",\"description\":\"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.png\",\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"GM52TZG3DR\",\"apiKey\":\"46719e038256b2385d9617a76bd411b6\",\"indexName\":\"vue3-date-time-picker\"}},\"carbonAds\":{\"code\":\"CEAIL5QM\",\"placement\":\"vue3datepickercom\"},\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2021-present Vuepic\"},\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"9.0.1\",\"items\":[{\"text\":\"v8\",\"link\":\"https://v8-8.vue3datepicker.com/\"},{\"text\":\"v7\",\"link\":\"https://v7-4.vue3datepicker.com/\"},{\"text\":\"v6\",\"link\":\"https://v6.vue3datepicker.com/\"},{\"text\":\"v5\",\"link\":\"https://v5.vue3datepicker.com/\"}]},{\"text\":\"Changelog\",\"link\":\"https://github.com/Vuepic/vue-datepicker/releases\"}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Vuepic/vue-datepicker\"},{\"icon\":\"npm\",\"link\":\"https://www.npmjs.com/package/@vuepic/vue-datepicker\"}],\"sidebar\":[{\"text\":\"Getting Started\",\"collapsed\":false,\"items\":[{\"text\":\"Installation\",\"link\":\"/installation\"}]},{\"text\":\"Props\",\"collapsed\":false,\"items\":[{\"text\":\"Modes\",\"link\":\"/props/modes\"},{\"text\":\"Modes configuration\",\"link\":\"/props/modes-configuration\"},{\"text\":\"General configuration\",\"link\":\"/props/general-configuration\"},{\"text\":\"Calendar configuration\",\"link\":\"/props/calendar-configuration\"},{\"text\":\"Time picker configuration\",\"link\":\"/props/time-picker-configuration\"},{\"text\":\"Formatting\",\"link\":\"/props/formatting\"},{\"text\":\"Localization\",\"link\":\"/props/localization\"},{\"text\":\"Positioning\",\"link\":\"/props/positioning\"},{\"text\":\"Keyboard\",\"link\":\"/props/keyboard\"},{\"text\":\"Look and feel\",\"link\":\"/props/look-and-feel\"}]},{\"text\":\"Slots\",\"collapsed\":true,\"items\":[{\"text\":\"Components\",\"link\":\"/slots/components\"},{\"text\":\"Content\",\"link\":\"/slots/content\"},{\"text\":\"Trigger and input\",\"link\":\"/slots/trigger-and-input\"},{\"text\":\"Icons\",\"link\":\"/slots/icons\"},{\"text\":\"Overlay\",\"link\":\"/slots/overlay\"}]},{\"text\":\"Methods and events\",\"collapsed\":true,\"items\":[{\"text\":\"Methods\",\"link\":\"/methods-and-events/methods\"},{\"text\":\"Events\",\"link\":\"/methods-and-events/events\"}]},{\"text\":\"Customization\",\"collapsed\":true,\"items\":[{\"text\":\"Theming\",\"link\":\"/customization/theming\"}]},{\"text\":\"Migration guides\",\"collapsed\":true,\"items\":[{\"text\":\"Migrating from v8\",\"link\":\"/migration/from-v8\"},{\"text\":\"Migrating from v7\",\"link\":\"/migration/from-v7\"},{\"text\":\"Migrating from v6\",\"link\":\"/migration/from-v6\"},{\"text\":\"Migrating from v5\",\"link\":\"/migration/from-v5\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}");
\ No newline at end of file
diff --git a/docs/assets/chunks/theme.C0dGJPqT.js b/docs/assets/chunks/theme.9ttioI6k.js
similarity index 82%
rename from docs/assets/chunks/theme.C0dGJPqT.js
rename to docs/assets/chunks/theme.9ttioI6k.js
index cfeca3ca..3a42c120 100644
--- a/docs/assets/chunks/theme.C0dGJPqT.js
+++ b/docs/assets/chunks/theme.9ttioI6k.js
@@ -1,2 +1,2 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ui-custom.BeOb8iRm.js","assets/chunks/framework.IJS20kTW.js","assets/chunks/VPAlgoliaSearchBox.D1L8mbHp.js"])))=>i.map(i=>d[i]);
-var Fr=Object.defineProperty;var zr=(e,a,t)=>a in e?Fr(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var ye=(e,a,t)=>zr(e,typeof a!="symbol"?a+"":a,t);import{d as J,o as i,c as m,r as k,n as he,a as Ne,t as ce,b as le,w,e as S,T as Ht,_ as we,u as Le,i as Wr,f as Ur,g as Nn,h as x,j as y,k as s,p as rt,l as lt,m as sa,q as Pn,s as A,v as Je,x as ja,y as Ue,z as Xt,A as Rn,B as qr,C as jr,D as ua,F as pe,E as Me,G as Vo,H as Qa,I as ee,J as Oo,K as Io,L as ft,M as Lo,N as Ka,O as Oe,P as Ga,Q as Qr,R as mt,S as Kr,U as yt,V as No,W as Xa,X as Gr,Y as Ro,Z as Bo,$ as Eo,a0 as Xr,a1 as Jr,a2 as ia,a3 as Jt,a4 as Zr,a5 as Va,a6 as Sa,a7 as at,a8 as ot,a9 as pt,aa as uo,ab as el,ac as tl,ad as co,ae as al,af as nl,ag as Ta,ah as Ya,ai as ol,aj as rl,ak as Lt,al as ll}from"./framework.IJS20kTW.js";const sl=J({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(a,t)=>(i(),m("span",{class:he(["VPBadge",a.type])},[k(a.$slots,"default",{},()=>[Ne(ce(a.text),1)])],2))}}),il={key:0,class:"VPBackdrop"},ul=J({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(a,t)=>(i(),le(Ht,{name:"fade"},{default:w(()=>[a.show?(i(),m("div",il)):S("",!0)]),_:1}))}}),dl=we(ul,[["__scopeId","data-v-c79a1216"]]),Ce=Le;function cl(e,a){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(e,a):(e(),(n=!0)&&setTimeout(()=>n=!1,a))}}function Tn(e){return/^\//.test(e)?e:`/${e}`}function Bn(e){const{pathname:a,search:t,hash:n,protocol:o}=new URL(e,"http://a.com");if(Wr(e)||e.startsWith("#")||!o.startsWith("http")||!Ur(a))return e;const{site:r}=Ce(),l=a.endsWith("/")||a.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${a.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return Nn(l)}function Oa({correspondingLink:e=!1}={}){const{site:a,localeIndex:t,page:n,theme:o,hash:r}=Ce(),l=x(()=>{var d,b;return{label:(d=a.value.locales[t.value])==null?void 0:d.label,link:((b=a.value.locales[t.value])==null?void 0:b.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:x(()=>Object.entries(a.value.locales).flatMap(([d,b])=>l.value.label===b.label?[]:{text:b.label,link:vl(b.link||(d==="root"?"/":`/${d}/`),o.value.i18nRouting!==!1&&e,n.value.relativePath.slice(l.value.link.length-1),!a.value.cleanUrls)+r.value})),currentLang:l}}function vl(e,a,t,n){return a?e.replace(/\/$/,"")+Tn(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const ml=e=>(rt("data-v-d6be1790"),e=e(),lt(),e),pl={class:"NotFound"},fl={class:"code"},hl={class:"title"},yl=ml(()=>y("div",{class:"divider"},null,-1)),gl={class:"quote"},_l={class:"action"},bl=["href","aria-label"],kl=J({__name:"NotFound",setup(e){const{theme:a}=Ce(),{currentLang:t}=Oa();return(n,o)=>{var r,l,u,d,b;return i(),m("div",pl,[y("p",fl,ce(((r=s(a).notFound)==null?void 0:r.code)??"404"),1),y("h1",hl,ce(((l=s(a).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),yl,y("blockquote",gl,ce(((u=s(a).notFound)==null?void 0:u.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),y("div",_l,[y("a",{class:"link",href:s(Nn)(s(t).link),"aria-label":((d=s(a).notFound)==null?void 0:d.linkLabel)??"go to home"},ce(((b=s(a).notFound)==null?void 0:b.linkText)??"Take me home"),9,bl)])])}}}),wl=we(kl,[["__scopeId","data-v-d6be1790"]]);function Ho(e,a){if(Array.isArray(e))return Fa(e);if(e==null)return[];a=Tn(a);const t=Object.keys(e).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>a.startsWith(Tn(o))),n=t?e[t]:[];return Array.isArray(n)?Fa(n):Fa(n.items,n.base)}function $l(e){const a=[];let t=0;for(const n in e){const o=e[n];if(o.items){t=a.push(o);continue}a[t]||a.push({items:[]}),a[t].items.push(o)}return a}function Dl(e){const a=[];function t(n){for(const o of n)o.text&&o.link&&a.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(e),a}function Mn(e,a){return Array.isArray(a)?a.some(t=>Mn(e,t)):sa(e,a.link)?!0:a.items?Mn(e,a.items):!1}function Fa(e,a){return[...e].map(t=>{const n={...t},o=n.base||a;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Fa(n.items,o)),n})}function Yt(){const{frontmatter:e,page:a,theme:t}=Ce(),n=Pn("(min-width: 960px)"),o=A(!1),r=x(()=>{const $=t.value.sidebar,R=a.value.relativePath;return $?Ho($,R):[]}),l=A(r.value);Je(r,($,R)=>{JSON.stringify($)!==JSON.stringify(R)&&(l.value=r.value)});const u=x(()=>e.value.sidebar!==!1&&l.value.length>0&&e.value.layout!=="home"),d=x(()=>b?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),b=x(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),f=x(()=>u.value&&n.value),p=x(()=>u.value?$l(l.value):[]);function c(){o.value=!0}function g(){o.value=!1}function P(){o.value?g():c()}return{isOpen:o,sidebar:l,sidebarGroups:p,hasSidebar:u,hasAside:b,leftAside:d,isSidebarEnabled:f,open:c,close:g,toggle:P}}function Pl(e,a){let t;ja(()=>{t=e.value?document.activeElement:void 0}),Ue(()=>{window.addEventListener("keyup",n)}),Xt(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&e.value&&(a(),t==null||t.focus())}}function Tl(e){const{page:a,hash:t}=Ce(),n=A(!1),o=x(()=>e.value.collapsed!=null),r=x(()=>!!e.value.link),l=A(!1),u=()=>{l.value=sa(a.value.relativePath,e.value.link)};Je([a,e,t],u),Ue(u);const d=x(()=>l.value?!0:e.value.items?Mn(a.value.relativePath,e.value.items):!1),b=x(()=>!!(e.value.items&&e.value.items.length));ja(()=>{n.value=!!(o.value&&e.value.collapsed)}),Rn(()=>{(l.value||d.value)&&(n.value=!1)});function f(){o.value&&(n.value=!n.value)}return{collapsed:n,collapsible:o,isLink:r,isActiveLink:l,hasActiveLink:d,hasChildren:b,toggle:f}}function Ml(){const{hasSidebar:e}=Yt(),a=Pn("(min-width: 960px)"),t=Pn("(min-width: 1280px)");return{isAsideEnabled:x(()=>!t.value&&!a.value?!1:e.value?t.value:a.value)}}const xn=[];function Yo(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function En(e){const a=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:xl(t),link:"#"+t.id,level:n}});return Sl(a,e)}function xl(e){let a="";for(const t of e.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;a+=t.textContent}else t.nodeType===3&&(a+=t.textContent);return a.trim()}function Sl(e,a){if(a===!1)return[];const t=(typeof a=="object"&&!Array.isArray(a)?a.level:a)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;e=e.filter(l=>l.level>=n&&l.level<=o),xn.length=0;for(const{element:l,link:u}of e)xn.push({element:l,link:u});const r=[];e:for(let l=0;l=0;d--){const b=e[d];if(b.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),qr(()=>{l(location.hash)}),Xt(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const u=window.scrollY,d=window.innerHeight,b=document.body.offsetHeight,f=Math.abs(u+d-b)<1,p=xn.map(({element:g,link:P})=>({link:P,top:Cl(g)})).filter(({top:g})=>!Number.isNaN(g)).sort((g,P)=>g.top-P.top);if(!p.length){l(null);return}if(u<1){l(null);return}if(f){l(p[p.length-1].link);return}let c=null;for(const{link:g,top:P}of p){if(P>u+jr()+4)break;c=g}l(c)}function l(u){o&&o.classList.remove("active"),u==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(u)}"]`);const d=o;d?(d.classList.add("active"),a.value.style.top=d.offsetTop+39+"px",a.value.style.opacity="1"):(a.value.style.top="33px",a.value.style.opacity="0")}}function Cl(e){let a=0;for(;e!==document.body;){if(e===null)return NaN;a+=e.offsetTop,e=e.offsetParent}return a}const Vl=["href","title"],Ol=J({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function a({target:t}){const n=t.href.split("#")[1],o=document.getElementById(decodeURIComponent(n));o==null||o.focus({preventScroll:!0})}return(t,n)=>{const o=ua("VPDocOutlineItem",!0);return i(),m("ul",{class:he(["VPDocOutlineItem",t.root?"root":"nested"])},[(i(!0),m(pe,null,Me(t.headers,({children:r,link:l,title:u})=>(i(),m("li",null,[y("a",{class:"outline-link",href:l,onClick:a,title:u},ce(u),9,Vl),r!=null&&r.length?(i(),le(o,{key:0,headers:r},null,8,["headers"])):S("",!0)]))),256))],2)}}}),Fo=we(Ol,[["__scopeId","data-v-b933a997"]]),Il={class:"content"},Ll={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Nl=J({__name:"VPDocAsideOutline",setup(e){const{frontmatter:a,theme:t}=Ce(),n=Vo([]);Qa(()=>{n.value=En(a.value.outline??t.value.outline)});const o=A(),r=A();return Al(o,r),(l,u)=>(i(),m("nav",{"aria-labelledby":"doc-outline-aria-label",class:he(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o},[y("div",Il,[y("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),y("div",Ll,ce(s(Yo)(s(t))),1),ee(Fo,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),Rl=we(Nl,[["__scopeId","data-v-a5bbad30"]]),Bl={class:"VPDocAsideCarbonAds"},El=J({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const a=Oo(()=>Io(()=>import("./ui-custom.BeOb8iRm.js"),__vite__mapDeps([0,1])));return(t,n)=>(i(),m("div",Bl,[ee(s(a),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Hl=e=>(rt("data-v-3f215769"),e=e(),lt(),e),Yl={class:"VPDocAside"},Fl=Hl(()=>y("div",{class:"spacer"},null,-1)),zl=J({__name:"VPDocAside",setup(e){const{theme:a}=Ce();return(t,n)=>(i(),m("div",Yl,[k(t.$slots,"aside-top",{},void 0,!0),k(t.$slots,"aside-outline-before",{},void 0,!0),ee(Rl),k(t.$slots,"aside-outline-after",{},void 0,!0),Fl,k(t.$slots,"aside-ads-before",{},void 0,!0),s(a).carbonAds?(i(),le(El,{key:0,"carbon-ads":s(a).carbonAds},null,8,["carbon-ads"])):S("",!0),k(t.$slots,"aside-ads-after",{},void 0,!0),k(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Wl=we(zl,[["__scopeId","data-v-3f215769"]]);function Ul(){const{theme:e,page:a}=Ce();return x(()=>{const{text:t="Edit this page",pattern:n=""}=e.value.editLink||{};let o;return typeof n=="function"?o=n(a.value):o=n.replace(/:path/g,a.value.filePath),{url:o,text:t}})}function ql(){const{page:e,theme:a,frontmatter:t}=Ce();return x(()=>{var b,f,p,c,g,P,$,R;const n=Ho(a.value.sidebar,e.value.relativePath),o=Dl(n),r=jl(o,W=>W.link.replace(/[?#].*$/,"")),l=r.findIndex(W=>sa(e.value.relativePath,W.link)),u=((b=a.value.docFooter)==null?void 0:b.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((f=a.value.docFooter)==null?void 0:f.next)===!1&&!t.value.next||t.value.next===!1;return{prev:u?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((p=r[l-1])==null?void 0:p.docFooterText)??((c=r[l-1])==null?void 0:c.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((g=r[l-1])==null?void 0:g.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((P=r[l+1])==null?void 0:P.docFooterText)??(($=r[l+1])==null?void 0:$.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((R=r[l+1])==null?void 0:R.link)}}})}function jl(e,a){const t=new Set;return e.filter(n=>{const o=a(n);return t.has(o)?!1:t.add(o)})}const It=J({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const a=e,t=x(()=>a.tag??(a.href?"a":"span")),n=x(()=>a.href&&Lo.test(a.href)||a.target==="_blank");return(o,r)=>(i(),le(ft(t.value),{class:he(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?s(Bn)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:w(()=>[k(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Ql={class:"VPLastUpdated"},Kl=["datetime"],Gl=J({__name:"VPDocFooterLastUpdated",setup(e){const{theme:a,page:t,lang:n}=Ce(),o=x(()=>new Date(t.value.lastUpdated)),r=x(()=>o.value.toISOString()),l=A("");return Ue(()=>{ja(()=>{var u,d,b;l.value=new Intl.DateTimeFormat((d=(u=a.value.lastUpdated)==null?void 0:u.formatOptions)!=null&&d.forceLocale?n.value:void 0,((b=a.value.lastUpdated)==null?void 0:b.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(u,d)=>{var b;return i(),m("p",Ql,[Ne(ce(((b=s(a).lastUpdated)==null?void 0:b.text)||s(a).lastUpdatedText||"Last updated")+": ",1),y("time",{datetime:r.value},ce(l.value),9,Kl)])}}}),Xl=we(Gl,[["__scopeId","data-v-e98dd255"]]),zo=e=>(rt("data-v-e257564d"),e=e(),lt(),e),Jl={key:0,class:"VPDocFooter"},Zl={key:0,class:"edit-info"},es={key:0,class:"edit-link"},ts=zo(()=>y("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),as={key:1,class:"last-updated"},ns={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},os=zo(()=>y("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),rs={class:"pager"},ls=["innerHTML"],ss=["innerHTML"],is={class:"pager"},us=["innerHTML"],ds=["innerHTML"],cs=J({__name:"VPDocFooter",setup(e){const{theme:a,page:t,frontmatter:n}=Ce(),o=Ul(),r=ql(),l=x(()=>a.value.editLink&&n.value.editLink!==!1),u=x(()=>t.value.lastUpdated),d=x(()=>l.value||u.value||r.value.prev||r.value.next);return(b,f)=>{var p,c,g,P;return d.value?(i(),m("footer",Jl,[k(b.$slots,"doc-footer-before",{},void 0,!0),l.value||u.value?(i(),m("div",Zl,[l.value?(i(),m("div",es,[ee(It,{class:"edit-link-button",href:s(o).url,"no-icon":!0},{default:w(()=>[ts,Ne(" "+ce(s(o).text),1)]),_:1},8,["href"])])):S("",!0),u.value?(i(),m("div",as,[ee(Xl)])):S("",!0)])):S("",!0),(p=s(r).prev)!=null&&p.link||(c=s(r).next)!=null&&c.link?(i(),m("nav",ns,[os,y("div",rs,[(g=s(r).prev)!=null&&g.link?(i(),le(It,{key:0,class:"pager-link prev",href:s(r).prev.link},{default:w(()=>{var $;return[y("span",{class:"desc",innerHTML:(($=s(a).docFooter)==null?void 0:$.prev)||"Previous page"},null,8,ls),y("span",{class:"title",innerHTML:s(r).prev.text},null,8,ss)]}),_:1},8,["href"])):S("",!0)]),y("div",is,[(P=s(r).next)!=null&&P.link?(i(),le(It,{key:0,class:"pager-link next",href:s(r).next.link},{default:w(()=>{var $;return[y("span",{class:"desc",innerHTML:(($=s(a).docFooter)==null?void 0:$.next)||"Next page"},null,8,us),y("span",{class:"title",innerHTML:s(r).next.text},null,8,ds)]}),_:1},8,["href"])):S("",!0)])])):S("",!0)])):S("",!0)}}}),vs=we(cs,[["__scopeId","data-v-e257564d"]]),ms=e=>(rt("data-v-39a288b8"),e=e(),lt(),e),ps={class:"container"},fs=ms(()=>y("div",{class:"aside-curtain"},null,-1)),hs={class:"aside-container"},ys={class:"aside-content"},gs={class:"content"},_s={class:"content-container"},bs={class:"main"},ks=J({__name:"VPDoc",setup(e){const{theme:a}=Ce(),t=Ka(),{hasSidebar:n,hasAside:o,leftAside:r}=Yt(),l=x(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(u,d)=>{const b=ua("Content");return i(),m("div",{class:he(["VPDoc",{"has-sidebar":s(n),"has-aside":s(o)}])},[k(u.$slots,"doc-top",{},void 0,!0),y("div",ps,[s(o)?(i(),m("div",{key:0,class:he(["aside",{"left-aside":s(r)}])},[fs,y("div",hs,[y("div",ys,[ee(Wl,null,{"aside-top":w(()=>[k(u.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":w(()=>[k(u.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":w(()=>[k(u.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(u.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(u.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(u.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):S("",!0),y("div",gs,[y("div",_s,[k(u.$slots,"doc-before",{},void 0,!0),y("main",bs,[ee(b,{class:he(["vp-doc",[l.value,s(a).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),ee(vs,null,{"doc-footer-before":w(()=>[k(u.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),k(u.$slots,"doc-after",{},void 0,!0)])])]),k(u.$slots,"doc-bottom",{},void 0,!0)],2)}}}),ws=we(ks,[["__scopeId","data-v-39a288b8"]]),$s=J({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const a=e,t=x(()=>a.href&&Lo.test(a.href)),n=x(()=>a.tag||a.href?"a":"button");return(o,r)=>(i(),le(ft(n.value),{class:he(["VPButton",[o.size,o.theme]]),href:o.href?s(Bn)(o.href):void 0,target:a.target??(t.value?"_blank":void 0),rel:a.rel??(t.value?"noreferrer":void 0)},{default:w(()=>[Ne(ce(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),Ds=we($s,[["__scopeId","data-v-cad61b99"]]),Ps=["src","alt"],Ts=J({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(a,t)=>{const n=ua("VPImage",!0);return a.image?(i(),m(pe,{key:0},[typeof a.image=="string"||"src"in a.image?(i(),m("img",Oe({key:0,class:"VPImage"},typeof a.image=="string"?a.$attrs:{...a.image,...a.$attrs},{src:s(Nn)(typeof a.image=="string"?a.image:a.image.src),alt:a.alt??(typeof a.image=="string"?"":a.image.alt||"")}),null,16,Ps)):(i(),m(pe,{key:1},[ee(n,Oe({class:"dark",image:a.image.dark,alt:a.image.alt},a.$attrs),null,16,["image","alt"]),ee(n,Oe({class:"light",image:a.image.light,alt:a.image.alt},a.$attrs),null,16,["image","alt"])],64))],64)):S("",!0)}}}),za=we(Ts,[["__scopeId","data-v-8426fc1a"]]),Ms=e=>(rt("data-v-303bb580"),e=e(),lt(),e),xs={class:"container"},Ss={class:"main"},As={key:0,class:"name"},Cs=["innerHTML"],Vs=["innerHTML"],Os=["innerHTML"],Is={key:0,class:"actions"},Ls={key:0,class:"image"},Ns={class:"image-container"},Rs=Ms(()=>y("div",{class:"image-bg"},null,-1)),Bs=J({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const a=Ga("hero-image-slot-exists");return(t,n)=>(i(),m("div",{class:he(["VPHero",{"has-image":t.image||s(a)}])},[y("div",xs,[y("div",Ss,[k(t.$slots,"home-hero-info-before",{},void 0,!0),k(t.$slots,"home-hero-info",{},()=>[t.name?(i(),m("h1",As,[y("span",{innerHTML:t.name,class:"clip"},null,8,Cs)])):S("",!0),t.text?(i(),m("p",{key:1,innerHTML:t.text,class:"text"},null,8,Vs)):S("",!0),t.tagline?(i(),m("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Os)):S("",!0)],!0),k(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(i(),m("div",Is,[(i(!0),m(pe,null,Me(t.actions,o=>(i(),m("div",{key:o.link,class:"action"},[ee(Ds,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):S("",!0),k(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||s(a)?(i(),m("div",Ls,[y("div",Ns,[Rs,k(t.$slots,"home-hero-image",{},()=>[t.image?(i(),le(za,{key:0,class:"image-src",image:t.image},null,8,["image"])):S("",!0)],!0)])])):S("",!0)])],2))}}),Es=we(Bs,[["__scopeId","data-v-303bb580"]]),Hs=J({__name:"VPHomeHero",setup(e){const{frontmatter:a}=Ce();return(t,n)=>s(a).hero?(i(),le(Es,{key:0,class:"VPHomeHero",name:s(a).hero.name,text:s(a).hero.text,tagline:s(a).hero.tagline,image:s(a).hero.image,actions:s(a).hero.actions},{"home-hero-info-before":w(()=>[k(t.$slots,"home-hero-info-before")]),"home-hero-info":w(()=>[k(t.$slots,"home-hero-info")]),"home-hero-info-after":w(()=>[k(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":w(()=>[k(t.$slots,"home-hero-actions-after")]),"home-hero-image":w(()=>[k(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):S("",!0)}}),Ys=e=>(rt("data-v-a3976bdc"),e=e(),lt(),e),Fs={class:"box"},zs={key:0,class:"icon"},Ws=["innerHTML"],Us=["innerHTML"],qs=["innerHTML"],js={key:4,class:"link-text"},Qs={class:"link-text-value"},Ks=Ys(()=>y("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Gs=J({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(a,t)=>(i(),le(It,{class:"VPFeature",href:a.link,rel:a.rel,target:a.target,"no-icon":!0,tag:a.link?"a":"div"},{default:w(()=>[y("article",Fs,[typeof a.icon=="object"&&a.icon.wrap?(i(),m("div",zs,[ee(za,{image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])])):typeof a.icon=="object"?(i(),le(za,{key:1,image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])):a.icon?(i(),m("div",{key:2,class:"icon",innerHTML:a.icon},null,8,Ws)):S("",!0),y("h2",{class:"title",innerHTML:a.title},null,8,Us),a.details?(i(),m("p",{key:3,class:"details",innerHTML:a.details},null,8,qs)):S("",!0),a.linkText?(i(),m("div",js,[y("p",Qs,[Ne(ce(a.linkText)+" ",1),Ks])])):S("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Xs=we(Gs,[["__scopeId","data-v-a3976bdc"]]),Js={key:0,class:"VPFeatures"},Zs={class:"container"},ei={class:"items"},ti=J({__name:"VPFeatures",props:{features:{}},setup(e){const a=e,t=x(()=>{const n=a.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(i(),m("div",Js,[y("div",Zs,[y("div",ei,[(i(!0),m(pe,null,Me(n.features,r=>(i(),m("div",{key:r.title,class:he(["item",[t.value]])},[ee(Xs,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):S("",!0)}}),ai=we(ti,[["__scopeId","data-v-a6181336"]]),ni=J({__name:"VPHomeFeatures",setup(e){const{frontmatter:a}=Ce();return(t,n)=>s(a).features?(i(),le(ai,{key:0,class:"VPHomeFeatures",features:s(a).features},null,8,["features"])):S("",!0)}}),oi=J({__name:"VPHomeContent",setup(e){const{width:a}=Qr({initialWidth:0,includeScrollbar:!1});return(t,n)=>(i(),m("div",{class:"vp-doc container",style:mt(s(a)?{"--vp-offset":`calc(50% - ${s(a)/2}px)`}:{})},[k(t.$slots,"default",{},void 0,!0)],4))}}),ri=we(oi,[["__scopeId","data-v-8e2d4988"]]),li={class:"VPHome"},si=J({__name:"VPHome",setup(e){const{frontmatter:a}=Ce();return(t,n)=>{const o=ua("Content");return i(),m("div",li,[k(t.$slots,"home-hero-before",{},void 0,!0),ee(Hs,null,{"home-hero-info-before":w(()=>[k(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),k(t.$slots,"home-hero-after",{},void 0,!0),k(t.$slots,"home-features-before",{},void 0,!0),ee(ni),k(t.$slots,"home-features-after",{},void 0,!0),s(a).markdownStyles!==!1?(i(),le(ri,{key:0},{default:w(()=>[ee(o)]),_:1})):(i(),le(o,{key:1}))])}}}),ii=we(si,[["__scopeId","data-v-686f80a6"]]),ui={},di={class:"VPPage"};function ci(e,a){const t=ua("Content");return i(),m("div",di,[k(e.$slots,"page-top"),ee(t),k(e.$slots,"page-bottom")])}const vi=we(ui,[["render",ci]]),mi=J({__name:"VPContent",setup(e){const{page:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt();return(o,r)=>(i(),m("div",{class:he(["VPContent",{"has-sidebar":s(n),"is-home":s(t).layout==="home"}]),id:"VPContent"},[s(a).isNotFound?k(o.$slots,"not-found",{key:0},()=>[ee(wl)],!0):s(t).layout==="page"?(i(),le(vi,{key:1},{"page-top":w(()=>[k(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":w(()=>[k(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):s(t).layout==="home"?(i(),le(ii,{key:2},{"home-hero-before":w(()=>[k(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":w(()=>[k(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":w(()=>[k(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":w(()=>[k(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":w(()=>[k(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):s(t).layout&&s(t).layout!=="doc"?(i(),le(ft(s(t).layout),{key:3})):(i(),le(ws,{key:4},{"doc-top":w(()=>[k(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":w(()=>[k(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":w(()=>[k(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":w(()=>[k(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":w(()=>[k(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":w(()=>[k(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":w(()=>[k(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":w(()=>[k(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),pi=we(mi,[["__scopeId","data-v-1428d186"]]),fi={class:"container"},hi=["innerHTML"],yi=["innerHTML"],gi=J({__name:"VPFooter",setup(e){const{theme:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt();return(o,r)=>s(a).footer&&s(t).footer!==!1?(i(),m("footer",{key:0,class:he(["VPFooter",{"has-sidebar":s(n)}])},[y("div",fi,[s(a).footer.message?(i(),m("p",{key:0,class:"message",innerHTML:s(a).footer.message},null,8,hi)):S("",!0),s(a).footer.copyright?(i(),m("p",{key:1,class:"copyright",innerHTML:s(a).footer.copyright},null,8,yi)):S("",!0)])],2)):S("",!0)}}),_i=we(gi,[["__scopeId","data-v-e315a0ad"]]);function bi(){const{theme:e,frontmatter:a}=Ce(),t=Vo([]),n=x(()=>t.value.length>0);return Qa(()=>{t.value=En(a.value.outline??e.value.outline)}),{headers:t,hasLocalNav:n}}const ki=e=>(rt("data-v-17a5e62e"),e=e(),lt(),e),wi={class:"menu-text"},$i=ki(()=>y("span",{class:"vpi-chevron-right icon"},null,-1)),Di={class:"header"},Pi={class:"outline"},Ti=J({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const a=e,{theme:t}=Ce(),n=A(!1),o=A(0),r=A(),l=A();function u(p){var c;(c=r.value)!=null&&c.contains(p.target)||(n.value=!1)}Je(n,p=>{if(p){document.addEventListener("click",u);return}document.removeEventListener("click",u)}),Kr("Escape",()=>{n.value=!1}),Qa(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-a.navHeight,0)}function b(p){p.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),yt(()=>{n.value=!1}))}function f(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(p,c)=>(i(),m("div",{class:"VPLocalNavOutlineDropdown",style:mt({"--vp-vh":o.value+"px"}),ref_key:"main",ref:r},[p.headers.length>0?(i(),m("button",{key:0,onClick:d,class:he({open:n.value})},[y("span",wi,ce(s(Yo)(s(t))),1),$i],2)):(i(),m("button",{key:1,onClick:f},ce(s(t).returnToTopLabel||"Return to top"),1)),ee(Ht,{name:"flyout"},{default:w(()=>[n.value?(i(),m("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:b},[y("div",Di,[y("a",{class:"top-link",href:"#",onClick:f},ce(s(t).returnToTopLabel||"Return to top"),1)]),y("div",Pi,[ee(Fo,{headers:p.headers},null,8,["headers"])])],512)):S("",!0)]),_:1})],4))}}),Mi=we(Ti,[["__scopeId","data-v-17a5e62e"]]),xi=e=>(rt("data-v-a6f0e41e"),e=e(),lt(),e),Si={class:"container"},Ai=["aria-expanded"],Ci=xi(()=>y("span",{class:"vpi-align-left menu-icon"},null,-1)),Vi={class:"menu-text"},Oi=J({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt(),{headers:o}=bi(),{y:r}=No(),l=A(0);Ue(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Qa(()=>{o.value=En(t.value.outline??a.value.outline)});const u=x(()=>o.value.length===0),d=x(()=>u.value&&!n.value),b=x(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:u.value,fixed:d.value}));return(f,p)=>s(t).layout!=="home"&&(!d.value||s(r)>=l.value)?(i(),m("div",{key:0,class:he(b.value)},[y("div",Si,[s(n)?(i(),m("button",{key:0,class:"menu","aria-expanded":f.open,"aria-controls":"VPSidebarNav",onClick:p[0]||(p[0]=c=>f.$emit("open-menu"))},[Ci,y("span",Vi,ce(s(a).sidebarMenuLabel||"Menu"),1)],8,Ai)):S("",!0),ee(Mi,{headers:s(o),navHeight:l.value},null,8,["headers","navHeight"])])],2)):S("",!0)}}),Ii=we(Oi,[["__scopeId","data-v-a6f0e41e"]]);function Li(){const e=A(!1);function a(){e.value=!0,window.addEventListener("resize",o)}function t(){e.value=!1,window.removeEventListener("resize",o)}function n(){e.value?t():a()}function o(){window.outerWidth>=768&&t()}const r=Ka();return Je(()=>r.path,t),{isScreenOpen:e,openScreen:a,closeScreen:t,toggleScreen:n}}const Ni={},Ri={class:"VPSwitch",type:"button",role:"switch"},Bi={class:"check"},Ei={key:0,class:"icon"};function Hi(e,a){return i(),m("button",Ri,[y("span",Bi,[e.$slots.default?(i(),m("span",Ei,[k(e.$slots,"default",{},void 0,!0)])):S("",!0)])])}const Yi=we(Ni,[["render",Hi],["__scopeId","data-v-1d5665e3"]]),Wo=e=>(rt("data-v-5337faa4"),e=e(),lt(),e),Fi=Wo(()=>y("span",{class:"vpi-sun sun"},null,-1)),zi=Wo(()=>y("span",{class:"vpi-moon moon"},null,-1)),Wi=J({__name:"VPSwitchAppearance",setup(e){const{isDark:a,theme:t}=Ce(),n=Ga("toggle-appearance",()=>{a.value=!a.value}),o=A("");return Rn(()=>{o.value=a.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,l)=>(i(),le(Yi,{title:o.value,class:"VPSwitchAppearance","aria-checked":s(a),onClick:s(n)},{default:w(()=>[Fi,zi]),_:1},8,["title","aria-checked","onClick"]))}}),Hn=we(Wi,[["__scopeId","data-v-5337faa4"]]),Ui={key:0,class:"VPNavBarAppearance"},qi=J({__name:"VPNavBarAppearance",setup(e){const{site:a}=Ce();return(t,n)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",Ui,[ee(Hn)])):S("",!0)}}),ji=we(qi,[["__scopeId","data-v-6c893767"]]),Yn=A();let Uo=!1,mn=0;function Qi(e){const a=A(!1);if(Xa){!Uo&&Ki(),mn++;const t=Je(Yn,n=>{var o,r,l;n===e.el.value||(o=e.el.value)!=null&&o.contains(n)?(a.value=!0,(r=e.onFocus)==null||r.call(e)):(a.value=!1,(l=e.onBlur)==null||l.call(e))});Xt(()=>{t(),mn--,mn||Gi()})}return Gr(a)}function Ki(){document.addEventListener("focusin",qo),Uo=!0,Yn.value=document.activeElement}function Gi(){document.removeEventListener("focusin",qo)}function qo(){Yn.value=document.activeElement}const Xi={class:"VPMenuLink"},Ji=J({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:a}=Ce();return(t,n)=>(i(),m("div",Xi,[ee(It,{class:he({active:s(sa)(s(a).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:w(()=>[Ne(ce(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Ja=we(Ji,[["__scopeId","data-v-43f1e123"]]),Zi={class:"VPMenuGroup"},eu={key:0,class:"title"},tu=J({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(a,t)=>(i(),m("div",Zi,[a.text?(i(),m("p",eu,ce(a.text),1)):S("",!0),(i(!0),m(pe,null,Me(a.items,n=>(i(),m(pe,null,["link"in n?(i(),le(Ja,{key:0,item:n},null,8,["item"])):S("",!0)],64))),256))]))}}),au=we(tu,[["__scopeId","data-v-69e747b5"]]),nu={class:"VPMenu"},ou={key:0,class:"items"},ru=J({__name:"VPMenu",props:{items:{}},setup(e){return(a,t)=>(i(),m("div",nu,[a.items?(i(),m("div",ou,[(i(!0),m(pe,null,Me(a.items,n=>(i(),m(pe,{key:JSON.stringify(n)},["link"in n?(i(),le(Ja,{key:0,item:n},null,8,["item"])):"component"in n?(i(),le(ft(n.component),Oe({key:1,ref_for:!0},n.props),null,16)):(i(),le(au,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):S("",!0),k(a.$slots,"default",{},void 0,!0)]))}}),lu=we(ru,[["__scopeId","data-v-b98bc113"]]),su=e=>(rt("data-v-b6c34ac9"),e=e(),lt(),e),iu=["aria-expanded","aria-label"],uu={key:0,class:"text"},du=["innerHTML"],cu=su(()=>y("span",{class:"vpi-chevron-down text-icon"},null,-1)),vu={key:1,class:"vpi-more-horizontal icon"},mu={class:"menu"},pu=J({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const a=A(!1),t=A();Qi({el:t,onBlur:n});function n(){a.value=!1}return(o,r)=>(i(),m("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>a.value=!0),onMouseleave:r[2]||(r[2]=l=>a.value=!1)},[y("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":a.value,"aria-label":o.label,onClick:r[0]||(r[0]=l=>a.value=!a.value)},[o.button||o.icon?(i(),m("span",uu,[o.icon?(i(),m("span",{key:0,class:he([o.icon,"option-icon"])},null,2)):S("",!0),o.button?(i(),m("span",{key:1,innerHTML:o.button},null,8,du)):S("",!0),cu])):(i(),m("span",vu))],8,iu),y("div",mu,[ee(lu,{items:o.items},{default:w(()=>[k(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Fn=we(pu,[["__scopeId","data-v-b6c34ac9"]]),fu=["href","aria-label","innerHTML"],hu=J({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const a=e,t=x(()=>typeof a.icon=="object"?a.icon.svg:` `);return(n,o)=>(i(),m("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,fu))}}),yu=we(hu,[["__scopeId","data-v-eee4e7cb"]]),gu={class:"VPSocialLinks"},_u=J({__name:"VPSocialLinks",props:{links:{}},setup(e){return(a,t)=>(i(),m("div",gu,[(i(!0),m(pe,null,Me(a.links,({link:n,icon:o,ariaLabel:r})=>(i(),le(yu,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),zn=we(_u,[["__scopeId","data-v-7bc22406"]]),bu={key:0,class:"group translations"},ku={class:"trans-title"},wu={key:1,class:"group"},$u={class:"item appearance"},Du={class:"label"},Pu={class:"appearance-action"},Tu={key:2,class:"group"},Mu={class:"item social-links"},xu=J({__name:"VPNavBarExtra",setup(e){const{site:a,theme:t}=Ce(),{localeLinks:n,currentLang:o}=Oa({correspondingLink:!0}),r=x(()=>n.value.length&&o.value.label||a.value.appearance||t.value.socialLinks);return(l,u)=>r.value?(i(),le(Fn,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:w(()=>[s(n).length&&s(o).label?(i(),m("div",bu,[y("p",ku,ce(s(o).label),1),(i(!0),m(pe,null,Me(s(n),d=>(i(),le(Ja,{key:d.link,item:d},null,8,["item"]))),128))])):S("",!0),s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",wu,[y("div",$u,[y("p",Du,ce(s(t).darkModeSwitchLabel||"Appearance"),1),y("div",Pu,[ee(Hn)])])])):S("",!0),s(t).socialLinks?(i(),m("div",Tu,[y("div",Mu,[ee(zn,{class:"social-links-list",links:s(t).socialLinks},null,8,["links"])])])):S("",!0)]),_:1})):S("",!0)}}),Su=we(xu,[["__scopeId","data-v-bb2aa2f0"]]),Au=e=>(rt("data-v-e5dd9c1c"),e=e(),lt(),e),Cu=["aria-expanded"],Vu=Au(()=>y("span",{class:"container"},[y("span",{class:"top"}),y("span",{class:"middle"}),y("span",{class:"bottom"})],-1)),Ou=[Vu],Iu=J({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(a,t)=>(i(),m("button",{type:"button",class:he(["VPNavBarHamburger",{active:a.active}]),"aria-label":"mobile navigation","aria-expanded":a.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>a.$emit("click"))},Ou,10,Cu))}}),Lu=we(Iu,[["__scopeId","data-v-e5dd9c1c"]]),Nu=["innerHTML"],Ru=J({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:a}=Ce();return(t,n)=>(i(),le(It,{class:he({VPNavBarMenuLink:!0,active:s(sa)(s(a).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:w(()=>[y("span",{innerHTML:t.item.text},null,8,Nu)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Bu=we(Ru,[["__scopeId","data-v-9c663999"]]),Eu=J({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const a=e,{page:t}=Ce(),n=r=>"component"in r?!1:"link"in r?sa(t.value.relativePath,r.link,!!a.item.activeMatch):r.items.some(n),o=x(()=>n(a.item));return(r,l)=>(i(),le(Fn,{class:he({VPNavBarMenuGroup:!0,active:s(sa)(s(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Hu=e=>(rt("data-v-dc692963"),e=e(),lt(),e),Yu={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Fu=Hu(()=>y("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),zu=J({__name:"VPNavBarMenu",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).nav?(i(),m("nav",Yu,[Fu,(i(!0),m(pe,null,Me(s(a).nav,o=>(i(),m(pe,{key:JSON.stringify(o)},["link"in o?(i(),le(Bu,{key:0,item:o},null,8,["item"])):"component"in o?(i(),le(ft(o.component),Oe({key:1,ref_for:!0},o.props),null,16)):(i(),le(Eu,{key:2,item:o},null,8,["item"]))],64))),128))])):S("",!0)}}),Wu=we(zu,[["__scopeId","data-v-dc692963"]]);function Uu(e){const{localeIndex:a,theme:t}=Ce();function n(o){var P,$,R;const r=o.split("."),l=(P=t.value.search)==null?void 0:P.options,u=l&&typeof l=="object",d=u&&((R=($=l.locales)==null?void 0:$[a.value])==null?void 0:R.translations)||null,b=u&&l.translations||null;let f=d,p=b,c=e;const g=r.pop();for(const W of r){let U=null;const V=c==null?void 0:c[W];V&&(U=c=V);const K=p==null?void 0:p[W];K&&(U=p=K);const se=f==null?void 0:f[W];se&&(U=f=se),V||(c=U),K||(p=U),se||(f=U)}return(f==null?void 0:f[g])??(p==null?void 0:p[g])??(c==null?void 0:c[g])??""}return n}const qu=["aria-label"],ju={class:"DocSearch-Button-Container"},Qu=y("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ku={class:"DocSearch-Button-Placeholder"},Gu=y("span",{class:"DocSearch-Button-Keys"},[y("kbd",{class:"DocSearch-Button-Key"}),y("kbd",{class:"DocSearch-Button-Key"},"K")],-1),vo=J({__name:"VPNavBarSearchButton",setup(e){const t=Uu({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,o)=>(i(),m("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":s(t)("button.buttonAriaLabel")},[y("span",ju,[Qu,y("span",Ku,ce(s(t)("button.buttonText")),1)]),Gu],8,qu))}}),Xu={class:"VPNavBarSearch"},Ju={id:"local-search"},Zu={key:1,id:"docsearch"},ed=J({__name:"VPNavBarSearch",setup(e){const a=()=>null,t=Oo(()=>Io(()=>import("./VPAlgoliaSearchBox.D1L8mbHp.js"),__vite__mapDeps([2,1]))),{theme:n}=Ce(),o=A(!1),r=A(!1),l=()=>{const c="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{var $;const P=document.createElement("link");P.id=c,P.rel="preconnect",P.href=`https://${((($=n.value.search)==null?void 0:$.options)??n.value.algolia).appId}-dsn.algolia.net`,P.crossOrigin="",document.head.appendChild(P)})};Ue(()=>{l();const c=P=>{(P.key.toLowerCase()==="k"&&(P.metaKey||P.ctrlKey)||!b(P)&&P.key==="/")&&(P.preventDefault(),u(),g())},g=()=>{window.removeEventListener("keydown",c)};window.addEventListener("keydown",c),Xt(g)});function u(){o.value||(o.value=!0,setTimeout(d,16))}function d(){const c=new Event("keydown");c.key="k",c.metaKey=!0,window.dispatchEvent(c),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||d()},16)}function b(c){const g=c.target,P=g.tagName;return g.isContentEditable||P==="INPUT"||P==="SELECT"||P==="TEXTAREA"}const f=A(!1),p="algolia";return(c,g)=>{var P;return i(),m("div",Xu,[s(p)==="local"?(i(),m(pe,{key:0},[f.value?(i(),le(s(a),{key:0,onClose:g[0]||(g[0]=$=>f.value=!1)})):S("",!0),y("div",Ju,[ee(vo,{onClick:g[1]||(g[1]=$=>f.value=!0)})])],64)):s(p)==="algolia"?(i(),m(pe,{key:1},[o.value?(i(),le(s(t),{key:0,algolia:((P=s(n).search)==null?void 0:P.options)??s(n).algolia,onVnodeBeforeMount:g[2]||(g[2]=$=>r.value=!0)},null,8,["algolia"])):S("",!0),r.value?S("",!0):(i(),m("div",Zu,[ee(vo,{onClick:u})]))],64)):S("",!0)])}}}),td=J({__name:"VPNavBarSocialLinks",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).socialLinks?(i(),le(zn,{key:0,class:"VPNavBarSocialLinks",links:s(a).socialLinks},null,8,["links"])):S("",!0)}}),ad=we(td,[["__scopeId","data-v-0394ad82"]]),nd=["href","rel","target"],od={key:1},rd={key:2},ld=J({__name:"VPNavBarTitle",setup(e){const{site:a,theme:t}=Ce(),{hasSidebar:n}=Yt(),{currentLang:o}=Oa(),r=x(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=x(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),u=x(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,b)=>(i(),m("div",{class:he(["VPNavBarTitle",{"has-sidebar":s(n)}])},[y("a",{class:"title",href:r.value??s(Bn)(s(o).link),rel:l.value,target:u.value},[k(d.$slots,"nav-bar-title-before",{},void 0,!0),s(t).logo?(i(),le(za,{key:0,class:"logo",image:s(t).logo},null,8,["image"])):S("",!0),s(t).siteTitle?(i(),m("span",od,ce(s(t).siteTitle),1)):s(t).siteTitle===void 0?(i(),m("span",rd,ce(s(a).title),1)):S("",!0),k(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,nd)],2))}}),sd=we(ld,[["__scopeId","data-v-ab179fa1"]]),id={class:"items"},ud={class:"title"},dd=J({__name:"VPNavBarTranslations",setup(e){const{theme:a}=Ce(),{localeLinks:t,currentLang:n}=Oa({correspondingLink:!0});return(o,r)=>s(t).length&&s(n).label?(i(),le(Fn,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:s(a).langMenuLabel||"Change language"},{default:w(()=>[y("div",id,[y("p",ud,ce(s(n).label),1),(i(!0),m(pe,null,Me(s(t),l=>(i(),le(Ja,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):S("",!0)}}),cd=we(dd,[["__scopeId","data-v-88af2de4"]]),vd=e=>(rt("data-v-6aa21345"),e=e(),lt(),e),md={class:"wrapper"},pd={class:"container"},fd={class:"title"},hd={class:"content"},yd={class:"content-body"},gd=vd(()=>y("div",{class:"divider"},[y("div",{class:"divider-line"})],-1)),_d=J({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const a=e,{y:t}=No(),{hasSidebar:n}=Yt(),{frontmatter:o}=Ce(),r=A({});return Rn(()=>{r.value={"has-sidebar":n.value,home:o.value.layout==="home",top:t.value===0,"screen-open":a.isScreenOpen}}),(l,u)=>(i(),m("div",{class:he(["VPNavBar",r.value])},[y("div",md,[y("div",pd,[y("div",fd,[ee(sd,null,{"nav-bar-title-before":w(()=>[k(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),y("div",hd,[y("div",yd,[k(l.$slots,"nav-bar-content-before",{},void 0,!0),ee(ed,{class:"search"}),ee(Wu,{class:"menu"}),ee(cd,{class:"translations"}),ee(ji,{class:"appearance"}),ee(ad,{class:"social-links"}),ee(Su,{class:"extra"}),k(l.$slots,"nav-bar-content-after",{},void 0,!0),ee(Lu,{class:"hamburger",active:l.isScreenOpen,onClick:u[0]||(u[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),gd],2))}}),bd=we(_d,[["__scopeId","data-v-6aa21345"]]),kd={key:0,class:"VPNavScreenAppearance"},wd={class:"text"},$d=J({__name:"VPNavScreenAppearance",setup(e){const{site:a,theme:t}=Ce();return(n,o)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",kd,[y("p",wd,ce(s(t).darkModeSwitchLabel||"Appearance"),1),ee(Hn)])):S("",!0)}}),Dd=we($d,[["__scopeId","data-v-b44890b2"]]),Pd=J({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const a=Ga("close-screen");return(t,n)=>(i(),le(It,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:s(a),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Td=we(Pd,[["__scopeId","data-v-7f31e1f6"]]),Md=J({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const a=Ga("close-screen");return(t,n)=>(i(),le(It,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:s(a)},{default:w(()=>[Ne(ce(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),jo=we(Md,[["__scopeId","data-v-19976ae1"]]),xd={class:"VPNavScreenMenuGroupSection"},Sd={key:0,class:"title"},Ad=J({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(a,t)=>(i(),m("div",xd,[a.text?(i(),m("p",Sd,ce(a.text),1)):S("",!0),(i(!0),m(pe,null,Me(a.items,n=>(i(),le(jo,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Cd=we(Ad,[["__scopeId","data-v-8133b170"]]),Vd=e=>(rt("data-v-b9ab8c58"),e=e(),lt(),e),Od=["aria-controls","aria-expanded"],Id=["innerHTML"],Ld=Vd(()=>y("span",{class:"vpi-plus button-icon"},null,-1)),Nd=["id"],Rd={key:0,class:"item"},Bd={key:1,class:"item"},Ed={key:2,class:"group"},Hd=J({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const a=e,t=A(!1),n=x(()=>`NavScreenGroup-${a.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,l)=>(i(),m("div",{class:he(["VPNavScreenMenuGroup",{open:t.value}])},[y("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[y("span",{class:"button-text",innerHTML:r.text},null,8,Id),Ld],8,Od),y("div",{id:n.value,class:"items"},[(i(!0),m(pe,null,Me(r.items,u=>(i(),m(pe,{key:JSON.stringify(u)},["link"in u?(i(),m("div",Rd,[ee(jo,{item:u},null,8,["item"])])):"component"in u?(i(),m("div",Bd,[(i(),le(ft(u.component),Oe({ref_for:!0},u.props,{"screen-menu":""}),null,16))])):(i(),m("div",Ed,[ee(Cd,{text:u.text,items:u.items},null,8,["text","items"])]))],64))),128))],8,Nd)],2))}}),Yd=we(Hd,[["__scopeId","data-v-b9ab8c58"]]),Fd={key:0,class:"VPNavScreenMenu"},zd=J({__name:"VPNavScreenMenu",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).nav?(i(),m("nav",Fd,[(i(!0),m(pe,null,Me(s(a).nav,o=>(i(),m(pe,{key:JSON.stringify(o)},["link"in o?(i(),le(Td,{key:0,item:o},null,8,["item"])):"component"in o?(i(),le(ft(o.component),Oe({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(i(),le(Yd,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):S("",!0)}}),Wd=J({__name:"VPNavScreenSocialLinks",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).socialLinks?(i(),le(zn,{key:0,class:"VPNavScreenSocialLinks",links:s(a).socialLinks},null,8,["links"])):S("",!0)}}),Qo=e=>(rt("data-v-858fe1a4"),e=e(),lt(),e),Ud=Qo(()=>y("span",{class:"vpi-languages icon lang"},null,-1)),qd=Qo(()=>y("span",{class:"vpi-chevron-down icon chevron"},null,-1)),jd={class:"list"},Qd=J({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:a,currentLang:t}=Oa({correspondingLink:!0}),n=A(!1);function o(){n.value=!n.value}return(r,l)=>s(a).length&&s(t).label?(i(),m("div",{key:0,class:he(["VPNavScreenTranslations",{open:n.value}])},[y("button",{class:"title",onClick:o},[Ud,Ne(" "+ce(s(t).label)+" ",1),qd]),y("ul",jd,[(i(!0),m(pe,null,Me(s(a),u=>(i(),m("li",{key:u.link,class:"item"},[ee(It,{class:"link",href:u.link},{default:w(()=>[Ne(ce(u.text),1)]),_:2},1032,["href"])]))),128))])],2)):S("",!0)}}),Kd=we(Qd,[["__scopeId","data-v-858fe1a4"]]),Gd={class:"container"},Xd=J({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const a=A(null),t=Ro(Xa?document.body:null);return(n,o)=>(i(),le(Ht,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:w(()=>[n.open?(i(),m("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:a,id:"VPNavScreen"},[y("div",Gd,[k(n.$slots,"nav-screen-content-before",{},void 0,!0),ee(zd,{class:"menu"}),ee(Kd,{class:"translations"}),ee(Dd,{class:"appearance"}),ee(Wd,{class:"social-links"}),k(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):S("",!0)]),_:3}))}}),Jd=we(Xd,[["__scopeId","data-v-f2779853"]]),Zd={key:0,class:"VPNav"},ec=J({__name:"VPNav",setup(e){const{isScreenOpen:a,closeScreen:t,toggleScreen:n}=Li(),{frontmatter:o}=Ce(),r=x(()=>o.value.navbar!==!1);return Bo("close-screen",t),ja(()=>{Xa&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,u)=>r.value?(i(),m("header",Zd,[ee(bd,{"is-screen-open":s(a),onToggleScreen:s(n)},{"nav-bar-title-before":w(()=>[k(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":w(()=>[k(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":w(()=>[k(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),ee(Jd,{open:s(a)},{"nav-screen-content-before":w(()=>[k(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":w(()=>[k(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):S("",!0)}}),tc=we(ec,[["__scopeId","data-v-ae24b3ad"]]),Ko=e=>(rt("data-v-b7550ba0"),e=e(),lt(),e),ac=["role","tabindex"],nc=Ko(()=>y("div",{class:"indicator"},null,-1)),oc=Ko(()=>y("span",{class:"vpi-chevron-right caret-icon"},null,-1)),rc=[oc],lc={key:1,class:"items"},sc=J({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const a=e,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:l,hasChildren:u,toggle:d}=Tl(x(()=>a.item)),b=x(()=>u.value?"section":"div"),f=x(()=>o.value?"a":"div"),p=x(()=>u.value?a.depth+2===7?"p":`h${a.depth+2}`:"p"),c=x(()=>o.value?void 0:"button"),g=x(()=>[[`level-${a.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":l.value}]);function P(R){"key"in R&&R.key!=="Enter"||!a.item.link&&d()}function $(){a.item.link&&d()}return(R,W)=>{const U=ua("VPSidebarItem",!0);return i(),le(ft(b.value),{class:he(["VPSidebarItem",g.value])},{default:w(()=>[R.item.text?(i(),m("div",Oe({key:0,class:"item",role:c.value},Xr(R.item.items?{click:P,keydown:P}:{},!0),{tabindex:R.item.items&&0}),[nc,R.item.link?(i(),le(It,{key:0,tag:f.value,class:"link",href:R.item.link,rel:R.item.rel,target:R.item.target},{default:w(()=>[(i(),le(ft(p.value),{class:"text",innerHTML:R.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(i(),le(ft(p.value),{key:1,class:"text",innerHTML:R.item.text},null,8,["innerHTML"])),R.item.collapsed!=null&&R.item.items&&R.item.items.length?(i(),m("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:$,onKeydown:Eo($,["enter"]),tabindex:"0"},rc,32)):S("",!0)],16,ac)):S("",!0),R.item.items&&R.item.items.length?(i(),m("div",lc,[R.depth<5?(i(!0),m(pe,{key:0},Me(R.item.items,V=>(i(),le(U,{key:V.text,item:V,depth:R.depth+1},null,8,["item","depth"]))),128)):S("",!0)])):S("",!0)]),_:1},8,["class"])}}}),ic=we(sc,[["__scopeId","data-v-b7550ba0"]]),uc=J({__name:"VPSidebarGroup",props:{items:{}},setup(e){const a=A(!0);let t=null;return Ue(()=>{t=setTimeout(()=>{t=null,a.value=!1},300)}),Jr(()=>{t!=null&&(clearTimeout(t),t=null)}),(n,o)=>(i(!0),m(pe,null,Me(n.items,r=>(i(),m("div",{key:r.text,class:he(["group",{"no-transition":a.value}])},[ee(ic,{item:r,depth:0},null,8,["item"])],2))),128))}}),dc=we(uc,[["__scopeId","data-v-c40bc020"]]),Go=e=>(rt("data-v-319d5ca6"),e=e(),lt(),e),cc=Go(()=>y("div",{class:"curtain"},null,-1)),vc={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},mc=Go(()=>y("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),pc=J({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:a,hasSidebar:t}=Yt(),n=e,o=A(null),r=Ro(Xa?document.body:null);Je([n,o],()=>{var u;n.open?(r.value=!0,(u=o.value)==null||u.focus()):r.value=!1},{immediate:!0,flush:"post"});const l=A(0);return Je(a,()=>{l.value+=1},{deep:!0}),(u,d)=>s(t)?(i(),m("aside",{key:0,class:he(["VPSidebar",{open:u.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=ia(()=>{},["stop"]))},[cc,y("nav",vc,[mc,k(u.$slots,"sidebar-nav-before",{},void 0,!0),(i(),le(dc,{items:s(a),key:l.value},null,8,["items"])),k(u.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):S("",!0)}}),fc=we(pc,[["__scopeId","data-v-319d5ca6"]]),hc=J({__name:"VPSkipLink",setup(e){const a=Ka(),t=A();Je(()=>a.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(i(),m(pe,null,[y("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),y("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),yc=we(hc,[["__scopeId","data-v-0f60ec36"]]),gc=J({__name:"Layout",setup(e){const{isOpen:a,open:t,close:n}=Yt(),o=Ka();Je(()=>o.path,n),Pl(a,n);const{frontmatter:r}=Ce(),l=Jt(),u=x(()=>!!l["home-hero-image"]);return Bo("hero-image-slot-exists",u),(d,b)=>{const f=ua("Content");return s(r).layout!==!1?(i(),m("div",{key:0,class:he(["Layout",s(r).pageClass])},[k(d.$slots,"layout-top",{},void 0,!0),ee(yc),ee(dl,{class:"backdrop",show:s(a),onClick:s(n)},null,8,["show","onClick"]),ee(tc,null,{"nav-bar-title-before":w(()=>[k(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":w(()=>[k(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":w(()=>[k(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":w(()=>[k(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":w(()=>[k(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),ee(Ii,{open:s(a),onOpenMenu:s(t)},null,8,["open","onOpenMenu"]),ee(fc,{open:s(a)},{"sidebar-nav-before":w(()=>[k(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":w(()=>[k(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),ee(pi,null,{"page-top":w(()=>[k(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":w(()=>[k(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":w(()=>[k(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":w(()=>[k(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":w(()=>[k(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":w(()=>[k(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":w(()=>[k(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":w(()=>[k(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":w(()=>[k(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":w(()=>[k(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":w(()=>[k(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":w(()=>[k(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":w(()=>[k(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":w(()=>[k(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":w(()=>[k(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":w(()=>[k(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),ee(_i),k(d.$slots,"layout-bottom",{},void 0,!0)],2)):(i(),le(f,{key:1}))}}}),_c=we(gc,[["__scopeId","data-v-5d98c3a5"]]),Xo={Layout:_c,enhanceApp:({app:e})=>{e.component("Badge",sl)}},bc=y("div",{style:{"margin-bottom":"10px",cursor:"pointer"}},[y("a",{href:"https://vueschool.io/the-vuejs-3-master-class?friend=JASKAR",target:"_blank"},[y("img",{src:Zr,alt:"vue school affiliate"})])],-1),kc=J({__name:"LayoutCmp",setup(e){const{Layout:a}=Xo;return(t,n)=>(i(),le(s(a),null,{"doc-before":w(()=>[bc]),_:1}))}}),wc={},$c={class:"star-and-sponsor"},Dc=y("p",null,[Ne(" ⭐ If you like the component, give it a star on "),y("a",{class:"home-link",href:"https://github.com/Vuepic/vue-datepicker",target:"_blank"},"GitHub"),Ne(" and consider "),y("a",{class:"home-link",href:"https://github.com/sponsors/Vuepic",target:"_blank"},"sponsoring"),Ne(" its development! ⭐ ")],-1),Pc=[Dc];function Tc(e,a){return i(),m("div",$c,Pc)}const Mc=we(wc,[["render",Tc]]);function be(e){const a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function Re(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function et(e,a){const t=be(e);return isNaN(a)?Re(e,NaN):(a&&t.setDate(t.getDate()+a),t)}function bt(e,a){const t=be(e);if(isNaN(a))return Re(e,NaN);if(!a)return t;const n=t.getDate(),o=Re(e,t.getTime());o.setMonth(t.getMonth()+a+1,0);const r=o.getDate();return n>=r?o:(t.setFullYear(o.getFullYear(),o.getMonth(),n),t)}function Jo(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:u=0,seconds:d=0}=a,b=be(e),f=n||t?bt(b,n+t*12):b,p=r||o?et(f,r+o*7):f,c=u+l*60,P=(d+c*60)*1e3;return Re(e,p.getTime()+P)}function xc(e,a){const t=+be(e);return Re(e,t+a)}const Zo=6048e5,Sc=864e5,Ac=6e4,er=36e5,Cc=1e3;function Vc(e,a){return xc(e,a*er)}let Oc={};function da(){return Oc}function Tt(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.weekStartsOn)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.weekStartsOn)??0,o=be(e),r=o.getDay(),l=(r=o.getTime()?t+1:a.getTime()>=l.getTime()?t:t-1}function mo(e){const a=be(e);return a.setHours(0,0,0,0),a}function Wa(e){const a=be(e),t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),+e-+t}function ar(e,a){const t=mo(e),n=mo(a),o=+t-Wa(t),r=+n-Wa(n);return Math.round((o-r)/Sc)}function Ic(e){const a=tr(e),t=Re(e,0);return t.setFullYear(a,0,4),t.setHours(0,0,0,0),fa(t)}function Lc(e,a){const t=a*3;return bt(e,t)}function Wn(e,a){return bt(e,a*12)}function po(e,a){const t=be(e),n=be(a),o=t.getTime()-n.getTime();return o<0?-1:o>0?1:o}function nr(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ma(e){if(!nr(e)&&typeof e!="number")return!1;const a=be(e);return!isNaN(Number(a))}function fo(e){const a=be(e);return Math.trunc(a.getMonth()/3)+1}function Nc(e,a){const t=be(e),n=be(a);return t.getFullYear()-n.getFullYear()}function ho(e){const a=be(e),t=a.getMonth();return a.setFullYear(a.getFullYear(),t+1,0),a.setHours(23,59,59,999),a}function Rc(e,a){const t=be(e),n=be(a),o=po(t,n),r=Math.abs(Nc(t,n));t.setFullYear(1584),n.setFullYear(1584);const l=po(t,n)===-o,u=o*(r-+l);return u===0?0:u}function or(e,a){const t=be(e.start),n=be(e.end);let o=+t>+n;const r=o?+t:+n,l=o?n:t;l.setHours(0,0,0,0);let u=1;const d=[];for(;+l<=r;)d.push(be(l)),l.setDate(l.getDate()+u),l.setHours(0,0,0,0);return o?d.reverse():d}function qt(e){const a=be(e),t=a.getMonth(),n=t-t%3;return a.setMonth(n,1),a.setHours(0,0,0,0),a}function Bc(e,a){const t=be(e.start),n=be(e.end);let o=+t>+n;const r=o?+qt(t):+qt(n);let l=qt(o?n:t),u=1;const d=[];for(;+l<=r;)d.push(be(l)),l=Lc(l,u);return o?d.reverse():d}function Sn(e){const a=be(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Un(e){const a=be(e),t=a.getFullYear();return a.setFullYear(t+1,0,0),a.setHours(23,59,59,999),a}function ha(e){const a=be(e),t=Re(e,0);return t.setFullYear(a.getFullYear(),0,1),t.setHours(0,0,0,0),t}function rr(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.weekStartsOn)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.weekStartsOn)??0,o=be(e),r=o.getDay(),l=(r{let n;const o=Ec[e];return typeof o=="string"?n=o:a===1?n=o.one:n=o.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function pa(e){return(a={})=>{const t=a.width?String(a.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Yc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Fc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},zc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Wc={date:pa({formats:Yc,defaultWidth:"full"}),time:pa({formats:Fc,defaultWidth:"full"}),dateTime:pa({formats:zc,defaultWidth:"full"})},Uc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qc=(e,a,t,n)=>Uc[e];function St(e){return(a,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let o;if(n==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,u=t!=null&&t.width?String(t.width):l;o=e.formattingValues[u]||e.formattingValues[l]}else{const l=e.defaultWidth,u=t!=null&&t.width?String(t.width):e.defaultWidth;o=e.values[u]||e.values[l]}const r=e.argumentCallback?e.argumentCallback(a):a;return o[r]}}const jc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Qc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Kc={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Gc={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Xc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Jc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Zc=(e,a)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},ev={ordinalNumber:Zc,era:St({values:jc,defaultWidth:"wide"}),quarter:St({values:Qc,defaultWidth:"wide",argumentCallback:e=>e-1}),month:St({values:Kc,defaultWidth:"wide"}),day:St({values:Gc,defaultWidth:"wide"}),dayPeriod:St({values:Xc,defaultWidth:"wide",formattingValues:Jc,defaultFormattingWidth:"wide"})};function At(e){return(a,t={})=>{const n=t.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],r=a.match(o);if(!r)return null;const l=r[0],u=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(u)?av(u,p=>p.test(l)):tv(u,p=>p.test(l));let b;b=e.valueCallback?e.valueCallback(d):d,b=t.valueCallback?t.valueCallback(b):b;const f=a.slice(l.length);return{value:b,rest:f}}}function tv(e,a){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&a(e[t]))return t}function av(e,a){for(let t=0;t{const n=a.match(e.matchPattern);if(!n)return null;const o=n[0],r=a.match(e.parsePattern);if(!r)return null;let l=e.valueCallback?e.valueCallback(r[0]):r[0];l=t.valueCallback?t.valueCallback(l):l;const u=a.slice(o.length);return{value:l,rest:u}}}const nv=/^(\d+)(th|st|nd|rd)?/i,ov=/\d+/i,rv={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},lv={any:[/^b/i,/^(a|c)/i]},sv={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},iv={any:[/1/i,/2/i,/3/i,/4/i]},uv={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},dv={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},cv={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},vv={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},mv={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},pv={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},fv={ordinalNumber:lr({matchPattern:nv,parsePattern:ov,valueCallback:e=>parseInt(e,10)}),era:At({matchPatterns:rv,defaultMatchWidth:"wide",parsePatterns:lv,defaultParseWidth:"any"}),quarter:At({matchPatterns:sv,defaultMatchWidth:"wide",parsePatterns:iv,defaultParseWidth:"any",valueCallback:e=>e+1}),month:At({matchPatterns:uv,defaultMatchWidth:"wide",parsePatterns:dv,defaultParseWidth:"any"}),day:At({matchPatterns:cv,defaultMatchWidth:"wide",parsePatterns:vv,defaultParseWidth:"any"}),dayPeriod:At({matchPatterns:mv,defaultMatchWidth:"any",parsePatterns:pv,defaultParseWidth:"any"})},sr={code:"en-US",formatDistance:Hc,formatLong:Wc,formatRelative:qc,localize:ev,match:fv,options:{weekStartsOn:0,firstWeekContainsDate:1}};function hv(e){const a=be(e);return ar(a,ha(a))+1}function qn(e){const a=be(e),t=+fa(a)-+Ic(a);return Math.round(t/Zo)+1}function jn(e,a){var f,p,c,g;const t=be(e),n=t.getFullYear(),o=da(),r=(a==null?void 0:a.firstWeekContainsDate)??((p=(f=a==null?void 0:a.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??o.firstWeekContainsDate??((g=(c=o.locale)==null?void 0:c.options)==null?void 0:g.firstWeekContainsDate)??1,l=Re(e,0);l.setFullYear(n+1,0,r),l.setHours(0,0,0,0);const u=Tt(l,a),d=Re(e,0);d.setFullYear(n,0,r),d.setHours(0,0,0,0);const b=Tt(d,a);return t.getTime()>=u.getTime()?n+1:t.getTime()>=b.getTime()?n:n-1}function yv(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.firstWeekContainsDate)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??t.firstWeekContainsDate??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.firstWeekContainsDate)??1,o=jn(e,a),r=Re(e,0);return r.setFullYear(o,0,n),r.setHours(0,0,0,0),Tt(r,a)}function Qn(e,a){const t=be(e),n=+Tt(t,a)-+yv(t,a);return Math.round(n/Zo)+1}function Ee(e,a){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(a,"0");return t+n}const Wt={y(e,a){const t=e.getFullYear(),n=t>0?t:1-t;return Ee(a==="yy"?n%100:n,a.length)},M(e,a){const t=e.getMonth();return a==="M"?String(t+1):Ee(t+1,2)},d(e,a){return Ee(e.getDate(),a.length)},a(e,a){const t=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,a){return Ee(e.getHours()%12||12,a.length)},H(e,a){return Ee(e.getHours(),a.length)},m(e,a){return Ee(e.getMinutes(),a.length)},s(e,a){return Ee(e.getSeconds(),a.length)},S(e,a){const t=a.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,t-3));return Ee(o,a.length)}},ca={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},go={G:function(e,a,t){const n=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(e,a,t){if(a==="yo"){const n=e.getFullYear(),o=n>0?n:1-n;return t.ordinalNumber(o,{unit:"year"})}return Wt.y(e,a)},Y:function(e,a,t,n){const o=jn(e,n),r=o>0?o:1-o;if(a==="YY"){const l=r%100;return Ee(l,2)}return a==="Yo"?t.ordinalNumber(r,{unit:"year"}):Ee(r,a.length)},R:function(e,a){const t=tr(e);return Ee(t,a.length)},u:function(e,a){const t=e.getFullYear();return Ee(t,a.length)},Q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(n);case"QQ":return Ee(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(n);case"qq":return Ee(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,a,t){const n=e.getMonth();switch(a){case"M":case"MM":return Wt.M(e,a);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(e,a,t){const n=e.getMonth();switch(a){case"L":return String(n+1);case"LL":return Ee(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(e,a,t,n){const o=Qn(e,n);return a==="wo"?t.ordinalNumber(o,{unit:"week"}):Ee(o,a.length)},I:function(e,a,t){const n=qn(e);return a==="Io"?t.ordinalNumber(n,{unit:"week"}):Ee(n,a.length)},d:function(e,a,t){return a==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Wt.d(e,a)},D:function(e,a,t){const n=hv(e);return a==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):Ee(n,a.length)},E:function(e,a,t){const n=e.getDay();switch(a){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(e,a,t,n){const o=e.getDay(),r=(o-n.weekStartsOn+8)%7||7;switch(a){case"e":return String(r);case"ee":return Ee(r,2);case"eo":return t.ordinalNumber(r,{unit:"day"});case"eee":return t.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(o,{width:"short",context:"formatting"});case"eeee":default:return t.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,t,n){const o=e.getDay(),r=(o-n.weekStartsOn+8)%7||7;switch(a){case"c":return String(r);case"cc":return Ee(r,a.length);case"co":return t.ordinalNumber(r,{unit:"day"});case"ccc":return t.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(o,{width:"narrow",context:"standalone"});case"cccccc":return t.day(o,{width:"short",context:"standalone"});case"cccc":default:return t.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,t){const n=e.getDay(),o=n===0?7:n;switch(a){case"i":return String(o);case"ii":return Ee(o,a.length);case"io":return t.ordinalNumber(o,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(e,a,t){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,t){const n=e.getHours();let o;switch(n===12?o=ca.noon:n===0?o=ca.midnight:o=n/12>=1?"pm":"am",a){case"b":case"bb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,t){const n=e.getHours();let o;switch(n>=17?o=ca.evening:n>=12?o=ca.afternoon:n>=4?o=ca.morning:o=ca.night,a){case"B":case"BB":case"BBB":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,t){if(a==="ho"){let n=e.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return Wt.h(e,a)},H:function(e,a,t){return a==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Wt.H(e,a)},K:function(e,a,t){const n=e.getHours()%12;return a==="Ko"?t.ordinalNumber(n,{unit:"hour"}):Ee(n,a.length)},k:function(e,a,t){let n=e.getHours();return n===0&&(n=24),a==="ko"?t.ordinalNumber(n,{unit:"hour"}):Ee(n,a.length)},m:function(e,a,t){return a==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wt.m(e,a)},s:function(e,a,t){return a==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Wt.s(e,a)},S:function(e,a){return Wt.S(e,a)},X:function(e,a,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(a){case"X":return bo(n);case"XXXX":case"XX":return aa(n);case"XXXXX":case"XXX":default:return aa(n,":")}},x:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"x":return bo(n);case"xxxx":case"xx":return aa(n);case"xxxxx":case"xxx":default:return aa(n,":")}},O:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+_o(n,":");case"OOOO":default:return"GMT"+aa(n,":")}},z:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+_o(n,":");case"zzzz":default:return"GMT"+aa(n,":")}},t:function(e,a,t){const n=Math.trunc(e.getTime()/1e3);return Ee(n,a.length)},T:function(e,a,t){const n=e.getTime();return Ee(n,a.length)}};function _o(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),r=n%60;return r===0?t+String(o):t+String(o)+a+Ee(r,2)}function bo(e,a){return e%60===0?(e>0?"-":"+")+Ee(Math.abs(e)/60,2):aa(e,a)}function aa(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),o=Ee(Math.trunc(n/60),2),r=Ee(n%60,2);return t+o+a+r}const ko=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},ir=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},gv=(e,a)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],o=t[2];if(!o)return ko(e,a);let r;switch(n){case"P":r=a.dateTime({width:"short"});break;case"PP":r=a.dateTime({width:"medium"});break;case"PPP":r=a.dateTime({width:"long"});break;case"PPPP":default:r=a.dateTime({width:"full"});break}return r.replace("{{date}}",ko(n,a)).replace("{{time}}",ir(o,a))},An={p:ir,P:gv},_v=/^D+$/,bv=/^Y+$/,kv=["D","DD","YY","YYYY"];function ur(e){return _v.test(e)}function dr(e){return bv.test(e)}function Cn(e,a,t){const n=wv(e,a,t);if(console.warn(n),kv.includes(e))throw new RangeError(n)}function wv(e,a,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const $v=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dv=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pv=/^'([^]*?)'?$/,Tv=/''/g,Mv=/[a-zA-Z]/;function $t(e,a,t){var f,p,c,g,P,$,R,W;const n=da(),o=(t==null?void 0:t.locale)??n.locale??sr,r=(t==null?void 0:t.firstWeekContainsDate)??((p=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(c=n.locale)==null?void 0:c.options)==null?void 0:g.firstWeekContainsDate)??1,l=(t==null?void 0:t.weekStartsOn)??(($=(P=t==null?void 0:t.locale)==null?void 0:P.options)==null?void 0:$.weekStartsOn)??n.weekStartsOn??((W=(R=n.locale)==null?void 0:R.options)==null?void 0:W.weekStartsOn)??0,u=be(e);if(!Ma(u))throw new RangeError("Invalid time value");let d=a.match(Dv).map(U=>{const V=U[0];if(V==="p"||V==="P"){const K=An[V];return K(U,o.formatLong)}return U}).join("").match($v).map(U=>{if(U==="''")return{isToken:!1,value:"'"};const V=U[0];if(V==="'")return{isToken:!1,value:xv(U)};if(go[V])return{isToken:!0,value:U};if(V.match(Mv))throw new RangeError("Format string contains an unescaped latin alphabet character `"+V+"`");return{isToken:!1,value:U}});o.localize.preprocessor&&(d=o.localize.preprocessor(u,d));const b={firstWeekContainsDate:r,weekStartsOn:l,locale:o};return d.map(U=>{if(!U.isToken)return U.value;const V=U.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&dr(V)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&ur(V))&&Cn(V,a,String(e));const K=go[V[0]];return K(u,V,o.localize,b)}).join("")}function xv(e){const a=e.match(Pv);return a?a[1].replace(Tv,"'"):e}function Sv(e){return be(e).getDay()}function Av(e){const a=be(e),t=a.getFullYear(),n=a.getMonth(),o=Re(e,0);return o.setFullYear(t,n+1,0),o.setHours(0,0,0,0),o.getDate()}function Cv(){return Object.assign({},da())}function Bt(e){return be(e).getHours()}function Vv(e){let t=be(e).getDay();return t===0&&(t=7),t}function Gt(e){return be(e).getMinutes()}function Se(e){return be(e).getMonth()}function ya(e){return be(e).getSeconds()}function Pe(e){return be(e).getFullYear()}function ga(e,a){const t=be(e),n=be(a);return t.getTime()>n.getTime()}function Aa(e,a){const t=be(e),n=be(a);return+t<+n}function oa(e,a){const t=be(e),n=be(a);return+t==+n}function Ov(e,a){const t=a instanceof Date?Re(a,0):new a(0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}const Iv=10;class cr{constructor(){ye(this,"subPriority",0)}validate(a,t){return!0}}class Lv extends cr{constructor(a,t,n,o,r){super(),this.value=a,this.validateValue=t,this.setValue=n,this.priority=o,r&&(this.subPriority=r)}validate(a,t){return this.validateValue(a,this.value,t)}set(a,t,n){return this.setValue(a,t,this.value,n)}}class Nv extends cr{constructor(){super(...arguments);ye(this,"priority",Iv);ye(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:Re(t,Ov(t,Date))}}class Be{run(a,t,n,o){const r=this.parse(a,t,n,o);return r?{setter:new Lv(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(a,t,n){return!0}}class Rv extends Be{constructor(){super(...arguments);ye(this,"priority",140);ye(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,o){switch(n){case"G":case"GG":case"GGG":return o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"});case"GGGGG":return o.era(t,{width:"narrow"});case"GGGG":default:return o.era(t,{width:"wide"})||o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"})}}set(t,n,o){return n.era=o,t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}const Ge={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ct={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Xe(e,a){return e&&{value:a(e.value),rest:e.rest}}function We(e,a){const t=a.match(e);return t?{value:parseInt(t[0],10),rest:a.slice(t[0].length)}:null}function Vt(e,a){const t=a.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:a.slice(1)};const n=t[1]==="+"?1:-1,o=t[2]?parseInt(t[2],10):0,r=t[3]?parseInt(t[3],10):0,l=t[5]?parseInt(t[5],10):0;return{value:n*(o*er+r*Ac+l*Cc),rest:a.slice(t[0].length)}}function vr(e){return We(Ge.anyDigitsSigned,e)}function je(e,a){switch(e){case 1:return We(Ge.singleDigit,a);case 2:return We(Ge.twoDigits,a);case 3:return We(Ge.threeDigits,a);case 4:return We(Ge.fourDigits,a);default:return We(new RegExp("^\\d{1,"+e+"}"),a)}}function Ua(e,a){switch(e){case 1:return We(Ge.singleDigitSigned,a);case 2:return We(Ge.twoDigitsSigned,a);case 3:return We(Ge.threeDigitsSigned,a);case 4:return We(Ge.fourDigitsSigned,a);default:return We(new RegExp("^-?\\d{1,"+e+"}"),a)}}function Kn(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function mr(e,a){const t=a>0,n=t?a:1-a;let o;if(n<=50)o=e||100;else{const r=n+50,l=Math.trunc(r/100)*100,u=e>=r%100;o=e+l-(u?100:0)}return t?o:1-o}function pr(e){return e%400===0||e%4===0&&e%100!==0}class Bv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,o){const r=l=>({year:l,isTwoDigitYear:n==="yy"});switch(n){case"y":return Xe(je(4,t),r);case"yo":return Xe(o.ordinalNumber(t,{unit:"year"}),r);default:return Xe(je(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,o){const r=t.getFullYear();if(o.isTwoDigitYear){const u=mr(o.year,r);return t.setFullYear(u,0,1),t.setHours(0,0,0,0),t}const l=!("era"in n)||n.era===1?o.year:1-o.year;return t.setFullYear(l,0,1),t.setHours(0,0,0,0),t}}class Ev extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,o){const r=l=>({year:l,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Xe(je(4,t),r);case"Yo":return Xe(o.ordinalNumber(t,{unit:"year"}),r);default:return Xe(je(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,o,r){const l=jn(t,r);if(o.isTwoDigitYear){const d=mr(o.year,l);return t.setFullYear(d,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,r)}const u=!("era"in n)||n.era===1?o.year:1-o.year;return t.setFullYear(u,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,r)}}class Hv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Ua(n==="R"?4:n.length,t)}set(t,n,o){const r=Re(t,0);return r.setFullYear(o,0,4),r.setHours(0,0,0,0),fa(r)}}class Yv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Ua(n==="u"?4:n.length,t)}set(t,n,o){return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class Fv extends Be{constructor(){super(...arguments);ye(this,"priority",120);ye(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"Q":case"QQ":return je(n.length,t);case"Qo":return o.ordinalNumber(t,{unit:"quarter"});case"QQQ":return o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(t,{width:"wide",context:"formatting"})||o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}}class zv extends Be{constructor(){super(...arguments);ye(this,"priority",120);ye(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"q":case"qq":return je(n.length,t);case"qo":return o.ordinalNumber(t,{unit:"quarter"});case"qqq":return o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(t,{width:"wide",context:"standalone"})||o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}}class Wv extends Be{constructor(){super(...arguments);ye(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ye(this,"priority",110)}parse(t,n,o){const r=l=>l-1;switch(n){case"M":return Xe(We(Ge.month,t),r);case"MM":return Xe(je(2,t),r);case"Mo":return Xe(o.ordinalNumber(t,{unit:"month"}),r);case"MMM":return o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(t,{width:"wide",context:"formatting"})||o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}}class Uv extends Be{constructor(){super(...arguments);ye(this,"priority",110);ye(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,o){const r=l=>l-1;switch(n){case"L":return Xe(We(Ge.month,t),r);case"LL":return Xe(je(2,t),r);case"Lo":return Xe(o.ordinalNumber(t,{unit:"month"}),r);case"LLL":return o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(t,{width:"wide",context:"standalone"})||o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}}function qv(e,a,t){const n=be(e),o=Qn(n,t)-a;return n.setDate(n.getDate()-o*7),n}class jv extends Be{constructor(){super(...arguments);ye(this,"priority",100);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,o){switch(n){case"w":return We(Ge.week,t);case"wo":return o.ordinalNumber(t,{unit:"week"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o,r){return Tt(qv(t,o,r),r)}}function Qv(e,a){const t=be(e),n=qn(t)-a;return t.setDate(t.getDate()-n*7),t}class Kv extends Be{constructor(){super(...arguments);ye(this,"priority",100);ye(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,o){switch(n){case"I":return We(Ge.week,t);case"Io":return o.ordinalNumber(t,{unit:"week"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o){return fa(Qv(t,o))}}const Gv=[31,28,31,30,31,30,31,31,30,31,30,31],Xv=[31,29,31,30,31,30,31,31,30,31,30,31];class Jv extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"subPriority",1);ye(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"d":return We(Ge.date,t);case"do":return o.ordinalNumber(t,{unit:"date"});default:return je(n.length,t)}}validate(t,n){const o=t.getFullYear(),r=pr(o),l=t.getMonth();return r?n>=1&&n<=Xv[l]:n>=1&&n<=Gv[l]}set(t,n,o){return t.setDate(o),t.setHours(0,0,0,0),t}}class Zv extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"subpriority",1);ye(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,o){switch(n){case"D":case"DD":return We(Ge.dayOfYear,t);case"Do":return o.ordinalNumber(t,{unit:"date"});default:return je(n.length,t)}}validate(t,n){const o=t.getFullYear();return pr(o)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,o){return t.setMonth(0,o),t.setHours(0,0,0,0),t}}function Gn(e,a,t){var p,c,g,P;const n=da(),o=(t==null?void 0:t.weekStartsOn)??((c=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((P=(g=n.locale)==null?void 0:g.options)==null?void 0:P.weekStartsOn)??0,r=be(e),l=r.getDay(),d=(a%7+7)%7,b=7-o,f=a<0||a>6?a-(l+b)%7:(d+b)%7-(l+b)%7;return et(r,f)}class em extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"E":case"EE":case"EEE":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}class tm extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,o,r){const l=u=>{const d=Math.floor((u-1)/7)*7;return(u+r.weekStartsOn+6)%7+d};switch(n){case"e":case"ee":return Xe(je(n.length,t),l);case"eo":return Xe(o.ordinalNumber(t,{unit:"day"}),l);case"eee":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"eeeee":return o.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}class am extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,o,r){const l=u=>{const d=Math.floor((u-1)/7)*7;return(u+r.weekStartsOn+6)%7+d};switch(n){case"c":case"cc":return Xe(je(n.length,t),l);case"co":return Xe(o.ordinalNumber(t,{unit:"day"}),l);case"ccc":return o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case"ccccc":return o.day(t,{width:"narrow",context:"standalone"});case"cccccc":return o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(t,{width:"wide",context:"standalone"})||o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}function nm(e,a){const t=be(e),n=Vv(t),o=a-n;return et(t,o)}class om extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,o){const r=l=>l===0?7:l;switch(n){case"i":case"ii":return je(n.length,t);case"io":return o.ordinalNumber(t,{unit:"day"});case"iii":return Xe(o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return Xe(o.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Xe(o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return Xe(o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,n){return n>=1&&n<=7}set(t,n,o){return t=nm(t,o),t.setHours(0,0,0,0),t}}class rm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,o){switch(n){case"a":case"aa":case"aaa":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class lm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,o){switch(n){case"b":case"bb":case"bbb":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class sm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,o){switch(n){case"B":case"BB":case"BBB":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class im extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,o){switch(n){case"h":return We(Ge.hour12h,t);case"ho":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,o){const r=t.getHours()>=12;return r&&o<12?t.setHours(o+12,0,0,0):!r&&o===12?t.setHours(0,0,0,0):t.setHours(o,0,0,0),t}}class um extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,o){switch(n){case"H":return We(Ge.hour23h,t);case"Ho":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,o){return t.setHours(o,0,0,0),t}}class dm extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,o){switch(n){case"K":return We(Ge.hour11h,t);case"Ko":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.getHours()>=12&&o<12?t.setHours(o+12,0,0,0):t.setHours(o,0,0,0),t}}class cm extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,o){switch(n){case"k":return We(Ge.hour24h,t);case"ko":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,o){const r=o<=24?o%24:o;return t.setHours(r,0,0,0),t}}class vm extends Be{constructor(){super(...arguments);ye(this,"priority",60);ye(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"m":return We(Ge.minute,t);case"mo":return o.ordinalNumber(t,{unit:"minute"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setMinutes(o,0,0),t}}class mm extends Be{constructor(){super(...arguments);ye(this,"priority",50);ye(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"s":return We(Ge.second,t);case"so":return o.ordinalNumber(t,{unit:"second"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setSeconds(o,0),t}}class pm extends Be{constructor(){super(...arguments);ye(this,"priority",30);ye(this,"incompatibleTokens",["t","T"])}parse(t,n){const o=r=>Math.trunc(r*Math.pow(10,-n.length+3));return Xe(je(n.length,t),o)}set(t,n,o){return t.setMilliseconds(o),t}}class fm extends Be{constructor(){super(...arguments);ye(this,"priority",10);ye(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Vt(Ct.basicOptionalMinutes,t);case"XX":return Vt(Ct.basic,t);case"XXXX":return Vt(Ct.basicOptionalSeconds,t);case"XXXXX":return Vt(Ct.extendedOptionalSeconds,t);case"XXX":default:return Vt(Ct.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Re(t,t.getTime()-Wa(t)-o)}}class hm extends Be{constructor(){super(...arguments);ye(this,"priority",10);ye(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Vt(Ct.basicOptionalMinutes,t);case"xx":return Vt(Ct.basic,t);case"xxxx":return Vt(Ct.basicOptionalSeconds,t);case"xxxxx":return Vt(Ct.extendedOptionalSeconds,t);case"xxx":default:return Vt(Ct.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Re(t,t.getTime()-Wa(t)-o)}}class ym extends Be{constructor(){super(...arguments);ye(this,"priority",40);ye(this,"incompatibleTokens","*")}parse(t){return vr(t)}set(t,n,o){return[Re(t,o*1e3),{timestampIsSet:!0}]}}class gm extends Be{constructor(){super(...arguments);ye(this,"priority",20);ye(this,"incompatibleTokens","*")}parse(t){return vr(t)}set(t,n,o){return[Re(t,o),{timestampIsSet:!0}]}}const _m={G:new Rv,y:new Bv,Y:new Ev,R:new Hv,u:new Yv,Q:new Fv,q:new zv,M:new Wv,L:new Uv,w:new jv,I:new Kv,d:new Jv,D:new Zv,E:new em,e:new tm,c:new am,i:new om,a:new rm,b:new lm,B:new sm,h:new im,H:new um,K:new dm,k:new cm,m:new vm,s:new mm,S:new pm,X:new fm,x:new hm,t:new ym,T:new gm},bm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,km=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,wm=/^'([^]*?)'?$/,$m=/''/g,Dm=/\S/,Pm=/[a-zA-Z]/;function Vn(e,a,t,n){var $,R,W,U,V,K,se,q;const o=Cv(),r=(n==null?void 0:n.locale)??o.locale??sr,l=(n==null?void 0:n.firstWeekContainsDate)??((R=($=n==null?void 0:n.locale)==null?void 0:$.options)==null?void 0:R.firstWeekContainsDate)??o.firstWeekContainsDate??((U=(W=o.locale)==null?void 0:W.options)==null?void 0:U.firstWeekContainsDate)??1,u=(n==null?void 0:n.weekStartsOn)??((K=(V=n==null?void 0:n.locale)==null?void 0:V.options)==null?void 0:K.weekStartsOn)??o.weekStartsOn??((q=(se=o.locale)==null?void 0:se.options)==null?void 0:q.weekStartsOn)??0;if(a==="")return e===""?be(t):Re(t,NaN);const d={firstWeekContainsDate:l,weekStartsOn:u,locale:r},b=[new Nv],f=a.match(km).map(I=>{const te=I[0];if(te in An){const G=An[te];return G(I,r.formatLong)}return I}).join("").match(bm),p=[];for(let I of f){!(n!=null&&n.useAdditionalWeekYearTokens)&&dr(I)&&Cn(I,a,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&ur(I)&&Cn(I,a,e);const te=I[0],G=_m[te];if(G){const{incompatibleTokens:F}=G;if(Array.isArray(F)){const _e=p.find(ke=>F.includes(ke.token)||ke.token===te);if(_e)throw new RangeError(`The format string mustn't contain \`${_e.fullToken}\` and \`${I}\` at the same time`)}else if(G.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${I}\` and any other token at the same time`);p.push({token:te,fullToken:I});const ve=G.run(e,I,r.match,d);if(!ve)return Re(t,NaN);b.push(ve.setter),e=ve.rest}else{if(te.match(Pm))throw new RangeError("Format string contains an unescaped latin alphabet character `"+te+"`");if(I==="''"?I="'":te==="'"&&(I=Tm(I)),e.indexOf(I)===0)e=e.slice(I.length);else return Re(t,NaN)}}if(e.length>0&&Dm.test(e))return Re(t,NaN);const c=b.map(I=>I.priority).sort((I,te)=>te-I).filter((I,te,G)=>G.indexOf(I)===te).map(I=>b.filter(te=>te.priority===I).sort((te,G)=>G.subPriority-te.subPriority)).map(I=>I[0]);let g=be(t);if(isNaN(g.getTime()))return Re(t,NaN);const P={};for(const I of c){if(!I.validate(g,d))return Re(t,NaN);const te=I.set(g,P,d);Array.isArray(te)?(g=te[0],Object.assign(P,te[1])):g=te}return Re(t,g)}function Tm(e){return e.match(wm)[1].replace($m,"'")}function wo(e,a){const t=qt(e),n=qt(a);return+t==+n}function fr(e,a){return et(e,-a)}function hr(e,a){const t=be(e),n=t.getFullYear(),o=t.getDate(),r=Re(e,0);r.setFullYear(n,a,15),r.setHours(0,0,0,0);const l=Av(r);return t.setMonth(a,Math.min(o,l)),t}function He(e,a){let t=be(e);return isNaN(+t)?Re(e,NaN):(a.year!=null&&t.setFullYear(a.year),a.month!=null&&(t=hr(t,a.month)),a.date!=null&&t.setDate(a.date),a.hours!=null&&t.setHours(a.hours),a.minutes!=null&&t.setMinutes(a.minutes),a.seconds!=null&&t.setSeconds(a.seconds),a.milliseconds!=null&&t.setMilliseconds(a.milliseconds),t)}function Mm(e,a){const t=be(e);return t.setHours(a),t}function yr(e,a){const t=be(e);return t.setMilliseconds(a),t}function xm(e,a){const t=be(e);return t.setMinutes(a),t}function gr(e,a){const t=be(e);return t.setSeconds(a),t}function Ot(e,a){const t=be(e);return isNaN(+t)?Re(e,NaN):(t.setFullYear(a),t)}function Et(e,a){return bt(e,-a)}function Sm(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:u=0,seconds:d=0}=a,b=Et(e,n+t*12),f=fr(b,r+o*7),p=u+l*60,g=(d+p*60)*1e3;return Re(e,f.getTime()-g)}function _r(e,a){return Wn(e,-a)}function ka(){const e=al();return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[y("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),y("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),y("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),y("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ka.compatConfig={MODE:3};function br(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),y("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}br.compatConfig={MODE:3};function Xn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Xn.compatConfig={MODE:3};function Jn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}Jn.compatConfig={MODE:3};function Zn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),y("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Zn.compatConfig={MODE:3};function eo(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}eo.compatConfig={MODE:3};function to(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}to.compatConfig={MODE:3};const ht=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),ao=(e,a,t)=>On(e,a,t)||Z(),Am=(e,a,t)=>{const n=a.dateInTz?ht(new Date(e),a.dateInTz):Z(e);return t?vt(n,!0):n},On=(e,a,t)=>{if(!e)return null;const n=t?vt(Z(e),!0):Z(e);return a?a.exactMatch?Am(e,a,t):ht(n,a.timezone):n},Cm=e=>{if(!e)return 0;const a=new Date,t=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),n=new Date(a.toLocaleString("en-US",{timeZone:e})),o=n.getTimezoneOffset()/60;return(+t-+n)/(1e3*60*60)-o};var Dt=(e=>(e.month="month",e.year="year",e))(Dt||{}),na=(e=>(e.top="top",e.bottom="bottom",e))(na||{}),ra=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(ra||{}),it=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(it||{});const Vm=["timestamp","date","iso"];var dt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(dt||{}),Fe=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Fe||{});function $o(e){return a=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${a}T00:00:00+00:00`)).slice(0,2)}function Om(e){return a=>$t(ht(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const Im=(e,a,t)=>{const n=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=n.map(Om(e))}catch{o=n.map($o(a))}else o=n.map($o(a));const r=o.slice(0,t),l=o.slice(t+1,o.length);return[o[t]].concat(...l).concat(...r)},no=(e,a,t)=>{const n=[];for(let o=+e[0];o<=+e[1];o++)n.push({value:+o,text:Dr(o,a)});return t?n.reverse():n},kr=(e,a,t)=>{const n=[1,2,3,4,5,6,7,8,9,10,11,12].map(r=>{const l=r<10?`0${r}`:r;return new Date(`2017-${l}-01T00:00:00+00:00`)});if(e!==null)try{const r=t==="long"?"LLLL":"LLL";return n.map((l,u)=>{const d=$t(ht(l,"UTC"),r,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:u}})}catch{}const o=new Intl.DateTimeFormat(a,{month:t,timeZone:"UTC"});return n.map((r,l)=>{const u=o.format(r);return{text:u.charAt(0).toUpperCase()+u.substring(1),value:l}})},Lm=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],tt=e=>{const a=s(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},Nm=e=>({type:"dot",...e??{}}),wr=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,oo={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},nt=e=>e,Do=e=>e===0?e:!e||isNaN(+e)?null:+e,Po=e=>e===null,$r=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},Rm=e=>{const a=[],t=n=>n.filter(o=>o);for(let n=0;n{const n=t!=null,o=a!=null;if(!n&&!o)return!1;const r=+t,l=+a;return n&&o?+e>r||+er:o?+eRm(e).map(t=>t.map(n=>{const{active:o,disabled:r,isBetween:l,highlighted:u}=a(n);return{...n,active:o,disabled:r,className:{dp__overlay_cell_active:o,dp__overlay_cell:!o,dp__overlay_cell_disabled:r,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:r&&o,dp__cell_in_between:l,"dp--highlighted":u}}})),Qt=(e,a,t=!1)=>{e&&a.allowStopPropagation&&(t&&e.stopImmediatePropagation(),e.stopPropagation())},Bm=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function Em(e,a){let t=[...document.querySelectorAll(Bm())];t=t.filter(o=>!e.contains(o)||o.hasAttribute("data-datepicker-instance"));const n=t.indexOf(e);if(n>=0&&(a?n-1>=0:n+1<=t.length))return t[n+(a?-1:1)]}const In=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),Dr=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),ro=e=>$t(e,"dd-MM-yyyy"),pn=e=>Array.isArray(e),qa=(e,a)=>a.get(ro(e)),Hm=(e,a)=>e?a?a instanceof Map?!!qa(e,a):a(Z(e)):!1:!0,ct=(e,a,t=!1,n)=>{if(e.key===Fe.enter||e.key===Fe.space)return t&&e.preventDefault(),a();if(n)return n(e)},Ym=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,To=(e,a,t,n,o,r)=>{const l=Vn(e,a.slice(0,e.length),new Date,{locale:r});return Ma(l)&&nr(l)?n||o?l:He(l,{hours:+t.hours,minutes:+(t==null?void 0:t.minutes),seconds:+(t==null?void 0:t.seconds),milliseconds:0}):null},Fm=(e,a,t,n,o,r)=>{const l=Array.isArray(t)?t[0]:t;if(typeof a=="string")return To(e,a,l,n,o,r);if(Array.isArray(a)){let u=null;for(const d of a)if(u=To(e,d,l,n,o,r),u)break;return u}return typeof a=="function"?a(e):null},Z=e=>e?new Date(e):new Date,zm=(e,a,t)=>{if(a){const o=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0"),l=e.getHours().toString().padStart(2,"0"),u=e.getMinutes().toString().padStart(2,"0"),d=t?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${r}T${l}:${u}:${d}.000Z`}const n=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(n).toISOString()},vt=(e,a)=>{const t=Z(JSON.parse(JSON.stringify(e))),n=He(t,{hours:0,minutes:0,seconds:0,milliseconds:0});return a?Sn(n):n},Kt=(e,a,t,n)=>{let o=e?Z(e):Z();return(a||a===0)&&(o=Mm(o,+a)),(t||t===0)&&(o=xm(o,+t)),(n||n===0)&&(o=gr(o,+n)),yr(o,0)},qe=(e,a)=>!e||!a?!1:Aa(vt(e),vt(a)),Ve=(e,a)=>!e||!a?!1:oa(vt(e),vt(a)),Ke=(e,a)=>!e||!a?!1:ga(vt(e),vt(a)),Za=(e,a,t)=>e!=null&&e[0]&&e!=null&&e[1]?Ke(t,e[0])&&qe(t,e[1]):e!=null&&e[0]&&a?Ke(t,e[0])&&qe(t,a)||qe(t,e[0])&&Ke(t,a):!1,Pt=e=>{const a=He(new Date(e),{date:1});return vt(a)},fn=(e,a,t)=>a&&(t||t===0)?Object.fromEntries(["hours","minutes","seconds"].map(n=>n===a?[n,t]:[n,isNaN(+e[n])?void 0:+e[n]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},la=e=>({hours:Bt(e),minutes:Gt(e),seconds:ya(e)}),Pr=(e,a)=>{if(a){const t=Pe(Z(a));if(t>e)return 12;if(t===e)return Se(Z(a))}},Tr=(e,a)=>{if(a){const t=Pe(Z(a));return t{if(e)return Pe(Z(e))},Mr=(e,a)=>{const t=Ke(e,a)?a:e,n=Ke(a,e)?a:e;return or({start:t,end:n})},Wm=e=>{const a=bt(e,1);return{month:Se(a),year:Pe(a)}},Nt=(e,a)=>{const t=Tt(e,{weekStartsOn:+a}),n=rr(e,{weekStartsOn:+a});return[t,n]},xr=(e,a)=>{const t={hours:Bt(Z()),minutes:Gt(Z()),seconds:a?ya(Z()):0};return Object.assign(t,e)},jt=(e,a,t)=>[He(Z(e),{date:1}),He(Z(),{month:a,year:t,date:1})],Rt=(e,a,t)=>{let n=e?Z(e):Z();return(a||a===0)&&(n=hr(n,a)),t&&(n=Ot(n,t)),n},Sr=(e,a,t,n,o)=>{if(!n||o&&!a||!o&&!t)return!1;const r=o?bt(e,1):Et(e,1),l=[Se(r),Pe(r)];return o?!qm(...l,a):!Um(...l,t)},Um=(e,a,t)=>qe(...jt(t,e,a))||Ve(...jt(t,e,a)),qm=(e,a,t)=>Ke(...jt(t,e,a))||Ve(...jt(t,e,a)),Ar=(e,a,t,n,o,r,l)=>{if(typeof a=="function"&&!l)return a(e);const u=t?{locale:t}:void 0;return Array.isArray(e)?`${$t(e[0],r,u)}${o&&!e[1]?"":n}${e[1]?$t(e[1],r,u):""}`:$t(e,r,u)},va=e=>{if(e)return null;throw new Error(oo.prop("partial-range"))},Ea=(e,a)=>{if(a)return e();throw new Error(oo.prop("range"))},Ln=e=>Array.isArray(e)?Ma(e[0])&&(e[1]?Ma(e[1]):!0):e?Ma(e):!1,jm=(e,a)=>He(a??Z(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),hn=(e,a,t,n)=>{if(!e)return!0;if(n){const o=t==="max"?Aa(e,a):ga(e,a),r={seconds:0,milliseconds:0};return o||oa(He(e,r),He(a,r))}return t==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},yn=(e,a,t)=>e?jm(e,a):Z(t??a),Mo=(e,a,t,n,o)=>{if(Array.isArray(n)){const l=yn(e,n[0],a),u=yn(e,n[1],a);return hn(n[0],l,t,!!a)&&hn(n[1],u,t,!!a)&&o}const r=yn(e,n,a);return hn(n,r,t,!!a)&&o},gn=e=>He(Z(),la(e)),Qm=(e,a)=>e instanceof Map?Array.from(e.values()).filter(t=>Pe(Z(t))===a).map(t=>Se(t)):[],Cr=(e,a,t)=>typeof e=="function"?e({month:a,year:t}):!!e.months.find(n=>n.month===a&&n.year===t),lo=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Vr=e=>$t(e,"yyyy-MM-dd"),Pa=Va({menuFocused:!1,shiftKeyInMenu:!1}),Or=()=>{const e=t=>{Pa.menuFocused=t},a=t=>{Pa.shiftKeyInMenu!==t&&(Pa.shiftKeyInMenu=t)};return{control:x(()=>({shiftKeyInMenu:Pa.shiftKeyInMenu,menuFocused:Pa.menuFocused})),setMenuFocused:e,setShiftKey:a}},Ye=Va({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),_n=A(null),Ha=A(!1),bn=A(!1),kn=A(!1),wn=A(!1),st=A(0),Qe=A(0),Zt=()=>{const e=x(()=>Ha.value?[...Ye.selectionGrid,Ye.actionRow].filter(p=>p.length):bn.value?[...Ye.timePicker[0],...Ye.timePicker[1],wn.value?[]:[_n.value],Ye.actionRow].filter(p=>p.length):kn.value?[...Ye.monthPicker,Ye.actionRow]:[Ye.monthYear,...Ye.calendar,Ye.time,Ye.actionRow].filter(p=>p.length)),a=p=>{st.value=p?st.value+1:st.value-1;let c=null;e.value[Qe.value]&&(c=e.value[Qe.value][st.value]),!c&&e.value[Qe.value+(p?1:-1)]?(Qe.value=Qe.value+(p?1:-1),st.value=p?0:e.value[Qe.value].length-1):c||(st.value=p?st.value-1:st.value+1)},t=p=>{Qe.value===0&&!p||Qe.value===e.value.length&&p||(Qe.value=p?Qe.value+1:Qe.value-1,e.value[Qe.value]?e.value[Qe.value]&&!e.value[Qe.value][st.value]&&st.value!==0&&(st.value=e.value[Qe.value].length-1):Qe.value=p?Qe.value-1:Qe.value+1)},n=p=>{let c=null;e.value[Qe.value]&&(c=e.value[Qe.value][st.value]),c?c.focus({preventScroll:!Ha.value}):st.value=p?st.value-1:st.value+1},o=()=>{a(!0),n(!0)},r=()=>{a(!1),n(!1)},l=()=>{t(!1),n(!0)},u=()=>{t(!0),n(!0)},d=(p,c)=>{Ye[c]=p},b=(p,c)=>{Ye[c]=p},f=()=>{st.value=0,Qe.value=0};return{buildMatrix:d,buildMultiLevelMatrix:b,setTimePickerBackRef:p=>{_n.value=p},setSelectionGrid:p=>{Ha.value=p,f(),p||(Ye.selectionGrid=[])},setTimePicker:(p,c=!1)=>{bn.value=p,wn.value=c,f(),p||(Ye.timePicker[0]=[],Ye.timePicker[1]=[])},setTimePickerElements:(p,c=0)=>{Ye.timePicker[c]=p},arrowRight:o,arrowLeft:r,arrowUp:l,arrowDown:u,clearArrowNav:()=>{Ye.monthYear=[],Ye.calendar=[],Ye.time=[],Ye.actionRow=[],Ye.selectionGrid=[],Ye.timePicker[0]=[],Ye.timePicker[1]=[],Ha.value=!1,bn.value=!1,wn.value=!1,kn.value=!1,f(),_n.value=null},setMonthPicker:p=>{kn.value=p,f()},refSets:Ye}},xo=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),Km=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:a=>`Increment ${a}`,decrementValue:a=>`Decrement ${a}`,openTpOverlay:a=>`Open ${a} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:a=>`Month picker${a?" overlay":""}`,yearPicker:a=>`Year picker${a?" overlay":""}`,timeOverlay:a=>`${a} overlay`,...e??{}}),So=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,Gm=e=>{const a=typeof e=="object"&&e,t={static:!0,solo:!1};if(!e)return{...t,count:So(!1)};const n=a?e:{},o=a?n.count??!0:e,r=So(o);return Object.assign(t,n,{count:r})},Xm=(e,a,t)=>e||(typeof t=="string"?t:a),Jm=e=>typeof e=="boolean"?e?xo({}):!1:xo(e),Zm=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},ep=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),tp=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),ap=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},np=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...e??{}}),op=e=>{const a={dates:Array.isArray(e)?e.map(t=>Z(t)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},rp=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},lp=e=>{const a={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...a,...e}:{enabled:e,...a}},sp=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},$n=(e,a,t)=>new Map(e.map(n=>{const o=ao(n,a,t);return[ro(o),o]})),ip=(e,a)=>e.length?new Map(e.map(t=>{const n=ao(t.date,a);return[ro(n),t]})):null,up=e=>{var a;return{minDate:On(e.minDate,e.timezone,e.isSpecific),maxDate:On(e.maxDate,e.timezone,e.isSpecific),disabledDates:pn(e.disabledDates)?$n(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:pn(e.allowedDates)?$n(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&pn((a=e.highlight)==null?void 0:a.dates)?$n(e.highlight.dates,e.timezone):e.highlight,markers:ip(e.markers,e.timezone)}},dp=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},cp=e=>({...Object.fromEntries(Object.keys(e).map(a=>{const t=a,n=e[t],o=typeof e[t]=="string"?{[n]:!0}:Object.fromEntries(n.map(r=>[r,!0]));return[a,o]}))}),ze=e=>{const a=()=>{const q=e.enableSeconds?":ss":"",I=e.enableMinutes?":mm":"";return e.is24?`HH${I}${q}`:`hh${I}${q} aa`},t=()=>{var q;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((q=R.value)==null?void 0:q.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},n=q=>xr(q,e.enableSeconds),o=()=>K.value.enabled?e.startTime&&Array.isArray(e.startTime)?[n(e.startTime[0]),n(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?n(e.startTime):null,r=x(()=>Gm(e.multiCalendars)),l=x(()=>o()),u=x(()=>Km(e.ariaLabels)),d=x(()=>ep(e.filters)),b=x(()=>Jm(e.transitions)),f=x(()=>tp(e.actionRow)),p=x(()=>Xm(e.previewFormat,e.format,t())),c=x(()=>Zm(e.textInput)),g=x(()=>ap(e.inline)),P=x(()=>np(e.config)),$=x(()=>op(e.highlight)),R=x(()=>rp(e.weekNumbers)),W=x(()=>sp(e.timezone)),U=x(()=>dp(e.multiDates)),V=x(()=>up({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:$.value,markers:e.markers,timezone:W.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker})),K=x(()=>lp(e.range)),se=x(()=>cp(e.ui));return{defaultedTransitions:b,defaultedMultiCalendars:r,defaultedStartTime:l,defaultedAriaLabels:u,defaultedFilters:d,defaultedActionRow:f,defaultedPreviewFormat:p,defaultedTextInput:c,defaultedInline:g,defaultedConfig:P,defaultedHighlight:$,defaultedWeekNumbers:R,defaultedRange:K,propDates:V,defaultedTz:W,defaultedMultiDates:U,defaultedUI:se,getDefaultPattern:t,getDefaultStartTime:o}},vp=(e,a,t)=>{const n=A(),{defaultedTextInput:o,defaultedRange:r,defaultedTz:l,defaultedMultiDates:u,getDefaultPattern:d}=ze(a),b=A(""),f=Sa(a,"format"),p=Sa(a,"formatLocale");Je(n,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",n.value,Q(!0))},{deep:!0}),Je(r,(_,me)=>{_.enabled!==me.enabled&&(n.value=null)}),Je(f,()=>{ue()});const c=_=>l.value.timezone&&l.value.convertModel?ht(_,l.value.timezone):_,g=_=>{if(l.value.timezone&&l.value.convertModel){const me=Cm(l.value.timezone);return Vc(_,me)}return _},P=(_,me,Te=!1)=>Ar(_,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,me??d(),Te),$=_=>_?a.modelType?de(_):{hours:Bt(_),minutes:Gt(_),seconds:a.enableSeconds?ya(_):0}:null,R=_=>a.modelType?de(_):{month:Se(_),year:Pe(_)},W=_=>Array.isArray(_)?u.value.enabled?_.map(me=>U(me,Ot(Z(),me))):Ea(()=>[Ot(Z(),_[0]),_[1]?Ot(Z(),_[1]):va(r.value.partialRange)],r.value.enabled):Ot(Z(),+_),U=(_,me)=>(typeof _=="string"||typeof _=="number")&&a.modelType?j(_):me,V=_=>Array.isArray(_)?[U(_[0],Kt(null,+_[0].hours,+_[0].minutes,_[0].seconds)),U(_[1],Kt(null,+_[1].hours,+_[1].minutes,_[1].seconds))]:U(_,Kt(null,_.hours,_.minutes,_.seconds)),K=_=>{const me=He(Z(),{date:1});return Array.isArray(_)?u.value.enabled?_.map(Te=>U(Te,Rt(me,+Te.month,+Te.year))):Ea(()=>[U(_[0],Rt(me,+_[0].month,+_[0].year)),U(_[1],_[1]?Rt(me,+_[1].month,+_[1].year):va(r.value.partialRange))],r.value.enabled):U(_,Rt(me,+_.month,+_.year))},se=_=>{if(Array.isArray(_))return _.map(me=>j(me));throw new Error(oo.dateArr("multi-dates"))},q=_=>{if(Array.isArray(_)&&r.value.enabled){const me=_[0],Te=_[1];return[Z(Array.isArray(me)?me[0]:null),Z(Array.isArray(Te)?Te[0]:null)]}return Z(_[0])},I=_=>a.modelAuto?Array.isArray(_)?[j(_[0]),j(_[1])]:a.autoApply?[j(_)]:[j(_),null]:Array.isArray(_)?Ea(()=>_[1]?[j(_[0]),_[1]?j(_[1]):va(r.value.partialRange)]:[j(_[0])],r.value.enabled):j(_),te=()=>{Array.isArray(n.value)&&r.value.enabled&&n.value.length===1&&n.value.push(va(r.value.partialRange))},G=()=>{const _=n.value;return[de(_[0]),_[1]?de(_[1]):va(r.value.partialRange)]},F=()=>n.value[1]?G():de(nt(n.value[0])),ve=()=>(n.value||[]).map(_=>de(_)),_e=(_=!1)=>(_||te(),a.modelAuto?F():u.value.enabled?ve():Array.isArray(n.value)?Ea(()=>G(),r.value.enabled):de(nt(n.value))),ke=_=>!_||Array.isArray(_)&&!_.length?null:a.timePicker?V(nt(_)):a.monthPicker?K(nt(_)):a.yearPicker?W(nt(_)):u.value.enabled?se(nt(_)):a.weekPicker?q(nt(_)):I(nt(_)),H=_=>{const me=ke(_);Ln(nt(me))?(n.value=nt(me),ue()):(n.value=null,b.value="")},C=()=>{const _=me=>$t(me,o.value.format);return`${_(n.value[0])} ${o.value.rangeSeparator} ${n.value[1]?_(n.value[1]):""}`},M=()=>t.value&&n.value?Array.isArray(n.value)?C():$t(n.value,o.value.format):P(n.value),z=()=>n.value?u.value.enabled?n.value.map(_=>P(_)).join("; "):o.value.enabled&&typeof o.value.format=="string"?M():P(n.value):"",ue=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?b.value=z():b.value=a.format(n.value)},j=_=>{if(a.utc){const me=new Date(_);return a.utc==="preserve"?new Date(me.getTime()+me.getTimezoneOffset()*6e4):me}return a.modelType?Vm.includes(a.modelType)?c(new Date(_)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?c(Vn(_,d(),new Date,{locale:p.value})):c(Vn(_,a.modelType,new Date,{locale:p.value})):c(new Date(_))},de=_=>_?a.utc?zm(_,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+g(_):a.modelType==="iso"?g(_).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?P(g(_)):P(g(_),a.modelType,!0):g(_):"",De=(_,me=!1,Te=!1)=>{if(Te)return _;if(e("update:model-value",_),l.value.emitTimezone&&me){const Ze=Array.isArray(_)?_.map(B=>ht(nt(B),l.value.emitTimezone)):ht(nt(_),l.value.emitTimezone);e("update:model-timezone-value",Ze)}},D=_=>Array.isArray(n.value)?u.value.enabled?n.value.map(me=>_(me)):[_(n.value[0]),n.value[1]?_(n.value[1]):va(r.value.partialRange)]:_(nt(n.value)),T=()=>{if(Array.isArray(n.value)){const _=Nt(n.value[0],a.weekStart),me=n.value[1]?Nt(n.value[1],a.weekStart):[];return[_.map(Te=>Z(Te)),me.map(Te=>Z(Te))]}return Nt(n.value,a.weekStart).map(_=>Z(_))},v=(_,me)=>De(nt(D(_)),!1,me),N=_=>{const me=T();return _?me:e("update:model-value",T())},Q=(_=!1)=>(_||ue(),a.monthPicker?v(R,_):a.timePicker?v($,_):a.yearPicker?v(Pe,_):a.weekPicker?N(_):De(_e(_),!0,_));return{inputValue:b,internalModelValue:n,checkBeforeEmit:()=>n.value?r.value.enabled?r.value.partialRange?n.value.length>=1:n.value.length===2:!!n.value:!1,parseExternalModelValue:H,formatInputValue:ue,emitModelValue:Q}},mp=(e,a)=>{const{defaultedFilters:t,propDates:n}=ze(e),{validateMonthYearInRange:o}=ea(e),r=(f,p)=>{let c=f;return t.value.months.includes(Se(c))?(c=p?bt(f,1):Et(f,1),r(c,p)):c},l=(f,p)=>{let c=f;return t.value.years.includes(Pe(c))?(c=p?Wn(f,1):_r(f,1),l(c,p)):c},u=(f,p=!1)=>{const c=He(Z(),{month:e.month,year:e.year});let g=f?bt(c,1):Et(c,1);e.disableYearSelect&&(g=Ot(g,e.year));let P=Se(g),$=Pe(g);t.value.months.includes(P)&&(g=r(g,f),P=Se(g),$=Pe(g)),t.value.years.includes($)&&(g=l(g,f),$=Pe(g)),o(P,$,f,e.preventMinMaxNavigation)&&d(P,$,p)},d=(f,p,c)=>{a("update-month-year",{month:f,year:p,fromNav:c})},b=x(()=>f=>Sr(He(Z(),{month:e.month,year:e.year}),n.value.maxDate,n.value.minDate,e.preventMinMaxNavigation,f));return{handleMonthYearChange:u,isDisabled:b,updateMonthYear:d}},en={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},Mt={...en,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},pp=["title"],fp=["disabled"],hp=J({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...Mt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:a}){const t=a,n=e,{defaultedActionRow:o,defaultedPreviewFormat:r,defaultedMultiCalendars:l,defaultedTextInput:u,defaultedInline:d,defaultedRange:b,defaultedMultiDates:f,getDefaultPattern:p}=ze(n),{isTimeValid:c,isMonthValid:g}=ea(n),{buildMatrix:P}=Zt(),$=A(null),R=A(null),W=A(!1),U=A({}),V=A(null),K=A(null);Ue(()=>{n.arrowNavigation&&P([tt($),tt(R)],"actionRow"),se(),window.addEventListener("resize",se)}),Xt(()=>{window.removeEventListener("resize",se)});const se=()=>{W.value=!1,setTimeout(()=>{var C,M;const z=(C=V.value)==null?void 0:C.getBoundingClientRect(),ue=(M=K.value)==null?void 0:M.getBoundingClientRect();z&&ue&&(U.value.maxWidth=`${ue.width-z.width-20}px`),W.value=!0},0)},q=x(()=>b.value.enabled&&!b.value.partialRange&&n.internalModelValue?n.internalModelValue.length===2:!0),I=x(()=>!c.value(n.internalModelValue)||!g.value(n.internalModelValue)||!q.value),te=()=>{const C=r.value;return n.timePicker||n.monthPicker,C(nt(n.internalModelValue))},G=()=>{const C=n.internalModelValue;return l.value.count>0?`${F(C[0])} - ${F(C[1])}`:[F(C[0]),F(C[1])]},F=C=>Ar(C,r.value,n.formatLocale,u.value.rangeSeparator,n.modelAuto,p()),ve=x(()=>!n.internalModelValue||!n.menuMount?"":typeof r.value=="string"?Array.isArray(n.internalModelValue)?n.internalModelValue.length===2&&n.internalModelValue[1]?G():f.value.enabled?n.internalModelValue.map(C=>`${F(C)}`):n.modelAuto?`${F(n.internalModelValue[0])}`:`${F(n.internalModelValue[0])} -`:F(n.internalModelValue):te()),_e=()=>f.value.enabled?"; ":" - ",ke=x(()=>Array.isArray(ve.value)?ve.value.join(_e()):ve.value),H=()=>{c.value(n.internalModelValue)&&g.value(n.internalModelValue)&&q.value?t("select-date"):t("invalid-select")};return(C,M)=>(i(),m("div",{ref_key:"actionRowRef",ref:K,class:"dp__action_row"},[C.$slots["action-row"]?k(C.$slots,"action-row",ot(Oe({key:0},{internalModelValue:C.internalModelValue,disabled:I.value,selectDate:()=>C.$emit("select-date"),closePicker:()=>C.$emit("close-picker")}))):(i(),m(pe,{key:1},[s(o).showPreview?(i(),m("div",{key:0,class:"dp__selection_preview",title:ke.value,style:mt(U.value)},[C.$slots["action-preview"]&&W.value?k(C.$slots,"action-preview",{key:0,value:C.internalModelValue}):S("",!0),!C.$slots["action-preview"]&&W.value?(i(),m(pe,{key:1},[Ne(ce(ke.value),1)],64)):S("",!0)],12,pp)):S("",!0),y("div",{ref_key:"actionBtnContainer",ref:V,class:"dp__action_buttons","data-dp-element":"action-row"},[C.$slots["action-buttons"]?k(C.$slots,"action-buttons",{key:0,value:C.internalModelValue}):S("",!0),C.$slots["action-buttons"]?S("",!0):(i(),m(pe,{key:1},[!s(d).enabled&&s(o).showCancel?(i(),m("button",{key:0,ref_key:"cancelButtonRef",ref:$,type:"button",class:"dp__action_button dp__action_cancel",onClick:M[0]||(M[0]=z=>C.$emit("close-picker")),onKeydown:M[1]||(M[1]=z=>s(ct)(z,()=>C.$emit("close-picker")))},ce(C.cancelText),545)):S("",!0),s(o).showNow?(i(),m("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:M[2]||(M[2]=z=>C.$emit("select-now")),onKeydown:M[3]||(M[3]=z=>s(ct)(z,()=>C.$emit("select-now")))},ce(C.nowButtonLabel),33)):S("",!0),s(o).showSelect?(i(),m("button",{key:2,ref_key:"selectButtonRef",ref:R,type:"button",class:"dp__action_button dp__action_select",disabled:I.value,"data-test":"select-button",onKeydown:M[4]||(M[4]=z=>s(ct)(z,()=>H())),onClick:H},ce(C.selectText),41,fp)):S("",!0)],64))],512)],64))],512))}}),yp=["role","aria-label","tabindex"],gp={class:"dp__selection_grid_header"},_p=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],bp=["aria-label"],Ia=J({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:t}){const{setSelectionGrid:n,buildMultiLevelMatrix:o,setMonthPicker:r}=Zt(),l=t,u=e,{defaultedAriaLabels:d,defaultedTextInput:b,defaultedConfig:f}=ze(u),{hideNavigationButtons:p}=nn(),c=A(!1),g=A(null),P=A(null),$=A([]),R=A(),W=A(null),U=A(0),V=A(null);nl(()=>{g.value=null}),Ue(()=>{yt().then(()=>ve()),u.noOverlayFocus||se(),K(!0)}),Xt(()=>K(!1));const K=D=>{var T;u.arrowNavigation&&((T=u.headerRefs)!=null&&T.length?r(D):n(D))},se=()=>{var D;const T=tt(P);T&&(b.value.enabled||(g.value?(D=g.value)==null||D.focus({preventScroll:!0}):T.focus({preventScroll:!0})),c.value=T.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!u.useRelative,"dp--overlay-relative":u.useRelative})),I=x(()=>u.useRelative?{height:`${u.height}px`,width:"260px"}:void 0),te=x(()=>({dp__overlay_col:!0})),G=x(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:c.value,dp__button_bottom:u.isLast})),F=x(()=>{var D,T;return{dp__overlay_container:!0,dp__container_flex:((D=u.items)==null?void 0:D.length)<=6,dp__container_block:((T=u.items)==null?void 0:T.length)>6}});Je(()=>u.items,()=>ve(!1),{deep:!0});const ve=(D=!0)=>{yt().then(()=>{const T=tt(g),v=tt(P),N=tt(W),Q=tt(V),_=N?N.getBoundingClientRect().height:0;v&&(v.getBoundingClientRect().height?U.value=v.getBoundingClientRect().height-_:U.value=f.value.modeHeight-_),T&&Q&&D&&(Q.scrollTop=T.offsetTop-Q.offsetTop-(U.value/2-T.getBoundingClientRect().height)-_)})},_e=D=>{D.disabled||l("selected",D.value)},ke=()=>{l("toggle"),l("reset-flow")},H=()=>{u.escClose&&ke()},C=(D,T,v,N)=>{D&&((T.active||T.value===u.focusValue)&&(g.value=D),u.arrowNavigation&&(Array.isArray($.value[v])?$.value[v][N]=D:$.value[v]=[D],M()))},M=()=>{var D,T;const v=(D=u.headerRefs)!=null&&D.length?[u.headerRefs].concat($.value):$.value.concat([u.skipButtonRef?[]:[W.value]]);o(nt(v),(T=u.headerRefs)!=null&&T.length?"monthPicker":"selectionGrid")},z=D=>{u.arrowNavigation||Qt(D,f.value,!0)},ue=D=>{R.value=D,l("hover-value",D)},j=()=>{if(ke(),!u.isLast){const D=In(u.menuWrapRef??null,"action-row");if(D){const T=$r(D);T==null||T.focus()}}},de=D=>{switch(D.key){case Fe.esc:return H();case Fe.arrowLeft:return z(D);case Fe.arrowRight:return z(D);case Fe.arrowUp:return z(D);case Fe.arrowDown:return z(D);default:return}},De=D=>{if(D.key===Fe.enter)return ke();if(D.key===Fe.tab)return j()};return a({focusGrid:se}),(D,T)=>{var v;return i(),m("div",{ref_key:"gridWrapRef",ref:P,class:he(q.value),style:mt(I.value),role:D.useRelative?void 0:"dialog","aria-label":D.overlayLabel,tabindex:D.useRelative?void 0:"0",onKeydown:de,onClick:T[0]||(T[0]=ia(()=>{},["prevent"]))},[y("div",{ref_key:"containerRef",ref:V,class:he(F.value),style:mt({"--dp-overlay-height":`${U.value}px`}),role:"grid"},[y("div",gp,[k(D.$slots,"header")]),D.$slots.overlay?k(D.$slots,"overlay",{key:0}):(i(!0),m(pe,{key:1},Me(D.items,(N,Q)=>(i(),m("div",{key:Q,class:he(["dp__overlay_row",{dp__flex_row:D.items.length>=3}]),role:"row"},[(i(!0),m(pe,null,Me(N,(_,me)=>(i(),m("div",{key:_.value,ref_for:!0,ref:Te=>C(Te,_,Q,me),role:"gridcell",class:he(te.value),"aria-selected":_.active||void 0,"aria-disabled":_.disabled||void 0,tabindex:"0","data-test":_.text,onClick:ia(Te=>_e(_),["prevent"]),onKeydown:Te=>s(ct)(Te,()=>_e(_),!0),onMouseover:Te=>ue(_.value)},[y("div",{class:he(_.className)},[D.$slots.item?k(D.$slots,"item",{key:0,item:_}):S("",!0),D.$slots.item?S("",!0):(i(),m(pe,{key:1},[Ne(ce(_.text),1)],64))],2)],42,_p))),128))],2))),128))],6),D.$slots["button-icon"]?Ta((i(),m("button",{key:0,ref_key:"toggleButton",ref:W,type:"button","aria-label":(v=s(d))==null?void 0:v.toggleOverlay,class:he(G.value),tabindex:"0",onClick:ke,onKeydown:De},[k(D.$slots,"button-icon")],42,bp)),[[Ya,!s(p)(D.hideNavigation,D.type)]]):S("",!0)],46,yp)}}}),tn=J({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const a=e,t=x(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),n=x(()=>({dp__instance_calendar:a.multiCalendars>0}));return(o,r)=>(i(),m("div",{class:he({dp__menu_inner:!o.stretch,"dp--menu--inner-stretched":o.stretch,dp__flex_display:o.multiCalendars>0,"dp--flex-display-collapsed":o.collapse})},[(i(!0),m(pe,null,Me(t.value,(l,u)=>(i(),m("div",{key:l,class:he(n.value)},[k(o.$slots,"default",{instance:l,index:u})],2))),128))],2))}}),kp=["data-dp-element","aria-label","aria-disabled"],xa=J({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const t=a,n=A(null);return Ue(()=>t("set-ref",n)),(o,r)=>(i(),m("button",{ref_key:"elRef",ref:n,type:"button","data-dp-element":o.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":o.ariaLabel,"aria-disabled":o.disabled||void 0,onClick:r[0]||(r[0]=l=>o.$emit("activate")),onKeydown:r[1]||(r[1]=l=>s(ct)(l,()=>o.$emit("activate"),!0))},[y("span",{class:he(["dp__inner_nav",{dp__inner_nav_disabled:o.disabled}])},[k(o.$slots,"default")],2)],40,kp))}}),wp=["aria-label","data-test"],Ir=J({__name:"YearModePicker",props:{...Mt,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:a}){const t=a,n=e,{showRightIcon:o,showLeftIcon:r}=nn(),{defaultedConfig:l,defaultedMultiCalendars:u,defaultedAriaLabels:d,defaultedTransitions:b,defaultedUI:f}=ze(n),{showTransition:p,transitionName:c}=La(b),g=A(!1),P=(W=!1,U)=>{g.value=!g.value,t("toggle-year-picker",{flow:W,show:U})},$=W=>{g.value=!1,t("year-select",W)},R=(W=!1)=>{t("handle-year",W)};return(W,U)=>{var V,K,se,q,I;return i(),m(pe,null,[y("div",{class:he(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[s(r)(s(u),e.instance)?(i(),le(xa,{key:0,ref:"mpPrevIconRef","aria-label":(V=s(d))==null?void 0:V.prevYear,disabled:e.isDisabled(!1),class:he((K=s(f))==null?void 0:K.navBtnPrev),onActivate:U[0]||(U[0]=te=>R(!1))},{default:w(()=>[W.$slots["arrow-left"]?k(W.$slots,"arrow-left",{key:0}):S("",!0),W.$slots["arrow-left"]?S("",!0):(i(),le(s(Xn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),y("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(se=s(d))==null?void 0:se.openYearsOverlay}`,"data-test":`year-mode-btn-${e.instance}`,onClick:U[1]||(U[1]=()=>P(!1)),onKeydown:U[2]||(U[2]=Eo(()=>P(!1),["enter"]))},[W.$slots.year?k(W.$slots,"year",{key:0,year:e.year}):S("",!0),W.$slots.year?S("",!0):(i(),m(pe,{key:1},[Ne(ce(e.year),1)],64))],40,wp),s(o)(s(u),e.instance)?(i(),le(xa,{key:1,ref:"mpNextIconRef","aria-label":(q=s(d))==null?void 0:q.nextYear,disabled:e.isDisabled(!0),class:he((I=s(f))==null?void 0:I.navBtnNext),onActivate:U[3]||(U[3]=te=>R(!0))},{default:w(()=>[W.$slots["arrow-right"]?k(W.$slots,"arrow-right",{key:0}):S("",!0),W.$slots["arrow-right"]?S("",!0):(i(),le(s(Jn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0)],2),ee(Ht,{name:s(c)(e.showYearPicker),css:s(p)},{default:w(()=>{var te,G;return[e.showYearPicker?(i(),le(Ia,{key:0,items:e.items,"text-input":W.textInput,"esc-close":W.escClose,config:W.config,"is-last":W.autoApply&&!s(l).keepActionRow,"hide-navigation":W.hideNavigation,"aria-labels":W.ariaLabels,"overlay-label":(G=(te=s(d))==null?void 0:te.yearPicker)==null?void 0:G.call(te,!0),type:"year",onToggle:P,onSelected:U[4]||(U[4]=F=>$(F))},at({"button-icon":w(()=>[W.$slots["calendar-icon"]?k(W.$slots,"calendar-icon",{key:0}):S("",!0),W.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))]),_:2},[W.$slots["year-overlay-value"]?{name:"item",fn:w(({item:F})=>[k(W.$slots,"year-overlay-value",{text:F.text,value:F.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):S("",!0)]}),_:3},8,["name","css"])],64)}}}),so=(e,a,t)=>{if(a.value&&Array.isArray(a.value))if(a.value.some(n=>Ve(e,n))){const n=a.value.filter(o=>!Ve(o,e));a.value=n.length?n:null}else(t&&+t>a.value.length||!t)&&a.value.push(e);else a.value=[e]},io=(e,a,t)=>{let n=e.value?e.value.slice():[];return n.length===2&&n[1]!==null&&(n=[]),n.length?qe(a,n[0])?(n.unshift(a),t("range-start",n[0]),t("range-start",n[1])):(n[1]=a,t("range-end",a)):(n=[a],t("range-start",a)),n},an=(e,a,t,n)=>{e&&(e[0]&&e[1]&&t&&a("auto-apply"),e[0]&&!e[1]&&n&&t&&a("auto-apply"))},Lr=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>ht(Z(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=ht(Z(e.value),e.timezone))},Nr=(e,a,t,n)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&n.value.partialRange)?n.value.fixedStart&&(Ke(e,a.value[0])||Ve(e,a.value[0]))?[a.value[0],e]:n.value.fixedEnd&&(qe(e,a.value[1])||Ve(e,a.value[1]))?[e,a.value[1]]:(t("invalid-fixed-range",e),a.value):[],Rr=({multiCalendars:e,range:a,highlight:t,propDates:n,calendars:o,modelValue:r,props:l,filters:u,year:d,month:b,emit:f})=>{const p=x(()=>no(l.yearRange,l.locale,l.reverseYears)),c=A([!1]),g=x(()=>(F,ve)=>{const _e=He(Pt(new Date),{month:b.value(F),year:d.value(F)}),ke=ve?Un(_e):ha(_e);return Sr(ke,n.value.maxDate,n.value.minDate,l.preventMinMaxNavigation,ve)}),P=()=>Array.isArray(r.value)&&e.value.solo&&r.value[1],$=()=>{for(let F=0;F{if(!F)return $();const ve=He(Z(),o.value[F]);return o.value[0].year=Pe(_r(ve,e.value.count-1)),$()},W=(F,ve)=>{const _e=Rc(ve,F);return a.value.showLastInRange&&_e>1?ve:F},U=F=>l.focusStartDate||e.value.solo?F[0]:F[1]?W(F[0],F[1]):F[0],V=()=>{if(r.value){const F=Array.isArray(r.value)?U(r.value):r.value;o.value[0]={month:Se(F),year:Pe(F)}}},K=()=>{V(),e.value.count&&$()};Je(r,(F,ve)=>{l.isTextInputDate&&JSON.stringify(F??{})!==JSON.stringify(ve??{})&&K()}),Ue(()=>{K()});const se=(F,ve)=>{o.value[ve].year=F,f("update-month-year",{instance:ve,year:F,month:o.value[ve].month}),e.value.count&&!e.value.solo&&R(ve)},q=x(()=>F=>_a(p.value,ve=>{var _e;const ke=d.value(F)===ve.value,H=Ca(ve.value,ba(n.value.minDate),ba(n.value.maxDate))||((_e=u.value.years)==null?void 0:_e.includes(d.value(F))),C=lo(t.value,ve.value);return{active:ke,disabled:H,highlighted:C}})),I=(F,ve)=>{se(F,ve),G(ve)},te=(F,ve=!1)=>{if(!g.value(F,ve)){const _e=ve?d.value(F)+1:d.value(F)-1;se(_e,F)}},G=(F,ve=!1,_e)=>{ve||f("reset-flow"),_e!==void 0?c.value[F]=_e:c.value[F]=!c.value[F],c.value[F]?f("overlay-toggle",{open:!0,overlay:it.year}):(f("overlay-closed"),f("overlay-toggle",{open:!1,overlay:it.year}))};return{isDisabled:g,groupedYears:q,showYearPicker:c,selectYear:se,toggleYearPicker:G,handleYearSelect:I,handleYear:te}},$p=(e,a)=>{const{defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,defaultedRange:l,defaultedHighlight:u,propDates:d,defaultedTz:b,defaultedFilters:f,defaultedMultiDates:p}=ze(e),c=()=>{e.isTextInputDate&&K(Pe(Z(e.startDate)),0)},{modelValue:g,year:P,month:$,calendars:R}=Na(e,a,c),W=x(()=>kr(e.formatLocale,e.locale,e.monthNameFormat)),U=A(null),{checkMinMaxRange:V}=ea(e),{selectYear:K,groupedYears:se,showYearPicker:q,toggleYearPicker:I,handleYearSelect:te,handleYear:G,isDisabled:F}=Rr({modelValue:g,multiCalendars:t,range:l,highlight:u,calendars:R,year:P,propDates:d,month:$,filters:f,props:e,emit:a});Ue(()=>{e.startDate&&(g.value&&e.focusStartDate||!g.value)&&K(Pe(Z(e.startDate)),0)});const ve=v=>v?{month:Se(v),year:Pe(v)}:{month:null,year:null},_e=()=>g.value?Array.isArray(g.value)?g.value.map(v=>ve(v)):ve(g.value):ve(),ke=(v,N)=>{const Q=R.value[v],_=_e();return Array.isArray(_)?_.some(me=>me.year===(Q==null?void 0:Q.year)&&me.month===N):(Q==null?void 0:Q.year)===_.year&&N===_.month},H=(v,N,Q)=>{var _,me;const Te=_e();return Array.isArray(Te)?P.value(N)===((_=Te[Q])==null?void 0:_.year)&&v===((me=Te[Q])==null?void 0:me.month):!1},C=(v,N)=>{if(l.value.enabled){const Q=_e();if(Array.isArray(g.value)&&Array.isArray(Q)){const _=H(v,N,0)||H(v,N,1),me=Rt(Pt(Z()),v,P.value(N));return Za(g.value,U.value,me)&&!_}return!1}return!1},M=x(()=>v=>_a(W.value,N=>{var Q;const _=ke(v,N.value),me=Ca(N.value,Pr(P.value(v),d.value.minDate),Tr(P.value(v),d.value.maxDate))||Qm(d.value.disabledDates,P.value(v)).includes(N.value)||((Q=f.value.months)==null?void 0:Q.includes(N.value)),Te=C(N.value,v),Ze=Cr(u.value,N.value,P.value(v));return{active:_,disabled:me,isBetween:Te,highlighted:Ze}})),z=(v,N)=>Rt(Pt(Z()),v,P.value(N)),ue=(v,N)=>{const Q=g.value?g.value:Pt(new Date);g.value=Rt(Q,v,P.value(N)),a("auto-apply"),a("update-flow-step")},j=(v,N)=>{const Q=z(v,N);l.value.fixedEnd||l.value.fixedStart?g.value=Nr(Q,g,a,l):g.value?V(Q,g.value)&&(g.value=io(g,z(v,N),a)):g.value=[z(v,N)],yt().then(()=>{an(g.value,a,e.autoApply,e.modelAuto)})},de=(v,N)=>{so(z(v,N),g,p.value.limit),a("auto-apply",!0)},De=(v,N)=>(R.value[N].month=v,T(N,R.value[N].year,v),p.value.enabled?de(v,N):l.value.enabled?j(v,N):ue(v,N)),D=(v,N)=>{K(v,N),T(N,v,null)},T=(v,N,Q)=>{let _=Q;if(!_&&_!==0){const me=_e();_=Array.isArray(me)?me[v].month:me.month}a("update-month-year",{instance:v,year:N,month:_})};return{groupedMonths:M,groupedYears:se,year:P,isDisabled:F,defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,showYearPicker:q,modelValue:g,presetDate:(v,N)=>{Lr({value:v,modelValue:g,range:l.value.enabled,timezone:N?void 0:b.value.timezone}),a("auto-apply")},setHoverDate:(v,N)=>{U.value=z(v,N)},selectMonth:De,selectYear:D,toggleYearPicker:I,handleYearSelect:te,handleYear:G,getModelMonthYear:_e}},Dp=J({compatConfig:{MODE:3},__name:"MonthPicker",props:{...Mt},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=Jt(),r=_t(o,"yearMode"),l=e;Ue(()=>{l.shadow||n("mount",null)});const{groupedMonths:u,groupedYears:d,year:b,isDisabled:f,defaultedMultiCalendars:p,defaultedConfig:c,showYearPicker:g,modelValue:P,presetDate:$,setHoverDate:R,selectMonth:W,selectYear:U,toggleYearPicker:V,handleYearSelect:K,handleYear:se,getModelMonthYear:q}=$p(l,n);return a({getSidebarProps:()=>({modelValue:P,year:b,getModelMonthYear:q,selectMonth:W,selectYear:U,handleYear:se}),presetDate:$,toggleYearPicker:I=>V(0,I)}),(I,te)=>(i(),le(tn,{"multi-calendars":s(p).count,collapse:I.collapse,stretch:""},{default:w(({instance:G})=>[I.$slots["top-extra"]?k(I.$slots,"top-extra",{key:0,value:I.internalModelValue}):S("",!0),I.$slots["month-year"]?k(I.$slots,"month-year",ot(Oe({key:1},{year:s(b),months:s(u)(G),years:s(d)(G),selectMonth:s(W),selectYear:s(U),instance:G}))):(i(),le(Ia,{key:2,items:s(u)(G),"arrow-navigation":I.arrowNavigation,"is-last":I.autoApply&&!s(c).keepActionRow,"esc-close":I.escClose,height:s(c).modeHeight,config:I.config,"no-overlay-focus":!!(I.noOverlayFocus||I.textInput),"use-relative":"",type:"month",onSelected:F=>s(W)(F,G),onHoverValue:F=>s(R)(F,G)},at({header:w(()=>[ee(Ir,Oe(I.$props,{items:s(d)(G),instance:G,"show-year-picker":s(g)[G],year:s(b)(G),"is-disabled":F=>s(f)(G,F),onHandleYear:F=>s(se)(G,F),onYearSelect:F=>s(K)(F,G),onToggleYearPicker:F=>s(V)(G,F==null?void 0:F.flow,F==null?void 0:F.show)}),at({_:2},[Me(s(r),(F,ve)=>({name:F,fn:w(_e=>[k(I.$slots,F,ot(pt(_e)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[I.$slots["month-overlay-value"]?{name:"item",fn:w(({item:F})=>[k(I.$slots,"month-overlay-value",{text:F.text,value:F.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),Pp=(e,a)=>{const t=()=>{e.isTextInputDate&&(f.value=Pe(Z(e.startDate)))},{modelValue:n}=Na(e,a,t),o=A(null),{defaultedHighlight:r,defaultedMultiDates:l,defaultedFilters:u,defaultedRange:d,propDates:b}=ze(e),f=A();Ue(()=>{e.startDate&&(n.value&&e.focusStartDate||!n.value)&&(f.value=Pe(Z(e.startDate)))});const p=$=>Array.isArray(n.value)?n.value.some(R=>Pe(R)===$):n.value?Pe(n.value)===$:!1,c=$=>d.value.enabled&&Array.isArray(n.value)?Za(n.value,o.value,P($)):!1,g=x(()=>_a(no(e.yearRange,e.locale,e.reverseYears),$=>{const R=p($.value),W=Ca($.value,ba(b.value.minDate),ba(b.value.maxDate))||u.value.years.includes($.value),U=c($.value)&&!R,V=lo(r.value,$.value);return{active:R,disabled:W,isBetween:U,highlighted:V}})),P=$=>Ot(Pt(ha(new Date)),$);return{groupedYears:g,modelValue:n,focusYear:f,setHoverValue:$=>{o.value=Ot(Pt(new Date),$)},selectYear:$=>{var R;if(a("update-month-year",{instance:0,year:$}),l.value.enabled)return n.value?Array.isArray(n.value)&&(((R=n.value)==null?void 0:R.map(W=>Pe(W))).includes($)?n.value=n.value.filter(W=>Pe(W)!==$):n.value.push(Ot(vt(Z()),$))):n.value=[Ot(vt(ha(Z())),$)],a("auto-apply",!0);d.value.enabled?(n.value=io(n,P($),a),yt().then(()=>{an(n.value,a,e.autoApply,e.modelAuto)})):(n.value=P($),a("auto-apply"))}}},Tp=J({compatConfig:{MODE:3},__name:"YearPicker",props:{...Mt},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:a,emit:t}){const n=t,o=e,{groupedYears:r,modelValue:l,focusYear:u,selectYear:d,setHoverValue:b}=Pp(o,n),{defaultedConfig:f}=ze(o);return a({getSidebarProps:()=>({modelValue:l,selectYear:d})}),(p,c)=>(i(),m("div",null,[p.$slots["top-extra"]?k(p.$slots,"top-extra",{key:0,value:p.internalModelValue}):S("",!0),p.$slots["month-year"]?k(p.$slots,"month-year",ot(Oe({key:1},{years:s(r),selectYear:s(d)}))):(i(),le(Ia,{key:2,items:s(r),"is-last":p.autoApply&&!s(f).keepActionRow,height:s(f).modeHeight,config:p.config,"no-overlay-focus":!!(p.noOverlayFocus||p.textInput),"focus-value":s(u),type:"year","use-relative":"",onSelected:s(d),onHoverValue:s(b)},at({_:2},[p.$slots["year-overlay-value"]?{name:"item",fn:w(({item:g})=>[k(p.$slots,"year-overlay-value",{text:g.text,value:g.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),Mp={key:0,class:"dp__time_input"},xp=["data-test","aria-label","onKeydown","onClick","onMousedown"],Sp=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Ap=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Cp=["aria-label","disabled","data-test","onKeydown","onClick"],Vp=["data-test","aria-label","onKeydown","onClick","onMousedown"],Op=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Ip=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Lp={key:0},Np=["aria-label"],Rp=J({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Mt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,{setTimePickerElements:r,setTimePickerBackRef:l}=Zt(),{defaultedAriaLabels:u,defaultedTransitions:d,defaultedFilters:b,defaultedConfig:f,defaultedRange:p}=ze(o),{transitionName:c,showTransition:g}=La(d),P=Va({hours:!1,minutes:!1,seconds:!1}),$=A("AM"),R=A(null),W=A([]),U=A(),V=A(!1);Ue(()=>{n("mounted")});const K=h=>He(new Date,{hours:h.hours,minutes:h.minutes,seconds:o.enableSeconds?h.seconds:0,milliseconds:0}),se=x(()=>h=>z(h,o[h])||I(h,o[h])),q=x(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),I=(h,X)=>p.value.enabled&&!p.value.disableTimeRangeValidation?!o.validateTime(h,X):!1,te=(h,X)=>{if(p.value.enabled&&!p.value.disableTimeRangeValidation){const oe=X?+o[`${h}Increment`]:-+o[`${h}Increment`],Y=o[h]+oe;return!o.validateTime(h,Y)}return!1},G=x(()=>h=>!D(+o[h]+ +o[`${h}Increment`],h)||te(h,!0)),F=x(()=>h=>!D(+o[h]-+o[`${h}Increment`],h)||te(h,!1)),ve=(h,X)=>Jo(He(Z(),h),X),_e=(h,X)=>Sm(He(Z(),h),X),ke=x(()=>({dp__time_col:!0,dp__time_col_block:!o.timePickerInline,dp__time_col_reg_block:!o.enableSeconds&&o.is24&&!o.timePickerInline,dp__time_col_reg_inline:!o.enableSeconds&&o.is24&&o.timePickerInline,dp__time_col_reg_with_button:!o.enableSeconds&&!o.is24,dp__time_col_sec:o.enableSeconds&&o.is24,dp__time_col_sec_with_button:o.enableSeconds&&!o.is24})),H=x(()=>{const h=[{type:"hours"}];return o.enableMinutes&&h.push({type:"",separator:!0},{type:"minutes"}),o.enableSeconds&&h.push({type:"",separator:!0},{type:"seconds"}),h}),C=x(()=>H.value.filter(h=>!h.separator)),M=x(()=>h=>{if(h==="hours"){const X=me(+o.hours);return{text:X<10?`0${X}`:`${X}`,value:X}}return{text:o[h]<10?`0${o[h]}`:`${o[h]}`,value:o[h]}}),z=(h,X)=>{var oe;if(!o.disabledTimesConfig)return!1;const Y=o.disabledTimesConfig(o.order,h==="hours"?X:void 0);return Y[h]?!!((oe=Y[h])!=null&&oe.includes(X)):!0},ue=(h,X)=>X!=="hours"||$.value==="AM"?h:h+12,j=h=>{const X=o.is24?24:12,oe=h==="hours"?X:60,Y=+o[`${h}GridIncrement`],xe=h==="hours"&&!o.is24?Y:0,L=[];for(let ae=xe;ae({active:!1,disabled:b.value.times[h].includes(ae.value)||!D(ae.value,h)||z(h,ae.value)||I(h,ae.value)}))},de=h=>h>=0?h:59,De=h=>h>=0?h:23,D=(h,X)=>{const oe=o.minTime?K(fn(o.minTime)):null,Y=o.maxTime?K(fn(o.maxTime)):null,xe=K(fn(q.value,X,X==="minutes"||X==="seconds"?de(h):De(h)));return oe&&Y?(Aa(xe,Y)||oa(xe,Y))&&(ga(xe,oe)||oa(xe,oe)):oe?ga(xe,oe)||oa(xe,oe):Y?Aa(xe,Y)||oa(xe,Y):!0},T=h=>o[`no${h[0].toUpperCase()+h.slice(1)}Overlay`],v=h=>{T(h)||(P[h]=!P[h],P[h]?(V.value=!0,n("overlay-opened",h)):(V.value=!1,n("overlay-closed",h)))},N=h=>h==="hours"?Bt:h==="minutes"?Gt:ya,Q=()=>{U.value&&clearTimeout(U.value)},_=(h,X=!0,oe)=>{const Y=X?ve:_e,xe=X?+o[`${h}Increment`]:-+o[`${h}Increment`];D(+o[h]+xe,h)&&n(`update:${h}`,N(h)(Y({[h]:+o[h]},{[h]:+o[`${h}Increment`]}))),!(oe!=null&&oe.keyboard)&&f.value.timeArrowHoldThreshold&&(U.value=setTimeout(()=>{_(h,X)},f.value.timeArrowHoldThreshold))},me=h=>o.is24?h:(h>=12?$.value="PM":$.value="AM",Lm(h)),Te=()=>{$.value==="PM"?($.value="AM",n("update:hours",o.hours-12)):($.value="PM",n("update:hours",o.hours+12)),n("am-pm-change",$.value)},Ze=h=>{P[h]=!0},B=(h,X,oe)=>{if(h&&o.arrowNavigation){Array.isArray(W.value[X])?W.value[X][oe]=h:W.value[X]=[h];const Y=W.value.reduce((xe,L)=>L.map((ae,ge)=>[...xe[ge]||[],L[ge]]),[]);l(o.closeTimePickerBtn),R.value&&(Y[1]=Y[1].concat(R.value)),r(Y,o.order)}},ne=(h,X)=>(v(h),n(`update:${h}`,X));return a({openChildCmp:Ze}),(h,X)=>{var oe;return h.disabled?S("",!0):(i(),m("div",Mp,[(i(!0),m(pe,null,Me(H.value,(Y,xe)=>{var L,ae,ge;return i(),m("div",{key:xe,class:he(ke.value)},[Y.separator?(i(),m(pe,{key:0},[V.value?S("",!0):(i(),m(pe,{key:0},[Ne(":")],64))],64)):(i(),m(pe,{key:1},[y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,0),type:"button",class:he({dp__btn:!0,dp__inc_dec_button:!h.timePickerInline,dp__inc_dec_button_inline:h.timePickerInline,dp__tp_inline_btn_top:h.timePickerInline,dp__inc_dec_button_disabled:G.value(Y.type),"dp--hidden-el":V.value}),"data-test":`${Y.type}-time-inc-btn-${o.order}`,"aria-label":(L=s(u))==null?void 0:L.incrementValue(Y.type),tabindex:"0",onKeydown:Ae=>s(ct)(Ae,()=>_(Y.type,!0,{keyboard:!0}),!0),onClick:Ae=>s(f).timeArrowHoldThreshold?void 0:_(Y.type,!0),onMousedown:Ae=>s(f).timeArrowHoldThreshold?_(Y.type,!0):void 0,onMouseup:Q},[o.timePickerInline?(i(),m(pe,{key:1},[h.$slots["tp-inline-arrow-up"]?k(h.$slots,"tp-inline-arrow-up",{key:0}):(i(),m(pe,{key:1},[Sp,Ap],64))],64)):(i(),m(pe,{key:0},[h.$slots["arrow-up"]?k(h.$slots,"arrow-up",{key:0}):S("",!0),h.$slots["arrow-up"]?S("",!0):(i(),le(s(eo),{key:1}))],64))],42,xp),y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,1),type:"button","aria-label":`${M.value(Y.type).text}-${(ae=s(u))==null?void 0:ae.openTpOverlay(Y.type)}`,class:he({dp__time_display:!0,dp__time_display_block:!h.timePickerInline,dp__time_display_inline:h.timePickerInline,"dp--time-invalid":se.value(Y.type),"dp--time-overlay-btn":!se.value(Y.type),"dp--hidden-el":V.value}),disabled:T(Y.type),tabindex:"0","data-test":`${Y.type}-toggle-overlay-btn-${o.order}`,onKeydown:Ae=>s(ct)(Ae,()=>v(Y.type),!0),onClick:Ae=>v(Y.type)},[h.$slots[Y.type]?k(h.$slots,Y.type,{key:0,text:M.value(Y.type).text,value:M.value(Y.type).value}):S("",!0),h.$slots[Y.type]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(M.value(Y.type).text),1)],64))],42,Cp),y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,2),type:"button",class:he({dp__btn:!0,dp__inc_dec_button:!h.timePickerInline,dp__inc_dec_button_inline:h.timePickerInline,dp__tp_inline_btn_bottom:h.timePickerInline,dp__inc_dec_button_disabled:F.value(Y.type),"dp--hidden-el":V.value}),"data-test":`${Y.type}-time-dec-btn-${o.order}`,"aria-label":(ge=s(u))==null?void 0:ge.decrementValue(Y.type),tabindex:"0",onKeydown:Ae=>s(ct)(Ae,()=>_(Y.type,!1,{keyboard:!0}),!0),onClick:Ae=>s(f).timeArrowHoldThreshold?void 0:_(Y.type,!1),onMousedown:Ae=>s(f).timeArrowHoldThreshold?_(Y.type,!1):void 0,onMouseup:Q},[o.timePickerInline?(i(),m(pe,{key:1},[h.$slots["tp-inline-arrow-down"]?k(h.$slots,"tp-inline-arrow-down",{key:0}):(i(),m(pe,{key:1},[Op,Ip],64))],64)):(i(),m(pe,{key:0},[h.$slots["arrow-down"]?k(h.$slots,"arrow-down",{key:0}):S("",!0),h.$slots["arrow-down"]?S("",!0):(i(),le(s(to),{key:1}))],64))],42,Vp)],64))],2)}),128)),h.is24?S("",!0):(i(),m("div",Lp,[h.$slots["am-pm-button"]?k(h.$slots,"am-pm-button",{key:0,toggle:Te,value:$.value}):S("",!0),h.$slots["am-pm-button"]?S("",!0):(i(),m("button",{key:1,ref_key:"amPmButton",ref:R,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(oe=s(u))==null?void 0:oe.amPmButton,tabindex:"0",onClick:Te,onKeydown:X[0]||(X[0]=Y=>s(ct)(Y,()=>Te(),!0))},ce($.value),41,Np))])),(i(!0),m(pe,null,Me(C.value,(Y,xe)=>(i(),le(Ht,{key:xe,name:s(c)(P[Y.type]),css:s(g)},{default:w(()=>{var L,ae;return[P[Y.type]?(i(),le(Ia,{key:0,items:j(Y.type),"is-last":h.autoApply&&!s(f).keepActionRow,"esc-close":h.escClose,type:Y.type,"text-input":h.textInput,config:h.config,"arrow-navigation":h.arrowNavigation,"aria-labels":h.ariaLabels,"overlay-label":(ae=(L=s(u)).timeOverlay)==null?void 0:ae.call(L,Y.type),onSelected:ge=>ne(Y.type,ge),onToggle:ge=>v(Y.type),onResetFlow:X[1]||(X[1]=ge=>h.$emit("reset-flow"))},at({"button-icon":w(()=>[h.$slots["clock-icon"]?k(h.$slots,"clock-icon",{key:0}):S("",!0),h.$slots["clock-icon"]?S("",!0):(i(),le(ft(h.timePickerInline?s(ka):s(Zn)),{key:1}))]),_:2},[h.$slots[`${Y.type}-overlay-value`]?{name:"item",fn:w(({item:ge})=>[k(h.$slots,`${Y.type}-overlay-value`,{text:ge.text,value:ge.value})]),key:"0"}:void 0,h.$slots[`${Y.type}-overlay-header`]?{name:"header",fn:w(()=>[k(h.$slots,`${Y.type}-overlay-header`,{toggle:()=>v(Y.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):S("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),Bp={class:"dp--tp-wrap"},Ep=["aria-label","tabindex"],Hp=["role","aria-label","tabindex"],Yp=["aria-label"],Br=J({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Mt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,{buildMatrix:r,setTimePicker:l}=Zt(),u=Jt(),{defaultedTransitions:d,defaultedAriaLabels:b,defaultedTextInput:f,defaultedConfig:p,defaultedRange:c}=ze(o),{transitionName:g,showTransition:P}=La(d),{hideNavigationButtons:$}=nn(),R=A(null),W=A(null),U=A([]),V=A(null),K=A(!1);Ue(()=>{n("mount"),!o.timePicker&&o.arrowNavigation?r([tt(R.value)],"time"):l(!0,o.timePicker)});const se=x(()=>c.value.enabled&&o.modelAuto?wr(o.internalModelValue):!0),q=A(!1),I=j=>({hours:Array.isArray(o.hours)?o.hours[j]:o.hours,minutes:Array.isArray(o.minutes)?o.minutes[j]:o.minutes,seconds:Array.isArray(o.seconds)?o.seconds[j]:o.seconds}),te=x(()=>{const j=[];if(c.value.enabled)for(let de=0;de<2;de++)j.push(I(de));else j.push(I(0));return j}),G=(j,de=!1,De="")=>{de||n("reset-flow"),q.value=j,n(j?"overlay-opened":"overlay-closed",it.time),o.arrowNavigation&&l(j),yt(()=>{De!==""&&U.value[0]&&U.value[0].openChildCmp(De)})},F=x(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!p.value.keepActionRow})),ve=_t(u,"timePicker"),_e=(j,de,De)=>c.value.enabled?de===0?[j,te.value[1][De]]:[te.value[0][De],j]:j,ke=j=>{n("update:hours",j)},H=j=>{n("update:minutes",j)},C=j=>{n("update:seconds",j)},M=()=>{if(V.value&&!f.value.enabled&&!o.noOverlayFocus){const j=$r(V.value);j&&j.focus({preventScroll:!0})}},z=j=>{K.value=!1,n("overlay-closed",j)},ue=j=>{K.value=!0,n("overlay-opened",j)};return a({toggleTimePicker:G}),(j,de)=>{var De;return i(),m("div",Bp,[!j.timePicker&&!j.timePickerInline?Ta((i(),m("button",{key:0,ref_key:"openTimePickerBtn",ref:R,type:"button",class:he({...F.value,"dp--hidden-el":q.value}),"aria-label":(De=s(b))==null?void 0:De.openTimePicker,tabindex:j.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:de[0]||(de[0]=D=>s(ct)(D,()=>G(!0))),onClick:de[1]||(de[1]=D=>G(!0))},[j.$slots["clock-icon"]?k(j.$slots,"clock-icon",{key:0}):S("",!0),j.$slots["clock-icon"]?S("",!0):(i(),le(s(Zn),{key:1}))],42,Ep)),[[Ya,!s($)(j.hideNavigation,"time")]]):S("",!0),ee(Ht,{name:s(g)(q.value),css:s(P)&&!j.timePickerInline},{default:w(()=>{var D,T;return[q.value||j.timePicker||j.timePickerInline?(i(),m("div",{key:0,ref_key:"overlayRef",ref:V,role:j.timePickerInline?void 0:"dialog",class:he({dp__overlay:!j.timePickerInline,"dp--overlay-absolute":!o.timePicker&&!j.timePickerInline,"dp--overlay-relative":o.timePicker}),style:mt(j.timePicker?{height:`${s(p).modeHeight}px`}:void 0),"aria-label":(D=s(b))==null?void 0:D.timePicker,tabindex:j.timePickerInline?void 0:0},[y("div",{class:he(j.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[j.$slots["time-picker-overlay"]?k(j.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:ke,setMinutes:H,setSeconds:C}):S("",!0),j.$slots["time-picker-overlay"]?S("",!0):(i(),m("div",{key:1,class:he(j.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(i(!0),m(pe,null,Me(te.value,(v,N)=>Ta((i(),le(Rp,Oe({key:N,ref_for:!0},{...j.$props,order:N,hours:v.hours,minutes:v.minutes,seconds:v.seconds,closeTimePickerBtn:W.value,disabledTimesConfig:e.disabledTimesConfig,disabled:N===0?s(c).fixedStart:s(c).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:U,"validate-time":(Q,_)=>e.validateTime(Q,_e(_,N,Q)),"onUpdate:hours":Q=>ke(_e(Q,N,"hours")),"onUpdate:minutes":Q=>H(_e(Q,N,"minutes")),"onUpdate:seconds":Q=>C(_e(Q,N,"seconds")),onMounted:M,onOverlayClosed:z,onOverlayOpened:ue,onAmPmChange:de[2]||(de[2]=Q=>j.$emit("am-pm-change",Q))}),at({_:2},[Me(s(ve),(Q,_)=>({name:Q,fn:w(me=>[k(j.$slots,Q,Oe({ref_for:!0},me))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[Ya,N===0?!0:se.value]])),128))],2)),!j.timePicker&&!j.timePickerInline?Ta((i(),m("button",{key:2,ref_key:"closeTimePickerBtn",ref:W,type:"button",class:he({...F.value,"dp--hidden-el":K.value}),"aria-label":(T=s(b))==null?void 0:T.closeTimePicker,tabindex:"0",onKeydown:de[3]||(de[3]=v=>s(ct)(v,()=>G(!1))),onClick:de[4]||(de[4]=v=>G(!1))},[j.$slots["calendar-icon"]?k(j.$slots,"calendar-icon",{key:0}):S("",!0),j.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))],42,Yp)),[[Ya,!s($)(j.hideNavigation,"time")]]):S("",!0)],2)],14,Hp)):S("",!0)]}),_:3},8,["name","css"])])}}}),Er=(e,a,t,n)=>{const{defaultedRange:o}=ze(e),r=(V,K)=>Array.isArray(a[V])?a[V][K]:a[V],l=V=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[V]:a.seconds:0,u=(V,K)=>V?K!==void 0?Kt(V,r("hours",K),r("minutes",K),l(K)):Kt(V,a.hours,a.minutes,l()):gr(Z(),l(K)),d=(V,K)=>{a[V]=K},b=x(()=>e.modelAuto&&o.value.enabled?Array.isArray(t.value)?t.value.length>1:!1:o.value.enabled),f=(V,K)=>{const se=Object.fromEntries(Object.keys(a).map(q=>q===V?[q,K]:[q,a[q]].slice()));if(b.value&&!o.value.disableTimeRangeValidation){const q=te=>t.value?Kt(t.value[te],se.hours[te],se.minutes[te],se.seconds[te]):null,I=te=>yr(t.value[te],0);return!(Ve(q(0),q(1))&&(ga(q(0),I(1))||Aa(q(1),I(0))))}return!0},p=(V,K)=>{f(V,K)&&(d(V,K),n&&n())},c=V=>{p("hours",V)},g=V=>{p("minutes",V)},P=V=>{p("seconds",V)},$=(V,K,se,q)=>{K&&c(V),!K&&!se&&g(V),se&&P(V),t.value&&q(t.value)},R=V=>{if(V){const K=Array.isArray(V),se=K?[+V[0].hours,+V[1].hours]:+V.hours,q=K?[+V[0].minutes,+V[1].minutes]:+V.minutes,I=K?[+V[0].seconds,+V[1].seconds]:+V.seconds;d("hours",se),d("minutes",q),e.enableSeconds&&d("seconds",I)}},W=(V,K)=>{const se={hours:Array.isArray(a.hours)?a.hours[V]:a.hours,disabledArr:[]};return(K||K===0)&&(se.hours=K),Array.isArray(e.disabledTimes)&&(se.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[V])?e.disabledTimes[V]:e.disabledTimes),se},U=x(()=>(V,K)=>{var se;if(Array.isArray(e.disabledTimes)){const{disabledArr:q,hours:I}=W(V,K),te=q.filter(G=>+G.hours===I);return((se=te[0])==null?void 0:se.minutes)==="*"?{hours:[I],minutes:void 0,seconds:void 0}:{hours:[],minutes:(te==null?void 0:te.map(G=>+G.minutes))??[],seconds:(te==null?void 0:te.map(G=>G.seconds?+G.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:c,updateMinutes:g,updateSeconds:P,getSetDateTime:u,updateTimeValues:$,getSecondsValue:l,assignStartTime:R,validateTime:f,disabledTimesConfig:U}},Fp=(e,a)=>{const t=()=>{e.isTextInputDate&&K()},{modelValue:n,time:o}=Na(e,a,t),{defaultedStartTime:r,defaultedRange:l,defaultedTz:u}=ze(e),{updateTimeValues:d,getSetDateTime:b,setTime:f,assignStartTime:p,disabledTimesConfig:c,validateTime:g}=Er(e,o,n,P);function P(){a("update-flow-step")}const $=q=>{const{hours:I,minutes:te,seconds:G}=q;return{hours:+I,minutes:+te,seconds:G?+G:0}},R=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const I=$(e.startTime[0]),te=$(e.startTime[1]);return[He(Z(),I),He(Z(),te)]}const q=$(e.startTime);return He(Z(),q)}return l.value.enabled?[null,null]:null},W=()=>{if(l.value.enabled){const[q,I]=R();n.value=[ht(b(q,0),u.value.timezone),ht(b(I,1),u.value.timezone)]}else n.value=ht(b(R()),u.value.timezone)},U=q=>Array.isArray(q)?[la(Z(q[0])),la(Z(q[1]))]:[la(q??Z())],V=(q,I,te)=>{f("hours",q),f("minutes",I),f("seconds",e.enableSeconds?te:0)},K=()=>{const[q,I]=U(n.value);return l.value.enabled?V([q.hours,I.hours],[q.minutes,I.minutes],[q.seconds,I.seconds]):V(q.hours,q.minutes,q.seconds)};Ue(()=>{if(!e.shadow)return p(r.value),n.value?K():W()});const se=()=>{Array.isArray(n.value)?n.value=n.value.map((q,I)=>q&&b(q,I)):n.value=b(n.value),a("time-update")};return{modelValue:n,time:o,disabledTimesConfig:c,updateTime:(q,I=!0,te=!1)=>{d(q,I,te,se)},validateTime:g}},zp=J({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...Mt},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=_t(r,"timePicker"),u=A(null),{time:d,modelValue:b,disabledTimesConfig:f,updateTime:p,validateTime:c}=Fp(o,n);return Ue(()=>{o.shadow||n("mount",null)}),a({getSidebarProps:()=>({modelValue:b,time:d,updateTime:p}),toggleTimePicker:(g,P=!1,$="")=>{var R;(R=u.value)==null||R.toggleTimePicker(g,P,$)}}),(g,P)=>(i(),le(tn,{"multi-calendars":0,stretch:""},{default:w(()=>[ee(Br,Oe({ref_key:"tpRef",ref:u},g.$props,{hours:s(d).hours,minutes:s(d).minutes,seconds:s(d).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":s(f),"validate-time":s(c),"onUpdate:hours":P[0]||(P[0]=$=>s(p)($)),"onUpdate:minutes":P[1]||(P[1]=$=>s(p)($,!1)),"onUpdate:seconds":P[2]||(P[2]=$=>s(p)($,!1,!0)),onAmPmChange:P[3]||(P[3]=$=>g.$emit("am-pm-change",$)),onResetFlow:P[4]||(P[4]=$=>g.$emit("reset-flow")),onOverlayClosed:P[5]||(P[5]=$=>g.$emit("overlay-toggle",{open:!1,overlay:$})),onOverlayOpened:P[6]||(P[6]=$=>g.$emit("overlay-toggle",{open:!0,overlay:$}))}),at({_:2},[Me(s(l),($,R)=>({name:$,fn:w(W=>[k(g.$slots,$,ot(pt(W)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),Wp={class:"dp--header-wrap"},Up={key:0,class:"dp__month_year_wrap"},qp={key:0},jp={class:"dp__month_year_wrap"},Qp=["data-dp-element","aria-label","data-test","onClick","onKeydown"],Kp=J({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...Mt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTransitions:r,defaultedAriaLabels:l,defaultedMultiCalendars:u,defaultedFilters:d,defaultedConfig:b,defaultedHighlight:f,propDates:p,defaultedUI:c}=ze(o),{transitionName:g,showTransition:P}=La(r),{buildMatrix:$}=Zt(),{handleMonthYearChange:R,isDisabled:W,updateMonthYear:U}=mp(o,n),{showLeftIcon:V,showRightIcon:K}=nn(),se=A(!1),q=A(!1),I=A(!1),te=A([null,null,null,null]);Ue(()=>{n("mount")});const G=T=>({get:()=>o[T],set:v=>{const N=T===Dt.month?Dt.year:Dt.month;n("update-month-year",{[T]:v,[N]:o[N]}),T===Dt.month?z(!0):ue(!0)}}),F=x(G(Dt.month)),ve=x(G(Dt.year)),_e=x(()=>T=>({month:o.month,year:o.year,items:T===Dt.month?o.months:o.years,instance:o.instance,updateMonthYear:U,toggle:T===Dt.month?z:ue})),ke=x(()=>o.months.find(v=>v.value===o.month)||{text:"",value:0}),H=x(()=>_a(o.months,T=>{const v=o.month===T.value,N=Ca(T.value,Pr(o.year,p.value.minDate),Tr(o.year,p.value.maxDate))||d.value.months.includes(T.value),Q=Cr(f.value,T.value,o.year);return{active:v,disabled:N,highlighted:Q}})),C=x(()=>_a(o.years,T=>{const v=o.year===T.value,N=Ca(T.value,ba(p.value.minDate),ba(p.value.maxDate))||d.value.years.includes(T.value),Q=lo(f.value,T.value);return{active:v,disabled:N,highlighted:Q}})),M=(T,v,N)=>{N!==void 0?T.value=N:T.value=!T.value,T.value?(I.value=!0,n("overlay-opened",v)):(I.value=!1,n("overlay-closed",v))},z=(T=!1,v)=>{j(T),M(se,it.month,v)},ue=(T=!1,v)=>{j(T),M(q,it.year,v)},j=T=>{T||n("reset-flow")},de=(T,v)=>{o.arrowNavigation&&(te.value[v]=tt(T),$(te.value,"monthYear"))},De=x(()=>{var T,v,N,Q,_,me;return[{type:Dt.month,index:1,toggle:z,modelValue:F.value,updateModelValue:Te=>F.value=Te,text:ke.value.text,showSelectionGrid:se.value,items:H.value,ariaLabel:(T=l.value)==null?void 0:T.openMonthsOverlay,overlayLabel:((N=(v=l.value).monthPicker)==null?void 0:N.call(v,!0))??void 0},{type:Dt.year,index:2,toggle:ue,modelValue:ve.value,updateModelValue:Te=>ve.value=Te,text:Dr(o.year,o.locale),showSelectionGrid:q.value,items:C.value,ariaLabel:(Q=l.value)==null?void 0:Q.openYearsOverlay,overlayLabel:((me=(_=l.value).yearPicker)==null?void 0:me.call(_,!0))??void 0}]}),D=x(()=>o.disableYearSelect?[De.value[0]]:o.yearFirst?[...De.value].reverse():De.value);return a({toggleMonthPicker:z,toggleYearPicker:ue,handleMonthYearChange:R}),(T,v)=>{var N,Q,_,me,Te,Ze;return i(),m("div",Wp,[T.$slots["month-year"]?(i(),m("div",Up,[k(T.$slots,"month-year",ot(pt({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:s(U),handleMonthYearChange:s(R),instance:e.instance})))])):(i(),m(pe,{key:1},[T.$slots["top-extra"]?(i(),m("div",qp,[k(T.$slots,"top-extra",{value:T.internalModelValue})])):S("",!0),y("div",jp,[s(V)(s(u),e.instance)&&!T.vertical?(i(),le(xa,{key:0,"aria-label":(N=s(l))==null?void 0:N.prevMonth,disabled:s(W)(!1),class:he((Q=s(c))==null?void 0:Q.navBtnPrev),"el-name":"action-prev",onActivate:v[0]||(v[0]=B=>s(R)(!1,!0)),onSetRef:v[1]||(v[1]=B=>de(B,0))},{default:w(()=>[T.$slots["arrow-left"]?k(T.$slots,"arrow-left",{key:0}):S("",!0),T.$slots["arrow-left"]?S("",!0):(i(),le(s(Xn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),y("div",{class:he(["dp__month_year_wrap",{dp__year_disable_select:T.disableYearSelect}])},[(i(!0),m(pe,null,Me(D.value,(B,ne)=>(i(),m(pe,{key:B.type},[y("button",{ref_for:!0,ref:h=>de(h,ne+1),type:"button","data-dp-element":`overlay-${B.type}`,class:he(["dp__btn dp__month_year_select",{"dp--hidden-el":I.value}]),"aria-label":`${B.text}-${B.ariaLabel}`,"data-test":`${B.type}-toggle-overlay-${e.instance}`,onClick:B.toggle,onKeydown:h=>s(ct)(h,()=>B.toggle(),!0)},[T.$slots[B.type]?k(T.$slots,B.type,{key:0,text:B.text,value:o[B.type]}):S("",!0),T.$slots[B.type]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(B.text),1)],64))],42,Qp),ee(Ht,{name:s(g)(B.showSelectionGrid),css:s(P)},{default:w(()=>[B.showSelectionGrid?(i(),le(Ia,{key:0,items:B.items,"arrow-navigation":T.arrowNavigation,"hide-navigation":T.hideNavigation,"is-last":T.autoApply&&!s(b).keepActionRow,"skip-button-ref":!1,config:T.config,type:B.type,"header-refs":[],"esc-close":T.escClose,"menu-wrap-ref":T.menuWrapRef,"text-input":T.textInput,"aria-labels":T.ariaLabels,"overlay-label":B.overlayLabel,onSelected:B.updateModelValue,onToggle:B.toggle},at({"button-icon":w(()=>[T.$slots["calendar-icon"]?k(T.$slots,"calendar-icon",{key:0}):S("",!0),T.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))]),_:2},[T.$slots[`${B.type}-overlay-value`]?{name:"item",fn:w(({item:h})=>[k(T.$slots,`${B.type}-overlay-value`,{text:h.text,value:h.value})]),key:"0"}:void 0,T.$slots[`${B.type}-overlay`]?{name:"overlay",fn:w(()=>[k(T.$slots,`${B.type}-overlay`,Oe({ref_for:!0},_e.value(B.type)))]),key:"1"}:void 0,T.$slots[`${B.type}-overlay-header`]?{name:"header",fn:w(()=>[k(T.$slots,`${B.type}-overlay-header`,{toggle:B.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):S("",!0)]),_:2},1032,["name","css"])],64))),128))],2),s(V)(s(u),e.instance)&&T.vertical?(i(),le(xa,{key:1,"aria-label":(_=s(l))==null?void 0:_.prevMonth,"el-name":"action-prev",disabled:s(W)(!1),class:he((me=s(c))==null?void 0:me.navBtnPrev),onActivate:v[2]||(v[2]=B=>s(R)(!1,!0))},{default:w(()=>[T.$slots["arrow-up"]?k(T.$slots,"arrow-up",{key:0}):S("",!0),T.$slots["arrow-up"]?S("",!0):(i(),le(s(eo),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),s(K)(s(u),e.instance)?(i(),le(xa,{key:2,ref:"rightIcon","el-name":"action-next",disabled:s(W)(!0),"aria-label":(Te=s(l))==null?void 0:Te.nextMonth,class:he((Ze=s(c))==null?void 0:Ze.navBtnNext),onActivate:v[3]||(v[3]=B=>s(R)(!0,!0)),onSetRef:v[4]||(v[4]=B=>de(B,T.disableYearSelect?2:3))},{default:w(()=>[T.$slots[T.vertical?"arrow-down":"arrow-right"]?k(T.$slots,T.vertical?"arrow-down":"arrow-right",{key:0}):S("",!0),T.$slots[T.vertical?"arrow-down":"arrow-right"]?S("",!0):(i(),le(ft(T.vertical?s(to):s(Jn)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):S("",!0)])],64))])}}}),Gp={class:"dp__calendar_header",role:"row"},Xp={key:0,class:"dp__calendar_header_item",role:"gridcell"},Jp=["aria-label"],Zp=y("div",{class:"dp__calendar_header_separator"},null,-1),ef={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},tf={class:"dp__cell_inner"},af=["id","aria-pressed","aria-disabled","aria-label","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],nf=J({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...Mt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:a,emit:t}){const n=t,o=e,{buildMultiLevelMatrix:r}=Zt(),{defaultedTransitions:l,defaultedConfig:u,defaultedAriaLabels:d,defaultedMultiCalendars:b,defaultedWeekNumbers:f,defaultedMultiDates:p,defaultedUI:c}=ze(o),g=A(null),P=A({bottom:"",left:"",transform:""}),$=A([]),R=A(null),W=A(!0),U=A(""),V=A({startX:0,endX:0,startY:0,endY:0}),K=A([]),se=A({left:"50%"}),q=A(!1),I=x(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),te=x(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):Im(o.formatLocale,o.locale,+o.weekStart));Ue(()=>{n("mount",{cmp:"calendar",refs:$}),u.value.noSwipe||R.value&&(R.value.addEventListener("touchstart",de,{passive:!1}),R.value.addEventListener("touchend",De,{passive:!1}),R.value.addEventListener("touchmove",D,{passive:!1})),o.monthChangeOnScroll&&R.value&&R.value.addEventListener("wheel",N,{passive:!1})});const G=B=>B?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",F=(B,ne)=>{if(o.transitions){const h=vt(Rt(Z(),o.month,o.year));U.value=Ke(vt(Rt(Z(),B,ne)),h)?l.value[G(!0)]:l.value[G(!1)],W.value=!1,yt(()=>{W.value=!0})}},ve=x(()=>({...c.value.calendar??{}})),_e=x(()=>B=>{const ne=Nm(B);return{dp__marker_dot:ne.type==="dot",dp__marker_line:ne.type==="line"}}),ke=x(()=>B=>Ve(B,g.value)),H=x(()=>({dp__calendar:!0,dp__calendar_next:b.value.count>0&&o.instance!==0})),C=x(()=>B=>o.hideOffsetDates?B.current:!0),M=async(B,ne)=>{const{width:h,height:X}=B.getBoundingClientRect();g.value=ne.value;let oe={left:`${h/2}px`},Y=-50;if(await yt(),K.value[0]){const{left:xe,width:L}=K.value[0].getBoundingClientRect();xe<0&&(oe={left:"0"},Y=0,se.value.left=`${h/2}px`),window.innerWidth{var X,oe,Y;const xe=tt($.value[ne][h]);xe&&((X=B.marker)!=null&&X.customPosition&&(Y=(oe=B.marker)==null?void 0:oe.tooltip)!=null&&Y.length?P.value=B.marker.customPosition(xe):await M(xe,B),n("tooltip-open",B.marker))},ue=async(B,ne,h)=>{var X,oe;if(q.value&&p.value.enabled&&p.value.dragSelect)return n("select-date",B);n("set-hover-date",B),(oe=(X=B.marker)==null?void 0:X.tooltip)!=null&&oe.length&&await z(B,ne,h)},j=B=>{g.value&&(g.value=null,P.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),n("tooltip-close",B.marker))},de=B=>{V.value.startX=B.changedTouches[0].screenX,V.value.startY=B.changedTouches[0].screenY},De=B=>{V.value.endX=B.changedTouches[0].screenX,V.value.endY=B.changedTouches[0].screenY,T()},D=B=>{o.vertical&&!o.inline&&B.preventDefault()},T=()=>{const B=o.vertical?"Y":"X";Math.abs(V.value[`start${B}`]-V.value[`end${B}`])>10&&n("handle-swipe",V.value[`start${B}`]>V.value[`end${B}`]?"right":"left")},v=(B,ne,h)=>{B&&(Array.isArray($.value[ne])?$.value[ne][h]=B:$.value[ne]=[B]),o.arrowNavigation&&r($.value,"calendar")},N=B=>{o.monthChangeOnScroll&&(B.preventDefault(),n("handle-scroll",B))},Q=B=>f.value.type==="local"?Qn(B.value,{weekStartsOn:+o.weekStart}):f.value.type==="iso"?qn(B.value):typeof f.value.type=="function"?f.value.type(B.value):"",_=B=>{const ne=B[0];return f.value.hideOnOffsetDates?B.some(h=>h.current)?Q(ne):"":Q(ne)},me=(B,ne,h=!0)=>{h&&Ym()||p.value.enabled||(Qt(B,u.value),n("select-date",ne))},Te=B=>{Qt(B,u.value)},Ze=B=>{p.value.enabled&&p.value.dragSelect?(q.value=!0,n("select-date",B)):p.value.enabled&&n("select-date",B)};return a({triggerTransition:F}),(B,ne)=>(i(),m("div",{class:he(H.value)},[y("div",{ref_key:"calendarWrapRef",ref:R,class:he(ve.value),role:"grid"},[y("div",Gp,[B.weekNumbers?(i(),m("div",Xp,ce(B.weekNumName),1)):S("",!0),(i(!0),m(pe,null,Me(te.value,(h,X)=>{var oe,Y;return i(),m("div",{key:X,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(Y=(oe=s(d))==null?void 0:oe.weekDay)==null?void 0:Y.call(oe,X)},[B.$slots["calendar-header"]?k(B.$slots,"calendar-header",{key:0,day:h,index:X}):S("",!0),B.$slots["calendar-header"]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(h),1)],64))],8,Jp)}),128))]),Zp,ee(Ht,{name:U.value,css:!!B.transitions},{default:w(()=>[W.value?(i(),m("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:ne[1]||(ne[1]=h=>q.value=!1)},[(i(!0),m(pe,null,Me(I.value,(h,X)=>(i(),m("div",{key:X,class:"dp__calendar_row",role:"row"},[B.weekNumbers?(i(),m("div",ef,[y("div",tf,ce(_(h.days)),1)])):S("",!0),(i(!0),m(pe,null,Me(h.days,(oe,Y)=>{var xe,L,ae;return i(),m("div",{id:s(Vr)(oe.value),ref_for:!0,ref:ge=>v(ge,X,Y),key:Y+X,role:"gridcell",class:"dp__calendar_item","aria-pressed":(oe.classData.dp__active_date||oe.classData.dp__range_start||oe.classData.dp__range_start)??void 0,"aria-disabled":oe.classData.dp__cell_disabled||void 0,"aria-label":(L=(xe=s(d))==null?void 0:xe.day)==null?void 0:L.call(xe,oe),tabindex:"0","data-test":oe.value,onClick:ia(ge=>me(ge,oe),["prevent"]),onTouchend:ge=>me(ge,oe,!1),onKeydown:ge=>s(ct)(ge,()=>B.$emit("select-date",oe)),onMouseenter:ge=>ue(oe,X,Y),onMouseleave:ge=>j(oe),onMousedown:ge=>Ze(oe),onMouseup:ne[0]||(ne[0]=ge=>q.value=!1)},[y("div",{class:he(["dp__cell_inner",oe.classData])},[B.$slots.day&&C.value(oe)?k(B.$slots,"day",{key:0,day:+oe.text,date:oe.value}):S("",!0),B.$slots.day?S("",!0):(i(),m(pe,{key:1},[Ne(ce(oe.text),1)],64)),oe.marker&&C.value(oe)?(i(),m(pe,{key:2},[B.$slots.marker?k(B.$slots,"marker",{key:0,marker:oe.marker,day:+oe.text,date:oe.value}):(i(),m("div",{key:1,class:he(_e.value(oe.marker)),style:mt(oe.marker.color?{backgroundColor:oe.marker.color}:{})},null,6))],64)):S("",!0),ke.value(oe.value)?(i(),m("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:K,class:"dp__marker_tooltip",style:mt(P.value)},[(ae=oe.marker)!=null&&ae.tooltip?(i(),m("div",{key:0,class:"dp__tooltip_content",onClick:Te},[(i(!0),m(pe,null,Me(oe.marker.tooltip,(ge,Ae)=>(i(),m("div",{key:Ae,class:"dp__tooltip_text"},[B.$slots["marker-tooltip"]?k(B.$slots,"marker-tooltip",{key:0,tooltip:ge,day:oe.value}):S("",!0),B.$slots["marker-tooltip"]?S("",!0):(i(),m(pe,{key:1},[y("div",{class:"dp__tooltip_mark",style:mt(ge.color?{backgroundColor:ge.color}:{})},null,4),y("div",null,ce(ge.text),1)],64))]))),128)),y("div",{class:"dp__arrow_bottom_tp",style:mt(se.value)},null,4)])):S("",!0)],4)):S("",!0)],2)],40,af)}),128))]))),128))],32)):S("",!0)]),_:3},8,["name","css"])],2)],2))}}),Ao=e=>Array.isArray(e),of=(e,a,t,n)=>{const o=A([]),r=A(new Date),l=A(),u=()=>de(e.isTextInputDate),{modelValue:d,calendars:b,time:f,today:p}=Na(e,a,u),{defaultedMultiCalendars:c,defaultedStartTime:g,defaultedRange:P,defaultedConfig:$,defaultedTz:R,propDates:W,defaultedMultiDates:U}=ze(e),{validateMonthYearInRange:V,isDisabled:K,isDateRangeAllowed:se,checkMinMaxRange:q}=ea(e),{updateTimeValues:I,getSetDateTime:te,setTime:G,assignStartTime:F,validateTime:ve,disabledTimesConfig:_e}=Er(e,f,d,n),ke=x(()=>O=>b.value[O]?b.value[O].month:0),H=x(()=>O=>b.value[O]?b.value[O].year:0),C=O=>!$.value.keepViewOnOffsetClick||O?!0:!l.value,M=(O,ie,E,re=!1)=>{var fe,ut;C(re)&&(b.value[O]||(b.value[O]={month:0,year:0}),b.value[O].month=Po(ie)?(fe=b.value[O])==null?void 0:fe.month:ie,b.value[O].year=Po(E)?(ut=b.value[O])==null?void 0:ut.year:E)},z=()=>{e.autoApply&&a("select-date")};Ue(()=>{e.shadow||(d.value||(B(),g.value&&F(g.value)),de(!0),e.focusStartDate&&e.startDate&&B())});const ue=x(()=>{var O;return(O=e.flow)!=null&&O.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),j=()=>{e.autoApply&&ue.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},de=(O=!1)=>{if(d.value)return Array.isArray(d.value)?(o.value=d.value,_(O)):T(d.value,O);if(c.value.count&&O&&!e.startDate)return D(Z(),O)},De=()=>Array.isArray(d.value)&&P.value.enabled?Se(d.value[0])===Se(d.value[1]??d.value[0]):!1,D=(O=new Date,ie=!1)=>{if((!c.value.count||!c.value.static||ie)&&M(0,Se(O),Pe(O)),c.value.count&&(!c.value.solo||!d.value||De()))for(let E=1;E{D(O),G("hours",Bt(O)),G("minutes",Gt(O)),G("seconds",ya(O)),c.value.count&&ie&&Ze()},v=O=>{if(c.value.count){if(c.value.solo)return 0;const ie=Se(O[0]),E=Se(O[1]);return Math.abs(E-ie){O[1]&&P.value.showLastInRange?D(O[v(O)],ie):D(O[0],ie);const E=(re,fe)=>[re(O[0]),O[1]?re(O[1]):f[fe][1]];G("hours",E(Bt,"hours")),G("minutes",E(Gt,"minutes")),G("seconds",E(ya,"seconds"))},Q=(O,ie)=>{if((P.value.enabled||e.weekPicker)&&!U.value.enabled)return N(O,ie);if(U.value.enabled&&ie){const E=O[O.length-1];return T(E,ie)}},_=O=>{const ie=d.value;Q(ie,O),c.value.count&&c.value.solo&&Ze()},me=(O,ie)=>{const E=He(Z(),{month:ke.value(ie),year:H.value(ie)}),re=O<0?bt(E,1):Et(E,1);V(Se(re),Pe(re),O<0,e.preventMinMaxNavigation)&&(M(ie,Se(re),Pe(re)),a("update-month-year",{instance:ie,month:Se(re),year:Pe(re)}),c.value.count&&!c.value.solo&&Te(ie),t())},Te=O=>{for(let ie=O-1;ie>=0;ie--){const E=Et(He(Z(),{month:ke.value(ie+1),year:H.value(ie+1)}),1);M(ie,Se(E),Pe(E))}for(let ie=O+1;ie<=c.value.count-1;ie++){const E=bt(He(Z(),{month:ke.value(ie-1),year:H.value(ie-1)}),1);M(ie,Se(E),Pe(E))}},Ze=()=>{if(Array.isArray(d.value)&&d.value.length===2){const O=Z(Z(d.value[1]?d.value[1]:bt(d.value[0],1))),[ie,E]=[Se(d.value[0]),Pe(d.value[0])],[re,fe]=[Se(d.value[1]),Pe(d.value[1])];(ie!==re||ie===re&&E!==fe)&&c.value.solo&&M(1,Se(O),Pe(O))}else d.value&&!Array.isArray(d.value)&&(M(0,Se(d.value),Pe(d.value)),D(Z()))},B=()=>{e.startDate&&(M(0,Se(Z(e.startDate)),Pe(Z(e.startDate))),c.value.count&&Te(0))},ne=(O,ie)=>{if(e.monthChangeOnScroll){const E=new Date().getTime()-r.value.getTime(),re=Math.abs(O.deltaY);let fe=500;re>1&&(fe=100),re>100&&(fe=0),E>fe&&(r.value=new Date,me(e.monthChangeOnScroll!=="inverse"?-O.deltaY:O.deltaY,ie))}},h=(O,ie,E=!1)=>{e.monthChangeOnArrows&&e.vertical===E&&X(O,ie)},X=(O,ie)=>{me(O==="right"?-1:1,ie)},oe=O=>{if(W.value.markers)return qa(O.value,W.value.markers)},Y=(O,ie)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[O==0,!0];case"fair":return[O==0||ie>O,!0];case"append":return[!1,!1];default:return[!1,!1]}},xe=(O,ie,E,re)=>{if(e.sixWeeks&&O.length<6){const fe=6-O.length,ut=(ie.getDay()+7-re)%7,wt=6-(E.getDay()+7-re)%7,[ta,Ba]=Y(ut,wt);for(let Da=1;Da<=fe;Da++)if(Ba?!!(Da%2)==ta:ta){const zt=O[0].days[0],vn=L(et(zt.value,-7),Se(ie));O.unshift({days:vn})}else{const zt=O[O.length-1],vn=zt.days[zt.days.length-1],Yr=L(et(vn.value,1),Se(ie));O.push({days:Yr})}}return O},L=(O,ie)=>{const E=Z(O),re=[];for(let fe=0;fe<7;fe++){const ut=et(E,fe),wt=Se(ut)!==ie;re.push({text:e.hideOffsetDates&&wt?"":ut.getDate(),value:ut,current:!wt,classData:{}})}return re},ae=(O,ie)=>{const E=[],re=new Date(ie,O),fe=new Date(ie,O+1,0),ut=e.weekStart,wt=Tt(re,{weekStartsOn:ut}),ta=Ba=>{const Da=L(Ba,O);if(E.push({days:Da}),!E[E.length-1].days.some(zt=>Ve(vt(zt.value),vt(fe)))){const zt=et(Ba,7);ta(zt)}};return ta(wt),xe(E,re,fe,ut)},ge=O=>{const ie=Kt(Z(O.value),f.hours,f.minutes,gt());a("date-update",ie),U.value.enabled?so(ie,d,U.value.limit):d.value=ie,n(),yt().then(()=>{j()})},Ae=O=>P.value.noDisabledRange?Mr(o.value[0],O).some(ie=>K(ie)):!1,kt=()=>{o.value=d.value?d.value.slice():[],o.value.length===2&&!(P.value.fixedStart||P.value.fixedEnd)&&(o.value=[])},$e=(O,ie)=>{const E=[Z(O.value),et(Z(O.value),+P.value.autoRange)];se(E)?(ie&&Ft(O.value),o.value=E):a("invalid-date",O.value)},Ft=O=>{const ie=Se(Z(O)),E=Pe(Z(O));if(M(0,ie,E),c.value.count>0)for(let re=1;re{if(Ae(O.value)||!q(O.value,d.value,P.value.fixedStart?0:1))return a("invalid-date",O.value);o.value=Nr(Z(O.value),d,a,P)},wa=(O,ie)=>{if(kt(),P.value.autoRange)return $e(O,ie);if(P.value.fixedStart||P.value.fixedEnd)return xt(O);o.value[0]?q(Z(O.value),d.value)&&!Ae(O.value)?qe(Z(O.value),Z(o.value[0]))?(o.value.unshift(Z(O.value)),a("range-end",o.value[0])):(o.value[1]=Z(O.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",O.value),a("invalid-date",O.value)):(o.value[0]=Z(O.value),a("range-start",o.value[0]))},gt=(O=!0)=>e.enableSeconds?Array.isArray(f.seconds)?O?f.seconds[0]:f.seconds[1]:f.seconds:0,$a=O=>{o.value[O]=Kt(o.value[O],f.hours[O],f.minutes[O],gt(O!==1))},on=()=>{var O,ie;o.value[0]&&o.value[1]&&+((O=o.value)==null?void 0:O[0])>+((ie=o.value)==null?void 0:ie[1])&&(o.value.reverse(),a("range-start",o.value[0]),a("range-end",o.value[1]))},Ra=()=>{o.value.length&&(o.value[0]&&!o.value[1]?$a(0):($a(0),$a(1),n()),on(),d.value=o.value.slice(),an(o.value,a,e.autoApply,e.modelAuto))},rn=(O,ie=!1)=>{if(K(O.value)||!O.current&&e.hideOffsetDates)return a("invalid-date",O.value);if(l.value=JSON.parse(JSON.stringify(O)),!P.value.enabled)return ge(O);Ao(f.hours)&&Ao(f.minutes)&&!U.value.enabled&&(wa(O,ie),Ra())},ln=(O,ie)=>{var E;M(O,ie.month,ie.year,!0),c.value.count&&!c.value.solo&&Te(O),a("update-month-year",{instance:O,month:ie.month,year:ie.year}),t(c.value.solo?O:void 0);const re=(E=e.flow)!=null&&E.length?e.flow[e.flowStep]:void 0;!ie.fromNav&&(re===it.month||re===it.year)&&n()},sn=(O,ie)=>{Lr({value:O,modelValue:d,range:P.value.enabled,timezone:ie?void 0:R.value.timezone}),z(),e.multiCalendars&&yt().then(()=>de(!0))},un=()=>{const O=ao(Z(),R.value);P.value.enabled?d.value&&Array.isArray(d.value)&&d.value[0]?d.value=qe(O,d.value[0])?[O,d.value[0]]:[d.value[0],O]:d.value=[O]:d.value=O,z()},dn=()=>{if(Array.isArray(d.value))if(U.value.enabled){const O=cn();d.value[d.value.length-1]=te(O)}else d.value=d.value.map((O,ie)=>O&&te(O,ie));else d.value=te(d.value);a("time-update")},cn=()=>Array.isArray(d.value)&&d.value.length?d.value[d.value.length-1]:null;return{calendars:b,modelValue:d,month:ke,year:H,time:f,disabledTimesConfig:_e,today:p,validateTime:ve,getCalendarDays:ae,getMarker:oe,handleScroll:ne,handleSwipe:X,handleArrow:h,selectDate:rn,updateMonthYear:ln,presetDate:sn,selectCurrentDate:un,updateTime:(O,ie=!0,E=!1)=>{I(O,ie,E,dn)},assignMonthAndYear:D}},rf={key:0},lf=J({__name:"DatePicker",props:{...Mt},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,{calendars:r,month:l,year:u,modelValue:d,time:b,disabledTimesConfig:f,today:p,validateTime:c,getCalendarDays:g,getMarker:P,handleArrow:$,handleScroll:R,handleSwipe:W,selectDate:U,updateMonthYear:V,presetDate:K,selectCurrentDate:se,updateTime:q,assignMonthAndYear:I}=of(o,n,De,D),te=Jt(),{setHoverDate:G,getDayClassData:F,clearHoverDate:ve}=Df(d,o),{defaultedMultiCalendars:_e}=ze(o),ke=A([]),H=A([]),C=A(null),M=_t(te,"calendar"),z=_t(te,"monthYear"),ue=_t(te,"timePicker"),j=ne=>{o.shadow||n("mount",ne)};Je(r,()=>{o.shadow||setTimeout(()=>{n("recalculate-position")},0)},{deep:!0}),Je(_e,(ne,h)=>{ne.count-h.count>0&&I()},{deep:!0});const de=x(()=>ne=>g(l.value(ne),u.value(ne)).map(h=>({...h,days:h.days.map(X=>(X.marker=P(X),X.classData=F(X),X))})));function De(ne){var h;ne||ne===0?(h=H.value[ne])==null||h.triggerTransition(l.value(ne),u.value(ne)):H.value.forEach((X,oe)=>X.triggerTransition(l.value(oe),u.value(oe)))}function D(){n("update-flow-step")}const T=(ne,h=!1)=>{U(ne,h),o.spaceConfirm&&n("select-date")},v=(ne,h,X=0)=>{var oe;(oe=ke.value[X])==null||oe.toggleMonthPicker(ne,h)},N=(ne,h,X=0)=>{var oe;(oe=ke.value[X])==null||oe.toggleYearPicker(ne,h)},Q=(ne,h,X)=>{var oe;(oe=C.value)==null||oe.toggleTimePicker(ne,h,X)},_=(ne,h)=>{var X;if(!o.range){const oe=d.value?d.value:p,Y=h?new Date(h):oe,xe=ne?Tt(Y,{weekStartsOn:1}):rr(Y,{weekStartsOn:1});U({value:xe,current:Se(Y)===l.value(0),text:"",classData:{}}),(X=document.getElementById(Vr(xe)))==null||X.focus()}},me=ne=>{var h;(h=ke.value[0])==null||h.handleMonthYearChange(ne,!0)},Te=ne=>{V(0,{month:l.value(0),year:u.value(0)+(ne?1:-1),fromNav:!0})},Ze=(ne,h)=>{ne===it.time&&n(`time-picker-${h?"open":"close"}`),n("overlay-toggle",{open:h,overlay:ne})},B=ne=>{n("overlay-toggle",{open:!1,overlay:ne}),n("focus-menu")};return a({clearHoverDate:ve,presetDate:K,selectCurrentDate:se,toggleMonthPicker:v,toggleYearPicker:N,toggleTimePicker:Q,handleArrow:$,updateMonthYear:V,getSidebarProps:()=>({modelValue:d,month:l,year:u,time:b,updateTime:q,updateMonthYear:V,selectDate:U,presetDate:K}),changeMonth:me,changeYear:Te,selectWeekDate:_}),(ne,h)=>(i(),m(pe,null,[ee(tn,{"multi-calendars":s(_e).count,collapse:ne.collapse},{default:w(({instance:X,index:oe})=>[ne.disableMonthYearSelect?S("",!0):(i(),le(Kp,Oe({key:0,ref:Y=>{Y&&(ke.value[oe]=Y)},months:s(kr)(ne.formatLocale,ne.locale,ne.monthNameFormat),years:s(no)(ne.yearRange,ne.locale,ne.reverseYears),month:s(l)(X),year:s(u)(X),instance:X},ne.$props,{onMount:h[0]||(h[0]=Y=>j(s(ra).header)),onResetFlow:h[1]||(h[1]=Y=>ne.$emit("reset-flow")),onUpdateMonthYear:Y=>s(V)(X,Y),onOverlayClosed:B,onOverlayOpened:h[2]||(h[2]=Y=>ne.$emit("overlay-toggle",{open:!0,overlay:Y}))}),at({_:2},[Me(s(z),(Y,xe)=>({name:Y,fn:w(L=>[k(ne.$slots,Y,ot(pt(L)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),ee(nf,Oe({ref:Y=>{Y&&(H.value[oe]=Y)},"mapped-dates":de.value(X),month:s(l)(X),year:s(u)(X),instance:X},ne.$props,{onSelectDate:Y=>s(U)(Y,X!==1),onHandleSpace:Y=>T(Y,X!==1),onSetHoverDate:h[3]||(h[3]=Y=>s(G)(Y)),onHandleScroll:Y=>s(R)(Y,X),onHandleSwipe:Y=>s(W)(Y,X),onMount:h[4]||(h[4]=Y=>j(s(ra).calendar)),onResetFlow:h[5]||(h[5]=Y=>ne.$emit("reset-flow")),onTooltipOpen:h[6]||(h[6]=Y=>ne.$emit("tooltip-open",Y)),onTooltipClose:h[7]||(h[7]=Y=>ne.$emit("tooltip-close",Y))}),at({_:2},[Me(s(M),(Y,xe)=>({name:Y,fn:w(L=>[k(ne.$slots,Y,ot(pt({...L})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),ne.enableTimePicker?(i(),m("div",rf,[ne.$slots["time-picker"]?k(ne.$slots,"time-picker",ot(Oe({key:0},{time:s(b),updateTime:s(q)}))):(i(),le(Br,Oe({key:1,ref_key:"timePickerRef",ref:C},ne.$props,{hours:s(b).hours,minutes:s(b).minutes,seconds:s(b).seconds,"internal-model-value":ne.internalModelValue,"disabled-times-config":s(f),"validate-time":s(c),onMount:h[8]||(h[8]=X=>j(s(ra).timePicker)),"onUpdate:hours":h[9]||(h[9]=X=>s(q)(X)),"onUpdate:minutes":h[10]||(h[10]=X=>s(q)(X,!1)),"onUpdate:seconds":h[11]||(h[11]=X=>s(q)(X,!1,!0)),onResetFlow:h[12]||(h[12]=X=>ne.$emit("reset-flow")),onOverlayClosed:h[13]||(h[13]=X=>Ze(X,!1)),onOverlayOpened:h[14]||(h[14]=X=>Ze(X,!0)),onAmPmChange:h[15]||(h[15]=X=>ne.$emit("am-pm-change",X))}),at({_:2},[Me(s(ue),(X,oe)=>({name:X,fn:w(Y=>[k(ne.$slots,X,ot(pt(Y)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):S("",!0)],64))}}),sf=(e,a)=>{const t=A(),{defaultedMultiCalendars:n,defaultedConfig:o,defaultedHighlight:r,defaultedRange:l,propDates:u,defaultedFilters:d,defaultedMultiDates:b}=ze(e),{modelValue:f,year:p,month:c,calendars:g}=Na(e,a),{isDisabled:P}=ea(e),{selectYear:$,groupedYears:R,showYearPicker:W,isDisabled:U,toggleYearPicker:V,handleYearSelect:K,handleYear:se}=Rr({modelValue:f,multiCalendars:n,range:l,highlight:r,calendars:g,propDates:u,month:c,year:p,filters:d,props:e,emit:a}),q=(C,M)=>[C,M].map(z=>$t(z,"MMMM",{locale:e.formatLocale})).join("-"),I=x(()=>C=>f.value?Array.isArray(f.value)?f.value.some(M=>wo(C,M)):wo(f.value,C):!1),te=C=>{if(l.value.enabled){if(Array.isArray(f.value)){const M=Ve(C,f.value[0])||Ve(C,f.value[1]);return Za(f.value,t.value,C)&&!M}return!1}return!1},G=(C,M)=>C.quarter===fo(M)&&C.year===Pe(M),F=C=>typeof r.value=="function"?r.value({quarter:fo(C),year:Pe(C)}):!!r.value.quarters.find(M=>G(M,C)),ve=x(()=>C=>{const M=He(new Date,{year:p.value(C)});return Bc({start:ha(M),end:Un(M)}).map(z=>{const ue=qt(z),j=yo(z),de=P(z),De=te(ue),D=F(ue);return{text:q(ue,j),value:ue,active:I.value(ue),highlighted:D,disabled:de,isBetween:De}})}),_e=C=>{so(C,f,b.value.limit),a("auto-apply",!0)},ke=C=>{f.value=io(f,C,a),an(f.value,a,e.autoApply,e.modelAuto)},H=C=>{f.value=C,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:n,groupedYears:R,year:p,isDisabled:U,quarters:ve,showYearPicker:W,modelValue:f,setHoverDate:C=>{t.value=C},selectYear:$,selectQuarter:(C,M,z)=>{if(!z)return g.value[M].month=Se(yo(C)),b.value.enabled?_e(C):l.value.enabled?ke(C):H(C)},toggleYearPicker:V,handleYearSelect:K,handleYear:se}},uf={class:"dp--quarter-items"},df=["data-test","disabled","onClick","onMouseover"],cf=J({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...Mt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=_t(r,"yearMode"),{defaultedMultiCalendars:u,defaultedConfig:d,groupedYears:b,year:f,isDisabled:p,quarters:c,modelValue:g,showYearPicker:P,setHoverDate:$,selectQuarter:R,toggleYearPicker:W,handleYearSelect:U,handleYear:V}=sf(o,n);return a({getSidebarProps:()=>({modelValue:g,year:f,selectQuarter:R,handleYearSelect:U,handleYear:V})}),(K,se)=>(i(),le(tn,{"multi-calendars":s(u).count,collapse:K.collapse,stretch:""},{default:w(({instance:q})=>[y("div",{class:"dp-quarter-picker-wrap",style:mt({minHeight:`${s(d).modeHeight}px`})},[K.$slots["top-extra"]?k(K.$slots,"top-extra",{key:0,value:K.internalModelValue}):S("",!0),y("div",null,[ee(Ir,Oe(K.$props,{items:s(b)(q),instance:q,"show-year-picker":s(P)[q],year:s(f)(q),"is-disabled":I=>s(p)(q,I),onHandleYear:I=>s(V)(q,I),onYearSelect:I=>s(U)(I,q),onToggleYearPicker:I=>s(W)(q,I==null?void 0:I.flow,I==null?void 0:I.show)}),at({_:2},[Me(s(l),(I,te)=>({name:I,fn:w(G=>[k(K.$slots,I,ot(pt(G)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),y("div",uf,[(i(!0),m(pe,null,Me(s(c)(q),(I,te)=>(i(),m("div",{key:te},[y("button",{type:"button",class:he(["dp--qr-btn",{"dp--qr-btn-active":I.active,"dp--qr-btn-between":I.isBetween,"dp--qr-btn-disabled":I.disabled,"dp--highlighted":I.highlighted}]),"data-test":I.value,disabled:I.disabled,onClick:G=>s(R)(I.value,q,I.disabled),onMouseover:G=>s($)(I.value)},[K.$slots.quarter?k(K.$slots,"quarter",{key:0,value:I.value,text:I.text}):(i(),m(pe,{key:1},[Ne(ce(I.text),1)],64))],42,df)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),vf=["id","tabindex","role","aria-label"],mf={key:0,class:"dp--menu-load-container"},pf=y("span",{class:"dp--menu-loader"},null,-1),ff=[pf],hf={key:1,class:"dp--menu-header"},yf={key:0,class:"dp__sidebar_left"},gf=["data-test","onClick","onKeydown"],_f={key:2,class:"dp__sidebar_right"},bf={key:3,class:"dp__action_extra"},Co=J({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...en,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=A(null),l=x(()=>{const{openOnTop:L,...ae}=o;return{...ae,flowStep:G.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:r.value}}),{setMenuFocused:u,setShiftKey:d,control:b}=Or(),f=Jt(),{defaultedTextInput:p,defaultedInline:c,defaultedConfig:g,defaultedUI:P}=ze(o),$=A(null),R=A(0),W=A(null),U=A(!1),V=A(null);Ue(()=>{if(!o.shadow){U.value=!0,K(),window.addEventListener("resize",K);const L=tt(r);if(L&&!p.value.enabled&&!c.value.enabled&&(u(!0),M()),L){const ae=ge=>{g.value.allowPreventDefault&&ge.preventDefault(),Qt(ge,g.value,!0)};L.addEventListener("pointerdown",ae),L.addEventListener("mousedown",ae)}}}),Xt(()=>{window.removeEventListener("resize",K)});const K=()=>{const L=tt(W);L&&(R.value=L.getBoundingClientRect().width)},{arrowRight:se,arrowLeft:q,arrowDown:I,arrowUp:te}=Zt(),{flowStep:G,updateFlowStep:F,childMount:ve,resetFlow:_e,handleFlow:ke}=Pf(o,n,V),H=x(()=>o.monthPicker?Dp:o.yearPicker?Tp:o.timePicker?zp:o.quarterPicker?cf:lf),C=x(()=>{var L;if(g.value.arrowLeft)return g.value.arrowLeft;const ae=(L=r.value)==null?void 0:L.getBoundingClientRect(),ge=o.getInputRect();return(ge==null?void 0:ge.width)<(R==null?void 0:R.value)&&(ge==null?void 0:ge.left)<=((ae==null?void 0:ae.left)??0)?`${(ge==null?void 0:ge.width)/2}px`:(ge==null?void 0:ge.right)>=((ae==null?void 0:ae.right)??0)&&(ge==null?void 0:ge.width)<(R==null?void 0:R.value)?`${(R==null?void 0:R.value)-(ge==null?void 0:ge.width)/2}px`:"50%"}),M=()=>{const L=tt(r);L&&L.focus({preventScroll:!0})},z=x(()=>{var L;return((L=V.value)==null?void 0:L.getSidebarProps())||{}}),ue=()=>{o.openOnTop&&n("recalculate-position")},j=_t(f,"action"),de=x(()=>o.monthPicker||o.yearPicker?_t(f,"monthYear"):o.timePicker?_t(f,"timePicker"):_t(f,"shared")),De=x(()=>o.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),D=x(()=>({dp__menu_disabled:o.disabled,dp__menu_readonly:o.readonly,"dp-menu-loading":o.loading})),T=x(()=>({dp__menu:!0,dp__menu_index:!c.value.enabled,dp__relative:c.value.enabled,...P.value.menu??{}})),v=L=>{Qt(L,g.value,!0)},N=()=>{o.escClose&&n("close-picker")},Q=L=>{if(o.arrowNavigation){if(L===dt.up)return te();if(L===dt.down)return I();if(L===dt.left)return q();if(L===dt.right)return se()}else L===dt.left||L===dt.up?B("handleArrow",dt.left,0,L===dt.up):B("handleArrow",dt.right,0,L===dt.down)},_=L=>{d(L.shiftKey),!o.disableMonthYearSelect&&L.code===Fe.tab&&L.target.classList.contains("dp__menu")&&b.value.shiftKeyInMenu&&(L.preventDefault(),Qt(L,g.value,!0),n("close-picker"))},me=()=>{M(),n("time-picker-close")},Te=L=>{var ae,ge,Ae;(ae=V.value)==null||ae.toggleTimePicker(!1,!1),(ge=V.value)==null||ge.toggleMonthPicker(!1,!1,L),(Ae=V.value)==null||Ae.toggleYearPicker(!1,!1,L)},Ze=(L,ae=0)=>{var ge,Ae,kt;return L==="month"?(ge=V.value)==null?void 0:ge.toggleMonthPicker(!1,!0,ae):L==="year"?(Ae=V.value)==null?void 0:Ae.toggleYearPicker(!1,!0,ae):L==="time"?(kt=V.value)==null?void 0:kt.toggleTimePicker(!0,!1):Te(ae)},B=(L,...ae)=>{var ge,Ae;(ge=V.value)!=null&&ge[L]&&((Ae=V.value)==null||Ae[L](...ae))},ne=()=>{B("selectCurrentDate")},h=(L,ae)=>{B("presetDate",L,ae)},X=()=>{B("clearHoverDate")},oe=(L,ae)=>{B("updateMonthYear",L,ae)},Y=(L,ae)=>{L.preventDefault(),Q(ae)},xe=L=>{var ae,ge,Ae;if(_(L),L.key===Fe.home||L.key===Fe.end)return B("selectWeekDate",L.key===Fe.home,L.target.getAttribute("id"));switch((L.key===Fe.pageUp||L.key===Fe.pageDown)&&(L.shiftKey?(B("changeYear",L.key===Fe.pageUp),(ae=In(r.value,"overlay-year"))==null||ae.focus()):(B("changeMonth",L.key===Fe.pageUp),(ge=In(r.value,L.key===Fe.pageUp?"action-prev":"action-next"))==null||ge.focus()),L.target.getAttribute("id")&&((Ae=r.value)==null||Ae.focus({preventScroll:!0}))),L.key){case Fe.esc:return N();case Fe.arrowLeft:return Y(L,dt.left);case Fe.arrowRight:return Y(L,dt.right);case Fe.arrowUp:return Y(L,dt.up);case Fe.arrowDown:return Y(L,dt.down);default:return}};return a({updateMonthYear:oe,switchView:Ze,handleFlow:ke}),(L,ae)=>{var ge,Ae,kt;return i(),m("div",{id:L.uid?`dp-menu-${L.uid}`:void 0,ref_key:"dpMenuRef",ref:r,tabindex:s(c).enabled?void 0:"0",role:s(c).enabled?void 0:"dialog","aria-label":(ge=L.ariaLabels)==null?void 0:ge.menu,class:he(T.value),style:mt({"--dp-arrow-left":C.value}),onMouseleave:X,onClick:v,onKeydown:xe},[(L.disabled||L.readonly)&&s(c).enabled||L.loading?(i(),m("div",{key:0,class:he(D.value)},[L.loading?(i(),m("div",mf,ff)):S("",!0)],2)):S("",!0),L.$slots["menu-header"]?(i(),m("div",hf,[k(L.$slots,"menu-header")])):S("",!0),!s(c).enabled&&!L.teleportCenter?(i(),m("div",{key:2,class:he(De.value)},null,2)):S("",!0),y("div",{ref_key:"innerMenuRef",ref:W,class:he({dp__menu_content_wrapper:((Ae=L.presetDates)==null?void 0:Ae.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((kt=L.presetDates)==null?void 0:kt.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"])}),style:mt({"--dp-menu-width":`${R.value}px`})},[L.$slots["left-sidebar"]?(i(),m("div",yf,[k(L.$slots,"left-sidebar",ot(pt(z.value)))])):S("",!0),L.presetDates.length?(i(),m("div",{key:1,class:he({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(i(!0),m(pe,null,Me(L.presetDates,($e,Ft)=>(i(),m(pe,{key:Ft},[$e.slot?k(L.$slots,$e.slot,{key:0,presetDate:h,label:$e.label,value:$e.value}):(i(),m("button",{key:1,type:"button",style:mt($e.style||{}),class:he(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test":$e.testId??void 0,onClick:ia(xt=>h($e.value,$e.noTz),["prevent"]),onKeydown:xt=>s(ct)(xt,()=>h($e.value,$e.noTz),!0)},ce($e.label),47,gf))],64))),128))],2)):S("",!0),y("div",{ref_key:"calendarWrapperRef",ref:$,class:"dp__instance_calendar",role:"document"},[(i(),le(ft(H.value),Oe({ref_key:"dynCmpRef",ref:V},l.value,{"flow-step":s(G),onMount:s(ve),onUpdateFlowStep:s(F),onResetFlow:s(_e),onFocusMenu:M,onSelectDate:ae[0]||(ae[0]=$e=>L.$emit("select-date")),onDateUpdate:ae[1]||(ae[1]=$e=>L.$emit("date-update",$e)),onTooltipOpen:ae[2]||(ae[2]=$e=>L.$emit("tooltip-open",$e)),onTooltipClose:ae[3]||(ae[3]=$e=>L.$emit("tooltip-close",$e)),onAutoApply:ae[4]||(ae[4]=$e=>L.$emit("auto-apply",$e)),onRangeStart:ae[5]||(ae[5]=$e=>L.$emit("range-start",$e)),onRangeEnd:ae[6]||(ae[6]=$e=>L.$emit("range-end",$e)),onInvalidFixedRange:ae[7]||(ae[7]=$e=>L.$emit("invalid-fixed-range",$e)),onTimeUpdate:ae[8]||(ae[8]=$e=>L.$emit("time-update")),onAmPmChange:ae[9]||(ae[9]=$e=>L.$emit("am-pm-change",$e)),onTimePickerOpen:ae[10]||(ae[10]=$e=>L.$emit("time-picker-open",$e)),onTimePickerClose:me,onRecalculatePosition:ue,onUpdateMonthYear:ae[11]||(ae[11]=$e=>L.$emit("update-month-year",$e)),onAutoApplyInvalid:ae[12]||(ae[12]=$e=>L.$emit("auto-apply-invalid",$e)),onInvalidDate:ae[13]||(ae[13]=$e=>L.$emit("invalid-date",$e)),onOverlayToggle:ae[14]||(ae[14]=$e=>L.$emit("overlay-toggle",$e)),"onUpdate:internalModelValue":ae[15]||(ae[15]=$e=>L.$emit("update:internal-model-value",$e))}),at({_:2},[Me(de.value,($e,Ft)=>({name:$e,fn:w(xt=>[k(L.$slots,$e,ot(pt({...xt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(i(),m("div",_f,[k(L.$slots,"right-sidebar",ot(pt(z.value)))])):S("",!0),L.$slots["action-extra"]?(i(),m("div",bf,[L.$slots["action-extra"]?k(L.$slots,"action-extra",{key:0,selectCurrentDate:ne}):S("",!0)])):S("",!0)],6),!L.autoApply||s(g).keepActionRow?(i(),le(hp,Oe({key:3,"menu-mount":U.value},l.value,{"calendar-width":R.value,onClosePicker:ae[16]||(ae[16]=$e=>L.$emit("close-picker")),onSelectDate:ae[17]||(ae[17]=$e=>L.$emit("select-date")),onInvalidSelect:ae[18]||(ae[18]=$e=>L.$emit("invalid-select")),onSelectNow:ne}),at({_:2},[Me(s(j),($e,Ft)=>({name:$e,fn:w(xt=>[k(L.$slots,$e,ot(pt({...xt})))])}))]),1040,["menu-mount","calendar-width"])):S("",!0)],46,vf)}}});var ma=(e=>(e.center="center",e.left="left",e.right="right",e))(ma||{});const kf=({menuRef:e,menuRefInner:a,inputRef:t,pickerWrapperRef:n,inline:o,emit:r,props:l,slots:u})=>{const{defaultedConfig:d}=ze(l),b=A({}),f=A(!1),p=A({top:"0",left:"0"}),c=A(!1),g=Sa(l,"teleportCenter");Je(g,()=>{p.value=JSON.parse(JSON.stringify({})),se()});const P=M=>{if(l.teleport){const z=M.getBoundingClientRect();return{left:z.left+window.scrollX,top:z.top+window.scrollY}}return{top:0,left:0}},$=(M,z)=>{p.value.left=`${M+z-b.value.width}px`},R=M=>{p.value.left=`${M}px`},W=(M,z)=>{l.position===ma.left&&R(M),l.position===ma.right&&$(M,z),l.position===ma.center&&(p.value.left=`${M+z/2-b.value.width/2}px`)},U=M=>{const{width:z,height:ue}=M.getBoundingClientRect(),{top:j,left:de}=l.altPosition?l.altPosition(M):P(M);return{top:+j,left:+de,width:z,height:ue}},V=()=>{p.value.left="50%",p.value.top="50%",p.value.transform="translate(-50%, -50%)",p.value.position="fixed",delete p.value.opacity},K=()=>{const M=tt(t),{top:z,left:ue,transform:j}=l.altPosition(M);p.value={top:`${z}px`,left:`${ue}px`,transform:j??""}},se=(M=!0)=>{var z;if(!o.value.enabled){if(g.value)return V();if(l.altPosition!==null)return K();if(M){const ue=l.teleport?(z=a.value)==null?void 0:z.$el:e.value;ue&&(b.value=ue.getBoundingClientRect()),r("recalculate-position")}return _e()}},q=({inputEl:M,left:z,width:ue})=>{window.screen.width>768&&!f.value&&W(z,ue),G(M)},I=M=>{const{top:z,left:ue,height:j,width:de}=U(M);p.value.top=`${j+z+ +l.offset}px`,c.value=!1,f.value||(p.value.left=`${ue+de/2-b.value.width/2}px`),q({inputEl:M,left:ue,width:de})},te=M=>{const{top:z,left:ue,width:j}=U(M);p.value.top=`${z-+l.offset-b.value.height}px`,c.value=!0,q({inputEl:M,left:ue,width:j})},G=M=>{if(l.autoPosition){const{left:z,width:ue}=U(M),{left:j,right:de}=b.value;if(!f.value){if(Math.abs(j)!==Math.abs(de)){if(j<=0)return f.value=!0,R(z);if(de>=document.documentElement.clientWidth)return f.value=!0,$(z,ue)}return W(z,ue)}}},F=()=>{const M=tt(t);if(M){const{height:z}=b.value,{top:ue,height:j}=M.getBoundingClientRect(),de=window.innerHeight-ue-j,De=ue;return z<=de?na.bottom:z>de&&z<=De?na.top:de>=De?na.bottom:na.top}return na.bottom},ve=M=>F()===na.bottom?I(M):te(M),_e=()=>{const M=tt(t);if(M)return l.autoPosition?ve(M):I(M)},ke=function(M){if(M){const z=M.scrollHeight>M.clientHeight,ue=window.getComputedStyle(M).overflowY.indexOf("hidden")!==-1;return z&&!ue}return!0},H=function(M){return!M||M===document.body||M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ke(M)?M:H(M.assignedSlot&&d.value.shadowDom?M.assignedSlot.parentNode:M.parentNode)},C=M=>{if(M)switch(l.position){case ma.left:return{left:0,transform:"translateX(0)"};case ma.right:return{left:`${M.width}px`,transform:"translateX(-100%)"};default:return{left:`${M.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:c,menuStyle:p,xCorrect:f,setMenuPosition:se,getScrollableParent:H,shadowRender:(M,z)=>{var ue,j,de;const De=document.createElement("div"),D=(ue=tt(t))==null?void 0:ue.getBoundingClientRect();De.setAttribute("id","dp--temp-container");const T=(j=n.value)!=null&&j.clientWidth?n.value:document.body;T.append(De);const v=C(D),N=d.value.shadowDom?Object.keys(u).filter(_=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(_)):Object.keys(u),Q=tl(M,{...z,shadow:!0,style:{opacity:0,position:"absolute",...v}},Object.fromEntries(N.map(_=>[_,u[_]])));co(Q,De),b.value=(de=Q.el)==null?void 0:de.getBoundingClientRect(),co(null,De),T.removeChild(De)}}},Ut=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],wf=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],$f={all:()=>Ut,monthYear:()=>Ut.filter(e=>e.use.includes("month-year")),input:()=>wf,timePicker:()=>Ut.filter(e=>e.use.includes("time")),action:()=>Ut.filter(e=>e.use.includes("action")),calendar:()=>Ut.filter(e=>e.use.includes("calendar")),menu:()=>Ut.filter(e=>e.use.includes("menu")),shared:()=>Ut.filter(e=>e.use.includes("shared")),yearMode:()=>Ut.filter(e=>e.use.includes("year-mode"))},_t=(e,a,t)=>{const n=[];return $f[a]().forEach(o=>{e[o.name]&&n.push(o.name)}),t!=null&&t.length&&t.forEach(o=>{o.slot&&n.push(o.slot)}),n},La=e=>{const a=x(()=>n=>e.value?n?e.value.open:e.value.close:""),t=x(()=>n=>e.value?n?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:t}},Na=(e,a,t)=>{const{defaultedRange:n,defaultedTz:o}=ze(e),r=Z(ht(Z(),o.value.timezone)),l=A([{month:Se(r),year:Pe(r)}]),u=c=>{const g={hours:Bt(r),minutes:Gt(r),seconds:0};return n.value.enabled?[g[c],g[c]]:g[c]},d=Va({hours:u("hours"),minutes:u("minutes"),seconds:u("seconds")});Je(n,(c,g)=>{c.enabled!==g.enabled&&(d.hours=u("hours"),d.minutes=u("minutes"),d.seconds=u("seconds"))},{deep:!0});const b=x({get:()=>e.internalModelValue,set:c=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",c)}}),f=x(()=>c=>l.value[c]?l.value[c].month:0),p=x(()=>c=>l.value[c]?l.value[c].year:0);return Je(b,(c,g)=>{t&&JSON.stringify(c??{})!==JSON.stringify(g??{})&&t()},{deep:!0}),{calendars:l,time:d,modelValue:b,month:f,year:p,today:r}},Df=(e,a)=>{const{defaultedMultiCalendars:t,defaultedMultiDates:n,defaultedUI:o,defaultedHighlight:r,defaultedTz:l,propDates:u,defaultedRange:d}=ze(a),{isDisabled:b}=ea(a),f=A(null),p=A(ht(new Date,l.value.timezone)),c=v=>{!v.current&&a.hideOffsetDates||(f.value=v.value)},g=()=>{f.value=null},P=v=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&f.value?v?Ke(f.value,e.value[0]):qe(f.value,e.value[0]):!0,$=(v,N)=>{const Q=()=>e.value?N?e.value[0]||null:e.value[1]:null,_=e.value&&Array.isArray(e.value)?Q():null;return Ve(Z(v.value),_)},R=v=>{const N=Array.isArray(e.value)?e.value[0]:null;return v?!qe(f.value??null,N):!0},W=(v,N=!0)=>(d.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!v.current?!1:Ve(Z(v.value),e.value[N?0:1]):d.value.enabled?$(v,N)&&R(N)||Ve(v.value,Array.isArray(e.value)?e.value[0]:null)&&P(N):!1,U=(v,N)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const Q=Ve(v.value,f.value);return N?Ke(e.value[0],v.value)&&Q:qe(e.value[0],v.value)&&Q}return!1},V=v=>!e.value||a.hideOffsetDates&&!v.current?!1:d.value.enabled?a.modelAuto&&Array.isArray(e.value)?Ve(v.value,e.value[0]?e.value[0]:p.value):!1:n.value.enabled&&Array.isArray(e.value)?e.value.some(N=>Ve(N,v.value)):Ve(v.value,e.value?e.value:p.value),K=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!v.current)return!1;const N=et(f.value,+d.value.autoRange),Q=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ve(Q[1],Z(v.value)):Ve(N,Z(v.value))}return!1}return!1},se=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){const N=et(f.value,+d.value.autoRange);if(a.hideOffsetDates&&!v.current)return!1;const Q=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ke(v.value,Q[0])&&qe(v.value,Q[1]):Ke(v.value,f.value)&&qe(v.value,N)}return!1}return!1},q=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!v.current)return!1;const N=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ve(N[0],v.value):Ve(f.value,v.value)}return!1}return!1},I=v=>Za(e.value,f.value,v.value),te=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,G=()=>a.modelAuto?wr(a.internalModelValue):!0,F=v=>{if(a.weekPicker)return!1;const N=d.value.enabled?!W(v)&&!W(v,!1):!0;return!b(v.value)&&!V(v)&&!(!v.current&&a.hideOffsetDates)&&N},ve=v=>d.value.enabled?a.modelAuto?te()&&V(v):!1:V(v),_e=v=>r.value?Hm(v.value,u.value.highlight):!1,ke=v=>{const N=b(v.value);return N&&(typeof r.value=="function"?!r.value(v.value,N):!r.value.options.highlightDisabled)},H=v=>{var N;return typeof r.value=="function"?r.value(v.value):(N=r.value.weekdays)==null?void 0:N.includes(v.value.getDay())},C=v=>(d.value.enabled||a.weekPicker)&&(!(t.value.count>0)||v.current)&&G()&&!(!v.current&&a.hideOffsetDates)&&!V(v)?I(v):!1,M=v=>{const{isRangeStart:N,isRangeEnd:Q}=de(v),_=d.value.enabled?N||Q:!1;return{dp__cell_offset:!v.current,dp__pointer:!a.disabled&&!(!v.current&&a.hideOffsetDates)&&!b(v.value),dp__cell_disabled:b(v.value),dp__cell_highlight:!ke(v)&&(_e(v)||H(v))&&!ve(v)&&!_&&!q(v)&&!(C(v)&&a.weekPicker)&&!Q,dp__cell_highlight_active:!ke(v)&&(_e(v)||H(v))&&ve(v),dp__today:!a.noToday&&Ve(v.value,p.value)&&v.current,"dp--past":qe(v.value,p.value),"dp--future":Ke(v.value,p.value)}},z=v=>({dp__active_date:ve(v),dp__date_hover:F(v)}),ue=v=>{if(e.value&&!Array.isArray(e.value)){const N=Nt(e.value,a.weekStart);return{...D(v),dp__range_start:Ve(N[0],v.value),dp__range_end:Ve(N[1],v.value),dp__range_between_week:Ke(v.value,N[0])&&qe(v.value,N[1])}}return{...D(v)}},j=v=>{if(e.value&&Array.isArray(e.value)){const N=Nt(e.value[0],a.weekStart),Q=e.value[1]?Nt(e.value[1],a.weekStart):[];return{...D(v),dp__range_start:Ve(N[0],v.value)||Ve(Q[0],v.value),dp__range_end:Ve(N[1],v.value)||Ve(Q[1],v.value),dp__range_between_week:Ke(v.value,N[0])&&qe(v.value,N[1])||Ke(v.value,Q[0])&&qe(v.value,Q[1]),dp__range_between:Ke(v.value,N[1])&&qe(v.value,Q[0])}}return{...D(v)}},de=v=>{const N=t.value.count>0?v.current&&W(v)&&G():W(v)&&G(),Q=t.value.count>0?v.current&&W(v,!1)&&G():W(v,!1)&&G();return{isRangeStart:N,isRangeEnd:Q}},De=v=>{const{isRangeStart:N,isRangeEnd:Q}=de(v);return{dp__range_start:N,dp__range_end:Q,dp__range_between:C(v),dp__date_hover:Ve(v.value,f.value)&&!N&&!Q&&!a.weekPicker,dp__date_hover_start:U(v,!0),dp__date_hover_end:U(v,!1)}},D=v=>({...De(v),dp__cell_auto_range:se(v),dp__cell_auto_range_start:q(v),dp__cell_auto_range_end:K(v)}),T=v=>d.value.enabled?d.value.autoRange?D(v):a.modelAuto?{...z(v),...De(v)}:a.weekPicker?j(v):De(v):a.weekPicker?ue(v):z(v);return{setHoverDate:c,clearHoverDate:g,getDayClassData:v=>a.hideOffsetDates&&!v.current?{}:{...M(v),...T(v),[a.dayClass?a.dayClass(v.value,a.internalModelValue):""]:!0,...o.value.calendarCell??{}}}},ea=e=>{const{defaultedFilters:a,defaultedRange:t,propDates:n,defaultedMultiDates:o}=ze(e),r=H=>n.value.disabledDates?typeof n.value.disabledDates=="function"?n.value.disabledDates(Z(H)):!!qa(H,n.value.disabledDates):!1,l=H=>n.value.maxDate?e.yearPicker?Pe(H)>Pe(n.value.maxDate):Ke(H,n.value.maxDate):!1,u=H=>n.value.minDate?e.yearPicker?Pe(H){const C=l(H),M=u(H),z=r(H),ue=a.value.months.map(T=>+T).includes(Se(H)),j=e.disabledWeekDays.length?e.disabledWeekDays.some(T=>+T===Sv(H)):!1,de=g(H),De=Pe(H),D=De<+e.yearRange[0]||De>+e.yearRange[1];return!(C||M||z||ue||D||j||de)},b=(H,C)=>qe(...jt(n.value.minDate,H,C))||Ve(...jt(n.value.minDate,H,C)),f=(H,C)=>Ke(...jt(n.value.maxDate,H,C))||Ve(...jt(n.value.maxDate,H,C)),p=(H,C,M)=>{let z=!1;return n.value.maxDate&&M&&f(H,C)&&(z=!0),n.value.minDate&&!M&&b(H,C)&&(z=!0),z},c=(H,C,M,z)=>{let ue=!1;return z?n.value.minDate&&n.value.maxDate?ue=p(H,C,M):(n.value.minDate&&b(H,C)||n.value.maxDate&&f(H,C))&&(ue=!0):ue=!0,ue},g=H=>Array.isArray(n.value.allowedDates)&&!n.value.allowedDates.length?!0:n.value.allowedDates?!qa(H,n.value.allowedDates):!1,P=H=>!d(H),$=H=>t.value.noDisabledRange?!or({start:H[0],end:H[1]}).some(C=>P(C)):!0,R=H=>{if(H){const C=Pe(H);return C>=+e.yearRange[0]&&C<=e.yearRange[1]}return!0},W=(H,C)=>!!(Array.isArray(H)&&H[C]&&(t.value.maxRange||t.value.minRange)&&R(H[C])),U=(H,C,M=0)=>{if(W(C,M)&&R(H)){const z=ar(H,C[M]),ue=Mr(C[M],H),j=ue.length===1?0:ue.filter(De=>P(De)).length,de=Math.abs(z)-(t.value.minMaxRawRange?0:j);if(t.value.minRange&&t.value.maxRange)return de>=+t.value.minRange&&de<=+t.value.maxRange;if(t.value.minRange)return de>=+t.value.minRange;if(t.value.maxRange)return de<=+t.value.maxRange}return!0},V=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,K=H=>Array.isArray(H)?[H[0]?gn(H[0]):null,H[1]?gn(H[1]):null]:gn(H),se=(H,C,M)=>H.find(z=>+z.hours===Bt(C)&&z.minutes==="*"?!0:+z.minutes===Gt(C)&&+z.hours===Bt(C))&&M,q=(H,C,M)=>{const[z,ue]=H,[j,de]=C;return!se(z,j,M)&&!se(ue,de,M)&&M},I=(H,C)=>{const M=Array.isArray(C)?C:[C];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?q(e.disabledTimes,M,H):!M.some(z=>se(e.disabledTimes,z,H)):H},te=(H,C)=>{const M=Array.isArray(C)?[la(C[0]),C[1]?la(C[1]):void 0]:la(C),z=!e.disabledTimes(M);return H&&z},G=(H,C)=>e.disabledTimes?Array.isArray(e.disabledTimes)?I(C,H):te(C,H):C,F=H=>{let C=!0;if(!H||V())return!0;const M=!n.value.minDate&&!n.value.maxDate?K(H):H;return(e.maxTime||n.value.maxDate)&&(C=Mo(e.maxTime,n.value.maxDate,"max",nt(M),C)),(e.minTime||n.value.minDate)&&(C=Mo(e.minTime,n.value.minDate,"min",nt(M),C)),G(H,C)},ve=H=>{if(!e.monthPicker)return!0;let C=!0;const M=Z(Pt(H));if(n.value.minDate&&n.value.maxDate){const z=Z(Pt(n.value.minDate)),ue=Z(Pt(n.value.maxDate));return Ke(M,z)&&qe(M,ue)||Ve(M,z)||Ve(M,ue)}if(n.value.minDate){const z=Z(Pt(n.value.minDate));C=Ke(M,z)||Ve(M,z)}if(n.value.maxDate){const z=Z(Pt(n.value.maxDate));C=qe(M,z)||Ve(M,z)}return C},_e=x(()=>H=>!e.enableTimePicker||e.ignoreTimeValidation?!0:F(H)),ke=x(()=>H=>e.monthPicker?Array.isArray(H)&&(t.value.enabled||o.value.enabled)?!H.filter(C=>!ve(C)).length:ve(H):!0);return{isDisabled:P,validateDate:d,validateMonthYearInRange:c,isDateRangeAllowed:$,checkMinMaxRange:U,isValidTime:F,isTimeValid:_e,isMonthValid:ke}},nn=()=>{const e=x(()=>(n,o)=>n==null?void 0:n.includes(o)),a=x(()=>(n,o)=>n.count?n.solo?!0:o===0:!0),t=x(()=>(n,o)=>n.count?n.solo?!0:o===n.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:t}},Pf=(e,a,t)=>{const n=A(0),o=Va({[ra.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[ra.calendar]:!1,[ra.header]:!1}),r=x(()=>e.monthPicker||e.timePicker),l=p=>{var c;if((c=e.flow)!=null&&c.length){if(!p&&r.value)return f();o[p]=!0,Object.keys(o).filter(g=>!o[g]).length||f()}},u=()=>{var p,c;(p=e.flow)!=null&&p.length&&n.value!==-1&&(n.value+=1,a("flow-step",n.value),f()),((c=e.flow)==null?void 0:c.length)===n.value&&yt().then(()=>d())},d=()=>{n.value=-1},b=(p,c,...g)=>{var P,$;e.flow[n.value]===p&&t.value&&(($=(P=t.value)[c])==null||$.call(P,...g))},f=(p=0)=>{p&&(n.value+=p),b(it.month,"toggleMonthPicker",!0),b(it.year,"toggleYearPicker",!0),b(it.calendar,"toggleTimePicker",!1,!0),b(it.time,"toggleTimePicker",!0,!0);const c=e.flow[n.value];(c===it.hours||c===it.minutes||c===it.seconds)&&b(c,"toggleTimePicker",!0,!0,c)};return{childMount:l,updateFlowStep:u,resetFlow:d,handleFlow:f,flowStep:n}},Tf={key:1,class:"dp__input_wrap"},Mf=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-disabled","aria-invalid"],xf=["aria-label"],Sf={key:2,class:"dp__clear_icon"},Af=J({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...en},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTextInput:r,defaultedAriaLabels:l,defaultedInline:u,defaultedConfig:d,defaultedRange:b,defaultedMultiDates:f,defaultedUI:p,getDefaultPattern:c,getDefaultStartTime:g}=ze(o),{checkMinMaxRange:P}=ea(o),$=A(),R=A(null),W=A(!1),U=A(!1),V=A(!1),K=A(null),se=x(()=>({dp__pointer:!o.disabled&&!o.readonly&&!r.value.enabled,dp__disabled:o.disabled,dp__input_readonly:!r.value.enabled,dp__input:!0,dp__input_icon_pad:!o.hideInputIcon,dp__input_valid:typeof o.state=="boolean"?o.state:!1,dp__input_invalid:typeof o.state=="boolean"?!o.state:!1,dp__input_focus:W.value||o.isMenuOpen,dp__input_reg:!r.value.enabled,...p.value.input??{}})),q=()=>{n("set-input-date",null),o.clearable&&o.autoApply&&(n("set-empty-date"),$.value=null)},I=D=>{const T=g();return Fm(D,r.value.format??c(),T??xr({},o.enableSeconds),o.inputValue,V.value,o.formatLocale)},te=D=>{const{rangeSeparator:T}=r.value,[v,N]=D.split(`${T}`);if(v){const Q=I(v.trim()),_=N?I(N.trim()):null;if(ga(Q,_))return;const me=Q&&_?[Q,_]:[Q];P(_,me,0)&&($.value=Q?me:null)}},G=()=>{V.value=!0},F=D=>{if(b.value.enabled)te(D);else if(f.value.enabled){const T=D.split(";");$.value=T.map(v=>I(v.trim())).filter(v=>v)}else $.value=I(D)},ve=D=>{var T;const v=typeof D=="string"?D:(T=D.target)==null?void 0:T.value;v!==""?(r.value.openMenu&&!o.isMenuOpen&&n("open"),F(v),n("set-input-date",$.value)):q(),V.value=!1,n("update:input-value",v),n("text-input",D,$.value)},_e=D=>{r.value.enabled?(F(D.target.value),r.value.enterSubmit&&Ln($.value)&&o.inputValue!==""?(n("set-input-date",$.value,!0),$.value=null):r.value.enterSubmit&&o.inputValue===""&&($.value=null,n("clear"))):C(D)},ke=(D,T)=>{var v;if(K.value&&T&&!U.value)return D.preventDefault(),U.value=!0,(v=K.value)==null?void 0:v.focus();r.value.enabled&&r.value.tabSubmit&&F(D.target.value),r.value.tabSubmit&&Ln($.value)&&o.inputValue!==""?(n("set-input-date",$.value,!0,!0),$.value=null):r.value.tabSubmit&&o.inputValue===""&&($.value=null,n("clear",!0))},H=()=>{W.value=!0,n("focus"),yt().then(()=>{var D;r.value.enabled&&r.value.selectOnFocus&&((D=R.value)==null||D.select())})},C=D=>{if(D.preventDefault(),Qt(D,d.value,!0),r.value.enabled&&r.value.openMenu&&!u.value.input){if(r.value.openMenu==="open"&&!o.isMenuOpen)return n("open");if(r.value.openMenu==="toggle")return n("toggle")}else r.value.enabled||n("toggle")},M=()=>{n("real-blur"),W.value=!1,(!o.isMenuOpen||u.value.enabled&&u.value.input)&&n("blur"),o.autoApply&&r.value.enabled&&$.value&&!o.isMenuOpen&&(n("set-input-date",$.value),n("select-date"),$.value=null)},z=D=>{Qt(D,d.value,!0),n("clear")},ue=(D,T)=>{if(D.key==="Tab"&&ke(D,T),D.key==="Enter"&&_e(D),!r.value.enabled){if(D.code==="Tab")return;D.preventDefault()}},j=()=>{var D;(D=R.value)==null||D.focus({preventScroll:!0})},de=D=>{$.value=D},De=D=>{D.key===Fe.tab&&(U.value=!1,ke(D))};return a({focusInput:j,setParsedDate:de}),(D,T)=>{var v,N;return i(),m("div",{onClick:C},[D.$slots.trigger&&!D.$slots["dp-input"]&&!s(u).enabled?k(D.$slots,"trigger",{key:0}):S("",!0),!D.$slots.trigger&&(!s(u).enabled||s(u).input)?(i(),m("div",Tf,[D.$slots["dp-input"]&&!D.$slots.trigger&&(!s(u).enabled||s(u).enabled&&s(u).input)?k(D.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:ve,onEnter:_e,onTab:ke,onClear:z,onBlur:M,onKeypress:ue,onPaste:G,onFocus:H,openMenu:()=>D.$emit("open"),closeMenu:()=>D.$emit("close"),toggleMenu:()=>D.$emit("toggle")}):S("",!0),D.$slots["dp-input"]?S("",!0):(i(),m("input",{key:1,id:D.uid?`dp-input-${D.uid}`:void 0,ref_key:"inputRef",ref:R,"data-test":"dp-input",name:D.name,class:he(se.value),inputmode:s(r).enabled?"text":"none",placeholder:D.placeholder,disabled:D.disabled,readonly:D.readonly,required:D.required,value:e.inputValue,autocomplete:D.autocomplete,"aria-disabled":D.disabled||void 0,"aria-invalid":D.state===!1?!0:void 0,onInput:ve,onBlur:M,onFocus:H,onKeypress:ue,onKeydown:T[0]||(T[0]=Q=>ue(Q,!0)),onPaste:G},null,42,Mf)),y("div",{"aria-label":(v=s(l))==null?void 0:v.clearInput,onClick:T[3]||(T[3]=Q=>n("toggle"))},[D.$slots["input-icon"]&&!D.hideInputIcon?(i(),m("span",{key:0,class:"dp__input_icon",onClick:T[1]||(T[1]=Q=>n("toggle"))},[k(D.$slots,"input-icon")])):S("",!0),!D.$slots["input-icon"]&&!D.hideInputIcon&&!D.$slots["dp-input"]?(i(),le(s(ka),{key:1,"aria-label":(N=s(l))==null?void 0:N.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:T[2]||(T[2]=Q=>n("toggle"))},null,8,["aria-label"])):S("",!0)],8,xf),D.$slots["clear-icon"]&&e.inputValue&&D.clearable&&!D.disabled&&!D.readonly?(i(),m("span",Sf,[k(D.$slots,"clear-icon",{clear:z})])):S("",!0),D.clearable&&!D.$slots["clear-icon"]&&e.inputValue&&!D.disabled&&!D.readonly?(i(),m("button",{key:3,ref_key:"clearBtnRef",ref:K,class:"dp--clear-btn",type:"button",onBlur:T[4]||(T[4]=Q=>U.value=!1),onKeydown:T[5]||(T[5]=Q=>s(ct)(Q,()=>z(Q),!0,De)),onClick:T[6]||(T[6]=ia(Q=>z(Q),["prevent"]))},[ee(s(br),{class:"dp__input_icons","data-test":"clear-icon"})],544)):S("",!0)])):S("",!0)])}}}),Cf=typeof window<"u"?window:void 0,Dn=()=>{},Vf=e=>ol()?(rl(e),!0):!1,Of=(e,a,t,n)=>{if(!e)return Dn;let o=Dn;const r=Je(()=>s(e),u=>{o(),u&&(u.addEventListener(a,t,n),o=()=>{u.removeEventListener(a,t,n),o=Dn})},{immediate:!0,flush:"post"}),l=()=>{r(),o()};return Vf(l),l},If=(e,a,t,n={})=>{const{window:o=Cf,event:r="pointerdown"}=n;return o?Of(o,r,l=>{const u=tt(e),d=tt(a);!u||!d||u===l.target||l.composedPath().includes(u)||l.composedPath().includes(d)||t(l)},{passive:!0}):void 0},Lf=J({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...en},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=A(!1),u=Sa(o,"modelValue"),d=Sa(o,"timezone"),b=A(null),f=A(null),p=A(null),c=A(!1),g=A(null),P=A(!1),$=A(!1),R=A(!1),W=A(!1),{setMenuFocused:U,setShiftKey:V}=Or(),{clearArrowNav:K}=Zt(),{validateDate:se,isValidTime:q}=ea(o),{defaultedTransitions:I,defaultedTextInput:te,defaultedInline:G,defaultedConfig:F,defaultedRange:ve,defaultedMultiDates:_e}=ze(o),{menuTransition:ke,showTransition:H}=La(I);Ue(()=>{N(o.modelValue),yt().then(()=>{if(!G.value.enabled){const E=De(g.value);E==null||E.addEventListener("scroll",oe),window==null||window.addEventListener("resize",Y)}}),G.value.enabled&&(l.value=!0),window==null||window.addEventListener("keyup",xe),window==null||window.addEventListener("keydown",L)}),Xt(()=>{if(!G.value.enabled){const E=De(g.value);E==null||E.removeEventListener("scroll",oe),window==null||window.removeEventListener("resize",Y)}window==null||window.removeEventListener("keyup",xe),window==null||window.removeEventListener("keydown",L)});const C=_t(r,"all",o.presetDates),M=_t(r,"input");Je([u,d],()=>{N(u.value)},{deep:!0});const{openOnTop:z,menuStyle:ue,xCorrect:j,setMenuPosition:de,getScrollableParent:De,shadowRender:D}=kf({menuRef:b,menuRefInner:f,inputRef:p,pickerWrapperRef:g,inline:G,emit:n,props:o,slots:r}),{inputValue:T,internalModelValue:v,parseExternalModelValue:N,emitModelValue:Q,formatInputValue:_,checkBeforeEmit:me}=vp(n,o,c),Te=x(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:G.value.enabled,"dp--flex-display-collapsed":R.value,dp__flex_display_with_input:G.value.input})),Ze=x(()=>o.dark?"dp__theme_dark":"dp__theme_light"),B=x(()=>o.teleport?{to:typeof o.teleport=="boolean"?"body":o.teleport,disabled:!o.teleport||G.value.enabled}:{}),ne=x(()=>({class:"dp__outer_menu_wrap"})),h=x(()=>G.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),X=()=>{var E,re;return(re=(E=p.value)==null?void 0:E.$el)==null?void 0:re.getBoundingClientRect()},oe=()=>{l.value&&(F.value.closeOnScroll?gt():de())},Y=()=>{var E;l.value&&de();const re=(E=f.value)==null?void 0:E.$el.getBoundingClientRect().width;R.value=document.body.offsetWidth<=re},xe=E=>{E.key==="Tab"&&!G.value.enabled&&!o.teleport&&F.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||gt()),$.value=E.shiftKey},L=E=>{$.value=E.shiftKey},ae=()=>{!o.disabled&&!o.readonly&&(D(Co,o),de(!1),l.value=!0,l.value&&n("open"),l.value||wa(),N(o.modelValue))},ge=()=>{var E;T.value="",wa(),(E=p.value)==null||E.setParsedDate(null),n("update:model-value",null),n("update:model-timezone-value",null),n("cleared"),F.value.closeOnClearValue&>()},Ae=()=>{const E=v.value;return!E||!Array.isArray(E)&&se(E)?!0:Array.isArray(E)?_e.value.enabled||E.length===2&&se(E[0])&&se(E[1])?!0:ve.value.partialRange&&!o.timePicker?se(E[0]):!1:!1},kt=()=>{me()&&Ae()?(Q(),gt()):n("invalid-select",v.value)},$e=E=>{Ft(),Q(),F.value.closeOnAutoApply&&!E&>()},Ft=()=>{p.value&&te.value.enabled&&p.value.setParsedDate(v.value)},xt=(E=!1)=>{o.autoApply&&q(v.value)&&Ae()&&(ve.value.enabled&&Array.isArray(v.value)?(ve.value.partialRange||v.value.length===2)&&$e(E):$e(E))},wa=()=>{te.value.enabled||(v.value=null)},gt=()=>{G.value.enabled||(l.value&&(l.value=!1,j.value=!1,U(!1),V(!1),K(),n("closed"),T.value&&N(u.value)),wa(),n("blur"))},$a=(E,re,fe=!1)=>{if(!E){v.value=null;return}const ut=Array.isArray(E)?!E.some(ta=>!se(ta)):se(E),wt=q(E);ut&&wt&&(W.value=!0,v.value=E,re&&(P.value=fe,kt(),n("text-submit")),yt().then(()=>{W.value=!1}))},on=()=>{o.autoApply&&q(v.value)&&Q(),Ft()},Ra=()=>l.value?gt():ae(),rn=E=>{v.value=E},ln=()=>{te.value.enabled&&(c.value=!0,_()),n("focus")},sn=()=>{if(te.value.enabled&&(c.value=!1,N(o.modelValue),P.value)){const E=Em(g.value,$.value);E==null||E.focus()}n("blur")},un=E=>{f.value&&f.value.updateMonthYear(0,{month:Do(E.month),year:Do(E.year)})},dn=E=>{N(E??o.modelValue)},cn=(E,re)=>{var fe;(fe=f.value)==null||fe.switchView(E,re)},O=E=>F.value.onClickOutside?F.value.onClickOutside(E):gt(),ie=(E=0)=>{var re;(re=f.value)==null||re.handleFlow(E)};return If(b,p,()=>O(Ae)),a({closeMenu:gt,selectDate:kt,clearValue:ge,openMenu:ae,onScroll:oe,formatInputValue:_,updateInternalModelValue:rn,setMonthYear:un,parseModel:dn,switchView:cn,toggleMenu:Ra,handleFlow:ie,dpWrapMenuRef:b}),(E,re)=>(i(),m("div",{ref_key:"pickerWrapperRef",ref:g,class:he(Te.value),"data-datepicker-instance":""},[ee(Af,Oe({ref_key:"inputRef",ref:p,"input-value":s(T),"onUpdate:inputValue":re[0]||(re[0]=fe=>uo(T)?T.value=fe:null),"is-menu-open":l.value},E.$props,{onClear:ge,onOpen:ae,onSetInputDate:$a,onSetEmptyDate:s(Q),onSelectDate:kt,onToggle:Ra,onClose:gt,onFocus:ln,onBlur:sn,onRealBlur:re[1]||(re[1]=fe=>c.value=!1),onTextInput:re[2]||(re[2]=fe=>E.$emit("text-input",fe))}),at({_:2},[Me(s(M),(fe,ut)=>({name:fe,fn:w(wt=>[k(E.$slots,fe,ot(pt(wt)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(i(),le(ft(E.teleport?el:"div"),ot(pt(B.value)),{default:w(()=>[ee(Ht,{name:s(ke)(s(z)),css:s(H)&&!s(G).enabled},{default:w(()=>[l.value?(i(),m("div",Oe({key:0,ref_key:"dpWrapMenuRef",ref:b},ne.value,{class:{"dp--menu-wrapper":!s(G).enabled},style:s(G).enabled?void 0:s(ue)}),[ee(Co,Oe({ref_key:"dpMenuRef",ref:f},E.$props,{"internal-model-value":s(v),"onUpdate:internalModelValue":re[3]||(re[3]=fe=>uo(v)?v.value=fe:null),class:{[Ze.value]:!0,"dp--menu-wrapper":E.teleport},"open-on-top":s(z),"no-overlay-focus":h.value,collapse:R.value,"get-input-rect":X,"is-text-input-date":W.value,onClosePicker:gt,onSelectDate:kt,onAutoApply:xt,onTimeUpdate:on,onFlowStep:re[4]||(re[4]=fe=>E.$emit("flow-step",fe)),onUpdateMonthYear:re[5]||(re[5]=fe=>E.$emit("update-month-year",fe)),onInvalidSelect:re[6]||(re[6]=fe=>E.$emit("invalid-select",s(v))),onAutoApplyInvalid:re[7]||(re[7]=fe=>E.$emit("invalid-select",fe)),onInvalidFixedRange:re[8]||(re[8]=fe=>E.$emit("invalid-fixed-range",fe)),onRecalculatePosition:s(de),onTooltipOpen:re[9]||(re[9]=fe=>E.$emit("tooltip-open",fe)),onTooltipClose:re[10]||(re[10]=fe=>E.$emit("tooltip-close",fe)),onTimePickerOpen:re[11]||(re[11]=fe=>E.$emit("time-picker-open",fe)),onTimePickerClose:re[12]||(re[12]=fe=>E.$emit("time-picker-close",fe)),onAmPmChange:re[13]||(re[13]=fe=>E.$emit("am-pm-change",fe)),onRangeStart:re[14]||(re[14]=fe=>E.$emit("range-start",fe)),onRangeEnd:re[15]||(re[15]=fe=>E.$emit("range-end",fe)),onDateUpdate:re[16]||(re[16]=fe=>E.$emit("date-update",fe)),onInvalidDate:re[17]||(re[17]=fe=>E.$emit("invalid-date",fe)),onOverlayToggle:re[18]||(re[18]=fe=>E.$emit("overlay-toggle",fe))}),at({_:2},[Me(s(C),(fe,ut)=>({name:fe,fn:w(wt=>[k(E.$slots,fe,ot(pt({...wt})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):S("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Ie=(()=>{const e=Lf;return e.install=a=>{a.component("Vue3DatePicker",e)},e})(),Nf=Object.freeze(Object.defineProperty({__proto__:null,default:Ie},Symbol.toStringTag,{value:"Module"}));Object.entries(Nf).forEach(([e,a])=>{e!=="default"&&(Ie[e]=a)});const Rf={class:"demo-wrap"},Bf={class:"action-row"},Ef={class:"current-selection"},Hf=["onClick"],Yf=J({__name:"ActionRowSlotDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>$t(o,"dd.MM.yyyy, HH:mm");return(o,r)=>(i(),m("div",Rf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t)},{"action-row":w(({internalModelValue:l,selectDate:u})=>[y("div",Bf,[y("p",Ef,ce(n(l)),1),y("button",{class:"select-button",onClick:u},"Select Date",8,Hf)])]),_:1},8,["modelValue","dark"])]))}}),Ff={class:"demo-wrap"},zf=J({__name:"CustomCalendarDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(),n=o=>o.filter(r=>r.days.some(l=>l.text===15)).map(r=>({...r,days:r.days.map(l=>(l.classData["custom-class"]=!0,l))}));return(o,r)=>(i(),m("div",Ff,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},o.$props,{dark:s(a),calendar:n,placeholder:"Select Date"}),null,16,["modelValue","dark"])]))}}),Wf={class:"demo-wrap"},Uf=J({__name:"DarkDemo",props:["placeholder"],setup(e){const a=A(new Date);return(t,n)=>(i(),m("div",Wf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=o=>a.value=o),placeholder:e.placeholder,dark:""},null,8,["modelValue","placeholder"])]))}}),qf={class:"demo-wrap"},jf=J({__name:"DemoDayClass",setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>oa(o,et(He(new Date,{hours:0,minutes:0,seconds:0,milliseconds:0}),1))?"marked-cell":"";return(o,r)=>(i(),m("div",qf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"day-class":n},null,8,["modelValue","dark"])]))}}),Qf={class:"demo-wrap"},Kf=J({__name:"DemoHighlight",props:["disabled"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=e,o=x(()=>[et(new Date,1),et(new Date,2),et(new Date,3)]),r=x(()=>n.disabled?o.value:[]),l=x(()=>({dates:n.disabled?r.value:o.value,options:{highlightDisabled:!0}}));return(u,d)=>(i(),m("div",Qf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=b=>a.value=b),dark:s(t),highlight:l.value,"disabled-dates":r.value},null,8,["modelValue","dark","highlight","disabled-dates"])]))}}),Gf={class:"demo-wrap"},Xf=y("span",{class:"custom-marker"},null,-1),Jf=J({__name:"DemoMarkers",props:["useMarkerTooltipSlot","useMarkerSlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>[{date:et(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:et(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:et(new Date,3),type:"dot",color:"yellow"}]);return(o,r)=>(i(),m("div",Gf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),markers:n.value},at({_:2},[e.useMarkerTooltipSlot?{name:"marker-tooltip",fn:w(({day:l})=>[y("div",null,"Custom content on "+ce(l),1)]),key:"0"}:void 0,e.useMarkerSlot?{name:"marker",fn:w(({day:l})=>[Xf]),key:"1"}:void 0]),1032,["modelValue","dark","markers"])]))}}),Zf=y("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1),eh=["value"],th=y("img",{class:"input-slot-image",src:Lt,alt:"logo"},null,-1),ah=["onClick"],nh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),oh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),rh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),lh=y("img",{class:"slot-icon-m",src:Lt,alt:"logo"},null,-1),sh=y("img",{class:"slot-icon-m",src:Lt,alt:"logo"},null,-1),ih=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),uh={key:0,class:"slot-icon",src:Lt,alt:"logo"},dh=["onClick"],ch=y("img",{class:"slot-icon centered",src:Lt},null,-1),vh=[ch],mh=["onClick"],ph={class:"time-picker-overlay"},fh=["value","onChange"],hh=["value"],yh=["value","onChange"],gh=["value"],_h=y("div",{class:"dp-sidebar"},"Custom content",-1),bh=y("div",{class:"dp-sidebar"},"Custom content",-1),kh={class:"overlay-header"},wh=["onClick"],$h={class:"overlay-header"},Dh=["onClick"],Ph={key:0},Th={key:1},Mh=y("div",{class:"my-header"},"My custom header",-1),xh=y("div",{class:"overlay-header"},[y("span",null,"Hours")],-1),Sh=y("div",{class:"overlay-header"},[y("span",null,"Minutes")],-1),Ah=y("div",{class:"overlay-header"},[y("span",null,"Seconds")],-1),Ch=y("span",{class:"my-icon"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1),Vh=y("span",{class:"my-icon"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1),Oh=J({__name:"DemoSlots",props:["placeholder","useTriggerSlot","position","useInputIconSlot","useClearIconSlot","useClockIconSlot","useArrowLeftSlot","useArrowRightSlot","useArrowUpSlot","useArrowDownSlot","useCalendarIconSlot","useDaySlot","useActionButtonSlot","useActionPreviewSlot","useHoursSlot","useMinutesSlot","useMonthSlot","useYearSlot","useHoursOverlaySlot","useMinutesOverlaySlot","useMonthOverlaySlot","useYearOverlaySlot","useDpInputSlot","useCalendarHeaderSlot","useActionExtraSlot","is24","useAmPmButtonSlot","useTimePickerOverlay","useLeftSidebarSlot","useRightSidebarSlot","useMonthOverlayHeaderSlot","useYearOverlayHeaderSlot","useQuarterSlot","useTopExtraSlot","useHoursOverlayHeaderSlot","useMinutesOverlayHeaderSlot","useSecondsOverlayHeaderSlot","useTpInlineArrowUp","useTpInlineArrowDown","useMenuHeaderSlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=A(null),o=x(()=>new Date().getDate()+1),r=x(()=>f=>`Selected ${new Date(f).getDate()}`),l=x(()=>{const f=[];for(let p=0;p<24;p++)f.push({text:p<10?`0${p}`:p,value:p});return f}),u=x(()=>{const f=[];for(let p=0;p<60;p++)f.push({text:p<10?`0${p}`:p,value:p});return f}),d=()=>{n.value&&n.value.selectDate()},b=f=>$t(f,"QQQ");return(f,p)=>(i(),m("div",{class:he(["demo-wrap",e.useDpInputSlot||e.useTriggerSlot?"demo-wrap-inline":""])},[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":p[0]||(p[0]=c=>a.value=c),placeholder:e.placeholder,dark:s(t),position:e.position,"quarter-picker":e.useQuarterSlot,"enable-seconds":!!e.useSecondsOverlayHeaderSlot,"time-picker-inline":e.useTpInlineArrowUp||e.useTpInlineArrowDown,is24:e.is24,ref_key:"dpSlotDemo",ref:n},at({_:2},[e.useTriggerSlot?{name:"trigger",fn:w(()=>[Zf]),key:"0"}:void 0,e.useDpInputSlot?{name:"dp-input",fn:w(({value:c})=>[y("input",{class:"input-class",type:"text",value:c},null,8,eh)]),key:"1"}:void 0,e.useInputIconSlot?{name:"input-icon",fn:w(()=>[th]),key:"2"}:void 0,e.useClearIconSlot?{name:"clear-icon",fn:w(({clear:c})=>[y("img",{class:"input-slot-image-clear",src:Lt,onClick:c,alt:"logo"},null,8,ah)]),key:"3"}:void 0,e.useClockIconSlot?{name:"clock-icon",fn:w(()=>[nh]),key:"4"}:void 0,e.useArrowLeftSlot?{name:"arrow-left",fn:w(()=>[oh]),key:"5"}:void 0,e.useArrowRightSlot?{name:"arrow-right",fn:w(()=>[rh]),key:"6"}:void 0,e.useArrowUpSlot?{name:"arrow-up",fn:w(()=>[lh]),key:"7"}:void 0,e.useArrowDownSlot?{name:"arrow-down",fn:w(()=>[sh]),key:"8"}:void 0,e.useCalendarIconSlot?{name:"calendar-icon",fn:w(()=>[ih]),key:"9"}:void 0,e.useDaySlot?{name:"day",fn:w(({day:c})=>[c===o.value?(i(),m("img",uh)):(i(),m(pe,{key:1},[Ne(ce(c),1)],64))]),key:"10"}:void 0,e.useActionButtonSlot?{name:"action-buttons",fn:w(()=>[y("p",{class:"custom-select",onClick:d},"Select")]),key:"11"}:void 0,e.useActionPreviewSlot?{name:"action-preview",fn:w(({value:c})=>[Ne(ce(r.value(c)),1)]),key:"12"}:void 0,e.useHoursSlot?{name:"hours",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"13"}:void 0,e.useMinutesSlot?{name:"minutes",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"14"}:void 0,e.useMonthSlot?{name:"month",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"15"}:void 0,e.useYearSlot?{name:"year",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"16"}:void 0,e.useHoursOverlaySlot?{name:"hours-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"17"}:void 0,e.useMinutesOverlaySlot?{name:"minutes-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"18"}:void 0,e.useMonthOverlaySlot?{name:"month-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"19"}:void 0,e.useYearOverlaySlot?{name:"year-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"20"}:void 0,e.useCalendarHeaderSlot?{name:"calendar-header",fn:w(({index:c,day:g})=>[y("div",{class:he(c===5||c===6?"red-color":"")},ce(g),3)]),key:"21"}:void 0,e.useActionExtraSlot?{name:"action-extra",fn:w(({selectCurrentDate:c})=>[y("span",{onClick:g=>c(),title:"Select current date",class:"pointer"},vh,8,dh)]),key:"22"}:void 0,e.useAmPmButtonSlot?{name:"am-pm-button",fn:w(({toggle:c,value:g})=>[y("button",{onClick:c},ce(g),9,mh)]),key:"23"}:void 0,e.useTimePickerOverlay?{name:"time-picker-overlay",fn:w(({hours:c,minutes:g,setHours:P,setMinutes:$})=>[y("div",ph,[y("select",{class:"select-input",value:c,onChange:R=>P(+R.target.value)},[(i(!0),m(pe,null,Me(l.value,R=>(i(),m("option",{key:R.value,value:R.value},ce(R.text),9,hh))),128))],40,fh),y("select",{class:"select-input",value:g,onChange:R=>$(+R.target.value)},[(i(!0),m(pe,null,Me(u.value,R=>(i(),m("option",{key:R.value,value:R.value},ce(R.text),9,gh))),128))],40,yh)])]),key:"24"}:void 0,e.useLeftSidebarSlot?{name:"left-sidebar",fn:w(()=>[_h]),key:"25"}:void 0,e.useRightSidebarSlot?{name:"right-sidebar",fn:w(()=>[bh]),key:"26"}:void 0,e.useMonthOverlayHeaderSlot?{name:"month-overlay-header",fn:w(({toggle:c})=>[y("div",kh,[y("span",{onClick:c,class:"pointer"},ce("< Go back"),8,wh)])]),key:"27"}:void 0,e.useYearOverlayHeaderSlot?{name:"year-overlay-header",fn:w(({toggle:c})=>[y("div",$h,[y("span",{onClick:c,class:"pointer"},ce("< Go back"),8,Dh)])]),key:"28"}:void 0,e.useQuarterSlot?{name:"quarter",fn:w(({value:c})=>[y("span",null,ce(b(c)),1)]),key:"29"}:void 0,e.useTopExtraSlot?{name:"top-extra",fn:w(({value:c})=>[c?(i(),m("span",Ph,"Selected date: "+ce(c.getDate()),1)):(i(),m("span",Th,"No date selected"))]),key:"30"}:void 0,e.useMenuHeaderSlot?{name:"menu-header",fn:w(()=>[Mh]),key:"31"}:void 0,e.useHoursOverlayHeaderSlot?{name:"hours-overlay-header",fn:w(()=>[xh]),key:"32"}:void 0,e.useMinutesOverlayHeaderSlot?{name:"minutes-overlay-header",fn:w(()=>[Sh]),key:"33"}:void 0,e.useSecondsOverlayHeaderSlot?{name:"seconds-overlay-header",fn:w(()=>[Ah]),key:"34"}:void 0,e.useTpInlineArrowUp?{name:"tp-inline-arrow-up",fn:w(()=>[Ch]),key:"35"}:void 0,e.useTpInlineArrowDown?{name:"tp-inline-arrow-down",fn:w(()=>[Vh]),key:"36"}:void 0]),1032,["modelValue","placeholder","dark","position","quarter-picker","enable-seconds","time-picker-inline","is24"])],2))}}),Ih={class:"demo-wrap"},Lh=J({__name:"DisabledDatesDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const o=new Date,r=new Date(o);r.setDate(r.getDate()+1);const l=new Date(r);return l.setDate(r.getDate()+1),[r,l]});return(o,r)=>(i(),m("div",Ih,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"disabled-dates":n.value},null,8,["modelValue","dark","disabled-dates"])]))}}),Nh={class:"demo-wrap"},Rh=J({__name:"DisabledRangeDateDemo",props:{},setup(e){const{isDark:a}=Le(),t=A([]),n=[fr(new Date,1),new Date,et(new Date,1)];return(o,r)=>(i(),m("div",Nh,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},o.$props,{dark:s(a),range:{noDisabledRange:!0},"disabled-dates":n,placeholder:"Select range"}),null,16,["modelValue","dark"])]))}}),Bh={class:"demo-wrap"},Eh={class:"buttons-wrap"},Hh=["onClick"],Yh=J({__name:"DisabledTimesDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(null),n=["single","range"],o=A("single"),r=x(()=>o.value==="range"),l=[{hours:15,minutes:"*"},{hours:16,minutes:15},{hours:16,minutes:20},{hours:17,minutes:30}],u=[[{hours:12,minutes:"*"},{hours:9,minutes:10}],l],d=b=>{t.value=null,o.value=b};return(b,f)=>(i(),m("div",Bh,[y("div",Eh,[(i(),m(pe,null,Me(n,(p,c)=>y("button",{class:he(["change-btn",{"btn-active":p===o.value}]),key:c,onClick:g=>d(p)},ce(p),11,Hh)),64))]),ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=p=>t.value=p),placeholder:"Select date"},b.$props,{dark:s(a),"disabled-times":r.value?u:l,range:r.value}),null,16,["modelValue","dark","disabled-times","range"])]))}}),Fh=we(Yh,[["__scopeId","data-v-6bf8e806"]]),zh={class:"demo-wrap"},Wh={key:0},Uh=J({__name:"DisplayModelDemo",props:["modelType","modelAuto","range"],setup(e){const a=A(),{isDark:t}=Le();return(n,o)=>(i(),m("div",zh,[ee(s(Ie),Oe({modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t)},n.$props,{placeholder:"Select Date"}),null,16,["modelValue","dark"]),a.value?(i(),m("p",Wh,"Selected date: "+ce(a.value),1)):S("",!0)]))}}),qh={class:"demo-wrap"},jh=J({__name:"EmitTimezone",setup(e){const{isDark:a}=Le(),t=A(),n=A(),o=r=>{n.value=r};return(r,l)=>(i(),m("div",qh,[t.value&&n.value?(i(),m(pe,{key:0},[y("div",null,"Local timezone date: "+ce(t.value),1),y("div",null,"UTC date: "+ce(n.value),1)],64)):S("",!0),ee(s(Ie),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=u=>t.value=u),placeholder:"Select date","emit-timezone":"UTC",dark:s(a),"onUpdate:modelTimezoneValue":o},null,8,["modelValue","dark"])]))}}),Qh={class:"demo-wrap"},Kh=J({__name:"EmptyDemo",props:["placeholder","noToday","minTime","maxTime","startDate","startTime","disabledWeekDays","allowedDates","actionRow","nowButtonLabel","multiDates","flow","partialFlow","range","multiDatesLimit","weekPicker","monthPicker","timePicker","disableTimeRangeValidation","maxDate","ignoreTimeValidation","autoApply"],setup(e){const a=e,t=A(),{isDark:n}=Le(),o=x(()=>{if(a.allowedDates)return[new Date,new Date(new Date().setDate(new Date().getDate()+1))]});return(r,l)=>(i(),m("div",Qh,[ee(s(Ie),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=u=>t.value=u),placeholder:e.placeholder,dark:s(n),"no-today":e.noToday,"min-time":e.minTime,"max-time":e.maxTime,"start-date":e.startDate,"start-time":e.startTime,"disabled-week-days":e.disabledWeekDays,"allowed-dates":o.value,"action-row":e.actionRow,"now-button-label":e.nowButtonLabel,"multi-dates":e.multiDates,range:e.range,flow:e.flow,"multi-dates-limit":e.multiDatesLimit,"week-picker":e.weekPicker,"month-picker":e.monthPicker,"time-picker":e.timePicker,"disable-time-range-validation":e.disableTimeRangeValidation,"max-date":e.maxDate,"ignore-time-validation":e.ignoreTimeValidation,"partial-flow":e.partialFlow,"auto-apply":e.autoApply},null,8,["modelValue","placeholder","dark","no-today","min-time","max-time","start-date","start-time","disabled-week-days","allowed-dates","action-row","now-button-label","multi-dates","range","flow","multi-dates-limit","week-picker","month-picker","time-picker","disable-time-range-validation","max-date","ignore-time-validation","partial-flow","auto-apply"])]))}}),Gh={class:"demo-wrap"},Xh=J({__name:"FiltersDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const o=new Date;return{months:Array.from(Array(3).keys()).map(r=>Se(bt(o,r+1)))}});return(o,r)=>(i(),m("div",Gh,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date",filters:n.value},null,8,["modelValue","dark","filters"])]))}}),Jh={class:"demo-wrap"},Zh=J({__name:"FormatDemo",props:["placeholder"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,u=o.getFullYear();return`Selected date is ${r}/${l}/${u}`};return(o,r)=>(i(),m("div",Jh,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:e.placeholder,format:n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),e0={class:"demo-wrap"},t0=J({__name:"GlobalDemo",props:["uid","is24","enableTimePicker","locale","cancelText","selectText","range","position","weekNumbers","placeholder","hoursIncrement","minutesIncrement","hoursGridIncrement","minutesGridIncrement","minDate","maxDate","minTime","maxTime","weekStart","disabled","readonly","hideInputIcon","state","clearable","autoApply","filters","disableMonthYearSelect","yearRange","disabledDates","inline","weekNumName","autoPosition","monthPicker","timePicker","teleport","startDate","startTime","monthNameFormat","hideOffsetDates","noHoursOverlay","noMinutesOverlay","altPosition","multiCalendars","monthChangeOnScroll","transitions","enableSeconds","secondsIncrement","secondsGridIncrement","noSecondsOverlay","escClose","spaceConfirm","monthChangeOnArrows","name","autocomplete","preventMinMaxNavigation","reverseYears","vertical","arrowNavigation","textInput","yearPicker","multiStatic","dayNames","offset","teleportCenter","hideNavigation","sixWeeks","actionRow","disableYearSelect","focusStartDate","timePickerInline","yearFirst","loading","enableMinutes"],setup(e){const a=e,t=A(null),n=A(!1),{isDark:o}=Le(),r=x({get:()=>{if(n.value||a.maxTime||a.minTime||a.startDate&&!a.focusStartDate||a.startTime)return null;if(t.value)return t.value;if(a.monthPicker)return{month:new Date().getMonth(),year:new Date().getFullYear()};if(a.yearPicker)return new Date().getFullYear();if(a.timePicker){const l=new Date;return{hours:l.getHours(),minutes:l.getMinutes()}}if(a.range){const l=new Date,u=new Date(new Date().setDate(l.getDate()+7));return[l,u]}return new Date},set:l=>{n.value=!l,t.value=l}});return(l,u)=>(i(),m("div",e0,[ee(s(Ie),Oe({modelValue:r.value,"onUpdate:modelValue":u[0]||(u[0]=d=>r.value=d)},l.$props,{dark:s(o)}),null,16,["modelValue","dark"])]))}}),a0={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},n0=(e,a,t)=>{t=t||{};let n;const o=a0[e];return typeof o=="string"?n=o:a===1?t.addSuffix&&o.oneWithSuffix?n=o.oneWithSuffix:n=o.one:t.addSuffix&&o.otherWithSuffix?n=o.otherWithSuffix.replace("{{count}}",String(a)):n=o.other.replace("{{count}}",String(a)),t.addSuffix?t.comparison&&t.comparison>0?n+"後":n+"前":n},o0={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},r0={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},l0={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},s0={date:pa({formats:o0,defaultWidth:"full"}),time:pa({formats:r0,defaultWidth:"full"}),dateTime:pa({formats:l0,defaultWidth:"full"})},i0={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},u0=(e,a,t,n)=>i0[e],d0={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},c0={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},v0={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},m0={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},p0={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},f0={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},h0=(e,a)=>{const t=Number(e);switch(String(a==null?void 0:a.unit)){case"year":return`${t}年`;case"quarter":return`第${t}四半期`;case"month":return`${t}月`;case"week":return`第${t}週`;case"date":return`${t}日`;case"hour":return`${t}時`;case"minute":return`${t}分`;case"second":return`${t}秒`;default:return`${t}`}},y0={ordinalNumber:h0,era:St({values:d0,defaultWidth:"wide"}),quarter:St({values:c0,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:St({values:v0,defaultWidth:"wide"}),day:St({values:m0,defaultWidth:"wide"}),dayPeriod:St({values:p0,defaultWidth:"wide",formattingValues:f0,defaultFormattingWidth:"wide"})},g0=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,_0=/\d+/i,b0={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},k0={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},w0={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},$0={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},D0={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},P0={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},T0={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},M0={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},x0={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},S0={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},A0={ordinalNumber:lr({matchPattern:g0,parsePattern:_0,valueCallback:function(e){return parseInt(e,10)}}),era:At({matchPatterns:b0,defaultMatchWidth:"wide",parsePatterns:k0,defaultParseWidth:"any"}),quarter:At({matchPatterns:w0,defaultMatchWidth:"wide",parsePatterns:$0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:At({matchPatterns:D0,defaultMatchWidth:"wide",parsePatterns:P0,defaultParseWidth:"any"}),day:At({matchPatterns:T0,defaultMatchWidth:"wide",parsePatterns:M0,defaultParseWidth:"any"}),dayPeriod:At({matchPatterns:x0,defaultMatchWidth:"any",parsePatterns:S0,defaultParseWidth:"any"})},C0={code:"ja",formatDistance:n0,formatLong:s0,formatRelative:u0,localize:y0,match:A0,options:{weekStartsOn:0,firstWeekContainsDate:1}},V0={class:"demo-wrap"},O0=J({__name:"LocalizedOutput",setup(e){const a=A(new Date),{isDark:t}=Le();return(n,o)=>(i(),m("div",V0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),placeholder:"Select Date","format-locale":s(C0),format:"E"},null,8,["modelValue","dark","format-locale"])]))}}),I0={class:"demo-wrap"},L0=J({__name:"MinMaxDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>Et(new Date(Pe(new Date),Se(new Date)),2)),o=x(()=>bt(new Date(Pe(new Date),Se(new Date)),2));return(r,l)=>(i(),m("div",I0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),placeholder:"Select Date",dark:s(t),"min-date":n.value,"max-date":o.value,"prevent-min-max-navigation":""},null,8,["modelValue","dark","min-date","max-date"])]))}}),N0={class:"demo-wrap"},R0=J({__name:"MonthPickerDemo",props:{autoApplyMonth:{type:Boolean,default:!0}},setup(e){const{isDark:a}=Le(),t=A({month:new Date().getMonth(),year:new Date().getFullYear()});return(n,o)=>(i(),m("div",N0,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"month-picker":""}),null,16,["modelValue","dark"])]))}}),B0={},E0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},H0=y("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"},null,-1),Y0=[H0];function F0(e,a){return i(),m("svg",E0,Y0)}const z0=we(B0,[["render",F0]]),W0={},U0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},q0=y("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"},null,-1),j0=[q0];function Q0(e,a){return i(),m("svg",U0,j0)}const K0=we(W0,[["render",Q0]]),G0={class:"demo-wrap"},X0={class:"custom-month-year-component"},J0=["value","onChange"],Z0=["value"],ey=["value","onChange"],ty=["value"],ay={class:"icons"},ny=["onClick"],oy=["onClick"],ry={class:"custom-month-year-component"},ly=["value","onChange"],sy=["value"],iy=["onClick"],uy={class:"year-overlay"},dy=["value","onChange"],cy=["value"],vy=["onClick"],my=J({__name:"MonthYearSlotDemo",props:["defaultSlot","monthOverlaySlot","yearOverlaySlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=(r,l,u,d)=>{l(+r.target.value,u),d&&d()},o=(r,l,u,d)=>{l(u,+r.target.value),d&&d()};return(r,l)=>(i(),m("div",G0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t)},at({_:2},[e.defaultSlot?{name:"month-year",fn:w(({month:u,year:d,months:b,years:f,updateMonthYear:p,handleMonthYearChange:c})=>[y("div",X0,[y("select",{class:"select-input",value:u,onChange:g=>n(g,p,d)},[(i(!0),m(pe,null,Me(b,g=>(i(),m("option",{key:g.value,value:g.value},ce(g.text),9,Z0))),128))],40,J0),y("select",{class:"select-input",value:d,onChange:g=>o(g,p,u)},[(i(!0),m(pe,null,Me(f,g=>(i(),m("option",{key:g.value,value:g.value},ce(g.text),9,ty))),128))],40,ey)]),y("div",ay,[y("span",{class:"custom-icon",onClick:g=>c(!1)},[ee(z0)],8,ny),y("span",{class:"custom-icon",onClick:g=>c(!0)},[ee(K0)],8,oy)])]),key:"0"}:void 0,e.monthOverlaySlot?{name:"month-overlay",fn:w(({month:u,year:d,items:b,updateMonthYear:f,toggle:p})=>[y("div",ry,[y("select",{class:"select-input",value:u,onChange:c=>n(c,f,d,p)},[(i(!0),m(pe,null,Me(b,c=>(i(),m("option",{key:c.value,value:c.value},ce(c.text),9,sy))),128))],40,ly)]),y("button",{onClick:p},"Close",8,iy)]),key:"1"}:void 0,e.yearOverlaySlot?{name:"year-overlay",fn:w(({month:u,year:d,items:b,updateMonthYear:f,toggle:p})=>[y("div",uy,[y("div",null,[y("select",{class:"select-input",value:d,onChange:c=>o(c,f,u,p)},[(i(!0),m(pe,null,Me(b,c=>(i(),m("option",{key:c.value,value:c.value},ce(c.text),9,cy))),128))],40,dy)]),y("button",{onClick:p},"Close",8,vy)])]),key:"2"}:void 0]),1032,["modelValue","dark"])]))}}),py={class:"demo-wrap"},fy=["onClick"],hy=J({__name:"PresetRange",setup(e){const a=A(),{isDark:t}=Le(),n=A([{label:"Today",value:[new Date,new Date]},{label:"Today (Slot)",value:[new Date,new Date],slot:"preset-date-range-button"},{label:"This month",value:[Sn(new Date),ho(new Date)]},{label:"Last month",value:[Sn(Et(new Date,1)),ho(Et(new Date,1))]},{label:"This year",value:[ha(new Date),Un(new Date)]}]);return(o,r)=>(i(),m("div",py,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:"Select Date",dark:s(t),range:"","preset-dates":n.value},{"preset-date-range-button":w(({label:l,value:u,presetDate:d})=>[y("span",{role:"button",tabindex:0,onClick:b=>d(u)},ce(l),9,fy)]),_:1},8,["modelValue","dark","preset-dates"])]))}}),yy={class:"demo-wrap"},gy=J({__name:"PreviewFormatDemo",props:["placeholder"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,u=o.getFullYear();return`Selected date is ${r}/${l}/${u}`};return(o,r)=>(i(),m("div",yy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:e.placeholder,"preview-format":n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),_y={class:"demo-wrap"},by=J({__name:"QuarterPickerDemo",setup(e){const{isDark:a}=Le(),t=A(qt(new Date));return(n,o)=>(i(),m("div",_y,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"quarter-picker":""}),null,16,["modelValue","dark"])]))}}),ky={class:"demo-wrap"},wy=J({__name:"RangeDemo",props:{range:{type:[Boolean,Object],default:!0},clearable:{type:Boolean,default:!0},timePicker:{type:Boolean,default:!1},placeholder:{type:String,default:"Select Range"},multiCalendars:{type:[Number,String,Boolean,Object],default:null},disabledWeekDays:{type:Array,default:()=>[]}},setup(e){const a=e,{isDark:t}=Le(),n=x(()=>{var r,l,u;return typeof a.range=="object"?((r=a.range)==null?void 0:r.autoRange)||((l=a.range)==null?void 0:l.maxRange)||((u=a.range)==null?void 0:u.minRange):!1}),o=A(n.value?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(r,l)=>(i(),m("div",ky,[ee(s(Ie),Oe({modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=u=>o.value=u)},r.$props,{dark:s(t),rang:e.range,placeholder:e.placeholder}),null,16,["modelValue","dark","rang","placeholder"])]))}}),$y={class:"demo-wrap"},Dy=y("button",{class:"submit-btn",type:"submit"},"Submit form",-1),Py=J({__name:"RequiredDemo",setup(e){const a=A(),{isDark:t}=Le(),n=()=>{alert("Form submitted")};return(o,r)=>(i(),m("div",$y,[y("form",{onSubmit:ia(n,["prevent"])},[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),Dy],32)]))}}),Ty={class:"demo-wrap"},My={class:"buttons-wrap"},xy=["onClick"],Sy=J({__name:"SixWeeksDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=[!0,"append","prepend","center","fair"],o=A(!0);return(r,l)=>(i(),m("div",Ty,[y("div",My,[(i(),m(pe,null,Me(n,(u,d)=>y("button",{class:he(["change-btn",{"btn-active":u===o.value}]),key:d,onClick:b=>o.value=u},ce(u),11,xy)),64))]),ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t),"six-weeks":o.value},null,8,["modelValue","dark","six-weeks"])]))}}),Ay=we(Sy,[["__scopeId","data-v-9aafd744"]]),Cy={class:"demo-wrap"},Vy=J({__name:"TextInputDemo",props:["textInput","placeholder","minDate","maxDate"],setup(e){const a=A(new Date),{isDark:t}=Le();return(n,o)=>(i(),m("div",Cy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),"text-input":e.textInput,placeholder:e.placeholder,"min-date":e.minDate,"max-date":e.maxDate},null,8,["modelValue","dark","text-input","placeholder","min-date","max-date"])]))}}),Oy={class:"demo-wrap"},Iy=J({__name:"TimePickerDemo",props:["modeHeight"],setup(e){const{isDark:a}=Le(),t=A({hours:new Date().getHours(),minutes:new Date().getMinutes()});return(n,o)=>(i(),m("div",Oy,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"time-picker":""}),null,16,["modelValue","dark"])]))}}),Ly={class:"demo-wrap"},Ny={class:"custom-time-picker-component"},Ry=["value","onChange"],By=["value"],Ey=["value","onChange"],Hy=["value"],Yy=J({__name:"TimePickerSlotDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const r=[];for(let l=0;l<24;l++)r.push({text:l<10?`0${l}`:l,value:l});return r}),o=x(()=>{const r=[];for(let l=0;l<60;l++)r.push({text:l<10?`0${l}`:l,value:l});return r});return(r,l)=>(i(),m("div",Ly,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t)},{"time-picker":w(({time:u,updateTime:d})=>[y("div",Ny,[y("select",{class:"select-input",value:u.hours,onChange:b=>d(+b.target.value)},[(i(!0),m(pe,null,Me(n.value,b=>(i(),m("option",{key:b.value,value:b.value},ce(b.text),9,By))),128))],40,Ry),y("select",{class:"select-input",value:u.minutes,onChange:b=>d(+b.target.value,!1)},[(i(!0),m(pe,null,Me(o.value,b=>(i(),m("option",{key:b.value,value:b.value},ce(b.text),9,Hy))),128))],40,Ey)])]),_:1},8,["modelValue","dark"])]))}}),Fy={class:"demo-wrap"},zy={key:0},Wy=J({__name:"TimezoneDemo",setup(e){const a=A(),{isDark:t}=Le();return(n,o)=>(i(),m("div",Fy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),utc:"",placeholder:"Select Date"},null,8,["modelValue","dark"]),a.value?(i(),m("p",zy,"Selected date in UTC format: "+ce(a.value),1)):S("",!0)]))}}),Uy={class:"demo-wrap"},qy=J({__name:"YearPickerDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(new Date().getFullYear());return(n,o)=>(i(),m("div",Uy,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"year-picker":""}),null,16,["modelValue","dark"])]))}}),Hr=e=>(rt("data-v-76aa1e38"),e=e(),lt(),e),jy={class:"tz-demo-wrap"},Qy={class:"dp-container-wrap"},Ky={class:"tz-range-slider-wrap"},Gy=Hr(()=>y("br",null,null,-1)),Xy=Hr(()=>y("br",null,null,-1)),Jy={key:0},Zy=J({__name:"TimezoneNewDemo",props:{timezone:{type:Object,default:void 0},emitVal:{type:Boolean,default:!1}},setup(e){const{isDark:a}=Le(),t=e,n=A(),o=A(11),r=A(),l=x(()=>{var c,g;if(t.emitVal)return;const p=Se(new Date)+1>9?Se(new Date)+1:`0${Se(new Date)+1}`;return(c=t.timezone)!=null&&c.exactMatch?new Date:(g=t.timezone)!=null&&g.dateInTz?`${Pe(new Date)}-${p}-15T01:00:00Z`:`${Pe(new Date)}-${p}-15T01:00:00Z`}),u=[{tz:"Pacific/Midway",offset:-11},{tz:"America/Adak",offset:-10},{tz:"Pacific/Gambier",offset:-9},{tz:"America/Los_Angeles",offset:-8},{tz:"America/Denver",offset:-7},{tz:"America/Chicago",offset:-6},{tz:"America/New_York",offset:-5},{tz:"America/Santiago",offset:-4},{tz:"America/Sao_Paulo",offset:-3},{tz:"America/Noronha",offset:-2},{tz:"Atlantic/Cape_Verde",offset:-1},{tz:"UTC",offset:0},{tz:"Europe/Brussels",offset:1},{tz:"Africa/Cairo",offset:2},{tz:"Europe/Minsk",offset:3},{tz:"Europe/Moscow",offset:4},{tz:"Asia/Tashkent",offset:5},{tz:"Asia/Dhaka",offset:6},{tz:"Asia/Novosibirsk",offset:7},{tz:"Australia/Perth",offset:8},{tz:"Asia/Tokyo",offset:9},{tz:"Australia/Hobart",offset:10},{tz:"Asia/Vladivostok",offset:11},{tz:"Pacific/Auckland",offset:12}],d=x(()=>u[o.value]),b=x(()=>{const p=t.emitVal?{emitTimezone:d.value.tz}:{timezone:d.value.tz};return t.timezone?{...t.timezone,...p}:p}),f=p=>{r.value=p.toISOString()};return(p,c)=>(i(),m("div",jy,[y("div",Qy,[ee(s(Ie),{modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=g=>n.value=g),dark:s(a),timezone:b.value,inline:"","auto-apply":"","max-date":l.value,"onUpdate:modelTimezoneValue":f},null,8,["modelValue","dark","timezone","max-date"])]),y("div",Ky,[y("div",null,[y("span",null,"Timezone: "+ce(d.value.tz),1),Gy,y("span",null,"Offset: "+ce(d.value.offset>0?`+${d.value.offset}`:d.value.offset),1),Xy,r.value?(i(),m("span",Jy,"Zoned date: "+ce(r.value),1)):S("",!0)]),y("div",null,[Ta(y("input",{class:"tz-range-slider",type:"range","onUpdate:modelValue":c[1]||(c[1]=g=>o.value=g),min:"0",max:"22"},null,512),[[ll,o.value]])])])]))}}),eg=we(Zy,[["__scopeId","data-v-76aa1e38"]]),ng={extends:Xo,Layout:kc,enhanceApp({app:e}){e.component("StarAndSponsor",Mc),e.component("ActionRowSlotDemo",Yf),e.component("CustomCalendarDemo",zf),e.component("DarkDemo",Uf),e.component("DemoDayClass",jf),e.component("DemoHighlight",Kf),e.component("DemoMarkers",Jf),e.component("DemoSlots",Oh),e.component("DisabledDatesDemo",Lh),e.component("DisabledRangeDateDemo",Rh),e.component("DisabledTimesDemo",Fh),e.component("DisplayModelDemo",Uh),e.component("EmitTimezone",jh),e.component("EmptyDemo",Kh),e.component("FiltersDemo",Xh),e.component("FormatDemo",Zh),e.component("GlobalDemo",t0),e.component("LocalizedOutput",O0),e.component("MinMaxDemo",L0),e.component("MonthPickerDemo",R0),e.component("MonthYearSlotDemo",my),e.component("PresetRange",hy),e.component("PreviewFormatDemo",gy),e.component("QuarterPickerDemo",by),e.component("RangeDemo",wy),e.component("RequiredDemo",Py),e.component("SixWeeksDemo",Ay),e.component("TextInputDemo",Vy),e.component("TimePickerDemo",Iy),e.component("TimePickerSlotDemo",Yy),e.component("TimezoneDemo",Wy),e.component("YearPickerDemo",qy),e.component("TimezoneNewDemo",eg)}};export{ng as R,Ml as a,Ce as u};
+const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ui-custom.CYhWyhyp.js","assets/chunks/framework.BKRot_tQ.js","assets/chunks/VPAlgoliaSearchBox.Bo_ZBJOJ.js"])))=>i.map(i=>d[i]);
+var Fr=Object.defineProperty;var zr=(e,a,t)=>a in e?Fr(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var ye=(e,a,t)=>zr(e,typeof a!="symbol"?a+"":a,t);import{d as J,o as i,c as m,r as k,n as he,a as Ne,t as ce,b as le,w,e as S,T as Ht,_ as we,u as Le,i as Wr,f as Ur,g as Nn,h as x,j as y,k as s,p as rt,l as lt,m as sa,q as Pn,s as A,v as Je,x as ja,y as Ue,z as Xt,A as Rn,B as qr,C as jr,D as ua,F as pe,E as Me,G as Vo,H as Qa,I as ee,J as Oo,K as Io,L as ft,M as Lo,N as Ka,O as Oe,P as Ga,Q as Qr,R as mt,S as Kr,U as yt,V as No,W as Xa,X as Gr,Y as Ro,Z as Bo,$ as Eo,a0 as Xr,a1 as Jr,a2 as ia,a3 as Jt,a4 as Zr,a5 as Va,a6 as Sa,a7 as at,a8 as ot,a9 as pt,aa as uo,ab as el,ac as tl,ad as co,ae as al,af as nl,ag as Ta,ah as Ya,ai as ol,aj as rl,ak as Lt,al as ll}from"./framework.BKRot_tQ.js";const sl=J({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(a,t)=>(i(),m("span",{class:he(["VPBadge",a.type])},[k(a.$slots,"default",{},()=>[Ne(ce(a.text),1)])],2))}}),il={key:0,class:"VPBackdrop"},ul=J({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(a,t)=>(i(),le(Ht,{name:"fade"},{default:w(()=>[a.show?(i(),m("div",il)):S("",!0)]),_:1}))}}),dl=we(ul,[["__scopeId","data-v-c79a1216"]]),Ce=Le;function cl(e,a){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(e,a):(e(),(n=!0)&&setTimeout(()=>n=!1,a))}}function Tn(e){return/^\//.test(e)?e:`/${e}`}function Bn(e){const{pathname:a,search:t,hash:n,protocol:o}=new URL(e,"http://a.com");if(Wr(e)||e.startsWith("#")||!o.startsWith("http")||!Ur(a))return e;const{site:r}=Ce(),l=a.endsWith("/")||a.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${a.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return Nn(l)}function Oa({correspondingLink:e=!1}={}){const{site:a,localeIndex:t,page:n,theme:o,hash:r}=Ce(),l=x(()=>{var d,b;return{label:(d=a.value.locales[t.value])==null?void 0:d.label,link:((b=a.value.locales[t.value])==null?void 0:b.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:x(()=>Object.entries(a.value.locales).flatMap(([d,b])=>l.value.label===b.label?[]:{text:b.label,link:vl(b.link||(d==="root"?"/":`/${d}/`),o.value.i18nRouting!==!1&&e,n.value.relativePath.slice(l.value.link.length-1),!a.value.cleanUrls)+r.value})),currentLang:l}}function vl(e,a,t,n){return a?e.replace(/\/$/,"")+Tn(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const ml=e=>(rt("data-v-d6be1790"),e=e(),lt(),e),pl={class:"NotFound"},fl={class:"code"},hl={class:"title"},yl=ml(()=>y("div",{class:"divider"},null,-1)),gl={class:"quote"},_l={class:"action"},bl=["href","aria-label"],kl=J({__name:"NotFound",setup(e){const{theme:a}=Ce(),{currentLang:t}=Oa();return(n,o)=>{var r,l,u,d,b;return i(),m("div",pl,[y("p",fl,ce(((r=s(a).notFound)==null?void 0:r.code)??"404"),1),y("h1",hl,ce(((l=s(a).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),yl,y("blockquote",gl,ce(((u=s(a).notFound)==null?void 0:u.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),y("div",_l,[y("a",{class:"link",href:s(Nn)(s(t).link),"aria-label":((d=s(a).notFound)==null?void 0:d.linkLabel)??"go to home"},ce(((b=s(a).notFound)==null?void 0:b.linkText)??"Take me home"),9,bl)])])}}}),wl=we(kl,[["__scopeId","data-v-d6be1790"]]);function Ho(e,a){if(Array.isArray(e))return Fa(e);if(e==null)return[];a=Tn(a);const t=Object.keys(e).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>a.startsWith(Tn(o))),n=t?e[t]:[];return Array.isArray(n)?Fa(n):Fa(n.items,n.base)}function $l(e){const a=[];let t=0;for(const n in e){const o=e[n];if(o.items){t=a.push(o);continue}a[t]||a.push({items:[]}),a[t].items.push(o)}return a}function Dl(e){const a=[];function t(n){for(const o of n)o.text&&o.link&&a.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(e),a}function Mn(e,a){return Array.isArray(a)?a.some(t=>Mn(e,t)):sa(e,a.link)?!0:a.items?Mn(e,a.items):!1}function Fa(e,a){return[...e].map(t=>{const n={...t},o=n.base||a;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Fa(n.items,o)),n})}function Yt(){const{frontmatter:e,page:a,theme:t}=Ce(),n=Pn("(min-width: 960px)"),o=A(!1),r=x(()=>{const $=t.value.sidebar,R=a.value.relativePath;return $?Ho($,R):[]}),l=A(r.value);Je(r,($,R)=>{JSON.stringify($)!==JSON.stringify(R)&&(l.value=r.value)});const u=x(()=>e.value.sidebar!==!1&&l.value.length>0&&e.value.layout!=="home"),d=x(()=>b?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),b=x(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),f=x(()=>u.value&&n.value),p=x(()=>u.value?$l(l.value):[]);function c(){o.value=!0}function g(){o.value=!1}function P(){o.value?g():c()}return{isOpen:o,sidebar:l,sidebarGroups:p,hasSidebar:u,hasAside:b,leftAside:d,isSidebarEnabled:f,open:c,close:g,toggle:P}}function Pl(e,a){let t;ja(()=>{t=e.value?document.activeElement:void 0}),Ue(()=>{window.addEventListener("keyup",n)}),Xt(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&e.value&&(a(),t==null||t.focus())}}function Tl(e){const{page:a,hash:t}=Ce(),n=A(!1),o=x(()=>e.value.collapsed!=null),r=x(()=>!!e.value.link),l=A(!1),u=()=>{l.value=sa(a.value.relativePath,e.value.link)};Je([a,e,t],u),Ue(u);const d=x(()=>l.value?!0:e.value.items?Mn(a.value.relativePath,e.value.items):!1),b=x(()=>!!(e.value.items&&e.value.items.length));ja(()=>{n.value=!!(o.value&&e.value.collapsed)}),Rn(()=>{(l.value||d.value)&&(n.value=!1)});function f(){o.value&&(n.value=!n.value)}return{collapsed:n,collapsible:o,isLink:r,isActiveLink:l,hasActiveLink:d,hasChildren:b,toggle:f}}function Ml(){const{hasSidebar:e}=Yt(),a=Pn("(min-width: 960px)"),t=Pn("(min-width: 1280px)");return{isAsideEnabled:x(()=>!t.value&&!a.value?!1:e.value?t.value:a.value)}}const xn=[];function Yo(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function En(e){const a=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:xl(t),link:"#"+t.id,level:n}});return Sl(a,e)}function xl(e){let a="";for(const t of e.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;a+=t.textContent}else t.nodeType===3&&(a+=t.textContent);return a.trim()}function Sl(e,a){if(a===!1)return[];const t=(typeof a=="object"&&!Array.isArray(a)?a.level:a)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;e=e.filter(l=>l.level>=n&&l.level<=o),xn.length=0;for(const{element:l,link:u}of e)xn.push({element:l,link:u});const r=[];e:for(let l=0;l=0;d--){const b=e[d];if(b.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),qr(()=>{l(location.hash)}),Xt(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const u=window.scrollY,d=window.innerHeight,b=document.body.offsetHeight,f=Math.abs(u+d-b)<1,p=xn.map(({element:g,link:P})=>({link:P,top:Cl(g)})).filter(({top:g})=>!Number.isNaN(g)).sort((g,P)=>g.top-P.top);if(!p.length){l(null);return}if(u<1){l(null);return}if(f){l(p[p.length-1].link);return}let c=null;for(const{link:g,top:P}of p){if(P>u+jr()+4)break;c=g}l(c)}function l(u){o&&o.classList.remove("active"),u==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(u)}"]`);const d=o;d?(d.classList.add("active"),a.value.style.top=d.offsetTop+39+"px",a.value.style.opacity="1"):(a.value.style.top="33px",a.value.style.opacity="0")}}function Cl(e){let a=0;for(;e!==document.body;){if(e===null)return NaN;a+=e.offsetTop,e=e.offsetParent}return a}const Vl=["href","title"],Ol=J({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function a({target:t}){const n=t.href.split("#")[1],o=document.getElementById(decodeURIComponent(n));o==null||o.focus({preventScroll:!0})}return(t,n)=>{const o=ua("VPDocOutlineItem",!0);return i(),m("ul",{class:he(["VPDocOutlineItem",t.root?"root":"nested"])},[(i(!0),m(pe,null,Me(t.headers,({children:r,link:l,title:u})=>(i(),m("li",null,[y("a",{class:"outline-link",href:l,onClick:a,title:u},ce(u),9,Vl),r!=null&&r.length?(i(),le(o,{key:0,headers:r},null,8,["headers"])):S("",!0)]))),256))],2)}}}),Fo=we(Ol,[["__scopeId","data-v-b933a997"]]),Il={class:"content"},Ll={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Nl=J({__name:"VPDocAsideOutline",setup(e){const{frontmatter:a,theme:t}=Ce(),n=Vo([]);Qa(()=>{n.value=En(a.value.outline??t.value.outline)});const o=A(),r=A();return Al(o,r),(l,u)=>(i(),m("nav",{"aria-labelledby":"doc-outline-aria-label",class:he(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o},[y("div",Il,[y("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),y("div",Ll,ce(s(Yo)(s(t))),1),ee(Fo,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),Rl=we(Nl,[["__scopeId","data-v-a5bbad30"]]),Bl={class:"VPDocAsideCarbonAds"},El=J({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const a=Oo(()=>Io(()=>import("./ui-custom.CYhWyhyp.js"),__vite__mapDeps([0,1])));return(t,n)=>(i(),m("div",Bl,[ee(s(a),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Hl=e=>(rt("data-v-3f215769"),e=e(),lt(),e),Yl={class:"VPDocAside"},Fl=Hl(()=>y("div",{class:"spacer"},null,-1)),zl=J({__name:"VPDocAside",setup(e){const{theme:a}=Ce();return(t,n)=>(i(),m("div",Yl,[k(t.$slots,"aside-top",{},void 0,!0),k(t.$slots,"aside-outline-before",{},void 0,!0),ee(Rl),k(t.$slots,"aside-outline-after",{},void 0,!0),Fl,k(t.$slots,"aside-ads-before",{},void 0,!0),s(a).carbonAds?(i(),le(El,{key:0,"carbon-ads":s(a).carbonAds},null,8,["carbon-ads"])):S("",!0),k(t.$slots,"aside-ads-after",{},void 0,!0),k(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Wl=we(zl,[["__scopeId","data-v-3f215769"]]);function Ul(){const{theme:e,page:a}=Ce();return x(()=>{const{text:t="Edit this page",pattern:n=""}=e.value.editLink||{};let o;return typeof n=="function"?o=n(a.value):o=n.replace(/:path/g,a.value.filePath),{url:o,text:t}})}function ql(){const{page:e,theme:a,frontmatter:t}=Ce();return x(()=>{var b,f,p,c,g,P,$,R;const n=Ho(a.value.sidebar,e.value.relativePath),o=Dl(n),r=jl(o,W=>W.link.replace(/[?#].*$/,"")),l=r.findIndex(W=>sa(e.value.relativePath,W.link)),u=((b=a.value.docFooter)==null?void 0:b.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((f=a.value.docFooter)==null?void 0:f.next)===!1&&!t.value.next||t.value.next===!1;return{prev:u?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((p=r[l-1])==null?void 0:p.docFooterText)??((c=r[l-1])==null?void 0:c.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((g=r[l-1])==null?void 0:g.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((P=r[l+1])==null?void 0:P.docFooterText)??(($=r[l+1])==null?void 0:$.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((R=r[l+1])==null?void 0:R.link)}}})}function jl(e,a){const t=new Set;return e.filter(n=>{const o=a(n);return t.has(o)?!1:t.add(o)})}const It=J({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const a=e,t=x(()=>a.tag??(a.href?"a":"span")),n=x(()=>a.href&&Lo.test(a.href)||a.target==="_blank");return(o,r)=>(i(),le(ft(t.value),{class:he(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?s(Bn)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:w(()=>[k(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Ql={class:"VPLastUpdated"},Kl=["datetime"],Gl=J({__name:"VPDocFooterLastUpdated",setup(e){const{theme:a,page:t,lang:n}=Ce(),o=x(()=>new Date(t.value.lastUpdated)),r=x(()=>o.value.toISOString()),l=A("");return Ue(()=>{ja(()=>{var u,d,b;l.value=new Intl.DateTimeFormat((d=(u=a.value.lastUpdated)==null?void 0:u.formatOptions)!=null&&d.forceLocale?n.value:void 0,((b=a.value.lastUpdated)==null?void 0:b.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(u,d)=>{var b;return i(),m("p",Ql,[Ne(ce(((b=s(a).lastUpdated)==null?void 0:b.text)||s(a).lastUpdatedText||"Last updated")+": ",1),y("time",{datetime:r.value},ce(l.value),9,Kl)])}}}),Xl=we(Gl,[["__scopeId","data-v-e98dd255"]]),zo=e=>(rt("data-v-e257564d"),e=e(),lt(),e),Jl={key:0,class:"VPDocFooter"},Zl={key:0,class:"edit-info"},es={key:0,class:"edit-link"},ts=zo(()=>y("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),as={key:1,class:"last-updated"},ns={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},os=zo(()=>y("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),rs={class:"pager"},ls=["innerHTML"],ss=["innerHTML"],is={class:"pager"},us=["innerHTML"],ds=["innerHTML"],cs=J({__name:"VPDocFooter",setup(e){const{theme:a,page:t,frontmatter:n}=Ce(),o=Ul(),r=ql(),l=x(()=>a.value.editLink&&n.value.editLink!==!1),u=x(()=>t.value.lastUpdated),d=x(()=>l.value||u.value||r.value.prev||r.value.next);return(b,f)=>{var p,c,g,P;return d.value?(i(),m("footer",Jl,[k(b.$slots,"doc-footer-before",{},void 0,!0),l.value||u.value?(i(),m("div",Zl,[l.value?(i(),m("div",es,[ee(It,{class:"edit-link-button",href:s(o).url,"no-icon":!0},{default:w(()=>[ts,Ne(" "+ce(s(o).text),1)]),_:1},8,["href"])])):S("",!0),u.value?(i(),m("div",as,[ee(Xl)])):S("",!0)])):S("",!0),(p=s(r).prev)!=null&&p.link||(c=s(r).next)!=null&&c.link?(i(),m("nav",ns,[os,y("div",rs,[(g=s(r).prev)!=null&&g.link?(i(),le(It,{key:0,class:"pager-link prev",href:s(r).prev.link},{default:w(()=>{var $;return[y("span",{class:"desc",innerHTML:(($=s(a).docFooter)==null?void 0:$.prev)||"Previous page"},null,8,ls),y("span",{class:"title",innerHTML:s(r).prev.text},null,8,ss)]}),_:1},8,["href"])):S("",!0)]),y("div",is,[(P=s(r).next)!=null&&P.link?(i(),le(It,{key:0,class:"pager-link next",href:s(r).next.link},{default:w(()=>{var $;return[y("span",{class:"desc",innerHTML:(($=s(a).docFooter)==null?void 0:$.next)||"Next page"},null,8,us),y("span",{class:"title",innerHTML:s(r).next.text},null,8,ds)]}),_:1},8,["href"])):S("",!0)])])):S("",!0)])):S("",!0)}}}),vs=we(cs,[["__scopeId","data-v-e257564d"]]),ms=e=>(rt("data-v-39a288b8"),e=e(),lt(),e),ps={class:"container"},fs=ms(()=>y("div",{class:"aside-curtain"},null,-1)),hs={class:"aside-container"},ys={class:"aside-content"},gs={class:"content"},_s={class:"content-container"},bs={class:"main"},ks=J({__name:"VPDoc",setup(e){const{theme:a}=Ce(),t=Ka(),{hasSidebar:n,hasAside:o,leftAside:r}=Yt(),l=x(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(u,d)=>{const b=ua("Content");return i(),m("div",{class:he(["VPDoc",{"has-sidebar":s(n),"has-aside":s(o)}])},[k(u.$slots,"doc-top",{},void 0,!0),y("div",ps,[s(o)?(i(),m("div",{key:0,class:he(["aside",{"left-aside":s(r)}])},[fs,y("div",hs,[y("div",ys,[ee(Wl,null,{"aside-top":w(()=>[k(u.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":w(()=>[k(u.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":w(()=>[k(u.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(u.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(u.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(u.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):S("",!0),y("div",gs,[y("div",_s,[k(u.$slots,"doc-before",{},void 0,!0),y("main",bs,[ee(b,{class:he(["vp-doc",[l.value,s(a).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),ee(vs,null,{"doc-footer-before":w(()=>[k(u.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),k(u.$slots,"doc-after",{},void 0,!0)])])]),k(u.$slots,"doc-bottom",{},void 0,!0)],2)}}}),ws=we(ks,[["__scopeId","data-v-39a288b8"]]),$s=J({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const a=e,t=x(()=>a.href&&Lo.test(a.href)),n=x(()=>a.tag||a.href?"a":"button");return(o,r)=>(i(),le(ft(n.value),{class:he(["VPButton",[o.size,o.theme]]),href:o.href?s(Bn)(o.href):void 0,target:a.target??(t.value?"_blank":void 0),rel:a.rel??(t.value?"noreferrer":void 0)},{default:w(()=>[Ne(ce(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),Ds=we($s,[["__scopeId","data-v-cad61b99"]]),Ps=["src","alt"],Ts=J({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(a,t)=>{const n=ua("VPImage",!0);return a.image?(i(),m(pe,{key:0},[typeof a.image=="string"||"src"in a.image?(i(),m("img",Oe({key:0,class:"VPImage"},typeof a.image=="string"?a.$attrs:{...a.image,...a.$attrs},{src:s(Nn)(typeof a.image=="string"?a.image:a.image.src),alt:a.alt??(typeof a.image=="string"?"":a.image.alt||"")}),null,16,Ps)):(i(),m(pe,{key:1},[ee(n,Oe({class:"dark",image:a.image.dark,alt:a.image.alt},a.$attrs),null,16,["image","alt"]),ee(n,Oe({class:"light",image:a.image.light,alt:a.image.alt},a.$attrs),null,16,["image","alt"])],64))],64)):S("",!0)}}}),za=we(Ts,[["__scopeId","data-v-8426fc1a"]]),Ms=e=>(rt("data-v-303bb580"),e=e(),lt(),e),xs={class:"container"},Ss={class:"main"},As={key:0,class:"name"},Cs=["innerHTML"],Vs=["innerHTML"],Os=["innerHTML"],Is={key:0,class:"actions"},Ls={key:0,class:"image"},Ns={class:"image-container"},Rs=Ms(()=>y("div",{class:"image-bg"},null,-1)),Bs=J({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const a=Ga("hero-image-slot-exists");return(t,n)=>(i(),m("div",{class:he(["VPHero",{"has-image":t.image||s(a)}])},[y("div",xs,[y("div",Ss,[k(t.$slots,"home-hero-info-before",{},void 0,!0),k(t.$slots,"home-hero-info",{},()=>[t.name?(i(),m("h1",As,[y("span",{innerHTML:t.name,class:"clip"},null,8,Cs)])):S("",!0),t.text?(i(),m("p",{key:1,innerHTML:t.text,class:"text"},null,8,Vs)):S("",!0),t.tagline?(i(),m("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Os)):S("",!0)],!0),k(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(i(),m("div",Is,[(i(!0),m(pe,null,Me(t.actions,o=>(i(),m("div",{key:o.link,class:"action"},[ee(Ds,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):S("",!0),k(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||s(a)?(i(),m("div",Ls,[y("div",Ns,[Rs,k(t.$slots,"home-hero-image",{},()=>[t.image?(i(),le(za,{key:0,class:"image-src",image:t.image},null,8,["image"])):S("",!0)],!0)])])):S("",!0)])],2))}}),Es=we(Bs,[["__scopeId","data-v-303bb580"]]),Hs=J({__name:"VPHomeHero",setup(e){const{frontmatter:a}=Ce();return(t,n)=>s(a).hero?(i(),le(Es,{key:0,class:"VPHomeHero",name:s(a).hero.name,text:s(a).hero.text,tagline:s(a).hero.tagline,image:s(a).hero.image,actions:s(a).hero.actions},{"home-hero-info-before":w(()=>[k(t.$slots,"home-hero-info-before")]),"home-hero-info":w(()=>[k(t.$slots,"home-hero-info")]),"home-hero-info-after":w(()=>[k(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":w(()=>[k(t.$slots,"home-hero-actions-after")]),"home-hero-image":w(()=>[k(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):S("",!0)}}),Ys=e=>(rt("data-v-a3976bdc"),e=e(),lt(),e),Fs={class:"box"},zs={key:0,class:"icon"},Ws=["innerHTML"],Us=["innerHTML"],qs=["innerHTML"],js={key:4,class:"link-text"},Qs={class:"link-text-value"},Ks=Ys(()=>y("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Gs=J({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(a,t)=>(i(),le(It,{class:"VPFeature",href:a.link,rel:a.rel,target:a.target,"no-icon":!0,tag:a.link?"a":"div"},{default:w(()=>[y("article",Fs,[typeof a.icon=="object"&&a.icon.wrap?(i(),m("div",zs,[ee(za,{image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])])):typeof a.icon=="object"?(i(),le(za,{key:1,image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])):a.icon?(i(),m("div",{key:2,class:"icon",innerHTML:a.icon},null,8,Ws)):S("",!0),y("h2",{class:"title",innerHTML:a.title},null,8,Us),a.details?(i(),m("p",{key:3,class:"details",innerHTML:a.details},null,8,qs)):S("",!0),a.linkText?(i(),m("div",js,[y("p",Qs,[Ne(ce(a.linkText)+" ",1),Ks])])):S("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Xs=we(Gs,[["__scopeId","data-v-a3976bdc"]]),Js={key:0,class:"VPFeatures"},Zs={class:"container"},ei={class:"items"},ti=J({__name:"VPFeatures",props:{features:{}},setup(e){const a=e,t=x(()=>{const n=a.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(i(),m("div",Js,[y("div",Zs,[y("div",ei,[(i(!0),m(pe,null,Me(n.features,r=>(i(),m("div",{key:r.title,class:he(["item",[t.value]])},[ee(Xs,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):S("",!0)}}),ai=we(ti,[["__scopeId","data-v-a6181336"]]),ni=J({__name:"VPHomeFeatures",setup(e){const{frontmatter:a}=Ce();return(t,n)=>s(a).features?(i(),le(ai,{key:0,class:"VPHomeFeatures",features:s(a).features},null,8,["features"])):S("",!0)}}),oi=J({__name:"VPHomeContent",setup(e){const{width:a}=Qr({initialWidth:0,includeScrollbar:!1});return(t,n)=>(i(),m("div",{class:"vp-doc container",style:mt(s(a)?{"--vp-offset":`calc(50% - ${s(a)/2}px)`}:{})},[k(t.$slots,"default",{},void 0,!0)],4))}}),ri=we(oi,[["__scopeId","data-v-8e2d4988"]]),li={class:"VPHome"},si=J({__name:"VPHome",setup(e){const{frontmatter:a}=Ce();return(t,n)=>{const o=ua("Content");return i(),m("div",li,[k(t.$slots,"home-hero-before",{},void 0,!0),ee(Hs,null,{"home-hero-info-before":w(()=>[k(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),k(t.$slots,"home-hero-after",{},void 0,!0),k(t.$slots,"home-features-before",{},void 0,!0),ee(ni),k(t.$slots,"home-features-after",{},void 0,!0),s(a).markdownStyles!==!1?(i(),le(ri,{key:0},{default:w(()=>[ee(o)]),_:1})):(i(),le(o,{key:1}))])}}}),ii=we(si,[["__scopeId","data-v-686f80a6"]]),ui={},di={class:"VPPage"};function ci(e,a){const t=ua("Content");return i(),m("div",di,[k(e.$slots,"page-top"),ee(t),k(e.$slots,"page-bottom")])}const vi=we(ui,[["render",ci]]),mi=J({__name:"VPContent",setup(e){const{page:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt();return(o,r)=>(i(),m("div",{class:he(["VPContent",{"has-sidebar":s(n),"is-home":s(t).layout==="home"}]),id:"VPContent"},[s(a).isNotFound?k(o.$slots,"not-found",{key:0},()=>[ee(wl)],!0):s(t).layout==="page"?(i(),le(vi,{key:1},{"page-top":w(()=>[k(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":w(()=>[k(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):s(t).layout==="home"?(i(),le(ii,{key:2},{"home-hero-before":w(()=>[k(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":w(()=>[k(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":w(()=>[k(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":w(()=>[k(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":w(()=>[k(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):s(t).layout&&s(t).layout!=="doc"?(i(),le(ft(s(t).layout),{key:3})):(i(),le(ws,{key:4},{"doc-top":w(()=>[k(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":w(()=>[k(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":w(()=>[k(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":w(()=>[k(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":w(()=>[k(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":w(()=>[k(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":w(()=>[k(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":w(()=>[k(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),pi=we(mi,[["__scopeId","data-v-1428d186"]]),fi={class:"container"},hi=["innerHTML"],yi=["innerHTML"],gi=J({__name:"VPFooter",setup(e){const{theme:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt();return(o,r)=>s(a).footer&&s(t).footer!==!1?(i(),m("footer",{key:0,class:he(["VPFooter",{"has-sidebar":s(n)}])},[y("div",fi,[s(a).footer.message?(i(),m("p",{key:0,class:"message",innerHTML:s(a).footer.message},null,8,hi)):S("",!0),s(a).footer.copyright?(i(),m("p",{key:1,class:"copyright",innerHTML:s(a).footer.copyright},null,8,yi)):S("",!0)])],2)):S("",!0)}}),_i=we(gi,[["__scopeId","data-v-e315a0ad"]]);function bi(){const{theme:e,frontmatter:a}=Ce(),t=Vo([]),n=x(()=>t.value.length>0);return Qa(()=>{t.value=En(a.value.outline??e.value.outline)}),{headers:t,hasLocalNav:n}}const ki=e=>(rt("data-v-17a5e62e"),e=e(),lt(),e),wi={class:"menu-text"},$i=ki(()=>y("span",{class:"vpi-chevron-right icon"},null,-1)),Di={class:"header"},Pi={class:"outline"},Ti=J({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const a=e,{theme:t}=Ce(),n=A(!1),o=A(0),r=A(),l=A();function u(p){var c;(c=r.value)!=null&&c.contains(p.target)||(n.value=!1)}Je(n,p=>{if(p){document.addEventListener("click",u);return}document.removeEventListener("click",u)}),Kr("Escape",()=>{n.value=!1}),Qa(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-a.navHeight,0)}function b(p){p.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),yt(()=>{n.value=!1}))}function f(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(p,c)=>(i(),m("div",{class:"VPLocalNavOutlineDropdown",style:mt({"--vp-vh":o.value+"px"}),ref_key:"main",ref:r},[p.headers.length>0?(i(),m("button",{key:0,onClick:d,class:he({open:n.value})},[y("span",wi,ce(s(Yo)(s(t))),1),$i],2)):(i(),m("button",{key:1,onClick:f},ce(s(t).returnToTopLabel||"Return to top"),1)),ee(Ht,{name:"flyout"},{default:w(()=>[n.value?(i(),m("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:b},[y("div",Di,[y("a",{class:"top-link",href:"#",onClick:f},ce(s(t).returnToTopLabel||"Return to top"),1)]),y("div",Pi,[ee(Fo,{headers:p.headers},null,8,["headers"])])],512)):S("",!0)]),_:1})],4))}}),Mi=we(Ti,[["__scopeId","data-v-17a5e62e"]]),xi=e=>(rt("data-v-a6f0e41e"),e=e(),lt(),e),Si={class:"container"},Ai=["aria-expanded"],Ci=xi(()=>y("span",{class:"vpi-align-left menu-icon"},null,-1)),Vi={class:"menu-text"},Oi=J({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt(),{headers:o}=bi(),{y:r}=No(),l=A(0);Ue(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Qa(()=>{o.value=En(t.value.outline??a.value.outline)});const u=x(()=>o.value.length===0),d=x(()=>u.value&&!n.value),b=x(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:u.value,fixed:d.value}));return(f,p)=>s(t).layout!=="home"&&(!d.value||s(r)>=l.value)?(i(),m("div",{key:0,class:he(b.value)},[y("div",Si,[s(n)?(i(),m("button",{key:0,class:"menu","aria-expanded":f.open,"aria-controls":"VPSidebarNav",onClick:p[0]||(p[0]=c=>f.$emit("open-menu"))},[Ci,y("span",Vi,ce(s(a).sidebarMenuLabel||"Menu"),1)],8,Ai)):S("",!0),ee(Mi,{headers:s(o),navHeight:l.value},null,8,["headers","navHeight"])])],2)):S("",!0)}}),Ii=we(Oi,[["__scopeId","data-v-a6f0e41e"]]);function Li(){const e=A(!1);function a(){e.value=!0,window.addEventListener("resize",o)}function t(){e.value=!1,window.removeEventListener("resize",o)}function n(){e.value?t():a()}function o(){window.outerWidth>=768&&t()}const r=Ka();return Je(()=>r.path,t),{isScreenOpen:e,openScreen:a,closeScreen:t,toggleScreen:n}}const Ni={},Ri={class:"VPSwitch",type:"button",role:"switch"},Bi={class:"check"},Ei={key:0,class:"icon"};function Hi(e,a){return i(),m("button",Ri,[y("span",Bi,[e.$slots.default?(i(),m("span",Ei,[k(e.$slots,"default",{},void 0,!0)])):S("",!0)])])}const Yi=we(Ni,[["render",Hi],["__scopeId","data-v-1d5665e3"]]),Wo=e=>(rt("data-v-5337faa4"),e=e(),lt(),e),Fi=Wo(()=>y("span",{class:"vpi-sun sun"},null,-1)),zi=Wo(()=>y("span",{class:"vpi-moon moon"},null,-1)),Wi=J({__name:"VPSwitchAppearance",setup(e){const{isDark:a,theme:t}=Ce(),n=Ga("toggle-appearance",()=>{a.value=!a.value}),o=A("");return Rn(()=>{o.value=a.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,l)=>(i(),le(Yi,{title:o.value,class:"VPSwitchAppearance","aria-checked":s(a),onClick:s(n)},{default:w(()=>[Fi,zi]),_:1},8,["title","aria-checked","onClick"]))}}),Hn=we(Wi,[["__scopeId","data-v-5337faa4"]]),Ui={key:0,class:"VPNavBarAppearance"},qi=J({__name:"VPNavBarAppearance",setup(e){const{site:a}=Ce();return(t,n)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",Ui,[ee(Hn)])):S("",!0)}}),ji=we(qi,[["__scopeId","data-v-6c893767"]]),Yn=A();let Uo=!1,mn=0;function Qi(e){const a=A(!1);if(Xa){!Uo&&Ki(),mn++;const t=Je(Yn,n=>{var o,r,l;n===e.el.value||(o=e.el.value)!=null&&o.contains(n)?(a.value=!0,(r=e.onFocus)==null||r.call(e)):(a.value=!1,(l=e.onBlur)==null||l.call(e))});Xt(()=>{t(),mn--,mn||Gi()})}return Gr(a)}function Ki(){document.addEventListener("focusin",qo),Uo=!0,Yn.value=document.activeElement}function Gi(){document.removeEventListener("focusin",qo)}function qo(){Yn.value=document.activeElement}const Xi={class:"VPMenuLink"},Ji=J({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:a}=Ce();return(t,n)=>(i(),m("div",Xi,[ee(It,{class:he({active:s(sa)(s(a).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:w(()=>[Ne(ce(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Ja=we(Ji,[["__scopeId","data-v-43f1e123"]]),Zi={class:"VPMenuGroup"},eu={key:0,class:"title"},tu=J({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(a,t)=>(i(),m("div",Zi,[a.text?(i(),m("p",eu,ce(a.text),1)):S("",!0),(i(!0),m(pe,null,Me(a.items,n=>(i(),m(pe,null,["link"in n?(i(),le(Ja,{key:0,item:n},null,8,["item"])):S("",!0)],64))),256))]))}}),au=we(tu,[["__scopeId","data-v-69e747b5"]]),nu={class:"VPMenu"},ou={key:0,class:"items"},ru=J({__name:"VPMenu",props:{items:{}},setup(e){return(a,t)=>(i(),m("div",nu,[a.items?(i(),m("div",ou,[(i(!0),m(pe,null,Me(a.items,n=>(i(),m(pe,{key:JSON.stringify(n)},["link"in n?(i(),le(Ja,{key:0,item:n},null,8,["item"])):"component"in n?(i(),le(ft(n.component),Oe({key:1,ref_for:!0},n.props),null,16)):(i(),le(au,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):S("",!0),k(a.$slots,"default",{},void 0,!0)]))}}),lu=we(ru,[["__scopeId","data-v-b98bc113"]]),su=e=>(rt("data-v-b6c34ac9"),e=e(),lt(),e),iu=["aria-expanded","aria-label"],uu={key:0,class:"text"},du=["innerHTML"],cu=su(()=>y("span",{class:"vpi-chevron-down text-icon"},null,-1)),vu={key:1,class:"vpi-more-horizontal icon"},mu={class:"menu"},pu=J({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const a=A(!1),t=A();Qi({el:t,onBlur:n});function n(){a.value=!1}return(o,r)=>(i(),m("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>a.value=!0),onMouseleave:r[2]||(r[2]=l=>a.value=!1)},[y("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":a.value,"aria-label":o.label,onClick:r[0]||(r[0]=l=>a.value=!a.value)},[o.button||o.icon?(i(),m("span",uu,[o.icon?(i(),m("span",{key:0,class:he([o.icon,"option-icon"])},null,2)):S("",!0),o.button?(i(),m("span",{key:1,innerHTML:o.button},null,8,du)):S("",!0),cu])):(i(),m("span",vu))],8,iu),y("div",mu,[ee(lu,{items:o.items},{default:w(()=>[k(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Fn=we(pu,[["__scopeId","data-v-b6c34ac9"]]),fu=["href","aria-label","innerHTML"],hu=J({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const a=e,t=x(()=>typeof a.icon=="object"?a.icon.svg:` `);return(n,o)=>(i(),m("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,fu))}}),yu=we(hu,[["__scopeId","data-v-eee4e7cb"]]),gu={class:"VPSocialLinks"},_u=J({__name:"VPSocialLinks",props:{links:{}},setup(e){return(a,t)=>(i(),m("div",gu,[(i(!0),m(pe,null,Me(a.links,({link:n,icon:o,ariaLabel:r})=>(i(),le(yu,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),zn=we(_u,[["__scopeId","data-v-7bc22406"]]),bu={key:0,class:"group translations"},ku={class:"trans-title"},wu={key:1,class:"group"},$u={class:"item appearance"},Du={class:"label"},Pu={class:"appearance-action"},Tu={key:2,class:"group"},Mu={class:"item social-links"},xu=J({__name:"VPNavBarExtra",setup(e){const{site:a,theme:t}=Ce(),{localeLinks:n,currentLang:o}=Oa({correspondingLink:!0}),r=x(()=>n.value.length&&o.value.label||a.value.appearance||t.value.socialLinks);return(l,u)=>r.value?(i(),le(Fn,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:w(()=>[s(n).length&&s(o).label?(i(),m("div",bu,[y("p",ku,ce(s(o).label),1),(i(!0),m(pe,null,Me(s(n),d=>(i(),le(Ja,{key:d.link,item:d},null,8,["item"]))),128))])):S("",!0),s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",wu,[y("div",$u,[y("p",Du,ce(s(t).darkModeSwitchLabel||"Appearance"),1),y("div",Pu,[ee(Hn)])])])):S("",!0),s(t).socialLinks?(i(),m("div",Tu,[y("div",Mu,[ee(zn,{class:"social-links-list",links:s(t).socialLinks},null,8,["links"])])])):S("",!0)]),_:1})):S("",!0)}}),Su=we(xu,[["__scopeId","data-v-bb2aa2f0"]]),Au=e=>(rt("data-v-e5dd9c1c"),e=e(),lt(),e),Cu=["aria-expanded"],Vu=Au(()=>y("span",{class:"container"},[y("span",{class:"top"}),y("span",{class:"middle"}),y("span",{class:"bottom"})],-1)),Ou=[Vu],Iu=J({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(a,t)=>(i(),m("button",{type:"button",class:he(["VPNavBarHamburger",{active:a.active}]),"aria-label":"mobile navigation","aria-expanded":a.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>a.$emit("click"))},Ou,10,Cu))}}),Lu=we(Iu,[["__scopeId","data-v-e5dd9c1c"]]),Nu=["innerHTML"],Ru=J({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:a}=Ce();return(t,n)=>(i(),le(It,{class:he({VPNavBarMenuLink:!0,active:s(sa)(s(a).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:w(()=>[y("span",{innerHTML:t.item.text},null,8,Nu)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Bu=we(Ru,[["__scopeId","data-v-9c663999"]]),Eu=J({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const a=e,{page:t}=Ce(),n=r=>"component"in r?!1:"link"in r?sa(t.value.relativePath,r.link,!!a.item.activeMatch):r.items.some(n),o=x(()=>n(a.item));return(r,l)=>(i(),le(Fn,{class:he({VPNavBarMenuGroup:!0,active:s(sa)(s(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Hu=e=>(rt("data-v-dc692963"),e=e(),lt(),e),Yu={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Fu=Hu(()=>y("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),zu=J({__name:"VPNavBarMenu",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).nav?(i(),m("nav",Yu,[Fu,(i(!0),m(pe,null,Me(s(a).nav,o=>(i(),m(pe,{key:JSON.stringify(o)},["link"in o?(i(),le(Bu,{key:0,item:o},null,8,["item"])):"component"in o?(i(),le(ft(o.component),Oe({key:1,ref_for:!0},o.props),null,16)):(i(),le(Eu,{key:2,item:o},null,8,["item"]))],64))),128))])):S("",!0)}}),Wu=we(zu,[["__scopeId","data-v-dc692963"]]);function Uu(e){const{localeIndex:a,theme:t}=Ce();function n(o){var P,$,R;const r=o.split("."),l=(P=t.value.search)==null?void 0:P.options,u=l&&typeof l=="object",d=u&&((R=($=l.locales)==null?void 0:$[a.value])==null?void 0:R.translations)||null,b=u&&l.translations||null;let f=d,p=b,c=e;const g=r.pop();for(const W of r){let U=null;const V=c==null?void 0:c[W];V&&(U=c=V);const K=p==null?void 0:p[W];K&&(U=p=K);const se=f==null?void 0:f[W];se&&(U=f=se),V||(c=U),K||(p=U),se||(f=U)}return(f==null?void 0:f[g])??(p==null?void 0:p[g])??(c==null?void 0:c[g])??""}return n}const qu=["aria-label"],ju={class:"DocSearch-Button-Container"},Qu=y("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ku={class:"DocSearch-Button-Placeholder"},Gu=y("span",{class:"DocSearch-Button-Keys"},[y("kbd",{class:"DocSearch-Button-Key"}),y("kbd",{class:"DocSearch-Button-Key"},"K")],-1),vo=J({__name:"VPNavBarSearchButton",setup(e){const t=Uu({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,o)=>(i(),m("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":s(t)("button.buttonAriaLabel")},[y("span",ju,[Qu,y("span",Ku,ce(s(t)("button.buttonText")),1)]),Gu],8,qu))}}),Xu={class:"VPNavBarSearch"},Ju={id:"local-search"},Zu={key:1,id:"docsearch"},ed=J({__name:"VPNavBarSearch",setup(e){const a=()=>null,t=Oo(()=>Io(()=>import("./VPAlgoliaSearchBox.Bo_ZBJOJ.js"),__vite__mapDeps([2,1]))),{theme:n}=Ce(),o=A(!1),r=A(!1),l=()=>{const c="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{var $;const P=document.createElement("link");P.id=c,P.rel="preconnect",P.href=`https://${((($=n.value.search)==null?void 0:$.options)??n.value.algolia).appId}-dsn.algolia.net`,P.crossOrigin="",document.head.appendChild(P)})};Ue(()=>{l();const c=P=>{(P.key.toLowerCase()==="k"&&(P.metaKey||P.ctrlKey)||!b(P)&&P.key==="/")&&(P.preventDefault(),u(),g())},g=()=>{window.removeEventListener("keydown",c)};window.addEventListener("keydown",c),Xt(g)});function u(){o.value||(o.value=!0,setTimeout(d,16))}function d(){const c=new Event("keydown");c.key="k",c.metaKey=!0,window.dispatchEvent(c),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||d()},16)}function b(c){const g=c.target,P=g.tagName;return g.isContentEditable||P==="INPUT"||P==="SELECT"||P==="TEXTAREA"}const f=A(!1),p="algolia";return(c,g)=>{var P;return i(),m("div",Xu,[s(p)==="local"?(i(),m(pe,{key:0},[f.value?(i(),le(s(a),{key:0,onClose:g[0]||(g[0]=$=>f.value=!1)})):S("",!0),y("div",Ju,[ee(vo,{onClick:g[1]||(g[1]=$=>f.value=!0)})])],64)):s(p)==="algolia"?(i(),m(pe,{key:1},[o.value?(i(),le(s(t),{key:0,algolia:((P=s(n).search)==null?void 0:P.options)??s(n).algolia,onVnodeBeforeMount:g[2]||(g[2]=$=>r.value=!0)},null,8,["algolia"])):S("",!0),r.value?S("",!0):(i(),m("div",Zu,[ee(vo,{onClick:u})]))],64)):S("",!0)])}}}),td=J({__name:"VPNavBarSocialLinks",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).socialLinks?(i(),le(zn,{key:0,class:"VPNavBarSocialLinks",links:s(a).socialLinks},null,8,["links"])):S("",!0)}}),ad=we(td,[["__scopeId","data-v-0394ad82"]]),nd=["href","rel","target"],od={key:1},rd={key:2},ld=J({__name:"VPNavBarTitle",setup(e){const{site:a,theme:t}=Ce(),{hasSidebar:n}=Yt(),{currentLang:o}=Oa(),r=x(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=x(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),u=x(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,b)=>(i(),m("div",{class:he(["VPNavBarTitle",{"has-sidebar":s(n)}])},[y("a",{class:"title",href:r.value??s(Bn)(s(o).link),rel:l.value,target:u.value},[k(d.$slots,"nav-bar-title-before",{},void 0,!0),s(t).logo?(i(),le(za,{key:0,class:"logo",image:s(t).logo},null,8,["image"])):S("",!0),s(t).siteTitle?(i(),m("span",od,ce(s(t).siteTitle),1)):s(t).siteTitle===void 0?(i(),m("span",rd,ce(s(a).title),1)):S("",!0),k(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,nd)],2))}}),sd=we(ld,[["__scopeId","data-v-ab179fa1"]]),id={class:"items"},ud={class:"title"},dd=J({__name:"VPNavBarTranslations",setup(e){const{theme:a}=Ce(),{localeLinks:t,currentLang:n}=Oa({correspondingLink:!0});return(o,r)=>s(t).length&&s(n).label?(i(),le(Fn,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:s(a).langMenuLabel||"Change language"},{default:w(()=>[y("div",id,[y("p",ud,ce(s(n).label),1),(i(!0),m(pe,null,Me(s(t),l=>(i(),le(Ja,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):S("",!0)}}),cd=we(dd,[["__scopeId","data-v-88af2de4"]]),vd=e=>(rt("data-v-6aa21345"),e=e(),lt(),e),md={class:"wrapper"},pd={class:"container"},fd={class:"title"},hd={class:"content"},yd={class:"content-body"},gd=vd(()=>y("div",{class:"divider"},[y("div",{class:"divider-line"})],-1)),_d=J({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const a=e,{y:t}=No(),{hasSidebar:n}=Yt(),{frontmatter:o}=Ce(),r=A({});return Rn(()=>{r.value={"has-sidebar":n.value,home:o.value.layout==="home",top:t.value===0,"screen-open":a.isScreenOpen}}),(l,u)=>(i(),m("div",{class:he(["VPNavBar",r.value])},[y("div",md,[y("div",pd,[y("div",fd,[ee(sd,null,{"nav-bar-title-before":w(()=>[k(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),y("div",hd,[y("div",yd,[k(l.$slots,"nav-bar-content-before",{},void 0,!0),ee(ed,{class:"search"}),ee(Wu,{class:"menu"}),ee(cd,{class:"translations"}),ee(ji,{class:"appearance"}),ee(ad,{class:"social-links"}),ee(Su,{class:"extra"}),k(l.$slots,"nav-bar-content-after",{},void 0,!0),ee(Lu,{class:"hamburger",active:l.isScreenOpen,onClick:u[0]||(u[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),gd],2))}}),bd=we(_d,[["__scopeId","data-v-6aa21345"]]),kd={key:0,class:"VPNavScreenAppearance"},wd={class:"text"},$d=J({__name:"VPNavScreenAppearance",setup(e){const{site:a,theme:t}=Ce();return(n,o)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",kd,[y("p",wd,ce(s(t).darkModeSwitchLabel||"Appearance"),1),ee(Hn)])):S("",!0)}}),Dd=we($d,[["__scopeId","data-v-b44890b2"]]),Pd=J({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const a=Ga("close-screen");return(t,n)=>(i(),le(It,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:s(a),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Td=we(Pd,[["__scopeId","data-v-7f31e1f6"]]),Md=J({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const a=Ga("close-screen");return(t,n)=>(i(),le(It,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:s(a)},{default:w(()=>[Ne(ce(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),jo=we(Md,[["__scopeId","data-v-19976ae1"]]),xd={class:"VPNavScreenMenuGroupSection"},Sd={key:0,class:"title"},Ad=J({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(a,t)=>(i(),m("div",xd,[a.text?(i(),m("p",Sd,ce(a.text),1)):S("",!0),(i(!0),m(pe,null,Me(a.items,n=>(i(),le(jo,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Cd=we(Ad,[["__scopeId","data-v-8133b170"]]),Vd=e=>(rt("data-v-b9ab8c58"),e=e(),lt(),e),Od=["aria-controls","aria-expanded"],Id=["innerHTML"],Ld=Vd(()=>y("span",{class:"vpi-plus button-icon"},null,-1)),Nd=["id"],Rd={key:0,class:"item"},Bd={key:1,class:"item"},Ed={key:2,class:"group"},Hd=J({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const a=e,t=A(!1),n=x(()=>`NavScreenGroup-${a.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,l)=>(i(),m("div",{class:he(["VPNavScreenMenuGroup",{open:t.value}])},[y("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[y("span",{class:"button-text",innerHTML:r.text},null,8,Id),Ld],8,Od),y("div",{id:n.value,class:"items"},[(i(!0),m(pe,null,Me(r.items,u=>(i(),m(pe,{key:JSON.stringify(u)},["link"in u?(i(),m("div",Rd,[ee(jo,{item:u},null,8,["item"])])):"component"in u?(i(),m("div",Bd,[(i(),le(ft(u.component),Oe({ref_for:!0},u.props,{"screen-menu":""}),null,16))])):(i(),m("div",Ed,[ee(Cd,{text:u.text,items:u.items},null,8,["text","items"])]))],64))),128))],8,Nd)],2))}}),Yd=we(Hd,[["__scopeId","data-v-b9ab8c58"]]),Fd={key:0,class:"VPNavScreenMenu"},zd=J({__name:"VPNavScreenMenu",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).nav?(i(),m("nav",Fd,[(i(!0),m(pe,null,Me(s(a).nav,o=>(i(),m(pe,{key:JSON.stringify(o)},["link"in o?(i(),le(Td,{key:0,item:o},null,8,["item"])):"component"in o?(i(),le(ft(o.component),Oe({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(i(),le(Yd,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):S("",!0)}}),Wd=J({__name:"VPNavScreenSocialLinks",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).socialLinks?(i(),le(zn,{key:0,class:"VPNavScreenSocialLinks",links:s(a).socialLinks},null,8,["links"])):S("",!0)}}),Qo=e=>(rt("data-v-858fe1a4"),e=e(),lt(),e),Ud=Qo(()=>y("span",{class:"vpi-languages icon lang"},null,-1)),qd=Qo(()=>y("span",{class:"vpi-chevron-down icon chevron"},null,-1)),jd={class:"list"},Qd=J({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:a,currentLang:t}=Oa({correspondingLink:!0}),n=A(!1);function o(){n.value=!n.value}return(r,l)=>s(a).length&&s(t).label?(i(),m("div",{key:0,class:he(["VPNavScreenTranslations",{open:n.value}])},[y("button",{class:"title",onClick:o},[Ud,Ne(" "+ce(s(t).label)+" ",1),qd]),y("ul",jd,[(i(!0),m(pe,null,Me(s(a),u=>(i(),m("li",{key:u.link,class:"item"},[ee(It,{class:"link",href:u.link},{default:w(()=>[Ne(ce(u.text),1)]),_:2},1032,["href"])]))),128))])],2)):S("",!0)}}),Kd=we(Qd,[["__scopeId","data-v-858fe1a4"]]),Gd={class:"container"},Xd=J({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const a=A(null),t=Ro(Xa?document.body:null);return(n,o)=>(i(),le(Ht,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:w(()=>[n.open?(i(),m("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:a,id:"VPNavScreen"},[y("div",Gd,[k(n.$slots,"nav-screen-content-before",{},void 0,!0),ee(zd,{class:"menu"}),ee(Kd,{class:"translations"}),ee(Dd,{class:"appearance"}),ee(Wd,{class:"social-links"}),k(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):S("",!0)]),_:3}))}}),Jd=we(Xd,[["__scopeId","data-v-f2779853"]]),Zd={key:0,class:"VPNav"},ec=J({__name:"VPNav",setup(e){const{isScreenOpen:a,closeScreen:t,toggleScreen:n}=Li(),{frontmatter:o}=Ce(),r=x(()=>o.value.navbar!==!1);return Bo("close-screen",t),ja(()=>{Xa&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,u)=>r.value?(i(),m("header",Zd,[ee(bd,{"is-screen-open":s(a),onToggleScreen:s(n)},{"nav-bar-title-before":w(()=>[k(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":w(()=>[k(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":w(()=>[k(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),ee(Jd,{open:s(a)},{"nav-screen-content-before":w(()=>[k(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":w(()=>[k(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):S("",!0)}}),tc=we(ec,[["__scopeId","data-v-ae24b3ad"]]),Ko=e=>(rt("data-v-b7550ba0"),e=e(),lt(),e),ac=["role","tabindex"],nc=Ko(()=>y("div",{class:"indicator"},null,-1)),oc=Ko(()=>y("span",{class:"vpi-chevron-right caret-icon"},null,-1)),rc=[oc],lc={key:1,class:"items"},sc=J({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const a=e,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:l,hasChildren:u,toggle:d}=Tl(x(()=>a.item)),b=x(()=>u.value?"section":"div"),f=x(()=>o.value?"a":"div"),p=x(()=>u.value?a.depth+2===7?"p":`h${a.depth+2}`:"p"),c=x(()=>o.value?void 0:"button"),g=x(()=>[[`level-${a.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":l.value}]);function P(R){"key"in R&&R.key!=="Enter"||!a.item.link&&d()}function $(){a.item.link&&d()}return(R,W)=>{const U=ua("VPSidebarItem",!0);return i(),le(ft(b.value),{class:he(["VPSidebarItem",g.value])},{default:w(()=>[R.item.text?(i(),m("div",Oe({key:0,class:"item",role:c.value},Xr(R.item.items?{click:P,keydown:P}:{},!0),{tabindex:R.item.items&&0}),[nc,R.item.link?(i(),le(It,{key:0,tag:f.value,class:"link",href:R.item.link,rel:R.item.rel,target:R.item.target},{default:w(()=>[(i(),le(ft(p.value),{class:"text",innerHTML:R.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(i(),le(ft(p.value),{key:1,class:"text",innerHTML:R.item.text},null,8,["innerHTML"])),R.item.collapsed!=null&&R.item.items&&R.item.items.length?(i(),m("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:$,onKeydown:Eo($,["enter"]),tabindex:"0"},rc,32)):S("",!0)],16,ac)):S("",!0),R.item.items&&R.item.items.length?(i(),m("div",lc,[R.depth<5?(i(!0),m(pe,{key:0},Me(R.item.items,V=>(i(),le(U,{key:V.text,item:V,depth:R.depth+1},null,8,["item","depth"]))),128)):S("",!0)])):S("",!0)]),_:1},8,["class"])}}}),ic=we(sc,[["__scopeId","data-v-b7550ba0"]]),uc=J({__name:"VPSidebarGroup",props:{items:{}},setup(e){const a=A(!0);let t=null;return Ue(()=>{t=setTimeout(()=>{t=null,a.value=!1},300)}),Jr(()=>{t!=null&&(clearTimeout(t),t=null)}),(n,o)=>(i(!0),m(pe,null,Me(n.items,r=>(i(),m("div",{key:r.text,class:he(["group",{"no-transition":a.value}])},[ee(ic,{item:r,depth:0},null,8,["item"])],2))),128))}}),dc=we(uc,[["__scopeId","data-v-c40bc020"]]),Go=e=>(rt("data-v-319d5ca6"),e=e(),lt(),e),cc=Go(()=>y("div",{class:"curtain"},null,-1)),vc={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},mc=Go(()=>y("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),pc=J({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:a,hasSidebar:t}=Yt(),n=e,o=A(null),r=Ro(Xa?document.body:null);Je([n,o],()=>{var u;n.open?(r.value=!0,(u=o.value)==null||u.focus()):r.value=!1},{immediate:!0,flush:"post"});const l=A(0);return Je(a,()=>{l.value+=1},{deep:!0}),(u,d)=>s(t)?(i(),m("aside",{key:0,class:he(["VPSidebar",{open:u.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=ia(()=>{},["stop"]))},[cc,y("nav",vc,[mc,k(u.$slots,"sidebar-nav-before",{},void 0,!0),(i(),le(dc,{items:s(a),key:l.value},null,8,["items"])),k(u.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):S("",!0)}}),fc=we(pc,[["__scopeId","data-v-319d5ca6"]]),hc=J({__name:"VPSkipLink",setup(e){const a=Ka(),t=A();Je(()=>a.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(i(),m(pe,null,[y("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),y("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),yc=we(hc,[["__scopeId","data-v-0f60ec36"]]),gc=J({__name:"Layout",setup(e){const{isOpen:a,open:t,close:n}=Yt(),o=Ka();Je(()=>o.path,n),Pl(a,n);const{frontmatter:r}=Ce(),l=Jt(),u=x(()=>!!l["home-hero-image"]);return Bo("hero-image-slot-exists",u),(d,b)=>{const f=ua("Content");return s(r).layout!==!1?(i(),m("div",{key:0,class:he(["Layout",s(r).pageClass])},[k(d.$slots,"layout-top",{},void 0,!0),ee(yc),ee(dl,{class:"backdrop",show:s(a),onClick:s(n)},null,8,["show","onClick"]),ee(tc,null,{"nav-bar-title-before":w(()=>[k(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":w(()=>[k(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":w(()=>[k(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":w(()=>[k(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":w(()=>[k(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),ee(Ii,{open:s(a),onOpenMenu:s(t)},null,8,["open","onOpenMenu"]),ee(fc,{open:s(a)},{"sidebar-nav-before":w(()=>[k(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":w(()=>[k(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),ee(pi,null,{"page-top":w(()=>[k(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":w(()=>[k(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":w(()=>[k(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":w(()=>[k(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":w(()=>[k(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":w(()=>[k(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":w(()=>[k(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":w(()=>[k(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":w(()=>[k(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":w(()=>[k(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":w(()=>[k(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":w(()=>[k(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":w(()=>[k(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":w(()=>[k(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":w(()=>[k(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":w(()=>[k(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),ee(_i),k(d.$slots,"layout-bottom",{},void 0,!0)],2)):(i(),le(f,{key:1}))}}}),_c=we(gc,[["__scopeId","data-v-5d98c3a5"]]),Xo={Layout:_c,enhanceApp:({app:e})=>{e.component("Badge",sl)}},bc=y("div",{style:{"margin-bottom":"10px",cursor:"pointer"}},[y("a",{href:"https://vueschool.io/the-vuejs-3-master-class?friend=JASKAR",target:"_blank"},[y("img",{src:Zr,alt:"vue school affiliate"})])],-1),kc=J({__name:"LayoutCmp",setup(e){const{Layout:a}=Xo;return(t,n)=>(i(),le(s(a),null,{"doc-before":w(()=>[bc]),_:1}))}}),wc={},$c={class:"star-and-sponsor"},Dc=y("p",null,[Ne(" ⭐ If you like the component, give it a star on "),y("a",{class:"home-link",href:"https://github.com/Vuepic/vue-datepicker",target:"_blank"},"GitHub"),Ne(" and consider "),y("a",{class:"home-link",href:"https://github.com/sponsors/Vuepic",target:"_blank"},"sponsoring"),Ne(" its development! ⭐ ")],-1),Pc=[Dc];function Tc(e,a){return i(),m("div",$c,Pc)}const Mc=we(wc,[["render",Tc]]);function be(e){const a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function Re(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function et(e,a){const t=be(e);return isNaN(a)?Re(e,NaN):(a&&t.setDate(t.getDate()+a),t)}function bt(e,a){const t=be(e);if(isNaN(a))return Re(e,NaN);if(!a)return t;const n=t.getDate(),o=Re(e,t.getTime());o.setMonth(t.getMonth()+a+1,0);const r=o.getDate();return n>=r?o:(t.setFullYear(o.getFullYear(),o.getMonth(),n),t)}function Jo(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:u=0,seconds:d=0}=a,b=be(e),f=n||t?bt(b,n+t*12):b,p=r||o?et(f,r+o*7):f,c=u+l*60,P=(d+c*60)*1e3;return Re(e,p.getTime()+P)}function xc(e,a){const t=+be(e);return Re(e,t+a)}const Zo=6048e5,Sc=864e5,Ac=6e4,er=36e5,Cc=1e3;function Vc(e,a){return xc(e,a*er)}let Oc={};function da(){return Oc}function Tt(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.weekStartsOn)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.weekStartsOn)??0,o=be(e),r=o.getDay(),l=(r=o.getTime()?t+1:a.getTime()>=l.getTime()?t:t-1}function mo(e){const a=be(e);return a.setHours(0,0,0,0),a}function Wa(e){const a=be(e),t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),+e-+t}function ar(e,a){const t=mo(e),n=mo(a),o=+t-Wa(t),r=+n-Wa(n);return Math.round((o-r)/Sc)}function Ic(e){const a=tr(e),t=Re(e,0);return t.setFullYear(a,0,4),t.setHours(0,0,0,0),fa(t)}function Lc(e,a){const t=a*3;return bt(e,t)}function Wn(e,a){return bt(e,a*12)}function po(e,a){const t=be(e),n=be(a),o=t.getTime()-n.getTime();return o<0?-1:o>0?1:o}function nr(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ma(e){if(!nr(e)&&typeof e!="number")return!1;const a=be(e);return!isNaN(Number(a))}function fo(e){const a=be(e);return Math.trunc(a.getMonth()/3)+1}function Nc(e,a){const t=be(e),n=be(a);return t.getFullYear()-n.getFullYear()}function ho(e){const a=be(e),t=a.getMonth();return a.setFullYear(a.getFullYear(),t+1,0),a.setHours(23,59,59,999),a}function Rc(e,a){const t=be(e),n=be(a),o=po(t,n),r=Math.abs(Nc(t,n));t.setFullYear(1584),n.setFullYear(1584);const l=po(t,n)===-o,u=o*(r-+l);return u===0?0:u}function or(e,a){const t=be(e.start),n=be(e.end);let o=+t>+n;const r=o?+t:+n,l=o?n:t;l.setHours(0,0,0,0);let u=1;const d=[];for(;+l<=r;)d.push(be(l)),l.setDate(l.getDate()+u),l.setHours(0,0,0,0);return o?d.reverse():d}function qt(e){const a=be(e),t=a.getMonth(),n=t-t%3;return a.setMonth(n,1),a.setHours(0,0,0,0),a}function Bc(e,a){const t=be(e.start),n=be(e.end);let o=+t>+n;const r=o?+qt(t):+qt(n);let l=qt(o?n:t),u=1;const d=[];for(;+l<=r;)d.push(be(l)),l=Lc(l,u);return o?d.reverse():d}function Sn(e){const a=be(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Un(e){const a=be(e),t=a.getFullYear();return a.setFullYear(t+1,0,0),a.setHours(23,59,59,999),a}function ha(e){const a=be(e),t=Re(e,0);return t.setFullYear(a.getFullYear(),0,1),t.setHours(0,0,0,0),t}function rr(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.weekStartsOn)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.weekStartsOn)??0,o=be(e),r=o.getDay(),l=(r{let n;const o=Ec[e];return typeof o=="string"?n=o:a===1?n=o.one:n=o.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function pa(e){return(a={})=>{const t=a.width?String(a.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Yc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Fc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},zc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Wc={date:pa({formats:Yc,defaultWidth:"full"}),time:pa({formats:Fc,defaultWidth:"full"}),dateTime:pa({formats:zc,defaultWidth:"full"})},Uc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qc=(e,a,t,n)=>Uc[e];function St(e){return(a,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let o;if(n==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,u=t!=null&&t.width?String(t.width):l;o=e.formattingValues[u]||e.formattingValues[l]}else{const l=e.defaultWidth,u=t!=null&&t.width?String(t.width):e.defaultWidth;o=e.values[u]||e.values[l]}const r=e.argumentCallback?e.argumentCallback(a):a;return o[r]}}const jc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Qc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Kc={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Gc={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Xc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Jc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Zc=(e,a)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},ev={ordinalNumber:Zc,era:St({values:jc,defaultWidth:"wide"}),quarter:St({values:Qc,defaultWidth:"wide",argumentCallback:e=>e-1}),month:St({values:Kc,defaultWidth:"wide"}),day:St({values:Gc,defaultWidth:"wide"}),dayPeriod:St({values:Xc,defaultWidth:"wide",formattingValues:Jc,defaultFormattingWidth:"wide"})};function At(e){return(a,t={})=>{const n=t.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],r=a.match(o);if(!r)return null;const l=r[0],u=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(u)?av(u,p=>p.test(l)):tv(u,p=>p.test(l));let b;b=e.valueCallback?e.valueCallback(d):d,b=t.valueCallback?t.valueCallback(b):b;const f=a.slice(l.length);return{value:b,rest:f}}}function tv(e,a){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&a(e[t]))return t}function av(e,a){for(let t=0;t{const n=a.match(e.matchPattern);if(!n)return null;const o=n[0],r=a.match(e.parsePattern);if(!r)return null;let l=e.valueCallback?e.valueCallback(r[0]):r[0];l=t.valueCallback?t.valueCallback(l):l;const u=a.slice(o.length);return{value:l,rest:u}}}const nv=/^(\d+)(th|st|nd|rd)?/i,ov=/\d+/i,rv={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},lv={any:[/^b/i,/^(a|c)/i]},sv={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},iv={any:[/1/i,/2/i,/3/i,/4/i]},uv={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},dv={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},cv={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},vv={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},mv={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},pv={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},fv={ordinalNumber:lr({matchPattern:nv,parsePattern:ov,valueCallback:e=>parseInt(e,10)}),era:At({matchPatterns:rv,defaultMatchWidth:"wide",parsePatterns:lv,defaultParseWidth:"any"}),quarter:At({matchPatterns:sv,defaultMatchWidth:"wide",parsePatterns:iv,defaultParseWidth:"any",valueCallback:e=>e+1}),month:At({matchPatterns:uv,defaultMatchWidth:"wide",parsePatterns:dv,defaultParseWidth:"any"}),day:At({matchPatterns:cv,defaultMatchWidth:"wide",parsePatterns:vv,defaultParseWidth:"any"}),dayPeriod:At({matchPatterns:mv,defaultMatchWidth:"any",parsePatterns:pv,defaultParseWidth:"any"})},sr={code:"en-US",formatDistance:Hc,formatLong:Wc,formatRelative:qc,localize:ev,match:fv,options:{weekStartsOn:0,firstWeekContainsDate:1}};function hv(e){const a=be(e);return ar(a,ha(a))+1}function qn(e){const a=be(e),t=+fa(a)-+Ic(a);return Math.round(t/Zo)+1}function jn(e,a){var f,p,c,g;const t=be(e),n=t.getFullYear(),o=da(),r=(a==null?void 0:a.firstWeekContainsDate)??((p=(f=a==null?void 0:a.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??o.firstWeekContainsDate??((g=(c=o.locale)==null?void 0:c.options)==null?void 0:g.firstWeekContainsDate)??1,l=Re(e,0);l.setFullYear(n+1,0,r),l.setHours(0,0,0,0);const u=Tt(l,a),d=Re(e,0);d.setFullYear(n,0,r),d.setHours(0,0,0,0);const b=Tt(d,a);return t.getTime()>=u.getTime()?n+1:t.getTime()>=b.getTime()?n:n-1}function yv(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.firstWeekContainsDate)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??t.firstWeekContainsDate??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.firstWeekContainsDate)??1,o=jn(e,a),r=Re(e,0);return r.setFullYear(o,0,n),r.setHours(0,0,0,0),Tt(r,a)}function Qn(e,a){const t=be(e),n=+Tt(t,a)-+yv(t,a);return Math.round(n/Zo)+1}function Ee(e,a){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(a,"0");return t+n}const Wt={y(e,a){const t=e.getFullYear(),n=t>0?t:1-t;return Ee(a==="yy"?n%100:n,a.length)},M(e,a){const t=e.getMonth();return a==="M"?String(t+1):Ee(t+1,2)},d(e,a){return Ee(e.getDate(),a.length)},a(e,a){const t=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,a){return Ee(e.getHours()%12||12,a.length)},H(e,a){return Ee(e.getHours(),a.length)},m(e,a){return Ee(e.getMinutes(),a.length)},s(e,a){return Ee(e.getSeconds(),a.length)},S(e,a){const t=a.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,t-3));return Ee(o,a.length)}},ca={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},go={G:function(e,a,t){const n=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(e,a,t){if(a==="yo"){const n=e.getFullYear(),o=n>0?n:1-n;return t.ordinalNumber(o,{unit:"year"})}return Wt.y(e,a)},Y:function(e,a,t,n){const o=jn(e,n),r=o>0?o:1-o;if(a==="YY"){const l=r%100;return Ee(l,2)}return a==="Yo"?t.ordinalNumber(r,{unit:"year"}):Ee(r,a.length)},R:function(e,a){const t=tr(e);return Ee(t,a.length)},u:function(e,a){const t=e.getFullYear();return Ee(t,a.length)},Q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(n);case"QQ":return Ee(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(n);case"qq":return Ee(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,a,t){const n=e.getMonth();switch(a){case"M":case"MM":return Wt.M(e,a);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(e,a,t){const n=e.getMonth();switch(a){case"L":return String(n+1);case"LL":return Ee(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(e,a,t,n){const o=Qn(e,n);return a==="wo"?t.ordinalNumber(o,{unit:"week"}):Ee(o,a.length)},I:function(e,a,t){const n=qn(e);return a==="Io"?t.ordinalNumber(n,{unit:"week"}):Ee(n,a.length)},d:function(e,a,t){return a==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Wt.d(e,a)},D:function(e,a,t){const n=hv(e);return a==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):Ee(n,a.length)},E:function(e,a,t){const n=e.getDay();switch(a){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(e,a,t,n){const o=e.getDay(),r=(o-n.weekStartsOn+8)%7||7;switch(a){case"e":return String(r);case"ee":return Ee(r,2);case"eo":return t.ordinalNumber(r,{unit:"day"});case"eee":return t.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(o,{width:"short",context:"formatting"});case"eeee":default:return t.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,t,n){const o=e.getDay(),r=(o-n.weekStartsOn+8)%7||7;switch(a){case"c":return String(r);case"cc":return Ee(r,a.length);case"co":return t.ordinalNumber(r,{unit:"day"});case"ccc":return t.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(o,{width:"narrow",context:"standalone"});case"cccccc":return t.day(o,{width:"short",context:"standalone"});case"cccc":default:return t.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,t){const n=e.getDay(),o=n===0?7:n;switch(a){case"i":return String(o);case"ii":return Ee(o,a.length);case"io":return t.ordinalNumber(o,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(e,a,t){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,t){const n=e.getHours();let o;switch(n===12?o=ca.noon:n===0?o=ca.midnight:o=n/12>=1?"pm":"am",a){case"b":case"bb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,t){const n=e.getHours();let o;switch(n>=17?o=ca.evening:n>=12?o=ca.afternoon:n>=4?o=ca.morning:o=ca.night,a){case"B":case"BB":case"BBB":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,t){if(a==="ho"){let n=e.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return Wt.h(e,a)},H:function(e,a,t){return a==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Wt.H(e,a)},K:function(e,a,t){const n=e.getHours()%12;return a==="Ko"?t.ordinalNumber(n,{unit:"hour"}):Ee(n,a.length)},k:function(e,a,t){let n=e.getHours();return n===0&&(n=24),a==="ko"?t.ordinalNumber(n,{unit:"hour"}):Ee(n,a.length)},m:function(e,a,t){return a==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wt.m(e,a)},s:function(e,a,t){return a==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Wt.s(e,a)},S:function(e,a){return Wt.S(e,a)},X:function(e,a,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(a){case"X":return bo(n);case"XXXX":case"XX":return aa(n);case"XXXXX":case"XXX":default:return aa(n,":")}},x:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"x":return bo(n);case"xxxx":case"xx":return aa(n);case"xxxxx":case"xxx":default:return aa(n,":")}},O:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+_o(n,":");case"OOOO":default:return"GMT"+aa(n,":")}},z:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+_o(n,":");case"zzzz":default:return"GMT"+aa(n,":")}},t:function(e,a,t){const n=Math.trunc(e.getTime()/1e3);return Ee(n,a.length)},T:function(e,a,t){const n=e.getTime();return Ee(n,a.length)}};function _o(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),r=n%60;return r===0?t+String(o):t+String(o)+a+Ee(r,2)}function bo(e,a){return e%60===0?(e>0?"-":"+")+Ee(Math.abs(e)/60,2):aa(e,a)}function aa(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),o=Ee(Math.trunc(n/60),2),r=Ee(n%60,2);return t+o+a+r}const ko=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},ir=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},gv=(e,a)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],o=t[2];if(!o)return ko(e,a);let r;switch(n){case"P":r=a.dateTime({width:"short"});break;case"PP":r=a.dateTime({width:"medium"});break;case"PPP":r=a.dateTime({width:"long"});break;case"PPPP":default:r=a.dateTime({width:"full"});break}return r.replace("{{date}}",ko(n,a)).replace("{{time}}",ir(o,a))},An={p:ir,P:gv},_v=/^D+$/,bv=/^Y+$/,kv=["D","DD","YY","YYYY"];function ur(e){return _v.test(e)}function dr(e){return bv.test(e)}function Cn(e,a,t){const n=wv(e,a,t);if(console.warn(n),kv.includes(e))throw new RangeError(n)}function wv(e,a,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const $v=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dv=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pv=/^'([^]*?)'?$/,Tv=/''/g,Mv=/[a-zA-Z]/;function $t(e,a,t){var f,p,c,g,P,$,R,W;const n=da(),o=(t==null?void 0:t.locale)??n.locale??sr,r=(t==null?void 0:t.firstWeekContainsDate)??((p=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(c=n.locale)==null?void 0:c.options)==null?void 0:g.firstWeekContainsDate)??1,l=(t==null?void 0:t.weekStartsOn)??(($=(P=t==null?void 0:t.locale)==null?void 0:P.options)==null?void 0:$.weekStartsOn)??n.weekStartsOn??((W=(R=n.locale)==null?void 0:R.options)==null?void 0:W.weekStartsOn)??0,u=be(e);if(!Ma(u))throw new RangeError("Invalid time value");let d=a.match(Dv).map(U=>{const V=U[0];if(V==="p"||V==="P"){const K=An[V];return K(U,o.formatLong)}return U}).join("").match($v).map(U=>{if(U==="''")return{isToken:!1,value:"'"};const V=U[0];if(V==="'")return{isToken:!1,value:xv(U)};if(go[V])return{isToken:!0,value:U};if(V.match(Mv))throw new RangeError("Format string contains an unescaped latin alphabet character `"+V+"`");return{isToken:!1,value:U}});o.localize.preprocessor&&(d=o.localize.preprocessor(u,d));const b={firstWeekContainsDate:r,weekStartsOn:l,locale:o};return d.map(U=>{if(!U.isToken)return U.value;const V=U.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&dr(V)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&ur(V))&&Cn(V,a,String(e));const K=go[V[0]];return K(u,V,o.localize,b)}).join("")}function xv(e){const a=e.match(Pv);return a?a[1].replace(Tv,"'"):e}function Sv(e){return be(e).getDay()}function Av(e){const a=be(e),t=a.getFullYear(),n=a.getMonth(),o=Re(e,0);return o.setFullYear(t,n+1,0),o.setHours(0,0,0,0),o.getDate()}function Cv(){return Object.assign({},da())}function Bt(e){return be(e).getHours()}function Vv(e){let t=be(e).getDay();return t===0&&(t=7),t}function Gt(e){return be(e).getMinutes()}function Se(e){return be(e).getMonth()}function ya(e){return be(e).getSeconds()}function Pe(e){return be(e).getFullYear()}function ga(e,a){const t=be(e),n=be(a);return t.getTime()>n.getTime()}function Aa(e,a){const t=be(e),n=be(a);return+t<+n}function oa(e,a){const t=be(e),n=be(a);return+t==+n}function Ov(e,a){const t=a instanceof Date?Re(a,0):new a(0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}const Iv=10;class cr{constructor(){ye(this,"subPriority",0)}validate(a,t){return!0}}class Lv extends cr{constructor(a,t,n,o,r){super(),this.value=a,this.validateValue=t,this.setValue=n,this.priority=o,r&&(this.subPriority=r)}validate(a,t){return this.validateValue(a,this.value,t)}set(a,t,n){return this.setValue(a,t,this.value,n)}}class Nv extends cr{constructor(){super(...arguments);ye(this,"priority",Iv);ye(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:Re(t,Ov(t,Date))}}class Be{run(a,t,n,o){const r=this.parse(a,t,n,o);return r?{setter:new Lv(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(a,t,n){return!0}}class Rv extends Be{constructor(){super(...arguments);ye(this,"priority",140);ye(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,o){switch(n){case"G":case"GG":case"GGG":return o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"});case"GGGGG":return o.era(t,{width:"narrow"});case"GGGG":default:return o.era(t,{width:"wide"})||o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"})}}set(t,n,o){return n.era=o,t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}const Ge={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ct={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Xe(e,a){return e&&{value:a(e.value),rest:e.rest}}function We(e,a){const t=a.match(e);return t?{value:parseInt(t[0],10),rest:a.slice(t[0].length)}:null}function Vt(e,a){const t=a.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:a.slice(1)};const n=t[1]==="+"?1:-1,o=t[2]?parseInt(t[2],10):0,r=t[3]?parseInt(t[3],10):0,l=t[5]?parseInt(t[5],10):0;return{value:n*(o*er+r*Ac+l*Cc),rest:a.slice(t[0].length)}}function vr(e){return We(Ge.anyDigitsSigned,e)}function je(e,a){switch(e){case 1:return We(Ge.singleDigit,a);case 2:return We(Ge.twoDigits,a);case 3:return We(Ge.threeDigits,a);case 4:return We(Ge.fourDigits,a);default:return We(new RegExp("^\\d{1,"+e+"}"),a)}}function Ua(e,a){switch(e){case 1:return We(Ge.singleDigitSigned,a);case 2:return We(Ge.twoDigitsSigned,a);case 3:return We(Ge.threeDigitsSigned,a);case 4:return We(Ge.fourDigitsSigned,a);default:return We(new RegExp("^-?\\d{1,"+e+"}"),a)}}function Kn(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function mr(e,a){const t=a>0,n=t?a:1-a;let o;if(n<=50)o=e||100;else{const r=n+50,l=Math.trunc(r/100)*100,u=e>=r%100;o=e+l-(u?100:0)}return t?o:1-o}function pr(e){return e%400===0||e%4===0&&e%100!==0}class Bv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,o){const r=l=>({year:l,isTwoDigitYear:n==="yy"});switch(n){case"y":return Xe(je(4,t),r);case"yo":return Xe(o.ordinalNumber(t,{unit:"year"}),r);default:return Xe(je(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,o){const r=t.getFullYear();if(o.isTwoDigitYear){const u=mr(o.year,r);return t.setFullYear(u,0,1),t.setHours(0,0,0,0),t}const l=!("era"in n)||n.era===1?o.year:1-o.year;return t.setFullYear(l,0,1),t.setHours(0,0,0,0),t}}class Ev extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,o){const r=l=>({year:l,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Xe(je(4,t),r);case"Yo":return Xe(o.ordinalNumber(t,{unit:"year"}),r);default:return Xe(je(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,o,r){const l=jn(t,r);if(o.isTwoDigitYear){const d=mr(o.year,l);return t.setFullYear(d,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,r)}const u=!("era"in n)||n.era===1?o.year:1-o.year;return t.setFullYear(u,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,r)}}class Hv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Ua(n==="R"?4:n.length,t)}set(t,n,o){const r=Re(t,0);return r.setFullYear(o,0,4),r.setHours(0,0,0,0),fa(r)}}class Yv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Ua(n==="u"?4:n.length,t)}set(t,n,o){return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class Fv extends Be{constructor(){super(...arguments);ye(this,"priority",120);ye(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"Q":case"QQ":return je(n.length,t);case"Qo":return o.ordinalNumber(t,{unit:"quarter"});case"QQQ":return o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(t,{width:"wide",context:"formatting"})||o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}}class zv extends Be{constructor(){super(...arguments);ye(this,"priority",120);ye(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"q":case"qq":return je(n.length,t);case"qo":return o.ordinalNumber(t,{unit:"quarter"});case"qqq":return o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(t,{width:"wide",context:"standalone"})||o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}}class Wv extends Be{constructor(){super(...arguments);ye(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ye(this,"priority",110)}parse(t,n,o){const r=l=>l-1;switch(n){case"M":return Xe(We(Ge.month,t),r);case"MM":return Xe(je(2,t),r);case"Mo":return Xe(o.ordinalNumber(t,{unit:"month"}),r);case"MMM":return o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(t,{width:"wide",context:"formatting"})||o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}}class Uv extends Be{constructor(){super(...arguments);ye(this,"priority",110);ye(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,o){const r=l=>l-1;switch(n){case"L":return Xe(We(Ge.month,t),r);case"LL":return Xe(je(2,t),r);case"Lo":return Xe(o.ordinalNumber(t,{unit:"month"}),r);case"LLL":return o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(t,{width:"wide",context:"standalone"})||o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}}function qv(e,a,t){const n=be(e),o=Qn(n,t)-a;return n.setDate(n.getDate()-o*7),n}class jv extends Be{constructor(){super(...arguments);ye(this,"priority",100);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,o){switch(n){case"w":return We(Ge.week,t);case"wo":return o.ordinalNumber(t,{unit:"week"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o,r){return Tt(qv(t,o,r),r)}}function Qv(e,a){const t=be(e),n=qn(t)-a;return t.setDate(t.getDate()-n*7),t}class Kv extends Be{constructor(){super(...arguments);ye(this,"priority",100);ye(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,o){switch(n){case"I":return We(Ge.week,t);case"Io":return o.ordinalNumber(t,{unit:"week"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o){return fa(Qv(t,o))}}const Gv=[31,28,31,30,31,30,31,31,30,31,30,31],Xv=[31,29,31,30,31,30,31,31,30,31,30,31];class Jv extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"subPriority",1);ye(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"d":return We(Ge.date,t);case"do":return o.ordinalNumber(t,{unit:"date"});default:return je(n.length,t)}}validate(t,n){const o=t.getFullYear(),r=pr(o),l=t.getMonth();return r?n>=1&&n<=Xv[l]:n>=1&&n<=Gv[l]}set(t,n,o){return t.setDate(o),t.setHours(0,0,0,0),t}}class Zv extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"subpriority",1);ye(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,o){switch(n){case"D":case"DD":return We(Ge.dayOfYear,t);case"Do":return o.ordinalNumber(t,{unit:"date"});default:return je(n.length,t)}}validate(t,n){const o=t.getFullYear();return pr(o)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,o){return t.setMonth(0,o),t.setHours(0,0,0,0),t}}function Gn(e,a,t){var p,c,g,P;const n=da(),o=(t==null?void 0:t.weekStartsOn)??((c=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((P=(g=n.locale)==null?void 0:g.options)==null?void 0:P.weekStartsOn)??0,r=be(e),l=r.getDay(),d=(a%7+7)%7,b=7-o,f=a<0||a>6?a-(l+b)%7:(d+b)%7-(l+b)%7;return et(r,f)}class em extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"E":case"EE":case"EEE":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}class tm extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,o,r){const l=u=>{const d=Math.floor((u-1)/7)*7;return(u+r.weekStartsOn+6)%7+d};switch(n){case"e":case"ee":return Xe(je(n.length,t),l);case"eo":return Xe(o.ordinalNumber(t,{unit:"day"}),l);case"eee":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"eeeee":return o.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}class am extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,o,r){const l=u=>{const d=Math.floor((u-1)/7)*7;return(u+r.weekStartsOn+6)%7+d};switch(n){case"c":case"cc":return Xe(je(n.length,t),l);case"co":return Xe(o.ordinalNumber(t,{unit:"day"}),l);case"ccc":return o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case"ccccc":return o.day(t,{width:"narrow",context:"standalone"});case"cccccc":return o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(t,{width:"wide",context:"standalone"})||o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}function nm(e,a){const t=be(e),n=Vv(t),o=a-n;return et(t,o)}class om extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,o){const r=l=>l===0?7:l;switch(n){case"i":case"ii":return je(n.length,t);case"io":return o.ordinalNumber(t,{unit:"day"});case"iii":return Xe(o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return Xe(o.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Xe(o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return Xe(o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,n){return n>=1&&n<=7}set(t,n,o){return t=nm(t,o),t.setHours(0,0,0,0),t}}class rm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,o){switch(n){case"a":case"aa":case"aaa":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class lm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,o){switch(n){case"b":case"bb":case"bbb":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class sm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,o){switch(n){case"B":case"BB":case"BBB":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class im extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,o){switch(n){case"h":return We(Ge.hour12h,t);case"ho":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,o){const r=t.getHours()>=12;return r&&o<12?t.setHours(o+12,0,0,0):!r&&o===12?t.setHours(0,0,0,0):t.setHours(o,0,0,0),t}}class um extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,o){switch(n){case"H":return We(Ge.hour23h,t);case"Ho":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,o){return t.setHours(o,0,0,0),t}}class dm extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,o){switch(n){case"K":return We(Ge.hour11h,t);case"Ko":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.getHours()>=12&&o<12?t.setHours(o+12,0,0,0):t.setHours(o,0,0,0),t}}class cm extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,o){switch(n){case"k":return We(Ge.hour24h,t);case"ko":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,o){const r=o<=24?o%24:o;return t.setHours(r,0,0,0),t}}class vm extends Be{constructor(){super(...arguments);ye(this,"priority",60);ye(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"m":return We(Ge.minute,t);case"mo":return o.ordinalNumber(t,{unit:"minute"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setMinutes(o,0,0),t}}class mm extends Be{constructor(){super(...arguments);ye(this,"priority",50);ye(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"s":return We(Ge.second,t);case"so":return o.ordinalNumber(t,{unit:"second"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setSeconds(o,0),t}}class pm extends Be{constructor(){super(...arguments);ye(this,"priority",30);ye(this,"incompatibleTokens",["t","T"])}parse(t,n){const o=r=>Math.trunc(r*Math.pow(10,-n.length+3));return Xe(je(n.length,t),o)}set(t,n,o){return t.setMilliseconds(o),t}}class fm extends Be{constructor(){super(...arguments);ye(this,"priority",10);ye(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Vt(Ct.basicOptionalMinutes,t);case"XX":return Vt(Ct.basic,t);case"XXXX":return Vt(Ct.basicOptionalSeconds,t);case"XXXXX":return Vt(Ct.extendedOptionalSeconds,t);case"XXX":default:return Vt(Ct.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Re(t,t.getTime()-Wa(t)-o)}}class hm extends Be{constructor(){super(...arguments);ye(this,"priority",10);ye(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Vt(Ct.basicOptionalMinutes,t);case"xx":return Vt(Ct.basic,t);case"xxxx":return Vt(Ct.basicOptionalSeconds,t);case"xxxxx":return Vt(Ct.extendedOptionalSeconds,t);case"xxx":default:return Vt(Ct.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Re(t,t.getTime()-Wa(t)-o)}}class ym extends Be{constructor(){super(...arguments);ye(this,"priority",40);ye(this,"incompatibleTokens","*")}parse(t){return vr(t)}set(t,n,o){return[Re(t,o*1e3),{timestampIsSet:!0}]}}class gm extends Be{constructor(){super(...arguments);ye(this,"priority",20);ye(this,"incompatibleTokens","*")}parse(t){return vr(t)}set(t,n,o){return[Re(t,o),{timestampIsSet:!0}]}}const _m={G:new Rv,y:new Bv,Y:new Ev,R:new Hv,u:new Yv,Q:new Fv,q:new zv,M:new Wv,L:new Uv,w:new jv,I:new Kv,d:new Jv,D:new Zv,E:new em,e:new tm,c:new am,i:new om,a:new rm,b:new lm,B:new sm,h:new im,H:new um,K:new dm,k:new cm,m:new vm,s:new mm,S:new pm,X:new fm,x:new hm,t:new ym,T:new gm},bm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,km=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,wm=/^'([^]*?)'?$/,$m=/''/g,Dm=/\S/,Pm=/[a-zA-Z]/;function Vn(e,a,t,n){var $,R,W,U,V,K,se,q;const o=Cv(),r=(n==null?void 0:n.locale)??o.locale??sr,l=(n==null?void 0:n.firstWeekContainsDate)??((R=($=n==null?void 0:n.locale)==null?void 0:$.options)==null?void 0:R.firstWeekContainsDate)??o.firstWeekContainsDate??((U=(W=o.locale)==null?void 0:W.options)==null?void 0:U.firstWeekContainsDate)??1,u=(n==null?void 0:n.weekStartsOn)??((K=(V=n==null?void 0:n.locale)==null?void 0:V.options)==null?void 0:K.weekStartsOn)??o.weekStartsOn??((q=(se=o.locale)==null?void 0:se.options)==null?void 0:q.weekStartsOn)??0;if(a==="")return e===""?be(t):Re(t,NaN);const d={firstWeekContainsDate:l,weekStartsOn:u,locale:r},b=[new Nv],f=a.match(km).map(I=>{const te=I[0];if(te in An){const G=An[te];return G(I,r.formatLong)}return I}).join("").match(bm),p=[];for(let I of f){!(n!=null&&n.useAdditionalWeekYearTokens)&&dr(I)&&Cn(I,a,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&ur(I)&&Cn(I,a,e);const te=I[0],G=_m[te];if(G){const{incompatibleTokens:F}=G;if(Array.isArray(F)){const _e=p.find(ke=>F.includes(ke.token)||ke.token===te);if(_e)throw new RangeError(`The format string mustn't contain \`${_e.fullToken}\` and \`${I}\` at the same time`)}else if(G.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${I}\` and any other token at the same time`);p.push({token:te,fullToken:I});const ve=G.run(e,I,r.match,d);if(!ve)return Re(t,NaN);b.push(ve.setter),e=ve.rest}else{if(te.match(Pm))throw new RangeError("Format string contains an unescaped latin alphabet character `"+te+"`");if(I==="''"?I="'":te==="'"&&(I=Tm(I)),e.indexOf(I)===0)e=e.slice(I.length);else return Re(t,NaN)}}if(e.length>0&&Dm.test(e))return Re(t,NaN);const c=b.map(I=>I.priority).sort((I,te)=>te-I).filter((I,te,G)=>G.indexOf(I)===te).map(I=>b.filter(te=>te.priority===I).sort((te,G)=>G.subPriority-te.subPriority)).map(I=>I[0]);let g=be(t);if(isNaN(g.getTime()))return Re(t,NaN);const P={};for(const I of c){if(!I.validate(g,d))return Re(t,NaN);const te=I.set(g,P,d);Array.isArray(te)?(g=te[0],Object.assign(P,te[1])):g=te}return Re(t,g)}function Tm(e){return e.match(wm)[1].replace($m,"'")}function wo(e,a){const t=qt(e),n=qt(a);return+t==+n}function fr(e,a){return et(e,-a)}function hr(e,a){const t=be(e),n=t.getFullYear(),o=t.getDate(),r=Re(e,0);r.setFullYear(n,a,15),r.setHours(0,0,0,0);const l=Av(r);return t.setMonth(a,Math.min(o,l)),t}function He(e,a){let t=be(e);return isNaN(+t)?Re(e,NaN):(a.year!=null&&t.setFullYear(a.year),a.month!=null&&(t=hr(t,a.month)),a.date!=null&&t.setDate(a.date),a.hours!=null&&t.setHours(a.hours),a.minutes!=null&&t.setMinutes(a.minutes),a.seconds!=null&&t.setSeconds(a.seconds),a.milliseconds!=null&&t.setMilliseconds(a.milliseconds),t)}function Mm(e,a){const t=be(e);return t.setHours(a),t}function yr(e,a){const t=be(e);return t.setMilliseconds(a),t}function xm(e,a){const t=be(e);return t.setMinutes(a),t}function gr(e,a){const t=be(e);return t.setSeconds(a),t}function Ot(e,a){const t=be(e);return isNaN(+t)?Re(e,NaN):(t.setFullYear(a),t)}function Et(e,a){return bt(e,-a)}function Sm(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:u=0,seconds:d=0}=a,b=Et(e,n+t*12),f=fr(b,r+o*7),p=u+l*60,g=(d+p*60)*1e3;return Re(e,f.getTime()-g)}function _r(e,a){return Wn(e,-a)}function ka(){const e=al();return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[y("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),y("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),y("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),y("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ka.compatConfig={MODE:3};function br(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),y("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}br.compatConfig={MODE:3};function Xn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Xn.compatConfig={MODE:3};function Jn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}Jn.compatConfig={MODE:3};function Zn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),y("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Zn.compatConfig={MODE:3};function eo(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}eo.compatConfig={MODE:3};function to(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}to.compatConfig={MODE:3};const ht=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),ao=(e,a,t)=>On(e,a,t)||Z(),Am=(e,a,t)=>{const n=a.dateInTz?ht(new Date(e),a.dateInTz):Z(e);return t?vt(n,!0):n},On=(e,a,t)=>{if(!e)return null;const n=t?vt(Z(e),!0):Z(e);return a?a.exactMatch?Am(e,a,t):ht(n,a.timezone):n},Cm=e=>{if(!e)return 0;const a=new Date,t=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),n=new Date(a.toLocaleString("en-US",{timeZone:e})),o=n.getTimezoneOffset()/60;return(+t-+n)/(1e3*60*60)-o};var Dt=(e=>(e.month="month",e.year="year",e))(Dt||{}),na=(e=>(e.top="top",e.bottom="bottom",e))(na||{}),ra=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(ra||{}),it=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(it||{});const Vm=["timestamp","date","iso"];var dt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(dt||{}),Fe=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Fe||{});function $o(e){return a=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${a}T00:00:00+00:00`)).slice(0,2)}function Om(e){return a=>$t(ht(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const Im=(e,a,t)=>{const n=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=n.map(Om(e))}catch{o=n.map($o(a))}else o=n.map($o(a));const r=o.slice(0,t),l=o.slice(t+1,o.length);return[o[t]].concat(...l).concat(...r)},no=(e,a,t)=>{const n=[];for(let o=+e[0];o<=+e[1];o++)n.push({value:+o,text:Dr(o,a)});return t?n.reverse():n},kr=(e,a,t)=>{const n=[1,2,3,4,5,6,7,8,9,10,11,12].map(r=>{const l=r<10?`0${r}`:r;return new Date(`2017-${l}-01T00:00:00+00:00`)});if(e!==null)try{const r=t==="long"?"LLLL":"LLL";return n.map((l,u)=>{const d=$t(ht(l,"UTC"),r,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:u}})}catch{}const o=new Intl.DateTimeFormat(a,{month:t,timeZone:"UTC"});return n.map((r,l)=>{const u=o.format(r);return{text:u.charAt(0).toUpperCase()+u.substring(1),value:l}})},Lm=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],tt=e=>{const a=s(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},Nm=e=>({type:"dot",...e??{}}),wr=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,oo={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},nt=e=>e,Do=e=>e===0?e:!e||isNaN(+e)?null:+e,Po=e=>e===null,$r=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},Rm=e=>{const a=[],t=n=>n.filter(o=>o);for(let n=0;n{const n=t!=null,o=a!=null;if(!n&&!o)return!1;const r=+t,l=+a;return n&&o?+e>r||+er:o?+eRm(e).map(t=>t.map(n=>{const{active:o,disabled:r,isBetween:l,highlighted:u}=a(n);return{...n,active:o,disabled:r,className:{dp__overlay_cell_active:o,dp__overlay_cell:!o,dp__overlay_cell_disabled:r,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:r&&o,dp__cell_in_between:l,"dp--highlighted":u}}})),Qt=(e,a,t=!1)=>{e&&a.allowStopPropagation&&(t&&e.stopImmediatePropagation(),e.stopPropagation())},Bm=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function Em(e,a){let t=[...document.querySelectorAll(Bm())];t=t.filter(o=>!e.contains(o)||o.hasAttribute("data-datepicker-instance"));const n=t.indexOf(e);if(n>=0&&(a?n-1>=0:n+1<=t.length))return t[n+(a?-1:1)]}const In=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),Dr=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),ro=e=>$t(e,"dd-MM-yyyy"),pn=e=>Array.isArray(e),qa=(e,a)=>a.get(ro(e)),Hm=(e,a)=>e?a?a instanceof Map?!!qa(e,a):a(Z(e)):!1:!0,ct=(e,a,t=!1,n)=>{if(e.key===Fe.enter||e.key===Fe.space)return t&&e.preventDefault(),a();if(n)return n(e)},Ym=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,To=(e,a,t,n,o,r)=>{const l=Vn(e,a.slice(0,e.length),new Date,{locale:r});return Ma(l)&&nr(l)?n||o?l:He(l,{hours:+t.hours,minutes:+(t==null?void 0:t.minutes),seconds:+(t==null?void 0:t.seconds),milliseconds:0}):null},Fm=(e,a,t,n,o,r)=>{const l=Array.isArray(t)?t[0]:t;if(typeof a=="string")return To(e,a,l,n,o,r);if(Array.isArray(a)){let u=null;for(const d of a)if(u=To(e,d,l,n,o,r),u)break;return u}return typeof a=="function"?a(e):null},Z=e=>e?new Date(e):new Date,zm=(e,a,t)=>{if(a){const o=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0"),l=e.getHours().toString().padStart(2,"0"),u=e.getMinutes().toString().padStart(2,"0"),d=t?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${r}T${l}:${u}:${d}.000Z`}const n=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(n).toISOString()},vt=(e,a)=>{const t=Z(JSON.parse(JSON.stringify(e))),n=He(t,{hours:0,minutes:0,seconds:0,milliseconds:0});return a?Sn(n):n},Kt=(e,a,t,n)=>{let o=e?Z(e):Z();return(a||a===0)&&(o=Mm(o,+a)),(t||t===0)&&(o=xm(o,+t)),(n||n===0)&&(o=gr(o,+n)),yr(o,0)},qe=(e,a)=>!e||!a?!1:Aa(vt(e),vt(a)),Ve=(e,a)=>!e||!a?!1:oa(vt(e),vt(a)),Ke=(e,a)=>!e||!a?!1:ga(vt(e),vt(a)),Za=(e,a,t)=>e!=null&&e[0]&&e!=null&&e[1]?Ke(t,e[0])&&qe(t,e[1]):e!=null&&e[0]&&a?Ke(t,e[0])&&qe(t,a)||qe(t,e[0])&&Ke(t,a):!1,Pt=e=>{const a=He(new Date(e),{date:1});return vt(a)},fn=(e,a,t)=>a&&(t||t===0)?Object.fromEntries(["hours","minutes","seconds"].map(n=>n===a?[n,t]:[n,isNaN(+e[n])?void 0:+e[n]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},la=e=>({hours:Bt(e),minutes:Gt(e),seconds:ya(e)}),Pr=(e,a)=>{if(a){const t=Pe(Z(a));if(t>e)return 12;if(t===e)return Se(Z(a))}},Tr=(e,a)=>{if(a){const t=Pe(Z(a));return t{if(e)return Pe(Z(e))},Mr=(e,a)=>{const t=Ke(e,a)?a:e,n=Ke(a,e)?a:e;return or({start:t,end:n})},Wm=e=>{const a=bt(e,1);return{month:Se(a),year:Pe(a)}},Nt=(e,a)=>{const t=Tt(e,{weekStartsOn:+a}),n=rr(e,{weekStartsOn:+a});return[t,n]},xr=(e,a)=>{const t={hours:Bt(Z()),minutes:Gt(Z()),seconds:a?ya(Z()):0};return Object.assign(t,e)},jt=(e,a,t)=>[He(Z(e),{date:1}),He(Z(),{month:a,year:t,date:1})],Rt=(e,a,t)=>{let n=e?Z(e):Z();return(a||a===0)&&(n=hr(n,a)),t&&(n=Ot(n,t)),n},Sr=(e,a,t,n,o)=>{if(!n||o&&!a||!o&&!t)return!1;const r=o?bt(e,1):Et(e,1),l=[Se(r),Pe(r)];return o?!qm(...l,a):!Um(...l,t)},Um=(e,a,t)=>qe(...jt(t,e,a))||Ve(...jt(t,e,a)),qm=(e,a,t)=>Ke(...jt(t,e,a))||Ve(...jt(t,e,a)),Ar=(e,a,t,n,o,r,l)=>{if(typeof a=="function"&&!l)return a(e);const u=t?{locale:t}:void 0;return Array.isArray(e)?`${$t(e[0],r,u)}${o&&!e[1]?"":n}${e[1]?$t(e[1],r,u):""}`:$t(e,r,u)},va=e=>{if(e)return null;throw new Error(oo.prop("partial-range"))},Ea=(e,a)=>{if(a)return e();throw new Error(oo.prop("range"))},Ln=e=>Array.isArray(e)?Ma(e[0])&&(e[1]?Ma(e[1]):!0):e?Ma(e):!1,jm=(e,a)=>He(a??Z(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),hn=(e,a,t,n)=>{if(!e)return!0;if(n){const o=t==="max"?Aa(e,a):ga(e,a),r={seconds:0,milliseconds:0};return o||oa(He(e,r),He(a,r))}return t==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},yn=(e,a,t)=>e?jm(e,a):Z(t??a),Mo=(e,a,t,n,o)=>{if(Array.isArray(n)){const l=yn(e,n[0],a),u=yn(e,n[1],a);return hn(n[0],l,t,!!a)&&hn(n[1],u,t,!!a)&&o}const r=yn(e,n,a);return hn(n,r,t,!!a)&&o},gn=e=>He(Z(),la(e)),Qm=(e,a)=>e instanceof Map?Array.from(e.values()).filter(t=>Pe(Z(t))===a).map(t=>Se(t)):[],Cr=(e,a,t)=>typeof e=="function"?e({month:a,year:t}):!!e.months.find(n=>n.month===a&&n.year===t),lo=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Vr=e=>$t(e,"yyyy-MM-dd"),Pa=Va({menuFocused:!1,shiftKeyInMenu:!1}),Or=()=>{const e=t=>{Pa.menuFocused=t},a=t=>{Pa.shiftKeyInMenu!==t&&(Pa.shiftKeyInMenu=t)};return{control:x(()=>({shiftKeyInMenu:Pa.shiftKeyInMenu,menuFocused:Pa.menuFocused})),setMenuFocused:e,setShiftKey:a}},Ye=Va({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),_n=A(null),Ha=A(!1),bn=A(!1),kn=A(!1),wn=A(!1),st=A(0),Qe=A(0),Zt=()=>{const e=x(()=>Ha.value?[...Ye.selectionGrid,Ye.actionRow].filter(p=>p.length):bn.value?[...Ye.timePicker[0],...Ye.timePicker[1],wn.value?[]:[_n.value],Ye.actionRow].filter(p=>p.length):kn.value?[...Ye.monthPicker,Ye.actionRow]:[Ye.monthYear,...Ye.calendar,Ye.time,Ye.actionRow].filter(p=>p.length)),a=p=>{st.value=p?st.value+1:st.value-1;let c=null;e.value[Qe.value]&&(c=e.value[Qe.value][st.value]),!c&&e.value[Qe.value+(p?1:-1)]?(Qe.value=Qe.value+(p?1:-1),st.value=p?0:e.value[Qe.value].length-1):c||(st.value=p?st.value-1:st.value+1)},t=p=>{Qe.value===0&&!p||Qe.value===e.value.length&&p||(Qe.value=p?Qe.value+1:Qe.value-1,e.value[Qe.value]?e.value[Qe.value]&&!e.value[Qe.value][st.value]&&st.value!==0&&(st.value=e.value[Qe.value].length-1):Qe.value=p?Qe.value-1:Qe.value+1)},n=p=>{let c=null;e.value[Qe.value]&&(c=e.value[Qe.value][st.value]),c?c.focus({preventScroll:!Ha.value}):st.value=p?st.value-1:st.value+1},o=()=>{a(!0),n(!0)},r=()=>{a(!1),n(!1)},l=()=>{t(!1),n(!0)},u=()=>{t(!0),n(!0)},d=(p,c)=>{Ye[c]=p},b=(p,c)=>{Ye[c]=p},f=()=>{st.value=0,Qe.value=0};return{buildMatrix:d,buildMultiLevelMatrix:b,setTimePickerBackRef:p=>{_n.value=p},setSelectionGrid:p=>{Ha.value=p,f(),p||(Ye.selectionGrid=[])},setTimePicker:(p,c=!1)=>{bn.value=p,wn.value=c,f(),p||(Ye.timePicker[0]=[],Ye.timePicker[1]=[])},setTimePickerElements:(p,c=0)=>{Ye.timePicker[c]=p},arrowRight:o,arrowLeft:r,arrowUp:l,arrowDown:u,clearArrowNav:()=>{Ye.monthYear=[],Ye.calendar=[],Ye.time=[],Ye.actionRow=[],Ye.selectionGrid=[],Ye.timePicker[0]=[],Ye.timePicker[1]=[],Ha.value=!1,bn.value=!1,wn.value=!1,kn.value=!1,f(),_n.value=null},setMonthPicker:p=>{kn.value=p,f()},refSets:Ye}},xo=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),Km=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:a=>`Increment ${a}`,decrementValue:a=>`Decrement ${a}`,openTpOverlay:a=>`Open ${a} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:a=>`Month picker${a?" overlay":""}`,yearPicker:a=>`Year picker${a?" overlay":""}`,timeOverlay:a=>`${a} overlay`,...e??{}}),So=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,Gm=e=>{const a=typeof e=="object"&&e,t={static:!0,solo:!1};if(!e)return{...t,count:So(!1)};const n=a?e:{},o=a?n.count??!0:e,r=So(o);return Object.assign(t,n,{count:r})},Xm=(e,a,t)=>e||(typeof t=="string"?t:a),Jm=e=>typeof e=="boolean"?e?xo({}):!1:xo(e),Zm=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},ep=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),tp=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),ap=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},np=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...e??{}}),op=e=>{const a={dates:Array.isArray(e)?e.map(t=>Z(t)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},rp=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},lp=e=>{const a={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...a,...e}:{enabled:e,...a}},sp=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},$n=(e,a,t)=>new Map(e.map(n=>{const o=ao(n,a,t);return[ro(o),o]})),ip=(e,a)=>e.length?new Map(e.map(t=>{const n=ao(t.date,a);return[ro(n),t]})):null,up=e=>{var a;return{minDate:On(e.minDate,e.timezone,e.isSpecific),maxDate:On(e.maxDate,e.timezone,e.isSpecific),disabledDates:pn(e.disabledDates)?$n(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:pn(e.allowedDates)?$n(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&pn((a=e.highlight)==null?void 0:a.dates)?$n(e.highlight.dates,e.timezone):e.highlight,markers:ip(e.markers,e.timezone)}},dp=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},cp=e=>({...Object.fromEntries(Object.keys(e).map(a=>{const t=a,n=e[t],o=typeof e[t]=="string"?{[n]:!0}:Object.fromEntries(n.map(r=>[r,!0]));return[a,o]}))}),ze=e=>{const a=()=>{const q=e.enableSeconds?":ss":"",I=e.enableMinutes?":mm":"";return e.is24?`HH${I}${q}`:`hh${I}${q} aa`},t=()=>{var q;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((q=R.value)==null?void 0:q.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},n=q=>xr(q,e.enableSeconds),o=()=>K.value.enabled?e.startTime&&Array.isArray(e.startTime)?[n(e.startTime[0]),n(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?n(e.startTime):null,r=x(()=>Gm(e.multiCalendars)),l=x(()=>o()),u=x(()=>Km(e.ariaLabels)),d=x(()=>ep(e.filters)),b=x(()=>Jm(e.transitions)),f=x(()=>tp(e.actionRow)),p=x(()=>Xm(e.previewFormat,e.format,t())),c=x(()=>Zm(e.textInput)),g=x(()=>ap(e.inline)),P=x(()=>np(e.config)),$=x(()=>op(e.highlight)),R=x(()=>rp(e.weekNumbers)),W=x(()=>sp(e.timezone)),U=x(()=>dp(e.multiDates)),V=x(()=>up({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:$.value,markers:e.markers,timezone:W.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker})),K=x(()=>lp(e.range)),se=x(()=>cp(e.ui));return{defaultedTransitions:b,defaultedMultiCalendars:r,defaultedStartTime:l,defaultedAriaLabels:u,defaultedFilters:d,defaultedActionRow:f,defaultedPreviewFormat:p,defaultedTextInput:c,defaultedInline:g,defaultedConfig:P,defaultedHighlight:$,defaultedWeekNumbers:R,defaultedRange:K,propDates:V,defaultedTz:W,defaultedMultiDates:U,defaultedUI:se,getDefaultPattern:t,getDefaultStartTime:o}},vp=(e,a,t)=>{const n=A(),{defaultedTextInput:o,defaultedRange:r,defaultedTz:l,defaultedMultiDates:u,getDefaultPattern:d}=ze(a),b=A(""),f=Sa(a,"format"),p=Sa(a,"formatLocale");Je(n,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",n.value,Q(!0))},{deep:!0}),Je(r,(_,me)=>{_.enabled!==me.enabled&&(n.value=null)}),Je(f,()=>{ue()});const c=_=>l.value.timezone&&l.value.convertModel?ht(_,l.value.timezone):_,g=_=>{if(l.value.timezone&&l.value.convertModel){const me=Cm(l.value.timezone);return Vc(_,me)}return _},P=(_,me,Te=!1)=>Ar(_,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,me??d(),Te),$=_=>_?a.modelType?de(_):{hours:Bt(_),minutes:Gt(_),seconds:a.enableSeconds?ya(_):0}:null,R=_=>a.modelType?de(_):{month:Se(_),year:Pe(_)},W=_=>Array.isArray(_)?u.value.enabled?_.map(me=>U(me,Ot(Z(),me))):Ea(()=>[Ot(Z(),_[0]),_[1]?Ot(Z(),_[1]):va(r.value.partialRange)],r.value.enabled):Ot(Z(),+_),U=(_,me)=>(typeof _=="string"||typeof _=="number")&&a.modelType?j(_):me,V=_=>Array.isArray(_)?[U(_[0],Kt(null,+_[0].hours,+_[0].minutes,_[0].seconds)),U(_[1],Kt(null,+_[1].hours,+_[1].minutes,_[1].seconds))]:U(_,Kt(null,_.hours,_.minutes,_.seconds)),K=_=>{const me=He(Z(),{date:1});return Array.isArray(_)?u.value.enabled?_.map(Te=>U(Te,Rt(me,+Te.month,+Te.year))):Ea(()=>[U(_[0],Rt(me,+_[0].month,+_[0].year)),U(_[1],_[1]?Rt(me,+_[1].month,+_[1].year):va(r.value.partialRange))],r.value.enabled):U(_,Rt(me,+_.month,+_.year))},se=_=>{if(Array.isArray(_))return _.map(me=>j(me));throw new Error(oo.dateArr("multi-dates"))},q=_=>{if(Array.isArray(_)&&r.value.enabled){const me=_[0],Te=_[1];return[Z(Array.isArray(me)?me[0]:null),Z(Array.isArray(Te)?Te[0]:null)]}return Z(_[0])},I=_=>a.modelAuto?Array.isArray(_)?[j(_[0]),j(_[1])]:a.autoApply?[j(_)]:[j(_),null]:Array.isArray(_)?Ea(()=>_[1]?[j(_[0]),_[1]?j(_[1]):va(r.value.partialRange)]:[j(_[0])],r.value.enabled):j(_),te=()=>{Array.isArray(n.value)&&r.value.enabled&&n.value.length===1&&n.value.push(va(r.value.partialRange))},G=()=>{const _=n.value;return[de(_[0]),_[1]?de(_[1]):va(r.value.partialRange)]},F=()=>n.value[1]?G():de(nt(n.value[0])),ve=()=>(n.value||[]).map(_=>de(_)),_e=(_=!1)=>(_||te(),a.modelAuto?F():u.value.enabled?ve():Array.isArray(n.value)?Ea(()=>G(),r.value.enabled):de(nt(n.value))),ke=_=>!_||Array.isArray(_)&&!_.length?null:a.timePicker?V(nt(_)):a.monthPicker?K(nt(_)):a.yearPicker?W(nt(_)):u.value.enabled?se(nt(_)):a.weekPicker?q(nt(_)):I(nt(_)),H=_=>{const me=ke(_);Ln(nt(me))?(n.value=nt(me),ue()):(n.value=null,b.value="")},C=()=>{const _=me=>$t(me,o.value.format);return`${_(n.value[0])} ${o.value.rangeSeparator} ${n.value[1]?_(n.value[1]):""}`},M=()=>t.value&&n.value?Array.isArray(n.value)?C():$t(n.value,o.value.format):P(n.value),z=()=>n.value?u.value.enabled?n.value.map(_=>P(_)).join("; "):o.value.enabled&&typeof o.value.format=="string"?M():P(n.value):"",ue=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?b.value=z():b.value=a.format(n.value)},j=_=>{if(a.utc){const me=new Date(_);return a.utc==="preserve"?new Date(me.getTime()+me.getTimezoneOffset()*6e4):me}return a.modelType?Vm.includes(a.modelType)?c(new Date(_)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?c(Vn(_,d(),new Date,{locale:p.value})):c(Vn(_,a.modelType,new Date,{locale:p.value})):c(new Date(_))},de=_=>_?a.utc?zm(_,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+g(_):a.modelType==="iso"?g(_).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?P(g(_)):P(g(_),a.modelType,!0):g(_):"",De=(_,me=!1,Te=!1)=>{if(Te)return _;if(e("update:model-value",_),l.value.emitTimezone&&me){const Ze=Array.isArray(_)?_.map(B=>ht(nt(B),l.value.emitTimezone)):ht(nt(_),l.value.emitTimezone);e("update:model-timezone-value",Ze)}},D=_=>Array.isArray(n.value)?u.value.enabled?n.value.map(me=>_(me)):[_(n.value[0]),n.value[1]?_(n.value[1]):va(r.value.partialRange)]:_(nt(n.value)),T=()=>{if(Array.isArray(n.value)){const _=Nt(n.value[0],a.weekStart),me=n.value[1]?Nt(n.value[1],a.weekStart):[];return[_.map(Te=>Z(Te)),me.map(Te=>Z(Te))]}return Nt(n.value,a.weekStart).map(_=>Z(_))},v=(_,me)=>De(nt(D(_)),!1,me),N=_=>{const me=T();return _?me:e("update:model-value",T())},Q=(_=!1)=>(_||ue(),a.monthPicker?v(R,_):a.timePicker?v($,_):a.yearPicker?v(Pe,_):a.weekPicker?N(_):De(_e(_),!0,_));return{inputValue:b,internalModelValue:n,checkBeforeEmit:()=>n.value?r.value.enabled?r.value.partialRange?n.value.length>=1:n.value.length===2:!!n.value:!1,parseExternalModelValue:H,formatInputValue:ue,emitModelValue:Q}},mp=(e,a)=>{const{defaultedFilters:t,propDates:n}=ze(e),{validateMonthYearInRange:o}=ea(e),r=(f,p)=>{let c=f;return t.value.months.includes(Se(c))?(c=p?bt(f,1):Et(f,1),r(c,p)):c},l=(f,p)=>{let c=f;return t.value.years.includes(Pe(c))?(c=p?Wn(f,1):_r(f,1),l(c,p)):c},u=(f,p=!1)=>{const c=He(Z(),{month:e.month,year:e.year});let g=f?bt(c,1):Et(c,1);e.disableYearSelect&&(g=Ot(g,e.year));let P=Se(g),$=Pe(g);t.value.months.includes(P)&&(g=r(g,f),P=Se(g),$=Pe(g)),t.value.years.includes($)&&(g=l(g,f),$=Pe(g)),o(P,$,f,e.preventMinMaxNavigation)&&d(P,$,p)},d=(f,p,c)=>{a("update-month-year",{month:f,year:p,fromNav:c})},b=x(()=>f=>Sr(He(Z(),{month:e.month,year:e.year}),n.value.maxDate,n.value.minDate,e.preventMinMaxNavigation,f));return{handleMonthYearChange:u,isDisabled:b,updateMonthYear:d}},en={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},Mt={...en,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},pp=["title"],fp=["disabled"],hp=J({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...Mt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:a}){const t=a,n=e,{defaultedActionRow:o,defaultedPreviewFormat:r,defaultedMultiCalendars:l,defaultedTextInput:u,defaultedInline:d,defaultedRange:b,defaultedMultiDates:f,getDefaultPattern:p}=ze(n),{isTimeValid:c,isMonthValid:g}=ea(n),{buildMatrix:P}=Zt(),$=A(null),R=A(null),W=A(!1),U=A({}),V=A(null),K=A(null);Ue(()=>{n.arrowNavigation&&P([tt($),tt(R)],"actionRow"),se(),window.addEventListener("resize",se)}),Xt(()=>{window.removeEventListener("resize",se)});const se=()=>{W.value=!1,setTimeout(()=>{var C,M;const z=(C=V.value)==null?void 0:C.getBoundingClientRect(),ue=(M=K.value)==null?void 0:M.getBoundingClientRect();z&&ue&&(U.value.maxWidth=`${ue.width-z.width-20}px`),W.value=!0},0)},q=x(()=>b.value.enabled&&!b.value.partialRange&&n.internalModelValue?n.internalModelValue.length===2:!0),I=x(()=>!c.value(n.internalModelValue)||!g.value(n.internalModelValue)||!q.value),te=()=>{const C=r.value;return n.timePicker||n.monthPicker,C(nt(n.internalModelValue))},G=()=>{const C=n.internalModelValue;return l.value.count>0?`${F(C[0])} - ${F(C[1])}`:[F(C[0]),F(C[1])]},F=C=>Ar(C,r.value,n.formatLocale,u.value.rangeSeparator,n.modelAuto,p()),ve=x(()=>!n.internalModelValue||!n.menuMount?"":typeof r.value=="string"?Array.isArray(n.internalModelValue)?n.internalModelValue.length===2&&n.internalModelValue[1]?G():f.value.enabled?n.internalModelValue.map(C=>`${F(C)}`):n.modelAuto?`${F(n.internalModelValue[0])}`:`${F(n.internalModelValue[0])} -`:F(n.internalModelValue):te()),_e=()=>f.value.enabled?"; ":" - ",ke=x(()=>Array.isArray(ve.value)?ve.value.join(_e()):ve.value),H=()=>{c.value(n.internalModelValue)&&g.value(n.internalModelValue)&&q.value?t("select-date"):t("invalid-select")};return(C,M)=>(i(),m("div",{ref_key:"actionRowRef",ref:K,class:"dp__action_row"},[C.$slots["action-row"]?k(C.$slots,"action-row",ot(Oe({key:0},{internalModelValue:C.internalModelValue,disabled:I.value,selectDate:()=>C.$emit("select-date"),closePicker:()=>C.$emit("close-picker")}))):(i(),m(pe,{key:1},[s(o).showPreview?(i(),m("div",{key:0,class:"dp__selection_preview",title:ke.value,style:mt(U.value)},[C.$slots["action-preview"]&&W.value?k(C.$slots,"action-preview",{key:0,value:C.internalModelValue}):S("",!0),!C.$slots["action-preview"]&&W.value?(i(),m(pe,{key:1},[Ne(ce(ke.value),1)],64)):S("",!0)],12,pp)):S("",!0),y("div",{ref_key:"actionBtnContainer",ref:V,class:"dp__action_buttons","data-dp-element":"action-row"},[C.$slots["action-buttons"]?k(C.$slots,"action-buttons",{key:0,value:C.internalModelValue}):S("",!0),C.$slots["action-buttons"]?S("",!0):(i(),m(pe,{key:1},[!s(d).enabled&&s(o).showCancel?(i(),m("button",{key:0,ref_key:"cancelButtonRef",ref:$,type:"button",class:"dp__action_button dp__action_cancel",onClick:M[0]||(M[0]=z=>C.$emit("close-picker")),onKeydown:M[1]||(M[1]=z=>s(ct)(z,()=>C.$emit("close-picker")))},ce(C.cancelText),545)):S("",!0),s(o).showNow?(i(),m("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:M[2]||(M[2]=z=>C.$emit("select-now")),onKeydown:M[3]||(M[3]=z=>s(ct)(z,()=>C.$emit("select-now")))},ce(C.nowButtonLabel),33)):S("",!0),s(o).showSelect?(i(),m("button",{key:2,ref_key:"selectButtonRef",ref:R,type:"button",class:"dp__action_button dp__action_select",disabled:I.value,"data-test":"select-button",onKeydown:M[4]||(M[4]=z=>s(ct)(z,()=>H())),onClick:H},ce(C.selectText),41,fp)):S("",!0)],64))],512)],64))],512))}}),yp=["role","aria-label","tabindex"],gp={class:"dp__selection_grid_header"},_p=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],bp=["aria-label"],Ia=J({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:t}){const{setSelectionGrid:n,buildMultiLevelMatrix:o,setMonthPicker:r}=Zt(),l=t,u=e,{defaultedAriaLabels:d,defaultedTextInput:b,defaultedConfig:f}=ze(u),{hideNavigationButtons:p}=nn(),c=A(!1),g=A(null),P=A(null),$=A([]),R=A(),W=A(null),U=A(0),V=A(null);nl(()=>{g.value=null}),Ue(()=>{yt().then(()=>ve()),u.noOverlayFocus||se(),K(!0)}),Xt(()=>K(!1));const K=D=>{var T;u.arrowNavigation&&((T=u.headerRefs)!=null&&T.length?r(D):n(D))},se=()=>{var D;const T=tt(P);T&&(b.value.enabled||(g.value?(D=g.value)==null||D.focus({preventScroll:!0}):T.focus({preventScroll:!0})),c.value=T.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!u.useRelative,"dp--overlay-relative":u.useRelative})),I=x(()=>u.useRelative?{height:`${u.height}px`,width:"260px"}:void 0),te=x(()=>({dp__overlay_col:!0})),G=x(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:c.value,dp__button_bottom:u.isLast})),F=x(()=>{var D,T;return{dp__overlay_container:!0,dp__container_flex:((D=u.items)==null?void 0:D.length)<=6,dp__container_block:((T=u.items)==null?void 0:T.length)>6}});Je(()=>u.items,()=>ve(!1),{deep:!0});const ve=(D=!0)=>{yt().then(()=>{const T=tt(g),v=tt(P),N=tt(W),Q=tt(V),_=N?N.getBoundingClientRect().height:0;v&&(v.getBoundingClientRect().height?U.value=v.getBoundingClientRect().height-_:U.value=f.value.modeHeight-_),T&&Q&&D&&(Q.scrollTop=T.offsetTop-Q.offsetTop-(U.value/2-T.getBoundingClientRect().height)-_)})},_e=D=>{D.disabled||l("selected",D.value)},ke=()=>{l("toggle"),l("reset-flow")},H=()=>{u.escClose&&ke()},C=(D,T,v,N)=>{D&&((T.active||T.value===u.focusValue)&&(g.value=D),u.arrowNavigation&&(Array.isArray($.value[v])?$.value[v][N]=D:$.value[v]=[D],M()))},M=()=>{var D,T;const v=(D=u.headerRefs)!=null&&D.length?[u.headerRefs].concat($.value):$.value.concat([u.skipButtonRef?[]:[W.value]]);o(nt(v),(T=u.headerRefs)!=null&&T.length?"monthPicker":"selectionGrid")},z=D=>{u.arrowNavigation||Qt(D,f.value,!0)},ue=D=>{R.value=D,l("hover-value",D)},j=()=>{if(ke(),!u.isLast){const D=In(u.menuWrapRef??null,"action-row");if(D){const T=$r(D);T==null||T.focus()}}},de=D=>{switch(D.key){case Fe.esc:return H();case Fe.arrowLeft:return z(D);case Fe.arrowRight:return z(D);case Fe.arrowUp:return z(D);case Fe.arrowDown:return z(D);default:return}},De=D=>{if(D.key===Fe.enter)return ke();if(D.key===Fe.tab)return j()};return a({focusGrid:se}),(D,T)=>{var v;return i(),m("div",{ref_key:"gridWrapRef",ref:P,class:he(q.value),style:mt(I.value),role:D.useRelative?void 0:"dialog","aria-label":D.overlayLabel,tabindex:D.useRelative?void 0:"0",onKeydown:de,onClick:T[0]||(T[0]=ia(()=>{},["prevent"]))},[y("div",{ref_key:"containerRef",ref:V,class:he(F.value),style:mt({"--dp-overlay-height":`${U.value}px`}),role:"grid"},[y("div",gp,[k(D.$slots,"header")]),D.$slots.overlay?k(D.$slots,"overlay",{key:0}):(i(!0),m(pe,{key:1},Me(D.items,(N,Q)=>(i(),m("div",{key:Q,class:he(["dp__overlay_row",{dp__flex_row:D.items.length>=3}]),role:"row"},[(i(!0),m(pe,null,Me(N,(_,me)=>(i(),m("div",{key:_.value,ref_for:!0,ref:Te=>C(Te,_,Q,me),role:"gridcell",class:he(te.value),"aria-selected":_.active||void 0,"aria-disabled":_.disabled||void 0,tabindex:"0","data-test":_.text,onClick:ia(Te=>_e(_),["prevent"]),onKeydown:Te=>s(ct)(Te,()=>_e(_),!0),onMouseover:Te=>ue(_.value)},[y("div",{class:he(_.className)},[D.$slots.item?k(D.$slots,"item",{key:0,item:_}):S("",!0),D.$slots.item?S("",!0):(i(),m(pe,{key:1},[Ne(ce(_.text),1)],64))],2)],42,_p))),128))],2))),128))],6),D.$slots["button-icon"]?Ta((i(),m("button",{key:0,ref_key:"toggleButton",ref:W,type:"button","aria-label":(v=s(d))==null?void 0:v.toggleOverlay,class:he(G.value),tabindex:"0",onClick:ke,onKeydown:De},[k(D.$slots,"button-icon")],42,bp)),[[Ya,!s(p)(D.hideNavigation,D.type)]]):S("",!0)],46,yp)}}}),tn=J({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const a=e,t=x(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),n=x(()=>({dp__instance_calendar:a.multiCalendars>0}));return(o,r)=>(i(),m("div",{class:he({dp__menu_inner:!o.stretch,"dp--menu--inner-stretched":o.stretch,dp__flex_display:o.multiCalendars>0,"dp--flex-display-collapsed":o.collapse})},[(i(!0),m(pe,null,Me(t.value,(l,u)=>(i(),m("div",{key:l,class:he(n.value)},[k(o.$slots,"default",{instance:l,index:u})],2))),128))],2))}}),kp=["data-dp-element","aria-label","aria-disabled"],xa=J({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const t=a,n=A(null);return Ue(()=>t("set-ref",n)),(o,r)=>(i(),m("button",{ref_key:"elRef",ref:n,type:"button","data-dp-element":o.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":o.ariaLabel,"aria-disabled":o.disabled||void 0,onClick:r[0]||(r[0]=l=>o.$emit("activate")),onKeydown:r[1]||(r[1]=l=>s(ct)(l,()=>o.$emit("activate"),!0))},[y("span",{class:he(["dp__inner_nav",{dp__inner_nav_disabled:o.disabled}])},[k(o.$slots,"default")],2)],40,kp))}}),wp=["aria-label","data-test"],Ir=J({__name:"YearModePicker",props:{...Mt,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:a}){const t=a,n=e,{showRightIcon:o,showLeftIcon:r}=nn(),{defaultedConfig:l,defaultedMultiCalendars:u,defaultedAriaLabels:d,defaultedTransitions:b,defaultedUI:f}=ze(n),{showTransition:p,transitionName:c}=La(b),g=A(!1),P=(W=!1,U)=>{g.value=!g.value,t("toggle-year-picker",{flow:W,show:U})},$=W=>{g.value=!1,t("year-select",W)},R=(W=!1)=>{t("handle-year",W)};return(W,U)=>{var V,K,se,q,I;return i(),m(pe,null,[y("div",{class:he(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[s(r)(s(u),e.instance)?(i(),le(xa,{key:0,ref:"mpPrevIconRef","aria-label":(V=s(d))==null?void 0:V.prevYear,disabled:e.isDisabled(!1),class:he((K=s(f))==null?void 0:K.navBtnPrev),onActivate:U[0]||(U[0]=te=>R(!1))},{default:w(()=>[W.$slots["arrow-left"]?k(W.$slots,"arrow-left",{key:0}):S("",!0),W.$slots["arrow-left"]?S("",!0):(i(),le(s(Xn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),y("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(se=s(d))==null?void 0:se.openYearsOverlay}`,"data-test":`year-mode-btn-${e.instance}`,onClick:U[1]||(U[1]=()=>P(!1)),onKeydown:U[2]||(U[2]=Eo(()=>P(!1),["enter"]))},[W.$slots.year?k(W.$slots,"year",{key:0,year:e.year}):S("",!0),W.$slots.year?S("",!0):(i(),m(pe,{key:1},[Ne(ce(e.year),1)],64))],40,wp),s(o)(s(u),e.instance)?(i(),le(xa,{key:1,ref:"mpNextIconRef","aria-label":(q=s(d))==null?void 0:q.nextYear,disabled:e.isDisabled(!0),class:he((I=s(f))==null?void 0:I.navBtnNext),onActivate:U[3]||(U[3]=te=>R(!0))},{default:w(()=>[W.$slots["arrow-right"]?k(W.$slots,"arrow-right",{key:0}):S("",!0),W.$slots["arrow-right"]?S("",!0):(i(),le(s(Jn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0)],2),ee(Ht,{name:s(c)(e.showYearPicker),css:s(p)},{default:w(()=>{var te,G;return[e.showYearPicker?(i(),le(Ia,{key:0,items:e.items,"text-input":W.textInput,"esc-close":W.escClose,config:W.config,"is-last":W.autoApply&&!s(l).keepActionRow,"hide-navigation":W.hideNavigation,"aria-labels":W.ariaLabels,"overlay-label":(G=(te=s(d))==null?void 0:te.yearPicker)==null?void 0:G.call(te,!0),type:"year",onToggle:P,onSelected:U[4]||(U[4]=F=>$(F))},at({"button-icon":w(()=>[W.$slots["calendar-icon"]?k(W.$slots,"calendar-icon",{key:0}):S("",!0),W.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))]),_:2},[W.$slots["year-overlay-value"]?{name:"item",fn:w(({item:F})=>[k(W.$slots,"year-overlay-value",{text:F.text,value:F.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):S("",!0)]}),_:3},8,["name","css"])],64)}}}),so=(e,a,t)=>{if(a.value&&Array.isArray(a.value))if(a.value.some(n=>Ve(e,n))){const n=a.value.filter(o=>!Ve(o,e));a.value=n.length?n:null}else(t&&+t>a.value.length||!t)&&a.value.push(e);else a.value=[e]},io=(e,a,t)=>{let n=e.value?e.value.slice():[];return n.length===2&&n[1]!==null&&(n=[]),n.length?qe(a,n[0])?(n.unshift(a),t("range-start",n[0]),t("range-start",n[1])):(n[1]=a,t("range-end",a)):(n=[a],t("range-start",a)),n},an=(e,a,t,n)=>{e&&(e[0]&&e[1]&&t&&a("auto-apply"),e[0]&&!e[1]&&n&&t&&a("auto-apply"))},Lr=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>ht(Z(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=ht(Z(e.value),e.timezone))},Nr=(e,a,t,n)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&n.value.partialRange)?n.value.fixedStart&&(Ke(e,a.value[0])||Ve(e,a.value[0]))?[a.value[0],e]:n.value.fixedEnd&&(qe(e,a.value[1])||Ve(e,a.value[1]))?[e,a.value[1]]:(t("invalid-fixed-range",e),a.value):[],Rr=({multiCalendars:e,range:a,highlight:t,propDates:n,calendars:o,modelValue:r,props:l,filters:u,year:d,month:b,emit:f})=>{const p=x(()=>no(l.yearRange,l.locale,l.reverseYears)),c=A([!1]),g=x(()=>(F,ve)=>{const _e=He(Pt(new Date),{month:b.value(F),year:d.value(F)}),ke=ve?Un(_e):ha(_e);return Sr(ke,n.value.maxDate,n.value.minDate,l.preventMinMaxNavigation,ve)}),P=()=>Array.isArray(r.value)&&e.value.solo&&r.value[1],$=()=>{for(let F=0;F{if(!F)return $();const ve=He(Z(),o.value[F]);return o.value[0].year=Pe(_r(ve,e.value.count-1)),$()},W=(F,ve)=>{const _e=Rc(ve,F);return a.value.showLastInRange&&_e>1?ve:F},U=F=>l.focusStartDate||e.value.solo?F[0]:F[1]?W(F[0],F[1]):F[0],V=()=>{if(r.value){const F=Array.isArray(r.value)?U(r.value):r.value;o.value[0]={month:Se(F),year:Pe(F)}}},K=()=>{V(),e.value.count&&$()};Je(r,(F,ve)=>{l.isTextInputDate&&JSON.stringify(F??{})!==JSON.stringify(ve??{})&&K()}),Ue(()=>{K()});const se=(F,ve)=>{o.value[ve].year=F,f("update-month-year",{instance:ve,year:F,month:o.value[ve].month}),e.value.count&&!e.value.solo&&R(ve)},q=x(()=>F=>_a(p.value,ve=>{var _e;const ke=d.value(F)===ve.value,H=Ca(ve.value,ba(n.value.minDate),ba(n.value.maxDate))||((_e=u.value.years)==null?void 0:_e.includes(d.value(F))),C=lo(t.value,ve.value);return{active:ke,disabled:H,highlighted:C}})),I=(F,ve)=>{se(F,ve),G(ve)},te=(F,ve=!1)=>{if(!g.value(F,ve)){const _e=ve?d.value(F)+1:d.value(F)-1;se(_e,F)}},G=(F,ve=!1,_e)=>{ve||f("reset-flow"),_e!==void 0?c.value[F]=_e:c.value[F]=!c.value[F],c.value[F]?f("overlay-toggle",{open:!0,overlay:it.year}):(f("overlay-closed"),f("overlay-toggle",{open:!1,overlay:it.year}))};return{isDisabled:g,groupedYears:q,showYearPicker:c,selectYear:se,toggleYearPicker:G,handleYearSelect:I,handleYear:te}},$p=(e,a)=>{const{defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,defaultedRange:l,defaultedHighlight:u,propDates:d,defaultedTz:b,defaultedFilters:f,defaultedMultiDates:p}=ze(e),c=()=>{e.isTextInputDate&&K(Pe(Z(e.startDate)),0)},{modelValue:g,year:P,month:$,calendars:R}=Na(e,a,c),W=x(()=>kr(e.formatLocale,e.locale,e.monthNameFormat)),U=A(null),{checkMinMaxRange:V}=ea(e),{selectYear:K,groupedYears:se,showYearPicker:q,toggleYearPicker:I,handleYearSelect:te,handleYear:G,isDisabled:F}=Rr({modelValue:g,multiCalendars:t,range:l,highlight:u,calendars:R,year:P,propDates:d,month:$,filters:f,props:e,emit:a});Ue(()=>{e.startDate&&(g.value&&e.focusStartDate||!g.value)&&K(Pe(Z(e.startDate)),0)});const ve=v=>v?{month:Se(v),year:Pe(v)}:{month:null,year:null},_e=()=>g.value?Array.isArray(g.value)?g.value.map(v=>ve(v)):ve(g.value):ve(),ke=(v,N)=>{const Q=R.value[v],_=_e();return Array.isArray(_)?_.some(me=>me.year===(Q==null?void 0:Q.year)&&me.month===N):(Q==null?void 0:Q.year)===_.year&&N===_.month},H=(v,N,Q)=>{var _,me;const Te=_e();return Array.isArray(Te)?P.value(N)===((_=Te[Q])==null?void 0:_.year)&&v===((me=Te[Q])==null?void 0:me.month):!1},C=(v,N)=>{if(l.value.enabled){const Q=_e();if(Array.isArray(g.value)&&Array.isArray(Q)){const _=H(v,N,0)||H(v,N,1),me=Rt(Pt(Z()),v,P.value(N));return Za(g.value,U.value,me)&&!_}return!1}return!1},M=x(()=>v=>_a(W.value,N=>{var Q;const _=ke(v,N.value),me=Ca(N.value,Pr(P.value(v),d.value.minDate),Tr(P.value(v),d.value.maxDate))||Qm(d.value.disabledDates,P.value(v)).includes(N.value)||((Q=f.value.months)==null?void 0:Q.includes(N.value)),Te=C(N.value,v),Ze=Cr(u.value,N.value,P.value(v));return{active:_,disabled:me,isBetween:Te,highlighted:Ze}})),z=(v,N)=>Rt(Pt(Z()),v,P.value(N)),ue=(v,N)=>{const Q=g.value?g.value:Pt(new Date);g.value=Rt(Q,v,P.value(N)),a("auto-apply"),a("update-flow-step")},j=(v,N)=>{const Q=z(v,N);l.value.fixedEnd||l.value.fixedStart?g.value=Nr(Q,g,a,l):g.value?V(Q,g.value)&&(g.value=io(g,z(v,N),a)):g.value=[z(v,N)],yt().then(()=>{an(g.value,a,e.autoApply,e.modelAuto)})},de=(v,N)=>{so(z(v,N),g,p.value.limit),a("auto-apply",!0)},De=(v,N)=>(R.value[N].month=v,T(N,R.value[N].year,v),p.value.enabled?de(v,N):l.value.enabled?j(v,N):ue(v,N)),D=(v,N)=>{K(v,N),T(N,v,null)},T=(v,N,Q)=>{let _=Q;if(!_&&_!==0){const me=_e();_=Array.isArray(me)?me[v].month:me.month}a("update-month-year",{instance:v,year:N,month:_})};return{groupedMonths:M,groupedYears:se,year:P,isDisabled:F,defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,showYearPicker:q,modelValue:g,presetDate:(v,N)=>{Lr({value:v,modelValue:g,range:l.value.enabled,timezone:N?void 0:b.value.timezone}),a("auto-apply")},setHoverDate:(v,N)=>{U.value=z(v,N)},selectMonth:De,selectYear:D,toggleYearPicker:I,handleYearSelect:te,handleYear:G,getModelMonthYear:_e}},Dp=J({compatConfig:{MODE:3},__name:"MonthPicker",props:{...Mt},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=Jt(),r=_t(o,"yearMode"),l=e;Ue(()=>{l.shadow||n("mount",null)});const{groupedMonths:u,groupedYears:d,year:b,isDisabled:f,defaultedMultiCalendars:p,defaultedConfig:c,showYearPicker:g,modelValue:P,presetDate:$,setHoverDate:R,selectMonth:W,selectYear:U,toggleYearPicker:V,handleYearSelect:K,handleYear:se,getModelMonthYear:q}=$p(l,n);return a({getSidebarProps:()=>({modelValue:P,year:b,getModelMonthYear:q,selectMonth:W,selectYear:U,handleYear:se}),presetDate:$,toggleYearPicker:I=>V(0,I)}),(I,te)=>(i(),le(tn,{"multi-calendars":s(p).count,collapse:I.collapse,stretch:""},{default:w(({instance:G})=>[I.$slots["top-extra"]?k(I.$slots,"top-extra",{key:0,value:I.internalModelValue}):S("",!0),I.$slots["month-year"]?k(I.$slots,"month-year",ot(Oe({key:1},{year:s(b),months:s(u)(G),years:s(d)(G),selectMonth:s(W),selectYear:s(U),instance:G}))):(i(),le(Ia,{key:2,items:s(u)(G),"arrow-navigation":I.arrowNavigation,"is-last":I.autoApply&&!s(c).keepActionRow,"esc-close":I.escClose,height:s(c).modeHeight,config:I.config,"no-overlay-focus":!!(I.noOverlayFocus||I.textInput),"use-relative":"",type:"month",onSelected:F=>s(W)(F,G),onHoverValue:F=>s(R)(F,G)},at({header:w(()=>[ee(Ir,Oe(I.$props,{items:s(d)(G),instance:G,"show-year-picker":s(g)[G],year:s(b)(G),"is-disabled":F=>s(f)(G,F),onHandleYear:F=>s(se)(G,F),onYearSelect:F=>s(K)(F,G),onToggleYearPicker:F=>s(V)(G,F==null?void 0:F.flow,F==null?void 0:F.show)}),at({_:2},[Me(s(r),(F,ve)=>({name:F,fn:w(_e=>[k(I.$slots,F,ot(pt(_e)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[I.$slots["month-overlay-value"]?{name:"item",fn:w(({item:F})=>[k(I.$slots,"month-overlay-value",{text:F.text,value:F.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),Pp=(e,a)=>{const t=()=>{e.isTextInputDate&&(f.value=Pe(Z(e.startDate)))},{modelValue:n}=Na(e,a,t),o=A(null),{defaultedHighlight:r,defaultedMultiDates:l,defaultedFilters:u,defaultedRange:d,propDates:b}=ze(e),f=A();Ue(()=>{e.startDate&&(n.value&&e.focusStartDate||!n.value)&&(f.value=Pe(Z(e.startDate)))});const p=$=>Array.isArray(n.value)?n.value.some(R=>Pe(R)===$):n.value?Pe(n.value)===$:!1,c=$=>d.value.enabled&&Array.isArray(n.value)?Za(n.value,o.value,P($)):!1,g=x(()=>_a(no(e.yearRange,e.locale,e.reverseYears),$=>{const R=p($.value),W=Ca($.value,ba(b.value.minDate),ba(b.value.maxDate))||u.value.years.includes($.value),U=c($.value)&&!R,V=lo(r.value,$.value);return{active:R,disabled:W,isBetween:U,highlighted:V}})),P=$=>Ot(Pt(ha(new Date)),$);return{groupedYears:g,modelValue:n,focusYear:f,setHoverValue:$=>{o.value=Ot(Pt(new Date),$)},selectYear:$=>{var R;if(a("update-month-year",{instance:0,year:$}),l.value.enabled)return n.value?Array.isArray(n.value)&&(((R=n.value)==null?void 0:R.map(W=>Pe(W))).includes($)?n.value=n.value.filter(W=>Pe(W)!==$):n.value.push(Ot(vt(Z()),$))):n.value=[Ot(vt(ha(Z())),$)],a("auto-apply",!0);d.value.enabled?(n.value=io(n,P($),a),yt().then(()=>{an(n.value,a,e.autoApply,e.modelAuto)})):(n.value=P($),a("auto-apply"))}}},Tp=J({compatConfig:{MODE:3},__name:"YearPicker",props:{...Mt},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:a,emit:t}){const n=t,o=e,{groupedYears:r,modelValue:l,focusYear:u,selectYear:d,setHoverValue:b}=Pp(o,n),{defaultedConfig:f}=ze(o);return a({getSidebarProps:()=>({modelValue:l,selectYear:d})}),(p,c)=>(i(),m("div",null,[p.$slots["top-extra"]?k(p.$slots,"top-extra",{key:0,value:p.internalModelValue}):S("",!0),p.$slots["month-year"]?k(p.$slots,"month-year",ot(Oe({key:1},{years:s(r),selectYear:s(d)}))):(i(),le(Ia,{key:2,items:s(r),"is-last":p.autoApply&&!s(f).keepActionRow,height:s(f).modeHeight,config:p.config,"no-overlay-focus":!!(p.noOverlayFocus||p.textInput),"focus-value":s(u),type:"year","use-relative":"",onSelected:s(d),onHoverValue:s(b)},at({_:2},[p.$slots["year-overlay-value"]?{name:"item",fn:w(({item:g})=>[k(p.$slots,"year-overlay-value",{text:g.text,value:g.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),Mp={key:0,class:"dp__time_input"},xp=["data-test","aria-label","onKeydown","onClick","onMousedown"],Sp=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Ap=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Cp=["aria-label","disabled","data-test","onKeydown","onClick"],Vp=["data-test","aria-label","onKeydown","onClick","onMousedown"],Op=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Ip=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Lp={key:0},Np=["aria-label"],Rp=J({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Mt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,{setTimePickerElements:r,setTimePickerBackRef:l}=Zt(),{defaultedAriaLabels:u,defaultedTransitions:d,defaultedFilters:b,defaultedConfig:f,defaultedRange:p}=ze(o),{transitionName:c,showTransition:g}=La(d),P=Va({hours:!1,minutes:!1,seconds:!1}),$=A("AM"),R=A(null),W=A([]),U=A(),V=A(!1);Ue(()=>{n("mounted")});const K=h=>He(new Date,{hours:h.hours,minutes:h.minutes,seconds:o.enableSeconds?h.seconds:0,milliseconds:0}),se=x(()=>h=>z(h,o[h])||I(h,o[h])),q=x(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),I=(h,X)=>p.value.enabled&&!p.value.disableTimeRangeValidation?!o.validateTime(h,X):!1,te=(h,X)=>{if(p.value.enabled&&!p.value.disableTimeRangeValidation){const oe=X?+o[`${h}Increment`]:-+o[`${h}Increment`],Y=o[h]+oe;return!o.validateTime(h,Y)}return!1},G=x(()=>h=>!D(+o[h]+ +o[`${h}Increment`],h)||te(h,!0)),F=x(()=>h=>!D(+o[h]-+o[`${h}Increment`],h)||te(h,!1)),ve=(h,X)=>Jo(He(Z(),h),X),_e=(h,X)=>Sm(He(Z(),h),X),ke=x(()=>({dp__time_col:!0,dp__time_col_block:!o.timePickerInline,dp__time_col_reg_block:!o.enableSeconds&&o.is24&&!o.timePickerInline,dp__time_col_reg_inline:!o.enableSeconds&&o.is24&&o.timePickerInline,dp__time_col_reg_with_button:!o.enableSeconds&&!o.is24,dp__time_col_sec:o.enableSeconds&&o.is24,dp__time_col_sec_with_button:o.enableSeconds&&!o.is24})),H=x(()=>{const h=[{type:"hours"}];return o.enableMinutes&&h.push({type:"",separator:!0},{type:"minutes"}),o.enableSeconds&&h.push({type:"",separator:!0},{type:"seconds"}),h}),C=x(()=>H.value.filter(h=>!h.separator)),M=x(()=>h=>{if(h==="hours"){const X=me(+o.hours);return{text:X<10?`0${X}`:`${X}`,value:X}}return{text:o[h]<10?`0${o[h]}`:`${o[h]}`,value:o[h]}}),z=(h,X)=>{var oe;if(!o.disabledTimesConfig)return!1;const Y=o.disabledTimesConfig(o.order,h==="hours"?X:void 0);return Y[h]?!!((oe=Y[h])!=null&&oe.includes(X)):!0},ue=(h,X)=>X!=="hours"||$.value==="AM"?h:h+12,j=h=>{const X=o.is24?24:12,oe=h==="hours"?X:60,Y=+o[`${h}GridIncrement`],xe=h==="hours"&&!o.is24?Y:0,L=[];for(let ae=xe;ae({active:!1,disabled:b.value.times[h].includes(ae.value)||!D(ae.value,h)||z(h,ae.value)||I(h,ae.value)}))},de=h=>h>=0?h:59,De=h=>h>=0?h:23,D=(h,X)=>{const oe=o.minTime?K(fn(o.minTime)):null,Y=o.maxTime?K(fn(o.maxTime)):null,xe=K(fn(q.value,X,X==="minutes"||X==="seconds"?de(h):De(h)));return oe&&Y?(Aa(xe,Y)||oa(xe,Y))&&(ga(xe,oe)||oa(xe,oe)):oe?ga(xe,oe)||oa(xe,oe):Y?Aa(xe,Y)||oa(xe,Y):!0},T=h=>o[`no${h[0].toUpperCase()+h.slice(1)}Overlay`],v=h=>{T(h)||(P[h]=!P[h],P[h]?(V.value=!0,n("overlay-opened",h)):(V.value=!1,n("overlay-closed",h)))},N=h=>h==="hours"?Bt:h==="minutes"?Gt:ya,Q=()=>{U.value&&clearTimeout(U.value)},_=(h,X=!0,oe)=>{const Y=X?ve:_e,xe=X?+o[`${h}Increment`]:-+o[`${h}Increment`];D(+o[h]+xe,h)&&n(`update:${h}`,N(h)(Y({[h]:+o[h]},{[h]:+o[`${h}Increment`]}))),!(oe!=null&&oe.keyboard)&&f.value.timeArrowHoldThreshold&&(U.value=setTimeout(()=>{_(h,X)},f.value.timeArrowHoldThreshold))},me=h=>o.is24?h:(h>=12?$.value="PM":$.value="AM",Lm(h)),Te=()=>{$.value==="PM"?($.value="AM",n("update:hours",o.hours-12)):($.value="PM",n("update:hours",o.hours+12)),n("am-pm-change",$.value)},Ze=h=>{P[h]=!0},B=(h,X,oe)=>{if(h&&o.arrowNavigation){Array.isArray(W.value[X])?W.value[X][oe]=h:W.value[X]=[h];const Y=W.value.reduce((xe,L)=>L.map((ae,ge)=>[...xe[ge]||[],L[ge]]),[]);l(o.closeTimePickerBtn),R.value&&(Y[1]=Y[1].concat(R.value)),r(Y,o.order)}},ne=(h,X)=>(v(h),n(`update:${h}`,X));return a({openChildCmp:Ze}),(h,X)=>{var oe;return h.disabled?S("",!0):(i(),m("div",Mp,[(i(!0),m(pe,null,Me(H.value,(Y,xe)=>{var L,ae,ge;return i(),m("div",{key:xe,class:he(ke.value)},[Y.separator?(i(),m(pe,{key:0},[V.value?S("",!0):(i(),m(pe,{key:0},[Ne(":")],64))],64)):(i(),m(pe,{key:1},[y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,0),type:"button",class:he({dp__btn:!0,dp__inc_dec_button:!h.timePickerInline,dp__inc_dec_button_inline:h.timePickerInline,dp__tp_inline_btn_top:h.timePickerInline,dp__inc_dec_button_disabled:G.value(Y.type),"dp--hidden-el":V.value}),"data-test":`${Y.type}-time-inc-btn-${o.order}`,"aria-label":(L=s(u))==null?void 0:L.incrementValue(Y.type),tabindex:"0",onKeydown:Ae=>s(ct)(Ae,()=>_(Y.type,!0,{keyboard:!0}),!0),onClick:Ae=>s(f).timeArrowHoldThreshold?void 0:_(Y.type,!0),onMousedown:Ae=>s(f).timeArrowHoldThreshold?_(Y.type,!0):void 0,onMouseup:Q},[o.timePickerInline?(i(),m(pe,{key:1},[h.$slots["tp-inline-arrow-up"]?k(h.$slots,"tp-inline-arrow-up",{key:0}):(i(),m(pe,{key:1},[Sp,Ap],64))],64)):(i(),m(pe,{key:0},[h.$slots["arrow-up"]?k(h.$slots,"arrow-up",{key:0}):S("",!0),h.$slots["arrow-up"]?S("",!0):(i(),le(s(eo),{key:1}))],64))],42,xp),y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,1),type:"button","aria-label":`${M.value(Y.type).text}-${(ae=s(u))==null?void 0:ae.openTpOverlay(Y.type)}`,class:he({dp__time_display:!0,dp__time_display_block:!h.timePickerInline,dp__time_display_inline:h.timePickerInline,"dp--time-invalid":se.value(Y.type),"dp--time-overlay-btn":!se.value(Y.type),"dp--hidden-el":V.value}),disabled:T(Y.type),tabindex:"0","data-test":`${Y.type}-toggle-overlay-btn-${o.order}`,onKeydown:Ae=>s(ct)(Ae,()=>v(Y.type),!0),onClick:Ae=>v(Y.type)},[h.$slots[Y.type]?k(h.$slots,Y.type,{key:0,text:M.value(Y.type).text,value:M.value(Y.type).value}):S("",!0),h.$slots[Y.type]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(M.value(Y.type).text),1)],64))],42,Cp),y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,2),type:"button",class:he({dp__btn:!0,dp__inc_dec_button:!h.timePickerInline,dp__inc_dec_button_inline:h.timePickerInline,dp__tp_inline_btn_bottom:h.timePickerInline,dp__inc_dec_button_disabled:F.value(Y.type),"dp--hidden-el":V.value}),"data-test":`${Y.type}-time-dec-btn-${o.order}`,"aria-label":(ge=s(u))==null?void 0:ge.decrementValue(Y.type),tabindex:"0",onKeydown:Ae=>s(ct)(Ae,()=>_(Y.type,!1,{keyboard:!0}),!0),onClick:Ae=>s(f).timeArrowHoldThreshold?void 0:_(Y.type,!1),onMousedown:Ae=>s(f).timeArrowHoldThreshold?_(Y.type,!1):void 0,onMouseup:Q},[o.timePickerInline?(i(),m(pe,{key:1},[h.$slots["tp-inline-arrow-down"]?k(h.$slots,"tp-inline-arrow-down",{key:0}):(i(),m(pe,{key:1},[Op,Ip],64))],64)):(i(),m(pe,{key:0},[h.$slots["arrow-down"]?k(h.$slots,"arrow-down",{key:0}):S("",!0),h.$slots["arrow-down"]?S("",!0):(i(),le(s(to),{key:1}))],64))],42,Vp)],64))],2)}),128)),h.is24?S("",!0):(i(),m("div",Lp,[h.$slots["am-pm-button"]?k(h.$slots,"am-pm-button",{key:0,toggle:Te,value:$.value}):S("",!0),h.$slots["am-pm-button"]?S("",!0):(i(),m("button",{key:1,ref_key:"amPmButton",ref:R,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(oe=s(u))==null?void 0:oe.amPmButton,tabindex:"0",onClick:Te,onKeydown:X[0]||(X[0]=Y=>s(ct)(Y,()=>Te(),!0))},ce($.value),41,Np))])),(i(!0),m(pe,null,Me(C.value,(Y,xe)=>(i(),le(Ht,{key:xe,name:s(c)(P[Y.type]),css:s(g)},{default:w(()=>{var L,ae;return[P[Y.type]?(i(),le(Ia,{key:0,items:j(Y.type),"is-last":h.autoApply&&!s(f).keepActionRow,"esc-close":h.escClose,type:Y.type,"text-input":h.textInput,config:h.config,"arrow-navigation":h.arrowNavigation,"aria-labels":h.ariaLabels,"overlay-label":(ae=(L=s(u)).timeOverlay)==null?void 0:ae.call(L,Y.type),onSelected:ge=>ne(Y.type,ge),onToggle:ge=>v(Y.type),onResetFlow:X[1]||(X[1]=ge=>h.$emit("reset-flow"))},at({"button-icon":w(()=>[h.$slots["clock-icon"]?k(h.$slots,"clock-icon",{key:0}):S("",!0),h.$slots["clock-icon"]?S("",!0):(i(),le(ft(h.timePickerInline?s(ka):s(Zn)),{key:1}))]),_:2},[h.$slots[`${Y.type}-overlay-value`]?{name:"item",fn:w(({item:ge})=>[k(h.$slots,`${Y.type}-overlay-value`,{text:ge.text,value:ge.value})]),key:"0"}:void 0,h.$slots[`${Y.type}-overlay-header`]?{name:"header",fn:w(()=>[k(h.$slots,`${Y.type}-overlay-header`,{toggle:()=>v(Y.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):S("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),Bp={class:"dp--tp-wrap"},Ep=["aria-label","tabindex"],Hp=["role","aria-label","tabindex"],Yp=["aria-label"],Br=J({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Mt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,{buildMatrix:r,setTimePicker:l}=Zt(),u=Jt(),{defaultedTransitions:d,defaultedAriaLabels:b,defaultedTextInput:f,defaultedConfig:p,defaultedRange:c}=ze(o),{transitionName:g,showTransition:P}=La(d),{hideNavigationButtons:$}=nn(),R=A(null),W=A(null),U=A([]),V=A(null),K=A(!1);Ue(()=>{n("mount"),!o.timePicker&&o.arrowNavigation?r([tt(R.value)],"time"):l(!0,o.timePicker)});const se=x(()=>c.value.enabled&&o.modelAuto?wr(o.internalModelValue):!0),q=A(!1),I=j=>({hours:Array.isArray(o.hours)?o.hours[j]:o.hours,minutes:Array.isArray(o.minutes)?o.minutes[j]:o.minutes,seconds:Array.isArray(o.seconds)?o.seconds[j]:o.seconds}),te=x(()=>{const j=[];if(c.value.enabled)for(let de=0;de<2;de++)j.push(I(de));else j.push(I(0));return j}),G=(j,de=!1,De="")=>{de||n("reset-flow"),q.value=j,n(j?"overlay-opened":"overlay-closed",it.time),o.arrowNavigation&&l(j),yt(()=>{De!==""&&U.value[0]&&U.value[0].openChildCmp(De)})},F=x(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!p.value.keepActionRow})),ve=_t(u,"timePicker"),_e=(j,de,De)=>c.value.enabled?de===0?[j,te.value[1][De]]:[te.value[0][De],j]:j,ke=j=>{n("update:hours",j)},H=j=>{n("update:minutes",j)},C=j=>{n("update:seconds",j)},M=()=>{if(V.value&&!f.value.enabled&&!o.noOverlayFocus){const j=$r(V.value);j&&j.focus({preventScroll:!0})}},z=j=>{K.value=!1,n("overlay-closed",j)},ue=j=>{K.value=!0,n("overlay-opened",j)};return a({toggleTimePicker:G}),(j,de)=>{var De;return i(),m("div",Bp,[!j.timePicker&&!j.timePickerInline?Ta((i(),m("button",{key:0,ref_key:"openTimePickerBtn",ref:R,type:"button",class:he({...F.value,"dp--hidden-el":q.value}),"aria-label":(De=s(b))==null?void 0:De.openTimePicker,tabindex:j.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:de[0]||(de[0]=D=>s(ct)(D,()=>G(!0))),onClick:de[1]||(de[1]=D=>G(!0))},[j.$slots["clock-icon"]?k(j.$slots,"clock-icon",{key:0}):S("",!0),j.$slots["clock-icon"]?S("",!0):(i(),le(s(Zn),{key:1}))],42,Ep)),[[Ya,!s($)(j.hideNavigation,"time")]]):S("",!0),ee(Ht,{name:s(g)(q.value),css:s(P)&&!j.timePickerInline},{default:w(()=>{var D,T;return[q.value||j.timePicker||j.timePickerInline?(i(),m("div",{key:0,ref_key:"overlayRef",ref:V,role:j.timePickerInline?void 0:"dialog",class:he({dp__overlay:!j.timePickerInline,"dp--overlay-absolute":!o.timePicker&&!j.timePickerInline,"dp--overlay-relative":o.timePicker}),style:mt(j.timePicker?{height:`${s(p).modeHeight}px`}:void 0),"aria-label":(D=s(b))==null?void 0:D.timePicker,tabindex:j.timePickerInline?void 0:0},[y("div",{class:he(j.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[j.$slots["time-picker-overlay"]?k(j.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:ke,setMinutes:H,setSeconds:C}):S("",!0),j.$slots["time-picker-overlay"]?S("",!0):(i(),m("div",{key:1,class:he(j.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(i(!0),m(pe,null,Me(te.value,(v,N)=>Ta((i(),le(Rp,Oe({key:N,ref_for:!0},{...j.$props,order:N,hours:v.hours,minutes:v.minutes,seconds:v.seconds,closeTimePickerBtn:W.value,disabledTimesConfig:e.disabledTimesConfig,disabled:N===0?s(c).fixedStart:s(c).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:U,"validate-time":(Q,_)=>e.validateTime(Q,_e(_,N,Q)),"onUpdate:hours":Q=>ke(_e(Q,N,"hours")),"onUpdate:minutes":Q=>H(_e(Q,N,"minutes")),"onUpdate:seconds":Q=>C(_e(Q,N,"seconds")),onMounted:M,onOverlayClosed:z,onOverlayOpened:ue,onAmPmChange:de[2]||(de[2]=Q=>j.$emit("am-pm-change",Q))}),at({_:2},[Me(s(ve),(Q,_)=>({name:Q,fn:w(me=>[k(j.$slots,Q,Oe({ref_for:!0},me))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[Ya,N===0?!0:se.value]])),128))],2)),!j.timePicker&&!j.timePickerInline?Ta((i(),m("button",{key:2,ref_key:"closeTimePickerBtn",ref:W,type:"button",class:he({...F.value,"dp--hidden-el":K.value}),"aria-label":(T=s(b))==null?void 0:T.closeTimePicker,tabindex:"0",onKeydown:de[3]||(de[3]=v=>s(ct)(v,()=>G(!1))),onClick:de[4]||(de[4]=v=>G(!1))},[j.$slots["calendar-icon"]?k(j.$slots,"calendar-icon",{key:0}):S("",!0),j.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))],42,Yp)),[[Ya,!s($)(j.hideNavigation,"time")]]):S("",!0)],2)],14,Hp)):S("",!0)]}),_:3},8,["name","css"])])}}}),Er=(e,a,t,n)=>{const{defaultedRange:o}=ze(e),r=(V,K)=>Array.isArray(a[V])?a[V][K]:a[V],l=V=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[V]:a.seconds:0,u=(V,K)=>V?K!==void 0?Kt(V,r("hours",K),r("minutes",K),l(K)):Kt(V,a.hours,a.minutes,l()):gr(Z(),l(K)),d=(V,K)=>{a[V]=K},b=x(()=>e.modelAuto&&o.value.enabled?Array.isArray(t.value)?t.value.length>1:!1:o.value.enabled),f=(V,K)=>{const se=Object.fromEntries(Object.keys(a).map(q=>q===V?[q,K]:[q,a[q]].slice()));if(b.value&&!o.value.disableTimeRangeValidation){const q=te=>t.value?Kt(t.value[te],se.hours[te],se.minutes[te],se.seconds[te]):null,I=te=>yr(t.value[te],0);return!(Ve(q(0),q(1))&&(ga(q(0),I(1))||Aa(q(1),I(0))))}return!0},p=(V,K)=>{f(V,K)&&(d(V,K),n&&n())},c=V=>{p("hours",V)},g=V=>{p("minutes",V)},P=V=>{p("seconds",V)},$=(V,K,se,q)=>{K&&c(V),!K&&!se&&g(V),se&&P(V),t.value&&q(t.value)},R=V=>{if(V){const K=Array.isArray(V),se=K?[+V[0].hours,+V[1].hours]:+V.hours,q=K?[+V[0].minutes,+V[1].minutes]:+V.minutes,I=K?[+V[0].seconds,+V[1].seconds]:+V.seconds;d("hours",se),d("minutes",q),e.enableSeconds&&d("seconds",I)}},W=(V,K)=>{const se={hours:Array.isArray(a.hours)?a.hours[V]:a.hours,disabledArr:[]};return(K||K===0)&&(se.hours=K),Array.isArray(e.disabledTimes)&&(se.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[V])?e.disabledTimes[V]:e.disabledTimes),se},U=x(()=>(V,K)=>{var se;if(Array.isArray(e.disabledTimes)){const{disabledArr:q,hours:I}=W(V,K),te=q.filter(G=>+G.hours===I);return((se=te[0])==null?void 0:se.minutes)==="*"?{hours:[I],minutes:void 0,seconds:void 0}:{hours:[],minutes:(te==null?void 0:te.map(G=>+G.minutes))??[],seconds:(te==null?void 0:te.map(G=>G.seconds?+G.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:c,updateMinutes:g,updateSeconds:P,getSetDateTime:u,updateTimeValues:$,getSecondsValue:l,assignStartTime:R,validateTime:f,disabledTimesConfig:U}},Fp=(e,a)=>{const t=()=>{e.isTextInputDate&&K()},{modelValue:n,time:o}=Na(e,a,t),{defaultedStartTime:r,defaultedRange:l,defaultedTz:u}=ze(e),{updateTimeValues:d,getSetDateTime:b,setTime:f,assignStartTime:p,disabledTimesConfig:c,validateTime:g}=Er(e,o,n,P);function P(){a("update-flow-step")}const $=q=>{const{hours:I,minutes:te,seconds:G}=q;return{hours:+I,minutes:+te,seconds:G?+G:0}},R=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const I=$(e.startTime[0]),te=$(e.startTime[1]);return[He(Z(),I),He(Z(),te)]}const q=$(e.startTime);return He(Z(),q)}return l.value.enabled?[null,null]:null},W=()=>{if(l.value.enabled){const[q,I]=R();n.value=[ht(b(q,0),u.value.timezone),ht(b(I,1),u.value.timezone)]}else n.value=ht(b(R()),u.value.timezone)},U=q=>Array.isArray(q)?[la(Z(q[0])),la(Z(q[1]))]:[la(q??Z())],V=(q,I,te)=>{f("hours",q),f("minutes",I),f("seconds",e.enableSeconds?te:0)},K=()=>{const[q,I]=U(n.value);return l.value.enabled?V([q.hours,I.hours],[q.minutes,I.minutes],[q.seconds,I.seconds]):V(q.hours,q.minutes,q.seconds)};Ue(()=>{if(!e.shadow)return p(r.value),n.value?K():W()});const se=()=>{Array.isArray(n.value)?n.value=n.value.map((q,I)=>q&&b(q,I)):n.value=b(n.value),a("time-update")};return{modelValue:n,time:o,disabledTimesConfig:c,updateTime:(q,I=!0,te=!1)=>{d(q,I,te,se)},validateTime:g}},zp=J({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...Mt},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=_t(r,"timePicker"),u=A(null),{time:d,modelValue:b,disabledTimesConfig:f,updateTime:p,validateTime:c}=Fp(o,n);return Ue(()=>{o.shadow||n("mount",null)}),a({getSidebarProps:()=>({modelValue:b,time:d,updateTime:p}),toggleTimePicker:(g,P=!1,$="")=>{var R;(R=u.value)==null||R.toggleTimePicker(g,P,$)}}),(g,P)=>(i(),le(tn,{"multi-calendars":0,stretch:""},{default:w(()=>[ee(Br,Oe({ref_key:"tpRef",ref:u},g.$props,{hours:s(d).hours,minutes:s(d).minutes,seconds:s(d).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":s(f),"validate-time":s(c),"onUpdate:hours":P[0]||(P[0]=$=>s(p)($)),"onUpdate:minutes":P[1]||(P[1]=$=>s(p)($,!1)),"onUpdate:seconds":P[2]||(P[2]=$=>s(p)($,!1,!0)),onAmPmChange:P[3]||(P[3]=$=>g.$emit("am-pm-change",$)),onResetFlow:P[4]||(P[4]=$=>g.$emit("reset-flow")),onOverlayClosed:P[5]||(P[5]=$=>g.$emit("overlay-toggle",{open:!1,overlay:$})),onOverlayOpened:P[6]||(P[6]=$=>g.$emit("overlay-toggle",{open:!0,overlay:$}))}),at({_:2},[Me(s(l),($,R)=>({name:$,fn:w(W=>[k(g.$slots,$,ot(pt(W)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),Wp={class:"dp--header-wrap"},Up={key:0,class:"dp__month_year_wrap"},qp={key:0},jp={class:"dp__month_year_wrap"},Qp=["data-dp-element","aria-label","data-test","onClick","onKeydown"],Kp=J({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...Mt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTransitions:r,defaultedAriaLabels:l,defaultedMultiCalendars:u,defaultedFilters:d,defaultedConfig:b,defaultedHighlight:f,propDates:p,defaultedUI:c}=ze(o),{transitionName:g,showTransition:P}=La(r),{buildMatrix:$}=Zt(),{handleMonthYearChange:R,isDisabled:W,updateMonthYear:U}=mp(o,n),{showLeftIcon:V,showRightIcon:K}=nn(),se=A(!1),q=A(!1),I=A(!1),te=A([null,null,null,null]);Ue(()=>{n("mount")});const G=T=>({get:()=>o[T],set:v=>{const N=T===Dt.month?Dt.year:Dt.month;n("update-month-year",{[T]:v,[N]:o[N]}),T===Dt.month?z(!0):ue(!0)}}),F=x(G(Dt.month)),ve=x(G(Dt.year)),_e=x(()=>T=>({month:o.month,year:o.year,items:T===Dt.month?o.months:o.years,instance:o.instance,updateMonthYear:U,toggle:T===Dt.month?z:ue})),ke=x(()=>o.months.find(v=>v.value===o.month)||{text:"",value:0}),H=x(()=>_a(o.months,T=>{const v=o.month===T.value,N=Ca(T.value,Pr(o.year,p.value.minDate),Tr(o.year,p.value.maxDate))||d.value.months.includes(T.value),Q=Cr(f.value,T.value,o.year);return{active:v,disabled:N,highlighted:Q}})),C=x(()=>_a(o.years,T=>{const v=o.year===T.value,N=Ca(T.value,ba(p.value.minDate),ba(p.value.maxDate))||d.value.years.includes(T.value),Q=lo(f.value,T.value);return{active:v,disabled:N,highlighted:Q}})),M=(T,v,N)=>{N!==void 0?T.value=N:T.value=!T.value,T.value?(I.value=!0,n("overlay-opened",v)):(I.value=!1,n("overlay-closed",v))},z=(T=!1,v)=>{j(T),M(se,it.month,v)},ue=(T=!1,v)=>{j(T),M(q,it.year,v)},j=T=>{T||n("reset-flow")},de=(T,v)=>{o.arrowNavigation&&(te.value[v]=tt(T),$(te.value,"monthYear"))},De=x(()=>{var T,v,N,Q,_,me;return[{type:Dt.month,index:1,toggle:z,modelValue:F.value,updateModelValue:Te=>F.value=Te,text:ke.value.text,showSelectionGrid:se.value,items:H.value,ariaLabel:(T=l.value)==null?void 0:T.openMonthsOverlay,overlayLabel:((N=(v=l.value).monthPicker)==null?void 0:N.call(v,!0))??void 0},{type:Dt.year,index:2,toggle:ue,modelValue:ve.value,updateModelValue:Te=>ve.value=Te,text:Dr(o.year,o.locale),showSelectionGrid:q.value,items:C.value,ariaLabel:(Q=l.value)==null?void 0:Q.openYearsOverlay,overlayLabel:((me=(_=l.value).yearPicker)==null?void 0:me.call(_,!0))??void 0}]}),D=x(()=>o.disableYearSelect?[De.value[0]]:o.yearFirst?[...De.value].reverse():De.value);return a({toggleMonthPicker:z,toggleYearPicker:ue,handleMonthYearChange:R}),(T,v)=>{var N,Q,_,me,Te,Ze;return i(),m("div",Wp,[T.$slots["month-year"]?(i(),m("div",Up,[k(T.$slots,"month-year",ot(pt({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:s(U),handleMonthYearChange:s(R),instance:e.instance})))])):(i(),m(pe,{key:1},[T.$slots["top-extra"]?(i(),m("div",qp,[k(T.$slots,"top-extra",{value:T.internalModelValue})])):S("",!0),y("div",jp,[s(V)(s(u),e.instance)&&!T.vertical?(i(),le(xa,{key:0,"aria-label":(N=s(l))==null?void 0:N.prevMonth,disabled:s(W)(!1),class:he((Q=s(c))==null?void 0:Q.navBtnPrev),"el-name":"action-prev",onActivate:v[0]||(v[0]=B=>s(R)(!1,!0)),onSetRef:v[1]||(v[1]=B=>de(B,0))},{default:w(()=>[T.$slots["arrow-left"]?k(T.$slots,"arrow-left",{key:0}):S("",!0),T.$slots["arrow-left"]?S("",!0):(i(),le(s(Xn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),y("div",{class:he(["dp__month_year_wrap",{dp__year_disable_select:T.disableYearSelect}])},[(i(!0),m(pe,null,Me(D.value,(B,ne)=>(i(),m(pe,{key:B.type},[y("button",{ref_for:!0,ref:h=>de(h,ne+1),type:"button","data-dp-element":`overlay-${B.type}`,class:he(["dp__btn dp__month_year_select",{"dp--hidden-el":I.value}]),"aria-label":`${B.text}-${B.ariaLabel}`,"data-test":`${B.type}-toggle-overlay-${e.instance}`,onClick:B.toggle,onKeydown:h=>s(ct)(h,()=>B.toggle(),!0)},[T.$slots[B.type]?k(T.$slots,B.type,{key:0,text:B.text,value:o[B.type]}):S("",!0),T.$slots[B.type]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(B.text),1)],64))],42,Qp),ee(Ht,{name:s(g)(B.showSelectionGrid),css:s(P)},{default:w(()=>[B.showSelectionGrid?(i(),le(Ia,{key:0,items:B.items,"arrow-navigation":T.arrowNavigation,"hide-navigation":T.hideNavigation,"is-last":T.autoApply&&!s(b).keepActionRow,"skip-button-ref":!1,config:T.config,type:B.type,"header-refs":[],"esc-close":T.escClose,"menu-wrap-ref":T.menuWrapRef,"text-input":T.textInput,"aria-labels":T.ariaLabels,"overlay-label":B.overlayLabel,onSelected:B.updateModelValue,onToggle:B.toggle},at({"button-icon":w(()=>[T.$slots["calendar-icon"]?k(T.$slots,"calendar-icon",{key:0}):S("",!0),T.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))]),_:2},[T.$slots[`${B.type}-overlay-value`]?{name:"item",fn:w(({item:h})=>[k(T.$slots,`${B.type}-overlay-value`,{text:h.text,value:h.value})]),key:"0"}:void 0,T.$slots[`${B.type}-overlay`]?{name:"overlay",fn:w(()=>[k(T.$slots,`${B.type}-overlay`,Oe({ref_for:!0},_e.value(B.type)))]),key:"1"}:void 0,T.$slots[`${B.type}-overlay-header`]?{name:"header",fn:w(()=>[k(T.$slots,`${B.type}-overlay-header`,{toggle:B.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):S("",!0)]),_:2},1032,["name","css"])],64))),128))],2),s(V)(s(u),e.instance)&&T.vertical?(i(),le(xa,{key:1,"aria-label":(_=s(l))==null?void 0:_.prevMonth,"el-name":"action-prev",disabled:s(W)(!1),class:he((me=s(c))==null?void 0:me.navBtnPrev),onActivate:v[2]||(v[2]=B=>s(R)(!1,!0))},{default:w(()=>[T.$slots["arrow-up"]?k(T.$slots,"arrow-up",{key:0}):S("",!0),T.$slots["arrow-up"]?S("",!0):(i(),le(s(eo),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),s(K)(s(u),e.instance)?(i(),le(xa,{key:2,ref:"rightIcon","el-name":"action-next",disabled:s(W)(!0),"aria-label":(Te=s(l))==null?void 0:Te.nextMonth,class:he((Ze=s(c))==null?void 0:Ze.navBtnNext),onActivate:v[3]||(v[3]=B=>s(R)(!0,!0)),onSetRef:v[4]||(v[4]=B=>de(B,T.disableYearSelect?2:3))},{default:w(()=>[T.$slots[T.vertical?"arrow-down":"arrow-right"]?k(T.$slots,T.vertical?"arrow-down":"arrow-right",{key:0}):S("",!0),T.$slots[T.vertical?"arrow-down":"arrow-right"]?S("",!0):(i(),le(ft(T.vertical?s(to):s(Jn)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):S("",!0)])],64))])}}}),Gp={class:"dp__calendar_header",role:"row"},Xp={key:0,class:"dp__calendar_header_item",role:"gridcell"},Jp=["aria-label"],Zp=y("div",{class:"dp__calendar_header_separator"},null,-1),ef={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},tf={class:"dp__cell_inner"},af=["id","aria-pressed","aria-disabled","aria-label","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],nf=J({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...Mt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:a,emit:t}){const n=t,o=e,{buildMultiLevelMatrix:r}=Zt(),{defaultedTransitions:l,defaultedConfig:u,defaultedAriaLabels:d,defaultedMultiCalendars:b,defaultedWeekNumbers:f,defaultedMultiDates:p,defaultedUI:c}=ze(o),g=A(null),P=A({bottom:"",left:"",transform:""}),$=A([]),R=A(null),W=A(!0),U=A(""),V=A({startX:0,endX:0,startY:0,endY:0}),K=A([]),se=A({left:"50%"}),q=A(!1),I=x(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),te=x(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):Im(o.formatLocale,o.locale,+o.weekStart));Ue(()=>{n("mount",{cmp:"calendar",refs:$}),u.value.noSwipe||R.value&&(R.value.addEventListener("touchstart",de,{passive:!1}),R.value.addEventListener("touchend",De,{passive:!1}),R.value.addEventListener("touchmove",D,{passive:!1})),o.monthChangeOnScroll&&R.value&&R.value.addEventListener("wheel",N,{passive:!1})});const G=B=>B?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",F=(B,ne)=>{if(o.transitions){const h=vt(Rt(Z(),o.month,o.year));U.value=Ke(vt(Rt(Z(),B,ne)),h)?l.value[G(!0)]:l.value[G(!1)],W.value=!1,yt(()=>{W.value=!0})}},ve=x(()=>({...c.value.calendar??{}})),_e=x(()=>B=>{const ne=Nm(B);return{dp__marker_dot:ne.type==="dot",dp__marker_line:ne.type==="line"}}),ke=x(()=>B=>Ve(B,g.value)),H=x(()=>({dp__calendar:!0,dp__calendar_next:b.value.count>0&&o.instance!==0})),C=x(()=>B=>o.hideOffsetDates?B.current:!0),M=async(B,ne)=>{const{width:h,height:X}=B.getBoundingClientRect();g.value=ne.value;let oe={left:`${h/2}px`},Y=-50;if(await yt(),K.value[0]){const{left:xe,width:L}=K.value[0].getBoundingClientRect();xe<0&&(oe={left:"0"},Y=0,se.value.left=`${h/2}px`),window.innerWidth{var X,oe,Y;const xe=tt($.value[ne][h]);xe&&((X=B.marker)!=null&&X.customPosition&&(Y=(oe=B.marker)==null?void 0:oe.tooltip)!=null&&Y.length?P.value=B.marker.customPosition(xe):await M(xe,B),n("tooltip-open",B.marker))},ue=async(B,ne,h)=>{var X,oe;if(q.value&&p.value.enabled&&p.value.dragSelect)return n("select-date",B);n("set-hover-date",B),(oe=(X=B.marker)==null?void 0:X.tooltip)!=null&&oe.length&&await z(B,ne,h)},j=B=>{g.value&&(g.value=null,P.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),n("tooltip-close",B.marker))},de=B=>{V.value.startX=B.changedTouches[0].screenX,V.value.startY=B.changedTouches[0].screenY},De=B=>{V.value.endX=B.changedTouches[0].screenX,V.value.endY=B.changedTouches[0].screenY,T()},D=B=>{o.vertical&&!o.inline&&B.preventDefault()},T=()=>{const B=o.vertical?"Y":"X";Math.abs(V.value[`start${B}`]-V.value[`end${B}`])>10&&n("handle-swipe",V.value[`start${B}`]>V.value[`end${B}`]?"right":"left")},v=(B,ne,h)=>{B&&(Array.isArray($.value[ne])?$.value[ne][h]=B:$.value[ne]=[B]),o.arrowNavigation&&r($.value,"calendar")},N=B=>{o.monthChangeOnScroll&&(B.preventDefault(),n("handle-scroll",B))},Q=B=>f.value.type==="local"?Qn(B.value,{weekStartsOn:+o.weekStart}):f.value.type==="iso"?qn(B.value):typeof f.value.type=="function"?f.value.type(B.value):"",_=B=>{const ne=B[0];return f.value.hideOnOffsetDates?B.some(h=>h.current)?Q(ne):"":Q(ne)},me=(B,ne,h=!0)=>{h&&Ym()||p.value.enabled||(Qt(B,u.value),n("select-date",ne))},Te=B=>{Qt(B,u.value)},Ze=B=>{p.value.enabled&&p.value.dragSelect?(q.value=!0,n("select-date",B)):p.value.enabled&&n("select-date",B)};return a({triggerTransition:F}),(B,ne)=>(i(),m("div",{class:he(H.value)},[y("div",{ref_key:"calendarWrapRef",ref:R,class:he(ve.value),role:"grid"},[y("div",Gp,[B.weekNumbers?(i(),m("div",Xp,ce(B.weekNumName),1)):S("",!0),(i(!0),m(pe,null,Me(te.value,(h,X)=>{var oe,Y;return i(),m("div",{key:X,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(Y=(oe=s(d))==null?void 0:oe.weekDay)==null?void 0:Y.call(oe,X)},[B.$slots["calendar-header"]?k(B.$slots,"calendar-header",{key:0,day:h,index:X}):S("",!0),B.$slots["calendar-header"]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(h),1)],64))],8,Jp)}),128))]),Zp,ee(Ht,{name:U.value,css:!!B.transitions},{default:w(()=>[W.value?(i(),m("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:ne[1]||(ne[1]=h=>q.value=!1)},[(i(!0),m(pe,null,Me(I.value,(h,X)=>(i(),m("div",{key:X,class:"dp__calendar_row",role:"row"},[B.weekNumbers?(i(),m("div",ef,[y("div",tf,ce(_(h.days)),1)])):S("",!0),(i(!0),m(pe,null,Me(h.days,(oe,Y)=>{var xe,L,ae;return i(),m("div",{id:s(Vr)(oe.value),ref_for:!0,ref:ge=>v(ge,X,Y),key:Y+X,role:"gridcell",class:"dp__calendar_item","aria-pressed":(oe.classData.dp__active_date||oe.classData.dp__range_start||oe.classData.dp__range_start)??void 0,"aria-disabled":oe.classData.dp__cell_disabled||void 0,"aria-label":(L=(xe=s(d))==null?void 0:xe.day)==null?void 0:L.call(xe,oe),tabindex:"0","data-test":oe.value,onClick:ia(ge=>me(ge,oe),["prevent"]),onTouchend:ge=>me(ge,oe,!1),onKeydown:ge=>s(ct)(ge,()=>B.$emit("select-date",oe)),onMouseenter:ge=>ue(oe,X,Y),onMouseleave:ge=>j(oe),onMousedown:ge=>Ze(oe),onMouseup:ne[0]||(ne[0]=ge=>q.value=!1)},[y("div",{class:he(["dp__cell_inner",oe.classData])},[B.$slots.day&&C.value(oe)?k(B.$slots,"day",{key:0,day:+oe.text,date:oe.value}):S("",!0),B.$slots.day?S("",!0):(i(),m(pe,{key:1},[Ne(ce(oe.text),1)],64)),oe.marker&&C.value(oe)?(i(),m(pe,{key:2},[B.$slots.marker?k(B.$slots,"marker",{key:0,marker:oe.marker,day:+oe.text,date:oe.value}):(i(),m("div",{key:1,class:he(_e.value(oe.marker)),style:mt(oe.marker.color?{backgroundColor:oe.marker.color}:{})},null,6))],64)):S("",!0),ke.value(oe.value)?(i(),m("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:K,class:"dp__marker_tooltip",style:mt(P.value)},[(ae=oe.marker)!=null&&ae.tooltip?(i(),m("div",{key:0,class:"dp__tooltip_content",onClick:Te},[(i(!0),m(pe,null,Me(oe.marker.tooltip,(ge,Ae)=>(i(),m("div",{key:Ae,class:"dp__tooltip_text"},[B.$slots["marker-tooltip"]?k(B.$slots,"marker-tooltip",{key:0,tooltip:ge,day:oe.value}):S("",!0),B.$slots["marker-tooltip"]?S("",!0):(i(),m(pe,{key:1},[y("div",{class:"dp__tooltip_mark",style:mt(ge.color?{backgroundColor:ge.color}:{})},null,4),y("div",null,ce(ge.text),1)],64))]))),128)),y("div",{class:"dp__arrow_bottom_tp",style:mt(se.value)},null,4)])):S("",!0)],4)):S("",!0)],2)],40,af)}),128))]))),128))],32)):S("",!0)]),_:3},8,["name","css"])],2)],2))}}),Ao=e=>Array.isArray(e),of=(e,a,t,n)=>{const o=A([]),r=A(new Date),l=A(),u=()=>de(e.isTextInputDate),{modelValue:d,calendars:b,time:f,today:p}=Na(e,a,u),{defaultedMultiCalendars:c,defaultedStartTime:g,defaultedRange:P,defaultedConfig:$,defaultedTz:R,propDates:W,defaultedMultiDates:U}=ze(e),{validateMonthYearInRange:V,isDisabled:K,isDateRangeAllowed:se,checkMinMaxRange:q}=ea(e),{updateTimeValues:I,getSetDateTime:te,setTime:G,assignStartTime:F,validateTime:ve,disabledTimesConfig:_e}=Er(e,f,d,n),ke=x(()=>O=>b.value[O]?b.value[O].month:0),H=x(()=>O=>b.value[O]?b.value[O].year:0),C=O=>!$.value.keepViewOnOffsetClick||O?!0:!l.value,M=(O,ie,E,re=!1)=>{var fe,ut;C(re)&&(b.value[O]||(b.value[O]={month:0,year:0}),b.value[O].month=Po(ie)?(fe=b.value[O])==null?void 0:fe.month:ie,b.value[O].year=Po(E)?(ut=b.value[O])==null?void 0:ut.year:E)},z=()=>{e.autoApply&&a("select-date")};Ue(()=>{e.shadow||(d.value||(B(),g.value&&F(g.value)),de(!0),e.focusStartDate&&e.startDate&&B())});const ue=x(()=>{var O;return(O=e.flow)!=null&&O.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),j=()=>{e.autoApply&&ue.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},de=(O=!1)=>{if(d.value)return Array.isArray(d.value)?(o.value=d.value,_(O)):T(d.value,O);if(c.value.count&&O&&!e.startDate)return D(Z(),O)},De=()=>Array.isArray(d.value)&&P.value.enabled?Se(d.value[0])===Se(d.value[1]??d.value[0]):!1,D=(O=new Date,ie=!1)=>{if((!c.value.count||!c.value.static||ie)&&M(0,Se(O),Pe(O)),c.value.count&&(!c.value.solo||!d.value||De()))for(let E=1;E{D(O),G("hours",Bt(O)),G("minutes",Gt(O)),G("seconds",ya(O)),c.value.count&&ie&&Ze()},v=O=>{if(c.value.count){if(c.value.solo)return 0;const ie=Se(O[0]),E=Se(O[1]);return Math.abs(E-ie){O[1]&&P.value.showLastInRange?D(O[v(O)],ie):D(O[0],ie);const E=(re,fe)=>[re(O[0]),O[1]?re(O[1]):f[fe][1]];G("hours",E(Bt,"hours")),G("minutes",E(Gt,"minutes")),G("seconds",E(ya,"seconds"))},Q=(O,ie)=>{if((P.value.enabled||e.weekPicker)&&!U.value.enabled)return N(O,ie);if(U.value.enabled&&ie){const E=O[O.length-1];return T(E,ie)}},_=O=>{const ie=d.value;Q(ie,O),c.value.count&&c.value.solo&&Ze()},me=(O,ie)=>{const E=He(Z(),{month:ke.value(ie),year:H.value(ie)}),re=O<0?bt(E,1):Et(E,1);V(Se(re),Pe(re),O<0,e.preventMinMaxNavigation)&&(M(ie,Se(re),Pe(re)),a("update-month-year",{instance:ie,month:Se(re),year:Pe(re)}),c.value.count&&!c.value.solo&&Te(ie),t())},Te=O=>{for(let ie=O-1;ie>=0;ie--){const E=Et(He(Z(),{month:ke.value(ie+1),year:H.value(ie+1)}),1);M(ie,Se(E),Pe(E))}for(let ie=O+1;ie<=c.value.count-1;ie++){const E=bt(He(Z(),{month:ke.value(ie-1),year:H.value(ie-1)}),1);M(ie,Se(E),Pe(E))}},Ze=()=>{if(Array.isArray(d.value)&&d.value.length===2){const O=Z(Z(d.value[1]?d.value[1]:bt(d.value[0],1))),[ie,E]=[Se(d.value[0]),Pe(d.value[0])],[re,fe]=[Se(d.value[1]),Pe(d.value[1])];(ie!==re||ie===re&&E!==fe)&&c.value.solo&&M(1,Se(O),Pe(O))}else d.value&&!Array.isArray(d.value)&&(M(0,Se(d.value),Pe(d.value)),D(Z()))},B=()=>{e.startDate&&(M(0,Se(Z(e.startDate)),Pe(Z(e.startDate))),c.value.count&&Te(0))},ne=(O,ie)=>{if(e.monthChangeOnScroll){const E=new Date().getTime()-r.value.getTime(),re=Math.abs(O.deltaY);let fe=500;re>1&&(fe=100),re>100&&(fe=0),E>fe&&(r.value=new Date,me(e.monthChangeOnScroll!=="inverse"?-O.deltaY:O.deltaY,ie))}},h=(O,ie,E=!1)=>{e.monthChangeOnArrows&&e.vertical===E&&X(O,ie)},X=(O,ie)=>{me(O==="right"?-1:1,ie)},oe=O=>{if(W.value.markers)return qa(O.value,W.value.markers)},Y=(O,ie)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[O==0,!0];case"fair":return[O==0||ie>O,!0];case"append":return[!1,!1];default:return[!1,!1]}},xe=(O,ie,E,re)=>{if(e.sixWeeks&&O.length<6){const fe=6-O.length,ut=(ie.getDay()+7-re)%7,wt=6-(E.getDay()+7-re)%7,[ta,Ba]=Y(ut,wt);for(let Da=1;Da<=fe;Da++)if(Ba?!!(Da%2)==ta:ta){const zt=O[0].days[0],vn=L(et(zt.value,-7),Se(ie));O.unshift({days:vn})}else{const zt=O[O.length-1],vn=zt.days[zt.days.length-1],Yr=L(et(vn.value,1),Se(ie));O.push({days:Yr})}}return O},L=(O,ie)=>{const E=Z(O),re=[];for(let fe=0;fe<7;fe++){const ut=et(E,fe),wt=Se(ut)!==ie;re.push({text:e.hideOffsetDates&&wt?"":ut.getDate(),value:ut,current:!wt,classData:{}})}return re},ae=(O,ie)=>{const E=[],re=new Date(ie,O),fe=new Date(ie,O+1,0),ut=e.weekStart,wt=Tt(re,{weekStartsOn:ut}),ta=Ba=>{const Da=L(Ba,O);if(E.push({days:Da}),!E[E.length-1].days.some(zt=>Ve(vt(zt.value),vt(fe)))){const zt=et(Ba,7);ta(zt)}};return ta(wt),xe(E,re,fe,ut)},ge=O=>{const ie=Kt(Z(O.value),f.hours,f.minutes,gt());a("date-update",ie),U.value.enabled?so(ie,d,U.value.limit):d.value=ie,n(),yt().then(()=>{j()})},Ae=O=>P.value.noDisabledRange?Mr(o.value[0],O).some(ie=>K(ie)):!1,kt=()=>{o.value=d.value?d.value.slice():[],o.value.length===2&&!(P.value.fixedStart||P.value.fixedEnd)&&(o.value=[])},$e=(O,ie)=>{const E=[Z(O.value),et(Z(O.value),+P.value.autoRange)];se(E)?(ie&&Ft(O.value),o.value=E):a("invalid-date",O.value)},Ft=O=>{const ie=Se(Z(O)),E=Pe(Z(O));if(M(0,ie,E),c.value.count>0)for(let re=1;re{if(Ae(O.value)||!q(O.value,d.value,P.value.fixedStart?0:1))return a("invalid-date",O.value);o.value=Nr(Z(O.value),d,a,P)},wa=(O,ie)=>{if(kt(),P.value.autoRange)return $e(O,ie);if(P.value.fixedStart||P.value.fixedEnd)return xt(O);o.value[0]?q(Z(O.value),d.value)&&!Ae(O.value)?qe(Z(O.value),Z(o.value[0]))?(o.value.unshift(Z(O.value)),a("range-end",o.value[0])):(o.value[1]=Z(O.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",O.value),a("invalid-date",O.value)):(o.value[0]=Z(O.value),a("range-start",o.value[0]))},gt=(O=!0)=>e.enableSeconds?Array.isArray(f.seconds)?O?f.seconds[0]:f.seconds[1]:f.seconds:0,$a=O=>{o.value[O]=Kt(o.value[O],f.hours[O],f.minutes[O],gt(O!==1))},on=()=>{var O,ie;o.value[0]&&o.value[1]&&+((O=o.value)==null?void 0:O[0])>+((ie=o.value)==null?void 0:ie[1])&&(o.value.reverse(),a("range-start",o.value[0]),a("range-end",o.value[1]))},Ra=()=>{o.value.length&&(o.value[0]&&!o.value[1]?$a(0):($a(0),$a(1),n()),on(),d.value=o.value.slice(),an(o.value,a,e.autoApply,e.modelAuto))},rn=(O,ie=!1)=>{if(K(O.value)||!O.current&&e.hideOffsetDates)return a("invalid-date",O.value);if(l.value=JSON.parse(JSON.stringify(O)),!P.value.enabled)return ge(O);Ao(f.hours)&&Ao(f.minutes)&&!U.value.enabled&&(wa(O,ie),Ra())},ln=(O,ie)=>{var E;M(O,ie.month,ie.year,!0),c.value.count&&!c.value.solo&&Te(O),a("update-month-year",{instance:O,month:ie.month,year:ie.year}),t(c.value.solo?O:void 0);const re=(E=e.flow)!=null&&E.length?e.flow[e.flowStep]:void 0;!ie.fromNav&&(re===it.month||re===it.year)&&n()},sn=(O,ie)=>{Lr({value:O,modelValue:d,range:P.value.enabled,timezone:ie?void 0:R.value.timezone}),z(),e.multiCalendars&&yt().then(()=>de(!0))},un=()=>{const O=ao(Z(),R.value);P.value.enabled?d.value&&Array.isArray(d.value)&&d.value[0]?d.value=qe(O,d.value[0])?[O,d.value[0]]:[d.value[0],O]:d.value=[O]:d.value=O,z()},dn=()=>{if(Array.isArray(d.value))if(U.value.enabled){const O=cn();d.value[d.value.length-1]=te(O)}else d.value=d.value.map((O,ie)=>O&&te(O,ie));else d.value=te(d.value);a("time-update")},cn=()=>Array.isArray(d.value)&&d.value.length?d.value[d.value.length-1]:null;return{calendars:b,modelValue:d,month:ke,year:H,time:f,disabledTimesConfig:_e,today:p,validateTime:ve,getCalendarDays:ae,getMarker:oe,handleScroll:ne,handleSwipe:X,handleArrow:h,selectDate:rn,updateMonthYear:ln,presetDate:sn,selectCurrentDate:un,updateTime:(O,ie=!0,E=!1)=>{I(O,ie,E,dn)},assignMonthAndYear:D}},rf={key:0},lf=J({__name:"DatePicker",props:{...Mt},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,{calendars:r,month:l,year:u,modelValue:d,time:b,disabledTimesConfig:f,today:p,validateTime:c,getCalendarDays:g,getMarker:P,handleArrow:$,handleScroll:R,handleSwipe:W,selectDate:U,updateMonthYear:V,presetDate:K,selectCurrentDate:se,updateTime:q,assignMonthAndYear:I}=of(o,n,De,D),te=Jt(),{setHoverDate:G,getDayClassData:F,clearHoverDate:ve}=Df(d,o),{defaultedMultiCalendars:_e}=ze(o),ke=A([]),H=A([]),C=A(null),M=_t(te,"calendar"),z=_t(te,"monthYear"),ue=_t(te,"timePicker"),j=ne=>{o.shadow||n("mount",ne)};Je(r,()=>{o.shadow||setTimeout(()=>{n("recalculate-position")},0)},{deep:!0}),Je(_e,(ne,h)=>{ne.count-h.count>0&&I()},{deep:!0});const de=x(()=>ne=>g(l.value(ne),u.value(ne)).map(h=>({...h,days:h.days.map(X=>(X.marker=P(X),X.classData=F(X),X))})));function De(ne){var h;ne||ne===0?(h=H.value[ne])==null||h.triggerTransition(l.value(ne),u.value(ne)):H.value.forEach((X,oe)=>X.triggerTransition(l.value(oe),u.value(oe)))}function D(){n("update-flow-step")}const T=(ne,h=!1)=>{U(ne,h),o.spaceConfirm&&n("select-date")},v=(ne,h,X=0)=>{var oe;(oe=ke.value[X])==null||oe.toggleMonthPicker(ne,h)},N=(ne,h,X=0)=>{var oe;(oe=ke.value[X])==null||oe.toggleYearPicker(ne,h)},Q=(ne,h,X)=>{var oe;(oe=C.value)==null||oe.toggleTimePicker(ne,h,X)},_=(ne,h)=>{var X;if(!o.range){const oe=d.value?d.value:p,Y=h?new Date(h):oe,xe=ne?Tt(Y,{weekStartsOn:1}):rr(Y,{weekStartsOn:1});U({value:xe,current:Se(Y)===l.value(0),text:"",classData:{}}),(X=document.getElementById(Vr(xe)))==null||X.focus()}},me=ne=>{var h;(h=ke.value[0])==null||h.handleMonthYearChange(ne,!0)},Te=ne=>{V(0,{month:l.value(0),year:u.value(0)+(ne?1:-1),fromNav:!0})},Ze=(ne,h)=>{ne===it.time&&n(`time-picker-${h?"open":"close"}`),n("overlay-toggle",{open:h,overlay:ne})},B=ne=>{n("overlay-toggle",{open:!1,overlay:ne}),n("focus-menu")};return a({clearHoverDate:ve,presetDate:K,selectCurrentDate:se,toggleMonthPicker:v,toggleYearPicker:N,toggleTimePicker:Q,handleArrow:$,updateMonthYear:V,getSidebarProps:()=>({modelValue:d,month:l,year:u,time:b,updateTime:q,updateMonthYear:V,selectDate:U,presetDate:K}),changeMonth:me,changeYear:Te,selectWeekDate:_}),(ne,h)=>(i(),m(pe,null,[ee(tn,{"multi-calendars":s(_e).count,collapse:ne.collapse},{default:w(({instance:X,index:oe})=>[ne.disableMonthYearSelect?S("",!0):(i(),le(Kp,Oe({key:0,ref:Y=>{Y&&(ke.value[oe]=Y)},months:s(kr)(ne.formatLocale,ne.locale,ne.monthNameFormat),years:s(no)(ne.yearRange,ne.locale,ne.reverseYears),month:s(l)(X),year:s(u)(X),instance:X},ne.$props,{onMount:h[0]||(h[0]=Y=>j(s(ra).header)),onResetFlow:h[1]||(h[1]=Y=>ne.$emit("reset-flow")),onUpdateMonthYear:Y=>s(V)(X,Y),onOverlayClosed:B,onOverlayOpened:h[2]||(h[2]=Y=>ne.$emit("overlay-toggle",{open:!0,overlay:Y}))}),at({_:2},[Me(s(z),(Y,xe)=>({name:Y,fn:w(L=>[k(ne.$slots,Y,ot(pt(L)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),ee(nf,Oe({ref:Y=>{Y&&(H.value[oe]=Y)},"mapped-dates":de.value(X),month:s(l)(X),year:s(u)(X),instance:X},ne.$props,{onSelectDate:Y=>s(U)(Y,X!==1),onHandleSpace:Y=>T(Y,X!==1),onSetHoverDate:h[3]||(h[3]=Y=>s(G)(Y)),onHandleScroll:Y=>s(R)(Y,X),onHandleSwipe:Y=>s(W)(Y,X),onMount:h[4]||(h[4]=Y=>j(s(ra).calendar)),onResetFlow:h[5]||(h[5]=Y=>ne.$emit("reset-flow")),onTooltipOpen:h[6]||(h[6]=Y=>ne.$emit("tooltip-open",Y)),onTooltipClose:h[7]||(h[7]=Y=>ne.$emit("tooltip-close",Y))}),at({_:2},[Me(s(M),(Y,xe)=>({name:Y,fn:w(L=>[k(ne.$slots,Y,ot(pt({...L})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),ne.enableTimePicker?(i(),m("div",rf,[ne.$slots["time-picker"]?k(ne.$slots,"time-picker",ot(Oe({key:0},{time:s(b),updateTime:s(q)}))):(i(),le(Br,Oe({key:1,ref_key:"timePickerRef",ref:C},ne.$props,{hours:s(b).hours,minutes:s(b).minutes,seconds:s(b).seconds,"internal-model-value":ne.internalModelValue,"disabled-times-config":s(f),"validate-time":s(c),onMount:h[8]||(h[8]=X=>j(s(ra).timePicker)),"onUpdate:hours":h[9]||(h[9]=X=>s(q)(X)),"onUpdate:minutes":h[10]||(h[10]=X=>s(q)(X,!1)),"onUpdate:seconds":h[11]||(h[11]=X=>s(q)(X,!1,!0)),onResetFlow:h[12]||(h[12]=X=>ne.$emit("reset-flow")),onOverlayClosed:h[13]||(h[13]=X=>Ze(X,!1)),onOverlayOpened:h[14]||(h[14]=X=>Ze(X,!0)),onAmPmChange:h[15]||(h[15]=X=>ne.$emit("am-pm-change",X))}),at({_:2},[Me(s(ue),(X,oe)=>({name:X,fn:w(Y=>[k(ne.$slots,X,ot(pt(Y)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):S("",!0)],64))}}),sf=(e,a)=>{const t=A(),{defaultedMultiCalendars:n,defaultedConfig:o,defaultedHighlight:r,defaultedRange:l,propDates:u,defaultedFilters:d,defaultedMultiDates:b}=ze(e),{modelValue:f,year:p,month:c,calendars:g}=Na(e,a),{isDisabled:P}=ea(e),{selectYear:$,groupedYears:R,showYearPicker:W,isDisabled:U,toggleYearPicker:V,handleYearSelect:K,handleYear:se}=Rr({modelValue:f,multiCalendars:n,range:l,highlight:r,calendars:g,propDates:u,month:c,year:p,filters:d,props:e,emit:a}),q=(C,M)=>[C,M].map(z=>$t(z,"MMMM",{locale:e.formatLocale})).join("-"),I=x(()=>C=>f.value?Array.isArray(f.value)?f.value.some(M=>wo(C,M)):wo(f.value,C):!1),te=C=>{if(l.value.enabled){if(Array.isArray(f.value)){const M=Ve(C,f.value[0])||Ve(C,f.value[1]);return Za(f.value,t.value,C)&&!M}return!1}return!1},G=(C,M)=>C.quarter===fo(M)&&C.year===Pe(M),F=C=>typeof r.value=="function"?r.value({quarter:fo(C),year:Pe(C)}):!!r.value.quarters.find(M=>G(M,C)),ve=x(()=>C=>{const M=He(new Date,{year:p.value(C)});return Bc({start:ha(M),end:Un(M)}).map(z=>{const ue=qt(z),j=yo(z),de=P(z),De=te(ue),D=F(ue);return{text:q(ue,j),value:ue,active:I.value(ue),highlighted:D,disabled:de,isBetween:De}})}),_e=C=>{so(C,f,b.value.limit),a("auto-apply",!0)},ke=C=>{f.value=io(f,C,a),an(f.value,a,e.autoApply,e.modelAuto)},H=C=>{f.value=C,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:n,groupedYears:R,year:p,isDisabled:U,quarters:ve,showYearPicker:W,modelValue:f,setHoverDate:C=>{t.value=C},selectYear:$,selectQuarter:(C,M,z)=>{if(!z)return g.value[M].month=Se(yo(C)),b.value.enabled?_e(C):l.value.enabled?ke(C):H(C)},toggleYearPicker:V,handleYearSelect:K,handleYear:se}},uf={class:"dp--quarter-items"},df=["data-test","disabled","onClick","onMouseover"],cf=J({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...Mt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=_t(r,"yearMode"),{defaultedMultiCalendars:u,defaultedConfig:d,groupedYears:b,year:f,isDisabled:p,quarters:c,modelValue:g,showYearPicker:P,setHoverDate:$,selectQuarter:R,toggleYearPicker:W,handleYearSelect:U,handleYear:V}=sf(o,n);return a({getSidebarProps:()=>({modelValue:g,year:f,selectQuarter:R,handleYearSelect:U,handleYear:V})}),(K,se)=>(i(),le(tn,{"multi-calendars":s(u).count,collapse:K.collapse,stretch:""},{default:w(({instance:q})=>[y("div",{class:"dp-quarter-picker-wrap",style:mt({minHeight:`${s(d).modeHeight}px`})},[K.$slots["top-extra"]?k(K.$slots,"top-extra",{key:0,value:K.internalModelValue}):S("",!0),y("div",null,[ee(Ir,Oe(K.$props,{items:s(b)(q),instance:q,"show-year-picker":s(P)[q],year:s(f)(q),"is-disabled":I=>s(p)(q,I),onHandleYear:I=>s(V)(q,I),onYearSelect:I=>s(U)(I,q),onToggleYearPicker:I=>s(W)(q,I==null?void 0:I.flow,I==null?void 0:I.show)}),at({_:2},[Me(s(l),(I,te)=>({name:I,fn:w(G=>[k(K.$slots,I,ot(pt(G)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),y("div",uf,[(i(!0),m(pe,null,Me(s(c)(q),(I,te)=>(i(),m("div",{key:te},[y("button",{type:"button",class:he(["dp--qr-btn",{"dp--qr-btn-active":I.active,"dp--qr-btn-between":I.isBetween,"dp--qr-btn-disabled":I.disabled,"dp--highlighted":I.highlighted}]),"data-test":I.value,disabled:I.disabled,onClick:G=>s(R)(I.value,q,I.disabled),onMouseover:G=>s($)(I.value)},[K.$slots.quarter?k(K.$slots,"quarter",{key:0,value:I.value,text:I.text}):(i(),m(pe,{key:1},[Ne(ce(I.text),1)],64))],42,df)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),vf=["id","tabindex","role","aria-label"],mf={key:0,class:"dp--menu-load-container"},pf=y("span",{class:"dp--menu-loader"},null,-1),ff=[pf],hf={key:1,class:"dp--menu-header"},yf={key:0,class:"dp__sidebar_left"},gf=["data-test","onClick","onKeydown"],_f={key:2,class:"dp__sidebar_right"},bf={key:3,class:"dp__action_extra"},Co=J({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...en,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=A(null),l=x(()=>{const{openOnTop:L,...ae}=o;return{...ae,flowStep:G.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:r.value}}),{setMenuFocused:u,setShiftKey:d,control:b}=Or(),f=Jt(),{defaultedTextInput:p,defaultedInline:c,defaultedConfig:g,defaultedUI:P}=ze(o),$=A(null),R=A(0),W=A(null),U=A(!1),V=A(null);Ue(()=>{if(!o.shadow){U.value=!0,K(),window.addEventListener("resize",K);const L=tt(r);if(L&&!p.value.enabled&&!c.value.enabled&&(u(!0),M()),L){const ae=ge=>{g.value.allowPreventDefault&&ge.preventDefault(),Qt(ge,g.value,!0)};L.addEventListener("pointerdown",ae),L.addEventListener("mousedown",ae)}}}),Xt(()=>{window.removeEventListener("resize",K)});const K=()=>{const L=tt(W);L&&(R.value=L.getBoundingClientRect().width)},{arrowRight:se,arrowLeft:q,arrowDown:I,arrowUp:te}=Zt(),{flowStep:G,updateFlowStep:F,childMount:ve,resetFlow:_e,handleFlow:ke}=Pf(o,n,V),H=x(()=>o.monthPicker?Dp:o.yearPicker?Tp:o.timePicker?zp:o.quarterPicker?cf:lf),C=x(()=>{var L;if(g.value.arrowLeft)return g.value.arrowLeft;const ae=(L=r.value)==null?void 0:L.getBoundingClientRect(),ge=o.getInputRect();return(ge==null?void 0:ge.width)<(R==null?void 0:R.value)&&(ge==null?void 0:ge.left)<=((ae==null?void 0:ae.left)??0)?`${(ge==null?void 0:ge.width)/2}px`:(ge==null?void 0:ge.right)>=((ae==null?void 0:ae.right)??0)&&(ge==null?void 0:ge.width)<(R==null?void 0:R.value)?`${(R==null?void 0:R.value)-(ge==null?void 0:ge.width)/2}px`:"50%"}),M=()=>{const L=tt(r);L&&L.focus({preventScroll:!0})},z=x(()=>{var L;return((L=V.value)==null?void 0:L.getSidebarProps())||{}}),ue=()=>{o.openOnTop&&n("recalculate-position")},j=_t(f,"action"),de=x(()=>o.monthPicker||o.yearPicker?_t(f,"monthYear"):o.timePicker?_t(f,"timePicker"):_t(f,"shared")),De=x(()=>o.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),D=x(()=>({dp__menu_disabled:o.disabled,dp__menu_readonly:o.readonly,"dp-menu-loading":o.loading})),T=x(()=>({dp__menu:!0,dp__menu_index:!c.value.enabled,dp__relative:c.value.enabled,...P.value.menu??{}})),v=L=>{Qt(L,g.value,!0)},N=()=>{o.escClose&&n("close-picker")},Q=L=>{if(o.arrowNavigation){if(L===dt.up)return te();if(L===dt.down)return I();if(L===dt.left)return q();if(L===dt.right)return se()}else L===dt.left||L===dt.up?B("handleArrow",dt.left,0,L===dt.up):B("handleArrow",dt.right,0,L===dt.down)},_=L=>{d(L.shiftKey),!o.disableMonthYearSelect&&L.code===Fe.tab&&L.target.classList.contains("dp__menu")&&b.value.shiftKeyInMenu&&(L.preventDefault(),Qt(L,g.value,!0),n("close-picker"))},me=()=>{M(),n("time-picker-close")},Te=L=>{var ae,ge,Ae;(ae=V.value)==null||ae.toggleTimePicker(!1,!1),(ge=V.value)==null||ge.toggleMonthPicker(!1,!1,L),(Ae=V.value)==null||Ae.toggleYearPicker(!1,!1,L)},Ze=(L,ae=0)=>{var ge,Ae,kt;return L==="month"?(ge=V.value)==null?void 0:ge.toggleMonthPicker(!1,!0,ae):L==="year"?(Ae=V.value)==null?void 0:Ae.toggleYearPicker(!1,!0,ae):L==="time"?(kt=V.value)==null?void 0:kt.toggleTimePicker(!0,!1):Te(ae)},B=(L,...ae)=>{var ge,Ae;(ge=V.value)!=null&&ge[L]&&((Ae=V.value)==null||Ae[L](...ae))},ne=()=>{B("selectCurrentDate")},h=(L,ae)=>{B("presetDate",L,ae)},X=()=>{B("clearHoverDate")},oe=(L,ae)=>{B("updateMonthYear",L,ae)},Y=(L,ae)=>{L.preventDefault(),Q(ae)},xe=L=>{var ae,ge,Ae;if(_(L),L.key===Fe.home||L.key===Fe.end)return B("selectWeekDate",L.key===Fe.home,L.target.getAttribute("id"));switch((L.key===Fe.pageUp||L.key===Fe.pageDown)&&(L.shiftKey?(B("changeYear",L.key===Fe.pageUp),(ae=In(r.value,"overlay-year"))==null||ae.focus()):(B("changeMonth",L.key===Fe.pageUp),(ge=In(r.value,L.key===Fe.pageUp?"action-prev":"action-next"))==null||ge.focus()),L.target.getAttribute("id")&&((Ae=r.value)==null||Ae.focus({preventScroll:!0}))),L.key){case Fe.esc:return N();case Fe.arrowLeft:return Y(L,dt.left);case Fe.arrowRight:return Y(L,dt.right);case Fe.arrowUp:return Y(L,dt.up);case Fe.arrowDown:return Y(L,dt.down);default:return}};return a({updateMonthYear:oe,switchView:Ze,handleFlow:ke}),(L,ae)=>{var ge,Ae,kt;return i(),m("div",{id:L.uid?`dp-menu-${L.uid}`:void 0,ref_key:"dpMenuRef",ref:r,tabindex:s(c).enabled?void 0:"0",role:s(c).enabled?void 0:"dialog","aria-label":(ge=L.ariaLabels)==null?void 0:ge.menu,class:he(T.value),style:mt({"--dp-arrow-left":C.value}),onMouseleave:X,onClick:v,onKeydown:xe},[(L.disabled||L.readonly)&&s(c).enabled||L.loading?(i(),m("div",{key:0,class:he(D.value)},[L.loading?(i(),m("div",mf,ff)):S("",!0)],2)):S("",!0),L.$slots["menu-header"]?(i(),m("div",hf,[k(L.$slots,"menu-header")])):S("",!0),!s(c).enabled&&!L.teleportCenter?(i(),m("div",{key:2,class:he(De.value)},null,2)):S("",!0),y("div",{ref_key:"innerMenuRef",ref:W,class:he({dp__menu_content_wrapper:((Ae=L.presetDates)==null?void 0:Ae.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((kt=L.presetDates)==null?void 0:kt.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"])}),style:mt({"--dp-menu-width":`${R.value}px`})},[L.$slots["left-sidebar"]?(i(),m("div",yf,[k(L.$slots,"left-sidebar",ot(pt(z.value)))])):S("",!0),L.presetDates.length?(i(),m("div",{key:1,class:he({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(i(!0),m(pe,null,Me(L.presetDates,($e,Ft)=>(i(),m(pe,{key:Ft},[$e.slot?k(L.$slots,$e.slot,{key:0,presetDate:h,label:$e.label,value:$e.value}):(i(),m("button",{key:1,type:"button",style:mt($e.style||{}),class:he(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test":$e.testId??void 0,onClick:ia(xt=>h($e.value,$e.noTz),["prevent"]),onKeydown:xt=>s(ct)(xt,()=>h($e.value,$e.noTz),!0)},ce($e.label),47,gf))],64))),128))],2)):S("",!0),y("div",{ref_key:"calendarWrapperRef",ref:$,class:"dp__instance_calendar",role:"document"},[(i(),le(ft(H.value),Oe({ref_key:"dynCmpRef",ref:V},l.value,{"flow-step":s(G),onMount:s(ve),onUpdateFlowStep:s(F),onResetFlow:s(_e),onFocusMenu:M,onSelectDate:ae[0]||(ae[0]=$e=>L.$emit("select-date")),onDateUpdate:ae[1]||(ae[1]=$e=>L.$emit("date-update",$e)),onTooltipOpen:ae[2]||(ae[2]=$e=>L.$emit("tooltip-open",$e)),onTooltipClose:ae[3]||(ae[3]=$e=>L.$emit("tooltip-close",$e)),onAutoApply:ae[4]||(ae[4]=$e=>L.$emit("auto-apply",$e)),onRangeStart:ae[5]||(ae[5]=$e=>L.$emit("range-start",$e)),onRangeEnd:ae[6]||(ae[6]=$e=>L.$emit("range-end",$e)),onInvalidFixedRange:ae[7]||(ae[7]=$e=>L.$emit("invalid-fixed-range",$e)),onTimeUpdate:ae[8]||(ae[8]=$e=>L.$emit("time-update")),onAmPmChange:ae[9]||(ae[9]=$e=>L.$emit("am-pm-change",$e)),onTimePickerOpen:ae[10]||(ae[10]=$e=>L.$emit("time-picker-open",$e)),onTimePickerClose:me,onRecalculatePosition:ue,onUpdateMonthYear:ae[11]||(ae[11]=$e=>L.$emit("update-month-year",$e)),onAutoApplyInvalid:ae[12]||(ae[12]=$e=>L.$emit("auto-apply-invalid",$e)),onInvalidDate:ae[13]||(ae[13]=$e=>L.$emit("invalid-date",$e)),onOverlayToggle:ae[14]||(ae[14]=$e=>L.$emit("overlay-toggle",$e)),"onUpdate:internalModelValue":ae[15]||(ae[15]=$e=>L.$emit("update:internal-model-value",$e))}),at({_:2},[Me(de.value,($e,Ft)=>({name:$e,fn:w(xt=>[k(L.$slots,$e,ot(pt({...xt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(i(),m("div",_f,[k(L.$slots,"right-sidebar",ot(pt(z.value)))])):S("",!0),L.$slots["action-extra"]?(i(),m("div",bf,[L.$slots["action-extra"]?k(L.$slots,"action-extra",{key:0,selectCurrentDate:ne}):S("",!0)])):S("",!0)],6),!L.autoApply||s(g).keepActionRow?(i(),le(hp,Oe({key:3,"menu-mount":U.value},l.value,{"calendar-width":R.value,onClosePicker:ae[16]||(ae[16]=$e=>L.$emit("close-picker")),onSelectDate:ae[17]||(ae[17]=$e=>L.$emit("select-date")),onInvalidSelect:ae[18]||(ae[18]=$e=>L.$emit("invalid-select")),onSelectNow:ne}),at({_:2},[Me(s(j),($e,Ft)=>({name:$e,fn:w(xt=>[k(L.$slots,$e,ot(pt({...xt})))])}))]),1040,["menu-mount","calendar-width"])):S("",!0)],46,vf)}}});var ma=(e=>(e.center="center",e.left="left",e.right="right",e))(ma||{});const kf=({menuRef:e,menuRefInner:a,inputRef:t,pickerWrapperRef:n,inline:o,emit:r,props:l,slots:u})=>{const{defaultedConfig:d}=ze(l),b=A({}),f=A(!1),p=A({top:"0",left:"0"}),c=A(!1),g=Sa(l,"teleportCenter");Je(g,()=>{p.value=JSON.parse(JSON.stringify({})),se()});const P=M=>{if(l.teleport){const z=M.getBoundingClientRect();return{left:z.left+window.scrollX,top:z.top+window.scrollY}}return{top:0,left:0}},$=(M,z)=>{p.value.left=`${M+z-b.value.width}px`},R=M=>{p.value.left=`${M}px`},W=(M,z)=>{l.position===ma.left&&R(M),l.position===ma.right&&$(M,z),l.position===ma.center&&(p.value.left=`${M+z/2-b.value.width/2}px`)},U=M=>{const{width:z,height:ue}=M.getBoundingClientRect(),{top:j,left:de}=l.altPosition?l.altPosition(M):P(M);return{top:+j,left:+de,width:z,height:ue}},V=()=>{p.value.left="50%",p.value.top="50%",p.value.transform="translate(-50%, -50%)",p.value.position="fixed",delete p.value.opacity},K=()=>{const M=tt(t),{top:z,left:ue,transform:j}=l.altPosition(M);p.value={top:`${z}px`,left:`${ue}px`,transform:j??""}},se=(M=!0)=>{var z;if(!o.value.enabled){if(g.value)return V();if(l.altPosition!==null)return K();if(M){const ue=l.teleport?(z=a.value)==null?void 0:z.$el:e.value;ue&&(b.value=ue.getBoundingClientRect()),r("recalculate-position")}return _e()}},q=({inputEl:M,left:z,width:ue})=>{window.screen.width>768&&!f.value&&W(z,ue),G(M)},I=M=>{const{top:z,left:ue,height:j,width:de}=U(M);p.value.top=`${j+z+ +l.offset}px`,c.value=!1,f.value||(p.value.left=`${ue+de/2-b.value.width/2}px`),q({inputEl:M,left:ue,width:de})},te=M=>{const{top:z,left:ue,width:j}=U(M);p.value.top=`${z-+l.offset-b.value.height}px`,c.value=!0,q({inputEl:M,left:ue,width:j})},G=M=>{if(l.autoPosition){const{left:z,width:ue}=U(M),{left:j,right:de}=b.value;if(!f.value){if(Math.abs(j)!==Math.abs(de)){if(j<=0)return f.value=!0,R(z);if(de>=document.documentElement.clientWidth)return f.value=!0,$(z,ue)}return W(z,ue)}}},F=()=>{const M=tt(t);if(M){const{height:z}=b.value,{top:ue,height:j}=M.getBoundingClientRect(),de=window.innerHeight-ue-j,De=ue;return z<=de?na.bottom:z>de&&z<=De?na.top:de>=De?na.bottom:na.top}return na.bottom},ve=M=>F()===na.bottom?I(M):te(M),_e=()=>{const M=tt(t);if(M)return l.autoPosition?ve(M):I(M)},ke=function(M){if(M){const z=M.scrollHeight>M.clientHeight,ue=window.getComputedStyle(M).overflowY.indexOf("hidden")!==-1;return z&&!ue}return!0},H=function(M){return!M||M===document.body||M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ke(M)?M:H(M.assignedSlot&&d.value.shadowDom?M.assignedSlot.parentNode:M.parentNode)},C=M=>{if(M)switch(l.position){case ma.left:return{left:0,transform:"translateX(0)"};case ma.right:return{left:`${M.width}px`,transform:"translateX(-100%)"};default:return{left:`${M.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:c,menuStyle:p,xCorrect:f,setMenuPosition:se,getScrollableParent:H,shadowRender:(M,z)=>{var ue,j,de;const De=document.createElement("div"),D=(ue=tt(t))==null?void 0:ue.getBoundingClientRect();De.setAttribute("id","dp--temp-container");const T=(j=n.value)!=null&&j.clientWidth?n.value:document.body;T.append(De);const v=C(D),N=d.value.shadowDom?Object.keys(u).filter(_=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(_)):Object.keys(u),Q=tl(M,{...z,shadow:!0,style:{opacity:0,position:"absolute",...v}},Object.fromEntries(N.map(_=>[_,u[_]])));co(Q,De),b.value=(de=Q.el)==null?void 0:de.getBoundingClientRect(),co(null,De),T.removeChild(De)}}},Ut=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],wf=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],$f={all:()=>Ut,monthYear:()=>Ut.filter(e=>e.use.includes("month-year")),input:()=>wf,timePicker:()=>Ut.filter(e=>e.use.includes("time")),action:()=>Ut.filter(e=>e.use.includes("action")),calendar:()=>Ut.filter(e=>e.use.includes("calendar")),menu:()=>Ut.filter(e=>e.use.includes("menu")),shared:()=>Ut.filter(e=>e.use.includes("shared")),yearMode:()=>Ut.filter(e=>e.use.includes("year-mode"))},_t=(e,a,t)=>{const n=[];return $f[a]().forEach(o=>{e[o.name]&&n.push(o.name)}),t!=null&&t.length&&t.forEach(o=>{o.slot&&n.push(o.slot)}),n},La=e=>{const a=x(()=>n=>e.value?n?e.value.open:e.value.close:""),t=x(()=>n=>e.value?n?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:t}},Na=(e,a,t)=>{const{defaultedRange:n,defaultedTz:o}=ze(e),r=Z(ht(Z(),o.value.timezone)),l=A([{month:Se(r),year:Pe(r)}]),u=c=>{const g={hours:Bt(r),minutes:Gt(r),seconds:0};return n.value.enabled?[g[c],g[c]]:g[c]},d=Va({hours:u("hours"),minutes:u("minutes"),seconds:u("seconds")});Je(n,(c,g)=>{c.enabled!==g.enabled&&(d.hours=u("hours"),d.minutes=u("minutes"),d.seconds=u("seconds"))},{deep:!0});const b=x({get:()=>e.internalModelValue,set:c=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",c)}}),f=x(()=>c=>l.value[c]?l.value[c].month:0),p=x(()=>c=>l.value[c]?l.value[c].year:0);return Je(b,(c,g)=>{t&&JSON.stringify(c??{})!==JSON.stringify(g??{})&&t()},{deep:!0}),{calendars:l,time:d,modelValue:b,month:f,year:p,today:r}},Df=(e,a)=>{const{defaultedMultiCalendars:t,defaultedMultiDates:n,defaultedUI:o,defaultedHighlight:r,defaultedTz:l,propDates:u,defaultedRange:d}=ze(a),{isDisabled:b}=ea(a),f=A(null),p=A(ht(new Date,l.value.timezone)),c=v=>{!v.current&&a.hideOffsetDates||(f.value=v.value)},g=()=>{f.value=null},P=v=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&f.value?v?Ke(f.value,e.value[0]):qe(f.value,e.value[0]):!0,$=(v,N)=>{const Q=()=>e.value?N?e.value[0]||null:e.value[1]:null,_=e.value&&Array.isArray(e.value)?Q():null;return Ve(Z(v.value),_)},R=v=>{const N=Array.isArray(e.value)?e.value[0]:null;return v?!qe(f.value??null,N):!0},W=(v,N=!0)=>(d.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!v.current?!1:Ve(Z(v.value),e.value[N?0:1]):d.value.enabled?$(v,N)&&R(N)||Ve(v.value,Array.isArray(e.value)?e.value[0]:null)&&P(N):!1,U=(v,N)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const Q=Ve(v.value,f.value);return N?Ke(e.value[0],v.value)&&Q:qe(e.value[0],v.value)&&Q}return!1},V=v=>!e.value||a.hideOffsetDates&&!v.current?!1:d.value.enabled?a.modelAuto&&Array.isArray(e.value)?Ve(v.value,e.value[0]?e.value[0]:p.value):!1:n.value.enabled&&Array.isArray(e.value)?e.value.some(N=>Ve(N,v.value)):Ve(v.value,e.value?e.value:p.value),K=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!v.current)return!1;const N=et(f.value,+d.value.autoRange),Q=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ve(Q[1],Z(v.value)):Ve(N,Z(v.value))}return!1}return!1},se=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){const N=et(f.value,+d.value.autoRange);if(a.hideOffsetDates&&!v.current)return!1;const Q=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ke(v.value,Q[0])&&qe(v.value,Q[1]):Ke(v.value,f.value)&&qe(v.value,N)}return!1}return!1},q=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!v.current)return!1;const N=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ve(N[0],v.value):Ve(f.value,v.value)}return!1}return!1},I=v=>Za(e.value,f.value,v.value),te=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,G=()=>a.modelAuto?wr(a.internalModelValue):!0,F=v=>{if(a.weekPicker)return!1;const N=d.value.enabled?!W(v)&&!W(v,!1):!0;return!b(v.value)&&!V(v)&&!(!v.current&&a.hideOffsetDates)&&N},ve=v=>d.value.enabled?a.modelAuto?te()&&V(v):!1:V(v),_e=v=>r.value?Hm(v.value,u.value.highlight):!1,ke=v=>{const N=b(v.value);return N&&(typeof r.value=="function"?!r.value(v.value,N):!r.value.options.highlightDisabled)},H=v=>{var N;return typeof r.value=="function"?r.value(v.value):(N=r.value.weekdays)==null?void 0:N.includes(v.value.getDay())},C=v=>(d.value.enabled||a.weekPicker)&&(!(t.value.count>0)||v.current)&&G()&&!(!v.current&&a.hideOffsetDates)&&!V(v)?I(v):!1,M=v=>{const{isRangeStart:N,isRangeEnd:Q}=de(v),_=d.value.enabled?N||Q:!1;return{dp__cell_offset:!v.current,dp__pointer:!a.disabled&&!(!v.current&&a.hideOffsetDates)&&!b(v.value),dp__cell_disabled:b(v.value),dp__cell_highlight:!ke(v)&&(_e(v)||H(v))&&!ve(v)&&!_&&!q(v)&&!(C(v)&&a.weekPicker)&&!Q,dp__cell_highlight_active:!ke(v)&&(_e(v)||H(v))&&ve(v),dp__today:!a.noToday&&Ve(v.value,p.value)&&v.current,"dp--past":qe(v.value,p.value),"dp--future":Ke(v.value,p.value)}},z=v=>({dp__active_date:ve(v),dp__date_hover:F(v)}),ue=v=>{if(e.value&&!Array.isArray(e.value)){const N=Nt(e.value,a.weekStart);return{...D(v),dp__range_start:Ve(N[0],v.value),dp__range_end:Ve(N[1],v.value),dp__range_between_week:Ke(v.value,N[0])&&qe(v.value,N[1])}}return{...D(v)}},j=v=>{if(e.value&&Array.isArray(e.value)){const N=Nt(e.value[0],a.weekStart),Q=e.value[1]?Nt(e.value[1],a.weekStart):[];return{...D(v),dp__range_start:Ve(N[0],v.value)||Ve(Q[0],v.value),dp__range_end:Ve(N[1],v.value)||Ve(Q[1],v.value),dp__range_between_week:Ke(v.value,N[0])&&qe(v.value,N[1])||Ke(v.value,Q[0])&&qe(v.value,Q[1]),dp__range_between:Ke(v.value,N[1])&&qe(v.value,Q[0])}}return{...D(v)}},de=v=>{const N=t.value.count>0?v.current&&W(v)&&G():W(v)&&G(),Q=t.value.count>0?v.current&&W(v,!1)&&G():W(v,!1)&&G();return{isRangeStart:N,isRangeEnd:Q}},De=v=>{const{isRangeStart:N,isRangeEnd:Q}=de(v);return{dp__range_start:N,dp__range_end:Q,dp__range_between:C(v),dp__date_hover:Ve(v.value,f.value)&&!N&&!Q&&!a.weekPicker,dp__date_hover_start:U(v,!0),dp__date_hover_end:U(v,!1)}},D=v=>({...De(v),dp__cell_auto_range:se(v),dp__cell_auto_range_start:q(v),dp__cell_auto_range_end:K(v)}),T=v=>d.value.enabled?d.value.autoRange?D(v):a.modelAuto?{...z(v),...De(v)}:a.weekPicker?j(v):De(v):a.weekPicker?ue(v):z(v);return{setHoverDate:c,clearHoverDate:g,getDayClassData:v=>a.hideOffsetDates&&!v.current?{}:{...M(v),...T(v),[a.dayClass?a.dayClass(v.value,a.internalModelValue):""]:!0,...o.value.calendarCell??{}}}},ea=e=>{const{defaultedFilters:a,defaultedRange:t,propDates:n,defaultedMultiDates:o}=ze(e),r=H=>n.value.disabledDates?typeof n.value.disabledDates=="function"?n.value.disabledDates(Z(H)):!!qa(H,n.value.disabledDates):!1,l=H=>n.value.maxDate?e.yearPicker?Pe(H)>Pe(n.value.maxDate):Ke(H,n.value.maxDate):!1,u=H=>n.value.minDate?e.yearPicker?Pe(H){const C=l(H),M=u(H),z=r(H),ue=a.value.months.map(T=>+T).includes(Se(H)),j=e.disabledWeekDays.length?e.disabledWeekDays.some(T=>+T===Sv(H)):!1,de=g(H),De=Pe(H),D=De<+e.yearRange[0]||De>+e.yearRange[1];return!(C||M||z||ue||D||j||de)},b=(H,C)=>qe(...jt(n.value.minDate,H,C))||Ve(...jt(n.value.minDate,H,C)),f=(H,C)=>Ke(...jt(n.value.maxDate,H,C))||Ve(...jt(n.value.maxDate,H,C)),p=(H,C,M)=>{let z=!1;return n.value.maxDate&&M&&f(H,C)&&(z=!0),n.value.minDate&&!M&&b(H,C)&&(z=!0),z},c=(H,C,M,z)=>{let ue=!1;return z?n.value.minDate&&n.value.maxDate?ue=p(H,C,M):(n.value.minDate&&b(H,C)||n.value.maxDate&&f(H,C))&&(ue=!0):ue=!0,ue},g=H=>Array.isArray(n.value.allowedDates)&&!n.value.allowedDates.length?!0:n.value.allowedDates?!qa(H,n.value.allowedDates):!1,P=H=>!d(H),$=H=>t.value.noDisabledRange?!or({start:H[0],end:H[1]}).some(C=>P(C)):!0,R=H=>{if(H){const C=Pe(H);return C>=+e.yearRange[0]&&C<=e.yearRange[1]}return!0},W=(H,C)=>!!(Array.isArray(H)&&H[C]&&(t.value.maxRange||t.value.minRange)&&R(H[C])),U=(H,C,M=0)=>{if(W(C,M)&&R(H)){const z=ar(H,C[M]),ue=Mr(C[M],H),j=ue.length===1?0:ue.filter(De=>P(De)).length,de=Math.abs(z)-(t.value.minMaxRawRange?0:j);if(t.value.minRange&&t.value.maxRange)return de>=+t.value.minRange&&de<=+t.value.maxRange;if(t.value.minRange)return de>=+t.value.minRange;if(t.value.maxRange)return de<=+t.value.maxRange}return!0},V=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,K=H=>Array.isArray(H)?[H[0]?gn(H[0]):null,H[1]?gn(H[1]):null]:gn(H),se=(H,C,M)=>H.find(z=>+z.hours===Bt(C)&&z.minutes==="*"?!0:+z.minutes===Gt(C)&&+z.hours===Bt(C))&&M,q=(H,C,M)=>{const[z,ue]=H,[j,de]=C;return!se(z,j,M)&&!se(ue,de,M)&&M},I=(H,C)=>{const M=Array.isArray(C)?C:[C];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?q(e.disabledTimes,M,H):!M.some(z=>se(e.disabledTimes,z,H)):H},te=(H,C)=>{const M=Array.isArray(C)?[la(C[0]),C[1]?la(C[1]):void 0]:la(C),z=!e.disabledTimes(M);return H&&z},G=(H,C)=>e.disabledTimes?Array.isArray(e.disabledTimes)?I(C,H):te(C,H):C,F=H=>{let C=!0;if(!H||V())return!0;const M=!n.value.minDate&&!n.value.maxDate?K(H):H;return(e.maxTime||n.value.maxDate)&&(C=Mo(e.maxTime,n.value.maxDate,"max",nt(M),C)),(e.minTime||n.value.minDate)&&(C=Mo(e.minTime,n.value.minDate,"min",nt(M),C)),G(H,C)},ve=H=>{if(!e.monthPicker)return!0;let C=!0;const M=Z(Pt(H));if(n.value.minDate&&n.value.maxDate){const z=Z(Pt(n.value.minDate)),ue=Z(Pt(n.value.maxDate));return Ke(M,z)&&qe(M,ue)||Ve(M,z)||Ve(M,ue)}if(n.value.minDate){const z=Z(Pt(n.value.minDate));C=Ke(M,z)||Ve(M,z)}if(n.value.maxDate){const z=Z(Pt(n.value.maxDate));C=qe(M,z)||Ve(M,z)}return C},_e=x(()=>H=>!e.enableTimePicker||e.ignoreTimeValidation?!0:F(H)),ke=x(()=>H=>e.monthPicker?Array.isArray(H)&&(t.value.enabled||o.value.enabled)?!H.filter(C=>!ve(C)).length:ve(H):!0);return{isDisabled:P,validateDate:d,validateMonthYearInRange:c,isDateRangeAllowed:$,checkMinMaxRange:U,isValidTime:F,isTimeValid:_e,isMonthValid:ke}},nn=()=>{const e=x(()=>(n,o)=>n==null?void 0:n.includes(o)),a=x(()=>(n,o)=>n.count?n.solo?!0:o===0:!0),t=x(()=>(n,o)=>n.count?n.solo?!0:o===n.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:t}},Pf=(e,a,t)=>{const n=A(0),o=Va({[ra.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[ra.calendar]:!1,[ra.header]:!1}),r=x(()=>e.monthPicker||e.timePicker),l=p=>{var c;if((c=e.flow)!=null&&c.length){if(!p&&r.value)return f();o[p]=!0,Object.keys(o).filter(g=>!o[g]).length||f()}},u=()=>{var p,c;(p=e.flow)!=null&&p.length&&n.value!==-1&&(n.value+=1,a("flow-step",n.value),f()),((c=e.flow)==null?void 0:c.length)===n.value&&yt().then(()=>d())},d=()=>{n.value=-1},b=(p,c,...g)=>{var P,$;e.flow[n.value]===p&&t.value&&(($=(P=t.value)[c])==null||$.call(P,...g))},f=(p=0)=>{p&&(n.value+=p),b(it.month,"toggleMonthPicker",!0),b(it.year,"toggleYearPicker",!0),b(it.calendar,"toggleTimePicker",!1,!0),b(it.time,"toggleTimePicker",!0,!0);const c=e.flow[n.value];(c===it.hours||c===it.minutes||c===it.seconds)&&b(c,"toggleTimePicker",!0,!0,c)};return{childMount:l,updateFlowStep:u,resetFlow:d,handleFlow:f,flowStep:n}},Tf={key:1,class:"dp__input_wrap"},Mf=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-disabled","aria-invalid"],xf={key:2,class:"dp--clear-btn"},Sf=["aria-label"],Af=J({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...en},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTextInput:r,defaultedAriaLabels:l,defaultedInline:u,defaultedConfig:d,defaultedRange:b,defaultedMultiDates:f,defaultedUI:p,getDefaultPattern:c,getDefaultStartTime:g}=ze(o),{checkMinMaxRange:P}=ea(o),$=A(),R=A(null),W=A(!1),U=A(!1),V=A(!1),K=A(null),se=x(()=>({dp__pointer:!o.disabled&&!o.readonly&&!r.value.enabled,dp__disabled:o.disabled,dp__input_readonly:!r.value.enabled,dp__input:!0,dp__input_icon_pad:!o.hideInputIcon,dp__input_valid:typeof o.state=="boolean"?o.state:!1,dp__input_invalid:typeof o.state=="boolean"?!o.state:!1,dp__input_focus:W.value||o.isMenuOpen,dp__input_reg:!r.value.enabled,...p.value.input??{}})),q=()=>{n("set-input-date",null),o.clearable&&o.autoApply&&(n("set-empty-date"),$.value=null)},I=D=>{const T=g();return Fm(D,r.value.format??c(),T??xr({},o.enableSeconds),o.inputValue,V.value,o.formatLocale)},te=D=>{const{rangeSeparator:T}=r.value,[v,N]=D.split(`${T}`);if(v){const Q=I(v.trim()),_=N?I(N.trim()):null;if(ga(Q,_))return;const me=Q&&_?[Q,_]:[Q];P(_,me,0)&&($.value=Q?me:null)}},G=()=>{V.value=!0},F=D=>{if(b.value.enabled)te(D);else if(f.value.enabled){const T=D.split(";");$.value=T.map(v=>I(v.trim())).filter(v=>v)}else $.value=I(D)},ve=D=>{var T;const v=typeof D=="string"?D:(T=D.target)==null?void 0:T.value;v!==""?(r.value.openMenu&&!o.isMenuOpen&&n("open"),F(v),n("set-input-date",$.value)):q(),V.value=!1,n("update:input-value",v),n("text-input",D,$.value)},_e=D=>{r.value.enabled?(F(D.target.value),r.value.enterSubmit&&Ln($.value)&&o.inputValue!==""?(n("set-input-date",$.value,!0),$.value=null):r.value.enterSubmit&&o.inputValue===""&&($.value=null,n("clear"))):C(D)},ke=(D,T)=>{var v;if(K.value&&T&&!U.value)return D.preventDefault(),U.value=!0,(v=K.value)==null?void 0:v.focus();r.value.enabled&&r.value.tabSubmit&&F(D.target.value),r.value.tabSubmit&&Ln($.value)&&o.inputValue!==""?(n("set-input-date",$.value,!0,!0),$.value=null):r.value.tabSubmit&&o.inputValue===""&&($.value=null,n("clear",!0))},H=()=>{W.value=!0,n("focus"),yt().then(()=>{var D;r.value.enabled&&r.value.selectOnFocus&&((D=R.value)==null||D.select())})},C=D=>{if(D.preventDefault(),Qt(D,d.value,!0),r.value.enabled&&r.value.openMenu&&!u.value.input){if(r.value.openMenu==="open"&&!o.isMenuOpen)return n("open");if(r.value.openMenu==="toggle")return n("toggle")}else r.value.enabled||n("toggle")},M=()=>{n("real-blur"),W.value=!1,(!o.isMenuOpen||u.value.enabled&&u.value.input)&&n("blur"),o.autoApply&&r.value.enabled&&$.value&&!o.isMenuOpen&&(n("set-input-date",$.value),n("select-date"),$.value=null)},z=D=>{Qt(D,d.value,!0),n("clear")},ue=(D,T)=>{if(D.key==="Tab"&&ke(D,T),D.key==="Enter"&&_e(D),!r.value.enabled){if(D.code==="Tab")return;D.preventDefault()}},j=()=>{var D;(D=R.value)==null||D.focus({preventScroll:!0})},de=D=>{$.value=D},De=D=>{D.key===Fe.tab&&(U.value=!1,ke(D))};return a({focusInput:j,setParsedDate:de}),(D,T)=>{var v,N;return i(),m("div",{onClick:C},[D.$slots.trigger&&!D.$slots["dp-input"]&&!s(u).enabled?k(D.$slots,"trigger",{key:0}):S("",!0),!D.$slots.trigger&&(!s(u).enabled||s(u).input)?(i(),m("div",Tf,[D.$slots["dp-input"]&&!D.$slots.trigger&&(!s(u).enabled||s(u).enabled&&s(u).input)?k(D.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:ve,onEnter:_e,onTab:ke,onClear:z,onBlur:M,onKeypress:ue,onPaste:G,onFocus:H,openMenu:()=>D.$emit("open"),closeMenu:()=>D.$emit("close"),toggleMenu:()=>D.$emit("toggle")}):S("",!0),D.$slots["dp-input"]?S("",!0):(i(),m("input",{key:1,id:D.uid?`dp-input-${D.uid}`:void 0,ref_key:"inputRef",ref:R,"data-test":"dp-input",name:D.name,class:he(se.value),inputmode:s(r).enabled?"text":"none",placeholder:D.placeholder,disabled:D.disabled,readonly:D.readonly,required:D.required,value:e.inputValue,autocomplete:D.autocomplete,"aria-disabled":D.disabled||void 0,"aria-invalid":D.state===!1?!0:void 0,onInput:ve,onBlur:M,onFocus:H,onKeypress:ue,onKeydown:T[0]||(T[0]=Q=>ue(Q,!0)),onPaste:G},null,42,Mf)),y("div",{onClick:T[3]||(T[3]=Q=>n("toggle"))},[D.$slots["input-icon"]&&!D.hideInputIcon?(i(),m("span",{key:0,class:"dp__input_icon",onClick:T[1]||(T[1]=Q=>n("toggle"))},[k(D.$slots,"input-icon")])):S("",!0),!D.$slots["input-icon"]&&!D.hideInputIcon&&!D.$slots["dp-input"]?(i(),le(s(ka),{key:1,"aria-label":(v=s(l))==null?void 0:v.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:T[2]||(T[2]=Q=>n("toggle"))},null,8,["aria-label"])):S("",!0)]),D.$slots["clear-icon"]&&e.inputValue&&D.clearable&&!D.disabled&&!D.readonly?(i(),m("span",xf,[k(D.$slots,"clear-icon",{clear:z})])):S("",!0),D.clearable&&!D.$slots["clear-icon"]&&e.inputValue&&!D.disabled&&!D.readonly?(i(),m("button",{key:3,ref_key:"clearBtnRef",ref:K,"aria-label":(N=s(l))==null?void 0:N.clearInput,class:"dp--clear-btn",type:"button",onBlur:T[4]||(T[4]=Q=>U.value=!1),onKeydown:T[5]||(T[5]=Q=>s(ct)(Q,()=>z(Q),!0,De)),onClick:T[6]||(T[6]=ia(Q=>z(Q),["prevent"]))},[ee(s(br),{class:"dp__input_icons","data-test":"clear-icon"})],40,Sf)):S("",!0)])):S("",!0)])}}}),Cf=typeof window<"u"?window:void 0,Dn=()=>{},Vf=e=>ol()?(rl(e),!0):!1,Of=(e,a,t,n)=>{if(!e)return Dn;let o=Dn;const r=Je(()=>s(e),u=>{o(),u&&(u.addEventListener(a,t,n),o=()=>{u.removeEventListener(a,t,n),o=Dn})},{immediate:!0,flush:"post"}),l=()=>{r(),o()};return Vf(l),l},If=(e,a,t,n={})=>{const{window:o=Cf,event:r="pointerdown"}=n;return o?Of(o,r,l=>{const u=tt(e),d=tt(a);!u||!d||u===l.target||l.composedPath().includes(u)||l.composedPath().includes(d)||t(l)},{passive:!0}):void 0},Lf=J({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...en},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=A(!1),u=Sa(o,"modelValue"),d=Sa(o,"timezone"),b=A(null),f=A(null),p=A(null),c=A(!1),g=A(null),P=A(!1),$=A(!1),R=A(!1),W=A(!1),{setMenuFocused:U,setShiftKey:V}=Or(),{clearArrowNav:K}=Zt(),{validateDate:se,isValidTime:q}=ea(o),{defaultedTransitions:I,defaultedTextInput:te,defaultedInline:G,defaultedConfig:F,defaultedRange:ve,defaultedMultiDates:_e}=ze(o),{menuTransition:ke,showTransition:H}=La(I);Ue(()=>{N(o.modelValue),yt().then(()=>{if(!G.value.enabled){const E=De(g.value);E==null||E.addEventListener("scroll",oe),window==null||window.addEventListener("resize",Y)}}),G.value.enabled&&(l.value=!0),window==null||window.addEventListener("keyup",xe),window==null||window.addEventListener("keydown",L)}),Xt(()=>{if(!G.value.enabled){const E=De(g.value);E==null||E.removeEventListener("scroll",oe),window==null||window.removeEventListener("resize",Y)}window==null||window.removeEventListener("keyup",xe),window==null||window.removeEventListener("keydown",L)});const C=_t(r,"all",o.presetDates),M=_t(r,"input");Je([u,d],()=>{N(u.value)},{deep:!0});const{openOnTop:z,menuStyle:ue,xCorrect:j,setMenuPosition:de,getScrollableParent:De,shadowRender:D}=kf({menuRef:b,menuRefInner:f,inputRef:p,pickerWrapperRef:g,inline:G,emit:n,props:o,slots:r}),{inputValue:T,internalModelValue:v,parseExternalModelValue:N,emitModelValue:Q,formatInputValue:_,checkBeforeEmit:me}=vp(n,o,c),Te=x(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:G.value.enabled,"dp--flex-display-collapsed":R.value,dp__flex_display_with_input:G.value.input})),Ze=x(()=>o.dark?"dp__theme_dark":"dp__theme_light"),B=x(()=>o.teleport?{to:typeof o.teleport=="boolean"?"body":o.teleport,disabled:!o.teleport||G.value.enabled}:{}),ne=x(()=>({class:"dp__outer_menu_wrap"})),h=x(()=>G.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),X=()=>{var E,re;return(re=(E=p.value)==null?void 0:E.$el)==null?void 0:re.getBoundingClientRect()},oe=()=>{l.value&&(F.value.closeOnScroll?gt():de())},Y=()=>{var E;l.value&&de();const re=(E=f.value)==null?void 0:E.$el.getBoundingClientRect().width;R.value=document.body.offsetWidth<=re},xe=E=>{E.key==="Tab"&&!G.value.enabled&&!o.teleport&&F.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||gt()),$.value=E.shiftKey},L=E=>{$.value=E.shiftKey},ae=()=>{!o.disabled&&!o.readonly&&(D(Co,o),de(!1),l.value=!0,l.value&&n("open"),l.value||wa(),N(o.modelValue))},ge=()=>{var E;T.value="",wa(),(E=p.value)==null||E.setParsedDate(null),n("update:model-value",null),n("update:model-timezone-value",null),n("cleared"),F.value.closeOnClearValue&>()},Ae=()=>{const E=v.value;return!E||!Array.isArray(E)&&se(E)?!0:Array.isArray(E)?_e.value.enabled||E.length===2&&se(E[0])&&se(E[1])?!0:ve.value.partialRange&&!o.timePicker?se(E[0]):!1:!1},kt=()=>{me()&&Ae()?(Q(),gt()):n("invalid-select",v.value)},$e=E=>{Ft(),Q(),F.value.closeOnAutoApply&&!E&>()},Ft=()=>{p.value&&te.value.enabled&&p.value.setParsedDate(v.value)},xt=(E=!1)=>{o.autoApply&&q(v.value)&&Ae()&&(ve.value.enabled&&Array.isArray(v.value)?(ve.value.partialRange||v.value.length===2)&&$e(E):$e(E))},wa=()=>{te.value.enabled||(v.value=null)},gt=()=>{G.value.enabled||(l.value&&(l.value=!1,j.value=!1,U(!1),V(!1),K(),n("closed"),T.value&&N(u.value)),wa(),n("blur"))},$a=(E,re,fe=!1)=>{if(!E){v.value=null;return}const ut=Array.isArray(E)?!E.some(ta=>!se(ta)):se(E),wt=q(E);ut&&wt&&(W.value=!0,v.value=E,re&&(P.value=fe,kt(),n("text-submit")),yt().then(()=>{W.value=!1}))},on=()=>{o.autoApply&&q(v.value)&&Q(),Ft()},Ra=()=>l.value?gt():ae(),rn=E=>{v.value=E},ln=()=>{te.value.enabled&&(c.value=!0,_()),n("focus")},sn=()=>{if(te.value.enabled&&(c.value=!1,N(o.modelValue),P.value)){const E=Em(g.value,$.value);E==null||E.focus()}n("blur")},un=E=>{f.value&&f.value.updateMonthYear(0,{month:Do(E.month),year:Do(E.year)})},dn=E=>{N(E??o.modelValue)},cn=(E,re)=>{var fe;(fe=f.value)==null||fe.switchView(E,re)},O=E=>F.value.onClickOutside?F.value.onClickOutside(E):gt(),ie=(E=0)=>{var re;(re=f.value)==null||re.handleFlow(E)};return If(b,p,()=>O(Ae)),a({closeMenu:gt,selectDate:kt,clearValue:ge,openMenu:ae,onScroll:oe,formatInputValue:_,updateInternalModelValue:rn,setMonthYear:un,parseModel:dn,switchView:cn,toggleMenu:Ra,handleFlow:ie,dpWrapMenuRef:b}),(E,re)=>(i(),m("div",{ref_key:"pickerWrapperRef",ref:g,class:he(Te.value),"data-datepicker-instance":""},[ee(Af,Oe({ref_key:"inputRef",ref:p,"input-value":s(T),"onUpdate:inputValue":re[0]||(re[0]=fe=>uo(T)?T.value=fe:null),"is-menu-open":l.value},E.$props,{onClear:ge,onOpen:ae,onSetInputDate:$a,onSetEmptyDate:s(Q),onSelectDate:kt,onToggle:Ra,onClose:gt,onFocus:ln,onBlur:sn,onRealBlur:re[1]||(re[1]=fe=>c.value=!1),onTextInput:re[2]||(re[2]=fe=>E.$emit("text-input",fe))}),at({_:2},[Me(s(M),(fe,ut)=>({name:fe,fn:w(wt=>[k(E.$slots,fe,ot(pt(wt)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(i(),le(ft(E.teleport?el:"div"),ot(pt(B.value)),{default:w(()=>[ee(Ht,{name:s(ke)(s(z)),css:s(H)&&!s(G).enabled},{default:w(()=>[l.value?(i(),m("div",Oe({key:0,ref_key:"dpWrapMenuRef",ref:b},ne.value,{class:{"dp--menu-wrapper":!s(G).enabled},style:s(G).enabled?void 0:s(ue)}),[ee(Co,Oe({ref_key:"dpMenuRef",ref:f},E.$props,{"internal-model-value":s(v),"onUpdate:internalModelValue":re[3]||(re[3]=fe=>uo(v)?v.value=fe:null),class:{[Ze.value]:!0,"dp--menu-wrapper":E.teleport},"open-on-top":s(z),"no-overlay-focus":h.value,collapse:R.value,"get-input-rect":X,"is-text-input-date":W.value,onClosePicker:gt,onSelectDate:kt,onAutoApply:xt,onTimeUpdate:on,onFlowStep:re[4]||(re[4]=fe=>E.$emit("flow-step",fe)),onUpdateMonthYear:re[5]||(re[5]=fe=>E.$emit("update-month-year",fe)),onInvalidSelect:re[6]||(re[6]=fe=>E.$emit("invalid-select",s(v))),onAutoApplyInvalid:re[7]||(re[7]=fe=>E.$emit("invalid-select",fe)),onInvalidFixedRange:re[8]||(re[8]=fe=>E.$emit("invalid-fixed-range",fe)),onRecalculatePosition:s(de),onTooltipOpen:re[9]||(re[9]=fe=>E.$emit("tooltip-open",fe)),onTooltipClose:re[10]||(re[10]=fe=>E.$emit("tooltip-close",fe)),onTimePickerOpen:re[11]||(re[11]=fe=>E.$emit("time-picker-open",fe)),onTimePickerClose:re[12]||(re[12]=fe=>E.$emit("time-picker-close",fe)),onAmPmChange:re[13]||(re[13]=fe=>E.$emit("am-pm-change",fe)),onRangeStart:re[14]||(re[14]=fe=>E.$emit("range-start",fe)),onRangeEnd:re[15]||(re[15]=fe=>E.$emit("range-end",fe)),onDateUpdate:re[16]||(re[16]=fe=>E.$emit("date-update",fe)),onInvalidDate:re[17]||(re[17]=fe=>E.$emit("invalid-date",fe)),onOverlayToggle:re[18]||(re[18]=fe=>E.$emit("overlay-toggle",fe))}),at({_:2},[Me(s(C),(fe,ut)=>({name:fe,fn:w(wt=>[k(E.$slots,fe,ot(pt({...wt})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):S("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Ie=(()=>{const e=Lf;return e.install=a=>{a.component("Vue3DatePicker",e)},e})(),Nf=Object.freeze(Object.defineProperty({__proto__:null,default:Ie},Symbol.toStringTag,{value:"Module"}));Object.entries(Nf).forEach(([e,a])=>{e!=="default"&&(Ie[e]=a)});const Rf={class:"demo-wrap"},Bf={class:"action-row"},Ef={class:"current-selection"},Hf=["onClick"],Yf=J({__name:"ActionRowSlotDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>$t(o,"dd.MM.yyyy, HH:mm");return(o,r)=>(i(),m("div",Rf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t)},{"action-row":w(({internalModelValue:l,selectDate:u})=>[y("div",Bf,[y("p",Ef,ce(n(l)),1),y("button",{class:"select-button",onClick:u},"Select Date",8,Hf)])]),_:1},8,["modelValue","dark"])]))}}),Ff={class:"demo-wrap"},zf=J({__name:"CustomCalendarDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(),n=o=>o.filter(r=>r.days.some(l=>l.text===15)).map(r=>({...r,days:r.days.map(l=>(l.classData["custom-class"]=!0,l))}));return(o,r)=>(i(),m("div",Ff,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},o.$props,{dark:s(a),calendar:n,placeholder:"Select Date"}),null,16,["modelValue","dark"])]))}}),Wf={class:"demo-wrap"},Uf=J({__name:"DarkDemo",props:["placeholder"],setup(e){const a=A(new Date);return(t,n)=>(i(),m("div",Wf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=o=>a.value=o),placeholder:e.placeholder,dark:""},null,8,["modelValue","placeholder"])]))}}),qf={class:"demo-wrap"},jf=J({__name:"DemoDayClass",setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>oa(o,et(He(new Date,{hours:0,minutes:0,seconds:0,milliseconds:0}),1))?"marked-cell":"";return(o,r)=>(i(),m("div",qf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"day-class":n},null,8,["modelValue","dark"])]))}}),Qf={class:"demo-wrap"},Kf=J({__name:"DemoHighlight",props:["disabled"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=e,o=x(()=>[et(new Date,1),et(new Date,2),et(new Date,3)]),r=x(()=>n.disabled?o.value:[]),l=x(()=>({dates:n.disabled?r.value:o.value,options:{highlightDisabled:!0}}));return(u,d)=>(i(),m("div",Qf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=b=>a.value=b),dark:s(t),highlight:l.value,"disabled-dates":r.value},null,8,["modelValue","dark","highlight","disabled-dates"])]))}}),Gf={class:"demo-wrap"},Xf=y("span",{class:"custom-marker"},null,-1),Jf=J({__name:"DemoMarkers",props:["useMarkerTooltipSlot","useMarkerSlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>[{date:et(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:et(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:et(new Date,3),type:"dot",color:"yellow"}]);return(o,r)=>(i(),m("div",Gf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),markers:n.value},at({_:2},[e.useMarkerTooltipSlot?{name:"marker-tooltip",fn:w(({day:l})=>[y("div",null,"Custom content on "+ce(l),1)]),key:"0"}:void 0,e.useMarkerSlot?{name:"marker",fn:w(({day:l})=>[Xf]),key:"1"}:void 0]),1032,["modelValue","dark","markers"])]))}}),Zf=y("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1),eh=["value"],th=y("img",{class:"input-slot-image",src:Lt,alt:"logo"},null,-1),ah=["onClick"],nh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),oh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),rh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),lh=y("img",{class:"slot-icon-m",src:Lt,alt:"logo"},null,-1),sh=y("img",{class:"slot-icon-m",src:Lt,alt:"logo"},null,-1),ih=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),uh={key:0,class:"slot-icon",src:Lt,alt:"logo"},dh=["onClick"],ch=y("img",{class:"slot-icon centered",src:Lt},null,-1),vh=[ch],mh=["onClick"],ph={class:"time-picker-overlay"},fh=["value","onChange"],hh=["value"],yh=["value","onChange"],gh=["value"],_h=y("div",{class:"dp-sidebar"},"Custom content",-1),bh=y("div",{class:"dp-sidebar"},"Custom content",-1),kh={class:"overlay-header"},wh=["onClick"],$h={class:"overlay-header"},Dh=["onClick"],Ph={key:0},Th={key:1},Mh=y("div",{class:"my-header"},"My custom header",-1),xh=y("div",{class:"overlay-header"},[y("span",null,"Hours")],-1),Sh=y("div",{class:"overlay-header"},[y("span",null,"Minutes")],-1),Ah=y("div",{class:"overlay-header"},[y("span",null,"Seconds")],-1),Ch=y("span",{class:"my-icon"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1),Vh=y("span",{class:"my-icon"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1),Oh=J({__name:"DemoSlots",props:["placeholder","useTriggerSlot","position","useInputIconSlot","useClearIconSlot","useClockIconSlot","useArrowLeftSlot","useArrowRightSlot","useArrowUpSlot","useArrowDownSlot","useCalendarIconSlot","useDaySlot","useActionButtonSlot","useActionPreviewSlot","useHoursSlot","useMinutesSlot","useMonthSlot","useYearSlot","useHoursOverlaySlot","useMinutesOverlaySlot","useMonthOverlaySlot","useYearOverlaySlot","useDpInputSlot","useCalendarHeaderSlot","useActionExtraSlot","is24","useAmPmButtonSlot","useTimePickerOverlay","useLeftSidebarSlot","useRightSidebarSlot","useMonthOverlayHeaderSlot","useYearOverlayHeaderSlot","useQuarterSlot","useTopExtraSlot","useHoursOverlayHeaderSlot","useMinutesOverlayHeaderSlot","useSecondsOverlayHeaderSlot","useTpInlineArrowUp","useTpInlineArrowDown","useMenuHeaderSlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=A(null),o=x(()=>new Date().getDate()+1),r=x(()=>f=>`Selected ${new Date(f).getDate()}`),l=x(()=>{const f=[];for(let p=0;p<24;p++)f.push({text:p<10?`0${p}`:p,value:p});return f}),u=x(()=>{const f=[];for(let p=0;p<60;p++)f.push({text:p<10?`0${p}`:p,value:p});return f}),d=()=>{n.value&&n.value.selectDate()},b=f=>$t(f,"QQQ");return(f,p)=>(i(),m("div",{class:he(["demo-wrap",e.useDpInputSlot||e.useTriggerSlot?"demo-wrap-inline":""])},[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":p[0]||(p[0]=c=>a.value=c),placeholder:e.placeholder,dark:s(t),position:e.position,"quarter-picker":e.useQuarterSlot,"enable-seconds":!!e.useSecondsOverlayHeaderSlot,"time-picker-inline":e.useTpInlineArrowUp||e.useTpInlineArrowDown,is24:e.is24,ref_key:"dpSlotDemo",ref:n},at({_:2},[e.useTriggerSlot?{name:"trigger",fn:w(()=>[Zf]),key:"0"}:void 0,e.useDpInputSlot?{name:"dp-input",fn:w(({value:c})=>[y("input",{class:"input-class",type:"text",value:c},null,8,eh)]),key:"1"}:void 0,e.useInputIconSlot?{name:"input-icon",fn:w(()=>[th]),key:"2"}:void 0,e.useClearIconSlot?{name:"clear-icon",fn:w(({clear:c})=>[y("img",{class:"input-slot-image-clear",src:Lt,onClick:c,alt:"logo"},null,8,ah)]),key:"3"}:void 0,e.useClockIconSlot?{name:"clock-icon",fn:w(()=>[nh]),key:"4"}:void 0,e.useArrowLeftSlot?{name:"arrow-left",fn:w(()=>[oh]),key:"5"}:void 0,e.useArrowRightSlot?{name:"arrow-right",fn:w(()=>[rh]),key:"6"}:void 0,e.useArrowUpSlot?{name:"arrow-up",fn:w(()=>[lh]),key:"7"}:void 0,e.useArrowDownSlot?{name:"arrow-down",fn:w(()=>[sh]),key:"8"}:void 0,e.useCalendarIconSlot?{name:"calendar-icon",fn:w(()=>[ih]),key:"9"}:void 0,e.useDaySlot?{name:"day",fn:w(({day:c})=>[c===o.value?(i(),m("img",uh)):(i(),m(pe,{key:1},[Ne(ce(c),1)],64))]),key:"10"}:void 0,e.useActionButtonSlot?{name:"action-buttons",fn:w(()=>[y("p",{class:"custom-select",onClick:d},"Select")]),key:"11"}:void 0,e.useActionPreviewSlot?{name:"action-preview",fn:w(({value:c})=>[Ne(ce(r.value(c)),1)]),key:"12"}:void 0,e.useHoursSlot?{name:"hours",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"13"}:void 0,e.useMinutesSlot?{name:"minutes",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"14"}:void 0,e.useMonthSlot?{name:"month",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"15"}:void 0,e.useYearSlot?{name:"year",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"16"}:void 0,e.useHoursOverlaySlot?{name:"hours-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"17"}:void 0,e.useMinutesOverlaySlot?{name:"minutes-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"18"}:void 0,e.useMonthOverlaySlot?{name:"month-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"19"}:void 0,e.useYearOverlaySlot?{name:"year-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"20"}:void 0,e.useCalendarHeaderSlot?{name:"calendar-header",fn:w(({index:c,day:g})=>[y("div",{class:he(c===5||c===6?"red-color":"")},ce(g),3)]),key:"21"}:void 0,e.useActionExtraSlot?{name:"action-extra",fn:w(({selectCurrentDate:c})=>[y("span",{onClick:g=>c(),title:"Select current date",class:"pointer"},vh,8,dh)]),key:"22"}:void 0,e.useAmPmButtonSlot?{name:"am-pm-button",fn:w(({toggle:c,value:g})=>[y("button",{onClick:c},ce(g),9,mh)]),key:"23"}:void 0,e.useTimePickerOverlay?{name:"time-picker-overlay",fn:w(({hours:c,minutes:g,setHours:P,setMinutes:$})=>[y("div",ph,[y("select",{class:"select-input",value:c,onChange:R=>P(+R.target.value)},[(i(!0),m(pe,null,Me(l.value,R=>(i(),m("option",{key:R.value,value:R.value},ce(R.text),9,hh))),128))],40,fh),y("select",{class:"select-input",value:g,onChange:R=>$(+R.target.value)},[(i(!0),m(pe,null,Me(u.value,R=>(i(),m("option",{key:R.value,value:R.value},ce(R.text),9,gh))),128))],40,yh)])]),key:"24"}:void 0,e.useLeftSidebarSlot?{name:"left-sidebar",fn:w(()=>[_h]),key:"25"}:void 0,e.useRightSidebarSlot?{name:"right-sidebar",fn:w(()=>[bh]),key:"26"}:void 0,e.useMonthOverlayHeaderSlot?{name:"month-overlay-header",fn:w(({toggle:c})=>[y("div",kh,[y("span",{onClick:c,class:"pointer"},ce("< Go back"),8,wh)])]),key:"27"}:void 0,e.useYearOverlayHeaderSlot?{name:"year-overlay-header",fn:w(({toggle:c})=>[y("div",$h,[y("span",{onClick:c,class:"pointer"},ce("< Go back"),8,Dh)])]),key:"28"}:void 0,e.useQuarterSlot?{name:"quarter",fn:w(({value:c})=>[y("span",null,ce(b(c)),1)]),key:"29"}:void 0,e.useTopExtraSlot?{name:"top-extra",fn:w(({value:c})=>[c?(i(),m("span",Ph,"Selected date: "+ce(c.getDate()),1)):(i(),m("span",Th,"No date selected"))]),key:"30"}:void 0,e.useMenuHeaderSlot?{name:"menu-header",fn:w(()=>[Mh]),key:"31"}:void 0,e.useHoursOverlayHeaderSlot?{name:"hours-overlay-header",fn:w(()=>[xh]),key:"32"}:void 0,e.useMinutesOverlayHeaderSlot?{name:"minutes-overlay-header",fn:w(()=>[Sh]),key:"33"}:void 0,e.useSecondsOverlayHeaderSlot?{name:"seconds-overlay-header",fn:w(()=>[Ah]),key:"34"}:void 0,e.useTpInlineArrowUp?{name:"tp-inline-arrow-up",fn:w(()=>[Ch]),key:"35"}:void 0,e.useTpInlineArrowDown?{name:"tp-inline-arrow-down",fn:w(()=>[Vh]),key:"36"}:void 0]),1032,["modelValue","placeholder","dark","position","quarter-picker","enable-seconds","time-picker-inline","is24"])],2))}}),Ih={class:"demo-wrap"},Lh=J({__name:"DisabledDatesDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const o=new Date,r=new Date(o);r.setDate(r.getDate()+1);const l=new Date(r);return l.setDate(r.getDate()+1),[r,l]});return(o,r)=>(i(),m("div",Ih,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"disabled-dates":n.value},null,8,["modelValue","dark","disabled-dates"])]))}}),Nh={class:"demo-wrap"},Rh=J({__name:"DisabledRangeDateDemo",props:{},setup(e){const{isDark:a}=Le(),t=A([]),n=[fr(new Date,1),new Date,et(new Date,1)];return(o,r)=>(i(),m("div",Nh,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},o.$props,{dark:s(a),range:{noDisabledRange:!0},"disabled-dates":n,placeholder:"Select range"}),null,16,["modelValue","dark"])]))}}),Bh={class:"demo-wrap"},Eh={class:"buttons-wrap"},Hh=["onClick"],Yh=J({__name:"DisabledTimesDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(null),n=["single","range"],o=A("single"),r=x(()=>o.value==="range"),l=[{hours:15,minutes:"*"},{hours:16,minutes:15},{hours:16,minutes:20},{hours:17,minutes:30}],u=[[{hours:12,minutes:"*"},{hours:9,minutes:10}],l],d=b=>{t.value=null,o.value=b};return(b,f)=>(i(),m("div",Bh,[y("div",Eh,[(i(),m(pe,null,Me(n,(p,c)=>y("button",{class:he(["change-btn",{"btn-active":p===o.value}]),key:c,onClick:g=>d(p)},ce(p),11,Hh)),64))]),ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=p=>t.value=p),placeholder:"Select date"},b.$props,{dark:s(a),"disabled-times":r.value?u:l,range:r.value}),null,16,["modelValue","dark","disabled-times","range"])]))}}),Fh=we(Yh,[["__scopeId","data-v-6bf8e806"]]),zh={class:"demo-wrap"},Wh={key:0},Uh=J({__name:"DisplayModelDemo",props:["modelType","modelAuto","range"],setup(e){const a=A(),{isDark:t}=Le();return(n,o)=>(i(),m("div",zh,[ee(s(Ie),Oe({modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t)},n.$props,{placeholder:"Select Date"}),null,16,["modelValue","dark"]),a.value?(i(),m("p",Wh,"Selected date: "+ce(a.value),1)):S("",!0)]))}}),qh={class:"demo-wrap"},jh=J({__name:"EmitTimezone",setup(e){const{isDark:a}=Le(),t=A(),n=A(),o=r=>{n.value=r};return(r,l)=>(i(),m("div",qh,[t.value&&n.value?(i(),m(pe,{key:0},[y("div",null,"Local timezone date: "+ce(t.value),1),y("div",null,"UTC date: "+ce(n.value),1)],64)):S("",!0),ee(s(Ie),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=u=>t.value=u),placeholder:"Select date","emit-timezone":"UTC",dark:s(a),"onUpdate:modelTimezoneValue":o},null,8,["modelValue","dark"])]))}}),Qh={class:"demo-wrap"},Kh=J({__name:"EmptyDemo",props:["placeholder","noToday","minTime","maxTime","startDate","startTime","disabledWeekDays","allowedDates","actionRow","nowButtonLabel","multiDates","flow","partialFlow","range","multiDatesLimit","weekPicker","monthPicker","timePicker","disableTimeRangeValidation","maxDate","ignoreTimeValidation","autoApply"],setup(e){const a=e,t=A(),{isDark:n}=Le(),o=x(()=>{if(a.allowedDates)return[new Date,new Date(new Date().setDate(new Date().getDate()+1))]});return(r,l)=>(i(),m("div",Qh,[ee(s(Ie),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=u=>t.value=u),placeholder:e.placeholder,dark:s(n),"no-today":e.noToday,"min-time":e.minTime,"max-time":e.maxTime,"start-date":e.startDate,"start-time":e.startTime,"disabled-week-days":e.disabledWeekDays,"allowed-dates":o.value,"action-row":e.actionRow,"now-button-label":e.nowButtonLabel,"multi-dates":e.multiDates,range:e.range,flow:e.flow,"multi-dates-limit":e.multiDatesLimit,"week-picker":e.weekPicker,"month-picker":e.monthPicker,"time-picker":e.timePicker,"disable-time-range-validation":e.disableTimeRangeValidation,"max-date":e.maxDate,"ignore-time-validation":e.ignoreTimeValidation,"partial-flow":e.partialFlow,"auto-apply":e.autoApply},null,8,["modelValue","placeholder","dark","no-today","min-time","max-time","start-date","start-time","disabled-week-days","allowed-dates","action-row","now-button-label","multi-dates","range","flow","multi-dates-limit","week-picker","month-picker","time-picker","disable-time-range-validation","max-date","ignore-time-validation","partial-flow","auto-apply"])]))}}),Gh={class:"demo-wrap"},Xh=J({__name:"FiltersDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const o=new Date;return{months:Array.from(Array(3).keys()).map(r=>Se(bt(o,r+1)))}});return(o,r)=>(i(),m("div",Gh,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date",filters:n.value},null,8,["modelValue","dark","filters"])]))}}),Jh={class:"demo-wrap"},Zh=J({__name:"FormatDemo",props:["placeholder"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,u=o.getFullYear();return`Selected date is ${r}/${l}/${u}`};return(o,r)=>(i(),m("div",Jh,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:e.placeholder,format:n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),e0={class:"demo-wrap"},t0=J({__name:"GlobalDemo",props:["uid","is24","enableTimePicker","locale","cancelText","selectText","range","position","weekNumbers","placeholder","hoursIncrement","minutesIncrement","hoursGridIncrement","minutesGridIncrement","minDate","maxDate","minTime","maxTime","weekStart","disabled","readonly","hideInputIcon","state","clearable","autoApply","filters","disableMonthYearSelect","yearRange","disabledDates","inline","weekNumName","autoPosition","monthPicker","timePicker","teleport","startDate","startTime","monthNameFormat","hideOffsetDates","noHoursOverlay","noMinutesOverlay","altPosition","multiCalendars","monthChangeOnScroll","transitions","enableSeconds","secondsIncrement","secondsGridIncrement","noSecondsOverlay","escClose","spaceConfirm","monthChangeOnArrows","name","autocomplete","preventMinMaxNavigation","reverseYears","vertical","arrowNavigation","textInput","yearPicker","multiStatic","dayNames","offset","teleportCenter","hideNavigation","sixWeeks","actionRow","disableYearSelect","focusStartDate","timePickerInline","yearFirst","loading","enableMinutes"],setup(e){const a=e,t=A(null),n=A(!1),{isDark:o}=Le(),r=x({get:()=>{if(n.value||a.maxTime||a.minTime||a.startDate&&!a.focusStartDate||a.startTime)return null;if(t.value)return t.value;if(a.monthPicker)return{month:new Date().getMonth(),year:new Date().getFullYear()};if(a.yearPicker)return new Date().getFullYear();if(a.timePicker){const l=new Date;return{hours:l.getHours(),minutes:l.getMinutes()}}if(a.range){const l=new Date,u=new Date(new Date().setDate(l.getDate()+7));return[l,u]}return new Date},set:l=>{n.value=!l,t.value=l}});return(l,u)=>(i(),m("div",e0,[ee(s(Ie),Oe({modelValue:r.value,"onUpdate:modelValue":u[0]||(u[0]=d=>r.value=d)},l.$props,{dark:s(o)}),null,16,["modelValue","dark"])]))}}),a0={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},n0=(e,a,t)=>{t=t||{};let n;const o=a0[e];return typeof o=="string"?n=o:a===1?t.addSuffix&&o.oneWithSuffix?n=o.oneWithSuffix:n=o.one:t.addSuffix&&o.otherWithSuffix?n=o.otherWithSuffix.replace("{{count}}",String(a)):n=o.other.replace("{{count}}",String(a)),t.addSuffix?t.comparison&&t.comparison>0?n+"後":n+"前":n},o0={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},r0={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},l0={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},s0={date:pa({formats:o0,defaultWidth:"full"}),time:pa({formats:r0,defaultWidth:"full"}),dateTime:pa({formats:l0,defaultWidth:"full"})},i0={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},u0=(e,a,t,n)=>i0[e],d0={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},c0={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},v0={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},m0={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},p0={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},f0={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},h0=(e,a)=>{const t=Number(e);switch(String(a==null?void 0:a.unit)){case"year":return`${t}年`;case"quarter":return`第${t}四半期`;case"month":return`${t}月`;case"week":return`第${t}週`;case"date":return`${t}日`;case"hour":return`${t}時`;case"minute":return`${t}分`;case"second":return`${t}秒`;default:return`${t}`}},y0={ordinalNumber:h0,era:St({values:d0,defaultWidth:"wide"}),quarter:St({values:c0,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:St({values:v0,defaultWidth:"wide"}),day:St({values:m0,defaultWidth:"wide"}),dayPeriod:St({values:p0,defaultWidth:"wide",formattingValues:f0,defaultFormattingWidth:"wide"})},g0=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,_0=/\d+/i,b0={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},k0={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},w0={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},$0={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},D0={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},P0={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},T0={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},M0={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},x0={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},S0={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},A0={ordinalNumber:lr({matchPattern:g0,parsePattern:_0,valueCallback:function(e){return parseInt(e,10)}}),era:At({matchPatterns:b0,defaultMatchWidth:"wide",parsePatterns:k0,defaultParseWidth:"any"}),quarter:At({matchPatterns:w0,defaultMatchWidth:"wide",parsePatterns:$0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:At({matchPatterns:D0,defaultMatchWidth:"wide",parsePatterns:P0,defaultParseWidth:"any"}),day:At({matchPatterns:T0,defaultMatchWidth:"wide",parsePatterns:M0,defaultParseWidth:"any"}),dayPeriod:At({matchPatterns:x0,defaultMatchWidth:"any",parsePatterns:S0,defaultParseWidth:"any"})},C0={code:"ja",formatDistance:n0,formatLong:s0,formatRelative:u0,localize:y0,match:A0,options:{weekStartsOn:0,firstWeekContainsDate:1}},V0={class:"demo-wrap"},O0=J({__name:"LocalizedOutput",setup(e){const a=A(new Date),{isDark:t}=Le();return(n,o)=>(i(),m("div",V0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),placeholder:"Select Date","format-locale":s(C0),format:"E"},null,8,["modelValue","dark","format-locale"])]))}}),I0={class:"demo-wrap"},L0=J({__name:"MinMaxDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>Et(new Date(Pe(new Date),Se(new Date)),2)),o=x(()=>bt(new Date(Pe(new Date),Se(new Date)),2));return(r,l)=>(i(),m("div",I0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),placeholder:"Select Date",dark:s(t),"min-date":n.value,"max-date":o.value,"prevent-min-max-navigation":""},null,8,["modelValue","dark","min-date","max-date"])]))}}),N0={class:"demo-wrap"},R0=J({__name:"MonthPickerDemo",props:{autoApplyMonth:{type:Boolean,default:!0}},setup(e){const{isDark:a}=Le(),t=A({month:new Date().getMonth(),year:new Date().getFullYear()});return(n,o)=>(i(),m("div",N0,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"month-picker":""}),null,16,["modelValue","dark"])]))}}),B0={},E0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},H0=y("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"},null,-1),Y0=[H0];function F0(e,a){return i(),m("svg",E0,Y0)}const z0=we(B0,[["render",F0]]),W0={},U0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},q0=y("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"},null,-1),j0=[q0];function Q0(e,a){return i(),m("svg",U0,j0)}const K0=we(W0,[["render",Q0]]),G0={class:"demo-wrap"},X0={class:"custom-month-year-component"},J0=["value","onChange"],Z0=["value"],ey=["value","onChange"],ty=["value"],ay={class:"icons"},ny=["onClick"],oy=["onClick"],ry={class:"custom-month-year-component"},ly=["value","onChange"],sy=["value"],iy=["onClick"],uy={class:"year-overlay"},dy=["value","onChange"],cy=["value"],vy=["onClick"],my=J({__name:"MonthYearSlotDemo",props:["defaultSlot","monthOverlaySlot","yearOverlaySlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=(r,l,u,d)=>{l(+r.target.value,u),d&&d()},o=(r,l,u,d)=>{l(u,+r.target.value),d&&d()};return(r,l)=>(i(),m("div",G0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t)},at({_:2},[e.defaultSlot?{name:"month-year",fn:w(({month:u,year:d,months:b,years:f,updateMonthYear:p,handleMonthYearChange:c})=>[y("div",X0,[y("select",{class:"select-input",value:u,onChange:g=>n(g,p,d)},[(i(!0),m(pe,null,Me(b,g=>(i(),m("option",{key:g.value,value:g.value},ce(g.text),9,Z0))),128))],40,J0),y("select",{class:"select-input",value:d,onChange:g=>o(g,p,u)},[(i(!0),m(pe,null,Me(f,g=>(i(),m("option",{key:g.value,value:g.value},ce(g.text),9,ty))),128))],40,ey)]),y("div",ay,[y("span",{class:"custom-icon",onClick:g=>c(!1)},[ee(z0)],8,ny),y("span",{class:"custom-icon",onClick:g=>c(!0)},[ee(K0)],8,oy)])]),key:"0"}:void 0,e.monthOverlaySlot?{name:"month-overlay",fn:w(({month:u,year:d,items:b,updateMonthYear:f,toggle:p})=>[y("div",ry,[y("select",{class:"select-input",value:u,onChange:c=>n(c,f,d,p)},[(i(!0),m(pe,null,Me(b,c=>(i(),m("option",{key:c.value,value:c.value},ce(c.text),9,sy))),128))],40,ly)]),y("button",{onClick:p},"Close",8,iy)]),key:"1"}:void 0,e.yearOverlaySlot?{name:"year-overlay",fn:w(({month:u,year:d,items:b,updateMonthYear:f,toggle:p})=>[y("div",uy,[y("div",null,[y("select",{class:"select-input",value:d,onChange:c=>o(c,f,u,p)},[(i(!0),m(pe,null,Me(b,c=>(i(),m("option",{key:c.value,value:c.value},ce(c.text),9,cy))),128))],40,dy)]),y("button",{onClick:p},"Close",8,vy)])]),key:"2"}:void 0]),1032,["modelValue","dark"])]))}}),py={class:"demo-wrap"},fy=["onClick"],hy=J({__name:"PresetRange",setup(e){const a=A(),{isDark:t}=Le(),n=A([{label:"Today",value:[new Date,new Date]},{label:"Today (Slot)",value:[new Date,new Date],slot:"preset-date-range-button"},{label:"This month",value:[Sn(new Date),ho(new Date)]},{label:"Last month",value:[Sn(Et(new Date,1)),ho(Et(new Date,1))]},{label:"This year",value:[ha(new Date),Un(new Date)]}]);return(o,r)=>(i(),m("div",py,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:"Select Date",dark:s(t),range:"","preset-dates":n.value},{"preset-date-range-button":w(({label:l,value:u,presetDate:d})=>[y("span",{role:"button",tabindex:0,onClick:b=>d(u)},ce(l),9,fy)]),_:1},8,["modelValue","dark","preset-dates"])]))}}),yy={class:"demo-wrap"},gy=J({__name:"PreviewFormatDemo",props:["placeholder"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,u=o.getFullYear();return`Selected date is ${r}/${l}/${u}`};return(o,r)=>(i(),m("div",yy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:e.placeholder,"preview-format":n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),_y={class:"demo-wrap"},by=J({__name:"QuarterPickerDemo",setup(e){const{isDark:a}=Le(),t=A(qt(new Date));return(n,o)=>(i(),m("div",_y,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"quarter-picker":""}),null,16,["modelValue","dark"])]))}}),ky={class:"demo-wrap"},wy=J({__name:"RangeDemo",props:{range:{type:[Boolean,Object],default:!0},clearable:{type:Boolean,default:!0},timePicker:{type:Boolean,default:!1},placeholder:{type:String,default:"Select Range"},multiCalendars:{type:[Number,String,Boolean,Object],default:null},disabledWeekDays:{type:Array,default:()=>[]}},setup(e){const a=e,{isDark:t}=Le(),n=x(()=>{var r,l,u;return typeof a.range=="object"?((r=a.range)==null?void 0:r.autoRange)||((l=a.range)==null?void 0:l.maxRange)||((u=a.range)==null?void 0:u.minRange):!1}),o=A(n.value?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(r,l)=>(i(),m("div",ky,[ee(s(Ie),Oe({modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=u=>o.value=u)},r.$props,{dark:s(t),rang:e.range,placeholder:e.placeholder}),null,16,["modelValue","dark","rang","placeholder"])]))}}),$y={class:"demo-wrap"},Dy=y("button",{class:"submit-btn",type:"submit"},"Submit form",-1),Py=J({__name:"RequiredDemo",setup(e){const a=A(),{isDark:t}=Le(),n=()=>{alert("Form submitted")};return(o,r)=>(i(),m("div",$y,[y("form",{onSubmit:ia(n,["prevent"])},[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),Dy],32)]))}}),Ty={class:"demo-wrap"},My={class:"buttons-wrap"},xy=["onClick"],Sy=J({__name:"SixWeeksDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=[!0,"append","prepend","center","fair"],o=A(!0);return(r,l)=>(i(),m("div",Ty,[y("div",My,[(i(),m(pe,null,Me(n,(u,d)=>y("button",{class:he(["change-btn",{"btn-active":u===o.value}]),key:d,onClick:b=>o.value=u},ce(u),11,xy)),64))]),ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t),"six-weeks":o.value},null,8,["modelValue","dark","six-weeks"])]))}}),Ay=we(Sy,[["__scopeId","data-v-9aafd744"]]),Cy={class:"demo-wrap"},Vy=J({__name:"TextInputDemo",props:["textInput","placeholder","minDate","maxDate"],setup(e){const a=A(new Date),{isDark:t}=Le();return(n,o)=>(i(),m("div",Cy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),"text-input":e.textInput,placeholder:e.placeholder,"min-date":e.minDate,"max-date":e.maxDate},null,8,["modelValue","dark","text-input","placeholder","min-date","max-date"])]))}}),Oy={class:"demo-wrap"},Iy=J({__name:"TimePickerDemo",props:["modeHeight"],setup(e){const{isDark:a}=Le(),t=A({hours:new Date().getHours(),minutes:new Date().getMinutes()});return(n,o)=>(i(),m("div",Oy,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"time-picker":""}),null,16,["modelValue","dark"])]))}}),Ly={class:"demo-wrap"},Ny={class:"custom-time-picker-component"},Ry=["value","onChange"],By=["value"],Ey=["value","onChange"],Hy=["value"],Yy=J({__name:"TimePickerSlotDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const r=[];for(let l=0;l<24;l++)r.push({text:l<10?`0${l}`:l,value:l});return r}),o=x(()=>{const r=[];for(let l=0;l<60;l++)r.push({text:l<10?`0${l}`:l,value:l});return r});return(r,l)=>(i(),m("div",Ly,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t)},{"time-picker":w(({time:u,updateTime:d})=>[y("div",Ny,[y("select",{class:"select-input",value:u.hours,onChange:b=>d(+b.target.value)},[(i(!0),m(pe,null,Me(n.value,b=>(i(),m("option",{key:b.value,value:b.value},ce(b.text),9,By))),128))],40,Ry),y("select",{class:"select-input",value:u.minutes,onChange:b=>d(+b.target.value,!1)},[(i(!0),m(pe,null,Me(o.value,b=>(i(),m("option",{key:b.value,value:b.value},ce(b.text),9,Hy))),128))],40,Ey)])]),_:1},8,["modelValue","dark"])]))}}),Fy={class:"demo-wrap"},zy={key:0},Wy=J({__name:"TimezoneDemo",setup(e){const a=A(),{isDark:t}=Le();return(n,o)=>(i(),m("div",Fy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),utc:"",placeholder:"Select Date"},null,8,["modelValue","dark"]),a.value?(i(),m("p",zy,"Selected date in UTC format: "+ce(a.value),1)):S("",!0)]))}}),Uy={class:"demo-wrap"},qy=J({__name:"YearPickerDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(new Date().getFullYear());return(n,o)=>(i(),m("div",Uy,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"year-picker":""}),null,16,["modelValue","dark"])]))}}),Hr=e=>(rt("data-v-76aa1e38"),e=e(),lt(),e),jy={class:"tz-demo-wrap"},Qy={class:"dp-container-wrap"},Ky={class:"tz-range-slider-wrap"},Gy=Hr(()=>y("br",null,null,-1)),Xy=Hr(()=>y("br",null,null,-1)),Jy={key:0},Zy=J({__name:"TimezoneNewDemo",props:{timezone:{type:Object,default:void 0},emitVal:{type:Boolean,default:!1}},setup(e){const{isDark:a}=Le(),t=e,n=A(),o=A(11),r=A(),l=x(()=>{var c,g;if(t.emitVal)return;const p=Se(new Date)+1>9?Se(new Date)+1:`0${Se(new Date)+1}`;return(c=t.timezone)!=null&&c.exactMatch?new Date:(g=t.timezone)!=null&&g.dateInTz?`${Pe(new Date)}-${p}-15T01:00:00Z`:`${Pe(new Date)}-${p}-15T01:00:00Z`}),u=[{tz:"Pacific/Midway",offset:-11},{tz:"America/Adak",offset:-10},{tz:"Pacific/Gambier",offset:-9},{tz:"America/Los_Angeles",offset:-8},{tz:"America/Denver",offset:-7},{tz:"America/Chicago",offset:-6},{tz:"America/New_York",offset:-5},{tz:"America/Santiago",offset:-4},{tz:"America/Sao_Paulo",offset:-3},{tz:"America/Noronha",offset:-2},{tz:"Atlantic/Cape_Verde",offset:-1},{tz:"UTC",offset:0},{tz:"Europe/Brussels",offset:1},{tz:"Africa/Cairo",offset:2},{tz:"Europe/Minsk",offset:3},{tz:"Europe/Moscow",offset:4},{tz:"Asia/Tashkent",offset:5},{tz:"Asia/Dhaka",offset:6},{tz:"Asia/Novosibirsk",offset:7},{tz:"Australia/Perth",offset:8},{tz:"Asia/Tokyo",offset:9},{tz:"Australia/Hobart",offset:10},{tz:"Asia/Vladivostok",offset:11},{tz:"Pacific/Auckland",offset:12}],d=x(()=>u[o.value]),b=x(()=>{const p=t.emitVal?{emitTimezone:d.value.tz}:{timezone:d.value.tz};return t.timezone?{...t.timezone,...p}:p}),f=p=>{r.value=p.toISOString()};return(p,c)=>(i(),m("div",jy,[y("div",Qy,[ee(s(Ie),{modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=g=>n.value=g),dark:s(a),timezone:b.value,inline:"","auto-apply":"","max-date":l.value,"onUpdate:modelTimezoneValue":f},null,8,["modelValue","dark","timezone","max-date"])]),y("div",Ky,[y("div",null,[y("span",null,"Timezone: "+ce(d.value.tz),1),Gy,y("span",null,"Offset: "+ce(d.value.offset>0?`+${d.value.offset}`:d.value.offset),1),Xy,r.value?(i(),m("span",Jy,"Zoned date: "+ce(r.value),1)):S("",!0)]),y("div",null,[Ta(y("input",{class:"tz-range-slider",type:"range","onUpdate:modelValue":c[1]||(c[1]=g=>o.value=g),min:"0",max:"22"},null,512),[[ll,o.value]])])])]))}}),eg=we(Zy,[["__scopeId","data-v-76aa1e38"]]),ng={extends:Xo,Layout:kc,enhanceApp({app:e}){e.component("StarAndSponsor",Mc),e.component("ActionRowSlotDemo",Yf),e.component("CustomCalendarDemo",zf),e.component("DarkDemo",Uf),e.component("DemoDayClass",jf),e.component("DemoHighlight",Kf),e.component("DemoMarkers",Jf),e.component("DemoSlots",Oh),e.component("DisabledDatesDemo",Lh),e.component("DisabledRangeDateDemo",Rh),e.component("DisabledTimesDemo",Fh),e.component("DisplayModelDemo",Uh),e.component("EmitTimezone",jh),e.component("EmptyDemo",Kh),e.component("FiltersDemo",Xh),e.component("FormatDemo",Zh),e.component("GlobalDemo",t0),e.component("LocalizedOutput",O0),e.component("MinMaxDemo",L0),e.component("MonthPickerDemo",R0),e.component("MonthYearSlotDemo",my),e.component("PresetRange",hy),e.component("PreviewFormatDemo",gy),e.component("QuarterPickerDemo",by),e.component("RangeDemo",wy),e.component("RequiredDemo",Py),e.component("SixWeeksDemo",Ay),e.component("TextInputDemo",Vy),e.component("TimePickerDemo",Iy),e.component("TimePickerSlotDemo",Yy),e.component("TimezoneDemo",Wy),e.component("YearPickerDemo",qy),e.component("TimezoneNewDemo",eg)}};export{ng as R,Ml as a,Ce as u};
diff --git a/docs/assets/chunks/ui-custom.BeOb8iRm.js b/docs/assets/chunks/ui-custom.CYhWyhyp.js
similarity index 82%
rename from docs/assets/chunks/ui-custom.BeOb8iRm.js
rename to docs/assets/chunks/ui-custom.CYhWyhyp.js
index d2fc5faa..5749f6f1 100644
--- a/docs/assets/chunks/ui-custom.BeOb8iRm.js
+++ b/docs/assets/chunks/ui-custom.CYhWyhyp.js
@@ -1 +1 @@
-import{u as i,a as l}from"./theme.C0dGJPqT.js";import{d as p,s as f,v as c,y as u,o as _,c as m,_ as b}from"./framework.IJS20kTW.js";const v=p({__name:"VPCarbonAds",props:{carbonAds:{}},setup(r){const{page:d}=i(),s=r.carbonAds,{isAsideEnabled:a}=l(),o=f();let n=!1;function t(){if(!n){n=!0;const e=document.createElement("script");e.id="_carbonads_js",e.src=`//cdn.carbonads.com/carbon.js?serve=${s.code}&placement=${s.placement}`,e.async=!0,o.value.appendChild(e)}}return c(()=>d.value.relativePath,()=>{var e;n&&a.value&&((e=window._carbonads)==null||e.refresh())}),s&&u(()=>{a.value?t():c(a,e=>e&&t())}),(e,h)=>(_(),m("div",{class:"VPCarbonAds",ref_key:"container",ref:o},null,512))}}),k=b(v,[["__scopeId","data-v-2e1efd59"]]);export{k as default};
+import{u as i,a as l}from"./theme.9ttioI6k.js";import{d as p,s as f,v as c,y as u,o as _,c as m,_ as b}from"./framework.BKRot_tQ.js";const v=p({__name:"VPCarbonAds",props:{carbonAds:{}},setup(r){const{page:d}=i(),s=r.carbonAds,{isAsideEnabled:a}=l(),o=f();let n=!1;function t(){if(!n){n=!0;const e=document.createElement("script");e.id="_carbonads_js",e.src=`//cdn.carbonads.com/carbon.js?serve=${s.code}&placement=${s.placement}`,e.async=!0,o.value.appendChild(e)}}return c(()=>d.value.relativePath,()=>{var e;n&&a.value&&((e=window._carbonads)==null||e.refresh())}),s&&u(()=>{a.value?t():c(a,e=>e&&t())}),(e,h)=>(_(),m("div",{class:"VPCarbonAds",ref_key:"container",ref:o},null,512))}}),k=b(v,[["__scopeId","data-v-2e1efd59"]]);export{k as default};
diff --git a/docs/assets/customization_theming_index.md.DkqYS7LC.js b/docs/assets/customization_theming_index.md.BHtaDIzU.js
similarity index 99%
rename from docs/assets/customization_theming_index.md.DkqYS7LC.js
rename to docs/assets/customization_theming_index.md.BHtaDIzU.js
index c1246771..9dabff60 100644
--- a/docs/assets/customization_theming_index.md.DkqYS7LC.js
+++ b/docs/assets/customization_theming_index.md.BHtaDIzU.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,am as n}from"./chunks/framework.IJS20kTW.js";const F=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),h={name:"customization/theming/index.md"},k=n(`Theming Datepicker comes with the theme support with css
variables. It provides two classes that are applied based on the chosen dark/light mode
To change variables, simply override the classes with your custom values.
Info
When changing the properties, you only need to declare the class in the <style>
tag, can be in global or scoped, depending on your needs For the date picker to use dp__theme_dark
, dark
prop must be set to true
Dark mode configuration css .dp__theme_dark {
+import{_ as s,c as i,o as a,am as n}from"./chunks/framework.BKRot_tQ.js";const F=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),h={name:"customization/theming/index.md"},k=n(`Theming Datepicker comes with the theme support with css
variables. It provides two classes that are applied based on the chosen dark/light mode
To change variables, simply override the classes with your custom values.
Info
When changing the properties, you only need to declare the class in the <style>
tag, can be in global or scoped, depending on your needs For the date picker to use dp__theme_dark
, dark
prop must be set to true
Dark mode configuration css .dp__theme_dark {
--dp-background-color : #212121 ;
--dp-text-color : #fff ;
--dp-hover-color : #484848 ;
diff --git a/docs/assets/customization_theming_index.md.DkqYS7LC.lean.js b/docs/assets/customization_theming_index.md.BHtaDIzU.lean.js
similarity index 78%
rename from docs/assets/customization_theming_index.md.DkqYS7LC.lean.js
rename to docs/assets/customization_theming_index.md.BHtaDIzU.lean.js
index 42edc876..2d4704f5 100644
--- a/docs/assets/customization_theming_index.md.DkqYS7LC.lean.js
+++ b/docs/assets/customization_theming_index.md.BHtaDIzU.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,am as n}from"./chunks/framework.IJS20kTW.js";const F=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),h={name:"customization/theming/index.md"},k=n("",10),p=[k];function l(t,e,E,d,r,g){return a(),i("div",null,p)}const o=s(h,[["render",l]]);export{F as __pageData,o as default};
+import{_ as s,c as i,o as a,am as n}from"./chunks/framework.BKRot_tQ.js";const F=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),h={name:"customization/theming/index.md"},k=n("",10),p=[k];function l(t,e,E,d,r,g){return a(),i("div",null,p)}const o=s(h,[["render",l]]);export{F as __pageData,o as default};
diff --git a/docs/assets/index.md.DcYGhi7H.js b/docs/assets/index.md.qJxocQGM.js
similarity index 96%
rename from docs/assets/index.md.DcYGhi7H.js
rename to docs/assets/index.md.qJxocQGM.js
index f55348fb..900a77d4 100644
--- a/docs/assets/index.md.DcYGhi7H.js
+++ b/docs/assets/index.md.qJxocQGM.js
@@ -1 +1 @@
-import{_ as t,D as o,c as a,I as i,o as n}from"./chunks/framework.IJS20kTW.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=o("StarAndSponsor");return n(),a("div",null,[i(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
+import{_ as t,D as o,c as a,I as i,o as n}from"./chunks/framework.BKRot_tQ.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=o("StarAndSponsor");return n(),a("div",null,[i(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
diff --git a/docs/assets/index.md.DcYGhi7H.lean.js b/docs/assets/index.md.qJxocQGM.lean.js
similarity index 96%
rename from docs/assets/index.md.DcYGhi7H.lean.js
rename to docs/assets/index.md.qJxocQGM.lean.js
index f55348fb..900a77d4 100644
--- a/docs/assets/index.md.DcYGhi7H.lean.js
+++ b/docs/assets/index.md.qJxocQGM.lean.js
@@ -1 +1 @@
-import{_ as t,D as o,c as a,I as i,o as n}from"./chunks/framework.IJS20kTW.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=o("StarAndSponsor");return n(),a("div",null,[i(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
+import{_ as t,D as o,c as a,I as i,o as n}from"./chunks/framework.BKRot_tQ.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=o("StarAndSponsor");return n(),a("div",null,[i(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
diff --git a/docs/assets/installation_index.md.BdZmYzE_.js b/docs/assets/installation_index.md.CzOQj94f.js
similarity index 96%
rename from docs/assets/installation_index.md.BdZmYzE_.js
rename to docs/assets/installation_index.md.CzOQj94f.js
index 28579536..28114510 100644
--- a/docs/assets/installation_index.md.BdZmYzE_.js
+++ b/docs/assets/installation_index.md.CzOQj94f.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const o=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),n={name:"installation/index.md"},p=t(`Installation Install the component using the preferred package manager
Then import and register component
Note : css
file is imported separately
js import VueDatePicker from '@vuepic/vue-datepicker' ;
+import{_ as s,c as i,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const o=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),n={name:"installation/index.md"},p=t(`Installation Install the component using the preferred package manager
Then import and register component
Note : css
file is imported separately
js import VueDatePicker from '@vuepic/vue-datepicker' ;
import '@vuepic/vue-datepicker/dist/main.css'
Global In the main file
js import { createApp } from "vue" ;
import App from './App.vue' ;
@@ -9,7 +9,7 @@ import{_ as s,c as i,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const o
app. component ( 'VueDatePicker' , VueDatePicker);
-app. mount ( '#app' );
Local In the .vue
files
script setup Composition API Options API
vue < template >
+app. mount ( '#app' );
Local In the .vue
files
script setup Composition API Options API
vue < template >
< VueDatePicker v-model = " date " ></ VueDatePicker >
</ template >
diff --git a/docs/assets/installation_index.md.BdZmYzE_.lean.js b/docs/assets/installation_index.md.CzOQj94f.lean.js
similarity index 79%
rename from docs/assets/installation_index.md.BdZmYzE_.lean.js
rename to docs/assets/installation_index.md.CzOQj94f.lean.js
index 336c3a99..f980d187 100644
--- a/docs/assets/installation_index.md.BdZmYzE_.lean.js
+++ b/docs/assets/installation_index.md.CzOQj94f.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const o=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),n={name:"installation/index.md"},p=t("",27),l=[p];function e(h,k,d,E,r,g){return a(),i("div",null,l)}const y=s(n,[["render",e]]);export{o as __pageData,y as default};
+import{_ as s,c as i,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const o=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),n={name:"installation/index.md"},p=t("",27),l=[p];function e(h,k,d,E,r,g){return a(),i("div",null,l)}const y=s(n,[["render",e]]);export{o as __pageData,y as default};
diff --git a/docs/assets/methods-and-events_events_index.md.itNS5m-d.js b/docs/assets/methods-and-events_events_index.md.CLtD3nmd.js
similarity index 99%
rename from docs/assets/methods-and-events_events_index.md.itNS5m-d.js
rename to docs/assets/methods-and-events_events_index.md.CLtD3nmd.js
index d5ba2438..bb2496f9 100644
--- a/docs/assets/methods-and-events_events_index.md.itNS5m-d.js
+++ b/docs/assets/methods-and-events_events_index.md.CLtD3nmd.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,am as n}from"./chunks/framework.IJS20kTW.js";const F=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),h={name:"methods-and-events/events/index.md"},t=n(`Events List of available events that are emitted on some action
@update:model-value This event is emitted when the value is selected. This is a v-model
binding event
Code Example vue < template >
+import{_ as s,c as i,o as a,am as n}from"./chunks/framework.BKRot_tQ.js";const F=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),h={name:"methods-and-events/events/index.md"},t=n(`Events List of available events that are emitted on some action
@update:model-value This event is emitted when the value is selected. This is a v-model
binding event
Code Example vue < template >
< VueDatePicker : model-value = " date " @ update : model-value = " handleDate " />
</ template >
diff --git a/docs/assets/methods-and-events_events_index.md.itNS5m-d.lean.js b/docs/assets/methods-and-events_events_index.md.CLtD3nmd.lean.js
similarity index 77%
rename from docs/assets/methods-and-events_events_index.md.itNS5m-d.lean.js
rename to docs/assets/methods-and-events_events_index.md.CLtD3nmd.lean.js
index b4d68e02..5a1aaafe 100644
--- a/docs/assets/methods-and-events_events_index.md.itNS5m-d.lean.js
+++ b/docs/assets/methods-and-events_events_index.md.CLtD3nmd.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,am as n}from"./chunks/framework.IJS20kTW.js";const F=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),h={name:"methods-and-events/events/index.md"},t=n("",114),l=[t];function k(p,e,E,d,r,g){return a(),i("div",null,l)}const c=s(h,[["render",k]]);export{F as __pageData,c as default};
+import{_ as s,c as i,o as a,am as n}from"./chunks/framework.BKRot_tQ.js";const F=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),h={name:"methods-and-events/events/index.md"},t=n("",114),l=[t];function k(p,e,E,d,r,g){return a(),i("div",null,l)}const c=s(h,[["render",k]]);export{F as __pageData,c as default};
diff --git a/docs/assets/methods-and-events_methods_index.md.DSpdWHb0.js b/docs/assets/methods-and-events_methods_index.md.sxka_nYL.js
similarity index 98%
rename from docs/assets/methods-and-events_methods_index.md.DSpdWHb0.js
rename to docs/assets/methods-and-events_methods_index.md.sxka_nYL.js
index 8694a88d..8ddb4547 100644
--- a/docs/assets/methods-and-events_methods_index.md.DSpdWHb0.js
+++ b/docs/assets/methods-and-events_methods_index.md.sxka_nYL.js
@@ -1,4 +1,4 @@
-import{_ as a,c as s,o as e,am as i}from"./chunks/framework.IJS20kTW.js";const E=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),t={name:"methods-and-events/methods/index.md"},l=i(`Methods List of available methods that you can call on the datepicker from the external code
Add a ref
to the component, and call the method on that ref
Code Example vue < template >
+import{_ as a,c as s,o as e,am as i}from"./chunks/framework.BKRot_tQ.js";const E=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),t={name:"methods-and-events/methods/index.md"},l=i(`Methods List of available methods that you can call on the datepicker from the external code
Add a ref
to the component, and call the method on that ref
Code Example vue < template >
< VueDatePicker v-model = " date " ref = "datepicker" />
</ template >
diff --git a/docs/assets/methods-and-events_methods_index.md.DSpdWHb0.lean.js b/docs/assets/methods-and-events_methods_index.md.sxka_nYL.lean.js
similarity index 77%
rename from docs/assets/methods-and-events_methods_index.md.DSpdWHb0.lean.js
rename to docs/assets/methods-and-events_methods_index.md.sxka_nYL.lean.js
index b8aca091..fbb6341b 100644
--- a/docs/assets/methods-and-events_methods_index.md.DSpdWHb0.lean.js
+++ b/docs/assets/methods-and-events_methods_index.md.sxka_nYL.lean.js
@@ -1 +1 @@
-import{_ as a,c as s,o as e,am as i}from"./chunks/framework.IJS20kTW.js";const E=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),t={name:"methods-and-events/methods/index.md"},l=i("",37),n=[l];function h(p,r,o,d,k,c){return e(),s("div",null,n)}const m=a(t,[["render",h]]);export{E as __pageData,m as default};
+import{_ as a,c as s,o as e,am as i}from"./chunks/framework.BKRot_tQ.js";const E=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),t={name:"methods-and-events/methods/index.md"},l=i("",37),n=[l];function h(p,r,o,d,k,c){return e(),s("div",null,n)}const m=a(t,[["render",h]]);export{E as __pageData,m as default};
diff --git a/docs/assets/migration_from-v5.md.BI3LqLn8.js b/docs/assets/migration_from-v5.md.CHERqwZ1.js
similarity index 99%
rename from docs/assets/migration_from-v5.md.BI3LqLn8.js
rename to docs/assets/migration_from-v5.md.CHERqwZ1.js
index d3935883..00304b26 100644
--- a/docs/assets/migration_from-v5.md.BI3LqLn8.js
+++ b/docs/assets/migration_from-v5.md.CHERqwZ1.js
@@ -1,4 +1,4 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const g=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),n={name:"migration/from-v5.md"},e=t(`Migrating from v5 Breaking changes month-picker
and year-picker
no longer have predefined value if v-model
is emptyaria-label
for arrow buttons in month-picker
mode is changed to Next/Previous yearauto-apply-month
prop is removed (will work with auto-apply
prop set)show-now-button
prop is removedmonth-year
slot will have different props depending on the used modeProperty handleMonthYearChange
is removed from sidebar-[left/right]
slot props Props changes (check props-reconfiguration ) Props reconfiguration Based on the list of removed props, and depending on your usage, you might need to do a slight adjustments to keep prior behaviour:
multi-calendars-solo
and multi-static
These 2 props are now merged into a configuration object that can be passed
to multi-calendars
prop
js
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const g=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),n={name:"migration/from-v5.md"},e=t(`Migrating from v5 Breaking changes month-picker
and year-picker
no longer have predefined value if v-model
is emptyaria-label
for arrow buttons in month-picker
mode is changed to Next/Previous yearauto-apply-month
prop is removed (will work with auto-apply
prop set)show-now-button
prop is removedmonth-year
slot will have different props depending on the used modeProperty handleMonthYearChange
is removed from sidebar-[left/right]
slot props Props changes (check props-reconfiguration ) Props reconfiguration Based on the list of removed props, and depending on your usage, you might need to do a slight adjustments to keep prior behaviour:
multi-calendars-solo
and multi-static
These 2 props are now merged into a configuration object that can be passed
to multi-calendars
prop
js
< template >
< VueDatePicker
diff --git a/docs/assets/migration_from-v5.md.BI3LqLn8.lean.js b/docs/assets/migration_from-v5.md.CHERqwZ1.lean.js
similarity index 79%
rename from docs/assets/migration_from-v5.md.BI3LqLn8.lean.js
rename to docs/assets/migration_from-v5.md.CHERqwZ1.lean.js
index e2a955f6..035a643c 100644
--- a/docs/assets/migration_from-v5.md.BI3LqLn8.lean.js
+++ b/docs/assets/migration_from-v5.md.CHERqwZ1.lean.js
@@ -1 +1 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const g=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),n={name:"migration/from-v5.md"},e=t("",26),l=[e];function p(h,o,k,r,d,c){return a(),s("div",null,l)}const y=i(n,[["render",p]]);export{g as __pageData,y as default};
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const g=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),n={name:"migration/from-v5.md"},e=t("",26),l=[e];function p(h,o,k,r,d,c){return a(),s("div",null,l)}const y=i(n,[["render",p]]);export{g as __pageData,y as default};
diff --git a/docs/assets/migration_from-v6.md.RC2xdNpA.js b/docs/assets/migration_from-v6.md.Dpqy4PX4.js
similarity index 92%
rename from docs/assets/migration_from-v6.md.RC2xdNpA.js
rename to docs/assets/migration_from-v6.md.Dpqy4PX4.js
index eb0f368b..b92bb695 100644
--- a/docs/assets/migration_from-v6.md.RC2xdNpA.js
+++ b/docs/assets/migration_from-v6.md.Dpqy4PX4.js
@@ -1 +1 @@
-import{_ as e,c as o,o as i,am as a}from"./chunks/framework.IJS20kTW.js";const h=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"},r=a('Migrating from v6 Breaking changes Wrapper for preset-dates is changed from <div>
to <template>
, which may cause potential styles break if you use a slot for the preset-dates item Removed deprecated props Removed closeOnScroll
modeHeight
allowPreventDefault
closeOnClearValue
closeOnAutoApply
noSwipe
keepActionRow
onClickOutside
All removed props are now part of the config
prop
',4),n=[r];function l(c,d,s,g,m,f){return i(),o("div",null,n)}const _=e(t,[["render",l]]);export{h as __pageData,_ as default};
+import{_ as e,c as o,o as i,am as a}from"./chunks/framework.BKRot_tQ.js";const h=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"},r=a('Migrating from v6 Breaking changes Wrapper for preset-dates is changed from <div>
to <template>
, which may cause potential styles break if you use a slot for the preset-dates item Removed deprecated props Removed closeOnScroll
modeHeight
allowPreventDefault
closeOnClearValue
closeOnAutoApply
noSwipe
keepActionRow
onClickOutside
All removed props are now part of the config
prop
',4),n=[r];function l(c,d,s,g,m,f){return i(),o("div",null,n)}const _=e(t,[["render",l]]);export{h as __pageData,_ as default};
diff --git a/docs/assets/migration_from-v6.md.RC2xdNpA.lean.js b/docs/assets/migration_from-v6.md.Dpqy4PX4.lean.js
similarity index 79%
rename from docs/assets/migration_from-v6.md.RC2xdNpA.lean.js
rename to docs/assets/migration_from-v6.md.Dpqy4PX4.lean.js
index 212ce819..e99c4bfc 100644
--- a/docs/assets/migration_from-v6.md.RC2xdNpA.lean.js
+++ b/docs/assets/migration_from-v6.md.Dpqy4PX4.lean.js
@@ -1 +1 @@
-import{_ as e,c as o,o as i,am as a}from"./chunks/framework.IJS20kTW.js";const h=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"},r=a("",4),n=[r];function l(c,d,s,g,m,f){return i(),o("div",null,n)}const _=e(t,[["render",l]]);export{h as __pageData,_ as default};
+import{_ as e,c as o,o as i,am as a}from"./chunks/framework.BKRot_tQ.js";const h=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"},r=a("",4),n=[r];function l(c,d,s,g,m,f){return i(),o("div",null,n)}const _=e(t,[["render",l]]);export{h as __pageData,_ as default};
diff --git a/docs/assets/migration_from-v7.md.BiHzPJ31.js b/docs/assets/migration_from-v7.md.BKCSZk9W.js
similarity index 99%
rename from docs/assets/migration_from-v7.md.BiHzPJ31.js
rename to docs/assets/migration_from-v7.md.BKCSZk9W.js
index 14aa20f0..67f211d6 100644
--- a/docs/assets/migration_from-v7.md.BiHzPJ31.js
+++ b/docs/assets/migration_from-v7.md.BKCSZk9W.js
@@ -1,4 +1,4 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const y=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),l={name:"migration/from-v7.md"},e=t(`Migrating from v7 Breaking changes Default week-picker format is changed to week numbers Tabbing out from the overlay will shift focus to the action row button if present Removed deprecated props Removed highlight-week-days
highlight-disabled-days
highlight
prop types id
for calendar days is changed to formatted value instead of ISO valuedate-fns-tz
library is removeddate-fns
library is updated to v3
highlight Info
For prop definition, check highlight
prop
js < template >
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const y=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),l={name:"migration/from-v7.md"},e=t(`Migrating from v7 Breaking changes Default week-picker format is changed to week numbers Tabbing out from the overlay will shift focus to the action row button if present Removed deprecated props Removed highlight-week-days
highlight-disabled-days
highlight
prop types id
for calendar days is changed to formatted value instead of ISO valuedate-fns-tz
library is removeddate-fns
library is updated to v3
highlight Info
For prop definition, check highlight
prop
js < template >
< VueDatePicker
:highlight="[new Date()]"
:highlight="{ days: [ new Date() ] }"
diff --git a/docs/assets/migration_from-v7.md.BiHzPJ31.lean.js b/docs/assets/migration_from-v7.md.BKCSZk9W.lean.js
similarity index 79%
rename from docs/assets/migration_from-v7.md.BiHzPJ31.lean.js
rename to docs/assets/migration_from-v7.md.BKCSZk9W.lean.js
index b548bdf0..0858c0ac 100644
--- a/docs/assets/migration_from-v7.md.BiHzPJ31.lean.js
+++ b/docs/assets/migration_from-v7.md.BKCSZk9W.lean.js
@@ -1 +1 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const y=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),l={name:"migration/from-v7.md"},e=t("",18),h=[e];function n(k,p,d,o,r,g){return a(),s("div",null,h)}const E=i(l,[["render",n]]);export{y as __pageData,E as default};
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const y=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),l={name:"migration/from-v7.md"},e=t("",18),h=[e];function n(k,p,d,o,r,g){return a(),s("div",null,h)}const E=i(l,[["render",n]]);export{y as __pageData,E as default};
diff --git a/docs/assets/migration_from-v8.md.ue4YmvjS.js b/docs/assets/migration_from-v8.md.BaR1FjMQ.js
similarity index 99%
rename from docs/assets/migration_from-v8.md.ue4YmvjS.js
rename to docs/assets/migration_from-v8.md.BaR1FjMQ.js
index 20252da5..15d4c213 100644
--- a/docs/assets/migration_from-v8.md.ue4YmvjS.js
+++ b/docs/assets/migration_from-v8.md.BaR1FjMQ.js
@@ -1,4 +1,4 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const E=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),l={name:"migration/from-v8.md"},n=t(`Migrating from v8 Breaking changes Removed deprecated props Removed auto-range
emit-timezone
partial-range
min-range
max-range
fixed-start
fixed-end
multi-dates-limit
show-last-in-range
no-disabled-range
disable-time-range-validation
input-class-name
menu-class-name
calendar-class-name
calendar-cell-class-name
boolean
value true
in text-input
configuration is replaced with string \`'open' | 'toggle'dp__clear_icon
class is changed to dp--clear-btn
and now wraps the iconRemoved calendarWrap
and calendarDays
from aria-labels
due to accessibility violations When using the component with web components, it must be enabled explicitly via the config.shadowDom
property range
props Following props are moved to the range
configuration object
auto-range
js < template >
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const E=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),l={name:"migration/from-v8.md"},n=t(`Migrating from v8 Breaking changes Removed deprecated props Removed auto-range
emit-timezone
partial-range
min-range
max-range
fixed-start
fixed-end
multi-dates-limit
show-last-in-range
no-disabled-range
disable-time-range-validation
input-class-name
menu-class-name
calendar-class-name
calendar-cell-class-name
boolean
value true
in text-input
configuration is replaced with string \`'open' | 'toggle'dp__clear_icon
class is changed to dp--clear-btn
and now wraps the iconRemoved calendarWrap
and calendarDays
from aria-labels
due to accessibility violations When using the component with web components, it must be enabled explicitly via the config.shadowDom
property range
props Following props are moved to the range
configuration object
auto-range
js < template >
< VueDatePicker
range
:auto-range="5"
diff --git a/docs/assets/migration_from-v8.md.ue4YmvjS.lean.js b/docs/assets/migration_from-v8.md.BaR1FjMQ.lean.js
similarity index 79%
rename from docs/assets/migration_from-v8.md.ue4YmvjS.lean.js
rename to docs/assets/migration_from-v8.md.BaR1FjMQ.lean.js
index 908292d9..ea38f62f 100644
--- a/docs/assets/migration_from-v8.md.ue4YmvjS.lean.js
+++ b/docs/assets/migration_from-v8.md.BaR1FjMQ.lean.js
@@ -1 +1 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const E=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),l={name:"migration/from-v8.md"},n=t("",45),e=[n];function h(k,p,d,o,r,c){return a(),s("div",null,e)}const y=i(l,[["render",h]]);export{E as __pageData,y as default};
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const E=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),l={name:"migration/from-v8.md"},n=t("",45),e=[n];function h(k,p,d,o,r,c){return a(),s("div",null,e)}const y=i(l,[["render",h]]);export{E as __pageData,y as default};
diff --git a/docs/assets/props_calendar-configuration_index.md.BxXIyXWr.js b/docs/assets/props_calendar-configuration_index.md.CgmBjRMD.js
similarity index 99%
rename from docs/assets/props_calendar-configuration_index.md.BxXIyXWr.js
rename to docs/assets/props_calendar-configuration_index.md.CgmBjRMD.js
index 6cf218d0..002bd705 100644
--- a/docs/assets/props_calendar-configuration_index.md.BxXIyXWr.js
+++ b/docs/assets/props_calendar-configuration_index.md.CgmBjRMD.js
@@ -1,4 +1,4 @@
-import{_ as e,D as n,c as E,I as i,am as s,o as d}from"./chunks/framework.IJS20kTW.js";const W=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),r={name:"props/calendar-configuration/index.md"},g=s(`Calendar configuration Configure calendar options such as behavior or available dates
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, weekNumbers
as week-numbers
and so on calendar Customize the calendar view, filter out weeks, add or remove custom classes
Important
Do not modify date values
Type: (weeks: CalendarWeek[]) => CalendarWeek[];
Default: null
ts interface CalendarWeek {
+import{_ as e,D as n,c as E,I as i,am as s,o as d}from"./chunks/framework.BKRot_tQ.js";const W=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),r={name:"props/calendar-configuration/index.md"},g=s(`Calendar configuration Configure calendar options such as behavior or available dates
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, weekNumbers
as week-numbers
and so on calendar Customize the calendar view, filter out weeks, add or remove custom classes
Important
Do not modify date values
Type: (weeks: CalendarWeek[]) => CalendarWeek[];
Default: null
ts interface CalendarWeek {
days : {
text : number | string ; // Value displayed in the calendar day box
value : Date ; // Date that is going to be selected, do not modify
diff --git a/docs/assets/props_calendar-configuration_index.md.BxXIyXWr.lean.js b/docs/assets/props_calendar-configuration_index.md.CgmBjRMD.lean.js
similarity index 96%
rename from docs/assets/props_calendar-configuration_index.md.BxXIyXWr.lean.js
rename to docs/assets/props_calendar-configuration_index.md.CgmBjRMD.lean.js
index d7e93ab6..f64816af 100644
--- a/docs/assets/props_calendar-configuration_index.md.BxXIyXWr.lean.js
+++ b/docs/assets/props_calendar-configuration_index.md.CgmBjRMD.lean.js
@@ -1 +1 @@
-import{_ as e,D as n,c as E,I as i,am as s,o as d}from"./chunks/framework.IJS20kTW.js";const W=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),r={name:"props/calendar-configuration/index.md"},g=s("",8),y=s("",5),F=s("",4),o=s("",4),c=s("",4),u=s("",4),C=s("",4),D=s("",4),m=s("",4),A=s("",4),B=s("",5),_=s("",4),b=s("",4),v=s("",4),f=s("",4),T=s("",5),w=s("",4),q=s("",1);function x(P,S,V,I,N,R){const h=n("CustomCalendarDemo"),a=n("GlobalDemo"),l=n("MinMaxDemo"),t=n("EmptyDemo"),k=n("FiltersDemo"),p=n("DisabledDatesDemo");return d(),E("div",null,[g,i(h),y,i(a,{"week-numbers":{type:"iso"}}),F,i(a,{"hide-offset-dates":!0}),o,i(a,{"min-date":new Date},null,8,["min-date"]),c,i(a,{"max-date":new Date},null,8,["max-date"]),u,i(l),C,i(t,{"ignore-time-validation":!0,"max-date":new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate()),placeholder:"Select Date"},null,8,["max-date"]),D,i(t,{"start-date":new Date(2020,1),placeholder:"Select Date"},null,8,["start-date"]),m,i(a,{"start-date":new Date(2020,1),"focus-start-date":!0,placeholder:"Select Date"},null,8,["start-date"]),A,i(a,{"week-start":"0"}),B,i(k),_,i(a,{"disable-month-year-select":!0}),b,i(a,{"year-range":[2020,2040]}),v,i(a,{"reverse-years":!0,"year-range":[2020,2040]}),f,i(t,{"allowed-dates":[new Date],placeholder:"Select Date"},null,8,["allowed-dates"]),T,i(p),w,i(t,{"disabled-week-days":[6,0],placeholder:"Select Date"}),q])}const O=e(r,[["render",x]]);export{W as __pageData,O as default};
+import{_ as e,D as n,c as E,I as i,am as s,o as d}from"./chunks/framework.BKRot_tQ.js";const W=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),r={name:"props/calendar-configuration/index.md"},g=s("",8),y=s("",5),F=s("",4),o=s("",4),c=s("",4),u=s("",4),C=s("",4),D=s("",4),m=s("",4),A=s("",4),B=s("",5),_=s("",4),b=s("",4),v=s("",4),f=s("",4),T=s("",5),w=s("",4),q=s("",1);function x(P,S,V,I,N,R){const h=n("CustomCalendarDemo"),a=n("GlobalDemo"),l=n("MinMaxDemo"),t=n("EmptyDemo"),k=n("FiltersDemo"),p=n("DisabledDatesDemo");return d(),E("div",null,[g,i(h),y,i(a,{"week-numbers":{type:"iso"}}),F,i(a,{"hide-offset-dates":!0}),o,i(a,{"min-date":new Date},null,8,["min-date"]),c,i(a,{"max-date":new Date},null,8,["max-date"]),u,i(l),C,i(t,{"ignore-time-validation":!0,"max-date":new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate()),placeholder:"Select Date"},null,8,["max-date"]),D,i(t,{"start-date":new Date(2020,1),placeholder:"Select Date"},null,8,["start-date"]),m,i(a,{"start-date":new Date(2020,1),"focus-start-date":!0,placeholder:"Select Date"},null,8,["start-date"]),A,i(a,{"week-start":"0"}),B,i(k),_,i(a,{"disable-month-year-select":!0}),b,i(a,{"year-range":[2020,2040]}),v,i(a,{"reverse-years":!0,"year-range":[2020,2040]}),f,i(t,{"allowed-dates":[new Date],placeholder:"Select Date"},null,8,["allowed-dates"]),T,i(p),w,i(t,{"disabled-week-days":[6,0],placeholder:"Select Date"}),q])}const O=e(r,[["render",x]]);export{W as __pageData,O as default};
diff --git a/docs/assets/props_formatting_index.md.CXFddBvT.js b/docs/assets/props_formatting_index.md.yZ544n8V.js
similarity index 99%
rename from docs/assets/props_formatting_index.md.CXFddBvT.js
rename to docs/assets/props_formatting_index.md.yZ544n8V.js
index faafdd6c..acdf47a9 100644
--- a/docs/assets/props_formatting_index.md.CXFddBvT.js
+++ b/docs/assets/props_formatting_index.md.yZ544n8V.js
@@ -1,4 +1,4 @@
-import{_ as l,D as i,c as e,I as a,am as s,o as k}from"./chunks/framework.IJS20kTW.js";const C=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),p={name:"props/formatting/index.md"},r=s('Format options for the value displayed in the input or preview
Info
If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, previewFormat
as preview-format
and so on Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function
Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
Default: Single picker: 'MM/dd/yyyy HH:mm'
Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
Month picker: 'MM/yyyy'
Time picker: 'HH:mm'
Time picker range: 'HH:mm - HH:mm'
Week picker 'RR-yyyy' | 'ww-yyyy'
(depends on week numbering) Info
If is-24
prop is set to false
, hours format will be changed to 'hh:mm aa'
For additional information on how to pass custom string format you can check Unicode tokens
',8),E=s(`Code Example vue < template >
+import{_ as l,D as i,c as e,I as a,am as s,o as k}from"./chunks/framework.BKRot_tQ.js";const C=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),p={name:"props/formatting/index.md"},r=s('Format options for the value displayed in the input or preview
Info
If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, previewFormat
as preview-format
and so on Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function
Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
Default: Single picker: 'MM/dd/yyyy HH:mm'
Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
Month picker: 'MM/yyyy'
Time picker: 'HH:mm'
Time picker range: 'HH:mm - HH:mm'
Week picker 'RR-yyyy' | 'ww-yyyy'
(depends on week numbering) Info
If is-24
prop is set to false
, hours format will be changed to 'hh:mm aa'
For additional information on how to pass custom string format you can check Unicode tokens
',8),E=s(`Code Example vue < template >
< VueDatePicker v-model = " date " : format = " format " />
</ template >
diff --git a/docs/assets/props_formatting_index.md.CXFddBvT.lean.js b/docs/assets/props_formatting_index.md.yZ544n8V.lean.js
similarity index 91%
rename from docs/assets/props_formatting_index.md.CXFddBvT.lean.js
rename to docs/assets/props_formatting_index.md.yZ544n8V.lean.js
index 8b4bae89..0c386441 100644
--- a/docs/assets/props_formatting_index.md.CXFddBvT.lean.js
+++ b/docs/assets/props_formatting_index.md.yZ544n8V.lean.js
@@ -1 +1 @@
-import{_ as l,D as i,c as e,I as a,am as s,o as k}from"./chunks/framework.IJS20kTW.js";const C=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),p={name:"props/formatting/index.md"},r=s("",8),E=s("",6),d=s("",4),o=s("",1);function g(y,c,F,m,u,f){const t=i("FormatDemo"),n=i("PreviewFormatDemo"),h=i("GlobalDemo");return k(),e("div",null,[r,a(t),E,a(n),d,a(h,{"month-name-format":"long"}),o])}const A=l(p,[["render",g]]);export{C as __pageData,A as default};
+import{_ as l,D as i,c as e,I as a,am as s,o as k}from"./chunks/framework.BKRot_tQ.js";const C=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),p={name:"props/formatting/index.md"},r=s("",8),E=s("",6),d=s("",4),o=s("",1);function g(y,c,F,m,u,f){const t=i("FormatDemo"),n=i("PreviewFormatDemo"),h=i("GlobalDemo");return k(),e("div",null,[r,a(t),E,a(n),d,a(h,{"month-name-format":"long"}),o])}const A=l(p,[["render",g]]);export{C as __pageData,A as default};
diff --git a/docs/assets/props_general-configuration_index.md.kdLulLhN.js b/docs/assets/props_general-configuration_index.md.DOYpbrWq.js
similarity index 99%
rename from docs/assets/props_general-configuration_index.md.kdLulLhN.js
rename to docs/assets/props_general-configuration_index.md.DOYpbrWq.js
index 5d37aa28..653eb179 100644
--- a/docs/assets/props_general-configuration_index.md.kdLulLhN.js
+++ b/docs/assets/props_general-configuration_index.md.DOYpbrWq.js
@@ -1,4 +1,4 @@
-import{_ as r,D as n,c as g,I as i,j as h,a as t,am as s,o}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),y={name:"props/general-configuration/index.md"},c=s('General configuration General behavior props configuration
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, monthChangeOnScroll
as month-change-on-scroll
and so on uid Pass an id
to the input and menu elements. If provided, you can select menu id as dp-menu-${uid}
and input id as dp-input-${uid}
Type: string
Default: null
',6),F=s(`Code Example vue < template >
+import{_ as r,D as n,c as g,I as i,j as h,a as t,am as s,o}from"./chunks/framework.BKRot_tQ.js";const j=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),y={name:"props/general-configuration/index.md"},c=s('General configuration General behavior props configuration
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, monthChangeOnScroll
as month-change-on-scroll
and so on uid Pass an id
to the input and menu elements. If provided, you can select menu id as dp-menu-${uid}
and input id as dp-input-${uid}
Type: string
Default: null
',6),F=s(`Code Example vue < template >
< VueDatePicker v-model = " date " uid = "demo" />
</ template >
diff --git a/docs/assets/props_general-configuration_index.md.kdLulLhN.lean.js b/docs/assets/props_general-configuration_index.md.DOYpbrWq.lean.js
similarity index 96%
rename from docs/assets/props_general-configuration_index.md.kdLulLhN.lean.js
rename to docs/assets/props_general-configuration_index.md.DOYpbrWq.lean.js
index f3d69a3d..12b7f259 100644
--- a/docs/assets/props_general-configuration_index.md.kdLulLhN.lean.js
+++ b/docs/assets/props_general-configuration_index.md.DOYpbrWq.lean.js
@@ -1 +1 @@
-import{_ as r,D as n,c as g,I as i,j as h,a as t,am as s,o}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),y={name:"props/general-configuration/index.md"},c=s("",6),F=s("",5),u=s("",1),C={id:"model-value",tabindex:"-1"},m=h("a",{class:"header-anchor",href:"#model-value","aria-label":'Permalink to "model-value "'},"",-1),D=s("",7),A=s("",4),B=s("",5),b=s("",4),_=s("",4),v=s("",5),f=s("",5),T=s("",4),w=s("",4),q=s("",4),P=s("",4),S=s("",4),x=s("",4),V=s("",5),I=s("",3),R=s("",4),N=s("",11),O=s("",1);function M(H,G,W,$,L,U){const a=n("GlobalDemo"),k=n("Badge"),e=n("DisplayModelDemo"),l=n("EmptyDemo"),p=n("DemoMarkers"),E=n("DemoHighlight"),d=n("RequiredDemo");return o(),g("div",null,[c,i(a,{uid:"demo"}),F,i(a,{"month-change-on-scroll":!1}),u,h("h2",C,[t("model-value "),i(k,{type:"tip",text:"v-model"}),t(),m]),D,i(e,{modelType:"dd.MM.yyyy"}),A,i(a,{clearable:!1}),B,i(a,{"auto-apply":!0}),b,i(l,{placeholder:"Select Date"}),_,i(l,{"no-today":!0,placeholder:"Select Date"}),v,i(p),f,i(E),T,i(a,{disabled:!0}),w,i(a,{readonly:!0}),q,i(d,{required:!0}),P,i(a,{name:"date-picker"}),S,i(a,{autocomplete:"off"}),x,i(a,{"hide-navigation":["month","year"]}),V,i(a,{"action-row":{showNow:!0,showPreview:!1}}),I,i(a,{"disable-year-select":!0}),R,i(a,{"year-first":!0}),N,i(a,{loading:!0}),O])}const z=r(y,[["render",M]]);export{j as __pageData,z as default};
+import{_ as r,D as n,c as g,I as i,j as h,a as t,am as s,o}from"./chunks/framework.BKRot_tQ.js";const j=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),y={name:"props/general-configuration/index.md"},c=s("",6),F=s("",5),u=s("",1),C={id:"model-value",tabindex:"-1"},m=h("a",{class:"header-anchor",href:"#model-value","aria-label":'Permalink to "model-value "'},"",-1),D=s("",7),A=s("",4),B=s("",5),b=s("",4),_=s("",4),v=s("",5),f=s("",5),T=s("",4),w=s("",4),q=s("",4),P=s("",4),S=s("",4),x=s("",4),V=s("",5),I=s("",3),R=s("",4),N=s("",11),O=s("",1);function M(H,G,W,$,L,U){const a=n("GlobalDemo"),k=n("Badge"),e=n("DisplayModelDemo"),l=n("EmptyDemo"),p=n("DemoMarkers"),E=n("DemoHighlight"),d=n("RequiredDemo");return o(),g("div",null,[c,i(a,{uid:"demo"}),F,i(a,{"month-change-on-scroll":!1}),u,h("h2",C,[t("model-value "),i(k,{type:"tip",text:"v-model"}),t(),m]),D,i(e,{modelType:"dd.MM.yyyy"}),A,i(a,{clearable:!1}),B,i(a,{"auto-apply":!0}),b,i(l,{placeholder:"Select Date"}),_,i(l,{"no-today":!0,placeholder:"Select Date"}),v,i(p),f,i(E),T,i(a,{disabled:!0}),w,i(a,{readonly:!0}),q,i(d,{required:!0}),P,i(a,{name:"date-picker"}),S,i(a,{autocomplete:"off"}),x,i(a,{"hide-navigation":["month","year"]}),V,i(a,{"action-row":{showNow:!0,showPreview:!1}}),I,i(a,{"disable-year-select":!0}),R,i(a,{"year-first":!0}),N,i(a,{loading:!0}),O])}const z=r(y,[["render",M]]);export{j as __pageData,z as default};
diff --git a/docs/assets/props_keyboard_index.md.G0H1-SZ1.js b/docs/assets/props_keyboard_index.md.8mfI-ATL.js
similarity index 99%
rename from docs/assets/props_keyboard_index.md.G0H1-SZ1.js
rename to docs/assets/props_keyboard_index.md.8mfI-ATL.js
index e7f7ffa3..67b18f08 100644
--- a/docs/assets/props_keyboard_index.md.G0H1-SZ1.js
+++ b/docs/assets/props_keyboard_index.md.8mfI-ATL.js
@@ -1,4 +1,4 @@
-import{_ as t,D as n,c as e,I as a,am as s,o as l}from"./chunks/framework.IJS20kTW.js";const C=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),h={name:"props/keyboard/index.md"},p=s('Keyboard Configure keyboard actions
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, escClose
as esc-close
and so on Info
You can press tab
key in the menu, and it will autofocus elements, pressing enter
will do a click
action like open overlay or select a date.
All keyboard events are enabled by default
esc-close Esc
key closes the menu
Type: boolean
Default: true
',7),k=s(`Code Example vue < template >
+import{_ as t,D as n,c as e,I as a,am as s,o as l}from"./chunks/framework.BKRot_tQ.js";const C=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),h={name:"props/keyboard/index.md"},p=s('Keyboard Configure keyboard actions
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, escClose
as esc-close
and so on Info
You can press tab
key in the menu, and it will autofocus elements, pressing enter
will do a click
action like open overlay or select a date.
All keyboard events are enabled by default
esc-close Esc
key closes the menu
Type: boolean
Default: true
',7),k=s(`Code Example vue < template >
< VueDatePicker v-model = " date " : esc-close = " false " />
</ template >
diff --git a/docs/assets/props_keyboard_index.md.G0H1-SZ1.lean.js b/docs/assets/props_keyboard_index.md.8mfI-ATL.lean.js
similarity index 91%
rename from docs/assets/props_keyboard_index.md.G0H1-SZ1.lean.js
rename to docs/assets/props_keyboard_index.md.8mfI-ATL.lean.js
index 3b01ca46..81350419 100644
--- a/docs/assets/props_keyboard_index.md.G0H1-SZ1.lean.js
+++ b/docs/assets/props_keyboard_index.md.8mfI-ATL.lean.js
@@ -1 +1 @@
-import{_ as t,D as n,c as e,I as a,am as s,o as l}from"./chunks/framework.IJS20kTW.js";const C=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),h={name:"props/keyboard/index.md"},p=s("",7),k=s("",4),r=s("",4),d=s("",5),E=s("",1);function o(c,g,y,u,F,m){const i=n("GlobalDemo");return l(),e("div",null,[p,a(i,{"esc-close":!1}),k,a(i,{"space-confirm":!1}),r,a(i,{"month-change-on-arrows":!1}),d,a(i,{"arrow-navigation":!0}),E])}const b=t(h,[["render",o]]);export{C as __pageData,b as default};
+import{_ as t,D as n,c as e,I as a,am as s,o as l}from"./chunks/framework.BKRot_tQ.js";const C=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),h={name:"props/keyboard/index.md"},p=s("",7),k=s("",4),r=s("",4),d=s("",5),E=s("",1);function o(c,g,y,u,F,m){const i=n("GlobalDemo");return l(),e("div",null,[p,a(i,{"esc-close":!1}),k,a(i,{"space-confirm":!1}),r,a(i,{"month-change-on-arrows":!1}),d,a(i,{"arrow-navigation":!0}),E])}const b=t(h,[["render",o]]);export{C as __pageData,b as default};
diff --git a/docs/assets/props_localization_index.md.Deuw2KpT.js b/docs/assets/props_localization_index.md.DAA9qzr1.js
similarity index 99%
rename from docs/assets/props_localization_index.md.Deuw2KpT.js
rename to docs/assets/props_localization_index.md.DAA9qzr1.js
index a265ee88..69b67fee 100644
--- a/docs/assets/props_localization_index.md.Deuw2KpT.js
+++ b/docs/assets/props_localization_index.md.DAA9qzr1.js
@@ -1,4 +1,4 @@
-import{_ as h,D as t,c as k,I as i,am as s,o as p}from"./chunks/framework.IJS20kTW.js";const v=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),e={name:"props/localization/index.md"},E=s('Localization Localization options and label props
Info
If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, formatLocale
as format-locale
and so on locale Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names
Type: string
Default: 'en-US'
',6),r=s(`Code Example vue < template >
+import{_ as h,D as t,c as k,I as i,am as s,o as p}from"./chunks/framework.BKRot_tQ.js";const v=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),e={name:"props/localization/index.md"},E=s('Localization Localization options and label props
Info
If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, formatLocale
as format-locale
and so on locale Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names
Type: string
Default: 'en-US'
',6),r=s(`Code Example vue < template >
< VueDatePicker v-model = " date " locale = "de" cancelText = "abbrechen" selectText = "auswählen" />
</ template >
diff --git a/docs/assets/props_localization_index.md.Deuw2KpT.lean.js b/docs/assets/props_localization_index.md.DAA9qzr1.lean.js
similarity index 93%
rename from docs/assets/props_localization_index.md.Deuw2KpT.lean.js
rename to docs/assets/props_localization_index.md.DAA9qzr1.lean.js
index ee52f7b9..a87ed157 100644
--- a/docs/assets/props_localization_index.md.Deuw2KpT.lean.js
+++ b/docs/assets/props_localization_index.md.DAA9qzr1.lean.js
@@ -1 +1 @@
-import{_ as h,D as t,c as k,I as i,am as s,o as p}from"./chunks/framework.IJS20kTW.js";const v=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),e={name:"props/localization/index.md"},E=s("",6),r=s("",6),d=s("",4),g=s("",4),y=s("",4),o=s("",4),F=s("",11),c=s("",1);function u(C,m,A,B,D,_){const a=t("GlobalDemo"),n=t("LocalizedOutput"),l=t("EmptyDemo");return p(),k("div",null,[E,i(a,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),r,i(n),d,i(a,{"select-text":"Pick"}),g,i(a,{"cancel-text":"Close"}),y,i(l,{"action-row":{showNow:!0},placeholder:"Select Date","now-button-label":"Current"}),o,i(a,{"week-numbers":"iso","week-num-name":"We"}),F,i(a,{"day-names":["1","2","3","4","5","6","7"]}),c])}const f=h(e,[["render",u]]);export{v as __pageData,f as default};
+import{_ as h,D as t,c as k,I as i,am as s,o as p}from"./chunks/framework.BKRot_tQ.js";const v=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),e={name:"props/localization/index.md"},E=s("",6),r=s("",6),d=s("",4),g=s("",4),y=s("",4),o=s("",4),F=s("",11),c=s("",1);function u(C,m,A,B,D,_){const a=t("GlobalDemo"),n=t("LocalizedOutput"),l=t("EmptyDemo");return p(),k("div",null,[E,i(a,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),r,i(n),d,i(a,{"select-text":"Pick"}),g,i(a,{"cancel-text":"Close"}),y,i(l,{"action-row":{showNow:!0},placeholder:"Select Date","now-button-label":"Current"}),o,i(a,{"week-numbers":"iso","week-num-name":"We"}),F,i(a,{"day-names":["1","2","3","4","5","6","7"]}),c])}const f=h(e,[["render",u]]);export{v as __pageData,f as default};
diff --git a/docs/assets/props_look-and-feel_index.md.CUxjRaCU.js b/docs/assets/props_look-and-feel_index.md.CkNbrHve.js
similarity index 99%
rename from docs/assets/props_look-and-feel_index.md.CUxjRaCU.js
rename to docs/assets/props_look-and-feel_index.md.CkNbrHve.js
index 2df2da48..04999f7c 100644
--- a/docs/assets/props_look-and-feel_index.md.CUxjRaCU.js
+++ b/docs/assets/props_look-and-feel_index.md.CkNbrHve.js
@@ -1,4 +1,4 @@
-import{_ as e,D as n,c as k,I as i,am as s,o as p}from"./chunks/framework.IJS20kTW.js";const b=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),d={name:"props/look-and-feel/index.md"},E=s(`Look and feel Customization options
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, sixWeeks
as six-weeks
and so on transitions Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitions component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop
Type: Transitions | boolean
Default: true
ts interface Transitions {
+import{_ as e,D as n,c as k,I as i,am as s,o as p}from"./chunks/framework.BKRot_tQ.js";const b=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),d={name:"props/look-and-feel/index.md"},E=s(`Look and feel Customization options
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, sixWeeks
as six-weeks
and so on transitions Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitions component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop
Type: Transitions | boolean
Default: true
ts interface Transitions {
open ?: string ;
close ?: string ;
next ?: string ;
diff --git a/docs/assets/props_look-and-feel_index.md.CUxjRaCU.lean.js b/docs/assets/props_look-and-feel_index.md.CkNbrHve.lean.js
similarity index 92%
rename from docs/assets/props_look-and-feel_index.md.CUxjRaCU.lean.js
rename to docs/assets/props_look-and-feel_index.md.CkNbrHve.lean.js
index af2f2244..e29c6e59 100644
--- a/docs/assets/props_look-and-feel_index.md.CUxjRaCU.lean.js
+++ b/docs/assets/props_look-and-feel_index.md.CkNbrHve.lean.js
@@ -1 +1 @@
-import{_ as e,D as n,c as k,I as i,am as s,o as p}from"./chunks/framework.IJS20kTW.js";const b=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),d={name:"props/look-and-feel/index.md"},E=s("",8),r=s("",5),g=s("",4),o=s("",4),y=s("",4),c=s("",4),F=s("",10),u=s("",1);function C(m,A,D,B,_,f){const a=n("GlobalDemo"),t=n("SixWeeksDemo"),l=n("DarkDemo"),h=n("DemoDayClass");return p(),k("div",null,[E,i(a,{transitions:!1}),r,i(t),g,i(l),o,i(a,{offset:20}),y,i(a,{"hide-input-icon":!0}),c,i(a,{state:!1}),F,i(h),u])}const T=e(d,[["render",C]]);export{b as __pageData,T as default};
+import{_ as e,D as n,c as k,I as i,am as s,o as p}from"./chunks/framework.BKRot_tQ.js";const b=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),d={name:"props/look-and-feel/index.md"},E=s("",8),r=s("",5),g=s("",4),o=s("",4),y=s("",4),c=s("",4),F=s("",10),u=s("",1);function C(m,A,D,B,_,f){const a=n("GlobalDemo"),t=n("SixWeeksDemo"),l=n("DarkDemo"),h=n("DemoDayClass");return p(),k("div",null,[E,i(a,{transitions:!1}),r,i(t),g,i(l),o,i(a,{offset:20}),y,i(a,{"hide-input-icon":!0}),c,i(a,{state:!1}),F,i(h),u])}const T=e(d,[["render",C]]);export{b as __pageData,T as default};
diff --git a/docs/assets/props_modes-configuration_index.md.DST_YaWQ.js b/docs/assets/props_modes-configuration_index.md.DZEhKzVk.js
similarity index 99%
rename from docs/assets/props_modes-configuration_index.md.DST_YaWQ.js
rename to docs/assets/props_modes-configuration_index.md.DZEhKzVk.js
index 4ad40964..98f75e21 100644
--- a/docs/assets/props_modes-configuration_index.md.DST_YaWQ.js
+++ b/docs/assets/props_modes-configuration_index.md.DZEhKzVk.js
@@ -1,4 +1,4 @@
-import{_ as E,D as n,c as d,I as i,am as s,o as r}from"./chunks/framework.IJS20kTW.js";const Y=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),g={name:"props/modes-configuration/index.md"},y=s(`Modes configuration Props for configuring and extending the datepicker when using a specific mode
Info
If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, textInput
as text-input
and so on range
configuration Providing configuration object will automatically enable range
picker
ts interface RangeConfig {
+import{_ as E,D as n,c as d,I as i,am as s,o as r}from"./chunks/framework.BKRot_tQ.js";const Y=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),g={name:"props/modes-configuration/index.md"},y=s(`Modes configuration Props for configuring and extending the datepicker when using a specific mode
Info
If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, textInput
as text-input
and so on range
configuration Providing configuration object will automatically enable range
picker
ts interface RangeConfig {
noDisabledRange ?: boolean ;
showLastInRange ?: boolean ;
minMaxRawRange ?: boolean ;
diff --git a/docs/assets/props_modes-configuration_index.md.DST_YaWQ.lean.js b/docs/assets/props_modes-configuration_index.md.DZEhKzVk.lean.js
similarity index 97%
rename from docs/assets/props_modes-configuration_index.md.DST_YaWQ.lean.js
rename to docs/assets/props_modes-configuration_index.md.DZEhKzVk.lean.js
index e434fc50..e26324a7 100644
--- a/docs/assets/props_modes-configuration_index.md.DST_YaWQ.lean.js
+++ b/docs/assets/props_modes-configuration_index.md.DZEhKzVk.lean.js
@@ -1 +1 @@
-import{_ as E,D as n,c as d,I as i,am as s,o as r}from"./chunks/framework.IJS20kTW.js";const Y=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),g={name:"props/modes-configuration/index.md"},y=s("",9),F=s("",4),o=s("",4),c=s("",4),C=s("",5),u=s("",5),B=s("",4),D=s("",4),A=s("",4),m=s("",4),f=s("",6),v=s("",8),b=s("",3),_=s("",8),q=s("",6),T=s("",7),z=s("",4),x=s("",4),w=s("",7),P=s("",4),S=s("",4),V=s("",4),R=s("",4),I=s("",1);function M(N,O,U,W,$,j){const a=n("RangeDemo"),l=n("DisabledRangeDateDemo"),p=n("PresetRange"),e=n("TextInputDemo"),k=n("GlobalDemo"),t=n("EmptyDemo"),h=n("TimezoneNewDemo");return r(),d("div",null,[y,i(a,{range:{autoRange:5}}),F,i(a,{range:{partialRange:!1}}),o,i(a,{range:{minRange:3},placeholder:"At least 3 days in between"}),c,i(a,{range:{maxRange:7},placeholder:"Can't have more than 7 days in between"}),C,i(a,{range:{fixedStart:!0},clearable:!1}),u,i(a,{range:{fixedEnd:!0},clearable:!1}),B,i(a,{range:{showLastInRange:!1}}),D,i(l),A,i(a,{"time-picker":!0,range:{disableTimeRangeValidation:!0},placeholder:"Select Time"}),m,i(a,{range:{maxRange:14,minMaxRawRange:!0},"disabled-week-days":[1,2,3,4,5]}),f,i(p),v,i(a,{"multi-calendars":{solo:!0}}),b,i(a,{"multi-calendars":{static:!1}}),_,i(e,{"text-input":{format:"MM.dd.yyyy HH:mm"},placeholder:"Start Typing ..."}),q,i(k,{inline:{input:!0},"auto-apply":!0,"text-input":!0}),T,i(t,{"multi-dates":{limit:3},placeholder:"Select Multiple Dates","multi-dates-limit":3}),z,i(t,{"multi-dates":{dragSelect:!1},placeholder:"Select Multiple Dates"}),x,i(t,{"auto-apply":!0,"partial-flow":!0,placeholder:"Select Date",flow:["calendar","time"]}),w,i(h),P,i(h,{timezone:{exactMatch:!0}}),S,i(h,{timezone:{exactMatch:!0,dateInTz:"UTC"}}),V,i(h,{emitVal:!0}),R,i(k,{timezone:{convertModel:!1,timezone:"UTC"}}),I])}const G=E(g,[["render",M]]);export{Y as __pageData,G as default};
+import{_ as E,D as n,c as d,I as i,am as s,o as r}from"./chunks/framework.BKRot_tQ.js";const Y=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),g={name:"props/modes-configuration/index.md"},y=s("",9),F=s("",4),o=s("",4),c=s("",4),C=s("",5),u=s("",5),B=s("",4),D=s("",4),A=s("",4),m=s("",4),f=s("",6),v=s("",8),b=s("",3),_=s("",8),q=s("",6),T=s("",7),z=s("",4),x=s("",4),w=s("",7),P=s("",4),S=s("",4),V=s("",4),R=s("",4),I=s("",1);function M(N,O,U,W,$,j){const a=n("RangeDemo"),l=n("DisabledRangeDateDemo"),p=n("PresetRange"),e=n("TextInputDemo"),k=n("GlobalDemo"),t=n("EmptyDemo"),h=n("TimezoneNewDemo");return r(),d("div",null,[y,i(a,{range:{autoRange:5}}),F,i(a,{range:{partialRange:!1}}),o,i(a,{range:{minRange:3},placeholder:"At least 3 days in between"}),c,i(a,{range:{maxRange:7},placeholder:"Can't have more than 7 days in between"}),C,i(a,{range:{fixedStart:!0},clearable:!1}),u,i(a,{range:{fixedEnd:!0},clearable:!1}),B,i(a,{range:{showLastInRange:!1}}),D,i(l),A,i(a,{"time-picker":!0,range:{disableTimeRangeValidation:!0},placeholder:"Select Time"}),m,i(a,{range:{maxRange:14,minMaxRawRange:!0},"disabled-week-days":[1,2,3,4,5]}),f,i(p),v,i(a,{"multi-calendars":{solo:!0}}),b,i(a,{"multi-calendars":{static:!1}}),_,i(e,{"text-input":{format:"MM.dd.yyyy HH:mm"},placeholder:"Start Typing ..."}),q,i(k,{inline:{input:!0},"auto-apply":!0,"text-input":!0}),T,i(t,{"multi-dates":{limit:3},placeholder:"Select Multiple Dates","multi-dates-limit":3}),z,i(t,{"multi-dates":{dragSelect:!1},placeholder:"Select Multiple Dates"}),x,i(t,{"auto-apply":!0,"partial-flow":!0,placeholder:"Select Date",flow:["calendar","time"]}),w,i(h),P,i(h,{timezone:{exactMatch:!0}}),S,i(h,{timezone:{exactMatch:!0,dateInTz:"UTC"}}),V,i(h,{emitVal:!0}),R,i(k,{timezone:{convertModel:!1,timezone:"UTC"}}),I])}const G=E(g,[["render",M]]);export{Y as __pageData,G as default};
diff --git a/docs/assets/props_modes_index.md.H-gBcZzP.js b/docs/assets/props_modes_index.md.DTsCdhjY.js
similarity index 99%
rename from docs/assets/props_modes_index.md.H-gBcZzP.js
rename to docs/assets/props_modes_index.md.DTsCdhjY.js
index 11c98d4d..f7c9e021 100644
--- a/docs/assets/props_modes_index.md.H-gBcZzP.js
+++ b/docs/assets/props_modes_index.md.DTsCdhjY.js
@@ -1,4 +1,4 @@
-import{_ as o,D as a,c as y,I as i,am as s,o as c}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),F={name:"props/modes/index.md"},u=s('Modes Set the default mode for the datepicker
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, multiCalendars
as multi-calendars
and so on Info
Depending on the mode, v-model
might be different, so make sure to use the proper configuration
range Range picker mode
Type: boolean | RangeConfig
Default: false
Info
If the RangeConfig
object is provided, range
is auto enabled.
For more info about range
configuration properties, please refer to range
configuration section
',8),m=s(`Code Example vue < template >
+import{_ as o,D as a,c as y,I as i,am as s,o as c}from"./chunks/framework.BKRot_tQ.js";const j=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),F={name:"props/modes/index.md"},u=s('Modes Set the default mode for the datepicker
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, multiCalendars
as multi-calendars
and so on Info
Depending on the mode, v-model
might be different, so make sure to use the proper configuration
range Range picker mode
Type: boolean | RangeConfig
Default: false
Info
If the RangeConfig
object is provided, range
is auto enabled.
For more info about range
configuration properties, please refer to range
configuration section
',8),m=s(`Code Example vue < template >
< VueDatePicker v-model = " date " range />
</ template >
diff --git a/docs/assets/props_modes_index.md.H-gBcZzP.lean.js b/docs/assets/props_modes_index.md.DTsCdhjY.lean.js
similarity index 95%
rename from docs/assets/props_modes_index.md.H-gBcZzP.lean.js
rename to docs/assets/props_modes_index.md.DTsCdhjY.lean.js
index d7a340e2..47344dea 100644
--- a/docs/assets/props_modes_index.md.H-gBcZzP.lean.js
+++ b/docs/assets/props_modes_index.md.DTsCdhjY.lean.js
@@ -1 +1 @@
-import{_ as o,D as a,c as y,I as i,am as s,o as c}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),F={name:"props/modes/index.md"},u=s("",8),m=s("",5),C=s("",4),D=s("",4),A=s("",4),f=s("",4),B=s("",6),_=s("",5),v=s("",5),b=s("",5),T=s("",5),q=s("",5),w=s("",4),P=s("",5),x=s("",5),z=s("",1);function S(I,V,M,N,R,O){const n=a("RangeDemo"),h=a("MonthPickerDemo"),k=a("TimePickerDemo"),e=a("YearPickerDemo"),t=a("EmptyDemo"),p=a("QuarterPickerDemo"),E=a("TextInputDemo"),l=a("GlobalDemo"),d=a("TimezoneDemo"),r=a("DisplayModelDemo"),g=a("TimezoneNewDemo");return c(),y("div",null,[u,i(n),m,i(n,{"multi-calendars":!0}),C,i(h),D,i(k),A,i(e),f,i(t,{"week-picker":!0,placeholder:"Select week"}),B,i(p),_,i(E,{placeholder:"Start Typing ...","text-input":!0}),v,i(l,{inline:!0,"auto-apply":!0}),b,i(t,{"multi-dates":!0,placeholder:"Select Multiple Dates"}),T,i(t,{flow:["month","year","calendar"],placeholder:"Month > Year > Date"}),q,i(d),w,i(l,{vertical:!0}),P,i(r,{"model-auto":!0,range:!0}),x,i(g),z])}const W=o(F,[["render",S]]);export{j as __pageData,W as default};
+import{_ as o,D as a,c as y,I as i,am as s,o as c}from"./chunks/framework.BKRot_tQ.js";const j=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),F={name:"props/modes/index.md"},u=s("",8),m=s("",5),C=s("",4),D=s("",4),A=s("",4),f=s("",4),B=s("",6),_=s("",5),v=s("",5),b=s("",5),T=s("",5),q=s("",5),w=s("",4),P=s("",5),x=s("",5),z=s("",1);function S(I,V,M,N,R,O){const n=a("RangeDemo"),h=a("MonthPickerDemo"),k=a("TimePickerDemo"),e=a("YearPickerDemo"),t=a("EmptyDemo"),p=a("QuarterPickerDemo"),E=a("TextInputDemo"),l=a("GlobalDemo"),d=a("TimezoneDemo"),r=a("DisplayModelDemo"),g=a("TimezoneNewDemo");return c(),y("div",null,[u,i(n),m,i(n,{"multi-calendars":!0}),C,i(h),D,i(k),A,i(e),f,i(t,{"week-picker":!0,placeholder:"Select week"}),B,i(p),_,i(E,{placeholder:"Start Typing ...","text-input":!0}),v,i(l,{inline:!0,"auto-apply":!0}),b,i(t,{"multi-dates":!0,placeholder:"Select Multiple Dates"}),T,i(t,{flow:["month","year","calendar"],placeholder:"Month > Year > Date"}),q,i(d),w,i(l,{vertical:!0}),P,i(r,{"model-auto":!0,range:!0}),x,i(g),z])}const W=o(F,[["render",S]]);export{j as __pageData,W as default};
diff --git a/docs/assets/props_positioning_index.md.YyAjrg37.js b/docs/assets/props_positioning_index.md.CRvumIlI.js
similarity index 99%
rename from docs/assets/props_positioning_index.md.YyAjrg37.js
rename to docs/assets/props_positioning_index.md.CRvumIlI.js
index 2a0b3792..da2e5017 100644
--- a/docs/assets/props_positioning_index.md.YyAjrg37.js
+++ b/docs/assets/props_positioning_index.md.CRvumIlI.js
@@ -1,4 +1,4 @@
-import{_ as t,D as n,c as l,I as a,am as s,o as e}from"./chunks/framework.IJS20kTW.js";const D=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"},p=s('Positioning Configure datepicker menu positioning
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, autoPosition
as auto-position
and so on position Datepicker menu position
Type: 'left' | 'center' | 'right'
Default: 'center'
',6),k=s(`Code Example vue < template >
+import{_ as t,D as n,c as l,I as a,am as s,o as e}from"./chunks/framework.BKRot_tQ.js";const D=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"},p=s('Positioning Configure datepicker menu positioning
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, autoPosition
as auto-position
and so on position Datepicker menu position
Type: 'left' | 'center' | 'right'
Default: 'center'
',6),k=s(`Code Example vue < template >
< VueDatePicker v-model = " date " position = "left" />
</ template >
diff --git a/docs/assets/props_positioning_index.md.YyAjrg37.lean.js b/docs/assets/props_positioning_index.md.CRvumIlI.lean.js
similarity index 92%
rename from docs/assets/props_positioning_index.md.YyAjrg37.lean.js
rename to docs/assets/props_positioning_index.md.CRvumIlI.lean.js
index 7e52856b..c6ef3889 100644
--- a/docs/assets/props_positioning_index.md.YyAjrg37.lean.js
+++ b/docs/assets/props_positioning_index.md.CRvumIlI.lean.js
@@ -1 +1 @@
-import{_ as t,D as n,c as l,I as a,am as s,o as e}from"./chunks/framework.IJS20kTW.js";const D=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"},p=s("",6),k=s("",5),E=s("",4),o=s("",4),r=s("",4),d=s("",1);function g(c,y,u,F,m,_){const i=n("GlobalDemo");return e(),l("div",null,[p,a(i,{position:"left"}),k,a(i,{teleport:!0}),E,a(i,{"alt-position":()=>({top:0,left:0})}),o,a(i,{"auto-position":!1}),r,a(i,{teleportCenter:!0}),d])}const b=t(h,[["render",g]]);export{D as __pageData,b as default};
+import{_ as t,D as n,c as l,I as a,am as s,o as e}from"./chunks/framework.BKRot_tQ.js";const D=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"},p=s("",6),k=s("",5),E=s("",4),o=s("",4),r=s("",4),d=s("",1);function g(c,y,u,F,m,_){const i=n("GlobalDemo");return e(),l("div",null,[p,a(i,{position:"left"}),k,a(i,{teleport:!0}),E,a(i,{"alt-position":()=>({top:0,left:0})}),o,a(i,{"auto-position":!1}),r,a(i,{teleportCenter:!0}),d])}const b=t(h,[["render",g]]);export{D as __pageData,b as default};
diff --git a/docs/assets/props_time-picker-configuration_index.md.CCjnWvEv.js b/docs/assets/props_time-picker-configuration_index.md.D6BhtHUZ.js
similarity index 99%
rename from docs/assets/props_time-picker-configuration_index.md.CCjnWvEv.js
rename to docs/assets/props_time-picker-configuration_index.md.D6BhtHUZ.js
index 4c389c22..4ef03072 100644
--- a/docs/assets/props_time-picker-configuration_index.md.CCjnWvEv.js
+++ b/docs/assets/props_time-picker-configuration_index.md.D6BhtHUZ.js
@@ -1,4 +1,4 @@
-import{_ as h,D as t,c as e,I as i,am as s,o as k}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - Time picker configuration","description":"Configure time-picker behavior","frontmatter":{"lang":"en-US","title":"Props - Time picker configuration","description":"Configure time-picker behavior"},"headers":[],"relativePath":"props/time-picker-configuration/index.md","filePath":"props/time-picker-configuration/index.md"}'),p={name:"props/time-picker-configuration/index.md"},E=s('Time picker configuration Configuration properties for the time picker, applicable whether it is used standalone or with the datepicker.
Info
When checking the examples, for boolean
prop types, the example will show the behavior opposite of what is set for the default value If you use the component in the browser <script>
tag, make sure to pass multi-word props with -
, for example, enableTimePicker
as enable-time-picker
and so on time-picker-inline Configures the time picker to display under the calendar rather than opening it as an overlay.
Type: boolean
Default: false
',6),r=s(`Code Example