diff --git a/docs/404.html b/docs/404.html index d1851d61f..c28c2b135 100644 --- a/docs/404.html +++ b/docs/404.html @@ -6,9 +6,9 @@ 404 | Vue Datepicker - + - + @@ -18,8 +18,8 @@ -
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.

Released under the MIT License.

- +
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.

Released under the MIT License.

+ \ No newline at end of file diff --git a/docs/assets/app.C_Z56bgN.js b/docs/assets/app.DBMVKY4A.js similarity index 95% rename from docs/assets/app.C_Z56bgN.js rename to docs/assets/app.DBMVKY4A.js index 059ea5d91..b00024471 100644 --- a/docs/assets/app.C_Z56bgN.js +++ b/docs/assets/app.DBMVKY4A.js @@ -1 +1 @@ -import{j as o,am as p,an as u,ao as l,ap as c,aq as f,ar as d,as as m,at as h,au as A,av as g,L as v,d as P,u as _,l as w,z as y,aw as R,ax as C,ay as E,ab as b}from"./chunks/framework.B0g_G0if.js";import{R as T}from"./chunks/theme.DXbu-_FL.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(T),S=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=_();return w(()=>{y(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),C(),E(),s.setup&&s.setup(),()=>b(s.Layout)}});async function D(){globalThis.__VITEPRESS__=!0;const e=j(),a=L();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function L(){return h(S)}function j(){let e=o,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(n),[])),o&&(e=!1),r},s.NotFound)}o&&D().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{D as createApp}; +import{j as o,am as p,an as u,ao as l,ap as c,aq as f,ar as d,as as m,at as h,au as A,av as g,L as v,d as P,u as _,l as w,z as y,aw as R,ax as C,ay as E,ab as b}from"./chunks/framework.B0g_G0if.js";import{R as T}from"./chunks/theme.kroa52e1.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(T),S=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=_();return w(()=>{y(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),C(),E(),s.setup&&s.setup(),()=>b(s.Layout)}});async function D(){globalThis.__VITEPRESS__=!0;const e=j(),a=L();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function L(){return h(S)}function j(){let e=o,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(n),[])),o&&(e=!1),r},s.NotFound)}o&&D().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{D as createApp}; diff --git a/docs/assets/chunks/VPAlgoliaSearchBox.xVT6g4p2.js b/docs/assets/chunks/VPAlgoliaSearchBox.CSvPPjLO.js similarity index 99% rename from docs/assets/chunks/VPAlgoliaSearchBox.xVT6g4p2.js rename to docs/assets/chunks/VPAlgoliaSearchBox.CSvPPjLO.js index 71c82a4bc..e3097f776 100644 --- a/docs/assets/chunks/VPAlgoliaSearchBox.xVT6g4p2.js +++ b/docs/assets/chunks/VPAlgoliaSearchBox.CSvPPjLO.js @@ -1,4 +1,4 @@ -import{d as mo,az as po,O as vo,l as ho,y as yo,W as go,o as bo,c as _o}from"./framework.B0g_G0if.js";import{u as Oo}from"./theme.DXbu-_FL.js";/*! @docsearch/js 3.6.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function lr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function I(t){for(var e=1;e=0||(l[u]=a[u]);return l}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function se(t,e){return function(r){if(Array.isArray(r))return r}(t)||function(r,n){var o=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var i,a,c=[],u=!0,s=!1;try{for(o=o.call(r);!(u=(i=o.next()).done)&&(c.push(i.value),!n||c.length!==n);u=!0);}catch(l){s=!0,a=l}finally{try{u||o.return==null||o.return()}finally{if(s)throw a}}return c}}(t,e)||_n(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +import{d as mo,az as po,O as vo,l as ho,y as yo,W as go,o as bo,c as _o}from"./framework.B0g_G0if.js";import{u as Oo}from"./theme.kroa52e1.js";/*! @docsearch/js 3.6.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function lr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),r.push.apply(r,n)}return r}function I(t){for(var e=1;e=0||(l[u]=a[u]);return l}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function se(t,e){return function(r){if(Array.isArray(r))return r}(t)||function(r,n){var o=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(o!=null){var i,a,c=[],u=!0,s=!1;try{for(o=o.call(r);!(u=(i=o.next()).done)&&(c.push(i.value),!n||c.length!==n);u=!0);}catch(l){s=!0,a=l}finally{try{u||o.return==null||o.return()}finally{if(s)throw a}}return c}}(t,e)||_n(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ft(t){return function(e){if(Array.isArray(e))return qt(e)}(t)||function(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}(t)||_n(t)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function _n(t,e){if(t){if(typeof t=="string")return qt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qt(t,e):void 0}}function qt(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r3)for(r=[r],i=3;i0?Ie(v.type,v.props,v.key,null,v.__v):v)!=null){if(v.__=r,v.__b=r.__b+1,(p=b[l])===null||p&&v.key==p.key&&v.type===p.type)b[l]=void 0;else for(m=0;m<_;m++){if((p=b[m])&&v.key==p.key&&v.type===p.type){b[m]=void 0;break}p=null}Yt(t,v,p=p||mt,o,i,a,c,u,s),d=v.__e,(m=v.ref)&&p.ref!=m&&(y||(y=[]),p.ref&&y.push(p.ref,null,v),y.push(m,v.__c||d,v)),d!=null?(h==null&&(h=d),typeof v.type=="function"&&v.__k!=null&&v.__k===p.__k?v.__d=u=Pn(v,u,t):u=In(t,v,p,b,d,u),s||r.type!=="option"?typeof r.type=="function"&&(r.__d=u):t.value=""):u&&p.__e==u&&u.parentNode!=t&&(u=Ke(p))}for(r.__e=h,l=_;l--;)b[l]!=null&&(typeof r.type=="function"&&b[l].__e!=null&&b[l].__e==r.__d&&(r.__d=Ke(n,l+1)),An(b[l],b[l]));if(y)for(l=0;l3)for(r=[r],i=3;i=r.__.length&&r.__.push({}),r.__[t]}function Gt(t){return pe=1,xn(Nn,t)}function xn(t,e,r){var n=Je(de++,2);return n.t=t,n.__c||(n.__=[r?r(e):Nn(void 0,e),function(o){var i=n.t(n.__[0],o);n.__[0]!==i&&(n.__=[i,n.__[1]],n.__c.setState({}))}],n.__c=L),n.__}function Xt(t,e){var r=Je(de++,3);!w.__s&&er(r.__H,e)&&(r.__=t,r.__H=e,L.__H.__h.push(r))}function _r(t,e){var r=Je(de++,4);!w.__s&&er(r.__H,e)&&(r.__=t,r.__H=e,L.__h.push(r))}function Pt(t,e){var r=Je(de++,7);return er(r.__H,e)&&(r.__=t(),r.__H=e,r.__h=t),r.__}function ko(){Ht.forEach(function(t){if(t.__P)try{t.__H.__h.forEach(ut),t.__H.__h.forEach(Ut),t.__H.__h=[]}catch(e){t.__H.__h=[],w.__e(e,t.__v)}}),Ht=[]}w.__b=function(t){L=null,dr&&dr(t)},w.__r=function(t){hr&&hr(t),de=0;var e=(L=t.__c).__H;e&&(e.__h.forEach(ut),e.__h.forEach(Ut),e.__h=[])},w.diffed=function(t){yr&&yr(t);var e=t.__c;e&&e.__H&&e.__H.__h.length&&(Ht.push(e)!==1&&vr===w.requestAnimationFrame||((vr=w.requestAnimationFrame)||function(r){var n,o=function(){clearTimeout(i),Or&&cancelAnimationFrame(n),setTimeout(r)},i=setTimeout(o,100);Or&&(n=requestAnimationFrame(o))})(ko)),L=void 0},w.__c=function(t,e){e.some(function(r){try{r.__h.forEach(ut),r.__h=r.__h.filter(function(n){return!n.__||Ut(n)})}catch(n){e.some(function(o){o.__h&&(o.__h=[])}),e=[],w.__e(n,r.__v)}}),gr&&gr(t,e)},w.unmount=function(t){br&&br(t);var e=t.__c;if(e&&e.__H)try{e.__H.__.forEach(ut)}catch(r){w.__e(r,e.__v)}};var Or=typeof requestAnimationFrame=="function";function ut(t){var e=L;typeof t.__c=="function"&&t.__c(),L=e}function Ut(t){var e=L;t.__c=t.__(),L=e}function er(t,e){return!t||t.length!==e.length||e.some(function(r,n){return r!==t[n]})}function Nn(t,e){return typeof e=="function"?e(t):e}function Tn(t,e){for(var r in e)t[r]=e[r];return t}function Ft(t,e){for(var r in t)if(r!=="__source"&&!(r in e))return!0;for(var n in e)if(n!=="__source"&&t[n]!==e[n])return!0;return!1}function Bt(t){this.props=t}(Bt.prototype=new W).isPureReactComponent=!0,Bt.prototype.shouldComponentUpdate=function(t,e){return Ft(this.props,t)||Ft(this.state,e)};var Sr=w.__b;w.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Sr&&Sr(t)};var Do=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,wr=function(t,e){return t==null?null:$($(t).map(e))},Ao={map:wr,forEach:wr,count:function(t){return t?$(t).length:0},only:function(t){var e=$(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:$},Co=w.__e;function ct(){this.__u=0,this.t=null,this.__b=null}function Rn(t){var e=t.__.__c;return e&&e.__e&&e.__e(t)}function je(){this.u=null,this.o=null}w.__e=function(t,e,r){if(t.then){for(var n,o=e;o=o.__;)if((n=o.__c)&&n.__c)return e.__e==null&&(e.__e=r.__e,e.__k=r.__k),n.__c(t,e)}Co(t,e,r)},(ct.prototype=new W).__c=function(t,e){var r=e.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=Rn(n.__v),i=!1,a=function(){i||(i=!0,r.componentWillUnmount=r.__c,o?o(c):c())};r.__c=r.componentWillUnmount,r.componentWillUnmount=function(){a(),r.__c&&r.__c()};var c=function(){if(!--n.__u){if(n.state.__e){var s=n.state.__e;n.__v.__k[0]=function m(p,v,d){return p&&(p.__v=null,p.__k=p.__k&&p.__k.map(function(h){return m(h,v,d)}),p.__c&&p.__c.__P===v&&(p.__e&&d.insertBefore(p.__e,p.__d),p.__c.__e=!0,p.__c.__P=d)),p}(s,s.__c.__P,s.__c.__O)}var l;for(n.setState({__e:n.__b=null});l=n.t.pop();)l.forceUpdate()}},u=e.__h===!0;n.__u++||u||n.setState({__e:n.__b=n.__v.__k[0]}),t.then(a,a)},ct.prototype.componentWillUnmount=function(){this.t=[]},ct.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=function i(a,c,u){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(s){typeof s.__c=="function"&&s.__c()}),a.__c.__H=null),(a=Tn({},a)).__c!=null&&(a.__c.__P===u&&(a.__c.__P=c),a.__c=null),a.__k=a.__k&&a.__k.map(function(s){return i(s,c,u)})),a}(this.__b,r,n.__O=n.__P)}this.__b=null}var o=e.__e&&K(X,null,t.fallback);return o&&(o.__h=null),[K(X,null,e.__e?null:t.children),o]};var jr=function(t,e,r){if(++r[1]===r[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(r=t.u;r;){for(;r.length>3;)r.pop()();if(r[1]>>1,1),e.i.removeChild(n)}}),We(K(xo,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function Ln(t,e){return K(No,{__v:t,i:e})}(je.prototype=new W).__e=function(t){var e=this,r=Rn(e.__v),n=e.o.get(t);return n[0]++,function(o){var i=function(){e.props.revealOrder?(n.push(o),jr(e,t,n)):o()};r?r(i):i()}},je.prototype.render=function(t){this.u=null,this.o=new Map;var e=$(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var r=e.length;r--;)this.o.set(e[r],this.u=[1,0,this.u]);return t.children},je.prototype.componentDidUpdate=je.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,r){jr(t,r,e)})};var qn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,To=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ro=function(t){return(typeof Symbol<"u"&&Ve(Symbol())=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(t)};function Mn(t,e,r){return e.__k==null&&(e.textContent=""),We(t,e),typeof r=="function"&&r(),t?t.__c:null}W.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(W.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Er=w.event;function Lo(){}function qo(){return this.cancelBubble}function Mo(){return this.defaultPrevented}w.event=function(t){return Er&&(t=Er(t)),t.persist=Lo,t.isPropagationStopped=qo,t.isDefaultPrevented=Mo,t.nativeEvent=t};var Hn,Pr={configurable:!0,get:function(){return this.class}},Ir=w.vnode;w.vnode=function(t){var e=t.type,r=t.props,n=r;if(typeof e=="string"){for(var o in n={},r){var i=r[o];o==="value"&&"defaultValue"in r&&i==null||(o==="defaultValue"&&"value"in r&&r.value==null?o="value":o==="download"&&i===!0?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+e)&&!Ro(r.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():To.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():i===null&&(i=void 0),n[o]=i)}e=="select"&&n.multiple&&Array.isArray(n.value)&&(n.value=$(r.children).forEach(function(a){a.props.selected=n.value.indexOf(a.props.value)!=-1})),e=="select"&&n.defaultValue!=null&&(n.value=$(r.children).forEach(function(a){a.props.selected=n.multiple?n.defaultValue.indexOf(a.props.value)!=-1:n.defaultValue==a.props.value})),t.props=n}e&&r.class!=r.className&&(Pr.enumerable="className"in r,r.className!=null&&(n.class=r.className),Object.defineProperty(n,"className",Pr)),t.$$typeof=qn,Ir&&Ir(t)};var kr=w.__r;w.__r=function(t){kr&&kr(t),Hn=t.__c};var Ho={ReactCurrentDispatcher:{current:{readContext:function(t){return Hn.__n[t.__c].props.value}}}};(typeof performance>"u"?"undefined":Ve(performance))=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);function Dr(t){return!!t&&t.$$typeof===qn}var f={useState:Gt,useReducer:xn,useEffect:Xt,useLayoutEffect:_r,useRef:function(t){return pe=5,Pt(function(){return{current:t}},[])},useImperativeHandle:function(t,e,r){pe=6,_r(function(){typeof t=="function"?t(e()):t&&(t.current=e())},r==null?r:r.concat(t))},useMemo:Pt,useCallback:function(t,e){return pe=8,Pt(function(){return t},e)},useContext:function(t){var e=L.context[t.__c],r=Je(de++,9);return r.__c=t,e?(r.__==null&&(r.__=!0,e.sub(L)),e.props.value):t.__},useDebugValue:function(t,e){w.useDebugValue&&w.useDebugValue(e?e(t):t)},version:"16.8.0",Children:Ao,render:Mn,hydrate:function(t,e,r){return Cn(t,e),typeof r=="function"&&r(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&(We(null,t),!0)},createPortal:Ln,createElement:K,createContext:function(t,e){var r={__c:e="__cC"+Sn++,__:t,Consumer:function(n,o){return n.children(o)},Provider:function(n){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(Mt)},this.sub=function(a){o.push(a);var c=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),c&&c.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r},createFactory:function(t){return K.bind(null,t)},cloneElement:function(t){return Dr(t)?Io.apply(null,arguments):t},createRef:function(){return{current:null}},Fragment:X,isValidElement:Dr,findDOMNode:function(t){return t&&(t.base||t.nodeType===1&&t)||null},Component:W,PureComponent:Bt,memo:function(t,e){function r(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!a:Ft(this.props,o)}function n(o){return this.shouldComponentUpdate=r,K(t,o)}return n.displayName="Memo("+(t.displayName||t.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n},forwardRef:function(t){function e(r,n){var o=Tn({},r);return delete o.ref,t(o,(n=r.ref||n)&&(Ve(n)!="object"||"current"in n)?n:null)}return e.$$typeof=Do,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e},unstable_batchedUpdates:function(t,e){return t(e)},StrictMode:X,Suspense:ct,SuspenseList:je,lazy:function(t){var e,r,n;function o(i){if(e||(e=t()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw e;return K(r,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ho};function Uo(){return f.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},f.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function Un(){return f.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},f.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var Fo=["translations"];function Vt(){return Vt=Object.assign||function(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0||(l[u]=a[u]);return l}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var Vo=f.forwardRef(function(t,e){var r=t.translations,n=r===void 0?{}:r,o=Bo(t,Fo),i=n.buttonText,a=i===void 0?"Search":i,c=n.buttonAriaLabel,u=c===void 0?"Search":c,s=Fn(Gt(null),2),l=s[0],m=s[1];return Xt(function(){typeof navigator<"u"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?m("⌘"):m("Ctrl"))},[]),f.createElement("button",Vt({type:"button",className:"DocSearch DocSearch-Button","aria-label":u},o,{ref:e}),f.createElement("span",{className:"DocSearch-Button-Container"},f.createElement(Un,null),f.createElement("span",{className:"DocSearch-Button-Placeholder"},a)),f.createElement("span",{className:"DocSearch-Button-Keys"},l!==null&&f.createElement(f.Fragment,null,f.createElement(Cr,{reactsToKey:l==="Ctrl"?"Ctrl":"Meta"},l==="Ctrl"?f.createElement(Uo,null):l),f.createElement(Cr,{reactsToKey:"k"},"K"))))});function Cr(t){var e=t.reactsToKey,r=t.children,n=Fn(Gt(!1),2),o=n[0],i=n[1];return Xt(function(){if(e)return window.addEventListener("keydown",a),window.addEventListener("keyup",c),function(){window.removeEventListener("keydown",a),window.removeEventListener("keyup",c)};function a(u){u.key===e&&i(!0)}function c(u){u.key!==e&&u.key!=="Meta"||i(!1)}},[e]),f.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},r)}function Bn(t,e){var r=void 0;return function(){for(var n=arguments.length,o=new Array(n),i=0;i __vite__mapDeps.viteFileDeps[i]) -} -var Cr=Object.defineProperty;var Vr=(e,a,t)=>a in e?Cr(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var ce=(e,a,t)=>(Vr(e,typeof a!="symbol"?a+"":a,t),t);import{d as U,o as u,c as m,r as $,n as ve,a as Ne,t as le,b as re,w as D,T as Et,e as x,_ as pe,u as Ce,i as Or,f as Nr,g as Mn,h as V,j as ya,k as T,l as Ue,m as _,p as s,q as Ze,s as et,v as ra,x as yn,y as ut,z as Ha,A as Qt,B as Do,C as Ir,D as Lr,E as la,F as de,G as be,H as Po,I as Wa,J as G,K as Mo,L as To,M as St,N as So,O as za,P as Oe,Q as qa,R as Rr,S as dt,U as Yr,V as Er,W as ht,X as xo,Y as Br,Z as Ao,$ as Co,a0 as Pe,a1 as Fr,a2 as Ye,a3 as Gt,a4 as Sa,a5 as Da,a6 as rt,a7 as Ke,a8 as it,a9 as to,aa as Hr,ab as Wr,ac as ao,ad as zr,ae as ca,af as La,ag as qr,ah as Ur,ai as Vt,aj as jr,ak as Qr}from"./framework.B0g_G0if.js";const Gr=U({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(a,t)=>(u(),m("span",{class:ve(["VPBadge",a.type])},[$(a.$slots,"default",{},()=>[Ne(le(a.text),1)])],2))}}),Xr={key:0,class:"VPBackdrop"},Jr=U({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(a,t)=>(u(),re(Et,{name:"fade"},{default:D(()=>[a.show?(u(),m("div",Xr)):x("",!0)]),_:1}))}}),Kr=pe(Jr,[["__scopeId","data-v-c79a1216"]]),xe=Ce;function Zr(e,a){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(e,a):(e(),(n=!0)&&setTimeout(()=>n=!1,a))}}function gn(e){return/^\//.test(e)?e:`/${e}`}function Tn(e){const{pathname:a,search:t,hash:n,protocol:o}=new URL(e,"http://a.com");if(Or(e)||e.startsWith("#")||!o.startsWith("http")||!Nr(a))return e;const{site:r}=xe(),l=a.endsWith("/")||a.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${a.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return Mn(l)}const Sn=V(ya?location.hash:"");ya&&window.addEventListener("hashchange",()=>{Sn.value=location.hash});function xa({removeCurrent:e=!0,correspondingLink:a=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=xe(),l=T(()=>{var c,y;return{label:(c=t.value.locales[n.value])==null?void 0:c.label,link:((y=t.value.locales[n.value])==null?void 0:y.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:T(()=>Object.entries(t.value.locales).flatMap(([c,y])=>e&&l.value.label===y.label?[]:{text:y.label,link:el(y.link||(c==="root"?"/":`/${c}/`),r.value.i18nRouting!==!1&&a,o.value.relativePath.slice(l.value.link.length-1),!t.value.cleanUrls)+Sn.value})),currentLang:l}}function el(e,a,t,n){return a?e.replace(/\/$/,"")+gn(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const tl=e=>(Ze("data-v-f87ff6e4"),e=e(),et(),e),al={class:"NotFound"},nl={class:"code"},ol={class:"title"},rl=tl(()=>_("div",{class:"divider"},null,-1)),ll={class:"quote"},sl={class:"action"},il=["href","aria-label"],ul=U({__name:"NotFound",setup(e){const{site:a,theme:t}=xe(),{localeLinks:n}=xa({removeCurrent:!1}),o=V("/");return Ue(()=>{var l;const r=window.location.pathname.replace(a.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((l=n.value.find(({link:i})=>i.startsWith(r)))==null?void 0:l.link)||n.value[0].link)}),(r,l)=>{var i,c,y,h,v;return u(),m("div",al,[_("p",nl,le(((i=s(t).notFound)==null?void 0:i.code)??"404"),1),_("h1",ol,le(((c=s(t).notFound)==null?void 0:c.title)??"PAGE NOT FOUND"),1),rl,_("blockquote",ll,le(((y=s(t).notFound)==null?void 0:y.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),_("div",sl,[_("a",{class:"link",href:s(Mn)(o.value),"aria-label":((h=s(t).notFound)==null?void 0:h.linkLabel)??"go to home"},le(((v=s(t).notFound)==null?void 0:v.linkText)??"Take me home"),9,il)])])}}}),dl=pe(ul,[["__scopeId","data-v-f87ff6e4"]]);function Vo(e,a){if(Array.isArray(e))return Ra(e);if(e==null)return[];a=gn(a);const t=Object.keys(e).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>a.startsWith(gn(o))),n=t?e[t]:[];return Array.isArray(n)?Ra(n):Ra(n.items,n.base)}function cl(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 ml(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 _n(e,a){return Array.isArray(a)?a.some(t=>_n(e,t)):ra(e,a.link)?!0:a.items?_n(e,a.items):!1}function Ra(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=Ra(n.items,o)),n})}function Bt(){const{frontmatter:e,page:a,theme:t}=xe(),n=yn("(min-width: 960px)"),o=V(!1),r=T(()=>{const S=t.value.sidebar,L=a.value.relativePath;return S?Vo(S,L):[]}),l=V(r.value);ut(r,(S,L)=>{JSON.stringify(S)!==JSON.stringify(L)&&(l.value=r.value)});const i=T(()=>e.value.sidebar!==!1&&l.value.length>0&&e.value.layout!=="home"),c=T(()=>y?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),y=T(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),h=T(()=>i.value&&n.value),v=T(()=>i.value?cl(l.value):[]);function p(){o.value=!0}function b(){o.value=!1}function w(){o.value?b():p()}return{isOpen:o,sidebar:l,sidebarGroups:v,hasSidebar:i,hasAside:y,leftAside:c,isSidebarEnabled:h,open:p,close:b,toggle:w}}function vl(e,a){let t;Ha(()=>{t=e.value?document.activeElement:void 0}),Ue(()=>{window.addEventListener("keyup",n)}),Qt(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&e.value&&(a(),t==null||t.focus())}}function pl(e){const{page:a}=xe(),t=V(!1),n=T(()=>e.value.collapsed!=null),o=T(()=>!!e.value.link),r=V(!1),l=()=>{r.value=ra(a.value.relativePath,e.value.link)};ut([a,e,Sn],l),Ue(l);const i=T(()=>r.value?!0:e.value.items?_n(a.value.relativePath,e.value.items):!1),c=T(()=>!!(e.value.items&&e.value.items.length));Ha(()=>{t.value=!!(n.value&&e.value.collapsed)}),Do(()=>{(r.value||i.value)&&(t.value=!1)});function y(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:i,hasChildren:c,toggle:y}}function fl(){const{hasSidebar:e}=Bt(),a=yn("(min-width: 960px)"),t=yn("(min-width: 1280px)");return{isAsideEnabled:T(()=>!t.value&&!a.value?!1:e.value?t.value:a.value)}}const bn=[];function Oo(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function xn(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:hl(t),link:"#"+t.id,level:n}});return yl(a,e)}function hl(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 yl(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),bn.length=0;for(const{element:l,link:i}of e)bn.push({element:l,link:i});const r=[];e:for(let l=0;l=0;c--){const y=e[c];if(y.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),Ir(()=>{l(location.hash)}),Qt(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const i=window.scrollY,c=window.innerHeight,y=document.body.offsetHeight,h=Math.abs(i+c-y)<1,v=bn.map(({element:b,link:w})=>({link:w,top:_l(b)})).filter(({top:b})=>!Number.isNaN(b)).sort((b,w)=>b.top-w.top);if(!v.length){l(null);return}if(i<1){l(null);return}if(h){l(v[v.length-1].link);return}let p=null;for(const{link:b,top:w}of v){if(w>i+Lr()+4)break;p=b}l(p)}function l(i){o&&o.classList.remove("active"),i==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(i)}"]`);const c=o;c?(c.classList.add("active"),a.value.style.top=c.offsetTop+39+"px",a.value.style.opacity="1"):(a.value.style.top="33px",a.value.style.opacity="0")}}function _l(e){let a=0;for(;e!==document.body;){if(e===null)return NaN;a+=e.offsetTop,e=e.offsetParent}return a}const bl=["href","title"],kl=U({__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=la("VPDocOutlineItem",!0);return u(),m("ul",{class:ve(["VPDocOutlineItem",t.root?"root":"nested"])},[(u(!0),m(de,null,be(t.headers,({children:r,link:l,title:i})=>(u(),m("li",null,[_("a",{class:"outline-link",href:l,onClick:a,title:i},le(i),9,bl),r!=null&&r.length?(u(),re(o,{key:0,headers:r},null,8,["headers"])):x("",!0)]))),256))],2)}}}),No=pe(kl,[["__scopeId","data-v-b933a997"]]),wl=e=>(Ze("data-v-935f8a84"),e=e(),et(),e),$l={class:"content"},Dl={class:"outline-title",role:"heading","aria-level":"2"},Pl={"aria-labelledby":"doc-outline-aria-label"},Ml=wl(()=>_("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Tl=U({__name:"VPDocAsideOutline",setup(e){const{frontmatter:a,theme:t}=xe(),n=Po([]);Wa(()=>{n.value=xn(a.value.outline??t.value.outline)});const o=V(),r=V();return gl(o,r),(l,i)=>(u(),m("div",{class:ve(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[_("div",$l,[_("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),_("div",Dl,le(s(Oo)(s(t))),1),_("nav",Pl,[Ml,G(No,{headers:n.value,root:!0},null,8,["headers"])])])],2))}}),Sl=pe(Tl,[["__scopeId","data-v-935f8a84"]]),xl={class:"VPDocAsideCarbonAds"},Al=U({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const a=Mo(()=>To(()=>import("./ui-custom.CFpAEw_0.js"),__vite__mapDeps([0,1])));return(t,n)=>(u(),m("div",xl,[G(s(a),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Cl=e=>(Ze("data-v-3f215769"),e=e(),et(),e),Vl={class:"VPDocAside"},Ol=Cl(()=>_("div",{class:"spacer"},null,-1)),Nl=U({__name:"VPDocAside",setup(e){const{theme:a}=xe();return(t,n)=>(u(),m("div",Vl,[$(t.$slots,"aside-top",{},void 0,!0),$(t.$slots,"aside-outline-before",{},void 0,!0),G(Sl),$(t.$slots,"aside-outline-after",{},void 0,!0),Ol,$(t.$slots,"aside-ads-before",{},void 0,!0),s(a).carbonAds?(u(),re(Al,{key:0,"carbon-ads":s(a).carbonAds},null,8,["carbon-ads"])):x("",!0),$(t.$slots,"aside-ads-after",{},void 0,!0),$(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Il=pe(Nl,[["__scopeId","data-v-3f215769"]]);function Ll(){const{theme:e,page:a}=xe();return T(()=>{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 Rl(){const{page:e,theme:a,frontmatter:t}=xe();return T(()=>{var y,h,v,p,b,w,S,L;const n=Vo(a.value.sidebar,e.value.relativePath),o=ml(n),r=Yl(o,ee=>ee.link.replace(/[?#].*$/,"")),l=r.findIndex(ee=>ra(e.value.relativePath,ee.link)),i=((y=a.value.docFooter)==null?void 0:y.prev)===!1&&!t.value.prev||t.value.prev===!1,c=((h=a.value.docFooter)==null?void 0:h.next)===!1&&!t.value.next||t.value.next===!1;return{prev:i?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((v=r[l-1])==null?void 0:v.docFooterText)??((p=r[l-1])==null?void 0:p.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((b=r[l-1])==null?void 0:b.link)},next:c?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((w=r[l+1])==null?void 0:w.docFooterText)??((S=r[l+1])==null?void 0:S.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((L=r[l+1])==null?void 0:L.link)}}})}function Yl(e,a){const t=new Set;return e.filter(n=>{const o=a(n);return t.has(o)?!1:t.add(o)})}const xt=U({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const a=e,t=T(()=>a.tag??(a.href?"a":"span")),n=T(()=>a.href&&So.test(a.href));return(o,r)=>(u(),re(St(t.value),{class:ve(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?s(Tn)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:D(()=>[$(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),El={class:"VPLastUpdated"},Bl=["datetime"],Fl=U({__name:"VPDocFooterLastUpdated",setup(e){const{theme:a,page:t,frontmatter:n,lang:o}=xe(),r=T(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),l=T(()=>r.value.toISOString()),i=V("");return Ue(()=>{Ha(()=>{var c,y,h;i.value=new Intl.DateTimeFormat((y=(c=a.value.lastUpdated)==null?void 0:c.formatOptions)!=null&&y.forceLocale?o.value:void 0,((h=a.value.lastUpdated)==null?void 0:h.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(c,y)=>{var h;return u(),m("p",El,[Ne(le(((h=s(a).lastUpdated)==null?void 0:h.text)||s(a).lastUpdatedText||"Last updated")+": ",1),_("time",{datetime:l.value},le(i.value),9,Bl)])}}}),Hl=pe(Fl,[["__scopeId","data-v-7e05ebdb"]]),Wl=e=>(Ze("data-v-09de1c0f"),e=e(),et(),e),zl={key:0,class:"VPDocFooter"},ql={key:0,class:"edit-info"},Ul={key:0,class:"edit-link"},jl=Wl(()=>_("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Ql={key:1,class:"last-updated"},Gl={key:1,class:"prev-next"},Xl={class:"pager"},Jl=["innerHTML"],Kl=["innerHTML"],Zl={class:"pager"},es=["innerHTML"],ts=["innerHTML"],as=U({__name:"VPDocFooter",setup(e){const{theme:a,page:t,frontmatter:n}=xe(),o=Ll(),r=Rl(),l=T(()=>a.value.editLink&&n.value.editLink!==!1),i=T(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),c=T(()=>l.value||i.value||r.value.prev||r.value.next);return(y,h)=>{var v,p,b,w;return c.value?(u(),m("footer",zl,[$(y.$slots,"doc-footer-before",{},void 0,!0),l.value||i.value?(u(),m("div",ql,[l.value?(u(),m("div",Ul,[G(xt,{class:"edit-link-button",href:s(o).url,"no-icon":!0},{default:D(()=>[jl,Ne(" "+le(s(o).text),1)]),_:1},8,["href"])])):x("",!0),i.value?(u(),m("div",Ql,[G(Hl)])):x("",!0)])):x("",!0),(v=s(r).prev)!=null&&v.link||(p=s(r).next)!=null&&p.link?(u(),m("nav",Gl,[_("div",Xl,[(b=s(r).prev)!=null&&b.link?(u(),re(xt,{key:0,class:"pager-link prev",href:s(r).prev.link},{default:D(()=>{var S;return[_("span",{class:"desc",innerHTML:((S=s(a).docFooter)==null?void 0:S.prev)||"Previous page"},null,8,Jl),_("span",{class:"title",innerHTML:s(r).prev.text},null,8,Kl)]}),_:1},8,["href"])):x("",!0)]),_("div",Zl,[(w=s(r).next)!=null&&w.link?(u(),re(xt,{key:0,class:"pager-link next",href:s(r).next.link},{default:D(()=>{var S;return[_("span",{class:"desc",innerHTML:((S=s(a).docFooter)==null?void 0:S.next)||"Next page"},null,8,es),_("span",{class:"title",innerHTML:s(r).next.text},null,8,ts)]}),_:1},8,["href"])):x("",!0)])])):x("",!0)])):x("",!0)}}}),ns=pe(as,[["__scopeId","data-v-09de1c0f"]]),os=e=>(Ze("data-v-39a288b8"),e=e(),et(),e),rs={class:"container"},ls=os(()=>_("div",{class:"aside-curtain"},null,-1)),ss={class:"aside-container"},is={class:"aside-content"},us={class:"content"},ds={class:"content-container"},cs={class:"main"},ms=U({__name:"VPDoc",setup(e){const{theme:a}=xe(),t=za(),{hasSidebar:n,hasAside:o,leftAside:r}=Bt(),l=T(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(i,c)=>{const y=la("Content");return u(),m("div",{class:ve(["VPDoc",{"has-sidebar":s(n),"has-aside":s(o)}])},[$(i.$slots,"doc-top",{},void 0,!0),_("div",rs,[s(o)?(u(),m("div",{key:0,class:ve(["aside",{"left-aside":s(r)}])},[ls,_("div",ss,[_("div",is,[G(Il,null,{"aside-top":D(()=>[$(i.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":D(()=>[$(i.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":D(()=>[$(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":D(()=>[$(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":D(()=>[$(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":D(()=>[$(i.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):x("",!0),_("div",us,[_("div",ds,[$(i.$slots,"doc-before",{},void 0,!0),_("main",cs,[G(y,{class:ve(["vp-doc",[l.value,s(a).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),G(ns,null,{"doc-footer-before":D(()=>[$(i.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),$(i.$slots,"doc-after",{},void 0,!0)])])]),$(i.$slots,"doc-bottom",{},void 0,!0)],2)}}}),vs=pe(ms,[["__scopeId","data-v-39a288b8"]]),ps=U({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const a=e,t=T(()=>a.href&&So.test(a.href)),n=T(()=>a.tag||a.href?"a":"button");return(o,r)=>(u(),re(St(n.value),{class:ve(["VPButton",[o.size,o.theme]]),href:o.href?s(Tn)(o.href):void 0,target:a.target??(t.value?"_blank":void 0),rel:a.rel??(t.value?"noreferrer":void 0)},{default:D(()=>[Ne(le(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),fs=pe(ps,[["__scopeId","data-v-cad61b99"]]),hs=["src","alt"],ys=U({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(a,t)=>{const n=la("VPImage",!0);return a.image?(u(),m(de,{key:0},[typeof a.image=="string"||"src"in a.image?(u(),m("img",Oe({key:0,class:"VPImage"},typeof a.image=="string"?a.$attrs:{...a.image,...a.$attrs},{src:s(Mn)(typeof a.image=="string"?a.image:a.image.src),alt:a.alt??(typeof a.image=="string"?"":a.image.alt||"")}),null,16,hs)):(u(),m(de,{key:1},[G(n,Oe({class:"dark",image:a.image.dark,alt:a.image.alt},a.$attrs),null,16,["image","alt"]),G(n,Oe({class:"light",image:a.image.light,alt:a.image.alt},a.$attrs),null,16,["image","alt"])],64))],64)):x("",!0)}}}),Ya=pe(ys,[["__scopeId","data-v-8426fc1a"]]),gs=e=>(Ze("data-v-303bb580"),e=e(),et(),e),_s={class:"container"},bs={class:"main"},ks={key:0,class:"name"},ws=["innerHTML"],$s=["innerHTML"],Ds=["innerHTML"],Ps={key:0,class:"actions"},Ms={key:0,class:"image"},Ts={class:"image-container"},Ss=gs(()=>_("div",{class:"image-bg"},null,-1)),xs=U({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const a=qa("hero-image-slot-exists");return(t,n)=>(u(),m("div",{class:ve(["VPHero",{"has-image":t.image||s(a)}])},[_("div",_s,[_("div",bs,[$(t.$slots,"home-hero-info-before",{},void 0,!0),$(t.$slots,"home-hero-info",{},()=>[t.name?(u(),m("h1",ks,[_("span",{innerHTML:t.name,class:"clip"},null,8,ws)])):x("",!0),t.text?(u(),m("p",{key:1,innerHTML:t.text,class:"text"},null,8,$s)):x("",!0),t.tagline?(u(),m("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Ds)):x("",!0)],!0),$(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(u(),m("div",Ps,[(u(!0),m(de,null,be(t.actions,o=>(u(),m("div",{key:o.link,class:"action"},[G(fs,{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))])):x("",!0),$(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||s(a)?(u(),m("div",Ms,[_("div",Ts,[Ss,$(t.$slots,"home-hero-image",{},()=>[t.image?(u(),re(Ya,{key:0,class:"image-src",image:t.image},null,8,["image"])):x("",!0)],!0)])])):x("",!0)])],2))}}),As=pe(xs,[["__scopeId","data-v-303bb580"]]),Cs=U({__name:"VPHomeHero",setup(e){const{frontmatter:a}=xe();return(t,n)=>s(a).hero?(u(),re(As,{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":D(()=>[$(t.$slots,"home-hero-info-before")]),"home-hero-info":D(()=>[$(t.$slots,"home-hero-info")]),"home-hero-info-after":D(()=>[$(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":D(()=>[$(t.$slots,"home-hero-actions-after")]),"home-hero-image":D(()=>[$(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):x("",!0)}}),Vs=e=>(Ze("data-v-a3976bdc"),e=e(),et(),e),Os={class:"box"},Ns={key:0,class:"icon"},Is=["innerHTML"],Ls=["innerHTML"],Rs=["innerHTML"],Ys={key:4,class:"link-text"},Es={class:"link-text-value"},Bs=Vs(()=>_("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Fs=U({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(a,t)=>(u(),re(xt,{class:"VPFeature",href:a.link,rel:a.rel,target:a.target,"no-icon":!0,tag:a.link?"a":"div"},{default:D(()=>[_("article",Os,[typeof a.icon=="object"&&a.icon.wrap?(u(),m("div",Ns,[G(Ya,{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"?(u(),re(Ya,{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?(u(),m("div",{key:2,class:"icon",innerHTML:a.icon},null,8,Is)):x("",!0),_("h2",{class:"title",innerHTML:a.title},null,8,Ls),a.details?(u(),m("p",{key:3,class:"details",innerHTML:a.details},null,8,Rs)):x("",!0),a.linkText?(u(),m("div",Ys,[_("p",Es,[Ne(le(a.linkText)+" ",1),Bs])])):x("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Hs=pe(Fs,[["__scopeId","data-v-a3976bdc"]]),Ws={key:0,class:"VPFeatures"},zs={class:"container"},qs={class:"items"},Us=U({__name:"VPFeatures",props:{features:{}},setup(e){const a=e,t=T(()=>{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?(u(),m("div",Ws,[_("div",zs,[_("div",qs,[(u(!0),m(de,null,be(n.features,r=>(u(),m("div",{key:r.title,class:ve(["item",[t.value]])},[G(Hs,{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))])])])):x("",!0)}}),js=pe(Us,[["__scopeId","data-v-a6181336"]]),Qs=U({__name:"VPHomeFeatures",setup(e){const{frontmatter:a}=xe();return(t,n)=>s(a).features?(u(),re(js,{key:0,class:"VPHomeFeatures",features:s(a).features},null,8,["features"])):x("",!0)}}),Gs=U({__name:"VPHomeContent",setup(e){const{width:a}=Rr({includeScrollbar:!1});return(t,n)=>(u(),m("div",{class:"vp-doc container",style:dt(s(a)?{"--vp-offset":`calc(50% - ${s(a)/2}px)`}:{})},[$(t.$slots,"default",{},void 0,!0)],4))}}),Xs=pe(Gs,[["__scopeId","data-v-82d4af08"]]),Js={class:"VPHome"},Ks=U({__name:"VPHome",setup(e){const{frontmatter:a}=xe();return(t,n)=>{const o=la("Content");return u(),m("div",Js,[$(t.$slots,"home-hero-before",{},void 0,!0),G(Cs,null,{"home-hero-info-before":D(()=>[$(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":D(()=>[$(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":D(()=>[$(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":D(()=>[$(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":D(()=>[$(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),$(t.$slots,"home-hero-after",{},void 0,!0),$(t.$slots,"home-features-before",{},void 0,!0),G(Qs),$(t.$slots,"home-features-after",{},void 0,!0),s(a).markdownStyles!==!1?(u(),re(Xs,{key:0},{default:D(()=>[G(o)]),_:1})):(u(),re(o,{key:1}))])}}}),Zs=pe(Ks,[["__scopeId","data-v-686f80a6"]]),ei={},ti={class:"VPPage"};function ai(e,a){const t=la("Content");return u(),m("div",ti,[$(e.$slots,"page-top"),G(t),$(e.$slots,"page-bottom")])}const ni=pe(ei,[["render",ai]]),oi=U({__name:"VPContent",setup(e){const{page:a,frontmatter:t}=xe(),{hasSidebar:n}=Bt();return(o,r)=>(u(),m("div",{class:ve(["VPContent",{"has-sidebar":s(n),"is-home":s(t).layout==="home"}]),id:"VPContent"},[s(a).isNotFound?$(o.$slots,"not-found",{key:0},()=>[G(dl)],!0):s(t).layout==="page"?(u(),re(ni,{key:1},{"page-top":D(()=>[$(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":D(()=>[$(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):s(t).layout==="home"?(u(),re(Zs,{key:2},{"home-hero-before":D(()=>[$(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":D(()=>[$(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":D(()=>[$(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":D(()=>[$(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":D(()=>[$(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":D(()=>[$(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":D(()=>[$(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":D(()=>[$(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":D(()=>[$(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):s(t).layout&&s(t).layout!=="doc"?(u(),re(St(s(t).layout),{key:3})):(u(),re(vs,{key:4},{"doc-top":D(()=>[$(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":D(()=>[$(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":D(()=>[$(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":D(()=>[$(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":D(()=>[$(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":D(()=>[$(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":D(()=>[$(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":D(()=>[$(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":D(()=>[$(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":D(()=>[$(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":D(()=>[$(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),ri=pe(oi,[["__scopeId","data-v-1428d186"]]),li={class:"container"},si=["innerHTML"],ii=["innerHTML"],ui=U({__name:"VPFooter",setup(e){const{theme:a,frontmatter:t}=xe(),{hasSidebar:n}=Bt();return(o,r)=>s(a).footer&&s(t).footer!==!1?(u(),m("footer",{key:0,class:ve(["VPFooter",{"has-sidebar":s(n)}])},[_("div",li,[s(a).footer.message?(u(),m("p",{key:0,class:"message",innerHTML:s(a).footer.message},null,8,si)):x("",!0),s(a).footer.copyright?(u(),m("p",{key:1,class:"copyright",innerHTML:s(a).footer.copyright},null,8,ii)):x("",!0)])],2)):x("",!0)}}),di=pe(ui,[["__scopeId","data-v-e315a0ad"]]);function ci(){const{theme:e,frontmatter:a}=xe(),t=Po([]),n=T(()=>t.value.length>0);return Wa(()=>{t.value=xn(a.value.outline??e.value.outline)}),{headers:t,hasLocalNav:n}}const mi=e=>(Ze("data-v-d2ecc192"),e=e(),et(),e),vi=mi(()=>_("span",{class:"vpi-chevron-right icon"},null,-1)),pi={class:"header"},fi={class:"outline"},hi=U({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const a=e,{theme:t}=xe(),n=V(!1),o=V(0),r=V(),l=V();Yr(r,()=>{n.value=!1}),Er("Escape",()=>{n.value=!1}),Wa(()=>{n.value=!1});function i(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-a.navHeight,0)}function c(h){h.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),ht(()=>{n.value=!1}))}function y(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(h,v)=>(u(),m("div",{class:"VPLocalNavOutlineDropdown",style:dt({"--vp-vh":o.value+"px"}),ref_key:"main",ref:r},[h.headers.length>0?(u(),m("button",{key:0,onClick:i,class:ve({open:n.value})},[Ne(le(s(Oo)(s(t)))+" ",1),vi],2)):(u(),m("button",{key:1,onClick:y},le(s(t).returnToTopLabel||"Return to top"),1)),G(Et,{name:"flyout"},{default:D(()=>[n.value?(u(),m("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:c},[_("div",pi,[_("a",{class:"top-link",href:"#",onClick:y},le(s(t).returnToTopLabel||"Return to top"),1)]),_("div",fi,[G(No,{headers:h.headers},null,8,["headers"])])],512)):x("",!0)]),_:1})],4))}}),yi=pe(hi,[["__scopeId","data-v-d2ecc192"]]),gi=e=>(Ze("data-v-a6f0e41e"),e=e(),et(),e),_i={class:"container"},bi=["aria-expanded"],ki=gi(()=>_("span",{class:"vpi-align-left menu-icon"},null,-1)),wi={class:"menu-text"},$i=U({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:a,frontmatter:t}=xe(),{hasSidebar:n}=Bt(),{headers:o}=ci(),{y:r}=xo(),l=V(0);Ue(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Wa(()=>{o.value=xn(t.value.outline??a.value.outline)});const i=T(()=>o.value.length===0),c=T(()=>i.value&&!n.value),y=T(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:i.value,fixed:c.value}));return(h,v)=>s(t).layout!=="home"&&(!c.value||s(r)>=l.value)?(u(),m("div",{key:0,class:ve(y.value)},[_("div",_i,[s(n)?(u(),m("button",{key:0,class:"menu","aria-expanded":h.open,"aria-controls":"VPSidebarNav",onClick:v[0]||(v[0]=p=>h.$emit("open-menu"))},[ki,_("span",wi,le(s(a).sidebarMenuLabel||"Menu"),1)],8,bi)):x("",!0),G(yi,{headers:s(o),navHeight:l.value},null,8,["headers","navHeight"])])],2)):x("",!0)}}),Di=pe($i,[["__scopeId","data-v-a6f0e41e"]]);function Pi(){const e=V(!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=za();return ut(()=>r.path,t),{isScreenOpen:e,openScreen:a,closeScreen:t,toggleScreen:n}}const Mi={},Ti={class:"VPSwitch",type:"button",role:"switch"},Si={class:"check"},xi={key:0,class:"icon"};function Ai(e,a){return u(),m("button",Ti,[_("span",Si,[e.$slots.default?(u(),m("span",xi,[$(e.$slots,"default",{},void 0,!0)])):x("",!0)])])}const Ci=pe(Mi,[["render",Ai],["__scopeId","data-v-1d5665e3"]]),Io=e=>(Ze("data-v-d1f28634"),e=e(),et(),e),Vi=Io(()=>_("span",{class:"vpi-sun sun"},null,-1)),Oi=Io(()=>_("span",{class:"vpi-moon moon"},null,-1)),Ni=U({__name:"VPSwitchAppearance",setup(e){const{isDark:a,theme:t}=xe(),n=qa("toggle-appearance",()=>{a.value=!a.value}),o=T(()=>a.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme");return(r,l)=>(u(),re(Ci,{title:o.value,class:"VPSwitchAppearance","aria-checked":s(a),onClick:s(n)},{default:D(()=>[Vi,Oi]),_:1},8,["title","aria-checked","onClick"]))}}),An=pe(Ni,[["__scopeId","data-v-d1f28634"]]),Ii={key:0,class:"VPNavBarAppearance"},Li=U({__name:"VPNavBarAppearance",setup(e){const{site:a}=xe();return(t,n)=>s(a).appearance&&s(a).appearance!=="force-dark"?(u(),m("div",Ii,[G(An)])):x("",!0)}}),Ri=pe(Li,[["__scopeId","data-v-e6aabb21"]]),Cn=V();let Lo=!1,on=0;function Yi(e){const a=V(!1);if(ya){!Lo&&Ei(),on++;const t=ut(Cn,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))});Qt(()=>{t(),on--,on||Bi()})}return Br(a)}function Ei(){document.addEventListener("focusin",Ro),Lo=!0,Cn.value=document.activeElement}function Bi(){document.removeEventListener("focusin",Ro)}function Ro(){Cn.value=document.activeElement}const Fi={class:"VPMenuLink"},Hi=U({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:a}=xe();return(t,n)=>(u(),m("div",Fi,[G(xt,{class:ve({active:s(ra)(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:D(()=>[Ne(le(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Ua=pe(Hi,[["__scopeId","data-v-43f1e123"]]),Wi={class:"VPMenuGroup"},zi={key:0,class:"title"},qi=U({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(a,t)=>(u(),m("div",Wi,[a.text?(u(),m("p",zi,le(a.text),1)):x("",!0),(u(!0),m(de,null,be(a.items,n=>(u(),m(de,null,["link"in n?(u(),re(Ua,{key:0,item:n},null,8,["item"])):x("",!0)],64))),256))]))}}),Ui=pe(qi,[["__scopeId","data-v-69e747b5"]]),ji={class:"VPMenu"},Qi={key:0,class:"items"},Gi=U({__name:"VPMenu",props:{items:{}},setup(e){return(a,t)=>(u(),m("div",ji,[a.items?(u(),m("div",Qi,[(u(!0),m(de,null,be(a.items,n=>(u(),m(de,{key:n.text},["link"in n?(u(),re(Ua,{key:0,item:n},null,8,["item"])):(u(),re(Ui,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):x("",!0),$(a.$slots,"default",{},void 0,!0)]))}}),Xi=pe(Gi,[["__scopeId","data-v-e7ea1737"]]),Ji=e=>(Ze("data-v-b6c34ac9"),e=e(),et(),e),Ki=["aria-expanded","aria-label"],Zi={key:0,class:"text"},eu=["innerHTML"],tu=Ji(()=>_("span",{class:"vpi-chevron-down text-icon"},null,-1)),au={key:1,class:"vpi-more-horizontal icon"},nu={class:"menu"},ou=U({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const a=V(!1),t=V();Yi({el:t,onBlur:n});function n(){a.value=!1}return(o,r)=>(u(),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)},[_("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?(u(),m("span",Zi,[o.icon?(u(),m("span",{key:0,class:ve([o.icon,"option-icon"])},null,2)):x("",!0),o.button?(u(),m("span",{key:1,innerHTML:o.button},null,8,eu)):x("",!0),tu])):(u(),m("span",au))],8,Ki),_("div",nu,[G(Xi,{items:o.items},{default:D(()=>[$(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Vn=pe(ou,[["__scopeId","data-v-b6c34ac9"]]),ru=["href","aria-label","innerHTML"],lu=U({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const a=e,t=T(()=>typeof a.icon=="object"?a.icon.svg:``);return(n,o)=>(u(),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,ru))}}),su=pe(lu,[["__scopeId","data-v-eee4e7cb"]]),iu={class:"VPSocialLinks"},uu=U({__name:"VPSocialLinks",props:{links:{}},setup(e){return(a,t)=>(u(),m("div",iu,[(u(!0),m(de,null,be(a.links,({link:n,icon:o,ariaLabel:r})=>(u(),re(su,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),On=pe(uu,[["__scopeId","data-v-7bc22406"]]),du={key:0,class:"group translations"},cu={class:"trans-title"},mu={key:1,class:"group"},vu={class:"item appearance"},pu={class:"label"},fu={class:"appearance-action"},hu={key:2,class:"group"},yu={class:"item social-links"},gu=U({__name:"VPNavBarExtra",setup(e){const{site:a,theme:t}=xe(),{localeLinks:n,currentLang:o}=xa({correspondingLink:!0}),r=T(()=>n.value.length&&o.value.label||a.value.appearance||t.value.socialLinks);return(l,i)=>r.value?(u(),re(Vn,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:D(()=>[s(n).length&&s(o).label?(u(),m("div",du,[_("p",cu,le(s(o).label),1),(u(!0),m(de,null,be(s(n),c=>(u(),re(Ua,{key:c.link,item:c},null,8,["item"]))),128))])):x("",!0),s(a).appearance&&s(a).appearance!=="force-dark"?(u(),m("div",mu,[_("div",vu,[_("p",pu,le(s(t).darkModeSwitchLabel||"Appearance"),1),_("div",fu,[G(An)])])])):x("",!0),s(t).socialLinks?(u(),m("div",hu,[_("div",yu,[G(On,{class:"social-links-list",links:s(t).socialLinks},null,8,["links"])])])):x("",!0)]),_:1})):x("",!0)}}),_u=pe(gu,[["__scopeId","data-v-d0bd9dde"]]),bu=e=>(Ze("data-v-e5dd9c1c"),e=e(),et(),e),ku=["aria-expanded"],wu=bu(()=>_("span",{class:"container"},[_("span",{class:"top"}),_("span",{class:"middle"}),_("span",{class:"bottom"})],-1)),$u=[wu],Du=U({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(a,t)=>(u(),m("button",{type:"button",class:ve(["VPNavBarHamburger",{active:a.active}]),"aria-label":"mobile navigation","aria-expanded":a.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>a.$emit("click"))},$u,10,ku))}}),Pu=pe(Du,[["__scopeId","data-v-e5dd9c1c"]]),Mu=["innerHTML"],Tu=U({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:a}=xe();return(t,n)=>(u(),re(xt,{class:ve({VPNavBarMenuLink:!0,active:s(ra)(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:D(()=>[_("span",{innerHTML:t.item.text},null,8,Mu)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Su=pe(Tu,[["__scopeId","data-v-9c663999"]]),xu=U({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const a=e,{page:t}=xe(),n=r=>"link"in r?ra(t.value.relativePath,r.link,!!a.item.activeMatch):r.items.some(n),o=T(()=>n(a.item));return(r,l)=>(u(),re(Vn,{class:ve({VPNavBarMenuGroup:!0,active:s(ra)(s(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Au=e=>(Ze("data-v-7f418b0f"),e=e(),et(),e),Cu={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Vu=Au(()=>_("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Ou=U({__name:"VPNavBarMenu",setup(e){const{theme:a}=xe();return(t,n)=>s(a).nav?(u(),m("nav",Cu,[Vu,(u(!0),m(de,null,be(s(a).nav,o=>(u(),m(de,{key:o.text},["link"in o?(u(),re(Su,{key:0,item:o},null,8,["item"])):(u(),re(xu,{key:1,item:o},null,8,["item"]))],64))),128))])):x("",!0)}}),Nu=pe(Ou,[["__scopeId","data-v-7f418b0f"]]);function Iu(e){const{localeIndex:a,theme:t}=xe();function n(o){var w,S,L;const r=o.split("."),l=(w=t.value.search)==null?void 0:w.options,i=l&&typeof l=="object",c=i&&((L=(S=l.locales)==null?void 0:S[a.value])==null?void 0:L.translations)||null,y=i&&l.translations||null;let h=c,v=y,p=e;const b=r.pop();for(const ee of r){let W=null;const C=p==null?void 0:p[ee];C&&(W=p=C);const E=v==null?void 0:v[ee];E&&(W=v=E);const X=h==null?void 0:h[ee];X&&(W=h=X),C||(p=W),E||(v=W),X||(h=W)}return(h==null?void 0:h[b])??(v==null?void 0:v[b])??(p==null?void 0:p[b])??""}return n}const Lu=["aria-label"],Ru={class:"DocSearch-Button-Container"},Yu=_("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Eu={class:"DocSearch-Button-Placeholder"},Bu=_("span",{class:"DocSearch-Button-Keys"},[_("kbd",{class:"DocSearch-Button-Key"}),_("kbd",{class:"DocSearch-Button-Key"},"K")],-1),no=U({__name:"VPNavBarSearchButton",setup(e){const t=Iu({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,o)=>(u(),m("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":s(t)("button.buttonAriaLabel")},[_("span",Ru,[Yu,_("span",Eu,le(s(t)("button.buttonText")),1)]),Bu],8,Lu))}}),Fu={class:"VPNavBarSearch"},Hu={id:"local-search"},Wu={key:1,id:"docsearch"},zu=U({__name:"VPNavBarSearch",setup(e){const a=()=>null,t=Mo(()=>To(()=>import("./VPAlgoliaSearchBox.xVT6g4p2.js"),__vite__mapDeps([2,1]))),{theme:n}=xe(),o=V(!1),r=V(!1),l=()=>{const p="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{var S;const w=document.createElement("link");w.id=p,w.rel="preconnect",w.href=`https://${(((S=n.value.search)==null?void 0:S.options)??n.value.algolia).appId}-dsn.algolia.net`,w.crossOrigin="",document.head.appendChild(w)})};Ue(()=>{l();const p=w=>{(w.key.toLowerCase()==="k"&&(w.metaKey||w.ctrlKey)||!y(w)&&w.key==="/")&&(w.preventDefault(),i(),b())},b=()=>{window.removeEventListener("keydown",p)};window.addEventListener("keydown",p),Qt(b)});function i(){o.value||(o.value=!0,setTimeout(c,16))}function c(){const p=new Event("keydown");p.key="k",p.metaKey=!0,window.dispatchEvent(p),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||c()},16)}function y(p){const b=p.target,w=b.tagName;return b.isContentEditable||w==="INPUT"||w==="SELECT"||w==="TEXTAREA"}const h=V(!1),v="algolia";return(p,b)=>{var w;return u(),m("div",Fu,[s(v)==="local"?(u(),m(de,{key:0},[h.value?(u(),re(s(a),{key:0,onClose:b[0]||(b[0]=S=>h.value=!1)})):x("",!0),_("div",Hu,[G(no,{onClick:b[1]||(b[1]=S=>h.value=!0)})])],64)):s(v)==="algolia"?(u(),m(de,{key:1},[o.value?(u(),re(s(t),{key:0,algolia:((w=s(n).search)==null?void 0:w.options)??s(n).algolia,onVnodeBeforeMount:b[2]||(b[2]=S=>r.value=!0)},null,8,["algolia"])):x("",!0),r.value?x("",!0):(u(),m("div",Wu,[G(no,{onClick:i})]))],64)):x("",!0)])}}}),qu=U({__name:"VPNavBarSocialLinks",setup(e){const{theme:a}=xe();return(t,n)=>s(a).socialLinks?(u(),re(On,{key:0,class:"VPNavBarSocialLinks",links:s(a).socialLinks},null,8,["links"])):x("",!0)}}),Uu=pe(qu,[["__scopeId","data-v-0394ad82"]]),ju=["href","rel","target"],Qu={key:1},Gu={key:2},Xu=U({__name:"VPNavBarTitle",setup(e){const{site:a,theme:t}=xe(),{hasSidebar:n}=Bt(),{currentLang:o}=xa(),r=T(()=>{var c;return typeof t.value.logoLink=="string"?t.value.logoLink:(c=t.value.logoLink)==null?void 0:c.link}),l=T(()=>{var c;return typeof t.value.logoLink=="string"||(c=t.value.logoLink)==null?void 0:c.rel}),i=T(()=>{var c;return typeof t.value.logoLink=="string"||(c=t.value.logoLink)==null?void 0:c.target});return(c,y)=>(u(),m("div",{class:ve(["VPNavBarTitle",{"has-sidebar":s(n)}])},[_("a",{class:"title",href:r.value??s(Tn)(s(o).link),rel:l.value,target:i.value},[$(c.$slots,"nav-bar-title-before",{},void 0,!0),s(t).logo?(u(),re(Ya,{key:0,class:"logo",image:s(t).logo},null,8,["image"])):x("",!0),s(t).siteTitle?(u(),m("span",Qu,le(s(t).siteTitle),1)):s(t).siteTitle===void 0?(u(),m("span",Gu,le(s(a).title),1)):x("",!0),$(c.$slots,"nav-bar-title-after",{},void 0,!0)],8,ju)],2))}}),Ju=pe(Xu,[["__scopeId","data-v-ab179fa1"]]),Ku={class:"items"},Zu={class:"title"},ed=U({__name:"VPNavBarTranslations",setup(e){const{theme:a}=xe(),{localeLinks:t,currentLang:n}=xa({correspondingLink:!0});return(o,r)=>s(t).length&&s(n).label?(u(),re(Vn,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:s(a).langMenuLabel||"Change language"},{default:D(()=>[_("div",Ku,[_("p",Zu,le(s(n).label),1),(u(!0),m(de,null,be(s(t),l=>(u(),re(Ua,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):x("",!0)}}),td=pe(ed,[["__scopeId","data-v-88af2de4"]]),ad=e=>(Ze("data-v-ccf7ddec"),e=e(),et(),e),nd={class:"wrapper"},od={class:"container"},rd={class:"title"},ld={class:"content"},sd={class:"content-body"},id=ad(()=>_("div",{class:"divider"},[_("div",{class:"divider-line"})],-1)),ud=U({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:a}=xo(),{hasSidebar:t}=Bt(),{frontmatter:n}=xe(),o=V({});return Do(()=>{o.value={"has-sidebar":t.value,home:n.value.layout==="home",top:a.value===0}}),(r,l)=>(u(),m("div",{class:ve(["VPNavBar",o.value])},[_("div",nd,[_("div",od,[_("div",rd,[G(Ju,null,{"nav-bar-title-before":D(()=>[$(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":D(()=>[$(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),_("div",ld,[_("div",sd,[$(r.$slots,"nav-bar-content-before",{},void 0,!0),G(zu,{class:"search"}),G(Nu,{class:"menu"}),G(td,{class:"translations"}),G(Ri,{class:"appearance"}),G(Uu,{class:"social-links"}),G(_u,{class:"extra"}),$(r.$slots,"nav-bar-content-after",{},void 0,!0),G(Pu,{class:"hamburger",active:r.isScreenOpen,onClick:l[0]||(l[0]=i=>r.$emit("toggle-screen"))},null,8,["active"])])])])]),id],2))}}),dd=pe(ud,[["__scopeId","data-v-ccf7ddec"]]),cd={key:0,class:"VPNavScreenAppearance"},md={class:"text"},vd=U({__name:"VPNavScreenAppearance",setup(e){const{site:a,theme:t}=xe();return(n,o)=>s(a).appearance&&s(a).appearance!=="force-dark"?(u(),m("div",cd,[_("p",md,le(s(t).darkModeSwitchLabel||"Appearance"),1),G(An)])):x("",!0)}}),pd=pe(vd,[["__scopeId","data-v-2d7af913"]]),fd=U({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const a=qa("close-screen");return(t,n)=>(u(),re(xt,{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"]))}}),hd=pe(fd,[["__scopeId","data-v-7f31e1f6"]]),yd=U({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const a=qa("close-screen");return(t,n)=>(u(),re(xt,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:s(a)},{default:D(()=>[Ne(le(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Yo=pe(yd,[["__scopeId","data-v-19976ae1"]]),gd={class:"VPNavScreenMenuGroupSection"},_d={key:0,class:"title"},bd=U({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(a,t)=>(u(),m("div",gd,[a.text?(u(),m("p",_d,le(a.text),1)):x("",!0),(u(!0),m(de,null,be(a.items,n=>(u(),re(Yo,{key:n.text,item:n},null,8,["item"]))),128))]))}}),kd=pe(bd,[["__scopeId","data-v-8133b170"]]),wd=e=>(Ze("data-v-ff6087d4"),e=e(),et(),e),$d=["aria-controls","aria-expanded"],Dd=["innerHTML"],Pd=wd(()=>_("span",{class:"vpi-plus button-icon"},null,-1)),Md=["id"],Td={key:1,class:"group"},Sd=U({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const a=e,t=V(!1),n=T(()=>`NavScreenGroup-${a.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,l)=>(u(),m("div",{class:ve(["VPNavScreenMenuGroup",{open:t.value}])},[_("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[_("span",{class:"button-text",innerHTML:r.text},null,8,Dd),Pd],8,$d),_("div",{id:n.value,class:"items"},[(u(!0),m(de,null,be(r.items,i=>(u(),m(de,{key:i.text},["link"in i?(u(),m("div",{key:i.text,class:"item"},[G(Yo,{item:i},null,8,["item"])])):(u(),m("div",Td,[G(kd,{text:i.text,items:i.items},null,8,["text","items"])]))],64))),128))],8,Md)],2))}}),xd=pe(Sd,[["__scopeId","data-v-ff6087d4"]]),Ad={key:0,class:"VPNavScreenMenu"},Cd=U({__name:"VPNavScreenMenu",setup(e){const{theme:a}=xe();return(t,n)=>s(a).nav?(u(),m("nav",Ad,[(u(!0),m(de,null,be(s(a).nav,o=>(u(),m(de,{key:o.text},["link"in o?(u(),re(hd,{key:0,item:o},null,8,["item"])):(u(),re(xd,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):x("",!0)}}),Vd=U({__name:"VPNavScreenSocialLinks",setup(e){const{theme:a}=xe();return(t,n)=>s(a).socialLinks?(u(),re(On,{key:0,class:"VPNavScreenSocialLinks",links:s(a).socialLinks},null,8,["links"])):x("",!0)}}),Eo=e=>(Ze("data-v-858fe1a4"),e=e(),et(),e),Od=Eo(()=>_("span",{class:"vpi-languages icon lang"},null,-1)),Nd=Eo(()=>_("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Id={class:"list"},Ld=U({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:a,currentLang:t}=xa({correspondingLink:!0}),n=V(!1);function o(){n.value=!n.value}return(r,l)=>s(a).length&&s(t).label?(u(),m("div",{key:0,class:ve(["VPNavScreenTranslations",{open:n.value}])},[_("button",{class:"title",onClick:o},[Od,Ne(" "+le(s(t).label)+" ",1),Nd]),_("ul",Id,[(u(!0),m(de,null,be(s(a),i=>(u(),m("li",{key:i.link,class:"item"},[G(xt,{class:"link",href:i.link},{default:D(()=>[Ne(le(i.text),1)]),_:2},1032,["href"])]))),128))])],2)):x("",!0)}}),Rd=pe(Ld,[["__scopeId","data-v-858fe1a4"]]),Yd={class:"container"},Ed=U({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const a=V(null),t=Ao(ya?document.body:null);return(n,o)=>(u(),re(Et,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:D(()=>[n.open?(u(),m("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:a,id:"VPNavScreen"},[_("div",Yd,[$(n.$slots,"nav-screen-content-before",{},void 0,!0),G(Cd,{class:"menu"}),G(Rd,{class:"translations"}),G(pd,{class:"appearance"}),G(Vd,{class:"social-links"}),$(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):x("",!0)]),_:3}))}}),Bd=pe(Ed,[["__scopeId","data-v-cc5739dd"]]),Fd={key:0,class:"VPNav"},Hd=U({__name:"VPNav",setup(e){const{isScreenOpen:a,closeScreen:t,toggleScreen:n}=Pi(),{frontmatter:o}=xe(),r=T(()=>o.value.navbar!==!1);return Co("close-screen",t),Ha(()=>{ya&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,i)=>r.value?(u(),m("header",Fd,[G(dd,{"is-screen-open":s(a),onToggleScreen:s(n)},{"nav-bar-title-before":D(()=>[$(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":D(()=>[$(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":D(()=>[$(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":D(()=>[$(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),G(Bd,{open:s(a)},{"nav-screen-content-before":D(()=>[$(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":D(()=>[$(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):x("",!0)}}),Wd=pe(Hd,[["__scopeId","data-v-ae24b3ad"]]),Bo=e=>(Ze("data-v-b8d55f3b"),e=e(),et(),e),zd=["role","tabindex"],qd=Bo(()=>_("div",{class:"indicator"},null,-1)),Ud=Bo(()=>_("span",{class:"vpi-chevron-right caret-icon"},null,-1)),jd=[Ud],Qd={key:1,class:"items"},Gd=U({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const a=e,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:l,hasChildren:i,toggle:c}=pl(T(()=>a.item)),y=T(()=>i.value?"section":"div"),h=T(()=>o.value?"a":"div"),v=T(()=>i.value?a.depth+2===7?"p":`h${a.depth+2}`:"p"),p=T(()=>o.value?void 0:"button"),b=T(()=>[[`level-${a.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":l.value}]);function w(L){"key"in L&&L.key!=="Enter"||!a.item.link&&c()}function S(){a.item.link&&c()}return(L,ee)=>{const W=la("VPSidebarItem",!0);return u(),re(St(y.value),{class:ve(["VPSidebarItem",b.value])},{default:D(()=>[L.item.text?(u(),m("div",Oe({key:0,class:"item",role:p.value},Fr(L.item.items?{click:w,keydown:w}:{},!0),{tabindex:L.item.items&&0}),[qd,L.item.link?(u(),re(xt,{key:0,tag:h.value,class:"link",href:L.item.link,rel:L.item.rel,target:L.item.target},{default:D(()=>[(u(),re(St(v.value),{class:"text",innerHTML:L.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(u(),re(St(v.value),{key:1,class:"text",innerHTML:L.item.text},null,8,["innerHTML"])),L.item.collapsed!=null&&L.item.items&&L.item.items.length?(u(),m("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:S,onKeydown:Pe(S,["enter"]),tabindex:"0"},jd,32)):x("",!0)],16,zd)):x("",!0),L.item.items&&L.item.items.length?(u(),m("div",Qd,[L.depth<5?(u(!0),m(de,{key:0},be(L.item.items,C=>(u(),re(W,{key:C.text,item:C,depth:L.depth+1},null,8,["item","depth"]))),128)):x("",!0)])):x("",!0)]),_:1},8,["class"])}}}),Xd=pe(Gd,[["__scopeId","data-v-b8d55f3b"]]),Fo=e=>(Ze("data-v-575e6a36"),e=e(),et(),e),Jd=Fo(()=>_("div",{class:"curtain"},null,-1)),Kd={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Zd=Fo(()=>_("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ec=U({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:a,hasSidebar:t}=Bt(),n=e,o=V(null),r=Ao(ya?document.body:null);return ut([n,o],()=>{var l;n.open?(r.value=!0,(l=o.value)==null||l.focus()):r.value=!1},{immediate:!0,flush:"post"}),(l,i)=>s(t)?(u(),m("aside",{key:0,class:ve(["VPSidebar",{open:l.open}]),ref_key:"navEl",ref:o,onClick:i[0]||(i[0]=Ye(()=>{},["stop"]))},[Jd,_("nav",Kd,[Zd,$(l.$slots,"sidebar-nav-before",{},void 0,!0),(u(!0),m(de,null,be(s(a),c=>(u(),m("div",{key:c.text,class:"group"},[G(Xd,{item:c,depth:0},null,8,["item"])]))),128)),$(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):x("",!0)}}),tc=pe(ec,[["__scopeId","data-v-575e6a36"]]),ac=U({__name:"VPSkipLink",setup(e){const a=za(),t=V();ut(()=>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)=>(u(),m(de,null,[_("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),_("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),nc=pe(ac,[["__scopeId","data-v-0f60ec36"]]),oc=U({__name:"Layout",setup(e){const{isOpen:a,open:t,close:n}=Bt(),o=za();ut(()=>o.path,n),vl(a,n);const{frontmatter:r}=xe(),l=Gt(),i=T(()=>!!l["home-hero-image"]);return Co("hero-image-slot-exists",i),(c,y)=>{const h=la("Content");return s(r).layout!==!1?(u(),m("div",{key:0,class:ve(["Layout",s(r).pageClass])},[$(c.$slots,"layout-top",{},void 0,!0),G(nc),G(Kr,{class:"backdrop",show:s(a),onClick:s(n)},null,8,["show","onClick"]),G(Wd,null,{"nav-bar-title-before":D(()=>[$(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":D(()=>[$(c.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":D(()=>[$(c.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":D(()=>[$(c.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":D(()=>[$(c.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":D(()=>[$(c.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),G(Di,{open:s(a),onOpenMenu:s(t)},null,8,["open","onOpenMenu"]),G(tc,{open:s(a)},{"sidebar-nav-before":D(()=>[$(c.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":D(()=>[$(c.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),G(ri,null,{"page-top":D(()=>[$(c.$slots,"page-top",{},void 0,!0)]),"page-bottom":D(()=>[$(c.$slots,"page-bottom",{},void 0,!0)]),"not-found":D(()=>[$(c.$slots,"not-found",{},void 0,!0)]),"home-hero-before":D(()=>[$(c.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":D(()=>[$(c.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":D(()=>[$(c.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":D(()=>[$(c.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":D(()=>[$(c.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":D(()=>[$(c.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":D(()=>[$(c.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":D(()=>[$(c.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":D(()=>[$(c.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":D(()=>[$(c.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":D(()=>[$(c.$slots,"doc-before",{},void 0,!0)]),"doc-after":D(()=>[$(c.$slots,"doc-after",{},void 0,!0)]),"doc-top":D(()=>[$(c.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":D(()=>[$(c.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":D(()=>[$(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":D(()=>[$(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":D(()=>[$(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":D(()=>[$(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":D(()=>[$(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":D(()=>[$(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),G(di),$(c.$slots,"layout-bottom",{},void 0,!0)],2)):(u(),re(h,{key:1}))}}}),rc=pe(oc,[["__scopeId","data-v-5d98c3a5"]]),lc={Layout:rc,enhanceApp:({app:e})=>{e.component("Badge",Gr)}},sc={},ic={class:"star-and-sponsor"},uc=_("p",null,[Ne(" ⭐ If you like the component, give it a star on "),_("a",{class:"home-link",href:"https://github.com/Vuepic/vue-datepicker",target:"_blank"},"GitHub"),Ne(" and consider "),_("a",{class:"home-link",href:"https://github.com/sponsors/Vuepic",target:"_blank"},"sponsoring"),Ne(" its development! ⭐ ")],-1),dc=[uc];function cc(e,a){return u(),m("div",ic,dc)}const mc=pe(sc,[["render",cc]]);function fe(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 Le(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function Ge(e,a){const t=fe(e);return isNaN(a)?Le(e,NaN):(a&&t.setDate(t.getDate()+a),t)}function mt(e,a){const t=fe(e);if(isNaN(a))return Le(e,NaN);if(!a)return t;const n=t.getDate(),o=Le(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 Ho(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:i=0,seconds:c=0}=a,y=fe(e),h=n||t?mt(y,n+t*12):y,v=r||o?Ge(h,r+o*7):h,p=i+l*60,w=(c+p*60)*1e3;return Le(e,v.getTime()+w)}function vc(e,a){const t=+fe(e);return Le(e,t+a)}const Wo=6048e5,pc=864e5,fc=6e4,zo=36e5,hc=1e3;function yc(e,a){return vc(e,a*zo)}let gc={};function sa(){return gc}function Ct(e,a){var i,c,y,h;const t=sa(),n=(a==null?void 0:a.weekStartsOn)??((c=(i=a==null?void 0:a.locale)==null?void 0:i.options)==null?void 0:c.weekStartsOn)??t.weekStartsOn??((h=(y=t.locale)==null?void 0:y.options)==null?void 0:h.weekStartsOn)??0,o=fe(e),r=o.getDay(),l=(r=o.getTime()?t+1:a.getTime()>=l.getTime()?t:t-1}function oo(e){const a=fe(e);return a.setHours(0,0,0,0),a}function Ea(e){const a=fe(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 Uo(e,a){const t=oo(e),n=oo(a),o=+t-Ea(t),r=+n-Ea(n);return Math.round((o-r)/pc)}function _c(e){const a=qo(e),t=Le(e,0);return t.setFullYear(a,0,4),t.setHours(0,0,0,0),va(t)}function bc(e,a){const t=a*3;return mt(e,t)}function Nn(e,a){return mt(e,a*12)}function jo(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function wa(e){if(!jo(e)&&typeof e!="number")return!1;const a=fe(e);return!isNaN(Number(a))}function ro(e){const a=fe(e);return Math.trunc(a.getMonth()/3)+1}function lo(e){const a=fe(e),t=a.getMonth();return a.setFullYear(a.getFullYear(),t+1,0),a.setHours(23,59,59,999),a}function Qo(e,a){const t=fe(e.start),n=fe(e.end);let o=+t>+n;const r=o?+t:+n,l=o?n:t;l.setHours(0,0,0,0);let i=(a==null?void 0:a.step)??1;if(!i)return[];i<0&&(i=-i,o=!o);const c=[];for(;+l<=r;)c.push(fe(l)),l.setDate(l.getDate()+i),l.setHours(0,0,0,0);return o?c.reverse():c}function zt(e){const a=fe(e),t=a.getMonth(),n=t-t%3;return a.setMonth(n,1),a.setHours(0,0,0,0),a}function kc(e,a){const t=fe(e.start),n=fe(e.end);let o=+t>+n;const r=o?+zt(t):+zt(n);let l=zt(o?n:t),i=(a==null?void 0:a.step)??1;if(!i)return[];i<0&&(i=-i,o=!o);const c=[];for(;+l<=r;)c.push(fe(l)),l=bc(l,i);return o?c.reverse():c}function so(e){const a=fe(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Go(e){const a=fe(e),t=a.getFullYear();return a.setFullYear(t+1,0,0),a.setHours(23,59,59,999),a}function In(e){const a=fe(e),t=Le(e,0);return t.setFullYear(a.getFullYear(),0,1),t.setHours(0,0,0,0),t}function wc(e,a){var i,c,y,h;const t=sa(),n=(a==null?void 0:a.weekStartsOn)??((c=(i=a==null?void 0:a.locale)==null?void 0:i.options)==null?void 0:c.weekStartsOn)??t.weekStartsOn??((h=(y=t.locale)==null?void 0:y.options)==null?void 0:h.weekStartsOn)??0,o=fe(e),r=o.getDay(),l=(r{let n;const o=$c[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 ma(e){return(a={})=>{const t=a.width?String(a.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Pc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Mc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Tc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Sc={date:ma({formats:Pc,defaultWidth:"full"}),time:ma({formats:Mc,defaultWidth:"full"}),dateTime:ma({formats:Tc,defaultWidth:"full"})},xc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ac=(e,a,t,n)=>xc[e];function $t(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,i=t!=null&&t.width?String(t.width):l;o=e.formattingValues[i]||e.formattingValues[l]}else{const l=e.defaultWidth,i=t!=null&&t.width?String(t.width):e.defaultWidth;o=e.values[i]||e.values[l]}const r=e.argumentCallback?e.argumentCallback(a):a;return o[r]}}const Cc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Vc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Oc={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"]},Nc={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"]},Ic={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"}},Lc={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"}},Rc=(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"},Yc={ordinalNumber:Rc,era:$t({values:Cc,defaultWidth:"wide"}),quarter:$t({values:Vc,defaultWidth:"wide",argumentCallback:e=>e-1}),month:$t({values:Oc,defaultWidth:"wide"}),day:$t({values:Nc,defaultWidth:"wide"}),dayPeriod:$t({values:Ic,defaultWidth:"wide",formattingValues:Lc,defaultFormattingWidth:"wide"})};function Dt(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],i=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(i)?Bc(i,v=>v.test(l)):Ec(i,v=>v.test(l));let y;y=e.valueCallback?e.valueCallback(c):c,y=t.valueCallback?t.valueCallback(y):y;const h=a.slice(l.length);return{value:y,rest:h}}}function Ec(e,a){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&a(e[t]))return t}function Bc(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 i=a.slice(o.length);return{value:l,rest:i}}}const Fc=/^(\d+)(th|st|nd|rd)?/i,Hc=/\d+/i,Wc={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},zc={any:[/^b/i,/^(a|c)/i]},qc={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Uc={any:[/1/i,/2/i,/3/i,/4/i]},jc={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},Qc={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]},Gc={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},Xc={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]},Jc={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},Kc={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}},Zc={ordinalNumber:Xo({matchPattern:Fc,parsePattern:Hc,valueCallback:e=>parseInt(e,10)}),era:Dt({matchPatterns:Wc,defaultMatchWidth:"wide",parsePatterns:zc,defaultParseWidth:"any"}),quarter:Dt({matchPatterns:qc,defaultMatchWidth:"wide",parsePatterns:Uc,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Dt({matchPatterns:jc,defaultMatchWidth:"wide",parsePatterns:Qc,defaultParseWidth:"any"}),day:Dt({matchPatterns:Gc,defaultMatchWidth:"wide",parsePatterns:Xc,defaultParseWidth:"any"}),dayPeriod:Dt({matchPatterns:Jc,defaultMatchWidth:"any",parsePatterns:Kc,defaultParseWidth:"any"})},Jo={code:"en-US",formatDistance:Dc,formatLong:Sc,formatRelative:Ac,localize:Yc,match:Zc,options:{weekStartsOn:0,firstWeekContainsDate:1}};function em(e){const a=fe(e);return Uo(a,In(a))+1}function Ln(e){const a=fe(e),t=+va(a)-+_c(a);return Math.round(t/Wo)+1}function Rn(e,a){var h,v,p,b;const t=fe(e),n=t.getFullYear(),o=sa(),r=(a==null?void 0:a.firstWeekContainsDate)??((v=(h=a==null?void 0:a.locale)==null?void 0:h.options)==null?void 0:v.firstWeekContainsDate)??o.firstWeekContainsDate??((b=(p=o.locale)==null?void 0:p.options)==null?void 0:b.firstWeekContainsDate)??1,l=Le(e,0);l.setFullYear(n+1,0,r),l.setHours(0,0,0,0);const i=Ct(l,a),c=Le(e,0);c.setFullYear(n,0,r),c.setHours(0,0,0,0);const y=Ct(c,a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=y.getTime()?n:n-1}function tm(e,a){var i,c,y,h;const t=sa(),n=(a==null?void 0:a.firstWeekContainsDate)??((c=(i=a==null?void 0:a.locale)==null?void 0:i.options)==null?void 0:c.firstWeekContainsDate)??t.firstWeekContainsDate??((h=(y=t.locale)==null?void 0:y.options)==null?void 0:h.firstWeekContainsDate)??1,o=Rn(e,a),r=Le(e,0);return r.setFullYear(o,0,n),r.setHours(0,0,0,0),Ct(r,a)}function Yn(e,a){const t=fe(e),n=+Ct(t,a)-+tm(t,a);return Math.round(n/Wo)+1}function Ee(e,a){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(a,"0");return t+n}const Ht={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)}},ia={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},uo={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 Ht.y(e,a)},Y:function(e,a,t,n){const o=Rn(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=qo(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 Ht.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=Yn(e,n);return a==="wo"?t.ordinalNumber(o,{unit:"week"}):Ee(o,a.length)},I:function(e,a,t){const n=Ln(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"}):Ht.d(e,a)},D:function(e,a,t){const n=em(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=ia.noon:n===0?o=ia.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=ia.evening:n>=12?o=ia.afternoon:n>=4?o=ia.morning:o=ia.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 Ht.h(e,a)},H:function(e,a,t){return a==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Ht.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"}):Ht.m(e,a)},s:function(e,a,t){return a==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Ht.s(e,a)},S:function(e,a){return Ht.S(e,a)},X:function(e,a,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(a){case"X":return mo(n);case"XXXX":case"XX":return ea(n);case"XXXXX":case"XXX":default:return ea(n,":")}},x:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"x":return mo(n);case"xxxx":case"xx":return ea(n);case"xxxxx":case"xxx":default:return ea(n,":")}},O:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+co(n,":");case"OOOO":default:return"GMT"+ea(n,":")}},z:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+co(n,":");case"zzzz":default:return"GMT"+ea(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 co(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 mo(e,a){return e%60===0?(e>0?"-":"+")+Ee(Math.abs(e)/60,2):ea(e,a)}function ea(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 vo=(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"})}},Ko=(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"})}},am=(e,a)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],o=t[2];if(!o)return vo(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}}",vo(n,a)).replace("{{time}}",Ko(o,a))},kn={p:Ko,P:am},nm=/^D+$/,om=/^Y+$/,rm=["D","DD","YY","YYYY"];function Zo(e){return nm.test(e)}function er(e){return om.test(e)}function wn(e,a,t){const n=lm(e,a,t);if(console.warn(n),rm.includes(e))throw new RangeError(n)}function lm(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 sm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,im=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,um=/^'([^]*?)'?$/,dm=/''/g,cm=/[a-zA-Z]/;function ft(e,a,t){var h,v,p,b,w,S,L,ee;const n=sa(),o=(t==null?void 0:t.locale)??n.locale??Jo,r=(t==null?void 0:t.firstWeekContainsDate)??((v=(h=t==null?void 0:t.locale)==null?void 0:h.options)==null?void 0:v.firstWeekContainsDate)??n.firstWeekContainsDate??((b=(p=n.locale)==null?void 0:p.options)==null?void 0:b.firstWeekContainsDate)??1,l=(t==null?void 0:t.weekStartsOn)??((S=(w=t==null?void 0:t.locale)==null?void 0:w.options)==null?void 0:S.weekStartsOn)??n.weekStartsOn??((ee=(L=n.locale)==null?void 0:L.options)==null?void 0:ee.weekStartsOn)??0,i=fe(e);if(!wa(i))throw new RangeError("Invalid time value");let c=a.match(im).map(W=>{const C=W[0];if(C==="p"||C==="P"){const E=kn[C];return E(W,o.formatLong)}return W}).join("").match(sm).map(W=>{if(W==="''")return{isToken:!1,value:"'"};const C=W[0];if(C==="'")return{isToken:!1,value:mm(W)};if(uo[C])return{isToken:!0,value:W};if(C.match(cm))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");return{isToken:!1,value:W}});o.localize.preprocessor&&(c=o.localize.preprocessor(i,c));const y={firstWeekContainsDate:r,weekStartsOn:l,locale:o};return c.map(W=>{if(!W.isToken)return W.value;const C=W.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&er(C)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&Zo(C))&&wn(C,a,String(e));const E=uo[C[0]];return E(i,C,o.localize,y)}).join("")}function mm(e){const a=e.match(um);return a?a[1].replace(dm,"'"):e}function vm(e){return fe(e).getDay()}function pm(e){const a=fe(e),t=a.getFullYear(),n=a.getMonth(),o=Le(e,0);return o.setFullYear(t,n+1,0),o.setHours(0,0,0,0),o.getDate()}function fm(){return Object.assign({},sa())}function _t(e){return fe(e).getHours()}function hm(e){let t=fe(e).getDay();return t===0&&(t=7),t}function At(e){return fe(e).getMinutes()}function Te(e){return fe(e).getMonth()}function pa(e){return fe(e).getSeconds()}function De(e){return fe(e).getFullYear()}function Pa(e,a){const t=fe(e),n=fe(a);return t.getTime()>n.getTime()}function Ma(e,a){const t=fe(e),n=fe(a);return+t<+n}function aa(e,a){const t=fe(e),n=fe(a);return+t==+n}function ym(e,a){const t=a instanceof Date?Le(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 gm=10;class tr{constructor(){ce(this,"subPriority",0)}validate(a,t){return!0}}class _m extends tr{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 bm extends tr{constructor(){super(...arguments);ce(this,"priority",gm);ce(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:Le(t,ym(t,Date))}}class Re{run(a,t,n,o){const r=this.parse(a,t,n,o);return r?{setter:new _m(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(a,t,n){return!0}}class km extends Re{constructor(){super(...arguments);ce(this,"priority",140);ce(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 Xe={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}/},Pt={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 Je(e,a){return e&&{value:a(e.value),rest:e.rest}}function He(e,a){const t=a.match(e);return t?{value:parseInt(t[0],10),rest:a.slice(t[0].length)}:null}function Mt(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*zo+r*fc+l*hc),rest:a.slice(t[0].length)}}function ar(e){return He(Xe.anyDigitsSigned,e)}function qe(e,a){switch(e){case 1:return He(Xe.singleDigit,a);case 2:return He(Xe.twoDigits,a);case 3:return He(Xe.threeDigits,a);case 4:return He(Xe.fourDigits,a);default:return He(new RegExp("^\\d{1,"+e+"}"),a)}}function Ba(e,a){switch(e){case 1:return He(Xe.singleDigitSigned,a);case 2:return He(Xe.twoDigitsSigned,a);case 3:return He(Xe.threeDigitsSigned,a);case 4:return He(Xe.fourDigitsSigned,a);default:return He(new RegExp("^-?\\d{1,"+e+"}"),a)}}function En(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 nr(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,i=e>=r%100;o=e+l-(i?100:0)}return t?o:1-o}function or(e){return e%400===0||e%4===0&&e%100!==0}class wm extends Re{constructor(){super(...arguments);ce(this,"priority",130);ce(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 Je(qe(4,t),r);case"yo":return Je(o.ordinalNumber(t,{unit:"year"}),r);default:return Je(qe(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 i=nr(o.year,r);return t.setFullYear(i,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 $m extends Re{constructor(){super(...arguments);ce(this,"priority",130);ce(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 Je(qe(4,t),r);case"Yo":return Je(o.ordinalNumber(t,{unit:"year"}),r);default:return Je(qe(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,o,r){const l=Rn(t,r);if(o.isTwoDigitYear){const c=nr(o.year,l);return t.setFullYear(c,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Ct(t,r)}const i=!("era"in n)||n.era===1?o.year:1-o.year;return t.setFullYear(i,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Ct(t,r)}}class Dm extends Re{constructor(){super(...arguments);ce(this,"priority",130);ce(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Ba(n==="R"?4:n.length,t)}set(t,n,o){const r=Le(t,0);return r.setFullYear(o,0,4),r.setHours(0,0,0,0),va(r)}}class Pm extends Re{constructor(){super(...arguments);ce(this,"priority",130);ce(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Ba(n==="u"?4:n.length,t)}set(t,n,o){return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class Mm extends Re{constructor(){super(...arguments);ce(this,"priority",120);ce(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 qe(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 Tm extends Re{constructor(){super(...arguments);ce(this,"priority",120);ce(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 qe(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 Sm extends Re{constructor(){super(...arguments);ce(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ce(this,"priority",110)}parse(t,n,o){const r=l=>l-1;switch(n){case"M":return Je(He(Xe.month,t),r);case"MM":return Je(qe(2,t),r);case"Mo":return Je(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 xm extends Re{constructor(){super(...arguments);ce(this,"priority",110);ce(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 Je(He(Xe.month,t),r);case"LL":return Je(qe(2,t),r);case"Lo":return Je(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 Am(e,a,t){const n=fe(e),o=Yn(n,t)-a;return n.setDate(n.getDate()-o*7),n}class Cm extends Re{constructor(){super(...arguments);ce(this,"priority",100);ce(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,o){switch(n){case"w":return He(Xe.week,t);case"wo":return o.ordinalNumber(t,{unit:"week"});default:return qe(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o,r){return Ct(Am(t,o,r),r)}}function Vm(e,a){const t=fe(e),n=Ln(t)-a;return t.setDate(t.getDate()-n*7),t}class Om extends Re{constructor(){super(...arguments);ce(this,"priority",100);ce(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 He(Xe.week,t);case"Io":return o.ordinalNumber(t,{unit:"week"});default:return qe(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o){return va(Vm(t,o))}}const Nm=[31,28,31,30,31,30,31,31,30,31,30,31],Im=[31,29,31,30,31,30,31,31,30,31,30,31];class Lm extends Re{constructor(){super(...arguments);ce(this,"priority",90);ce(this,"subPriority",1);ce(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"d":return He(Xe.date,t);case"do":return o.ordinalNumber(t,{unit:"date"});default:return qe(n.length,t)}}validate(t,n){const o=t.getFullYear(),r=or(o),l=t.getMonth();return r?n>=1&&n<=Im[l]:n>=1&&n<=Nm[l]}set(t,n,o){return t.setDate(o),t.setHours(0,0,0,0),t}}class Rm extends Re{constructor(){super(...arguments);ce(this,"priority",90);ce(this,"subpriority",1);ce(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 He(Xe.dayOfYear,t);case"Do":return o.ordinalNumber(t,{unit:"date"});default:return qe(n.length,t)}}validate(t,n){const o=t.getFullYear();return or(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 Bn(e,a,t){var v,p,b,w;const n=sa(),o=(t==null?void 0:t.weekStartsOn)??((p=(v=t==null?void 0:t.locale)==null?void 0:v.options)==null?void 0:p.weekStartsOn)??n.weekStartsOn??((w=(b=n.locale)==null?void 0:b.options)==null?void 0:w.weekStartsOn)??0,r=fe(e),l=r.getDay(),c=(a%7+7)%7,y=7-o,h=a<0||a>6?a-(l+y)%7:(c+y)%7-(l+y)%7;return Ge(r,h)}class Ym extends Re{constructor(){super(...arguments);ce(this,"priority",90);ce(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=Bn(t,o,r),t.setHours(0,0,0,0),t}}class Em extends Re{constructor(){super(...arguments);ce(this,"priority",90);ce(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,o,r){const l=i=>{const c=Math.floor((i-1)/7)*7;return(i+r.weekStartsOn+6)%7+c};switch(n){case"e":case"ee":return Je(qe(n.length,t),l);case"eo":return Je(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=Bn(t,o,r),t.setHours(0,0,0,0),t}}class Bm extends Re{constructor(){super(...arguments);ce(this,"priority",90);ce(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,o,r){const l=i=>{const c=Math.floor((i-1)/7)*7;return(i+r.weekStartsOn+6)%7+c};switch(n){case"c":case"cc":return Je(qe(n.length,t),l);case"co":return Je(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=Bn(t,o,r),t.setHours(0,0,0,0),t}}function Fm(e,a){const t=fe(e),n=hm(t),o=a-n;return Ge(t,o)}class Hm extends Re{constructor(){super(...arguments);ce(this,"priority",90);ce(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 qe(n.length,t);case"io":return o.ordinalNumber(t,{unit:"day"});case"iii":return Je(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 Je(o.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Je(o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return Je(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=Fm(t,o),t.setHours(0,0,0,0),t}}class Wm extends Re{constructor(){super(...arguments);ce(this,"priority",80);ce(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(En(o),0,0,0),t}}class zm extends Re{constructor(){super(...arguments);ce(this,"priority",80);ce(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(En(o),0,0,0),t}}class qm extends Re{constructor(){super(...arguments);ce(this,"priority",80);ce(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(En(o),0,0,0),t}}class Um extends Re{constructor(){super(...arguments);ce(this,"priority",70);ce(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,o){switch(n){case"h":return He(Xe.hour12h,t);case"ho":return o.ordinalNumber(t,{unit:"hour"});default:return qe(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 jm extends Re{constructor(){super(...arguments);ce(this,"priority",70);ce(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,o){switch(n){case"H":return He(Xe.hour23h,t);case"Ho":return o.ordinalNumber(t,{unit:"hour"});default:return qe(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,o){return t.setHours(o,0,0,0),t}}class Qm extends Re{constructor(){super(...arguments);ce(this,"priority",70);ce(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,o){switch(n){case"K":return He(Xe.hour11h,t);case"Ko":return o.ordinalNumber(t,{unit:"hour"});default:return qe(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 Gm extends Re{constructor(){super(...arguments);ce(this,"priority",70);ce(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,o){switch(n){case"k":return He(Xe.hour24h,t);case"ko":return o.ordinalNumber(t,{unit:"hour"});default:return qe(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 Xm extends Re{constructor(){super(...arguments);ce(this,"priority",60);ce(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"m":return He(Xe.minute,t);case"mo":return o.ordinalNumber(t,{unit:"minute"});default:return qe(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setMinutes(o,0,0),t}}class Jm extends Re{constructor(){super(...arguments);ce(this,"priority",50);ce(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"s":return He(Xe.second,t);case"so":return o.ordinalNumber(t,{unit:"second"});default:return qe(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setSeconds(o,0),t}}class Km extends Re{constructor(){super(...arguments);ce(this,"priority",30);ce(this,"incompatibleTokens",["t","T"])}parse(t,n){const o=r=>Math.trunc(r*Math.pow(10,-n.length+3));return Je(qe(n.length,t),o)}set(t,n,o){return t.setMilliseconds(o),t}}class Zm extends Re{constructor(){super(...arguments);ce(this,"priority",10);ce(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Mt(Pt.basicOptionalMinutes,t);case"XX":return Mt(Pt.basic,t);case"XXXX":return Mt(Pt.basicOptionalSeconds,t);case"XXXXX":return Mt(Pt.extendedOptionalSeconds,t);case"XXX":default:return Mt(Pt.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Le(t,t.getTime()-Ea(t)-o)}}class ev extends Re{constructor(){super(...arguments);ce(this,"priority",10);ce(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Mt(Pt.basicOptionalMinutes,t);case"xx":return Mt(Pt.basic,t);case"xxxx":return Mt(Pt.basicOptionalSeconds,t);case"xxxxx":return Mt(Pt.extendedOptionalSeconds,t);case"xxx":default:return Mt(Pt.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Le(t,t.getTime()-Ea(t)-o)}}class tv extends Re{constructor(){super(...arguments);ce(this,"priority",40);ce(this,"incompatibleTokens","*")}parse(t){return ar(t)}set(t,n,o){return[Le(t,o*1e3),{timestampIsSet:!0}]}}class av extends Re{constructor(){super(...arguments);ce(this,"priority",20);ce(this,"incompatibleTokens","*")}parse(t){return ar(t)}set(t,n,o){return[Le(t,o),{timestampIsSet:!0}]}}const nv={G:new km,y:new wm,Y:new $m,R:new Dm,u:new Pm,Q:new Mm,q:new Tm,M:new Sm,L:new xm,w:new Cm,I:new Om,d:new Lm,D:new Rm,E:new Ym,e:new Em,c:new Bm,i:new Hm,a:new Wm,b:new zm,B:new qm,h:new Um,H:new jm,K:new Qm,k:new Gm,m:new Xm,s:new Jm,S:new Km,X:new Zm,x:new ev,t:new tv,T:new av},ov=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rv=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,lv=/^'([^]*?)'?$/,sv=/''/g,iv=/\S/,uv=/[a-zA-Z]/;function $n(e,a,t,n){var S,L,ee,W,C,E,X,z;const o=fm(),r=(n==null?void 0:n.locale)??o.locale??Jo,l=(n==null?void 0:n.firstWeekContainsDate)??((L=(S=n==null?void 0:n.locale)==null?void 0:S.options)==null?void 0:L.firstWeekContainsDate)??o.firstWeekContainsDate??((W=(ee=o.locale)==null?void 0:ee.options)==null?void 0:W.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((E=(C=n==null?void 0:n.locale)==null?void 0:C.options)==null?void 0:E.weekStartsOn)??o.weekStartsOn??((z=(X=o.locale)==null?void 0:X.options)==null?void 0:z.weekStartsOn)??0;if(a==="")return e===""?fe(t):Le(t,NaN);const c={firstWeekContainsDate:l,weekStartsOn:i,locale:r},y=[new bm],h=a.match(rv).map(I=>{const q=I[0];if(q in kn){const te=kn[q];return te(I,r.formatLong)}return I}).join("").match(ov),v=[];for(let I of h){!(n!=null&&n.useAdditionalWeekYearTokens)&&er(I)&&wn(I,a,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Zo(I)&&wn(I,a,e);const q=I[0],te=nv[q];if(te){const{incompatibleTokens:ie}=te;if(Array.isArray(ie)){const B=v.find(j=>ie.includes(j.token)||j.token===q);if(B)throw new RangeError(`The format string mustn't contain \`${B.fullToken}\` and \`${I}\` at the same time`)}else if(te.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${I}\` and any other token at the same time`);v.push({token:q,fullToken:I});const me=te.run(e,I,r.match,c);if(!me)return Le(t,NaN);y.push(me.setter),e=me.rest}else{if(q.match(uv))throw new RangeError("Format string contains an unescaped latin alphabet character `"+q+"`");if(I==="''"?I="'":q==="'"&&(I=dv(I)),e.indexOf(I)===0)e=e.slice(I.length);else return Le(t,NaN)}}if(e.length>0&&iv.test(e))return Le(t,NaN);const p=y.map(I=>I.priority).sort((I,q)=>q-I).filter((I,q,te)=>te.indexOf(I)===q).map(I=>y.filter(q=>q.priority===I).sort((q,te)=>te.subPriority-q.subPriority)).map(I=>I[0]);let b=fe(t);if(isNaN(b.getTime()))return Le(t,NaN);const w={};for(const I of p){if(!I.validate(b,c))return Le(t,NaN);const q=I.set(b,w,c);Array.isArray(q)?(b=q[0],Object.assign(w,q[1])):b=q}return Le(t,b)}function dv(e){return e.match(lv)[1].replace(sv,"'")}function po(e,a){const t=zt(e),n=zt(a);return+t==+n}function Fn(e,a){return Ge(e,-a)}function rr(e,a){const t=fe(e),n=t.getFullYear(),o=t.getDate(),r=Le(e,0);r.setFullYear(n,a,15),r.setHours(0,0,0,0);const l=pm(r);return t.setMonth(a,Math.min(o,l)),t}function Be(e,a){let t=fe(e);return isNaN(+t)?Le(e,NaN):(a.year!=null&&t.setFullYear(a.year),a.month!=null&&(t=rr(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 lr(e,a){const t=fe(e);return t.setHours(a),t}function Hn(e,a){const t=fe(e);return t.setMilliseconds(a),t}function sr(e,a){const t=fe(e);return t.setMinutes(a),t}function Wn(e,a){const t=fe(e);return t.setSeconds(a),t}function Tt(e,a){const t=fe(e);return isNaN(+t)?Le(e,NaN):(t.setFullYear(a),t)}function Yt(e,a){return mt(e,-a)}function cv(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:i=0,seconds:c=0}=a,y=Yt(e,n+t*12),h=Fn(y,r+o*7),v=i+l*60,b=(c+v*60)*1e3;return Le(e,h.getTime()-b)}function ir(e,a){return Nn(e,-a)}function ga(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[_("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"}),_("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"}),_("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"}),_("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"})])}ga.compatConfig={MODE:3};function ur(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[_("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"}),_("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"})])}ur.compatConfig={MODE:3};function zn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[_("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"})])}zn.compatConfig={MODE:3};function qn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[_("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"})])}qn.compatConfig={MODE:3};function Un(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[_("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"}),_("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"})])}Un.compatConfig={MODE:3};function jn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[_("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"})])}jn.compatConfig={MODE:3};function Qn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[_("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"})])}Qn.compatConfig={MODE:3};function fo(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 mv(e){return a=>ft(new Date(`2017-01-0${a}T00:00:00+00:00`),"EEEEEE",{locale:e})}const vv=(e,a,t)=>{const n=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=n.map(mv(e))}catch{o=n.map(fo(a))}else o=n.map(fo(a));const r=o.slice(0,t),l=o.slice(t+1,o.length);return[o[t]].concat(...l).concat(...r)},Gn=(e,a,t)=>{const n=[];for(let o=+e[0];o<=+e[1];o++)n.push({value:+o,text:vr(o,a)});return t?n.reverse():n},dr=(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"?"MMMM":"MMM";return n.map((l,i)=>{const c=ft(l,r,{locale:e});return{text:c.charAt(0).toUpperCase()+c.substring(1),value:i}})}catch{}const o=new Intl.DateTimeFormat(a,{month:t,timeZone:"UTC"});return n.map((r,l)=>{const i=o.format(r);return{text:i.charAt(0).toUpperCase()+i.substring(1),value:l}})},pv=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],at=e=>{const a=s(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},fv=e=>({type:"dot",...e??{}}),cr=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Xn={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},ot=e=>e,ho=e=>e===0?e:!e||isNaN(+e)?null:+e,yo=e=>e===null,mr=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},hv=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?+ehv(e).map(t=>t.map(n=>{const{active:o,disabled:r,isBetween:l,highlighted:i}=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":i}}})),Ut=(e,a,t=!1)=>{e&&a.allowStopPropagation&&(t&&e.stopImmediatePropagation(),e.stopPropagation())},yv=()=>["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 gv(e,a){let t=[...document.querySelectorAll(yv())];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 _v=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),vr=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),Jn=e=>ft(e,"dd-MM-yyyy"),rn=e=>Array.isArray(e),Fa=(e,a)=>a.get(Jn(e)),bv=(e,a)=>e?a?a instanceof Map?!!Fa(e,a):a(Q(e)):!1:!0,go=(e,a,t,n,o,r)=>{const l=$n(e,a.slice(0,e.length),new Date,{locale:r});return wa(l)&&jo(l)?n||o?l:Be(l,{hours:+t.hours,minutes:+(t==null?void 0:t.minutes),seconds:+(t==null?void 0:t.seconds),milliseconds:0}):null},kv=(e,a,t,n,o,r)=>{const l=Array.isArray(t)?t[0]:t;if(typeof a=="string")return go(e,a,l,n,o,r);if(Array.isArray(a)){let i=null;for(const c of a)if(i=go(e,c,l,n,o,r),i)break;return i}return typeof a=="function"?a(e):null},Q=e=>e?new Date(e):new Date,wv=(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"),i=e.getMinutes().toString().padStart(2,"0"),c=t?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${r}T${l}:${i}:${c}.000Z`}const n=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(n).toISOString()},vt=e=>{let a=Q(JSON.parse(JSON.stringify(e)));return a=lr(a,0),a=sr(a,0),a=Wn(a,0),a=Hn(a,0),a},jt=(e,a,t,n)=>{let o=e?Q(e):Q();return(a||a===0)&&(o=lr(o,+a)),(t||t===0)&&(o=sr(o,+t)),(n||n===0)&&(o=Wn(o,+n)),Hn(o,0)},ze=(e,a)=>!e||!a?!1:Ma(vt(e),vt(a)),Ve=(e,a)=>!e||!a?!1:aa(vt(e),vt(a)),Qe=(e,a)=>!e||!a?!1:Pa(vt(e),vt(a)),ja=(e,a,t)=>e!=null&&e[0]&&e!=null&&e[1]?Qe(t,e[0])&&ze(t,e[1]):e!=null&&e[0]&&a?Qe(t,e[0])&&ze(t,a)||ze(t,e[0])&&Qe(t,a):!1,gt=e=>{const a=Be(new Date(e),{date:1});return vt(a)},ln=(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},na=e=>({hours:_t(e),minutes:At(e),seconds:pa(e)}),pr=(e,a)=>{if(a){const t=De(Q(a));if(t>e)return 12;if(t===e)return Te(Q(a))}},fr=(e,a)=>{if(a){const t=De(Q(a));return t{if(e)return De(Q(e))},hr=(e,a)=>{const t=Qe(e,a)?a:e,n=Qe(a,e)?a:e;return Qo({start:t,end:n})},$v=e=>{const a=mt(e,1);return{month:Te(a),year:De(a)}},It=(e,a)=>{const t=Ct(e,{weekStartsOn:+a}),n=wc(e,{weekStartsOn:+a});return[t,n]},yr=(e,a)=>{const t={hours:_t(Q()),minutes:At(Q()),seconds:a?pa(Q()):0};return Object.assign(t,e)},qt=(e,a,t)=>[Be(Q(e),{date:1}),Be(Q(),{month:a,year:t,date:1})],Lt=(e,a,t)=>{let n=e?Q(e):Q();return(a||a===0)&&(n=rr(n,a)),t&&(n=Tt(n,t)),n},gr=(e,a,t,n,o)=>{if(!n||o&&!a||!o&&!t)return!1;const r=o?mt(e,1):Yt(e,1),l=[Te(r),De(r)];return o?!Pv(...l,a):!Dv(...l,t)},Dv=(e,a,t)=>ze(...qt(t,e,a))||Ve(...qt(t,e,a)),Pv=(e,a,t)=>Qe(...qt(t,e,a))||Ve(...qt(t,e,a)),_r=(e,a,t,n,o,r,l)=>{if(typeof a=="function"&&!l)return a(e);const i=t?{locale:t}:void 0;return Array.isArray(e)?`${ft(e[0],r,i)}${o&&!e[1]?"":n}${e[1]?ft(e[1],r,i):""}`:ft(e,r,i)},ua=e=>{if(e)return null;throw new Error(Xn.prop("partial-range"))},Na=(e,a)=>{if(a)return e();throw new Error(Xn.prop("range"))},Dn=e=>Array.isArray(e)?wa(e[0])&&(e[1]?wa(e[1]):!0):e?wa(e):!1,Mv=(e,a)=>Be(a??Q(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),sn=(e,a,t,n)=>{if(!e)return!0;if(n){const o=t==="max"?Ma(e,a):Pa(e,a),r={seconds:0,milliseconds:0};return o||aa(Be(e,r),Be(a,r))}return t==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},un=(e,a,t)=>e?Mv(e,a):Q(t??a),_o=(e,a,t,n,o)=>{if(Array.isArray(n)){const l=un(e,n[0],a),i=un(e,n[1],a);return sn(n[0],l,t,!!a)&&sn(n[1],i,t,!!a)&&o}const r=un(e,n,a);return sn(n,r,t,!!a)&&o},dn=e=>Be(Q(),na(e)),Tv=(e,a)=>e instanceof Map?Array.from(e.values()).filter(t=>De(Q(t))===a).map(t=>Te(t)):[],br=(e,a,t)=>typeof e=="function"?e({month:a,year:t}):!!e.months.find(n=>n.month===a&&n.year===t),Kn=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),ka=Sa({menuFocused:!1,shiftKeyInMenu:!1}),kr=()=>{const e=t=>{ka.menuFocused=t},a=t=>{ka.shiftKeyInMenu!==t&&(ka.shiftKeyInMenu=t)};return{control:T(()=>({shiftKeyInMenu:ka.shiftKeyInMenu,menuFocused:ka.menuFocused})),setMenuFocused:e,setShiftKey:a}},Fe=Sa({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),cn=V(null),Ia=V(!1),mn=V(!1),vn=V(!1),pn=V(!1),lt=V(0),je=V(0),Xt=()=>{const e=T(()=>Ia.value?[...Fe.selectionGrid,Fe.actionRow].filter(v=>v.length):mn.value?[...Fe.timePicker[0],...Fe.timePicker[1],pn.value?[]:[cn.value],Fe.actionRow].filter(v=>v.length):vn.value?[...Fe.monthPicker,Fe.actionRow]:[Fe.monthYear,...Fe.calendar,Fe.time,Fe.actionRow].filter(v=>v.length)),a=v=>{lt.value=v?lt.value+1:lt.value-1;let p=null;e.value[je.value]&&(p=e.value[je.value][lt.value]),!p&&e.value[je.value+(v?1:-1)]?(je.value=je.value+(v?1:-1),lt.value=v?0:e.value[je.value].length-1):p||(lt.value=v?lt.value-1:lt.value+1)},t=v=>{je.value===0&&!v||je.value===e.value.length&&v||(je.value=v?je.value+1:je.value-1,e.value[je.value]?e.value[je.value]&&!e.value[je.value][lt.value]&<.value!==0&&(lt.value=e.value[je.value].length-1):je.value=v?je.value-1:je.value+1)},n=v=>{let p=null;e.value[je.value]&&(p=e.value[je.value][lt.value]),p?p.focus({preventScroll:!Ia.value}):lt.value=v?lt.value-1:lt.value+1},o=()=>{a(!0),n(!0)},r=()=>{a(!1),n(!1)},l=()=>{t(!1),n(!0)},i=()=>{t(!0),n(!0)},c=(v,p)=>{Fe[p]=v},y=(v,p)=>{Fe[p]=v},h=()=>{lt.value=0,je.value=0};return{buildMatrix:c,buildMultiLevelMatrix:y,setTimePickerBackRef:v=>{cn.value=v},setSelectionGrid:v=>{Ia.value=v,h(),v||(Fe.selectionGrid=[])},setTimePicker:(v,p=!1)=>{mn.value=v,pn.value=p,h(),v||(Fe.timePicker[0]=[],Fe.timePicker[1]=[])},setTimePickerElements:(v,p=0)=>{Fe.timePicker[p]=v},arrowRight:o,arrowLeft:r,arrowUp:l,arrowDown:i,clearArrowNav:()=>{Fe.monthYear=[],Fe.calendar=[],Fe.time=[],Fe.actionRow=[],Fe.selectionGrid=[],Fe.timePicker[0]=[],Fe.timePicker[1]=[],Ia.value=!1,mn.value=!1,pn.value=!1,vn.value=!1,h(),cn.value=null},setMonthPicker:v=>{vn.value=v,h()},refSets:Fe}},Rt=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),wr=(e,a)=>Pn(e,a)||Q(),Sv=(e,a)=>a.dateInTz?Rt(new Date(e),a.dateInTz):Q(e),Pn=(e,a)=>{if(!e)return null;if(!a)return Q(e);const t=Q(e);return a.exactMatch?Sv(e,a):Rt(t,a.timezone)},xv=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},bo=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??{}}),Av=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",calendarWrap:"Calendar wrapper",calendarDays:"Calendar days",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,...e??{}}),ko=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,Cv=e=>{const a=typeof e=="object"&&e,t={static:!0,solo:!1};if(!e)return{...t,count:ko(!1)};const n=a?e:{},o=a?n.count??!0:e,r=ko(o);return Object.assign(t,n,{count:r})},Vv=(e,a,t)=>e||(typeof t=="string"?t:a),Ov=e=>typeof e=="boolean"?e?bo({}):!1:bo(e),Nv=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},Iv=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),Lv=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),Rv=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},Yv=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,...e??{}}),Ev=e=>{const a={dates:Array.isArray(e)?e.map(t=>Q(t)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},Bv=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},Fv=(e,a)=>typeof e=="object"?{enabled:!0,...{noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1},...e}:{enabled:e,noDisabledRange:a.noDisabledRange,showLastInRange:a.showLastInRange,minMaxRawRange:a.minMaxRawRange,partialRange:a.partialRange,disableTimeRangeValidation:a.disableTimeRangeValidation,maxRange:a.maxRange,minRange:a.minRange,autoRange:a.autoRange,fixedStart:a.fixedStart,fixedEnd:a.fixedEnd},Hv=(e,a)=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:a,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:a??e.emitTimezone,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:a},fn=(e,a)=>new Map(e.map(t=>{const n=wr(t,a);return[Jn(n),n]})),Wv=(e,a)=>e.length?new Map(e.map(t=>{const n=wr(t.date,a);return[Jn(n),t]})):null,zv=(e,a,t,n,o,r,l)=>({minDate:Pn(e,l),maxDate:Pn(a,l),disabledDates:rn(t)?fn(t,l):t,allowedDates:rn(n)?fn(n,l):null,highlight:typeof o=="object"&&rn(o==null?void 0:o.dates)?fn(o.dates,l):o,markers:Wv(r,l)}),qv=(e,a)=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:+a}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},We=e=>{const a=()=>{const X=e.enableSeconds?":ss":"";return e.is24?`HH:mm${X}`:`hh:mm${X} aa`},t=()=>{var X;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((X=L.value)==null?void 0:X.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},n=X=>yr(X,e.enableSeconds),o=()=>E.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=T(()=>Cv(e.multiCalendars)),l=T(()=>o()),i=T(()=>Av(e.ariaLabels)),c=T(()=>Iv(e.filters)),y=T(()=>Ov(e.transitions)),h=T(()=>Lv(e.actionRow)),v=T(()=>Vv(e.previewFormat,e.format,t())),p=T(()=>Nv(e.textInput)),b=T(()=>Rv(e.inline)),w=T(()=>Yv(e.config)),S=T(()=>Ev(e.highlight)),L=T(()=>Bv(e.weekNumbers)),ee=T(()=>Hv(e.timezone,e.emitTimezone)),W=T(()=>qv(e.multiDates,e.multiDatesLimit)),C=T(()=>zv(e.minDate,e.maxDate,e.disabledDates,e.allowedDates,S.value,e.markers,ee.value)),E=T(()=>Fv(e.range,{minMaxRawRange:!1,maxRange:e.maxRange,minRange:e.minRange,noDisabledRange:e.noDisabledRange,showLastInRange:e.showLastInRange,partialRange:e.partialRange,disableTimeRangeValidation:e.disableTimeRangeValidation,autoRange:e.autoRange,fixedStart:e.fixedStart,fixedEnd:e.fixedEnd}));return{defaultedTransitions:y,defaultedMultiCalendars:r,defaultedStartTime:l,defaultedAriaLabels:i,defaultedFilters:c,defaultedActionRow:h,defaultedPreviewFormat:v,defaultedTextInput:p,defaultedInline:b,defaultedConfig:w,defaultedHighlight:S,defaultedWeekNumbers:L,defaultedRange:E,propDates:C,defaultedTz:ee,defaultedMultiDates:W,getDefaultPattern:t,getDefaultStartTime:o}},Uv=(e,a,t)=>{const n=V(),{defaultedTextInput:o,defaultedRange:r,defaultedTz:l,defaultedMultiDates:i,getDefaultPattern:c}=We(a),y=V(""),h=Da(a,"format"),v=Da(a,"formatLocale");ut(n,()=>{e("internal-model-change",n.value)},{deep:!0}),ut(h,()=>{ne()});const p=g=>l.value.timezone&&l.value.convertModel?Rt(g,l.value.timezone):g,b=g=>{if(l.value.timezone&&l.value.convertModel){const R=xv(l.value.timezone);return yc(g,R)}return g},w=(g,R,_e=!1)=>_r(g,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,R??c(),_e),S=g=>g?a.modelType?Z(g):{hours:_t(g),minutes:At(g),seconds:a.enableSeconds?pa(g):0}:null,L=g=>a.modelType?Z(g):{month:Te(g),year:De(g)},ee=g=>Array.isArray(g)?i.value.enabled?g.map(R=>W(R,Tt(Q(),R))):Na(()=>[Tt(Q(),g[0]),g[1]?Tt(Q(),g[1]):ua(r.value.partialRange)],r.value.enabled):Tt(Q(),+g),W=(g,R)=>(typeof g=="string"||typeof g=="number")&&a.modelType?ue(g):R,C=g=>Array.isArray(g)?[W(g[0],jt(null,+g[0].hours,+g[0].minutes,g[0].seconds)),W(g[1],jt(null,+g[1].hours,+g[1].minutes,g[1].seconds))]:W(g,jt(null,g.hours,g.minutes,g.seconds)),E=g=>{const R=Be(Q(),{date:1});return Array.isArray(g)?i.value.enabled?g.map(_e=>W(_e,Lt(R,+_e.month,+_e.year))):Na(()=>[W(g[0],Lt(R,+g[0].month,+g[0].year)),W(g[1],g[1]?Lt(R,+g[1].month,+g[1].year):ua(r.value.partialRange))],r.value.enabled):W(g,Lt(R,+g.month,+g.year))},X=g=>{if(Array.isArray(g))return g.map(R=>ue(R));throw new Error(Xn.dateArr("multi-dates"))},z=g=>{if(Array.isArray(g)&&r.value.enabled){const R=g[0],_e=g[1];return[Q(Array.isArray(R)?R[0]:null),Q(Array.isArray(_e)?_e[0]:null)]}return Q(g[0])},I=g=>a.modelAuto?Array.isArray(g)?[ue(g[0]),ue(g[1])]:a.autoApply?[ue(g)]:[ue(g),null]:Array.isArray(g)?Na(()=>g[1]?[ue(g[0]),g[1]?ue(g[1]):ua(r.value.partialRange)]:[ue(g[0])],r.value.enabled):ue(g),q=()=>{Array.isArray(n.value)&&r.value.enabled&&n.value.length===1&&n.value.push(ua(r.value.partialRange))},te=()=>{const g=n.value;return[Z(g[0]),g[1]?Z(g[1]):ua(r.value.partialRange)]},ie=()=>n.value[1]?te():Z(ot(n.value[0])),me=()=>(n.value||[]).map(g=>Z(g)),B=()=>(q(),a.modelAuto?ie():i.value.enabled?me():Array.isArray(n.value)?Na(()=>te(),r.value.enabled):Z(ot(n.value))),j=g=>!g||Array.isArray(g)&&!g.length?null:a.timePicker?C(ot(g)):a.monthPicker?E(ot(g)):a.yearPicker?ee(ot(g)):i.value.enabled?X(ot(g)):a.weekPicker?z(ot(g)):I(ot(g)),se=g=>{const R=j(g);Dn(ot(R))?(n.value=ot(R),ne()):(n.value=null,y.value="")},k=()=>{const g=R=>ft(R,o.value.format);return`${g(n.value[0])} ${o.value.rangeSeparator} ${n.value[1]?g(n.value[1]):""}`},f=()=>t.value&&n.value?Array.isArray(n.value)?k():ft(n.value,o.value.format):w(n.value),F=()=>n.value?i.value.enabled?n.value.map(g=>w(g)).join("; "):o.value.enabled&&typeof o.value.format=="string"?f():w(n.value):"",ne=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?y.value=F():y.value=a.format(n.value)},ue=g=>{if(a.utc){const R=new Date(g);return a.utc==="preserve"?new Date(R.getTime()+R.getTimezoneOffset()*6e4):R}return a.modelType?a.modelType==="date"||a.modelType==="timestamp"?p(new Date(g)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?p($n(g,c(),new Date,{locale:v.value})):p($n(g,a.modelType,new Date,{locale:v.value})):p(new Date(g))},Z=g=>g?a.utc?wv(g,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+b(g):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?w(b(g)):w(b(g),a.modelType,!0):b(g):"",A=(g,R=!1)=>{if(e("update:model-value",g),l.value.emitTimezone&&R){const _e=Array.isArray(g)?g.map(Ie=>Rt(ot(Ie),l.value.emitTimezone)):Rt(ot(g),l.value.emitTimezone);e("update:model-timezone-value",_e)}},Y=g=>Array.isArray(n.value)?i.value.enabled?n.value.map(R=>g(R)):[g(n.value[0]),n.value[1]?g(n.value[1]):ua(r.value.partialRange)]:g(ot(n.value)),d=()=>{if(Array.isArray(n.value)){const g=It(n.value[0],a.weekStart),R=n.value[1]?It(n.value[1],a.weekStart):[];return[g.map(_e=>Q(_e)),R.map(_e=>Q(_e))]}return It(n.value,a.weekStart).map(g=>Q(g))},P=g=>A(ot(Y(g)));return{inputValue:y,internalModelValue:n,checkBeforeEmit:()=>n.value?r.value.enabled?r.value.partialRange?n.value.length>=1:n.value.length===2:!!n.value:!1,parseExternalModelValue:se,formatInputValue:ne,emitModelValue:()=>(ne(),a.monthPicker?P(L):a.timePicker?P(S):a.yearPicker?P(De):a.weekPicker?e("update:model-value",d()):A(B(),!0))}},jv=(e,a)=>{const{defaultedFilters:t,propDates:n}=We(e),{validateMonthYearInRange:o}=Jt(e),r=(h,v)=>{let p=h;return t.value.months.includes(Te(p))?(p=v?mt(h,1):Yt(h,1),r(p,v)):p},l=(h,v)=>{let p=h;return t.value.years.includes(De(p))?(p=v?Nn(h,1):ir(h,1),l(p,v)):p},i=(h,v=!1)=>{const p=Be(Q(),{month:e.month,year:e.year});let b=h?mt(p,1):Yt(p,1);e.disableYearSelect&&(b=Tt(b,e.year));let w=Te(b),S=De(b);t.value.months.includes(w)&&(b=r(b,h),w=Te(b),S=De(b)),t.value.years.includes(S)&&(b=l(b,h),S=De(b)),o(w,S,h,e.preventMinMaxNavigation)&&c(w,S,v)},c=(h,v,p)=>{a("update-month-year",{month:h,year:v,fromNav:p})},y=T(()=>h=>gr(Be(Q(),{month:e.month,year:e.year}),n.value.maxDate,n.value.minDate,e.preventMinMaxNavigation,h));return{handleMonthYearChange:i,isDisabled:y,updateMonthYear:c}};var da=(e=>(e.center="center",e.left="left",e.right="right",e))(da||{}),yt=(e=>(e.month="month",e.year="year",e))(yt||{}),ta=(e=>(e.top="top",e.bottom="bottom",e))(ta||{}),oa=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(oa||{}),wt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(wt||{});const Qv=({menuRef:e,menuRefInner:a,inputRef:t,pickerWrapperRef:n,inline:o,emit:r,props:l,slots:i})=>{const c=V({}),y=V(!1),h=V({top:"0",left:"0"}),v=V(!1),p=Da(l,"teleportCenter");ut(p,()=>{h.value=JSON.parse(JSON.stringify({})),E()});const b=k=>{if(l.teleport){const f=k.getBoundingClientRect();return{left:f.left+window.scrollX,top:f.top+window.scrollY}}return{top:0,left:0}},w=(k,f)=>{h.value.left=`${k+f-c.value.width}px`},S=k=>{h.value.left=`${k}px`},L=(k,f)=>{l.position===da.left&&S(k),l.position===da.right&&w(k,f),l.position===da.center&&(h.value.left=`${k+f/2-c.value.width/2}px`)},ee=k=>{const{width:f,height:F}=k.getBoundingClientRect(),{top:ne,left:ue}=l.altPosition?l.altPosition(k):b(k);return{top:+ne,left:+ue,width:f,height:F}},W=()=>{h.value.left="50%",h.value.top="50%",h.value.transform="translate(-50%, -50%)",h.value.position="fixed",delete h.value.opacity},C=()=>{const k=at(t),{top:f,left:F,transform:ne}=l.altPosition(k);h.value={top:`${f}px`,left:`${F}px`,transform:ne??""}},E=(k=!0)=>{var f;if(!o.value.enabled){if(p.value)return W();if(l.altPosition!==null)return C();if(k){const F=l.teleport?(f=a.value)==null?void 0:f.$el:e.value;F&&(c.value=F.getBoundingClientRect()),r("recalculate-position")}return me()}},X=({inputEl:k,left:f,width:F})=>{window.screen.width>768&&!y.value&&L(f,F),q(k)},z=k=>{const{top:f,left:F,height:ne,width:ue}=ee(k);h.value.top=`${ne+f+ +l.offset}px`,v.value=!1,y.value||(h.value.left=`${F+ue/2-c.value.width/2}px`),X({inputEl:k,left:F,width:ue})},I=k=>{const{top:f,left:F,width:ne}=ee(k);h.value.top=`${f-+l.offset-c.value.height}px`,v.value=!0,X({inputEl:k,left:F,width:ne})},q=k=>{if(l.autoPosition){const{left:f,width:F}=ee(k),{left:ne,right:ue}=c.value;if(!y.value){if(Math.abs(ne)!==Math.abs(ue)){if(ne<=0)return y.value=!0,S(f);if(ue>=document.documentElement.clientWidth)return y.value=!0,w(f,F)}return L(f,F)}}},te=()=>{const k=at(t);if(k){const{height:f}=c.value,{top:F,height:ne}=k.getBoundingClientRect(),ue=window.innerHeight-F-ne,Z=F;return f<=ue?ta.bottom:f>ue&&f<=Z?ta.top:ue>=Z?ta.bottom:ta.top}return ta.bottom},ie=k=>te()===ta.bottom?z(k):I(k),me=()=>{const k=at(t);if(k)return l.autoPosition?ie(k):z(k)},B=function(k){if(k){const f=k.scrollHeight>k.clientHeight,F=window.getComputedStyle(k).overflowY.indexOf("hidden")!==-1;return f&&!F}return!0},j=function(k){return!k||k===document.body||k.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:B(k)?k:j(k.parentNode)},se=k=>{if(k)switch(l.position){case da.left:return{left:0,transform:"translateX(0)"};case da.right:return{left:`${k.width}px`,transform:"translateX(-100%)"};default:return{left:`${k.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:v,menuStyle:h,xCorrect:y,setMenuPosition:E,getScrollableParent:j,shadowRender:(k,f)=>{var F,ne,ue;const Z=document.createElement("div"),A=(F=at(t))==null?void 0:F.getBoundingClientRect();Z.setAttribute("id","dp--temp-container");const Y=(ne=n.value)!=null&&ne.clientWidth?n.value:document.body;Y.append(Z);const d=se(A),P=Wr(k,{...f,shadow:!0,style:{opacity:0,position:"absolute",...d}},Object.fromEntries(Object.keys(i).filter(g=>["right-sidebar","left-sidebar"].includes(g)).map(g=>[g,i[g]])));ao(P,Z),c.value=(ue=P.el)==null?void 0:ue.getBoundingClientRect(),ao(null,Z),Y.removeChild(Z)}}},Wt=[{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:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-value",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"]}],Gv=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Xv={all:()=>Wt,monthYear:()=>Wt.filter(e=>e.use.includes("month-year")),input:()=>Gv,timePicker:()=>Wt.filter(e=>e.use.includes("time")),action:()=>Wt.filter(e=>e.use.includes("action")),calendar:()=>Wt.filter(e=>e.use.includes("calendar")),menu:()=>Wt.filter(e=>e.use.includes("menu")),shared:()=>Wt.filter(e=>e.use.includes("shared")),yearMode:()=>Wt.filter(e=>e.use.includes("year-mode"))},ct=(e,a,t)=>{const n=[];return Xv[a]().forEach(o=>{e[o.name]&&n.push(o.name)}),t!=null&&t.length&&t.forEach(o=>{o.slot&&n.push(o.slot)}),n},Aa=e=>{const a=T(()=>n=>e.value?n?e.value.open:e.value.close:""),t=T(()=>n=>e.value?n?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:t}},Ca=(e,a)=>{const{defaultedRange:t,defaultedTz:n}=We(e),o=Q(Rt(Q(),n.value.timezone)),r=V([{month:Te(o),year:De(o)}]),l=Sa({hours:t.value.enabled?[_t(o),_t(o)]:_t(o),minutes:t.value.enabled?[At(o),At(o)]:At(o),seconds:t.value.enabled?[0,0]:0}),i=T({get:()=>e.internalModelValue,set:h=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",h)}}),c=T(()=>h=>r.value[h]?r.value[h].month:0),y=T(()=>h=>r.value[h]?r.value[h].year:0);return{calendars:r,time:l,modelValue:i,month:c,year:y}},Jv=(e,a)=>{const{defaultedMultiCalendars:t,defaultedMultiDates:n,defaultedHighlight:o,defaultedTz:r,propDates:l,defaultedRange:i}=We(a),{isDisabled:c}=Jt(a),y=V(null),h=V(Rt(new Date,r.value.timezone)),v=d=>{!d.current&&a.hideOffsetDates||(y.value=d.value)},p=()=>{y.value=null},b=d=>Array.isArray(e.value)&&i.value.enabled&&e.value[0]&&y.value?d?Qe(y.value,e.value[0]):ze(y.value,e.value[0]):!0,w=(d,P)=>{const g=()=>e.value?P?e.value[0]||null:e.value[1]:null,R=e.value&&Array.isArray(e.value)?g():null;return Ve(Q(d.value),R)},S=d=>{const P=Array.isArray(e.value)?e.value[0]:null;return d?!ze(y.value??null,P):!0},L=(d,P=!0)=>(i.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!d.current?!1:Ve(Q(d.value),e.value[P?0:1]):i.value.enabled?w(d,P)&&S(P)||Ve(d.value,Array.isArray(e.value)?e.value[0]:null)&&b(P):!1,ee=(d,P,g)=>Array.isArray(e.value)&&e.value[0]&&e.value.length===1?d?!1:g?Qe(e.value[0],P.value):ze(e.value[0],P.value):!1,W=d=>!e.value||a.hideOffsetDates&&!d.current?!1:i.value.enabled?a.modelAuto&&Array.isArray(e.value)?Ve(d.value,e.value[0]?e.value[0]:h.value):!1:n.value.enabled&&Array.isArray(e.value)?e.value.some(P=>Ve(P,d.value)):Ve(d.value,e.value?e.value:h.value),C=d=>{if(i.value.autoRange||a.weekPicker){if(y.value){if(a.hideOffsetDates&&!d.current)return!1;const P=Ge(y.value,+i.value.autoRange),g=It(Q(y.value),a.weekStart);return a.weekPicker?Ve(g[1],Q(d.value)):Ve(P,Q(d.value))}return!1}return!1},E=d=>{if(i.value.autoRange||a.weekPicker){if(y.value){const P=Ge(y.value,+i.value.autoRange);if(a.hideOffsetDates&&!d.current)return!1;const g=It(Q(y.value),a.weekStart);return a.weekPicker?Qe(d.value,g[0])&&ze(d.value,g[1]):Qe(d.value,y.value)&&ze(d.value,P)}return!1}return!1},X=d=>{if(i.value.autoRange||a.weekPicker){if(y.value){if(a.hideOffsetDates&&!d.current)return!1;const P=It(Q(y.value),a.weekStart);return a.weekPicker?Ve(P[0],d.value):Ve(y.value,d.value)}return!1}return!1},z=d=>ja(e.value,y.value,d.value),I=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,q=()=>a.modelAuto?cr(a.internalModelValue):!0,te=d=>{if(a.weekPicker)return!1;const P=i.value.enabled?!L(d)&&!L(d,!1):!0;return!c(d.value)&&!W(d)&&!(!d.current&&a.hideOffsetDates)&&P},ie=d=>i.value.enabled?a.modelAuto?I()&&W(d):!1:W(d),me=d=>o.value?bv(d.value,l.value.highlight):!1,B=d=>{const P=c(d.value);return P&&(typeof o.value=="function"?!o.value(d.value,P):!o.value.options.highlightDisabled)},j=d=>{var P;return typeof o.value=="function"?o.value(d.value):(P=o.value.weekdays)==null?void 0:P.includes(d.value.getDay())},se=d=>(i.value.enabled||a.weekPicker)&&(!(t.value.count>0)||d.current)&&q()&&!(!d.current&&a.hideOffsetDates)&&!W(d)?z(d):!1,k=d=>{const{isRangeStart:P,isRangeEnd:g}=ue(d),R=i.value.enabled?P||g:!1;return{dp__cell_offset:!d.current,dp__pointer:!a.disabled&&!(!d.current&&a.hideOffsetDates)&&!c(d.value),dp__cell_disabled:c(d.value),dp__cell_highlight:!B(d)&&(me(d)||j(d))&&!ie(d)&&!R&&!X(d)&&!(se(d)&&a.weekPicker)&&!g,dp__cell_highlight_active:!B(d)&&(me(d)||j(d))&&ie(d),dp__today:!a.noToday&&Ve(d.value,h.value)&&d.current,"dp--past":ze(d.value,h.value),"dp--future":Qe(d.value,h.value)}},f=d=>({dp__active_date:ie(d),dp__date_hover:te(d)}),F=d=>{if(e.value&&!Array.isArray(e.value)){const P=It(e.value,a.weekStart);return{...A(d),dp__range_start:Ve(P[0],d.value),dp__range_end:Ve(P[1],d.value),dp__range_between_week:Qe(d.value,P[0])&&ze(d.value,P[1])}}return{...A(d)}},ne=d=>{if(e.value&&Array.isArray(e.value)){const P=It(e.value[0],a.weekStart),g=e.value[1]?It(e.value[1],a.weekStart):[];return{...A(d),dp__range_start:Ve(P[0],d.value)||Ve(g[0],d.value),dp__range_end:Ve(P[1],d.value)||Ve(g[1],d.value),dp__range_between_week:Qe(d.value,P[0])&&ze(d.value,P[1])||Qe(d.value,g[0])&&ze(d.value,g[1]),dp__range_between:Qe(d.value,P[1])&&ze(d.value,g[0])}}return{...A(d)}},ue=d=>{const P=t.value.count>0?d.current&&L(d)&&q():L(d)&&q(),g=t.value.count>0?d.current&&L(d,!1)&&q():L(d,!1)&&q();return{isRangeStart:P,isRangeEnd:g}},Z=d=>{const{isRangeStart:P,isRangeEnd:g}=ue(d);return{dp__range_start:P,dp__range_end:g,dp__range_between:se(d),dp__date_hover:te(d),dp__date_hover_start:ee(te(d),d,!0),dp__date_hover_end:ee(te(d),d,!1)}},A=d=>({...Z(d),dp__cell_auto_range:E(d),dp__cell_auto_range_start:X(d),dp__cell_auto_range_end:C(d)}),Y=d=>i.value.enabled?i.value.autoRange?A(d):a.modelAuto?{...f(d),...Z(d)}:a.weekPicker?ne(d):Z(d):a.weekPicker?F(d):f(d);return{setHoverDate:v,clearHoverDate:p,getDayClassData:d=>a.hideOffsetDates&&!d.current?{}:{...k(d),...Y(d),[a.dayClass?a.dayClass(d.value):""]:!0,[a.calendarCellClassName]:!!a.calendarCellClassName}}},Jt=e=>{const{defaultedFilters:a,defaultedRange:t,propDates:n,defaultedMultiDates:o}=We(e),r=B=>n.value.disabledDates?typeof n.value.disabledDates=="function"?n.value.disabledDates(Q(B)):!!Fa(B,n.value.disabledDates):!1,l=B=>{const j=n.value.maxDate?Qe(B,n.value.maxDate):!1,se=n.value.minDate?ze(B,n.value.minDate):!1,k=r(B),f=a.value.months.map(A=>+A).includes(Te(B)),F=e.disabledWeekDays.length?e.disabledWeekDays.some(A=>+A===vm(B)):!1,ne=v(B),ue=De(B),Z=ue<+e.yearRange[0]||ue>+e.yearRange[1];return!(j||se||k||f||Z||F||ne)},i=(B,j)=>ze(...qt(n.value.minDate,B,j))||Ve(...qt(n.value.minDate,B,j)),c=(B,j)=>Qe(...qt(n.value.maxDate,B,j))||Ve(...qt(n.value.maxDate,B,j)),y=(B,j,se)=>{let k=!1;return n.value.maxDate&&se&&c(B,j)&&(k=!0),n.value.minDate&&!se&&i(B,j)&&(k=!0),k},h=(B,j,se,k)=>{let f=!1;return k?n.value.minDate&&n.value.maxDate?f=y(B,j,se):(n.value.minDate&&i(B,j)||n.value.maxDate&&c(B,j))&&(f=!0):f=!0,f},v=B=>Array.isArray(n.value.allowedDates)&&!n.value.allowedDates.length?!0:n.value.allowedDates?!Fa(B,n.value.allowedDates):!1,p=B=>!l(B),b=B=>t.value.noDisabledRange?!Qo({start:B[0],end:B[1]}).some(j=>p(j)):!0,w=B=>{if(B){const j=De(B);return j>=+e.yearRange[0]&&j<=e.yearRange[1]}return!0},S=(B,j)=>!!(Array.isArray(B)&&B[j]&&(t.value.maxRange||t.value.minRange)&&w(B[j])),L=(B,j,se=0)=>{if(S(j,se)&&w(B)){const k=Uo(B,j[se]),f=hr(j[se],B),F=f.length===1?0:f.filter(ue=>p(ue)).length,ne=Math.abs(k)-(t.value.minMaxRawRange?0:F);if(t.value.minRange&&t.value.maxRange)return ne>=+t.value.minRange&&ne<=+t.value.maxRange;if(t.value.minRange)return ne>=+t.value.minRange;if(t.value.maxRange)return ne<=+t.value.maxRange}return!0},ee=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,W=B=>Array.isArray(B)?[B[0]?dn(B[0]):null,B[1]?dn(B[1]):null]:dn(B),C=(B,j,se)=>B.find(k=>+k.hours===_t(j)&&k.minutes==="*"?!0:+k.minutes===At(j)&&+k.hours===_t(j))&&se,E=(B,j,se)=>{const[k,f]=B,[F,ne]=j;return!C(k,F,se)&&!C(f,ne,se)&&se},X=(B,j)=>{const se=Array.isArray(j)?j:[j];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?E(e.disabledTimes,se,B):!se.some(k=>C(e.disabledTimes,k,B)):B},z=(B,j)=>{const se=Array.isArray(j)?[na(j[0]),j[1]?na(j[1]):void 0]:na(j),k=!e.disabledTimes(se);return B&&k},I=(B,j)=>e.disabledTimes?Array.isArray(e.disabledTimes)?X(j,B):z(j,B):j,q=B=>{let j=!0;if(!B||ee())return!0;const se=!n.value.minDate&&!n.value.maxDate?W(B):B;return(e.maxTime||n.value.maxDate)&&(j=_o(e.maxTime,n.value.maxDate,"max",ot(se),j)),(e.minTime||n.value.minDate)&&(j=_o(e.minTime,n.value.minDate,"min",ot(se),j)),I(B,j)},te=B=>{if(!e.monthPicker)return!0;let j=!0;const se=Q(gt(B));if(n.value.minDate&&n.value.maxDate){const k=Q(gt(n.value.minDate)),f=Q(gt(n.value.maxDate));return Qe(se,k)&&ze(se,f)||Ve(se,k)||Ve(se,f)}if(n.value.minDate){const k=Q(gt(n.value.minDate));j=Qe(se,k)||Ve(se,k)}if(n.value.maxDate){const k=Q(gt(n.value.maxDate));j=ze(se,k)||Ve(se,k)}return j},ie=T(()=>B=>!e.enableTimePicker||e.ignoreTimeValidation?!0:q(B)),me=T(()=>B=>e.monthPicker?Array.isArray(B)&&(t.value.enabled||o.value.enabled)?!B.filter(j=>!te(j)).length:te(B):!0);return{isDisabled:p,validateDate:l,validateMonthYearInRange:h,isDateRangeAllowed:b,checkMinMaxRange:L,isValidTime:q,isTimeValid:ie,isMonthValid:me}},Qa=()=>{const e=T(()=>(n,o)=>n==null?void 0:n.includes(o)),a=T(()=>(n,o)=>n.count?n.solo?!0:o===0:!0),t=T(()=>(n,o)=>n.count?n.solo?!0:o===n.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:t}},Kv=(e,a,t)=>{const n=V(0),o=Sa({[oa.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[oa.calendar]:!1,[oa.header]:!1}),r=T(()=>e.monthPicker),l=v=>{var p;if((p=e.flow)!=null&&p.length){if(!v&&r.value)return h();o[v]=!0,Object.keys(o).filter(b=>!o[b]).length||h()}},i=()=>{var v;(v=e.flow)!=null&&v.length&&n.value!==-1&&(n.value+=1,a("flow-step",n.value),h())},c=()=>{n.value=-1},y=(v,p,...b)=>{var w,S;e.flow[n.value]===v&&t.value&&((S=(w=t.value)[p])==null||S.call(w,...b))},h=()=>{y(wt.month,"toggleMonthPicker",!0),y(wt.year,"toggleYearPicker",!0),y(wt.calendar,"toggleTimePicker",!1,!0),y(wt.time,"toggleTimePicker",!0,!0);const v=e.flow[n.value];(v===wt.hours||v===wt.minutes||v===wt.seconds)&&y(v,"toggleTimePicker",!0,!0,v)};return{childMount:l,updateFlowStep:i,resetFlow:c,flowStep:n}},Ga={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},emitTimezone:{type:String,default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},menuClassName:{type:String,default:null},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},calendarCellClassName:{type:String,default:null},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},autoRange:{type:[Number,String],default:null},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},minRange:{type:[Number,String],default:null},maxRange:{type:[Number,String],default:null},multiDatesLimit:{type:[Number,String],default:null},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},disableTimeRangeValidation:{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},calendarClassName:{type:String,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},partialRange:{type:Boolean,default:!0},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"},inputClassName:{type:String,default:null},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1},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},noDisabledRange:{type:Boolean,default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},showLastInRange:{type:Boolean,default:!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}},bt={...Ga,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}},Zv={key:1,class:"dp__input_wrap"},ep=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],tp={key:2,class:"dp__clear_icon"},ap=U({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Ga},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTextInput:r,defaultedAriaLabels:l,defaultedInline:i,defaultedConfig:c,defaultedRange:y,defaultedMultiDates:h,getDefaultPattern:v,getDefaultStartTime:p}=We(o),{checkMinMaxRange:b}=Jt(o),w=V(),S=V(null),L=V(!1),ee=V(!1),W=T(()=>({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:!!o.state,dp__input_invalid:o.state===!1,dp__input_focus:L.value||o.isMenuOpen,dp__input_reg:!r.value.enabled,[o.inputClassName]:!!o.inputClassName})),C=()=>{n("set-input-date",null),o.clearable&&o.autoApply&&(n("set-empty-date"),w.value=null)},E=f=>{const F=p();return kv(f,r.value.format??v(),F??yr({},o.enableSeconds),o.inputValue,ee.value,o.formatLocale)},X=f=>{const{rangeSeparator:F}=r.value,[ne,ue]=f.split(`${F}`);if(ne){const Z=E(ne.trim()),A=ue?E(ue.trim()):null,Y=Z&&A?[Z,A]:[Z];b(A,Y,0)&&(w.value=Z?Y:null)}},z=()=>{ee.value=!0},I=f=>{if(y.value.enabled)X(f);else if(h.value.enabled){const F=f.split(";");w.value=F.map(ne=>E(ne.trim())).filter(ne=>ne)}else w.value=E(f)},q=f=>{var F;const ne=typeof f=="string"?f:(F=f.target)==null?void 0:F.value;ne!==""?(r.value.openMenu&&!o.isMenuOpen&&n("open"),I(ne),n("set-input-date",w.value)):C(),ee.value=!1,n("update:input-value",ne)},te=f=>{r.value.enabled?(I(f.target.value),r.value.enterSubmit&&Dn(w.value)&&o.inputValue!==""?(n("set-input-date",w.value,!0),w.value=null):r.value.enterSubmit&&o.inputValue===""&&(w.value=null,n("clear"))):B(f)},ie=f=>{r.value.enabled&&r.value.tabSubmit&&I(f.target.value),r.value.tabSubmit&&Dn(w.value)&&o.inputValue!==""?(n("set-input-date",w.value,!0,!0),w.value=null):r.value.tabSubmit&&o.inputValue===""&&(w.value=null,n("clear",!0))},me=()=>{L.value=!0,n("focus"),ht().then(()=>{var f;r.value.enabled&&r.value.selectOnFocus&&((f=S.value)==null||f.select())})},B=f=>{f.preventDefault(),Ut(f,c.value,!0),r.value.enabled&&r.value.openMenu&&!i.value.input&&!o.isMenuOpen?n("open"):r.value.enabled||n("toggle")},j=()=>{n("real-blur"),L.value=!1,(!o.isMenuOpen||i.value.enabled&&i.value.input)&&n("blur"),o.autoApply&&r.value.enabled&&w.value&&!o.isMenuOpen&&(n("set-input-date",w.value),n("select-date"),w.value=null)},se=f=>{Ut(f,c.value,!0),n("clear")},k=f=>{if(!r.value.enabled){if(f.code==="Tab")return;f.preventDefault()}};return a({focusInput:()=>{var f;(f=S.value)==null||f.focus({preventScroll:!0})},setParsedDate:f=>{w.value=f}}),(f,F)=>{var ne;return u(),m("div",{onClick:B},[f.$slots.trigger&&!f.$slots["dp-input"]&&!s(i).enabled?$(f.$slots,"trigger",{key:0}):x("",!0),!f.$slots.trigger&&(!s(i).enabled||s(i).input)?(u(),m("div",Zv,[f.$slots["dp-input"]&&!f.$slots.trigger&&(!s(i).enabled||s(i).enabled&&s(i).input)?$(f.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:q,onEnter:te,onTab:ie,onClear:se,onBlur:j,onKeypress:k,onPaste:z,openMenu:()=>f.$emit("open"),closeMenu:()=>f.$emit("close"),toggleMenu:()=>f.$emit("toggle")}):x("",!0),f.$slots["dp-input"]?x("",!0):(u(),m("input",{key:1,id:f.uid?`dp-input-${f.uid}`:void 0,ref_key:"inputRef",ref:S,name:f.name,class:ve(W.value),inputmode:s(r).enabled?"text":"none",placeholder:f.placeholder,disabled:f.disabled,readonly:f.readonly,required:f.required,value:e.inputValue,autocomplete:f.autocomplete,"aria-label":(ne=s(l))==null?void 0:ne.input,"aria-disabled":f.disabled||void 0,"aria-invalid":f.state===!1?!0:void 0,onInput:q,onKeydown:[Pe(te,["enter"]),Pe(ie,["tab"]),k],onBlur:j,onFocus:me,onKeypress:k,onPaste:z},null,42,ep)),_("div",{onClick:F[2]||(F[2]=ue=>n("toggle"))},[f.$slots["input-icon"]&&!f.hideInputIcon?(u(),m("span",{key:0,class:"dp__input_icon",onClick:F[0]||(F[0]=ue=>n("toggle"))},[$(f.$slots,"input-icon")])):x("",!0),!f.$slots["input-icon"]&&!f.hideInputIcon&&!f.$slots["dp-input"]?(u(),re(s(ga),{key:1,class:"dp__input_icon dp__input_icons",onClick:F[1]||(F[1]=ue=>n("toggle"))})):x("",!0)]),f.$slots["clear-icon"]&&e.inputValue&&f.clearable&&!f.disabled&&!f.readonly?(u(),m("span",tp,[$(f.$slots,"clear-icon",{clear:se})])):x("",!0),f.clearable&&!f.$slots["clear-icon"]&&e.inputValue&&!f.disabled&&!f.readonly?(u(),re(s(ur),{key:3,class:"dp__clear_icon dp__input_icons",onClick:F[3]||(F[3]=Ye(ue=>se(ue),["prevent"]))})):x("",!0)])):x("",!0)])}}}),np=["title"],op=["disabled"],rp=U({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...bt},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:i,defaultedInline:c,defaultedRange:y,defaultedMultiDates:h,getDefaultPattern:v}=We(n),{isTimeValid:p,isMonthValid:b}=Jt(n),{buildMatrix:w}=Xt(),S=V(null),L=V(null),ee=V(!1),W=V({}),C=V(null),E=V(null);Ue(()=>{n.arrowNavigation&&w([at(S),at(L)],"actionRow"),X(),window.addEventListener("resize",X)}),Qt(()=>{window.removeEventListener("resize",X)});const X=()=>{ee.value=!1,setTimeout(()=>{var k,f;const F=(k=C.value)==null?void 0:k.getBoundingClientRect(),ne=(f=E.value)==null?void 0:f.getBoundingClientRect();F&&ne&&(W.value.maxWidth=`${ne.width-F.width-20}px`),ee.value=!0},0)},z=T(()=>y.value.enabled&&!y.value.partialRange&&n.internalModelValue?n.internalModelValue.length===2:!0),I=T(()=>!p.value(n.internalModelValue)||!b.value(n.internalModelValue)||!z.value),q=()=>{const k=r.value;return n.timePicker||n.monthPicker,k(ot(n.internalModelValue))},te=()=>{const k=n.internalModelValue;return l.value.count>0?`${ie(k[0])} - ${ie(k[1])}`:[ie(k[0]),ie(k[1])]},ie=k=>_r(k,r.value,n.formatLocale,i.value.rangeSeparator,n.modelAuto,v()),me=T(()=>!n.internalModelValue||!n.menuMount?"":typeof r.value=="string"?Array.isArray(n.internalModelValue)?n.internalModelValue.length===2&&n.internalModelValue[1]?te():h.value.enabled?n.internalModelValue.map(k=>`${ie(k)}`):n.modelAuto?`${ie(n.internalModelValue[0])}`:`${ie(n.internalModelValue[0])} -`:ie(n.internalModelValue):q()),B=()=>h.value.enabled?"; ":" - ",j=T(()=>Array.isArray(me.value)?me.value.join(B()):me.value),se=()=>{p.value(n.internalModelValue)&&b.value(n.internalModelValue)&&z.value?t("select-date"):t("invalid-select")};return(k,f)=>(u(),m("div",{ref_key:"actionRowRef",ref:E,class:"dp__action_row"},[k.$slots["action-row"]?$(k.$slots,"action-row",Ke(Oe({key:0},{internalModelValue:k.internalModelValue,disabled:I.value,selectDate:()=>k.$emit("select-date"),closePicker:()=>k.$emit("close-picker")}))):(u(),m(de,{key:1},[s(o).showPreview?(u(),m("div",{key:0,class:"dp__selection_preview",title:j.value,style:dt(W.value)},[k.$slots["action-preview"]&&ee.value?$(k.$slots,"action-preview",{key:0,value:k.internalModelValue}):x("",!0),!k.$slots["action-preview"]&&ee.value?(u(),m(de,{key:1},[Ne(le(j.value),1)],64)):x("",!0)],12,np)):x("",!0),_("div",{ref_key:"actionBtnContainer",ref:C,class:"dp__action_buttons","data-dp-element":"action-row"},[k.$slots["action-buttons"]?$(k.$slots,"action-buttons",{key:0,value:k.internalModelValue}):x("",!0),k.$slots["action-buttons"]?x("",!0):(u(),m(de,{key:1},[!s(c).enabled&&s(o).showCancel?(u(),m("button",{key:0,ref_key:"cancelButtonRef",ref:S,type:"button",class:"dp__action_button dp__action_cancel",onClick:f[0]||(f[0]=F=>k.$emit("close-picker")),onKeydown:[f[1]||(f[1]=Pe(F=>k.$emit("close-picker"),["enter"])),f[2]||(f[2]=Pe(F=>k.$emit("close-picker"),["space"]))]},le(k.cancelText),545)):x("",!0),s(o).showNow?(u(),m("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:f[3]||(f[3]=F=>k.$emit("select-now")),onKeydown:[f[4]||(f[4]=Pe(F=>k.$emit("select-now"),["enter"])),f[5]||(f[5]=Pe(F=>k.$emit("select-now"),["space"]))]},le(k.nowButtonLabel),33)):x("",!0),s(o).showSelect?(u(),m("button",{key:2,ref_key:"selectButtonRef",ref:L,type:"button",class:"dp__action_button dp__action_select",disabled:I.value,onKeydown:[Pe(se,["enter"]),Pe(se,["space"])],onClick:se},le(k.selectText),41,op)):x("",!0)],64))],512)],64))],512))}}),lp=["onKeydown"],sp={class:"dp__selection_grid_header"},ip=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],up=["aria-label"],Va=U({__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:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:t}){const{setSelectionGrid:n,buildMultiLevelMatrix:o,setMonthPicker:r}=Xt(),l=t,i=e,{defaultedAriaLabels:c,defaultedTextInput:y,defaultedConfig:h}=We(i),{hideNavigationButtons:v}=Qa(),p=V(!1),b=V(null),w=V(null),S=V([]),L=V(),ee=V(null),W=V(0),C=V(null);zr(()=>{b.value=null}),Ue(()=>{ht().then(()=>me()),i.noOverlayFocus||X(),E(!0)}),Qt(()=>E(!1));const E=Z=>{var A;i.arrowNavigation&&((A=i.headerRefs)!=null&&A.length?r(Z):n(Z))},X=()=>{var Z;const A=at(w);A&&(y.value.enabled||(b.value?(Z=b.value)==null||Z.focus({preventScroll:!0}):A.focus({preventScroll:!0})),p.value=A.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!i.useRelative,"dp--overlay-relative":i.useRelative})),I=T(()=>i.useRelative?{height:`${i.height}px`,width:"260px"}:void 0),q=T(()=>({dp__overlay_col:!0})),te=T(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:p.value,dp__button_bottom:i.isLast})),ie=T(()=>{var Z,A;return{dp__overlay_container:!0,dp__container_flex:((Z=i.items)==null?void 0:Z.length)<=6,dp__container_block:((A=i.items)==null?void 0:A.length)>6}});ut(()=>i.items,()=>me(!1),{deep:!0});const me=(Z=!0)=>{ht().then(()=>{const A=at(b),Y=at(w),d=at(ee),P=at(C),g=d?d.getBoundingClientRect().height:0;Y&&(Y.getBoundingClientRect().height?W.value=Y.getBoundingClientRect().height-g:W.value=h.value.modeHeight-g),A&&P&&Z&&(P.scrollTop=A.offsetTop-P.offsetTop-(W.value/2-A.getBoundingClientRect().height)-g)})},B=Z=>{Z.disabled||l("selected",Z.value)},j=()=>{l("toggle"),l("reset-flow")},se=()=>{i.escClose&&j()},k=(Z,A,Y,d)=>{Z&&((A.active||A.value===i.focusValue)&&(b.value=Z),i.arrowNavigation&&(Array.isArray(S.value[Y])?S.value[Y][d]=Z:S.value[Y]=[Z],f()))},f=()=>{var Z,A;const Y=(Z=i.headerRefs)!=null&&Z.length?[i.headerRefs].concat(S.value):S.value.concat([i.skipButtonRef?[]:[ee.value]]);o(ot(Y),(A=i.headerRefs)!=null&&A.length?"monthPicker":"selectionGrid")},F=Z=>{i.arrowNavigation||Ut(Z,h.value,!0)},ne=Z=>{L.value=Z,l("hover-value",Z)},ue=()=>{if(j(),!i.isLast){const Z=_v(i.menuWrapRef??null,"action-row");if(Z){const A=mr(Z);A==null||A.focus()}}};return a({focusGrid:X}),(Z,A)=>{var Y;return u(),m("div",{ref_key:"gridWrapRef",ref:w,class:ve(z.value),style:dt(I.value),role:"dialog",tabindex:"0",onKeydown:[Pe(Ye(se,["prevent"]),["esc"]),A[0]||(A[0]=Pe(Ye(d=>F(d),["prevent"]),["left"])),A[1]||(A[1]=Pe(Ye(d=>F(d),["prevent"]),["up"])),A[2]||(A[2]=Pe(Ye(d=>F(d),["prevent"]),["down"])),A[3]||(A[3]=Pe(Ye(d=>F(d),["prevent"]),["right"]))]},[_("div",{ref_key:"containerRef",ref:C,class:ve(ie.value),role:"grid",style:dt({height:`${W.value}px`})},[_("div",sp,[$(Z.$slots,"header")]),Z.$slots.overlay?$(Z.$slots,"overlay",{key:0}):(u(!0),m(de,{key:1},be(Z.items,(d,P)=>(u(),m("div",{key:P,class:ve(["dp__overlay_row",{dp__flex_row:Z.items.length>=3}]),role:"row"},[(u(!0),m(de,null,be(d,(g,R)=>(u(),m("div",{key:g.value,ref_for:!0,ref:_e=>k(_e,g,P,R),role:"gridcell",class:ve(q.value),"aria-selected":g.active||void 0,"aria-disabled":g.disabled||void 0,tabindex:"0",onClick:_e=>B(g),onKeydown:[Pe(Ye(_e=>B(g),["prevent"]),["enter"]),Pe(Ye(_e=>B(g),["prevent"]),["space"])],onMouseover:_e=>ne(g.value)},[_("div",{class:ve(g.className)},[Z.$slots.item?$(Z.$slots,"item",{key:0,item:g}):x("",!0),Z.$slots.item?x("",!0):(u(),m(de,{key:1},[Ne(le(g.text),1)],64))],2)],42,ip))),128))],2))),128))],6),Z.$slots["button-icon"]?ca((u(),m("button",{key:0,ref_key:"toggleButton",ref:ee,type:"button","aria-label":(Y=s(c))==null?void 0:Y.toggleOverlay,class:ve(te.value),tabindex:"0",onClick:j,onKeydown:[Pe(j,["enter"]),Pe(ue,["tab"])]},[$(Z.$slots,"button-icon")],42,up)),[[La,!s(v)(Z.hideNavigation,Z.type)]]):x("",!0)],46,lp)}}}),Xa=U({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const a=e,t=T(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),n=T(()=>({dp__instance_calendar:a.multiCalendars>0}));return(o,r)=>(u(),m("div",{class:ve({dp__menu_inner:!o.stretch,"dp--menu--inner-stretched":o.stretch,dp__flex_display:o.multiCalendars>0,"dp--flex-display-collapsed":o.collapse})},[(u(!0),m(de,null,be(t.value,(l,i)=>(u(),m("div",{key:l,class:ve(n.value)},[$(o.$slots,"default",{instance:l,index:i})],2))),128))],2))}}),dp=["aria-label","aria-disabled"],$a=U({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const t=a,n=V(null);return Ue(()=>t("set-ref",n)),(o,r)=>(u(),m("button",{ref_key:"elRef",ref:n,type:"button",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]=Pe(Ye(l=>o.$emit("activate"),["prevent"]),["enter"])),r[2]||(r[2]=Pe(Ye(l=>o.$emit("activate"),["prevent"]),["space"]))]},[_("span",{class:ve(["dp__inner_nav",{dp__inner_nav_disabled:o.disabled}])},[$(o.$slots,"default")],2)],40,dp))}}),cp={class:"dp--year-mode-picker"},mp=["aria-label"],$r=U({__name:"YearModePicker",props:{...bt,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}=Qa(),{defaultedConfig:l,defaultedMultiCalendars:i,defaultedAriaLabels:c,defaultedTransitions:y}=We(n),{showTransition:h,transitionName:v}=Aa(y),p=(S=!1,L)=>{t("toggle-year-picker",{flow:S,show:L})},b=S=>{t("year-select",S)},w=(S=!1)=>{t("handle-year",S)};return(S,L)=>{var ee,W,C;return u(),m("div",cp,[s(r)(s(i),e.instance)?(u(),re($a,{key:0,ref:"mpPrevIconRef","aria-label":(ee=s(c))==null?void 0:ee.prevYear,disabled:e.isDisabled(!1),onActivate:L[0]||(L[0]=E=>w(!1))},{default:D(()=>[S.$slots["arrow-left"]?$(S.$slots,"arrow-left",{key:0}):x("",!0),S.$slots["arrow-left"]?x("",!0):(u(),re(s(zn),{key:1}))]),_:3},8,["aria-label","disabled"])):x("",!0),_("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":(W=s(c))==null?void 0:W.openYearsOverlay,onClick:L[1]||(L[1]=()=>p(!1)),onKeydown:L[2]||(L[2]=Pe(()=>p(!1),["enter"]))},[S.$slots.year?$(S.$slots,"year",{key:0,year:e.year}):x("",!0),S.$slots.year?x("",!0):(u(),m(de,{key:1},[Ne(le(e.year),1)],64))],40,mp),s(o)(s(i),e.instance)?(u(),re($a,{key:1,ref:"mpNextIconRef","aria-label":(C=s(c))==null?void 0:C.nextYear,disabled:e.isDisabled(!0),onActivate:L[3]||(L[3]=E=>w(!0))},{default:D(()=>[S.$slots["arrow-right"]?$(S.$slots,"arrow-right",{key:0}):x("",!0),S.$slots["arrow-right"]?x("",!0):(u(),re(s(qn),{key:1}))]),_:3},8,["aria-label","disabled"])):x("",!0),G(Et,{name:s(v)(e.showYearPicker),css:s(h)},{default:D(()=>[e.showYearPicker?(u(),re(Va,{key:0,items:e.items,"text-input":S.textInput,"esc-close":S.escClose,config:S.config,"is-last":S.autoApply&&!s(l).keepActionRow,"hide-navigation":S.hideNavigation,"aria-labels":S.ariaLabels,type:"year",onToggle:p,onSelected:L[4]||(L[4]=E=>b(E))},rt({"button-icon":D(()=>[S.$slots["calendar-icon"]?$(S.$slots,"calendar-icon",{key:0}):x("",!0),S.$slots["calendar-icon"]?x("",!0):(u(),re(s(ga),{key:1}))]),_:2},[S.$slots["year-overlay-value"]?{name:"item",fn:D(({item:E})=>[$(S.$slots,"year-overlay-value",{text:E.text,value:E.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels"])):x("",!0)]),_:3},8,["name","css"])])}}}),Zn=(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]},eo=(e,a,t)=>{let n=e.value?e.value.slice():[];return n.length===2&&n[1]!==null&&(n=[]),n.length?ze(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},Ja=(e,a,t,n)=>{e&&(e[0]&&e[1]&&t&&a("auto-apply"),e[0]&&!e[1]&&n&&t&&a("auto-apply"))},Dr=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>Rt(Q(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=Rt(Q(e.value),e.timezone))},Pr=(e,a,t,n)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&n.value.partialRange)?n.value.fixedStart&&(Qe(e,a.value[0])||Ve(e,a.value[0]))?[a.value[0],e]:n.value.fixedEnd&&(ze(e,a.value[1])||Ve(e,a.value[1]))?[e,a.value[1]]:(t("invalid-fixed-range",e),a.value):[],Mr=({multiCalendars:e,highlight:a,propDates:t,calendars:n,modelValue:o,props:r,filters:l,year:i,month:c,emit:y})=>{const h=T(()=>Gn(r.yearRange,r.locale,r.reverseYears)),v=V([!1]),p=T(()=>(z,I)=>{const q=Be(gt(new Date),{month:c.value(z),year:i.value(z)});return gr(q,t.value.maxDate,t.value.minDate,r.preventMinMaxNavigation,I)}),b=()=>{for(let z=0;z{if(!z)return b();const I=Be(Q(),n.value[z]);return n.value[0].year=De(ir(I,e.value.count-1)),b()},S=z=>r.focusStartDate?z[0]:z[1]?z[1]:z[0],L=()=>{if(o.value){const z=Array.isArray(o.value)?S(o.value):o.value;n.value[0]={month:Te(z),year:De(z)}}};Ue(()=>{L(),e.value.count&&b()});const ee=(z,I)=>{n.value[I].year=z,e.value.count&&!e.value.solo&&w(I)},W=T(()=>z=>fa(h.value,I=>{var q;const te=i.value(z)===I.value,ie=Ta(I.value,ha(t.value.minDate),ha(t.value.maxDate))||((q=l.value.years)==null?void 0:q.includes(i.value(z))),me=Kn(a.value,I.value);return{active:te,disabled:ie,highlighted:me}})),C=(z,I)=>{ee(z,I),X(I)},E=(z,I=!1)=>{if(!p.value(z,I)){const q=I?i.value(z)+1:i.value(z)-1;ee(q,z)}},X=(z,I=!1,q)=>{I||y("reset-flow"),q!==void 0?v.value[z]=q:v.value[z]=!v.value[z],v.value||y("overlay-closed")};return{isDisabled:p,groupedYears:W,showYearPicker:v,selectYear:ee,toggleYearPicker:X,handleYearSelect:C,handleYear:E}},vp=(e,a)=>{const{defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,defaultedRange:l,defaultedHighlight:i,propDates:c,defaultedTz:y,defaultedFilters:h,defaultedMultiDates:v}=We(e),{modelValue:p,year:b,month:w,calendars:S}=Ca(e,a),L=T(()=>dr(e.formatLocale,e.locale,e.monthNameFormat)),ee=V(null),{checkMinMaxRange:W}=Jt(e),{selectYear:C,groupedYears:E,showYearPicker:X,toggleYearPicker:z,handleYearSelect:I,handleYear:q,isDisabled:te}=Mr({modelValue:p,multiCalendars:t,highlight:i,calendars:S,year:b,propDates:c,month:w,filters:h,props:e,emit:a});Ue(()=>{e.startDate&&(p.value&&e.focusStartDate||!p.value)&&C(De(Q(e.startDate)),0)});const ie=d=>d?{month:Te(d),year:De(d)}:{month:null,year:null},me=()=>p.value?Array.isArray(p.value)?p.value.map(d=>ie(d)):ie(p.value):ie(),B=(d,P)=>{const g=S.value[d],R=me();return Array.isArray(R)?R.some(_e=>_e.year===(g==null?void 0:g.year)&&_e.month===P):(g==null?void 0:g.year)===R.year&&P===R.month},j=(d,P,g)=>{var R,_e;const Ie=me();return Array.isArray(Ie)?b.value(P)===((R=Ie[g])==null?void 0:R.year)&&d===((_e=Ie[g])==null?void 0:_e.month):!1},se=(d,P)=>{if(l.value.enabled){const g=me();if(Array.isArray(p.value)&&Array.isArray(g)){const R=j(d,P,0)||j(d,P,1),_e=Lt(gt(Q()),d,b.value(P));return ja(p.value,ee.value,_e)&&!R}return!1}return!1},k=T(()=>d=>fa(L.value,P=>{var g;const R=B(d,P.value),_e=Ta(P.value,pr(b.value(d),c.value.minDate),fr(b.value(d),c.value.maxDate))||Tv(c.value.disabledDates,b.value(d)).includes(P.value)||((g=h.value.months)==null?void 0:g.includes(P.value)),Ie=se(P.value,d),O=br(i.value,P.value,b.value(d));return{active:R,disabled:_e,isBetween:Ie,highlighted:O}})),f=(d,P)=>Lt(gt(Q()),d,b.value(P)),F=(d,P)=>{const g=p.value?p.value:gt(new Date);p.value=Lt(g,d,b.value(P)),a("auto-apply"),a("update-flow-step")},ne=(d,P)=>{const g=f(d,P);l.value.fixedEnd||l.value.fixedStart?p.value=Pr(g,p,a,l):p.value?W(g,p.value)&&(p.value=eo(p,f(d,P),a)):p.value=[f(d,P)],ht().then(()=>{Ja(p.value,a,e.autoApply,e.modelAuto)})},ue=(d,P)=>{Zn(f(d,P),p,v.value.limit),a("auto-apply",!0)},Z=(d,P)=>(S.value[P].month=d,Y(P,S.value[P].year,d),v.value.enabled?ue(d,P):l.value.enabled?ne(d,P):F(d,P)),A=(d,P)=>{C(d,P),Y(P,d,null)},Y=(d,P,g)=>{let R=g;if(!R&&R!==0){const _e=me();R=Array.isArray(_e)?_e[d].month:_e.month}a("update-month-year",{instance:d,year:P,month:R})};return{groupedMonths:k,groupedYears:E,year:b,isDisabled:te,defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,showYearPicker:X,modelValue:p,presetDate:(d,P)=>{Dr({value:d,modelValue:p,range:l.value.enabled,timezone:P?void 0:y.value.timezone}),a("auto-apply")},setHoverDate:(d,P)=>{ee.value=f(d,P)},selectMonth:Z,selectYear:A,toggleYearPicker:z,handleYearSelect:I,handleYear:q,getModelMonthYear:me}},pp=U({compatConfig:{MODE:3},__name:"MonthPicker",props:{...bt},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"],setup(e,{expose:a,emit:t}){const n=t,o=Gt(),r=ct(o,"yearMode"),l=e;Ue(()=>{l.shadow||n("mount",null)});const{groupedMonths:i,groupedYears:c,year:y,isDisabled:h,defaultedMultiCalendars:v,defaultedConfig:p,showYearPicker:b,modelValue:w,presetDate:S,setHoverDate:L,selectMonth:ee,selectYear:W,toggleYearPicker:C,handleYearSelect:E,handleYear:X,getModelMonthYear:z}=vp(l,n);return a({getSidebarProps:()=>({modelValue:w,year:y,getModelMonthYear:z,selectMonth:ee,selectYear:W,handleYear:X}),presetDate:S,toggleYearPicker:I=>C(0,I)}),(I,q)=>(u(),re(Xa,{"multi-calendars":s(v).count,collapse:I.collapse,stretch:""},{default:D(({instance:te})=>[I.$slots["month-year"]?$(I.$slots,"month-year",Ke(Oe({key:0},{year:s(y),months:s(i)(te),years:s(c)(te),selectMonth:s(ee),selectYear:s(W),instance:te}))):(u(),re(Va,{key:1,items:s(i)(te),"arrow-navigation":I.arrowNavigation,"is-last":I.autoApply&&!s(p).keepActionRow,"esc-close":I.escClose,height:s(p).modeHeight,config:I.config,"no-overlay-focus":!!(I.noOverlayFocus||I.textInput),"use-relative":"",type:"month",onSelected:ie=>s(ee)(ie,te),onHoverValue:ie=>s(L)(ie,te)},{header:D(()=>[G($r,Oe(I.$props,{items:s(c)(te),instance:te,"show-year-picker":s(b)[te],year:s(y)(te),"is-disabled":ie=>s(h)(te,ie),onHandleYear:ie=>s(X)(te,ie),onYearSelect:ie=>s(E)(ie,te),onToggleYearPicker:ie=>s(C)(te,ie==null?void 0:ie.flow,ie==null?void 0:ie.show)}),rt({_:2},[be(s(r),(ie,me)=>({name:ie,fn:D(B=>[$(I.$slots,ie,Ke(it(B)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),fp=(e,a)=>{const{modelValue:t}=Ca(e,a),n=V(null),{defaultedHighlight:o,defaultedMultiDates:r,defaultedFilters:l,defaultedRange:i,propDates:c}=We(e),y=V();Ue(()=>{e.startDate&&(t.value&&e.focusStartDate||!t.value)&&(y.value=De(Q(e.startDate)))});const h=w=>Array.isArray(t.value)?t.value.some(S=>De(S)===w):t.value?De(t.value)===w:!1,v=w=>i.value.enabled&&Array.isArray(t.value)?ja(t.value,n.value,b(w)):!1,p=T(()=>fa(Gn(e.yearRange,e.locale,e.reverseYears),w=>{const S=h(w.value),L=Ta(w.value,ha(c.value.minDate),ha(c.value.maxDate))||l.value.years.includes(w.value),ee=v(w.value)&&!S,W=Kn(o.value,w.value);return{active:S,disabled:L,isBetween:ee,highlighted:W}})),b=w=>Tt(gt(new Date),w);return{groupedYears:p,modelValue:t,focusYear:y,setHoverValue:w=>{n.value=Tt(gt(new Date),w)},selectYear:w=>{var S;if(a("update-month-year",{instance:0,year:w}),r.value.enabled)return t.value?Array.isArray(t.value)&&(((S=t.value)==null?void 0:S.map(L=>De(L))).includes(w)?t.value=t.value.filter(L=>De(L)!==w):t.value.push(Tt(vt(Q()),w))):t.value=[Tt(vt(Q()),w)],a("auto-apply",!0);i.value.enabled?(t.value=eo(t,b(w),a),ht().then(()=>{Ja(t.value,a,e.autoApply,e.modelAuto)})):(t.value=b(w),a("auto-apply"))}}},hp=U({compatConfig:{MODE:3},__name:"YearPicker",props:{...bt},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:i,selectYear:c,setHoverValue:y}=fp(o,n),{defaultedConfig:h}=We(o);return a({getSidebarProps:()=>({modelValue:l,selectYear:c})}),(v,p)=>(u(),m("div",null,[v.$slots["month-year"]?$(v.$slots,"month-year",Ke(Oe({key:0},{years:s(r),selectYear:s(c)}))):(u(),re(Va,{key:1,items:s(r),"is-last":v.autoApply&&!s(h).keepActionRow,height:s(h).modeHeight,config:v.config,"no-overlay-focus":!!(v.noOverlayFocus||v.textInput),"focus-value":s(i),type:"year","use-relative":"",onSelected:s(c),onHoverValue:s(y)},rt({_:2},[v.$slots["year-overlay-value"]?{name:"item",fn:D(({item:b})=>[$(v.$slots,"year-overlay-value",{text:b.text,value:b.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),yp={key:0,class:"dp__time_input"},gp=["aria-label","onKeydown","onClick"],_p=_("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),bp=_("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),kp=["aria-label","disabled","onKeydown","onClick"],wp=["aria-label","onKeydown","onClick"],$p=_("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Dp=_("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Pp={key:0},Mp=["aria-label","onKeydown"],Tp=U({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},...bt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,{setTimePickerElements:r,setTimePickerBackRef:l}=Xt(),{defaultedAriaLabels:i,defaultedTransitions:c,defaultedFilters:y,defaultedConfig:h,defaultedRange:v}=We(o),{transitionName:p,showTransition:b}=Aa(c),w=Sa({hours:!1,minutes:!1,seconds:!1}),S=V("AM"),L=V(null),ee=V([]);Ue(()=>{n("mounted")});const W=O=>Be(new Date,{hours:O.hours,minutes:O.minutes,seconds:o.enableSeconds?O.seconds:0,milliseconds:0}),C=T(()=>O=>k(O,o[O])||X(O,o[O])),E=T(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),X=(O,H)=>v.value.enabled&&!v.value.disableTimeRangeValidation?!o.validateTime(O,H):!1,z=(O,H)=>{if(v.value.enabled&&!v.value.disableTimeRangeValidation){const ke=H?+o[`${O}Increment`]:-+o[`${O}Increment`],M=o[O]+ke;return!o.validateTime(O,M)}return!1},I=T(()=>O=>!ue(+o[O]+ +o[`${O}Increment`],O)||z(O,!0)),q=T(()=>O=>!ue(+o[O]-+o[`${O}Increment`],O)||z(O,!1)),te=(O,H)=>Ho(Be(Q(),O),H),ie=(O,H)=>cv(Be(Q(),O),H),me=T(()=>({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})),B=T(()=>{const O=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return o.enableSeconds?O.concat([{type:"",separator:!0},{type:"seconds"}]):O}),j=T(()=>B.value.filter(O=>!O.separator)),se=T(()=>O=>{if(O==="hours"){const H=P(+o.hours);return{text:H<10?`0${H}`:`${H}`,value:H}}return{text:o[O]<10?`0${o[O]}`:`${o[O]}`,value:o[O]}}),k=(O,H)=>{var ke;if(!o.disabledTimesConfig)return!1;const M=o.disabledTimesConfig(o.order,O==="hours"?H:void 0);return M[O]?!!((ke=M[O])!=null&&ke.includes(H)):!0},f=O=>{const H=o.is24?24:12,ke=O==="hours"?H:60,M=+o[`${O}GridIncrement`],J=O==="hours"&&!o.is24?M:0,ge=[];for(let Me=J;Me({active:!1,disabled:y.value.times[O].includes(Me.value)||!ue(Me.value,O)||k(O,Me.value)||X(O,Me.value)}))},F=O=>O>=0?O:59,ne=O=>O>=0?O:23,ue=(O,H)=>{const ke=o.minTime?W(ln(o.minTime)):null,M=o.maxTime?W(ln(o.maxTime)):null,J=W(ln(E.value,H,H==="minutes"||H==="seconds"?F(O):ne(O)));return ke&&M?(Ma(J,M)||aa(J,M))&&(Pa(J,ke)||aa(J,ke)):ke?Pa(J,ke)||aa(J,ke):M?Ma(J,M)||aa(J,M):!0},Z=O=>o[`no${O[0].toUpperCase()+O.slice(1)}Overlay`],A=O=>{Z(O)||(w[O]=!w[O],w[O]||n("overlay-closed"))},Y=O=>O==="hours"?_t:O==="minutes"?At:pa,d=(O,H=!0)=>{const ke=H?te:ie,M=H?+o[`${O}Increment`]:-+o[`${O}Increment`];ue(+o[O]+M,O)&&n(`update:${O}`,Y(O)(ke({[O]:+o[O]},{[O]:+o[`${O}Increment`]})))},P=O=>o.is24?O:(O>=12?S.value="PM":S.value="AM",pv(O)),g=()=>{S.value==="PM"?(S.value="AM",n("update:hours",o.hours-12)):(S.value="PM",n("update:hours",o.hours+12)),n("am-pm-change",S.value)},R=O=>{w[O]=!0},_e=(O,H,ke)=>{if(O&&o.arrowNavigation){Array.isArray(ee.value[H])?ee.value[H][ke]=O:ee.value[H]=[O];const M=ee.value.reduce((J,ge)=>ge.map((Me,he)=>[...J[he]||[],ge[he]]),[]);l(o.closeTimePickerBtn),L.value&&(M[1]=M[1].concat(L.value)),r(M,o.order)}},Ie=(O,H)=>(A(O),O==="hours"&&!o.is24?n(`update:${O}`,S.value==="PM"?H+12:H):n(`update:${O}`,H));return a({openChildCmp:R}),(O,H)=>{var ke;return O.disabled?x("",!0):(u(),m("div",yp,[(u(!0),m(de,null,be(B.value,(M,J)=>{var ge,Me,he;return u(),m("div",{key:J,class:ve(me.value)},[M.separator?(u(),m(de,{key:0},[Ne(" : ")],64)):(u(),m(de,{key:1},[_("button",{ref_for:!0,ref:oe=>_e(oe,J,0),type:"button",class:ve({dp__btn:!0,dp__inc_dec_button:!O.timePickerInline,dp__inc_dec_button_inline:O.timePickerInline,dp__tp_inline_btn_top:O.timePickerInline,dp__inc_dec_button_disabled:I.value(M.type)}),"aria-label":(ge=s(i))==null?void 0:ge.incrementValue(M.type),tabindex:"0",onKeydown:[Pe(Ye(oe=>d(M.type),["prevent"]),["enter"]),Pe(Ye(oe=>d(M.type),["prevent"]),["space"])],onClick:oe=>d(M.type)},[o.timePickerInline?(u(),m(de,{key:1},[_p,bp],64)):(u(),m(de,{key:0},[O.$slots["arrow-up"]?$(O.$slots,"arrow-up",{key:0}):x("",!0),O.$slots["arrow-up"]?x("",!0):(u(),re(s(jn),{key:1}))],64))],42,gp),_("button",{ref_for:!0,ref:oe=>_e(oe,J,1),type:"button","aria-label":(Me=s(i))==null?void 0:Me.openTpOverlay(M.type),class:ve({dp__time_display:!0,dp__time_display_block:!O.timePickerInline,dp__time_display_inline:O.timePickerInline,"dp--time-invalid":C.value(M.type),"dp--time-overlay-btn":!C.value(M.type)}),disabled:Z(M.type),tabindex:"0",onKeydown:[Pe(Ye(oe=>A(M.type),["prevent"]),["enter"]),Pe(Ye(oe=>A(M.type),["prevent"]),["space"])],onClick:oe=>A(M.type)},[O.$slots[M.type]?$(O.$slots,M.type,{key:0,text:se.value(M.type).text,value:se.value(M.type).value}):x("",!0),O.$slots[M.type]?x("",!0):(u(),m(de,{key:1},[Ne(le(se.value(M.type).text),1)],64))],42,kp),_("button",{ref_for:!0,ref:oe=>_e(oe,J,2),type:"button",class:ve({dp__btn:!0,dp__inc_dec_button:!O.timePickerInline,dp__inc_dec_button_inline:O.timePickerInline,dp__tp_inline_btn_bottom:O.timePickerInline,dp__inc_dec_button_disabled:q.value(M.type)}),"aria-label":(he=s(i))==null?void 0:he.decrementValue(M.type),tabindex:"0",onKeydown:[Pe(Ye(oe=>d(M.type,!1),["prevent"]),["enter"]),Pe(Ye(oe=>d(M.type,!1),["prevent"]),["space"])],onClick:oe=>d(M.type,!1)},[o.timePickerInline?(u(),m(de,{key:1},[$p,Dp],64)):(u(),m(de,{key:0},[O.$slots["arrow-down"]?$(O.$slots,"arrow-down",{key:0}):x("",!0),O.$slots["arrow-down"]?x("",!0):(u(),re(s(Qn),{key:1}))],64))],42,wp)],64))],2)}),128)),O.is24?x("",!0):(u(),m("div",Pp,[O.$slots["am-pm-button"]?$(O.$slots,"am-pm-button",{key:0,toggle:g,value:S.value}):x("",!0),O.$slots["am-pm-button"]?x("",!0):(u(),m("button",{key:1,ref_key:"amPmButton",ref:L,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(ke=s(i))==null?void 0:ke.amPmButton,tabindex:"0",onClick:g,onKeydown:[Pe(Ye(g,["prevent"]),["enter"]),Pe(Ye(g,["prevent"]),["space"])]},le(S.value),41,Mp))])),(u(!0),m(de,null,be(j.value,(M,J)=>(u(),re(Et,{key:J,name:s(p)(w[M.type]),css:s(b)},{default:D(()=>[w[M.type]?(u(),re(Va,{key:0,items:f(M.type),"is-last":O.autoApply&&!s(h).keepActionRow,"esc-close":O.escClose,type:M.type,"text-input":O.textInput,config:O.config,"arrow-navigation":O.arrowNavigation,"aria-labels":O.ariaLabels,onSelected:ge=>Ie(M.type,ge),onToggle:ge=>A(M.type),onResetFlow:H[0]||(H[0]=ge=>O.$emit("reset-flow"))},rt({"button-icon":D(()=>[O.$slots["clock-icon"]?$(O.$slots,"clock-icon",{key:0}):x("",!0),O.$slots["clock-icon"]?x("",!0):(u(),re(St(O.timePickerInline?s(ga):s(Un)),{key:1}))]),_:2},[O.$slots[`${M.type}-overlay-value`]?{name:"item",fn:D(({item:ge})=>[$(O.$slots,`${M.type}-overlay-value`,{text:ge.text,value:ge.value})]),key:"0"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","onSelected","onToggle"])):x("",!0)]),_:2},1032,["name","css"]))),128))]))}}}),Sp={class:"dp--tp-wrap"},xp=["aria-label","tabindex"],Ap=["tabindex"],Cp=["aria-label"],Tr=U({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},...bt},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}=Xt(),i=Gt(),{defaultedTransitions:c,defaultedAriaLabels:y,defaultedTextInput:h,defaultedConfig:v,defaultedRange:p}=We(o),{transitionName:b,showTransition:w}=Aa(c),{hideNavigationButtons:S}=Qa(),L=V(null),ee=V(null),W=V([]),C=V(null);Ue(()=>{n("mount"),!o.timePicker&&o.arrowNavigation?r([at(L.value)],"time"):l(!0,o.timePicker)});const E=T(()=>p.value.enabled&&o.modelAuto?cr(o.internalModelValue):!0),X=V(!1),z=f=>({hours:Array.isArray(o.hours)?o.hours[f]:o.hours,minutes:Array.isArray(o.minutes)?o.minutes[f]:o.minutes,seconds:Array.isArray(o.seconds)?o.seconds[f]:o.seconds}),I=T(()=>{const f=[];if(p.value.enabled)for(let F=0;F<2;F++)f.push(z(F));else f.push(z(0));return f}),q=(f,F=!1,ne="")=>{F||n("reset-flow"),X.value=f,n(f?"overlay-opened":"overlay-closed"),o.arrowNavigation&&l(f),ht(()=>{ne!==""&&W.value[0]&&W.value[0].openChildCmp(ne)})},te=T(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!v.value.keepActionRow})),ie=ct(i,"timePicker"),me=(f,F,ne)=>p.value.enabled?F===0?[f,I.value[1][ne]]:[I.value[0][ne],f]:f,B=f=>{n("update:hours",f)},j=f=>{n("update:minutes",f)},se=f=>{n("update:seconds",f)},k=()=>{if(C.value&&!h.value.enabled&&!o.noOverlayFocus){const f=mr(C.value);f&&f.focus({preventScroll:!0})}};return a({toggleTimePicker:q}),(f,F)=>{var ne;return u(),m("div",Sp,[!f.timePicker&&!f.timePickerInline?ca((u(),m("button",{key:0,ref_key:"openTimePickerBtn",ref:L,type:"button",class:ve(te.value),"aria-label":(ne=s(y))==null?void 0:ne.openTimePicker,tabindex:f.noOverlayFocus?void 0:0,onKeydown:[F[0]||(F[0]=Pe(ue=>q(!0),["enter"])),F[1]||(F[1]=Pe(ue=>q(!0),["space"]))],onClick:F[2]||(F[2]=ue=>q(!0))},[f.$slots["clock-icon"]?$(f.$slots,"clock-icon",{key:0}):x("",!0),f.$slots["clock-icon"]?x("",!0):(u(),re(s(Un),{key:1}))],42,xp)),[[La,!s(S)(f.hideNavigation,"time")]]):x("",!0),G(Et,{name:s(b)(X.value),css:s(w)&&!f.timePickerInline},{default:D(()=>{var ue;return[X.value||f.timePicker||f.timePickerInline?(u(),m("div",{key:0,ref_key:"overlayRef",ref:C,class:ve({dp__overlay:!f.timePickerInline,"dp--overlay-absolute":!o.timePicker&&!f.timePickerInline,"dp--overlay-relative":o.timePicker}),style:dt(f.timePicker?{height:`${s(v).modeHeight}px`}:void 0),tabindex:f.timePickerInline?void 0:0},[_("div",{class:ve(f.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[f.$slots["time-picker-overlay"]?$(f.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:B,setMinutes:j,setSeconds:se}):x("",!0),f.$slots["time-picker-overlay"]?x("",!0):(u(),m("div",{key:1,class:ve(f.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(u(!0),m(de,null,be(I.value,(Z,A)=>ca((u(),re(Tp,Oe({key:A},{...f.$props,order:A,hours:Z.hours,minutes:Z.minutes,seconds:Z.seconds,closeTimePickerBtn:ee.value,disabledTimesConfig:e.disabledTimesConfig,disabled:A===0?f.fixedStart:f.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:W,"validate-time":(Y,d)=>e.validateTime(Y,me(d,A,Y)),"onUpdate:hours":Y=>B(me(Y,A,"hours")),"onUpdate:minutes":Y=>j(me(Y,A,"minutes")),"onUpdate:seconds":Y=>se(me(Y,A,"seconds")),onMounted:k,onOverlayClosed:k,onAmPmChange:F[3]||(F[3]=Y=>f.$emit("am-pm-change",Y))}),rt({_:2},[be(s(ie),(Y,d)=>({name:Y,fn:D(P=>[$(f.$slots,Y,Ke(it(P)))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[La,A===0?!0:E.value]])),128))],2)),!f.timePicker&&!f.timePickerInline?ca((u(),m("button",{key:2,ref_key:"closeTimePickerBtn",ref:ee,type:"button",class:ve(te.value),"aria-label":(ue=s(y))==null?void 0:ue.closeTimePicker,tabindex:"0",onKeydown:[F[4]||(F[4]=Pe(Z=>q(!1),["enter"])),F[5]||(F[5]=Pe(Z=>q(!1),["space"]))],onClick:F[6]||(F[6]=Z=>q(!1))},[f.$slots["calendar-icon"]?$(f.$slots,"calendar-icon",{key:0}):x("",!0),f.$slots["calendar-icon"]?x("",!0):(u(),re(s(ga),{key:1}))],42,Cp)),[[La,!s(S)(f.hideNavigation,"time")]]):x("",!0)],2)],14,Ap)):x("",!0)]}),_:3},8,["name","css"])])}}}),Sr=(e,a,t,n)=>{const{defaultedRange:o}=We(e),r=(C,E)=>Array.isArray(a[C])?a[C][E]:a[C],l=C=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[C]:a.seconds:0,i=(C,E)=>C?E!==void 0?jt(C,r("hours",E),r("minutes",E),l(E)):jt(C,a.hours,a.minutes,l()):Wn(Q(),l(E)),c=(C,E)=>{a[C]=E},y=T(()=>e.modelAuto&&o.value.enabled?Array.isArray(t.value)?t.value.length>1:!1:o.value.enabled),h=(C,E)=>{const X=Object.fromEntries(Object.keys(a).map(z=>z===C?[z,E]:[z,a[z]].slice()));if(y.value&&!o.value.disableTimeRangeValidation){const z=q=>t.value?jt(t.value[q],X.hours[q],X.minutes[q],X.seconds[q]):null,I=q=>Hn(t.value[q],0);return!(Ve(z(0),z(1))&&(Pa(z(0),I(1))||Ma(z(1),I(0))))}return!0},v=(C,E)=>{h(C,E)&&(c(C,E),n&&n())},p=C=>{v("hours",C)},b=C=>{v("minutes",C)},w=C=>{v("seconds",C)},S=(C,E,X,z)=>{E&&p(C),!E&&!X&&b(C),X&&w(C),t.value&&z(t.value)},L=C=>{if(C){const E=Array.isArray(C),X=E?[+C[0].hours,+C[1].hours]:+C.hours,z=E?[+C[0].minutes,+C[1].minutes]:+C.minutes,I=E?[+C[0].seconds,+C[1].seconds]:+C.seconds;c("hours",X),c("minutes",z),e.enableSeconds&&c("seconds",I)}},ee=(C,E)=>{const X={hours:Array.isArray(a.hours)?a.hours[C]:a.hours,disabledArr:[]};return(E||E===0)&&(X.hours=E),Array.isArray(e.disabledTimes)&&(X.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[C])?e.disabledTimes[C]:e.disabledTimes),X},W=T(()=>(C,E)=>{var X;if(Array.isArray(e.disabledTimes)){const{disabledArr:z,hours:I}=ee(C,E),q=z.filter(te=>+te.hours===I);return((X=q[0])==null?void 0:X.minutes)==="*"?{hours:[I],minutes:void 0,seconds:void 0}:{hours:[],minutes:(q==null?void 0:q.map(te=>+te.minutes))??[],seconds:(q==null?void 0:q.map(te=>te.seconds?+te.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:p,updateMinutes:b,updateSeconds:w,getSetDateTime:i,updateTimeValues:S,getSecondsValue:l,assignStartTime:L,validateTime:h,disabledTimesConfig:W}},Vp=(e,a)=>{const{modelValue:t,time:n}=Ca(e,a),{defaultedStartTime:o,defaultedRange:r}=We(e),{updateTimeValues:l,getSetDateTime:i,setTime:c,assignStartTime:y,disabledTimesConfig:h,validateTime:v}=Sr(e,n,t),p=C=>{const{hours:E,minutes:X,seconds:z}=C;return{hours:+E,minutes:+X,seconds:z?+z:0}},b=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const E=p(e.startTime[0]),X=p(e.startTime[1]);return[Be(Q(),E),Be(Q(),X)]}const C=p(e.startTime);return Be(Q(),C)}return r.value.enabled?[null,null]:null},w=()=>{if(r.value.enabled){const[C,E]=b();t.value=[i(C,0),i(E,1)]}else t.value=i(b())},S=C=>Array.isArray(C)?[na(Q(C[0])),na(Q(C[1]))]:[na(C??Q())],L=(C,E,X)=>{c("hours",C),c("minutes",E),c("seconds",e.enableSeconds?X:0)},ee=()=>{const[C,E]=S(t.value);return r.value.enabled?L([C.hours,E.hours],[C.minutes,E.minutes],[C.seconds,E.seconds]):L(C.hours,C.minutes,C.seconds)};Ue(()=>{if(!e.shadow)return y(o.value),t.value?ee():w()});const W=()=>{Array.isArray(t.value)?t.value=t.value.map((C,E)=>C&&i(C,E)):t.value=i(t.value),a("time-update")};return{modelValue:t,time:n,disabledTimesConfig:h,updateTime:(C,E=!0,X=!1)=>{l(C,E,X,W)},validateTime:v}},Op=U({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...bt},emits:["update:internal-model-value","time-update","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Gt(),l=ct(r,"timePicker"),{time:i,modelValue:c,disabledTimesConfig:y,updateTime:h,validateTime:v}=Vp(o,n);return a({getSidebarProps:()=>({modelValue:c,time:i,updateTime:h})}),(p,b)=>(u(),re(Xa,{"multi-calendars":0,stretch:""},{default:D(()=>[G(Tr,Oe(p.$props,{hours:s(i).hours,minutes:s(i).minutes,seconds:s(i).seconds,"internal-model-value":p.internalModelValue,"disabled-times-config":s(y),"validate-time":s(v),"onUpdate:hours":b[0]||(b[0]=w=>s(h)(w)),"onUpdate:minutes":b[1]||(b[1]=w=>s(h)(w,!1)),"onUpdate:seconds":b[2]||(b[2]=w=>s(h)(w,!1,!0)),onAmPmChange:b[3]||(b[3]=w=>p.$emit("am-pm-change",w))}),rt({_:2},[be(s(l),(w,S)=>({name:w,fn:D(L=>[$(p.$slots,w,Ke(it(L)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),Np={class:"dp__month_year_row"},Ip=["aria-label","onClick","onKeydown"],Lp=U({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:()=>[]},...bt},emits:["update-month-year","mount","reset-flow","overlay-closed"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTransitions:r,defaultedAriaLabels:l,defaultedMultiCalendars:i,defaultedFilters:c,defaultedConfig:y,defaultedHighlight:h,propDates:v}=We(o),{transitionName:p,showTransition:b}=Aa(r),{buildMatrix:w}=Xt(),{handleMonthYearChange:S,isDisabled:L,updateMonthYear:ee}=jv(o,n),{showLeftIcon:W,showRightIcon:C}=Qa(),E=V(!1),X=V(!1),z=V([null,null,null,null]);Ue(()=>{n("mount")});const I=A=>({get:()=>o[A],set:Y=>{const d=A===yt.month?yt.year:yt.month;n("update-month-year",{[A]:Y,[d]:o[d]}),A===yt.month?k(!0):f(!0)}}),q=T(I(yt.month)),te=T(I(yt.year)),ie=T(()=>A=>({month:o.month,year:o.year,items:A===yt.month?o.months:o.years,instance:o.instance,updateMonthYear:ee,toggle:A===yt.month?k:f})),me=T(()=>o.months.find(Y=>Y.value===o.month)||{text:"",value:0}),B=T(()=>fa(o.months,A=>{const Y=o.month===A.value,d=Ta(A.value,pr(o.year,v.value.minDate),fr(o.year,v.value.maxDate))||c.value.months.includes(A.value),P=br(h.value,A.value,o.year);return{active:Y,disabled:d,highlighted:P}})),j=T(()=>fa(o.years,A=>{const Y=o.year===A.value,d=Ta(A.value,ha(v.value.minDate),ha(v.value.maxDate))||c.value.years.includes(A.value),P=Kn(h.value,A.value);return{active:Y,disabled:d,highlighted:P}})),se=(A,Y)=>{Y!==void 0?A.value=Y:A.value=!A.value,A.value||n("overlay-closed")},k=(A=!1,Y)=>{F(A),se(E,Y)},f=(A=!1,Y)=>{F(A),se(X,Y)},F=A=>{A||n("reset-flow")},ne=(A,Y)=>{o.arrowNavigation&&(z.value[Y]=at(A),w(z.value,"monthYear"))},ue=T(()=>{var A,Y;return[{type:yt.month,index:1,toggle:k,modelValue:q.value,updateModelValue:d=>q.value=d,text:me.value.text,showSelectionGrid:E.value,items:B.value,ariaLabel:(A=l.value)==null?void 0:A.openMonthsOverlay},{type:yt.year,index:2,toggle:f,modelValue:te.value,updateModelValue:d=>te.value=d,text:vr(o.year,o.locale),showSelectionGrid:X.value,items:j.value,ariaLabel:(Y=l.value)==null?void 0:Y.openYearsOverlay}]}),Z=T(()=>o.disableYearSelect?[ue.value[0]]:o.yearFirst?[...ue.value].reverse():ue.value);return a({toggleMonthPicker:k,toggleYearPicker:f,handleMonthYearChange:S}),(A,Y)=>{var d,P,g;return u(),m("div",Np,[A.$slots["month-year"]?$(A.$slots,"month-year",Ke(Oe({key:0},{month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:s(ee),handleMonthYearChange:s(S),instance:e.instance}))):(u(),m(de,{key:1},[s(W)(s(i),e.instance)&&!A.vertical?(u(),re($a,{key:0,"aria-label":(d=s(l))==null?void 0:d.prevMonth,disabled:s(L)(!1),onActivate:Y[0]||(Y[0]=R=>s(S)(!1,!0)),onSetRef:Y[1]||(Y[1]=R=>ne(R,0))},{default:D(()=>[A.$slots["arrow-left"]?$(A.$slots,"arrow-left",{key:0}):x("",!0),A.$slots["arrow-left"]?x("",!0):(u(),re(s(zn),{key:1}))]),_:3},8,["aria-label","disabled"])):x("",!0),_("div",{class:ve(["dp__month_year_wrap",{dp__year_disable_select:A.disableYearSelect}])},[(u(!0),m(de,null,be(Z.value,(R,_e)=>(u(),m(de,{key:R.type},[_("button",{ref_for:!0,ref:Ie=>ne(Ie,_e+1),type:"button",class:"dp__btn dp__month_year_select",tabindex:"0","aria-label":R.ariaLabel,onClick:R.toggle,onKeydown:[Pe(Ye(R.toggle,["prevent"]),["enter"]),Pe(Ye(R.toggle,["prevent"]),["space"])]},[A.$slots[R.type]?$(A.$slots,R.type,{key:0,text:R.text,value:o[R.type]}):x("",!0),A.$slots[R.type]?x("",!0):(u(),m(de,{key:1},[Ne(le(R.text),1)],64))],40,Ip),G(Et,{name:s(p)(R.showSelectionGrid),css:s(b)},{default:D(()=>[R.showSelectionGrid?(u(),re(Va,{key:0,items:R.items,"arrow-navigation":A.arrowNavigation,"hide-navigation":A.hideNavigation,"is-last":A.autoApply&&!s(y).keepActionRow,"skip-button-ref":!1,config:A.config,type:R.type,"header-refs":[],"esc-close":A.escClose,"menu-wrap-ref":A.menuWrapRef,"text-input":A.textInput,"aria-labels":A.ariaLabels,onSelected:R.updateModelValue,onToggle:R.toggle},rt({"button-icon":D(()=>[A.$slots["calendar-icon"]?$(A.$slots,"calendar-icon",{key:0}):x("",!0),A.$slots["calendar-icon"]?x("",!0):(u(),re(s(ga),{key:1}))]),_:2},[A.$slots[`${R.type}-overlay-value`]?{name:"item",fn:D(({item:Ie})=>[$(A.$slots,`${R.type}-overlay-value`,{text:Ie.text,value:Ie.value})]),key:"0"}:void 0,A.$slots[`${R.type}-overlay`]?{name:"overlay",fn:D(()=>[$(A.$slots,`${R.type}-overlay`,Ke(it(ie.value(R.type))))]),key:"1"}:void 0,A.$slots[`${R.type}-overlay-header`]?{name:"header",fn:D(()=>[$(A.$slots,`${R.type}-overlay-header`,{toggle:R.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","onSelected","onToggle"])):x("",!0)]),_:2},1032,["name","css"])],64))),128))],2),s(W)(s(i),e.instance)&&A.vertical?(u(),re($a,{key:1,"aria-label":(P=s(l))==null?void 0:P.prevMonth,disabled:s(L)(!1),onActivate:Y[2]||(Y[2]=R=>s(S)(!1,!0))},{default:D(()=>[A.$slots["arrow-up"]?$(A.$slots,"arrow-up",{key:0}):x("",!0),A.$slots["arrow-up"]?x("",!0):(u(),re(s(jn),{key:1}))]),_:3},8,["aria-label","disabled"])):x("",!0),s(C)(s(i),e.instance)?(u(),re($a,{key:2,ref:"rightIcon",disabled:s(L)(!0),"aria-label":(g=s(l))==null?void 0:g.nextMonth,onActivate:Y[3]||(Y[3]=R=>s(S)(!0,!0)),onSetRef:Y[4]||(Y[4]=R=>ne(R,A.disableYearSelect?2:3))},{default:D(()=>[A.$slots[A.vertical?"arrow-down":"arrow-right"]?$(A.$slots,A.vertical?"arrow-down":"arrow-right",{key:0}):x("",!0),A.$slots[A.vertical?"arrow-down":"arrow-right"]?x("",!0):(u(),re(St(A.vertical?s(Qn):s(qn)),{key:1}))]),_:3},8,["disabled","aria-label"])):x("",!0)],64))])}}}),Rp=["aria-label"],Yp={class:"dp__calendar_header",role:"row"},Ep={key:0,class:"dp__calendar_header_item",role:"gridcell"},Bp=["aria-label"],Fp=_("div",{class:"dp__calendar_header_separator"},null,-1),Hp=["aria-label"],Wp={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},zp={class:"dp__cell_inner"},qp=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],Up=U({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},...bt},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}=Xt(),{defaultedTransitions:l,defaultedConfig:i,defaultedAriaLabels:c,defaultedMultiCalendars:y,defaultedWeekNumbers:h,defaultedMultiDates:v}=We(o),p=V(null),b=V({bottom:"",left:"",transform:""}),w=V([]),S=V(null),L=V(!0),ee=V(""),W=V({startX:0,endX:0,startY:0,endY:0}),C=V([]),E=V({left:"50%"}),X=V(!1),z=T(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),I=T(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):vv(o.formatLocale,o.locale,+o.weekStart));Ue(()=>{n("mount",{cmp:"calendar",refs:w}),i.value.noSwipe||S.value&&(S.value.addEventListener("touchstart",ue,{passive:!1}),S.value.addEventListener("touchend",Z,{passive:!1}),S.value.addEventListener("touchmove",A,{passive:!1})),o.monthChangeOnScroll&&S.value&&S.value.addEventListener("wheel",P,{passive:!1})});const q=H=>H?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",te=(H,ke)=>{if(o.transitions){const M=vt(Lt(Q(),o.month,o.year));ee.value=Qe(vt(Lt(Q(),H,ke)),M)?l.value[q(!0)]:l.value[q(!1)],L.value=!1,ht(()=>{L.value=!0})}},ie=T(()=>({[o.calendarClassName]:!!o.calendarClassName})),me=T(()=>H=>{const ke=fv(H);return{dp__marker_dot:ke.type==="dot",dp__marker_line:ke.type==="line"}}),B=T(()=>H=>Ve(H,p.value)),j=T(()=>({dp__calendar:!0,dp__calendar_next:y.value.count>0&&o.instance!==0})),se=T(()=>H=>o.hideOffsetDates?H.current:!0),k=H=>ft(H,"yyyy-MM-dd"),f=async(H,ke,M)=>{const J=at(w.value[ke][M]);if(J){const{width:ge,height:Me}=J.getBoundingClientRect();p.value=H.value;let he={left:`${ge/2}px`},oe=-50;if(await ht(),C.value[0]){const{left:st,width:nt}=C.value[0].getBoundingClientRect();st<0&&(he={left:"0"},oe=0,E.value.left=`${ge/2}px`),window.innerWidth{var J,ge;if(X.value&&v.value.enabled&&v.value.dragSelect)return n("select-date",H);n("set-hover-date",H),(ge=(J=H.marker)==null?void 0:J.tooltip)!=null&&ge.length&&await f(H,ke,M)},ne=H=>{p.value&&(p.value=null,b.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),n("tooltip-close",H.marker))},ue=H=>{W.value.startX=H.changedTouches[0].screenX,W.value.startY=H.changedTouches[0].screenY},Z=H=>{W.value.endX=H.changedTouches[0].screenX,W.value.endY=H.changedTouches[0].screenY,Y()},A=H=>{o.vertical&&!o.inline&&H.preventDefault()},Y=()=>{const H=o.vertical?"Y":"X";Math.abs(W.value[`start${H}`]-W.value[`end${H}`])>10&&n("handle-swipe",W.value[`start${H}`]>W.value[`end${H}`]?"right":"left")},d=(H,ke,M)=>{H&&(Array.isArray(w.value[ke])?w.value[ke][M]=H:w.value[ke]=[H]),o.arrowNavigation&&r(w.value,"calendar")},P=H=>{o.monthChangeOnScroll&&(H.preventDefault(),n("handle-scroll",H))},g=H=>h.value.type==="local"?Yn(H.value,{weekStartsOn:+o.weekStart}):h.value.type==="iso"?Ln(H.value):typeof h.value.type=="function"?h.value.type(H.value):"",R=H=>{const ke=H[0];return h.value.hideOnOffsetDates?H.some(M=>M.current)?g(ke):"":g(ke)},_e=(H,ke)=>{v.value.enabled||(Ut(H,i.value),n("select-date",ke))},Ie=H=>{Ut(H,i.value)},O=H=>{v.value.enabled&&v.value.dragSelect?(X.value=!0,n("select-date",H)):v.value.enabled&&n("select-date",H)};return a({triggerTransition:te}),(H,ke)=>{var M;return u(),m("div",{class:ve(j.value)},[_("div",{ref_key:"calendarWrapRef",ref:S,role:"grid",class:ve(ie.value),"aria-label":(M=s(c))==null?void 0:M.calendarWrap},[_("div",Yp,[H.weekNumbers?(u(),m("div",Ep,le(H.weekNumName),1)):x("",!0),(u(!0),m(de,null,be(I.value,(J,ge)=>{var Me,he;return u(),m("div",{key:ge,class:"dp__calendar_header_item",role:"gridcell","aria-label":(he=(Me=s(c))==null?void 0:Me.weekDay)==null?void 0:he.call(Me,ge)},[H.$slots["calendar-header"]?$(H.$slots,"calendar-header",{key:0,day:J,index:ge}):x("",!0),H.$slots["calendar-header"]?x("",!0):(u(),m(de,{key:1},[Ne(le(J),1)],64))],8,Bp)}),128))]),Fp,G(Et,{name:ee.value,css:!!H.transitions},{default:D(()=>{var J;return[L.value?(u(),m("div",{key:0,class:"dp__calendar",role:"rowgroup","aria-label":((J=s(c))==null?void 0:J.calendarDays)||void 0,onMouseleave:ke[1]||(ke[1]=ge=>X.value=!1)},[(u(!0),m(de,null,be(z.value,(ge,Me)=>(u(),m("div",{key:Me,class:"dp__calendar_row",role:"row"},[H.weekNumbers?(u(),m("div",Wp,[_("div",zp,le(R(ge.days)),1)])):x("",!0),(u(!0),m(de,null,be(ge.days,(he,oe)=>{var st,nt,Ot;return u(),m("div",{id:k(he.value),ref_for:!0,ref:tt=>d(tt,Me,oe),key:oe+Me,role:"gridcell",class:"dp__calendar_item","aria-selected":(he.classData.dp__active_date||he.classData.dp__range_start||he.classData.dp__range_start)??void 0,"aria-disabled":he.classData.dp__cell_disabled||void 0,"aria-label":(nt=(st=s(c))==null?void 0:st.day)==null?void 0:nt.call(st,he),tabindex:"0",onClick:Ye(tt=>_e(tt,he),["prevent"]),onKeydown:[Pe(tt=>H.$emit("select-date",he),["enter"]),Pe(tt=>H.$emit("handle-space",he),["space"])],onMouseenter:tt=>F(he,Me,oe),onMouseleave:tt=>ne(he),onMousedown:tt=>O(he),onMouseup:ke[0]||(ke[0]=tt=>X.value=!1)},[_("div",{class:ve(["dp__cell_inner",he.classData])},[H.$slots.day&&se.value(he)?$(H.$slots,"day",{key:0,day:+he.text,date:he.value}):x("",!0),H.$slots.day?x("",!0):(u(),m(de,{key:1},[Ne(le(he.text),1)],64)),he.marker&&se.value(he)?(u(),m(de,{key:2},[H.$slots.marker?$(H.$slots,"marker",{key:0,marker:he.marker,day:+he.text,date:he.value}):(u(),m("div",{key:1,class:ve(me.value(he.marker)),style:dt(he.marker.color?{backgroundColor:he.marker.color}:{})},null,6))],64)):x("",!0),B.value(he.value)?(u(),m("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:C,class:"dp__marker_tooltip",style:dt(b.value)},[(Ot=he.marker)!=null&&Ot.tooltip?(u(),m("div",{key:0,class:"dp__tooltip_content",onClick:Ie},[(u(!0),m(de,null,be(he.marker.tooltip,(tt,Kt)=>(u(),m("div",{key:Kt,class:"dp__tooltip_text"},[H.$slots["marker-tooltip"]?$(H.$slots,"marker-tooltip",{key:0,tooltip:tt,day:he.value}):x("",!0),H.$slots["marker-tooltip"]?x("",!0):(u(),m(de,{key:1},[_("div",{class:"dp__tooltip_mark",style:dt(tt.color?{backgroundColor:tt.color}:{})},null,4),_("div",null,le(tt.text),1)],64))]))),128)),_("div",{class:"dp__arrow_bottom_tp",style:dt(E.value)},null,4)])):x("",!0)],4)):x("",!0)],2)],40,qp)}),128))]))),128))],40,Hp)):x("",!0)]}),_:3},8,["name","css"])],10,Rp)],2)}}}),wo=e=>Array.isArray(e),jp=(e,a,t,n)=>{const o=V([]),r=V(new Date),{modelValue:l,calendars:i,time:c}=Ca(e,a),{defaultedMultiCalendars:y,defaultedStartTime:h,defaultedRange:v,defaultedTz:p,propDates:b,defaultedMultiDates:w}=We(e),{validateMonthYearInRange:S,isDisabled:L,isDateRangeAllowed:ee,checkMinMaxRange:W}=Jt(e),{updateTimeValues:C,getSetDateTime:E,setTime:X,assignStartTime:z,validateTime:I,disabledTimesConfig:q}=Sr(e,c,l,n),te=T(()=>N=>i.value[N]?i.value[N].month:0),ie=T(()=>N=>i.value[N]?i.value[N].year:0),me=(N,ae,ye)=>{var Se,K;i.value[N]||(i.value[N]={month:0,year:0}),i.value[N].month=yo(ae)?(Se=i.value[N])==null?void 0:Se.month:ae,i.value[N].year=yo(ye)?(K=i.value[N])==null?void 0:K.year:ye},B=()=>{e.autoApply&&a("select-date")};ut(l,(N,ae)=>{JSON.stringify(N)!==JSON.stringify(ae)&&k()},{deep:!0}),Ue(()=>{e.shadow||(l.value||(R(),h.value&&z(h.value)),k(!0),e.focusStartDate&&e.startDate&&R())});const j=T(()=>{var N;return(N=e.flow)!=null&&N.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),se=()=>{e.autoApply&&j.value&&a("auto-apply")},k=(N=!1)=>{if(l.value)return Array.isArray(l.value)?(o.value=l.value,Y(N)):ne(l.value,N);if(y.value.count&&N&&!e.startDate)return F(Q(),N)},f=()=>Array.isArray(l.value)&&v.value.enabled?Te(l.value[0])===Te(l.value[1]??l.value[0]):!1,F=(N,ae=!1)=>{if((!y.value.count||!y.value.static||ae)&&me(0,Te(N),De(N)),y.value.count&&(!y.value.solo||!l.value||f()))for(let ye=1;ye{F(N),X("hours",_t(N)),X("minutes",At(N)),X("seconds",pa(N)),y.value.count&&ae&&g()},ue=N=>{if(y.value.count){if(y.value.solo)return 0;const ae=Te(N[0]),ye=Te(N[1]);return Math.abs(ye-ae){N[1]&&v.value.showLastInRange?F(N[ue(N)],ae):F(N[0],ae);const ye=(Se,K)=>[Se(N[0]),N[1]?Se(N[1]):c[K][1]];X("hours",ye(_t,"hours")),X("minutes",ye(At,"minutes")),X("seconds",ye(pa,"seconds"))},A=(N,ae)=>{if((v.value.enabled||e.weekPicker)&&!w.value.enabled)return Z(N,ae);if(w.value.enabled&&ae){const ye=N[N.length-1];return ne(ye,ae)}},Y=N=>{const ae=l.value;A(ae,N),y.value.count&&y.value.solo&&g()},d=(N,ae)=>{const ye=Be(Q(),{month:te.value(ae),year:ie.value(ae)}),Se=N<0?mt(ye,1):Yt(ye,1);S(Te(Se),De(Se),N<0,e.preventMinMaxNavigation)&&(me(ae,Te(Se),De(Se)),a("update-month-year",{instance:ae,month:Te(Se),year:De(Se)}),y.value.count&&!y.value.solo&&P(ae),t())},P=N=>{for(let ae=N-1;ae>=0;ae--){const ye=Yt(Be(Q(),{month:te.value(ae+1),year:ie.value(ae+1)}),1);me(ae,Te(ye),De(ye))}for(let ae=N+1;ae<=y.value.count-1;ae++){const ye=mt(Be(Q(),{month:te.value(ae-1),year:ie.value(ae-1)}),1);me(ae,Te(ye),De(ye))}},g=()=>{if(Array.isArray(l.value)&&l.value.length===2){const N=Q(Q(l.value[1]?l.value[1]:mt(l.value[0],1))),[ae,ye]=[Te(l.value[0]),De(l.value[0])],[Se,K]=[Te(l.value[1]),De(l.value[1])];(ae!==Se||ae===Se&&ye!==K)&&y.value.solo&&me(1,Te(N),De(N))}else l.value&&!Array.isArray(l.value)&&(me(0,Te(l.value),De(l.value)),F(Q()))},R=()=>{e.startDate&&(me(0,Te(Q(e.startDate)),De(Q(e.startDate))),y.value.count&&P(0))},_e=(N,ae)=>{if(e.monthChangeOnScroll){const ye=new Date().getTime()-r.value.getTime(),Se=Math.abs(N.deltaY);let K=500;Se>1&&(K=100),Se>100&&(K=0),ye>K&&(r.value=new Date,d(e.monthChangeOnScroll!=="inverse"?-N.deltaY:N.deltaY,ae))}},Ie=(N,ae,ye=!1)=>{e.monthChangeOnArrows&&e.vertical===ye&&O(N,ae)},O=(N,ae)=>{d(N==="right"?-1:1,ae)},H=N=>{if(b.value.markers)return Fa(N.value,b.value.markers)},ke=(N,ae)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[N==0,!0];case"fair":return[N==0||ae>N,!0];case"append":return[!1,!1];default:return[!1,!1]}},M=(N,ae,ye,Se)=>{if(e.sixWeeks&&N.length<6){const K=6-N.length,we=(ae.getDay()+7-Se)%7,$e=6-(ye.getDay()+7-Se)%7,[Nt,kt]=ke(we,$e);for(let Zt=1;Zt<=K;Zt++)if(kt?!!(Zt%2)==Nt:Nt){const Ft=N[0].days[0],nn=J(Ge(Ft.value,-7),Te(ae));N.unshift({days:nn})}else{const Ft=N[N.length-1],nn=Ft.days[Ft.days.length-1],Ar=J(Ge(nn.value,1),Te(ae));N.push({days:Ar})}}return N},J=(N,ae)=>{const ye=Q(N),Se=[];for(let K=0;K<7;K++){const we=Ge(ye,K),$e=Te(we)!==ae;Se.push({text:e.hideOffsetDates&&$e?"":we.getDate(),value:we,current:!$e,classData:{}})}return Se},ge=(N,ae)=>{const ye=[],Se=new Date(ae,N),K=new Date(ae,N+1,0),we=e.weekStart,$e=Ct(Se,{weekStartsOn:we}),Nt=kt=>{const Zt=J(kt,N);if(ye.push({days:Zt}),!ye[ye.length-1].days.some(Ft=>Ve(vt(Ft.value),vt(K)))){const Ft=Ge(kt,7);Nt(Ft)}};return Nt($e),M(ye,Se,K,we)},Me=N=>{const ae=jt(Q(N.value),c.hours,c.minutes,Kt());a("date-update",ae),w.value.enabled?Zn(ae,l,w.value.limit):l.value=ae,n(),ht().then(()=>{se()})},he=N=>v.value.noDisabledRange?hr(o.value[0],N).some(ae=>L(ae)):!1,oe=()=>{o.value=l.value?l.value.slice():[],o.value.length===2&&!(v.value.fixedStart||v.value.fixedEnd)&&(o.value=[])},st=(N,ae)=>{const ye=[Q(N.value),Ge(Q(N.value),+v.value.autoRange)];ee(ye)?(ae&&nt(N.value),o.value=ye):a("invalid-date",N.value)},nt=N=>{const ae=Te(Q(N)),ye=De(Q(N));if(me(0,ae,ye),y.value.count>0)for(let Se=1;Se{if(he(N.value)||!W(N.value,l.value,v.value.fixedStart?0:1))return a("invalid-date",N.value);o.value=Pr(Q(N.value),l,a,v)},tt=(N,ae)=>{if(oe(),v.value.autoRange)return st(N,ae);if(v.value.fixedStart||v.value.fixedEnd)return Ot(N);o.value[0]?W(Q(N.value),l.value)&&!he(N.value)?ze(Q(N.value),Q(o.value[0]))?(o.value.unshift(Q(N.value)),a("range-end",o.value[0])):(o.value[1]=Q(N.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",N.value),a("invalid-date",N.value)):(o.value[0]=Q(N.value),a("range-start",o.value[0]))},Kt=(N=!0)=>e.enableSeconds?Array.isArray(c.seconds)?N?c.seconds[0]:c.seconds[1]:c.seconds:0,_a=N=>{o.value[N]=jt(o.value[N],c.hours[N],c.minutes[N],Kt(N!==1))},ba=()=>{var N,ae;o.value[0]&&o.value[1]&&+((N=o.value)==null?void 0:N[0])>+((ae=o.value)==null?void 0:ae[1])&&(o.value.reverse(),a("range-start",o.value[0]),a("range-end",o.value[1]))},pt=()=>{o.value.length&&(o.value[0]&&!o.value[1]?_a(0):(_a(0),_a(1),n()),ba(),l.value=o.value.slice(),Ja(o.value,a,e.autoApply,e.modelAuto))},Ka=(N,ae=!1)=>{if(L(N.value)||!N.current&&e.hideOffsetDates)return a("invalid-date",N.value);if(!v.value.enabled)return Me(N);wo(c.hours)&&wo(c.minutes)&&!w.value.enabled&&(tt(N,ae),pt())},Za=(N,ae)=>{var ye;me(N,ae.month,ae.year),y.value.count&&!y.value.solo&&P(N),a("update-month-year",{instance:N,month:ae.month,year:ae.year}),t(y.value.solo?N:void 0);const Se=(ye=e.flow)!=null&&ye.length?e.flow[e.flowStep]:void 0;!ae.fromNav&&(Se===wt.month||Se===wt.year)&&n()},Oa=(N,ae)=>{Dr({value:N,modelValue:l,range:v.value.enabled,timezone:ae?void 0:p.value.timezone}),B(),e.multiCalendars&&ht().then(()=>k(!0))},en=()=>{v.value.enabled?l.value&&Array.isArray(l.value)&&l.value[0]?l.value=ze(Q(),l.value[0])?[Q(),l.value[0]]:[l.value[0],Q()]:l.value=[Q()]:l.value=Q(),B()},tn=()=>{if(Array.isArray(l.value))if(w.value.enabled){const N=an();l.value[l.value.length-1]=E(N)}else l.value=l.value.map((N,ae)=>N&&E(N,ae));else l.value=E(l.value);a("time-update")},an=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:i,modelValue:l,month:te,year:ie,time:c,disabledTimesConfig:q,validateTime:I,getCalendarDays:ge,getMarker:H,handleScroll:_e,handleSwipe:O,handleArrow:Ie,selectDate:Ka,updateMonthYear:Za,presetDate:Oa,selectCurrentDate:en,updateTime:(N,ae=!0,ye=!1)=>{C(N,ae,ye,tn)}}},Qp={key:0},Gp=U({__name:"DatePicker",props:{...bt},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"],setup(e,{expose:a,emit:t}){const n=t,o=e,{calendars:r,month:l,year:i,modelValue:c,time:y,disabledTimesConfig:h,validateTime:v,getCalendarDays:p,getMarker:b,handleArrow:w,handleScroll:S,handleSwipe:L,selectDate:ee,updateMonthYear:W,presetDate:C,selectCurrentDate:E,updateTime:X}=jp(o,n,ue,Z),z=Gt(),{setHoverDate:I,getDayClassData:q,clearHoverDate:te}=Jv(c,o),{defaultedMultiCalendars:ie}=We(o),me=V([]),B=V([]),j=V(null),se=ct(z,"calendar"),k=ct(z,"monthYear"),f=ct(z,"timePicker"),F=Y=>{o.shadow||n("mount",Y)};ut(r,()=>{o.shadow||setTimeout(()=>{n("recalculate-position")},0)},{deep:!0});const ne=T(()=>Y=>p(l.value(Y),i.value(Y)).map(d=>({...d,days:d.days.map(P=>(P.marker=b(P),P.classData=q(P),P))})));function ue(Y){var d;Y||Y===0?(d=B.value[Y])==null||d.triggerTransition(l.value(Y),i.value(Y)):B.value.forEach((P,g)=>P.triggerTransition(l.value(g),i.value(g)))}function Z(){n("update-flow-step")}const A=(Y,d=!1)=>{ee(Y,d),o.spaceConfirm&&n("select-date")};return a({clearHoverDate:te,presetDate:C,selectCurrentDate:E,toggleMonthPicker:(Y,d,P=0)=>{var g;(g=me.value[P])==null||g.toggleMonthPicker(Y,d)},toggleYearPicker:(Y,d,P=0)=>{var g;(g=me.value[P])==null||g.toggleYearPicker(Y,d)},toggleTimePicker:(Y,d,P)=>{var g;(g=j.value)==null||g.toggleTimePicker(Y,d,P)},handleArrow:w,updateMonthYear:W,getSidebarProps:()=>({modelValue:c,month:l,year:i,time:y,updateTime:X,updateMonthYear:W,selectDate:ee,presetDate:C})}),(Y,d)=>(u(),m(de,null,[G(Xa,{"multi-calendars":s(ie).count,collapse:Y.collapse},{default:D(({instance:P,index:g})=>[Y.disableMonthYearSelect?x("",!0):(u(),re(Lp,Oe({key:0,ref:R=>{R&&(me.value[g]=R)},months:s(dr)(Y.formatLocale,Y.locale,Y.monthNameFormat),years:s(Gn)(Y.yearRange,Y.locale,Y.reverseYears),month:s(l)(P),year:s(i)(P),instance:P},Y.$props,{onMount:d[0]||(d[0]=R=>F(s(oa).header)),onResetFlow:d[1]||(d[1]=R=>Y.$emit("reset-flow")),onUpdateMonthYear:R=>s(W)(P,R),onOverlayClosed:d[2]||(d[2]=R=>Y.$emit("focus-menu"))}),rt({_:2},[be(s(k),(R,_e)=>({name:R,fn:D(Ie=>[$(Y.$slots,R,Ke(it(Ie)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),G(Up,Oe({ref:R=>{R&&(B.value[g]=R)},"mapped-dates":ne.value(P),month:s(l)(P),year:s(i)(P),instance:P},Y.$props,{onSelectDate:R=>s(ee)(R,P!==1),onHandleSpace:R=>A(R,P!==1),onSetHoverDate:d[3]||(d[3]=R=>s(I)(R)),onHandleScroll:R=>s(S)(R,P),onHandleSwipe:R=>s(L)(R,P),onMount:d[4]||(d[4]=R=>F(s(oa).calendar)),onResetFlow:d[5]||(d[5]=R=>Y.$emit("reset-flow")),onTooltipOpen:d[6]||(d[6]=R=>Y.$emit("tooltip-open",R)),onTooltipClose:d[7]||(d[7]=R=>Y.$emit("tooltip-close",R))}),rt({_:2},[be(s(se),(R,_e)=>({name:R,fn:D(Ie=>[$(Y.$slots,R,Ke(it({...Ie})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),Y.enableTimePicker?(u(),m("div",Qp,[Y.$slots["time-picker"]?$(Y.$slots,"time-picker",Ke(Oe({key:0},{time:s(y),updateTime:s(X)}))):(u(),re(Tr,Oe({key:1,ref_key:"timePickerRef",ref:j},Y.$props,{hours:s(y).hours,minutes:s(y).minutes,seconds:s(y).seconds,"internal-model-value":Y.internalModelValue,"disabled-times-config":s(h),"validate-time":s(v),onMount:d[8]||(d[8]=P=>F(s(oa).timePicker)),"onUpdate:hours":d[9]||(d[9]=P=>s(X)(P)),"onUpdate:minutes":d[10]||(d[10]=P=>s(X)(P,!1)),"onUpdate:seconds":d[11]||(d[11]=P=>s(X)(P,!1,!0)),onResetFlow:d[12]||(d[12]=P=>Y.$emit("reset-flow")),onOverlayClosed:d[13]||(d[13]=P=>Y.$emit("time-picker-close")),onOverlayOpened:d[14]||(d[14]=P=>Y.$emit("time-picker-open",P)),onAmPmChange:d[15]||(d[15]=P=>Y.$emit("am-pm-change",P))}),rt({_:2},[be(s(f),(P,g)=>({name:P,fn:D(R=>[$(Y.$slots,P,Ke(it(R)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):x("",!0)],64))}}),Xp=(e,a)=>{const t=V(),{defaultedMultiCalendars:n,defaultedConfig:o,defaultedHighlight:r,defaultedRange:l,propDates:i,defaultedFilters:c,defaultedMultiDates:y}=We(e),{modelValue:h,year:v,month:p,calendars:b}=Ca(e,a),{isDisabled:w}=Jt(e),{selectYear:S,groupedYears:L,showYearPicker:ee,isDisabled:W,toggleYearPicker:C,handleYearSelect:E,handleYear:X}=Mr({modelValue:h,multiCalendars:n,highlight:r,calendars:b,propDates:i,month:p,year:v,filters:c,props:e,emit:a}),z=(k,f)=>[k,f].map(F=>ft(F,"MMMM",{locale:e.formatLocale})).join("-"),I=T(()=>k=>h.value?Array.isArray(h.value)?h.value.some(f=>po(k,f)):po(h.value,k):!1),q=k=>{if(l.value.enabled){if(Array.isArray(h.value)){const f=Ve(k,h.value[0])||Ve(k,h.value[1]);return ja(h.value,t.value,k)&&!f}return!1}return!1},te=(k,f)=>k.quarter===ro(f)&&k.year===De(f),ie=k=>typeof r.value=="function"?r.value({quarter:ro(k),year:De(k)}):!!r.value.quarters.find(f=>te(f,k)),me=T(()=>k=>{const f=Be(new Date,{year:v.value(k)});return kc({start:In(f),end:Go(f)}).map(F=>{const ne=zt(F),ue=io(F),Z=w(F),A=q(ne),Y=ie(ne);return{text:z(ne,ue),value:ne,active:I.value(ne),highlighted:Y,disabled:Z,isBetween:A}})}),B=k=>{Zn(k,h,y.value.limit),a("auto-apply",!0)},j=k=>{h.value=eo(h,k,a),Ja(h.value,a,e.autoApply,e.modelAuto)},se=k=>{h.value=k,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:n,groupedYears:L,year:v,isDisabled:W,quarters:me,showYearPicker:ee,modelValue:h,setHoverDate:k=>{t.value=k},selectYear:S,selectQuarter:(k,f,F)=>{if(!F)return b.value[f].month=Te(io(k)),y.value.enabled?B(k):l.value.enabled?j(k):se(k)},toggleYearPicker:C,handleYearSelect:E,handleYear:X}},Jp={class:"dp--quarter-items"},Kp=["disabled","onClick","onMouseover"],Zp=U({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...bt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Gt(),l=ct(r,"yearMode"),{defaultedMultiCalendars:i,defaultedConfig:c,groupedYears:y,year:h,isDisabled:v,quarters:p,modelValue:b,showYearPicker:w,setHoverDate:S,selectQuarter:L,toggleYearPicker:ee,handleYearSelect:W,handleYear:C}=Xp(o,n);return a({getSidebarProps:()=>({modelValue:b,year:h,selectQuarter:L,handleYearSelect:W,handleYear:C})}),(E,X)=>(u(),re(Xa,{"multi-calendars":s(i).count,collapse:E.collapse,stretch:""},{default:D(({instance:z})=>[_("div",{class:"dp-quarter-picker-wrap",style:dt({minHeight:`${s(c).modeHeight}px`})},[_("div",null,[G($r,Oe(E.$props,{items:s(y)(z),instance:z,"show-year-picker":s(w)[z],year:s(h)(z),"is-disabled":I=>s(v)(z,I),onHandleYear:I=>s(C)(z,I),onYearSelect:I=>s(W)(I,z),onToggleYearPicker:I=>s(ee)(z,I==null?void 0:I.flow,I==null?void 0:I.show)}),rt({_:2},[be(s(l),(I,q)=>({name:I,fn:D(te=>[$(E.$slots,I,Ke(it(te)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_("div",Jp,[(u(!0),m(de,null,be(s(p)(z),(I,q)=>(u(),m("div",{key:q},[_("button",{type:"button",class:ve(["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}]),disabled:I.disabled,onClick:te=>s(L)(I.value,z,I.disabled),onMouseover:te=>s(S)(I.value)},[E.$slots.quarter?$(E.$slots,"quarter",{key:0,value:I.value,text:I.text}):(u(),m(de,{key:1},[Ne(le(I.text),1)],64))],42,Kp)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),ef=["id","aria-label"],tf={key:0,class:"dp--menu-load-container"},af=_("span",{class:"dp--menu-loader"},null,-1),nf=[af],of={key:0,class:"dp__sidebar_left"},rf=["onClick","onKeydown"],lf={key:2,class:"dp__sidebar_right"},sf={key:3,class:"dp__action_extra"},$o=U({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Ga,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}},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"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=V(null),l=T(()=>{const{openOnTop:M,...J}=o;return{...J,flowStep:q.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:r.value}}),{setMenuFocused:i,setShiftKey:c,control:y}=kr(),h=Gt(),{defaultedTextInput:v,defaultedInline:p,defaultedConfig:b}=We(o),w=V(null),S=V(0),L=V(null),ee=V(!1),W=V(null);Ue(()=>{if(!o.shadow){ee.value=!0,C(),window.addEventListener("resize",C);const M=at(r);if(M&&!v.value.enabled&&!p.value.enabled&&(i(!0),j()),M){const J=ge=>{b.value.allowPreventDefault&&ge.preventDefault(),Ut(ge,b.value,!0)};M.addEventListener("pointerdown",J),M.addEventListener("mousedown",J)}}}),Qt(()=>{window.removeEventListener("resize",C)});const C=()=>{const M=at(L);M&&(S.value=M.getBoundingClientRect().width)},{arrowRight:E,arrowLeft:X,arrowDown:z,arrowUp:I}=Xt(),{flowStep:q,updateFlowStep:te,childMount:ie,resetFlow:me}=Kv(o,n,W),B=T(()=>o.monthPicker?pp:o.yearPicker?hp:o.timePicker?Op:o.quarterPicker?Zp:Gp),j=()=>{const M=at(r);M&&M.focus({preventScroll:!0})},se=T(()=>{var M;return((M=W.value)==null?void 0:M.getSidebarProps())||{}}),k=()=>{o.openOnTop&&n("recalculate-position")},f=ct(h,"action"),F=T(()=>o.monthPicker||o.yearPicker?ct(h,"monthYear"):o.timePicker?ct(h,"timePicker"):ct(h,"shared")),ne=T(()=>o.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ue=T(()=>({dp__menu_disabled:o.disabled,dp__menu_readonly:o.readonly,"dp-menu-loading":o.loading})),Z=T(()=>({dp__menu:!0,dp__menu_index:!p.value.enabled,dp__relative:p.value.enabled,[o.menuClassName]:!!o.menuClassName})),A=M=>{Ut(M,b.value,!0)},Y=()=>{o.escClose&&n("close-picker")},d=M=>{if(o.arrowNavigation){if(M==="up")return I();if(M==="down")return z();if(M==="left")return X();if(M==="right")return E()}else M==="left"||M==="up"?Ie("handleArrow","left",0,M==="up"):Ie("handleArrow","right",0,M==="down")},P=M=>{c(M.shiftKey),!o.disableMonthYearSelect&&M.code==="Tab"&&M.target.classList.contains("dp__menu")&&y.value.shiftKeyInMenu&&(M.preventDefault(),Ut(M,b.value,!0),n("close-picker"))},g=()=>{j(),n("time-picker-close")},R=M=>{var J,ge,Me;(J=W.value)==null||J.toggleTimePicker(!1,!1),(ge=W.value)==null||ge.toggleMonthPicker(!1,!1,M),(Me=W.value)==null||Me.toggleYearPicker(!1,!1,M)},_e=(M,J=0)=>{var ge,Me,he;return M==="month"?(ge=W.value)==null?void 0:ge.toggleMonthPicker(!1,!0,J):M==="year"?(Me=W.value)==null?void 0:Me.toggleYearPicker(!1,!0,J):M==="time"?(he=W.value)==null?void 0:he.toggleTimePicker(!0,!1):R(J)},Ie=(M,...J)=>{var ge,Me;(ge=W.value)!=null&&ge[M]&&((Me=W.value)==null||Me[M](...J))},O=()=>{Ie("selectCurrentDate")},H=(M,J)=>{Ie("presetDate",M,J)},ke=()=>{Ie("clearHoverDate")};return a({updateMonthYear:(M,J)=>{Ie("updateMonthYear",M,J)},switchView:_e}),(M,J)=>{var ge,Me,he;return u(),m("div",{id:M.uid?`dp-menu-${M.uid}`:void 0,ref_key:"dpMenuRef",ref:r,tabindex:"0",role:"dialog","aria-label":(ge=M.ariaLabels)==null?void 0:ge.menu,class:ve(Z.value),onMouseleave:ke,onClick:A,onKeydown:[Pe(Y,["esc"]),J[18]||(J[18]=Pe(Ye(oe=>d("left"),["prevent"]),["left"])),J[19]||(J[19]=Pe(Ye(oe=>d("up"),["prevent"]),["up"])),J[20]||(J[20]=Pe(Ye(oe=>d("down"),["prevent"]),["down"])),J[21]||(J[21]=Pe(Ye(oe=>d("right"),["prevent"]),["right"])),P]},[(M.disabled||M.readonly)&&s(p).enabled||M.loading?(u(),m("div",{key:0,class:ve(ue.value)},[M.loading?(u(),m("div",tf,nf)):x("",!0)],2)):x("",!0),!s(p).enabled&&!M.teleportCenter?(u(),m("div",{key:1,class:ve(ne.value)},null,2)):x("",!0),_("div",{ref_key:"innerMenuRef",ref:L,class:ve({dp__menu_content_wrapper:((Me=M.presetDates)==null?void 0:Me.length)||!!M.$slots["left-sidebar"]||!!M.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((he=M.presetDates)==null?void 0:he.length)||!!M.$slots["left-sidebar"]||!!M.$slots["right-sidebar"])}),style:dt({"--dp-menu-width":`${S.value}px`})},[M.$slots["left-sidebar"]?(u(),m("div",of,[$(M.$slots,"left-sidebar",Ke(it(se.value)))])):x("",!0),M.presetDates.length?(u(),m("div",{key:1,class:ve({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(u(!0),m(de,null,be(M.presetDates,(oe,st)=>(u(),m(de,{key:st},[oe.slot?$(M.$slots,oe.slot,{key:0,presetDate:H,label:oe.label,value:oe.value}):(u(),m("button",{key:1,type:"button",style:dt(oe.style||{}),class:ve(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),onClick:Ye(nt=>H(oe.value,oe.noTz),["prevent"]),onKeydown:[Pe(Ye(nt=>H(oe.value,oe.noTz),["prevent"]),["enter"]),Pe(Ye(nt=>H(oe.value,oe.noTz),["prevent"]),["space"])]},le(oe.label),47,rf))],64))),128))],2)):x("",!0),_("div",{ref_key:"calendarWrapperRef",ref:w,class:"dp__instance_calendar",role:"document"},[(u(),re(St(B.value),Oe({ref_key:"dynCmpRef",ref:W},l.value,{"flow-step":s(q),onMount:s(ie),onUpdateFlowStep:s(te),onResetFlow:s(me),onFocusMenu:j,onSelectDate:J[0]||(J[0]=oe=>M.$emit("select-date")),onDateUpdate:J[1]||(J[1]=oe=>M.$emit("date-update",oe)),onTooltipOpen:J[2]||(J[2]=oe=>M.$emit("tooltip-open",oe)),onTooltipClose:J[3]||(J[3]=oe=>M.$emit("tooltip-close",oe)),onAutoApply:J[4]||(J[4]=oe=>M.$emit("auto-apply",oe)),onRangeStart:J[5]||(J[5]=oe=>M.$emit("range-start",oe)),onRangeEnd:J[6]||(J[6]=oe=>M.$emit("range-end",oe)),onInvalidFixedRange:J[7]||(J[7]=oe=>M.$emit("invalid-fixed-range",oe)),onTimeUpdate:J[8]||(J[8]=oe=>M.$emit("time-update")),onAmPmChange:J[9]||(J[9]=oe=>M.$emit("am-pm-change",oe)),onTimePickerOpen:J[10]||(J[10]=oe=>M.$emit("time-picker-open",oe)),onTimePickerClose:g,onRecalculatePosition:k,onUpdateMonthYear:J[11]||(J[11]=oe=>M.$emit("update-month-year",oe)),onAutoApplyInvalid:J[12]||(J[12]=oe=>M.$emit("auto-apply-invalid",oe)),onInvalidDate:J[13]||(J[13]=oe=>M.$emit("invalid-date",oe)),"onUpdate:internalModelValue":J[14]||(J[14]=oe=>M.$emit("update:internal-model-value",oe))}),rt({_:2},[be(F.value,(oe,st)=>({name:oe,fn:D(nt=>[$(M.$slots,oe,Ke(it({...nt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),M.$slots["right-sidebar"]?(u(),m("div",lf,[$(M.$slots,"right-sidebar",Ke(it(se.value)))])):x("",!0),M.$slots["action-extra"]?(u(),m("div",sf,[M.$slots["action-extra"]?$(M.$slots,"action-extra",{key:0,selectCurrentDate:O}):x("",!0)])):x("",!0)],6),!M.autoApply||s(b).keepActionRow?(u(),re(rp,Oe({key:2,"menu-mount":ee.value},l.value,{"calendar-width":S.value,onClosePicker:J[15]||(J[15]=oe=>M.$emit("close-picker")),onSelectDate:J[16]||(J[16]=oe=>M.$emit("select-date")),onInvalidSelect:J[17]||(J[17]=oe=>M.$emit("invalid-select")),onSelectNow:O}),rt({_:2},[be(s(f),(oe,st)=>({name:oe,fn:D(nt=>[$(M.$slots,oe,Ke(it({...nt})))])}))]),1040,["menu-mount","calendar-width"])):x("",!0)],42,ef)}}}),uf=typeof window<"u"?window:void 0,hn=()=>{},df=e=>qr()?(Ur(e),!0):!1,cf=(e,a,t,n)=>{if(!e)return hn;let o=hn;const r=ut(()=>s(e),i=>{o(),i&&(i.addEventListener(a,t,n),o=()=>{i.removeEventListener(a,t,n),o=hn})},{immediate:!0,flush:"post"}),l=()=>{r(),o()};return df(l),l},mf=(e,a,t,n={})=>{const{window:o=uf,event:r="pointerdown"}=n;return o?cf(o,r,l=>{const i=at(e),c=at(a);!i||!c||i===l.target||l.composedPath().includes(i)||l.composedPath().includes(c)||t(l)},{passive:!0}):void 0},vf=U({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Ga},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"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Gt(),l=V(!1),i=Da(o,"modelValue"),c=Da(o,"timezone"),y=V(null),h=V(null),v=V(null),p=V(!1),b=V(null),w=V(!1),S=V(!1),L=V(!1),{setMenuFocused:ee,setShiftKey:W}=kr(),{clearArrowNav:C}=Xt(),{validateDate:E,isValidTime:X}=Jt(o),{defaultedTransitions:z,defaultedTextInput:I,defaultedInline:q,defaultedConfig:te,defaultedRange:ie,defaultedMultiDates:me}=We(o),{menuTransition:B,showTransition:j}=Aa(z);Ue(()=>{P(o.modelValue),ht().then(()=>{if(!q.value.enabled){const K=Z(b.value);K==null||K.addEventListener("scroll",J),window==null||window.addEventListener("resize",ge)}}),q.value.enabled&&(l.value=!0),window==null||window.addEventListener("keyup",Me),window==null||window.addEventListener("keydown",he)}),Qt(()=>{if(!q.value.enabled){const K=Z(b.value);K==null||K.removeEventListener("scroll",J),window==null||window.removeEventListener("resize",ge)}window==null||window.removeEventListener("keyup",Me),window==null||window.removeEventListener("keydown",he)});const se=ct(r,"all",o.presetDates),k=ct(r,"input");ut([i,c],()=>{P(i.value)},{deep:!0});const{openOnTop:f,menuStyle:F,xCorrect:ne,setMenuPosition:ue,getScrollableParent:Z,shadowRender:A}=Qv({menuRef:y,menuRefInner:h,inputRef:v,pickerWrapperRef:b,inline:q,emit:n,props:o,slots:r}),{inputValue:Y,internalModelValue:d,parseExternalModelValue:P,emitModelValue:g,formatInputValue:R,checkBeforeEmit:_e}=Uv(n,o,p),Ie=T(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:q.value.enabled,"dp--flex-display-collapsed":L.value,dp__flex_display_with_input:q.value.input})),O=T(()=>o.dark?"dp__theme_dark":"dp__theme_light"),H=T(()=>({to:typeof o.teleport=="boolean"?"body":o.teleport,disabled:!o.teleport||q.value.enabled})),ke=T(()=>({class:"dp__outer_menu_wrap"})),M=T(()=>q.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),J=()=>{l.value&&(te.value.closeOnScroll?pt():ue())},ge=()=>{var K;l.value&&ue();const we=(K=h.value)==null?void 0:K.$el.getBoundingClientRect().width;L.value=document.body.offsetWidth<=we},Me=K=>{K.key==="Tab"&&!q.value.enabled&&!o.teleport&&te.value.tabOutClosesMenu&&(b.value.contains(document.activeElement)||pt()),S.value=K.shiftKey},he=K=>{S.value=K.shiftKey},oe=()=>{!o.disabled&&!o.readonly&&(A($o,o),ue(!1),l.value=!0,l.value&&n("open"),l.value||ba(),P(o.modelValue))},st=()=>{var K;Y.value="",ba(),(K=v.value)==null||K.setParsedDate(null),n("update:model-value",null),n("update:model-timezone-value",null),n("cleared"),te.value.closeOnClearValue&&pt()},nt=()=>{const K=d.value;return!K||!Array.isArray(K)&&E(K)?!0:Array.isArray(K)?me.value.enabled||K.length===2&&E(K[0])&&E(K[1])?!0:ie.value.partialRange&&!o.timePicker?E(K[0]):!1:!1},Ot=()=>{_e()&&nt()?(g(),pt()):n("invalid-select",d.value)},tt=K=>{Kt(),g(),te.value.closeOnAutoApply&&!K&&pt()},Kt=()=>{v.value&&I.value.enabled&&v.value.setParsedDate(d.value)},_a=(K=!1)=>{o.autoApply&&X(d.value)&&nt()&&(ie.value.enabled&&Array.isArray(d.value)?(ie.value.partialRange||d.value.length===2)&&tt(K):tt(K))},ba=()=>{I.value.enabled||(d.value=null)},pt=()=>{q.value.enabled||(l.value&&(l.value=!1,ne.value=!1,ee(!1),W(!1),C(),n("closed"),Y.value&&P(i.value)),ba(),n("blur"))},Ka=(K,we,$e=!1)=>{if(!K){d.value=null;return}const Nt=Array.isArray(K)?!K.some(Zt=>!E(Zt)):E(K),kt=X(K);Nt&&kt&&(d.value=K,we&&(w.value=$e,Ot(),n("text-submit")))},Za=()=>{o.autoApply&&X(d.value)&&g(),Kt()},Oa=()=>l.value?pt():oe(),en=K=>{d.value=K},tn=()=>{I.value.enabled&&(p.value=!0,R()),n("focus")},an=()=>{if(I.value.enabled&&(p.value=!1,P(o.modelValue),w.value)){const K=gv(b.value,S.value);K==null||K.focus()}n("blur")},N=K=>{h.value&&h.value.updateMonthYear(0,{month:ho(K.month),year:ho(K.year)})},ae=K=>{P(K??o.modelValue)},ye=(K,we)=>{var $e;($e=h.value)==null||$e.switchView(K,we)},Se=K=>te.value.onClickOutside?te.value.onClickOutside(K):pt();return mf(y,v,()=>Se(nt)),a({closeMenu:pt,selectDate:Ot,clearValue:st,openMenu:oe,onScroll:J,formatInputValue:R,updateInternalModelValue:en,setMonthYear:N,parseModel:ae,switchView:ye,toggleMenu:Oa}),(K,we)=>(u(),m("div",{ref_key:"pickerWrapperRef",ref:b,class:ve(Ie.value),"data-datepicker-instance":""},[G(ap,Oe({ref_key:"inputRef",ref:v,"input-value":s(Y),"onUpdate:inputValue":we[0]||(we[0]=$e=>to(Y)?Y.value=$e:null),"is-menu-open":l.value},K.$props,{onClear:st,onOpen:oe,onSetInputDate:Ka,onSetEmptyDate:s(g),onSelectDate:Ot,onToggle:Oa,onClose:pt,onFocus:tn,onBlur:an,onRealBlur:we[1]||(we[1]=$e=>p.value=!1)}),rt({_:2},[be(s(k),($e,Nt)=>({name:$e,fn:D(kt=>[$(K.$slots,$e,Ke(it(kt)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(u(),re(St(K.teleport?Hr:"div"),Ke(it(H.value)),{default:D(()=>[G(Et,{name:s(B)(s(f)),css:s(j)&&!s(q).enabled},{default:D(()=>[l.value?(u(),m("div",Oe({key:0,ref_key:"dpWrapMenuRef",ref:y},ke.value,{class:{"dp--menu-wrapper":!s(q).enabled},style:s(q).enabled?void 0:s(F)}),[G($o,Oe({ref_key:"dpMenuRef",ref:h},K.$props,{"internal-model-value":s(d),"onUpdate:internalModelValue":we[2]||(we[2]=$e=>to(d)?d.value=$e:null),class:{[O.value]:!0,"dp--menu-wrapper":K.teleport},"open-on-top":s(f),"no-overlay-focus":M.value,collapse:L.value,onClosePicker:pt,onSelectDate:Ot,onAutoApply:_a,onTimeUpdate:Za,onFlowStep:we[3]||(we[3]=$e=>K.$emit("flow-step",$e)),onUpdateMonthYear:we[4]||(we[4]=$e=>K.$emit("update-month-year",$e)),onInvalidSelect:we[5]||(we[5]=$e=>K.$emit("invalid-select",s(d))),onAutoApplyInvalid:we[6]||(we[6]=$e=>K.$emit("invalid-select",$e)),onInvalidFixedRange:we[7]||(we[7]=$e=>K.$emit("invalid-fixed-range",$e)),onRecalculatePosition:s(ue),onTooltipOpen:we[8]||(we[8]=$e=>K.$emit("tooltip-open",$e)),onTooltipClose:we[9]||(we[9]=$e=>K.$emit("tooltip-close",$e)),onTimePickerOpen:we[10]||(we[10]=$e=>K.$emit("time-picker-open",$e)),onTimePickerClose:we[11]||(we[11]=$e=>K.$emit("time-picker-close",$e)),onAmPmChange:we[12]||(we[12]=$e=>K.$emit("am-pm-change",$e)),onRangeStart:we[13]||(we[13]=$e=>K.$emit("range-start",$e)),onRangeEnd:we[14]||(we[14]=$e=>K.$emit("range-end",$e)),onDateUpdate:we[15]||(we[15]=$e=>K.$emit("date-update",$e)),onInvalidDate:we[16]||(we[16]=$e=>K.$emit("invalid-date",$e))}),rt({_:2},[be(s(se),($e,Nt)=>({name:$e,fn:D(kt=>[$(K.$slots,$e,Ke(it({...kt})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","onRecalculatePosition"])],16)):x("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Ae=(()=>{const e=vf;return e.install=a=>{a.component("Vue3DatePicker",e)},e})(),pf=Object.freeze(Object.defineProperty({__proto__:null,default:Ae},Symbol.toStringTag,{value:"Module"}));Object.entries(pf).forEach(([e,a])=>{e!=="default"&&(Ae[e]=a)});const ff={class:"demo-wrap"},hf={class:"action-row"},yf={class:"current-selection"},gf=["onClick"],_f=U({__name:"ActionRowSlotDemo",setup(e){const a=V(new Date),{isDark:t}=Ce(),n=o=>ft(o,"dd.MM.yyyy, HH:mm");return(o,r)=>(u(),m("div",ff,[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t)},{"action-row":D(({internalModelValue:l,selectDate:i})=>[_("div",hf,[_("p",yf,le(n(l)),1),_("button",{class:"select-button",onClick:i},"Select Date",8,gf)])]),_:1},8,["modelValue","dark"])]))}}),bf={class:"demo-wrap"},kf=U({__name:"CustomCalendarDemo",props:{},setup(e){const{isDark:a}=Ce(),t=V(),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)=>(u(),m("div",bf,[G(s(Ae),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"},$f=U({__name:"DarkDemo",props:["placeholder"],setup(e){const a=V(new Date);return(t,n)=>(u(),m("div",wf,[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=o=>a.value=o),placeholder:e.placeholder,dark:""},null,8,["modelValue","placeholder"])]))}}),Df={class:"demo-wrap"},Pf=U({__name:"DemoDayClass",setup(e){const a=V(new Date),{isDark:t}=Ce(),n=o=>aa(o,Ge(Be(new Date,{hours:0,minutes:0,seconds:0,milliseconds:0}),1))?"marked-cell":"";return(o,r)=>(u(),m("div",Df,[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"day-class":n},null,8,["modelValue","dark"])]))}}),Mf={class:"demo-wrap"},Tf=U({__name:"DemoHighlight",props:["disabled"],setup(e){const a=V(new Date),{isDark:t}=Ce(),n=e,o=T(()=>[Ge(new Date,1),Ge(new Date,2),Ge(new Date,3)]),r=T(()=>n.disabled?o.value:[]),l=T(()=>({dates:n.disabled?r.value:o.value,options:{highlightDisabled:!0}}));return(i,c)=>(u(),m("div",Mf,[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=y=>a.value=y),dark:s(t),highlight:l.value,"disabled-dates":r.value},null,8,["modelValue","dark","highlight","disabled-dates"])]))}}),Sf={class:"demo-wrap"},xf=_("span",{class:"custom-marker"},null,-1),Af=U({__name:"DemoMarkers",props:["useMarkerTooltipSlot","useMarkerSlot"],setup(e){const a=V(new Date),{isDark:t}=Ce(),n=T(()=>[{date:Ge(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:Ge(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:Ge(new Date,3),type:"dot",color:"yellow"}]);return(o,r)=>(u(),m("div",Sf,[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),markers:n.value},rt({_:2},[e.useMarkerTooltipSlot?{name:"marker-tooltip",fn:D(({day:l})=>[_("div",null,"Custom content on "+le(l),1)]),key:"0"}:void 0,e.useMarkerSlot?{name:"marker",fn:D(({day:l})=>[xf]),key:"1"}:void 0]),1032,["modelValue","dark","markers"])]))}}),Cf=_("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1),Vf=["value"],Of=_("img",{class:"input-slot-image",src:Vt},null,-1),Nf=["onClick"],If=_("img",{class:"slot-icon",src:Vt},null,-1),Lf=_("img",{class:"slot-icon",src:Vt},null,-1),Rf=_("img",{class:"slot-icon",src:Vt},null,-1),Yf=_("img",{class:"slot-icon-m",src:Vt},null,-1),Ef=_("img",{class:"slot-icon-m",src:Vt},null,-1),Bf=_("img",{class:"slot-icon",src:Vt},null,-1),Ff={key:0,class:"slot-icon",src:Vt},Hf=["onClick"],Wf=_("img",{class:"slot-icon centered",src:Vt},null,-1),zf=[Wf],qf=["onClick"],Uf={class:"time-picker-overlay"},jf=["value","onChange"],Qf=["value"],Gf=["value","onChange"],Xf=["value"],Jf=_("div",{class:"dp-sidebar"},"Custom content",-1),Kf=_("div",{class:"dp-sidebar"},"Custom content",-1),Zf={class:"overlay-header"},eh=["onClick"],th={class:"overlay-header"},ah=["onClick"],nh=U({__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"],setup(e){const a=V(new Date),{isDark:t}=Ce(),n=V(null),o=T(()=>new Date().getDate()+1),r=T(()=>h=>`Selected ${new Date(h).getDate()}`),l=T(()=>{const h=[];for(let v=0;v<24;v++)h.push({text:v<10?`0${v}`:v,value:v});return h}),i=T(()=>{const h=[];for(let v=0;v<60;v++)h.push({text:v<10?`0${v}`:v,value:v});return h}),c=()=>{n.value&&n.value.selectDate()},y=h=>ft(h,"QQQ");return(h,v)=>(u(),m("div",{class:ve(["demo-wrap",e.useDpInputSlot||e.useTriggerSlot?"demo-wrap-inline":""])},[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":v[0]||(v[0]=p=>a.value=p),placeholder:e.placeholder,dark:s(t),position:e.position,"quarter-picker":e.useQuarterSlot,is24:e.is24,ref_key:"dpSlotDemo",ref:n},rt({_:2},[e.useTriggerSlot?{name:"trigger",fn:D(()=>[Cf]),key:"0"}:void 0,e.useDpInputSlot?{name:"dp-input",fn:D(({value:p})=>[_("input",{class:"input-class",type:"text",value:p},null,8,Vf)]),key:"1"}:void 0,e.useInputIconSlot?{name:"input-icon",fn:D(()=>[Of]),key:"2"}:void 0,e.useClearIconSlot?{name:"clear-icon",fn:D(({clear:p})=>[_("img",{class:"input-slot-image-clear",src:Vt,onClick:p},null,8,Nf)]),key:"3"}:void 0,e.useClockIconSlot?{name:"clock-icon",fn:D(()=>[If]),key:"4"}:void 0,e.useArrowLeftSlot?{name:"arrow-left",fn:D(()=>[Lf]),key:"5"}:void 0,e.useArrowRightSlot?{name:"arrow-right",fn:D(()=>[Rf]),key:"6"}:void 0,e.useArrowUpSlot?{name:"arrow-up",fn:D(()=>[Yf]),key:"7"}:void 0,e.useArrowDownSlot?{name:"arrow-down",fn:D(()=>[Ef]),key:"8"}:void 0,e.useCalendarIconSlot?{name:"calendar-icon",fn:D(()=>[Bf]),key:"9"}:void 0,e.useDaySlot?{name:"day",fn:D(({day:p})=>[p===o.value?(u(),m("img",Ff)):(u(),m(de,{key:1},[Ne(le(p),1)],64))]),key:"10"}:void 0,e.useActionButtonSlot?{name:"action-buttons",fn:D(()=>[_("p",{class:"custom-select",onClick:c},"Select")]),key:"11"}:void 0,e.useActionPreviewSlot?{name:"action-preview",fn:D(({value:p})=>[Ne(le(r.value(p)),1)]),key:"12"}:void 0,e.useHoursSlot?{name:"hours",fn:D(({value:p})=>[Ne(le(p),1)]),key:"13"}:void 0,e.useMinutesSlot?{name:"minutes",fn:D(({value:p})=>[Ne(le(p),1)]),key:"14"}:void 0,e.useMonthSlot?{name:"month",fn:D(({value:p})=>[Ne(le(p),1)]),key:"15"}:void 0,e.useYearSlot?{name:"year",fn:D(({value:p})=>[Ne(le(p),1)]),key:"16"}:void 0,e.useHoursOverlaySlot?{name:"hours-overlay-value",fn:D(({value:p})=>[Ne(le(p),1)]),key:"17"}:void 0,e.useMinutesOverlaySlot?{name:"minutes-overlay-value",fn:D(({value:p})=>[Ne(le(p),1)]),key:"18"}:void 0,e.useMonthOverlaySlot?{name:"month-overlay-value",fn:D(({value:p})=>[Ne(le(p),1)]),key:"19"}:void 0,e.useYearOverlaySlot?{name:"year-overlay-value",fn:D(({value:p})=>[Ne(le(p),1)]),key:"20"}:void 0,e.useCalendarHeaderSlot?{name:"calendar-header",fn:D(({index:p,day:b})=>[_("div",{class:ve(p===5||p===6?"red-color":"")},le(b),3)]),key:"21"}:void 0,e.useActionExtraSlot?{name:"action-extra",fn:D(({selectCurrentDate:p})=>[_("span",{onClick:b=>p(),title:"Select current date",class:"pointer"},zf,8,Hf)]),key:"22"}:void 0,e.useAmPmButtonSlot?{name:"am-pm-button",fn:D(({toggle:p,value:b})=>[_("button",{onClick:p},le(b),9,qf)]),key:"23"}:void 0,e.useTimePickerOverlay?{name:"time-picker-overlay",fn:D(({hours:p,minutes:b,setHours:w,setMinutes:S})=>[_("div",Uf,[_("select",{class:"select-input",value:p,onChange:L=>w(+L.target.value)},[(u(!0),m(de,null,be(l.value,L=>(u(),m("option",{key:L.value,value:L.value},le(L.text),9,Qf))),128))],40,jf),_("select",{class:"select-input",value:b,onChange:L=>S(+L.target.value)},[(u(!0),m(de,null,be(i.value,L=>(u(),m("option",{key:L.value,value:L.value},le(L.text),9,Xf))),128))],40,Gf)])]),key:"24"}:void 0,e.useLeftSidebarSlot?{name:"left-sidebar",fn:D(()=>[Jf]),key:"25"}:void 0,e.useRightSidebarSlot?{name:"right-sidebar",fn:D(()=>[Kf]),key:"26"}:void 0,e.useMonthOverlayHeaderSlot?{name:"month-overlay-header",fn:D(({toggle:p})=>[_("div",Zf,[_("span",{onClick:p,class:"pointer"},le("< Go back"),8,eh)])]),key:"27"}:void 0,e.useYearOverlayHeaderSlot?{name:"year-overlay-header",fn:D(({toggle:p})=>[_("div",th,[_("span",{onClick:p,class:"pointer"},le("< Go back"),8,ah)])]),key:"28"}:void 0,e.useQuarterSlot?{name:"quarter",fn:D(({value:p})=>[_("span",null,le(y(p)),1)]),key:"29"}:void 0]),1032,["modelValue","placeholder","dark","position","quarter-picker","is24"])],2))}}),oh={class:"demo-wrap"},rh=U({__name:"DisabledDatesDemo",setup(e){const a=V(new Date),{isDark:t}=Ce(),n=T(()=>{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)=>(u(),m("div",oh,[G(s(Ae),{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"])]))}}),lh={class:"demo-wrap"},sh=U({__name:"DisabledRangeDateDemo",props:{},setup(e){const{isDark:a}=Ce(),t=V([]),n=[Fn(new Date,1),new Date,Ge(new Date,1)];return(o,r)=>(u(),m("div",lh,[G(s(Ae),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"])]))}}),ih={class:"demo-wrap"},uh={class:"buttons-wrap"},dh=["onClick"],ch=U({__name:"DisabledTimesDemo",props:{},setup(e){const{isDark:a}=Ce(),t=V(null),n=["single","range"],o=V("single"),r=T(()=>o.value==="range"),l=[{hours:15,minutes:"*"},{hours:16,minutes:15},{hours:16,minutes:20},{hours:17,minutes:30}],i=[[{hours:12,minutes:"*"},{hours:9,minutes:10}],l],c=y=>{t.value=null,o.value=y};return(y,h)=>(u(),m("div",ih,[_("div",uh,[(u(),m(de,null,be(n,(v,p)=>_("button",{class:ve(["change-btn",{"btn-active":v===o.value}]),key:p,onClick:b=>c(v)},le(v),11,dh)),64))]),G(s(Ae),Oe({modelValue:t.value,"onUpdate:modelValue":h[0]||(h[0]=v=>t.value=v),placeholder:"Select date"},y.$props,{dark:s(a),"disabled-times":r.value?i:l,range:r.value}),null,16,["modelValue","dark","disabled-times","range"])]))}}),mh=pe(ch,[["__scopeId","data-v-2a3dee5c"]]),vh={class:"demo-wrap"},ph={key:0},fh=U({__name:"DisplayModelDemo",props:["modelType","modelAuto","range"],setup(e){const a=V(),{isDark:t}=Ce();return(n,o)=>(u(),m("div",vh,[G(s(Ae),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?(u(),m("p",ph,"Selected date: "+le(a.value),1)):x("",!0)]))}}),hh={class:"demo-wrap"},yh=U({__name:"EmitTimezone",setup(e){const{isDark:a}=Ce(),t=V(),n=V(),o=r=>{n.value=r};return(r,l)=>(u(),m("div",hh,[t.value&&n.value?(u(),m(de,{key:0},[_("div",null,"Local timezone date: "+le(t.value),1),_("div",null,"UTC date: "+le(n.value),1)],64)):x("",!0),G(s(Ae),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=i=>t.value=i),placeholder:"Select date","emit-timezone":"UTC",dark:s(a),"onUpdate:modelTimezoneValue":o},null,8,["modelValue","dark"])]))}}),gh={class:"demo-wrap"},_h=U({__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=V(),{isDark:n}=Ce(),o=T(()=>{if(a.allowedDates)return[new Date,new Date(new Date().setDate(new Date().getDate()+1))]});return(r,l)=>(u(),m("div",gh,[G(s(Ae),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=i=>t.value=i),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"])]))}}),bh={class:"demo-wrap"},kh=U({__name:"FiltersDemo",setup(e){const a=V(new Date),{isDark:t}=Ce(),n=T(()=>{const o=new Date;return{months:Array.from(Array(3).keys()).map(r=>Te(mt(o,r+1)))}});return(o,r)=>(u(),m("div",bh,[G(s(Ae),{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"])]))}}),wh={class:"demo-wrap"},$h=U({__name:"FormatDemo",props:["placeholder"],setup(e){const a=V(new Date),{isDark:t}=Ce(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,i=o.getFullYear();return`Selected date is ${r}/${l}/${i}`};return(o,r)=>(u(),m("div",wh,[G(s(Ae),{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"])]))}}),Dh={class:"demo-wrap"},Ph=U({__name:"GlobalDemo",props:["uid","is24","enableTimePicker","locale","cancelText","selectText","range","position","weekNumbers","placeholder","hoursIncrement","minutesIncrement","hoursGridIncrement","minutesGridIncrement","minDate","maxDate","minTime","maxTime","weekStart","disabled","readonly","inputClassName","menuClassName","hideInputIcon","state","clearable","closeOnScroll","autoApply","filters","disableMonthYearSelect","yearRange","disabledDates","inline","weekNumName","autoPosition","monthPicker","timePicker","closeOnAutoApply","calendarClassName","calendarCellClassName","teleport","startDate","startTime","monthNameFormat","autoRange","hideOffsetDates","noHoursOverlay","noMinutesOverlay","altPosition","multiCalendars","multiCalendarsSolo","partialRange","monthChangeOnScroll","transitions","modeHeight","enableSeconds","secondsIncrement","secondsGridIncrement","noSecondsOverlay","openMenuOnFocus","escClose","spaceConfirm","monthChangeOnArrows","inlineWithInput","name","autocomplete","preventMinMaxNavigation","fixedEnd","fixedStart","reverseYears","vertical","arrowNavigation","textInput","yearPicker","multiStatic","disableTimeRangeValidation","dayNames","offset","teleportCenter","hideNavigation","sixWeeks","actionRow","disableYearSelect","focusStartDate","timePickerInline","yearFirst","loading"],setup(e){const a=e,t=V(null),n=V(!1),{isDark:o}=Ce(),r=T({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,i=new Date(new Date().setDate(l.getDate()+7));return[l,i]}return new Date},set:l=>{n.value=!l,t.value=l}});return(l,i)=>(u(),m("div",Dh,[G(s(Ae),Oe({modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=c=>r.value=c)},l.$props,{dark:s(o)}),null,16,["modelValue","dark"])]))}}),Mh={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}}年近く"}},Th=(e,a,t)=>{t=t||{};let n;const o=Mh[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},Sh={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},xh={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Ah={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Ch={date:ma({formats:Sh,defaultWidth:"full"}),time:ma({formats:xh,defaultWidth:"full"}),dateTime:ma({formats:Ah,defaultWidth:"full"})},Vh={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},Oh=(e,a,t,n)=>Vh[e],Nh={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},Ih={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},Lh={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月"]},Rh={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},Yh={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:"深夜"}},Eh={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:"深夜"}},Bh=(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}`}},Fh={ordinalNumber:Bh,era:$t({values:Nh,defaultWidth:"wide"}),quarter:$t({values:Ih,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:$t({values:Lh,defaultWidth:"wide"}),day:$t({values:Rh,defaultWidth:"wide"}),dayPeriod:$t({values:Yh,defaultWidth:"wide",formattingValues:Eh,defaultFormattingWidth:"wide"})},Hh=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,Wh=/\d+/i,zh={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},qh={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},Uh={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},jh={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},Qh={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},Gh={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},Xh={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},Jh={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},Kh={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},Zh={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},e0={ordinalNumber:Xo({matchPattern:Hh,parsePattern:Wh,valueCallback:function(e){return parseInt(e,10)}}),era:Dt({matchPatterns:zh,defaultMatchWidth:"wide",parsePatterns:qh,defaultParseWidth:"any"}),quarter:Dt({matchPatterns:Uh,defaultMatchWidth:"wide",parsePatterns:jh,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Dt({matchPatterns:Qh,defaultMatchWidth:"wide",parsePatterns:Gh,defaultParseWidth:"any"}),day:Dt({matchPatterns:Xh,defaultMatchWidth:"wide",parsePatterns:Jh,defaultParseWidth:"any"}),dayPeriod:Dt({matchPatterns:Kh,defaultMatchWidth:"any",parsePatterns:Zh,defaultParseWidth:"any"})},t0={code:"ja",formatDistance:Th,formatLong:Ch,formatRelative:Oh,localize:Fh,match:e0,options:{weekStartsOn:0,firstWeekContainsDate:1}},a0={class:"demo-wrap"},n0=U({__name:"LocalizedOutput",setup(e){const a=V(new Date),{isDark:t}=Ce();return(n,o)=>(u(),m("div",a0,[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),placeholder:"Select Date","format-locale":s(t0),format:"E"},null,8,["modelValue","dark","format-locale"])]))}}),o0={class:"demo-wrap"},r0=U({__name:"MinMaxDemo",setup(e){const a=V(new Date),{isDark:t}=Ce(),n=T(()=>Yt(new Date(De(new Date),Te(new Date)),2)),o=T(()=>mt(new Date(De(new Date),Te(new Date)),2));return(r,l)=>(u(),m("div",o0,[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=i=>a.value=i),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"])]))}}),l0={class:"demo-wrap"},s0=U({__name:"MonthPickerDemo",props:{autoApplyMonth:{type:Boolean,default:!0}},setup(e){const{isDark:a}=Ce(),t=V({month:new Date().getMonth(),year:new Date().getFullYear()});return(n,o)=>(u(),m("div",l0,[G(s(Ae),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"])]))}}),i0={},u0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},d0=_("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),c0=[d0];function m0(e,a){return u(),m("svg",u0,c0)}const v0=pe(i0,[["render",m0]]),p0={},f0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},h0=_("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),y0=[h0];function g0(e,a){return u(),m("svg",f0,y0)}const _0=pe(p0,[["render",g0]]),b0={class:"demo-wrap"},k0={class:"custom-month-year-component"},w0=["value","onChange"],$0=["value"],D0=["value","onChange"],P0=["value"],M0={class:"icons"},T0=["onClick"],S0=["onClick"],x0={class:"custom-month-year-component"},A0=["value","onChange"],C0=["value"],V0=["onClick"],O0={class:"year-overlay"},N0=["value","onChange"],I0=["value"],L0=["onClick"],R0=U({__name:"MonthYearSlotDemo",props:["defaultSlot","monthOverlaySlot","yearOverlaySlot"],setup(e){const a=V(new Date),{isDark:t}=Ce(),n=(r,l,i,c)=>{l(+r.target.value,i),c&&c()},o=(r,l,i,c)=>{l(i,+r.target.value),c&&c()};return(r,l)=>(u(),m("div",b0,[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=i=>a.value=i),dark:s(t)},rt({_:2},[e.defaultSlot?{name:"month-year",fn:D(({month:i,year:c,months:y,years:h,updateMonthYear:v,handleMonthYearChange:p})=>[_("div",k0,[_("select",{class:"select-input",value:i,onChange:b=>n(b,v,c)},[(u(!0),m(de,null,be(y,b=>(u(),m("option",{key:b.value,value:b.value},le(b.text),9,$0))),128))],40,w0),_("select",{class:"select-input",value:c,onChange:b=>o(b,v,i)},[(u(!0),m(de,null,be(h,b=>(u(),m("option",{key:b.value,value:b.value},le(b.text),9,P0))),128))],40,D0)]),_("div",M0,[_("span",{class:"custom-icon",onClick:b=>p(!1)},[G(v0)],8,T0),_("span",{class:"custom-icon",onClick:b=>p(!0)},[G(_0)],8,S0)])]),key:"0"}:void 0,e.monthOverlaySlot?{name:"month-overlay",fn:D(({month:i,year:c,items:y,updateMonthYear:h,toggle:v})=>[_("div",x0,[_("select",{class:"select-input",value:i,onChange:p=>n(p,h,c,v)},[(u(!0),m(de,null,be(y,p=>(u(),m("option",{key:p.value,value:p.value},le(p.text),9,C0))),128))],40,A0)]),_("button",{onClick:v},"Close",8,V0)]),key:"1"}:void 0,e.yearOverlaySlot?{name:"year-overlay",fn:D(({month:i,year:c,items:y,updateMonthYear:h,toggle:v})=>[_("div",O0,[_("div",null,[_("select",{class:"select-input",value:c,onChange:p=>o(p,h,i,v)},[(u(!0),m(de,null,be(y,p=>(u(),m("option",{key:p.value,value:p.value},le(p.text),9,I0))),128))],40,N0)]),_("button",{onClick:v},"Close",8,L0)])]),key:"2"}:void 0]),1032,["modelValue","dark"])]))}}),Y0={class:"demo-wrap"},E0=["onClick"],B0=U({__name:"PresetRange",setup(e){const a=V(),{isDark:t}=Ce(),n=V([{label:"Today",value:[new Date,new Date]},{label:"Today (Slot)",value:[new Date,new Date],slot:"preset-date-range-button"},{label:"This month",value:[so(new Date),lo(new Date)]},{label:"Last month",value:[so(Yt(new Date,1)),lo(Yt(new Date,1))]},{label:"This year",value:[In(new Date),Go(new Date)]}]);return(o,r)=>(u(),m("div",Y0,[G(s(Ae),{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":D(({label:l,value:i,presetDate:c})=>[_("span",{role:"button",tabindex:0,onClick:y=>c(i)},le(l),9,E0)]),_:1},8,["modelValue","dark","preset-dates"])]))}}),F0={class:"demo-wrap"},H0=U({__name:"PreviewFormatDemo",props:["placeholder"],setup(e){const a=V(new Date),{isDark:t}=Ce(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,i=o.getFullYear();return`Selected date is ${r}/${l}/${i}`};return(o,r)=>(u(),m("div",F0,[G(s(Ae),{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"])]))}}),W0={class:"demo-wrap"},z0=U({__name:"QuarterPickerDemo",setup(e){const{isDark:a}=Ce(),t=V(zt(new Date));return(n,o)=>(u(),m("div",W0,[G(s(Ae),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"])]))}}),q0={class:"demo-wrap"},U0=U({__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}=Ce(),n=T(()=>{var r,l,i;return typeof a.range=="object"?((r=a.range)==null?void 0:r.autoRange)||((l=a.range)==null?void 0:l.maxRange)||((i=a.range)==null?void 0:i.minRange):!1}),o=V(n.value?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(r,l)=>(u(),m("div",q0,[G(s(Ae),Oe({modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=i=>o.value=i)},r.$props,{dark:s(t),rang:e.range,placeholder:e.placeholder}),null,16,["modelValue","dark","rang","placeholder"])]))}}),j0={class:"demo-wrap"},Q0=U({__name:"RangeDemoDeprecated",props:{autoRange:{type:[Number,String],default:null},multiCalendars:{type:[Number,String,Boolean,Object],default:null},partialRange:{type:Boolean,default:!0},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},showLastInRange:{type:Boolean,default:!0},placeholder:{type:String,default:"Select Range"},minRange:{type:Number,default:null},maxRange:{type:Number,default:null},noVModel:{type:Boolean,default:!1}},setup(e){const a=e,{isDark:t}=Ce(),n=V(a.autoRange||a.noVModel?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(o,r)=>(u(),m("div",j0,[G(s(Ae),Oe({modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=l=>n.value=l)},o.$props,{dark:s(t),range:"",placeholder:e.placeholder}),null,16,["modelValue","dark","placeholder"])]))}}),G0={class:"demo-wrap"},X0=U({__name:"DisabledRangeDateDemoDeprecated",props:{},setup(e){const{isDark:a}=Ce(),t=V([]),n=[Fn(new Date,1),new Date,Ge(new Date,1)];return(o,r)=>(u(),m("div",G0,[G(s(Ae),Oe({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},o.$props,{dark:s(a),range:"","no-disabled-range":"","disabled-dates":n,placeholder:"Select range"}),null,16,["modelValue","dark"])]))}}),J0={class:"demo-wrap"},K0=_("button",{class:"submit-btn",type:"submit"},"Submit form",-1),Z0=U({__name:"RequiredDemo",setup(e){const a=V(),{isDark:t}=Ce(),n=()=>{alert("Form submitted")};return(o,r)=>(u(),m("div",J0,[_("form",{onSubmit:Ye(n,["prevent"])},[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),K0],32)]))}}),ey={class:"demo-wrap"},ty={class:"buttons-wrap"},ay=["onClick"],ny=U({__name:"SixWeeksDemo",setup(e){const a=V(new Date),{isDark:t}=Ce(),n=[!0,"append","prepend","center","fair"],o=V(!0);return(r,l)=>(u(),m("div",ey,[_("div",ty,[(u(),m(de,null,be(n,(i,c)=>_("button",{class:ve(["change-btn",{"btn-active":i===o.value}]),key:c,onClick:y=>o.value=i},le(i),11,ay)),64))]),G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=i=>a.value=i),dark:s(t),"six-weeks":o.value},null,8,["modelValue","dark","six-weeks"])]))}}),oy=pe(ny,[["__scopeId","data-v-e3f2bf69"]]),ry={class:"demo-wrap"},ly=U({__name:"TextInputDemo",props:["textInput","placeholder","minDate","maxDate"],setup(e){const a=V(new Date),{isDark:t}=Ce();return(n,o)=>(u(),m("div",ry,[G(s(Ae),{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"])]))}}),sy={class:"demo-wrap"},iy=U({__name:"TimePickerDemo",props:["modeHeight"],setup(e){const{isDark:a}=Ce(),t=V({hours:new Date().getHours(),minutes:new Date().getMinutes()});return(n,o)=>(u(),m("div",sy,[G(s(Ae),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"])]))}}),uy={class:"demo-wrap"},dy={class:"custom-time-picker-component"},cy=["value","onChange"],my=["value"],vy=["value","onChange"],py=["value"],fy=U({__name:"TimePickerSlotDemo",setup(e){const a=V(new Date),{isDark:t}=Ce(),n=T(()=>{const r=[];for(let l=0;l<24;l++)r.push({text:l<10?`0${l}`:l,value:l});return r}),o=T(()=>{const r=[];for(let l=0;l<60;l++)r.push({text:l<10?`0${l}`:l,value:l});return r});return(r,l)=>(u(),m("div",uy,[G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=i=>a.value=i),dark:s(t)},{"time-picker":D(({time:i,updateTime:c})=>[_("div",dy,[_("select",{class:"select-input",value:i.hours,onChange:y=>c(+y.target.value)},[(u(!0),m(de,null,be(n.value,y=>(u(),m("option",{key:y.value,value:y.value},le(y.text),9,my))),128))],40,cy),_("select",{class:"select-input",value:i.minutes,onChange:y=>c(+y.target.value,!1)},[(u(!0),m(de,null,be(o.value,y=>(u(),m("option",{key:y.value,value:y.value},le(y.text),9,py))),128))],40,vy)])]),_:1},8,["modelValue","dark"])]))}}),hy={class:"demo-wrap"},yy={key:0},gy=U({__name:"TimezoneDemo",setup(e){const a=V(),{isDark:t}=Ce();return(n,o)=>(u(),m("div",hy,[G(s(Ae),{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?(u(),m("p",yy,"Selected date in UTC format: "+le(a.value),1)):x("",!0)]))}}),_y=e=>(Ze("data-v-323b52ea"),e=e(),et(),e),by={class:"demo-wrap"},ky=_y(()=>_("option",{value:void 0},"Select timezone",-1)),wy=["value"],$y=U({__name:"TimezonePropDemo",setup(e){const a=V([new Date,Ge(new Date,5)]),{isDark:t}=Ce(),n=V(void 0),o=["Pacific/Midway","America/Adak","Pacific/Gambier","America/Los_Angeles","America/Denver","America/Chicago","America/New_York","America/Santiago","America/Sao_Paulo","America/Noronha","Atlantic/Cape_Verde","UTC","Europe/Brussels","Africa/Cairo","Europe/Minsk","Europe/Moscow","Asia/Tashkent","Asia/Dhaka","Asia/Novosibirsk","Australia/Perth","Asia/Tokyo","Australia/Hobart","Asia/Vladivostok","Pacific/Auckland"];return(r,l)=>(u(),m("div",by,[_("div",null,[ca(_("select",{class:"custom-select",name:"timezone-select",id:"timezone-select","onUpdate:modelValue":l[0]||(l[0]=i=>n.value=i)},[ky,(u(),m(de,null,be(o,i=>_("option",{value:i,key:i},le(i),9,wy)),64))],512),[[jr,n.value]])]),G(s(Ae),{modelValue:a.value,"onUpdate:modelValue":l[1]||(l[1]=i=>a.value=i),dark:s(t),"multi-calendars":"",timezone:n.value,range:"","partial-range":!1},null,8,["modelValue","dark","timezone"])]))}}),Dy=pe($y,[["__scopeId","data-v-323b52ea"]]),Py={class:"demo-wrap"},My=U({__name:"YearPickerDemo",props:{},setup(e){const{isDark:a}=Ce(),t=V(new Date().getFullYear());return(n,o)=>(u(),m("div",Py,[G(s(Ae),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"])]))}}),xr=e=>(Ze("data-v-938a3203"),e=e(),et(),e),Ty={class:"tz-demo-wrap"},Sy={class:"dp-container-wrap"},xy={class:"tz-range-slider-wrap"},Ay=xr(()=>_("br",null,null,-1)),Cy=xr(()=>_("br",null,null,-1)),Vy={key:0},Oy=U({__name:"TimezoneNewDemo",props:{timezone:{type:Object,default:void 0},emitVal:{type:Boolean,default:!1}},setup(e){const{isDark:a}=Ce(),t=e,n=V(),o=V(11),r=V(),l=T(()=>{var p,b;if(t.emitVal)return;const v=Te(new Date)+1>9?Te(new Date)+1:`0${Te(new Date)+1}`;return(p=t.timezone)!=null&&p.exactMatch?new Date:(b=t.timezone)!=null&&b.dateInTz?`${De(new Date)}-${v}-15T01:00:00Z`:`${De(new Date)}-${v}-15T01:00:00Z`}),i=[{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}],c=T(()=>i[o.value]),y=T(()=>{const v=t.emitVal?{emitTimezone:c.value.tz}:{timezone:c.value.tz};return t.timezone?{...t.timezone,...v}:v}),h=v=>{r.value=v.toISOString()};return(v,p)=>(u(),m("div",Ty,[_("div",Sy,[G(s(Ae),{modelValue:n.value,"onUpdate:modelValue":p[0]||(p[0]=b=>n.value=b),dark:s(a),timezone:y.value,inline:"","auto-apply":"","max-date":l.value,"onUpdate:modelTimezoneValue":h},null,8,["modelValue","dark","timezone","max-date"])]),_("div",xy,[_("div",null,[_("span",null,"Timezone: "+le(c.value.tz),1),Ay,_("span",null,"Offset: "+le(c.value.offset>0?`+${c.value.offset}`:c.value.offset),1),Cy,r.value?(u(),m("span",Vy,"Zoned date: "+le(r.value),1)):x("",!0)]),_("div",null,[ca(_("input",{class:"tz-range-slider",type:"range","onUpdate:modelValue":p[1]||(p[1]=b=>o.value=b),min:"0",max:"22"},null,512),[[Qr,o.value]])])])]))}}),Ny=pe(Oy,[["__scopeId","data-v-938a3203"]]),Ry={extends:lc,enhanceApp({app:e}){e.component("StarAndSponsor",mc),e.component("ActionRowSlotDemo",_f),e.component("CustomCalendarDemo",kf),e.component("DarkDemo",$f),e.component("DemoDayClass",Pf),e.component("DemoHighlight",Tf),e.component("DemoMarkers",Af),e.component("DemoSlots",nh),e.component("DisabledDatesDemo",rh),e.component("DisabledRangeDateDemo",sh),e.component("DisabledTimesDemo",mh),e.component("DisplayModelDemo",fh),e.component("EmitTimezone",yh),e.component("EmptyDemo",_h),e.component("FiltersDemo",kh),e.component("FormatDemo",$h),e.component("GlobalDemo",Ph),e.component("LocalizedOutput",n0),e.component("MinMaxDemo",r0),e.component("MonthPickerDemo",s0),e.component("MonthYearSlotDemo",R0),e.component("PresetRange",B0),e.component("PreviewFormatDemo",H0),e.component("QuarterPickerDemo",z0),e.component("RangeDemo",U0),e.component("RequiredDemo",Z0),e.component("SixWeeksDemo",oy),e.component("TextInputDemo",ly),e.component("TimePickerDemo",iy),e.component("TimePickerSlotDemo",fy),e.component("TimezoneDemo",gy),e.component("TimezonePropDemo",Dy),e.component("YearPickerDemo",My),e.component("RangeDemoDeprecated",Q0),e.component("DisabledRangeDateDemoDeprecated",X0),e.component("TimezoneNewDemo",Ny)}};export{Ry as R,fl as a,xe as u}; diff --git a/docs/assets/chunks/theme.kroa52e1.js b/docs/assets/chunks/theme.kroa52e1.js new file mode 100644 index 000000000..3fd5384ab --- /dev/null +++ b/docs/assets/chunks/theme.kroa52e1.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/chunks/ui-custom.I27cV75g.js","assets/chunks/framework.B0g_G0if.js","assets/chunks/VPAlgoliaSearchBox.CSvPPjLO.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +var Cr=Object.defineProperty;var Vr=(e,a,t)=>a in e?Cr(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var me=(e,a,t)=>(Vr(e,typeof a!="symbol"?a+"":a,t),t);import{d as q,o as u,c as m,r as w,n as he,a as Ie,t as re,b as le,w as D,T as Bt,e as x,_ as ge,u as Oe,i as Or,f as Nr,g as Mn,h as V,j as ga,k as T,l as Qe,m as g,p as s,q as at,s as nt,v as ra,x as yn,y as dt,z as Fa,A as Ut,B as Do,C as Ir,D as Rr,E as la,F as ce,G as De,H as Po,I as za,J as X,K as Mo,L as To,M as Ct,N as So,O as Wa,P as Re,Q as qa,R as Lr,S as mt,U as Yr,V as Er,W as gt,X as xo,Y as Br,Z as Ao,$ as Co,a0 as Te,a1 as Hr,a2 as Ee,a3 as Kt,a4 as Sa,a5 as Da,a6 as lt,a7 as tt,a8 as it,a9 as to,aa as Fr,ab as zr,ac as ao,ad as Wr,ae as ma,af as Ra,ag as qr,ah as jr,ai as It,aj as Gr,ak as Qr}from"./framework.B0g_G0if.js";const Ur=q({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(a,t)=>(u(),m("span",{class:he(["VPBadge",a.type])},[w(a.$slots,"default",{},()=>[Ie(re(a.text),1)])],2))}}),Kr={key:0,class:"VPBackdrop"},Xr=q({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(a,t)=>(u(),le(Bt,{name:"fade"},{default:D(()=>[a.show?(u(),m("div",Kr)):x("",!0)]),_:1}))}}),Jr=ge(Xr,[["__scopeId","data-v-c79a1216"]]),Ae=Oe;function Zr(e,a){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(e,a):(e(),(n=!0)&&setTimeout(()=>n=!1,a))}}function gn(e){return/^\//.test(e)?e:`/${e}`}function Tn(e){const{pathname:a,search:t,hash:n,protocol:o}=new URL(e,"http://a.com");if(Or(e)||e.startsWith("#")||!o.startsWith("http")||!Nr(a))return e;const{site:r}=Ae(),l=a.endsWith("/")||a.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${a.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return Mn(l)}const Sn=V(ga?location.hash:"");ga&&window.addEventListener("hashchange",()=>{Sn.value=location.hash});function xa({removeCurrent:e=!0,correspondingLink:a=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=Ae(),l=T(()=>{var c,h;return{label:(c=t.value.locales[n.value])==null?void 0:c.label,link:((h=t.value.locales[n.value])==null?void 0:h.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:T(()=>Object.entries(t.value.locales).flatMap(([c,h])=>e&&l.value.label===h.label?[]:{text:h.label,link:el(h.link||(c==="root"?"/":`/${c}/`),r.value.i18nRouting!==!1&&a,o.value.relativePath.slice(l.value.link.length-1),!t.value.cleanUrls)+Sn.value})),currentLang:l}}function el(e,a,t,n){return a?e.replace(/\/$/,"")+gn(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const tl=e=>(at("data-v-f87ff6e4"),e=e(),nt(),e),al={class:"NotFound"},nl={class:"code"},ol={class:"title"},rl=tl(()=>g("div",{class:"divider"},null,-1)),ll={class:"quote"},sl={class:"action"},il=["href","aria-label"],ul=q({__name:"NotFound",setup(e){const{site:a,theme:t}=Ae(),{localeLinks:n}=xa({removeCurrent:!1}),o=V("/");return Qe(()=>{var l;const r=window.location.pathname.replace(a.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((l=n.value.find(({link:i})=>i.startsWith(r)))==null?void 0:l.link)||n.value[0].link)}),(r,l)=>{var i,c,h,y,v;return u(),m("div",al,[g("p",nl,re(((i=s(t).notFound)==null?void 0:i.code)??"404"),1),g("h1",ol,re(((c=s(t).notFound)==null?void 0:c.title)??"PAGE NOT FOUND"),1),rl,g("blockquote",ll,re(((h=s(t).notFound)==null?void 0:h.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),g("div",sl,[g("a",{class:"link",href:s(Mn)(o.value),"aria-label":((y=s(t).notFound)==null?void 0:y.linkLabel)??"go to home"},re(((v=s(t).notFound)==null?void 0:v.linkText)??"Take me home"),9,il)])])}}}),dl=ge(ul,[["__scopeId","data-v-f87ff6e4"]]);function Vo(e,a){if(Array.isArray(e))return La(e);if(e==null)return[];a=gn(a);const t=Object.keys(e).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>a.startsWith(gn(o))),n=t?e[t]:[];return Array.isArray(n)?La(n):La(n.items,n.base)}function cl(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 ml(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 _n(e,a){return Array.isArray(a)?a.some(t=>_n(e,t)):ra(e,a.link)?!0:a.items?_n(e,a.items):!1}function La(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=La(n.items,o)),n})}function Ht(){const{frontmatter:e,page:a,theme:t}=Ae(),n=yn("(min-width: 960px)"),o=V(!1),r=T(()=>{const S=t.value.sidebar,I=a.value.relativePath;return S?Vo(S,I):[]}),l=V(r.value);dt(r,(S,I)=>{JSON.stringify(S)!==JSON.stringify(I)&&(l.value=r.value)});const i=T(()=>e.value.sidebar!==!1&&l.value.length>0&&e.value.layout!=="home"),c=T(()=>h?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),h=T(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),y=T(()=>i.value&&n.value),v=T(()=>i.value?cl(l.value):[]);function p(){o.value=!0}function _(){o.value=!1}function k(){o.value?_():p()}return{isOpen:o,sidebar:l,sidebarGroups:v,hasSidebar:i,hasAside:h,leftAside:c,isSidebarEnabled:y,open:p,close:_,toggle:k}}function vl(e,a){let t;Fa(()=>{t=e.value?document.activeElement:void 0}),Qe(()=>{window.addEventListener("keyup",n)}),Ut(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&e.value&&(a(),t==null||t.focus())}}function pl(e){const{page:a}=Ae(),t=V(!1),n=T(()=>e.value.collapsed!=null),o=T(()=>!!e.value.link),r=V(!1),l=()=>{r.value=ra(a.value.relativePath,e.value.link)};dt([a,e,Sn],l),Qe(l);const i=T(()=>r.value?!0:e.value.items?_n(a.value.relativePath,e.value.items):!1),c=T(()=>!!(e.value.items&&e.value.items.length));Fa(()=>{t.value=!!(n.value&&e.value.collapsed)}),Do(()=>{(r.value||i.value)&&(t.value=!1)});function h(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:i,hasChildren:c,toggle:h}}function fl(){const{hasSidebar:e}=Ht(),a=yn("(min-width: 960px)"),t=yn("(min-width: 1280px)");return{isAsideEnabled:T(()=>!t.value&&!a.value?!1:e.value?t.value:a.value)}}const bn=[];function Oo(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function xn(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:hl(t),link:"#"+t.id,level:n}});return yl(a,e)}function hl(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 yl(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),bn.length=0;for(const{element:l,link:i}of e)bn.push({element:l,link:i});const r=[];e:for(let l=0;l=0;c--){const h=e[c];if(h.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),Ir(()=>{l(location.hash)}),Ut(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const i=window.scrollY,c=window.innerHeight,h=document.body.offsetHeight,y=Math.abs(i+c-h)<1,v=bn.map(({element:_,link:k})=>({link:k,top:_l(_)})).filter(({top:_})=>!Number.isNaN(_)).sort((_,k)=>_.top-k.top);if(!v.length){l(null);return}if(i<1){l(null);return}if(y){l(v[v.length-1].link);return}let p=null;for(const{link:_,top:k}of v){if(k>i+Rr()+4)break;p=_}l(p)}function l(i){o&&o.classList.remove("active"),i==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(i)}"]`);const c=o;c?(c.classList.add("active"),a.value.style.top=c.offsetTop+39+"px",a.value.style.opacity="1"):(a.value.style.top="33px",a.value.style.opacity="0")}}function _l(e){let a=0;for(;e!==document.body;){if(e===null)return NaN;a+=e.offsetTop,e=e.offsetParent}return a}const bl=["href","title"],kl=q({__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=la("VPDocOutlineItem",!0);return u(),m("ul",{class:he(["VPDocOutlineItem",t.root?"root":"nested"])},[(u(!0),m(ce,null,De(t.headers,({children:r,link:l,title:i})=>(u(),m("li",null,[g("a",{class:"outline-link",href:l,onClick:a,title:i},re(i),9,bl),r!=null&&r.length?(u(),le(o,{key:0,headers:r},null,8,["headers"])):x("",!0)]))),256))],2)}}}),No=ge(kl,[["__scopeId","data-v-b933a997"]]),wl=e=>(at("data-v-935f8a84"),e=e(),nt(),e),$l={class:"content"},Dl={class:"outline-title",role:"heading","aria-level":"2"},Pl={"aria-labelledby":"doc-outline-aria-label"},Ml=wl(()=>g("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),Tl=q({__name:"VPDocAsideOutline",setup(e){const{frontmatter:a,theme:t}=Ae(),n=Po([]);za(()=>{n.value=xn(a.value.outline??t.value.outline)});const o=V(),r=V();return gl(o,r),(l,i)=>(u(),m("div",{class:he(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[g("div",$l,[g("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),g("div",Dl,re(s(Oo)(s(t))),1),g("nav",Pl,[Ml,X(No,{headers:n.value,root:!0},null,8,["headers"])])])],2))}}),Sl=ge(Tl,[["__scopeId","data-v-935f8a84"]]),xl={class:"VPDocAsideCarbonAds"},Al=q({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const a=Mo(()=>To(()=>import("./ui-custom.I27cV75g.js"),__vite__mapDeps([0,1])));return(t,n)=>(u(),m("div",xl,[X(s(a),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Cl=e=>(at("data-v-3f215769"),e=e(),nt(),e),Vl={class:"VPDocAside"},Ol=Cl(()=>g("div",{class:"spacer"},null,-1)),Nl=q({__name:"VPDocAside",setup(e){const{theme:a}=Ae();return(t,n)=>(u(),m("div",Vl,[w(t.$slots,"aside-top",{},void 0,!0),w(t.$slots,"aside-outline-before",{},void 0,!0),X(Sl),w(t.$slots,"aside-outline-after",{},void 0,!0),Ol,w(t.$slots,"aside-ads-before",{},void 0,!0),s(a).carbonAds?(u(),le(Al,{key:0,"carbon-ads":s(a).carbonAds},null,8,["carbon-ads"])):x("",!0),w(t.$slots,"aside-ads-after",{},void 0,!0),w(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Il=ge(Nl,[["__scopeId","data-v-3f215769"]]);function Rl(){const{theme:e,page:a}=Ae();return T(()=>{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 Ll(){const{page:e,theme:a,frontmatter:t}=Ae();return T(()=>{var h,y,v,p,_,k,S,I;const n=Vo(a.value.sidebar,e.value.relativePath),o=ml(n),r=Yl(o,ee=>ee.link.replace(/[?#].*$/,"")),l=r.findIndex(ee=>ra(e.value.relativePath,ee.link)),i=((h=a.value.docFooter)==null?void 0:h.prev)===!1&&!t.value.prev||t.value.prev===!1,c=((y=a.value.docFooter)==null?void 0:y.next)===!1&&!t.value.next||t.value.next===!1;return{prev:i?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((v=r[l-1])==null?void 0:v.docFooterText)??((p=r[l-1])==null?void 0:p.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((_=r[l-1])==null?void 0:_.link)},next:c?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((k=r[l+1])==null?void 0:k.docFooterText)??((S=r[l+1])==null?void 0:S.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((I=r[l+1])==null?void 0:I.link)}}})}function Yl(e,a){const t=new Set;return e.filter(n=>{const o=a(n);return t.has(o)?!1:t.add(o)})}const Vt=q({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const a=e,t=T(()=>a.tag??(a.href?"a":"span")),n=T(()=>a.href&&So.test(a.href));return(o,r)=>(u(),le(Ct(t.value),{class:he(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?s(Tn)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:D(()=>[w(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),El={class:"VPLastUpdated"},Bl=["datetime"],Hl=q({__name:"VPDocFooterLastUpdated",setup(e){const{theme:a,page:t,frontmatter:n,lang:o}=Ae(),r=T(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),l=T(()=>r.value.toISOString()),i=V("");return Qe(()=>{Fa(()=>{var c,h,y;i.value=new Intl.DateTimeFormat((h=(c=a.value.lastUpdated)==null?void 0:c.formatOptions)!=null&&h.forceLocale?o.value:void 0,((y=a.value.lastUpdated)==null?void 0:y.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(c,h)=>{var y;return u(),m("p",El,[Ie(re(((y=s(a).lastUpdated)==null?void 0:y.text)||s(a).lastUpdatedText||"Last updated")+": ",1),g("time",{datetime:l.value},re(i.value),9,Bl)])}}}),Fl=ge(Hl,[["__scopeId","data-v-7e05ebdb"]]),zl=e=>(at("data-v-09de1c0f"),e=e(),nt(),e),Wl={key:0,class:"VPDocFooter"},ql={key:0,class:"edit-info"},jl={key:0,class:"edit-link"},Gl=zl(()=>g("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Ql={key:1,class:"last-updated"},Ul={key:1,class:"prev-next"},Kl={class:"pager"},Xl=["innerHTML"],Jl=["innerHTML"],Zl={class:"pager"},es=["innerHTML"],ts=["innerHTML"],as=q({__name:"VPDocFooter",setup(e){const{theme:a,page:t,frontmatter:n}=Ae(),o=Rl(),r=Ll(),l=T(()=>a.value.editLink&&n.value.editLink!==!1),i=T(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),c=T(()=>l.value||i.value||r.value.prev||r.value.next);return(h,y)=>{var v,p,_,k;return c.value?(u(),m("footer",Wl,[w(h.$slots,"doc-footer-before",{},void 0,!0),l.value||i.value?(u(),m("div",ql,[l.value?(u(),m("div",jl,[X(Vt,{class:"edit-link-button",href:s(o).url,"no-icon":!0},{default:D(()=>[Gl,Ie(" "+re(s(o).text),1)]),_:1},8,["href"])])):x("",!0),i.value?(u(),m("div",Ql,[X(Fl)])):x("",!0)])):x("",!0),(v=s(r).prev)!=null&&v.link||(p=s(r).next)!=null&&p.link?(u(),m("nav",Ul,[g("div",Kl,[(_=s(r).prev)!=null&&_.link?(u(),le(Vt,{key:0,class:"pager-link prev",href:s(r).prev.link},{default:D(()=>{var S;return[g("span",{class:"desc",innerHTML:((S=s(a).docFooter)==null?void 0:S.prev)||"Previous page"},null,8,Xl),g("span",{class:"title",innerHTML:s(r).prev.text},null,8,Jl)]}),_:1},8,["href"])):x("",!0)]),g("div",Zl,[(k=s(r).next)!=null&&k.link?(u(),le(Vt,{key:0,class:"pager-link next",href:s(r).next.link},{default:D(()=>{var S;return[g("span",{class:"desc",innerHTML:((S=s(a).docFooter)==null?void 0:S.next)||"Next page"},null,8,es),g("span",{class:"title",innerHTML:s(r).next.text},null,8,ts)]}),_:1},8,["href"])):x("",!0)])])):x("",!0)])):x("",!0)}}}),ns=ge(as,[["__scopeId","data-v-09de1c0f"]]),os=e=>(at("data-v-39a288b8"),e=e(),nt(),e),rs={class:"container"},ls=os(()=>g("div",{class:"aside-curtain"},null,-1)),ss={class:"aside-container"},is={class:"aside-content"},us={class:"content"},ds={class:"content-container"},cs={class:"main"},ms=q({__name:"VPDoc",setup(e){const{theme:a}=Ae(),t=Wa(),{hasSidebar:n,hasAside:o,leftAside:r}=Ht(),l=T(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(i,c)=>{const h=la("Content");return u(),m("div",{class:he(["VPDoc",{"has-sidebar":s(n),"has-aside":s(o)}])},[w(i.$slots,"doc-top",{},void 0,!0),g("div",rs,[s(o)?(u(),m("div",{key:0,class:he(["aside",{"left-aside":s(r)}])},[ls,g("div",ss,[g("div",is,[X(Il,null,{"aside-top":D(()=>[w(i.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":D(()=>[w(i.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":D(()=>[w(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":D(()=>[w(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":D(()=>[w(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":D(()=>[w(i.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):x("",!0),g("div",us,[g("div",ds,[w(i.$slots,"doc-before",{},void 0,!0),g("main",cs,[X(h,{class:he(["vp-doc",[l.value,s(a).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),X(ns,null,{"doc-footer-before":D(()=>[w(i.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),w(i.$slots,"doc-after",{},void 0,!0)])])]),w(i.$slots,"doc-bottom",{},void 0,!0)],2)}}}),vs=ge(ms,[["__scopeId","data-v-39a288b8"]]),ps=q({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const a=e,t=T(()=>a.href&&So.test(a.href)),n=T(()=>a.tag||a.href?"a":"button");return(o,r)=>(u(),le(Ct(n.value),{class:he(["VPButton",[o.size,o.theme]]),href:o.href?s(Tn)(o.href):void 0,target:a.target??(t.value?"_blank":void 0),rel:a.rel??(t.value?"noreferrer":void 0)},{default:D(()=>[Ie(re(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),fs=ge(ps,[["__scopeId","data-v-cad61b99"]]),hs=["src","alt"],ys=q({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(a,t)=>{const n=la("VPImage",!0);return a.image?(u(),m(ce,{key:0},[typeof a.image=="string"||"src"in a.image?(u(),m("img",Re({key:0,class:"VPImage"},typeof a.image=="string"?a.$attrs:{...a.image,...a.$attrs},{src:s(Mn)(typeof a.image=="string"?a.image:a.image.src),alt:a.alt??(typeof a.image=="string"?"":a.image.alt||"")}),null,16,hs)):(u(),m(ce,{key:1},[X(n,Re({class:"dark",image:a.image.dark,alt:a.image.alt},a.$attrs),null,16,["image","alt"]),X(n,Re({class:"light",image:a.image.light,alt:a.image.alt},a.$attrs),null,16,["image","alt"])],64))],64)):x("",!0)}}}),Ya=ge(ys,[["__scopeId","data-v-8426fc1a"]]),gs=e=>(at("data-v-303bb580"),e=e(),nt(),e),_s={class:"container"},bs={class:"main"},ks={key:0,class:"name"},ws=["innerHTML"],$s=["innerHTML"],Ds=["innerHTML"],Ps={key:0,class:"actions"},Ms={key:0,class:"image"},Ts={class:"image-container"},Ss=gs(()=>g("div",{class:"image-bg"},null,-1)),xs=q({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const a=qa("hero-image-slot-exists");return(t,n)=>(u(),m("div",{class:he(["VPHero",{"has-image":t.image||s(a)}])},[g("div",_s,[g("div",bs,[w(t.$slots,"home-hero-info-before",{},void 0,!0),w(t.$slots,"home-hero-info",{},()=>[t.name?(u(),m("h1",ks,[g("span",{innerHTML:t.name,class:"clip"},null,8,ws)])):x("",!0),t.text?(u(),m("p",{key:1,innerHTML:t.text,class:"text"},null,8,$s)):x("",!0),t.tagline?(u(),m("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Ds)):x("",!0)],!0),w(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(u(),m("div",Ps,[(u(!0),m(ce,null,De(t.actions,o=>(u(),m("div",{key:o.link,class:"action"},[X(fs,{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))])):x("",!0),w(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||s(a)?(u(),m("div",Ms,[g("div",Ts,[Ss,w(t.$slots,"home-hero-image",{},()=>[t.image?(u(),le(Ya,{key:0,class:"image-src",image:t.image},null,8,["image"])):x("",!0)],!0)])])):x("",!0)])],2))}}),As=ge(xs,[["__scopeId","data-v-303bb580"]]),Cs=q({__name:"VPHomeHero",setup(e){const{frontmatter:a}=Ae();return(t,n)=>s(a).hero?(u(),le(As,{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":D(()=>[w(t.$slots,"home-hero-info-before")]),"home-hero-info":D(()=>[w(t.$slots,"home-hero-info")]),"home-hero-info-after":D(()=>[w(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":D(()=>[w(t.$slots,"home-hero-actions-after")]),"home-hero-image":D(()=>[w(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):x("",!0)}}),Vs=e=>(at("data-v-a3976bdc"),e=e(),nt(),e),Os={class:"box"},Ns={key:0,class:"icon"},Is=["innerHTML"],Rs=["innerHTML"],Ls=["innerHTML"],Ys={key:4,class:"link-text"},Es={class:"link-text-value"},Bs=Vs(()=>g("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Hs=q({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(a,t)=>(u(),le(Vt,{class:"VPFeature",href:a.link,rel:a.rel,target:a.target,"no-icon":!0,tag:a.link?"a":"div"},{default:D(()=>[g("article",Os,[typeof a.icon=="object"&&a.icon.wrap?(u(),m("div",Ns,[X(Ya,{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"?(u(),le(Ya,{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?(u(),m("div",{key:2,class:"icon",innerHTML:a.icon},null,8,Is)):x("",!0),g("h2",{class:"title",innerHTML:a.title},null,8,Rs),a.details?(u(),m("p",{key:3,class:"details",innerHTML:a.details},null,8,Ls)):x("",!0),a.linkText?(u(),m("div",Ys,[g("p",Es,[Ie(re(a.linkText)+" ",1),Bs])])):x("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Fs=ge(Hs,[["__scopeId","data-v-a3976bdc"]]),zs={key:0,class:"VPFeatures"},Ws={class:"container"},qs={class:"items"},js=q({__name:"VPFeatures",props:{features:{}},setup(e){const a=e,t=T(()=>{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?(u(),m("div",zs,[g("div",Ws,[g("div",qs,[(u(!0),m(ce,null,De(n.features,r=>(u(),m("div",{key:r.title,class:he(["item",[t.value]])},[X(Fs,{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))])])])):x("",!0)}}),Gs=ge(js,[["__scopeId","data-v-a6181336"]]),Qs=q({__name:"VPHomeFeatures",setup(e){const{frontmatter:a}=Ae();return(t,n)=>s(a).features?(u(),le(Gs,{key:0,class:"VPHomeFeatures",features:s(a).features},null,8,["features"])):x("",!0)}}),Us=q({__name:"VPHomeContent",setup(e){const{width:a}=Lr({includeScrollbar:!1});return(t,n)=>(u(),m("div",{class:"vp-doc container",style:mt(s(a)?{"--vp-offset":`calc(50% - ${s(a)/2}px)`}:{})},[w(t.$slots,"default",{},void 0,!0)],4))}}),Ks=ge(Us,[["__scopeId","data-v-82d4af08"]]),Xs={class:"VPHome"},Js=q({__name:"VPHome",setup(e){const{frontmatter:a}=Ae();return(t,n)=>{const o=la("Content");return u(),m("div",Xs,[w(t.$slots,"home-hero-before",{},void 0,!0),X(Cs,null,{"home-hero-info-before":D(()=>[w(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":D(()=>[w(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":D(()=>[w(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":D(()=>[w(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":D(()=>[w(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),w(t.$slots,"home-hero-after",{},void 0,!0),w(t.$slots,"home-features-before",{},void 0,!0),X(Qs),w(t.$slots,"home-features-after",{},void 0,!0),s(a).markdownStyles!==!1?(u(),le(Ks,{key:0},{default:D(()=>[X(o)]),_:1})):(u(),le(o,{key:1}))])}}}),Zs=ge(Js,[["__scopeId","data-v-686f80a6"]]),ei={},ti={class:"VPPage"};function ai(e,a){const t=la("Content");return u(),m("div",ti,[w(e.$slots,"page-top"),X(t),w(e.$slots,"page-bottom")])}const ni=ge(ei,[["render",ai]]),oi=q({__name:"VPContent",setup(e){const{page:a,frontmatter:t}=Ae(),{hasSidebar:n}=Ht();return(o,r)=>(u(),m("div",{class:he(["VPContent",{"has-sidebar":s(n),"is-home":s(t).layout==="home"}]),id:"VPContent"},[s(a).isNotFound?w(o.$slots,"not-found",{key:0},()=>[X(dl)],!0):s(t).layout==="page"?(u(),le(ni,{key:1},{"page-top":D(()=>[w(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":D(()=>[w(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):s(t).layout==="home"?(u(),le(Zs,{key:2},{"home-hero-before":D(()=>[w(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":D(()=>[w(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":D(()=>[w(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":D(()=>[w(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":D(()=>[w(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":D(()=>[w(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":D(()=>[w(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":D(()=>[w(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":D(()=>[w(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):s(t).layout&&s(t).layout!=="doc"?(u(),le(Ct(s(t).layout),{key:3})):(u(),le(vs,{key:4},{"doc-top":D(()=>[w(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":D(()=>[w(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":D(()=>[w(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":D(()=>[w(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":D(()=>[w(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":D(()=>[w(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":D(()=>[w(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":D(()=>[w(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":D(()=>[w(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":D(()=>[w(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":D(()=>[w(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),ri=ge(oi,[["__scopeId","data-v-1428d186"]]),li={class:"container"},si=["innerHTML"],ii=["innerHTML"],ui=q({__name:"VPFooter",setup(e){const{theme:a,frontmatter:t}=Ae(),{hasSidebar:n}=Ht();return(o,r)=>s(a).footer&&s(t).footer!==!1?(u(),m("footer",{key:0,class:he(["VPFooter",{"has-sidebar":s(n)}])},[g("div",li,[s(a).footer.message?(u(),m("p",{key:0,class:"message",innerHTML:s(a).footer.message},null,8,si)):x("",!0),s(a).footer.copyright?(u(),m("p",{key:1,class:"copyright",innerHTML:s(a).footer.copyright},null,8,ii)):x("",!0)])],2)):x("",!0)}}),di=ge(ui,[["__scopeId","data-v-e315a0ad"]]);function ci(){const{theme:e,frontmatter:a}=Ae(),t=Po([]),n=T(()=>t.value.length>0);return za(()=>{t.value=xn(a.value.outline??e.value.outline)}),{headers:t,hasLocalNav:n}}const mi=e=>(at("data-v-d2ecc192"),e=e(),nt(),e),vi=mi(()=>g("span",{class:"vpi-chevron-right icon"},null,-1)),pi={class:"header"},fi={class:"outline"},hi=q({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const a=e,{theme:t}=Ae(),n=V(!1),o=V(0),r=V(),l=V();Yr(r,()=>{n.value=!1}),Er("Escape",()=>{n.value=!1}),za(()=>{n.value=!1});function i(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-a.navHeight,0)}function c(y){y.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),gt(()=>{n.value=!1}))}function h(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(y,v)=>(u(),m("div",{class:"VPLocalNavOutlineDropdown",style:mt({"--vp-vh":o.value+"px"}),ref_key:"main",ref:r},[y.headers.length>0?(u(),m("button",{key:0,onClick:i,class:he({open:n.value})},[Ie(re(s(Oo)(s(t)))+" ",1),vi],2)):(u(),m("button",{key:1,onClick:h},re(s(t).returnToTopLabel||"Return to top"),1)),X(Bt,{name:"flyout"},{default:D(()=>[n.value?(u(),m("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:c},[g("div",pi,[g("a",{class:"top-link",href:"#",onClick:h},re(s(t).returnToTopLabel||"Return to top"),1)]),g("div",fi,[X(No,{headers:y.headers},null,8,["headers"])])],512)):x("",!0)]),_:1})],4))}}),yi=ge(hi,[["__scopeId","data-v-d2ecc192"]]),gi=e=>(at("data-v-a6f0e41e"),e=e(),nt(),e),_i={class:"container"},bi=["aria-expanded"],ki=gi(()=>g("span",{class:"vpi-align-left menu-icon"},null,-1)),wi={class:"menu-text"},$i=q({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:a,frontmatter:t}=Ae(),{hasSidebar:n}=Ht(),{headers:o}=ci(),{y:r}=xo(),l=V(0);Qe(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),za(()=>{o.value=xn(t.value.outline??a.value.outline)});const i=T(()=>o.value.length===0),c=T(()=>i.value&&!n.value),h=T(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:i.value,fixed:c.value}));return(y,v)=>s(t).layout!=="home"&&(!c.value||s(r)>=l.value)?(u(),m("div",{key:0,class:he(h.value)},[g("div",_i,[s(n)?(u(),m("button",{key:0,class:"menu","aria-expanded":y.open,"aria-controls":"VPSidebarNav",onClick:v[0]||(v[0]=p=>y.$emit("open-menu"))},[ki,g("span",wi,re(s(a).sidebarMenuLabel||"Menu"),1)],8,bi)):x("",!0),X(yi,{headers:s(o),navHeight:l.value},null,8,["headers","navHeight"])])],2)):x("",!0)}}),Di=ge($i,[["__scopeId","data-v-a6f0e41e"]]);function Pi(){const e=V(!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=Wa();return dt(()=>r.path,t),{isScreenOpen:e,openScreen:a,closeScreen:t,toggleScreen:n}}const Mi={},Ti={class:"VPSwitch",type:"button",role:"switch"},Si={class:"check"},xi={key:0,class:"icon"};function Ai(e,a){return u(),m("button",Ti,[g("span",Si,[e.$slots.default?(u(),m("span",xi,[w(e.$slots,"default",{},void 0,!0)])):x("",!0)])])}const Ci=ge(Mi,[["render",Ai],["__scopeId","data-v-1d5665e3"]]),Io=e=>(at("data-v-d1f28634"),e=e(),nt(),e),Vi=Io(()=>g("span",{class:"vpi-sun sun"},null,-1)),Oi=Io(()=>g("span",{class:"vpi-moon moon"},null,-1)),Ni=q({__name:"VPSwitchAppearance",setup(e){const{isDark:a,theme:t}=Ae(),n=qa("toggle-appearance",()=>{a.value=!a.value}),o=T(()=>a.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme");return(r,l)=>(u(),le(Ci,{title:o.value,class:"VPSwitchAppearance","aria-checked":s(a),onClick:s(n)},{default:D(()=>[Vi,Oi]),_:1},8,["title","aria-checked","onClick"]))}}),An=ge(Ni,[["__scopeId","data-v-d1f28634"]]),Ii={key:0,class:"VPNavBarAppearance"},Ri=q({__name:"VPNavBarAppearance",setup(e){const{site:a}=Ae();return(t,n)=>s(a).appearance&&s(a).appearance!=="force-dark"?(u(),m("div",Ii,[X(An)])):x("",!0)}}),Li=ge(Ri,[["__scopeId","data-v-e6aabb21"]]),Cn=V();let Ro=!1,on=0;function Yi(e){const a=V(!1);if(ga){!Ro&&Ei(),on++;const t=dt(Cn,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))});Ut(()=>{t(),on--,on||Bi()})}return Br(a)}function Ei(){document.addEventListener("focusin",Lo),Ro=!0,Cn.value=document.activeElement}function Bi(){document.removeEventListener("focusin",Lo)}function Lo(){Cn.value=document.activeElement}const Hi={class:"VPMenuLink"},Fi=q({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:a}=Ae();return(t,n)=>(u(),m("div",Hi,[X(Vt,{class:he({active:s(ra)(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:D(()=>[Ie(re(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ja=ge(Fi,[["__scopeId","data-v-43f1e123"]]),zi={class:"VPMenuGroup"},Wi={key:0,class:"title"},qi=q({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(a,t)=>(u(),m("div",zi,[a.text?(u(),m("p",Wi,re(a.text),1)):x("",!0),(u(!0),m(ce,null,De(a.items,n=>(u(),m(ce,null,["link"in n?(u(),le(ja,{key:0,item:n},null,8,["item"])):x("",!0)],64))),256))]))}}),ji=ge(qi,[["__scopeId","data-v-69e747b5"]]),Gi={class:"VPMenu"},Qi={key:0,class:"items"},Ui=q({__name:"VPMenu",props:{items:{}},setup(e){return(a,t)=>(u(),m("div",Gi,[a.items?(u(),m("div",Qi,[(u(!0),m(ce,null,De(a.items,n=>(u(),m(ce,{key:n.text},["link"in n?(u(),le(ja,{key:0,item:n},null,8,["item"])):(u(),le(ji,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):x("",!0),w(a.$slots,"default",{},void 0,!0)]))}}),Ki=ge(Ui,[["__scopeId","data-v-e7ea1737"]]),Xi=e=>(at("data-v-b6c34ac9"),e=e(),nt(),e),Ji=["aria-expanded","aria-label"],Zi={key:0,class:"text"},eu=["innerHTML"],tu=Xi(()=>g("span",{class:"vpi-chevron-down text-icon"},null,-1)),au={key:1,class:"vpi-more-horizontal icon"},nu={class:"menu"},ou=q({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const a=V(!1),t=V();Yi({el:t,onBlur:n});function n(){a.value=!1}return(o,r)=>(u(),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)},[g("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?(u(),m("span",Zi,[o.icon?(u(),m("span",{key:0,class:he([o.icon,"option-icon"])},null,2)):x("",!0),o.button?(u(),m("span",{key:1,innerHTML:o.button},null,8,eu)):x("",!0),tu])):(u(),m("span",au))],8,Ji),g("div",nu,[X(Ki,{items:o.items},{default:D(()=>[w(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Vn=ge(ou,[["__scopeId","data-v-b6c34ac9"]]),ru=["href","aria-label","innerHTML"],lu=q({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const a=e,t=T(()=>typeof a.icon=="object"?a.icon.svg:``);return(n,o)=>(u(),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,ru))}}),su=ge(lu,[["__scopeId","data-v-eee4e7cb"]]),iu={class:"VPSocialLinks"},uu=q({__name:"VPSocialLinks",props:{links:{}},setup(e){return(a,t)=>(u(),m("div",iu,[(u(!0),m(ce,null,De(a.links,({link:n,icon:o,ariaLabel:r})=>(u(),le(su,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),On=ge(uu,[["__scopeId","data-v-7bc22406"]]),du={key:0,class:"group translations"},cu={class:"trans-title"},mu={key:1,class:"group"},vu={class:"item appearance"},pu={class:"label"},fu={class:"appearance-action"},hu={key:2,class:"group"},yu={class:"item social-links"},gu=q({__name:"VPNavBarExtra",setup(e){const{site:a,theme:t}=Ae(),{localeLinks:n,currentLang:o}=xa({correspondingLink:!0}),r=T(()=>n.value.length&&o.value.label||a.value.appearance||t.value.socialLinks);return(l,i)=>r.value?(u(),le(Vn,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:D(()=>[s(n).length&&s(o).label?(u(),m("div",du,[g("p",cu,re(s(o).label),1),(u(!0),m(ce,null,De(s(n),c=>(u(),le(ja,{key:c.link,item:c},null,8,["item"]))),128))])):x("",!0),s(a).appearance&&s(a).appearance!=="force-dark"?(u(),m("div",mu,[g("div",vu,[g("p",pu,re(s(t).darkModeSwitchLabel||"Appearance"),1),g("div",fu,[X(An)])])])):x("",!0),s(t).socialLinks?(u(),m("div",hu,[g("div",yu,[X(On,{class:"social-links-list",links:s(t).socialLinks},null,8,["links"])])])):x("",!0)]),_:1})):x("",!0)}}),_u=ge(gu,[["__scopeId","data-v-d0bd9dde"]]),bu=e=>(at("data-v-e5dd9c1c"),e=e(),nt(),e),ku=["aria-expanded"],wu=bu(()=>g("span",{class:"container"},[g("span",{class:"top"}),g("span",{class:"middle"}),g("span",{class:"bottom"})],-1)),$u=[wu],Du=q({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(a,t)=>(u(),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"))},$u,10,ku))}}),Pu=ge(Du,[["__scopeId","data-v-e5dd9c1c"]]),Mu=["innerHTML"],Tu=q({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:a}=Ae();return(t,n)=>(u(),le(Vt,{class:he({VPNavBarMenuLink:!0,active:s(ra)(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:D(()=>[g("span",{innerHTML:t.item.text},null,8,Mu)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Su=ge(Tu,[["__scopeId","data-v-9c663999"]]),xu=q({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const a=e,{page:t}=Ae(),n=r=>"link"in r?ra(t.value.relativePath,r.link,!!a.item.activeMatch):r.items.some(n),o=T(()=>n(a.item));return(r,l)=>(u(),le(Vn,{class:he({VPNavBarMenuGroup:!0,active:s(ra)(s(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Au=e=>(at("data-v-7f418b0f"),e=e(),nt(),e),Cu={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Vu=Au(()=>g("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Ou=q({__name:"VPNavBarMenu",setup(e){const{theme:a}=Ae();return(t,n)=>s(a).nav?(u(),m("nav",Cu,[Vu,(u(!0),m(ce,null,De(s(a).nav,o=>(u(),m(ce,{key:o.text},["link"in o?(u(),le(Su,{key:0,item:o},null,8,["item"])):(u(),le(xu,{key:1,item:o},null,8,["item"]))],64))),128))])):x("",!0)}}),Nu=ge(Ou,[["__scopeId","data-v-7f418b0f"]]);function Iu(e){const{localeIndex:a,theme:t}=Ae();function n(o){var k,S,I;const r=o.split("."),l=(k=t.value.search)==null?void 0:k.options,i=l&&typeof l=="object",c=i&&((I=(S=l.locales)==null?void 0:S[a.value])==null?void 0:I.translations)||null,h=i&&l.translations||null;let y=c,v=h,p=e;const _=r.pop();for(const ee of r){let F=null;const C=p==null?void 0:p[ee];C&&(F=p=C);const Y=v==null?void 0:v[ee];Y&&(F=v=Y);const J=y==null?void 0:y[ee];J&&(F=y=J),C||(p=F),Y||(v=F),J||(y=F)}return(y==null?void 0:y[_])??(v==null?void 0:v[_])??(p==null?void 0:p[_])??""}return n}const Ru=["aria-label"],Lu={class:"DocSearch-Button-Container"},Yu=g("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Eu={class:"DocSearch-Button-Placeholder"},Bu=g("span",{class:"DocSearch-Button-Keys"},[g("kbd",{class:"DocSearch-Button-Key"}),g("kbd",{class:"DocSearch-Button-Key"},"K")],-1),no=q({__name:"VPNavBarSearchButton",setup(e){const t=Iu({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,o)=>(u(),m("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":s(t)("button.buttonAriaLabel")},[g("span",Lu,[Yu,g("span",Eu,re(s(t)("button.buttonText")),1)]),Bu],8,Ru))}}),Hu={class:"VPNavBarSearch"},Fu={id:"local-search"},zu={key:1,id:"docsearch"},Wu=q({__name:"VPNavBarSearch",setup(e){const a=()=>null,t=Mo(()=>To(()=>import("./VPAlgoliaSearchBox.CSvPPjLO.js"),__vite__mapDeps([2,1]))),{theme:n}=Ae(),o=V(!1),r=V(!1),l=()=>{const p="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{var S;const k=document.createElement("link");k.id=p,k.rel="preconnect",k.href=`https://${(((S=n.value.search)==null?void 0:S.options)??n.value.algolia).appId}-dsn.algolia.net`,k.crossOrigin="",document.head.appendChild(k)})};Qe(()=>{l();const p=k=>{(k.key.toLowerCase()==="k"&&(k.metaKey||k.ctrlKey)||!h(k)&&k.key==="/")&&(k.preventDefault(),i(),_())},_=()=>{window.removeEventListener("keydown",p)};window.addEventListener("keydown",p),Ut(_)});function i(){o.value||(o.value=!0,setTimeout(c,16))}function c(){const p=new Event("keydown");p.key="k",p.metaKey=!0,window.dispatchEvent(p),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||c()},16)}function h(p){const _=p.target,k=_.tagName;return _.isContentEditable||k==="INPUT"||k==="SELECT"||k==="TEXTAREA"}const y=V(!1),v="algolia";return(p,_)=>{var k;return u(),m("div",Hu,[s(v)==="local"?(u(),m(ce,{key:0},[y.value?(u(),le(s(a),{key:0,onClose:_[0]||(_[0]=S=>y.value=!1)})):x("",!0),g("div",Fu,[X(no,{onClick:_[1]||(_[1]=S=>y.value=!0)})])],64)):s(v)==="algolia"?(u(),m(ce,{key:1},[o.value?(u(),le(s(t),{key:0,algolia:((k=s(n).search)==null?void 0:k.options)??s(n).algolia,onVnodeBeforeMount:_[2]||(_[2]=S=>r.value=!0)},null,8,["algolia"])):x("",!0),r.value?x("",!0):(u(),m("div",zu,[X(no,{onClick:i})]))],64)):x("",!0)])}}}),qu=q({__name:"VPNavBarSocialLinks",setup(e){const{theme:a}=Ae();return(t,n)=>s(a).socialLinks?(u(),le(On,{key:0,class:"VPNavBarSocialLinks",links:s(a).socialLinks},null,8,["links"])):x("",!0)}}),ju=ge(qu,[["__scopeId","data-v-0394ad82"]]),Gu=["href","rel","target"],Qu={key:1},Uu={key:2},Ku=q({__name:"VPNavBarTitle",setup(e){const{site:a,theme:t}=Ae(),{hasSidebar:n}=Ht(),{currentLang:o}=xa(),r=T(()=>{var c;return typeof t.value.logoLink=="string"?t.value.logoLink:(c=t.value.logoLink)==null?void 0:c.link}),l=T(()=>{var c;return typeof t.value.logoLink=="string"||(c=t.value.logoLink)==null?void 0:c.rel}),i=T(()=>{var c;return typeof t.value.logoLink=="string"||(c=t.value.logoLink)==null?void 0:c.target});return(c,h)=>(u(),m("div",{class:he(["VPNavBarTitle",{"has-sidebar":s(n)}])},[g("a",{class:"title",href:r.value??s(Tn)(s(o).link),rel:l.value,target:i.value},[w(c.$slots,"nav-bar-title-before",{},void 0,!0),s(t).logo?(u(),le(Ya,{key:0,class:"logo",image:s(t).logo},null,8,["image"])):x("",!0),s(t).siteTitle?(u(),m("span",Qu,re(s(t).siteTitle),1)):s(t).siteTitle===void 0?(u(),m("span",Uu,re(s(a).title),1)):x("",!0),w(c.$slots,"nav-bar-title-after",{},void 0,!0)],8,Gu)],2))}}),Xu=ge(Ku,[["__scopeId","data-v-ab179fa1"]]),Ju={class:"items"},Zu={class:"title"},ed=q({__name:"VPNavBarTranslations",setup(e){const{theme:a}=Ae(),{localeLinks:t,currentLang:n}=xa({correspondingLink:!0});return(o,r)=>s(t).length&&s(n).label?(u(),le(Vn,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:s(a).langMenuLabel||"Change language"},{default:D(()=>[g("div",Ju,[g("p",Zu,re(s(n).label),1),(u(!0),m(ce,null,De(s(t),l=>(u(),le(ja,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):x("",!0)}}),td=ge(ed,[["__scopeId","data-v-88af2de4"]]),ad=e=>(at("data-v-ccf7ddec"),e=e(),nt(),e),nd={class:"wrapper"},od={class:"container"},rd={class:"title"},ld={class:"content"},sd={class:"content-body"},id=ad(()=>g("div",{class:"divider"},[g("div",{class:"divider-line"})],-1)),ud=q({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:a}=xo(),{hasSidebar:t}=Ht(),{frontmatter:n}=Ae(),o=V({});return Do(()=>{o.value={"has-sidebar":t.value,home:n.value.layout==="home",top:a.value===0}}),(r,l)=>(u(),m("div",{class:he(["VPNavBar",o.value])},[g("div",nd,[g("div",od,[g("div",rd,[X(Xu,null,{"nav-bar-title-before":D(()=>[w(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":D(()=>[w(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),g("div",ld,[g("div",sd,[w(r.$slots,"nav-bar-content-before",{},void 0,!0),X(Wu,{class:"search"}),X(Nu,{class:"menu"}),X(td,{class:"translations"}),X(Li,{class:"appearance"}),X(ju,{class:"social-links"}),X(_u,{class:"extra"}),w(r.$slots,"nav-bar-content-after",{},void 0,!0),X(Pu,{class:"hamburger",active:r.isScreenOpen,onClick:l[0]||(l[0]=i=>r.$emit("toggle-screen"))},null,8,["active"])])])])]),id],2))}}),dd=ge(ud,[["__scopeId","data-v-ccf7ddec"]]),cd={key:0,class:"VPNavScreenAppearance"},md={class:"text"},vd=q({__name:"VPNavScreenAppearance",setup(e){const{site:a,theme:t}=Ae();return(n,o)=>s(a).appearance&&s(a).appearance!=="force-dark"?(u(),m("div",cd,[g("p",md,re(s(t).darkModeSwitchLabel||"Appearance"),1),X(An)])):x("",!0)}}),pd=ge(vd,[["__scopeId","data-v-2d7af913"]]),fd=q({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const a=qa("close-screen");return(t,n)=>(u(),le(Vt,{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"]))}}),hd=ge(fd,[["__scopeId","data-v-7f31e1f6"]]),yd=q({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const a=qa("close-screen");return(t,n)=>(u(),le(Vt,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:s(a)},{default:D(()=>[Ie(re(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Yo=ge(yd,[["__scopeId","data-v-19976ae1"]]),gd={class:"VPNavScreenMenuGroupSection"},_d={key:0,class:"title"},bd=q({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(a,t)=>(u(),m("div",gd,[a.text?(u(),m("p",_d,re(a.text),1)):x("",!0),(u(!0),m(ce,null,De(a.items,n=>(u(),le(Yo,{key:n.text,item:n},null,8,["item"]))),128))]))}}),kd=ge(bd,[["__scopeId","data-v-8133b170"]]),wd=e=>(at("data-v-ff6087d4"),e=e(),nt(),e),$d=["aria-controls","aria-expanded"],Dd=["innerHTML"],Pd=wd(()=>g("span",{class:"vpi-plus button-icon"},null,-1)),Md=["id"],Td={key:1,class:"group"},Sd=q({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const a=e,t=V(!1),n=T(()=>`NavScreenGroup-${a.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,l)=>(u(),m("div",{class:he(["VPNavScreenMenuGroup",{open:t.value}])},[g("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[g("span",{class:"button-text",innerHTML:r.text},null,8,Dd),Pd],8,$d),g("div",{id:n.value,class:"items"},[(u(!0),m(ce,null,De(r.items,i=>(u(),m(ce,{key:i.text},["link"in i?(u(),m("div",{key:i.text,class:"item"},[X(Yo,{item:i},null,8,["item"])])):(u(),m("div",Td,[X(kd,{text:i.text,items:i.items},null,8,["text","items"])]))],64))),128))],8,Md)],2))}}),xd=ge(Sd,[["__scopeId","data-v-ff6087d4"]]),Ad={key:0,class:"VPNavScreenMenu"},Cd=q({__name:"VPNavScreenMenu",setup(e){const{theme:a}=Ae();return(t,n)=>s(a).nav?(u(),m("nav",Ad,[(u(!0),m(ce,null,De(s(a).nav,o=>(u(),m(ce,{key:o.text},["link"in o?(u(),le(hd,{key:0,item:o},null,8,["item"])):(u(),le(xd,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):x("",!0)}}),Vd=q({__name:"VPNavScreenSocialLinks",setup(e){const{theme:a}=Ae();return(t,n)=>s(a).socialLinks?(u(),le(On,{key:0,class:"VPNavScreenSocialLinks",links:s(a).socialLinks},null,8,["links"])):x("",!0)}}),Eo=e=>(at("data-v-858fe1a4"),e=e(),nt(),e),Od=Eo(()=>g("span",{class:"vpi-languages icon lang"},null,-1)),Nd=Eo(()=>g("span",{class:"vpi-chevron-down icon chevron"},null,-1)),Id={class:"list"},Rd=q({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:a,currentLang:t}=xa({correspondingLink:!0}),n=V(!1);function o(){n.value=!n.value}return(r,l)=>s(a).length&&s(t).label?(u(),m("div",{key:0,class:he(["VPNavScreenTranslations",{open:n.value}])},[g("button",{class:"title",onClick:o},[Od,Ie(" "+re(s(t).label)+" ",1),Nd]),g("ul",Id,[(u(!0),m(ce,null,De(s(a),i=>(u(),m("li",{key:i.link,class:"item"},[X(Vt,{class:"link",href:i.link},{default:D(()=>[Ie(re(i.text),1)]),_:2},1032,["href"])]))),128))])],2)):x("",!0)}}),Ld=ge(Rd,[["__scopeId","data-v-858fe1a4"]]),Yd={class:"container"},Ed=q({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const a=V(null),t=Ao(ga?document.body:null);return(n,o)=>(u(),le(Bt,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:D(()=>[n.open?(u(),m("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:a,id:"VPNavScreen"},[g("div",Yd,[w(n.$slots,"nav-screen-content-before",{},void 0,!0),X(Cd,{class:"menu"}),X(Ld,{class:"translations"}),X(pd,{class:"appearance"}),X(Vd,{class:"social-links"}),w(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):x("",!0)]),_:3}))}}),Bd=ge(Ed,[["__scopeId","data-v-cc5739dd"]]),Hd={key:0,class:"VPNav"},Fd=q({__name:"VPNav",setup(e){const{isScreenOpen:a,closeScreen:t,toggleScreen:n}=Pi(),{frontmatter:o}=Ae(),r=T(()=>o.value.navbar!==!1);return Co("close-screen",t),Fa(()=>{ga&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,i)=>r.value?(u(),m("header",Hd,[X(dd,{"is-screen-open":s(a),onToggleScreen:s(n)},{"nav-bar-title-before":D(()=>[w(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":D(()=>[w(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":D(()=>[w(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":D(()=>[w(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),X(Bd,{open:s(a)},{"nav-screen-content-before":D(()=>[w(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":D(()=>[w(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):x("",!0)}}),zd=ge(Fd,[["__scopeId","data-v-ae24b3ad"]]),Bo=e=>(at("data-v-b8d55f3b"),e=e(),nt(),e),Wd=["role","tabindex"],qd=Bo(()=>g("div",{class:"indicator"},null,-1)),jd=Bo(()=>g("span",{class:"vpi-chevron-right caret-icon"},null,-1)),Gd=[jd],Qd={key:1,class:"items"},Ud=q({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const a=e,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:l,hasChildren:i,toggle:c}=pl(T(()=>a.item)),h=T(()=>i.value?"section":"div"),y=T(()=>o.value?"a":"div"),v=T(()=>i.value?a.depth+2===7?"p":`h${a.depth+2}`:"p"),p=T(()=>o.value?void 0:"button"),_=T(()=>[[`level-${a.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":l.value}]);function k(I){"key"in I&&I.key!=="Enter"||!a.item.link&&c()}function S(){a.item.link&&c()}return(I,ee)=>{const F=la("VPSidebarItem",!0);return u(),le(Ct(h.value),{class:he(["VPSidebarItem",_.value])},{default:D(()=>[I.item.text?(u(),m("div",Re({key:0,class:"item",role:p.value},Hr(I.item.items?{click:k,keydown:k}:{},!0),{tabindex:I.item.items&&0}),[qd,I.item.link?(u(),le(Vt,{key:0,tag:y.value,class:"link",href:I.item.link,rel:I.item.rel,target:I.item.target},{default:D(()=>[(u(),le(Ct(v.value),{class:"text",innerHTML:I.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(u(),le(Ct(v.value),{key:1,class:"text",innerHTML:I.item.text},null,8,["innerHTML"])),I.item.collapsed!=null&&I.item.items&&I.item.items.length?(u(),m("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:S,onKeydown:Te(S,["enter"]),tabindex:"0"},Gd,32)):x("",!0)],16,Wd)):x("",!0),I.item.items&&I.item.items.length?(u(),m("div",Qd,[I.depth<5?(u(!0),m(ce,{key:0},De(I.item.items,C=>(u(),le(F,{key:C.text,item:C,depth:I.depth+1},null,8,["item","depth"]))),128)):x("",!0)])):x("",!0)]),_:1},8,["class"])}}}),Kd=ge(Ud,[["__scopeId","data-v-b8d55f3b"]]),Ho=e=>(at("data-v-575e6a36"),e=e(),nt(),e),Xd=Ho(()=>g("div",{class:"curtain"},null,-1)),Jd={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Zd=Ho(()=>g("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ec=q({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:a,hasSidebar:t}=Ht(),n=e,o=V(null),r=Ao(ga?document.body:null);return dt([n,o],()=>{var l;n.open?(r.value=!0,(l=o.value)==null||l.focus()):r.value=!1},{immediate:!0,flush:"post"}),(l,i)=>s(t)?(u(),m("aside",{key:0,class:he(["VPSidebar",{open:l.open}]),ref_key:"navEl",ref:o,onClick:i[0]||(i[0]=Ee(()=>{},["stop"]))},[Xd,g("nav",Jd,[Zd,w(l.$slots,"sidebar-nav-before",{},void 0,!0),(u(!0),m(ce,null,De(s(a),c=>(u(),m("div",{key:c.text,class:"group"},[X(Kd,{item:c,depth:0},null,8,["item"])]))),128)),w(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):x("",!0)}}),tc=ge(ec,[["__scopeId","data-v-575e6a36"]]),ac=q({__name:"VPSkipLink",setup(e){const a=Wa(),t=V();dt(()=>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)=>(u(),m(ce,null,[g("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),g("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),nc=ge(ac,[["__scopeId","data-v-0f60ec36"]]),oc=q({__name:"Layout",setup(e){const{isOpen:a,open:t,close:n}=Ht(),o=Wa();dt(()=>o.path,n),vl(a,n);const{frontmatter:r}=Ae(),l=Kt(),i=T(()=>!!l["home-hero-image"]);return Co("hero-image-slot-exists",i),(c,h)=>{const y=la("Content");return s(r).layout!==!1?(u(),m("div",{key:0,class:he(["Layout",s(r).pageClass])},[w(c.$slots,"layout-top",{},void 0,!0),X(nc),X(Jr,{class:"backdrop",show:s(a),onClick:s(n)},null,8,["show","onClick"]),X(zd,null,{"nav-bar-title-before":D(()=>[w(c.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":D(()=>[w(c.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":D(()=>[w(c.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":D(()=>[w(c.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":D(()=>[w(c.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":D(()=>[w(c.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),X(Di,{open:s(a),onOpenMenu:s(t)},null,8,["open","onOpenMenu"]),X(tc,{open:s(a)},{"sidebar-nav-before":D(()=>[w(c.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":D(()=>[w(c.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),X(ri,null,{"page-top":D(()=>[w(c.$slots,"page-top",{},void 0,!0)]),"page-bottom":D(()=>[w(c.$slots,"page-bottom",{},void 0,!0)]),"not-found":D(()=>[w(c.$slots,"not-found",{},void 0,!0)]),"home-hero-before":D(()=>[w(c.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":D(()=>[w(c.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":D(()=>[w(c.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":D(()=>[w(c.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":D(()=>[w(c.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":D(()=>[w(c.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":D(()=>[w(c.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":D(()=>[w(c.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":D(()=>[w(c.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":D(()=>[w(c.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":D(()=>[w(c.$slots,"doc-before",{},void 0,!0)]),"doc-after":D(()=>[w(c.$slots,"doc-after",{},void 0,!0)]),"doc-top":D(()=>[w(c.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":D(()=>[w(c.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":D(()=>[w(c.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":D(()=>[w(c.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":D(()=>[w(c.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":D(()=>[w(c.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":D(()=>[w(c.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":D(()=>[w(c.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),X(di),w(c.$slots,"layout-bottom",{},void 0,!0)],2)):(u(),le(y,{key:1}))}}}),rc=ge(oc,[["__scopeId","data-v-5d98c3a5"]]),lc={Layout:rc,enhanceApp:({app:e})=>{e.component("Badge",Ur)}},sc={},ic={class:"star-and-sponsor"},uc=g("p",null,[Ie(" ⭐ If you like the component, give it a star on "),g("a",{class:"home-link",href:"https://github.com/Vuepic/vue-datepicker",target:"_blank"},"GitHub"),Ie(" and consider "),g("a",{class:"home-link",href:"https://github.com/sponsors/Vuepic",target:"_blank"},"sponsoring"),Ie(" its development! ⭐ ")],-1),dc=[uc];function cc(e,a){return u(),m("div",ic,dc)}const mc=ge(sc,[["render",cc]]);function _e(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 Le(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function Je(e,a){const t=_e(e);return isNaN(a)?Le(e,NaN):(a&&t.setDate(t.getDate()+a),t)}function pt(e,a){const t=_e(e);if(isNaN(a))return Le(e,NaN);if(!a)return t;const n=t.getDate(),o=Le(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 Fo(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:i=0,seconds:c=0}=a,h=_e(e),y=n||t?pt(h,n+t*12):h,v=r||o?Je(y,r+o*7):y,p=i+l*60,k=(c+p*60)*1e3;return Le(e,v.getTime()+k)}function vc(e,a){const t=+_e(e);return Le(e,t+a)}const zo=6048e5,pc=864e5,fc=6e4,Wo=36e5,hc=1e3;function yc(e,a){return vc(e,a*Wo)}let gc={};function sa(){return gc}function Nt(e,a){var i,c,h,y;const t=sa(),n=(a==null?void 0:a.weekStartsOn)??((c=(i=a==null?void 0:a.locale)==null?void 0:i.options)==null?void 0:c.weekStartsOn)??t.weekStartsOn??((y=(h=t.locale)==null?void 0:h.options)==null?void 0:y.weekStartsOn)??0,o=_e(e),r=o.getDay(),l=(r=o.getTime()?t+1:a.getTime()>=l.getTime()?t:t-1}function oo(e){const a=_e(e);return a.setHours(0,0,0,0),a}function Ea(e){const a=_e(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 jo(e,a){const t=oo(e),n=oo(a),o=+t-Ea(t),r=+n-Ea(n);return Math.round((o-r)/pc)}function _c(e){const a=qo(e),t=Le(e,0);return t.setFullYear(a,0,4),t.setHours(0,0,0,0),pa(t)}function bc(e,a){const t=a*3;return pt(e,t)}function Nn(e,a){return pt(e,a*12)}function Go(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function wa(e){if(!Go(e)&&typeof e!="number")return!1;const a=_e(e);return!isNaN(Number(a))}function ro(e){const a=_e(e);return Math.trunc(a.getMonth()/3)+1}function lo(e){const a=_e(e),t=a.getMonth();return a.setFullYear(a.getFullYear(),t+1,0),a.setHours(23,59,59,999),a}function Qo(e,a){const t=_e(e.start),n=_e(e.end);let o=+t>+n;const r=o?+t:+n,l=o?n:t;l.setHours(0,0,0,0);let i=(a==null?void 0:a.step)??1;if(!i)return[];i<0&&(i=-i,o=!o);const c=[];for(;+l<=r;)c.push(_e(l)),l.setDate(l.getDate()+i),l.setHours(0,0,0,0);return o?c.reverse():c}function qt(e){const a=_e(e),t=a.getMonth(),n=t-t%3;return a.setMonth(n,1),a.setHours(0,0,0,0),a}function kc(e,a){const t=_e(e.start),n=_e(e.end);let o=+t>+n;const r=o?+qt(t):+qt(n);let l=qt(o?n:t),i=(a==null?void 0:a.step)??1;if(!i)return[];i<0&&(i=-i,o=!o);const c=[];for(;+l<=r;)c.push(_e(l)),l=bc(l,i);return o?c.reverse():c}function so(e){const a=_e(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Uo(e){const a=_e(e),t=a.getFullYear();return a.setFullYear(t+1,0,0),a.setHours(23,59,59,999),a}function In(e){const a=_e(e),t=Le(e,0);return t.setFullYear(a.getFullYear(),0,1),t.setHours(0,0,0,0),t}function wc(e,a){var i,c,h,y;const t=sa(),n=(a==null?void 0:a.weekStartsOn)??((c=(i=a==null?void 0:a.locale)==null?void 0:i.options)==null?void 0:c.weekStartsOn)??t.weekStartsOn??((y=(h=t.locale)==null?void 0:h.options)==null?void 0:y.weekStartsOn)??0,o=_e(e),r=o.getDay(),l=(r{let n;const o=$c[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 va(e){return(a={})=>{const t=a.width?String(a.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Pc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Mc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Tc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Sc={date:va({formats:Pc,defaultWidth:"full"}),time:va({formats:Mc,defaultWidth:"full"}),dateTime:va({formats:Tc,defaultWidth:"full"})},xc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Ac=(e,a,t,n)=>xc[e];function Mt(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,i=t!=null&&t.width?String(t.width):l;o=e.formattingValues[i]||e.formattingValues[l]}else{const l=e.defaultWidth,i=t!=null&&t.width?String(t.width):e.defaultWidth;o=e.values[i]||e.values[l]}const r=e.argumentCallback?e.argumentCallback(a):a;return o[r]}}const Cc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Vc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Oc={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"]},Nc={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"]},Ic={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"}},Rc={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"}},Lc=(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"},Yc={ordinalNumber:Lc,era:Mt({values:Cc,defaultWidth:"wide"}),quarter:Mt({values:Vc,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Mt({values:Oc,defaultWidth:"wide"}),day:Mt({values:Nc,defaultWidth:"wide"}),dayPeriod:Mt({values:Ic,defaultWidth:"wide",formattingValues:Rc,defaultFormattingWidth:"wide"})};function Tt(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],i=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(i)?Bc(i,v=>v.test(l)):Ec(i,v=>v.test(l));let h;h=e.valueCallback?e.valueCallback(c):c,h=t.valueCallback?t.valueCallback(h):h;const y=a.slice(l.length);return{value:h,rest:y}}}function Ec(e,a){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&a(e[t]))return t}function Bc(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 i=a.slice(o.length);return{value:l,rest:i}}}const Hc=/^(\d+)(th|st|nd|rd)?/i,Fc=/\d+/i,zc={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},Wc={any:[/^b/i,/^(a|c)/i]},qc={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},jc={any:[/1/i,/2/i,/3/i,/4/i]},Gc={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},Qc={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]},Uc={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},Kc={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]},Xc={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},Jc={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}},Zc={ordinalNumber:Ko({matchPattern:Hc,parsePattern:Fc,valueCallback:e=>parseInt(e,10)}),era:Tt({matchPatterns:zc,defaultMatchWidth:"wide",parsePatterns:Wc,defaultParseWidth:"any"}),quarter:Tt({matchPatterns:qc,defaultMatchWidth:"wide",parsePatterns:jc,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Tt({matchPatterns:Gc,defaultMatchWidth:"wide",parsePatterns:Qc,defaultParseWidth:"any"}),day:Tt({matchPatterns:Uc,defaultMatchWidth:"wide",parsePatterns:Kc,defaultParseWidth:"any"}),dayPeriod:Tt({matchPatterns:Xc,defaultMatchWidth:"any",parsePatterns:Jc,defaultParseWidth:"any"})},Xo={code:"en-US",formatDistance:Dc,formatLong:Sc,formatRelative:Ac,localize:Yc,match:Zc,options:{weekStartsOn:0,firstWeekContainsDate:1}};function em(e){const a=_e(e);return jo(a,In(a))+1}function Rn(e){const a=_e(e),t=+pa(a)-+_c(a);return Math.round(t/zo)+1}function Ln(e,a){var y,v,p,_;const t=_e(e),n=t.getFullYear(),o=sa(),r=(a==null?void 0:a.firstWeekContainsDate)??((v=(y=a==null?void 0:a.locale)==null?void 0:y.options)==null?void 0:v.firstWeekContainsDate)??o.firstWeekContainsDate??((_=(p=o.locale)==null?void 0:p.options)==null?void 0:_.firstWeekContainsDate)??1,l=Le(e,0);l.setFullYear(n+1,0,r),l.setHours(0,0,0,0);const i=Nt(l,a),c=Le(e,0);c.setFullYear(n,0,r),c.setHours(0,0,0,0);const h=Nt(c,a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=h.getTime()?n:n-1}function tm(e,a){var i,c,h,y;const t=sa(),n=(a==null?void 0:a.firstWeekContainsDate)??((c=(i=a==null?void 0:a.locale)==null?void 0:i.options)==null?void 0:c.firstWeekContainsDate)??t.firstWeekContainsDate??((y=(h=t.locale)==null?void 0:h.options)==null?void 0:y.firstWeekContainsDate)??1,o=Ln(e,a),r=Le(e,0);return r.setFullYear(o,0,n),r.setHours(0,0,0,0),Nt(r,a)}function Yn(e,a){const t=_e(e),n=+Nt(t,a)-+tm(t,a);return Math.round(n/zo)+1}function Be(e,a){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(a,"0");return t+n}const zt={y(e,a){const t=e.getFullYear(),n=t>0?t:1-t;return Be(a==="yy"?n%100:n,a.length)},M(e,a){const t=e.getMonth();return a==="M"?String(t+1):Be(t+1,2)},d(e,a){return Be(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 Be(e.getHours()%12||12,a.length)},H(e,a){return Be(e.getHours(),a.length)},m(e,a){return Be(e.getMinutes(),a.length)},s(e,a){return Be(e.getSeconds(),a.length)},S(e,a){const t=a.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,t-3));return Be(o,a.length)}},ua={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},uo={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 zt.y(e,a)},Y:function(e,a,t,n){const o=Ln(e,n),r=o>0?o:1-o;if(a==="YY"){const l=r%100;return Be(l,2)}return a==="Yo"?t.ordinalNumber(r,{unit:"year"}):Be(r,a.length)},R:function(e,a){const t=qo(e);return Be(t,a.length)},u:function(e,a){const t=e.getFullYear();return Be(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 Be(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 Be(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 zt.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 Be(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=Yn(e,n);return a==="wo"?t.ordinalNumber(o,{unit:"week"}):Be(o,a.length)},I:function(e,a,t){const n=Rn(e);return a==="Io"?t.ordinalNumber(n,{unit:"week"}):Be(n,a.length)},d:function(e,a,t){return a==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):zt.d(e,a)},D:function(e,a,t){const n=em(e);return a==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):Be(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 Be(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 Be(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 Be(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=ua.noon:n===0?o=ua.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=ua.evening:n>=12?o=ua.afternoon:n>=4?o=ua.morning:o=ua.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 zt.h(e,a)},H:function(e,a,t){return a==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):zt.H(e,a)},K:function(e,a,t){const n=e.getHours()%12;return a==="Ko"?t.ordinalNumber(n,{unit:"hour"}):Be(n,a.length)},k:function(e,a,t){let n=e.getHours();return n===0&&(n=24),a==="ko"?t.ordinalNumber(n,{unit:"hour"}):Be(n,a.length)},m:function(e,a,t){return a==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):zt.m(e,a)},s:function(e,a,t){return a==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):zt.s(e,a)},S:function(e,a){return zt.S(e,a)},X:function(e,a,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(a){case"X":return mo(n);case"XXXX":case"XX":return ea(n);case"XXXXX":case"XXX":default:return ea(n,":")}},x:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"x":return mo(n);case"xxxx":case"xx":return ea(n);case"xxxxx":case"xxx":default:return ea(n,":")}},O:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+co(n,":");case"OOOO":default:return"GMT"+ea(n,":")}},z:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+co(n,":");case"zzzz":default:return"GMT"+ea(n,":")}},t:function(e,a,t){const n=Math.trunc(e.getTime()/1e3);return Be(n,a.length)},T:function(e,a,t){const n=e.getTime();return Be(n,a.length)}};function co(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+Be(r,2)}function mo(e,a){return e%60===0?(e>0?"-":"+")+Be(Math.abs(e)/60,2):ea(e,a)}function ea(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),o=Be(Math.trunc(n/60),2),r=Be(n%60,2);return t+o+a+r}const vo=(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"})}},Jo=(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"})}},am=(e,a)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],o=t[2];if(!o)return vo(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}}",vo(n,a)).replace("{{time}}",Jo(o,a))},kn={p:Jo,P:am},nm=/^D+$/,om=/^Y+$/,rm=["D","DD","YY","YYYY"];function Zo(e){return nm.test(e)}function er(e){return om.test(e)}function wn(e,a,t){const n=lm(e,a,t);if(console.warn(n),rm.includes(e))throw new RangeError(n)}function lm(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 sm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,im=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,um=/^'([^]*?)'?$/,dm=/''/g,cm=/[a-zA-Z]/;function yt(e,a,t){var y,v,p,_,k,S,I,ee;const n=sa(),o=(t==null?void 0:t.locale)??n.locale??Xo,r=(t==null?void 0:t.firstWeekContainsDate)??((v=(y=t==null?void 0:t.locale)==null?void 0:y.options)==null?void 0:v.firstWeekContainsDate)??n.firstWeekContainsDate??((_=(p=n.locale)==null?void 0:p.options)==null?void 0:_.firstWeekContainsDate)??1,l=(t==null?void 0:t.weekStartsOn)??((S=(k=t==null?void 0:t.locale)==null?void 0:k.options)==null?void 0:S.weekStartsOn)??n.weekStartsOn??((ee=(I=n.locale)==null?void 0:I.options)==null?void 0:ee.weekStartsOn)??0,i=_e(e);if(!wa(i))throw new RangeError("Invalid time value");let c=a.match(im).map(F=>{const C=F[0];if(C==="p"||C==="P"){const Y=kn[C];return Y(F,o.formatLong)}return F}).join("").match(sm).map(F=>{if(F==="''")return{isToken:!1,value:"'"};const C=F[0];if(C==="'")return{isToken:!1,value:mm(F)};if(uo[C])return{isToken:!0,value:F};if(C.match(cm))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");return{isToken:!1,value:F}});o.localize.preprocessor&&(c=o.localize.preprocessor(i,c));const h={firstWeekContainsDate:r,weekStartsOn:l,locale:o};return c.map(F=>{if(!F.isToken)return F.value;const C=F.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&er(C)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&Zo(C))&&wn(C,a,String(e));const Y=uo[C[0]];return Y(i,C,o.localize,h)}).join("")}function mm(e){const a=e.match(um);return a?a[1].replace(dm,"'"):e}function vm(e){return _e(e).getDay()}function pm(e){const a=_e(e),t=a.getFullYear(),n=a.getMonth(),o=Le(e,0);return o.setFullYear(t,n+1,0),o.setHours(0,0,0,0),o.getDate()}function fm(){return Object.assign({},sa())}function wt(e){return _e(e).getHours()}function hm(e){let t=_e(e).getDay();return t===0&&(t=7),t}function Ot(e){return _e(e).getMinutes()}function Se(e){return _e(e).getMonth()}function fa(e){return _e(e).getSeconds()}function Me(e){return _e(e).getFullYear()}function Pa(e,a){const t=_e(e),n=_e(a);return t.getTime()>n.getTime()}function Ma(e,a){const t=_e(e),n=_e(a);return+t<+n}function aa(e,a){const t=_e(e),n=_e(a);return+t==+n}function ym(e,a){const t=a instanceof Date?Le(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 gm=10;class tr{constructor(){me(this,"subPriority",0)}validate(a,t){return!0}}class _m extends tr{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 bm extends tr{constructor(){super(...arguments);me(this,"priority",gm);me(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:Le(t,ym(t,Date))}}class Ye{run(a,t,n,o){const r=this.parse(a,t,n,o);return r?{setter:new _m(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(a,t,n){return!0}}class km extends Ye{constructor(){super(...arguments);me(this,"priority",140);me(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 Ze={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}/},St={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 et(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 xt(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*Wo+r*fc+l*hc),rest:a.slice(t[0].length)}}function ar(e){return We(Ze.anyDigitsSigned,e)}function Ge(e,a){switch(e){case 1:return We(Ze.singleDigit,a);case 2:return We(Ze.twoDigits,a);case 3:return We(Ze.threeDigits,a);case 4:return We(Ze.fourDigits,a);default:return We(new RegExp("^\\d{1,"+e+"}"),a)}}function Ba(e,a){switch(e){case 1:return We(Ze.singleDigitSigned,a);case 2:return We(Ze.twoDigitsSigned,a);case 3:return We(Ze.threeDigitsSigned,a);case 4:return We(Ze.fourDigitsSigned,a);default:return We(new RegExp("^-?\\d{1,"+e+"}"),a)}}function En(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 nr(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,i=e>=r%100;o=e+l-(i?100:0)}return t?o:1-o}function or(e){return e%400===0||e%4===0&&e%100!==0}class wm extends Ye{constructor(){super(...arguments);me(this,"priority",130);me(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 et(Ge(4,t),r);case"yo":return et(o.ordinalNumber(t,{unit:"year"}),r);default:return et(Ge(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 i=nr(o.year,r);return t.setFullYear(i,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 $m extends Ye{constructor(){super(...arguments);me(this,"priority",130);me(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 et(Ge(4,t),r);case"Yo":return et(o.ordinalNumber(t,{unit:"year"}),r);default:return et(Ge(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,o,r){const l=Ln(t,r);if(o.isTwoDigitYear){const c=nr(o.year,l);return t.setFullYear(c,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Nt(t,r)}const i=!("era"in n)||n.era===1?o.year:1-o.year;return t.setFullYear(i,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Nt(t,r)}}class Dm extends Ye{constructor(){super(...arguments);me(this,"priority",130);me(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Ba(n==="R"?4:n.length,t)}set(t,n,o){const r=Le(t,0);return r.setFullYear(o,0,4),r.setHours(0,0,0,0),pa(r)}}class Pm extends Ye{constructor(){super(...arguments);me(this,"priority",130);me(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Ba(n==="u"?4:n.length,t)}set(t,n,o){return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class Mm extends Ye{constructor(){super(...arguments);me(this,"priority",120);me(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 Ge(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 Tm extends Ye{constructor(){super(...arguments);me(this,"priority",120);me(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 Ge(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 Sm extends Ye{constructor(){super(...arguments);me(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);me(this,"priority",110)}parse(t,n,o){const r=l=>l-1;switch(n){case"M":return et(We(Ze.month,t),r);case"MM":return et(Ge(2,t),r);case"Mo":return et(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 xm extends Ye{constructor(){super(...arguments);me(this,"priority",110);me(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 et(We(Ze.month,t),r);case"LL":return et(Ge(2,t),r);case"Lo":return et(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 Am(e,a,t){const n=_e(e),o=Yn(n,t)-a;return n.setDate(n.getDate()-o*7),n}class Cm extends Ye{constructor(){super(...arguments);me(this,"priority",100);me(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(Ze.week,t);case"wo":return o.ordinalNumber(t,{unit:"week"});default:return Ge(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o,r){return Nt(Am(t,o,r),r)}}function Vm(e,a){const t=_e(e),n=Rn(t)-a;return t.setDate(t.getDate()-n*7),t}class Om extends Ye{constructor(){super(...arguments);me(this,"priority",100);me(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(Ze.week,t);case"Io":return o.ordinalNumber(t,{unit:"week"});default:return Ge(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o){return pa(Vm(t,o))}}const Nm=[31,28,31,30,31,30,31,31,30,31,30,31],Im=[31,29,31,30,31,30,31,31,30,31,30,31];class Rm extends Ye{constructor(){super(...arguments);me(this,"priority",90);me(this,"subPriority",1);me(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"d":return We(Ze.date,t);case"do":return o.ordinalNumber(t,{unit:"date"});default:return Ge(n.length,t)}}validate(t,n){const o=t.getFullYear(),r=or(o),l=t.getMonth();return r?n>=1&&n<=Im[l]:n>=1&&n<=Nm[l]}set(t,n,o){return t.setDate(o),t.setHours(0,0,0,0),t}}class Lm extends Ye{constructor(){super(...arguments);me(this,"priority",90);me(this,"subpriority",1);me(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(Ze.dayOfYear,t);case"Do":return o.ordinalNumber(t,{unit:"date"});default:return Ge(n.length,t)}}validate(t,n){const o=t.getFullYear();return or(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 Bn(e,a,t){var v,p,_,k;const n=sa(),o=(t==null?void 0:t.weekStartsOn)??((p=(v=t==null?void 0:t.locale)==null?void 0:v.options)==null?void 0:p.weekStartsOn)??n.weekStartsOn??((k=(_=n.locale)==null?void 0:_.options)==null?void 0:k.weekStartsOn)??0,r=_e(e),l=r.getDay(),c=(a%7+7)%7,h=7-o,y=a<0||a>6?a-(l+h)%7:(c+h)%7-(l+h)%7;return Je(r,y)}class Ym extends Ye{constructor(){super(...arguments);me(this,"priority",90);me(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=Bn(t,o,r),t.setHours(0,0,0,0),t}}class Em extends Ye{constructor(){super(...arguments);me(this,"priority",90);me(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,o,r){const l=i=>{const c=Math.floor((i-1)/7)*7;return(i+r.weekStartsOn+6)%7+c};switch(n){case"e":case"ee":return et(Ge(n.length,t),l);case"eo":return et(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=Bn(t,o,r),t.setHours(0,0,0,0),t}}class Bm extends Ye{constructor(){super(...arguments);me(this,"priority",90);me(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,o,r){const l=i=>{const c=Math.floor((i-1)/7)*7;return(i+r.weekStartsOn+6)%7+c};switch(n){case"c":case"cc":return et(Ge(n.length,t),l);case"co":return et(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=Bn(t,o,r),t.setHours(0,0,0,0),t}}function Hm(e,a){const t=_e(e),n=hm(t),o=a-n;return Je(t,o)}class Fm extends Ye{constructor(){super(...arguments);me(this,"priority",90);me(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 Ge(n.length,t);case"io":return o.ordinalNumber(t,{unit:"day"});case"iii":return et(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 et(o.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return et(o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return et(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=Hm(t,o),t.setHours(0,0,0,0),t}}class zm extends Ye{constructor(){super(...arguments);me(this,"priority",80);me(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(En(o),0,0,0),t}}class Wm extends Ye{constructor(){super(...arguments);me(this,"priority",80);me(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(En(o),0,0,0),t}}class qm extends Ye{constructor(){super(...arguments);me(this,"priority",80);me(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(En(o),0,0,0),t}}class jm extends Ye{constructor(){super(...arguments);me(this,"priority",70);me(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,o){switch(n){case"h":return We(Ze.hour12h,t);case"ho":return o.ordinalNumber(t,{unit:"hour"});default:return Ge(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 Gm extends Ye{constructor(){super(...arguments);me(this,"priority",70);me(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,o){switch(n){case"H":return We(Ze.hour23h,t);case"Ho":return o.ordinalNumber(t,{unit:"hour"});default:return Ge(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,o){return t.setHours(o,0,0,0),t}}class Qm extends Ye{constructor(){super(...arguments);me(this,"priority",70);me(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,o){switch(n){case"K":return We(Ze.hour11h,t);case"Ko":return o.ordinalNumber(t,{unit:"hour"});default:return Ge(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 Um extends Ye{constructor(){super(...arguments);me(this,"priority",70);me(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,o){switch(n){case"k":return We(Ze.hour24h,t);case"ko":return o.ordinalNumber(t,{unit:"hour"});default:return Ge(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 Km extends Ye{constructor(){super(...arguments);me(this,"priority",60);me(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"m":return We(Ze.minute,t);case"mo":return o.ordinalNumber(t,{unit:"minute"});default:return Ge(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setMinutes(o,0,0),t}}class Xm extends Ye{constructor(){super(...arguments);me(this,"priority",50);me(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"s":return We(Ze.second,t);case"so":return o.ordinalNumber(t,{unit:"second"});default:return Ge(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setSeconds(o,0),t}}class Jm extends Ye{constructor(){super(...arguments);me(this,"priority",30);me(this,"incompatibleTokens",["t","T"])}parse(t,n){const o=r=>Math.trunc(r*Math.pow(10,-n.length+3));return et(Ge(n.length,t),o)}set(t,n,o){return t.setMilliseconds(o),t}}class Zm extends Ye{constructor(){super(...arguments);me(this,"priority",10);me(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return xt(St.basicOptionalMinutes,t);case"XX":return xt(St.basic,t);case"XXXX":return xt(St.basicOptionalSeconds,t);case"XXXXX":return xt(St.extendedOptionalSeconds,t);case"XXX":default:return xt(St.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Le(t,t.getTime()-Ea(t)-o)}}class ev extends Ye{constructor(){super(...arguments);me(this,"priority",10);me(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return xt(St.basicOptionalMinutes,t);case"xx":return xt(St.basic,t);case"xxxx":return xt(St.basicOptionalSeconds,t);case"xxxxx":return xt(St.extendedOptionalSeconds,t);case"xxx":default:return xt(St.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Le(t,t.getTime()-Ea(t)-o)}}class tv extends Ye{constructor(){super(...arguments);me(this,"priority",40);me(this,"incompatibleTokens","*")}parse(t){return ar(t)}set(t,n,o){return[Le(t,o*1e3),{timestampIsSet:!0}]}}class av extends Ye{constructor(){super(...arguments);me(this,"priority",20);me(this,"incompatibleTokens","*")}parse(t){return ar(t)}set(t,n,o){return[Le(t,o),{timestampIsSet:!0}]}}const nv={G:new km,y:new wm,Y:new $m,R:new Dm,u:new Pm,Q:new Mm,q:new Tm,M:new Sm,L:new xm,w:new Cm,I:new Om,d:new Rm,D:new Lm,E:new Ym,e:new Em,c:new Bm,i:new Fm,a:new zm,b:new Wm,B:new qm,h:new jm,H:new Gm,K:new Qm,k:new Um,m:new Km,s:new Xm,S:new Jm,X:new Zm,x:new ev,t:new tv,T:new av},ov=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,rv=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,lv=/^'([^]*?)'?$/,sv=/''/g,iv=/\S/,uv=/[a-zA-Z]/;function $n(e,a,t,n){var S,I,ee,F,C,Y,J,z;const o=fm(),r=(n==null?void 0:n.locale)??o.locale??Xo,l=(n==null?void 0:n.firstWeekContainsDate)??((I=(S=n==null?void 0:n.locale)==null?void 0:S.options)==null?void 0:I.firstWeekContainsDate)??o.firstWeekContainsDate??((F=(ee=o.locale)==null?void 0:ee.options)==null?void 0:F.firstWeekContainsDate)??1,i=(n==null?void 0:n.weekStartsOn)??((Y=(C=n==null?void 0:n.locale)==null?void 0:C.options)==null?void 0:Y.weekStartsOn)??o.weekStartsOn??((z=(J=o.locale)==null?void 0:J.options)==null?void 0:z.weekStartsOn)??0;if(a==="")return e===""?_e(t):Le(t,NaN);const c={firstWeekContainsDate:l,weekStartsOn:i,locale:r},h=[new bm],y=a.match(rv).map(O=>{const W=O[0];if(W in kn){const ae=kn[W];return ae(O,r.formatLong)}return O}).join("").match(ov),v=[];for(let O of y){!(n!=null&&n.useAdditionalWeekYearTokens)&&er(O)&&wn(O,a,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&Zo(O)&&wn(O,a,e);const W=O[0],ae=nv[W];if(ae){const{incompatibleTokens:ie}=ae;if(Array.isArray(ie)){const E=v.find(G=>ie.includes(G.token)||G.token===W);if(E)throw new RangeError(`The format string mustn't contain \`${E.fullToken}\` and \`${O}\` at the same time`)}else if(ae.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${O}\` and any other token at the same time`);v.push({token:W,fullToken:O});const pe=ae.run(e,O,r.match,c);if(!pe)return Le(t,NaN);h.push(pe.setter),e=pe.rest}else{if(W.match(uv))throw new RangeError("Format string contains an unescaped latin alphabet character `"+W+"`");if(O==="''"?O="'":W==="'"&&(O=dv(O)),e.indexOf(O)===0)e=e.slice(O.length);else return Le(t,NaN)}}if(e.length>0&&iv.test(e))return Le(t,NaN);const p=h.map(O=>O.priority).sort((O,W)=>W-O).filter((O,W,ae)=>ae.indexOf(O)===W).map(O=>h.filter(W=>W.priority===O).sort((W,ae)=>ae.subPriority-W.subPriority)).map(O=>O[0]);let _=_e(t);if(isNaN(_.getTime()))return Le(t,NaN);const k={};for(const O of p){if(!O.validate(_,c))return Le(t,NaN);const W=O.set(_,k,c);Array.isArray(W)?(_=W[0],Object.assign(k,W[1])):_=W}return Le(t,_)}function dv(e){return e.match(lv)[1].replace(sv,"'")}function po(e,a){const t=qt(e),n=qt(a);return+t==+n}function Hn(e,a){return Je(e,-a)}function rr(e,a){const t=_e(e),n=t.getFullYear(),o=t.getDate(),r=Le(e,0);r.setFullYear(n,a,15),r.setHours(0,0,0,0);const l=pm(r);return t.setMonth(a,Math.min(o,l)),t}function Fe(e,a){let t=_e(e);return isNaN(+t)?Le(e,NaN):(a.year!=null&&t.setFullYear(a.year),a.month!=null&&(t=rr(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 lr(e,a){const t=_e(e);return t.setHours(a),t}function Fn(e,a){const t=_e(e);return t.setMilliseconds(a),t}function sr(e,a){const t=_e(e);return t.setMinutes(a),t}function zn(e,a){const t=_e(e);return t.setSeconds(a),t}function At(e,a){const t=_e(e);return isNaN(+t)?Le(e,NaN):(t.setFullYear(a),t)}function Et(e,a){return pt(e,-a)}function cv(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:i=0,seconds:c=0}=a,h=Et(e,n+t*12),y=Hn(h,r+o*7),v=i+l*60,_=(c+v*60)*1e3;return Le(e,y.getTime()-_)}function ir(e,a){return Nn(e,-a)}function _a(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[g("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"}),g("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"}),g("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"}),g("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"})])}_a.compatConfig={MODE:3};function ur(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[g("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"}),g("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"})])}ur.compatConfig={MODE:3};function Wn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[g("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"})])}Wn.compatConfig={MODE:3};function qn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[g("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"})])}qn.compatConfig={MODE:3};function jn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[g("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"}),g("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"})])}jn.compatConfig={MODE:3};function Gn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[g("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"})])}Gn.compatConfig={MODE:3};function Qn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon"},[g("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"})])}Qn.compatConfig={MODE:3};function fo(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 mv(e){return a=>yt(new Date(`2017-01-0${a}T00:00:00+00:00`),"EEEEEE",{locale:e})}const vv=(e,a,t)=>{const n=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=n.map(mv(e))}catch{o=n.map(fo(a))}else o=n.map(fo(a));const r=o.slice(0,t),l=o.slice(t+1,o.length);return[o[t]].concat(...l).concat(...r)},Un=(e,a,t)=>{const n=[];for(let o=+e[0];o<=+e[1];o++)n.push({value:+o,text:vr(o,a)});return t?n.reverse():n},dr=(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"?"MMMM":"MMM";return n.map((l,i)=>{const c=yt(l,r,{locale:e});return{text:c.charAt(0).toUpperCase()+c.substring(1),value:i}})}catch{}const o=new Intl.DateTimeFormat(a,{month:t,timeZone:"UTC"});return n.map((r,l)=>{const i=o.format(r);return{text:i.charAt(0).toUpperCase()+i.substring(1),value:l}})},pv=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],ot=e=>{const a=s(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},fv=e=>({type:"dot",...e??{}}),cr=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Kn={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},rt=e=>e,ho=e=>e===0?e:!e||isNaN(+e)?null:+e,yo=e=>e===null,mr=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},hv=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?+ehv(e).map(t=>t.map(n=>{const{active:o,disabled:r,isBetween:l,highlighted:i}=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":i}}})),Gt=(e,a,t=!1)=>{e&&a.allowStopPropagation&&(t&&e.stopImmediatePropagation(),e.stopPropagation())},yv=()=>["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 gv(e,a){let t=[...document.querySelectorAll(yv())];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 _v=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),vr=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),Xn=e=>yt(e,"dd-MM-yyyy"),rn=e=>Array.isArray(e),Ha=(e,a)=>a.get(Xn(e)),bv=(e,a)=>e?a?a instanceof Map?!!Ha(e,a):a(K(e)):!1:!0,go=(e,a,t,n,o,r)=>{const l=$n(e,a.slice(0,e.length),new Date,{locale:r});return wa(l)&&Go(l)?n||o?l:Fe(l,{hours:+t.hours,minutes:+(t==null?void 0:t.minutes),seconds:+(t==null?void 0:t.seconds),milliseconds:0}):null},kv=(e,a,t,n,o,r)=>{const l=Array.isArray(t)?t[0]:t;if(typeof a=="string")return go(e,a,l,n,o,r);if(Array.isArray(a)){let i=null;for(const c of a)if(i=go(e,c,l,n,o,r),i)break;return i}return typeof a=="function"?a(e):null},K=e=>e?new Date(e):new Date,wv=(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"),i=e.getMinutes().toString().padStart(2,"0"),c=t?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${r}T${l}:${i}:${c}.000Z`}const n=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(n).toISOString()},ft=e=>{let a=K(JSON.parse(JSON.stringify(e)));return a=lr(a,0),a=sr(a,0),a=zn(a,0),a=Fn(a,0),a},Qt=(e,a,t,n)=>{let o=e?K(e):K();return(a||a===0)&&(o=lr(o,+a)),(t||t===0)&&(o=sr(o,+t)),(n||n===0)&&(o=zn(o,+n)),Fn(o,0)},je=(e,a)=>!e||!a?!1:Ma(ft(e),ft(a)),Ve=(e,a)=>!e||!a?!1:aa(ft(e),ft(a)),Xe=(e,a)=>!e||!a?!1:Pa(ft(e),ft(a)),Ga=(e,a,t)=>e!=null&&e[0]&&e!=null&&e[1]?Xe(t,e[0])&&je(t,e[1]):e!=null&&e[0]&&a?Xe(t,e[0])&&je(t,a)||je(t,e[0])&&Xe(t,a):!1,kt=e=>{const a=Fe(new Date(e),{date:1});return ft(a)},ln=(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},na=e=>({hours:wt(e),minutes:Ot(e),seconds:fa(e)}),pr=(e,a)=>{if(a){const t=Me(K(a));if(t>e)return 12;if(t===e)return Se(K(a))}},fr=(e,a)=>{if(a){const t=Me(K(a));return t{if(e)return Me(K(e))},hr=(e,a)=>{const t=Xe(e,a)?a:e,n=Xe(a,e)?a:e;return Qo({start:t,end:n})},$v=e=>{const a=pt(e,1);return{month:Se(a),year:Me(a)}},Rt=(e,a)=>{const t=Nt(e,{weekStartsOn:+a}),n=wc(e,{weekStartsOn:+a});return[t,n]},yr=(e,a)=>{const t={hours:wt(K()),minutes:Ot(K()),seconds:a?fa(K()):0};return Object.assign(t,e)},jt=(e,a,t)=>[Fe(K(e),{date:1}),Fe(K(),{month:a,year:t,date:1})],Lt=(e,a,t)=>{let n=e?K(e):K();return(a||a===0)&&(n=rr(n,a)),t&&(n=At(n,t)),n},gr=(e,a,t,n,o)=>{if(!n||o&&!a||!o&&!t)return!1;const r=o?pt(e,1):Et(e,1),l=[Se(r),Me(r)];return o?!Pv(...l,a):!Dv(...l,t)},Dv=(e,a,t)=>je(...jt(t,e,a))||Ve(...jt(t,e,a)),Pv=(e,a,t)=>Xe(...jt(t,e,a))||Ve(...jt(t,e,a)),_r=(e,a,t,n,o,r,l)=>{if(typeof a=="function"&&!l)return a(e);const i=t?{locale:t}:void 0;return Array.isArray(e)?`${yt(e[0],r,i)}${o&&!e[1]?"":n}${e[1]?yt(e[1],r,i):""}`:yt(e,r,i)},da=e=>{if(e)return null;throw new Error(Kn.prop("partial-range"))},Na=(e,a)=>{if(a)return e();throw new Error(Kn.prop("range"))},Dn=e=>Array.isArray(e)?wa(e[0])&&(e[1]?wa(e[1]):!0):e?wa(e):!1,Mv=(e,a)=>Fe(a??K(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),sn=(e,a,t,n)=>{if(!e)return!0;if(n){const o=t==="max"?Ma(e,a):Pa(e,a),r={seconds:0,milliseconds:0};return o||aa(Fe(e,r),Fe(a,r))}return t==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},un=(e,a,t)=>e?Mv(e,a):K(t??a),_o=(e,a,t,n,o)=>{if(Array.isArray(n)){const l=un(e,n[0],a),i=un(e,n[1],a);return sn(n[0],l,t,!!a)&&sn(n[1],i,t,!!a)&&o}const r=un(e,n,a);return sn(n,r,t,!!a)&&o},dn=e=>Fe(K(),na(e)),Tv=(e,a)=>e instanceof Map?Array.from(e.values()).filter(t=>Me(K(t))===a).map(t=>Se(t)):[],br=(e,a,t)=>typeof e=="function"?e({month:a,year:t}):!!e.months.find(n=>n.month===a&&n.year===t),Jn=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),ka=Sa({menuFocused:!1,shiftKeyInMenu:!1}),kr=()=>{const e=t=>{ka.menuFocused=t},a=t=>{ka.shiftKeyInMenu!==t&&(ka.shiftKeyInMenu=t)};return{control:T(()=>({shiftKeyInMenu:ka.shiftKeyInMenu,menuFocused:ka.menuFocused})),setMenuFocused:e,setShiftKey:a}},ze=Sa({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),cn=V(null),Ia=V(!1),mn=V(!1),vn=V(!1),pn=V(!1),st=V(0),Ke=V(0),Xt=()=>{const e=T(()=>Ia.value?[...ze.selectionGrid,ze.actionRow].filter(v=>v.length):mn.value?[...ze.timePicker[0],...ze.timePicker[1],pn.value?[]:[cn.value],ze.actionRow].filter(v=>v.length):vn.value?[...ze.monthPicker,ze.actionRow]:[ze.monthYear,...ze.calendar,ze.time,ze.actionRow].filter(v=>v.length)),a=v=>{st.value=v?st.value+1:st.value-1;let p=null;e.value[Ke.value]&&(p=e.value[Ke.value][st.value]),!p&&e.value[Ke.value+(v?1:-1)]?(Ke.value=Ke.value+(v?1:-1),st.value=v?0:e.value[Ke.value].length-1):p||(st.value=v?st.value-1:st.value+1)},t=v=>{Ke.value===0&&!v||Ke.value===e.value.length&&v||(Ke.value=v?Ke.value+1:Ke.value-1,e.value[Ke.value]?e.value[Ke.value]&&!e.value[Ke.value][st.value]&&st.value!==0&&(st.value=e.value[Ke.value].length-1):Ke.value=v?Ke.value-1:Ke.value+1)},n=v=>{let p=null;e.value[Ke.value]&&(p=e.value[Ke.value][st.value]),p?p.focus({preventScroll:!Ia.value}):st.value=v?st.value-1:st.value+1},o=()=>{a(!0),n(!0)},r=()=>{a(!1),n(!1)},l=()=>{t(!1),n(!0)},i=()=>{t(!0),n(!0)},c=(v,p)=>{ze[p]=v},h=(v,p)=>{ze[p]=v},y=()=>{st.value=0,Ke.value=0};return{buildMatrix:c,buildMultiLevelMatrix:h,setTimePickerBackRef:v=>{cn.value=v},setSelectionGrid:v=>{Ia.value=v,y(),v||(ze.selectionGrid=[])},setTimePicker:(v,p=!1)=>{mn.value=v,pn.value=p,y(),v||(ze.timePicker[0]=[],ze.timePicker[1]=[])},setTimePickerElements:(v,p=0)=>{ze.timePicker[p]=v},arrowRight:o,arrowLeft:r,arrowUp:l,arrowDown:i,clearArrowNav:()=>{ze.monthYear=[],ze.calendar=[],ze.time=[],ze.actionRow=[],ze.selectionGrid=[],ze.timePicker[0]=[],ze.timePicker[1]=[],Ia.value=!1,mn.value=!1,pn.value=!1,vn.value=!1,y(),cn.value=null},setMonthPicker:v=>{vn.value=v,y()},refSets:ze}},Yt=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),wr=(e,a)=>Pn(e,a)||K(),Sv=(e,a)=>a.dateInTz?Yt(new Date(e),a.dateInTz):K(e),Pn=(e,a)=>{if(!e)return null;if(!a)return K(e);const t=K(e);return a.exactMatch?Sv(e,a):Yt(t,a.timezone)},xv=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},bo=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??{}}),Av=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",calendarWrap:"Calendar wrapper",calendarDays:"Calendar days",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,...e??{}}),ko=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,Cv=e=>{const a=typeof e=="object"&&e,t={static:!0,solo:!1};if(!e)return{...t,count:ko(!1)};const n=a?e:{},o=a?n.count??!0:e,r=ko(o);return Object.assign(t,n,{count:r})},Vv=(e,a,t)=>e||(typeof t=="string"?t:a),Ov=e=>typeof e=="boolean"?e?bo({}):!1:bo(e),Nv=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:!0,selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},Iv=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),Rv=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),Lv=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},Yv=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,...e??{}}),Ev=e=>{const a={dates:Array.isArray(e)?e.map(t=>K(t)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},Bv=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},Hv=(e,a)=>typeof e=="object"?{enabled:!0,...{noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1},...e}:{enabled:e,noDisabledRange:a.noDisabledRange,showLastInRange:a.showLastInRange,minMaxRawRange:a.minMaxRawRange,partialRange:a.partialRange,disableTimeRangeValidation:a.disableTimeRangeValidation,maxRange:a.maxRange,minRange:a.minRange,autoRange:a.autoRange,fixedStart:a.fixedStart,fixedEnd:a.fixedEnd},Fv=(e,a)=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:a,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:a??e.emitTimezone,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:a},fn=(e,a)=>new Map(e.map(t=>{const n=wr(t,a);return[Xn(n),n]})),zv=(e,a)=>e.length?new Map(e.map(t=>{const n=wr(t.date,a);return[Xn(n),t]})):null,Wv=(e,a,t,n,o,r,l)=>({minDate:Pn(e,l),maxDate:Pn(a,l),disabledDates:rn(t)?fn(t,l):t,allowedDates:rn(n)?fn(n,l):null,highlight:typeof o=="object"&&rn(o==null?void 0:o.dates)?fn(o.dates,l):o,markers:zv(r,l)}),qv=(e,a)=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:+a}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},qe=e=>{const a=()=>{const J=e.enableSeconds?":ss":"";return e.is24?`HH:mm${J}`:`hh:mm${J} aa`},t=()=>{var J;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((J=I.value)==null?void 0:J.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},n=J=>yr(J,e.enableSeconds),o=()=>Y.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=T(()=>Cv(e.multiCalendars)),l=T(()=>o()),i=T(()=>Av(e.ariaLabels)),c=T(()=>Iv(e.filters)),h=T(()=>Ov(e.transitions)),y=T(()=>Rv(e.actionRow)),v=T(()=>Vv(e.previewFormat,e.format,t())),p=T(()=>Nv(e.textInput)),_=T(()=>Lv(e.inline)),k=T(()=>Yv(e.config)),S=T(()=>Ev(e.highlight)),I=T(()=>Bv(e.weekNumbers)),ee=T(()=>Fv(e.timezone,e.emitTimezone)),F=T(()=>qv(e.multiDates,e.multiDatesLimit)),C=T(()=>Wv(e.minDate,e.maxDate,e.disabledDates,e.allowedDates,S.value,e.markers,ee.value)),Y=T(()=>Hv(e.range,{minMaxRawRange:!1,maxRange:e.maxRange,minRange:e.minRange,noDisabledRange:e.noDisabledRange,showLastInRange:e.showLastInRange,partialRange:e.partialRange,disableTimeRangeValidation:e.disableTimeRangeValidation,autoRange:e.autoRange,fixedStart:e.fixedStart,fixedEnd:e.fixedEnd}));return{defaultedTransitions:h,defaultedMultiCalendars:r,defaultedStartTime:l,defaultedAriaLabels:i,defaultedFilters:c,defaultedActionRow:y,defaultedPreviewFormat:v,defaultedTextInput:p,defaultedInline:_,defaultedConfig:k,defaultedHighlight:S,defaultedWeekNumbers:I,defaultedRange:Y,propDates:C,defaultedTz:ee,defaultedMultiDates:F,getDefaultPattern:t,getDefaultStartTime:o}};var bt=(e=>(e.month="month",e.year="year",e))(bt||{}),ta=(e=>(e.top="top",e.bottom="bottom",e))(ta||{}),oa=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(oa||{}),Pt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(Pt||{});const jv=["timestamp","date","iso"],Gv=(e,a,t)=>{const n=V(),{defaultedTextInput:o,defaultedRange:r,defaultedTz:l,defaultedMultiDates:i,getDefaultPattern:c}=qe(a),h=V(""),y=Da(a,"format"),v=Da(a,"formatLocale");dt(n,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",n.value,j(!0))},{deep:!0}),dt(y,()=>{ne()});const p=$=>l.value.timezone&&l.value.convertModel?Yt($,l.value.timezone):$,_=$=>{if(l.value.timezone&&l.value.convertModel){const fe=xv(l.value.timezone);return yc($,fe)}return $},k=($,fe,M=!1)=>_r($,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,fe??c(),M),S=$=>$?a.modelType?Z($):{hours:wt($),minutes:Ot($),seconds:a.enableSeconds?fa($):0}:null,I=$=>a.modelType?Z($):{month:Se($),year:Me($)},ee=$=>Array.isArray($)?i.value.enabled?$.map(fe=>F(fe,At(K(),fe))):Na(()=>[At(K(),$[0]),$[1]?At(K(),$[1]):da(r.value.partialRange)],r.value.enabled):At(K(),+$),F=($,fe)=>(typeof $=="string"||typeof $=="number")&&a.modelType?ue($):fe,C=$=>Array.isArray($)?[F($[0],Qt(null,+$[0].hours,+$[0].minutes,$[0].seconds)),F($[1],Qt(null,+$[1].hours,+$[1].minutes,$[1].seconds))]:F($,Qt(null,$.hours,$.minutes,$.seconds)),Y=$=>{const fe=Fe(K(),{date:1});return Array.isArray($)?i.value.enabled?$.map(M=>F(M,Lt(fe,+M.month,+M.year))):Na(()=>[F($[0],Lt(fe,+$[0].month,+$[0].year)),F($[1],$[1]?Lt(fe,+$[1].month,+$[1].year):da(r.value.partialRange))],r.value.enabled):F($,Lt(fe,+$.month,+$.year))},J=$=>{if(Array.isArray($))return $.map(fe=>ue(fe));throw new Error(Kn.dateArr("multi-dates"))},z=$=>{if(Array.isArray($)&&r.value.enabled){const fe=$[0],M=$[1];return[K(Array.isArray(fe)?fe[0]:null),K(Array.isArray(M)?M[0]:null)]}return K($[0])},O=$=>a.modelAuto?Array.isArray($)?[ue($[0]),ue($[1])]:a.autoApply?[ue($)]:[ue($),null]:Array.isArray($)?Na(()=>$[1]?[ue($[0]),$[1]?ue($[1]):da(r.value.partialRange)]:[ue($[0])],r.value.enabled):ue($),W=()=>{Array.isArray(n.value)&&r.value.enabled&&n.value.length===1&&n.value.push(da(r.value.partialRange))},ae=()=>{const $=n.value;return[Z($[0]),$[1]?Z($[1]):da(r.value.partialRange)]},ie=()=>n.value[1]?ae():Z(rt(n.value[0])),pe=()=>(n.value||[]).map($=>Z($)),E=($=!1)=>($||W(),a.modelAuto?ie():i.value.enabled?pe():Array.isArray(n.value)?Na(()=>ae(),r.value.enabled):Z(rt(n.value))),G=$=>!$||Array.isArray($)&&!$.length?null:a.timePicker?C(rt($)):a.monthPicker?Y(rt($)):a.yearPicker?ee(rt($)):i.value.enabled?J(rt($)):a.weekPicker?z(rt($)):O(rt($)),se=$=>{const fe=G($);Dn(rt(fe))?(n.value=rt(fe),ne()):(n.value=null,h.value="")},b=()=>{const $=fe=>yt(fe,o.value.format);return`${$(n.value[0])} ${o.value.rangeSeparator} ${n.value[1]?$(n.value[1]):""}`},f=()=>t.value&&n.value?Array.isArray(n.value)?b():yt(n.value,o.value.format):k(n.value),B=()=>n.value?i.value.enabled?n.value.map($=>k($)).join("; "):o.value.enabled&&typeof o.value.format=="string"?f():k(n.value):"",ne=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?h.value=B():h.value=a.format(n.value)},ue=$=>{if(a.utc){const fe=new Date($);return a.utc==="preserve"?new Date(fe.getTime()+fe.getTimezoneOffset()*6e4):fe}return a.modelType?jv.includes(a.modelType)?p(new Date($)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?p($n($,c(),new Date,{locale:v.value})):p($n($,a.modelType,new Date,{locale:v.value})):p(new Date($))},Z=$=>$?a.utc?wv($,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+_($):a.modelType==="iso"?_($).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?k(_($)):k(_($),a.modelType,!0):_($):"",A=($,fe=!1,M=!1)=>{if(M)return $;if(e("update:model-value",$),l.value.emitTimezone&&fe){const H=Array.isArray($)?$.map(be=>Yt(rt(be),l.value.emitTimezone)):Yt(rt($),l.value.emitTimezone);e("update:model-timezone-value",H)}},R=$=>Array.isArray(n.value)?i.value.enabled?n.value.map(fe=>$(fe)):[$(n.value[0]),n.value[1]?$(n.value[1]):da(r.value.partialRange)]:$(rt(n.value)),d=()=>{if(Array.isArray(n.value)){const $=Rt(n.value[0],a.weekStart),fe=n.value[1]?Rt(n.value[1],a.weekStart):[];return[$.map(M=>K(M)),fe.map(M=>K(M))]}return Rt(n.value,a.weekStart).map($=>K($))},P=($,fe)=>A(rt(R($)),!1,fe),Q=$=>{const fe=d();return $?fe:e("update:model-value",d())},j=($=!1)=>(ne(),a.monthPicker?P(I,$):a.timePicker?P(S,$):a.yearPicker?P(Me,$):a.weekPicker?Q($):A(E($),!0,$));return{inputValue:h,internalModelValue:n,checkBeforeEmit:()=>n.value?r.value.enabled?r.value.partialRange?n.value.length>=1:n.value.length===2:!!n.value:!1,parseExternalModelValue:se,formatInputValue:ne,emitModelValue:j}},Qv=(e,a)=>{const{defaultedFilters:t,propDates:n}=qe(e),{validateMonthYearInRange:o}=Jt(e),r=(y,v)=>{let p=y;return t.value.months.includes(Se(p))?(p=v?pt(y,1):Et(y,1),r(p,v)):p},l=(y,v)=>{let p=y;return t.value.years.includes(Me(p))?(p=v?Nn(y,1):ir(y,1),l(p,v)):p},i=(y,v=!1)=>{const p=Fe(K(),{month:e.month,year:e.year});let _=y?pt(p,1):Et(p,1);e.disableYearSelect&&(_=At(_,e.year));let k=Se(_),S=Me(_);t.value.months.includes(k)&&(_=r(_,y),k=Se(_),S=Me(_)),t.value.years.includes(S)&&(_=l(_,y),S=Me(_)),o(k,S,y,e.preventMinMaxNavigation)&&c(k,S,v)},c=(y,v,p)=>{a("update-month-year",{month:y,year:v,fromNav:p})},h=T(()=>y=>gr(Fe(K(),{month:e.month,year:e.year}),n.value.maxDate,n.value.minDate,e.preventMinMaxNavigation,y));return{handleMonthYearChange:i,isDisabled:h,updateMonthYear:c}};var ca=(e=>(e.center="center",e.left="left",e.right="right",e))(ca||{});const Uv=({menuRef:e,menuRefInner:a,inputRef:t,pickerWrapperRef:n,inline:o,emit:r,props:l,slots:i})=>{const c=V({}),h=V(!1),y=V({top:"0",left:"0"}),v=V(!1),p=Da(l,"teleportCenter");dt(p,()=>{y.value=JSON.parse(JSON.stringify({})),Y()});const _=b=>{if(l.teleport){const f=b.getBoundingClientRect();return{left:f.left+window.scrollX,top:f.top+window.scrollY}}return{top:0,left:0}},k=(b,f)=>{y.value.left=`${b+f-c.value.width}px`},S=b=>{y.value.left=`${b}px`},I=(b,f)=>{l.position===ca.left&&S(b),l.position===ca.right&&k(b,f),l.position===ca.center&&(y.value.left=`${b+f/2-c.value.width/2}px`)},ee=b=>{const{width:f,height:B}=b.getBoundingClientRect(),{top:ne,left:ue}=l.altPosition?l.altPosition(b):_(b);return{top:+ne,left:+ue,width:f,height:B}},F=()=>{y.value.left="50%",y.value.top="50%",y.value.transform="translate(-50%, -50%)",y.value.position="fixed",delete y.value.opacity},C=()=>{const b=ot(t),{top:f,left:B,transform:ne}=l.altPosition(b);y.value={top:`${f}px`,left:`${B}px`,transform:ne??""}},Y=(b=!0)=>{var f;if(!o.value.enabled){if(p.value)return F();if(l.altPosition!==null)return C();if(b){const B=l.teleport?(f=a.value)==null?void 0:f.$el:e.value;B&&(c.value=B.getBoundingClientRect()),r("recalculate-position")}return pe()}},J=({inputEl:b,left:f,width:B})=>{window.screen.width>768&&!h.value&&I(f,B),W(b)},z=b=>{const{top:f,left:B,height:ne,width:ue}=ee(b);y.value.top=`${ne+f+ +l.offset}px`,v.value=!1,h.value||(y.value.left=`${B+ue/2-c.value.width/2}px`),J({inputEl:b,left:B,width:ue})},O=b=>{const{top:f,left:B,width:ne}=ee(b);y.value.top=`${f-+l.offset-c.value.height}px`,v.value=!0,J({inputEl:b,left:B,width:ne})},W=b=>{if(l.autoPosition){const{left:f,width:B}=ee(b),{left:ne,right:ue}=c.value;if(!h.value){if(Math.abs(ne)!==Math.abs(ue)){if(ne<=0)return h.value=!0,S(f);if(ue>=document.documentElement.clientWidth)return h.value=!0,k(f,B)}return I(f,B)}}},ae=()=>{const b=ot(t);if(b){const{height:f}=c.value,{top:B,height:ne}=b.getBoundingClientRect(),ue=window.innerHeight-B-ne,Z=B;return f<=ue?ta.bottom:f>ue&&f<=Z?ta.top:ue>=Z?ta.bottom:ta.top}return ta.bottom},ie=b=>ae()===ta.bottom?z(b):O(b),pe=()=>{const b=ot(t);if(b)return l.autoPosition?ie(b):z(b)},E=function(b){if(b){const f=b.scrollHeight>b.clientHeight,B=window.getComputedStyle(b).overflowY.indexOf("hidden")!==-1;return f&&!B}return!0},G=function(b){return!b||b===document.body||b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:E(b)?b:G(b.parentNode)},se=b=>{if(b)switch(l.position){case ca.left:return{left:0,transform:"translateX(0)"};case ca.right:return{left:`${b.width}px`,transform:"translateX(-100%)"};default:return{left:`${b.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:v,menuStyle:y,xCorrect:h,setMenuPosition:Y,getScrollableParent:G,shadowRender:(b,f)=>{var B,ne,ue;const Z=document.createElement("div"),A=(B=ot(t))==null?void 0:B.getBoundingClientRect();Z.setAttribute("id","dp--temp-container");const R=(ne=n.value)!=null&&ne.clientWidth?n.value:document.body;R.append(Z);const d=se(A),P=zr(b,{...f,shadow:!0,style:{opacity:0,position:"absolute",...d}},Object.fromEntries(Object.keys(i).filter(Q=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(Q)).map(Q=>[Q,i[Q]])));ao(P,Z),c.value=(ue=P.el)==null?void 0:ue.getBoundingClientRect(),ao(null,Z),R.removeChild(Z)}}},Wt=[{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:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-value",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"]}],Kv=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Xv={all:()=>Wt,monthYear:()=>Wt.filter(e=>e.use.includes("month-year")),input:()=>Kv,timePicker:()=>Wt.filter(e=>e.use.includes("time")),action:()=>Wt.filter(e=>e.use.includes("action")),calendar:()=>Wt.filter(e=>e.use.includes("calendar")),menu:()=>Wt.filter(e=>e.use.includes("menu")),shared:()=>Wt.filter(e=>e.use.includes("shared")),yearMode:()=>Wt.filter(e=>e.use.includes("year-mode"))},vt=(e,a,t)=>{const n=[];return Xv[a]().forEach(o=>{e[o.name]&&n.push(o.name)}),t!=null&&t.length&&t.forEach(o=>{o.slot&&n.push(o.slot)}),n},Aa=e=>{const a=T(()=>n=>e.value?n?e.value.open:e.value.close:""),t=T(()=>n=>e.value?n?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:t}},Ca=(e,a)=>{const{defaultedRange:t,defaultedTz:n}=qe(e),o=K(Yt(K(),n.value.timezone)),r=V([{month:Se(o),year:Me(o)}]),l=Sa({hours:t.value.enabled?[wt(o),wt(o)]:wt(o),minutes:t.value.enabled?[Ot(o),Ot(o)]:Ot(o),seconds:t.value.enabled?[0,0]:0}),i=T({get:()=>e.internalModelValue,set:y=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",y)}}),c=T(()=>y=>r.value[y]?r.value[y].month:0),h=T(()=>y=>r.value[y]?r.value[y].year:0);return{calendars:r,time:l,modelValue:i,month:c,year:h}},Jv=(e,a)=>{const{defaultedMultiCalendars:t,defaultedMultiDates:n,defaultedHighlight:o,defaultedTz:r,propDates:l,defaultedRange:i}=qe(a),{isDisabled:c}=Jt(a),h=V(null),y=V(Yt(new Date,r.value.timezone)),v=d=>{!d.current&&a.hideOffsetDates||(h.value=d.value)},p=()=>{h.value=null},_=d=>Array.isArray(e.value)&&i.value.enabled&&e.value[0]&&h.value?d?Xe(h.value,e.value[0]):je(h.value,e.value[0]):!0,k=(d,P)=>{const Q=()=>e.value?P?e.value[0]||null:e.value[1]:null,j=e.value&&Array.isArray(e.value)?Q():null;return Ve(K(d.value),j)},S=d=>{const P=Array.isArray(e.value)?e.value[0]:null;return d?!je(h.value??null,P):!0},I=(d,P=!0)=>(i.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!d.current?!1:Ve(K(d.value),e.value[P?0:1]):i.value.enabled?k(d,P)&&S(P)||Ve(d.value,Array.isArray(e.value)?e.value[0]:null)&&_(P):!1,ee=(d,P)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const Q=Ve(d.value,h.value);return P?Xe(e.value[0],d.value)&&Q:je(e.value[0],d.value)&&Q}return!1},F=d=>!e.value||a.hideOffsetDates&&!d.current?!1:i.value.enabled?a.modelAuto&&Array.isArray(e.value)?Ve(d.value,e.value[0]?e.value[0]:y.value):!1:n.value.enabled&&Array.isArray(e.value)?e.value.some(P=>Ve(P,d.value)):Ve(d.value,e.value?e.value:y.value),C=d=>{if(i.value.autoRange||a.weekPicker){if(h.value){if(a.hideOffsetDates&&!d.current)return!1;const P=Je(h.value,+i.value.autoRange),Q=Rt(K(h.value),a.weekStart);return a.weekPicker?Ve(Q[1],K(d.value)):Ve(P,K(d.value))}return!1}return!1},Y=d=>{if(i.value.autoRange||a.weekPicker){if(h.value){const P=Je(h.value,+i.value.autoRange);if(a.hideOffsetDates&&!d.current)return!1;const Q=Rt(K(h.value),a.weekStart);return a.weekPicker?Xe(d.value,Q[0])&&je(d.value,Q[1]):Xe(d.value,h.value)&&je(d.value,P)}return!1}return!1},J=d=>{if(i.value.autoRange||a.weekPicker){if(h.value){if(a.hideOffsetDates&&!d.current)return!1;const P=Rt(K(h.value),a.weekStart);return a.weekPicker?Ve(P[0],d.value):Ve(h.value,d.value)}return!1}return!1},z=d=>Ga(e.value,h.value,d.value),O=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,W=()=>a.modelAuto?cr(a.internalModelValue):!0,ae=d=>{if(a.weekPicker)return!1;const P=i.value.enabled?!I(d)&&!I(d,!1):!0;return!c(d.value)&&!F(d)&&!(!d.current&&a.hideOffsetDates)&&P},ie=d=>i.value.enabled?a.modelAuto?O()&&F(d):!1:F(d),pe=d=>o.value?bv(d.value,l.value.highlight):!1,E=d=>{const P=c(d.value);return P&&(typeof o.value=="function"?!o.value(d.value,P):!o.value.options.highlightDisabled)},G=d=>{var P;return typeof o.value=="function"?o.value(d.value):(P=o.value.weekdays)==null?void 0:P.includes(d.value.getDay())},se=d=>(i.value.enabled||a.weekPicker)&&(!(t.value.count>0)||d.current)&&W()&&!(!d.current&&a.hideOffsetDates)&&!F(d)?z(d):!1,b=d=>{const{isRangeStart:P,isRangeEnd:Q}=ue(d),j=i.value.enabled?P||Q:!1;return{dp__cell_offset:!d.current,dp__pointer:!a.disabled&&!(!d.current&&a.hideOffsetDates)&&!c(d.value),dp__cell_disabled:c(d.value),dp__cell_highlight:!E(d)&&(pe(d)||G(d))&&!ie(d)&&!j&&!J(d)&&!(se(d)&&a.weekPicker)&&!Q,dp__cell_highlight_active:!E(d)&&(pe(d)||G(d))&&ie(d),dp__today:!a.noToday&&Ve(d.value,y.value)&&d.current,"dp--past":je(d.value,y.value),"dp--future":Xe(d.value,y.value)}},f=d=>({dp__active_date:ie(d),dp__date_hover:ae(d)}),B=d=>{if(e.value&&!Array.isArray(e.value)){const P=Rt(e.value,a.weekStart);return{...A(d),dp__range_start:Ve(P[0],d.value),dp__range_end:Ve(P[1],d.value),dp__range_between_week:Xe(d.value,P[0])&&je(d.value,P[1])}}return{...A(d)}},ne=d=>{if(e.value&&Array.isArray(e.value)){const P=Rt(e.value[0],a.weekStart),Q=e.value[1]?Rt(e.value[1],a.weekStart):[];return{...A(d),dp__range_start:Ve(P[0],d.value)||Ve(Q[0],d.value),dp__range_end:Ve(P[1],d.value)||Ve(Q[1],d.value),dp__range_between_week:Xe(d.value,P[0])&&je(d.value,P[1])||Xe(d.value,Q[0])&&je(d.value,Q[1]),dp__range_between:Xe(d.value,P[1])&&je(d.value,Q[0])}}return{...A(d)}},ue=d=>{const P=t.value.count>0?d.current&&I(d)&&W():I(d)&&W(),Q=t.value.count>0?d.current&&I(d,!1)&&W():I(d,!1)&&W();return{isRangeStart:P,isRangeEnd:Q}},Z=d=>{const{isRangeStart:P,isRangeEnd:Q}=ue(d);return{dp__range_start:P,dp__range_end:Q,dp__range_between:se(d),dp__date_hover:Ve(d.value,h.value)&&!P&&!Q&&!a.weekPicker,dp__date_hover_start:ee(d,!0),dp__date_hover_end:ee(d,!1)}},A=d=>({...Z(d),dp__cell_auto_range:Y(d),dp__cell_auto_range_start:J(d),dp__cell_auto_range_end:C(d)}),R=d=>i.value.enabled?i.value.autoRange?A(d):a.modelAuto?{...f(d),...Z(d)}:a.weekPicker?ne(d):Z(d):a.weekPicker?B(d):f(d);return{setHoverDate:v,clearHoverDate:p,getDayClassData:d=>a.hideOffsetDates&&!d.current?{}:{...b(d),...R(d),[a.dayClass?a.dayClass(d.value):""]:!0,[a.calendarCellClassName]:!!a.calendarCellClassName}}},Jt=e=>{const{defaultedFilters:a,defaultedRange:t,propDates:n,defaultedMultiDates:o}=qe(e),r=E=>n.value.disabledDates?typeof n.value.disabledDates=="function"?n.value.disabledDates(K(E)):!!Ha(E,n.value.disabledDates):!1,l=E=>{const G=n.value.maxDate?Xe(E,n.value.maxDate):!1,se=n.value.minDate?je(E,n.value.minDate):!1,b=r(E),f=a.value.months.map(A=>+A).includes(Se(E)),B=e.disabledWeekDays.length?e.disabledWeekDays.some(A=>+A===vm(E)):!1,ne=v(E),ue=Me(E),Z=ue<+e.yearRange[0]||ue>+e.yearRange[1];return!(G||se||b||f||Z||B||ne)},i=(E,G)=>je(...jt(n.value.minDate,E,G))||Ve(...jt(n.value.minDate,E,G)),c=(E,G)=>Xe(...jt(n.value.maxDate,E,G))||Ve(...jt(n.value.maxDate,E,G)),h=(E,G,se)=>{let b=!1;return n.value.maxDate&&se&&c(E,G)&&(b=!0),n.value.minDate&&!se&&i(E,G)&&(b=!0),b},y=(E,G,se,b)=>{let f=!1;return b?n.value.minDate&&n.value.maxDate?f=h(E,G,se):(n.value.minDate&&i(E,G)||n.value.maxDate&&c(E,G))&&(f=!0):f=!0,f},v=E=>Array.isArray(n.value.allowedDates)&&!n.value.allowedDates.length?!0:n.value.allowedDates?!Ha(E,n.value.allowedDates):!1,p=E=>!l(E),_=E=>t.value.noDisabledRange?!Qo({start:E[0],end:E[1]}).some(G=>p(G)):!0,k=E=>{if(E){const G=Me(E);return G>=+e.yearRange[0]&&G<=e.yearRange[1]}return!0},S=(E,G)=>!!(Array.isArray(E)&&E[G]&&(t.value.maxRange||t.value.minRange)&&k(E[G])),I=(E,G,se=0)=>{if(S(G,se)&&k(E)){const b=jo(E,G[se]),f=hr(G[se],E),B=f.length===1?0:f.filter(ue=>p(ue)).length,ne=Math.abs(b)-(t.value.minMaxRawRange?0:B);if(t.value.minRange&&t.value.maxRange)return ne>=+t.value.minRange&&ne<=+t.value.maxRange;if(t.value.minRange)return ne>=+t.value.minRange;if(t.value.maxRange)return ne<=+t.value.maxRange}return!0},ee=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,F=E=>Array.isArray(E)?[E[0]?dn(E[0]):null,E[1]?dn(E[1]):null]:dn(E),C=(E,G,se)=>E.find(b=>+b.hours===wt(G)&&b.minutes==="*"?!0:+b.minutes===Ot(G)&&+b.hours===wt(G))&&se,Y=(E,G,se)=>{const[b,f]=E,[B,ne]=G;return!C(b,B,se)&&!C(f,ne,se)&&se},J=(E,G)=>{const se=Array.isArray(G)?G:[G];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?Y(e.disabledTimes,se,E):!se.some(b=>C(e.disabledTimes,b,E)):E},z=(E,G)=>{const se=Array.isArray(G)?[na(G[0]),G[1]?na(G[1]):void 0]:na(G),b=!e.disabledTimes(se);return E&&b},O=(E,G)=>e.disabledTimes?Array.isArray(e.disabledTimes)?J(G,E):z(G,E):G,W=E=>{let G=!0;if(!E||ee())return!0;const se=!n.value.minDate&&!n.value.maxDate?F(E):E;return(e.maxTime||n.value.maxDate)&&(G=_o(e.maxTime,n.value.maxDate,"max",rt(se),G)),(e.minTime||n.value.minDate)&&(G=_o(e.minTime,n.value.minDate,"min",rt(se),G)),O(E,G)},ae=E=>{if(!e.monthPicker)return!0;let G=!0;const se=K(kt(E));if(n.value.minDate&&n.value.maxDate){const b=K(kt(n.value.minDate)),f=K(kt(n.value.maxDate));return Xe(se,b)&&je(se,f)||Ve(se,b)||Ve(se,f)}if(n.value.minDate){const b=K(kt(n.value.minDate));G=Xe(se,b)||Ve(se,b)}if(n.value.maxDate){const b=K(kt(n.value.maxDate));G=je(se,b)||Ve(se,b)}return G},ie=T(()=>E=>!e.enableTimePicker||e.ignoreTimeValidation?!0:W(E)),pe=T(()=>E=>e.monthPicker?Array.isArray(E)&&(t.value.enabled||o.value.enabled)?!E.filter(G=>!ae(G)).length:ae(E):!0);return{isDisabled:p,validateDate:l,validateMonthYearInRange:y,isDateRangeAllowed:_,checkMinMaxRange:I,isValidTime:W,isTimeValid:ie,isMonthValid:pe}},Qa=()=>{const e=T(()=>(n,o)=>n==null?void 0:n.includes(o)),a=T(()=>(n,o)=>n.count?n.solo?!0:o===0:!0),t=T(()=>(n,o)=>n.count?n.solo?!0:o===n.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:t}},Zv=(e,a,t)=>{const n=V(0),o=Sa({[oa.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[oa.calendar]:!1,[oa.header]:!1}),r=T(()=>e.monthPicker),l=v=>{var p;if((p=e.flow)!=null&&p.length){if(!v&&r.value)return y();o[v]=!0,Object.keys(o).filter(_=>!o[_]).length||y()}},i=()=>{var v;(v=e.flow)!=null&&v.length&&n.value!==-1&&(n.value+=1,a("flow-step",n.value),y())},c=()=>{n.value=-1},h=(v,p,..._)=>{var k,S;e.flow[n.value]===v&&t.value&&((S=(k=t.value)[p])==null||S.call(k,..._))},y=()=>{h(Pt.month,"toggleMonthPicker",!0),h(Pt.year,"toggleYearPicker",!0),h(Pt.calendar,"toggleTimePicker",!1,!0),h(Pt.time,"toggleTimePicker",!0,!0);const v=e.flow[n.value];(v===Pt.hours||v===Pt.minutes||v===Pt.seconds)&&h(v,"toggleTimePicker",!0,!0,v)};return{childMount:l,updateFlowStep:i,resetFlow:c,flowStep:n}},Ua={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},emitTimezone:{type:String,default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},menuClassName:{type:String,default:null},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},calendarCellClassName:{type:String,default:null},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},autoRange:{type:[Number,String],default:null},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},minRange:{type:[Number,String],default:null},maxRange:{type:[Number,String],default:null},multiDatesLimit:{type:[Number,String],default:null},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},disableTimeRangeValidation:{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},calendarClassName:{type:String,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},partialRange:{type:Boolean,default:!0},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"},inputClassName:{type:String,default:null},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1},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},noDisabledRange:{type:Boolean,default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},showLastInRange:{type:Boolean,default:!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}},$t={...Ua,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:()=>({})}},ep={key:1,class:"dp__input_wrap"},tp=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],ap={key:2,class:"dp__clear_icon"},np=q({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Ua},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTextInput:r,defaultedAriaLabels:l,defaultedInline:i,defaultedConfig:c,defaultedRange:h,defaultedMultiDates:y,getDefaultPattern:v,getDefaultStartTime:p}=qe(o),{checkMinMaxRange:_}=Jt(o),k=V(),S=V(null),I=V(!1),ee=V(!1),F=T(()=>({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:!!o.state,dp__input_invalid:o.state===!1,dp__input_focus:I.value||o.isMenuOpen,dp__input_reg:!r.value.enabled,[o.inputClassName]:!!o.inputClassName})),C=()=>{n("set-input-date",null),o.clearable&&o.autoApply&&(n("set-empty-date"),k.value=null)},Y=f=>{const B=p();return kv(f,r.value.format??v(),B??yr({},o.enableSeconds),o.inputValue,ee.value,o.formatLocale)},J=f=>{const{rangeSeparator:B}=r.value,[ne,ue]=f.split(`${B}`);if(ne){const Z=Y(ne.trim()),A=ue?Y(ue.trim()):null,R=Z&&A?[Z,A]:[Z];_(A,R,0)&&(k.value=Z?R:null)}},z=()=>{ee.value=!0},O=f=>{if(h.value.enabled)J(f);else if(y.value.enabled){const B=f.split(";");k.value=B.map(ne=>Y(ne.trim())).filter(ne=>ne)}else k.value=Y(f)},W=f=>{var B;const ne=typeof f=="string"?f:(B=f.target)==null?void 0:B.value;ne!==""?(r.value.openMenu&&!o.isMenuOpen&&n("open"),O(ne),n("set-input-date",k.value)):C(),ee.value=!1,n("update:input-value",ne)},ae=f=>{r.value.enabled?(O(f.target.value),r.value.enterSubmit&&Dn(k.value)&&o.inputValue!==""?(n("set-input-date",k.value,!0),k.value=null):r.value.enterSubmit&&o.inputValue===""&&(k.value=null,n("clear"))):E(f)},ie=f=>{r.value.enabled&&r.value.tabSubmit&&O(f.target.value),r.value.tabSubmit&&Dn(k.value)&&o.inputValue!==""?(n("set-input-date",k.value,!0,!0),k.value=null):r.value.tabSubmit&&o.inputValue===""&&(k.value=null,n("clear",!0))},pe=()=>{I.value=!0,n("focus"),gt().then(()=>{var f;r.value.enabled&&r.value.selectOnFocus&&((f=S.value)==null||f.select())})},E=f=>{f.preventDefault(),Gt(f,c.value,!0),r.value.enabled&&r.value.openMenu&&!i.value.input&&!o.isMenuOpen?n("open"):r.value.enabled||n("toggle")},G=()=>{n("real-blur"),I.value=!1,(!o.isMenuOpen||i.value.enabled&&i.value.input)&&n("blur"),o.autoApply&&r.value.enabled&&k.value&&!o.isMenuOpen&&(n("set-input-date",k.value),n("select-date"),k.value=null)},se=f=>{Gt(f,c.value,!0),n("clear")},b=f=>{if(!r.value.enabled){if(f.code==="Tab")return;f.preventDefault()}};return a({focusInput:()=>{var f;(f=S.value)==null||f.focus({preventScroll:!0})},setParsedDate:f=>{k.value=f}}),(f,B)=>{var ne;return u(),m("div",{onClick:E},[f.$slots.trigger&&!f.$slots["dp-input"]&&!s(i).enabled?w(f.$slots,"trigger",{key:0}):x("",!0),!f.$slots.trigger&&(!s(i).enabled||s(i).input)?(u(),m("div",ep,[f.$slots["dp-input"]&&!f.$slots.trigger&&(!s(i).enabled||s(i).enabled&&s(i).input)?w(f.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:W,onEnter:ae,onTab:ie,onClear:se,onBlur:G,onKeypress:b,onPaste:z,openMenu:()=>f.$emit("open"),closeMenu:()=>f.$emit("close"),toggleMenu:()=>f.$emit("toggle")}):x("",!0),f.$slots["dp-input"]?x("",!0):(u(),m("input",{key:1,id:f.uid?`dp-input-${f.uid}`:void 0,ref_key:"inputRef",ref:S,name:f.name,class:he(F.value),inputmode:s(r).enabled?"text":"none",placeholder:f.placeholder,disabled:f.disabled,readonly:f.readonly,required:f.required,value:e.inputValue,autocomplete:f.autocomplete,"aria-label":(ne=s(l))==null?void 0:ne.input,"aria-disabled":f.disabled||void 0,"aria-invalid":f.state===!1?!0:void 0,onInput:W,onKeydown:[Te(ae,["enter"]),Te(ie,["tab"]),b],onBlur:G,onFocus:pe,onKeypress:b,onPaste:z},null,42,tp)),g("div",{onClick:B[2]||(B[2]=ue=>n("toggle"))},[f.$slots["input-icon"]&&!f.hideInputIcon?(u(),m("span",{key:0,class:"dp__input_icon",onClick:B[0]||(B[0]=ue=>n("toggle"))},[w(f.$slots,"input-icon")])):x("",!0),!f.$slots["input-icon"]&&!f.hideInputIcon&&!f.$slots["dp-input"]?(u(),le(s(_a),{key:1,class:"dp__input_icon dp__input_icons",onClick:B[1]||(B[1]=ue=>n("toggle"))})):x("",!0)]),f.$slots["clear-icon"]&&e.inputValue&&f.clearable&&!f.disabled&&!f.readonly?(u(),m("span",ap,[w(f.$slots,"clear-icon",{clear:se})])):x("",!0),f.clearable&&!f.$slots["clear-icon"]&&e.inputValue&&!f.disabled&&!f.readonly?(u(),le(s(ur),{key:3,class:"dp__clear_icon dp__input_icons",onClick:B[3]||(B[3]=Ee(ue=>se(ue),["prevent"]))})):x("",!0)])):x("",!0)])}}}),op=["title"],rp=["disabled"],lp=q({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...$t},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:i,defaultedInline:c,defaultedRange:h,defaultedMultiDates:y,getDefaultPattern:v}=qe(n),{isTimeValid:p,isMonthValid:_}=Jt(n),{buildMatrix:k}=Xt(),S=V(null),I=V(null),ee=V(!1),F=V({}),C=V(null),Y=V(null);Qe(()=>{n.arrowNavigation&&k([ot(S),ot(I)],"actionRow"),J(),window.addEventListener("resize",J)}),Ut(()=>{window.removeEventListener("resize",J)});const J=()=>{ee.value=!1,setTimeout(()=>{var b,f;const B=(b=C.value)==null?void 0:b.getBoundingClientRect(),ne=(f=Y.value)==null?void 0:f.getBoundingClientRect();B&&ne&&(F.value.maxWidth=`${ne.width-B.width-20}px`),ee.value=!0},0)},z=T(()=>h.value.enabled&&!h.value.partialRange&&n.internalModelValue?n.internalModelValue.length===2:!0),O=T(()=>!p.value(n.internalModelValue)||!_.value(n.internalModelValue)||!z.value),W=()=>{const b=r.value;return n.timePicker||n.monthPicker,b(rt(n.internalModelValue))},ae=()=>{const b=n.internalModelValue;return l.value.count>0?`${ie(b[0])} - ${ie(b[1])}`:[ie(b[0]),ie(b[1])]},ie=b=>_r(b,r.value,n.formatLocale,i.value.rangeSeparator,n.modelAuto,v()),pe=T(()=>!n.internalModelValue||!n.menuMount?"":typeof r.value=="string"?Array.isArray(n.internalModelValue)?n.internalModelValue.length===2&&n.internalModelValue[1]?ae():y.value.enabled?n.internalModelValue.map(b=>`${ie(b)}`):n.modelAuto?`${ie(n.internalModelValue[0])}`:`${ie(n.internalModelValue[0])} -`:ie(n.internalModelValue):W()),E=()=>y.value.enabled?"; ":" - ",G=T(()=>Array.isArray(pe.value)?pe.value.join(E()):pe.value),se=()=>{p.value(n.internalModelValue)&&_.value(n.internalModelValue)&&z.value?t("select-date"):t("invalid-select")};return(b,f)=>(u(),m("div",{ref_key:"actionRowRef",ref:Y,class:"dp__action_row"},[b.$slots["action-row"]?w(b.$slots,"action-row",tt(Re({key:0},{internalModelValue:b.internalModelValue,disabled:O.value,selectDate:()=>b.$emit("select-date"),closePicker:()=>b.$emit("close-picker")}))):(u(),m(ce,{key:1},[s(o).showPreview?(u(),m("div",{key:0,class:"dp__selection_preview",title:G.value,style:mt(F.value)},[b.$slots["action-preview"]&&ee.value?w(b.$slots,"action-preview",{key:0,value:b.internalModelValue}):x("",!0),!b.$slots["action-preview"]&&ee.value?(u(),m(ce,{key:1},[Ie(re(G.value),1)],64)):x("",!0)],12,op)):x("",!0),g("div",{ref_key:"actionBtnContainer",ref:C,class:"dp__action_buttons","data-dp-element":"action-row"},[b.$slots["action-buttons"]?w(b.$slots,"action-buttons",{key:0,value:b.internalModelValue}):x("",!0),b.$slots["action-buttons"]?x("",!0):(u(),m(ce,{key:1},[!s(c).enabled&&s(o).showCancel?(u(),m("button",{key:0,ref_key:"cancelButtonRef",ref:S,type:"button",class:"dp__action_button dp__action_cancel",onClick:f[0]||(f[0]=B=>b.$emit("close-picker")),onKeydown:[f[1]||(f[1]=Te(B=>b.$emit("close-picker"),["enter"])),f[2]||(f[2]=Te(B=>b.$emit("close-picker"),["space"]))]},re(b.cancelText),545)):x("",!0),s(o).showNow?(u(),m("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:f[3]||(f[3]=B=>b.$emit("select-now")),onKeydown:[f[4]||(f[4]=Te(B=>b.$emit("select-now"),["enter"])),f[5]||(f[5]=Te(B=>b.$emit("select-now"),["space"]))]},re(b.nowButtonLabel),33)):x("",!0),s(o).showSelect?(u(),m("button",{key:2,ref_key:"selectButtonRef",ref:I,type:"button",class:"dp__action_button dp__action_select",disabled:O.value,onKeydown:[Te(se,["enter"]),Te(se,["space"])],onClick:se},re(b.selectText),41,rp)):x("",!0)],64))],512)],64))],512))}}),sp=["onKeydown"],ip={class:"dp__selection_grid_header"},up=["aria-selected","aria-disabled","onClick","onKeydown","onMouseover"],dp=["aria-label"],Va=q({__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:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:t}){const{setSelectionGrid:n,buildMultiLevelMatrix:o,setMonthPicker:r}=Xt(),l=t,i=e,{defaultedAriaLabels:c,defaultedTextInput:h,defaultedConfig:y}=qe(i),{hideNavigationButtons:v}=Qa(),p=V(!1),_=V(null),k=V(null),S=V([]),I=V(),ee=V(null),F=V(0),C=V(null);Wr(()=>{_.value=null}),Qe(()=>{gt().then(()=>pe()),i.noOverlayFocus||J(),Y(!0)}),Ut(()=>Y(!1));const Y=Z=>{var A;i.arrowNavigation&&((A=i.headerRefs)!=null&&A.length?r(Z):n(Z))},J=()=>{var Z;const A=ot(k);A&&(h.value.enabled||(_.value?(Z=_.value)==null||Z.focus({preventScroll:!0}):A.focus({preventScroll:!0})),p.value=A.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!i.useRelative,"dp--overlay-relative":i.useRelative})),O=T(()=>i.useRelative?{height:`${i.height}px`,width:"260px"}:void 0),W=T(()=>({dp__overlay_col:!0})),ae=T(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:p.value,dp__button_bottom:i.isLast})),ie=T(()=>{var Z,A;return{dp__overlay_container:!0,dp__container_flex:((Z=i.items)==null?void 0:Z.length)<=6,dp__container_block:((A=i.items)==null?void 0:A.length)>6}});dt(()=>i.items,()=>pe(!1),{deep:!0});const pe=(Z=!0)=>{gt().then(()=>{const A=ot(_),R=ot(k),d=ot(ee),P=ot(C),Q=d?d.getBoundingClientRect().height:0;R&&(R.getBoundingClientRect().height?F.value=R.getBoundingClientRect().height-Q:F.value=y.value.modeHeight-Q),A&&P&&Z&&(P.scrollTop=A.offsetTop-P.offsetTop-(F.value/2-A.getBoundingClientRect().height)-Q)})},E=Z=>{Z.disabled||l("selected",Z.value)},G=()=>{l("toggle"),l("reset-flow")},se=()=>{i.escClose&&G()},b=(Z,A,R,d)=>{Z&&((A.active||A.value===i.focusValue)&&(_.value=Z),i.arrowNavigation&&(Array.isArray(S.value[R])?S.value[R][d]=Z:S.value[R]=[Z],f()))},f=()=>{var Z,A;const R=(Z=i.headerRefs)!=null&&Z.length?[i.headerRefs].concat(S.value):S.value.concat([i.skipButtonRef?[]:[ee.value]]);o(rt(R),(A=i.headerRefs)!=null&&A.length?"monthPicker":"selectionGrid")},B=Z=>{i.arrowNavigation||Gt(Z,y.value,!0)},ne=Z=>{I.value=Z,l("hover-value",Z)},ue=()=>{if(G(),!i.isLast){const Z=_v(i.menuWrapRef??null,"action-row");if(Z){const A=mr(Z);A==null||A.focus()}}};return a({focusGrid:J}),(Z,A)=>{var R;return u(),m("div",{ref_key:"gridWrapRef",ref:k,class:he(z.value),style:mt(O.value),role:"dialog",tabindex:"0",onKeydown:[Te(Ee(se,["prevent"]),["esc"]),A[0]||(A[0]=Te(Ee(d=>B(d),["prevent"]),["left"])),A[1]||(A[1]=Te(Ee(d=>B(d),["prevent"]),["up"])),A[2]||(A[2]=Te(Ee(d=>B(d),["prevent"]),["down"])),A[3]||(A[3]=Te(Ee(d=>B(d),["prevent"]),["right"]))]},[g("div",{ref_key:"containerRef",ref:C,class:he(ie.value),role:"grid",style:mt({height:`${F.value}px`})},[g("div",ip,[w(Z.$slots,"header")]),Z.$slots.overlay?w(Z.$slots,"overlay",{key:0}):(u(!0),m(ce,{key:1},De(Z.items,(d,P)=>(u(),m("div",{key:P,class:he(["dp__overlay_row",{dp__flex_row:Z.items.length>=3}]),role:"row"},[(u(!0),m(ce,null,De(d,(Q,j)=>(u(),m("div",{key:Q.value,ref_for:!0,ref:$=>b($,Q,P,j),role:"gridcell",class:he(W.value),"aria-selected":Q.active||void 0,"aria-disabled":Q.disabled||void 0,tabindex:"0",onClick:$=>E(Q),onKeydown:[Te(Ee($=>E(Q),["prevent"]),["enter"]),Te(Ee($=>E(Q),["prevent"]),["space"])],onMouseover:$=>ne(Q.value)},[g("div",{class:he(Q.className)},[Z.$slots.item?w(Z.$slots,"item",{key:0,item:Q}):x("",!0),Z.$slots.item?x("",!0):(u(),m(ce,{key:1},[Ie(re(Q.text),1)],64))],2)],42,up))),128))],2))),128))],6),Z.$slots["button-icon"]?ma((u(),m("button",{key:0,ref_key:"toggleButton",ref:ee,type:"button","aria-label":(R=s(c))==null?void 0:R.toggleOverlay,class:he(ae.value),tabindex:"0",onClick:G,onKeydown:[Te(G,["enter"]),Te(ue,["tab"])]},[w(Z.$slots,"button-icon")],42,dp)),[[Ra,!s(v)(Z.hideNavigation,Z.type)]]):x("",!0)],46,sp)}}}),Ka=q({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const a=e,t=T(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),n=T(()=>({dp__instance_calendar:a.multiCalendars>0}));return(o,r)=>(u(),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})},[(u(!0),m(ce,null,De(t.value,(l,i)=>(u(),m("div",{key:l,class:he(n.value)},[w(o.$slots,"default",{instance:l,index:i})],2))),128))],2))}}),cp=["aria-label","aria-disabled"],$a=q({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const t=a,n=V(null);return Qe(()=>t("set-ref",n)),(o,r)=>(u(),m("button",{ref_key:"elRef",ref:n,type:"button",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]=Te(Ee(l=>o.$emit("activate"),["prevent"]),["enter"])),r[2]||(r[2]=Te(Ee(l=>o.$emit("activate"),["prevent"]),["space"]))]},[g("span",{class:he(["dp__inner_nav",{dp__inner_nav_disabled:o.disabled}])},[w(o.$slots,"default")],2)],40,cp))}}),mp={class:"dp--year-mode-picker"},vp=["aria-label"],$r=q({__name:"YearModePicker",props:{...$t,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}=Qa(),{defaultedConfig:l,defaultedMultiCalendars:i,defaultedAriaLabels:c,defaultedTransitions:h}=qe(n),{showTransition:y,transitionName:v}=Aa(h),p=(S=!1,I)=>{t("toggle-year-picker",{flow:S,show:I})},_=S=>{t("year-select",S)},k=(S=!1)=>{t("handle-year",S)};return(S,I)=>{var ee,F,C;return u(),m("div",mp,[s(r)(s(i),e.instance)?(u(),le($a,{key:0,ref:"mpPrevIconRef","aria-label":(ee=s(c))==null?void 0:ee.prevYear,disabled:e.isDisabled(!1),onActivate:I[0]||(I[0]=Y=>k(!1))},{default:D(()=>[S.$slots["arrow-left"]?w(S.$slots,"arrow-left",{key:0}):x("",!0),S.$slots["arrow-left"]?x("",!0):(u(),le(s(Wn),{key:1}))]),_:3},8,["aria-label","disabled"])):x("",!0),g("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":(F=s(c))==null?void 0:F.openYearsOverlay,onClick:I[1]||(I[1]=()=>p(!1)),onKeydown:I[2]||(I[2]=Te(()=>p(!1),["enter"]))},[S.$slots.year?w(S.$slots,"year",{key:0,year:e.year}):x("",!0),S.$slots.year?x("",!0):(u(),m(ce,{key:1},[Ie(re(e.year),1)],64))],40,vp),s(o)(s(i),e.instance)?(u(),le($a,{key:1,ref:"mpNextIconRef","aria-label":(C=s(c))==null?void 0:C.nextYear,disabled:e.isDisabled(!0),onActivate:I[3]||(I[3]=Y=>k(!0))},{default:D(()=>[S.$slots["arrow-right"]?w(S.$slots,"arrow-right",{key:0}):x("",!0),S.$slots["arrow-right"]?x("",!0):(u(),le(s(qn),{key:1}))]),_:3},8,["aria-label","disabled"])):x("",!0),X(Bt,{name:s(v)(e.showYearPicker),css:s(y)},{default:D(()=>[e.showYearPicker?(u(),le(Va,{key:0,items:e.items,"text-input":S.textInput,"esc-close":S.escClose,config:S.config,"is-last":S.autoApply&&!s(l).keepActionRow,"hide-navigation":S.hideNavigation,"aria-labels":S.ariaLabels,type:"year",onToggle:p,onSelected:I[4]||(I[4]=Y=>_(Y))},lt({"button-icon":D(()=>[S.$slots["calendar-icon"]?w(S.$slots,"calendar-icon",{key:0}):x("",!0),S.$slots["calendar-icon"]?x("",!0):(u(),le(s(_a),{key:1}))]),_:2},[S.$slots["year-overlay-value"]?{name:"item",fn:D(({item:Y})=>[w(S.$slots,"year-overlay-value",{text:Y.text,value:Y.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels"])):x("",!0)]),_:3},8,["name","css"])])}}}),Zn=(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]},eo=(e,a,t)=>{let n=e.value?e.value.slice():[];return n.length===2&&n[1]!==null&&(n=[]),n.length?je(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},Xa=(e,a,t,n)=>{e&&(e[0]&&e[1]&&t&&a("auto-apply"),e[0]&&!e[1]&&n&&t&&a("auto-apply"))},Dr=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>Yt(K(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=Yt(K(e.value),e.timezone))},Pr=(e,a,t,n)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&n.value.partialRange)?n.value.fixedStart&&(Xe(e,a.value[0])||Ve(e,a.value[0]))?[a.value[0],e]:n.value.fixedEnd&&(je(e,a.value[1])||Ve(e,a.value[1]))?[e,a.value[1]]:(t("invalid-fixed-range",e),a.value):[],Mr=({multiCalendars:e,highlight:a,propDates:t,calendars:n,modelValue:o,props:r,filters:l,year:i,month:c,emit:h})=>{const y=T(()=>Un(r.yearRange,r.locale,r.reverseYears)),v=V([!1]),p=T(()=>(z,O)=>{const W=Fe(kt(new Date),{month:c.value(z),year:i.value(z)});return gr(W,t.value.maxDate,t.value.minDate,r.preventMinMaxNavigation,O)}),_=()=>{for(let z=0;z{if(!z)return _();const O=Fe(K(),n.value[z]);return n.value[0].year=Me(ir(O,e.value.count-1)),_()},S=z=>r.focusStartDate?z[0]:z[1]?z[1]:z[0],I=()=>{if(o.value){const z=Array.isArray(o.value)?S(o.value):o.value;n.value[0]={month:Se(z),year:Me(z)}}};Qe(()=>{I(),e.value.count&&_()});const ee=(z,O)=>{n.value[O].year=z,e.value.count&&!e.value.solo&&k(O)},F=T(()=>z=>ha(y.value,O=>{var W;const ae=i.value(z)===O.value,ie=Ta(O.value,ya(t.value.minDate),ya(t.value.maxDate))||((W=l.value.years)==null?void 0:W.includes(i.value(z))),pe=Jn(a.value,O.value);return{active:ae,disabled:ie,highlighted:pe}})),C=(z,O)=>{ee(z,O),J(O)},Y=(z,O=!1)=>{if(!p.value(z,O)){const W=O?i.value(z)+1:i.value(z)-1;ee(W,z)}},J=(z,O=!1,W)=>{O||h("reset-flow"),W!==void 0?v.value[z]=W:v.value[z]=!v.value[z],v.value||h("overlay-closed")};return{isDisabled:p,groupedYears:F,showYearPicker:v,selectYear:ee,toggleYearPicker:J,handleYearSelect:C,handleYear:Y}},pp=(e,a)=>{const{defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,defaultedRange:l,defaultedHighlight:i,propDates:c,defaultedTz:h,defaultedFilters:y,defaultedMultiDates:v}=qe(e),{modelValue:p,year:_,month:k,calendars:S}=Ca(e,a),I=T(()=>dr(e.formatLocale,e.locale,e.monthNameFormat)),ee=V(null),{checkMinMaxRange:F}=Jt(e),{selectYear:C,groupedYears:Y,showYearPicker:J,toggleYearPicker:z,handleYearSelect:O,handleYear:W,isDisabled:ae}=Mr({modelValue:p,multiCalendars:t,highlight:i,calendars:S,year:_,propDates:c,month:k,filters:y,props:e,emit:a});Qe(()=>{e.startDate&&(p.value&&e.focusStartDate||!p.value)&&C(Me(K(e.startDate)),0)});const ie=d=>d?{month:Se(d),year:Me(d)}:{month:null,year:null},pe=()=>p.value?Array.isArray(p.value)?p.value.map(d=>ie(d)):ie(p.value):ie(),E=(d,P)=>{const Q=S.value[d],j=pe();return Array.isArray(j)?j.some($=>$.year===(Q==null?void 0:Q.year)&&$.month===P):(Q==null?void 0:Q.year)===j.year&&P===j.month},G=(d,P,Q)=>{var j,$;const fe=pe();return Array.isArray(fe)?_.value(P)===((j=fe[Q])==null?void 0:j.year)&&d===(($=fe[Q])==null?void 0:$.month):!1},se=(d,P)=>{if(l.value.enabled){const Q=pe();if(Array.isArray(p.value)&&Array.isArray(Q)){const j=G(d,P,0)||G(d,P,1),$=Lt(kt(K()),d,_.value(P));return Ga(p.value,ee.value,$)&&!j}return!1}return!1},b=T(()=>d=>ha(I.value,P=>{var Q;const j=E(d,P.value),$=Ta(P.value,pr(_.value(d),c.value.minDate),fr(_.value(d),c.value.maxDate))||Tv(c.value.disabledDates,_.value(d)).includes(P.value)||((Q=y.value.months)==null?void 0:Q.includes(P.value)),fe=se(P.value,d),M=br(i.value,P.value,_.value(d));return{active:j,disabled:$,isBetween:fe,highlighted:M}})),f=(d,P)=>Lt(kt(K()),d,_.value(P)),B=(d,P)=>{const Q=p.value?p.value:kt(new Date);p.value=Lt(Q,d,_.value(P)),a("auto-apply"),a("update-flow-step")},ne=(d,P)=>{const Q=f(d,P);l.value.fixedEnd||l.value.fixedStart?p.value=Pr(Q,p,a,l):p.value?F(Q,p.value)&&(p.value=eo(p,f(d,P),a)):p.value=[f(d,P)],gt().then(()=>{Xa(p.value,a,e.autoApply,e.modelAuto)})},ue=(d,P)=>{Zn(f(d,P),p,v.value.limit),a("auto-apply",!0)},Z=(d,P)=>(S.value[P].month=d,R(P,S.value[P].year,d),v.value.enabled?ue(d,P):l.value.enabled?ne(d,P):B(d,P)),A=(d,P)=>{C(d,P),R(P,d,null)},R=(d,P,Q)=>{let j=Q;if(!j&&j!==0){const $=pe();j=Array.isArray($)?$[d].month:$.month}a("update-month-year",{instance:d,year:P,month:j})};return{groupedMonths:b,groupedYears:Y,year:_,isDisabled:ae,defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,showYearPicker:J,modelValue:p,presetDate:(d,P)=>{Dr({value:d,modelValue:p,range:l.value.enabled,timezone:P?void 0:h.value.timezone}),a("auto-apply")},setHoverDate:(d,P)=>{ee.value=f(d,P)},selectMonth:Z,selectYear:A,toggleYearPicker:z,handleYearSelect:O,handleYear:W,getModelMonthYear:pe}},fp=q({compatConfig:{MODE:3},__name:"MonthPicker",props:{...$t},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"],setup(e,{expose:a,emit:t}){const n=t,o=Kt(),r=vt(o,"yearMode"),l=e;Qe(()=>{l.shadow||n("mount",null)});const{groupedMonths:i,groupedYears:c,year:h,isDisabled:y,defaultedMultiCalendars:v,defaultedConfig:p,showYearPicker:_,modelValue:k,presetDate:S,setHoverDate:I,selectMonth:ee,selectYear:F,toggleYearPicker:C,handleYearSelect:Y,handleYear:J,getModelMonthYear:z}=pp(l,n);return a({getSidebarProps:()=>({modelValue:k,year:h,getModelMonthYear:z,selectMonth:ee,selectYear:F,handleYear:J}),presetDate:S,toggleYearPicker:O=>C(0,O)}),(O,W)=>(u(),le(Ka,{"multi-calendars":s(v).count,collapse:O.collapse,stretch:""},{default:D(({instance:ae})=>[O.$slots["top-extra"]?w(O.$slots,"top-extra",{key:0,value:O.internalModelValue}):x("",!0),O.$slots["month-year"]?w(O.$slots,"month-year",tt(Re({key:1},{year:s(h),months:s(i)(ae),years:s(c)(ae),selectMonth:s(ee),selectYear:s(F),instance:ae}))):(u(),le(Va,{key:2,items:s(i)(ae),"arrow-navigation":O.arrowNavigation,"is-last":O.autoApply&&!s(p).keepActionRow,"esc-close":O.escClose,height:s(p).modeHeight,config:O.config,"no-overlay-focus":!!(O.noOverlayFocus||O.textInput),"use-relative":"",type:"month",onSelected:ie=>s(ee)(ie,ae),onHoverValue:ie=>s(I)(ie,ae)},{header:D(()=>[X($r,Re(O.$props,{items:s(c)(ae),instance:ae,"show-year-picker":s(_)[ae],year:s(h)(ae),"is-disabled":ie=>s(y)(ae,ie),onHandleYear:ie=>s(J)(ae,ie),onYearSelect:ie=>s(Y)(ie,ae),onToggleYearPicker:ie=>s(C)(ae,ie==null?void 0:ie.flow,ie==null?void 0:ie.show)}),lt({_:2},[De(s(r),(ie,pe)=>({name:ie,fn:D(E=>[w(O.$slots,ie,tt(it(E)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),hp=(e,a)=>{const{modelValue:t}=Ca(e,a),n=V(null),{defaultedHighlight:o,defaultedMultiDates:r,defaultedFilters:l,defaultedRange:i,propDates:c}=qe(e),h=V();Qe(()=>{e.startDate&&(t.value&&e.focusStartDate||!t.value)&&(h.value=Me(K(e.startDate)))});const y=k=>Array.isArray(t.value)?t.value.some(S=>Me(S)===k):t.value?Me(t.value)===k:!1,v=k=>i.value.enabled&&Array.isArray(t.value)?Ga(t.value,n.value,_(k)):!1,p=T(()=>ha(Un(e.yearRange,e.locale,e.reverseYears),k=>{const S=y(k.value),I=Ta(k.value,ya(c.value.minDate),ya(c.value.maxDate))||l.value.years.includes(k.value),ee=v(k.value)&&!S,F=Jn(o.value,k.value);return{active:S,disabled:I,isBetween:ee,highlighted:F}})),_=k=>At(kt(new Date),k);return{groupedYears:p,modelValue:t,focusYear:h,setHoverValue:k=>{n.value=At(kt(new Date),k)},selectYear:k=>{var S;if(a("update-month-year",{instance:0,year:k}),r.value.enabled)return t.value?Array.isArray(t.value)&&(((S=t.value)==null?void 0:S.map(I=>Me(I))).includes(k)?t.value=t.value.filter(I=>Me(I)!==k):t.value.push(At(ft(K()),k))):t.value=[At(ft(K()),k)],a("auto-apply",!0);i.value.enabled?(t.value=eo(t,_(k),a),gt().then(()=>{Xa(t.value,a,e.autoApply,e.modelAuto)})):(t.value=_(k),a("auto-apply"))}}},yp=q({compatConfig:{MODE:3},__name:"YearPicker",props:{...$t},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:i,selectYear:c,setHoverValue:h}=hp(o,n),{defaultedConfig:y}=qe(o);return a({getSidebarProps:()=>({modelValue:l,selectYear:c})}),(v,p)=>(u(),m("div",null,[v.$slots["top-extra"]?w(v.$slots,"top-extra",{key:0,value:v.internalModelValue}):x("",!0),v.$slots["month-year"]?w(v.$slots,"month-year",tt(Re({key:1},{years:s(r),selectYear:s(c)}))):(u(),le(Va,{key:2,items:s(r),"is-last":v.autoApply&&!s(y).keepActionRow,height:s(y).modeHeight,config:v.config,"no-overlay-focus":!!(v.noOverlayFocus||v.textInput),"focus-value":s(i),type:"year","use-relative":"",onSelected:s(c),onHoverValue:s(h)},lt({_:2},[v.$slots["year-overlay-value"]?{name:"item",fn:D(({item:_})=>[w(v.$slots,"year-overlay-value",{text:_.text,value:_.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),gp={key:0,class:"dp__time_input"},_p=["aria-label","onKeydown","onClick"],bp=g("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),kp=g("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),wp=["aria-label","disabled","onKeydown","onClick"],$p=["aria-label","onKeydown","onClick"],Dp=g("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Pp=g("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Mp={key:0},Tp=["aria-label","onKeydown"],Sp=q({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},...$t},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,{setTimePickerElements:r,setTimePickerBackRef:l}=Xt(),{defaultedAriaLabels:i,defaultedTransitions:c,defaultedFilters:h,defaultedConfig:y,defaultedRange:v}=qe(o),{transitionName:p,showTransition:_}=Aa(c),k=Sa({hours:!1,minutes:!1,seconds:!1}),S=V("AM"),I=V(null),ee=V([]);Qe(()=>{n("mounted")});const F=M=>Fe(new Date,{hours:M.hours,minutes:M.minutes,seconds:o.enableSeconds?M.seconds:0,milliseconds:0}),C=T(()=>M=>b(M,o[M])||J(M,o[M])),Y=T(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),J=(M,H)=>v.value.enabled&&!v.value.disableTimeRangeValidation?!o.validateTime(M,H):!1,z=(M,H)=>{if(v.value.enabled&&!v.value.disableTimeRangeValidation){const be=H?+o[`${M}Increment`]:-+o[`${M}Increment`],de=o[M]+be;return!o.validateTime(M,de)}return!1},O=T(()=>M=>!ue(+o[M]+ +o[`${M}Increment`],M)||z(M,!0)),W=T(()=>M=>!ue(+o[M]-+o[`${M}Increment`],M)||z(M,!1)),ae=(M,H)=>Fo(Fe(K(),M),H),ie=(M,H)=>cv(Fe(K(),M),H),pe=T(()=>({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})),E=T(()=>{const M=[{type:"hours"},{type:"",separator:!0},{type:"minutes"}];return o.enableSeconds?M.concat([{type:"",separator:!0},{type:"seconds"}]):M}),G=T(()=>E.value.filter(M=>!M.separator)),se=T(()=>M=>{if(M==="hours"){const H=P(+o.hours);return{text:H<10?`0${H}`:`${H}`,value:H}}return{text:o[M]<10?`0${o[M]}`:`${o[M]}`,value:o[M]}}),b=(M,H)=>{var be;if(!o.disabledTimesConfig)return!1;const de=o.disabledTimesConfig(o.order,M==="hours"?H:void 0);return de[M]?!!((be=de[M])!=null&&be.includes(H)):!0},f=M=>{const H=o.is24?24:12,be=M==="hours"?H:60,de=+o[`${M}GridIncrement`],L=M==="hours"&&!o.is24?de:0,U=[];for(let we=L;we({active:!1,disabled:h.value.times[M].includes(we.value)||!ue(we.value,M)||b(M,we.value)||J(M,we.value)}))},B=M=>M>=0?M:59,ne=M=>M>=0?M:23,ue=(M,H)=>{const be=o.minTime?F(ln(o.minTime)):null,de=o.maxTime?F(ln(o.maxTime)):null,L=F(ln(Y.value,H,H==="minutes"||H==="seconds"?B(M):ne(M)));return be&&de?(Ma(L,de)||aa(L,de))&&(Pa(L,be)||aa(L,be)):be?Pa(L,be)||aa(L,be):de?Ma(L,de)||aa(L,de):!0},Z=M=>o[`no${M[0].toUpperCase()+M.slice(1)}Overlay`],A=M=>{Z(M)||(k[M]=!k[M],k[M]||n("overlay-closed"))},R=M=>M==="hours"?wt:M==="minutes"?Ot:fa,d=(M,H=!0)=>{const be=H?ae:ie,de=H?+o[`${M}Increment`]:-+o[`${M}Increment`];ue(+o[M]+de,M)&&n(`update:${M}`,R(M)(be({[M]:+o[M]},{[M]:+o[`${M}Increment`]})))},P=M=>o.is24?M:(M>=12?S.value="PM":S.value="AM",pv(M)),Q=()=>{S.value==="PM"?(S.value="AM",n("update:hours",o.hours-12)):(S.value="PM",n("update:hours",o.hours+12)),n("am-pm-change",S.value)},j=M=>{k[M]=!0},$=(M,H,be)=>{if(M&&o.arrowNavigation){Array.isArray(ee.value[H])?ee.value[H][be]=M:ee.value[H]=[M];const de=ee.value.reduce((L,U)=>U.map((we,ye)=>[...L[ye]||[],U[ye]]),[]);l(o.closeTimePickerBtn),I.value&&(de[1]=de[1].concat(I.value)),r(de,o.order)}},fe=(M,H)=>(A(M),M==="hours"&&!o.is24?n(`update:${M}`,S.value==="PM"?H+12:H):n(`update:${M}`,H));return a({openChildCmp:j}),(M,H)=>{var be;return M.disabled?x("",!0):(u(),m("div",gp,[(u(!0),m(ce,null,De(E.value,(de,L)=>{var U,we,ye;return u(),m("div",{key:L,class:he(pe.value)},[de.separator?(u(),m(ce,{key:0},[Ie(" : ")],64)):(u(),m(ce,{key:1},[g("button",{ref_for:!0,ref:Ne=>$(Ne,L,0),type:"button",class:he({dp__btn:!0,dp__inc_dec_button:!M.timePickerInline,dp__inc_dec_button_inline:M.timePickerInline,dp__tp_inline_btn_top:M.timePickerInline,dp__inc_dec_button_disabled:O.value(de.type)}),"aria-label":(U=s(i))==null?void 0:U.incrementValue(de.type),tabindex:"0",onKeydown:[Te(Ee(Ne=>d(de.type),["prevent"]),["enter"]),Te(Ee(Ne=>d(de.type),["prevent"]),["space"])],onClick:Ne=>d(de.type)},[o.timePickerInline?(u(),m(ce,{key:1},[bp,kp],64)):(u(),m(ce,{key:0},[M.$slots["arrow-up"]?w(M.$slots,"arrow-up",{key:0}):x("",!0),M.$slots["arrow-up"]?x("",!0):(u(),le(s(Gn),{key:1}))],64))],42,_p),g("button",{ref_for:!0,ref:Ne=>$(Ne,L,1),type:"button","aria-label":(we=s(i))==null?void 0:we.openTpOverlay(de.type),class:he({dp__time_display:!0,dp__time_display_block:!M.timePickerInline,dp__time_display_inline:M.timePickerInline,"dp--time-invalid":C.value(de.type),"dp--time-overlay-btn":!C.value(de.type)}),disabled:Z(de.type),tabindex:"0",onKeydown:[Te(Ee(Ne=>A(de.type),["prevent"]),["enter"]),Te(Ee(Ne=>A(de.type),["prevent"]),["space"])],onClick:Ne=>A(de.type)},[M.$slots[de.type]?w(M.$slots,de.type,{key:0,text:se.value(de.type).text,value:se.value(de.type).value}):x("",!0),M.$slots[de.type]?x("",!0):(u(),m(ce,{key:1},[Ie(re(se.value(de.type).text),1)],64))],42,wp),g("button",{ref_for:!0,ref:Ne=>$(Ne,L,2),type:"button",class:he({dp__btn:!0,dp__inc_dec_button:!M.timePickerInline,dp__inc_dec_button_inline:M.timePickerInline,dp__tp_inline_btn_bottom:M.timePickerInline,dp__inc_dec_button_disabled:W.value(de.type)}),"aria-label":(ye=s(i))==null?void 0:ye.decrementValue(de.type),tabindex:"0",onKeydown:[Te(Ee(Ne=>d(de.type,!1),["prevent"]),["enter"]),Te(Ee(Ne=>d(de.type,!1),["prevent"]),["space"])],onClick:Ne=>d(de.type,!1)},[o.timePickerInline?(u(),m(ce,{key:1},[Dp,Pp],64)):(u(),m(ce,{key:0},[M.$slots["arrow-down"]?w(M.$slots,"arrow-down",{key:0}):x("",!0),M.$slots["arrow-down"]?x("",!0):(u(),le(s(Qn),{key:1}))],64))],42,$p)],64))],2)}),128)),M.is24?x("",!0):(u(),m("div",Mp,[M.$slots["am-pm-button"]?w(M.$slots,"am-pm-button",{key:0,toggle:Q,value:S.value}):x("",!0),M.$slots["am-pm-button"]?x("",!0):(u(),m("button",{key:1,ref_key:"amPmButton",ref:I,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(be=s(i))==null?void 0:be.amPmButton,tabindex:"0",onClick:Q,onKeydown:[Te(Ee(Q,["prevent"]),["enter"]),Te(Ee(Q,["prevent"]),["space"])]},re(S.value),41,Tp))])),(u(!0),m(ce,null,De(G.value,(de,L)=>(u(),le(Bt,{key:L,name:s(p)(k[de.type]),css:s(_)},{default:D(()=>[k[de.type]?(u(),le(Va,{key:0,items:f(de.type),"is-last":M.autoApply&&!s(y).keepActionRow,"esc-close":M.escClose,type:de.type,"text-input":M.textInput,config:M.config,"arrow-navigation":M.arrowNavigation,"aria-labels":M.ariaLabels,onSelected:U=>fe(de.type,U),onToggle:U=>A(de.type),onResetFlow:H[0]||(H[0]=U=>M.$emit("reset-flow"))},lt({"button-icon":D(()=>[M.$slots["clock-icon"]?w(M.$slots,"clock-icon",{key:0}):x("",!0),M.$slots["clock-icon"]?x("",!0):(u(),le(Ct(M.timePickerInline?s(_a):s(jn)),{key:1}))]),_:2},[M.$slots[`${de.type}-overlay-value`]?{name:"item",fn:D(({item:U})=>[w(M.$slots,`${de.type}-overlay-value`,{text:U.text,value:U.value})]),key:"0"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","onSelected","onToggle"])):x("",!0)]),_:2},1032,["name","css"]))),128))]))}}}),xp={class:"dp--tp-wrap"},Ap=["aria-label","tabindex"],Cp=["tabindex"],Vp=["aria-label"],Tr=q({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},...$t},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}=Xt(),i=Kt(),{defaultedTransitions:c,defaultedAriaLabels:h,defaultedTextInput:y,defaultedConfig:v,defaultedRange:p}=qe(o),{transitionName:_,showTransition:k}=Aa(c),{hideNavigationButtons:S}=Qa(),I=V(null),ee=V(null),F=V([]),C=V(null);Qe(()=>{n("mount"),!o.timePicker&&o.arrowNavigation?r([ot(I.value)],"time"):l(!0,o.timePicker)});const Y=T(()=>p.value.enabled&&o.modelAuto?cr(o.internalModelValue):!0),J=V(!1),z=f=>({hours:Array.isArray(o.hours)?o.hours[f]:o.hours,minutes:Array.isArray(o.minutes)?o.minutes[f]:o.minutes,seconds:Array.isArray(o.seconds)?o.seconds[f]:o.seconds}),O=T(()=>{const f=[];if(p.value.enabled)for(let B=0;B<2;B++)f.push(z(B));else f.push(z(0));return f}),W=(f,B=!1,ne="")=>{B||n("reset-flow"),J.value=f,n(f?"overlay-opened":"overlay-closed"),o.arrowNavigation&&l(f),gt(()=>{ne!==""&&F.value[0]&&F.value[0].openChildCmp(ne)})},ae=T(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!v.value.keepActionRow})),ie=vt(i,"timePicker"),pe=(f,B,ne)=>p.value.enabled?B===0?[f,O.value[1][ne]]:[O.value[0][ne],f]:f,E=f=>{n("update:hours",f)},G=f=>{n("update:minutes",f)},se=f=>{n("update:seconds",f)},b=()=>{if(C.value&&!y.value.enabled&&!o.noOverlayFocus){const f=mr(C.value);f&&f.focus({preventScroll:!0})}};return a({toggleTimePicker:W}),(f,B)=>{var ne;return u(),m("div",xp,[!f.timePicker&&!f.timePickerInline?ma((u(),m("button",{key:0,ref_key:"openTimePickerBtn",ref:I,type:"button",class:he(ae.value),"aria-label":(ne=s(h))==null?void 0:ne.openTimePicker,tabindex:f.noOverlayFocus?void 0:0,onKeydown:[B[0]||(B[0]=Te(ue=>W(!0),["enter"])),B[1]||(B[1]=Te(ue=>W(!0),["space"]))],onClick:B[2]||(B[2]=ue=>W(!0))},[f.$slots["clock-icon"]?w(f.$slots,"clock-icon",{key:0}):x("",!0),f.$slots["clock-icon"]?x("",!0):(u(),le(s(jn),{key:1}))],42,Ap)),[[Ra,!s(S)(f.hideNavigation,"time")]]):x("",!0),X(Bt,{name:s(_)(J.value),css:s(k)&&!f.timePickerInline},{default:D(()=>{var ue;return[J.value||f.timePicker||f.timePickerInline?(u(),m("div",{key:0,ref_key:"overlayRef",ref:C,class:he({dp__overlay:!f.timePickerInline,"dp--overlay-absolute":!o.timePicker&&!f.timePickerInline,"dp--overlay-relative":o.timePicker}),style:mt(f.timePicker?{height:`${s(v).modeHeight}px`}:void 0),tabindex:f.timePickerInline?void 0:0},[g("div",{class:he(f.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[f.$slots["time-picker-overlay"]?w(f.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:E,setMinutes:G,setSeconds:se}):x("",!0),f.$slots["time-picker-overlay"]?x("",!0):(u(),m("div",{key:1,class:he(f.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(u(!0),m(ce,null,De(O.value,(Z,A)=>ma((u(),le(Sp,Re({key:A},{...f.$props,order:A,hours:Z.hours,minutes:Z.minutes,seconds:Z.seconds,closeTimePickerBtn:ee.value,disabledTimesConfig:e.disabledTimesConfig,disabled:A===0?f.fixedStart:f.fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:F,"validate-time":(R,d)=>e.validateTime(R,pe(d,A,R)),"onUpdate:hours":R=>E(pe(R,A,"hours")),"onUpdate:minutes":R=>G(pe(R,A,"minutes")),"onUpdate:seconds":R=>se(pe(R,A,"seconds")),onMounted:b,onOverlayClosed:b,onAmPmChange:B[3]||(B[3]=R=>f.$emit("am-pm-change",R))}),lt({_:2},[De(s(ie),(R,d)=>({name:R,fn:D(P=>[w(f.$slots,R,tt(it(P)))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[Ra,A===0?!0:Y.value]])),128))],2)),!f.timePicker&&!f.timePickerInline?ma((u(),m("button",{key:2,ref_key:"closeTimePickerBtn",ref:ee,type:"button",class:he(ae.value),"aria-label":(ue=s(h))==null?void 0:ue.closeTimePicker,tabindex:"0",onKeydown:[B[4]||(B[4]=Te(Z=>W(!1),["enter"])),B[5]||(B[5]=Te(Z=>W(!1),["space"]))],onClick:B[6]||(B[6]=Z=>W(!1))},[f.$slots["calendar-icon"]?w(f.$slots,"calendar-icon",{key:0}):x("",!0),f.$slots["calendar-icon"]?x("",!0):(u(),le(s(_a),{key:1}))],42,Vp)),[[Ra,!s(S)(f.hideNavigation,"time")]]):x("",!0)],2)],14,Cp)):x("",!0)]}),_:3},8,["name","css"])])}}}),Sr=(e,a,t,n)=>{const{defaultedRange:o}=qe(e),r=(C,Y)=>Array.isArray(a[C])?a[C][Y]:a[C],l=C=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[C]:a.seconds:0,i=(C,Y)=>C?Y!==void 0?Qt(C,r("hours",Y),r("minutes",Y),l(Y)):Qt(C,a.hours,a.minutes,l()):zn(K(),l(Y)),c=(C,Y)=>{a[C]=Y},h=T(()=>e.modelAuto&&o.value.enabled?Array.isArray(t.value)?t.value.length>1:!1:o.value.enabled),y=(C,Y)=>{const J=Object.fromEntries(Object.keys(a).map(z=>z===C?[z,Y]:[z,a[z]].slice()));if(h.value&&!o.value.disableTimeRangeValidation){const z=W=>t.value?Qt(t.value[W],J.hours[W],J.minutes[W],J.seconds[W]):null,O=W=>Fn(t.value[W],0);return!(Ve(z(0),z(1))&&(Pa(z(0),O(1))||Ma(z(1),O(0))))}return!0},v=(C,Y)=>{y(C,Y)&&(c(C,Y),n&&n())},p=C=>{v("hours",C)},_=C=>{v("minutes",C)},k=C=>{v("seconds",C)},S=(C,Y,J,z)=>{Y&&p(C),!Y&&!J&&_(C),J&&k(C),t.value&&z(t.value)},I=C=>{if(C){const Y=Array.isArray(C),J=Y?[+C[0].hours,+C[1].hours]:+C.hours,z=Y?[+C[0].minutes,+C[1].minutes]:+C.minutes,O=Y?[+C[0].seconds,+C[1].seconds]:+C.seconds;c("hours",J),c("minutes",z),e.enableSeconds&&c("seconds",O)}},ee=(C,Y)=>{const J={hours:Array.isArray(a.hours)?a.hours[C]:a.hours,disabledArr:[]};return(Y||Y===0)&&(J.hours=Y),Array.isArray(e.disabledTimes)&&(J.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[C])?e.disabledTimes[C]:e.disabledTimes),J},F=T(()=>(C,Y)=>{var J;if(Array.isArray(e.disabledTimes)){const{disabledArr:z,hours:O}=ee(C,Y),W=z.filter(ae=>+ae.hours===O);return((J=W[0])==null?void 0:J.minutes)==="*"?{hours:[O],minutes:void 0,seconds:void 0}:{hours:[],minutes:(W==null?void 0:W.map(ae=>+ae.minutes))??[],seconds:(W==null?void 0:W.map(ae=>ae.seconds?+ae.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:p,updateMinutes:_,updateSeconds:k,getSetDateTime:i,updateTimeValues:S,getSecondsValue:l,assignStartTime:I,validateTime:y,disabledTimesConfig:F}},Op=(e,a)=>{const{modelValue:t,time:n}=Ca(e,a),{defaultedStartTime:o,defaultedRange:r}=qe(e),{updateTimeValues:l,getSetDateTime:i,setTime:c,assignStartTime:h,disabledTimesConfig:y,validateTime:v}=Sr(e,n,t),p=C=>{const{hours:Y,minutes:J,seconds:z}=C;return{hours:+Y,minutes:+J,seconds:z?+z:0}},_=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const Y=p(e.startTime[0]),J=p(e.startTime[1]);return[Fe(K(),Y),Fe(K(),J)]}const C=p(e.startTime);return Fe(K(),C)}return r.value.enabled?[null,null]:null},k=()=>{if(r.value.enabled){const[C,Y]=_();t.value=[i(C,0),i(Y,1)]}else t.value=i(_())},S=C=>Array.isArray(C)?[na(K(C[0])),na(K(C[1]))]:[na(C??K())],I=(C,Y,J)=>{c("hours",C),c("minutes",Y),c("seconds",e.enableSeconds?J:0)},ee=()=>{const[C,Y]=S(t.value);return r.value.enabled?I([C.hours,Y.hours],[C.minutes,Y.minutes],[C.seconds,Y.seconds]):I(C.hours,C.minutes,C.seconds)};Qe(()=>{if(!e.shadow)return h(o.value),t.value?ee():k()});const F=()=>{Array.isArray(t.value)?t.value=t.value.map((C,Y)=>C&&i(C,Y)):t.value=i(t.value),a("time-update")};return{modelValue:t,time:n,disabledTimesConfig:y,updateTime:(C,Y=!0,J=!1)=>{l(C,Y,J,F)},validateTime:v}},Np=q({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...$t},emits:["update:internal-model-value","time-update","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Kt(),l=vt(r,"timePicker"),{time:i,modelValue:c,disabledTimesConfig:h,updateTime:y,validateTime:v}=Op(o,n);return a({getSidebarProps:()=>({modelValue:c,time:i,updateTime:y})}),(p,_)=>(u(),le(Ka,{"multi-calendars":0,stretch:""},{default:D(()=>[X(Tr,Re(p.$props,{hours:s(i).hours,minutes:s(i).minutes,seconds:s(i).seconds,"internal-model-value":p.internalModelValue,"disabled-times-config":s(h),"validate-time":s(v),"onUpdate:hours":_[0]||(_[0]=k=>s(y)(k)),"onUpdate:minutes":_[1]||(_[1]=k=>s(y)(k,!1)),"onUpdate:seconds":_[2]||(_[2]=k=>s(y)(k,!1,!0)),onAmPmChange:_[3]||(_[3]=k=>p.$emit("am-pm-change",k))}),lt({_:2},[De(s(l),(k,S)=>({name:k,fn:D(I=>[w(p.$slots,k,tt(it(I)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),Ip={class:"dp--header-wrap"},Rp={key:0,class:"dp__month_year_wrap"},Lp={key:0},Yp={class:"dp__month_year_wrap"},Ep=["aria-label","onClick","onKeydown"],Bp=q({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:()=>[]},...$t},emits:["update-month-year","mount","reset-flow","overlay-closed"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTransitions:r,defaultedAriaLabels:l,defaultedMultiCalendars:i,defaultedFilters:c,defaultedConfig:h,defaultedHighlight:y,propDates:v}=qe(o),{transitionName:p,showTransition:_}=Aa(r),{buildMatrix:k}=Xt(),{handleMonthYearChange:S,isDisabled:I,updateMonthYear:ee}=Qv(o,n),{showLeftIcon:F,showRightIcon:C}=Qa(),Y=V(!1),J=V(!1),z=V([null,null,null,null]);Qe(()=>{n("mount")});const O=A=>({get:()=>o[A],set:R=>{const d=A===bt.month?bt.year:bt.month;n("update-month-year",{[A]:R,[d]:o[d]}),A===bt.month?b(!0):f(!0)}}),W=T(O(bt.month)),ae=T(O(bt.year)),ie=T(()=>A=>({month:o.month,year:o.year,items:A===bt.month?o.months:o.years,instance:o.instance,updateMonthYear:ee,toggle:A===bt.month?b:f})),pe=T(()=>o.months.find(R=>R.value===o.month)||{text:"",value:0}),E=T(()=>ha(o.months,A=>{const R=o.month===A.value,d=Ta(A.value,pr(o.year,v.value.minDate),fr(o.year,v.value.maxDate))||c.value.months.includes(A.value),P=br(y.value,A.value,o.year);return{active:R,disabled:d,highlighted:P}})),G=T(()=>ha(o.years,A=>{const R=o.year===A.value,d=Ta(A.value,ya(v.value.minDate),ya(v.value.maxDate))||c.value.years.includes(A.value),P=Jn(y.value,A.value);return{active:R,disabled:d,highlighted:P}})),se=(A,R)=>{R!==void 0?A.value=R:A.value=!A.value,A.value||n("overlay-closed")},b=(A=!1,R)=>{B(A),se(Y,R)},f=(A=!1,R)=>{B(A),se(J,R)},B=A=>{A||n("reset-flow")},ne=(A,R)=>{o.arrowNavigation&&(z.value[R]=ot(A),k(z.value,"monthYear"))},ue=T(()=>{var A,R;return[{type:bt.month,index:1,toggle:b,modelValue:W.value,updateModelValue:d=>W.value=d,text:pe.value.text,showSelectionGrid:Y.value,items:E.value,ariaLabel:(A=l.value)==null?void 0:A.openMonthsOverlay},{type:bt.year,index:2,toggle:f,modelValue:ae.value,updateModelValue:d=>ae.value=d,text:vr(o.year,o.locale),showSelectionGrid:J.value,items:G.value,ariaLabel:(R=l.value)==null?void 0:R.openYearsOverlay}]}),Z=T(()=>o.disableYearSelect?[ue.value[0]]:o.yearFirst?[...ue.value].reverse():ue.value);return a({toggleMonthPicker:b,toggleYearPicker:f,handleMonthYearChange:S}),(A,R)=>{var d,P,Q;return u(),m("div",Ip,[A.$slots["month-year"]?(u(),m("div",Rp,[w(A.$slots,"month-year",tt(it({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:s(ee),handleMonthYearChange:s(S),instance:e.instance})))])):(u(),m(ce,{key:1},[A.$slots["top-extra"]?(u(),m("div",Lp,[w(A.$slots,"top-extra",{value:A.internalModelValue})])):x("",!0),g("div",Yp,[s(F)(s(i),e.instance)&&!A.vertical?(u(),le($a,{key:0,"aria-label":(d=s(l))==null?void 0:d.prevMonth,disabled:s(I)(!1),onActivate:R[0]||(R[0]=j=>s(S)(!1,!0)),onSetRef:R[1]||(R[1]=j=>ne(j,0))},{default:D(()=>[A.$slots["arrow-left"]?w(A.$slots,"arrow-left",{key:0}):x("",!0),A.$slots["arrow-left"]?x("",!0):(u(),le(s(Wn),{key:1}))]),_:3},8,["aria-label","disabled"])):x("",!0),g("div",{class:he(["dp__month_year_wrap",{dp__year_disable_select:A.disableYearSelect}])},[(u(!0),m(ce,null,De(Z.value,(j,$)=>(u(),m(ce,{key:j.type},[g("button",{ref_for:!0,ref:fe=>ne(fe,$+1),type:"button",class:"dp__btn dp__month_year_select",tabindex:"0","aria-label":j.ariaLabel,onClick:j.toggle,onKeydown:[Te(Ee(j.toggle,["prevent"]),["enter"]),Te(Ee(j.toggle,["prevent"]),["space"])]},[A.$slots[j.type]?w(A.$slots,j.type,{key:0,text:j.text,value:o[j.type]}):x("",!0),A.$slots[j.type]?x("",!0):(u(),m(ce,{key:1},[Ie(re(j.text),1)],64))],40,Ep),X(Bt,{name:s(p)(j.showSelectionGrid),css:s(_)},{default:D(()=>[j.showSelectionGrid?(u(),le(Va,{key:0,items:j.items,"arrow-navigation":A.arrowNavigation,"hide-navigation":A.hideNavigation,"is-last":A.autoApply&&!s(h).keepActionRow,"skip-button-ref":!1,config:A.config,type:j.type,"header-refs":[],"esc-close":A.escClose,"menu-wrap-ref":A.menuWrapRef,"text-input":A.textInput,"aria-labels":A.ariaLabels,onSelected:j.updateModelValue,onToggle:j.toggle},lt({"button-icon":D(()=>[A.$slots["calendar-icon"]?w(A.$slots,"calendar-icon",{key:0}):x("",!0),A.$slots["calendar-icon"]?x("",!0):(u(),le(s(_a),{key:1}))]),_:2},[A.$slots[`${j.type}-overlay-value`]?{name:"item",fn:D(({item:fe})=>[w(A.$slots,`${j.type}-overlay-value`,{text:fe.text,value:fe.value})]),key:"0"}:void 0,A.$slots[`${j.type}-overlay`]?{name:"overlay",fn:D(()=>[w(A.$slots,`${j.type}-overlay`,tt(it(ie.value(j.type))))]),key:"1"}:void 0,A.$slots[`${j.type}-overlay-header`]?{name:"header",fn:D(()=>[w(A.$slots,`${j.type}-overlay-header`,{toggle:j.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","onSelected","onToggle"])):x("",!0)]),_:2},1032,["name","css"])],64))),128))],2),s(F)(s(i),e.instance)&&A.vertical?(u(),le($a,{key:1,"aria-label":(P=s(l))==null?void 0:P.prevMonth,disabled:s(I)(!1),onActivate:R[2]||(R[2]=j=>s(S)(!1,!0))},{default:D(()=>[A.$slots["arrow-up"]?w(A.$slots,"arrow-up",{key:0}):x("",!0),A.$slots["arrow-up"]?x("",!0):(u(),le(s(Gn),{key:1}))]),_:3},8,["aria-label","disabled"])):x("",!0),s(C)(s(i),e.instance)?(u(),le($a,{key:2,ref:"rightIcon",disabled:s(I)(!0),"aria-label":(Q=s(l))==null?void 0:Q.nextMonth,onActivate:R[3]||(R[3]=j=>s(S)(!0,!0)),onSetRef:R[4]||(R[4]=j=>ne(j,A.disableYearSelect?2:3))},{default:D(()=>[A.$slots[A.vertical?"arrow-down":"arrow-right"]?w(A.$slots,A.vertical?"arrow-down":"arrow-right",{key:0}):x("",!0),A.$slots[A.vertical?"arrow-down":"arrow-right"]?x("",!0):(u(),le(Ct(A.vertical?s(Qn):s(qn)),{key:1}))]),_:3},8,["disabled","aria-label"])):x("",!0)])],64))])}}}),Hp=["aria-label"],Fp={class:"dp__calendar_header",role:"row"},zp={key:0,class:"dp__calendar_header_item",role:"gridcell"},Wp=["aria-label"],qp=g("div",{class:"dp__calendar_header_separator"},null,-1),jp=["aria-label"],Gp={key:0,role:"gridcell",class:"dp__calendar_item dp__week_num"},Qp={class:"dp__cell_inner"},Up=["id","aria-selected","aria-disabled","aria-label","onClick","onKeydown","onMouseenter","onMouseleave","onMousedown"],Kp=q({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},...$t},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}=Xt(),{defaultedTransitions:l,defaultedConfig:i,defaultedAriaLabels:c,defaultedMultiCalendars:h,defaultedWeekNumbers:y,defaultedMultiDates:v}=qe(o),p=V(null),_=V({bottom:"",left:"",transform:""}),k=V([]),S=V(null),I=V(!0),ee=V(""),F=V({startX:0,endX:0,startY:0,endY:0}),C=V([]),Y=V({left:"50%"}),J=V(!1),z=T(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),O=T(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):vv(o.formatLocale,o.locale,+o.weekStart));Qe(()=>{n("mount",{cmp:"calendar",refs:k}),i.value.noSwipe||S.value&&(S.value.addEventListener("touchstart",ue,{passive:!1}),S.value.addEventListener("touchend",Z,{passive:!1}),S.value.addEventListener("touchmove",A,{passive:!1})),o.monthChangeOnScroll&&S.value&&S.value.addEventListener("wheel",P,{passive:!1})});const W=H=>H?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",ae=(H,be)=>{if(o.transitions){const de=ft(Lt(K(),o.month,o.year));ee.value=Xe(ft(Lt(K(),H,be)),de)?l.value[W(!0)]:l.value[W(!1)],I.value=!1,gt(()=>{I.value=!0})}},ie=T(()=>({[o.calendarClassName]:!!o.calendarClassName})),pe=T(()=>H=>{const be=fv(H);return{dp__marker_dot:be.type==="dot",dp__marker_line:be.type==="line"}}),E=T(()=>H=>Ve(H,p.value)),G=T(()=>({dp__calendar:!0,dp__calendar_next:h.value.count>0&&o.instance!==0})),se=T(()=>H=>o.hideOffsetDates?H.current:!0),b=H=>yt(H,"yyyy-MM-dd"),f=async(H,be,de)=>{const L=ot(k.value[be][de]);if(L){const{width:U,height:we}=L.getBoundingClientRect();p.value=H.value;let ye={left:`${U/2}px`},Ne=-50;if(await gt(),C.value[0]){const{left:ve,width:ct}=C.value[0].getBoundingClientRect();ve<0&&(ye={left:"0"},Ne=0,Y.value.left=`${U/2}px`),window.innerWidth{var L,U;if(J.value&&v.value.enabled&&v.value.dragSelect)return n("select-date",H);n("set-hover-date",H),(U=(L=H.marker)==null?void 0:L.tooltip)!=null&&U.length&&await f(H,be,de)},ne=H=>{p.value&&(p.value=null,_.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),n("tooltip-close",H.marker))},ue=H=>{F.value.startX=H.changedTouches[0].screenX,F.value.startY=H.changedTouches[0].screenY},Z=H=>{F.value.endX=H.changedTouches[0].screenX,F.value.endY=H.changedTouches[0].screenY,R()},A=H=>{o.vertical&&!o.inline&&H.preventDefault()},R=()=>{const H=o.vertical?"Y":"X";Math.abs(F.value[`start${H}`]-F.value[`end${H}`])>10&&n("handle-swipe",F.value[`start${H}`]>F.value[`end${H}`]?"right":"left")},d=(H,be,de)=>{H&&(Array.isArray(k.value[be])?k.value[be][de]=H:k.value[be]=[H]),o.arrowNavigation&&r(k.value,"calendar")},P=H=>{o.monthChangeOnScroll&&(H.preventDefault(),n("handle-scroll",H))},Q=H=>y.value.type==="local"?Yn(H.value,{weekStartsOn:+o.weekStart}):y.value.type==="iso"?Rn(H.value):typeof y.value.type=="function"?y.value.type(H.value):"",j=H=>{const be=H[0];return y.value.hideOnOffsetDates?H.some(de=>de.current)?Q(be):"":Q(be)},$=(H,be)=>{v.value.enabled||(Gt(H,i.value),n("select-date",be))},fe=H=>{Gt(H,i.value)},M=H=>{v.value.enabled&&v.value.dragSelect?(J.value=!0,n("select-date",H)):v.value.enabled&&n("select-date",H)};return a({triggerTransition:ae}),(H,be)=>{var de;return u(),m("div",{class:he(G.value)},[g("div",{ref_key:"calendarWrapRef",ref:S,role:"grid",class:he(ie.value),"aria-label":(de=s(c))==null?void 0:de.calendarWrap},[g("div",Fp,[H.weekNumbers?(u(),m("div",zp,re(H.weekNumName),1)):x("",!0),(u(!0),m(ce,null,De(O.value,(L,U)=>{var we,ye;return u(),m("div",{key:U,class:"dp__calendar_header_item",role:"gridcell","aria-label":(ye=(we=s(c))==null?void 0:we.weekDay)==null?void 0:ye.call(we,U)},[H.$slots["calendar-header"]?w(H.$slots,"calendar-header",{key:0,day:L,index:U}):x("",!0),H.$slots["calendar-header"]?x("",!0):(u(),m(ce,{key:1},[Ie(re(L),1)],64))],8,Wp)}),128))]),qp,X(Bt,{name:ee.value,css:!!H.transitions},{default:D(()=>{var L;return[I.value?(u(),m("div",{key:0,class:"dp__calendar",role:"rowgroup","aria-label":((L=s(c))==null?void 0:L.calendarDays)||void 0,onMouseleave:be[1]||(be[1]=U=>J.value=!1)},[(u(!0),m(ce,null,De(z.value,(U,we)=>(u(),m("div",{key:we,class:"dp__calendar_row",role:"row"},[H.weekNumbers?(u(),m("div",Gp,[g("div",Qp,re(j(U.days)),1)])):x("",!0),(u(!0),m(ce,null,De(U.days,(ye,Ne)=>{var ve,ct,ut;return u(),m("div",{id:b(ye.value),ref_for:!0,ref:Ue=>d(Ue,we,Ne),key:Ne+we,role:"gridcell",class:"dp__calendar_item","aria-selected":(ye.classData.dp__active_date||ye.classData.dp__range_start||ye.classData.dp__range_start)??void 0,"aria-disabled":ye.classData.dp__cell_disabled||void 0,"aria-label":(ct=(ve=s(c))==null?void 0:ve.day)==null?void 0:ct.call(ve,ye),tabindex:"0",onClick:Ee(Ue=>$(Ue,ye),["prevent"]),onKeydown:[Te(Ue=>H.$emit("select-date",ye),["enter"]),Te(Ue=>H.$emit("handle-space",ye),["space"])],onMouseenter:Ue=>B(ye,we,Ne),onMouseleave:Ue=>ne(ye),onMousedown:Ue=>M(ye),onMouseup:be[0]||(be[0]=Ue=>J.value=!1)},[g("div",{class:he(["dp__cell_inner",ye.classData])},[H.$slots.day&&se.value(ye)?w(H.$slots,"day",{key:0,day:+ye.text,date:ye.value}):x("",!0),H.$slots.day?x("",!0):(u(),m(ce,{key:1},[Ie(re(ye.text),1)],64)),ye.marker&&se.value(ye)?(u(),m(ce,{key:2},[H.$slots.marker?w(H.$slots,"marker",{key:0,marker:ye.marker,day:+ye.text,date:ye.value}):(u(),m("div",{key:1,class:he(pe.value(ye.marker)),style:mt(ye.marker.color?{backgroundColor:ye.marker.color}:{})},null,6))],64)):x("",!0),E.value(ye.value)?(u(),m("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:C,class:"dp__marker_tooltip",style:mt(_.value)},[(ut=ye.marker)!=null&&ut.tooltip?(u(),m("div",{key:0,class:"dp__tooltip_content",onClick:fe},[(u(!0),m(ce,null,De(ye.marker.tooltip,(Ue,Zt)=>(u(),m("div",{key:Zt,class:"dp__tooltip_text"},[H.$slots["marker-tooltip"]?w(H.$slots,"marker-tooltip",{key:0,tooltip:Ue,day:ye.value}):x("",!0),H.$slots["marker-tooltip"]?x("",!0):(u(),m(ce,{key:1},[g("div",{class:"dp__tooltip_mark",style:mt(Ue.color?{backgroundColor:Ue.color}:{})},null,4),g("div",null,re(Ue.text),1)],64))]))),128)),g("div",{class:"dp__arrow_bottom_tp",style:mt(Y.value)},null,4)])):x("",!0)],4)):x("",!0)],2)],40,Up)}),128))]))),128))],40,jp)):x("",!0)]}),_:3},8,["name","css"])],10,Hp)],2)}}}),wo=e=>Array.isArray(e),Xp=(e,a,t,n)=>{const o=V([]),r=V(new Date),{modelValue:l,calendars:i,time:c}=Ca(e,a),{defaultedMultiCalendars:h,defaultedStartTime:y,defaultedRange:v,defaultedTz:p,propDates:_,defaultedMultiDates:k}=qe(e),{validateMonthYearInRange:S,isDisabled:I,isDateRangeAllowed:ee,checkMinMaxRange:F}=Jt(e),{updateTimeValues:C,getSetDateTime:Y,setTime:J,assignStartTime:z,validateTime:O,disabledTimesConfig:W}=Sr(e,c,l,n),ae=T(()=>N=>i.value[N]?i.value[N].month:0),ie=T(()=>N=>i.value[N]?i.value[N].year:0),pe=(N,te,ke)=>{var xe,He;i.value[N]||(i.value[N]={month:0,year:0}),i.value[N].month=yo(te)?(xe=i.value[N])==null?void 0:xe.month:te,i.value[N].year=yo(ke)?(He=i.value[N])==null?void 0:He.year:ke},E=()=>{e.autoApply&&a("select-date")};dt(l,(N,te)=>{JSON.stringify(N)!==JSON.stringify(te)&&b()},{deep:!0}),Qe(()=>{e.shadow||(l.value||(j(),y.value&&z(y.value)),b(!0),e.focusStartDate&&e.startDate&&j())});const G=T(()=>{var N;return(N=e.flow)!=null&&N.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),se=()=>{e.autoApply&&G.value&&a("auto-apply")},b=(N=!1)=>{if(l.value)return Array.isArray(l.value)?(o.value=l.value,R(N)):ne(l.value,N);if(h.value.count&&N&&!e.startDate)return B(K(),N)},f=()=>Array.isArray(l.value)&&v.value.enabled?Se(l.value[0])===Se(l.value[1]??l.value[0]):!1,B=(N,te=!1)=>{if((!h.value.count||!h.value.static||te)&&pe(0,Se(N),Me(N)),h.value.count&&(!h.value.solo||!l.value||f()))for(let ke=1;ke{B(N),J("hours",wt(N)),J("minutes",Ot(N)),J("seconds",fa(N)),h.value.count&&te&&Q()},ue=N=>{if(h.value.count){if(h.value.solo)return 0;const te=Se(N[0]),ke=Se(N[1]);return Math.abs(ke-te){N[1]&&v.value.showLastInRange?B(N[ue(N)],te):B(N[0],te);const ke=(xe,He)=>[xe(N[0]),N[1]?xe(N[1]):c[He][1]];J("hours",ke(wt,"hours")),J("minutes",ke(Ot,"minutes")),J("seconds",ke(fa,"seconds"))},A=(N,te)=>{if((v.value.enabled||e.weekPicker)&&!k.value.enabled)return Z(N,te);if(k.value.enabled&&te){const ke=N[N.length-1];return ne(ke,te)}},R=N=>{const te=l.value;A(te,N),h.value.count&&h.value.solo&&Q()},d=(N,te)=>{const ke=Fe(K(),{month:ae.value(te),year:ie.value(te)}),xe=N<0?pt(ke,1):Et(ke,1);S(Se(xe),Me(xe),N<0,e.preventMinMaxNavigation)&&(pe(te,Se(xe),Me(xe)),a("update-month-year",{instance:te,month:Se(xe),year:Me(xe)}),h.value.count&&!h.value.solo&&P(te),t())},P=N=>{for(let te=N-1;te>=0;te--){const ke=Et(Fe(K(),{month:ae.value(te+1),year:ie.value(te+1)}),1);pe(te,Se(ke),Me(ke))}for(let te=N+1;te<=h.value.count-1;te++){const ke=pt(Fe(K(),{month:ae.value(te-1),year:ie.value(te-1)}),1);pe(te,Se(ke),Me(ke))}},Q=()=>{if(Array.isArray(l.value)&&l.value.length===2){const N=K(K(l.value[1]?l.value[1]:pt(l.value[0],1))),[te,ke]=[Se(l.value[0]),Me(l.value[0])],[xe,He]=[Se(l.value[1]),Me(l.value[1])];(te!==xe||te===xe&&ke!==He)&&h.value.solo&&pe(1,Se(N),Me(N))}else l.value&&!Array.isArray(l.value)&&(pe(0,Se(l.value),Me(l.value)),B(K()))},j=()=>{e.startDate&&(pe(0,Se(K(e.startDate)),Me(K(e.startDate))),h.value.count&&P(0))},$=(N,te)=>{if(e.monthChangeOnScroll){const ke=new Date().getTime()-r.value.getTime(),xe=Math.abs(N.deltaY);let He=500;xe>1&&(He=100),xe>100&&(He=0),ke>He&&(r.value=new Date,d(e.monthChangeOnScroll!=="inverse"?-N.deltaY:N.deltaY,te))}},fe=(N,te,ke=!1)=>{e.monthChangeOnArrows&&e.vertical===ke&&M(N,te)},M=(N,te)=>{d(N==="right"?-1:1,te)},H=N=>{if(_.value.markers)return Ha(N.value,_.value.markers)},be=(N,te)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[N==0,!0];case"fair":return[N==0||te>N,!0];case"append":return[!1,!1];default:return[!1,!1]}},de=(N,te,ke,xe)=>{if(e.sixWeeks&&N.length<6){const He=6-N.length,oe=(te.getDay()+7-xe)%7,$e=6-(ke.getDay()+7-xe)%7,[Pe,Ft]=be(oe,$e);for(let _t=1;_t<=He;_t++)if(Ft?!!(_t%2)==Pe:Pe){const Dt=N[0].days[0],nn=L(Je(Dt.value,-7),Se(te));N.unshift({days:nn})}else{const Dt=N[N.length-1],nn=Dt.days[Dt.days.length-1],Ar=L(Je(nn.value,1),Se(te));N.push({days:Ar})}}return N},L=(N,te)=>{const ke=K(N),xe=[];for(let He=0;He<7;He++){const oe=Je(ke,He),$e=Se(oe)!==te;xe.push({text:e.hideOffsetDates&&$e?"":oe.getDate(),value:oe,current:!$e,classData:{}})}return xe},U=(N,te)=>{const ke=[],xe=new Date(te,N),He=new Date(te,N+1,0),oe=e.weekStart,$e=Nt(xe,{weekStartsOn:oe}),Pe=Ft=>{const _t=L(Ft,N);if(ke.push({days:_t}),!ke[ke.length-1].days.some(Dt=>Ve(ft(Dt.value),ft(He)))){const Dt=Je(Ft,7);Pe(Dt)}};return Pe($e),de(ke,xe,He,oe)},we=N=>{const te=Qt(K(N.value),c.hours,c.minutes,Zt());a("date-update",te),k.value.enabled?Zn(te,l,k.value.limit):l.value=te,n(),gt().then(()=>{se()})},ye=N=>v.value.noDisabledRange?hr(o.value[0],N).some(te=>I(te)):!1,Ne=()=>{o.value=l.value?l.value.slice():[],o.value.length===2&&!(v.value.fixedStart||v.value.fixedEnd)&&(o.value=[])},ve=(N,te)=>{const ke=[K(N.value),Je(K(N.value),+v.value.autoRange)];ee(ke)?(te&&ct(N.value),o.value=ke):a("invalid-date",N.value)},ct=N=>{const te=Se(K(N)),ke=Me(K(N));if(pe(0,te,ke),h.value.count>0)for(let xe=1;xe{if(ye(N.value)||!F(N.value,l.value,v.value.fixedStart?0:1))return a("invalid-date",N.value);o.value=Pr(K(N.value),l,a,v)},Ue=(N,te)=>{if(Ne(),v.value.autoRange)return ve(N,te);if(v.value.fixedStart||v.value.fixedEnd)return ut(N);o.value[0]?F(K(N.value),l.value)&&!ye(N.value)?je(K(N.value),K(o.value[0]))?(o.value.unshift(K(N.value)),a("range-end",o.value[0])):(o.value[1]=K(N.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",N.value),a("invalid-date",N.value)):(o.value[0]=K(N.value),a("range-start",o.value[0]))},Zt=(N=!0)=>e.enableSeconds?Array.isArray(c.seconds)?N?c.seconds[0]:c.seconds[1]:c.seconds:0,ia=N=>{o.value[N]=Qt(o.value[N],c.hours[N],c.minutes[N],Zt(N!==1))},Ja=()=>{var N,te;o.value[0]&&o.value[1]&&+((N=o.value)==null?void 0:N[0])>+((te=o.value)==null?void 0:te[1])&&(o.value.reverse(),a("range-start",o.value[0]),a("range-end",o.value[1]))},ba=()=>{o.value.length&&(o.value[0]&&!o.value[1]?ia(0):(ia(0),ia(1),n()),Ja(),l.value=o.value.slice(),Xa(o.value,a,e.autoApply,e.modelAuto))},ht=(N,te=!1)=>{if(I(N.value)||!N.current&&e.hideOffsetDates)return a("invalid-date",N.value);if(!v.value.enabled)return we(N);wo(c.hours)&&wo(c.minutes)&&!k.value.enabled&&(Ue(N,te),ba())},Za=(N,te)=>{var ke;pe(N,te.month,te.year),h.value.count&&!h.value.solo&&P(N),a("update-month-year",{instance:N,month:te.month,year:te.year}),t(h.value.solo?N:void 0);const xe=(ke=e.flow)!=null&&ke.length?e.flow[e.flowStep]:void 0;!te.fromNav&&(xe===Pt.month||xe===Pt.year)&&n()},en=(N,te)=>{Dr({value:N,modelValue:l,range:v.value.enabled,timezone:te?void 0:p.value.timezone}),E(),e.multiCalendars&>().then(()=>b(!0))},Oa=()=>{v.value.enabled?l.value&&Array.isArray(l.value)&&l.value[0]?l.value=je(K(),l.value[0])?[K(),l.value[0]]:[l.value[0],K()]:l.value=[K()]:l.value=K(),E()},tn=()=>{if(Array.isArray(l.value))if(k.value.enabled){const N=an();l.value[l.value.length-1]=Y(N)}else l.value=l.value.map((N,te)=>N&&Y(N,te));else l.value=Y(l.value);a("time-update")},an=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:i,modelValue:l,month:ae,year:ie,time:c,disabledTimesConfig:W,validateTime:O,getCalendarDays:U,getMarker:H,handleScroll:$,handleSwipe:M,handleArrow:fe,selectDate:ht,updateMonthYear:Za,presetDate:en,selectCurrentDate:Oa,updateTime:(N,te=!0,ke=!1)=>{C(N,te,ke,tn)}}},Jp={key:0},Zp=q({__name:"DatePicker",props:{...$t},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"],setup(e,{expose:a,emit:t}){const n=t,o=e,{calendars:r,month:l,year:i,modelValue:c,time:h,disabledTimesConfig:y,validateTime:v,getCalendarDays:p,getMarker:_,handleArrow:k,handleScroll:S,handleSwipe:I,selectDate:ee,updateMonthYear:F,presetDate:C,selectCurrentDate:Y,updateTime:J}=Xp(o,n,ue,Z),z=Kt(),{setHoverDate:O,getDayClassData:W,clearHoverDate:ae}=Jv(c,o),{defaultedMultiCalendars:ie}=qe(o),pe=V([]),E=V([]),G=V(null),se=vt(z,"calendar"),b=vt(z,"monthYear"),f=vt(z,"timePicker"),B=R=>{o.shadow||n("mount",R)};dt(r,()=>{o.shadow||setTimeout(()=>{n("recalculate-position")},0)},{deep:!0});const ne=T(()=>R=>p(l.value(R),i.value(R)).map(d=>({...d,days:d.days.map(P=>(P.marker=_(P),P.classData=W(P),P))})));function ue(R){var d;R||R===0?(d=E.value[R])==null||d.triggerTransition(l.value(R),i.value(R)):E.value.forEach((P,Q)=>P.triggerTransition(l.value(Q),i.value(Q)))}function Z(){n("update-flow-step")}const A=(R,d=!1)=>{ee(R,d),o.spaceConfirm&&n("select-date")};return a({clearHoverDate:ae,presetDate:C,selectCurrentDate:Y,toggleMonthPicker:(R,d,P=0)=>{var Q;(Q=pe.value[P])==null||Q.toggleMonthPicker(R,d)},toggleYearPicker:(R,d,P=0)=>{var Q;(Q=pe.value[P])==null||Q.toggleYearPicker(R,d)},toggleTimePicker:(R,d,P)=>{var Q;(Q=G.value)==null||Q.toggleTimePicker(R,d,P)},handleArrow:k,updateMonthYear:F,getSidebarProps:()=>({modelValue:c,month:l,year:i,time:h,updateTime:J,updateMonthYear:F,selectDate:ee,presetDate:C})}),(R,d)=>(u(),m(ce,null,[X(Ka,{"multi-calendars":s(ie).count,collapse:R.collapse},{default:D(({instance:P,index:Q})=>[R.disableMonthYearSelect?x("",!0):(u(),le(Bp,Re({key:0,ref:j=>{j&&(pe.value[Q]=j)},months:s(dr)(R.formatLocale,R.locale,R.monthNameFormat),years:s(Un)(R.yearRange,R.locale,R.reverseYears),month:s(l)(P),year:s(i)(P),instance:P},R.$props,{onMount:d[0]||(d[0]=j=>B(s(oa).header)),onResetFlow:d[1]||(d[1]=j=>R.$emit("reset-flow")),onUpdateMonthYear:j=>s(F)(P,j),onOverlayClosed:d[2]||(d[2]=j=>R.$emit("focus-menu"))}),lt({_:2},[De(s(b),(j,$)=>({name:j,fn:D(fe=>[w(R.$slots,j,tt(it(fe)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),X(Kp,Re({ref:j=>{j&&(E.value[Q]=j)},"mapped-dates":ne.value(P),month:s(l)(P),year:s(i)(P),instance:P},R.$props,{onSelectDate:j=>s(ee)(j,P!==1),onHandleSpace:j=>A(j,P!==1),onSetHoverDate:d[3]||(d[3]=j=>s(O)(j)),onHandleScroll:j=>s(S)(j,P),onHandleSwipe:j=>s(I)(j,P),onMount:d[4]||(d[4]=j=>B(s(oa).calendar)),onResetFlow:d[5]||(d[5]=j=>R.$emit("reset-flow")),onTooltipOpen:d[6]||(d[6]=j=>R.$emit("tooltip-open",j)),onTooltipClose:d[7]||(d[7]=j=>R.$emit("tooltip-close",j))}),lt({_:2},[De(s(se),(j,$)=>({name:j,fn:D(fe=>[w(R.$slots,j,tt(it({...fe})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),R.enableTimePicker?(u(),m("div",Jp,[R.$slots["time-picker"]?w(R.$slots,"time-picker",tt(Re({key:0},{time:s(h),updateTime:s(J)}))):(u(),le(Tr,Re({key:1,ref_key:"timePickerRef",ref:G},R.$props,{hours:s(h).hours,minutes:s(h).minutes,seconds:s(h).seconds,"internal-model-value":R.internalModelValue,"disabled-times-config":s(y),"validate-time":s(v),onMount:d[8]||(d[8]=P=>B(s(oa).timePicker)),"onUpdate:hours":d[9]||(d[9]=P=>s(J)(P)),"onUpdate:minutes":d[10]||(d[10]=P=>s(J)(P,!1)),"onUpdate:seconds":d[11]||(d[11]=P=>s(J)(P,!1,!0)),onResetFlow:d[12]||(d[12]=P=>R.$emit("reset-flow")),onOverlayClosed:d[13]||(d[13]=P=>R.$emit("time-picker-close")),onOverlayOpened:d[14]||(d[14]=P=>R.$emit("time-picker-open",P)),onAmPmChange:d[15]||(d[15]=P=>R.$emit("am-pm-change",P))}),lt({_:2},[De(s(f),(P,Q)=>({name:P,fn:D(j=>[w(R.$slots,P,tt(it(j)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):x("",!0)],64))}}),ef=(e,a)=>{const t=V(),{defaultedMultiCalendars:n,defaultedConfig:o,defaultedHighlight:r,defaultedRange:l,propDates:i,defaultedFilters:c,defaultedMultiDates:h}=qe(e),{modelValue:y,year:v,month:p,calendars:_}=Ca(e,a),{isDisabled:k}=Jt(e),{selectYear:S,groupedYears:I,showYearPicker:ee,isDisabled:F,toggleYearPicker:C,handleYearSelect:Y,handleYear:J}=Mr({modelValue:y,multiCalendars:n,highlight:r,calendars:_,propDates:i,month:p,year:v,filters:c,props:e,emit:a}),z=(b,f)=>[b,f].map(B=>yt(B,"MMMM",{locale:e.formatLocale})).join("-"),O=T(()=>b=>y.value?Array.isArray(y.value)?y.value.some(f=>po(b,f)):po(y.value,b):!1),W=b=>{if(l.value.enabled){if(Array.isArray(y.value)){const f=Ve(b,y.value[0])||Ve(b,y.value[1]);return Ga(y.value,t.value,b)&&!f}return!1}return!1},ae=(b,f)=>b.quarter===ro(f)&&b.year===Me(f),ie=b=>typeof r.value=="function"?r.value({quarter:ro(b),year:Me(b)}):!!r.value.quarters.find(f=>ae(f,b)),pe=T(()=>b=>{const f=Fe(new Date,{year:v.value(b)});return kc({start:In(f),end:Uo(f)}).map(B=>{const ne=qt(B),ue=io(B),Z=k(B),A=W(ne),R=ie(ne);return{text:z(ne,ue),value:ne,active:O.value(ne),highlighted:R,disabled:Z,isBetween:A}})}),E=b=>{Zn(b,y,h.value.limit),a("auto-apply",!0)},G=b=>{y.value=eo(y,b,a),Xa(y.value,a,e.autoApply,e.modelAuto)},se=b=>{y.value=b,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:n,groupedYears:I,year:v,isDisabled:F,quarters:pe,showYearPicker:ee,modelValue:y,setHoverDate:b=>{t.value=b},selectYear:S,selectQuarter:(b,f,B)=>{if(!B)return _.value[f].month=Se(io(b)),h.value.enabled?E(b):l.value.enabled?G(b):se(b)},toggleYearPicker:C,handleYearSelect:Y,handleYear:J}},tf={class:"dp--quarter-items"},af=["disabled","onClick","onMouseover"],nf=q({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...$t},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Kt(),l=vt(r,"yearMode"),{defaultedMultiCalendars:i,defaultedConfig:c,groupedYears:h,year:y,isDisabled:v,quarters:p,modelValue:_,showYearPicker:k,setHoverDate:S,selectQuarter:I,toggleYearPicker:ee,handleYearSelect:F,handleYear:C}=ef(o,n);return a({getSidebarProps:()=>({modelValue:_,year:y,selectQuarter:I,handleYearSelect:F,handleYear:C})}),(Y,J)=>(u(),le(Ka,{"multi-calendars":s(i).count,collapse:Y.collapse,stretch:""},{default:D(({instance:z})=>[g("div",{class:"dp-quarter-picker-wrap",style:mt({minHeight:`${s(c).modeHeight}px`})},[Y.$slots["top-extra"]?w(Y.$slots,"top-extra",{key:0,value:Y.internalModelValue}):x("",!0),g("div",null,[X($r,Re(Y.$props,{items:s(h)(z),instance:z,"show-year-picker":s(k)[z],year:s(y)(z),"is-disabled":O=>s(v)(z,O),onHandleYear:O=>s(C)(z,O),onYearSelect:O=>s(F)(O,z),onToggleYearPicker:O=>s(ee)(z,O==null?void 0:O.flow,O==null?void 0:O.show)}),lt({_:2},[De(s(l),(O,W)=>({name:O,fn:D(ae=>[w(Y.$slots,O,tt(it(ae)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),g("div",tf,[(u(!0),m(ce,null,De(s(p)(z),(O,W)=>(u(),m("div",{key:W},[g("button",{type:"button",class:he(["dp--qr-btn",{"dp--qr-btn-active":O.active,"dp--qr-btn-between":O.isBetween,"dp--qr-btn-disabled":O.disabled,"dp--highlighted":O.highlighted}]),disabled:O.disabled,onClick:ae=>s(I)(O.value,z,O.disabled),onMouseover:ae=>s(S)(O.value)},[Y.$slots.quarter?w(Y.$slots,"quarter",{key:0,value:O.value,text:O.text}):(u(),m(ce,{key:1},[Ie(re(O.text),1)],64))],42,af)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),of=["id","aria-label"],rf={key:0,class:"dp--menu-load-container"},lf=g("span",{class:"dp--menu-loader"},null,-1),sf=[lf],uf={key:0,class:"dp__sidebar_left"},df=["onClick","onKeydown"],cf={key:2,class:"dp__sidebar_right"},mf={key:3,class:"dp__action_extra"},$o=q({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Ua,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:()=>({})}},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"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=V(null),l=T(()=>{const{openOnTop:L,...U}=o;return{...U,flowStep:W.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:r.value}}),{setMenuFocused:i,setShiftKey:c,control:h}=kr(),y=Kt(),{defaultedTextInput:v,defaultedInline:p,defaultedConfig:_}=qe(o),k=V(null),S=V(0),I=V(null),ee=V(!1),F=V(null);Qe(()=>{if(!o.shadow){ee.value=!0,C(),window.addEventListener("resize",C);const L=ot(r);if(L&&!v.value.enabled&&!p.value.enabled&&(i(!0),se()),L){const U=we=>{_.value.allowPreventDefault&&we.preventDefault(),Gt(we,_.value,!0)};L.addEventListener("pointerdown",U),L.addEventListener("mousedown",U)}}}),Ut(()=>{window.removeEventListener("resize",C)});const C=()=>{const L=ot(I);L&&(S.value=L.getBoundingClientRect().width)},{arrowRight:Y,arrowLeft:J,arrowDown:z,arrowUp:O}=Xt(),{flowStep:W,updateFlowStep:ae,childMount:ie,resetFlow:pe}=Zv(o,n,F),E=T(()=>o.monthPicker?fp:o.yearPicker?yp:o.timePicker?Np:o.quarterPicker?nf:Zp),G=T(()=>{var L;if(_.value.arrowLeft)return _.value.arrowLeft;const U=(L=r.value)==null?void 0:L.getBoundingClientRect(),we=o.getInputRect();return we.width{const L=ot(r);L&&L.focus({preventScroll:!0})},b=T(()=>{var L;return((L=F.value)==null?void 0:L.getSidebarProps())||{}}),f=()=>{o.openOnTop&&n("recalculate-position")},B=vt(y,"action"),ne=T(()=>o.monthPicker||o.yearPicker?vt(y,"monthYear"):o.timePicker?vt(y,"timePicker"):vt(y,"shared")),ue=T(()=>o.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),Z=T(()=>({dp__menu_disabled:o.disabled,dp__menu_readonly:o.readonly,"dp-menu-loading":o.loading})),A=T(()=>({dp__menu:!0,dp__menu_index:!p.value.enabled,dp__relative:p.value.enabled,[o.menuClassName]:!!o.menuClassName})),R=L=>{Gt(L,_.value,!0)},d=()=>{o.escClose&&n("close-picker")},P=L=>{if(o.arrowNavigation){if(L==="up")return O();if(L==="down")return z();if(L==="left")return J();if(L==="right")return Y()}else L==="left"||L==="up"?M("handleArrow","left",0,L==="up"):M("handleArrow","right",0,L==="down")},Q=L=>{c(L.shiftKey),!o.disableMonthYearSelect&&L.code==="Tab"&&L.target.classList.contains("dp__menu")&&h.value.shiftKeyInMenu&&(L.preventDefault(),Gt(L,_.value,!0),n("close-picker"))},j=()=>{se(),n("time-picker-close")},$=L=>{var U,we,ye;(U=F.value)==null||U.toggleTimePicker(!1,!1),(we=F.value)==null||we.toggleMonthPicker(!1,!1,L),(ye=F.value)==null||ye.toggleYearPicker(!1,!1,L)},fe=(L,U=0)=>{var we,ye,Ne;return L==="month"?(we=F.value)==null?void 0:we.toggleMonthPicker(!1,!0,U):L==="year"?(ye=F.value)==null?void 0:ye.toggleYearPicker(!1,!0,U):L==="time"?(Ne=F.value)==null?void 0:Ne.toggleTimePicker(!0,!1):$(U)},M=(L,...U)=>{var we,ye;(we=F.value)!=null&&we[L]&&((ye=F.value)==null||ye[L](...U))},H=()=>{M("selectCurrentDate")},be=(L,U)=>{M("presetDate",L,U)},de=()=>{M("clearHoverDate")};return a({updateMonthYear:(L,U)=>{M("updateMonthYear",L,U)},switchView:fe}),(L,U)=>{var we,ye,Ne;return u(),m("div",{id:L.uid?`dp-menu-${L.uid}`:void 0,ref_key:"dpMenuRef",ref:r,tabindex:"0",role:"dialog","aria-label":(we=L.ariaLabels)==null?void 0:we.menu,class:he(A.value),style:mt({"--dp-arrow-left":G.value}),onMouseleave:de,onClick:R,onKeydown:[Te(d,["esc"]),U[18]||(U[18]=Te(Ee(ve=>P("left"),["prevent"]),["left"])),U[19]||(U[19]=Te(Ee(ve=>P("up"),["prevent"]),["up"])),U[20]||(U[20]=Te(Ee(ve=>P("down"),["prevent"]),["down"])),U[21]||(U[21]=Te(Ee(ve=>P("right"),["prevent"]),["right"])),Q]},[(L.disabled||L.readonly)&&s(p).enabled||L.loading?(u(),m("div",{key:0,class:he(Z.value)},[L.loading?(u(),m("div",rf,sf)):x("",!0)],2)):x("",!0),!s(p).enabled&&!L.teleportCenter?(u(),m("div",{key:1,class:he(ue.value)},null,2)):x("",!0),g("div",{ref_key:"innerMenuRef",ref:I,class:he({dp__menu_content_wrapper:((ye=L.presetDates)==null?void 0:ye.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((Ne=L.presetDates)==null?void 0:Ne.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"])}),style:mt({"--dp-menu-width":`${S.value}px`})},[L.$slots["left-sidebar"]?(u(),m("div",uf,[w(L.$slots,"left-sidebar",tt(it(b.value)))])):x("",!0),L.presetDates.length?(u(),m("div",{key:1,class:he({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(u(!0),m(ce,null,De(L.presetDates,(ve,ct)=>(u(),m(ce,{key:ct},[ve.slot?w(L.$slots,ve.slot,{key:0,presetDate:be,label:ve.label,value:ve.value}):(u(),m("button",{key:1,type:"button",style:mt(ve.style||{}),class:he(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),onClick:Ee(ut=>be(ve.value,ve.noTz),["prevent"]),onKeydown:[Te(Ee(ut=>be(ve.value,ve.noTz),["prevent"]),["enter"]),Te(Ee(ut=>be(ve.value,ve.noTz),["prevent"]),["space"])]},re(ve.label),47,df))],64))),128))],2)):x("",!0),g("div",{ref_key:"calendarWrapperRef",ref:k,class:"dp__instance_calendar",role:"document"},[(u(),le(Ct(E.value),Re({ref_key:"dynCmpRef",ref:F},l.value,{"flow-step":s(W),onMount:s(ie),onUpdateFlowStep:s(ae),onResetFlow:s(pe),onFocusMenu:se,onSelectDate:U[0]||(U[0]=ve=>L.$emit("select-date")),onDateUpdate:U[1]||(U[1]=ve=>L.$emit("date-update",ve)),onTooltipOpen:U[2]||(U[2]=ve=>L.$emit("tooltip-open",ve)),onTooltipClose:U[3]||(U[3]=ve=>L.$emit("tooltip-close",ve)),onAutoApply:U[4]||(U[4]=ve=>L.$emit("auto-apply",ve)),onRangeStart:U[5]||(U[5]=ve=>L.$emit("range-start",ve)),onRangeEnd:U[6]||(U[6]=ve=>L.$emit("range-end",ve)),onInvalidFixedRange:U[7]||(U[7]=ve=>L.$emit("invalid-fixed-range",ve)),onTimeUpdate:U[8]||(U[8]=ve=>L.$emit("time-update")),onAmPmChange:U[9]||(U[9]=ve=>L.$emit("am-pm-change",ve)),onTimePickerOpen:U[10]||(U[10]=ve=>L.$emit("time-picker-open",ve)),onTimePickerClose:j,onRecalculatePosition:f,onUpdateMonthYear:U[11]||(U[11]=ve=>L.$emit("update-month-year",ve)),onAutoApplyInvalid:U[12]||(U[12]=ve=>L.$emit("auto-apply-invalid",ve)),onInvalidDate:U[13]||(U[13]=ve=>L.$emit("invalid-date",ve)),"onUpdate:internalModelValue":U[14]||(U[14]=ve=>L.$emit("update:internal-model-value",ve))}),lt({_:2},[De(ne.value,(ve,ct)=>({name:ve,fn:D(ut=>[w(L.$slots,ve,tt(it({...ut})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(u(),m("div",cf,[w(L.$slots,"right-sidebar",tt(it(b.value)))])):x("",!0),L.$slots["action-extra"]?(u(),m("div",mf,[L.$slots["action-extra"]?w(L.$slots,"action-extra",{key:0,selectCurrentDate:H}):x("",!0)])):x("",!0)],6),!L.autoApply||s(_).keepActionRow?(u(),le(lp,Re({key:2,"menu-mount":ee.value},l.value,{"calendar-width":S.value,onClosePicker:U[15]||(U[15]=ve=>L.$emit("close-picker")),onSelectDate:U[16]||(U[16]=ve=>L.$emit("select-date")),onInvalidSelect:U[17]||(U[17]=ve=>L.$emit("invalid-select")),onSelectNow:H}),lt({_:2},[De(s(B),(ve,ct)=>({name:ve,fn:D(ut=>[w(L.$slots,ve,tt(it({...ut})))])}))]),1040,["menu-mount","calendar-width"])):x("",!0)],46,of)}}}),vf=typeof window<"u"?window:void 0,hn=()=>{},pf=e=>qr()?(jr(e),!0):!1,ff=(e,a,t,n)=>{if(!e)return hn;let o=hn;const r=dt(()=>s(e),i=>{o(),i&&(i.addEventListener(a,t,n),o=()=>{i.removeEventListener(a,t,n),o=hn})},{immediate:!0,flush:"post"}),l=()=>{r(),o()};return pf(l),l},hf=(e,a,t,n={})=>{const{window:o=vf,event:r="pointerdown"}=n;return o?ff(o,r,l=>{const i=ot(e),c=ot(a);!i||!c||i===l.target||l.composedPath().includes(i)||l.composedPath().includes(c)||t(l)},{passive:!0}):void 0},yf=q({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Ua},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"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Kt(),l=V(!1),i=Da(o,"modelValue"),c=Da(o,"timezone"),h=V(null),y=V(null),v=V(null),p=V(!1),_=V(null),k=V(!1),S=V(!1),I=V(!1),{setMenuFocused:ee,setShiftKey:F}=kr(),{clearArrowNav:C}=Xt(),{validateDate:Y,isValidTime:J}=Jt(o),{defaultedTransitions:z,defaultedTextInput:O,defaultedInline:W,defaultedConfig:ae,defaultedRange:ie,defaultedMultiDates:pe}=qe(o),{menuTransition:E,showTransition:G}=Aa(z);Qe(()=>{P(o.modelValue),gt().then(()=>{if(!W.value.enabled){const oe=Z(_.value);oe==null||oe.addEventListener("scroll",U),window==null||window.addEventListener("resize",we)}}),W.value.enabled&&(l.value=!0),window==null||window.addEventListener("keyup",ye),window==null||window.addEventListener("keydown",Ne)}),Ut(()=>{if(!W.value.enabled){const oe=Z(_.value);oe==null||oe.removeEventListener("scroll",U),window==null||window.removeEventListener("resize",we)}window==null||window.removeEventListener("keyup",ye),window==null||window.removeEventListener("keydown",Ne)});const se=vt(r,"all",o.presetDates),b=vt(r,"input");dt([i,c],()=>{P(i.value)},{deep:!0});const{openOnTop:f,menuStyle:B,xCorrect:ne,setMenuPosition:ue,getScrollableParent:Z,shadowRender:A}=Uv({menuRef:h,menuRefInner:y,inputRef:v,pickerWrapperRef:_,inline:W,emit:n,props:o,slots:r}),{inputValue:R,internalModelValue:d,parseExternalModelValue:P,emitModelValue:Q,formatInputValue:j,checkBeforeEmit:$}=Gv(n,o,p),fe=T(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:W.value.enabled,"dp--flex-display-collapsed":I.value,dp__flex_display_with_input:W.value.input})),M=T(()=>o.dark?"dp__theme_dark":"dp__theme_light"),H=T(()=>o.teleport?{to:typeof o.teleport=="boolean"?"body":o.teleport,disabled:!o.teleport||W.value.enabled}:{}),be=T(()=>({class:"dp__outer_menu_wrap"})),de=T(()=>W.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),L=()=>{var oe,$e;return($e=(oe=v.value)==null?void 0:oe.$el)==null?void 0:$e.getBoundingClientRect()},U=()=>{l.value&&(ae.value.closeOnScroll?ht():ue())},we=()=>{var oe;l.value&&ue();const $e=(oe=y.value)==null?void 0:oe.$el.getBoundingClientRect().width;I.value=document.body.offsetWidth<=$e},ye=oe=>{oe.key==="Tab"&&!W.value.enabled&&!o.teleport&&ae.value.tabOutClosesMenu&&(_.value.contains(document.activeElement)||ht()),S.value=oe.shiftKey},Ne=oe=>{S.value=oe.shiftKey},ve=()=>{!o.disabled&&!o.readonly&&(A($o,o),ue(!1),l.value=!0,l.value&&n("open"),l.value||ba(),P(o.modelValue))},ct=()=>{var oe;R.value="",ba(),(oe=v.value)==null||oe.setParsedDate(null),n("update:model-value",null),n("update:model-timezone-value",null),n("cleared"),ae.value.closeOnClearValue&&ht()},ut=()=>{const oe=d.value;return!oe||!Array.isArray(oe)&&Y(oe)?!0:Array.isArray(oe)?pe.value.enabled||oe.length===2&&Y(oe[0])&&Y(oe[1])?!0:ie.value.partialRange&&!o.timePicker?Y(oe[0]):!1:!1},Ue=()=>{$()&&ut()?(Q(),ht()):n("invalid-select",d.value)},Zt=oe=>{ia(),Q(),ae.value.closeOnAutoApply&&!oe&&ht()},ia=()=>{v.value&&O.value.enabled&&v.value.setParsedDate(d.value)},Ja=(oe=!1)=>{o.autoApply&&J(d.value)&&ut()&&(ie.value.enabled&&Array.isArray(d.value)?(ie.value.partialRange||d.value.length===2)&&Zt(oe):Zt(oe))},ba=()=>{O.value.enabled||(d.value=null)},ht=()=>{W.value.enabled||(l.value&&(l.value=!1,ne.value=!1,ee(!1),F(!1),C(),n("closed"),R.value&&P(i.value)),ba(),n("blur"))},Za=(oe,$e,Pe=!1)=>{if(!oe){d.value=null;return}const Ft=Array.isArray(oe)?!oe.some(Dt=>!Y(Dt)):Y(oe),_t=J(oe);Ft&&_t&&(d.value=oe,$e&&(k.value=Pe,Ue(),n("text-submit")))},en=()=>{o.autoApply&&J(d.value)&&Q(),ia()},Oa=()=>l.value?ht():ve(),tn=oe=>{d.value=oe},an=()=>{O.value.enabled&&(p.value=!0,j()),n("focus")},N=()=>{if(O.value.enabled&&(p.value=!1,P(o.modelValue),k.value)){const oe=gv(_.value,S.value);oe==null||oe.focus()}n("blur")},te=oe=>{y.value&&y.value.updateMonthYear(0,{month:ho(oe.month),year:ho(oe.year)})},ke=oe=>{P(oe??o.modelValue)},xe=(oe,$e)=>{var Pe;(Pe=y.value)==null||Pe.switchView(oe,$e)},He=oe=>ae.value.onClickOutside?ae.value.onClickOutside(oe):ht();return hf(h,v,()=>He(ut)),a({closeMenu:ht,selectDate:Ue,clearValue:ct,openMenu:ve,onScroll:U,formatInputValue:j,updateInternalModelValue:tn,setMonthYear:te,parseModel:ke,switchView:xe,toggleMenu:Oa}),(oe,$e)=>(u(),m("div",{ref_key:"pickerWrapperRef",ref:_,class:he(fe.value),"data-datepicker-instance":""},[X(np,Re({ref_key:"inputRef",ref:v,"input-value":s(R),"onUpdate:inputValue":$e[0]||($e[0]=Pe=>to(R)?R.value=Pe:null),"is-menu-open":l.value},oe.$props,{onClear:ct,onOpen:ve,onSetInputDate:Za,onSetEmptyDate:s(Q),onSelectDate:Ue,onToggle:Oa,onClose:ht,onFocus:an,onBlur:N,onRealBlur:$e[1]||($e[1]=Pe=>p.value=!1)}),lt({_:2},[De(s(b),(Pe,Ft)=>({name:Pe,fn:D(_t=>[w(oe.$slots,Pe,tt(it(_t)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(u(),le(Ct(oe.teleport?Fr:"div"),tt(it(H.value)),{default:D(()=>[X(Bt,{name:s(E)(s(f)),css:s(G)&&!s(W).enabled},{default:D(()=>[l.value?(u(),m("div",Re({key:0,ref_key:"dpWrapMenuRef",ref:h},be.value,{class:{"dp--menu-wrapper":!s(W).enabled},style:s(W).enabled?void 0:s(B)}),[X($o,Re({ref_key:"dpMenuRef",ref:y},oe.$props,{"internal-model-value":s(d),"onUpdate:internalModelValue":$e[2]||($e[2]=Pe=>to(d)?d.value=Pe:null),class:{[M.value]:!0,"dp--menu-wrapper":oe.teleport},"open-on-top":s(f),"no-overlay-focus":de.value,collapse:I.value,"get-input-rect":L,onClosePicker:ht,onSelectDate:Ue,onAutoApply:Ja,onTimeUpdate:en,onFlowStep:$e[3]||($e[3]=Pe=>oe.$emit("flow-step",Pe)),onUpdateMonthYear:$e[4]||($e[4]=Pe=>oe.$emit("update-month-year",Pe)),onInvalidSelect:$e[5]||($e[5]=Pe=>oe.$emit("invalid-select",s(d))),onAutoApplyInvalid:$e[6]||($e[6]=Pe=>oe.$emit("invalid-select",Pe)),onInvalidFixedRange:$e[7]||($e[7]=Pe=>oe.$emit("invalid-fixed-range",Pe)),onRecalculatePosition:s(ue),onTooltipOpen:$e[8]||($e[8]=Pe=>oe.$emit("tooltip-open",Pe)),onTooltipClose:$e[9]||($e[9]=Pe=>oe.$emit("tooltip-close",Pe)),onTimePickerOpen:$e[10]||($e[10]=Pe=>oe.$emit("time-picker-open",Pe)),onTimePickerClose:$e[11]||($e[11]=Pe=>oe.$emit("time-picker-close",Pe)),onAmPmChange:$e[12]||($e[12]=Pe=>oe.$emit("am-pm-change",Pe)),onRangeStart:$e[13]||($e[13]=Pe=>oe.$emit("range-start",Pe)),onRangeEnd:$e[14]||($e[14]=Pe=>oe.$emit("range-end",Pe)),onDateUpdate:$e[15]||($e[15]=Pe=>oe.$emit("date-update",Pe)),onInvalidDate:$e[16]||($e[16]=Pe=>oe.$emit("invalid-date",Pe))}),lt({_:2},[De(s(se),(Pe,Ft)=>({name:Pe,fn:D(_t=>[w(oe.$slots,Pe,tt(it({..._t})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","onRecalculatePosition"])],16)):x("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Ce=(()=>{const e=yf;return e.install=a=>{a.component("Vue3DatePicker",e)},e})(),gf=Object.freeze(Object.defineProperty({__proto__:null,default:Ce},Symbol.toStringTag,{value:"Module"}));Object.entries(gf).forEach(([e,a])=>{e!=="default"&&(Ce[e]=a)});const _f={class:"demo-wrap"},bf={class:"action-row"},kf={class:"current-selection"},wf=["onClick"],$f=q({__name:"ActionRowSlotDemo",setup(e){const a=V(new Date),{isDark:t}=Oe(),n=o=>yt(o,"dd.MM.yyyy, HH:mm");return(o,r)=>(u(),m("div",_f,[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t)},{"action-row":D(({internalModelValue:l,selectDate:i})=>[g("div",bf,[g("p",kf,re(n(l)),1),g("button",{class:"select-button",onClick:i},"Select Date",8,wf)])]),_:1},8,["modelValue","dark"])]))}}),Df={class:"demo-wrap"},Pf=q({__name:"CustomCalendarDemo",props:{},setup(e){const{isDark:a}=Oe(),t=V(),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)=>(u(),m("div",Df,[X(s(Ce),Re({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"])]))}}),Mf={class:"demo-wrap"},Tf=q({__name:"DarkDemo",props:["placeholder"],setup(e){const a=V(new Date);return(t,n)=>(u(),m("div",Mf,[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=o=>a.value=o),placeholder:e.placeholder,dark:""},null,8,["modelValue","placeholder"])]))}}),Sf={class:"demo-wrap"},xf=q({__name:"DemoDayClass",setup(e){const a=V(new Date),{isDark:t}=Oe(),n=o=>aa(o,Je(Fe(new Date,{hours:0,minutes:0,seconds:0,milliseconds:0}),1))?"marked-cell":"";return(o,r)=>(u(),m("div",Sf,[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"day-class":n},null,8,["modelValue","dark"])]))}}),Af={class:"demo-wrap"},Cf=q({__name:"DemoHighlight",props:["disabled"],setup(e){const a=V(new Date),{isDark:t}=Oe(),n=e,o=T(()=>[Je(new Date,1),Je(new Date,2),Je(new Date,3)]),r=T(()=>n.disabled?o.value:[]),l=T(()=>({dates:n.disabled?r.value:o.value,options:{highlightDisabled:!0}}));return(i,c)=>(u(),m("div",Af,[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=h=>a.value=h),dark:s(t),highlight:l.value,"disabled-dates":r.value},null,8,["modelValue","dark","highlight","disabled-dates"])]))}}),Vf={class:"demo-wrap"},Of=g("span",{class:"custom-marker"},null,-1),Nf=q({__name:"DemoMarkers",props:["useMarkerTooltipSlot","useMarkerSlot"],setup(e){const a=V(new Date),{isDark:t}=Oe(),n=T(()=>[{date:Je(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:Je(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:Je(new Date,3),type:"dot",color:"yellow"}]);return(o,r)=>(u(),m("div",Vf,[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),markers:n.value},lt({_:2},[e.useMarkerTooltipSlot?{name:"marker-tooltip",fn:D(({day:l})=>[g("div",null,"Custom content on "+re(l),1)]),key:"0"}:void 0,e.useMarkerSlot?{name:"marker",fn:D(({day:l})=>[Of]),key:"1"}:void 0]),1032,["modelValue","dark","markers"])]))}}),If=g("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1),Rf=["value"],Lf=g("img",{class:"input-slot-image",src:It},null,-1),Yf=["onClick"],Ef=g("img",{class:"slot-icon",src:It},null,-1),Bf=g("img",{class:"slot-icon",src:It},null,-1),Hf=g("img",{class:"slot-icon",src:It},null,-1),Ff=g("img",{class:"slot-icon-m",src:It},null,-1),zf=g("img",{class:"slot-icon-m",src:It},null,-1),Wf=g("img",{class:"slot-icon",src:It},null,-1),qf={key:0,class:"slot-icon",src:It},jf=["onClick"],Gf=g("img",{class:"slot-icon centered",src:It},null,-1),Qf=[Gf],Uf=["onClick"],Kf={class:"time-picker-overlay"},Xf=["value","onChange"],Jf=["value"],Zf=["value","onChange"],eh=["value"],th=g("div",{class:"dp-sidebar"},"Custom content",-1),ah=g("div",{class:"dp-sidebar"},"Custom content",-1),nh={class:"overlay-header"},oh=["onClick"],rh={class:"overlay-header"},lh=["onClick"],sh={key:0},ih={key:1},uh=q({__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"],setup(e){const a=V(new Date),{isDark:t}=Oe(),n=V(null),o=T(()=>new Date().getDate()+1),r=T(()=>y=>`Selected ${new Date(y).getDate()}`),l=T(()=>{const y=[];for(let v=0;v<24;v++)y.push({text:v<10?`0${v}`:v,value:v});return y}),i=T(()=>{const y=[];for(let v=0;v<60;v++)y.push({text:v<10?`0${v}`:v,value:v});return y}),c=()=>{n.value&&n.value.selectDate()},h=y=>yt(y,"QQQ");return(y,v)=>(u(),m("div",{class:he(["demo-wrap",e.useDpInputSlot||e.useTriggerSlot?"demo-wrap-inline":""])},[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":v[0]||(v[0]=p=>a.value=p),placeholder:e.placeholder,dark:s(t),position:e.position,"quarter-picker":e.useQuarterSlot,is24:e.is24,ref_key:"dpSlotDemo",ref:n},lt({_:2},[e.useTriggerSlot?{name:"trigger",fn:D(()=>[If]),key:"0"}:void 0,e.useDpInputSlot?{name:"dp-input",fn:D(({value:p})=>[g("input",{class:"input-class",type:"text",value:p},null,8,Rf)]),key:"1"}:void 0,e.useInputIconSlot?{name:"input-icon",fn:D(()=>[Lf]),key:"2"}:void 0,e.useClearIconSlot?{name:"clear-icon",fn:D(({clear:p})=>[g("img",{class:"input-slot-image-clear",src:It,onClick:p},null,8,Yf)]),key:"3"}:void 0,e.useClockIconSlot?{name:"clock-icon",fn:D(()=>[Ef]),key:"4"}:void 0,e.useArrowLeftSlot?{name:"arrow-left",fn:D(()=>[Bf]),key:"5"}:void 0,e.useArrowRightSlot?{name:"arrow-right",fn:D(()=>[Hf]),key:"6"}:void 0,e.useArrowUpSlot?{name:"arrow-up",fn:D(()=>[Ff]),key:"7"}:void 0,e.useArrowDownSlot?{name:"arrow-down",fn:D(()=>[zf]),key:"8"}:void 0,e.useCalendarIconSlot?{name:"calendar-icon",fn:D(()=>[Wf]),key:"9"}:void 0,e.useDaySlot?{name:"day",fn:D(({day:p})=>[p===o.value?(u(),m("img",qf)):(u(),m(ce,{key:1},[Ie(re(p),1)],64))]),key:"10"}:void 0,e.useActionButtonSlot?{name:"action-buttons",fn:D(()=>[g("p",{class:"custom-select",onClick:c},"Select")]),key:"11"}:void 0,e.useActionPreviewSlot?{name:"action-preview",fn:D(({value:p})=>[Ie(re(r.value(p)),1)]),key:"12"}:void 0,e.useHoursSlot?{name:"hours",fn:D(({value:p})=>[Ie(re(p),1)]),key:"13"}:void 0,e.useMinutesSlot?{name:"minutes",fn:D(({value:p})=>[Ie(re(p),1)]),key:"14"}:void 0,e.useMonthSlot?{name:"month",fn:D(({value:p})=>[Ie(re(p),1)]),key:"15"}:void 0,e.useYearSlot?{name:"year",fn:D(({value:p})=>[Ie(re(p),1)]),key:"16"}:void 0,e.useHoursOverlaySlot?{name:"hours-overlay-value",fn:D(({value:p})=>[Ie(re(p),1)]),key:"17"}:void 0,e.useMinutesOverlaySlot?{name:"minutes-overlay-value",fn:D(({value:p})=>[Ie(re(p),1)]),key:"18"}:void 0,e.useMonthOverlaySlot?{name:"month-overlay-value",fn:D(({value:p})=>[Ie(re(p),1)]),key:"19"}:void 0,e.useYearOverlaySlot?{name:"year-overlay-value",fn:D(({value:p})=>[Ie(re(p),1)]),key:"20"}:void 0,e.useCalendarHeaderSlot?{name:"calendar-header",fn:D(({index:p,day:_})=>[g("div",{class:he(p===5||p===6?"red-color":"")},re(_),3)]),key:"21"}:void 0,e.useActionExtraSlot?{name:"action-extra",fn:D(({selectCurrentDate:p})=>[g("span",{onClick:_=>p(),title:"Select current date",class:"pointer"},Qf,8,jf)]),key:"22"}:void 0,e.useAmPmButtonSlot?{name:"am-pm-button",fn:D(({toggle:p,value:_})=>[g("button",{onClick:p},re(_),9,Uf)]),key:"23"}:void 0,e.useTimePickerOverlay?{name:"time-picker-overlay",fn:D(({hours:p,minutes:_,setHours:k,setMinutes:S})=>[g("div",Kf,[g("select",{class:"select-input",value:p,onChange:I=>k(+I.target.value)},[(u(!0),m(ce,null,De(l.value,I=>(u(),m("option",{key:I.value,value:I.value},re(I.text),9,Jf))),128))],40,Xf),g("select",{class:"select-input",value:_,onChange:I=>S(+I.target.value)},[(u(!0),m(ce,null,De(i.value,I=>(u(),m("option",{key:I.value,value:I.value},re(I.text),9,eh))),128))],40,Zf)])]),key:"24"}:void 0,e.useLeftSidebarSlot?{name:"left-sidebar",fn:D(()=>[th]),key:"25"}:void 0,e.useRightSidebarSlot?{name:"right-sidebar",fn:D(()=>[ah]),key:"26"}:void 0,e.useMonthOverlayHeaderSlot?{name:"month-overlay-header",fn:D(({toggle:p})=>[g("div",nh,[g("span",{onClick:p,class:"pointer"},re("< Go back"),8,oh)])]),key:"27"}:void 0,e.useYearOverlayHeaderSlot?{name:"year-overlay-header",fn:D(({toggle:p})=>[g("div",rh,[g("span",{onClick:p,class:"pointer"},re("< Go back"),8,lh)])]),key:"28"}:void 0,e.useQuarterSlot?{name:"quarter",fn:D(({value:p})=>[g("span",null,re(h(p)),1)]),key:"29"}:void 0,e.useTopExtraSlot?{name:"top-extra",fn:D(({value:p})=>[p?(u(),m("span",sh,"Selected date: "+re(p.getDate()),1)):(u(),m("span",ih,"No date selected"))]),key:"30"}:void 0]),1032,["modelValue","placeholder","dark","position","quarter-picker","is24"])],2))}}),dh={class:"demo-wrap"},ch=q({__name:"DisabledDatesDemo",setup(e){const a=V(new Date),{isDark:t}=Oe(),n=T(()=>{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)=>(u(),m("div",dh,[X(s(Ce),{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"])]))}}),mh={class:"demo-wrap"},vh=q({__name:"DisabledRangeDateDemo",props:{},setup(e){const{isDark:a}=Oe(),t=V([]),n=[Hn(new Date,1),new Date,Je(new Date,1)];return(o,r)=>(u(),m("div",mh,[X(s(Ce),Re({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"])]))}}),ph={class:"demo-wrap"},fh={class:"buttons-wrap"},hh=["onClick"],yh=q({__name:"DisabledTimesDemo",props:{},setup(e){const{isDark:a}=Oe(),t=V(null),n=["single","range"],o=V("single"),r=T(()=>o.value==="range"),l=[{hours:15,minutes:"*"},{hours:16,minutes:15},{hours:16,minutes:20},{hours:17,minutes:30}],i=[[{hours:12,minutes:"*"},{hours:9,minutes:10}],l],c=h=>{t.value=null,o.value=h};return(h,y)=>(u(),m("div",ph,[g("div",fh,[(u(),m(ce,null,De(n,(v,p)=>g("button",{class:he(["change-btn",{"btn-active":v===o.value}]),key:p,onClick:_=>c(v)},re(v),11,hh)),64))]),X(s(Ce),Re({modelValue:t.value,"onUpdate:modelValue":y[0]||(y[0]=v=>t.value=v),placeholder:"Select date"},h.$props,{dark:s(a),"disabled-times":r.value?i:l,range:r.value}),null,16,["modelValue","dark","disabled-times","range"])]))}}),gh=ge(yh,[["__scopeId","data-v-2a3dee5c"]]),_h={class:"demo-wrap"},bh={key:0},kh=q({__name:"DisplayModelDemo",props:["modelType","modelAuto","range"],setup(e){const a=V(),{isDark:t}=Oe();return(n,o)=>(u(),m("div",_h,[X(s(Ce),Re({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?(u(),m("p",bh,"Selected date: "+re(a.value),1)):x("",!0)]))}}),wh={class:"demo-wrap"},$h=q({__name:"EmitTimezone",setup(e){const{isDark:a}=Oe(),t=V(),n=V(),o=r=>{n.value=r};return(r,l)=>(u(),m("div",wh,[t.value&&n.value?(u(),m(ce,{key:0},[g("div",null,"Local timezone date: "+re(t.value),1),g("div",null,"UTC date: "+re(n.value),1)],64)):x("",!0),X(s(Ce),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=i=>t.value=i),placeholder:"Select date","emit-timezone":"UTC",dark:s(a),"onUpdate:modelTimezoneValue":o},null,8,["modelValue","dark"])]))}}),Dh={class:"demo-wrap"},Ph=q({__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=V(),{isDark:n}=Oe(),o=T(()=>{if(a.allowedDates)return[new Date,new Date(new Date().setDate(new Date().getDate()+1))]});return(r,l)=>(u(),m("div",Dh,[X(s(Ce),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=i=>t.value=i),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"])]))}}),Mh={class:"demo-wrap"},Th=q({__name:"FiltersDemo",setup(e){const a=V(new Date),{isDark:t}=Oe(),n=T(()=>{const o=new Date;return{months:Array.from(Array(3).keys()).map(r=>Se(pt(o,r+1)))}});return(o,r)=>(u(),m("div",Mh,[X(s(Ce),{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"])]))}}),Sh={class:"demo-wrap"},xh=q({__name:"FormatDemo",props:["placeholder"],setup(e){const a=V(new Date),{isDark:t}=Oe(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,i=o.getFullYear();return`Selected date is ${r}/${l}/${i}`};return(o,r)=>(u(),m("div",Sh,[X(s(Ce),{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"])]))}}),Ah={class:"demo-wrap"},Ch=q({__name:"GlobalDemo",props:["uid","is24","enableTimePicker","locale","cancelText","selectText","range","position","weekNumbers","placeholder","hoursIncrement","minutesIncrement","hoursGridIncrement","minutesGridIncrement","minDate","maxDate","minTime","maxTime","weekStart","disabled","readonly","inputClassName","menuClassName","hideInputIcon","state","clearable","closeOnScroll","autoApply","filters","disableMonthYearSelect","yearRange","disabledDates","inline","weekNumName","autoPosition","monthPicker","timePicker","closeOnAutoApply","calendarClassName","calendarCellClassName","teleport","startDate","startTime","monthNameFormat","autoRange","hideOffsetDates","noHoursOverlay","noMinutesOverlay","altPosition","multiCalendars","multiCalendarsSolo","partialRange","monthChangeOnScroll","transitions","modeHeight","enableSeconds","secondsIncrement","secondsGridIncrement","noSecondsOverlay","openMenuOnFocus","escClose","spaceConfirm","monthChangeOnArrows","inlineWithInput","name","autocomplete","preventMinMaxNavigation","fixedEnd","fixedStart","reverseYears","vertical","arrowNavigation","textInput","yearPicker","multiStatic","disableTimeRangeValidation","dayNames","offset","teleportCenter","hideNavigation","sixWeeks","actionRow","disableYearSelect","focusStartDate","timePickerInline","yearFirst","loading"],setup(e){const a=e,t=V(null),n=V(!1),{isDark:o}=Oe(),r=T({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,i=new Date(new Date().setDate(l.getDate()+7));return[l,i]}return new Date},set:l=>{n.value=!l,t.value=l}});return(l,i)=>(u(),m("div",Ah,[X(s(Ce),Re({modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=c=>r.value=c)},l.$props,{dark:s(o)}),null,16,["modelValue","dark"])]))}}),Vh={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}}年近く"}},Oh=(e,a,t)=>{t=t||{};let n;const o=Vh[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},Nh={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},Ih={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Rh={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Lh={date:va({formats:Nh,defaultWidth:"full"}),time:va({formats:Ih,defaultWidth:"full"}),dateTime:va({formats:Rh,defaultWidth:"full"})},Yh={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},Eh=(e,a,t,n)=>Yh[e],Bh={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},Hh={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},Fh={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月"]},zh={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},Wh={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:"深夜"}},qh={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:"深夜"}},jh=(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}`}},Gh={ordinalNumber:jh,era:Mt({values:Bh,defaultWidth:"wide"}),quarter:Mt({values:Hh,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:Mt({values:Fh,defaultWidth:"wide"}),day:Mt({values:zh,defaultWidth:"wide"}),dayPeriod:Mt({values:Wh,defaultWidth:"wide",formattingValues:qh,defaultFormattingWidth:"wide"})},Qh=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,Uh=/\d+/i,Kh={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},Xh={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},Jh={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},Zh={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},e0={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},t0={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},a0={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},n0={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},o0={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},r0={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},l0={ordinalNumber:Ko({matchPattern:Qh,parsePattern:Uh,valueCallback:function(e){return parseInt(e,10)}}),era:Tt({matchPatterns:Kh,defaultMatchWidth:"wide",parsePatterns:Xh,defaultParseWidth:"any"}),quarter:Tt({matchPatterns:Jh,defaultMatchWidth:"wide",parsePatterns:Zh,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Tt({matchPatterns:e0,defaultMatchWidth:"wide",parsePatterns:t0,defaultParseWidth:"any"}),day:Tt({matchPatterns:a0,defaultMatchWidth:"wide",parsePatterns:n0,defaultParseWidth:"any"}),dayPeriod:Tt({matchPatterns:o0,defaultMatchWidth:"any",parsePatterns:r0,defaultParseWidth:"any"})},s0={code:"ja",formatDistance:Oh,formatLong:Lh,formatRelative:Eh,localize:Gh,match:l0,options:{weekStartsOn:0,firstWeekContainsDate:1}},i0={class:"demo-wrap"},u0=q({__name:"LocalizedOutput",setup(e){const a=V(new Date),{isDark:t}=Oe();return(n,o)=>(u(),m("div",i0,[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),placeholder:"Select Date","format-locale":s(s0),format:"E"},null,8,["modelValue","dark","format-locale"])]))}}),d0={class:"demo-wrap"},c0=q({__name:"MinMaxDemo",setup(e){const a=V(new Date),{isDark:t}=Oe(),n=T(()=>Et(new Date(Me(new Date),Se(new Date)),2)),o=T(()=>pt(new Date(Me(new Date),Se(new Date)),2));return(r,l)=>(u(),m("div",d0,[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=i=>a.value=i),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"])]))}}),m0={class:"demo-wrap"},v0=q({__name:"MonthPickerDemo",props:{autoApplyMonth:{type:Boolean,default:!0}},setup(e){const{isDark:a}=Oe(),t=V({month:new Date().getMonth(),year:new Date().getFullYear()});return(n,o)=>(u(),m("div",m0,[X(s(Ce),Re({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"month-picker":""}),null,16,["modelValue","dark"])]))}}),p0={},f0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},h0=g("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 g0(e,a){return u(),m("svg",f0,y0)}const _0=ge(p0,[["render",g0]]),b0={},k0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},w0=g("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),$0=[w0];function D0(e,a){return u(),m("svg",k0,$0)}const P0=ge(b0,[["render",D0]]),M0={class:"demo-wrap"},T0={class:"custom-month-year-component"},S0=["value","onChange"],x0=["value"],A0=["value","onChange"],C0=["value"],V0={class:"icons"},O0=["onClick"],N0=["onClick"],I0={class:"custom-month-year-component"},R0=["value","onChange"],L0=["value"],Y0=["onClick"],E0={class:"year-overlay"},B0=["value","onChange"],H0=["value"],F0=["onClick"],z0=q({__name:"MonthYearSlotDemo",props:["defaultSlot","monthOverlaySlot","yearOverlaySlot"],setup(e){const a=V(new Date),{isDark:t}=Oe(),n=(r,l,i,c)=>{l(+r.target.value,i),c&&c()},o=(r,l,i,c)=>{l(i,+r.target.value),c&&c()};return(r,l)=>(u(),m("div",M0,[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=i=>a.value=i),dark:s(t)},lt({_:2},[e.defaultSlot?{name:"month-year",fn:D(({month:i,year:c,months:h,years:y,updateMonthYear:v,handleMonthYearChange:p})=>[g("div",T0,[g("select",{class:"select-input",value:i,onChange:_=>n(_,v,c)},[(u(!0),m(ce,null,De(h,_=>(u(),m("option",{key:_.value,value:_.value},re(_.text),9,x0))),128))],40,S0),g("select",{class:"select-input",value:c,onChange:_=>o(_,v,i)},[(u(!0),m(ce,null,De(y,_=>(u(),m("option",{key:_.value,value:_.value},re(_.text),9,C0))),128))],40,A0)]),g("div",V0,[g("span",{class:"custom-icon",onClick:_=>p(!1)},[X(_0)],8,O0),g("span",{class:"custom-icon",onClick:_=>p(!0)},[X(P0)],8,N0)])]),key:"0"}:void 0,e.monthOverlaySlot?{name:"month-overlay",fn:D(({month:i,year:c,items:h,updateMonthYear:y,toggle:v})=>[g("div",I0,[g("select",{class:"select-input",value:i,onChange:p=>n(p,y,c,v)},[(u(!0),m(ce,null,De(h,p=>(u(),m("option",{key:p.value,value:p.value},re(p.text),9,L0))),128))],40,R0)]),g("button",{onClick:v},"Close",8,Y0)]),key:"1"}:void 0,e.yearOverlaySlot?{name:"year-overlay",fn:D(({month:i,year:c,items:h,updateMonthYear:y,toggle:v})=>[g("div",E0,[g("div",null,[g("select",{class:"select-input",value:c,onChange:p=>o(p,y,i,v)},[(u(!0),m(ce,null,De(h,p=>(u(),m("option",{key:p.value,value:p.value},re(p.text),9,H0))),128))],40,B0)]),g("button",{onClick:v},"Close",8,F0)])]),key:"2"}:void 0]),1032,["modelValue","dark"])]))}}),W0={class:"demo-wrap"},q0=["onClick"],j0=q({__name:"PresetRange",setup(e){const a=V(),{isDark:t}=Oe(),n=V([{label:"Today",value:[new Date,new Date]},{label:"Today (Slot)",value:[new Date,new Date],slot:"preset-date-range-button"},{label:"This month",value:[so(new Date),lo(new Date)]},{label:"Last month",value:[so(Et(new Date,1)),lo(Et(new Date,1))]},{label:"This year",value:[In(new Date),Uo(new Date)]}]);return(o,r)=>(u(),m("div",W0,[X(s(Ce),{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":D(({label:l,value:i,presetDate:c})=>[g("span",{role:"button",tabindex:0,onClick:h=>c(i)},re(l),9,q0)]),_:1},8,["modelValue","dark","preset-dates"])]))}}),G0={class:"demo-wrap"},Q0=q({__name:"PreviewFormatDemo",props:["placeholder"],setup(e){const a=V(new Date),{isDark:t}=Oe(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,i=o.getFullYear();return`Selected date is ${r}/${l}/${i}`};return(o,r)=>(u(),m("div",G0,[X(s(Ce),{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"])]))}}),U0={class:"demo-wrap"},K0=q({__name:"QuarterPickerDemo",setup(e){const{isDark:a}=Oe(),t=V(qt(new Date));return(n,o)=>(u(),m("div",U0,[X(s(Ce),Re({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"quarter-picker":""}),null,16,["modelValue","dark"])]))}}),X0={class:"demo-wrap"},J0=q({__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}=Oe(),n=T(()=>{var r,l,i;return typeof a.range=="object"?((r=a.range)==null?void 0:r.autoRange)||((l=a.range)==null?void 0:l.maxRange)||((i=a.range)==null?void 0:i.minRange):!1}),o=V(n.value?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(r,l)=>(u(),m("div",X0,[X(s(Ce),Re({modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=i=>o.value=i)},r.$props,{dark:s(t),rang:e.range,placeholder:e.placeholder}),null,16,["modelValue","dark","rang","placeholder"])]))}}),Z0={class:"demo-wrap"},ey=q({__name:"RangeDemoDeprecated",props:{autoRange:{type:[Number,String],default:null},multiCalendars:{type:[Number,String,Boolean,Object],default:null},partialRange:{type:Boolean,default:!0},fixedStart:{type:Boolean,default:!1},fixedEnd:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},showLastInRange:{type:Boolean,default:!0},placeholder:{type:String,default:"Select Range"},minRange:{type:Number,default:null},maxRange:{type:Number,default:null},noVModel:{type:Boolean,default:!1}},setup(e){const a=e,{isDark:t}=Oe(),n=V(a.autoRange||a.noVModel?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(o,r)=>(u(),m("div",Z0,[X(s(Ce),Re({modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=l=>n.value=l)},o.$props,{dark:s(t),range:"",placeholder:e.placeholder}),null,16,["modelValue","dark","placeholder"])]))}}),ty={class:"demo-wrap"},ay=q({__name:"DisabledRangeDateDemoDeprecated",props:{},setup(e){const{isDark:a}=Oe(),t=V([]),n=[Hn(new Date,1),new Date,Je(new Date,1)];return(o,r)=>(u(),m("div",ty,[X(s(Ce),Re({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},o.$props,{dark:s(a),range:"","no-disabled-range":"","disabled-dates":n,placeholder:"Select range"}),null,16,["modelValue","dark"])]))}}),ny={class:"demo-wrap"},oy=g("button",{class:"submit-btn",type:"submit"},"Submit form",-1),ry=q({__name:"RequiredDemo",setup(e){const a=V(),{isDark:t}=Oe(),n=()=>{alert("Form submitted")};return(o,r)=>(u(),m("div",ny,[g("form",{onSubmit:Ee(n,["prevent"])},[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),oy],32)]))}}),ly={class:"demo-wrap"},sy={class:"buttons-wrap"},iy=["onClick"],uy=q({__name:"SixWeeksDemo",setup(e){const a=V(new Date),{isDark:t}=Oe(),n=[!0,"append","prepend","center","fair"],o=V(!0);return(r,l)=>(u(),m("div",ly,[g("div",sy,[(u(),m(ce,null,De(n,(i,c)=>g("button",{class:he(["change-btn",{"btn-active":i===o.value}]),key:c,onClick:h=>o.value=i},re(i),11,iy)),64))]),X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=i=>a.value=i),dark:s(t),"six-weeks":o.value},null,8,["modelValue","dark","six-weeks"])]))}}),dy=ge(uy,[["__scopeId","data-v-e3f2bf69"]]),cy={class:"demo-wrap"},my=q({__name:"TextInputDemo",props:["textInput","placeholder","minDate","maxDate"],setup(e){const a=V(new Date),{isDark:t}=Oe();return(n,o)=>(u(),m("div",cy,[X(s(Ce),{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"])]))}}),vy={class:"demo-wrap"},py=q({__name:"TimePickerDemo",props:["modeHeight"],setup(e){const{isDark:a}=Oe(),t=V({hours:new Date().getHours(),minutes:new Date().getMinutes()});return(n,o)=>(u(),m("div",vy,[X(s(Ce),Re({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"time-picker":""}),null,16,["modelValue","dark"])]))}}),fy={class:"demo-wrap"},hy={class:"custom-time-picker-component"},yy=["value","onChange"],gy=["value"],_y=["value","onChange"],by=["value"],ky=q({__name:"TimePickerSlotDemo",setup(e){const a=V(new Date),{isDark:t}=Oe(),n=T(()=>{const r=[];for(let l=0;l<24;l++)r.push({text:l<10?`0${l}`:l,value:l});return r}),o=T(()=>{const r=[];for(let l=0;l<60;l++)r.push({text:l<10?`0${l}`:l,value:l});return r});return(r,l)=>(u(),m("div",fy,[X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=i=>a.value=i),dark:s(t)},{"time-picker":D(({time:i,updateTime:c})=>[g("div",hy,[g("select",{class:"select-input",value:i.hours,onChange:h=>c(+h.target.value)},[(u(!0),m(ce,null,De(n.value,h=>(u(),m("option",{key:h.value,value:h.value},re(h.text),9,gy))),128))],40,yy),g("select",{class:"select-input",value:i.minutes,onChange:h=>c(+h.target.value,!1)},[(u(!0),m(ce,null,De(o.value,h=>(u(),m("option",{key:h.value,value:h.value},re(h.text),9,by))),128))],40,_y)])]),_:1},8,["modelValue","dark"])]))}}),wy={class:"demo-wrap"},$y={key:0},Dy=q({__name:"TimezoneDemo",setup(e){const a=V(),{isDark:t}=Oe();return(n,o)=>(u(),m("div",wy,[X(s(Ce),{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?(u(),m("p",$y,"Selected date in UTC format: "+re(a.value),1)):x("",!0)]))}}),Py=e=>(at("data-v-323b52ea"),e=e(),nt(),e),My={class:"demo-wrap"},Ty=Py(()=>g("option",{value:void 0},"Select timezone",-1)),Sy=["value"],xy=q({__name:"TimezonePropDemo",setup(e){const a=V([new Date,Je(new Date,5)]),{isDark:t}=Oe(),n=V(void 0),o=["Pacific/Midway","America/Adak","Pacific/Gambier","America/Los_Angeles","America/Denver","America/Chicago","America/New_York","America/Santiago","America/Sao_Paulo","America/Noronha","Atlantic/Cape_Verde","UTC","Europe/Brussels","Africa/Cairo","Europe/Minsk","Europe/Moscow","Asia/Tashkent","Asia/Dhaka","Asia/Novosibirsk","Australia/Perth","Asia/Tokyo","Australia/Hobart","Asia/Vladivostok","Pacific/Auckland"];return(r,l)=>(u(),m("div",My,[g("div",null,[ma(g("select",{class:"custom-select",name:"timezone-select",id:"timezone-select","onUpdate:modelValue":l[0]||(l[0]=i=>n.value=i)},[Ty,(u(),m(ce,null,De(o,i=>g("option",{value:i,key:i},re(i),9,Sy)),64))],512),[[Gr,n.value]])]),X(s(Ce),{modelValue:a.value,"onUpdate:modelValue":l[1]||(l[1]=i=>a.value=i),dark:s(t),"multi-calendars":"",timezone:n.value,range:"","partial-range":!1},null,8,["modelValue","dark","timezone"])]))}}),Ay=ge(xy,[["__scopeId","data-v-323b52ea"]]),Cy={class:"demo-wrap"},Vy=q({__name:"YearPickerDemo",props:{},setup(e){const{isDark:a}=Oe(),t=V(new Date().getFullYear());return(n,o)=>(u(),m("div",Cy,[X(s(Ce),Re({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"year-picker":""}),null,16,["modelValue","dark"])]))}}),xr=e=>(at("data-v-938a3203"),e=e(),nt(),e),Oy={class:"tz-demo-wrap"},Ny={class:"dp-container-wrap"},Iy={class:"tz-range-slider-wrap"},Ry=xr(()=>g("br",null,null,-1)),Ly=xr(()=>g("br",null,null,-1)),Yy={key:0},Ey=q({__name:"TimezoneNewDemo",props:{timezone:{type:Object,default:void 0},emitVal:{type:Boolean,default:!1}},setup(e){const{isDark:a}=Oe(),t=e,n=V(),o=V(11),r=V(),l=T(()=>{var p,_;if(t.emitVal)return;const v=Se(new Date)+1>9?Se(new Date)+1:`0${Se(new Date)+1}`;return(p=t.timezone)!=null&&p.exactMatch?new Date:(_=t.timezone)!=null&&_.dateInTz?`${Me(new Date)}-${v}-15T01:00:00Z`:`${Me(new Date)}-${v}-15T01:00:00Z`}),i=[{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}],c=T(()=>i[o.value]),h=T(()=>{const v=t.emitVal?{emitTimezone:c.value.tz}:{timezone:c.value.tz};return t.timezone?{...t.timezone,...v}:v}),y=v=>{r.value=v.toISOString()};return(v,p)=>(u(),m("div",Oy,[g("div",Ny,[X(s(Ce),{modelValue:n.value,"onUpdate:modelValue":p[0]||(p[0]=_=>n.value=_),dark:s(a),timezone:h.value,inline:"","auto-apply":"","max-date":l.value,"onUpdate:modelTimezoneValue":y},null,8,["modelValue","dark","timezone","max-date"])]),g("div",Iy,[g("div",null,[g("span",null,"Timezone: "+re(c.value.tz),1),Ry,g("span",null,"Offset: "+re(c.value.offset>0?`+${c.value.offset}`:c.value.offset),1),Ly,r.value?(u(),m("span",Yy,"Zoned date: "+re(r.value),1)):x("",!0)]),g("div",null,[ma(g("input",{class:"tz-range-slider",type:"range","onUpdate:modelValue":p[1]||(p[1]=_=>o.value=_),min:"0",max:"22"},null,512),[[Qr,o.value]])])])]))}}),By=ge(Ey,[["__scopeId","data-v-938a3203"]]),zy={extends:lc,enhanceApp({app:e}){e.component("StarAndSponsor",mc),e.component("ActionRowSlotDemo",$f),e.component("CustomCalendarDemo",Pf),e.component("DarkDemo",Tf),e.component("DemoDayClass",xf),e.component("DemoHighlight",Cf),e.component("DemoMarkers",Nf),e.component("DemoSlots",uh),e.component("DisabledDatesDemo",ch),e.component("DisabledRangeDateDemo",vh),e.component("DisabledTimesDemo",gh),e.component("DisplayModelDemo",kh),e.component("EmitTimezone",$h),e.component("EmptyDemo",Ph),e.component("FiltersDemo",Th),e.component("FormatDemo",xh),e.component("GlobalDemo",Ch),e.component("LocalizedOutput",u0),e.component("MinMaxDemo",c0),e.component("MonthPickerDemo",v0),e.component("MonthYearSlotDemo",z0),e.component("PresetRange",j0),e.component("PreviewFormatDemo",Q0),e.component("QuarterPickerDemo",K0),e.component("RangeDemo",J0),e.component("RequiredDemo",ry),e.component("SixWeeksDemo",dy),e.component("TextInputDemo",my),e.component("TimePickerDemo",py),e.component("TimePickerSlotDemo",ky),e.component("TimezoneDemo",Dy),e.component("TimezonePropDemo",Ay),e.component("YearPickerDemo",Vy),e.component("RangeDemoDeprecated",ey),e.component("DisabledRangeDateDemoDeprecated",ay),e.component("TimezoneNewDemo",By)}};export{zy as R,fl as a,Ae as u}; diff --git a/docs/assets/chunks/ui-custom.CFpAEw_0.js b/docs/assets/chunks/ui-custom.I27cV75g.js similarity index 91% rename from docs/assets/chunks/ui-custom.CFpAEw_0.js rename to docs/assets/chunks/ui-custom.I27cV75g.js index a3614b248..1b27027a0 100644 --- a/docs/assets/chunks/ui-custom.CFpAEw_0.js +++ b/docs/assets/chunks/ui-custom.I27cV75g.js @@ -1 +1 @@ -import{u as i,a as l}from"./theme.DXbu-_FL.js";import{d as p,h as f,y as c,l as u,o as _,c as m,_ as b}from"./framework.B0g_G0if.js";const v=p({__name:"VPCarbonAds",props:{carbonAds:{}},setup(r){const{page:d}=i(),a=r.carbonAds,{isAsideEnabled:s}=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=${a.code}&placement=${a.placement}`,e.async=!0,o.value.appendChild(e)}}return c(()=>d.value.relativePath,()=>{var e;n&&s.value&&((e=window._carbonads)==null||e.refresh())}),a&&u(()=>{s.value?t():c(s,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.kroa52e1.js";import{d as p,h as f,y as c,l as u,o as _,c as m,_ as b}from"./framework.B0g_G0if.js";const v=p({__name:"VPCarbonAds",props:{carbonAds:{}},setup(r){const{page:d}=i(),a=r.carbonAds,{isAsideEnabled:s}=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=${a.code}&placement=${a.placement}`,e.async=!0,o.value.appendChild(e)}}return c(()=>d.value.relativePath,()=>{var e;n&&s.value&&((e=window._carbonads)==null||e.refresh())}),a&&u(()=>{s.value?t():c(s,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/installation_index.md.DtJB3K9u.js b/docs/assets/installation_index.md.BgDK6FJ_.js similarity index 98% rename from docs/assets/installation_index.md.DtJB3K9u.js rename to docs/assets/installation_index.md.BgDK6FJ_.js index f1a60265f..c1d71e6ef 100644 --- a/docs/assets/installation_index.md.DtJB3K9u.js +++ b/docs/assets/installation_index.md.BgDK6FJ_.js @@ -8,7 +8,7 @@ import{_ as s,c as i,o as a,al as n}from"./chunks/framework.B0g_G0if.js";const o app.component('VueDatePicker', VueDatePicker); -app.mount('#app');

Local

In the .vue files

vue
<template>
+app.mount('#app');

Local

In the .vue files

vue
<template>
   <VueDatePicker v-model="date"></VueDatePicker>
 </template>
 
diff --git a/docs/assets/installation_index.md.DtJB3K9u.lean.js b/docs/assets/installation_index.md.BgDK6FJ_.lean.js
similarity index 100%
rename from docs/assets/installation_index.md.DtJB3K9u.lean.js
rename to docs/assets/installation_index.md.BgDK6FJ_.lean.js
diff --git a/docs/assets/methods-and-events_events_index.md.X_qXw00S.js b/docs/assets/methods-and-events_events_index.md.CiYg8wcz.js
similarity index 99%
rename from docs/assets/methods-and-events_events_index.md.X_qXw00S.js
rename to docs/assets/methods-and-events_events_index.md.CiYg8wcz.js
index dd8eb2470..d1b188764 100644
--- a/docs/assets/methods-and-events_events_index.md.X_qXw00S.js
+++ b/docs/assets/methods-and-events_events_index.md.CiYg8wcz.js
@@ -83,7 +83,7 @@ import{_ as s,c as i,o as a,al as n}from"./chunks/framework.B0g_G0if.js";const F
 const alertFn = () => {
   alert('Input unfocused');
 }
-</script>

@internal-model-change

Emitted when the internal model-value is changed before selecting this date that will be set to v-model

Will have one param

  • Date | Date[]: Current state of the internal model-value
Code Example
vue
<template>
+</script>

@internal-model-change

Emitted when the internal model-value is changed before selecting this date that will be set to v-model

Will have two params

  • Date | Date[]: Current state of the internal model-value
  • Second parameter is internal model-value in v-model format

Warning

If you use the second parameter, make sure to validate values before use, as you can get Invalid Date, null or undefined values

Code Example
vue
<template>
     <VueDatePicker v-model="date" @internal-model-change="handleInternal" />
 </template>
 
@@ -348,4 +348,4 @@ import{_ as s,c as i,o as a,al as n}from"./chunks/framework.B0g_G0if.js";const F
   const onInvalidDateClick = (date) => {
     console.log(\`Selected \${date}\`);
   }
-</script>
`,101),t=[l];function k(p,e,E,d,r,g){return a(),i("div",null,t)}const c=s(h,[["render",k]]);export{F as __pageData,c as default}; +</script>
`,102),t=[l];function k(p,e,E,d,r,g){return a(),i("div",null,t)}const c=s(h,[["render",k]]);export{F as __pageData,c as default}; diff --git a/docs/assets/methods-and-events_events_index.md.X_qXw00S.lean.js b/docs/assets/methods-and-events_events_index.md.CiYg8wcz.lean.js similarity index 88% rename from docs/assets/methods-and-events_events_index.md.X_qXw00S.lean.js rename to docs/assets/methods-and-events_events_index.md.CiYg8wcz.lean.js index 5411a96e9..bd6222458 100644 --- a/docs/assets/methods-and-events_events_index.md.X_qXw00S.lean.js +++ b/docs/assets/methods-and-events_events_index.md.CiYg8wcz.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,al as n}from"./chunks/framework.B0g_G0if.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"},l=n("",101),t=[l];function k(p,e,E,d,r,g){return a(),i("div",null,t)}const c=s(h,[["render",k]]);export{F as __pageData,c as default}; +import{_ as s,c as i,o as a,al as n}from"./chunks/framework.B0g_G0if.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"},l=n("",102),t=[l];function k(p,e,E,d,r,g){return a(),i("div",null,t)}const c=s(h,[["render",k]]);export{F as __pageData,c as default}; diff --git a/docs/assets/props_general-configuration_index.md.DdT9XE_j.lean.js b/docs/assets/props_general-configuration_index.md.DdT9XE_j.lean.js deleted file mode 100644 index 1aa5877a1..000000000 --- a/docs/assets/props_general-configuration_index.md.DdT9XE_j.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r,E as n,c as g,J as i,m as h,a as t,al as s,o as y}from"./chunks/framework.B0g_G0if.js";const z=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"}'),o={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),_=s("",4),b=s("",4),v=s("",5),f=s("",5),T=s("",4),q=s("",4),w=s("",4),P=s("",4),S=s("",4),V=s("",4),x=s("",5),I=s("",3),N=s("",4),R=s("",11),O=s("",1);function M(H,G,W,$,J,U){const a=n("GlobalDemo"),k=n("Badge"),p=n("DisplayModelDemo"),l=n("EmptyDemo"),e=n("DemoMarkers"),E=n("DemoHighlight"),d=n("RequiredDemo");return y(),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(p,{modelType:"dd.MM.yyyy"}),A,i(a,{clearable:!1}),B,i(a,{"auto-apply":!0}),_,i(l,{placeholder:"Select Date"}),b,i(l,{"no-today":!0,placeholder:"Select Date"}),v,i(e),f,i(E),T,i(a,{disabled:!0}),q,i(a,{readonly:!0}),w,i(d,{required:!0}),P,i(a,{name:"date-picker"}),S,i(a,{autocomplete:"off"}),V,i(a,{"hide-navigation":["month","year"]}),x,i(a,{"action-row":{showNow:!0,showPreview:!1}}),I,i(a,{"disable-year-select":!0}),N,i(a,{"year-first":!0}),R,i(a,{loading:!0}),O])}const Q=r(o,[["render",M]]);export{z as __pageData,Q as default}; diff --git a/docs/assets/props_general-configuration_index.md.DdT9XE_j.js b/docs/assets/props_general-configuration_index.md.r5xwYEBC.js similarity index 95% rename from docs/assets/props_general-configuration_index.md.DdT9XE_j.js rename to docs/assets/props_general-configuration_index.md.r5xwYEBC.js index 514634617..1e3aaa1fc 100644 --- a/docs/assets/props_general-configuration_index.md.DdT9XE_j.js +++ b/docs/assets/props_general-configuration_index.md.r5xwYEBC.js @@ -1,4 +1,4 @@ -import{_ as r,E as n,c as g,J as i,m as h,a as t,al as s,o as y}from"./chunks/framework.B0g_G0if.js";const z=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"}'),o={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,E as n,c as g,J as i,m as h,a as t,al as s,o}from"./chunks/framework.B0g_G0if.js";const Y=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>
 
@@ -29,7 +29,7 @@ import{_ as r,E as n,c as g,J as i,m as h,a as t,al as s,o as y}from"./chunks/fr
 const setDate = (value) => {
   date.value = value;
 }
-</script>

model-type

Specify a custom format for v-model

  • Type: 'timestamp' | 'format' | string
  • Default: null

Note

  • timestamp - uses timestamp for binding
  • format - uses provided format or fallbacks to the default one. Must be a string
  • string - use custom format by providing a custom pattern with unicode tokens

This is only compatible with date pickers, time-picker and month-picker, other modes are not supported

`,7),A=s(`
Code Example
vue
<template>
+</script>

model-type

Specify a custom format for v-model

  • Type: 'timestamp' | 'format' | string
  • Default: null

Note

  • timestamp - uses timestamp for binding
  • format - uses provided format or fallbacks to the default one. Must be a string
  • iso - date that will be returned will be in iso string format
  • string - use custom format by providing a custom pattern with unicode tokens

This is only compatible with date pickers, time-picker and month-picker, other modes are not supported

`,7),A=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" model-type="dd.MM.yyyy" />
     <p v-if="date">Selected date: {{ date }}</p>
 </template>
@@ -227,6 +227,7 @@ import{_ as r,E as n,c as g,J as i,m as h,a as t,al as s,o as y}from"./chunks/fr
     keepActionRow?: boolean;
     onClickOutside?: (validate: () => boolean) => void;
     tabOutClosesMenu?: boolean;
+    arrowLeft?: string;
 }
  • Default: config
ts
const config = {
     allowStopPropagation: true,
     closeOnScroll: false,
@@ -238,7 +239,8 @@ import{_ as r,E as n,c as g,J as i,m as h,a as t,al as s,o as y}from"./chunks/fr
     keepActionRow: false,
     onClickOutside: undefined,
     tabOutClosesMenu: true,
-}
  • allowStopPropagation: Enable event.sportPropagation on click events
  • closeOnScroll: Close datepicker menu on page scroll
  • modeHeight: If you use month-picker, time-picker or year-picker, set custom height of the picker in px
  • allowPreventDefault: Due to the different implementations of how click outside listeners are implemented, you might encounter issues where the menu closes if the picker is used in dialogs when teleport prop is enabled. To prevent this issue, you need to set this option to true
  • closeOnClearValue: Prevent closing the menu on value clear from the input field
  • closeOnAutoApply: If set to false, clicking on a date value will automatically select the value but will not close the datepicker menu. Closing will be available on a click-away or clicking on the input again
  • noSwipe: Disable touch events on the calendar
  • keepActionRow: When enabled, it will keep the action row even if the auto-apply prop is enabled
  • onClickOutside: Provide custom click outside handler. Exposed validation function that will return true or false depending on the selected value
  • tabOutClosesMenu: When tabbing out of the picker menu it will close the picker menu (not compatible when using teleport)

loading

Adds a loading overlay in the menu

  • Type: boolean
  • Default: false
`,11),O=s(`
Code Example
vue
<template>
+    arrowLeft: undefined,
+}
  • allowStopPropagation: Enable event.sportPropagation on click events
  • closeOnScroll: Close datepicker menu on page scroll
  • modeHeight: If you use month-picker, time-picker or year-picker, set custom height of the picker in px
  • allowPreventDefault: Due to the different implementations of how click outside listeners are implemented, you might encounter issues where the menu closes if the picker is used in dialogs when teleport prop is enabled. To prevent this issue, you need to set this option to true
  • closeOnClearValue: Prevent closing the menu on value clear from the input field
  • closeOnAutoApply: If set to false, clicking on a date value will automatically select the value but will not close the datepicker menu. Closing will be available on a click-away or clicking on the input again
  • noSwipe: Disable touch events on the calendar
  • keepActionRow: When enabled, it will keep the action row even if the auto-apply prop is enabled
  • onClickOutside: Provide custom click outside handler. Exposed validation function that will return true or false depending on the selected value
  • tabOutClosesMenu: When tabbing out of the picker menu it will close the picker menu (not compatible when using teleport)
  • arrowLeft: Overrides default arrow position from left side of the menu. To keep it always in the center, set it to 50%. Accepts valid CSS value

loading

Adds a loading overlay in the menu

  • Type: boolean
  • Default: false
`,11),O=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" loading />
 </template>
 
@@ -246,4 +248,4 @@ import{_ as r,E as n,c as g,J as i,m as h,a as t,al as s,o as y}from"./chunks/fr
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>
`,1);function M(H,G,W,$,J,U){const a=n("GlobalDemo"),k=n("Badge"),p=n("DisplayModelDemo"),l=n("EmptyDemo"),e=n("DemoMarkers"),E=n("DemoHighlight"),d=n("RequiredDemo");return y(),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(p,{modelType:"dd.MM.yyyy"}),A,i(a,{clearable:!1}),B,i(a,{"auto-apply":!0}),_,i(l,{placeholder:"Select Date"}),b,i(l,{"no-today":!0,placeholder:"Select Date"}),v,i(e),f,i(E),T,i(a,{disabled:!0}),q,i(a,{readonly:!0}),w,i(d,{required:!0}),P,i(a,{name:"date-picker"}),S,i(a,{autocomplete:"off"}),V,i(a,{"hide-navigation":["month","year"]}),x,i(a,{"action-row":{showNow:!0,showPreview:!1}}),I,i(a,{"disable-year-select":!0}),N,i(a,{"year-first":!0}),R,i(a,{loading:!0}),O])}const Q=r(o,[["render",M]]);export{z as __pageData,Q as default}; +</script>
`,1);function M(H,G,W,$,L,J){const a=n("GlobalDemo"),k=n("Badge"),p=n("DisplayModelDemo"),l=n("EmptyDemo"),e=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(p,{modelType:"dd.MM.yyyy"}),A,i(a,{clearable:!1}),B,i(a,{"auto-apply":!0}),_,i(l,{placeholder:"Select Date"}),b,i(l,{"no-today":!0,placeholder:"Select Date"}),v,i(e),f,i(E),T,i(a,{disabled:!0}),q,i(a,{readonly:!0}),w,i(d,{required:!0}),P,i(a,{name:"date-picker"}),S,i(a,{autocomplete:"off"}),V,i(a,{"hide-navigation":["month","year"]}),x,i(a,{"action-row":{showNow:!0,showPreview:!1}}),I,i(a,{"disable-year-select":!0}),N,i(a,{"year-first":!0}),R,i(a,{loading:!0}),O])}const z=r(y,[["render",M]]);export{Y as __pageData,z as default}; diff --git a/docs/assets/props_general-configuration_index.md.r5xwYEBC.lean.js b/docs/assets/props_general-configuration_index.md.r5xwYEBC.lean.js new file mode 100644 index 000000000..2a549dcc9 --- /dev/null +++ b/docs/assets/props_general-configuration_index.md.r5xwYEBC.lean.js @@ -0,0 +1 @@ +import{_ as r,E as n,c as g,J as i,m as h,a as t,al as s,o}from"./chunks/framework.B0g_G0if.js";const Y=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),_=s("",4),b=s("",4),v=s("",5),f=s("",5),T=s("",4),q=s("",4),w=s("",4),P=s("",4),S=s("",4),V=s("",4),x=s("",5),I=s("",3),N=s("",4),R=s("",11),O=s("",1);function M(H,G,W,$,L,J){const a=n("GlobalDemo"),k=n("Badge"),p=n("DisplayModelDemo"),l=n("EmptyDemo"),e=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(p,{modelType:"dd.MM.yyyy"}),A,i(a,{clearable:!1}),B,i(a,{"auto-apply":!0}),_,i(l,{placeholder:"Select Date"}),b,i(l,{"no-today":!0,placeholder:"Select Date"}),v,i(e),f,i(E),T,i(a,{disabled:!0}),q,i(a,{readonly:!0}),w,i(d,{required:!0}),P,i(a,{name:"date-picker"}),S,i(a,{autocomplete:"off"}),V,i(a,{"hide-navigation":["month","year"]}),x,i(a,{"action-row":{showNow:!0,showPreview:!1}}),I,i(a,{"disable-year-select":!0}),N,i(a,{"year-first":!0}),R,i(a,{loading:!0}),O])}const z=r(y,[["render",M]]);export{Y as __pageData,z as default}; diff --git a/docs/assets/slots_content_index.md.B0O5mmvG.lean.js b/docs/assets/slots_content_index.md.B0O5mmvG.lean.js deleted file mode 100644 index 81c9ccd32..000000000 --- a/docs/assets/slots_content_index.md.B0O5mmvG.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,E as n,c as k,J as i,al as s,o as l}from"./chunks/framework.B0g_G0if.js";const T=JSON.parse('{"title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu","frontmatter":{"lang":"en-US","title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu"},"headers":[],"relativePath":"slots/content/index.md","filePath":"slots/content/index.md"}'),p={name:"slots/content/index.md"},e=s("",6),E=s("",5),r=s("",3),d=s("",5),g=s("",5),y=s("",5),F=s("",21),o=s("",20),c=s("",5),C=s("",6),u=s("",5),A=s("",1);function D(B,m,b,v,f,_){const a=n("DemoSlots"),h=n("DemoMarkers");return l(),k("div",null,[e,i(a,{useCalendarHeaderSlot:!0}),E,i(a,{useDaySlot:!0}),r,i(a,{useActionButtonSlot:!0}),d,i(a,{useActionPreviewSlot:!0}),g,i(a,{useActionExtraSlot:!0,showNowButton:!0,placeholder:"Select Date"}),y,i(a,{useAmPmButtonSlot:!0,is24:!1,placeholder:"Select Date"}),F,i(a,{useLeftSidebarSlot:!0,placeholder:"Select Date"}),o,i(a,{useRightSidebarSlot:!0,placeholder:"Select Date"}),c,i(h,{useMarkerTooltipSlot:!0}),C,i(h,{useMarkerSlot:!0}),u,i(a,{useQuarterSlot:!0}),A])}const w=t(p,[["render",D]]);export{T as __pageData,w as default}; diff --git a/docs/assets/slots_content_index.md.B0O5mmvG.js b/docs/assets/slots_content_index.md.nPriQJ6w.js similarity index 96% rename from docs/assets/slots_content_index.md.B0O5mmvG.js rename to docs/assets/slots_content_index.md.nPriQJ6w.js index bedfdad31..b566c77b1 100644 --- a/docs/assets/slots_content_index.md.B0O5mmvG.js +++ b/docs/assets/slots_content_index.md.nPriQJ6w.js @@ -1,4 +1,4 @@ -import{_ as t,E as n,c as k,J as i,al as s,o as l}from"./chunks/framework.B0g_G0if.js";const T=JSON.parse('{"title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu","frontmatter":{"lang":"en-US","title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu"},"headers":[],"relativePath":"slots/content/index.md","filePath":"slots/content/index.md"}'),p={name:"slots/content/index.md"},e=s('

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
',6),E=s(`
Code Example
vue
<template>
+import{_ as t,E as n,c as k,J as i,al as s,o as l}from"./chunks/framework.B0g_G0if.js";const P=JSON.parse('{"title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu","frontmatter":{"lang":"en-US","title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu"},"headers":[],"relativePath":"slots/content/index.md","filePath":"slots/content/index.md"}'),p={name:"slots/content/index.md"},e=s('

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
',6),E=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #calendar-header="{ index, day }">
         <div :class="index === 5 || index === 6 ? 'red-color' : ''">
@@ -317,4 +317,17 @@ import{_ as t,E as n,c as k,J as i,al as s,o as l}from"./chunks/framework.B0g_G0
   const formatQuarter = (quarter) => {
       return format(quarter, 'QQQ')
   }
-</script>
`,1);function D(B,m,b,v,f,_){const a=n("DemoSlots"),h=n("DemoMarkers");return l(),k("div",null,[e,i(a,{useCalendarHeaderSlot:!0}),E,i(a,{useDaySlot:!0}),r,i(a,{useActionButtonSlot:!0}),d,i(a,{useActionPreviewSlot:!0}),g,i(a,{useActionExtraSlot:!0,showNowButton:!0,placeholder:"Select Date"}),y,i(a,{useAmPmButtonSlot:!0,is24:!1,placeholder:"Select Date"}),F,i(a,{useLeftSidebarSlot:!0,placeholder:"Select Date"}),o,i(a,{useRightSidebarSlot:!0,placeholder:"Select Date"}),c,i(h,{useMarkerTooltipSlot:!0}),C,i(h,{useMarkerSlot:!0}),u,i(a,{useQuarterSlot:!0}),A])}const w=t(p,[["render",D]]);export{T as __pageData,w as default}; +</script>

top-extra

This slot provides extra space above the month and year selection area

One prop is available:

  • value - Currently selected date(s) in the picker
`,5),D=s(`
Code Example
vue
<template>
+    <VueDatePicker v-model="date">
+      <template #top-extra="{ value }">
+        <span v-if="value">Selected date: {{ value.getDate() }}</span>
+        <span v-else>No date selected</span>
+      </template>
+    </VueDatePicker>
+</template>
+
+<script setup>
+import { ref } from 'vue';
+
+const date = ref(new Date());
+</script>
`,1);function B(m,b,v,f,_,q){const a=n("DemoSlots"),h=n("DemoMarkers");return l(),k("div",null,[e,i(a,{useCalendarHeaderSlot:!0}),E,i(a,{useDaySlot:!0}),r,i(a,{useActionButtonSlot:!0}),d,i(a,{useActionPreviewSlot:!0}),g,i(a,{useActionExtraSlot:!0,showNowButton:!0,placeholder:"Select Date"}),y,i(a,{useAmPmButtonSlot:!0,is24:!1,placeholder:"Select Date"}),F,i(a,{useLeftSidebarSlot:!0,placeholder:"Select Date"}),o,i(a,{useRightSidebarSlot:!0,placeholder:"Select Date"}),c,i(h,{useMarkerTooltipSlot:!0}),C,i(h,{useMarkerSlot:!0}),u,i(a,{useQuarterSlot:!0}),A,i(a,{useTopExtraSlot:!0,placeholder:"Select Date"}),D])}const w=t(p,[["render",B]]);export{P as __pageData,w as default}; diff --git a/docs/assets/slots_content_index.md.nPriQJ6w.lean.js b/docs/assets/slots_content_index.md.nPriQJ6w.lean.js new file mode 100644 index 000000000..e3a89ebfe --- /dev/null +++ b/docs/assets/slots_content_index.md.nPriQJ6w.lean.js @@ -0,0 +1 @@ +import{_ as t,E as n,c as k,J as i,al as s,o as l}from"./chunks/framework.B0g_G0if.js";const P=JSON.parse('{"title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu","frontmatter":{"lang":"en-US","title":"Slots - Content","description":"Datepicker content slots to customize parts in the menu"},"headers":[],"relativePath":"slots/content/index.md","filePath":"slots/content/index.md"}'),p={name:"slots/content/index.md"},e=s("",6),E=s("",5),r=s("",3),d=s("",5),g=s("",5),y=s("",5),F=s("",21),o=s("",20),c=s("",5),C=s("",6),u=s("",5),A=s("",5),D=s("",1);function B(m,b,v,f,_,q){const a=n("DemoSlots"),h=n("DemoMarkers");return l(),k("div",null,[e,i(a,{useCalendarHeaderSlot:!0}),E,i(a,{useDaySlot:!0}),r,i(a,{useActionButtonSlot:!0}),d,i(a,{useActionPreviewSlot:!0}),g,i(a,{useActionExtraSlot:!0,showNowButton:!0,placeholder:"Select Date"}),y,i(a,{useAmPmButtonSlot:!0,is24:!1,placeholder:"Select Date"}),F,i(a,{useLeftSidebarSlot:!0,placeholder:"Select Date"}),o,i(a,{useRightSidebarSlot:!0,placeholder:"Select Date"}),c,i(h,{useMarkerTooltipSlot:!0}),C,i(h,{useMarkerSlot:!0}),u,i(a,{useQuarterSlot:!0}),A,i(a,{useTopExtraSlot:!0,placeholder:"Select Date"}),D])}const w=t(p,[["render",B]]);export{P as __pageData,w as default}; diff --git a/docs/assets/style.B-jkfI4w.css b/docs/assets/style.CYEeTq-9.css similarity index 82% rename from docs/assets/style.B-jkfI4w.css rename to docs/assets/style.CYEeTq-9.css index a5919e855..483705664 100644 --- a/docs/assets/style.B-jkfI4w.css +++ b/docs/assets/style.CYEeTq-9.css @@ -1 +1 @@ -@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-cyrillic.CMhn1ESj.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-cyrillic-ext.DxP3Awbn.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-greek.JvnBZ4YD.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-greek-ext.D0mI3NpI.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-latin.Bu8hRsVA.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-latin-ext.ZlYT4o7i.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-vietnamese.ClpjcLMQ.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-cyrillic.D6csxwjC.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-cyrillic-ext.5XJwZIOp.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-greek.9J96vYpw.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-greek-ext.CHOfFY1k.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-latin.DbsTr1gm.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-latin-ext.BGcWXLrn.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-vietnamese.DHNAd7Wr.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Chinese Quotes;src:local("PingFang SC Regular"),local("PingFang SC"),local("SimHei"),local("Source Han Sans SC");unicode-range:U+2018,U+2019,U+201C,U+201D}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Chinese Quotes", "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{display:inline-block;margin:auto 2px -2px}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.vpi-social-discord{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'/%3E%3C/svg%3E")}.vpi-social-facebook{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E")}.vpi-social-github{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")}.vpi-social-instagram{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.03.084c-1.277.06-2.149.264-2.91.563a5.874 5.874 0 0 0-2.124 1.388 5.878 5.878 0 0 0-1.38 2.127C.321 4.926.12 5.8.064 7.076.008 8.354-.005 8.764.001 12.023c.007 3.259.021 3.667.083 4.947.061 1.277.264 2.149.563 2.911.308.789.72 1.457 1.388 2.123a5.872 5.872 0 0 0 2.129 1.38c.763.295 1.636.496 2.913.552 1.278.056 1.689.069 4.947.063 3.257-.007 3.668-.021 4.947-.082 1.28-.06 2.147-.265 2.91-.563a5.881 5.881 0 0 0 2.123-1.388 5.881 5.881 0 0 0 1.38-2.129c.295-.763.496-1.636.551-2.912.056-1.28.07-1.69.063-4.948-.006-3.258-.02-3.667-.081-4.947-.06-1.28-.264-2.148-.564-2.911a5.892 5.892 0 0 0-1.387-2.123 5.857 5.857 0 0 0-2.128-1.38C19.074.322 18.202.12 16.924.066 15.647.009 15.236-.006 11.977 0 8.718.008 8.31.021 7.03.084m.14 21.693c-1.17-.05-1.805-.245-2.228-.408a3.736 3.736 0 0 1-1.382-.895 3.695 3.695 0 0 1-.9-1.378c-.165-.423-.363-1.058-.417-2.228-.06-1.264-.072-1.644-.08-4.848-.006-3.204.006-3.583.061-4.848.05-1.169.246-1.805.408-2.228.216-.561.477-.96.895-1.382a3.705 3.705 0 0 1 1.379-.9c.423-.165 1.057-.361 2.227-.417 1.265-.06 1.644-.072 4.848-.08 3.203-.006 3.583.006 4.85.062 1.168.05 1.804.244 2.227.408.56.216.96.475 1.382.895.421.42.681.817.9 1.378.165.422.362 1.056.417 2.227.06 1.265.074 1.645.08 4.848.005 3.203-.006 3.583-.061 4.848-.051 1.17-.245 1.805-.408 2.23-.216.56-.477.96-.896 1.38a3.705 3.705 0 0 1-1.378.9c-.422.165-1.058.362-2.226.418-1.266.06-1.645.072-4.85.079-3.204.007-3.582-.006-4.848-.06m9.783-16.192a1.44 1.44 0 1 0 1.437-1.442 1.44 1.44 0 0 0-1.437 1.442M5.839 12.012a6.161 6.161 0 1 0 12.323-.024 6.162 6.162 0 0 0-12.323.024M8 12.008A4 4 0 1 1 12.008 16 4 4 0 0 1 8 12.008'/%3E%3C/svg%3E")}.vpi-social-linkedin{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E")}.vpi-social-mastodon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E")}.vpi-social-npm{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z'/%3E%3C/svg%3E")}.vpi-social-slack{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zm1.271 0a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zm0 1.271a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zm10.122 2.521a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zm-1.268 0a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zm-2.523 10.122a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zm0-1.268a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z'/%3E%3C/svg%3E")}.vpi-social-twitter,.vpi-social-x{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E")}.vpi-social-youtube{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s}.vp-doc blockquote>p{margin:0;font-size:16px;color:var(--vp-c-text-2);transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-c79a1216]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-c79a1216],.VPBackdrop.fade-leave-to[data-v-c79a1216]{opacity:0}.VPBackdrop.fade-leave-active[data-v-c79a1216]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-c79a1216]{display:none}}.NotFound[data-v-f87ff6e4]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-f87ff6e4]{padding:96px 32px 168px}}.code[data-v-f87ff6e4]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-f87ff6e4]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-f87ff6e4]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-f87ff6e4]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-f87ff6e4]{padding-top:20px}.link[data-v-f87ff6e4]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-f87ff6e4]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-b933a997]{position:relative;z-index:1}.nested[data-v-b933a997]{padding-right:16px;padding-left:16px}.outline-link[data-v-b933a997]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-b933a997]:hover,.outline-link.active[data-v-b933a997]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-b933a997]{padding-left:13px}.VPDocAsideOutline[data-v-935f8a84]{display:none}.VPDocAsideOutline.has-outline[data-v-935f8a84]{display:block}.content[data-v-935f8a84]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-935f8a84]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-935f8a84]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-3f215769]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-3f215769]{flex-grow:1}.VPDocAside[data-v-3f215769] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-3f215769] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-3f215769] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-7e05ebdb]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-7e05ebdb]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-09de1c0f]{margin-top:64px}.edit-info[data-v-09de1c0f]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-09de1c0f]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-09de1c0f]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-09de1c0f]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-09de1c0f]{margin-right:8px}.prev-next[data-v-09de1c0f]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-09de1c0f]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-09de1c0f]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-09de1c0f]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-09de1c0f]{margin-left:auto;text-align:right}.desc[data-v-09de1c0f]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-09de1c0f]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-39a288b8]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-39a288b8]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-39a288b8]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-39a288b8]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-39a288b8]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-39a288b8]{display:flex;justify-content:center}.VPDoc .aside[data-v-39a288b8]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-39a288b8]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-39a288b8]{max-width:1104px}}.container[data-v-39a288b8]{margin:0 auto;width:100%}.aside[data-v-39a288b8]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-39a288b8]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-39a288b8]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-39a288b8]::-webkit-scrollbar{display:none}.aside-curtain[data-v-39a288b8]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-39a288b8]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-39a288b8]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-39a288b8]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-39a288b8]{order:1;margin:0;min-width:640px}}.content-container[data-v-39a288b8]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-39a288b8]{max-width:688px}.VPButton[data-v-cad61b99]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-cad61b99]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-cad61b99]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-cad61b99]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-cad61b99]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-cad61b99]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-cad61b99]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-cad61b99]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-cad61b99]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-cad61b99]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-cad61b99]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-cad61b99]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-cad61b99]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-8426fc1a]{display:none}.dark .VPImage.light[data-v-8426fc1a]{display:none}.VPHero[data-v-303bb580]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-303bb580]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-303bb580]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-303bb580]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-303bb580]{flex-direction:row}}.main[data-v-303bb580]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-303bb580]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-303bb580]{text-align:left}}@media (min-width: 960px){.main[data-v-303bb580]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-303bb580]{max-width:592px}}.name[data-v-303bb580],.text[data-v-303bb580]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-303bb580],.VPHero.has-image .text[data-v-303bb580]{margin:0 auto}.name[data-v-303bb580]{color:var(--vp-home-hero-name-color)}.clip[data-v-303bb580]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-303bb580],.text[data-v-303bb580]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-303bb580],.text[data-v-303bb580]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-303bb580],.VPHero.has-image .text[data-v-303bb580]{margin:0}}.tagline[data-v-303bb580]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-303bb580]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-303bb580]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-303bb580]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-303bb580]{margin:0}}.actions[data-v-303bb580]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-303bb580]{justify-content:center}@media (min-width: 640px){.actions[data-v-303bb580]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-303bb580]{justify-content:flex-start}}.action[data-v-303bb580]{flex-shrink:0;padding:6px}.image[data-v-303bb580]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-303bb580]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-303bb580]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-303bb580]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-303bb580]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-303bb580]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-303bb580]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-303bb580]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-303bb580]{width:320px;height:320px}}[data-v-303bb580] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-303bb580] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-303bb580] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-a3976bdc]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-a3976bdc]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-a3976bdc]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-a3976bdc]>.VPImage{margin-bottom:20px}.icon[data-v-a3976bdc]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-a3976bdc]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-a3976bdc]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-a3976bdc]{padding-top:8px}.link-text-value[data-v-a3976bdc]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-a3976bdc]{margin-left:6px}.VPFeatures[data-v-a6181336]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-a6181336]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-a6181336]{padding:0 64px}}.container[data-v-a6181336]{margin:0 auto;max-width:1152px}.items[data-v-a6181336]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-a6181336]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-a6181336],.item.grid-4[data-v-a6181336],.item.grid-6[data-v-a6181336]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-a6181336],.item.grid-4[data-v-a6181336]{width:50%}.item.grid-3[data-v-a6181336],.item.grid-6[data-v-a6181336]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-a6181336]{width:25%}}.container[data-v-82d4af08]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-82d4af08]{padding:0 48px}}@media (min-width: 960px){.container[data-v-82d4af08]{width:100%;padding:0 64px}}.vp-doc[data-v-82d4af08] .VPHomeSponsors,.vp-doc[data-v-82d4af08] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-82d4af08] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-82d4af08] .VPHomeSponsors a,.vp-doc[data-v-82d4af08] .VPTeamPage a{text-decoration:none}.VPHome[data-v-686f80a6]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-686f80a6]{margin-bottom:128px}}.VPContent[data-v-1428d186]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-1428d186]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-1428d186]{margin:0}@media (min-width: 960px){.VPContent[data-v-1428d186]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-1428d186]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-1428d186]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-e315a0ad]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-e315a0ad]{display:none}.VPFooter[data-v-e315a0ad] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-e315a0ad] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-e315a0ad]{padding:32px}}.container[data-v-e315a0ad]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-e315a0ad],.copyright[data-v-e315a0ad]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-d2ecc192]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-d2ecc192]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-d2ecc192]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-d2ecc192]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-d2ecc192]{color:var(--vp-c-text-1)}.icon[data-v-d2ecc192]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-d2ecc192]{font-size:14px}.icon[data-v-d2ecc192]{font-size:16px}}.open>.icon[data-v-d2ecc192]{transform:rotate(90deg)}.items[data-v-d2ecc192]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-d2ecc192]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-d2ecc192]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-d2ecc192]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-d2ecc192]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-d2ecc192]{transition:all .2s ease-out}.flyout-leave-active[data-v-d2ecc192]{transition:all .15s ease-in}.flyout-enter-from[data-v-d2ecc192],.flyout-leave-to[data-v-d2ecc192]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-a6f0e41e]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-a6f0e41e]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-a6f0e41e]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-a6f0e41e]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-a6f0e41e]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-a6f0e41e]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-a6f0e41e]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-a6f0e41e]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-a6f0e41e]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-a6f0e41e]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-a6f0e41e]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-a6f0e41e]{display:none}}.menu-icon[data-v-a6f0e41e]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-a6f0e41e]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-a6f0e41e]{padding:12px 32px 11px}}.VPSwitch[data-v-1d5665e3]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-1d5665e3]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-1d5665e3]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-1d5665e3]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-1d5665e3] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-1d5665e3] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-d1f28634]{opacity:1}.moon[data-v-d1f28634],.dark .sun[data-v-d1f28634]{opacity:0}.dark .moon[data-v-d1f28634]{opacity:1}.dark .VPSwitchAppearance[data-v-d1f28634] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-e6aabb21]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-e6aabb21]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-43f1e123]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-43f1e123]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-43f1e123]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-43f1e123]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-69e747b5]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-69e747b5]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-69e747b5]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-69e747b5]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-e7ea1737]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-e7ea1737] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-e7ea1737] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-e7ea1737] .group:last-child{padding-bottom:0}.VPMenu[data-v-e7ea1737] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-e7ea1737] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-e7ea1737] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-e7ea1737] .action{padding-left:24px}.VPFlyout[data-v-b6c34ac9]{position:relative}.VPFlyout[data-v-b6c34ac9]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-b6c34ac9]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-b6c34ac9]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-b6c34ac9]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-b6c34ac9]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-b6c34ac9],.button[aria-expanded=true]+.menu[data-v-b6c34ac9]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-b6c34ac9]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-b6c34ac9]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-b6c34ac9]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-b6c34ac9]{margin-right:0;font-size:16px}.text-icon[data-v-b6c34ac9]{margin-left:4px;font-size:14px}.icon[data-v-b6c34ac9]{font-size:20px;transition:fill .25s}.menu[data-v-b6c34ac9]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-eee4e7cb]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-eee4e7cb]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-eee4e7cb]>svg,.VPSocialLink[data-v-eee4e7cb]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-7bc22406]{display:flex;justify-content:center}.VPNavBarExtra[data-v-d0bd9dde]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-d0bd9dde]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-d0bd9dde]{display:none}}.trans-title[data-v-d0bd9dde]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-d0bd9dde],.item.social-links[data-v-d0bd9dde]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-d0bd9dde]{min-width:176px}.appearance-action[data-v-d0bd9dde]{margin-right:-2px}.social-links-list[data-v-d0bd9dde]{margin:-4px -8px}.VPNavBarHamburger[data-v-e5dd9c1c]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-e5dd9c1c]{display:none}}.container[data-v-e5dd9c1c]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-e5dd9c1c]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-e5dd9c1c]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-e5dd9c1c]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-e5dd9c1c]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-e5dd9c1c]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-e5dd9c1c]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-e5dd9c1c],.VPNavBarHamburger.active:hover .middle[data-v-e5dd9c1c],.VPNavBarHamburger.active:hover .bottom[data-v-e5dd9c1c]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-e5dd9c1c],.middle[data-v-e5dd9c1c],.bottom[data-v-e5dd9c1c]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-e5dd9c1c]{top:0;left:0;transform:translate(0)}.middle[data-v-e5dd9c1c]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-e5dd9c1c]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-9c663999]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-9c663999],.VPNavBarMenuLink[data-v-9c663999]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-7f418b0f]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-7f418b0f]{display:flex}}/*! @docsearch/css 3.6.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-0394ad82]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-0394ad82]{display:flex;align-items:center}}.title[data-v-ab179fa1]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-ab179fa1]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-ab179fa1]{border-bottom-color:var(--vp-c-divider)}}[data-v-ab179fa1] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-88af2de4]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-88af2de4]{display:flex;align-items:center}}.title[data-v-88af2de4]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-ccf7ddec]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .5s}.VPNavBar[data-v-ccf7ddec]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-ccf7ddec]:not(.home){background-color:transparent}.VPNavBar[data-v-ccf7ddec]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-ccf7ddec]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-ccf7ddec]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-ccf7ddec]{padding:0}}.container[data-v-ccf7ddec]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-ccf7ddec],.container>.content[data-v-ccf7ddec]{pointer-events:none}.container[data-v-ccf7ddec] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-ccf7ddec]{max-width:100%}}.title[data-v-ccf7ddec]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-ccf7ddec]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-ccf7ddec]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-ccf7ddec]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-ccf7ddec]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-ccf7ddec]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-ccf7ddec]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-ccf7ddec]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-ccf7ddec]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-ccf7ddec]{column-gap:.5rem}}.menu+.translations[data-v-ccf7ddec]:before,.menu+.appearance[data-v-ccf7ddec]:before,.menu+.social-links[data-v-ccf7ddec]:before,.translations+.appearance[data-v-ccf7ddec]:before,.appearance+.social-links[data-v-ccf7ddec]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-ccf7ddec]:before,.translations+.appearance[data-v-ccf7ddec]:before{margin-right:16px}.appearance+.social-links[data-v-ccf7ddec]:before{margin-left:16px}.social-links[data-v-ccf7ddec]{margin-right:-8px}.divider[data-v-ccf7ddec]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-ccf7ddec]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-ccf7ddec]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-ccf7ddec]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-ccf7ddec]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-ccf7ddec]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-ccf7ddec]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-2d7af913]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-2d7af913]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-7f31e1f6]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-7f31e1f6]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-19976ae1]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-19976ae1]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-8133b170]{display:block}.title[data-v-8133b170]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-ff6087d4]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-ff6087d4]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-ff6087d4]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-ff6087d4]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-ff6087d4]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-ff6087d4]{transform:rotate(45deg)}.button[data-v-ff6087d4]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-ff6087d4]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-ff6087d4]{transition:transform .25s}.group[data-v-ff6087d4]:first-child{padding-top:0}.group+.group[data-v-ff6087d4],.group+.item[data-v-ff6087d4]{padding-top:4px}.VPNavScreenTranslations[data-v-858fe1a4]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-858fe1a4]{height:auto}.title[data-v-858fe1a4]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-858fe1a4]{font-size:16px}.icon.lang[data-v-858fe1a4]{margin-right:8px}.icon.chevron[data-v-858fe1a4]{margin-left:4px}.list[data-v-858fe1a4]{padding:4px 0 0 24px}.link[data-v-858fe1a4]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-cc5739dd]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 1px);right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .5s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-cc5739dd],.VPNavScreen.fade-leave-active[data-v-cc5739dd]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-cc5739dd],.VPNavScreen.fade-leave-active .container[data-v-cc5739dd]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-cc5739dd],.VPNavScreen.fade-leave-to[data-v-cc5739dd]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-cc5739dd],.VPNavScreen.fade-leave-to .container[data-v-cc5739dd]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-cc5739dd]{display:none}}.container[data-v-cc5739dd]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-cc5739dd],.menu+.appearance[data-v-cc5739dd],.translations+.appearance[data-v-cc5739dd]{margin-top:24px}.menu+.social-links[data-v-cc5739dd]{margin-top:16px}.appearance+.social-links[data-v-cc5739dd]{margin-top:16px}.VPNav[data-v-ae24b3ad]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-ae24b3ad]{position:fixed}}.VPSidebarItem.level-0[data-v-b8d55f3b]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-b8d55f3b]{padding-bottom:10px}.item[data-v-b8d55f3b]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-b8d55f3b]{cursor:pointer}.indicator[data-v-b8d55f3b]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-b8d55f3b],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-b8d55f3b],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-b8d55f3b],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-b8d55f3b]{background-color:var(--vp-c-brand-1)}.link[data-v-b8d55f3b]{display:flex;align-items:center;flex-grow:1}.text[data-v-b8d55f3b]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-b8d55f3b]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-b8d55f3b],.VPSidebarItem.level-2 .text[data-v-b8d55f3b],.VPSidebarItem.level-3 .text[data-v-b8d55f3b],.VPSidebarItem.level-4 .text[data-v-b8d55f3b],.VPSidebarItem.level-5 .text[data-v-b8d55f3b]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-b8d55f3b],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-b8d55f3b],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-b8d55f3b],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-b8d55f3b],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-b8d55f3b],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-b8d55f3b]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-1.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-2.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-3.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-4.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-5.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-b8d55f3b],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-b8d55f3b],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-b8d55f3b],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-b8d55f3b],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-b8d55f3b],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-b8d55f3b]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-b8d55f3b],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-b8d55f3b],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-b8d55f3b],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-b8d55f3b],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-b8d55f3b],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-b8d55f3b]{color:var(--vp-c-brand-1)}.caret[data-v-b8d55f3b]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-b8d55f3b]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-b8d55f3b]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-b8d55f3b]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-b8d55f3b]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-b8d55f3b],.VPSidebarItem.level-2 .items[data-v-b8d55f3b],.VPSidebarItem.level-3 .items[data-v-b8d55f3b],.VPSidebarItem.level-4 .items[data-v-b8d55f3b],.VPSidebarItem.level-5 .items[data-v-b8d55f3b]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-b8d55f3b]{display:none}.VPSidebar[data-v-575e6a36]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-575e6a36]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-575e6a36]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-575e6a36]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-575e6a36]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-575e6a36]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-575e6a36]{outline:0}.group+.group[data-v-575e6a36]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-575e6a36]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSkipLink[data-v-0f60ec36]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-0f60ec36]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-0f60ec36]{top:14px;left:16px}}.Layout[data-v-5d98c3a5]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-3d121b4a]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-3d121b4a]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-3d121b4a]{margin:128px 0}}.VPHomeSponsors[data-v-3d121b4a]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-3d121b4a]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-3d121b4a]{padding:0 64px}}.container[data-v-3d121b4a]{margin:0 auto;max-width:1152px}.love[data-v-3d121b4a]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-3d121b4a]{display:inline-block}.message[data-v-3d121b4a]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-3d121b4a]{padding-top:32px}.action[data-v-3d121b4a]{padding-top:40px;text-align:center}.VPTeamPage[data-v-7c57f839]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-7c57f839]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-7c57f839-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-7c57f839-s],.VPTeamMembers+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-7c57f839-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-7c57f839-s],.VPTeamMembers+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:96px}}.VPTeamMembers[data-v-7c57f839-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-7c57f839-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-7c57f839-s]{padding:0 64px}}.VPTeamPageTitle[data-v-bf2cbdac]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-bf2cbdac]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-bf2cbdac]{padding:80px 64px 48px}}.title[data-v-bf2cbdac]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-bf2cbdac]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-bf2cbdac]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-bf2cbdac]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-b1a88750]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-b1a88750]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-b1a88750]{padding:0 64px}}.title[data-v-b1a88750]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-b1a88750]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-b1a88750]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-b1a88750]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-b1a88750]{padding-top:40px}.VPTeamMembersItem[data-v-f3fa364a]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-f3fa364a]{padding:32px}.VPTeamMembersItem.small .data[data-v-f3fa364a]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-f3fa364a]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-f3fa364a]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-f3fa364a]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-f3fa364a]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-f3fa364a]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-f3fa364a]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-f3fa364a]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-f3fa364a]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-f3fa364a]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-f3fa364a]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-f3fa364a]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-f3fa364a]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-f3fa364a]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-f3fa364a]{text-align:center}.avatar[data-v-f3fa364a]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-f3fa364a]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-f3fa364a]{margin:0;font-weight:600}.affiliation[data-v-f3fa364a]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-f3fa364a]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-f3fa364a]:hover{color:var(--vp-c-brand-1)}.desc[data-v-f3fa364a]{margin:0 auto}.desc[data-v-f3fa364a] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-f3fa364a]{display:flex;justify-content:center;height:56px}.sp-link[data-v-f3fa364a]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-f3fa364a]:hover,.sp .sp-link.link[data-v-f3fa364a]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-f3fa364a]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-6cb0dbc4]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-6cb0dbc4]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-6cb0dbc4]{max-width:876px}.VPTeamMembers.medium .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-6cb0dbc4]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-6cb0dbc4]{max-width:760px}.container[data-v-6cb0dbc4]{display:grid;gap:24px;margin:0 auto;max-width:1152px}.dp__input_wrap{position:relative;width:100%;box-sizing:unset}.dp__input_wrap:focus{border-color:var(--dp-border-color-hover);outline:none}.dp__input{background-color:var(--dp-background-color);border-radius:var(--dp-border-radius);font-family:var(--dp-font-family);border:1px solid var(--dp-border-color);outline:none;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:var(--dp-input-padding);color:var(--dp-text-color);box-sizing:border-box}.dp__input::placeholder{opacity:.7}.dp__input:hover{border-color:var(--dp-border-color-hover)}.dp__input_reg{caret-color:#0000}.dp__input_focus{border-color:var(--dp-border-color-hover)}.dp__disabled{background:var(--dp-disabled-color)}.dp__disabled::placeholder{color:var(--dp-disabled-color-text)}.dp__input_icons{display:inline-block;width:var(--dp-font-size);height:var(--dp-font-size);stroke-width:0;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:6px 12px;color:var(--dp-icon-color);box-sizing:content-box}.dp__input_icon{cursor:pointer;position:absolute;top:50%;inset-inline-start:0;transform:translateY(-50%);color:var(--dp-icon-color)}.dp__clear_icon{position:absolute;top:50%;inset-inline-end:0;transform:translateY(-50%);cursor:pointer;color:var(--dp-icon-color)}.dp__input_icon_pad{padding-inline-start:var(--dp-input-icon-padding)}.dp__input_valid{box-shadow:0 0 var(--dp-border-radius) var(--dp-success-color);border-color:var(--dp-success-color)}.dp__input_valid:hover{border-color:var(--dp-success-color)}.dp__input_invalid{box-shadow:0 0 var(--dp-border-radius) var(--dp-danger-color);border-color:var(--dp-danger-color)}.dp__input_invalid:hover{border-color:var(--dp-danger-color)}.dp__menu{background:var(--dp-background-color);border-radius:var(--dp-border-radius);min-width:var(--dp-menu-min-width);font-family:var(--dp-font-family);font-size:var(--dp-font-size);-webkit-user-select:none;user-select:none;border:1px solid var(--dp-menu-border-color);box-sizing:border-box}.dp__menu:after{box-sizing:border-box}.dp__menu:before{box-sizing:border-box}.dp__menu:focus{border:1px solid var(--dp-menu-border-color);outline:none}.dp--menu-wrapper{position:absolute;z-index:99999}.dp__menu_inner{padding:var(--dp-menu-padding)}.dp--menu--inner-stretched{padding:6px 0}.dp__menu_index{z-index:99999}.dp-menu-loading,.dp__menu_readonly,.dp__menu_disabled{position:absolute;top:0;right:0;bottom:0;left:0;z-index:999999}.dp__menu_disabled{background:#ffffff80;cursor:not-allowed}.dp__menu_readonly{background:#0000;cursor:default}.dp-menu-loading{background:#ffffff80;cursor:default}.dp--menu-load-container{display:flex;height:100%;width:100%;justify-content:center;align-items:center}.dp--menu-loader{width:48px;height:48px;border:var(--dp-loader);border-bottom-color:#0000;border-radius:50%;display:inline-block;box-sizing:border-box;animation:dp-load-rotation 1s linear infinite;position:absolute}@keyframes dp-load-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dp__arrow_top{left:50%;top:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-top:1px solid var(--dp-menu-border-color);transform:translate(-50%,-50%) rotate(-45deg)}.dp__arrow_bottom{left:50%;bottom:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-bottom:1px solid var(--dp-menu-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__action_extra{text-align:center;padding:2px 0}.dp--preset-dates{padding:5px;border-inline-end:1px solid var(--dp-border-color)}@media only screen and (width <= 600px){.dp--preset-dates{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}}.dp--preset-dates-collapsed{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}.dp__sidebar_left{padding:5px;border-inline-end:1px solid var(--dp-border-color)}.dp__sidebar_right{padding:5px;margin-inline-end:1px solid var(--dp-border-color)}.dp--preset-range{display:block;width:100%;padding:5px;text-align:left;white-space:nowrap;color:var(--dp-text-color);border-radius:var(--dp-border-radius);transition:var(--dp-common-transition)}.dp--preset-range:hover{background-color:var(--dp-hover-color);color:var(--dp-hover-text-color);cursor:pointer}@media only screen and (width <= 600px){.dp--preset-range{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range:first-child{margin-left:0}.dp--preset-range:last-child{margin-right:0}}.dp--preset-range-collapsed{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range-collapsed:first-child{margin-left:0}.dp--preset-range-collapsed:last-child{margin-right:0}.dp__menu_content_wrapper{display:flex}@media only screen and (width <= 600px){.dp__menu_content_wrapper{flex-direction:column-reverse}}.dp--menu-content-wrapper-collapsed{flex-direction:column-reverse}.dp__calendar_header{position:relative;display:flex;justify-content:center;align-items:center;color:var(--dp-text-color);white-space:nowrap;font-weight:700}.dp__calendar_header_item{text-align:center;flex-grow:1;height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);box-sizing:border-box}.dp__calendar_row{display:flex;justify-content:center;align-items:center;margin:var(--dp-row-margin)}.dp__calendar_item{text-align:center;flex-grow:1;box-sizing:border-box;color:var(--dp-text-color)}.dp__calendar{position:relative}.dp__calendar_header_cell{border-bottom:thin solid var(--dp-border-color);padding:var(--dp-calendar-header-cell-padding)}.dp__cell_inner{display:flex;align-items:center;text-align:center;justify-content:center;border-radius:var(--dp-cell-border-radius);height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);border:1px solid rgba(0,0,0,0);box-sizing:border-box;position:relative}.dp__cell_inner:hover{transition:all .2s}.dp__cell_auto_range_start,.dp__date_hover_start:hover,.dp__range_start{border-end-end-radius:0;border-start-end-radius:0}.dp__cell_auto_range_end,.dp__date_hover_end:hover,.dp__range_end{border-end-start-radius:0;border-start-start-radius:0}.dp__range_end,.dp__range_start,.dp__active_date{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__cell_auto_range_end,.dp__cell_auto_range_start{border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__date_hover_end:hover,.dp__date_hover_start:hover,.dp__date_hover:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__cell_offset{color:var(--dp-secondary-color)}.dp__cell_disabled{color:var(--dp-secondary-color);cursor:not-allowed}.dp__range_between{background:var(--dp-range-between-dates-background-color);color:var(--dp-range-between-dates-text-color);border-radius:0;border:1px solid var(--dp-range-between-border-color)}.dp__range_between_week{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border-radius:0;border-top:1px solid var(--dp-primary-color);border-bottom:1px solid var(--dp-primary-color)}.dp__today{border:1px solid var(--dp-primary-color)}.dp__week_num{color:var(--dp-secondary-color);text-align:center}.dp__cell_auto_range{border-radius:0;border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_start{border-inline-start:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_end{border-inline-end:1px dashed var(--dp-primary-color)}.dp__calendar_header_separator{width:100%;height:1px;background:var(--dp-border-color)}.dp__calendar_next{margin-inline-start:var(--dp-multi-calendars-spacing)}.dp__marker_line,.dp__marker_dot{height:5px;background-color:var(--dp-marker-color);position:absolute;bottom:0}.dp__marker_dot{width:5px;border-radius:50%;left:50%;transform:translate(-50%)}.dp__marker_line{width:100%;left:0}.dp__marker_tooltip{position:absolute;border-radius:var(--dp-border-radius);background-color:var(--dp-tooltip-color);padding:5px;border:1px solid var(--dp-border-color);z-index:99999;box-sizing:border-box;cursor:default}.dp__tooltip_content{white-space:nowrap}.dp__tooltip_text{display:flex;align-items:center;flex-flow:row nowrap;color:var(--dp-text-color)}.dp__tooltip_mark{height:5px;width:5px;border-radius:50%;background-color:var(--dp-text-color);color:var(--dp-text-color);margin-inline-end:5px}.dp__arrow_bottom_tp{bottom:0;height:8px;width:8px;background-color:var(--dp-tooltip-color);position:absolute;border-inline-end:1px solid var(--dp-border-color);border-bottom:1px solid var(--dp-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__instance_calendar{position:relative;width:100%}@media only screen and (width <= 600px){.dp__flex_display{flex-direction:column}}.dp--flex-display-collapsed{flex-direction:column}.dp__cell_highlight{background-color:var(--dp-highlight-color)}.dp__month_year_row{display:flex;align-items:center;height:var(--dp-month-year-row-height);color:var(--dp-text-color);box-sizing:border-box}.dp__inner_nav{display:flex;align-items:center;justify-content:center;cursor:pointer;height:var(--dp-month-year-row-button-size);width:var(--dp-month-year-row-button-size);color:var(--dp-icon-color);text-align:center;border-radius:50%}.dp__inner_nav svg{height:var(--dp-button-icon-height);width:var(--dp-button-icon-height)}.dp__inner_nav:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}[dir=rtl] .dp__inner_nav{transform:rotate(180deg)}.dp__inner_nav_disabled:hover,.dp__inner_nav_disabled{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp--year-select,.dp__month_year_select{text-align:center;cursor:pointer;height:var(--dp-month-year-row-height);display:flex;align-items:center;justify-content:center;border-radius:var(--dp-border-radius);box-sizing:border-box;color:var(--dp-text-color)}.dp--year-select:hover,.dp__month_year_select:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__month_year_select{width:50%}.dp--year-select{width:100%}.dp__month_year_wrap{display:flex;width:100%}.dp__year_disable_select{justify-content:space-around}.dp__overlay{width:100%;background:var(--dp-background-color);transition:opacity 1s ease-out;z-index:99999;font-family:var(--dp-font-family);color:var(--dp-text-color);box-sizing:border-box}.dp--overlay-absolute{position:absolute;height:100%;top:0;left:0}.dp--overlay-relative{position:relative}.dp__overlay_container::-webkit-scrollbar-track{box-shadow:var(--dp-scroll-bar-background);background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar{width:5px;background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar-thumb{background-color:var(--dp-scroll-bar-color);border-radius:10px}.dp__overlay:focus{border:none;outline:none}.dp__container_flex{display:flex}.dp__container_block{display:block}.dp__overlay_container{flex-direction:column;overflow-y:auto}.dp__time_picker_overlay_container{height:100%}.dp__overlay_row{padding:0;box-sizing:border-box;display:flex;margin-inline:auto auto;flex-wrap:wrap;max-width:100%;width:100%;align-items:center}.dp__flex_row{flex:1}.dp__overlay_col{box-sizing:border-box;width:33%;padding:var(--dp-overlay-col-padding);white-space:nowrap}.dp__overlay_cell_pad{padding:var(--dp-common-padding) 0}.dp__overlay_cell_active{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center;background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__overlay_cell{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center}.dp__overlay_cell:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__cell_in_between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__over_action_scroll{right:5px;box-sizing:border-box}.dp__overlay_cell_disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp__overlay_cell_disabled:hover{background:var(--dp-disabled-color)}.dp__overlay_cell_active_disabled{cursor:not-allowed;background:var(--dp-primary-disabled-color)}.dp__overlay_cell_active_disabled:hover{background:var(--dp-primary-disabled-color)}.dp__btn,.dp--qr-btn,.dp--time-invalid,.dp--time-overlay-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--tp-wrap{max-width:var(--dp-menu-min-width)}.dp__time_input{width:100%;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;font-family:var(--dp-font-family);color:var(--dp-text-color)}.dp__time_col_reg_block{padding:0 20px}.dp__time_col_reg_inline{padding:0 10px}.dp__time_col_reg_with_button{padding:0 15px}.dp__time_col_sec{padding:0 10px}.dp__time_col_sec_with_button{padding:0 5px}.dp__time_col{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.dp__time_col_block{font-size:var(--dp-time-font-size)}.dp__time_display{cursor:pointer;color:var(--dp-text-color);border-radius:var(--dp-border-radius);display:flex;align-items:center;justify-content:center}.dp__time_display:hover:enabled{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__time_display_block{padding:0 3px}.dp__time_display_inline{padding:5px}.dp__time_picker_inline_container{display:flex;width:100%;justify-content:center}.dp__inc_dec_button{padding:5px;margin:0;height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%;color:var(--dp-icon-color);box-sizing:border-box}.dp__inc_dec_button svg{height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size)}.dp__inc_dec_button:hover{background:var(--dp-hover-color);color:var(--dp-primary-color)}.dp__inc_dec_button_inline{width:100%;padding:0;height:8px;cursor:pointer;display:flex;align-items:center}.dp__inc_dec_button_disabled:hover,.dp__inc_dec_button_disabled{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp__pm_am_button{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border:none;padding:var(--dp-common-padding);border-radius:var(--dp-border-radius);cursor:pointer}.dp__tp_inline_btn_bar{width:100%;height:4px;background-color:var(--dp-secondary-color);transition:var(--dp-common-transition);border-collapse:collapse}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_l,.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(-12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_l{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp--time-overlay-btn{background:none}.dp--time-invalid{background-color:var(--dp-disabled-color)}.dp__action_row{display:flex;align-items:center;width:100%;padding:var(--dp-action-row-padding);box-sizing:border-box;color:var(--dp-text-color);flex-flow:row nowrap}.dp__action_row svg{height:var(--dp-button-icon-height);width:auto}.dp__selection_preview{display:block;color:var(--dp-text-color);font-size:var(--dp-preview-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp__action_buttons{display:flex;flex:0;white-space:nowrap;align-items:center;justify-content:flex-end;margin-inline-start:auto}.dp__action_button{display:inline-flex;align-items:center;background:#0000;border:1px solid rgba(0,0,0,0);padding:var(--dp-action-buttons-padding);line-height:var(--dp-action-button-height);margin-inline-start:3px;height:var(--dp-action-button-height);cursor:pointer;border-radius:var(--dp-border-radius);font-size:var(--dp-preview-font-size);font-family:var(--dp-font-family)}.dp__action_buttons .dp__action_select{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__action_buttons .dp__action_select:hover{background:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select:disabled{background:var(--dp-primary-disabled-color);cursor:not-allowed}.dp__action_cancel{color:var(--dp-text-color);border:1px solid var(--dp-border-color)}.dp__action_cancel:hover{border-color:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp-quarter-picker-wrap{display:flex;flex-direction:column;height:100%;min-width:var(--dp-menu-min-width)}.dp--qr-btn{width:100%;padding:var(--dp-common-padding)}.dp--qr-btn:not(.dp--highlighted,.dp--qr-btn-active,.dp--qr-btn-disabled,.dp--qr-btn-between){background:none}.dp--qr-btn:hover:not(.dp--qr-btn-active,.dp--qr-btn-disabled){background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp--quarter-items{display:flex;flex-direction:column;flex:1;width:100%;height:100%;justify-content:space-evenly}.dp--qr-btn-active{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp--qr-btn-between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp--qr-btn-disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp--qr-btn-disabled:hover{background:var(--dp-disabled-color)}.dp__btn,.dp--time-overlay-btn,.dp--time-invalid,.dp--qr-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--year-mode-picker{display:flex;width:100%;align-items:center;justify-content:space-between;height:var(--dp-cell-size)}:root{--dp-common-transition: all .1s ease-in;--dp-menu-padding: 6px 8px;--dp-animation-duration: .1s;--dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1);--dp-transition-timing: ease-out;--dp-action-row-transtion: all .2s ease-in;--dp-font-family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;--dp-border-radius: 4px;--dp-cell-border-radius: 4px;--dp-transition-length: 22px;--dp-transition-timing-general: .1s;--dp-button-height: 35px;--dp-month-year-row-height: 35px;--dp-month-year-row-button-size: 25px;--dp-button-icon-height: 20px;--dp-calendar-wrap-padding: 0 5px;--dp-cell-size: 35px;--dp-cell-padding: 5px;--dp-common-padding: 10px;--dp-input-icon-padding: 35px;--dp-input-padding: 6px 30px 6px 12px;--dp-menu-min-width: 260px;--dp-action-buttons-padding: 1px 6px;--dp-row-margin: 5px 0;--dp-calendar-header-cell-padding: .5rem;--dp-multi-calendars-spacing: 10px;--dp-overlay-col-padding: 3px;--dp-time-inc-dec-button-size: 32px;--dp-font-size: 1rem;--dp-preview-font-size: .8rem;--dp-time-font-size: 2rem;--dp-action-button-height: 22px;--dp-action-row-padding: 8px}.dp__theme_dark{--dp-background-color: #212121;--dp-text-color: #fff;--dp-hover-color: #484848;--dp-hover-text-color: #fff;--dp-hover-icon-color: #959595;--dp-primary-color: #005cb2;--dp-primary-disabled-color: #61a8ea;--dp-primary-text-color: #fff;--dp-secondary-color: #a9a9a9;--dp-border-color: #2d2d2d;--dp-menu-border-color: #2d2d2d;--dp-border-color-hover: #aaaeb7;--dp-disabled-color: #737373;--dp-disabled-color-text: #d0d0d0;--dp-scroll-bar-background: #212121;--dp-scroll-bar-color: #484848;--dp-success-color: #00701a;--dp-success-color-disabled: #428f59;--dp-icon-color: #959595;--dp-danger-color: #e53935;--dp-marker-color: #e53935;--dp-tooltip-color: #3e3e3e;--dp-highlight-color: rgb(0 92 178 / 20%);--dp-range-between-dates-background-color: var(--dp-hover-color, #484848);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #fff);--dp-range-between-border-color: var(--dp-hover-color, #fff);--dp-loader: 5px solid #005cb2}.dp__theme_light{--dp-background-color: #fff;--dp-text-color: #212121;--dp-hover-color: #f3f3f3;--dp-hover-text-color: #212121;--dp-hover-icon-color: #959595;--dp-primary-color: #1976d2;--dp-primary-disabled-color: #6bacea;--dp-primary-text-color: #f8f5f5;--dp-secondary-color: #c0c4cc;--dp-border-color: #ddd;--dp-menu-border-color: #ddd;--dp-border-color-hover: #aaaeb7;--dp-disabled-color: #f6f6f6;--dp-scroll-bar-background: #f3f3f3;--dp-scroll-bar-color: #959595;--dp-success-color: #76d275;--dp-success-color-disabled: #a3d9b1;--dp-icon-color: #959595;--dp-danger-color: #ff6f60;--dp-marker-color: #ff6f60;--dp-tooltip-color: #fafafa;--dp-disabled-color-text: #8e8e8e;--dp-highlight-color: rgb(25 118 210 / 10%);--dp-range-between-dates-background-color: var(--dp-hover-color, #f3f3f3);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #212121);--dp-range-between-border-color: var(--dp-hover-color, #f3f3f3);--dp-loader: 5px solid #1976d2}.dp__flex{display:flex;align-items:center}.dp__btn{background:none}.dp__main{font-family:var(--dp-font-family);-webkit-user-select:none;user-select:none;box-sizing:border-box;position:relative;width:100%}.dp__pointer{cursor:pointer}.dp__icon{stroke:currentcolor;fill:currentcolor}.dp__button{width:100%;text-align:center;color:var(--dp-icon-color);cursor:pointer;display:flex;align-items:center;place-content:center center;padding:var(--dp-common-padding);box-sizing:border-box;height:var(--dp-button-height)}.dp__button.dp__overlay_action{position:absolute;bottom:0}.dp__button:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}.dp__button svg{height:var(--dp-button-icon-height);width:auto}.dp__button_bottom{border-bottom-left-radius:var(--dp-border-radius);border-bottom-right-radius:var(--dp-border-radius)}.dp__flex_display{display:flex}.dp__flex_display_with_input{flex-direction:column;align-items:flex-start}.dp__relative{position:relative}.calendar-next-enter-active,.calendar-next-leave-active,.calendar-prev-enter-active,.calendar-prev-leave-active{transition:all var(--dp-transition-timing-general) ease-out}.calendar-next-enter-from{opacity:0;transform:translate(var(--dp-transition-length))}.calendar-next-leave-to,.calendar-prev-enter-from{opacity:0;transform:translate(calc(var(--dp-transition-length) * -1))}.calendar-prev-leave-to{opacity:0;transform:translate(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-active,.dp-menu-appear-bottom-leave-active,.dp-menu-appear-top-enter-active,.dp-menu-appear-top-leave-active,.dp-slide-up-enter-active,.dp-slide-up-leave-active,.dp-slide-down-enter-active,.dp-slide-down-leave-active{transition:all var(--dp-animation-duration) var(--dp-transition-timing)}.dp-menu-appear-top-enter-from,.dp-menu-appear-top-leave-to,.dp-slide-down-leave-to,.dp-slide-up-enter-from{opacity:0;transform:translateY(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-from,.dp-menu-appear-bottom-leave-to,.dp-slide-down-enter-from,.dp-slide-up-leave-to{opacity:0;transform:translateY(calc(var(--dp-transition-length) * -1))}.dp--arrow-btn-nav{transition:var(--dp-common-transition)}.dp--highlighted{background-color:var(--dp-highlight-color)}.clickable-text{color:#1976d2;cursor:pointer}.input-slot-image{height:20px;width:auto;margin-left:5px}.input-slot-image-clear{height:20px;width:auto;margin-right:5px}.slot-icon{height:20px;width:auto}.slot-icon-m{height:20px;width:auto;margin:0 auto}.custom-select{cursor:pointer;color:var(--vp-c-text-2);margin:0;display:inline-block}.marked-cell{background:var(--vp-c-brand);color:#fff}.main>.text{width:100%;max-width:100%}.main>.tagline{width:100%;max-width:100%}@media (min-width: 640px){.main>.text{font-size:46px}}.star-and-sponsor{display:flex;justify-content:center;margin:2rem}.home-link{color:var(--vp-c-brand)}.action-row{display:flex;flex-direction:column;align-items:center;width:100%}.custom-marker{position:absolute;top:0;right:0;height:8px;width:8px;border-radius:100%;background-color:green}.demo-wrap-inline{display:inline-block}.pointer{cursor:pointer}.red-color{color:red}.time-picker-overlay{display:flex;height:100%;flex-direction:column}.input-class{border:1px solid var(--vp-c-divider-light)}.dp-sidebar{padding:5px}.centered{margin:0 auto}.select-input{-webkit-appearance:menulist}.overlay-header{cursor:pointer;text-align:center}.buttons-wrap[data-v-2a3dee5c]{display:flex;gap:5px;margin-bottom:10px}.change-btn[data-v-2a3dee5c]{padding:5px;color:var(--vp-c-brand);border:1px solid var(--vp-c-brand);border-radius:4px}.btn-active[data-v-2a3dee5c]{background:var(--vp-c-brand);color:#fff}.dp-custom-input{box-shadow:0 0 6px #1976d2;color:#1976d2}.dp-custom-input:hover{border-color:#1976d2}.dp-custom-menu{box-shadow:0 0 6px #1976d2}.dp-custom-calendar .dp__calendar_item{border:1px solid var(--dp-border-color-hover)}.dp-custom-cell{border-radius:50%!important}.custom-month-year-component{display:flex;align-items:center;margin:0 auto}.year-overlay{text-align:center}.select-input{margin:5px 3px;padding:5px;width:auto;border-radius:4px;border-color:var(--dp-border-color);outline:none;-webkit-appearance:menulist}.icons{display:flex;box-sizing:border-box}.custom-icon{padding:5px;display:flex;height:25px;align-items:center;justify-content:center;cursor:pointer;width:25px;color:var(--dp-icon-color);text-align:center;border-radius:50%}.custom-icon svg{height:20px;width:20px}.custom-icon:hover{background:var(--dp-hover-color)}.submit-btn{margin-top:15px;border:1px solid var(--vp-c-divider-light);padding:5px}.buttons-wrap[data-v-e3f2bf69]{display:flex;gap:5px;margin-bottom:10px}.change-btn[data-v-e3f2bf69]{padding:5px;color:var(--vp-c-brand);border:1px solid var(--vp-c-brand);border-radius:4px}.btn-active[data-v-e3f2bf69]{background:var(--vp-c-brand);color:#fff}.custom-time-picker-component{display:flex;align-items:center;justify-content:center}.select-input{margin:5px 3px;padding:5px;width:100px;border-radius:4px;border-color:var(--dp-border-color);outline:none;-webkit-appearance:menulist}.custom-select[data-v-323b52ea]{display:block;margin-bottom:5px;padding:5px;-webkit-appearance:menulist}.tz-demo-wrap[data-v-938a3203]{display:flex;flex-direction:column;align-items:center;width:100%}.tz-range-slider-wrap[data-v-938a3203]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:10px}.tz-range-slider[data-v-938a3203]{width:400px}.VPCarbonAds[data-v-2e1efd59]{display:flex;justify-content:center;align-items:center;padding:24px;border-radius:12px;min-height:256px;text-align:center;line-height:18px;font-size:12px;font-weight:500;background-color:var(--vp-carbon-ads-bg-color)}.VPCarbonAds[data-v-2e1efd59] img{margin:0 auto;border-radius:6px}.VPCarbonAds[data-v-2e1efd59] .carbon-text{display:block;margin:0 auto;padding-top:12px;color:var(--vp-carbon-ads-text-color);transition:color .25s}.VPCarbonAds[data-v-2e1efd59] .carbon-text:hover{color:var(--vp-carbon-ads-hover-text-color)}.VPCarbonAds[data-v-2e1efd59] .carbon-poweredby{display:block;padding-top:6px;font-size:11px;font-weight:500;color:var(--vp-carbon-ads-poweredby-color);text-transform:uppercase;transition:color .25s}.VPCarbonAds[data-v-2e1efd59] .carbon-poweredby:hover{color:var(--vp-carbon-ads-hover-poweredby-color)}.VPCarbonAds[data-v-2e1efd59]>div{display:none}.VPCarbonAds[data-v-2e1efd59]>div:first-of-type{display:block} +@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-cyrillic.CMhn1ESj.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-cyrillic-ext.DxP3Awbn.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-greek.JvnBZ4YD.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-greek-ext.D0mI3NpI.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-latin.Bu8hRsVA.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-latin-ext.ZlYT4o7i.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/assets/inter-roman-vietnamese.ClpjcLMQ.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-cyrillic.D6csxwjC.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-cyrillic-ext.5XJwZIOp.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-greek.9J96vYpw.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-greek-ext.CHOfFY1k.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-latin.DbsTr1gm.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-latin-ext.BGcWXLrn.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/assets/inter-italic-vietnamese.DHNAd7Wr.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Chinese Quotes;src:local("PingFang SC Regular"),local("PingFang SC"),local("SimHei"),local("Source Han Sans SC");unicode-range:U+2018,U+2019,U+201C,U+201D}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Chinese Quotes", "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{display:inline-block;margin:auto 2px -2px}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.vpi-social-discord{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'/%3E%3C/svg%3E")}.vpi-social-facebook{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E")}.vpi-social-github{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")}.vpi-social-instagram{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.03.084c-1.277.06-2.149.264-2.91.563a5.874 5.874 0 0 0-2.124 1.388 5.878 5.878 0 0 0-1.38 2.127C.321 4.926.12 5.8.064 7.076.008 8.354-.005 8.764.001 12.023c.007 3.259.021 3.667.083 4.947.061 1.277.264 2.149.563 2.911.308.789.72 1.457 1.388 2.123a5.872 5.872 0 0 0 2.129 1.38c.763.295 1.636.496 2.913.552 1.278.056 1.689.069 4.947.063 3.257-.007 3.668-.021 4.947-.082 1.28-.06 2.147-.265 2.91-.563a5.881 5.881 0 0 0 2.123-1.388 5.881 5.881 0 0 0 1.38-2.129c.295-.763.496-1.636.551-2.912.056-1.28.07-1.69.063-4.948-.006-3.258-.02-3.667-.081-4.947-.06-1.28-.264-2.148-.564-2.911a5.892 5.892 0 0 0-1.387-2.123 5.857 5.857 0 0 0-2.128-1.38C19.074.322 18.202.12 16.924.066 15.647.009 15.236-.006 11.977 0 8.718.008 8.31.021 7.03.084m.14 21.693c-1.17-.05-1.805-.245-2.228-.408a3.736 3.736 0 0 1-1.382-.895 3.695 3.695 0 0 1-.9-1.378c-.165-.423-.363-1.058-.417-2.228-.06-1.264-.072-1.644-.08-4.848-.006-3.204.006-3.583.061-4.848.05-1.169.246-1.805.408-2.228.216-.561.477-.96.895-1.382a3.705 3.705 0 0 1 1.379-.9c.423-.165 1.057-.361 2.227-.417 1.265-.06 1.644-.072 4.848-.08 3.203-.006 3.583.006 4.85.062 1.168.05 1.804.244 2.227.408.56.216.96.475 1.382.895.421.42.681.817.9 1.378.165.422.362 1.056.417 2.227.06 1.265.074 1.645.08 4.848.005 3.203-.006 3.583-.061 4.848-.051 1.17-.245 1.805-.408 2.23-.216.56-.477.96-.896 1.38a3.705 3.705 0 0 1-1.378.9c-.422.165-1.058.362-2.226.418-1.266.06-1.645.072-4.85.079-3.204.007-3.582-.006-4.848-.06m9.783-16.192a1.44 1.44 0 1 0 1.437-1.442 1.44 1.44 0 0 0-1.437 1.442M5.839 12.012a6.161 6.161 0 1 0 12.323-.024 6.162 6.162 0 0 0-12.323.024M8 12.008A4 4 0 1 1 12.008 16 4 4 0 0 1 8 12.008'/%3E%3C/svg%3E")}.vpi-social-linkedin{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E")}.vpi-social-mastodon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E")}.vpi-social-npm{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z'/%3E%3C/svg%3E")}.vpi-social-slack{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zm1.271 0a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zm0 1.271a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zm10.122 2.521a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zm-1.268 0a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zm-2.523 10.122a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zm0-1.268a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z'/%3E%3C/svg%3E")}.vpi-social-twitter,.vpi-social-x{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E")}.vpi-social-youtube{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s}.vp-doc blockquote>p{margin:0;font-size:16px;color:var(--vp-c-text-2);transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-c79a1216]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-c79a1216],.VPBackdrop.fade-leave-to[data-v-c79a1216]{opacity:0}.VPBackdrop.fade-leave-active[data-v-c79a1216]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-c79a1216]{display:none}}.NotFound[data-v-f87ff6e4]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-f87ff6e4]{padding:96px 32px 168px}}.code[data-v-f87ff6e4]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-f87ff6e4]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-f87ff6e4]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-f87ff6e4]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-f87ff6e4]{padding-top:20px}.link[data-v-f87ff6e4]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-f87ff6e4]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-b933a997]{position:relative;z-index:1}.nested[data-v-b933a997]{padding-right:16px;padding-left:16px}.outline-link[data-v-b933a997]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-b933a997]:hover,.outline-link.active[data-v-b933a997]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-b933a997]{padding-left:13px}.VPDocAsideOutline[data-v-935f8a84]{display:none}.VPDocAsideOutline.has-outline[data-v-935f8a84]{display:block}.content[data-v-935f8a84]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-935f8a84]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-935f8a84]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-3f215769]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-3f215769]{flex-grow:1}.VPDocAside[data-v-3f215769] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-3f215769] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-3f215769] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-7e05ebdb]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-7e05ebdb]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-09de1c0f]{margin-top:64px}.edit-info[data-v-09de1c0f]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-09de1c0f]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-09de1c0f]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-09de1c0f]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-09de1c0f]{margin-right:8px}.prev-next[data-v-09de1c0f]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-09de1c0f]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-09de1c0f]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-09de1c0f]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-09de1c0f]{margin-left:auto;text-align:right}.desc[data-v-09de1c0f]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-09de1c0f]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-39a288b8]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-39a288b8]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-39a288b8]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-39a288b8]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-39a288b8]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-39a288b8]{display:flex;justify-content:center}.VPDoc .aside[data-v-39a288b8]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-39a288b8]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-39a288b8]{max-width:1104px}}.container[data-v-39a288b8]{margin:0 auto;width:100%}.aside[data-v-39a288b8]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-39a288b8]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-39a288b8]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-39a288b8]::-webkit-scrollbar{display:none}.aside-curtain[data-v-39a288b8]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-39a288b8]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-39a288b8]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-39a288b8]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-39a288b8]{order:1;margin:0;min-width:640px}}.content-container[data-v-39a288b8]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-39a288b8]{max-width:688px}.VPButton[data-v-cad61b99]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-cad61b99]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-cad61b99]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-cad61b99]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-cad61b99]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-cad61b99]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-cad61b99]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-cad61b99]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-cad61b99]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-cad61b99]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-cad61b99]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-cad61b99]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-cad61b99]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-8426fc1a]{display:none}.dark .VPImage.light[data-v-8426fc1a]{display:none}.VPHero[data-v-303bb580]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-303bb580]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-303bb580]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-303bb580]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-303bb580]{flex-direction:row}}.main[data-v-303bb580]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-303bb580]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-303bb580]{text-align:left}}@media (min-width: 960px){.main[data-v-303bb580]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-303bb580]{max-width:592px}}.name[data-v-303bb580],.text[data-v-303bb580]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-303bb580],.VPHero.has-image .text[data-v-303bb580]{margin:0 auto}.name[data-v-303bb580]{color:var(--vp-home-hero-name-color)}.clip[data-v-303bb580]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-303bb580],.text[data-v-303bb580]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-303bb580],.text[data-v-303bb580]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-303bb580],.VPHero.has-image .text[data-v-303bb580]{margin:0}}.tagline[data-v-303bb580]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-303bb580]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-303bb580]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-303bb580]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-303bb580]{margin:0}}.actions[data-v-303bb580]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-303bb580]{justify-content:center}@media (min-width: 640px){.actions[data-v-303bb580]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-303bb580]{justify-content:flex-start}}.action[data-v-303bb580]{flex-shrink:0;padding:6px}.image[data-v-303bb580]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-303bb580]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-303bb580]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-303bb580]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-303bb580]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-303bb580]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-303bb580]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-303bb580]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-303bb580]{width:320px;height:320px}}[data-v-303bb580] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-303bb580] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-303bb580] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-a3976bdc]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-a3976bdc]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-a3976bdc]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-a3976bdc]>.VPImage{margin-bottom:20px}.icon[data-v-a3976bdc]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-a3976bdc]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-a3976bdc]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-a3976bdc]{padding-top:8px}.link-text-value[data-v-a3976bdc]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-a3976bdc]{margin-left:6px}.VPFeatures[data-v-a6181336]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-a6181336]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-a6181336]{padding:0 64px}}.container[data-v-a6181336]{margin:0 auto;max-width:1152px}.items[data-v-a6181336]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-a6181336]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-a6181336],.item.grid-4[data-v-a6181336],.item.grid-6[data-v-a6181336]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-a6181336],.item.grid-4[data-v-a6181336]{width:50%}.item.grid-3[data-v-a6181336],.item.grid-6[data-v-a6181336]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-a6181336]{width:25%}}.container[data-v-82d4af08]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-82d4af08]{padding:0 48px}}@media (min-width: 960px){.container[data-v-82d4af08]{width:100%;padding:0 64px}}.vp-doc[data-v-82d4af08] .VPHomeSponsors,.vp-doc[data-v-82d4af08] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-82d4af08] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-82d4af08] .VPHomeSponsors a,.vp-doc[data-v-82d4af08] .VPTeamPage a{text-decoration:none}.VPHome[data-v-686f80a6]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-686f80a6]{margin-bottom:128px}}.VPContent[data-v-1428d186]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-1428d186]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-1428d186]{margin:0}@media (min-width: 960px){.VPContent[data-v-1428d186]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-1428d186]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-1428d186]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-e315a0ad]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-e315a0ad]{display:none}.VPFooter[data-v-e315a0ad] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-e315a0ad] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-e315a0ad]{padding:32px}}.container[data-v-e315a0ad]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-e315a0ad],.copyright[data-v-e315a0ad]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-d2ecc192]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-d2ecc192]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-d2ecc192]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-d2ecc192]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-d2ecc192]{color:var(--vp-c-text-1)}.icon[data-v-d2ecc192]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-d2ecc192]{font-size:14px}.icon[data-v-d2ecc192]{font-size:16px}}.open>.icon[data-v-d2ecc192]{transform:rotate(90deg)}.items[data-v-d2ecc192]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-d2ecc192]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-d2ecc192]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-d2ecc192]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-d2ecc192]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-d2ecc192]{transition:all .2s ease-out}.flyout-leave-active[data-v-d2ecc192]{transition:all .15s ease-in}.flyout-enter-from[data-v-d2ecc192],.flyout-leave-to[data-v-d2ecc192]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-a6f0e41e]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-a6f0e41e]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-a6f0e41e]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-a6f0e41e]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-a6f0e41e]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-a6f0e41e]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-a6f0e41e]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-a6f0e41e]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-a6f0e41e]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-a6f0e41e]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-a6f0e41e]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-a6f0e41e]{display:none}}.menu-icon[data-v-a6f0e41e]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-a6f0e41e]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-a6f0e41e]{padding:12px 32px 11px}}.VPSwitch[data-v-1d5665e3]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-1d5665e3]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-1d5665e3]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-1d5665e3]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-1d5665e3] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-1d5665e3] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-d1f28634]{opacity:1}.moon[data-v-d1f28634],.dark .sun[data-v-d1f28634]{opacity:0}.dark .moon[data-v-d1f28634]{opacity:1}.dark .VPSwitchAppearance[data-v-d1f28634] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-e6aabb21]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-e6aabb21]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-43f1e123]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-43f1e123]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-43f1e123]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-43f1e123]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-69e747b5]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-69e747b5]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-69e747b5]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-69e747b5]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-e7ea1737]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-e7ea1737] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-e7ea1737] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-e7ea1737] .group:last-child{padding-bottom:0}.VPMenu[data-v-e7ea1737] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-e7ea1737] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-e7ea1737] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-e7ea1737] .action{padding-left:24px}.VPFlyout[data-v-b6c34ac9]{position:relative}.VPFlyout[data-v-b6c34ac9]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-b6c34ac9]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-b6c34ac9]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-b6c34ac9]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-b6c34ac9]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-b6c34ac9],.button[aria-expanded=true]+.menu[data-v-b6c34ac9]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-b6c34ac9]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-b6c34ac9]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-b6c34ac9]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-b6c34ac9]{margin-right:0;font-size:16px}.text-icon[data-v-b6c34ac9]{margin-left:4px;font-size:14px}.icon[data-v-b6c34ac9]{font-size:20px;transition:fill .25s}.menu[data-v-b6c34ac9]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-eee4e7cb]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-eee4e7cb]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-eee4e7cb]>svg,.VPSocialLink[data-v-eee4e7cb]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-7bc22406]{display:flex;justify-content:center}.VPNavBarExtra[data-v-d0bd9dde]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-d0bd9dde]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-d0bd9dde]{display:none}}.trans-title[data-v-d0bd9dde]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-d0bd9dde],.item.social-links[data-v-d0bd9dde]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-d0bd9dde]{min-width:176px}.appearance-action[data-v-d0bd9dde]{margin-right:-2px}.social-links-list[data-v-d0bd9dde]{margin:-4px -8px}.VPNavBarHamburger[data-v-e5dd9c1c]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-e5dd9c1c]{display:none}}.container[data-v-e5dd9c1c]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-e5dd9c1c]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-e5dd9c1c]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-e5dd9c1c]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-e5dd9c1c]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-e5dd9c1c]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-e5dd9c1c]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-e5dd9c1c],.VPNavBarHamburger.active:hover .middle[data-v-e5dd9c1c],.VPNavBarHamburger.active:hover .bottom[data-v-e5dd9c1c]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-e5dd9c1c],.middle[data-v-e5dd9c1c],.bottom[data-v-e5dd9c1c]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-e5dd9c1c]{top:0;left:0;transform:translate(0)}.middle[data-v-e5dd9c1c]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-e5dd9c1c]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-9c663999]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-9c663999],.VPNavBarMenuLink[data-v-9c663999]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-7f418b0f]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-7f418b0f]{display:flex}}/*! @docsearch/css 3.6.0 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-0394ad82]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-0394ad82]{display:flex;align-items:center}}.title[data-v-ab179fa1]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-ab179fa1]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-ab179fa1]{border-bottom-color:var(--vp-c-divider)}}[data-v-ab179fa1] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-88af2de4]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-88af2de4]{display:flex;align-items:center}}.title[data-v-88af2de4]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-ccf7ddec]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .5s}.VPNavBar[data-v-ccf7ddec]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-ccf7ddec]:not(.home){background-color:transparent}.VPNavBar[data-v-ccf7ddec]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-ccf7ddec]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-ccf7ddec]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-ccf7ddec]{padding:0}}.container[data-v-ccf7ddec]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-ccf7ddec],.container>.content[data-v-ccf7ddec]{pointer-events:none}.container[data-v-ccf7ddec] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-ccf7ddec]{max-width:100%}}.title[data-v-ccf7ddec]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-ccf7ddec]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-ccf7ddec]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-ccf7ddec]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-ccf7ddec]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-ccf7ddec]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-ccf7ddec]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-ccf7ddec]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-ccf7ddec]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-ccf7ddec]{column-gap:.5rem}}.menu+.translations[data-v-ccf7ddec]:before,.menu+.appearance[data-v-ccf7ddec]:before,.menu+.social-links[data-v-ccf7ddec]:before,.translations+.appearance[data-v-ccf7ddec]:before,.appearance+.social-links[data-v-ccf7ddec]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-ccf7ddec]:before,.translations+.appearance[data-v-ccf7ddec]:before{margin-right:16px}.appearance+.social-links[data-v-ccf7ddec]:before{margin-left:16px}.social-links[data-v-ccf7ddec]{margin-right:-8px}.divider[data-v-ccf7ddec]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-ccf7ddec]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-ccf7ddec]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-ccf7ddec]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-ccf7ddec]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-ccf7ddec]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-ccf7ddec]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-2d7af913]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-2d7af913]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-7f31e1f6]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-7f31e1f6]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-19976ae1]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-19976ae1]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-8133b170]{display:block}.title[data-v-8133b170]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-ff6087d4]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-ff6087d4]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-ff6087d4]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-ff6087d4]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-ff6087d4]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-ff6087d4]{transform:rotate(45deg)}.button[data-v-ff6087d4]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-ff6087d4]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-ff6087d4]{transition:transform .25s}.group[data-v-ff6087d4]:first-child{padding-top:0}.group+.group[data-v-ff6087d4],.group+.item[data-v-ff6087d4]{padding-top:4px}.VPNavScreenTranslations[data-v-858fe1a4]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-858fe1a4]{height:auto}.title[data-v-858fe1a4]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-858fe1a4]{font-size:16px}.icon.lang[data-v-858fe1a4]{margin-right:8px}.icon.chevron[data-v-858fe1a4]{margin-left:4px}.list[data-v-858fe1a4]{padding:4px 0 0 24px}.link[data-v-858fe1a4]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-cc5739dd]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 1px);right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .5s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-cc5739dd],.VPNavScreen.fade-leave-active[data-v-cc5739dd]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-cc5739dd],.VPNavScreen.fade-leave-active .container[data-v-cc5739dd]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-cc5739dd],.VPNavScreen.fade-leave-to[data-v-cc5739dd]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-cc5739dd],.VPNavScreen.fade-leave-to .container[data-v-cc5739dd]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-cc5739dd]{display:none}}.container[data-v-cc5739dd]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-cc5739dd],.menu+.appearance[data-v-cc5739dd],.translations+.appearance[data-v-cc5739dd]{margin-top:24px}.menu+.social-links[data-v-cc5739dd]{margin-top:16px}.appearance+.social-links[data-v-cc5739dd]{margin-top:16px}.VPNav[data-v-ae24b3ad]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-ae24b3ad]{position:fixed}}.VPSidebarItem.level-0[data-v-b8d55f3b]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-b8d55f3b]{padding-bottom:10px}.item[data-v-b8d55f3b]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-b8d55f3b]{cursor:pointer}.indicator[data-v-b8d55f3b]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-b8d55f3b],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-b8d55f3b],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-b8d55f3b],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-b8d55f3b]{background-color:var(--vp-c-brand-1)}.link[data-v-b8d55f3b]{display:flex;align-items:center;flex-grow:1}.text[data-v-b8d55f3b]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-b8d55f3b]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-b8d55f3b],.VPSidebarItem.level-2 .text[data-v-b8d55f3b],.VPSidebarItem.level-3 .text[data-v-b8d55f3b],.VPSidebarItem.level-4 .text[data-v-b8d55f3b],.VPSidebarItem.level-5 .text[data-v-b8d55f3b]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-b8d55f3b],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-b8d55f3b],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-b8d55f3b],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-b8d55f3b],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-b8d55f3b],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-b8d55f3b]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-1.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-2.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-3.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-4.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-5.has-active>.item>.text[data-v-b8d55f3b],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-b8d55f3b],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-b8d55f3b],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-b8d55f3b],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-b8d55f3b],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-b8d55f3b],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-b8d55f3b]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-b8d55f3b],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-b8d55f3b],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-b8d55f3b],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-b8d55f3b],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-b8d55f3b],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-b8d55f3b]{color:var(--vp-c-brand-1)}.caret[data-v-b8d55f3b]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-b8d55f3b]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-b8d55f3b]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-b8d55f3b]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-b8d55f3b]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-b8d55f3b],.VPSidebarItem.level-2 .items[data-v-b8d55f3b],.VPSidebarItem.level-3 .items[data-v-b8d55f3b],.VPSidebarItem.level-4 .items[data-v-b8d55f3b],.VPSidebarItem.level-5 .items[data-v-b8d55f3b]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-b8d55f3b]{display:none}.VPSidebar[data-v-575e6a36]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-575e6a36]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-575e6a36]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-575e6a36]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-575e6a36]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-575e6a36]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-575e6a36]{outline:0}.group+.group[data-v-575e6a36]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-575e6a36]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSkipLink[data-v-0f60ec36]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-0f60ec36]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-0f60ec36]{top:14px;left:16px}}.Layout[data-v-5d98c3a5]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-3d121b4a]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-3d121b4a]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-3d121b4a]{margin:128px 0}}.VPHomeSponsors[data-v-3d121b4a]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-3d121b4a]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-3d121b4a]{padding:0 64px}}.container[data-v-3d121b4a]{margin:0 auto;max-width:1152px}.love[data-v-3d121b4a]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-3d121b4a]{display:inline-block}.message[data-v-3d121b4a]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-3d121b4a]{padding-top:32px}.action[data-v-3d121b4a]{padding-top:40px;text-align:center}.VPTeamPage[data-v-7c57f839]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-7c57f839]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-7c57f839-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-7c57f839-s],.VPTeamMembers+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-7c57f839-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-7c57f839-s],.VPTeamMembers+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:96px}}.VPTeamMembers[data-v-7c57f839-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-7c57f839-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-7c57f839-s]{padding:0 64px}}.VPTeamPageTitle[data-v-bf2cbdac]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-bf2cbdac]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-bf2cbdac]{padding:80px 64px 48px}}.title[data-v-bf2cbdac]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-bf2cbdac]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-bf2cbdac]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-bf2cbdac]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-b1a88750]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-b1a88750]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-b1a88750]{padding:0 64px}}.title[data-v-b1a88750]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-b1a88750]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-b1a88750]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-b1a88750]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-b1a88750]{padding-top:40px}.VPTeamMembersItem[data-v-f3fa364a]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-f3fa364a]{padding:32px}.VPTeamMembersItem.small .data[data-v-f3fa364a]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-f3fa364a]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-f3fa364a]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-f3fa364a]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-f3fa364a]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-f3fa364a]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-f3fa364a]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-f3fa364a]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-f3fa364a]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-f3fa364a]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-f3fa364a]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-f3fa364a]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-f3fa364a]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-f3fa364a]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-f3fa364a]{text-align:center}.avatar[data-v-f3fa364a]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-f3fa364a]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-f3fa364a]{margin:0;font-weight:600}.affiliation[data-v-f3fa364a]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-f3fa364a]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-f3fa364a]:hover{color:var(--vp-c-brand-1)}.desc[data-v-f3fa364a]{margin:0 auto}.desc[data-v-f3fa364a] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-f3fa364a]{display:flex;justify-content:center;height:56px}.sp-link[data-v-f3fa364a]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-f3fa364a]:hover,.sp .sp-link.link[data-v-f3fa364a]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-f3fa364a]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-6cb0dbc4]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-6cb0dbc4]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-6cb0dbc4]{max-width:876px}.VPTeamMembers.medium .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-6cb0dbc4]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-6cb0dbc4]{max-width:760px}.container[data-v-6cb0dbc4]{display:grid;gap:24px;margin:0 auto;max-width:1152px}.dp__input_wrap{position:relative;width:100%;box-sizing:unset}.dp__input_wrap:focus{border-color:var(--dp-border-color-hover);outline:none}.dp__input{background-color:var(--dp-background-color);border-radius:var(--dp-border-radius);font-family:var(--dp-font-family);border:1px solid var(--dp-border-color);outline:none;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:var(--dp-input-padding);color:var(--dp-text-color);box-sizing:border-box}.dp__input::placeholder{opacity:.7}.dp__input:hover{border-color:var(--dp-border-color-hover)}.dp__input_reg{caret-color:#0000}.dp__input_focus{border-color:var(--dp-border-color-hover)}.dp__disabled{background:var(--dp-disabled-color)}.dp__disabled::placeholder{color:var(--dp-disabled-color-text)}.dp__input_icons{display:inline-block;width:var(--dp-font-size);height:var(--dp-font-size);stroke-width:0;font-size:var(--dp-font-size);line-height:calc(var(--dp-font-size)*1.5);padding:6px 12px;color:var(--dp-icon-color);box-sizing:content-box}.dp__input_icon{cursor:pointer;position:absolute;top:50%;inset-inline-start:0;transform:translateY(-50%);color:var(--dp-icon-color)}.dp__clear_icon{position:absolute;top:50%;inset-inline-end:0;transform:translateY(-50%);cursor:pointer;color:var(--dp-icon-color)}.dp__input_icon_pad{padding-inline-start:var(--dp-input-icon-padding)}.dp__input_valid{box-shadow:0 0 var(--dp-border-radius) var(--dp-success-color);border-color:var(--dp-success-color)}.dp__input_valid:hover{border-color:var(--dp-success-color)}.dp__input_invalid{box-shadow:0 0 var(--dp-border-radius) var(--dp-danger-color);border-color:var(--dp-danger-color)}.dp__input_invalid:hover{border-color:var(--dp-danger-color)}.dp__menu{background:var(--dp-background-color);border-radius:var(--dp-border-radius);min-width:var(--dp-menu-min-width);font-family:var(--dp-font-family);font-size:var(--dp-font-size);-webkit-user-select:none;user-select:none;border:1px solid var(--dp-menu-border-color);box-sizing:border-box}.dp__menu:after{box-sizing:border-box}.dp__menu:before{box-sizing:border-box}.dp__menu:focus{border:1px solid var(--dp-menu-border-color);outline:none}.dp--menu-wrapper{position:absolute;z-index:99999}.dp__menu_inner{padding:var(--dp-menu-padding)}.dp--menu--inner-stretched{padding:6px 0}.dp__menu_index{z-index:99999}.dp-menu-loading,.dp__menu_readonly,.dp__menu_disabled{position:absolute;top:0;right:0;bottom:0;left:0;z-index:999999}.dp__menu_disabled{background:#ffffff80;cursor:not-allowed}.dp__menu_readonly{background:#0000;cursor:default}.dp-menu-loading{background:#ffffff80;cursor:default}.dp--menu-load-container{display:flex;height:100%;width:100%;justify-content:center;align-items:center}.dp--menu-loader{width:48px;height:48px;border:var(--dp-loader);border-bottom-color:#0000;border-radius:50%;display:inline-block;box-sizing:border-box;animation:dp-load-rotation 1s linear infinite;position:absolute}@keyframes dp-load-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.dp__arrow_top{left:var(--dp-arrow-left);top:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-top:1px solid var(--dp-menu-border-color);transform:translate(-50%,-50%) rotate(-45deg)}.dp__arrow_bottom{left:var(--dp-arrow-left);bottom:0;height:12px;width:12px;background-color:var(--dp-background-color);position:absolute;border-inline-end:1px solid var(--dp-menu-border-color);border-bottom:1px solid var(--dp-menu-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__action_extra{text-align:center;padding:2px 0}.dp--preset-dates{padding:5px;border-inline-end:1px solid var(--dp-border-color)}@media only screen and (width <= 600px){.dp--preset-dates{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}}.dp--preset-dates-collapsed{display:flex;align-self:center;border:none;overflow-x:auto;max-width:calc(var(--dp-menu-width) - var(--dp-action-row-padding)*2)}.dp__sidebar_left{padding:5px;border-inline-end:1px solid var(--dp-border-color)}.dp__sidebar_right{padding:5px;margin-inline-end:1px solid var(--dp-border-color)}.dp--preset-range{display:block;width:100%;padding:5px;text-align:left;white-space:nowrap;color:var(--dp-text-color);border-radius:var(--dp-border-radius);transition:var(--dp-common-transition)}.dp--preset-range:hover{background-color:var(--dp-hover-color);color:var(--dp-hover-text-color);cursor:pointer}@media only screen and (width <= 600px){.dp--preset-range{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range:first-child{margin-left:0}.dp--preset-range:last-child{margin-right:0}}.dp--preset-range-collapsed{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range-collapsed:first-child{margin-left:0}.dp--preset-range-collapsed:last-child{margin-right:0}.dp__menu_content_wrapper{display:flex}@media only screen and (width <= 600px){.dp__menu_content_wrapper{flex-direction:column-reverse}}.dp--menu-content-wrapper-collapsed{flex-direction:column-reverse}.dp__calendar_header{position:relative;display:flex;justify-content:center;align-items:center;color:var(--dp-text-color);white-space:nowrap;font-weight:700}.dp__calendar_header_item{text-align:center;flex-grow:1;height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);box-sizing:border-box}.dp__calendar_row{display:flex;justify-content:center;align-items:center;margin:var(--dp-row-margin)}.dp__calendar_item{text-align:center;flex-grow:1;box-sizing:border-box;color:var(--dp-text-color)}.dp__calendar{position:relative}.dp__calendar_header_cell{border-bottom:thin solid var(--dp-border-color);padding:var(--dp-calendar-header-cell-padding)}.dp__cell_inner{display:flex;align-items:center;text-align:center;justify-content:center;border-radius:var(--dp-cell-border-radius);height:var(--dp-cell-size);padding:var(--dp-cell-padding);width:var(--dp-cell-size);border:1px solid rgba(0,0,0,0);box-sizing:border-box;position:relative}.dp__cell_inner:hover{transition:all .2s}.dp__cell_auto_range_start,.dp__date_hover_start:hover,.dp__range_start{border-end-end-radius:0;border-start-end-radius:0}.dp__cell_auto_range_end,.dp__date_hover_end:hover,.dp__range_end{border-end-start-radius:0;border-start-start-radius:0}.dp__range_end,.dp__range_start,.dp__active_date{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__date_hover_end:hover,.dp__date_hover_start:hover,.dp__date_hover:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__cell_offset{color:var(--dp-secondary-color)}.dp__cell_disabled{color:var(--dp-secondary-color);cursor:not-allowed}.dp__range_between{background:var(--dp-range-between-dates-background-color);color:var(--dp-range-between-dates-text-color);border-radius:0;border:1px solid var(--dp-range-between-border-color)}.dp__range_between_week{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border-radius:0;border-top:1px solid var(--dp-primary-color);border-bottom:1px solid var(--dp-primary-color)}.dp__today{border:1px solid var(--dp-primary-color)}.dp__week_num{color:var(--dp-secondary-color);text-align:center}.dp__cell_auto_range{border-radius:0;border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_start{border-start-start-radius:var(--dp-border-radius);border-end-start-radius:var(--dp-border-radius);border-inline-start:1px dashed var(--dp-primary-color);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color)}.dp__cell_auto_range_end{border-start-end-radius:var(--dp-border-radius);border-end-end-radius:var(--dp-border-radius);border-top:1px dashed var(--dp-primary-color);border-bottom:1px dashed var(--dp-primary-color);border-inline-end:1px dashed var(--dp-primary-color)}.dp__calendar_header_separator{width:100%;height:1px;background:var(--dp-border-color)}.dp__calendar_next{margin-inline-start:var(--dp-multi-calendars-spacing)}.dp__marker_line,.dp__marker_dot{height:5px;background-color:var(--dp-marker-color);position:absolute;bottom:0}.dp__marker_dot{width:5px;border-radius:50%;left:50%;transform:translate(-50%)}.dp__marker_line{width:100%;left:0}.dp__marker_tooltip{position:absolute;border-radius:var(--dp-border-radius);background-color:var(--dp-tooltip-color);padding:5px;border:1px solid var(--dp-border-color);z-index:99999;box-sizing:border-box;cursor:default}.dp__tooltip_content{white-space:nowrap}.dp__tooltip_text{display:flex;align-items:center;flex-flow:row nowrap;color:var(--dp-text-color)}.dp__tooltip_mark{height:5px;width:5px;border-radius:50%;background-color:var(--dp-text-color);color:var(--dp-text-color);margin-inline-end:5px}.dp__arrow_bottom_tp{bottom:0;height:8px;width:8px;background-color:var(--dp-tooltip-color);position:absolute;border-inline-end:1px solid var(--dp-border-color);border-bottom:1px solid var(--dp-border-color);transform:translate(-50%,50%) rotate(45deg)}.dp__instance_calendar{position:relative;width:100%}@media only screen and (width <= 600px){.dp__flex_display{flex-direction:column}}.dp--flex-display-collapsed{flex-direction:column}.dp__cell_highlight{background-color:var(--dp-highlight-color)}.dp__month_year_row{display:flex;align-items:center;height:var(--dp-month-year-row-height);color:var(--dp-text-color);box-sizing:border-box}.dp__inner_nav{display:flex;align-items:center;justify-content:center;cursor:pointer;height:var(--dp-month-year-row-button-size);width:var(--dp-month-year-row-button-size);color:var(--dp-icon-color);text-align:center;border-radius:50%}.dp__inner_nav svg{height:var(--dp-button-icon-height);width:var(--dp-button-icon-height)}.dp__inner_nav:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}[dir=rtl] .dp__inner_nav{transform:rotate(180deg)}.dp__inner_nav_disabled:hover,.dp__inner_nav_disabled{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp--year-select,.dp__month_year_select{text-align:center;cursor:pointer;height:var(--dp-month-year-row-height);display:flex;align-items:center;justify-content:center;border-radius:var(--dp-border-radius);box-sizing:border-box;color:var(--dp-text-color)}.dp--year-select:hover,.dp__month_year_select:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__month_year_select{width:50%}.dp--year-select{width:100%}.dp__month_year_wrap{display:flex;flex-direction:row;width:100%}.dp__year_disable_select{justify-content:space-around}.dp--header-wrap{display:flex;width:100%;flex-direction:column}.dp__overlay{width:100%;background:var(--dp-background-color);transition:opacity 1s ease-out;z-index:99999;font-family:var(--dp-font-family);color:var(--dp-text-color);box-sizing:border-box}.dp--overlay-absolute{position:absolute;height:100%;top:0;left:0}.dp--overlay-relative{position:relative}.dp__overlay_container::-webkit-scrollbar-track{box-shadow:var(--dp-scroll-bar-background);background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar{width:5px;background-color:var(--dp-scroll-bar-background)}.dp__overlay_container::-webkit-scrollbar-thumb{background-color:var(--dp-scroll-bar-color);border-radius:10px}.dp__overlay:focus{border:none;outline:none}.dp__container_flex{display:flex}.dp__container_block{display:block}.dp__overlay_container{flex-direction:column;overflow-y:auto}.dp__time_picker_overlay_container{height:100%}.dp__overlay_row{padding:0;box-sizing:border-box;display:flex;margin-inline:auto auto;flex-wrap:wrap;max-width:100%;width:100%;align-items:center}.dp__flex_row{flex:1}.dp__overlay_col{box-sizing:border-box;width:33%;padding:var(--dp-overlay-col-padding);white-space:nowrap}.dp__overlay_cell_pad{padding:var(--dp-common-padding) 0}.dp__overlay_cell_active{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center;background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__overlay_cell{cursor:pointer;border-radius:var(--dp-border-radius);text-align:center}.dp__overlay_cell:hover{background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp__cell_in_between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__over_action_scroll{right:5px;box-sizing:border-box}.dp__overlay_cell_disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp__overlay_cell_disabled:hover{background:var(--dp-disabled-color)}.dp__overlay_cell_active_disabled{cursor:not-allowed;background:var(--dp-primary-disabled-color)}.dp__overlay_cell_active_disabled:hover{background:var(--dp-primary-disabled-color)}.dp__btn,.dp--qr-btn,.dp--time-invalid,.dp--time-overlay-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--tp-wrap{max-width:var(--dp-menu-min-width)}.dp__time_input{width:100%;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;font-family:var(--dp-font-family);color:var(--dp-text-color)}.dp__time_col_reg_block{padding:0 20px}.dp__time_col_reg_inline{padding:0 10px}.dp__time_col_reg_with_button{padding:0 15px}.dp__time_col_sec{padding:0 10px}.dp__time_col_sec_with_button{padding:0 5px}.dp__time_col{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.dp__time_col_block{font-size:var(--dp-time-font-size)}.dp__time_display{cursor:pointer;color:var(--dp-text-color);border-radius:var(--dp-border-radius);display:flex;align-items:center;justify-content:center}.dp__time_display:hover:enabled{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp__time_display_block{padding:0 3px}.dp__time_display_inline{padding:5px}.dp__time_picker_inline_container{display:flex;width:100%;justify-content:center}.dp__inc_dec_button{padding:5px;margin:0;height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size);display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:50%;color:var(--dp-icon-color);box-sizing:border-box}.dp__inc_dec_button svg{height:var(--dp-time-inc-dec-button-size);width:var(--dp-time-inc-dec-button-size)}.dp__inc_dec_button:hover{background:var(--dp-hover-color);color:var(--dp-primary-color)}.dp__inc_dec_button_inline{width:100%;padding:0;height:8px;cursor:pointer;display:flex;align-items:center}.dp__inc_dec_button_disabled:hover,.dp__inc_dec_button_disabled{background:var(--dp-disabled-color);color:var(--dp-disabled-color-text);cursor:not-allowed}.dp__pm_am_button{background:var(--dp-primary-color);color:var(--dp-primary-text-color);border:none;padding:var(--dp-common-padding);border-radius:var(--dp-border-radius);cursor:pointer}.dp__tp_inline_btn_bar{width:100%;height:4px;background-color:var(--dp-secondary-color);transition:var(--dp-common-transition);border-collapse:collapse}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_top:hover .dp__tp_btn_in_l,.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_r{background-color:var(--dp-primary-color);transform:rotate(-12deg) scale(1.15) translateY(-2px)}.dp__tp_inline_btn_bottom:hover .dp__tp_btn_in_l{background-color:var(--dp-primary-color);transform:rotate(12deg) scale(1.15) translateY(-2px)}.dp--time-overlay-btn{background:none}.dp--time-invalid{background-color:var(--dp-disabled-color)}.dp__action_row{display:flex;align-items:center;width:100%;padding:var(--dp-action-row-padding);box-sizing:border-box;color:var(--dp-text-color);flex-flow:row nowrap}.dp__action_row svg{height:var(--dp-button-icon-height);width:auto}.dp__selection_preview{display:block;color:var(--dp-text-color);font-size:var(--dp-preview-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dp__action_buttons{display:flex;flex:0;white-space:nowrap;align-items:center;justify-content:flex-end;margin-inline-start:auto}.dp__action_button{display:inline-flex;align-items:center;background:#0000;border:1px solid rgba(0,0,0,0);padding:var(--dp-action-buttons-padding);line-height:var(--dp-action-button-height);margin-inline-start:3px;height:var(--dp-action-button-height);cursor:pointer;border-radius:var(--dp-border-radius);font-size:var(--dp-preview-font-size);font-family:var(--dp-font-family)}.dp__action_buttons .dp__action_select{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp__action_buttons .dp__action_select:hover{background:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp__action_buttons .dp__action_select:disabled{background:var(--dp-primary-disabled-color);cursor:not-allowed}.dp__action_cancel{color:var(--dp-text-color);border:1px solid var(--dp-border-color)}.dp__action_cancel:hover{border-color:var(--dp-primary-color);transition:var(--dp-action-row-transtion)}.dp-quarter-picker-wrap{display:flex;flex-direction:column;height:100%;min-width:var(--dp-menu-min-width)}.dp--qr-btn{width:100%;padding:var(--dp-common-padding)}.dp--qr-btn:not(.dp--highlighted,.dp--qr-btn-active,.dp--qr-btn-disabled,.dp--qr-btn-between){background:none}.dp--qr-btn:hover:not(.dp--qr-btn-active,.dp--qr-btn-disabled){background:var(--dp-hover-color);color:var(--dp-hover-text-color);transition:var(--dp-common-transition)}.dp--quarter-items{display:flex;flex-direction:column;flex:1;width:100%;height:100%;justify-content:space-evenly}.dp--qr-btn-active{background:var(--dp-primary-color);color:var(--dp-primary-text-color)}.dp--qr-btn-between{background:var(--dp-hover-color);color:var(--dp-hover-text-color)}.dp--qr-btn-disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp--qr-btn-disabled:hover{background:var(--dp-disabled-color)}.dp__btn,.dp--time-overlay-btn,.dp--time-invalid,.dp--qr-btn{border:none;font:inherit;transition:var(--dp-common-transition);line-height:normal}.dp--year-mode-picker{display:flex;width:100%;align-items:center;justify-content:space-between;height:var(--dp-cell-size)}:root{--dp-common-transition: all .1s ease-in;--dp-menu-padding: 6px 8px;--dp-animation-duration: .1s;--dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1);--dp-transition-timing: ease-out;--dp-action-row-transtion: all .2s ease-in;--dp-font-family: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;--dp-border-radius: 4px;--dp-cell-border-radius: 4px;--dp-transition-length: 22px;--dp-transition-timing-general: .1s;--dp-button-height: 35px;--dp-month-year-row-height: 35px;--dp-month-year-row-button-size: 25px;--dp-button-icon-height: 20px;--dp-calendar-wrap-padding: 0 5px;--dp-cell-size: 35px;--dp-cell-padding: 5px;--dp-common-padding: 10px;--dp-input-icon-padding: 35px;--dp-input-padding: 6px 30px 6px 12px;--dp-menu-min-width: 260px;--dp-action-buttons-padding: 1px 6px;--dp-row-margin: 5px 0;--dp-calendar-header-cell-padding: .5rem;--dp-multi-calendars-spacing: 10px;--dp-overlay-col-padding: 3px;--dp-time-inc-dec-button-size: 32px;--dp-font-size: 1rem;--dp-preview-font-size: .8rem;--dp-time-font-size: 2rem;--dp-action-button-height: 22px;--dp-action-row-padding: 8px}.dp__theme_dark{--dp-background-color: #212121;--dp-text-color: #fff;--dp-hover-color: #484848;--dp-hover-text-color: #fff;--dp-hover-icon-color: #959595;--dp-primary-color: #005cb2;--dp-primary-disabled-color: #61a8ea;--dp-primary-text-color: #fff;--dp-secondary-color: #a9a9a9;--dp-border-color: #2d2d2d;--dp-menu-border-color: #2d2d2d;--dp-border-color-hover: #aaaeb7;--dp-disabled-color: #737373;--dp-disabled-color-text: #d0d0d0;--dp-scroll-bar-background: #212121;--dp-scroll-bar-color: #484848;--dp-success-color: #00701a;--dp-success-color-disabled: #428f59;--dp-icon-color: #959595;--dp-danger-color: #e53935;--dp-marker-color: #e53935;--dp-tooltip-color: #3e3e3e;--dp-highlight-color: rgb(0 92 178 / 20%);--dp-range-between-dates-background-color: var(--dp-hover-color, #484848);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #fff);--dp-range-between-border-color: var(--dp-hover-color, #fff);--dp-loader: 5px solid #005cb2}.dp__theme_light{--dp-background-color: #fff;--dp-text-color: #212121;--dp-hover-color: #f3f3f3;--dp-hover-text-color: #212121;--dp-hover-icon-color: #959595;--dp-primary-color: #1976d2;--dp-primary-disabled-color: #6bacea;--dp-primary-text-color: #f8f5f5;--dp-secondary-color: #c0c4cc;--dp-border-color: #ddd;--dp-menu-border-color: #ddd;--dp-border-color-hover: #aaaeb7;--dp-disabled-color: #f6f6f6;--dp-scroll-bar-background: #f3f3f3;--dp-scroll-bar-color: #959595;--dp-success-color: #76d275;--dp-success-color-disabled: #a3d9b1;--dp-icon-color: #959595;--dp-danger-color: #ff6f60;--dp-marker-color: #ff6f60;--dp-tooltip-color: #fafafa;--dp-disabled-color-text: #8e8e8e;--dp-highlight-color: rgb(25 118 210 / 10%);--dp-range-between-dates-background-color: var(--dp-hover-color, #f3f3f3);--dp-range-between-dates-text-color: var(--dp-hover-text-color, #212121);--dp-range-between-border-color: var(--dp-hover-color, #f3f3f3);--dp-loader: 5px solid #1976d2}.dp__flex{display:flex;align-items:center}.dp__btn{background:none}.dp__main{font-family:var(--dp-font-family);-webkit-user-select:none;user-select:none;box-sizing:border-box;position:relative;width:100%}.dp__pointer{cursor:pointer}.dp__icon{stroke:currentcolor;fill:currentcolor}.dp__button{width:100%;text-align:center;color:var(--dp-icon-color);cursor:pointer;display:flex;align-items:center;place-content:center center;padding:var(--dp-common-padding);box-sizing:border-box;height:var(--dp-button-height)}.dp__button.dp__overlay_action{position:absolute;bottom:0}.dp__button:hover{background:var(--dp-hover-color);color:var(--dp-hover-icon-color)}.dp__button svg{height:var(--dp-button-icon-height);width:auto}.dp__button_bottom{border-bottom-left-radius:var(--dp-border-radius);border-bottom-right-radius:var(--dp-border-radius)}.dp__flex_display{display:flex}.dp__flex_display_with_input{flex-direction:column;align-items:flex-start}.dp__relative{position:relative}.calendar-next-enter-active,.calendar-next-leave-active,.calendar-prev-enter-active,.calendar-prev-leave-active{transition:all var(--dp-transition-timing-general) ease-out}.calendar-next-enter-from{opacity:0;transform:translate(var(--dp-transition-length))}.calendar-next-leave-to,.calendar-prev-enter-from{opacity:0;transform:translate(calc(var(--dp-transition-length) * -1))}.calendar-prev-leave-to{opacity:0;transform:translate(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-active,.dp-menu-appear-bottom-leave-active,.dp-menu-appear-top-enter-active,.dp-menu-appear-top-leave-active,.dp-slide-up-enter-active,.dp-slide-up-leave-active,.dp-slide-down-enter-active,.dp-slide-down-leave-active{transition:all var(--dp-animation-duration) var(--dp-transition-timing)}.dp-menu-appear-top-enter-from,.dp-menu-appear-top-leave-to,.dp-slide-down-leave-to,.dp-slide-up-enter-from{opacity:0;transform:translateY(var(--dp-transition-length))}.dp-menu-appear-bottom-enter-from,.dp-menu-appear-bottom-leave-to,.dp-slide-down-enter-from,.dp-slide-up-leave-to{opacity:0;transform:translateY(calc(var(--dp-transition-length) * -1))}.dp--arrow-btn-nav{transition:var(--dp-common-transition)}.dp--highlighted{background-color:var(--dp-highlight-color)}.clickable-text{color:#1976d2;cursor:pointer}.input-slot-image{height:20px;width:auto;margin-left:5px}.input-slot-image-clear{height:20px;width:auto;margin-right:5px}.slot-icon{height:20px;width:auto}.slot-icon-m{height:20px;width:auto;margin:0 auto}.custom-select{cursor:pointer;color:var(--vp-c-text-2);margin:0;display:inline-block}.marked-cell{background:var(--vp-c-brand);color:#fff}.main>.text{width:100%;max-width:100%}.main>.tagline{width:100%;max-width:100%}@media (min-width: 640px){.main>.text{font-size:46px}}.star-and-sponsor{display:flex;justify-content:center;margin:2rem}.home-link{color:var(--vp-c-brand)}.action-row{display:flex;flex-direction:column;align-items:center;width:100%}.custom-marker{position:absolute;top:0;right:0;height:8px;width:8px;border-radius:100%;background-color:green}.demo-wrap-inline{display:inline-block}.pointer{cursor:pointer}.red-color{color:red}.time-picker-overlay{display:flex;height:100%;flex-direction:column}.input-class{border:1px solid var(--vp-c-divider-light)}.dp-sidebar{padding:5px}.centered{margin:0 auto}.select-input{-webkit-appearance:menulist}.overlay-header{cursor:pointer;text-align:center}.buttons-wrap[data-v-2a3dee5c]{display:flex;gap:5px;margin-bottom:10px}.change-btn[data-v-2a3dee5c]{padding:5px;color:var(--vp-c-brand);border:1px solid var(--vp-c-brand);border-radius:4px}.btn-active[data-v-2a3dee5c]{background:var(--vp-c-brand);color:#fff}.dp-custom-input{box-shadow:0 0 6px #1976d2;color:#1976d2}.dp-custom-input:hover{border-color:#1976d2}.dp-custom-menu{box-shadow:0 0 6px #1976d2}.dp-custom-calendar .dp__calendar_item{border:1px solid var(--dp-border-color-hover)}.dp-custom-cell{border-radius:50%!important}.custom-month-year-component{display:flex;align-items:center;margin:0 auto}.year-overlay{text-align:center}.select-input{margin:5px 3px;padding:5px;width:auto;border-radius:4px;border-color:var(--dp-border-color);outline:none;-webkit-appearance:menulist}.icons{display:flex;box-sizing:border-box}.custom-icon{padding:5px;display:flex;height:25px;align-items:center;justify-content:center;cursor:pointer;width:25px;color:var(--dp-icon-color);text-align:center;border-radius:50%}.custom-icon svg{height:20px;width:20px}.custom-icon:hover{background:var(--dp-hover-color)}.submit-btn{margin-top:15px;border:1px solid var(--vp-c-divider-light);padding:5px}.buttons-wrap[data-v-e3f2bf69]{display:flex;gap:5px;margin-bottom:10px}.change-btn[data-v-e3f2bf69]{padding:5px;color:var(--vp-c-brand);border:1px solid var(--vp-c-brand);border-radius:4px}.btn-active[data-v-e3f2bf69]{background:var(--vp-c-brand);color:#fff}.custom-time-picker-component{display:flex;align-items:center;justify-content:center}.select-input{margin:5px 3px;padding:5px;width:100px;border-radius:4px;border-color:var(--dp-border-color);outline:none;-webkit-appearance:menulist}.custom-select[data-v-323b52ea]{display:block;margin-bottom:5px;padding:5px;-webkit-appearance:menulist}.tz-demo-wrap[data-v-938a3203]{display:flex;flex-direction:column;align-items:center;width:100%}.tz-range-slider-wrap[data-v-938a3203]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:10px}.tz-range-slider[data-v-938a3203]{width:400px}.VPCarbonAds[data-v-2e1efd59]{display:flex;justify-content:center;align-items:center;padding:24px;border-radius:12px;min-height:256px;text-align:center;line-height:18px;font-size:12px;font-weight:500;background-color:var(--vp-carbon-ads-bg-color)}.VPCarbonAds[data-v-2e1efd59] img{margin:0 auto;border-radius:6px}.VPCarbonAds[data-v-2e1efd59] .carbon-text{display:block;margin:0 auto;padding-top:12px;color:var(--vp-carbon-ads-text-color);transition:color .25s}.VPCarbonAds[data-v-2e1efd59] .carbon-text:hover{color:var(--vp-carbon-ads-hover-text-color)}.VPCarbonAds[data-v-2e1efd59] .carbon-poweredby{display:block;padding-top:6px;font-size:11px;font-weight:500;color:var(--vp-carbon-ads-poweredby-color);text-transform:uppercase;transition:color .25s}.VPCarbonAds[data-v-2e1efd59] .carbon-poweredby:hover{color:var(--vp-carbon-ads-hover-poweredby-color)}.VPCarbonAds[data-v-2e1efd59]>div{display:none}.VPCarbonAds[data-v-2e1efd59]>div:first-of-type{display:block} diff --git a/docs/customization/theming/index.html b/docs/customization/theming/index.html index 478c70655..d23c68127 100644 --- a/docs/customization/theming/index.html +++ b/docs/customization/theming/index.html @@ -6,12 +6,12 @@ Customization - Theming | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

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 {
+    
Skip to content

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;
@@ -113,7 +113,7 @@
     --dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1); /*Timing on menu appear animation*/
     --dp-transition-timing: ease-out; /*Timing on slide animations*/
 }

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/hashmap.json b/docs/hashmap.json index 0bafd3b70..86f3dd66f 100644 --- a/docs/hashmap.json +++ b/docs/hashmap.json @@ -1 +1 @@ -{"installation_index.md":"DtJB3K9u","customization_theming_index.md":"DmCNyE1y","index.md":"B7ylC4S8","methods-and-events_methods_index.md":"CwyehgMN","migration_from-v6.md":"D9xOoVAc","props_keyboard_index.md":"iebW4abz","slots_trigger-and-input_index.md":"DQ9I5Vbd","props_formatting_index.md":"lFG7m_1v","props_localization_index.md":"BKFCDXYR","migration_from-v5.md":"1dK2nlhu","migration_from-v7.md":"BiW06H5q","props_positioning_index.md":"LWpUOfQd","slots_components_index.md":"966s6KfA","slots_icons_index.md":"CLO6E7iK","props_calendar-configuration_index.md":"BXQc1jK6","props_look-and-feel_index.md":"CangMNgr","props_modes_index.md":"CSmqNHBP","props_time-picker-configuration_index.md":"B3bhu0x1","slots_overlay_index.md":"dSinr1tm","props_general-configuration_index.md":"DdT9XE_j","methods-and-events_events_index.md":"X_qXw00S","slots_content_index.md":"B0O5mmvG","props_modes-configuration_index.md":"CPeADbly"} +{"methods-and-events_methods_index.md":"CwyehgMN","migration_from-v6.md":"D9xOoVAc","index.md":"B7ylC4S8","props_formatting_index.md":"lFG7m_1v","slots_trigger-and-input_index.md":"DQ9I5Vbd","installation_index.md":"BgDK6FJ_","migration_from-v5.md":"1dK2nlhu","props_keyboard_index.md":"iebW4abz","migration_from-v7.md":"BiW06H5q","props_positioning_index.md":"LWpUOfQd","props_localization_index.md":"BKFCDXYR","props_look-and-feel_index.md":"CangMNgr","customization_theming_index.md":"DmCNyE1y","slots_components_index.md":"966s6KfA","slots_icons_index.md":"CLO6E7iK","props_time-picker-configuration_index.md":"B3bhu0x1","props_calendar-configuration_index.md":"BXQc1jK6","methods-and-events_events_index.md":"CiYg8wcz","props_modes_index.md":"CSmqNHBP","props_general-configuration_index.md":"r5xwYEBC","slots_overlay_index.md":"dSinr1tm","slots_content_index.md":"nPriQJ6w","props_modes-configuration_index.md":"CPeADbly"} diff --git a/docs/index.html b/docs/index.html index c004a43d9..40046343a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,12 +6,12 @@ Vue Datepicker - + - + - + @@ -21,8 +21,8 @@ -
Skip to content

Vue datepicker

The most complete datepicker solution for Vue 3

Powerful, lightweight, and reusable datepicker component to fit within any project

⭐ If you like the component, give it a star on GitHub and consider sponsoring its development! ⭐

Released under the MIT License.

- +
Skip to content

Vue datepicker

The most complete datepicker solution for Vue 3

Powerful, lightweight, and reusable datepicker component to fit within any project

⭐ If you like the component, give it a star on GitHub and consider sponsoring its development! ⭐

Released under the MIT License.

+ \ No newline at end of file diff --git a/docs/installation/index.html b/docs/installation/index.html index ac8ffc1e3..089c8ea01 100644 --- a/docs/installation/index.html +++ b/docs/installation/index.html @@ -6,13 +6,13 @@ Installation | Vue Datepicker - + - + - - + + @@ -21,7 +21,7 @@ -
Skip to content

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker

or

shell
yarn add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

Global

In the main file

js
import { createApp } from "vue";
+    
Skip to content

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker

or

shell
yarn add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

Global

In the main file

js
import { createApp } from "vue";
 import App from './App.vue';
 
 import VueDatePicker from '@vuepic/vue-datepicker';
@@ -31,7 +31,7 @@
 
 app.component('VueDatePicker', VueDatePicker);
 
-app.mount('#app');

Local

In the .vue files

vue
<template>
+app.mount('#app');

Local

In the .vue files

vue
<template>
   <VueDatePicker v-model="date"></VueDatePicker>
 </template>
 
@@ -86,7 +86,7 @@
         transpile: ['@vuepic/vue-datepicker']
     }
 })

That's it, you are ready to go

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/methods-and-events/events/index.html b/docs/methods-and-events/events/index.html index cde98d3bd..2cbf00647 100644 --- a/docs/methods-and-events/events/index.html +++ b/docs/methods-and-events/events/index.html @@ -6,13 +6,13 @@ Events | Vue Datepicker - + - + - - + + @@ -21,7 +21,7 @@ -
Skip to content

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>
+    
Skip to content

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>
 
@@ -106,7 +106,7 @@
 const alertFn = () => {
   alert('Input unfocused');
 }
-</script>

@internal-model-change

Emitted when the internal model-value is changed before selecting this date that will be set to v-model

Will have one param

  • Date | Date[]: Current state of the internal model-value
Code Example
vue
<template>
+</script>

@internal-model-change

Emitted when the internal model-value is changed before selecting this date that will be set to v-model

Will have two params

  • Date | Date[]: Current state of the internal model-value
  • Second parameter is internal model-value in v-model format

Warning

If you use the second parameter, make sure to validate values before use, as you can get Invalid Date, null or undefined values

Code Example
vue
<template>
     <VueDatePicker v-model="date" @internal-model-change="handleInternal" />
 </template>
 
@@ -372,7 +372,7 @@
     console.log(`Selected ${date}`);
   }
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/methods-and-events/methods/index.html b/docs/methods-and-events/methods/index.html index b098d485e..d8ca8309a 100644 --- a/docs/methods-and-events/methods/index.html +++ b/docs/methods-and-events/methods/index.html @@ -6,12 +6,12 @@ Methods | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

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>
+    
Skip to content

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>
 
@@ -39,7 +39,7 @@
   }
 }
 </script>

selectDate

When called and there is an active selection, it will select that date.

closeMenu

Closes the datepicker menu

openMenu

Opens the datepicker menu

clearValue

Clears the selected value

updateInternalModelValue

  • Parameter: Date | Date[]

Modify the internal model-value while the picker is in the open state.

setMonthYear

  • Parameter: { month?: number | string; year?: number | string; }

Set calendar month and year programmatically

onScroll

Manually trigger method that is called on window scroll

parseModel

Calls internal parseExternalModelValue that will replace or reformat text input value and internal model value

switchView

Manually show overlay

Note

To close overlay pass 'calendar' as parameter

  • Parameter 1: 'month' | 'year' | 'calendar' | 'time'
  • Parameter 2 (optional): number - instance number in case of multiple calendars

Type: (view: 'month' | 'year' | 'calendar' | 'time', instance?: number) => void;

toggleMenu

Manually toggle picker menu

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/migration/from-v5.html b/docs/migration/from-v5.html index ea19fcc6a..0c5eefcbd 100644 --- a/docs/migration/from-v5.html +++ b/docs/migration/from-v5.html @@ -6,12 +6,12 @@ Migration from v5 | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is empty
  • aria-label for arrow buttons in month-picker mode is changed to Next/Previous year
  • auto-apply-month prop is removed (will work with auto-apply prop set)
  • show-now-button prop is removed
  • month-year slot will have different props depending on the used mode
  • Property 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

Info

For prop definition, check multi-calendars prop

js

+    
Skip to content

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is empty
  • aria-label for arrow buttons in month-picker mode is changed to Next/Previous year
  • auto-apply-month prop is removed (will work with auto-apply prop set)
  • show-now-button prop is removed
  • month-year slot will have different props depending on the used mode
  • Property 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

Info

For prop definition, check multi-calendars prop

js

 <template>
 
   <VueDatePicker
@@ -70,7 +70,7 @@
     { label: 'Today', value: [new Date(), new Date()] },
   ]
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/migration/from-v6.html b/docs/migration/from-v6.html index 69f6b0975..d3b0c232e 100644 --- a/docs/migration/from-v6.html +++ b/docs/migration/from-v6.html @@ -6,12 +6,12 @@ Migration from v6 | Vue Datepicker - + - + - + @@ -21,8 +21,8 @@ -
Skip to content

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

Released under the MIT License.

- +
Skip to content

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

Released under the MIT License.

+ \ No newline at end of file diff --git a/docs/migration/from-v7.html b/docs/migration/from-v7.html index 21f465ecf..f88c21319 100644 --- a/docs/migration/from-v7.html +++ b/docs/migration/from-v7.html @@ -6,12 +6,12 @@ Migration from v7 | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

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
        • Date[]
        • string[]
        • number[]
  • id for calendar days is changed to formatted value instead of ISO value
  • date-fns-tz library is removed
  • date-fns library is updated to v3

highlight

Info

For prop definition, check highlight prop

js
<template>
+    
Skip to content

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
        • Date[]
        • string[]
        • number[]
  • id for calendar days is changed to formatted value instead of ISO value
  • date-fns-tz library is removed
  • date-fns library is updated to v3

highlight

Info

For prop definition, check highlight prop

js
<template>
   <VueDatePicker
     :highlight="[new Date()]"
     :highlight="{ days: [ new Date() ] }"
@@ -42,7 +42,7 @@
 
 const cellEl = document.getElementById(today.toISOString().split("T")[0]); 
 const cellEl = document.getElementById(format(today, 'yyyy-MM-dd')) 

date-fns and date-fns-tz

  • date-fns-tz library is removed as peer dependency from the picker
  • date-fns library is updated to v3. If you use it somewhere else in your project, make sure to check the changelog for potential breaking changes

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/props/calendar-configuration/index.html b/docs/props/calendar-configuration/index.html index b010268a5..73aac34bb 100644 --- a/docs/props/calendar-configuration/index.html +++ b/docs/props/calendar-configuration/index.html @@ -6,12 +6,12 @@ Props - Calendar configuration | Vue Datepicker - + - + - + @@ -21,14 +21,14 @@ -
Skip to content

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

Warning

Do not modify date values

  • Type: (weeks: CalendarWeek[]) => CalendarWeek[];
  • Default: null
ts
interface CalendarWeek {
+    
Skip to content

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

Warning

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
     current: boolean; // If the date belongs to the currenct month
     classData: Record<string, boolean>; // All classes for a specific date
   }
-}
Code Example
vue
<template>
+}
Code Example
vue
<template>
     <VueDatePicker v-model="date" :calendar="calendarFn" />
 </template>
 
@@ -59,7 +59,7 @@
 interface WeekNumbersOpts {
   type: 'iso' | 'local' | ((date: Date) => string | number);
   hideOnOffsetDates?: boolean;
-}
Code Example
vue
<template>
+}
Code Example
vue
<template>
     <VueDatePicker v-model="date" :week-numbers="{ type: 'iso' }" />
 </template>
 
@@ -67,7 +67,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

hide-offset-dates

Hide dates from the previous/next month in the calendar

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

hide-offset-dates

Hide dates from the previous/next month in the calendar

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" hide-offset-dates />
 </template>
 
@@ -75,7 +75,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

min-date

All dates before the given date will be disabled

  • Type: Date | string
  • Default: null
Code Example
vue
<template>
+</script>

min-date

All dates before the given date will be disabled

  • Type: Date | string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" :min-date="new Date()" />
 </template>
 
@@ -83,7 +83,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

max-date

All dates after the given date will be disabled

  • Type: Date | string
  • Default: null
Code Example
vue
<template>
+</script>

max-date

All dates after the given date will be disabled

  • Type: Date | string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" :max-date="new Date()" />
 </template>
 
@@ -91,7 +91,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

prevent-min-max-navigation

Prevent navigation after or before the min-date or max-date

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

prevent-min-max-navigation

Prevent navigation after or before the min-date or max-date

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" :min-date="minDate" :max-date="maxDate" prevent-min-max-navigation />
 </template>
 
@@ -103,7 +103,7 @@
 // 2 months before and after the current date
 const minDate = computed(() => subMonths(new Date(getYear(new Date()), getMonth(new Date())), 2));
 const maxDate = computed(() => addMonths(new Date(getYear(new Date()), getMonth(new Date())), 2));
-</script>

ignore-time-validation

By default, when using min-date or max-date the time set on those dates will be included in validation. If you want to just check dates, pass this option to disable time check

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

ignore-time-validation

By default, when using min-date or max-date the time set on those dates will be included in validation. If you want to just check dates, pass this option to disable time check

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker 
         v-model="date"
         :max-date="maxDate"
@@ -119,7 +119,7 @@
 // Today with the time 00:00
 // Without ignoreTimeValidation, you will not be able to select the date
 const maxDate = ref(new Date(2022, (new Date()).getMonth(), (new Date()).getDate()));
-</script>

start-date

Open the datepicker to some preselected month and year

  • Type: Date | string
  • Default: null
Code Example
vue
<template>
+</script>

start-date

Open the datepicker to some preselected month and year

  • Type: Date | string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" :start-date="startDate" placeholder="Select Date" />
 </template>
 
@@ -128,7 +128,7 @@
 
 const date = ref();
 const startDate = ref(new Date(2020, 1));
-</script>

focus-start-date

Open the datepicker to provided start-date ignoring the v-model value

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

focus-start-date

Open the datepicker to provided start-date ignoring the v-model value

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" :start-date="startDate" focus-start-date placeholder="Select Date" />
 </template>
 
@@ -137,7 +137,7 @@
 
 const date = ref(new Date());
 const startDate = ref(new Date(2020, 1));
-</script>

week-start

Day from which the week starts. 0-6, 0 is Sunday, 6 is Saturday

  • Type: number | string
  • Default: 1
Code Example
vue
<template>
+</script>

week-start

Day from which the week starts. 0-6, 0 is Sunday, 6 is Saturday

  • Type: number | string
  • Default: 1
Code Example
vue
<template>
     <VueDatePicker v-model="date" week-start="0" />
 </template>
 
@@ -153,7 +153,7 @@
     minutes?: number[]; // disable sepcific minutes
     seconds?: number[] // disable specific seconds
   }
-}
Code Example
vue
<template>
+}
Code Example
vue
<template>
     <VueDatePicker v-model="date" :filters="filters" />
 </template>
 
@@ -171,7 +171,7 @@
             .map((item) => getMonth(addMonths(currentDate, item + 1)))
   }
 })
-</script>

disable-month-year-select

Removes the month and year picker

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

disable-month-year-select

Removes the month and year picker

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" disable-month-year-select />
 </template>
 
@@ -179,7 +179,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

year-range

Specify start and end year for years to generate

  • Type: [number, number]
  • Default: [1900, 2100]
Code Example
vue
<template>
+</script>

year-range

Specify start and end year for years to generate

  • Type: [number, number]
  • Default: [1900, 2100]
Code Example
vue
<template>
     <VueDatePicker v-model="date" :year-range="[2020, 2040]" />
 </template>
 
@@ -187,7 +187,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

reverse-years

Reverse the order of the years in years overlay

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

reverse-years

Reverse the order of the years in years overlay

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" reverse-years :year-range="[2020, 2040]" />
 </template>
 
@@ -195,7 +195,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

allowed-dates

Allow only specific dates

  • Type: string[] | Date[]
  • Default: []
Code Example
vue
<template>
+</script>

allowed-dates

Allow only specific dates

  • Type: string[] | Date[]
  • Default: []
Code Example
vue
<template>
     <VueDatePicker v-model="date" :allowed-dates="allowedDates" />
 </template>
 
@@ -211,7 +211,7 @@
     new Date(new Date().setDate(new Date().getDate() + 1))
   ];
 });
-</script>

disabled-dates

Disable specific dates

  • Type: Date[] | string[] | (date: Date) => boolean
  • Default: []

Note: If you use a custom function, make sure to return true for a disabled date and false for enabled

Code Example
vue
<template>
+</script>

disabled-dates

Disable specific dates

  • Type: Date[] | string[] | (date: Date) => boolean
  • Default: []

Note: If you use a custom function, make sure to return true for a disabled date and false for enabled

Code Example
vue
<template>
     <VueDatePicker v-model="date" :disabled-dates="disabledDates" />
 </template>
 
@@ -232,7 +232,7 @@
 
   return [tomorrow, afterTomorrow]
 })
-</script>

disabled-week-days

Disable specific days from the week

  • Type: string[] | number[] - 0-6, 0 is Sunday, 6 is Saturday
  • Default: []
Code Example
vue
<template>
+</script>

disabled-week-days

Disable specific days from the week

  • Type: string[] | number[] - 0-6, 0 is Sunday, 6 is Saturday
  • Default: []
Code Example
vue
<template>
     <VueDatePicker v-model="date" :disabled-week-days="[6, 0]" />
 </template>
 
@@ -240,7 +240,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

no-disabled-range

Deprecation warning

This prop is deprecated, please refer to range configuration section

Prevents range selection if the range includes disabled dates

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

no-disabled-range

Deprecation warning

This prop is deprecated, please refer to range configuration section

Prevents range selection if the range includes disabled dates

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker 
             v-model="date" 
             range
@@ -257,7 +257,7 @@
 
 const disabledDates = [subDays(new Date(), 1), new Date(), addDays(new Date(), 1)];
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/props/formatting/index.html b/docs/props/formatting/index.html index 1ea696663..7872108a9 100644 --- a/docs/props/formatting/index.html +++ b/docs/props/formatting/index.html @@ -6,12 +6,12 @@ Props - Formatting | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

Formatting

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

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

Code Example
vue
<template>
+    
Skip to content

Formatting

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

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

Code Example
vue
<template>
     <VueDatePicker v-model="date" :format="format" />
 </template>
 
@@ -38,7 +38,7 @@
 
   return `Selected date is ${day}/${month}/${year}`;
 }
-</script>

preview-format

Format the value of the date(s) in the action row

  • Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
  • Default: null

Same configuration as in format prop

Note: If not provided, it will auto inherit data from the format prop

Code Example
vue
<template>
+</script>

preview-format

Format the value of the date(s) in the action row

  • Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
  • Default: null

Same configuration as in format prop

Note: If not provided, it will auto inherit data from the format prop

Code Example
vue
<template>
     <VueDatePicker v-model="date" :preview-format="format" />
 </template>
 
@@ -55,7 +55,7 @@
 
   return `Selected date is ${day}/${month}/${year}`;
 }
-</script>

month-name-format

Set the month name format

  • Type: 'short' | 'long'
  • Default: 'short'
Code Example
vue
<template>
+</script>

month-name-format

Set the month name format

  • Type: 'short' | 'long'
  • Default: 'short'
Code Example
vue
<template>
     <VueDatePicker v-model="date" month-name-format="long" />
 </template>
 
@@ -64,7 +64,7 @@
 
 const date = ref(new Date());
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/props/general-configuration/index.html b/docs/props/general-configuration/index.html index 0f6004cc5..70e06e075 100644 --- a/docs/props/general-configuration/index.html +++ b/docs/props/general-configuration/index.html @@ -6,13 +6,13 @@ Props - General configuration | Vue Datepicker - + - + - - + + @@ -21,7 +21,7 @@ -
Skip to content

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
Code Example
vue
<template>
+    
Skip to content

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
Code Example
vue
<template>
     <VueDatePicker v-model="date" uid="demo" />
 </template>
 
@@ -29,7 +29,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

month-change-on-scroll

Scrolling the mouse wheel over the calendar will change the month. Scroll down for next month and vice versa

You can also set the value to 'inverse', so that scrolling down will go to the previous month and up on the next

  • Type: boolean | 'inverse'
  • Default: true
Code Example
vue
<template>
+</script>

month-change-on-scroll

Scrolling the mouse wheel over the calendar will change the month. Scroll down for next month and vice versa

You can also set the value to 'inverse', so that scrolling down will go to the previous month and up on the next

  • Type: boolean | 'inverse'
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :month-change-on-scroll="false" />
 </template>
 
@@ -52,7 +52,7 @@
 const setDate = (value) => {
   date.value = value;
 }
-</script>

model-type

Specify a custom format for v-model

  • Type: 'timestamp' | 'format' | string
  • Default: null

Note

  • timestamp - uses timestamp for binding
  • format - uses provided format or fallbacks to the default one. Must be a string
  • string - use custom format by providing a custom pattern with unicode tokens

This is only compatible with date pickers, time-picker and month-picker, other modes are not supported

Code Example
vue
<template>
+</script>

model-type

Specify a custom format for v-model

  • Type: 'timestamp' | 'format' | string
  • Default: null

Note

  • timestamp - uses timestamp for binding
  • format - uses provided format or fallbacks to the default one. Must be a string
  • iso - date that will be returned will be in iso string format
  • string - use custom format by providing a custom pattern with unicode tokens

This is only compatible with date pickers, time-picker and month-picker, other modes are not supported

Code Example
vue
<template>
     <VueDatePicker v-model="date" model-type="dd.MM.yyyy" />
     <p v-if="date">Selected date: {{ date }}</p>
 </template>
@@ -61,7 +61,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

clearable

Add a clear icon to the input field where you can set the value to null

  • Type: boolean
  • Default: true
Code Example
vue
<template>
+</script>

clearable

Add a clear icon to the input field where you can set the value to null

  • Type: boolean
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :clearable="false" />
 </template>
 
@@ -69,7 +69,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

auto-apply

If set to true, clicking on a date value will automatically select the value

  • Type: boolean
  • Default: false

Info

When auto-apply is used in combination with flow, to select date if flow is broken, you need to set partial-flow prop to true

Code Example
vue
<template>
+</script>

auto-apply

If set to true, clicking on a date value will automatically select the value

  • Type: boolean
  • Default: false

Info

When auto-apply is used in combination with flow, to select date if flow is broken, you need to set partial-flow prop to true

Code Example
vue
<template>
     <VueDatePicker v-model="date" auto-apply />
 </template>
 
@@ -77,7 +77,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

placeholder

Input placeholder

  • Type: string
  • Default: null
Code Example
vue
<template>
+</script>

placeholder

Input placeholder

  • Type: string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" placeholder="Select Date" />
 </template>
 
@@ -85,7 +85,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

no-today

Hide today mark from the calendar

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

no-today

Hide today mark from the calendar

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" no-today />
 </template>
 
@@ -98,7 +98,7 @@
     type?: 'dot' | 'line';
     tooltip?: { text: string; color?: string;}[];
     color?: string;
-}
Code Example
vue

+}
Code Example
vue

 <template>
     <VueDatePicker v-model="date" :markers="markers" />
 </template>
@@ -140,7 +140,7 @@
 type HighlightFn = ((date: Date) => boolean)
     | ((month: { month: number; year: number }) => boolean)
     | ((yearOrWeekDay: number) => boolean)
-    | ((quarter: { quarter: number; year: number }) => boolean);
Code Example
vue
<template>
+    | ((quarter: { quarter: number; year: number }) => boolean);
Code Example
vue
<template>
     <VueDatePicker v-model="date" :highlight="highlightedDates" />
 </template>
 
@@ -155,7 +155,7 @@
   addDays(new Date(), 3),
 ])
 
-</script>

disabled

Disables the input

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

disabled

Disables the input

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" disabled />
 </template>
 
@@ -163,7 +163,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

readonly

Sets the input in readonly state

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

readonly

Sets the input in readonly state

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" readonly />
 </template>
 
@@ -171,7 +171,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

required

Add required flag to the input field. Use with form tag for built-in validation

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

required

Add required flag to the input field. Use with form tag for built-in validation

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <form @submit.prevent="submitForm">
       <VueDatePicker v-model="date" required />
       <button type="submit">Submit form</button>
@@ -186,7 +186,7 @@
 const submitForm = () => {
   alert('Form submitted');
 }
-</script>

name

Sets the input name attribute

  • Type: string
  • Default: null
Code Example
vue
<template>
+</script>

name

Sets the input name attribute

  • Type: string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" name="date-picker" />
 </template>
 
@@ -194,7 +194,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

autocomplete

Sets the input autocomplete attribute

  • Type: string
  • Default: null
Code Example
vue
<template>
+</script>

autocomplete

Sets the input autocomplete attribute

  • Type: string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" autocomplete="off" />
 </template>
 
@@ -202,7 +202,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

hide-navigation

Hide navigation buttons from the overlays

  • Type: ('month' | 'year' | 'calendar' | 'time' | 'minutes' | 'hours' | 'seconds')[]
  • Default: []
Code Example
vue
<template>
+</script>

hide-navigation

Hide navigation buttons from the overlays

  • Type: ('month' | 'year' | 'calendar' | 'time' | 'minutes' | 'hours' | 'seconds')[]
  • Default: []
Code Example
vue
<template>
     <VueDatePicker v-model="date" :hide-navigation="['month', 'year']" />
 </template>
 
@@ -215,7 +215,7 @@
  showCancel?: boolean;
  showNow?: boolean;
  showPreview?: boolean;
-}
Code Example
vue
<template>
+}
Code Example
vue
<template>
     <VueDatePicker v-model="date" :action-row="{ showNow: true, showPreview: false }" />
 </template>
 
@@ -223,7 +223,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

disable-year-select

Removes the year button from the menu and cycles trough the current or provided year

Code Example
vue
<template>
+</script>

disable-year-select

Removes the year button from the menu and cycles trough the current or provided year

Code Example
vue
<template>
     <VueDatePicker v-model="date" disable-year-select />
 </template>
 
@@ -231,7 +231,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

year-first

Reverse button order in the calendar header

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

year-first

Reverse button order in the calendar header

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" year-first />
 </template>
 
@@ -250,6 +250,7 @@
     keepActionRow?: boolean;
     onClickOutside?: (validate: () => boolean) => void;
     tabOutClosesMenu?: boolean;
+    arrowLeft?: string;
 }
  • Default: config
ts
const config = {
     allowStopPropagation: true,
     closeOnScroll: false,
@@ -261,7 +262,8 @@
     keepActionRow: false,
     onClickOutside: undefined,
     tabOutClosesMenu: true,
-}
  • allowStopPropagation: Enable event.sportPropagation on click events
  • closeOnScroll: Close datepicker menu on page scroll
  • modeHeight: If you use month-picker, time-picker or year-picker, set custom height of the picker in px
  • allowPreventDefault: Due to the different implementations of how click outside listeners are implemented, you might encounter issues where the menu closes if the picker is used in dialogs when teleport prop is enabled. To prevent this issue, you need to set this option to true
  • closeOnClearValue: Prevent closing the menu on value clear from the input field
  • closeOnAutoApply: If set to false, clicking on a date value will automatically select the value but will not close the datepicker menu. Closing will be available on a click-away or clicking on the input again
  • noSwipe: Disable touch events on the calendar
  • keepActionRow: When enabled, it will keep the action row even if the auto-apply prop is enabled
  • onClickOutside: Provide custom click outside handler. Exposed validation function that will return true or false depending on the selected value
  • tabOutClosesMenu: When tabbing out of the picker menu it will close the picker menu (not compatible when using teleport)

loading

Adds a loading overlay in the menu

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+    arrowLeft: undefined,
+}
  • allowStopPropagation: Enable event.sportPropagation on click events
  • closeOnScroll: Close datepicker menu on page scroll
  • modeHeight: If you use month-picker, time-picker or year-picker, set custom height of the picker in px
  • allowPreventDefault: Due to the different implementations of how click outside listeners are implemented, you might encounter issues where the menu closes if the picker is used in dialogs when teleport prop is enabled. To prevent this issue, you need to set this option to true
  • closeOnClearValue: Prevent closing the menu on value clear from the input field
  • closeOnAutoApply: If set to false, clicking on a date value will automatically select the value but will not close the datepicker menu. Closing will be available on a click-away or clicking on the input again
  • noSwipe: Disable touch events on the calendar
  • keepActionRow: When enabled, it will keep the action row even if the auto-apply prop is enabled
  • onClickOutside: Provide custom click outside handler. Exposed validation function that will return true or false depending on the selected value
  • tabOutClosesMenu: When tabbing out of the picker menu it will close the picker menu (not compatible when using teleport)
  • arrowLeft: Overrides default arrow position from left side of the menu. To keep it always in the center, set it to 50%. Accepts valid CSS value

loading

Adds a loading overlay in the menu

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" loading />
 </template>
 
@@ -270,7 +272,7 @@
 
 const date = ref(new Date());
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/props/keyboard/index.html b/docs/props/keyboard/index.html index 0e388c2e2..890ed89e8 100644 --- a/docs/props/keyboard/index.html +++ b/docs/props/keyboard/index.html @@ -6,12 +6,12 @@ Props - Keyboard | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

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
Code Example
vue
<template>
+    
Skip to content

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
Code Example
vue
<template>
     <VueDatePicker v-model="date" :esc-close="false" />
 </template>
 
@@ -29,7 +29,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

space-confirm

space key selects the date (like you pressed the select button)

  • Type: boolean
  • Default: true
Code Example
vue
<template>
+</script>

space-confirm

space key selects the date (like you pressed the select button)

  • Type: boolean
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :space-confirm="false" />
 </template>
 
@@ -37,7 +37,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

month-change-on-arrows

Change months via arrow keys

  • Type: boolean
  • Default: true
Code Example
vue
<template>
+</script>

month-change-on-arrows

Change months via arrow keys

  • Type: boolean
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :month-change-on-arrows="false" />
 </template>
 
@@ -45,7 +45,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

arrow-navigation

By default, arrow keys will change the current month. When enabling this prop, you can navigate the menu via arrow keys instead of using tabs

Info

arrowNavigation is not supported with the multi-calendars prop

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

arrow-navigation

By default, arrow keys will change the current month. When enabling this prop, you can navigate the menu via arrow keys instead of using tabs

Info

arrowNavigation is not supported with the multi-calendars prop

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" arrow-navigation />
 </template>
 
@@ -54,7 +54,7 @@
 
 const date = ref(new Date());
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/props/localization/index.html b/docs/props/localization/index.html index 7884c8b9d..436aa2f47 100644 --- a/docs/props/localization/index.html +++ b/docs/props/localization/index.html @@ -6,12 +6,12 @@ Props - Localization | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

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'
Code Example
vue
<template>
+    
Skip to content

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'
Code Example
vue
<template>
     <VueDatePicker v-model="date" locale="de" cancelText="abbrechen" selectText="auswählen" />
 </template>
 
@@ -29,7 +29,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

format-locale

Specify localized format output. This prop uses Locale object from date-fns library

For more info about supported locales or adding a custom locale object, please visit date-fns documentation

Note

When format-locale is provided, it will have priority against locale prop

  • Type: Locale
  • Default: null
Code Example
vue
<template>
+</script>

format-locale

Specify localized format output. This prop uses Locale object from date-fns library

For more info about supported locales or adding a custom locale object, please visit date-fns documentation

Note

When format-locale is provided, it will have priority against locale prop

  • Type: Locale
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" :format-locale="ja" format="E" />
 </template>
 
@@ -38,7 +38,7 @@
 import { ja } from 'date-fns/locale';
 
 const date = ref(new Date());
-</script>

select-text

Select text label in the action row

  • Type: string
  • Default: 'Select'
Code Example
vue
<template>
+</script>

select-text

Select text label in the action row

  • Type: string
  • Default: 'Select'
Code Example
vue
<template>
     <VueDatePicker v-model="date" select-text="Pick" />
 </template>
 
@@ -46,7 +46,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

cancel-text

Cancel text label in the action row

  • Type: string
  • Default: 'Cancel'
Code Example
vue
<template>
+</script>

cancel-text

Cancel text label in the action row

  • Type: string
  • Default: 'Cancel'
Code Example
vue
<template>
     <VueDatePicker v-model="date" cancel-text="Close" />
 </template>
 
@@ -54,7 +54,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

now-button-label

Change the text for now button

  • Type: string
  • Default: 'Now'
Code Example
vue
<template>
+</script>

now-button-label

Change the text for now button

  • Type: string
  • Default: 'Now'
Code Example
vue
<template>
     <VueDatePicker v-model="date" :action-row="{ showNow: true }" now-button-label="Current" />
 </template>
 
@@ -62,7 +62,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

week-num-name

Sets the label for the week numbers column

  • Type: string
  • Default: 'W'
Code Example
vue
<template>
+</script>

week-num-name

Sets the label for the week numbers column

  • Type: string
  • Default: 'W'
Code Example
vue
<template>
     <VueDatePicker v-model="date" week-numbers="iso" week-num-name="We" />
 </template>
 
@@ -99,7 +99,7 @@
 
 const date = ref();
 const ariaLabels = ref({ menu: 'Some custom menu label' })
-</script>

day-names

Provide custom labels for day names in the calendar header

Note

Make sure that provided array has a length of 7

  • Type: ((lang: string, weekStart: number) => string[]) | string[]
  • Default: null;
Code Example
vue
<template>
+</script>

day-names

Provide custom labels for day names in the calendar header

Note

Make sure that provided array has a length of 7

  • Type: ((lang: string, weekStart: number) => string[]) | string[]
  • Default: null;
Code Example
vue
<template>
     <VueDatePicker v-model="date" :day-names="['1', '2', '3', '4', '5', '6', '7']" />
 </template>
 
@@ -108,7 +108,7 @@
 
 const date = ref(new Date());
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/props/look-and-feel/index.html b/docs/props/look-and-feel/index.html index 2a501629a..3c7de0e05 100644 --- a/docs/props/look-and-feel/index.html +++ b/docs/props/look-and-feel/index.html @@ -6,12 +6,12 @@ Props - Look and feel | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

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 {
+    
Skip to content

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; 
@@ -30,7 +30,7 @@
     menuAppearBottom?: string; 
     vNext?: string; 
     vPrevious?: string; 
-}
  • open and close are added on overlays show/hide
  • next and previous added when switching months in the calendar
  • menuAppearTop is added when the menu is open above the input filed
  • menuAppearBottom is added when the menu is open bellow the input field
  • vNext and vPrevious are added when switching months in the calendar in the vertical mode
Code Example
vue
<template>
+}
  • open and close are added on overlays show/hide
  • next and previous added when switching months in the calendar
  • menuAppearTop is added when the menu is open above the input filed
  • menuAppearBottom is added when the menu is open bellow the input field
  • vNext and vPrevious are added when switching months in the calendar in the vertical mode
Code Example
vue
<template>
     <VueDatePicker v-model="date" :transitions="false" />
 </template>
 
@@ -38,7 +38,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

six-weeks

Always display six weeks on the calendar. This will prevent dynamic calendar height change depending on the month

  • Type: boolean | 'append' | 'prepend' | 'center' | 'fair'
  • Default: false

Info

  • boolean - Legacy enable, same as append
  • 'append' - Always add new row(s) at the bottom of the calendar
  • 'prepend' - Always add new row(s) at the beginning of the calendar
  • 'center' - If the month that needs padding starts with the beginning of a week, add a week at the start. If a second week needs to be added, add it in the end. This way, every month will have offset days on each end, and months like Feb. 2021 will not have that huge tail. This mode does not add a week before if the month already starts with a partial week
  • 'fair' - The first extra week is added to either start or end of the month, depending on which partial week has fewer offset days. This solves the same problems as center, but aims to distribute the padding more evenly. Since it leads to more months having a leading offset week, which is not necessarily desirable. The difference is visible e.g. in June 2021
Code Example
vue
<template>
+</script>

six-weeks

Always display six weeks on the calendar. This will prevent dynamic calendar height change depending on the month

  • Type: boolean | 'append' | 'prepend' | 'center' | 'fair'
  • Default: false

Info

  • boolean - Legacy enable, same as append
  • 'append' - Always add new row(s) at the bottom of the calendar
  • 'prepend' - Always add new row(s) at the beginning of the calendar
  • 'center' - If the month that needs padding starts with the beginning of a week, add a week at the start. If a second week needs to be added, add it in the end. This way, every month will have offset days on each end, and months like Feb. 2021 will not have that huge tail. This mode does not add a week before if the month already starts with a partial week
  • 'fair' - The first extra week is added to either start or end of the month, depending on which partial week has fewer offset days. This solves the same problems as center, but aims to distribute the padding more evenly. Since it leads to more months having a leading offset week, which is not necessarily desirable. The difference is visible e.g. in June 2021
Code Example
vue
<template>
   <div class="buttons-wrap">
     <button
         v-for="(btn, i) in buttons"
@@ -57,7 +57,7 @@
 const date = ref(new Date());
 const buttons = [true, 'append', 'prepend', 'center', 'fair'];
 const mode = ref<boolean | string>(true);
-</script>

dark

Theme switch between the dark and light mode

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

dark

Theme switch between the dark and light mode

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" dark />
 </template>
 
@@ -65,7 +65,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

offset

Number of pixels between the menu and input

  • Type: number | string
  • Default: 10
Code Example
vue
<template>
+</script>

offset

Number of pixels between the menu and input

  • Type: number | string
  • Default: 10
Code Example
vue
<template>
     <VueDatePicker v-model="date" :offset="20" />
 </template>
 
@@ -73,7 +73,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

hide-input-icon

Hide calendar icon in the input field

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

hide-input-icon

Hide calendar icon in the input field

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" hide-input-icon />
 </template>
 
@@ -81,7 +81,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

state

Validation state of the calendar value. Sets the green/red border depending on the value

  • Type: boolean
  • Default: null
Code Example
vue
<template>
+</script>

state

Validation state of the calendar value. Sets the green/red border depending on the value

  • Type: boolean
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" :state="false" />
 </template>
 
@@ -89,7 +89,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

input-class-name

Add a custom class to the input field

  • Type: string
  • Default: null
Code Example
vue
<template>
+</script>

input-class-name

Add a custom class to the input field

  • Type: string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" input-class-name="dp-custom-input" />
 </template>
 
@@ -108,7 +108,7 @@
     border-color: #1976d2;
   }
 }
-</style>

Add a custom class to the datepicker menu wrapper

  • Type: string
  • Default: null
Code Example
vue
<template>
+</style>

Add a custom class to the datepicker menu wrapper

  • Type: string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" menu-class-name="dp-custom-menu" />
 </template>
 
@@ -122,7 +122,7 @@
 .dp-custom-menu {
   box-shadow: 0 0 6px #1976d2;
 }
-</style>

calendar-class-name

Add a custom class to the calendar wrapper

  • Type: string
  • Default: null
Code Example
vue
<template>
+</style>

calendar-class-name

Add a custom class to the calendar wrapper

  • Type: string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" calendar-class-name="dp-custom-calendar" />
 </template>
 
@@ -138,7 +138,7 @@
     border: 1px solid var(--dp-border-color-hover);
   }
 }
-</style>

calendar-cell-class-name

Add a custom class to the calendar cell wrapper

  • Type: string
  • Default: null
Code Example
vue
<template>
+</style>

calendar-cell-class-name

Add a custom class to the calendar cell wrapper

  • Type: string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date"  calendar-cell-class-name="dp-custom-cell" />
 </template>
 
@@ -152,7 +152,7 @@
 .dp-custom-cell {
   border-radius: 50%;
 }
-</style>

day-class

Add custom class to the calendar cell depending on the date

  • Type: (date: Date) => string
  • Default: null
Code Example
vue
<template>
+</style>

day-class

Add custom class to the calendar cell depending on the date

  • Type: (date: Date) => string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" :day-class="getDayClass" />
 </template>
 
@@ -168,7 +168,7 @@
   return '';
 };
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/props/modes-configuration/index.html b/docs/props/modes-configuration/index.html index 1c8ec7a7e..722c0d61e 100644 --- a/docs/props/modes-configuration/index.html +++ b/docs/props/modes-configuration/index.html @@ -6,12 +6,12 @@ Props - Modes configuration | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

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 {
+    
Skip to content

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;
@@ -32,7 +32,7 @@
     maxRange?: string | number;
     minRange?: string | number;
     autoRange?: string | number;
-}

autoRange

Predefine range to select

  • Default: false
Code Example
vue
<template>
+}

autoRange

Predefine range to select

  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" :range="{ autoRange: 5 }" />
 </template>
 
@@ -40,7 +40,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

partialRange

This option is enabled by default, meaning, two dates are not required for range input. If no second date is selected, the value will be null

  • Default: true
Code Example
vue
<template>
+</script>

partialRange

This option is enabled by default, meaning, two dates are not required for range input. If no second date is selected, the value will be null

  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :range="{ partialRange: false }" />
 </template>
 
@@ -48,7 +48,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

minRange

Set minimal range available for selection. This is the number of days between the selected start and end date

  • Default: undefined
Code Example
vue
<template>
+</script>

minRange

Set minimal range available for selection. This is the number of days between the selected start and end date

  • Default: undefined
Code Example
vue
<template>
     <VueDatePicker v-model="date" :range="{ minRange: 3 }" />
 </template>
 
@@ -56,7 +56,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

maxRange

Set maximal range available for selection. This is the number of days between the selected start and end date

  • Default: undefined
Code Example
vue
<template>
+</script>

maxRange

Set maximal range available for selection. This is the number of days between the selected start and end date

  • Default: undefined
Code Example
vue
<template>
     <VueDatePicker v-model="date" :range="{ maxRange: 7 }" />
 </template>
 
@@ -64,7 +64,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

fixedStart

Allows only adjustment of the second date in the defined range

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedEnd

  • Default: false
Code Example
vue
<template>
+</script>

fixedStart

Allows only adjustment of the second date in the defined range

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedEnd

  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" :range="{ fixedStart: true }" :clearable="false" />
 </template>
 
@@ -79,7 +79,7 @@
   const endDate = new Date(new Date().setDate(startDate.getDate() + 7));
   date.value = [startDate, endDate];
 })
-</script>

fixedEnd

Allows only adjustment of the first date in the defined range

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedStart

  • Default: false
Code Example
vue
<template>
+</script>

fixedEnd

Allows only adjustment of the first date in the defined range

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixedStart

  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" :range="{ fixedEnd: true }" :clearable="false" />
 </template>
 
@@ -94,7 +94,7 @@
   const endDate = new Date(new Date().setDate(startDate.getDate() + 7));
   date.value = [startDate, endDate];
 })
-</script>

showLastInRange

By default, when the range is selected, calendar view will remain on the last selection, to return to the first selected date, disable this option

  • Default: true
Code Example
vue
<template>
+</script>

showLastInRange

By default, when the range is selected, calendar view will remain on the last selection, to return to the first selected date, disable this option

  • Default: true
Code Example
vue
<template>
   <VueDatePicker v-model="date" :range="{ showLastInRange: false }" />
 </template>
 
@@ -108,7 +108,7 @@
   const endDate = new Date(new Date().setDate(startDate.getDate() + 7));
   date.value = [startDate, endDate];
 })
-</script>

noDisabledRange

Prevents range selection if the range includes disabled dates

  • Default: false
Code Example
vue
<template>
+</script>

noDisabledRange

Prevents range selection if the range includes disabled dates

  • Default: false
Code Example
vue
<template>
     <VueDatePicker 
         v-model="date" 
         :range="{ noDisabledRange: true }"
@@ -123,7 +123,7 @@
 const date = ref(new Date());
 
 const disabledDates = [subDays(new Date(), 1), new Date(), addDays(new Date(), 1)];
-</script>

disableTimeRangeValidation

Explicitly allow end time in range mode to be before the start time

  • Default: false
Code Example
vue
<template>
+</script>

disableTimeRangeValidation

Explicitly allow end time in range mode to be before the start time

  • Default: false
Code Example
vue
<template>
     <VueDatePicker 
       v-model="time" 
       time-picker
@@ -136,7 +136,7 @@
 import { ref } from 'vue';
 
 const time = ref();
-</script>

minMaxRawRange

When using disabled dates with minRange or mixRange, disabled dates are not calculated within, setting this option to true will validate all dates

  • Default: false
Code Example
vue
<template>
+</script>

minMaxRawRange

When using disabled dates with minRange or mixRange, disabled dates are not calculated within, setting this option to true will validate all dates

  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" :range="{ maxRange: 14, minMaxRawRange: true }" />
 </template>
 
@@ -144,7 +144,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

partial-range

Deprecation warning

This prop is deprecated, please refer to range configuration section

This prop is enabled by default, meaning, two dates are not required for range input. If no second date is selected, the value will be null

  • Type: boolean
  • Default: true
Code Example
vue
<template>
+</script>

partial-range

Deprecation warning

This prop is deprecated, please refer to range configuration section

This prop is enabled by default, meaning, two dates are not required for range input. If no second date is selected, the value will be null

  • Type: boolean
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" range :partial-range="false" />
 </template>
 
@@ -158,7 +158,7 @@
   style?: Record<string, string>;
   slot?: string;
   noTz?: boolean;
-}
Code Example
vue
<template>
+}
Code Example
vue
<template>
     <VueDatePicker v-model="date" range :preset-dates="presetDates">
       <template #preset-date-range-button="{ label, value, presetDate }">
         <span 
@@ -193,7 +193,7 @@
   },
   { label: 'This year', value: [startOfYear(new Date()), endOfYear(new Date())] },
 ]);
-</script>

min-range

Deprecation warning

This prop is deprecated, please refer to range configuration section

Set minimal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
vue
<template>
+</script>

min-range

Deprecation warning

This prop is deprecated, please refer to range configuration section

Set minimal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" range min-range="3" />
 </template>
 
@@ -201,7 +201,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

max-range

Deprecation warning

This prop is deprecated, please refer to range configuration section

Set maximal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
vue
<template>
+</script>

max-range

Deprecation warning

This prop is deprecated, please refer to range configuration section

Set maximal range available for selection. This is the number of days between the selected start and end date

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" range max-range="7" />
 </template>
 
@@ -209,7 +209,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

fixed-start

Deprecation warning

This prop is deprecated, please refer to range configuration section

Allows only adjustment of the second date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixed-end

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

fixed-start

Deprecation warning

This prop is deprecated, please refer to range configuration section

Allows only adjustment of the second date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixed-end

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" range fixed-start :clearable="false" />
 </template>
 
@@ -224,7 +224,7 @@
   const endDate = new Date(new Date().setDate(startDate.getDate() + 7));
   date.value = [startDate, endDate];
 })
-</script>

fixed-end

Deprecation warning

This prop is deprecated, please refer to range configuration section

Allows only adjustment of the first date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixed-start

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

fixed-end

Deprecation warning

This prop is deprecated, please refer to range configuration section

Allows only adjustment of the first date in the defined range

Info

range prop must be enabled

WARNING

v-model must be provided with both dates.

Should not be used in combination with fixed-start

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" range fixed-end :clearable="false" />
 </template>
 
@@ -243,7 +243,7 @@
     solo?: boolean;
     static?: boolean;
     count?: string | number;
-}
  • Default: { solo: false, static: true, count: 2 }

solo

When enabled, both calendars will be independent of each other

Code Example
vue
<template>
+}
  • Default: { solo: false, static: true, count: 2 }

solo

When enabled, both calendars will be independent of each other

Code Example
vue
<template>
     <VueDatePicker v-model="date" range :multi-calendars="{ solo: true }" />
 </template>
 
@@ -257,7 +257,7 @@
   const endDate = new Date(new Date().setDate(startDate.getDate() + 7));
   date.value = [startDate, endDate];
 })
-</script>

static

The default calendar view when using multi-calendars is to keep it on the month selected by the user. When this prop is disabled, it will auto-update the first calendar when the range starts and adjust the rest of them based on the first month

Code Example
vue
<template>
+</script>

static

The default calendar view when using multi-calendars is to keep it on the month selected by the user. When this prop is disabled, it will auto-update the first calendar when the range starts and adjust the rest of them based on the first month

Code Example
vue
<template>
     <VueDatePicker v-model="date" range :multi-calendars="{ static: false }" />
 </template>
 
@@ -278,7 +278,7 @@
     rangeSeparator?: string;
     selectOnFocus?: boolean;
     format?: string | string[] | ((value: string) => Date | null);
-}
  • Default: { enterSubmit: true, tabSubmit: true, openMenu: true, rangeSeparator: '-' }

Properties explanation:

  • enterSubmit: When enabled, pressing enter will select a date if the input value is a valid date object
  • tabSubmit: When enabled, pressing tab will select a date if the input value is a valid date object
  • openMenu: When enabled, opens the menu when clicking on the input field
  • format: Override the default parsing format. Default is the string value from format. You can also pass multiple parser patterns or a custom parser function and parse the input yourself. When the input is focused, the date will be shown in this format.
  • rangeSeparator: If you use range mode, the default separator is -, you can change it here
  • selectOnFocus: Selects the input text when input is focused
Code Example
vue
<template>
+}
  • Default: { enterSubmit: true, tabSubmit: true, openMenu: true, rangeSeparator: '-' }

Properties explanation:

  • enterSubmit: When enabled, pressing enter will select a date if the input value is a valid date object
  • tabSubmit: When enabled, pressing tab will select a date if the input value is a valid date object
  • openMenu: When enabled, opens the menu when clicking on the input field
  • format: Override the default parsing format. Default is the string value from format. You can also pass multiple parser patterns or a custom parser function and parse the input yourself. When the input is focused, the date will be shown in this format.
  • rangeSeparator: If you use range mode, the default separator is -, you can change it here
  • selectOnFocus: Selects the input text when input is focused
Code Example
vue
<template>
     <VueDatePicker 
       v-model="date"
       placeholder="Start Typing ..."
@@ -294,7 +294,7 @@
 };
 </script>

inline configuration

Use input with the inline mode, useful if you enable text-input. When the configuration object is provided, inline prop is auto enabled

  • Type:
ts
interface InlineOptions {
     input?: boolean;
-}
  • Default: { input: false }
Code Example
vue
<template>
+}
  • Default: { input: false }
Code Example
vue
<template>
     <VueDatePicker v-model="date" :inline="{ input: true }" text-input auto-apply />
 </template>
 
@@ -305,7 +305,7 @@
 </script>

multi-dates configuration

Configure additional behaviour for multi-dates mode

ts
interface MultiDatesConfig {
     limit?: number | string;
     dragSelect?: boolean;
-}

limit

Limit the number of dates to select

  • Default: null
Code Example
vue
<template>
+}

limit

Limit the number of dates to select

  • Default: null
Code Example
vue
<template>
   <VueDatePicker v-model="date" :multi-dates="{ limit: 3 }" />
 </template>
 
@@ -313,7 +313,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

dragSelect

Allows selecting multiple dates by dragging the mouse over the calendar cells

  • Default: true
Code Example
vue
<template>
+</script>

dragSelect

Allows selecting multiple dates by dragging the mouse over the calendar cells

  • Default: true
Code Example
vue
<template>
   <VueDatePicker v-model="date" :multi-dates="{ dragSelect: false }" />
 </template>
 
@@ -321,7 +321,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

multi-dates-limit

Deprecation warning

This prop is deprecated, please refer to multi-dates configuration section

Limit the number of dates to select when multi-dates is enabled

  • Type: number | string
  • Default: null
Code Example
vue
<template>
+</script>

multi-dates-limit

Deprecation warning

This prop is deprecated, please refer to multi-dates configuration section

Limit the number of dates to select when multi-dates is enabled

  • Type: number | string
  • Default: null
Code Example
vue
<template>
   <VueDatePicker v-model="date" multi-dates multi-dates-limit="3" />
 </template>
 
@@ -329,7 +329,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

partial-flow

When combined with the auto-apply prop, it will set the date as soon as the date is selected without waiting for last flow step to execute

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

partial-flow

When combined with the auto-apply prop, it will set the date as soon as the date is selected without waiting for last flow step to execute

  • Type: boolean
  • Default: false
Code Example
vue
<template>
   <VueDatePicker v-model="date" auto-apply partial-flow :flow="['calendar', 'time']" />
 </template>
 
@@ -337,7 +337,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

show-last-in-range

Deprecation warning

This prop is deprecated, please refer to range configuration section

By default, when the range is selected, calendar view will remain on the last selection, to return to the first selected date, disable this option

  • Type: boolean
  • Default: true
Code Example
vue
<template>
+</script>

show-last-in-range

Deprecation warning

This prop is deprecated, please refer to range configuration section

By default, when the range is selected, calendar view will remain on the last selection, to return to the first selected date, disable this option

  • Type: boolean
  • Default: true
Code Example
vue
<template>
   <VueDatePicker v-model="date" range :show-last-in-range="false" />
 </template>
 
@@ -357,7 +357,7 @@
   dateInTz?: string;
   emitTimezone?: string;
   convertModel?: boolean;
-}

timezone

Same as timezone string prop type, define a timezone for the datepicker

  • Default: undefined
Timezone: UTC
Offset: 0
Code Example
vue
<template>
+}

timezone

Same as timezone string prop type, define a timezone for the datepicker

  • Default: undefined
Timezone: UTC
Offset: 0
Code Example
vue
<template>
   <div class="tz-demo-wrap">
     <div class="dp-container-wrap">
       <VueDatePicker
@@ -426,7 +426,7 @@
   const tz = computed(() => {
     return { ...timezone.value, timezone: activeTz.value.tz };
   });
-</script>

exactMatch

When enabled, it will not convert date to the given timezone. If you are providing the Date object, it will remain as is, while UTC string, will be converted to the local timezone

  • Default: false
Timezone: UTC
Offset: 0
Code Example
vue
<template>
+</script>

exactMatch

When enabled, it will not convert date to the given timezone. If you are providing the Date object, it will remain as is, while UTC string, will be converted to the local timezone

  • Default: false
Timezone: UTC
Offset: 0
Code Example
vue
<template>
   <div class="tz-demo-wrap">
     <div class="dp-container-wrap">
       <VueDatePicker
@@ -497,7 +497,7 @@
     return { ...timezone.value, timezone: activeTz.value.tz };
   });
   
-</script>

dateInTz

This property is checked only if exactMatch is set to true, meaning that if you provide the date from some other timezone other than local, and want that date to be the same, you'll need to provide the original date timezone

  • Default: undefined
Timezone: UTC
Offset: 0
Code Example
vue
<template>
+</script>

dateInTz

This property is checked only if exactMatch is set to true, meaning that if you provide the date from some other timezone other than local, and want that date to be the same, you'll need to provide the original date timezone

  • Default: undefined
Timezone: UTC
Offset: 0
Code Example
vue
<template>
   <div class="tz-demo-wrap">
     <div class="dp-container-wrap">
       <VueDatePicker
@@ -574,7 +574,7 @@
     return { ...timezone.value, timezone: activeTz.value.tz };
   });
   
-</script>

emitTimezone

Enables the @update:model-timezone-value event that will dispatch a v-model value in a given timezone

  • Default: undefined
Timezone: UTC
Offset: 0
Code Example
vue
<template>
+</script>

emitTimezone

Enables the @update:model-timezone-value event that will dispatch a v-model value in a given timezone

  • Default: undefined
Timezone: UTC
Offset: 0
Code Example
vue
<template>
   <div class="tz-demo-wrap">
     <div class="dp-container-wrap">
       <VueDatePicker
@@ -643,7 +643,7 @@
   const setZonedDate = (date) => {
     zonedDate.value = date.toISOString();;
   }
-</script>

convertModel

Used to explicitly enable or disable v-model value conversion in a given timezone

  • Default: true
Code Example
vue
<template>
+</script>

convertModel

Used to explicitly enable or disable v-model value conversion in a given timezone

  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :timezone="{ convertModel: false, timezone: 'UTC' }" />
 </template>
 
@@ -652,7 +652,7 @@
 
 const date = ref();
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/props/modes/index.html b/docs/props/modes/index.html index b8144ee2e..edcb01a4f 100644 --- a/docs/props/modes/index.html +++ b/docs/props/modes/index.html @@ -6,12 +6,12 @@ Props - Modes | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

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

Code Example
vue
<template>
+    
Skip to content

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

Code Example
vue
<template>
     <VueDatePicker v-model="date" range />
 </template>
 
@@ -36,7 +36,7 @@
   const endDate = new Date(new Date().setDate(startDate.getDate() + 7));
   date.value = [startDate, endDate];
 })
-</script>

auto-range

Predefine range to select

Deprecation warning

This prop is deprecated, please refer to range configuration section

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
vue
<template>
+</script>

auto-range

Predefine range to select

Deprecation warning

This prop is deprecated, please refer to range configuration section

Info

range prop must be enabled

  • Type: number | string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" range auto-range="5" />
 </template>
 
@@ -44,7 +44,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

multi-calendars

Enabling this prop will show multiple calendars side by side (on mobile devices, they will be in a column layout) for range picker. You can also pass a number to show more calendars. If you pass true, 2 calendars will be shown automatically.

Info

If the MultiCalendarsOptions object is provided, multi-calendars are auto enabled. For more info take a look at multi-calendars configuration section.

This mode is not supported with year-picker and time-picker

  • Type: boolean | number | string | MultiCalendarsOptions
  • Default: false
Code Example
vue
<template>
+</script>

multi-calendars

Enabling this prop will show multiple calendars side by side (on mobile devices, they will be in a column layout) for range picker. You can also pass a number to show more calendars. If you pass true, 2 calendars will be shown automatically.

Info

If the MultiCalendarsOptions object is provided, multi-calendars are auto enabled. For more info take a look at multi-calendars configuration section.

This mode is not supported with year-picker and time-picker

  • Type: boolean | number | string | MultiCalendarsOptions
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" range multi-calendars />
 </template>
 
@@ -58,7 +58,7 @@
   const endDate = new Date(new Date().setDate(startDate.getDate() + 7));
   date.value = [startDate, endDate];
 })
-</script>

month-picker

Change datepicker mode to select only month and year

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

month-picker

Change datepicker mode to select only month and year

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="month" month-picker />
 </template>
 
@@ -69,7 +69,7 @@
   month: new Date().getMonth(),
   year: new Date().getFullYear()
 });
-</script>

time-picker

Change datepicker mode to select only time

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

time-picker

Change datepicker mode to select only time

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="time" time-picker />
 </template>
 
@@ -80,7 +80,7 @@
   hours: new Date().getHours(),
   minutes: new Date().getMinutes()
 });
-</script>

year-picker

Change datepicker mode to select only year

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

year-picker

Change datepicker mode to select only year

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="year" year-picker />
 </template>
 
@@ -88,7 +88,7 @@
 import { ref } from 'vue';
 
 const year = ref(new Date().getFullYear());
-</script>

week-picker

Select a specific week range

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

week-picker

Select a specific week range

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" week-picker />
 </template>
 
@@ -96,7 +96,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

quarter-picker

Change datepicker mode to select a quarter

Warning

When working with the quarter-picker, you will receive date(s) in the v-model. Each date will be the first date of the quarter. When using validation for min or max dates, disabled dates and so on, use a first date of the targeted quarter

Info

By default, quarter item displays first and last month of the quarter, to change locale of the displayed value, you can use format-locale prop or custom quarter slot

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

quarter-picker

Change datepicker mode to select a quarter

Warning

When working with the quarter-picker, you will receive date(s) in the v-model. Each date will be the first date of the quarter. When using validation for min or max dates, disabled dates and so on, use a first date of the targeted quarter

Info

By default, quarter item displays first and last month of the quarter, to change locale of the displayed value, you can use format-locale prop or custom quarter slot

  • Type: boolean
  • Default: false
Code Example
vue
<template>
   <VueDatePicker v-model="quarter" quarter-picker />
 </template>
 
@@ -105,7 +105,7 @@
   import { startOfQuarter } from "date-fns";
 
   const quarter = ref(startOfQuarter(new Date()));
-</script>

text-input

When enabled, will try to parse the date from the user input.

Info

Text input works with all picker modes.

If the TextInputOptions object is provided, text-input is auto enabled. For more info take a look at text-input configuration section.

  • Type: boolean | TextInputOptions
  • Default: false
Code Example
vue
<template>
+</script>

text-input

When enabled, will try to parse the date from the user input.

Info

Text input works with all picker modes.

If the TextInputOptions object is provided, text-input is auto enabled. For more info take a look at text-input configuration section.

  • Type: boolean | TextInputOptions
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" placeholder="Start Typing ..." text-input />
 </template>
 
@@ -113,7 +113,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

inline

Removes the input field and places the calendar in your parent component

Info

Text input works with all picker modes.

If the InlineOptions object is provided, inline is auto enabled. For more info take a look at inline configuration section.

  • Type: boolean | InlineOptions
  • Default: false
Code Example
vue
<template>
+</script>

inline

Removes the input field and places the calendar in your parent component

Info

Text input works with all picker modes.

If the InlineOptions object is provided, inline is auto enabled. For more info take a look at inline configuration section.

  • Type: boolean | InlineOptions
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" inline auto-apply />
 </template>
 
@@ -121,7 +121,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

multi-dates

Allow selecting multiple single dates. When changing time, the latest selected date is affected. To deselect the date, click on the selected value

  • Type: boolean | MultiDatesConfig
  • Default: false

Info

Code Example
vue
<template>
+</script>

multi-dates

Allow selecting multiple single dates. When changing time, the latest selected date is affected. To deselect the date, click on the selected value

  • Type: boolean | MultiDatesConfig
  • Default: false

Info

Code Example
vue
<template>
     <VueDatePicker v-model="date" multi-dates />
 </template>
 
@@ -129,7 +129,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

flow

Define the selecting order. Position in the array will specify the execution step. When you overwrite the execution step, the flow is reset

  • Type: ('month' | 'year' | 'calendar' | 'time' | 'minutes' | 'hours' | 'seconds')[]
  • Default: []

Info

flow is not supported with multi-calendars mode

Code Example
vue
<template>
+</script>

flow

Define the selecting order. Position in the array will specify the execution step. When you overwrite the execution step, the flow is reset

  • Type: ('month' | 'year' | 'calendar' | 'time' | 'minutes' | 'hours' | 'seconds')[]
  • Default: []

Info

flow is not supported with multi-calendars mode

Code Example
vue
<template>
     <VueDatePicker v-model="date" :flow="flow"  />
 </template>
 
@@ -138,7 +138,7 @@
 
 const date = ref();
 const flow = ref(['month', 'year', 'calendar']);
-</script>

utc

Output date(s) will be in UTC timezone string. You can use this if you gather dates from different timezones and want to send the date directly to the server

  • Type: boolean | 'preserve'
  • Default: false

Info

  • preserve - The input date will be the same, meaning, that it will not convert the date in the local timezone, but preserve the original UTC time.
  • true - The input date will be converted to the local timezone. Output date will be in the UTC format. Meaning that what is the actual v-model and what is displayed in the picker will be in the timezone difference.
Code Example
vue
<template>
+</script>

utc

Output date(s) will be in UTC timezone string. You can use this if you gather dates from different timezones and want to send the date directly to the server

  • Type: boolean | 'preserve'
  • Default: false

Info

  • preserve - The input date will be the same, meaning, that it will not convert the date in the local timezone, but preserve the original UTC time.
  • true - The input date will be converted to the local timezone. Output date will be in the UTC format. Meaning that what is the actual v-model and what is displayed in the picker will be in the timezone difference.
Code Example
vue
<template>
     <VueDatePicker v-model="date" utc />
 </template>
 
@@ -146,7 +146,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

vertical

Sets the datepicker orientation in the vertical mode. This mode will change the arrow action from left/right to the top/bottom, transitions will also be vertical

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

vertical

Sets the datepicker orientation in the vertical mode. This mode will change the arrow action from left/right to the top/bottom, transitions will also be vertical

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" vertical />
 </template>
 
@@ -154,7 +154,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

model-auto

Automatically switch between range and single picker modes

  • Type: Boolean
  • Default: false

Note

Since this prop in the background uses a partial-range make sure that range prop is provided and keep partial-range to true

This is only compatible with date pickers, specific modes are not supported

Code Example
vue
<template>
+</script>

model-auto

Automatically switch between range and single picker modes

  • Type: Boolean
  • Default: false

Note

Since this prop in the background uses a partial-range make sure that range prop is provided and keep partial-range to true

This is only compatible with date pickers, specific modes are not supported

Code Example
vue
<template>
     <VueDatePicker v-model="date" model-auto range />
     <p v-if="date">Selected date: {{ date }}</p>
 </template>
@@ -163,7 +163,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

timezone

Display the dates in a given timezone. Datepicker always work in the clients timezone, but when the timezone prop is provided, the Date object will adjust offset in the hours, remaining in the client timezone.

Info

Providing props that rely on the Date object such as min-date, max-date, disabled-dates and so on, will be converted to a provided timezone.

For more info about timezone configuration properties, please refer to timezone configuration section

  • Type: string | TimeZoneConfig
  • Default: null
Timezone: UTC
Offset: 0
Code Example
vue
<template>
+</script>

timezone

Display the dates in a given timezone. Datepicker always work in the clients timezone, but when the timezone prop is provided, the Date object will adjust offset in the hours, remaining in the client timezone.

Info

Providing props that rely on the Date object such as min-date, max-date, disabled-dates and so on, will be converted to a provided timezone.

For more info about timezone configuration properties, please refer to timezone configuration section

  • Type: string | TimeZoneConfig
  • Default: null
Timezone: UTC
Offset: 0
Code Example
vue
<template>
   <div class="tz-demo-wrap">
     <div class="dp-container-wrap">
       <VueDatePicker 
@@ -232,7 +232,7 @@
   const tz = computed(() => {
     return { ...timezone.value, timezone: activeTz.value.tz };
   });
-</script>

emit-timezone

Enables the @update:model-timezone-value event that will dispatch a v-model value in a given timezone

Deprecation warning

This prop is deprecated, please refer to timezone configuration section

  • Type: string
  • Default: null
Code Example
vue
<template>
+</script>

emit-timezone

Enables the @update:model-timezone-value event that will dispatch a v-model value in a given timezone

Deprecation warning

This prop is deprecated, please refer to timezone configuration section

  • Type: string
  • Default: null
Code Example
vue
<template>
   <VueDatePicker
       v-model="date"
       emit-timezone="UTC"
@@ -250,7 +250,7 @@
         utcDate.value = value;
     };
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/props/positioning/index.html b/docs/props/positioning/index.html index 74f5008f1..766369079 100644 --- a/docs/props/positioning/index.html +++ b/docs/props/positioning/index.html @@ -6,12 +6,12 @@ Props - Positioning | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

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'
Code Example
vue
<template>
+    
Skip to content

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'
Code Example
vue
<template>
     <VueDatePicker v-model="date" position="left" />
 </template>
 
@@ -37,7 +37,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

alt-position

If you have issues with the menu being miss-placed, you can use custom function that can position the menu to your liking

  • Type: (el: HTMLElement) => ({ top: number; left: number; transform: string })
  • Default: null
Code Example
vue
<template>
+</script>

alt-position

If you have issues with the menu being miss-placed, you can use custom function that can position the menu to your liking

  • Type: (el: HTMLElement) => ({ top: number; left: number; transform: string })
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" :alt-position="customPosition" />
 </template>
 
@@ -46,7 +46,7 @@
 
 const date = ref(new Date());
 const customPosition = () => ({ top: 0, left: 0 });
-</script>

auto-position

When enabled, based on viewport space available it will automatically position the menu above or bellow input field

  • Type: boolean
  • Default: true
Code Example
vue
<template>
+</script>

auto-position

When enabled, based on viewport space available it will automatically position the menu above or bellow input field

  • Type: boolean
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :auto-position="false" />
 </template>
 
@@ -54,7 +54,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

teleport-center

Sets the menu position on the page center, useful for smaller screens where there is no space available above or bellow the input field

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

teleport-center

Sets the menu position on the page center, useful for smaller screens where there is no space available above or bellow the input field

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" teleport-center />
 </template>
 
@@ -63,7 +63,7 @@
 
 const date = ref(new Date());
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/props/time-picker-configuration/index.html b/docs/props/time-picker-configuration/index.html index f78831771..925fea2fb 100644 --- a/docs/props/time-picker-configuration/index.html +++ b/docs/props/time-picker-configuration/index.html @@ -6,12 +6,12 @@ Props - Time picker configuration | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

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
Code Example
vue
<template>
+    
Skip to content

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
Code Example
vue
<template>
     <VueDatePicker v-model="date" time-picker-inline />
 </template>
 
@@ -29,7 +29,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

enable-time-picker

Enable or disable time picker

  • Type: boolean
  • Default: true
Code Example
vue
<template>
+</script>

enable-time-picker

Enable or disable time picker

  • Type: boolean
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :enable-time-picker="false" />
 </template>
 
@@ -37,7 +37,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

is-24

Whether to use 24H or 12H mode

  • Type: boolean
  • Default: true
Code Example
vue
<template>
+</script>

is-24

Whether to use 24H or 12H mode

  • Type: boolean
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :is-24="false" />
 </template>
 
@@ -45,7 +45,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

enable-seconds

Enable seconds in the time picker

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

enable-seconds

Enable seconds in the time picker

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" enable-seconds />
 </template>
 
@@ -53,7 +53,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

hours-increment

The value which is used to increment hours via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
vue
<template>
+</script>

hours-increment

The value which is used to increment hours via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
vue
<template>
     <VueDatePicker v-model="date" hours-increment="2" />
 </template>
 
@@ -61,7 +61,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

minutes-increment

The value which is used to increment minutes via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
vue
<template>
+</script>

minutes-increment

The value which is used to increment minutes via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
vue
<template>
     <VueDatePicker v-model="date" minutes-increment="5" />
 </template>
 
@@ -69,7 +69,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

seconds-increment

The value which is used to increment seconds via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
vue
<template>
+</script>

seconds-increment

The value which is used to increment seconds via arrows in the time picker

  • Type: number | string
  • Default: 1
Code Example
vue
<template>
     <VueDatePicker v-model="date" enable-seconds seconds-increment="5" />
 </template>
 
@@ -77,7 +77,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

hours-grid-increment

The value which is used to increment hours when showing hours overlay

It will always start from 0 until it reaches 24 or 12 depending on the is-24 prop

  • Type: number | string
  • Default: 1
Code Example
vue
<template>
+</script>

hours-grid-increment

The value which is used to increment hours when showing hours overlay

It will always start from 0 until it reaches 24 or 12 depending on the is-24 prop

  • Type: number | string
  • Default: 1
Code Example
vue
<template>
     <VueDatePicker v-model="date" hours-grid-increment="2" />
 </template>
 
@@ -85,7 +85,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

minutes-grid-increment

The value which is used to increment minutes when showing minutes overlay

It will always start from 0 to 60 minutes

  • Type: number | string
  • Default: 5
Code Example
vue
<template>
+</script>

minutes-grid-increment

The value which is used to increment minutes when showing minutes overlay

It will always start from 0 to 60 minutes

  • Type: number | string
  • Default: 5
Code Example
vue
<template>
     <VueDatePicker v-model="date" minutes-grid-increment="2" />
 </template>
 
@@ -93,7 +93,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

seconds-grid-increment

The value which is used to increment seconds when showing seconds overlay

  • Type: number | string
  • Default: 5
Code Example
vue
<template>
+</script>

seconds-grid-increment

The value which is used to increment seconds when showing seconds overlay

  • Type: number | string
  • Default: 5
Code Example
vue
<template>
     <VueDatePicker v-model="date" enable-seconds seconds-grid-increment="2" />
 </template>
 
@@ -101,7 +101,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

no-hours-overlay

Disable overlay for the hours, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

no-hours-overlay

Disable overlay for the hours, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" no-hours-overlay />
 </template>
 
@@ -109,7 +109,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

no-minutes-overlay

Disable overlay for the minutes, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

no-minutes-overlay

Disable overlay for the minutes, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" no-minutes-overlay />
 </template>
 
@@ -117,7 +117,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

no-seconds-overlay

Disable overlay for the seconds, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

no-seconds-overlay

Disable overlay for the seconds, only arrow selection will be available

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" no-seconds-overlay enable-seconds />
 </template>
 
@@ -125,7 +125,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

min-time

Sets the minimal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
Code Example
vue
<template>
+</script>

min-time

Sets the minimal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" :min-time="{ hours: 11, minutes: 30 }" placeholder="Select Date" />
 </template>
 
@@ -133,7 +133,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

max-time

Sets the maximal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
Code Example
vue
<template>
+</script>

max-time

Sets the maximal available time to pick

  • Type: { hours?: number | string; minutes?: number | string; seconds?: number | string }
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" :max-time="{ hours: 11, minutes: 30 }" placeholder="Select Date" />
 </template>
 
@@ -141,7 +141,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

start-time

Set some default starting time

  • Type:
    • Single picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }
    • Range picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }[]
  • Default: null
Code Example
vue
<template>
+</script>

start-time

Set some default starting time

  • Type:
    • Single picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }
    • Range picker: { hours?: number | string; minutes?: number | string; seconds?: number | string }[]
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" :start-time="startTime" placeholder="Select Date" />
 </template>
 
@@ -150,7 +150,7 @@
 
 const date = ref();
 const startTime = ref({ hours: 0, minutes: 0 });
-</script>

disable-time-range-validation

Deprecation warning

This prop is deprecated, please refer to range configuration section

Explicitly allow end time in range mode to be before the start time

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+</script>

disable-time-range-validation

Deprecation warning

This prop is deprecated, please refer to range configuration section

Explicitly allow end time in range mode to be before the start time

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="time" time-picker disable-time-range-validation range placeholder="Select Time" />
 </template>
 
@@ -164,7 +164,7 @@
 
 type DisabledTimesProp = ((time: FnParam) => boolean) 
         | TimeObj[]
-        | [TimeObj[], TimeObj[]] // only for range validation
  • Default: undefined

Info

Dynamic disabling of times in the time-picker overlay only works with the Array value provided

Prop can be used either in time-picker or regular date picker modes

To disable full hour you can pass an object for example: { hours: 15, minutes: "*" } with the * wildcard

To have a better control of the renge validation, you can provide an array containing 2 arrays.

  • First array will be used to validate start time
  • Second array will be used to validate end time
Code Example
vue
<template>
+        | [TimeObj[], TimeObj[]] // only for range validation
  • Default: undefined

Info

Dynamic disabling of times in the time-picker overlay only works with the Array value provided

Prop can be used either in time-picker or regular date picker modes

To disable full hour you can pass an object for example: { hours: 15, minutes: "*" } with the * wildcard

To have a better control of the renge validation, you can provide an array containing 2 arrays.

  • First array will be used to validate start time
  • Second array will be used to validate end time
Code Example
vue
<template>
     <button v-for="btn in buttons" :key="btn" @click="changeMode(btn)">
       {{ btn }}
     </button>
@@ -203,7 +203,7 @@
   mode.value = btn;
 };
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/slots/components/index.html b/docs/slots/components/index.html index 168a8ee6b..a91c28387 100644 --- a/docs/slots/components/index.html +++ b/docs/slots/components/index.html @@ -6,12 +6,12 @@ Slots - Components | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

Component slots

Replace the built-in components with custom implementation

month-year

Create and use a custom component implementation in the header for month/year select

Info

When using this slot, the overlays will not be available, it is up to you to create them if you want

Warning

Depending on the used mode, slot will provide a different set of props

Exposed props:

Date picker

ts
interface DefaultSelect {
+    
Skip to content

Component slots

Replace the built-in components with custom implementation

month-year

Create and use a custom component implementation in the header for month/year select

Info

When using this slot, the overlays will not be available, it is up to you to create them if you want

Warning

Depending on the used mode, slot will provide a different set of props

Exposed props:

Date picker

ts
interface DefaultSelect {
   value: number;
   text: string;
   className?: Record<string, boolean>;
@@ -154,7 +154,7 @@
     background: var(--dp-hover-color);
   }
 }
-</style>

time-picker

Create and use a custom component for the time picker

This slot exposes the following:

  • time (Time)
    • Reactive time object with hours, minutes and seconds
  • updateTime (UpdateTime)
    • Exposed function to update time
ts
// Array values are used if range is enabled
+</style>

time-picker

Create and use a custom component for the time picker

This slot exposes the following:

  • time (Time)
    • Reactive time object with hours, minutes and seconds
  • updateTime (UpdateTime)
    • Exposed function to update time
ts
// Array values are used if range is enabled
 interface Time {
     hours: number | number[];
     minutes: number | number[];
@@ -230,7 +230,7 @@
   outline: none;
   -webkit-appearance: menulist;
 }
-</style>

action-row

Create and use a custom component for action row

This slot exposes the following:

  • internalModelValue (Date | Date[] | null)
    • Current selected value in the datepicker
  • selectDate (() => void)
    • Select the current internalModelValue value
  • closePicker (() = void)
    • Close the datepicker menu
  • disabled (boolean)
    • If the value is invalid based on the provided configuration
Code Example
vue
<template>
+</style>

action-row

Create and use a custom component for action row

This slot exposes the following:

  • internalModelValue (Date | Date[] | null)
    • Current selected value in the datepicker
  • selectDate (() => void)
    • Select the current internalModelValue value
  • closePicker (() = void)
    • Close the datepicker menu
  • disabled (boolean)
    • If the value is invalid based on the provided configuration
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #action-row="{ internalModelValue, selectDate }">
         <div class="action-row">
@@ -261,7 +261,7 @@
   width: 100%;
 }
 </style>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/slots/content/index.html b/docs/slots/content/index.html index 8459c1da7..0e28235ed 100644 --- a/docs/slots/content/index.html +++ b/docs/slots/content/index.html @@ -6,13 +6,13 @@ Slots - Content | Vue Datepicker - + - + - - + + @@ -21,7 +21,7 @@ -
Skip to content

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
Code Example
vue
<template>
+    
Skip to content

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #calendar-header="{ index, day }">
         <div :class="index === 5 || index === 6 ? 'red-color' : ''">
@@ -41,7 +41,7 @@
     .red-color {
         color: red;
     }
-</style>

day

This slot allows you to place custom content in the calendar

This slot will also provide 2 props when used

  • day: This is the day number displayed in the calendar
  • date: This is the date value from that day
Code Example
vue
<template>
+</style>

day

This slot allows you to place custom content in the calendar

This slot will also provide 2 props when used

  • day: This is the day number displayed in the calendar
  • date: This is the date value from that day
Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #day="{ day, date }">
             <template v-if="day === tomorrow">
@@ -66,7 +66,7 @@
         height: 20px;
         width: auto;
     }
-</style>

action-buttons

This slot replaces the buttons section in the action row

Code Example
vue
<template>
+</style>

action-buttons

This slot replaces the buttons section in the action row

Code Example
vue
<template>
     <VueDatePicker v-model="date" ref="dp">
       <template #action-buttons>
         <p class="custom-select" @click="selectDate">Select</p>
@@ -92,7 +92,7 @@
       margin: 0;
       display: inline-block;
     }
-</style>

action-preview

This slot replaces the date preview section in the action row

This slot will provide one prop

  • value: Current selection in the picker, this can be Date object, or in case of range, Date array
Code Example
vue
<template>
+</style>

action-preview

This slot replaces the date preview section in the action row

This slot will provide one prop

  • value: Current selection in the picker, this can be Date object, or in case of range, Date array
Code Example
vue
<template>
     <VueDatePicker v-model="date" ref="dp">
       <template #action-preview="{ value }">
         {{ getDate(value) }}
@@ -111,7 +111,7 @@
 
   return `Selected ${newDate.getDate()}`;
 }
-</script>

action-extra

This slot provides extra space in the action row

One prop is available:

  • selectCurrentDate - Function to call to select the date
Code Example
vue
<template>
+</script>

action-extra

This slot provides extra space in the action row

One prop is available:

  • selectCurrentDate - Function to call to select the date
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #action-extra="{ selectCurrentDate }">
         <span @click="selectCurrentDate()" title="Select current date">
@@ -133,7 +133,7 @@
     width: auto;
     cursor: pointer;
   }
-</style>

am-pm-button

This slot replaces the am-pm button in the time picker when the is-24 prop is set to false

Two props are available:

  • toggle - Function to call to switch AM/PM
  • value - Currently active mode, AM or PM
Code Example
vue
<template>
+</style>

am-pm-button

This slot replaces the am-pm button in the time picker when the is-24 prop is set to false

Two props are available:

  • toggle - Function to call to switch AM/PM
  • value - Currently active mode, AM or PM
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #am-pm-button="{ toggle, value }">
         <button @click="toggle">{{ value }}</button>
@@ -183,7 +183,7 @@
   modelValue: WritableComputedRef<Date | Date[] | (Date | null)[]>;
   time: { hours: number | number[]; minutes: number | number[]; seconds: number | number[] };
   updateTime: (value: number | number[], isHours = true, isSeconds = false) => void;
-}
  • modelValue - By modifying this variable, you will directly modify the current selection
  • time - Reactive object containing time, may be different that the v-model set time
  • updateTime - Function that updates time
Code Example
vue
<template>
+}
  • modelValue - By modifying this variable, you will directly modify the current selection
  • time - Reactive object containing time, may be different that the v-model set time
  • updateTime - Function that updates time
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #left-sidebar="props">
         <div>Custom content</div>
@@ -233,7 +233,7 @@
   modelValue: WritableComputedRef<Date | Date[] | (Date | null)[]>;
   time: { hours: number | number[]; minutes: number | number[]; seconds: number | number[] };
   updateTime: (value: number | number[], isHours = true, isSeconds = false) => void;
-}
  • modelValue - By modifying this variable, you will directly modify the current selection
  • time - Reactive object containing time, may be different that the v-model set time
  • updateTime - Function that updates time
Code Example
vue
<template>
+}
  • modelValue - By modifying this variable, you will directly modify the current selection
  • time - Reactive object containing time, may be different that the v-model set time
  • updateTime - Function that updates time
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #right-sidebar>
         <div>Custom content</div>
@@ -245,7 +245,7 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

marker-tooltip

This slot replaces the content inside the marker tooltip

Two props are available:

  • tooltip - The tooltip data provided in the array
  • day - The date marker is displayed on
Code Example
vue
<template>
+</script>

marker-tooltip

This slot replaces the content inside the marker tooltip

Two props are available:

  • tooltip - The tooltip data provided in the array
  • day - The date marker is displayed on
Code Example
vue
<template>
     <VueDatePicker v-model="date" :markers="markers">
       <template #marker-tooltip="{ tooltip, day }">
         <div>Custom content on {{ day }}</div>
@@ -278,7 +278,7 @@
     color: 'yellow',
   },
 ])
-</script>

marker

This slot replaces the default marker shape (line or dot)

Info

When slot is provided, you will have to do a custom styling in order to position it on the right place

Three props are available:

  • marker - Provided marker configuration
  • day - The text value displayed in the calendar cell
  • date - The date marker is displayed on
Code Example
vue
<template>
+</script>

marker

This slot replaces the default marker shape (line or dot)

Info

When slot is provided, you will have to do a custom styling in order to position it on the right place

Three props are available:

  • marker - Provided marker configuration
  • day - The text value displayed in the calendar cell
  • date - The date marker is displayed on
Code Example
vue
<template>
     <VueDatePicker v-model="date" :markers="markers">
       <template #marker="{ marker, day, date }">
         <span class="custom-marker"></span>
@@ -323,7 +323,7 @@
   border-radius: 100%;
   background-color: green;
 }
-</style>

quarter

This slot replaces the default quarter item

Two props are available:

  • value - First date for a given quarter
  • text - The text value displayed in the quarter button
Code Example
vue
<template>
+</style>

quarter

This slot replaces the default quarter item

Two props are available:

  • value - First date for a given quarter
  • text - The text value displayed in the quarter button
Code Example
vue
<template>
   <VueDatePicker v-model="quarter">
     <template #quarter="{ value }">
       <span>{{ formatQuarter(value) }}</span>
@@ -340,8 +340,21 @@
   const formatQuarter = (quarter) => {
       return format(quarter, 'QQQ')
   }
+</script>

top-extra

This slot provides extra space above the month and year selection area

One prop is available:

  • value - Currently selected date(s) in the picker
Code Example
vue
<template>
+    <VueDatePicker v-model="date">
+      <template #top-extra="{ value }">
+        <span v-if="value">Selected date: {{ value.getDate() }}</span>
+        <span v-else>No date selected</span>
+      </template>
+    </VueDatePicker>
+</template>
+
+<script setup>
+import { ref } from 'vue';
+
+const date = ref(new Date());
 </script>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/slots/icons/index.html b/docs/slots/icons/index.html index 291b117ac..58f236037 100644 --- a/docs/slots/icons/index.html +++ b/docs/slots/icons/index.html @@ -6,12 +6,12 @@ Slots - Icons | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

Icons

Change datepicker icons

input-icon

This slot replaces the calendar icon in the input element with your custom element

Code Example
vue
<template>
+    
Skip to content

Icons

Change datepicker icons

input-icon

This slot replaces the calendar icon in the input element with your custom element

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #input-icon>
             <img class="input-slot-image" src="/logo.png"/>
@@ -41,7 +41,7 @@
         width: auto;
         margin-left: 5px;
     }
-</style>

clear-icon

This slot replaces the clear icon in the input element with your custom element

Code Example
vue
<template>
+</style>

clear-icon

This slot replaces the clear icon in the input element with your custom element

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #clear-icon="{ clear }">
             <img class="input-slot-image" src="/logo.png" @click="clear" />
@@ -61,7 +61,7 @@
         width: auto;
         margin-right: 5px;
     }
-</style>

clock-icon

This slot replaces the default clock icon used to select the time

Code Example
vue
<template>
+</style>

clock-icon

This slot replaces the default clock icon used to select the time

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #clock-icon>
             <img class="slot-icon" src="/logo.png"/>
@@ -80,7 +80,7 @@
         height: 20px;
         width: auto;
     }
-</style>

arrow-left

This slot replaces the arrow left icon on the month/year select row

Code Example
vue
<template>
+</style>

arrow-left

This slot replaces the arrow left icon on the month/year select row

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #arrow-left>
             <img class="slot-icon" src="/logo.png"/>
@@ -99,7 +99,7 @@
         height: 20px;
         width: auto;
     }
-</style>

arrow-right

This slot replaces the arrow right icon on the month/year select row

Code Example
vue
<template>
+</style>

arrow-right

This slot replaces the arrow right icon on the month/year select row

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #arrow-right>
             <img class="slot-icon" src="/logo.png"/>
@@ -118,7 +118,7 @@
         height: 20px;
         width: auto;
     }
-</style>

arrow-up

This slot replaces the arrow up icon in the time picker or header if vertical mode is enabled

Code Example
vue
<template>
+</style>

arrow-up

This slot replaces the arrow up icon in the time picker or header if vertical mode is enabled

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #arrow-up>
             <img class="slot-icon" src="/logo.png"/>
@@ -138,7 +138,7 @@
         width: auto;
        margin: 0 auto;
     }
-</style>

arrow-down

This slot replaces the arrow down icon in the time picker or header if vertical mode is enabled

Code Example
vue
<template>
+</style>

arrow-down

This slot replaces the arrow down icon in the time picker or header if vertical mode is enabled

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #arrow-down>
             <img class="slot-icon" src="/logo.png"/>
@@ -158,7 +158,7 @@
         width: auto;
         margin: 0 auto;
     }
-</style>

calendar-icon

This slot replaces the back to calendar icon

Code Example
vue
<template>
+</style>

calendar-icon

This slot replaces the back to calendar icon

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #calendar-icon>
             <img class="slot-icon" src="/logo.png"/>
@@ -178,7 +178,7 @@
         width: auto;
     }
 </style>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/slots/overlay/index.html b/docs/slots/overlay/index.html index 20f71454d..b02c73918 100644 --- a/docs/slots/overlay/index.html +++ b/docs/slots/overlay/index.html @@ -6,12 +6,12 @@ Slots - Overlay | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

  • range: Value passed from general props
  • hours: Selected hours value
  • minutes: Selected minutes value
  • seconds: Selected seconds value
  • setHours: Function to call to set hours, (hours: number | number[]) => void
  • setMinutes: Function to call to set minutes, (minutes: number | number[]) => void
  • setSeconds: Function to call to set seconds, (seconds: number | number[]) => void

Info

If you are using range mode, make sure to pass number arrays in functions

Code Example
vue
<template>
+    
Skip to content

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

  • range: Value passed from general props
  • hours: Selected hours value
  • minutes: Selected minutes value
  • seconds: Selected seconds value
  • setHours: Function to call to set hours, (hours: number | number[]) => void
  • setMinutes: Function to call to set minutes, (minutes: number | number[]) => void
  • setSeconds: Function to call to set seconds, (seconds: number | number[]) => void

Info

If you are using range mode, make sure to pass number arrays in functions

Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #time-picker-overlay="{ hours, minutes, setHours, setMinutes }">
         <div class="time-picker-overlay">
@@ -64,7 +64,7 @@
   height: 100%;
   flex-direction: column;
 }
-</style>

hours

This slot replaces the hours text between the arrows in the time picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
+</style>

hours

This slot replaces the hours text between the arrows in the time picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #hours="{ text, value }">
         {{ value }}
@@ -76,7 +76,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

minutes

This slot replaces the minutes text between the arrows in the time picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
+</script>

minutes

This slot replaces the minutes text between the arrows in the time picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #minutes="{ text, value }">
         {{ value }}
@@ -88,7 +88,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

hours-overlay-value

This slot replaces the text in the hours overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
+</script>

hours-overlay-value

This slot replaces the text in the hours overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #hours-overlay="{ text, value }">
         {{ value }}
@@ -100,7 +100,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

minutes-overlay-value

This slot replaces the text in the minutes overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
+</script>

minutes-overlay-value

This slot replaces the text in the minutes overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #minutes-overlay="{ text, value }">
         {{ value }}
@@ -112,7 +112,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

month

This slot replaces the text in the month picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
+</script>

month

This slot replaces the text in the month picker

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #month="{ text, value }">
         {{ value }}
@@ -124,7 +124,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

year

This slot replaces the text in the year picker

One props is available

  • value: Displayed year
Code Example
vue
<template>
+</script>

year

This slot replaces the text in the year picker

One props is available

  • value: Displayed year
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #year="{ value }">
         {{ value }}
@@ -136,7 +136,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

month-overlay-value

This slot replaces the text in the month picker overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
+</script>

month-overlay-value

This slot replaces the text in the month picker overlay

2 props are available

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #month-overlay-value="{ text, value }">
         {{ value }}
@@ -148,7 +148,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

year-overlay-value

This slot replaces the text in the month picker overlay

2 props are available, although for the year, text and value are the same

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
+</script>

year-overlay-value

This slot replaces the text in the month picker overlay

2 props are available, although for the year, text and value are the same

  • text: Value displayed in the datepicker by default
  • value: Actual value used in the code
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #year-overlay-value="{ text, value }">
         {{ value }}
@@ -160,7 +160,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

month-overlay

Replace the content in month overlay

This slot exposes the following:

  • month (number)
    • Selected month value
  • year (number)
    • Selected year value
  • items ( { text: string; value: number }[])
    • Generated array of months
  • updateMonthYear ((month: number, year: number) => void)
    • Exposed function to update month and year
  • instance (number)
    • In case of multi-calendars, instance is the order of the calendar
  • toggle (() => void)
    • Toggle overlay
Code Example
vue
<template>
+</script>

month-overlay

Replace the content in month overlay

This slot exposes the following:

  • month (number)
    • Selected month value
  • year (number)
    • Selected year value
  • items ( { text: string; value: number }[])
    • Generated array of months
  • updateMonthYear ((month: number, year: number) => void)
    • Exposed function to update month and year
  • instance (number)
    • In case of multi-calendars, instance is the order of the calendar
  • toggle (() => void)
    • Toggle overlay
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template 
           #month-overlay="{
@@ -198,7 +198,7 @@
       updateMonthYear(+(event.target as HTMLSelectElement).value, year);
       toggle();
 };
-</script>

year-overlay

Replace the content in year overlay

This slot exposes the following:

  • month (number)
    • Selected month value
  • year (number)
    • Selected year value
  • items ( { text: string; value: number }[])
    • Generated array of years
  • updateMonthYear ((month: number, year: number) => void)
    • Exposed function to update month and year
  • instance (number)
    • In case of multi-calendars, instance is the order of the calendar
  • toggle (() => void)
    • Toggle overlay
Code Example
vue
<template>
+</script>

year-overlay

Replace the content in year overlay

This slot exposes the following:

  • month (number)
    • Selected month value
  • year (number)
    • Selected year value
  • items ( { text: string; value: number }[])
    • Generated array of years
  • updateMonthYear ((month: number, year: number) => void)
    • Exposed function to update month and year
  • instance (number)
    • In case of multi-calendars, instance is the order of the calendar
  • toggle (() => void)
    • Toggle overlay
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template 
           #year-overlay="{
@@ -237,7 +237,7 @@
       updateMonthYear(month, +(event.target as HTMLSelectElement).value);
       toggle();
 };
-</script>

month-overlay-header

Add a custom content in the overlay header

Exposed function:

  • toggle (() => void)
Code Example
vue
<template>
+</script>

month-overlay-header

Add a custom content in the overlay header

Exposed function:

  • toggle (() => void)
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #month-overlay-header="{ toggle }">
             <div class="overlay-header">
@@ -262,7 +262,7 @@
 .pointer {
   cursor: pointer;
 }
-</style>

year-overlay-header

Add a custom content in the overlay header

Exposed function:

  • toggle (() => void)
Code Example
vue
<template>
+</style>

year-overlay-header

Add a custom content in the overlay header

Exposed function:

  • toggle (() => void)
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #year-overlay-header="{ toggle }">
             <div class="overlay-header">
@@ -288,7 +288,7 @@
   cursor: pointer;
 }
 </style>

Released under the MIT License.

- + \ No newline at end of file diff --git a/docs/slots/trigger-and-input/index.html b/docs/slots/trigger-and-input/index.html index e2c36ea5f..8df3ba61c 100644 --- a/docs/slots/trigger-and-input/index.html +++ b/docs/slots/trigger-and-input/index.html @@ -6,12 +6,12 @@ Slots - Trigger and input | Vue Datepicker - + - + - + @@ -21,7 +21,7 @@ -
Skip to content

Trigger and input

Use custom input or trigger element

trigger

This slot replaces the input element with your custom element

This is some custom clickable text that will open datepicker

Code Example
vue
<template>
+    
Skip to content

Trigger and input

Use custom input or trigger element

trigger

This slot replaces the input element with your custom element

This is some custom clickable text that will open datepicker

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #trigger>
             <p class="clickable-text">This is some custom clickable text that will open the datepicker</p>
@@ -40,7 +40,7 @@
         color: #1976d2;
         cursor: pointer;
     }
-</style>

dp-input

This slot replaces the input field. The difference from the trigger slot is that you will have access to the input field properties

Available props are:

TIP

For functions to work correctly, make sure that the text-input prop is enabled

When calling onInput function, make sure to pass the input event as an argument

  • value: Value displayed in the input field
    • type: string
  • isMenuOpen: Get info if the menu is in the open state
    • type: boolean
  • onInput: Function called on the @input event
    • type: (event: Event | string) => void
  • onEnter: Function called on the @keydown.enter event
    • type: () => void
  • onTab: Function called on the @keydown.tab event
    • type: () => void
  • onClear: Function to call if you want to clear date
    • type: () => void
  • onBlur: Function to call on input blur
    • type: () => void
  • onKeypress: Function to call on key press
    • type: (event: KeyboardEvent) => void
  • onPaste: Function to call on paste
    • type: () => void
  • openMenu: Open menu
    • type: () => void
  • closeMenu: Close menu
    • type: () => void
  • toggleMenu: Toggle menu
    • type: () => void
Code Example
vue
<template>
+</style>

dp-input

This slot replaces the input field. The difference from the trigger slot is that you will have access to the input field properties

Available props are:

TIP

For functions to work correctly, make sure that the text-input prop is enabled

When calling onInput function, make sure to pass the input event as an argument

  • value: Value displayed in the input field
    • type: string
  • isMenuOpen: Get info if the menu is in the open state
    • type: boolean
  • onInput: Function called on the @input event
    • type: (event: Event | string) => void
  • onEnter: Function called on the @keydown.enter event
    • type: () => void
  • onTab: Function called on the @keydown.tab event
    • type: () => void
  • onClear: Function to call if you want to clear date
    • type: () => void
  • onBlur: Function to call on input blur
    • type: () => void
  • onKeypress: Function to call on key press
    • type: (event: KeyboardEvent) => void
  • onPaste: Function to call on paste
    • type: () => void
  • openMenu: Open menu
    • type: () => void
  • closeMenu: Close menu
    • type: () => void
  • toggleMenu: Toggle menu
    • type: () => void
Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #dp-input="{ value, onInput, onEnter, onTab, onClear, onBlur, onKeypress, onPaste, isMenuOpen }">
           <input type="text" :value="value" />
@@ -53,7 +53,7 @@
 
 const date = ref(new Date());
 </script>

Released under the MIT License.

- + \ No newline at end of file