From f64ff0084ad544c8c8aa2817c5ffe5a91f8e4497 Mon Sep 17 00:00:00 2001 From: Jasenko Karovic Date: Thu, 18 Jul 2024 23:58:05 +0200 Subject: [PATCH] chore: Update documentation --- docs/404.html | 6 +-- .../{app.B87k0omA.js => app.B_dh8urV.js} | 2 +- ...mbHp.js => VPAlgoliaSearchBox.Bo_ZBJOJ.js} | 2 +- docs/assets/chunks/framework.BKRot_tQ.js | 17 ++++++ docs/assets/chunks/framework.IJS20kTW.js | 17 ------ ...adata.13361d29.js => metadata.e60a3cb8.js} | 2 +- .../{theme.C0dGJPqT.js => theme.9ttioI6k.js} | 4 +- ...stom.BeOb8iRm.js => ui-custom.CYhWyhyp.js} | 2 +- ...ustomization_theming_index.md.BHtaDIzU.js} | 2 +- ...ization_theming_index.md.BHtaDIzU.lean.js} | 2 +- ...ex.md.DcYGhi7H.js => index.md.qJxocQGM.js} | 2 +- ...hi7H.lean.js => index.md.qJxocQGM.lean.js} | 2 +- ..._.js => installation_index.md.CzOQj94f.js} | 4 +- ...=> installation_index.md.CzOQj94f.lean.js} | 2 +- ...ds-and-events_events_index.md.CLtD3nmd.js} | 2 +- ...d-events_events_index.md.CLtD3nmd.lean.js} | 2 +- ...s-and-events_methods_index.md.sxka_nYL.js} | 2 +- ...-events_methods_index.md.sxka_nYL.lean.js} | 2 +- ...n8.js => migration_from-v5.md.CHERqwZ1.js} | 2 +- ... => migration_from-v5.md.CHERqwZ1.lean.js} | 2 +- ...pA.js => migration_from-v6.md.Dpqy4PX4.js} | 2 +- ... => migration_from-v6.md.Dpqy4PX4.lean.js} | 2 +- ...31.js => migration_from-v7.md.BKCSZk9W.js} | 2 +- ... => migration_from-v7.md.BKCSZk9W.lean.js} | 2 +- ...jS.js => migration_from-v8.md.BaR1FjMQ.js} | 2 +- ... => migration_from-v8.md.BaR1FjMQ.lean.js} | 2 +- ...lendar-configuration_index.md.CgmBjRMD.js} | 2 +- ...r-configuration_index.md.CgmBjRMD.lean.js} | 2 +- ... => props_formatting_index.md.yZ544n8V.js} | 2 +- ...rops_formatting_index.md.yZ544n8V.lean.js} | 2 +- ...eneral-configuration_index.md.DOYpbrWq.js} | 2 +- ...l-configuration_index.md.DOYpbrWq.lean.js} | 2 +- ...js => props_keyboard_index.md.8mfI-ATL.js} | 2 +- ... props_keyboard_index.md.8mfI-ATL.lean.js} | 2 +- ...> props_localization_index.md.DAA9qzr1.js} | 2 +- ...ps_localization_index.md.DAA9qzr1.lean.js} | 2 +- ... props_look-and-feel_index.md.CkNbrHve.js} | 2 +- ...s_look-and-feel_index.md.CkNbrHve.lean.js} | 2 +- ..._modes-configuration_index.md.DZEhKzVk.js} | 2 +- ...s-configuration_index.md.DZEhKzVk.lean.js} | 2 +- ...zP.js => props_modes_index.md.DTsCdhjY.js} | 2 +- ... => props_modes_index.md.DTsCdhjY.lean.js} | 2 +- ...=> props_positioning_index.md.CRvumIlI.js} | 2 +- ...ops_positioning_index.md.CRvumIlI.lean.js} | 2 +- ...picker-configuration_index.md.D6BhtHUZ.js} | 2 +- ...r-configuration_index.md.D6BhtHUZ.lean.js} | 2 +- ... => slots_components_index.md.zUCX-m9_.js} | 2 +- ...lots_components_index.md.zUCX-m9_.lean.js} | 2 +- ....js => slots_content_index.md.CCqeNkz2.js} | 2 +- ...> slots_content_index.md.CCqeNkz2.lean.js} | 2 +- ...kf.js => slots_icons_index.md.DTSIjGV0.js} | 2 +- ... => slots_icons_index.md.DTSIjGV0.lean.js} | 2 +- ....js => slots_overlay_index.md.p6o8_8U6.js} | 2 +- ...> slots_overlay_index.md.p6o8_8U6.lean.js} | 2 +- ...ts_trigger-and-input_index.md.Cr-l7A-B.js} | 2 +- ...igger-and-input_index.md.Cr-l7A-B.lean.js} | 2 +- ...{style.lbjP4jmZ.css => style.CZMjK3RU.css} | 2 +- docs/customization/theming/index.html | 14 ++--- docs/hashmap.json | 2 +- docs/index.html | 14 ++--- docs/installation/index.html | 16 +++--- docs/methods-and-events/events/index.html | 14 ++--- docs/methods-and-events/methods/index.html | 14 ++--- docs/migration/from-v5.html | 14 ++--- docs/migration/from-v6.html | 14 ++--- docs/migration/from-v7.html | 14 ++--- docs/migration/from-v8.html | 14 ++--- docs/props/calendar-configuration/index.html | 48 ++++++++--------- docs/props/formatting/index.html | 18 +++---- docs/props/general-configuration/index.html | 50 +++++++++--------- docs/props/keyboard/index.html | 20 +++---- docs/props/localization/index.html | 26 +++++----- docs/props/look-and-feel/index.html | 28 +++++----- docs/props/modes-configuration/index.html | 52 +++++++++---------- docs/props/modes/index.html | 38 +++++++------- docs/props/positioning/index.html | 22 ++++---- .../time-picker-configuration/index.html | 50 +++++++++--------- docs/slots/components/index.html | 18 +++---- docs/slots/content/index.html | 38 +++++++------- docs/slots/icons/index.html | 32 ++++++------ docs/slots/overlay/index.html | 44 ++++++++-------- docs/slots/trigger-and-input/index.html | 16 +++--- 82 files changed, 391 insertions(+), 391 deletions(-) rename docs/assets/{app.B87k0omA.js => app.B_dh8urV.js} (90%) rename docs/assets/chunks/{VPAlgoliaSearchBox.D1L8mbHp.js => VPAlgoliaSearchBox.Bo_ZBJOJ.js} (99%) create mode 100644 docs/assets/chunks/framework.BKRot_tQ.js delete mode 100644 docs/assets/chunks/framework.IJS20kTW.js rename docs/assets/chunks/{metadata.13361d29.js => metadata.e60a3cb8.js} (74%) rename docs/assets/chunks/{theme.C0dGJPqT.js => theme.9ttioI6k.js} (82%) rename docs/assets/chunks/{ui-custom.BeOb8iRm.js => ui-custom.CYhWyhyp.js} (82%) rename docs/assets/{customization_theming_index.md.DkqYS7LC.js => customization_theming_index.md.BHtaDIzU.js} (99%) rename docs/assets/{customization_theming_index.md.DkqYS7LC.lean.js => customization_theming_index.md.BHtaDIzU.lean.js} (78%) rename docs/assets/{index.md.DcYGhi7H.js => index.md.qJxocQGM.js} (96%) rename docs/assets/{index.md.DcYGhi7H.lean.js => index.md.qJxocQGM.lean.js} (96%) rename docs/assets/{installation_index.md.BdZmYzE_.js => installation_index.md.CzOQj94f.js} (96%) rename docs/assets/{installation_index.md.BdZmYzE_.lean.js => installation_index.md.CzOQj94f.lean.js} (79%) rename docs/assets/{methods-and-events_events_index.md.itNS5m-d.js => methods-and-events_events_index.md.CLtD3nmd.js} (99%) rename docs/assets/{methods-and-events_events_index.md.itNS5m-d.lean.js => methods-and-events_events_index.md.CLtD3nmd.lean.js} (77%) rename docs/assets/{methods-and-events_methods_index.md.DSpdWHb0.js => methods-and-events_methods_index.md.sxka_nYL.js} (98%) rename docs/assets/{methods-and-events_methods_index.md.DSpdWHb0.lean.js => methods-and-events_methods_index.md.sxka_nYL.lean.js} (77%) rename docs/assets/{migration_from-v5.md.BI3LqLn8.js => migration_from-v5.md.CHERqwZ1.js} (99%) rename docs/assets/{migration_from-v5.md.BI3LqLn8.lean.js => migration_from-v5.md.CHERqwZ1.lean.js} (79%) rename docs/assets/{migration_from-v6.md.RC2xdNpA.js => migration_from-v6.md.Dpqy4PX4.js} (92%) rename docs/assets/{migration_from-v6.md.RC2xdNpA.lean.js => migration_from-v6.md.Dpqy4PX4.lean.js} (79%) rename docs/assets/{migration_from-v7.md.BiHzPJ31.js => migration_from-v7.md.BKCSZk9W.js} (99%) rename docs/assets/{migration_from-v7.md.BiHzPJ31.lean.js => migration_from-v7.md.BKCSZk9W.lean.js} (79%) rename docs/assets/{migration_from-v8.md.ue4YmvjS.js => migration_from-v8.md.BaR1FjMQ.js} (99%) rename docs/assets/{migration_from-v8.md.ue4YmvjS.lean.js => migration_from-v8.md.BaR1FjMQ.lean.js} (79%) rename docs/assets/{props_calendar-configuration_index.md.BxXIyXWr.js => props_calendar-configuration_index.md.CgmBjRMD.js} (99%) rename docs/assets/{props_calendar-configuration_index.md.BxXIyXWr.lean.js => props_calendar-configuration_index.md.CgmBjRMD.lean.js} (96%) rename docs/assets/{props_formatting_index.md.CXFddBvT.js => props_formatting_index.md.yZ544n8V.js} (99%) rename docs/assets/{props_formatting_index.md.CXFddBvT.lean.js => props_formatting_index.md.yZ544n8V.lean.js} (91%) rename docs/assets/{props_general-configuration_index.md.kdLulLhN.js => props_general-configuration_index.md.DOYpbrWq.js} (99%) rename docs/assets/{props_general-configuration_index.md.kdLulLhN.lean.js => props_general-configuration_index.md.DOYpbrWq.lean.js} (96%) rename docs/assets/{props_keyboard_index.md.G0H1-SZ1.js => props_keyboard_index.md.8mfI-ATL.js} (99%) rename docs/assets/{props_keyboard_index.md.G0H1-SZ1.lean.js => props_keyboard_index.md.8mfI-ATL.lean.js} (91%) rename docs/assets/{props_localization_index.md.Deuw2KpT.js => props_localization_index.md.DAA9qzr1.js} (99%) rename docs/assets/{props_localization_index.md.Deuw2KpT.lean.js => props_localization_index.md.DAA9qzr1.lean.js} (93%) rename docs/assets/{props_look-and-feel_index.md.CUxjRaCU.js => props_look-and-feel_index.md.CkNbrHve.js} (99%) rename docs/assets/{props_look-and-feel_index.md.CUxjRaCU.lean.js => props_look-and-feel_index.md.CkNbrHve.lean.js} (92%) rename docs/assets/{props_modes-configuration_index.md.DST_YaWQ.js => props_modes-configuration_index.md.DZEhKzVk.js} (99%) rename docs/assets/{props_modes-configuration_index.md.DST_YaWQ.lean.js => props_modes-configuration_index.md.DZEhKzVk.lean.js} (97%) rename docs/assets/{props_modes_index.md.H-gBcZzP.js => props_modes_index.md.DTsCdhjY.js} (99%) rename docs/assets/{props_modes_index.md.H-gBcZzP.lean.js => props_modes_index.md.DTsCdhjY.lean.js} (95%) rename docs/assets/{props_positioning_index.md.YyAjrg37.js => props_positioning_index.md.CRvumIlI.js} (99%) rename docs/assets/{props_positioning_index.md.YyAjrg37.lean.js => props_positioning_index.md.CRvumIlI.lean.js} (92%) rename docs/assets/{props_time-picker-configuration_index.md.CCjnWvEv.js => props_time-picker-configuration_index.md.D6BhtHUZ.js} (99%) rename docs/assets/{props_time-picker-configuration_index.md.CCjnWvEv.lean.js => props_time-picker-configuration_index.md.D6BhtHUZ.lean.js} (96%) rename docs/assets/{slots_components_index.md.BrJZD4-9.js => slots_components_index.md.zUCX-m9_.js} (99%) rename docs/assets/{slots_components_index.md.BrJZD4-9.lean.js => slots_components_index.md.zUCX-m9_.lean.js} (91%) rename docs/assets/{slots_content_index.md.BkiMSQRe.js => slots_content_index.md.CCqeNkz2.js} (99%) rename docs/assets/{slots_content_index.md.BkiMSQRe.lean.js => slots_content_index.md.CCqeNkz2.lean.js} (95%) rename docs/assets/{slots_icons_index.md.DRv55zkf.js => slots_icons_index.md.DTSIjGV0.js} (99%) rename docs/assets/{slots_icons_index.md.DRv55zkf.lean.js => slots_icons_index.md.DTSIjGV0.lean.js} (95%) rename docs/assets/{slots_overlay_index.md.wp0_DWD6.js => slots_overlay_index.md.p6o8_8U6.js} (99%) rename docs/assets/{slots_overlay_index.md.wp0_DWD6.lean.js => slots_overlay_index.md.p6o8_8U6.lean.js} (95%) rename docs/assets/{slots_trigger-and-input_index.md.c9_O1uv2.js => slots_trigger-and-input_index.md.Cr-l7A-B.js} (99%) rename docs/assets/{slots_trigger-and-input_index.md.c9_O1uv2.lean.js => slots_trigger-and-input_index.md.Cr-l7A-B.lean.js} (94%) rename docs/assets/{style.lbjP4jmZ.css => style.CZMjK3RU.css} (94%) diff --git a/docs/404.html b/docs/404.html index 8d97e2ce..ab9a074c 100644 --- a/docs/404.html +++ b/docs/404.html @@ -6,9 +6,9 @@ 404 | Vue Datepicker - - - + + + diff --git a/docs/assets/app.B87k0omA.js b/docs/assets/app.B_dh8urV.js similarity index 90% rename from docs/assets/app.B87k0omA.js rename to docs/assets/app.B_dh8urV.js index d7d3db17..2c499999 100644 --- a/docs/assets/app.B87k0omA.js +++ b/docs/assets/app.B_dh8urV.js @@ -1 +1 @@ -import{W as o,an as p,ao as u,ap as l,aq as c,ar as f,as as d,at as m,au as h,av as g,aw as A,d as v,u as y,y as P,x as w,ax as C,ay as R,az as b,ac as E}from"./chunks/framework.IJS20kTW.js";import{R as S}from"./chunks/theme.C0dGJPqT.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(S),T=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=y();return P(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),R(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function _(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();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 x(){return h(T)}function D(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&_().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{_ as createApp}; +import{W as o,an as p,ao as u,ap as l,aq as c,ar as f,as as d,at as m,au as h,av as g,aw as A,d as v,u as y,y as P,x as w,ax as C,ay as R,az as b,ac as E}from"./chunks/framework.BKRot_tQ.js";import{R as S}from"./chunks/theme.9ttioI6k.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(S),T=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=y();return P(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&C(),R(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function _(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();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 x(){return h(T)}function D(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&_().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{_ as createApp}; diff --git a/docs/assets/chunks/VPAlgoliaSearchBox.D1L8mbHp.js b/docs/assets/chunks/VPAlgoliaSearchBox.Bo_ZBJOJ.js similarity index 99% rename from docs/assets/chunks/VPAlgoliaSearchBox.D1L8mbHp.js rename to docs/assets/chunks/VPAlgoliaSearchBox.Bo_ZBJOJ.js index 682bcbc3..25ae3826 100644 --- a/docs/assets/chunks/VPAlgoliaSearchBox.D1L8mbHp.js +++ b/docs/assets/chunks/VPAlgoliaSearchBox.Bo_ZBJOJ.js @@ -1,4 +1,4 @@ -import{d as mo,aA as po,N as vo,y as ho,v as yo,U as go,o as bo,c as _o}from"./framework.IJS20kTW.js";import{u as Oo}from"./theme.C0dGJPqT.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,aA as po,N as vo,y as ho,v as yo,U as go,o as bo,c as _o}from"./framework.BKRot_tQ.js";import{u as Oo}from"./theme.9ttioI6k.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;in.has(r)}const ne={},yt=[],Te=()=>{},Ii=()=>!1,Kt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),xr=e=>e.startsWith("onUpdate:"),ue=Object.assign,Tr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Pi=Object.prototype.hasOwnProperty,z=(e,t)=>Pi.call(e,t),k=Array.isArray,_t=e=>Tn(e)==="[object Map]",Xs=e=>Tn(e)==="[object Set]",K=e=>typeof e=="function",se=e=>typeof e=="string",Qe=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Ys=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),zs=Object.prototype.toString,Tn=e=>zs.call(e),Ni=e=>Tn(e).slice(8,-1),Js=e=>Tn(e)==="[object Object]",Ar=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bt=Sr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),An=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Fi=/-(\w)/g,Oe=An(e=>e.replace(Fi,(t,n)=>n?n.toUpperCase():"")),$i=/\B([A-Z])/g,Ze=An(e=>e.replace($i,"-$1").toLowerCase()),Rn=An(e=>e.charAt(0).toUpperCase()+e.slice(1)),un=An(e=>e?`on${Rn(e)}`:""),ze=(e,t)=>!Object.is(e,t),dn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ur=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Hi=e=>{const t=se(e)?Number(e):NaN;return isNaN(t)?e:t};let zr;const Zs=()=>zr||(zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function On(e){if(k(e)){const t={};for(let n=0;n{if(n){const r=n.split(Vi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ln(e){let t="";if(se(e))t=e;else if(k(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Ki=e=>se(e)?e:e==null?"":k(e)||Z(e)&&(e.toString===zs||!K(e.toString))?to(e)?Ki(e.value):JSON.stringify(e,no,2):String(e),no=(e,t)=>to(t)?no(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[qn(r,o)+" =>"]=s,n),{})}:Xs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qn(n))}:Qe(t)?qn(t):Z(t)&&!k(t)&&!Js(t)?String(t):t,qn=(e,t="")=>{var n;return Qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.32 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let we;class Wi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),tt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ge,n=ct;try{return Ge=!0,ct=this,this._runnings++,Jr(this),this.fn()}finally{Qr(this),this._runnings--,ct=n,Ge=t}}stop(){this.active&&(Jr(this),Qr(this),this.onStop&&this.onStop(),this.active=!1)}}function Xi(e){return e.value}function Jr(e){e._trackId++,e._depsLength=0}function Qr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},yn=new WeakMap,at=Symbol(""),pr=Symbol("");function be(e,t,n){if(Ge&&ct){let r=yn.get(e);r||yn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=co(()=>r.delete(n))),io(ct,s)}}function He(e,t,n,r,s,o){const i=yn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&k(e)){const c=Number(r);i.forEach((f,u)=>{(u==="length"||!Qe(u)&&u>=c)&&l.push(f)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":k(e)?Ar(n)&&l.push(i.get("length")):(l.push(i.get(at)),_t(e)&&l.push(i.get(pr)));break;case"delete":k(e)||(l.push(i.get(at)),_t(e)&&l.push(i.get(pr)));break;case"set":_t(e)&&l.push(i.get(at));break}Or();for(const c of l)c&&lo(c,4);Lr()}function Yi(e,t){const n=yn.get(e);return n&&n.get(t)}const zi=Sr("__proto__,__v_isRef,__isVue"),ao=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qe)),Zr=Ji();function Ji(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let o=0,i=this.length;o{e[t]=function(...n){et(),Or();const r=J(this)[t].apply(this,n);return Lr(),tt(),r}}),e}function Qi(e){Qe(e)||(e=String(e));const t=J(this);return be(t,"has",e),t.hasOwnProperty(e)}class fo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?ul:go:o?po:ho).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=k(t);if(!s){if(i&&z(Zr,n))return Reflect.get(Zr,n,r);if(n==="hasOwnProperty")return Qi}const l=Reflect.get(t,n,r);return(Qe(n)?ao.has(n):zi(n))||(s||be(t,"get",n),o)?l:pe(l)?i&&Ar(n)?l:l.value:Z(l)?s?Pn(l):In(l):l}}class uo extends fo{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=dt(o);if(!St(r)&&!dt(r)&&(o=J(o),r=J(r)),!k(t)&&pe(o)&&!pe(r))return c?!1:(o.value=r,!0)}const i=k(t)&&Ar(n)?Number(n)e,Mn=e=>Reflect.getPrototypeOf(e);function Jt(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),o=J(t);n||(ze(t,o)&&be(s,"get",t),be(s,"get",o));const{has:i}=Mn(s),l=r?Mr:n?Nr:Vt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Qt(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(ze(e,s)&&be(r,"has",e),be(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Zt(e,t=!1){return e=e.__v_raw,!t&&be(J(e),"iterate",at),Reflect.get(e,"size",e)}function es(e,t=!1){!t&&!St(e)&&!dt(e)&&(e=J(e));const n=J(this);return Mn(n).has.call(n,e)||(n.add(e),He(n,"add",e,e)),this}function ts(e,t,n=!1){!n&&!St(t)&&!dt(t)&&(t=J(t));const r=J(this),{has:s,get:o}=Mn(r);let i=s.call(r,e);i||(e=J(e),i=s.call(r,e));const l=o.call(r,e);return r.set(e,t),i?ze(t,l)&&He(r,"set",e,t):He(r,"add",e,t),this}function ns(e){const t=J(this),{has:n,get:r}=Mn(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&He(t,"delete",e,void 0),o}function rs(){const e=J(this),t=e.size!==0,n=e.clear();return t&&He(e,"clear",void 0,void 0),n}function en(e,t){return function(r,s){const o=this,i=o.__v_raw,l=J(i),c=t?Mr:e?Nr:Vt;return!e&&be(l,"iterate",at),i.forEach((f,u)=>r.call(s,c(f),c(u),o))}}function tn(e,t,n){return function(...r){const s=this.__v_raw,o=J(s),i=_t(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=s[e](...r),u=n?Mr:t?Nr:Vt;return!t&&be(o,"iterate",c?pr:at),{next(){const{value:h,done:m}=f.next();return m?{value:h,done:m}:{value:l?[u(h[0]),u(h[1])]:u(h),done:m}},[Symbol.iterator](){return this}}}}function De(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function rl(){const e={get(o){return Jt(this,o)},get size(){return Zt(this)},has:Qt,add:es,set:ts,delete:ns,clear:rs,forEach:en(!1,!1)},t={get(o){return Jt(this,o,!1,!0)},get size(){return Zt(this)},has:Qt,add(o){return es.call(this,o,!0)},set(o,i){return ts.call(this,o,i,!0)},delete:ns,clear:rs,forEach:en(!1,!0)},n={get(o){return Jt(this,o,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:De("add"),set:De("set"),delete:De("delete"),clear:De("clear"),forEach:en(!0,!1)},r={get(o){return Jt(this,o,!0,!0)},get size(){return Zt(this,!0)},has(o){return Qt.call(this,o,!0)},add:De("add"),set:De("set"),delete:De("delete"),clear:De("clear"),forEach:en(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=tn(o,!1,!1),n[o]=tn(o,!0,!1),t[o]=tn(o,!1,!0),r[o]=tn(o,!0,!0)}),[e,n,t,r]}const[sl,ol,il,ll]=rl();function Ir(e,t){const n=t?e?ll:il:e?ol:sl;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(z(n,s)&&s in r?n:r,s,o)}const cl={get:Ir(!1,!1)},al={get:Ir(!1,!0)},fl={get:Ir(!0,!1)};const ho=new WeakMap,po=new WeakMap,go=new WeakMap,ul=new WeakMap;function dl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hl(e){return e.__v_skip||!Object.isExtensible(e)?0:dl(Ni(e))}function In(e){return dt(e)?e:Pr(e,!1,el,cl,ho)}function pl(e){return Pr(e,!1,nl,al,po)}function Pn(e){return Pr(e,!0,tl,fl,go)}function Pr(e,t,n,r,s){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=hl(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function vt(e){return dt(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function dt(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function mo(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function hn(e){return Object.isExtensible(e)&&Qs(e,"__v_skip",!0),e}const Vt=e=>Z(e)?In(e):e,Nr=e=>Z(e)?Pn(e):e;class yo{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Rr(()=>t(this._value),()=>It(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&ze(t._value,t._value=t.effect.run())&&It(t,4),Fr(t),t.effect._dirtyLevel>=2&&It(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function gl(e,t,n=!1){let r,s;const o=K(e);return o?(r=e,s=Te):(r=e.get,s=e.set),new yo(r,s,o||!s,n)}function Fr(e){var t;Ge&&ct&&(e=J(e),io(ct,(t=e.dep)!=null?t:e.dep=co(()=>e.dep=void 0,e instanceof yo?e:void 0)))}function It(e,t=4,n,r){e=J(e);const s=e.dep;s&&lo(s,t)}function pe(e){return!!(e&&e.__v_isRef===!0)}function le(e){return bo(e,!1)}function _o(e){return bo(e,!0)}function bo(e,t){return pe(e)?e:new ml(e,t)}class ml{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:Vt(t)}get value(){return Fr(this),this._value}set value(t){const n=this.__v_isShallow||St(t)||dt(t);t=n?t:J(t),ze(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Vt(t),It(this,4))}}function vo(e){return pe(e)?e.value:e}const yl={get:(e,t,n)=>vo(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return pe(s)&&!pe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function wo(e){return vt(e)?e:new Proxy(e,yl)}class _l{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Fr(this),()=>It(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function bl(e){return new _l(e)}class vl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Yi(J(this._object),this._key)}}class wl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function El(e,t,n){return pe(e)?e:K(e)?new wl(e):Z(e)&&arguments.length>1?Cl(e,t,n):le(e)}function Cl(e,t,n){const r=e[t];return pe(r)?r:new vl(e,t,n)}/** +* @vue/runtime-core v3.4.32 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Xe(e,t,n,r){try{return r?e(...r):e()}catch(s){Wt(s,t,n)}}function Ae(e,t,n,r){if(K(e)){const s=Xe(e,t,n,r);return s&&Ys(s)&&s.catch(o=>{Wt(o,t,n)}),s}if(k(e)){const s=[];for(let o=0;o>>1,s=he[r],o=Ut(s);oPe&&he.splice(t,1)}function Al(e){k(e)?wt.push(...e):(!Be||!Be.includes(e,e.allowRecurse?it+1:it))&&wt.push(e),Co()}function ss(e,t,n=Dt?Pe+1:0){for(;nUt(n)-Ut(r));if(wt.length=0,Be){Be.push(...t);return}for(Be=t,it=0;ite.id==null?1/0:e.id,Rl=(e,t)=>{const n=Ut(e)-Ut(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function So(e){gr=!1,Dt=!0,he.sort(Rl);try{for(Pe=0;Pe{r._d&&vs(-1);const o=bn(t);let i;try{i=e(...s)}finally{bn(o),r._d&&vs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function df(e,t){if(fe===null)return e;const n=kn(fe),r=e.dirs||(e.dirs=[]);for(let s=0;s{e.isMounted=!0}),Lo(()=>{e.isUnmounting=!0}),e}const Ce=[Function,Array],xo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ce,onEnter:Ce,onAfterEnter:Ce,onEnterCancelled:Ce,onBeforeLeave:Ce,onLeave:Ce,onAfterLeave:Ce,onLeaveCancelled:Ce,onBeforeAppear:Ce,onAppear:Ce,onAfterAppear:Ce,onAppearCancelled:Ce},To=e=>{const t=e.subTree;return t.component?To(t.component):t},Ml={name:"BaseTransition",props:xo,setup(e,{slots:t}){const n=Un(),r=Ll();return()=>{const s=t.default&&Ro(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const m of s)if(m.type!==me){o=m;break}}const i=J(e),{mode:l}=i;if(r.isLeaving)return Gn(o);const c=os(o);if(!c)return Gn(o);let f=mr(c,i,r,n,m=>f=m);vn(c,f);const u=n.subTree,h=u&&os(u);if(h&&h.type!==me&&!lt(c,h)&&To(n).type!==me){const m=mr(h,i,r,n);if(vn(h,m),l==="out-in"&&c.type!==me)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Gn(o);l==="in-out"&&c.type!==me&&(m.delayLeave=(v,x,O)=>{const B=Ao(r,h);B[String(h.key)]=h,v[Ke]=()=>{x(),v[Ke]=void 0,delete f.delayedLeave},f.delayedLeave=O})}return o}}},Il=Ml;function Ao(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function mr(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:m,onLeave:v,onAfterLeave:x,onLeaveCancelled:O,onBeforeAppear:B,onAppear:W,onAfterAppear:D,onAppearCancelled:p}=t,y=String(e.key),I=Ao(n,e),T=(M,_)=>{M&&Ae(M,r,9,_)},F=(M,_)=>{const N=_[1];T(M,_),k(M)?M.every(S=>S.length<=1)&&N():M.length<=1&&N()},$={mode:i,persisted:l,beforeEnter(M){let _=c;if(!n.isMounted)if(o)_=B||c;else return;M[Ke]&&M[Ke](!0);const N=I[y];N&<(e,N)&&N.el[Ke]&&N.el[Ke](),T(_,[M])},enter(M){let _=f,N=u,S=h;if(!n.isMounted)if(o)_=W||f,N=D||u,S=p||h;else return;let G=!1;const ee=M[nn]=re=>{G||(G=!0,re?T(S,[M]):T(N,[M]),$.delayedLeave&&$.delayedLeave(),M[nn]=void 0)};_?F(_,[M,ee]):ee()},leave(M,_){const N=String(e.key);if(M[nn]&&M[nn](!0),n.isUnmounting)return _();T(m,[M]);let S=!1;const G=M[Ke]=ee=>{S||(S=!0,_(),ee?T(O,[M]):T(x,[M]),M[Ke]=void 0,I[N]===e&&delete I[N])};I[N]=e,v?F(v,[M,G]):G()},clone(M){const _=mr(M,t,n,r,s);return s&&s(_),_}};return $}function Gn(e){if(qt(e))return e=Je(e),e.children=null,e}function os(e){if(!qt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function vn(e,t){e.shapeFlag&6&&e.component?vn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ro(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function hf(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,f,u=0;const h=()=>(u++,c=null,m()),m=()=>{let v;return c||(v=c=t().catch(x=>{if(x=x instanceof Error?x:new Error(String(x)),l)return new Promise((O,B)=>{l(x,()=>O(h()),()=>B(x),u+1)});throw x}).then(x=>v!==c&&c?c:(x&&(x.__esModule||x[Symbol.toStringTag]==="Module")&&(x=x.default),f=x,x)))};return Hr({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return f},setup(){const v=ae;if(f)return()=>Xn(f,v);const x=D=>{c=null,Wt(D,v,13,!r)};if(i&&v.suspense||Xt)return m().then(D=>()=>Xn(D,v)).catch(D=>(x(D),()=>r?ie(r,{error:D}):null));const O=le(!1),B=le(),W=le(!!s);return s&&setTimeout(()=>{W.value=!1},s),o!=null&&setTimeout(()=>{if(!O.value&&!B.value){const D=new Error(`Async component timed out after ${o}ms.`);x(D),B.value=D}},o),m().then(()=>{O.value=!0,v.parent&&qt(v.parent.vnode)&&(v.parent.effect.dirty=!0,Fn(v.parent.update))}).catch(D=>{x(D),B.value=D}),()=>{if(O.value&&f)return Xn(f,v);if(B.value&&r)return ie(r,{error:B.value});if(n&&!W.value)return ie(n)}}})}function Xn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=ie(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const qt=e=>e.type.__isKeepAlive;function Pl(e,t){Oo(e,"a",t)}function Nl(e,t){Oo(e,"da",t)}function Oo(e,t,n=ae){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Hn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)qt(s.parent.vnode)&&Fl(r,t,n,s),s=s.parent}}function Fl(e,t,n,r){const s=Hn(t,e,r,!0);jn(()=>{Tr(r[t],s)},n)}function Hn(e,t,n=ae,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{et();const l=Gt(n),c=Ae(t,n,e,i);return l(),tt(),c});return r?s.unshift(o):s.push(o),o}}const Ve=e=>(t,n=ae)=>{(!Xt||e==="sp")&&Hn(e,(...r)=>t(...r),n)},$l=Ve("bm"),Tt=Ve("m"),Hl=Ve("bu"),jl=Ve("u"),Lo=Ve("bum"),jn=Ve("um"),Vl=Ve("sp"),Dl=Ve("rtg"),Ul=Ve("rtc");function kl(e,t=ae){Hn("ec",e,t)}const jr="components";function pf(e,t){return Io(jr,e,!0,t)||e}const Mo=Symbol.for("v-ndc");function gf(e){return se(e)?Io(jr,e,!1)||e:e||Mo}function Io(e,t,n=!0,r=!1){const s=fe||ae;if(s){const o=s.type;if(e===jr){const l=Pc(o,!1);if(l&&(l===t||l===Oe(t)||l===Rn(Oe(t))))return o}const i=is(s[e]||o[e],t)||is(s.appContext[e],t);return!i&&r?o:i}}function is(e,t){return e&&(e[t]||e[Oe(t)]||e[Rn(Oe(t))])}function mf(e,t,n,r){let s;const o=n;if(k(e)||se(e)){s=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function _f(e,t,n={},r,s){if(fe.isCE||fe.parent&&Et(fe.parent)&&fe.parent.isCE)return t!=="default"&&(n.name=t),ie("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),ti();const i=o&&Po(o(n)),l=ri(_e,{key:(n.key||i&&i.key||`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Po(e){return e.some(t=>Cn(t)?!(t.type===me||t.type===_e&&!Po(t.children)):!0)?e:null}function bf(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:un(r)]=e[r];return n}const yr=e=>e?li(e)?kn(e):yr(e.parent):null,Pt=ue(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>yr(e.parent),$root:e=>yr(e.root),$emit:e=>e.emit,$options:e=>Vr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Fn(e.update)}),$nextTick:e=>e.n||(e.n=Nn.bind(e.proxy)),$watch:e=>gc.bind(e)}),Yn=(e,t)=>e!==ne&&!e.__isScriptSetup&&z(e,t),Bl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const v=i[t];if(v!==void 0)switch(v){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Yn(r,t))return i[t]=1,r[t];if(s!==ne&&z(s,t))return i[t]=2,s[t];if((f=e.propsOptions[0])&&z(f,t))return i[t]=3,o[t];if(n!==ne&&z(n,t))return i[t]=4,n[t];_r&&(i[t]=0)}}const u=Pt[t];let h,m;if(u)return t==="$attrs"&&be(e.attrs,"get",""),u(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ne&&z(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,z(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Yn(s,t)?(s[t]=n,!0):r!==ne&&z(r,t)?(r[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==ne&&z(e,i)||Yn(t,i)||(l=o[0])&&z(l,i)||z(r,i)||z(Pt,i)||z(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function vf(){return No().slots}function wf(){return No().attrs}function No(){const e=Un();return e.setupContext||(e.setupContext=ai(e))}function ls(e){return k(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let _r=!0;function Kl(e){const t=Vr(e),n=e.proxy,r=e.ctx;_r=!1,t.beforeCreate&&cs(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:f,created:u,beforeMount:h,mounted:m,beforeUpdate:v,updated:x,activated:O,deactivated:B,beforeDestroy:W,beforeUnmount:D,destroyed:p,unmounted:y,render:I,renderTracked:T,renderTriggered:F,errorCaptured:$,serverPrefetch:M,expose:_,inheritAttrs:N,components:S,directives:G,filters:ee}=t;if(f&&Wl(f,r,null),i)for(const Y in i){const j=i[Y];K(j)&&(r[Y]=j.bind(n))}if(s){const Y=s.call(n,n);Z(Y)&&(e.data=In(Y))}if(_r=!0,o)for(const Y in o){const j=o[Y],Fe=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):Te,Yt=!K(j)&&K(j.set)?j.set.bind(n):Te,nt=oe({get:Fe,set:Yt});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Le=>nt.value=Le})}if(l)for(const Y in l)Fo(l[Y],r,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(j=>{Jl(j,Y[j])})}u&&cs(u,e,"c");function U(Y,j){k(j)?j.forEach(Fe=>Y(Fe.bind(n))):j&&Y(j.bind(n))}if(U($l,h),U(Tt,m),U(Hl,v),U(jl,x),U(Pl,O),U(Nl,B),U(kl,$),U(Ul,T),U(Dl,F),U(Lo,D),U(jn,y),U(Vl,M),k(_))if(_.length){const Y=e.exposed||(e.exposed={});_.forEach(j=>{Object.defineProperty(Y,j,{get:()=>n[j],set:Fe=>n[j]=Fe})})}else e.exposed||(e.exposed={});I&&e.render===Te&&(e.render=I),N!=null&&(e.inheritAttrs=N),S&&(e.components=S),G&&(e.directives=G)}function Wl(e,t,n=Te){k(e)&&(e=br(e));for(const r in e){const s=e[r];let o;Z(s)?"default"in s?o=Ct(s.from||r,s.default,!0):o=Ct(s.from||r):o=Ct(s),pe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function cs(e,t,n){Ae(k(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fo(e,t,n,r){const s=r.includes(".")?Qo(n,r):()=>n[r];if(se(e)){const o=t[e];K(o)&&Ne(s,o)}else if(K(e))Ne(s,e.bind(n));else if(Z(e))if(k(e))e.forEach(o=>Fo(o,t,n,r));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Ne(s,o,e)}}function Vr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(f=>wn(c,f,i,!0)),wn(c,t,i)),Z(t)&&o.set(t,c),c}function wn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&wn(e,o,n,!0),s&&s.forEach(i=>wn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=ql[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const ql={data:as,props:fs,emits:fs,methods:Mt,computed:Mt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Mt,directives:Mt,watch:Xl,provide:as,inject:Gl};function as(e,t){return t?e?function(){return ue(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Gl(e,t){return Mt(br(e),br(t))}function br(e){if(k(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const Ho={},jo=()=>Object.create(Ho),Vo=e=>Object.getPrototypeOf(e)===Ho;function Ql(e,t,n,r=!1){const s={},o=jo();e.propsDefaults=Object.create(null),Do(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:pl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Zl(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=J(s),[c]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,v]=Uo(h,t,!0);ue(i,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return Z(e)&&r.set(e,yt),yt;if(k(o))for(let u=0;u-1,v[1]=O<0||x-1||z(v,"default"))&&l.push(h)}}}const f=[i,l];return Z(e)&&r.set(e,f),f}function us(e){return e[0]!=="$"&&!bt(e)}function ds(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function hs(e,t){return ds(e)===ds(t)}function ps(e,t){return k(t)?t.findIndex(n=>hs(n,e)):K(t)&&hs(t,e)?0:-1}const ko=e=>e[0]==="_"||e==="$stable",Dr=e=>k(e)?e.map(xe):[xe(e)],tc=(e,t,n)=>{if(t._n)return t;const r=Ol((...s)=>Dr(t(...s)),n);return r._c=!1,r},Bo=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ko(s))continue;const o=e[s];if(K(o))t[s]=tc(s,o,r);else if(o!=null){const i=Dr(o);t[s]=()=>i}}},Ko=(e,t)=>{const n=Dr(t);e.slots.default=()=>n},Wo=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},nc=(e,t,n)=>{const r=e.slots=jo();if(e.vnode.shapeFlag&32){const s=t._;s?(Wo(r,t,n),n&&Qs(r,"_",s,!0)):Bo(t,r)}else t&&Ko(e,t)},rc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ne;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Wo(s,t,n):(o=!t.$stable,Bo(t,s)),i=t}else t&&(Ko(e,t),i={default:1});if(o)for(const l in s)!ko(l)&&i[l]==null&&delete s[l]};function En(e,t,n,r,s=!1){if(k(e)){e.forEach((m,v)=>En(m,t&&(k(t)?t[v]:t),n,r,s));return}if(Et(r)&&!s)return;const o=r.shapeFlag&4?kn(r.component):r.el,i=s?null:o,{i:l,r:c}=e,f=t&&t.r,u=l.refs===ne?l.refs={}:l.refs,h=l.setupState;if(f!=null&&f!==c&&(se(f)?(u[f]=null,z(h,f)&&(h[f]=null)):pe(f)&&(f.value=null)),K(c))Xe(c,l,12,[i,u]);else{const m=se(c),v=pe(c);if(m||v){const x=()=>{if(e.f){const O=m?z(h,c)?h[c]:u[c]:c.value;s?k(O)&&Tr(O,o):k(O)?O.includes(o)||O.push(o):m?(u[c]=[o],z(h,c)&&(h[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else m?(u[c]=i,z(h,c)&&(h[c]=i)):v&&(c.value=i,e.k&&(u[e.k]=i))};i?(x.id=-1,ye(x,n)):x()}}}const qo=Symbol("_vte"),sc=e=>e.__isTeleport,Ft=e=>e&&(e.disabled||e.disabled===""),gs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ms=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,wr=(e,t)=>{const n=e&&e.to;return se(n)?t?t(n):null:n},oc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,f){const{mc:u,pc:h,pbc:m,o:{insert:v,querySelector:x,createText:O,createComment:B}}=f,W=Ft(t.props);let{shapeFlag:D,children:p,dynamicChildren:y}=t;if(e==null){const I=t.el=O(""),T=t.anchor=O(""),F=t.target=wr(t.props,x),$=t.targetStart=O(""),M=t.targetAnchor=O("");v(I,n,r),v(T,n,r),$[qo]=M,F&&(v($,F),v(M,F),i==="svg"||gs(F)?i="svg":(i==="mathml"||ms(F))&&(i="mathml"));const _=(N,S)=>{D&16&&u(p,N,S,s,o,i,l,c)};W?_(n,T):F&&_(F,M)}else{t.el=e.el,t.targetStart=e.targetStart;const I=t.anchor=e.anchor,T=t.target=e.target,F=t.targetAnchor=e.targetAnchor,$=Ft(e.props),M=$?n:T,_=$?I:F;if(i==="svg"||gs(T)?i="svg":(i==="mathml"||ms(T))&&(i="mathml"),y?(m(e.dynamicChildren,y,M,s,o,i,l),Ur(e,t,!0)):c||h(e,t,M,_,s,o,i,l,!1),W)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rn(t,n,I,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=wr(t.props,x);N&&rn(t,N,null,f,0)}else $&&rn(t,T,F,f,1)}Go(t)},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:l,anchor:c,targetStart:f,targetAnchor:u,target:h,props:m}=e;if(h&&(s(f),s(u)),o&&s(c),i&16){const v=o||!Ft(m);for(let x=0;x{ys||(console.error("Hydration completed but contains mismatches."),ys=!0)},lc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",cc=e=>e.namespaceURI.includes("MathML"),sn=e=>{if(lc(e))return"svg";if(cc(e))return"mathml"},on=e=>e.nodeType===8;function ac(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:f}}=e,u=(p,y)=>{if(!y.hasChildNodes()){n(null,p,y),_n(),y._vnode=p;return}h(y.firstChild,p,null,null,null),_n(),y._vnode=p},h=(p,y,I,T,F,$=!1)=>{$=$||!!y.dynamicChildren;const M=on(p)&&p.data==="[",_=()=>O(p,y,I,T,F,M),{type:N,ref:S,shapeFlag:G,patchFlag:ee}=y;let re=p.nodeType;y.el=p,ee===-2&&($=!1,y.dynamicChildren=null);let U=null;switch(N){case ft:re!==3?y.children===""?(c(y.el=s(""),i(p),p),U=p):U=_():(p.data!==y.children&&(gt(),p.data=y.children),U=o(p));break;case me:D(p)?(U=o(p),W(y.el=p.content.firstChild,p,I)):re!==8||M?U=_():U=o(p);break;case $t:if(M&&(p=o(p),re=p.nodeType),re===1||re===3){U=p;const Y=!y.children.length;for(let j=0;j{$=$||!!y.dynamicChildren;const{type:M,props:_,patchFlag:N,shapeFlag:S,dirs:G,transition:ee}=y,re=M==="input"||M==="option";if(re||N!==-1){G&&Ie(y,null,I,"created");let U=!1;if(D(p)){U=Yo(T,ee)&&I&&I.vnode.props&&I.vnode.props.appear;const j=p.content.firstChild;U&&ee.beforeEnter(j),W(j,p,I),y.el=p=j}if(S&16&&!(_&&(_.innerHTML||_.textContent))){let j=v(p.firstChild,y,p,I,T,F,$);for(;j;){gt();const Fe=j;j=j.nextSibling,l(Fe)}}else S&8&&p.textContent!==y.children&&(gt(),p.textContent=y.children);if(_){if(re||!$||N&48)for(const j in _)(re&&(j.endsWith("value")||j==="indeterminate")||Kt(j)&&!bt(j)||j[0]===".")&&r(p,j,null,_[j],void 0,I);else if(_.onClick)r(p,"onClick",null,_.onClick,void 0,I);else if(N&4&&vt(_.style))for(const j in _.style)_.style[j]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Se(Y,I,y),G&&Ie(y,null,I,"beforeMount"),((Y=_&&_.onVnodeMounted)||G||U)&&ei(()=>{Y&&Se(Y,I,y),U&&ee.enter(p),G&&Ie(y,null,I,"mounted")},T)}return p.nextSibling},v=(p,y,I,T,F,$,M)=>{M=M||!!y.dynamicChildren;const _=y.children,N=_.length;for(let S=0;S{const{slotScopeIds:M}=y;M&&(F=F?F.concat(M):M);const _=i(p),N=v(o(p),y,_,I,T,F,$);return N&&on(N)&&N.data==="]"?o(y.anchor=N):(gt(),c(y.anchor=f("]"),_,N),N)},O=(p,y,I,T,F,$)=>{if(gt(),y.el=null,$){const N=B(p);for(;;){const S=o(p);if(S&&S!==N)l(S);else break}}const M=o(p),_=i(p);return l(p),n(null,y,_,M,I,T,sn(_),F),M},B=(p,y="[",I="]")=>{let T=0;for(;p;)if(p=o(p),p&&on(p)&&(p.data===y&&T++,p.data===I)){if(T===0)return o(p);T--}return p},W=(p,y,I)=>{const T=y.parentNode;T&&T.replaceChild(p,y);let F=I;for(;F;)F.vnode.el===y&&(F.vnode.el=F.subTree.el=p),F=F.parent},D=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[u,h]}const ye=ei;function fc(e){return Xo(e)}function uc(e){return Xo(e,ac)}function Xo(e,t){const n=Zs();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:u,parentNode:h,nextSibling:m,setScopeId:v=Te,insertStaticContent:x}=e,O=(a,d,g,E=null,b=null,C=null,L=void 0,A=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!lt(a,d)&&(E=zt(a),Le(a,b,C,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:w,ref:P,shapeFlag:V}=d;switch(w){case ft:B(a,d,g,E);break;case me:W(a,d,g,E);break;case $t:a==null&&D(d,g,E,L);break;case _e:S(a,d,g,E,b,C,L,A,R);break;default:V&1?I(a,d,g,E,b,C,L,A,R):V&6?G(a,d,g,E,b,C,L,A,R):(V&64||V&128)&&w.process(a,d,g,E,b,C,L,A,R,ht)}P!=null&&b&&En(P,a&&a.ref,C,d||a,!d)},B=(a,d,g,E)=>{if(a==null)r(d.el=l(d.children),g,E);else{const b=d.el=a.el;d.children!==a.children&&f(b,d.children)}},W=(a,d,g,E)=>{a==null?r(d.el=c(d.children||""),g,E):d.el=a.el},D=(a,d,g,E)=>{[a.el,a.anchor]=x(a.children,d,g,E,a.el,a.anchor)},p=({el:a,anchor:d},g,E)=>{let b;for(;a&&a!==d;)b=m(a),r(a,g,E),a=b;r(d,g,E)},y=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=m(a),s(a),a=g;s(d)},I=(a,d,g,E,b,C,L,A,R)=>{d.type==="svg"?L="svg":d.type==="math"&&(L="mathml"),a==null?T(d,g,E,b,C,L,A,R):M(a,d,b,C,L,A,R)},T=(a,d,g,E,b,C,L,A)=>{let R,w;const{props:P,shapeFlag:V,transition:H,dirs:q}=a;if(R=a.el=i(a.type,C,P&&P.is,P),V&8?u(R,a.children):V&16&&$(a.children,R,null,E,b,zn(a,C),L,A),q&&Ie(a,null,E,"created"),F(R,a,a.scopeId,L,E),P){for(const te in P)te!=="value"&&!bt(te)&&o(R,te,null,P[te],C,E);"value"in P&&o(R,"value",null,P.value,C),(w=P.onVnodeBeforeMount)&&Se(w,E,a)}q&&Ie(a,null,E,"beforeMount");const X=Yo(b,H);X&&H.beforeEnter(R),r(R,d,g),((w=P&&P.onVnodeMounted)||X||q)&&ye(()=>{w&&Se(w,E,a),X&&H.enter(R),q&&Ie(a,null,E,"mounted")},b)},F=(a,d,g,E,b)=>{if(g&&v(a,g),E)for(let C=0;C{for(let w=R;w{const A=d.el=a.el;let{patchFlag:R,dynamicChildren:w,dirs:P}=d;R|=a.patchFlag&16;const V=a.props||ne,H=d.props||ne;let q;if(g&&rt(g,!1),(q=H.onVnodeBeforeUpdate)&&Se(q,g,d,a),P&&Ie(d,a,g,"beforeUpdate"),g&&rt(g,!0),(V.innerHTML&&H.innerHTML==null||V.textContent&&H.textContent==null)&&u(A,""),w?_(a.dynamicChildren,w,A,g,E,zn(d,b),C):L||j(a,d,A,null,g,E,zn(d,b),C,!1),R>0){if(R&16)N(A,V,H,g,b);else if(R&2&&V.class!==H.class&&o(A,"class",null,H.class,b),R&4&&o(A,"style",V.style,H.style,b),R&8){const X=d.dynamicProps;for(let te=0;te{q&&Se(q,g,d,a),P&&Ie(d,a,g,"updated")},E)},_=(a,d,g,E,b,C,L)=>{for(let A=0;A{if(d!==g){if(d!==ne)for(const C in d)!bt(C)&&!(C in g)&&o(a,C,d[C],null,b,E);for(const C in g){if(bt(C))continue;const L=g[C],A=d[C];L!==A&&C!=="value"&&o(a,C,A,L,b,E)}"value"in g&&o(a,"value",d.value,g.value,b)}},S=(a,d,g,E,b,C,L,A,R)=>{const w=d.el=a?a.el:l(""),P=d.anchor=a?a.anchor:l("");let{patchFlag:V,dynamicChildren:H,slotScopeIds:q}=d;q&&(A=A?A.concat(q):q),a==null?(r(w,g,E),r(P,g,E),$(d.children||[],g,P,b,C,L,A,R)):V>0&&V&64&&H&&a.dynamicChildren?(_(a.dynamicChildren,H,g,b,C,L,A),(d.key!=null||b&&d===b.subTree)&&Ur(a,d,!0)):j(a,d,g,P,b,C,L,A,R)},G=(a,d,g,E,b,C,L,A,R)=>{d.slotScopeIds=A,a==null?d.shapeFlag&512?b.ctx.activate(d,g,E,L,R):ee(d,g,E,b,C,L,R):re(a,d,R)},ee=(a,d,g,E,b,C,L)=>{const A=a.component=Oc(a,E,b);if(qt(a)&&(A.ctx.renderer=ht),Lc(A,!1,L),A.asyncDep){if(b&&b.registerDep(A,U,L),!a.el){const R=A.subTree=ie(me);W(null,R,d,g)}}else U(A,a,d,g,b,C,L)},re=(a,d,g)=>{const E=d.component=a.component;if(vc(a,d,g))if(E.asyncDep&&!E.asyncResolved){Y(E,d,g);return}else E.next=d,Tl(E.update),E.effect.dirty=!0,E.update();else d.el=a.el,E.vnode=d},U=(a,d,g,E,b,C,L)=>{const A=()=>{if(a.isMounted){let{next:P,bu:V,u:H,parent:q,vnode:X}=a;{const pt=zo(a);if(pt){P&&(P.el=X.el,Y(a,P,L)),pt.asyncDep.then(()=>{a.isUnmounted||A()});return}}let te=P,Q;rt(a,!1),P?(P.el=X.el,Y(a,P,L)):P=X,V&&dn(V),(Q=P.props&&P.props.onVnodeBeforeUpdate)&&Se(Q,q,P,X),rt(a,!0);const ce=Jn(a),Re=a.subTree;a.subTree=ce,O(Re,ce,h(Re.el),zt(Re),a,b,C),P.el=ce.el,te===null&&wc(a,ce.el),H&&ye(H,b),(Q=P.props&&P.props.onVnodeUpdated)&&ye(()=>Se(Q,q,P,X),b)}else{let P;const{el:V,props:H}=d,{bm:q,m:X,parent:te}=a,Q=Et(d);if(rt(a,!1),q&&dn(q),!Q&&(P=H&&H.onVnodeBeforeMount)&&Se(P,te,d),rt(a,!0),V&&Wn){const ce=()=>{a.subTree=Jn(a),Wn(V,a.subTree,a,b,null)};Q?d.type.__asyncLoader().then(()=>!a.isUnmounted&&ce()):ce()}else{const ce=a.subTree=Jn(a);O(null,ce,g,E,a,b,C),d.el=ce.el}if(X&&ye(X,b),!Q&&(P=H&&H.onVnodeMounted)){const ce=d;ye(()=>Se(P,te,ce),b)}(d.shapeFlag&256||te&&Et(te.vnode)&&te.vnode.shapeFlag&256)&&a.a&&ye(a.a,b),a.isMounted=!0,d=g=E=null}},R=a.effect=new Rr(A,Te,()=>Fn(w),a.scope),w=a.update=()=>{R.dirty&&R.run()};w.i=a,w.id=a.uid,rt(a,!0),w()},Y=(a,d,g)=>{d.component=a;const E=a.vnode.props;a.vnode=d,a.next=null,Zl(a,d.props,E,g),rc(a,d.children,g),et(),ss(a),tt()},j=(a,d,g,E,b,C,L,A,R=!1)=>{const w=a&&a.children,P=a?a.shapeFlag:0,V=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){Yt(w,V,g,E,b,C,L,A,R);return}else if(H&256){Fe(w,V,g,E,b,C,L,A,R);return}}q&8?(P&16&&At(w,b,C),V!==w&&u(g,V)):P&16?q&16?Yt(w,V,g,E,b,C,L,A,R):At(w,b,C,!0):(P&8&&u(g,""),q&16&&$(V,g,E,b,C,L,A,R))},Fe=(a,d,g,E,b,C,L,A,R)=>{a=a||yt,d=d||yt;const w=a.length,P=d.length,V=Math.min(w,P);let H;for(H=0;HP?At(a,b,C,!0,!1,V):$(d,g,E,b,C,L,A,R,V)},Yt=(a,d,g,E,b,C,L,A,R)=>{let w=0;const P=d.length;let V=a.length-1,H=P-1;for(;w<=V&&w<=H;){const q=a[w],X=d[w]=R?We(d[w]):xe(d[w]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;w++}for(;w<=V&&w<=H;){const q=a[V],X=d[H]=R?We(d[H]):xe(d[H]);if(lt(q,X))O(q,X,g,null,b,C,L,A,R);else break;V--,H--}if(w>V){if(w<=H){const q=H+1,X=qH)for(;w<=V;)Le(a[w],b,C,!0),w++;else{const q=w,X=w,te=new Map;for(w=X;w<=H;w++){const ve=d[w]=R?We(d[w]):xe(d[w]);ve.key!=null&&te.set(ve.key,w)}let Q,ce=0;const Re=H-X+1;let pt=!1,Gr=0;const Rt=new Array(Re);for(w=0;w=Re){Le(ve,b,C,!0);continue}let Me;if(ve.key!=null)Me=te.get(ve.key);else for(Q=X;Q<=H;Q++)if(Rt[Q-X]===0&<(ve,d[Q])){Me=Q;break}Me===void 0?Le(ve,b,C,!0):(Rt[Me-X]=w+1,Me>=Gr?Gr=Me:pt=!0,O(ve,d[Me],g,null,b,C,L,A,R),ce++)}const Xr=pt?dc(Rt):yt;for(Q=Xr.length-1,w=Re-1;w>=0;w--){const ve=X+w,Me=d[ve],Yr=ve+1{const{el:C,type:L,transition:A,children:R,shapeFlag:w}=a;if(w&6){nt(a.component.subTree,d,g,E);return}if(w&128){a.suspense.move(d,g,E);return}if(w&64){L.move(a,d,g,ht);return}if(L===_e){r(C,d,g);for(let V=0;VA.enter(C),b);else{const{leave:V,delayLeave:H,afterLeave:q}=A,X=()=>r(C,d,g),te=()=>{V(C,()=>{X(),q&&q()})};H?H(C,X,te):te()}else r(C,d,g)},Le=(a,d,g,E=!1,b=!1)=>{const{type:C,props:L,ref:A,children:R,dynamicChildren:w,shapeFlag:P,patchFlag:V,dirs:H,cacheIndex:q}=a;if(V===-2&&(b=!1),A!=null&&En(A,null,g,a,!0),q!=null&&(d.renderCache[q]=void 0),P&256){d.ctx.deactivate(a);return}const X=P&1&&H,te=!Et(a);let Q;if(te&&(Q=L&&L.onVnodeBeforeUnmount)&&Se(Q,d,a),P&6)Mi(a.component,g,E);else{if(P&128){a.suspense.unmount(g,E);return}X&&Ie(a,null,d,"beforeUnmount"),P&64?a.type.remove(a,d,g,ht,E):w&&!w.hasOnce&&(C!==_e||V>0&&V&64)?At(w,d,g,!1,!0):(C===_e&&V&384||!b&&P&16)&&At(R,d,g),E&&Wr(a)}(te&&(Q=L&&L.onVnodeUnmounted)||X)&&ye(()=>{Q&&Se(Q,d,a),X&&Ie(a,null,d,"unmounted")},g)},Wr=a=>{const{type:d,el:g,anchor:E,transition:b}=a;if(d===_e){Li(g,E);return}if(d===$t){y(a);return}const C=()=>{s(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(a.shapeFlag&1&&b&&!b.persisted){const{leave:L,delayLeave:A}=b,R=()=>L(g,C);A?A(a.el,C,R):R()}else C()},Li=(a,d)=>{let g;for(;a!==d;)g=m(a),s(a),a=g;s(d)},Mi=(a,d,g)=>{const{bum:E,scope:b,update:C,subTree:L,um:A,m:R,a:w}=a;_s(R),_s(w),E&&dn(E),b.stop(),C&&(C.active=!1,Le(L,a,d,g)),A&&ye(A,d),ye(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},At=(a,d,g,E=!1,b=!1,C=0)=>{for(let L=C;L{if(a.shapeFlag&6)return zt(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=m(a.anchor||a.el),g=d&&d[qo];return g?m(g):d};let Bn=!1;const qr=(a,d,g)=>{a==null?d._vnode&&Le(d._vnode,null,null,!0):O(d._vnode||null,a,d,null,null,null,g),Bn||(Bn=!0,ss(),_n(),Bn=!1),d._vnode=a},ht={p:O,um:Le,m:nt,r:Wr,mt:ee,mc:$,pc:j,pbc:_,n:zt,o:e};let Kn,Wn;return t&&([Kn,Wn]=t(ht)),{render:qr,hydrate:Kn,createApp:zl(qr,Kn)}}function zn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Yo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ur(e,t,n=!1){const r=e.children,s=t.children;if(k(r)&&k(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function zo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zo(t)}function _s(e){if(e)for(let t=0;tCt(hc);function Jo(e,t){return Vn(e,null,t)}function Cf(e,t){return Vn(e,null,{flush:"post"})}const ln={};function Ne(e,t,n){return Vn(e,t,n)}function Vn(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:l}=ne){if(t&&o){const T=t;t=(...F)=>{T(...F),I()}}const c=ae,f=T=>r===!0?T:qe(T,r===!1?1:void 0);let u,h=!1,m=!1;if(pe(e)?(u=()=>e.value,h=St(e)):vt(e)?(u=()=>f(e),h=!0):k(e)?(m=!0,h=e.some(T=>vt(T)||St(T)),u=()=>e.map(T=>{if(pe(T))return T.value;if(vt(T))return f(T);if(K(T))return Xe(T,c,2)})):K(e)?t?u=()=>Xe(e,c,2):u=()=>(v&&v(),Ae(e,c,3,[x])):u=Te,t&&r){const T=u;u=()=>qe(T())}let v,x=T=>{v=p.onStop=()=>{Xe(T,c,4),v=p.onStop=void 0}},O;if(Xt)if(x=Te,t?n&&Ae(t,c,3,[u(),m?[]:void 0,x]):u(),s==="sync"){const T=pc();O=T.__watcherHandles||(T.__watcherHandles=[])}else return Te;let B=m?new Array(e.length).fill(ln):ln;const W=()=>{if(!(!p.active||!p.dirty))if(t){const T=p.run();(r||h||(m?T.some((F,$)=>ze(F,B[$])):ze(T,B)))&&(v&&v(),Ae(t,c,3,[T,B===ln?void 0:m&&B[0]===ln?[]:B,x]),B=T)}else p.run()};W.allowRecurse=!!t;let D;s==="sync"?D=W:s==="post"?D=()=>ye(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),D=()=>Fn(W));const p=new Rr(u,Te,D),y=ro(),I=()=>{p.stop(),y&&Tr(y.effects,p)};return t?n?W():B=p.run():s==="post"?ye(p.run.bind(p),c&&c.suspense):p.run(),O&&O.push(I),I}function gc(e,t,n){const r=this.proxy,s=se(e)?e.includes(".")?Qo(r,e):()=>r[e]:e.bind(r,r);let o;K(t)?o=t:(o=t.handler,n=t);const i=Gt(this),l=Vn(s,o.bind(r),n);return i(),l}function Qo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{qe(r,t,n)});else if(Js(e)){for(const r in e)qe(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&qe(e[r],t,n)}return e}const mc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${Ze(t)}Modifiers`];function yc(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ne;let s=n;const o=t.startsWith("update:"),i=o&&mc(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>se(u)?u.trim():u)),i.number&&(s=n.map(ur)));let l,c=r[l=un(t)]||r[l=un(Oe(t))];!c&&o&&(c=r[l=un(Ze(t))]),c&&Ae(c,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ae(f,e,6,s)}}function Zo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!K(e)){const c=f=>{const u=Zo(f,t,!0);u&&(l=!0,ue(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&r.set(e,null),null):(k(o)?o.forEach(c=>i[c]=null):ue(i,o),Z(e)&&r.set(e,i),i)}function Dn(e,t){return!e||!Kt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ze(t))||z(e,t))}function Jn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:f,renderCache:u,props:h,data:m,setupState:v,ctx:x,inheritAttrs:O}=e,B=bn(e);let W,D;try{if(n.shapeFlag&4){const y=s||r,I=y;W=xe(f.call(I,y,u,h,v,m,x)),D=l}else{const y=t;W=xe(y.length>1?y(h,{attrs:l,slots:i,emit:c}):y(h,null)),D=t.props?l:_c(l)}}catch(y){Ht.length=0,Wt(y,e,1),W=ie(me)}let p=W;if(D&&O!==!1){const y=Object.keys(D),{shapeFlag:I}=p;y.length&&I&7&&(o&&y.some(xr)&&(D=bc(D,o)),p=Je(p,D,!1,!0))}return n.dirs&&(p=Je(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),W=p,bn(B),W}const _c=e=>{let t;for(const n in e)(n==="class"||n==="style"||Kt(n))&&((t||(t={}))[n]=e[n]);return t},bc=(e,t)=>{const n={};for(const r in e)(!xr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function vc(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?bs(r,i,f):!!i;if(c&8){const u=t.dynamicProps;for(let h=0;he.__isSuspense;function ei(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):Al(e)}const _e=Symbol.for("v-fgt"),ft=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),$t=Symbol.for("v-stc"),Ht=[];let Ee=null;function ti(e=!1){Ht.push(Ee=e?null:[])}function Cc(){Ht.pop(),Ee=Ht[Ht.length-1]||null}let kt=1;function vs(e){kt+=e,e<0&&Ee&&(Ee.hasOnce=!0)}function ni(e){return e.dynamicChildren=kt>0?Ee||yt:null,Cc(),kt>0&&Ee&&Ee.push(e),e}function Sf(e,t,n,r,s,o){return ni(oi(e,t,n,r,s,o,!0))}function ri(e,t,n,r,s){return ni(ie(e,t,n,r,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const si=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||pe(e)||K(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function oi(e,t=null,n=null,r=0,s=null,o=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&si(t),ref:t&&pn(t),scopeId:$n,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:fe};return l?(kr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),kt>0&&!i&&Ee&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ee.push(c),c}const ie=Sc;function Sc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Mo)&&(e=me),Cn(e)){const l=Je(e,t,!0);return n&&kr(l,n),kt>0&&!o&&Ee&&(l.shapeFlag&6?Ee[Ee.indexOf(e)]=l:Ee.push(l)),l.patchFlag=-2,l}if(Nc(e)&&(e=e.__vccOpts),t){t=xc(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Ln(l)),Z(c)&&(mo(c)&&!k(c)&&(c=ue({},c)),t.style=On(c))}const i=se(e)?1:Ec(e)?128:sc(e)?64:Z(e)?4:K(e)?2:0;return oi(e,t,n,r,s,i,o,!0)}function xc(e){return e?mo(e)||Vo(e)?ue({},e):e:null}function Je(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,f=t?Tc(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&si(f),ref:t&&t.ref?n&&o?k(o)?o.concat(pn(t)):[o,pn(t)]:pn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Je(e.ssContent),ssFallback:e.ssFallback&&Je(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&vn(u,c.clone(u)),u}function ii(e=" ",t=0){return ie(ft,null,e,t)}function xf(e,t){const n=ie($t,null,e);return n.staticCount=t,n}function Tf(e="",t=!1){return t?(ti(),ri(me,null,e)):ie(me,null,e)}function xe(e){return e==null||typeof e=="boolean"?ie(me):k(e)?ie(_e,null,e.slice()):typeof e=="object"?We(e):ie(ft,null,String(e))}function We(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Je(e)}function kr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),kr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Vo(t)?t._ctx=fe:s===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),r&64?(n=16,t=[ii(t)]):n=8);e.children=t,e.shapeFlag|=n}function Tc(...e){const t={};for(let n=0;nae||fe;let Sn,Er;{const e=Zs(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Sn=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),Er=t("__VUE_SSR_SETTERS__",n=>Xt=n)}const Gt=e=>{const t=ae;return Sn(e),e.scope.on(),()=>{e.scope.off(),Sn(t)}},ws=()=>{ae&&ae.scope.off(),Sn(null)};function li(e){return e.vnode.shapeFlag&4}let Xt=!1;function Lc(e,t=!1,n=!1){t&&Er(t);const{props:r,children:s}=e.vnode,o=li(e);Ql(e,r,o,t),nc(e,s,n);const i=o?Mc(e,t):void 0;return t&&Er(!1),i}function Mc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bl);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ai(e):null,o=Gt(e);et();const i=Xe(r,e,0,[e.props,s]);if(tt(),o(),Ys(i)){if(i.then(ws,ws),t)return i.then(l=>{Es(e,l,t)}).catch(l=>{Wt(l,e,0)});e.asyncDep=i}else Es(e,i,t)}else ci(e,t)}function Es(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=wo(t)),ci(e,n)}let Cs;function ci(e,t,n){const r=e.type;if(!e.render){if(!t&&Cs&&!r.render){const s=r.template||Vr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,f=ue(ue({isCustomElement:o,delimiters:l},i),c);r.render=Cs(s,f)}}e.render=r.render||Te}{const s=Gt(e);et();try{Kl(e)}finally{tt(),s()}}}const Ic={get(e,t){return be(e,"get",""),e[t]}};function ai(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ic),slots:e.slots,emit:e.emit,expose:t}}function kn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wo(hn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Pt)return Pt[n](e)},has(t,n){return n in t||n in Pt}})):e.proxy}function Pc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Nc(e){return K(e)&&"__vccOpts"in e}const oe=(e,t)=>gl(e,t,Xt);function Cr(e,t,n){const r=arguments.length;return r===2?Z(t)&&!k(t)?Cn(t)?ie(e,null,[t]):ie(e,t):ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),ie(e,t,n))}const Fc="3.4.32";/** +* @vue/runtime-dom v3.4.32 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const $c="http://www.w3.org/2000/svg",Hc="http://www.w3.org/1998/Math/MathML",$e=typeof document<"u"?document:null,Ss=$e&&$e.createElement("template"),jc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?$e.createElementNS($c,e):t==="mathml"?$e.createElementNS(Hc,e):n?$e.createElement(e,{is:n}):$e.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>$e.createTextNode(e),createComment:e=>$e.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$e.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Ss.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const l=Ss.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ue="transition",Ot="animation",Bt=Symbol("_vtc"),fi=(e,{slots:t})=>Cr(Il,Vc(e),t);fi.displayName="Transition";const ui={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};fi.props=ue({},xo,ui);const st=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},xs=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Vc(e){const t={};for(const S in e)S in ui||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:u=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,x=Dc(s),O=x&&x[0],B=x&&x[1],{onBeforeEnter:W,onEnter:D,onEnterCancelled:p,onLeave:y,onLeaveCancelled:I,onBeforeAppear:T=W,onAppear:F=D,onAppearCancelled:$=p}=t,M=(S,G,ee)=>{ot(S,G?u:l),ot(S,G?f:i),ee&&ee()},_=(S,G)=>{S._isLeaving=!1,ot(S,h),ot(S,v),ot(S,m),G&&G()},N=S=>(G,ee)=>{const re=S?F:D,U=()=>M(G,S,ee);st(re,[G,U]),Ts(()=>{ot(G,S?c:o),ke(G,S?u:l),xs(re)||As(G,r,O,U)})};return ue(t,{onBeforeEnter(S){st(W,[S]),ke(S,o),ke(S,i)},onBeforeAppear(S){st(T,[S]),ke(S,c),ke(S,f)},onEnter:N(!1),onAppear:N(!0),onLeave(S,G){S._isLeaving=!0;const ee=()=>_(S,G);ke(S,h),ke(S,m),Bc(),Ts(()=>{S._isLeaving&&(ot(S,h),ke(S,v),xs(y)||As(S,r,B,ee))}),st(y,[S,ee])},onEnterCancelled(S){M(S,!1),st(p,[S])},onAppearCancelled(S){M(S,!0),st($,[S])},onLeaveCancelled(S){_(S),st(I,[S])}})}function Dc(e){if(e==null)return null;if(Z(e))return[Qn(e.enter),Qn(e.leave)];{const t=Qn(e);return[t,t]}}function Qn(e){return Hi(e)}function ke(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Bt]||(e[Bt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Bt];n&&(n.delete(t),n.size||(e[Bt]=void 0))}function Ts(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Uc=0;function As(e,t,n,r){const s=e._endId=++Uc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=kc(e,t);if(!i)return r();const f=i+"end";let u=0;const h=()=>{e.removeEventListener(f,m),o()},m=v=>{v.target===e&&++u>=c&&h()};setTimeout(()=>{u(n[x]||"").split(", "),s=r(`${Ue}Delay`),o=r(`${Ue}Duration`),i=Rs(s,o),l=r(`${Ot}Delay`),c=r(`${Ot}Duration`),f=Rs(l,c);let u=null,h=0,m=0;t===Ue?i>0&&(u=Ue,h=i,m=o.length):t===Ot?f>0&&(u=Ot,h=f,m=c.length):(h=Math.max(i,f),u=h>0?i>f?Ue:Ot:null,m=u?u===Ue?o.length:c.length:0);const v=u===Ue&&/\b(transform|all)(,|$)/.test(r(`${Ue}Property`).toString());return{type:u,timeout:h,propCount:m,hasTransform:v}}function Rs(e,t){for(;e.lengthOs(n)+Os(e[r])))}function Os(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Bc(){return document.body.offsetHeight}function Kc(e,t,n){const r=e[Bt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const xn=Symbol("_vod"),di=Symbol("_vsh"),Af={beforeMount(e,{value:t},{transition:n}){e[xn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Lt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Lt(e,!0),r.enter(e)):r.leave(e,()=>{Lt(e,!1)}):Lt(e,t))},beforeUnmount(e,{value:t}){Lt(e,t)}};function Lt(e,t){e.style.display=t?e[xn]:"none",e[di]=!t}const Wc=Symbol(""),qc=/(^|;)\s*display\s*:/;function Gc(e,t,n){const r=e.style,s=se(n);let o=!1;if(n&&!s){if(t)if(se(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&gn(r,l,"")}else for(const i in t)n[i]==null&&gn(r,i,"");for(const i in n)i==="display"&&(o=!0),gn(r,i,n[i])}else if(s){if(t!==n){const i=r[Wc];i&&(n+=";"+i),r.cssText=n,o=qc.test(n)}}else t&&e.removeAttribute("style");xn in e&&(e[xn]=o?r.display:"",e[di]&&(r.display="none"))}const Ls=/\s*!important$/;function gn(e,t,n){if(k(n))n.forEach(r=>gn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Xc(e,t);Ls.test(n)?e.setProperty(Ze(r),n.replace(Ls,""),"important"):e[r]=n}}const Ms=["Webkit","Moz","ms"],Zn={};function Xc(e,t){const n=Zn[t];if(n)return n;let r=Oe(t);if(r!=="filter"&&r in e)return Zn[t]=r;r=Rn(r);for(let s=0;ser||(Zc.then(()=>er=0),er=Date.now());function ta(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ae(na(r,n.value),t,5,[r])};return n.value=e,n.attached=ea(),n}function na(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const $s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ra=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Kc(e,r,i):t==="style"?Gc(e,n,r):Kt(t)?xr(t)||Jc(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sa(e,t,r,i))?(Yc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ps(e,t,r,i,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ps(e,t,r,i))};function sa(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&$s(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return $s(t)&&se(n)?!1:t in e}const Hs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>dn(t,n):t};function oa(e){e.target.composing=!0}function js(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const tr=Symbol("_assign"),Rf={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[tr]=Hs(s);const o=r||s.props&&s.props.type==="number";mt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=ur(l)),e[tr](l)}),n&&mt(e,"change",()=>{e.value=e.value.trim()}),t||(mt(e,"compositionstart",oa),mt(e,"compositionend",js),mt(e,"change",js))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[tr]=Hs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?ur(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},ia=["ctrl","shift","alt","meta"],la={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ia.some(n=>e[`${n}Key`]&&!t.includes(n))},Of=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Ze(s.key);if(t.some(i=>i===o||ca[i]===o))return e(s)})},hi=ue({patchProp:ra},jc);let jt,Vs=!1;function aa(){return jt||(jt=fc(hi))}function fa(){return jt=Vs?jt:uc(hi),Vs=!0,jt}const Mf=(...e)=>{aa().render(...e)},If=(...e)=>{const t=fa().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=da(r);if(s)return n(s,!0,ua(s))},t};function ua(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function da(e){return se(e)?document.querySelector(e):e}const Pf=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},ha="modulepreload",pa=function(e){return"/"+e},Ds={},Nf=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=pa(l),l in Ds)return;Ds[l]=!0;const c=l.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${f}`))return;const u=document.createElement("link");if(u.rel=c?"stylesheet":ha,c||(u.as="script",u.crossOrigin=""),u.href=l,i&&u.setAttribute("nonce",i),document.head.appendChild(u),c)return new Promise((h,m)=>{u.addEventListener("load",h),u.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},ga=window.__VP_SITE_DATA__;function Br(e){return ro()?(Gi(e),!0):!1}function Ye(e){return typeof e=="function"?e():vo(e)}const pi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ma=Object.prototype.toString,ya=e=>ma.call(e)==="[object Object]",gi=()=>{},Us=_a();function _a(){var e,t;return pi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ba(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const mi=e=>e();function va(e=mi){const t=le(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Pn(t),pause:n,resume:r,eventFilter:s}}function wa(e){return Un()}function yi(...e){if(e.length!==1)return El(...e);const t=e[0];return typeof t=="function"?Pn(bl(()=>({get:t,set:gi}))):le(t)}function Ea(e,t,n={}){const{eventFilter:r=mi,...s}=n;return Ne(e,ba(r,t),s)}function Ca(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=va(r);return{stop:Ea(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function Kr(e,t=!0,n){wa()?Tt(e,n):t?e():Nn(e)}function _i(e){var t;const n=Ye(e);return(t=n==null?void 0:n.$el)!=null?t:n}const je=pi?window:void 0;function xt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=je):[t,n,r,s]=e,!t)return gi;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(u=>u()),o.length=0},l=(u,h,m,v)=>(u.addEventListener(h,m,v),()=>u.removeEventListener(h,m,v)),c=Ne(()=>[_i(t),Ye(s)],([u,h])=>{if(i(),!u)return;const m=ya(h)?{...h}:h;o.push(...n.flatMap(v=>r.map(x=>l(u,v,x,m))))},{immediate:!0,flush:"post"}),f=()=>{c(),i()};return Br(f),f}function Sa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Ff(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=je,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=Sa(t);return xt(s,o,u=>{u.repeat&&Ye(l)||c(u)&&n(u)},i)}function xa(){const e=le(!1),t=Un();return t&&Tt(()=>{e.value=!0},t),e}function Ta(e){const t=xa();return oe(()=>(t.value,!!e()))}function bi(e,t={}){const{window:n=je}=t,r=Ta(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=le(!1),i=f=>{o.value=f.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Jo(()=>{r.value&&(l(),s=n.matchMedia(Ye(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return Br(()=>{c(),l(),s=void 0}),o}const cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},an="__vueuse_ssr_handlers__",Aa=Ra();function Ra(){return an in cn||(cn[an]=cn[an]||{}),cn[an]}function vi(e,t){return Aa[e]||t}function Oa(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const La={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ks="vueuse-storage";function Ma(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:u,window:h=je,eventFilter:m,onError:v=_=>{console.error(_)},initOnMounted:x}=r,O=(u?_o:le)(typeof t=="function"?t():t);if(!n)try{n=vi("getDefaultStorage",()=>{var _;return(_=je)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return O;const B=Ye(t),W=Oa(B),D=(s=r.serializer)!=null?s:La[W],{pause:p,resume:y}=Ca(O,()=>T(O.value),{flush:o,deep:i,eventFilter:m});h&&l&&Kr(()=>{xt(h,"storage",$),xt(h,ks,M),x&&$()}),x||$();function I(_,N){h&&h.dispatchEvent(new CustomEvent(ks,{detail:{key:e,oldValue:_,newValue:N,storageArea:n}}))}function T(_){try{const N=n.getItem(e);if(_==null)I(N,null),n.removeItem(e);else{const S=D.write(_);N!==S&&(n.setItem(e,S),I(N,S))}}catch(N){v(N)}}function F(_){const N=_?_.newValue:n.getItem(e);if(N==null)return c&&B!=null&&n.setItem(e,D.write(B)),B;if(!_&&f){const S=D.read(N);return typeof f=="function"?f(S,B):W==="object"&&!Array.isArray(S)?{...B,...S}:S}else return typeof N!="string"?N:D.read(N)}function $(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){O.value=B;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==D.write(O.value)&&(O.value=F(_))}catch(N){v(N)}finally{_?Nn(y):y()}}}}function M(_){$(_.detail)}return O}function wi(e){return bi("(prefers-color-scheme: dark)",e)}function Ia(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=je,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:u=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=wi({window:s}),v=oe(()=>m.value?"dark":"light"),x=c||(i==null?yi(r):Ma(i,r,o,{window:s,listenToStorageChanges:l})),O=oe(()=>x.value==="auto"?v.value:x.value),B=vi("updateHTMLAttrs",(y,I,T)=>{const F=typeof y=="string"?s==null?void 0:s.document.querySelector(y):_i(y);if(!F)return;let $;if(u&&($=s.document.createElement("style"),$.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild($)),I==="class"){const M=T.split(/\s/g);Object.values(h).flatMap(_=>(_||"").split(/\s/g)).filter(Boolean).forEach(_=>{M.includes(_)?F.classList.add(_):F.classList.remove(_)})}else F.setAttribute(I,T);u&&(s.getComputedStyle($).opacity,document.head.removeChild($))});function W(y){var I;B(t,n,(I=h[y])!=null?I:y)}function D(y){e.onChanged?e.onChanged(y,W):W(y)}Ne(O,D,{flush:"post",immediate:!0}),Kr(()=>D(O.value));const p=oe({get(){return f?x.value:O.value},set(y){x.value=y}});try{return Object.assign(p,{store:x,system:v,state:O})}catch{return p}}function Pa(e={}){const{valueDark:t="dark",valueLight:n="",window:r=je}=e,s=Ia({...e,onChanged:(l,c)=>{var f;e.onChanged?(f=e.onChanged)==null||f.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=oe(()=>s.system?s.system.value:wi({window:r}).value?"dark":"light");return oe({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function nr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Ei(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const rr=new WeakMap;function $f(e,t=!1){const n=le(t);let r=null,s="";Ne(yi(e),l=>{const c=nr(Ye(l));if(c){const f=c;if(rr.get(f)||rr.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(s=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=nr(Ye(e));!l||n.value||(Us&&(r=xt(l,"touchmove",c=>{Na(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=nr(Ye(e));!l||!n.value||(Us&&(r==null||r()),l.style.overflow=s,rr.delete(l),n.value=!1)};return Br(i),oe({get(){return n.value},set(l){l?o():i()}})}function Hf(e={}){const{window:t=je,behavior:n="auto"}=e;if(!t)return{x:le(0),y:le(0)};const r=le(t.scrollX),s=le(t.scrollY),o=oe({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=oe({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return xt(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function jf(e={}){const{window:t=je,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=le(n),l=le(r),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Kr(c),xt("resize",c,{passive:!0}),s){const f=bi("(orientation: portrait)");Ne(f,()=>c())}return{width:i,height:l}}var sr={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},or={};const Ci=/^(?:[a-z]+:|\/\/)/i,Fa="vitepress-theme-appearance",$a=/#.*$/,Ha=/[?#].*$/,ja=/(?:(^|\/)index)?\.(?:md|html)$/,de=typeof document<"u",Si={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Va(e,t,n=!1){if(t===void 0)return!1;if(e=Bs(`/${e}`),n)return new RegExp(t).test(e);if(Bs(t)!==e)return!1;const r=t.match($a);return r?(de?location.hash:"")===r[0]:!0}function Bs(e){return decodeURI(e).replace(Ha,"").replace(ja,"$1")}function Da(e){return Ci.test(e)}function Ua(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Da(n)&&Va(t,`/${n}/`,!0))||"root"}function ka(e,t){var r,s,o,i,l,c,f;const n=Ua(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ti(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function xi(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=Ba(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function Ba(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Ka(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function Ti(e,t){return[...e.filter(n=>!Ka(t,n)),...t]}const Wa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,qa=/^[a-z]:/i;function Ks(e){const t=qa.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Wa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ir=new Set;function Ga(e){if(ir.size===0){const n=typeof process=="object"&&(or==null?void 0:or.VITE_EXTRA_EXTENSIONS)||(sr==null?void 0:sr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>ir.add(r))}const t=e.split(".").pop();return t==null||!ir.has(t.toLowerCase())}const Xa=Symbol(),ut=_o(ga);function Vf(e){const t=oe(()=>ka(ut.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?le(!0):n?Pa({storageKey:Fa,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):le(!1),s=le(de?location.hash:"");return de&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Ne(()=>e.data,()=>{s.value=de?location.hash:""}),{site:t,theme:oe(()=>t.value.themeConfig),page:oe(()=>e.data),frontmatter:oe(()=>e.data.frontmatter),params:oe(()=>e.data.params),lang:oe(()=>t.value.lang),dir:oe(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:oe(()=>t.value.localeIndex||"root"),title:oe(()=>xi(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:r,hash:oe(()=>s.value)}}function Ya(){const e=Ct(Xa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function za(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ws(e){return Ci.test(e)||!e.startsWith("/")?e:za(ut.value.base,e)}function Ja(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),de){const n="/";t=Ks(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${Ks(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let mn=[];function Df(e){mn.push(e),jn(()=>{mn=mn.filter(t=>t!==e)})}function Qa(){let e=ut.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=qs(e,n);else if(Array.isArray(e))for(const r of e){const s=qs(r,n);if(s){t=s;break}}return t}function qs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Za=Symbol(),Ai="http://a.com",ef=()=>({path:"/",component:null,data:Si});function Uf(e,t){const n=In(ef()),r={route:n,go:s};async function s(l=de?location.href:"/"){var c,f;l=lr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(de&&l!==lr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((f=r.onAfterRouteChanged)==null?void 0:f.call(r,l)))}let o=null;async function i(l,c=0,f=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const u=new URL(l,Ai),h=o=u.pathname;try{let v=await e(h);if(!v)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:x,__pageData:O}=v;if(!x)throw new Error(`Invalid route component: ${x}`);n.path=de?h:Ws(h),n.component=hn(x),n.data=hn(O),de&&Nn(()=>{let B=ut.value.base+O.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ut.value.cleanUrls&&!B.endsWith("/")&&(B+=".html"),B!==u.pathname&&(u.pathname=B,l=B+u.search+u.hash,history.replaceState({},"",l)),u.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(u.hash).slice(1))}catch(D){console.warn(D)}if(W){Gs(W,u.hash);return}}window.scrollTo(0,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!f)try{const x=await fetch(ut.value.base+"hashmap.json");window.__VP_HASH_MAP__=await x.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=de?h:Ws(h),n.component=t?hn(t):null;const x=de?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Si,relativePath:x}}}}return de&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:u,origin:h,pathname:m,hash:v,search:x}=new URL(f,c.baseURI),O=new URL(location.href);h===O.origin&&Ga(m)&&(l.preventDefault(),m===O.pathname&&x===O.search?(v!==O.hash&&(history.pushState({},"",u),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:O.href,newURL:u}))),v?Gs(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(u))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(lr(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function tf(){const e=Ct(Za);if(!e)throw new Error("useRouter() is called without provider.");return e}function Ri(){return tf().route}function Gs(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(r).paddingTop,10),i=window.scrollY+r.getBoundingClientRect().top-Qa()+o;requestAnimationFrame(s)}}function lr(e){const t=new URL(e,Ai);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ut.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const cr=()=>mn.forEach(e=>e()),kf=Hr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Ri(),{site:n}=Ya();return()=>Cr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Cr(t.component,{onVnodeMounted:cr,onVnodeUpdated:cr,onVnodeUnmounted:cr}):"404 Page Not Found"])}}),Bf="/leaderboard.png",Kf="/logo.png",Wf=Hr({setup(e,{slots:t}){const n=le(!1);return Tt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function qf(){de&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(f=>f.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Gf(){if(de){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(u=>u.remove());let f=c.textContent||"";i&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),nf(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const u=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,u)})}})}}async function nf(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function Xf(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=ar(l);for(const f of document.head.children)if(f.isEqualNode(c)){r.push(f);return}});return}const i=o.map(ar);r.forEach((l,c)=>{const f=i.findIndex(u=>u==null?void 0:u.isEqualNode(l??null));f!==-1?delete i[f]:(l==null||l.remove(),delete r[c])}),i.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...i].filter(Boolean)};Jo(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],f=xi(i,o);f!==document.title&&(document.title=f);const u=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==u&&h.setAttribute("content",u):ar(["meta",{name:"description",content:u}]),s(Ti(i.head,sf(c)))})}function ar([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function rf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function sf(e){return e.filter(t=>!rf(t))}const fr=new Set,Oi=()=>document.createElement("link"),of=e=>{const t=Oi();t.rel="prefetch",t.href=e,document.head.appendChild(t)},lf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let fn;const cf=de&&(fn=Oi())&&fn.relList&&fn.relList.supports&&fn.relList.supports("prefetch")?of:lf;function Yf(){if(!de||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!fr.has(c)){fr.add(c);const f=Ja(c);f&&cf(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):fr.add(l))})})};Tt(r);const s=Ri();Ne(()=>s.path,r),jn(()=>{n&&n.disconnect()})}export{Lf as $,Cf as A,jl as B,Qa as C,pf as D,mf as E,_e as F,_o as G,Df as H,ie as I,hf as J,Nf as K,gf as L,Ci as M,Ri as N,Tc as O,Ct as P,jf as Q,On as R,Ff as S,fi as T,Nn as U,Hf as V,de as W,Pn as X,$f as Y,Jl as Z,Pf as _,ii as a,bf as a0,Lo as a1,Of as a2,vf as a3,Bf as a4,In as a5,El as a6,yf as a7,af as a8,xc as a9,tf as aA,pe as aa,Ef as ab,Cr as ac,Mf as ad,wf as ae,Hl as af,df as ag,Af as ah,ro as ai,Gi as aj,Kf as ak,Rf as al,xf as am,Xf as an,Za as ao,Vf as ap,Xa as aq,kf as ar,Wf as as,ut as at,If as au,Uf as av,Ja as aw,Yf as ax,Gf as ay,qf as az,ri as b,Sf as c,Hr as d,Tf as e,Ga as f,Ws as g,oe as h,Da as i,oi as j,vo as k,uf as l,Va as m,Ln as n,ti as o,ff as p,bi as q,_f as r,le as s,Ki as t,Ya as u,Ne as v,Ol as w,Jo as x,Tt as y,jn as z}; diff --git a/docs/assets/chunks/framework.IJS20kTW.js b/docs/assets/chunks/framework.IJS20kTW.js deleted file mode 100644 index 78f77263..00000000 --- a/docs/assets/chunks/framework.IJS20kTW.js +++ /dev/null @@ -1,17 +0,0 @@ -/** -* @vue/shared v3.4.31 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function xr(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const te={},mt=[],xe=()=>{},Li=()=>!1,Bt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sr=e=>e.startsWith("onUpdate:"),le=Object.assign,Tr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ii=Object.prototype.hasOwnProperty,Y=(e,t)=>Ii.call(e,t),k=Array.isArray,yt=e=>Tn(e)==="[object Map]",zs=e=>Tn(e)==="[object Set]",K=e=>typeof e=="function",ne=e=>typeof e=="string",Ze=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Xs=e=>(Z(e)||K(e))&&K(e.then)&&K(e.catch),Ys=Object.prototype.toString,Tn=e=>Ys.call(e),Mi=e=>Tn(e).slice(8,-1),Js=e=>Tn(e)==="[object Object]",Ar=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_t=xr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),An=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pi=/-(\w)/g,Ne=An(e=>e.replace(Pi,(t,n)=>n?n.toUpperCase():"")),Ni=/\B([A-Z])/g,ft=An(e=>e.replace(Ni,"-$1").toLowerCase()),Rn=An(e=>e.charAt(0).toUpperCase()+e.slice(1)),un=An(e=>e?`on${Rn(e)}`:""),Je=(e,t)=>!Object.is(e,t),fn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},fr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Fi=e=>{const t=ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Yr;const Zs=()=>Yr||(Yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function On(e){if(k(e)){const t={};for(let n=0;n{if(n){const r=n.split(Hi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ln(e){let t="";if(ne(e))t=e;else if(k(e))for(let n=0;n!!(e&&e.__v_isRef===!0),ki=e=>ne(e)?e:e==null?"":k(e)||Z(e)&&(e.toString===Ys||!K(e.toString))?to(e)?ki(e.value):JSON.stringify(e,no,2):String(e),no=(e,t)=>to(t)?no(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[qn(r,o)+" =>"]=s,n),{})}:zs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qn(n))}:Ze(t)?qn(t):Z(t)&&!k(t)&&!Js(t)?String(t):t,qn=(e,t="")=>{var n;return Ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.4.31 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let we;class Bi{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),tt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=ze,n=ct;try{return ze=!0,ct=this,this._runnings++,Jr(this),this.fn()}finally{Qr(this),this._runnings--,ct=n,ze=t}}stop(){this.active&&(Jr(this),Qr(this),this.onStop&&this.onStop(),this.active=!1)}}function qi(e){return e.value}function Jr(e){e._trackId++,e._depsLength=0}function Qr(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},mn=new WeakMap,at=Symbol(""),pr=Symbol("");function be(e,t,n){if(ze&&ct){let r=mn.get(e);r||mn.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=co(()=>r.delete(n))),io(ct,s)}}function je(e,t,n,r,s,o){const i=mn.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&k(e)){const c=Number(r);i.forEach((u,f)=>{(f==="length"||!Ze(f)&&f>=c)&&l.push(u)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":k(e)?Ar(n)&&l.push(i.get("length")):(l.push(i.get(at)),yt(e)&&l.push(i.get(pr)));break;case"delete":k(e)||(l.push(i.get(at)),yt(e)&&l.push(i.get(pr)));break;case"set":yt(e)&&l.push(i.get(at));break}Or();for(const c of l)c&&lo(c,4);Lr()}function Gi(e,t){const n=mn.get(e);return n&&n.get(t)}const zi=xr("__proto__,__v_isRef,__isVue"),ao=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ze)),Zr=Xi();function Xi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=J(this);for(let o=0,i=this.length;o{e[t]=function(...n){et(),Or();const r=J(this)[t].apply(this,n);return Lr(),tt(),r}}),e}function Yi(e){Ze(e)||(e=String(e));const t=J(this);return be(t,"has",e),t.hasOwnProperty(e)}class uo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?al:go:o?po:ho).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=k(t);if(!s){if(i&&Y(Zr,n))return Reflect.get(Zr,n,r);if(n==="hasOwnProperty")return Yi}const l=Reflect.get(t,n,r);return(Ze(n)?ao.has(n):zi(n))||(s||be(t,"get",n),o)?l:pe(l)?i&&Ar(n)?l:l.value:Z(l)?s?Pn(l):Mn(l):l}}class fo extends uo{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const c=Ht(o);if(!yn(r)&&!Ht(r)&&(o=J(o),r=J(r)),!k(t)&&pe(o)&&!pe(r))return c?!1:(o.value=r,!0)}const i=k(t)&&Ar(n)?Number(n)e,In=e=>Reflect.getPrototypeOf(e);function Yt(e,t,n=!1,r=!1){e=e.__v_raw;const s=J(e),o=J(t);n||(Je(t,o)&&be(s,"get",t),be(s,"get",o));const{has:i}=In(s),l=r?Ir:n?Nr:jt;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Jt(e,t=!1){const n=this.__v_raw,r=J(n),s=J(e);return t||(Je(e,s)&&be(r,"has",e),be(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Qt(e,t=!1){return e=e.__v_raw,!t&&be(J(e),"iterate",at),Reflect.get(e,"size",e)}function es(e){e=J(e);const t=J(this);return In(t).has.call(t,e)||(t.add(e),je(t,"add",e,e)),this}function ts(e,t){t=J(t);const n=J(this),{has:r,get:s}=In(n);let o=r.call(n,e);o||(e=J(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Je(t,i)&&je(n,"set",e,t):je(n,"add",e,t),this}function ns(e){const t=J(this),{has:n,get:r}=In(t);let s=n.call(t,e);s||(e=J(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&je(t,"delete",e,void 0),o}function rs(){const e=J(this),t=e.size!==0,n=e.clear();return t&&je(e,"clear",void 0,void 0),n}function Zt(e,t){return function(r,s){const o=this,i=o.__v_raw,l=J(i),c=t?Ir:e?Nr:jt;return!e&&be(l,"iterate",at),i.forEach((u,f)=>r.call(s,c(u),c(f),o))}}function en(e,t,n){return function(...r){const s=this.__v_raw,o=J(s),i=yt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,u=s[e](...r),f=n?Ir:t?Nr:jt;return!t&&be(o,"iterate",c?pr:at),{next(){const{value:h,done:m}=u.next();return m?{value:h,done:m}:{value:l?[f(h[0]),f(h[1])]:f(h),done:m}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tl(){const e={get(o){return Yt(this,o)},get size(){return Qt(this)},has:Jt,add:es,set:ts,delete:ns,clear:rs,forEach:Zt(!1,!1)},t={get(o){return Yt(this,o,!1,!0)},get size(){return Qt(this)},has:Jt,add:es,set:ts,delete:ns,clear:rs,forEach:Zt(!1,!0)},n={get(o){return Yt(this,o,!0)},get size(){return Qt(this,!0)},has(o){return Jt.call(this,o,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Zt(!0,!1)},r={get(o){return Yt(this,o,!0,!0)},get size(){return Qt(this,!0)},has(o){return Jt.call(this,o,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=en(o,!1,!1),n[o]=en(o,!0,!1),t[o]=en(o,!1,!0),r[o]=en(o,!0,!0)}),[e,n,t,r]}const[nl,rl,sl,ol]=tl();function Mr(e,t){const n=t?e?ol:sl:e?rl:nl;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Y(n,s)&&s in r?n:r,s,o)}const il={get:Mr(!1,!1)},ll={get:Mr(!1,!0)},cl={get:Mr(!0,!1)};const ho=new WeakMap,po=new WeakMap,go=new WeakMap,al=new WeakMap;function ul(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fl(e){return e.__v_skip||!Object.isExtensible(e)?0:ul(Mi(e))}function Mn(e){return Ht(e)?e:Pr(e,!1,Qi,il,ho)}function dl(e){return Pr(e,!1,el,ll,po)}function Pn(e){return Pr(e,!0,Zi,cl,go)}function Pr(e,t,n,r,s){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=fl(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Ot(e){return Ht(e)?Ot(e.__v_raw):!!(e&&e.__v_isReactive)}function Ht(e){return!!(e&&e.__v_isReadonly)}function yn(e){return!!(e&&e.__v_isShallow)}function mo(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function dn(e){return Object.isExtensible(e)&&Qs(e,"__v_skip",!0),e}const jt=e=>Z(e)?Mn(e):e,Nr=e=>Z(e)?Pn(e):e;class yo{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Rr(()=>t(this._value),()=>Lt(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=J(this);return(!t._cacheable||t.effect.dirty)&&Je(t._value,t._value=t.effect.run())&&Lt(t,4),Fr(t),t.effect._dirtyLevel>=2&&Lt(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function hl(e,t,n=!1){let r,s;const o=K(e);return o?(r=e,s=xe):(r=e.get,s=e.set),new yo(r,s,o||!s,n)}function Fr(e){var t;ze&&ct&&(e=J(e),io(ct,(t=e.dep)!=null?t:e.dep=co(()=>e.dep=void 0,e instanceof yo?e:void 0)))}function Lt(e,t=4,n,r){e=J(e);const s=e.dep;s&&lo(s,t)}function pe(e){return!!(e&&e.__v_isRef===!0)}function ie(e){return bo(e,!1)}function _o(e){return bo(e,!0)}function bo(e,t){return pe(e)?e:new pl(e,t)}class pl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:J(t),this._value=n?t:jt(t)}get value(){return Fr(this),this._value}set value(t){const n=this.__v_isShallow||yn(t)||Ht(t);t=n?t:J(t),Je(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:jt(t),Lt(this,4))}}function vo(e){return pe(e)?e.value:e}const gl={get:(e,t,n)=>vo(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return pe(s)&&!pe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function wo(e){return Ot(e)?e:new Proxy(e,gl)}class ml{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Fr(this),()=>Lt(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function yl(e){return new ml(e)}class _l{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Gi(J(this._object),this._key)}}class bl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function vl(e,t,n){return pe(e)?e:K(e)?new bl(e):Z(e)&&arguments.length>1?wl(e,t,n):ie(e)}function wl(e,t,n){const r=e[t];return pe(r)?r:new _l(e,t,n)}/** -* @vue/runtime-core v3.4.31 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Xe(e,t,n,r){try{return r?e(...r):e()}catch(s){Kt(s,t,n)}}function Se(e,t,n,r){if(K(e)){const s=Xe(e,t,n,r);return s&&Xs(s)&&s.catch(o=>{Kt(o,t,n)}),s}if(k(e)){const s=[];for(let o=0;o>>1,s=he[r],o=Dt(s);oMe&&he.splice(t,1)}function Sl(e){k(e)?bt.push(...e):(!Ke||!Ke.includes(e,e.allowRecurse?it+1:it))&&bt.push(e),Co()}function ss(e,t,n=Vt?Me+1:0){for(;nDt(n)-Dt(r));if(bt.length=0,Ke){Ke.push(...t);return}for(Ke=t,it=0;ite.id==null?1/0:e.id,Tl=(e,t)=>{const n=Dt(e)-Dt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xo(e){gr=!1,Vt=!0,he.sort(Tl);try{for(Me=0;Mene(_)?_.trim():_)),h&&(s=n.map(fr))}let l,c=r[l=un(t)]||r[l=un(Ne(t))];!c&&o&&(c=r[l=un(ft(t))]),c&&Se(c,e,6,s);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Se(u,e,6,s)}}function So(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!K(e)){const c=u=>{const f=So(u,t,!0);f&&(l=!0,le(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Z(e)&&r.set(e,null),null):(k(o)?o.forEach(c=>i[c]=null):le(i,o),Z(e)&&r.set(e,i),i)}function $n(e,t){return!e||!Bt(t)?!1:(t=t.slice(2).replace(/Once$/,""),Y(e,t[0].toLowerCase()+t.slice(1))||Y(e,ft(t))||Y(e,t))}let fe=null,Hn=null;function bn(e){const t=fe;return fe=e,Hn=e&&e.type.__scopeId||null,t}function ou(e){Hn=e}function iu(){Hn=null}function Rl(e,t=fe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&vs(-1);const o=bn(t);let i;try{i=e(...s)}finally{bn(o),r._d&&vs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Gn(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:l,emit:c,render:u,renderCache:f,props:h,data:m,setupState:_,ctx:S,inheritAttrs:I}=e,B=bn(e);let W,V;try{if(n.shapeFlag&4){const y=s||r,M=y;W=Ae(u.call(M,y,f,h,_,m,S)),V=l}else{const y=t;W=Ae(y.length>1?y(h,{attrs:l,slots:i,emit:c}):y(h,null)),V=t.props?l:Ol(l)}}catch(y){Ft.length=0,Kt(y,e,1),W=oe(me)}let p=W;if(V&&I!==!1){const y=Object.keys(V),{shapeFlag:M}=p;y.length&&M&7&&(o&&y.some(Sr)&&(V=Ll(V,o)),p=Qe(p,V,!1,!0))}return n.dirs&&(p=Qe(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&(p.transition=n.transition),W=p,bn(B),W}const Ol=e=>{let t;for(const n in e)(n==="class"||n==="style"||Bt(n))&&((t||(t={}))[n]=e[n]);return t},Ll=(e,t)=>{const n={};for(const r in e)(!Sr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Il(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:c}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?os(r,i,u):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function Ro(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):Sl(e)}function jn(e,t,n=ue,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{et();const l=qt(n),c=Se(t,n,e,i);return l(),tt(),c});return r?s.unshift(o):s.push(o),o}}const De=e=>(t,n=ue)=>{(!Gt||e==="sp")&&jn(e,(...r)=>t(...r),n)},Nl=De("bm"),xt=De("m"),Fl=De("bu"),$l=De("u"),Oo=De("bum"),Vn=De("um"),Hl=De("sp"),jl=De("rtg"),Vl=De("rtc");function Dl(e,t=ue){jn("ec",e,t)}function au(e,t){if(fe===null)return e;const n=kn(fe),r=e.dirs||(e.dirs=[]);for(let s=0;st(i,l,void 0,o));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,c=i.length;l{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}/*! #__NO_SIDE_EFFECTS__ */function jr(e,t){return K(e)?le({name:e.name},t,{setup:e}):e}const vt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function du(e){K(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:l}=e;let c=null,u,f=0;const h=()=>(f++,c=null,m()),m=()=>{let _;return c||(_=c=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),l)return new Promise((I,B)=>{l(S,()=>I(h()),()=>B(S),f+1)});throw S}).then(S=>_!==c&&c?c:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),u=S,S)))};return jr({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return u},setup(){const _=ue;if(u)return()=>zn(u,_);const S=V=>{c=null,Kt(V,_,13,!r)};if(i&&_.suspense||Gt)return m().then(V=>()=>zn(V,_)).catch(V=>(S(V),()=>r?oe(r,{error:V}):null));const I=ie(!1),B=ie(),W=ie(!!s);return s&&setTimeout(()=>{W.value=!1},s),o!=null&&setTimeout(()=>{if(!I.value&&!B.value){const V=new Error(`Async component timed out after ${o}ms.`);S(V),B.value=V}},o),m().then(()=>{I.value=!0,_.parent&&Wt(_.parent.vnode)&&(_.parent.effect.dirty=!0,Fn(_.parent.update))}).catch(V=>{S(V),B.value=V}),()=>{if(I.value&&u)return zn(u,_);if(B.value&&r)return oe(r,{error:B.value});if(n&&!W.value)return oe(n)}}})}function zn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=oe(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}function hu(e,t,n={},r,s){if(fe.isCE||fe.parent&&vt(fe.parent)&&fe.parent.isCE)return t!=="default"&&(n.name=t),oe("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Zo();const i=o&&Lo(o(n)),l=ti(_e,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Lo(e){return e.some(t=>Cn(t)?!(t.type===me||t.type===_e&&!Lo(t.children)):!0)?e:null}function pu(e,t){const n={};for(const r in e)n[/[A-Z]/.test(r)?`on:${r}`:un(r)]=e[r];return n}const mr=e=>e?oi(e)?kn(e):mr(e.parent):null,It=le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mr(e.parent),$root:e=>mr(e.root),$emit:e=>e.emit,$options:e=>Vr(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Fn(e.update)}),$nextTick:e=>e.n||(e.n=Nn.bind(e.proxy)),$watch:e=>ac.bind(e)}),Xn=(e,t)=>e!==te&&!e.__isScriptSetup&&Y(e,t),Ul={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const _=i[t];if(_!==void 0)switch(_){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Xn(r,t))return i[t]=1,r[t];if(s!==te&&Y(s,t))return i[t]=2,s[t];if((u=e.propsOptions[0])&&Y(u,t))return i[t]=3,o[t];if(n!==te&&Y(n,t))return i[t]=4,n[t];yr&&(i[t]=0)}}const f=It[t];let h,m;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&Y(n,t))return i[t]=4,n[t];if(m=c.config.globalProperties,Y(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Xn(s,t)?(s[t]=n,!0):r!==te&&Y(r,t)?(r[t]=n,!0):Y(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==te&&Y(e,i)||Xn(t,i)||(l=o[0])&&Y(l,i)||Y(r,i)||Y(It,i)||Y(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Y(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gu(){return Io().slots}function mu(){return Io().attrs}function Io(){const e=Un();return e.setupContext||(e.setupContext=li(e))}function ls(e){return k(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let yr=!0;function kl(e){const t=Vr(e),n=e.proxy,r=e.ctx;yr=!1,t.beforeCreate&&cs(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:m,beforeUpdate:_,updated:S,activated:I,deactivated:B,beforeDestroy:W,beforeUnmount:V,destroyed:p,unmounted:y,render:M,renderTracked:A,renderTriggered:F,errorCaptured:$,serverPrefetch:L,expose:w,inheritAttrs:N,components:T,directives:G,filters:re}=t;if(u&&Bl(u,r,null),i)for(const X in i){const j=i[X];K(j)&&(r[X]=j.bind(n))}if(s){const X=s.call(n,n);Z(X)&&(e.data=Mn(X))}if(yr=!0,o)for(const X in o){const j=o[X],Fe=K(j)?j.bind(n,n):K(j.get)?j.get.bind(n,n):xe,zt=!K(j)&&K(j.set)?j.set.bind(n):xe,nt=se({get:Fe,set:zt});Object.defineProperty(r,X,{enumerable:!0,configurable:!0,get:()=>nt.value,set:Oe=>nt.value=Oe})}if(l)for(const X in l)Mo(l[X],r,n,X);if(c){const X=K(c)?c.call(n):c;Reflect.ownKeys(X).forEach(j=>{Xl(j,X[j])})}f&&cs(f,e,"c");function D(X,j){k(j)?j.forEach(Fe=>X(Fe.bind(n))):j&&X(j.bind(n))}if(D(Nl,h),D(xt,m),D(Fl,_),D($l,S),D(uc,I),D(fc,B),D(Dl,$),D(Vl,A),D(jl,F),D(Oo,V),D(Vn,y),D(Hl,L),k(w))if(w.length){const X=e.exposed||(e.exposed={});w.forEach(j=>{Object.defineProperty(X,j,{get:()=>n[j],set:Fe=>n[j]=Fe})})}else e.exposed||(e.exposed={});M&&e.render===xe&&(e.render=M),N!=null&&(e.inheritAttrs=N),T&&(e.components=T),G&&(e.directives=G)}function Bl(e,t,n=xe){k(e)&&(e=_r(e));for(const r in e){const s=e[r];let o;Z(s)?"default"in s?o=wt(s.from||r,s.default,!0):o=wt(s.from||r):o=wt(s),pe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function cs(e,t,n){Se(k(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mo(e,t,n,r){const s=r.includes(".")?qo(n,r):()=>n[r];if(ne(e)){const o=t[e];K(o)&&Pe(s,o)}else if(K(e))Pe(s,e.bind(n));else if(Z(e))if(k(e))e.forEach(o=>Mo(o,t,n,r));else{const o=K(e.handler)?e.handler.bind(n):t[e.handler];K(o)&&Pe(s,o,e)}}function Vr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(u=>vn(c,u,i,!0)),vn(c,t,i)),Z(t)&&o.set(t,c),c}function vn(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&vn(e,o,n,!0),s&&s.forEach(i=>vn(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Kl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Kl={data:as,props:us,emits:us,methods:Rt,computed:Rt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Rt,directives:Rt,watch:ql,provide:as,inject:Wl};function as(e,t){return t?e?function(){return le(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function Wl(e,t){return Rt(_r(e),_r(t))}function _r(e){if(k(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(r&&r.proxy):t}}const No={},Fo=()=>Object.create(No),$o=e=>Object.getPrototypeOf(e)===No;function Yl(e,t,n,r=!1){const s={},o=Fo();e.propsDefaults=Object.create(null),Ho(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:dl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Jl(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=J(s),[c]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[m,_]=jo(h,t,!0);le(i,m),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return Z(e)&&r.set(e,mt),mt;if(k(o))for(let f=0;f-1,_[1]=I<0||S-1||Y(_,"default"))&&l.push(h)}}}const u=[i,l];return Z(e)&&r.set(e,u),u}function fs(e){return e[0]!=="$"&&!_t(e)}function ds(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function hs(e,t){return ds(e)===ds(t)}function ps(e,t){return k(t)?t.findIndex(n=>hs(n,e)):K(t)&&hs(t,e)?0:-1}const Vo=e=>e[0]==="_"||e==="$stable",Dr=e=>k(e)?e.map(Ae):[Ae(e)],Ql=(e,t,n)=>{if(t._n)return t;const r=Rl((...s)=>Dr(t(...s)),n);return r._c=!1,r},Do=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Vo(s))continue;const o=e[s];if(K(o))t[s]=Ql(s,o,r);else if(o!=null){const i=Dr(o);t[s]=()=>i}}},Uo=(e,t)=>{const n=Dr(t);e.slots.default=()=>n},Zl=(e,t)=>{const n=e.slots=Fo();if(e.vnode.shapeFlag&32){const r=t._;r?(le(n,t),Qs(n,"_",r,!0)):Do(t,n)}else t&&Uo(e,t)},ec=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=te;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(le(s,t),!n&&l===1&&delete s._):(o=!t.$stable,Do(t,s)),i=t}else t&&(Uo(e,t),i={default:1});if(o)for(const l in s)!Vo(l)&&i[l]==null&&delete s[l]};function wn(e,t,n,r,s=!1){if(k(e)){e.forEach((m,_)=>wn(m,t&&(k(t)?t[_]:t),n,r,s));return}if(vt(r)&&!s)return;const o=r.shapeFlag&4?kn(r.component):r.el,i=s?null:o,{i:l,r:c}=e,u=t&&t.r,f=l.refs===te?l.refs={}:l.refs,h=l.setupState;if(u!=null&&u!==c&&(ne(u)?(f[u]=null,Y(h,u)&&(h[u]=null)):pe(u)&&(u.value=null)),K(c))Xe(c,l,12,[i,f]);else{const m=ne(c),_=pe(c);if(m||_){const S=()=>{if(e.f){const I=m?Y(h,c)?h[c]:f[c]:c.value;s?k(I)&&Tr(I,o):k(I)?I.includes(o)||I.push(o):m?(f[c]=[o],Y(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else m?(f[c]=i,Y(h,c)&&(h[c]=i)):_&&(c.value=i,e.k&&(f[e.k]=i))};i?(S.id=-1,ye(S,n)):S()}}}let gs=!1;const pt=()=>{gs||(console.error("Hydration completed but contains mismatches."),gs=!0)},tc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",nc=e=>e.namespaceURI.includes("MathML"),tn=e=>{if(tc(e))return"svg";if(nc(e))return"mathml"},nn=e=>e.nodeType===8;function rc(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:l,insert:c,createComment:u}}=e,f=(p,y)=>{if(!y.hasChildNodes()){n(null,p,y),_n(),y._vnode=p;return}h(y.firstChild,p,null,null,null),_n(),y._vnode=p},h=(p,y,M,A,F,$=!1)=>{$=$||!!y.dynamicChildren;const L=nn(p)&&p.data==="[",w=()=>I(p,y,M,A,F,L),{type:N,ref:T,shapeFlag:G,patchFlag:re}=y;let ce=p.nodeType;y.el=p,re===-2&&($=!1,y.dynamicChildren=null);let D=null;switch(N){case Et:ce!==3?y.children===""?(c(y.el=s(""),i(p),p),D=p):D=w():(p.data!==y.children&&(pt(),p.data=y.children),D=o(p));break;case me:V(p)?(D=o(p),W(y.el=p.content.firstChild,p,M)):ce!==8||L?D=w():D=o(p);break;case Nt:if(L&&(p=o(p),ce=p.nodeType),ce===1||ce===3){D=p;const X=!y.children.length;for(let j=0;j{$=$||!!y.dynamicChildren;const{type:L,props:w,patchFlag:N,shapeFlag:T,dirs:G,transition:re}=y,ce=L==="input"||L==="option";if(ce||N!==-1){G&&Ie(y,null,M,"created");let D=!1;if(V(p)){D=Bo(A,re)&&M&&M.vnode.props&&M.vnode.props.appear;const j=p.content.firstChild;D&&re.beforeEnter(j),W(j,p,M),y.el=p=j}if(T&16&&!(w&&(w.innerHTML||w.textContent))){let j=_(p.firstChild,y,p,M,A,F,$);for(;j;){pt();const Fe=j;j=j.nextSibling,l(Fe)}}else T&8&&p.textContent!==y.children&&(pt(),p.textContent=y.children);if(w)if(ce||!$||N&48)for(const j in w)(ce&&(j.endsWith("value")||j==="indeterminate")||Bt(j)&&!_t(j)||j[0]===".")&&r(p,j,null,w[j],void 0,void 0,M);else w.onClick&&r(p,"onClick",null,w.onClick,void 0,void 0,M);let X;(X=w&&w.onVnodeBeforeMount)&&Ce(X,M,y),G&&Ie(y,null,M,"beforeMount"),((X=w&&w.onVnodeMounted)||G||D)&&Ro(()=>{X&&Ce(X,M,y),D&&re.enter(p),G&&Ie(y,null,M,"mounted")},A)}return p.nextSibling},_=(p,y,M,A,F,$,L)=>{L=L||!!y.dynamicChildren;const w=y.children,N=w.length;for(let T=0;T{const{slotScopeIds:L}=y;L&&(F=F?F.concat(L):L);const w=i(p),N=_(o(p),y,w,M,A,F,$);return N&&nn(N)&&N.data==="]"?o(y.anchor=N):(pt(),c(y.anchor=u("]"),w,N),N)},I=(p,y,M,A,F,$)=>{if(pt(),y.el=null,$){const N=B(p);for(;;){const T=o(p);if(T&&T!==N)l(T);else break}}const L=o(p),w=i(p);return l(p),n(null,y,w,L,M,A,tn(w),F),L},B=(p,y="[",M="]")=>{let A=0;for(;p;)if(p=o(p),p&&nn(p)&&(p.data===y&&A++,p.data===M)){if(A===0)return o(p);A--}return p},W=(p,y,M)=>{const A=y.parentNode;A&&A.replaceChild(p,y);let F=M;for(;F;)F.vnode.el===y&&(F.vnode.el=F.subTree.el=p),F=F.parent},V=p=>p.nodeType===1&&p.tagName.toLowerCase()==="template";return[f,h]}const ye=Ro;function sc(e){return ko(e)}function oc(e){return ko(e,rc)}function ko(e,t){const n=Zs();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:m,setScopeId:_=xe,insertStaticContent:S}=e,I=(a,d,g,b=null,v=null,x=null,O=void 0,C=null,R=!!d.dynamicChildren)=>{if(a===d)return;a&&!lt(a,d)&&(b=Xt(a),Oe(a,v,x,!0),a=null),d.patchFlag===-2&&(R=!1,d.dynamicChildren=null);const{type:E,ref:P,shapeFlag:U}=d;switch(E){case Et:B(a,d,g,b);break;case me:W(a,d,g,b);break;case Nt:a==null&&V(d,g,b,O);break;case _e:T(a,d,g,b,v,x,O,C,R);break;default:U&1?M(a,d,g,b,v,x,O,C,R):U&6?G(a,d,g,b,v,x,O,C,R):(U&64||U&128)&&E.process(a,d,g,b,v,x,O,C,R,dt)}P!=null&&v&&wn(P,a&&a.ref,x,d||a,!d)},B=(a,d,g,b)=>{if(a==null)r(d.el=l(d.children),g,b);else{const v=d.el=a.el;d.children!==a.children&&u(v,d.children)}},W=(a,d,g,b)=>{a==null?r(d.el=c(d.children||""),g,b):d.el=a.el},V=(a,d,g,b)=>{[a.el,a.anchor]=S(a.children,d,g,b,a.el,a.anchor)},p=({el:a,anchor:d},g,b)=>{let v;for(;a&&a!==d;)v=m(a),r(a,g,b),a=v;r(d,g,b)},y=({el:a,anchor:d})=>{let g;for(;a&&a!==d;)g=m(a),s(a),a=g;s(d)},M=(a,d,g,b,v,x,O,C,R)=>{d.type==="svg"?O="svg":d.type==="math"&&(O="mathml"),a==null?A(d,g,b,v,x,O,C,R):L(a,d,v,x,O,C,R)},A=(a,d,g,b,v,x,O,C)=>{let R,E;const{props:P,shapeFlag:U,transition:H,dirs:q}=a;if(R=a.el=i(a.type,x,P&&P.is,P),U&8?f(R,a.children):U&16&&$(a.children,R,null,b,v,Yn(a,x),O,C),q&&Ie(a,null,b,"created"),F(R,a,a.scopeId,O,b),P){for(const ee in P)ee!=="value"&&!_t(ee)&&o(R,ee,null,P[ee],x,a.children,b,v,$e);"value"in P&&o(R,"value",null,P.value,x),(E=P.onVnodeBeforeMount)&&Ce(E,b,a)}q&&Ie(a,null,b,"beforeMount");const z=Bo(v,H);z&&H.beforeEnter(R),r(R,d,g),((E=P&&P.onVnodeMounted)||z||q)&&ye(()=>{E&&Ce(E,b,a),z&&H.enter(R),q&&Ie(a,null,b,"mounted")},v)},F=(a,d,g,b,v)=>{if(g&&_(a,g),b)for(let x=0;x{for(let E=R;E{const C=d.el=a.el;let{patchFlag:R,dynamicChildren:E,dirs:P}=d;R|=a.patchFlag&16;const U=a.props||te,H=d.props||te;let q;if(g&&rt(g,!1),(q=H.onVnodeBeforeUpdate)&&Ce(q,g,d,a),P&&Ie(d,a,g,"beforeUpdate"),g&&rt(g,!0),E?w(a.dynamicChildren,E,C,g,b,Yn(d,v),x):O||j(a,d,C,null,g,b,Yn(d,v),x,!1),R>0){if(R&16)N(C,d,U,H,g,b,v);else if(R&2&&U.class!==H.class&&o(C,"class",null,H.class,v),R&4&&o(C,"style",U.style,H.style,v),R&8){const z=d.dynamicProps;for(let ee=0;ee{q&&Ce(q,g,d,a),P&&Ie(d,a,g,"updated")},b)},w=(a,d,g,b,v,x,O)=>{for(let C=0;C{if(g!==b){if(g!==te)for(const C in g)!_t(C)&&!(C in b)&&o(a,C,g[C],null,O,d.children,v,x,$e);for(const C in b){if(_t(C))continue;const R=b[C],E=g[C];R!==E&&C!=="value"&&o(a,C,E,R,O,d.children,v,x,$e)}"value"in b&&o(a,"value",g.value,b.value,O)}},T=(a,d,g,b,v,x,O,C,R)=>{const E=d.el=a?a.el:l(""),P=d.anchor=a?a.anchor:l("");let{patchFlag:U,dynamicChildren:H,slotScopeIds:q}=d;q&&(C=C?C.concat(q):q),a==null?(r(E,g,b),r(P,g,b),$(d.children||[],g,P,v,x,O,C,R)):U>0&&U&64&&H&&a.dynamicChildren?(w(a.dynamicChildren,H,g,v,x,O,C),(d.key!=null||v&&d===v.subTree)&&Ur(a,d,!0)):j(a,d,g,P,v,x,O,C,R)},G=(a,d,g,b,v,x,O,C,R)=>{d.slotScopeIds=C,a==null?d.shapeFlag&512?v.ctx.activate(d,g,b,O,R):re(d,g,b,v,x,O,R):ce(a,d,R)},re=(a,d,g,b,v,x,O)=>{const C=a.component=Sc(a,b,v);if(Wt(a)&&(C.ctx.renderer=dt),Tc(C),C.asyncDep){if(v&&v.registerDep(C,D,O),!a.el){const R=C.subTree=oe(me);W(null,R,d,g)}}else D(C,a,d,g,v,x,O)},ce=(a,d,g)=>{const b=d.component=a.component;if(Il(a,d,g))if(b.asyncDep&&!b.asyncResolved){X(b,d,g);return}else b.next=d,xl(b.update),b.effect.dirty=!0,b.update();else d.el=a.el,b.vnode=d},D=(a,d,g,b,v,x,O)=>{const C=()=>{if(a.isMounted){let{next:P,bu:U,u:H,parent:q,vnode:z}=a;{const ht=Ko(a);if(ht){P&&(P.el=z.el,X(a,P,O)),ht.asyncDep.then(()=>{a.isUnmounted||C()});return}}let ee=P,Q;rt(a,!1),P?(P.el=z.el,X(a,P,O)):P=z,U&&fn(U),(Q=P.props&&P.props.onVnodeBeforeUpdate)&&Ce(Q,q,P,z),rt(a,!0);const ae=Gn(a),Te=a.subTree;a.subTree=ae,I(Te,ae,h(Te.el),Xt(Te),a,v,x),P.el=ae.el,ee===null&&Ml(a,ae.el),H&&ye(H,v),(Q=P.props&&P.props.onVnodeUpdated)&&ye(()=>Ce(Q,q,P,z),v)}else{let P;const{el:U,props:H}=d,{bm:q,m:z,parent:ee}=a,Q=vt(d);if(rt(a,!1),q&&fn(q),!Q&&(P=H&&H.onVnodeBeforeMount)&&Ce(P,ee,d),rt(a,!0),U&&Wn){const ae=()=>{a.subTree=Gn(a),Wn(U,a.subTree,a,v,null)};Q?d.type.__asyncLoader().then(()=>!a.isUnmounted&&ae()):ae()}else{const ae=a.subTree=Gn(a);I(null,ae,g,b,a,v,x),d.el=ae.el}if(z&&ye(z,v),!Q&&(P=H&&H.onVnodeMounted)){const ae=d;ye(()=>Ce(P,ee,ae),v)}(d.shapeFlag&256||ee&&vt(ee.vnode)&&ee.vnode.shapeFlag&256)&&a.a&&ye(a.a,v),a.isMounted=!0,d=g=b=null}},R=a.effect=new Rr(C,xe,()=>Fn(E),a.scope),E=a.update=()=>{R.dirty&&R.run()};E.id=a.uid,rt(a,!0),E()},X=(a,d,g)=>{d.component=a;const b=a.vnode.props;a.vnode=d,a.next=null,Jl(a,d.props,b,g),ec(a,d.children,g),et(),ss(a),tt()},j=(a,d,g,b,v,x,O,C,R=!1)=>{const E=a&&a.children,P=a?a.shapeFlag:0,U=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){zt(E,U,g,b,v,x,O,C,R);return}else if(H&256){Fe(E,U,g,b,v,x,O,C,R);return}}q&8?(P&16&&$e(E,v,x),U!==E&&f(g,U)):P&16?q&16?zt(E,U,g,b,v,x,O,C,R):$e(E,v,x,!0):(P&8&&f(g,""),q&16&&$(U,g,b,v,x,O,C,R))},Fe=(a,d,g,b,v,x,O,C,R)=>{a=a||mt,d=d||mt;const E=a.length,P=d.length,U=Math.min(E,P);let H;for(H=0;HP?$e(a,v,x,!0,!1,U):$(d,g,b,v,x,O,C,R,U)},zt=(a,d,g,b,v,x,O,C,R)=>{let E=0;const P=d.length;let U=a.length-1,H=P-1;for(;E<=U&&E<=H;){const q=a[E],z=d[E]=R?qe(d[E]):Ae(d[E]);if(lt(q,z))I(q,z,g,null,v,x,O,C,R);else break;E++}for(;E<=U&&E<=H;){const q=a[U],z=d[H]=R?qe(d[H]):Ae(d[H]);if(lt(q,z))I(q,z,g,null,v,x,O,C,R);else break;U--,H--}if(E>U){if(E<=H){const q=H+1,z=qH)for(;E<=U;)Oe(a[E],v,x,!0),E++;else{const q=E,z=E,ee=new Map;for(E=z;E<=H;E++){const ve=d[E]=R?qe(d[E]):Ae(d[E]);ve.key!=null&&ee.set(ve.key,E)}let Q,ae=0;const Te=H-z+1;let ht=!1,Gr=0;const St=new Array(Te);for(E=0;E=Te){Oe(ve,v,x,!0);continue}let Le;if(ve.key!=null)Le=ee.get(ve.key);else for(Q=z;Q<=H;Q++)if(St[Q-z]===0&<(ve,d[Q])){Le=Q;break}Le===void 0?Oe(ve,v,x,!0):(St[Le-z]=E+1,Le>=Gr?Gr=Le:ht=!0,I(ve,d[Le],g,null,v,x,O,C,R),ae++)}const zr=ht?ic(St):mt;for(Q=zr.length-1,E=Te-1;E>=0;E--){const ve=z+E,Le=d[ve],Xr=ve+1{const{el:x,type:O,transition:C,children:R,shapeFlag:E}=a;if(E&6){nt(a.component.subTree,d,g,b);return}if(E&128){a.suspense.move(d,g,b);return}if(E&64){O.move(a,d,g,dt);return}if(O===_e){r(x,d,g);for(let U=0;UC.enter(x),v);else{const{leave:U,delayLeave:H,afterLeave:q}=C,z=()=>r(x,d,g),ee=()=>{U(x,()=>{z(),q&&q()})};H?H(x,z,ee):ee()}else r(x,d,g)},Oe=(a,d,g,b=!1,v=!1)=>{const{type:x,props:O,ref:C,children:R,dynamicChildren:E,shapeFlag:P,patchFlag:U,dirs:H,memoIndex:q}=a;if(U===-2&&(v=!1),C!=null&&wn(C,null,g,a,!0),q!=null&&(d.renderCache[q]=void 0),P&256){d.ctx.deactivate(a);return}const z=P&1&&H,ee=!vt(a);let Q;if(ee&&(Q=O&&O.onVnodeBeforeUnmount)&&Ce(Q,d,a),P&6)Oi(a.component,g,b);else{if(P&128){a.suspense.unmount(g,b);return}z&&Ie(a,null,d,"beforeUnmount"),P&64?a.type.remove(a,d,g,dt,b):E&&(x!==_e||U>0&&U&64)?$e(E,d,g,!1,!0):(x===_e&&U&384||!v&&P&16)&&$e(R,d,g),b&&Wr(a)}(ee&&(Q=O&&O.onVnodeUnmounted)||z)&&ye(()=>{Q&&Ce(Q,d,a),z&&Ie(a,null,d,"unmounted")},g)},Wr=a=>{const{type:d,el:g,anchor:b,transition:v}=a;if(d===_e){Ri(g,b);return}if(d===Nt){y(a);return}const x=()=>{s(g),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(a.shapeFlag&1&&v&&!v.persisted){const{leave:O,delayLeave:C}=v,R=()=>O(g,x);C?C(a.el,x,R):R()}else x()},Ri=(a,d)=>{let g;for(;a!==d;)g=m(a),s(a),a=g;s(d)},Oi=(a,d,g)=>{const{bum:b,scope:v,update:x,subTree:O,um:C,m:R,a:E}=a;ms(R),ms(E),b&&fn(b),v.stop(),x&&(x.active=!1,Oe(O,a,d,g)),C&&ye(C,d),ye(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},$e=(a,d,g,b=!1,v=!1,x=0)=>{for(let O=x;Oa.shapeFlag&6?Xt(a.component.subTree):a.shapeFlag&128?a.suspense.next():m(a.anchor||a.el);let Bn=!1;const qr=(a,d,g)=>{a==null?d._vnode&&Oe(d._vnode,null,null,!0):I(d._vnode||null,a,d,null,null,null,g),Bn||(Bn=!0,ss(),_n(),Bn=!1),d._vnode=a},dt={p:I,um:Oe,m:nt,r:Wr,mt:re,mc:$,pc:j,pbc:w,n:Xt,o:e};let Kn,Wn;return t&&([Kn,Wn]=t(dt)),{render:qr,hydrate:Kn,createApp:zl(qr,Kn)}}function Yn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Bo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ur(e,t,n=!1){const r=e.children,s=t.children;if(k(r)&&k(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Ko(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ko(t)}function ms(e){if(e)for(let t=0;twt(lc);function Wo(e,t){return Dn(e,null,t)}function yu(e,t){return Dn(e,null,{flush:"post"})}const rn={};function Pe(e,t,n){return Dn(e,t,n)}function Dn(e,t,{immediate:n,deep:r,flush:s,once:o,onTrack:i,onTrigger:l}=te){if(t&&o){const A=t;t=(...F)=>{A(...F),M()}}const c=ue,u=A=>r===!0?A:Ge(A,r===!1?1:void 0);let f,h=!1,m=!1;if(pe(e)?(f=()=>e.value,h=yn(e)):Ot(e)?(f=()=>u(e),h=!0):k(e)?(m=!0,h=e.some(A=>Ot(A)||yn(A)),f=()=>e.map(A=>{if(pe(A))return A.value;if(Ot(A))return u(A);if(K(A))return Xe(A,c,2)})):K(e)?t?f=()=>Xe(e,c,2):f=()=>(_&&_(),Se(e,c,3,[S])):f=xe,t&&r){const A=f;f=()=>Ge(A())}let _,S=A=>{_=p.onStop=()=>{Xe(A,c,4),_=p.onStop=void 0}},I;if(Gt)if(S=xe,t?n&&Se(t,c,3,[f(),m?[]:void 0,S]):f(),s==="sync"){const A=cc();I=A.__watcherHandles||(A.__watcherHandles=[])}else return xe;let B=m?new Array(e.length).fill(rn):rn;const W=()=>{if(!(!p.active||!p.dirty))if(t){const A=p.run();(r||h||(m?A.some((F,$)=>Je(F,B[$])):Je(A,B)))&&(_&&_(),Se(t,c,3,[A,B===rn?void 0:m&&B[0]===rn?[]:B,S]),B=A)}else p.run()};W.allowRecurse=!!t;let V;s==="sync"?V=W:s==="post"?V=()=>ye(W,c&&c.suspense):(W.pre=!0,c&&(W.id=c.uid),V=()=>Fn(W));const p=new Rr(f,xe,V),y=ro(),M=()=>{p.stop(),y&&Tr(y.effects,p)};return t?n?W():B=p.run():s==="post"?ye(p.run.bind(p),c&&c.suspense):p.run(),I&&I.push(M),M}function ac(e,t,n){const r=this.proxy,s=ne(e)?e.includes(".")?qo(r,e):()=>r[e]:e.bind(r,r);let o;K(t)?o=t:(o=t.handler,n=t);const i=qt(this),l=Dn(s,o.bind(r),n);return i(),l}function qo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Ge(r,t,n)});else if(Js(e)){for(const r in e)Ge(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ge(e[r],t,n)}return e}const Wt=e=>e.type.__isKeepAlive;function uc(e,t){Go(e,"a",t)}function fc(e,t){Go(e,"da",t)}function Go(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(jn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Wt(s.parent.vnode)&&dc(r,t,n,s),s=s.parent}}function dc(e,t,n,r){const s=jn(t,e,r,!0);Vn(()=>{Tr(r[t],s)},n)}const We=Symbol("_leaveCb"),sn=Symbol("_enterCb");function hc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xt(()=>{e.isMounted=!0}),Oo(()=>{e.isUnmounting=!0}),e}const Ee=[Function,Array],zo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ee,onEnter:Ee,onAfterEnter:Ee,onEnterCancelled:Ee,onBeforeLeave:Ee,onLeave:Ee,onAfterLeave:Ee,onLeaveCancelled:Ee,onBeforeAppear:Ee,onAppear:Ee,onAfterAppear:Ee,onAppearCancelled:Ee},Xo=e=>{const t=e.subTree;return t.component?Xo(t.component):t},pc={name:"BaseTransition",props:zo,setup(e,{slots:t}){const n=Un(),r=hc();return()=>{const s=t.default&&Jo(t.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const m of s)if(m.type!==me){o=m;break}}const i=J(e),{mode:l}=i;if(r.isLeaving)return Jn(o);const c=ys(o);if(!c)return Jn(o);let u=vr(c,i,r,n,m=>u=m);En(c,u);const f=n.subTree,h=f&&ys(f);if(h&&h.type!==me&&!lt(c,h)&&Xo(n).type!==me){const m=vr(h,i,r,n);if(En(h,m),l==="out-in"&&c.type!==me)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Jn(o);l==="in-out"&&c.type!==me&&(m.delayLeave=(_,S,I)=>{const B=Yo(r,h);B[String(h.key)]=h,_[We]=()=>{S(),_[We]=void 0,delete u.delayedLeave},u.delayedLeave=I})}return o}}},gc=pc;function Yo(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function vr(e,t,n,r,s){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:m,onLeave:_,onAfterLeave:S,onLeaveCancelled:I,onBeforeAppear:B,onAppear:W,onAfterAppear:V,onAppearCancelled:p}=t,y=String(e.key),M=Yo(n,e),A=(L,w)=>{L&&Se(L,r,9,w)},F=(L,w)=>{const N=w[1];A(L,w),k(L)?L.every(T=>T.length<=1)&&N():L.length<=1&&N()},$={mode:i,persisted:l,beforeEnter(L){let w=c;if(!n.isMounted)if(o)w=B||c;else return;L[We]&&L[We](!0);const N=M[y];N&<(e,N)&&N.el[We]&&N.el[We](),A(w,[L])},enter(L){let w=u,N=f,T=h;if(!n.isMounted)if(o)w=W||u,N=V||f,T=p||h;else return;let G=!1;const re=L[sn]=ce=>{G||(G=!0,ce?A(T,[L]):A(N,[L]),$.delayedLeave&&$.delayedLeave(),L[sn]=void 0)};w?F(w,[L,re]):re()},leave(L,w){const N=String(e.key);if(L[sn]&&L[sn](!0),n.isUnmounting)return w();A(m,[L]);let T=!1;const G=L[We]=re=>{T||(T=!0,w(),re?A(I,[L]):A(S,[L]),L[We]=void 0,M[N]===e&&delete M[N])};M[N]=e,_?F(_,[L,G]):G()},clone(L){const w=vr(L,t,n,r,s);return s&&s(w),w}};return $}function Jn(e){if(Wt(e))return e=Qe(e),e.children=null,e}function ys(e){if(!Wt(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function En(e,t){e.shapeFlag&6&&e.component?En(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Jo(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;oe.__isTeleport,Pt=e=>e&&(e.disabled||e.disabled===""),_s=e=>typeof SVGElement<"u"&&e instanceof SVGElement,bs=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,wr=(e,t)=>{const n=e&&e.to;return ne(n)?t?t(n):null:n},yc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,l,c,u){const{mc:f,pc:h,pbc:m,o:{insert:_,querySelector:S,createText:I,createComment:B}}=u,W=Pt(t.props);let{shapeFlag:V,children:p,dynamicChildren:y}=t;if(e==null){const M=t.el=I(""),A=t.anchor=I("");_(M,n,r),_(A,n,r);const F=t.target=wr(t.props,S),$=t.targetAnchor=I("");F&&(_($,F),i==="svg"||_s(F)?i="svg":(i==="mathml"||bs(F))&&(i="mathml"));const L=(w,N)=>{V&16&&f(p,w,N,s,o,i,l,c)};W?L(n,A):F&&L(F,$)}else{t.el=e.el;const M=t.anchor=e.anchor,A=t.target=e.target,F=t.targetAnchor=e.targetAnchor,$=Pt(e.props),L=$?n:A,w=$?M:F;if(i==="svg"||_s(A)?i="svg":(i==="mathml"||bs(A))&&(i="mathml"),y?(m(e.dynamicChildren,y,L,s,o,i,l),Ur(e,t,!0)):c||h(e,t,L,w,s,o,i,l,!1),W)$?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):on(t,n,M,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=wr(t.props,S);N&&on(t,N,null,u,0)}else $&&on(t,A,F,u,1)}Qo(t)},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:i,children:l,anchor:c,targetAnchor:u,target:f,props:h}=e;if(f&&s(u),o&&s(c),i&16){const m=o||!Pt(h);for(let _=0;_0?Re||mt:null,bc(),Ut>0&&Re&&Re.push(e),e}function bu(e,t,n,r,s,o){return ei(ri(e,t,n,r,s,o,!0))}function ti(e,t,n,r,s){return ei(oe(e,t,n,r,s,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const ni=({key:e})=>e??null,hn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||pe(e)||K(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function ri(e,t=null,n=null,r=0,s=null,o=e===_e?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ni(t),ref:t&&hn(t),scopeId:Hn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:fe};return l?(kr(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ne(n)?8:16),Ut>0&&!i&&Re&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Re.push(c),c}const oe=vc;function vc(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===To)&&(e=me),Cn(e)){const l=Qe(e,t,!0);return n&&kr(l,n),Ut>0&&!o&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag=-2,l}if(Lc(e)&&(e=e.__vccOpts),t){t=wc(t);let{class:l,style:c}=t;l&&!ne(l)&&(t.class=Ln(l)),Z(c)&&(mo(c)&&!k(c)&&(c=le({},c)),t.style=On(c))}const i=ne(e)?1:Pl(e)?128:mc(e)?64:Z(e)?4:K(e)?2:0;return ri(e,t,n,r,s,i,o,!0)}function wc(e){return e?mo(e)||$o(e)?le({},e):e:null}function Qe(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:l,transition:c}=e,u=t?Ec(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ni(u),ref:t&&t.ref?n&&o?k(o)?o.concat(hn(t)):[o,hn(t)]:hn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qe(e.ssContent),ssFallback:e.ssFallback&&Qe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&En(f,c.clone(f)),f}function si(e=" ",t=0){return oe(Et,null,e,t)}function vu(e,t){const n=oe(Nt,null,e);return n.staticCount=t,n}function wu(e="",t=!1){return t?(Zo(),ti(me,null,e)):oe(me,null,e)}function Ae(e){return e==null||typeof e=="boolean"?oe(me):k(e)?oe(_e,null,e.slice()):typeof e=="object"?qe(e):oe(Et,null,String(e))}function qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qe(e)}function kr(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),kr(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!$o(t)?t._ctx=fe:s===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),r&64?(n=16,t=[si(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ec(...e){const t={};for(let n=0;nue||fe;let xn,Er;{const e=Zs(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};xn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Er=t("__VUE_SSR_SETTERS__",n=>Gt=n)}const qt=e=>{const t=ue;return xn(e),e.scope.on(),()=>{e.scope.off(),xn(t)}},ws=()=>{ue&&ue.scope.off(),xn(null)};function oi(e){return e.vnode.shapeFlag&4}let Gt=!1;function Tc(e,t=!1){t&&Er(t);const{props:n,children:r}=e.vnode,s=oi(e);Yl(e,n,s,t),Zl(e,r);const o=s?Ac(e,t):void 0;return t&&Er(!1),o}function Ac(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Ul);const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?li(e):null,o=qt(e);et();const i=Xe(r,e,0,[e.props,s]);if(tt(),o(),Xs(i)){if(i.then(ws,ws),t)return i.then(l=>{Es(e,l,t)}).catch(l=>{Kt(l,e,0)});e.asyncDep=i}else Es(e,i,t)}else ii(e,t)}function Es(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=wo(t)),ii(e,n)}let Cs;function ii(e,t,n){const r=e.type;if(!e.render){if(!t&&Cs&&!r.render){const s=r.template||Vr(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,u=le(le({isCustomElement:o,delimiters:l},i),c);r.render=Cs(s,u)}}e.render=r.render||xe}{const s=qt(e);et();try{kl(e)}finally{tt(),s()}}}const Rc={get(e,t){return be(e,"get",""),e[t]}};function li(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Rc),slots:e.slots,emit:e.emit,expose:t}}function kn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wo(dn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in It)return It[n](e)},has(t,n){return n in t||n in It}})):e.proxy}function Oc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Lc(e){return K(e)&&"__vccOpts"in e}const se=(e,t)=>hl(e,t,Gt);function Cr(e,t,n){const r=arguments.length;return r===2?Z(t)&&!k(t)?Cn(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),oe(e,t,n))}const Ic="3.4.31";/** -* @vue/runtime-dom v3.4.31 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const Mc="http://www.w3.org/2000/svg",Pc="http://www.w3.org/1998/Math/MathML",He=typeof document<"u"?document:null,xs=He&&He.createElement("template"),Nc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?He.createElementNS(Mc,e):t==="mathml"?He.createElementNS(Pc,e):n?He.createElement(e,{is:n}):He.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>He.createTextNode(e),createComment:e=>He.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>He.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{xs.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const l=xs.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ke="transition",Tt="animation",kt=Symbol("_vtc"),ci=(e,{slots:t})=>Cr(gc,Fc(e),t);ci.displayName="Transition";const ai={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ci.props=le({},zo,ai);const st=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ss=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Fc(e){const t={};for(const T in e)T in ai||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:u=i,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,S=$c(s),I=S&&S[0],B=S&&S[1],{onBeforeEnter:W,onEnter:V,onEnterCancelled:p,onLeave:y,onLeaveCancelled:M,onBeforeAppear:A=W,onAppear:F=V,onAppearCancelled:$=p}=t,L=(T,G,re)=>{ot(T,G?f:l),ot(T,G?u:i),re&&re()},w=(T,G)=>{T._isLeaving=!1,ot(T,h),ot(T,_),ot(T,m),G&&G()},N=T=>(G,re)=>{const ce=T?F:V,D=()=>L(G,T,re);st(ce,[G,D]),Ts(()=>{ot(G,T?c:o),Be(G,T?f:l),Ss(ce)||As(G,r,I,D)})};return le(t,{onBeforeEnter(T){st(W,[T]),Be(T,o),Be(T,i)},onBeforeAppear(T){st(A,[T]),Be(T,c),Be(T,u)},onEnter:N(!1),onAppear:N(!0),onLeave(T,G){T._isLeaving=!0;const re=()=>w(T,G);Be(T,h),Be(T,m),Vc(),Ts(()=>{T._isLeaving&&(ot(T,h),Be(T,_),Ss(y)||As(T,r,B,re))}),st(y,[T,re])},onEnterCancelled(T){L(T,!1),st(p,[T])},onAppearCancelled(T){L(T,!0),st($,[T])},onLeaveCancelled(T){w(T),st(M,[T])}})}function $c(e){if(e==null)return null;if(Z(e))return[Qn(e.enter),Qn(e.leave)];{const t=Qn(e);return[t,t]}}function Qn(e){return Fi(e)}function Be(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[kt]||(e[kt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[kt];n&&(n.delete(t),n.size||(e[kt]=void 0))}function Ts(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Hc=0;function As(e,t,n,r){const s=e._endId=++Hc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=jc(e,t);if(!i)return r();const u=i+"end";let f=0;const h=()=>{e.removeEventListener(u,m),o()},m=_=>{_.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[S]||"").split(", "),s=r(`${ke}Delay`),o=r(`${ke}Duration`),i=Rs(s,o),l=r(`${Tt}Delay`),c=r(`${Tt}Duration`),u=Rs(l,c);let f=null,h=0,m=0;t===ke?i>0&&(f=ke,h=i,m=o.length):t===Tt?u>0&&(f=Tt,h=u,m=c.length):(h=Math.max(i,u),f=h>0?i>u?ke:Tt:null,m=f?f===ke?o.length:c.length:0);const _=f===ke&&/\b(transform|all)(,|$)/.test(r(`${ke}Property`).toString());return{type:f,timeout:h,propCount:m,hasTransform:_}}function Rs(e,t){for(;e.lengthOs(n)+Os(e[r])))}function Os(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Vc(){return document.body.offsetHeight}function Dc(e,t,n){const r=e[kt];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Sn=Symbol("_vod"),ui=Symbol("_vsh"),Eu={beforeMount(e,{value:t},{transition:n}){e[Sn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):At(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),At(e,!0),r.enter(e)):r.leave(e,()=>{At(e,!1)}):At(e,t))},beforeUnmount(e,{value:t}){At(e,t)}};function At(e,t){e.style.display=t?e[Sn]:"none",e[ui]=!t}const Uc=Symbol(""),kc=/(^|;)\s*display\s*:/;function Bc(e,t,n){const r=e.style,s=ne(n);let o=!1;if(n&&!s){if(t)if(ne(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&pn(r,l,"")}else for(const i in t)n[i]==null&&pn(r,i,"");for(const i in n)i==="display"&&(o=!0),pn(r,i,n[i])}else if(s){if(t!==n){const i=r[Uc];i&&(n+=";"+i),r.cssText=n,o=kc.test(n)}}else t&&e.removeAttribute("style");Sn in e&&(e[Sn]=o?r.display:"",e[ui]&&(r.display="none"))}const Ls=/\s*!important$/;function pn(e,t,n){if(k(n))n.forEach(r=>pn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Kc(e,t);Ls.test(n)?e.setProperty(ft(r),n.replace(Ls,""),"important"):e[r]=n}}const Is=["Webkit","Moz","ms"],Zn={};function Kc(e,t){const n=Zn[t];if(n)return n;let r=Ne(t);if(r!=="filter"&&r in e)return Zn[t]=r;r=Rn(r);for(let s=0;ser||(Xc.then(()=>er=0),er=Date.now());function Jc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Se(Qc(r,n.value),t,5,[r])};return n.value=e,n.attached=Yc(),n}function Qc(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const $s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zc=(e,t,n,r,s,o,i,l,c)=>{const u=s==="svg";t==="class"?Dc(e,r,u):t==="style"?Bc(e,n,r):Bt(t)?Sr(t)||Gc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ea(e,t,r,u))?(Wc(e,t,r,o,i,l,c),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ps(e,t,r,u,i,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Ps(e,t,r,u))};function ea(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&$s(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return $s(t)&&ne(n)?!1:t in e}const Hs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>fn(t,n):t};function ta(e){e.target.composing=!0}function js(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const tr=Symbol("_assign"),Cu={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[tr]=Hs(s);const o=r||s.props&&s.props.type==="number";gt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=fr(l)),e[tr](l)}),n&>(e,"change",()=>{e.value=e.value.trim()}),t||(gt(e,"compositionstart",ta),gt(e,"compositionend",js),gt(e,"change",js))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[tr]=Hs(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?fr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},na=["ctrl","shift","alt","meta"],ra={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>na.some(n=>e[`${n}Key`]&&!t.includes(n))},xu=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=ft(s.key);if(t.some(i=>i===o||sa[i]===o))return e(s)})},fi=le({patchProp:Zc},Nc);let $t,Vs=!1;function oa(){return $t||($t=sc(fi))}function ia(){return $t=Vs?$t:oc(fi),Vs=!0,$t}const Tu=(...e)=>{oa().render(...e)},Au=(...e)=>{const t=ia().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=ca(r);if(s)return n(s,!0,la(s))},t};function la(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ca(e){return ne(e)?document.querySelector(e):e}const Ru=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},aa="modulepreload",ua=function(e){return"/"+e},Ds={},Ou=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=ua(l),l in Ds)return;Ds[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":aa,c||(f.as="script",f.crossOrigin=""),f.href=l,i&&f.setAttribute("nonce",i),document.head.appendChild(f),c)return new Promise((h,m)=>{f.addEventListener("load",h),f.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},fa=window.__VP_SITE_DATA__;function Br(e){return ro()?(Wi(e),!0):!1}function Ye(e){return typeof e=="function"?e():vo(e)}const di=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const da=Object.prototype.toString,ha=e=>da.call(e)==="[object Object]",hi=()=>{},Us=pa();function pa(){var e,t;return di&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function ga(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const pi=e=>e();function ma(e=pi){const t=ie(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Pn(t),pause:n,resume:r,eventFilter:s}}function ya(e){return Un()}function gi(...e){if(e.length!==1)return vl(...e);const t=e[0];return typeof t=="function"?Pn(yl(()=>({get:t,set:hi}))):ie(t)}function _a(e,t,n={}){const{eventFilter:r=pi,...s}=n;return Pe(e,ga(r,t),s)}function ba(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:o,pause:i,resume:l,isActive:c}=ma(r);return{stop:_a(e,t,{...s,eventFilter:o}),pause:i,resume:l,isActive:c}}function Kr(e,t=!0,n){ya()?xt(e,n):t?e():Nn(e)}function mi(e){var t;const n=Ye(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Ve=di?window:void 0;function Ct(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Ve):[t,n,r,s]=e,!t)return hi;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(f=>f()),o.length=0},l=(f,h,m,_)=>(f.addEventListener(h,m,_),()=>f.removeEventListener(h,m,_)),c=Pe(()=>[mi(t),Ye(s)],([f,h])=>{if(i(),!f)return;const m=ha(h)?{...h}:h;o.push(...n.flatMap(_=>r.map(S=>l(f,_,S,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return Br(u),u}function va(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Lu(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Ve,eventName:o="keydown",passive:i=!1,dedupe:l=!1}=r,c=va(t);return Ct(s,o,f=>{f.repeat&&Ye(l)||c(f)&&n(f)},i)}function wa(){const e=ie(!1),t=Un();return t&&xt(()=>{e.value=!0},t),e}function Ea(e){const t=wa();return se(()=>(t.value,!!e()))}function yi(e,t={}){const{window:n=Ve}=t,r=Ea(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=ie(!1),i=u=>{o.value=u.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",i):s.removeListener(i))},c=Wo(()=>{r.value&&(l(),s=n.matchMedia(Ye(e)),"addEventListener"in s?s.addEventListener("change",i):s.addListener(i),o.value=s.matches)});return Br(()=>{c(),l(),s=void 0}),o}const ln=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},cn="__vueuse_ssr_handlers__",Ca=xa();function xa(){return cn in ln||(ln[cn]=ln[cn]||{}),ln[cn]}function _i(e,t){return Ca[e]||t}function Sa(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ta={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ks="vueuse-storage";function Aa(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:f,window:h=Ve,eventFilter:m,onError:_=w=>{console.error(w)},initOnMounted:S}=r,I=(f?_o:ie)(typeof t=="function"?t():t);if(!n)try{n=_i("getDefaultStorage",()=>{var w;return(w=Ve)==null?void 0:w.localStorage})()}catch(w){_(w)}if(!n)return I;const B=Ye(t),W=Sa(B),V=(s=r.serializer)!=null?s:Ta[W],{pause:p,resume:y}=ba(I,()=>A(I.value),{flush:o,deep:i,eventFilter:m});h&&l&&Kr(()=>{Ct(h,"storage",$),Ct(h,ks,L),S&&$()}),S||$();function M(w,N){h&&h.dispatchEvent(new CustomEvent(ks,{detail:{key:e,oldValue:w,newValue:N,storageArea:n}}))}function A(w){try{const N=n.getItem(e);if(w==null)M(N,null),n.removeItem(e);else{const T=V.write(w);N!==T&&(n.setItem(e,T),M(N,T))}}catch(N){_(N)}}function F(w){const N=w?w.newValue:n.getItem(e);if(N==null)return c&&B!=null&&n.setItem(e,V.write(B)),B;if(!w&&u){const T=V.read(N);return typeof u=="function"?u(T,B):W==="object"&&!Array.isArray(T)?{...B,...T}:T}else return typeof N!="string"?N:V.read(N)}function $(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){I.value=B;return}if(!(w&&w.key!==e)){p();try{(w==null?void 0:w.newValue)!==V.write(I.value)&&(I.value=F(w))}catch(N){_(N)}finally{w?Nn(y):y()}}}}function L(w){$(w.detail)}return I}function bi(e){return yi("(prefers-color-scheme: dark)",e)}function Ra(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:s=Ve,storage:o,storageKey:i="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},m=bi({window:s}),_=se(()=>m.value?"dark":"light"),S=c||(i==null?gi(r):Aa(i,r,o,{window:s,listenToStorageChanges:l})),I=se(()=>S.value==="auto"?_.value:S.value),B=_i("updateHTMLAttrs",(y,M,A)=>{const F=typeof y=="string"?s==null?void 0:s.document.querySelector(y):mi(y);if(!F)return;let $;if(f&&($=s.document.createElement("style"),$.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild($)),M==="class"){const L=A.split(/\s/g);Object.values(h).flatMap(w=>(w||"").split(/\s/g)).filter(Boolean).forEach(w=>{L.includes(w)?F.classList.add(w):F.classList.remove(w)})}else F.setAttribute(M,A);f&&(s.getComputedStyle($).opacity,document.head.removeChild($))});function W(y){var M;B(t,n,(M=h[y])!=null?M:y)}function V(y){e.onChanged?e.onChanged(y,W):W(y)}Pe(I,V,{flush:"post",immediate:!0}),Kr(()=>V(I.value));const p=se({get(){return u?S.value:I.value},set(y){S.value=y}});try{return Object.assign(p,{store:S,system:_,state:I})}catch{return p}}function Oa(e={}){const{valueDark:t="dark",valueLight:n="",window:r=Ve}=e,s=Ra({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),o=se(()=>s.system?s.system.value:bi({window:r}).value?"dark":"light");return se({get(){return s.value==="dark"},set(l){const c=l?"dark":"light";o.value===c?s.value="auto":s.value=c}})}function nr(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function vi(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const rr=new WeakMap;function Iu(e,t=!1){const n=ie(t);let r=null,s="";Pe(gi(e),l=>{const c=nr(Ye(l));if(c){const u=c;if(rr.get(u)||rr.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(s=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const o=()=>{const l=nr(Ye(e));!l||n.value||(Us&&(r=Ct(l,"touchmove",c=>{La(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},i=()=>{const l=nr(Ye(e));!l||!n.value||(Us&&(r==null||r()),l.style.overflow=s,rr.delete(l),n.value=!1)};return Br(i),se({get(){return n.value},set(l){l?o():i()}})}function Mu(e={}){const{window:t=Ve,behavior:n="auto"}=e;if(!t)return{x:ie(0),y:ie(0)};const r=ie(t.scrollX),s=ie(t.scrollY),o=se({get(){return r.value},set(l){scrollTo({left:l,behavior:n})}}),i=se({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Ct(t,"scroll",()=>{r.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:o,y:i}}function Pu(e={}){const{window:t=Ve,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=ie(n),l=ie(r),c=()=>{t&&(o?(i.value=t.innerWidth,l.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};if(c(),Kr(c),Ct("resize",c,{passive:!0}),s){const u=yi("(orientation: portrait)");Pe(u,()=>c())}return{width:i,height:l}}var sr={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1},or={};const wi=/^(?:[a-z]+:|\/\/)/i,Ia="vitepress-theme-appearance",Ma=/#.*$/,Pa=/[?#].*$/,Na=/(?:(^|\/)index)?\.(?:md|html)$/,de=typeof document<"u",Ei={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Fa(e,t,n=!1){if(t===void 0)return!1;if(e=Bs(`/${e}`),n)return new RegExp(t).test(e);if(Bs(t)!==e)return!1;const r=t.match(Ma);return r?(de?location.hash:"")===r[0]:!0}function Bs(e){return decodeURI(e).replace(Pa,"").replace(Na,"$1")}function $a(e){return wi.test(e)}function Ha(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!$a(n)&&Fa(t,`/${n}/`,!0))||"root"}function ja(e,t){var r,s,o,i,l,c,u;const n=Ha(e,t);return Object.assign({},e,{localeIndex:n,lang:((r=e.locales[n])==null?void 0:r.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((o=e.locales[n])==null?void 0:o.title)??e.title,titleTemplate:((i=e.locales[n])==null?void 0:i.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:xi(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function Ci(e,t){const n=t.title||e.title,r=t.titleTemplate??e.titleTemplate;if(typeof r=="string"&&r.includes(":title"))return r.replace(/:title/g,n);const s=Va(e.title,r);return n===s.slice(3)?n:`${n}${s}`}function Va(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Da(e,t){const[n,r]=t;if(n!=="meta")return!1;const s=Object.entries(r)[0];return s==null?!1:e.some(([o,i])=>o===n&&i[s[0]]===s[1])}function xi(e,t){return[...e.filter(n=>!Da(t,n)),...t]}const Ua=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ka=/^[a-z]:/i;function Ks(e){const t=ka.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Ua,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ir=new Set;function Ba(e){if(ir.size===0){const n=typeof process=="object"&&(or==null?void 0:or.VITE_EXTRA_EXTENSIONS)||(sr==null?void 0:sr.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(r=>ir.add(r))}const t=e.split(".").pop();return t==null||!ir.has(t.toLowerCase())}const Ka=Symbol(),ut=_o(fa);function Nu(e){const t=se(()=>ja(ut.value,e.data.relativePath)),n=t.value.appearance,r=n==="force-dark"?ie(!0):n?Oa({storageKey:Ia,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):ie(!1),s=ie(de?location.hash:"");return de&&window.addEventListener("hashchange",()=>{s.value=location.hash}),Pe(()=>e.data,()=>{s.value=de?location.hash:""}),{site:t,theme:se(()=>t.value.themeConfig),page:se(()=>e.data),frontmatter:se(()=>e.data.frontmatter),params:se(()=>e.data.params),lang:se(()=>t.value.lang),dir:se(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:se(()=>t.value.localeIndex||"root"),title:se(()=>Ci(t.value,e.data)),description:se(()=>e.data.description||t.value.description),isDark:r,hash:se(()=>s.value)}}function Wa(){const e=wt(Ka);if(!e)throw new Error("vitepress data not properly injected in app");return e}function qa(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ws(e){return wi.test(e)||!e.startsWith("/")?e:qa(ut.value.base,e)}function Ga(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),de){const n="/";t=Ks(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let r=__VP_HASH_MAP__[t.toLowerCase()];if(r||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",r=__VP_HASH_MAP__[t.toLowerCase()]),!r)return null;t=`${n}assets/${t}.${r}.js`}else t=`./${Ks(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let gn=[];function Fu(e){gn.push(e),Vn(()=>{gn=gn.filter(t=>t!==e)})}function za(){let e=ut.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=qs(e,n);else if(Array.isArray(e))for(const r of e){const s=qs(r,n);if(s){t=s;break}}return t}function qs(e,t){const n=document.querySelector(e);if(!n)return 0;const r=n.getBoundingClientRect().bottom;return r<0?0:r+t}const Xa=Symbol(),Si="http://a.com",Ya=()=>({path:"/",component:null,data:Ei});function $u(e,t){const n=Mn(Ya()),r={route:n,go:s};async function s(l=de?location.href:"/"){var c,u;l=lr(l),await((c=r.onBeforeRouteChange)==null?void 0:c.call(r,l))!==!1&&(de&&l!==lr(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await i(l),await((u=r.onAfterRouteChanged)==null?void 0:u.call(r,l)))}let o=null;async function i(l,c=0,u=!1){var m;if(await((m=r.onBeforePageLoad)==null?void 0:m.call(r,l))===!1)return;const f=new URL(l,Si),h=o=f.pathname;try{let _=await e(h);if(!_)throw new Error(`Page not found: ${h}`);if(o===h){o=null;const{default:S,__pageData:I}=_;if(!S)throw new Error(`Invalid route component: ${S}`);n.path=de?h:Ws(h),n.component=dn(S),n.data=dn(I),de&&Nn(()=>{let B=ut.value.base+I.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!ut.value.cleanUrls&&!B.endsWith("/")&&(B+=".html"),B!==f.pathname&&(f.pathname=B,l=B+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(V){console.warn(V)}if(W){Gs(W,f.hash);return}}window.scrollTo(0,c)})}}catch(_){if(!/fetch|Page not found/.test(_.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(_),!u)try{const S=await fetch(ut.value.base+"hashmap.json");window.__VP_HASH_MAP__=await S.json(),await i(l,c,!0);return}catch{}if(o===h){o=null,n.path=de?h:Ws(h),n.component=t?dn(t):null;const S=de?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Ei,relativePath:S}}}}return de&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:f,origin:h,pathname:m,hash:_,search:S}=new URL(u,c.baseURI),I=new URL(location.href);h===I.origin&&Ba(m)&&(l.preventDefault(),m===I.pathname&&S===I.search?(_!==I.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:I.href,newURL:f}))),_?Gs(c,_,c.classList.contains("header-anchor")):window.scrollTo(0,0)):s(f))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await i(lr(location.href),l.state&&l.state.scrollPosition||0),(c=r.onAfterRouteChanged)==null||c.call(r,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),r}function Ja(){const e=wt(Xa);if(!e)throw new Error("useRouter() is called without provider.");return e}function Ti(){return Ja().route}function Gs(e,t,n=!1){let r=null;try{r=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(r){let s=function(){!n||Math.abs(i-window.scrollY)>window.innerHeight?window.scrollTo(0,i):window.scrollTo({left:0,top:i,behavior:"smooth"})};const o=parseInt(window.getComputedStyle(r).paddingTop,10),i=window.scrollY+r.getBoundingClientRect().top-za()+o;requestAnimationFrame(s)}}function lr(e){const t=new URL(e,Si);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ut.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const cr=()=>gn.forEach(e=>e()),Hu=jr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Ti(),{site:n}=Wa();return()=>Cr(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Cr(t.component,{onVnodeMounted:cr,onVnodeUpdated:cr,onVnodeUnmounted:cr}):"404 Page Not Found"])}}),ju="/leaderboard.png",Vu="/logo.png",Du=jr({setup(e,{slots:t}){const n=ie(!1);return xt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Uu(){de&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const r=(n=t.parentElement)==null?void 0:n.parentElement;if(!r)return;const s=Array.from(r.querySelectorAll("input")).indexOf(t);if(s<0)return;const o=r.querySelector(".blocks");if(!o)return;const i=Array.from(o.children).find(u=>u.classList.contains("active"));if(!i)return;const l=o.children[s];if(!l||i===l)return;i.classList.remove("active"),l.classList.add("active");const c=r==null?void 0:r.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function ku(){if(de){const e=new WeakMap;window.addEventListener("click",t=>{var r;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,o=(r=n.nextElementSibling)==null?void 0:r.nextElementSibling;if(!s||!o)return;const i=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className),l=[".vp-copy-ignore",".diff.remove"],c=o.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(f=>f.remove());let u=c.textContent||"";i&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),Qa(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function Qa(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const r=document.getSelection(),s=r?r.rangeCount>0&&r.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(r.removeAllRanges(),r.addRange(s)),n&&n.focus()}}function Bu(e,t){let n=!0,r=[];const s=o=>{if(n){n=!1,o.forEach(l=>{const c=ar(l);for(const u of document.head.children)if(u.isEqualNode(c)){r.push(u);return}});return}const i=o.map(ar);r.forEach((l,c)=>{const u=i.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));u!==-1?delete i[u]:(l==null||l.remove(),delete r[c])}),i.forEach(l=>l&&document.head.appendChild(l)),r=[...r,...i].filter(Boolean)};Wo(()=>{const o=e.data,i=t.value,l=o&&o.description,c=o&&o.frontmatter.head||[],u=Ci(i,o);u!==document.title&&(document.title=u);const f=l||i.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):ar(["meta",{name:"description",content:f}]),s(xi(i.head,eu(c)))})}function ar([e,t,n]){const r=document.createElement(e);for(const s in t)r.setAttribute(s,t[s]);return n&&(r.innerHTML=n),e==="script"&&!t.async&&(r.async=!1),r}function Za(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function eu(e){return e.filter(t=>!Za(t))}const ur=new Set,Ai=()=>document.createElement("link"),tu=e=>{const t=Ai();t.rel="prefetch",t.href=e,document.head.appendChild(t)},nu=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let an;const ru=de&&(an=Ai())&&an.relList&&an.relList.supports&&an.relList.supports("prefetch")?tu:nu;function Ku(){if(!de||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const r=()=>{n&&n.disconnect(),n=new IntersectionObserver(o=>{o.forEach(i=>{if(i.isIntersecting){const l=i.target;n.unobserve(l);const{pathname:c}=l;if(!ur.has(c)){ur.add(c);const u=Ga(c);u&&ru(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(o=>{const{hostname:i,pathname:l}=new URL(o.href instanceof SVGAnimatedString?o.href.animVal:o.href,o.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||o.target!=="_blank"&&i===location.hostname&&(l!==location.pathname?n.observe(o):ur.add(l))})})};xt(r);const s=Ti();Pe(()=>s.path,r),Vn(()=>{n&&n.disconnect()})}export{Su as $,yu as A,$l as B,za as C,lu as D,uu as E,_e as F,_o as G,Fu as H,oe as I,du as J,Ou as K,cu as L,wi as M,Ti as N,Ec as O,wt as P,Pu as Q,On as R,Lu as S,ci as T,Nn as U,Mu as V,de as W,Pn as X,Iu as Y,Xl as Z,Ru as _,si as a,pu as a0,Oo as a1,xu as a2,gu as a3,ju as a4,Mn as a5,vl as a6,fu as a7,su as a8,wc as a9,Ja as aA,pe as aa,_u as ab,Cr as ac,Tu as ad,mu as ae,Fl as af,au as ag,Eu as ah,ro as ai,Wi as aj,Vu as ak,Cu as al,vu as am,Bu as an,Xa as ao,Nu as ap,Ka as aq,Hu as ar,Du as as,ut as at,Au as au,$u as av,Ga as aw,Ku as ax,ku as ay,Uu as az,ti as b,bu as c,jr as d,wu as e,Ba as f,Ws as g,se as h,$a as i,ri as j,vo as k,iu as l,Fa as m,Ln as n,Zo as o,ou as p,yi as q,hu as r,ie as s,ki as t,Wa as u,Pe as v,Rl as w,Wo as x,xt as y,Vn as z}; diff --git a/docs/assets/chunks/metadata.13361d29.js b/docs/assets/chunks/metadata.e60a3cb8.js similarity index 74% rename from docs/assets/chunks/metadata.13361d29.js rename to docs/assets/chunks/metadata.e60a3cb8.js index 14ee4fbd..62778f3a 100644 --- a/docs/assets/chunks/metadata.13361d29.js +++ b/docs/assets/chunks/metadata.e60a3cb8.js @@ -1 +1 @@ -window.__VP_HASH_MAP__=JSON.parse("{\"customization_theming_index.md\":\"DkqYS7LC\",\"index.md\":\"DcYGhi7H\",\"installation_index.md\":\"BdZmYzE_\",\"methods-and-events_events_index.md\":\"itNS5m-d\",\"methods-and-events_methods_index.md\":\"DSpdWHb0\",\"migration_from-v5.md\":\"BI3LqLn8\",\"migration_from-v6.md\":\"RC2xdNpA\",\"migration_from-v7.md\":\"BiHzPJ31\",\"migration_from-v8.md\":\"ue4YmvjS\",\"props_calendar-configuration_index.md\":\"BxXIyXWr\",\"props_formatting_index.md\":\"CXFddBvT\",\"props_general-configuration_index.md\":\"kdLulLhN\",\"props_keyboard_index.md\":\"G0H1-SZ1\",\"props_localization_index.md\":\"Deuw2KpT\",\"props_look-and-feel_index.md\":\"CUxjRaCU\",\"props_modes-configuration_index.md\":\"DST_YaWQ\",\"props_modes_index.md\":\"H-gBcZzP\",\"props_positioning_index.md\":\"YyAjrg37\",\"props_time-picker-configuration_index.md\":\"CCjnWvEv\",\"slots_components_index.md\":\"BrJZD4-9\",\"slots_content_index.md\":\"BkiMSQRe\",\"slots_icons_index.md\":\"DRv55zkf\",\"slots_overlay_index.md\":\"wp0_DWD6\",\"slots_trigger-and-input_index.md\":\"c9_O1uv2\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Vue Datepicker\",\"description\":\"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.png\",\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"GM52TZG3DR\",\"apiKey\":\"46719e038256b2385d9617a76bd411b6\",\"indexName\":\"vue3-date-time-picker\"}},\"carbonAds\":{\"code\":\"CEAIL5QM\",\"placement\":\"vue3datepickercom\"},\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2021-present Vuepic\"},\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"9.0.0\",\"items\":[{\"text\":\"v8\",\"link\":\"https://v8-8.vue3datepicker.com/\"},{\"text\":\"v7\",\"link\":\"https://v7-4.vue3datepicker.com/\"},{\"text\":\"v6\",\"link\":\"https://v6.vue3datepicker.com/\"},{\"text\":\"v5\",\"link\":\"https://v5.vue3datepicker.com/\"}]},{\"text\":\"Changelog\",\"link\":\"https://github.com/Vuepic/vue-datepicker/releases\"}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Vuepic/vue-datepicker\"},{\"icon\":\"npm\",\"link\":\"https://www.npmjs.com/package/@vuepic/vue-datepicker\"}],\"sidebar\":[{\"text\":\"Getting Started\",\"collapsed\":false,\"items\":[{\"text\":\"Installation\",\"link\":\"/installation\"}]},{\"text\":\"Props\",\"collapsed\":false,\"items\":[{\"text\":\"Modes\",\"link\":\"/props/modes\"},{\"text\":\"Modes configuration\",\"link\":\"/props/modes-configuration\"},{\"text\":\"General configuration\",\"link\":\"/props/general-configuration\"},{\"text\":\"Calendar configuration\",\"link\":\"/props/calendar-configuration\"},{\"text\":\"Time picker configuration\",\"link\":\"/props/time-picker-configuration\"},{\"text\":\"Formatting\",\"link\":\"/props/formatting\"},{\"text\":\"Localization\",\"link\":\"/props/localization\"},{\"text\":\"Positioning\",\"link\":\"/props/positioning\"},{\"text\":\"Keyboard\",\"link\":\"/props/keyboard\"},{\"text\":\"Look and feel\",\"link\":\"/props/look-and-feel\"}]},{\"text\":\"Slots\",\"collapsed\":true,\"items\":[{\"text\":\"Components\",\"link\":\"/slots/components\"},{\"text\":\"Content\",\"link\":\"/slots/content\"},{\"text\":\"Trigger and input\",\"link\":\"/slots/trigger-and-input\"},{\"text\":\"Icons\",\"link\":\"/slots/icons\"},{\"text\":\"Overlay\",\"link\":\"/slots/overlay\"}]},{\"text\":\"Methods and events\",\"collapsed\":true,\"items\":[{\"text\":\"Methods\",\"link\":\"/methods-and-events/methods\"},{\"text\":\"Events\",\"link\":\"/methods-and-events/events\"}]},{\"text\":\"Customization\",\"collapsed\":true,\"items\":[{\"text\":\"Theming\",\"link\":\"/customization/theming\"}]},{\"text\":\"Migration guides\",\"collapsed\":true,\"items\":[{\"text\":\"Migrating from v8\",\"link\":\"/migration/from-v8\"},{\"text\":\"Migrating from v7\",\"link\":\"/migration/from-v7\"},{\"text\":\"Migrating from v6\",\"link\":\"/migration/from-v6\"},{\"text\":\"Migrating from v5\",\"link\":\"/migration/from-v5\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}"); \ No newline at end of file +window.__VP_HASH_MAP__=JSON.parse("{\"customization_theming_index.md\":\"BHtaDIzU\",\"index.md\":\"qJxocQGM\",\"installation_index.md\":\"CzOQj94f\",\"methods-and-events_events_index.md\":\"CLtD3nmd\",\"methods-and-events_methods_index.md\":\"sxka_nYL\",\"migration_from-v5.md\":\"CHERqwZ1\",\"migration_from-v6.md\":\"Dpqy4PX4\",\"migration_from-v7.md\":\"BKCSZk9W\",\"migration_from-v8.md\":\"BaR1FjMQ\",\"props_calendar-configuration_index.md\":\"CgmBjRMD\",\"props_formatting_index.md\":\"yZ544n8V\",\"props_general-configuration_index.md\":\"DOYpbrWq\",\"props_keyboard_index.md\":\"8mfI-ATL\",\"props_localization_index.md\":\"DAA9qzr1\",\"props_look-and-feel_index.md\":\"CkNbrHve\",\"props_modes-configuration_index.md\":\"DZEhKzVk\",\"props_modes_index.md\":\"DTsCdhjY\",\"props_positioning_index.md\":\"CRvumIlI\",\"props_time-picker-configuration_index.md\":\"D6BhtHUZ\",\"slots_components_index.md\":\"zUCX-m9_\",\"slots_content_index.md\":\"CCqeNkz2\",\"slots_icons_index.md\":\"DTSIjGV0\",\"slots_overlay_index.md\":\"p6o8_8U6\",\"slots_trigger-and-input_index.md\":\"Cr-l7A-B\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Vue Datepicker\",\"description\":\"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.png\",\"search\":{\"provider\":\"algolia\",\"options\":{\"appId\":\"GM52TZG3DR\",\"apiKey\":\"46719e038256b2385d9617a76bd411b6\",\"indexName\":\"vue3-date-time-picker\"}},\"carbonAds\":{\"code\":\"CEAIL5QM\",\"placement\":\"vue3datepickercom\"},\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright © 2021-present Vuepic\"},\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"9.0.1\",\"items\":[{\"text\":\"v8\",\"link\":\"https://v8-8.vue3datepicker.com/\"},{\"text\":\"v7\",\"link\":\"https://v7-4.vue3datepicker.com/\"},{\"text\":\"v6\",\"link\":\"https://v6.vue3datepicker.com/\"},{\"text\":\"v5\",\"link\":\"https://v5.vue3datepicker.com/\"}]},{\"text\":\"Changelog\",\"link\":\"https://github.com/Vuepic/vue-datepicker/releases\"}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Vuepic/vue-datepicker\"},{\"icon\":\"npm\",\"link\":\"https://www.npmjs.com/package/@vuepic/vue-datepicker\"}],\"sidebar\":[{\"text\":\"Getting Started\",\"collapsed\":false,\"items\":[{\"text\":\"Installation\",\"link\":\"/installation\"}]},{\"text\":\"Props\",\"collapsed\":false,\"items\":[{\"text\":\"Modes\",\"link\":\"/props/modes\"},{\"text\":\"Modes configuration\",\"link\":\"/props/modes-configuration\"},{\"text\":\"General configuration\",\"link\":\"/props/general-configuration\"},{\"text\":\"Calendar configuration\",\"link\":\"/props/calendar-configuration\"},{\"text\":\"Time picker configuration\",\"link\":\"/props/time-picker-configuration\"},{\"text\":\"Formatting\",\"link\":\"/props/formatting\"},{\"text\":\"Localization\",\"link\":\"/props/localization\"},{\"text\":\"Positioning\",\"link\":\"/props/positioning\"},{\"text\":\"Keyboard\",\"link\":\"/props/keyboard\"},{\"text\":\"Look and feel\",\"link\":\"/props/look-and-feel\"}]},{\"text\":\"Slots\",\"collapsed\":true,\"items\":[{\"text\":\"Components\",\"link\":\"/slots/components\"},{\"text\":\"Content\",\"link\":\"/slots/content\"},{\"text\":\"Trigger and input\",\"link\":\"/slots/trigger-and-input\"},{\"text\":\"Icons\",\"link\":\"/slots/icons\"},{\"text\":\"Overlay\",\"link\":\"/slots/overlay\"}]},{\"text\":\"Methods and events\",\"collapsed\":true,\"items\":[{\"text\":\"Methods\",\"link\":\"/methods-and-events/methods\"},{\"text\":\"Events\",\"link\":\"/methods-and-events/events\"}]},{\"text\":\"Customization\",\"collapsed\":true,\"items\":[{\"text\":\"Theming\",\"link\":\"/customization/theming\"}]},{\"text\":\"Migration guides\",\"collapsed\":true,\"items\":[{\"text\":\"Migrating from v8\",\"link\":\"/migration/from-v8\"},{\"text\":\"Migrating from v7\",\"link\":\"/migration/from-v7\"},{\"text\":\"Migrating from v6\",\"link\":\"/migration/from-v6\"},{\"text\":\"Migrating from v5\",\"link\":\"/migration/from-v5\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}"); \ No newline at end of file diff --git a/docs/assets/chunks/theme.C0dGJPqT.js b/docs/assets/chunks/theme.9ttioI6k.js similarity index 82% rename from docs/assets/chunks/theme.C0dGJPqT.js rename to docs/assets/chunks/theme.9ttioI6k.js index cfeca3ca..3a42c120 100644 --- a/docs/assets/chunks/theme.C0dGJPqT.js +++ b/docs/assets/chunks/theme.9ttioI6k.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ui-custom.BeOb8iRm.js","assets/chunks/framework.IJS20kTW.js","assets/chunks/VPAlgoliaSearchBox.D1L8mbHp.js"])))=>i.map(i=>d[i]); -var Fr=Object.defineProperty;var zr=(e,a,t)=>a in e?Fr(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var ye=(e,a,t)=>zr(e,typeof a!="symbol"?a+"":a,t);import{d as J,o as i,c as m,r as k,n as he,a as Ne,t as ce,b as le,w,e as S,T as Ht,_ as we,u as Le,i as Wr,f as Ur,g as Nn,h as x,j as y,k as s,p as rt,l as lt,m as sa,q as Pn,s as A,v as Je,x as ja,y as Ue,z as Xt,A as Rn,B as qr,C as jr,D as ua,F as pe,E as Me,G as Vo,H as Qa,I as ee,J as Oo,K as Io,L as ft,M as Lo,N as Ka,O as Oe,P as Ga,Q as Qr,R as mt,S as Kr,U as yt,V as No,W as Xa,X as Gr,Y as Ro,Z as Bo,$ as Eo,a0 as Xr,a1 as Jr,a2 as ia,a3 as Jt,a4 as Zr,a5 as Va,a6 as Sa,a7 as at,a8 as ot,a9 as pt,aa as uo,ab as el,ac as tl,ad as co,ae as al,af as nl,ag as Ta,ah as Ya,ai as ol,aj as rl,ak as Lt,al as ll}from"./framework.IJS20kTW.js";const sl=J({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(a,t)=>(i(),m("span",{class:he(["VPBadge",a.type])},[k(a.$slots,"default",{},()=>[Ne(ce(a.text),1)])],2))}}),il={key:0,class:"VPBackdrop"},ul=J({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(a,t)=>(i(),le(Ht,{name:"fade"},{default:w(()=>[a.show?(i(),m("div",il)):S("",!0)]),_:1}))}}),dl=we(ul,[["__scopeId","data-v-c79a1216"]]),Ce=Le;function cl(e,a){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(e,a):(e(),(n=!0)&&setTimeout(()=>n=!1,a))}}function Tn(e){return/^\//.test(e)?e:`/${e}`}function Bn(e){const{pathname:a,search:t,hash:n,protocol:o}=new URL(e,"http://a.com");if(Wr(e)||e.startsWith("#")||!o.startsWith("http")||!Ur(a))return e;const{site:r}=Ce(),l=a.endsWith("/")||a.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${a.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return Nn(l)}function Oa({correspondingLink:e=!1}={}){const{site:a,localeIndex:t,page:n,theme:o,hash:r}=Ce(),l=x(()=>{var d,b;return{label:(d=a.value.locales[t.value])==null?void 0:d.label,link:((b=a.value.locales[t.value])==null?void 0:b.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:x(()=>Object.entries(a.value.locales).flatMap(([d,b])=>l.value.label===b.label?[]:{text:b.label,link:vl(b.link||(d==="root"?"/":`/${d}/`),o.value.i18nRouting!==!1&&e,n.value.relativePath.slice(l.value.link.length-1),!a.value.cleanUrls)+r.value})),currentLang:l}}function vl(e,a,t,n){return a?e.replace(/\/$/,"")+Tn(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const ml=e=>(rt("data-v-d6be1790"),e=e(),lt(),e),pl={class:"NotFound"},fl={class:"code"},hl={class:"title"},yl=ml(()=>y("div",{class:"divider"},null,-1)),gl={class:"quote"},_l={class:"action"},bl=["href","aria-label"],kl=J({__name:"NotFound",setup(e){const{theme:a}=Ce(),{currentLang:t}=Oa();return(n,o)=>{var r,l,u,d,b;return i(),m("div",pl,[y("p",fl,ce(((r=s(a).notFound)==null?void 0:r.code)??"404"),1),y("h1",hl,ce(((l=s(a).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),yl,y("blockquote",gl,ce(((u=s(a).notFound)==null?void 0:u.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),y("div",_l,[y("a",{class:"link",href:s(Nn)(s(t).link),"aria-label":((d=s(a).notFound)==null?void 0:d.linkLabel)??"go to home"},ce(((b=s(a).notFound)==null?void 0:b.linkText)??"Take me home"),9,bl)])])}}}),wl=we(kl,[["__scopeId","data-v-d6be1790"]]);function Ho(e,a){if(Array.isArray(e))return Fa(e);if(e==null)return[];a=Tn(a);const t=Object.keys(e).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>a.startsWith(Tn(o))),n=t?e[t]:[];return Array.isArray(n)?Fa(n):Fa(n.items,n.base)}function $l(e){const a=[];let t=0;for(const n in e){const o=e[n];if(o.items){t=a.push(o);continue}a[t]||a.push({items:[]}),a[t].items.push(o)}return a}function Dl(e){const a=[];function t(n){for(const o of n)o.text&&o.link&&a.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(e),a}function Mn(e,a){return Array.isArray(a)?a.some(t=>Mn(e,t)):sa(e,a.link)?!0:a.items?Mn(e,a.items):!1}function Fa(e,a){return[...e].map(t=>{const n={...t},o=n.base||a;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Fa(n.items,o)),n})}function Yt(){const{frontmatter:e,page:a,theme:t}=Ce(),n=Pn("(min-width: 960px)"),o=A(!1),r=x(()=>{const $=t.value.sidebar,R=a.value.relativePath;return $?Ho($,R):[]}),l=A(r.value);Je(r,($,R)=>{JSON.stringify($)!==JSON.stringify(R)&&(l.value=r.value)});const u=x(()=>e.value.sidebar!==!1&&l.value.length>0&&e.value.layout!=="home"),d=x(()=>b?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),b=x(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),f=x(()=>u.value&&n.value),p=x(()=>u.value?$l(l.value):[]);function c(){o.value=!0}function g(){o.value=!1}function P(){o.value?g():c()}return{isOpen:o,sidebar:l,sidebarGroups:p,hasSidebar:u,hasAside:b,leftAside:d,isSidebarEnabled:f,open:c,close:g,toggle:P}}function Pl(e,a){let t;ja(()=>{t=e.value?document.activeElement:void 0}),Ue(()=>{window.addEventListener("keyup",n)}),Xt(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&e.value&&(a(),t==null||t.focus())}}function Tl(e){const{page:a,hash:t}=Ce(),n=A(!1),o=x(()=>e.value.collapsed!=null),r=x(()=>!!e.value.link),l=A(!1),u=()=>{l.value=sa(a.value.relativePath,e.value.link)};Je([a,e,t],u),Ue(u);const d=x(()=>l.value?!0:e.value.items?Mn(a.value.relativePath,e.value.items):!1),b=x(()=>!!(e.value.items&&e.value.items.length));ja(()=>{n.value=!!(o.value&&e.value.collapsed)}),Rn(()=>{(l.value||d.value)&&(n.value=!1)});function f(){o.value&&(n.value=!n.value)}return{collapsed:n,collapsible:o,isLink:r,isActiveLink:l,hasActiveLink:d,hasChildren:b,toggle:f}}function Ml(){const{hasSidebar:e}=Yt(),a=Pn("(min-width: 960px)"),t=Pn("(min-width: 1280px)");return{isAsideEnabled:x(()=>!t.value&&!a.value?!1:e.value?t.value:a.value)}}const xn=[];function Yo(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function En(e){const a=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:xl(t),link:"#"+t.id,level:n}});return Sl(a,e)}function xl(e){let a="";for(const t of e.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;a+=t.textContent}else t.nodeType===3&&(a+=t.textContent);return a.trim()}function Sl(e,a){if(a===!1)return[];const t=(typeof a=="object"&&!Array.isArray(a)?a.level:a)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;e=e.filter(l=>l.level>=n&&l.level<=o),xn.length=0;for(const{element:l,link:u}of e)xn.push({element:l,link:u});const r=[];e:for(let l=0;l=0;d--){const b=e[d];if(b.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),qr(()=>{l(location.hash)}),Xt(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const u=window.scrollY,d=window.innerHeight,b=document.body.offsetHeight,f=Math.abs(u+d-b)<1,p=xn.map(({element:g,link:P})=>({link:P,top:Cl(g)})).filter(({top:g})=>!Number.isNaN(g)).sort((g,P)=>g.top-P.top);if(!p.length){l(null);return}if(u<1){l(null);return}if(f){l(p[p.length-1].link);return}let c=null;for(const{link:g,top:P}of p){if(P>u+jr()+4)break;c=g}l(c)}function l(u){o&&o.classList.remove("active"),u==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(u)}"]`);const d=o;d?(d.classList.add("active"),a.value.style.top=d.offsetTop+39+"px",a.value.style.opacity="1"):(a.value.style.top="33px",a.value.style.opacity="0")}}function Cl(e){let a=0;for(;e!==document.body;){if(e===null)return NaN;a+=e.offsetTop,e=e.offsetParent}return a}const Vl=["href","title"],Ol=J({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function a({target:t}){const n=t.href.split("#")[1],o=document.getElementById(decodeURIComponent(n));o==null||o.focus({preventScroll:!0})}return(t,n)=>{const o=ua("VPDocOutlineItem",!0);return i(),m("ul",{class:he(["VPDocOutlineItem",t.root?"root":"nested"])},[(i(!0),m(pe,null,Me(t.headers,({children:r,link:l,title:u})=>(i(),m("li",null,[y("a",{class:"outline-link",href:l,onClick:a,title:u},ce(u),9,Vl),r!=null&&r.length?(i(),le(o,{key:0,headers:r},null,8,["headers"])):S("",!0)]))),256))],2)}}}),Fo=we(Ol,[["__scopeId","data-v-b933a997"]]),Il={class:"content"},Ll={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Nl=J({__name:"VPDocAsideOutline",setup(e){const{frontmatter:a,theme:t}=Ce(),n=Vo([]);Qa(()=>{n.value=En(a.value.outline??t.value.outline)});const o=A(),r=A();return Al(o,r),(l,u)=>(i(),m("nav",{"aria-labelledby":"doc-outline-aria-label",class:he(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o},[y("div",Il,[y("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),y("div",Ll,ce(s(Yo)(s(t))),1),ee(Fo,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),Rl=we(Nl,[["__scopeId","data-v-a5bbad30"]]),Bl={class:"VPDocAsideCarbonAds"},El=J({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const a=Oo(()=>Io(()=>import("./ui-custom.BeOb8iRm.js"),__vite__mapDeps([0,1])));return(t,n)=>(i(),m("div",Bl,[ee(s(a),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Hl=e=>(rt("data-v-3f215769"),e=e(),lt(),e),Yl={class:"VPDocAside"},Fl=Hl(()=>y("div",{class:"spacer"},null,-1)),zl=J({__name:"VPDocAside",setup(e){const{theme:a}=Ce();return(t,n)=>(i(),m("div",Yl,[k(t.$slots,"aside-top",{},void 0,!0),k(t.$slots,"aside-outline-before",{},void 0,!0),ee(Rl),k(t.$slots,"aside-outline-after",{},void 0,!0),Fl,k(t.$slots,"aside-ads-before",{},void 0,!0),s(a).carbonAds?(i(),le(El,{key:0,"carbon-ads":s(a).carbonAds},null,8,["carbon-ads"])):S("",!0),k(t.$slots,"aside-ads-after",{},void 0,!0),k(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Wl=we(zl,[["__scopeId","data-v-3f215769"]]);function Ul(){const{theme:e,page:a}=Ce();return x(()=>{const{text:t="Edit this page",pattern:n=""}=e.value.editLink||{};let o;return typeof n=="function"?o=n(a.value):o=n.replace(/:path/g,a.value.filePath),{url:o,text:t}})}function ql(){const{page:e,theme:a,frontmatter:t}=Ce();return x(()=>{var b,f,p,c,g,P,$,R;const n=Ho(a.value.sidebar,e.value.relativePath),o=Dl(n),r=jl(o,W=>W.link.replace(/[?#].*$/,"")),l=r.findIndex(W=>sa(e.value.relativePath,W.link)),u=((b=a.value.docFooter)==null?void 0:b.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((f=a.value.docFooter)==null?void 0:f.next)===!1&&!t.value.next||t.value.next===!1;return{prev:u?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((p=r[l-1])==null?void 0:p.docFooterText)??((c=r[l-1])==null?void 0:c.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((g=r[l-1])==null?void 0:g.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((P=r[l+1])==null?void 0:P.docFooterText)??(($=r[l+1])==null?void 0:$.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((R=r[l+1])==null?void 0:R.link)}}})}function jl(e,a){const t=new Set;return e.filter(n=>{const o=a(n);return t.has(o)?!1:t.add(o)})}const It=J({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const a=e,t=x(()=>a.tag??(a.href?"a":"span")),n=x(()=>a.href&&Lo.test(a.href)||a.target==="_blank");return(o,r)=>(i(),le(ft(t.value),{class:he(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?s(Bn)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:w(()=>[k(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Ql={class:"VPLastUpdated"},Kl=["datetime"],Gl=J({__name:"VPDocFooterLastUpdated",setup(e){const{theme:a,page:t,lang:n}=Ce(),o=x(()=>new Date(t.value.lastUpdated)),r=x(()=>o.value.toISOString()),l=A("");return Ue(()=>{ja(()=>{var u,d,b;l.value=new Intl.DateTimeFormat((d=(u=a.value.lastUpdated)==null?void 0:u.formatOptions)!=null&&d.forceLocale?n.value:void 0,((b=a.value.lastUpdated)==null?void 0:b.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(u,d)=>{var b;return i(),m("p",Ql,[Ne(ce(((b=s(a).lastUpdated)==null?void 0:b.text)||s(a).lastUpdatedText||"Last updated")+": ",1),y("time",{datetime:r.value},ce(l.value),9,Kl)])}}}),Xl=we(Gl,[["__scopeId","data-v-e98dd255"]]),zo=e=>(rt("data-v-e257564d"),e=e(),lt(),e),Jl={key:0,class:"VPDocFooter"},Zl={key:0,class:"edit-info"},es={key:0,class:"edit-link"},ts=zo(()=>y("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),as={key:1,class:"last-updated"},ns={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},os=zo(()=>y("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),rs={class:"pager"},ls=["innerHTML"],ss=["innerHTML"],is={class:"pager"},us=["innerHTML"],ds=["innerHTML"],cs=J({__name:"VPDocFooter",setup(e){const{theme:a,page:t,frontmatter:n}=Ce(),o=Ul(),r=ql(),l=x(()=>a.value.editLink&&n.value.editLink!==!1),u=x(()=>t.value.lastUpdated),d=x(()=>l.value||u.value||r.value.prev||r.value.next);return(b,f)=>{var p,c,g,P;return d.value?(i(),m("footer",Jl,[k(b.$slots,"doc-footer-before",{},void 0,!0),l.value||u.value?(i(),m("div",Zl,[l.value?(i(),m("div",es,[ee(It,{class:"edit-link-button",href:s(o).url,"no-icon":!0},{default:w(()=>[ts,Ne(" "+ce(s(o).text),1)]),_:1},8,["href"])])):S("",!0),u.value?(i(),m("div",as,[ee(Xl)])):S("",!0)])):S("",!0),(p=s(r).prev)!=null&&p.link||(c=s(r).next)!=null&&c.link?(i(),m("nav",ns,[os,y("div",rs,[(g=s(r).prev)!=null&&g.link?(i(),le(It,{key:0,class:"pager-link prev",href:s(r).prev.link},{default:w(()=>{var $;return[y("span",{class:"desc",innerHTML:(($=s(a).docFooter)==null?void 0:$.prev)||"Previous page"},null,8,ls),y("span",{class:"title",innerHTML:s(r).prev.text},null,8,ss)]}),_:1},8,["href"])):S("",!0)]),y("div",is,[(P=s(r).next)!=null&&P.link?(i(),le(It,{key:0,class:"pager-link next",href:s(r).next.link},{default:w(()=>{var $;return[y("span",{class:"desc",innerHTML:(($=s(a).docFooter)==null?void 0:$.next)||"Next page"},null,8,us),y("span",{class:"title",innerHTML:s(r).next.text},null,8,ds)]}),_:1},8,["href"])):S("",!0)])])):S("",!0)])):S("",!0)}}}),vs=we(cs,[["__scopeId","data-v-e257564d"]]),ms=e=>(rt("data-v-39a288b8"),e=e(),lt(),e),ps={class:"container"},fs=ms(()=>y("div",{class:"aside-curtain"},null,-1)),hs={class:"aside-container"},ys={class:"aside-content"},gs={class:"content"},_s={class:"content-container"},bs={class:"main"},ks=J({__name:"VPDoc",setup(e){const{theme:a}=Ce(),t=Ka(),{hasSidebar:n,hasAside:o,leftAside:r}=Yt(),l=x(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(u,d)=>{const b=ua("Content");return i(),m("div",{class:he(["VPDoc",{"has-sidebar":s(n),"has-aside":s(o)}])},[k(u.$slots,"doc-top",{},void 0,!0),y("div",ps,[s(o)?(i(),m("div",{key:0,class:he(["aside",{"left-aside":s(r)}])},[fs,y("div",hs,[y("div",ys,[ee(Wl,null,{"aside-top":w(()=>[k(u.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":w(()=>[k(u.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":w(()=>[k(u.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(u.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(u.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(u.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):S("",!0),y("div",gs,[y("div",_s,[k(u.$slots,"doc-before",{},void 0,!0),y("main",bs,[ee(b,{class:he(["vp-doc",[l.value,s(a).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),ee(vs,null,{"doc-footer-before":w(()=>[k(u.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),k(u.$slots,"doc-after",{},void 0,!0)])])]),k(u.$slots,"doc-bottom",{},void 0,!0)],2)}}}),ws=we(ks,[["__scopeId","data-v-39a288b8"]]),$s=J({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const a=e,t=x(()=>a.href&&Lo.test(a.href)),n=x(()=>a.tag||a.href?"a":"button");return(o,r)=>(i(),le(ft(n.value),{class:he(["VPButton",[o.size,o.theme]]),href:o.href?s(Bn)(o.href):void 0,target:a.target??(t.value?"_blank":void 0),rel:a.rel??(t.value?"noreferrer":void 0)},{default:w(()=>[Ne(ce(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),Ds=we($s,[["__scopeId","data-v-cad61b99"]]),Ps=["src","alt"],Ts=J({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(a,t)=>{const n=ua("VPImage",!0);return a.image?(i(),m(pe,{key:0},[typeof a.image=="string"||"src"in a.image?(i(),m("img",Oe({key:0,class:"VPImage"},typeof a.image=="string"?a.$attrs:{...a.image,...a.$attrs},{src:s(Nn)(typeof a.image=="string"?a.image:a.image.src),alt:a.alt??(typeof a.image=="string"?"":a.image.alt||"")}),null,16,Ps)):(i(),m(pe,{key:1},[ee(n,Oe({class:"dark",image:a.image.dark,alt:a.image.alt},a.$attrs),null,16,["image","alt"]),ee(n,Oe({class:"light",image:a.image.light,alt:a.image.alt},a.$attrs),null,16,["image","alt"])],64))],64)):S("",!0)}}}),za=we(Ts,[["__scopeId","data-v-8426fc1a"]]),Ms=e=>(rt("data-v-303bb580"),e=e(),lt(),e),xs={class:"container"},Ss={class:"main"},As={key:0,class:"name"},Cs=["innerHTML"],Vs=["innerHTML"],Os=["innerHTML"],Is={key:0,class:"actions"},Ls={key:0,class:"image"},Ns={class:"image-container"},Rs=Ms(()=>y("div",{class:"image-bg"},null,-1)),Bs=J({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const a=Ga("hero-image-slot-exists");return(t,n)=>(i(),m("div",{class:he(["VPHero",{"has-image":t.image||s(a)}])},[y("div",xs,[y("div",Ss,[k(t.$slots,"home-hero-info-before",{},void 0,!0),k(t.$slots,"home-hero-info",{},()=>[t.name?(i(),m("h1",As,[y("span",{innerHTML:t.name,class:"clip"},null,8,Cs)])):S("",!0),t.text?(i(),m("p",{key:1,innerHTML:t.text,class:"text"},null,8,Vs)):S("",!0),t.tagline?(i(),m("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Os)):S("",!0)],!0),k(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(i(),m("div",Is,[(i(!0),m(pe,null,Me(t.actions,o=>(i(),m("div",{key:o.link,class:"action"},[ee(Ds,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):S("",!0),k(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||s(a)?(i(),m("div",Ls,[y("div",Ns,[Rs,k(t.$slots,"home-hero-image",{},()=>[t.image?(i(),le(za,{key:0,class:"image-src",image:t.image},null,8,["image"])):S("",!0)],!0)])])):S("",!0)])],2))}}),Es=we(Bs,[["__scopeId","data-v-303bb580"]]),Hs=J({__name:"VPHomeHero",setup(e){const{frontmatter:a}=Ce();return(t,n)=>s(a).hero?(i(),le(Es,{key:0,class:"VPHomeHero",name:s(a).hero.name,text:s(a).hero.text,tagline:s(a).hero.tagline,image:s(a).hero.image,actions:s(a).hero.actions},{"home-hero-info-before":w(()=>[k(t.$slots,"home-hero-info-before")]),"home-hero-info":w(()=>[k(t.$slots,"home-hero-info")]),"home-hero-info-after":w(()=>[k(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":w(()=>[k(t.$slots,"home-hero-actions-after")]),"home-hero-image":w(()=>[k(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):S("",!0)}}),Ys=e=>(rt("data-v-a3976bdc"),e=e(),lt(),e),Fs={class:"box"},zs={key:0,class:"icon"},Ws=["innerHTML"],Us=["innerHTML"],qs=["innerHTML"],js={key:4,class:"link-text"},Qs={class:"link-text-value"},Ks=Ys(()=>y("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Gs=J({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(a,t)=>(i(),le(It,{class:"VPFeature",href:a.link,rel:a.rel,target:a.target,"no-icon":!0,tag:a.link?"a":"div"},{default:w(()=>[y("article",Fs,[typeof a.icon=="object"&&a.icon.wrap?(i(),m("div",zs,[ee(za,{image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])])):typeof a.icon=="object"?(i(),le(za,{key:1,image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])):a.icon?(i(),m("div",{key:2,class:"icon",innerHTML:a.icon},null,8,Ws)):S("",!0),y("h2",{class:"title",innerHTML:a.title},null,8,Us),a.details?(i(),m("p",{key:3,class:"details",innerHTML:a.details},null,8,qs)):S("",!0),a.linkText?(i(),m("div",js,[y("p",Qs,[Ne(ce(a.linkText)+" ",1),Ks])])):S("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Xs=we(Gs,[["__scopeId","data-v-a3976bdc"]]),Js={key:0,class:"VPFeatures"},Zs={class:"container"},ei={class:"items"},ti=J({__name:"VPFeatures",props:{features:{}},setup(e){const a=e,t=x(()=>{const n=a.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(i(),m("div",Js,[y("div",Zs,[y("div",ei,[(i(!0),m(pe,null,Me(n.features,r=>(i(),m("div",{key:r.title,class:he(["item",[t.value]])},[ee(Xs,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):S("",!0)}}),ai=we(ti,[["__scopeId","data-v-a6181336"]]),ni=J({__name:"VPHomeFeatures",setup(e){const{frontmatter:a}=Ce();return(t,n)=>s(a).features?(i(),le(ai,{key:0,class:"VPHomeFeatures",features:s(a).features},null,8,["features"])):S("",!0)}}),oi=J({__name:"VPHomeContent",setup(e){const{width:a}=Qr({initialWidth:0,includeScrollbar:!1});return(t,n)=>(i(),m("div",{class:"vp-doc container",style:mt(s(a)?{"--vp-offset":`calc(50% - ${s(a)/2}px)`}:{})},[k(t.$slots,"default",{},void 0,!0)],4))}}),ri=we(oi,[["__scopeId","data-v-8e2d4988"]]),li={class:"VPHome"},si=J({__name:"VPHome",setup(e){const{frontmatter:a}=Ce();return(t,n)=>{const o=ua("Content");return i(),m("div",li,[k(t.$slots,"home-hero-before",{},void 0,!0),ee(Hs,null,{"home-hero-info-before":w(()=>[k(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),k(t.$slots,"home-hero-after",{},void 0,!0),k(t.$slots,"home-features-before",{},void 0,!0),ee(ni),k(t.$slots,"home-features-after",{},void 0,!0),s(a).markdownStyles!==!1?(i(),le(ri,{key:0},{default:w(()=>[ee(o)]),_:1})):(i(),le(o,{key:1}))])}}}),ii=we(si,[["__scopeId","data-v-686f80a6"]]),ui={},di={class:"VPPage"};function ci(e,a){const t=ua("Content");return i(),m("div",di,[k(e.$slots,"page-top"),ee(t),k(e.$slots,"page-bottom")])}const vi=we(ui,[["render",ci]]),mi=J({__name:"VPContent",setup(e){const{page:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt();return(o,r)=>(i(),m("div",{class:he(["VPContent",{"has-sidebar":s(n),"is-home":s(t).layout==="home"}]),id:"VPContent"},[s(a).isNotFound?k(o.$slots,"not-found",{key:0},()=>[ee(wl)],!0):s(t).layout==="page"?(i(),le(vi,{key:1},{"page-top":w(()=>[k(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":w(()=>[k(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):s(t).layout==="home"?(i(),le(ii,{key:2},{"home-hero-before":w(()=>[k(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":w(()=>[k(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":w(()=>[k(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":w(()=>[k(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":w(()=>[k(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):s(t).layout&&s(t).layout!=="doc"?(i(),le(ft(s(t).layout),{key:3})):(i(),le(ws,{key:4},{"doc-top":w(()=>[k(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":w(()=>[k(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":w(()=>[k(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":w(()=>[k(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":w(()=>[k(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":w(()=>[k(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":w(()=>[k(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":w(()=>[k(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),pi=we(mi,[["__scopeId","data-v-1428d186"]]),fi={class:"container"},hi=["innerHTML"],yi=["innerHTML"],gi=J({__name:"VPFooter",setup(e){const{theme:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt();return(o,r)=>s(a).footer&&s(t).footer!==!1?(i(),m("footer",{key:0,class:he(["VPFooter",{"has-sidebar":s(n)}])},[y("div",fi,[s(a).footer.message?(i(),m("p",{key:0,class:"message",innerHTML:s(a).footer.message},null,8,hi)):S("",!0),s(a).footer.copyright?(i(),m("p",{key:1,class:"copyright",innerHTML:s(a).footer.copyright},null,8,yi)):S("",!0)])],2)):S("",!0)}}),_i=we(gi,[["__scopeId","data-v-e315a0ad"]]);function bi(){const{theme:e,frontmatter:a}=Ce(),t=Vo([]),n=x(()=>t.value.length>0);return Qa(()=>{t.value=En(a.value.outline??e.value.outline)}),{headers:t,hasLocalNav:n}}const ki=e=>(rt("data-v-17a5e62e"),e=e(),lt(),e),wi={class:"menu-text"},$i=ki(()=>y("span",{class:"vpi-chevron-right icon"},null,-1)),Di={class:"header"},Pi={class:"outline"},Ti=J({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const a=e,{theme:t}=Ce(),n=A(!1),o=A(0),r=A(),l=A();function u(p){var c;(c=r.value)!=null&&c.contains(p.target)||(n.value=!1)}Je(n,p=>{if(p){document.addEventListener("click",u);return}document.removeEventListener("click",u)}),Kr("Escape",()=>{n.value=!1}),Qa(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-a.navHeight,0)}function b(p){p.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),yt(()=>{n.value=!1}))}function f(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(p,c)=>(i(),m("div",{class:"VPLocalNavOutlineDropdown",style:mt({"--vp-vh":o.value+"px"}),ref_key:"main",ref:r},[p.headers.length>0?(i(),m("button",{key:0,onClick:d,class:he({open:n.value})},[y("span",wi,ce(s(Yo)(s(t))),1),$i],2)):(i(),m("button",{key:1,onClick:f},ce(s(t).returnToTopLabel||"Return to top"),1)),ee(Ht,{name:"flyout"},{default:w(()=>[n.value?(i(),m("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:b},[y("div",Di,[y("a",{class:"top-link",href:"#",onClick:f},ce(s(t).returnToTopLabel||"Return to top"),1)]),y("div",Pi,[ee(Fo,{headers:p.headers},null,8,["headers"])])],512)):S("",!0)]),_:1})],4))}}),Mi=we(Ti,[["__scopeId","data-v-17a5e62e"]]),xi=e=>(rt("data-v-a6f0e41e"),e=e(),lt(),e),Si={class:"container"},Ai=["aria-expanded"],Ci=xi(()=>y("span",{class:"vpi-align-left menu-icon"},null,-1)),Vi={class:"menu-text"},Oi=J({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt(),{headers:o}=bi(),{y:r}=No(),l=A(0);Ue(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Qa(()=>{o.value=En(t.value.outline??a.value.outline)});const u=x(()=>o.value.length===0),d=x(()=>u.value&&!n.value),b=x(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:u.value,fixed:d.value}));return(f,p)=>s(t).layout!=="home"&&(!d.value||s(r)>=l.value)?(i(),m("div",{key:0,class:he(b.value)},[y("div",Si,[s(n)?(i(),m("button",{key:0,class:"menu","aria-expanded":f.open,"aria-controls":"VPSidebarNav",onClick:p[0]||(p[0]=c=>f.$emit("open-menu"))},[Ci,y("span",Vi,ce(s(a).sidebarMenuLabel||"Menu"),1)],8,Ai)):S("",!0),ee(Mi,{headers:s(o),navHeight:l.value},null,8,["headers","navHeight"])])],2)):S("",!0)}}),Ii=we(Oi,[["__scopeId","data-v-a6f0e41e"]]);function Li(){const e=A(!1);function a(){e.value=!0,window.addEventListener("resize",o)}function t(){e.value=!1,window.removeEventListener("resize",o)}function n(){e.value?t():a()}function o(){window.outerWidth>=768&&t()}const r=Ka();return Je(()=>r.path,t),{isScreenOpen:e,openScreen:a,closeScreen:t,toggleScreen:n}}const Ni={},Ri={class:"VPSwitch",type:"button",role:"switch"},Bi={class:"check"},Ei={key:0,class:"icon"};function Hi(e,a){return i(),m("button",Ri,[y("span",Bi,[e.$slots.default?(i(),m("span",Ei,[k(e.$slots,"default",{},void 0,!0)])):S("",!0)])])}const Yi=we(Ni,[["render",Hi],["__scopeId","data-v-1d5665e3"]]),Wo=e=>(rt("data-v-5337faa4"),e=e(),lt(),e),Fi=Wo(()=>y("span",{class:"vpi-sun sun"},null,-1)),zi=Wo(()=>y("span",{class:"vpi-moon moon"},null,-1)),Wi=J({__name:"VPSwitchAppearance",setup(e){const{isDark:a,theme:t}=Ce(),n=Ga("toggle-appearance",()=>{a.value=!a.value}),o=A("");return Rn(()=>{o.value=a.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,l)=>(i(),le(Yi,{title:o.value,class:"VPSwitchAppearance","aria-checked":s(a),onClick:s(n)},{default:w(()=>[Fi,zi]),_:1},8,["title","aria-checked","onClick"]))}}),Hn=we(Wi,[["__scopeId","data-v-5337faa4"]]),Ui={key:0,class:"VPNavBarAppearance"},qi=J({__name:"VPNavBarAppearance",setup(e){const{site:a}=Ce();return(t,n)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",Ui,[ee(Hn)])):S("",!0)}}),ji=we(qi,[["__scopeId","data-v-6c893767"]]),Yn=A();let Uo=!1,mn=0;function Qi(e){const a=A(!1);if(Xa){!Uo&&Ki(),mn++;const t=Je(Yn,n=>{var o,r,l;n===e.el.value||(o=e.el.value)!=null&&o.contains(n)?(a.value=!0,(r=e.onFocus)==null||r.call(e)):(a.value=!1,(l=e.onBlur)==null||l.call(e))});Xt(()=>{t(),mn--,mn||Gi()})}return Gr(a)}function Ki(){document.addEventListener("focusin",qo),Uo=!0,Yn.value=document.activeElement}function Gi(){document.removeEventListener("focusin",qo)}function qo(){Yn.value=document.activeElement}const Xi={class:"VPMenuLink"},Ji=J({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:a}=Ce();return(t,n)=>(i(),m("div",Xi,[ee(It,{class:he({active:s(sa)(s(a).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:w(()=>[Ne(ce(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Ja=we(Ji,[["__scopeId","data-v-43f1e123"]]),Zi={class:"VPMenuGroup"},eu={key:0,class:"title"},tu=J({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(a,t)=>(i(),m("div",Zi,[a.text?(i(),m("p",eu,ce(a.text),1)):S("",!0),(i(!0),m(pe,null,Me(a.items,n=>(i(),m(pe,null,["link"in n?(i(),le(Ja,{key:0,item:n},null,8,["item"])):S("",!0)],64))),256))]))}}),au=we(tu,[["__scopeId","data-v-69e747b5"]]),nu={class:"VPMenu"},ou={key:0,class:"items"},ru=J({__name:"VPMenu",props:{items:{}},setup(e){return(a,t)=>(i(),m("div",nu,[a.items?(i(),m("div",ou,[(i(!0),m(pe,null,Me(a.items,n=>(i(),m(pe,{key:JSON.stringify(n)},["link"in n?(i(),le(Ja,{key:0,item:n},null,8,["item"])):"component"in n?(i(),le(ft(n.component),Oe({key:1,ref_for:!0},n.props),null,16)):(i(),le(au,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):S("",!0),k(a.$slots,"default",{},void 0,!0)]))}}),lu=we(ru,[["__scopeId","data-v-b98bc113"]]),su=e=>(rt("data-v-b6c34ac9"),e=e(),lt(),e),iu=["aria-expanded","aria-label"],uu={key:0,class:"text"},du=["innerHTML"],cu=su(()=>y("span",{class:"vpi-chevron-down text-icon"},null,-1)),vu={key:1,class:"vpi-more-horizontal icon"},mu={class:"menu"},pu=J({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const a=A(!1),t=A();Qi({el:t,onBlur:n});function n(){a.value=!1}return(o,r)=>(i(),m("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>a.value=!0),onMouseleave:r[2]||(r[2]=l=>a.value=!1)},[y("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":a.value,"aria-label":o.label,onClick:r[0]||(r[0]=l=>a.value=!a.value)},[o.button||o.icon?(i(),m("span",uu,[o.icon?(i(),m("span",{key:0,class:he([o.icon,"option-icon"])},null,2)):S("",!0),o.button?(i(),m("span",{key:1,innerHTML:o.button},null,8,du)):S("",!0),cu])):(i(),m("span",vu))],8,iu),y("div",mu,[ee(lu,{items:o.items},{default:w(()=>[k(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Fn=we(pu,[["__scopeId","data-v-b6c34ac9"]]),fu=["href","aria-label","innerHTML"],hu=J({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const a=e,t=x(()=>typeof a.icon=="object"?a.icon.svg:``);return(n,o)=>(i(),m("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,fu))}}),yu=we(hu,[["__scopeId","data-v-eee4e7cb"]]),gu={class:"VPSocialLinks"},_u=J({__name:"VPSocialLinks",props:{links:{}},setup(e){return(a,t)=>(i(),m("div",gu,[(i(!0),m(pe,null,Me(a.links,({link:n,icon:o,ariaLabel:r})=>(i(),le(yu,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),zn=we(_u,[["__scopeId","data-v-7bc22406"]]),bu={key:0,class:"group translations"},ku={class:"trans-title"},wu={key:1,class:"group"},$u={class:"item appearance"},Du={class:"label"},Pu={class:"appearance-action"},Tu={key:2,class:"group"},Mu={class:"item social-links"},xu=J({__name:"VPNavBarExtra",setup(e){const{site:a,theme:t}=Ce(),{localeLinks:n,currentLang:o}=Oa({correspondingLink:!0}),r=x(()=>n.value.length&&o.value.label||a.value.appearance||t.value.socialLinks);return(l,u)=>r.value?(i(),le(Fn,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:w(()=>[s(n).length&&s(o).label?(i(),m("div",bu,[y("p",ku,ce(s(o).label),1),(i(!0),m(pe,null,Me(s(n),d=>(i(),le(Ja,{key:d.link,item:d},null,8,["item"]))),128))])):S("",!0),s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",wu,[y("div",$u,[y("p",Du,ce(s(t).darkModeSwitchLabel||"Appearance"),1),y("div",Pu,[ee(Hn)])])])):S("",!0),s(t).socialLinks?(i(),m("div",Tu,[y("div",Mu,[ee(zn,{class:"social-links-list",links:s(t).socialLinks},null,8,["links"])])])):S("",!0)]),_:1})):S("",!0)}}),Su=we(xu,[["__scopeId","data-v-bb2aa2f0"]]),Au=e=>(rt("data-v-e5dd9c1c"),e=e(),lt(),e),Cu=["aria-expanded"],Vu=Au(()=>y("span",{class:"container"},[y("span",{class:"top"}),y("span",{class:"middle"}),y("span",{class:"bottom"})],-1)),Ou=[Vu],Iu=J({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(a,t)=>(i(),m("button",{type:"button",class:he(["VPNavBarHamburger",{active:a.active}]),"aria-label":"mobile navigation","aria-expanded":a.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>a.$emit("click"))},Ou,10,Cu))}}),Lu=we(Iu,[["__scopeId","data-v-e5dd9c1c"]]),Nu=["innerHTML"],Ru=J({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:a}=Ce();return(t,n)=>(i(),le(It,{class:he({VPNavBarMenuLink:!0,active:s(sa)(s(a).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:w(()=>[y("span",{innerHTML:t.item.text},null,8,Nu)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Bu=we(Ru,[["__scopeId","data-v-9c663999"]]),Eu=J({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const a=e,{page:t}=Ce(),n=r=>"component"in r?!1:"link"in r?sa(t.value.relativePath,r.link,!!a.item.activeMatch):r.items.some(n),o=x(()=>n(a.item));return(r,l)=>(i(),le(Fn,{class:he({VPNavBarMenuGroup:!0,active:s(sa)(s(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Hu=e=>(rt("data-v-dc692963"),e=e(),lt(),e),Yu={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Fu=Hu(()=>y("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),zu=J({__name:"VPNavBarMenu",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).nav?(i(),m("nav",Yu,[Fu,(i(!0),m(pe,null,Me(s(a).nav,o=>(i(),m(pe,{key:JSON.stringify(o)},["link"in o?(i(),le(Bu,{key:0,item:o},null,8,["item"])):"component"in o?(i(),le(ft(o.component),Oe({key:1,ref_for:!0},o.props),null,16)):(i(),le(Eu,{key:2,item:o},null,8,["item"]))],64))),128))])):S("",!0)}}),Wu=we(zu,[["__scopeId","data-v-dc692963"]]);function Uu(e){const{localeIndex:a,theme:t}=Ce();function n(o){var P,$,R;const r=o.split("."),l=(P=t.value.search)==null?void 0:P.options,u=l&&typeof l=="object",d=u&&((R=($=l.locales)==null?void 0:$[a.value])==null?void 0:R.translations)||null,b=u&&l.translations||null;let f=d,p=b,c=e;const g=r.pop();for(const W of r){let U=null;const V=c==null?void 0:c[W];V&&(U=c=V);const K=p==null?void 0:p[W];K&&(U=p=K);const se=f==null?void 0:f[W];se&&(U=f=se),V||(c=U),K||(p=U),se||(f=U)}return(f==null?void 0:f[g])??(p==null?void 0:p[g])??(c==null?void 0:c[g])??""}return n}const qu=["aria-label"],ju={class:"DocSearch-Button-Container"},Qu=y("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ku={class:"DocSearch-Button-Placeholder"},Gu=y("span",{class:"DocSearch-Button-Keys"},[y("kbd",{class:"DocSearch-Button-Key"}),y("kbd",{class:"DocSearch-Button-Key"},"K")],-1),vo=J({__name:"VPNavBarSearchButton",setup(e){const t=Uu({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,o)=>(i(),m("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":s(t)("button.buttonAriaLabel")},[y("span",ju,[Qu,y("span",Ku,ce(s(t)("button.buttonText")),1)]),Gu],8,qu))}}),Xu={class:"VPNavBarSearch"},Ju={id:"local-search"},Zu={key:1,id:"docsearch"},ed=J({__name:"VPNavBarSearch",setup(e){const a=()=>null,t=Oo(()=>Io(()=>import("./VPAlgoliaSearchBox.D1L8mbHp.js"),__vite__mapDeps([2,1]))),{theme:n}=Ce(),o=A(!1),r=A(!1),l=()=>{const c="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{var $;const P=document.createElement("link");P.id=c,P.rel="preconnect",P.href=`https://${((($=n.value.search)==null?void 0:$.options)??n.value.algolia).appId}-dsn.algolia.net`,P.crossOrigin="",document.head.appendChild(P)})};Ue(()=>{l();const c=P=>{(P.key.toLowerCase()==="k"&&(P.metaKey||P.ctrlKey)||!b(P)&&P.key==="/")&&(P.preventDefault(),u(),g())},g=()=>{window.removeEventListener("keydown",c)};window.addEventListener("keydown",c),Xt(g)});function u(){o.value||(o.value=!0,setTimeout(d,16))}function d(){const c=new Event("keydown");c.key="k",c.metaKey=!0,window.dispatchEvent(c),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||d()},16)}function b(c){const g=c.target,P=g.tagName;return g.isContentEditable||P==="INPUT"||P==="SELECT"||P==="TEXTAREA"}const f=A(!1),p="algolia";return(c,g)=>{var P;return i(),m("div",Xu,[s(p)==="local"?(i(),m(pe,{key:0},[f.value?(i(),le(s(a),{key:0,onClose:g[0]||(g[0]=$=>f.value=!1)})):S("",!0),y("div",Ju,[ee(vo,{onClick:g[1]||(g[1]=$=>f.value=!0)})])],64)):s(p)==="algolia"?(i(),m(pe,{key:1},[o.value?(i(),le(s(t),{key:0,algolia:((P=s(n).search)==null?void 0:P.options)??s(n).algolia,onVnodeBeforeMount:g[2]||(g[2]=$=>r.value=!0)},null,8,["algolia"])):S("",!0),r.value?S("",!0):(i(),m("div",Zu,[ee(vo,{onClick:u})]))],64)):S("",!0)])}}}),td=J({__name:"VPNavBarSocialLinks",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).socialLinks?(i(),le(zn,{key:0,class:"VPNavBarSocialLinks",links:s(a).socialLinks},null,8,["links"])):S("",!0)}}),ad=we(td,[["__scopeId","data-v-0394ad82"]]),nd=["href","rel","target"],od={key:1},rd={key:2},ld=J({__name:"VPNavBarTitle",setup(e){const{site:a,theme:t}=Ce(),{hasSidebar:n}=Yt(),{currentLang:o}=Oa(),r=x(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=x(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),u=x(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,b)=>(i(),m("div",{class:he(["VPNavBarTitle",{"has-sidebar":s(n)}])},[y("a",{class:"title",href:r.value??s(Bn)(s(o).link),rel:l.value,target:u.value},[k(d.$slots,"nav-bar-title-before",{},void 0,!0),s(t).logo?(i(),le(za,{key:0,class:"logo",image:s(t).logo},null,8,["image"])):S("",!0),s(t).siteTitle?(i(),m("span",od,ce(s(t).siteTitle),1)):s(t).siteTitle===void 0?(i(),m("span",rd,ce(s(a).title),1)):S("",!0),k(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,nd)],2))}}),sd=we(ld,[["__scopeId","data-v-ab179fa1"]]),id={class:"items"},ud={class:"title"},dd=J({__name:"VPNavBarTranslations",setup(e){const{theme:a}=Ce(),{localeLinks:t,currentLang:n}=Oa({correspondingLink:!0});return(o,r)=>s(t).length&&s(n).label?(i(),le(Fn,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:s(a).langMenuLabel||"Change language"},{default:w(()=>[y("div",id,[y("p",ud,ce(s(n).label),1),(i(!0),m(pe,null,Me(s(t),l=>(i(),le(Ja,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):S("",!0)}}),cd=we(dd,[["__scopeId","data-v-88af2de4"]]),vd=e=>(rt("data-v-6aa21345"),e=e(),lt(),e),md={class:"wrapper"},pd={class:"container"},fd={class:"title"},hd={class:"content"},yd={class:"content-body"},gd=vd(()=>y("div",{class:"divider"},[y("div",{class:"divider-line"})],-1)),_d=J({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const a=e,{y:t}=No(),{hasSidebar:n}=Yt(),{frontmatter:o}=Ce(),r=A({});return Rn(()=>{r.value={"has-sidebar":n.value,home:o.value.layout==="home",top:t.value===0,"screen-open":a.isScreenOpen}}),(l,u)=>(i(),m("div",{class:he(["VPNavBar",r.value])},[y("div",md,[y("div",pd,[y("div",fd,[ee(sd,null,{"nav-bar-title-before":w(()=>[k(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),y("div",hd,[y("div",yd,[k(l.$slots,"nav-bar-content-before",{},void 0,!0),ee(ed,{class:"search"}),ee(Wu,{class:"menu"}),ee(cd,{class:"translations"}),ee(ji,{class:"appearance"}),ee(ad,{class:"social-links"}),ee(Su,{class:"extra"}),k(l.$slots,"nav-bar-content-after",{},void 0,!0),ee(Lu,{class:"hamburger",active:l.isScreenOpen,onClick:u[0]||(u[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),gd],2))}}),bd=we(_d,[["__scopeId","data-v-6aa21345"]]),kd={key:0,class:"VPNavScreenAppearance"},wd={class:"text"},$d=J({__name:"VPNavScreenAppearance",setup(e){const{site:a,theme:t}=Ce();return(n,o)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",kd,[y("p",wd,ce(s(t).darkModeSwitchLabel||"Appearance"),1),ee(Hn)])):S("",!0)}}),Dd=we($d,[["__scopeId","data-v-b44890b2"]]),Pd=J({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const a=Ga("close-screen");return(t,n)=>(i(),le(It,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:s(a),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Td=we(Pd,[["__scopeId","data-v-7f31e1f6"]]),Md=J({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const a=Ga("close-screen");return(t,n)=>(i(),le(It,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:s(a)},{default:w(()=>[Ne(ce(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),jo=we(Md,[["__scopeId","data-v-19976ae1"]]),xd={class:"VPNavScreenMenuGroupSection"},Sd={key:0,class:"title"},Ad=J({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(a,t)=>(i(),m("div",xd,[a.text?(i(),m("p",Sd,ce(a.text),1)):S("",!0),(i(!0),m(pe,null,Me(a.items,n=>(i(),le(jo,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Cd=we(Ad,[["__scopeId","data-v-8133b170"]]),Vd=e=>(rt("data-v-b9ab8c58"),e=e(),lt(),e),Od=["aria-controls","aria-expanded"],Id=["innerHTML"],Ld=Vd(()=>y("span",{class:"vpi-plus button-icon"},null,-1)),Nd=["id"],Rd={key:0,class:"item"},Bd={key:1,class:"item"},Ed={key:2,class:"group"},Hd=J({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const a=e,t=A(!1),n=x(()=>`NavScreenGroup-${a.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,l)=>(i(),m("div",{class:he(["VPNavScreenMenuGroup",{open:t.value}])},[y("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[y("span",{class:"button-text",innerHTML:r.text},null,8,Id),Ld],8,Od),y("div",{id:n.value,class:"items"},[(i(!0),m(pe,null,Me(r.items,u=>(i(),m(pe,{key:JSON.stringify(u)},["link"in u?(i(),m("div",Rd,[ee(jo,{item:u},null,8,["item"])])):"component"in u?(i(),m("div",Bd,[(i(),le(ft(u.component),Oe({ref_for:!0},u.props,{"screen-menu":""}),null,16))])):(i(),m("div",Ed,[ee(Cd,{text:u.text,items:u.items},null,8,["text","items"])]))],64))),128))],8,Nd)],2))}}),Yd=we(Hd,[["__scopeId","data-v-b9ab8c58"]]),Fd={key:0,class:"VPNavScreenMenu"},zd=J({__name:"VPNavScreenMenu",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).nav?(i(),m("nav",Fd,[(i(!0),m(pe,null,Me(s(a).nav,o=>(i(),m(pe,{key:JSON.stringify(o)},["link"in o?(i(),le(Td,{key:0,item:o},null,8,["item"])):"component"in o?(i(),le(ft(o.component),Oe({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(i(),le(Yd,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):S("",!0)}}),Wd=J({__name:"VPNavScreenSocialLinks",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).socialLinks?(i(),le(zn,{key:0,class:"VPNavScreenSocialLinks",links:s(a).socialLinks},null,8,["links"])):S("",!0)}}),Qo=e=>(rt("data-v-858fe1a4"),e=e(),lt(),e),Ud=Qo(()=>y("span",{class:"vpi-languages icon lang"},null,-1)),qd=Qo(()=>y("span",{class:"vpi-chevron-down icon chevron"},null,-1)),jd={class:"list"},Qd=J({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:a,currentLang:t}=Oa({correspondingLink:!0}),n=A(!1);function o(){n.value=!n.value}return(r,l)=>s(a).length&&s(t).label?(i(),m("div",{key:0,class:he(["VPNavScreenTranslations",{open:n.value}])},[y("button",{class:"title",onClick:o},[Ud,Ne(" "+ce(s(t).label)+" ",1),qd]),y("ul",jd,[(i(!0),m(pe,null,Me(s(a),u=>(i(),m("li",{key:u.link,class:"item"},[ee(It,{class:"link",href:u.link},{default:w(()=>[Ne(ce(u.text),1)]),_:2},1032,["href"])]))),128))])],2)):S("",!0)}}),Kd=we(Qd,[["__scopeId","data-v-858fe1a4"]]),Gd={class:"container"},Xd=J({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const a=A(null),t=Ro(Xa?document.body:null);return(n,o)=>(i(),le(Ht,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:w(()=>[n.open?(i(),m("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:a,id:"VPNavScreen"},[y("div",Gd,[k(n.$slots,"nav-screen-content-before",{},void 0,!0),ee(zd,{class:"menu"}),ee(Kd,{class:"translations"}),ee(Dd,{class:"appearance"}),ee(Wd,{class:"social-links"}),k(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):S("",!0)]),_:3}))}}),Jd=we(Xd,[["__scopeId","data-v-f2779853"]]),Zd={key:0,class:"VPNav"},ec=J({__name:"VPNav",setup(e){const{isScreenOpen:a,closeScreen:t,toggleScreen:n}=Li(),{frontmatter:o}=Ce(),r=x(()=>o.value.navbar!==!1);return Bo("close-screen",t),ja(()=>{Xa&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,u)=>r.value?(i(),m("header",Zd,[ee(bd,{"is-screen-open":s(a),onToggleScreen:s(n)},{"nav-bar-title-before":w(()=>[k(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":w(()=>[k(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":w(()=>[k(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),ee(Jd,{open:s(a)},{"nav-screen-content-before":w(()=>[k(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":w(()=>[k(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):S("",!0)}}),tc=we(ec,[["__scopeId","data-v-ae24b3ad"]]),Ko=e=>(rt("data-v-b7550ba0"),e=e(),lt(),e),ac=["role","tabindex"],nc=Ko(()=>y("div",{class:"indicator"},null,-1)),oc=Ko(()=>y("span",{class:"vpi-chevron-right caret-icon"},null,-1)),rc=[oc],lc={key:1,class:"items"},sc=J({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const a=e,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:l,hasChildren:u,toggle:d}=Tl(x(()=>a.item)),b=x(()=>u.value?"section":"div"),f=x(()=>o.value?"a":"div"),p=x(()=>u.value?a.depth+2===7?"p":`h${a.depth+2}`:"p"),c=x(()=>o.value?void 0:"button"),g=x(()=>[[`level-${a.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":l.value}]);function P(R){"key"in R&&R.key!=="Enter"||!a.item.link&&d()}function $(){a.item.link&&d()}return(R,W)=>{const U=ua("VPSidebarItem",!0);return i(),le(ft(b.value),{class:he(["VPSidebarItem",g.value])},{default:w(()=>[R.item.text?(i(),m("div",Oe({key:0,class:"item",role:c.value},Xr(R.item.items?{click:P,keydown:P}:{},!0),{tabindex:R.item.items&&0}),[nc,R.item.link?(i(),le(It,{key:0,tag:f.value,class:"link",href:R.item.link,rel:R.item.rel,target:R.item.target},{default:w(()=>[(i(),le(ft(p.value),{class:"text",innerHTML:R.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(i(),le(ft(p.value),{key:1,class:"text",innerHTML:R.item.text},null,8,["innerHTML"])),R.item.collapsed!=null&&R.item.items&&R.item.items.length?(i(),m("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:$,onKeydown:Eo($,["enter"]),tabindex:"0"},rc,32)):S("",!0)],16,ac)):S("",!0),R.item.items&&R.item.items.length?(i(),m("div",lc,[R.depth<5?(i(!0),m(pe,{key:0},Me(R.item.items,V=>(i(),le(U,{key:V.text,item:V,depth:R.depth+1},null,8,["item","depth"]))),128)):S("",!0)])):S("",!0)]),_:1},8,["class"])}}}),ic=we(sc,[["__scopeId","data-v-b7550ba0"]]),uc=J({__name:"VPSidebarGroup",props:{items:{}},setup(e){const a=A(!0);let t=null;return Ue(()=>{t=setTimeout(()=>{t=null,a.value=!1},300)}),Jr(()=>{t!=null&&(clearTimeout(t),t=null)}),(n,o)=>(i(!0),m(pe,null,Me(n.items,r=>(i(),m("div",{key:r.text,class:he(["group",{"no-transition":a.value}])},[ee(ic,{item:r,depth:0},null,8,["item"])],2))),128))}}),dc=we(uc,[["__scopeId","data-v-c40bc020"]]),Go=e=>(rt("data-v-319d5ca6"),e=e(),lt(),e),cc=Go(()=>y("div",{class:"curtain"},null,-1)),vc={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},mc=Go(()=>y("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),pc=J({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:a,hasSidebar:t}=Yt(),n=e,o=A(null),r=Ro(Xa?document.body:null);Je([n,o],()=>{var u;n.open?(r.value=!0,(u=o.value)==null||u.focus()):r.value=!1},{immediate:!0,flush:"post"});const l=A(0);return Je(a,()=>{l.value+=1},{deep:!0}),(u,d)=>s(t)?(i(),m("aside",{key:0,class:he(["VPSidebar",{open:u.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=ia(()=>{},["stop"]))},[cc,y("nav",vc,[mc,k(u.$slots,"sidebar-nav-before",{},void 0,!0),(i(),le(dc,{items:s(a),key:l.value},null,8,["items"])),k(u.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):S("",!0)}}),fc=we(pc,[["__scopeId","data-v-319d5ca6"]]),hc=J({__name:"VPSkipLink",setup(e){const a=Ka(),t=A();Je(()=>a.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(i(),m(pe,null,[y("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),y("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),yc=we(hc,[["__scopeId","data-v-0f60ec36"]]),gc=J({__name:"Layout",setup(e){const{isOpen:a,open:t,close:n}=Yt(),o=Ka();Je(()=>o.path,n),Pl(a,n);const{frontmatter:r}=Ce(),l=Jt(),u=x(()=>!!l["home-hero-image"]);return Bo("hero-image-slot-exists",u),(d,b)=>{const f=ua("Content");return s(r).layout!==!1?(i(),m("div",{key:0,class:he(["Layout",s(r).pageClass])},[k(d.$slots,"layout-top",{},void 0,!0),ee(yc),ee(dl,{class:"backdrop",show:s(a),onClick:s(n)},null,8,["show","onClick"]),ee(tc,null,{"nav-bar-title-before":w(()=>[k(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":w(()=>[k(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":w(()=>[k(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":w(()=>[k(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":w(()=>[k(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),ee(Ii,{open:s(a),onOpenMenu:s(t)},null,8,["open","onOpenMenu"]),ee(fc,{open:s(a)},{"sidebar-nav-before":w(()=>[k(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":w(()=>[k(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),ee(pi,null,{"page-top":w(()=>[k(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":w(()=>[k(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":w(()=>[k(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":w(()=>[k(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":w(()=>[k(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":w(()=>[k(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":w(()=>[k(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":w(()=>[k(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":w(()=>[k(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":w(()=>[k(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":w(()=>[k(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":w(()=>[k(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":w(()=>[k(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":w(()=>[k(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":w(()=>[k(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":w(()=>[k(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),ee(_i),k(d.$slots,"layout-bottom",{},void 0,!0)],2)):(i(),le(f,{key:1}))}}}),_c=we(gc,[["__scopeId","data-v-5d98c3a5"]]),Xo={Layout:_c,enhanceApp:({app:e})=>{e.component("Badge",sl)}},bc=y("div",{style:{"margin-bottom":"10px",cursor:"pointer"}},[y("a",{href:"https://vueschool.io/the-vuejs-3-master-class?friend=JASKAR",target:"_blank"},[y("img",{src:Zr,alt:"vue school affiliate"})])],-1),kc=J({__name:"LayoutCmp",setup(e){const{Layout:a}=Xo;return(t,n)=>(i(),le(s(a),null,{"doc-before":w(()=>[bc]),_:1}))}}),wc={},$c={class:"star-and-sponsor"},Dc=y("p",null,[Ne(" ⭐ If you like the component, give it a star on "),y("a",{class:"home-link",href:"https://github.com/Vuepic/vue-datepicker",target:"_blank"},"GitHub"),Ne(" and consider "),y("a",{class:"home-link",href:"https://github.com/sponsors/Vuepic",target:"_blank"},"sponsoring"),Ne(" its development! ⭐ ")],-1),Pc=[Dc];function Tc(e,a){return i(),m("div",$c,Pc)}const Mc=we(wc,[["render",Tc]]);function be(e){const a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function Re(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function et(e,a){const t=be(e);return isNaN(a)?Re(e,NaN):(a&&t.setDate(t.getDate()+a),t)}function bt(e,a){const t=be(e);if(isNaN(a))return Re(e,NaN);if(!a)return t;const n=t.getDate(),o=Re(e,t.getTime());o.setMonth(t.getMonth()+a+1,0);const r=o.getDate();return n>=r?o:(t.setFullYear(o.getFullYear(),o.getMonth(),n),t)}function Jo(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:u=0,seconds:d=0}=a,b=be(e),f=n||t?bt(b,n+t*12):b,p=r||o?et(f,r+o*7):f,c=u+l*60,P=(d+c*60)*1e3;return Re(e,p.getTime()+P)}function xc(e,a){const t=+be(e);return Re(e,t+a)}const Zo=6048e5,Sc=864e5,Ac=6e4,er=36e5,Cc=1e3;function Vc(e,a){return xc(e,a*er)}let Oc={};function da(){return Oc}function Tt(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.weekStartsOn)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.weekStartsOn)??0,o=be(e),r=o.getDay(),l=(r=o.getTime()?t+1:a.getTime()>=l.getTime()?t:t-1}function mo(e){const a=be(e);return a.setHours(0,0,0,0),a}function Wa(e){const a=be(e),t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),+e-+t}function ar(e,a){const t=mo(e),n=mo(a),o=+t-Wa(t),r=+n-Wa(n);return Math.round((o-r)/Sc)}function Ic(e){const a=tr(e),t=Re(e,0);return t.setFullYear(a,0,4),t.setHours(0,0,0,0),fa(t)}function Lc(e,a){const t=a*3;return bt(e,t)}function Wn(e,a){return bt(e,a*12)}function po(e,a){const t=be(e),n=be(a),o=t.getTime()-n.getTime();return o<0?-1:o>0?1:o}function nr(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ma(e){if(!nr(e)&&typeof e!="number")return!1;const a=be(e);return!isNaN(Number(a))}function fo(e){const a=be(e);return Math.trunc(a.getMonth()/3)+1}function Nc(e,a){const t=be(e),n=be(a);return t.getFullYear()-n.getFullYear()}function ho(e){const a=be(e),t=a.getMonth();return a.setFullYear(a.getFullYear(),t+1,0),a.setHours(23,59,59,999),a}function Rc(e,a){const t=be(e),n=be(a),o=po(t,n),r=Math.abs(Nc(t,n));t.setFullYear(1584),n.setFullYear(1584);const l=po(t,n)===-o,u=o*(r-+l);return u===0?0:u}function or(e,a){const t=be(e.start),n=be(e.end);let o=+t>+n;const r=o?+t:+n,l=o?n:t;l.setHours(0,0,0,0);let u=1;const d=[];for(;+l<=r;)d.push(be(l)),l.setDate(l.getDate()+u),l.setHours(0,0,0,0);return o?d.reverse():d}function qt(e){const a=be(e),t=a.getMonth(),n=t-t%3;return a.setMonth(n,1),a.setHours(0,0,0,0),a}function Bc(e,a){const t=be(e.start),n=be(e.end);let o=+t>+n;const r=o?+qt(t):+qt(n);let l=qt(o?n:t),u=1;const d=[];for(;+l<=r;)d.push(be(l)),l=Lc(l,u);return o?d.reverse():d}function Sn(e){const a=be(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Un(e){const a=be(e),t=a.getFullYear();return a.setFullYear(t+1,0,0),a.setHours(23,59,59,999),a}function ha(e){const a=be(e),t=Re(e,0);return t.setFullYear(a.getFullYear(),0,1),t.setHours(0,0,0,0),t}function rr(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.weekStartsOn)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.weekStartsOn)??0,o=be(e),r=o.getDay(),l=(r{let n;const o=Ec[e];return typeof o=="string"?n=o:a===1?n=o.one:n=o.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function pa(e){return(a={})=>{const t=a.width?String(a.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Yc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Fc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},zc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Wc={date:pa({formats:Yc,defaultWidth:"full"}),time:pa({formats:Fc,defaultWidth:"full"}),dateTime:pa({formats:zc,defaultWidth:"full"})},Uc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qc=(e,a,t,n)=>Uc[e];function St(e){return(a,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let o;if(n==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,u=t!=null&&t.width?String(t.width):l;o=e.formattingValues[u]||e.formattingValues[l]}else{const l=e.defaultWidth,u=t!=null&&t.width?String(t.width):e.defaultWidth;o=e.values[u]||e.values[l]}const r=e.argumentCallback?e.argumentCallback(a):a;return o[r]}}const jc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Qc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Kc={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Gc={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Xc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Jc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Zc=(e,a)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},ev={ordinalNumber:Zc,era:St({values:jc,defaultWidth:"wide"}),quarter:St({values:Qc,defaultWidth:"wide",argumentCallback:e=>e-1}),month:St({values:Kc,defaultWidth:"wide"}),day:St({values:Gc,defaultWidth:"wide"}),dayPeriod:St({values:Xc,defaultWidth:"wide",formattingValues:Jc,defaultFormattingWidth:"wide"})};function At(e){return(a,t={})=>{const n=t.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],r=a.match(o);if(!r)return null;const l=r[0],u=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(u)?av(u,p=>p.test(l)):tv(u,p=>p.test(l));let b;b=e.valueCallback?e.valueCallback(d):d,b=t.valueCallback?t.valueCallback(b):b;const f=a.slice(l.length);return{value:b,rest:f}}}function tv(e,a){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&a(e[t]))return t}function av(e,a){for(let t=0;t{const n=a.match(e.matchPattern);if(!n)return null;const o=n[0],r=a.match(e.parsePattern);if(!r)return null;let l=e.valueCallback?e.valueCallback(r[0]):r[0];l=t.valueCallback?t.valueCallback(l):l;const u=a.slice(o.length);return{value:l,rest:u}}}const nv=/^(\d+)(th|st|nd|rd)?/i,ov=/\d+/i,rv={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},lv={any:[/^b/i,/^(a|c)/i]},sv={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},iv={any:[/1/i,/2/i,/3/i,/4/i]},uv={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},dv={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},cv={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},vv={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},mv={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},pv={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},fv={ordinalNumber:lr({matchPattern:nv,parsePattern:ov,valueCallback:e=>parseInt(e,10)}),era:At({matchPatterns:rv,defaultMatchWidth:"wide",parsePatterns:lv,defaultParseWidth:"any"}),quarter:At({matchPatterns:sv,defaultMatchWidth:"wide",parsePatterns:iv,defaultParseWidth:"any",valueCallback:e=>e+1}),month:At({matchPatterns:uv,defaultMatchWidth:"wide",parsePatterns:dv,defaultParseWidth:"any"}),day:At({matchPatterns:cv,defaultMatchWidth:"wide",parsePatterns:vv,defaultParseWidth:"any"}),dayPeriod:At({matchPatterns:mv,defaultMatchWidth:"any",parsePatterns:pv,defaultParseWidth:"any"})},sr={code:"en-US",formatDistance:Hc,formatLong:Wc,formatRelative:qc,localize:ev,match:fv,options:{weekStartsOn:0,firstWeekContainsDate:1}};function hv(e){const a=be(e);return ar(a,ha(a))+1}function qn(e){const a=be(e),t=+fa(a)-+Ic(a);return Math.round(t/Zo)+1}function jn(e,a){var f,p,c,g;const t=be(e),n=t.getFullYear(),o=da(),r=(a==null?void 0:a.firstWeekContainsDate)??((p=(f=a==null?void 0:a.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??o.firstWeekContainsDate??((g=(c=o.locale)==null?void 0:c.options)==null?void 0:g.firstWeekContainsDate)??1,l=Re(e,0);l.setFullYear(n+1,0,r),l.setHours(0,0,0,0);const u=Tt(l,a),d=Re(e,0);d.setFullYear(n,0,r),d.setHours(0,0,0,0);const b=Tt(d,a);return t.getTime()>=u.getTime()?n+1:t.getTime()>=b.getTime()?n:n-1}function yv(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.firstWeekContainsDate)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??t.firstWeekContainsDate??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.firstWeekContainsDate)??1,o=jn(e,a),r=Re(e,0);return r.setFullYear(o,0,n),r.setHours(0,0,0,0),Tt(r,a)}function Qn(e,a){const t=be(e),n=+Tt(t,a)-+yv(t,a);return Math.round(n/Zo)+1}function Ee(e,a){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(a,"0");return t+n}const Wt={y(e,a){const t=e.getFullYear(),n=t>0?t:1-t;return Ee(a==="yy"?n%100:n,a.length)},M(e,a){const t=e.getMonth();return a==="M"?String(t+1):Ee(t+1,2)},d(e,a){return Ee(e.getDate(),a.length)},a(e,a){const t=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,a){return Ee(e.getHours()%12||12,a.length)},H(e,a){return Ee(e.getHours(),a.length)},m(e,a){return Ee(e.getMinutes(),a.length)},s(e,a){return Ee(e.getSeconds(),a.length)},S(e,a){const t=a.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,t-3));return Ee(o,a.length)}},ca={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},go={G:function(e,a,t){const n=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(e,a,t){if(a==="yo"){const n=e.getFullYear(),o=n>0?n:1-n;return t.ordinalNumber(o,{unit:"year"})}return Wt.y(e,a)},Y:function(e,a,t,n){const o=jn(e,n),r=o>0?o:1-o;if(a==="YY"){const l=r%100;return Ee(l,2)}return a==="Yo"?t.ordinalNumber(r,{unit:"year"}):Ee(r,a.length)},R:function(e,a){const t=tr(e);return Ee(t,a.length)},u:function(e,a){const t=e.getFullYear();return Ee(t,a.length)},Q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(n);case"QQ":return Ee(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(n);case"qq":return Ee(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,a,t){const n=e.getMonth();switch(a){case"M":case"MM":return Wt.M(e,a);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(e,a,t){const n=e.getMonth();switch(a){case"L":return String(n+1);case"LL":return Ee(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(e,a,t,n){const o=Qn(e,n);return a==="wo"?t.ordinalNumber(o,{unit:"week"}):Ee(o,a.length)},I:function(e,a,t){const n=qn(e);return a==="Io"?t.ordinalNumber(n,{unit:"week"}):Ee(n,a.length)},d:function(e,a,t){return a==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Wt.d(e,a)},D:function(e,a,t){const n=hv(e);return a==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):Ee(n,a.length)},E:function(e,a,t){const n=e.getDay();switch(a){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(e,a,t,n){const o=e.getDay(),r=(o-n.weekStartsOn+8)%7||7;switch(a){case"e":return String(r);case"ee":return Ee(r,2);case"eo":return t.ordinalNumber(r,{unit:"day"});case"eee":return t.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(o,{width:"short",context:"formatting"});case"eeee":default:return t.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,t,n){const o=e.getDay(),r=(o-n.weekStartsOn+8)%7||7;switch(a){case"c":return String(r);case"cc":return Ee(r,a.length);case"co":return t.ordinalNumber(r,{unit:"day"});case"ccc":return t.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(o,{width:"narrow",context:"standalone"});case"cccccc":return t.day(o,{width:"short",context:"standalone"});case"cccc":default:return t.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,t){const n=e.getDay(),o=n===0?7:n;switch(a){case"i":return String(o);case"ii":return Ee(o,a.length);case"io":return t.ordinalNumber(o,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(e,a,t){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,t){const n=e.getHours();let o;switch(n===12?o=ca.noon:n===0?o=ca.midnight:o=n/12>=1?"pm":"am",a){case"b":case"bb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,t){const n=e.getHours();let o;switch(n>=17?o=ca.evening:n>=12?o=ca.afternoon:n>=4?o=ca.morning:o=ca.night,a){case"B":case"BB":case"BBB":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,t){if(a==="ho"){let n=e.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return Wt.h(e,a)},H:function(e,a,t){return a==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Wt.H(e,a)},K:function(e,a,t){const n=e.getHours()%12;return a==="Ko"?t.ordinalNumber(n,{unit:"hour"}):Ee(n,a.length)},k:function(e,a,t){let n=e.getHours();return n===0&&(n=24),a==="ko"?t.ordinalNumber(n,{unit:"hour"}):Ee(n,a.length)},m:function(e,a,t){return a==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wt.m(e,a)},s:function(e,a,t){return a==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Wt.s(e,a)},S:function(e,a){return Wt.S(e,a)},X:function(e,a,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(a){case"X":return bo(n);case"XXXX":case"XX":return aa(n);case"XXXXX":case"XXX":default:return aa(n,":")}},x:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"x":return bo(n);case"xxxx":case"xx":return aa(n);case"xxxxx":case"xxx":default:return aa(n,":")}},O:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+_o(n,":");case"OOOO":default:return"GMT"+aa(n,":")}},z:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+_o(n,":");case"zzzz":default:return"GMT"+aa(n,":")}},t:function(e,a,t){const n=Math.trunc(e.getTime()/1e3);return Ee(n,a.length)},T:function(e,a,t){const n=e.getTime();return Ee(n,a.length)}};function _o(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),r=n%60;return r===0?t+String(o):t+String(o)+a+Ee(r,2)}function bo(e,a){return e%60===0?(e>0?"-":"+")+Ee(Math.abs(e)/60,2):aa(e,a)}function aa(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),o=Ee(Math.trunc(n/60),2),r=Ee(n%60,2);return t+o+a+r}const ko=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},ir=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},gv=(e,a)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],o=t[2];if(!o)return ko(e,a);let r;switch(n){case"P":r=a.dateTime({width:"short"});break;case"PP":r=a.dateTime({width:"medium"});break;case"PPP":r=a.dateTime({width:"long"});break;case"PPPP":default:r=a.dateTime({width:"full"});break}return r.replace("{{date}}",ko(n,a)).replace("{{time}}",ir(o,a))},An={p:ir,P:gv},_v=/^D+$/,bv=/^Y+$/,kv=["D","DD","YY","YYYY"];function ur(e){return _v.test(e)}function dr(e){return bv.test(e)}function Cn(e,a,t){const n=wv(e,a,t);if(console.warn(n),kv.includes(e))throw new RangeError(n)}function wv(e,a,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const $v=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dv=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pv=/^'([^]*?)'?$/,Tv=/''/g,Mv=/[a-zA-Z]/;function $t(e,a,t){var f,p,c,g,P,$,R,W;const n=da(),o=(t==null?void 0:t.locale)??n.locale??sr,r=(t==null?void 0:t.firstWeekContainsDate)??((p=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(c=n.locale)==null?void 0:c.options)==null?void 0:g.firstWeekContainsDate)??1,l=(t==null?void 0:t.weekStartsOn)??(($=(P=t==null?void 0:t.locale)==null?void 0:P.options)==null?void 0:$.weekStartsOn)??n.weekStartsOn??((W=(R=n.locale)==null?void 0:R.options)==null?void 0:W.weekStartsOn)??0,u=be(e);if(!Ma(u))throw new RangeError("Invalid time value");let d=a.match(Dv).map(U=>{const V=U[0];if(V==="p"||V==="P"){const K=An[V];return K(U,o.formatLong)}return U}).join("").match($v).map(U=>{if(U==="''")return{isToken:!1,value:"'"};const V=U[0];if(V==="'")return{isToken:!1,value:xv(U)};if(go[V])return{isToken:!0,value:U};if(V.match(Mv))throw new RangeError("Format string contains an unescaped latin alphabet character `"+V+"`");return{isToken:!1,value:U}});o.localize.preprocessor&&(d=o.localize.preprocessor(u,d));const b={firstWeekContainsDate:r,weekStartsOn:l,locale:o};return d.map(U=>{if(!U.isToken)return U.value;const V=U.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&dr(V)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&ur(V))&&Cn(V,a,String(e));const K=go[V[0]];return K(u,V,o.localize,b)}).join("")}function xv(e){const a=e.match(Pv);return a?a[1].replace(Tv,"'"):e}function Sv(e){return be(e).getDay()}function Av(e){const a=be(e),t=a.getFullYear(),n=a.getMonth(),o=Re(e,0);return o.setFullYear(t,n+1,0),o.setHours(0,0,0,0),o.getDate()}function Cv(){return Object.assign({},da())}function Bt(e){return be(e).getHours()}function Vv(e){let t=be(e).getDay();return t===0&&(t=7),t}function Gt(e){return be(e).getMinutes()}function Se(e){return be(e).getMonth()}function ya(e){return be(e).getSeconds()}function Pe(e){return be(e).getFullYear()}function ga(e,a){const t=be(e),n=be(a);return t.getTime()>n.getTime()}function Aa(e,a){const t=be(e),n=be(a);return+t<+n}function oa(e,a){const t=be(e),n=be(a);return+t==+n}function Ov(e,a){const t=a instanceof Date?Re(a,0):new a(0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}const Iv=10;class cr{constructor(){ye(this,"subPriority",0)}validate(a,t){return!0}}class Lv extends cr{constructor(a,t,n,o,r){super(),this.value=a,this.validateValue=t,this.setValue=n,this.priority=o,r&&(this.subPriority=r)}validate(a,t){return this.validateValue(a,this.value,t)}set(a,t,n){return this.setValue(a,t,this.value,n)}}class Nv extends cr{constructor(){super(...arguments);ye(this,"priority",Iv);ye(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:Re(t,Ov(t,Date))}}class Be{run(a,t,n,o){const r=this.parse(a,t,n,o);return r?{setter:new Lv(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(a,t,n){return!0}}class Rv extends Be{constructor(){super(...arguments);ye(this,"priority",140);ye(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,o){switch(n){case"G":case"GG":case"GGG":return o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"});case"GGGGG":return o.era(t,{width:"narrow"});case"GGGG":default:return o.era(t,{width:"wide"})||o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"})}}set(t,n,o){return n.era=o,t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}const Ge={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ct={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Xe(e,a){return e&&{value:a(e.value),rest:e.rest}}function We(e,a){const t=a.match(e);return t?{value:parseInt(t[0],10),rest:a.slice(t[0].length)}:null}function Vt(e,a){const t=a.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:a.slice(1)};const n=t[1]==="+"?1:-1,o=t[2]?parseInt(t[2],10):0,r=t[3]?parseInt(t[3],10):0,l=t[5]?parseInt(t[5],10):0;return{value:n*(o*er+r*Ac+l*Cc),rest:a.slice(t[0].length)}}function vr(e){return We(Ge.anyDigitsSigned,e)}function je(e,a){switch(e){case 1:return We(Ge.singleDigit,a);case 2:return We(Ge.twoDigits,a);case 3:return We(Ge.threeDigits,a);case 4:return We(Ge.fourDigits,a);default:return We(new RegExp("^\\d{1,"+e+"}"),a)}}function Ua(e,a){switch(e){case 1:return We(Ge.singleDigitSigned,a);case 2:return We(Ge.twoDigitsSigned,a);case 3:return We(Ge.threeDigitsSigned,a);case 4:return We(Ge.fourDigitsSigned,a);default:return We(new RegExp("^-?\\d{1,"+e+"}"),a)}}function Kn(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function mr(e,a){const t=a>0,n=t?a:1-a;let o;if(n<=50)o=e||100;else{const r=n+50,l=Math.trunc(r/100)*100,u=e>=r%100;o=e+l-(u?100:0)}return t?o:1-o}function pr(e){return e%400===0||e%4===0&&e%100!==0}class Bv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,o){const r=l=>({year:l,isTwoDigitYear:n==="yy"});switch(n){case"y":return Xe(je(4,t),r);case"yo":return Xe(o.ordinalNumber(t,{unit:"year"}),r);default:return Xe(je(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,o){const r=t.getFullYear();if(o.isTwoDigitYear){const u=mr(o.year,r);return t.setFullYear(u,0,1),t.setHours(0,0,0,0),t}const l=!("era"in n)||n.era===1?o.year:1-o.year;return t.setFullYear(l,0,1),t.setHours(0,0,0,0),t}}class Ev extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,o){const r=l=>({year:l,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Xe(je(4,t),r);case"Yo":return Xe(o.ordinalNumber(t,{unit:"year"}),r);default:return Xe(je(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,o,r){const l=jn(t,r);if(o.isTwoDigitYear){const d=mr(o.year,l);return t.setFullYear(d,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,r)}const u=!("era"in n)||n.era===1?o.year:1-o.year;return t.setFullYear(u,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,r)}}class Hv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Ua(n==="R"?4:n.length,t)}set(t,n,o){const r=Re(t,0);return r.setFullYear(o,0,4),r.setHours(0,0,0,0),fa(r)}}class Yv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Ua(n==="u"?4:n.length,t)}set(t,n,o){return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class Fv extends Be{constructor(){super(...arguments);ye(this,"priority",120);ye(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"Q":case"QQ":return je(n.length,t);case"Qo":return o.ordinalNumber(t,{unit:"quarter"});case"QQQ":return o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(t,{width:"wide",context:"formatting"})||o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}}class zv extends Be{constructor(){super(...arguments);ye(this,"priority",120);ye(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"q":case"qq":return je(n.length,t);case"qo":return o.ordinalNumber(t,{unit:"quarter"});case"qqq":return o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(t,{width:"wide",context:"standalone"})||o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}}class Wv extends Be{constructor(){super(...arguments);ye(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ye(this,"priority",110)}parse(t,n,o){const r=l=>l-1;switch(n){case"M":return Xe(We(Ge.month,t),r);case"MM":return Xe(je(2,t),r);case"Mo":return Xe(o.ordinalNumber(t,{unit:"month"}),r);case"MMM":return o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(t,{width:"wide",context:"formatting"})||o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}}class Uv extends Be{constructor(){super(...arguments);ye(this,"priority",110);ye(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,o){const r=l=>l-1;switch(n){case"L":return Xe(We(Ge.month,t),r);case"LL":return Xe(je(2,t),r);case"Lo":return Xe(o.ordinalNumber(t,{unit:"month"}),r);case"LLL":return o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(t,{width:"wide",context:"standalone"})||o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}}function qv(e,a,t){const n=be(e),o=Qn(n,t)-a;return n.setDate(n.getDate()-o*7),n}class jv extends Be{constructor(){super(...arguments);ye(this,"priority",100);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,o){switch(n){case"w":return We(Ge.week,t);case"wo":return o.ordinalNumber(t,{unit:"week"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o,r){return Tt(qv(t,o,r),r)}}function Qv(e,a){const t=be(e),n=qn(t)-a;return t.setDate(t.getDate()-n*7),t}class Kv extends Be{constructor(){super(...arguments);ye(this,"priority",100);ye(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,o){switch(n){case"I":return We(Ge.week,t);case"Io":return o.ordinalNumber(t,{unit:"week"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o){return fa(Qv(t,o))}}const Gv=[31,28,31,30,31,30,31,31,30,31,30,31],Xv=[31,29,31,30,31,30,31,31,30,31,30,31];class Jv extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"subPriority",1);ye(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"d":return We(Ge.date,t);case"do":return o.ordinalNumber(t,{unit:"date"});default:return je(n.length,t)}}validate(t,n){const o=t.getFullYear(),r=pr(o),l=t.getMonth();return r?n>=1&&n<=Xv[l]:n>=1&&n<=Gv[l]}set(t,n,o){return t.setDate(o),t.setHours(0,0,0,0),t}}class Zv extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"subpriority",1);ye(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,o){switch(n){case"D":case"DD":return We(Ge.dayOfYear,t);case"Do":return o.ordinalNumber(t,{unit:"date"});default:return je(n.length,t)}}validate(t,n){const o=t.getFullYear();return pr(o)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,o){return t.setMonth(0,o),t.setHours(0,0,0,0),t}}function Gn(e,a,t){var p,c,g,P;const n=da(),o=(t==null?void 0:t.weekStartsOn)??((c=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((P=(g=n.locale)==null?void 0:g.options)==null?void 0:P.weekStartsOn)??0,r=be(e),l=r.getDay(),d=(a%7+7)%7,b=7-o,f=a<0||a>6?a-(l+b)%7:(d+b)%7-(l+b)%7;return et(r,f)}class em extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"E":case"EE":case"EEE":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}class tm extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,o,r){const l=u=>{const d=Math.floor((u-1)/7)*7;return(u+r.weekStartsOn+6)%7+d};switch(n){case"e":case"ee":return Xe(je(n.length,t),l);case"eo":return Xe(o.ordinalNumber(t,{unit:"day"}),l);case"eee":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"eeeee":return o.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}class am extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,o,r){const l=u=>{const d=Math.floor((u-1)/7)*7;return(u+r.weekStartsOn+6)%7+d};switch(n){case"c":case"cc":return Xe(je(n.length,t),l);case"co":return Xe(o.ordinalNumber(t,{unit:"day"}),l);case"ccc":return o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case"ccccc":return o.day(t,{width:"narrow",context:"standalone"});case"cccccc":return o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(t,{width:"wide",context:"standalone"})||o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}function nm(e,a){const t=be(e),n=Vv(t),o=a-n;return et(t,o)}class om extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,o){const r=l=>l===0?7:l;switch(n){case"i":case"ii":return je(n.length,t);case"io":return o.ordinalNumber(t,{unit:"day"});case"iii":return Xe(o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return Xe(o.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Xe(o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return Xe(o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,n){return n>=1&&n<=7}set(t,n,o){return t=nm(t,o),t.setHours(0,0,0,0),t}}class rm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,o){switch(n){case"a":case"aa":case"aaa":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class lm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,o){switch(n){case"b":case"bb":case"bbb":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class sm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,o){switch(n){case"B":case"BB":case"BBB":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class im extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,o){switch(n){case"h":return We(Ge.hour12h,t);case"ho":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,o){const r=t.getHours()>=12;return r&&o<12?t.setHours(o+12,0,0,0):!r&&o===12?t.setHours(0,0,0,0):t.setHours(o,0,0,0),t}}class um extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,o){switch(n){case"H":return We(Ge.hour23h,t);case"Ho":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,o){return t.setHours(o,0,0,0),t}}class dm extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,o){switch(n){case"K":return We(Ge.hour11h,t);case"Ko":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.getHours()>=12&&o<12?t.setHours(o+12,0,0,0):t.setHours(o,0,0,0),t}}class cm extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,o){switch(n){case"k":return We(Ge.hour24h,t);case"ko":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,o){const r=o<=24?o%24:o;return t.setHours(r,0,0,0),t}}class vm extends Be{constructor(){super(...arguments);ye(this,"priority",60);ye(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"m":return We(Ge.minute,t);case"mo":return o.ordinalNumber(t,{unit:"minute"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setMinutes(o,0,0),t}}class mm extends Be{constructor(){super(...arguments);ye(this,"priority",50);ye(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"s":return We(Ge.second,t);case"so":return o.ordinalNumber(t,{unit:"second"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setSeconds(o,0),t}}class pm extends Be{constructor(){super(...arguments);ye(this,"priority",30);ye(this,"incompatibleTokens",["t","T"])}parse(t,n){const o=r=>Math.trunc(r*Math.pow(10,-n.length+3));return Xe(je(n.length,t),o)}set(t,n,o){return t.setMilliseconds(o),t}}class fm extends Be{constructor(){super(...arguments);ye(this,"priority",10);ye(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Vt(Ct.basicOptionalMinutes,t);case"XX":return Vt(Ct.basic,t);case"XXXX":return Vt(Ct.basicOptionalSeconds,t);case"XXXXX":return Vt(Ct.extendedOptionalSeconds,t);case"XXX":default:return Vt(Ct.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Re(t,t.getTime()-Wa(t)-o)}}class hm extends Be{constructor(){super(...arguments);ye(this,"priority",10);ye(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Vt(Ct.basicOptionalMinutes,t);case"xx":return Vt(Ct.basic,t);case"xxxx":return Vt(Ct.basicOptionalSeconds,t);case"xxxxx":return Vt(Ct.extendedOptionalSeconds,t);case"xxx":default:return Vt(Ct.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Re(t,t.getTime()-Wa(t)-o)}}class ym extends Be{constructor(){super(...arguments);ye(this,"priority",40);ye(this,"incompatibleTokens","*")}parse(t){return vr(t)}set(t,n,o){return[Re(t,o*1e3),{timestampIsSet:!0}]}}class gm extends Be{constructor(){super(...arguments);ye(this,"priority",20);ye(this,"incompatibleTokens","*")}parse(t){return vr(t)}set(t,n,o){return[Re(t,o),{timestampIsSet:!0}]}}const _m={G:new Rv,y:new Bv,Y:new Ev,R:new Hv,u:new Yv,Q:new Fv,q:new zv,M:new Wv,L:new Uv,w:new jv,I:new Kv,d:new Jv,D:new Zv,E:new em,e:new tm,c:new am,i:new om,a:new rm,b:new lm,B:new sm,h:new im,H:new um,K:new dm,k:new cm,m:new vm,s:new mm,S:new pm,X:new fm,x:new hm,t:new ym,T:new gm},bm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,km=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,wm=/^'([^]*?)'?$/,$m=/''/g,Dm=/\S/,Pm=/[a-zA-Z]/;function Vn(e,a,t,n){var $,R,W,U,V,K,se,q;const o=Cv(),r=(n==null?void 0:n.locale)??o.locale??sr,l=(n==null?void 0:n.firstWeekContainsDate)??((R=($=n==null?void 0:n.locale)==null?void 0:$.options)==null?void 0:R.firstWeekContainsDate)??o.firstWeekContainsDate??((U=(W=o.locale)==null?void 0:W.options)==null?void 0:U.firstWeekContainsDate)??1,u=(n==null?void 0:n.weekStartsOn)??((K=(V=n==null?void 0:n.locale)==null?void 0:V.options)==null?void 0:K.weekStartsOn)??o.weekStartsOn??((q=(se=o.locale)==null?void 0:se.options)==null?void 0:q.weekStartsOn)??0;if(a==="")return e===""?be(t):Re(t,NaN);const d={firstWeekContainsDate:l,weekStartsOn:u,locale:r},b=[new Nv],f=a.match(km).map(I=>{const te=I[0];if(te in An){const G=An[te];return G(I,r.formatLong)}return I}).join("").match(bm),p=[];for(let I of f){!(n!=null&&n.useAdditionalWeekYearTokens)&&dr(I)&&Cn(I,a,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&ur(I)&&Cn(I,a,e);const te=I[0],G=_m[te];if(G){const{incompatibleTokens:F}=G;if(Array.isArray(F)){const _e=p.find(ke=>F.includes(ke.token)||ke.token===te);if(_e)throw new RangeError(`The format string mustn't contain \`${_e.fullToken}\` and \`${I}\` at the same time`)}else if(G.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${I}\` and any other token at the same time`);p.push({token:te,fullToken:I});const ve=G.run(e,I,r.match,d);if(!ve)return Re(t,NaN);b.push(ve.setter),e=ve.rest}else{if(te.match(Pm))throw new RangeError("Format string contains an unescaped latin alphabet character `"+te+"`");if(I==="''"?I="'":te==="'"&&(I=Tm(I)),e.indexOf(I)===0)e=e.slice(I.length);else return Re(t,NaN)}}if(e.length>0&&Dm.test(e))return Re(t,NaN);const c=b.map(I=>I.priority).sort((I,te)=>te-I).filter((I,te,G)=>G.indexOf(I)===te).map(I=>b.filter(te=>te.priority===I).sort((te,G)=>G.subPriority-te.subPriority)).map(I=>I[0]);let g=be(t);if(isNaN(g.getTime()))return Re(t,NaN);const P={};for(const I of c){if(!I.validate(g,d))return Re(t,NaN);const te=I.set(g,P,d);Array.isArray(te)?(g=te[0],Object.assign(P,te[1])):g=te}return Re(t,g)}function Tm(e){return e.match(wm)[1].replace($m,"'")}function wo(e,a){const t=qt(e),n=qt(a);return+t==+n}function fr(e,a){return et(e,-a)}function hr(e,a){const t=be(e),n=t.getFullYear(),o=t.getDate(),r=Re(e,0);r.setFullYear(n,a,15),r.setHours(0,0,0,0);const l=Av(r);return t.setMonth(a,Math.min(o,l)),t}function He(e,a){let t=be(e);return isNaN(+t)?Re(e,NaN):(a.year!=null&&t.setFullYear(a.year),a.month!=null&&(t=hr(t,a.month)),a.date!=null&&t.setDate(a.date),a.hours!=null&&t.setHours(a.hours),a.minutes!=null&&t.setMinutes(a.minutes),a.seconds!=null&&t.setSeconds(a.seconds),a.milliseconds!=null&&t.setMilliseconds(a.milliseconds),t)}function Mm(e,a){const t=be(e);return t.setHours(a),t}function yr(e,a){const t=be(e);return t.setMilliseconds(a),t}function xm(e,a){const t=be(e);return t.setMinutes(a),t}function gr(e,a){const t=be(e);return t.setSeconds(a),t}function Ot(e,a){const t=be(e);return isNaN(+t)?Re(e,NaN):(t.setFullYear(a),t)}function Et(e,a){return bt(e,-a)}function Sm(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:u=0,seconds:d=0}=a,b=Et(e,n+t*12),f=fr(b,r+o*7),p=u+l*60,g=(d+p*60)*1e3;return Re(e,f.getTime()-g)}function _r(e,a){return Wn(e,-a)}function ka(){const e=al();return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[y("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),y("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),y("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),y("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ka.compatConfig={MODE:3};function br(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),y("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}br.compatConfig={MODE:3};function Xn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Xn.compatConfig={MODE:3};function Jn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}Jn.compatConfig={MODE:3};function Zn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),y("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Zn.compatConfig={MODE:3};function eo(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}eo.compatConfig={MODE:3};function to(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}to.compatConfig={MODE:3};const ht=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),ao=(e,a,t)=>On(e,a,t)||Z(),Am=(e,a,t)=>{const n=a.dateInTz?ht(new Date(e),a.dateInTz):Z(e);return t?vt(n,!0):n},On=(e,a,t)=>{if(!e)return null;const n=t?vt(Z(e),!0):Z(e);return a?a.exactMatch?Am(e,a,t):ht(n,a.timezone):n},Cm=e=>{if(!e)return 0;const a=new Date,t=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),n=new Date(a.toLocaleString("en-US",{timeZone:e})),o=n.getTimezoneOffset()/60;return(+t-+n)/(1e3*60*60)-o};var Dt=(e=>(e.month="month",e.year="year",e))(Dt||{}),na=(e=>(e.top="top",e.bottom="bottom",e))(na||{}),ra=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(ra||{}),it=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(it||{});const Vm=["timestamp","date","iso"];var dt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(dt||{}),Fe=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Fe||{});function $o(e){return a=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${a}T00:00:00+00:00`)).slice(0,2)}function Om(e){return a=>$t(ht(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const Im=(e,a,t)=>{const n=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=n.map(Om(e))}catch{o=n.map($o(a))}else o=n.map($o(a));const r=o.slice(0,t),l=o.slice(t+1,o.length);return[o[t]].concat(...l).concat(...r)},no=(e,a,t)=>{const n=[];for(let o=+e[0];o<=+e[1];o++)n.push({value:+o,text:Dr(o,a)});return t?n.reverse():n},kr=(e,a,t)=>{const n=[1,2,3,4,5,6,7,8,9,10,11,12].map(r=>{const l=r<10?`0${r}`:r;return new Date(`2017-${l}-01T00:00:00+00:00`)});if(e!==null)try{const r=t==="long"?"LLLL":"LLL";return n.map((l,u)=>{const d=$t(ht(l,"UTC"),r,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:u}})}catch{}const o=new Intl.DateTimeFormat(a,{month:t,timeZone:"UTC"});return n.map((r,l)=>{const u=o.format(r);return{text:u.charAt(0).toUpperCase()+u.substring(1),value:l}})},Lm=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],tt=e=>{const a=s(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},Nm=e=>({type:"dot",...e??{}}),wr=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,oo={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},nt=e=>e,Do=e=>e===0?e:!e||isNaN(+e)?null:+e,Po=e=>e===null,$r=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},Rm=e=>{const a=[],t=n=>n.filter(o=>o);for(let n=0;n{const n=t!=null,o=a!=null;if(!n&&!o)return!1;const r=+t,l=+a;return n&&o?+e>r||+er:o?+eRm(e).map(t=>t.map(n=>{const{active:o,disabled:r,isBetween:l,highlighted:u}=a(n);return{...n,active:o,disabled:r,className:{dp__overlay_cell_active:o,dp__overlay_cell:!o,dp__overlay_cell_disabled:r,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:r&&o,dp__cell_in_between:l,"dp--highlighted":u}}})),Qt=(e,a,t=!1)=>{e&&a.allowStopPropagation&&(t&&e.stopImmediatePropagation(),e.stopPropagation())},Bm=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function Em(e,a){let t=[...document.querySelectorAll(Bm())];t=t.filter(o=>!e.contains(o)||o.hasAttribute("data-datepicker-instance"));const n=t.indexOf(e);if(n>=0&&(a?n-1>=0:n+1<=t.length))return t[n+(a?-1:1)]}const In=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),Dr=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),ro=e=>$t(e,"dd-MM-yyyy"),pn=e=>Array.isArray(e),qa=(e,a)=>a.get(ro(e)),Hm=(e,a)=>e?a?a instanceof Map?!!qa(e,a):a(Z(e)):!1:!0,ct=(e,a,t=!1,n)=>{if(e.key===Fe.enter||e.key===Fe.space)return t&&e.preventDefault(),a();if(n)return n(e)},Ym=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,To=(e,a,t,n,o,r)=>{const l=Vn(e,a.slice(0,e.length),new Date,{locale:r});return Ma(l)&&nr(l)?n||o?l:He(l,{hours:+t.hours,minutes:+(t==null?void 0:t.minutes),seconds:+(t==null?void 0:t.seconds),milliseconds:0}):null},Fm=(e,a,t,n,o,r)=>{const l=Array.isArray(t)?t[0]:t;if(typeof a=="string")return To(e,a,l,n,o,r);if(Array.isArray(a)){let u=null;for(const d of a)if(u=To(e,d,l,n,o,r),u)break;return u}return typeof a=="function"?a(e):null},Z=e=>e?new Date(e):new Date,zm=(e,a,t)=>{if(a){const o=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0"),l=e.getHours().toString().padStart(2,"0"),u=e.getMinutes().toString().padStart(2,"0"),d=t?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${r}T${l}:${u}:${d}.000Z`}const n=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(n).toISOString()},vt=(e,a)=>{const t=Z(JSON.parse(JSON.stringify(e))),n=He(t,{hours:0,minutes:0,seconds:0,milliseconds:0});return a?Sn(n):n},Kt=(e,a,t,n)=>{let o=e?Z(e):Z();return(a||a===0)&&(o=Mm(o,+a)),(t||t===0)&&(o=xm(o,+t)),(n||n===0)&&(o=gr(o,+n)),yr(o,0)},qe=(e,a)=>!e||!a?!1:Aa(vt(e),vt(a)),Ve=(e,a)=>!e||!a?!1:oa(vt(e),vt(a)),Ke=(e,a)=>!e||!a?!1:ga(vt(e),vt(a)),Za=(e,a,t)=>e!=null&&e[0]&&e!=null&&e[1]?Ke(t,e[0])&&qe(t,e[1]):e!=null&&e[0]&&a?Ke(t,e[0])&&qe(t,a)||qe(t,e[0])&&Ke(t,a):!1,Pt=e=>{const a=He(new Date(e),{date:1});return vt(a)},fn=(e,a,t)=>a&&(t||t===0)?Object.fromEntries(["hours","minutes","seconds"].map(n=>n===a?[n,t]:[n,isNaN(+e[n])?void 0:+e[n]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},la=e=>({hours:Bt(e),minutes:Gt(e),seconds:ya(e)}),Pr=(e,a)=>{if(a){const t=Pe(Z(a));if(t>e)return 12;if(t===e)return Se(Z(a))}},Tr=(e,a)=>{if(a){const t=Pe(Z(a));return t{if(e)return Pe(Z(e))},Mr=(e,a)=>{const t=Ke(e,a)?a:e,n=Ke(a,e)?a:e;return or({start:t,end:n})},Wm=e=>{const a=bt(e,1);return{month:Se(a),year:Pe(a)}},Nt=(e,a)=>{const t=Tt(e,{weekStartsOn:+a}),n=rr(e,{weekStartsOn:+a});return[t,n]},xr=(e,a)=>{const t={hours:Bt(Z()),minutes:Gt(Z()),seconds:a?ya(Z()):0};return Object.assign(t,e)},jt=(e,a,t)=>[He(Z(e),{date:1}),He(Z(),{month:a,year:t,date:1})],Rt=(e,a,t)=>{let n=e?Z(e):Z();return(a||a===0)&&(n=hr(n,a)),t&&(n=Ot(n,t)),n},Sr=(e,a,t,n,o)=>{if(!n||o&&!a||!o&&!t)return!1;const r=o?bt(e,1):Et(e,1),l=[Se(r),Pe(r)];return o?!qm(...l,a):!Um(...l,t)},Um=(e,a,t)=>qe(...jt(t,e,a))||Ve(...jt(t,e,a)),qm=(e,a,t)=>Ke(...jt(t,e,a))||Ve(...jt(t,e,a)),Ar=(e,a,t,n,o,r,l)=>{if(typeof a=="function"&&!l)return a(e);const u=t?{locale:t}:void 0;return Array.isArray(e)?`${$t(e[0],r,u)}${o&&!e[1]?"":n}${e[1]?$t(e[1],r,u):""}`:$t(e,r,u)},va=e=>{if(e)return null;throw new Error(oo.prop("partial-range"))},Ea=(e,a)=>{if(a)return e();throw new Error(oo.prop("range"))},Ln=e=>Array.isArray(e)?Ma(e[0])&&(e[1]?Ma(e[1]):!0):e?Ma(e):!1,jm=(e,a)=>He(a??Z(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),hn=(e,a,t,n)=>{if(!e)return!0;if(n){const o=t==="max"?Aa(e,a):ga(e,a),r={seconds:0,milliseconds:0};return o||oa(He(e,r),He(a,r))}return t==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},yn=(e,a,t)=>e?jm(e,a):Z(t??a),Mo=(e,a,t,n,o)=>{if(Array.isArray(n)){const l=yn(e,n[0],a),u=yn(e,n[1],a);return hn(n[0],l,t,!!a)&&hn(n[1],u,t,!!a)&&o}const r=yn(e,n,a);return hn(n,r,t,!!a)&&o},gn=e=>He(Z(),la(e)),Qm=(e,a)=>e instanceof Map?Array.from(e.values()).filter(t=>Pe(Z(t))===a).map(t=>Se(t)):[],Cr=(e,a,t)=>typeof e=="function"?e({month:a,year:t}):!!e.months.find(n=>n.month===a&&n.year===t),lo=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Vr=e=>$t(e,"yyyy-MM-dd"),Pa=Va({menuFocused:!1,shiftKeyInMenu:!1}),Or=()=>{const e=t=>{Pa.menuFocused=t},a=t=>{Pa.shiftKeyInMenu!==t&&(Pa.shiftKeyInMenu=t)};return{control:x(()=>({shiftKeyInMenu:Pa.shiftKeyInMenu,menuFocused:Pa.menuFocused})),setMenuFocused:e,setShiftKey:a}},Ye=Va({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),_n=A(null),Ha=A(!1),bn=A(!1),kn=A(!1),wn=A(!1),st=A(0),Qe=A(0),Zt=()=>{const e=x(()=>Ha.value?[...Ye.selectionGrid,Ye.actionRow].filter(p=>p.length):bn.value?[...Ye.timePicker[0],...Ye.timePicker[1],wn.value?[]:[_n.value],Ye.actionRow].filter(p=>p.length):kn.value?[...Ye.monthPicker,Ye.actionRow]:[Ye.monthYear,...Ye.calendar,Ye.time,Ye.actionRow].filter(p=>p.length)),a=p=>{st.value=p?st.value+1:st.value-1;let c=null;e.value[Qe.value]&&(c=e.value[Qe.value][st.value]),!c&&e.value[Qe.value+(p?1:-1)]?(Qe.value=Qe.value+(p?1:-1),st.value=p?0:e.value[Qe.value].length-1):c||(st.value=p?st.value-1:st.value+1)},t=p=>{Qe.value===0&&!p||Qe.value===e.value.length&&p||(Qe.value=p?Qe.value+1:Qe.value-1,e.value[Qe.value]?e.value[Qe.value]&&!e.value[Qe.value][st.value]&&st.value!==0&&(st.value=e.value[Qe.value].length-1):Qe.value=p?Qe.value-1:Qe.value+1)},n=p=>{let c=null;e.value[Qe.value]&&(c=e.value[Qe.value][st.value]),c?c.focus({preventScroll:!Ha.value}):st.value=p?st.value-1:st.value+1},o=()=>{a(!0),n(!0)},r=()=>{a(!1),n(!1)},l=()=>{t(!1),n(!0)},u=()=>{t(!0),n(!0)},d=(p,c)=>{Ye[c]=p},b=(p,c)=>{Ye[c]=p},f=()=>{st.value=0,Qe.value=0};return{buildMatrix:d,buildMultiLevelMatrix:b,setTimePickerBackRef:p=>{_n.value=p},setSelectionGrid:p=>{Ha.value=p,f(),p||(Ye.selectionGrid=[])},setTimePicker:(p,c=!1)=>{bn.value=p,wn.value=c,f(),p||(Ye.timePicker[0]=[],Ye.timePicker[1]=[])},setTimePickerElements:(p,c=0)=>{Ye.timePicker[c]=p},arrowRight:o,arrowLeft:r,arrowUp:l,arrowDown:u,clearArrowNav:()=>{Ye.monthYear=[],Ye.calendar=[],Ye.time=[],Ye.actionRow=[],Ye.selectionGrid=[],Ye.timePicker[0]=[],Ye.timePicker[1]=[],Ha.value=!1,bn.value=!1,wn.value=!1,kn.value=!1,f(),_n.value=null},setMonthPicker:p=>{kn.value=p,f()},refSets:Ye}},xo=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),Km=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:a=>`Increment ${a}`,decrementValue:a=>`Decrement ${a}`,openTpOverlay:a=>`Open ${a} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:a=>`Month picker${a?" overlay":""}`,yearPicker:a=>`Year picker${a?" overlay":""}`,timeOverlay:a=>`${a} overlay`,...e??{}}),So=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,Gm=e=>{const a=typeof e=="object"&&e,t={static:!0,solo:!1};if(!e)return{...t,count:So(!1)};const n=a?e:{},o=a?n.count??!0:e,r=So(o);return Object.assign(t,n,{count:r})},Xm=(e,a,t)=>e||(typeof t=="string"?t:a),Jm=e=>typeof e=="boolean"?e?xo({}):!1:xo(e),Zm=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},ep=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),tp=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),ap=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},np=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...e??{}}),op=e=>{const a={dates:Array.isArray(e)?e.map(t=>Z(t)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},rp=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},lp=e=>{const a={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...a,...e}:{enabled:e,...a}},sp=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},$n=(e,a,t)=>new Map(e.map(n=>{const o=ao(n,a,t);return[ro(o),o]})),ip=(e,a)=>e.length?new Map(e.map(t=>{const n=ao(t.date,a);return[ro(n),t]})):null,up=e=>{var a;return{minDate:On(e.minDate,e.timezone,e.isSpecific),maxDate:On(e.maxDate,e.timezone,e.isSpecific),disabledDates:pn(e.disabledDates)?$n(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:pn(e.allowedDates)?$n(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&pn((a=e.highlight)==null?void 0:a.dates)?$n(e.highlight.dates,e.timezone):e.highlight,markers:ip(e.markers,e.timezone)}},dp=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},cp=e=>({...Object.fromEntries(Object.keys(e).map(a=>{const t=a,n=e[t],o=typeof e[t]=="string"?{[n]:!0}:Object.fromEntries(n.map(r=>[r,!0]));return[a,o]}))}),ze=e=>{const a=()=>{const q=e.enableSeconds?":ss":"",I=e.enableMinutes?":mm":"";return e.is24?`HH${I}${q}`:`hh${I}${q} aa`},t=()=>{var q;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((q=R.value)==null?void 0:q.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},n=q=>xr(q,e.enableSeconds),o=()=>K.value.enabled?e.startTime&&Array.isArray(e.startTime)?[n(e.startTime[0]),n(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?n(e.startTime):null,r=x(()=>Gm(e.multiCalendars)),l=x(()=>o()),u=x(()=>Km(e.ariaLabels)),d=x(()=>ep(e.filters)),b=x(()=>Jm(e.transitions)),f=x(()=>tp(e.actionRow)),p=x(()=>Xm(e.previewFormat,e.format,t())),c=x(()=>Zm(e.textInput)),g=x(()=>ap(e.inline)),P=x(()=>np(e.config)),$=x(()=>op(e.highlight)),R=x(()=>rp(e.weekNumbers)),W=x(()=>sp(e.timezone)),U=x(()=>dp(e.multiDates)),V=x(()=>up({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:$.value,markers:e.markers,timezone:W.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker})),K=x(()=>lp(e.range)),se=x(()=>cp(e.ui));return{defaultedTransitions:b,defaultedMultiCalendars:r,defaultedStartTime:l,defaultedAriaLabels:u,defaultedFilters:d,defaultedActionRow:f,defaultedPreviewFormat:p,defaultedTextInput:c,defaultedInline:g,defaultedConfig:P,defaultedHighlight:$,defaultedWeekNumbers:R,defaultedRange:K,propDates:V,defaultedTz:W,defaultedMultiDates:U,defaultedUI:se,getDefaultPattern:t,getDefaultStartTime:o}},vp=(e,a,t)=>{const n=A(),{defaultedTextInput:o,defaultedRange:r,defaultedTz:l,defaultedMultiDates:u,getDefaultPattern:d}=ze(a),b=A(""),f=Sa(a,"format"),p=Sa(a,"formatLocale");Je(n,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",n.value,Q(!0))},{deep:!0}),Je(r,(_,me)=>{_.enabled!==me.enabled&&(n.value=null)}),Je(f,()=>{ue()});const c=_=>l.value.timezone&&l.value.convertModel?ht(_,l.value.timezone):_,g=_=>{if(l.value.timezone&&l.value.convertModel){const me=Cm(l.value.timezone);return Vc(_,me)}return _},P=(_,me,Te=!1)=>Ar(_,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,me??d(),Te),$=_=>_?a.modelType?de(_):{hours:Bt(_),minutes:Gt(_),seconds:a.enableSeconds?ya(_):0}:null,R=_=>a.modelType?de(_):{month:Se(_),year:Pe(_)},W=_=>Array.isArray(_)?u.value.enabled?_.map(me=>U(me,Ot(Z(),me))):Ea(()=>[Ot(Z(),_[0]),_[1]?Ot(Z(),_[1]):va(r.value.partialRange)],r.value.enabled):Ot(Z(),+_),U=(_,me)=>(typeof _=="string"||typeof _=="number")&&a.modelType?j(_):me,V=_=>Array.isArray(_)?[U(_[0],Kt(null,+_[0].hours,+_[0].minutes,_[0].seconds)),U(_[1],Kt(null,+_[1].hours,+_[1].minutes,_[1].seconds))]:U(_,Kt(null,_.hours,_.minutes,_.seconds)),K=_=>{const me=He(Z(),{date:1});return Array.isArray(_)?u.value.enabled?_.map(Te=>U(Te,Rt(me,+Te.month,+Te.year))):Ea(()=>[U(_[0],Rt(me,+_[0].month,+_[0].year)),U(_[1],_[1]?Rt(me,+_[1].month,+_[1].year):va(r.value.partialRange))],r.value.enabled):U(_,Rt(me,+_.month,+_.year))},se=_=>{if(Array.isArray(_))return _.map(me=>j(me));throw new Error(oo.dateArr("multi-dates"))},q=_=>{if(Array.isArray(_)&&r.value.enabled){const me=_[0],Te=_[1];return[Z(Array.isArray(me)?me[0]:null),Z(Array.isArray(Te)?Te[0]:null)]}return Z(_[0])},I=_=>a.modelAuto?Array.isArray(_)?[j(_[0]),j(_[1])]:a.autoApply?[j(_)]:[j(_),null]:Array.isArray(_)?Ea(()=>_[1]?[j(_[0]),_[1]?j(_[1]):va(r.value.partialRange)]:[j(_[0])],r.value.enabled):j(_),te=()=>{Array.isArray(n.value)&&r.value.enabled&&n.value.length===1&&n.value.push(va(r.value.partialRange))},G=()=>{const _=n.value;return[de(_[0]),_[1]?de(_[1]):va(r.value.partialRange)]},F=()=>n.value[1]?G():de(nt(n.value[0])),ve=()=>(n.value||[]).map(_=>de(_)),_e=(_=!1)=>(_||te(),a.modelAuto?F():u.value.enabled?ve():Array.isArray(n.value)?Ea(()=>G(),r.value.enabled):de(nt(n.value))),ke=_=>!_||Array.isArray(_)&&!_.length?null:a.timePicker?V(nt(_)):a.monthPicker?K(nt(_)):a.yearPicker?W(nt(_)):u.value.enabled?se(nt(_)):a.weekPicker?q(nt(_)):I(nt(_)),H=_=>{const me=ke(_);Ln(nt(me))?(n.value=nt(me),ue()):(n.value=null,b.value="")},C=()=>{const _=me=>$t(me,o.value.format);return`${_(n.value[0])} ${o.value.rangeSeparator} ${n.value[1]?_(n.value[1]):""}`},M=()=>t.value&&n.value?Array.isArray(n.value)?C():$t(n.value,o.value.format):P(n.value),z=()=>n.value?u.value.enabled?n.value.map(_=>P(_)).join("; "):o.value.enabled&&typeof o.value.format=="string"?M():P(n.value):"",ue=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?b.value=z():b.value=a.format(n.value)},j=_=>{if(a.utc){const me=new Date(_);return a.utc==="preserve"?new Date(me.getTime()+me.getTimezoneOffset()*6e4):me}return a.modelType?Vm.includes(a.modelType)?c(new Date(_)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?c(Vn(_,d(),new Date,{locale:p.value})):c(Vn(_,a.modelType,new Date,{locale:p.value})):c(new Date(_))},de=_=>_?a.utc?zm(_,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+g(_):a.modelType==="iso"?g(_).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?P(g(_)):P(g(_),a.modelType,!0):g(_):"",De=(_,me=!1,Te=!1)=>{if(Te)return _;if(e("update:model-value",_),l.value.emitTimezone&&me){const Ze=Array.isArray(_)?_.map(B=>ht(nt(B),l.value.emitTimezone)):ht(nt(_),l.value.emitTimezone);e("update:model-timezone-value",Ze)}},D=_=>Array.isArray(n.value)?u.value.enabled?n.value.map(me=>_(me)):[_(n.value[0]),n.value[1]?_(n.value[1]):va(r.value.partialRange)]:_(nt(n.value)),T=()=>{if(Array.isArray(n.value)){const _=Nt(n.value[0],a.weekStart),me=n.value[1]?Nt(n.value[1],a.weekStart):[];return[_.map(Te=>Z(Te)),me.map(Te=>Z(Te))]}return Nt(n.value,a.weekStart).map(_=>Z(_))},v=(_,me)=>De(nt(D(_)),!1,me),N=_=>{const me=T();return _?me:e("update:model-value",T())},Q=(_=!1)=>(_||ue(),a.monthPicker?v(R,_):a.timePicker?v($,_):a.yearPicker?v(Pe,_):a.weekPicker?N(_):De(_e(_),!0,_));return{inputValue:b,internalModelValue:n,checkBeforeEmit:()=>n.value?r.value.enabled?r.value.partialRange?n.value.length>=1:n.value.length===2:!!n.value:!1,parseExternalModelValue:H,formatInputValue:ue,emitModelValue:Q}},mp=(e,a)=>{const{defaultedFilters:t,propDates:n}=ze(e),{validateMonthYearInRange:o}=ea(e),r=(f,p)=>{let c=f;return t.value.months.includes(Se(c))?(c=p?bt(f,1):Et(f,1),r(c,p)):c},l=(f,p)=>{let c=f;return t.value.years.includes(Pe(c))?(c=p?Wn(f,1):_r(f,1),l(c,p)):c},u=(f,p=!1)=>{const c=He(Z(),{month:e.month,year:e.year});let g=f?bt(c,1):Et(c,1);e.disableYearSelect&&(g=Ot(g,e.year));let P=Se(g),$=Pe(g);t.value.months.includes(P)&&(g=r(g,f),P=Se(g),$=Pe(g)),t.value.years.includes($)&&(g=l(g,f),$=Pe(g)),o(P,$,f,e.preventMinMaxNavigation)&&d(P,$,p)},d=(f,p,c)=>{a("update-month-year",{month:f,year:p,fromNav:c})},b=x(()=>f=>Sr(He(Z(),{month:e.month,year:e.year}),n.value.maxDate,n.value.minDate,e.preventMinMaxNavigation,f));return{handleMonthYearChange:u,isDisabled:b,updateMonthYear:d}},en={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},Mt={...en,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},pp=["title"],fp=["disabled"],hp=J({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...Mt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:a}){const t=a,n=e,{defaultedActionRow:o,defaultedPreviewFormat:r,defaultedMultiCalendars:l,defaultedTextInput:u,defaultedInline:d,defaultedRange:b,defaultedMultiDates:f,getDefaultPattern:p}=ze(n),{isTimeValid:c,isMonthValid:g}=ea(n),{buildMatrix:P}=Zt(),$=A(null),R=A(null),W=A(!1),U=A({}),V=A(null),K=A(null);Ue(()=>{n.arrowNavigation&&P([tt($),tt(R)],"actionRow"),se(),window.addEventListener("resize",se)}),Xt(()=>{window.removeEventListener("resize",se)});const se=()=>{W.value=!1,setTimeout(()=>{var C,M;const z=(C=V.value)==null?void 0:C.getBoundingClientRect(),ue=(M=K.value)==null?void 0:M.getBoundingClientRect();z&&ue&&(U.value.maxWidth=`${ue.width-z.width-20}px`),W.value=!0},0)},q=x(()=>b.value.enabled&&!b.value.partialRange&&n.internalModelValue?n.internalModelValue.length===2:!0),I=x(()=>!c.value(n.internalModelValue)||!g.value(n.internalModelValue)||!q.value),te=()=>{const C=r.value;return n.timePicker||n.monthPicker,C(nt(n.internalModelValue))},G=()=>{const C=n.internalModelValue;return l.value.count>0?`${F(C[0])} - ${F(C[1])}`:[F(C[0]),F(C[1])]},F=C=>Ar(C,r.value,n.formatLocale,u.value.rangeSeparator,n.modelAuto,p()),ve=x(()=>!n.internalModelValue||!n.menuMount?"":typeof r.value=="string"?Array.isArray(n.internalModelValue)?n.internalModelValue.length===2&&n.internalModelValue[1]?G():f.value.enabled?n.internalModelValue.map(C=>`${F(C)}`):n.modelAuto?`${F(n.internalModelValue[0])}`:`${F(n.internalModelValue[0])} -`:F(n.internalModelValue):te()),_e=()=>f.value.enabled?"; ":" - ",ke=x(()=>Array.isArray(ve.value)?ve.value.join(_e()):ve.value),H=()=>{c.value(n.internalModelValue)&&g.value(n.internalModelValue)&&q.value?t("select-date"):t("invalid-select")};return(C,M)=>(i(),m("div",{ref_key:"actionRowRef",ref:K,class:"dp__action_row"},[C.$slots["action-row"]?k(C.$slots,"action-row",ot(Oe({key:0},{internalModelValue:C.internalModelValue,disabled:I.value,selectDate:()=>C.$emit("select-date"),closePicker:()=>C.$emit("close-picker")}))):(i(),m(pe,{key:1},[s(o).showPreview?(i(),m("div",{key:0,class:"dp__selection_preview",title:ke.value,style:mt(U.value)},[C.$slots["action-preview"]&&W.value?k(C.$slots,"action-preview",{key:0,value:C.internalModelValue}):S("",!0),!C.$slots["action-preview"]&&W.value?(i(),m(pe,{key:1},[Ne(ce(ke.value),1)],64)):S("",!0)],12,pp)):S("",!0),y("div",{ref_key:"actionBtnContainer",ref:V,class:"dp__action_buttons","data-dp-element":"action-row"},[C.$slots["action-buttons"]?k(C.$slots,"action-buttons",{key:0,value:C.internalModelValue}):S("",!0),C.$slots["action-buttons"]?S("",!0):(i(),m(pe,{key:1},[!s(d).enabled&&s(o).showCancel?(i(),m("button",{key:0,ref_key:"cancelButtonRef",ref:$,type:"button",class:"dp__action_button dp__action_cancel",onClick:M[0]||(M[0]=z=>C.$emit("close-picker")),onKeydown:M[1]||(M[1]=z=>s(ct)(z,()=>C.$emit("close-picker")))},ce(C.cancelText),545)):S("",!0),s(o).showNow?(i(),m("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:M[2]||(M[2]=z=>C.$emit("select-now")),onKeydown:M[3]||(M[3]=z=>s(ct)(z,()=>C.$emit("select-now")))},ce(C.nowButtonLabel),33)):S("",!0),s(o).showSelect?(i(),m("button",{key:2,ref_key:"selectButtonRef",ref:R,type:"button",class:"dp__action_button dp__action_select",disabled:I.value,"data-test":"select-button",onKeydown:M[4]||(M[4]=z=>s(ct)(z,()=>H())),onClick:H},ce(C.selectText),41,fp)):S("",!0)],64))],512)],64))],512))}}),yp=["role","aria-label","tabindex"],gp={class:"dp__selection_grid_header"},_p=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],bp=["aria-label"],Ia=J({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:t}){const{setSelectionGrid:n,buildMultiLevelMatrix:o,setMonthPicker:r}=Zt(),l=t,u=e,{defaultedAriaLabels:d,defaultedTextInput:b,defaultedConfig:f}=ze(u),{hideNavigationButtons:p}=nn(),c=A(!1),g=A(null),P=A(null),$=A([]),R=A(),W=A(null),U=A(0),V=A(null);nl(()=>{g.value=null}),Ue(()=>{yt().then(()=>ve()),u.noOverlayFocus||se(),K(!0)}),Xt(()=>K(!1));const K=D=>{var T;u.arrowNavigation&&((T=u.headerRefs)!=null&&T.length?r(D):n(D))},se=()=>{var D;const T=tt(P);T&&(b.value.enabled||(g.value?(D=g.value)==null||D.focus({preventScroll:!0}):T.focus({preventScroll:!0})),c.value=T.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!u.useRelative,"dp--overlay-relative":u.useRelative})),I=x(()=>u.useRelative?{height:`${u.height}px`,width:"260px"}:void 0),te=x(()=>({dp__overlay_col:!0})),G=x(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:c.value,dp__button_bottom:u.isLast})),F=x(()=>{var D,T;return{dp__overlay_container:!0,dp__container_flex:((D=u.items)==null?void 0:D.length)<=6,dp__container_block:((T=u.items)==null?void 0:T.length)>6}});Je(()=>u.items,()=>ve(!1),{deep:!0});const ve=(D=!0)=>{yt().then(()=>{const T=tt(g),v=tt(P),N=tt(W),Q=tt(V),_=N?N.getBoundingClientRect().height:0;v&&(v.getBoundingClientRect().height?U.value=v.getBoundingClientRect().height-_:U.value=f.value.modeHeight-_),T&&Q&&D&&(Q.scrollTop=T.offsetTop-Q.offsetTop-(U.value/2-T.getBoundingClientRect().height)-_)})},_e=D=>{D.disabled||l("selected",D.value)},ke=()=>{l("toggle"),l("reset-flow")},H=()=>{u.escClose&&ke()},C=(D,T,v,N)=>{D&&((T.active||T.value===u.focusValue)&&(g.value=D),u.arrowNavigation&&(Array.isArray($.value[v])?$.value[v][N]=D:$.value[v]=[D],M()))},M=()=>{var D,T;const v=(D=u.headerRefs)!=null&&D.length?[u.headerRefs].concat($.value):$.value.concat([u.skipButtonRef?[]:[W.value]]);o(nt(v),(T=u.headerRefs)!=null&&T.length?"monthPicker":"selectionGrid")},z=D=>{u.arrowNavigation||Qt(D,f.value,!0)},ue=D=>{R.value=D,l("hover-value",D)},j=()=>{if(ke(),!u.isLast){const D=In(u.menuWrapRef??null,"action-row");if(D){const T=$r(D);T==null||T.focus()}}},de=D=>{switch(D.key){case Fe.esc:return H();case Fe.arrowLeft:return z(D);case Fe.arrowRight:return z(D);case Fe.arrowUp:return z(D);case Fe.arrowDown:return z(D);default:return}},De=D=>{if(D.key===Fe.enter)return ke();if(D.key===Fe.tab)return j()};return a({focusGrid:se}),(D,T)=>{var v;return i(),m("div",{ref_key:"gridWrapRef",ref:P,class:he(q.value),style:mt(I.value),role:D.useRelative?void 0:"dialog","aria-label":D.overlayLabel,tabindex:D.useRelative?void 0:"0",onKeydown:de,onClick:T[0]||(T[0]=ia(()=>{},["prevent"]))},[y("div",{ref_key:"containerRef",ref:V,class:he(F.value),style:mt({"--dp-overlay-height":`${U.value}px`}),role:"grid"},[y("div",gp,[k(D.$slots,"header")]),D.$slots.overlay?k(D.$slots,"overlay",{key:0}):(i(!0),m(pe,{key:1},Me(D.items,(N,Q)=>(i(),m("div",{key:Q,class:he(["dp__overlay_row",{dp__flex_row:D.items.length>=3}]),role:"row"},[(i(!0),m(pe,null,Me(N,(_,me)=>(i(),m("div",{key:_.value,ref_for:!0,ref:Te=>C(Te,_,Q,me),role:"gridcell",class:he(te.value),"aria-selected":_.active||void 0,"aria-disabled":_.disabled||void 0,tabindex:"0","data-test":_.text,onClick:ia(Te=>_e(_),["prevent"]),onKeydown:Te=>s(ct)(Te,()=>_e(_),!0),onMouseover:Te=>ue(_.value)},[y("div",{class:he(_.className)},[D.$slots.item?k(D.$slots,"item",{key:0,item:_}):S("",!0),D.$slots.item?S("",!0):(i(),m(pe,{key:1},[Ne(ce(_.text),1)],64))],2)],42,_p))),128))],2))),128))],6),D.$slots["button-icon"]?Ta((i(),m("button",{key:0,ref_key:"toggleButton",ref:W,type:"button","aria-label":(v=s(d))==null?void 0:v.toggleOverlay,class:he(G.value),tabindex:"0",onClick:ke,onKeydown:De},[k(D.$slots,"button-icon")],42,bp)),[[Ya,!s(p)(D.hideNavigation,D.type)]]):S("",!0)],46,yp)}}}),tn=J({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const a=e,t=x(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),n=x(()=>({dp__instance_calendar:a.multiCalendars>0}));return(o,r)=>(i(),m("div",{class:he({dp__menu_inner:!o.stretch,"dp--menu--inner-stretched":o.stretch,dp__flex_display:o.multiCalendars>0,"dp--flex-display-collapsed":o.collapse})},[(i(!0),m(pe,null,Me(t.value,(l,u)=>(i(),m("div",{key:l,class:he(n.value)},[k(o.$slots,"default",{instance:l,index:u})],2))),128))],2))}}),kp=["data-dp-element","aria-label","aria-disabled"],xa=J({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const t=a,n=A(null);return Ue(()=>t("set-ref",n)),(o,r)=>(i(),m("button",{ref_key:"elRef",ref:n,type:"button","data-dp-element":o.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":o.ariaLabel,"aria-disabled":o.disabled||void 0,onClick:r[0]||(r[0]=l=>o.$emit("activate")),onKeydown:r[1]||(r[1]=l=>s(ct)(l,()=>o.$emit("activate"),!0))},[y("span",{class:he(["dp__inner_nav",{dp__inner_nav_disabled:o.disabled}])},[k(o.$slots,"default")],2)],40,kp))}}),wp=["aria-label","data-test"],Ir=J({__name:"YearModePicker",props:{...Mt,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:a}){const t=a,n=e,{showRightIcon:o,showLeftIcon:r}=nn(),{defaultedConfig:l,defaultedMultiCalendars:u,defaultedAriaLabels:d,defaultedTransitions:b,defaultedUI:f}=ze(n),{showTransition:p,transitionName:c}=La(b),g=A(!1),P=(W=!1,U)=>{g.value=!g.value,t("toggle-year-picker",{flow:W,show:U})},$=W=>{g.value=!1,t("year-select",W)},R=(W=!1)=>{t("handle-year",W)};return(W,U)=>{var V,K,se,q,I;return i(),m(pe,null,[y("div",{class:he(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[s(r)(s(u),e.instance)?(i(),le(xa,{key:0,ref:"mpPrevIconRef","aria-label":(V=s(d))==null?void 0:V.prevYear,disabled:e.isDisabled(!1),class:he((K=s(f))==null?void 0:K.navBtnPrev),onActivate:U[0]||(U[0]=te=>R(!1))},{default:w(()=>[W.$slots["arrow-left"]?k(W.$slots,"arrow-left",{key:0}):S("",!0),W.$slots["arrow-left"]?S("",!0):(i(),le(s(Xn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),y("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(se=s(d))==null?void 0:se.openYearsOverlay}`,"data-test":`year-mode-btn-${e.instance}`,onClick:U[1]||(U[1]=()=>P(!1)),onKeydown:U[2]||(U[2]=Eo(()=>P(!1),["enter"]))},[W.$slots.year?k(W.$slots,"year",{key:0,year:e.year}):S("",!0),W.$slots.year?S("",!0):(i(),m(pe,{key:1},[Ne(ce(e.year),1)],64))],40,wp),s(o)(s(u),e.instance)?(i(),le(xa,{key:1,ref:"mpNextIconRef","aria-label":(q=s(d))==null?void 0:q.nextYear,disabled:e.isDisabled(!0),class:he((I=s(f))==null?void 0:I.navBtnNext),onActivate:U[3]||(U[3]=te=>R(!0))},{default:w(()=>[W.$slots["arrow-right"]?k(W.$slots,"arrow-right",{key:0}):S("",!0),W.$slots["arrow-right"]?S("",!0):(i(),le(s(Jn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0)],2),ee(Ht,{name:s(c)(e.showYearPicker),css:s(p)},{default:w(()=>{var te,G;return[e.showYearPicker?(i(),le(Ia,{key:0,items:e.items,"text-input":W.textInput,"esc-close":W.escClose,config:W.config,"is-last":W.autoApply&&!s(l).keepActionRow,"hide-navigation":W.hideNavigation,"aria-labels":W.ariaLabels,"overlay-label":(G=(te=s(d))==null?void 0:te.yearPicker)==null?void 0:G.call(te,!0),type:"year",onToggle:P,onSelected:U[4]||(U[4]=F=>$(F))},at({"button-icon":w(()=>[W.$slots["calendar-icon"]?k(W.$slots,"calendar-icon",{key:0}):S("",!0),W.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))]),_:2},[W.$slots["year-overlay-value"]?{name:"item",fn:w(({item:F})=>[k(W.$slots,"year-overlay-value",{text:F.text,value:F.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):S("",!0)]}),_:3},8,["name","css"])],64)}}}),so=(e,a,t)=>{if(a.value&&Array.isArray(a.value))if(a.value.some(n=>Ve(e,n))){const n=a.value.filter(o=>!Ve(o,e));a.value=n.length?n:null}else(t&&+t>a.value.length||!t)&&a.value.push(e);else a.value=[e]},io=(e,a,t)=>{let n=e.value?e.value.slice():[];return n.length===2&&n[1]!==null&&(n=[]),n.length?qe(a,n[0])?(n.unshift(a),t("range-start",n[0]),t("range-start",n[1])):(n[1]=a,t("range-end",a)):(n=[a],t("range-start",a)),n},an=(e,a,t,n)=>{e&&(e[0]&&e[1]&&t&&a("auto-apply"),e[0]&&!e[1]&&n&&t&&a("auto-apply"))},Lr=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>ht(Z(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=ht(Z(e.value),e.timezone))},Nr=(e,a,t,n)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&n.value.partialRange)?n.value.fixedStart&&(Ke(e,a.value[0])||Ve(e,a.value[0]))?[a.value[0],e]:n.value.fixedEnd&&(qe(e,a.value[1])||Ve(e,a.value[1]))?[e,a.value[1]]:(t("invalid-fixed-range",e),a.value):[],Rr=({multiCalendars:e,range:a,highlight:t,propDates:n,calendars:o,modelValue:r,props:l,filters:u,year:d,month:b,emit:f})=>{const p=x(()=>no(l.yearRange,l.locale,l.reverseYears)),c=A([!1]),g=x(()=>(F,ve)=>{const _e=He(Pt(new Date),{month:b.value(F),year:d.value(F)}),ke=ve?Un(_e):ha(_e);return Sr(ke,n.value.maxDate,n.value.minDate,l.preventMinMaxNavigation,ve)}),P=()=>Array.isArray(r.value)&&e.value.solo&&r.value[1],$=()=>{for(let F=0;F{if(!F)return $();const ve=He(Z(),o.value[F]);return o.value[0].year=Pe(_r(ve,e.value.count-1)),$()},W=(F,ve)=>{const _e=Rc(ve,F);return a.value.showLastInRange&&_e>1?ve:F},U=F=>l.focusStartDate||e.value.solo?F[0]:F[1]?W(F[0],F[1]):F[0],V=()=>{if(r.value){const F=Array.isArray(r.value)?U(r.value):r.value;o.value[0]={month:Se(F),year:Pe(F)}}},K=()=>{V(),e.value.count&&$()};Je(r,(F,ve)=>{l.isTextInputDate&&JSON.stringify(F??{})!==JSON.stringify(ve??{})&&K()}),Ue(()=>{K()});const se=(F,ve)=>{o.value[ve].year=F,f("update-month-year",{instance:ve,year:F,month:o.value[ve].month}),e.value.count&&!e.value.solo&&R(ve)},q=x(()=>F=>_a(p.value,ve=>{var _e;const ke=d.value(F)===ve.value,H=Ca(ve.value,ba(n.value.minDate),ba(n.value.maxDate))||((_e=u.value.years)==null?void 0:_e.includes(d.value(F))),C=lo(t.value,ve.value);return{active:ke,disabled:H,highlighted:C}})),I=(F,ve)=>{se(F,ve),G(ve)},te=(F,ve=!1)=>{if(!g.value(F,ve)){const _e=ve?d.value(F)+1:d.value(F)-1;se(_e,F)}},G=(F,ve=!1,_e)=>{ve||f("reset-flow"),_e!==void 0?c.value[F]=_e:c.value[F]=!c.value[F],c.value[F]?f("overlay-toggle",{open:!0,overlay:it.year}):(f("overlay-closed"),f("overlay-toggle",{open:!1,overlay:it.year}))};return{isDisabled:g,groupedYears:q,showYearPicker:c,selectYear:se,toggleYearPicker:G,handleYearSelect:I,handleYear:te}},$p=(e,a)=>{const{defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,defaultedRange:l,defaultedHighlight:u,propDates:d,defaultedTz:b,defaultedFilters:f,defaultedMultiDates:p}=ze(e),c=()=>{e.isTextInputDate&&K(Pe(Z(e.startDate)),0)},{modelValue:g,year:P,month:$,calendars:R}=Na(e,a,c),W=x(()=>kr(e.formatLocale,e.locale,e.monthNameFormat)),U=A(null),{checkMinMaxRange:V}=ea(e),{selectYear:K,groupedYears:se,showYearPicker:q,toggleYearPicker:I,handleYearSelect:te,handleYear:G,isDisabled:F}=Rr({modelValue:g,multiCalendars:t,range:l,highlight:u,calendars:R,year:P,propDates:d,month:$,filters:f,props:e,emit:a});Ue(()=>{e.startDate&&(g.value&&e.focusStartDate||!g.value)&&K(Pe(Z(e.startDate)),0)});const ve=v=>v?{month:Se(v),year:Pe(v)}:{month:null,year:null},_e=()=>g.value?Array.isArray(g.value)?g.value.map(v=>ve(v)):ve(g.value):ve(),ke=(v,N)=>{const Q=R.value[v],_=_e();return Array.isArray(_)?_.some(me=>me.year===(Q==null?void 0:Q.year)&&me.month===N):(Q==null?void 0:Q.year)===_.year&&N===_.month},H=(v,N,Q)=>{var _,me;const Te=_e();return Array.isArray(Te)?P.value(N)===((_=Te[Q])==null?void 0:_.year)&&v===((me=Te[Q])==null?void 0:me.month):!1},C=(v,N)=>{if(l.value.enabled){const Q=_e();if(Array.isArray(g.value)&&Array.isArray(Q)){const _=H(v,N,0)||H(v,N,1),me=Rt(Pt(Z()),v,P.value(N));return Za(g.value,U.value,me)&&!_}return!1}return!1},M=x(()=>v=>_a(W.value,N=>{var Q;const _=ke(v,N.value),me=Ca(N.value,Pr(P.value(v),d.value.minDate),Tr(P.value(v),d.value.maxDate))||Qm(d.value.disabledDates,P.value(v)).includes(N.value)||((Q=f.value.months)==null?void 0:Q.includes(N.value)),Te=C(N.value,v),Ze=Cr(u.value,N.value,P.value(v));return{active:_,disabled:me,isBetween:Te,highlighted:Ze}})),z=(v,N)=>Rt(Pt(Z()),v,P.value(N)),ue=(v,N)=>{const Q=g.value?g.value:Pt(new Date);g.value=Rt(Q,v,P.value(N)),a("auto-apply"),a("update-flow-step")},j=(v,N)=>{const Q=z(v,N);l.value.fixedEnd||l.value.fixedStart?g.value=Nr(Q,g,a,l):g.value?V(Q,g.value)&&(g.value=io(g,z(v,N),a)):g.value=[z(v,N)],yt().then(()=>{an(g.value,a,e.autoApply,e.modelAuto)})},de=(v,N)=>{so(z(v,N),g,p.value.limit),a("auto-apply",!0)},De=(v,N)=>(R.value[N].month=v,T(N,R.value[N].year,v),p.value.enabled?de(v,N):l.value.enabled?j(v,N):ue(v,N)),D=(v,N)=>{K(v,N),T(N,v,null)},T=(v,N,Q)=>{let _=Q;if(!_&&_!==0){const me=_e();_=Array.isArray(me)?me[v].month:me.month}a("update-month-year",{instance:v,year:N,month:_})};return{groupedMonths:M,groupedYears:se,year:P,isDisabled:F,defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,showYearPicker:q,modelValue:g,presetDate:(v,N)=>{Lr({value:v,modelValue:g,range:l.value.enabled,timezone:N?void 0:b.value.timezone}),a("auto-apply")},setHoverDate:(v,N)=>{U.value=z(v,N)},selectMonth:De,selectYear:D,toggleYearPicker:I,handleYearSelect:te,handleYear:G,getModelMonthYear:_e}},Dp=J({compatConfig:{MODE:3},__name:"MonthPicker",props:{...Mt},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=Jt(),r=_t(o,"yearMode"),l=e;Ue(()=>{l.shadow||n("mount",null)});const{groupedMonths:u,groupedYears:d,year:b,isDisabled:f,defaultedMultiCalendars:p,defaultedConfig:c,showYearPicker:g,modelValue:P,presetDate:$,setHoverDate:R,selectMonth:W,selectYear:U,toggleYearPicker:V,handleYearSelect:K,handleYear:se,getModelMonthYear:q}=$p(l,n);return a({getSidebarProps:()=>({modelValue:P,year:b,getModelMonthYear:q,selectMonth:W,selectYear:U,handleYear:se}),presetDate:$,toggleYearPicker:I=>V(0,I)}),(I,te)=>(i(),le(tn,{"multi-calendars":s(p).count,collapse:I.collapse,stretch:""},{default:w(({instance:G})=>[I.$slots["top-extra"]?k(I.$slots,"top-extra",{key:0,value:I.internalModelValue}):S("",!0),I.$slots["month-year"]?k(I.$slots,"month-year",ot(Oe({key:1},{year:s(b),months:s(u)(G),years:s(d)(G),selectMonth:s(W),selectYear:s(U),instance:G}))):(i(),le(Ia,{key:2,items:s(u)(G),"arrow-navigation":I.arrowNavigation,"is-last":I.autoApply&&!s(c).keepActionRow,"esc-close":I.escClose,height:s(c).modeHeight,config:I.config,"no-overlay-focus":!!(I.noOverlayFocus||I.textInput),"use-relative":"",type:"month",onSelected:F=>s(W)(F,G),onHoverValue:F=>s(R)(F,G)},at({header:w(()=>[ee(Ir,Oe(I.$props,{items:s(d)(G),instance:G,"show-year-picker":s(g)[G],year:s(b)(G),"is-disabled":F=>s(f)(G,F),onHandleYear:F=>s(se)(G,F),onYearSelect:F=>s(K)(F,G),onToggleYearPicker:F=>s(V)(G,F==null?void 0:F.flow,F==null?void 0:F.show)}),at({_:2},[Me(s(r),(F,ve)=>({name:F,fn:w(_e=>[k(I.$slots,F,ot(pt(_e)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[I.$slots["month-overlay-value"]?{name:"item",fn:w(({item:F})=>[k(I.$slots,"month-overlay-value",{text:F.text,value:F.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),Pp=(e,a)=>{const t=()=>{e.isTextInputDate&&(f.value=Pe(Z(e.startDate)))},{modelValue:n}=Na(e,a,t),o=A(null),{defaultedHighlight:r,defaultedMultiDates:l,defaultedFilters:u,defaultedRange:d,propDates:b}=ze(e),f=A();Ue(()=>{e.startDate&&(n.value&&e.focusStartDate||!n.value)&&(f.value=Pe(Z(e.startDate)))});const p=$=>Array.isArray(n.value)?n.value.some(R=>Pe(R)===$):n.value?Pe(n.value)===$:!1,c=$=>d.value.enabled&&Array.isArray(n.value)?Za(n.value,o.value,P($)):!1,g=x(()=>_a(no(e.yearRange,e.locale,e.reverseYears),$=>{const R=p($.value),W=Ca($.value,ba(b.value.minDate),ba(b.value.maxDate))||u.value.years.includes($.value),U=c($.value)&&!R,V=lo(r.value,$.value);return{active:R,disabled:W,isBetween:U,highlighted:V}})),P=$=>Ot(Pt(ha(new Date)),$);return{groupedYears:g,modelValue:n,focusYear:f,setHoverValue:$=>{o.value=Ot(Pt(new Date),$)},selectYear:$=>{var R;if(a("update-month-year",{instance:0,year:$}),l.value.enabled)return n.value?Array.isArray(n.value)&&(((R=n.value)==null?void 0:R.map(W=>Pe(W))).includes($)?n.value=n.value.filter(W=>Pe(W)!==$):n.value.push(Ot(vt(Z()),$))):n.value=[Ot(vt(ha(Z())),$)],a("auto-apply",!0);d.value.enabled?(n.value=io(n,P($),a),yt().then(()=>{an(n.value,a,e.autoApply,e.modelAuto)})):(n.value=P($),a("auto-apply"))}}},Tp=J({compatConfig:{MODE:3},__name:"YearPicker",props:{...Mt},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:a,emit:t}){const n=t,o=e,{groupedYears:r,modelValue:l,focusYear:u,selectYear:d,setHoverValue:b}=Pp(o,n),{defaultedConfig:f}=ze(o);return a({getSidebarProps:()=>({modelValue:l,selectYear:d})}),(p,c)=>(i(),m("div",null,[p.$slots["top-extra"]?k(p.$slots,"top-extra",{key:0,value:p.internalModelValue}):S("",!0),p.$slots["month-year"]?k(p.$slots,"month-year",ot(Oe({key:1},{years:s(r),selectYear:s(d)}))):(i(),le(Ia,{key:2,items:s(r),"is-last":p.autoApply&&!s(f).keepActionRow,height:s(f).modeHeight,config:p.config,"no-overlay-focus":!!(p.noOverlayFocus||p.textInput),"focus-value":s(u),type:"year","use-relative":"",onSelected:s(d),onHoverValue:s(b)},at({_:2},[p.$slots["year-overlay-value"]?{name:"item",fn:w(({item:g})=>[k(p.$slots,"year-overlay-value",{text:g.text,value:g.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),Mp={key:0,class:"dp__time_input"},xp=["data-test","aria-label","onKeydown","onClick","onMousedown"],Sp=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Ap=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Cp=["aria-label","disabled","data-test","onKeydown","onClick"],Vp=["data-test","aria-label","onKeydown","onClick","onMousedown"],Op=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Ip=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Lp={key:0},Np=["aria-label"],Rp=J({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Mt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,{setTimePickerElements:r,setTimePickerBackRef:l}=Zt(),{defaultedAriaLabels:u,defaultedTransitions:d,defaultedFilters:b,defaultedConfig:f,defaultedRange:p}=ze(o),{transitionName:c,showTransition:g}=La(d),P=Va({hours:!1,minutes:!1,seconds:!1}),$=A("AM"),R=A(null),W=A([]),U=A(),V=A(!1);Ue(()=>{n("mounted")});const K=h=>He(new Date,{hours:h.hours,minutes:h.minutes,seconds:o.enableSeconds?h.seconds:0,milliseconds:0}),se=x(()=>h=>z(h,o[h])||I(h,o[h])),q=x(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),I=(h,X)=>p.value.enabled&&!p.value.disableTimeRangeValidation?!o.validateTime(h,X):!1,te=(h,X)=>{if(p.value.enabled&&!p.value.disableTimeRangeValidation){const oe=X?+o[`${h}Increment`]:-+o[`${h}Increment`],Y=o[h]+oe;return!o.validateTime(h,Y)}return!1},G=x(()=>h=>!D(+o[h]+ +o[`${h}Increment`],h)||te(h,!0)),F=x(()=>h=>!D(+o[h]-+o[`${h}Increment`],h)||te(h,!1)),ve=(h,X)=>Jo(He(Z(),h),X),_e=(h,X)=>Sm(He(Z(),h),X),ke=x(()=>({dp__time_col:!0,dp__time_col_block:!o.timePickerInline,dp__time_col_reg_block:!o.enableSeconds&&o.is24&&!o.timePickerInline,dp__time_col_reg_inline:!o.enableSeconds&&o.is24&&o.timePickerInline,dp__time_col_reg_with_button:!o.enableSeconds&&!o.is24,dp__time_col_sec:o.enableSeconds&&o.is24,dp__time_col_sec_with_button:o.enableSeconds&&!o.is24})),H=x(()=>{const h=[{type:"hours"}];return o.enableMinutes&&h.push({type:"",separator:!0},{type:"minutes"}),o.enableSeconds&&h.push({type:"",separator:!0},{type:"seconds"}),h}),C=x(()=>H.value.filter(h=>!h.separator)),M=x(()=>h=>{if(h==="hours"){const X=me(+o.hours);return{text:X<10?`0${X}`:`${X}`,value:X}}return{text:o[h]<10?`0${o[h]}`:`${o[h]}`,value:o[h]}}),z=(h,X)=>{var oe;if(!o.disabledTimesConfig)return!1;const Y=o.disabledTimesConfig(o.order,h==="hours"?X:void 0);return Y[h]?!!((oe=Y[h])!=null&&oe.includes(X)):!0},ue=(h,X)=>X!=="hours"||$.value==="AM"?h:h+12,j=h=>{const X=o.is24?24:12,oe=h==="hours"?X:60,Y=+o[`${h}GridIncrement`],xe=h==="hours"&&!o.is24?Y:0,L=[];for(let ae=xe;ae({active:!1,disabled:b.value.times[h].includes(ae.value)||!D(ae.value,h)||z(h,ae.value)||I(h,ae.value)}))},de=h=>h>=0?h:59,De=h=>h>=0?h:23,D=(h,X)=>{const oe=o.minTime?K(fn(o.minTime)):null,Y=o.maxTime?K(fn(o.maxTime)):null,xe=K(fn(q.value,X,X==="minutes"||X==="seconds"?de(h):De(h)));return oe&&Y?(Aa(xe,Y)||oa(xe,Y))&&(ga(xe,oe)||oa(xe,oe)):oe?ga(xe,oe)||oa(xe,oe):Y?Aa(xe,Y)||oa(xe,Y):!0},T=h=>o[`no${h[0].toUpperCase()+h.slice(1)}Overlay`],v=h=>{T(h)||(P[h]=!P[h],P[h]?(V.value=!0,n("overlay-opened",h)):(V.value=!1,n("overlay-closed",h)))},N=h=>h==="hours"?Bt:h==="minutes"?Gt:ya,Q=()=>{U.value&&clearTimeout(U.value)},_=(h,X=!0,oe)=>{const Y=X?ve:_e,xe=X?+o[`${h}Increment`]:-+o[`${h}Increment`];D(+o[h]+xe,h)&&n(`update:${h}`,N(h)(Y({[h]:+o[h]},{[h]:+o[`${h}Increment`]}))),!(oe!=null&&oe.keyboard)&&f.value.timeArrowHoldThreshold&&(U.value=setTimeout(()=>{_(h,X)},f.value.timeArrowHoldThreshold))},me=h=>o.is24?h:(h>=12?$.value="PM":$.value="AM",Lm(h)),Te=()=>{$.value==="PM"?($.value="AM",n("update:hours",o.hours-12)):($.value="PM",n("update:hours",o.hours+12)),n("am-pm-change",$.value)},Ze=h=>{P[h]=!0},B=(h,X,oe)=>{if(h&&o.arrowNavigation){Array.isArray(W.value[X])?W.value[X][oe]=h:W.value[X]=[h];const Y=W.value.reduce((xe,L)=>L.map((ae,ge)=>[...xe[ge]||[],L[ge]]),[]);l(o.closeTimePickerBtn),R.value&&(Y[1]=Y[1].concat(R.value)),r(Y,o.order)}},ne=(h,X)=>(v(h),n(`update:${h}`,X));return a({openChildCmp:Ze}),(h,X)=>{var oe;return h.disabled?S("",!0):(i(),m("div",Mp,[(i(!0),m(pe,null,Me(H.value,(Y,xe)=>{var L,ae,ge;return i(),m("div",{key:xe,class:he(ke.value)},[Y.separator?(i(),m(pe,{key:0},[V.value?S("",!0):(i(),m(pe,{key:0},[Ne(":")],64))],64)):(i(),m(pe,{key:1},[y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,0),type:"button",class:he({dp__btn:!0,dp__inc_dec_button:!h.timePickerInline,dp__inc_dec_button_inline:h.timePickerInline,dp__tp_inline_btn_top:h.timePickerInline,dp__inc_dec_button_disabled:G.value(Y.type),"dp--hidden-el":V.value}),"data-test":`${Y.type}-time-inc-btn-${o.order}`,"aria-label":(L=s(u))==null?void 0:L.incrementValue(Y.type),tabindex:"0",onKeydown:Ae=>s(ct)(Ae,()=>_(Y.type,!0,{keyboard:!0}),!0),onClick:Ae=>s(f).timeArrowHoldThreshold?void 0:_(Y.type,!0),onMousedown:Ae=>s(f).timeArrowHoldThreshold?_(Y.type,!0):void 0,onMouseup:Q},[o.timePickerInline?(i(),m(pe,{key:1},[h.$slots["tp-inline-arrow-up"]?k(h.$slots,"tp-inline-arrow-up",{key:0}):(i(),m(pe,{key:1},[Sp,Ap],64))],64)):(i(),m(pe,{key:0},[h.$slots["arrow-up"]?k(h.$slots,"arrow-up",{key:0}):S("",!0),h.$slots["arrow-up"]?S("",!0):(i(),le(s(eo),{key:1}))],64))],42,xp),y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,1),type:"button","aria-label":`${M.value(Y.type).text}-${(ae=s(u))==null?void 0:ae.openTpOverlay(Y.type)}`,class:he({dp__time_display:!0,dp__time_display_block:!h.timePickerInline,dp__time_display_inline:h.timePickerInline,"dp--time-invalid":se.value(Y.type),"dp--time-overlay-btn":!se.value(Y.type),"dp--hidden-el":V.value}),disabled:T(Y.type),tabindex:"0","data-test":`${Y.type}-toggle-overlay-btn-${o.order}`,onKeydown:Ae=>s(ct)(Ae,()=>v(Y.type),!0),onClick:Ae=>v(Y.type)},[h.$slots[Y.type]?k(h.$slots,Y.type,{key:0,text:M.value(Y.type).text,value:M.value(Y.type).value}):S("",!0),h.$slots[Y.type]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(M.value(Y.type).text),1)],64))],42,Cp),y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,2),type:"button",class:he({dp__btn:!0,dp__inc_dec_button:!h.timePickerInline,dp__inc_dec_button_inline:h.timePickerInline,dp__tp_inline_btn_bottom:h.timePickerInline,dp__inc_dec_button_disabled:F.value(Y.type),"dp--hidden-el":V.value}),"data-test":`${Y.type}-time-dec-btn-${o.order}`,"aria-label":(ge=s(u))==null?void 0:ge.decrementValue(Y.type),tabindex:"0",onKeydown:Ae=>s(ct)(Ae,()=>_(Y.type,!1,{keyboard:!0}),!0),onClick:Ae=>s(f).timeArrowHoldThreshold?void 0:_(Y.type,!1),onMousedown:Ae=>s(f).timeArrowHoldThreshold?_(Y.type,!1):void 0,onMouseup:Q},[o.timePickerInline?(i(),m(pe,{key:1},[h.$slots["tp-inline-arrow-down"]?k(h.$slots,"tp-inline-arrow-down",{key:0}):(i(),m(pe,{key:1},[Op,Ip],64))],64)):(i(),m(pe,{key:0},[h.$slots["arrow-down"]?k(h.$slots,"arrow-down",{key:0}):S("",!0),h.$slots["arrow-down"]?S("",!0):(i(),le(s(to),{key:1}))],64))],42,Vp)],64))],2)}),128)),h.is24?S("",!0):(i(),m("div",Lp,[h.$slots["am-pm-button"]?k(h.$slots,"am-pm-button",{key:0,toggle:Te,value:$.value}):S("",!0),h.$slots["am-pm-button"]?S("",!0):(i(),m("button",{key:1,ref_key:"amPmButton",ref:R,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(oe=s(u))==null?void 0:oe.amPmButton,tabindex:"0",onClick:Te,onKeydown:X[0]||(X[0]=Y=>s(ct)(Y,()=>Te(),!0))},ce($.value),41,Np))])),(i(!0),m(pe,null,Me(C.value,(Y,xe)=>(i(),le(Ht,{key:xe,name:s(c)(P[Y.type]),css:s(g)},{default:w(()=>{var L,ae;return[P[Y.type]?(i(),le(Ia,{key:0,items:j(Y.type),"is-last":h.autoApply&&!s(f).keepActionRow,"esc-close":h.escClose,type:Y.type,"text-input":h.textInput,config:h.config,"arrow-navigation":h.arrowNavigation,"aria-labels":h.ariaLabels,"overlay-label":(ae=(L=s(u)).timeOverlay)==null?void 0:ae.call(L,Y.type),onSelected:ge=>ne(Y.type,ge),onToggle:ge=>v(Y.type),onResetFlow:X[1]||(X[1]=ge=>h.$emit("reset-flow"))},at({"button-icon":w(()=>[h.$slots["clock-icon"]?k(h.$slots,"clock-icon",{key:0}):S("",!0),h.$slots["clock-icon"]?S("",!0):(i(),le(ft(h.timePickerInline?s(ka):s(Zn)),{key:1}))]),_:2},[h.$slots[`${Y.type}-overlay-value`]?{name:"item",fn:w(({item:ge})=>[k(h.$slots,`${Y.type}-overlay-value`,{text:ge.text,value:ge.value})]),key:"0"}:void 0,h.$slots[`${Y.type}-overlay-header`]?{name:"header",fn:w(()=>[k(h.$slots,`${Y.type}-overlay-header`,{toggle:()=>v(Y.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):S("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),Bp={class:"dp--tp-wrap"},Ep=["aria-label","tabindex"],Hp=["role","aria-label","tabindex"],Yp=["aria-label"],Br=J({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Mt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,{buildMatrix:r,setTimePicker:l}=Zt(),u=Jt(),{defaultedTransitions:d,defaultedAriaLabels:b,defaultedTextInput:f,defaultedConfig:p,defaultedRange:c}=ze(o),{transitionName:g,showTransition:P}=La(d),{hideNavigationButtons:$}=nn(),R=A(null),W=A(null),U=A([]),V=A(null),K=A(!1);Ue(()=>{n("mount"),!o.timePicker&&o.arrowNavigation?r([tt(R.value)],"time"):l(!0,o.timePicker)});const se=x(()=>c.value.enabled&&o.modelAuto?wr(o.internalModelValue):!0),q=A(!1),I=j=>({hours:Array.isArray(o.hours)?o.hours[j]:o.hours,minutes:Array.isArray(o.minutes)?o.minutes[j]:o.minutes,seconds:Array.isArray(o.seconds)?o.seconds[j]:o.seconds}),te=x(()=>{const j=[];if(c.value.enabled)for(let de=0;de<2;de++)j.push(I(de));else j.push(I(0));return j}),G=(j,de=!1,De="")=>{de||n("reset-flow"),q.value=j,n(j?"overlay-opened":"overlay-closed",it.time),o.arrowNavigation&&l(j),yt(()=>{De!==""&&U.value[0]&&U.value[0].openChildCmp(De)})},F=x(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!p.value.keepActionRow})),ve=_t(u,"timePicker"),_e=(j,de,De)=>c.value.enabled?de===0?[j,te.value[1][De]]:[te.value[0][De],j]:j,ke=j=>{n("update:hours",j)},H=j=>{n("update:minutes",j)},C=j=>{n("update:seconds",j)},M=()=>{if(V.value&&!f.value.enabled&&!o.noOverlayFocus){const j=$r(V.value);j&&j.focus({preventScroll:!0})}},z=j=>{K.value=!1,n("overlay-closed",j)},ue=j=>{K.value=!0,n("overlay-opened",j)};return a({toggleTimePicker:G}),(j,de)=>{var De;return i(),m("div",Bp,[!j.timePicker&&!j.timePickerInline?Ta((i(),m("button",{key:0,ref_key:"openTimePickerBtn",ref:R,type:"button",class:he({...F.value,"dp--hidden-el":q.value}),"aria-label":(De=s(b))==null?void 0:De.openTimePicker,tabindex:j.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:de[0]||(de[0]=D=>s(ct)(D,()=>G(!0))),onClick:de[1]||(de[1]=D=>G(!0))},[j.$slots["clock-icon"]?k(j.$slots,"clock-icon",{key:0}):S("",!0),j.$slots["clock-icon"]?S("",!0):(i(),le(s(Zn),{key:1}))],42,Ep)),[[Ya,!s($)(j.hideNavigation,"time")]]):S("",!0),ee(Ht,{name:s(g)(q.value),css:s(P)&&!j.timePickerInline},{default:w(()=>{var D,T;return[q.value||j.timePicker||j.timePickerInline?(i(),m("div",{key:0,ref_key:"overlayRef",ref:V,role:j.timePickerInline?void 0:"dialog",class:he({dp__overlay:!j.timePickerInline,"dp--overlay-absolute":!o.timePicker&&!j.timePickerInline,"dp--overlay-relative":o.timePicker}),style:mt(j.timePicker?{height:`${s(p).modeHeight}px`}:void 0),"aria-label":(D=s(b))==null?void 0:D.timePicker,tabindex:j.timePickerInline?void 0:0},[y("div",{class:he(j.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[j.$slots["time-picker-overlay"]?k(j.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:ke,setMinutes:H,setSeconds:C}):S("",!0),j.$slots["time-picker-overlay"]?S("",!0):(i(),m("div",{key:1,class:he(j.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(i(!0),m(pe,null,Me(te.value,(v,N)=>Ta((i(),le(Rp,Oe({key:N,ref_for:!0},{...j.$props,order:N,hours:v.hours,minutes:v.minutes,seconds:v.seconds,closeTimePickerBtn:W.value,disabledTimesConfig:e.disabledTimesConfig,disabled:N===0?s(c).fixedStart:s(c).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:U,"validate-time":(Q,_)=>e.validateTime(Q,_e(_,N,Q)),"onUpdate:hours":Q=>ke(_e(Q,N,"hours")),"onUpdate:minutes":Q=>H(_e(Q,N,"minutes")),"onUpdate:seconds":Q=>C(_e(Q,N,"seconds")),onMounted:M,onOverlayClosed:z,onOverlayOpened:ue,onAmPmChange:de[2]||(de[2]=Q=>j.$emit("am-pm-change",Q))}),at({_:2},[Me(s(ve),(Q,_)=>({name:Q,fn:w(me=>[k(j.$slots,Q,Oe({ref_for:!0},me))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[Ya,N===0?!0:se.value]])),128))],2)),!j.timePicker&&!j.timePickerInline?Ta((i(),m("button",{key:2,ref_key:"closeTimePickerBtn",ref:W,type:"button",class:he({...F.value,"dp--hidden-el":K.value}),"aria-label":(T=s(b))==null?void 0:T.closeTimePicker,tabindex:"0",onKeydown:de[3]||(de[3]=v=>s(ct)(v,()=>G(!1))),onClick:de[4]||(de[4]=v=>G(!1))},[j.$slots["calendar-icon"]?k(j.$slots,"calendar-icon",{key:0}):S("",!0),j.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))],42,Yp)),[[Ya,!s($)(j.hideNavigation,"time")]]):S("",!0)],2)],14,Hp)):S("",!0)]}),_:3},8,["name","css"])])}}}),Er=(e,a,t,n)=>{const{defaultedRange:o}=ze(e),r=(V,K)=>Array.isArray(a[V])?a[V][K]:a[V],l=V=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[V]:a.seconds:0,u=(V,K)=>V?K!==void 0?Kt(V,r("hours",K),r("minutes",K),l(K)):Kt(V,a.hours,a.minutes,l()):gr(Z(),l(K)),d=(V,K)=>{a[V]=K},b=x(()=>e.modelAuto&&o.value.enabled?Array.isArray(t.value)?t.value.length>1:!1:o.value.enabled),f=(V,K)=>{const se=Object.fromEntries(Object.keys(a).map(q=>q===V?[q,K]:[q,a[q]].slice()));if(b.value&&!o.value.disableTimeRangeValidation){const q=te=>t.value?Kt(t.value[te],se.hours[te],se.minutes[te],se.seconds[te]):null,I=te=>yr(t.value[te],0);return!(Ve(q(0),q(1))&&(ga(q(0),I(1))||Aa(q(1),I(0))))}return!0},p=(V,K)=>{f(V,K)&&(d(V,K),n&&n())},c=V=>{p("hours",V)},g=V=>{p("minutes",V)},P=V=>{p("seconds",V)},$=(V,K,se,q)=>{K&&c(V),!K&&!se&&g(V),se&&P(V),t.value&&q(t.value)},R=V=>{if(V){const K=Array.isArray(V),se=K?[+V[0].hours,+V[1].hours]:+V.hours,q=K?[+V[0].minutes,+V[1].minutes]:+V.minutes,I=K?[+V[0].seconds,+V[1].seconds]:+V.seconds;d("hours",se),d("minutes",q),e.enableSeconds&&d("seconds",I)}},W=(V,K)=>{const se={hours:Array.isArray(a.hours)?a.hours[V]:a.hours,disabledArr:[]};return(K||K===0)&&(se.hours=K),Array.isArray(e.disabledTimes)&&(se.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[V])?e.disabledTimes[V]:e.disabledTimes),se},U=x(()=>(V,K)=>{var se;if(Array.isArray(e.disabledTimes)){const{disabledArr:q,hours:I}=W(V,K),te=q.filter(G=>+G.hours===I);return((se=te[0])==null?void 0:se.minutes)==="*"?{hours:[I],minutes:void 0,seconds:void 0}:{hours:[],minutes:(te==null?void 0:te.map(G=>+G.minutes))??[],seconds:(te==null?void 0:te.map(G=>G.seconds?+G.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:c,updateMinutes:g,updateSeconds:P,getSetDateTime:u,updateTimeValues:$,getSecondsValue:l,assignStartTime:R,validateTime:f,disabledTimesConfig:U}},Fp=(e,a)=>{const t=()=>{e.isTextInputDate&&K()},{modelValue:n,time:o}=Na(e,a,t),{defaultedStartTime:r,defaultedRange:l,defaultedTz:u}=ze(e),{updateTimeValues:d,getSetDateTime:b,setTime:f,assignStartTime:p,disabledTimesConfig:c,validateTime:g}=Er(e,o,n,P);function P(){a("update-flow-step")}const $=q=>{const{hours:I,minutes:te,seconds:G}=q;return{hours:+I,minutes:+te,seconds:G?+G:0}},R=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const I=$(e.startTime[0]),te=$(e.startTime[1]);return[He(Z(),I),He(Z(),te)]}const q=$(e.startTime);return He(Z(),q)}return l.value.enabled?[null,null]:null},W=()=>{if(l.value.enabled){const[q,I]=R();n.value=[ht(b(q,0),u.value.timezone),ht(b(I,1),u.value.timezone)]}else n.value=ht(b(R()),u.value.timezone)},U=q=>Array.isArray(q)?[la(Z(q[0])),la(Z(q[1]))]:[la(q??Z())],V=(q,I,te)=>{f("hours",q),f("minutes",I),f("seconds",e.enableSeconds?te:0)},K=()=>{const[q,I]=U(n.value);return l.value.enabled?V([q.hours,I.hours],[q.minutes,I.minutes],[q.seconds,I.seconds]):V(q.hours,q.minutes,q.seconds)};Ue(()=>{if(!e.shadow)return p(r.value),n.value?K():W()});const se=()=>{Array.isArray(n.value)?n.value=n.value.map((q,I)=>q&&b(q,I)):n.value=b(n.value),a("time-update")};return{modelValue:n,time:o,disabledTimesConfig:c,updateTime:(q,I=!0,te=!1)=>{d(q,I,te,se)},validateTime:g}},zp=J({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...Mt},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=_t(r,"timePicker"),u=A(null),{time:d,modelValue:b,disabledTimesConfig:f,updateTime:p,validateTime:c}=Fp(o,n);return Ue(()=>{o.shadow||n("mount",null)}),a({getSidebarProps:()=>({modelValue:b,time:d,updateTime:p}),toggleTimePicker:(g,P=!1,$="")=>{var R;(R=u.value)==null||R.toggleTimePicker(g,P,$)}}),(g,P)=>(i(),le(tn,{"multi-calendars":0,stretch:""},{default:w(()=>[ee(Br,Oe({ref_key:"tpRef",ref:u},g.$props,{hours:s(d).hours,minutes:s(d).minutes,seconds:s(d).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":s(f),"validate-time":s(c),"onUpdate:hours":P[0]||(P[0]=$=>s(p)($)),"onUpdate:minutes":P[1]||(P[1]=$=>s(p)($,!1)),"onUpdate:seconds":P[2]||(P[2]=$=>s(p)($,!1,!0)),onAmPmChange:P[3]||(P[3]=$=>g.$emit("am-pm-change",$)),onResetFlow:P[4]||(P[4]=$=>g.$emit("reset-flow")),onOverlayClosed:P[5]||(P[5]=$=>g.$emit("overlay-toggle",{open:!1,overlay:$})),onOverlayOpened:P[6]||(P[6]=$=>g.$emit("overlay-toggle",{open:!0,overlay:$}))}),at({_:2},[Me(s(l),($,R)=>({name:$,fn:w(W=>[k(g.$slots,$,ot(pt(W)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),Wp={class:"dp--header-wrap"},Up={key:0,class:"dp__month_year_wrap"},qp={key:0},jp={class:"dp__month_year_wrap"},Qp=["data-dp-element","aria-label","data-test","onClick","onKeydown"],Kp=J({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...Mt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTransitions:r,defaultedAriaLabels:l,defaultedMultiCalendars:u,defaultedFilters:d,defaultedConfig:b,defaultedHighlight:f,propDates:p,defaultedUI:c}=ze(o),{transitionName:g,showTransition:P}=La(r),{buildMatrix:$}=Zt(),{handleMonthYearChange:R,isDisabled:W,updateMonthYear:U}=mp(o,n),{showLeftIcon:V,showRightIcon:K}=nn(),se=A(!1),q=A(!1),I=A(!1),te=A([null,null,null,null]);Ue(()=>{n("mount")});const G=T=>({get:()=>o[T],set:v=>{const N=T===Dt.month?Dt.year:Dt.month;n("update-month-year",{[T]:v,[N]:o[N]}),T===Dt.month?z(!0):ue(!0)}}),F=x(G(Dt.month)),ve=x(G(Dt.year)),_e=x(()=>T=>({month:o.month,year:o.year,items:T===Dt.month?o.months:o.years,instance:o.instance,updateMonthYear:U,toggle:T===Dt.month?z:ue})),ke=x(()=>o.months.find(v=>v.value===o.month)||{text:"",value:0}),H=x(()=>_a(o.months,T=>{const v=o.month===T.value,N=Ca(T.value,Pr(o.year,p.value.minDate),Tr(o.year,p.value.maxDate))||d.value.months.includes(T.value),Q=Cr(f.value,T.value,o.year);return{active:v,disabled:N,highlighted:Q}})),C=x(()=>_a(o.years,T=>{const v=o.year===T.value,N=Ca(T.value,ba(p.value.minDate),ba(p.value.maxDate))||d.value.years.includes(T.value),Q=lo(f.value,T.value);return{active:v,disabled:N,highlighted:Q}})),M=(T,v,N)=>{N!==void 0?T.value=N:T.value=!T.value,T.value?(I.value=!0,n("overlay-opened",v)):(I.value=!1,n("overlay-closed",v))},z=(T=!1,v)=>{j(T),M(se,it.month,v)},ue=(T=!1,v)=>{j(T),M(q,it.year,v)},j=T=>{T||n("reset-flow")},de=(T,v)=>{o.arrowNavigation&&(te.value[v]=tt(T),$(te.value,"monthYear"))},De=x(()=>{var T,v,N,Q,_,me;return[{type:Dt.month,index:1,toggle:z,modelValue:F.value,updateModelValue:Te=>F.value=Te,text:ke.value.text,showSelectionGrid:se.value,items:H.value,ariaLabel:(T=l.value)==null?void 0:T.openMonthsOverlay,overlayLabel:((N=(v=l.value).monthPicker)==null?void 0:N.call(v,!0))??void 0},{type:Dt.year,index:2,toggle:ue,modelValue:ve.value,updateModelValue:Te=>ve.value=Te,text:Dr(o.year,o.locale),showSelectionGrid:q.value,items:C.value,ariaLabel:(Q=l.value)==null?void 0:Q.openYearsOverlay,overlayLabel:((me=(_=l.value).yearPicker)==null?void 0:me.call(_,!0))??void 0}]}),D=x(()=>o.disableYearSelect?[De.value[0]]:o.yearFirst?[...De.value].reverse():De.value);return a({toggleMonthPicker:z,toggleYearPicker:ue,handleMonthYearChange:R}),(T,v)=>{var N,Q,_,me,Te,Ze;return i(),m("div",Wp,[T.$slots["month-year"]?(i(),m("div",Up,[k(T.$slots,"month-year",ot(pt({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:s(U),handleMonthYearChange:s(R),instance:e.instance})))])):(i(),m(pe,{key:1},[T.$slots["top-extra"]?(i(),m("div",qp,[k(T.$slots,"top-extra",{value:T.internalModelValue})])):S("",!0),y("div",jp,[s(V)(s(u),e.instance)&&!T.vertical?(i(),le(xa,{key:0,"aria-label":(N=s(l))==null?void 0:N.prevMonth,disabled:s(W)(!1),class:he((Q=s(c))==null?void 0:Q.navBtnPrev),"el-name":"action-prev",onActivate:v[0]||(v[0]=B=>s(R)(!1,!0)),onSetRef:v[1]||(v[1]=B=>de(B,0))},{default:w(()=>[T.$slots["arrow-left"]?k(T.$slots,"arrow-left",{key:0}):S("",!0),T.$slots["arrow-left"]?S("",!0):(i(),le(s(Xn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),y("div",{class:he(["dp__month_year_wrap",{dp__year_disable_select:T.disableYearSelect}])},[(i(!0),m(pe,null,Me(D.value,(B,ne)=>(i(),m(pe,{key:B.type},[y("button",{ref_for:!0,ref:h=>de(h,ne+1),type:"button","data-dp-element":`overlay-${B.type}`,class:he(["dp__btn dp__month_year_select",{"dp--hidden-el":I.value}]),"aria-label":`${B.text}-${B.ariaLabel}`,"data-test":`${B.type}-toggle-overlay-${e.instance}`,onClick:B.toggle,onKeydown:h=>s(ct)(h,()=>B.toggle(),!0)},[T.$slots[B.type]?k(T.$slots,B.type,{key:0,text:B.text,value:o[B.type]}):S("",!0),T.$slots[B.type]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(B.text),1)],64))],42,Qp),ee(Ht,{name:s(g)(B.showSelectionGrid),css:s(P)},{default:w(()=>[B.showSelectionGrid?(i(),le(Ia,{key:0,items:B.items,"arrow-navigation":T.arrowNavigation,"hide-navigation":T.hideNavigation,"is-last":T.autoApply&&!s(b).keepActionRow,"skip-button-ref":!1,config:T.config,type:B.type,"header-refs":[],"esc-close":T.escClose,"menu-wrap-ref":T.menuWrapRef,"text-input":T.textInput,"aria-labels":T.ariaLabels,"overlay-label":B.overlayLabel,onSelected:B.updateModelValue,onToggle:B.toggle},at({"button-icon":w(()=>[T.$slots["calendar-icon"]?k(T.$slots,"calendar-icon",{key:0}):S("",!0),T.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))]),_:2},[T.$slots[`${B.type}-overlay-value`]?{name:"item",fn:w(({item:h})=>[k(T.$slots,`${B.type}-overlay-value`,{text:h.text,value:h.value})]),key:"0"}:void 0,T.$slots[`${B.type}-overlay`]?{name:"overlay",fn:w(()=>[k(T.$slots,`${B.type}-overlay`,Oe({ref_for:!0},_e.value(B.type)))]),key:"1"}:void 0,T.$slots[`${B.type}-overlay-header`]?{name:"header",fn:w(()=>[k(T.$slots,`${B.type}-overlay-header`,{toggle:B.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):S("",!0)]),_:2},1032,["name","css"])],64))),128))],2),s(V)(s(u),e.instance)&&T.vertical?(i(),le(xa,{key:1,"aria-label":(_=s(l))==null?void 0:_.prevMonth,"el-name":"action-prev",disabled:s(W)(!1),class:he((me=s(c))==null?void 0:me.navBtnPrev),onActivate:v[2]||(v[2]=B=>s(R)(!1,!0))},{default:w(()=>[T.$slots["arrow-up"]?k(T.$slots,"arrow-up",{key:0}):S("",!0),T.$slots["arrow-up"]?S("",!0):(i(),le(s(eo),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),s(K)(s(u),e.instance)?(i(),le(xa,{key:2,ref:"rightIcon","el-name":"action-next",disabled:s(W)(!0),"aria-label":(Te=s(l))==null?void 0:Te.nextMonth,class:he((Ze=s(c))==null?void 0:Ze.navBtnNext),onActivate:v[3]||(v[3]=B=>s(R)(!0,!0)),onSetRef:v[4]||(v[4]=B=>de(B,T.disableYearSelect?2:3))},{default:w(()=>[T.$slots[T.vertical?"arrow-down":"arrow-right"]?k(T.$slots,T.vertical?"arrow-down":"arrow-right",{key:0}):S("",!0),T.$slots[T.vertical?"arrow-down":"arrow-right"]?S("",!0):(i(),le(ft(T.vertical?s(to):s(Jn)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):S("",!0)])],64))])}}}),Gp={class:"dp__calendar_header",role:"row"},Xp={key:0,class:"dp__calendar_header_item",role:"gridcell"},Jp=["aria-label"],Zp=y("div",{class:"dp__calendar_header_separator"},null,-1),ef={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},tf={class:"dp__cell_inner"},af=["id","aria-pressed","aria-disabled","aria-label","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],nf=J({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...Mt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:a,emit:t}){const n=t,o=e,{buildMultiLevelMatrix:r}=Zt(),{defaultedTransitions:l,defaultedConfig:u,defaultedAriaLabels:d,defaultedMultiCalendars:b,defaultedWeekNumbers:f,defaultedMultiDates:p,defaultedUI:c}=ze(o),g=A(null),P=A({bottom:"",left:"",transform:""}),$=A([]),R=A(null),W=A(!0),U=A(""),V=A({startX:0,endX:0,startY:0,endY:0}),K=A([]),se=A({left:"50%"}),q=A(!1),I=x(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),te=x(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):Im(o.formatLocale,o.locale,+o.weekStart));Ue(()=>{n("mount",{cmp:"calendar",refs:$}),u.value.noSwipe||R.value&&(R.value.addEventListener("touchstart",de,{passive:!1}),R.value.addEventListener("touchend",De,{passive:!1}),R.value.addEventListener("touchmove",D,{passive:!1})),o.monthChangeOnScroll&&R.value&&R.value.addEventListener("wheel",N,{passive:!1})});const G=B=>B?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",F=(B,ne)=>{if(o.transitions){const h=vt(Rt(Z(),o.month,o.year));U.value=Ke(vt(Rt(Z(),B,ne)),h)?l.value[G(!0)]:l.value[G(!1)],W.value=!1,yt(()=>{W.value=!0})}},ve=x(()=>({...c.value.calendar??{}})),_e=x(()=>B=>{const ne=Nm(B);return{dp__marker_dot:ne.type==="dot",dp__marker_line:ne.type==="line"}}),ke=x(()=>B=>Ve(B,g.value)),H=x(()=>({dp__calendar:!0,dp__calendar_next:b.value.count>0&&o.instance!==0})),C=x(()=>B=>o.hideOffsetDates?B.current:!0),M=async(B,ne)=>{const{width:h,height:X}=B.getBoundingClientRect();g.value=ne.value;let oe={left:`${h/2}px`},Y=-50;if(await yt(),K.value[0]){const{left:xe,width:L}=K.value[0].getBoundingClientRect();xe<0&&(oe={left:"0"},Y=0,se.value.left=`${h/2}px`),window.innerWidth{var X,oe,Y;const xe=tt($.value[ne][h]);xe&&((X=B.marker)!=null&&X.customPosition&&(Y=(oe=B.marker)==null?void 0:oe.tooltip)!=null&&Y.length?P.value=B.marker.customPosition(xe):await M(xe,B),n("tooltip-open",B.marker))},ue=async(B,ne,h)=>{var X,oe;if(q.value&&p.value.enabled&&p.value.dragSelect)return n("select-date",B);n("set-hover-date",B),(oe=(X=B.marker)==null?void 0:X.tooltip)!=null&&oe.length&&await z(B,ne,h)},j=B=>{g.value&&(g.value=null,P.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),n("tooltip-close",B.marker))},de=B=>{V.value.startX=B.changedTouches[0].screenX,V.value.startY=B.changedTouches[0].screenY},De=B=>{V.value.endX=B.changedTouches[0].screenX,V.value.endY=B.changedTouches[0].screenY,T()},D=B=>{o.vertical&&!o.inline&&B.preventDefault()},T=()=>{const B=o.vertical?"Y":"X";Math.abs(V.value[`start${B}`]-V.value[`end${B}`])>10&&n("handle-swipe",V.value[`start${B}`]>V.value[`end${B}`]?"right":"left")},v=(B,ne,h)=>{B&&(Array.isArray($.value[ne])?$.value[ne][h]=B:$.value[ne]=[B]),o.arrowNavigation&&r($.value,"calendar")},N=B=>{o.monthChangeOnScroll&&(B.preventDefault(),n("handle-scroll",B))},Q=B=>f.value.type==="local"?Qn(B.value,{weekStartsOn:+o.weekStart}):f.value.type==="iso"?qn(B.value):typeof f.value.type=="function"?f.value.type(B.value):"",_=B=>{const ne=B[0];return f.value.hideOnOffsetDates?B.some(h=>h.current)?Q(ne):"":Q(ne)},me=(B,ne,h=!0)=>{h&&Ym()||p.value.enabled||(Qt(B,u.value),n("select-date",ne))},Te=B=>{Qt(B,u.value)},Ze=B=>{p.value.enabled&&p.value.dragSelect?(q.value=!0,n("select-date",B)):p.value.enabled&&n("select-date",B)};return a({triggerTransition:F}),(B,ne)=>(i(),m("div",{class:he(H.value)},[y("div",{ref_key:"calendarWrapRef",ref:R,class:he(ve.value),role:"grid"},[y("div",Gp,[B.weekNumbers?(i(),m("div",Xp,ce(B.weekNumName),1)):S("",!0),(i(!0),m(pe,null,Me(te.value,(h,X)=>{var oe,Y;return i(),m("div",{key:X,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(Y=(oe=s(d))==null?void 0:oe.weekDay)==null?void 0:Y.call(oe,X)},[B.$slots["calendar-header"]?k(B.$slots,"calendar-header",{key:0,day:h,index:X}):S("",!0),B.$slots["calendar-header"]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(h),1)],64))],8,Jp)}),128))]),Zp,ee(Ht,{name:U.value,css:!!B.transitions},{default:w(()=>[W.value?(i(),m("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:ne[1]||(ne[1]=h=>q.value=!1)},[(i(!0),m(pe,null,Me(I.value,(h,X)=>(i(),m("div",{key:X,class:"dp__calendar_row",role:"row"},[B.weekNumbers?(i(),m("div",ef,[y("div",tf,ce(_(h.days)),1)])):S("",!0),(i(!0),m(pe,null,Me(h.days,(oe,Y)=>{var xe,L,ae;return i(),m("div",{id:s(Vr)(oe.value),ref_for:!0,ref:ge=>v(ge,X,Y),key:Y+X,role:"gridcell",class:"dp__calendar_item","aria-pressed":(oe.classData.dp__active_date||oe.classData.dp__range_start||oe.classData.dp__range_start)??void 0,"aria-disabled":oe.classData.dp__cell_disabled||void 0,"aria-label":(L=(xe=s(d))==null?void 0:xe.day)==null?void 0:L.call(xe,oe),tabindex:"0","data-test":oe.value,onClick:ia(ge=>me(ge,oe),["prevent"]),onTouchend:ge=>me(ge,oe,!1),onKeydown:ge=>s(ct)(ge,()=>B.$emit("select-date",oe)),onMouseenter:ge=>ue(oe,X,Y),onMouseleave:ge=>j(oe),onMousedown:ge=>Ze(oe),onMouseup:ne[0]||(ne[0]=ge=>q.value=!1)},[y("div",{class:he(["dp__cell_inner",oe.classData])},[B.$slots.day&&C.value(oe)?k(B.$slots,"day",{key:0,day:+oe.text,date:oe.value}):S("",!0),B.$slots.day?S("",!0):(i(),m(pe,{key:1},[Ne(ce(oe.text),1)],64)),oe.marker&&C.value(oe)?(i(),m(pe,{key:2},[B.$slots.marker?k(B.$slots,"marker",{key:0,marker:oe.marker,day:+oe.text,date:oe.value}):(i(),m("div",{key:1,class:he(_e.value(oe.marker)),style:mt(oe.marker.color?{backgroundColor:oe.marker.color}:{})},null,6))],64)):S("",!0),ke.value(oe.value)?(i(),m("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:K,class:"dp__marker_tooltip",style:mt(P.value)},[(ae=oe.marker)!=null&&ae.tooltip?(i(),m("div",{key:0,class:"dp__tooltip_content",onClick:Te},[(i(!0),m(pe,null,Me(oe.marker.tooltip,(ge,Ae)=>(i(),m("div",{key:Ae,class:"dp__tooltip_text"},[B.$slots["marker-tooltip"]?k(B.$slots,"marker-tooltip",{key:0,tooltip:ge,day:oe.value}):S("",!0),B.$slots["marker-tooltip"]?S("",!0):(i(),m(pe,{key:1},[y("div",{class:"dp__tooltip_mark",style:mt(ge.color?{backgroundColor:ge.color}:{})},null,4),y("div",null,ce(ge.text),1)],64))]))),128)),y("div",{class:"dp__arrow_bottom_tp",style:mt(se.value)},null,4)])):S("",!0)],4)):S("",!0)],2)],40,af)}),128))]))),128))],32)):S("",!0)]),_:3},8,["name","css"])],2)],2))}}),Ao=e=>Array.isArray(e),of=(e,a,t,n)=>{const o=A([]),r=A(new Date),l=A(),u=()=>de(e.isTextInputDate),{modelValue:d,calendars:b,time:f,today:p}=Na(e,a,u),{defaultedMultiCalendars:c,defaultedStartTime:g,defaultedRange:P,defaultedConfig:$,defaultedTz:R,propDates:W,defaultedMultiDates:U}=ze(e),{validateMonthYearInRange:V,isDisabled:K,isDateRangeAllowed:se,checkMinMaxRange:q}=ea(e),{updateTimeValues:I,getSetDateTime:te,setTime:G,assignStartTime:F,validateTime:ve,disabledTimesConfig:_e}=Er(e,f,d,n),ke=x(()=>O=>b.value[O]?b.value[O].month:0),H=x(()=>O=>b.value[O]?b.value[O].year:0),C=O=>!$.value.keepViewOnOffsetClick||O?!0:!l.value,M=(O,ie,E,re=!1)=>{var fe,ut;C(re)&&(b.value[O]||(b.value[O]={month:0,year:0}),b.value[O].month=Po(ie)?(fe=b.value[O])==null?void 0:fe.month:ie,b.value[O].year=Po(E)?(ut=b.value[O])==null?void 0:ut.year:E)},z=()=>{e.autoApply&&a("select-date")};Ue(()=>{e.shadow||(d.value||(B(),g.value&&F(g.value)),de(!0),e.focusStartDate&&e.startDate&&B())});const ue=x(()=>{var O;return(O=e.flow)!=null&&O.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),j=()=>{e.autoApply&&ue.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},de=(O=!1)=>{if(d.value)return Array.isArray(d.value)?(o.value=d.value,_(O)):T(d.value,O);if(c.value.count&&O&&!e.startDate)return D(Z(),O)},De=()=>Array.isArray(d.value)&&P.value.enabled?Se(d.value[0])===Se(d.value[1]??d.value[0]):!1,D=(O=new Date,ie=!1)=>{if((!c.value.count||!c.value.static||ie)&&M(0,Se(O),Pe(O)),c.value.count&&(!c.value.solo||!d.value||De()))for(let E=1;E{D(O),G("hours",Bt(O)),G("minutes",Gt(O)),G("seconds",ya(O)),c.value.count&&ie&&Ze()},v=O=>{if(c.value.count){if(c.value.solo)return 0;const ie=Se(O[0]),E=Se(O[1]);return Math.abs(E-ie){O[1]&&P.value.showLastInRange?D(O[v(O)],ie):D(O[0],ie);const E=(re,fe)=>[re(O[0]),O[1]?re(O[1]):f[fe][1]];G("hours",E(Bt,"hours")),G("minutes",E(Gt,"minutes")),G("seconds",E(ya,"seconds"))},Q=(O,ie)=>{if((P.value.enabled||e.weekPicker)&&!U.value.enabled)return N(O,ie);if(U.value.enabled&&ie){const E=O[O.length-1];return T(E,ie)}},_=O=>{const ie=d.value;Q(ie,O),c.value.count&&c.value.solo&&Ze()},me=(O,ie)=>{const E=He(Z(),{month:ke.value(ie),year:H.value(ie)}),re=O<0?bt(E,1):Et(E,1);V(Se(re),Pe(re),O<0,e.preventMinMaxNavigation)&&(M(ie,Se(re),Pe(re)),a("update-month-year",{instance:ie,month:Se(re),year:Pe(re)}),c.value.count&&!c.value.solo&&Te(ie),t())},Te=O=>{for(let ie=O-1;ie>=0;ie--){const E=Et(He(Z(),{month:ke.value(ie+1),year:H.value(ie+1)}),1);M(ie,Se(E),Pe(E))}for(let ie=O+1;ie<=c.value.count-1;ie++){const E=bt(He(Z(),{month:ke.value(ie-1),year:H.value(ie-1)}),1);M(ie,Se(E),Pe(E))}},Ze=()=>{if(Array.isArray(d.value)&&d.value.length===2){const O=Z(Z(d.value[1]?d.value[1]:bt(d.value[0],1))),[ie,E]=[Se(d.value[0]),Pe(d.value[0])],[re,fe]=[Se(d.value[1]),Pe(d.value[1])];(ie!==re||ie===re&&E!==fe)&&c.value.solo&&M(1,Se(O),Pe(O))}else d.value&&!Array.isArray(d.value)&&(M(0,Se(d.value),Pe(d.value)),D(Z()))},B=()=>{e.startDate&&(M(0,Se(Z(e.startDate)),Pe(Z(e.startDate))),c.value.count&&Te(0))},ne=(O,ie)=>{if(e.monthChangeOnScroll){const E=new Date().getTime()-r.value.getTime(),re=Math.abs(O.deltaY);let fe=500;re>1&&(fe=100),re>100&&(fe=0),E>fe&&(r.value=new Date,me(e.monthChangeOnScroll!=="inverse"?-O.deltaY:O.deltaY,ie))}},h=(O,ie,E=!1)=>{e.monthChangeOnArrows&&e.vertical===E&&X(O,ie)},X=(O,ie)=>{me(O==="right"?-1:1,ie)},oe=O=>{if(W.value.markers)return qa(O.value,W.value.markers)},Y=(O,ie)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[O==0,!0];case"fair":return[O==0||ie>O,!0];case"append":return[!1,!1];default:return[!1,!1]}},xe=(O,ie,E,re)=>{if(e.sixWeeks&&O.length<6){const fe=6-O.length,ut=(ie.getDay()+7-re)%7,wt=6-(E.getDay()+7-re)%7,[ta,Ba]=Y(ut,wt);for(let Da=1;Da<=fe;Da++)if(Ba?!!(Da%2)==ta:ta){const zt=O[0].days[0],vn=L(et(zt.value,-7),Se(ie));O.unshift({days:vn})}else{const zt=O[O.length-1],vn=zt.days[zt.days.length-1],Yr=L(et(vn.value,1),Se(ie));O.push({days:Yr})}}return O},L=(O,ie)=>{const E=Z(O),re=[];for(let fe=0;fe<7;fe++){const ut=et(E,fe),wt=Se(ut)!==ie;re.push({text:e.hideOffsetDates&&wt?"":ut.getDate(),value:ut,current:!wt,classData:{}})}return re},ae=(O,ie)=>{const E=[],re=new Date(ie,O),fe=new Date(ie,O+1,0),ut=e.weekStart,wt=Tt(re,{weekStartsOn:ut}),ta=Ba=>{const Da=L(Ba,O);if(E.push({days:Da}),!E[E.length-1].days.some(zt=>Ve(vt(zt.value),vt(fe)))){const zt=et(Ba,7);ta(zt)}};return ta(wt),xe(E,re,fe,ut)},ge=O=>{const ie=Kt(Z(O.value),f.hours,f.minutes,gt());a("date-update",ie),U.value.enabled?so(ie,d,U.value.limit):d.value=ie,n(),yt().then(()=>{j()})},Ae=O=>P.value.noDisabledRange?Mr(o.value[0],O).some(ie=>K(ie)):!1,kt=()=>{o.value=d.value?d.value.slice():[],o.value.length===2&&!(P.value.fixedStart||P.value.fixedEnd)&&(o.value=[])},$e=(O,ie)=>{const E=[Z(O.value),et(Z(O.value),+P.value.autoRange)];se(E)?(ie&&Ft(O.value),o.value=E):a("invalid-date",O.value)},Ft=O=>{const ie=Se(Z(O)),E=Pe(Z(O));if(M(0,ie,E),c.value.count>0)for(let re=1;re{if(Ae(O.value)||!q(O.value,d.value,P.value.fixedStart?0:1))return a("invalid-date",O.value);o.value=Nr(Z(O.value),d,a,P)},wa=(O,ie)=>{if(kt(),P.value.autoRange)return $e(O,ie);if(P.value.fixedStart||P.value.fixedEnd)return xt(O);o.value[0]?q(Z(O.value),d.value)&&!Ae(O.value)?qe(Z(O.value),Z(o.value[0]))?(o.value.unshift(Z(O.value)),a("range-end",o.value[0])):(o.value[1]=Z(O.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",O.value),a("invalid-date",O.value)):(o.value[0]=Z(O.value),a("range-start",o.value[0]))},gt=(O=!0)=>e.enableSeconds?Array.isArray(f.seconds)?O?f.seconds[0]:f.seconds[1]:f.seconds:0,$a=O=>{o.value[O]=Kt(o.value[O],f.hours[O],f.minutes[O],gt(O!==1))},on=()=>{var O,ie;o.value[0]&&o.value[1]&&+((O=o.value)==null?void 0:O[0])>+((ie=o.value)==null?void 0:ie[1])&&(o.value.reverse(),a("range-start",o.value[0]),a("range-end",o.value[1]))},Ra=()=>{o.value.length&&(o.value[0]&&!o.value[1]?$a(0):($a(0),$a(1),n()),on(),d.value=o.value.slice(),an(o.value,a,e.autoApply,e.modelAuto))},rn=(O,ie=!1)=>{if(K(O.value)||!O.current&&e.hideOffsetDates)return a("invalid-date",O.value);if(l.value=JSON.parse(JSON.stringify(O)),!P.value.enabled)return ge(O);Ao(f.hours)&&Ao(f.minutes)&&!U.value.enabled&&(wa(O,ie),Ra())},ln=(O,ie)=>{var E;M(O,ie.month,ie.year,!0),c.value.count&&!c.value.solo&&Te(O),a("update-month-year",{instance:O,month:ie.month,year:ie.year}),t(c.value.solo?O:void 0);const re=(E=e.flow)!=null&&E.length?e.flow[e.flowStep]:void 0;!ie.fromNav&&(re===it.month||re===it.year)&&n()},sn=(O,ie)=>{Lr({value:O,modelValue:d,range:P.value.enabled,timezone:ie?void 0:R.value.timezone}),z(),e.multiCalendars&&yt().then(()=>de(!0))},un=()=>{const O=ao(Z(),R.value);P.value.enabled?d.value&&Array.isArray(d.value)&&d.value[0]?d.value=qe(O,d.value[0])?[O,d.value[0]]:[d.value[0],O]:d.value=[O]:d.value=O,z()},dn=()=>{if(Array.isArray(d.value))if(U.value.enabled){const O=cn();d.value[d.value.length-1]=te(O)}else d.value=d.value.map((O,ie)=>O&&te(O,ie));else d.value=te(d.value);a("time-update")},cn=()=>Array.isArray(d.value)&&d.value.length?d.value[d.value.length-1]:null;return{calendars:b,modelValue:d,month:ke,year:H,time:f,disabledTimesConfig:_e,today:p,validateTime:ve,getCalendarDays:ae,getMarker:oe,handleScroll:ne,handleSwipe:X,handleArrow:h,selectDate:rn,updateMonthYear:ln,presetDate:sn,selectCurrentDate:un,updateTime:(O,ie=!0,E=!1)=>{I(O,ie,E,dn)},assignMonthAndYear:D}},rf={key:0},lf=J({__name:"DatePicker",props:{...Mt},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,{calendars:r,month:l,year:u,modelValue:d,time:b,disabledTimesConfig:f,today:p,validateTime:c,getCalendarDays:g,getMarker:P,handleArrow:$,handleScroll:R,handleSwipe:W,selectDate:U,updateMonthYear:V,presetDate:K,selectCurrentDate:se,updateTime:q,assignMonthAndYear:I}=of(o,n,De,D),te=Jt(),{setHoverDate:G,getDayClassData:F,clearHoverDate:ve}=Df(d,o),{defaultedMultiCalendars:_e}=ze(o),ke=A([]),H=A([]),C=A(null),M=_t(te,"calendar"),z=_t(te,"monthYear"),ue=_t(te,"timePicker"),j=ne=>{o.shadow||n("mount",ne)};Je(r,()=>{o.shadow||setTimeout(()=>{n("recalculate-position")},0)},{deep:!0}),Je(_e,(ne,h)=>{ne.count-h.count>0&&I()},{deep:!0});const de=x(()=>ne=>g(l.value(ne),u.value(ne)).map(h=>({...h,days:h.days.map(X=>(X.marker=P(X),X.classData=F(X),X))})));function De(ne){var h;ne||ne===0?(h=H.value[ne])==null||h.triggerTransition(l.value(ne),u.value(ne)):H.value.forEach((X,oe)=>X.triggerTransition(l.value(oe),u.value(oe)))}function D(){n("update-flow-step")}const T=(ne,h=!1)=>{U(ne,h),o.spaceConfirm&&n("select-date")},v=(ne,h,X=0)=>{var oe;(oe=ke.value[X])==null||oe.toggleMonthPicker(ne,h)},N=(ne,h,X=0)=>{var oe;(oe=ke.value[X])==null||oe.toggleYearPicker(ne,h)},Q=(ne,h,X)=>{var oe;(oe=C.value)==null||oe.toggleTimePicker(ne,h,X)},_=(ne,h)=>{var X;if(!o.range){const oe=d.value?d.value:p,Y=h?new Date(h):oe,xe=ne?Tt(Y,{weekStartsOn:1}):rr(Y,{weekStartsOn:1});U({value:xe,current:Se(Y)===l.value(0),text:"",classData:{}}),(X=document.getElementById(Vr(xe)))==null||X.focus()}},me=ne=>{var h;(h=ke.value[0])==null||h.handleMonthYearChange(ne,!0)},Te=ne=>{V(0,{month:l.value(0),year:u.value(0)+(ne?1:-1),fromNav:!0})},Ze=(ne,h)=>{ne===it.time&&n(`time-picker-${h?"open":"close"}`),n("overlay-toggle",{open:h,overlay:ne})},B=ne=>{n("overlay-toggle",{open:!1,overlay:ne}),n("focus-menu")};return a({clearHoverDate:ve,presetDate:K,selectCurrentDate:se,toggleMonthPicker:v,toggleYearPicker:N,toggleTimePicker:Q,handleArrow:$,updateMonthYear:V,getSidebarProps:()=>({modelValue:d,month:l,year:u,time:b,updateTime:q,updateMonthYear:V,selectDate:U,presetDate:K}),changeMonth:me,changeYear:Te,selectWeekDate:_}),(ne,h)=>(i(),m(pe,null,[ee(tn,{"multi-calendars":s(_e).count,collapse:ne.collapse},{default:w(({instance:X,index:oe})=>[ne.disableMonthYearSelect?S("",!0):(i(),le(Kp,Oe({key:0,ref:Y=>{Y&&(ke.value[oe]=Y)},months:s(kr)(ne.formatLocale,ne.locale,ne.monthNameFormat),years:s(no)(ne.yearRange,ne.locale,ne.reverseYears),month:s(l)(X),year:s(u)(X),instance:X},ne.$props,{onMount:h[0]||(h[0]=Y=>j(s(ra).header)),onResetFlow:h[1]||(h[1]=Y=>ne.$emit("reset-flow")),onUpdateMonthYear:Y=>s(V)(X,Y),onOverlayClosed:B,onOverlayOpened:h[2]||(h[2]=Y=>ne.$emit("overlay-toggle",{open:!0,overlay:Y}))}),at({_:2},[Me(s(z),(Y,xe)=>({name:Y,fn:w(L=>[k(ne.$slots,Y,ot(pt(L)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),ee(nf,Oe({ref:Y=>{Y&&(H.value[oe]=Y)},"mapped-dates":de.value(X),month:s(l)(X),year:s(u)(X),instance:X},ne.$props,{onSelectDate:Y=>s(U)(Y,X!==1),onHandleSpace:Y=>T(Y,X!==1),onSetHoverDate:h[3]||(h[3]=Y=>s(G)(Y)),onHandleScroll:Y=>s(R)(Y,X),onHandleSwipe:Y=>s(W)(Y,X),onMount:h[4]||(h[4]=Y=>j(s(ra).calendar)),onResetFlow:h[5]||(h[5]=Y=>ne.$emit("reset-flow")),onTooltipOpen:h[6]||(h[6]=Y=>ne.$emit("tooltip-open",Y)),onTooltipClose:h[7]||(h[7]=Y=>ne.$emit("tooltip-close",Y))}),at({_:2},[Me(s(M),(Y,xe)=>({name:Y,fn:w(L=>[k(ne.$slots,Y,ot(pt({...L})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),ne.enableTimePicker?(i(),m("div",rf,[ne.$slots["time-picker"]?k(ne.$slots,"time-picker",ot(Oe({key:0},{time:s(b),updateTime:s(q)}))):(i(),le(Br,Oe({key:1,ref_key:"timePickerRef",ref:C},ne.$props,{hours:s(b).hours,minutes:s(b).minutes,seconds:s(b).seconds,"internal-model-value":ne.internalModelValue,"disabled-times-config":s(f),"validate-time":s(c),onMount:h[8]||(h[8]=X=>j(s(ra).timePicker)),"onUpdate:hours":h[9]||(h[9]=X=>s(q)(X)),"onUpdate:minutes":h[10]||(h[10]=X=>s(q)(X,!1)),"onUpdate:seconds":h[11]||(h[11]=X=>s(q)(X,!1,!0)),onResetFlow:h[12]||(h[12]=X=>ne.$emit("reset-flow")),onOverlayClosed:h[13]||(h[13]=X=>Ze(X,!1)),onOverlayOpened:h[14]||(h[14]=X=>Ze(X,!0)),onAmPmChange:h[15]||(h[15]=X=>ne.$emit("am-pm-change",X))}),at({_:2},[Me(s(ue),(X,oe)=>({name:X,fn:w(Y=>[k(ne.$slots,X,ot(pt(Y)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):S("",!0)],64))}}),sf=(e,a)=>{const t=A(),{defaultedMultiCalendars:n,defaultedConfig:o,defaultedHighlight:r,defaultedRange:l,propDates:u,defaultedFilters:d,defaultedMultiDates:b}=ze(e),{modelValue:f,year:p,month:c,calendars:g}=Na(e,a),{isDisabled:P}=ea(e),{selectYear:$,groupedYears:R,showYearPicker:W,isDisabled:U,toggleYearPicker:V,handleYearSelect:K,handleYear:se}=Rr({modelValue:f,multiCalendars:n,range:l,highlight:r,calendars:g,propDates:u,month:c,year:p,filters:d,props:e,emit:a}),q=(C,M)=>[C,M].map(z=>$t(z,"MMMM",{locale:e.formatLocale})).join("-"),I=x(()=>C=>f.value?Array.isArray(f.value)?f.value.some(M=>wo(C,M)):wo(f.value,C):!1),te=C=>{if(l.value.enabled){if(Array.isArray(f.value)){const M=Ve(C,f.value[0])||Ve(C,f.value[1]);return Za(f.value,t.value,C)&&!M}return!1}return!1},G=(C,M)=>C.quarter===fo(M)&&C.year===Pe(M),F=C=>typeof r.value=="function"?r.value({quarter:fo(C),year:Pe(C)}):!!r.value.quarters.find(M=>G(M,C)),ve=x(()=>C=>{const M=He(new Date,{year:p.value(C)});return Bc({start:ha(M),end:Un(M)}).map(z=>{const ue=qt(z),j=yo(z),de=P(z),De=te(ue),D=F(ue);return{text:q(ue,j),value:ue,active:I.value(ue),highlighted:D,disabled:de,isBetween:De}})}),_e=C=>{so(C,f,b.value.limit),a("auto-apply",!0)},ke=C=>{f.value=io(f,C,a),an(f.value,a,e.autoApply,e.modelAuto)},H=C=>{f.value=C,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:n,groupedYears:R,year:p,isDisabled:U,quarters:ve,showYearPicker:W,modelValue:f,setHoverDate:C=>{t.value=C},selectYear:$,selectQuarter:(C,M,z)=>{if(!z)return g.value[M].month=Se(yo(C)),b.value.enabled?_e(C):l.value.enabled?ke(C):H(C)},toggleYearPicker:V,handleYearSelect:K,handleYear:se}},uf={class:"dp--quarter-items"},df=["data-test","disabled","onClick","onMouseover"],cf=J({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...Mt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=_t(r,"yearMode"),{defaultedMultiCalendars:u,defaultedConfig:d,groupedYears:b,year:f,isDisabled:p,quarters:c,modelValue:g,showYearPicker:P,setHoverDate:$,selectQuarter:R,toggleYearPicker:W,handleYearSelect:U,handleYear:V}=sf(o,n);return a({getSidebarProps:()=>({modelValue:g,year:f,selectQuarter:R,handleYearSelect:U,handleYear:V})}),(K,se)=>(i(),le(tn,{"multi-calendars":s(u).count,collapse:K.collapse,stretch:""},{default:w(({instance:q})=>[y("div",{class:"dp-quarter-picker-wrap",style:mt({minHeight:`${s(d).modeHeight}px`})},[K.$slots["top-extra"]?k(K.$slots,"top-extra",{key:0,value:K.internalModelValue}):S("",!0),y("div",null,[ee(Ir,Oe(K.$props,{items:s(b)(q),instance:q,"show-year-picker":s(P)[q],year:s(f)(q),"is-disabled":I=>s(p)(q,I),onHandleYear:I=>s(V)(q,I),onYearSelect:I=>s(U)(I,q),onToggleYearPicker:I=>s(W)(q,I==null?void 0:I.flow,I==null?void 0:I.show)}),at({_:2},[Me(s(l),(I,te)=>({name:I,fn:w(G=>[k(K.$slots,I,ot(pt(G)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),y("div",uf,[(i(!0),m(pe,null,Me(s(c)(q),(I,te)=>(i(),m("div",{key:te},[y("button",{type:"button",class:he(["dp--qr-btn",{"dp--qr-btn-active":I.active,"dp--qr-btn-between":I.isBetween,"dp--qr-btn-disabled":I.disabled,"dp--highlighted":I.highlighted}]),"data-test":I.value,disabled:I.disabled,onClick:G=>s(R)(I.value,q,I.disabled),onMouseover:G=>s($)(I.value)},[K.$slots.quarter?k(K.$slots,"quarter",{key:0,value:I.value,text:I.text}):(i(),m(pe,{key:1},[Ne(ce(I.text),1)],64))],42,df)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),vf=["id","tabindex","role","aria-label"],mf={key:0,class:"dp--menu-load-container"},pf=y("span",{class:"dp--menu-loader"},null,-1),ff=[pf],hf={key:1,class:"dp--menu-header"},yf={key:0,class:"dp__sidebar_left"},gf=["data-test","onClick","onKeydown"],_f={key:2,class:"dp__sidebar_right"},bf={key:3,class:"dp__action_extra"},Co=J({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...en,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=A(null),l=x(()=>{const{openOnTop:L,...ae}=o;return{...ae,flowStep:G.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:r.value}}),{setMenuFocused:u,setShiftKey:d,control:b}=Or(),f=Jt(),{defaultedTextInput:p,defaultedInline:c,defaultedConfig:g,defaultedUI:P}=ze(o),$=A(null),R=A(0),W=A(null),U=A(!1),V=A(null);Ue(()=>{if(!o.shadow){U.value=!0,K(),window.addEventListener("resize",K);const L=tt(r);if(L&&!p.value.enabled&&!c.value.enabled&&(u(!0),M()),L){const ae=ge=>{g.value.allowPreventDefault&&ge.preventDefault(),Qt(ge,g.value,!0)};L.addEventListener("pointerdown",ae),L.addEventListener("mousedown",ae)}}}),Xt(()=>{window.removeEventListener("resize",K)});const K=()=>{const L=tt(W);L&&(R.value=L.getBoundingClientRect().width)},{arrowRight:se,arrowLeft:q,arrowDown:I,arrowUp:te}=Zt(),{flowStep:G,updateFlowStep:F,childMount:ve,resetFlow:_e,handleFlow:ke}=Pf(o,n,V),H=x(()=>o.monthPicker?Dp:o.yearPicker?Tp:o.timePicker?zp:o.quarterPicker?cf:lf),C=x(()=>{var L;if(g.value.arrowLeft)return g.value.arrowLeft;const ae=(L=r.value)==null?void 0:L.getBoundingClientRect(),ge=o.getInputRect();return(ge==null?void 0:ge.width)<(R==null?void 0:R.value)&&(ge==null?void 0:ge.left)<=((ae==null?void 0:ae.left)??0)?`${(ge==null?void 0:ge.width)/2}px`:(ge==null?void 0:ge.right)>=((ae==null?void 0:ae.right)??0)&&(ge==null?void 0:ge.width)<(R==null?void 0:R.value)?`${(R==null?void 0:R.value)-(ge==null?void 0:ge.width)/2}px`:"50%"}),M=()=>{const L=tt(r);L&&L.focus({preventScroll:!0})},z=x(()=>{var L;return((L=V.value)==null?void 0:L.getSidebarProps())||{}}),ue=()=>{o.openOnTop&&n("recalculate-position")},j=_t(f,"action"),de=x(()=>o.monthPicker||o.yearPicker?_t(f,"monthYear"):o.timePicker?_t(f,"timePicker"):_t(f,"shared")),De=x(()=>o.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),D=x(()=>({dp__menu_disabled:o.disabled,dp__menu_readonly:o.readonly,"dp-menu-loading":o.loading})),T=x(()=>({dp__menu:!0,dp__menu_index:!c.value.enabled,dp__relative:c.value.enabled,...P.value.menu??{}})),v=L=>{Qt(L,g.value,!0)},N=()=>{o.escClose&&n("close-picker")},Q=L=>{if(o.arrowNavigation){if(L===dt.up)return te();if(L===dt.down)return I();if(L===dt.left)return q();if(L===dt.right)return se()}else L===dt.left||L===dt.up?B("handleArrow",dt.left,0,L===dt.up):B("handleArrow",dt.right,0,L===dt.down)},_=L=>{d(L.shiftKey),!o.disableMonthYearSelect&&L.code===Fe.tab&&L.target.classList.contains("dp__menu")&&b.value.shiftKeyInMenu&&(L.preventDefault(),Qt(L,g.value,!0),n("close-picker"))},me=()=>{M(),n("time-picker-close")},Te=L=>{var ae,ge,Ae;(ae=V.value)==null||ae.toggleTimePicker(!1,!1),(ge=V.value)==null||ge.toggleMonthPicker(!1,!1,L),(Ae=V.value)==null||Ae.toggleYearPicker(!1,!1,L)},Ze=(L,ae=0)=>{var ge,Ae,kt;return L==="month"?(ge=V.value)==null?void 0:ge.toggleMonthPicker(!1,!0,ae):L==="year"?(Ae=V.value)==null?void 0:Ae.toggleYearPicker(!1,!0,ae):L==="time"?(kt=V.value)==null?void 0:kt.toggleTimePicker(!0,!1):Te(ae)},B=(L,...ae)=>{var ge,Ae;(ge=V.value)!=null&&ge[L]&&((Ae=V.value)==null||Ae[L](...ae))},ne=()=>{B("selectCurrentDate")},h=(L,ae)=>{B("presetDate",L,ae)},X=()=>{B("clearHoverDate")},oe=(L,ae)=>{B("updateMonthYear",L,ae)},Y=(L,ae)=>{L.preventDefault(),Q(ae)},xe=L=>{var ae,ge,Ae;if(_(L),L.key===Fe.home||L.key===Fe.end)return B("selectWeekDate",L.key===Fe.home,L.target.getAttribute("id"));switch((L.key===Fe.pageUp||L.key===Fe.pageDown)&&(L.shiftKey?(B("changeYear",L.key===Fe.pageUp),(ae=In(r.value,"overlay-year"))==null||ae.focus()):(B("changeMonth",L.key===Fe.pageUp),(ge=In(r.value,L.key===Fe.pageUp?"action-prev":"action-next"))==null||ge.focus()),L.target.getAttribute("id")&&((Ae=r.value)==null||Ae.focus({preventScroll:!0}))),L.key){case Fe.esc:return N();case Fe.arrowLeft:return Y(L,dt.left);case Fe.arrowRight:return Y(L,dt.right);case Fe.arrowUp:return Y(L,dt.up);case Fe.arrowDown:return Y(L,dt.down);default:return}};return a({updateMonthYear:oe,switchView:Ze,handleFlow:ke}),(L,ae)=>{var ge,Ae,kt;return i(),m("div",{id:L.uid?`dp-menu-${L.uid}`:void 0,ref_key:"dpMenuRef",ref:r,tabindex:s(c).enabled?void 0:"0",role:s(c).enabled?void 0:"dialog","aria-label":(ge=L.ariaLabels)==null?void 0:ge.menu,class:he(T.value),style:mt({"--dp-arrow-left":C.value}),onMouseleave:X,onClick:v,onKeydown:xe},[(L.disabled||L.readonly)&&s(c).enabled||L.loading?(i(),m("div",{key:0,class:he(D.value)},[L.loading?(i(),m("div",mf,ff)):S("",!0)],2)):S("",!0),L.$slots["menu-header"]?(i(),m("div",hf,[k(L.$slots,"menu-header")])):S("",!0),!s(c).enabled&&!L.teleportCenter?(i(),m("div",{key:2,class:he(De.value)},null,2)):S("",!0),y("div",{ref_key:"innerMenuRef",ref:W,class:he({dp__menu_content_wrapper:((Ae=L.presetDates)==null?void 0:Ae.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((kt=L.presetDates)==null?void 0:kt.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"])}),style:mt({"--dp-menu-width":`${R.value}px`})},[L.$slots["left-sidebar"]?(i(),m("div",yf,[k(L.$slots,"left-sidebar",ot(pt(z.value)))])):S("",!0),L.presetDates.length?(i(),m("div",{key:1,class:he({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(i(!0),m(pe,null,Me(L.presetDates,($e,Ft)=>(i(),m(pe,{key:Ft},[$e.slot?k(L.$slots,$e.slot,{key:0,presetDate:h,label:$e.label,value:$e.value}):(i(),m("button",{key:1,type:"button",style:mt($e.style||{}),class:he(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test":$e.testId??void 0,onClick:ia(xt=>h($e.value,$e.noTz),["prevent"]),onKeydown:xt=>s(ct)(xt,()=>h($e.value,$e.noTz),!0)},ce($e.label),47,gf))],64))),128))],2)):S("",!0),y("div",{ref_key:"calendarWrapperRef",ref:$,class:"dp__instance_calendar",role:"document"},[(i(),le(ft(H.value),Oe({ref_key:"dynCmpRef",ref:V},l.value,{"flow-step":s(G),onMount:s(ve),onUpdateFlowStep:s(F),onResetFlow:s(_e),onFocusMenu:M,onSelectDate:ae[0]||(ae[0]=$e=>L.$emit("select-date")),onDateUpdate:ae[1]||(ae[1]=$e=>L.$emit("date-update",$e)),onTooltipOpen:ae[2]||(ae[2]=$e=>L.$emit("tooltip-open",$e)),onTooltipClose:ae[3]||(ae[3]=$e=>L.$emit("tooltip-close",$e)),onAutoApply:ae[4]||(ae[4]=$e=>L.$emit("auto-apply",$e)),onRangeStart:ae[5]||(ae[5]=$e=>L.$emit("range-start",$e)),onRangeEnd:ae[6]||(ae[6]=$e=>L.$emit("range-end",$e)),onInvalidFixedRange:ae[7]||(ae[7]=$e=>L.$emit("invalid-fixed-range",$e)),onTimeUpdate:ae[8]||(ae[8]=$e=>L.$emit("time-update")),onAmPmChange:ae[9]||(ae[9]=$e=>L.$emit("am-pm-change",$e)),onTimePickerOpen:ae[10]||(ae[10]=$e=>L.$emit("time-picker-open",$e)),onTimePickerClose:me,onRecalculatePosition:ue,onUpdateMonthYear:ae[11]||(ae[11]=$e=>L.$emit("update-month-year",$e)),onAutoApplyInvalid:ae[12]||(ae[12]=$e=>L.$emit("auto-apply-invalid",$e)),onInvalidDate:ae[13]||(ae[13]=$e=>L.$emit("invalid-date",$e)),onOverlayToggle:ae[14]||(ae[14]=$e=>L.$emit("overlay-toggle",$e)),"onUpdate:internalModelValue":ae[15]||(ae[15]=$e=>L.$emit("update:internal-model-value",$e))}),at({_:2},[Me(de.value,($e,Ft)=>({name:$e,fn:w(xt=>[k(L.$slots,$e,ot(pt({...xt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(i(),m("div",_f,[k(L.$slots,"right-sidebar",ot(pt(z.value)))])):S("",!0),L.$slots["action-extra"]?(i(),m("div",bf,[L.$slots["action-extra"]?k(L.$slots,"action-extra",{key:0,selectCurrentDate:ne}):S("",!0)])):S("",!0)],6),!L.autoApply||s(g).keepActionRow?(i(),le(hp,Oe({key:3,"menu-mount":U.value},l.value,{"calendar-width":R.value,onClosePicker:ae[16]||(ae[16]=$e=>L.$emit("close-picker")),onSelectDate:ae[17]||(ae[17]=$e=>L.$emit("select-date")),onInvalidSelect:ae[18]||(ae[18]=$e=>L.$emit("invalid-select")),onSelectNow:ne}),at({_:2},[Me(s(j),($e,Ft)=>({name:$e,fn:w(xt=>[k(L.$slots,$e,ot(pt({...xt})))])}))]),1040,["menu-mount","calendar-width"])):S("",!0)],46,vf)}}});var ma=(e=>(e.center="center",e.left="left",e.right="right",e))(ma||{});const kf=({menuRef:e,menuRefInner:a,inputRef:t,pickerWrapperRef:n,inline:o,emit:r,props:l,slots:u})=>{const{defaultedConfig:d}=ze(l),b=A({}),f=A(!1),p=A({top:"0",left:"0"}),c=A(!1),g=Sa(l,"teleportCenter");Je(g,()=>{p.value=JSON.parse(JSON.stringify({})),se()});const P=M=>{if(l.teleport){const z=M.getBoundingClientRect();return{left:z.left+window.scrollX,top:z.top+window.scrollY}}return{top:0,left:0}},$=(M,z)=>{p.value.left=`${M+z-b.value.width}px`},R=M=>{p.value.left=`${M}px`},W=(M,z)=>{l.position===ma.left&&R(M),l.position===ma.right&&$(M,z),l.position===ma.center&&(p.value.left=`${M+z/2-b.value.width/2}px`)},U=M=>{const{width:z,height:ue}=M.getBoundingClientRect(),{top:j,left:de}=l.altPosition?l.altPosition(M):P(M);return{top:+j,left:+de,width:z,height:ue}},V=()=>{p.value.left="50%",p.value.top="50%",p.value.transform="translate(-50%, -50%)",p.value.position="fixed",delete p.value.opacity},K=()=>{const M=tt(t),{top:z,left:ue,transform:j}=l.altPosition(M);p.value={top:`${z}px`,left:`${ue}px`,transform:j??""}},se=(M=!0)=>{var z;if(!o.value.enabled){if(g.value)return V();if(l.altPosition!==null)return K();if(M){const ue=l.teleport?(z=a.value)==null?void 0:z.$el:e.value;ue&&(b.value=ue.getBoundingClientRect()),r("recalculate-position")}return _e()}},q=({inputEl:M,left:z,width:ue})=>{window.screen.width>768&&!f.value&&W(z,ue),G(M)},I=M=>{const{top:z,left:ue,height:j,width:de}=U(M);p.value.top=`${j+z+ +l.offset}px`,c.value=!1,f.value||(p.value.left=`${ue+de/2-b.value.width/2}px`),q({inputEl:M,left:ue,width:de})},te=M=>{const{top:z,left:ue,width:j}=U(M);p.value.top=`${z-+l.offset-b.value.height}px`,c.value=!0,q({inputEl:M,left:ue,width:j})},G=M=>{if(l.autoPosition){const{left:z,width:ue}=U(M),{left:j,right:de}=b.value;if(!f.value){if(Math.abs(j)!==Math.abs(de)){if(j<=0)return f.value=!0,R(z);if(de>=document.documentElement.clientWidth)return f.value=!0,$(z,ue)}return W(z,ue)}}},F=()=>{const M=tt(t);if(M){const{height:z}=b.value,{top:ue,height:j}=M.getBoundingClientRect(),de=window.innerHeight-ue-j,De=ue;return z<=de?na.bottom:z>de&&z<=De?na.top:de>=De?na.bottom:na.top}return na.bottom},ve=M=>F()===na.bottom?I(M):te(M),_e=()=>{const M=tt(t);if(M)return l.autoPosition?ve(M):I(M)},ke=function(M){if(M){const z=M.scrollHeight>M.clientHeight,ue=window.getComputedStyle(M).overflowY.indexOf("hidden")!==-1;return z&&!ue}return!0},H=function(M){return!M||M===document.body||M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ke(M)?M:H(M.assignedSlot&&d.value.shadowDom?M.assignedSlot.parentNode:M.parentNode)},C=M=>{if(M)switch(l.position){case ma.left:return{left:0,transform:"translateX(0)"};case ma.right:return{left:`${M.width}px`,transform:"translateX(-100%)"};default:return{left:`${M.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:c,menuStyle:p,xCorrect:f,setMenuPosition:se,getScrollableParent:H,shadowRender:(M,z)=>{var ue,j,de;const De=document.createElement("div"),D=(ue=tt(t))==null?void 0:ue.getBoundingClientRect();De.setAttribute("id","dp--temp-container");const T=(j=n.value)!=null&&j.clientWidth?n.value:document.body;T.append(De);const v=C(D),N=d.value.shadowDom?Object.keys(u).filter(_=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(_)):Object.keys(u),Q=tl(M,{...z,shadow:!0,style:{opacity:0,position:"absolute",...v}},Object.fromEntries(N.map(_=>[_,u[_]])));co(Q,De),b.value=(de=Q.el)==null?void 0:de.getBoundingClientRect(),co(null,De),T.removeChild(De)}}},Ut=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],wf=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],$f={all:()=>Ut,monthYear:()=>Ut.filter(e=>e.use.includes("month-year")),input:()=>wf,timePicker:()=>Ut.filter(e=>e.use.includes("time")),action:()=>Ut.filter(e=>e.use.includes("action")),calendar:()=>Ut.filter(e=>e.use.includes("calendar")),menu:()=>Ut.filter(e=>e.use.includes("menu")),shared:()=>Ut.filter(e=>e.use.includes("shared")),yearMode:()=>Ut.filter(e=>e.use.includes("year-mode"))},_t=(e,a,t)=>{const n=[];return $f[a]().forEach(o=>{e[o.name]&&n.push(o.name)}),t!=null&&t.length&&t.forEach(o=>{o.slot&&n.push(o.slot)}),n},La=e=>{const a=x(()=>n=>e.value?n?e.value.open:e.value.close:""),t=x(()=>n=>e.value?n?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:t}},Na=(e,a,t)=>{const{defaultedRange:n,defaultedTz:o}=ze(e),r=Z(ht(Z(),o.value.timezone)),l=A([{month:Se(r),year:Pe(r)}]),u=c=>{const g={hours:Bt(r),minutes:Gt(r),seconds:0};return n.value.enabled?[g[c],g[c]]:g[c]},d=Va({hours:u("hours"),minutes:u("minutes"),seconds:u("seconds")});Je(n,(c,g)=>{c.enabled!==g.enabled&&(d.hours=u("hours"),d.minutes=u("minutes"),d.seconds=u("seconds"))},{deep:!0});const b=x({get:()=>e.internalModelValue,set:c=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",c)}}),f=x(()=>c=>l.value[c]?l.value[c].month:0),p=x(()=>c=>l.value[c]?l.value[c].year:0);return Je(b,(c,g)=>{t&&JSON.stringify(c??{})!==JSON.stringify(g??{})&&t()},{deep:!0}),{calendars:l,time:d,modelValue:b,month:f,year:p,today:r}},Df=(e,a)=>{const{defaultedMultiCalendars:t,defaultedMultiDates:n,defaultedUI:o,defaultedHighlight:r,defaultedTz:l,propDates:u,defaultedRange:d}=ze(a),{isDisabled:b}=ea(a),f=A(null),p=A(ht(new Date,l.value.timezone)),c=v=>{!v.current&&a.hideOffsetDates||(f.value=v.value)},g=()=>{f.value=null},P=v=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&f.value?v?Ke(f.value,e.value[0]):qe(f.value,e.value[0]):!0,$=(v,N)=>{const Q=()=>e.value?N?e.value[0]||null:e.value[1]:null,_=e.value&&Array.isArray(e.value)?Q():null;return Ve(Z(v.value),_)},R=v=>{const N=Array.isArray(e.value)?e.value[0]:null;return v?!qe(f.value??null,N):!0},W=(v,N=!0)=>(d.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!v.current?!1:Ve(Z(v.value),e.value[N?0:1]):d.value.enabled?$(v,N)&&R(N)||Ve(v.value,Array.isArray(e.value)?e.value[0]:null)&&P(N):!1,U=(v,N)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const Q=Ve(v.value,f.value);return N?Ke(e.value[0],v.value)&&Q:qe(e.value[0],v.value)&&Q}return!1},V=v=>!e.value||a.hideOffsetDates&&!v.current?!1:d.value.enabled?a.modelAuto&&Array.isArray(e.value)?Ve(v.value,e.value[0]?e.value[0]:p.value):!1:n.value.enabled&&Array.isArray(e.value)?e.value.some(N=>Ve(N,v.value)):Ve(v.value,e.value?e.value:p.value),K=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!v.current)return!1;const N=et(f.value,+d.value.autoRange),Q=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ve(Q[1],Z(v.value)):Ve(N,Z(v.value))}return!1}return!1},se=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){const N=et(f.value,+d.value.autoRange);if(a.hideOffsetDates&&!v.current)return!1;const Q=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ke(v.value,Q[0])&&qe(v.value,Q[1]):Ke(v.value,f.value)&&qe(v.value,N)}return!1}return!1},q=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!v.current)return!1;const N=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ve(N[0],v.value):Ve(f.value,v.value)}return!1}return!1},I=v=>Za(e.value,f.value,v.value),te=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,G=()=>a.modelAuto?wr(a.internalModelValue):!0,F=v=>{if(a.weekPicker)return!1;const N=d.value.enabled?!W(v)&&!W(v,!1):!0;return!b(v.value)&&!V(v)&&!(!v.current&&a.hideOffsetDates)&&N},ve=v=>d.value.enabled?a.modelAuto?te()&&V(v):!1:V(v),_e=v=>r.value?Hm(v.value,u.value.highlight):!1,ke=v=>{const N=b(v.value);return N&&(typeof r.value=="function"?!r.value(v.value,N):!r.value.options.highlightDisabled)},H=v=>{var N;return typeof r.value=="function"?r.value(v.value):(N=r.value.weekdays)==null?void 0:N.includes(v.value.getDay())},C=v=>(d.value.enabled||a.weekPicker)&&(!(t.value.count>0)||v.current)&&G()&&!(!v.current&&a.hideOffsetDates)&&!V(v)?I(v):!1,M=v=>{const{isRangeStart:N,isRangeEnd:Q}=de(v),_=d.value.enabled?N||Q:!1;return{dp__cell_offset:!v.current,dp__pointer:!a.disabled&&!(!v.current&&a.hideOffsetDates)&&!b(v.value),dp__cell_disabled:b(v.value),dp__cell_highlight:!ke(v)&&(_e(v)||H(v))&&!ve(v)&&!_&&!q(v)&&!(C(v)&&a.weekPicker)&&!Q,dp__cell_highlight_active:!ke(v)&&(_e(v)||H(v))&&ve(v),dp__today:!a.noToday&&Ve(v.value,p.value)&&v.current,"dp--past":qe(v.value,p.value),"dp--future":Ke(v.value,p.value)}},z=v=>({dp__active_date:ve(v),dp__date_hover:F(v)}),ue=v=>{if(e.value&&!Array.isArray(e.value)){const N=Nt(e.value,a.weekStart);return{...D(v),dp__range_start:Ve(N[0],v.value),dp__range_end:Ve(N[1],v.value),dp__range_between_week:Ke(v.value,N[0])&&qe(v.value,N[1])}}return{...D(v)}},j=v=>{if(e.value&&Array.isArray(e.value)){const N=Nt(e.value[0],a.weekStart),Q=e.value[1]?Nt(e.value[1],a.weekStart):[];return{...D(v),dp__range_start:Ve(N[0],v.value)||Ve(Q[0],v.value),dp__range_end:Ve(N[1],v.value)||Ve(Q[1],v.value),dp__range_between_week:Ke(v.value,N[0])&&qe(v.value,N[1])||Ke(v.value,Q[0])&&qe(v.value,Q[1]),dp__range_between:Ke(v.value,N[1])&&qe(v.value,Q[0])}}return{...D(v)}},de=v=>{const N=t.value.count>0?v.current&&W(v)&&G():W(v)&&G(),Q=t.value.count>0?v.current&&W(v,!1)&&G():W(v,!1)&&G();return{isRangeStart:N,isRangeEnd:Q}},De=v=>{const{isRangeStart:N,isRangeEnd:Q}=de(v);return{dp__range_start:N,dp__range_end:Q,dp__range_between:C(v),dp__date_hover:Ve(v.value,f.value)&&!N&&!Q&&!a.weekPicker,dp__date_hover_start:U(v,!0),dp__date_hover_end:U(v,!1)}},D=v=>({...De(v),dp__cell_auto_range:se(v),dp__cell_auto_range_start:q(v),dp__cell_auto_range_end:K(v)}),T=v=>d.value.enabled?d.value.autoRange?D(v):a.modelAuto?{...z(v),...De(v)}:a.weekPicker?j(v):De(v):a.weekPicker?ue(v):z(v);return{setHoverDate:c,clearHoverDate:g,getDayClassData:v=>a.hideOffsetDates&&!v.current?{}:{...M(v),...T(v),[a.dayClass?a.dayClass(v.value,a.internalModelValue):""]:!0,...o.value.calendarCell??{}}}},ea=e=>{const{defaultedFilters:a,defaultedRange:t,propDates:n,defaultedMultiDates:o}=ze(e),r=H=>n.value.disabledDates?typeof n.value.disabledDates=="function"?n.value.disabledDates(Z(H)):!!qa(H,n.value.disabledDates):!1,l=H=>n.value.maxDate?e.yearPicker?Pe(H)>Pe(n.value.maxDate):Ke(H,n.value.maxDate):!1,u=H=>n.value.minDate?e.yearPicker?Pe(H){const C=l(H),M=u(H),z=r(H),ue=a.value.months.map(T=>+T).includes(Se(H)),j=e.disabledWeekDays.length?e.disabledWeekDays.some(T=>+T===Sv(H)):!1,de=g(H),De=Pe(H),D=De<+e.yearRange[0]||De>+e.yearRange[1];return!(C||M||z||ue||D||j||de)},b=(H,C)=>qe(...jt(n.value.minDate,H,C))||Ve(...jt(n.value.minDate,H,C)),f=(H,C)=>Ke(...jt(n.value.maxDate,H,C))||Ve(...jt(n.value.maxDate,H,C)),p=(H,C,M)=>{let z=!1;return n.value.maxDate&&M&&f(H,C)&&(z=!0),n.value.minDate&&!M&&b(H,C)&&(z=!0),z},c=(H,C,M,z)=>{let ue=!1;return z?n.value.minDate&&n.value.maxDate?ue=p(H,C,M):(n.value.minDate&&b(H,C)||n.value.maxDate&&f(H,C))&&(ue=!0):ue=!0,ue},g=H=>Array.isArray(n.value.allowedDates)&&!n.value.allowedDates.length?!0:n.value.allowedDates?!qa(H,n.value.allowedDates):!1,P=H=>!d(H),$=H=>t.value.noDisabledRange?!or({start:H[0],end:H[1]}).some(C=>P(C)):!0,R=H=>{if(H){const C=Pe(H);return C>=+e.yearRange[0]&&C<=e.yearRange[1]}return!0},W=(H,C)=>!!(Array.isArray(H)&&H[C]&&(t.value.maxRange||t.value.minRange)&&R(H[C])),U=(H,C,M=0)=>{if(W(C,M)&&R(H)){const z=ar(H,C[M]),ue=Mr(C[M],H),j=ue.length===1?0:ue.filter(De=>P(De)).length,de=Math.abs(z)-(t.value.minMaxRawRange?0:j);if(t.value.minRange&&t.value.maxRange)return de>=+t.value.minRange&&de<=+t.value.maxRange;if(t.value.minRange)return de>=+t.value.minRange;if(t.value.maxRange)return de<=+t.value.maxRange}return!0},V=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,K=H=>Array.isArray(H)?[H[0]?gn(H[0]):null,H[1]?gn(H[1]):null]:gn(H),se=(H,C,M)=>H.find(z=>+z.hours===Bt(C)&&z.minutes==="*"?!0:+z.minutes===Gt(C)&&+z.hours===Bt(C))&&M,q=(H,C,M)=>{const[z,ue]=H,[j,de]=C;return!se(z,j,M)&&!se(ue,de,M)&&M},I=(H,C)=>{const M=Array.isArray(C)?C:[C];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?q(e.disabledTimes,M,H):!M.some(z=>se(e.disabledTimes,z,H)):H},te=(H,C)=>{const M=Array.isArray(C)?[la(C[0]),C[1]?la(C[1]):void 0]:la(C),z=!e.disabledTimes(M);return H&&z},G=(H,C)=>e.disabledTimes?Array.isArray(e.disabledTimes)?I(C,H):te(C,H):C,F=H=>{let C=!0;if(!H||V())return!0;const M=!n.value.minDate&&!n.value.maxDate?K(H):H;return(e.maxTime||n.value.maxDate)&&(C=Mo(e.maxTime,n.value.maxDate,"max",nt(M),C)),(e.minTime||n.value.minDate)&&(C=Mo(e.minTime,n.value.minDate,"min",nt(M),C)),G(H,C)},ve=H=>{if(!e.monthPicker)return!0;let C=!0;const M=Z(Pt(H));if(n.value.minDate&&n.value.maxDate){const z=Z(Pt(n.value.minDate)),ue=Z(Pt(n.value.maxDate));return Ke(M,z)&&qe(M,ue)||Ve(M,z)||Ve(M,ue)}if(n.value.minDate){const z=Z(Pt(n.value.minDate));C=Ke(M,z)||Ve(M,z)}if(n.value.maxDate){const z=Z(Pt(n.value.maxDate));C=qe(M,z)||Ve(M,z)}return C},_e=x(()=>H=>!e.enableTimePicker||e.ignoreTimeValidation?!0:F(H)),ke=x(()=>H=>e.monthPicker?Array.isArray(H)&&(t.value.enabled||o.value.enabled)?!H.filter(C=>!ve(C)).length:ve(H):!0);return{isDisabled:P,validateDate:d,validateMonthYearInRange:c,isDateRangeAllowed:$,checkMinMaxRange:U,isValidTime:F,isTimeValid:_e,isMonthValid:ke}},nn=()=>{const e=x(()=>(n,o)=>n==null?void 0:n.includes(o)),a=x(()=>(n,o)=>n.count?n.solo?!0:o===0:!0),t=x(()=>(n,o)=>n.count?n.solo?!0:o===n.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:t}},Pf=(e,a,t)=>{const n=A(0),o=Va({[ra.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[ra.calendar]:!1,[ra.header]:!1}),r=x(()=>e.monthPicker||e.timePicker),l=p=>{var c;if((c=e.flow)!=null&&c.length){if(!p&&r.value)return f();o[p]=!0,Object.keys(o).filter(g=>!o[g]).length||f()}},u=()=>{var p,c;(p=e.flow)!=null&&p.length&&n.value!==-1&&(n.value+=1,a("flow-step",n.value),f()),((c=e.flow)==null?void 0:c.length)===n.value&&yt().then(()=>d())},d=()=>{n.value=-1},b=(p,c,...g)=>{var P,$;e.flow[n.value]===p&&t.value&&(($=(P=t.value)[c])==null||$.call(P,...g))},f=(p=0)=>{p&&(n.value+=p),b(it.month,"toggleMonthPicker",!0),b(it.year,"toggleYearPicker",!0),b(it.calendar,"toggleTimePicker",!1,!0),b(it.time,"toggleTimePicker",!0,!0);const c=e.flow[n.value];(c===it.hours||c===it.minutes||c===it.seconds)&&b(c,"toggleTimePicker",!0,!0,c)};return{childMount:l,updateFlowStep:u,resetFlow:d,handleFlow:f,flowStep:n}},Tf={key:1,class:"dp__input_wrap"},Mf=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-disabled","aria-invalid"],xf=["aria-label"],Sf={key:2,class:"dp__clear_icon"},Af=J({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...en},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTextInput:r,defaultedAriaLabels:l,defaultedInline:u,defaultedConfig:d,defaultedRange:b,defaultedMultiDates:f,defaultedUI:p,getDefaultPattern:c,getDefaultStartTime:g}=ze(o),{checkMinMaxRange:P}=ea(o),$=A(),R=A(null),W=A(!1),U=A(!1),V=A(!1),K=A(null),se=x(()=>({dp__pointer:!o.disabled&&!o.readonly&&!r.value.enabled,dp__disabled:o.disabled,dp__input_readonly:!r.value.enabled,dp__input:!0,dp__input_icon_pad:!o.hideInputIcon,dp__input_valid:typeof o.state=="boolean"?o.state:!1,dp__input_invalid:typeof o.state=="boolean"?!o.state:!1,dp__input_focus:W.value||o.isMenuOpen,dp__input_reg:!r.value.enabled,...p.value.input??{}})),q=()=>{n("set-input-date",null),o.clearable&&o.autoApply&&(n("set-empty-date"),$.value=null)},I=D=>{const T=g();return Fm(D,r.value.format??c(),T??xr({},o.enableSeconds),o.inputValue,V.value,o.formatLocale)},te=D=>{const{rangeSeparator:T}=r.value,[v,N]=D.split(`${T}`);if(v){const Q=I(v.trim()),_=N?I(N.trim()):null;if(ga(Q,_))return;const me=Q&&_?[Q,_]:[Q];P(_,me,0)&&($.value=Q?me:null)}},G=()=>{V.value=!0},F=D=>{if(b.value.enabled)te(D);else if(f.value.enabled){const T=D.split(";");$.value=T.map(v=>I(v.trim())).filter(v=>v)}else $.value=I(D)},ve=D=>{var T;const v=typeof D=="string"?D:(T=D.target)==null?void 0:T.value;v!==""?(r.value.openMenu&&!o.isMenuOpen&&n("open"),F(v),n("set-input-date",$.value)):q(),V.value=!1,n("update:input-value",v),n("text-input",D,$.value)},_e=D=>{r.value.enabled?(F(D.target.value),r.value.enterSubmit&&Ln($.value)&&o.inputValue!==""?(n("set-input-date",$.value,!0),$.value=null):r.value.enterSubmit&&o.inputValue===""&&($.value=null,n("clear"))):C(D)},ke=(D,T)=>{var v;if(K.value&&T&&!U.value)return D.preventDefault(),U.value=!0,(v=K.value)==null?void 0:v.focus();r.value.enabled&&r.value.tabSubmit&&F(D.target.value),r.value.tabSubmit&&Ln($.value)&&o.inputValue!==""?(n("set-input-date",$.value,!0,!0),$.value=null):r.value.tabSubmit&&o.inputValue===""&&($.value=null,n("clear",!0))},H=()=>{W.value=!0,n("focus"),yt().then(()=>{var D;r.value.enabled&&r.value.selectOnFocus&&((D=R.value)==null||D.select())})},C=D=>{if(D.preventDefault(),Qt(D,d.value,!0),r.value.enabled&&r.value.openMenu&&!u.value.input){if(r.value.openMenu==="open"&&!o.isMenuOpen)return n("open");if(r.value.openMenu==="toggle")return n("toggle")}else r.value.enabled||n("toggle")},M=()=>{n("real-blur"),W.value=!1,(!o.isMenuOpen||u.value.enabled&&u.value.input)&&n("blur"),o.autoApply&&r.value.enabled&&$.value&&!o.isMenuOpen&&(n("set-input-date",$.value),n("select-date"),$.value=null)},z=D=>{Qt(D,d.value,!0),n("clear")},ue=(D,T)=>{if(D.key==="Tab"&&ke(D,T),D.key==="Enter"&&_e(D),!r.value.enabled){if(D.code==="Tab")return;D.preventDefault()}},j=()=>{var D;(D=R.value)==null||D.focus({preventScroll:!0})},de=D=>{$.value=D},De=D=>{D.key===Fe.tab&&(U.value=!1,ke(D))};return a({focusInput:j,setParsedDate:de}),(D,T)=>{var v,N;return i(),m("div",{onClick:C},[D.$slots.trigger&&!D.$slots["dp-input"]&&!s(u).enabled?k(D.$slots,"trigger",{key:0}):S("",!0),!D.$slots.trigger&&(!s(u).enabled||s(u).input)?(i(),m("div",Tf,[D.$slots["dp-input"]&&!D.$slots.trigger&&(!s(u).enabled||s(u).enabled&&s(u).input)?k(D.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:ve,onEnter:_e,onTab:ke,onClear:z,onBlur:M,onKeypress:ue,onPaste:G,onFocus:H,openMenu:()=>D.$emit("open"),closeMenu:()=>D.$emit("close"),toggleMenu:()=>D.$emit("toggle")}):S("",!0),D.$slots["dp-input"]?S("",!0):(i(),m("input",{key:1,id:D.uid?`dp-input-${D.uid}`:void 0,ref_key:"inputRef",ref:R,"data-test":"dp-input",name:D.name,class:he(se.value),inputmode:s(r).enabled?"text":"none",placeholder:D.placeholder,disabled:D.disabled,readonly:D.readonly,required:D.required,value:e.inputValue,autocomplete:D.autocomplete,"aria-disabled":D.disabled||void 0,"aria-invalid":D.state===!1?!0:void 0,onInput:ve,onBlur:M,onFocus:H,onKeypress:ue,onKeydown:T[0]||(T[0]=Q=>ue(Q,!0)),onPaste:G},null,42,Mf)),y("div",{"aria-label":(v=s(l))==null?void 0:v.clearInput,onClick:T[3]||(T[3]=Q=>n("toggle"))},[D.$slots["input-icon"]&&!D.hideInputIcon?(i(),m("span",{key:0,class:"dp__input_icon",onClick:T[1]||(T[1]=Q=>n("toggle"))},[k(D.$slots,"input-icon")])):S("",!0),!D.$slots["input-icon"]&&!D.hideInputIcon&&!D.$slots["dp-input"]?(i(),le(s(ka),{key:1,"aria-label":(N=s(l))==null?void 0:N.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:T[2]||(T[2]=Q=>n("toggle"))},null,8,["aria-label"])):S("",!0)],8,xf),D.$slots["clear-icon"]&&e.inputValue&&D.clearable&&!D.disabled&&!D.readonly?(i(),m("span",Sf,[k(D.$slots,"clear-icon",{clear:z})])):S("",!0),D.clearable&&!D.$slots["clear-icon"]&&e.inputValue&&!D.disabled&&!D.readonly?(i(),m("button",{key:3,ref_key:"clearBtnRef",ref:K,class:"dp--clear-btn",type:"button",onBlur:T[4]||(T[4]=Q=>U.value=!1),onKeydown:T[5]||(T[5]=Q=>s(ct)(Q,()=>z(Q),!0,De)),onClick:T[6]||(T[6]=ia(Q=>z(Q),["prevent"]))},[ee(s(br),{class:"dp__input_icons","data-test":"clear-icon"})],544)):S("",!0)])):S("",!0)])}}}),Cf=typeof window<"u"?window:void 0,Dn=()=>{},Vf=e=>ol()?(rl(e),!0):!1,Of=(e,a,t,n)=>{if(!e)return Dn;let o=Dn;const r=Je(()=>s(e),u=>{o(),u&&(u.addEventListener(a,t,n),o=()=>{u.removeEventListener(a,t,n),o=Dn})},{immediate:!0,flush:"post"}),l=()=>{r(),o()};return Vf(l),l},If=(e,a,t,n={})=>{const{window:o=Cf,event:r="pointerdown"}=n;return o?Of(o,r,l=>{const u=tt(e),d=tt(a);!u||!d||u===l.target||l.composedPath().includes(u)||l.composedPath().includes(d)||t(l)},{passive:!0}):void 0},Lf=J({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...en},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=A(!1),u=Sa(o,"modelValue"),d=Sa(o,"timezone"),b=A(null),f=A(null),p=A(null),c=A(!1),g=A(null),P=A(!1),$=A(!1),R=A(!1),W=A(!1),{setMenuFocused:U,setShiftKey:V}=Or(),{clearArrowNav:K}=Zt(),{validateDate:se,isValidTime:q}=ea(o),{defaultedTransitions:I,defaultedTextInput:te,defaultedInline:G,defaultedConfig:F,defaultedRange:ve,defaultedMultiDates:_e}=ze(o),{menuTransition:ke,showTransition:H}=La(I);Ue(()=>{N(o.modelValue),yt().then(()=>{if(!G.value.enabled){const E=De(g.value);E==null||E.addEventListener("scroll",oe),window==null||window.addEventListener("resize",Y)}}),G.value.enabled&&(l.value=!0),window==null||window.addEventListener("keyup",xe),window==null||window.addEventListener("keydown",L)}),Xt(()=>{if(!G.value.enabled){const E=De(g.value);E==null||E.removeEventListener("scroll",oe),window==null||window.removeEventListener("resize",Y)}window==null||window.removeEventListener("keyup",xe),window==null||window.removeEventListener("keydown",L)});const C=_t(r,"all",o.presetDates),M=_t(r,"input");Je([u,d],()=>{N(u.value)},{deep:!0});const{openOnTop:z,menuStyle:ue,xCorrect:j,setMenuPosition:de,getScrollableParent:De,shadowRender:D}=kf({menuRef:b,menuRefInner:f,inputRef:p,pickerWrapperRef:g,inline:G,emit:n,props:o,slots:r}),{inputValue:T,internalModelValue:v,parseExternalModelValue:N,emitModelValue:Q,formatInputValue:_,checkBeforeEmit:me}=vp(n,o,c),Te=x(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:G.value.enabled,"dp--flex-display-collapsed":R.value,dp__flex_display_with_input:G.value.input})),Ze=x(()=>o.dark?"dp__theme_dark":"dp__theme_light"),B=x(()=>o.teleport?{to:typeof o.teleport=="boolean"?"body":o.teleport,disabled:!o.teleport||G.value.enabled}:{}),ne=x(()=>({class:"dp__outer_menu_wrap"})),h=x(()=>G.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),X=()=>{var E,re;return(re=(E=p.value)==null?void 0:E.$el)==null?void 0:re.getBoundingClientRect()},oe=()=>{l.value&&(F.value.closeOnScroll?gt():de())},Y=()=>{var E;l.value&&de();const re=(E=f.value)==null?void 0:E.$el.getBoundingClientRect().width;R.value=document.body.offsetWidth<=re},xe=E=>{E.key==="Tab"&&!G.value.enabled&&!o.teleport&&F.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||gt()),$.value=E.shiftKey},L=E=>{$.value=E.shiftKey},ae=()=>{!o.disabled&&!o.readonly&&(D(Co,o),de(!1),l.value=!0,l.value&&n("open"),l.value||wa(),N(o.modelValue))},ge=()=>{var E;T.value="",wa(),(E=p.value)==null||E.setParsedDate(null),n("update:model-value",null),n("update:model-timezone-value",null),n("cleared"),F.value.closeOnClearValue&>()},Ae=()=>{const E=v.value;return!E||!Array.isArray(E)&&se(E)?!0:Array.isArray(E)?_e.value.enabled||E.length===2&&se(E[0])&&se(E[1])?!0:ve.value.partialRange&&!o.timePicker?se(E[0]):!1:!1},kt=()=>{me()&&Ae()?(Q(),gt()):n("invalid-select",v.value)},$e=E=>{Ft(),Q(),F.value.closeOnAutoApply&&!E&>()},Ft=()=>{p.value&&te.value.enabled&&p.value.setParsedDate(v.value)},xt=(E=!1)=>{o.autoApply&&q(v.value)&&Ae()&&(ve.value.enabled&&Array.isArray(v.value)?(ve.value.partialRange||v.value.length===2)&&$e(E):$e(E))},wa=()=>{te.value.enabled||(v.value=null)},gt=()=>{G.value.enabled||(l.value&&(l.value=!1,j.value=!1,U(!1),V(!1),K(),n("closed"),T.value&&N(u.value)),wa(),n("blur"))},$a=(E,re,fe=!1)=>{if(!E){v.value=null;return}const ut=Array.isArray(E)?!E.some(ta=>!se(ta)):se(E),wt=q(E);ut&&wt&&(W.value=!0,v.value=E,re&&(P.value=fe,kt(),n("text-submit")),yt().then(()=>{W.value=!1}))},on=()=>{o.autoApply&&q(v.value)&&Q(),Ft()},Ra=()=>l.value?gt():ae(),rn=E=>{v.value=E},ln=()=>{te.value.enabled&&(c.value=!0,_()),n("focus")},sn=()=>{if(te.value.enabled&&(c.value=!1,N(o.modelValue),P.value)){const E=Em(g.value,$.value);E==null||E.focus()}n("blur")},un=E=>{f.value&&f.value.updateMonthYear(0,{month:Do(E.month),year:Do(E.year)})},dn=E=>{N(E??o.modelValue)},cn=(E,re)=>{var fe;(fe=f.value)==null||fe.switchView(E,re)},O=E=>F.value.onClickOutside?F.value.onClickOutside(E):gt(),ie=(E=0)=>{var re;(re=f.value)==null||re.handleFlow(E)};return If(b,p,()=>O(Ae)),a({closeMenu:gt,selectDate:kt,clearValue:ge,openMenu:ae,onScroll:oe,formatInputValue:_,updateInternalModelValue:rn,setMonthYear:un,parseModel:dn,switchView:cn,toggleMenu:Ra,handleFlow:ie,dpWrapMenuRef:b}),(E,re)=>(i(),m("div",{ref_key:"pickerWrapperRef",ref:g,class:he(Te.value),"data-datepicker-instance":""},[ee(Af,Oe({ref_key:"inputRef",ref:p,"input-value":s(T),"onUpdate:inputValue":re[0]||(re[0]=fe=>uo(T)?T.value=fe:null),"is-menu-open":l.value},E.$props,{onClear:ge,onOpen:ae,onSetInputDate:$a,onSetEmptyDate:s(Q),onSelectDate:kt,onToggle:Ra,onClose:gt,onFocus:ln,onBlur:sn,onRealBlur:re[1]||(re[1]=fe=>c.value=!1),onTextInput:re[2]||(re[2]=fe=>E.$emit("text-input",fe))}),at({_:2},[Me(s(M),(fe,ut)=>({name:fe,fn:w(wt=>[k(E.$slots,fe,ot(pt(wt)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(i(),le(ft(E.teleport?el:"div"),ot(pt(B.value)),{default:w(()=>[ee(Ht,{name:s(ke)(s(z)),css:s(H)&&!s(G).enabled},{default:w(()=>[l.value?(i(),m("div",Oe({key:0,ref_key:"dpWrapMenuRef",ref:b},ne.value,{class:{"dp--menu-wrapper":!s(G).enabled},style:s(G).enabled?void 0:s(ue)}),[ee(Co,Oe({ref_key:"dpMenuRef",ref:f},E.$props,{"internal-model-value":s(v),"onUpdate:internalModelValue":re[3]||(re[3]=fe=>uo(v)?v.value=fe:null),class:{[Ze.value]:!0,"dp--menu-wrapper":E.teleport},"open-on-top":s(z),"no-overlay-focus":h.value,collapse:R.value,"get-input-rect":X,"is-text-input-date":W.value,onClosePicker:gt,onSelectDate:kt,onAutoApply:xt,onTimeUpdate:on,onFlowStep:re[4]||(re[4]=fe=>E.$emit("flow-step",fe)),onUpdateMonthYear:re[5]||(re[5]=fe=>E.$emit("update-month-year",fe)),onInvalidSelect:re[6]||(re[6]=fe=>E.$emit("invalid-select",s(v))),onAutoApplyInvalid:re[7]||(re[7]=fe=>E.$emit("invalid-select",fe)),onInvalidFixedRange:re[8]||(re[8]=fe=>E.$emit("invalid-fixed-range",fe)),onRecalculatePosition:s(de),onTooltipOpen:re[9]||(re[9]=fe=>E.$emit("tooltip-open",fe)),onTooltipClose:re[10]||(re[10]=fe=>E.$emit("tooltip-close",fe)),onTimePickerOpen:re[11]||(re[11]=fe=>E.$emit("time-picker-open",fe)),onTimePickerClose:re[12]||(re[12]=fe=>E.$emit("time-picker-close",fe)),onAmPmChange:re[13]||(re[13]=fe=>E.$emit("am-pm-change",fe)),onRangeStart:re[14]||(re[14]=fe=>E.$emit("range-start",fe)),onRangeEnd:re[15]||(re[15]=fe=>E.$emit("range-end",fe)),onDateUpdate:re[16]||(re[16]=fe=>E.$emit("date-update",fe)),onInvalidDate:re[17]||(re[17]=fe=>E.$emit("invalid-date",fe)),onOverlayToggle:re[18]||(re[18]=fe=>E.$emit("overlay-toggle",fe))}),at({_:2},[Me(s(C),(fe,ut)=>({name:fe,fn:w(wt=>[k(E.$slots,fe,ot(pt({...wt})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):S("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Ie=(()=>{const e=Lf;return e.install=a=>{a.component("Vue3DatePicker",e)},e})(),Nf=Object.freeze(Object.defineProperty({__proto__:null,default:Ie},Symbol.toStringTag,{value:"Module"}));Object.entries(Nf).forEach(([e,a])=>{e!=="default"&&(Ie[e]=a)});const Rf={class:"demo-wrap"},Bf={class:"action-row"},Ef={class:"current-selection"},Hf=["onClick"],Yf=J({__name:"ActionRowSlotDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>$t(o,"dd.MM.yyyy, HH:mm");return(o,r)=>(i(),m("div",Rf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t)},{"action-row":w(({internalModelValue:l,selectDate:u})=>[y("div",Bf,[y("p",Ef,ce(n(l)),1),y("button",{class:"select-button",onClick:u},"Select Date",8,Hf)])]),_:1},8,["modelValue","dark"])]))}}),Ff={class:"demo-wrap"},zf=J({__name:"CustomCalendarDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(),n=o=>o.filter(r=>r.days.some(l=>l.text===15)).map(r=>({...r,days:r.days.map(l=>(l.classData["custom-class"]=!0,l))}));return(o,r)=>(i(),m("div",Ff,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},o.$props,{dark:s(a),calendar:n,placeholder:"Select Date"}),null,16,["modelValue","dark"])]))}}),Wf={class:"demo-wrap"},Uf=J({__name:"DarkDemo",props:["placeholder"],setup(e){const a=A(new Date);return(t,n)=>(i(),m("div",Wf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=o=>a.value=o),placeholder:e.placeholder,dark:""},null,8,["modelValue","placeholder"])]))}}),qf={class:"demo-wrap"},jf=J({__name:"DemoDayClass",setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>oa(o,et(He(new Date,{hours:0,minutes:0,seconds:0,milliseconds:0}),1))?"marked-cell":"";return(o,r)=>(i(),m("div",qf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"day-class":n},null,8,["modelValue","dark"])]))}}),Qf={class:"demo-wrap"},Kf=J({__name:"DemoHighlight",props:["disabled"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=e,o=x(()=>[et(new Date,1),et(new Date,2),et(new Date,3)]),r=x(()=>n.disabled?o.value:[]),l=x(()=>({dates:n.disabled?r.value:o.value,options:{highlightDisabled:!0}}));return(u,d)=>(i(),m("div",Qf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=b=>a.value=b),dark:s(t),highlight:l.value,"disabled-dates":r.value},null,8,["modelValue","dark","highlight","disabled-dates"])]))}}),Gf={class:"demo-wrap"},Xf=y("span",{class:"custom-marker"},null,-1),Jf=J({__name:"DemoMarkers",props:["useMarkerTooltipSlot","useMarkerSlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>[{date:et(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:et(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:et(new Date,3),type:"dot",color:"yellow"}]);return(o,r)=>(i(),m("div",Gf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),markers:n.value},at({_:2},[e.useMarkerTooltipSlot?{name:"marker-tooltip",fn:w(({day:l})=>[y("div",null,"Custom content on "+ce(l),1)]),key:"0"}:void 0,e.useMarkerSlot?{name:"marker",fn:w(({day:l})=>[Xf]),key:"1"}:void 0]),1032,["modelValue","dark","markers"])]))}}),Zf=y("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1),eh=["value"],th=y("img",{class:"input-slot-image",src:Lt,alt:"logo"},null,-1),ah=["onClick"],nh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),oh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),rh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),lh=y("img",{class:"slot-icon-m",src:Lt,alt:"logo"},null,-1),sh=y("img",{class:"slot-icon-m",src:Lt,alt:"logo"},null,-1),ih=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),uh={key:0,class:"slot-icon",src:Lt,alt:"logo"},dh=["onClick"],ch=y("img",{class:"slot-icon centered",src:Lt},null,-1),vh=[ch],mh=["onClick"],ph={class:"time-picker-overlay"},fh=["value","onChange"],hh=["value"],yh=["value","onChange"],gh=["value"],_h=y("div",{class:"dp-sidebar"},"Custom content",-1),bh=y("div",{class:"dp-sidebar"},"Custom content",-1),kh={class:"overlay-header"},wh=["onClick"],$h={class:"overlay-header"},Dh=["onClick"],Ph={key:0},Th={key:1},Mh=y("div",{class:"my-header"},"My custom header",-1),xh=y("div",{class:"overlay-header"},[y("span",null,"Hours")],-1),Sh=y("div",{class:"overlay-header"},[y("span",null,"Minutes")],-1),Ah=y("div",{class:"overlay-header"},[y("span",null,"Seconds")],-1),Ch=y("span",{class:"my-icon"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1),Vh=y("span",{class:"my-icon"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1),Oh=J({__name:"DemoSlots",props:["placeholder","useTriggerSlot","position","useInputIconSlot","useClearIconSlot","useClockIconSlot","useArrowLeftSlot","useArrowRightSlot","useArrowUpSlot","useArrowDownSlot","useCalendarIconSlot","useDaySlot","useActionButtonSlot","useActionPreviewSlot","useHoursSlot","useMinutesSlot","useMonthSlot","useYearSlot","useHoursOverlaySlot","useMinutesOverlaySlot","useMonthOverlaySlot","useYearOverlaySlot","useDpInputSlot","useCalendarHeaderSlot","useActionExtraSlot","is24","useAmPmButtonSlot","useTimePickerOverlay","useLeftSidebarSlot","useRightSidebarSlot","useMonthOverlayHeaderSlot","useYearOverlayHeaderSlot","useQuarterSlot","useTopExtraSlot","useHoursOverlayHeaderSlot","useMinutesOverlayHeaderSlot","useSecondsOverlayHeaderSlot","useTpInlineArrowUp","useTpInlineArrowDown","useMenuHeaderSlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=A(null),o=x(()=>new Date().getDate()+1),r=x(()=>f=>`Selected ${new Date(f).getDate()}`),l=x(()=>{const f=[];for(let p=0;p<24;p++)f.push({text:p<10?`0${p}`:p,value:p});return f}),u=x(()=>{const f=[];for(let p=0;p<60;p++)f.push({text:p<10?`0${p}`:p,value:p});return f}),d=()=>{n.value&&n.value.selectDate()},b=f=>$t(f,"QQQ");return(f,p)=>(i(),m("div",{class:he(["demo-wrap",e.useDpInputSlot||e.useTriggerSlot?"demo-wrap-inline":""])},[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":p[0]||(p[0]=c=>a.value=c),placeholder:e.placeholder,dark:s(t),position:e.position,"quarter-picker":e.useQuarterSlot,"enable-seconds":!!e.useSecondsOverlayHeaderSlot,"time-picker-inline":e.useTpInlineArrowUp||e.useTpInlineArrowDown,is24:e.is24,ref_key:"dpSlotDemo",ref:n},at({_:2},[e.useTriggerSlot?{name:"trigger",fn:w(()=>[Zf]),key:"0"}:void 0,e.useDpInputSlot?{name:"dp-input",fn:w(({value:c})=>[y("input",{class:"input-class",type:"text",value:c},null,8,eh)]),key:"1"}:void 0,e.useInputIconSlot?{name:"input-icon",fn:w(()=>[th]),key:"2"}:void 0,e.useClearIconSlot?{name:"clear-icon",fn:w(({clear:c})=>[y("img",{class:"input-slot-image-clear",src:Lt,onClick:c,alt:"logo"},null,8,ah)]),key:"3"}:void 0,e.useClockIconSlot?{name:"clock-icon",fn:w(()=>[nh]),key:"4"}:void 0,e.useArrowLeftSlot?{name:"arrow-left",fn:w(()=>[oh]),key:"5"}:void 0,e.useArrowRightSlot?{name:"arrow-right",fn:w(()=>[rh]),key:"6"}:void 0,e.useArrowUpSlot?{name:"arrow-up",fn:w(()=>[lh]),key:"7"}:void 0,e.useArrowDownSlot?{name:"arrow-down",fn:w(()=>[sh]),key:"8"}:void 0,e.useCalendarIconSlot?{name:"calendar-icon",fn:w(()=>[ih]),key:"9"}:void 0,e.useDaySlot?{name:"day",fn:w(({day:c})=>[c===o.value?(i(),m("img",uh)):(i(),m(pe,{key:1},[Ne(ce(c),1)],64))]),key:"10"}:void 0,e.useActionButtonSlot?{name:"action-buttons",fn:w(()=>[y("p",{class:"custom-select",onClick:d},"Select")]),key:"11"}:void 0,e.useActionPreviewSlot?{name:"action-preview",fn:w(({value:c})=>[Ne(ce(r.value(c)),1)]),key:"12"}:void 0,e.useHoursSlot?{name:"hours",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"13"}:void 0,e.useMinutesSlot?{name:"minutes",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"14"}:void 0,e.useMonthSlot?{name:"month",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"15"}:void 0,e.useYearSlot?{name:"year",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"16"}:void 0,e.useHoursOverlaySlot?{name:"hours-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"17"}:void 0,e.useMinutesOverlaySlot?{name:"minutes-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"18"}:void 0,e.useMonthOverlaySlot?{name:"month-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"19"}:void 0,e.useYearOverlaySlot?{name:"year-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"20"}:void 0,e.useCalendarHeaderSlot?{name:"calendar-header",fn:w(({index:c,day:g})=>[y("div",{class:he(c===5||c===6?"red-color":"")},ce(g),3)]),key:"21"}:void 0,e.useActionExtraSlot?{name:"action-extra",fn:w(({selectCurrentDate:c})=>[y("span",{onClick:g=>c(),title:"Select current date",class:"pointer"},vh,8,dh)]),key:"22"}:void 0,e.useAmPmButtonSlot?{name:"am-pm-button",fn:w(({toggle:c,value:g})=>[y("button",{onClick:c},ce(g),9,mh)]),key:"23"}:void 0,e.useTimePickerOverlay?{name:"time-picker-overlay",fn:w(({hours:c,minutes:g,setHours:P,setMinutes:$})=>[y("div",ph,[y("select",{class:"select-input",value:c,onChange:R=>P(+R.target.value)},[(i(!0),m(pe,null,Me(l.value,R=>(i(),m("option",{key:R.value,value:R.value},ce(R.text),9,hh))),128))],40,fh),y("select",{class:"select-input",value:g,onChange:R=>$(+R.target.value)},[(i(!0),m(pe,null,Me(u.value,R=>(i(),m("option",{key:R.value,value:R.value},ce(R.text),9,gh))),128))],40,yh)])]),key:"24"}:void 0,e.useLeftSidebarSlot?{name:"left-sidebar",fn:w(()=>[_h]),key:"25"}:void 0,e.useRightSidebarSlot?{name:"right-sidebar",fn:w(()=>[bh]),key:"26"}:void 0,e.useMonthOverlayHeaderSlot?{name:"month-overlay-header",fn:w(({toggle:c})=>[y("div",kh,[y("span",{onClick:c,class:"pointer"},ce("< Go back"),8,wh)])]),key:"27"}:void 0,e.useYearOverlayHeaderSlot?{name:"year-overlay-header",fn:w(({toggle:c})=>[y("div",$h,[y("span",{onClick:c,class:"pointer"},ce("< Go back"),8,Dh)])]),key:"28"}:void 0,e.useQuarterSlot?{name:"quarter",fn:w(({value:c})=>[y("span",null,ce(b(c)),1)]),key:"29"}:void 0,e.useTopExtraSlot?{name:"top-extra",fn:w(({value:c})=>[c?(i(),m("span",Ph,"Selected date: "+ce(c.getDate()),1)):(i(),m("span",Th,"No date selected"))]),key:"30"}:void 0,e.useMenuHeaderSlot?{name:"menu-header",fn:w(()=>[Mh]),key:"31"}:void 0,e.useHoursOverlayHeaderSlot?{name:"hours-overlay-header",fn:w(()=>[xh]),key:"32"}:void 0,e.useMinutesOverlayHeaderSlot?{name:"minutes-overlay-header",fn:w(()=>[Sh]),key:"33"}:void 0,e.useSecondsOverlayHeaderSlot?{name:"seconds-overlay-header",fn:w(()=>[Ah]),key:"34"}:void 0,e.useTpInlineArrowUp?{name:"tp-inline-arrow-up",fn:w(()=>[Ch]),key:"35"}:void 0,e.useTpInlineArrowDown?{name:"tp-inline-arrow-down",fn:w(()=>[Vh]),key:"36"}:void 0]),1032,["modelValue","placeholder","dark","position","quarter-picker","enable-seconds","time-picker-inline","is24"])],2))}}),Ih={class:"demo-wrap"},Lh=J({__name:"DisabledDatesDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const o=new Date,r=new Date(o);r.setDate(r.getDate()+1);const l=new Date(r);return l.setDate(r.getDate()+1),[r,l]});return(o,r)=>(i(),m("div",Ih,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"disabled-dates":n.value},null,8,["modelValue","dark","disabled-dates"])]))}}),Nh={class:"demo-wrap"},Rh=J({__name:"DisabledRangeDateDemo",props:{},setup(e){const{isDark:a}=Le(),t=A([]),n=[fr(new Date,1),new Date,et(new Date,1)];return(o,r)=>(i(),m("div",Nh,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},o.$props,{dark:s(a),range:{noDisabledRange:!0},"disabled-dates":n,placeholder:"Select range"}),null,16,["modelValue","dark"])]))}}),Bh={class:"demo-wrap"},Eh={class:"buttons-wrap"},Hh=["onClick"],Yh=J({__name:"DisabledTimesDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(null),n=["single","range"],o=A("single"),r=x(()=>o.value==="range"),l=[{hours:15,minutes:"*"},{hours:16,minutes:15},{hours:16,minutes:20},{hours:17,minutes:30}],u=[[{hours:12,minutes:"*"},{hours:9,minutes:10}],l],d=b=>{t.value=null,o.value=b};return(b,f)=>(i(),m("div",Bh,[y("div",Eh,[(i(),m(pe,null,Me(n,(p,c)=>y("button",{class:he(["change-btn",{"btn-active":p===o.value}]),key:c,onClick:g=>d(p)},ce(p),11,Hh)),64))]),ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=p=>t.value=p),placeholder:"Select date"},b.$props,{dark:s(a),"disabled-times":r.value?u:l,range:r.value}),null,16,["modelValue","dark","disabled-times","range"])]))}}),Fh=we(Yh,[["__scopeId","data-v-6bf8e806"]]),zh={class:"demo-wrap"},Wh={key:0},Uh=J({__name:"DisplayModelDemo",props:["modelType","modelAuto","range"],setup(e){const a=A(),{isDark:t}=Le();return(n,o)=>(i(),m("div",zh,[ee(s(Ie),Oe({modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t)},n.$props,{placeholder:"Select Date"}),null,16,["modelValue","dark"]),a.value?(i(),m("p",Wh,"Selected date: "+ce(a.value),1)):S("",!0)]))}}),qh={class:"demo-wrap"},jh=J({__name:"EmitTimezone",setup(e){const{isDark:a}=Le(),t=A(),n=A(),o=r=>{n.value=r};return(r,l)=>(i(),m("div",qh,[t.value&&n.value?(i(),m(pe,{key:0},[y("div",null,"Local timezone date: "+ce(t.value),1),y("div",null,"UTC date: "+ce(n.value),1)],64)):S("",!0),ee(s(Ie),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=u=>t.value=u),placeholder:"Select date","emit-timezone":"UTC",dark:s(a),"onUpdate:modelTimezoneValue":o},null,8,["modelValue","dark"])]))}}),Qh={class:"demo-wrap"},Kh=J({__name:"EmptyDemo",props:["placeholder","noToday","minTime","maxTime","startDate","startTime","disabledWeekDays","allowedDates","actionRow","nowButtonLabel","multiDates","flow","partialFlow","range","multiDatesLimit","weekPicker","monthPicker","timePicker","disableTimeRangeValidation","maxDate","ignoreTimeValidation","autoApply"],setup(e){const a=e,t=A(),{isDark:n}=Le(),o=x(()=>{if(a.allowedDates)return[new Date,new Date(new Date().setDate(new Date().getDate()+1))]});return(r,l)=>(i(),m("div",Qh,[ee(s(Ie),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=u=>t.value=u),placeholder:e.placeholder,dark:s(n),"no-today":e.noToday,"min-time":e.minTime,"max-time":e.maxTime,"start-date":e.startDate,"start-time":e.startTime,"disabled-week-days":e.disabledWeekDays,"allowed-dates":o.value,"action-row":e.actionRow,"now-button-label":e.nowButtonLabel,"multi-dates":e.multiDates,range:e.range,flow:e.flow,"multi-dates-limit":e.multiDatesLimit,"week-picker":e.weekPicker,"month-picker":e.monthPicker,"time-picker":e.timePicker,"disable-time-range-validation":e.disableTimeRangeValidation,"max-date":e.maxDate,"ignore-time-validation":e.ignoreTimeValidation,"partial-flow":e.partialFlow,"auto-apply":e.autoApply},null,8,["modelValue","placeholder","dark","no-today","min-time","max-time","start-date","start-time","disabled-week-days","allowed-dates","action-row","now-button-label","multi-dates","range","flow","multi-dates-limit","week-picker","month-picker","time-picker","disable-time-range-validation","max-date","ignore-time-validation","partial-flow","auto-apply"])]))}}),Gh={class:"demo-wrap"},Xh=J({__name:"FiltersDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const o=new Date;return{months:Array.from(Array(3).keys()).map(r=>Se(bt(o,r+1)))}});return(o,r)=>(i(),m("div",Gh,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date",filters:n.value},null,8,["modelValue","dark","filters"])]))}}),Jh={class:"demo-wrap"},Zh=J({__name:"FormatDemo",props:["placeholder"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,u=o.getFullYear();return`Selected date is ${r}/${l}/${u}`};return(o,r)=>(i(),m("div",Jh,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:e.placeholder,format:n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),e0={class:"demo-wrap"},t0=J({__name:"GlobalDemo",props:["uid","is24","enableTimePicker","locale","cancelText","selectText","range","position","weekNumbers","placeholder","hoursIncrement","minutesIncrement","hoursGridIncrement","minutesGridIncrement","minDate","maxDate","minTime","maxTime","weekStart","disabled","readonly","hideInputIcon","state","clearable","autoApply","filters","disableMonthYearSelect","yearRange","disabledDates","inline","weekNumName","autoPosition","monthPicker","timePicker","teleport","startDate","startTime","monthNameFormat","hideOffsetDates","noHoursOverlay","noMinutesOverlay","altPosition","multiCalendars","monthChangeOnScroll","transitions","enableSeconds","secondsIncrement","secondsGridIncrement","noSecondsOverlay","escClose","spaceConfirm","monthChangeOnArrows","name","autocomplete","preventMinMaxNavigation","reverseYears","vertical","arrowNavigation","textInput","yearPicker","multiStatic","dayNames","offset","teleportCenter","hideNavigation","sixWeeks","actionRow","disableYearSelect","focusStartDate","timePickerInline","yearFirst","loading","enableMinutes"],setup(e){const a=e,t=A(null),n=A(!1),{isDark:o}=Le(),r=x({get:()=>{if(n.value||a.maxTime||a.minTime||a.startDate&&!a.focusStartDate||a.startTime)return null;if(t.value)return t.value;if(a.monthPicker)return{month:new Date().getMonth(),year:new Date().getFullYear()};if(a.yearPicker)return new Date().getFullYear();if(a.timePicker){const l=new Date;return{hours:l.getHours(),minutes:l.getMinutes()}}if(a.range){const l=new Date,u=new Date(new Date().setDate(l.getDate()+7));return[l,u]}return new Date},set:l=>{n.value=!l,t.value=l}});return(l,u)=>(i(),m("div",e0,[ee(s(Ie),Oe({modelValue:r.value,"onUpdate:modelValue":u[0]||(u[0]=d=>r.value=d)},l.$props,{dark:s(o)}),null,16,["modelValue","dark"])]))}}),a0={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},n0=(e,a,t)=>{t=t||{};let n;const o=a0[e];return typeof o=="string"?n=o:a===1?t.addSuffix&&o.oneWithSuffix?n=o.oneWithSuffix:n=o.one:t.addSuffix&&o.otherWithSuffix?n=o.otherWithSuffix.replace("{{count}}",String(a)):n=o.other.replace("{{count}}",String(a)),t.addSuffix?t.comparison&&t.comparison>0?n+"後":n+"前":n},o0={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},r0={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},l0={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},s0={date:pa({formats:o0,defaultWidth:"full"}),time:pa({formats:r0,defaultWidth:"full"}),dateTime:pa({formats:l0,defaultWidth:"full"})},i0={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},u0=(e,a,t,n)=>i0[e],d0={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},c0={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},v0={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},m0={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},p0={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},f0={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},h0=(e,a)=>{const t=Number(e);switch(String(a==null?void 0:a.unit)){case"year":return`${t}年`;case"quarter":return`第${t}四半期`;case"month":return`${t}月`;case"week":return`第${t}週`;case"date":return`${t}日`;case"hour":return`${t}時`;case"minute":return`${t}分`;case"second":return`${t}秒`;default:return`${t}`}},y0={ordinalNumber:h0,era:St({values:d0,defaultWidth:"wide"}),quarter:St({values:c0,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:St({values:v0,defaultWidth:"wide"}),day:St({values:m0,defaultWidth:"wide"}),dayPeriod:St({values:p0,defaultWidth:"wide",formattingValues:f0,defaultFormattingWidth:"wide"})},g0=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,_0=/\d+/i,b0={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},k0={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},w0={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},$0={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},D0={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},P0={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},T0={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},M0={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},x0={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},S0={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},A0={ordinalNumber:lr({matchPattern:g0,parsePattern:_0,valueCallback:function(e){return parseInt(e,10)}}),era:At({matchPatterns:b0,defaultMatchWidth:"wide",parsePatterns:k0,defaultParseWidth:"any"}),quarter:At({matchPatterns:w0,defaultMatchWidth:"wide",parsePatterns:$0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:At({matchPatterns:D0,defaultMatchWidth:"wide",parsePatterns:P0,defaultParseWidth:"any"}),day:At({matchPatterns:T0,defaultMatchWidth:"wide",parsePatterns:M0,defaultParseWidth:"any"}),dayPeriod:At({matchPatterns:x0,defaultMatchWidth:"any",parsePatterns:S0,defaultParseWidth:"any"})},C0={code:"ja",formatDistance:n0,formatLong:s0,formatRelative:u0,localize:y0,match:A0,options:{weekStartsOn:0,firstWeekContainsDate:1}},V0={class:"demo-wrap"},O0=J({__name:"LocalizedOutput",setup(e){const a=A(new Date),{isDark:t}=Le();return(n,o)=>(i(),m("div",V0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),placeholder:"Select Date","format-locale":s(C0),format:"E"},null,8,["modelValue","dark","format-locale"])]))}}),I0={class:"demo-wrap"},L0=J({__name:"MinMaxDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>Et(new Date(Pe(new Date),Se(new Date)),2)),o=x(()=>bt(new Date(Pe(new Date),Se(new Date)),2));return(r,l)=>(i(),m("div",I0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),placeholder:"Select Date",dark:s(t),"min-date":n.value,"max-date":o.value,"prevent-min-max-navigation":""},null,8,["modelValue","dark","min-date","max-date"])]))}}),N0={class:"demo-wrap"},R0=J({__name:"MonthPickerDemo",props:{autoApplyMonth:{type:Boolean,default:!0}},setup(e){const{isDark:a}=Le(),t=A({month:new Date().getMonth(),year:new Date().getFullYear()});return(n,o)=>(i(),m("div",N0,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"month-picker":""}),null,16,["modelValue","dark"])]))}}),B0={},E0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},H0=y("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"},null,-1),Y0=[H0];function F0(e,a){return i(),m("svg",E0,Y0)}const z0=we(B0,[["render",F0]]),W0={},U0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},q0=y("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"},null,-1),j0=[q0];function Q0(e,a){return i(),m("svg",U0,j0)}const K0=we(W0,[["render",Q0]]),G0={class:"demo-wrap"},X0={class:"custom-month-year-component"},J0=["value","onChange"],Z0=["value"],ey=["value","onChange"],ty=["value"],ay={class:"icons"},ny=["onClick"],oy=["onClick"],ry={class:"custom-month-year-component"},ly=["value","onChange"],sy=["value"],iy=["onClick"],uy={class:"year-overlay"},dy=["value","onChange"],cy=["value"],vy=["onClick"],my=J({__name:"MonthYearSlotDemo",props:["defaultSlot","monthOverlaySlot","yearOverlaySlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=(r,l,u,d)=>{l(+r.target.value,u),d&&d()},o=(r,l,u,d)=>{l(u,+r.target.value),d&&d()};return(r,l)=>(i(),m("div",G0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t)},at({_:2},[e.defaultSlot?{name:"month-year",fn:w(({month:u,year:d,months:b,years:f,updateMonthYear:p,handleMonthYearChange:c})=>[y("div",X0,[y("select",{class:"select-input",value:u,onChange:g=>n(g,p,d)},[(i(!0),m(pe,null,Me(b,g=>(i(),m("option",{key:g.value,value:g.value},ce(g.text),9,Z0))),128))],40,J0),y("select",{class:"select-input",value:d,onChange:g=>o(g,p,u)},[(i(!0),m(pe,null,Me(f,g=>(i(),m("option",{key:g.value,value:g.value},ce(g.text),9,ty))),128))],40,ey)]),y("div",ay,[y("span",{class:"custom-icon",onClick:g=>c(!1)},[ee(z0)],8,ny),y("span",{class:"custom-icon",onClick:g=>c(!0)},[ee(K0)],8,oy)])]),key:"0"}:void 0,e.monthOverlaySlot?{name:"month-overlay",fn:w(({month:u,year:d,items:b,updateMonthYear:f,toggle:p})=>[y("div",ry,[y("select",{class:"select-input",value:u,onChange:c=>n(c,f,d,p)},[(i(!0),m(pe,null,Me(b,c=>(i(),m("option",{key:c.value,value:c.value},ce(c.text),9,sy))),128))],40,ly)]),y("button",{onClick:p},"Close",8,iy)]),key:"1"}:void 0,e.yearOverlaySlot?{name:"year-overlay",fn:w(({month:u,year:d,items:b,updateMonthYear:f,toggle:p})=>[y("div",uy,[y("div",null,[y("select",{class:"select-input",value:d,onChange:c=>o(c,f,u,p)},[(i(!0),m(pe,null,Me(b,c=>(i(),m("option",{key:c.value,value:c.value},ce(c.text),9,cy))),128))],40,dy)]),y("button",{onClick:p},"Close",8,vy)])]),key:"2"}:void 0]),1032,["modelValue","dark"])]))}}),py={class:"demo-wrap"},fy=["onClick"],hy=J({__name:"PresetRange",setup(e){const a=A(),{isDark:t}=Le(),n=A([{label:"Today",value:[new Date,new Date]},{label:"Today (Slot)",value:[new Date,new Date],slot:"preset-date-range-button"},{label:"This month",value:[Sn(new Date),ho(new Date)]},{label:"Last month",value:[Sn(Et(new Date,1)),ho(Et(new Date,1))]},{label:"This year",value:[ha(new Date),Un(new Date)]}]);return(o,r)=>(i(),m("div",py,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:"Select Date",dark:s(t),range:"","preset-dates":n.value},{"preset-date-range-button":w(({label:l,value:u,presetDate:d})=>[y("span",{role:"button",tabindex:0,onClick:b=>d(u)},ce(l),9,fy)]),_:1},8,["modelValue","dark","preset-dates"])]))}}),yy={class:"demo-wrap"},gy=J({__name:"PreviewFormatDemo",props:["placeholder"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,u=o.getFullYear();return`Selected date is ${r}/${l}/${u}`};return(o,r)=>(i(),m("div",yy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:e.placeholder,"preview-format":n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),_y={class:"demo-wrap"},by=J({__name:"QuarterPickerDemo",setup(e){const{isDark:a}=Le(),t=A(qt(new Date));return(n,o)=>(i(),m("div",_y,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"quarter-picker":""}),null,16,["modelValue","dark"])]))}}),ky={class:"demo-wrap"},wy=J({__name:"RangeDemo",props:{range:{type:[Boolean,Object],default:!0},clearable:{type:Boolean,default:!0},timePicker:{type:Boolean,default:!1},placeholder:{type:String,default:"Select Range"},multiCalendars:{type:[Number,String,Boolean,Object],default:null},disabledWeekDays:{type:Array,default:()=>[]}},setup(e){const a=e,{isDark:t}=Le(),n=x(()=>{var r,l,u;return typeof a.range=="object"?((r=a.range)==null?void 0:r.autoRange)||((l=a.range)==null?void 0:l.maxRange)||((u=a.range)==null?void 0:u.minRange):!1}),o=A(n.value?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(r,l)=>(i(),m("div",ky,[ee(s(Ie),Oe({modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=u=>o.value=u)},r.$props,{dark:s(t),rang:e.range,placeholder:e.placeholder}),null,16,["modelValue","dark","rang","placeholder"])]))}}),$y={class:"demo-wrap"},Dy=y("button",{class:"submit-btn",type:"submit"},"Submit form",-1),Py=J({__name:"RequiredDemo",setup(e){const a=A(),{isDark:t}=Le(),n=()=>{alert("Form submitted")};return(o,r)=>(i(),m("div",$y,[y("form",{onSubmit:ia(n,["prevent"])},[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),Dy],32)]))}}),Ty={class:"demo-wrap"},My={class:"buttons-wrap"},xy=["onClick"],Sy=J({__name:"SixWeeksDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=[!0,"append","prepend","center","fair"],o=A(!0);return(r,l)=>(i(),m("div",Ty,[y("div",My,[(i(),m(pe,null,Me(n,(u,d)=>y("button",{class:he(["change-btn",{"btn-active":u===o.value}]),key:d,onClick:b=>o.value=u},ce(u),11,xy)),64))]),ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t),"six-weeks":o.value},null,8,["modelValue","dark","six-weeks"])]))}}),Ay=we(Sy,[["__scopeId","data-v-9aafd744"]]),Cy={class:"demo-wrap"},Vy=J({__name:"TextInputDemo",props:["textInput","placeholder","minDate","maxDate"],setup(e){const a=A(new Date),{isDark:t}=Le();return(n,o)=>(i(),m("div",Cy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),"text-input":e.textInput,placeholder:e.placeholder,"min-date":e.minDate,"max-date":e.maxDate},null,8,["modelValue","dark","text-input","placeholder","min-date","max-date"])]))}}),Oy={class:"demo-wrap"},Iy=J({__name:"TimePickerDemo",props:["modeHeight"],setup(e){const{isDark:a}=Le(),t=A({hours:new Date().getHours(),minutes:new Date().getMinutes()});return(n,o)=>(i(),m("div",Oy,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"time-picker":""}),null,16,["modelValue","dark"])]))}}),Ly={class:"demo-wrap"},Ny={class:"custom-time-picker-component"},Ry=["value","onChange"],By=["value"],Ey=["value","onChange"],Hy=["value"],Yy=J({__name:"TimePickerSlotDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const r=[];for(let l=0;l<24;l++)r.push({text:l<10?`0${l}`:l,value:l});return r}),o=x(()=>{const r=[];for(let l=0;l<60;l++)r.push({text:l<10?`0${l}`:l,value:l});return r});return(r,l)=>(i(),m("div",Ly,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t)},{"time-picker":w(({time:u,updateTime:d})=>[y("div",Ny,[y("select",{class:"select-input",value:u.hours,onChange:b=>d(+b.target.value)},[(i(!0),m(pe,null,Me(n.value,b=>(i(),m("option",{key:b.value,value:b.value},ce(b.text),9,By))),128))],40,Ry),y("select",{class:"select-input",value:u.minutes,onChange:b=>d(+b.target.value,!1)},[(i(!0),m(pe,null,Me(o.value,b=>(i(),m("option",{key:b.value,value:b.value},ce(b.text),9,Hy))),128))],40,Ey)])]),_:1},8,["modelValue","dark"])]))}}),Fy={class:"demo-wrap"},zy={key:0},Wy=J({__name:"TimezoneDemo",setup(e){const a=A(),{isDark:t}=Le();return(n,o)=>(i(),m("div",Fy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),utc:"",placeholder:"Select Date"},null,8,["modelValue","dark"]),a.value?(i(),m("p",zy,"Selected date in UTC format: "+ce(a.value),1)):S("",!0)]))}}),Uy={class:"demo-wrap"},qy=J({__name:"YearPickerDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(new Date().getFullYear());return(n,o)=>(i(),m("div",Uy,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"year-picker":""}),null,16,["modelValue","dark"])]))}}),Hr=e=>(rt("data-v-76aa1e38"),e=e(),lt(),e),jy={class:"tz-demo-wrap"},Qy={class:"dp-container-wrap"},Ky={class:"tz-range-slider-wrap"},Gy=Hr(()=>y("br",null,null,-1)),Xy=Hr(()=>y("br",null,null,-1)),Jy={key:0},Zy=J({__name:"TimezoneNewDemo",props:{timezone:{type:Object,default:void 0},emitVal:{type:Boolean,default:!1}},setup(e){const{isDark:a}=Le(),t=e,n=A(),o=A(11),r=A(),l=x(()=>{var c,g;if(t.emitVal)return;const p=Se(new Date)+1>9?Se(new Date)+1:`0${Se(new Date)+1}`;return(c=t.timezone)!=null&&c.exactMatch?new Date:(g=t.timezone)!=null&&g.dateInTz?`${Pe(new Date)}-${p}-15T01:00:00Z`:`${Pe(new Date)}-${p}-15T01:00:00Z`}),u=[{tz:"Pacific/Midway",offset:-11},{tz:"America/Adak",offset:-10},{tz:"Pacific/Gambier",offset:-9},{tz:"America/Los_Angeles",offset:-8},{tz:"America/Denver",offset:-7},{tz:"America/Chicago",offset:-6},{tz:"America/New_York",offset:-5},{tz:"America/Santiago",offset:-4},{tz:"America/Sao_Paulo",offset:-3},{tz:"America/Noronha",offset:-2},{tz:"Atlantic/Cape_Verde",offset:-1},{tz:"UTC",offset:0},{tz:"Europe/Brussels",offset:1},{tz:"Africa/Cairo",offset:2},{tz:"Europe/Minsk",offset:3},{tz:"Europe/Moscow",offset:4},{tz:"Asia/Tashkent",offset:5},{tz:"Asia/Dhaka",offset:6},{tz:"Asia/Novosibirsk",offset:7},{tz:"Australia/Perth",offset:8},{tz:"Asia/Tokyo",offset:9},{tz:"Australia/Hobart",offset:10},{tz:"Asia/Vladivostok",offset:11},{tz:"Pacific/Auckland",offset:12}],d=x(()=>u[o.value]),b=x(()=>{const p=t.emitVal?{emitTimezone:d.value.tz}:{timezone:d.value.tz};return t.timezone?{...t.timezone,...p}:p}),f=p=>{r.value=p.toISOString()};return(p,c)=>(i(),m("div",jy,[y("div",Qy,[ee(s(Ie),{modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=g=>n.value=g),dark:s(a),timezone:b.value,inline:"","auto-apply":"","max-date":l.value,"onUpdate:modelTimezoneValue":f},null,8,["modelValue","dark","timezone","max-date"])]),y("div",Ky,[y("div",null,[y("span",null,"Timezone: "+ce(d.value.tz),1),Gy,y("span",null,"Offset: "+ce(d.value.offset>0?`+${d.value.offset}`:d.value.offset),1),Xy,r.value?(i(),m("span",Jy,"Zoned date: "+ce(r.value),1)):S("",!0)]),y("div",null,[Ta(y("input",{class:"tz-range-slider",type:"range","onUpdate:modelValue":c[1]||(c[1]=g=>o.value=g),min:"0",max:"22"},null,512),[[ll,o.value]])])])]))}}),eg=we(Zy,[["__scopeId","data-v-76aa1e38"]]),ng={extends:Xo,Layout:kc,enhanceApp({app:e}){e.component("StarAndSponsor",Mc),e.component("ActionRowSlotDemo",Yf),e.component("CustomCalendarDemo",zf),e.component("DarkDemo",Uf),e.component("DemoDayClass",jf),e.component("DemoHighlight",Kf),e.component("DemoMarkers",Jf),e.component("DemoSlots",Oh),e.component("DisabledDatesDemo",Lh),e.component("DisabledRangeDateDemo",Rh),e.component("DisabledTimesDemo",Fh),e.component("DisplayModelDemo",Uh),e.component("EmitTimezone",jh),e.component("EmptyDemo",Kh),e.component("FiltersDemo",Xh),e.component("FormatDemo",Zh),e.component("GlobalDemo",t0),e.component("LocalizedOutput",O0),e.component("MinMaxDemo",L0),e.component("MonthPickerDemo",R0),e.component("MonthYearSlotDemo",my),e.component("PresetRange",hy),e.component("PreviewFormatDemo",gy),e.component("QuarterPickerDemo",by),e.component("RangeDemo",wy),e.component("RequiredDemo",Py),e.component("SixWeeksDemo",Ay),e.component("TextInputDemo",Vy),e.component("TimePickerDemo",Iy),e.component("TimePickerSlotDemo",Yy),e.component("TimezoneDemo",Wy),e.component("YearPickerDemo",qy),e.component("TimezoneNewDemo",eg)}};export{ng as R,Ml as a,Ce as u}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ui-custom.CYhWyhyp.js","assets/chunks/framework.BKRot_tQ.js","assets/chunks/VPAlgoliaSearchBox.Bo_ZBJOJ.js"])))=>i.map(i=>d[i]); +var Fr=Object.defineProperty;var zr=(e,a,t)=>a in e?Fr(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var ye=(e,a,t)=>zr(e,typeof a!="symbol"?a+"":a,t);import{d as J,o as i,c as m,r as k,n as he,a as Ne,t as ce,b as le,w,e as S,T as Ht,_ as we,u as Le,i as Wr,f as Ur,g as Nn,h as x,j as y,k as s,p as rt,l as lt,m as sa,q as Pn,s as A,v as Je,x as ja,y as Ue,z as Xt,A as Rn,B as qr,C as jr,D as ua,F as pe,E as Me,G as Vo,H as Qa,I as ee,J as Oo,K as Io,L as ft,M as Lo,N as Ka,O as Oe,P as Ga,Q as Qr,R as mt,S as Kr,U as yt,V as No,W as Xa,X as Gr,Y as Ro,Z as Bo,$ as Eo,a0 as Xr,a1 as Jr,a2 as ia,a3 as Jt,a4 as Zr,a5 as Va,a6 as Sa,a7 as at,a8 as ot,a9 as pt,aa as uo,ab as el,ac as tl,ad as co,ae as al,af as nl,ag as Ta,ah as Ya,ai as ol,aj as rl,ak as Lt,al as ll}from"./framework.BKRot_tQ.js";const sl=J({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(a,t)=>(i(),m("span",{class:he(["VPBadge",a.type])},[k(a.$slots,"default",{},()=>[Ne(ce(a.text),1)])],2))}}),il={key:0,class:"VPBackdrop"},ul=J({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(a,t)=>(i(),le(Ht,{name:"fade"},{default:w(()=>[a.show?(i(),m("div",il)):S("",!0)]),_:1}))}}),dl=we(ul,[["__scopeId","data-v-c79a1216"]]),Ce=Le;function cl(e,a){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(e,a):(e(),(n=!0)&&setTimeout(()=>n=!1,a))}}function Tn(e){return/^\//.test(e)?e:`/${e}`}function Bn(e){const{pathname:a,search:t,hash:n,protocol:o}=new URL(e,"http://a.com");if(Wr(e)||e.startsWith("#")||!o.startsWith("http")||!Ur(a))return e;const{site:r}=Ce(),l=a.endsWith("/")||a.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${a.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return Nn(l)}function Oa({correspondingLink:e=!1}={}){const{site:a,localeIndex:t,page:n,theme:o,hash:r}=Ce(),l=x(()=>{var d,b;return{label:(d=a.value.locales[t.value])==null?void 0:d.label,link:((b=a.value.locales[t.value])==null?void 0:b.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:x(()=>Object.entries(a.value.locales).flatMap(([d,b])=>l.value.label===b.label?[]:{text:b.label,link:vl(b.link||(d==="root"?"/":`/${d}/`),o.value.i18nRouting!==!1&&e,n.value.relativePath.slice(l.value.link.length-1),!a.value.cleanUrls)+r.value})),currentLang:l}}function vl(e,a,t,n){return a?e.replace(/\/$/,"")+Tn(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const ml=e=>(rt("data-v-d6be1790"),e=e(),lt(),e),pl={class:"NotFound"},fl={class:"code"},hl={class:"title"},yl=ml(()=>y("div",{class:"divider"},null,-1)),gl={class:"quote"},_l={class:"action"},bl=["href","aria-label"],kl=J({__name:"NotFound",setup(e){const{theme:a}=Ce(),{currentLang:t}=Oa();return(n,o)=>{var r,l,u,d,b;return i(),m("div",pl,[y("p",fl,ce(((r=s(a).notFound)==null?void 0:r.code)??"404"),1),y("h1",hl,ce(((l=s(a).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),yl,y("blockquote",gl,ce(((u=s(a).notFound)==null?void 0:u.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),y("div",_l,[y("a",{class:"link",href:s(Nn)(s(t).link),"aria-label":((d=s(a).notFound)==null?void 0:d.linkLabel)??"go to home"},ce(((b=s(a).notFound)==null?void 0:b.linkText)??"Take me home"),9,bl)])])}}}),wl=we(kl,[["__scopeId","data-v-d6be1790"]]);function Ho(e,a){if(Array.isArray(e))return Fa(e);if(e==null)return[];a=Tn(a);const t=Object.keys(e).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>a.startsWith(Tn(o))),n=t?e[t]:[];return Array.isArray(n)?Fa(n):Fa(n.items,n.base)}function $l(e){const a=[];let t=0;for(const n in e){const o=e[n];if(o.items){t=a.push(o);continue}a[t]||a.push({items:[]}),a[t].items.push(o)}return a}function Dl(e){const a=[];function t(n){for(const o of n)o.text&&o.link&&a.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(e),a}function Mn(e,a){return Array.isArray(a)?a.some(t=>Mn(e,t)):sa(e,a.link)?!0:a.items?Mn(e,a.items):!1}function Fa(e,a){return[...e].map(t=>{const n={...t},o=n.base||a;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Fa(n.items,o)),n})}function Yt(){const{frontmatter:e,page:a,theme:t}=Ce(),n=Pn("(min-width: 960px)"),o=A(!1),r=x(()=>{const $=t.value.sidebar,R=a.value.relativePath;return $?Ho($,R):[]}),l=A(r.value);Je(r,($,R)=>{JSON.stringify($)!==JSON.stringify(R)&&(l.value=r.value)});const u=x(()=>e.value.sidebar!==!1&&l.value.length>0&&e.value.layout!=="home"),d=x(()=>b?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),b=x(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),f=x(()=>u.value&&n.value),p=x(()=>u.value?$l(l.value):[]);function c(){o.value=!0}function g(){o.value=!1}function P(){o.value?g():c()}return{isOpen:o,sidebar:l,sidebarGroups:p,hasSidebar:u,hasAside:b,leftAside:d,isSidebarEnabled:f,open:c,close:g,toggle:P}}function Pl(e,a){let t;ja(()=>{t=e.value?document.activeElement:void 0}),Ue(()=>{window.addEventListener("keyup",n)}),Xt(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&e.value&&(a(),t==null||t.focus())}}function Tl(e){const{page:a,hash:t}=Ce(),n=A(!1),o=x(()=>e.value.collapsed!=null),r=x(()=>!!e.value.link),l=A(!1),u=()=>{l.value=sa(a.value.relativePath,e.value.link)};Je([a,e,t],u),Ue(u);const d=x(()=>l.value?!0:e.value.items?Mn(a.value.relativePath,e.value.items):!1),b=x(()=>!!(e.value.items&&e.value.items.length));ja(()=>{n.value=!!(o.value&&e.value.collapsed)}),Rn(()=>{(l.value||d.value)&&(n.value=!1)});function f(){o.value&&(n.value=!n.value)}return{collapsed:n,collapsible:o,isLink:r,isActiveLink:l,hasActiveLink:d,hasChildren:b,toggle:f}}function Ml(){const{hasSidebar:e}=Yt(),a=Pn("(min-width: 960px)"),t=Pn("(min-width: 1280px)");return{isAsideEnabled:x(()=>!t.value&&!a.value?!1:e.value?t.value:a.value)}}const xn=[];function Yo(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function En(e){const a=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{element:t,title:xl(t),link:"#"+t.id,level:n}});return Sl(a,e)}function xl(e){let a="";for(const t of e.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;a+=t.textContent}else t.nodeType===3&&(a+=t.textContent);return a.trim()}function Sl(e,a){if(a===!1)return[];const t=(typeof a=="object"&&!Array.isArray(a)?a.level:a)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;e=e.filter(l=>l.level>=n&&l.level<=o),xn.length=0;for(const{element:l,link:u}of e)xn.push({element:l,link:u});const r=[];e:for(let l=0;l=0;d--){const b=e[d];if(b.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),qr(()=>{l(location.hash)}),Xt(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const u=window.scrollY,d=window.innerHeight,b=document.body.offsetHeight,f=Math.abs(u+d-b)<1,p=xn.map(({element:g,link:P})=>({link:P,top:Cl(g)})).filter(({top:g})=>!Number.isNaN(g)).sort((g,P)=>g.top-P.top);if(!p.length){l(null);return}if(u<1){l(null);return}if(f){l(p[p.length-1].link);return}let c=null;for(const{link:g,top:P}of p){if(P>u+jr()+4)break;c=g}l(c)}function l(u){o&&o.classList.remove("active"),u==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(u)}"]`);const d=o;d?(d.classList.add("active"),a.value.style.top=d.offsetTop+39+"px",a.value.style.opacity="1"):(a.value.style.top="33px",a.value.style.opacity="0")}}function Cl(e){let a=0;for(;e!==document.body;){if(e===null)return NaN;a+=e.offsetTop,e=e.offsetParent}return a}const Vl=["href","title"],Ol=J({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){function a({target:t}){const n=t.href.split("#")[1],o=document.getElementById(decodeURIComponent(n));o==null||o.focus({preventScroll:!0})}return(t,n)=>{const o=ua("VPDocOutlineItem",!0);return i(),m("ul",{class:he(["VPDocOutlineItem",t.root?"root":"nested"])},[(i(!0),m(pe,null,Me(t.headers,({children:r,link:l,title:u})=>(i(),m("li",null,[y("a",{class:"outline-link",href:l,onClick:a,title:u},ce(u),9,Vl),r!=null&&r.length?(i(),le(o,{key:0,headers:r},null,8,["headers"])):S("",!0)]))),256))],2)}}}),Fo=we(Ol,[["__scopeId","data-v-b933a997"]]),Il={class:"content"},Ll={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Nl=J({__name:"VPDocAsideOutline",setup(e){const{frontmatter:a,theme:t}=Ce(),n=Vo([]);Qa(()=>{n.value=En(a.value.outline??t.value.outline)});const o=A(),r=A();return Al(o,r),(l,u)=>(i(),m("nav",{"aria-labelledby":"doc-outline-aria-label",class:he(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o},[y("div",Il,[y("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),y("div",Ll,ce(s(Yo)(s(t))),1),ee(Fo,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),Rl=we(Nl,[["__scopeId","data-v-a5bbad30"]]),Bl={class:"VPDocAsideCarbonAds"},El=J({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const a=Oo(()=>Io(()=>import("./ui-custom.CYhWyhyp.js"),__vite__mapDeps([0,1])));return(t,n)=>(i(),m("div",Bl,[ee(s(a),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Hl=e=>(rt("data-v-3f215769"),e=e(),lt(),e),Yl={class:"VPDocAside"},Fl=Hl(()=>y("div",{class:"spacer"},null,-1)),zl=J({__name:"VPDocAside",setup(e){const{theme:a}=Ce();return(t,n)=>(i(),m("div",Yl,[k(t.$slots,"aside-top",{},void 0,!0),k(t.$slots,"aside-outline-before",{},void 0,!0),ee(Rl),k(t.$slots,"aside-outline-after",{},void 0,!0),Fl,k(t.$slots,"aside-ads-before",{},void 0,!0),s(a).carbonAds?(i(),le(El,{key:0,"carbon-ads":s(a).carbonAds},null,8,["carbon-ads"])):S("",!0),k(t.$slots,"aside-ads-after",{},void 0,!0),k(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Wl=we(zl,[["__scopeId","data-v-3f215769"]]);function Ul(){const{theme:e,page:a}=Ce();return x(()=>{const{text:t="Edit this page",pattern:n=""}=e.value.editLink||{};let o;return typeof n=="function"?o=n(a.value):o=n.replace(/:path/g,a.value.filePath),{url:o,text:t}})}function ql(){const{page:e,theme:a,frontmatter:t}=Ce();return x(()=>{var b,f,p,c,g,P,$,R;const n=Ho(a.value.sidebar,e.value.relativePath),o=Dl(n),r=jl(o,W=>W.link.replace(/[?#].*$/,"")),l=r.findIndex(W=>sa(e.value.relativePath,W.link)),u=((b=a.value.docFooter)==null?void 0:b.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((f=a.value.docFooter)==null?void 0:f.next)===!1&&!t.value.next||t.value.next===!1;return{prev:u?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((p=r[l-1])==null?void 0:p.docFooterText)??((c=r[l-1])==null?void 0:c.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((g=r[l-1])==null?void 0:g.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((P=r[l+1])==null?void 0:P.docFooterText)??(($=r[l+1])==null?void 0:$.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((R=r[l+1])==null?void 0:R.link)}}})}function jl(e,a){const t=new Set;return e.filter(n=>{const o=a(n);return t.has(o)?!1:t.add(o)})}const It=J({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const a=e,t=x(()=>a.tag??(a.href?"a":"span")),n=x(()=>a.href&&Lo.test(a.href)||a.target==="_blank");return(o,r)=>(i(),le(ft(t.value),{class:he(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?s(Bn)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:w(()=>[k(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Ql={class:"VPLastUpdated"},Kl=["datetime"],Gl=J({__name:"VPDocFooterLastUpdated",setup(e){const{theme:a,page:t,lang:n}=Ce(),o=x(()=>new Date(t.value.lastUpdated)),r=x(()=>o.value.toISOString()),l=A("");return Ue(()=>{ja(()=>{var u,d,b;l.value=new Intl.DateTimeFormat((d=(u=a.value.lastUpdated)==null?void 0:u.formatOptions)!=null&&d.forceLocale?n.value:void 0,((b=a.value.lastUpdated)==null?void 0:b.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(u,d)=>{var b;return i(),m("p",Ql,[Ne(ce(((b=s(a).lastUpdated)==null?void 0:b.text)||s(a).lastUpdatedText||"Last updated")+": ",1),y("time",{datetime:r.value},ce(l.value),9,Kl)])}}}),Xl=we(Gl,[["__scopeId","data-v-e98dd255"]]),zo=e=>(rt("data-v-e257564d"),e=e(),lt(),e),Jl={key:0,class:"VPDocFooter"},Zl={key:0,class:"edit-info"},es={key:0,class:"edit-link"},ts=zo(()=>y("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),as={key:1,class:"last-updated"},ns={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},os=zo(()=>y("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),rs={class:"pager"},ls=["innerHTML"],ss=["innerHTML"],is={class:"pager"},us=["innerHTML"],ds=["innerHTML"],cs=J({__name:"VPDocFooter",setup(e){const{theme:a,page:t,frontmatter:n}=Ce(),o=Ul(),r=ql(),l=x(()=>a.value.editLink&&n.value.editLink!==!1),u=x(()=>t.value.lastUpdated),d=x(()=>l.value||u.value||r.value.prev||r.value.next);return(b,f)=>{var p,c,g,P;return d.value?(i(),m("footer",Jl,[k(b.$slots,"doc-footer-before",{},void 0,!0),l.value||u.value?(i(),m("div",Zl,[l.value?(i(),m("div",es,[ee(It,{class:"edit-link-button",href:s(o).url,"no-icon":!0},{default:w(()=>[ts,Ne(" "+ce(s(o).text),1)]),_:1},8,["href"])])):S("",!0),u.value?(i(),m("div",as,[ee(Xl)])):S("",!0)])):S("",!0),(p=s(r).prev)!=null&&p.link||(c=s(r).next)!=null&&c.link?(i(),m("nav",ns,[os,y("div",rs,[(g=s(r).prev)!=null&&g.link?(i(),le(It,{key:0,class:"pager-link prev",href:s(r).prev.link},{default:w(()=>{var $;return[y("span",{class:"desc",innerHTML:(($=s(a).docFooter)==null?void 0:$.prev)||"Previous page"},null,8,ls),y("span",{class:"title",innerHTML:s(r).prev.text},null,8,ss)]}),_:1},8,["href"])):S("",!0)]),y("div",is,[(P=s(r).next)!=null&&P.link?(i(),le(It,{key:0,class:"pager-link next",href:s(r).next.link},{default:w(()=>{var $;return[y("span",{class:"desc",innerHTML:(($=s(a).docFooter)==null?void 0:$.next)||"Next page"},null,8,us),y("span",{class:"title",innerHTML:s(r).next.text},null,8,ds)]}),_:1},8,["href"])):S("",!0)])])):S("",!0)])):S("",!0)}}}),vs=we(cs,[["__scopeId","data-v-e257564d"]]),ms=e=>(rt("data-v-39a288b8"),e=e(),lt(),e),ps={class:"container"},fs=ms(()=>y("div",{class:"aside-curtain"},null,-1)),hs={class:"aside-container"},ys={class:"aside-content"},gs={class:"content"},_s={class:"content-container"},bs={class:"main"},ks=J({__name:"VPDoc",setup(e){const{theme:a}=Ce(),t=Ka(),{hasSidebar:n,hasAside:o,leftAside:r}=Yt(),l=x(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(u,d)=>{const b=ua("Content");return i(),m("div",{class:he(["VPDoc",{"has-sidebar":s(n),"has-aside":s(o)}])},[k(u.$slots,"doc-top",{},void 0,!0),y("div",ps,[s(o)?(i(),m("div",{key:0,class:he(["aside",{"left-aside":s(r)}])},[fs,y("div",hs,[y("div",ys,[ee(Wl,null,{"aside-top":w(()=>[k(u.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":w(()=>[k(u.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":w(()=>[k(u.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(u.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(u.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(u.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):S("",!0),y("div",gs,[y("div",_s,[k(u.$slots,"doc-before",{},void 0,!0),y("main",bs,[ee(b,{class:he(["vp-doc",[l.value,s(a).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),ee(vs,null,{"doc-footer-before":w(()=>[k(u.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),k(u.$slots,"doc-after",{},void 0,!0)])])]),k(u.$slots,"doc-bottom",{},void 0,!0)],2)}}}),ws=we(ks,[["__scopeId","data-v-39a288b8"]]),$s=J({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const a=e,t=x(()=>a.href&&Lo.test(a.href)),n=x(()=>a.tag||a.href?"a":"button");return(o,r)=>(i(),le(ft(n.value),{class:he(["VPButton",[o.size,o.theme]]),href:o.href?s(Bn)(o.href):void 0,target:a.target??(t.value?"_blank":void 0),rel:a.rel??(t.value?"noreferrer":void 0)},{default:w(()=>[Ne(ce(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),Ds=we($s,[["__scopeId","data-v-cad61b99"]]),Ps=["src","alt"],Ts=J({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(a,t)=>{const n=ua("VPImage",!0);return a.image?(i(),m(pe,{key:0},[typeof a.image=="string"||"src"in a.image?(i(),m("img",Oe({key:0,class:"VPImage"},typeof a.image=="string"?a.$attrs:{...a.image,...a.$attrs},{src:s(Nn)(typeof a.image=="string"?a.image:a.image.src),alt:a.alt??(typeof a.image=="string"?"":a.image.alt||"")}),null,16,Ps)):(i(),m(pe,{key:1},[ee(n,Oe({class:"dark",image:a.image.dark,alt:a.image.alt},a.$attrs),null,16,["image","alt"]),ee(n,Oe({class:"light",image:a.image.light,alt:a.image.alt},a.$attrs),null,16,["image","alt"])],64))],64)):S("",!0)}}}),za=we(Ts,[["__scopeId","data-v-8426fc1a"]]),Ms=e=>(rt("data-v-303bb580"),e=e(),lt(),e),xs={class:"container"},Ss={class:"main"},As={key:0,class:"name"},Cs=["innerHTML"],Vs=["innerHTML"],Os=["innerHTML"],Is={key:0,class:"actions"},Ls={key:0,class:"image"},Ns={class:"image-container"},Rs=Ms(()=>y("div",{class:"image-bg"},null,-1)),Bs=J({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const a=Ga("hero-image-slot-exists");return(t,n)=>(i(),m("div",{class:he(["VPHero",{"has-image":t.image||s(a)}])},[y("div",xs,[y("div",Ss,[k(t.$slots,"home-hero-info-before",{},void 0,!0),k(t.$slots,"home-hero-info",{},()=>[t.name?(i(),m("h1",As,[y("span",{innerHTML:t.name,class:"clip"},null,8,Cs)])):S("",!0),t.text?(i(),m("p",{key:1,innerHTML:t.text,class:"text"},null,8,Vs)):S("",!0),t.tagline?(i(),m("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,Os)):S("",!0)],!0),k(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(i(),m("div",Is,[(i(!0),m(pe,null,Me(t.actions,o=>(i(),m("div",{key:o.link,class:"action"},[ee(Ds,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):S("",!0),k(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||s(a)?(i(),m("div",Ls,[y("div",Ns,[Rs,k(t.$slots,"home-hero-image",{},()=>[t.image?(i(),le(za,{key:0,class:"image-src",image:t.image},null,8,["image"])):S("",!0)],!0)])])):S("",!0)])],2))}}),Es=we(Bs,[["__scopeId","data-v-303bb580"]]),Hs=J({__name:"VPHomeHero",setup(e){const{frontmatter:a}=Ce();return(t,n)=>s(a).hero?(i(),le(Es,{key:0,class:"VPHomeHero",name:s(a).hero.name,text:s(a).hero.text,tagline:s(a).hero.tagline,image:s(a).hero.image,actions:s(a).hero.actions},{"home-hero-info-before":w(()=>[k(t.$slots,"home-hero-info-before")]),"home-hero-info":w(()=>[k(t.$slots,"home-hero-info")]),"home-hero-info-after":w(()=>[k(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":w(()=>[k(t.$slots,"home-hero-actions-after")]),"home-hero-image":w(()=>[k(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):S("",!0)}}),Ys=e=>(rt("data-v-a3976bdc"),e=e(),lt(),e),Fs={class:"box"},zs={key:0,class:"icon"},Ws=["innerHTML"],Us=["innerHTML"],qs=["innerHTML"],js={key:4,class:"link-text"},Qs={class:"link-text-value"},Ks=Ys(()=>y("span",{class:"vpi-arrow-right link-text-icon"},null,-1)),Gs=J({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(a,t)=>(i(),le(It,{class:"VPFeature",href:a.link,rel:a.rel,target:a.target,"no-icon":!0,tag:a.link?"a":"div"},{default:w(()=>[y("article",Fs,[typeof a.icon=="object"&&a.icon.wrap?(i(),m("div",zs,[ee(za,{image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])])):typeof a.icon=="object"?(i(),le(za,{key:1,image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])):a.icon?(i(),m("div",{key:2,class:"icon",innerHTML:a.icon},null,8,Ws)):S("",!0),y("h2",{class:"title",innerHTML:a.title},null,8,Us),a.details?(i(),m("p",{key:3,class:"details",innerHTML:a.details},null,8,qs)):S("",!0),a.linkText?(i(),m("div",js,[y("p",Qs,[Ne(ce(a.linkText)+" ",1),Ks])])):S("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Xs=we(Gs,[["__scopeId","data-v-a3976bdc"]]),Js={key:0,class:"VPFeatures"},Zs={class:"container"},ei={class:"items"},ti=J({__name:"VPFeatures",props:{features:{}},setup(e){const a=e,t=x(()=>{const n=a.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(i(),m("div",Js,[y("div",Zs,[y("div",ei,[(i(!0),m(pe,null,Me(n.features,r=>(i(),m("div",{key:r.title,class:he(["item",[t.value]])},[ee(Xs,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):S("",!0)}}),ai=we(ti,[["__scopeId","data-v-a6181336"]]),ni=J({__name:"VPHomeFeatures",setup(e){const{frontmatter:a}=Ce();return(t,n)=>s(a).features?(i(),le(ai,{key:0,class:"VPHomeFeatures",features:s(a).features},null,8,["features"])):S("",!0)}}),oi=J({__name:"VPHomeContent",setup(e){const{width:a}=Qr({initialWidth:0,includeScrollbar:!1});return(t,n)=>(i(),m("div",{class:"vp-doc container",style:mt(s(a)?{"--vp-offset":`calc(50% - ${s(a)/2}px)`}:{})},[k(t.$slots,"default",{},void 0,!0)],4))}}),ri=we(oi,[["__scopeId","data-v-8e2d4988"]]),li={class:"VPHome"},si=J({__name:"VPHome",setup(e){const{frontmatter:a}=Ce();return(t,n)=>{const o=ua("Content");return i(),m("div",li,[k(t.$slots,"home-hero-before",{},void 0,!0),ee(Hs,null,{"home-hero-info-before":w(()=>[k(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),k(t.$slots,"home-hero-after",{},void 0,!0),k(t.$slots,"home-features-before",{},void 0,!0),ee(ni),k(t.$slots,"home-features-after",{},void 0,!0),s(a).markdownStyles!==!1?(i(),le(ri,{key:0},{default:w(()=>[ee(o)]),_:1})):(i(),le(o,{key:1}))])}}}),ii=we(si,[["__scopeId","data-v-686f80a6"]]),ui={},di={class:"VPPage"};function ci(e,a){const t=ua("Content");return i(),m("div",di,[k(e.$slots,"page-top"),ee(t),k(e.$slots,"page-bottom")])}const vi=we(ui,[["render",ci]]),mi=J({__name:"VPContent",setup(e){const{page:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt();return(o,r)=>(i(),m("div",{class:he(["VPContent",{"has-sidebar":s(n),"is-home":s(t).layout==="home"}]),id:"VPContent"},[s(a).isNotFound?k(o.$slots,"not-found",{key:0},()=>[ee(wl)],!0):s(t).layout==="page"?(i(),le(vi,{key:1},{"page-top":w(()=>[k(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":w(()=>[k(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):s(t).layout==="home"?(i(),le(ii,{key:2},{"home-hero-before":w(()=>[k(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":w(()=>[k(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":w(()=>[k(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":w(()=>[k(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":w(()=>[k(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):s(t).layout&&s(t).layout!=="doc"?(i(),le(ft(s(t).layout),{key:3})):(i(),le(ws,{key:4},{"doc-top":w(()=>[k(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":w(()=>[k(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":w(()=>[k(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":w(()=>[k(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":w(()=>[k(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":w(()=>[k(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":w(()=>[k(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":w(()=>[k(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),pi=we(mi,[["__scopeId","data-v-1428d186"]]),fi={class:"container"},hi=["innerHTML"],yi=["innerHTML"],gi=J({__name:"VPFooter",setup(e){const{theme:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt();return(o,r)=>s(a).footer&&s(t).footer!==!1?(i(),m("footer",{key:0,class:he(["VPFooter",{"has-sidebar":s(n)}])},[y("div",fi,[s(a).footer.message?(i(),m("p",{key:0,class:"message",innerHTML:s(a).footer.message},null,8,hi)):S("",!0),s(a).footer.copyright?(i(),m("p",{key:1,class:"copyright",innerHTML:s(a).footer.copyright},null,8,yi)):S("",!0)])],2)):S("",!0)}}),_i=we(gi,[["__scopeId","data-v-e315a0ad"]]);function bi(){const{theme:e,frontmatter:a}=Ce(),t=Vo([]),n=x(()=>t.value.length>0);return Qa(()=>{t.value=En(a.value.outline??e.value.outline)}),{headers:t,hasLocalNav:n}}const ki=e=>(rt("data-v-17a5e62e"),e=e(),lt(),e),wi={class:"menu-text"},$i=ki(()=>y("span",{class:"vpi-chevron-right icon"},null,-1)),Di={class:"header"},Pi={class:"outline"},Ti=J({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const a=e,{theme:t}=Ce(),n=A(!1),o=A(0),r=A(),l=A();function u(p){var c;(c=r.value)!=null&&c.contains(p.target)||(n.value=!1)}Je(n,p=>{if(p){document.addEventListener("click",u);return}document.removeEventListener("click",u)}),Kr("Escape",()=>{n.value=!1}),Qa(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-a.navHeight,0)}function b(p){p.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),yt(()=>{n.value=!1}))}function f(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(p,c)=>(i(),m("div",{class:"VPLocalNavOutlineDropdown",style:mt({"--vp-vh":o.value+"px"}),ref_key:"main",ref:r},[p.headers.length>0?(i(),m("button",{key:0,onClick:d,class:he({open:n.value})},[y("span",wi,ce(s(Yo)(s(t))),1),$i],2)):(i(),m("button",{key:1,onClick:f},ce(s(t).returnToTopLabel||"Return to top"),1)),ee(Ht,{name:"flyout"},{default:w(()=>[n.value?(i(),m("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:b},[y("div",Di,[y("a",{class:"top-link",href:"#",onClick:f},ce(s(t).returnToTopLabel||"Return to top"),1)]),y("div",Pi,[ee(Fo,{headers:p.headers},null,8,["headers"])])],512)):S("",!0)]),_:1})],4))}}),Mi=we(Ti,[["__scopeId","data-v-17a5e62e"]]),xi=e=>(rt("data-v-a6f0e41e"),e=e(),lt(),e),Si={class:"container"},Ai=["aria-expanded"],Ci=xi(()=>y("span",{class:"vpi-align-left menu-icon"},null,-1)),Vi={class:"menu-text"},Oi=J({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:a,frontmatter:t}=Ce(),{hasSidebar:n}=Yt(),{headers:o}=bi(),{y:r}=No(),l=A(0);Ue(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Qa(()=>{o.value=En(t.value.outline??a.value.outline)});const u=x(()=>o.value.length===0),d=x(()=>u.value&&!n.value),b=x(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:u.value,fixed:d.value}));return(f,p)=>s(t).layout!=="home"&&(!d.value||s(r)>=l.value)?(i(),m("div",{key:0,class:he(b.value)},[y("div",Si,[s(n)?(i(),m("button",{key:0,class:"menu","aria-expanded":f.open,"aria-controls":"VPSidebarNav",onClick:p[0]||(p[0]=c=>f.$emit("open-menu"))},[Ci,y("span",Vi,ce(s(a).sidebarMenuLabel||"Menu"),1)],8,Ai)):S("",!0),ee(Mi,{headers:s(o),navHeight:l.value},null,8,["headers","navHeight"])])],2)):S("",!0)}}),Ii=we(Oi,[["__scopeId","data-v-a6f0e41e"]]);function Li(){const e=A(!1);function a(){e.value=!0,window.addEventListener("resize",o)}function t(){e.value=!1,window.removeEventListener("resize",o)}function n(){e.value?t():a()}function o(){window.outerWidth>=768&&t()}const r=Ka();return Je(()=>r.path,t),{isScreenOpen:e,openScreen:a,closeScreen:t,toggleScreen:n}}const Ni={},Ri={class:"VPSwitch",type:"button",role:"switch"},Bi={class:"check"},Ei={key:0,class:"icon"};function Hi(e,a){return i(),m("button",Ri,[y("span",Bi,[e.$slots.default?(i(),m("span",Ei,[k(e.$slots,"default",{},void 0,!0)])):S("",!0)])])}const Yi=we(Ni,[["render",Hi],["__scopeId","data-v-1d5665e3"]]),Wo=e=>(rt("data-v-5337faa4"),e=e(),lt(),e),Fi=Wo(()=>y("span",{class:"vpi-sun sun"},null,-1)),zi=Wo(()=>y("span",{class:"vpi-moon moon"},null,-1)),Wi=J({__name:"VPSwitchAppearance",setup(e){const{isDark:a,theme:t}=Ce(),n=Ga("toggle-appearance",()=>{a.value=!a.value}),o=A("");return Rn(()=>{o.value=a.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,l)=>(i(),le(Yi,{title:o.value,class:"VPSwitchAppearance","aria-checked":s(a),onClick:s(n)},{default:w(()=>[Fi,zi]),_:1},8,["title","aria-checked","onClick"]))}}),Hn=we(Wi,[["__scopeId","data-v-5337faa4"]]),Ui={key:0,class:"VPNavBarAppearance"},qi=J({__name:"VPNavBarAppearance",setup(e){const{site:a}=Ce();return(t,n)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",Ui,[ee(Hn)])):S("",!0)}}),ji=we(qi,[["__scopeId","data-v-6c893767"]]),Yn=A();let Uo=!1,mn=0;function Qi(e){const a=A(!1);if(Xa){!Uo&&Ki(),mn++;const t=Je(Yn,n=>{var o,r,l;n===e.el.value||(o=e.el.value)!=null&&o.contains(n)?(a.value=!0,(r=e.onFocus)==null||r.call(e)):(a.value=!1,(l=e.onBlur)==null||l.call(e))});Xt(()=>{t(),mn--,mn||Gi()})}return Gr(a)}function Ki(){document.addEventListener("focusin",qo),Uo=!0,Yn.value=document.activeElement}function Gi(){document.removeEventListener("focusin",qo)}function qo(){Yn.value=document.activeElement}const Xi={class:"VPMenuLink"},Ji=J({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:a}=Ce();return(t,n)=>(i(),m("div",Xi,[ee(It,{class:he({active:s(sa)(s(a).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:w(()=>[Ne(ce(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),Ja=we(Ji,[["__scopeId","data-v-43f1e123"]]),Zi={class:"VPMenuGroup"},eu={key:0,class:"title"},tu=J({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(a,t)=>(i(),m("div",Zi,[a.text?(i(),m("p",eu,ce(a.text),1)):S("",!0),(i(!0),m(pe,null,Me(a.items,n=>(i(),m(pe,null,["link"in n?(i(),le(Ja,{key:0,item:n},null,8,["item"])):S("",!0)],64))),256))]))}}),au=we(tu,[["__scopeId","data-v-69e747b5"]]),nu={class:"VPMenu"},ou={key:0,class:"items"},ru=J({__name:"VPMenu",props:{items:{}},setup(e){return(a,t)=>(i(),m("div",nu,[a.items?(i(),m("div",ou,[(i(!0),m(pe,null,Me(a.items,n=>(i(),m(pe,{key:JSON.stringify(n)},["link"in n?(i(),le(Ja,{key:0,item:n},null,8,["item"])):"component"in n?(i(),le(ft(n.component),Oe({key:1,ref_for:!0},n.props),null,16)):(i(),le(au,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):S("",!0),k(a.$slots,"default",{},void 0,!0)]))}}),lu=we(ru,[["__scopeId","data-v-b98bc113"]]),su=e=>(rt("data-v-b6c34ac9"),e=e(),lt(),e),iu=["aria-expanded","aria-label"],uu={key:0,class:"text"},du=["innerHTML"],cu=su(()=>y("span",{class:"vpi-chevron-down text-icon"},null,-1)),vu={key:1,class:"vpi-more-horizontal icon"},mu={class:"menu"},pu=J({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const a=A(!1),t=A();Qi({el:t,onBlur:n});function n(){a.value=!1}return(o,r)=>(i(),m("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=l=>a.value=!0),onMouseleave:r[2]||(r[2]=l=>a.value=!1)},[y("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":a.value,"aria-label":o.label,onClick:r[0]||(r[0]=l=>a.value=!a.value)},[o.button||o.icon?(i(),m("span",uu,[o.icon?(i(),m("span",{key:0,class:he([o.icon,"option-icon"])},null,2)):S("",!0),o.button?(i(),m("span",{key:1,innerHTML:o.button},null,8,du)):S("",!0),cu])):(i(),m("span",vu))],8,iu),y("div",mu,[ee(lu,{items:o.items},{default:w(()=>[k(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Fn=we(pu,[["__scopeId","data-v-b6c34ac9"]]),fu=["href","aria-label","innerHTML"],hu=J({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const a=e,t=x(()=>typeof a.icon=="object"?a.icon.svg:``);return(n,o)=>(i(),m("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,fu))}}),yu=we(hu,[["__scopeId","data-v-eee4e7cb"]]),gu={class:"VPSocialLinks"},_u=J({__name:"VPSocialLinks",props:{links:{}},setup(e){return(a,t)=>(i(),m("div",gu,[(i(!0),m(pe,null,Me(a.links,({link:n,icon:o,ariaLabel:r})=>(i(),le(yu,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),zn=we(_u,[["__scopeId","data-v-7bc22406"]]),bu={key:0,class:"group translations"},ku={class:"trans-title"},wu={key:1,class:"group"},$u={class:"item appearance"},Du={class:"label"},Pu={class:"appearance-action"},Tu={key:2,class:"group"},Mu={class:"item social-links"},xu=J({__name:"VPNavBarExtra",setup(e){const{site:a,theme:t}=Ce(),{localeLinks:n,currentLang:o}=Oa({correspondingLink:!0}),r=x(()=>n.value.length&&o.value.label||a.value.appearance||t.value.socialLinks);return(l,u)=>r.value?(i(),le(Fn,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:w(()=>[s(n).length&&s(o).label?(i(),m("div",bu,[y("p",ku,ce(s(o).label),1),(i(!0),m(pe,null,Me(s(n),d=>(i(),le(Ja,{key:d.link,item:d},null,8,["item"]))),128))])):S("",!0),s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",wu,[y("div",$u,[y("p",Du,ce(s(t).darkModeSwitchLabel||"Appearance"),1),y("div",Pu,[ee(Hn)])])])):S("",!0),s(t).socialLinks?(i(),m("div",Tu,[y("div",Mu,[ee(zn,{class:"social-links-list",links:s(t).socialLinks},null,8,["links"])])])):S("",!0)]),_:1})):S("",!0)}}),Su=we(xu,[["__scopeId","data-v-bb2aa2f0"]]),Au=e=>(rt("data-v-e5dd9c1c"),e=e(),lt(),e),Cu=["aria-expanded"],Vu=Au(()=>y("span",{class:"container"},[y("span",{class:"top"}),y("span",{class:"middle"}),y("span",{class:"bottom"})],-1)),Ou=[Vu],Iu=J({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(a,t)=>(i(),m("button",{type:"button",class:he(["VPNavBarHamburger",{active:a.active}]),"aria-label":"mobile navigation","aria-expanded":a.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>a.$emit("click"))},Ou,10,Cu))}}),Lu=we(Iu,[["__scopeId","data-v-e5dd9c1c"]]),Nu=["innerHTML"],Ru=J({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:a}=Ce();return(t,n)=>(i(),le(It,{class:he({VPNavBarMenuLink:!0,active:s(sa)(s(a).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:w(()=>[y("span",{innerHTML:t.item.text},null,8,Nu)]),_:1},8,["class","href","noIcon","target","rel"]))}}),Bu=we(Ru,[["__scopeId","data-v-9c663999"]]),Eu=J({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const a=e,{page:t}=Ce(),n=r=>"component"in r?!1:"link"in r?sa(t.value.relativePath,r.link,!!a.item.activeMatch):r.items.some(n),o=x(()=>n(a.item));return(r,l)=>(i(),le(Fn,{class:he({VPNavBarMenuGroup:!0,active:s(sa)(s(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),Hu=e=>(rt("data-v-dc692963"),e=e(),lt(),e),Yu={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Fu=Hu(()=>y("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),zu=J({__name:"VPNavBarMenu",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).nav?(i(),m("nav",Yu,[Fu,(i(!0),m(pe,null,Me(s(a).nav,o=>(i(),m(pe,{key:JSON.stringify(o)},["link"in o?(i(),le(Bu,{key:0,item:o},null,8,["item"])):"component"in o?(i(),le(ft(o.component),Oe({key:1,ref_for:!0},o.props),null,16)):(i(),le(Eu,{key:2,item:o},null,8,["item"]))],64))),128))])):S("",!0)}}),Wu=we(zu,[["__scopeId","data-v-dc692963"]]);function Uu(e){const{localeIndex:a,theme:t}=Ce();function n(o){var P,$,R;const r=o.split("."),l=(P=t.value.search)==null?void 0:P.options,u=l&&typeof l=="object",d=u&&((R=($=l.locales)==null?void 0:$[a.value])==null?void 0:R.translations)||null,b=u&&l.translations||null;let f=d,p=b,c=e;const g=r.pop();for(const W of r){let U=null;const V=c==null?void 0:c[W];V&&(U=c=V);const K=p==null?void 0:p[W];K&&(U=p=K);const se=f==null?void 0:f[W];se&&(U=f=se),V||(c=U),K||(p=U),se||(f=U)}return(f==null?void 0:f[g])??(p==null?void 0:p[g])??(c==null?void 0:c[g])??""}return n}const qu=["aria-label"],ju={class:"DocSearch-Button-Container"},Qu=y("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1),Ku={class:"DocSearch-Button-Placeholder"},Gu=y("span",{class:"DocSearch-Button-Keys"},[y("kbd",{class:"DocSearch-Button-Key"}),y("kbd",{class:"DocSearch-Button-Key"},"K")],-1),vo=J({__name:"VPNavBarSearchButton",setup(e){const t=Uu({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,o)=>(i(),m("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":s(t)("button.buttonAriaLabel")},[y("span",ju,[Qu,y("span",Ku,ce(s(t)("button.buttonText")),1)]),Gu],8,qu))}}),Xu={class:"VPNavBarSearch"},Ju={id:"local-search"},Zu={key:1,id:"docsearch"},ed=J({__name:"VPNavBarSearch",setup(e){const a=()=>null,t=Oo(()=>Io(()=>import("./VPAlgoliaSearchBox.Bo_ZBJOJ.js"),__vite__mapDeps([2,1]))),{theme:n}=Ce(),o=A(!1),r=A(!1),l=()=>{const c="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{var $;const P=document.createElement("link");P.id=c,P.rel="preconnect",P.href=`https://${((($=n.value.search)==null?void 0:$.options)??n.value.algolia).appId}-dsn.algolia.net`,P.crossOrigin="",document.head.appendChild(P)})};Ue(()=>{l();const c=P=>{(P.key.toLowerCase()==="k"&&(P.metaKey||P.ctrlKey)||!b(P)&&P.key==="/")&&(P.preventDefault(),u(),g())},g=()=>{window.removeEventListener("keydown",c)};window.addEventListener("keydown",c),Xt(g)});function u(){o.value||(o.value=!0,setTimeout(d,16))}function d(){const c=new Event("keydown");c.key="k",c.metaKey=!0,window.dispatchEvent(c),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||d()},16)}function b(c){const g=c.target,P=g.tagName;return g.isContentEditable||P==="INPUT"||P==="SELECT"||P==="TEXTAREA"}const f=A(!1),p="algolia";return(c,g)=>{var P;return i(),m("div",Xu,[s(p)==="local"?(i(),m(pe,{key:0},[f.value?(i(),le(s(a),{key:0,onClose:g[0]||(g[0]=$=>f.value=!1)})):S("",!0),y("div",Ju,[ee(vo,{onClick:g[1]||(g[1]=$=>f.value=!0)})])],64)):s(p)==="algolia"?(i(),m(pe,{key:1},[o.value?(i(),le(s(t),{key:0,algolia:((P=s(n).search)==null?void 0:P.options)??s(n).algolia,onVnodeBeforeMount:g[2]||(g[2]=$=>r.value=!0)},null,8,["algolia"])):S("",!0),r.value?S("",!0):(i(),m("div",Zu,[ee(vo,{onClick:u})]))],64)):S("",!0)])}}}),td=J({__name:"VPNavBarSocialLinks",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).socialLinks?(i(),le(zn,{key:0,class:"VPNavBarSocialLinks",links:s(a).socialLinks},null,8,["links"])):S("",!0)}}),ad=we(td,[["__scopeId","data-v-0394ad82"]]),nd=["href","rel","target"],od={key:1},rd={key:2},ld=J({__name:"VPNavBarTitle",setup(e){const{site:a,theme:t}=Ce(),{hasSidebar:n}=Yt(),{currentLang:o}=Oa(),r=x(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=x(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),u=x(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,b)=>(i(),m("div",{class:he(["VPNavBarTitle",{"has-sidebar":s(n)}])},[y("a",{class:"title",href:r.value??s(Bn)(s(o).link),rel:l.value,target:u.value},[k(d.$slots,"nav-bar-title-before",{},void 0,!0),s(t).logo?(i(),le(za,{key:0,class:"logo",image:s(t).logo},null,8,["image"])):S("",!0),s(t).siteTitle?(i(),m("span",od,ce(s(t).siteTitle),1)):s(t).siteTitle===void 0?(i(),m("span",rd,ce(s(a).title),1)):S("",!0),k(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,nd)],2))}}),sd=we(ld,[["__scopeId","data-v-ab179fa1"]]),id={class:"items"},ud={class:"title"},dd=J({__name:"VPNavBarTranslations",setup(e){const{theme:a}=Ce(),{localeLinks:t,currentLang:n}=Oa({correspondingLink:!0});return(o,r)=>s(t).length&&s(n).label?(i(),le(Fn,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:s(a).langMenuLabel||"Change language"},{default:w(()=>[y("div",id,[y("p",ud,ce(s(n).label),1),(i(!0),m(pe,null,Me(s(t),l=>(i(),le(Ja,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):S("",!0)}}),cd=we(dd,[["__scopeId","data-v-88af2de4"]]),vd=e=>(rt("data-v-6aa21345"),e=e(),lt(),e),md={class:"wrapper"},pd={class:"container"},fd={class:"title"},hd={class:"content"},yd={class:"content-body"},gd=vd(()=>y("div",{class:"divider"},[y("div",{class:"divider-line"})],-1)),_d=J({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const a=e,{y:t}=No(),{hasSidebar:n}=Yt(),{frontmatter:o}=Ce(),r=A({});return Rn(()=>{r.value={"has-sidebar":n.value,home:o.value.layout==="home",top:t.value===0,"screen-open":a.isScreenOpen}}),(l,u)=>(i(),m("div",{class:he(["VPNavBar",r.value])},[y("div",md,[y("div",pd,[y("div",fd,[ee(sd,null,{"nav-bar-title-before":w(()=>[k(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),y("div",hd,[y("div",yd,[k(l.$slots,"nav-bar-content-before",{},void 0,!0),ee(ed,{class:"search"}),ee(Wu,{class:"menu"}),ee(cd,{class:"translations"}),ee(ji,{class:"appearance"}),ee(ad,{class:"social-links"}),ee(Su,{class:"extra"}),k(l.$slots,"nav-bar-content-after",{},void 0,!0),ee(Lu,{class:"hamburger",active:l.isScreenOpen,onClick:u[0]||(u[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),gd],2))}}),bd=we(_d,[["__scopeId","data-v-6aa21345"]]),kd={key:0,class:"VPNavScreenAppearance"},wd={class:"text"},$d=J({__name:"VPNavScreenAppearance",setup(e){const{site:a,theme:t}=Ce();return(n,o)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(i(),m("div",kd,[y("p",wd,ce(s(t).darkModeSwitchLabel||"Appearance"),1),ee(Hn)])):S("",!0)}}),Dd=we($d,[["__scopeId","data-v-b44890b2"]]),Pd=J({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const a=Ga("close-screen");return(t,n)=>(i(),le(It,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:s(a),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Td=we(Pd,[["__scopeId","data-v-7f31e1f6"]]),Md=J({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const a=Ga("close-screen");return(t,n)=>(i(),le(It,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:s(a)},{default:w(()=>[Ne(ce(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),jo=we(Md,[["__scopeId","data-v-19976ae1"]]),xd={class:"VPNavScreenMenuGroupSection"},Sd={key:0,class:"title"},Ad=J({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(a,t)=>(i(),m("div",xd,[a.text?(i(),m("p",Sd,ce(a.text),1)):S("",!0),(i(!0),m(pe,null,Me(a.items,n=>(i(),le(jo,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Cd=we(Ad,[["__scopeId","data-v-8133b170"]]),Vd=e=>(rt("data-v-b9ab8c58"),e=e(),lt(),e),Od=["aria-controls","aria-expanded"],Id=["innerHTML"],Ld=Vd(()=>y("span",{class:"vpi-plus button-icon"},null,-1)),Nd=["id"],Rd={key:0,class:"item"},Bd={key:1,class:"item"},Ed={key:2,class:"group"},Hd=J({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const a=e,t=A(!1),n=x(()=>`NavScreenGroup-${a.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,l)=>(i(),m("div",{class:he(["VPNavScreenMenuGroup",{open:t.value}])},[y("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[y("span",{class:"button-text",innerHTML:r.text},null,8,Id),Ld],8,Od),y("div",{id:n.value,class:"items"},[(i(!0),m(pe,null,Me(r.items,u=>(i(),m(pe,{key:JSON.stringify(u)},["link"in u?(i(),m("div",Rd,[ee(jo,{item:u},null,8,["item"])])):"component"in u?(i(),m("div",Bd,[(i(),le(ft(u.component),Oe({ref_for:!0},u.props,{"screen-menu":""}),null,16))])):(i(),m("div",Ed,[ee(Cd,{text:u.text,items:u.items},null,8,["text","items"])]))],64))),128))],8,Nd)],2))}}),Yd=we(Hd,[["__scopeId","data-v-b9ab8c58"]]),Fd={key:0,class:"VPNavScreenMenu"},zd=J({__name:"VPNavScreenMenu",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).nav?(i(),m("nav",Fd,[(i(!0),m(pe,null,Me(s(a).nav,o=>(i(),m(pe,{key:JSON.stringify(o)},["link"in o?(i(),le(Td,{key:0,item:o},null,8,["item"])):"component"in o?(i(),le(ft(o.component),Oe({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(i(),le(Yd,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):S("",!0)}}),Wd=J({__name:"VPNavScreenSocialLinks",setup(e){const{theme:a}=Ce();return(t,n)=>s(a).socialLinks?(i(),le(zn,{key:0,class:"VPNavScreenSocialLinks",links:s(a).socialLinks},null,8,["links"])):S("",!0)}}),Qo=e=>(rt("data-v-858fe1a4"),e=e(),lt(),e),Ud=Qo(()=>y("span",{class:"vpi-languages icon lang"},null,-1)),qd=Qo(()=>y("span",{class:"vpi-chevron-down icon chevron"},null,-1)),jd={class:"list"},Qd=J({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:a,currentLang:t}=Oa({correspondingLink:!0}),n=A(!1);function o(){n.value=!n.value}return(r,l)=>s(a).length&&s(t).label?(i(),m("div",{key:0,class:he(["VPNavScreenTranslations",{open:n.value}])},[y("button",{class:"title",onClick:o},[Ud,Ne(" "+ce(s(t).label)+" ",1),qd]),y("ul",jd,[(i(!0),m(pe,null,Me(s(a),u=>(i(),m("li",{key:u.link,class:"item"},[ee(It,{class:"link",href:u.link},{default:w(()=>[Ne(ce(u.text),1)]),_:2},1032,["href"])]))),128))])],2)):S("",!0)}}),Kd=we(Qd,[["__scopeId","data-v-858fe1a4"]]),Gd={class:"container"},Xd=J({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const a=A(null),t=Ro(Xa?document.body:null);return(n,o)=>(i(),le(Ht,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:w(()=>[n.open?(i(),m("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:a,id:"VPNavScreen"},[y("div",Gd,[k(n.$slots,"nav-screen-content-before",{},void 0,!0),ee(zd,{class:"menu"}),ee(Kd,{class:"translations"}),ee(Dd,{class:"appearance"}),ee(Wd,{class:"social-links"}),k(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):S("",!0)]),_:3}))}}),Jd=we(Xd,[["__scopeId","data-v-f2779853"]]),Zd={key:0,class:"VPNav"},ec=J({__name:"VPNav",setup(e){const{isScreenOpen:a,closeScreen:t,toggleScreen:n}=Li(),{frontmatter:o}=Ce(),r=x(()=>o.value.navbar!==!1);return Bo("close-screen",t),ja(()=>{Xa&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(l,u)=>r.value?(i(),m("header",Zd,[ee(bd,{"is-screen-open":s(a),onToggleScreen:s(n)},{"nav-bar-title-before":w(()=>[k(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":w(()=>[k(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":w(()=>[k(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),ee(Jd,{open:s(a)},{"nav-screen-content-before":w(()=>[k(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":w(()=>[k(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):S("",!0)}}),tc=we(ec,[["__scopeId","data-v-ae24b3ad"]]),Ko=e=>(rt("data-v-b7550ba0"),e=e(),lt(),e),ac=["role","tabindex"],nc=Ko(()=>y("div",{class:"indicator"},null,-1)),oc=Ko(()=>y("span",{class:"vpi-chevron-right caret-icon"},null,-1)),rc=[oc],lc={key:1,class:"items"},sc=J({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const a=e,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:l,hasChildren:u,toggle:d}=Tl(x(()=>a.item)),b=x(()=>u.value?"section":"div"),f=x(()=>o.value?"a":"div"),p=x(()=>u.value?a.depth+2===7?"p":`h${a.depth+2}`:"p"),c=x(()=>o.value?void 0:"button"),g=x(()=>[[`level-${a.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":l.value}]);function P(R){"key"in R&&R.key!=="Enter"||!a.item.link&&d()}function $(){a.item.link&&d()}return(R,W)=>{const U=ua("VPSidebarItem",!0);return i(),le(ft(b.value),{class:he(["VPSidebarItem",g.value])},{default:w(()=>[R.item.text?(i(),m("div",Oe({key:0,class:"item",role:c.value},Xr(R.item.items?{click:P,keydown:P}:{},!0),{tabindex:R.item.items&&0}),[nc,R.item.link?(i(),le(It,{key:0,tag:f.value,class:"link",href:R.item.link,rel:R.item.rel,target:R.item.target},{default:w(()=>[(i(),le(ft(p.value),{class:"text",innerHTML:R.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(i(),le(ft(p.value),{key:1,class:"text",innerHTML:R.item.text},null,8,["innerHTML"])),R.item.collapsed!=null&&R.item.items&&R.item.items.length?(i(),m("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:$,onKeydown:Eo($,["enter"]),tabindex:"0"},rc,32)):S("",!0)],16,ac)):S("",!0),R.item.items&&R.item.items.length?(i(),m("div",lc,[R.depth<5?(i(!0),m(pe,{key:0},Me(R.item.items,V=>(i(),le(U,{key:V.text,item:V,depth:R.depth+1},null,8,["item","depth"]))),128)):S("",!0)])):S("",!0)]),_:1},8,["class"])}}}),ic=we(sc,[["__scopeId","data-v-b7550ba0"]]),uc=J({__name:"VPSidebarGroup",props:{items:{}},setup(e){const a=A(!0);let t=null;return Ue(()=>{t=setTimeout(()=>{t=null,a.value=!1},300)}),Jr(()=>{t!=null&&(clearTimeout(t),t=null)}),(n,o)=>(i(!0),m(pe,null,Me(n.items,r=>(i(),m("div",{key:r.text,class:he(["group",{"no-transition":a.value}])},[ee(ic,{item:r,depth:0},null,8,["item"])],2))),128))}}),dc=we(uc,[["__scopeId","data-v-c40bc020"]]),Go=e=>(rt("data-v-319d5ca6"),e=e(),lt(),e),cc=Go(()=>y("div",{class:"curtain"},null,-1)),vc={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},mc=Go(()=>y("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),pc=J({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:a,hasSidebar:t}=Yt(),n=e,o=A(null),r=Ro(Xa?document.body:null);Je([n,o],()=>{var u;n.open?(r.value=!0,(u=o.value)==null||u.focus()):r.value=!1},{immediate:!0,flush:"post"});const l=A(0);return Je(a,()=>{l.value+=1},{deep:!0}),(u,d)=>s(t)?(i(),m("aside",{key:0,class:he(["VPSidebar",{open:u.open}]),ref_key:"navEl",ref:o,onClick:d[0]||(d[0]=ia(()=>{},["stop"]))},[cc,y("nav",vc,[mc,k(u.$slots,"sidebar-nav-before",{},void 0,!0),(i(),le(dc,{items:s(a),key:l.value},null,8,["items"])),k(u.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):S("",!0)}}),fc=we(pc,[["__scopeId","data-v-319d5ca6"]]),hc=J({__name:"VPSkipLink",setup(e){const a=Ka(),t=A();Je(()=>a.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const l=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",l)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",l),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(i(),m(pe,null,[y("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),y("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),yc=we(hc,[["__scopeId","data-v-0f60ec36"]]),gc=J({__name:"Layout",setup(e){const{isOpen:a,open:t,close:n}=Yt(),o=Ka();Je(()=>o.path,n),Pl(a,n);const{frontmatter:r}=Ce(),l=Jt(),u=x(()=>!!l["home-hero-image"]);return Bo("hero-image-slot-exists",u),(d,b)=>{const f=ua("Content");return s(r).layout!==!1?(i(),m("div",{key:0,class:he(["Layout",s(r).pageClass])},[k(d.$slots,"layout-top",{},void 0,!0),ee(yc),ee(dl,{class:"backdrop",show:s(a),onClick:s(n)},null,8,["show","onClick"]),ee(tc,null,{"nav-bar-title-before":w(()=>[k(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[k(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":w(()=>[k(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":w(()=>[k(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":w(()=>[k(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":w(()=>[k(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),ee(Ii,{open:s(a),onOpenMenu:s(t)},null,8,["open","onOpenMenu"]),ee(fc,{open:s(a)},{"sidebar-nav-before":w(()=>[k(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":w(()=>[k(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),ee(pi,null,{"page-top":w(()=>[k(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":w(()=>[k(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":w(()=>[k(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":w(()=>[k(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":w(()=>[k(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[k(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[k(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[k(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[k(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":w(()=>[k(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":w(()=>[k(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":w(()=>[k(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":w(()=>[k(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":w(()=>[k(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":w(()=>[k(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":w(()=>[k(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":w(()=>[k(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":w(()=>[k(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":w(()=>[k(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":w(()=>[k(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[k(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[k(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[k(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),ee(_i),k(d.$slots,"layout-bottom",{},void 0,!0)],2)):(i(),le(f,{key:1}))}}}),_c=we(gc,[["__scopeId","data-v-5d98c3a5"]]),Xo={Layout:_c,enhanceApp:({app:e})=>{e.component("Badge",sl)}},bc=y("div",{style:{"margin-bottom":"10px",cursor:"pointer"}},[y("a",{href:"https://vueschool.io/the-vuejs-3-master-class?friend=JASKAR",target:"_blank"},[y("img",{src:Zr,alt:"vue school affiliate"})])],-1),kc=J({__name:"LayoutCmp",setup(e){const{Layout:a}=Xo;return(t,n)=>(i(),le(s(a),null,{"doc-before":w(()=>[bc]),_:1}))}}),wc={},$c={class:"star-and-sponsor"},Dc=y("p",null,[Ne(" ⭐ If you like the component, give it a star on "),y("a",{class:"home-link",href:"https://github.com/Vuepic/vue-datepicker",target:"_blank"},"GitHub"),Ne(" and consider "),y("a",{class:"home-link",href:"https://github.com/sponsors/Vuepic",target:"_blank"},"sponsoring"),Ne(" its development! ⭐ ")],-1),Pc=[Dc];function Tc(e,a){return i(),m("div",$c,Pc)}const Mc=we(wc,[["render",Tc]]);function be(e){const a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function Re(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function et(e,a){const t=be(e);return isNaN(a)?Re(e,NaN):(a&&t.setDate(t.getDate()+a),t)}function bt(e,a){const t=be(e);if(isNaN(a))return Re(e,NaN);if(!a)return t;const n=t.getDate(),o=Re(e,t.getTime());o.setMonth(t.getMonth()+a+1,0);const r=o.getDate();return n>=r?o:(t.setFullYear(o.getFullYear(),o.getMonth(),n),t)}function Jo(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:u=0,seconds:d=0}=a,b=be(e),f=n||t?bt(b,n+t*12):b,p=r||o?et(f,r+o*7):f,c=u+l*60,P=(d+c*60)*1e3;return Re(e,p.getTime()+P)}function xc(e,a){const t=+be(e);return Re(e,t+a)}const Zo=6048e5,Sc=864e5,Ac=6e4,er=36e5,Cc=1e3;function Vc(e,a){return xc(e,a*er)}let Oc={};function da(){return Oc}function Tt(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.weekStartsOn)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.weekStartsOn)??0,o=be(e),r=o.getDay(),l=(r=o.getTime()?t+1:a.getTime()>=l.getTime()?t:t-1}function mo(e){const a=be(e);return a.setHours(0,0,0,0),a}function Wa(e){const a=be(e),t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),+e-+t}function ar(e,a){const t=mo(e),n=mo(a),o=+t-Wa(t),r=+n-Wa(n);return Math.round((o-r)/Sc)}function Ic(e){const a=tr(e),t=Re(e,0);return t.setFullYear(a,0,4),t.setHours(0,0,0,0),fa(t)}function Lc(e,a){const t=a*3;return bt(e,t)}function Wn(e,a){return bt(e,a*12)}function po(e,a){const t=be(e),n=be(a),o=t.getTime()-n.getTime();return o<0?-1:o>0?1:o}function nr(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ma(e){if(!nr(e)&&typeof e!="number")return!1;const a=be(e);return!isNaN(Number(a))}function fo(e){const a=be(e);return Math.trunc(a.getMonth()/3)+1}function Nc(e,a){const t=be(e),n=be(a);return t.getFullYear()-n.getFullYear()}function ho(e){const a=be(e),t=a.getMonth();return a.setFullYear(a.getFullYear(),t+1,0),a.setHours(23,59,59,999),a}function Rc(e,a){const t=be(e),n=be(a),o=po(t,n),r=Math.abs(Nc(t,n));t.setFullYear(1584),n.setFullYear(1584);const l=po(t,n)===-o,u=o*(r-+l);return u===0?0:u}function or(e,a){const t=be(e.start),n=be(e.end);let o=+t>+n;const r=o?+t:+n,l=o?n:t;l.setHours(0,0,0,0);let u=1;const d=[];for(;+l<=r;)d.push(be(l)),l.setDate(l.getDate()+u),l.setHours(0,0,0,0);return o?d.reverse():d}function qt(e){const a=be(e),t=a.getMonth(),n=t-t%3;return a.setMonth(n,1),a.setHours(0,0,0,0),a}function Bc(e,a){const t=be(e.start),n=be(e.end);let o=+t>+n;const r=o?+qt(t):+qt(n);let l=qt(o?n:t),u=1;const d=[];for(;+l<=r;)d.push(be(l)),l=Lc(l,u);return o?d.reverse():d}function Sn(e){const a=be(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Un(e){const a=be(e),t=a.getFullYear();return a.setFullYear(t+1,0,0),a.setHours(23,59,59,999),a}function ha(e){const a=be(e),t=Re(e,0);return t.setFullYear(a.getFullYear(),0,1),t.setHours(0,0,0,0),t}function rr(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.weekStartsOn)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.weekStartsOn)??0,o=be(e),r=o.getDay(),l=(r{let n;const o=Ec[e];return typeof o=="string"?n=o:a===1?n=o.one:n=o.other.replace("{{count}}",a.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+n:n+" ago":n};function pa(e){return(a={})=>{const t=a.width?String(a.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const Yc={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Fc={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},zc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Wc={date:pa({formats:Yc,defaultWidth:"full"}),time:pa({formats:Fc,defaultWidth:"full"}),dateTime:pa({formats:zc,defaultWidth:"full"})},Uc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},qc=(e,a,t,n)=>Uc[e];function St(e){return(a,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let o;if(n==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,u=t!=null&&t.width?String(t.width):l;o=e.formattingValues[u]||e.formattingValues[l]}else{const l=e.defaultWidth,u=t!=null&&t.width?String(t.width):e.defaultWidth;o=e.values[u]||e.values[l]}const r=e.argumentCallback?e.argumentCallback(a):a;return o[r]}}const jc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Qc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Kc={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Gc={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Xc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Jc={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Zc=(e,a)=>{const t=Number(e),n=t%100;if(n>20||n<10)switch(n%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},ev={ordinalNumber:Zc,era:St({values:jc,defaultWidth:"wide"}),quarter:St({values:Qc,defaultWidth:"wide",argumentCallback:e=>e-1}),month:St({values:Kc,defaultWidth:"wide"}),day:St({values:Gc,defaultWidth:"wide"}),dayPeriod:St({values:Xc,defaultWidth:"wide",formattingValues:Jc,defaultFormattingWidth:"wide"})};function At(e){return(a,t={})=>{const n=t.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],r=a.match(o);if(!r)return null;const l=r[0],u=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(u)?av(u,p=>p.test(l)):tv(u,p=>p.test(l));let b;b=e.valueCallback?e.valueCallback(d):d,b=t.valueCallback?t.valueCallback(b):b;const f=a.slice(l.length);return{value:b,rest:f}}}function tv(e,a){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&a(e[t]))return t}function av(e,a){for(let t=0;t{const n=a.match(e.matchPattern);if(!n)return null;const o=n[0],r=a.match(e.parsePattern);if(!r)return null;let l=e.valueCallback?e.valueCallback(r[0]):r[0];l=t.valueCallback?t.valueCallback(l):l;const u=a.slice(o.length);return{value:l,rest:u}}}const nv=/^(\d+)(th|st|nd|rd)?/i,ov=/\d+/i,rv={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},lv={any:[/^b/i,/^(a|c)/i]},sv={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},iv={any:[/1/i,/2/i,/3/i,/4/i]},uv={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},dv={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},cv={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},vv={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},mv={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},pv={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},fv={ordinalNumber:lr({matchPattern:nv,parsePattern:ov,valueCallback:e=>parseInt(e,10)}),era:At({matchPatterns:rv,defaultMatchWidth:"wide",parsePatterns:lv,defaultParseWidth:"any"}),quarter:At({matchPatterns:sv,defaultMatchWidth:"wide",parsePatterns:iv,defaultParseWidth:"any",valueCallback:e=>e+1}),month:At({matchPatterns:uv,defaultMatchWidth:"wide",parsePatterns:dv,defaultParseWidth:"any"}),day:At({matchPatterns:cv,defaultMatchWidth:"wide",parsePatterns:vv,defaultParseWidth:"any"}),dayPeriod:At({matchPatterns:mv,defaultMatchWidth:"any",parsePatterns:pv,defaultParseWidth:"any"})},sr={code:"en-US",formatDistance:Hc,formatLong:Wc,formatRelative:qc,localize:ev,match:fv,options:{weekStartsOn:0,firstWeekContainsDate:1}};function hv(e){const a=be(e);return ar(a,ha(a))+1}function qn(e){const a=be(e),t=+fa(a)-+Ic(a);return Math.round(t/Zo)+1}function jn(e,a){var f,p,c,g;const t=be(e),n=t.getFullYear(),o=da(),r=(a==null?void 0:a.firstWeekContainsDate)??((p=(f=a==null?void 0:a.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??o.firstWeekContainsDate??((g=(c=o.locale)==null?void 0:c.options)==null?void 0:g.firstWeekContainsDate)??1,l=Re(e,0);l.setFullYear(n+1,0,r),l.setHours(0,0,0,0);const u=Tt(l,a),d=Re(e,0);d.setFullYear(n,0,r),d.setHours(0,0,0,0);const b=Tt(d,a);return t.getTime()>=u.getTime()?n+1:t.getTime()>=b.getTime()?n:n-1}function yv(e,a){var u,d,b,f;const t=da(),n=(a==null?void 0:a.firstWeekContainsDate)??((d=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??t.firstWeekContainsDate??((f=(b=t.locale)==null?void 0:b.options)==null?void 0:f.firstWeekContainsDate)??1,o=jn(e,a),r=Re(e,0);return r.setFullYear(o,0,n),r.setHours(0,0,0,0),Tt(r,a)}function Qn(e,a){const t=be(e),n=+Tt(t,a)-+yv(t,a);return Math.round(n/Zo)+1}function Ee(e,a){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(a,"0");return t+n}const Wt={y(e,a){const t=e.getFullYear(),n=t>0?t:1-t;return Ee(a==="yy"?n%100:n,a.length)},M(e,a){const t=e.getMonth();return a==="M"?String(t+1):Ee(t+1,2)},d(e,a){return Ee(e.getDate(),a.length)},a(e,a){const t=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,a){return Ee(e.getHours()%12||12,a.length)},H(e,a){return Ee(e.getHours(),a.length)},m(e,a){return Ee(e.getMinutes(),a.length)},s(e,a){return Ee(e.getSeconds(),a.length)},S(e,a){const t=a.length,n=e.getMilliseconds(),o=Math.trunc(n*Math.pow(10,t-3));return Ee(o,a.length)}},ca={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},go={G:function(e,a,t){const n=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return t.era(n,{width:"abbreviated"});case"GGGGG":return t.era(n,{width:"narrow"});case"GGGG":default:return t.era(n,{width:"wide"})}},y:function(e,a,t){if(a==="yo"){const n=e.getFullYear(),o=n>0?n:1-n;return t.ordinalNumber(o,{unit:"year"})}return Wt.y(e,a)},Y:function(e,a,t,n){const o=jn(e,n),r=o>0?o:1-o;if(a==="YY"){const l=r%100;return Ee(l,2)}return a==="Yo"?t.ordinalNumber(r,{unit:"year"}):Ee(r,a.length)},R:function(e,a){const t=tr(e);return Ee(t,a.length)},u:function(e,a){const t=e.getFullYear();return Ee(t,a.length)},Q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(n);case"QQ":return Ee(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(n);case"qq":return Ee(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,a,t){const n=e.getMonth();switch(a){case"M":case"MM":return Wt.M(e,a);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(e,a,t){const n=e.getMonth();switch(a){case"L":return String(n+1);case"LL":return Ee(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(e,a,t,n){const o=Qn(e,n);return a==="wo"?t.ordinalNumber(o,{unit:"week"}):Ee(o,a.length)},I:function(e,a,t){const n=qn(e);return a==="Io"?t.ordinalNumber(n,{unit:"week"}):Ee(n,a.length)},d:function(e,a,t){return a==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Wt.d(e,a)},D:function(e,a,t){const n=hv(e);return a==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):Ee(n,a.length)},E:function(e,a,t){const n=e.getDay();switch(a){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(e,a,t,n){const o=e.getDay(),r=(o-n.weekStartsOn+8)%7||7;switch(a){case"e":return String(r);case"ee":return Ee(r,2);case"eo":return t.ordinalNumber(r,{unit:"day"});case"eee":return t.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(o,{width:"short",context:"formatting"});case"eeee":default:return t.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,t,n){const o=e.getDay(),r=(o-n.weekStartsOn+8)%7||7;switch(a){case"c":return String(r);case"cc":return Ee(r,a.length);case"co":return t.ordinalNumber(r,{unit:"day"});case"ccc":return t.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(o,{width:"narrow",context:"standalone"});case"cccccc":return t.day(o,{width:"short",context:"standalone"});case"cccc":default:return t.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,t){const n=e.getDay(),o=n===0?7:n;switch(a){case"i":return String(o);case"ii":return Ee(o,a.length);case"io":return t.ordinalNumber(o,{unit:"day"});case"iii":return t.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(n,{width:"short",context:"formatting"});case"iiii":default:return t.day(n,{width:"wide",context:"formatting"})}},a:function(e,a,t){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,t){const n=e.getHours();let o;switch(n===12?o=ca.noon:n===0?o=ca.midnight:o=n/12>=1?"pm":"am",a){case"b":case"bb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,t){const n=e.getHours();let o;switch(n>=17?o=ca.evening:n>=12?o=ca.afternoon:n>=4?o=ca.morning:o=ca.night,a){case"B":case"BB":case"BBB":return t.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,t){if(a==="ho"){let n=e.getHours()%12;return n===0&&(n=12),t.ordinalNumber(n,{unit:"hour"})}return Wt.h(e,a)},H:function(e,a,t){return a==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Wt.H(e,a)},K:function(e,a,t){const n=e.getHours()%12;return a==="Ko"?t.ordinalNumber(n,{unit:"hour"}):Ee(n,a.length)},k:function(e,a,t){let n=e.getHours();return n===0&&(n=24),a==="ko"?t.ordinalNumber(n,{unit:"hour"}):Ee(n,a.length)},m:function(e,a,t){return a==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wt.m(e,a)},s:function(e,a,t){return a==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Wt.s(e,a)},S:function(e,a){return Wt.S(e,a)},X:function(e,a,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(a){case"X":return bo(n);case"XXXX":case"XX":return aa(n);case"XXXXX":case"XXX":default:return aa(n,":")}},x:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"x":return bo(n);case"xxxx":case"xx":return aa(n);case"xxxxx":case"xxx":default:return aa(n,":")}},O:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+_o(n,":");case"OOOO":default:return"GMT"+aa(n,":")}},z:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+_o(n,":");case"zzzz":default:return"GMT"+aa(n,":")}},t:function(e,a,t){const n=Math.trunc(e.getTime()/1e3);return Ee(n,a.length)},T:function(e,a,t){const n=e.getTime();return Ee(n,a.length)}};function _o(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),o=Math.trunc(n/60),r=n%60;return r===0?t+String(o):t+String(o)+a+Ee(r,2)}function bo(e,a){return e%60===0?(e>0?"-":"+")+Ee(Math.abs(e)/60,2):aa(e,a)}function aa(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),o=Ee(Math.trunc(n/60),2),r=Ee(n%60,2);return t+o+a+r}const ko=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},ir=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},gv=(e,a)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],o=t[2];if(!o)return ko(e,a);let r;switch(n){case"P":r=a.dateTime({width:"short"});break;case"PP":r=a.dateTime({width:"medium"});break;case"PPP":r=a.dateTime({width:"long"});break;case"PPPP":default:r=a.dateTime({width:"full"});break}return r.replace("{{date}}",ko(n,a)).replace("{{time}}",ir(o,a))},An={p:ir,P:gv},_v=/^D+$/,bv=/^Y+$/,kv=["D","DD","YY","YYYY"];function ur(e){return _v.test(e)}function dr(e){return bv.test(e)}function Cn(e,a,t){const n=wv(e,a,t);if(console.warn(n),kv.includes(e))throw new RangeError(n)}function wv(e,a,t){const n=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${n} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const $v=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dv=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Pv=/^'([^]*?)'?$/,Tv=/''/g,Mv=/[a-zA-Z]/;function $t(e,a,t){var f,p,c,g,P,$,R,W;const n=da(),o=(t==null?void 0:t.locale)??n.locale??sr,r=(t==null?void 0:t.firstWeekContainsDate)??((p=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:p.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(c=n.locale)==null?void 0:c.options)==null?void 0:g.firstWeekContainsDate)??1,l=(t==null?void 0:t.weekStartsOn)??(($=(P=t==null?void 0:t.locale)==null?void 0:P.options)==null?void 0:$.weekStartsOn)??n.weekStartsOn??((W=(R=n.locale)==null?void 0:R.options)==null?void 0:W.weekStartsOn)??0,u=be(e);if(!Ma(u))throw new RangeError("Invalid time value");let d=a.match(Dv).map(U=>{const V=U[0];if(V==="p"||V==="P"){const K=An[V];return K(U,o.formatLong)}return U}).join("").match($v).map(U=>{if(U==="''")return{isToken:!1,value:"'"};const V=U[0];if(V==="'")return{isToken:!1,value:xv(U)};if(go[V])return{isToken:!0,value:U};if(V.match(Mv))throw new RangeError("Format string contains an unescaped latin alphabet character `"+V+"`");return{isToken:!1,value:U}});o.localize.preprocessor&&(d=o.localize.preprocessor(u,d));const b={firstWeekContainsDate:r,weekStartsOn:l,locale:o};return d.map(U=>{if(!U.isToken)return U.value;const V=U.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&dr(V)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&ur(V))&&Cn(V,a,String(e));const K=go[V[0]];return K(u,V,o.localize,b)}).join("")}function xv(e){const a=e.match(Pv);return a?a[1].replace(Tv,"'"):e}function Sv(e){return be(e).getDay()}function Av(e){const a=be(e),t=a.getFullYear(),n=a.getMonth(),o=Re(e,0);return o.setFullYear(t,n+1,0),o.setHours(0,0,0,0),o.getDate()}function Cv(){return Object.assign({},da())}function Bt(e){return be(e).getHours()}function Vv(e){let t=be(e).getDay();return t===0&&(t=7),t}function Gt(e){return be(e).getMinutes()}function Se(e){return be(e).getMonth()}function ya(e){return be(e).getSeconds()}function Pe(e){return be(e).getFullYear()}function ga(e,a){const t=be(e),n=be(a);return t.getTime()>n.getTime()}function Aa(e,a){const t=be(e),n=be(a);return+t<+n}function oa(e,a){const t=be(e),n=be(a);return+t==+n}function Ov(e,a){const t=a instanceof Date?Re(a,0):new a(0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}const Iv=10;class cr{constructor(){ye(this,"subPriority",0)}validate(a,t){return!0}}class Lv extends cr{constructor(a,t,n,o,r){super(),this.value=a,this.validateValue=t,this.setValue=n,this.priority=o,r&&(this.subPriority=r)}validate(a,t){return this.validateValue(a,this.value,t)}set(a,t,n){return this.setValue(a,t,this.value,n)}}class Nv extends cr{constructor(){super(...arguments);ye(this,"priority",Iv);ye(this,"subPriority",-1)}set(t,n){return n.timestampIsSet?t:Re(t,Ov(t,Date))}}class Be{run(a,t,n,o){const r=this.parse(a,t,n,o);return r?{setter:new Lv(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(a,t,n){return!0}}class Rv extends Be{constructor(){super(...arguments);ye(this,"priority",140);ye(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,o){switch(n){case"G":case"GG":case"GGG":return o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"});case"GGGGG":return o.era(t,{width:"narrow"});case"GGGG":default:return o.era(t,{width:"wide"})||o.era(t,{width:"abbreviated"})||o.era(t,{width:"narrow"})}}set(t,n,o){return n.era=o,t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}const Ge={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Ct={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Xe(e,a){return e&&{value:a(e.value),rest:e.rest}}function We(e,a){const t=a.match(e);return t?{value:parseInt(t[0],10),rest:a.slice(t[0].length)}:null}function Vt(e,a){const t=a.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:a.slice(1)};const n=t[1]==="+"?1:-1,o=t[2]?parseInt(t[2],10):0,r=t[3]?parseInt(t[3],10):0,l=t[5]?parseInt(t[5],10):0;return{value:n*(o*er+r*Ac+l*Cc),rest:a.slice(t[0].length)}}function vr(e){return We(Ge.anyDigitsSigned,e)}function je(e,a){switch(e){case 1:return We(Ge.singleDigit,a);case 2:return We(Ge.twoDigits,a);case 3:return We(Ge.threeDigits,a);case 4:return We(Ge.fourDigits,a);default:return We(new RegExp("^\\d{1,"+e+"}"),a)}}function Ua(e,a){switch(e){case 1:return We(Ge.singleDigitSigned,a);case 2:return We(Ge.twoDigitsSigned,a);case 3:return We(Ge.threeDigitsSigned,a);case 4:return We(Ge.fourDigitsSigned,a);default:return We(new RegExp("^-?\\d{1,"+e+"}"),a)}}function Kn(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function mr(e,a){const t=a>0,n=t?a:1-a;let o;if(n<=50)o=e||100;else{const r=n+50,l=Math.trunc(r/100)*100,u=e>=r%100;o=e+l-(u?100:0)}return t?o:1-o}function pr(e){return e%400===0||e%4===0&&e%100!==0}class Bv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,o){const r=l=>({year:l,isTwoDigitYear:n==="yy"});switch(n){case"y":return Xe(je(4,t),r);case"yo":return Xe(o.ordinalNumber(t,{unit:"year"}),r);default:return Xe(je(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,o){const r=t.getFullYear();if(o.isTwoDigitYear){const u=mr(o.year,r);return t.setFullYear(u,0,1),t.setHours(0,0,0,0),t}const l=!("era"in n)||n.era===1?o.year:1-o.year;return t.setFullYear(l,0,1),t.setHours(0,0,0,0),t}}class Ev extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,o){const r=l=>({year:l,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Xe(je(4,t),r);case"Yo":return Xe(o.ordinalNumber(t,{unit:"year"}),r);default:return Xe(je(n.length,t),r)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,o,r){const l=jn(t,r);if(o.isTwoDigitYear){const d=mr(o.year,l);return t.setFullYear(d,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,r)}const u=!("era"in n)||n.era===1?o.year:1-o.year;return t.setFullYear(u,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,r)}}class Hv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Ua(n==="R"?4:n.length,t)}set(t,n,o){const r=Re(t,0);return r.setFullYear(o,0,4),r.setHours(0,0,0,0),fa(r)}}class Yv extends Be{constructor(){super(...arguments);ye(this,"priority",130);ye(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Ua(n==="u"?4:n.length,t)}set(t,n,o){return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class Fv extends Be{constructor(){super(...arguments);ye(this,"priority",120);ye(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"Q":case"QQ":return je(n.length,t);case"Qo":return o.ordinalNumber(t,{unit:"quarter"});case"QQQ":return o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(t,{width:"wide",context:"formatting"})||o.quarter(t,{width:"abbreviated",context:"formatting"})||o.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}}class zv extends Be{constructor(){super(...arguments);ye(this,"priority",120);ye(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"q":case"qq":return je(n.length,t);case"qo":return o.ordinalNumber(t,{unit:"quarter"});case"qqq":return o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(t,{width:"wide",context:"standalone"})||o.quarter(t,{width:"abbreviated",context:"standalone"})||o.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,o){return t.setMonth((o-1)*3,1),t.setHours(0,0,0,0),t}}class Wv extends Be{constructor(){super(...arguments);ye(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ye(this,"priority",110)}parse(t,n,o){const r=l=>l-1;switch(n){case"M":return Xe(We(Ge.month,t),r);case"MM":return Xe(je(2,t),r);case"Mo":return Xe(o.ordinalNumber(t,{unit:"month"}),r);case"MMM":return o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(t,{width:"wide",context:"formatting"})||o.month(t,{width:"abbreviated",context:"formatting"})||o.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}}class Uv extends Be{constructor(){super(...arguments);ye(this,"priority",110);ye(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,o){const r=l=>l-1;switch(n){case"L":return Xe(We(Ge.month,t),r);case"LL":return Xe(je(2,t),r);case"Lo":return Xe(o.ordinalNumber(t,{unit:"month"}),r);case"LLL":return o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(t,{width:"wide",context:"standalone"})||o.month(t,{width:"abbreviated",context:"standalone"})||o.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.setMonth(o,1),t.setHours(0,0,0,0),t}}function qv(e,a,t){const n=be(e),o=Qn(n,t)-a;return n.setDate(n.getDate()-o*7),n}class jv extends Be{constructor(){super(...arguments);ye(this,"priority",100);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,o){switch(n){case"w":return We(Ge.week,t);case"wo":return o.ordinalNumber(t,{unit:"week"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o,r){return Tt(qv(t,o,r),r)}}function Qv(e,a){const t=be(e),n=qn(t)-a;return t.setDate(t.getDate()-n*7),t}class Kv extends Be{constructor(){super(...arguments);ye(this,"priority",100);ye(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,o){switch(n){case"I":return We(Ge.week,t);case"Io":return o.ordinalNumber(t,{unit:"week"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,o){return fa(Qv(t,o))}}const Gv=[31,28,31,30,31,30,31,31,30,31,30,31],Xv=[31,29,31,30,31,30,31,31,30,31,30,31];class Jv extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"subPriority",1);ye(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"d":return We(Ge.date,t);case"do":return o.ordinalNumber(t,{unit:"date"});default:return je(n.length,t)}}validate(t,n){const o=t.getFullYear(),r=pr(o),l=t.getMonth();return r?n>=1&&n<=Xv[l]:n>=1&&n<=Gv[l]}set(t,n,o){return t.setDate(o),t.setHours(0,0,0,0),t}}class Zv extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"subpriority",1);ye(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,o){switch(n){case"D":case"DD":return We(Ge.dayOfYear,t);case"Do":return o.ordinalNumber(t,{unit:"date"});default:return je(n.length,t)}}validate(t,n){const o=t.getFullYear();return pr(o)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,o){return t.setMonth(0,o),t.setHours(0,0,0,0),t}}function Gn(e,a,t){var p,c,g,P;const n=da(),o=(t==null?void 0:t.weekStartsOn)??((c=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((P=(g=n.locale)==null?void 0:g.options)==null?void 0:P.weekStartsOn)??0,r=be(e),l=r.getDay(),d=(a%7+7)%7,b=7-o,f=a<0||a>6?a-(l+b)%7:(d+b)%7-(l+b)%7;return et(r,f)}class em extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,o){switch(n){case"E":case"EE":case"EEE":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}class tm extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,o,r){const l=u=>{const d=Math.floor((u-1)/7)*7;return(u+r.weekStartsOn+6)%7+d};switch(n){case"e":case"ee":return Xe(je(n.length,t),l);case"eo":return Xe(o.ordinalNumber(t,{unit:"day"}),l);case"eee":return o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"eeeee":return o.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}class am extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,o,r){const l=u=>{const d=Math.floor((u-1)/7)*7;return(u+r.weekStartsOn+6)%7+d};switch(n){case"c":case"cc":return Xe(je(n.length,t),l);case"co":return Xe(o.ordinalNumber(t,{unit:"day"}),l);case"ccc":return o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case"ccccc":return o.day(t,{width:"narrow",context:"standalone"});case"cccccc":return o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(t,{width:"wide",context:"standalone"})||o.day(t,{width:"abbreviated",context:"standalone"})||o.day(t,{width:"short",context:"standalone"})||o.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,o,r){return t=Gn(t,o,r),t.setHours(0,0,0,0),t}}function nm(e,a){const t=be(e),n=Vv(t),o=a-n;return et(t,o)}class om extends Be{constructor(){super(...arguments);ye(this,"priority",90);ye(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,o){const r=l=>l===0?7:l;switch(n){case"i":case"ii":return je(n.length,t);case"io":return o.ordinalNumber(t,{unit:"day"});case"iii":return Xe(o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return Xe(o.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Xe(o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r);case"iiii":default:return Xe(o.day(t,{width:"wide",context:"formatting"})||o.day(t,{width:"abbreviated",context:"formatting"})||o.day(t,{width:"short",context:"formatting"})||o.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,n){return n>=1&&n<=7}set(t,n,o){return t=nm(t,o),t.setHours(0,0,0,0),t}}class rm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,o){switch(n){case"a":case"aa":case"aaa":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class lm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,o){switch(n){case"b":case"bb":case"bbb":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class sm extends Be{constructor(){super(...arguments);ye(this,"priority",80);ye(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,o){switch(n){case"B":case"BB":case"BBB":return o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(t,{width:"wide",context:"formatting"})||o.dayPeriod(t,{width:"abbreviated",context:"formatting"})||o.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,o){return t.setHours(Kn(o),0,0,0),t}}class im extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,o){switch(n){case"h":return We(Ge.hour12h,t);case"ho":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,o){const r=t.getHours()>=12;return r&&o<12?t.setHours(o+12,0,0,0):!r&&o===12?t.setHours(0,0,0,0):t.setHours(o,0,0,0),t}}class um extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,o){switch(n){case"H":return We(Ge.hour23h,t);case"Ho":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,o){return t.setHours(o,0,0,0),t}}class dm extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,o){switch(n){case"K":return We(Ge.hour11h,t);case"Ko":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,o){return t.getHours()>=12&&o<12?t.setHours(o+12,0,0,0):t.setHours(o,0,0,0),t}}class cm extends Be{constructor(){super(...arguments);ye(this,"priority",70);ye(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,o){switch(n){case"k":return We(Ge.hour24h,t);case"ko":return o.ordinalNumber(t,{unit:"hour"});default:return je(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,o){const r=o<=24?o%24:o;return t.setHours(r,0,0,0),t}}class vm extends Be{constructor(){super(...arguments);ye(this,"priority",60);ye(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"m":return We(Ge.minute,t);case"mo":return o.ordinalNumber(t,{unit:"minute"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setMinutes(o,0,0),t}}class mm extends Be{constructor(){super(...arguments);ye(this,"priority",50);ye(this,"incompatibleTokens",["t","T"])}parse(t,n,o){switch(n){case"s":return We(Ge.second,t);case"so":return o.ordinalNumber(t,{unit:"second"});default:return je(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,o){return t.setSeconds(o,0),t}}class pm extends Be{constructor(){super(...arguments);ye(this,"priority",30);ye(this,"incompatibleTokens",["t","T"])}parse(t,n){const o=r=>Math.trunc(r*Math.pow(10,-n.length+3));return Xe(je(n.length,t),o)}set(t,n,o){return t.setMilliseconds(o),t}}class fm extends Be{constructor(){super(...arguments);ye(this,"priority",10);ye(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Vt(Ct.basicOptionalMinutes,t);case"XX":return Vt(Ct.basic,t);case"XXXX":return Vt(Ct.basicOptionalSeconds,t);case"XXXXX":return Vt(Ct.extendedOptionalSeconds,t);case"XXX":default:return Vt(Ct.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Re(t,t.getTime()-Wa(t)-o)}}class hm extends Be{constructor(){super(...arguments);ye(this,"priority",10);ye(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Vt(Ct.basicOptionalMinutes,t);case"xx":return Vt(Ct.basic,t);case"xxxx":return Vt(Ct.basicOptionalSeconds,t);case"xxxxx":return Vt(Ct.extendedOptionalSeconds,t);case"xxx":default:return Vt(Ct.extended,t)}}set(t,n,o){return n.timestampIsSet?t:Re(t,t.getTime()-Wa(t)-o)}}class ym extends Be{constructor(){super(...arguments);ye(this,"priority",40);ye(this,"incompatibleTokens","*")}parse(t){return vr(t)}set(t,n,o){return[Re(t,o*1e3),{timestampIsSet:!0}]}}class gm extends Be{constructor(){super(...arguments);ye(this,"priority",20);ye(this,"incompatibleTokens","*")}parse(t){return vr(t)}set(t,n,o){return[Re(t,o),{timestampIsSet:!0}]}}const _m={G:new Rv,y:new Bv,Y:new Ev,R:new Hv,u:new Yv,Q:new Fv,q:new zv,M:new Wv,L:new Uv,w:new jv,I:new Kv,d:new Jv,D:new Zv,E:new em,e:new tm,c:new am,i:new om,a:new rm,b:new lm,B:new sm,h:new im,H:new um,K:new dm,k:new cm,m:new vm,s:new mm,S:new pm,X:new fm,x:new hm,t:new ym,T:new gm},bm=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,km=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,wm=/^'([^]*?)'?$/,$m=/''/g,Dm=/\S/,Pm=/[a-zA-Z]/;function Vn(e,a,t,n){var $,R,W,U,V,K,se,q;const o=Cv(),r=(n==null?void 0:n.locale)??o.locale??sr,l=(n==null?void 0:n.firstWeekContainsDate)??((R=($=n==null?void 0:n.locale)==null?void 0:$.options)==null?void 0:R.firstWeekContainsDate)??o.firstWeekContainsDate??((U=(W=o.locale)==null?void 0:W.options)==null?void 0:U.firstWeekContainsDate)??1,u=(n==null?void 0:n.weekStartsOn)??((K=(V=n==null?void 0:n.locale)==null?void 0:V.options)==null?void 0:K.weekStartsOn)??o.weekStartsOn??((q=(se=o.locale)==null?void 0:se.options)==null?void 0:q.weekStartsOn)??0;if(a==="")return e===""?be(t):Re(t,NaN);const d={firstWeekContainsDate:l,weekStartsOn:u,locale:r},b=[new Nv],f=a.match(km).map(I=>{const te=I[0];if(te in An){const G=An[te];return G(I,r.formatLong)}return I}).join("").match(bm),p=[];for(let I of f){!(n!=null&&n.useAdditionalWeekYearTokens)&&dr(I)&&Cn(I,a,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&ur(I)&&Cn(I,a,e);const te=I[0],G=_m[te];if(G){const{incompatibleTokens:F}=G;if(Array.isArray(F)){const _e=p.find(ke=>F.includes(ke.token)||ke.token===te);if(_e)throw new RangeError(`The format string mustn't contain \`${_e.fullToken}\` and \`${I}\` at the same time`)}else if(G.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${I}\` and any other token at the same time`);p.push({token:te,fullToken:I});const ve=G.run(e,I,r.match,d);if(!ve)return Re(t,NaN);b.push(ve.setter),e=ve.rest}else{if(te.match(Pm))throw new RangeError("Format string contains an unescaped latin alphabet character `"+te+"`");if(I==="''"?I="'":te==="'"&&(I=Tm(I)),e.indexOf(I)===0)e=e.slice(I.length);else return Re(t,NaN)}}if(e.length>0&&Dm.test(e))return Re(t,NaN);const c=b.map(I=>I.priority).sort((I,te)=>te-I).filter((I,te,G)=>G.indexOf(I)===te).map(I=>b.filter(te=>te.priority===I).sort((te,G)=>G.subPriority-te.subPriority)).map(I=>I[0]);let g=be(t);if(isNaN(g.getTime()))return Re(t,NaN);const P={};for(const I of c){if(!I.validate(g,d))return Re(t,NaN);const te=I.set(g,P,d);Array.isArray(te)?(g=te[0],Object.assign(P,te[1])):g=te}return Re(t,g)}function Tm(e){return e.match(wm)[1].replace($m,"'")}function wo(e,a){const t=qt(e),n=qt(a);return+t==+n}function fr(e,a){return et(e,-a)}function hr(e,a){const t=be(e),n=t.getFullYear(),o=t.getDate(),r=Re(e,0);r.setFullYear(n,a,15),r.setHours(0,0,0,0);const l=Av(r);return t.setMonth(a,Math.min(o,l)),t}function He(e,a){let t=be(e);return isNaN(+t)?Re(e,NaN):(a.year!=null&&t.setFullYear(a.year),a.month!=null&&(t=hr(t,a.month)),a.date!=null&&t.setDate(a.date),a.hours!=null&&t.setHours(a.hours),a.minutes!=null&&t.setMinutes(a.minutes),a.seconds!=null&&t.setSeconds(a.seconds),a.milliseconds!=null&&t.setMilliseconds(a.milliseconds),t)}function Mm(e,a){const t=be(e);return t.setHours(a),t}function yr(e,a){const t=be(e);return t.setMilliseconds(a),t}function xm(e,a){const t=be(e);return t.setMinutes(a),t}function gr(e,a){const t=be(e);return t.setSeconds(a),t}function Ot(e,a){const t=be(e);return isNaN(+t)?Re(e,NaN):(t.setFullYear(a),t)}function Et(e,a){return bt(e,-a)}function Sm(e,a){const{years:t=0,months:n=0,weeks:o=0,days:r=0,hours:l=0,minutes:u=0,seconds:d=0}=a,b=Et(e,n+t*12),f=fr(b,r+o*7),p=u+l*60,g=(d+p*60)*1e3;return Re(e,f.getTime()-g)}function _r(e,a){return Wn(e,-a)}function ka(){const e=al();return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[y("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),y("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),y("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),y("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ka.compatConfig={MODE:3};function br(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),y("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}br.compatConfig={MODE:3};function Xn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Xn.compatConfig={MODE:3};function Jn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}Jn.compatConfig={MODE:3};function Zn(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),y("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Zn.compatConfig={MODE:3};function eo(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}eo.compatConfig={MODE:3};function to(){return i(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[y("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}to.compatConfig={MODE:3};const ht=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),ao=(e,a,t)=>On(e,a,t)||Z(),Am=(e,a,t)=>{const n=a.dateInTz?ht(new Date(e),a.dateInTz):Z(e);return t?vt(n,!0):n},On=(e,a,t)=>{if(!e)return null;const n=t?vt(Z(e),!0):Z(e);return a?a.exactMatch?Am(e,a,t):ht(n,a.timezone):n},Cm=e=>{if(!e)return 0;const a=new Date,t=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),n=new Date(a.toLocaleString("en-US",{timeZone:e})),o=n.getTimezoneOffset()/60;return(+t-+n)/(1e3*60*60)-o};var Dt=(e=>(e.month="month",e.year="year",e))(Dt||{}),na=(e=>(e.top="top",e.bottom="bottom",e))(na||{}),ra=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(ra||{}),it=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(it||{});const Vm=["timestamp","date","iso"];var dt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(dt||{}),Fe=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Fe||{});function $o(e){return a=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${a}T00:00:00+00:00`)).slice(0,2)}function Om(e){return a=>$t(ht(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const Im=(e,a,t)=>{const n=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=n.map(Om(e))}catch{o=n.map($o(a))}else o=n.map($o(a));const r=o.slice(0,t),l=o.slice(t+1,o.length);return[o[t]].concat(...l).concat(...r)},no=(e,a,t)=>{const n=[];for(let o=+e[0];o<=+e[1];o++)n.push({value:+o,text:Dr(o,a)});return t?n.reverse():n},kr=(e,a,t)=>{const n=[1,2,3,4,5,6,7,8,9,10,11,12].map(r=>{const l=r<10?`0${r}`:r;return new Date(`2017-${l}-01T00:00:00+00:00`)});if(e!==null)try{const r=t==="long"?"LLLL":"LLL";return n.map((l,u)=>{const d=$t(ht(l,"UTC"),r,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:u}})}catch{}const o=new Intl.DateTimeFormat(a,{month:t,timeZone:"UTC"});return n.map((r,l)=>{const u=o.format(r);return{text:u.charAt(0).toUpperCase()+u.substring(1),value:l}})},Lm=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],tt=e=>{const a=s(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},Nm=e=>({type:"dot",...e??{}}),wr=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,oo={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},nt=e=>e,Do=e=>e===0?e:!e||isNaN(+e)?null:+e,Po=e=>e===null,$r=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},Rm=e=>{const a=[],t=n=>n.filter(o=>o);for(let n=0;n{const n=t!=null,o=a!=null;if(!n&&!o)return!1;const r=+t,l=+a;return n&&o?+e>r||+er:o?+eRm(e).map(t=>t.map(n=>{const{active:o,disabled:r,isBetween:l,highlighted:u}=a(n);return{...n,active:o,disabled:r,className:{dp__overlay_cell_active:o,dp__overlay_cell:!o,dp__overlay_cell_disabled:r,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:r&&o,dp__cell_in_between:l,"dp--highlighted":u}}})),Qt=(e,a,t=!1)=>{e&&a.allowStopPropagation&&(t&&e.stopImmediatePropagation(),e.stopPropagation())},Bm=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function Em(e,a){let t=[...document.querySelectorAll(Bm())];t=t.filter(o=>!e.contains(o)||o.hasAttribute("data-datepicker-instance"));const n=t.indexOf(e);if(n>=0&&(a?n-1>=0:n+1<=t.length))return t[n+(a?-1:1)]}const In=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),Dr=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),ro=e=>$t(e,"dd-MM-yyyy"),pn=e=>Array.isArray(e),qa=(e,a)=>a.get(ro(e)),Hm=(e,a)=>e?a?a instanceof Map?!!qa(e,a):a(Z(e)):!1:!0,ct=(e,a,t=!1,n)=>{if(e.key===Fe.enter||e.key===Fe.space)return t&&e.preventDefault(),a();if(n)return n(e)},Ym=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,To=(e,a,t,n,o,r)=>{const l=Vn(e,a.slice(0,e.length),new Date,{locale:r});return Ma(l)&&nr(l)?n||o?l:He(l,{hours:+t.hours,minutes:+(t==null?void 0:t.minutes),seconds:+(t==null?void 0:t.seconds),milliseconds:0}):null},Fm=(e,a,t,n,o,r)=>{const l=Array.isArray(t)?t[0]:t;if(typeof a=="string")return To(e,a,l,n,o,r);if(Array.isArray(a)){let u=null;for(const d of a)if(u=To(e,d,l,n,o,r),u)break;return u}return typeof a=="function"?a(e):null},Z=e=>e?new Date(e):new Date,zm=(e,a,t)=>{if(a){const o=(e.getMonth()+1).toString().padStart(2,"0"),r=e.getDate().toString().padStart(2,"0"),l=e.getHours().toString().padStart(2,"0"),u=e.getMinutes().toString().padStart(2,"0"),d=t?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${r}T${l}:${u}:${d}.000Z`}const n=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(n).toISOString()},vt=(e,a)=>{const t=Z(JSON.parse(JSON.stringify(e))),n=He(t,{hours:0,minutes:0,seconds:0,milliseconds:0});return a?Sn(n):n},Kt=(e,a,t,n)=>{let o=e?Z(e):Z();return(a||a===0)&&(o=Mm(o,+a)),(t||t===0)&&(o=xm(o,+t)),(n||n===0)&&(o=gr(o,+n)),yr(o,0)},qe=(e,a)=>!e||!a?!1:Aa(vt(e),vt(a)),Ve=(e,a)=>!e||!a?!1:oa(vt(e),vt(a)),Ke=(e,a)=>!e||!a?!1:ga(vt(e),vt(a)),Za=(e,a,t)=>e!=null&&e[0]&&e!=null&&e[1]?Ke(t,e[0])&&qe(t,e[1]):e!=null&&e[0]&&a?Ke(t,e[0])&&qe(t,a)||qe(t,e[0])&&Ke(t,a):!1,Pt=e=>{const a=He(new Date(e),{date:1});return vt(a)},fn=(e,a,t)=>a&&(t||t===0)?Object.fromEntries(["hours","minutes","seconds"].map(n=>n===a?[n,t]:[n,isNaN(+e[n])?void 0:+e[n]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},la=e=>({hours:Bt(e),minutes:Gt(e),seconds:ya(e)}),Pr=(e,a)=>{if(a){const t=Pe(Z(a));if(t>e)return 12;if(t===e)return Se(Z(a))}},Tr=(e,a)=>{if(a){const t=Pe(Z(a));return t{if(e)return Pe(Z(e))},Mr=(e,a)=>{const t=Ke(e,a)?a:e,n=Ke(a,e)?a:e;return or({start:t,end:n})},Wm=e=>{const a=bt(e,1);return{month:Se(a),year:Pe(a)}},Nt=(e,a)=>{const t=Tt(e,{weekStartsOn:+a}),n=rr(e,{weekStartsOn:+a});return[t,n]},xr=(e,a)=>{const t={hours:Bt(Z()),minutes:Gt(Z()),seconds:a?ya(Z()):0};return Object.assign(t,e)},jt=(e,a,t)=>[He(Z(e),{date:1}),He(Z(),{month:a,year:t,date:1})],Rt=(e,a,t)=>{let n=e?Z(e):Z();return(a||a===0)&&(n=hr(n,a)),t&&(n=Ot(n,t)),n},Sr=(e,a,t,n,o)=>{if(!n||o&&!a||!o&&!t)return!1;const r=o?bt(e,1):Et(e,1),l=[Se(r),Pe(r)];return o?!qm(...l,a):!Um(...l,t)},Um=(e,a,t)=>qe(...jt(t,e,a))||Ve(...jt(t,e,a)),qm=(e,a,t)=>Ke(...jt(t,e,a))||Ve(...jt(t,e,a)),Ar=(e,a,t,n,o,r,l)=>{if(typeof a=="function"&&!l)return a(e);const u=t?{locale:t}:void 0;return Array.isArray(e)?`${$t(e[0],r,u)}${o&&!e[1]?"":n}${e[1]?$t(e[1],r,u):""}`:$t(e,r,u)},va=e=>{if(e)return null;throw new Error(oo.prop("partial-range"))},Ea=(e,a)=>{if(a)return e();throw new Error(oo.prop("range"))},Ln=e=>Array.isArray(e)?Ma(e[0])&&(e[1]?Ma(e[1]):!0):e?Ma(e):!1,jm=(e,a)=>He(a??Z(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),hn=(e,a,t,n)=>{if(!e)return!0;if(n){const o=t==="max"?Aa(e,a):ga(e,a),r={seconds:0,milliseconds:0};return o||oa(He(e,r),He(a,r))}return t==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},yn=(e,a,t)=>e?jm(e,a):Z(t??a),Mo=(e,a,t,n,o)=>{if(Array.isArray(n)){const l=yn(e,n[0],a),u=yn(e,n[1],a);return hn(n[0],l,t,!!a)&&hn(n[1],u,t,!!a)&&o}const r=yn(e,n,a);return hn(n,r,t,!!a)&&o},gn=e=>He(Z(),la(e)),Qm=(e,a)=>e instanceof Map?Array.from(e.values()).filter(t=>Pe(Z(t))===a).map(t=>Se(t)):[],Cr=(e,a,t)=>typeof e=="function"?e({month:a,year:t}):!!e.months.find(n=>n.month===a&&n.year===t),lo=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Vr=e=>$t(e,"yyyy-MM-dd"),Pa=Va({menuFocused:!1,shiftKeyInMenu:!1}),Or=()=>{const e=t=>{Pa.menuFocused=t},a=t=>{Pa.shiftKeyInMenu!==t&&(Pa.shiftKeyInMenu=t)};return{control:x(()=>({shiftKeyInMenu:Pa.shiftKeyInMenu,menuFocused:Pa.menuFocused})),setMenuFocused:e,setShiftKey:a}},Ye=Va({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),_n=A(null),Ha=A(!1),bn=A(!1),kn=A(!1),wn=A(!1),st=A(0),Qe=A(0),Zt=()=>{const e=x(()=>Ha.value?[...Ye.selectionGrid,Ye.actionRow].filter(p=>p.length):bn.value?[...Ye.timePicker[0],...Ye.timePicker[1],wn.value?[]:[_n.value],Ye.actionRow].filter(p=>p.length):kn.value?[...Ye.monthPicker,Ye.actionRow]:[Ye.monthYear,...Ye.calendar,Ye.time,Ye.actionRow].filter(p=>p.length)),a=p=>{st.value=p?st.value+1:st.value-1;let c=null;e.value[Qe.value]&&(c=e.value[Qe.value][st.value]),!c&&e.value[Qe.value+(p?1:-1)]?(Qe.value=Qe.value+(p?1:-1),st.value=p?0:e.value[Qe.value].length-1):c||(st.value=p?st.value-1:st.value+1)},t=p=>{Qe.value===0&&!p||Qe.value===e.value.length&&p||(Qe.value=p?Qe.value+1:Qe.value-1,e.value[Qe.value]?e.value[Qe.value]&&!e.value[Qe.value][st.value]&&st.value!==0&&(st.value=e.value[Qe.value].length-1):Qe.value=p?Qe.value-1:Qe.value+1)},n=p=>{let c=null;e.value[Qe.value]&&(c=e.value[Qe.value][st.value]),c?c.focus({preventScroll:!Ha.value}):st.value=p?st.value-1:st.value+1},o=()=>{a(!0),n(!0)},r=()=>{a(!1),n(!1)},l=()=>{t(!1),n(!0)},u=()=>{t(!0),n(!0)},d=(p,c)=>{Ye[c]=p},b=(p,c)=>{Ye[c]=p},f=()=>{st.value=0,Qe.value=0};return{buildMatrix:d,buildMultiLevelMatrix:b,setTimePickerBackRef:p=>{_n.value=p},setSelectionGrid:p=>{Ha.value=p,f(),p||(Ye.selectionGrid=[])},setTimePicker:(p,c=!1)=>{bn.value=p,wn.value=c,f(),p||(Ye.timePicker[0]=[],Ye.timePicker[1]=[])},setTimePickerElements:(p,c=0)=>{Ye.timePicker[c]=p},arrowRight:o,arrowLeft:r,arrowUp:l,arrowDown:u,clearArrowNav:()=>{Ye.monthYear=[],Ye.calendar=[],Ye.time=[],Ye.actionRow=[],Ye.selectionGrid=[],Ye.timePicker[0]=[],Ye.timePicker[1]=[],Ha.value=!1,bn.value=!1,wn.value=!1,kn.value=!1,f(),_n.value=null},setMonthPicker:p=>{kn.value=p,f()},refSets:Ye}},xo=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),Km=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:a=>`Increment ${a}`,decrementValue:a=>`Decrement ${a}`,openTpOverlay:a=>`Open ${a} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:a=>`Month picker${a?" overlay":""}`,yearPicker:a=>`Year picker${a?" overlay":""}`,timeOverlay:a=>`${a} overlay`,...e??{}}),So=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,Gm=e=>{const a=typeof e=="object"&&e,t={static:!0,solo:!1};if(!e)return{...t,count:So(!1)};const n=a?e:{},o=a?n.count??!0:e,r=So(o);return Object.assign(t,n,{count:r})},Xm=(e,a,t)=>e||(typeof t=="string"?t:a),Jm=e=>typeof e=="boolean"?e?xo({}):!1:xo(e),Zm=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},ep=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),tp=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),ap=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},np=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...e??{}}),op=e=>{const a={dates:Array.isArray(e)?e.map(t=>Z(t)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},rp=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},lp=e=>{const a={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...a,...e}:{enabled:e,...a}},sp=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},$n=(e,a,t)=>new Map(e.map(n=>{const o=ao(n,a,t);return[ro(o),o]})),ip=(e,a)=>e.length?new Map(e.map(t=>{const n=ao(t.date,a);return[ro(n),t]})):null,up=e=>{var a;return{minDate:On(e.minDate,e.timezone,e.isSpecific),maxDate:On(e.maxDate,e.timezone,e.isSpecific),disabledDates:pn(e.disabledDates)?$n(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:pn(e.allowedDates)?$n(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&pn((a=e.highlight)==null?void 0:a.dates)?$n(e.highlight.dates,e.timezone):e.highlight,markers:ip(e.markers,e.timezone)}},dp=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},cp=e=>({...Object.fromEntries(Object.keys(e).map(a=>{const t=a,n=e[t],o=typeof e[t]=="string"?{[n]:!0}:Object.fromEntries(n.map(r=>[r,!0]));return[a,o]}))}),ze=e=>{const a=()=>{const q=e.enableSeconds?":ss":"",I=e.enableMinutes?":mm":"";return e.is24?`HH${I}${q}`:`hh${I}${q} aa`},t=()=>{var q;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((q=R.value)==null?void 0:q.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},n=q=>xr(q,e.enableSeconds),o=()=>K.value.enabled?e.startTime&&Array.isArray(e.startTime)?[n(e.startTime[0]),n(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?n(e.startTime):null,r=x(()=>Gm(e.multiCalendars)),l=x(()=>o()),u=x(()=>Km(e.ariaLabels)),d=x(()=>ep(e.filters)),b=x(()=>Jm(e.transitions)),f=x(()=>tp(e.actionRow)),p=x(()=>Xm(e.previewFormat,e.format,t())),c=x(()=>Zm(e.textInput)),g=x(()=>ap(e.inline)),P=x(()=>np(e.config)),$=x(()=>op(e.highlight)),R=x(()=>rp(e.weekNumbers)),W=x(()=>sp(e.timezone)),U=x(()=>dp(e.multiDates)),V=x(()=>up({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:$.value,markers:e.markers,timezone:W.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker})),K=x(()=>lp(e.range)),se=x(()=>cp(e.ui));return{defaultedTransitions:b,defaultedMultiCalendars:r,defaultedStartTime:l,defaultedAriaLabels:u,defaultedFilters:d,defaultedActionRow:f,defaultedPreviewFormat:p,defaultedTextInput:c,defaultedInline:g,defaultedConfig:P,defaultedHighlight:$,defaultedWeekNumbers:R,defaultedRange:K,propDates:V,defaultedTz:W,defaultedMultiDates:U,defaultedUI:se,getDefaultPattern:t,getDefaultStartTime:o}},vp=(e,a,t)=>{const n=A(),{defaultedTextInput:o,defaultedRange:r,defaultedTz:l,defaultedMultiDates:u,getDefaultPattern:d}=ze(a),b=A(""),f=Sa(a,"format"),p=Sa(a,"formatLocale");Je(n,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",n.value,Q(!0))},{deep:!0}),Je(r,(_,me)=>{_.enabled!==me.enabled&&(n.value=null)}),Je(f,()=>{ue()});const c=_=>l.value.timezone&&l.value.convertModel?ht(_,l.value.timezone):_,g=_=>{if(l.value.timezone&&l.value.convertModel){const me=Cm(l.value.timezone);return Vc(_,me)}return _},P=(_,me,Te=!1)=>Ar(_,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,me??d(),Te),$=_=>_?a.modelType?de(_):{hours:Bt(_),minutes:Gt(_),seconds:a.enableSeconds?ya(_):0}:null,R=_=>a.modelType?de(_):{month:Se(_),year:Pe(_)},W=_=>Array.isArray(_)?u.value.enabled?_.map(me=>U(me,Ot(Z(),me))):Ea(()=>[Ot(Z(),_[0]),_[1]?Ot(Z(),_[1]):va(r.value.partialRange)],r.value.enabled):Ot(Z(),+_),U=(_,me)=>(typeof _=="string"||typeof _=="number")&&a.modelType?j(_):me,V=_=>Array.isArray(_)?[U(_[0],Kt(null,+_[0].hours,+_[0].minutes,_[0].seconds)),U(_[1],Kt(null,+_[1].hours,+_[1].minutes,_[1].seconds))]:U(_,Kt(null,_.hours,_.minutes,_.seconds)),K=_=>{const me=He(Z(),{date:1});return Array.isArray(_)?u.value.enabled?_.map(Te=>U(Te,Rt(me,+Te.month,+Te.year))):Ea(()=>[U(_[0],Rt(me,+_[0].month,+_[0].year)),U(_[1],_[1]?Rt(me,+_[1].month,+_[1].year):va(r.value.partialRange))],r.value.enabled):U(_,Rt(me,+_.month,+_.year))},se=_=>{if(Array.isArray(_))return _.map(me=>j(me));throw new Error(oo.dateArr("multi-dates"))},q=_=>{if(Array.isArray(_)&&r.value.enabled){const me=_[0],Te=_[1];return[Z(Array.isArray(me)?me[0]:null),Z(Array.isArray(Te)?Te[0]:null)]}return Z(_[0])},I=_=>a.modelAuto?Array.isArray(_)?[j(_[0]),j(_[1])]:a.autoApply?[j(_)]:[j(_),null]:Array.isArray(_)?Ea(()=>_[1]?[j(_[0]),_[1]?j(_[1]):va(r.value.partialRange)]:[j(_[0])],r.value.enabled):j(_),te=()=>{Array.isArray(n.value)&&r.value.enabled&&n.value.length===1&&n.value.push(va(r.value.partialRange))},G=()=>{const _=n.value;return[de(_[0]),_[1]?de(_[1]):va(r.value.partialRange)]},F=()=>n.value[1]?G():de(nt(n.value[0])),ve=()=>(n.value||[]).map(_=>de(_)),_e=(_=!1)=>(_||te(),a.modelAuto?F():u.value.enabled?ve():Array.isArray(n.value)?Ea(()=>G(),r.value.enabled):de(nt(n.value))),ke=_=>!_||Array.isArray(_)&&!_.length?null:a.timePicker?V(nt(_)):a.monthPicker?K(nt(_)):a.yearPicker?W(nt(_)):u.value.enabled?se(nt(_)):a.weekPicker?q(nt(_)):I(nt(_)),H=_=>{const me=ke(_);Ln(nt(me))?(n.value=nt(me),ue()):(n.value=null,b.value="")},C=()=>{const _=me=>$t(me,o.value.format);return`${_(n.value[0])} ${o.value.rangeSeparator} ${n.value[1]?_(n.value[1]):""}`},M=()=>t.value&&n.value?Array.isArray(n.value)?C():$t(n.value,o.value.format):P(n.value),z=()=>n.value?u.value.enabled?n.value.map(_=>P(_)).join("; "):o.value.enabled&&typeof o.value.format=="string"?M():P(n.value):"",ue=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?b.value=z():b.value=a.format(n.value)},j=_=>{if(a.utc){const me=new Date(_);return a.utc==="preserve"?new Date(me.getTime()+me.getTimezoneOffset()*6e4):me}return a.modelType?Vm.includes(a.modelType)?c(new Date(_)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?c(Vn(_,d(),new Date,{locale:p.value})):c(Vn(_,a.modelType,new Date,{locale:p.value})):c(new Date(_))},de=_=>_?a.utc?zm(_,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+g(_):a.modelType==="iso"?g(_).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?P(g(_)):P(g(_),a.modelType,!0):g(_):"",De=(_,me=!1,Te=!1)=>{if(Te)return _;if(e("update:model-value",_),l.value.emitTimezone&&me){const Ze=Array.isArray(_)?_.map(B=>ht(nt(B),l.value.emitTimezone)):ht(nt(_),l.value.emitTimezone);e("update:model-timezone-value",Ze)}},D=_=>Array.isArray(n.value)?u.value.enabled?n.value.map(me=>_(me)):[_(n.value[0]),n.value[1]?_(n.value[1]):va(r.value.partialRange)]:_(nt(n.value)),T=()=>{if(Array.isArray(n.value)){const _=Nt(n.value[0],a.weekStart),me=n.value[1]?Nt(n.value[1],a.weekStart):[];return[_.map(Te=>Z(Te)),me.map(Te=>Z(Te))]}return Nt(n.value,a.weekStart).map(_=>Z(_))},v=(_,me)=>De(nt(D(_)),!1,me),N=_=>{const me=T();return _?me:e("update:model-value",T())},Q=(_=!1)=>(_||ue(),a.monthPicker?v(R,_):a.timePicker?v($,_):a.yearPicker?v(Pe,_):a.weekPicker?N(_):De(_e(_),!0,_));return{inputValue:b,internalModelValue:n,checkBeforeEmit:()=>n.value?r.value.enabled?r.value.partialRange?n.value.length>=1:n.value.length===2:!!n.value:!1,parseExternalModelValue:H,formatInputValue:ue,emitModelValue:Q}},mp=(e,a)=>{const{defaultedFilters:t,propDates:n}=ze(e),{validateMonthYearInRange:o}=ea(e),r=(f,p)=>{let c=f;return t.value.months.includes(Se(c))?(c=p?bt(f,1):Et(f,1),r(c,p)):c},l=(f,p)=>{let c=f;return t.value.years.includes(Pe(c))?(c=p?Wn(f,1):_r(f,1),l(c,p)):c},u=(f,p=!1)=>{const c=He(Z(),{month:e.month,year:e.year});let g=f?bt(c,1):Et(c,1);e.disableYearSelect&&(g=Ot(g,e.year));let P=Se(g),$=Pe(g);t.value.months.includes(P)&&(g=r(g,f),P=Se(g),$=Pe(g)),t.value.years.includes($)&&(g=l(g,f),$=Pe(g)),o(P,$,f,e.preventMinMaxNavigation)&&d(P,$,p)},d=(f,p,c)=>{a("update-month-year",{month:f,year:p,fromNav:c})},b=x(()=>f=>Sr(He(Z(),{month:e.month,year:e.year}),n.value.maxDate,n.value.minDate,e.preventMinMaxNavigation,f));return{handleMonthYearChange:u,isDisabled:b,updateMonthYear:d}},en={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},Mt={...en,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},pp=["title"],fp=["disabled"],hp=J({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...Mt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:a}){const t=a,n=e,{defaultedActionRow:o,defaultedPreviewFormat:r,defaultedMultiCalendars:l,defaultedTextInput:u,defaultedInline:d,defaultedRange:b,defaultedMultiDates:f,getDefaultPattern:p}=ze(n),{isTimeValid:c,isMonthValid:g}=ea(n),{buildMatrix:P}=Zt(),$=A(null),R=A(null),W=A(!1),U=A({}),V=A(null),K=A(null);Ue(()=>{n.arrowNavigation&&P([tt($),tt(R)],"actionRow"),se(),window.addEventListener("resize",se)}),Xt(()=>{window.removeEventListener("resize",se)});const se=()=>{W.value=!1,setTimeout(()=>{var C,M;const z=(C=V.value)==null?void 0:C.getBoundingClientRect(),ue=(M=K.value)==null?void 0:M.getBoundingClientRect();z&&ue&&(U.value.maxWidth=`${ue.width-z.width-20}px`),W.value=!0},0)},q=x(()=>b.value.enabled&&!b.value.partialRange&&n.internalModelValue?n.internalModelValue.length===2:!0),I=x(()=>!c.value(n.internalModelValue)||!g.value(n.internalModelValue)||!q.value),te=()=>{const C=r.value;return n.timePicker||n.monthPicker,C(nt(n.internalModelValue))},G=()=>{const C=n.internalModelValue;return l.value.count>0?`${F(C[0])} - ${F(C[1])}`:[F(C[0]),F(C[1])]},F=C=>Ar(C,r.value,n.formatLocale,u.value.rangeSeparator,n.modelAuto,p()),ve=x(()=>!n.internalModelValue||!n.menuMount?"":typeof r.value=="string"?Array.isArray(n.internalModelValue)?n.internalModelValue.length===2&&n.internalModelValue[1]?G():f.value.enabled?n.internalModelValue.map(C=>`${F(C)}`):n.modelAuto?`${F(n.internalModelValue[0])}`:`${F(n.internalModelValue[0])} -`:F(n.internalModelValue):te()),_e=()=>f.value.enabled?"; ":" - ",ke=x(()=>Array.isArray(ve.value)?ve.value.join(_e()):ve.value),H=()=>{c.value(n.internalModelValue)&&g.value(n.internalModelValue)&&q.value?t("select-date"):t("invalid-select")};return(C,M)=>(i(),m("div",{ref_key:"actionRowRef",ref:K,class:"dp__action_row"},[C.$slots["action-row"]?k(C.$slots,"action-row",ot(Oe({key:0},{internalModelValue:C.internalModelValue,disabled:I.value,selectDate:()=>C.$emit("select-date"),closePicker:()=>C.$emit("close-picker")}))):(i(),m(pe,{key:1},[s(o).showPreview?(i(),m("div",{key:0,class:"dp__selection_preview",title:ke.value,style:mt(U.value)},[C.$slots["action-preview"]&&W.value?k(C.$slots,"action-preview",{key:0,value:C.internalModelValue}):S("",!0),!C.$slots["action-preview"]&&W.value?(i(),m(pe,{key:1},[Ne(ce(ke.value),1)],64)):S("",!0)],12,pp)):S("",!0),y("div",{ref_key:"actionBtnContainer",ref:V,class:"dp__action_buttons","data-dp-element":"action-row"},[C.$slots["action-buttons"]?k(C.$slots,"action-buttons",{key:0,value:C.internalModelValue}):S("",!0),C.$slots["action-buttons"]?S("",!0):(i(),m(pe,{key:1},[!s(d).enabled&&s(o).showCancel?(i(),m("button",{key:0,ref_key:"cancelButtonRef",ref:$,type:"button",class:"dp__action_button dp__action_cancel",onClick:M[0]||(M[0]=z=>C.$emit("close-picker")),onKeydown:M[1]||(M[1]=z=>s(ct)(z,()=>C.$emit("close-picker")))},ce(C.cancelText),545)):S("",!0),s(o).showNow?(i(),m("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:M[2]||(M[2]=z=>C.$emit("select-now")),onKeydown:M[3]||(M[3]=z=>s(ct)(z,()=>C.$emit("select-now")))},ce(C.nowButtonLabel),33)):S("",!0),s(o).showSelect?(i(),m("button",{key:2,ref_key:"selectButtonRef",ref:R,type:"button",class:"dp__action_button dp__action_select",disabled:I.value,"data-test":"select-button",onKeydown:M[4]||(M[4]=z=>s(ct)(z,()=>H())),onClick:H},ce(C.selectText),41,fp)):S("",!0)],64))],512)],64))],512))}}),yp=["role","aria-label","tabindex"],gp={class:"dp__selection_grid_header"},_p=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],bp=["aria-label"],Ia=J({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:t}){const{setSelectionGrid:n,buildMultiLevelMatrix:o,setMonthPicker:r}=Zt(),l=t,u=e,{defaultedAriaLabels:d,defaultedTextInput:b,defaultedConfig:f}=ze(u),{hideNavigationButtons:p}=nn(),c=A(!1),g=A(null),P=A(null),$=A([]),R=A(),W=A(null),U=A(0),V=A(null);nl(()=>{g.value=null}),Ue(()=>{yt().then(()=>ve()),u.noOverlayFocus||se(),K(!0)}),Xt(()=>K(!1));const K=D=>{var T;u.arrowNavigation&&((T=u.headerRefs)!=null&&T.length?r(D):n(D))},se=()=>{var D;const T=tt(P);T&&(b.value.enabled||(g.value?(D=g.value)==null||D.focus({preventScroll:!0}):T.focus({preventScroll:!0})),c.value=T.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!u.useRelative,"dp--overlay-relative":u.useRelative})),I=x(()=>u.useRelative?{height:`${u.height}px`,width:"260px"}:void 0),te=x(()=>({dp__overlay_col:!0})),G=x(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:c.value,dp__button_bottom:u.isLast})),F=x(()=>{var D,T;return{dp__overlay_container:!0,dp__container_flex:((D=u.items)==null?void 0:D.length)<=6,dp__container_block:((T=u.items)==null?void 0:T.length)>6}});Je(()=>u.items,()=>ve(!1),{deep:!0});const ve=(D=!0)=>{yt().then(()=>{const T=tt(g),v=tt(P),N=tt(W),Q=tt(V),_=N?N.getBoundingClientRect().height:0;v&&(v.getBoundingClientRect().height?U.value=v.getBoundingClientRect().height-_:U.value=f.value.modeHeight-_),T&&Q&&D&&(Q.scrollTop=T.offsetTop-Q.offsetTop-(U.value/2-T.getBoundingClientRect().height)-_)})},_e=D=>{D.disabled||l("selected",D.value)},ke=()=>{l("toggle"),l("reset-flow")},H=()=>{u.escClose&&ke()},C=(D,T,v,N)=>{D&&((T.active||T.value===u.focusValue)&&(g.value=D),u.arrowNavigation&&(Array.isArray($.value[v])?$.value[v][N]=D:$.value[v]=[D],M()))},M=()=>{var D,T;const v=(D=u.headerRefs)!=null&&D.length?[u.headerRefs].concat($.value):$.value.concat([u.skipButtonRef?[]:[W.value]]);o(nt(v),(T=u.headerRefs)!=null&&T.length?"monthPicker":"selectionGrid")},z=D=>{u.arrowNavigation||Qt(D,f.value,!0)},ue=D=>{R.value=D,l("hover-value",D)},j=()=>{if(ke(),!u.isLast){const D=In(u.menuWrapRef??null,"action-row");if(D){const T=$r(D);T==null||T.focus()}}},de=D=>{switch(D.key){case Fe.esc:return H();case Fe.arrowLeft:return z(D);case Fe.arrowRight:return z(D);case Fe.arrowUp:return z(D);case Fe.arrowDown:return z(D);default:return}},De=D=>{if(D.key===Fe.enter)return ke();if(D.key===Fe.tab)return j()};return a({focusGrid:se}),(D,T)=>{var v;return i(),m("div",{ref_key:"gridWrapRef",ref:P,class:he(q.value),style:mt(I.value),role:D.useRelative?void 0:"dialog","aria-label":D.overlayLabel,tabindex:D.useRelative?void 0:"0",onKeydown:de,onClick:T[0]||(T[0]=ia(()=>{},["prevent"]))},[y("div",{ref_key:"containerRef",ref:V,class:he(F.value),style:mt({"--dp-overlay-height":`${U.value}px`}),role:"grid"},[y("div",gp,[k(D.$slots,"header")]),D.$slots.overlay?k(D.$slots,"overlay",{key:0}):(i(!0),m(pe,{key:1},Me(D.items,(N,Q)=>(i(),m("div",{key:Q,class:he(["dp__overlay_row",{dp__flex_row:D.items.length>=3}]),role:"row"},[(i(!0),m(pe,null,Me(N,(_,me)=>(i(),m("div",{key:_.value,ref_for:!0,ref:Te=>C(Te,_,Q,me),role:"gridcell",class:he(te.value),"aria-selected":_.active||void 0,"aria-disabled":_.disabled||void 0,tabindex:"0","data-test":_.text,onClick:ia(Te=>_e(_),["prevent"]),onKeydown:Te=>s(ct)(Te,()=>_e(_),!0),onMouseover:Te=>ue(_.value)},[y("div",{class:he(_.className)},[D.$slots.item?k(D.$slots,"item",{key:0,item:_}):S("",!0),D.$slots.item?S("",!0):(i(),m(pe,{key:1},[Ne(ce(_.text),1)],64))],2)],42,_p))),128))],2))),128))],6),D.$slots["button-icon"]?Ta((i(),m("button",{key:0,ref_key:"toggleButton",ref:W,type:"button","aria-label":(v=s(d))==null?void 0:v.toggleOverlay,class:he(G.value),tabindex:"0",onClick:ke,onKeydown:De},[k(D.$slots,"button-icon")],42,bp)),[[Ya,!s(p)(D.hideNavigation,D.type)]]):S("",!0)],46,yp)}}}),tn=J({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const a=e,t=x(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),n=x(()=>({dp__instance_calendar:a.multiCalendars>0}));return(o,r)=>(i(),m("div",{class:he({dp__menu_inner:!o.stretch,"dp--menu--inner-stretched":o.stretch,dp__flex_display:o.multiCalendars>0,"dp--flex-display-collapsed":o.collapse})},[(i(!0),m(pe,null,Me(t.value,(l,u)=>(i(),m("div",{key:l,class:he(n.value)},[k(o.$slots,"default",{instance:l,index:u})],2))),128))],2))}}),kp=["data-dp-element","aria-label","aria-disabled"],xa=J({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const t=a,n=A(null);return Ue(()=>t("set-ref",n)),(o,r)=>(i(),m("button",{ref_key:"elRef",ref:n,type:"button","data-dp-element":o.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":o.ariaLabel,"aria-disabled":o.disabled||void 0,onClick:r[0]||(r[0]=l=>o.$emit("activate")),onKeydown:r[1]||(r[1]=l=>s(ct)(l,()=>o.$emit("activate"),!0))},[y("span",{class:he(["dp__inner_nav",{dp__inner_nav_disabled:o.disabled}])},[k(o.$slots,"default")],2)],40,kp))}}),wp=["aria-label","data-test"],Ir=J({__name:"YearModePicker",props:{...Mt,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:a}){const t=a,n=e,{showRightIcon:o,showLeftIcon:r}=nn(),{defaultedConfig:l,defaultedMultiCalendars:u,defaultedAriaLabels:d,defaultedTransitions:b,defaultedUI:f}=ze(n),{showTransition:p,transitionName:c}=La(b),g=A(!1),P=(W=!1,U)=>{g.value=!g.value,t("toggle-year-picker",{flow:W,show:U})},$=W=>{g.value=!1,t("year-select",W)},R=(W=!1)=>{t("handle-year",W)};return(W,U)=>{var V,K,se,q,I;return i(),m(pe,null,[y("div",{class:he(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[s(r)(s(u),e.instance)?(i(),le(xa,{key:0,ref:"mpPrevIconRef","aria-label":(V=s(d))==null?void 0:V.prevYear,disabled:e.isDisabled(!1),class:he((K=s(f))==null?void 0:K.navBtnPrev),onActivate:U[0]||(U[0]=te=>R(!1))},{default:w(()=>[W.$slots["arrow-left"]?k(W.$slots,"arrow-left",{key:0}):S("",!0),W.$slots["arrow-left"]?S("",!0):(i(),le(s(Xn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),y("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(se=s(d))==null?void 0:se.openYearsOverlay}`,"data-test":`year-mode-btn-${e.instance}`,onClick:U[1]||(U[1]=()=>P(!1)),onKeydown:U[2]||(U[2]=Eo(()=>P(!1),["enter"]))},[W.$slots.year?k(W.$slots,"year",{key:0,year:e.year}):S("",!0),W.$slots.year?S("",!0):(i(),m(pe,{key:1},[Ne(ce(e.year),1)],64))],40,wp),s(o)(s(u),e.instance)?(i(),le(xa,{key:1,ref:"mpNextIconRef","aria-label":(q=s(d))==null?void 0:q.nextYear,disabled:e.isDisabled(!0),class:he((I=s(f))==null?void 0:I.navBtnNext),onActivate:U[3]||(U[3]=te=>R(!0))},{default:w(()=>[W.$slots["arrow-right"]?k(W.$slots,"arrow-right",{key:0}):S("",!0),W.$slots["arrow-right"]?S("",!0):(i(),le(s(Jn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0)],2),ee(Ht,{name:s(c)(e.showYearPicker),css:s(p)},{default:w(()=>{var te,G;return[e.showYearPicker?(i(),le(Ia,{key:0,items:e.items,"text-input":W.textInput,"esc-close":W.escClose,config:W.config,"is-last":W.autoApply&&!s(l).keepActionRow,"hide-navigation":W.hideNavigation,"aria-labels":W.ariaLabels,"overlay-label":(G=(te=s(d))==null?void 0:te.yearPicker)==null?void 0:G.call(te,!0),type:"year",onToggle:P,onSelected:U[4]||(U[4]=F=>$(F))},at({"button-icon":w(()=>[W.$slots["calendar-icon"]?k(W.$slots,"calendar-icon",{key:0}):S("",!0),W.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))]),_:2},[W.$slots["year-overlay-value"]?{name:"item",fn:w(({item:F})=>[k(W.$slots,"year-overlay-value",{text:F.text,value:F.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):S("",!0)]}),_:3},8,["name","css"])],64)}}}),so=(e,a,t)=>{if(a.value&&Array.isArray(a.value))if(a.value.some(n=>Ve(e,n))){const n=a.value.filter(o=>!Ve(o,e));a.value=n.length?n:null}else(t&&+t>a.value.length||!t)&&a.value.push(e);else a.value=[e]},io=(e,a,t)=>{let n=e.value?e.value.slice():[];return n.length===2&&n[1]!==null&&(n=[]),n.length?qe(a,n[0])?(n.unshift(a),t("range-start",n[0]),t("range-start",n[1])):(n[1]=a,t("range-end",a)):(n=[a],t("range-start",a)),n},an=(e,a,t,n)=>{e&&(e[0]&&e[1]&&t&&a("auto-apply"),e[0]&&!e[1]&&n&&t&&a("auto-apply"))},Lr=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>ht(Z(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=ht(Z(e.value),e.timezone))},Nr=(e,a,t,n)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&n.value.partialRange)?n.value.fixedStart&&(Ke(e,a.value[0])||Ve(e,a.value[0]))?[a.value[0],e]:n.value.fixedEnd&&(qe(e,a.value[1])||Ve(e,a.value[1]))?[e,a.value[1]]:(t("invalid-fixed-range",e),a.value):[],Rr=({multiCalendars:e,range:a,highlight:t,propDates:n,calendars:o,modelValue:r,props:l,filters:u,year:d,month:b,emit:f})=>{const p=x(()=>no(l.yearRange,l.locale,l.reverseYears)),c=A([!1]),g=x(()=>(F,ve)=>{const _e=He(Pt(new Date),{month:b.value(F),year:d.value(F)}),ke=ve?Un(_e):ha(_e);return Sr(ke,n.value.maxDate,n.value.minDate,l.preventMinMaxNavigation,ve)}),P=()=>Array.isArray(r.value)&&e.value.solo&&r.value[1],$=()=>{for(let F=0;F{if(!F)return $();const ve=He(Z(),o.value[F]);return o.value[0].year=Pe(_r(ve,e.value.count-1)),$()},W=(F,ve)=>{const _e=Rc(ve,F);return a.value.showLastInRange&&_e>1?ve:F},U=F=>l.focusStartDate||e.value.solo?F[0]:F[1]?W(F[0],F[1]):F[0],V=()=>{if(r.value){const F=Array.isArray(r.value)?U(r.value):r.value;o.value[0]={month:Se(F),year:Pe(F)}}},K=()=>{V(),e.value.count&&$()};Je(r,(F,ve)=>{l.isTextInputDate&&JSON.stringify(F??{})!==JSON.stringify(ve??{})&&K()}),Ue(()=>{K()});const se=(F,ve)=>{o.value[ve].year=F,f("update-month-year",{instance:ve,year:F,month:o.value[ve].month}),e.value.count&&!e.value.solo&&R(ve)},q=x(()=>F=>_a(p.value,ve=>{var _e;const ke=d.value(F)===ve.value,H=Ca(ve.value,ba(n.value.minDate),ba(n.value.maxDate))||((_e=u.value.years)==null?void 0:_e.includes(d.value(F))),C=lo(t.value,ve.value);return{active:ke,disabled:H,highlighted:C}})),I=(F,ve)=>{se(F,ve),G(ve)},te=(F,ve=!1)=>{if(!g.value(F,ve)){const _e=ve?d.value(F)+1:d.value(F)-1;se(_e,F)}},G=(F,ve=!1,_e)=>{ve||f("reset-flow"),_e!==void 0?c.value[F]=_e:c.value[F]=!c.value[F],c.value[F]?f("overlay-toggle",{open:!0,overlay:it.year}):(f("overlay-closed"),f("overlay-toggle",{open:!1,overlay:it.year}))};return{isDisabled:g,groupedYears:q,showYearPicker:c,selectYear:se,toggleYearPicker:G,handleYearSelect:I,handleYear:te}},$p=(e,a)=>{const{defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,defaultedRange:l,defaultedHighlight:u,propDates:d,defaultedTz:b,defaultedFilters:f,defaultedMultiDates:p}=ze(e),c=()=>{e.isTextInputDate&&K(Pe(Z(e.startDate)),0)},{modelValue:g,year:P,month:$,calendars:R}=Na(e,a,c),W=x(()=>kr(e.formatLocale,e.locale,e.monthNameFormat)),U=A(null),{checkMinMaxRange:V}=ea(e),{selectYear:K,groupedYears:se,showYearPicker:q,toggleYearPicker:I,handleYearSelect:te,handleYear:G,isDisabled:F}=Rr({modelValue:g,multiCalendars:t,range:l,highlight:u,calendars:R,year:P,propDates:d,month:$,filters:f,props:e,emit:a});Ue(()=>{e.startDate&&(g.value&&e.focusStartDate||!g.value)&&K(Pe(Z(e.startDate)),0)});const ve=v=>v?{month:Se(v),year:Pe(v)}:{month:null,year:null},_e=()=>g.value?Array.isArray(g.value)?g.value.map(v=>ve(v)):ve(g.value):ve(),ke=(v,N)=>{const Q=R.value[v],_=_e();return Array.isArray(_)?_.some(me=>me.year===(Q==null?void 0:Q.year)&&me.month===N):(Q==null?void 0:Q.year)===_.year&&N===_.month},H=(v,N,Q)=>{var _,me;const Te=_e();return Array.isArray(Te)?P.value(N)===((_=Te[Q])==null?void 0:_.year)&&v===((me=Te[Q])==null?void 0:me.month):!1},C=(v,N)=>{if(l.value.enabled){const Q=_e();if(Array.isArray(g.value)&&Array.isArray(Q)){const _=H(v,N,0)||H(v,N,1),me=Rt(Pt(Z()),v,P.value(N));return Za(g.value,U.value,me)&&!_}return!1}return!1},M=x(()=>v=>_a(W.value,N=>{var Q;const _=ke(v,N.value),me=Ca(N.value,Pr(P.value(v),d.value.minDate),Tr(P.value(v),d.value.maxDate))||Qm(d.value.disabledDates,P.value(v)).includes(N.value)||((Q=f.value.months)==null?void 0:Q.includes(N.value)),Te=C(N.value,v),Ze=Cr(u.value,N.value,P.value(v));return{active:_,disabled:me,isBetween:Te,highlighted:Ze}})),z=(v,N)=>Rt(Pt(Z()),v,P.value(N)),ue=(v,N)=>{const Q=g.value?g.value:Pt(new Date);g.value=Rt(Q,v,P.value(N)),a("auto-apply"),a("update-flow-step")},j=(v,N)=>{const Q=z(v,N);l.value.fixedEnd||l.value.fixedStart?g.value=Nr(Q,g,a,l):g.value?V(Q,g.value)&&(g.value=io(g,z(v,N),a)):g.value=[z(v,N)],yt().then(()=>{an(g.value,a,e.autoApply,e.modelAuto)})},de=(v,N)=>{so(z(v,N),g,p.value.limit),a("auto-apply",!0)},De=(v,N)=>(R.value[N].month=v,T(N,R.value[N].year,v),p.value.enabled?de(v,N):l.value.enabled?j(v,N):ue(v,N)),D=(v,N)=>{K(v,N),T(N,v,null)},T=(v,N,Q)=>{let _=Q;if(!_&&_!==0){const me=_e();_=Array.isArray(me)?me[v].month:me.month}a("update-month-year",{instance:v,year:N,month:_})};return{groupedMonths:M,groupedYears:se,year:P,isDisabled:F,defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:o,defaultedConfig:r,showYearPicker:q,modelValue:g,presetDate:(v,N)=>{Lr({value:v,modelValue:g,range:l.value.enabled,timezone:N?void 0:b.value.timezone}),a("auto-apply")},setHoverDate:(v,N)=>{U.value=z(v,N)},selectMonth:De,selectYear:D,toggleYearPicker:I,handleYearSelect:te,handleYear:G,getModelMonthYear:_e}},Dp=J({compatConfig:{MODE:3},__name:"MonthPicker",props:{...Mt},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=Jt(),r=_t(o,"yearMode"),l=e;Ue(()=>{l.shadow||n("mount",null)});const{groupedMonths:u,groupedYears:d,year:b,isDisabled:f,defaultedMultiCalendars:p,defaultedConfig:c,showYearPicker:g,modelValue:P,presetDate:$,setHoverDate:R,selectMonth:W,selectYear:U,toggleYearPicker:V,handleYearSelect:K,handleYear:se,getModelMonthYear:q}=$p(l,n);return a({getSidebarProps:()=>({modelValue:P,year:b,getModelMonthYear:q,selectMonth:W,selectYear:U,handleYear:se}),presetDate:$,toggleYearPicker:I=>V(0,I)}),(I,te)=>(i(),le(tn,{"multi-calendars":s(p).count,collapse:I.collapse,stretch:""},{default:w(({instance:G})=>[I.$slots["top-extra"]?k(I.$slots,"top-extra",{key:0,value:I.internalModelValue}):S("",!0),I.$slots["month-year"]?k(I.$slots,"month-year",ot(Oe({key:1},{year:s(b),months:s(u)(G),years:s(d)(G),selectMonth:s(W),selectYear:s(U),instance:G}))):(i(),le(Ia,{key:2,items:s(u)(G),"arrow-navigation":I.arrowNavigation,"is-last":I.autoApply&&!s(c).keepActionRow,"esc-close":I.escClose,height:s(c).modeHeight,config:I.config,"no-overlay-focus":!!(I.noOverlayFocus||I.textInput),"use-relative":"",type:"month",onSelected:F=>s(W)(F,G),onHoverValue:F=>s(R)(F,G)},at({header:w(()=>[ee(Ir,Oe(I.$props,{items:s(d)(G),instance:G,"show-year-picker":s(g)[G],year:s(b)(G),"is-disabled":F=>s(f)(G,F),onHandleYear:F=>s(se)(G,F),onYearSelect:F=>s(K)(F,G),onToggleYearPicker:F=>s(V)(G,F==null?void 0:F.flow,F==null?void 0:F.show)}),at({_:2},[Me(s(r),(F,ve)=>({name:F,fn:w(_e=>[k(I.$slots,F,ot(pt(_e)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[I.$slots["month-overlay-value"]?{name:"item",fn:w(({item:F})=>[k(I.$slots,"month-overlay-value",{text:F.text,value:F.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),Pp=(e,a)=>{const t=()=>{e.isTextInputDate&&(f.value=Pe(Z(e.startDate)))},{modelValue:n}=Na(e,a,t),o=A(null),{defaultedHighlight:r,defaultedMultiDates:l,defaultedFilters:u,defaultedRange:d,propDates:b}=ze(e),f=A();Ue(()=>{e.startDate&&(n.value&&e.focusStartDate||!n.value)&&(f.value=Pe(Z(e.startDate)))});const p=$=>Array.isArray(n.value)?n.value.some(R=>Pe(R)===$):n.value?Pe(n.value)===$:!1,c=$=>d.value.enabled&&Array.isArray(n.value)?Za(n.value,o.value,P($)):!1,g=x(()=>_a(no(e.yearRange,e.locale,e.reverseYears),$=>{const R=p($.value),W=Ca($.value,ba(b.value.minDate),ba(b.value.maxDate))||u.value.years.includes($.value),U=c($.value)&&!R,V=lo(r.value,$.value);return{active:R,disabled:W,isBetween:U,highlighted:V}})),P=$=>Ot(Pt(ha(new Date)),$);return{groupedYears:g,modelValue:n,focusYear:f,setHoverValue:$=>{o.value=Ot(Pt(new Date),$)},selectYear:$=>{var R;if(a("update-month-year",{instance:0,year:$}),l.value.enabled)return n.value?Array.isArray(n.value)&&(((R=n.value)==null?void 0:R.map(W=>Pe(W))).includes($)?n.value=n.value.filter(W=>Pe(W)!==$):n.value.push(Ot(vt(Z()),$))):n.value=[Ot(vt(ha(Z())),$)],a("auto-apply",!0);d.value.enabled?(n.value=io(n,P($),a),yt().then(()=>{an(n.value,a,e.autoApply,e.modelAuto)})):(n.value=P($),a("auto-apply"))}}},Tp=J({compatConfig:{MODE:3},__name:"YearPicker",props:{...Mt},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:a,emit:t}){const n=t,o=e,{groupedYears:r,modelValue:l,focusYear:u,selectYear:d,setHoverValue:b}=Pp(o,n),{defaultedConfig:f}=ze(o);return a({getSidebarProps:()=>({modelValue:l,selectYear:d})}),(p,c)=>(i(),m("div",null,[p.$slots["top-extra"]?k(p.$slots,"top-extra",{key:0,value:p.internalModelValue}):S("",!0),p.$slots["month-year"]?k(p.$slots,"month-year",ot(Oe({key:1},{years:s(r),selectYear:s(d)}))):(i(),le(Ia,{key:2,items:s(r),"is-last":p.autoApply&&!s(f).keepActionRow,height:s(f).modeHeight,config:p.config,"no-overlay-focus":!!(p.noOverlayFocus||p.textInput),"focus-value":s(u),type:"year","use-relative":"",onSelected:s(d),onHoverValue:s(b)},at({_:2},[p.$slots["year-overlay-value"]?{name:"item",fn:w(({item:g})=>[k(p.$slots,"year-overlay-value",{text:g.text,value:g.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),Mp={key:0,class:"dp__time_input"},xp=["data-test","aria-label","onKeydown","onClick","onMousedown"],Sp=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Ap=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Cp=["aria-label","disabled","data-test","onKeydown","onClick"],Vp=["data-test","aria-label","onKeydown","onClick","onMousedown"],Op=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1),Ip=y("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1),Lp={key:0},Np=["aria-label"],Rp=J({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Mt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,{setTimePickerElements:r,setTimePickerBackRef:l}=Zt(),{defaultedAriaLabels:u,defaultedTransitions:d,defaultedFilters:b,defaultedConfig:f,defaultedRange:p}=ze(o),{transitionName:c,showTransition:g}=La(d),P=Va({hours:!1,minutes:!1,seconds:!1}),$=A("AM"),R=A(null),W=A([]),U=A(),V=A(!1);Ue(()=>{n("mounted")});const K=h=>He(new Date,{hours:h.hours,minutes:h.minutes,seconds:o.enableSeconds?h.seconds:0,milliseconds:0}),se=x(()=>h=>z(h,o[h])||I(h,o[h])),q=x(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),I=(h,X)=>p.value.enabled&&!p.value.disableTimeRangeValidation?!o.validateTime(h,X):!1,te=(h,X)=>{if(p.value.enabled&&!p.value.disableTimeRangeValidation){const oe=X?+o[`${h}Increment`]:-+o[`${h}Increment`],Y=o[h]+oe;return!o.validateTime(h,Y)}return!1},G=x(()=>h=>!D(+o[h]+ +o[`${h}Increment`],h)||te(h,!0)),F=x(()=>h=>!D(+o[h]-+o[`${h}Increment`],h)||te(h,!1)),ve=(h,X)=>Jo(He(Z(),h),X),_e=(h,X)=>Sm(He(Z(),h),X),ke=x(()=>({dp__time_col:!0,dp__time_col_block:!o.timePickerInline,dp__time_col_reg_block:!o.enableSeconds&&o.is24&&!o.timePickerInline,dp__time_col_reg_inline:!o.enableSeconds&&o.is24&&o.timePickerInline,dp__time_col_reg_with_button:!o.enableSeconds&&!o.is24,dp__time_col_sec:o.enableSeconds&&o.is24,dp__time_col_sec_with_button:o.enableSeconds&&!o.is24})),H=x(()=>{const h=[{type:"hours"}];return o.enableMinutes&&h.push({type:"",separator:!0},{type:"minutes"}),o.enableSeconds&&h.push({type:"",separator:!0},{type:"seconds"}),h}),C=x(()=>H.value.filter(h=>!h.separator)),M=x(()=>h=>{if(h==="hours"){const X=me(+o.hours);return{text:X<10?`0${X}`:`${X}`,value:X}}return{text:o[h]<10?`0${o[h]}`:`${o[h]}`,value:o[h]}}),z=(h,X)=>{var oe;if(!o.disabledTimesConfig)return!1;const Y=o.disabledTimesConfig(o.order,h==="hours"?X:void 0);return Y[h]?!!((oe=Y[h])!=null&&oe.includes(X)):!0},ue=(h,X)=>X!=="hours"||$.value==="AM"?h:h+12,j=h=>{const X=o.is24?24:12,oe=h==="hours"?X:60,Y=+o[`${h}GridIncrement`],xe=h==="hours"&&!o.is24?Y:0,L=[];for(let ae=xe;ae({active:!1,disabled:b.value.times[h].includes(ae.value)||!D(ae.value,h)||z(h,ae.value)||I(h,ae.value)}))},de=h=>h>=0?h:59,De=h=>h>=0?h:23,D=(h,X)=>{const oe=o.minTime?K(fn(o.minTime)):null,Y=o.maxTime?K(fn(o.maxTime)):null,xe=K(fn(q.value,X,X==="minutes"||X==="seconds"?de(h):De(h)));return oe&&Y?(Aa(xe,Y)||oa(xe,Y))&&(ga(xe,oe)||oa(xe,oe)):oe?ga(xe,oe)||oa(xe,oe):Y?Aa(xe,Y)||oa(xe,Y):!0},T=h=>o[`no${h[0].toUpperCase()+h.slice(1)}Overlay`],v=h=>{T(h)||(P[h]=!P[h],P[h]?(V.value=!0,n("overlay-opened",h)):(V.value=!1,n("overlay-closed",h)))},N=h=>h==="hours"?Bt:h==="minutes"?Gt:ya,Q=()=>{U.value&&clearTimeout(U.value)},_=(h,X=!0,oe)=>{const Y=X?ve:_e,xe=X?+o[`${h}Increment`]:-+o[`${h}Increment`];D(+o[h]+xe,h)&&n(`update:${h}`,N(h)(Y({[h]:+o[h]},{[h]:+o[`${h}Increment`]}))),!(oe!=null&&oe.keyboard)&&f.value.timeArrowHoldThreshold&&(U.value=setTimeout(()=>{_(h,X)},f.value.timeArrowHoldThreshold))},me=h=>o.is24?h:(h>=12?$.value="PM":$.value="AM",Lm(h)),Te=()=>{$.value==="PM"?($.value="AM",n("update:hours",o.hours-12)):($.value="PM",n("update:hours",o.hours+12)),n("am-pm-change",$.value)},Ze=h=>{P[h]=!0},B=(h,X,oe)=>{if(h&&o.arrowNavigation){Array.isArray(W.value[X])?W.value[X][oe]=h:W.value[X]=[h];const Y=W.value.reduce((xe,L)=>L.map((ae,ge)=>[...xe[ge]||[],L[ge]]),[]);l(o.closeTimePickerBtn),R.value&&(Y[1]=Y[1].concat(R.value)),r(Y,o.order)}},ne=(h,X)=>(v(h),n(`update:${h}`,X));return a({openChildCmp:Ze}),(h,X)=>{var oe;return h.disabled?S("",!0):(i(),m("div",Mp,[(i(!0),m(pe,null,Me(H.value,(Y,xe)=>{var L,ae,ge;return i(),m("div",{key:xe,class:he(ke.value)},[Y.separator?(i(),m(pe,{key:0},[V.value?S("",!0):(i(),m(pe,{key:0},[Ne(":")],64))],64)):(i(),m(pe,{key:1},[y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,0),type:"button",class:he({dp__btn:!0,dp__inc_dec_button:!h.timePickerInline,dp__inc_dec_button_inline:h.timePickerInline,dp__tp_inline_btn_top:h.timePickerInline,dp__inc_dec_button_disabled:G.value(Y.type),"dp--hidden-el":V.value}),"data-test":`${Y.type}-time-inc-btn-${o.order}`,"aria-label":(L=s(u))==null?void 0:L.incrementValue(Y.type),tabindex:"0",onKeydown:Ae=>s(ct)(Ae,()=>_(Y.type,!0,{keyboard:!0}),!0),onClick:Ae=>s(f).timeArrowHoldThreshold?void 0:_(Y.type,!0),onMousedown:Ae=>s(f).timeArrowHoldThreshold?_(Y.type,!0):void 0,onMouseup:Q},[o.timePickerInline?(i(),m(pe,{key:1},[h.$slots["tp-inline-arrow-up"]?k(h.$slots,"tp-inline-arrow-up",{key:0}):(i(),m(pe,{key:1},[Sp,Ap],64))],64)):(i(),m(pe,{key:0},[h.$slots["arrow-up"]?k(h.$slots,"arrow-up",{key:0}):S("",!0),h.$slots["arrow-up"]?S("",!0):(i(),le(s(eo),{key:1}))],64))],42,xp),y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,1),type:"button","aria-label":`${M.value(Y.type).text}-${(ae=s(u))==null?void 0:ae.openTpOverlay(Y.type)}`,class:he({dp__time_display:!0,dp__time_display_block:!h.timePickerInline,dp__time_display_inline:h.timePickerInline,"dp--time-invalid":se.value(Y.type),"dp--time-overlay-btn":!se.value(Y.type),"dp--hidden-el":V.value}),disabled:T(Y.type),tabindex:"0","data-test":`${Y.type}-toggle-overlay-btn-${o.order}`,onKeydown:Ae=>s(ct)(Ae,()=>v(Y.type),!0),onClick:Ae=>v(Y.type)},[h.$slots[Y.type]?k(h.$slots,Y.type,{key:0,text:M.value(Y.type).text,value:M.value(Y.type).value}):S("",!0),h.$slots[Y.type]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(M.value(Y.type).text),1)],64))],42,Cp),y("button",{ref_for:!0,ref:Ae=>B(Ae,xe,2),type:"button",class:he({dp__btn:!0,dp__inc_dec_button:!h.timePickerInline,dp__inc_dec_button_inline:h.timePickerInline,dp__tp_inline_btn_bottom:h.timePickerInline,dp__inc_dec_button_disabled:F.value(Y.type),"dp--hidden-el":V.value}),"data-test":`${Y.type}-time-dec-btn-${o.order}`,"aria-label":(ge=s(u))==null?void 0:ge.decrementValue(Y.type),tabindex:"0",onKeydown:Ae=>s(ct)(Ae,()=>_(Y.type,!1,{keyboard:!0}),!0),onClick:Ae=>s(f).timeArrowHoldThreshold?void 0:_(Y.type,!1),onMousedown:Ae=>s(f).timeArrowHoldThreshold?_(Y.type,!1):void 0,onMouseup:Q},[o.timePickerInline?(i(),m(pe,{key:1},[h.$slots["tp-inline-arrow-down"]?k(h.$slots,"tp-inline-arrow-down",{key:0}):(i(),m(pe,{key:1},[Op,Ip],64))],64)):(i(),m(pe,{key:0},[h.$slots["arrow-down"]?k(h.$slots,"arrow-down",{key:0}):S("",!0),h.$slots["arrow-down"]?S("",!0):(i(),le(s(to),{key:1}))],64))],42,Vp)],64))],2)}),128)),h.is24?S("",!0):(i(),m("div",Lp,[h.$slots["am-pm-button"]?k(h.$slots,"am-pm-button",{key:0,toggle:Te,value:$.value}):S("",!0),h.$slots["am-pm-button"]?S("",!0):(i(),m("button",{key:1,ref_key:"amPmButton",ref:R,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(oe=s(u))==null?void 0:oe.amPmButton,tabindex:"0",onClick:Te,onKeydown:X[0]||(X[0]=Y=>s(ct)(Y,()=>Te(),!0))},ce($.value),41,Np))])),(i(!0),m(pe,null,Me(C.value,(Y,xe)=>(i(),le(Ht,{key:xe,name:s(c)(P[Y.type]),css:s(g)},{default:w(()=>{var L,ae;return[P[Y.type]?(i(),le(Ia,{key:0,items:j(Y.type),"is-last":h.autoApply&&!s(f).keepActionRow,"esc-close":h.escClose,type:Y.type,"text-input":h.textInput,config:h.config,"arrow-navigation":h.arrowNavigation,"aria-labels":h.ariaLabels,"overlay-label":(ae=(L=s(u)).timeOverlay)==null?void 0:ae.call(L,Y.type),onSelected:ge=>ne(Y.type,ge),onToggle:ge=>v(Y.type),onResetFlow:X[1]||(X[1]=ge=>h.$emit("reset-flow"))},at({"button-icon":w(()=>[h.$slots["clock-icon"]?k(h.$slots,"clock-icon",{key:0}):S("",!0),h.$slots["clock-icon"]?S("",!0):(i(),le(ft(h.timePickerInline?s(ka):s(Zn)),{key:1}))]),_:2},[h.$slots[`${Y.type}-overlay-value`]?{name:"item",fn:w(({item:ge})=>[k(h.$slots,`${Y.type}-overlay-value`,{text:ge.text,value:ge.value})]),key:"0"}:void 0,h.$slots[`${Y.type}-overlay-header`]?{name:"header",fn:w(()=>[k(h.$slots,`${Y.type}-overlay-header`,{toggle:()=>v(Y.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):S("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),Bp={class:"dp--tp-wrap"},Ep=["aria-label","tabindex"],Hp=["role","aria-label","tabindex"],Yp=["aria-label"],Br=J({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Mt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:t}){const n=t,o=e,{buildMatrix:r,setTimePicker:l}=Zt(),u=Jt(),{defaultedTransitions:d,defaultedAriaLabels:b,defaultedTextInput:f,defaultedConfig:p,defaultedRange:c}=ze(o),{transitionName:g,showTransition:P}=La(d),{hideNavigationButtons:$}=nn(),R=A(null),W=A(null),U=A([]),V=A(null),K=A(!1);Ue(()=>{n("mount"),!o.timePicker&&o.arrowNavigation?r([tt(R.value)],"time"):l(!0,o.timePicker)});const se=x(()=>c.value.enabled&&o.modelAuto?wr(o.internalModelValue):!0),q=A(!1),I=j=>({hours:Array.isArray(o.hours)?o.hours[j]:o.hours,minutes:Array.isArray(o.minutes)?o.minutes[j]:o.minutes,seconds:Array.isArray(o.seconds)?o.seconds[j]:o.seconds}),te=x(()=>{const j=[];if(c.value.enabled)for(let de=0;de<2;de++)j.push(I(de));else j.push(I(0));return j}),G=(j,de=!1,De="")=>{de||n("reset-flow"),q.value=j,n(j?"overlay-opened":"overlay-closed",it.time),o.arrowNavigation&&l(j),yt(()=>{De!==""&&U.value[0]&&U.value[0].openChildCmp(De)})},F=x(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!p.value.keepActionRow})),ve=_t(u,"timePicker"),_e=(j,de,De)=>c.value.enabled?de===0?[j,te.value[1][De]]:[te.value[0][De],j]:j,ke=j=>{n("update:hours",j)},H=j=>{n("update:minutes",j)},C=j=>{n("update:seconds",j)},M=()=>{if(V.value&&!f.value.enabled&&!o.noOverlayFocus){const j=$r(V.value);j&&j.focus({preventScroll:!0})}},z=j=>{K.value=!1,n("overlay-closed",j)},ue=j=>{K.value=!0,n("overlay-opened",j)};return a({toggleTimePicker:G}),(j,de)=>{var De;return i(),m("div",Bp,[!j.timePicker&&!j.timePickerInline?Ta((i(),m("button",{key:0,ref_key:"openTimePickerBtn",ref:R,type:"button",class:he({...F.value,"dp--hidden-el":q.value}),"aria-label":(De=s(b))==null?void 0:De.openTimePicker,tabindex:j.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:de[0]||(de[0]=D=>s(ct)(D,()=>G(!0))),onClick:de[1]||(de[1]=D=>G(!0))},[j.$slots["clock-icon"]?k(j.$slots,"clock-icon",{key:0}):S("",!0),j.$slots["clock-icon"]?S("",!0):(i(),le(s(Zn),{key:1}))],42,Ep)),[[Ya,!s($)(j.hideNavigation,"time")]]):S("",!0),ee(Ht,{name:s(g)(q.value),css:s(P)&&!j.timePickerInline},{default:w(()=>{var D,T;return[q.value||j.timePicker||j.timePickerInline?(i(),m("div",{key:0,ref_key:"overlayRef",ref:V,role:j.timePickerInline?void 0:"dialog",class:he({dp__overlay:!j.timePickerInline,"dp--overlay-absolute":!o.timePicker&&!j.timePickerInline,"dp--overlay-relative":o.timePicker}),style:mt(j.timePicker?{height:`${s(p).modeHeight}px`}:void 0),"aria-label":(D=s(b))==null?void 0:D.timePicker,tabindex:j.timePickerInline?void 0:0},[y("div",{class:he(j.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[j.$slots["time-picker-overlay"]?k(j.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:ke,setMinutes:H,setSeconds:C}):S("",!0),j.$slots["time-picker-overlay"]?S("",!0):(i(),m("div",{key:1,class:he(j.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(i(!0),m(pe,null,Me(te.value,(v,N)=>Ta((i(),le(Rp,Oe({key:N,ref_for:!0},{...j.$props,order:N,hours:v.hours,minutes:v.minutes,seconds:v.seconds,closeTimePickerBtn:W.value,disabledTimesConfig:e.disabledTimesConfig,disabled:N===0?s(c).fixedStart:s(c).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:U,"validate-time":(Q,_)=>e.validateTime(Q,_e(_,N,Q)),"onUpdate:hours":Q=>ke(_e(Q,N,"hours")),"onUpdate:minutes":Q=>H(_e(Q,N,"minutes")),"onUpdate:seconds":Q=>C(_e(Q,N,"seconds")),onMounted:M,onOverlayClosed:z,onOverlayOpened:ue,onAmPmChange:de[2]||(de[2]=Q=>j.$emit("am-pm-change",Q))}),at({_:2},[Me(s(ve),(Q,_)=>({name:Q,fn:w(me=>[k(j.$slots,Q,Oe({ref_for:!0},me))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[Ya,N===0?!0:se.value]])),128))],2)),!j.timePicker&&!j.timePickerInline?Ta((i(),m("button",{key:2,ref_key:"closeTimePickerBtn",ref:W,type:"button",class:he({...F.value,"dp--hidden-el":K.value}),"aria-label":(T=s(b))==null?void 0:T.closeTimePicker,tabindex:"0",onKeydown:de[3]||(de[3]=v=>s(ct)(v,()=>G(!1))),onClick:de[4]||(de[4]=v=>G(!1))},[j.$slots["calendar-icon"]?k(j.$slots,"calendar-icon",{key:0}):S("",!0),j.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))],42,Yp)),[[Ya,!s($)(j.hideNavigation,"time")]]):S("",!0)],2)],14,Hp)):S("",!0)]}),_:3},8,["name","css"])])}}}),Er=(e,a,t,n)=>{const{defaultedRange:o}=ze(e),r=(V,K)=>Array.isArray(a[V])?a[V][K]:a[V],l=V=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[V]:a.seconds:0,u=(V,K)=>V?K!==void 0?Kt(V,r("hours",K),r("minutes",K),l(K)):Kt(V,a.hours,a.minutes,l()):gr(Z(),l(K)),d=(V,K)=>{a[V]=K},b=x(()=>e.modelAuto&&o.value.enabled?Array.isArray(t.value)?t.value.length>1:!1:o.value.enabled),f=(V,K)=>{const se=Object.fromEntries(Object.keys(a).map(q=>q===V?[q,K]:[q,a[q]].slice()));if(b.value&&!o.value.disableTimeRangeValidation){const q=te=>t.value?Kt(t.value[te],se.hours[te],se.minutes[te],se.seconds[te]):null,I=te=>yr(t.value[te],0);return!(Ve(q(0),q(1))&&(ga(q(0),I(1))||Aa(q(1),I(0))))}return!0},p=(V,K)=>{f(V,K)&&(d(V,K),n&&n())},c=V=>{p("hours",V)},g=V=>{p("minutes",V)},P=V=>{p("seconds",V)},$=(V,K,se,q)=>{K&&c(V),!K&&!se&&g(V),se&&P(V),t.value&&q(t.value)},R=V=>{if(V){const K=Array.isArray(V),se=K?[+V[0].hours,+V[1].hours]:+V.hours,q=K?[+V[0].minutes,+V[1].minutes]:+V.minutes,I=K?[+V[0].seconds,+V[1].seconds]:+V.seconds;d("hours",se),d("minutes",q),e.enableSeconds&&d("seconds",I)}},W=(V,K)=>{const se={hours:Array.isArray(a.hours)?a.hours[V]:a.hours,disabledArr:[]};return(K||K===0)&&(se.hours=K),Array.isArray(e.disabledTimes)&&(se.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[V])?e.disabledTimes[V]:e.disabledTimes),se},U=x(()=>(V,K)=>{var se;if(Array.isArray(e.disabledTimes)){const{disabledArr:q,hours:I}=W(V,K),te=q.filter(G=>+G.hours===I);return((se=te[0])==null?void 0:se.minutes)==="*"?{hours:[I],minutes:void 0,seconds:void 0}:{hours:[],minutes:(te==null?void 0:te.map(G=>+G.minutes))??[],seconds:(te==null?void 0:te.map(G=>G.seconds?+G.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:c,updateMinutes:g,updateSeconds:P,getSetDateTime:u,updateTimeValues:$,getSecondsValue:l,assignStartTime:R,validateTime:f,disabledTimesConfig:U}},Fp=(e,a)=>{const t=()=>{e.isTextInputDate&&K()},{modelValue:n,time:o}=Na(e,a,t),{defaultedStartTime:r,defaultedRange:l,defaultedTz:u}=ze(e),{updateTimeValues:d,getSetDateTime:b,setTime:f,assignStartTime:p,disabledTimesConfig:c,validateTime:g}=Er(e,o,n,P);function P(){a("update-flow-step")}const $=q=>{const{hours:I,minutes:te,seconds:G}=q;return{hours:+I,minutes:+te,seconds:G?+G:0}},R=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const I=$(e.startTime[0]),te=$(e.startTime[1]);return[He(Z(),I),He(Z(),te)]}const q=$(e.startTime);return He(Z(),q)}return l.value.enabled?[null,null]:null},W=()=>{if(l.value.enabled){const[q,I]=R();n.value=[ht(b(q,0),u.value.timezone),ht(b(I,1),u.value.timezone)]}else n.value=ht(b(R()),u.value.timezone)},U=q=>Array.isArray(q)?[la(Z(q[0])),la(Z(q[1]))]:[la(q??Z())],V=(q,I,te)=>{f("hours",q),f("minutes",I),f("seconds",e.enableSeconds?te:0)},K=()=>{const[q,I]=U(n.value);return l.value.enabled?V([q.hours,I.hours],[q.minutes,I.minutes],[q.seconds,I.seconds]):V(q.hours,q.minutes,q.seconds)};Ue(()=>{if(!e.shadow)return p(r.value),n.value?K():W()});const se=()=>{Array.isArray(n.value)?n.value=n.value.map((q,I)=>q&&b(q,I)):n.value=b(n.value),a("time-update")};return{modelValue:n,time:o,disabledTimesConfig:c,updateTime:(q,I=!0,te=!1)=>{d(q,I,te,se)},validateTime:g}},zp=J({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...Mt},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=_t(r,"timePicker"),u=A(null),{time:d,modelValue:b,disabledTimesConfig:f,updateTime:p,validateTime:c}=Fp(o,n);return Ue(()=>{o.shadow||n("mount",null)}),a({getSidebarProps:()=>({modelValue:b,time:d,updateTime:p}),toggleTimePicker:(g,P=!1,$="")=>{var R;(R=u.value)==null||R.toggleTimePicker(g,P,$)}}),(g,P)=>(i(),le(tn,{"multi-calendars":0,stretch:""},{default:w(()=>[ee(Br,Oe({ref_key:"tpRef",ref:u},g.$props,{hours:s(d).hours,minutes:s(d).minutes,seconds:s(d).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":s(f),"validate-time":s(c),"onUpdate:hours":P[0]||(P[0]=$=>s(p)($)),"onUpdate:minutes":P[1]||(P[1]=$=>s(p)($,!1)),"onUpdate:seconds":P[2]||(P[2]=$=>s(p)($,!1,!0)),onAmPmChange:P[3]||(P[3]=$=>g.$emit("am-pm-change",$)),onResetFlow:P[4]||(P[4]=$=>g.$emit("reset-flow")),onOverlayClosed:P[5]||(P[5]=$=>g.$emit("overlay-toggle",{open:!1,overlay:$})),onOverlayOpened:P[6]||(P[6]=$=>g.$emit("overlay-toggle",{open:!0,overlay:$}))}),at({_:2},[Me(s(l),($,R)=>({name:$,fn:w(W=>[k(g.$slots,$,ot(pt(W)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),Wp={class:"dp--header-wrap"},Up={key:0,class:"dp__month_year_wrap"},qp={key:0},jp={class:"dp__month_year_wrap"},Qp=["data-dp-element","aria-label","data-test","onClick","onKeydown"],Kp=J({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...Mt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTransitions:r,defaultedAriaLabels:l,defaultedMultiCalendars:u,defaultedFilters:d,defaultedConfig:b,defaultedHighlight:f,propDates:p,defaultedUI:c}=ze(o),{transitionName:g,showTransition:P}=La(r),{buildMatrix:$}=Zt(),{handleMonthYearChange:R,isDisabled:W,updateMonthYear:U}=mp(o,n),{showLeftIcon:V,showRightIcon:K}=nn(),se=A(!1),q=A(!1),I=A(!1),te=A([null,null,null,null]);Ue(()=>{n("mount")});const G=T=>({get:()=>o[T],set:v=>{const N=T===Dt.month?Dt.year:Dt.month;n("update-month-year",{[T]:v,[N]:o[N]}),T===Dt.month?z(!0):ue(!0)}}),F=x(G(Dt.month)),ve=x(G(Dt.year)),_e=x(()=>T=>({month:o.month,year:o.year,items:T===Dt.month?o.months:o.years,instance:o.instance,updateMonthYear:U,toggle:T===Dt.month?z:ue})),ke=x(()=>o.months.find(v=>v.value===o.month)||{text:"",value:0}),H=x(()=>_a(o.months,T=>{const v=o.month===T.value,N=Ca(T.value,Pr(o.year,p.value.minDate),Tr(o.year,p.value.maxDate))||d.value.months.includes(T.value),Q=Cr(f.value,T.value,o.year);return{active:v,disabled:N,highlighted:Q}})),C=x(()=>_a(o.years,T=>{const v=o.year===T.value,N=Ca(T.value,ba(p.value.minDate),ba(p.value.maxDate))||d.value.years.includes(T.value),Q=lo(f.value,T.value);return{active:v,disabled:N,highlighted:Q}})),M=(T,v,N)=>{N!==void 0?T.value=N:T.value=!T.value,T.value?(I.value=!0,n("overlay-opened",v)):(I.value=!1,n("overlay-closed",v))},z=(T=!1,v)=>{j(T),M(se,it.month,v)},ue=(T=!1,v)=>{j(T),M(q,it.year,v)},j=T=>{T||n("reset-flow")},de=(T,v)=>{o.arrowNavigation&&(te.value[v]=tt(T),$(te.value,"monthYear"))},De=x(()=>{var T,v,N,Q,_,me;return[{type:Dt.month,index:1,toggle:z,modelValue:F.value,updateModelValue:Te=>F.value=Te,text:ke.value.text,showSelectionGrid:se.value,items:H.value,ariaLabel:(T=l.value)==null?void 0:T.openMonthsOverlay,overlayLabel:((N=(v=l.value).monthPicker)==null?void 0:N.call(v,!0))??void 0},{type:Dt.year,index:2,toggle:ue,modelValue:ve.value,updateModelValue:Te=>ve.value=Te,text:Dr(o.year,o.locale),showSelectionGrid:q.value,items:C.value,ariaLabel:(Q=l.value)==null?void 0:Q.openYearsOverlay,overlayLabel:((me=(_=l.value).yearPicker)==null?void 0:me.call(_,!0))??void 0}]}),D=x(()=>o.disableYearSelect?[De.value[0]]:o.yearFirst?[...De.value].reverse():De.value);return a({toggleMonthPicker:z,toggleYearPicker:ue,handleMonthYearChange:R}),(T,v)=>{var N,Q,_,me,Te,Ze;return i(),m("div",Wp,[T.$slots["month-year"]?(i(),m("div",Up,[k(T.$slots,"month-year",ot(pt({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:s(U),handleMonthYearChange:s(R),instance:e.instance})))])):(i(),m(pe,{key:1},[T.$slots["top-extra"]?(i(),m("div",qp,[k(T.$slots,"top-extra",{value:T.internalModelValue})])):S("",!0),y("div",jp,[s(V)(s(u),e.instance)&&!T.vertical?(i(),le(xa,{key:0,"aria-label":(N=s(l))==null?void 0:N.prevMonth,disabled:s(W)(!1),class:he((Q=s(c))==null?void 0:Q.navBtnPrev),"el-name":"action-prev",onActivate:v[0]||(v[0]=B=>s(R)(!1,!0)),onSetRef:v[1]||(v[1]=B=>de(B,0))},{default:w(()=>[T.$slots["arrow-left"]?k(T.$slots,"arrow-left",{key:0}):S("",!0),T.$slots["arrow-left"]?S("",!0):(i(),le(s(Xn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),y("div",{class:he(["dp__month_year_wrap",{dp__year_disable_select:T.disableYearSelect}])},[(i(!0),m(pe,null,Me(D.value,(B,ne)=>(i(),m(pe,{key:B.type},[y("button",{ref_for:!0,ref:h=>de(h,ne+1),type:"button","data-dp-element":`overlay-${B.type}`,class:he(["dp__btn dp__month_year_select",{"dp--hidden-el":I.value}]),"aria-label":`${B.text}-${B.ariaLabel}`,"data-test":`${B.type}-toggle-overlay-${e.instance}`,onClick:B.toggle,onKeydown:h=>s(ct)(h,()=>B.toggle(),!0)},[T.$slots[B.type]?k(T.$slots,B.type,{key:0,text:B.text,value:o[B.type]}):S("",!0),T.$slots[B.type]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(B.text),1)],64))],42,Qp),ee(Ht,{name:s(g)(B.showSelectionGrid),css:s(P)},{default:w(()=>[B.showSelectionGrid?(i(),le(Ia,{key:0,items:B.items,"arrow-navigation":T.arrowNavigation,"hide-navigation":T.hideNavigation,"is-last":T.autoApply&&!s(b).keepActionRow,"skip-button-ref":!1,config:T.config,type:B.type,"header-refs":[],"esc-close":T.escClose,"menu-wrap-ref":T.menuWrapRef,"text-input":T.textInput,"aria-labels":T.ariaLabels,"overlay-label":B.overlayLabel,onSelected:B.updateModelValue,onToggle:B.toggle},at({"button-icon":w(()=>[T.$slots["calendar-icon"]?k(T.$slots,"calendar-icon",{key:0}):S("",!0),T.$slots["calendar-icon"]?S("",!0):(i(),le(s(ka),{key:1}))]),_:2},[T.$slots[`${B.type}-overlay-value`]?{name:"item",fn:w(({item:h})=>[k(T.$slots,`${B.type}-overlay-value`,{text:h.text,value:h.value})]),key:"0"}:void 0,T.$slots[`${B.type}-overlay`]?{name:"overlay",fn:w(()=>[k(T.$slots,`${B.type}-overlay`,Oe({ref_for:!0},_e.value(B.type)))]),key:"1"}:void 0,T.$slots[`${B.type}-overlay-header`]?{name:"header",fn:w(()=>[k(T.$slots,`${B.type}-overlay-header`,{toggle:B.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):S("",!0)]),_:2},1032,["name","css"])],64))),128))],2),s(V)(s(u),e.instance)&&T.vertical?(i(),le(xa,{key:1,"aria-label":(_=s(l))==null?void 0:_.prevMonth,"el-name":"action-prev",disabled:s(W)(!1),class:he((me=s(c))==null?void 0:me.navBtnPrev),onActivate:v[2]||(v[2]=B=>s(R)(!1,!0))},{default:w(()=>[T.$slots["arrow-up"]?k(T.$slots,"arrow-up",{key:0}):S("",!0),T.$slots["arrow-up"]?S("",!0):(i(),le(s(eo),{key:1}))]),_:3},8,["aria-label","disabled","class"])):S("",!0),s(K)(s(u),e.instance)?(i(),le(xa,{key:2,ref:"rightIcon","el-name":"action-next",disabled:s(W)(!0),"aria-label":(Te=s(l))==null?void 0:Te.nextMonth,class:he((Ze=s(c))==null?void 0:Ze.navBtnNext),onActivate:v[3]||(v[3]=B=>s(R)(!0,!0)),onSetRef:v[4]||(v[4]=B=>de(B,T.disableYearSelect?2:3))},{default:w(()=>[T.$slots[T.vertical?"arrow-down":"arrow-right"]?k(T.$slots,T.vertical?"arrow-down":"arrow-right",{key:0}):S("",!0),T.$slots[T.vertical?"arrow-down":"arrow-right"]?S("",!0):(i(),le(ft(T.vertical?s(to):s(Jn)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):S("",!0)])],64))])}}}),Gp={class:"dp__calendar_header",role:"row"},Xp={key:0,class:"dp__calendar_header_item",role:"gridcell"},Jp=["aria-label"],Zp=y("div",{class:"dp__calendar_header_separator"},null,-1),ef={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},tf={class:"dp__cell_inner"},af=["id","aria-pressed","aria-disabled","aria-label","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],nf=J({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...Mt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:a,emit:t}){const n=t,o=e,{buildMultiLevelMatrix:r}=Zt(),{defaultedTransitions:l,defaultedConfig:u,defaultedAriaLabels:d,defaultedMultiCalendars:b,defaultedWeekNumbers:f,defaultedMultiDates:p,defaultedUI:c}=ze(o),g=A(null),P=A({bottom:"",left:"",transform:""}),$=A([]),R=A(null),W=A(!0),U=A(""),V=A({startX:0,endX:0,startY:0,endY:0}),K=A([]),se=A({left:"50%"}),q=A(!1),I=x(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),te=x(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):Im(o.formatLocale,o.locale,+o.weekStart));Ue(()=>{n("mount",{cmp:"calendar",refs:$}),u.value.noSwipe||R.value&&(R.value.addEventListener("touchstart",de,{passive:!1}),R.value.addEventListener("touchend",De,{passive:!1}),R.value.addEventListener("touchmove",D,{passive:!1})),o.monthChangeOnScroll&&R.value&&R.value.addEventListener("wheel",N,{passive:!1})});const G=B=>B?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",F=(B,ne)=>{if(o.transitions){const h=vt(Rt(Z(),o.month,o.year));U.value=Ke(vt(Rt(Z(),B,ne)),h)?l.value[G(!0)]:l.value[G(!1)],W.value=!1,yt(()=>{W.value=!0})}},ve=x(()=>({...c.value.calendar??{}})),_e=x(()=>B=>{const ne=Nm(B);return{dp__marker_dot:ne.type==="dot",dp__marker_line:ne.type==="line"}}),ke=x(()=>B=>Ve(B,g.value)),H=x(()=>({dp__calendar:!0,dp__calendar_next:b.value.count>0&&o.instance!==0})),C=x(()=>B=>o.hideOffsetDates?B.current:!0),M=async(B,ne)=>{const{width:h,height:X}=B.getBoundingClientRect();g.value=ne.value;let oe={left:`${h/2}px`},Y=-50;if(await yt(),K.value[0]){const{left:xe,width:L}=K.value[0].getBoundingClientRect();xe<0&&(oe={left:"0"},Y=0,se.value.left=`${h/2}px`),window.innerWidth{var X,oe,Y;const xe=tt($.value[ne][h]);xe&&((X=B.marker)!=null&&X.customPosition&&(Y=(oe=B.marker)==null?void 0:oe.tooltip)!=null&&Y.length?P.value=B.marker.customPosition(xe):await M(xe,B),n("tooltip-open",B.marker))},ue=async(B,ne,h)=>{var X,oe;if(q.value&&p.value.enabled&&p.value.dragSelect)return n("select-date",B);n("set-hover-date",B),(oe=(X=B.marker)==null?void 0:X.tooltip)!=null&&oe.length&&await z(B,ne,h)},j=B=>{g.value&&(g.value=null,P.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),n("tooltip-close",B.marker))},de=B=>{V.value.startX=B.changedTouches[0].screenX,V.value.startY=B.changedTouches[0].screenY},De=B=>{V.value.endX=B.changedTouches[0].screenX,V.value.endY=B.changedTouches[0].screenY,T()},D=B=>{o.vertical&&!o.inline&&B.preventDefault()},T=()=>{const B=o.vertical?"Y":"X";Math.abs(V.value[`start${B}`]-V.value[`end${B}`])>10&&n("handle-swipe",V.value[`start${B}`]>V.value[`end${B}`]?"right":"left")},v=(B,ne,h)=>{B&&(Array.isArray($.value[ne])?$.value[ne][h]=B:$.value[ne]=[B]),o.arrowNavigation&&r($.value,"calendar")},N=B=>{o.monthChangeOnScroll&&(B.preventDefault(),n("handle-scroll",B))},Q=B=>f.value.type==="local"?Qn(B.value,{weekStartsOn:+o.weekStart}):f.value.type==="iso"?qn(B.value):typeof f.value.type=="function"?f.value.type(B.value):"",_=B=>{const ne=B[0];return f.value.hideOnOffsetDates?B.some(h=>h.current)?Q(ne):"":Q(ne)},me=(B,ne,h=!0)=>{h&&Ym()||p.value.enabled||(Qt(B,u.value),n("select-date",ne))},Te=B=>{Qt(B,u.value)},Ze=B=>{p.value.enabled&&p.value.dragSelect?(q.value=!0,n("select-date",B)):p.value.enabled&&n("select-date",B)};return a({triggerTransition:F}),(B,ne)=>(i(),m("div",{class:he(H.value)},[y("div",{ref_key:"calendarWrapRef",ref:R,class:he(ve.value),role:"grid"},[y("div",Gp,[B.weekNumbers?(i(),m("div",Xp,ce(B.weekNumName),1)):S("",!0),(i(!0),m(pe,null,Me(te.value,(h,X)=>{var oe,Y;return i(),m("div",{key:X,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(Y=(oe=s(d))==null?void 0:oe.weekDay)==null?void 0:Y.call(oe,X)},[B.$slots["calendar-header"]?k(B.$slots,"calendar-header",{key:0,day:h,index:X}):S("",!0),B.$slots["calendar-header"]?S("",!0):(i(),m(pe,{key:1},[Ne(ce(h),1)],64))],8,Jp)}),128))]),Zp,ee(Ht,{name:U.value,css:!!B.transitions},{default:w(()=>[W.value?(i(),m("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:ne[1]||(ne[1]=h=>q.value=!1)},[(i(!0),m(pe,null,Me(I.value,(h,X)=>(i(),m("div",{key:X,class:"dp__calendar_row",role:"row"},[B.weekNumbers?(i(),m("div",ef,[y("div",tf,ce(_(h.days)),1)])):S("",!0),(i(!0),m(pe,null,Me(h.days,(oe,Y)=>{var xe,L,ae;return i(),m("div",{id:s(Vr)(oe.value),ref_for:!0,ref:ge=>v(ge,X,Y),key:Y+X,role:"gridcell",class:"dp__calendar_item","aria-pressed":(oe.classData.dp__active_date||oe.classData.dp__range_start||oe.classData.dp__range_start)??void 0,"aria-disabled":oe.classData.dp__cell_disabled||void 0,"aria-label":(L=(xe=s(d))==null?void 0:xe.day)==null?void 0:L.call(xe,oe),tabindex:"0","data-test":oe.value,onClick:ia(ge=>me(ge,oe),["prevent"]),onTouchend:ge=>me(ge,oe,!1),onKeydown:ge=>s(ct)(ge,()=>B.$emit("select-date",oe)),onMouseenter:ge=>ue(oe,X,Y),onMouseleave:ge=>j(oe),onMousedown:ge=>Ze(oe),onMouseup:ne[0]||(ne[0]=ge=>q.value=!1)},[y("div",{class:he(["dp__cell_inner",oe.classData])},[B.$slots.day&&C.value(oe)?k(B.$slots,"day",{key:0,day:+oe.text,date:oe.value}):S("",!0),B.$slots.day?S("",!0):(i(),m(pe,{key:1},[Ne(ce(oe.text),1)],64)),oe.marker&&C.value(oe)?(i(),m(pe,{key:2},[B.$slots.marker?k(B.$slots,"marker",{key:0,marker:oe.marker,day:+oe.text,date:oe.value}):(i(),m("div",{key:1,class:he(_e.value(oe.marker)),style:mt(oe.marker.color?{backgroundColor:oe.marker.color}:{})},null,6))],64)):S("",!0),ke.value(oe.value)?(i(),m("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:K,class:"dp__marker_tooltip",style:mt(P.value)},[(ae=oe.marker)!=null&&ae.tooltip?(i(),m("div",{key:0,class:"dp__tooltip_content",onClick:Te},[(i(!0),m(pe,null,Me(oe.marker.tooltip,(ge,Ae)=>(i(),m("div",{key:Ae,class:"dp__tooltip_text"},[B.$slots["marker-tooltip"]?k(B.$slots,"marker-tooltip",{key:0,tooltip:ge,day:oe.value}):S("",!0),B.$slots["marker-tooltip"]?S("",!0):(i(),m(pe,{key:1},[y("div",{class:"dp__tooltip_mark",style:mt(ge.color?{backgroundColor:ge.color}:{})},null,4),y("div",null,ce(ge.text),1)],64))]))),128)),y("div",{class:"dp__arrow_bottom_tp",style:mt(se.value)},null,4)])):S("",!0)],4)):S("",!0)],2)],40,af)}),128))]))),128))],32)):S("",!0)]),_:3},8,["name","css"])],2)],2))}}),Ao=e=>Array.isArray(e),of=(e,a,t,n)=>{const o=A([]),r=A(new Date),l=A(),u=()=>de(e.isTextInputDate),{modelValue:d,calendars:b,time:f,today:p}=Na(e,a,u),{defaultedMultiCalendars:c,defaultedStartTime:g,defaultedRange:P,defaultedConfig:$,defaultedTz:R,propDates:W,defaultedMultiDates:U}=ze(e),{validateMonthYearInRange:V,isDisabled:K,isDateRangeAllowed:se,checkMinMaxRange:q}=ea(e),{updateTimeValues:I,getSetDateTime:te,setTime:G,assignStartTime:F,validateTime:ve,disabledTimesConfig:_e}=Er(e,f,d,n),ke=x(()=>O=>b.value[O]?b.value[O].month:0),H=x(()=>O=>b.value[O]?b.value[O].year:0),C=O=>!$.value.keepViewOnOffsetClick||O?!0:!l.value,M=(O,ie,E,re=!1)=>{var fe,ut;C(re)&&(b.value[O]||(b.value[O]={month:0,year:0}),b.value[O].month=Po(ie)?(fe=b.value[O])==null?void 0:fe.month:ie,b.value[O].year=Po(E)?(ut=b.value[O])==null?void 0:ut.year:E)},z=()=>{e.autoApply&&a("select-date")};Ue(()=>{e.shadow||(d.value||(B(),g.value&&F(g.value)),de(!0),e.focusStartDate&&e.startDate&&B())});const ue=x(()=>{var O;return(O=e.flow)!=null&&O.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),j=()=>{e.autoApply&&ue.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},de=(O=!1)=>{if(d.value)return Array.isArray(d.value)?(o.value=d.value,_(O)):T(d.value,O);if(c.value.count&&O&&!e.startDate)return D(Z(),O)},De=()=>Array.isArray(d.value)&&P.value.enabled?Se(d.value[0])===Se(d.value[1]??d.value[0]):!1,D=(O=new Date,ie=!1)=>{if((!c.value.count||!c.value.static||ie)&&M(0,Se(O),Pe(O)),c.value.count&&(!c.value.solo||!d.value||De()))for(let E=1;E{D(O),G("hours",Bt(O)),G("minutes",Gt(O)),G("seconds",ya(O)),c.value.count&&ie&&Ze()},v=O=>{if(c.value.count){if(c.value.solo)return 0;const ie=Se(O[0]),E=Se(O[1]);return Math.abs(E-ie){O[1]&&P.value.showLastInRange?D(O[v(O)],ie):D(O[0],ie);const E=(re,fe)=>[re(O[0]),O[1]?re(O[1]):f[fe][1]];G("hours",E(Bt,"hours")),G("minutes",E(Gt,"minutes")),G("seconds",E(ya,"seconds"))},Q=(O,ie)=>{if((P.value.enabled||e.weekPicker)&&!U.value.enabled)return N(O,ie);if(U.value.enabled&&ie){const E=O[O.length-1];return T(E,ie)}},_=O=>{const ie=d.value;Q(ie,O),c.value.count&&c.value.solo&&Ze()},me=(O,ie)=>{const E=He(Z(),{month:ke.value(ie),year:H.value(ie)}),re=O<0?bt(E,1):Et(E,1);V(Se(re),Pe(re),O<0,e.preventMinMaxNavigation)&&(M(ie,Se(re),Pe(re)),a("update-month-year",{instance:ie,month:Se(re),year:Pe(re)}),c.value.count&&!c.value.solo&&Te(ie),t())},Te=O=>{for(let ie=O-1;ie>=0;ie--){const E=Et(He(Z(),{month:ke.value(ie+1),year:H.value(ie+1)}),1);M(ie,Se(E),Pe(E))}for(let ie=O+1;ie<=c.value.count-1;ie++){const E=bt(He(Z(),{month:ke.value(ie-1),year:H.value(ie-1)}),1);M(ie,Se(E),Pe(E))}},Ze=()=>{if(Array.isArray(d.value)&&d.value.length===2){const O=Z(Z(d.value[1]?d.value[1]:bt(d.value[0],1))),[ie,E]=[Se(d.value[0]),Pe(d.value[0])],[re,fe]=[Se(d.value[1]),Pe(d.value[1])];(ie!==re||ie===re&&E!==fe)&&c.value.solo&&M(1,Se(O),Pe(O))}else d.value&&!Array.isArray(d.value)&&(M(0,Se(d.value),Pe(d.value)),D(Z()))},B=()=>{e.startDate&&(M(0,Se(Z(e.startDate)),Pe(Z(e.startDate))),c.value.count&&Te(0))},ne=(O,ie)=>{if(e.monthChangeOnScroll){const E=new Date().getTime()-r.value.getTime(),re=Math.abs(O.deltaY);let fe=500;re>1&&(fe=100),re>100&&(fe=0),E>fe&&(r.value=new Date,me(e.monthChangeOnScroll!=="inverse"?-O.deltaY:O.deltaY,ie))}},h=(O,ie,E=!1)=>{e.monthChangeOnArrows&&e.vertical===E&&X(O,ie)},X=(O,ie)=>{me(O==="right"?-1:1,ie)},oe=O=>{if(W.value.markers)return qa(O.value,W.value.markers)},Y=(O,ie)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[O==0,!0];case"fair":return[O==0||ie>O,!0];case"append":return[!1,!1];default:return[!1,!1]}},xe=(O,ie,E,re)=>{if(e.sixWeeks&&O.length<6){const fe=6-O.length,ut=(ie.getDay()+7-re)%7,wt=6-(E.getDay()+7-re)%7,[ta,Ba]=Y(ut,wt);for(let Da=1;Da<=fe;Da++)if(Ba?!!(Da%2)==ta:ta){const zt=O[0].days[0],vn=L(et(zt.value,-7),Se(ie));O.unshift({days:vn})}else{const zt=O[O.length-1],vn=zt.days[zt.days.length-1],Yr=L(et(vn.value,1),Se(ie));O.push({days:Yr})}}return O},L=(O,ie)=>{const E=Z(O),re=[];for(let fe=0;fe<7;fe++){const ut=et(E,fe),wt=Se(ut)!==ie;re.push({text:e.hideOffsetDates&&wt?"":ut.getDate(),value:ut,current:!wt,classData:{}})}return re},ae=(O,ie)=>{const E=[],re=new Date(ie,O),fe=new Date(ie,O+1,0),ut=e.weekStart,wt=Tt(re,{weekStartsOn:ut}),ta=Ba=>{const Da=L(Ba,O);if(E.push({days:Da}),!E[E.length-1].days.some(zt=>Ve(vt(zt.value),vt(fe)))){const zt=et(Ba,7);ta(zt)}};return ta(wt),xe(E,re,fe,ut)},ge=O=>{const ie=Kt(Z(O.value),f.hours,f.minutes,gt());a("date-update",ie),U.value.enabled?so(ie,d,U.value.limit):d.value=ie,n(),yt().then(()=>{j()})},Ae=O=>P.value.noDisabledRange?Mr(o.value[0],O).some(ie=>K(ie)):!1,kt=()=>{o.value=d.value?d.value.slice():[],o.value.length===2&&!(P.value.fixedStart||P.value.fixedEnd)&&(o.value=[])},$e=(O,ie)=>{const E=[Z(O.value),et(Z(O.value),+P.value.autoRange)];se(E)?(ie&&Ft(O.value),o.value=E):a("invalid-date",O.value)},Ft=O=>{const ie=Se(Z(O)),E=Pe(Z(O));if(M(0,ie,E),c.value.count>0)for(let re=1;re{if(Ae(O.value)||!q(O.value,d.value,P.value.fixedStart?0:1))return a("invalid-date",O.value);o.value=Nr(Z(O.value),d,a,P)},wa=(O,ie)=>{if(kt(),P.value.autoRange)return $e(O,ie);if(P.value.fixedStart||P.value.fixedEnd)return xt(O);o.value[0]?q(Z(O.value),d.value)&&!Ae(O.value)?qe(Z(O.value),Z(o.value[0]))?(o.value.unshift(Z(O.value)),a("range-end",o.value[0])):(o.value[1]=Z(O.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",O.value),a("invalid-date",O.value)):(o.value[0]=Z(O.value),a("range-start",o.value[0]))},gt=(O=!0)=>e.enableSeconds?Array.isArray(f.seconds)?O?f.seconds[0]:f.seconds[1]:f.seconds:0,$a=O=>{o.value[O]=Kt(o.value[O],f.hours[O],f.minutes[O],gt(O!==1))},on=()=>{var O,ie;o.value[0]&&o.value[1]&&+((O=o.value)==null?void 0:O[0])>+((ie=o.value)==null?void 0:ie[1])&&(o.value.reverse(),a("range-start",o.value[0]),a("range-end",o.value[1]))},Ra=()=>{o.value.length&&(o.value[0]&&!o.value[1]?$a(0):($a(0),$a(1),n()),on(),d.value=o.value.slice(),an(o.value,a,e.autoApply,e.modelAuto))},rn=(O,ie=!1)=>{if(K(O.value)||!O.current&&e.hideOffsetDates)return a("invalid-date",O.value);if(l.value=JSON.parse(JSON.stringify(O)),!P.value.enabled)return ge(O);Ao(f.hours)&&Ao(f.minutes)&&!U.value.enabled&&(wa(O,ie),Ra())},ln=(O,ie)=>{var E;M(O,ie.month,ie.year,!0),c.value.count&&!c.value.solo&&Te(O),a("update-month-year",{instance:O,month:ie.month,year:ie.year}),t(c.value.solo?O:void 0);const re=(E=e.flow)!=null&&E.length?e.flow[e.flowStep]:void 0;!ie.fromNav&&(re===it.month||re===it.year)&&n()},sn=(O,ie)=>{Lr({value:O,modelValue:d,range:P.value.enabled,timezone:ie?void 0:R.value.timezone}),z(),e.multiCalendars&&yt().then(()=>de(!0))},un=()=>{const O=ao(Z(),R.value);P.value.enabled?d.value&&Array.isArray(d.value)&&d.value[0]?d.value=qe(O,d.value[0])?[O,d.value[0]]:[d.value[0],O]:d.value=[O]:d.value=O,z()},dn=()=>{if(Array.isArray(d.value))if(U.value.enabled){const O=cn();d.value[d.value.length-1]=te(O)}else d.value=d.value.map((O,ie)=>O&&te(O,ie));else d.value=te(d.value);a("time-update")},cn=()=>Array.isArray(d.value)&&d.value.length?d.value[d.value.length-1]:null;return{calendars:b,modelValue:d,month:ke,year:H,time:f,disabledTimesConfig:_e,today:p,validateTime:ve,getCalendarDays:ae,getMarker:oe,handleScroll:ne,handleSwipe:X,handleArrow:h,selectDate:rn,updateMonthYear:ln,presetDate:sn,selectCurrentDate:un,updateTime:(O,ie=!0,E=!1)=>{I(O,ie,E,dn)},assignMonthAndYear:D}},rf={key:0},lf=J({__name:"DatePicker",props:{...Mt},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,{calendars:r,month:l,year:u,modelValue:d,time:b,disabledTimesConfig:f,today:p,validateTime:c,getCalendarDays:g,getMarker:P,handleArrow:$,handleScroll:R,handleSwipe:W,selectDate:U,updateMonthYear:V,presetDate:K,selectCurrentDate:se,updateTime:q,assignMonthAndYear:I}=of(o,n,De,D),te=Jt(),{setHoverDate:G,getDayClassData:F,clearHoverDate:ve}=Df(d,o),{defaultedMultiCalendars:_e}=ze(o),ke=A([]),H=A([]),C=A(null),M=_t(te,"calendar"),z=_t(te,"monthYear"),ue=_t(te,"timePicker"),j=ne=>{o.shadow||n("mount",ne)};Je(r,()=>{o.shadow||setTimeout(()=>{n("recalculate-position")},0)},{deep:!0}),Je(_e,(ne,h)=>{ne.count-h.count>0&&I()},{deep:!0});const de=x(()=>ne=>g(l.value(ne),u.value(ne)).map(h=>({...h,days:h.days.map(X=>(X.marker=P(X),X.classData=F(X),X))})));function De(ne){var h;ne||ne===0?(h=H.value[ne])==null||h.triggerTransition(l.value(ne),u.value(ne)):H.value.forEach((X,oe)=>X.triggerTransition(l.value(oe),u.value(oe)))}function D(){n("update-flow-step")}const T=(ne,h=!1)=>{U(ne,h),o.spaceConfirm&&n("select-date")},v=(ne,h,X=0)=>{var oe;(oe=ke.value[X])==null||oe.toggleMonthPicker(ne,h)},N=(ne,h,X=0)=>{var oe;(oe=ke.value[X])==null||oe.toggleYearPicker(ne,h)},Q=(ne,h,X)=>{var oe;(oe=C.value)==null||oe.toggleTimePicker(ne,h,X)},_=(ne,h)=>{var X;if(!o.range){const oe=d.value?d.value:p,Y=h?new Date(h):oe,xe=ne?Tt(Y,{weekStartsOn:1}):rr(Y,{weekStartsOn:1});U({value:xe,current:Se(Y)===l.value(0),text:"",classData:{}}),(X=document.getElementById(Vr(xe)))==null||X.focus()}},me=ne=>{var h;(h=ke.value[0])==null||h.handleMonthYearChange(ne,!0)},Te=ne=>{V(0,{month:l.value(0),year:u.value(0)+(ne?1:-1),fromNav:!0})},Ze=(ne,h)=>{ne===it.time&&n(`time-picker-${h?"open":"close"}`),n("overlay-toggle",{open:h,overlay:ne})},B=ne=>{n("overlay-toggle",{open:!1,overlay:ne}),n("focus-menu")};return a({clearHoverDate:ve,presetDate:K,selectCurrentDate:se,toggleMonthPicker:v,toggleYearPicker:N,toggleTimePicker:Q,handleArrow:$,updateMonthYear:V,getSidebarProps:()=>({modelValue:d,month:l,year:u,time:b,updateTime:q,updateMonthYear:V,selectDate:U,presetDate:K}),changeMonth:me,changeYear:Te,selectWeekDate:_}),(ne,h)=>(i(),m(pe,null,[ee(tn,{"multi-calendars":s(_e).count,collapse:ne.collapse},{default:w(({instance:X,index:oe})=>[ne.disableMonthYearSelect?S("",!0):(i(),le(Kp,Oe({key:0,ref:Y=>{Y&&(ke.value[oe]=Y)},months:s(kr)(ne.formatLocale,ne.locale,ne.monthNameFormat),years:s(no)(ne.yearRange,ne.locale,ne.reverseYears),month:s(l)(X),year:s(u)(X),instance:X},ne.$props,{onMount:h[0]||(h[0]=Y=>j(s(ra).header)),onResetFlow:h[1]||(h[1]=Y=>ne.$emit("reset-flow")),onUpdateMonthYear:Y=>s(V)(X,Y),onOverlayClosed:B,onOverlayOpened:h[2]||(h[2]=Y=>ne.$emit("overlay-toggle",{open:!0,overlay:Y}))}),at({_:2},[Me(s(z),(Y,xe)=>({name:Y,fn:w(L=>[k(ne.$slots,Y,ot(pt(L)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),ee(nf,Oe({ref:Y=>{Y&&(H.value[oe]=Y)},"mapped-dates":de.value(X),month:s(l)(X),year:s(u)(X),instance:X},ne.$props,{onSelectDate:Y=>s(U)(Y,X!==1),onHandleSpace:Y=>T(Y,X!==1),onSetHoverDate:h[3]||(h[3]=Y=>s(G)(Y)),onHandleScroll:Y=>s(R)(Y,X),onHandleSwipe:Y=>s(W)(Y,X),onMount:h[4]||(h[4]=Y=>j(s(ra).calendar)),onResetFlow:h[5]||(h[5]=Y=>ne.$emit("reset-flow")),onTooltipOpen:h[6]||(h[6]=Y=>ne.$emit("tooltip-open",Y)),onTooltipClose:h[7]||(h[7]=Y=>ne.$emit("tooltip-close",Y))}),at({_:2},[Me(s(M),(Y,xe)=>({name:Y,fn:w(L=>[k(ne.$slots,Y,ot(pt({...L})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),ne.enableTimePicker?(i(),m("div",rf,[ne.$slots["time-picker"]?k(ne.$slots,"time-picker",ot(Oe({key:0},{time:s(b),updateTime:s(q)}))):(i(),le(Br,Oe({key:1,ref_key:"timePickerRef",ref:C},ne.$props,{hours:s(b).hours,minutes:s(b).minutes,seconds:s(b).seconds,"internal-model-value":ne.internalModelValue,"disabled-times-config":s(f),"validate-time":s(c),onMount:h[8]||(h[8]=X=>j(s(ra).timePicker)),"onUpdate:hours":h[9]||(h[9]=X=>s(q)(X)),"onUpdate:minutes":h[10]||(h[10]=X=>s(q)(X,!1)),"onUpdate:seconds":h[11]||(h[11]=X=>s(q)(X,!1,!0)),onResetFlow:h[12]||(h[12]=X=>ne.$emit("reset-flow")),onOverlayClosed:h[13]||(h[13]=X=>Ze(X,!1)),onOverlayOpened:h[14]||(h[14]=X=>Ze(X,!0)),onAmPmChange:h[15]||(h[15]=X=>ne.$emit("am-pm-change",X))}),at({_:2},[Me(s(ue),(X,oe)=>({name:X,fn:w(Y=>[k(ne.$slots,X,ot(pt(Y)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):S("",!0)],64))}}),sf=(e,a)=>{const t=A(),{defaultedMultiCalendars:n,defaultedConfig:o,defaultedHighlight:r,defaultedRange:l,propDates:u,defaultedFilters:d,defaultedMultiDates:b}=ze(e),{modelValue:f,year:p,month:c,calendars:g}=Na(e,a),{isDisabled:P}=ea(e),{selectYear:$,groupedYears:R,showYearPicker:W,isDisabled:U,toggleYearPicker:V,handleYearSelect:K,handleYear:se}=Rr({modelValue:f,multiCalendars:n,range:l,highlight:r,calendars:g,propDates:u,month:c,year:p,filters:d,props:e,emit:a}),q=(C,M)=>[C,M].map(z=>$t(z,"MMMM",{locale:e.formatLocale})).join("-"),I=x(()=>C=>f.value?Array.isArray(f.value)?f.value.some(M=>wo(C,M)):wo(f.value,C):!1),te=C=>{if(l.value.enabled){if(Array.isArray(f.value)){const M=Ve(C,f.value[0])||Ve(C,f.value[1]);return Za(f.value,t.value,C)&&!M}return!1}return!1},G=(C,M)=>C.quarter===fo(M)&&C.year===Pe(M),F=C=>typeof r.value=="function"?r.value({quarter:fo(C),year:Pe(C)}):!!r.value.quarters.find(M=>G(M,C)),ve=x(()=>C=>{const M=He(new Date,{year:p.value(C)});return Bc({start:ha(M),end:Un(M)}).map(z=>{const ue=qt(z),j=yo(z),de=P(z),De=te(ue),D=F(ue);return{text:q(ue,j),value:ue,active:I.value(ue),highlighted:D,disabled:de,isBetween:De}})}),_e=C=>{so(C,f,b.value.limit),a("auto-apply",!0)},ke=C=>{f.value=io(f,C,a),an(f.value,a,e.autoApply,e.modelAuto)},H=C=>{f.value=C,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:n,groupedYears:R,year:p,isDisabled:U,quarters:ve,showYearPicker:W,modelValue:f,setHoverDate:C=>{t.value=C},selectYear:$,selectQuarter:(C,M,z)=>{if(!z)return g.value[M].month=Se(yo(C)),b.value.enabled?_e(C):l.value.enabled?ke(C):H(C)},toggleYearPicker:V,handleYearSelect:K,handleYear:se}},uf={class:"dp--quarter-items"},df=["data-test","disabled","onClick","onMouseover"],cf=J({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...Mt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=_t(r,"yearMode"),{defaultedMultiCalendars:u,defaultedConfig:d,groupedYears:b,year:f,isDisabled:p,quarters:c,modelValue:g,showYearPicker:P,setHoverDate:$,selectQuarter:R,toggleYearPicker:W,handleYearSelect:U,handleYear:V}=sf(o,n);return a({getSidebarProps:()=>({modelValue:g,year:f,selectQuarter:R,handleYearSelect:U,handleYear:V})}),(K,se)=>(i(),le(tn,{"multi-calendars":s(u).count,collapse:K.collapse,stretch:""},{default:w(({instance:q})=>[y("div",{class:"dp-quarter-picker-wrap",style:mt({minHeight:`${s(d).modeHeight}px`})},[K.$slots["top-extra"]?k(K.$slots,"top-extra",{key:0,value:K.internalModelValue}):S("",!0),y("div",null,[ee(Ir,Oe(K.$props,{items:s(b)(q),instance:q,"show-year-picker":s(P)[q],year:s(f)(q),"is-disabled":I=>s(p)(q,I),onHandleYear:I=>s(V)(q,I),onYearSelect:I=>s(U)(I,q),onToggleYearPicker:I=>s(W)(q,I==null?void 0:I.flow,I==null?void 0:I.show)}),at({_:2},[Me(s(l),(I,te)=>({name:I,fn:w(G=>[k(K.$slots,I,ot(pt(G)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),y("div",uf,[(i(!0),m(pe,null,Me(s(c)(q),(I,te)=>(i(),m("div",{key:te},[y("button",{type:"button",class:he(["dp--qr-btn",{"dp--qr-btn-active":I.active,"dp--qr-btn-between":I.isBetween,"dp--qr-btn-disabled":I.disabled,"dp--highlighted":I.highlighted}]),"data-test":I.value,disabled:I.disabled,onClick:G=>s(R)(I.value,q,I.disabled),onMouseover:G=>s($)(I.value)},[K.$slots.quarter?k(K.$slots,"quarter",{key:0,value:I.value,text:I.text}):(i(),m(pe,{key:1},[Ne(ce(I.text),1)],64))],42,df)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),vf=["id","tabindex","role","aria-label"],mf={key:0,class:"dp--menu-load-container"},pf=y("span",{class:"dp--menu-loader"},null,-1),ff=[pf],hf={key:1,class:"dp--menu-header"},yf={key:0,class:"dp__sidebar_left"},gf=["data-test","onClick","onKeydown"],_f={key:2,class:"dp__sidebar_right"},bf={key:3,class:"dp__action_extra"},Co=J({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...en,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=A(null),l=x(()=>{const{openOnTop:L,...ae}=o;return{...ae,flowStep:G.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:r.value}}),{setMenuFocused:u,setShiftKey:d,control:b}=Or(),f=Jt(),{defaultedTextInput:p,defaultedInline:c,defaultedConfig:g,defaultedUI:P}=ze(o),$=A(null),R=A(0),W=A(null),U=A(!1),V=A(null);Ue(()=>{if(!o.shadow){U.value=!0,K(),window.addEventListener("resize",K);const L=tt(r);if(L&&!p.value.enabled&&!c.value.enabled&&(u(!0),M()),L){const ae=ge=>{g.value.allowPreventDefault&&ge.preventDefault(),Qt(ge,g.value,!0)};L.addEventListener("pointerdown",ae),L.addEventListener("mousedown",ae)}}}),Xt(()=>{window.removeEventListener("resize",K)});const K=()=>{const L=tt(W);L&&(R.value=L.getBoundingClientRect().width)},{arrowRight:se,arrowLeft:q,arrowDown:I,arrowUp:te}=Zt(),{flowStep:G,updateFlowStep:F,childMount:ve,resetFlow:_e,handleFlow:ke}=Pf(o,n,V),H=x(()=>o.monthPicker?Dp:o.yearPicker?Tp:o.timePicker?zp:o.quarterPicker?cf:lf),C=x(()=>{var L;if(g.value.arrowLeft)return g.value.arrowLeft;const ae=(L=r.value)==null?void 0:L.getBoundingClientRect(),ge=o.getInputRect();return(ge==null?void 0:ge.width)<(R==null?void 0:R.value)&&(ge==null?void 0:ge.left)<=((ae==null?void 0:ae.left)??0)?`${(ge==null?void 0:ge.width)/2}px`:(ge==null?void 0:ge.right)>=((ae==null?void 0:ae.right)??0)&&(ge==null?void 0:ge.width)<(R==null?void 0:R.value)?`${(R==null?void 0:R.value)-(ge==null?void 0:ge.width)/2}px`:"50%"}),M=()=>{const L=tt(r);L&&L.focus({preventScroll:!0})},z=x(()=>{var L;return((L=V.value)==null?void 0:L.getSidebarProps())||{}}),ue=()=>{o.openOnTop&&n("recalculate-position")},j=_t(f,"action"),de=x(()=>o.monthPicker||o.yearPicker?_t(f,"monthYear"):o.timePicker?_t(f,"timePicker"):_t(f,"shared")),De=x(()=>o.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),D=x(()=>({dp__menu_disabled:o.disabled,dp__menu_readonly:o.readonly,"dp-menu-loading":o.loading})),T=x(()=>({dp__menu:!0,dp__menu_index:!c.value.enabled,dp__relative:c.value.enabled,...P.value.menu??{}})),v=L=>{Qt(L,g.value,!0)},N=()=>{o.escClose&&n("close-picker")},Q=L=>{if(o.arrowNavigation){if(L===dt.up)return te();if(L===dt.down)return I();if(L===dt.left)return q();if(L===dt.right)return se()}else L===dt.left||L===dt.up?B("handleArrow",dt.left,0,L===dt.up):B("handleArrow",dt.right,0,L===dt.down)},_=L=>{d(L.shiftKey),!o.disableMonthYearSelect&&L.code===Fe.tab&&L.target.classList.contains("dp__menu")&&b.value.shiftKeyInMenu&&(L.preventDefault(),Qt(L,g.value,!0),n("close-picker"))},me=()=>{M(),n("time-picker-close")},Te=L=>{var ae,ge,Ae;(ae=V.value)==null||ae.toggleTimePicker(!1,!1),(ge=V.value)==null||ge.toggleMonthPicker(!1,!1,L),(Ae=V.value)==null||Ae.toggleYearPicker(!1,!1,L)},Ze=(L,ae=0)=>{var ge,Ae,kt;return L==="month"?(ge=V.value)==null?void 0:ge.toggleMonthPicker(!1,!0,ae):L==="year"?(Ae=V.value)==null?void 0:Ae.toggleYearPicker(!1,!0,ae):L==="time"?(kt=V.value)==null?void 0:kt.toggleTimePicker(!0,!1):Te(ae)},B=(L,...ae)=>{var ge,Ae;(ge=V.value)!=null&&ge[L]&&((Ae=V.value)==null||Ae[L](...ae))},ne=()=>{B("selectCurrentDate")},h=(L,ae)=>{B("presetDate",L,ae)},X=()=>{B("clearHoverDate")},oe=(L,ae)=>{B("updateMonthYear",L,ae)},Y=(L,ae)=>{L.preventDefault(),Q(ae)},xe=L=>{var ae,ge,Ae;if(_(L),L.key===Fe.home||L.key===Fe.end)return B("selectWeekDate",L.key===Fe.home,L.target.getAttribute("id"));switch((L.key===Fe.pageUp||L.key===Fe.pageDown)&&(L.shiftKey?(B("changeYear",L.key===Fe.pageUp),(ae=In(r.value,"overlay-year"))==null||ae.focus()):(B("changeMonth",L.key===Fe.pageUp),(ge=In(r.value,L.key===Fe.pageUp?"action-prev":"action-next"))==null||ge.focus()),L.target.getAttribute("id")&&((Ae=r.value)==null||Ae.focus({preventScroll:!0}))),L.key){case Fe.esc:return N();case Fe.arrowLeft:return Y(L,dt.left);case Fe.arrowRight:return Y(L,dt.right);case Fe.arrowUp:return Y(L,dt.up);case Fe.arrowDown:return Y(L,dt.down);default:return}};return a({updateMonthYear:oe,switchView:Ze,handleFlow:ke}),(L,ae)=>{var ge,Ae,kt;return i(),m("div",{id:L.uid?`dp-menu-${L.uid}`:void 0,ref_key:"dpMenuRef",ref:r,tabindex:s(c).enabled?void 0:"0",role:s(c).enabled?void 0:"dialog","aria-label":(ge=L.ariaLabels)==null?void 0:ge.menu,class:he(T.value),style:mt({"--dp-arrow-left":C.value}),onMouseleave:X,onClick:v,onKeydown:xe},[(L.disabled||L.readonly)&&s(c).enabled||L.loading?(i(),m("div",{key:0,class:he(D.value)},[L.loading?(i(),m("div",mf,ff)):S("",!0)],2)):S("",!0),L.$slots["menu-header"]?(i(),m("div",hf,[k(L.$slots,"menu-header")])):S("",!0),!s(c).enabled&&!L.teleportCenter?(i(),m("div",{key:2,class:he(De.value)},null,2)):S("",!0),y("div",{ref_key:"innerMenuRef",ref:W,class:he({dp__menu_content_wrapper:((Ae=L.presetDates)==null?void 0:Ae.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((kt=L.presetDates)==null?void 0:kt.length)||!!L.$slots["left-sidebar"]||!!L.$slots["right-sidebar"])}),style:mt({"--dp-menu-width":`${R.value}px`})},[L.$slots["left-sidebar"]?(i(),m("div",yf,[k(L.$slots,"left-sidebar",ot(pt(z.value)))])):S("",!0),L.presetDates.length?(i(),m("div",{key:1,class:he({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(i(!0),m(pe,null,Me(L.presetDates,($e,Ft)=>(i(),m(pe,{key:Ft},[$e.slot?k(L.$slots,$e.slot,{key:0,presetDate:h,label:$e.label,value:$e.value}):(i(),m("button",{key:1,type:"button",style:mt($e.style||{}),class:he(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test":$e.testId??void 0,onClick:ia(xt=>h($e.value,$e.noTz),["prevent"]),onKeydown:xt=>s(ct)(xt,()=>h($e.value,$e.noTz),!0)},ce($e.label),47,gf))],64))),128))],2)):S("",!0),y("div",{ref_key:"calendarWrapperRef",ref:$,class:"dp__instance_calendar",role:"document"},[(i(),le(ft(H.value),Oe({ref_key:"dynCmpRef",ref:V},l.value,{"flow-step":s(G),onMount:s(ve),onUpdateFlowStep:s(F),onResetFlow:s(_e),onFocusMenu:M,onSelectDate:ae[0]||(ae[0]=$e=>L.$emit("select-date")),onDateUpdate:ae[1]||(ae[1]=$e=>L.$emit("date-update",$e)),onTooltipOpen:ae[2]||(ae[2]=$e=>L.$emit("tooltip-open",$e)),onTooltipClose:ae[3]||(ae[3]=$e=>L.$emit("tooltip-close",$e)),onAutoApply:ae[4]||(ae[4]=$e=>L.$emit("auto-apply",$e)),onRangeStart:ae[5]||(ae[5]=$e=>L.$emit("range-start",$e)),onRangeEnd:ae[6]||(ae[6]=$e=>L.$emit("range-end",$e)),onInvalidFixedRange:ae[7]||(ae[7]=$e=>L.$emit("invalid-fixed-range",$e)),onTimeUpdate:ae[8]||(ae[8]=$e=>L.$emit("time-update")),onAmPmChange:ae[9]||(ae[9]=$e=>L.$emit("am-pm-change",$e)),onTimePickerOpen:ae[10]||(ae[10]=$e=>L.$emit("time-picker-open",$e)),onTimePickerClose:me,onRecalculatePosition:ue,onUpdateMonthYear:ae[11]||(ae[11]=$e=>L.$emit("update-month-year",$e)),onAutoApplyInvalid:ae[12]||(ae[12]=$e=>L.$emit("auto-apply-invalid",$e)),onInvalidDate:ae[13]||(ae[13]=$e=>L.$emit("invalid-date",$e)),onOverlayToggle:ae[14]||(ae[14]=$e=>L.$emit("overlay-toggle",$e)),"onUpdate:internalModelValue":ae[15]||(ae[15]=$e=>L.$emit("update:internal-model-value",$e))}),at({_:2},[Me(de.value,($e,Ft)=>({name:$e,fn:w(xt=>[k(L.$slots,$e,ot(pt({...xt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),L.$slots["right-sidebar"]?(i(),m("div",_f,[k(L.$slots,"right-sidebar",ot(pt(z.value)))])):S("",!0),L.$slots["action-extra"]?(i(),m("div",bf,[L.$slots["action-extra"]?k(L.$slots,"action-extra",{key:0,selectCurrentDate:ne}):S("",!0)])):S("",!0)],6),!L.autoApply||s(g).keepActionRow?(i(),le(hp,Oe({key:3,"menu-mount":U.value},l.value,{"calendar-width":R.value,onClosePicker:ae[16]||(ae[16]=$e=>L.$emit("close-picker")),onSelectDate:ae[17]||(ae[17]=$e=>L.$emit("select-date")),onInvalidSelect:ae[18]||(ae[18]=$e=>L.$emit("invalid-select")),onSelectNow:ne}),at({_:2},[Me(s(j),($e,Ft)=>({name:$e,fn:w(xt=>[k(L.$slots,$e,ot(pt({...xt})))])}))]),1040,["menu-mount","calendar-width"])):S("",!0)],46,vf)}}});var ma=(e=>(e.center="center",e.left="left",e.right="right",e))(ma||{});const kf=({menuRef:e,menuRefInner:a,inputRef:t,pickerWrapperRef:n,inline:o,emit:r,props:l,slots:u})=>{const{defaultedConfig:d}=ze(l),b=A({}),f=A(!1),p=A({top:"0",left:"0"}),c=A(!1),g=Sa(l,"teleportCenter");Je(g,()=>{p.value=JSON.parse(JSON.stringify({})),se()});const P=M=>{if(l.teleport){const z=M.getBoundingClientRect();return{left:z.left+window.scrollX,top:z.top+window.scrollY}}return{top:0,left:0}},$=(M,z)=>{p.value.left=`${M+z-b.value.width}px`},R=M=>{p.value.left=`${M}px`},W=(M,z)=>{l.position===ma.left&&R(M),l.position===ma.right&&$(M,z),l.position===ma.center&&(p.value.left=`${M+z/2-b.value.width/2}px`)},U=M=>{const{width:z,height:ue}=M.getBoundingClientRect(),{top:j,left:de}=l.altPosition?l.altPosition(M):P(M);return{top:+j,left:+de,width:z,height:ue}},V=()=>{p.value.left="50%",p.value.top="50%",p.value.transform="translate(-50%, -50%)",p.value.position="fixed",delete p.value.opacity},K=()=>{const M=tt(t),{top:z,left:ue,transform:j}=l.altPosition(M);p.value={top:`${z}px`,left:`${ue}px`,transform:j??""}},se=(M=!0)=>{var z;if(!o.value.enabled){if(g.value)return V();if(l.altPosition!==null)return K();if(M){const ue=l.teleport?(z=a.value)==null?void 0:z.$el:e.value;ue&&(b.value=ue.getBoundingClientRect()),r("recalculate-position")}return _e()}},q=({inputEl:M,left:z,width:ue})=>{window.screen.width>768&&!f.value&&W(z,ue),G(M)},I=M=>{const{top:z,left:ue,height:j,width:de}=U(M);p.value.top=`${j+z+ +l.offset}px`,c.value=!1,f.value||(p.value.left=`${ue+de/2-b.value.width/2}px`),q({inputEl:M,left:ue,width:de})},te=M=>{const{top:z,left:ue,width:j}=U(M);p.value.top=`${z-+l.offset-b.value.height}px`,c.value=!0,q({inputEl:M,left:ue,width:j})},G=M=>{if(l.autoPosition){const{left:z,width:ue}=U(M),{left:j,right:de}=b.value;if(!f.value){if(Math.abs(j)!==Math.abs(de)){if(j<=0)return f.value=!0,R(z);if(de>=document.documentElement.clientWidth)return f.value=!0,$(z,ue)}return W(z,ue)}}},F=()=>{const M=tt(t);if(M){const{height:z}=b.value,{top:ue,height:j}=M.getBoundingClientRect(),de=window.innerHeight-ue-j,De=ue;return z<=de?na.bottom:z>de&&z<=De?na.top:de>=De?na.bottom:na.top}return na.bottom},ve=M=>F()===na.bottom?I(M):te(M),_e=()=>{const M=tt(t);if(M)return l.autoPosition?ve(M):I(M)},ke=function(M){if(M){const z=M.scrollHeight>M.clientHeight,ue=window.getComputedStyle(M).overflowY.indexOf("hidden")!==-1;return z&&!ue}return!0},H=function(M){return!M||M===document.body||M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ke(M)?M:H(M.assignedSlot&&d.value.shadowDom?M.assignedSlot.parentNode:M.parentNode)},C=M=>{if(M)switch(l.position){case ma.left:return{left:0,transform:"translateX(0)"};case ma.right:return{left:`${M.width}px`,transform:"translateX(-100%)"};default:return{left:`${M.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:c,menuStyle:p,xCorrect:f,setMenuPosition:se,getScrollableParent:H,shadowRender:(M,z)=>{var ue,j,de;const De=document.createElement("div"),D=(ue=tt(t))==null?void 0:ue.getBoundingClientRect();De.setAttribute("id","dp--temp-container");const T=(j=n.value)!=null&&j.clientWidth?n.value:document.body;T.append(De);const v=C(D),N=d.value.shadowDom?Object.keys(u).filter(_=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(_)):Object.keys(u),Q=tl(M,{...z,shadow:!0,style:{opacity:0,position:"absolute",...v}},Object.fromEntries(N.map(_=>[_,u[_]])));co(Q,De),b.value=(de=Q.el)==null?void 0:de.getBoundingClientRect(),co(null,De),T.removeChild(De)}}},Ut=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],wf=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],$f={all:()=>Ut,monthYear:()=>Ut.filter(e=>e.use.includes("month-year")),input:()=>wf,timePicker:()=>Ut.filter(e=>e.use.includes("time")),action:()=>Ut.filter(e=>e.use.includes("action")),calendar:()=>Ut.filter(e=>e.use.includes("calendar")),menu:()=>Ut.filter(e=>e.use.includes("menu")),shared:()=>Ut.filter(e=>e.use.includes("shared")),yearMode:()=>Ut.filter(e=>e.use.includes("year-mode"))},_t=(e,a,t)=>{const n=[];return $f[a]().forEach(o=>{e[o.name]&&n.push(o.name)}),t!=null&&t.length&&t.forEach(o=>{o.slot&&n.push(o.slot)}),n},La=e=>{const a=x(()=>n=>e.value?n?e.value.open:e.value.close:""),t=x(()=>n=>e.value?n?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:t}},Na=(e,a,t)=>{const{defaultedRange:n,defaultedTz:o}=ze(e),r=Z(ht(Z(),o.value.timezone)),l=A([{month:Se(r),year:Pe(r)}]),u=c=>{const g={hours:Bt(r),minutes:Gt(r),seconds:0};return n.value.enabled?[g[c],g[c]]:g[c]},d=Va({hours:u("hours"),minutes:u("minutes"),seconds:u("seconds")});Je(n,(c,g)=>{c.enabled!==g.enabled&&(d.hours=u("hours"),d.minutes=u("minutes"),d.seconds=u("seconds"))},{deep:!0});const b=x({get:()=>e.internalModelValue,set:c=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",c)}}),f=x(()=>c=>l.value[c]?l.value[c].month:0),p=x(()=>c=>l.value[c]?l.value[c].year:0);return Je(b,(c,g)=>{t&&JSON.stringify(c??{})!==JSON.stringify(g??{})&&t()},{deep:!0}),{calendars:l,time:d,modelValue:b,month:f,year:p,today:r}},Df=(e,a)=>{const{defaultedMultiCalendars:t,defaultedMultiDates:n,defaultedUI:o,defaultedHighlight:r,defaultedTz:l,propDates:u,defaultedRange:d}=ze(a),{isDisabled:b}=ea(a),f=A(null),p=A(ht(new Date,l.value.timezone)),c=v=>{!v.current&&a.hideOffsetDates||(f.value=v.value)},g=()=>{f.value=null},P=v=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&f.value?v?Ke(f.value,e.value[0]):qe(f.value,e.value[0]):!0,$=(v,N)=>{const Q=()=>e.value?N?e.value[0]||null:e.value[1]:null,_=e.value&&Array.isArray(e.value)?Q():null;return Ve(Z(v.value),_)},R=v=>{const N=Array.isArray(e.value)?e.value[0]:null;return v?!qe(f.value??null,N):!0},W=(v,N=!0)=>(d.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!v.current?!1:Ve(Z(v.value),e.value[N?0:1]):d.value.enabled?$(v,N)&&R(N)||Ve(v.value,Array.isArray(e.value)?e.value[0]:null)&&P(N):!1,U=(v,N)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const Q=Ve(v.value,f.value);return N?Ke(e.value[0],v.value)&&Q:qe(e.value[0],v.value)&&Q}return!1},V=v=>!e.value||a.hideOffsetDates&&!v.current?!1:d.value.enabled?a.modelAuto&&Array.isArray(e.value)?Ve(v.value,e.value[0]?e.value[0]:p.value):!1:n.value.enabled&&Array.isArray(e.value)?e.value.some(N=>Ve(N,v.value)):Ve(v.value,e.value?e.value:p.value),K=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!v.current)return!1;const N=et(f.value,+d.value.autoRange),Q=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ve(Q[1],Z(v.value)):Ve(N,Z(v.value))}return!1}return!1},se=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){const N=et(f.value,+d.value.autoRange);if(a.hideOffsetDates&&!v.current)return!1;const Q=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ke(v.value,Q[0])&&qe(v.value,Q[1]):Ke(v.value,f.value)&&qe(v.value,N)}return!1}return!1},q=v=>{if(d.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!v.current)return!1;const N=Nt(Z(f.value),a.weekStart);return a.weekPicker?Ve(N[0],v.value):Ve(f.value,v.value)}return!1}return!1},I=v=>Za(e.value,f.value,v.value),te=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,G=()=>a.modelAuto?wr(a.internalModelValue):!0,F=v=>{if(a.weekPicker)return!1;const N=d.value.enabled?!W(v)&&!W(v,!1):!0;return!b(v.value)&&!V(v)&&!(!v.current&&a.hideOffsetDates)&&N},ve=v=>d.value.enabled?a.modelAuto?te()&&V(v):!1:V(v),_e=v=>r.value?Hm(v.value,u.value.highlight):!1,ke=v=>{const N=b(v.value);return N&&(typeof r.value=="function"?!r.value(v.value,N):!r.value.options.highlightDisabled)},H=v=>{var N;return typeof r.value=="function"?r.value(v.value):(N=r.value.weekdays)==null?void 0:N.includes(v.value.getDay())},C=v=>(d.value.enabled||a.weekPicker)&&(!(t.value.count>0)||v.current)&&G()&&!(!v.current&&a.hideOffsetDates)&&!V(v)?I(v):!1,M=v=>{const{isRangeStart:N,isRangeEnd:Q}=de(v),_=d.value.enabled?N||Q:!1;return{dp__cell_offset:!v.current,dp__pointer:!a.disabled&&!(!v.current&&a.hideOffsetDates)&&!b(v.value),dp__cell_disabled:b(v.value),dp__cell_highlight:!ke(v)&&(_e(v)||H(v))&&!ve(v)&&!_&&!q(v)&&!(C(v)&&a.weekPicker)&&!Q,dp__cell_highlight_active:!ke(v)&&(_e(v)||H(v))&&ve(v),dp__today:!a.noToday&&Ve(v.value,p.value)&&v.current,"dp--past":qe(v.value,p.value),"dp--future":Ke(v.value,p.value)}},z=v=>({dp__active_date:ve(v),dp__date_hover:F(v)}),ue=v=>{if(e.value&&!Array.isArray(e.value)){const N=Nt(e.value,a.weekStart);return{...D(v),dp__range_start:Ve(N[0],v.value),dp__range_end:Ve(N[1],v.value),dp__range_between_week:Ke(v.value,N[0])&&qe(v.value,N[1])}}return{...D(v)}},j=v=>{if(e.value&&Array.isArray(e.value)){const N=Nt(e.value[0],a.weekStart),Q=e.value[1]?Nt(e.value[1],a.weekStart):[];return{...D(v),dp__range_start:Ve(N[0],v.value)||Ve(Q[0],v.value),dp__range_end:Ve(N[1],v.value)||Ve(Q[1],v.value),dp__range_between_week:Ke(v.value,N[0])&&qe(v.value,N[1])||Ke(v.value,Q[0])&&qe(v.value,Q[1]),dp__range_between:Ke(v.value,N[1])&&qe(v.value,Q[0])}}return{...D(v)}},de=v=>{const N=t.value.count>0?v.current&&W(v)&&G():W(v)&&G(),Q=t.value.count>0?v.current&&W(v,!1)&&G():W(v,!1)&&G();return{isRangeStart:N,isRangeEnd:Q}},De=v=>{const{isRangeStart:N,isRangeEnd:Q}=de(v);return{dp__range_start:N,dp__range_end:Q,dp__range_between:C(v),dp__date_hover:Ve(v.value,f.value)&&!N&&!Q&&!a.weekPicker,dp__date_hover_start:U(v,!0),dp__date_hover_end:U(v,!1)}},D=v=>({...De(v),dp__cell_auto_range:se(v),dp__cell_auto_range_start:q(v),dp__cell_auto_range_end:K(v)}),T=v=>d.value.enabled?d.value.autoRange?D(v):a.modelAuto?{...z(v),...De(v)}:a.weekPicker?j(v):De(v):a.weekPicker?ue(v):z(v);return{setHoverDate:c,clearHoverDate:g,getDayClassData:v=>a.hideOffsetDates&&!v.current?{}:{...M(v),...T(v),[a.dayClass?a.dayClass(v.value,a.internalModelValue):""]:!0,...o.value.calendarCell??{}}}},ea=e=>{const{defaultedFilters:a,defaultedRange:t,propDates:n,defaultedMultiDates:o}=ze(e),r=H=>n.value.disabledDates?typeof n.value.disabledDates=="function"?n.value.disabledDates(Z(H)):!!qa(H,n.value.disabledDates):!1,l=H=>n.value.maxDate?e.yearPicker?Pe(H)>Pe(n.value.maxDate):Ke(H,n.value.maxDate):!1,u=H=>n.value.minDate?e.yearPicker?Pe(H){const C=l(H),M=u(H),z=r(H),ue=a.value.months.map(T=>+T).includes(Se(H)),j=e.disabledWeekDays.length?e.disabledWeekDays.some(T=>+T===Sv(H)):!1,de=g(H),De=Pe(H),D=De<+e.yearRange[0]||De>+e.yearRange[1];return!(C||M||z||ue||D||j||de)},b=(H,C)=>qe(...jt(n.value.minDate,H,C))||Ve(...jt(n.value.minDate,H,C)),f=(H,C)=>Ke(...jt(n.value.maxDate,H,C))||Ve(...jt(n.value.maxDate,H,C)),p=(H,C,M)=>{let z=!1;return n.value.maxDate&&M&&f(H,C)&&(z=!0),n.value.minDate&&!M&&b(H,C)&&(z=!0),z},c=(H,C,M,z)=>{let ue=!1;return z?n.value.minDate&&n.value.maxDate?ue=p(H,C,M):(n.value.minDate&&b(H,C)||n.value.maxDate&&f(H,C))&&(ue=!0):ue=!0,ue},g=H=>Array.isArray(n.value.allowedDates)&&!n.value.allowedDates.length?!0:n.value.allowedDates?!qa(H,n.value.allowedDates):!1,P=H=>!d(H),$=H=>t.value.noDisabledRange?!or({start:H[0],end:H[1]}).some(C=>P(C)):!0,R=H=>{if(H){const C=Pe(H);return C>=+e.yearRange[0]&&C<=e.yearRange[1]}return!0},W=(H,C)=>!!(Array.isArray(H)&&H[C]&&(t.value.maxRange||t.value.minRange)&&R(H[C])),U=(H,C,M=0)=>{if(W(C,M)&&R(H)){const z=ar(H,C[M]),ue=Mr(C[M],H),j=ue.length===1?0:ue.filter(De=>P(De)).length,de=Math.abs(z)-(t.value.minMaxRawRange?0:j);if(t.value.minRange&&t.value.maxRange)return de>=+t.value.minRange&&de<=+t.value.maxRange;if(t.value.minRange)return de>=+t.value.minRange;if(t.value.maxRange)return de<=+t.value.maxRange}return!0},V=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,K=H=>Array.isArray(H)?[H[0]?gn(H[0]):null,H[1]?gn(H[1]):null]:gn(H),se=(H,C,M)=>H.find(z=>+z.hours===Bt(C)&&z.minutes==="*"?!0:+z.minutes===Gt(C)&&+z.hours===Bt(C))&&M,q=(H,C,M)=>{const[z,ue]=H,[j,de]=C;return!se(z,j,M)&&!se(ue,de,M)&&M},I=(H,C)=>{const M=Array.isArray(C)?C:[C];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?q(e.disabledTimes,M,H):!M.some(z=>se(e.disabledTimes,z,H)):H},te=(H,C)=>{const M=Array.isArray(C)?[la(C[0]),C[1]?la(C[1]):void 0]:la(C),z=!e.disabledTimes(M);return H&&z},G=(H,C)=>e.disabledTimes?Array.isArray(e.disabledTimes)?I(C,H):te(C,H):C,F=H=>{let C=!0;if(!H||V())return!0;const M=!n.value.minDate&&!n.value.maxDate?K(H):H;return(e.maxTime||n.value.maxDate)&&(C=Mo(e.maxTime,n.value.maxDate,"max",nt(M),C)),(e.minTime||n.value.minDate)&&(C=Mo(e.minTime,n.value.minDate,"min",nt(M),C)),G(H,C)},ve=H=>{if(!e.monthPicker)return!0;let C=!0;const M=Z(Pt(H));if(n.value.minDate&&n.value.maxDate){const z=Z(Pt(n.value.minDate)),ue=Z(Pt(n.value.maxDate));return Ke(M,z)&&qe(M,ue)||Ve(M,z)||Ve(M,ue)}if(n.value.minDate){const z=Z(Pt(n.value.minDate));C=Ke(M,z)||Ve(M,z)}if(n.value.maxDate){const z=Z(Pt(n.value.maxDate));C=qe(M,z)||Ve(M,z)}return C},_e=x(()=>H=>!e.enableTimePicker||e.ignoreTimeValidation?!0:F(H)),ke=x(()=>H=>e.monthPicker?Array.isArray(H)&&(t.value.enabled||o.value.enabled)?!H.filter(C=>!ve(C)).length:ve(H):!0);return{isDisabled:P,validateDate:d,validateMonthYearInRange:c,isDateRangeAllowed:$,checkMinMaxRange:U,isValidTime:F,isTimeValid:_e,isMonthValid:ke}},nn=()=>{const e=x(()=>(n,o)=>n==null?void 0:n.includes(o)),a=x(()=>(n,o)=>n.count?n.solo?!0:o===0:!0),t=x(()=>(n,o)=>n.count?n.solo?!0:o===n.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:t}},Pf=(e,a,t)=>{const n=A(0),o=Va({[ra.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[ra.calendar]:!1,[ra.header]:!1}),r=x(()=>e.monthPicker||e.timePicker),l=p=>{var c;if((c=e.flow)!=null&&c.length){if(!p&&r.value)return f();o[p]=!0,Object.keys(o).filter(g=>!o[g]).length||f()}},u=()=>{var p,c;(p=e.flow)!=null&&p.length&&n.value!==-1&&(n.value+=1,a("flow-step",n.value),f()),((c=e.flow)==null?void 0:c.length)===n.value&&yt().then(()=>d())},d=()=>{n.value=-1},b=(p,c,...g)=>{var P,$;e.flow[n.value]===p&&t.value&&(($=(P=t.value)[c])==null||$.call(P,...g))},f=(p=0)=>{p&&(n.value+=p),b(it.month,"toggleMonthPicker",!0),b(it.year,"toggleYearPicker",!0),b(it.calendar,"toggleTimePicker",!1,!0),b(it.time,"toggleTimePicker",!0,!0);const c=e.flow[n.value];(c===it.hours||c===it.minutes||c===it.seconds)&&b(c,"toggleTimePicker",!0,!0,c)};return{childMount:l,updateFlowStep:u,resetFlow:d,handleFlow:f,flowStep:n}},Tf={key:1,class:"dp__input_wrap"},Mf=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-disabled","aria-invalid"],xf={key:2,class:"dp--clear-btn"},Sf=["aria-label"],Af=J({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...en},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:a,emit:t}){const n=t,o=e,{defaultedTextInput:r,defaultedAriaLabels:l,defaultedInline:u,defaultedConfig:d,defaultedRange:b,defaultedMultiDates:f,defaultedUI:p,getDefaultPattern:c,getDefaultStartTime:g}=ze(o),{checkMinMaxRange:P}=ea(o),$=A(),R=A(null),W=A(!1),U=A(!1),V=A(!1),K=A(null),se=x(()=>({dp__pointer:!o.disabled&&!o.readonly&&!r.value.enabled,dp__disabled:o.disabled,dp__input_readonly:!r.value.enabled,dp__input:!0,dp__input_icon_pad:!o.hideInputIcon,dp__input_valid:typeof o.state=="boolean"?o.state:!1,dp__input_invalid:typeof o.state=="boolean"?!o.state:!1,dp__input_focus:W.value||o.isMenuOpen,dp__input_reg:!r.value.enabled,...p.value.input??{}})),q=()=>{n("set-input-date",null),o.clearable&&o.autoApply&&(n("set-empty-date"),$.value=null)},I=D=>{const T=g();return Fm(D,r.value.format??c(),T??xr({},o.enableSeconds),o.inputValue,V.value,o.formatLocale)},te=D=>{const{rangeSeparator:T}=r.value,[v,N]=D.split(`${T}`);if(v){const Q=I(v.trim()),_=N?I(N.trim()):null;if(ga(Q,_))return;const me=Q&&_?[Q,_]:[Q];P(_,me,0)&&($.value=Q?me:null)}},G=()=>{V.value=!0},F=D=>{if(b.value.enabled)te(D);else if(f.value.enabled){const T=D.split(";");$.value=T.map(v=>I(v.trim())).filter(v=>v)}else $.value=I(D)},ve=D=>{var T;const v=typeof D=="string"?D:(T=D.target)==null?void 0:T.value;v!==""?(r.value.openMenu&&!o.isMenuOpen&&n("open"),F(v),n("set-input-date",$.value)):q(),V.value=!1,n("update:input-value",v),n("text-input",D,$.value)},_e=D=>{r.value.enabled?(F(D.target.value),r.value.enterSubmit&&Ln($.value)&&o.inputValue!==""?(n("set-input-date",$.value,!0),$.value=null):r.value.enterSubmit&&o.inputValue===""&&($.value=null,n("clear"))):C(D)},ke=(D,T)=>{var v;if(K.value&&T&&!U.value)return D.preventDefault(),U.value=!0,(v=K.value)==null?void 0:v.focus();r.value.enabled&&r.value.tabSubmit&&F(D.target.value),r.value.tabSubmit&&Ln($.value)&&o.inputValue!==""?(n("set-input-date",$.value,!0,!0),$.value=null):r.value.tabSubmit&&o.inputValue===""&&($.value=null,n("clear",!0))},H=()=>{W.value=!0,n("focus"),yt().then(()=>{var D;r.value.enabled&&r.value.selectOnFocus&&((D=R.value)==null||D.select())})},C=D=>{if(D.preventDefault(),Qt(D,d.value,!0),r.value.enabled&&r.value.openMenu&&!u.value.input){if(r.value.openMenu==="open"&&!o.isMenuOpen)return n("open");if(r.value.openMenu==="toggle")return n("toggle")}else r.value.enabled||n("toggle")},M=()=>{n("real-blur"),W.value=!1,(!o.isMenuOpen||u.value.enabled&&u.value.input)&&n("blur"),o.autoApply&&r.value.enabled&&$.value&&!o.isMenuOpen&&(n("set-input-date",$.value),n("select-date"),$.value=null)},z=D=>{Qt(D,d.value,!0),n("clear")},ue=(D,T)=>{if(D.key==="Tab"&&ke(D,T),D.key==="Enter"&&_e(D),!r.value.enabled){if(D.code==="Tab")return;D.preventDefault()}},j=()=>{var D;(D=R.value)==null||D.focus({preventScroll:!0})},de=D=>{$.value=D},De=D=>{D.key===Fe.tab&&(U.value=!1,ke(D))};return a({focusInput:j,setParsedDate:de}),(D,T)=>{var v,N;return i(),m("div",{onClick:C},[D.$slots.trigger&&!D.$slots["dp-input"]&&!s(u).enabled?k(D.$slots,"trigger",{key:0}):S("",!0),!D.$slots.trigger&&(!s(u).enabled||s(u).input)?(i(),m("div",Tf,[D.$slots["dp-input"]&&!D.$slots.trigger&&(!s(u).enabled||s(u).enabled&&s(u).input)?k(D.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:ve,onEnter:_e,onTab:ke,onClear:z,onBlur:M,onKeypress:ue,onPaste:G,onFocus:H,openMenu:()=>D.$emit("open"),closeMenu:()=>D.$emit("close"),toggleMenu:()=>D.$emit("toggle")}):S("",!0),D.$slots["dp-input"]?S("",!0):(i(),m("input",{key:1,id:D.uid?`dp-input-${D.uid}`:void 0,ref_key:"inputRef",ref:R,"data-test":"dp-input",name:D.name,class:he(se.value),inputmode:s(r).enabled?"text":"none",placeholder:D.placeholder,disabled:D.disabled,readonly:D.readonly,required:D.required,value:e.inputValue,autocomplete:D.autocomplete,"aria-disabled":D.disabled||void 0,"aria-invalid":D.state===!1?!0:void 0,onInput:ve,onBlur:M,onFocus:H,onKeypress:ue,onKeydown:T[0]||(T[0]=Q=>ue(Q,!0)),onPaste:G},null,42,Mf)),y("div",{onClick:T[3]||(T[3]=Q=>n("toggle"))},[D.$slots["input-icon"]&&!D.hideInputIcon?(i(),m("span",{key:0,class:"dp__input_icon",onClick:T[1]||(T[1]=Q=>n("toggle"))},[k(D.$slots,"input-icon")])):S("",!0),!D.$slots["input-icon"]&&!D.hideInputIcon&&!D.$slots["dp-input"]?(i(),le(s(ka),{key:1,"aria-label":(v=s(l))==null?void 0:v.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:T[2]||(T[2]=Q=>n("toggle"))},null,8,["aria-label"])):S("",!0)]),D.$slots["clear-icon"]&&e.inputValue&&D.clearable&&!D.disabled&&!D.readonly?(i(),m("span",xf,[k(D.$slots,"clear-icon",{clear:z})])):S("",!0),D.clearable&&!D.$slots["clear-icon"]&&e.inputValue&&!D.disabled&&!D.readonly?(i(),m("button",{key:3,ref_key:"clearBtnRef",ref:K,"aria-label":(N=s(l))==null?void 0:N.clearInput,class:"dp--clear-btn",type:"button",onBlur:T[4]||(T[4]=Q=>U.value=!1),onKeydown:T[5]||(T[5]=Q=>s(ct)(Q,()=>z(Q),!0,De)),onClick:T[6]||(T[6]=ia(Q=>z(Q),["prevent"]))},[ee(s(br),{class:"dp__input_icons","data-test":"clear-icon"})],40,Sf)):S("",!0)])):S("",!0)])}}}),Cf=typeof window<"u"?window:void 0,Dn=()=>{},Vf=e=>ol()?(rl(e),!0):!1,Of=(e,a,t,n)=>{if(!e)return Dn;let o=Dn;const r=Je(()=>s(e),u=>{o(),u&&(u.addEventListener(a,t,n),o=()=>{u.removeEventListener(a,t,n),o=Dn})},{immediate:!0,flush:"post"}),l=()=>{r(),o()};return Vf(l),l},If=(e,a,t,n={})=>{const{window:o=Cf,event:r="pointerdown"}=n;return o?Of(o,r,l=>{const u=tt(e),d=tt(a);!u||!d||u===l.target||l.composedPath().includes(u)||l.composedPath().includes(d)||t(l)},{passive:!0}):void 0},Lf=J({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...en},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:a,emit:t}){const n=t,o=e,r=Jt(),l=A(!1),u=Sa(o,"modelValue"),d=Sa(o,"timezone"),b=A(null),f=A(null),p=A(null),c=A(!1),g=A(null),P=A(!1),$=A(!1),R=A(!1),W=A(!1),{setMenuFocused:U,setShiftKey:V}=Or(),{clearArrowNav:K}=Zt(),{validateDate:se,isValidTime:q}=ea(o),{defaultedTransitions:I,defaultedTextInput:te,defaultedInline:G,defaultedConfig:F,defaultedRange:ve,defaultedMultiDates:_e}=ze(o),{menuTransition:ke,showTransition:H}=La(I);Ue(()=>{N(o.modelValue),yt().then(()=>{if(!G.value.enabled){const E=De(g.value);E==null||E.addEventListener("scroll",oe),window==null||window.addEventListener("resize",Y)}}),G.value.enabled&&(l.value=!0),window==null||window.addEventListener("keyup",xe),window==null||window.addEventListener("keydown",L)}),Xt(()=>{if(!G.value.enabled){const E=De(g.value);E==null||E.removeEventListener("scroll",oe),window==null||window.removeEventListener("resize",Y)}window==null||window.removeEventListener("keyup",xe),window==null||window.removeEventListener("keydown",L)});const C=_t(r,"all",o.presetDates),M=_t(r,"input");Je([u,d],()=>{N(u.value)},{deep:!0});const{openOnTop:z,menuStyle:ue,xCorrect:j,setMenuPosition:de,getScrollableParent:De,shadowRender:D}=kf({menuRef:b,menuRefInner:f,inputRef:p,pickerWrapperRef:g,inline:G,emit:n,props:o,slots:r}),{inputValue:T,internalModelValue:v,parseExternalModelValue:N,emitModelValue:Q,formatInputValue:_,checkBeforeEmit:me}=vp(n,o,c),Te=x(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:G.value.enabled,"dp--flex-display-collapsed":R.value,dp__flex_display_with_input:G.value.input})),Ze=x(()=>o.dark?"dp__theme_dark":"dp__theme_light"),B=x(()=>o.teleport?{to:typeof o.teleport=="boolean"?"body":o.teleport,disabled:!o.teleport||G.value.enabled}:{}),ne=x(()=>({class:"dp__outer_menu_wrap"})),h=x(()=>G.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),X=()=>{var E,re;return(re=(E=p.value)==null?void 0:E.$el)==null?void 0:re.getBoundingClientRect()},oe=()=>{l.value&&(F.value.closeOnScroll?gt():de())},Y=()=>{var E;l.value&&de();const re=(E=f.value)==null?void 0:E.$el.getBoundingClientRect().width;R.value=document.body.offsetWidth<=re},xe=E=>{E.key==="Tab"&&!G.value.enabled&&!o.teleport&&F.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||gt()),$.value=E.shiftKey},L=E=>{$.value=E.shiftKey},ae=()=>{!o.disabled&&!o.readonly&&(D(Co,o),de(!1),l.value=!0,l.value&&n("open"),l.value||wa(),N(o.modelValue))},ge=()=>{var E;T.value="",wa(),(E=p.value)==null||E.setParsedDate(null),n("update:model-value",null),n("update:model-timezone-value",null),n("cleared"),F.value.closeOnClearValue&>()},Ae=()=>{const E=v.value;return!E||!Array.isArray(E)&&se(E)?!0:Array.isArray(E)?_e.value.enabled||E.length===2&&se(E[0])&&se(E[1])?!0:ve.value.partialRange&&!o.timePicker?se(E[0]):!1:!1},kt=()=>{me()&&Ae()?(Q(),gt()):n("invalid-select",v.value)},$e=E=>{Ft(),Q(),F.value.closeOnAutoApply&&!E&>()},Ft=()=>{p.value&&te.value.enabled&&p.value.setParsedDate(v.value)},xt=(E=!1)=>{o.autoApply&&q(v.value)&&Ae()&&(ve.value.enabled&&Array.isArray(v.value)?(ve.value.partialRange||v.value.length===2)&&$e(E):$e(E))},wa=()=>{te.value.enabled||(v.value=null)},gt=()=>{G.value.enabled||(l.value&&(l.value=!1,j.value=!1,U(!1),V(!1),K(),n("closed"),T.value&&N(u.value)),wa(),n("blur"))},$a=(E,re,fe=!1)=>{if(!E){v.value=null;return}const ut=Array.isArray(E)?!E.some(ta=>!se(ta)):se(E),wt=q(E);ut&&wt&&(W.value=!0,v.value=E,re&&(P.value=fe,kt(),n("text-submit")),yt().then(()=>{W.value=!1}))},on=()=>{o.autoApply&&q(v.value)&&Q(),Ft()},Ra=()=>l.value?gt():ae(),rn=E=>{v.value=E},ln=()=>{te.value.enabled&&(c.value=!0,_()),n("focus")},sn=()=>{if(te.value.enabled&&(c.value=!1,N(o.modelValue),P.value)){const E=Em(g.value,$.value);E==null||E.focus()}n("blur")},un=E=>{f.value&&f.value.updateMonthYear(0,{month:Do(E.month),year:Do(E.year)})},dn=E=>{N(E??o.modelValue)},cn=(E,re)=>{var fe;(fe=f.value)==null||fe.switchView(E,re)},O=E=>F.value.onClickOutside?F.value.onClickOutside(E):gt(),ie=(E=0)=>{var re;(re=f.value)==null||re.handleFlow(E)};return If(b,p,()=>O(Ae)),a({closeMenu:gt,selectDate:kt,clearValue:ge,openMenu:ae,onScroll:oe,formatInputValue:_,updateInternalModelValue:rn,setMonthYear:un,parseModel:dn,switchView:cn,toggleMenu:Ra,handleFlow:ie,dpWrapMenuRef:b}),(E,re)=>(i(),m("div",{ref_key:"pickerWrapperRef",ref:g,class:he(Te.value),"data-datepicker-instance":""},[ee(Af,Oe({ref_key:"inputRef",ref:p,"input-value":s(T),"onUpdate:inputValue":re[0]||(re[0]=fe=>uo(T)?T.value=fe:null),"is-menu-open":l.value},E.$props,{onClear:ge,onOpen:ae,onSetInputDate:$a,onSetEmptyDate:s(Q),onSelectDate:kt,onToggle:Ra,onClose:gt,onFocus:ln,onBlur:sn,onRealBlur:re[1]||(re[1]=fe=>c.value=!1),onTextInput:re[2]||(re[2]=fe=>E.$emit("text-input",fe))}),at({_:2},[Me(s(M),(fe,ut)=>({name:fe,fn:w(wt=>[k(E.$slots,fe,ot(pt(wt)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(i(),le(ft(E.teleport?el:"div"),ot(pt(B.value)),{default:w(()=>[ee(Ht,{name:s(ke)(s(z)),css:s(H)&&!s(G).enabled},{default:w(()=>[l.value?(i(),m("div",Oe({key:0,ref_key:"dpWrapMenuRef",ref:b},ne.value,{class:{"dp--menu-wrapper":!s(G).enabled},style:s(G).enabled?void 0:s(ue)}),[ee(Co,Oe({ref_key:"dpMenuRef",ref:f},E.$props,{"internal-model-value":s(v),"onUpdate:internalModelValue":re[3]||(re[3]=fe=>uo(v)?v.value=fe:null),class:{[Ze.value]:!0,"dp--menu-wrapper":E.teleport},"open-on-top":s(z),"no-overlay-focus":h.value,collapse:R.value,"get-input-rect":X,"is-text-input-date":W.value,onClosePicker:gt,onSelectDate:kt,onAutoApply:xt,onTimeUpdate:on,onFlowStep:re[4]||(re[4]=fe=>E.$emit("flow-step",fe)),onUpdateMonthYear:re[5]||(re[5]=fe=>E.$emit("update-month-year",fe)),onInvalidSelect:re[6]||(re[6]=fe=>E.$emit("invalid-select",s(v))),onAutoApplyInvalid:re[7]||(re[7]=fe=>E.$emit("invalid-select",fe)),onInvalidFixedRange:re[8]||(re[8]=fe=>E.$emit("invalid-fixed-range",fe)),onRecalculatePosition:s(de),onTooltipOpen:re[9]||(re[9]=fe=>E.$emit("tooltip-open",fe)),onTooltipClose:re[10]||(re[10]=fe=>E.$emit("tooltip-close",fe)),onTimePickerOpen:re[11]||(re[11]=fe=>E.$emit("time-picker-open",fe)),onTimePickerClose:re[12]||(re[12]=fe=>E.$emit("time-picker-close",fe)),onAmPmChange:re[13]||(re[13]=fe=>E.$emit("am-pm-change",fe)),onRangeStart:re[14]||(re[14]=fe=>E.$emit("range-start",fe)),onRangeEnd:re[15]||(re[15]=fe=>E.$emit("range-end",fe)),onDateUpdate:re[16]||(re[16]=fe=>E.$emit("date-update",fe)),onInvalidDate:re[17]||(re[17]=fe=>E.$emit("invalid-date",fe)),onOverlayToggle:re[18]||(re[18]=fe=>E.$emit("overlay-toggle",fe))}),at({_:2},[Me(s(C),(fe,ut)=>({name:fe,fn:w(wt=>[k(E.$slots,fe,ot(pt({...wt})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):S("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),Ie=(()=>{const e=Lf;return e.install=a=>{a.component("Vue3DatePicker",e)},e})(),Nf=Object.freeze(Object.defineProperty({__proto__:null,default:Ie},Symbol.toStringTag,{value:"Module"}));Object.entries(Nf).forEach(([e,a])=>{e!=="default"&&(Ie[e]=a)});const Rf={class:"demo-wrap"},Bf={class:"action-row"},Ef={class:"current-selection"},Hf=["onClick"],Yf=J({__name:"ActionRowSlotDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>$t(o,"dd.MM.yyyy, HH:mm");return(o,r)=>(i(),m("div",Rf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t)},{"action-row":w(({internalModelValue:l,selectDate:u})=>[y("div",Bf,[y("p",Ef,ce(n(l)),1),y("button",{class:"select-button",onClick:u},"Select Date",8,Hf)])]),_:1},8,["modelValue","dark"])]))}}),Ff={class:"demo-wrap"},zf=J({__name:"CustomCalendarDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(),n=o=>o.filter(r=>r.days.some(l=>l.text===15)).map(r=>({...r,days:r.days.map(l=>(l.classData["custom-class"]=!0,l))}));return(o,r)=>(i(),m("div",Ff,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},o.$props,{dark:s(a),calendar:n,placeholder:"Select Date"}),null,16,["modelValue","dark"])]))}}),Wf={class:"demo-wrap"},Uf=J({__name:"DarkDemo",props:["placeholder"],setup(e){const a=A(new Date);return(t,n)=>(i(),m("div",Wf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=o=>a.value=o),placeholder:e.placeholder,dark:""},null,8,["modelValue","placeholder"])]))}}),qf={class:"demo-wrap"},jf=J({__name:"DemoDayClass",setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>oa(o,et(He(new Date,{hours:0,minutes:0,seconds:0,milliseconds:0}),1))?"marked-cell":"";return(o,r)=>(i(),m("div",qf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"day-class":n},null,8,["modelValue","dark"])]))}}),Qf={class:"demo-wrap"},Kf=J({__name:"DemoHighlight",props:["disabled"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=e,o=x(()=>[et(new Date,1),et(new Date,2),et(new Date,3)]),r=x(()=>n.disabled?o.value:[]),l=x(()=>({dates:n.disabled?r.value:o.value,options:{highlightDisabled:!0}}));return(u,d)=>(i(),m("div",Qf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=b=>a.value=b),dark:s(t),highlight:l.value,"disabled-dates":r.value},null,8,["modelValue","dark","highlight","disabled-dates"])]))}}),Gf={class:"demo-wrap"},Xf=y("span",{class:"custom-marker"},null,-1),Jf=J({__name:"DemoMarkers",props:["useMarkerTooltipSlot","useMarkerSlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>[{date:et(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:et(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:et(new Date,3),type:"dot",color:"yellow"}]);return(o,r)=>(i(),m("div",Gf,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),markers:n.value},at({_:2},[e.useMarkerTooltipSlot?{name:"marker-tooltip",fn:w(({day:l})=>[y("div",null,"Custom content on "+ce(l),1)]),key:"0"}:void 0,e.useMarkerSlot?{name:"marker",fn:w(({day:l})=>[Xf]),key:"1"}:void 0]),1032,["modelValue","dark","markers"])]))}}),Zf=y("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1),eh=["value"],th=y("img",{class:"input-slot-image",src:Lt,alt:"logo"},null,-1),ah=["onClick"],nh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),oh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),rh=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),lh=y("img",{class:"slot-icon-m",src:Lt,alt:"logo"},null,-1),sh=y("img",{class:"slot-icon-m",src:Lt,alt:"logo"},null,-1),ih=y("img",{class:"slot-icon",src:Lt,alt:"logo"},null,-1),uh={key:0,class:"slot-icon",src:Lt,alt:"logo"},dh=["onClick"],ch=y("img",{class:"slot-icon centered",src:Lt},null,-1),vh=[ch],mh=["onClick"],ph={class:"time-picker-overlay"},fh=["value","onChange"],hh=["value"],yh=["value","onChange"],gh=["value"],_h=y("div",{class:"dp-sidebar"},"Custom content",-1),bh=y("div",{class:"dp-sidebar"},"Custom content",-1),kh={class:"overlay-header"},wh=["onClick"],$h={class:"overlay-header"},Dh=["onClick"],Ph={key:0},Th={key:1},Mh=y("div",{class:"my-header"},"My custom header",-1),xh=y("div",{class:"overlay-header"},[y("span",null,"Hours")],-1),Sh=y("div",{class:"overlay-header"},[y("span",null,"Minutes")],-1),Ah=y("div",{class:"overlay-header"},[y("span",null,"Seconds")],-1),Ch=y("span",{class:"my-icon"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1),Vh=y("span",{class:"my-icon"},[y("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])],-1),Oh=J({__name:"DemoSlots",props:["placeholder","useTriggerSlot","position","useInputIconSlot","useClearIconSlot","useClockIconSlot","useArrowLeftSlot","useArrowRightSlot","useArrowUpSlot","useArrowDownSlot","useCalendarIconSlot","useDaySlot","useActionButtonSlot","useActionPreviewSlot","useHoursSlot","useMinutesSlot","useMonthSlot","useYearSlot","useHoursOverlaySlot","useMinutesOverlaySlot","useMonthOverlaySlot","useYearOverlaySlot","useDpInputSlot","useCalendarHeaderSlot","useActionExtraSlot","is24","useAmPmButtonSlot","useTimePickerOverlay","useLeftSidebarSlot","useRightSidebarSlot","useMonthOverlayHeaderSlot","useYearOverlayHeaderSlot","useQuarterSlot","useTopExtraSlot","useHoursOverlayHeaderSlot","useMinutesOverlayHeaderSlot","useSecondsOverlayHeaderSlot","useTpInlineArrowUp","useTpInlineArrowDown","useMenuHeaderSlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=A(null),o=x(()=>new Date().getDate()+1),r=x(()=>f=>`Selected ${new Date(f).getDate()}`),l=x(()=>{const f=[];for(let p=0;p<24;p++)f.push({text:p<10?`0${p}`:p,value:p});return f}),u=x(()=>{const f=[];for(let p=0;p<60;p++)f.push({text:p<10?`0${p}`:p,value:p});return f}),d=()=>{n.value&&n.value.selectDate()},b=f=>$t(f,"QQQ");return(f,p)=>(i(),m("div",{class:he(["demo-wrap",e.useDpInputSlot||e.useTriggerSlot?"demo-wrap-inline":""])},[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":p[0]||(p[0]=c=>a.value=c),placeholder:e.placeholder,dark:s(t),position:e.position,"quarter-picker":e.useQuarterSlot,"enable-seconds":!!e.useSecondsOverlayHeaderSlot,"time-picker-inline":e.useTpInlineArrowUp||e.useTpInlineArrowDown,is24:e.is24,ref_key:"dpSlotDemo",ref:n},at({_:2},[e.useTriggerSlot?{name:"trigger",fn:w(()=>[Zf]),key:"0"}:void 0,e.useDpInputSlot?{name:"dp-input",fn:w(({value:c})=>[y("input",{class:"input-class",type:"text",value:c},null,8,eh)]),key:"1"}:void 0,e.useInputIconSlot?{name:"input-icon",fn:w(()=>[th]),key:"2"}:void 0,e.useClearIconSlot?{name:"clear-icon",fn:w(({clear:c})=>[y("img",{class:"input-slot-image-clear",src:Lt,onClick:c,alt:"logo"},null,8,ah)]),key:"3"}:void 0,e.useClockIconSlot?{name:"clock-icon",fn:w(()=>[nh]),key:"4"}:void 0,e.useArrowLeftSlot?{name:"arrow-left",fn:w(()=>[oh]),key:"5"}:void 0,e.useArrowRightSlot?{name:"arrow-right",fn:w(()=>[rh]),key:"6"}:void 0,e.useArrowUpSlot?{name:"arrow-up",fn:w(()=>[lh]),key:"7"}:void 0,e.useArrowDownSlot?{name:"arrow-down",fn:w(()=>[sh]),key:"8"}:void 0,e.useCalendarIconSlot?{name:"calendar-icon",fn:w(()=>[ih]),key:"9"}:void 0,e.useDaySlot?{name:"day",fn:w(({day:c})=>[c===o.value?(i(),m("img",uh)):(i(),m(pe,{key:1},[Ne(ce(c),1)],64))]),key:"10"}:void 0,e.useActionButtonSlot?{name:"action-buttons",fn:w(()=>[y("p",{class:"custom-select",onClick:d},"Select")]),key:"11"}:void 0,e.useActionPreviewSlot?{name:"action-preview",fn:w(({value:c})=>[Ne(ce(r.value(c)),1)]),key:"12"}:void 0,e.useHoursSlot?{name:"hours",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"13"}:void 0,e.useMinutesSlot?{name:"minutes",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"14"}:void 0,e.useMonthSlot?{name:"month",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"15"}:void 0,e.useYearSlot?{name:"year",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"16"}:void 0,e.useHoursOverlaySlot?{name:"hours-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"17"}:void 0,e.useMinutesOverlaySlot?{name:"minutes-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"18"}:void 0,e.useMonthOverlaySlot?{name:"month-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"19"}:void 0,e.useYearOverlaySlot?{name:"year-overlay-value",fn:w(({value:c})=>[Ne(ce(c),1)]),key:"20"}:void 0,e.useCalendarHeaderSlot?{name:"calendar-header",fn:w(({index:c,day:g})=>[y("div",{class:he(c===5||c===6?"red-color":"")},ce(g),3)]),key:"21"}:void 0,e.useActionExtraSlot?{name:"action-extra",fn:w(({selectCurrentDate:c})=>[y("span",{onClick:g=>c(),title:"Select current date",class:"pointer"},vh,8,dh)]),key:"22"}:void 0,e.useAmPmButtonSlot?{name:"am-pm-button",fn:w(({toggle:c,value:g})=>[y("button",{onClick:c},ce(g),9,mh)]),key:"23"}:void 0,e.useTimePickerOverlay?{name:"time-picker-overlay",fn:w(({hours:c,minutes:g,setHours:P,setMinutes:$})=>[y("div",ph,[y("select",{class:"select-input",value:c,onChange:R=>P(+R.target.value)},[(i(!0),m(pe,null,Me(l.value,R=>(i(),m("option",{key:R.value,value:R.value},ce(R.text),9,hh))),128))],40,fh),y("select",{class:"select-input",value:g,onChange:R=>$(+R.target.value)},[(i(!0),m(pe,null,Me(u.value,R=>(i(),m("option",{key:R.value,value:R.value},ce(R.text),9,gh))),128))],40,yh)])]),key:"24"}:void 0,e.useLeftSidebarSlot?{name:"left-sidebar",fn:w(()=>[_h]),key:"25"}:void 0,e.useRightSidebarSlot?{name:"right-sidebar",fn:w(()=>[bh]),key:"26"}:void 0,e.useMonthOverlayHeaderSlot?{name:"month-overlay-header",fn:w(({toggle:c})=>[y("div",kh,[y("span",{onClick:c,class:"pointer"},ce("< Go back"),8,wh)])]),key:"27"}:void 0,e.useYearOverlayHeaderSlot?{name:"year-overlay-header",fn:w(({toggle:c})=>[y("div",$h,[y("span",{onClick:c,class:"pointer"},ce("< Go back"),8,Dh)])]),key:"28"}:void 0,e.useQuarterSlot?{name:"quarter",fn:w(({value:c})=>[y("span",null,ce(b(c)),1)]),key:"29"}:void 0,e.useTopExtraSlot?{name:"top-extra",fn:w(({value:c})=>[c?(i(),m("span",Ph,"Selected date: "+ce(c.getDate()),1)):(i(),m("span",Th,"No date selected"))]),key:"30"}:void 0,e.useMenuHeaderSlot?{name:"menu-header",fn:w(()=>[Mh]),key:"31"}:void 0,e.useHoursOverlayHeaderSlot?{name:"hours-overlay-header",fn:w(()=>[xh]),key:"32"}:void 0,e.useMinutesOverlayHeaderSlot?{name:"minutes-overlay-header",fn:w(()=>[Sh]),key:"33"}:void 0,e.useSecondsOverlayHeaderSlot?{name:"seconds-overlay-header",fn:w(()=>[Ah]),key:"34"}:void 0,e.useTpInlineArrowUp?{name:"tp-inline-arrow-up",fn:w(()=>[Ch]),key:"35"}:void 0,e.useTpInlineArrowDown?{name:"tp-inline-arrow-down",fn:w(()=>[Vh]),key:"36"}:void 0]),1032,["modelValue","placeholder","dark","position","quarter-picker","enable-seconds","time-picker-inline","is24"])],2))}}),Ih={class:"demo-wrap"},Lh=J({__name:"DisabledDatesDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const o=new Date,r=new Date(o);r.setDate(r.getDate()+1);const l=new Date(r);return l.setDate(r.getDate()+1),[r,l]});return(o,r)=>(i(),m("div",Ih,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),"disabled-dates":n.value},null,8,["modelValue","dark","disabled-dates"])]))}}),Nh={class:"demo-wrap"},Rh=J({__name:"DisabledRangeDateDemo",props:{},setup(e){const{isDark:a}=Le(),t=A([]),n=[fr(new Date,1),new Date,et(new Date,1)];return(o,r)=>(i(),m("div",Nh,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},o.$props,{dark:s(a),range:{noDisabledRange:!0},"disabled-dates":n,placeholder:"Select range"}),null,16,["modelValue","dark"])]))}}),Bh={class:"demo-wrap"},Eh={class:"buttons-wrap"},Hh=["onClick"],Yh=J({__name:"DisabledTimesDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(null),n=["single","range"],o=A("single"),r=x(()=>o.value==="range"),l=[{hours:15,minutes:"*"},{hours:16,minutes:15},{hours:16,minutes:20},{hours:17,minutes:30}],u=[[{hours:12,minutes:"*"},{hours:9,minutes:10}],l],d=b=>{t.value=null,o.value=b};return(b,f)=>(i(),m("div",Bh,[y("div",Eh,[(i(),m(pe,null,Me(n,(p,c)=>y("button",{class:he(["change-btn",{"btn-active":p===o.value}]),key:c,onClick:g=>d(p)},ce(p),11,Hh)),64))]),ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":f[0]||(f[0]=p=>t.value=p),placeholder:"Select date"},b.$props,{dark:s(a),"disabled-times":r.value?u:l,range:r.value}),null,16,["modelValue","dark","disabled-times","range"])]))}}),Fh=we(Yh,[["__scopeId","data-v-6bf8e806"]]),zh={class:"demo-wrap"},Wh={key:0},Uh=J({__name:"DisplayModelDemo",props:["modelType","modelAuto","range"],setup(e){const a=A(),{isDark:t}=Le();return(n,o)=>(i(),m("div",zh,[ee(s(Ie),Oe({modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t)},n.$props,{placeholder:"Select Date"}),null,16,["modelValue","dark"]),a.value?(i(),m("p",Wh,"Selected date: "+ce(a.value),1)):S("",!0)]))}}),qh={class:"demo-wrap"},jh=J({__name:"EmitTimezone",setup(e){const{isDark:a}=Le(),t=A(),n=A(),o=r=>{n.value=r};return(r,l)=>(i(),m("div",qh,[t.value&&n.value?(i(),m(pe,{key:0},[y("div",null,"Local timezone date: "+ce(t.value),1),y("div",null,"UTC date: "+ce(n.value),1)],64)):S("",!0),ee(s(Ie),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=u=>t.value=u),placeholder:"Select date","emit-timezone":"UTC",dark:s(a),"onUpdate:modelTimezoneValue":o},null,8,["modelValue","dark"])]))}}),Qh={class:"demo-wrap"},Kh=J({__name:"EmptyDemo",props:["placeholder","noToday","minTime","maxTime","startDate","startTime","disabledWeekDays","allowedDates","actionRow","nowButtonLabel","multiDates","flow","partialFlow","range","multiDatesLimit","weekPicker","monthPicker","timePicker","disableTimeRangeValidation","maxDate","ignoreTimeValidation","autoApply"],setup(e){const a=e,t=A(),{isDark:n}=Le(),o=x(()=>{if(a.allowedDates)return[new Date,new Date(new Date().setDate(new Date().getDate()+1))]});return(r,l)=>(i(),m("div",Qh,[ee(s(Ie),{modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=u=>t.value=u),placeholder:e.placeholder,dark:s(n),"no-today":e.noToday,"min-time":e.minTime,"max-time":e.maxTime,"start-date":e.startDate,"start-time":e.startTime,"disabled-week-days":e.disabledWeekDays,"allowed-dates":o.value,"action-row":e.actionRow,"now-button-label":e.nowButtonLabel,"multi-dates":e.multiDates,range:e.range,flow:e.flow,"multi-dates-limit":e.multiDatesLimit,"week-picker":e.weekPicker,"month-picker":e.monthPicker,"time-picker":e.timePicker,"disable-time-range-validation":e.disableTimeRangeValidation,"max-date":e.maxDate,"ignore-time-validation":e.ignoreTimeValidation,"partial-flow":e.partialFlow,"auto-apply":e.autoApply},null,8,["modelValue","placeholder","dark","no-today","min-time","max-time","start-date","start-time","disabled-week-days","allowed-dates","action-row","now-button-label","multi-dates","range","flow","multi-dates-limit","week-picker","month-picker","time-picker","disable-time-range-validation","max-date","ignore-time-validation","partial-flow","auto-apply"])]))}}),Gh={class:"demo-wrap"},Xh=J({__name:"FiltersDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const o=new Date;return{months:Array.from(Array(3).keys()).map(r=>Se(bt(o,r+1)))}});return(o,r)=>(i(),m("div",Gh,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date",filters:n.value},null,8,["modelValue","dark","filters"])]))}}),Jh={class:"demo-wrap"},Zh=J({__name:"FormatDemo",props:["placeholder"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,u=o.getFullYear();return`Selected date is ${r}/${l}/${u}`};return(o,r)=>(i(),m("div",Jh,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:e.placeholder,format:n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),e0={class:"demo-wrap"},t0=J({__name:"GlobalDemo",props:["uid","is24","enableTimePicker","locale","cancelText","selectText","range","position","weekNumbers","placeholder","hoursIncrement","minutesIncrement","hoursGridIncrement","minutesGridIncrement","minDate","maxDate","minTime","maxTime","weekStart","disabled","readonly","hideInputIcon","state","clearable","autoApply","filters","disableMonthYearSelect","yearRange","disabledDates","inline","weekNumName","autoPosition","monthPicker","timePicker","teleport","startDate","startTime","monthNameFormat","hideOffsetDates","noHoursOverlay","noMinutesOverlay","altPosition","multiCalendars","monthChangeOnScroll","transitions","enableSeconds","secondsIncrement","secondsGridIncrement","noSecondsOverlay","escClose","spaceConfirm","monthChangeOnArrows","name","autocomplete","preventMinMaxNavigation","reverseYears","vertical","arrowNavigation","textInput","yearPicker","multiStatic","dayNames","offset","teleportCenter","hideNavigation","sixWeeks","actionRow","disableYearSelect","focusStartDate","timePickerInline","yearFirst","loading","enableMinutes"],setup(e){const a=e,t=A(null),n=A(!1),{isDark:o}=Le(),r=x({get:()=>{if(n.value||a.maxTime||a.minTime||a.startDate&&!a.focusStartDate||a.startTime)return null;if(t.value)return t.value;if(a.monthPicker)return{month:new Date().getMonth(),year:new Date().getFullYear()};if(a.yearPicker)return new Date().getFullYear();if(a.timePicker){const l=new Date;return{hours:l.getHours(),minutes:l.getMinutes()}}if(a.range){const l=new Date,u=new Date(new Date().setDate(l.getDate()+7));return[l,u]}return new Date},set:l=>{n.value=!l,t.value=l}});return(l,u)=>(i(),m("div",e0,[ee(s(Ie),Oe({modelValue:r.value,"onUpdate:modelValue":u[0]||(u[0]=d=>r.value=d)},l.$props,{dark:s(o)}),null,16,["modelValue","dark"])]))}}),a0={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},n0=(e,a,t)=>{t=t||{};let n;const o=a0[e];return typeof o=="string"?n=o:a===1?t.addSuffix&&o.oneWithSuffix?n=o.oneWithSuffix:n=o.one:t.addSuffix&&o.otherWithSuffix?n=o.otherWithSuffix.replace("{{count}}",String(a)):n=o.other.replace("{{count}}",String(a)),t.addSuffix?t.comparison&&t.comparison>0?n+"後":n+"前":n},o0={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},r0={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},l0={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},s0={date:pa({formats:o0,defaultWidth:"full"}),time:pa({formats:r0,defaultWidth:"full"}),dateTime:pa({formats:l0,defaultWidth:"full"})},i0={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},u0=(e,a,t,n)=>i0[e],d0={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},c0={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},v0={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},m0={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},p0={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},f0={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},h0=(e,a)=>{const t=Number(e);switch(String(a==null?void 0:a.unit)){case"year":return`${t}年`;case"quarter":return`第${t}四半期`;case"month":return`${t}月`;case"week":return`第${t}週`;case"date":return`${t}日`;case"hour":return`${t}時`;case"minute":return`${t}分`;case"second":return`${t}秒`;default:return`${t}`}},y0={ordinalNumber:h0,era:St({values:d0,defaultWidth:"wide"}),quarter:St({values:c0,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:St({values:v0,defaultWidth:"wide"}),day:St({values:m0,defaultWidth:"wide"}),dayPeriod:St({values:p0,defaultWidth:"wide",formattingValues:f0,defaultFormattingWidth:"wide"})},g0=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,_0=/\d+/i,b0={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},k0={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},w0={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},$0={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},D0={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},P0={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},T0={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},M0={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},x0={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},S0={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},A0={ordinalNumber:lr({matchPattern:g0,parsePattern:_0,valueCallback:function(e){return parseInt(e,10)}}),era:At({matchPatterns:b0,defaultMatchWidth:"wide",parsePatterns:k0,defaultParseWidth:"any"}),quarter:At({matchPatterns:w0,defaultMatchWidth:"wide",parsePatterns:$0,defaultParseWidth:"any",valueCallback:e=>e+1}),month:At({matchPatterns:D0,defaultMatchWidth:"wide",parsePatterns:P0,defaultParseWidth:"any"}),day:At({matchPatterns:T0,defaultMatchWidth:"wide",parsePatterns:M0,defaultParseWidth:"any"}),dayPeriod:At({matchPatterns:x0,defaultMatchWidth:"any",parsePatterns:S0,defaultParseWidth:"any"})},C0={code:"ja",formatDistance:n0,formatLong:s0,formatRelative:u0,localize:y0,match:A0,options:{weekStartsOn:0,firstWeekContainsDate:1}},V0={class:"demo-wrap"},O0=J({__name:"LocalizedOutput",setup(e){const a=A(new Date),{isDark:t}=Le();return(n,o)=>(i(),m("div",V0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),placeholder:"Select Date","format-locale":s(C0),format:"E"},null,8,["modelValue","dark","format-locale"])]))}}),I0={class:"demo-wrap"},L0=J({__name:"MinMaxDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>Et(new Date(Pe(new Date),Se(new Date)),2)),o=x(()=>bt(new Date(Pe(new Date),Se(new Date)),2));return(r,l)=>(i(),m("div",I0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),placeholder:"Select Date",dark:s(t),"min-date":n.value,"max-date":o.value,"prevent-min-max-navigation":""},null,8,["modelValue","dark","min-date","max-date"])]))}}),N0={class:"demo-wrap"},R0=J({__name:"MonthPickerDemo",props:{autoApplyMonth:{type:Boolean,default:!0}},setup(e){const{isDark:a}=Le(),t=A({month:new Date().getMonth(),year:new Date().getFullYear()});return(n,o)=>(i(),m("div",N0,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"month-picker":""}),null,16,["modelValue","dark"])]))}}),B0={},E0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},H0=y("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"},null,-1),Y0=[H0];function F0(e,a){return i(),m("svg",E0,Y0)}const z0=we(B0,[["render",F0]]),W0={},U0={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"},q0=y("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"},null,-1),j0=[q0];function Q0(e,a){return i(),m("svg",U0,j0)}const K0=we(W0,[["render",Q0]]),G0={class:"demo-wrap"},X0={class:"custom-month-year-component"},J0=["value","onChange"],Z0=["value"],ey=["value","onChange"],ty=["value"],ay={class:"icons"},ny=["onClick"],oy=["onClick"],ry={class:"custom-month-year-component"},ly=["value","onChange"],sy=["value"],iy=["onClick"],uy={class:"year-overlay"},dy=["value","onChange"],cy=["value"],vy=["onClick"],my=J({__name:"MonthYearSlotDemo",props:["defaultSlot","monthOverlaySlot","yearOverlaySlot"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=(r,l,u,d)=>{l(+r.target.value,u),d&&d()},o=(r,l,u,d)=>{l(u,+r.target.value),d&&d()};return(r,l)=>(i(),m("div",G0,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t)},at({_:2},[e.defaultSlot?{name:"month-year",fn:w(({month:u,year:d,months:b,years:f,updateMonthYear:p,handleMonthYearChange:c})=>[y("div",X0,[y("select",{class:"select-input",value:u,onChange:g=>n(g,p,d)},[(i(!0),m(pe,null,Me(b,g=>(i(),m("option",{key:g.value,value:g.value},ce(g.text),9,Z0))),128))],40,J0),y("select",{class:"select-input",value:d,onChange:g=>o(g,p,u)},[(i(!0),m(pe,null,Me(f,g=>(i(),m("option",{key:g.value,value:g.value},ce(g.text),9,ty))),128))],40,ey)]),y("div",ay,[y("span",{class:"custom-icon",onClick:g=>c(!1)},[ee(z0)],8,ny),y("span",{class:"custom-icon",onClick:g=>c(!0)},[ee(K0)],8,oy)])]),key:"0"}:void 0,e.monthOverlaySlot?{name:"month-overlay",fn:w(({month:u,year:d,items:b,updateMonthYear:f,toggle:p})=>[y("div",ry,[y("select",{class:"select-input",value:u,onChange:c=>n(c,f,d,p)},[(i(!0),m(pe,null,Me(b,c=>(i(),m("option",{key:c.value,value:c.value},ce(c.text),9,sy))),128))],40,ly)]),y("button",{onClick:p},"Close",8,iy)]),key:"1"}:void 0,e.yearOverlaySlot?{name:"year-overlay",fn:w(({month:u,year:d,items:b,updateMonthYear:f,toggle:p})=>[y("div",uy,[y("div",null,[y("select",{class:"select-input",value:d,onChange:c=>o(c,f,u,p)},[(i(!0),m(pe,null,Me(b,c=>(i(),m("option",{key:c.value,value:c.value},ce(c.text),9,cy))),128))],40,dy)]),y("button",{onClick:p},"Close",8,vy)])]),key:"2"}:void 0]),1032,["modelValue","dark"])]))}}),py={class:"demo-wrap"},fy=["onClick"],hy=J({__name:"PresetRange",setup(e){const a=A(),{isDark:t}=Le(),n=A([{label:"Today",value:[new Date,new Date]},{label:"Today (Slot)",value:[new Date,new Date],slot:"preset-date-range-button"},{label:"This month",value:[Sn(new Date),ho(new Date)]},{label:"Last month",value:[Sn(Et(new Date,1)),ho(Et(new Date,1))]},{label:"This year",value:[ha(new Date),Un(new Date)]}]);return(o,r)=>(i(),m("div",py,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:"Select Date",dark:s(t),range:"","preset-dates":n.value},{"preset-date-range-button":w(({label:l,value:u,presetDate:d})=>[y("span",{role:"button",tabindex:0,onClick:b=>d(u)},ce(l),9,fy)]),_:1},8,["modelValue","dark","preset-dates"])]))}}),yy={class:"demo-wrap"},gy=J({__name:"PreviewFormatDemo",props:["placeholder"],setup(e){const a=A(new Date),{isDark:t}=Le(),n=o=>{const r=o.getDate(),l=o.getMonth()+1,u=o.getFullYear();return`Selected date is ${r}/${l}/${u}`};return(o,r)=>(i(),m("div",yy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),placeholder:e.placeholder,"preview-format":n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),_y={class:"demo-wrap"},by=J({__name:"QuarterPickerDemo",setup(e){const{isDark:a}=Le(),t=A(qt(new Date));return(n,o)=>(i(),m("div",_y,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"quarter-picker":""}),null,16,["modelValue","dark"])]))}}),ky={class:"demo-wrap"},wy=J({__name:"RangeDemo",props:{range:{type:[Boolean,Object],default:!0},clearable:{type:Boolean,default:!0},timePicker:{type:Boolean,default:!1},placeholder:{type:String,default:"Select Range"},multiCalendars:{type:[Number,String,Boolean,Object],default:null},disabledWeekDays:{type:Array,default:()=>[]}},setup(e){const a=e,{isDark:t}=Le(),n=x(()=>{var r,l,u;return typeof a.range=="object"?((r=a.range)==null?void 0:r.autoRange)||((l=a.range)==null?void 0:l.maxRange)||((u=a.range)==null?void 0:u.minRange):!1}),o=A(n.value?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(r,l)=>(i(),m("div",ky,[ee(s(Ie),Oe({modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=u=>o.value=u)},r.$props,{dark:s(t),rang:e.range,placeholder:e.placeholder}),null,16,["modelValue","dark","rang","placeholder"])]))}}),$y={class:"demo-wrap"},Dy=y("button",{class:"submit-btn",type:"submit"},"Submit form",-1),Py=J({__name:"RequiredDemo",setup(e){const a=A(),{isDark:t}=Le(),n=()=>{alert("Form submitted")};return(o,r)=>(i(),m("div",$y,[y("form",{onSubmit:ia(n,["prevent"])},[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),Dy],32)]))}}),Ty={class:"demo-wrap"},My={class:"buttons-wrap"},xy=["onClick"],Sy=J({__name:"SixWeeksDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=[!0,"append","prepend","center","fair"],o=A(!0);return(r,l)=>(i(),m("div",Ty,[y("div",My,[(i(),m(pe,null,Me(n,(u,d)=>y("button",{class:he(["change-btn",{"btn-active":u===o.value}]),key:d,onClick:b=>o.value=u},ce(u),11,xy)),64))]),ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t),"six-weeks":o.value},null,8,["modelValue","dark","six-weeks"])]))}}),Ay=we(Sy,[["__scopeId","data-v-9aafd744"]]),Cy={class:"demo-wrap"},Vy=J({__name:"TextInputDemo",props:["textInput","placeholder","minDate","maxDate"],setup(e){const a=A(new Date),{isDark:t}=Le();return(n,o)=>(i(),m("div",Cy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),"text-input":e.textInput,placeholder:e.placeholder,"min-date":e.minDate,"max-date":e.maxDate},null,8,["modelValue","dark","text-input","placeholder","min-date","max-date"])]))}}),Oy={class:"demo-wrap"},Iy=J({__name:"TimePickerDemo",props:["modeHeight"],setup(e){const{isDark:a}=Le(),t=A({hours:new Date().getHours(),minutes:new Date().getMinutes()});return(n,o)=>(i(),m("div",Oy,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"time-picker":""}),null,16,["modelValue","dark"])]))}}),Ly={class:"demo-wrap"},Ny={class:"custom-time-picker-component"},Ry=["value","onChange"],By=["value"],Ey=["value","onChange"],Hy=["value"],Yy=J({__name:"TimePickerSlotDemo",setup(e){const a=A(new Date),{isDark:t}=Le(),n=x(()=>{const r=[];for(let l=0;l<24;l++)r.push({text:l<10?`0${l}`:l,value:l});return r}),o=x(()=>{const r=[];for(let l=0;l<60;l++)r.push({text:l<10?`0${l}`:l,value:l});return r});return(r,l)=>(i(),m("div",Ly,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=u=>a.value=u),dark:s(t)},{"time-picker":w(({time:u,updateTime:d})=>[y("div",Ny,[y("select",{class:"select-input",value:u.hours,onChange:b=>d(+b.target.value)},[(i(!0),m(pe,null,Me(n.value,b=>(i(),m("option",{key:b.value,value:b.value},ce(b.text),9,By))),128))],40,Ry),y("select",{class:"select-input",value:u.minutes,onChange:b=>d(+b.target.value,!1)},[(i(!0),m(pe,null,Me(o.value,b=>(i(),m("option",{key:b.value,value:b.value},ce(b.text),9,Hy))),128))],40,Ey)])]),_:1},8,["modelValue","dark"])]))}}),Fy={class:"demo-wrap"},zy={key:0},Wy=J({__name:"TimezoneDemo",setup(e){const a=A(),{isDark:t}=Le();return(n,o)=>(i(),m("div",Fy,[ee(s(Ie),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=r=>a.value=r),dark:s(t),utc:"",placeholder:"Select Date"},null,8,["modelValue","dark"]),a.value?(i(),m("p",zy,"Selected date in UTC format: "+ce(a.value),1)):S("",!0)]))}}),Uy={class:"demo-wrap"},qy=J({__name:"YearPickerDemo",props:{},setup(e){const{isDark:a}=Le(),t=A(new Date().getFullYear());return(n,o)=>(i(),m("div",Uy,[ee(s(Ie),Oe({modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=r=>t.value=r)},n.$props,{dark:s(a),"year-picker":""}),null,16,["modelValue","dark"])]))}}),Hr=e=>(rt("data-v-76aa1e38"),e=e(),lt(),e),jy={class:"tz-demo-wrap"},Qy={class:"dp-container-wrap"},Ky={class:"tz-range-slider-wrap"},Gy=Hr(()=>y("br",null,null,-1)),Xy=Hr(()=>y("br",null,null,-1)),Jy={key:0},Zy=J({__name:"TimezoneNewDemo",props:{timezone:{type:Object,default:void 0},emitVal:{type:Boolean,default:!1}},setup(e){const{isDark:a}=Le(),t=e,n=A(),o=A(11),r=A(),l=x(()=>{var c,g;if(t.emitVal)return;const p=Se(new Date)+1>9?Se(new Date)+1:`0${Se(new Date)+1}`;return(c=t.timezone)!=null&&c.exactMatch?new Date:(g=t.timezone)!=null&&g.dateInTz?`${Pe(new Date)}-${p}-15T01:00:00Z`:`${Pe(new Date)}-${p}-15T01:00:00Z`}),u=[{tz:"Pacific/Midway",offset:-11},{tz:"America/Adak",offset:-10},{tz:"Pacific/Gambier",offset:-9},{tz:"America/Los_Angeles",offset:-8},{tz:"America/Denver",offset:-7},{tz:"America/Chicago",offset:-6},{tz:"America/New_York",offset:-5},{tz:"America/Santiago",offset:-4},{tz:"America/Sao_Paulo",offset:-3},{tz:"America/Noronha",offset:-2},{tz:"Atlantic/Cape_Verde",offset:-1},{tz:"UTC",offset:0},{tz:"Europe/Brussels",offset:1},{tz:"Africa/Cairo",offset:2},{tz:"Europe/Minsk",offset:3},{tz:"Europe/Moscow",offset:4},{tz:"Asia/Tashkent",offset:5},{tz:"Asia/Dhaka",offset:6},{tz:"Asia/Novosibirsk",offset:7},{tz:"Australia/Perth",offset:8},{tz:"Asia/Tokyo",offset:9},{tz:"Australia/Hobart",offset:10},{tz:"Asia/Vladivostok",offset:11},{tz:"Pacific/Auckland",offset:12}],d=x(()=>u[o.value]),b=x(()=>{const p=t.emitVal?{emitTimezone:d.value.tz}:{timezone:d.value.tz};return t.timezone?{...t.timezone,...p}:p}),f=p=>{r.value=p.toISOString()};return(p,c)=>(i(),m("div",jy,[y("div",Qy,[ee(s(Ie),{modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=g=>n.value=g),dark:s(a),timezone:b.value,inline:"","auto-apply":"","max-date":l.value,"onUpdate:modelTimezoneValue":f},null,8,["modelValue","dark","timezone","max-date"])]),y("div",Ky,[y("div",null,[y("span",null,"Timezone: "+ce(d.value.tz),1),Gy,y("span",null,"Offset: "+ce(d.value.offset>0?`+${d.value.offset}`:d.value.offset),1),Xy,r.value?(i(),m("span",Jy,"Zoned date: "+ce(r.value),1)):S("",!0)]),y("div",null,[Ta(y("input",{class:"tz-range-slider",type:"range","onUpdate:modelValue":c[1]||(c[1]=g=>o.value=g),min:"0",max:"22"},null,512),[[ll,o.value]])])])]))}}),eg=we(Zy,[["__scopeId","data-v-76aa1e38"]]),ng={extends:Xo,Layout:kc,enhanceApp({app:e}){e.component("StarAndSponsor",Mc),e.component("ActionRowSlotDemo",Yf),e.component("CustomCalendarDemo",zf),e.component("DarkDemo",Uf),e.component("DemoDayClass",jf),e.component("DemoHighlight",Kf),e.component("DemoMarkers",Jf),e.component("DemoSlots",Oh),e.component("DisabledDatesDemo",Lh),e.component("DisabledRangeDateDemo",Rh),e.component("DisabledTimesDemo",Fh),e.component("DisplayModelDemo",Uh),e.component("EmitTimezone",jh),e.component("EmptyDemo",Kh),e.component("FiltersDemo",Xh),e.component("FormatDemo",Zh),e.component("GlobalDemo",t0),e.component("LocalizedOutput",O0),e.component("MinMaxDemo",L0),e.component("MonthPickerDemo",R0),e.component("MonthYearSlotDemo",my),e.component("PresetRange",hy),e.component("PreviewFormatDemo",gy),e.component("QuarterPickerDemo",by),e.component("RangeDemo",wy),e.component("RequiredDemo",Py),e.component("SixWeeksDemo",Ay),e.component("TextInputDemo",Vy),e.component("TimePickerDemo",Iy),e.component("TimePickerSlotDemo",Yy),e.component("TimezoneDemo",Wy),e.component("YearPickerDemo",qy),e.component("TimezoneNewDemo",eg)}};export{ng as R,Ml as a,Ce as u}; diff --git a/docs/assets/chunks/ui-custom.BeOb8iRm.js b/docs/assets/chunks/ui-custom.CYhWyhyp.js similarity index 82% rename from docs/assets/chunks/ui-custom.BeOb8iRm.js rename to docs/assets/chunks/ui-custom.CYhWyhyp.js index d2fc5faa..5749f6f1 100644 --- a/docs/assets/chunks/ui-custom.BeOb8iRm.js +++ b/docs/assets/chunks/ui-custom.CYhWyhyp.js @@ -1 +1 @@ -import{u as i,a as l}from"./theme.C0dGJPqT.js";import{d as p,s as f,v as c,y as u,o as _,c as m,_ as b}from"./framework.IJS20kTW.js";const v=p({__name:"VPCarbonAds",props:{carbonAds:{}},setup(r){const{page:d}=i(),s=r.carbonAds,{isAsideEnabled:a}=l(),o=f();let n=!1;function t(){if(!n){n=!0;const e=document.createElement("script");e.id="_carbonads_js",e.src=`//cdn.carbonads.com/carbon.js?serve=${s.code}&placement=${s.placement}`,e.async=!0,o.value.appendChild(e)}}return c(()=>d.value.relativePath,()=>{var e;n&&a.value&&((e=window._carbonads)==null||e.refresh())}),s&&u(()=>{a.value?t():c(a,e=>e&&t())}),(e,h)=>(_(),m("div",{class:"VPCarbonAds",ref_key:"container",ref:o},null,512))}}),k=b(v,[["__scopeId","data-v-2e1efd59"]]);export{k as default}; +import{u as i,a as l}from"./theme.9ttioI6k.js";import{d as p,s as f,v as c,y as u,o as _,c as m,_ as b}from"./framework.BKRot_tQ.js";const v=p({__name:"VPCarbonAds",props:{carbonAds:{}},setup(r){const{page:d}=i(),s=r.carbonAds,{isAsideEnabled:a}=l(),o=f();let n=!1;function t(){if(!n){n=!0;const e=document.createElement("script");e.id="_carbonads_js",e.src=`//cdn.carbonads.com/carbon.js?serve=${s.code}&placement=${s.placement}`,e.async=!0,o.value.appendChild(e)}}return c(()=>d.value.relativePath,()=>{var e;n&&a.value&&((e=window._carbonads)==null||e.refresh())}),s&&u(()=>{a.value?t():c(a,e=>e&&t())}),(e,h)=>(_(),m("div",{class:"VPCarbonAds",ref_key:"container",ref:o},null,512))}}),k=b(v,[["__scopeId","data-v-2e1efd59"]]);export{k as default}; diff --git a/docs/assets/customization_theming_index.md.DkqYS7LC.js b/docs/assets/customization_theming_index.md.BHtaDIzU.js similarity index 99% rename from docs/assets/customization_theming_index.md.DkqYS7LC.js rename to docs/assets/customization_theming_index.md.BHtaDIzU.js index c1246771..9dabff60 100644 --- a/docs/assets/customization_theming_index.md.DkqYS7LC.js +++ b/docs/assets/customization_theming_index.md.BHtaDIzU.js @@ -1,4 +1,4 @@ -import{_ as s,c as i,o as a,am as n}from"./chunks/framework.IJS20kTW.js";const F=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),h={name:"customization/theming/index.md"},k=n(`

Theming

Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

To change variables, simply override the classes with your custom values.

Info

  • When changing the properties, you only need to declare the class in the <style> tag, can be in global or scoped, depending on your needs
  • For the date picker to use dp__theme_dark, dark prop must be set to true

Dark mode configuration

css
.dp__theme_dark {
+import{_ as s,c as i,o as a,am as n}from"./chunks/framework.BKRot_tQ.js";const F=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),h={name:"customization/theming/index.md"},k=n(`

Theming

Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

To change variables, simply override the classes with your custom values.

Info

  • When changing the properties, you only need to declare the class in the <style> tag, can be in global or scoped, depending on your needs
  • For the date picker to use dp__theme_dark, dark prop must be set to true

Dark mode configuration

css
.dp__theme_dark {
     --dp-background-color: #212121;
     --dp-text-color: #fff;
     --dp-hover-color: #484848;
diff --git a/docs/assets/customization_theming_index.md.DkqYS7LC.lean.js b/docs/assets/customization_theming_index.md.BHtaDIzU.lean.js
similarity index 78%
rename from docs/assets/customization_theming_index.md.DkqYS7LC.lean.js
rename to docs/assets/customization_theming_index.md.BHtaDIzU.lean.js
index 42edc876..2d4704f5 100644
--- a/docs/assets/customization_theming_index.md.DkqYS7LC.lean.js
+++ b/docs/assets/customization_theming_index.md.BHtaDIzU.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,am as n}from"./chunks/framework.IJS20kTW.js";const F=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),h={name:"customization/theming/index.md"},k=n("",10),p=[k];function l(t,e,E,d,r,g){return a(),i("div",null,p)}const o=s(h,[["render",l]]);export{F as __pageData,o as default};
+import{_ as s,c as i,o as a,am as n}from"./chunks/framework.BKRot_tQ.js";const F=JSON.parse('{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme","frontmatter":{"title":"Customization - Theming","description":"Datepicker theme configuration for light and dark theme"},"headers":[],"relativePath":"customization/theming/index.md","filePath":"customization/theming/index.md"}'),h={name:"customization/theming/index.md"},k=n("",10),p=[k];function l(t,e,E,d,r,g){return a(),i("div",null,p)}const o=s(h,[["render",l]]);export{F as __pageData,o as default};
diff --git a/docs/assets/index.md.DcYGhi7H.js b/docs/assets/index.md.qJxocQGM.js
similarity index 96%
rename from docs/assets/index.md.DcYGhi7H.js
rename to docs/assets/index.md.qJxocQGM.js
index f55348fb..900a77d4 100644
--- a/docs/assets/index.md.DcYGhi7H.js
+++ b/docs/assets/index.md.qJxocQGM.js
@@ -1 +1 @@
-import{_ as t,D as o,c as a,I as i,o as n}from"./chunks/framework.IJS20kTW.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=o("StarAndSponsor");return n(),a("div",null,[i(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
+import{_ as t,D as o,c as a,I as i,o as n}from"./chunks/framework.BKRot_tQ.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=o("StarAndSponsor");return n(),a("div",null,[i(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
diff --git a/docs/assets/index.md.DcYGhi7H.lean.js b/docs/assets/index.md.qJxocQGM.lean.js
similarity index 96%
rename from docs/assets/index.md.DcYGhi7H.lean.js
rename to docs/assets/index.md.qJxocQGM.lean.js
index f55348fb..900a77d4 100644
--- a/docs/assets/index.md.DcYGhi7H.lean.js
+++ b/docs/assets/index.md.qJxocQGM.lean.js
@@ -1 +1 @@
-import{_ as t,D as o,c as a,I as i,o as n}from"./chunks/framework.IJS20kTW.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=o("StarAndSponsor");return n(),a("div",null,[i(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
+import{_ as t,D as o,c as a,I as i,o as n}from"./chunks/framework.BKRot_tQ.js";const k=JSON.parse('{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","frontmatter":{"title":"Vue Datepicker","description":"Vue 3 datepicker component. Lightweight and powerful with support for the timepicker, range picker, month-year picker, text input, week numbers and many more. Options to customize the datepicker from the ground up with props, slots and custom components. Dark and light mode available.","layout":"home","hero":{"name":"Vue datepicker","text":"The most complete datepicker solution for Vue 3","tagline":"Powerful, lightweight, and reusable datepicker component to fit within any project","actions":[{"theme":"brand","text":"Get Started","link":"/installation/"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/Vuepic/vue-datepicker"},{"theme":"alt","text":"Playground","link":"https://stackblitz.com/edit/vuepic-vue-datepicker?file=src%2Fcomponents%2FPlayground.vue"}]},"features":[{"title":"Powerful","details":"Supports multiple modes such as range, various pickers, multiple calendars, custom components, and many more."},{"title":"Modular","details":"Offers a great range of features, slots and props, while providing a way to customize for specific needs."},{"title":"Customizable","details":"Fully accessible, mobile-friendly, with built-in dark and light mode, and customizable css variables."}]},"headers":[],"relativePath":"index.md","filePath":"index.md"}'),r={name:"index.md"};function s(p,c,l,d,m,u){const e=o("StarAndSponsor");return n(),a("div",null,[i(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
diff --git a/docs/assets/installation_index.md.BdZmYzE_.js b/docs/assets/installation_index.md.CzOQj94f.js
similarity index 96%
rename from docs/assets/installation_index.md.BdZmYzE_.js
rename to docs/assets/installation_index.md.CzOQj94f.js
index 28579536..28114510 100644
--- a/docs/assets/installation_index.md.BdZmYzE_.js
+++ b/docs/assets/installation_index.md.CzOQj94f.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const o=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),n={name:"installation/index.md"},p=t(`

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker
shell
yarn add @vuepic/vue-datepicker
shell
pnpm add @vuepic/vue-datepicker
shell
bun add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

js
import VueDatePicker from '@vuepic/vue-datepicker';
+import{_ as s,c as i,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const o=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),n={name:"installation/index.md"},p=t(`

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker
shell
yarn add @vuepic/vue-datepicker
shell
pnpm add @vuepic/vue-datepicker
shell
bun add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

js
import VueDatePicker from '@vuepic/vue-datepicker';
 import '@vuepic/vue-datepicker/dist/main.css'

Global

In the main file

js
import { createApp } from "vue";
 import App from './App.vue';
 
@@ -9,7 +9,7 @@ import{_ as s,c as i,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const o
 
 app.component('VueDatePicker', VueDatePicker);
 
-app.mount('#app');

Local

In the .vue files

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.BdZmYzE_.lean.js b/docs/assets/installation_index.md.CzOQj94f.lean.js
similarity index 79%
rename from docs/assets/installation_index.md.BdZmYzE_.lean.js
rename to docs/assets/installation_index.md.CzOQj94f.lean.js
index 336c3a99..f980d187 100644
--- a/docs/assets/installation_index.md.BdZmYzE_.lean.js
+++ b/docs/assets/installation_index.md.CzOQj94f.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const o=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),n={name:"installation/index.md"},p=t("",27),l=[p];function e(h,k,d,E,r,g){return a(),i("div",null,l)}const y=s(n,[["render",e]]);export{o as __pageData,y as default};
+import{_ as s,c as i,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const o=JSON.parse('{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API","frontmatter":{"title":"Installation","description":"Install guide for @vuepic/vue-datepicker for global installation, Options and Composition API"},"headers":[],"relativePath":"installation/index.md","filePath":"installation/index.md"}'),n={name:"installation/index.md"},p=t("",27),l=[p];function e(h,k,d,E,r,g){return a(),i("div",null,l)}const y=s(n,[["render",e]]);export{o as __pageData,y as default};
diff --git a/docs/assets/methods-and-events_events_index.md.itNS5m-d.js b/docs/assets/methods-and-events_events_index.md.CLtD3nmd.js
similarity index 99%
rename from docs/assets/methods-and-events_events_index.md.itNS5m-d.js
rename to docs/assets/methods-and-events_events_index.md.CLtD3nmd.js
index d5ba2438..bb2496f9 100644
--- a/docs/assets/methods-and-events_events_index.md.itNS5m-d.js
+++ b/docs/assets/methods-and-events_events_index.md.CLtD3nmd.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,am as n}from"./chunks/framework.IJS20kTW.js";const F=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),h={name:"methods-and-events/events/index.md"},t=n(`

Events

List of available events that are emitted on some action

@update:model-value

This event is emitted when the value is selected. This is a v-model binding event

Code Example
vue
<template>
+import{_ as s,c as i,o as a,am as n}from"./chunks/framework.BKRot_tQ.js";const F=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),h={name:"methods-and-events/events/index.md"},t=n(`

Events

List of available events that are emitted on some action

@update:model-value

This event is emitted when the value is selected. This is a v-model binding event

Code Example
vue
<template>
     <VueDatePicker :model-value="date" @update:model-value="handleDate" />
 </template>
 
diff --git a/docs/assets/methods-and-events_events_index.md.itNS5m-d.lean.js b/docs/assets/methods-and-events_events_index.md.CLtD3nmd.lean.js
similarity index 77%
rename from docs/assets/methods-and-events_events_index.md.itNS5m-d.lean.js
rename to docs/assets/methods-and-events_events_index.md.CLtD3nmd.lean.js
index b4d68e02..5a1aaafe 100644
--- a/docs/assets/methods-and-events_events_index.md.itNS5m-d.lean.js
+++ b/docs/assets/methods-and-events_events_index.md.CLtD3nmd.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,am as n}from"./chunks/framework.IJS20kTW.js";const F=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),h={name:"methods-and-events/events/index.md"},t=n("",114),l=[t];function k(p,e,E,d,r,g){return a(),i("div",null,l)}const c=s(h,[["render",k]]);export{F as __pageData,c as default};
+import{_ as s,c as i,o as a,am as n}from"./chunks/framework.BKRot_tQ.js";const F=JSON.parse('{"title":"Events","description":"List of emitted events from the datepicker","frontmatter":{"lang":"en-US","title":"Events","description":"List of emitted events from the datepicker"},"headers":[],"relativePath":"methods-and-events/events/index.md","filePath":"methods-and-events/events/index.md"}'),h={name:"methods-and-events/events/index.md"},t=n("",114),l=[t];function k(p,e,E,d,r,g){return a(),i("div",null,l)}const c=s(h,[["render",k]]);export{F as __pageData,c as default};
diff --git a/docs/assets/methods-and-events_methods_index.md.DSpdWHb0.js b/docs/assets/methods-and-events_methods_index.md.sxka_nYL.js
similarity index 98%
rename from docs/assets/methods-and-events_methods_index.md.DSpdWHb0.js
rename to docs/assets/methods-and-events_methods_index.md.sxka_nYL.js
index 8694a88d..8ddb4547 100644
--- a/docs/assets/methods-and-events_methods_index.md.DSpdWHb0.js
+++ b/docs/assets/methods-and-events_methods_index.md.sxka_nYL.js
@@ -1,4 +1,4 @@
-import{_ as a,c as s,o as e,am as i}from"./chunks/framework.IJS20kTW.js";const E=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),t={name:"methods-and-events/methods/index.md"},l=i(`

Methods

List of available methods that you can call on the datepicker from the external code

Add a ref to the component, and call the method on that ref

Code Example
vue
<template>
+import{_ as a,c as s,o as e,am as i}from"./chunks/framework.BKRot_tQ.js";const E=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),t={name:"methods-and-events/methods/index.md"},l=i(`

Methods

List of available methods that you can call on the datepicker from the external code

Add a ref to the component, and call the method on that ref

Code Example
vue
<template>
     <VueDatePicker v-model="date" ref="datepicker" />
 </template>
 
diff --git a/docs/assets/methods-and-events_methods_index.md.DSpdWHb0.lean.js b/docs/assets/methods-and-events_methods_index.md.sxka_nYL.lean.js
similarity index 77%
rename from docs/assets/methods-and-events_methods_index.md.DSpdWHb0.lean.js
rename to docs/assets/methods-and-events_methods_index.md.sxka_nYL.lean.js
index b8aca091..fbb6341b 100644
--- a/docs/assets/methods-and-events_methods_index.md.DSpdWHb0.lean.js
+++ b/docs/assets/methods-and-events_methods_index.md.sxka_nYL.lean.js
@@ -1 +1 @@
-import{_ as a,c as s,o as e,am as i}from"./chunks/framework.IJS20kTW.js";const E=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),t={name:"methods-and-events/methods/index.md"},l=i("",37),n=[l];function h(p,r,o,d,k,c){return e(),s("div",null,n)}const m=a(t,[["render",h]]);export{E as __pageData,m as default};
+import{_ as a,c as s,o as e,am as i}from"./chunks/framework.BKRot_tQ.js";const E=JSON.parse('{"title":"Methods","description":"List of exposed datepicker methods","frontmatter":{"lang":"en-US","title":"Methods","description":"List of exposed datepicker methods"},"headers":[],"relativePath":"methods-and-events/methods/index.md","filePath":"methods-and-events/methods/index.md"}'),t={name:"methods-and-events/methods/index.md"},l=i("",37),n=[l];function h(p,r,o,d,k,c){return e(),s("div",null,n)}const m=a(t,[["render",h]]);export{E as __pageData,m as default};
diff --git a/docs/assets/migration_from-v5.md.BI3LqLn8.js b/docs/assets/migration_from-v5.md.CHERqwZ1.js
similarity index 99%
rename from docs/assets/migration_from-v5.md.BI3LqLn8.js
rename to docs/assets/migration_from-v5.md.CHERqwZ1.js
index d3935883..00304b26 100644
--- a/docs/assets/migration_from-v5.md.BI3LqLn8.js
+++ b/docs/assets/migration_from-v5.md.CHERqwZ1.js
@@ -1,4 +1,4 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const g=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),n={name:"migration/from-v5.md"},e=t(`

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is 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

+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const g=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),n={name:"migration/from-v5.md"},e=t(`

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is 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
diff --git a/docs/assets/migration_from-v5.md.BI3LqLn8.lean.js b/docs/assets/migration_from-v5.md.CHERqwZ1.lean.js
similarity index 79%
rename from docs/assets/migration_from-v5.md.BI3LqLn8.lean.js
rename to docs/assets/migration_from-v5.md.CHERqwZ1.lean.js
index e2a955f6..035a643c 100644
--- a/docs/assets/migration_from-v5.md.BI3LqLn8.lean.js
+++ b/docs/assets/migration_from-v5.md.CHERqwZ1.lean.js
@@ -1 +1 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const g=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),n={name:"migration/from-v5.md"},e=t("",26),l=[e];function p(h,o,k,r,d,c){return a(),s("div",null,l)}const y=i(n,[["render",p]]);export{g as __pageData,y as default};
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const g=JSON.parse('{"title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v5","description":"Migration guide for migrating from v5 to v6 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v5.md","filePath":"migration/from-v5.md"}'),n={name:"migration/from-v5.md"},e=t("",26),l=[e];function p(h,o,k,r,d,c){return a(),s("div",null,l)}const y=i(n,[["render",p]]);export{g as __pageData,y as default};
diff --git a/docs/assets/migration_from-v6.md.RC2xdNpA.js b/docs/assets/migration_from-v6.md.Dpqy4PX4.js
similarity index 92%
rename from docs/assets/migration_from-v6.md.RC2xdNpA.js
rename to docs/assets/migration_from-v6.md.Dpqy4PX4.js
index eb0f368b..b92bb695 100644
--- a/docs/assets/migration_from-v6.md.RC2xdNpA.js
+++ b/docs/assets/migration_from-v6.md.Dpqy4PX4.js
@@ -1 +1 @@
-import{_ as e,c as o,o as i,am as a}from"./chunks/framework.IJS20kTW.js";const h=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"},r=a('

Migrating from v6

Breaking changes

  • Wrapper for preset-dates is changed from <div> to <template>, which may cause potential styles break if you use a slot for the preset-dates item
  • Removed deprecated props
    • Removed
      • closeOnScroll
      • modeHeight
      • allowPreventDefault
      • closeOnClearValue
      • closeOnAutoApply
      • noSwipe
      • keepActionRow
      • onClickOutside

All removed props are now part of the config prop

',4),n=[r];function l(c,d,s,g,m,f){return i(),o("div",null,n)}const _=e(t,[["render",l]]);export{h as __pageData,_ as default}; +import{_ as e,c as o,o as i,am as a}from"./chunks/framework.BKRot_tQ.js";const h=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"},r=a('

Migrating from v6

Breaking changes

  • Wrapper for preset-dates is changed from <div> to <template>, which may cause potential styles break if you use a slot for the preset-dates item
  • Removed deprecated props
    • Removed
      • closeOnScroll
      • modeHeight
      • allowPreventDefault
      • closeOnClearValue
      • closeOnAutoApply
      • noSwipe
      • keepActionRow
      • onClickOutside

All removed props are now part of the config prop

',4),n=[r];function l(c,d,s,g,m,f){return i(),o("div",null,n)}const _=e(t,[["render",l]]);export{h as __pageData,_ as default}; diff --git a/docs/assets/migration_from-v6.md.RC2xdNpA.lean.js b/docs/assets/migration_from-v6.md.Dpqy4PX4.lean.js similarity index 79% rename from docs/assets/migration_from-v6.md.RC2xdNpA.lean.js rename to docs/assets/migration_from-v6.md.Dpqy4PX4.lean.js index 212ce819..e99c4bfc 100644 --- a/docs/assets/migration_from-v6.md.RC2xdNpA.lean.js +++ b/docs/assets/migration_from-v6.md.Dpqy4PX4.lean.js @@ -1 +1 @@ -import{_ as e,c as o,o as i,am as a}from"./chunks/framework.IJS20kTW.js";const h=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"},r=a("",4),n=[r];function l(c,d,s,g,m,f){return i(),o("div",null,n)}const _=e(t,[["render",l]]);export{h as __pageData,_ as default}; +import{_ as e,c as o,o as i,am as a}from"./chunks/framework.BKRot_tQ.js";const h=JSON.parse('{"title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v6","description":"Migration guide for migrating from v6 to v7 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v6.md","filePath":"migration/from-v6.md"}'),t={name:"migration/from-v6.md"},r=a("",4),n=[r];function l(c,d,s,g,m,f){return i(),o("div",null,n)}const _=e(t,[["render",l]]);export{h as __pageData,_ as default}; diff --git a/docs/assets/migration_from-v7.md.BiHzPJ31.js b/docs/assets/migration_from-v7.md.BKCSZk9W.js similarity index 99% rename from docs/assets/migration_from-v7.md.BiHzPJ31.js rename to docs/assets/migration_from-v7.md.BKCSZk9W.js index 14aa20f0..67f211d6 100644 --- a/docs/assets/migration_from-v7.md.BiHzPJ31.js +++ b/docs/assets/migration_from-v7.md.BKCSZk9W.js @@ -1,4 +1,4 @@ -import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const y=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),l={name:"migration/from-v7.md"},e=t(`

Migrating from v7

Breaking changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • Removed deprecated props
    • Removed
      • highlight-week-days
      • highlight-disabled-days
      • highlight prop types
        • 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>
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const y=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),l={name:"migration/from-v7.md"},e=t(`

Migrating from v7

Breaking changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • Removed deprecated props
    • Removed
      • highlight-week-days
      • highlight-disabled-days
      • highlight prop types
        • 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() ] }"
diff --git a/docs/assets/migration_from-v7.md.BiHzPJ31.lean.js b/docs/assets/migration_from-v7.md.BKCSZk9W.lean.js
similarity index 79%
rename from docs/assets/migration_from-v7.md.BiHzPJ31.lean.js
rename to docs/assets/migration_from-v7.md.BKCSZk9W.lean.js
index b548bdf0..0858c0ac 100644
--- a/docs/assets/migration_from-v7.md.BiHzPJ31.lean.js
+++ b/docs/assets/migration_from-v7.md.BKCSZk9W.lean.js
@@ -1 +1 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const y=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),l={name:"migration/from-v7.md"},e=t("",18),h=[e];function n(k,p,d,o,r,g){return a(),s("div",null,h)}const E=i(l,[["render",n]]);export{y as __pageData,E as default};
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const y=JSON.parse('{"title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v7","description":"Migration guide for migrating from v7 to v8 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v7.md","filePath":"migration/from-v7.md"}'),l={name:"migration/from-v7.md"},e=t("",18),h=[e];function n(k,p,d,o,r,g){return a(),s("div",null,h)}const E=i(l,[["render",n]]);export{y as __pageData,E as default};
diff --git a/docs/assets/migration_from-v8.md.ue4YmvjS.js b/docs/assets/migration_from-v8.md.BaR1FjMQ.js
similarity index 99%
rename from docs/assets/migration_from-v8.md.ue4YmvjS.js
rename to docs/assets/migration_from-v8.md.BaR1FjMQ.js
index 20252da5..15d4c213 100644
--- a/docs/assets/migration_from-v8.md.ue4YmvjS.js
+++ b/docs/assets/migration_from-v8.md.BaR1FjMQ.js
@@ -1,4 +1,4 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const E=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),l={name:"migration/from-v8.md"},n=t(`

Migrating from v8

Breaking changes

  • Removed deprecated props
    • Removed
      • auto-range
      • emit-timezone
      • partial-range
      • min-range
      • max-range
      • fixed-start
      • fixed-end
      • multi-dates-limit
      • show-last-in-range
      • no-disabled-range
      • disable-time-range-validation
      • input-class-name
      • menu-class-name
      • calendar-class-name
      • calendar-cell-class-name
  • boolean value true in text-input configuration is replaced with string \`'open' | 'toggle'
  • dp__clear_icon class is changed to dp--clear-btn and now wraps the icon
  • Removed calendarWrap and calendarDays from aria-labels due to accessibility violations
  • When using the component with web components, it must be enabled explicitly via the config.shadowDom property

range props

Following props are moved to the range configuration object

auto-range

js
<template>
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const E=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),l={name:"migration/from-v8.md"},n=t(`

Migrating from v8

Breaking changes

  • Removed deprecated props
    • Removed
      • auto-range
      • emit-timezone
      • partial-range
      • min-range
      • max-range
      • fixed-start
      • fixed-end
      • multi-dates-limit
      • show-last-in-range
      • no-disabled-range
      • disable-time-range-validation
      • input-class-name
      • menu-class-name
      • calendar-class-name
      • calendar-cell-class-name
  • boolean value true in text-input configuration is replaced with string \`'open' | 'toggle'
  • dp__clear_icon class is changed to dp--clear-btn and now wraps the icon
  • Removed calendarWrap and calendarDays from aria-labels due to accessibility violations
  • When using the component with web components, it must be enabled explicitly via the config.shadowDom property

range props

Following props are moved to the range configuration object

auto-range

js
<template>
   <VueDatePicker
     range
     :auto-range="5"
diff --git a/docs/assets/migration_from-v8.md.ue4YmvjS.lean.js b/docs/assets/migration_from-v8.md.BaR1FjMQ.lean.js
similarity index 79%
rename from docs/assets/migration_from-v8.md.ue4YmvjS.lean.js
rename to docs/assets/migration_from-v8.md.BaR1FjMQ.lean.js
index 908292d9..ea38f62f 100644
--- a/docs/assets/migration_from-v8.md.ue4YmvjS.lean.js
+++ b/docs/assets/migration_from-v8.md.BaR1FjMQ.lean.js
@@ -1 +1 @@
-import{_ as i,c as s,o as a,am as t}from"./chunks/framework.IJS20kTW.js";const E=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),l={name:"migration/from-v8.md"},n=t("",45),e=[n];function h(k,p,d,o,r,c){return a(),s("div",null,e)}const y=i(l,[["render",h]]);export{E as __pageData,y as default};
+import{_ as i,c as s,o as a,am as t}from"./chunks/framework.BKRot_tQ.js";const E=JSON.parse('{"title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v8","description":"Migration guide for migrating from v8 to v9 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v8.md","filePath":"migration/from-v8.md"}'),l={name:"migration/from-v8.md"},n=t("",45),e=[n];function h(k,p,d,o,r,c){return a(),s("div",null,e)}const y=i(l,[["render",h]]);export{E as __pageData,y as default};
diff --git a/docs/assets/props_calendar-configuration_index.md.BxXIyXWr.js b/docs/assets/props_calendar-configuration_index.md.CgmBjRMD.js
similarity index 99%
rename from docs/assets/props_calendar-configuration_index.md.BxXIyXWr.js
rename to docs/assets/props_calendar-configuration_index.md.CgmBjRMD.js
index 6cf218d0..002bd705 100644
--- a/docs/assets/props_calendar-configuration_index.md.BxXIyXWr.js
+++ b/docs/assets/props_calendar-configuration_index.md.CgmBjRMD.js
@@ -1,4 +1,4 @@
-import{_ as e,D as n,c as E,I as i,am as s,o as d}from"./chunks/framework.IJS20kTW.js";const W=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),r={name:"props/calendar-configuration/index.md"},g=s(`

Calendar configuration

Configure calendar options such as behavior or available dates

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, weekNumbers as week-numbers and so on

calendar

Customize the calendar view, filter out weeks, add or remove custom classes

Important

Do not modify date values

  • Type: (weeks: CalendarWeek[]) => CalendarWeek[];
  • Default: null
ts
interface CalendarWeek {
+import{_ as e,D as n,c as E,I as i,am as s,o as d}from"./chunks/framework.BKRot_tQ.js";const W=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),r={name:"props/calendar-configuration/index.md"},g=s(`

Calendar configuration

Configure calendar options such as behavior or available dates

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, weekNumbers as week-numbers and so on

calendar

Customize the calendar view, filter out weeks, add or remove custom classes

Important

Do not modify date values

  • Type: (weeks: CalendarWeek[]) => CalendarWeek[];
  • Default: null
ts
interface CalendarWeek {
   days: {
     text: number | string; // Value displayed in the calendar day box
     value: Date; // Date that is going to be selected, do not modify
diff --git a/docs/assets/props_calendar-configuration_index.md.BxXIyXWr.lean.js b/docs/assets/props_calendar-configuration_index.md.CgmBjRMD.lean.js
similarity index 96%
rename from docs/assets/props_calendar-configuration_index.md.BxXIyXWr.lean.js
rename to docs/assets/props_calendar-configuration_index.md.CgmBjRMD.lean.js
index d7e93ab6..f64816af 100644
--- a/docs/assets/props_calendar-configuration_index.md.BxXIyXWr.lean.js
+++ b/docs/assets/props_calendar-configuration_index.md.CgmBjRMD.lean.js
@@ -1 +1 @@
-import{_ as e,D as n,c as E,I as i,am as s,o as d}from"./chunks/framework.IJS20kTW.js";const W=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),r={name:"props/calendar-configuration/index.md"},g=s("",8),y=s("",5),F=s("",4),o=s("",4),c=s("",4),u=s("",4),C=s("",4),D=s("",4),m=s("",4),A=s("",4),B=s("",5),_=s("",4),b=s("",4),v=s("",4),f=s("",4),T=s("",5),w=s("",4),q=s("",1);function x(P,S,V,I,N,R){const h=n("CustomCalendarDemo"),a=n("GlobalDemo"),l=n("MinMaxDemo"),t=n("EmptyDemo"),k=n("FiltersDemo"),p=n("DisabledDatesDemo");return d(),E("div",null,[g,i(h),y,i(a,{"week-numbers":{type:"iso"}}),F,i(a,{"hide-offset-dates":!0}),o,i(a,{"min-date":new Date},null,8,["min-date"]),c,i(a,{"max-date":new Date},null,8,["max-date"]),u,i(l),C,i(t,{"ignore-time-validation":!0,"max-date":new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate()),placeholder:"Select Date"},null,8,["max-date"]),D,i(t,{"start-date":new Date(2020,1),placeholder:"Select Date"},null,8,["start-date"]),m,i(a,{"start-date":new Date(2020,1),"focus-start-date":!0,placeholder:"Select Date"},null,8,["start-date"]),A,i(a,{"week-start":"0"}),B,i(k),_,i(a,{"disable-month-year-select":!0}),b,i(a,{"year-range":[2020,2040]}),v,i(a,{"reverse-years":!0,"year-range":[2020,2040]}),f,i(t,{"allowed-dates":[new Date],placeholder:"Select Date"},null,8,["allowed-dates"]),T,i(p),w,i(t,{"disabled-week-days":[6,0],placeholder:"Select Date"}),q])}const O=e(r,[["render",x]]);export{W as __pageData,O as default};
+import{_ as e,D as n,c as E,I as i,am as s,o as d}from"./chunks/framework.BKRot_tQ.js";const W=JSON.parse('{"title":"Props - Calendar configuration","description":"Configuration for the calendar","frontmatter":{"lang":"en-US","title":"Props - Calendar configuration","description":"Configuration for the calendar"},"headers":[],"relativePath":"props/calendar-configuration/index.md","filePath":"props/calendar-configuration/index.md"}'),r={name:"props/calendar-configuration/index.md"},g=s("",8),y=s("",5),F=s("",4),o=s("",4),c=s("",4),u=s("",4),C=s("",4),D=s("",4),m=s("",4),A=s("",4),B=s("",5),_=s("",4),b=s("",4),v=s("",4),f=s("",4),T=s("",5),w=s("",4),q=s("",1);function x(P,S,V,I,N,R){const h=n("CustomCalendarDemo"),a=n("GlobalDemo"),l=n("MinMaxDemo"),t=n("EmptyDemo"),k=n("FiltersDemo"),p=n("DisabledDatesDemo");return d(),E("div",null,[g,i(h),y,i(a,{"week-numbers":{type:"iso"}}),F,i(a,{"hide-offset-dates":!0}),o,i(a,{"min-date":new Date},null,8,["min-date"]),c,i(a,{"max-date":new Date},null,8,["max-date"]),u,i(l),C,i(t,{"ignore-time-validation":!0,"max-date":new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate()),placeholder:"Select Date"},null,8,["max-date"]),D,i(t,{"start-date":new Date(2020,1),placeholder:"Select Date"},null,8,["start-date"]),m,i(a,{"start-date":new Date(2020,1),"focus-start-date":!0,placeholder:"Select Date"},null,8,["start-date"]),A,i(a,{"week-start":"0"}),B,i(k),_,i(a,{"disable-month-year-select":!0}),b,i(a,{"year-range":[2020,2040]}),v,i(a,{"reverse-years":!0,"year-range":[2020,2040]}),f,i(t,{"allowed-dates":[new Date],placeholder:"Select Date"},null,8,["allowed-dates"]),T,i(p),w,i(t,{"disabled-week-days":[6,0],placeholder:"Select Date"}),q])}const O=e(r,[["render",x]]);export{W as __pageData,O as default};
diff --git a/docs/assets/props_formatting_index.md.CXFddBvT.js b/docs/assets/props_formatting_index.md.yZ544n8V.js
similarity index 99%
rename from docs/assets/props_formatting_index.md.CXFddBvT.js
rename to docs/assets/props_formatting_index.md.yZ544n8V.js
index faafdd6c..acdf47a9 100644
--- a/docs/assets/props_formatting_index.md.CXFddBvT.js
+++ b/docs/assets/props_formatting_index.md.yZ544n8V.js
@@ -1,4 +1,4 @@
-import{_ as l,D as i,c as e,I as a,am as s,o as k}from"./chunks/framework.IJS20kTW.js";const C=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),p={name:"props/formatting/index.md"},r=s('

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

',8),E=s(`
Code Example
vue
<template>
+import{_ as l,D as i,c as e,I as a,am as s,o as k}from"./chunks/framework.BKRot_tQ.js";const C=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),p={name:"props/formatting/index.md"},r=s('

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

',8),E=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :format="format" />
 </template>
 
diff --git a/docs/assets/props_formatting_index.md.CXFddBvT.lean.js b/docs/assets/props_formatting_index.md.yZ544n8V.lean.js
similarity index 91%
rename from docs/assets/props_formatting_index.md.CXFddBvT.lean.js
rename to docs/assets/props_formatting_index.md.yZ544n8V.lean.js
index 8b4bae89..0c386441 100644
--- a/docs/assets/props_formatting_index.md.CXFddBvT.lean.js
+++ b/docs/assets/props_formatting_index.md.yZ544n8V.lean.js
@@ -1 +1 @@
-import{_ as l,D as i,c as e,I as a,am as s,o as k}from"./chunks/framework.IJS20kTW.js";const C=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),p={name:"props/formatting/index.md"},r=s("",8),E=s("",6),d=s("",4),o=s("",1);function g(y,c,F,m,u,f){const t=i("FormatDemo"),n=i("PreviewFormatDemo"),h=i("GlobalDemo");return k(),e("div",null,[r,a(t),E,a(n),d,a(h,{"month-name-format":"long"}),o])}const A=l(p,[["render",g]]);export{C as __pageData,A as default};
+import{_ as l,D as i,c as e,I as a,am as s,o as k}from"./chunks/framework.BKRot_tQ.js";const C=JSON.parse('{"title":"Props - Formatting","description":"Customize the default formatting of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Formatting","description":"Customize the default formatting of the datepicker"},"headers":[],"relativePath":"props/formatting/index.md","filePath":"props/formatting/index.md"}'),p={name:"props/formatting/index.md"},r=s("",8),E=s("",6),d=s("",4),o=s("",1);function g(y,c,F,m,u,f){const t=i("FormatDemo"),n=i("PreviewFormatDemo"),h=i("GlobalDemo");return k(),e("div",null,[r,a(t),E,a(n),d,a(h,{"month-name-format":"long"}),o])}const A=l(p,[["render",g]]);export{C as __pageData,A as default};
diff --git a/docs/assets/props_general-configuration_index.md.kdLulLhN.js b/docs/assets/props_general-configuration_index.md.DOYpbrWq.js
similarity index 99%
rename from docs/assets/props_general-configuration_index.md.kdLulLhN.js
rename to docs/assets/props_general-configuration_index.md.DOYpbrWq.js
index 5d37aa28..653eb179 100644
--- a/docs/assets/props_general-configuration_index.md.kdLulLhN.js
+++ b/docs/assets/props_general-configuration_index.md.DOYpbrWq.js
@@ -1,4 +1,4 @@
-import{_ as r,D as n,c as g,I as i,j as h,a as t,am as s,o}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),y={name:"props/general-configuration/index.md"},c=s('

General configuration

General behavior props configuration

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, monthChangeOnScroll as month-change-on-scroll and so on

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-${uid} and input id as dp-input-${uid}

  • Type: string
  • Default: null
',6),F=s(`
Code Example
vue
<template>
+import{_ as r,D as n,c as g,I as i,j as h,a as t,am as s,o}from"./chunks/framework.BKRot_tQ.js";const j=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),y={name:"props/general-configuration/index.md"},c=s('

General configuration

General behavior props configuration

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, monthChangeOnScroll as month-change-on-scroll and so on

uid

Pass an id to the input and menu elements. If provided, you can select menu id as dp-menu-${uid} and input id as dp-input-${uid}

  • Type: string
  • Default: null
',6),F=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" uid="demo" />
 </template>
 
diff --git a/docs/assets/props_general-configuration_index.md.kdLulLhN.lean.js b/docs/assets/props_general-configuration_index.md.DOYpbrWq.lean.js
similarity index 96%
rename from docs/assets/props_general-configuration_index.md.kdLulLhN.lean.js
rename to docs/assets/props_general-configuration_index.md.DOYpbrWq.lean.js
index f3d69a3d..12b7f259 100644
--- a/docs/assets/props_general-configuration_index.md.kdLulLhN.lean.js
+++ b/docs/assets/props_general-configuration_index.md.DOYpbrWq.lean.js
@@ -1 +1 @@
-import{_ as r,D as n,c as g,I as i,j as h,a as t,am as s,o}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),y={name:"props/general-configuration/index.md"},c=s("",6),F=s("",5),u=s("",1),C={id:"model-value",tabindex:"-1"},m=h("a",{class:"header-anchor",href:"#model-value","aria-label":'Permalink to "model-value "'},"​",-1),D=s("",7),A=s("",4),B=s("",5),b=s("",4),_=s("",4),v=s("",5),f=s("",5),T=s("",4),w=s("",4),q=s("",4),P=s("",4),S=s("",4),x=s("",4),V=s("",5),I=s("",3),R=s("",4),N=s("",11),O=s("",1);function M(H,G,W,$,L,U){const a=n("GlobalDemo"),k=n("Badge"),e=n("DisplayModelDemo"),l=n("EmptyDemo"),p=n("DemoMarkers"),E=n("DemoHighlight"),d=n("RequiredDemo");return o(),g("div",null,[c,i(a,{uid:"demo"}),F,i(a,{"month-change-on-scroll":!1}),u,h("h2",C,[t("model-value "),i(k,{type:"tip",text:"v-model"}),t(),m]),D,i(e,{modelType:"dd.MM.yyyy"}),A,i(a,{clearable:!1}),B,i(a,{"auto-apply":!0}),b,i(l,{placeholder:"Select Date"}),_,i(l,{"no-today":!0,placeholder:"Select Date"}),v,i(p),f,i(E),T,i(a,{disabled:!0}),w,i(a,{readonly:!0}),q,i(d,{required:!0}),P,i(a,{name:"date-picker"}),S,i(a,{autocomplete:"off"}),x,i(a,{"hide-navigation":["month","year"]}),V,i(a,{"action-row":{showNow:!0,showPreview:!1}}),I,i(a,{"disable-year-select":!0}),R,i(a,{"year-first":!0}),N,i(a,{loading:!0}),O])}const z=r(y,[["render",M]]);export{j as __pageData,z as default};
+import{_ as r,D as n,c as g,I as i,j as h,a as t,am as s,o}from"./chunks/framework.BKRot_tQ.js";const j=JSON.parse('{"title":"Props - General configuration","description":"General behavior props configuration","frontmatter":{"lang":"en-US","title":"Props - General configuration","description":"General behavior props configuration"},"headers":[],"relativePath":"props/general-configuration/index.md","filePath":"props/general-configuration/index.md"}'),y={name:"props/general-configuration/index.md"},c=s("",6),F=s("",5),u=s("",1),C={id:"model-value",tabindex:"-1"},m=h("a",{class:"header-anchor",href:"#model-value","aria-label":'Permalink to "model-value "'},"​",-1),D=s("",7),A=s("",4),B=s("",5),b=s("",4),_=s("",4),v=s("",5),f=s("",5),T=s("",4),w=s("",4),q=s("",4),P=s("",4),S=s("",4),x=s("",4),V=s("",5),I=s("",3),R=s("",4),N=s("",11),O=s("",1);function M(H,G,W,$,L,U){const a=n("GlobalDemo"),k=n("Badge"),e=n("DisplayModelDemo"),l=n("EmptyDemo"),p=n("DemoMarkers"),E=n("DemoHighlight"),d=n("RequiredDemo");return o(),g("div",null,[c,i(a,{uid:"demo"}),F,i(a,{"month-change-on-scroll":!1}),u,h("h2",C,[t("model-value "),i(k,{type:"tip",text:"v-model"}),t(),m]),D,i(e,{modelType:"dd.MM.yyyy"}),A,i(a,{clearable:!1}),B,i(a,{"auto-apply":!0}),b,i(l,{placeholder:"Select Date"}),_,i(l,{"no-today":!0,placeholder:"Select Date"}),v,i(p),f,i(E),T,i(a,{disabled:!0}),w,i(a,{readonly:!0}),q,i(d,{required:!0}),P,i(a,{name:"date-picker"}),S,i(a,{autocomplete:"off"}),x,i(a,{"hide-navigation":["month","year"]}),V,i(a,{"action-row":{showNow:!0,showPreview:!1}}),I,i(a,{"disable-year-select":!0}),R,i(a,{"year-first":!0}),N,i(a,{loading:!0}),O])}const z=r(y,[["render",M]]);export{j as __pageData,z as default};
diff --git a/docs/assets/props_keyboard_index.md.G0H1-SZ1.js b/docs/assets/props_keyboard_index.md.8mfI-ATL.js
similarity index 99%
rename from docs/assets/props_keyboard_index.md.G0H1-SZ1.js
rename to docs/assets/props_keyboard_index.md.8mfI-ATL.js
index e7f7ffa3..67b18f08 100644
--- a/docs/assets/props_keyboard_index.md.G0H1-SZ1.js
+++ b/docs/assets/props_keyboard_index.md.8mfI-ATL.js
@@ -1,4 +1,4 @@
-import{_ as t,D as n,c as e,I as a,am as s,o as l}from"./chunks/framework.IJS20kTW.js";const C=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),h={name:"props/keyboard/index.md"},p=s('

Keyboard

Configure keyboard actions

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, escClose as esc-close and so on

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

esc-close

Esc key closes the menu

  • Type: boolean
  • Default: true
',7),k=s(`
Code Example
vue
<template>
+import{_ as t,D as n,c as e,I as a,am as s,o as l}from"./chunks/framework.BKRot_tQ.js";const C=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),h={name:"props/keyboard/index.md"},p=s('

Keyboard

Configure keyboard actions

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, escClose as esc-close and so on

Info

You can press tab key in the menu, and it will autofocus elements, pressing enter will do a click action like open overlay or select a date.

All keyboard events are enabled by default

esc-close

Esc key closes the menu

  • Type: boolean
  • Default: true
',7),k=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :esc-close="false" />
 </template>
 
diff --git a/docs/assets/props_keyboard_index.md.G0H1-SZ1.lean.js b/docs/assets/props_keyboard_index.md.8mfI-ATL.lean.js
similarity index 91%
rename from docs/assets/props_keyboard_index.md.G0H1-SZ1.lean.js
rename to docs/assets/props_keyboard_index.md.8mfI-ATL.lean.js
index 3b01ca46..81350419 100644
--- a/docs/assets/props_keyboard_index.md.G0H1-SZ1.lean.js
+++ b/docs/assets/props_keyboard_index.md.8mfI-ATL.lean.js
@@ -1 +1 @@
-import{_ as t,D as n,c as e,I as a,am as s,o as l}from"./chunks/framework.IJS20kTW.js";const C=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),h={name:"props/keyboard/index.md"},p=s("",7),k=s("",4),r=s("",4),d=s("",5),E=s("",1);function o(c,g,y,u,F,m){const i=n("GlobalDemo");return l(),e("div",null,[p,a(i,{"esc-close":!1}),k,a(i,{"space-confirm":!1}),r,a(i,{"month-change-on-arrows":!1}),d,a(i,{"arrow-navigation":!0}),E])}const b=t(h,[["render",o]]);export{C as __pageData,b as default};
+import{_ as t,D as n,c as e,I as a,am as s,o as l}from"./chunks/framework.BKRot_tQ.js";const C=JSON.parse('{"title":"Props - Keyboard","description":"Datepicker keyboard actions configuration","frontmatter":{"lang":"en-US","title":"Props - Keyboard","description":"Datepicker keyboard actions configuration"},"headers":[],"relativePath":"props/keyboard/index.md","filePath":"props/keyboard/index.md"}'),h={name:"props/keyboard/index.md"},p=s("",7),k=s("",4),r=s("",4),d=s("",5),E=s("",1);function o(c,g,y,u,F,m){const i=n("GlobalDemo");return l(),e("div",null,[p,a(i,{"esc-close":!1}),k,a(i,{"space-confirm":!1}),r,a(i,{"month-change-on-arrows":!1}),d,a(i,{"arrow-navigation":!0}),E])}const b=t(h,[["render",o]]);export{C as __pageData,b as default};
diff --git a/docs/assets/props_localization_index.md.Deuw2KpT.js b/docs/assets/props_localization_index.md.DAA9qzr1.js
similarity index 99%
rename from docs/assets/props_localization_index.md.Deuw2KpT.js
rename to docs/assets/props_localization_index.md.DAA9qzr1.js
index a265ee88..69b67fee 100644
--- a/docs/assets/props_localization_index.md.Deuw2KpT.js
+++ b/docs/assets/props_localization_index.md.DAA9qzr1.js
@@ -1,4 +1,4 @@
-import{_ as h,D as t,c as k,I as i,am as s,o as p}from"./chunks/framework.IJS20kTW.js";const v=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),e={name:"props/localization/index.md"},E=s('

Localization

Localization options and label props

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, formatLocale as format-locale and so on

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
',6),r=s(`
Code Example
vue
<template>
+import{_ as h,D as t,c as k,I as i,am as s,o as p}from"./chunks/framework.BKRot_tQ.js";const v=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),e={name:"props/localization/index.md"},E=s('

Localization

Localization options and label props

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, formatLocale as format-locale and so on

locale

Set datepicker locale. Datepicker will use built in javascript locale formatter to extract month and weekday names

  • Type: string
  • Default: 'en-US'
',6),r=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" locale="de" cancelText="abbrechen" selectText="auswählen" />
 </template>
 
diff --git a/docs/assets/props_localization_index.md.Deuw2KpT.lean.js b/docs/assets/props_localization_index.md.DAA9qzr1.lean.js
similarity index 93%
rename from docs/assets/props_localization_index.md.Deuw2KpT.lean.js
rename to docs/assets/props_localization_index.md.DAA9qzr1.lean.js
index ee52f7b9..a87ed157 100644
--- a/docs/assets/props_localization_index.md.Deuw2KpT.lean.js
+++ b/docs/assets/props_localization_index.md.DAA9qzr1.lean.js
@@ -1 +1 @@
-import{_ as h,D as t,c as k,I as i,am as s,o as p}from"./chunks/framework.IJS20kTW.js";const v=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),e={name:"props/localization/index.md"},E=s("",6),r=s("",6),d=s("",4),g=s("",4),y=s("",4),o=s("",4),F=s("",11),c=s("",1);function u(C,m,A,B,D,_){const a=t("GlobalDemo"),n=t("LocalizedOutput"),l=t("EmptyDemo");return p(),k("div",null,[E,i(a,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),r,i(n),d,i(a,{"select-text":"Pick"}),g,i(a,{"cancel-text":"Close"}),y,i(l,{"action-row":{showNow:!0},placeholder:"Select Date","now-button-label":"Current"}),o,i(a,{"week-numbers":"iso","week-num-name":"We"}),F,i(a,{"day-names":["1","2","3","4","5","6","7"]}),c])}const f=h(e,[["render",u]]);export{v as __pageData,f as default};
+import{_ as h,D as t,c as k,I as i,am as s,o as p}from"./chunks/framework.BKRot_tQ.js";const v=JSON.parse('{"title":"Props - Localization","description":"Customize the localization of the datepicker","frontmatter":{"lang":"en-US","title":"Props - Localization","description":"Customize the localization of the datepicker"},"headers":[],"relativePath":"props/localization/index.md","filePath":"props/localization/index.md"}'),e={name:"props/localization/index.md"},E=s("",6),r=s("",6),d=s("",4),g=s("",4),y=s("",4),o=s("",4),F=s("",11),c=s("",1);function u(C,m,A,B,D,_){const a=t("GlobalDemo"),n=t("LocalizedOutput"),l=t("EmptyDemo");return p(),k("div",null,[E,i(a,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),r,i(n),d,i(a,{"select-text":"Pick"}),g,i(a,{"cancel-text":"Close"}),y,i(l,{"action-row":{showNow:!0},placeholder:"Select Date","now-button-label":"Current"}),o,i(a,{"week-numbers":"iso","week-num-name":"We"}),F,i(a,{"day-names":["1","2","3","4","5","6","7"]}),c])}const f=h(e,[["render",u]]);export{v as __pageData,f as default};
diff --git a/docs/assets/props_look-and-feel_index.md.CUxjRaCU.js b/docs/assets/props_look-and-feel_index.md.CkNbrHve.js
similarity index 99%
rename from docs/assets/props_look-and-feel_index.md.CUxjRaCU.js
rename to docs/assets/props_look-and-feel_index.md.CkNbrHve.js
index 2df2da48..04999f7c 100644
--- a/docs/assets/props_look-and-feel_index.md.CUxjRaCU.js
+++ b/docs/assets/props_look-and-feel_index.md.CkNbrHve.js
@@ -1,4 +1,4 @@
-import{_ as e,D as n,c as k,I as i,am as s,o as p}from"./chunks/framework.IJS20kTW.js";const b=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),d={name:"props/look-and-feel/index.md"},E=s(`

Look and feel

Customization options

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, sixWeeks as six-weeks and so on

transitions

Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitions component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop

  • Type: Transitions | boolean
  • Default: true
ts
interface Transitions {
+import{_ as e,D as n,c as k,I as i,am as s,o as p}from"./chunks/framework.BKRot_tQ.js";const b=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),d={name:"props/look-and-feel/index.md"},E=s(`

Look and feel

Customization options

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, sixWeeks as six-weeks and so on

transitions

Control transitions inside the menu. You can define your own or disable them. Datepicker uses Vue built in transitions component for transitions control. To configure you own, please check the Vue documentation and provide a transition name in the prop

  • Type: Transitions | boolean
  • Default: true
ts
interface Transitions {
     open?: string; 
     close?: string; 
     next?: string; 
diff --git a/docs/assets/props_look-and-feel_index.md.CUxjRaCU.lean.js b/docs/assets/props_look-and-feel_index.md.CkNbrHve.lean.js
similarity index 92%
rename from docs/assets/props_look-and-feel_index.md.CUxjRaCU.lean.js
rename to docs/assets/props_look-and-feel_index.md.CkNbrHve.lean.js
index af2f2244..e29c6e59 100644
--- a/docs/assets/props_look-and-feel_index.md.CUxjRaCU.lean.js
+++ b/docs/assets/props_look-and-feel_index.md.CkNbrHve.lean.js
@@ -1 +1 @@
-import{_ as e,D as n,c as k,I as i,am as s,o as p}from"./chunks/framework.IJS20kTW.js";const b=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),d={name:"props/look-and-feel/index.md"},E=s("",8),r=s("",5),g=s("",4),o=s("",4),y=s("",4),c=s("",4),F=s("",10),u=s("",1);function C(m,A,D,B,_,f){const a=n("GlobalDemo"),t=n("SixWeeksDemo"),l=n("DarkDemo"),h=n("DemoDayClass");return p(),k("div",null,[E,i(a,{transitions:!1}),r,i(t),g,i(l),o,i(a,{offset:20}),y,i(a,{"hide-input-icon":!0}),c,i(a,{state:!1}),F,i(h),u])}const T=e(d,[["render",C]]);export{b as __pageData,T as default};
+import{_ as e,D as n,c as k,I as i,am as s,o as p}from"./chunks/framework.BKRot_tQ.js";const b=JSON.parse('{"title":"Props - Look and feel","description":"Look and feel customization options","frontmatter":{"lang":"en-US","title":"Props - Look and feel","description":"Look and feel customization options"},"headers":[],"relativePath":"props/look-and-feel/index.md","filePath":"props/look-and-feel/index.md"}'),d={name:"props/look-and-feel/index.md"},E=s("",8),r=s("",5),g=s("",4),o=s("",4),y=s("",4),c=s("",4),F=s("",10),u=s("",1);function C(m,A,D,B,_,f){const a=n("GlobalDemo"),t=n("SixWeeksDemo"),l=n("DarkDemo"),h=n("DemoDayClass");return p(),k("div",null,[E,i(a,{transitions:!1}),r,i(t),g,i(l),o,i(a,{offset:20}),y,i(a,{"hide-input-icon":!0}),c,i(a,{state:!1}),F,i(h),u])}const T=e(d,[["render",C]]);export{b as __pageData,T as default};
diff --git a/docs/assets/props_modes-configuration_index.md.DST_YaWQ.js b/docs/assets/props_modes-configuration_index.md.DZEhKzVk.js
similarity index 99%
rename from docs/assets/props_modes-configuration_index.md.DST_YaWQ.js
rename to docs/assets/props_modes-configuration_index.md.DZEhKzVk.js
index 4ad40964..98f75e21 100644
--- a/docs/assets/props_modes-configuration_index.md.DST_YaWQ.js
+++ b/docs/assets/props_modes-configuration_index.md.DZEhKzVk.js
@@ -1,4 +1,4 @@
-import{_ as E,D as n,c as d,I as i,am as s,o as r}from"./chunks/framework.IJS20kTW.js";const Y=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),g={name:"props/modes-configuration/index.md"},y=s(`

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, textInput as text-input and so on

range configuration

Providing configuration object will automatically enable range picker

ts
interface RangeConfig {
+import{_ as E,D as n,c as d,I as i,am as s,o as r}from"./chunks/framework.BKRot_tQ.js";const Y=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),g={name:"props/modes-configuration/index.md"},y=s(`

Modes configuration

Props for configuring and extending the datepicker when using a specific mode

Info

  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, textInput as text-input and so on

range configuration

Providing configuration object will automatically enable range picker

ts
interface RangeConfig {
     noDisabledRange?: boolean;
     showLastInRange?: boolean;
     minMaxRawRange?: boolean;
diff --git a/docs/assets/props_modes-configuration_index.md.DST_YaWQ.lean.js b/docs/assets/props_modes-configuration_index.md.DZEhKzVk.lean.js
similarity index 97%
rename from docs/assets/props_modes-configuration_index.md.DST_YaWQ.lean.js
rename to docs/assets/props_modes-configuration_index.md.DZEhKzVk.lean.js
index e434fc50..e26324a7 100644
--- a/docs/assets/props_modes-configuration_index.md.DST_YaWQ.lean.js
+++ b/docs/assets/props_modes-configuration_index.md.DZEhKzVk.lean.js
@@ -1 +1 @@
-import{_ as E,D as n,c as d,I as i,am as s,o as r}from"./chunks/framework.IJS20kTW.js";const Y=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),g={name:"props/modes-configuration/index.md"},y=s("",9),F=s("",4),o=s("",4),c=s("",4),C=s("",5),u=s("",5),B=s("",4),D=s("",4),A=s("",4),m=s("",4),f=s("",6),v=s("",8),b=s("",3),_=s("",8),q=s("",6),T=s("",7),z=s("",4),x=s("",4),w=s("",7),P=s("",4),S=s("",4),V=s("",4),R=s("",4),I=s("",1);function M(N,O,U,W,$,j){const a=n("RangeDemo"),l=n("DisabledRangeDateDemo"),p=n("PresetRange"),e=n("TextInputDemo"),k=n("GlobalDemo"),t=n("EmptyDemo"),h=n("TimezoneNewDemo");return r(),d("div",null,[y,i(a,{range:{autoRange:5}}),F,i(a,{range:{partialRange:!1}}),o,i(a,{range:{minRange:3},placeholder:"At least 3 days in between"}),c,i(a,{range:{maxRange:7},placeholder:"Can't have more than 7 days in between"}),C,i(a,{range:{fixedStart:!0},clearable:!1}),u,i(a,{range:{fixedEnd:!0},clearable:!1}),B,i(a,{range:{showLastInRange:!1}}),D,i(l),A,i(a,{"time-picker":!0,range:{disableTimeRangeValidation:!0},placeholder:"Select Time"}),m,i(a,{range:{maxRange:14,minMaxRawRange:!0},"disabled-week-days":[1,2,3,4,5]}),f,i(p),v,i(a,{"multi-calendars":{solo:!0}}),b,i(a,{"multi-calendars":{static:!1}}),_,i(e,{"text-input":{format:"MM.dd.yyyy HH:mm"},placeholder:"Start Typing ..."}),q,i(k,{inline:{input:!0},"auto-apply":!0,"text-input":!0}),T,i(t,{"multi-dates":{limit:3},placeholder:"Select Multiple Dates","multi-dates-limit":3}),z,i(t,{"multi-dates":{dragSelect:!1},placeholder:"Select Multiple Dates"}),x,i(t,{"auto-apply":!0,"partial-flow":!0,placeholder:"Select Date",flow:["calendar","time"]}),w,i(h),P,i(h,{timezone:{exactMatch:!0}}),S,i(h,{timezone:{exactMatch:!0,dateInTz:"UTC"}}),V,i(h,{emitVal:!0}),R,i(k,{timezone:{convertModel:!1,timezone:"UTC"}}),I])}const G=E(g,[["render",M]]);export{Y as __pageData,G as default};
+import{_ as E,D as n,c as d,I as i,am as s,o as r}from"./chunks/framework.BKRot_tQ.js";const Y=JSON.parse('{"title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode","frontmatter":{"lang":"en-US","title":"Props - Modes configuration","description":"Configure behaviour of the specific datepicker mode"},"headers":[],"relativePath":"props/modes-configuration/index.md","filePath":"props/modes-configuration/index.md"}'),g={name:"props/modes-configuration/index.md"},y=s("",9),F=s("",4),o=s("",4),c=s("",4),C=s("",5),u=s("",5),B=s("",4),D=s("",4),A=s("",4),m=s("",4),f=s("",6),v=s("",8),b=s("",3),_=s("",8),q=s("",6),T=s("",7),z=s("",4),x=s("",4),w=s("",7),P=s("",4),S=s("",4),V=s("",4),R=s("",4),I=s("",1);function M(N,O,U,W,$,j){const a=n("RangeDemo"),l=n("DisabledRangeDateDemo"),p=n("PresetRange"),e=n("TextInputDemo"),k=n("GlobalDemo"),t=n("EmptyDemo"),h=n("TimezoneNewDemo");return r(),d("div",null,[y,i(a,{range:{autoRange:5}}),F,i(a,{range:{partialRange:!1}}),o,i(a,{range:{minRange:3},placeholder:"At least 3 days in between"}),c,i(a,{range:{maxRange:7},placeholder:"Can't have more than 7 days in between"}),C,i(a,{range:{fixedStart:!0},clearable:!1}),u,i(a,{range:{fixedEnd:!0},clearable:!1}),B,i(a,{range:{showLastInRange:!1}}),D,i(l),A,i(a,{"time-picker":!0,range:{disableTimeRangeValidation:!0},placeholder:"Select Time"}),m,i(a,{range:{maxRange:14,minMaxRawRange:!0},"disabled-week-days":[1,2,3,4,5]}),f,i(p),v,i(a,{"multi-calendars":{solo:!0}}),b,i(a,{"multi-calendars":{static:!1}}),_,i(e,{"text-input":{format:"MM.dd.yyyy HH:mm"},placeholder:"Start Typing ..."}),q,i(k,{inline:{input:!0},"auto-apply":!0,"text-input":!0}),T,i(t,{"multi-dates":{limit:3},placeholder:"Select Multiple Dates","multi-dates-limit":3}),z,i(t,{"multi-dates":{dragSelect:!1},placeholder:"Select Multiple Dates"}),x,i(t,{"auto-apply":!0,"partial-flow":!0,placeholder:"Select Date",flow:["calendar","time"]}),w,i(h),P,i(h,{timezone:{exactMatch:!0}}),S,i(h,{timezone:{exactMatch:!0,dateInTz:"UTC"}}),V,i(h,{emitVal:!0}),R,i(k,{timezone:{convertModel:!1,timezone:"UTC"}}),I])}const G=E(g,[["render",M]]);export{Y as __pageData,G as default};
diff --git a/docs/assets/props_modes_index.md.H-gBcZzP.js b/docs/assets/props_modes_index.md.DTsCdhjY.js
similarity index 99%
rename from docs/assets/props_modes_index.md.H-gBcZzP.js
rename to docs/assets/props_modes_index.md.DTsCdhjY.js
index 11c98d4d..f7c9e021 100644
--- a/docs/assets/props_modes_index.md.H-gBcZzP.js
+++ b/docs/assets/props_modes_index.md.DTsCdhjY.js
@@ -1,4 +1,4 @@
-import{_ as o,D as a,c as y,I as i,am as s,o as c}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),F={name:"props/modes/index.md"},u=s('

Modes

Set the default mode for the datepicker

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, multiCalendars as multi-calendars and so on

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean | RangeConfig
  • Default: false

Info

If the RangeConfig object is provided, range is auto enabled.

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

',8),m=s(`
Code Example
vue
<template>
+import{_ as o,D as a,c as y,I as i,am as s,o as c}from"./chunks/framework.BKRot_tQ.js";const j=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),F={name:"props/modes/index.md"},u=s('

Modes

Set the default mode for the datepicker

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, multiCalendars as multi-calendars and so on

Info

Depending on the mode, v-model might be different, so make sure to use the proper configuration

range

Range picker mode

  • Type: boolean | RangeConfig
  • Default: false

Info

If the RangeConfig object is provided, range is auto enabled.

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

',8),m=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" range />
 </template>
 
diff --git a/docs/assets/props_modes_index.md.H-gBcZzP.lean.js b/docs/assets/props_modes_index.md.DTsCdhjY.lean.js
similarity index 95%
rename from docs/assets/props_modes_index.md.H-gBcZzP.lean.js
rename to docs/assets/props_modes_index.md.DTsCdhjY.lean.js
index d7a340e2..47344dea 100644
--- a/docs/assets/props_modes_index.md.H-gBcZzP.lean.js
+++ b/docs/assets/props_modes_index.md.DTsCdhjY.lean.js
@@ -1 +1 @@
-import{_ as o,D as a,c as y,I as i,am as s,o as c}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),F={name:"props/modes/index.md"},u=s("",8),m=s("",5),C=s("",4),D=s("",4),A=s("",4),f=s("",4),B=s("",6),_=s("",5),v=s("",5),b=s("",5),T=s("",5),q=s("",5),w=s("",4),P=s("",5),x=s("",5),z=s("",1);function S(I,V,M,N,R,O){const n=a("RangeDemo"),h=a("MonthPickerDemo"),k=a("TimePickerDemo"),e=a("YearPickerDemo"),t=a("EmptyDemo"),p=a("QuarterPickerDemo"),E=a("TextInputDemo"),l=a("GlobalDemo"),d=a("TimezoneDemo"),r=a("DisplayModelDemo"),g=a("TimezoneNewDemo");return c(),y("div",null,[u,i(n),m,i(n,{"multi-calendars":!0}),C,i(h),D,i(k),A,i(e),f,i(t,{"week-picker":!0,placeholder:"Select week"}),B,i(p),_,i(E,{placeholder:"Start Typing ...","text-input":!0}),v,i(l,{inline:!0,"auto-apply":!0}),b,i(t,{"multi-dates":!0,placeholder:"Select Multiple Dates"}),T,i(t,{flow:["month","year","calendar"],placeholder:"Month > Year > Date"}),q,i(d),w,i(l,{vertical:!0}),P,i(r,{"model-auto":!0,range:!0}),x,i(g),z])}const W=o(F,[["render",S]]);export{j as __pageData,W as default};
+import{_ as o,D as a,c as y,I as i,am as s,o as c}from"./chunks/framework.BKRot_tQ.js";const j=JSON.parse('{"title":"Props - Modes","description":"Use datepicker in specific mode","frontmatter":{"lang":"en-US","title":"Props - Modes","description":"Use datepicker in specific mode"},"headers":[],"relativePath":"props/modes/index.md","filePath":"props/modes/index.md"}'),F={name:"props/modes/index.md"},u=s("",8),m=s("",5),C=s("",4),D=s("",4),A=s("",4),f=s("",4),B=s("",6),_=s("",5),v=s("",5),b=s("",5),T=s("",5),q=s("",5),w=s("",4),P=s("",5),x=s("",5),z=s("",1);function S(I,V,M,N,R,O){const n=a("RangeDemo"),h=a("MonthPickerDemo"),k=a("TimePickerDemo"),e=a("YearPickerDemo"),t=a("EmptyDemo"),p=a("QuarterPickerDemo"),E=a("TextInputDemo"),l=a("GlobalDemo"),d=a("TimezoneDemo"),r=a("DisplayModelDemo"),g=a("TimezoneNewDemo");return c(),y("div",null,[u,i(n),m,i(n,{"multi-calendars":!0}),C,i(h),D,i(k),A,i(e),f,i(t,{"week-picker":!0,placeholder:"Select week"}),B,i(p),_,i(E,{placeholder:"Start Typing ...","text-input":!0}),v,i(l,{inline:!0,"auto-apply":!0}),b,i(t,{"multi-dates":!0,placeholder:"Select Multiple Dates"}),T,i(t,{flow:["month","year","calendar"],placeholder:"Month > Year > Date"}),q,i(d),w,i(l,{vertical:!0}),P,i(r,{"model-auto":!0,range:!0}),x,i(g),z])}const W=o(F,[["render",S]]);export{j as __pageData,W as default};
diff --git a/docs/assets/props_positioning_index.md.YyAjrg37.js b/docs/assets/props_positioning_index.md.CRvumIlI.js
similarity index 99%
rename from docs/assets/props_positioning_index.md.YyAjrg37.js
rename to docs/assets/props_positioning_index.md.CRvumIlI.js
index 2a0b3792..da2e5017 100644
--- a/docs/assets/props_positioning_index.md.YyAjrg37.js
+++ b/docs/assets/props_positioning_index.md.CRvumIlI.js
@@ -1,4 +1,4 @@
-import{_ as t,D as n,c as l,I as a,am as s,o as e}from"./chunks/framework.IJS20kTW.js";const D=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"},p=s('

Positioning

Configure datepicker menu positioning

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, autoPosition as auto-position and so on

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
',6),k=s(`
Code Example
vue
<template>
+import{_ as t,D as n,c as l,I as a,am as s,o as e}from"./chunks/framework.BKRot_tQ.js";const D=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"},p=s('

Positioning

Configure datepicker menu positioning

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, autoPosition as auto-position and so on

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
',6),k=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" position="left" />
 </template>
 
diff --git a/docs/assets/props_positioning_index.md.YyAjrg37.lean.js b/docs/assets/props_positioning_index.md.CRvumIlI.lean.js
similarity index 92%
rename from docs/assets/props_positioning_index.md.YyAjrg37.lean.js
rename to docs/assets/props_positioning_index.md.CRvumIlI.lean.js
index 7e52856b..c6ef3889 100644
--- a/docs/assets/props_positioning_index.md.YyAjrg37.lean.js
+++ b/docs/assets/props_positioning_index.md.CRvumIlI.lean.js
@@ -1 +1 @@
-import{_ as t,D as n,c as l,I as a,am as s,o as e}from"./chunks/framework.IJS20kTW.js";const D=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"},p=s("",6),k=s("",5),E=s("",4),o=s("",4),r=s("",4),d=s("",1);function g(c,y,u,F,m,_){const i=n("GlobalDemo");return e(),l("div",null,[p,a(i,{position:"left"}),k,a(i,{teleport:!0}),E,a(i,{"alt-position":()=>({top:0,left:0})}),o,a(i,{"auto-position":!1}),r,a(i,{teleportCenter:!0}),d])}const b=t(h,[["render",g]]);export{D as __pageData,b as default};
+import{_ as t,D as n,c as l,I as a,am as s,o as e}from"./chunks/framework.BKRot_tQ.js";const D=JSON.parse('{"title":"Props - Positioning","description":"Datepicker menu positioning configuration","frontmatter":{"lang":"en-US","title":"Props - Positioning","description":"Datepicker menu positioning configuration"},"headers":[],"relativePath":"props/positioning/index.md","filePath":"props/positioning/index.md"}'),h={name:"props/positioning/index.md"},p=s("",6),k=s("",5),E=s("",4),o=s("",4),r=s("",4),d=s("",1);function g(c,y,u,F,m,_){const i=n("GlobalDemo");return e(),l("div",null,[p,a(i,{position:"left"}),k,a(i,{teleport:!0}),E,a(i,{"alt-position":()=>({top:0,left:0})}),o,a(i,{"auto-position":!1}),r,a(i,{teleportCenter:!0}),d])}const b=t(h,[["render",g]]);export{D as __pageData,b as default};
diff --git a/docs/assets/props_time-picker-configuration_index.md.CCjnWvEv.js b/docs/assets/props_time-picker-configuration_index.md.D6BhtHUZ.js
similarity index 99%
rename from docs/assets/props_time-picker-configuration_index.md.CCjnWvEv.js
rename to docs/assets/props_time-picker-configuration_index.md.D6BhtHUZ.js
index 4c389c22..4ef03072 100644
--- a/docs/assets/props_time-picker-configuration_index.md.CCjnWvEv.js
+++ b/docs/assets/props_time-picker-configuration_index.md.D6BhtHUZ.js
@@ -1,4 +1,4 @@
-import{_ as h,D as t,c as e,I as i,am as s,o as k}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - Time picker configuration","description":"Configure time-picker behavior","frontmatter":{"lang":"en-US","title":"Props - Time picker configuration","description":"Configure time-picker behavior"},"headers":[],"relativePath":"props/time-picker-configuration/index.md","filePath":"props/time-picker-configuration/index.md"}'),p={name:"props/time-picker-configuration/index.md"},E=s('

Time picker configuration

Configuration properties for the time picker, applicable whether it is used standalone or with the datepicker.

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, enableTimePicker as enable-time-picker and so on

time-picker-inline

Configures the time picker to display under the calendar rather than opening it as an overlay.

  • Type: boolean
  • Default: false
',6),r=s(`
Code Example
vue
<template>
+import{_ as h,D as t,c as e,I as i,am as s,o as k}from"./chunks/framework.BKRot_tQ.js";const j=JSON.parse('{"title":"Props - Time picker configuration","description":"Configure time-picker behavior","frontmatter":{"lang":"en-US","title":"Props - Time picker configuration","description":"Configure time-picker behavior"},"headers":[],"relativePath":"props/time-picker-configuration/index.md","filePath":"props/time-picker-configuration/index.md"}'),p={name:"props/time-picker-configuration/index.md"},E=s('

Time picker configuration

Configuration properties for the time picker, applicable whether it is used standalone or with the datepicker.

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, enableTimePicker as enable-time-picker and so on

time-picker-inline

Configures the time picker to display under the calendar rather than opening it as an overlay.

  • Type: boolean
  • Default: false
',6),r=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" time-picker-inline />
 </template>
 
diff --git a/docs/assets/props_time-picker-configuration_index.md.CCjnWvEv.lean.js b/docs/assets/props_time-picker-configuration_index.md.D6BhtHUZ.lean.js
similarity index 96%
rename from docs/assets/props_time-picker-configuration_index.md.CCjnWvEv.lean.js
rename to docs/assets/props_time-picker-configuration_index.md.D6BhtHUZ.lean.js
index 32eac8bf..248a1a1f 100644
--- a/docs/assets/props_time-picker-configuration_index.md.CCjnWvEv.lean.js
+++ b/docs/assets/props_time-picker-configuration_index.md.D6BhtHUZ.lean.js
@@ -1 +1 @@
-import{_ as h,D as t,c as e,I as i,am as s,o as k}from"./chunks/framework.IJS20kTW.js";const j=JSON.parse('{"title":"Props - Time picker configuration","description":"Configure time-picker behavior","frontmatter":{"lang":"en-US","title":"Props - Time picker configuration","description":"Configure time-picker behavior"},"headers":[],"relativePath":"props/time-picker-configuration/index.md","filePath":"props/time-picker-configuration/index.md"}'),p={name:"props/time-picker-configuration/index.md"},E=s("",6),r=s("",4),d=s("",4),g=s("",4),y=s("",4),o=s("",4),c=s("",4),F=s("",4),u=s("",5),m=s("",5),C=s("",4),D=s("",4),A=s("",4),_=s("",4),b=s("",4),B=s("",4),v=s("",4),T=s("",5),f=s("",7),q=s("",1);function P(x,S,V,w,I,N){const a=t("GlobalDemo"),n=t("EmptyDemo"),l=t("DisabledTimesDemo");return k(),e("div",null,[E,i(a,{"time-picker-inline":!0}),r,i(a,{"enable-time-picker":!1}),d,i(a,{"is-24":!1}),g,i(a,{"enable-seconds":!0}),y,i(a,{"enable-minutes":!0}),o,i(a,{"hours-increment":"2"}),c,i(a,{"minutes-increment":"5"}),F,i(a,{"seconds-increment":"5","enable-seconds":!0}),u,i(a,{"hours-grid-increment":"2"}),m,i(a,{"minutes-grid-increment":"2"}),C,i(a,{"seconds-grid-increment":"2","enable-seconds":!0}),D,i(a,{"no-hours-overlay":!0}),A,i(a,{"no-minutes-overlay":!0}),_,i(a,{"no-seconds-overlay":!0,"enable-seconds":!0}),b,i(n,{"min-time":{hours:11,minutes:30},placeholder:"Select Date"}),B,i(n,{"max-time":{hours:11,minutes:30},placeholder:"Select Date"}),v,i(n,{"start-time":{hours:0,minutes:0},placeholder:"Select Date"}),T,i(n,{"time-picker":!0,"disable-time-range-validation":!0,range:!0,placeholder:"Select Time"}),f,i(l),q])}const O=h(p,[["render",P]]);export{j as __pageData,O as default};
+import{_ as h,D as t,c as e,I as i,am as s,o as k}from"./chunks/framework.BKRot_tQ.js";const j=JSON.parse('{"title":"Props - Time picker configuration","description":"Configure time-picker behavior","frontmatter":{"lang":"en-US","title":"Props - Time picker configuration","description":"Configure time-picker behavior"},"headers":[],"relativePath":"props/time-picker-configuration/index.md","filePath":"props/time-picker-configuration/index.md"}'),p={name:"props/time-picker-configuration/index.md"},E=s("",6),r=s("",4),d=s("",4),g=s("",4),y=s("",4),o=s("",4),c=s("",4),F=s("",4),u=s("",5),m=s("",5),C=s("",4),D=s("",4),A=s("",4),_=s("",4),b=s("",4),B=s("",4),v=s("",4),T=s("",5),f=s("",7),q=s("",1);function P(x,S,V,w,I,N){const a=t("GlobalDemo"),n=t("EmptyDemo"),l=t("DisabledTimesDemo");return k(),e("div",null,[E,i(a,{"time-picker-inline":!0}),r,i(a,{"enable-time-picker":!1}),d,i(a,{"is-24":!1}),g,i(a,{"enable-seconds":!0}),y,i(a,{"enable-minutes":!0}),o,i(a,{"hours-increment":"2"}),c,i(a,{"minutes-increment":"5"}),F,i(a,{"seconds-increment":"5","enable-seconds":!0}),u,i(a,{"hours-grid-increment":"2"}),m,i(a,{"minutes-grid-increment":"2"}),C,i(a,{"seconds-grid-increment":"2","enable-seconds":!0}),D,i(a,{"no-hours-overlay":!0}),A,i(a,{"no-minutes-overlay":!0}),_,i(a,{"no-seconds-overlay":!0,"enable-seconds":!0}),b,i(n,{"min-time":{hours:11,minutes:30},placeholder:"Select Date"}),B,i(n,{"max-time":{hours:11,minutes:30},placeholder:"Select Date"}),v,i(n,{"start-time":{hours:0,minutes:0},placeholder:"Select Date"}),T,i(n,{"time-picker":!0,"disable-time-range-validation":!0,range:!0,placeholder:"Select Time"}),f,i(l),q])}const O=h(p,[["render",P]]);export{j as __pageData,O as default};
diff --git a/docs/assets/slots_components_index.md.BrJZD4-9.js b/docs/assets/slots_components_index.md.zUCX-m9_.js
similarity index 99%
rename from docs/assets/slots_components_index.md.BrJZD4-9.js
rename to docs/assets/slots_components_index.md.zUCX-m9_.js
index e5a54140..daab9aea 100644
--- a/docs/assets/slots_components_index.md.BrJZD4-9.js
+++ b/docs/assets/slots_components_index.md.zUCX-m9_.js
@@ -1,4 +1,4 @@
-import{_ as l,D as i,c as t,I as a,am as s,o as p}from"./chunks/framework.IJS20kTW.js";const D=JSON.parse('{"title":"Slots - Components","description":"Replace the built-in components with custom implementation","frontmatter":{"lang":"en-US","title":"Slots - Components","description":"Replace the built-in components with custom implementation"},"headers":[],"relativePath":"slots/components/index.md","filePath":"slots/components/index.md"}'),e={name:"slots/components/index.md"},E=s('

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

',6),r=s(`

Exposed props:

Date picker

ts
interface DefaultSelect {
+import{_ as l,D as i,c as t,I as a,am as s,o as p}from"./chunks/framework.BKRot_tQ.js";const D=JSON.parse('{"title":"Slots - Components","description":"Replace the built-in components with custom implementation","frontmatter":{"lang":"en-US","title":"Slots - Components","description":"Replace the built-in components with custom implementation"},"headers":[],"relativePath":"slots/components/index.md","filePath":"slots/components/index.md"}'),e={name:"slots/components/index.md"},E=s('

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

',6),r=s(`

Exposed props:

Date picker

ts
interface DefaultSelect {
   value: number;
   text: string;
   className?: Record<string, boolean>;
diff --git a/docs/assets/slots_components_index.md.BrJZD4-9.lean.js b/docs/assets/slots_components_index.md.zUCX-m9_.lean.js
similarity index 91%
rename from docs/assets/slots_components_index.md.BrJZD4-9.lean.js
rename to docs/assets/slots_components_index.md.zUCX-m9_.lean.js
index 2b7ba5a0..02d35b22 100644
--- a/docs/assets/slots_components_index.md.BrJZD4-9.lean.js
+++ b/docs/assets/slots_components_index.md.zUCX-m9_.lean.js
@@ -1 +1 @@
-import{_ as l,D as i,c as t,I as a,am as s,o as p}from"./chunks/framework.IJS20kTW.js";const D=JSON.parse('{"title":"Slots - Components","description":"Replace the built-in components with custom implementation","frontmatter":{"lang":"en-US","title":"Slots - Components","description":"Replace the built-in components with custom implementation"},"headers":[],"relativePath":"slots/components/index.md","filePath":"slots/components/index.md"}'),e={name:"slots/components/index.md"},E=s("",6),r=s("",12),d=s("",7),g=s("",3);function y(F,o,c,C,u,B){const n=i("MonthYearSlotDemo"),h=i("TimePickerSlotDemo"),k=i("ActionRowSlotDemo");return p(),t("div",null,[E,a(n,{"default-slot":!0}),r,a(h),d,a(k),g])}const m=l(e,[["render",y]]);export{D as __pageData,m as default};
+import{_ as l,D as i,c as t,I as a,am as s,o as p}from"./chunks/framework.BKRot_tQ.js";const D=JSON.parse('{"title":"Slots - Components","description":"Replace the built-in components with custom implementation","frontmatter":{"lang":"en-US","title":"Slots - Components","description":"Replace the built-in components with custom implementation"},"headers":[],"relativePath":"slots/components/index.md","filePath":"slots/components/index.md"}'),e={name:"slots/components/index.md"},E=s("",6),r=s("",12),d=s("",7),g=s("",3);function y(F,o,c,C,u,B){const n=i("MonthYearSlotDemo"),h=i("TimePickerSlotDemo"),k=i("ActionRowSlotDemo");return p(),t("div",null,[E,a(n,{"default-slot":!0}),r,a(h),d,a(k),g])}const m=l(e,[["render",y]]);export{D as __pageData,m as default};
diff --git a/docs/assets/slots_content_index.md.BkiMSQRe.js b/docs/assets/slots_content_index.md.CCqeNkz2.js
similarity index 99%
rename from docs/assets/slots_content_index.md.BkiMSQRe.js
rename to docs/assets/slots_content_index.md.CCqeNkz2.js
index cd9566ea..c56de423 100644
--- a/docs/assets/slots_content_index.md.BkiMSQRe.js
+++ b/docs/assets/slots_content_index.md.CCqeNkz2.js
@@ -1,4 +1,4 @@
-import{_ as t,D as n,c as k,I as i,am as s,o as l}from"./chunks/framework.IJS20kTW.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>
+import{_ as t,D as n,c as k,I as i,am as s,o as l}from"./chunks/framework.BKRot_tQ.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' : ''">
diff --git a/docs/assets/slots_content_index.md.BkiMSQRe.lean.js b/docs/assets/slots_content_index.md.CCqeNkz2.lean.js
similarity index 95%
rename from docs/assets/slots_content_index.md.BkiMSQRe.lean.js
rename to docs/assets/slots_content_index.md.CCqeNkz2.lean.js
index 9390a0d7..5cd31fd9 100644
--- a/docs/assets/slots_content_index.md.BkiMSQRe.lean.js
+++ b/docs/assets/slots_content_index.md.CCqeNkz2.lean.js
@@ -1 +1 @@
-import{_ as t,D as n,c as k,I as i,am as s,o as l}from"./chunks/framework.IJS20kTW.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("",3),B=s("",1);function m(b,v,f,_,q,T){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,i(a,{useMenuHeaderSlot:!0,placeholder:"Select Date"}),B])}const w=t(p,[["render",m]]);export{P as __pageData,w as default};
+import{_ as t,D as n,c as k,I as i,am as s,o as l}from"./chunks/framework.BKRot_tQ.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("",3),B=s("",1);function m(b,v,f,_,q,T){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,i(a,{useMenuHeaderSlot:!0,placeholder:"Select Date"}),B])}const w=t(p,[["render",m]]);export{P as __pageData,w as default};
diff --git a/docs/assets/slots_icons_index.md.DRv55zkf.js b/docs/assets/slots_icons_index.md.DTSIjGV0.js
similarity index 99%
rename from docs/assets/slots_icons_index.md.DRv55zkf.js
rename to docs/assets/slots_icons_index.md.DTSIjGV0.js
index e2ed22f2..169fb12a 100644
--- a/docs/assets/slots_icons_index.md.DRv55zkf.js
+++ b/docs/assets/slots_icons_index.md.DTSIjGV0.js
@@ -1,4 +1,4 @@
-import{_ as l,D as t,c as k,I as i,j as n,a as h,am as a,o as p}from"./chunks/framework.IJS20kTW.js";const P=JSON.parse('{"title":"Slots - Icons","description":"Customize the icons in the datepicker","frontmatter":{"lang":"en-US","title":"Slots - Icons","description":"Customize the icons in the datepicker"},"headers":[],"relativePath":"slots/icons/index.md","filePath":"slots/icons/index.md"}'),e={name:"slots/icons/index.md"},E=n("h1",{id:"icons",tabindex:"-1"},[h("Icons "),n("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1),r=n("p",null,"Change datepicker icons",-1),d=n("h2",{id:"input-icon",tabindex:"-1"},[h("input-icon "),n("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1),g=n("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1),y=a(`
Code Example
vue
<template>
+import{_ as l,D as t,c as k,I as i,j as n,a as h,am as a,o as p}from"./chunks/framework.BKRot_tQ.js";const P=JSON.parse('{"title":"Slots - Icons","description":"Customize the icons in the datepicker","frontmatter":{"lang":"en-US","title":"Slots - Icons","description":"Customize the icons in the datepicker"},"headers":[],"relativePath":"slots/icons/index.md","filePath":"slots/icons/index.md"}'),e={name:"slots/icons/index.md"},E=n("h1",{id:"icons",tabindex:"-1"},[h("Icons "),n("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1),r=n("p",null,"Change datepicker icons",-1),d=n("h2",{id:"input-icon",tabindex:"-1"},[h("input-icon "),n("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1),g=n("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1),y=a(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #input-icon>
             <img class="input-slot-image" src="/logo.png"/>
diff --git a/docs/assets/slots_icons_index.md.DRv55zkf.lean.js b/docs/assets/slots_icons_index.md.DTSIjGV0.lean.js
similarity index 95%
rename from docs/assets/slots_icons_index.md.DRv55zkf.lean.js
rename to docs/assets/slots_icons_index.md.DTSIjGV0.lean.js
index 4a6747cc..ecec179b 100644
--- a/docs/assets/slots_icons_index.md.DRv55zkf.lean.js
+++ b/docs/assets/slots_icons_index.md.DTSIjGV0.lean.js
@@ -1 +1 @@
-import{_ as l,D as t,c as k,I as i,j as n,a as h,am as a,o as p}from"./chunks/framework.IJS20kTW.js";const P=JSON.parse('{"title":"Slots - Icons","description":"Customize the icons in the datepicker","frontmatter":{"lang":"en-US","title":"Slots - Icons","description":"Customize the icons in the datepicker"},"headers":[],"relativePath":"slots/icons/index.md","filePath":"slots/icons/index.md"}'),e={name:"slots/icons/index.md"},E=n("h1",{id:"icons",tabindex:"-1"},[h("Icons "),n("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1),r=n("p",null,"Change datepicker icons",-1),d=n("h2",{id:"input-icon",tabindex:"-1"},[h("input-icon "),n("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1),g=n("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1),y=a("",3),c=a("",3),F=a("",3),o=a("",3),C=a("",3),u=a("",3),B=a("",3),D=a("",3),m=a("",3),A=a("",1);function _(q,v,w,b,T,f){const s=t("DemoSlots");return p(),k("div",null,[E,r,d,g,i(s,{useInputIconSlot:!0}),y,i(s,{useClearIconSlot:!0}),c,i(s,{useClockIconSlot:!0}),F,i(s,{useArrowLeftSlot:!0}),o,i(s,{useArrowRightSlot:!0}),C,i(s,{useArrowUpSlot:!0}),u,i(s,{useArrowDownSlot:!0}),B,i(s,{useCalendarIconSlot:!0}),D,i(s,{useTpInlineArrowUp:!0}),m,i(s,{useTpInlineArrowDown:!0}),A])}const S=l(e,[["render",_]]);export{P as __pageData,S as default};
+import{_ as l,D as t,c as k,I as i,j as n,a as h,am as a,o as p}from"./chunks/framework.BKRot_tQ.js";const P=JSON.parse('{"title":"Slots - Icons","description":"Customize the icons in the datepicker","frontmatter":{"lang":"en-US","title":"Slots - Icons","description":"Customize the icons in the datepicker"},"headers":[],"relativePath":"slots/icons/index.md","filePath":"slots/icons/index.md"}'),e={name:"slots/icons/index.md"},E=n("h1",{id:"icons",tabindex:"-1"},[h("Icons "),n("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1),r=n("p",null,"Change datepicker icons",-1),d=n("h2",{id:"input-icon",tabindex:"-1"},[h("input-icon "),n("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1),g=n("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1),y=a("",3),c=a("",3),F=a("",3),o=a("",3),C=a("",3),u=a("",3),B=a("",3),D=a("",3),m=a("",3),A=a("",1);function _(q,v,w,b,T,f){const s=t("DemoSlots");return p(),k("div",null,[E,r,d,g,i(s,{useInputIconSlot:!0}),y,i(s,{useClearIconSlot:!0}),c,i(s,{useClockIconSlot:!0}),F,i(s,{useArrowLeftSlot:!0}),o,i(s,{useArrowRightSlot:!0}),C,i(s,{useArrowUpSlot:!0}),u,i(s,{useArrowDownSlot:!0}),B,i(s,{useCalendarIconSlot:!0}),D,i(s,{useTpInlineArrowUp:!0}),m,i(s,{useTpInlineArrowDown:!0}),A])}const S=l(e,[["render",_]]);export{P as __pageData,S as default};
diff --git a/docs/assets/slots_overlay_index.md.wp0_DWD6.js b/docs/assets/slots_overlay_index.md.p6o8_8U6.js
similarity index 99%
rename from docs/assets/slots_overlay_index.md.wp0_DWD6.js
rename to docs/assets/slots_overlay_index.md.p6o8_8U6.js
index bb998f2e..83f2d959 100644
--- a/docs/assets/slots_overlay_index.md.wp0_DWD6.js
+++ b/docs/assets/slots_overlay_index.md.p6o8_8U6.js
@@ -1,4 +1,4 @@
-import{_ as l,D as h,c as t,I as i,am as s,o as k}from"./chunks/framework.IJS20kTW.js";const I=JSON.parse('{"title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu","frontmatter":{"lang":"en-US","title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu"},"headers":[],"relativePath":"slots/overlay/index.md","filePath":"slots/overlay/index.md"}'),p={name:"slots/overlay/index.md"},e=s('

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

',7),E=s(`
Code Example
vue
<template>
+import{_ as l,D as h,c as t,I as i,am as s,o as k}from"./chunks/framework.BKRot_tQ.js";const I=JSON.parse('{"title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu","frontmatter":{"lang":"en-US","title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu"},"headers":[],"relativePath":"slots/overlay/index.md","filePath":"slots/overlay/index.md"}'),p={name:"slots/overlay/index.md"},e=s('

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

',7),E=s(`
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #time-picker-overlay="{ hours, minutes, setHours, setMinutes }">
         <div class="time-picker-overlay">
diff --git a/docs/assets/slots_overlay_index.md.wp0_DWD6.lean.js b/docs/assets/slots_overlay_index.md.p6o8_8U6.lean.js
similarity index 95%
rename from docs/assets/slots_overlay_index.md.wp0_DWD6.lean.js
rename to docs/assets/slots_overlay_index.md.p6o8_8U6.lean.js
index 592d58cd..b025db96 100644
--- a/docs/assets/slots_overlay_index.md.wp0_DWD6.lean.js
+++ b/docs/assets/slots_overlay_index.md.p6o8_8U6.lean.js
@@ -1 +1 @@
-import{_ as l,D as h,c as t,I as i,am as s,o as k}from"./chunks/framework.IJS20kTW.js";const I=JSON.parse('{"title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu","frontmatter":{"lang":"en-US","title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu"},"headers":[],"relativePath":"slots/overlay/index.md","filePath":"slots/overlay/index.md"}'),p={name:"slots/overlay/index.md"},e=s("",7),E=s("",5),r=s("",5),d=s("",5),g=s("",5),y=s("",5),o=s("",5),F=s("",5),c=s("",5),u=s("",3),C=s("",5),m=s("",5),A=s("",5),D=s("",5),v=s("",5),B=s("",5),_=s("",3);function q(b,T,f,x,P,S){const a=h("DemoSlots"),n=h("MonthYearSlotDemo");return k(),t("div",null,[e,i(a,{useTimePickerOverlay:!0}),E,i(a,{useHoursSlot:!0}),r,i(a,{useMinutesSlot:!0}),d,i(a,{useHoursOverlaySlot:!0}),g,i(a,{useMinutesOverlaySlot:!0}),y,i(a,{useMonthSlot:!0}),o,i(a,{useYearSlot:!0}),F,i(a,{useMonthOverlaySlot:!0}),c,i(a,{useYearOverlaySlot:!0}),u,i(n,{"month-overlay-slot":!0}),C,i(n,{"year-overlay-slot":!0}),m,i(a,{"use-month-overlay-header-slot":!0}),A,i(a,{useYearOverlayHeaderSlot:!0}),D,i(a,{useHoursOverlayHeaderSlot:!0}),v,i(a,{useMinutesOverlayHeaderSlot:!0}),B,i(a,{useSecondsOverlayHeaderSlot:!0}),_])}const M=l(p,[["render",q]]);export{I as __pageData,M as default};
+import{_ as l,D as h,c as t,I as i,am as s,o as k}from"./chunks/framework.BKRot_tQ.js";const I=JSON.parse('{"title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu","frontmatter":{"lang":"en-US","title":"Slots - Overlay","description":"Customize the overlays in the datepicker menu"},"headers":[],"relativePath":"slots/overlay/index.md","filePath":"slots/overlay/index.md"}'),p={name:"slots/overlay/index.md"},e=s("",7),E=s("",5),r=s("",5),d=s("",5),g=s("",5),y=s("",5),o=s("",5),F=s("",5),c=s("",5),u=s("",3),C=s("",5),m=s("",5),A=s("",5),D=s("",5),v=s("",5),B=s("",5),_=s("",3);function q(b,T,f,x,P,S){const a=h("DemoSlots"),n=h("MonthYearSlotDemo");return k(),t("div",null,[e,i(a,{useTimePickerOverlay:!0}),E,i(a,{useHoursSlot:!0}),r,i(a,{useMinutesSlot:!0}),d,i(a,{useHoursOverlaySlot:!0}),g,i(a,{useMinutesOverlaySlot:!0}),y,i(a,{useMonthSlot:!0}),o,i(a,{useYearSlot:!0}),F,i(a,{useMonthOverlaySlot:!0}),c,i(a,{useYearOverlaySlot:!0}),u,i(n,{"month-overlay-slot":!0}),C,i(n,{"year-overlay-slot":!0}),m,i(a,{"use-month-overlay-header-slot":!0}),A,i(a,{useYearOverlayHeaderSlot:!0}),D,i(a,{useHoursOverlayHeaderSlot:!0}),v,i(a,{useMinutesOverlayHeaderSlot:!0}),B,i(a,{useSecondsOverlayHeaderSlot:!0}),_])}const M=l(p,[["render",q]]);export{I as __pageData,M as default};
diff --git a/docs/assets/slots_trigger-and-input_index.md.c9_O1uv2.js b/docs/assets/slots_trigger-and-input_index.md.Cr-l7A-B.js
similarity index 99%
rename from docs/assets/slots_trigger-and-input_index.md.c9_O1uv2.js
rename to docs/assets/slots_trigger-and-input_index.md.Cr-l7A-B.js
index a7c52781..c13fc0f5 100644
--- a/docs/assets/slots_trigger-and-input_index.md.c9_O1uv2.js
+++ b/docs/assets/slots_trigger-and-input_index.md.Cr-l7A-B.js
@@ -1,4 +1,4 @@
-import{_ as e,D as l,c as p,I as a,j as s,a as t,am as n,o as h}from"./chunks/framework.IJS20kTW.js";const A=JSON.parse('{"title":"Slots - Trigger and input","description":"Change the datepicker trigger or input","frontmatter":{"lang":"en-US","title":"Slots - Trigger and input","description":"Change the datepicker trigger or input"},"headers":[],"relativePath":"slots/trigger-and-input/index.md","filePath":"slots/trigger-and-input/index.md"}'),k={name:"slots/trigger-and-input/index.md"},d=s("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),s("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1),E=s("p",null,"Use custom input or trigger element",-1),o=s("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),s("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1),r=s("p",null,"This slot replaces the input element with your custom element",-1),c=n(`
Code Example
vue
<template>
+import{_ as e,D as l,c as p,I as a,j as s,a as t,am as n,o as h}from"./chunks/framework.BKRot_tQ.js";const A=JSON.parse('{"title":"Slots - Trigger and input","description":"Change the datepicker trigger or input","frontmatter":{"lang":"en-US","title":"Slots - Trigger and input","description":"Change the datepicker trigger or input"},"headers":[],"relativePath":"slots/trigger-and-input/index.md","filePath":"slots/trigger-and-input/index.md"}'),k={name:"slots/trigger-and-input/index.md"},d=s("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),s("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1),E=s("p",null,"Use custom input or trigger element",-1),o=s("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),s("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1),r=s("p",null,"This slot replaces the input element with your custom element",-1),c=n(`
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>
diff --git a/docs/assets/slots_trigger-and-input_index.md.c9_O1uv2.lean.js b/docs/assets/slots_trigger-and-input_index.md.Cr-l7A-B.lean.js
similarity index 94%
rename from docs/assets/slots_trigger-and-input_index.md.c9_O1uv2.lean.js
rename to docs/assets/slots_trigger-and-input_index.md.Cr-l7A-B.lean.js
index 77039839..efba305d 100644
--- a/docs/assets/slots_trigger-and-input_index.md.c9_O1uv2.lean.js
+++ b/docs/assets/slots_trigger-and-input_index.md.Cr-l7A-B.lean.js
@@ -1 +1 @@
-import{_ as e,D as l,c as p,I as a,j as s,a as t,am as n,o as h}from"./chunks/framework.IJS20kTW.js";const A=JSON.parse('{"title":"Slots - Trigger and input","description":"Change the datepicker trigger or input","frontmatter":{"lang":"en-US","title":"Slots - Trigger and input","description":"Change the datepicker trigger or input"},"headers":[],"relativePath":"slots/trigger-and-input/index.md","filePath":"slots/trigger-and-input/index.md"}'),k={name:"slots/trigger-and-input/index.md"},d=s("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),s("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1),E=s("p",null,"Use custom input or trigger element",-1),o=s("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),s("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1),r=s("p",null,"This slot replaces the input element with your custom element",-1),c=n("",6),g=n("",1);function y(u,F,m,C,v,_){const i=l("DemoSlots");return h(),p("div",null,[d,E,o,r,a(i,{useTriggerSlot:!0}),c,a(i,{useDpInputSlot:!0}),g])}const B=e(k,[["render",y]]);export{A as __pageData,B as default};
+import{_ as e,D as l,c as p,I as a,j as s,a as t,am as n,o as h}from"./chunks/framework.BKRot_tQ.js";const A=JSON.parse('{"title":"Slots - Trigger and input","description":"Change the datepicker trigger or input","frontmatter":{"lang":"en-US","title":"Slots - Trigger and input","description":"Change the datepicker trigger or input"},"headers":[],"relativePath":"slots/trigger-and-input/index.md","filePath":"slots/trigger-and-input/index.md"}'),k={name:"slots/trigger-and-input/index.md"},d=s("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),s("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1),E=s("p",null,"Use custom input or trigger element",-1),o=s("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),s("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1),r=s("p",null,"This slot replaces the input element with your custom element",-1),c=n("",6),g=n("",1);function y(u,F,m,C,v,_){const i=l("DemoSlots");return h(),p("div",null,[d,E,o,r,a(i,{useTriggerSlot:!0}),c,a(i,{useDpInputSlot:!0}),g])}const B=e(k,[["render",y]]);export{A as __pageData,B as default};
diff --git a/docs/assets/style.lbjP4jmZ.css b/docs/assets/style.CZMjK3RU.css
similarity index 94%
rename from docs/assets/style.lbjP4jmZ.css
rename to docs/assets/style.CZMjK3RU.css
index 1f4a14af..17c874c9 100644
--- a/docs/assets/style.lbjP4jmZ.css
+++ b/docs/assets/style.CZMjK3RU.css
@@ -1 +1 @@
-@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic-ext.BBPuwvHQ.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;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic-ext.r48I6akx.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;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}: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: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}: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{overflow-x:auto}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 h4{margin:24px 0 0;letter-spacing:-.01em;line-height:24px;font-size:18px}.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;color:var(--vp-c-text-2)}.vp-doc blockquote>p{margin:0;font-size:16px;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,.vp-doc h4>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-d6be1790]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-d6be1790]{padding:96px 32px 168px}}.code[data-v-d6be1790]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-d6be1790]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-d6be1790]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-d6be1790]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-d6be1790]{padding-top:20px}.link[data-v-d6be1790]{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-d6be1790]: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-a5bbad30]{display:none}.VPDocAsideOutline.has-outline[data-v-a5bbad30]{display:block}.content[data-v-a5bbad30]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-a5bbad30]{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-a5bbad30]{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-e98dd255]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-e98dd255]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-e257564d]{margin-top:64px}.edit-info[data-v-e257564d]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-e257564d]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-e257564d]{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-e257564d]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-e257564d]{margin-right:8px}.prev-next[data-v-e257564d]{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-e257564d]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-e257564d]{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-e257564d]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-e257564d]{margin-left:auto;text-align:right}.desc[data-v-e257564d]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-e257564d]{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-8e2d4988]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-8e2d4988]{padding:0 48px}}@media (min-width: 960px){.container[data-v-8e2d4988]{width:100%;padding:0 64px}}.vp-doc[data-v-8e2d4988] .VPHomeSponsors,.vp-doc[data-v-8e2d4988] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-8e2d4988] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-8e2d4988] .VPHomeSponsors a,.vp-doc[data-v-8e2d4988] .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-17a5e62e]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-17a5e62e]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-17a5e62e]{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-17a5e62e]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-17a5e62e]{color:var(--vp-c-text-1)}.icon[data-v-17a5e62e]{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-17a5e62e]{font-size:14px}.icon[data-v-17a5e62e]{font-size:16px}}.open>.icon[data-v-17a5e62e]{transform:rotate(90deg)}.items[data-v-17a5e62e]{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-17a5e62e]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-17a5e62e]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-17a5e62e]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-17a5e62e]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-17a5e62e]{transition:all .2s ease-out}.flyout-leave-active[data-v-17a5e62e]{transition:all .15s ease-in}.flyout-enter-from[data-v-17a5e62e],.flyout-leave-to[data-v-17a5e62e]{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-5337faa4]{opacity:1}.moon[data-v-5337faa4],.dark .sun[data-v-5337faa4]{opacity:0}.dark .moon[data-v-5337faa4]{opacity:1}.dark .VPSwitchAppearance[data-v-5337faa4] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-6c893767]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-6c893767]{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-b98bc113]{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-b98bc113] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-b98bc113] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-b98bc113] .group:last-child{padding-bottom:0}.VPMenu[data-v-b98bc113] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-b98bc113] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-b98bc113] .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-b98bc113] .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-bb2aa2f0]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-bb2aa2f0]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-bb2aa2f0]{display:none}}.trans-title[data-v-bb2aa2f0]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-bb2aa2f0],.item.social-links[data-v-bb2aa2f0]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-bb2aa2f0]{min-width:176px}.appearance-action[data-v-bb2aa2f0]{margin-right:-2px}.social-links-list[data-v-bb2aa2f0]{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-dc692963]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-dc692963]{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-Key--pressed{transform:none;box-shadow:none}.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-6aa21345]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .25s}.VPNavBar.screen-open[data-v-6aa21345]{transition:none;background-color:var(--vp-nav-bg-color);border-bottom:1px solid var(--vp-c-divider)}.VPNavBar[data-v-6aa21345]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-6aa21345]:not(.home){background-color:transparent}.VPNavBar[data-v-6aa21345]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-6aa21345]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-6aa21345]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-6aa21345]{padding:0}}.container[data-v-6aa21345]{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-6aa21345],.container>.content[data-v-6aa21345]{pointer-events:none}.container[data-v-6aa21345] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-6aa21345]{max-width:100%}}.title[data-v-6aa21345]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-6aa21345]{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-6aa21345]{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-6aa21345]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-6aa21345]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-6aa21345]{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-6aa21345]{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-6aa21345]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-6aa21345]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-6aa21345]{column-gap:.5rem}}.menu+.translations[data-v-6aa21345]:before,.menu+.appearance[data-v-6aa21345]:before,.menu+.social-links[data-v-6aa21345]:before,.translations+.appearance[data-v-6aa21345]:before,.appearance+.social-links[data-v-6aa21345]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-6aa21345]:before,.translations+.appearance[data-v-6aa21345]:before{margin-right:16px}.appearance+.social-links[data-v-6aa21345]:before{margin-left:16px}.social-links[data-v-6aa21345]{margin-right:-8px}.divider[data-v-6aa21345]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-6aa21345]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-6aa21345]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-6aa21345]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-6aa21345]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-6aa21345]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-6aa21345]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-b44890b2]{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-b44890b2]{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-b9ab8c58]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-b9ab8c58]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-b9ab8c58]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-b9ab8c58]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-b9ab8c58]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-b9ab8c58]{transform:rotate(45deg)}.button[data-v-b9ab8c58]{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-b9ab8c58]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-b9ab8c58]{transition:transform .25s}.group[data-v-b9ab8c58]:first-child{padding-top:0}.group+.group[data-v-b9ab8c58],.group+.item[data-v-b9ab8c58]{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-f2779853]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));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 .25s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-f2779853],.VPNavScreen.fade-leave-active[data-v-f2779853]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-f2779853],.VPNavScreen.fade-leave-active .container[data-v-f2779853]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-f2779853],.VPNavScreen.fade-leave-to[data-v-f2779853]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-f2779853],.VPNavScreen.fade-leave-to .container[data-v-f2779853]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-f2779853]{display:none}}.container[data-v-f2779853]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-f2779853],.menu+.appearance[data-v-f2779853],.translations+.appearance[data-v-f2779853]{margin-top:24px}.menu+.social-links[data-v-f2779853]{margin-top:16px}.appearance+.social-links[data-v-f2779853]{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-b7550ba0]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-b7550ba0]{padding-bottom:10px}.item[data-v-b7550ba0]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-b7550ba0]{cursor:pointer}.indicator[data-v-b7550ba0]{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-b7550ba0],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-b7550ba0],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-b7550ba0],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-b7550ba0]{background-color:var(--vp-c-brand-1)}.link[data-v-b7550ba0]{display:flex;align-items:center;flex-grow:1}.text[data-v-b7550ba0]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-b7550ba0]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-b7550ba0],.VPSidebarItem.level-2 .text[data-v-b7550ba0],.VPSidebarItem.level-3 .text[data-v-b7550ba0],.VPSidebarItem.level-4 .text[data-v-b7550ba0],.VPSidebarItem.level-5 .text[data-v-b7550ba0]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-b7550ba0]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-1.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-2.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-3.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-4.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-5.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-b7550ba0]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-b7550ba0]{color:var(--vp-c-brand-1)}.caret[data-v-b7550ba0]{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-b7550ba0]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-b7550ba0]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-b7550ba0]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-b7550ba0]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-b7550ba0],.VPSidebarItem.level-2 .items[data-v-b7550ba0],.VPSidebarItem.level-3 .items[data-v-b7550ba0],.VPSidebarItem.level-4 .items[data-v-b7550ba0],.VPSidebarItem.level-5 .items[data-v-b7550ba0]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-b7550ba0]{display:none}.no-transition[data-v-c40bc020] .caret-icon{transition:none}.group+.group[data-v-c40bc020]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-c40bc020]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSidebar[data-v-319d5ca6]{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-319d5ca6]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-319d5ca6]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-319d5ca6]{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-319d5ca6]{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-319d5ca6]{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-319d5ca6]{outline:0}.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_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__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:not(.dp__input_focus){border-color:var(--dp-border-color-hover)}.dp__input_reg{caret-color:#0000}.dp__input_focus{border-color:var(--dp-border-color-focus)}.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-btn{position:absolute;top:50%;inset-inline-end:0;transform:translateY(-50%);cursor:pointer;color:var(--dp-icon-color);background:#0000;border:none;display:inline-flex;align-items:center;padding:0;margin:0}.dp__input_icon_pad{padding-inline-start:var(--dp-input-icon-padding)}.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-cell-border-radius);border-end-start-radius:var(--dp-cell-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-cell-border-radius);border-end-end-radius:var(--dp-cell-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;height:var(--dp-overlay-height)}.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_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__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__inc_dec_button_inline{width:100%;padding:0;height:8px;cursor:pointer;display:flex;align-items:center}.dp__inc_dec_button_disabled,.dp__inc_dec_button_disabled:hover{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_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__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-quarter-picker-wrap{display:flex;flex-direction:column;height:100%;min-width:var(--dp-menu-min-width)}.dp--qr-btn-disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp--qr-btn-disabled:hover{background:var(--dp-disabled-color)}.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__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-border-color-focus: #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: #fff;--dp-secondary-color: #c0c4cc;--dp-border-color: #ddd;--dp-menu-border-color: #ddd;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #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__main *{direction:ltr!important}.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)}.dp--hidden-el{visibility:hidden}.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}.my-icon{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.my-header{padding:5px;border:1px solid red;width:100%;text-align:center}.buttons-wrap[data-v-6bf8e806]{display:flex;gap:5px;margin-bottom:10px}.change-btn[data-v-6bf8e806]{padding:5px;color:var(--vp-c-brand);border:1px solid var(--vp-c-brand);border-radius:4px}.btn-active[data-v-6bf8e806]{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-9aafd744]{display:flex;gap:5px;margin-bottom:10px}.change-btn[data-v-9aafd744]{padding:5px;color:var(--vp-c-brand);border:1px solid var(--vp-c-brand);border-radius:4px}.btn-active[data-v-9aafd744]{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}.tz-demo-wrap[data-v-76aa1e38]{display:flex;flex-direction:column;align-items:center;width:100%}.tz-range-slider-wrap[data-v-76aa1e38]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:10px}.tz-range-slider[data-v-76aa1e38]{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;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic-ext.BBPuwvHQ.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;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic-ext.r48I6akx.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;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,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:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}: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: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}: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{overflow-x:auto}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 h4{margin:24px 0 0;letter-spacing:-.01em;line-height:24px;font-size:18px}.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;color:var(--vp-c-text-2)}.vp-doc blockquote>p{margin:0;font-size:16px;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,.vp-doc h4>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-d6be1790]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-d6be1790]{padding:96px 32px 168px}}.code[data-v-d6be1790]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-d6be1790]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-d6be1790]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-d6be1790]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-d6be1790]{padding-top:20px}.link[data-v-d6be1790]{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-d6be1790]: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-a5bbad30]{display:none}.VPDocAsideOutline.has-outline[data-v-a5bbad30]{display:block}.content[data-v-a5bbad30]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-a5bbad30]{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-a5bbad30]{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-e98dd255]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-e98dd255]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-e257564d]{margin-top:64px}.edit-info[data-v-e257564d]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-e257564d]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-e257564d]{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-e257564d]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-e257564d]{margin-right:8px}.prev-next[data-v-e257564d]{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-e257564d]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-e257564d]{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-e257564d]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-e257564d]{margin-left:auto;text-align:right}.desc[data-v-e257564d]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-e257564d]{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-8e2d4988]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-8e2d4988]{padding:0 48px}}@media (min-width: 960px){.container[data-v-8e2d4988]{width:100%;padding:0 64px}}.vp-doc[data-v-8e2d4988] .VPHomeSponsors,.vp-doc[data-v-8e2d4988] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-8e2d4988] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-8e2d4988] .VPHomeSponsors a,.vp-doc[data-v-8e2d4988] .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-17a5e62e]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-17a5e62e]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-17a5e62e]{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-17a5e62e]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-17a5e62e]{color:var(--vp-c-text-1)}.icon[data-v-17a5e62e]{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-17a5e62e]{font-size:14px}.icon[data-v-17a5e62e]{font-size:16px}}.open>.icon[data-v-17a5e62e]{transform:rotate(90deg)}.items[data-v-17a5e62e]{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-17a5e62e]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-17a5e62e]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-17a5e62e]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-17a5e62e]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-17a5e62e]{transition:all .2s ease-out}.flyout-leave-active[data-v-17a5e62e]{transition:all .15s ease-in}.flyout-enter-from[data-v-17a5e62e],.flyout-leave-to[data-v-17a5e62e]{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-5337faa4]{opacity:1}.moon[data-v-5337faa4],.dark .sun[data-v-5337faa4]{opacity:0}.dark .moon[data-v-5337faa4]{opacity:1}.dark .VPSwitchAppearance[data-v-5337faa4] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-6c893767]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-6c893767]{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-b98bc113]{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-b98bc113] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-b98bc113] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-b98bc113] .group:last-child{padding-bottom:0}.VPMenu[data-v-b98bc113] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-b98bc113] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-b98bc113] .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-b98bc113] .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-bb2aa2f0]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-bb2aa2f0]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-bb2aa2f0]{display:none}}.trans-title[data-v-bb2aa2f0]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-bb2aa2f0],.item.social-links[data-v-bb2aa2f0]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-bb2aa2f0]{min-width:176px}.appearance-action[data-v-bb2aa2f0]{margin-right:-2px}.social-links-list[data-v-bb2aa2f0]{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-dc692963]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-dc692963]{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-Key--pressed{transform:none;box-shadow:none}.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-6aa21345]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .25s}.VPNavBar.screen-open[data-v-6aa21345]{transition:none;background-color:var(--vp-nav-bg-color);border-bottom:1px solid var(--vp-c-divider)}.VPNavBar[data-v-6aa21345]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-6aa21345]:not(.home){background-color:transparent}.VPNavBar[data-v-6aa21345]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-6aa21345]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-6aa21345]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-6aa21345]{padding:0}}.container[data-v-6aa21345]{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-6aa21345],.container>.content[data-v-6aa21345]{pointer-events:none}.container[data-v-6aa21345] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-6aa21345]{max-width:100%}}.title[data-v-6aa21345]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-6aa21345]{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-6aa21345]{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-6aa21345]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-6aa21345]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-6aa21345]{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-6aa21345]{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-6aa21345]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-6aa21345]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-6aa21345]{column-gap:.5rem}}.menu+.translations[data-v-6aa21345]:before,.menu+.appearance[data-v-6aa21345]:before,.menu+.social-links[data-v-6aa21345]:before,.translations+.appearance[data-v-6aa21345]:before,.appearance+.social-links[data-v-6aa21345]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-6aa21345]:before,.translations+.appearance[data-v-6aa21345]:before{margin-right:16px}.appearance+.social-links[data-v-6aa21345]:before{margin-left:16px}.social-links[data-v-6aa21345]{margin-right:-8px}.divider[data-v-6aa21345]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-6aa21345]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-6aa21345]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-6aa21345]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-6aa21345]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-6aa21345]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-6aa21345]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-b44890b2]{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-b44890b2]{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-b9ab8c58]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-b9ab8c58]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-b9ab8c58]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-b9ab8c58]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-b9ab8c58]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-b9ab8c58]{transform:rotate(45deg)}.button[data-v-b9ab8c58]{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-b9ab8c58]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-b9ab8c58]{transition:transform .25s}.group[data-v-b9ab8c58]:first-child{padding-top:0}.group+.group[data-v-b9ab8c58],.group+.item[data-v-b9ab8c58]{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-f2779853]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));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 .25s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-f2779853],.VPNavScreen.fade-leave-active[data-v-f2779853]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-f2779853],.VPNavScreen.fade-leave-active .container[data-v-f2779853]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-f2779853],.VPNavScreen.fade-leave-to[data-v-f2779853]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-f2779853],.VPNavScreen.fade-leave-to .container[data-v-f2779853]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-f2779853]{display:none}}.container[data-v-f2779853]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-f2779853],.menu+.appearance[data-v-f2779853],.translations+.appearance[data-v-f2779853]{margin-top:24px}.menu+.social-links[data-v-f2779853]{margin-top:16px}.appearance+.social-links[data-v-f2779853]{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-b7550ba0]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-b7550ba0]{padding-bottom:10px}.item[data-v-b7550ba0]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-b7550ba0]{cursor:pointer}.indicator[data-v-b7550ba0]{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-b7550ba0],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-b7550ba0],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-b7550ba0],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-b7550ba0]{background-color:var(--vp-c-brand-1)}.link[data-v-b7550ba0]{display:flex;align-items:center;flex-grow:1}.text[data-v-b7550ba0]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-b7550ba0]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-b7550ba0],.VPSidebarItem.level-2 .text[data-v-b7550ba0],.VPSidebarItem.level-3 .text[data-v-b7550ba0],.VPSidebarItem.level-4 .text[data-v-b7550ba0],.VPSidebarItem.level-5 .text[data-v-b7550ba0]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-b7550ba0]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-1.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-2.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-3.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-4.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-5.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-b7550ba0]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-b7550ba0]{color:var(--vp-c-brand-1)}.caret[data-v-b7550ba0]{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-b7550ba0]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-b7550ba0]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-b7550ba0]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-b7550ba0]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-b7550ba0],.VPSidebarItem.level-2 .items[data-v-b7550ba0],.VPSidebarItem.level-3 .items[data-v-b7550ba0],.VPSidebarItem.level-4 .items[data-v-b7550ba0],.VPSidebarItem.level-5 .items[data-v-b7550ba0]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-b7550ba0]{display:none}.no-transition[data-v-c40bc020] .caret-icon{transition:none}.group+.group[data-v-c40bc020]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-c40bc020]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSidebar[data-v-319d5ca6]{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-319d5ca6]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-319d5ca6]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-319d5ca6]{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-319d5ca6]{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-319d5ca6]{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-319d5ca6]{outline:0}.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_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__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:not(.dp__input_focus){border-color:var(--dp-border-color-hover)}.dp__input_reg{caret-color:#0000}.dp__input_focus{border-color:var(--dp-border-color-focus)}.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-btn{position:absolute;top:50%;inset-inline-end:0;transform:translateY(-50%);cursor:pointer;color:var(--dp-icon-color);background:#0000;border:none;display:inline-flex;align-items:center;padding:0;margin:0}.dp__input_icon_pad{padding-inline-start:var(--dp-input-icon-padding)}.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-cell-border-radius);border-end-start-radius:var(--dp-cell-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-cell-border-radius);border-end-end-radius:var(--dp-cell-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;height:var(--dp-overlay-height)}.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_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__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__inc_dec_button_inline{width:100%;padding:0;height:8px;cursor:pointer;display:flex;align-items:center}.dp__inc_dec_button_disabled,.dp__inc_dec_button_disabled:hover{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_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__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-quarter-picker-wrap{display:flex;flex-direction:column;height:100%;min-width:var(--dp-menu-min-width)}.dp--qr-btn-disabled{cursor:not-allowed;background:var(--dp-disabled-color)}.dp--qr-btn-disabled:hover{background:var(--dp-disabled-color)}.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__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-direction: ltr}.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-border-color-focus: #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: #fff;--dp-secondary-color: #c0c4cc;--dp-border-color: #ddd;--dp-menu-border-color: #ddd;--dp-border-color-hover: #aaaeb7;--dp-border-color-focus: #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__main *{direction:var(--dp-direction, ltr)}.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)}.dp--hidden-el{visibility:hidden}.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}.my-icon{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.my-header{padding:5px;border:1px solid red;width:100%;text-align:center}.buttons-wrap[data-v-6bf8e806]{display:flex;gap:5px;margin-bottom:10px}.change-btn[data-v-6bf8e806]{padding:5px;color:var(--vp-c-brand);border:1px solid var(--vp-c-brand);border-radius:4px}.btn-active[data-v-6bf8e806]{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-9aafd744]{display:flex;gap:5px;margin-bottom:10px}.change-btn[data-v-9aafd744]{padding:5px;color:var(--vp-c-brand);border:1px solid var(--vp-c-brand);border-radius:4px}.btn-active[data-v-9aafd744]{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}.tz-demo-wrap[data-v-76aa1e38]{display:flex;flex-direction:column;align-items:center;width:100%}.tz-range-slider-wrap[data-v-76aa1e38]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:10px}.tz-range-slider[data-v-76aa1e38]{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 89d54221..48d9ca66 100644
--- a/docs/customization/theming/index.html
+++ b/docs/customization/theming/index.html
@@ -6,13 +6,13 @@
     Customization - Theming | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

Theming

Datepicker comes with the theme support with css variables. It provides two classes that are applied based on the chosen dark/light mode

To change variables, simply override the classes with your custom values.

Info

  • When changing the properties, you only need to declare the class in the <style> tag, can be in global or scoped, depending on your needs
  • For the date picker to use dp__theme_dark, dark prop must be set to true

Dark mode configuration

css
.dp__theme_dark {
     --dp-background-color: #212121;
     --dp-text-color: #fff;
     --dp-hover-color: #484848;
diff --git a/docs/hashmap.json b/docs/hashmap.json
index b6ceedde..c16f91a6 100644
--- a/docs/hashmap.json
+++ b/docs/hashmap.json
@@ -1 +1 @@
-{"customization_theming_index.md":"DkqYS7LC","index.md":"DcYGhi7H","installation_index.md":"BdZmYzE_","methods-and-events_events_index.md":"itNS5m-d","methods-and-events_methods_index.md":"DSpdWHb0","migration_from-v5.md":"BI3LqLn8","migration_from-v6.md":"RC2xdNpA","migration_from-v7.md":"BiHzPJ31","migration_from-v8.md":"ue4YmvjS","props_calendar-configuration_index.md":"BxXIyXWr","props_formatting_index.md":"CXFddBvT","props_general-configuration_index.md":"kdLulLhN","props_keyboard_index.md":"G0H1-SZ1","props_localization_index.md":"Deuw2KpT","props_look-and-feel_index.md":"CUxjRaCU","props_modes-configuration_index.md":"DST_YaWQ","props_modes_index.md":"H-gBcZzP","props_positioning_index.md":"YyAjrg37","props_time-picker-configuration_index.md":"CCjnWvEv","slots_components_index.md":"BrJZD4-9","slots_content_index.md":"BkiMSQRe","slots_icons_index.md":"DRv55zkf","slots_overlay_index.md":"wp0_DWD6","slots_trigger-and-input_index.md":"c9_O1uv2"}
+{"customization_theming_index.md":"BHtaDIzU","index.md":"qJxocQGM","installation_index.md":"CzOQj94f","methods-and-events_events_index.md":"CLtD3nmd","methods-and-events_methods_index.md":"sxka_nYL","migration_from-v5.md":"CHERqwZ1","migration_from-v6.md":"Dpqy4PX4","migration_from-v7.md":"BKCSZk9W","migration_from-v8.md":"BaR1FjMQ","props_calendar-configuration_index.md":"CgmBjRMD","props_formatting_index.md":"yZ544n8V","props_general-configuration_index.md":"DOYpbrWq","props_keyboard_index.md":"8mfI-ATL","props_localization_index.md":"DAA9qzr1","props_look-and-feel_index.md":"CkNbrHve","props_modes-configuration_index.md":"DZEhKzVk","props_modes_index.md":"DTsCdhjY","props_positioning_index.md":"CRvumIlI","props_time-picker-configuration_index.md":"D6BhtHUZ","slots_components_index.md":"zUCX-m9_","slots_content_index.md":"CCqeNkz2","slots_icons_index.md":"DTSIjGV0","slots_overlay_index.md":"p6o8_8U6","slots_trigger-and-input_index.md":"Cr-l7A-B"}
diff --git a/docs/index.html b/docs/index.html
index 4373c93f..33add2ff 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -6,13 +6,13 @@
     Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
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.

diff --git a/docs/installation/index.html b/docs/installation/index.html index 7f57ca1e..f5d2fba9 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
vue school affiliate

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker
shell
yarn add @vuepic/vue-datepicker
shell
pnpm add @vuepic/vue-datepicker
shell
bun add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

js
import VueDatePicker from '@vuepic/vue-datepicker';
+    
Skip to content
vue school affiliate

Installation

Install the component using the preferred package manager

shell
npm install @vuepic/vue-datepicker
shell
yarn add @vuepic/vue-datepicker
shell
pnpm add @vuepic/vue-datepicker
shell
bun add @vuepic/vue-datepicker

Then import and register component

Note: css file is imported separately

js
import VueDatePicker from '@vuepic/vue-datepicker';
 import '@vuepic/vue-datepicker/dist/main.css'

Global

In the main file

js
import { createApp } from "vue";
 import App from './App.vue';
 
@@ -32,7 +32,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>
 
diff --git a/docs/methods-and-events/events/index.html b/docs/methods-and-events/events/index.html
index a4a7e422..6691937c 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
vue school affiliate

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
vue school affiliate

Events

List of available events that are emitted on some action

@update:model-value

This event is emitted when the value is selected. This is a v-model binding event

Code Example
vue
<template>
     <VueDatePicker :model-value="date" @update:model-value="handleDate" />
 </template>
 
diff --git a/docs/methods-and-events/methods/index.html b/docs/methods-and-events/methods/index.html
index e8f03f38..8d2f1a38 100644
--- a/docs/methods-and-events/methods/index.html
+++ b/docs/methods-and-events/methods/index.html
@@ -6,13 +6,13 @@
     Methods | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

Methods

List of available methods that you can call on the datepicker from the external code

Add a ref to the component, and call the method on that ref

Code Example
vue
<template>
     <VueDatePicker v-model="date" ref="datepicker" />
 </template>
 
diff --git a/docs/migration/from-v5.html b/docs/migration/from-v5.html
index de9bfee3..fb265d6b 100644
--- a/docs/migration/from-v5.html
+++ b/docs/migration/from-v5.html
@@ -6,13 +6,13 @@
     Migration from v5 | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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
diff --git a/docs/migration/from-v6.html b/docs/migration/from-v6.html
index 6395891b..bfd8b8ef 100644
--- a/docs/migration/from-v6.html
+++ b/docs/migration/from-v6.html
@@ -6,13 +6,13 @@
     Migration from v6 | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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.

diff --git a/docs/migration/from-v7.html b/docs/migration/from-v7.html index f8e8bb75..19843f58 100644 --- a/docs/migration/from-v7.html +++ b/docs/migration/from-v7.html @@ -6,13 +6,13 @@ Migration from v7 | Vue Datepicker - - - + + + - - - + + + @@ -21,7 +21,7 @@ -
Skip to content
vue school affiliate

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
vue school affiliate

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() ] }"
diff --git a/docs/migration/from-v8.html b/docs/migration/from-v8.html
index fbd50e72..90e3c8d2 100644
--- a/docs/migration/from-v8.html
+++ b/docs/migration/from-v8.html
@@ -6,13 +6,13 @@
     Migration from v8 | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

Migrating from v8

Breaking changes

  • Removed deprecated props
    • Removed
      • auto-range
      • emit-timezone
      • partial-range
      • min-range
      • max-range
      • fixed-start
      • fixed-end
      • multi-dates-limit
      • show-last-in-range
      • no-disabled-range
      • disable-time-range-validation
      • input-class-name
      • menu-class-name
      • calendar-class-name
      • calendar-cell-class-name
  • boolean value true in text-input configuration is replaced with string `'open' | 'toggle'
  • dp__clear_icon class is changed to dp--clear-btn and now wraps the icon
  • Removed calendarWrap and calendarDays from aria-labels due to accessibility violations
  • When using the component with web components, it must be enabled explicitly via the config.shadowDom property

range props

Following props are moved to the range configuration object

auto-range

js
<template>
+    
Skip to content
vue school affiliate

Migrating from v8

Breaking changes

  • Removed deprecated props
    • Removed
      • auto-range
      • emit-timezone
      • partial-range
      • min-range
      • max-range
      • fixed-start
      • fixed-end
      • multi-dates-limit
      • show-last-in-range
      • no-disabled-range
      • disable-time-range-validation
      • input-class-name
      • menu-class-name
      • calendar-class-name
      • calendar-cell-class-name
  • boolean value true in text-input configuration is replaced with string `'open' | 'toggle'
  • dp__clear_icon class is changed to dp--clear-btn and now wraps the icon
  • Removed calendarWrap and calendarDays from aria-labels due to accessibility violations
  • When using the component with web components, it must be enabled explicitly via the config.shadowDom property

range props

Following props are moved to the range configuration object

auto-range

js
<template>
   <VueDatePicker
     range
     :auto-range="5"
diff --git a/docs/props/calendar-configuration/index.html b/docs/props/calendar-configuration/index.html
index 4682bc06..77072d0e 100644
--- a/docs/props/calendar-configuration/index.html
+++ b/docs/props/calendar-configuration/index.html
@@ -6,13 +6,13 @@
     Props - Calendar configuration | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,14 +21,14 @@
     
   
   
-    
Skip to content
vue school affiliate

Calendar configuration

Configure calendar options such as behavior or available dates

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, weekNumbers as week-numbers and so on

calendar

Customize the calendar view, filter out weeks, add or remove custom classes

Important

Do not modify date values

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

Calendar configuration

Configure calendar options such as behavior or available dates

Info

  • When checking the examples, for boolean prop types, the example will show the behavior opposite of what is set for the default value
  • If you use the component in the browser <script> tag, make sure to pass multi-word props with -, for example, weekNumbers as week-numbers and so on

calendar

Customize the calendar view, filter out weeks, add or remove custom classes

Important

Do not modify date values

  • Type: (weeks: CalendarWeek[]) => CalendarWeek[];
  • Default: null
ts
interface CalendarWeek {
   days: {
     text: number | string; // Value displayed in the calendar day box
     value: Date; // Date that is going to be selected, do not modify
     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>
 
diff --git a/docs/props/formatting/index.html b/docs/props/formatting/index.html
index 88bbf9d5..0108cab9 100644
--- a/docs/props/formatting/index.html
+++ b/docs/props/formatting/index.html
@@ -6,13 +6,13 @@
     Props - Formatting | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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>
 
diff --git a/docs/props/general-configuration/index.html b/docs/props/general-configuration/index.html
index 2ed14743..a5e49732 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
vue school affiliate

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
vue school affiliate

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
  • 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>
+</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>
 
@@ -100,7 +100,7 @@
     color?: string;
     // el is a HTML element of a calendar cell
     customPosition?: (el: HTMLElement) => Record<string, string | number>;
-}
Code Example
vue

+}
Code Example
vue

 <template>
     <VueDatePicker v-model="date" :markers="markers" />
 </template>
@@ -142,7 +142,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>
 
@@ -157,7 +157,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>
 
@@ -165,7 +165,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>
 
@@ -173,7 +173,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>
@@ -188,7 +188,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>
 
@@ -196,7 +196,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>
 
@@ -204,7 +204,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>
 
@@ -217,7 +217,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>
 
@@ -225,7 +225,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>
 
@@ -233,7 +233,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>
 
@@ -271,7 +271,7 @@
     keepViewOnOffsetClick: false,
     timeArrowHoldThreshold: 0,
     shadowDom: false,
-}
  • 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
  • keepViewOnOffsetClick: When enabled, clicking on the offset date will not change the month that is currently in the view
  • timeArrowHoldThreshold: When provided with a value > 0, clicking and holding the arrow button in the time-picker will increment/decrement the value. This value represents the setTimeout value, meaning the larger the number, the change will be slower.0 disables the hold event
  • shadowDom: Set to true if you are using the component with web components

loading

Adds a loading overlay in the menu

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+}
  • 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
  • keepViewOnOffsetClick: When enabled, clicking on the offset date will not change the month that is currently in the view
  • timeArrowHoldThreshold: When provided with a value > 0, clicking and holding the arrow button in the time-picker will increment/decrement the value. This value represents the setTimeout value, meaning the larger the number, the change will be slower.0 disables the hold event
  • shadowDom: Set to true if you are using the component with web components

loading

Adds a loading overlay in the menu

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" loading />
 </template>
 
diff --git a/docs/props/keyboard/index.html b/docs/props/keyboard/index.html
index 1038d167..32ced576 100644
--- a/docs/props/keyboard/index.html
+++ b/docs/props/keyboard/index.html
@@ -6,13 +6,13 @@
     Props - Keyboard | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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>
 
diff --git a/docs/props/localization/index.html b/docs/props/localization/index.html
index 8d565b28..b4a77e0b 100644
--- a/docs/props/localization/index.html
+++ b/docs/props/localization/index.html
@@ -6,13 +6,13 @@
     Props - Localization | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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>
 
@@ -103,7 +103,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>
 
diff --git a/docs/props/look-and-feel/index.html b/docs/props/look-and-feel/index.html
index 4fce14ec..9ff2050a 100644
--- a/docs/props/look-and-feel/index.html
+++ b/docs/props/look-and-feel/index.html
@@ -6,13 +6,13 @@
     Props - Look and feel | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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>
 
@@ -98,7 +98,7 @@
   calendarCell: CustomClass;
   menu: CustomClass;
   input: CustomClass;
-}
  • input: Add a custom class to the input field
  • menu: Add a custom class to the datepicker menu wrapper
  • calendar: Add a custom class to the calendar wrapper
  • calendarCell: Add a custom class to the calendar cell wrapper
  • navBtnNext: Add a custom class on navigation button 'next'
  • navBtnPrev: Add a custom class on navigation button 'previous'

day-class

Add custom class to the calendar cell depending on the date

  • Type: (date: Date, internalModelValue: InternalModelValue) => string
  • Default: null
ts
type InternalModelValue = Date | Date[] | null;
Code Example
vue
<template>
+}
  • input: Add a custom class to the input field
  • menu: Add a custom class to the datepicker menu wrapper
  • calendar: Add a custom class to the calendar wrapper
  • calendarCell: Add a custom class to the calendar cell wrapper
  • navBtnNext: Add a custom class on navigation button 'next'
  • navBtnPrev: Add a custom class on navigation button 'previous'

day-class

Add custom class to the calendar cell depending on the date

  • Type: (date: Date, internalModelValue: InternalModelValue) => string
  • Default: null
ts
type InternalModelValue = Date | Date[] | null;
Code Example
vue
<template>
     <VueDatePicker v-model="date" :day-class="getDayClass" />
 </template>
 
diff --git a/docs/props/modes-configuration/index.html b/docs/props/modes-configuration/index.html
index 9fcdad67..1ccc001b 100644
--- a/docs/props/modes-configuration/index.html
+++ b/docs/props/modes-configuration/index.html
@@ -6,13 +6,13 @@
     Props - Modes configuration | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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>
 
@@ -151,7 +151,7 @@
   slot?: string;
   noTz?: boolean;
   testId?: string;
-}
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 
@@ -190,7 +190,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>
 
@@ -204,7 +204,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>
 
@@ -225,7 +225,7 @@
     rangeSeparator?: string;
     selectOnFocus?: boolean;
     format?: string | string[] | ((value: string) => Date | null);
-}
  • Default: { enterSubmit: true, tabSubmit: true, openMenu: 'open', 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: open value will keep the menu in the open state when the input field is clicked, toggle will toggle the menu, false disables menu from opening
  • 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: 'open', 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: open value will keep the menu in the open state when the input field is clicked, toggle will toggle the menu, false disables menu from opening
  • 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 ..."
@@ -241,7 +241,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>
 
@@ -252,7 +252,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>
 
@@ -260,7 +260,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>
 
@@ -268,7 +268,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>
 
@@ -568,7 +568,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>
 
diff --git a/docs/props/modes/index.html b/docs/props/modes/index.html
index 9fd51f3c..06e63463 100644
--- a/docs/props/modes/index.html
+++ b/docs/props/modes/index.html
@@ -6,13 +6,13 @@
     Props - Modes | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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>

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>
 
@@ -50,7 +50,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>
 
@@ -61,7 +61,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>
 
@@ -72,7 +72,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>
 
@@ -80,7 +80,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>
 
@@ -88,7 +88,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>
 
@@ -97,7 +97,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(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>
 
@@ -121,7 +121,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>
 
@@ -130,7 +130,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>
 
@@ -138,7 +138,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>
 
@@ -146,7 +146,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 range.partialRange make sure that range prop is provided and keep range.partialRange 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 range.partialRange make sure that range prop is provided and keep range.partialRange 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>
diff --git a/docs/props/positioning/index.html b/docs/props/positioning/index.html
index 6ce8ef0c..cea46f66 100644
--- a/docs/props/positioning/index.html
+++ b/docs/props/positioning/index.html
@@ -6,13 +6,13 @@
     Props - Positioning | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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>
 
@@ -29,7 +29,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

teleport

Use teleport to position the datepicker menu. This is useful if you have hidden overflow on the parent HTML element where the menu is not showing in full. If you just set the value to true, the menu will be placed on body

  • Type: boolean | string
  • Default: null

Note

In case you are enabling teleport to the default value (<body>), make sure to explicitly set it to true to prevent conflict with the built-in <teleport> component

Default transitions for menu open and close will not work with the teleport enabled

Code Example
vue
<template>
+</script>

teleport

Use teleport to position the datepicker menu. This is useful if you have hidden overflow on the parent HTML element where the menu is not showing in full. If you just set the value to true, the menu will be placed on body

  • Type: boolean | string
  • Default: null

Note

In case you are enabling teleport to the default value (<body>), make sure to explicitly set it to true to prevent conflict with the built-in <teleport> component

Default transitions for menu open and close will not work with the teleport enabled

Code Example
vue
<template>
     <VueDatePicker v-model="date" :teleport="true" />
 </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>
 
diff --git a/docs/props/time-picker-configuration/index.html b/docs/props/time-picker-configuration/index.html
index 0572af46..3a4318f3 100644
--- a/docs/props/time-picker-configuration/index.html
+++ b/docs/props/time-picker-configuration/index.html
@@ -6,13 +6,13 @@
     Props - Time picker configuration | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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>

enable-minutes

Enable minutes in the time picker

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

enable-minutes

Enable minutes in the time picker

  • Type: boolean
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :enable-minutes="false" />
 </template>
 
@@ -61,7 +61,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>
 
@@ -69,7 +69,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>
 
@@ -77,7 +77,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>
 
@@ -85,7 +85,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>
 
@@ -93,7 +93,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>
 
@@ -101,7 +101,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>
 
@@ -109,7 +109,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>
 
@@ -117,7 +117,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>
 
@@ -125,7 +125,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>
 
@@ -133,7 +133,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>
 
@@ -141,7 +141,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>
 
@@ -149,7 +149,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>
 
@@ -158,7 +158,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>
 
@@ -172,7 +172,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>
diff --git a/docs/slots/components/index.html b/docs/slots/components/index.html
index d6d4c044..1eb4fb3b 100644
--- a/docs/slots/components/index.html
+++ b/docs/slots/components/index.html
@@ -6,13 +6,13 @@
     Slots - Components | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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">
diff --git a/docs/slots/content/index.html b/docs/slots/content/index.html
index 5d33b479..79f0847c 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
vue school affiliate

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
vue school affiliate

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,7 +340,7 @@
   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>
+</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>
@@ -353,7 +353,7 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

Similar to the top-extra, however, not wrapped per calendar instance and spans across full menu width

Code Example
vue
<template>
+</script>

Similar to the top-extra, however, not wrapped per calendar instance and spans across full menu width

Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #menu-header>
         <div class="my-header">My custom header</div>
diff --git a/docs/slots/icons/index.html b/docs/slots/icons/index.html
index c333fb86..248b8c3a 100644
--- a/docs/slots/icons/index.html
+++ b/docs/slots/icons/index.html
@@ -6,13 +6,13 @@
     Slots - Icons | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

Icons

Change datepicker icons

input-icon

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

logo
Code Example
vue
<template>
+    
Skip to content
vue school affiliate

Icons

Change datepicker icons

input-icon

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

logo
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"/>
@@ -177,7 +177,7 @@
         height: 20px;
         width: auto;
     }
-</style>

tp-inline-arrow-up

This slot replaces the arrow-up icon in the time-picker-inline

Code Example
vue
<template>
+</style>

tp-inline-arrow-up

This slot replaces the arrow-up icon in the time-picker-inline

Code Example
vue
<template>
     <VueDatePicker v-model="date" time-picker-inline>
         <template #tp-inline-arrow-up>
           <span class="my-icon">
@@ -213,7 +213,7 @@
     align-items: center;
     justify-content: center;
   }
-</style>

tp-inline-arrow-down

This slot replaces the arrow-down icon in the time-picker-inline

Code Example
vue
<template>
+</style>

tp-inline-arrow-down

This slot replaces the arrow-down icon in the time-picker-inline

Code Example
vue
<template>
     <VueDatePicker v-model="date" time-picker-inline>
         <template #tp-inline-arrow-down>
             <span class="my-icon">
diff --git a/docs/slots/overlay/index.html b/docs/slots/overlay/index.html
index 5f79dc23..2a012519 100644
--- a/docs/slots/overlay/index.html
+++ b/docs/slots/overlay/index.html
@@ -6,13 +6,13 @@
     Slots - Overlay | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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">
@@ -287,7 +287,7 @@
 .pointer {
   cursor: pointer;
 }
-</style>

hours-overlay-header

Add a custom content in the overlay header

Exposed function:

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

hours-overlay-header

Add a custom content in the overlay header

Exposed function:

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

minutes-overlay-header

Add a custom content in the overlay header

Exposed function:

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

minutes-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">
@@ -329,7 +329,7 @@
     text-align: center;
     cursor: pointer;
   }
-</style>

seconds-overlay-header

Add a custom content in the overlay header

Exposed function:

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

seconds-overlay-header

Add a custom content in the overlay header

Exposed function:

  • toggle (() => void)
Code Example
vue
<template>
     <VueDatePicker v-model="date" enable-seconds>
       <template #year-overlay-header="{ toggle }">
         <div class="overlay-header">
diff --git a/docs/slots/trigger-and-input/index.html b/docs/slots/trigger-and-input/index.html
index bf8a15b0..d24da557 100644
--- a/docs/slots/trigger-and-input/index.html
+++ b/docs/slots/trigger-and-input/index.html
@@ -6,13 +6,13 @@
     Slots - Trigger and input | Vue Datepicker
     
     
-    
-    
-    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +21,7 @@
     
   
   
-    
Skip to content
vue school affiliate

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
vue school affiliate

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

Connecting text input with date picker

If you want to connect text-input with a custom input element, a text-input prop must be provided.

If using auto-apply, you should connect at least the on-focus and on-blur methods. Connecting all methods is recommended.

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

Available props are:

  • 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: (ev: KeyboardEvent) => void
  • onTab: Function called on the @keydown.tab event
    • type: (ev: KeyboardEvent, fromInput?: boolean) => void
  • onClear: Function to call if you want to clear date
    • type: (ev?: Event) => void
  • onFocus: Function to call on input focus
    • 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

Connecting text input with date picker

If you want to connect text-input with a custom input element, a text-input prop must be provided.

If using auto-apply, you should connect at least the on-focus and on-blur methods. Connecting all methods is recommended.

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

Available props are:

  • 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: (ev: KeyboardEvent) => void
  • onTab: Function called on the @keydown.tab event
    • type: (ev: KeyboardEvent, fromInput?: boolean) => void
  • onClear: Function to call if you want to clear date
    • type: (ev?: Event) => void
  • onFocus: Function to call on input focus
    • 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" />