From d71488b219c41637a57a3340ada7f340b997fc32 Mon Sep 17 00:00:00 2001 From: Jasenko Karovic Date: Tue, 7 Jan 2025 18:49:42 +0100 Subject: [PATCH] chore: Update documentation --- docs/404.html | 9 ++-- .../{app.KlId7aB3.js => app.CK8a92jg.js} | 2 +- ...QrZB.js => VPAlgoliaSearchBox.hPGN3qUp.js} | 2 +- docs/assets/chunks/framework.BH5PR2Af.js | 18 -------- docs/assets/chunks/framework.DDyYGyON.js | 18 ++++++++ docs/assets/chunks/metadata.1dd3c1e4.js | 1 + docs/assets/chunks/metadata.f97b1e7a.js | 1 - docs/assets/chunks/theme.BkwdEySx.js | 2 - docs/assets/chunks/theme.DW4UajBf.js | 44 +++++++++++++++++++ ...stom.DDcoaaN9.js => ui-custom.BABGA34D.js} | 2 +- ...ustomization_theming_index.md.n7fcEp_w.js} | 2 +- ...ization_theming_index.md.n7fcEp_w.lean.js} | 2 +- ...ex.md.B0w_PrTM.js => index.md.BJiPgZgU.js} | 2 +- ...PrTM.lean.js => index.md.BJiPgZgU.lean.js} | 2 +- ...N.js => installation_index.md.CqYA7Cgq.js} | 4 +- ...=> installation_index.md.CqYA7Cgq.lean.js} | 4 +- ...ds-and-events_events_index.md.C-wBkQV8.js} | 2 +- ...d-events_events_index.md.C-wBkQV8.lean.js} | 2 +- ...s-and-events_methods_index.md.BUAhxP5w.js} | 2 +- ...-events_methods_index.md.BUAhxP5w.lean.js} | 2 +- docs/assets/migration_from-v10.md.cKOzBSoF.js | 1 + .../migration_from-v10.md.cKOzBSoF.lean.js | 1 + ..._J.js => migration_from-v5.md.Bmjm4GG1.js} | 2 +- ... => migration_from-v5.md.Bmjm4GG1.lean.js} | 2 +- ...Yy.js => migration_from-v6.md.BGEZ6Qh1.js} | 2 +- ... => migration_from-v6.md.BGEZ6Qh1.lean.js} | 2 +- ...cw.js => migration_from-v7.md.D7tfPsIU.js} | 2 +- ... => migration_from-v7.md.D7tfPsIU.lean.js} | 2 +- ...Vy.js => migration_from-v8.md.GbP-eSYg.js} | 2 +- ... => migration_from-v8.md.GbP-eSYg.lean.js} | 2 +- ...Nz.js => migration_from-v9.md.BP5fxbOt.js} | 2 +- ... => migration_from-v9.md.BP5fxbOt.lean.js} | 2 +- ...lendar-configuration_index.md.DP0AeudM.js} | 2 +- ...r-configuration_index.md.DP0AeudM.lean.js} | 2 +- ... => props_formatting_index.md.C4TPj7vZ.js} | 2 +- ...rops_formatting_index.md.C4TPj7vZ.lean.js} | 2 +- ...eneral-configuration_index.md.BRWJzeLU.js} | 42 +++++++++++------- ...l-configuration_index.md.BRWJzeLU.lean.js} | 42 +++++++++++------- ...js => props_keyboard_index.md.CuOjFWCw.js} | 2 +- ... props_keyboard_index.md.CuOjFWCw.lean.js} | 2 +- ...> props_localization_index.md.CJSI070X.js} | 2 +- ...ps_localization_index.md.CJSI070X.lean.js} | 2 +- ... props_look-and-feel_index.md.BGtWfA-j.js} | 2 +- ...s_look-and-feel_index.md.BGtWfA-j.lean.js} | 2 +- ..._modes-configuration_index.md.D6Mk8xHD.js} | 11 +++-- ...s-configuration_index.md.D6Mk8xHD.lean.js} | 11 +++-- ...0e.js => props_modes_index.md.CyQF0VXZ.js} | 2 +- ... => props_modes_index.md.CyQF0VXZ.lean.js} | 2 +- ...=> props_positioning_index.md.uFrYDF2T.js} | 2 +- ...ops_positioning_index.md.uFrYDF2T.lean.js} | 2 +- ...picker-configuration_index.md.dfirn8p2.js} | 2 +- ...r-configuration_index.md.dfirn8p2.lean.js} | 2 +- ... => slots_components_index.md.D5cKmtPO.js} | 3 +- ...lots_components_index.md.D5cKmtPO.lean.js} | 3 +- ....js => slots_content_index.md.DYHiWMiC.js} | 2 +- ...> slots_content_index.md.DYHiWMiC.lean.js} | 2 +- ...u7.js => slots_icons_index.md.BovP6Dbd.js} | 2 +- ... => slots_icons_index.md.BovP6Dbd.lean.js} | 2 +- ....js => slots_overlay_index.md.Ldp4LnYd.js} | 2 +- ...> slots_overlay_index.md.Ldp4LnYd.lean.js} | 2 +- ...ts_trigger-and-input_index.md.CI_qQFf5.js} | 2 +- ...igger-and-input_index.md.CI_qQFf5.lean.js} | 2 +- docs/assets/style.CSrQf7ao.css | 1 + docs/assets/style.SWNFvPia.css | 1 - docs/customization/theming/index.html | 19 ++++---- docs/hashmap.json | 2 +- docs/index.html | 17 +++---- docs/installation/index.html | 19 ++++---- docs/methods-and-events/events/index.html | 17 +++---- docs/methods-and-events/methods/index.html | 17 +++---- docs/migration/from-v10.html | 38 ++++++++++++++++ docs/migration/from-v5.html | 17 +++---- docs/migration/from-v6.html | 17 +++---- docs/migration/from-v7.html | 17 +++---- docs/migration/from-v8.html | 17 +++---- docs/migration/from-v9.html | 21 ++++----- docs/props/calendar-configuration/index.html | 17 +++---- docs/props/formatting/index.html | 17 +++---- docs/props/general-configuration/index.html | 29 +++++++----- docs/props/keyboard/index.html | 17 +++---- docs/props/localization/index.html | 17 +++---- docs/props/look-and-feel/index.html | 17 +++---- docs/props/modes-configuration/index.html | 26 ++++++----- docs/props/modes/index.html | 17 +++---- docs/props/positioning/index.html | 17 +++---- .../time-picker-configuration/index.html | 17 +++---- docs/sitemap.xml | 2 +- docs/slots/components/index.html | 18 ++++---- docs/slots/content/index.html | 17 +++---- docs/slots/icons/index.html | 17 +++---- docs/slots/overlay/index.html | 17 +++---- docs/slots/trigger-and-input/index.html | 17 +++---- docs/vp-icons.css | 1 + 93 files changed, 475 insertions(+), 330 deletions(-) rename docs/assets/{app.KlId7aB3.js => app.CK8a92jg.js} (60%) rename docs/assets/chunks/{VPAlgoliaSearchBox.BAKkQrZB.js => VPAlgoliaSearchBox.hPGN3qUp.js} (99%) delete mode 100644 docs/assets/chunks/framework.BH5PR2Af.js create mode 100644 docs/assets/chunks/framework.DDyYGyON.js create mode 100644 docs/assets/chunks/metadata.1dd3c1e4.js delete mode 100644 docs/assets/chunks/metadata.f97b1e7a.js delete mode 100644 docs/assets/chunks/theme.BkwdEySx.js create mode 100644 docs/assets/chunks/theme.DW4UajBf.js rename docs/assets/chunks/{ui-custom.DDcoaaN9.js => ui-custom.BABGA34D.js} (82%) rename docs/assets/{customization_theming_index.md.ARSzRlv3.js => customization_theming_index.md.n7fcEp_w.js} (99%) rename docs/assets/{customization_theming_index.md.ARSzRlv3.lean.js => customization_theming_index.md.n7fcEp_w.lean.js} (99%) rename docs/assets/{index.md.B0w_PrTM.js => index.md.BJiPgZgU.js} (96%) rename docs/assets/{index.md.B0w_PrTM.lean.js => index.md.BJiPgZgU.lean.js} (96%) rename docs/assets/{installation_index.md.eX808iRN.js => installation_index.md.CqYA7Cgq.js} (96%) rename docs/assets/{installation_index.md.eX808iRN.lean.js => installation_index.md.CqYA7Cgq.lean.js} (96%) rename docs/assets/{methods-and-events_events_index.md.DXomF_PT.js => methods-and-events_events_index.md.C-wBkQV8.js} (99%) rename docs/assets/{methods-and-events_events_index.md.DXomF_PT.lean.js => methods-and-events_events_index.md.C-wBkQV8.lean.js} (99%) rename docs/assets/{methods-and-events_methods_index.md.BqVyHZwI.js => methods-and-events_methods_index.md.BUAhxP5w.js} (98%) rename docs/assets/{methods-and-events_methods_index.md.BqVyHZwI.lean.js => methods-and-events_methods_index.md.BUAhxP5w.lean.js} (98%) create mode 100644 docs/assets/migration_from-v10.md.cKOzBSoF.js create mode 100644 docs/assets/migration_from-v10.md.cKOzBSoF.lean.js rename docs/assets/{migration_from-v5.md.D2gbYz_J.js => migration_from-v5.md.Bmjm4GG1.js} (99%) rename docs/assets/{migration_from-v5.md.D2gbYz_J.lean.js => migration_from-v5.md.Bmjm4GG1.lean.js} (99%) rename docs/assets/{migration_from-v6.md.BFL2C3Yy.js => migration_from-v6.md.BGEZ6Qh1.js} (92%) rename docs/assets/{migration_from-v6.md.BFL2C3Yy.lean.js => migration_from-v6.md.BGEZ6Qh1.lean.js} (92%) rename docs/assets/{migration_from-v7.md.ZyJQcLcw.js => migration_from-v7.md.D7tfPsIU.js} (99%) rename docs/assets/{migration_from-v7.md.ZyJQcLcw.lean.js => migration_from-v7.md.D7tfPsIU.lean.js} (99%) rename docs/assets/{migration_from-v8.md.DbmTB9Vy.js => migration_from-v8.md.GbP-eSYg.js} (99%) rename docs/assets/{migration_from-v8.md.DbmTB9Vy.lean.js => migration_from-v8.md.GbP-eSYg.lean.js} (99%) rename docs/assets/{migration_from-v9.md.DV5gN7Nz.js => migration_from-v9.md.BP5fxbOt.js} (56%) rename docs/assets/{migration_from-v9.md.DV5gN7Nz.lean.js => migration_from-v9.md.BP5fxbOt.lean.js} (56%) rename docs/assets/{props_calendar-configuration_index.md.m7pUDF0Z.js => props_calendar-configuration_index.md.DP0AeudM.js} (99%) rename docs/assets/{props_calendar-configuration_index.md.m7pUDF0Z.lean.js => props_calendar-configuration_index.md.DP0AeudM.lean.js} (99%) rename docs/assets/{props_formatting_index.md.CRqJukng.js => props_formatting_index.md.C4TPj7vZ.js} (99%) rename docs/assets/{props_formatting_index.md.CRqJukng.lean.js => props_formatting_index.md.C4TPj7vZ.lean.js} (99%) rename docs/assets/{props_general-configuration_index.md.CVSNlgKZ.js => props_general-configuration_index.md.BRWJzeLU.js} (93%) rename docs/assets/{props_general-configuration_index.md.CVSNlgKZ.lean.js => props_general-configuration_index.md.BRWJzeLU.lean.js} (93%) rename docs/assets/{props_keyboard_index.md.DtlJQTtr.js => props_keyboard_index.md.CuOjFWCw.js} (99%) rename docs/assets/{props_keyboard_index.md.DtlJQTtr.lean.js => props_keyboard_index.md.CuOjFWCw.lean.js} (99%) rename docs/assets/{props_localization_index.md.BzxVvZmb.js => props_localization_index.md.CJSI070X.js} (99%) rename docs/assets/{props_localization_index.md.BzxVvZmb.lean.js => props_localization_index.md.CJSI070X.lean.js} (99%) rename docs/assets/{props_look-and-feel_index.md.RU199MG2.js => props_look-and-feel_index.md.BGtWfA-j.js} (99%) rename docs/assets/{props_look-and-feel_index.md.RU199MG2.lean.js => props_look-and-feel_index.md.BGtWfA-j.lean.js} (99%) rename docs/assets/{props_modes-configuration_index.md.CFx6XjsC.lean.js => props_modes-configuration_index.md.D6Mk8xHD.js} (98%) rename docs/assets/{props_modes-configuration_index.md.CFx6XjsC.js => props_modes-configuration_index.md.D6Mk8xHD.lean.js} (98%) rename docs/assets/{props_modes_index.md.DaUswn0e.js => props_modes_index.md.CyQF0VXZ.js} (99%) rename docs/assets/{props_modes_index.md.DaUswn0e.lean.js => props_modes_index.md.CyQF0VXZ.lean.js} (99%) rename docs/assets/{props_positioning_index.md.DLpvSIw3.js => props_positioning_index.md.uFrYDF2T.js} (99%) rename docs/assets/{props_positioning_index.md.DLpvSIw3.lean.js => props_positioning_index.md.uFrYDF2T.lean.js} (99%) rename docs/assets/{props_time-picker-configuration_index.md.b9mfFTHi.js => props_time-picker-configuration_index.md.dfirn8p2.js} (99%) rename docs/assets/{props_time-picker-configuration_index.md.b9mfFTHi.lean.js => props_time-picker-configuration_index.md.dfirn8p2.lean.js} (99%) rename docs/assets/{slots_components_index.md.DIAqqPij.js => slots_components_index.md.D5cKmtPO.js} (99%) rename docs/assets/{slots_components_index.md.DIAqqPij.lean.js => slots_components_index.md.D5cKmtPO.lean.js} (99%) rename docs/assets/{slots_content_index.md.BN9o82Ea.js => slots_content_index.md.DYHiWMiC.js} (99%) rename docs/assets/{slots_content_index.md.BN9o82Ea.lean.js => slots_content_index.md.DYHiWMiC.lean.js} (99%) rename docs/assets/{slots_icons_index.md.CwiTj7u7.js => slots_icons_index.md.BovP6Dbd.js} (99%) rename docs/assets/{slots_icons_index.md.CwiTj7u7.lean.js => slots_icons_index.md.BovP6Dbd.lean.js} (99%) rename docs/assets/{slots_overlay_index.md.oh2AWG9A.js => slots_overlay_index.md.Ldp4LnYd.js} (99%) rename docs/assets/{slots_overlay_index.md.oh2AWG9A.lean.js => slots_overlay_index.md.Ldp4LnYd.lean.js} (99%) rename docs/assets/{slots_trigger-and-input_index.md.CpB6Oa80.js => slots_trigger-and-input_index.md.CI_qQFf5.js} (99%) rename docs/assets/{slots_trigger-and-input_index.md.CpB6Oa80.lean.js => slots_trigger-and-input_index.md.CI_qQFf5.lean.js} (99%) create mode 100644 docs/assets/style.CSrQf7ao.css delete mode 100644 docs/assets/style.SWNFvPia.css create mode 100644 docs/migration/from-v10.html create mode 100644 docs/vp-icons.css diff --git a/docs/404.html b/docs/404.html index 50531b84..ade141d3 100644 --- a/docs/404.html +++ b/docs/404.html @@ -5,10 +5,11 @@ 404 | Vue Datepicker - - - - + + + + + diff --git a/docs/assets/app.KlId7aB3.js b/docs/assets/app.CK8a92jg.js similarity index 60% rename from docs/assets/app.KlId7aB3.js rename to docs/assets/app.CK8a92jg.js index 233ead1d..cd677d42 100644 --- a/docs/assets/app.KlId7aB3.js +++ b/docs/assets/app.CK8a92jg.js @@ -1 +1 @@ -import{R as i}from"./chunks/theme.BkwdEySx.js";import{U as o,aj as u,ak as l,al as c,am as f,an as d,ao as m,ap as h,aq as g,ar as A,as as v,d as P,u as w,v as y,s as C,at as R,au as b,av as E,a9 as S}from"./chunks/framework.BH5PR2Af.js";function p(e){if(e.extends){const a=p(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=p(i),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=w();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),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:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=v(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&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{j as createApp}; +import{R as i}from"./chunks/theme.DW4UajBf.js";import{U as o,am as u,an as l,ao as c,ap as f,aq as d,ar as m,as as h,at as g,au as A,av as v,d as w,u as y,v as P,s as C,aw as R,ax as b,ay as E,ab as S}from"./chunks/framework.DDyYGyON.js";function p(e){if(e.extends){const a=p(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=p(i),T=w({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=y();return P(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),b(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function x(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),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:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=v(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&&x().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{x as createApp}; diff --git a/docs/assets/chunks/VPAlgoliaSearchBox.BAKkQrZB.js b/docs/assets/chunks/VPAlgoliaSearchBox.hPGN3qUp.js similarity index 99% rename from docs/assets/chunks/VPAlgoliaSearchBox.BAKkQrZB.js rename to docs/assets/chunks/VPAlgoliaSearchBox.hPGN3qUp.js index b96916ad..5980f088 100644 --- a/docs/assets/chunks/VPAlgoliaSearchBox.BAKkQrZB.js +++ b/docs/assets/chunks/VPAlgoliaSearchBox.hPGN3qUp.js @@ -1,4 +1,4 @@ -import{d as li,aw as si,L as fi,v as mi,q as pi,R as vi,o as hi,c as di}from"./framework.BH5PR2Af.js";import{u as yi}from"./theme.BkwdEySx.js";/*! @docsearch/js 3.6.3 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t2&&(a.children=arguments.length>3?Bt.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return St(e,a,r,o,null)}function St(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ho,__i:-1,__u:0};return o==null&&H.vnode!=null&&H.vnode(i),i}function Ne(e){return e.children}function ke(e,t){this.props=e,this.context=t}function at(e,t){if(t==null)return e.__?at(e.__,e.__i+1):null;for(var n;tt&&Qe.sort(Hn));hn.__r=0}function Oo(e,t,n,r,o,i,a,u,f,s,m){var c,_,v,h,g,d=r&&r.__k||go,p=t.length;for(n.__d=f,gi(n,t,d),f=n.__d,c=0;c0?St(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,i=null,(u=o.__i=bi(o,n,a,m))!==-1&&(m--,(i=n[u])&&(i.__u|=131072)),i==null||i.__v===null?(u==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):u!==a&&(u==a-1?c--:u==a+1?c++:(u>a?c--:c++,o.__u|=65536))):o=e.__k[r]=null;if(m)for(r=0;r(f==null||131072&f.__u?0:1))for(;a>=0||u=0){if((f=t[a])&&!(131072&f.__u)&&o==f.key&&i===f.type)return a;a--}if(u2&&(u.children=arguments.length>3?Bt.call(arguments,2):n),St(e.type,u,r||e.key,o||e.ref,null)}Bt=go.slice,H={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(u){e=u}throw e}},ho=0,ke.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ae({},this.state),typeof e=="function"&&(e=e(Ae({},n),this.props)),e&&Ae(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Bn(this))},ke.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Bn(this))},ke.prototype.render=Ne,Qe=[],yo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Hn=function(e,t){return e.__v.__b-t.__v.__b},hn.__r=0,Xn=0,Un=_r(!1),Fn=_r(!0),_o=0;var Be,J,kn,gr,ct=0,Io=[],Q=H,br=Q.__b,Sr=Q.__r,Or=Q.diffed,wr=Q.__c,Er=Q.unmount,jr=Q.__;function ut(e,t){Q.__h&&Q.__h(J,e,ct||t),ct=0;var n=J.__H||(J.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Vt(e){return ct=1,nr(To,e)}function nr(e,t,n){var r=ut(Be++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):To(void 0,t),function(u){var f=r.__N?r.__N[0]:r.__[0],s=r.t(f,u);f!==s&&(r.__N=[s,r.__[1]],r.__c.setState({}))}],r.__c=J,!J.u)){var o=function(u,f,s){if(!r.__c.__H)return!0;var m=r.__c.__H.__.filter(function(_){return!!_.__c});if(m.every(function(_){return!_.__N}))return!i||i.call(this,u,f,s);var c=!1;return m.forEach(function(_){if(_.__N){var v=_.__[0];_.__=_.__N,_.__N=void 0,v!==_.__[0]&&(c=!0)}}),!(!c&&r.__c.props===u)&&(!i||i.call(this,u,f,s))};J.u=!0;var i=J.shouldComponentUpdate,a=J.componentWillUpdate;J.componentWillUpdate=function(u,f,s){if(this.__e){var m=i;i=void 0,o(u,f,s),i=m}a&&a.call(this,u,f,s)},J.shouldComponentUpdate=o}return r.__N||r.__}function Kt(e,t){var n=ut(Be++,3);!Q.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,J.__H.__h.push(n))}function Wt(e,t){var n=ut(Be++,4);!Q.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,J.__h.push(n))}function ko(e){return ct=5,yn(function(){return{current:e}},[])}function Do(e,t,n){ct=6,Wt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function yn(e,t){var n=ut(Be++,7);return rr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function xo(e,t){return ct=8,yn(function(){return e},t)}function Co(e){var t=J.context[e.__c],n=ut(Be++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(J)),t.props.value):e.__}function Ao(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function No(){var e=ut(Be++,11);if(!e.__){for(var t=J.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Ei(){for(var e;e=Io.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(fn),e.__H.__h.forEach(Vn),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){J=null,br&&br(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),jr&&jr(e,t)},Q.__r=function(e){Sr&&Sr(e),Be=0;var t=(J=e.__c).__H;t&&(kn===J?(t.__h=[],J.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(fn),t.__h.forEach(Vn),t.__h=[],Be=0)),kn=J},Q.diffed=function(e){Or&&Or(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Io.push(t)!==1&&gr===Q.requestAnimationFrame||((gr=Q.requestAnimationFrame)||ji)(Ei)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),kn=J=null},Q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(fn),n.__h=n.__h.filter(function(r){return!r.__||Vn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Q.__e(r,n.__v)}}),wr&&wr(e,t)},Q.unmount=function(e){Er&&Er(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{fn(r)}catch(o){t=o}}),n.__H=void 0,t&&Q.__e(t,n.__v))};var Pr=typeof requestAnimationFrame=="function";function ji(e){var t,n=function(){clearTimeout(r),Pr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Pr&&(t=requestAnimationFrame(n))}function fn(e){var t=J,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),J=t}function Vn(e){var t=J;e.__c=e.__(),J=t}function rr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function To(e,t){return typeof t=="function"?t(e):t}function Kn(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Wn(e,t){this.props=e,this.context=t}(Wn.prototype=new ke).isPureReactComponent=!0,Wn.prototype.shouldComponentUpdate=function(e,t){return Kn(this.props,e)||Kn(this.state,t)};var Ir=H.__b;H.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ir&&Ir(e)};var Pi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,kr=function(e,t){return e==null?null:Te(Te(e).map(t))},Ii={map:kr,forEach:kr,count:function(e){return e?Te(e).length:0},only:function(e){var t=Te(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Te},ki=H.__e;H.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}ki(e,t,n,r)};var Dr=H.unmount;function Ro(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=function(r,o){for(var i in o)r[i]=o[i];return r}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ro(r,t,n)})),e}function Lo(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Lo(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function mn(){this.__u=0,this.t=null,this.__b=null}function qo(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function gt(){this.u=null,this.o=null}H.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Dr&&Dr(e)},(mn.prototype=new ke).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=qo(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(u):u())};n.__R=a;var u=function(){if(!--r.__u){if(r.state.__a){var f=r.state.__a;r.__v.__k[0]=Lo(f,f.__c.__P,f.__c.__O)}var s;for(r.setState({__a:r.__b=null});s=r.t.pop();)s.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},mn.prototype.componentWillUnmount=function(){this.t=[]},mn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ro(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&Ie(Ne,null,e.fallback);return o&&(o.__u&=-33),[Ie(Ne,null,t.__a?null:e.children),o]};var xr=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(r)}}),Mt(Ie(Di,{context:t.context},e.__v),t.l)}function Mo(e,t){var n=Ie(xi,{__v:e,i:t});return n.containerInfo=t,n}(gt.prototype=new ke).__a=function(e){var t=this,n=qo(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),xr(t,e,r)):o()};n?n(i):i()}},gt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Te(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},gt.prototype.componentDidUpdate=gt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){xr(e,n,t)})};var Ho=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ci=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ai=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ni=/[A-Z0-9]/g,Ti=typeof document<"u",Ri=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Uo(e,t,n){return t.__k==null&&(t.textContent=""),Mt(e,t),typeof n=="function"&&n(),e?e.__c:null}ke.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ke.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Cr=H.event;function Li(){}function qi(){return this.cancelBubble}function Mi(){return this.defaultPrevented}H.event=function(e){return Cr&&(e=Cr(e)),e.persist=Li,e.isPropagationStopped=qi,e.isDefaultPrevented=Mi,e.nativeEvent=e};var or,Hi={enumerable:!1,configurable:!0,get:function(){return this.class}},Ar=H.vnode;H.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var a in n){var u=n[a];if(!(a==="value"&&"defaultValue"in n&&u==null||Ti&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var f=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&u===!0?u="":f==="translate"&&u==="no"?u=!1:f[0]==="o"&&f[1]==="n"?f==="ondoubleclick"?a="ondblclick":f!=="onchange"||r!=="input"&&r!=="textarea"||Ri(n.type)?f==="onfocus"?a="onfocusin":f==="onblur"?a="onfocusout":Ai.test(a)&&(a=f):f=a="oninput":i&&Ci.test(a)?a=a.replace(Ni,"-$&").toLowerCase():u===null&&(u=void 0),f==="oninput"&&o[a=f]&&(a="oninputCapture"),o[a]=u}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Te(n.children).forEach(function(s){s.props.selected=o.value.indexOf(s.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Te(n.children).forEach(function(s){s.props.selected=o.multiple?o.defaultValue.indexOf(s.props.value)!=-1:o.defaultValue==s.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Hi)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Ho,Ar&&Ar(e)};var Nr=H.__r;H.__r=function(e){Nr&&Nr(e),or=e.__c};var Tr=H.diffed;H.diffed=function(e){Tr&&Tr(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),or=null};var Ui={ReactCurrentDispatcher:{current:{readContext:function(e){return or.__n[e.__c].props.value},useCallback:xo,useContext:Co,useDebugValue:Ao,useDeferredValue:Bo,useEffect:Kt,useId:No,useImperativeHandle:Do,useInsertionEffect:Ko,useLayoutEffect:Wt,useMemo:yn,useReducer:nr,useRef:ko,useState:Vt,useSyncExternalStore:Wo,useTransition:Vo}}};function Xt(e){return!!e&&e.$$typeof===Ho}function Fo(e){e()}function Bo(e){return e}function Vo(){return[!1,Fo]}var Ko=Wt;function Wo(e,t){var n=t(),r=Vt({h:{__:n,v:t}}),o=r[0].h,i=r[1];return Wt(function(){o.__=n,o.v=t,Dn(o)&&i({h:o})},[e,n,t]),Kt(function(){return Dn(o)&&i({h:o}),e(function(){Dn(o)&&i({h:o})})},[e]),n}function Dn(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var l={useState:Vt,useId:No,useReducer:nr,useEffect:Kt,useLayoutEffect:Wt,useInsertionEffect:Ko,useTransition:Vo,useDeferredValue:Bo,useSyncExternalStore:Wo,startTransition:Fo,useRef:ko,useImperativeHandle:Do,useMemo:yn,useCallback:xo,useContext:Co,useDebugValue:Ao,version:"18.3.1",Children:Ii,render:Uo,hydrate:function(e,t,n){return Po(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(Mt(null,e),!0)},createPortal:Mo,createElement:Ie,createContext:function(e,t){var n={__c:t="__cC"+_o++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=new Set,(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.forEach(function(u){u.__e=!0,Bn(u)})},this.sub=function(a){o.add(a);var u=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.delete(a),u&&u.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return Ie.bind(null,e)},cloneElement:function(e){return Xt(e)?wi.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:Ne,isValidElement:Xt,isElement:Xt,isFragment:function(e){return Xt(e)&&e.type===Ne},isMemo:function(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:ke,PureComponent:Wn,memo:function(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Kn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Ie(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(n){if(!("ref"in n))return e(n,null);var r=n.ref;delete n.ref;var o=e(n,r);return n.ref=r,o}return t.$$typeof=Pi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:Ne,Suspense:mn,SuspenseList:gt,lazy:function(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return Ie(n,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ui};function zn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--A){var P=this.tryEntries[A],L=P.completion;if(P.tryLoc==="root")return O("end");if(P.tryLoc<=this.prev){var q=r.call(P,"catchLoc"),$=r.call(P,"finallyLoc");if(q&&$){if(this.prev=0;--O){var A=this.tryEntries[O];if(A.tryLoc<=this.prev&&r.call(A,"finallyLoc")&&this.prev=0;--b){var O=this.tryEntries[b];if(O.finallyLoc===S)return this.complete(O.completion,O.afterLoc),T(O),d}},catch:function(S){for(var b=this.tryEntries.length-1;b>=0;--b){var O=this.tryEntries[b];if(O.tryLoc===S){var A=O.completion;if(A.type==="throw"){var P=A.arg;T(O)}return P}}throw Error("illegal catch attempt")},delegateYield:function(S,b,O){return this.delegate={iterator:ye(S),resultName:b,nextLoc:O},this.method==="next"&&(this.arg=e),d}},t}function Ut(e,t){return Ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ut(e,t)}function de(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,u,f,s=[],m=!0,c=!1;try{if(u=(o=o.call(n)).next,r===0){if(Object(o)!==o)return;m=!1}else for(;!(m=(i=u.call(o)).done)&&(s.push(i.value),s.length!==r);m=!0);}catch(_){c=!0,a=_}finally{try{if(!m&&o.return!=null&&(f=o.return(),Object(f)!==f))return}finally{if(c)throw a}}return s}}(e,t)||zo(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +import{d as li,az as si,L as fi,v as mi,q as pi,R as vi,o as hi,c as di}from"./framework.DDyYGyON.js";import{u as yi}from"./theme.DW4UajBf.js";/*! @docsearch/js 3.6.3 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t2&&(a.children=arguments.length>3?Bt.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return St(e,a,r,o,null)}function St(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ho,__i:-1,__u:0};return o==null&&H.vnode!=null&&H.vnode(i),i}function Ne(e){return e.children}function ke(e,t){this.props=e,this.context=t}function at(e,t){if(t==null)return e.__?at(e.__,e.__i+1):null;for(var n;tt&&Qe.sort(Hn));hn.__r=0}function Oo(e,t,n,r,o,i,a,u,f,s,m){var c,_,v,h,g,d=r&&r.__k||go,p=t.length;for(n.__d=f,gi(n,t,d),f=n.__d,c=0;c0?St(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=e,o.__b=e.__b+1,i=null,(u=o.__i=bi(o,n,a,m))!==-1&&(m--,(i=n[u])&&(i.__u|=131072)),i==null||i.__v===null?(u==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):u!==a&&(u==a-1?c--:u==a+1?c++:(u>a?c--:c++,o.__u|=65536))):o=e.__k[r]=null;if(m)for(r=0;r(f==null||131072&f.__u?0:1))for(;a>=0||u=0){if((f=t[a])&&!(131072&f.__u)&&o==f.key&&i===f.type)return a;a--}if(u2&&(u.children=arguments.length>3?Bt.call(arguments,2):n),St(e.type,u,r||e.key,o||e.ref,null)}Bt=go.slice,H={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(u){e=u}throw e}},ho=0,ke.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ae({},this.state),typeof e=="function"&&(e=e(Ae({},n),this.props)),e&&Ae(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Bn(this))},ke.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Bn(this))},ke.prototype.render=Ne,Qe=[],yo=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Hn=function(e,t){return e.__v.__b-t.__v.__b},hn.__r=0,Xn=0,Un=_r(!1),Fn=_r(!0),_o=0;var Be,J,kn,gr,ct=0,Io=[],Q=H,br=Q.__b,Sr=Q.__r,Or=Q.diffed,wr=Q.__c,Er=Q.unmount,jr=Q.__;function ut(e,t){Q.__h&&Q.__h(J,e,ct||t),ct=0;var n=J.__H||(J.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Vt(e){return ct=1,nr(To,e)}function nr(e,t,n){var r=ut(Be++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):To(void 0,t),function(u){var f=r.__N?r.__N[0]:r.__[0],s=r.t(f,u);f!==s&&(r.__N=[s,r.__[1]],r.__c.setState({}))}],r.__c=J,!J.u)){var o=function(u,f,s){if(!r.__c.__H)return!0;var m=r.__c.__H.__.filter(function(_){return!!_.__c});if(m.every(function(_){return!_.__N}))return!i||i.call(this,u,f,s);var c=!1;return m.forEach(function(_){if(_.__N){var v=_.__[0];_.__=_.__N,_.__N=void 0,v!==_.__[0]&&(c=!0)}}),!(!c&&r.__c.props===u)&&(!i||i.call(this,u,f,s))};J.u=!0;var i=J.shouldComponentUpdate,a=J.componentWillUpdate;J.componentWillUpdate=function(u,f,s){if(this.__e){var m=i;i=void 0,o(u,f,s),i=m}a&&a.call(this,u,f,s)},J.shouldComponentUpdate=o}return r.__N||r.__}function Kt(e,t){var n=ut(Be++,3);!Q.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,J.__H.__h.push(n))}function Wt(e,t){var n=ut(Be++,4);!Q.__s&&rr(n.__H,t)&&(n.__=e,n.i=t,J.__h.push(n))}function ko(e){return ct=5,yn(function(){return{current:e}},[])}function Do(e,t,n){ct=6,Wt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function yn(e,t){var n=ut(Be++,7);return rr(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function xo(e,t){return ct=8,yn(function(){return e},t)}function Co(e){var t=J.context[e.__c],n=ut(Be++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(J)),t.props.value):e.__}function Ao(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function No(){var e=ut(Be++,11);if(!e.__){for(var t=J.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Ei(){for(var e;e=Io.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(fn),e.__H.__h.forEach(Vn),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){J=null,br&&br(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),jr&&jr(e,t)},Q.__r=function(e){Sr&&Sr(e),Be=0;var t=(J=e.__c).__H;t&&(kn===J?(t.__h=[],J.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(fn),t.__h.forEach(Vn),t.__h=[],Be=0)),kn=J},Q.diffed=function(e){Or&&Or(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Io.push(t)!==1&&gr===Q.requestAnimationFrame||((gr=Q.requestAnimationFrame)||ji)(Ei)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),kn=J=null},Q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(fn),n.__h=n.__h.filter(function(r){return!r.__||Vn(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Q.__e(r,n.__v)}}),wr&&wr(e,t)},Q.unmount=function(e){Er&&Er(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{fn(r)}catch(o){t=o}}),n.__H=void 0,t&&Q.__e(t,n.__v))};var Pr=typeof requestAnimationFrame=="function";function ji(e){var t,n=function(){clearTimeout(r),Pr&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Pr&&(t=requestAnimationFrame(n))}function fn(e){var t=J,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),J=t}function Vn(e){var t=J;e.__c=e.__(),J=t}function rr(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function To(e,t){return typeof t=="function"?t(e):t}function Kn(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Wn(e,t){this.props=e,this.context=t}(Wn.prototype=new ke).isPureReactComponent=!0,Wn.prototype.shouldComponentUpdate=function(e,t){return Kn(this.props,e)||Kn(this.state,t)};var Ir=H.__b;H.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ir&&Ir(e)};var Pi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,kr=function(e,t){return e==null?null:Te(Te(e).map(t))},Ii={map:kr,forEach:kr,count:function(e){return e?Te(e).length:0},only:function(e){var t=Te(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Te},ki=H.__e;H.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}ki(e,t,n,r)};var Dr=H.unmount;function Ro(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=function(r,o){for(var i in o)r[i]=o[i];return r}({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ro(r,t,n)})),e}function Lo(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Lo(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function mn(){this.__u=0,this.t=null,this.__b=null}function qo(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function gt(){this.u=null,this.o=null}H.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Dr&&Dr(e)},(mn.prototype=new ke).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=qo(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(u):u())};n.__R=a;var u=function(){if(!--r.__u){if(r.state.__a){var f=r.state.__a;r.__v.__k[0]=Lo(f,f.__c.__P,f.__c.__O)}var s;for(r.setState({__a:r.__b=null});s=r.t.pop();)s.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},mn.prototype.componentWillUnmount=function(){this.t=[]},mn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ro(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&Ie(Ne,null,e.fallback);return o&&(o.__u&=-33),[Ie(Ne,null,t.__a?null:e.children),o]};var xr=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(r)}}),Mt(Ie(Di,{context:t.context},e.__v),t.l)}function Mo(e,t){var n=Ie(xi,{__v:e,i:t});return n.containerInfo=t,n}(gt.prototype=new ke).__a=function(e){var t=this,n=qo(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),xr(t,e,r)):o()};n?n(i):i()}},gt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Te(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},gt.prototype.componentDidUpdate=gt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){xr(e,n,t)})};var Ho=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ci=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Ai=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Ni=/[A-Z0-9]/g,Ti=typeof document<"u",Ri=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Uo(e,t,n){return t.__k==null&&(t.textContent=""),Mt(e,t),typeof n=="function"&&n(),e?e.__c:null}ke.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(ke.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Cr=H.event;function Li(){}function qi(){return this.cancelBubble}function Mi(){return this.defaultPrevented}H.event=function(e){return Cr&&(e=Cr(e)),e.persist=Li,e.isPropagationStopped=qi,e.isDefaultPrevented=Mi,e.nativeEvent=e};var or,Hi={enumerable:!1,configurable:!0,get:function(){return this.class}},Ar=H.vnode;H.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={},i=r.indexOf("-")===-1;for(var a in n){var u=n[a];if(!(a==="value"&&"defaultValue"in n&&u==null||Ti&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var f=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&u===!0?u="":f==="translate"&&u==="no"?u=!1:f[0]==="o"&&f[1]==="n"?f==="ondoubleclick"?a="ondblclick":f!=="onchange"||r!=="input"&&r!=="textarea"||Ri(n.type)?f==="onfocus"?a="onfocusin":f==="onblur"?a="onfocusout":Ai.test(a)&&(a=f):f=a="oninput":i&&Ci.test(a)?a=a.replace(Ni,"-$&").toLowerCase():u===null&&(u=void 0),f==="oninput"&&o[a=f]&&(a="oninputCapture"),o[a]=u}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Te(n.children).forEach(function(s){s.props.selected=o.value.indexOf(s.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Te(n.children).forEach(function(s){s.props.selected=o.multiple?o.defaultValue.indexOf(s.props.value)!=-1:o.defaultValue==s.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",Hi)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Ho,Ar&&Ar(e)};var Nr=H.__r;H.__r=function(e){Nr&&Nr(e),or=e.__c};var Tr=H.diffed;H.diffed=function(e){Tr&&Tr(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),or=null};var Ui={ReactCurrentDispatcher:{current:{readContext:function(e){return or.__n[e.__c].props.value},useCallback:xo,useContext:Co,useDebugValue:Ao,useDeferredValue:Bo,useEffect:Kt,useId:No,useImperativeHandle:Do,useInsertionEffect:Ko,useLayoutEffect:Wt,useMemo:yn,useReducer:nr,useRef:ko,useState:Vt,useSyncExternalStore:Wo,useTransition:Vo}}};function Xt(e){return!!e&&e.$$typeof===Ho}function Fo(e){e()}function Bo(e){return e}function Vo(){return[!1,Fo]}var Ko=Wt;function Wo(e,t){var n=t(),r=Vt({h:{__:n,v:t}}),o=r[0].h,i=r[1];return Wt(function(){o.__=n,o.v=t,Dn(o)&&i({h:o})},[e,n,t]),Kt(function(){return Dn(o)&&i({h:o}),e(function(){Dn(o)&&i({h:o})})},[e]),n}function Dn(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var l={useState:Vt,useId:No,useReducer:nr,useEffect:Kt,useLayoutEffect:Wt,useInsertionEffect:Ko,useTransition:Vo,useDeferredValue:Bo,useSyncExternalStore:Wo,startTransition:Fo,useRef:ko,useImperativeHandle:Do,useMemo:yn,useCallback:xo,useContext:Co,useDebugValue:Ao,version:"18.3.1",Children:Ii,render:Uo,hydrate:function(e,t,n){return Po(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(Mt(null,e),!0)},createPortal:Mo,createElement:Ie,createContext:function(e,t){var n={__c:t="__cC"+_o++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=new Set,(i={})[t]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.forEach(function(u){u.__e=!0,Bn(u)})},this.sub=function(a){o.add(a);var u=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.delete(a),u&&u.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return Ie.bind(null,e)},cloneElement:function(e){return Xt(e)?wi.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:Ne,isValidElement:Xt,isElement:Xt,isFragment:function(e){return Xt(e)&&e.type===Ne},isMemo:function(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:ke,PureComponent:Wn,memo:function(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Kn(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Ie(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(n){if(!("ref"in n))return e(n,null);var r=n.ref;delete n.ref;var o=e(n,r);return n.ref=r,o}return t.$$typeof=Pi,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:Ne,Suspense:mn,SuspenseList:gt,lazy:function(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return Ie(n,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ui};function zn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0;--A){var P=this.tryEntries[A],L=P.completion;if(P.tryLoc==="root")return O("end");if(P.tryLoc<=this.prev){var q=r.call(P,"catchLoc"),$=r.call(P,"finallyLoc");if(q&&$){if(this.prev=0;--O){var A=this.tryEntries[O];if(A.tryLoc<=this.prev&&r.call(A,"finallyLoc")&&this.prev=0;--b){var O=this.tryEntries[b];if(O.finallyLoc===S)return this.complete(O.completion,O.afterLoc),T(O),d}},catch:function(S){for(var b=this.tryEntries.length-1;b>=0;--b){var O=this.tryEntries[b];if(O.tryLoc===S){var A=O.completion;if(A.type==="throw"){var P=A.arg;T(O)}return P}}throw Error("illegal catch attempt")},delegateYield:function(S,b,O){return this.delegate={iterator:ye(S),resultName:b,nextLoc:O},this.method==="next"&&(this.arg=e),d}},t}function Ut(e,t){return Ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ut(e,t)}function de(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,a,u,f,s=[],m=!0,c=!1;try{if(u=(o=o.call(n)).next,r===0){if(Object(o)!==o)return;m=!1}else for(;!(m=(i=u.call(o)).done)&&(s.push(i.value),s.length!==r);m=!0);}catch(_){c=!0,a=_}finally{try{if(!m&&o.return!=null&&(f=o.return(),Object(f)!==f))return}finally{if(c)throw a}}return s}}(e,t)||zo(e,t)||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 Ot(e){return function(t){if(Array.isArray(t))return zn(t)}(e)||function(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||zo(e)||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 Fi(e){var t=function(n){if(x(n)!="object"||!n)return n;var r=n[Symbol.toPrimitive];if(r!==void 0){var o=r.call(n,"string");if(x(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(e);return x(t)=="symbol"?t:t+""}function zo(e,t){if(e){if(typeof e=="string")return zn(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zn(e,t):void 0}}function Jn(e){var t=typeof Map=="function"?new Map:void 0;return Jn=function(n){if(n===null||!function(o){try{return Function.toString.call(o).indexOf("[native code]")!==-1}catch{return typeof o=="function"}}(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return function(o,i,a){if(ir())return Reflect.construct.apply(null,arguments);var u=[null];u.push.apply(u,i);var f=new(o.bind.apply(o,u));return a&&Ut(f,a.prototype),f}(n,arguments,Ht(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Ut(r,n)},Jn(e)}function Bi(){return l.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},l.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 Jo(){return l.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20","aria-hidden":"true"},l.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 Vi=["translations"],en="Ctrl",Ki=l.forwardRef(function(e,t){var n=e.translations,r=n===void 0?{}:n,o=De(e,Vi),i=r.buttonText,a=i===void 0?"Search":i,u=r.buttonAriaLabel,f=u===void 0?"Search":u,s=de(Vt(null),2),m=s[0],c=s[1];return Kt(function(){typeof navigator<"u"&&(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?c("⌘"):c(en))},[]),l.createElement("button",ue({type:"button",className:"DocSearch DocSearch-Button","aria-label":f},o,{ref:t}),l.createElement("span",{className:"DocSearch-Button-Container"},l.createElement(Jo,null),l.createElement("span",{className:"DocSearch-Button-Placeholder"},a)),l.createElement("span",{className:"DocSearch-Button-Keys"},m!==null&&l.createElement(l.Fragment,null,l.createElement(qr,{reactsToKey:m===en?en:"Meta"},m===en?l.createElement(Bi,null):m),l.createElement(qr,{reactsToKey:"k"},"K"))))});function qr(e){var t=e.reactsToKey,n=e.children,r=de(Vt(!1),2),o=r[0],i=r[1];return Kt(function(){if(t)return window.addEventListener("keydown",a),window.addEventListener("keyup",u),function(){window.removeEventListener("keydown",a),window.removeEventListener("keyup",u)};function a(f){f.key===t&&i(!0)}function u(f){f.key!==t&&f.key!=="Meta"||i(!1)}},[t]),l.createElement("kbd",{className:o?"DocSearch-Button-Key DocSearch-Button-Key--pressed":"DocSearch-Button-Key"},n)}function $o(e,t){var n=void 0;return function(){for(var r=arguments.length,o=new Array(r),i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(m[f]=a[f]);return m}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ot(e){for(var t=1;tn in t}const Z={},xt=[],Ue=()=>{},Vo=()=>!1,Zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ds=e=>e.startsWith("onUpdate:"),ce=Object.assign,js=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Uo=Object.prototype.hasOwnProperty,z=(e,t)=>Uo.call(e,t),B=Array.isArray,Tt=e=>Nn(e)==="[object Map]",ei=e=>Nn(e)==="[object Set]",G=e=>typeof e=="function",re=e=>typeof e=="string",Ge=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",ti=e=>(ne(e)||G(e))&&G(e.then)&&G(e.catch),ni=Object.prototype.toString,Nn=e=>ni.call(e),ko=e=>Nn(e).slice(8,-1),si=e=>Nn(e)==="[object Object]",Vs=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ct=$s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Bo=/-(\w)/g,Le=Fn(e=>e.replace(Bo,(t,n)=>n?n.toUpperCase():"")),Wo=/\B([A-Z])/g,st=Fn(e=>e.replace(Wo,"-$1").toLowerCase()),Hn=Fn(e=>e.charAt(0).toUpperCase()+e.slice(1)),vn=Fn(e=>e?`on${Hn(e)}`:""),et=(e,t)=>!Object.is(e,t),bn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ws=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ko=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let lr;const $n=()=>lr||(lr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Dn(e){if(B(e)){const t={};for(let n=0;n{if(n){const s=n.split(Go);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function jn(e){let t="";if(re(e))t=e;else if(B(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Qo=e=>re(e)?e:e==null?"":B(e)||ne(e)&&(e.toString===ni||!G(e.toString))?oi(e)?Qo(e.value):JSON.stringify(e,li,2):String(e),li=(e,t)=>oi(t)?li(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[es(s,i)+" =>"]=r,n),{})}:ei(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>es(n))}:Ge(t)?es(t):ne(t)&&!B(t)&&!si(t)?String(t):t,es=(e,t="")=>{var n;return Ge(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.12 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let _e;class Zo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Vt){let t=Vt;for(Vt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;jt;){let t=jt;for(jt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function di(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function hi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Bs(s),tl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ss(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(pi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function pi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===qt))return;e.globalVersion=qt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ss(e)){e.flags&=-3;return}const n=te,s=Ne;te=e,Ne=!0;try{di(e);const r=e.fn(e._value);(t.version===0||et(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{te=n,Ne=s,hi(e),e.flags&=-3}}function Bs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Bs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function tl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const gi=[];function rt(){gi.push(Ne),Ne=!1}function it(){const e=gi.pop();Ne=e===void 0?!0:e}function cr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let qt=0;class nl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!te||!Ne||te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==te)n=this.activeLink=new nl(te,this),te.deps?(n.prevDep=te.depsTail,te.depsTail.nextDep=n,te.depsTail=n):te.deps=te.depsTail=n,mi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=te.depsTail,n.nextDep=void 0,te.depsTail.nextDep=n,te.depsTail=n,te.deps===n&&(te.deps=s)}return n}trigger(t){this.version++,qt++,this.notify(t)}notify(t){Us();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ks()}}}function mi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)mi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Tn=new WeakMap,dt=Symbol(""),Es=Symbol(""),Gt=Symbol("");function me(e,t,n){if(Ne&&te){let s=Tn.get(e);s||Tn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Vn),r.map=s,r.key=n),r.track()}}function We(e,t,n,s,r,i){const o=Tn.get(e);if(!o){qt++;return}const l=c=>{c&&c.trigger()};if(Us(),t==="clear")o.forEach(l);else{const c=B(e),f=c&&Vs(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,y)=>{(y==="length"||y===Gt||!Ge(y)&&y>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(Gt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(dt)),Tt(e)&&l(o.get(Es)));break;case"delete":c||(l(o.get(dt)),Tt(e)&&l(o.get(Es)));break;case"set":Tt(e)&&l(o.get(dt));break}}ks()}function sl(e,t){const n=Tn.get(e);return n&&n.get(t)}function bt(e){const t=J(e);return t===e?t:(me(t,"iterate",Gt),Pe(e)?t:t.map(ye))}function Un(e){return me(e=J(e),"iterate",Gt),e}const rl={__proto__:null,[Symbol.iterator](){return ns(this,Symbol.iterator,ye)},concat(...e){return bt(this).concat(...e.map(t=>B(t)?bt(t):t))},entries(){return ns(this,"entries",e=>(e[1]=ye(e[1]),e))},every(e,t){return ke(this,"every",e,t,void 0,arguments)},filter(e,t){return ke(this,"filter",e,t,n=>n.map(ye),arguments)},find(e,t){return ke(this,"find",e,t,ye,arguments)},findIndex(e,t){return ke(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ke(this,"findLast",e,t,ye,arguments)},findLastIndex(e,t){return ke(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ke(this,"forEach",e,t,void 0,arguments)},includes(...e){return ss(this,"includes",e)},indexOf(...e){return ss(this,"indexOf",e)},join(e){return bt(this).join(e)},lastIndexOf(...e){return ss(this,"lastIndexOf",e)},map(e,t){return ke(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return ar(this,"reduce",e,t)},reduceRight(e,...t){return ar(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return ke(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return bt(this).toReversed()},toSorted(e){return bt(this).toSorted(e)},toSpliced(...e){return bt(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return ns(this,"values",ye)}};function ns(e,t,n){const s=Un(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const il=Array.prototype;function ke(e,t,n,s,r,i){const o=Un(e),l=o!==e&&!Pe(e),c=o[t];if(c!==il[t]){const h=c.apply(e,i);return l?ye(h):h}let f=n;o!==e&&(l?f=function(h,y){return n.call(this,ye(h),y,e)}:n.length>2&&(f=function(h,y){return n.call(this,h,y,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function ar(e,t,n,s){const r=Un(e);let i=n;return r!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ye(l),c,e)}),r[t](i,...s)}function ss(e,t,n){const s=J(e);me(s,"iterate",Gt);const r=s[t](...n);return(r===-1||r===!1)&&qs(n[0])?(n[0]=J(n[0]),s[t](...n)):r}function Ft(e,t,n=[]){rt(),Us();const s=J(e)[t].apply(e,n);return ks(),it(),s}const ol=$s("__proto__,__v_isRef,__isVue"),yi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge));function ll(e){Ge(e)||(e=String(e));const t=J(this);return me(t,"has",e),t.hasOwnProperty(e)}class vi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?yl:Si:i?wi:_i).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=B(t);if(!r){let c;if(o&&(c=rl[n]))return c;if(n==="hasOwnProperty")return ll}const l=Reflect.get(t,n,de(t)?t:s);return(Ge(n)?yi.has(n):ol(n))||(r||me(t,"get",n),i)?l:de(l)?o&&Vs(n)?l:l.value:ne(l)?r?Bn(l):kn(l):l}}class bi extends vi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=yt(i);if(!Pe(s)&&!yt(s)&&(i=J(i),s=J(s)),!B(t)&&de(i)&&!de(s))return c?!1:(i.value=s,!0)}const o=B(t)&&Vs(n)?Number(n)e,ln=e=>Reflect.getPrototypeOf(e);function dl(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=Tt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?xs:t?Ts:ye;return!t&&me(i,"iterate",c?Es:dt),{next(){const{value:h,done:y}=f.next();return y?{value:h,done:y}:{value:l?[a(h[0]),a(h[1])]:a(h),done:y}},[Symbol.iterator](){return this}}}}function cn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function hl(e,t){const n={get(r){const i=this.__v_raw,o=J(i),l=J(r);e||(et(r,l)&&me(o,"get",r),me(o,"get",l));const{has:c}=ln(o),f=t?xs:e?Ts:ye;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&me(J(r),"iterate",dt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=J(i),l=J(r);return e||(et(r,l)&&me(o,"has",r),me(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=J(l),f=t?xs:e?Ts:ye;return!e&&me(c,"iterate",dt),l.forEach((a,h)=>r.call(i,f(a),f(h),o))}};return ce(n,e?{add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear")}:{add(r){!t&&!Pe(r)&&!yt(r)&&(r=J(r));const i=J(this);return ln(i).has.call(i,r)||(i.add(r),We(i,"add",r,r)),this},set(r,i){!t&&!Pe(i)&&!yt(i)&&(i=J(i));const o=J(this),{has:l,get:c}=ln(o);let f=l.call(o,r);f||(r=J(r),f=l.call(o,r));const a=c.call(o,r);return o.set(r,i),f?et(i,a)&&We(o,"set",r,i):We(o,"add",r,i),this},delete(r){const i=J(this),{has:o,get:l}=ln(i);let c=o.call(i,r);c||(r=J(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&We(i,"delete",r,void 0),f},clear(){const r=J(this),i=r.size!==0,o=r.clear();return i&&We(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=dl(r,e,t)}),n}function Ws(e,t){const n=hl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const pl={get:Ws(!1,!1)},gl={get:Ws(!1,!0)},ml={get:Ws(!0,!1)};const _i=new WeakMap,wi=new WeakMap,Si=new WeakMap,yl=new WeakMap;function vl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bl(e){return e.__v_skip||!Object.isExtensible(e)?0:vl(ko(e))}function kn(e){return yt(e)?e:Ks(e,!1,al,pl,_i)}function _l(e){return Ks(e,!1,ul,gl,wi)}function Bn(e){return Ks(e,!0,fl,ml,Si)}function Ks(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=bl(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function ht(e){return yt(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function yt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function qs(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function _n(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&ri(e,"__v_skip",!0),e}const ye=e=>ne(e)?kn(e):e,Ts=e=>ne(e)?Bn(e):e;function de(e){return e?e.__v_isRef===!0:!1}function le(e){return xi(e,!1)}function Ei(e){return xi(e,!0)}function xi(e,t){return de(e)?e:new wl(e,t)}class wl{constructor(t,n){this.dep=new Vn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:ye(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||yt(t);t=s?t:J(t),et(t,n)&&(this._rawValue=t,this._value=s?t:ye(t),this.dep.trigger())}}function Ti(e){return de(e)?e.value:e}const Sl={get:(e,t,n)=>t==="__v_raw"?e:Ti(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return de(r)&&!de(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ci(e){return ht(e)?e:new Proxy(e,Sl)}class El{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Vn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function xl(e){return new El(e)}class Tl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return sl(J(this._object),this._key)}}class Cl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Al(e,t,n){return de(e)?e:G(e)?new Cl(e):ne(e)&&arguments.length>1?Rl(e,t,n):le(e)}function Rl(e,t,n){const s=e[t];return de(s)?s:new Tl(e,t,n)}class Ol{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Vn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return ui(this,!0),!0}get value(){const t=this.dep.track();return pi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ml(e,t,n=!1){let s,r;return G(e)?s=e:(s=e.get,r=e.set),new Ol(s,r,n)}const an={},Cn=new WeakMap;let ft;function Pl(e,t=!1,n=ft){if(n){let s=Cn.get(n);s||Cn.set(n,s=[]),s.push(e)}}function Ll(e,t,n=Z){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=g=>r?g:Pe(g)||r===!1||r===0?Ke(g,1):Ke(g);let a,h,y,v,E=!1,b=!1;if(de(e)?(h=()=>e.value,E=Pe(e)):ht(e)?(h=()=>f(e),E=!0):B(e)?(b=!0,E=e.some(g=>ht(g)||Pe(g)),h=()=>e.map(g=>{if(de(g))return g.value;if(ht(g))return f(g);if(G(g))return c?c(g,2):g()})):G(e)?t?h=c?()=>c(e,2):e:h=()=>{if(y){rt();try{y()}finally{it()}}const g=ft;ft=a;try{return c?c(e,3,[v]):e(v)}finally{ft=g}}:h=Ue,t&&r){const g=h,M=r===!0?1/0:r;h=()=>Ke(g(),M)}const W=ci(),N=()=>{a.stop(),W&&js(W.effects,a)};if(i&&t){const g=t;t=(...M)=>{g(...M),N()}}let j=b?new Array(e.length).fill(an):an;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const M=a.run();if(r||E||(b?M.some((F,$)=>et(F,j[$])):et(M,j))){y&&y();const F=ft;ft=a;try{const $=[M,j===an?void 0:b&&j[0]===an?[]:j,v];c?c(t,3,$):t(...$),j=M}finally{ft=F}}}else a.run()};return l&&l(p),a=new ai(h),a.scheduler=o?()=>o(p,!1):p,v=g=>Pl(g,!1,a),y=a.onStop=()=>{const g=Cn.get(a);if(g){if(c)c(g,4);else for(const M of g)M();Cn.delete(a)}},t?s?p(!0):j=a.run():o?o(p.bind(null,!0),!0):a.run(),N.pause=a.pause.bind(a),N.resume=a.resume.bind(a),N.stop=N,N}function Ke(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,de(e))Ke(e.value,t,n);else if(B(e))for(let s=0;s{Ke(s,t,n)});else if(si(e)){for(const s in e)Ke(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ke(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.12 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function en(e,t,n,s){try{return s?e(...s):e()}catch(r){tn(r,t,n)}}function He(e,t,n,s){if(G(e)){const r=en(e,t,n,s);return r&&ti(r)&&r.catch(i=>{tn(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i>>1,r=we[s],i=Yt(r);i=Yt(n)?we.push(e):we.splice(Nl(t),0,e),e.flags|=1,Ri()}}function Ri(){An||(An=Ai.then(Oi))}function Fl(e){B(e)?At.push(...e):ze&&e.id===-1?ze.splice(wt+1,0,e):e.flags&1||(At.push(e),e.flags|=1),Ri()}function fr(e,t,n=je+1){for(;nYt(n)-Yt(s));if(At.length=0,ze){ze.push(...t);return}for(ze=t,wt=0;wte.id==null?e.flags&2?-1:1/0:e.id;function Oi(e){try{for(je=0;je{s._d&&xr(-1);const i=On(t);let o;try{o=e(...r)}finally{On(i),s._d&&xr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function _f(e,t){if(ue===null)return e;const n=Jn(ue),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Ut=e=>e&&(e.disabled||e.disabled===""),$l=e=>e&&(e.defer||e.defer===""),ur=e=>typeof SVGElement<"u"&&e instanceof SVGElement,dr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Cs=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},Dl={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:h,pbc:y,o:{insert:v,querySelector:E,createText:b,createComment:W}}=f,N=Ut(t.props);let{shapeFlag:j,children:p,dynamicChildren:g}=t;if(e==null){const M=t.el=b(""),F=t.anchor=b("");v(M,n,s),v(F,n,s);const $=(R,_)=>{j&16&&(r&&r.isCE&&(r.ce._teleportTarget=R),a(p,R,_,r,i,o,l,c))},V=()=>{const R=t.target=Cs(t.props,E),_=Ii(R,t,b,v);R&&(o!=="svg"&&ur(R)?o="svg":o!=="mathml"&&dr(R)&&(o="mathml"),N||($(R,_),wn(t,!1)))};N&&($(n,F),wn(t,!0)),$l(t.props)?Ee(V,i):V()}else{t.el=e.el,t.targetStart=e.targetStart;const M=t.anchor=e.anchor,F=t.target=e.target,$=t.targetAnchor=e.targetAnchor,V=Ut(e.props),R=V?n:F,_=V?M:$;if(o==="svg"||ur(F)?o="svg":(o==="mathml"||dr(F))&&(o="mathml"),g?(y(e.dynamicChildren,g,R,r,i,o,l),Qs(e,t,!0)):c||h(e,t,R,_,r,i,o,l,!1),N)V?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):fn(t,n,M,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=Cs(t.props,E);I&&fn(t,I,null,f,0)}else V&&fn(t,F,$,f,1);wn(t,N)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:h,props:y}=e;if(h&&(r(f),r(a)),i&&r(c),o&16){const v=i||!Ut(y);for(let E=0;E{e.isMounted=!0}),Vi(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Ni={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},Fi=e=>{const t=e.subTree;return t.component?Fi(t.component):t},Ul={name:"BaseTransition",props:Ni,setup(e,{slots:t}){const n=Xn(),s=Vl();return()=>{const r=t.default&&Di(t.default(),!0);if(!r||!r.length)return;const i=Hi(r),o=J(e),{mode:l}=o;if(s.isLeaving)return rs(i);const c=hr(i);if(!c)return rs(i);let f=As(c,o,s,n,y=>f=y);c.type!==ve&&Xt(c,f);const a=n.subTree,h=a&&hr(a);if(h&&h.type!==ve&&!ut(c,h)&&Fi(n).type!==ve){const y=As(h,o,s,n);if(Xt(h,y),l==="out-in"&&c.type!==ve)return s.isLeaving=!0,y.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete y.afterLeave},rs(i);l==="in-out"&&c.type!==ve&&(y.delayLeave=(v,E,b)=>{const W=$i(s,h);W[String(h.key)]=h,v[Qe]=()=>{E(),v[Qe]=void 0,delete f.delayedLeave},f.delayedLeave=b})}return i}}};function Hi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ve){t=n;break}}return t}const kl=Ul;function $i(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function As(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:y,onLeave:v,onAfterLeave:E,onLeaveCancelled:b,onBeforeAppear:W,onAppear:N,onAfterAppear:j,onAppearCancelled:p}=t,g=String(e.key),M=$i(n,e),F=(R,_)=>{R&&He(R,s,9,_)},$=(R,_)=>{const I=_[1];F(R,_),B(R)?R.every(x=>x.length<=1)&&I():R.length<=1&&I()},V={mode:o,persisted:l,beforeEnter(R){let _=c;if(!n.isMounted)if(i)_=W||c;else return;R[Qe]&&R[Qe](!0);const I=M[g];I&&ut(e,I)&&I.el[Qe]&&I.el[Qe](),F(_,[R])},enter(R){let _=f,I=a,x=h;if(!n.isMounted)if(i)_=N||f,I=j||a,x=p||h;else return;let K=!1;const se=R[un]=ae=>{K||(K=!0,ae?F(x,[R]):F(I,[R]),V.delayedLeave&&V.delayedLeave(),R[un]=void 0)};_?$(_,[R,se]):se()},leave(R,_){const I=String(e.key);if(R[un]&&R[un](!0),n.isUnmounting)return _();F(y,[R]);let x=!1;const K=R[Qe]=se=>{x||(x=!0,_(),se?F(b,[R]):F(E,[R]),R[Qe]=void 0,M[I]===e&&delete M[I])};M[I]=e,v?$(v,[R,K]):K()},clone(R){const _=As(R,t,n,s,r);return r&&r(_),_}};return V}function rs(e){if(nn(e))return e=nt(e),e.children=null,e}function hr(e){if(!nn(e))return Li(e.type)&&e.children?Hi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&G(n.default))return n.default()}}function Xt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xt(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 Di(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iMn(E,t&&(B(t)?t[b]:t),n,s,r));return}if(pt(s)&&!r)return;const i=s.shapeFlag&4?Jn(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===Z?l.refs={}:l.refs,h=l.setupState,y=J(h),v=h===Z?()=>!1:E=>z(y,E);if(f!=null&&f!==c&&(re(f)?(a[f]=null,v(f)&&(h[f]=null)):de(f)&&(f.value=null)),G(c))en(c,l,12,[o,a]);else{const E=re(c),b=de(c);if(E||b){const W=()=>{if(e.f){const N=E?v(c)?h[c]:a[c]:c.value;r?B(N)&&js(N,i):B(N)?N.includes(i)||N.push(i):E?(a[c]=[i],v(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else E?(a[c]=o,v(c)&&(h[c]=o)):b&&(c.value=o,e.k&&(a[e.k]=o))};o?(W.id=-1,Ee(W,n)):W()}}}let pr=!1;const _t=()=>{pr||(console.error("Hydration completed but contains mismatches."),pr=!0)},Bl=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Wl=e=>e.namespaceURI.includes("MathML"),dn=e=>{if(e.nodeType===1){if(Bl(e))return"svg";if(Wl(e))return"mathml"}},Et=e=>e.nodeType===8;function Kl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),Rn(),g._vnode=p;return}h(g.firstChild,p,null,null,null),Rn(),g._vnode=p},h=(p,g,M,F,$,V=!1)=>{V=V||!!g.dynamicChildren;const R=Et(p)&&p.data==="[",_=()=>b(p,g,M,F,$,R),{type:I,ref:x,shapeFlag:K,patchFlag:se}=g;let ae=p.nodeType;g.el=p,se===-2&&(V=!1,g.dynamicChildren=null);let U=null;switch(I){case gt:ae!==3?g.children===""?(c(g.el=r(""),o(p),p),U=p):U=_():(p.data!==g.children&&(_t(),p.data=g.children),U=i(p));break;case ve:j(p)?(U=i(p),N(g.el=p.content.firstChild,p,M)):ae!==8||R?U=_():U=i(p);break;case Bt:if(R&&(p=i(p),ae=p.nodeType),ae===1||ae===3){U=p;const Y=!g.children.length;for(let D=0;D{V=V||!!g.dynamicChildren;const{type:R,props:_,patchFlag:I,shapeFlag:x,dirs:K,transition:se}=g,ae=R==="input"||R==="option";if(ae||I!==-1){K&&Ve(g,null,M,"created");let U=!1;if(j(p)){U=ro(null,se)&&M&&M.vnode.props&&M.vnode.props.appear;const D=p.content.firstChild;U&&se.beforeEnter(D),N(D,p,M),g.el=p=D}if(x&16&&!(_&&(_.innerHTML||_.textContent))){let D=v(p.firstChild,g,p,M,F,$,V);for(;D;){hn(p,1)||_t();const he=D;D=D.nextSibling,l(he)}}else if(x&8){let D=g.children;D[0]===` -`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(D=D.slice(1)),p.textContent!==D&&(hn(p,0)||_t(),p.textContent=g.children)}if(_){if(ae||!V||I&48){const D=p.tagName.includes("-");for(const he in _)(ae&&(he.endsWith("value")||he==="indeterminate")||Zt(he)&&!Ct(he)||he[0]==="."||D)&&s(p,he,null,_[he],void 0,M)}else if(_.onClick)s(p,"onClick",null,_.onClick,void 0,M);else if(I&4&&ht(_.style))for(const D in _.style)_.style[D]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Oe(Y,M,g),K&&Ve(g,null,M,"beforeMount"),((Y=_&&_.onVnodeMounted)||K||U)&&fo(()=>{Y&&Oe(Y,M,g),U&&se.enter(p),K&&Ve(g,null,M,"mounted")},F)}return p.nextSibling},v=(p,g,M,F,$,V,R)=>{R=R||!!g.dynamicChildren;const _=g.children,I=_.length;for(let x=0;x{const{slotScopeIds:R}=g;R&&($=$?$.concat(R):R);const _=o(p),I=v(i(p),g,_,M,F,$,V);return I&&Et(I)&&I.data==="]"?i(g.anchor=I):(_t(),c(g.anchor=f("]"),_,I),I)},b=(p,g,M,F,$,V)=>{if(hn(p.parentElement,1)||_t(),g.el=null,V){const I=W(p);for(;;){const x=i(p);if(x&&x!==I)l(x);else break}}const R=i(p),_=o(p);return l(p),n(null,g,_,R,M,F,dn(_),$),R},W=(p,g="[",M="]")=>{let F=0;for(;p;)if(p=i(p),p&&Et(p)&&(p.data===g&&F++,p.data===M)){if(F===0)return i(p);F--}return p},N=(p,g,M)=>{const F=g.parentNode;F&&F.replaceChild(p,g);let $=M;for(;$;)$.vnode.el===g&&($.vnode.el=$.subTree.el=p),$=$.parent},j=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const gr="data-allow-mismatch",ql={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function hn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(gr);)e=e.parentElement;const n=e&&e.getAttribute(gr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(ql[t])}}$n().requestIdleCallback;$n().cancelIdleCallback;function Gl(e,t){if(Et(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Et(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const pt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Sf(e){G(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,h=0;const y=()=>(h++,f=null,v()),v=()=>{let E;return f||(E=f=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),c)return new Promise((W,N)=>{c(b,()=>W(y()),()=>N(b),h+1)});throw b}).then(b=>E!==f&&f?f:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),a=b,b)))};return Ys({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(E,b,W){const N=i?()=>{const j=i(W,p=>Gl(E,p));j&&(b.bum||(b.bum=[])).push(j)}:W;a?N():v().then(()=>!b.isUnmounted&&N())},get __asyncResolved(){return a},setup(){const E=fe;if(Xs(E),a)return()=>is(a,E);const b=p=>{f=null,tn(p,E,13,!s)};if(l&&E.suspense||Mt)return v().then(p=>()=>is(p,E)).catch(p=>(b(p),()=>s?oe(s,{error:p}):null));const W=le(!1),N=le(),j=le(!!r);return r&&setTimeout(()=>{j.value=!1},r),o!=null&&setTimeout(()=>{if(!W.value&&!N.value){const p=new Error(`Async component timed out after ${o}ms.`);b(p),N.value=p}},o),v().then(()=>{W.value=!0,E.parent&&nn(E.parent.vnode)&&E.parent.update()}).catch(p=>{b(p),N.value=p}),()=>{if(W.value&&a)return is(a,E);if(N.value&&s)return oe(s,{error:N.value});if(n&&!j.value)return oe(n)}}})}function is(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=oe(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const nn=e=>e.type.__isKeepAlive;function Yl(e,t){ji(e,"a",t)}function Xl(e,t){ji(e,"da",t)}function ji(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Kn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)nn(r.parent.vnode)&&Jl(s,t,n,r),r=r.parent}}function Jl(e,t,n,s){const r=Kn(t,e,s,!0);qn(()=>{js(s[t],r)},n)}function Kn(e,t,n=fe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{rt();const l=sn(n),c=He(t,n,e,o);return l(),it(),c});return s?r.unshift(i):r.push(i),i}}const Ye=e=>(t,n=fe)=>{(!Mt||e==="sp")&&Kn(e,(...s)=>t(...s),n)},zl=Ye("bm"),Lt=Ye("m"),Ql=Ye("bu"),Zl=Ye("u"),Vi=Ye("bum"),qn=Ye("um"),ec=Ye("sp"),tc=Ye("rtg"),nc=Ye("rtc");function sc(e,t=fe){Kn("ec",e,t)}const Ui="components";function Ef(e,t){return Bi(Ui,e,!0,t)||e}const ki=Symbol.for("v-ndc");function xf(e){return re(e)?Bi(Ui,e,!1)||e:e||ki}function Bi(e,t,n=!0,s=!1){const r=ue||fe;if(r){const i=r.type;{const l=Uc(i,!1);if(l&&(l===t||l===Le(t)||l===Hn(Le(t))))return i}const o=mr(r[e]||i[e],t)||mr(r.appContext[e],t);return!o&&s?i:o}}function mr(e,t){return e&&(e[t]||e[Le(t)]||e[Hn(Le(t))])}function Tf(e,t,n,s){let r;const i=n,o=B(e);if(o||re(e)){const l=o&&ht(e);let c=!1;l&&(c=!Pe(e),e=Un(e)),r=new Array(e.length);for(let f=0,a=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Af(e,t,n={},s,r){if(ue.ce||ue.parent&&pt(ue.parent)&&ue.parent.ce)return t!=="default"&&(n.name=t),Ls(),Is(Se,null,[oe("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),Ls();const o=i&&Wi(i(n)),l=n.key||o&&o.key,c=Is(Se,{key:(l&&!Ge(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Wi(e){return e.some(t=>zt(t)?!(t.type===ve||t.type===Se&&!Wi(t.children)):!0)?e:null}function Rf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:vn(s)]=e[s];return n}const Rs=e=>e?mo(e)?Jn(e):Rs(e.parent):null,kt=ce(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=>Rs(e.parent),$root:e=>Rs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Js(e),$forceUpdate:e=>e.f||(e.f=()=>{Gs(e.update)}),$nextTick:e=>e.n||(e.n=Wn.bind(e.proxy)),$watch:e=>xc.bind(e)}),os=(e,t)=>e!==Z&&!e.__isScriptSetup&&z(e,t),rc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(os(s,t))return o[t]=1,s[t];if(r!==Z&&z(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&z(f,t))return o[t]=3,i[t];if(n!==Z&&z(n,t))return o[t]=4,n[t];Os&&(o[t]=0)}}const a=kt[t];let h,y;if(a)return t==="$attrs"&&me(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Z&&z(n,t))return o[t]=4,n[t];if(y=c.config.globalProperties,z(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return os(r,t)?(r[t]=n,!0):s!==Z&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Z&&z(e,o)||os(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(kt,o)||z(r.config.globalProperties,o)},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 Of(){return Ki().slots}function Mf(){return Ki().attrs}function Ki(){const e=Xn();return e.setupContext||(e.setupContext=vo(e))}function yr(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Os=!0;function ic(e){const t=Js(e),n=e.proxy,s=e.ctx;Os=!1,t.beforeCreate&&vr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:h,mounted:y,beforeUpdate:v,updated:E,activated:b,deactivated:W,beforeDestroy:N,beforeUnmount:j,destroyed:p,unmounted:g,render:M,renderTracked:F,renderTriggered:$,errorCaptured:V,serverPrefetch:R,expose:_,inheritAttrs:I,components:x,directives:K,filters:se}=t;if(f&&oc(f,s,null),o)for(const Y in o){const D=o[Y];G(D)&&(s[Y]=D.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=kn(Y))}if(Os=!0,i)for(const Y in i){const D=i[Y],he=G(D)?D.bind(n,n):G(D.get)?D.get.bind(n,n):Ue,rn=!G(D)&&G(D.set)?D.set.bind(n):Ue,ot=ie({get:he,set:rn});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>ot.value,set:$e=>ot.value=$e})}if(l)for(const Y in l)qi(l[Y],s,n,Y);if(c){const Y=G(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(D=>{dc(D,Y[D])})}a&&vr(a,e,"c");function U(Y,D){B(D)?D.forEach(he=>Y(he.bind(n))):D&&Y(D.bind(n))}if(U(zl,h),U(Lt,y),U(Ql,v),U(Zl,E),U(Yl,b),U(Xl,W),U(sc,V),U(nc,F),U(tc,$),U(Vi,j),U(qn,g),U(ec,R),B(_))if(_.length){const Y=e.exposed||(e.exposed={});_.forEach(D=>{Object.defineProperty(Y,D,{get:()=>n[D],set:he=>n[D]=he})})}else e.exposed||(e.exposed={});M&&e.render===Ue&&(e.render=M),I!=null&&(e.inheritAttrs=I),x&&(e.components=x),K&&(e.directives=K),R&&Xs(e)}function oc(e,t,n=Ue){B(e)&&(e=Ms(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=Ot(r.from||s,r.default,!0):i=Ot(r.from||s):i=Ot(r),de(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function vr(e,t,n){He(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function qi(e,t,n,s){let r=s.includes(".")?lo(n,s):()=>n[s];if(re(e)){const i=t[e];G(i)&&Fe(r,i)}else if(G(e))Fe(r,e.bind(n));else if(ne(e))if(B(e))e.forEach(i=>qi(i,t,n,s));else{const i=G(e.handler)?e.handler.bind(n):t[e.handler];G(i)&&Fe(r,i,e)}}function Js(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Pn(c,f,o,!0)),Pn(c,t,o)),ne(t)&&i.set(t,c),c}function Pn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Pn(e,i,n,!0),r&&r.forEach(o=>Pn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=lc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const lc={data:br,props:_r,emits:_r,methods:Dt,computed:Dt,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:Dt,directives:Dt,watch:ac,provide:br,inject:cc};function br(e,t){return t?e?function(){return ce(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function cc(e,t){return Dt(Ms(e),Ms(t))}function Ms(e){if(B(e)){const t={};for(let n=0;n1)return n&&G(t)?t.call(s&&s.proxy):t}}const Yi={},Xi=()=>Object.create(Yi),Ji=e=>Object.getPrototypeOf(e)===Yi;function hc(e,t,n,s=!1){const r={},i=Xi();e.propsDefaults=Object.create(null),zi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:_l(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function pc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[y,v]=Qi(h,t,!0);ce(o,y),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ne(e)&&s.set(e,xt),xt;if(B(i))for(let a=0;ae[0]==="_"||e==="$stable",zs=e=>B(e)?e.map(Me):[Me(e)],mc=(e,t,n)=>{if(t._n)return t;const s=Hl((...r)=>zs(t(...r)),n);return s._c=!1,s},eo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Zi(r))continue;const i=e[r];if(G(i))t[r]=mc(r,i,s);else if(i!=null){const o=zs(i);t[r]=()=>o}}},to=(e,t)=>{const n=zs(t);e.slots.default=()=>n},no=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},yc=(e,t,n)=>{const s=e.slots=Xi();if(e.vnode.shapeFlag&32){const r=t._;r?(no(s,t,n),n&&ri(s,"_",r,!0)):eo(t,s)}else t&&to(e,t)},vc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Z;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:no(r,t,n):(i=!t.$stable,eo(t,r)),o=t}else t&&(to(e,t),o={default:1});if(i)for(const l in r)!Zi(l)&&o[l]==null&&delete r[l]},Ee=fo;function bc(e){return so(e)}function _c(e){return so(e,Kl)}function so(e,t){const n=$n();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:y,setScopeId:v=Ue,insertStaticContent:E}=e,b=(u,d,m,T=null,w=null,S=null,P=void 0,O=null,A=!!d.dynamicChildren)=>{if(u===d)return;u&&!ut(u,d)&&(T=on(u),$e(u,w,S,!0),u=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:C,ref:k,shapeFlag:L}=d;switch(C){case gt:W(u,d,m,T);break;case ve:N(u,d,m,T);break;case Bt:u==null&&j(d,m,T,P);break;case Se:x(u,d,m,T,w,S,P,O,A);break;default:L&1?M(u,d,m,T,w,S,P,O,A):L&6?K(u,d,m,T,w,S,P,O,A):(L&64||L&128)&&C.process(u,d,m,T,w,S,P,O,A,vt)}k!=null&&w&&Mn(k,u&&u.ref,S,d||u,!d)},W=(u,d,m,T)=>{if(u==null)s(d.el=l(d.children),m,T);else{const w=d.el=u.el;d.children!==u.children&&f(w,d.children)}},N=(u,d,m,T)=>{u==null?s(d.el=c(d.children||""),m,T):d.el=u.el},j=(u,d,m,T)=>{[u.el,u.anchor]=E(u.children,d,m,T,u.el,u.anchor)},p=({el:u,anchor:d},m,T)=>{let w;for(;u&&u!==d;)w=y(u),s(u,m,T),u=w;s(d,m,T)},g=({el:u,anchor:d})=>{let m;for(;u&&u!==d;)m=y(u),r(u),u=m;r(d)},M=(u,d,m,T,w,S,P,O,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),u==null?F(d,m,T,w,S,P,O,A):R(u,d,w,S,P,O,A)},F=(u,d,m,T,w,S,P,O)=>{let A,C;const{props:k,shapeFlag:L,transition:H,dirs:q}=u;if(A=u.el=o(u.type,S,k&&k.is,k),L&8?a(A,u.children):L&16&&V(u.children,A,null,T,w,ls(u,S),P,O),q&&Ve(u,null,T,"created"),$(A,u,u.scopeId,P,T),k){for(const ee in k)ee!=="value"&&!Ct(ee)&&i(A,ee,null,k[ee],S,T);"value"in k&&i(A,"value",null,k.value,S),(C=k.onVnodeBeforeMount)&&Oe(C,T,u)}q&&Ve(u,null,T,"beforeMount");const X=ro(w,H);X&&H.beforeEnter(A),s(A,d,m),((C=k&&k.onVnodeMounted)||X||q)&&Ee(()=>{C&&Oe(C,T,u),X&&H.enter(A),q&&Ve(u,null,T,"mounted")},w)},$=(u,d,m,T,w)=>{if(m&&v(u,m),T)for(let S=0;S{for(let C=A;C{const O=d.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:k}=d;A|=u.patchFlag&16;const L=u.props||Z,H=d.props||Z;let q;if(m&<(m,!1),(q=H.onVnodeBeforeUpdate)&&Oe(q,m,d,u),k&&Ve(d,u,m,"beforeUpdate"),m&<(m,!0),(L.innerHTML&&H.innerHTML==null||L.textContent&&H.textContent==null)&&a(O,""),C?_(u.dynamicChildren,C,O,m,T,ls(d,w),S):P||D(u,d,O,null,m,T,ls(d,w),S,!1),A>0){if(A&16)I(O,L,H,m,w);else if(A&2&&L.class!==H.class&&i(O,"class",null,H.class,w),A&4&&i(O,"style",L.style,H.style,w),A&8){const X=d.dynamicProps;for(let ee=0;ee{q&&Oe(q,m,d,u),k&&Ve(d,u,m,"updated")},T)},_=(u,d,m,T,w,S,P)=>{for(let O=0;O{if(d!==m){if(d!==Z)for(const S in d)!Ct(S)&&!(S in m)&&i(u,S,d[S],null,w,T);for(const S in m){if(Ct(S))continue;const P=m[S],O=d[S];P!==O&&S!=="value"&&i(u,S,O,P,w,T)}"value"in m&&i(u,"value",d.value,m.value,w)}},x=(u,d,m,T,w,S,P,O,A)=>{const C=d.el=u?u.el:l(""),k=d.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:H,slotScopeIds:q}=d;q&&(O=O?O.concat(q):q),u==null?(s(C,m,T),s(k,m,T),V(d.children||[],m,k,w,S,P,O,A)):L>0&&L&64&&H&&u.dynamicChildren?(_(u.dynamicChildren,H,m,w,S,P,O),(d.key!=null||w&&d===w.subTree)&&Qs(u,d,!0)):D(u,d,m,k,w,S,P,O,A)},K=(u,d,m,T,w,S,P,O,A)=>{d.slotScopeIds=O,u==null?d.shapeFlag&512?w.ctx.activate(d,m,T,P,A):se(d,m,T,w,S,P,A):ae(u,d,A)},se=(u,d,m,T,w,S,P)=>{const O=u.component=$c(u,T,w);if(nn(u)&&(O.ctx.renderer=vt),Dc(O,!1,P),O.asyncDep){if(w&&w.registerDep(O,U,P),!u.el){const A=O.subTree=oe(ve);N(null,A,d,m)}}else U(O,u,d,m,w,S,P)},ae=(u,d,m)=>{const T=d.component=u.component;if(Oc(u,d,m))if(T.asyncDep&&!T.asyncResolved){Y(T,d,m);return}else T.next=d,T.update();else d.el=u.el,T.vnode=d},U=(u,d,m,T,w,S,P)=>{const O=()=>{if(u.isMounted){let{next:L,bu:H,u:q,parent:X,vnode:ee}=u;{const Te=io(u);if(Te){L&&(L.el=ee.el,Y(u,L,P)),Te.asyncDep.then(()=>{u.isUnmounted||O()});return}}let Q=L,xe;lt(u,!1),L?(L.el=ee.el,Y(u,L,P)):L=ee,H&&bn(H),(xe=L.props&&L.props.onVnodeBeforeUpdate)&&Oe(xe,X,L,ee),lt(u,!0);const pe=cs(u),Ie=u.subTree;u.subTree=pe,b(Ie,pe,h(Ie.el),on(Ie),u,w,S),L.el=pe.el,Q===null&&Mc(u,pe.el),q&&Ee(q,w),(xe=L.props&&L.props.onVnodeUpdated)&&Ee(()=>Oe(xe,X,L,ee),w)}else{let L;const{el:H,props:q}=d,{bm:X,m:ee,parent:Q,root:xe,type:pe}=u,Ie=pt(d);if(lt(u,!1),X&&bn(X),!Ie&&(L=q&&q.onVnodeBeforeMount)&&Oe(L,Q,d),lt(u,!0),H&&Zn){const Te=()=>{u.subTree=cs(u),Zn(H,u.subTree,u,w,null)};Ie&&pe.__asyncHydrate?pe.__asyncHydrate(H,u,Te):Te()}else{xe.ce&&xe.ce._injectChildStyle(pe);const Te=u.subTree=cs(u);b(null,Te,m,T,u,w,S),d.el=Te.el}if(ee&&Ee(ee,w),!Ie&&(L=q&&q.onVnodeMounted)){const Te=d;Ee(()=>Oe(L,Q,Te),w)}(d.shapeFlag&256||Q&&pt(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&Ee(u.a,w),u.isMounted=!0,d=m=T=null}};u.scope.on();const A=u.effect=new ai(O);u.scope.off();const C=u.update=A.run.bind(A),k=u.job=A.runIfDirty.bind(A);k.i=u,k.id=u.uid,A.scheduler=()=>Gs(k),lt(u,!0),C()},Y=(u,d,m)=>{d.component=u;const T=u.vnode.props;u.vnode=d,u.next=null,pc(u,d.props,T,m),vc(u,d.children,m),rt(),fr(u),it()},D=(u,d,m,T,w,S,P,O,A=!1)=>{const C=u&&u.children,k=u?u.shapeFlag:0,L=d.children,{patchFlag:H,shapeFlag:q}=d;if(H>0){if(H&128){rn(C,L,m,T,w,S,P,O,A);return}else if(H&256){he(C,L,m,T,w,S,P,O,A);return}}q&8?(k&16&&It(C,w,S),L!==C&&a(m,L)):k&16?q&16?rn(C,L,m,T,w,S,P,O,A):It(C,w,S,!0):(k&8&&a(m,""),q&16&&V(L,m,T,w,S,P,O,A))},he=(u,d,m,T,w,S,P,O,A)=>{u=u||xt,d=d||xt;const C=u.length,k=d.length,L=Math.min(C,k);let H;for(H=0;Hk?It(u,w,S,!0,!1,L):V(d,m,T,w,S,P,O,A,L)},rn=(u,d,m,T,w,S,P,O,A)=>{let C=0;const k=d.length;let L=u.length-1,H=k-1;for(;C<=L&&C<=H;){const q=u[C],X=d[C]=A?Ze(d[C]):Me(d[C]);if(ut(q,X))b(q,X,m,null,w,S,P,O,A);else break;C++}for(;C<=L&&C<=H;){const q=u[L],X=d[H]=A?Ze(d[H]):Me(d[H]);if(ut(q,X))b(q,X,m,null,w,S,P,O,A);else break;L--,H--}if(C>L){if(C<=H){const q=H+1,X=qH)for(;C<=L;)$e(u[C],w,S,!0),C++;else{const q=C,X=C,ee=new Map;for(C=X;C<=H;C++){const Ce=d[C]=A?Ze(d[C]):Me(d[C]);Ce.key!=null&&ee.set(Ce.key,C)}let Q,xe=0;const pe=H-X+1;let Ie=!1,Te=0;const Nt=new Array(pe);for(C=0;C=pe){$e(Ce,w,S,!0);continue}let De;if(Ce.key!=null)De=ee.get(Ce.key);else for(Q=X;Q<=H;Q++)if(Nt[Q-X]===0&&ut(Ce,d[Q])){De=Q;break}De===void 0?$e(Ce,w,S,!0):(Nt[De-X]=C+1,De>=Te?Te=De:Ie=!0,b(Ce,d[De],m,null,w,S,P,O,A),xe++)}const ir=Ie?wc(Nt):xt;for(Q=ir.length-1,C=pe-1;C>=0;C--){const Ce=X+C,De=d[Ce],or=Ce+1{const{el:S,type:P,transition:O,children:A,shapeFlag:C}=u;if(C&6){ot(u.component.subTree,d,m,T);return}if(C&128){u.suspense.move(d,m,T);return}if(C&64){P.move(u,d,m,vt);return}if(P===Se){s(S,d,m);for(let L=0;LO.enter(S),w);else{const{leave:L,delayLeave:H,afterLeave:q}=O,X=()=>s(S,d,m),ee=()=>{L(S,()=>{X(),q&&q()})};H?H(S,X,ee):ee()}else s(S,d,m)},$e=(u,d,m,T=!1,w=!1)=>{const{type:S,props:P,ref:O,children:A,dynamicChildren:C,shapeFlag:k,patchFlag:L,dirs:H,cacheIndex:q}=u;if(L===-2&&(w=!1),O!=null&&Mn(O,null,m,u,!0),q!=null&&(d.renderCache[q]=void 0),k&256){d.ctx.deactivate(u);return}const X=k&1&&H,ee=!pt(u);let Q;if(ee&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,d,u),k&6)jo(u.component,m,T);else{if(k&128){u.suspense.unmount(m,T);return}X&&Ve(u,null,d,"beforeUnmount"),k&64?u.type.remove(u,d,m,vt,T):C&&!C.hasOnce&&(S!==Se||L>0&&L&64)?It(C,d,m,!1,!0):(S===Se&&L&384||!w&&k&16)&&It(A,d,m),T&&sr(u)}(ee&&(Q=P&&P.onVnodeUnmounted)||X)&&Ee(()=>{Q&&Oe(Q,d,u),X&&Ve(u,null,d,"unmounted")},m)},sr=u=>{const{type:d,el:m,anchor:T,transition:w}=u;if(d===Se){Do(m,T);return}if(d===Bt){g(u);return}const S=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:O}=w,A=()=>P(m,S);O?O(u.el,S,A):A()}else S()},Do=(u,d)=>{let m;for(;u!==d;)m=y(u),r(u),u=m;r(d)},jo=(u,d,m)=>{const{bum:T,scope:w,job:S,subTree:P,um:O,m:A,a:C}=u;Sr(A),Sr(C),T&&bn(T),w.stop(),S&&(S.flags|=8,$e(P,u,d,m)),O&&Ee(O,d),Ee(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},It=(u,d,m,T=!1,w=!1,S=0)=>{for(let P=S;P{if(u.shapeFlag&6)return on(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=y(u.anchor||u.el),m=d&&d[Pi];return m?y(m):d};let zn=!1;const rr=(u,d,m)=>{u==null?d._vnode&&$e(d._vnode,null,null,!0):b(d._vnode||null,u,d,null,null,null,m),d._vnode=u,zn||(zn=!0,fr(),Rn(),zn=!1)},vt={p:b,um:$e,m:ot,r:sr,mt:se,mc:V,pc:D,pbc:_,n:on,o:e};let Qn,Zn;return t&&([Qn,Zn]=t(vt)),{render:rr,hydrate:Qn,createApp:uc(rr,Qn)}}function ls({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 lt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ro(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Qs(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function io(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:io(t)}function Sr(e){if(e)for(let t=0;tOt(Sc);function oo(e,t){return Gn(e,null,t)}function Pf(e,t){return Gn(e,null,{flush:"post"})}function Fe(e,t,n){return Gn(e,t,n)}function Gn(e,t,n=Z){const{immediate:s,deep:r,flush:i,once:o}=n,l=ce({},n),c=t&&s||!t&&i!=="post";let f;if(Mt){if(i==="sync"){const v=Ec();f=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=Ue,v.resume=Ue,v.pause=Ue,v}}const a=fe;l.call=(v,E,b)=>He(v,a,E,b);let h=!1;i==="post"?l.scheduler=v=>{Ee(v,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(v,E)=>{E?v():Gs(v)}),l.augmentJob=v=>{t&&(v.flags|=4),h&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const y=Ll(e,t,l);return Mt&&(f?f.push(y):c&&y()),y}function xc(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?lo(s,e):()=>s[e]:e.bind(s,s);let i;G(t)?i=t:(i=t.handler,n=t);const o=sn(this),l=Gn(r,i.bind(s),n);return o(),l}function lo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${st(t)}Modifiers`];function Cc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Z;let r=n;const i=t.startsWith("update:"),o=i&&Tc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>re(a)?a.trim():a)),o.number&&(r=n.map(ws)));let l,c=s[l=vn(t)]||s[l=vn(Le(t))];!c&&i&&(c=s[l=vn(st(t))]),c&&He(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(f,e,6,r)}}function co(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!G(e)){const c=f=>{const a=co(f,t,!0);a&&(l=!0,ce(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&s.set(e,null),null):(B(i)?i.forEach(c=>o[c]=null):ce(o,i),ne(e)&&s.set(e,o),o)}function Yn(e,t){return!e||!Zt(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,st(t))||z(e,t))}function cs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:h,data:y,setupState:v,ctx:E,inheritAttrs:b}=e,W=On(e);let N,j;try{if(n.shapeFlag&4){const g=r||s,M=g;N=Me(f.call(M,g,a,h,v,y,E)),j=l}else{const g=t;N=Me(g.length>1?g(h,{attrs:l,slots:o,emit:c}):g(h,null)),j=t.props?l:Ac(l)}}catch(g){Wt.length=0,tn(g,e,1),N=oe(ve)}let p=N;if(j&&b!==!1){const g=Object.keys(j),{shapeFlag:M}=p;g.length&&M&7&&(i&&g.some(Ds)&&(j=Rc(j,i)),p=nt(p,j,!1,!0))}return n.dirs&&(p=nt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Xt(p,n.transition),N=p,On(W),N}const Ac=e=>{let t;for(const n in e)(n==="class"||n==="style"||Zt(n))&&((t||(t={}))[n]=e[n]);return t},Rc=(e,t)=>{const n={};for(const s in e)(!Ds(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Oc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Er(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function fo(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Fl(e)}const Se=Symbol.for("v-fgt"),gt=Symbol.for("v-txt"),ve=Symbol.for("v-cmt"),Bt=Symbol.for("v-stc"),Wt=[];let Ae=null;function Ls(e=!1){Wt.push(Ae=e?null:[])}function Pc(){Wt.pop(),Ae=Wt[Wt.length-1]||null}let Jt=1;function xr(e){Jt+=e,e<0&&Ae&&(Ae.hasOnce=!0)}function uo(e){return e.dynamicChildren=Jt>0?Ae||xt:null,Pc(),Jt>0&&Ae&&Ae.push(e),e}function Lf(e,t,n,s,r,i){return uo(po(e,t,n,s,r,i,!0))}function Is(e,t,n,s,r){return uo(oe(e,t,n,s,r,!0))}function zt(e){return e?e.__v_isVNode===!0:!1}function ut(e,t){return e.type===t.type&&e.key===t.key}const ho=({key:e})=>e??null,Sn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||de(e)||G(e)?{i:ue,r:e,k:t,f:!!n}:e:null);function po(e,t=null,n=null,s=0,r=null,i=e===Se?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ho(t),ref:t&&Sn(t),scopeId:Mi,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ue};return l?(Zs(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),Jt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const oe=Lc;function Lc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ki)&&(e=ve),zt(e)){const l=nt(e,t,!0);return n&&Zs(l,n),Jt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(kc(e)&&(e=e.__vccOpts),t){t=Ic(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=jn(l)),ne(c)&&(qs(c)&&!B(c)&&(c=ce({},c)),t.style=Dn(c))}const o=re(e)?1:ao(e)?128:Li(e)?64:ne(e)?4:G(e)?2:0;return po(e,t,n,s,r,o,i,!0)}function Ic(e){return e?qs(e)||Ji(e)?ce({},e):e:null}function nt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Nc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&ho(f),ref:t&&t.ref?n&&i?B(i)?i.concat(Sn(t)):[i,Sn(t)]:Sn(t):i,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!==Se?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Xt(a,c.clone(a)),a}function go(e=" ",t=0){return oe(gt,null,e,t)}function If(e,t){const n=oe(Bt,null,e);return n.staticCount=t,n}function Nf(e="",t=!1){return t?(Ls(),Is(ve,null,e)):oe(ve,null,e)}function Me(e){return e==null||typeof e=="boolean"?oe(ve):B(e)?oe(Se,null,e.slice()):zt(e)?Ze(e):oe(gt,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function Zs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Zs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ji(t)?t._ctx=ue:r===3&&ue&&(ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:ue},n=32):(t=String(t),s&64?(n=16,t=[go(t)]):n=8);e.children=t,e.shapeFlag|=n}function Nc(...e){const t={};for(let n=0;nfe||ue;let Ln,Ns;{const e=$n(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Ln=t("__VUE_INSTANCE_SETTERS__",n=>fe=n),Ns=t("__VUE_SSR_SETTERS__",n=>Mt=n)}const sn=e=>{const t=fe;return Ln(e),e.scope.on(),()=>{e.scope.off(),Ln(t)}},Tr=()=>{fe&&fe.scope.off(),Ln(null)};function mo(e){return e.vnode.shapeFlag&4}let Mt=!1;function Dc(e,t=!1,n=!1){t&&Ns(t);const{props:s,children:r}=e.vnode,i=mo(e);hc(e,s,i,t),yc(e,r,n);const o=i?jc(e,t):void 0;return t&&Ns(!1),o}function jc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,rc);const{setup:s}=n;if(s){rt();const r=e.setupContext=s.length>1?vo(e):null,i=sn(e),o=en(s,e,0,[e.props,r]),l=ti(o);if(it(),i(),(l||e.sp)&&!pt(e)&&Xs(e),l){if(o.then(Tr,Tr),t)return o.then(c=>{Cr(e,c,t)}).catch(c=>{tn(c,e,0)});e.asyncDep=o}else Cr(e,o,t)}else yo(e,t)}function Cr(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Ci(t)),yo(e,n)}let Ar;function yo(e,t,n){const s=e.type;if(!e.render){if(!t&&Ar&&!s.render){const r=s.template||Js(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ce(ce({isCustomElement:i,delimiters:l},o),c);s.render=Ar(r,f)}}e.render=s.render||Ue}{const r=sn(e);rt();try{ic(e)}finally{it(),r()}}}const Vc={get(e,t){return me(e,"get",""),e[t]}};function vo(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Vc),slots:e.slots,emit:e.emit,expose:t}}function Jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ci(_n(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kt)return kt[n](e)},has(t,n){return n in t||n in kt}})):e.proxy}function Uc(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function kc(e){return G(e)&&"__vccOpts"in e}const ie=(e,t)=>Ml(e,t,Mt);function Fs(e,t,n){const s=arguments.length;return s===2?ne(t)&&!B(t)?zt(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&zt(n)&&(n=[n]),oe(e,t,n))}const Bc="3.5.12";/** -* @vue/runtime-dom v3.5.12 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Hs;const Rr=typeof window<"u"&&window.trustedTypes;if(Rr)try{Hs=Rr.createPolicy("vue",{createHTML:e=>e})}catch{}const bo=Hs?e=>Hs.createHTML(e):e=>e,Wc="http://www.w3.org/2000/svg",Kc="http://www.w3.org/1998/Math/MathML",Be=typeof document<"u"?document:null,Or=Be&&Be.createElement("template"),qc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Be.createElementNS(Wc,e):t==="mathml"?Be.createElementNS(Kc,e):n?Be.createElement(e,{is:n}):Be.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Be.createTextNode(e),createComment:e=>Be.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Be.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Or.innerHTML=bo(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Or.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Xe="transition",Ht="animation",Qt=Symbol("_vtc"),_o={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},Gc=ce({},Ni,_o),Yc=e=>(e.displayName="Transition",e.props=Gc,e),Ff=Yc((e,{slots:t})=>Fs(kl,Xc(e),t)),ct=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Mr=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Xc(e){const t={};for(const x in e)x in _o||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,E=Jc(r),b=E&&E[0],W=E&&E[1],{onBeforeEnter:N,onEnter:j,onEnterCancelled:p,onLeave:g,onLeaveCancelled:M,onBeforeAppear:F=N,onAppear:$=j,onAppearCancelled:V=p}=t,R=(x,K,se)=>{at(x,K?a:l),at(x,K?f:o),se&&se()},_=(x,K)=>{x._isLeaving=!1,at(x,h),at(x,v),at(x,y),K&&K()},I=x=>(K,se)=>{const ae=x?$:j,U=()=>R(K,x,se);ct(ae,[K,U]),Pr(()=>{at(K,x?c:i),Je(K,x?a:l),Mr(ae)||Lr(K,s,b,U)})};return ce(t,{onBeforeEnter(x){ct(N,[x]),Je(x,i),Je(x,o)},onBeforeAppear(x){ct(F,[x]),Je(x,c),Je(x,f)},onEnter:I(!1),onAppear:I(!0),onLeave(x,K){x._isLeaving=!0;const se=()=>_(x,K);Je(x,h),Je(x,y),Zc(),Pr(()=>{x._isLeaving&&(at(x,h),Je(x,v),Mr(g)||Lr(x,s,W,se))}),ct(g,[x,se])},onEnterCancelled(x){R(x,!1),ct(p,[x])},onAppearCancelled(x){R(x,!0),ct(V,[x])},onLeaveCancelled(x){_(x),ct(M,[x])}})}function Jc(e){if(e==null)return null;if(ne(e))return[as(e.enter),as(e.leave)];{const t=as(e);return[t,t]}}function as(e){return Ko(e)}function Je(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Qt]||(e[Qt]=new Set)).add(t)}function at(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Qt];n&&(n.delete(t),n.size||(e[Qt]=void 0))}function Pr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let zc=0;function Lr(e,t,n,s){const r=e._endId=++zc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Qc(e,t);if(!o)return s();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,y),i()},y=v=>{v.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[E]||"").split(", "),r=s(`${Xe}Delay`),i=s(`${Xe}Duration`),o=Ir(r,i),l=s(`${Ht}Delay`),c=s(`${Ht}Duration`),f=Ir(l,c);let a=null,h=0,y=0;t===Xe?o>0&&(a=Xe,h=o,y=i.length):t===Ht?f>0&&(a=Ht,h=f,y=c.length):(h=Math.max(o,f),a=h>0?o>f?Xe:Ht:null,y=a?a===Xe?i.length:c.length:0);const v=a===Xe&&/\b(transform|all)(,|$)/.test(s(`${Xe}Property`).toString());return{type:a,timeout:h,propCount:y,hasTransform:v}}function Ir(e,t){for(;e.lengthNr(n)+Nr(e[s])))}function Nr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Zc(){return document.body.offsetHeight}function ea(e,t,n){const s=e[Qt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const In=Symbol("_vod"),wo=Symbol("_vsh"),Hf={beforeMount(e,{value:t},{transition:n}){e[In]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$t(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),$t(e,!0),s.enter(e)):s.leave(e,()=>{$t(e,!1)}):$t(e,t))},beforeUnmount(e,{value:t}){$t(e,t)}};function $t(e,t){e.style.display=t?e[In]:"none",e[wo]=!t}const ta=Symbol(""),na=/(^|;)\s*display\s*:/;function sa(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&En(s,l,"")}else for(const o in t)n[o]==null&&En(s,o,"");for(const o in n)o==="display"&&(i=!0),En(s,o,n[o])}else if(r){if(t!==n){const o=s[ta];o&&(n+=";"+o),s.cssText=n,i=na.test(n)}}else t&&e.removeAttribute("style");In in e&&(e[In]=i?s.display:"",e[wo]&&(s.display="none"))}const Fr=/\s*!important$/;function En(e,t,n){if(B(n))n.forEach(s=>En(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ra(e,t);Fr.test(n)?e.setProperty(st(s),n.replace(Fr,""),"important"):e[s]=n}}const Hr=["Webkit","Moz","ms"],fs={};function ra(e,t){const n=fs[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return fs[t]=s;s=Hn(s);for(let r=0;rus||(ca.then(()=>us=0),us=Date.now());function fa(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;He(ua(s,n.value),t,5,[s])};return n.value=e,n.attached=aa(),n}function ua(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const kr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,da=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?ea(e,s,o):t==="style"?sa(e,n,s):Zt(t)?Ds(t)||oa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ha(e,t,s,o))?(jr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Dr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!re(s))?jr(e,Le(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Dr(e,t,s,o))};function ha(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&kr(t)&&G(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return kr(t)&&re(n)?!1:t in e}const Br=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?n=>bn(t,n):t};function pa(e){e.target.composing=!0}function Wr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ds=Symbol("_assign"),$f={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ds]=Br(r);const i=s||r.props&&r.props.type==="number";St(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=ws(l)),e[ds](l)}),n&&St(e,"change",()=>{e.value=e.value.trim()}),t||(St(e,"compositionstart",pa),St(e,"compositionend",Wr),St(e,"change",Wr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[ds]=Br(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?ws(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},ga=["ctrl","shift","alt","meta"],ma={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)=>ga.some(n=>e[`${n}Key`]&&!t.includes(n))},Df=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=st(r.key);if(t.some(o=>o===i||ya[o]===i))return e(r)})},So=ce({patchProp:da},qc);let Kt,Kr=!1;function va(){return Kt||(Kt=bc(So))}function ba(){return Kt=Kr?Kt:_c(So),Kr=!0,Kt}const Vf=(...e)=>{va().render(...e)},Uf=(...e)=>{const t=ba().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=wa(s);if(r)return n(r,!0,_a(r))},t};function _a(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wa(e){return re(e)?document.querySelector(e):e}const kf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Sa=window.__VP_SITE_DATA__;function er(e){return ci()?(el(e),!0):!1}function tt(e){return typeof e=="function"?e():Ti(e)}const Eo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ea=Object.prototype.toString,xa=e=>Ea.call(e)==="[object Object]",xo=()=>{},qr=Ta();function Ta(){var e,t;return Eo&&((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 Ca(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const To=e=>e();function Aa(e=To){const t=le(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Bn(t),pause:n,resume:s,eventFilter:r}}function Ra(e){return Xn()}function Co(...e){if(e.length!==1)return Al(...e);const t=e[0];return typeof t=="function"?Bn(xl(()=>({get:t,set:xo}))):le(t)}function Oa(e,t,n={}){const{eventFilter:s=To,...r}=n;return Fe(e,Ca(s,t),r)}function Ma(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=Aa(s);return{stop:Oa(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function tr(e,t=!0,n){Ra()?Lt(e,n):t?e():Wn(e)}const qe=Eo?window:void 0;function Ao(e){var t;const n=tt(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Pt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=qe):[t,n,s,r]=e,!t)return xo;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,y,v)=>(a.addEventListener(h,y,v),()=>a.removeEventListener(h,y,v)),c=Fe(()=>[Ao(t),tt(r)],([a,h])=>{if(o(),!a)return;const y=xa(h)?{...h}:h;i.push(...n.flatMap(v=>s.map(E=>l(a,v,E,y))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return er(f),f}function Pa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Bf(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=qe,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=Pa(t);return Pt(r,i,a=>{a.repeat&&tt(l)||c(a)&&n(a)},o)}function La(){const e=le(!1),t=Xn();return t&&Lt(()=>{e.value=!0},t),e}function Ia(e){const t=La();return ie(()=>(t.value,!!e()))}function Ro(e,t={}){const{window:n=qe}=t,s=Ia(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=le(!1),o=f=>{i.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=oo(()=>{s.value&&(l(),r=n.matchMedia(tt(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return er(()=>{c(),l(),r=void 0}),i}const pn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gn="__vueuse_ssr_handlers__",Na=Fa();function Fa(){return gn in pn||(pn[gn]=pn[gn]||{}),pn[gn]}function Oo(e,t){return Na[e]||t}function nr(e){return Ro("(prefers-color-scheme: dark)",e)}function Ha(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 $a={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()}},Gr="vueuse-storage";function Da(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=qe,eventFilter:y,onError:v=_=>{console.error(_)},initOnMounted:E}=s,b=(a?Ei:le)(typeof t=="function"?t():t);if(!n)try{n=Oo("getDefaultStorage",()=>{var _;return(_=qe)==null?void 0:_.localStorage})()}catch(_){v(_)}if(!n)return b;const W=tt(t),N=Ha(W),j=(r=s.serializer)!=null?r:$a[N],{pause:p,resume:g}=Ma(b,()=>F(b.value),{flush:i,deep:o,eventFilter:y});h&&l&&tr(()=>{n instanceof Storage?Pt(h,"storage",V):Pt(h,Gr,R),E&&V()}),E||V();function M(_,I){if(h){const x={key:e,oldValue:_,newValue:I,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",x):new CustomEvent(Gr,{detail:x}))}}function F(_){try{const I=n.getItem(e);if(_==null)M(I,null),n.removeItem(e);else{const x=j.write(_);I!==x&&(n.setItem(e,x),M(I,x))}}catch(I){v(I)}}function $(_){const I=_?_.newValue:n.getItem(e);if(I==null)return c&&W!=null&&n.setItem(e,j.write(W)),W;if(!_&&f){const x=j.read(I);return typeof f=="function"?f(x,W):N==="object"&&!Array.isArray(x)?{...W,...x}:x}else return typeof I!="string"?I:j.read(I)}function V(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){b.value=W;return}if(!(_&&_.key!==e)){p();try{(_==null?void 0:_.newValue)!==j.write(b.value)&&(b.value=$(_))}catch(I){v(I)}finally{_?Wn(g):g()}}}}function R(_){V(_.detail)}return b}const ja="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Va(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=qe,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},y=nr({window:r}),v=ie(()=>y.value?"dark":"light"),E=c||(o==null?Co(s):Da(o,s,i,{window:r,listenToStorageChanges:l})),b=ie(()=>E.value==="auto"?v.value:E.value),W=Oo("updateHTMLAttrs",(g,M,F)=>{const $=typeof g=="string"?r==null?void 0:r.document.querySelector(g):Ao(g);if(!$)return;const V=new Set,R=new Set;let _=null;if(M==="class"){const x=F.split(/\s/g);Object.values(h).flatMap(K=>(K||"").split(/\s/g)).filter(Boolean).forEach(K=>{x.includes(K)?V.add(K):R.add(K)})}else _={key:M,value:F};if(V.size===0&&R.size===0&&_===null)return;let I;a&&(I=r.document.createElement("style"),I.appendChild(document.createTextNode(ja)),r.document.head.appendChild(I));for(const x of V)$.classList.add(x);for(const x of R)$.classList.remove(x);_&&$.setAttribute(_.key,_.value),a&&(r.getComputedStyle(I).opacity,document.head.removeChild(I))});function N(g){var M;W(t,n,(M=h[g])!=null?M:g)}function j(g){e.onChanged?e.onChanged(g,N):N(g)}Fe(b,j,{flush:"post",immediate:!0}),tr(()=>j(b.value));const p=ie({get(){return f?E.value:b.value},set(g){E.value=g}});try{return Object.assign(p,{store:E,system:v,state:b})}catch{return p}}function Ua(e={}){const{valueDark:t="dark",valueLight:n="",window:s=qe}=e,r=Va({...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}}),i=ie(()=>r.system?r.system.value:nr({window:s}).value?"dark":"light");return ie({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?r.value="auto":r.value=c}})}function hs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Mo(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 ps=new WeakMap;function Wf(e,t=!1){const n=le(t);let s=null,r="";Fe(Co(e),l=>{const c=hs(tt(l));if(c){const f=c;if(ps.get(f)||ps.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=hs(tt(e));!l||n.value||(qr&&(s=Pt(l,"touchmove",c=>{ka(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=hs(tt(e));!l||!n.value||(qr&&(s==null||s()),l.style.overflow=r,ps.delete(l),n.value=!1)};return er(o),ie({get(){return n.value},set(l){l?i():o()}})}function Kf(e={}){const{window:t=qe,behavior:n="auto"}=e;if(!t)return{x:le(0),y:le(0)};const s=le(t.scrollX),r=le(t.scrollY),i=ie({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Pt(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function qf(e={}){const{window:t=qe,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=le(n),c=le(s),f=()=>{t&&(o==="outer"?(l.value=t.outerWidth,c.value=t.outerHeight):i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(f(),tr(f),Pt("resize",f,{passive:!0}),r){const a=Ro("(orientation: portrait)");Fe(a,()=>f())}return{width:l,height:c}}const gs={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var ms={};const Po=/^(?:[a-z]+:|\/\/)/i,Ba="vitepress-theme-appearance",Wa=/#.*$/,Ka=/[?#].*$/,qa=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",Lo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Ga(e,t,n=!1){if(t===void 0)return!1;if(e=Yr(`/${e}`),n)return new RegExp(t).test(e);if(Yr(t)!==e)return!1;const s=t.match(Wa);return s?(ge?location.hash:"")===s[0]:!0}function Yr(e){return decodeURI(e).replace(Ka,"").replace(qa,"$1")}function Ya(e){return Po.test(e)}function Xa(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Ya(n)&&Ga(t,`/${n}/`,!0))||"root"}function Ja(e,t){var s,r,i,o,l,c,f;const n=Xa(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:No(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function Io(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=za(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function za(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Qa(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function No(e,t){return[...e.filter(n=>!Qa(t,n)),...t]}const Za=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,ef=/^[a-z]:/i;function Xr(e){const t=ef.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Za,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const ys=new Set;function tf(e){if(ys.size===0){const n=typeof process=="object"&&(ms==null?void 0:ms.VITE_EXTRA_EXTENSIONS)||(gs==null?void 0:gs.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(s=>ys.add(s))}const t=e.split(".").pop();return t==null||!ys.has(t.toLowerCase())}const nf=Symbol(),mt=Ei(Sa);function Gf(e){const t=ie(()=>Ja(mt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?le(!0):n==="force-auto"?nr():n?Ua({storageKey:Ba,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):le(!1),r=le(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Fe(()=>e.data,()=>{r.value=ge?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>Io(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:s,hash:ie(()=>r.value)}}function sf(){const e=Ot(nf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function rf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Jr(e){return Po.test(e)||!e.startsWith("/")?e:rf(mt.value.base,e)}function of(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=Xr(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${Xr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let xn=[];function Yf(e){xn.push(e),qn(()=>{xn=xn.filter(t=>t!==e)})}function lf(){let e=mt.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=zr(e,n);else if(Array.isArray(e))for(const s of e){const r=zr(s,n);if(r){t=r;break}}return t}function zr(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const cf=Symbol(),Fo="http://a.com",af=()=>({path:"/",component:null,data:Lo});function Xf(e,t){const n=kn(af()),s={route:n,go:r};async function r(l=ge?location.href:"/"){var c,f;l=vs(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(ge&&l!==vs(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l)))}let i=null;async function o(l,c=0,f=!1){var y,v;if(await((y=s.onBeforePageLoad)==null?void 0:y.call(s,l))===!1)return;const a=new URL(l,Fo),h=i=a.pathname;try{let E=await e(h);if(!E)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:b,__pageData:W}=E;if(!b)throw new Error(`Invalid route component: ${b}`);await((v=s.onAfterPageLoad)==null?void 0:v.call(s,l)),n.path=ge?h:Jr(h),n.component=_n(b),n.data=_n(W),ge&&Wn(()=>{let N=mt.value.base+W.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!mt.value.cleanUrls&&!N.endsWith("/")&&(N+=".html"),N!==a.pathname&&(a.pathname=N,l=N+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let j=null;try{j=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(j){Qr(j,a.hash);return}}window.scrollTo(0,c)})}}catch(E){if(!/fetch|Page not found/.test(E.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(E),!f)try{const b=await fetch(mt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await b.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:Jr(h),n.component=t?_n(t):null;const b=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Lo,relativePath:b}}}}return ge&&(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:a,origin:h,pathname:y,hash:v,search:E}=new URL(f,c.baseURI),b=new URL(location.href);h===b.origin&&tf(y)&&(l.preventDefault(),y===b.pathname&&E===b.search?(v!==b.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:b.href,newURL:a}))),v?Qr(c,v,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(vs(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function ff(){const e=Ot(cf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Ho(){return ff().route}function Qr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-lf()+i;requestAnimationFrame(r)}}function vs(e){const t=new URL(e,Fo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),mt.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 mn=()=>xn.forEach(e=>e()),Jf=Ys({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Ho(),{frontmatter:n,site:s}=sf();return Fe(n,mn,{deep:!0,flush:"post"}),()=>Fs(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Fs(t.component,{onVnodeMounted:mn,onVnodeUpdated:mn,onVnodeUnmounted:mn}):"404 Page Not Found"])}}),uf="modulepreload",df=function(e){return"/"+e},Zr={},zf=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=df(c),c in Zr)return;Zr[c]=!0;const f=c.endsWith(".css"),a=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":uf,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((y,v)=>{h.addEventListener("load",y),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},Qf=Ys({setup(e,{slots:t}){const n=le(!1);return Lt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Zf(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function eu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let f=c.textContent||"";o&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),hf(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function hf(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 s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function tu(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=bs(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(bs);s.forEach((l,c)=>{const f=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));f!==-1?delete o[f]:(l==null||l.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};oo(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=Io(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):bs(["meta",{name:"description",content:a}]),r(No(o.head,gf(c)))})}function bs([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function pf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function gf(e){return e.filter(t=>!pf(t))}const _s=new Set,$o=()=>document.createElement("link"),mf=e=>{const t=$o();t.rel="prefetch",t.href=e,document.head.appendChild(t)},yf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let yn;const vf=ge&&(yn=$o())&&yn.relList&&yn.relList.supports&&yn.relList.supports("prefetch")?mf:yf;function nu(){if(!ge||!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 s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!_s.has(c)){_s.add(c);const f=of(c);f&&vf(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):_s.add(l))})})};Lt(s);const r=Ho();Fe(()=>r.path,s),qn(()=>{n&&n.disconnect()})}export{Vi as $,lf as A,Ef as B,Tf as C,Ei as D,Yf as E,Se as F,oe as G,Sf as H,zf as I,xf as J,Po as K,Ho as L,Nc as M,Ot as N,qf as O,Dn as P,Bf as Q,Wn as R,Kf as S,Ff as T,ge as U,Bn as V,Wf as W,dc as X,jf as Y,Rf as Z,kf as _,go as a,Df as a0,Of as a1,kn as a2,Al as a3,Cf as a4,bf as a5,Ic as a6,de as a7,wf as a8,Fs as a9,Vf as aa,Mf as ab,Ql as ac,_f as ad,Hf as ae,ci as af,el as ag,$f as ah,If as ai,tu as aj,cf as ak,Gf as al,nf as am,Jf as an,Qf as ao,mt as ap,Uf as aq,Xf as ar,of as as,nu as at,eu as au,Zf as av,ff as aw,Is as b,Lf as c,Ys as d,Nf as e,tf as f,Jr as g,ie as h,Ya as i,po as j,Ti as k,Ga as l,Ro as m,jn as n,Ls as o,le as p,Fe as q,Af as r,oo as s,Qo as t,sf as u,Lt as v,Hl as w,qn as x,Pf as y,Zl as z}; diff --git a/docs/assets/chunks/framework.DDyYGyON.js b/docs/assets/chunks/framework.DDyYGyON.js new file mode 100644 index 00000000..ed870a54 --- /dev/null +++ b/docs/assets/chunks/framework.DDyYGyON.js @@ -0,0 +1,18 @@ +/** +* @vue/shared v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Vs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ee={},Ct=[],Ue=()=>{},zo=()=>!1,sn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ks=e=>e.startsWith("onUpdate:"),ae=Object.assign,Us=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qo=Object.prototype.hasOwnProperty,z=(e,t)=>Qo.call(e,t),j=Array.isArray,At=e=>on(e)==="[object Map]",rn=e=>on(e)==="[object Set]",dr=e=>on(e)==="[object Date]",q=e=>typeof e=="function",re=e=>typeof e=="string",He=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",ai=e=>(Z(e)||q(e))&&q(e.then)&&q(e.catch),fi=Object.prototype.toString,on=e=>fi.call(e),Zo=e=>on(e).slice(8,-1),ui=e=>on(e)==="[object Object]",Bs=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Rt=Vs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},el=/-(\w)/g,Le=jn(e=>e.replace(el,(t,n)=>n?n.toUpperCase():"")),tl=/\B([A-Z])/g,it=jn(e=>e.replace(tl,"-$1").toLowerCase()),Vn=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),xn=jn(e=>e?`on${Vn(e)}`:""),nt=(e,t)=>!Object.is(e,t),Tn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},xs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},nl=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let hr;const kn=()=>hr||(hr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Un(e){if(j(e)){const t={};for(let n=0;n{if(n){const s=n.split(rl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Bn(e){let t="";if(re(e))t=e;else if(j(e))for(let n=0;nvt(n,t))}const pi=e=>!!(e&&e.__v_isRef===!0),fl=e=>re(e)?e:e==null?"":j(e)||Z(e)&&(e.toString===fi||!q(e.toString))?pi(e)?fl(e.value):JSON.stringify(e,gi,2):String(e),gi=(e,t)=>pi(t)?gi(e,t.value):At(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[rs(s,i)+" =>"]=r,n),{})}:rn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rs(n))}:He(t)?rs(t):Z(t)&&!j(t)&&!ui(t)?String(t):t,rs=(e,t="")=>{var n;return He(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let we;class ul{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(Bt){let t=Bt;for(Bt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ut;){let t=Ut;for(Ut=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function bi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function wi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Gs(s),hl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ts(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Si(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Si(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Xt))return;e.globalVersion=Xt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ts(e)){e.flags&=-3;return}const n=ne,s=Ne;ne=e,Ne=!0;try{bi(e);const r=e.fn(e._value);(t.version===0||nt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ne=n,Ne=s,wi(e),e.flags&=-3}}function Gs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Gs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function hl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const Ei=[];function ot(){Ei.push(Ne),Ne=!1}function lt(){const e=Ei.pop();Ne=e===void 0?!0:e}function pr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ne;ne=void 0;try{t()}finally{ne=n}}}let Xt=0;class pl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Wn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ne||!Ne||ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ne)n=this.activeLink=new pl(ne,this),ne.deps?(n.prevDep=ne.depsTail,ne.depsTail.nextDep=n,ne.depsTail=n):ne.deps=ne.depsTail=n,xi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ne.depsTail,n.nextDep=void 0,ne.depsTail.nextDep=n,ne.depsTail=n,ne.deps===n&&(ne.deps=s)}return n}trigger(t){this.version++,Xt++,this.notify(t)}notify(t){Ks();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qs()}}}function xi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)xi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Pn=new WeakMap,pt=Symbol(""),Cs=Symbol(""),Jt=Symbol("");function me(e,t,n){if(Ne&&ne){let s=Pn.get(e);s||Pn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Wn),r.map=s,r.key=n),r.track()}}function qe(e,t,n,s,r,i){const o=Pn.get(e);if(!o){Xt++;return}const l=c=>{c&&c.trigger()};if(Ks(),t==="clear")o.forEach(l);else{const c=j(e),f=c&&Bs(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,y)=>{(y==="length"||y===Jt||!He(y)&&y>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(Jt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(pt)),At(e)&&l(o.get(Cs)));break;case"delete":c||(l(o.get(pt)),At(e)&&l(o.get(Cs)));break;case"set":At(e)&&l(o.get(pt));break}}qs()}function gl(e,t){const n=Pn.get(e);return n&&n.get(t)}function St(e){const t=J(e);return t===e?t:(me(t,"iterate",Jt),Pe(e)?t:t.map(ye))}function Kn(e){return me(e=J(e),"iterate",Jt),e}const ml={__proto__:null,[Symbol.iterator](){return os(this,Symbol.iterator,ye)},concat(...e){return St(this).concat(...e.map(t=>j(t)?St(t):t))},entries(){return os(this,"entries",e=>(e[1]=ye(e[1]),e))},every(e,t){return Be(this,"every",e,t,void 0,arguments)},filter(e,t){return Be(this,"filter",e,t,n=>n.map(ye),arguments)},find(e,t){return Be(this,"find",e,t,ye,arguments)},findIndex(e,t){return Be(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Be(this,"findLast",e,t,ye,arguments)},findLastIndex(e,t){return Be(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Be(this,"forEach",e,t,void 0,arguments)},includes(...e){return ls(this,"includes",e)},indexOf(...e){return ls(this,"indexOf",e)},join(e){return St(this).join(e)},lastIndexOf(...e){return ls(this,"lastIndexOf",e)},map(e,t){return Be(this,"map",e,t,void 0,arguments)},pop(){return $t(this,"pop")},push(...e){return $t(this,"push",e)},reduce(e,...t){return gr(this,"reduce",e,t)},reduceRight(e,...t){return gr(this,"reduceRight",e,t)},shift(){return $t(this,"shift")},some(e,t){return Be(this,"some",e,t,void 0,arguments)},splice(...e){return $t(this,"splice",e)},toReversed(){return St(this).toReversed()},toSorted(e){return St(this).toSorted(e)},toSpliced(...e){return St(this).toSpliced(...e)},unshift(...e){return $t(this,"unshift",e)},values(){return os(this,"values",ye)}};function os(e,t,n){const s=Kn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const yl=Array.prototype;function Be(e,t,n,s,r,i){const o=Kn(e),l=o!==e&&!Pe(e),c=o[t];if(c!==yl[t]){const h=c.apply(e,i);return l?ye(h):h}let f=n;o!==e&&(l?f=function(h,y){return n.call(this,ye(h),y,e)}:n.length>2&&(f=function(h,y){return n.call(this,h,y,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function gr(e,t,n,s){const r=Kn(e);let i=n;return r!==e&&(Pe(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ye(l),c,e)}),r[t](i,...s)}function ls(e,t,n){const s=J(e);me(s,"iterate",Jt);const r=s[t](...n);return(r===-1||r===!1)&&Js(n[0])?(n[0]=J(n[0]),s[t](...n)):r}function $t(e,t,n=[]){ot(),Ks();const s=J(e)[t].apply(e,n);return qs(),lt(),s}const _l=Vs("__proto__,__v_isRef,__isVue"),Ti=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(He));function vl(e){He(e)||(e=String(e));const t=J(this);return me(t,"has",e),t.hasOwnProperty(e)}class Ci{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Ol:Mi:i?Oi:Ri).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=j(t);if(!r){let c;if(o&&(c=ml[n]))return c;if(n==="hasOwnProperty")return vl}const l=Reflect.get(t,n,de(t)?t:s);return(He(n)?Ti.has(n):_l(n))||(r||me(t,"get",n),i)?l:de(l)?o&&Bs(n)?l:l.value:Z(l)?r?Gn(l):qn(l):l}}class Ai extends Ci{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=bt(i);if(!Pe(s)&&!bt(s)&&(i=J(i),s=J(s)),!j(t)&&de(i)&&!de(s))return c?!1:(i.value=s,!0)}const o=j(t)&&Bs(n)?Number(n)e,hn=e=>Reflect.getPrototypeOf(e);function xl(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=At(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?As:t?Rs:ye;return!t&&me(i,"iterate",c?Cs:pt),{next(){const{value:h,done:y}=f.next();return y?{value:h,done:y}:{value:l?[a(h[0]),a(h[1])]:a(h),done:y}},[Symbol.iterator](){return this}}}}function pn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Tl(e,t){const n={get(r){const i=this.__v_raw,o=J(i),l=J(r);e||(nt(r,l)&&me(o,"get",r),me(o,"get",l));const{has:c}=hn(o),f=t?As:e?Rs:ye;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&me(J(r),"iterate",pt),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=J(i),l=J(r);return e||(nt(r,l)&&me(o,"has",r),me(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=J(l),f=t?As:e?Rs:ye;return!e&&me(c,"iterate",pt),l.forEach((a,h)=>r.call(i,f(a),f(h),o))}};return ae(n,e?{add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear")}:{add(r){!t&&!Pe(r)&&!bt(r)&&(r=J(r));const i=J(this);return hn(i).has.call(i,r)||(i.add(r),qe(i,"add",r,r)),this},set(r,i){!t&&!Pe(i)&&!bt(i)&&(i=J(i));const o=J(this),{has:l,get:c}=hn(o);let f=l.call(o,r);f||(r=J(r),f=l.call(o,r));const a=c.call(o,r);return o.set(r,i),f?nt(i,a)&&qe(o,"set",r,i):qe(o,"add",r,i),this},delete(r){const i=J(this),{has:o,get:l}=hn(i);let c=o.call(i,r);c||(r=J(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&qe(i,"delete",r,void 0),f},clear(){const r=J(this),i=r.size!==0,o=r.clear();return i&&qe(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=xl(r,e,t)}),n}function Ys(e,t){const n=Tl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,i)}const Cl={get:Ys(!1,!1)},Al={get:Ys(!1,!0)},Rl={get:Ys(!0,!1)};const Ri=new WeakMap,Oi=new WeakMap,Mi=new WeakMap,Ol=new WeakMap;function Ml(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pl(e){return e.__v_skip||!Object.isExtensible(e)?0:Ml(Zo(e))}function qn(e){return bt(e)?e:Xs(e,!1,wl,Cl,Ri)}function Ll(e){return Xs(e,!1,El,Al,Oi)}function Gn(e){return Xs(e,!0,Sl,Rl,Mi)}function Xs(e,t,n,s,r){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Pl(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function gt(e){return bt(e)?gt(e.__v_raw):!!(e&&e.__v_isReactive)}function bt(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Js(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Cn(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&di(e,"__v_skip",!0),e}const ye=e=>Z(e)?qn(e):e,Rs=e=>Z(e)?Gn(e):e;function de(e){return e?e.__v_isRef===!0:!1}function ce(e){return Li(e,!1)}function Pi(e){return Li(e,!0)}function Li(e,t){return de(e)?e:new Il(e,t)}class Il{constructor(t,n){this.dep=new Wn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:ye(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||bt(t);t=s?t:J(t),nt(t,n)&&(this._rawValue=t,this._value=s?t:ye(t),this.dep.trigger())}}function zs(e){return de(e)?e.value:e}function Nf(e){return q(e)?e():zs(e)}const Nl={get:(e,t,n)=>t==="__v_raw"?e:zs(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return de(r)&&!de(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ii(e){return gt(e)?e:new Proxy(e,Nl)}class Fl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Wn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Hl(e){return new Fl(e)}class Dl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return gl(J(this._object),this._key)}}class $l{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function jl(e,t,n){return de(e)?e:q(e)?new $l(e):Z(e)&&arguments.length>1?Vl(e,t,n):ce(e)}function Vl(e,t,n){const s=e[t];return de(s)?s:new Dl(e,t,n)}class kl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Wn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Xt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ne!==this)return vi(this,!0),!0}get value(){const t=this.dep.track();return Si(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ul(e,t,n=!1){let s,r;return q(e)?s=e:(s=e.get,r=e.set),new kl(s,r,n)}const gn={},Ln=new WeakMap;let dt;function Bl(e,t=!1,n=dt){if(n){let s=Ln.get(n);s||Ln.set(n,s=[]),s.push(e)}}function Wl(e,t,n=ee){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=g=>r?g:Pe(g)||r===!1||r===0?Ge(g,1):Ge(g);let a,h,y,_,x=!1,v=!1;if(de(e)?(h=()=>e.value,x=Pe(e)):gt(e)?(h=()=>f(e),x=!0):j(e)?(v=!0,x=e.some(g=>gt(g)||Pe(g)),h=()=>e.map(g=>{if(de(g))return g.value;if(gt(g))return f(g);if(q(g))return c?c(g,2):g()})):q(e)?t?h=c?()=>c(e,2):e:h=()=>{if(y){ot();try{y()}finally{lt()}}const g=dt;dt=a;try{return c?c(e,3,[_]):e(_)}finally{dt=g}}:h=Ue,t&&r){const g=h,O=r===!0?1/0:r;h=()=>Ge(g(),O)}const K=mi(),N=()=>{a.stop(),K&&K.active&&Us(K.effects,a)};if(i&&t){const g=t;t=(...O)=>{g(...O),N()}}let V=v?new Array(e.length).fill(gn):gn;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const O=a.run();if(r||x||(v?O.some((F,D)=>nt(F,V[D])):nt(O,V))){y&&y();const F=dt;dt=a;try{const D=[O,V===gn?void 0:v&&V[0]===gn?[]:V,_];c?c(t,3,D):t(...D),V=O}finally{dt=F}}}else a.run()};return l&&l(p),a=new yi(h),a.scheduler=o?()=>o(p,!1):p,_=g=>Bl(g,!1,a),y=a.onStop=()=>{const g=Ln.get(a);if(g){if(c)c(g,4);else for(const O of g)O();Ln.delete(a)}},t?s?p(!0):V=a.run():o?o(p.bind(null,!0),!0):a.run(),N.pause=a.pause.bind(a),N.resume=a.resume.bind(a),N.stop=N,N}function Ge(e,t=1/0,n){if(t<=0||!Z(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,de(e))Ge(e.value,t,n);else if(j(e))for(let s=0;s{Ge(s,t,n)});else if(ui(e)){for(const s in e)Ge(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ge(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function ln(e,t,n,s){try{return s?e(...s):e()}catch(r){cn(r,t,n)}}function De(e,t,n,s){if(q(e)){const r=ln(e,t,n,s);return r&&ai(r)&&r.catch(i=>{cn(i,t,n)}),r}if(j(e)){const r=[];for(let i=0;i>>1,r=Se[s],i=zt(r);i=zt(n)?Se.push(e):Se.splice(ql(t),0,e),e.flags|=1,Fi()}}function Fi(){In||(In=Ni.then(Hi))}function Gl(e){j(e)?Ot.push(...e):Qe&&e.id===-1?Qe.splice(xt+1,0,e):e.flags&1||(Ot.push(e),e.flags|=1),Fi()}function mr(e,t,n=Ve+1){for(;nzt(n)-zt(s));if(Ot.length=0,Qe){Qe.push(...t);return}for(Qe=t,xt=0;xte.id==null?e.flags&2?-1:1/0:e.id;function Hi(e){try{for(Ve=0;Ve{s._d&&Pr(-1);const i=Fn(t);let o;try{o=e(...r)}finally{Fn(i),s._d&&Pr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ff(e,t){if(ue===null)return e;const n=es(ue),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,Wt=e=>e&&(e.disabled||e.disabled===""),yr=e=>e&&(e.defer||e.defer===""),_r=e=>typeof SVGElement<"u"&&e instanceof SVGElement,vr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Os=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},Vi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:a,pc:h,pbc:y,o:{insert:_,querySelector:x,createText:v,createComment:K}}=f,N=Wt(t.props);let{shapeFlag:V,children:p,dynamicChildren:g}=t;if(e==null){const O=t.el=v(""),F=t.anchor=v("");_(O,n,s),_(F,n,s);const D=(R,b)=>{V&16&&(r&&r.isCE&&(r.ce._teleportTarget=R),a(p,R,b,r,i,o,l,c))},k=()=>{const R=t.target=Os(t.props,x),b=ki(R,t,v,_);R&&(o!=="svg"&&_r(R)?o="svg":o!=="mathml"&&vr(R)&&(o="mathml"),N||(D(R,b),An(t,!1)))};N&&(D(n,F),An(t,!0)),yr(t.props)?be(()=>{k(),t.el.__isMounted=!0},i):k()}else{if(yr(t.props)&&!e.el.__isMounted){be(()=>{Vi.process(e,t,n,s,r,i,o,l,c,f),delete e.el.__isMounted},i);return}t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,F=t.target=e.target,D=t.targetAnchor=e.targetAnchor,k=Wt(e.props),R=k?n:F,b=k?O:D;if(o==="svg"||_r(F)?o="svg":(o==="mathml"||vr(F))&&(o="mathml"),g?(y(e.dynamicChildren,g,R,r,i,o,l),sr(e,t,!0)):c||h(e,t,R,b,r,i,o,l,!1),N)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):mn(t,n,O,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=Os(t.props,x);I&&mn(t,I,null,f,0)}else k&&mn(t,F,D,f,1);An(t,N)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:h,props:y}=e;if(h&&(r(f),r(a)),i&&r(c),o&16){const _=i||!Wt(y);for(let x=0;x{e.isMounted=!0}),Yi(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Ui={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},Bi=e=>{const t=e.subTree;return t.component?Bi(t.component):t},zl={name:"BaseTransition",props:Ui,setup(e,{slots:t}){const n=Zn(),s=Jl();return()=>{const r=t.default&&qi(t.default(),!0);if(!r||!r.length)return;const i=Wi(r),o=J(e),{mode:l}=o;if(s.isLeaving)return cs(i);const c=br(i);if(!c)return cs(i);let f=Ms(c,o,s,n,h=>f=h);c.type!==_e&&Qt(c,f);let a=n.subTree&&br(n.subTree);if(a&&a.type!==_e&&!ht(c,a)&&Bi(n).type!==_e){let h=Ms(a,o,s,n);if(Qt(a,h),l==="out-in"&&c.type!==_e)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,a=void 0},cs(i);l==="in-out"&&c.type!==_e?h.delayLeave=(y,_,x)=>{const v=Ki(s,a);v[String(a.key)]=a,y[Ze]=()=>{_(),y[Ze]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{x(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Wi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==_e){t=n;break}}return t}const Ql=zl;function Ki(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ms(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:y,onLeave:_,onAfterLeave:x,onLeaveCancelled:v,onBeforeAppear:K,onAppear:N,onAfterAppear:V,onAppearCancelled:p}=t,g=String(e.key),O=Ki(n,e),F=(R,b)=>{R&&De(R,s,9,b)},D=(R,b)=>{const I=b[1];F(R,b),j(R)?R.every(S=>S.length<=1)&&I():R.length<=1&&I()},k={mode:o,persisted:l,beforeEnter(R){let b=c;if(!n.isMounted)if(i)b=K||c;else return;R[Ze]&&R[Ze](!0);const I=O[g];I&&ht(e,I)&&I.el[Ze]&&I.el[Ze](),F(b,[R])},enter(R){let b=f,I=a,S=h;if(!n.isMounted)if(i)b=N||f,I=V||a,S=p||h;else return;let W=!1;const se=R[yn]=ie=>{W||(W=!0,ie?F(S,[R]):F(I,[R]),k.delayedLeave&&k.delayedLeave(),R[yn]=void 0)};b?D(b,[R,se]):se()},leave(R,b){const I=String(e.key);if(R[yn]&&R[yn](!0),n.isUnmounting)return b();F(y,[R]);let S=!1;const W=R[Ze]=se=>{S||(S=!0,b(),se?F(v,[R]):F(x,[R]),R[Ze]=void 0,O[I]===e&&delete O[I])};O[I]=e,_?D(_,[R,W]):W()},clone(R){const b=Ms(R,t,n,s,r);return r&&r(b),b}};return k}function cs(e){if(an(e))return e=rt(e),e.children=null,e}function br(e){if(!an(e))return ji(e.type)&&e.children?Wi(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&q(n.default))return n.default()}}function Qt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Qt(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 qi(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iZt(x,t&&(j(t)?t[v]:t),n,s,r));return}if(mt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Zt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?es(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===ee?l.refs={}:l.refs,h=l.setupState,y=J(h),_=h===ee?()=>!1:x=>z(y,x);if(f!=null&&f!==c&&(re(f)?(a[f]=null,_(f)&&(h[f]=null)):de(f)&&(f.value=null)),q(c))ln(c,l,12,[o,a]);else{const x=re(c),v=de(c);if(x||v){const K=()=>{if(e.f){const N=x?_(c)?h[c]:a[c]:c.value;r?j(N)&&Us(N,i):j(N)?N.includes(i)||N.push(i):x?(a[c]=[i],_(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else x?(a[c]=o,_(c)&&(h[c]=o)):v&&(c.value=o,e.k&&(a[e.k]=o))};o?(K.id=-1,be(K,n)):K()}}}let wr=!1;const Et=()=>{wr||(console.error("Hydration completed but contains mismatches."),wr=!0)},Zl=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ec=e=>e.namespaceURI.includes("MathML"),_n=e=>{if(e.nodeType===1){if(Zl(e))return"svg";if(ec(e))return"mathml"}},Tt=e=>e.nodeType===8;function tc(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),Nn(),g._vnode=p;return}h(g.firstChild,p,null,null,null),Nn(),g._vnode=p},h=(p,g,O,F,D,k=!1)=>{k=k||!!g.dynamicChildren;const R=Tt(p)&&p.data==="[",b=()=>v(p,g,O,F,D,R),{type:I,ref:S,shapeFlag:W,patchFlag:se}=g;let ie=p.nodeType;g.el=p,se===-2&&(k=!1,g.dynamicChildren=null);let U=null;switch(I){case yt:ie!==3?g.children===""?(c(g.el=r(""),o(p),p),U=p):U=b():(p.data!==g.children&&(Et(),p.data=g.children),U=i(p));break;case _e:V(p)?(U=i(p),N(g.el=p.content.firstChild,p,O)):ie!==8||R?U=b():U=i(p);break;case qt:if(R&&(p=i(p),ie=p.nodeType),ie===1||ie===3){U=p;const Y=!g.children.length;for(let $=0;${k=k||!!g.dynamicChildren;const{type:R,props:b,patchFlag:I,shapeFlag:S,dirs:W,transition:se}=g,ie=R==="input"||R==="option";if(ie||I!==-1){W&&ke(g,null,O,"created");let U=!1;if(V(p)){U=ho(null,se)&&O&&O.vnode.props&&O.vnode.props.appear;const $=p.content.firstChild;U&&se.beforeEnter($),N($,p,O),g.el=p=$}if(S&16&&!(b&&(b.innerHTML||b.textContent))){let $=_(p.firstChild,g,p,O,F,D,k);for(;$;){vn(p,1)||Et();const he=$;$=$.nextSibling,l(he)}}else if(S&8){let $=g.children;$[0]===` +`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&($=$.slice(1)),p.textContent!==$&&(vn(p,0)||Et(),p.textContent=g.children)}if(b){if(ie||!k||I&48){const $=p.tagName.includes("-");for(const he in b)(ie&&(he.endsWith("value")||he==="indeterminate")||sn(he)&&!Rt(he)||he[0]==="."||$)&&s(p,he,null,b[he],void 0,O)}else if(b.onClick)s(p,"onClick",null,b.onClick,void 0,O);else if(I&4&>(b.style))for(const $ in b.style)b.style[$]}let Y;(Y=b&&b.onVnodeBeforeMount)&&Oe(Y,O,g),W&&ke(g,null,O,"beforeMount"),((Y=b&&b.onVnodeMounted)||W||U)&&bo(()=>{Y&&Oe(Y,O,g),U&&se.enter(p),W&&ke(g,null,O,"mounted")},F)}return p.nextSibling},_=(p,g,O,F,D,k,R)=>{R=R||!!g.dynamicChildren;const b=g.children,I=b.length;for(let S=0;S{const{slotScopeIds:R}=g;R&&(D=D?D.concat(R):R);const b=o(p),I=_(i(p),g,b,O,F,D,k);return I&&Tt(I)&&I.data==="]"?i(g.anchor=I):(Et(),c(g.anchor=f("]"),b,I),I)},v=(p,g,O,F,D,k)=>{if(vn(p.parentElement,1)||Et(),g.el=null,k){const I=K(p);for(;;){const S=i(p);if(S&&S!==I)l(S);else break}}const R=i(p),b=o(p);return l(p),n(null,g,b,R,O,F,_n(b),D),O&&(O.vnode.el=g.el,_o(O,g.el)),R},K=(p,g="[",O="]")=>{let F=0;for(;p;)if(p=i(p),p&&Tt(p)&&(p.data===g&&F++,p.data===O)){if(F===0)return i(p);F--}return p},N=(p,g,O)=>{const F=g.parentNode;F&&F.replaceChild(p,g);let D=O;for(;D;)D.vnode.el===g&&(D.vnode.el=D.subTree.el=p),D=D.parent},V=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const Sr="data-allow-mismatch",nc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function vn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Sr);)e=e.parentElement;const n=e&&e.getAttribute(Sr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(nc[t])}}kn().requestIdleCallback;kn().cancelIdleCallback;function sc(e,t){if(Tt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Tt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const mt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Df(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let f=null,a,h=0;const y=()=>(h++,f=null,_()),_=()=>{let x;return f||(x=f=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),c)return new Promise((K,N)=>{c(v,()=>K(y()),()=>N(v),h+1)});throw v}).then(v=>x!==f&&f?f:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),a=v,v)))};return Zs({name:"AsyncComponentWrapper",__asyncLoader:_,__asyncHydrate(x,v,K){const N=i?()=>{const V=i(K,p=>sc(x,p));V&&(v.bum||(v.bum=[])).push(V)}:K;a?N():_().then(()=>!v.isUnmounted&&N())},get __asyncResolved(){return a},setup(){const x=fe;if(er(x),a)return()=>as(a,x);const v=p=>{f=null,cn(p,x,13,!s)};if(l&&x.suspense||Lt)return _().then(p=>()=>as(p,x)).catch(p=>(v(p),()=>s?le(s,{error:p}):null));const K=ce(!1),N=ce(),V=ce(!!r);return r&&setTimeout(()=>{V.value=!1},r),o!=null&&setTimeout(()=>{if(!K.value&&!N.value){const p=new Error(`Async component timed out after ${o}ms.`);v(p),N.value=p}},o),_().then(()=>{K.value=!0,x.parent&&an(x.parent.vnode)&&x.parent.update()}).catch(p=>{v(p),N.value=p}),()=>{if(K.value&&a)return as(a,x);if(N.value&&s)return le(s,{error:N.value});if(n&&!V.value)return le(n)}}})}function as(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=le(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const an=e=>e.type.__isKeepAlive;function rc(e,t){Gi(e,"a",t)}function ic(e,t){Gi(e,"da",t)}function Gi(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Xn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)an(r.parent.vnode)&&oc(s,t,n,r),r=r.parent}}function oc(e,t,n,s){const r=Xn(t,e,s,!0);Jn(()=>{Us(s[t],r)},n)}function Xn(e,t,n=fe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ot();const l=fn(n),c=De(t,n,e,o);return l(),lt(),c});return s?r.unshift(i):r.push(i),i}}const Je=e=>(t,n=fe)=>{(!Lt||e==="sp")&&Xn(e,(...s)=>t(...s),n)},lc=Je("bm"),Ft=Je("m"),cc=Je("bu"),ac=Je("u"),Yi=Je("bum"),Jn=Je("um"),fc=Je("sp"),uc=Je("rtg"),dc=Je("rtc");function hc(e,t=fe){Xn("ec",e,t)}const Xi="components";function $f(e,t){return zi(Xi,e,!0,t)||e}const Ji=Symbol.for("v-ndc");function jf(e){return re(e)?zi(Xi,e,!1)||e:e||Ji}function zi(e,t,n=!0,s=!1){const r=ue||fe;if(r){const i=r.type;{const l=Jc(i,!1);if(l&&(l===t||l===Le(t)||l===Vn(Le(t))))return i}const o=Er(r[e]||i[e],t)||Er(r.appContext[e],t);return!o&&s?i:o}}function Er(e,t){return e&&(e[t]||e[Le(t)]||e[Vn(Le(t))])}function Vf(e,t,n,s){let r;const i=n,o=j(e);if(o||re(e)){const l=o&>(e);let c=!1;l&&(c=!Pe(e),e=Kn(e)),r=new Array(e.length);for(let f=0,a=e.length;ft(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c{const i=s.fn(...r);return i&&(i.key=s.key),i}:s.fn)}return e}function Uf(e,t,n={},s,r){if(ue.ce||ue.parent&&mt(ue.parent)&&ue.parent.ce)return t!=="default"&&(n.name=t),Fs(),Hs(Ee,null,[le("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),Fs();const o=i&&Qi(i(n)),l=n.key||o&&o.key,c=Hs(Ee,{key:(l&&!He(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Qi(e){return e.some(t=>tn(t)?!(t.type===_e||t.type===Ee&&!Qi(t.children)):!0)?e:null}function Bf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:xn(s)]=e[s];return n}const Ps=e=>e?To(e)?es(e):Ps(e.parent):null,Kt=ae(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=>Ps(e.parent),$root:e=>Ps(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>tr(e),$forceUpdate:e=>e.f||(e.f=()=>{Qs(e.update)}),$nextTick:e=>e.n||(e.n=Yn.bind(e.proxy)),$watch:e=>Nc.bind(e)}),fs=(e,t)=>e!==ee&&!e.__isScriptSetup&&z(e,t),pc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(fs(s,t))return o[t]=1,s[t];if(r!==ee&&z(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&z(f,t))return o[t]=3,i[t];if(n!==ee&&z(n,t))return o[t]=4,n[t];Ls&&(o[t]=0)}}const a=Kt[t];let h,y;if(a)return t==="$attrs"&&me(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ee&&z(n,t))return o[t]=4,n[t];if(y=c.config.globalProperties,z(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return fs(r,t)?(r[t]=n,!0):s!==ee&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==ee&&z(e,o)||fs(t,o)||(l=i[0])&&z(l,o)||z(s,o)||z(Kt,o)||z(r.config.globalProperties,o)},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 Wf(){return Zi().slots}function Kf(){return Zi().attrs}function Zi(){const e=Zn();return e.setupContext||(e.setupContext=Ao(e))}function xr(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ls=!0;function gc(e){const t=tr(e),n=e.proxy,s=e.ctx;Ls=!1,t.beforeCreate&&Tr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:h,mounted:y,beforeUpdate:_,updated:x,activated:v,deactivated:K,beforeDestroy:N,beforeUnmount:V,destroyed:p,unmounted:g,render:O,renderTracked:F,renderTriggered:D,errorCaptured:k,serverPrefetch:R,expose:b,inheritAttrs:I,components:S,directives:W,filters:se}=t;if(f&&mc(f,s,null),o)for(const Y in o){const $=o[Y];q($)&&(s[Y]=$.bind(n))}if(r){const Y=r.call(n,n);Z(Y)&&(e.data=qn(Y))}if(Ls=!0,i)for(const Y in i){const $=i[Y],he=q($)?$.bind(n,n):q($.get)?$.get.bind(n,n):Ue,un=!q($)&&q($.set)?$.set.bind(n):Ue,ct=oe({get:he,set:un});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>ct.value,set:$e=>ct.value=$e})}if(l)for(const Y in l)eo(l[Y],s,n,Y);if(c){const Y=q(c)?c.call(n):c;Reflect.ownKeys(Y).forEach($=>{Sc($,Y[$])})}a&&Tr(a,e,"c");function U(Y,$){j($)?$.forEach(he=>Y(he.bind(n))):$&&Y($.bind(n))}if(U(lc,h),U(Ft,y),U(cc,_),U(ac,x),U(rc,v),U(ic,K),U(hc,k),U(dc,F),U(uc,D),U(Yi,V),U(Jn,g),U(fc,R),j(b))if(b.length){const Y=e.exposed||(e.exposed={});b.forEach($=>{Object.defineProperty(Y,$,{get:()=>n[$],set:he=>n[$]=he})})}else e.exposed||(e.exposed={});O&&e.render===Ue&&(e.render=O),I!=null&&(e.inheritAttrs=I),S&&(e.components=S),W&&(e.directives=W),R&&er(e)}function mc(e,t,n=Ue){j(e)&&(e=Is(e));for(const s in e){const r=e[s];let i;Z(r)?"default"in r?i=Pt(r.from||s,r.default,!0):i=Pt(r.from||s):i=Pt(r),de(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Tr(e,t,n){De(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function eo(e,t,n,s){let r=s.includes(".")?mo(n,s):()=>n[s];if(re(e)){const i=t[e];q(i)&&Fe(r,i)}else if(q(e))Fe(r,e.bind(n));else if(Z(e))if(j(e))e.forEach(i=>eo(i,t,n,s));else{const i=q(e.handler)?e.handler.bind(n):t[e.handler];q(i)&&Fe(r,i,e)}}function tr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Hn(c,f,o,!0)),Hn(c,t,o)),Z(t)&&i.set(t,c),c}function Hn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Hn(e,i,n,!0),r&&r.forEach(o=>Hn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=yc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const yc={data:Cr,props:Ar,emits:Ar,methods:kt,computed:kt,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:kt,directives:kt,watch:vc,provide:Cr,inject:_c};function Cr(e,t){return t?e?function(){return ae(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function _c(e,t){return kt(Is(e),Is(t))}function Is(e){if(j(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(s&&s.proxy):t}}const no={},so=()=>Object.create(no),ro=e=>Object.getPrototypeOf(e)===no;function Ec(e,t,n,s=!1){const r={},i=so();e.propsDefaults=Object.create(null),io(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Ll(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function xc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=J(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[y,_]=oo(h,t,!0);ae(o,y),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return Z(e)&&s.set(e,Ct),Ct;if(j(i))for(let a=0;ae[0]==="_"||e==="$stable",nr=e=>j(e)?e.map(Me):[Me(e)],Cc=(e,t,n)=>{if(t._n)return t;const s=Yl((...r)=>nr(t(...r)),n);return s._c=!1,s},co=(e,t,n)=>{const s=e._ctx;for(const r in e){if(lo(r))continue;const i=e[r];if(q(i))t[r]=Cc(r,i,s);else if(i!=null){const o=nr(i);t[r]=()=>o}}},ao=(e,t)=>{const n=nr(t);e.slots.default=()=>n},fo=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Ac=(e,t,n)=>{const s=e.slots=so();if(e.vnode.shapeFlag&32){const r=t._;r?(fo(s,t,n),n&&di(s,"_",r,!0)):co(t,s)}else t&&ao(e,t)},Rc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ee;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:fo(r,t,n):(i=!t.$stable,co(t,r)),o=t}else t&&(ao(e,t),o={default:1});if(i)for(const l in r)!lo(l)&&o[l]==null&&delete r[l]},be=bo;function Oc(e){return uo(e)}function Mc(e){return uo(e,tc)}function uo(e,t){const n=kn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:y,setScopeId:_=Ue,insertStaticContent:x}=e,v=(u,d,m,T=null,w=null,E=null,P=void 0,M=null,A=!!d.dynamicChildren)=>{if(u===d)return;u&&!ht(u,d)&&(T=dn(u),$e(u,w,E,!0),u=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:C,ref:B,shapeFlag:L}=d;switch(C){case yt:K(u,d,m,T);break;case _e:N(u,d,m,T);break;case qt:u==null&&V(d,m,T,P);break;case Ee:S(u,d,m,T,w,E,P,M,A);break;default:L&1?O(u,d,m,T,w,E,P,M,A):L&6?W(u,d,m,T,w,E,P,M,A):(L&64||L&128)&&C.process(u,d,m,T,w,E,P,M,A,wt)}B!=null&&w&&Zt(B,u&&u.ref,E,d||u,!d)},K=(u,d,m,T)=>{if(u==null)s(d.el=l(d.children),m,T);else{const w=d.el=u.el;d.children!==u.children&&f(w,d.children)}},N=(u,d,m,T)=>{u==null?s(d.el=c(d.children||""),m,T):d.el=u.el},V=(u,d,m,T)=>{[u.el,u.anchor]=x(u.children,d,m,T,u.el,u.anchor)},p=({el:u,anchor:d},m,T)=>{let w;for(;u&&u!==d;)w=y(u),s(u,m,T),u=w;s(d,m,T)},g=({el:u,anchor:d})=>{let m;for(;u&&u!==d;)m=y(u),r(u),u=m;r(d)},O=(u,d,m,T,w,E,P,M,A)=>{d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),u==null?F(d,m,T,w,E,P,M,A):R(u,d,w,E,P,M,A)},F=(u,d,m,T,w,E,P,M)=>{let A,C;const{props:B,shapeFlag:L,transition:H,dirs:G}=u;if(A=u.el=o(u.type,E,B&&B.is,B),L&8?a(A,u.children):L&16&&k(u.children,A,null,T,w,us(u,E),P,M),G&&ke(u,null,T,"created"),D(A,u,u.scopeId,P,T),B){for(const te in B)te!=="value"&&!Rt(te)&&i(A,te,null,B[te],E,T);"value"in B&&i(A,"value",null,B.value,E),(C=B.onVnodeBeforeMount)&&Oe(C,T,u)}G&&ke(u,null,T,"beforeMount");const X=ho(w,H);X&&H.beforeEnter(A),s(A,d,m),((C=B&&B.onVnodeMounted)||X||G)&&be(()=>{C&&Oe(C,T,u),X&&H.enter(A),G&&ke(u,null,T,"mounted")},w)},D=(u,d,m,T,w)=>{if(m&&_(u,m),T)for(let E=0;E{for(let C=A;C{const M=d.el=u.el;let{patchFlag:A,dynamicChildren:C,dirs:B}=d;A|=u.patchFlag&16;const L=u.props||ee,H=d.props||ee;let G;if(m&&at(m,!1),(G=H.onVnodeBeforeUpdate)&&Oe(G,m,d,u),B&&ke(d,u,m,"beforeUpdate"),m&&at(m,!0),(L.innerHTML&&H.innerHTML==null||L.textContent&&H.textContent==null)&&a(M,""),C?b(u.dynamicChildren,C,M,m,T,us(d,w),E):P||$(u,d,M,null,m,T,us(d,w),E,!1),A>0){if(A&16)I(M,L,H,m,w);else if(A&2&&L.class!==H.class&&i(M,"class",null,H.class,w),A&4&&i(M,"style",L.style,H.style,w),A&8){const X=d.dynamicProps;for(let te=0;te{G&&Oe(G,m,d,u),B&&ke(d,u,m,"updated")},T)},b=(u,d,m,T,w,E,P)=>{for(let M=0;M{if(d!==m){if(d!==ee)for(const E in d)!Rt(E)&&!(E in m)&&i(u,E,d[E],null,w,T);for(const E in m){if(Rt(E))continue;const P=m[E],M=d[E];P!==M&&E!=="value"&&i(u,E,M,P,w,T)}"value"in m&&i(u,"value",d.value,m.value,w)}},S=(u,d,m,T,w,E,P,M,A)=>{const C=d.el=u?u.el:l(""),B=d.anchor=u?u.anchor:l("");let{patchFlag:L,dynamicChildren:H,slotScopeIds:G}=d;G&&(M=M?M.concat(G):G),u==null?(s(C,m,T),s(B,m,T),k(d.children||[],m,B,w,E,P,M,A)):L>0&&L&64&&H&&u.dynamicChildren?(b(u.dynamicChildren,H,m,w,E,P,M),(d.key!=null||w&&d===w.subTree)&&sr(u,d,!0)):$(u,d,m,B,w,E,P,M,A)},W=(u,d,m,T,w,E,P,M,A)=>{d.slotScopeIds=M,u==null?d.shapeFlag&512?w.ctx.activate(d,m,T,P,A):se(d,m,T,w,E,P,A):ie(u,d,A)},se=(u,d,m,T,w,E,P)=>{const M=u.component=qc(u,T,w);if(an(u)&&(M.ctx.renderer=wt),Gc(M,!1,P),M.asyncDep){if(w&&w.registerDep(M,U,P),!u.el){const A=M.subTree=le(_e);N(null,A,d,m)}}else U(M,u,d,m,w,E,P)},ie=(u,d,m)=>{const T=d.component=u.component;if(jc(u,d,m))if(T.asyncDep&&!T.asyncResolved){Y(T,d,m);return}else T.next=d,T.update();else d.el=u.el,T.vnode=d},U=(u,d,m,T,w,E,P)=>{const M=()=>{if(u.isMounted){let{next:L,bu:H,u:G,parent:X,vnode:te}=u;{const Te=po(u);if(Te){L&&(L.el=te.el,Y(u,L,P)),Te.asyncDep.then(()=>{u.isUnmounted||M()});return}}let Q=L,xe;at(u,!1),L?(L.el=te.el,Y(u,L,P)):L=te,H&&Tn(H),(xe=L.props&&L.props.onVnodeBeforeUpdate)&&Oe(xe,X,L,te),at(u,!0);const pe=ds(u),Ie=u.subTree;u.subTree=pe,v(Ie,pe,h(Ie.el),dn(Ie),u,w,E),L.el=pe.el,Q===null&&_o(u,pe.el),G&&be(G,w),(xe=L.props&&L.props.onVnodeUpdated)&&be(()=>Oe(xe,X,L,te),w)}else{let L;const{el:H,props:G}=d,{bm:X,m:te,parent:Q,root:xe,type:pe}=u,Ie=mt(d);if(at(u,!1),X&&Tn(X),!Ie&&(L=G&&G.onVnodeBeforeMount)&&Oe(L,Q,d),at(u,!0),H&&ss){const Te=()=>{u.subTree=ds(u),ss(H,u.subTree,u,w,null)};Ie&&pe.__asyncHydrate?pe.__asyncHydrate(H,u,Te):Te()}else{xe.ce&&xe.ce._injectChildStyle(pe);const Te=u.subTree=ds(u);v(null,Te,m,T,u,w,E),d.el=Te.el}if(te&&be(te,w),!Ie&&(L=G&&G.onVnodeMounted)){const Te=d;be(()=>Oe(L,Q,Te),w)}(d.shapeFlag&256||Q&&mt(Q.vnode)&&Q.vnode.shapeFlag&256)&&u.a&&be(u.a,w),u.isMounted=!0,d=m=T=null}};u.scope.on();const A=u.effect=new yi(M);u.scope.off();const C=u.update=A.run.bind(A),B=u.job=A.runIfDirty.bind(A);B.i=u,B.id=u.uid,A.scheduler=()=>Qs(B),at(u,!0),C()},Y=(u,d,m)=>{d.component=u;const T=u.vnode.props;u.vnode=d,u.next=null,xc(u,d.props,T,m),Rc(u,d.children,m),ot(),mr(u),lt()},$=(u,d,m,T,w,E,P,M,A=!1)=>{const C=u&&u.children,B=u?u.shapeFlag:0,L=d.children,{patchFlag:H,shapeFlag:G}=d;if(H>0){if(H&128){un(C,L,m,T,w,E,P,M,A);return}else if(H&256){he(C,L,m,T,w,E,P,M,A);return}}G&8?(B&16&&Ht(C,w,E),L!==C&&a(m,L)):B&16?G&16?un(C,L,m,T,w,E,P,M,A):Ht(C,w,E,!0):(B&8&&a(m,""),G&16&&k(L,m,T,w,E,P,M,A))},he=(u,d,m,T,w,E,P,M,A)=>{u=u||Ct,d=d||Ct;const C=u.length,B=d.length,L=Math.min(C,B);let H;for(H=0;HB?Ht(u,w,E,!0,!1,L):k(d,m,T,w,E,P,M,A,L)},un=(u,d,m,T,w,E,P,M,A)=>{let C=0;const B=d.length;let L=u.length-1,H=B-1;for(;C<=L&&C<=H;){const G=u[C],X=d[C]=A?et(d[C]):Me(d[C]);if(ht(G,X))v(G,X,m,null,w,E,P,M,A);else break;C++}for(;C<=L&&C<=H;){const G=u[L],X=d[H]=A?et(d[H]):Me(d[H]);if(ht(G,X))v(G,X,m,null,w,E,P,M,A);else break;L--,H--}if(C>L){if(C<=H){const G=H+1,X=GH)for(;C<=L;)$e(u[C],w,E,!0),C++;else{const G=C,X=C,te=new Map;for(C=X;C<=H;C++){const Ce=d[C]=A?et(d[C]):Me(d[C]);Ce.key!=null&&te.set(Ce.key,C)}let Q,xe=0;const pe=H-X+1;let Ie=!1,Te=0;const Dt=new Array(pe);for(C=0;C=pe){$e(Ce,w,E,!0);continue}let je;if(Ce.key!=null)je=te.get(Ce.key);else for(Q=X;Q<=H;Q++)if(Dt[Q-X]===0&&ht(Ce,d[Q])){je=Q;break}je===void 0?$e(Ce,w,E,!0):(Dt[je-X]=C+1,je>=Te?Te=je:Ie=!0,v(Ce,d[je],m,null,w,E,P,M,A),xe++)}const fr=Ie?Pc(Dt):Ct;for(Q=fr.length-1,C=pe-1;C>=0;C--){const Ce=X+C,je=d[Ce],ur=Ce+1{const{el:E,type:P,transition:M,children:A,shapeFlag:C}=u;if(C&6){ct(u.component.subTree,d,m,T);return}if(C&128){u.suspense.move(d,m,T);return}if(C&64){P.move(u,d,m,wt);return}if(P===Ee){s(E,d,m);for(let L=0;LM.enter(E),w);else{const{leave:L,delayLeave:H,afterLeave:G}=M,X=()=>s(E,d,m),te=()=>{L(E,()=>{X(),G&&G()})};H?H(E,X,te):te()}else s(E,d,m)},$e=(u,d,m,T=!1,w=!1)=>{const{type:E,props:P,ref:M,children:A,dynamicChildren:C,shapeFlag:B,patchFlag:L,dirs:H,cacheIndex:G}=u;if(L===-2&&(w=!1),M!=null&&Zt(M,null,m,u,!0),G!=null&&(d.renderCache[G]=void 0),B&256){d.ctx.deactivate(u);return}const X=B&1&&H,te=!mt(u);let Q;if(te&&(Q=P&&P.onVnodeBeforeUnmount)&&Oe(Q,d,u),B&6)Jo(u.component,m,T);else{if(B&128){u.suspense.unmount(m,T);return}X&&ke(u,null,d,"beforeUnmount"),B&64?u.type.remove(u,d,m,wt,T):C&&!C.hasOnce&&(E!==Ee||L>0&&L&64)?Ht(C,d,m,!1,!0):(E===Ee&&L&384||!w&&B&16)&&Ht(A,d,m),T&&cr(u)}(te&&(Q=P&&P.onVnodeUnmounted)||X)&&be(()=>{Q&&Oe(Q,d,u),X&&ke(u,null,d,"unmounted")},m)},cr=u=>{const{type:d,el:m,anchor:T,transition:w}=u;if(d===Ee){Xo(m,T);return}if(d===qt){g(u);return}const E=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:M}=w,A=()=>P(m,E);M?M(u.el,E,A):A()}else E()},Xo=(u,d)=>{let m;for(;u!==d;)m=y(u),r(u),u=m;r(d)},Jo=(u,d,m)=>{const{bum:T,scope:w,job:E,subTree:P,um:M,m:A,a:C}=u;Or(A),Or(C),T&&Tn(T),w.stop(),E&&(E.flags|=8,$e(P,u,d,m)),M&&be(M,d),be(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Ht=(u,d,m,T=!1,w=!1,E=0)=>{for(let P=E;P{if(u.shapeFlag&6)return dn(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=y(u.anchor||u.el),m=d&&d[$i];return m?y(m):d};let ts=!1;const ar=(u,d,m)=>{u==null?d._vnode&&$e(d._vnode,null,null,!0):v(d._vnode||null,u,d,null,null,null,m),d._vnode=u,ts||(ts=!0,mr(),Nn(),ts=!1)},wt={p:v,um:$e,m:ct,r:cr,mt:se,mc:k,pc:$,pbc:b,n:dn,o:e};let ns,ss;return t&&([ns,ss]=t(wt)),{render:ar,hydrate:ns,createApp:wc(ar,ns)}}function us({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 at({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ho(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function sr(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function po(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:po(t)}function Or(e){if(e)for(let t=0;tPt(Lc);function go(e,t){return zn(e,null,t)}function qf(e,t){return zn(e,null,{flush:"post"})}function Fe(e,t,n){return zn(e,t,n)}function zn(e,t,n=ee){const{immediate:s,deep:r,flush:i,once:o}=n,l=ae({},n),c=t&&s||!t&&i!=="post";let f;if(Lt){if(i==="sync"){const _=Ic();f=_.__watcherHandles||(_.__watcherHandles=[])}else if(!c){const _=()=>{};return _.stop=Ue,_.resume=Ue,_.pause=Ue,_}}const a=fe;l.call=(_,x,v)=>De(_,a,x,v);let h=!1;i==="post"?l.scheduler=_=>{be(_,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(_,x)=>{x?_():Qs(_)}),l.augmentJob=_=>{t&&(_.flags|=4),h&&(_.flags|=2,a&&(_.id=a.uid,_.i=a))};const y=Wl(e,t,l);return Lt&&(f?f.push(y):c&&y()),y}function Nc(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?mo(s,e):()=>s[e]:e.bind(s,s);let i;q(t)?i=t:(i=t.handler,n=t);const o=fn(this),l=zn(r,i.bind(s),n);return o(),l}function mo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${it(t)}Modifiers`];function Hc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ee;let r=n;const i=t.startsWith("update:"),o=i&&Fc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>re(a)?a.trim():a)),o.number&&(r=n.map(xs)));let l,c=s[l=xn(t)]||s[l=xn(Le(t))];!c&&i&&(c=s[l=xn(it(t))]),c&&De(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,De(f,e,6,r)}}function yo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!q(e)){const c=f=>{const a=yo(f,t,!0);a&&(l=!0,ae(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(Z(e)&&s.set(e,null),null):(j(i)?i.forEach(c=>o[c]=null):ae(o,i),Z(e)&&s.set(e,o),o)}function Qn(e,t){return!e||!sn(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,it(t))||z(e,t))}function ds(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:h,data:y,setupState:_,ctx:x,inheritAttrs:v}=e,K=Fn(e);let N,V;try{if(n.shapeFlag&4){const g=r||s,O=g;N=Me(f.call(O,g,a,h,_,y,x)),V=l}else{const g=t;N=Me(g.length>1?g(h,{attrs:l,slots:o,emit:c}):g(h,null)),V=t.props?l:Dc(l)}}catch(g){Gt.length=0,cn(g,e,1),N=le(_e)}let p=N;if(V&&v!==!1){const g=Object.keys(V),{shapeFlag:O}=p;g.length&&O&7&&(i&&g.some(ks)&&(V=$c(V,i)),p=rt(p,V,!1,!0))}return n.dirs&&(p=rt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&Qt(p,n.transition),N=p,Fn(K),N}const Dc=e=>{let t;for(const n in e)(n==="class"||n==="style"||sn(n))&&((t||(t={}))[n]=e[n]);return t},$c=(e,t)=>{const n={};for(const s in e)(!ks(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function jc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Mr(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;he.__isSuspense;function bo(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Gl(e)}const Ee=Symbol.for("v-fgt"),yt=Symbol.for("v-txt"),_e=Symbol.for("v-cmt"),qt=Symbol.for("v-stc"),Gt=[];let Ae=null;function Fs(e=!1){Gt.push(Ae=e?null:[])}function Vc(){Gt.pop(),Ae=Gt[Gt.length-1]||null}let en=1;function Pr(e,t=!1){en+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function wo(e){return e.dynamicChildren=en>0?Ae||Ct:null,Vc(),en>0&&Ae&&Ae.push(e),e}function Gf(e,t,n,s,r,i){return wo(Eo(e,t,n,s,r,i,!0))}function Hs(e,t,n,s,r){return wo(le(e,t,n,s,r,!0))}function tn(e){return e?e.__v_isVNode===!0:!1}function ht(e,t){return e.type===t.type&&e.key===t.key}const So=({key:e})=>e??null,Rn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||de(e)||q(e)?{i:ue,r:e,k:t,f:!!n}:e:null);function Eo(e,t=null,n=null,s=0,r=null,i=e===Ee?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&So(t),ref:t&&Rn(t),scopeId:Di,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:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ue};return l?(rr(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),en>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const le=kc;function kc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Ji)&&(e=_e),tn(e)){const l=rt(e,t,!0);return n&&rr(l,n),en>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(zc(e)&&(e=e.__vccOpts),t){t=Uc(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=Bn(l)),Z(c)&&(Js(c)&&!j(c)&&(c=ae({},c)),t.style=Un(c))}const o=re(e)?1:vo(e)?128:ji(e)?64:Z(e)?4:q(e)?2:0;return Eo(e,t,n,s,r,o,i,!0)}function Uc(e){return e?Js(e)||ro(e)?ae({},e):e:null}function rt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?Bc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&So(f),ref:t&&t.ref?n&&i?j(i)?i.concat(Rn(t)):[i,Rn(t)]:Rn(t):i,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!==Ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rt(e.ssContent),ssFallback:e.ssFallback&&rt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Qt(a,c.clone(a)),a}function xo(e=" ",t=0){return le(yt,null,e,t)}function Yf(e,t){const n=le(qt,null,e);return n.staticCount=t,n}function Xf(e="",t=!1){return t?(Fs(),Hs(_e,null,e)):le(_e,null,e)}function Me(e){return e==null||typeof e=="boolean"?le(_e):j(e)?le(Ee,null,e.slice()):tn(e)?et(e):le(yt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rt(e)}function rr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),rr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ro(t)?t._ctx=ue:r===3&&ue&&(ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:ue},n=32):(t=String(t),s&64?(n=16,t=[xo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bc(...e){const t={};for(let n=0;nfe||ue;let Dn,Ds;{const e=kn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Dn=t("__VUE_INSTANCE_SETTERS__",n=>fe=n),Ds=t("__VUE_SSR_SETTERS__",n=>Lt=n)}const fn=e=>{const t=fe;return Dn(e),e.scope.on(),()=>{e.scope.off(),Dn(t)}},Lr=()=>{fe&&fe.scope.off(),Dn(null)};function To(e){return e.vnode.shapeFlag&4}let Lt=!1;function Gc(e,t=!1,n=!1){t&&Ds(t);const{props:s,children:r}=e.vnode,i=To(e);Ec(e,s,i,t),Ac(e,r,n);const o=i?Yc(e,t):void 0;return t&&Ds(!1),o}function Yc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pc);const{setup:s}=n;if(s){ot();const r=e.setupContext=s.length>1?Ao(e):null,i=fn(e),o=ln(s,e,0,[e.props,r]),l=ai(o);if(lt(),i(),(l||e.sp)&&!mt(e)&&er(e),l){if(o.then(Lr,Lr),t)return o.then(c=>{Ir(e,c,t)}).catch(c=>{cn(c,e,0)});e.asyncDep=o}else Ir(e,o,t)}else Co(e,t)}function Ir(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Ii(t)),Co(e,n)}let Nr;function Co(e,t,n){const s=e.type;if(!e.render){if(!t&&Nr&&!s.render){const r=s.template||tr(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ae(ae({isCustomElement:i,delimiters:l},o),c);s.render=Nr(r,f)}}e.render=s.render||Ue}{const r=fn(e);ot();try{gc(e)}finally{lt(),r()}}}const Xc={get(e,t){return me(e,"get",""),e[t]}};function Ao(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Xc),slots:e.slots,emit:e.emit,expose:t}}function es(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ii(Cn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Kt)return Kt[n](e)},has(t,n){return n in t||n in Kt}})):e.proxy}function Jc(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function zc(e){return q(e)&&"__vccOpts"in e}const oe=(e,t)=>Ul(e,t,Lt);function $s(e,t,n){const s=arguments.length;return s===2?Z(t)&&!j(t)?tn(t)?le(e,null,[t]):le(e,t):le(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&tn(n)&&(n=[n]),le(e,t,n))}const Qc="3.5.13",Jf=null;/** +* @vue/runtime-dom v3.5.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let js;const Fr=typeof window<"u"&&window.trustedTypes;if(Fr)try{js=Fr.createPolicy("vue",{createHTML:e=>e})}catch{}const Ro=js?e=>js.createHTML(e):e=>e,Zc="http://www.w3.org/2000/svg",ea="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,Hr=Ke&&Ke.createElement("template"),ta={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ke.createElementNS(Zc,e):t==="mathml"?Ke.createElementNS(ea,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Hr.innerHTML=Ro(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Hr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ze="transition",jt="animation",nn=Symbol("_vtc"),Oo={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},na=ae({},Ui,Oo),sa=e=>(e.displayName="Transition",e.props=na,e),zf=sa((e,{slots:t})=>$s(Ql,ra(e),t)),ft=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},Dr=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function ra(e){const t={};for(const S in e)S in Oo||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,x=ia(r),v=x&&x[0],K=x&&x[1],{onBeforeEnter:N,onEnter:V,onEnterCancelled:p,onLeave:g,onLeaveCancelled:O,onBeforeAppear:F=N,onAppear:D=V,onAppearCancelled:k=p}=t,R=(S,W,se,ie)=>{S._enterCancelled=ie,ut(S,W?a:l),ut(S,W?f:o),se&&se()},b=(S,W)=>{S._isLeaving=!1,ut(S,h),ut(S,_),ut(S,y),W&&W()},I=S=>(W,se)=>{const ie=S?D:V,U=()=>R(W,S,se);ft(ie,[W,U]),$r(()=>{ut(W,S?c:i),We(W,S?a:l),Dr(ie)||jr(W,s,v,U)})};return ae(t,{onBeforeEnter(S){ft(N,[S]),We(S,i),We(S,o)},onBeforeAppear(S){ft(F,[S]),We(S,c),We(S,f)},onEnter:I(!1),onAppear:I(!0),onLeave(S,W){S._isLeaving=!0;const se=()=>b(S,W);We(S,h),S._enterCancelled?(We(S,y),Ur()):(Ur(),We(S,y)),$r(()=>{S._isLeaving&&(ut(S,h),We(S,_),Dr(g)||jr(S,s,K,se))}),ft(g,[S,se])},onEnterCancelled(S){R(S,!1,void 0,!0),ft(p,[S])},onAppearCancelled(S){R(S,!0,void 0,!0),ft(k,[S])},onLeaveCancelled(S){b(S),ft(O,[S])}})}function ia(e){if(e==null)return null;if(Z(e))return[hs(e.enter),hs(e.leave)];{const t=hs(e);return[t,t]}}function hs(e){return nl(e)}function We(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[nn]||(e[nn]=new Set)).add(t)}function ut(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[nn];n&&(n.delete(t),n.size||(e[nn]=void 0))}function $r(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let oa=0;function jr(e,t,n,s){const r=e._endId=++oa,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=la(e,t);if(!o)return s();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,y),i()},y=_=>{_.target===e&&++a>=c&&h()};setTimeout(()=>{a(n[x]||"").split(", "),r=s(`${ze}Delay`),i=s(`${ze}Duration`),o=Vr(r,i),l=s(`${jt}Delay`),c=s(`${jt}Duration`),f=Vr(l,c);let a=null,h=0,y=0;t===ze?o>0&&(a=ze,h=o,y=i.length):t===jt?f>0&&(a=jt,h=f,y=c.length):(h=Math.max(o,f),a=h>0?o>f?ze:jt:null,y=a?a===ze?i.length:c.length:0);const _=a===ze&&/\b(transform|all)(,|$)/.test(s(`${ze}Property`).toString());return{type:a,timeout:h,propCount:y,hasTransform:_}}function Vr(e,t){for(;e.lengthkr(n)+kr(e[s])))}function kr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ur(){return document.body.offsetHeight}function ca(e,t,n){const s=e[nn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $n=Symbol("_vod"),Mo=Symbol("_vsh"),aa={beforeMount(e,{value:t},{transition:n}){e[$n]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Vt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Vt(e,!0),s.enter(e)):s.leave(e,()=>{Vt(e,!1)}):Vt(e,t))},beforeUnmount(e,{value:t}){Vt(e,t)}};function Vt(e,t){e.style.display=t?e[$n]:"none",e[Mo]=!t}function fa(){aa.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const ua=Symbol(""),da=/(^|;)\s*display\s*:/;function ha(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&On(s,l,"")}else for(const o in t)n[o]==null&&On(s,o,"");for(const o in n)o==="display"&&(i=!0),On(s,o,n[o])}else if(r){if(t!==n){const o=s[ua];o&&(n+=";"+o),s.cssText=n,i=da.test(n)}}else t&&e.removeAttribute("style");$n in e&&(e[$n]=i?s.display:"",e[Mo]&&(s.display="none"))}const Br=/\s*!important$/;function On(e,t,n){if(j(n))n.forEach(s=>On(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=pa(e,t);Br.test(n)?e.setProperty(it(s),n.replace(Br,""),"important"):e[s]=n}}const Wr=["Webkit","Moz","ms"],ps={};function pa(e,t){const n=ps[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return ps[t]=s;s=Vn(s);for(let r=0;rgs||(_a.then(()=>gs=0),gs=Date.now());function ba(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;De(wa(s,n.value),t,5,[s])};return n.value=e,n.attached=va(),n}function wa(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Jr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Sa=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?ca(e,s,o):t==="style"?ha(e,n,s):sn(t)?ks(t)||ma(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ea(e,t,s,o))?(Gr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&qr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!re(s))?Gr(e,Le(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),qr(e,t,s,o))};function Ea(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Jr(t)&&q(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Jr(t)&&re(n)?!1:t in e}const It=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?n=>Tn(t,n):t};function xa(e){e.target.composing=!0}function zr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ye=Symbol("_assign"),Ta={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ye]=It(r);const i=s||r.props&&r.props.type==="number";tt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=xs(l)),e[Ye](l)}),n&&tt(e,"change",()=>{e.value=e.value.trim()}),t||(tt(e,"compositionstart",xa),tt(e,"compositionend",zr),tt(e,"change",zr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Ye]=It(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?xs(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Ca={deep:!0,created(e,t,n){e[Ye]=It(n),tt(e,"change",()=>{const s=e._modelValue,r=Po(e),i=e.checked,o=e[Ye];if(j(s)){const l=Ws(s,r),c=l!==-1;if(i&&!c)o(s.concat(r));else if(!i&&c){const f=[...s];f.splice(l,1),o(f)}}else if(rn(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(Lo(e,i))})},mounted:Qr,beforeUpdate(e,t,n){e[Ye]=It(n),Qr(e,t,n)}};function Qr(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(j(t))r=Ws(t,s.props.value)>-1;else if(rn(t))r=t.has(s.props.value);else{if(t===n)return;r=vt(t,Lo(e,!0))}e.checked!==r&&(e.checked=r)}const Aa={created(e,{value:t},n){e.checked=vt(t,n.props.value),e[Ye]=It(n),tt(e,"change",()=>{e[Ye](Po(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ye]=It(s),t!==n&&(e.checked=vt(t,s.props.value))}};function Po(e){return"_value"in e?e._value:e.value}function Lo(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}function Ra(){Ta.getSSRProps=({value:e})=>({value:e}),Aa.getSSRProps=({value:e},t)=>{if(t.props&&vt(t.props.value,e))return{checked:!0}},Ca.getSSRProps=({value:e},t)=>{if(j(e)){if(t.props&&Ws(e,t.props.value)>-1)return{checked:!0}}else if(rn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}}}const Oa=["ctrl","shift","alt","meta"],Ma={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)=>Oa.some(n=>e[`${n}Key`]&&!t.includes(n))},Qf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=it(r.key);if(t.some(o=>o===i||Pa[o]===i))return e(r)})},Io=ae({patchProp:Sa},ta);let Yt,Zr=!1;function La(){return Yt||(Yt=Oc(Io))}function Ia(){return Yt=Zr?Yt:Mc(Io),Zr=!0,Yt}const eu=(...e)=>{La().render(...e)},tu=(...e)=>{const t=Ia().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Fa(s);if(r)return n(r,!0,Na(r))},t};function Na(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Fa(e){return re(e)?document.querySelector(e):e}let ei=!1;const nu=()=>{ei||(ei=!0,Ra(),fa())},su=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ha=window.__VP_SITE_DATA__;function ir(e){return mi()?(dl(e),!0):!1}function st(e){return typeof e=="function"?e():zs(e)}const No=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Da=Object.prototype.toString,$a=e=>Da.call(e)==="[object Object]",Fo=()=>{},ti=ja();function ja(){var e,t;return No&&((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 Va(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Ho=e=>e();function ka(e=Ho){const t=ce(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Gn(t),pause:n,resume:s,eventFilter:r}}function Ua(e){return Zn()}function Do(...e){if(e.length!==1)return jl(...e);const t=e[0];return typeof t=="function"?Gn(Hl(()=>({get:t,set:Fo}))):ce(t)}function Ba(e,t,n={}){const{eventFilter:s=Ho,...r}=n;return Fe(e,Va(s,t),r)}function Wa(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=ka(s);return{stop:Ba(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function or(e,t=!0,n){Ua()?Ft(e,n):t?e():Yn(e)}const Xe=No?window:void 0;function $o(e){var t;const n=st(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Nt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Xe):[t,n,s,r]=e,!t)return Fo;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(a=>a()),i.length=0},l=(a,h,y,_)=>(a.addEventListener(h,y,_),()=>a.removeEventListener(h,y,_)),c=Fe(()=>[$o(t),st(r)],([a,h])=>{if(o(),!a)return;const y=$a(h)?{...h}:h;i.push(...n.flatMap(_=>s.map(x=>l(a,_,x,y))))},{immediate:!0,flush:"post"}),f=()=>{c(),o()};return ir(f),f}function Ka(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function ru(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Xe,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=Ka(t);return Nt(r,i,a=>{a.repeat&&st(l)||c(a)&&n(a)},o)}function qa(){const e=ce(!1),t=Zn();return t&&Ft(()=>{e.value=!0},t),e}function Ga(e){const t=qa();return oe(()=>(t.value,!!e()))}function jo(e,t={}){const{window:n=Xe}=t,s=Ga(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=ce(!1),o=f=>{i.value=f.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=go(()=>{s.value&&(l(),r=n.matchMedia(st(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return ir(()=>{c(),l(),r=void 0}),i}const bn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},wn="__vueuse_ssr_handlers__",Ya=Xa();function Xa(){return wn in bn||(bn[wn]=bn[wn]||{}),bn[wn]}function Vo(e,t){return Ya[e]||t}function lr(e){return jo("(prefers-color-scheme: dark)",e)}function Ja(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 za={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()}},ni="vueuse-storage";function Qa(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=Xe,eventFilter:y,onError:_=b=>{console.error(b)},initOnMounted:x}=s,v=(a?Pi:ce)(typeof t=="function"?t():t);if(!n)try{n=Vo("getDefaultStorage",()=>{var b;return(b=Xe)==null?void 0:b.localStorage})()}catch(b){_(b)}if(!n)return v;const K=st(t),N=Ja(K),V=(r=s.serializer)!=null?r:za[N],{pause:p,resume:g}=Wa(v,()=>F(v.value),{flush:i,deep:o,eventFilter:y});h&&l&&or(()=>{n instanceof Storage?Nt(h,"storage",k):Nt(h,ni,R),x&&k()}),x||k();function O(b,I){if(h){const S={key:e,oldValue:b,newValue:I,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",S):new CustomEvent(ni,{detail:S}))}}function F(b){try{const I=n.getItem(e);if(b==null)O(I,null),n.removeItem(e);else{const S=V.write(b);I!==S&&(n.setItem(e,S),O(I,S))}}catch(I){_(I)}}function D(b){const I=b?b.newValue:n.getItem(e);if(I==null)return c&&K!=null&&n.setItem(e,V.write(K)),K;if(!b&&f){const S=V.read(I);return typeof f=="function"?f(S,K):N==="object"&&!Array.isArray(S)?{...K,...S}:S}else return typeof I!="string"?I:V.read(I)}function k(b){if(!(b&&b.storageArea!==n)){if(b&&b.key==null){v.value=K;return}if(!(b&&b.key!==e)){p();try{(b==null?void 0:b.newValue)!==V.write(v.value)&&(v.value=D(b))}catch(I){_(I)}finally{b?Yn(g):g()}}}}function R(b){k(b.detail)}return v}const Za="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function ef(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Xe,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},y=lr({window:r}),_=oe(()=>y.value?"dark":"light"),x=c||(o==null?Do(s):Qa(o,s,i,{window:r,listenToStorageChanges:l})),v=oe(()=>x.value==="auto"?_.value:x.value),K=Vo("updateHTMLAttrs",(g,O,F)=>{const D=typeof g=="string"?r==null?void 0:r.document.querySelector(g):$o(g);if(!D)return;const k=new Set,R=new Set;let b=null;if(O==="class"){const S=F.split(/\s/g);Object.values(h).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{S.includes(W)?k.add(W):R.add(W)})}else b={key:O,value:F};if(k.size===0&&R.size===0&&b===null)return;let I;a&&(I=r.document.createElement("style"),I.appendChild(document.createTextNode(Za)),r.document.head.appendChild(I));for(const S of k)D.classList.add(S);for(const S of R)D.classList.remove(S);b&&D.setAttribute(b.key,b.value),a&&(r.getComputedStyle(I).opacity,document.head.removeChild(I))});function N(g){var O;K(t,n,(O=h[g])!=null?O:g)}function V(g){e.onChanged?e.onChanged(g,N):N(g)}Fe(v,V,{flush:"post",immediate:!0}),or(()=>V(v.value));const p=oe({get(){return f?x.value:v.value},set(g){x.value=g}});try{return Object.assign(p,{store:x,system:_,state:v})}catch{return p}}function tf(e={}){const{valueDark:t="dark",valueLight:n="",window:s=Xe}=e,r=ef({...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}}),i=oe(()=>r.system?r.system.value:lr({window:s}).value?"dark":"light");return oe({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?r.value="auto":r.value=c}})}function ms(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ko(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 ys=new WeakMap;function iu(e,t=!1){const n=ce(t);let s=null,r="";Fe(Do(e),l=>{const c=ms(st(l));if(c){const f=c;if(ys.get(f)||ys.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=ms(st(e));!l||n.value||(ti&&(s=Nt(l,"touchmove",c=>{nf(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=ms(st(e));!l||!n.value||(ti&&(s==null||s()),l.style.overflow=r,ys.delete(l),n.value=!1)};return ir(o),oe({get(){return n.value},set(l){l?i():o()}})}function ou(e={}){const{window:t=Xe,behavior:n="auto"}=e;if(!t)return{x:ce(0),y:ce(0)};const s=ce(t.scrollX),r=ce(t.scrollY),i=oe({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=oe({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return Nt(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function lu(e={}){const{window:t=Xe,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=ce(n),c=ce(s),f=()=>{t&&(o==="outer"?(l.value=t.outerWidth,c.value=t.outerHeight):i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(f(),or(f),Nt("resize",f,{passive:!0}),r){const a=jo("(orientation: portrait)");Fe(a,()=>f())}return{width:l,height:c}}const _s={BASE_URL:"/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var vs={};const Uo=/^(?:[a-z]+:|\/\/)/i,sf="vitepress-theme-appearance",rf=/#.*$/,of=/[?#].*$/,lf=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",Bo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function cf(e,t,n=!1){if(t===void 0)return!1;if(e=si(`/${e}`),n)return new RegExp(t).test(e);if(si(t)!==e)return!1;const s=t.match(rf);return s?(ge?location.hash:"")===s[0]:!0}function si(e){return decodeURI(e).replace(of,"").replace(lf,"$1")}function af(e){return Uo.test(e)}function ff(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!af(n)&&cf(t,`/${n}/`,!0))||"root"}function uf(e,t){var s,r,i,o,l,c,f;const n=ff(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Ko(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function Wo(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=df(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function df(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function hf(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Ko(e,t){return[...e.filter(n=>!hf(t,n)),...t]}const pf=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,gf=/^[a-z]:/i;function ri(e){const t=gf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(pf,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const bs=new Set;function mf(e){if(bs.size===0){const n=typeof process=="object"&&(vs==null?void 0:vs.VITE_EXTRA_EXTENSIONS)||(_s==null?void 0:_s.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(s=>bs.add(s))}const t=e.split(".").pop();return t==null||!bs.has(t.toLowerCase())}const yf=Symbol(),_t=Pi(Ha);function cu(e){const t=oe(()=>uf(_t.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?ce(!0):n==="force-auto"?lr():n?tf({storageKey:sf,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):ce(!1),r=ce(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Fe(()=>e.data,()=>{r.value=ge?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(()=>Wo(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:s,hash:oe(()=>r.value)}}function _f(){const e=Pt(yf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function vf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function ii(e){return Uo.test(e)||!e.startsWith("/")?e:vf(_t.value.base,e)}function bf(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/";t=ri(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${ri(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Mn=[];function au(e){Mn.push(e),Jn(()=>{Mn=Mn.filter(t=>t!==e)})}function wf(){let e=_t.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=oi(e,n);else if(Array.isArray(e))for(const s of e){const r=oi(s,n);if(r){t=r;break}}return t}function oi(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const Sf=Symbol(),qo="http://a.com",Ef=()=>({path:"/",component:null,data:Bo});function fu(e,t){const n=qn(Ef()),s={route:n,go:r};async function r(l=ge?location.href:"/"){var c,f;l=ws(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(ge&&l!==ws(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l)))}let i=null;async function o(l,c=0,f=!1){var y,_;if(await((y=s.onBeforePageLoad)==null?void 0:y.call(s,l))===!1)return;const a=new URL(l,qo),h=i=a.pathname;try{let x=await e(h);if(!x)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:v,__pageData:K}=x;if(!v)throw new Error(`Invalid route component: ${v}`);await((_=s.onAfterPageLoad)==null?void 0:_.call(s,l)),n.path=ge?h:ii(h),n.component=Cn(v),n.data=Cn(K),ge&&Yn(()=>{let N=_t.value.base+K.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!_t.value.cleanUrls&&!N.endsWith("/")&&(N+=".html"),N!==a.pathname&&(a.pathname=N,l=N+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let V=null;try{V=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(V){li(V,a.hash);return}}window.scrollTo(0,c)})}}catch(x){if(!/fetch|Page not found/.test(x.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(x),!f)try{const v=await fetch(_t.value.base+"hashmap.json");window.__VP_HASH_MAP__=await v.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:ii(h),n.component=t?Cn(t):null;const v=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Bo,relativePath:v}}}}return ge&&(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:a,origin:h,pathname:y,hash:_,search:x}=new URL(f,c.baseURI),v=new URL(location.href);h===v.origin&&mf(y)&&(l.preventDefault(),y===v.pathname&&x===v.search?(_!==v.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:v.href,newURL:a}))),_?li(c,_,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(ws(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function xf(){const e=Pt(Sf);if(!e)throw new Error("useRouter() is called without provider.");return e}function Go(){return xf().route}function li(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-wf()+i;requestAnimationFrame(r)}}function ws(e){const t=new URL(e,qo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),_t.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 Sn=()=>Mn.forEach(e=>e()),uu=Zs({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=Go(),{frontmatter:n,site:s}=_f();return Fe(n,Sn,{deep:!0,flush:"post"}),()=>$s(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?$s(t.component,{onVnodeMounted:Sn,onVnodeUpdated:Sn,onVnodeUnmounted:Sn}):"404 Page Not Found"])}}),Tf="modulepreload",Cf=function(e){return"/"+e},ci={},du=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=Cf(c),c in ci)return;ci[c]=!0;const f=c.endsWith(".css"),a=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${a}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":Tf,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((y,_)=>{h.addEventListener("load",y),h.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},hu=Zs({setup(e,{slots:t}){const n=ce(!1);return Ft(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function pu(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function gu(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let f=c.textContent||"";o&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),Af(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function Af(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 s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function mu(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=Ss(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(Ss);s.forEach((l,c)=>{const f=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));f!==-1?delete o[f]:(l==null||l.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};go(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=Wo(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):Ss(["meta",{name:"description",content:a}]),r(Ko(o.head,Of(c)))})}function Ss([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function Rf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Of(e){return e.filter(t=>!Rf(t))}const Es=new Set,Yo=()=>document.createElement("link"),Mf=e=>{const t=Yo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Pf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let En;const Lf=ge&&(En=Yo())&&En.relList&&En.relList.supports&&En.relList.supports("prefetch")?Mf:Pf;function yu(){if(!ge||!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 s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Es.has(c)){Es.add(c);const f=bf(c);f&&Lf(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Es.add(l))})})};Ft(s);const r=Go();Fe(()=>r.path,s),Jn(()=>{n&&n.disconnect()})}export{Yi as $,wf as A,$f as B,Vf as C,Pi as D,au as E,Ee as F,le as G,Df as H,du as I,jf as J,Uo as K,Go as L,Bc as M,Pt as N,lu as O,Un as P,ru as Q,Yn as R,ou as S,zf as T,ge as U,Gn as V,iu as W,Sc as X,Zf as Y,Bf as Z,su as _,xo as a,Qf as a0,Wf as a1,qn as a2,nu as a3,jl as a4,kf as a5,If as a6,Uc as a7,de as a8,Hf as a9,Jf as aa,$s as ab,eu as ac,Kf as ad,Nf as ae,cc as af,Ff as ag,aa as ah,mi as ai,dl as aj,Ta as ak,Yf as al,mu as am,Sf as an,cu as ao,yf as ap,uu as aq,hu as ar,_t as as,tu as at,fu as au,bf as av,yu as aw,gu as ax,pu as ay,xf as az,Hs as b,Gf as c,Zs as d,Xf as e,mf as f,ii as g,oe as h,af as i,Eo as j,zs as k,cf as l,jo as m,Bn as n,Fs as o,ce as p,Fe as q,Uf as r,go as s,fl as t,_f as u,Ft as v,Yl as w,Jn as x,qf as y,ac as z}; diff --git a/docs/assets/chunks/metadata.1dd3c1e4.js b/docs/assets/chunks/metadata.1dd3c1e4.js new file mode 100644 index 00000000..544b5186 --- /dev/null +++ b/docs/assets/chunks/metadata.1dd3c1e4.js @@ -0,0 +1 @@ +window.__VP_HASH_MAP__=JSON.parse("{\"customization_theming_index.md\":\"n7fcEp_w\",\"index.md\":\"BJiPgZgU\",\"installation_index.md\":\"CqYA7Cgq\",\"methods-and-events_events_index.md\":\"C-wBkQV8\",\"methods-and-events_methods_index.md\":\"BUAhxP5w\",\"migration_from-v10.md\":\"cKOzBSoF\",\"migration_from-v5.md\":\"Bmjm4GG1\",\"migration_from-v6.md\":\"BGEZ6Qh1\",\"migration_from-v7.md\":\"D7tfPsIU\",\"migration_from-v8.md\":\"GbP-eSYg\",\"migration_from-v9.md\":\"BP5fxbOt\",\"props_calendar-configuration_index.md\":\"DP0AeudM\",\"props_formatting_index.md\":\"C4TPj7vZ\",\"props_general-configuration_index.md\":\"BRWJzeLU\",\"props_keyboard_index.md\":\"CuOjFWCw\",\"props_localization_index.md\":\"CJSI070X\",\"props_look-and-feel_index.md\":\"BGtWfA-j\",\"props_modes-configuration_index.md\":\"D6Mk8xHD\",\"props_modes_index.md\":\"CyQF0VXZ\",\"props_positioning_index.md\":\"uFrYDF2T\",\"props_time-picker-configuration_index.md\":\"dfirn8p2\",\"slots_components_index.md\":\"D5cKmtPO\",\"slots_content_index.md\":\"DYHiWMiC\",\"slots_icons_index.md\":\"BovP6Dbd\",\"slots_overlay_index.md\":\"Ldp4LnYd\",\"slots_trigger-and-input_index.md\":\"CI_qQFf5\"}");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\":\"v11.0.0\",\"items\":[{\"text\":\"v10\",\"link\":\"https://v10.vue3datepicker.com/\"},{\"text\":\"v9\",\"link\":\"https://v9.vue3datepicker.com/\"},{\"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 v10\",\"link\":\"/migration/from-v10\"},{\"text\":\"Migrating from v9\",\"link\":\"/migration/from-v9\"},{\"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/metadata.f97b1e7a.js b/docs/assets/chunks/metadata.f97b1e7a.js deleted file mode 100644 index aa3b7598..00000000 --- a/docs/assets/chunks/metadata.f97b1e7a.js +++ /dev/null @@ -1 +0,0 @@ -window.__VP_HASH_MAP__=JSON.parse("{\"customization_theming_index.md\":\"ARSzRlv3\",\"index.md\":\"B0w_PrTM\",\"installation_index.md\":\"eX808iRN\",\"methods-and-events_events_index.md\":\"DXomF_PT\",\"methods-and-events_methods_index.md\":\"BqVyHZwI\",\"migration_from-v5.md\":\"D2gbYz_J\",\"migration_from-v6.md\":\"BFL2C3Yy\",\"migration_from-v7.md\":\"ZyJQcLcw\",\"migration_from-v8.md\":\"DbmTB9Vy\",\"migration_from-v9.md\":\"DV5gN7Nz\",\"props_calendar-configuration_index.md\":\"m7pUDF0Z\",\"props_formatting_index.md\":\"CRqJukng\",\"props_general-configuration_index.md\":\"CVSNlgKZ\",\"props_keyboard_index.md\":\"DtlJQTtr\",\"props_localization_index.md\":\"BzxVvZmb\",\"props_look-and-feel_index.md\":\"RU199MG2\",\"props_modes-configuration_index.md\":\"CFx6XjsC\",\"props_modes_index.md\":\"DaUswn0e\",\"props_positioning_index.md\":\"DLpvSIw3\",\"props_time-picker-configuration_index.md\":\"b9mfFTHi\",\"slots_components_index.md\":\"DIAqqPij\",\"slots_content_index.md\":\"BN9o82Ea\",\"slots_icons_index.md\":\"CwiTj7u7\",\"slots_overlay_index.md\":\"oh2AWG9A\",\"slots_trigger-and-input_index.md\":\"CpB6Oa80\"}");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\":\"v10.0.0\",\"items\":[{\"text\":\"v9\",\"link\":\"https://v9.vue3datepicker.com/\"},{\"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 v9\",\"link\":\"/migration/from-v9\"},{\"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.BkwdEySx.js b/docs/assets/chunks/theme.BkwdEySx.js deleted file mode 100644 index 0f6ef5e1..00000000 --- a/docs/assets/chunks/theme.BkwdEySx.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ui-custom.DDcoaaN9.js","assets/chunks/framework.BH5PR2Af.js","assets/chunks/VPAlgoliaSearchBox.BAKkQrZB.js"])))=>i.map(i=>d[i]); -var Nl=Object.defineProperty;var Rl=(e,a,t)=>a in e?Nl(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var ge=(e,a,t)=>Rl(e,typeof a!="symbol"?a+"":a,t);import{d as J,o as u,c as m,r as _,n as ye,a as Ee,t as fe,b as se,w,e as x,T as Wt,_ as _e,u as Ne,i as Hl,f as Bl,g as Yn,h as M,j as h,k as s,l as sa,m as Dn,p as S,q as at,s as qa,v as qe,x as Ut,y as Ln,z as El,A as Fl,B as ua,F as pe,C as Se,D as Vr,E as ja,G as ae,H as Or,I as Ir,J as yt,K as Yr,L as Qa,M as Ye,N as Ga,O as Wl,P as pt,Q as Ul,R as bt,S as Lr,U as Xa,V as zl,W as Nr,X as Rr,Y as Hr,Z as ql,$ as jl,a0 as ia,a1 as ea,a2 as Ca,a3 as xa,a4 as st,a5 as ut,a6 as ht,a7 as ir,a8 as Ql,a9 as Gl,aa as ur,ab as Xl,ac as Kl,ad as Pa,ae as Ba,af as Jl,ag as Zl,ah as eo}from"./framework.BH5PR2Af.js";const to=J({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(a,t)=>(u(),m("span",{class:ye(["VPBadge",a.type])},[_(a.$slots,"default",{},()=>[Ee(fe(a.text),1)])],2))}}),ao={key:0,class:"VPBackdrop"},no=J({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(a,t)=>(u(),se(Wt,{name:"fade"},{default:w(()=>[a.show?(u(),m("div",ao)):x("",!0)]),_:1}))}}),ro=_e(no,[["__scopeId","data-v-c79a1216"]]),Oe=Ne;function lo(e,a){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(e,a):(e(),(n=!0)&&setTimeout(()=>n=!1,a))}}function Pn(e){return/^\//.test(e)?e:`/${e}`}function Nn(e){const{pathname:a,search:t,hash:n,protocol:r}=new URL(e,"http://a.com");if(Hl(e)||e.startsWith("#")||!r.startsWith("http")||!Bl(a))return e;const{site:l}=Oe(),o=a.endsWith("/")||a.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${a.replace(/(\.md)?$/,l.value.cleanUrls?"":".html")}${t}${n}`);return Yn(o)}function Va({correspondingLink:e=!1}={}){const{site:a,localeIndex:t,page:n,theme:r,hash:l}=Oe(),o=M(()=>{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:M(()=>Object.entries(a.value.locales).flatMap(([d,b])=>o.value.label===b.label?[]:{text:b.label,link:oo(b.link||(d==="root"?"/":`/${d}/`),r.value.i18nRouting!==!1&&e,n.value.relativePath.slice(o.value.link.length-1),!a.value.cleanUrls)+l.value})),currentLang:o}}function oo(e,a,t,n){return a?e.replace(/\/$/,"")+Pn(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const so={class:"NotFound"},io={class:"code"},uo={class:"title"},co={class:"quote"},vo={class:"action"},mo=["href","aria-label"],fo=J({__name:"NotFound",setup(e){const{theme:a}=Oe(),{currentLang:t}=Va();return(n,r)=>{var l,o,i,d,b;return u(),m("div",so,[h("p",io,fe(((l=s(a).notFound)==null?void 0:l.code)??"404"),1),h("h1",uo,fe(((o=s(a).notFound)==null?void 0:o.title)??"PAGE NOT FOUND"),1),r[0]||(r[0]=h("div",{class:"divider"},null,-1)),h("blockquote",co,fe(((i=s(a).notFound)==null?void 0:i.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),h("div",vo,[h("a",{class:"link",href:s(Yn)(s(t).link),"aria-label":((d=s(a).notFound)==null?void 0:d.linkLabel)??"go to home"},fe(((b=s(a).notFound)==null?void 0:b.linkText)??"Take me home"),9,mo)])])}}}),po=_e(fo,[["__scopeId","data-v-d6be1790"]]);function Br(e,a){if(Array.isArray(e))return Ea(e);if(e==null)return[];a=Pn(a);const t=Object.keys(e).sort((r,l)=>l.split("/").length-r.split("/").length).find(r=>a.startsWith(Pn(r))),n=t?e[t]:[];return Array.isArray(n)?Ea(n):Ea(n.items,n.base)}function ho(e){const a=[];let t=0;for(const n in e){const r=e[n];if(r.items){t=a.push(r);continue}a[t]||a.push({items:[]}),a[t].items.push(r)}return a}function yo(e){const a=[];function t(n){for(const r of n)r.text&&r.link&&a.push({text:r.text,link:r.link,docFooterText:r.docFooterText}),r.items&&t(r.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 Ea(e,a){return[...e].map(t=>{const n={...t},r=n.base||a;return r&&n.link&&(n.link=r+n.link),n.items&&(n.items=Ea(n.items,r)),n})}function zt(){const{frontmatter:e,page:a,theme:t}=Oe(),n=Dn("(min-width: 960px)"),r=S(!1),l=M(()=>{const $=t.value.sidebar,I=a.value.relativePath;return $?Br($,I):[]}),o=S(l.value);at(l,($,I)=>{JSON.stringify($)!==JSON.stringify(I)&&(o.value=l.value)});const i=M(()=>e.value.sidebar!==!1&&o.value.length>0&&e.value.layout!=="home"),d=M(()=>b?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),b=M(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),p=M(()=>i.value&&n.value),c=M(()=>i.value?ho(o.value):[]);function v(){r.value=!0}function g(){r.value=!1}function D(){r.value?g():v()}return{isOpen:r,sidebar:o,sidebarGroups:c,hasSidebar:i,hasAside:b,leftAside:d,isSidebarEnabled:p,open:v,close:g,toggle:D}}function go(e,a){let t;qa(()=>{t=e.value?document.activeElement:void 0}),qe(()=>{window.addEventListener("keyup",n)}),Ut(()=>{window.removeEventListener("keyup",n)});function n(r){r.key==="Escape"&&e.value&&(a(),t==null||t.focus())}}function bo(e){const{page:a,hash:t}=Oe(),n=S(!1),r=M(()=>e.value.collapsed!=null),l=M(()=>!!e.value.link),o=S(!1),i=()=>{o.value=sa(a.value.relativePath,e.value.link)};at([a,e,t],i),qe(i);const d=M(()=>o.value?!0:e.value.items?Mn(a.value.relativePath,e.value.items):!1),b=M(()=>!!(e.value.items&&e.value.items.length));qa(()=>{n.value=!!(r.value&&e.value.collapsed)}),Ln(()=>{(o.value||d.value)&&(n.value=!1)});function p(){r.value&&(n.value=!n.value)}return{collapsed:n,collapsible:r,isLink:l,isActiveLink:o,hasActiveLink:d,hasChildren:b,toggle:p}}function ko(){const{hasSidebar:e}=zt(),a=Dn("(min-width: 960px)"),t=Dn("(min-width: 1280px)");return{isAsideEnabled:M(()=>!t.value&&!a.value?!1:e.value?t.value:a.value)}}const Tn=[];function Er(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function Rn(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:_o(t),link:"#"+t.id,level:n}});return wo(a,e)}function _o(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 wo(e,a){if(a===!1)return[];const t=(typeof a=="object"&&!Array.isArray(a)?a.level:a)||2,[n,r]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;return Po(e,n,r)}function $o(e,a){const{isAsideEnabled:t}=ko(),n=lo(l,100);let r=null;qe(()=>{requestAnimationFrame(l),window.addEventListener("scroll",n)}),El(()=>{o(location.hash)}),Ut(()=>{window.removeEventListener("scroll",n)});function l(){if(!t.value)return;const i=window.scrollY,d=window.innerHeight,b=document.body.offsetHeight,p=Math.abs(i+d-b)<1,c=Tn.map(({element:g,link:D})=>({link:D,top:Do(g)})).filter(({top:g})=>!Number.isNaN(g)).sort((g,D)=>g.top-D.top);if(!c.length){o(null);return}if(i<1){o(null);return}if(p){o(c[c.length-1].link);return}let v=null;for(const{link:g,top:D}of c){if(D>i+Fl()+4)break;v=g}o(v)}function o(i){r&&r.classList.remove("active"),i==null?r=null:r=e.value.querySelector(`a[href="${decodeURIComponent(i)}"]`);const d=r;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 Do(e){let a=0;for(;e!==document.body;){if(e===null)return NaN;a+=e.offsetTop,e=e.offsetParent}return a}function Po(e,a,t){Tn.length=0;const n=[],r=[];return e.forEach(l=>{const o={...l,children:[]};let i=r[r.length-1];for(;i&&i.level>=o.level;)r.pop(),i=r[r.length-1];if(o.element.classList.contains("ignore-header")||i&&"shouldIgnore"in i){r.push({level:o.level,shouldIgnore:!0});return}o.level>t||o.level{const r=ua("VPDocOutlineItem",!0);return u(),m("ul",{class:ye(["VPDocOutlineItem",t.root?"root":"nested"])},[(u(!0),m(pe,null,Se(t.headers,({children:l,link:o,title:i})=>(u(),m("li",null,[h("a",{class:"outline-link",href:o,onClick:a,title:i},fe(i),9,Mo),l!=null&&l.length?(u(),se(r,{key:0,headers:l},null,8,["headers"])):x("",!0)]))),256))],2)}}}),Fr=_e(To,[["__scopeId","data-v-b933a997"]]),xo={class:"content"},So={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Ao=J({__name:"VPDocAsideOutline",setup(e){const{frontmatter:a,theme:t}=Oe(),n=Vr([]);ja(()=>{n.value=Rn(a.value.outline??t.value.outline)});const r=S(),l=S();return $o(r,l),(o,i)=>(u(),m("nav",{"aria-labelledby":"doc-outline-aria-label",class:ye(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:r},[h("div",xo,[h("div",{class:"outline-marker",ref_key:"marker",ref:l},null,512),h("div",So,fe(s(Er)(s(t))),1),ae(Fr,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),Co=_e(Ao,[["__scopeId","data-v-a5bbad30"]]),Vo={class:"VPDocAsideCarbonAds"},Oo=J({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const a=Or(()=>Ir(()=>import("./ui-custom.DDcoaaN9.js"),__vite__mapDeps([0,1])));return(t,n)=>(u(),m("div",Vo,[ae(s(a),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Io={class:"VPDocAside"},Yo=J({__name:"VPDocAside",setup(e){const{theme:a}=Oe();return(t,n)=>(u(),m("div",Io,[_(t.$slots,"aside-top",{},void 0,!0),_(t.$slots,"aside-outline-before",{},void 0,!0),ae(Co),_(t.$slots,"aside-outline-after",{},void 0,!0),n[0]||(n[0]=h("div",{class:"spacer"},null,-1)),_(t.$slots,"aside-ads-before",{},void 0,!0),s(a).carbonAds?(u(),se(Oo,{key:0,"carbon-ads":s(a).carbonAds},null,8,["carbon-ads"])):x("",!0),_(t.$slots,"aside-ads-after",{},void 0,!0),_(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Lo=_e(Yo,[["__scopeId","data-v-3f215769"]]);function No(){const{theme:e,page:a}=Oe();return M(()=>{const{text:t="Edit this page",pattern:n=""}=e.value.editLink||{};let r;return typeof n=="function"?r=n(a.value):r=n.replace(/:path/g,a.value.filePath),{url:r,text:t}})}function Ro(){const{page:e,theme:a,frontmatter:t}=Oe();return M(()=>{var b,p,c,v,g,D,$,I;const n=Br(a.value.sidebar,e.value.relativePath),r=yo(n),l=Ho(r,R=>R.link.replace(/[?#].*$/,"")),o=l.findIndex(R=>sa(e.value.relativePath,R.link)),i=((b=a.value.docFooter)==null?void 0:b.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((p=a.value.docFooter)==null?void 0:p.next)===!1&&!t.value.next||t.value.next===!1;return{prev:i?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((c=l[o-1])==null?void 0:c.docFooterText)??((v=l[o-1])==null?void 0:v.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((g=l[o-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)??((D=l[o+1])==null?void 0:D.docFooterText)??(($=l[o+1])==null?void 0:$.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((I=l[o+1])==null?void 0:I.link)}}})}function Ho(e,a){const t=new Set;return e.filter(n=>{const r=a(n);return t.has(r)?!1:t.add(r)})}const Rt=J({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const a=e,t=M(()=>a.tag??(a.href?"a":"span")),n=M(()=>a.href&&Yr.test(a.href)||a.target==="_blank");return(r,l)=>(u(),se(yt(t.value),{class:ye(["VPLink",{link:r.href,"vp-external-link-icon":n.value,"no-icon":r.noIcon}]),href:r.href?s(Nn)(r.href):void 0,target:r.target??(n.value?"_blank":void 0),rel:r.rel??(n.value?"noreferrer":void 0)},{default:w(()=>[_(r.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Bo={class:"VPLastUpdated"},Eo=["datetime"],Fo=J({__name:"VPDocFooterLastUpdated",setup(e){const{theme:a,page:t,lang:n}=Oe(),r=M(()=>new Date(t.value.lastUpdated)),l=M(()=>r.value.toISOString()),o=S("");return qe(()=>{qa(()=>{var i,d,b;o.value=new Intl.DateTimeFormat((d=(i=a.value.lastUpdated)==null?void 0:i.formatOptions)!=null&&d.forceLocale?n.value:void 0,((b=a.value.lastUpdated)==null?void 0:b.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(i,d)=>{var b;return u(),m("p",Bo,[Ee(fe(((b=s(a).lastUpdated)==null?void 0:b.text)||s(a).lastUpdatedText||"Last updated")+": ",1),h("time",{datetime:l.value},fe(o.value),9,Eo)])}}}),Wo=_e(Fo,[["__scopeId","data-v-e98dd255"]]),Uo={key:0,class:"VPDocFooter"},zo={key:0,class:"edit-info"},qo={key:0,class:"edit-link"},jo={key:1,class:"last-updated"},Qo={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Go={class:"pager"},Xo=["innerHTML"],Ko=["innerHTML"],Jo={class:"pager"},Zo=["innerHTML"],es=["innerHTML"],ts=J({__name:"VPDocFooter",setup(e){const{theme:a,page:t,frontmatter:n}=Oe(),r=No(),l=Ro(),o=M(()=>a.value.editLink&&n.value.editLink!==!1),i=M(()=>t.value.lastUpdated),d=M(()=>o.value||i.value||l.value.prev||l.value.next);return(b,p)=>{var c,v,g,D;return d.value?(u(),m("footer",Uo,[_(b.$slots,"doc-footer-before",{},void 0,!0),o.value||i.value?(u(),m("div",zo,[o.value?(u(),m("div",qo,[ae(Rt,{class:"edit-link-button",href:s(r).url,"no-icon":!0},{default:w(()=>[p[0]||(p[0]=h("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Ee(" "+fe(s(r).text),1)]),_:1},8,["href"])])):x("",!0),i.value?(u(),m("div",jo,[ae(Wo)])):x("",!0)])):x("",!0),(c=s(l).prev)!=null&&c.link||(v=s(l).next)!=null&&v.link?(u(),m("nav",Qo,[p[1]||(p[1]=h("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),h("div",Go,[(g=s(l).prev)!=null&&g.link?(u(),se(Rt,{key:0,class:"pager-link prev",href:s(l).prev.link},{default:w(()=>{var $;return[h("span",{class:"desc",innerHTML:(($=s(a).docFooter)==null?void 0:$.prev)||"Previous page"},null,8,Xo),h("span",{class:"title",innerHTML:s(l).prev.text},null,8,Ko)]}),_:1},8,["href"])):x("",!0)]),h("div",Jo,[(D=s(l).next)!=null&&D.link?(u(),se(Rt,{key:0,class:"pager-link next",href:s(l).next.link},{default:w(()=>{var $;return[h("span",{class:"desc",innerHTML:(($=s(a).docFooter)==null?void 0:$.next)||"Next page"},null,8,Zo),h("span",{class:"title",innerHTML:s(l).next.text},null,8,es)]}),_:1},8,["href"])):x("",!0)])])):x("",!0)])):x("",!0)}}}),as=_e(ts,[["__scopeId","data-v-e257564d"]]),ns={class:"container"},rs={class:"aside-container"},ls={class:"aside-content"},os={class:"content"},ss={class:"content-container"},is={class:"main"},us=J({__name:"VPDoc",setup(e){const{theme:a}=Oe(),t=Qa(),{hasSidebar:n,hasAside:r,leftAside:l}=zt(),o=M(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(i,d)=>{const b=ua("Content");return u(),m("div",{class:ye(["VPDoc",{"has-sidebar":s(n),"has-aside":s(r)}])},[_(i.$slots,"doc-top",{},void 0,!0),h("div",ns,[s(r)?(u(),m("div",{key:0,class:ye(["aside",{"left-aside":s(l)}])},[d[0]||(d[0]=h("div",{class:"aside-curtain"},null,-1)),h("div",rs,[h("div",ls,[ae(Lo,null,{"aside-top":w(()=>[_(i.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":w(()=>[_(i.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":w(()=>[_(i.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[_(i.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[_(i.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[_(i.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):x("",!0),h("div",os,[h("div",ss,[_(i.$slots,"doc-before",{},void 0,!0),h("main",is,[ae(b,{class:ye(["vp-doc",[o.value,s(a).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),ae(as,null,{"doc-footer-before":w(()=>[_(i.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),_(i.$slots,"doc-after",{},void 0,!0)])])]),_(i.$slots,"doc-bottom",{},void 0,!0)],2)}}}),ds=_e(us,[["__scopeId","data-v-39a288b8"]]),cs=J({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const a=e,t=M(()=>a.href&&Yr.test(a.href)),n=M(()=>a.tag||(a.href?"a":"button"));return(r,l)=>(u(),se(yt(n.value),{class:ye(["VPButton",[r.size,r.theme]]),href:r.href?s(Nn)(r.href):void 0,target:a.target??(t.value?"_blank":void 0),rel:a.rel??(t.value?"noreferrer":void 0)},{default:w(()=>[Ee(fe(r.text),1)]),_:1},8,["class","href","target","rel"]))}}),vs=_e(cs,[["__scopeId","data-v-fa7799d5"]]),ms=["src","alt"],fs=J({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(a,t)=>{const n=ua("VPImage",!0);return a.image?(u(),m(pe,{key:0},[typeof a.image=="string"||"src"in a.image?(u(),m("img",Ye({key:0,class:"VPImage"},typeof a.image=="string"?a.$attrs:{...a.image,...a.$attrs},{src:s(Yn)(typeof a.image=="string"?a.image:a.image.src),alt:a.alt??(typeof a.image=="string"?"":a.image.alt||"")}),null,16,ms)):(u(),m(pe,{key:1},[ae(n,Ye({class:"dark",image:a.image.dark,alt:a.image.alt},a.$attrs),null,16,["image","alt"]),ae(n,Ye({class:"light",image:a.image.light,alt:a.image.alt},a.$attrs),null,16,["image","alt"])],64))],64)):x("",!0)}}}),Fa=_e(fs,[["__scopeId","data-v-8426fc1a"]]),ps={class:"container"},hs={class:"main"},ys={key:0,class:"name"},gs=["innerHTML"],bs=["innerHTML"],ks=["innerHTML"],_s={key:0,class:"actions"},ws={key:0,class:"image"},$s={class:"image-container"},Ds=J({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const a=Ga("hero-image-slot-exists");return(t,n)=>(u(),m("div",{class:ye(["VPHero",{"has-image":t.image||s(a)}])},[h("div",ps,[h("div",hs,[_(t.$slots,"home-hero-info-before",{},void 0,!0),_(t.$slots,"home-hero-info",{},()=>[t.name?(u(),m("h1",ys,[h("span",{innerHTML:t.name,class:"clip"},null,8,gs)])):x("",!0),t.text?(u(),m("p",{key:1,innerHTML:t.text,class:"text"},null,8,bs)):x("",!0),t.tagline?(u(),m("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,ks)):x("",!0)],!0),_(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(u(),m("div",_s,[(u(!0),m(pe,null,Se(t.actions,r=>(u(),m("div",{key:r.link,class:"action"},[ae(vs,{tag:"a",size:"medium",theme:r.theme,text:r.text,href:r.link,target:r.target,rel:r.rel},null,8,["theme","text","href","target","rel"])]))),128))])):x("",!0),_(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||s(a)?(u(),m("div",ws,[h("div",$s,[n[0]||(n[0]=h("div",{class:"image-bg"},null,-1)),_(t.$slots,"home-hero-image",{},()=>[t.image?(u(),se(Fa,{key:0,class:"image-src",image:t.image},null,8,["image"])):x("",!0)],!0)])])):x("",!0)])],2))}}),Ps=_e(Ds,[["__scopeId","data-v-303bb580"]]),Ms=J({__name:"VPHomeHero",setup(e){const{frontmatter:a}=Oe();return(t,n)=>s(a).hero?(u(),se(Ps,{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(()=>[_(t.$slots,"home-hero-info-before")]),"home-hero-info":w(()=>[_(t.$slots,"home-hero-info")]),"home-hero-info-after":w(()=>[_(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":w(()=>[_(t.$slots,"home-hero-actions-after")]),"home-hero-image":w(()=>[_(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):x("",!0)}}),Ts={class:"box"},xs={key:0,class:"icon"},Ss=["innerHTML"],As=["innerHTML"],Cs=["innerHTML"],Vs={key:4,class:"link-text"},Os={class:"link-text-value"},Is=J({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(a,t)=>(u(),se(Rt,{class:"VPFeature",href:a.link,rel:a.rel,target:a.target,"no-icon":!0,tag:a.link?"a":"div"},{default:w(()=>[h("article",Ts,[typeof a.icon=="object"&&a.icon.wrap?(u(),m("div",xs,[ae(Fa,{image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])])):typeof a.icon=="object"?(u(),se(Fa,{key:1,image:a.icon,alt:a.icon.alt,height:a.icon.height||48,width:a.icon.width||48},null,8,["image","alt","height","width"])):a.icon?(u(),m("div",{key:2,class:"icon",innerHTML:a.icon},null,8,Ss)):x("",!0),h("h2",{class:"title",innerHTML:a.title},null,8,As),a.details?(u(),m("p",{key:3,class:"details",innerHTML:a.details},null,8,Cs)):x("",!0),a.linkText?(u(),m("div",Vs,[h("p",Os,[Ee(fe(a.linkText)+" ",1),t[0]||(t[0]=h("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):x("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Ys=_e(Is,[["__scopeId","data-v-a3976bdc"]]),Ls={key:0,class:"VPFeatures"},Ns={class:"container"},Rs={class:"items"},Hs=J({__name:"VPFeatures",props:{features:{}},setup(e){const a=e,t=M(()=>{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,r)=>n.features?(u(),m("div",Ls,[h("div",Ns,[h("div",Rs,[(u(!0),m(pe,null,Se(n.features,l=>(u(),m("div",{key:l.title,class:ye(["item",[t.value]])},[ae(Ys,{icon:l.icon,title:l.title,details:l.details,link:l.link,"link-text":l.linkText,rel:l.rel,target:l.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):x("",!0)}}),Bs=_e(Hs,[["__scopeId","data-v-a6181336"]]),Es=J({__name:"VPHomeFeatures",setup(e){const{frontmatter:a}=Oe();return(t,n)=>s(a).features?(u(),se(Bs,{key:0,class:"VPHomeFeatures",features:s(a).features},null,8,["features"])):x("",!0)}}),Fs=J({__name:"VPHomeContent",setup(e){const{width:a}=Wl({initialWidth:0,includeScrollbar:!1});return(t,n)=>(u(),m("div",{class:"vp-doc container",style:pt(s(a)?{"--vp-offset":`calc(50% - ${s(a)/2}px)`}:{})},[_(t.$slots,"default",{},void 0,!0)],4))}}),Ws=_e(Fs,[["__scopeId","data-v-8e2d4988"]]),Us={class:"VPHome"},zs=J({__name:"VPHome",setup(e){const{frontmatter:a}=Oe();return(t,n)=>{const r=ua("Content");return u(),m("div",Us,[_(t.$slots,"home-hero-before",{},void 0,!0),ae(Ms,null,{"home-hero-info-before":w(()=>[_(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[_(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[_(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[_(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[_(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),_(t.$slots,"home-hero-after",{},void 0,!0),_(t.$slots,"home-features-before",{},void 0,!0),ae(Es),_(t.$slots,"home-features-after",{},void 0,!0),s(a).markdownStyles!==!1?(u(),se(Ws,{key:0},{default:w(()=>[ae(r)]),_:1})):(u(),se(r,{key:1}))])}}}),qs=_e(zs,[["__scopeId","data-v-686f80a6"]]),js={},Qs={class:"VPPage"};function Gs(e,a){const t=ua("Content");return u(),m("div",Qs,[_(e.$slots,"page-top"),ae(t),_(e.$slots,"page-bottom")])}const Xs=_e(js,[["render",Gs]]),Ks=J({__name:"VPContent",setup(e){const{page:a,frontmatter:t}=Oe(),{hasSidebar:n}=zt();return(r,l)=>(u(),m("div",{class:ye(["VPContent",{"has-sidebar":s(n),"is-home":s(t).layout==="home"}]),id:"VPContent"},[s(a).isNotFound?_(r.$slots,"not-found",{key:0},()=>[ae(po)],!0):s(t).layout==="page"?(u(),se(Xs,{key:1},{"page-top":w(()=>[_(r.$slots,"page-top",{},void 0,!0)]),"page-bottom":w(()=>[_(r.$slots,"page-bottom",{},void 0,!0)]),_:3})):s(t).layout==="home"?(u(),se(qs,{key:2},{"home-hero-before":w(()=>[_(r.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":w(()=>[_(r.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[_(r.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[_(r.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[_(r.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[_(r.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":w(()=>[_(r.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":w(()=>[_(r.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":w(()=>[_(r.$slots,"home-features-after",{},void 0,!0)]),_:3})):s(t).layout&&s(t).layout!=="doc"?(u(),se(yt(s(t).layout),{key:3})):(u(),se(ds,{key:4},{"doc-top":w(()=>[_(r.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":w(()=>[_(r.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":w(()=>[_(r.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":w(()=>[_(r.$slots,"doc-before",{},void 0,!0)]),"doc-after":w(()=>[_(r.$slots,"doc-after",{},void 0,!0)]),"aside-top":w(()=>[_(r.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":w(()=>[_(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[_(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[_(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[_(r.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":w(()=>[_(r.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Js=_e(Ks,[["__scopeId","data-v-1428d186"]]),Zs={class:"container"},ei=["innerHTML"],ti=["innerHTML"],ai=J({__name:"VPFooter",setup(e){const{theme:a,frontmatter:t}=Oe(),{hasSidebar:n}=zt();return(r,l)=>s(a).footer&&s(t).footer!==!1?(u(),m("footer",{key:0,class:ye(["VPFooter",{"has-sidebar":s(n)}])},[h("div",Zs,[s(a).footer.message?(u(),m("p",{key:0,class:"message",innerHTML:s(a).footer.message},null,8,ei)):x("",!0),s(a).footer.copyright?(u(),m("p",{key:1,class:"copyright",innerHTML:s(a).footer.copyright},null,8,ti)):x("",!0)])],2)):x("",!0)}}),ni=_e(ai,[["__scopeId","data-v-e315a0ad"]]);function ri(){const{theme:e,frontmatter:a}=Oe(),t=Vr([]),n=M(()=>t.value.length>0);return ja(()=>{t.value=Rn(a.value.outline??e.value.outline)}),{headers:t,hasLocalNav:n}}const li={class:"menu-text"},oi={class:"header"},si={class:"outline"},ii=J({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const a=e,{theme:t}=Oe(),n=S(!1),r=S(0),l=S(),o=S();function i(c){var v;(v=l.value)!=null&&v.contains(c.target)||(n.value=!1)}at(n,c=>{if(c){document.addEventListener("click",i);return}document.removeEventListener("click",i)}),Ul("Escape",()=>{n.value=!1}),ja(()=>{n.value=!1});function d(){n.value=!n.value,r.value=window.innerHeight+Math.min(window.scrollY-a.navHeight,0)}function b(c){c.target.classList.contains("outline-link")&&(o.value&&(o.value.style.transition="none"),bt(()=>{n.value=!1}))}function p(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(c,v)=>(u(),m("div",{class:"VPLocalNavOutlineDropdown",style:pt({"--vp-vh":r.value+"px"}),ref_key:"main",ref:l},[c.headers.length>0?(u(),m("button",{key:0,onClick:d,class:ye({open:n.value})},[h("span",li,fe(s(Er)(s(t))),1),v[0]||(v[0]=h("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(u(),m("button",{key:1,onClick:p},fe(s(t).returnToTopLabel||"Return to top"),1)),ae(Wt,{name:"flyout"},{default:w(()=>[n.value?(u(),m("div",{key:0,ref_key:"items",ref:o,class:"items",onClick:b},[h("div",oi,[h("a",{class:"top-link",href:"#",onClick:p},fe(s(t).returnToTopLabel||"Return to top"),1)]),h("div",si,[ae(Fr,{headers:c.headers},null,8,["headers"])])],512)):x("",!0)]),_:1})],4))}}),ui=_e(ii,[["__scopeId","data-v-17a5e62e"]]),di={class:"container"},ci=["aria-expanded"],vi={class:"menu-text"},mi=J({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:a,frontmatter:t}=Oe(),{hasSidebar:n}=zt(),{headers:r}=ri(),{y:l}=Lr(),o=S(0);qe(()=>{o.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),ja(()=>{r.value=Rn(t.value.outline??a.value.outline)});const i=M(()=>r.value.length===0),d=M(()=>i.value&&!n.value),b=M(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:i.value,fixed:d.value}));return(p,c)=>s(t).layout!=="home"&&(!d.value||s(l)>=o.value)?(u(),m("div",{key:0,class:ye(b.value)},[h("div",di,[s(n)?(u(),m("button",{key:0,class:"menu","aria-expanded":p.open,"aria-controls":"VPSidebarNav",onClick:c[0]||(c[0]=v=>p.$emit("open-menu"))},[c[1]||(c[1]=h("span",{class:"vpi-align-left menu-icon"},null,-1)),h("span",vi,fe(s(a).sidebarMenuLabel||"Menu"),1)],8,ci)):x("",!0),ae(ui,{headers:s(r),navHeight:o.value},null,8,["headers","navHeight"])])],2)):x("",!0)}}),fi=_e(mi,[["__scopeId","data-v-a6f0e41e"]]);function pi(){const e=S(!1);function a(){e.value=!0,window.addEventListener("resize",r)}function t(){e.value=!1,window.removeEventListener("resize",r)}function n(){e.value?t():a()}function r(){window.outerWidth>=768&&t()}const l=Qa();return at(()=>l.path,t),{isScreenOpen:e,openScreen:a,closeScreen:t,toggleScreen:n}}const hi={},yi={class:"VPSwitch",type:"button",role:"switch"},gi={class:"check"},bi={key:0,class:"icon"};function ki(e,a){return u(),m("button",yi,[h("span",gi,[e.$slots.default?(u(),m("span",bi,[_(e.$slots,"default",{},void 0,!0)])):x("",!0)])])}const _i=_e(hi,[["render",ki],["__scopeId","data-v-1d5665e3"]]),wi=J({__name:"VPSwitchAppearance",setup(e){const{isDark:a,theme:t}=Oe(),n=Ga("toggle-appearance",()=>{a.value=!a.value}),r=S("");return Ln(()=>{r.value=a.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(l,o)=>(u(),se(_i,{title:r.value,class:"VPSwitchAppearance","aria-checked":s(a),onClick:s(n)},{default:w(()=>o[0]||(o[0]=[h("span",{class:"vpi-sun sun"},null,-1),h("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),Hn=_e(wi,[["__scopeId","data-v-5337faa4"]]),$i={key:0,class:"VPNavBarAppearance"},Di=J({__name:"VPNavBarAppearance",setup(e){const{site:a}=Oe();return(t,n)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(u(),m("div",$i,[ae(Hn)])):x("",!0)}}),Pi=_e(Di,[["__scopeId","data-v-6c893767"]]),Bn=S();let Wr=!1,vn=0;function Mi(e){const a=S(!1);if(Xa){!Wr&&Ti(),vn++;const t=at(Bn,n=>{var r,l,o;n===e.el.value||(r=e.el.value)!=null&&r.contains(n)?(a.value=!0,(l=e.onFocus)==null||l.call(e)):(a.value=!1,(o=e.onBlur)==null||o.call(e))});Ut(()=>{t(),vn--,vn||xi()})}return zl(a)}function Ti(){document.addEventListener("focusin",Ur),Wr=!0,Bn.value=document.activeElement}function xi(){document.removeEventListener("focusin",Ur)}function Ur(){Bn.value=document.activeElement}const Si={class:"VPMenuLink"},Ai=["innerHTML"],Ci=J({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:a}=Oe();return(t,n)=>(u(),m("div",Si,[ae(Rt,{class:ye({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,"no-icon":t.item.noIcon},{default:w(()=>[h("span",{innerHTML:t.item.text},null,8,Ai)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),Ka=_e(Ci,[["__scopeId","data-v-35975db6"]]),Vi={class:"VPMenuGroup"},Oi={key:0,class:"title"},Ii=J({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(a,t)=>(u(),m("div",Vi,[a.text?(u(),m("p",Oi,fe(a.text),1)):x("",!0),(u(!0),m(pe,null,Se(a.items,n=>(u(),m(pe,null,["link"in n?(u(),se(Ka,{key:0,item:n},null,8,["item"])):x("",!0)],64))),256))]))}}),Yi=_e(Ii,[["__scopeId","data-v-69e747b5"]]),Li={class:"VPMenu"},Ni={key:0,class:"items"},Ri=J({__name:"VPMenu",props:{items:{}},setup(e){return(a,t)=>(u(),m("div",Li,[a.items?(u(),m("div",Ni,[(u(!0),m(pe,null,Se(a.items,n=>(u(),m(pe,{key:JSON.stringify(n)},["link"in n?(u(),se(Ka,{key:0,item:n},null,8,["item"])):"component"in n?(u(),se(yt(n.component),Ye({key:1,ref_for:!0},n.props),null,16)):(u(),se(Yi,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):x("",!0),_(a.$slots,"default",{},void 0,!0)]))}}),Hi=_e(Ri,[["__scopeId","data-v-b98bc113"]]),Bi=["aria-expanded","aria-label"],Ei={key:0,class:"text"},Fi=["innerHTML"],Wi={key:1,class:"vpi-more-horizontal icon"},Ui={class:"menu"},zi=J({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const a=S(!1),t=S();Mi({el:t,onBlur:n});function n(){a.value=!1}return(r,l)=>(u(),m("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:l[1]||(l[1]=o=>a.value=!0),onMouseleave:l[2]||(l[2]=o=>a.value=!1)},[h("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":a.value,"aria-label":r.label,onClick:l[0]||(l[0]=o=>a.value=!a.value)},[r.button||r.icon?(u(),m("span",Ei,[r.icon?(u(),m("span",{key:0,class:ye([r.icon,"option-icon"])},null,2)):x("",!0),r.button?(u(),m("span",{key:1,innerHTML:r.button},null,8,Fi)):x("",!0),l[3]||(l[3]=h("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(u(),m("span",Wi))],8,Bi),h("div",Ui,[ae(Hi,{items:r.items},{default:w(()=>[_(r.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),En=_e(zi,[["__scopeId","data-v-cf11d7a2"]]),qi=["href","aria-label","innerHTML"],ji=J({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const a=e,t=M(()=>typeof a.icon=="object"?a.icon.svg:``);return(n,r)=>(u(),m("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,qi))}}),Qi=_e(ji,[["__scopeId","data-v-eee4e7cb"]]),Gi={class:"VPSocialLinks"},Xi=J({__name:"VPSocialLinks",props:{links:{}},setup(e){return(a,t)=>(u(),m("div",Gi,[(u(!0),m(pe,null,Se(a.links,({link:n,icon:r,ariaLabel:l})=>(u(),se(Qi,{key:n,icon:r,link:n,ariaLabel:l},null,8,["icon","link","ariaLabel"]))),128))]))}}),Fn=_e(Xi,[["__scopeId","data-v-7bc22406"]]),Ki={key:0,class:"group translations"},Ji={class:"trans-title"},Zi={key:1,class:"group"},eu={class:"item appearance"},tu={class:"label"},au={class:"appearance-action"},nu={key:2,class:"group"},ru={class:"item social-links"},lu=J({__name:"VPNavBarExtra",setup(e){const{site:a,theme:t}=Oe(),{localeLinks:n,currentLang:r}=Va({correspondingLink:!0}),l=M(()=>n.value.length&&r.value.label||a.value.appearance||t.value.socialLinks);return(o,i)=>l.value?(u(),se(En,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:w(()=>[s(n).length&&s(r).label?(u(),m("div",Ki,[h("p",Ji,fe(s(r).label),1),(u(!0),m(pe,null,Se(s(n),d=>(u(),se(Ka,{key:d.link,item:d},null,8,["item"]))),128))])):x("",!0),s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(u(),m("div",Zi,[h("div",eu,[h("p",tu,fe(s(t).darkModeSwitchLabel||"Appearance"),1),h("div",au,[ae(Hn)])])])):x("",!0),s(t).socialLinks?(u(),m("div",nu,[h("div",ru,[ae(Fn,{class:"social-links-list",links:s(t).socialLinks},null,8,["links"])])])):x("",!0)]),_:1})):x("",!0)}}),ou=_e(lu,[["__scopeId","data-v-bb2aa2f0"]]),su=["aria-expanded"],iu=J({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(a,t)=>(u(),m("button",{type:"button",class:ye(["VPNavBarHamburger",{active:a.active}]),"aria-label":"mobile navigation","aria-expanded":a.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>a.$emit("click"))},t[1]||(t[1]=[h("span",{class:"container"},[h("span",{class:"top"}),h("span",{class:"middle"}),h("span",{class:"bottom"})],-1)]),10,su))}}),uu=_e(iu,[["__scopeId","data-v-e5dd9c1c"]]),du=["innerHTML"],cu=J({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:a}=Oe();return(t,n)=>(u(),se(Rt,{class:ye({VPNavBarMenuLink:!0,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,"no-icon":t.item.noIcon,tabindex:"0"},{default:w(()=>[h("span",{innerHTML:t.item.text},null,8,du)]),_:1},8,["class","href","target","rel","no-icon"]))}}),vu=_e(cu,[["__scopeId","data-v-e56f3d57"]]),mu=J({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const a=e,{page:t}=Oe(),n=l=>"component"in l?!1:"link"in l?sa(t.value.relativePath,l.link,!!a.item.activeMatch):l.items.some(n),r=M(()=>n(a.item));return(l,o)=>(u(),se(En,{class:ye({VPNavBarMenuGroup:!0,active:s(sa)(s(t).relativePath,l.item.activeMatch,!!l.item.activeMatch)||r.value}),button:l.item.text,items:l.item.items},null,8,["class","button","items"]))}}),fu={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},pu=J({__name:"VPNavBarMenu",setup(e){const{theme:a}=Oe();return(t,n)=>s(a).nav?(u(),m("nav",fu,[n[0]||(n[0]=h("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(u(!0),m(pe,null,Se(s(a).nav,r=>(u(),m(pe,{key:JSON.stringify(r)},["link"in r?(u(),se(vu,{key:0,item:r},null,8,["item"])):"component"in r?(u(),se(yt(r.component),Ye({key:1,ref_for:!0},r.props),null,16)):(u(),se(mu,{key:2,item:r},null,8,["item"]))],64))),128))])):x("",!0)}}),hu=_e(pu,[["__scopeId","data-v-dc692963"]]);function yu(e){const{localeIndex:a,theme:t}=Oe();function n(r){var D,$,I;const l=r.split("."),o=(D=t.value.search)==null?void 0:D.options,i=o&&typeof o=="object",d=i&&((I=($=o.locales)==null?void 0:$[a.value])==null?void 0:I.translations)||null,b=i&&o.translations||null;let p=d,c=b,v=e;const g=l.pop();for(const R of l){let F=null;const Y=v==null?void 0:v[R];Y&&(F=v=Y);const U=c==null?void 0:c[R];U&&(F=c=U);const re=p==null?void 0:p[R];re&&(F=p=re),Y||(v=F),U||(c=F),re||(p=F)}return(p==null?void 0:p[g])??(c==null?void 0:c[g])??(v==null?void 0:v[g])??""}return n}const gu=["aria-label"],bu={class:"DocSearch-Button-Container"},ku={class:"DocSearch-Button-Placeholder"},dr=J({__name:"VPNavBarSearchButton",setup(e){const t=yu({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,r)=>(u(),m("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":s(t)("button.buttonAriaLabel")},[h("span",bu,[r[0]||(r[0]=h("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),h("span",ku,fe(s(t)("button.buttonText")),1)]),r[1]||(r[1]=h("span",{class:"DocSearch-Button-Keys"},[h("kbd",{class:"DocSearch-Button-Key"}),h("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,gu))}}),_u={class:"VPNavBarSearch"},wu={id:"local-search"},$u={key:1,id:"docsearch"},Du=J({__name:"VPNavBarSearch",setup(e){const a=()=>null,t=Or(()=>Ir(()=>import("./VPAlgoliaSearchBox.BAKkQrZB.js"),__vite__mapDeps([2,1]))),{theme:n}=Oe(),r=S(!1),l=S(!1),o=()=>{const v="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{var $;const D=document.createElement("link");D.id=v,D.rel="preconnect",D.href=`https://${((($=n.value.search)==null?void 0:$.options)??n.value.algolia).appId}-dsn.algolia.net`,D.crossOrigin="",document.head.appendChild(D)})};qe(()=>{o();const v=D=>{(D.key.toLowerCase()==="k"&&(D.metaKey||D.ctrlKey)||!b(D)&&D.key==="/")&&(D.preventDefault(),i(),g())},g=()=>{window.removeEventListener("keydown",v)};window.addEventListener("keydown",v),Ut(g)});function i(){r.value||(r.value=!0,setTimeout(d,16))}function d(){const v=new Event("keydown");v.key="k",v.metaKey=!0,window.dispatchEvent(v),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||d()},16)}function b(v){const g=v.target,D=g.tagName;return g.isContentEditable||D==="INPUT"||D==="SELECT"||D==="TEXTAREA"}const p=S(!1),c="algolia";return(v,g)=>{var D;return u(),m("div",_u,[s(c)==="local"?(u(),m(pe,{key:0},[p.value?(u(),se(s(a),{key:0,onClose:g[0]||(g[0]=$=>p.value=!1)})):x("",!0),h("div",wu,[ae(dr,{onClick:g[1]||(g[1]=$=>p.value=!0)})])],64)):s(c)==="algolia"?(u(),m(pe,{key:1},[r.value?(u(),se(s(t),{key:0,algolia:((D=s(n).search)==null?void 0:D.options)??s(n).algolia,onVnodeBeforeMount:g[2]||(g[2]=$=>l.value=!0)},null,8,["algolia"])):x("",!0),l.value?x("",!0):(u(),m("div",$u,[ae(dr,{onClick:i})]))],64)):x("",!0)])}}}),Pu=J({__name:"VPNavBarSocialLinks",setup(e){const{theme:a}=Oe();return(t,n)=>s(a).socialLinks?(u(),se(Fn,{key:0,class:"VPNavBarSocialLinks",links:s(a).socialLinks},null,8,["links"])):x("",!0)}}),Mu=_e(Pu,[["__scopeId","data-v-0394ad82"]]),Tu=["href","rel","target"],xu=["innerHTML"],Su={key:2},Au=J({__name:"VPNavBarTitle",setup(e){const{site:a,theme:t}=Oe(),{hasSidebar:n}=zt(),{currentLang:r}=Va(),l=M(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),o=M(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),i=M(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,b)=>(u(),m("div",{class:ye(["VPNavBarTitle",{"has-sidebar":s(n)}])},[h("a",{class:"title",href:l.value??s(Nn)(s(r).link),rel:o.value,target:i.value},[_(d.$slots,"nav-bar-title-before",{},void 0,!0),s(t).logo?(u(),se(Fa,{key:0,class:"logo",image:s(t).logo},null,8,["image"])):x("",!0),s(t).siteTitle?(u(),m("span",{key:1,innerHTML:s(t).siteTitle},null,8,xu)):s(t).siteTitle===void 0?(u(),m("span",Su,fe(s(a).title),1)):x("",!0),_(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,Tu)],2))}}),Cu=_e(Au,[["__scopeId","data-v-1168a8e4"]]),Vu={class:"items"},Ou={class:"title"},Iu=J({__name:"VPNavBarTranslations",setup(e){const{theme:a}=Oe(),{localeLinks:t,currentLang:n}=Va({correspondingLink:!0});return(r,l)=>s(t).length&&s(n).label?(u(),se(En,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:s(a).langMenuLabel||"Change language"},{default:w(()=>[h("div",Vu,[h("p",Ou,fe(s(n).label),1),(u(!0),m(pe,null,Se(s(t),o=>(u(),se(Ka,{key:o.link,item:o},null,8,["item"]))),128))])]),_:1},8,["label"])):x("",!0)}}),Yu=_e(Iu,[["__scopeId","data-v-88af2de4"]]),Lu={class:"wrapper"},Nu={class:"container"},Ru={class:"title"},Hu={class:"content"},Bu={class:"content-body"},Eu=J({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const a=e,{y:t}=Lr(),{hasSidebar:n}=zt(),{frontmatter:r}=Oe(),l=S({});return Ln(()=>{l.value={"has-sidebar":n.value,home:r.value.layout==="home",top:t.value===0,"screen-open":a.isScreenOpen}}),(o,i)=>(u(),m("div",{class:ye(["VPNavBar",l.value])},[h("div",Lu,[h("div",Nu,[h("div",Ru,[ae(Cu,null,{"nav-bar-title-before":w(()=>[_(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[_(o.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),h("div",Hu,[h("div",Bu,[_(o.$slots,"nav-bar-content-before",{},void 0,!0),ae(Du,{class:"search"}),ae(hu,{class:"menu"}),ae(Yu,{class:"translations"}),ae(Pi,{class:"appearance"}),ae(Mu,{class:"social-links"}),ae(ou,{class:"extra"}),_(o.$slots,"nav-bar-content-after",{},void 0,!0),ae(uu,{class:"hamburger",active:o.isScreenOpen,onClick:i[0]||(i[0]=d=>o.$emit("toggle-screen"))},null,8,["active"])])])])]),i[1]||(i[1]=h("div",{class:"divider"},[h("div",{class:"divider-line"})],-1))],2))}}),Fu=_e(Eu,[["__scopeId","data-v-6aa21345"]]),Wu={key:0,class:"VPNavScreenAppearance"},Uu={class:"text"},zu=J({__name:"VPNavScreenAppearance",setup(e){const{site:a,theme:t}=Oe();return(n,r)=>s(a).appearance&&s(a).appearance!=="force-dark"&&s(a).appearance!=="force-auto"?(u(),m("div",Wu,[h("p",Uu,fe(s(t).darkModeSwitchLabel||"Appearance"),1),ae(Hn)])):x("",!0)}}),qu=_e(zu,[["__scopeId","data-v-b44890b2"]]),ju=["innerHTML"],Qu=J({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const a=Ga("close-screen");return(t,n)=>(u(),se(Rt,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:s(a)},{default:w(()=>[h("span",{innerHTML:t.item.text},null,8,ju)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Gu=_e(Qu,[["__scopeId","data-v-df37e6dd"]]),Xu=["innerHTML"],Ku=J({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const a=Ga("close-screen");return(t,n)=>(u(),se(Rt,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:s(a)},{default:w(()=>[h("span",{innerHTML:t.item.text},null,8,Xu)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),zr=_e(Ku,[["__scopeId","data-v-3e9c20e4"]]),Ju={class:"VPNavScreenMenuGroupSection"},Zu={key:0,class:"title"},ed=J({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(a,t)=>(u(),m("div",Ju,[a.text?(u(),m("p",Zu,fe(a.text),1)):x("",!0),(u(!0),m(pe,null,Se(a.items,n=>(u(),se(zr,{key:n.text,item:n},null,8,["item"]))),128))]))}}),td=_e(ed,[["__scopeId","data-v-8133b170"]]),ad=["aria-controls","aria-expanded"],nd=["innerHTML"],rd=["id"],ld={key:0,class:"item"},od={key:1,class:"item"},sd={key:2,class:"group"},id=J({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const a=e,t=S(!1),n=M(()=>`NavScreenGroup-${a.text.replace(" ","-").toLowerCase()}`);function r(){t.value=!t.value}return(l,o)=>(u(),m("div",{class:ye(["VPNavScreenMenuGroup",{open:t.value}])},[h("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:r},[h("span",{class:"button-text",innerHTML:l.text},null,8,nd),o[0]||(o[0]=h("span",{class:"vpi-plus button-icon"},null,-1))],8,ad),h("div",{id:n.value,class:"items"},[(u(!0),m(pe,null,Se(l.items,i=>(u(),m(pe,{key:JSON.stringify(i)},["link"in i?(u(),m("div",ld,[ae(zr,{item:i},null,8,["item"])])):"component"in i?(u(),m("div",od,[(u(),se(yt(i.component),Ye({ref_for:!0},i.props,{"screen-menu":""}),null,16))])):(u(),m("div",sd,[ae(td,{text:i.text,items:i.items},null,8,["text","items"])]))],64))),128))],8,rd)],2))}}),ud=_e(id,[["__scopeId","data-v-b9ab8c58"]]),dd={key:0,class:"VPNavScreenMenu"},cd=J({__name:"VPNavScreenMenu",setup(e){const{theme:a}=Oe();return(t,n)=>s(a).nav?(u(),m("nav",dd,[(u(!0),m(pe,null,Se(s(a).nav,r=>(u(),m(pe,{key:JSON.stringify(r)},["link"in r?(u(),se(Gu,{key:0,item:r},null,8,["item"])):"component"in r?(u(),se(yt(r.component),Ye({key:1,ref_for:!0},r.props,{"screen-menu":""}),null,16)):(u(),se(ud,{key:2,text:r.text||"",items:r.items},null,8,["text","items"]))],64))),128))])):x("",!0)}}),vd=J({__name:"VPNavScreenSocialLinks",setup(e){const{theme:a}=Oe();return(t,n)=>s(a).socialLinks?(u(),se(Fn,{key:0,class:"VPNavScreenSocialLinks",links:s(a).socialLinks},null,8,["links"])):x("",!0)}}),md={class:"list"},fd=J({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:a,currentLang:t}=Va({correspondingLink:!0}),n=S(!1);function r(){n.value=!n.value}return(l,o)=>s(a).length&&s(t).label?(u(),m("div",{key:0,class:ye(["VPNavScreenTranslations",{open:n.value}])},[h("button",{class:"title",onClick:r},[o[0]||(o[0]=h("span",{class:"vpi-languages icon lang"},null,-1)),Ee(" "+fe(s(t).label)+" ",1),o[1]||(o[1]=h("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),h("ul",md,[(u(!0),m(pe,null,Se(s(a),i=>(u(),m("li",{key:i.link,class:"item"},[ae(Rt,{class:"link",href:i.link},{default:w(()=>[Ee(fe(i.text),1)]),_:2},1032,["href"])]))),128))])],2)):x("",!0)}}),pd=_e(fd,[["__scopeId","data-v-858fe1a4"]]),hd={class:"container"},yd=J({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const a=S(null),t=Nr(Xa?document.body:null);return(n,r)=>(u(),se(Wt,{name:"fade",onEnter:r[0]||(r[0]=l=>t.value=!0),onAfterLeave:r[1]||(r[1]=l=>t.value=!1)},{default:w(()=>[n.open?(u(),m("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:a,id:"VPNavScreen"},[h("div",hd,[_(n.$slots,"nav-screen-content-before",{},void 0,!0),ae(cd,{class:"menu"}),ae(pd,{class:"translations"}),ae(qu,{class:"appearance"}),ae(vd,{class:"social-links"}),_(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):x("",!0)]),_:3}))}}),gd=_e(yd,[["__scopeId","data-v-f2779853"]]),bd={key:0,class:"VPNav"},kd=J({__name:"VPNav",setup(e){const{isScreenOpen:a,closeScreen:t,toggleScreen:n}=pi(),{frontmatter:r}=Oe(),l=M(()=>r.value.navbar!==!1);return Rr("close-screen",t),qa(()=>{Xa&&document.documentElement.classList.toggle("hide-nav",!l.value)}),(o,i)=>l.value?(u(),m("header",bd,[ae(Fu,{"is-screen-open":s(a),onToggleScreen:s(n)},{"nav-bar-title-before":w(()=>[_(o.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[_(o.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":w(()=>[_(o.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":w(()=>[_(o.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),ae(gd,{open:s(a)},{"nav-screen-content-before":w(()=>[_(o.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":w(()=>[_(o.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):x("",!0)}}),_d=_e(kd,[["__scopeId","data-v-ae24b3ad"]]),wd=["role","tabindex"],$d={key:1,class:"items"},Dd=J({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const a=e,{collapsed:t,collapsible:n,isLink:r,isActiveLink:l,hasActiveLink:o,hasChildren:i,toggle:d}=bo(M(()=>a.item)),b=M(()=>i.value?"section":"div"),p=M(()=>r.value?"a":"div"),c=M(()=>i.value?a.depth+2===7?"p":`h${a.depth+2}`:"p"),v=M(()=>r.value?void 0:"button"),g=M(()=>[[`level-${a.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":r.value},{"is-active":l.value},{"has-active":o.value}]);function D(I){"key"in I&&I.key!=="Enter"||!a.item.link&&d()}function $(){a.item.link&&d()}return(I,R)=>{const F=ua("VPSidebarItem",!0);return u(),se(yt(b.value),{class:ye(["VPSidebarItem",g.value])},{default:w(()=>[I.item.text?(u(),m("div",Ye({key:0,class:"item",role:v.value},ql(I.item.items?{click:D,keydown:D}:{},!0),{tabindex:I.item.items&&0}),[R[1]||(R[1]=h("div",{class:"indicator"},null,-1)),I.item.link?(u(),se(Rt,{key:0,tag:p.value,class:"link",href:I.item.link,rel:I.item.rel,target:I.item.target},{default:w(()=>[(u(),se(yt(c.value),{class:"text",innerHTML:I.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(u(),se(yt(c.value),{key:1,class:"text",innerHTML:I.item.text},null,8,["innerHTML"])),I.item.collapsed!=null&&I.item.items&&I.item.items.length?(u(),m("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:$,onKeydown:Hr($,["enter"]),tabindex:"0"},R[0]||(R[0]=[h("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):x("",!0)],16,wd)):x("",!0),I.item.items&&I.item.items.length?(u(),m("div",$d,[I.depth<5?(u(!0),m(pe,{key:0},Se(I.item.items,Y=>(u(),se(F,{key:Y.text,item:Y,depth:I.depth+1},null,8,["item","depth"]))),128)):x("",!0)])):x("",!0)]),_:1},8,["class"])}}}),Pd=_e(Dd,[["__scopeId","data-v-b7550ba0"]]),Md=J({__name:"VPSidebarGroup",props:{items:{}},setup(e){const a=S(!0);let t=null;return qe(()=>{t=setTimeout(()=>{t=null,a.value=!1},300)}),jl(()=>{t!=null&&(clearTimeout(t),t=null)}),(n,r)=>(u(!0),m(pe,null,Se(n.items,l=>(u(),m("div",{key:l.text,class:ye(["group",{"no-transition":a.value}])},[ae(Pd,{item:l,depth:0},null,8,["item"])],2))),128))}}),Td=_e(Md,[["__scopeId","data-v-c40bc020"]]),xd={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Sd=J({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:a,hasSidebar:t}=zt(),n=e,r=S(null),l=Nr(Xa?document.body:null);at([n,r],()=>{var i;n.open?(l.value=!0,(i=r.value)==null||i.focus()):l.value=!1},{immediate:!0,flush:"post"});const o=S(0);return at(a,()=>{o.value+=1},{deep:!0}),(i,d)=>s(t)?(u(),m("aside",{key:0,class:ye(["VPSidebar",{open:i.open}]),ref_key:"navEl",ref:r,onClick:d[0]||(d[0]=ia(()=>{},["stop"]))},[d[2]||(d[2]=h("div",{class:"curtain"},null,-1)),h("nav",xd,[d[1]||(d[1]=h("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),_(i.$slots,"sidebar-nav-before",{},void 0,!0),(u(),se(Td,{items:s(a),key:o.value},null,8,["items"])),_(i.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):x("",!0)}}),Ad=_e(Sd,[["__scopeId","data-v-319d5ca6"]]),Cd=J({__name:"VPSkipLink",setup(e){const a=Qa(),t=S();at(()=>a.path,()=>t.value.focus());function n({target:r}){const l=document.getElementById(decodeURIComponent(r.hash).slice(1));if(l){const o=()=>{l.removeAttribute("tabindex"),l.removeEventListener("blur",o)};l.setAttribute("tabindex","-1"),l.addEventListener("blur",o),l.focus(),window.scrollTo(0,0)}}return(r,l)=>(u(),m(pe,null,[h("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),h("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),Vd=_e(Cd,[["__scopeId","data-v-0f60ec36"]]),Od=J({__name:"Layout",setup(e){const{isOpen:a,open:t,close:n}=zt(),r=Qa();at(()=>r.path,n),go(a,n);const{frontmatter:l}=Oe(),o=ea(),i=M(()=>!!o["home-hero-image"]);return Rr("hero-image-slot-exists",i),(d,b)=>{const p=ua("Content");return s(l).layout!==!1?(u(),m("div",{key:0,class:ye(["Layout",s(l).pageClass])},[_(d.$slots,"layout-top",{},void 0,!0),ae(Vd),ae(ro,{class:"backdrop",show:s(a),onClick:s(n)},null,8,["show","onClick"]),ae(_d,null,{"nav-bar-title-before":w(()=>[_(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":w(()=>[_(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":w(()=>[_(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":w(()=>[_(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":w(()=>[_(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":w(()=>[_(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),ae(fi,{open:s(a),onOpenMenu:s(t)},null,8,["open","onOpenMenu"]),ae(Ad,{open:s(a)},{"sidebar-nav-before":w(()=>[_(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":w(()=>[_(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),ae(Js,null,{"page-top":w(()=>[_(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":w(()=>[_(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":w(()=>[_(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":w(()=>[_(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":w(()=>[_(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":w(()=>[_(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":w(()=>[_(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":w(()=>[_(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":w(()=>[_(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":w(()=>[_(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":w(()=>[_(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":w(()=>[_(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":w(()=>[_(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":w(()=>[_(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":w(()=>[_(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":w(()=>[_(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":w(()=>[_(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":w(()=>[_(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":w(()=>[_(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":w(()=>[_(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":w(()=>[_(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":w(()=>[_(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":w(()=>[_(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),ae(ni),_(d.$slots,"layout-bottom",{},void 0,!0)],2)):(u(),se(p,{key:1}))}}}),Id=_e(Od,[["__scopeId","data-v-5d98c3a5"]]),Yd={Layout:Id,enhanceApp:({app:e})=>{e.component("Badge",to)}},Ld={},Nd={class:"star-and-sponsor"};function Rd(e,a){return u(),m("div",Nd,a[0]||(a[0]=[h("p",null,[Ee(" ⭐ If you like the component, give it a star on "),h("a",{class:"home-link",href:"https://github.com/Vuepic/vue-datepicker",target:"_blank"},"GitHub"),Ee(" and consider "),h("a",{class:"home-link",href:"https://github.com/sponsors/Vuepic",target:"_blank"},"sponsoring"),Ee(" its development! ⭐ ")],-1)]))}const Hd=_e(Ld,[["render",Rd]]),qr=6048e5,Bd=864e5,Ed=6e4,jr=36e5,Fd=1e3,cr=Symbol.for("constructDateFrom");function Fe(e,a){return typeof e=="function"?e(a):e&&typeof e=="object"&&cr in e?e[cr](a):e instanceof Date?new e.constructor(a):new Date(a)}function xe(e,a){return Fe(a||e,e)}function lt(e,a,t){const n=xe(e,t==null?void 0:t.in);return isNaN(a)?Fe((t==null?void 0:t.in)||e,NaN):(a&&n.setDate(n.getDate()+a),n)}function _t(e,a,t){const n=xe(e,t==null?void 0:t.in);if(isNaN(a))return Fe(e,NaN);if(!a)return n;const r=n.getDate(),l=Fe(e,n.getTime());l.setMonth(n.getMonth()+a+1,0);const o=l.getDate();return r>=o?l:(n.setFullYear(l.getFullYear(),l.getMonth(),r),n)}function Qr(e,a,t){const{years:n=0,months:r=0,weeks:l=0,days:o=0,hours:i=0,minutes:d=0,seconds:b=0}=a,p=xe(e,t==null?void 0:t.in),c=r||n?_t(p,r+n*12):p,v=o||l?lt(c,o+l*7):c,g=d+i*60,$=(b+g*60)*1e3;return Fe(e,+v+$)}function Wd(e,a,t){return Fe(e,+xe(e)+a)}function Ud(e,a,t){return Wd(e,a*jr)}let zd={};function da(){return zd}function Tt(e,a){var i,d,b,p;const t=da(),n=(a==null?void 0:a.weekStartsOn)??((d=(i=a==null?void 0:a.locale)==null?void 0:i.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((p=(b=t.locale)==null?void 0:b.options)==null?void 0:p.weekStartsOn)??0,r=xe(e,a==null?void 0:a.in),l=r.getDay(),o=(l=l.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function Wa(e){const a=xe(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 Oa(e,...a){const t=Fe.bind(null,a.find(n=>typeof n=="object"));return a.map(t)}function vr(e,a){const t=xe(e,a==null?void 0:a.in);return t.setHours(0,0,0,0),t}function Xr(e,a,t){const[n,r]=Oa(t==null?void 0:t.in,e,a),l=vr(n),o=vr(r),i=+l-Wa(l),d=+o-Wa(o);return Math.round((i-d)/Bd)}function qd(e,a){const t=Gr(e,a),n=Fe(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),ha(n)}function jd(e,a,t){return _t(e,a*3,t)}function Wn(e,a,t){return _t(e,a*12,t)}function mr(e,a){const t=+xe(e)-+xe(a);return t<0?-1:t>0?1:t}function Kr(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ma(e){return!(!Kr(e)&&typeof e!="number"||isNaN(+xe(e)))}function fr(e,a){const t=xe(e,a==null?void 0:a.in);return Math.trunc(t.getMonth()/3)+1}function Qd(e,a,t){const[n,r]=Oa(t==null?void 0:t.in,e,a);return n.getFullYear()-r.getFullYear()}function pr(e,a){const t=xe(e,a==null?void 0:a.in),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function Gd(e,a,t){const[n,r]=Oa(t==null?void 0:t.in,e,a),l=mr(n,r),o=Math.abs(Qd(n,r));n.setFullYear(1584),r.setFullYear(1584);const i=mr(n,r)===-l,d=l*(o-+i);return d===0?0:d}function Jr(e,a){const[t,n]=Oa(e,a.start,a.end);return{start:t,end:n}}function Zr(e,a){const{start:t,end:n}=Jr(a==null?void 0:a.in,e);let r=+t>+n;const l=r?+t:+n,o=r?n:t;o.setHours(0,0,0,0);let i=1;const d=[];for(;+o<=l;)d.push(Fe(t,o)),o.setDate(o.getDate()+i),o.setHours(0,0,0,0);return r?d.reverse():d}function Gt(e,a){const t=xe(e,a==null?void 0:a.in),n=t.getMonth(),r=n-n%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function Xd(e,a){const{start:t,end:n}=Jr(a==null?void 0:a.in,e);let r=+t>+n;const l=r?+Gt(t):+Gt(n);let o=Gt(r?n:t),i=1;const d=[];for(;+o<=l;)d.push(Fe(t,o)),o=jd(o,i);return r?d.reverse():d}function xn(e,a){const t=xe(e,a==null?void 0:a.in);return t.setDate(1),t.setHours(0,0,0,0),t}function Un(e,a){const t=xe(e,a==null?void 0:a.in),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}function ya(e,a){const t=xe(e,a==null?void 0:a.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function el(e,a){var i,d,b,p;const t=da(),n=(a==null?void 0:a.weekStartsOn)??((d=(i=a==null?void 0:a.locale)==null?void 0:i.options)==null?void 0:d.weekStartsOn)??t.weekStartsOn??((p=(b=t.locale)==null?void 0:b.options)==null?void 0:p.weekStartsOn)??0,r=xe(e,a==null?void 0:a.in),l=r.getDay(),o=(l{let n;const r=Kd[e];return typeof r=="string"?n=r:a===1?n=r.one:n=r.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 Zd={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ec={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},tc={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ac={date:pa({formats:Zd,defaultWidth:"full"}),time:pa({formats:ec,defaultWidth:"full"}),dateTime:pa({formats:tc,defaultWidth:"full"})},nc={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},rc=(e,a,t,n)=>nc[e];function Ot(e){return(a,t)=>{const n=t!=null&&t.context?String(t.context):"standalone";let r;if(n==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,i=t!=null&&t.width?String(t.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{const o=e.defaultWidth,i=t!=null&&t.width?String(t.width):e.defaultWidth;r=e.values[i]||e.values[o]}const l=e.argumentCallback?e.argumentCallback(a):a;return r[l]}}const lc={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},oc={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},sc={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"]},ic={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"]},uc={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"}},dc={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"}},cc=(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"},vc={ordinalNumber:cc,era:Ot({values:lc,defaultWidth:"wide"}),quarter:Ot({values:oc,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ot({values:sc,defaultWidth:"wide"}),day:Ot({values:ic,defaultWidth:"wide"}),dayPeriod:Ot({values:uc,defaultWidth:"wide",formattingValues:dc,defaultFormattingWidth:"wide"})};function It(e){return(a,t={})=>{const n=t.width,r=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],l=a.match(r);if(!l)return null;const o=l[0],i=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(i)?fc(i,c=>c.test(o)):mc(i,c=>c.test(o));let b;b=e.valueCallback?e.valueCallback(d):d,b=t.valueCallback?t.valueCallback(b):b;const p=a.slice(o.length);return{value:b,rest:p}}}function mc(e,a){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&a(e[t]))return t}function fc(e,a){for(let t=0;t{const n=a.match(e.matchPattern);if(!n)return null;const r=n[0],l=a.match(e.parsePattern);if(!l)return null;let o=e.valueCallback?e.valueCallback(l[0]):l[0];o=t.valueCallback?t.valueCallback(o):o;const i=a.slice(r.length);return{value:o,rest:i}}}const pc=/^(\d+)(th|st|nd|rd)?/i,hc=/\d+/i,yc={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},gc={any:[/^b/i,/^(a|c)/i]},bc={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},kc={any:[/1/i,/2/i,/3/i,/4/i]},_c={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},wc={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]},$c={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},Dc={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]},Pc={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},Mc={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}},Tc={ordinalNumber:tl({matchPattern:pc,parsePattern:hc,valueCallback:e=>parseInt(e,10)}),era:It({matchPatterns:yc,defaultMatchWidth:"wide",parsePatterns:gc,defaultParseWidth:"any"}),quarter:It({matchPatterns:bc,defaultMatchWidth:"wide",parsePatterns:kc,defaultParseWidth:"any",valueCallback:e=>e+1}),month:It({matchPatterns:_c,defaultMatchWidth:"wide",parsePatterns:wc,defaultParseWidth:"any"}),day:It({matchPatterns:$c,defaultMatchWidth:"wide",parsePatterns:Dc,defaultParseWidth:"any"}),dayPeriod:It({matchPatterns:Pc,defaultMatchWidth:"any",parsePatterns:Mc,defaultParseWidth:"any"})},al={code:"en-US",formatDistance:Jd,formatLong:ac,formatRelative:rc,localize:vc,match:Tc,options:{weekStartsOn:0,firstWeekContainsDate:1}};function xc(e,a){const t=xe(e,a==null?void 0:a.in);return Xr(t,ya(t))+1}function zn(e,a){const t=xe(e,a==null?void 0:a.in),n=+ha(t)-+qd(t);return Math.round(n/qr)+1}function qn(e,a){var p,c,v,g;const t=xe(e,a==null?void 0:a.in),n=t.getFullYear(),r=da(),l=(a==null?void 0:a.firstWeekContainsDate)??((c=(p=a==null?void 0:a.locale)==null?void 0:p.options)==null?void 0:c.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(v=r.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=Fe((a==null?void 0:a.in)||e,0);o.setFullYear(n+1,0,l),o.setHours(0,0,0,0);const i=Tt(o,a),d=Fe((a==null?void 0:a.in)||e,0);d.setFullYear(n,0,l),d.setHours(0,0,0,0);const b=Tt(d,a);return+t>=+i?n+1:+t>=+b?n:n-1}function Sc(e,a){var i,d,b,p;const t=da(),n=(a==null?void 0:a.firstWeekContainsDate)??((d=(i=a==null?void 0:a.locale)==null?void 0:i.options)==null?void 0:d.firstWeekContainsDate)??t.firstWeekContainsDate??((p=(b=t.locale)==null?void 0:b.options)==null?void 0:p.firstWeekContainsDate)??1,r=qn(e,a),l=Fe((a==null?void 0:a.in)||e,0);return l.setFullYear(r,0,n),l.setHours(0,0,0,0),Tt(l,a)}function jn(e,a){const t=xe(e,a==null?void 0:a.in),n=+Tt(t,a)-+Sc(t,a);return Math.round(n/qr)+1}function Be(e,a){const t=e<0?"-":"",n=Math.abs(e).toString().padStart(a,"0");return t+n}const jt={y(e,a){const t=e.getFullYear(),n=t>0?t:1-t;return Be(a==="yy"?n%100:n,a.length)},M(e,a){const t=e.getMonth();return a==="M"?String(t+1):Be(t+1,2)},d(e,a){return Be(e.getDate(),a.length)},a(e,a){const t=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.toUpperCase();case"aaa":return t;case"aaaaa":return t[0];case"aaaa":default:return t==="am"?"a.m.":"p.m."}},h(e,a){return Be(e.getHours()%12||12,a.length)},H(e,a){return Be(e.getHours(),a.length)},m(e,a){return Be(e.getMinutes(),a.length)},s(e,a){return Be(e.getSeconds(),a.length)},S(e,a){const t=a.length,n=e.getMilliseconds(),r=Math.trunc(n*Math.pow(10,t-3));return Be(r,a.length)}},va={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},yr={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(),r=n>0?n:1-n;return t.ordinalNumber(r,{unit:"year"})}return jt.y(e,a)},Y:function(e,a,t,n){const r=qn(e,n),l=r>0?r:1-r;if(a==="YY"){const o=l%100;return Be(o,2)}return a==="Yo"?t.ordinalNumber(l,{unit:"year"}):Be(l,a.length)},R:function(e,a){const t=Gr(e);return Be(t,a.length)},u:function(e,a){const t=e.getFullYear();return Be(t,a.length)},Q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(n);case"QQ":return Be(n,2);case"Qo":return t.ordinalNumber(n,{unit:"quarter"});case"QQQ":return t.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,a,t){const n=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(n);case"qq":return Be(n,2);case"qo":return t.ordinalNumber(n,{unit:"quarter"});case"qqq":return t.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,a,t){const n=e.getMonth();switch(a){case"M":case"MM":return jt.M(e,a);case"Mo":return t.ordinalNumber(n+1,{unit:"month"});case"MMM":return t.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(n,{width:"wide",context:"formatting"})}},L:function(e,a,t){const n=e.getMonth();switch(a){case"L":return String(n+1);case"LL":return Be(n+1,2);case"Lo":return t.ordinalNumber(n+1,{unit:"month"});case"LLL":return t.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(n,{width:"wide",context:"standalone"})}},w:function(e,a,t,n){const r=jn(e,n);return a==="wo"?t.ordinalNumber(r,{unit:"week"}):Be(r,a.length)},I:function(e,a,t){const n=zn(e);return a==="Io"?t.ordinalNumber(n,{unit:"week"}):Be(n,a.length)},d:function(e,a,t){return a==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):jt.d(e,a)},D:function(e,a,t){const n=xc(e);return a==="Do"?t.ordinalNumber(n,{unit:"dayOfYear"}):Be(n,a.length)},E:function(e,a,t){const n=e.getDay();switch(a){case"E":case"EE":case"EEE":return t.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(n,{width:"short",context:"formatting"});case"EEEE":default:return t.day(n,{width:"wide",context:"formatting"})}},e:function(e,a,t,n){const r=e.getDay(),l=(r-n.weekStartsOn+8)%7||7;switch(a){case"e":return String(l);case"ee":return Be(l,2);case"eo":return t.ordinalNumber(l,{unit:"day"});case"eee":return t.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(r,{width:"short",context:"formatting"});case"eeee":default:return t.day(r,{width:"wide",context:"formatting"})}},c:function(e,a,t,n){const r=e.getDay(),l=(r-n.weekStartsOn+8)%7||7;switch(a){case"c":return String(l);case"cc":return Be(l,a.length);case"co":return t.ordinalNumber(l,{unit:"day"});case"ccc":return t.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(r,{width:"narrow",context:"standalone"});case"cccccc":return t.day(r,{width:"short",context:"standalone"});case"cccc":default:return t.day(r,{width:"wide",context:"standalone"})}},i:function(e,a,t){const n=e.getDay(),r=n===0?7:n;switch(a){case"i":return String(r);case"ii":return Be(r,a.length);case"io":return t.ordinalNumber(r,{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 r=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,a,t){const n=e.getHours();let r;switch(n===12?r=va.noon:n===0?r=va.midnight:r=n/12>=1?"pm":"am",a){case"b":case"bb":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,a,t){const n=e.getHours();let r;switch(n>=17?r=va.evening:n>=12?r=va.afternoon:n>=4?r=va.morning:r=va.night,a){case"B":case"BB":case"BBB":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(r,{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 jt.h(e,a)},H:function(e,a,t){return a==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):jt.H(e,a)},K:function(e,a,t){const n=e.getHours()%12;return a==="Ko"?t.ordinalNumber(n,{unit:"hour"}):Be(n,a.length)},k:function(e,a,t){let n=e.getHours();return n===0&&(n=24),a==="ko"?t.ordinalNumber(n,{unit:"hour"}):Be(n,a.length)},m:function(e,a,t){return a==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):jt.m(e,a)},s:function(e,a,t){return a==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):jt.s(e,a)},S:function(e,a){return jt.S(e,a)},X:function(e,a,t){const n=e.getTimezoneOffset();if(n===0)return"Z";switch(a){case"X":return br(n);case"XXXX":case"XX":return na(n);case"XXXXX":case"XXX":default:return na(n,":")}},x:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"x":return br(n);case"xxxx":case"xx":return na(n);case"xxxxx":case"xxx":default:return na(n,":")}},O:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+gr(n,":");case"OOOO":default:return"GMT"+na(n,":")}},z:function(e,a,t){const n=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+gr(n,":");case"zzzz":default:return"GMT"+na(n,":")}},t:function(e,a,t){const n=Math.trunc(+e/1e3);return Be(n,a.length)},T:function(e,a,t){return Be(+e,a.length)}};function gr(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),r=Math.trunc(n/60),l=n%60;return l===0?t+String(r):t+String(r)+a+Be(l,2)}function br(e,a){return e%60===0?(e>0?"-":"+")+Be(Math.abs(e)/60,2):na(e,a)}function na(e,a=""){const t=e>0?"-":"+",n=Math.abs(e),r=Be(Math.trunc(n/60),2),l=Be(n%60,2);return t+r+a+l}const kr=(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"})}},nl=(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"})}},Ac=(e,a)=>{const t=e.match(/(P+)(p+)?/)||[],n=t[1],r=t[2];if(!r)return kr(e,a);let l;switch(n){case"P":l=a.dateTime({width:"short"});break;case"PP":l=a.dateTime({width:"medium"});break;case"PPP":l=a.dateTime({width:"long"});break;case"PPPP":default:l=a.dateTime({width:"full"});break}return l.replace("{{date}}",kr(n,a)).replace("{{time}}",nl(r,a))},Sn={p:nl,P:Ac},Cc=/^D+$/,Vc=/^Y+$/,Oc=["D","DD","YY","YYYY"];function rl(e){return Cc.test(e)}function ll(e){return Vc.test(e)}function An(e,a,t){const n=Ic(e,a,t);if(console.warn(n),Oc.includes(e))throw new RangeError(n)}function Ic(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 Yc=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Lc=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Nc=/^'([^]*?)'?$/,Rc=/''/g,Hc=/[a-zA-Z]/;function wt(e,a,t){var p,c,v,g,D,$,I,R;const n=da(),r=(t==null?void 0:t.locale)??n.locale??al,l=(t==null?void 0:t.firstWeekContainsDate)??((c=(p=t==null?void 0:t.locale)==null?void 0:p.options)==null?void 0:c.firstWeekContainsDate)??n.firstWeekContainsDate??((g=(v=n.locale)==null?void 0:v.options)==null?void 0:g.firstWeekContainsDate)??1,o=(t==null?void 0:t.weekStartsOn)??(($=(D=t==null?void 0:t.locale)==null?void 0:D.options)==null?void 0:$.weekStartsOn)??n.weekStartsOn??((R=(I=n.locale)==null?void 0:I.options)==null?void 0:R.weekStartsOn)??0,i=xe(e,t==null?void 0:t.in);if(!Ma(i))throw new RangeError("Invalid time value");let d=a.match(Lc).map(F=>{const Y=F[0];if(Y==="p"||Y==="P"){const U=Sn[Y];return U(F,r.formatLong)}return F}).join("").match(Yc).map(F=>{if(F==="''")return{isToken:!1,value:"'"};const Y=F[0];if(Y==="'")return{isToken:!1,value:Bc(F)};if(yr[Y])return{isToken:!0,value:F};if(Y.match(Hc))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Y+"`");return{isToken:!1,value:F}});r.localize.preprocessor&&(d=r.localize.preprocessor(i,d));const b={firstWeekContainsDate:l,weekStartsOn:o,locale:r};return d.map(F=>{if(!F.isToken)return F.value;const Y=F.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&ll(Y)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&rl(Y))&&An(Y,a,String(e));const U=yr[Y[0]];return U(i,Y,r.localize,b)}).join("")}function Bc(e){const a=e.match(Nc);return a?a[1].replace(Rc,"'"):e}function Ec(e,a){return xe(e,a==null?void 0:a.in).getDay()}function Fc(e,a){const t=xe(e,a==null?void 0:a.in),n=t.getFullYear(),r=t.getMonth(),l=Fe(t,0);return l.setFullYear(n,r+1,0),l.setHours(0,0,0,0),l.getDate()}function Wc(){return Object.assign({},da())}function Et(e,a){return xe(e,a==null?void 0:a.in).getHours()}function Uc(e,a){const t=xe(e,a==null?void 0:a.in).getDay();return t===0?7:t}function Zt(e,a){return xe(e,a==null?void 0:a.in).getMinutes()}function Ce(e,a){return xe(e,a==null?void 0:a.in).getMonth()}function ga(e){return xe(e).getSeconds()}function Te(e,a){return xe(e,a==null?void 0:a.in).getFullYear()}function ba(e,a){return+xe(e)>+xe(a)}function Sa(e,a){return+xe(e)<+xe(a)}function ra(e,a){return+xe(e)==+xe(a)}function zc(e,a){const t=qc(a)?new a(0):Fe(a,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function qc(e){var a;return typeof e=="function"&&((a=e.prototype)==null?void 0:a.constructor)===e}const jc=10;class ol{constructor(){ge(this,"subPriority",0)}validate(a,t){return!0}}class Qc extends ol{constructor(a,t,n,r,l){super(),this.value=a,this.validateValue=t,this.setValue=n,this.priority=r,l&&(this.subPriority=l)}validate(a,t){return this.validateValue(a,this.value,t)}set(a,t,n){return this.setValue(a,t,this.value,n)}}class Gc extends ol{constructor(t,n){super();ge(this,"priority",jc);ge(this,"subPriority",-1);this.context=t||(r=>Fe(n,r))}set(t,n){return n.timestampIsSet?t:Fe(t,zc(t,this.context))}}class He{run(a,t,n,r){const l=this.parse(a,t,n,r);return l?{setter:new Qc(l.value,this.validate,this.set,this.priority,this.subPriority),rest:l.rest}:null}validate(a,t,n){return!0}}class Xc extends He{constructor(){super(...arguments);ge(this,"priority",140);ge(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,r){switch(n){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});case"GGGG":default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,n,r){return n.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}const et={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}/},Yt={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 tt(e,a){return e&&{value:a(e.value),rest:e.rest}}function Qe(e,a){const t=a.match(e);return t?{value:parseInt(t[0],10),rest:a.slice(t[0].length)}:null}function Lt(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,r=t[2]?parseInt(t[2],10):0,l=t[3]?parseInt(t[3],10):0,o=t[5]?parseInt(t[5],10):0;return{value:n*(r*jr+l*Ed+o*Fd),rest:a.slice(t[0].length)}}function sl(e){return Qe(et.anyDigitsSigned,e)}function Xe(e,a){switch(e){case 1:return Qe(et.singleDigit,a);case 2:return Qe(et.twoDigits,a);case 3:return Qe(et.threeDigits,a);case 4:return Qe(et.fourDigits,a);default:return Qe(new RegExp("^\\d{1,"+e+"}"),a)}}function Ua(e,a){switch(e){case 1:return Qe(et.singleDigitSigned,a);case 2:return Qe(et.twoDigitsSigned,a);case 3:return Qe(et.threeDigitsSigned,a);case 4:return Qe(et.fourDigitsSigned,a);default:return Qe(new RegExp("^-?\\d{1,"+e+"}"),a)}}function Qn(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 il(e,a){const t=a>0,n=t?a:1-a;let r;if(n<=50)r=e||100;else{const l=n+50,o=Math.trunc(l/100)*100,i=e>=l%100;r=e+o-(i?100:0)}return t?r:1-r}function ul(e){return e%400===0||e%4===0&&e%100!==0}class Kc extends He{constructor(){super(...arguments);ge(this,"priority",130);ge(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,r){const l=o=>({year:o,isTwoDigitYear:n==="yy"});switch(n){case"y":return tt(Xe(4,t),l);case"yo":return tt(r.ordinalNumber(t,{unit:"year"}),l);default:return tt(Xe(n.length,t),l)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r){const l=t.getFullYear();if(r.isTwoDigitYear){const i=il(r.year,l);return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}const o=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}class Jc extends He{constructor(){super(...arguments);ge(this,"priority",130);ge(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,r){const l=o=>({year:o,isTwoDigitYear:n==="YY"});switch(n){case"Y":return tt(Xe(4,t),l);case"Yo":return tt(r.ordinalNumber(t,{unit:"year"}),l);default:return tt(Xe(n.length,t),l)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,r,l){const o=qn(t,l);if(r.isTwoDigitYear){const d=il(r.year,o);return t.setFullYear(d,0,l.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,l)}const i=!("era"in n)||n.era===1?r.year:1-r.year;return t.setFullYear(i,0,l.firstWeekContainsDate),t.setHours(0,0,0,0),Tt(t,l)}}class Zc extends He{constructor(){super(...arguments);ge(this,"priority",130);ge(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,r){const l=Fe(t,0);return l.setFullYear(r,0,4),l.setHours(0,0,0,0),ha(l)}}class ev extends He{constructor(){super(...arguments);ge(this,"priority",130);ge(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,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}class tv extends He{constructor(){super(...arguments);ge(this,"priority",120);ge(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"Q":case"QQ":return Xe(n.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class av extends He{constructor(){super(...arguments);ge(this,"priority",120);ge(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"q":case"qq":return Xe(n.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class nv extends He{constructor(){super(...arguments);ge(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ge(this,"priority",110)}parse(t,n,r){const l=o=>o-1;switch(n){case"M":return tt(Qe(et.month,t),l);case"MM":return tt(Xe(2,t),l);case"Mo":return tt(r.ordinalNumber(t,{unit:"month"}),l);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}class rv extends He{constructor(){super(...arguments);ge(this,"priority",110);ge(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,r){const l=o=>o-1;switch(n){case"L":return tt(Qe(et.month,t),l);case"LL":return tt(Xe(2,t),l);case"Lo":return tt(r.ordinalNumber(t,{unit:"month"}),l);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}function lv(e,a,t){const n=xe(e,t==null?void 0:t.in),r=jn(n,t)-a;return n.setDate(n.getDate()-r*7),xe(n,t==null?void 0:t.in)}class ov extends He{constructor(){super(...arguments);ge(this,"priority",100);ge(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,r){switch(n){case"w":return Qe(et.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return Xe(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r,l){return Tt(lv(t,r,l),l)}}function sv(e,a,t){const n=xe(e,t==null?void 0:t.in),r=zn(n,t)-a;return n.setDate(n.getDate()-r*7),n}class iv extends He{constructor(){super(...arguments);ge(this,"priority",100);ge(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,r){switch(n){case"I":return Qe(et.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return Xe(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,r){return ha(sv(t,r))}}const uv=[31,28,31,30,31,30,31,31,30,31,30,31],dv=[31,29,31,30,31,30,31,31,30,31,30,31];class cv extends He{constructor(){super(...arguments);ge(this,"priority",90);ge(this,"subPriority",1);ge(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"d":return Qe(et.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return Xe(n.length,t)}}validate(t,n){const r=t.getFullYear(),l=ul(r),o=t.getMonth();return l?n>=1&&n<=dv[o]:n>=1&&n<=uv[o]}set(t,n,r){return t.setDate(r),t.setHours(0,0,0,0),t}}class vv extends He{constructor(){super(...arguments);ge(this,"priority",90);ge(this,"subpriority",1);ge(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,r){switch(n){case"D":case"DD":return Qe(et.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return Xe(n.length,t)}}validate(t,n){const r=t.getFullYear();return ul(r)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}}function Gn(e,a,t){var c,v,g,D;const n=da(),r=(t==null?void 0:t.weekStartsOn)??((v=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:v.weekStartsOn)??n.weekStartsOn??((D=(g=n.locale)==null?void 0:g.options)==null?void 0:D.weekStartsOn)??0,l=xe(e,t==null?void 0:t.in),o=l.getDay(),d=(a%7+7)%7,b=7-r,p=a<0||a>6?a-(o+b)%7:(d+b)%7-(o+b)%7;return lt(l,p,t)}class mv extends He{constructor(){super(...arguments);ge(this,"priority",90);ge(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,r){switch(n){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,l){return t=Gn(t,r,l),t.setHours(0,0,0,0),t}}class fv extends He{constructor(){super(...arguments);ge(this,"priority",90);ge(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,r,l){const o=i=>{const d=Math.floor((i-1)/7)*7;return(i+l.weekStartsOn+6)%7+d};switch(n){case"e":case"ee":return tt(Xe(n.length,t),o);case"eo":return tt(r.ordinalNumber(t,{unit:"day"}),o);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,l){return t=Gn(t,r,l),t.setHours(0,0,0,0),t}}class pv extends He{constructor(){super(...arguments);ge(this,"priority",90);ge(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,r,l){const o=i=>{const d=Math.floor((i-1)/7)*7;return(i+l.weekStartsOn+6)%7+d};switch(n){case"c":case"cc":return tt(Xe(n.length,t),o);case"co":return tt(r.ordinalNumber(t,{unit:"day"}),o);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,r,l){return t=Gn(t,r,l),t.setHours(0,0,0,0),t}}function hv(e,a,t){const n=xe(e,t==null?void 0:t.in),r=Uc(n,t),l=a-r;return lt(n,l,t)}class yv extends He{constructor(){super(...arguments);ge(this,"priority",90);ge(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,r){const l=o=>o===0?7:o;switch(n){case"i":case"ii":return Xe(n.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return tt(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),l);case"iiiii":return tt(r.day(t,{width:"narrow",context:"formatting"}),l);case"iiiiii":return tt(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),l);case"iiii":default:return tt(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),l)}}validate(t,n){return n>=1&&n<=7}set(t,n,r){return t=hv(t,r),t.setHours(0,0,0,0),t}}class gv extends He{constructor(){super(...arguments);ge(this,"priority",80);ge(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,r){switch(n){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Qn(r),0,0,0),t}}class bv extends He{constructor(){super(...arguments);ge(this,"priority",80);ge(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,r){switch(n){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Qn(r),0,0,0),t}}class kv extends He{constructor(){super(...arguments);ge(this,"priority",80);ge(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,r){switch(n){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,r){return t.setHours(Qn(r),0,0,0),t}}class _v extends He{constructor(){super(...arguments);ge(this,"priority",70);ge(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,r){switch(n){case"h":return Qe(et.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return Xe(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,r){const l=t.getHours()>=12;return l&&r<12?t.setHours(r+12,0,0,0):!l&&r===12?t.setHours(0,0,0,0):t.setHours(r,0,0,0),t}}class wv extends He{constructor(){super(...arguments);ge(this,"priority",70);ge(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,r){switch(n){case"H":return Qe(et.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return Xe(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,r){return t.setHours(r,0,0,0),t}}class $v extends He{constructor(){super(...arguments);ge(this,"priority",70);ge(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,r){switch(n){case"K":return Qe(et.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return Xe(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}}class Dv extends He{constructor(){super(...arguments);ge(this,"priority",70);ge(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,r){switch(n){case"k":return Qe(et.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return Xe(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,r){const l=r<=24?r%24:r;return t.setHours(l,0,0,0),t}}class Pv extends He{constructor(){super(...arguments);ge(this,"priority",60);ge(this,"incompatibleTokens",["t","T"])}parse(t,n,r){switch(n){case"m":return Qe(et.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return Xe(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setMinutes(r,0,0),t}}class Mv extends He{constructor(){super(...arguments);ge(this,"priority",50);ge(this,"incompatibleTokens",["t","T"])}parse(t,n,r){switch(n){case"s":return Qe(et.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return Xe(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,r){return t.setSeconds(r,0),t}}class Tv extends He{constructor(){super(...arguments);ge(this,"priority",30);ge(this,"incompatibleTokens",["t","T"])}parse(t,n){const r=l=>Math.trunc(l*Math.pow(10,-n.length+3));return tt(Xe(n.length,t),r)}set(t,n,r){return t.setMilliseconds(r),t}}class xv extends He{constructor(){super(...arguments);ge(this,"priority",10);ge(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Lt(Yt.basicOptionalMinutes,t);case"XX":return Lt(Yt.basic,t);case"XXXX":return Lt(Yt.basicOptionalSeconds,t);case"XXXXX":return Lt(Yt.extendedOptionalSeconds,t);case"XXX":default:return Lt(Yt.extended,t)}}set(t,n,r){return n.timestampIsSet?t:Fe(t,t.getTime()-Wa(t)-r)}}class Sv extends He{constructor(){super(...arguments);ge(this,"priority",10);ge(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Lt(Yt.basicOptionalMinutes,t);case"xx":return Lt(Yt.basic,t);case"xxxx":return Lt(Yt.basicOptionalSeconds,t);case"xxxxx":return Lt(Yt.extendedOptionalSeconds,t);case"xxx":default:return Lt(Yt.extended,t)}}set(t,n,r){return n.timestampIsSet?t:Fe(t,t.getTime()-Wa(t)-r)}}class Av extends He{constructor(){super(...arguments);ge(this,"priority",40);ge(this,"incompatibleTokens","*")}parse(t){return sl(t)}set(t,n,r){return[Fe(t,r*1e3),{timestampIsSet:!0}]}}class Cv extends He{constructor(){super(...arguments);ge(this,"priority",20);ge(this,"incompatibleTokens","*")}parse(t){return sl(t)}set(t,n,r){return[Fe(t,r),{timestampIsSet:!0}]}}const Vv={G:new Xc,y:new Kc,Y:new Jc,R:new Zc,u:new ev,Q:new tv,q:new av,M:new nv,L:new rv,w:new ov,I:new iv,d:new cv,D:new vv,E:new mv,e:new fv,c:new pv,i:new yv,a:new gv,b:new bv,B:new kv,h:new _v,H:new wv,K:new $v,k:new Dv,m:new Pv,s:new Mv,S:new Tv,X:new xv,x:new Sv,t:new Av,T:new Cv},Ov=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Iv=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Yv=/^'([^]*?)'?$/,Lv=/''/g,Nv=/\S/,Rv=/[a-zA-Z]/;function Cn(e,a,t,n){var I,R,F,Y,U,re,W,q;const r=()=>Fe((n==null?void 0:n.in)||t,NaN),l=Wc(),o=(n==null?void 0:n.locale)??l.locale??al,i=(n==null?void 0:n.firstWeekContainsDate)??((R=(I=n==null?void 0:n.locale)==null?void 0:I.options)==null?void 0:R.firstWeekContainsDate)??l.firstWeekContainsDate??((Y=(F=l.locale)==null?void 0:F.options)==null?void 0:Y.firstWeekContainsDate)??1,d=(n==null?void 0:n.weekStartsOn)??((re=(U=n==null?void 0:n.locale)==null?void 0:U.options)==null?void 0:re.weekStartsOn)??l.weekStartsOn??((q=(W=l.locale)==null?void 0:W.options)==null?void 0:q.weekStartsOn)??0;if(!a)return e?r():xe(t,n==null?void 0:n.in);const b={firstWeekContainsDate:i,weekStartsOn:d,locale:o},p=[new Gc(n==null?void 0:n.in,t)],c=a.match(Iv).map(Q=>{const B=Q[0];if(B in Sn){const H=Sn[B];return H(Q,o.formatLong)}return Q}).join("").match(Ov),v=[];for(let Q of c){!(n!=null&&n.useAdditionalWeekYearTokens)&&ll(Q)&&An(Q,a,e),!(n!=null&&n.useAdditionalDayOfYearTokens)&&rl(Q)&&An(Q,a,e);const B=Q[0],H=Vv[B];if(H){const{incompatibleTokens:de}=H;if(Array.isArray(de)){const we=v.find(T=>de.includes(T.token)||T.token===B);if(we)throw new RangeError(`The format string mustn't contain \`${we.fullToken}\` and \`${Q}\` at the same time`)}else if(H.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${Q}\` and any other token at the same time`);v.push({token:B,fullToken:Q});const be=H.run(e,Q,o.match,b);if(!be)return r();p.push(be.setter),e=be.rest}else{if(B.match(Rv))throw new RangeError("Format string contains an unescaped latin alphabet character `"+B+"`");if(Q==="''"?Q="'":B==="'"&&(Q=Hv(Q)),e.indexOf(Q)===0)e=e.slice(Q.length);else return r()}}if(e.length>0&&Nv.test(e))return r();const g=p.map(Q=>Q.priority).sort((Q,B)=>B-Q).filter((Q,B,H)=>H.indexOf(Q)===B).map(Q=>p.filter(B=>B.priority===Q).sort((B,H)=>H.subPriority-B.subPriority)).map(Q=>Q[0]);let D=xe(t,n==null?void 0:n.in);if(isNaN(+D))return r();const $={};for(const Q of g){if(!Q.validate(D,b))return r();const B=Q.set(D,$,b);Array.isArray(B)?(D=B[0],Object.assign($,B[1])):D=B}return D}function Hv(e){return e.match(Yv)[1].replace(Lv,"'")}function _r(e,a,t){const[n,r]=Oa(t==null?void 0:t.in,e,a);return+Gt(n)==+Gt(r)}function dl(e,a,t){return lt(e,-a,t)}function cl(e,a,t){const n=xe(e,t==null?void 0:t.in),r=n.getFullYear(),l=n.getDate(),o=Fe(e,0);o.setFullYear(r,a,15),o.setHours(0,0,0,0);const i=Fc(o);return n.setMonth(a,Math.min(l,i)),n}function We(e,a,t){let n=xe(e,t==null?void 0:t.in);return isNaN(+n)?Fe(e,NaN):(a.year!=null&&n.setFullYear(a.year),a.month!=null&&(n=cl(n,a.month)),a.date!=null&&n.setDate(a.date),a.hours!=null&&n.setHours(a.hours),a.minutes!=null&&n.setMinutes(a.minutes),a.seconds!=null&&n.setSeconds(a.seconds),a.milliseconds!=null&&n.setMilliseconds(a.milliseconds),n)}function Bv(e,a,t){const n=xe(e,t==null?void 0:t.in);return n.setHours(a),n}function vl(e,a,t){const n=xe(e,t==null?void 0:t.in);return n.setMilliseconds(a),n}function Ev(e,a,t){const n=xe(e,t==null?void 0:t.in);return n.setMinutes(a),n}function ml(e,a,t){const n=xe(e,t==null?void 0:t.in);return n.setSeconds(a),n}function Nt(e,a,t){const n=xe(e,t==null?void 0:t.in);return isNaN(+n)?Fe(e,NaN):(n.setFullYear(a),n)}function Ft(e,a,t){return _t(e,-a,t)}function Fv(e,a,t){const{years:n=0,months:r=0,weeks:l=0,days:o=0,hours:i=0,minutes:d=0,seconds:b=0}=a,p=Ft(e,r+n*12,t),c=dl(p,o+l*7,t),v=d+i*60,D=(b+v*60)*1e3;return Fe(e,+c-D)}function fl(e,a,t){return Wn(e,-a,t)}function wa(){const e=Xl();return u(),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},[h("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"}),h("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"}),h("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"}),h("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"})])}wa.compatConfig={MODE:3};function pl(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("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"}),h("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"})])}pl.compatConfig={MODE:3};function Xn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("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 Kn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("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"})])}Kn.compatConfig={MODE:3};function Jn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("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"}),h("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Jn.compatConfig={MODE:3};function Zn(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("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"})])}Zn.compatConfig={MODE:3};function er(){return u(),m("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[h("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"})])}er.compatConfig={MODE:3};const gt=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),tr=(e,a,t)=>Vn(e,a,t)||te(),Wv=(e,a,t)=>{const n=a.dateInTz?gt(new Date(e),a.dateInTz):te(e);return t?ft(n,!0):n},Vn=(e,a,t)=>{if(!e)return null;const n=t?ft(te(e),!0):te(e);return a?a.exactMatch?Wv(e,a,t):gt(n,a.timezone):n},Uv=(e,a)=>{if(!e)return 0;const t=new Date,n=new Date(t.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(t.toLocaleString("en-US",{timeZone:e})),l=(a??r).getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-l};var Dt=(e=>(e.month="month",e.year="year",e))(Dt||{}),Pt=(e=>(e.top="top",e.bottom="bottom",e))(Pt||{}),la=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(la||{}),ct=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(ct||{});const zv=["timestamp","date","iso"];var vt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(vt||{}),ze=(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))(ze||{});function wr(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 qv(e){return a=>wt(gt(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const jv=(e,a,t)=>{const n=[1,2,3,4,5,6,7];let r;if(e!==null)try{r=n.map(qv(e))}catch{r=n.map(wr(a))}else r=n.map(wr(a));const l=r.slice(0,t),o=r.slice(t+1,r.length);return[r[t]].concat(...o).concat(...l)},ar=(e,a,t)=>{const n=[];for(let r=+e[0];r<=+e[1];r++)n.push({value:+r,text:bl(r,a)});return t?n.reverse():n},hl=(e,a,t)=>{const n=[1,2,3,4,5,6,7,8,9,10,11,12].map(l=>{const o=l<10?`0${l}`:l;return new Date(`2017-${o}-01T00:00:00+00:00`)});if(e!==null)try{const l=t==="long"?"LLLL":"LLL";return n.map((o,i)=>{const d=wt(gt(o,"UTC"),l,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:i}})}catch{}const r=new Intl.DateTimeFormat(a,{month:t,timeZone:"UTC"});return n.map((l,o)=>{const i=r.format(l);return{text:i.charAt(0).toUpperCase()+i.substring(1),value:o}})},Qv=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],ot=e=>{const a=s(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},Gv=e=>({type:"dot",...e??{}}),yl=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,nr={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},it=e=>e,$r=e=>e===0?e:!e||isNaN(+e)?null:+e,Dr=e=>e===null,gl=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},Xv=e=>{const a=[],t=n=>n.filter(r=>r);for(let n=0;n{const n=t!=null,r=a!=null;if(!n&&!r)return!1;const l=+t,o=+a;return n&&r?+e>l||+el:r?+eXv(e).map(t=>t.map(n=>{const{active:r,disabled:l,isBetween:o,highlighted:i}=a(n);return{...n,active:r,disabled:l,className:{dp__overlay_cell_active:r,dp__overlay_cell:!r,dp__overlay_cell_disabled:l,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:l&&r,dp__cell_in_between:o,"dp--highlighted":i}}})),Kt=(e,a,t=!1)=>{e&&a.allowStopPropagation&&(t&&e.stopImmediatePropagation(),e.stopPropagation())},Kv=()=>["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 Jv(e,a){let t=[...document.querySelectorAll(Kv())];t=t.filter(r=>!e.contains(r)||r.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 On=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),bl=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),rr=e=>wt(e,"dd-MM-yyyy"),mn=e=>Array.isArray(e),za=(e,a)=>a.get(rr(e)),Zv=(e,a)=>e?a?a instanceof Map?!!za(e,a):a(te(e)):!1:!0,mt=(e,a,t=!1,n)=>{if(e.key===ze.enter||e.key===ze.space)return t&&e.preventDefault(),a();if(n)return n(e)},Pr=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,Mr=(e,a,t,n,r,l)=>{const o=Cn(e,a.slice(0,e.length),new Date,{locale:l});return Ma(o)&&Kr(o)?n||r?o:We(o,{hours:+t.hours,minutes:+(t==null?void 0:t.minutes),seconds:+(t==null?void 0:t.seconds),milliseconds:0}):null},em=(e,a,t,n,r,l)=>{const o=Array.isArray(t)?t[0]:t;if(typeof a=="string")return Mr(e,a,o,n,r,l);if(Array.isArray(a)){let i=null;for(const d of a)if(i=Mr(e,d,o,n,r,l),i)break;return i}return typeof a=="function"?a(e):null},te=e=>e?new Date(e):new Date,tm=(e,a,t)=>{if(a){const r=(e.getMonth()+1).toString().padStart(2,"0"),l=e.getDate().toString().padStart(2,"0"),o=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),d=t?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${r}-${l}T${o}:${i}:${d}.000Z`}const n=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(n).toISOString()},ft=(e,a)=>{const t=te(JSON.parse(JSON.stringify(e))),n=We(t,{hours:0,minutes:0,seconds:0,milliseconds:0});return a?xn(n):n},Jt=(e,a,t,n)=>{let r=e?te(e):te();return(a||a===0)&&(r=Bv(r,+a)),(t||t===0)&&(r=Ev(r,+t)),(n||n===0)&&(r=ml(r,+n)),vl(r,0)},Ge=(e,a)=>!e||!a?!1:Sa(ft(e),ft(a)),Ie=(e,a)=>!e||!a?!1:ra(ft(e),ft(a)),Ze=(e,a)=>!e||!a?!1:ba(ft(e),ft(a)),Ja=(e,a,t)=>e!=null&&e[0]&&e!=null&&e[1]?Ze(t,e[0])&&Ge(t,e[1]):e!=null&&e[0]&&a?Ze(t,e[0])&&Ge(t,a)||Ge(t,e[0])&&Ze(t,a):!1,Mt=e=>{const a=We(new Date(e),{date:1});return ft(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},oa=e=>({hours:Et(e),minutes:Zt(e),seconds:ga(e)}),kl=(e,a)=>{if(a){const t=Te(te(a));if(t>e)return 12;if(t===e)return Ce(te(a))}},_l=(e,a)=>{if(a){const t=Te(te(a));return t{if(e)return Te(te(e))},wl=(e,a)=>{const t=Ze(e,a)?a:e,n=Ze(a,e)?a:e;return Zr({start:t,end:n})},am=e=>{const a=_t(e,1);return{month:Ce(a),year:Te(a)}},Ht=(e,a)=>{const t=Tt(e,{weekStartsOn:+a}),n=el(e,{weekStartsOn:+a});return[t,n]},$l=(e,a)=>{const t={hours:Et(te()),minutes:Zt(te()),seconds:a?ga(te()):0};return Object.assign(t,e)},Xt=(e,a,t)=>[We(te(e),{date:1}),We(te(),{month:a,year:t,date:1})],Bt=(e,a,t)=>{let n=e?te(e):te();return(a||a===0)&&(n=cl(n,a)),t&&(n=Nt(n,t)),n},Dl=(e,a,t,n,r)=>{if(!n||r&&!a||!r&&!t)return!1;const l=r?_t(e,1):Ft(e,1),o=[Ce(l),Te(l)];return r?!rm(...o,a):!nm(...o,t)},nm=(e,a,t)=>Ge(...Xt(t,e,a))||Ie(...Xt(t,e,a)),rm=(e,a,t)=>Ze(...Xt(t,e,a))||Ie(...Xt(t,e,a)),Pl=(e,a,t,n,r,l,o)=>{if(typeof a=="function"&&!o)return a(e);const i=t?{locale:t}:void 0;return Array.isArray(e)?`${wt(e[0],l,i)}${r&&!e[1]?"":n}${e[1]?wt(e[1],l,i):""}`:wt(e,l,i)},ma=e=>{if(e)return null;throw new Error(nr.prop("partial-range"))},Ra=(e,a)=>{if(a)return e();throw new Error(nr.prop("range"))},In=e=>Array.isArray(e)?Ma(e[0])&&(e[1]?Ma(e[1]):!0):e?Ma(e):!1,lm=(e,a)=>We(a??te(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),pn=(e,a,t,n)=>{if(!e)return!0;if(n){const r=t==="max"?Sa(e,a):ba(e,a),l={seconds:0,milliseconds:0};return r||ra(We(e,l),We(a,l))}return t==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},hn=(e,a,t)=>e?lm(e,a):te(t??a),Tr=(e,a,t,n,r)=>{if(Array.isArray(n)){const o=hn(e,n[0],a),i=hn(e,n[1],a);return pn(n[0],o,t,!!a)&&pn(n[1],i,t,!!a)&&r}const l=hn(e,n,a);return pn(n,l,t,!!a)&&r},yn=e=>We(te(),oa(e)),om=(e,a)=>e instanceof Map?Array.from(e.values()).filter(t=>Te(te(t))===a).map(t=>Ce(t)):[],sm=(e,a,t)=>{if(e instanceof Map){const n=Array.from(e.values()).filter(r=>Te(te(r))===a).map(r=>Ce(r));return n.length?n.includes(t):!0}return!0},Ml=(e,a,t)=>typeof e=="function"?e({month:a,year:t}):!!e.months.find(n=>n.month===a&&n.year===t),lr=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Tl=e=>wt(e,"yyyy-MM-dd"),Da=Ca({menuFocused:!1,shiftKeyInMenu:!1}),xl=()=>{const e=t=>{Da.menuFocused=t},a=t=>{Da.shiftKeyInMenu!==t&&(Da.shiftKeyInMenu=t)};return{control:M(()=>({shiftKeyInMenu:Da.shiftKeyInMenu,menuFocused:Da.menuFocused})),setMenuFocused:e,setShiftKey:a}},Ue=Ca({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),gn=S(null),Ha=S(!1),bn=S(!1),kn=S(!1),_n=S(!1),dt=S(0),Je=S(0),ta=()=>{const e=M(()=>Ha.value?[...Ue.selectionGrid,Ue.actionRow].filter(c=>c.length):bn.value?[...Ue.timePicker[0],...Ue.timePicker[1],_n.value?[]:[gn.value],Ue.actionRow].filter(c=>c.length):kn.value?[...Ue.monthPicker,Ue.actionRow]:[Ue.monthYear,...Ue.calendar,Ue.time,Ue.actionRow].filter(c=>c.length)),a=c=>{dt.value=c?dt.value+1:dt.value-1;let v=null;e.value[Je.value]&&(v=e.value[Je.value][dt.value]),!v&&e.value[Je.value+(c?1:-1)]?(Je.value=Je.value+(c?1:-1),dt.value=c?0:e.value[Je.value].length-1):v||(dt.value=c?dt.value-1:dt.value+1)},t=c=>{Je.value===0&&!c||Je.value===e.value.length&&c||(Je.value=c?Je.value+1:Je.value-1,e.value[Je.value]?e.value[Je.value]&&!e.value[Je.value][dt.value]&&dt.value!==0&&(dt.value=e.value[Je.value].length-1):Je.value=c?Je.value-1:Je.value+1)},n=c=>{let v=null;e.value[Je.value]&&(v=e.value[Je.value][dt.value]),v?v.focus({preventScroll:!Ha.value}):dt.value=c?dt.value-1:dt.value+1},r=()=>{a(!0),n(!0)},l=()=>{a(!1),n(!1)},o=()=>{t(!1),n(!0)},i=()=>{t(!0),n(!0)},d=(c,v)=>{Ue[v]=c},b=(c,v)=>{Ue[v]=c},p=()=>{dt.value=0,Je.value=0};return{buildMatrix:d,buildMultiLevelMatrix:b,setTimePickerBackRef:c=>{gn.value=c},setSelectionGrid:c=>{Ha.value=c,p(),c||(Ue.selectionGrid=[])},setTimePicker:(c,v=!1)=>{bn.value=c,_n.value=v,p(),c||(Ue.timePicker[0]=[],Ue.timePicker[1]=[])},setTimePickerElements:(c,v=0)=>{Ue.timePicker[v]=c},arrowRight:r,arrowLeft:l,arrowUp:o,arrowDown:i,clearArrowNav:()=>{Ue.monthYear=[],Ue.calendar=[],Ue.time=[],Ue.actionRow=[],Ue.selectionGrid=[],Ue.timePicker[0]=[],Ue.timePicker[1]=[],Ha.value=!1,bn.value=!1,_n.value=!1,kn.value=!1,p(),gn.value=null},setMonthPicker:c=>{kn.value=c,p()},refSets:Ue}},xr=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??{}}),im=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??{}}),Sr=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,um=e=>{const a=typeof e=="object"&&e,t={static:!0,solo:!1};if(!e)return{...t,count:Sr(!1)};const n=a?e:{},r=a?n.count??!0:e,l=Sr(r);return Object.assign(t,n,{count:l})},dm=(e,a,t)=>e||(typeof t=="string"?t:a),cm=e=>typeof e=="boolean"?e?xr({}):!1:xr(e),vm=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},mm=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),fm=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),pm=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},hm=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,mobileBreakpoint:600,setDateOnMenuClose:!1,...e??{}}),ym=e=>{const a={dates:Array.isArray(e)?e.map(t=>te(t)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},gm=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},bm=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}},km=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},wn=(e,a,t)=>new Map(e.map(n=>{const r=tr(n,a,t);return[rr(r),r]})),_m=(e,a)=>e.length?new Map(e.map(t=>{const n=tr(t.date,a);return[rr(n),t]})):null,wm=e=>{var a;return{minDate:Vn(e.minDate,e.timezone,e.isSpecific),maxDate:Vn(e.maxDate,e.timezone,e.isSpecific),disabledDates:mn(e.disabledDates)?wn(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:mn(e.allowedDates)?wn(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&mn((a=e.highlight)==null?void 0:a.dates)?wn(e.highlight.dates,e.timezone):e.highlight,markers:_m(e.markers,e.timezone)}},$m=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},Dm=e=>({...Object.fromEntries(Object.keys(e).map(a=>{const t=a,n=e[t],r=typeof e[t]=="string"?{[n]:!0}:Object.fromEntries(n.map(l=>[l,!0]));return[a,r]}))}),je=e=>{const a=()=>{const W=e.enableSeconds?":ss":"",q=e.enableMinutes?":mm":"";return e.is24?`HH${q}${W}`:`hh${q}${W} aa`},t=()=>{var W;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((W=I.value)==null?void 0:W.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},n=W=>$l(W,e.enableSeconds),r=()=>U.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,l=M(()=>um(e.multiCalendars)),o=M(()=>r()),i=M(()=>im(e.ariaLabels)),d=M(()=>mm(e.filters)),b=M(()=>cm(e.transitions)),p=M(()=>fm(e.actionRow)),c=M(()=>dm(e.previewFormat,e.format,t())),v=M(()=>vm(e.textInput)),g=M(()=>pm(e.inline)),D=M(()=>hm(e.config)),$=M(()=>ym(e.highlight)),I=M(()=>gm(e.weekNumbers)),R=M(()=>km(e.timezone)),F=M(()=>$m(e.multiDates)),Y=M(()=>wm({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:$.value,markers:e.markers,timezone:R.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker})),U=M(()=>bm(e.range)),re=M(()=>Dm(e.ui));return{defaultedTransitions:b,defaultedMultiCalendars:l,defaultedStartTime:o,defaultedAriaLabels:i,defaultedFilters:d,defaultedActionRow:p,defaultedPreviewFormat:c,defaultedTextInput:v,defaultedInline:g,defaultedConfig:D,defaultedHighlight:$,defaultedWeekNumbers:I,defaultedRange:U,propDates:Y,defaultedTz:R,defaultedMultiDates:F,defaultedUI:re,getDefaultPattern:t,getDefaultStartTime:r}},Pm=(e,a,t)=>{const n=S(),{defaultedTextInput:r,defaultedRange:l,defaultedTz:o,defaultedMultiDates:i,getDefaultPattern:d}=je(a),b=S(""),p=xa(a,"format"),c=xa(a,"formatLocale");at(n,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",n.value,ee(!0))},{deep:!0}),at(l,(k,ce)=>{k.enabled!==ce.enabled&&(n.value=null)}),at(p,()=>{ue()});const v=k=>o.value.timezone&&o.value.convertModel?gt(k,o.value.timezone):k,g=k=>{if(o.value.timezone&&o.value.convertModel){const ce=Uv(o.value.timezone,k);return Ud(k,ce)}return k},D=(k,ce,De=!1)=>Pl(k,a.format,a.formatLocale,r.value.rangeSeparator,a.modelAuto,ce??d(),De),$=k=>k?a.modelType?V(k):{hours:Et(k),minutes:Zt(k),seconds:a.enableSeconds?ga(k):0}:null,I=k=>a.modelType?V(k):{month:Ce(k),year:Te(k)},R=k=>Array.isArray(k)?i.value.enabled?k.map(ce=>F(ce,Nt(te(),ce))):Ra(()=>[Nt(te(),k[0]),k[1]?Nt(te(),k[1]):ma(l.value.partialRange)],l.value.enabled):Nt(te(),+k),F=(k,ce)=>(typeof k=="string"||typeof k=="number")&&a.modelType?j(k):ce,Y=k=>Array.isArray(k)?[F(k[0],Jt(null,+k[0].hours,+k[0].minutes,k[0].seconds)),F(k[1],Jt(null,+k[1].hours,+k[1].minutes,k[1].seconds))]:F(k,Jt(null,k.hours,k.minutes,k.seconds)),U=k=>{const ce=We(te(),{date:1});return Array.isArray(k)?i.value.enabled?k.map(De=>F(De,Bt(ce,+De.month,+De.year))):Ra(()=>[F(k[0],Bt(ce,+k[0].month,+k[0].year)),F(k[1],k[1]?Bt(ce,+k[1].month,+k[1].year):ma(l.value.partialRange))],l.value.enabled):F(k,Bt(ce,+k.month,+k.year))},re=k=>{if(Array.isArray(k))return k.map(ce=>j(ce));throw new Error(nr.dateArr("multi-dates"))},W=k=>{if(Array.isArray(k)&&l.value.enabled){const ce=k[0],De=k[1];return[te(Array.isArray(ce)?ce[0]:null),Array.isArray(De)&&De.length?te(De[0]):null]}return te(k[0])},q=k=>a.modelAuto?Array.isArray(k)?[j(k[0]),j(k[1])]:a.autoApply?[j(k)]:[j(k),null]:Array.isArray(k)?Ra(()=>k[1]?[j(k[0]),k[1]?j(k[1]):ma(l.value.partialRange)]:[j(k[0])],l.value.enabled):j(k),Q=()=>{Array.isArray(n.value)&&l.value.enabled&&n.value.length===1&&n.value.push(ma(l.value.partialRange))},B=()=>{const k=n.value;return[V(k[0]),k[1]?V(k[1]):ma(l.value.partialRange)]},H=()=>n.value[1]?B():V(it(n.value[0])),de=()=>(n.value||[]).map(k=>V(k)),be=(k=!1)=>(k||Q(),a.modelAuto?H():i.value.enabled?de():Array.isArray(n.value)?Ra(()=>B(),l.value.enabled):V(it(n.value))),we=k=>!k||Array.isArray(k)&&!k.length?null:a.timePicker?Y(it(k)):a.monthPicker?U(it(k)):a.yearPicker?R(it(k)):i.value.enabled?re(it(k)):a.weekPicker?W(it(k)):q(it(k)),T=k=>{const ce=we(k);In(it(ce))?(n.value=it(ce),ue()):(n.value=null,b.value="")},L=()=>{const k=ce=>wt(ce,r.value.format);return`${k(n.value[0])} ${r.value.rangeSeparator} ${n.value[1]?k(n.value[1]):""}`},A=()=>t.value&&n.value?Array.isArray(n.value)?L():wt(n.value,r.value.format):D(n.value),X=()=>n.value?i.value.enabled?n.value.map(k=>D(k)).join("; "):r.value.enabled&&typeof r.value.format=="string"?A():D(n.value):"",ue=()=>{!a.format||typeof a.format=="string"||r.value.enabled&&typeof r.value.format=="string"?b.value=X():b.value=a.format(n.value)},j=k=>{if(a.utc){const ce=new Date(k);return a.utc==="preserve"?new Date(ce.getTime()+ce.getTimezoneOffset()*6e4):ce}return a.modelType?zv.includes(a.modelType)?v(new Date(k)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?v(Cn(k,d(),new Date,{locale:c.value})):v(Cn(k,a.modelType,new Date,{locale:c.value})):v(new Date(k))},V=k=>k?a.utc?tm(k,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+g(k):a.modelType==="iso"?g(k).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?D(g(k)):D(g(k),a.modelType,!0):g(k):"",ve=(k,ce=!1,De=!1)=>{if(De)return k;if(e("update:model-value",k),o.value.emitTimezone&&ce){const nt=Array.isArray(k)?k.map(E=>gt(it(E),o.value.emitTimezone)):gt(it(k),o.value.emitTimezone);e("update:model-timezone-value",nt)}},G=k=>Array.isArray(n.value)?i.value.enabled?n.value.map(ce=>k(ce)):[k(n.value[0]),n.value[1]?k(n.value[1]):ma(l.value.partialRange)]:k(it(n.value)),N=()=>{if(Array.isArray(n.value)){const k=Ht(n.value[0],a.weekStart),ce=n.value[1]?Ht(n.value[1],a.weekStart):[];return[k.map(De=>te(De)),ce.map(De=>te(De))]}return Ht(n.value,a.weekStart).map(k=>te(k))},f=(k,ce)=>ve(it(G(k)),!1,ce),P=k=>{const ce=N();return k?ce:e("update:model-value",N())},ee=(k=!1)=>(k||ue(),a.monthPicker?f(I,k):a.timePicker?f($,k):a.yearPicker?f(Te,k):a.weekPicker?P(k):ve(be(k),!0,k));return{inputValue:b,internalModelValue:n,checkBeforeEmit:()=>n.value?l.value.enabled?l.value.partialRange?n.value.length>=1:n.value.length===2:!!n.value:!1,parseExternalModelValue:T,formatInputValue:ue,emitModelValue:ee}},Mm=(e,a)=>{const{defaultedFilters:t,propDates:n}=je(e),{validateMonthYearInRange:r}=aa(e),l=(p,c)=>{let v=p;return t.value.months.includes(Ce(v))?(v=c?_t(p,1):Ft(p,1),l(v,c)):v},o=(p,c)=>{let v=p;return t.value.years.includes(Te(v))?(v=c?Wn(p,1):fl(p,1),o(v,c)):v},i=(p,c=!1)=>{const v=We(te(),{month:e.month,year:e.year});let g=p?_t(v,1):Ft(v,1);e.disableYearSelect&&(g=Nt(g,e.year));let D=Ce(g),$=Te(g);t.value.months.includes(D)&&(g=l(g,p),D=Ce(g),$=Te(g)),t.value.years.includes($)&&(g=o(g,p),$=Te(g)),r(D,$,p,e.preventMinMaxNavigation)&&d(D,$,c)},d=(p,c,v)=>{a("update-month-year",{month:p,year:c,fromNav:v})},b=M(()=>p=>Dl(We(te(),{month:e.month,year:e.year}),n.value.maxDate,n.value.minDate,e.preventMinMaxNavigation,p));return{handleMonthYearChange:i,isDisabled:b,updateMonthYear:d}},Za={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,String],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:()=>({})}},xt={...Za,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},isMobile:{type:Boolean,default:void 0}},Tm=["title"],xm=["disabled"],Sm=J({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...xt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:a}){const t=a,n=e,{defaultedActionRow:r,defaultedPreviewFormat:l,defaultedMultiCalendars:o,defaultedTextInput:i,defaultedInline:d,defaultedRange:b,defaultedMultiDates:p}=je(n),{isTimeValid:c,isMonthValid:v}=aa(n),{buildMatrix:g}=ta(),D=S(null),$=S(null),I=S(!1),R=S({}),F=S(null),Y=S(null);qe(()=>{n.arrowNavigation&&g([ot(D),ot($)],"actionRow"),U(),window.addEventListener("resize",U)}),Ut(()=>{window.removeEventListener("resize",U)});const U=()=>{I.value=!1,setTimeout(()=>{var T,L;const A=(T=F.value)==null?void 0:T.getBoundingClientRect(),X=(L=Y.value)==null?void 0:L.getBoundingClientRect();A&&X&&(R.value.maxWidth=`${X.width-A.width-20}px`),I.value=!0},0)},re=M(()=>b.value.enabled&&!b.value.partialRange&&n.internalModelValue?n.internalModelValue.length===2:!0),W=M(()=>!c.value(n.internalModelValue)||!v.value(n.internalModelValue)||!re.value),q=()=>{const T=l.value;return n.timePicker||n.monthPicker,T(it(n.internalModelValue))},Q=()=>{const T=n.internalModelValue;return o.value.count>0?`${B(T[0])} - ${B(T[1])}`:[B(T[0]),B(T[1])]},B=T=>Pl(T,l.value,n.formatLocale,i.value.rangeSeparator,n.modelAuto,l.value),H=M(()=>!n.internalModelValue||!n.menuMount?"":typeof l.value=="string"?Array.isArray(n.internalModelValue)?n.internalModelValue.length===2&&n.internalModelValue[1]?Q():p.value.enabled?n.internalModelValue.map(T=>`${B(T)}`):n.modelAuto?`${B(n.internalModelValue[0])}`:`${B(n.internalModelValue[0])} -`:B(n.internalModelValue):q()),de=()=>p.value.enabled?"; ":" - ",be=M(()=>Array.isArray(H.value)?H.value.join(de()):H.value),we=()=>{c.value(n.internalModelValue)&&v.value(n.internalModelValue)&&re.value?t("select-date"):t("invalid-select")};return(T,L)=>(u(),m("div",{ref_key:"actionRowRef",ref:Y,class:"dp__action_row"},[T.$slots["action-row"]?_(T.$slots,"action-row",ut(Ye({key:0},{internalModelValue:T.internalModelValue,disabled:W.value,selectDate:()=>T.$emit("select-date"),closePicker:()=>T.$emit("close-picker")}))):(u(),m(pe,{key:1},[s(r).showPreview?(u(),m("div",{key:0,class:"dp__selection_preview",title:be.value,style:pt(R.value)},[T.$slots["action-preview"]&&I.value?_(T.$slots,"action-preview",{key:0,value:T.internalModelValue}):x("",!0),!T.$slots["action-preview"]&&I.value?(u(),m(pe,{key:1},[Ee(fe(be.value),1)],64)):x("",!0)],12,Tm)):x("",!0),h("div",{ref_key:"actionBtnContainer",ref:F,class:"dp__action_buttons","data-dp-element":"action-row"},[T.$slots["action-buttons"]?_(T.$slots,"action-buttons",{key:0,value:T.internalModelValue}):x("",!0),T.$slots["action-buttons"]?x("",!0):(u(),m(pe,{key:1},[!s(d).enabled&&s(r).showCancel?(u(),m("button",{key:0,ref_key:"cancelButtonRef",ref:D,type:"button",class:"dp__action_button dp__action_cancel",onClick:L[0]||(L[0]=A=>T.$emit("close-picker")),onKeydown:L[1]||(L[1]=A=>s(mt)(A,()=>T.$emit("close-picker")))},fe(T.cancelText),545)):x("",!0),s(r).showNow?(u(),m("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:L[2]||(L[2]=A=>T.$emit("select-now")),onKeydown:L[3]||(L[3]=A=>s(mt)(A,()=>T.$emit("select-now")))},fe(T.nowButtonLabel),33)):x("",!0),s(r).showSelect?(u(),m("button",{key:2,ref_key:"selectButtonRef",ref:$,type:"button",class:"dp__action_button dp__action_select",disabled:W.value,"data-test-id":"select-button",onKeydown:L[4]||(L[4]=A=>s(mt)(A,()=>we())),onClick:we},fe(T.selectText),41,xm)):x("",!0)],64))],512)],64))],512))}}),Am=["role","aria-label","tabindex"],Cm={class:"dp__selection_grid_header"},Vm=["aria-selected","aria-disabled","data-test-id","onClick","onKeydown","onMouseover"],Om=["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:r,setMonthPicker:l}=ta(),o=t,i=e,{defaultedAriaLabels:d,defaultedTextInput:b,defaultedConfig:p}=je(i),{hideNavigationButtons:c}=an(),v=S(!1),g=S(null),D=S(null),$=S([]),I=S(),R=S(null),F=S(0),Y=S(null);Kl(()=>{g.value=null}),qe(()=>{bt().then(()=>de()),i.noOverlayFocus||re(),U(!0)}),Ut(()=>U(!1));const U=G=>{var N;i.arrowNavigation&&((N=i.headerRefs)!=null&&N.length?l(G):n(G))},re=()=>{var G;const N=ot(D);N&&(b.value.enabled||(g.value?(G=g.value)==null||G.focus({preventScroll:!0}):N.focus({preventScroll:!0})),v.value=N.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!i.useRelative,"dp--overlay-relative":i.useRelative})),q=M(()=>i.useRelative?{height:`${i.height}px`,width:"var(--dp-menu-min-width)"}:void 0),Q=M(()=>({dp__overlay_col:!0})),B=M(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:v.value,dp__button_bottom:i.isLast})),H=M(()=>{var G,N;return{dp__overlay_container:!0,dp__container_flex:((G=i.items)==null?void 0:G.length)<=6,dp__container_block:((N=i.items)==null?void 0:N.length)>6}});at(()=>i.items,()=>de(!1),{deep:!0});const de=(G=!0)=>{bt().then(()=>{const N=ot(g),f=ot(D),P=ot(R),ee=ot(Y),k=P?P.getBoundingClientRect().height:0;f&&(f.getBoundingClientRect().height?F.value=f.getBoundingClientRect().height-k:F.value=p.value.modeHeight-k),N&&ee&&G&&(ee.scrollTop=N.offsetTop-ee.offsetTop-(F.value/2-N.getBoundingClientRect().height)-k)})},be=G=>{G.disabled||o("selected",G.value)},we=()=>{o("toggle"),o("reset-flow")},T=()=>{i.escClose&&we()},L=(G,N,f,P)=>{G&&((N.active||N.value===i.focusValue)&&(g.value=G),i.arrowNavigation&&(Array.isArray($.value[f])?$.value[f][P]=G:$.value[f]=[G],A()))},A=()=>{var G,N;const f=(G=i.headerRefs)!=null&&G.length?[i.headerRefs].concat($.value):$.value.concat([i.skipButtonRef?[]:[R.value]]);r(it(f),(N=i.headerRefs)!=null&&N.length?"monthPicker":"selectionGrid")},X=G=>{i.arrowNavigation||Kt(G,p.value,!0)},ue=G=>{I.value=G,o("hover-value",G)},j=()=>{if(we(),!i.isLast){const G=On(i.menuWrapRef??null,"action-row");if(G){const N=gl(G);N==null||N.focus()}}},V=G=>{switch(G.key){case ze.esc:return T();case ze.arrowLeft:return X(G);case ze.arrowRight:return X(G);case ze.arrowUp:return X(G);case ze.arrowDown:return X(G);default:return}},ve=G=>{if(G.key===ze.enter)return we();if(G.key===ze.tab)return j()};return a({focusGrid:re}),(G,N)=>{var f;return u(),m("div",{ref_key:"gridWrapRef",ref:D,class:ye(W.value),style:pt(q.value),role:G.useRelative?void 0:"dialog","aria-label":G.overlayLabel,tabindex:G.useRelative?void 0:"0",onKeydown:V,onClick:N[0]||(N[0]=ia(()=>{},["prevent"]))},[h("div",{ref_key:"containerRef",ref:Y,class:ye(H.value),style:pt({"--dp-overlay-height":`${F.value}px`}),role:"grid"},[h("div",Cm,[_(G.$slots,"header")]),G.$slots.overlay?_(G.$slots,"overlay",{key:0}):(u(!0),m(pe,{key:1},Se(G.items,(P,ee)=>(u(),m("div",{key:ee,class:ye(["dp__overlay_row",{dp__flex_row:G.items.length>=3}]),role:"row"},[(u(!0),m(pe,null,Se(P,(k,ce)=>(u(),m("div",{key:k.value,ref_for:!0,ref:De=>L(De,k,ee,ce),role:"gridcell",class:ye(Q.value),"aria-selected":k.active||void 0,"aria-disabled":k.disabled||void 0,tabindex:"0","data-test-id":k.text,onClick:ia(De=>be(k),["prevent"]),onKeydown:De=>s(mt)(De,()=>be(k),!0),onMouseover:De=>ue(k.value)},[h("div",{class:ye(k.className)},[G.$slots.item?_(G.$slots,"item",{key:0,item:k}):x("",!0),G.$slots.item?x("",!0):(u(),m(pe,{key:1},[Ee(fe(k.text),1)],64))],2)],42,Vm))),128))],2))),128))],6),G.$slots["button-icon"]?Pa((u(),m("button",{key:0,ref_key:"toggleButton",ref:R,type:"button","aria-label":(f=s(d))==null?void 0:f.toggleOverlay,class:ye(B.value),tabindex:"0",onClick:we,onKeydown:ve},[_(G.$slots,"button-icon")],42,Om)),[[Ba,!s(c)(G.hideNavigation,G.type)]]):x("",!0)],46,Am)}}}),Im=["data-dp-mobile"],en=J({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean},isMobile:{type:Boolean}},setup(e){const a=e,t=M(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),n=M(()=>({dp__instance_calendar:a.multiCalendars>0}));return(r,l)=>(u(),m("div",{class:ye({dp__menu_inner:!r.stretch,"dp--menu--inner-stretched":r.stretch,dp__flex_display:r.multiCalendars>0,"dp--flex-display-collapsed":r.collapse}),"data-dp-mobile":r.isMobile},[(u(!0),m(pe,null,Se(t.value,(o,i)=>(u(),m("div",{key:o,class:ye(n.value)},[_(r.$slots,"default",{instance:o,index:i})],2))),128))],10,Im))}}),Ym=["data-dp-element","aria-label","aria-disabled"],Ta=J({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const t=a,n=S(null);return qe(()=>t("set-ref",n)),(r,l)=>(u(),m("button",{ref_key:"elRef",ref:n,type:"button","data-dp-element":r.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":r.ariaLabel,"aria-disabled":r.disabled||void 0,onClick:l[0]||(l[0]=o=>r.$emit("activate")),onKeydown:l[1]||(l[1]=o=>s(mt)(o,()=>r.$emit("activate"),!0))},[h("span",{class:ye(["dp__inner_nav",{dp__inner_nav_disabled:r.disabled}])},[_(r.$slots,"default")],2)],40,Ym))}}),Lm=["aria-label","data-test-id"],Sl=J({__name:"YearModePicker",props:{...xt,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:r,showLeftIcon:l}=an(),{defaultedConfig:o,defaultedMultiCalendars:i,defaultedAriaLabels:d,defaultedTransitions:b,defaultedUI:p}=je(n),{showTransition:c,transitionName:v}=Ya(b),g=S(!1),D=(R=!1,F)=>{g.value=!g.value,t("toggle-year-picker",{flow:R,show:F})},$=R=>{g.value=!1,t("year-select",R)},I=(R=!1)=>{t("handle-year",R)};return(R,F)=>{var Y,U,re,W,q;return u(),m(pe,null,[h("div",{class:ye(["dp--year-mode-picker",{"dp--hidden-el":g.value}])},[s(l)(s(i),e.instance)?(u(),se(Ta,{key:0,ref:"mpPrevIconRef","aria-label":(Y=s(d))==null?void 0:Y.prevYear,disabled:e.isDisabled(!1),class:ye((U=s(p))==null?void 0:U.navBtnPrev),onActivate:F[0]||(F[0]=Q=>I(!1))},{default:w(()=>[R.$slots["arrow-left"]?_(R.$slots,"arrow-left",{key:0}):x("",!0),R.$slots["arrow-left"]?x("",!0):(u(),se(s(Xn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):x("",!0),h("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(re=s(d))==null?void 0:re.openYearsOverlay}`,"data-test-id":`year-mode-btn-${e.instance}`,onClick:F[1]||(F[1]=()=>D(!1)),onKeydown:F[2]||(F[2]=Hr(()=>D(!1),["enter"]))},[R.$slots.year?_(R.$slots,"year",{key:0,year:e.year}):x("",!0),R.$slots.year?x("",!0):(u(),m(pe,{key:1},[Ee(fe(e.year),1)],64))],40,Lm),s(r)(s(i),e.instance)?(u(),se(Ta,{key:1,ref:"mpNextIconRef","aria-label":(W=s(d))==null?void 0:W.nextYear,disabled:e.isDisabled(!0),class:ye((q=s(p))==null?void 0:q.navBtnNext),onActivate:F[3]||(F[3]=Q=>I(!0))},{default:w(()=>[R.$slots["arrow-right"]?_(R.$slots,"arrow-right",{key:0}):x("",!0),R.$slots["arrow-right"]?x("",!0):(u(),se(s(Kn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):x("",!0)],2),ae(Wt,{name:s(v)(e.showYearPicker),css:s(c)},{default:w(()=>{var Q,B;return[e.showYearPicker?(u(),se(Ia,{key:0,items:e.items,"text-input":R.textInput,"esc-close":R.escClose,config:R.config,"is-last":R.autoApply&&!s(o).keepActionRow,"hide-navigation":R.hideNavigation,"aria-labels":R.ariaLabels,"overlay-label":(B=(Q=s(d))==null?void 0:Q.yearPicker)==null?void 0:B.call(Q,!0),type:"year",onToggle:D,onSelected:F[4]||(F[4]=H=>$(H))},st({"button-icon":w(()=>[R.$slots["calendar-icon"]?_(R.$slots,"calendar-icon",{key:0}):x("",!0),R.$slots["calendar-icon"]?x("",!0):(u(),se(s(wa),{key:1}))]),_:2},[R.$slots["year-overlay-value"]?{name:"item",fn:w(({item:H})=>[_(R.$slots,"year-overlay-value",{text:H.text,value:H.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):x("",!0)]}),_:3},8,["name","css"])],64)}}}),or=(e,a,t)=>{if(a.value&&Array.isArray(a.value))if(a.value.some(n=>Ie(e,n))){const n=a.value.filter(r=>!Ie(r,e));a.value=n.length?n:null}else(t&&+t>a.value.length||!t)&&a.value.push(e);else a.value=[e]},sr=(e,a,t)=>{let n=e.value?e.value.slice():[];return n.length===2&&n[1]!==null&&(n=[]),n.length?(Ge(a,n[0])?n.unshift(a):n[1]=a,t("range-end",a)):(n=[a],t("range-start",a)),n},tn=(e,a,t,n)=>{e&&(e[0]&&e[1]&&t&&a("auto-apply"),e[0]&&!e[1]&&n&&t&&a("auto-apply"))},Al=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>gt(te(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=gt(te(e.value),e.timezone))},Cl=(e,a,t,n)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&n.value.partialRange)?n.value.fixedStart&&(Ze(e,a.value[0])||Ie(e,a.value[0]))?[a.value[0],e]:n.value.fixedEnd&&(Ge(e,a.value[1])||Ie(e,a.value[1]))?[e,a.value[1]]:(t("invalid-fixed-range",e),a.value):[],Vl=({multiCalendars:e,range:a,highlight:t,propDates:n,calendars:r,modelValue:l,props:o,filters:i,year:d,month:b,emit:p})=>{const c=M(()=>ar(o.yearRange,o.locale,o.reverseYears)),v=S([!1]),g=M(()=>(H,de)=>{const be=We(Mt(new Date),{month:b.value(H),year:d.value(H)}),we=de?Un(be):ya(be);return Dl(we,n.value.maxDate,n.value.minDate,o.preventMinMaxNavigation,de)}),D=()=>Array.isArray(l.value)&&e.value.solo&&l.value[1],$=()=>{for(let H=0;H{if(!H)return $();const de=We(te(),r.value[H]);return r.value[0].year=Te(fl(de,e.value.count-1)),$()},R=(H,de)=>{const be=Gd(de,H);return a.value.showLastInRange&&be>1?de:H},F=H=>o.focusStartDate||e.value.solo?H[0]:H[1]?R(H[0],H[1]):H[0],Y=()=>{if(l.value){const H=Array.isArray(l.value)?F(l.value):l.value;r.value[0]={month:Ce(H),year:Te(H)}}},U=()=>{Y(),e.value.count&&$()};at(l,(H,de)=>{o.isTextInputDate&&JSON.stringify(H??{})!==JSON.stringify(de??{})&&U()}),qe(()=>{U()});const re=(H,de)=>{r.value[de].year=H,p("update-month-year",{instance:de,year:H,month:r.value[de].month}),e.value.count&&!e.value.solo&&I(de)},W=M(()=>H=>ka(c.value,de=>{var be;const we=d.value(H)===de.value,T=Aa(de.value,_a(n.value.minDate),_a(n.value.maxDate))||((be=i.value.years)==null?void 0:be.includes(d.value(H))),L=lr(t.value,de.value);return{active:we,disabled:T,highlighted:L}})),q=(H,de)=>{re(H,de),B(de)},Q=(H,de=!1)=>{if(!g.value(H,de)){const be=de?d.value(H)+1:d.value(H)-1;re(be,H)}},B=(H,de=!1,be)=>{de||p("reset-flow"),be!==void 0?v.value[H]=be:v.value[H]=!v.value[H],v.value[H]?p("overlay-toggle",{open:!0,overlay:ct.year}):(p("overlay-closed"),p("overlay-toggle",{open:!1,overlay:ct.year}))};return{isDisabled:g,groupedYears:W,showYearPicker:v,selectYear:re,toggleYearPicker:B,handleYearSelect:q,handleYear:Q}},Nm=(e,a)=>{const{defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:r,defaultedConfig:l,defaultedRange:o,defaultedHighlight:i,propDates:d,defaultedTz:b,defaultedFilters:p,defaultedMultiDates:c}=je(e),v=()=>{e.isTextInputDate&&U(Te(te(e.startDate)),0)},{modelValue:g,year:D,month:$,calendars:I}=La(e,a,v),R=M(()=>hl(e.formatLocale,e.locale,e.monthNameFormat)),F=S(null),{checkMinMaxRange:Y}=aa(e),{selectYear:U,groupedYears:re,showYearPicker:W,toggleYearPicker:q,handleYearSelect:Q,handleYear:B,isDisabled:H}=Vl({modelValue:g,multiCalendars:t,range:o,highlight:i,calendars:I,year:D,propDates:d,month:$,filters:p,props:e,emit:a});qe(()=>{e.startDate&&(g.value&&e.focusStartDate||!g.value)&&U(Te(te(e.startDate)),0)});const de=f=>f?{month:Ce(f),year:Te(f)}:{month:null,year:null},be=()=>g.value?Array.isArray(g.value)?g.value.map(f=>de(f)):de(g.value):de(),we=(f,P)=>{const ee=I.value[f],k=be();return Array.isArray(k)?k.some(ce=>ce.year===(ee==null?void 0:ee.year)&&ce.month===P):(ee==null?void 0:ee.year)===k.year&&P===k.month},T=(f,P,ee)=>{var k,ce;const De=be();return Array.isArray(De)?D.value(P)===((k=De[ee])==null?void 0:k.year)&&f===((ce=De[ee])==null?void 0:ce.month):!1},L=(f,P)=>{if(o.value.enabled){const ee=be();if(Array.isArray(g.value)&&Array.isArray(ee)){const k=T(f,P,0)||T(f,P,1),ce=Bt(Mt(te()),f,D.value(P));return Ja(g.value,F.value,ce)&&!k}return!1}return!1},A=M(()=>f=>ka(R.value,P=>{var ee;const k=we(f,P.value),ce=Aa(P.value,kl(D.value(f),d.value.minDate),_l(D.value(f),d.value.maxDate))||om(d.value.disabledDates,D.value(f)).includes(P.value)||((ee=p.value.months)==null?void 0:ee.includes(P.value))||!sm(d.value.allowedDates,D.value(f),P.value),De=L(P.value,f),nt=Ml(i.value,P.value,D.value(f));return{active:k,disabled:ce,isBetween:De,highlighted:nt}})),X=(f,P)=>Bt(Mt(te()),f,D.value(P)),ue=(f,P)=>{const ee=g.value?g.value:Mt(new Date);g.value=Bt(ee,f,D.value(P)),a("auto-apply"),a("update-flow-step")},j=(f,P)=>{const ee=X(f,P);o.value.fixedEnd||o.value.fixedStart?g.value=Cl(ee,g,a,o):g.value?Y(ee,g.value)&&(g.value=sr(g,X(f,P),a)):g.value=[X(f,P)],bt().then(()=>{tn(g.value,a,e.autoApply,e.modelAuto)})},V=(f,P)=>{or(X(f,P),g,c.value.limit),a("auto-apply",!0)},ve=(f,P)=>(I.value[P].month=f,N(P,I.value[P].year,f),c.value.enabled?V(f,P):o.value.enabled?j(f,P):ue(f,P)),G=(f,P)=>{U(f,P),N(P,f,null)},N=(f,P,ee)=>{let k=ee;if(!k&&k!==0){const ce=be();k=Array.isArray(ce)?ce[f].month:ce.month}a("update-month-year",{instance:f,year:P,month:k})};return{groupedMonths:A,groupedYears:re,year:D,isDisabled:H,defaultedMultiCalendars:t,defaultedAriaLabels:n,defaultedTransitions:r,defaultedConfig:l,showYearPicker:W,modelValue:g,presetDate:(f,P)=>{Al({value:f,modelValue:g,range:o.value.enabled,timezone:P?void 0:b.value.timezone}),a("auto-apply")},setHoverDate:(f,P)=>{F.value=X(f,P)},selectMonth:ve,selectYear:G,toggleYearPicker:q,handleYearSelect:Q,handleYear:B,getModelMonthYear:be}},Rm=J({compatConfig:{MODE:3},__name:"MonthPicker",props:{...xt},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,r=ea(),l=kt(r,"yearMode"),o=e;qe(()=>{o.shadow||n("mount",null)});const{groupedMonths:i,groupedYears:d,year:b,isDisabled:p,defaultedMultiCalendars:c,defaultedConfig:v,showYearPicker:g,modelValue:D,presetDate:$,setHoverDate:I,selectMonth:R,selectYear:F,toggleYearPicker:Y,handleYearSelect:U,handleYear:re,getModelMonthYear:W}=Nm(o,n);return a({getSidebarProps:()=>({modelValue:D,year:b,getModelMonthYear:W,selectMonth:R,selectYear:F,handleYear:re}),presetDate:$,toggleYearPicker:q=>Y(0,q)}),(q,Q)=>(u(),se(en,{"multi-calendars":s(c).count,collapse:q.collapse,stretch:"","is-mobile":q.isMobile},{default:w(({instance:B})=>[q.$slots["top-extra"]?_(q.$slots,"top-extra",{key:0,value:q.internalModelValue}):x("",!0),q.$slots["month-year"]?_(q.$slots,"month-year",ut(Ye({key:1},{year:s(b),months:s(i)(B),years:s(d)(B),selectMonth:s(R),selectYear:s(F),instance:B}))):(u(),se(Ia,{key:2,items:s(i)(B),"arrow-navigation":q.arrowNavigation,"is-last":q.autoApply&&!s(v).keepActionRow,"esc-close":q.escClose,height:s(v).modeHeight,config:q.config,"no-overlay-focus":!!(q.noOverlayFocus||q.textInput),"use-relative":"",type:"month",onSelected:H=>s(R)(H,B),onHoverValue:H=>s(I)(H,B)},st({header:w(()=>[ae(Sl,Ye(q.$props,{items:s(d)(B),instance:B,"show-year-picker":s(g)[B],year:s(b)(B),"is-disabled":H=>s(p)(B,H),onHandleYear:H=>s(re)(B,H),onYearSelect:H=>s(U)(H,B),onToggleYearPicker:H=>s(Y)(B,H==null?void 0:H.flow,H==null?void 0:H.show)}),st({_:2},[Se(s(l),(H,de)=>({name:H,fn:w(be=>[_(q.$slots,H,ut(ht(be)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[q.$slots["month-overlay-value"]?{name:"item",fn:w(({item:H})=>[_(q.$slots,"month-overlay-value",{text:H.text,value:H.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","is-mobile"]))}}),Hm=(e,a)=>{const t=()=>{e.isTextInputDate&&(p.value=Te(te(e.startDate)))},{modelValue:n}=La(e,a,t),r=S(null),{defaultedHighlight:l,defaultedMultiDates:o,defaultedFilters:i,defaultedRange:d,propDates:b}=je(e),p=S();qe(()=>{e.startDate&&(n.value&&e.focusStartDate||!n.value)&&(p.value=Te(te(e.startDate)))});const c=$=>Array.isArray(n.value)?n.value.some(I=>Te(I)===$):n.value?Te(n.value)===$:!1,v=$=>d.value.enabled&&Array.isArray(n.value)?Ja(n.value,r.value,D($)):!1,g=M(()=>ka(ar(e.yearRange,e.locale,e.reverseYears),$=>{const I=c($.value),R=Aa($.value,_a(b.value.minDate),_a(b.value.maxDate))||i.value.years.includes($.value),F=v($.value)&&!I,Y=lr(l.value,$.value);return{active:I,disabled:R,isBetween:F,highlighted:Y}})),D=$=>Nt(Mt(ya(new Date)),$);return{groupedYears:g,modelValue:n,focusYear:p,setHoverValue:$=>{r.value=Nt(Mt(new Date),$)},selectYear:$=>{var I;if(a("update-month-year",{instance:0,year:$}),o.value.enabled)return n.value?Array.isArray(n.value)&&(((I=n.value)==null?void 0:I.map(R=>Te(R))).includes($)?n.value=n.value.filter(R=>Te(R)!==$):n.value.push(Nt(ft(te()),$))):n.value=[Nt(ft(ya(te())),$)],a("auto-apply",!0);d.value.enabled?(n.value=sr(n,D($),a),bt().then(()=>{tn(n.value,a,e.autoApply,e.modelAuto)})):(n.value=D($),a("auto-apply"))}}},Bm=J({compatConfig:{MODE:3},__name:"YearPicker",props:{...xt},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,r=e,{groupedYears:l,modelValue:o,focusYear:i,selectYear:d,setHoverValue:b}=Hm(r,n),{defaultedConfig:p}=je(r);return a({getSidebarProps:()=>({modelValue:o,selectYear:d})}),(c,v)=>(u(),m("div",null,[c.$slots["top-extra"]?_(c.$slots,"top-extra",{key:0,value:c.internalModelValue}):x("",!0),c.$slots["month-year"]?_(c.$slots,"month-year",ut(Ye({key:1},{years:s(l),selectYear:s(d)}))):(u(),se(Ia,{key:2,items:s(l),"is-last":c.autoApply&&!s(p).keepActionRow,height:s(p).modeHeight,config:c.config,"no-overlay-focus":!!(c.noOverlayFocus||c.textInput),"focus-value":s(i),type:"year","use-relative":"",onSelected:s(d),onHoverValue:s(b)},st({_:2},[c.$slots["year-overlay-value"]?{name:"item",fn:w(({item:g})=>[_(c.$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"]))]))}}),Em={key:0,class:"dp__time_input"},Fm=["data-compact","data-collapsed"],Wm=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],Um=["aria-label","disabled","data-test-id","onKeydown","onClick"],zm=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],qm={key:0},jm=["aria-label","data-compact"],Qm=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},...xt},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,r=e,{setTimePickerElements:l,setTimePickerBackRef:o}=ta(),{defaultedAriaLabels:i,defaultedTransitions:d,defaultedFilters:b,defaultedConfig:p,defaultedRange:c,defaultedMultiCalendars:v}=je(r),{transitionName:g,showTransition:D}=Ya(d),$=Ca({hours:!1,minutes:!1,seconds:!1}),I=S("AM"),R=S(null),F=S([]),Y=S(),U=S(!1);qe(()=>{n("mounted")});const re=y=>We(new Date,{hours:y.hours,minutes:y.minutes,seconds:r.enableSeconds?y.seconds:0,milliseconds:0}),W=M(()=>y=>j(y,r[y])||Q(y,r[y])),q=M(()=>({hours:r.hours,minutes:r.minutes,seconds:r.seconds})),Q=(y,K)=>c.value.enabled&&!c.value.disableTimeRangeValidation?!r.validateTime(y,K):!1,B=(y,K)=>{if(c.value.enabled&&!c.value.disableTimeRangeValidation){const Ae=K?+r[`${y}Increment`]:-+r[`${y}Increment`],ie=r[y]+Ae;return!r.validateTime(y,ie)}return!1},H=M(()=>y=>!f(+r[y]+ +r[`${y}Increment`],y)||B(y,!0)),de=M(()=>y=>!f(+r[y]-+r[`${y}Increment`],y)||B(y,!1)),be=(y,K)=>Qr(We(te(),y),K),we=(y,K)=>Fv(We(te(),y),K),T=M(()=>({dp__time_col:!0,dp__time_col_block:!r.timePickerInline,dp__time_col_reg_block:!r.enableSeconds&&r.is24&&!r.timePickerInline,dp__time_col_reg_inline:!r.enableSeconds&&r.is24&&r.timePickerInline,dp__time_col_reg_with_button:!r.enableSeconds&&!r.is24,dp__time_col_sec:r.enableSeconds&&r.is24,dp__time_col_sec_with_button:r.enableSeconds&&!r.is24})),L=M(()=>r.timePickerInline&&c.value.enabled&&!v.value.count),A=M(()=>{const y=[{type:"hours"}];return r.enableMinutes&&y.push({type:"",separator:!0},{type:"minutes"}),r.enableSeconds&&y.push({type:"",separator:!0},{type:"seconds"}),y}),X=M(()=>A.value.filter(y=>!y.separator)),ue=M(()=>y=>{if(y==="hours"){const K=nt(+r.hours);return{text:K<10?`0${K}`:`${K}`,value:K}}return{text:r[y]<10?`0${r[y]}`:`${r[y]}`,value:r[y]}}),j=(y,K)=>{var Ae;if(!r.disabledTimesConfig)return!1;const ie=r.disabledTimesConfig(r.order,y==="hours"?K:void 0);return ie[y]?!!((Ae=ie[y])!=null&&Ae.includes(K)):!0},V=(y,K)=>K!=="hours"||I.value==="AM"?y:y+12,ve=y=>{const K=r.is24?24:12,Ae=y==="hours"?K:60,ie=+r[`${y}GridIncrement`],Re=y==="hours"&&!r.is24?ie:0,Ve=[];for(let O=Re;O({active:!1,disabled:b.value.times[y].includes(O.value)||!f(O.value,y)||j(y,O.value)||Q(y,O.value)}))},G=y=>y>=0?y:59,N=y=>y>=0?y:23,f=(y,K)=>{const Ae=r.minTime?re(fn(r.minTime)):null,ie=r.maxTime?re(fn(r.maxTime)):null,Re=re(fn(q.value,K,K==="minutes"||K==="seconds"?G(y):N(y)));return Ae&&ie?(Sa(Re,ie)||ra(Re,ie))&&(ba(Re,Ae)||ra(Re,Ae)):Ae?ba(Re,Ae)||ra(Re,Ae):ie?Sa(Re,ie)||ra(Re,ie):!0},P=y=>r[`no${y[0].toUpperCase()+y.slice(1)}Overlay`],ee=y=>{P(y)||($[y]=!$[y],$[y]?(U.value=!0,n("overlay-opened",y)):(U.value=!1,n("overlay-closed",y)))},k=y=>y==="hours"?Et:y==="minutes"?Zt:ga,ce=()=>{Y.value&&clearTimeout(Y.value)},De=(y,K=!0,Ae)=>{const ie=K?be:we,Re=K?+r[`${y}Increment`]:-+r[`${y}Increment`];f(+r[y]+Re,y)&&n(`update:${y}`,k(y)(ie({[y]:+r[y]},{[y]:+r[`${y}Increment`]}))),!(Ae!=null&&Ae.keyboard)&&p.value.timeArrowHoldThreshold&&(Y.value=setTimeout(()=>{De(y,K)},p.value.timeArrowHoldThreshold))},nt=y=>r.is24?y:(y>=12?I.value="PM":I.value="AM",Qv(y)),E=()=>{I.value==="PM"?(I.value="AM",n("update:hours",r.hours-12)):(I.value="PM",n("update:hours",r.hours+12)),n("am-pm-change",I.value)},ne=y=>{$[y]=!0},Z=(y,K,Ae)=>{if(y&&r.arrowNavigation){Array.isArray(F.value[K])?F.value[K][Ae]=y:F.value[K]=[y];const ie=F.value.reduce((Re,Ve)=>Ve.map((O,le)=>[...Re[le]||[],Ve[le]]),[]);o(r.closeTimePickerBtn),R.value&&(ie[1]=ie[1].concat(R.value)),l(ie,r.order)}},he=(y,K)=>(ee(y),n(`update:${y}`,K));return a({openChildCmp:ne}),(y,K)=>{var Ae;return y.disabled?x("",!0):(u(),m("div",Em,[(u(!0),m(pe,null,Se(A.value,(ie,Re)=>{var Ve,O,le;return u(),m("div",{key:Re,class:ye(T.value),"data-compact":L.value&&!y.enableSeconds,"data-collapsed":L.value&&y.enableSeconds},[ie.separator?(u(),m(pe,{key:0},[U.value?x("",!0):(u(),m(pe,{key:0},[Ee(":")],64))],64)):(u(),m(pe,{key:1},[h("button",{ref_for:!0,ref:$e=>Z($e,Re,0),type:"button",class:ye({dp__btn:!0,dp__inc_dec_button:!y.timePickerInline,dp__inc_dec_button_inline:y.timePickerInline,dp__tp_inline_btn_top:y.timePickerInline,dp__inc_dec_button_disabled:H.value(ie.type),"dp--hidden-el":U.value}),"data-test-id":`${ie.type}-time-inc-btn-${r.order}`,"aria-label":(Ve=s(i))==null?void 0:Ve.incrementValue(ie.type),tabindex:"0",onKeydown:$e=>s(mt)($e,()=>De(ie.type,!0,{keyboard:!0}),!0),onClick:$e=>s(p).timeArrowHoldThreshold?void 0:De(ie.type,!0),onMousedown:$e=>s(p).timeArrowHoldThreshold?De(ie.type,!0):void 0,onMouseup:ce},[r.timePickerInline?(u(),m(pe,{key:1},[y.$slots["tp-inline-arrow-up"]?_(y.$slots,"tp-inline-arrow-up",{key:0}):(u(),m(pe,{key:1},[K[2]||(K[2]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),K[3]||(K[3]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(u(),m(pe,{key:0},[y.$slots["arrow-up"]?_(y.$slots,"arrow-up",{key:0}):x("",!0),y.$slots["arrow-up"]?x("",!0):(u(),se(s(Zn),{key:1}))],64))],42,Wm),h("button",{ref_for:!0,ref:$e=>Z($e,Re,1),type:"button","aria-label":`${ue.value(ie.type).text}-${(O=s(i))==null?void 0:O.openTpOverlay(ie.type)}`,class:ye({dp__time_display:!0,dp__time_display_block:!y.timePickerInline,dp__time_display_inline:y.timePickerInline,"dp--time-invalid":W.value(ie.type),"dp--time-overlay-btn":!W.value(ie.type),"dp--hidden-el":U.value}),disabled:P(ie.type),tabindex:"0","data-test-id":`${ie.type}-toggle-overlay-btn-${r.order}`,onKeydown:$e=>s(mt)($e,()=>ee(ie.type),!0),onClick:$e=>ee(ie.type)},[y.$slots[ie.type]?_(y.$slots,ie.type,{key:0,text:ue.value(ie.type).text,value:ue.value(ie.type).value}):x("",!0),y.$slots[ie.type]?x("",!0):(u(),m(pe,{key:1},[Ee(fe(ue.value(ie.type).text),1)],64))],42,Um),h("button",{ref_for:!0,ref:$e=>Z($e,Re,2),type:"button",class:ye({dp__btn:!0,dp__inc_dec_button:!y.timePickerInline,dp__inc_dec_button_inline:y.timePickerInline,dp__tp_inline_btn_bottom:y.timePickerInline,dp__inc_dec_button_disabled:de.value(ie.type),"dp--hidden-el":U.value}),"data-test-id":`${ie.type}-time-dec-btn-${r.order}`,"aria-label":(le=s(i))==null?void 0:le.decrementValue(ie.type),tabindex:"0",onKeydown:$e=>s(mt)($e,()=>De(ie.type,!1,{keyboard:!0}),!0),onClick:$e=>s(p).timeArrowHoldThreshold?void 0:De(ie.type,!1),onMousedown:$e=>s(p).timeArrowHoldThreshold?De(ie.type,!1):void 0,onMouseup:ce},[r.timePickerInline?(u(),m(pe,{key:1},[y.$slots["tp-inline-arrow-down"]?_(y.$slots,"tp-inline-arrow-down",{key:0}):(u(),m(pe,{key:1},[K[4]||(K[4]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),K[5]||(K[5]=h("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(u(),m(pe,{key:0},[y.$slots["arrow-down"]?_(y.$slots,"arrow-down",{key:0}):x("",!0),y.$slots["arrow-down"]?x("",!0):(u(),se(s(er),{key:1}))],64))],42,zm)],64))],10,Fm)}),128)),y.is24?x("",!0):(u(),m("div",qm,[y.$slots["am-pm-button"]?_(y.$slots,"am-pm-button",{key:0,toggle:E,value:I.value}):x("",!0),y.$slots["am-pm-button"]?x("",!0):(u(),m("button",{key:1,ref_key:"amPmButton",ref:R,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(Ae=s(i))==null?void 0:Ae.amPmButton,tabindex:"0","data-compact":L.value,onClick:E,onKeydown:K[0]||(K[0]=ie=>s(mt)(ie,()=>E(),!0))},fe(I.value),41,jm))])),(u(!0),m(pe,null,Se(X.value,(ie,Re)=>(u(),se(Wt,{key:Re,name:s(g)($[ie.type]),css:s(D)},{default:w(()=>{var Ve,O;return[$[ie.type]?(u(),se(Ia,{key:0,items:ve(ie.type),"is-last":y.autoApply&&!s(p).keepActionRow,"esc-close":y.escClose,type:ie.type,"text-input":y.textInput,config:y.config,"arrow-navigation":y.arrowNavigation,"aria-labels":y.ariaLabels,"overlay-label":(O=(Ve=s(i)).timeOverlay)==null?void 0:O.call(Ve,ie.type),onSelected:le=>he(ie.type,le),onToggle:le=>ee(ie.type),onResetFlow:K[1]||(K[1]=le=>y.$emit("reset-flow"))},st({"button-icon":w(()=>[y.$slots["clock-icon"]?_(y.$slots,"clock-icon",{key:0}):x("",!0),y.$slots["clock-icon"]?x("",!0):(u(),se(yt(y.timePickerInline?s(wa):s(Jn)),{key:1}))]),_:2},[y.$slots[`${ie.type}-overlay-value`]?{name:"item",fn:w(({item:le})=>[_(y.$slots,`${ie.type}-overlay-value`,{text:le.text,value:le.value})]),key:"0"}:void 0,y.$slots[`${ie.type}-overlay-header`]?{name:"header",fn:w(()=>[_(y.$slots,`${ie.type}-overlay-header`,{toggle:()=>ee(ie.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):x("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),Gm=["data-dp-mobile"],Xm=["aria-label","tabindex"],Km=["role","aria-label","tabindex"],Jm=["aria-label"],Ol=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},...xt},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,r=e,{buildMatrix:l,setTimePicker:o}=ta(),i=ea(),{defaultedTransitions:d,defaultedAriaLabels:b,defaultedTextInput:p,defaultedConfig:c,defaultedRange:v}=je(r),{transitionName:g,showTransition:D}=Ya(d),{hideNavigationButtons:$}=an(),I=S(null),R=S(null),F=S([]),Y=S(null),U=S(!1);qe(()=>{n("mount"),!r.timePicker&&r.arrowNavigation?l([ot(I.value)],"time"):o(!0,r.timePicker)});const re=M(()=>v.value.enabled&&r.modelAuto?yl(r.internalModelValue):!0),W=S(!1),q=j=>({hours:Array.isArray(r.hours)?r.hours[j]:r.hours,minutes:Array.isArray(r.minutes)?r.minutes[j]:r.minutes,seconds:Array.isArray(r.seconds)?r.seconds[j]:r.seconds}),Q=M(()=>{const j=[];if(v.value.enabled)for(let V=0;V<2;V++)j.push(q(V));else j.push(q(0));return j}),B=(j,V=!1,ve="")=>{V||n("reset-flow"),W.value=j,n(j?"overlay-opened":"overlay-closed",ct.time),r.arrowNavigation&&o(j),bt(()=>{ve!==""&&F.value[0]&&F.value[0].openChildCmp(ve)})},H=M(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:r.autoApply&&!c.value.keepActionRow})),de=kt(i,"timePicker"),be=(j,V,ve)=>v.value.enabled?V===0?[j,Q.value[1][ve]]:[Q.value[0][ve],j]:j,we=j=>{n("update:hours",j)},T=j=>{n("update:minutes",j)},L=j=>{n("update:seconds",j)},A=()=>{if(Y.value&&!p.value.enabled&&!r.noOverlayFocus){const j=gl(Y.value);j&&j.focus({preventScroll:!0})}},X=j=>{U.value=!1,n("overlay-closed",j)},ue=j=>{U.value=!0,n("overlay-opened",j)};return a({toggleTimePicker:B}),(j,V)=>{var ve;return u(),m("div",{class:"dp--tp-wrap","data-dp-mobile":j.isMobile},[!j.timePicker&&!j.timePickerInline?Pa((u(),m("button",{key:0,ref_key:"openTimePickerBtn",ref:I,type:"button",class:ye({...H.value,"dp--hidden-el":W.value}),"aria-label":(ve=s(b))==null?void 0:ve.openTimePicker,tabindex:j.noOverlayFocus?void 0:0,"data-test-id":"open-time-picker-btn",onKeydown:V[0]||(V[0]=G=>s(mt)(G,()=>B(!0))),onClick:V[1]||(V[1]=G=>B(!0))},[j.$slots["clock-icon"]?_(j.$slots,"clock-icon",{key:0}):x("",!0),j.$slots["clock-icon"]?x("",!0):(u(),se(s(Jn),{key:1}))],42,Xm)),[[Ba,!s($)(j.hideNavigation,"time")]]):x("",!0),ae(Wt,{name:s(g)(W.value),css:s(D)&&!j.timePickerInline},{default:w(()=>{var G,N;return[W.value||j.timePicker||j.timePickerInline?(u(),m("div",{key:0,ref_key:"overlayRef",ref:Y,role:j.timePickerInline?void 0:"dialog",class:ye({dp__overlay:!j.timePickerInline,"dp--overlay-absolute":!r.timePicker&&!j.timePickerInline,"dp--overlay-relative":r.timePicker}),style:pt(j.timePicker?{height:`${s(c).modeHeight}px`}:void 0),"aria-label":(G=s(b))==null?void 0:G.timePicker,tabindex:j.timePickerInline?void 0:0},[h("div",{class:ye(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"]?_(j.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:we,setMinutes:T,setSeconds:L}):x("",!0),j.$slots["time-picker-overlay"]?x("",!0):(u(),m("div",{key:1,class:ye(j.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(u(!0),m(pe,null,Se(Q.value,(f,P)=>Pa((u(),se(Qm,Ye({key:P,ref_for:!0},{...j.$props,order:P,hours:f.hours,minutes:f.minutes,seconds:f.seconds,closeTimePickerBtn:R.value,disabledTimesConfig:e.disabledTimesConfig,disabled:P===0?s(v).fixedStart:s(v).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:F,"validate-time":(ee,k)=>e.validateTime(ee,be(k,P,ee)),"onUpdate:hours":ee=>we(be(ee,P,"hours")),"onUpdate:minutes":ee=>T(be(ee,P,"minutes")),"onUpdate:seconds":ee=>L(be(ee,P,"seconds")),onMounted:A,onOverlayClosed:X,onOverlayOpened:ue,onAmPmChange:V[2]||(V[2]=ee=>j.$emit("am-pm-change",ee))}),st({_:2},[Se(s(de),(ee,k)=>({name:ee,fn:w(ce=>[_(j.$slots,ee,Ye({ref_for:!0},ce))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[Ba,P===0?!0:re.value]])),128))],2)),!j.timePicker&&!j.timePickerInline?Pa((u(),m("button",{key:2,ref_key:"closeTimePickerBtn",ref:R,type:"button",class:ye({...H.value,"dp--hidden-el":U.value}),"aria-label":(N=s(b))==null?void 0:N.closeTimePicker,tabindex:"0",onKeydown:V[3]||(V[3]=f=>s(mt)(f,()=>B(!1))),onClick:V[4]||(V[4]=f=>B(!1))},[j.$slots["calendar-icon"]?_(j.$slots,"calendar-icon",{key:0}):x("",!0),j.$slots["calendar-icon"]?x("",!0):(u(),se(s(wa),{key:1}))],42,Jm)),[[Ba,!s($)(j.hideNavigation,"time")]]):x("",!0)],2)],14,Km)):x("",!0)]}),_:3},8,["name","css"])],8,Gm)}}}),Il=(e,a,t,n)=>{const{defaultedRange:r}=je(e),l=(Y,U)=>Array.isArray(a[Y])?a[Y][U]:a[Y],o=Y=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[Y]:a.seconds:0,i=(Y,U)=>Y?U!==void 0?Jt(Y,l("hours",U),l("minutes",U),o(U)):Jt(Y,a.hours,a.minutes,o()):ml(te(),o(U)),d=(Y,U)=>{a[Y]=U},b=M(()=>e.modelAuto&&r.value.enabled?Array.isArray(t.value)?t.value.length>1:!1:r.value.enabled),p=(Y,U)=>{const re=Object.fromEntries(Object.keys(a).map(W=>W===Y?[W,U]:[W,a[W]].slice()));if(b.value&&!r.value.disableTimeRangeValidation){const W=Q=>t.value?Jt(t.value[Q],re.hours[Q],re.minutes[Q],re.seconds[Q]):null,q=Q=>vl(t.value[Q],0);return!(Ie(W(0),W(1))&&(ba(W(0),q(1))||Sa(W(1),q(0))))}return!0},c=(Y,U)=>{p(Y,U)&&(d(Y,U),n&&n())},v=Y=>{c("hours",Y)},g=Y=>{c("minutes",Y)},D=Y=>{c("seconds",Y)},$=(Y,U,re,W)=>{U&&v(Y),!U&&!re&&g(Y),re&&D(Y),t.value&&W(t.value)},I=Y=>{if(Y){const U=Array.isArray(Y),re=U?[+Y[0].hours,+Y[1].hours]:+Y.hours,W=U?[+Y[0].minutes,+Y[1].minutes]:+Y.minutes,q=U?[+Y[0].seconds,+Y[1].seconds]:+Y.seconds;d("hours",re),d("minutes",W),e.enableSeconds&&d("seconds",q)}},R=(Y,U)=>{const re={hours:Array.isArray(a.hours)?a.hours[Y]:a.hours,disabledArr:[]};return(U||U===0)&&(re.hours=U),Array.isArray(e.disabledTimes)&&(re.disabledArr=r.value.enabled&&Array.isArray(e.disabledTimes[Y])?e.disabledTimes[Y]:e.disabledTimes),re},F=M(()=>(Y,U)=>{var re;if(Array.isArray(e.disabledTimes)){const{disabledArr:W,hours:q}=R(Y,U),Q=W.filter(B=>+B.hours===q);return((re=Q[0])==null?void 0:re.minutes)==="*"?{hours:[q],minutes:void 0,seconds:void 0}:{hours:[],minutes:(Q==null?void 0:Q.map(B=>+B.minutes))??[],seconds:(Q==null?void 0:Q.map(B=>B.seconds?+B.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:v,updateMinutes:g,updateSeconds:D,getSetDateTime:i,updateTimeValues:$,getSecondsValue:o,assignStartTime:I,validateTime:p,disabledTimesConfig:F}},Zm=(e,a)=>{const t=()=>{e.isTextInputDate&&U()},{modelValue:n,time:r}=La(e,a,t),{defaultedStartTime:l,defaultedRange:o,defaultedTz:i}=je(e),{updateTimeValues:d,getSetDateTime:b,setTime:p,assignStartTime:c,disabledTimesConfig:v,validateTime:g}=Il(e,r,n,D);function D(){a("update-flow-step")}const $=W=>{const{hours:q,minutes:Q,seconds:B}=W;return{hours:+q,minutes:+Q,seconds:B?+B:0}},I=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const q=$(e.startTime[0]),Q=$(e.startTime[1]);return[We(te(),q),We(te(),Q)]}const W=$(e.startTime);return We(te(),W)}return o.value.enabled?[null,null]:null},R=()=>{if(o.value.enabled){const[W,q]=I();n.value=[gt(b(W,0),i.value.timezone),gt(b(q,1),i.value.timezone)]}else n.value=gt(b(I()),i.value.timezone)},F=W=>Array.isArray(W)?[oa(te(W[0])),oa(te(W[1]))]:[oa(W??te())],Y=(W,q,Q)=>{p("hours",W),p("minutes",q),p("seconds",e.enableSeconds?Q:0)},U=()=>{const[W,q]=F(n.value);return o.value.enabled?Y([W.hours,q.hours],[W.minutes,q.minutes],[W.seconds,q.seconds]):Y(W.hours,W.minutes,W.seconds)};qe(()=>{if(!e.shadow)return c(l.value),n.value?U():R()});const re=()=>{Array.isArray(n.value)?n.value=n.value.map((W,q)=>W&&b(W,q)):n.value=b(n.value),a("time-update")};return{modelValue:n,time:r,disabledTimesConfig:v,updateTime:(W,q=!0,Q=!1)=>{d(W,q,Q,re)},validateTime:g}},ef=J({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...xt},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,r=e,l=ea(),o=kt(l,"timePicker"),i=S(null),{time:d,modelValue:b,disabledTimesConfig:p,updateTime:c,validateTime:v}=Zm(r,n);return qe(()=>{r.shadow||n("mount",null)}),a({getSidebarProps:()=>({modelValue:b,time:d,updateTime:c}),toggleTimePicker:(g,D=!1,$="")=>{var I;(I=i.value)==null||I.toggleTimePicker(g,D,$)}}),(g,D)=>(u(),se(en,{"multi-calendars":0,stretch:"","is-mobile":g.isMobile},{default:w(()=>[ae(Ol,Ye({ref_key:"tpRef",ref:i},g.$props,{hours:s(d).hours,minutes:s(d).minutes,seconds:s(d).seconds,"internal-model-value":g.internalModelValue,"disabled-times-config":s(p),"validate-time":s(v),"onUpdate:hours":D[0]||(D[0]=$=>s(c)($)),"onUpdate:minutes":D[1]||(D[1]=$=>s(c)($,!1)),"onUpdate:seconds":D[2]||(D[2]=$=>s(c)($,!1,!0)),onAmPmChange:D[3]||(D[3]=$=>g.$emit("am-pm-change",$)),onResetFlow:D[4]||(D[4]=$=>g.$emit("reset-flow")),onOverlayClosed:D[5]||(D[5]=$=>g.$emit("overlay-toggle",{open:!1,overlay:$})),onOverlayOpened:D[6]||(D[6]=$=>g.$emit("overlay-toggle",{open:!0,overlay:$}))}),st({_:2},[Se(s(o),($,I)=>({name:$,fn:w(R=>[_(g.$slots,$,ut(ht(R)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3},8,["is-mobile"]))}}),tf={class:"dp--header-wrap"},af={key:0,class:"dp__month_year_wrap"},nf={key:0},rf={class:"dp__month_year_wrap"},lf=["data-dp-element","aria-label","data-test-id","onClick","onKeydown"],of=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:()=>[]},...xt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:a,emit:t}){const n=t,r=e,{defaultedTransitions:l,defaultedAriaLabels:o,defaultedMultiCalendars:i,defaultedFilters:d,defaultedConfig:b,defaultedHighlight:p,propDates:c,defaultedUI:v}=je(r),{transitionName:g,showTransition:D}=Ya(l),{buildMatrix:$}=ta(),{handleMonthYearChange:I,isDisabled:R,updateMonthYear:F}=Mm(r,n),{showLeftIcon:Y,showRightIcon:U}=an(),re=S(!1),W=S(!1),q=S(!1),Q=S([null,null,null,null]);qe(()=>{n("mount")});const B=N=>({get:()=>r[N],set:f=>{const P=N===Dt.month?Dt.year:Dt.month;n("update-month-year",{[N]:f,[P]:r[P]}),N===Dt.month?X(!0):ue(!0)}}),H=M(B(Dt.month)),de=M(B(Dt.year)),be=M(()=>N=>({month:r.month,year:r.year,items:N===Dt.month?r.months:r.years,instance:r.instance,updateMonthYear:F,toggle:N===Dt.month?X:ue})),we=M(()=>r.months.find(f=>f.value===r.month)||{text:"",value:0}),T=M(()=>ka(r.months,N=>{const f=r.month===N.value,P=Aa(N.value,kl(r.year,c.value.minDate),_l(r.year,c.value.maxDate))||d.value.months.includes(N.value),ee=Ml(p.value,N.value,r.year);return{active:f,disabled:P,highlighted:ee}})),L=M(()=>ka(r.years,N=>{const f=r.year===N.value,P=Aa(N.value,_a(c.value.minDate),_a(c.value.maxDate))||d.value.years.includes(N.value),ee=lr(p.value,N.value);return{active:f,disabled:P,highlighted:ee}})),A=(N,f,P)=>{P!==void 0?N.value=P:N.value=!N.value,N.value?(q.value=!0,n("overlay-opened",f)):(q.value=!1,n("overlay-closed",f))},X=(N=!1,f)=>{j(N),A(re,ct.month,f)},ue=(N=!1,f)=>{j(N),A(W,ct.year,f)},j=N=>{N||n("reset-flow")},V=(N,f)=>{r.arrowNavigation&&(Q.value[f]=ot(N),$(Q.value,"monthYear"))},ve=M(()=>{var N,f,P,ee,k,ce;return[{type:Dt.month,index:1,toggle:X,modelValue:H.value,updateModelValue:De=>H.value=De,text:we.value.text,showSelectionGrid:re.value,items:T.value,ariaLabel:(N=o.value)==null?void 0:N.openMonthsOverlay,overlayLabel:((P=(f=o.value).monthPicker)==null?void 0:P.call(f,!0))??void 0},{type:Dt.year,index:2,toggle:ue,modelValue:de.value,updateModelValue:De=>de.value=De,text:bl(r.year,r.locale),showSelectionGrid:W.value,items:L.value,ariaLabel:(ee=o.value)==null?void 0:ee.openYearsOverlay,overlayLabel:((ce=(k=o.value).yearPicker)==null?void 0:ce.call(k,!0))??void 0}]}),G=M(()=>r.disableYearSelect?[ve.value[0]]:r.yearFirst?[...ve.value].reverse():ve.value);return a({toggleMonthPicker:X,toggleYearPicker:ue,handleMonthYearChange:I}),(N,f)=>{var P,ee,k,ce,De,nt;return u(),m("div",tf,[N.$slots["month-year"]?(u(),m("div",af,[_(N.$slots,"month-year",ut(ht({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:s(F),handleMonthYearChange:s(I),instance:e.instance})))])):(u(),m(pe,{key:1},[N.$slots["top-extra"]?(u(),m("div",nf,[_(N.$slots,"top-extra",{value:N.internalModelValue})])):x("",!0),h("div",rf,[s(Y)(s(i),e.instance)&&!N.vertical?(u(),se(Ta,{key:0,"aria-label":(P=s(o))==null?void 0:P.prevMonth,disabled:s(R)(!1),class:ye((ee=s(v))==null?void 0:ee.navBtnPrev),"el-name":"action-prev",onActivate:f[0]||(f[0]=E=>s(I)(!1,!0)),onSetRef:f[1]||(f[1]=E=>V(E,0))},{default:w(()=>[N.$slots["arrow-left"]?_(N.$slots,"arrow-left",{key:0}):x("",!0),N.$slots["arrow-left"]?x("",!0):(u(),se(s(Xn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):x("",!0),h("div",{class:ye(["dp__month_year_wrap",{dp__year_disable_select:N.disableYearSelect}])},[(u(!0),m(pe,null,Se(G.value,(E,ne)=>(u(),m(pe,{key:E.type},[h("button",{ref_for:!0,ref:Z=>V(Z,ne+1),type:"button","data-dp-element":`overlay-${E.type}`,class:ye(["dp__btn dp__month_year_select",{"dp--hidden-el":q.value}]),"aria-label":`${E.text}-${E.ariaLabel}`,"data-test-id":`${E.type}-toggle-overlay-${e.instance}`,onClick:E.toggle,onKeydown:Z=>s(mt)(Z,()=>E.toggle(),!0)},[N.$slots[E.type]?_(N.$slots,E.type,{key:0,text:E.text,value:r[E.type]}):x("",!0),N.$slots[E.type]?x("",!0):(u(),m(pe,{key:1},[Ee(fe(E.text),1)],64))],42,lf),ae(Wt,{name:s(g)(E.showSelectionGrid),css:s(D)},{default:w(()=>[E.showSelectionGrid?(u(),se(Ia,{key:0,items:E.items,"arrow-navigation":N.arrowNavigation,"hide-navigation":N.hideNavigation,"is-last":N.autoApply&&!s(b).keepActionRow,"skip-button-ref":!1,config:N.config,type:E.type,"header-refs":[],"esc-close":N.escClose,"menu-wrap-ref":N.menuWrapRef,"text-input":N.textInput,"aria-labels":N.ariaLabels,"overlay-label":E.overlayLabel,onSelected:E.updateModelValue,onToggle:E.toggle},st({"button-icon":w(()=>[N.$slots["calendar-icon"]?_(N.$slots,"calendar-icon",{key:0}):x("",!0),N.$slots["calendar-icon"]?x("",!0):(u(),se(s(wa),{key:1}))]),_:2},[N.$slots[`${E.type}-overlay-value`]?{name:"item",fn:w(({item:Z})=>[_(N.$slots,`${E.type}-overlay-value`,{text:Z.text,value:Z.value})]),key:"0"}:void 0,N.$slots[`${E.type}-overlay`]?{name:"overlay",fn:w(()=>[_(N.$slots,`${E.type}-overlay`,Ye({ref_for:!0},be.value(E.type)))]),key:"1"}:void 0,N.$slots[`${E.type}-overlay-header`]?{name:"header",fn:w(()=>[_(N.$slots,`${E.type}-overlay-header`,{toggle:E.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"])):x("",!0)]),_:2},1032,["name","css"])],64))),128))],2),s(Y)(s(i),e.instance)&&N.vertical?(u(),se(Ta,{key:1,"aria-label":(k=s(o))==null?void 0:k.prevMonth,"el-name":"action-prev",disabled:s(R)(!1),class:ye((ce=s(v))==null?void 0:ce.navBtnPrev),onActivate:f[2]||(f[2]=E=>s(I)(!1,!0))},{default:w(()=>[N.$slots["arrow-up"]?_(N.$slots,"arrow-up",{key:0}):x("",!0),N.$slots["arrow-up"]?x("",!0):(u(),se(s(Zn),{key:1}))]),_:3},8,["aria-label","disabled","class"])):x("",!0),s(U)(s(i),e.instance)?(u(),se(Ta,{key:2,ref:"rightIcon","el-name":"action-next",disabled:s(R)(!0),"aria-label":(De=s(o))==null?void 0:De.nextMonth,class:ye((nt=s(v))==null?void 0:nt.navBtnNext),onActivate:f[3]||(f[3]=E=>s(I)(!0,!0)),onSetRef:f[4]||(f[4]=E=>V(E,N.disableYearSelect?2:3))},{default:w(()=>[N.$slots[N.vertical?"arrow-down":"arrow-right"]?_(N.$slots,N.vertical?"arrow-down":"arrow-right",{key:0}):x("",!0),N.$slots[N.vertical?"arrow-down":"arrow-right"]?x("",!0):(u(),se(yt(N.vertical?s(er):s(Kn)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):x("",!0)])],64))])}}}),sf={class:"dp__calendar_header",role:"row"},uf={key:0,class:"dp__calendar_header_item",role:"gridcell"},df=["aria-label"],cf={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},vf={class:"dp__cell_inner"},mf=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test-id","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],ff=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},...xt},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,r=e,{buildMultiLevelMatrix:l}=ta(),{defaultedTransitions:o,defaultedConfig:i,defaultedAriaLabels:d,defaultedMultiCalendars:b,defaultedWeekNumbers:p,defaultedMultiDates:c,defaultedUI:v}=je(r),g=S(null),D=S({bottom:"",left:"",transform:""}),$=S([]),I=S(null),R=S(!0),F=S(""),Y=S({startX:0,endX:0,startY:0,endY:0}),U=S([]),re=S({left:"50%"}),W=S(!1),q=M(()=>r.calendar?r.calendar(r.mappedDates):r.mappedDates),Q=M(()=>r.dayNames?Array.isArray(r.dayNames)?r.dayNames:r.dayNames(r.locale,+r.weekStart):jv(r.formatLocale,r.locale,+r.weekStart));qe(()=>{n("mount",{cmp:"calendar",refs:$}),i.value.noSwipe||I.value&&(I.value.addEventListener("touchstart",V,{passive:!1}),I.value.addEventListener("touchend",ve,{passive:!1}),I.value.addEventListener("touchmove",G,{passive:!1})),r.monthChangeOnScroll&&I.value&&I.value.addEventListener("wheel",P,{passive:!1})});const B=E=>E?r.vertical?"vNext":"next":r.vertical?"vPrevious":"previous",H=(E,ne)=>{if(r.transitions){const Z=ft(Bt(te(),r.month,r.year));F.value=Ze(ft(Bt(te(),E,ne)),Z)?o.value[B(!0)]:o.value[B(!1)],R.value=!1,bt(()=>{R.value=!0})}},de=M(()=>({...v.value.calendar??{}})),be=M(()=>E=>{const ne=Gv(E);return{dp__marker_dot:ne.type==="dot",dp__marker_line:ne.type==="line"}}),we=M(()=>E=>Ie(E,g.value)),T=M(()=>({dp__calendar:!0,dp__calendar_next:b.value.count>0&&r.instance!==0})),L=M(()=>E=>r.hideOffsetDates?E.current:!0),A=async(E,ne)=>{const{width:Z,height:he}=E.getBoundingClientRect();g.value=ne.value;let y={left:`${Z/2}px`},K=-50;if(await bt(),U.value[0]){const{left:Ae,width:ie}=U.value[0].getBoundingClientRect();Ae<0&&(y={left:"0"},K=0,re.value.left=`${Z/2}px`),window.innerWidth{var he,y,K;const Ae=ot($.value[ne][Z]);Ae&&((he=E.marker)!=null&&he.customPosition&&(K=(y=E.marker)==null?void 0:y.tooltip)!=null&&K.length?D.value=E.marker.customPosition(Ae):await A(Ae,E),n("tooltip-open",E.marker))},ue=async(E,ne,Z)=>{var he,y;if(W.value&&c.value.enabled&&c.value.dragSelect)return n("select-date",E);if(n("set-hover-date",E),(y=(he=E.marker)==null?void 0:he.tooltip)!=null&&y.length){if(r.hideOffsetDates&&!E.current)return;await X(E,ne,Z)}},j=E=>{g.value&&(g.value=null,D.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),n("tooltip-close",E.marker))},V=E=>{Y.value.startX=E.changedTouches[0].screenX,Y.value.startY=E.changedTouches[0].screenY},ve=E=>{Y.value.endX=E.changedTouches[0].screenX,Y.value.endY=E.changedTouches[0].screenY,N()},G=E=>{r.vertical&&!r.inline&&E.preventDefault()},N=()=>{const E=r.vertical?"Y":"X";Math.abs(Y.value[`start${E}`]-Y.value[`end${E}`])>10&&n("handle-swipe",Y.value[`start${E}`]>Y.value[`end${E}`]?"right":"left")},f=(E,ne,Z)=>{E&&(Array.isArray($.value[ne])?$.value[ne][Z]=E:$.value[ne]=[E]),r.arrowNavigation&&l($.value,"calendar")},P=E=>{r.monthChangeOnScroll&&(E.preventDefault(),n("handle-scroll",E))},ee=E=>p.value.type==="local"?jn(E.value,{weekStartsOn:+r.weekStart}):p.value.type==="iso"?zn(E.value):typeof p.value.type=="function"?p.value.type(E.value):"",k=E=>{const ne=E[0];return p.value.hideOnOffsetDates?E.some(Z=>Z.current)?ee(ne):"":ee(ne)},ce=(E,ne,Z=!0)=>{Z&&Pr()||!Z&&!Pr()||(!c.value.enabled||i.value.allowPreventDefault)&&(Kt(E,i.value),n("select-date",ne))},De=E=>{Kt(E,i.value)},nt=E=>{c.value.enabled&&c.value.dragSelect?(W.value=!0,n("select-date",E)):c.value.enabled&&n("select-date",E)};return a({triggerTransition:H}),(E,ne)=>(u(),m("div",{class:ye(T.value)},[h("div",{ref_key:"calendarWrapRef",ref:I,class:ye(de.value),role:"grid"},[h("div",sf,[E.weekNumbers?(u(),m("div",uf,fe(E.weekNumName),1)):x("",!0),(u(!0),m(pe,null,Se(Q.value,(Z,he)=>{var y,K;return u(),m("div",{key:he,class:"dp__calendar_header_item",role:"gridcell","data-test-id":"calendar-header","aria-label":(K=(y=s(d))==null?void 0:y.weekDay)==null?void 0:K.call(y,he)},[E.$slots["calendar-header"]?_(E.$slots,"calendar-header",{key:0,day:Z,index:he}):x("",!0),E.$slots["calendar-header"]?x("",!0):(u(),m(pe,{key:1},[Ee(fe(Z),1)],64))],8,df)}),128))]),ne[2]||(ne[2]=h("div",{class:"dp__calendar_header_separator"},null,-1)),ae(Wt,{name:F.value,css:!!E.transitions},{default:w(()=>[R.value?(u(),m("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:ne[1]||(ne[1]=Z=>W.value=!1)},[(u(!0),m(pe,null,Se(q.value,(Z,he)=>(u(),m("div",{key:he,class:"dp__calendar_row",role:"row"},[E.weekNumbers?(u(),m("div",cf,[h("div",vf,fe(k(Z.days)),1)])):x("",!0),(u(!0),m(pe,null,Se(Z.days,(y,K)=>{var Ae,ie,Re;return u(),m("div",{id:s(Tl)(y.value),ref_for:!0,ref:Ve=>f(Ve,he,K),key:K+he,role:"gridcell",class:"dp__calendar_item","aria-pressed":(y.classData.dp__active_date||y.classData.dp__range_start||y.classData.dp__range_start)??void 0,"aria-disabled":y.classData.dp__cell_disabled||void 0,"aria-label":(ie=(Ae=s(d))==null?void 0:Ae.day)==null?void 0:ie.call(Ae,y),tabindex:!y.current&&E.hideOffsetDates?void 0:0,"data-test-id":y.value,onClick:ia(Ve=>ce(Ve,y),["prevent"]),onTouchend:Ve=>ce(Ve,y,!1),onKeydown:Ve=>s(mt)(Ve,()=>E.$emit("select-date",y)),onMouseenter:Ve=>ue(y,he,K),onMouseleave:Ve=>j(y),onMousedown:Ve=>nt(y),onMouseup:ne[0]||(ne[0]=Ve=>W.value=!1)},[h("div",{class:ye(["dp__cell_inner",y.classData])},[E.$slots.day&&L.value(y)?_(E.$slots,"day",{key:0,day:+y.text,date:y.value}):x("",!0),E.$slots.day?x("",!0):(u(),m(pe,{key:1},[Ee(fe(y.text),1)],64)),y.marker&&L.value(y)?(u(),m(pe,{key:2},[E.$slots.marker?_(E.$slots,"marker",{key:0,marker:y.marker,day:+y.text,date:y.value}):(u(),m("div",{key:1,class:ye(be.value(y.marker)),style:pt(y.marker.color?{backgroundColor:y.marker.color}:{})},null,6))],64)):x("",!0),we.value(y.value)?(u(),m("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:U,class:"dp__marker_tooltip",style:pt(D.value)},[(Re=y.marker)!=null&&Re.tooltip?(u(),m("div",{key:0,class:"dp__tooltip_content",onClick:De},[(u(!0),m(pe,null,Se(y.marker.tooltip,(Ve,O)=>(u(),m("div",{key:O,class:"dp__tooltip_text"},[E.$slots["marker-tooltip"]?_(E.$slots,"marker-tooltip",{key:0,tooltip:Ve,day:y.value}):x("",!0),E.$slots["marker-tooltip"]?x("",!0):(u(),m(pe,{key:1},[h("div",{class:"dp__tooltip_mark",style:pt(Ve.color?{backgroundColor:Ve.color}:{})},null,4),h("div",null,fe(Ve.text),1)],64))]))),128)),h("div",{class:"dp__arrow_bottom_tp",style:pt(re.value)},null,4)])):x("",!0)],4)):x("",!0)],2)],40,mf)}),128))]))),128))],32)):x("",!0)]),_:3},8,["name","css"])],2)],2))}}),Ar=e=>Array.isArray(e),pf=(e,a,t,n)=>{const r=S([]),l=S(new Date),o=S(),i=()=>V(e.isTextInputDate),{modelValue:d,calendars:b,time:p,today:c}=La(e,a,i),{defaultedMultiCalendars:v,defaultedStartTime:g,defaultedRange:D,defaultedConfig:$,defaultedTz:I,propDates:R,defaultedMultiDates:F}=je(e),{validateMonthYearInRange:Y,isDisabled:U,isDateRangeAllowed:re,checkMinMaxRange:W}=aa(e),{updateTimeValues:q,getSetDateTime:Q,setTime:B,assignStartTime:H,validateTime:de,disabledTimesConfig:be}=Il(e,p,d,n),we=M(()=>C=>b.value[C]?b.value[C].month:0),T=M(()=>C=>b.value[C]?b.value[C].year:0),L=C=>!$.value.keepViewOnOffsetClick||C?!0:!o.value,A=(C,oe,Me,z=!1)=>{var me,ke;L(z)&&(b.value[C]||(b.value[C]={month:0,year:0}),b.value[C].month=Dr(oe)?(me=b.value[C])==null?void 0:me.month:oe,b.value[C].year=Dr(Me)?(ke=b.value[C])==null?void 0:ke.year:Me)},X=()=>{e.autoApply&&a("select-date")};qe(()=>{e.shadow||(d.value||(E(),g.value&&H(g.value)),V(!0),e.focusStartDate&&e.startDate&&E())});const ue=M(()=>{var C;return(C=e.flow)!=null&&C.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)},V=(C=!1)=>{if(d.value)return Array.isArray(d.value)?(r.value=d.value,k(C)):N(d.value,C);if(v.value.count&&C&&!e.startDate)return G(te(),C)},ve=()=>Array.isArray(d.value)&&D.value.enabled?Ce(d.value[0])===Ce(d.value[1]??d.value[0]):!1,G=(C=new Date,oe=!1)=>{if((!v.value.count||!v.value.static||oe)&&A(0,Ce(C),Te(C)),v.value.count&&(!d.value||ve()||!v.value.solo)&&(!v.value.solo||oe))for(let Me=1;Me{G(C),B("hours",Et(C)),B("minutes",Zt(C)),B("seconds",ga(C)),v.value.count&&oe&&nt()},f=C=>{if(v.value.count){if(v.value.solo)return 0;const oe=Ce(C[0]),Me=Ce(C[1]);return Math.abs(Me-oe){C[1]&&D.value.showLastInRange?G(C[f(C)],oe):G(C[0],oe);const Me=(z,me)=>[z(C[0]),C[1]?z(C[1]):p[me][1]];B("hours",Me(Et,"hours")),B("minutes",Me(Zt,"minutes")),B("seconds",Me(ga,"seconds"))},ee=(C,oe)=>{if((D.value.enabled||e.weekPicker)&&!F.value.enabled)return P(C,oe);if(F.value.enabled&&oe){const Me=C[C.length-1];return N(Me,oe)}},k=C=>{const oe=d.value;ee(oe,C),v.value.count&&v.value.solo&&nt()},ce=(C,oe)=>{const Me=We(te(),{month:we.value(oe),year:T.value(oe)}),z=C<0?_t(Me,1):Ft(Me,1);Y(Ce(z),Te(z),C<0,e.preventMinMaxNavigation)&&(A(oe,Ce(z),Te(z)),a("update-month-year",{instance:oe,month:Ce(z),year:Te(z)}),v.value.count&&!v.value.solo&&De(oe),t())},De=C=>{for(let oe=C-1;oe>=0;oe--){const Me=Ft(We(te(),{month:we.value(oe+1),year:T.value(oe+1)}),1);A(oe,Ce(Me),Te(Me))}for(let oe=C+1;oe<=v.value.count-1;oe++){const Me=_t(We(te(),{month:we.value(oe-1),year:T.value(oe-1)}),1);A(oe,Ce(Me),Te(Me))}},nt=()=>{if(Array.isArray(d.value)&&d.value.length===2){const C=te(te(d.value[1]?d.value[1]:_t(d.value[0],1))),[oe,Me]=[Ce(d.value[0]),Te(d.value[0])],[z,me]=[Ce(d.value[1]),Te(d.value[1])];(oe!==z||oe===z&&Me!==me)&&v.value.solo&&A(1,Ce(C),Te(C))}else d.value&&!Array.isArray(d.value)&&(A(0,Ce(d.value),Te(d.value)),G(te()))},E=()=>{e.startDate&&(A(0,Ce(te(e.startDate)),Te(te(e.startDate))),v.value.count&&De(0))},ne=(C,oe)=>{if(e.monthChangeOnScroll){const Me=new Date().getTime()-l.value.getTime(),z=Math.abs(C.deltaY);let me=500;z>1&&(me=100),z>100&&(me=0),Me>me&&(l.value=new Date,ce(e.monthChangeOnScroll!=="inverse"?-C.deltaY:C.deltaY,oe))}},Z=(C,oe,Me=!1)=>{e.monthChangeOnArrows&&e.vertical===Me&&he(C,oe)},he=(C,oe)=>{ce(C==="right"?-1:1,oe)},y=C=>{if(R.value.markers)return za(C.value,R.value.markers)},K=(C,oe)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[C==0,!0];case"fair":return[C==0||oe>C,!0];case"append":return[!1,!1];default:return[!1,!1]}},Ae=(C,oe,Me,z)=>{if(e.sixWeeks&&C.length<6){const me=6-C.length,ke=(oe.getDay()+7-z)%7,Ct=6-(Me.getDay()+7-z)%7,[$t,ca]=K(ke,Ct);for(let $a=1;$a<=me;$a++)if(ca?!!($a%2)==$t:$t){const qt=C[0].days[0],cn=ie(lt(qt.value,-7),Ce(oe));C.unshift({days:cn})}else{const qt=C[C.length-1],cn=qt.days[qt.days.length-1],Ll=ie(lt(cn.value,1),Ce(oe));C.push({days:Ll})}}return C},ie=(C,oe)=>{const Me=te(C),z=[];for(let me=0;me<7;me++){const ke=lt(Me,me),Ct=Ce(ke)!==oe;z.push({text:e.hideOffsetDates&&Ct?"":ke.getDate(),value:ke,current:!Ct,classData:{}})}return z},Re=(C,oe)=>{const Me=[],z=new Date(oe,C),me=new Date(oe,C+1,0),ke=e.weekStart,Ct=Tt(z,{weekStartsOn:ke}),$t=ca=>{const $a=ie(ca,C);if(Me.push({days:$a}),!Me[Me.length-1].days.some(qt=>Ie(ft(qt.value),ft(me)))){const qt=lt(ca,7);$t(qt)}};return $t(Ct),Ae(Me,z,me,ke)},Ve=C=>{const oe=Jt(te(C.value),p.hours,p.minutes,At());a("date-update",oe),F.value.enabled?or(oe,d,F.value.limit):d.value=oe,n(),bt().then(()=>{j()})},O=C=>D.value.noDisabledRange?wl(r.value[0],C).some(oe=>U(oe)):!1,le=()=>{r.value=d.value?d.value.slice():[],r.value.length===2&&!(D.value.fixedStart||D.value.fixedEnd)&&(r.value=[])},$e=(C,oe)=>{const Me=[te(C.value),lt(te(C.value),+D.value.autoRange)];re(Me)?(oe&&rt(C.value),r.value=Me):a("invalid-date",C.value)},rt=C=>{const oe=Ce(te(C)),Me=Te(te(C));if(A(0,oe,Me),v.value.count>0)for(let z=1;z{if(O(C.value)||!W(C.value,d.value,D.value.fixedStart?0:1))return a("invalid-date",C.value);r.value=Cl(te(C.value),d,a,D)},Pe=(C,oe)=>{if(le(),D.value.autoRange)return $e(C,oe);if(D.value.fixedStart||D.value.fixedEnd)return St(C);r.value[0]?W(te(C.value),d.value)&&!O(C.value)?Ge(te(C.value),te(r.value[0]))?(r.value.unshift(te(C.value)),a("range-end",r.value[0])):(r.value[1]=te(C.value),a("range-end",r.value[1])):(e.autoApply&&a("auto-apply-invalid",C.value),a("invalid-date",C.value)):(r.value[0]=te(C.value),a("range-start",r.value[0]))},At=(C=!0)=>e.enableSeconds?Array.isArray(p.seconds)?C?p.seconds[0]:p.seconds[1]:p.seconds:0,Ke=C=>{r.value[C]=Jt(r.value[C],p.hours[C],p.minutes[C],At(C!==1))},nn=()=>{var C,oe;r.value[0]&&r.value[1]&&+((C=r.value)==null?void 0:C[0])>+((oe=r.value)==null?void 0:oe[1])&&(r.value.reverse(),a("range-start",r.value[0]),a("range-end",r.value[1]))},rn=()=>{r.value.length&&(r.value[0]&&!r.value[1]?Ke(0):(Ke(0),Ke(1),n()),nn(),d.value=r.value.slice(),tn(r.value,a,e.autoApply,e.modelAuto))},Na=(C,oe=!1)=>{if(U(C.value)||!C.current&&e.hideOffsetDates)return a("invalid-date",C.value);if(o.value=JSON.parse(JSON.stringify(C)),!D.value.enabled)return Ve(C);Ar(p.hours)&&Ar(p.minutes)&&!F.value.enabled&&(Pe(C,oe),rn())},ln=(C,oe)=>{var Me;A(C,oe.month,oe.year,!0),v.value.count&&!v.value.solo&&De(C),a("update-month-year",{instance:C,month:oe.month,year:oe.year}),t(v.value.solo?C:void 0);const z=(Me=e.flow)!=null&&Me.length?e.flow[e.flowStep]:void 0;!oe.fromNav&&(z===ct.month||z===ct.year)&&n()},on=(C,oe)=>{Al({value:C,modelValue:d,range:D.value.enabled,timezone:oe?void 0:I.value.timezone}),X(),e.multiCalendars&&bt().then(()=>V(!0))},sn=()=>{const C=tr(te(),I.value);!D.value.enabled&&!F.value.enabled?d.value=C:d.value&&Array.isArray(d.value)&&d.value[0]?F.value.enabled?d.value=[...d.value,C]:d.value=Ge(C,d.value[0])?[C,d.value[0]]:[d.value[0],C]:d.value=[C],X()},un=()=>{if(Array.isArray(d.value))if(F.value.enabled){const C=dn();d.value[d.value.length-1]=Q(C)}else d.value=d.value.map((C,oe)=>C&&Q(C,oe));else d.value=Q(d.value);a("time-update")},dn=()=>Array.isArray(d.value)&&d.value.length?d.value[d.value.length-1]:null;return{calendars:b,modelValue:d,month:we,year:T,time:p,disabledTimesConfig:be,today:c,validateTime:de,getCalendarDays:Re,getMarker:y,handleScroll:ne,handleSwipe:he,handleArrow:Z,selectDate:Na,updateMonthYear:ln,presetDate:on,selectCurrentDate:sn,updateTime:(C,oe=!0,Me=!1)=>{q(C,oe,Me,un)},assignMonthAndYear:G}},hf={key:0},yf=J({__name:"DatePicker",props:{...xt},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,r=e,{calendars:l,month:o,year:i,modelValue:d,time:b,disabledTimesConfig:p,today:c,validateTime:v,getCalendarDays:g,getMarker:D,handleArrow:$,handleScroll:I,handleSwipe:R,selectDate:F,updateMonthYear:Y,presetDate:U,selectCurrentDate:re,updateTime:W,assignMonthAndYear:q}=pf(r,n,ve,G),Q=ea(),{setHoverDate:B,getDayClassData:H,clearHoverDate:de}=If(d,r),{defaultedMultiCalendars:be}=je(r),we=S([]),T=S([]),L=S(null),A=kt(Q,"calendar"),X=kt(Q,"monthYear"),ue=kt(Q,"timePicker"),j=ne=>{r.shadow||n("mount",ne)};at(l,()=>{r.shadow||setTimeout(()=>{n("recalculate-position")},0)},{deep:!0}),at(be,(ne,Z)=>{ne.count-Z.count>0&&q()},{deep:!0});const V=M(()=>ne=>g(o.value(ne),i.value(ne)).map(Z=>({...Z,days:Z.days.map(he=>(he.marker=D(he),he.classData=H(he),he))})));function ve(ne){var Z;ne||ne===0?(Z=T.value[ne])==null||Z.triggerTransition(o.value(ne),i.value(ne)):T.value.forEach((he,y)=>he.triggerTransition(o.value(y),i.value(y)))}function G(){n("update-flow-step")}const N=(ne,Z=!1)=>{F(ne,Z),r.spaceConfirm&&n("select-date")},f=(ne,Z,he=0)=>{var y;(y=we.value[he])==null||y.toggleMonthPicker(ne,Z)},P=(ne,Z,he=0)=>{var y;(y=we.value[he])==null||y.toggleYearPicker(ne,Z)},ee=(ne,Z,he)=>{var y;(y=L.value)==null||y.toggleTimePicker(ne,Z,he)},k=(ne,Z)=>{var he;if(!r.range){const y=d.value?d.value:c,K=Z?new Date(Z):y,Ae=ne?Tt(K,{weekStartsOn:1}):el(K,{weekStartsOn:1});F({value:Ae,current:Ce(K)===o.value(0),text:"",classData:{}}),(he=document.getElementById(Tl(Ae)))==null||he.focus()}},ce=ne=>{var Z;(Z=we.value[0])==null||Z.handleMonthYearChange(ne,!0)},De=ne=>{Y(0,{month:o.value(0),year:i.value(0)+(ne?1:-1),fromNav:!0})},nt=(ne,Z)=>{ne===ct.time&&n(`time-picker-${Z?"open":"close"}`),n("overlay-toggle",{open:Z,overlay:ne})},E=ne=>{n("overlay-toggle",{open:!1,overlay:ne}),n("focus-menu")};return a({clearHoverDate:de,presetDate:U,selectCurrentDate:re,toggleMonthPicker:f,toggleYearPicker:P,toggleTimePicker:ee,handleArrow:$,updateMonthYear:Y,getSidebarProps:()=>({modelValue:d,month:o,year:i,time:b,updateTime:W,updateMonthYear:Y,selectDate:F,presetDate:U}),changeMonth:ce,changeYear:De,selectWeekDate:k}),(ne,Z)=>(u(),m(pe,null,[ae(en,{"multi-calendars":s(be).count,collapse:ne.collapse,"is-mobile":ne.isMobile},{default:w(({instance:he,index:y})=>[ne.disableMonthYearSelect?x("",!0):(u(),se(of,Ye({key:0,ref:K=>{K&&(we.value[y]=K)},months:s(hl)(ne.formatLocale,ne.locale,ne.monthNameFormat),years:s(ar)(ne.yearRange,ne.locale,ne.reverseYears),month:s(o)(he),year:s(i)(he),instance:he},ne.$props,{onMount:Z[0]||(Z[0]=K=>j(s(la).header)),onResetFlow:Z[1]||(Z[1]=K=>ne.$emit("reset-flow")),onUpdateMonthYear:K=>s(Y)(he,K),onOverlayClosed:E,onOverlayOpened:Z[2]||(Z[2]=K=>ne.$emit("overlay-toggle",{open:!0,overlay:K}))}),st({_:2},[Se(s(X),(K,Ae)=>({name:K,fn:w(ie=>[_(ne.$slots,K,ut(ht(ie)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),ae(ff,Ye({ref:K=>{K&&(T.value[y]=K)},"mapped-dates":V.value(he),month:s(o)(he),year:s(i)(he),instance:he},ne.$props,{onSelectDate:K=>s(F)(K,he!==1),onHandleSpace:K=>N(K,he!==1),onSetHoverDate:Z[3]||(Z[3]=K=>s(B)(K)),onHandleScroll:K=>s(I)(K,he),onHandleSwipe:K=>s(R)(K,he),onMount:Z[4]||(Z[4]=K=>j(s(la).calendar)),onResetFlow:Z[5]||(Z[5]=K=>ne.$emit("reset-flow")),onTooltipOpen:Z[6]||(Z[6]=K=>ne.$emit("tooltip-open",K)),onTooltipClose:Z[7]||(Z[7]=K=>ne.$emit("tooltip-close",K))}),st({_:2},[Se(s(A),(K,Ae)=>({name:K,fn:w(ie=>[_(ne.$slots,K,ut(ht({...ie})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse","is-mobile"]),ne.enableTimePicker?(u(),m("div",hf,[ne.$slots["time-picker"]?_(ne.$slots,"time-picker",ut(Ye({key:0},{time:s(b),updateTime:s(W)}))):(u(),se(Ol,Ye({key:1,ref_key:"timePickerRef",ref:L},ne.$props,{hours:s(b).hours,minutes:s(b).minutes,seconds:s(b).seconds,"internal-model-value":ne.internalModelValue,"disabled-times-config":s(p),"validate-time":s(v),onMount:Z[8]||(Z[8]=he=>j(s(la).timePicker)),"onUpdate:hours":Z[9]||(Z[9]=he=>s(W)(he)),"onUpdate:minutes":Z[10]||(Z[10]=he=>s(W)(he,!1)),"onUpdate:seconds":Z[11]||(Z[11]=he=>s(W)(he,!1,!0)),onResetFlow:Z[12]||(Z[12]=he=>ne.$emit("reset-flow")),onOverlayClosed:Z[13]||(Z[13]=he=>nt(he,!1)),onOverlayOpened:Z[14]||(Z[14]=he=>nt(he,!0)),onAmPmChange:Z[15]||(Z[15]=he=>ne.$emit("am-pm-change",he))}),st({_:2},[Se(s(ue),(he,y)=>({name:he,fn:w(K=>[_(ne.$slots,he,ut(ht(K)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):x("",!0)],64))}}),gf=(e,a)=>{const t=S(),{defaultedMultiCalendars:n,defaultedConfig:r,defaultedHighlight:l,defaultedRange:o,propDates:i,defaultedFilters:d,defaultedMultiDates:b}=je(e),{modelValue:p,year:c,month:v,calendars:g}=La(e,a),{isDisabled:D}=aa(e),{selectYear:$,groupedYears:I,showYearPicker:R,isDisabled:F,toggleYearPicker:Y,handleYearSelect:U,handleYear:re}=Vl({modelValue:p,multiCalendars:n,range:o,highlight:l,calendars:g,propDates:i,month:v,year:c,filters:d,props:e,emit:a}),W=(L,A)=>[L,A].map(X=>wt(X,"MMMM",{locale:e.formatLocale})).join("-"),q=M(()=>L=>p.value?Array.isArray(p.value)?p.value.some(A=>_r(L,A)):_r(p.value,L):!1),Q=L=>{if(o.value.enabled){if(Array.isArray(p.value)){const A=Ie(L,p.value[0])||Ie(L,p.value[1]);return Ja(p.value,t.value,L)&&!A}return!1}return!1},B=(L,A)=>L.quarter===fr(A)&&L.year===Te(A),H=L=>typeof l.value=="function"?l.value({quarter:fr(L),year:Te(L)}):!!l.value.quarters.find(A=>B(A,L)),de=M(()=>L=>{const A=We(new Date,{year:c.value(L)});return Xd({start:ya(A),end:Un(A)}).map(X=>{const ue=Gt(X),j=hr(X),V=D(X),ve=Q(ue),G=H(ue);return{text:W(ue,j),value:ue,active:q.value(ue),highlighted:G,disabled:V,isBetween:ve}})}),be=L=>{or(L,p,b.value.limit),a("auto-apply",!0)},we=L=>{p.value=sr(p,L,a),tn(p.value,a,e.autoApply,e.modelAuto)},T=L=>{p.value=L,a("auto-apply")};return{defaultedConfig:r,defaultedMultiCalendars:n,groupedYears:I,year:c,isDisabled:F,quarters:de,showYearPicker:R,modelValue:p,setHoverDate:L=>{t.value=L},selectYear:$,selectQuarter:(L,A,X)=>{if(!X)return g.value[A].month=Ce(hr(L)),b.value.enabled?be(L):o.value.enabled?we(L):T(L)},toggleYearPicker:Y,handleYearSelect:U,handleYear:re}},bf={class:"dp--quarter-items"},kf=["data-test-id","disabled","onClick","onMouseover"],_f=J({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...xt},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,r=e,l=ea(),o=kt(l,"yearMode"),{defaultedMultiCalendars:i,defaultedConfig:d,groupedYears:b,year:p,isDisabled:c,quarters:v,modelValue:g,showYearPicker:D,setHoverDate:$,selectQuarter:I,toggleYearPicker:R,handleYearSelect:F,handleYear:Y}=gf(r,n);return a({getSidebarProps:()=>({modelValue:g,year:p,selectQuarter:I,handleYearSelect:F,handleYear:Y})}),(U,re)=>(u(),se(en,{"multi-calendars":s(i).count,collapse:U.collapse,stretch:"","is-mobile":U.isMobile},{default:w(({instance:W})=>[h("div",{class:"dp-quarter-picker-wrap",style:pt({minHeight:`${s(d).modeHeight}px`})},[U.$slots["top-extra"]?_(U.$slots,"top-extra",{key:0,value:U.internalModelValue}):x("",!0),h("div",null,[ae(Sl,Ye(U.$props,{items:s(b)(W),instance:W,"show-year-picker":s(D)[W],year:s(p)(W),"is-disabled":q=>s(c)(W,q),onHandleYear:q=>s(Y)(W,q),onYearSelect:q=>s(F)(q,W),onToggleYearPicker:q=>s(R)(W,q==null?void 0:q.flow,q==null?void 0:q.show)}),st({_:2},[Se(s(o),(q,Q)=>({name:q,fn:w(B=>[_(U.$slots,q,ut(ht(B)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),h("div",bf,[(u(!0),m(pe,null,Se(s(v)(W),(q,Q)=>(u(),m("div",{key:Q},[h("button",{type:"button",class:ye(["dp--qr-btn",{"dp--qr-btn-active":q.active,"dp--qr-btn-between":q.isBetween,"dp--qr-btn-disabled":q.disabled,"dp--highlighted":q.highlighted}]),"data-test-id":q.value,disabled:q.disabled,onClick:B=>s(I)(q.value,W,q.disabled),onMouseover:B=>s($)(q.value)},[U.$slots.quarter?_(U.$slots,"quarter",{key:0,value:q.value,text:q.text}):(u(),m(pe,{key:1},[Ee(fe(q.text),1)],64))],42,kf)]))),128))])],4)]),_:3},8,["multi-calendars","collapse","is-mobile"]))}}),Yl=(e,a)=>{const t=S(0);qe(()=>{n(),window.addEventListener("resize",n,{passive:!0})}),Ut(()=>{window.removeEventListener("resize",n)});const n=()=>{t.value=window.document.documentElement.clientWidth};return{isMobile:M(()=>t.value<=e.value.mobileBreakpoint&&!a?!0:void 0)}},wf=["id","tabindex","role","aria-label"],$f={key:0,class:"dp--menu-load-container"},Df={key:1,class:"dp--menu-header"},Pf=["data-dp-mobile"],Mf={key:0,class:"dp__sidebar_left"},Tf=["data-dp-mobile"],xf=["data-test-id","data-dp-mobile","onClick","onKeydown"],Sf={key:2,class:"dp__sidebar_right"},Af={key:3,class:"dp__action_extra"},Cr=J({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Za,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","menu-blur"],setup(e,{expose:a,emit:t}){const n=t,r=e,l=S(null),o=M(()=>{const{openOnTop:O,...le}=r;return{...le,isMobile:$.value,flowStep:de.value,menuWrapRef:l.value}}),{setMenuFocused:i,setShiftKey:d,control:b}=xl(),p=ea(),{defaultedTextInput:c,defaultedInline:v,defaultedConfig:g,defaultedUI:D}=je(r),{isMobile:$}=Yl(g,r.shadow),I=S(null),R=S(0),F=S(null),Y=S(!1),U=S(null),re=S(!1);qe(()=>{if(!r.shadow){Y.value=!0,W(),window.addEventListener("resize",W);const O=ot(l);if(O&&!c.value.enabled&&!v.value.enabled&&(i(!0),ue()),O){const le=$e=>{re.value=!0,g.value.allowPreventDefault&&$e.preventDefault(),Kt($e,g.value,!0)};O.addEventListener("pointerdown",le),O.addEventListener("mousedown",le)}}document.addEventListener("mousedown",Ve)}),Ut(()=>{window.removeEventListener("resize",W),document.addEventListener("mousedown",Ve)});const W=()=>{const O=ot(F);O&&(R.value=O.getBoundingClientRect().width)},{arrowRight:q,arrowLeft:Q,arrowDown:B,arrowUp:H}=ta(),{flowStep:de,updateFlowStep:be,childMount:we,resetFlow:T,handleFlow:L}=Yf(r,n,U),A=M(()=>r.monthPicker?Rm:r.yearPicker?Bm:r.timePicker?ef:r.quarterPicker?_f:yf),X=M(()=>{var O;if(g.value.arrowLeft)return g.value.arrowLeft;const le=(O=l.value)==null?void 0:O.getBoundingClientRect(),$e=r.getInputRect();return($e==null?void 0:$e.width)<(R==null?void 0:R.value)&&($e==null?void 0:$e.left)<=((le==null?void 0:le.left)??0)?`${($e==null?void 0:$e.width)/2}px`:($e==null?void 0:$e.right)>=((le==null?void 0:le.right)??0)&&($e==null?void 0:$e.width)<(R==null?void 0:R.value)?`${(R==null?void 0:R.value)-($e==null?void 0:$e.width)/2}px`:"50%"}),ue=()=>{const O=ot(l);O&&O.focus({preventScroll:!0})},j=M(()=>{var O;return((O=U.value)==null?void 0:O.getSidebarProps())||{}}),V=()=>{r.openOnTop&&n("recalculate-position")},ve=kt(p,"action"),G=M(()=>r.monthPicker||r.yearPicker?kt(p,"monthYear"):r.timePicker?kt(p,"timePicker"):kt(p,"shared")),N=M(()=>r.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),f=M(()=>({dp__menu_disabled:r.disabled,dp__menu_readonly:r.readonly,"dp-menu-loading":r.loading})),P=M(()=>({dp__menu:!0,dp__menu_index:!v.value.enabled,dp__relative:v.value.enabled,...D.value.menu??{}})),ee=O=>{Kt(O,g.value,!0)},k=()=>{r.escClose&&n("close-picker")},ce=O=>{if(r.arrowNavigation){if(O===vt.up)return H();if(O===vt.down)return B();if(O===vt.left)return Q();if(O===vt.right)return q()}else O===vt.left||O===vt.up?Z("handleArrow",vt.left,0,O===vt.up):Z("handleArrow",vt.right,0,O===vt.down)},De=O=>{d(O.shiftKey),!r.disableMonthYearSelect&&O.code===ze.tab&&O.target.classList.contains("dp__menu")&&b.value.shiftKeyInMenu&&(O.preventDefault(),Kt(O,g.value,!0),n("close-picker"))},nt=()=>{ue(),n("time-picker-close")},E=O=>{var le,$e,rt;(le=U.value)==null||le.toggleTimePicker(!1,!1),($e=U.value)==null||$e.toggleMonthPicker(!1,!1,O),(rt=U.value)==null||rt.toggleYearPicker(!1,!1,O)},ne=(O,le=0)=>{var $e,rt,St;return O==="month"?($e=U.value)==null?void 0:$e.toggleMonthPicker(!1,!0,le):O==="year"?(rt=U.value)==null?void 0:rt.toggleYearPicker(!1,!0,le):O==="time"?(St=U.value)==null?void 0:St.toggleTimePicker(!0,!1):E(le)},Z=(O,...le)=>{var $e,rt;($e=U.value)!=null&&$e[O]&&((rt=U.value)==null||rt[O](...le))},he=()=>{Z("selectCurrentDate")},y=(O,le)=>{Z("presetDate",O,le)},K=()=>{Z("clearHoverDate")},Ae=(O,le)=>{Z("updateMonthYear",O,le)},ie=(O,le)=>{O.preventDefault(),ce(le)},Re=O=>{var le,$e,rt;if(De(O),O.key===ze.home||O.key===ze.end)return Z("selectWeekDate",O.key===ze.home,O.target.getAttribute("id"));switch((O.key===ze.pageUp||O.key===ze.pageDown)&&(O.shiftKey?(Z("changeYear",O.key===ze.pageUp),(le=On(l.value,"overlay-year"))==null||le.focus()):(Z("changeMonth",O.key===ze.pageUp),($e=On(l.value,O.key===ze.pageUp?"action-prev":"action-next"))==null||$e.focus()),O.target.getAttribute("id")&&((rt=l.value)==null||rt.focus({preventScroll:!0}))),O.key){case ze.esc:return k();case ze.arrowLeft:return ie(O,vt.left);case ze.arrowRight:return ie(O,vt.right);case ze.arrowUp:return ie(O,vt.up);case ze.arrowDown:return ie(O,vt.down);default:return}},Ve=O=>{var le;v.value.enabled&&!v.value.input&&!((le=l.value)!=null&&le.contains(O.target))&&re.value&&(re.value=!1,n("menu-blur"))};return a({updateMonthYear:Ae,switchView:ne,handleFlow:L}),(O,le)=>{var $e,rt,St;return u(),m("div",{id:O.uid?`dp-menu-${O.uid}`:void 0,ref_key:"dpMenuRef",ref:l,tabindex:s(v).enabled?void 0:"0",role:s(v).enabled?void 0:"dialog","aria-label":($e=O.ariaLabels)==null?void 0:$e.menu,class:ye(P.value),style:pt({"--dp-arrow-left":X.value}),onMouseleave:K,onClick:ee,onKeydown:Re},[(O.disabled||O.readonly)&&s(v).enabled||O.loading?(u(),m("div",{key:0,class:ye(f.value)},[O.loading?(u(),m("div",$f,le[19]||(le[19]=[h("span",{class:"dp--menu-loader"},null,-1)]))):x("",!0)],2)):x("",!0),O.$slots["menu-header"]?(u(),m("div",Df,[_(O.$slots,"menu-header")])):x("",!0),!s(v).enabled&&!O.teleportCenter?(u(),m("div",{key:2,class:ye(N.value)},null,2)):x("",!0),h("div",{ref_key:"innerMenuRef",ref:F,class:ye({dp__menu_content_wrapper:((rt=O.presetDates)==null?void 0:rt.length)||!!O.$slots["left-sidebar"]||!!O.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((St=O.presetDates)==null?void 0:St.length)||!!O.$slots["left-sidebar"]||!!O.$slots["right-sidebar"])}),"data-dp-mobile":s($),style:pt({"--dp-menu-width":`${R.value}px`})},[O.$slots["left-sidebar"]?(u(),m("div",Mf,[_(O.$slots,"left-sidebar",ut(ht(j.value)))])):x("",!0),O.presetDates.length?(u(),m("div",{key:1,class:ye({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0}),"data-dp-mobile":s($)},[(u(!0),m(pe,null,Se(O.presetDates,(Pe,At)=>(u(),m(pe,{key:At},[Pe.slot?_(O.$slots,Pe.slot,{key:0,presetDate:y,label:Pe.label,value:Pe.value}):(u(),m("button",{key:1,type:"button",style:pt(Pe.style||{}),class:ye(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test-id":Pe.testId??void 0,"data-dp-mobile":s($),onClick:ia(Ke=>y(Pe.value,Pe.noTz),["prevent"]),onKeydown:Ke=>s(mt)(Ke,()=>y(Pe.value,Pe.noTz),!0)},fe(Pe.label),47,xf))],64))),128))],10,Tf)):x("",!0),h("div",{ref_key:"calendarWrapperRef",ref:I,class:"dp__instance_calendar",role:"document"},[(u(),se(yt(A.value),Ye({ref_key:"dynCmpRef",ref:U},o.value,{"flow-step":s(de),onMount:s(we),onUpdateFlowStep:s(be),onResetFlow:s(T),onFocusMenu:ue,onSelectDate:le[0]||(le[0]=Pe=>O.$emit("select-date")),onDateUpdate:le[1]||(le[1]=Pe=>O.$emit("date-update",Pe)),onTooltipOpen:le[2]||(le[2]=Pe=>O.$emit("tooltip-open",Pe)),onTooltipClose:le[3]||(le[3]=Pe=>O.$emit("tooltip-close",Pe)),onAutoApply:le[4]||(le[4]=Pe=>O.$emit("auto-apply",Pe)),onRangeStart:le[5]||(le[5]=Pe=>O.$emit("range-start",Pe)),onRangeEnd:le[6]||(le[6]=Pe=>O.$emit("range-end",Pe)),onInvalidFixedRange:le[7]||(le[7]=Pe=>O.$emit("invalid-fixed-range",Pe)),onTimeUpdate:le[8]||(le[8]=Pe=>O.$emit("time-update")),onAmPmChange:le[9]||(le[9]=Pe=>O.$emit("am-pm-change",Pe)),onTimePickerOpen:le[10]||(le[10]=Pe=>O.$emit("time-picker-open",Pe)),onTimePickerClose:nt,onRecalculatePosition:V,onUpdateMonthYear:le[11]||(le[11]=Pe=>O.$emit("update-month-year",Pe)),onAutoApplyInvalid:le[12]||(le[12]=Pe=>O.$emit("auto-apply-invalid",Pe)),onInvalidDate:le[13]||(le[13]=Pe=>O.$emit("invalid-date",Pe)),onOverlayToggle:le[14]||(le[14]=Pe=>O.$emit("overlay-toggle",Pe)),"onUpdate:internalModelValue":le[15]||(le[15]=Pe=>O.$emit("update:internal-model-value",Pe))}),st({_:2},[Se(G.value,(Pe,At)=>({name:Pe,fn:w(Ke=>[_(O.$slots,Pe,ut(ht({...Ke})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),O.$slots["right-sidebar"]?(u(),m("div",Sf,[_(O.$slots,"right-sidebar",ut(ht(j.value)))])):x("",!0),O.$slots["action-extra"]?(u(),m("div",Af,[O.$slots["action-extra"]?_(O.$slots,"action-extra",{key:0,selectCurrentDate:he}):x("",!0)])):x("",!0)],14,Pf),!O.autoApply||s(g).keepActionRow?(u(),se(Sm,Ye({key:3,"menu-mount":Y.value},o.value,{"calendar-width":R.value,onClosePicker:le[16]||(le[16]=Pe=>O.$emit("close-picker")),onSelectDate:le[17]||(le[17]=Pe=>O.$emit("select-date")),onInvalidSelect:le[18]||(le[18]=Pe=>O.$emit("invalid-select")),onSelectNow:he}),st({_:2},[Se(s(ve),(Pe,At)=>({name:Pe,fn:w(Ke=>[_(O.$slots,Pe,ut(ht({...Ke})))])}))]),1040,["menu-mount","calendar-width"])):x("",!0)],46,wf)}}});var fa=(e=>(e.center="center",e.left="left",e.right="right",e))(fa||{});const Cf=({menuRef:e,menuRefInner:a,inputRef:t,pickerWrapperRef:n,inline:r,emit:l,props:o,slots:i})=>{const{defaultedConfig:d}=je(o),b=S({}),p=S(!1),c=S({top:"0",left:"0"}),v=S(!1),g=xa(o,"teleportCenter");at(g,()=>{c.value=JSON.parse(JSON.stringify({})),re()});const D=A=>{if(o.teleport){const X=A.getBoundingClientRect();return{left:X.left+window.scrollX,top:X.top+window.scrollY}}return{top:0,left:0}},$=(A,X)=>{c.value.left=`${A+X-b.value.width}px`},I=A=>{c.value.left=`${A}px`},R=(A,X)=>{o.position===fa.left&&I(A),o.position===fa.right&&$(A,X),o.position===fa.center&&(c.value.left=`${A+X/2-b.value.width/2}px`)},F=A=>{const{width:X,height:ue}=A.getBoundingClientRect(),{top:j,left:V}=D(A);return{top:+j,left:+V,width:X,height:ue}},Y=()=>{c.value.left="50%",c.value.top="50%",c.value.transform="translate(-50%, -50%)",c.value.position="fixed",delete c.value.opacity},U=()=>{const A=ot(t);c.value=o.altPosition(A)},re=(A=!0)=>{var X;if(!r.value.enabled){if(g.value)return Y();if(o.altPosition!==null)return U();if(A){const ue=o.teleport?(X=a.value)==null?void 0:X.$el:e.value;ue&&(b.value=ue.getBoundingClientRect()),l("recalculate-position")}return be()}},W=({inputEl:A,left:X,width:ue})=>{window.screen.width>768&&!p.value&&R(X,ue),B(A)},q=A=>{const{top:X,left:ue,height:j,width:V}=F(A);c.value.top=`${j+X+ +o.offset}px`,v.value=!1,p.value||(c.value.left=`${ue+V/2-b.value.width/2}px`),W({inputEl:A,left:ue,width:V})},Q=A=>{const{top:X,left:ue,width:j}=F(A);c.value.top=`${X-+o.offset-b.value.height}px`,v.value=!0,W({inputEl:A,left:ue,width:j})},B=A=>{if(o.autoPosition){const{left:X,width:ue}=F(A),{left:j,right:V}=b.value;if(!p.value){if(Math.abs(j)!==Math.abs(V)){if(j<=0)return p.value=!0,I(X);if(V>=document.documentElement.clientWidth)return p.value=!0,$(X,ue)}return R(X,ue)}}},H=()=>{const A=ot(t);if(A){if(o.autoPosition===Pt.top)return Pt.top;if(o.autoPosition===Pt.bottom)return Pt.bottom;const{height:X}=b.value,{top:ue,height:j}=A.getBoundingClientRect(),V=window.innerHeight-ue-j,ve=ue;return X<=V?Pt.bottom:X>V&&X<=ve?Pt.top:V>=ve?Pt.bottom:Pt.top}return Pt.bottom},de=A=>H()===Pt.bottom?q(A):Q(A),be=()=>{const A=ot(t);if(A)return o.autoPosition?de(A):q(A)},we=function(A){if(A){const X=A.scrollHeight>A.clientHeight,ue=window.getComputedStyle(A).overflowY.indexOf("hidden")!==-1;return X&&!ue}return!0},T=function(A){return!A||A===document.body||A.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:we(A)?A:T(A.assignedSlot&&d.value.shadowDom?A.assignedSlot.parentNode:A.parentNode)},L=A=>{if(A)switch(o.position){case fa.left:return{left:0,transform:"translateX(0)"};case fa.right:return{left:`${A.width}px`,transform:"translateX(-100%)"};default:return{left:`${A.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:v,menuStyle:c,xCorrect:p,setMenuPosition:re,getScrollableParent:T,shadowRender:(A,X)=>{var ue,j,V;const ve=document.createElement("div"),G=(ue=ot(t))==null?void 0:ue.getBoundingClientRect();ve.setAttribute("id","dp--temp-container");const N=(j=n.value)!=null&&j.clientWidth?n.value:document.body;N.append(ve);const f=L(G),P=d.value.shadowDom?Object.keys(i).filter(k=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(k)):Object.keys(i),ee=Gl(A,{...X,shadow:!0,style:{opacity:0,position:"absolute",...f}},Object.fromEntries(P.map(k=>[k,i[k]])));ur(ee,ve),b.value=(V=ee.el)==null?void 0:V.getBoundingClientRect(),ur(null,ve),N.removeChild(ve)}}},Qt=[{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"]}],Vf=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],Of={all:()=>Qt,monthYear:()=>Qt.filter(e=>e.use.includes("month-year")),input:()=>Vf,timePicker:()=>Qt.filter(e=>e.use.includes("time")),action:()=>Qt.filter(e=>e.use.includes("action")),calendar:()=>Qt.filter(e=>e.use.includes("calendar")),menu:()=>Qt.filter(e=>e.use.includes("menu")),shared:()=>Qt.filter(e=>e.use.includes("shared")),yearMode:()=>Qt.filter(e=>e.use.includes("year-mode"))},kt=(e,a,t)=>{const n=[];return Of[a]().forEach(r=>{e[r.name]&&n.push(r.name)}),t!=null&&t.length&&t.forEach(r=>{r.slot&&n.push(r.slot)}),n},Ya=e=>{const a=M(()=>n=>e.value?n?e.value.open:e.value.close:""),t=M(()=>n=>e.value?n?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:t}},La=(e,a,t)=>{const{defaultedRange:n,defaultedTz:r}=je(e),l=te(gt(te(),r.value.timezone)),o=S([{month:Ce(l),year:Te(l)}]),i=v=>{const g={hours:Et(l),minutes:Zt(l),seconds:0};return n.value.enabled?[g[v],g[v]]:g[v]},d=Ca({hours:i("hours"),minutes:i("minutes"),seconds:i("seconds")});at(n,(v,g)=>{v.enabled!==g.enabled&&(d.hours=i("hours"),d.minutes=i("minutes"),d.seconds=i("seconds"))},{deep:!0});const b=M({get:()=>e.internalModelValue,set:v=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",v)}}),p=M(()=>v=>o.value[v]?o.value[v].month:0),c=M(()=>v=>o.value[v]?o.value[v].year:0);return at(b,(v,g)=>{t&&JSON.stringify(v??{})!==JSON.stringify(g??{})&&t()},{deep:!0}),{calendars:o,time:d,modelValue:b,month:p,year:c,today:l}},If=(e,a)=>{const{defaultedMultiCalendars:t,defaultedMultiDates:n,defaultedUI:r,defaultedHighlight:l,defaultedTz:o,propDates:i,defaultedRange:d}=je(a),{isDisabled:b}=aa(a),p=S(null),c=S(gt(new Date,o.value.timezone)),v=f=>{!f.current&&a.hideOffsetDates||(p.value=f.value)},g=()=>{p.value=null},D=f=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&p.value?f?Ze(p.value,e.value[0]):Ge(p.value,e.value[0]):!0,$=(f,P)=>{const ee=()=>e.value?P?e.value[0]||null:e.value[1]:null,k=e.value&&Array.isArray(e.value)?ee():null;return Ie(te(f.value),k)},I=f=>{const P=Array.isArray(e.value)?e.value[0]:null;return f?!Ge(p.value??null,P):!0},R=(f,P=!0)=>(d.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!f.current?!1:Ie(te(f.value),e.value[P?0:1]):d.value.enabled?$(f,P)&&I(P)||Ie(f.value,Array.isArray(e.value)?e.value[0]:null)&&D(P):!1,F=(f,P)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const ee=Ie(f.value,p.value);return P?Ze(e.value[0],f.value)&&ee:Ge(e.value[0],f.value)&&ee}return!1},Y=f=>!e.value||a.hideOffsetDates&&!f.current?!1:d.value.enabled?a.modelAuto&&Array.isArray(e.value)?Ie(f.value,e.value[0]?e.value[0]:c.value):!1:n.value.enabled&&Array.isArray(e.value)?e.value.some(P=>Ie(P,f.value)):Ie(f.value,e.value?e.value:c.value),U=f=>{if(d.value.autoRange||a.weekPicker){if(p.value){if(a.hideOffsetDates&&!f.current)return!1;const P=lt(p.value,+d.value.autoRange),ee=Ht(te(p.value),a.weekStart);return a.weekPicker?Ie(ee[1],te(f.value)):Ie(P,te(f.value))}return!1}return!1},re=f=>{if(d.value.autoRange||a.weekPicker){if(p.value){const P=lt(p.value,+d.value.autoRange);if(a.hideOffsetDates&&!f.current)return!1;const ee=Ht(te(p.value),a.weekStart);return a.weekPicker?Ze(f.value,ee[0])&&Ge(f.value,ee[1]):Ze(f.value,p.value)&&Ge(f.value,P)}return!1}return!1},W=f=>{if(d.value.autoRange||a.weekPicker){if(p.value){if(a.hideOffsetDates&&!f.current)return!1;const P=Ht(te(p.value),a.weekStart);return a.weekPicker?Ie(P[0],f.value):Ie(p.value,f.value)}return!1}return!1},q=f=>Ja(e.value,p.value,f.value),Q=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,B=()=>a.modelAuto?yl(a.internalModelValue):!0,H=f=>{if(a.weekPicker)return!1;const P=d.value.enabled?!R(f)&&!R(f,!1):!0;return!b(f.value)&&!Y(f)&&!(!f.current&&a.hideOffsetDates)&&P},de=f=>d.value.enabled?a.modelAuto?Q()&&Y(f):!1:Y(f),be=f=>l.value?Zv(f.value,i.value.highlight):!1,we=f=>{const P=b(f.value);return P&&(typeof l.value=="function"?!l.value(f.value,P):!l.value.options.highlightDisabled)},T=f=>{var P;return typeof l.value=="function"?l.value(f.value):(P=l.value.weekdays)==null?void 0:P.includes(f.value.getDay())},L=f=>(d.value.enabled||a.weekPicker)&&(!(t.value.count>0)||f.current)&&B()&&!(!f.current&&a.hideOffsetDates)&&!Y(f)?q(f):!1,A=f=>{const{isRangeStart:P,isRangeEnd:ee}=V(f),k=d.value.enabled?P||ee:!1;return{dp__cell_offset:!f.current,dp__pointer:!a.disabled&&!(!f.current&&a.hideOffsetDates)&&!b(f.value),dp__cell_disabled:b(f.value),dp__cell_highlight:!we(f)&&(be(f)||T(f))&&!de(f)&&!k&&!W(f)&&!(L(f)&&a.weekPicker)&&!ee,dp__cell_highlight_active:!we(f)&&(be(f)||T(f))&&de(f),dp__today:!a.noToday&&Ie(f.value,c.value)&&f.current,"dp--past":Ge(f.value,c.value),"dp--future":Ze(f.value,c.value)}},X=f=>({dp__active_date:de(f),dp__date_hover:H(f)}),ue=f=>{if(e.value&&!Array.isArray(e.value)){const P=Ht(e.value,a.weekStart);return{...G(f),dp__range_start:Ie(P[0],f.value),dp__range_end:Ie(P[1],f.value),dp__range_between_week:Ze(f.value,P[0])&&Ge(f.value,P[1])}}return{...G(f)}},j=f=>{if(e.value&&Array.isArray(e.value)){const P=Ht(e.value[0],a.weekStart),ee=e.value[1]?Ht(e.value[1],a.weekStart):[];return{...G(f),dp__range_start:Ie(P[0],f.value)||Ie(ee[0],f.value),dp__range_end:Ie(P[1],f.value)||Ie(ee[1],f.value),dp__range_between_week:Ze(f.value,P[0])&&Ge(f.value,P[1])||Ze(f.value,ee[0])&&Ge(f.value,ee[1]),dp__range_between:Ze(f.value,P[1])&&Ge(f.value,ee[0])}}return{...G(f)}},V=f=>{const P=t.value.count>0?f.current&&R(f)&&B():R(f)&&B(),ee=t.value.count>0?f.current&&R(f,!1)&&B():R(f,!1)&&B();return{isRangeStart:P,isRangeEnd:ee}},ve=f=>{const{isRangeStart:P,isRangeEnd:ee}=V(f);return{dp__range_start:P,dp__range_end:ee,dp__range_between:L(f),dp__date_hover:Ie(f.value,p.value)&&!P&&!ee&&!a.weekPicker,dp__date_hover_start:F(f,!0),dp__date_hover_end:F(f,!1)}},G=f=>({...ve(f),dp__cell_auto_range:re(f),dp__cell_auto_range_start:W(f),dp__cell_auto_range_end:U(f)}),N=f=>d.value.enabled?d.value.autoRange?G(f):a.modelAuto?{...X(f),...ve(f)}:a.weekPicker?j(f):ve(f):a.weekPicker?ue(f):X(f);return{setHoverDate:v,clearHoverDate:g,getDayClassData:f=>a.hideOffsetDates&&!f.current?{}:{...A(f),...N(f),[a.dayClass?a.dayClass(f.value,a.internalModelValue):""]:!0,...r.value.calendarCell??{}}}},aa=e=>{const{defaultedFilters:a,defaultedRange:t,propDates:n,defaultedMultiDates:r}=je(e),l=T=>n.value.disabledDates?typeof n.value.disabledDates=="function"?n.value.disabledDates(te(T)):!!za(T,n.value.disabledDates):!1,o=T=>n.value.maxDate?e.yearPicker?Te(T)>Te(n.value.maxDate):Ze(T,n.value.maxDate):!1,i=T=>n.value.minDate?e.yearPicker?Te(T){const L=o(T),A=i(T),X=l(T),ue=a.value.months.map(N=>+N).includes(Ce(T)),j=e.disabledWeekDays.length?e.disabledWeekDays.some(N=>+N===Ec(T)):!1,V=g(T),ve=Te(T),G=ve<+e.yearRange[0]||ve>+e.yearRange[1];return!(L||A||X||ue||G||j||V)},b=(T,L)=>Ge(...Xt(n.value.minDate,T,L))||Ie(...Xt(n.value.minDate,T,L)),p=(T,L)=>Ze(...Xt(n.value.maxDate,T,L))||Ie(...Xt(n.value.maxDate,T,L)),c=(T,L,A)=>{let X=!1;return n.value.maxDate&&A&&p(T,L)&&(X=!0),n.value.minDate&&!A&&b(T,L)&&(X=!0),X},v=(T,L,A,X)=>{let ue=!1;return X&&(n.value.minDate||n.value.maxDate)?n.value.minDate&&n.value.maxDate?ue=c(T,L,A):(n.value.minDate&&b(T,L)||n.value.maxDate&&p(T,L))&&(ue=!0):ue=!0,ue},g=T=>Array.isArray(n.value.allowedDates)&&!n.value.allowedDates.length?!0:n.value.allowedDates?!za(T,n.value.allowedDates):!1,D=T=>!d(T),$=T=>t.value.noDisabledRange?!Zr({start:T[0],end:T[1]}).some(L=>D(L)):!0,I=T=>{if(T){const L=Te(T);return L>=+e.yearRange[0]&&L<=e.yearRange[1]}return!0},R=(T,L)=>!!(Array.isArray(T)&&T[L]&&(t.value.maxRange||t.value.minRange)&&I(T[L])),F=(T,L,A=0)=>{if(R(L,A)&&I(T)){const X=Xr(T,L[A]),ue=wl(L[A],T),j=ue.length===1?0:ue.filter(ve=>D(ve)).length,V=Math.abs(X)-(t.value.minMaxRawRange?0:j);if(t.value.minRange&&t.value.maxRange)return V>=+t.value.minRange&&V<=+t.value.maxRange;if(t.value.minRange)return V>=+t.value.minRange;if(t.value.maxRange)return V<=+t.value.maxRange}return!0},Y=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,U=T=>Array.isArray(T)?[T[0]?yn(T[0]):null,T[1]?yn(T[1]):null]:yn(T),re=(T,L,A)=>T.find(X=>+X.hours===Et(L)&&X.minutes==="*"?!0:+X.minutes===Zt(L)&&+X.hours===Et(L))&&A,W=(T,L,A)=>{const[X,ue]=T,[j,V]=L;return!re(X,j,A)&&!re(ue,V,A)&&A},q=(T,L)=>{const A=Array.isArray(L)?L:[L];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?W(e.disabledTimes,A,T):!A.some(X=>re(e.disabledTimes,X,T)):T},Q=(T,L)=>{const A=Array.isArray(L)?[oa(L[0]),L[1]?oa(L[1]):void 0]:oa(L),X=!e.disabledTimes(A);return T&&X},B=(T,L)=>e.disabledTimes?Array.isArray(e.disabledTimes)?q(L,T):Q(L,T):L,H=T=>{let L=!0;if(!T||Y())return!0;const A=!n.value.minDate&&!n.value.maxDate?U(T):T;return(e.maxTime||n.value.maxDate)&&(L=Tr(e.maxTime,n.value.maxDate,"max",it(A),L)),(e.minTime||n.value.minDate)&&(L=Tr(e.minTime,n.value.minDate,"min",it(A),L)),B(T,L)},de=T=>{if(!e.monthPicker)return!0;let L=!0;const A=te(Mt(T));if(n.value.minDate&&n.value.maxDate){const X=te(Mt(n.value.minDate)),ue=te(Mt(n.value.maxDate));return Ze(A,X)&&Ge(A,ue)||Ie(A,X)||Ie(A,ue)}if(n.value.minDate){const X=te(Mt(n.value.minDate));L=Ze(A,X)||Ie(A,X)}if(n.value.maxDate){const X=te(Mt(n.value.maxDate));L=Ge(A,X)||Ie(A,X)}return L},be=M(()=>T=>!e.enableTimePicker||e.ignoreTimeValidation?!0:H(T)),we=M(()=>T=>e.monthPicker?Array.isArray(T)&&(t.value.enabled||r.value.enabled)?!T.filter(L=>!de(L)).length:de(T):!0);return{isDisabled:D,validateDate:d,validateMonthYearInRange:v,isDateRangeAllowed:$,checkMinMaxRange:F,isValidTime:H,isTimeValid:be,isMonthValid:we}},an=()=>{const e=M(()=>(n,r)=>n==null?void 0:n.includes(r)),a=M(()=>(n,r)=>n.count?n.solo?!0:r===0:!0),t=M(()=>(n,r)=>n.count?n.solo?!0:r===n.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:t}},Yf=(e,a,t)=>{const n=S(0),r=Ca({[la.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[la.calendar]:!1,[la.header]:!1}),l=M(()=>e.monthPicker||e.timePicker),o=c=>{var v;if((v=e.flow)!=null&&v.length){if(!c&&l.value)return p();r[c]=!0,Object.keys(r).filter(g=>!r[g]).length||p()}},i=()=>{var c,v;(c=e.flow)!=null&&c.length&&n.value!==-1&&(n.value+=1,a("flow-step",n.value),p()),((v=e.flow)==null?void 0:v.length)===n.value&&bt().then(()=>d())},d=()=>{n.value=-1},b=(c,v,...g)=>{var D,$;e.flow[n.value]===c&&t.value&&(($=(D=t.value)[v])==null||$.call(D,...g))},p=(c=0)=>{c&&(n.value+=c),b(ct.month,"toggleMonthPicker",!0),b(ct.year,"toggleYearPicker",!0),b(ct.calendar,"toggleTimePicker",!1,!0),b(ct.time,"toggleTimePicker",!0,!0);const v=e.flow[n.value];(v===ct.hours||v===ct.minutes||v===ct.seconds)&&b(v,"toggleTimePicker",!0,!0,v)};return{childMount:o,updateFlowStep:i,resetFlow:d,handleFlow:p,flowStep:n}},Lf={key:1,class:"dp__input_wrap"},Nf=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],Rf={key:2,class:"dp--clear-btn"},Hf=["aria-label"],Bf=J({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Za},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,r=e,{defaultedTextInput:l,defaultedAriaLabels:o,defaultedInline:i,defaultedConfig:d,defaultedRange:b,defaultedMultiDates:p,defaultedUI:c,getDefaultPattern:v,getDefaultStartTime:g}=je(r),{checkMinMaxRange:D}=aa(r),$=S(),I=S(null),R=S(!1),F=S(!1),Y=M(()=>({dp__pointer:!r.disabled&&!r.readonly&&!l.value.enabled,dp__disabled:r.disabled,dp__input_readonly:!l.value.enabled,dp__input:!0,dp__input_icon_pad:!r.hideInputIcon,dp__input_valid:typeof r.state=="boolean"?r.state:!1,dp__input_invalid:typeof r.state=="boolean"?!r.state:!1,dp__input_focus:R.value||r.isMenuOpen,dp__input_reg:!l.value.enabled,...c.value.input??{}})),U=()=>{n("set-input-date",null),r.clearable&&r.autoApply&&(n("set-empty-date"),$.value=null)},re=V=>{const ve=g();return em(V,l.value.format??v(),ve??$l({},r.enableSeconds),r.inputValue,F.value,r.formatLocale)},W=V=>{const{rangeSeparator:ve}=l.value,[G,N]=V.split(`${ve}`);if(G){const f=re(G.trim()),P=N?re(N.trim()):null;if(ba(f,P))return;const ee=f&&P?[f,P]:[f];D(P,ee,0)&&($.value=f?ee:null)}},q=()=>{F.value=!0},Q=V=>{if(b.value.enabled)W(V);else if(p.value.enabled){const ve=V.split(";");$.value=ve.map(G=>re(G.trim())).filter(G=>G)}else $.value=re(V)},B=V=>{var ve;const G=typeof V=="string"?V:(ve=V.target)==null?void 0:ve.value;G!==""?(l.value.openMenu&&!r.isMenuOpen&&n("open"),Q(G),n("set-input-date",$.value)):U(),F.value=!1,n("update:input-value",G),n("text-input",V,$.value)},H=V=>{l.value.enabled?(Q(V.target.value),l.value.enterSubmit&&In($.value)&&r.inputValue!==""?(n("set-input-date",$.value,!0),$.value=null):l.value.enterSubmit&&r.inputValue===""&&($.value=null,n("clear"))):we(V)},de=(V,ve)=>{l.value.enabled&&l.value.tabSubmit&&!ve&&Q(V.target.value),l.value.tabSubmit&&In($.value)&&r.inputValue!==""?(n("set-input-date",$.value,!0,!0),$.value=null):l.value.tabSubmit&&r.inputValue===""&&($.value=null,n("clear",!0))},be=()=>{R.value=!0,n("focus"),bt().then(()=>{var V;l.value.enabled&&l.value.selectOnFocus&&((V=I.value)==null||V.select())})},we=V=>{if(Kt(V,d.value,!0),l.value.enabled&&l.value.openMenu&&!i.value.input){if(l.value.openMenu==="open"&&!r.isMenuOpen)return n("open");if(l.value.openMenu==="toggle")return n("toggle")}else l.value.enabled||n("toggle")},T=()=>{n("real-blur"),R.value=!1,(!r.isMenuOpen||i.value.enabled&&i.value.input)&&n("blur"),r.autoApply&&l.value.enabled&&$.value&&!r.isMenuOpen&&(n("set-input-date",$.value),n("select-date"),$.value=null)},L=V=>{Kt(V,d.value,!0),n("clear")},A=V=>{if(V.key==="Tab"&&de(V),V.key==="Enter"&&H(V),!l.value.enabled){if(V.code==="Tab")return;V.preventDefault()}},X=()=>{var V;(V=I.value)==null||V.focus({preventScroll:!0})},ue=V=>{$.value=V},j=V=>{V.key===ze.tab&&de(V,!0)};return a({focusInput:X,setParsedDate:ue}),(V,ve)=>{var G,N,f;return u(),m("div",{onClick:we},[V.$slots.trigger&&!V.$slots["dp-input"]&&!s(i).enabled?_(V.$slots,"trigger",{key:0}):x("",!0),!V.$slots.trigger&&(!s(i).enabled||s(i).input)?(u(),m("div",Lf,[V.$slots["dp-input"]&&!V.$slots.trigger&&(!s(i).enabled||s(i).enabled&&s(i).input)?_(V.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:B,onEnter:H,onTab:de,onClear:L,onBlur:T,onKeypress:A,onPaste:q,onFocus:be,openMenu:()=>V.$emit("open"),closeMenu:()=>V.$emit("close"),toggleMenu:()=>V.$emit("toggle")}):x("",!0),V.$slots["dp-input"]?x("",!0):(u(),m("input",{key:1,id:V.uid?`dp-input-${V.uid}`:void 0,ref_key:"inputRef",ref:I,"data-test-id":"dp-input",name:V.name,class:ye(Y.value),inputmode:s(l).enabled?"text":"none",placeholder:V.placeholder,disabled:V.disabled,readonly:V.readonly,required:V.required,value:e.inputValue,autocomplete:V.autocomplete,"aria-label":(G=s(o))==null?void 0:G.input,"aria-disabled":V.disabled||void 0,"aria-invalid":V.state===!1?!0:void 0,onInput:B,onBlur:T,onFocus:be,onKeypress:A,onKeydown:ve[0]||(ve[0]=P=>A(P)),onPaste:q},null,42,Nf)),h("div",{onClick:ve[3]||(ve[3]=P=>n("toggle"))},[V.$slots["input-icon"]&&!V.hideInputIcon?(u(),m("span",{key:0,class:"dp__input_icon",onClick:ve[1]||(ve[1]=P=>n("toggle"))},[_(V.$slots,"input-icon")])):x("",!0),!V.$slots["input-icon"]&&!V.hideInputIcon&&!V.$slots["dp-input"]?(u(),se(s(wa),{key:1,"aria-label":(N=s(o))==null?void 0:N.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:ve[2]||(ve[2]=P=>n("toggle"))},null,8,["aria-label"])):x("",!0)]),V.$slots["clear-icon"]&&e.inputValue&&V.clearable&&!V.disabled&&!V.readonly?(u(),m("span",Rf,[_(V.$slots,"clear-icon",{clear:L})])):x("",!0),V.clearable&&!V.$slots["clear-icon"]&&e.inputValue&&!V.disabled&&!V.readonly?(u(),m("button",{key:3,"aria-label":(f=s(o))==null?void 0:f.clearInput,class:"dp--clear-btn",type:"button",onKeydown:ve[4]||(ve[4]=P=>s(mt)(P,()=>L(P),!0,j)),onClick:ve[5]||(ve[5]=ia(P=>L(P),["prevent"]))},[ae(s(pl),{class:"dp__input_icons","data-test-id":"clear-icon"})],40,Hf)):x("",!0)])):x("",!0)])}}}),Ef=typeof window<"u"?window:void 0,$n=()=>{},Ff=e=>Jl()?(Zl(e),!0):!1,Wf=(e,a,t,n)=>{if(!e)return $n;let r=$n;const l=at(()=>s(e),i=>{r(),i&&(i.addEventListener(a,t,n),r=()=>{i.removeEventListener(a,t,n),r=$n})},{immediate:!0,flush:"post"}),o=()=>{l(),r()};return Ff(o),o},Uf=(e,a,t,n={})=>{const{window:r=Ef,event:l="pointerdown"}=n;return r?Wf(r,l,o=>{const i=ot(e),d=ot(a);!i||!d||i===o.target||o.composedPath().includes(i)||o.composedPath().includes(d)||t(o)},{passive:!0}):void 0},zf=["data-dp-mobile"],qf=J({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Za},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,r=e,l=ea(),o=S(!1),i=xa(r,"modelValue"),d=xa(r,"timezone"),b=S(null),p=S(null),c=S(null),v=S(!1),g=S(null),D=S(!1),$=S(!1),I=S(!1),R=S(!1),{setMenuFocused:F,setShiftKey:Y}=xl(),{clearArrowNav:U}=ta(),{validateDate:re,isValidTime:W}=aa(r),{defaultedTransitions:q,defaultedTextInput:Q,defaultedInline:B,defaultedConfig:H,defaultedRange:de,defaultedMultiDates:be}=je(r),{menuTransition:we,showTransition:T}=Ya(q),{isMobile:L}=Yl(H);qe(()=>{ee(r.modelValue),bt().then(()=>{if(!B.value.enabled){const z=G(g.value);z==null||z.addEventListener("scroll",K),window==null||window.addEventListener("resize",Ae)}}),B.value.enabled&&(o.value=!0),window==null||window.addEventListener("keyup",ie),window==null||window.addEventListener("keydown",Re)}),Ut(()=>{if(!B.value.enabled){const z=G(g.value);z==null||z.removeEventListener("scroll",K),window==null||window.removeEventListener("resize",Ae)}window==null||window.removeEventListener("keyup",ie),window==null||window.removeEventListener("keydown",Re)});const A=kt(l,"all",r.presetDates),X=kt(l,"input");at([i,d],()=>{ee(i.value)},{deep:!0});const{openOnTop:ue,menuStyle:j,xCorrect:V,setMenuPosition:ve,getScrollableParent:G,shadowRender:N}=Cf({menuRef:b,menuRefInner:p,inputRef:c,pickerWrapperRef:g,inline:B,emit:n,props:r,slots:l}),{inputValue:f,internalModelValue:P,parseExternalModelValue:ee,emitModelValue:k,formatInputValue:ce,checkBeforeEmit:De}=Pm(n,r,v),nt=M(()=>({dp__main:!0,dp__theme_dark:r.dark,dp__theme_light:!r.dark,dp__flex_display:B.value.enabled,"dp--flex-display-collapsed":I.value,dp__flex_display_with_input:B.value.input})),E=M(()=>r.dark?"dp__theme_dark":"dp__theme_light"),ne=M(()=>r.teleport?{to:typeof r.teleport=="boolean"?"body":r.teleport,disabled:!r.teleport||B.value.enabled}:{}),Z=M(()=>({class:"dp__outer_menu_wrap"})),he=M(()=>B.value.enabled&&(r.timePicker||r.monthPicker||r.yearPicker||r.quarterPicker)),y=()=>{var z,me;return((me=(z=c.value)==null?void 0:z.$el)==null?void 0:me.getBoundingClientRect())??{width:0,left:0,right:0}},K=()=>{o.value&&(H.value.closeOnScroll?Ke():ve())},Ae=()=>{var z;o.value&&ve();const me=((z=p.value)==null?void 0:z.$el.getBoundingClientRect().width)??0;I.value=document.body.offsetWidth<=me},ie=z=>{z.key==="Tab"&&!B.value.enabled&&!r.teleport&&H.value.tabOutClosesMenu&&(g.value.contains(document.activeElement)||Ke()),$.value=z.shiftKey},Re=z=>{$.value=z.shiftKey},Ve=()=>{!r.disabled&&!r.readonly&&(N(Cr,r),ve(!1),o.value=!0,o.value&&n("open"),o.value||At(),ee(r.modelValue))},O=()=>{var z;f.value="",At(),(z=c.value)==null||z.setParsedDate(null),n("update:model-value",null),n("update:model-timezone-value",null),n("cleared"),H.value.closeOnClearValue&&Ke()},le=()=>{const z=P.value;return!z||!Array.isArray(z)&&re(z)?!0:Array.isArray(z)?be.value.enabled||z.length===2&&re(z[0])&&re(z[1])?!0:de.value.partialRange&&!r.timePicker?re(z[0]):!1:!1},$e=()=>{De()&&le()?(k(),Ke()):n("invalid-select",P.value)},rt=z=>{St(),k(),H.value.closeOnAutoApply&&!z&&Ke()},St=()=>{c.value&&Q.value.enabled&&c.value.setParsedDate(P.value)},Pe=(z=!1)=>{r.autoApply&&W(P.value)&&le()&&(de.value.enabled&&Array.isArray(P.value)?(de.value.partialRange||P.value.length===2)&&rt(z):rt(z))},At=()=>{Q.value.enabled||(P.value=null)},Ke=(z=!1)=>{z&&P.value&&H.value.setDateOnMenuClose&&$e(),B.value.enabled||(o.value&&(o.value=!1,V.value=!1,F(!1),Y(!1),U(),n("closed"),f.value&&ee(i.value)),At(),n("blur"))},nn=(z,me,ke=!1)=>{if(!z){P.value=null;return}const Ct=Array.isArray(z)?!z.some(ca=>!re(ca)):re(z),$t=W(z);Ct&&$t?(R.value=!0,P.value=z,me&&(D.value=ke,$e(),n("text-submit")),bt().then(()=>{R.value=!1})):n("invalid-date",z)},rn=()=>{r.autoApply&&W(P.value)&&k(),St()},Na=()=>o.value?Ke():Ve(),ln=z=>{P.value=z},on=()=>{Q.value.enabled&&(v.value=!0,ce()),n("focus")},sn=()=>{if(Q.value.enabled&&(v.value=!1,ee(r.modelValue),D.value)){const z=Jv(g.value,$.value);z==null||z.focus()}n("blur")},un=z=>{p.value&&p.value.updateMonthYear(0,{month:$r(z.month),year:$r(z.year)})},dn=z=>{ee(z??r.modelValue)},C=(z,me)=>{var ke;(ke=p.value)==null||ke.switchView(z,me)},oe=z=>H.value.onClickOutside?H.value.onClickOutside(z):Ke(!0),Me=(z=0)=>{var me;(me=p.value)==null||me.handleFlow(z)};return Uf(b,c,()=>oe(le)),a({closeMenu:Ke,selectDate:$e,clearValue:O,openMenu:Ve,onScroll:K,formatInputValue:ce,updateInternalModelValue:ln,setMonthYear:un,parseModel:dn,switchView:C,toggleMenu:Na,handleFlow:Me,dpWrapMenuRef:b}),(z,me)=>(u(),m("div",{ref_key:"pickerWrapperRef",ref:g,class:ye(nt.value),"data-datepicker-instance":"","data-dp-mobile":s(L)},[ae(Bf,Ye({ref_key:"inputRef",ref:c,"input-value":s(f),"onUpdate:inputValue":me[0]||(me[0]=ke=>ir(f)?f.value=ke:null),"is-menu-open":o.value},z.$props,{onClear:O,onOpen:Ve,onSetInputDate:nn,onSetEmptyDate:s(k),onSelectDate:$e,onToggle:Na,onClose:Ke,onFocus:on,onBlur:sn,onRealBlur:me[1]||(me[1]=ke=>v.value=!1),onTextInput:me[2]||(me[2]=ke=>z.$emit("text-input",ke))}),st({_:2},[Se(s(X),(ke,Ct)=>({name:ke,fn:w($t=>[_(z.$slots,ke,ut(ht($t)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(u(),se(yt(z.teleport?Ql:"div"),ut(ht(ne.value)),{default:w(()=>[ae(Wt,{name:s(we)(s(ue)),css:s(T)&&!s(B).enabled},{default:w(()=>[o.value?(u(),m("div",Ye({key:0,ref_key:"dpWrapMenuRef",ref:b},Z.value,{class:{"dp--menu-wrapper":!s(B).enabled},style:s(B).enabled?void 0:s(j)}),[ae(Cr,Ye({ref_key:"dpMenuRef",ref:p},z.$props,{"internal-model-value":s(P),"onUpdate:internalModelValue":me[3]||(me[3]=ke=>ir(P)?P.value=ke:null),class:{[E.value]:!0,"dp--menu-wrapper":z.teleport},"open-on-top":s(ue),"no-overlay-focus":he.value,collapse:I.value,"get-input-rect":y,"is-text-input-date":R.value,onClosePicker:Ke,onSelectDate:$e,onAutoApply:Pe,onTimeUpdate:rn,onFlowStep:me[4]||(me[4]=ke=>z.$emit("flow-step",ke)),onUpdateMonthYear:me[5]||(me[5]=ke=>z.$emit("update-month-year",ke)),onInvalidSelect:me[6]||(me[6]=ke=>z.$emit("invalid-select",s(P))),onAutoApplyInvalid:me[7]||(me[7]=ke=>z.$emit("invalid-select",ke)),onInvalidFixedRange:me[8]||(me[8]=ke=>z.$emit("invalid-fixed-range",ke)),onRecalculatePosition:s(ve),onTooltipOpen:me[9]||(me[9]=ke=>z.$emit("tooltip-open",ke)),onTooltipClose:me[10]||(me[10]=ke=>z.$emit("tooltip-close",ke)),onTimePickerOpen:me[11]||(me[11]=ke=>z.$emit("time-picker-open",ke)),onTimePickerClose:me[12]||(me[12]=ke=>z.$emit("time-picker-close",ke)),onAmPmChange:me[13]||(me[13]=ke=>z.$emit("am-pm-change",ke)),onRangeStart:me[14]||(me[14]=ke=>z.$emit("range-start",ke)),onRangeEnd:me[15]||(me[15]=ke=>z.$emit("range-end",ke)),onDateUpdate:me[16]||(me[16]=ke=>z.$emit("date-update",ke)),onInvalidDate:me[17]||(me[17]=ke=>z.$emit("invalid-date",ke)),onOverlayToggle:me[18]||(me[18]=ke=>z.$emit("overlay-toggle",ke)),onMenuBlur:me[19]||(me[19]=ke=>z.$emit("blur"))}),st({_:2},[Se(s(A),(ke,Ct)=>({name:ke,fn:w($t=>[_(z.$slots,ke,ut(ht({...$t})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):x("",!0)]),_:3},8,["name","css"])]),_:3},16))],10,zf))}}),Le=(()=>{const e=qf;return e.install=a=>{a.component("Vue3DatePicker",e)},e})(),jf=Object.freeze(Object.defineProperty({__proto__:null,default:Le},Symbol.toStringTag,{value:"Module"}));Object.entries(jf).forEach(([e,a])=>{e!=="default"&&(Le[e]=a)});const Qf={class:"demo-wrap"},Gf={class:"action-row"},Xf={class:"current-selection"},Kf=["onClick"],Jf=J({__name:"ActionRowSlotDemo",setup(e){const a=S(new Date),{isDark:t}=Ne(),n=r=>wt(r,"dd.MM.yyyy, HH:mm");return(r,l)=>(u(),m("div",Qf,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t)},{"action-row":w(({internalModelValue:o,selectDate:i})=>[h("div",Gf,[h("p",Xf,fe(n(o)),1),h("button",{class:"select-button",onClick:i},"Select Date",8,Kf)])]),_:1},8,["modelValue","dark"])]))}}),Zf={class:"demo-wrap"},ep=J({__name:"CustomCalendarDemo",props:{},setup(e){const{isDark:a}=Ne(),t=S(),n=r=>r.filter(l=>l.days.some(o=>o.text===15)).map(l=>({...l,days:l.days.map(o=>(o.classData["custom-class"]=!0,o))}));return(r,l)=>(u(),m("div",Zf,[ae(s(Le),Ye({modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=o=>t.value=o)},r.$props,{dark:s(a),calendar:n,placeholder:"Select Date"}),null,16,["modelValue","dark"])]))}}),tp={class:"demo-wrap"},ap=J({__name:"DarkDemo",props:["placeholder"],setup(e){const a=S(new Date);return(t,n)=>(u(),m("div",tp,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":n[0]||(n[0]=r=>a.value=r),placeholder:e.placeholder,dark:""},null,8,["modelValue","placeholder"])]))}}),np={class:"demo-wrap"},rp=J({__name:"DemoDayClass",setup(e){const a=S(new Date),{isDark:t}=Ne(),n=r=>ra(r,lt(We(new Date,{hours:0,minutes:0,seconds:0,milliseconds:0}),1))?"marked-cell":"";return(r,l)=>(u(),m("div",np,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t),"day-class":n},null,8,["modelValue","dark"])]))}}),lp={class:"demo-wrap"},op=J({__name:"DemoHighlight",props:["disabled"],setup(e){const a=S(new Date),{isDark:t}=Ne(),n=e,r=M(()=>[lt(new Date,1),lt(new Date,2),lt(new Date,3)]),l=M(()=>n.disabled?r.value:[]),o=M(()=>({dates:n.disabled?l.value:r.value,options:{highlightDisabled:!0}}));return(i,d)=>(u(),m("div",lp,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=b=>a.value=b),dark:s(t),highlight:o.value,"disabled-dates":l.value},null,8,["modelValue","dark","highlight","disabled-dates"])]))}}),sp={class:"demo-wrap"},ip=J({__name:"DemoMarkers",props:["useMarkerTooltipSlot","useMarkerSlot"],setup(e){const a=S(new Date),{isDark:t}=Ne(),n=M(()=>[{date:lt(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:lt(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:lt(new Date,3),type:"dot",color:"yellow"}]);return(r,l)=>(u(),m("div",sp,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t),markers:n.value},st({_:2},[e.useMarkerTooltipSlot?{name:"marker-tooltip",fn:w(({day:o})=>[h("div",null,"Custom content on "+fe(o),1)]),key:"0"}:void 0,e.useMarkerSlot?{name:"marker",fn:w(({day:o})=>[l[1]||(l[1]=h("span",{class:"custom-marker"},null,-1))]),key:"1"}:void 0]),1032,["modelValue","dark","markers"])]))}}),Vt="/logo.png",up=["value"],dp=["onClick"],cp={key:0,class:"slot-icon",src:Vt,alt:"logo"},vp=["onClick"],mp=["onClick"],fp={class:"time-picker-overlay"},pp=["value","onChange"],hp=["value"],yp=["value","onChange"],gp=["value"],bp={class:"overlay-header"},kp=["onClick"],_p={class:"overlay-header"},wp=["onClick"],$p={key:0},Dp={key:1},Pp=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=S(new Date),{isDark:t}=Ne(),n=S(null),r=M(()=>new Date().getDate()+1),l=M(()=>p=>`Selected ${new Date(p).getDate()}`),o=M(()=>{const p=[];for(let c=0;c<24;c++)p.push({text:c<10?`0${c}`:c,value:c});return p}),i=M(()=>{const p=[];for(let c=0;c<60;c++)p.push({text:c<10?`0${c}`:c,value:c});return p}),d=()=>{n.value&&n.value.selectDate()},b=p=>wt(p,"QQQ");return(p,c)=>(u(),m("div",{class:ye(["demo-wrap",e.useDpInputSlot||e.useTriggerSlot?"demo-wrap-inline":""])},[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=v=>a.value=v),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},st({_:2},[e.useTriggerSlot?{name:"trigger",fn:w(()=>[c[1]||(c[1]=h("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1))]),key:"0"}:void 0,e.useDpInputSlot?{name:"dp-input",fn:w(({value:v})=>[h("input",{class:"input-class",type:"text",value:v},null,8,up)]),key:"1"}:void 0,e.useInputIconSlot?{name:"input-icon",fn:w(()=>[c[2]||(c[2]=h("img",{class:"input-slot-image",src:Vt,alt:"logo"},null,-1))]),key:"2"}:void 0,e.useClearIconSlot?{name:"clear-icon",fn:w(({clear:v})=>[h("img",{class:"input-slot-image-clear",src:Vt,onClick:v,alt:"logo"},null,8,dp)]),key:"3"}:void 0,e.useClockIconSlot?{name:"clock-icon",fn:w(()=>[c[3]||(c[3]=h("img",{class:"slot-icon",src:Vt,alt:"logo"},null,-1))]),key:"4"}:void 0,e.useArrowLeftSlot?{name:"arrow-left",fn:w(()=>[c[4]||(c[4]=h("img",{class:"slot-icon",src:Vt,alt:"logo"},null,-1))]),key:"5"}:void 0,e.useArrowRightSlot?{name:"arrow-right",fn:w(()=>[c[5]||(c[5]=h("img",{class:"slot-icon",src:Vt,alt:"logo"},null,-1))]),key:"6"}:void 0,e.useArrowUpSlot?{name:"arrow-up",fn:w(()=>[c[6]||(c[6]=h("img",{class:"slot-icon-m",src:Vt,alt:"logo"},null,-1))]),key:"7"}:void 0,e.useArrowDownSlot?{name:"arrow-down",fn:w(()=>[c[7]||(c[7]=h("img",{class:"slot-icon-m",src:Vt,alt:"logo"},null,-1))]),key:"8"}:void 0,e.useCalendarIconSlot?{name:"calendar-icon",fn:w(()=>[c[8]||(c[8]=h("img",{class:"slot-icon",src:Vt,alt:"logo"},null,-1))]),key:"9"}:void 0,e.useDaySlot?{name:"day",fn:w(({day:v})=>[v===r.value?(u(),m("img",cp)):(u(),m(pe,{key:1},[Ee(fe(v),1)],64))]),key:"10"}:void 0,e.useActionButtonSlot?{name:"action-buttons",fn:w(()=>[h("p",{class:"custom-select",onClick:d},"Select")]),key:"11"}:void 0,e.useActionPreviewSlot?{name:"action-preview",fn:w(({value:v})=>[Ee(fe(l.value(v)),1)]),key:"12"}:void 0,e.useHoursSlot?{name:"hours",fn:w(({value:v})=>[Ee(fe(v),1)]),key:"13"}:void 0,e.useMinutesSlot?{name:"minutes",fn:w(({value:v})=>[Ee(fe(v),1)]),key:"14"}:void 0,e.useMonthSlot?{name:"month",fn:w(({value:v})=>[Ee(fe(v),1)]),key:"15"}:void 0,e.useYearSlot?{name:"year",fn:w(({value:v})=>[Ee(fe(v),1)]),key:"16"}:void 0,e.useHoursOverlaySlot?{name:"hours-overlay-value",fn:w(({value:v})=>[Ee(fe(v),1)]),key:"17"}:void 0,e.useMinutesOverlaySlot?{name:"minutes-overlay-value",fn:w(({value:v})=>[Ee(fe(v),1)]),key:"18"}:void 0,e.useMonthOverlaySlot?{name:"month-overlay-value",fn:w(({value:v})=>[Ee(fe(v),1)]),key:"19"}:void 0,e.useYearOverlaySlot?{name:"year-overlay-value",fn:w(({value:v})=>[Ee(fe(v),1)]),key:"20"}:void 0,e.useCalendarHeaderSlot?{name:"calendar-header",fn:w(({index:v,day:g})=>[h("div",{class:ye(v===5||v===6?"red-color":"")},fe(g),3)]),key:"21"}:void 0,e.useActionExtraSlot?{name:"action-extra",fn:w(({selectCurrentDate:v})=>[h("span",{onClick:g=>v(),title:"Select current date",class:"pointer"},c[9]||(c[9]=[h("img",{class:"slot-icon centered",src:Vt},null,-1)]),8,vp)]),key:"22"}:void 0,e.useAmPmButtonSlot?{name:"am-pm-button",fn:w(({toggle:v,value:g})=>[h("button",{onClick:v},fe(g),9,mp)]),key:"23"}:void 0,e.useTimePickerOverlay?{name:"time-picker-overlay",fn:w(({hours:v,minutes:g,setHours:D,setMinutes:$})=>[h("div",fp,[h("select",{class:"select-input",value:v,onChange:I=>D(+I.target.value)},[(u(!0),m(pe,null,Se(o.value,I=>(u(),m("option",{key:I.value,value:I.value},fe(I.text),9,hp))),128))],40,pp),h("select",{class:"select-input",value:g,onChange:I=>$(+I.target.value)},[(u(!0),m(pe,null,Se(i.value,I=>(u(),m("option",{key:I.value,value:I.value},fe(I.text),9,gp))),128))],40,yp)])]),key:"24"}:void 0,e.useLeftSidebarSlot?{name:"left-sidebar",fn:w(()=>[c[10]||(c[10]=h("div",{class:"dp-sidebar"},"Custom content",-1))]),key:"25"}:void 0,e.useRightSidebarSlot?{name:"right-sidebar",fn:w(()=>[c[11]||(c[11]=h("div",{class:"dp-sidebar"},"Custom content",-1))]),key:"26"}:void 0,e.useMonthOverlayHeaderSlot?{name:"month-overlay-header",fn:w(({toggle:v})=>[h("div",bp,[h("span",{onClick:v,class:"pointer"},fe("< Go back"),8,kp)])]),key:"27"}:void 0,e.useYearOverlayHeaderSlot?{name:"year-overlay-header",fn:w(({toggle:v})=>[h("div",_p,[h("span",{onClick:v,class:"pointer"},fe("< Go back"),8,wp)])]),key:"28"}:void 0,e.useQuarterSlot?{name:"quarter",fn:w(({value:v})=>[h("span",null,fe(b(v)),1)]),key:"29"}:void 0,e.useTopExtraSlot?{name:"top-extra",fn:w(({value:v})=>[v?(u(),m("span",$p,"Selected date: "+fe(v.getDate()),1)):(u(),m("span",Dp,"No date selected"))]),key:"30"}:void 0,e.useMenuHeaderSlot?{name:"menu-header",fn:w(()=>[c[12]||(c[12]=h("div",{class:"my-header"},"My custom header",-1))]),key:"31"}:void 0,e.useHoursOverlayHeaderSlot?{name:"hours-overlay-header",fn:w(()=>[c[13]||(c[13]=h("div",{class:"overlay-header"},[h("span",null,"Hours")],-1))]),key:"32"}:void 0,e.useMinutesOverlayHeaderSlot?{name:"minutes-overlay-header",fn:w(()=>[c[14]||(c[14]=h("div",{class:"overlay-header"},[h("span",null,"Minutes")],-1))]),key:"33"}:void 0,e.useSecondsOverlayHeaderSlot?{name:"seconds-overlay-header",fn:w(()=>[c[15]||(c[15]=h("div",{class:"overlay-header"},[h("span",null,"Seconds")],-1))]),key:"34"}:void 0,e.useTpInlineArrowUp?{name:"tp-inline-arrow-up",fn:w(()=>[c[16]||(c[16]=h("span",{class:"my-icon"},[h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[h("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))]),key:"35"}:void 0,e.useTpInlineArrowDown?{name:"tp-inline-arrow-down",fn:w(()=>[c[17]||(c[17]=h("span",{class:"my-icon"},[h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[h("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))]),key:"36"}:void 0]),1032,["modelValue","placeholder","dark","position","quarter-picker","enable-seconds","time-picker-inline","is24"])],2))}}),Mp={class:"demo-wrap"},Tp=J({__name:"DisabledDatesDemo",setup(e){const a=S(new Date),{isDark:t}=Ne(),n=M(()=>{const r=new Date,l=new Date(r);l.setDate(l.getDate()+1);const o=new Date(l);return o.setDate(l.getDate()+1),[l,o]});return(r,l)=>(u(),m("div",Mp,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t),"disabled-dates":n.value},null,8,["modelValue","dark","disabled-dates"])]))}}),xp={class:"demo-wrap"},Sp=J({__name:"DisabledRangeDateDemo",props:{},setup(e){const{isDark:a}=Ne(),t=S([]),n=[dl(new Date,1),new Date,lt(new Date,1)];return(r,l)=>(u(),m("div",xp,[ae(s(Le),Ye({modelValue:t.value,"onUpdate:modelValue":l[0]||(l[0]=o=>t.value=o)},r.$props,{dark:s(a),range:{noDisabledRange:!0},"disabled-dates":n,placeholder:"Select range"}),null,16,["modelValue","dark"])]))}}),Ap={class:"demo-wrap"},Cp={class:"buttons-wrap"},Vp=["onClick"],Op=J({__name:"DisabledTimesDemo",props:{},setup(e){const{isDark:a}=Ne(),t=S(null),n=["single","range"],r=S("single"),l=M(()=>r.value==="range"),o=[{hours:15,minutes:"*"},{hours:16,minutes:15},{hours:16,minutes:20},{hours:17,minutes:30}],i=[[{hours:12,minutes:"*"},{hours:9,minutes:10}],o],d=b=>{t.value=null,r.value=b};return(b,p)=>(u(),m("div",Ap,[h("div",Cp,[(u(),m(pe,null,Se(n,(c,v)=>h("button",{class:ye(["change-btn",{"btn-active":c===r.value}]),key:v,onClick:g=>d(c)},fe(c),11,Vp)),64))]),ae(s(Le),Ye({modelValue:t.value,"onUpdate:modelValue":p[0]||(p[0]=c=>t.value=c),placeholder:"Select date"},b.$props,{dark:s(a),"disabled-times":l.value?i:o,range:l.value}),null,16,["modelValue","dark","disabled-times","range"])]))}}),Ip=_e(Op,[["__scopeId","data-v-6bf8e806"]]),Yp={class:"demo-wrap"},Lp={key:0},Np=J({__name:"DisplayModelDemo",props:["modelType","modelAuto","range"],setup(e){const a=S(),{isDark:t}=Ne();return(n,r)=>(u(),m("div",Yp,[ae(s(Le),Ye({modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t)},n.$props,{placeholder:"Select Date"}),null,16,["modelValue","dark"]),a.value?(u(),m("p",Lp,"Selected date: "+fe(a.value),1)):x("",!0)]))}}),Rp={class:"demo-wrap"},Hp=J({__name:"EmitTimezone",setup(e){const{isDark:a}=Ne(),t=S(),n=S(),r=l=>{n.value=l};return(l,o)=>(u(),m("div",Rp,[t.value&&n.value?(u(),m(pe,{key:0},[h("div",null,"Local timezone date: "+fe(t.value),1),h("div",null,"UTC date: "+fe(n.value),1)],64)):x("",!0),ae(s(Le),{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=i=>t.value=i),placeholder:"Select date","emit-timezone":"UTC",dark:s(a),"onUpdate:modelTimezoneValue":r},null,8,["modelValue","dark"])]))}}),Bp={class:"demo-wrap"},Ep=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=S(),{isDark:n}=Ne(),r=M(()=>{if(a.allowedDates)return[new Date,new Date(new Date().setDate(new Date().getDate()+1))]});return(l,o)=>(u(),m("div",Bp,[ae(s(Le),{modelValue:t.value,"onUpdate:modelValue":o[0]||(o[0]=i=>t.value=i),placeholder:e.placeholder,dark:s(n),"no-today":e.noToday,"min-time":e.minTime,"max-time":e.maxTime,"start-date":e.startDate,"start-time":e.startTime,"disabled-week-days":e.disabledWeekDays,"allowed-dates":r.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"])]))}}),Fp={class:"demo-wrap"},Wp=J({__name:"FiltersDemo",setup(e){const a=S(new Date),{isDark:t}=Ne(),n=M(()=>{const r=new Date;return{months:Array.from(Array(3).keys()).map(l=>Ce(_t(r,l+1)))}});return(r,l)=>(u(),m("div",Fp,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t),placeholder:"Select Date",filters:n.value},null,8,["modelValue","dark","filters"])]))}}),Up={class:"demo-wrap"},zp=J({__name:"FormatDemo",props:["placeholder"],setup(e){const a=S(new Date),{isDark:t}=Ne(),n=r=>{const l=r.getDate(),o=r.getMonth()+1,i=r.getFullYear();return`Selected date is ${l}/${o}/${i}`};return(r,l)=>(u(),m("div",Up,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),placeholder:e.placeholder,format:n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),qp={class:"demo-wrap"},jp=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=S(null),n=S(!1),{isDark:r}=Ne(),l=M({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 o=new Date;return{hours:o.getHours(),minutes:o.getMinutes()}}if(a.range){const o=new Date,i=new Date(new Date().setDate(o.getDate()+7));return[o,i]}return new Date},set:o=>{n.value=!o,t.value=o}});return(o,i)=>(u(),m("div",qp,[ae(s(Le),Ye({modelValue:l.value,"onUpdate:modelValue":i[0]||(i[0]=d=>l.value=d)},o.$props,{dark:s(r)}),null,16,["modelValue","dark"])]))}}),Qp={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}}年近く"}},Gp=(e,a,t)=>{t=t||{};let n;const r=Qp[e];return typeof r=="string"?n=r:a===1?t.addSuffix&&r.oneWithSuffix?n=r.oneWithSuffix:n=r.one:t.addSuffix&&r.otherWithSuffix?n=r.otherWithSuffix.replace("{{count}}",String(a)):n=r.other.replace("{{count}}",String(a)),t.addSuffix?t.comparison&&t.comparison>0?n+"後":n+"前":n},Xp={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},Kp={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Jp={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Zp={date:pa({formats:Xp,defaultWidth:"full"}),time:pa({formats:Kp,defaultWidth:"full"}),dateTime:pa({formats:Jp,defaultWidth:"full"})},eh={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},th=(e,a,t,n)=>eh[e],ah={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},nh={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},rh={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月"]},lh={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},oh={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:"深夜"}},sh={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:"深夜"}},ih=(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}`}},uh={ordinalNumber:ih,era:Ot({values:ah,defaultWidth:"wide"}),quarter:Ot({values:nh,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:Ot({values:rh,defaultWidth:"wide"}),day:Ot({values:lh,defaultWidth:"wide"}),dayPeriod:Ot({values:oh,defaultWidth:"wide",formattingValues:sh,defaultFormattingWidth:"wide"})},dh=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,ch=/\d+/i,vh={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},mh={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},fh={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},ph={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},hh={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},yh={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},gh={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},bh={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},kh={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},_h={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},wh={ordinalNumber:tl({matchPattern:dh,parsePattern:ch,valueCallback:function(e){return parseInt(e,10)}}),era:It({matchPatterns:vh,defaultMatchWidth:"wide",parsePatterns:mh,defaultParseWidth:"any"}),quarter:It({matchPatterns:fh,defaultMatchWidth:"wide",parsePatterns:ph,defaultParseWidth:"any",valueCallback:e=>e+1}),month:It({matchPatterns:hh,defaultMatchWidth:"wide",parsePatterns:yh,defaultParseWidth:"any"}),day:It({matchPatterns:gh,defaultMatchWidth:"wide",parsePatterns:bh,defaultParseWidth:"any"}),dayPeriod:It({matchPatterns:kh,defaultMatchWidth:"any",parsePatterns:_h,defaultParseWidth:"any"})},$h={code:"ja",formatDistance:Gp,formatLong:Zp,formatRelative:th,localize:uh,match:wh,options:{weekStartsOn:0,firstWeekContainsDate:1}},Dh={class:"demo-wrap"},Ph=J({__name:"LocalizedOutput",setup(e){const a=S(new Date),{isDark:t}=Ne();return(n,r)=>(u(),m("div",Dh,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),placeholder:"Select Date","format-locale":s($h),format:"E"},null,8,["modelValue","dark","format-locale"])]))}}),Mh={class:"demo-wrap"},Th=J({__name:"MinMaxDemo",setup(e){const a=S(new Date),{isDark:t}=Ne(),n=M(()=>Ft(new Date(Te(new Date),Ce(new Date)),2)),r=M(()=>_t(new Date(Te(new Date),Ce(new Date)),2));return(l,o)=>(u(),m("div",Mh,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=i=>a.value=i),placeholder:"Select Date",dark:s(t),"min-date":n.value,"max-date":r.value,"prevent-min-max-navigation":""},null,8,["modelValue","dark","min-date","max-date"])]))}}),xh={class:"demo-wrap"},Sh=J({__name:"MonthPickerDemo",props:{autoApplyMonth:{type:Boolean,default:!0}},setup(e){const{isDark:a}=Ne(),t=S({month:new Date().getMonth(),year:new Date().getFullYear()});return(n,r)=>(u(),m("div",xh,[ae(s(Le),Ye({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},n.$props,{dark:s(a),"month-picker":""}),null,16,["modelValue","dark"])]))}}),Ah={},Ch={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"};function Vh(e,a){return u(),m("svg",Ch,a[0]||(a[0]=[h("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)]))}const Oh=_e(Ah,[["render",Vh]]),Ih={},Yh={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"};function Lh(e,a){return u(),m("svg",Yh,a[0]||(a[0]=[h("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)]))}const Nh=_e(Ih,[["render",Lh]]),Rh={class:"demo-wrap"},Hh={class:"custom-month-year-component"},Bh=["value","onChange"],Eh=["value"],Fh=["value","onChange"],Wh=["value"],Uh={class:"icons"},zh=["onClick"],qh=["onClick"],jh={class:"custom-month-year-component"},Qh=["value","onChange"],Gh=["value"],Xh=["onClick"],Kh={class:"year-overlay"},Jh=["value","onChange"],Zh=["value"],e0=["onClick"],t0=J({__name:"MonthYearSlotDemo",props:["defaultSlot","monthOverlaySlot","yearOverlaySlot"],setup(e){const a=S(new Date),{isDark:t}=Ne(),n=(l,o,i,d)=>{o(+l.target.value,i),d&&d()},r=(l,o,i,d)=>{o(i,+l.target.value),d&&d()};return(l,o)=>(u(),m("div",Rh,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=i=>a.value=i),dark:s(t)},st({_:2},[e.defaultSlot?{name:"month-year",fn:w(({month:i,year:d,months:b,years:p,updateMonthYear:c,handleMonthYearChange:v})=>[h("div",Hh,[h("select",{class:"select-input",value:i,onChange:g=>n(g,c,d)},[(u(!0),m(pe,null,Se(b,g=>(u(),m("option",{key:g.value,value:g.value},fe(g.text),9,Eh))),128))],40,Bh),h("select",{class:"select-input",value:d,onChange:g=>r(g,c,i)},[(u(!0),m(pe,null,Se(p,g=>(u(),m("option",{key:g.value,value:g.value},fe(g.text),9,Wh))),128))],40,Fh)]),h("div",Uh,[h("span",{class:"custom-icon",onClick:g=>v(!1)},[ae(Oh)],8,zh),h("span",{class:"custom-icon",onClick:g=>v(!0)},[ae(Nh)],8,qh)])]),key:"0"}:void 0,e.monthOverlaySlot?{name:"month-overlay",fn:w(({month:i,year:d,items:b,updateMonthYear:p,toggle:c})=>[h("div",jh,[h("select",{class:"select-input",value:i,onChange:v=>n(v,p,d,c)},[(u(!0),m(pe,null,Se(b,v=>(u(),m("option",{key:v.value,value:v.value},fe(v.text),9,Gh))),128))],40,Qh)]),h("button",{onClick:c},"Close",8,Xh)]),key:"1"}:void 0,e.yearOverlaySlot?{name:"year-overlay",fn:w(({month:i,year:d,items:b,updateMonthYear:p,toggle:c})=>[h("div",Kh,[h("div",null,[h("select",{class:"select-input",value:d,onChange:v=>r(v,p,i,c)},[(u(!0),m(pe,null,Se(b,v=>(u(),m("option",{key:v.value,value:v.value},fe(v.text),9,Zh))),128))],40,Jh)]),h("button",{onClick:c},"Close",8,e0)])]),key:"2"}:void 0]),1032,["modelValue","dark"])]))}}),a0={class:"demo-wrap"},n0=["onClick"],r0=J({__name:"PresetRange",setup(e){const a=S(),{isDark:t}=Ne(),n=S([{label:"Today",value:[new Date,new Date]},{label:"Today (Slot)",value:[new Date,new Date],slot:"preset-date-range-button"},{label:"This month",value:[xn(new Date),pr(new Date)]},{label:"Last month",value:[xn(Ft(new Date,1)),pr(Ft(new Date,1))]},{label:"This year",value:[ya(new Date),Un(new Date)]}]);return(r,l)=>(u(),m("div",a0,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),placeholder:"Select Date",dark:s(t),range:"","preset-dates":n.value},{"preset-date-range-button":w(({label:o,value:i,presetDate:d})=>[h("span",{role:"button",tabindex:0,onClick:b=>d(i)},fe(o),9,n0)]),_:1},8,["modelValue","dark","preset-dates"])]))}}),l0={class:"demo-wrap"},o0=J({__name:"PreviewFormatDemo",props:["placeholder"],setup(e){const a=S(new Date),{isDark:t}=Ne(),n=r=>{const l=r.getDate(),o=r.getMonth()+1,i=r.getFullYear();return`Selected date is ${l}/${o}/${i}`};return(r,l)=>(u(),m("div",l0,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),placeholder:e.placeholder,"preview-format":n,dark:s(t)},null,8,["modelValue","placeholder","dark"])]))}}),s0={class:"demo-wrap"},i0=J({__name:"QuarterPickerDemo",setup(e){const{isDark:a}=Ne(),t=S(Gt(new Date));return(n,r)=>(u(),m("div",s0,[ae(s(Le),Ye({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},n.$props,{dark:s(a),"quarter-picker":""}),null,16,["modelValue","dark"])]))}}),u0={class:"demo-wrap"},d0=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}=Ne(),n=M(()=>{var l,o,i;return typeof a.range=="object"?((l=a.range)==null?void 0:l.autoRange)||((o=a.range)==null?void 0:o.maxRange)||((i=a.range)==null?void 0:i.minRange):!1}),r=S(n.value?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(l,o)=>(u(),m("div",u0,[ae(s(Le),Ye({modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=i=>r.value=i)},l.$props,{dark:s(t),rang:e.range,placeholder:e.placeholder}),null,16,["modelValue","dark","rang","placeholder"])]))}}),c0={class:"demo-wrap"},v0=J({__name:"RequiredDemo",setup(e){const a=S(),{isDark:t}=Ne(),n=()=>{alert("Form submitted")};return(r,l)=>(u(),m("div",c0,[h("form",{onSubmit:ia(n,["prevent"])},[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=o=>a.value=o),dark:s(t),placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),l[1]||(l[1]=h("button",{class:"submit-btn",type:"submit"},"Submit form",-1))],32)]))}}),m0={class:"demo-wrap"},f0={class:"buttons-wrap"},p0=["onClick"],h0=J({__name:"SixWeeksDemo",setup(e){const a=S(new Date),{isDark:t}=Ne(),n=[!0,"append","prepend","center","fair"],r=S(!0);return(l,o)=>(u(),m("div",m0,[h("div",f0,[(u(),m(pe,null,Se(n,(i,d)=>h("button",{class:ye(["change-btn",{"btn-active":i===r.value}]),key:d,onClick:b=>r.value=i},fe(i),11,p0)),64))]),ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=i=>a.value=i),dark:s(t),"six-weeks":r.value},null,8,["modelValue","dark","six-weeks"])]))}}),y0=_e(h0,[["__scopeId","data-v-9aafd744"]]),g0={class:"demo-wrap"},b0=J({__name:"TextInputDemo",props:["textInput","placeholder","minDate","maxDate"],setup(e){const a=S(new Date),{isDark:t}=Ne();return(n,r)=>(u(),m("div",g0,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),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"])]))}}),k0={class:"demo-wrap"},_0=J({__name:"TimePickerDemo",props:["modeHeight"],setup(e){const{isDark:a}=Ne(),t=S({hours:new Date().getHours(),minutes:new Date().getMinutes()});return(n,r)=>(u(),m("div",k0,[ae(s(Le),Ye({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},n.$props,{dark:s(a),"time-picker":""}),null,16,["modelValue","dark"])]))}}),w0={class:"demo-wrap"},$0={class:"custom-time-picker-component"},D0=["value","onChange"],P0=["value"],M0=["value","onChange"],T0=["value"],x0=J({__name:"TimePickerSlotDemo",setup(e){const a=S(new Date),{isDark:t}=Ne(),n=M(()=>{const l=[];for(let o=0;o<24;o++)l.push({text:o<10?`0${o}`:o,value:o});return l}),r=M(()=>{const l=[];for(let o=0;o<60;o++)l.push({text:o<10?`0${o}`:o,value:o});return l});return(l,o)=>(u(),m("div",w0,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":o[0]||(o[0]=i=>a.value=i),dark:s(t)},{"time-picker":w(({time:i,updateTime:d})=>[h("div",$0,[h("select",{class:"select-input",value:i.hours,onChange:b=>d(+b.target.value)},[(u(!0),m(pe,null,Se(n.value,b=>(u(),m("option",{key:b.value,value:b.value},fe(b.text),9,P0))),128))],40,D0),h("select",{class:"select-input",value:i.minutes,onChange:b=>d(+b.target.value,!1)},[(u(!0),m(pe,null,Se(r.value,b=>(u(),m("option",{key:b.value,value:b.value},fe(b.text),9,T0))),128))],40,M0)])]),_:1},8,["modelValue","dark"])]))}}),S0={class:"demo-wrap"},A0={key:0},C0=J({__name:"TimezoneDemo",setup(e){const a=S(),{isDark:t}=Ne();return(n,r)=>(u(),m("div",S0,[ae(s(Le),{modelValue:a.value,"onUpdate:modelValue":r[0]||(r[0]=l=>a.value=l),dark:s(t),utc:"",placeholder:"Select Date"},null,8,["modelValue","dark"]),a.value?(u(),m("p",A0,"Selected date in UTC format: "+fe(a.value),1)):x("",!0)]))}}),V0={class:"demo-wrap"},O0=J({__name:"YearPickerDemo",props:{},setup(e){const{isDark:a}=Ne(),t=S(new Date().getFullYear());return(n,r)=>(u(),m("div",V0,[ae(s(Le),Ye({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=l=>t.value=l)},n.$props,{dark:s(a),"year-picker":""}),null,16,["modelValue","dark"])]))}}),I0={class:"tz-demo-wrap"},Y0={class:"dp-container-wrap"},L0={class:"tz-range-slider-wrap"},N0={key:0},R0=J({__name:"TimezoneNewDemo",props:{timezone:{type:Object,default:void 0},emitVal:{type:Boolean,default:!1}},setup(e){const{isDark:a}=Ne(),t=e,n=S(),r=S(11),l=S(),o=M(()=>{var v,g;if(t.emitVal)return;const c=Ce(new Date)+1>9?Ce(new Date)+1:`0${Ce(new Date)+1}`;return(v=t.timezone)!=null&&v.exactMatch?new Date:(g=t.timezone)!=null&&g.dateInTz?`${Te(new Date)}-${c}-15T01:00:00Z`:`${Te(new Date)}-${c}-15T01:00:00Z`}),i=[{tz:"Pacific/Midway",offset:-11},{tz:"America/Adak",offset:-10},{tz:"Pacific/Gambier",offset:-9},{tz:"America/Los_Angeles",offset:-8},{tz:"America/Denver",offset:-7},{tz:"America/Chicago",offset:-6},{tz:"America/New_York",offset:-5},{tz:"America/Santiago",offset:-4},{tz:"America/Sao_Paulo",offset:-3},{tz:"America/Noronha",offset:-2},{tz:"Atlantic/Cape_Verde",offset:-1},{tz:"UTC",offset:0},{tz:"Europe/Brussels",offset:1},{tz:"Africa/Cairo",offset:2},{tz:"Europe/Minsk",offset:3},{tz:"Europe/Moscow",offset:4},{tz:"Asia/Tashkent",offset:5},{tz:"Asia/Dhaka",offset:6},{tz:"Asia/Novosibirsk",offset:7},{tz:"Australia/Perth",offset:8},{tz:"Asia/Tokyo",offset:9},{tz:"Australia/Hobart",offset:10},{tz:"Asia/Vladivostok",offset:11},{tz:"Pacific/Auckland",offset:12}],d=M(()=>i[r.value]),b=M(()=>{const c=t.emitVal?{emitTimezone:d.value.tz}:{timezone:d.value.tz};return t.timezone?{...t.timezone,...c}:c}),p=c=>{l.value=c.toISOString()};return(c,v)=>(u(),m("div",I0,[h("div",Y0,[ae(s(Le),{modelValue:n.value,"onUpdate:modelValue":v[0]||(v[0]=g=>n.value=g),dark:s(a),timezone:b.value,inline:"","auto-apply":"","max-date":o.value,"onUpdate:modelTimezoneValue":p},null,8,["modelValue","dark","timezone","max-date"])]),h("div",L0,[h("div",null,[h("span",null,"Timezone: "+fe(d.value.tz),1),v[2]||(v[2]=h("br",null,null,-1)),h("span",null,"Offset: "+fe(d.value.offset>0?`+${d.value.offset}`:d.value.offset),1),v[3]||(v[3]=h("br",null,null,-1)),l.value?(u(),m("span",N0,"Zoned date: "+fe(l.value),1)):x("",!0)]),h("div",null,[Pa(h("input",{class:"tz-range-slider",type:"range","onUpdate:modelValue":v[1]||(v[1]=g=>r.value=g),min:"0",max:"22"},null,512),[[eo,r.value]])])])]))}}),H0=_e(R0,[["__scopeId","data-v-76aa1e38"]]),F0={extends:Yd,enhanceApp({app:e}){e.component("StarAndSponsor",Hd),e.component("ActionRowSlotDemo",Jf),e.component("CustomCalendarDemo",ep),e.component("DarkDemo",ap),e.component("DemoDayClass",rp),e.component("DemoHighlight",op),e.component("DemoMarkers",ip),e.component("DemoSlots",Pp),e.component("DisabledDatesDemo",Tp),e.component("DisabledRangeDateDemo",Sp),e.component("DisabledTimesDemo",Ip),e.component("DisplayModelDemo",Np),e.component("EmitTimezone",Hp),e.component("EmptyDemo",Ep),e.component("FiltersDemo",Wp),e.component("FormatDemo",zp),e.component("GlobalDemo",jp),e.component("LocalizedOutput",Ph),e.component("MinMaxDemo",Th),e.component("MonthPickerDemo",Sh),e.component("MonthYearSlotDemo",t0),e.component("PresetRange",r0),e.component("PreviewFormatDemo",o0),e.component("QuarterPickerDemo",i0),e.component("RangeDemo",d0),e.component("RequiredDemo",v0),e.component("SixWeeksDemo",y0),e.component("TextInputDemo",b0),e.component("TimePickerDemo",_0),e.component("TimePickerSlotDemo",x0),e.component("TimezoneDemo",C0),e.component("YearPickerDemo",O0),e.component("TimezoneNewDemo",H0)}};export{F0 as R,ko as a,Oe as u}; diff --git a/docs/assets/chunks/theme.DW4UajBf.js b/docs/assets/chunks/theme.DW4UajBf.js new file mode 100644 index 00000000..784339c9 --- /dev/null +++ b/docs/assets/chunks/theme.DW4UajBf.js @@ -0,0 +1,44 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/ui-custom.BABGA34D.js","assets/chunks/framework.DDyYGyON.js","assets/chunks/VPAlgoliaSearchBox.hPGN3qUp.js"])))=>i.map(i=>d[i]); +var Po=Object.defineProperty;var $o=(e,n,t)=>n in e?Po(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var ke=(e,n,t)=>$o(e,typeof n!="symbol"?n+"":n,t);import{d as te,o as f,c as g,r as I,n as ye,a as Ye,t as be,b as de,w as C,e as W,T as Ft,_ as xe,u as Le,i as So,f as Eo,g as yr,h as B,j as T,k as c,l as ua,m as or,p as Y,q as at,s as hn,v as Ue,x as Ht,y as kr,z as Oo,A as Ao,B as _a,F as ge,C as Se,D as ei,E as mn,G as re,H as ti,I as ai,J as bt,K as ni,L as vn,M as Ne,N as bn,O as Io,P as mt,Q as Co,R as ct,S as ri,U as gn,V as Ro,W as si,X as ii,Y as oi,Z as No,$ as Vo,a0 as ca,a1 as ta,a2 as Fa,a3 as Lo,a4 as Ba,a5 as ot,a6 as ut,a7 as vt,a8 as Jr,a9 as Bo,aa as Wo,ab as Yo,ac as es,ad as jo,ae as Fo,af as Ho,ag as Na,ah as sn,ai as zo,aj as Uo,ak as Go}from"./framework.DDyYGyON.js";const Ko=te({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(n,t)=>(f(),g("span",{class:ye(["VPBadge",n.type])},[I(n.$slots,"default",{},()=>[Ye(be(n.text),1)])],2))}}),Xo={key:0,class:"VPBackdrop"},qo=te({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(n,t)=>(f(),de(Ft,{name:"fade"},{default:C(()=>[n.show?(f(),g("div",Xo)):W("",!0)]),_:1}))}}),Qo=xe(qo,[["__scopeId","data-v-c79a1216"]]),Ie=Le;function Zo(e,n){let t,a=!1;return()=>{t&&clearTimeout(t),a?t=setTimeout(e,n):(e(),(a=!0)&&setTimeout(()=>a=!1,n))}}function lr(e){return/^\//.test(e)?e:`/${e}`}function wr(e){const{pathname:n,search:t,hash:a,protocol:r}=new URL(e,"http://a.com");if(So(e)||e.startsWith("#")||!r.startsWith("http")||!Eo(n))return e;const{site:s}=Ie(),i=n.endsWith("/")||n.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${n.replace(/(\.md)?$/,s.value.cleanUrls?"":".html")}${t}${a}`);return yr(i)}function Ha({correspondingLink:e=!1}={}){const{site:n,localeIndex:t,page:a,theme:r,hash:s}=Ie(),i=B(()=>{var l,v;return{label:(l=n.value.locales[t.value])==null?void 0:l.label,link:((v=n.value.locales[t.value])==null?void 0:v.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:B(()=>Object.entries(n.value.locales).flatMap(([l,v])=>i.value.label===v.label?[]:{text:v.label,link:Jo(v.link||(l==="root"?"/":`/${l}/`),r.value.i18nRouting!==!1&&e,a.value.relativePath.slice(i.value.link.length-1),!n.value.cleanUrls)+s.value})),currentLang:i}}function Jo(e,n,t,a){return n?e.replace(/\/$/,"")+lr(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,a?".html":"")):e}const el={class:"NotFound"},tl={class:"code"},al={class:"title"},nl={class:"quote"},rl={class:"action"},sl=["href","aria-label"],il=te({__name:"NotFound",setup(e){const{theme:n}=Ie(),{currentLang:t}=Ha();return(a,r)=>{var s,i,o,l,v;return f(),g("div",el,[T("p",tl,be(((s=c(n).notFound)==null?void 0:s.code)??"404"),1),T("h1",al,be(((i=c(n).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),r[0]||(r[0]=T("div",{class:"divider"},null,-1)),T("blockquote",nl,be(((o=c(n).notFound)==null?void 0:o.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),T("div",rl,[T("a",{class:"link",href:c(yr)(c(t).link),"aria-label":((l=c(n).notFound)==null?void 0:l.linkLabel)??"go to home"},be(((v=c(n).notFound)==null?void 0:v.linkText)??"Take me home"),9,sl)])])}}}),ol=xe(il,[["__scopeId","data-v-d6be1790"]]);function li(e,n){if(Array.isArray(e))return on(e);if(e==null)return[];n=lr(n);const t=Object.keys(e).sort((r,s)=>s.split("/").length-r.split("/").length).find(r=>n.startsWith(lr(r))),a=t?e[t]:[];return Array.isArray(a)?on(a):on(a.items,a.base)}function ll(e){const n=[];let t=0;for(const a in e){const r=e[a];if(r.items){t=n.push(r);continue}n[t]||n.push({items:[]}),n[t].items.push(r)}return n}function ul(e){const n=[];function t(a){for(const r of a)r.text&&r.link&&n.push({text:r.text,link:r.link,docFooterText:r.docFooterText}),r.items&&t(r.items)}return t(e),n}function ur(e,n){return Array.isArray(n)?n.some(t=>ur(e,t)):ua(e,n.link)?!0:n.items?ur(e,n.items):!1}function on(e,n){return[...e].map(t=>{const a={...t},r=a.base||n;return r&&a.link&&(a.link=r+a.link),a.items&&(a.items=on(a.items,r)),a})}function zt(){const{frontmatter:e,page:n,theme:t}=Ie(),a=or("(min-width: 960px)"),r=Y(!1),s=B(()=>{const R=t.value.sidebar,b=n.value.relativePath;return R?li(R,b):[]}),i=Y(s.value);at(s,(R,b)=>{JSON.stringify(R)!==JSON.stringify(b)&&(i.value=s.value)});const o=B(()=>e.value.sidebar!==!1&&i.value.length>0&&e.value.layout!=="home"),l=B(()=>v?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),v=B(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),m=B(()=>o.value&&a.value),d=B(()=>o.value?ll(i.value):[]);function p(){r.value=!0}function k(){r.value=!1}function P(){r.value?k():p()}return{isOpen:r,sidebar:i,sidebarGroups:d,hasSidebar:o,hasAside:v,leftAside:l,isSidebarEnabled:m,open:p,close:k,toggle:P}}function cl(e,n){let t;hn(()=>{t=e.value?document.activeElement:void 0}),Ue(()=>{window.addEventListener("keyup",a)}),Ht(()=>{window.removeEventListener("keyup",a)});function a(r){r.key==="Escape"&&e.value&&(n(),t==null||t.focus())}}function dl(e){const{page:n,hash:t}=Ie(),a=Y(!1),r=B(()=>e.value.collapsed!=null),s=B(()=>!!e.value.link),i=Y(!1),o=()=>{i.value=ua(n.value.relativePath,e.value.link)};at([n,e,t],o),Ue(o);const l=B(()=>i.value?!0:e.value.items?ur(n.value.relativePath,e.value.items):!1),v=B(()=>!!(e.value.items&&e.value.items.length));hn(()=>{a.value=!!(r.value&&e.value.collapsed)}),kr(()=>{(i.value||l.value)&&(a.value=!1)});function m(){r.value&&(a.value=!a.value)}return{collapsed:a,collapsible:r,isLink:s,isActiveLink:i,hasActiveLink:l,hasChildren:v,toggle:m}}function _l(){const{hasSidebar:e}=zt(),n=or("(min-width: 960px)"),t=or("(min-width: 1280px)");return{isAsideEnabled:B(()=>!t.value&&!n.value?!1:e.value?t.value:n.value)}}const cr=[];function ui(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function xr(e){const n=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const a=Number(t.tagName[1]);return{element:t,title:pl(t),link:"#"+t.id,level:a}});return fl(n,e)}function pl(e){let n="";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;n+=t.textContent}else t.nodeType===3&&(n+=t.textContent);return n.trim()}function fl(e,n){if(n===!1)return[];const t=(typeof n=="object"&&!Array.isArray(n)?n.level:n)||2,[a,r]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;return vl(e,a,r)}function hl(e,n){const{isAsideEnabled:t}=_l(),a=Zo(s,100);let r=null;Ue(()=>{requestAnimationFrame(s),window.addEventListener("scroll",a)}),Oo(()=>{i(location.hash)}),Ht(()=>{window.removeEventListener("scroll",a)});function s(){if(!t.value)return;const o=window.scrollY,l=window.innerHeight,v=document.body.offsetHeight,m=Math.abs(o+l-v)<1,d=cr.map(({element:k,link:P})=>({link:P,top:ml(k)})).filter(({top:k})=>!Number.isNaN(k)).sort((k,P)=>k.top-P.top);if(!d.length){i(null);return}if(o<1){i(null);return}if(m){i(d[d.length-1].link);return}let p=null;for(const{link:k,top:P}of d){if(P>o+Ao()+4)break;p=k}i(p)}function i(o){r&&r.classList.remove("active"),o==null?r=null:r=e.value.querySelector(`a[href="${decodeURIComponent(o)}"]`);const l=r;l?(l.classList.add("active"),n.value.style.top=l.offsetTop+39+"px",n.value.style.opacity="1"):(n.value.style.top="33px",n.value.style.opacity="0")}}function ml(e){let n=0;for(;e!==document.body;){if(e===null)return NaN;n+=e.offsetTop,e=e.offsetParent}return n}function vl(e,n,t){cr.length=0;const a=[],r=[];return e.forEach(s=>{const i={...s,children:[]};let o=r[r.length-1];for(;o&&o.level>=i.level;)r.pop(),o=r[r.length-1];if(i.element.classList.contains("ignore-header")||o&&"shouldIgnore"in o){r.push({level:i.level,shouldIgnore:!0});return}i.level>t||i.level{const r=_a("VPDocOutlineItem",!0);return f(),g("ul",{class:ye(["VPDocOutlineItem",t.root?"root":"nested"])},[(f(!0),g(ge,null,Se(t.headers,({children:s,link:i,title:o})=>(f(),g("li",null,[T("a",{class:"outline-link",href:i,onClick:n,title:o},be(o),9,bl),s!=null&&s.length?(f(),de(r,{key:0,headers:s},null,8,["headers"])):W("",!0)]))),256))],2)}}}),ci=xe(gl,[["__scopeId","data-v-b933a997"]]),yl={class:"content"},kl={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},wl=te({__name:"VPDocAsideOutline",setup(e){const{frontmatter:n,theme:t}=Ie(),a=ei([]);mn(()=>{a.value=xr(n.value.outline??t.value.outline)});const r=Y(),s=Y();return hl(r,s),(i,o)=>(f(),g("nav",{"aria-labelledby":"doc-outline-aria-label",class:ye(["VPDocAsideOutline",{"has-outline":a.value.length>0}]),ref_key:"container",ref:r},[T("div",yl,[T("div",{class:"outline-marker",ref_key:"marker",ref:s},null,512),T("div",kl,be(c(ui)(c(t))),1),re(ci,{headers:a.value,root:!0},null,8,["headers"])])],2))}}),xl=xe(wl,[["__scopeId","data-v-a5bbad30"]]),Dl={class:"VPDocAsideCarbonAds"},Tl=te({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const n=ti(()=>ai(()=>import("./ui-custom.BABGA34D.js"),__vite__mapDeps([0,1])));return(t,a)=>(f(),g("div",Dl,[re(c(n),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Ml={class:"VPDocAside"},Pl=te({__name:"VPDocAside",setup(e){const{theme:n}=Ie();return(t,a)=>(f(),g("div",Ml,[I(t.$slots,"aside-top",{},void 0,!0),I(t.$slots,"aside-outline-before",{},void 0,!0),re(xl),I(t.$slots,"aside-outline-after",{},void 0,!0),a[0]||(a[0]=T("div",{class:"spacer"},null,-1)),I(t.$slots,"aside-ads-before",{},void 0,!0),c(n).carbonAds?(f(),de(Tl,{key:0,"carbon-ads":c(n).carbonAds},null,8,["carbon-ads"])):W("",!0),I(t.$slots,"aside-ads-after",{},void 0,!0),I(t.$slots,"aside-bottom",{},void 0,!0)]))}}),$l=xe(Pl,[["__scopeId","data-v-3f215769"]]);function Sl(){const{theme:e,page:n}=Ie();return B(()=>{const{text:t="Edit this page",pattern:a=""}=e.value.editLink||{};let r;return typeof a=="function"?r=a(n.value):r=a.replace(/:path/g,n.value.filePath),{url:r,text:t}})}function El(){const{page:e,theme:n,frontmatter:t}=Ie();return B(()=>{var v,m,d,p,k,P,R,b;const a=li(n.value.sidebar,e.value.relativePath),r=ul(a),s=Ol(r,_=>_.link.replace(/[?#].*$/,"")),i=s.findIndex(_=>ua(e.value.relativePath,_.link)),o=((v=n.value.docFooter)==null?void 0:v.prev)===!1&&!t.value.prev||t.value.prev===!1,l=((m=n.value.docFooter)==null?void 0:m.next)===!1&&!t.value.next||t.value.next===!1;return{prev:o?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((d=s[i-1])==null?void 0:d.docFooterText)??((p=s[i-1])==null?void 0:p.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((k=s[i-1])==null?void 0:k.link)},next:l?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((P=s[i+1])==null?void 0:P.docFooterText)??((R=s[i+1])==null?void 0:R.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((b=s[i+1])==null?void 0:b.link)}}})}function Ol(e,n){const t=new Set;return e.filter(a=>{const r=n(a);return t.has(r)?!1:t.add(r)})}const Vt=te({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const n=e,t=B(()=>n.tag??(n.href?"a":"span")),a=B(()=>n.href&&ni.test(n.href)||n.target==="_blank");return(r,s)=>(f(),de(bt(t.value),{class:ye(["VPLink",{link:r.href,"vp-external-link-icon":a.value,"no-icon":r.noIcon}]),href:r.href?c(wr)(r.href):void 0,target:r.target??(a.value?"_blank":void 0),rel:r.rel??(a.value?"noreferrer":void 0)},{default:C(()=>[I(r.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Al={class:"VPLastUpdated"},Il=["datetime"],Cl=te({__name:"VPDocFooterLastUpdated",setup(e){const{theme:n,page:t,lang:a}=Ie(),r=B(()=>new Date(t.value.lastUpdated)),s=B(()=>r.value.toISOString()),i=Y("");return Ue(()=>{hn(()=>{var o,l,v;i.value=new Intl.DateTimeFormat((l=(o=n.value.lastUpdated)==null?void 0:o.formatOptions)!=null&&l.forceLocale?a.value:void 0,((v=n.value.lastUpdated)==null?void 0:v.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(o,l)=>{var v;return f(),g("p",Al,[Ye(be(((v=c(n).lastUpdated)==null?void 0:v.text)||c(n).lastUpdatedText||"Last updated")+": ",1),T("time",{datetime:s.value},be(i.value),9,Il)])}}}),Rl=xe(Cl,[["__scopeId","data-v-e98dd255"]]),Nl={key:0,class:"VPDocFooter"},Vl={key:0,class:"edit-info"},Ll={key:0,class:"edit-link"},Bl={key:1,class:"last-updated"},Wl={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Yl={class:"pager"},jl=["innerHTML"],Fl=["innerHTML"],Hl={class:"pager"},zl=["innerHTML"],Ul=["innerHTML"],Gl=te({__name:"VPDocFooter",setup(e){const{theme:n,page:t,frontmatter:a}=Ie(),r=Sl(),s=El(),i=B(()=>n.value.editLink&&a.value.editLink!==!1),o=B(()=>t.value.lastUpdated),l=B(()=>i.value||o.value||s.value.prev||s.value.next);return(v,m)=>{var d,p,k,P;return l.value?(f(),g("footer",Nl,[I(v.$slots,"doc-footer-before",{},void 0,!0),i.value||o.value?(f(),g("div",Vl,[i.value?(f(),g("div",Ll,[re(Vt,{class:"edit-link-button",href:c(r).url,"no-icon":!0},{default:C(()=>[m[0]||(m[0]=T("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Ye(" "+be(c(r).text),1)]),_:1},8,["href"])])):W("",!0),o.value?(f(),g("div",Bl,[re(Rl)])):W("",!0)])):W("",!0),(d=c(s).prev)!=null&&d.link||(p=c(s).next)!=null&&p.link?(f(),g("nav",Wl,[m[1]||(m[1]=T("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),T("div",Yl,[(k=c(s).prev)!=null&&k.link?(f(),de(Vt,{key:0,class:"pager-link prev",href:c(s).prev.link},{default:C(()=>{var R;return[T("span",{class:"desc",innerHTML:((R=c(n).docFooter)==null?void 0:R.prev)||"Previous page"},null,8,jl),T("span",{class:"title",innerHTML:c(s).prev.text},null,8,Fl)]}),_:1},8,["href"])):W("",!0)]),T("div",Hl,[(P=c(s).next)!=null&&P.link?(f(),de(Vt,{key:0,class:"pager-link next",href:c(s).next.link},{default:C(()=>{var R;return[T("span",{class:"desc",innerHTML:((R=c(n).docFooter)==null?void 0:R.next)||"Next page"},null,8,zl),T("span",{class:"title",innerHTML:c(s).next.text},null,8,Ul)]}),_:1},8,["href"])):W("",!0)])])):W("",!0)])):W("",!0)}}}),Kl=xe(Gl,[["__scopeId","data-v-e257564d"]]),Xl={class:"container"},ql={class:"aside-container"},Ql={class:"aside-content"},Zl={class:"content"},Jl={class:"content-container"},eu={class:"main"},tu=te({__name:"VPDoc",setup(e){const{theme:n}=Ie(),t=vn(),{hasSidebar:a,hasAside:r,leftAside:s}=zt(),i=B(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(o,l)=>{const v=_a("Content");return f(),g("div",{class:ye(["VPDoc",{"has-sidebar":c(a),"has-aside":c(r)}])},[I(o.$slots,"doc-top",{},void 0,!0),T("div",Xl,[c(r)?(f(),g("div",{key:0,class:ye(["aside",{"left-aside":c(s)}])},[l[0]||(l[0]=T("div",{class:"aside-curtain"},null,-1)),T("div",ql,[T("div",Ql,[re($l,null,{"aside-top":C(()=>[I(o.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":C(()=>[I(o.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":C(()=>[I(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":C(()=>[I(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":C(()=>[I(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":C(()=>[I(o.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):W("",!0),T("div",Zl,[T("div",Jl,[I(o.$slots,"doc-before",{},void 0,!0),T("main",eu,[re(v,{class:ye(["vp-doc",[i.value,c(n).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),re(Kl,null,{"doc-footer-before":C(()=>[I(o.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),I(o.$slots,"doc-after",{},void 0,!0)])])]),I(o.$slots,"doc-bottom",{},void 0,!0)],2)}}}),au=xe(tu,[["__scopeId","data-v-39a288b8"]]),nu=te({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const n=e,t=B(()=>n.href&&ni.test(n.href)),a=B(()=>n.tag||(n.href?"a":"button"));return(r,s)=>(f(),de(bt(a.value),{class:ye(["VPButton",[r.size,r.theme]]),href:r.href?c(wr)(r.href):void 0,target:n.target??(t.value?"_blank":void 0),rel:n.rel??(t.value?"noreferrer":void 0)},{default:C(()=>[Ye(be(r.text),1)]),_:1},8,["class","href","target","rel"]))}}),ru=xe(nu,[["__scopeId","data-v-fa7799d5"]]),su=["src","alt"],iu=te({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(n,t)=>{const a=_a("VPImage",!0);return n.image?(f(),g(ge,{key:0},[typeof n.image=="string"||"src"in n.image?(f(),g("img",Ne({key:0,class:"VPImage"},typeof n.image=="string"?n.$attrs:{...n.image,...n.$attrs},{src:c(yr)(typeof n.image=="string"?n.image:n.image.src),alt:n.alt??(typeof n.image=="string"?"":n.image.alt||"")}),null,16,su)):(f(),g(ge,{key:1},[re(a,Ne({class:"dark",image:n.image.dark,alt:n.image.alt},n.$attrs),null,16,["image","alt"]),re(a,Ne({class:"light",image:n.image.light,alt:n.image.alt},n.$attrs),null,16,["image","alt"])],64))],64)):W("",!0)}}}),cn=xe(iu,[["__scopeId","data-v-8426fc1a"]]),ou={class:"container"},lu={class:"main"},uu={key:0,class:"name"},cu=["innerHTML"],du=["innerHTML"],_u=["innerHTML"],pu={key:0,class:"actions"},fu={key:0,class:"image"},hu={class:"image-container"},mu=te({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const n=bn("hero-image-slot-exists");return(t,a)=>(f(),g("div",{class:ye(["VPHero",{"has-image":t.image||c(n)}])},[T("div",ou,[T("div",lu,[I(t.$slots,"home-hero-info-before",{},void 0,!0),I(t.$slots,"home-hero-info",{},()=>[t.name?(f(),g("h1",uu,[T("span",{innerHTML:t.name,class:"clip"},null,8,cu)])):W("",!0),t.text?(f(),g("p",{key:1,innerHTML:t.text,class:"text"},null,8,du)):W("",!0),t.tagline?(f(),g("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,_u)):W("",!0)],!0),I(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(f(),g("div",pu,[(f(!0),g(ge,null,Se(t.actions,r=>(f(),g("div",{key:r.link,class:"action"},[re(ru,{tag:"a",size:"medium",theme:r.theme,text:r.text,href:r.link,target:r.target,rel:r.rel},null,8,["theme","text","href","target","rel"])]))),128))])):W("",!0),I(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||c(n)?(f(),g("div",fu,[T("div",hu,[a[0]||(a[0]=T("div",{class:"image-bg"},null,-1)),I(t.$slots,"home-hero-image",{},()=>[t.image?(f(),de(cn,{key:0,class:"image-src",image:t.image},null,8,["image"])):W("",!0)],!0)])])):W("",!0)])],2))}}),vu=xe(mu,[["__scopeId","data-v-303bb580"]]),bu=te({__name:"VPHomeHero",setup(e){const{frontmatter:n}=Ie();return(t,a)=>c(n).hero?(f(),de(vu,{key:0,class:"VPHomeHero",name:c(n).hero.name,text:c(n).hero.text,tagline:c(n).hero.tagline,image:c(n).hero.image,actions:c(n).hero.actions},{"home-hero-info-before":C(()=>[I(t.$slots,"home-hero-info-before")]),"home-hero-info":C(()=>[I(t.$slots,"home-hero-info")]),"home-hero-info-after":C(()=>[I(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":C(()=>[I(t.$slots,"home-hero-actions-after")]),"home-hero-image":C(()=>[I(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):W("",!0)}}),gu={class:"box"},yu={key:0,class:"icon"},ku=["innerHTML"],wu=["innerHTML"],xu=["innerHTML"],Du={key:4,class:"link-text"},Tu={class:"link-text-value"},Mu=te({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(n,t)=>(f(),de(Vt,{class:"VPFeature",href:n.link,rel:n.rel,target:n.target,"no-icon":!0,tag:n.link?"a":"div"},{default:C(()=>[T("article",gu,[typeof n.icon=="object"&&n.icon.wrap?(f(),g("div",yu,[re(cn,{image:n.icon,alt:n.icon.alt,height:n.icon.height||48,width:n.icon.width||48},null,8,["image","alt","height","width"])])):typeof n.icon=="object"?(f(),de(cn,{key:1,image:n.icon,alt:n.icon.alt,height:n.icon.height||48,width:n.icon.width||48},null,8,["image","alt","height","width"])):n.icon?(f(),g("div",{key:2,class:"icon",innerHTML:n.icon},null,8,ku)):W("",!0),T("h2",{class:"title",innerHTML:n.title},null,8,wu),n.details?(f(),g("p",{key:3,class:"details",innerHTML:n.details},null,8,xu)):W("",!0),n.linkText?(f(),g("div",Du,[T("p",Tu,[Ye(be(n.linkText)+" ",1),t[0]||(t[0]=T("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):W("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Pu=xe(Mu,[["__scopeId","data-v-a3976bdc"]]),$u={key:0,class:"VPFeatures"},Su={class:"container"},Eu={class:"items"},Ou=te({__name:"VPFeatures",props:{features:{}},setup(e){const n=e,t=B(()=>{const a=n.features.length;if(a){if(a===2)return"grid-2";if(a===3)return"grid-3";if(a%3===0)return"grid-6";if(a>3)return"grid-4"}else return});return(a,r)=>a.features?(f(),g("div",$u,[T("div",Su,[T("div",Eu,[(f(!0),g(ge,null,Se(a.features,s=>(f(),g("div",{key:s.title,class:ye(["item",[t.value]])},[re(Pu,{icon:s.icon,title:s.title,details:s.details,link:s.link,"link-text":s.linkText,rel:s.rel,target:s.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):W("",!0)}}),Au=xe(Ou,[["__scopeId","data-v-a6181336"]]),Iu=te({__name:"VPHomeFeatures",setup(e){const{frontmatter:n}=Ie();return(t,a)=>c(n).features?(f(),de(Au,{key:0,class:"VPHomeFeatures",features:c(n).features},null,8,["features"])):W("",!0)}}),Cu=te({__name:"VPHomeContent",setup(e){const{width:n}=Io({initialWidth:0,includeScrollbar:!1});return(t,a)=>(f(),g("div",{class:"vp-doc container",style:mt(c(n)?{"--vp-offset":`calc(50% - ${c(n)/2}px)`}:{})},[I(t.$slots,"default",{},void 0,!0)],4))}}),Ru=xe(Cu,[["__scopeId","data-v-8e2d4988"]]),Nu={class:"VPHome"},Vu=te({__name:"VPHome",setup(e){const{frontmatter:n}=Ie();return(t,a)=>{const r=_a("Content");return f(),g("div",Nu,[I(t.$slots,"home-hero-before",{},void 0,!0),re(bu,null,{"home-hero-info-before":C(()=>[I(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":C(()=>[I(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":C(()=>[I(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":C(()=>[I(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":C(()=>[I(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),I(t.$slots,"home-hero-after",{},void 0,!0),I(t.$slots,"home-features-before",{},void 0,!0),re(Iu),I(t.$slots,"home-features-after",{},void 0,!0),c(n).markdownStyles!==!1?(f(),de(Ru,{key:0},{default:C(()=>[re(r)]),_:1})):(f(),de(r,{key:1}))])}}}),Lu=xe(Vu,[["__scopeId","data-v-686f80a6"]]),Bu={},Wu={class:"VPPage"};function Yu(e,n){const t=_a("Content");return f(),g("div",Wu,[I(e.$slots,"page-top"),re(t),I(e.$slots,"page-bottom")])}const ju=xe(Bu,[["render",Yu]]),Fu=te({__name:"VPContent",setup(e){const{page:n,frontmatter:t}=Ie(),{hasSidebar:a}=zt();return(r,s)=>(f(),g("div",{class:ye(["VPContent",{"has-sidebar":c(a),"is-home":c(t).layout==="home"}]),id:"VPContent"},[c(n).isNotFound?I(r.$slots,"not-found",{key:0},()=>[re(ol)],!0):c(t).layout==="page"?(f(),de(ju,{key:1},{"page-top":C(()=>[I(r.$slots,"page-top",{},void 0,!0)]),"page-bottom":C(()=>[I(r.$slots,"page-bottom",{},void 0,!0)]),_:3})):c(t).layout==="home"?(f(),de(Lu,{key:2},{"home-hero-before":C(()=>[I(r.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":C(()=>[I(r.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":C(()=>[I(r.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":C(()=>[I(r.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":C(()=>[I(r.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":C(()=>[I(r.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":C(()=>[I(r.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":C(()=>[I(r.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":C(()=>[I(r.$slots,"home-features-after",{},void 0,!0)]),_:3})):c(t).layout&&c(t).layout!=="doc"?(f(),de(bt(c(t).layout),{key:3})):(f(),de(au,{key:4},{"doc-top":C(()=>[I(r.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":C(()=>[I(r.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":C(()=>[I(r.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":C(()=>[I(r.$slots,"doc-before",{},void 0,!0)]),"doc-after":C(()=>[I(r.$slots,"doc-after",{},void 0,!0)]),"aside-top":C(()=>[I(r.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":C(()=>[I(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":C(()=>[I(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":C(()=>[I(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":C(()=>[I(r.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":C(()=>[I(r.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),Hu=xe(Fu,[["__scopeId","data-v-1428d186"]]),zu={class:"container"},Uu=["innerHTML"],Gu=["innerHTML"],Ku=te({__name:"VPFooter",setup(e){const{theme:n,frontmatter:t}=Ie(),{hasSidebar:a}=zt();return(r,s)=>c(n).footer&&c(t).footer!==!1?(f(),g("footer",{key:0,class:ye(["VPFooter",{"has-sidebar":c(a)}])},[T("div",zu,[c(n).footer.message?(f(),g("p",{key:0,class:"message",innerHTML:c(n).footer.message},null,8,Uu)):W("",!0),c(n).footer.copyright?(f(),g("p",{key:1,class:"copyright",innerHTML:c(n).footer.copyright},null,8,Gu)):W("",!0)])],2)):W("",!0)}}),Xu=xe(Ku,[["__scopeId","data-v-e315a0ad"]]);function qu(){const{theme:e,frontmatter:n}=Ie(),t=ei([]),a=B(()=>t.value.length>0);return mn(()=>{t.value=xr(n.value.outline??e.value.outline)}),{headers:t,hasLocalNav:a}}const Qu={class:"menu-text"},Zu={class:"header"},Ju={class:"outline"},ec=te({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const n=e,{theme:t}=Ie(),a=Y(!1),r=Y(0),s=Y(),i=Y();function o(d){var p;(p=s.value)!=null&&p.contains(d.target)||(a.value=!1)}at(a,d=>{if(d){document.addEventListener("click",o);return}document.removeEventListener("click",o)}),Co("Escape",()=>{a.value=!1}),mn(()=>{a.value=!1});function l(){a.value=!a.value,r.value=window.innerHeight+Math.min(window.scrollY-n.navHeight,0)}function v(d){d.target.classList.contains("outline-link")&&(i.value&&(i.value.style.transition="none"),ct(()=>{a.value=!1}))}function m(){a.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(d,p)=>(f(),g("div",{class:"VPLocalNavOutlineDropdown",style:mt({"--vp-vh":r.value+"px"}),ref_key:"main",ref:s},[d.headers.length>0?(f(),g("button",{key:0,onClick:l,class:ye({open:a.value})},[T("span",Qu,be(c(ui)(c(t))),1),p[0]||(p[0]=T("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(f(),g("button",{key:1,onClick:m},be(c(t).returnToTopLabel||"Return to top"),1)),re(Ft,{name:"flyout"},{default:C(()=>[a.value?(f(),g("div",{key:0,ref_key:"items",ref:i,class:"items",onClick:v},[T("div",Zu,[T("a",{class:"top-link",href:"#",onClick:m},be(c(t).returnToTopLabel||"Return to top"),1)]),T("div",Ju,[re(ci,{headers:d.headers},null,8,["headers"])])],512)):W("",!0)]),_:1})],4))}}),tc=xe(ec,[["__scopeId","data-v-17a5e62e"]]),ac={class:"container"},nc=["aria-expanded"],rc={class:"menu-text"},sc=te({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:n,frontmatter:t}=Ie(),{hasSidebar:a}=zt(),{headers:r}=qu(),{y:s}=ri(),i=Y(0);Ue(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),mn(()=>{r.value=xr(t.value.outline??n.value.outline)});const o=B(()=>r.value.length===0),l=B(()=>o.value&&!a.value),v=B(()=>({VPLocalNav:!0,"has-sidebar":a.value,empty:o.value,fixed:l.value}));return(m,d)=>c(t).layout!=="home"&&(!l.value||c(s)>=i.value)?(f(),g("div",{key:0,class:ye(v.value)},[T("div",ac,[c(a)?(f(),g("button",{key:0,class:"menu","aria-expanded":m.open,"aria-controls":"VPSidebarNav",onClick:d[0]||(d[0]=p=>m.$emit("open-menu"))},[d[1]||(d[1]=T("span",{class:"vpi-align-left menu-icon"},null,-1)),T("span",rc,be(c(n).sidebarMenuLabel||"Menu"),1)],8,nc)):W("",!0),re(tc,{headers:c(r),navHeight:i.value},null,8,["headers","navHeight"])])],2)):W("",!0)}}),ic=xe(sc,[["__scopeId","data-v-a6f0e41e"]]);function oc(){const e=Y(!1);function n(){e.value=!0,window.addEventListener("resize",r)}function t(){e.value=!1,window.removeEventListener("resize",r)}function a(){e.value?t():n()}function r(){window.outerWidth>=768&&t()}const s=vn();return at(()=>s.path,t),{isScreenOpen:e,openScreen:n,closeScreen:t,toggleScreen:a}}const lc={},uc={class:"VPSwitch",type:"button",role:"switch"},cc={class:"check"},dc={key:0,class:"icon"};function _c(e,n){return f(),g("button",uc,[T("span",cc,[e.$slots.default?(f(),g("span",dc,[I(e.$slots,"default",{},void 0,!0)])):W("",!0)])])}const pc=xe(lc,[["render",_c],["__scopeId","data-v-1d5665e3"]]),fc=te({__name:"VPSwitchAppearance",setup(e){const{isDark:n,theme:t}=Ie(),a=bn("toggle-appearance",()=>{n.value=!n.value}),r=Y("");return kr(()=>{r.value=n.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(s,i)=>(f(),de(pc,{title:r.value,class:"VPSwitchAppearance","aria-checked":c(n),onClick:c(a)},{default:C(()=>i[0]||(i[0]=[T("span",{class:"vpi-sun sun"},null,-1),T("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),Dr=xe(fc,[["__scopeId","data-v-5337faa4"]]),hc={key:0,class:"VPNavBarAppearance"},mc=te({__name:"VPNavBarAppearance",setup(e){const{site:n}=Ie();return(t,a)=>c(n).appearance&&c(n).appearance!=="force-dark"&&c(n).appearance!=="force-auto"?(f(),g("div",hc,[re(Dr)])):W("",!0)}}),vc=xe(mc,[["__scopeId","data-v-6c893767"]]),Tr=Y();let di=!1,Cn=0;function bc(e){const n=Y(!1);if(gn){!di&&gc(),Cn++;const t=at(Tr,a=>{var r,s,i;a===e.el.value||(r=e.el.value)!=null&&r.contains(a)?(n.value=!0,(s=e.onFocus)==null||s.call(e)):(n.value=!1,(i=e.onBlur)==null||i.call(e))});Ht(()=>{t(),Cn--,Cn||yc()})}return Ro(n)}function gc(){document.addEventListener("focusin",_i),di=!0,Tr.value=document.activeElement}function yc(){document.removeEventListener("focusin",_i)}function _i(){Tr.value=document.activeElement}const kc={class:"VPMenuLink"},wc=["innerHTML"],xc=te({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:n}=Ie();return(t,a)=>(f(),g("div",kc,[re(Vt,{class:ye({active:c(ua)(c(n).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon},{default:C(()=>[T("span",{innerHTML:t.item.text},null,8,wc)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),yn=xe(xc,[["__scopeId","data-v-35975db6"]]),Dc={class:"VPMenuGroup"},Tc={key:0,class:"title"},Mc=te({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(n,t)=>(f(),g("div",Dc,[n.text?(f(),g("p",Tc,be(n.text),1)):W("",!0),(f(!0),g(ge,null,Se(n.items,a=>(f(),g(ge,null,["link"in a?(f(),de(yn,{key:0,item:a},null,8,["item"])):W("",!0)],64))),256))]))}}),Pc=xe(Mc,[["__scopeId","data-v-69e747b5"]]),$c={class:"VPMenu"},Sc={key:0,class:"items"},Ec=te({__name:"VPMenu",props:{items:{}},setup(e){return(n,t)=>(f(),g("div",$c,[n.items?(f(),g("div",Sc,[(f(!0),g(ge,null,Se(n.items,a=>(f(),g(ge,{key:JSON.stringify(a)},["link"in a?(f(),de(yn,{key:0,item:a},null,8,["item"])):"component"in a?(f(),de(bt(a.component),Ne({key:1,ref_for:!0},a.props),null,16)):(f(),de(Pc,{key:2,text:a.text,items:a.items},null,8,["text","items"]))],64))),128))])):W("",!0),I(n.$slots,"default",{},void 0,!0)]))}}),Oc=xe(Ec,[["__scopeId","data-v-b98bc113"]]),Ac=["aria-expanded","aria-label"],Ic={key:0,class:"text"},Cc=["innerHTML"],Rc={key:1,class:"vpi-more-horizontal icon"},Nc={class:"menu"},Vc=te({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const n=Y(!1),t=Y();bc({el:t,onBlur:a});function a(){n.value=!1}return(r,s)=>(f(),g("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:s[1]||(s[1]=i=>n.value=!0),onMouseleave:s[2]||(s[2]=i=>n.value=!1)},[T("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":n.value,"aria-label":r.label,onClick:s[0]||(s[0]=i=>n.value=!n.value)},[r.button||r.icon?(f(),g("span",Ic,[r.icon?(f(),g("span",{key:0,class:ye([r.icon,"option-icon"])},null,2)):W("",!0),r.button?(f(),g("span",{key:1,innerHTML:r.button},null,8,Cc)):W("",!0),s[3]||(s[3]=T("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(f(),g("span",Rc))],8,Ac),T("div",Nc,[re(Oc,{items:r.items},{default:C(()=>[I(r.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),Mr=xe(Vc,[["__scopeId","data-v-cf11d7a2"]]),Lc=["href","aria-label","innerHTML"],Bc=te({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const n=e,t=Y();Ue(async()=>{var s;await ct();const r=(s=t.value)==null?void 0:s.children[0];r instanceof HTMLElement&&r.className.startsWith("vpi-social-")&&(getComputedStyle(r).maskImage||getComputedStyle(r).webkitMaskImage)==="none"&&r.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${n.icon}.svg')`)});const a=B(()=>typeof n.icon=="object"?n.icon.svg:``);return(r,s)=>(f(),g("a",{ref_key:"el",ref:t,class:"VPSocialLink no-icon",href:r.link,"aria-label":r.ariaLabel??(typeof r.icon=="string"?r.icon:""),target:"_blank",rel:"noopener",innerHTML:a.value},null,8,Lc))}}),Wc=xe(Bc,[["__scopeId","data-v-bd121fe5"]]),Yc={class:"VPSocialLinks"},jc=te({__name:"VPSocialLinks",props:{links:{}},setup(e){return(n,t)=>(f(),g("div",Yc,[(f(!0),g(ge,null,Se(n.links,({link:a,icon:r,ariaLabel:s})=>(f(),de(Wc,{key:a,icon:r,link:a,ariaLabel:s},null,8,["icon","link","ariaLabel"]))),128))]))}}),Pr=xe(jc,[["__scopeId","data-v-7bc22406"]]),Fc={key:0,class:"group translations"},Hc={class:"trans-title"},zc={key:1,class:"group"},Uc={class:"item appearance"},Gc={class:"label"},Kc={class:"appearance-action"},Xc={key:2,class:"group"},qc={class:"item social-links"},Qc=te({__name:"VPNavBarExtra",setup(e){const{site:n,theme:t}=Ie(),{localeLinks:a,currentLang:r}=Ha({correspondingLink:!0}),s=B(()=>a.value.length&&r.value.label||n.value.appearance||t.value.socialLinks);return(i,o)=>s.value?(f(),de(Mr,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:C(()=>[c(a).length&&c(r).label?(f(),g("div",Fc,[T("p",Hc,be(c(r).label),1),(f(!0),g(ge,null,Se(c(a),l=>(f(),de(yn,{key:l.link,item:l},null,8,["item"]))),128))])):W("",!0),c(n).appearance&&c(n).appearance!=="force-dark"&&c(n).appearance!=="force-auto"?(f(),g("div",zc,[T("div",Uc,[T("p",Gc,be(c(t).darkModeSwitchLabel||"Appearance"),1),T("div",Kc,[re(Dr)])])])):W("",!0),c(t).socialLinks?(f(),g("div",Xc,[T("div",qc,[re(Pr,{class:"social-links-list",links:c(t).socialLinks},null,8,["links"])])])):W("",!0)]),_:1})):W("",!0)}}),Zc=xe(Qc,[["__scopeId","data-v-bb2aa2f0"]]),Jc=["aria-expanded"],ed=te({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(n,t)=>(f(),g("button",{type:"button",class:ye(["VPNavBarHamburger",{active:n.active}]),"aria-label":"mobile navigation","aria-expanded":n.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=a=>n.$emit("click"))},t[1]||(t[1]=[T("span",{class:"container"},[T("span",{class:"top"}),T("span",{class:"middle"}),T("span",{class:"bottom"})],-1)]),10,Jc))}}),td=xe(ed,[["__scopeId","data-v-e5dd9c1c"]]),ad=["innerHTML"],nd=te({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:n}=Ie();return(t,a)=>(f(),de(Vt,{class:ye({VPNavBarMenuLink:!0,active:c(ua)(c(n).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,tabindex:"0"},{default:C(()=>[T("span",{innerHTML:t.item.text},null,8,ad)]),_:1},8,["class","href","target","rel","no-icon"]))}}),rd=xe(nd,[["__scopeId","data-v-e56f3d57"]]),sd=te({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const n=e,{page:t}=Ie(),a=s=>"component"in s?!1:"link"in s?ua(t.value.relativePath,s.link,!!n.item.activeMatch):s.items.some(a),r=B(()=>a(n.item));return(s,i)=>(f(),de(Mr,{class:ye({VPNavBarMenuGroup:!0,active:c(ua)(c(t).relativePath,s.item.activeMatch,!!s.item.activeMatch)||r.value}),button:s.item.text,items:s.item.items},null,8,["class","button","items"]))}}),id={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},od=te({__name:"VPNavBarMenu",setup(e){const{theme:n}=Ie();return(t,a)=>c(n).nav?(f(),g("nav",id,[a[0]||(a[0]=T("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(f(!0),g(ge,null,Se(c(n).nav,r=>(f(),g(ge,{key:JSON.stringify(r)},["link"in r?(f(),de(rd,{key:0,item:r},null,8,["item"])):"component"in r?(f(),de(bt(r.component),Ne({key:1,ref_for:!0},r.props),null,16)):(f(),de(sd,{key:2,item:r},null,8,["item"]))],64))),128))])):W("",!0)}}),ld=xe(od,[["__scopeId","data-v-dc692963"]]);function ud(e){const{localeIndex:n,theme:t}=Ie();function a(r){var P,R,b;const s=r.split("."),i=(P=t.value.search)==null?void 0:P.options,o=i&&typeof i=="object",l=o&&((b=(R=i.locales)==null?void 0:R[n.value])==null?void 0:b.translations)||null,v=o&&i.translations||null;let m=l,d=v,p=e;const k=s.pop();for(const _ of s){let y=null;const A=p==null?void 0:p[_];A&&(y=p=A);const S=d==null?void 0:d[_];S&&(y=d=S);const U=m==null?void 0:m[_];U&&(y=m=U),A||(p=y),S||(d=y),U||(m=y)}return(m==null?void 0:m[k])??(d==null?void 0:d[k])??(p==null?void 0:p[k])??""}return a}const cd=["aria-label"],dd={class:"DocSearch-Button-Container"},_d={class:"DocSearch-Button-Placeholder"},ts=te({__name:"VPNavBarSearchButton",setup(e){const t=ud({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(a,r)=>(f(),g("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":c(t)("button.buttonAriaLabel")},[T("span",dd,[r[0]||(r[0]=T("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),T("span",_d,be(c(t)("button.buttonText")),1)]),r[1]||(r[1]=T("span",{class:"DocSearch-Button-Keys"},[T("kbd",{class:"DocSearch-Button-Key"}),T("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,cd))}}),pd={class:"VPNavBarSearch"},fd={id:"local-search"},hd={key:1,id:"docsearch"},md=te({__name:"VPNavBarSearch",setup(e){const n=()=>null,t=ti(()=>ai(()=>import("./VPAlgoliaSearchBox.hPGN3qUp.js"),__vite__mapDeps([2,1]))),{theme:a}=Ie(),r=Y(!1),s=Y(!1),i=()=>{const p="VPAlgoliaPreconnect";(window.requestIdleCallback||setTimeout)(()=>{var R;const P=document.createElement("link");P.id=p,P.rel="preconnect",P.href=`https://${(((R=a.value.search)==null?void 0:R.options)??a.value.algolia).appId}-dsn.algolia.net`,P.crossOrigin="",document.head.appendChild(P)})};Ue(()=>{i();const p=P=>{(P.key.toLowerCase()==="k"&&(P.metaKey||P.ctrlKey)||!v(P)&&P.key==="/")&&(P.preventDefault(),o(),k())},k=()=>{window.removeEventListener("keydown",p)};window.addEventListener("keydown",p),Ht(k)});function o(){r.value||(r.value=!0,setTimeout(l,16))}function l(){const p=new Event("keydown");p.key="k",p.metaKey=!0,window.dispatchEvent(p),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||l()},16)}function v(p){const k=p.target,P=k.tagName;return k.isContentEditable||P==="INPUT"||P==="SELECT"||P==="TEXTAREA"}const m=Y(!1),d="algolia";return(p,k)=>{var P;return f(),g("div",pd,[c(d)==="local"?(f(),g(ge,{key:0},[m.value?(f(),de(c(n),{key:0,onClose:k[0]||(k[0]=R=>m.value=!1)})):W("",!0),T("div",fd,[re(ts,{onClick:k[1]||(k[1]=R=>m.value=!0)})])],64)):c(d)==="algolia"?(f(),g(ge,{key:1},[r.value?(f(),de(c(t),{key:0,algolia:((P=c(a).search)==null?void 0:P.options)??c(a).algolia,onVnodeBeforeMount:k[2]||(k[2]=R=>s.value=!0)},null,8,["algolia"])):W("",!0),s.value?W("",!0):(f(),g("div",hd,[re(ts,{onClick:o})]))],64)):W("",!0)])}}}),vd=te({__name:"VPNavBarSocialLinks",setup(e){const{theme:n}=Ie();return(t,a)=>c(n).socialLinks?(f(),de(Pr,{key:0,class:"VPNavBarSocialLinks",links:c(n).socialLinks},null,8,["links"])):W("",!0)}}),bd=xe(vd,[["__scopeId","data-v-0394ad82"]]),gd=["href","rel","target"],yd=["innerHTML"],kd={key:2},wd=te({__name:"VPNavBarTitle",setup(e){const{site:n,theme:t}=Ie(),{hasSidebar:a}=zt(),{currentLang:r}=Ha(),s=B(()=>{var l;return typeof t.value.logoLink=="string"?t.value.logoLink:(l=t.value.logoLink)==null?void 0:l.link}),i=B(()=>{var l;return typeof t.value.logoLink=="string"||(l=t.value.logoLink)==null?void 0:l.rel}),o=B(()=>{var l;return typeof t.value.logoLink=="string"||(l=t.value.logoLink)==null?void 0:l.target});return(l,v)=>(f(),g("div",{class:ye(["VPNavBarTitle",{"has-sidebar":c(a)}])},[T("a",{class:"title",href:s.value??c(wr)(c(r).link),rel:i.value,target:o.value},[I(l.$slots,"nav-bar-title-before",{},void 0,!0),c(t).logo?(f(),de(cn,{key:0,class:"logo",image:c(t).logo},null,8,["image"])):W("",!0),c(t).siteTitle?(f(),g("span",{key:1,innerHTML:c(t).siteTitle},null,8,yd)):c(t).siteTitle===void 0?(f(),g("span",kd,be(c(n).title),1)):W("",!0),I(l.$slots,"nav-bar-title-after",{},void 0,!0)],8,gd)],2))}}),xd=xe(wd,[["__scopeId","data-v-1168a8e4"]]),Dd={class:"items"},Td={class:"title"},Md=te({__name:"VPNavBarTranslations",setup(e){const{theme:n}=Ie(),{localeLinks:t,currentLang:a}=Ha({correspondingLink:!0});return(r,s)=>c(t).length&&c(a).label?(f(),de(Mr,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:c(n).langMenuLabel||"Change language"},{default:C(()=>[T("div",Dd,[T("p",Td,be(c(a).label),1),(f(!0),g(ge,null,Se(c(t),i=>(f(),de(yn,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):W("",!0)}}),Pd=xe(Md,[["__scopeId","data-v-88af2de4"]]),$d={class:"wrapper"},Sd={class:"container"},Ed={class:"title"},Od={class:"content"},Ad={class:"content-body"},Id=te({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const n=e,{y:t}=ri(),{hasSidebar:a}=zt(),{frontmatter:r}=Ie(),s=Y({});return kr(()=>{s.value={"has-sidebar":a.value,home:r.value.layout==="home",top:t.value===0,"screen-open":n.isScreenOpen}}),(i,o)=>(f(),g("div",{class:ye(["VPNavBar",s.value])},[T("div",$d,[T("div",Sd,[T("div",Ed,[re(xd,null,{"nav-bar-title-before":C(()=>[I(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":C(()=>[I(i.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),T("div",Od,[T("div",Ad,[I(i.$slots,"nav-bar-content-before",{},void 0,!0),re(md,{class:"search"}),re(ld,{class:"menu"}),re(Pd,{class:"translations"}),re(vc,{class:"appearance"}),re(bd,{class:"social-links"}),re(Zc,{class:"extra"}),I(i.$slots,"nav-bar-content-after",{},void 0,!0),re(td,{class:"hamburger",active:i.isScreenOpen,onClick:o[0]||(o[0]=l=>i.$emit("toggle-screen"))},null,8,["active"])])])])]),o[1]||(o[1]=T("div",{class:"divider"},[T("div",{class:"divider-line"})],-1))],2))}}),Cd=xe(Id,[["__scopeId","data-v-6aa21345"]]),Rd={key:0,class:"VPNavScreenAppearance"},Nd={class:"text"},Vd=te({__name:"VPNavScreenAppearance",setup(e){const{site:n,theme:t}=Ie();return(a,r)=>c(n).appearance&&c(n).appearance!=="force-dark"&&c(n).appearance!=="force-auto"?(f(),g("div",Rd,[T("p",Nd,be(c(t).darkModeSwitchLabel||"Appearance"),1),re(Dr)])):W("",!0)}}),Ld=xe(Vd,[["__scopeId","data-v-b44890b2"]]),Bd=["innerHTML"],Wd=te({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const n=bn("close-screen");return(t,a)=>(f(),de(Vt,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:c(n)},{default:C(()=>[T("span",{innerHTML:t.item.text},null,8,Bd)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),Yd=xe(Wd,[["__scopeId","data-v-df37e6dd"]]),jd=["innerHTML"],Fd=te({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const n=bn("close-screen");return(t,a)=>(f(),de(Vt,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,"no-icon":t.item.noIcon,onClick:c(n)},{default:C(()=>[T("span",{innerHTML:t.item.text},null,8,jd)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),pi=xe(Fd,[["__scopeId","data-v-3e9c20e4"]]),Hd={class:"VPNavScreenMenuGroupSection"},zd={key:0,class:"title"},Ud=te({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(n,t)=>(f(),g("div",Hd,[n.text?(f(),g("p",zd,be(n.text),1)):W("",!0),(f(!0),g(ge,null,Se(n.items,a=>(f(),de(pi,{key:a.text,item:a},null,8,["item"]))),128))]))}}),Gd=xe(Ud,[["__scopeId","data-v-8133b170"]]),Kd=["aria-controls","aria-expanded"],Xd=["innerHTML"],qd=["id"],Qd={key:0,class:"item"},Zd={key:1,class:"item"},Jd={key:2,class:"group"},e_=te({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const n=e,t=Y(!1),a=B(()=>`NavScreenGroup-${n.text.replace(" ","-").toLowerCase()}`);function r(){t.value=!t.value}return(s,i)=>(f(),g("div",{class:ye(["VPNavScreenMenuGroup",{open:t.value}])},[T("button",{class:"button","aria-controls":a.value,"aria-expanded":t.value,onClick:r},[T("span",{class:"button-text",innerHTML:s.text},null,8,Xd),i[0]||(i[0]=T("span",{class:"vpi-plus button-icon"},null,-1))],8,Kd),T("div",{id:a.value,class:"items"},[(f(!0),g(ge,null,Se(s.items,o=>(f(),g(ge,{key:JSON.stringify(o)},["link"in o?(f(),g("div",Qd,[re(pi,{item:o},null,8,["item"])])):"component"in o?(f(),g("div",Zd,[(f(),de(bt(o.component),Ne({ref_for:!0},o.props,{"screen-menu":""}),null,16))])):(f(),g("div",Jd,[re(Gd,{text:o.text,items:o.items},null,8,["text","items"])]))],64))),128))],8,qd)],2))}}),t_=xe(e_,[["__scopeId","data-v-b9ab8c58"]]),a_={key:0,class:"VPNavScreenMenu"},n_=te({__name:"VPNavScreenMenu",setup(e){const{theme:n}=Ie();return(t,a)=>c(n).nav?(f(),g("nav",a_,[(f(!0),g(ge,null,Se(c(n).nav,r=>(f(),g(ge,{key:JSON.stringify(r)},["link"in r?(f(),de(Yd,{key:0,item:r},null,8,["item"])):"component"in r?(f(),de(bt(r.component),Ne({key:1,ref_for:!0},r.props,{"screen-menu":""}),null,16)):(f(),de(t_,{key:2,text:r.text||"",items:r.items},null,8,["text","items"]))],64))),128))])):W("",!0)}}),r_=te({__name:"VPNavScreenSocialLinks",setup(e){const{theme:n}=Ie();return(t,a)=>c(n).socialLinks?(f(),de(Pr,{key:0,class:"VPNavScreenSocialLinks",links:c(n).socialLinks},null,8,["links"])):W("",!0)}}),s_={class:"list"},i_=te({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:n,currentLang:t}=Ha({correspondingLink:!0}),a=Y(!1);function r(){a.value=!a.value}return(s,i)=>c(n).length&&c(t).label?(f(),g("div",{key:0,class:ye(["VPNavScreenTranslations",{open:a.value}])},[T("button",{class:"title",onClick:r},[i[0]||(i[0]=T("span",{class:"vpi-languages icon lang"},null,-1)),Ye(" "+be(c(t).label)+" ",1),i[1]||(i[1]=T("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),T("ul",s_,[(f(!0),g(ge,null,Se(c(n),o=>(f(),g("li",{key:o.link,class:"item"},[re(Vt,{class:"link",href:o.link},{default:C(()=>[Ye(be(o.text),1)]),_:2},1032,["href"])]))),128))])],2)):W("",!0)}}),o_=xe(i_,[["__scopeId","data-v-858fe1a4"]]),l_={class:"container"},u_=te({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const n=Y(null),t=si(gn?document.body:null);return(a,r)=>(f(),de(Ft,{name:"fade",onEnter:r[0]||(r[0]=s=>t.value=!0),onAfterLeave:r[1]||(r[1]=s=>t.value=!1)},{default:C(()=>[a.open?(f(),g("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:n,id:"VPNavScreen"},[T("div",l_,[I(a.$slots,"nav-screen-content-before",{},void 0,!0),re(n_,{class:"menu"}),re(o_,{class:"translations"}),re(Ld,{class:"appearance"}),re(r_,{class:"social-links"}),I(a.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):W("",!0)]),_:3}))}}),c_=xe(u_,[["__scopeId","data-v-f2779853"]]),d_={key:0,class:"VPNav"},__=te({__name:"VPNav",setup(e){const{isScreenOpen:n,closeScreen:t,toggleScreen:a}=oc(),{frontmatter:r}=Ie(),s=B(()=>r.value.navbar!==!1);return ii("close-screen",t),hn(()=>{gn&&document.documentElement.classList.toggle("hide-nav",!s.value)}),(i,o)=>s.value?(f(),g("header",d_,[re(Cd,{"is-screen-open":c(n),onToggleScreen:c(a)},{"nav-bar-title-before":C(()=>[I(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":C(()=>[I(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":C(()=>[I(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":C(()=>[I(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),re(c_,{open:c(n)},{"nav-screen-content-before":C(()=>[I(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":C(()=>[I(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):W("",!0)}}),p_=xe(__,[["__scopeId","data-v-ae24b3ad"]]),f_=["role","tabindex"],h_={key:1,class:"items"},m_=te({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const n=e,{collapsed:t,collapsible:a,isLink:r,isActiveLink:s,hasActiveLink:i,hasChildren:o,toggle:l}=dl(B(()=>n.item)),v=B(()=>o.value?"section":"div"),m=B(()=>r.value?"a":"div"),d=B(()=>o.value?n.depth+2===7?"p":`h${n.depth+2}`:"p"),p=B(()=>r.value?void 0:"button"),k=B(()=>[[`level-${n.depth}`],{collapsible:a.value},{collapsed:t.value},{"is-link":r.value},{"is-active":s.value},{"has-active":i.value}]);function P(b){"key"in b&&b.key!=="Enter"||!n.item.link&&l()}function R(){n.item.link&&l()}return(b,_)=>{const y=_a("VPSidebarItem",!0);return f(),de(bt(v.value),{class:ye(["VPSidebarItem",k.value])},{default:C(()=>[b.item.text?(f(),g("div",Ne({key:0,class:"item",role:p.value},No(b.item.items?{click:P,keydown:P}:{},!0),{tabindex:b.item.items&&0}),[_[1]||(_[1]=T("div",{class:"indicator"},null,-1)),b.item.link?(f(),de(Vt,{key:0,tag:m.value,class:"link",href:b.item.link,rel:b.item.rel,target:b.item.target},{default:C(()=>[(f(),de(bt(d.value),{class:"text",innerHTML:b.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(f(),de(bt(d.value),{key:1,class:"text",innerHTML:b.item.text},null,8,["innerHTML"])),b.item.collapsed!=null&&b.item.items&&b.item.items.length?(f(),g("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:R,onKeydown:oi(R,["enter"]),tabindex:"0"},_[0]||(_[0]=[T("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):W("",!0)],16,f_)):W("",!0),b.item.items&&b.item.items.length?(f(),g("div",h_,[b.depth<5?(f(!0),g(ge,{key:0},Se(b.item.items,A=>(f(),de(y,{key:A.text,item:A,depth:b.depth+1},null,8,["item","depth"]))),128)):W("",!0)])):W("",!0)]),_:1},8,["class"])}}}),v_=xe(m_,[["__scopeId","data-v-b7550ba0"]]),b_=te({__name:"VPSidebarGroup",props:{items:{}},setup(e){const n=Y(!0);let t=null;return Ue(()=>{t=setTimeout(()=>{t=null,n.value=!1},300)}),Vo(()=>{t!=null&&(clearTimeout(t),t=null)}),(a,r)=>(f(!0),g(ge,null,Se(a.items,s=>(f(),g("div",{key:s.text,class:ye(["group",{"no-transition":n.value}])},[re(v_,{item:s,depth:0},null,8,["item"])],2))),128))}}),g_=xe(b_,[["__scopeId","data-v-c40bc020"]]),y_={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},k_=te({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:n,hasSidebar:t}=zt(),a=e,r=Y(null),s=si(gn?document.body:null);at([a,r],()=>{var o;a.open?(s.value=!0,(o=r.value)==null||o.focus()):s.value=!1},{immediate:!0,flush:"post"});const i=Y(0);return at(n,()=>{i.value+=1},{deep:!0}),(o,l)=>c(t)?(f(),g("aside",{key:0,class:ye(["VPSidebar",{open:o.open}]),ref_key:"navEl",ref:r,onClick:l[0]||(l[0]=ca(()=>{},["stop"]))},[l[2]||(l[2]=T("div",{class:"curtain"},null,-1)),T("nav",y_,[l[1]||(l[1]=T("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),I(o.$slots,"sidebar-nav-before",{},void 0,!0),(f(),de(g_,{items:c(n),key:i.value},null,8,["items"])),I(o.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):W("",!0)}}),w_=xe(k_,[["__scopeId","data-v-319d5ca6"]]),x_=te({__name:"VPSkipLink",setup(e){const n=vn(),t=Y();at(()=>n.path,()=>t.value.focus());function a({target:r}){const s=document.getElementById(decodeURIComponent(r.hash).slice(1));if(s){const i=()=>{s.removeAttribute("tabindex"),s.removeEventListener("blur",i)};s.setAttribute("tabindex","-1"),s.addEventListener("blur",i),s.focus(),window.scrollTo(0,0)}}return(r,s)=>(f(),g(ge,null,[T("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),T("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:a}," Skip to content ")],64))}}),D_=xe(x_,[["__scopeId","data-v-0f60ec36"]]),T_=te({__name:"Layout",setup(e){const{isOpen:n,open:t,close:a}=zt(),r=vn();at(()=>r.path,a),cl(n,a);const{frontmatter:s}=Ie(),i=ta(),o=B(()=>!!i["home-hero-image"]);return ii("hero-image-slot-exists",o),(l,v)=>{const m=_a("Content");return c(s).layout!==!1?(f(),g("div",{key:0,class:ye(["Layout",c(s).pageClass])},[I(l.$slots,"layout-top",{},void 0,!0),re(D_),re(Qo,{class:"backdrop",show:c(n),onClick:c(a)},null,8,["show","onClick"]),re(p_,null,{"nav-bar-title-before":C(()=>[I(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":C(()=>[I(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":C(()=>[I(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":C(()=>[I(l.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":C(()=>[I(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":C(()=>[I(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),re(ic,{open:c(n),onOpenMenu:c(t)},null,8,["open","onOpenMenu"]),re(w_,{open:c(n)},{"sidebar-nav-before":C(()=>[I(l.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":C(()=>[I(l.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),re(Hu,null,{"page-top":C(()=>[I(l.$slots,"page-top",{},void 0,!0)]),"page-bottom":C(()=>[I(l.$slots,"page-bottom",{},void 0,!0)]),"not-found":C(()=>[I(l.$slots,"not-found",{},void 0,!0)]),"home-hero-before":C(()=>[I(l.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":C(()=>[I(l.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":C(()=>[I(l.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":C(()=>[I(l.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":C(()=>[I(l.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":C(()=>[I(l.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":C(()=>[I(l.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":C(()=>[I(l.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":C(()=>[I(l.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":C(()=>[I(l.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":C(()=>[I(l.$slots,"doc-before",{},void 0,!0)]),"doc-after":C(()=>[I(l.$slots,"doc-after",{},void 0,!0)]),"doc-top":C(()=>[I(l.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":C(()=>[I(l.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":C(()=>[I(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":C(()=>[I(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":C(()=>[I(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":C(()=>[I(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":C(()=>[I(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":C(()=>[I(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),re(Xu),I(l.$slots,"layout-bottom",{},void 0,!0)],2)):(f(),de(m,{key:1}))}}}),M_=xe(T_,[["__scopeId","data-v-5d98c3a5"]]),P_={Layout:M_,enhanceApp:({app:e})=>{e.component("Badge",Ko)}},$_={},S_={class:"star-and-sponsor"};function E_(e,n){return f(),g("div",S_,n[0]||(n[0]=[T("p",null,[Ye(" ⭐ If you like the component, give it a star on "),T("a",{class:"home-link",href:"https://github.com/Vuepic/vue-datepicker",target:"_blank"},"GitHub"),Ye(" and consider "),T("a",{class:"home-link",href:"https://github.com/sponsors/Vuepic",target:"_blank"},"sponsoring"),Ye(" its development! ⭐ ")],-1)]))}const O_=xe($_,[["render",E_]]),fi=6048e5,A_=864e5,I_=6e4,hi=36e5,C_=1e3,as=Symbol.for("constructDateFrom");function je(e,n){return typeof e=="function"?e(n):e&&typeof e=="object"&&as in e?e[as](n):e instanceof Date?new e.constructor(n):new Date(n)}function Pe(e,n){return je(n||e,e)}function rt(e,n,t){const a=Pe(e,t==null?void 0:t.in);return isNaN(n)?je((t==null?void 0:t.in)||e,NaN):(n&&a.setDate(a.getDate()+n),a)}function kt(e,n,t){const a=Pe(e,t==null?void 0:t.in);if(isNaN(n))return je(e,NaN);if(!n)return a;const r=a.getDate(),s=je(e,a.getTime());s.setMonth(a.getMonth()+n+1,0);const i=s.getDate();return r>=i?s:(a.setFullYear(s.getFullYear(),s.getMonth(),r),a)}function mi(e,n,t){const{years:a=0,months:r=0,weeks:s=0,days:i=0,hours:o=0,minutes:l=0,seconds:v=0}=n,m=Pe(e,t==null?void 0:t.in),d=r||a?kt(m,r+a*12):m,p=i||s?rt(d,i+s*7):d,k=l+o*60,R=(v+k*60)*1e3;return je(e,+p+R)}function R_(e,n,t){return je(e,+Pe(e)+n)}function N_(e,n,t){return R_(e,n*hi)}let V_={};function pa(){return V_}function Pt(e,n){var o,l,v,m;const t=pa(),a=(n==null?void 0:n.weekStartsOn)??((l=(o=n==null?void 0:n.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((m=(v=t.locale)==null?void 0:v.options)==null?void 0:m.weekStartsOn)??0,r=Pe(e,n==null?void 0:n.in),s=r.getDay(),i=(s=s.getTime()?a+1:t.getTime()>=o.getTime()?a:a-1}function dn(e){const n=Pe(e),t=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return t.setUTCFullYear(n.getFullYear()),+e-+t}function za(e,...n){const t=je.bind(null,n.find(a=>typeof a=="object"));return n.map(t)}function ns(e,n){const t=Pe(e,n==null?void 0:n.in);return t.setHours(0,0,0,0),t}function bi(e,n,t){const[a,r]=za(t==null?void 0:t.in,e,n),s=ns(a),i=ns(r),o=+s-dn(s),l=+i-dn(i);return Math.round((o-l)/A_)}function L_(e,n){const t=vi(e,n),a=je(e,0);return a.setFullYear(t,0,4),a.setHours(0,0,0,0),wa(a)}function B_(e,n,t){return kt(e,n*3,t)}function $r(e,n,t){return kt(e,n*12,t)}function rs(e,n){const t=+Pe(e)-+Pe(n);return t<0?-1:t>0?1:t}function gi(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Va(e){return!(!gi(e)&&typeof e!="number"||isNaN(+Pe(e)))}function ss(e,n){const t=Pe(e,n==null?void 0:n.in);return Math.trunc(t.getMonth()/3)+1}function W_(e,n,t){const[a,r]=za(t==null?void 0:t.in,e,n);return a.getFullYear()-r.getFullYear()}function is(e,n){const t=Pe(e,n==null?void 0:n.in),a=t.getMonth();return t.setFullYear(t.getFullYear(),a+1,0),t.setHours(23,59,59,999),t}function Y_(e,n,t){const[a,r]=za(t==null?void 0:t.in,e,n),s=rs(a,r),i=Math.abs(W_(a,r));a.setFullYear(1584),r.setFullYear(1584);const o=rs(a,r)===-s,l=s*(i-+o);return l===0?0:l}function yi(e,n){const[t,a]=za(e,n.start,n.end);return{start:t,end:a}}function ki(e,n){const{start:t,end:a}=yi(n==null?void 0:n.in,e);let r=+t>+a;const s=r?+t:+a,i=r?a:t;i.setHours(0,0,0,0);let o=1;const l=[];for(;+i<=s;)l.push(je(t,i)),i.setDate(i.getDate()+o),i.setHours(0,0,0,0);return r?l.reverse():l}function qt(e,n){const t=Pe(e,n==null?void 0:n.in),a=t.getMonth(),r=a-a%3;return t.setMonth(r,1),t.setHours(0,0,0,0),t}function j_(e,n){const{start:t,end:a}=yi(n==null?void 0:n.in,e);let r=+t>+a;const s=r?+qt(t):+qt(a);let i=qt(r?a:t),o=1;const l=[];for(;+i<=s;)l.push(je(t,i)),i=B_(i,o);return r?l.reverse():l}function dr(e,n){const t=Pe(e,n==null?void 0:n.in);return t.setDate(1),t.setHours(0,0,0,0),t}function Sr(e,n){const t=Pe(e,n==null?void 0:n.in),a=t.getFullYear();return t.setFullYear(a+1,0,0),t.setHours(23,59,59,999),t}function xa(e,n){const t=Pe(e,n==null?void 0:n.in);return t.setFullYear(t.getFullYear(),0,1),t.setHours(0,0,0,0),t}function wi(e,n){var o,l,v,m;const t=pa(),a=(n==null?void 0:n.weekStartsOn)??((l=(o=n==null?void 0:n.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)??t.weekStartsOn??((m=(v=t.locale)==null?void 0:v.options)==null?void 0:m.weekStartsOn)??0,r=Pe(e,n==null?void 0:n.in),s=r.getDay(),i=(s{let a;const r=F_[e];return typeof r=="string"?a=r:n===1?a=r.one:a=r.other.replace("{{count}}",n.toString()),t!=null&&t.addSuffix?t.comparison&&t.comparison>0?"in "+a:a+" ago":a};function ya(e){return(n={})=>{const t=n.width?String(n.width):e.defaultWidth;return e.formats[t]||e.formats[e.defaultWidth]}}const z_={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},U_={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},G_={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},K_={date:ya({formats:z_,defaultWidth:"full"}),time:ya({formats:U_,defaultWidth:"full"}),dateTime:ya({formats:G_,defaultWidth:"full"})},X_={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},q_=(e,n,t,a)=>X_[e];function At(e){return(n,t)=>{const a=t!=null&&t.context?String(t.context):"standalone";let r;if(a==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,o=t!=null&&t.width?String(t.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{const i=e.defaultWidth,o=t!=null&&t.width?String(t.width):e.defaultWidth;r=e.values[o]||e.values[i]}const s=e.argumentCallback?e.argumentCallback(n):n;return r[s]}}const Q_={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Z_={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},J_={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"]},ep={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"]},tp={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"}},ap={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"}},np=(e,n)=>{const t=Number(e),a=t%100;if(a>20||a<10)switch(a%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},rp={ordinalNumber:np,era:At({values:Q_,defaultWidth:"wide"}),quarter:At({values:Z_,defaultWidth:"wide",argumentCallback:e=>e-1}),month:At({values:J_,defaultWidth:"wide"}),day:At({values:ep,defaultWidth:"wide"}),dayPeriod:At({values:tp,defaultWidth:"wide",formattingValues:ap,defaultFormattingWidth:"wide"})};function It(e){return(n,t={})=>{const a=t.width,r=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],s=n.match(r);if(!s)return null;const i=s[0],o=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(o)?ip(o,d=>d.test(i)):sp(o,d=>d.test(i));let v;v=e.valueCallback?e.valueCallback(l):l,v=t.valueCallback?t.valueCallback(v):v;const m=n.slice(i.length);return{value:v,rest:m}}}function sp(e,n){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&n(e[t]))return t}function ip(e,n){for(let t=0;t{const a=n.match(e.matchPattern);if(!a)return null;const r=a[0],s=n.match(e.parsePattern);if(!s)return null;let i=e.valueCallback?e.valueCallback(s[0]):s[0];i=t.valueCallback?t.valueCallback(i):i;const o=n.slice(r.length);return{value:i,rest:o}}}const op=/^(\d+)(th|st|nd|rd)?/i,lp=/\d+/i,up={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},cp={any:[/^b/i,/^(a|c)/i]},dp={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_p={any:[/1/i,/2/i,/3/i,/4/i]},pp={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},fp={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]},hp={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},mp={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]},vp={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},bp={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}},gp={ordinalNumber:xi({matchPattern:op,parsePattern:lp,valueCallback:e=>parseInt(e,10)}),era:It({matchPatterns:up,defaultMatchWidth:"wide",parsePatterns:cp,defaultParseWidth:"any"}),quarter:It({matchPatterns:dp,defaultMatchWidth:"wide",parsePatterns:_p,defaultParseWidth:"any",valueCallback:e=>e+1}),month:It({matchPatterns:pp,defaultMatchWidth:"wide",parsePatterns:fp,defaultParseWidth:"any"}),day:It({matchPatterns:hp,defaultMatchWidth:"wide",parsePatterns:mp,defaultParseWidth:"any"}),dayPeriod:It({matchPatterns:vp,defaultMatchWidth:"any",parsePatterns:bp,defaultParseWidth:"any"})},Di={code:"en-US",formatDistance:H_,formatLong:K_,formatRelative:q_,localize:rp,match:gp,options:{weekStartsOn:0,firstWeekContainsDate:1}};function yp(e,n){const t=Pe(e,n==null?void 0:n.in);return bi(t,xa(t))+1}function Er(e,n){const t=Pe(e,n==null?void 0:n.in),a=+wa(t)-+L_(t);return Math.round(a/fi)+1}function Or(e,n){var m,d,p,k;const t=Pe(e,n==null?void 0:n.in),a=t.getFullYear(),r=pa(),s=(n==null?void 0:n.firstWeekContainsDate)??((d=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((k=(p=r.locale)==null?void 0:p.options)==null?void 0:k.firstWeekContainsDate)??1,i=je((n==null?void 0:n.in)||e,0);i.setFullYear(a+1,0,s),i.setHours(0,0,0,0);const o=Pt(i,n),l=je((n==null?void 0:n.in)||e,0);l.setFullYear(a,0,s),l.setHours(0,0,0,0);const v=Pt(l,n);return+t>=+o?a+1:+t>=+v?a:a-1}function kp(e,n){var o,l,v,m;const t=pa(),a=(n==null?void 0:n.firstWeekContainsDate)??((l=(o=n==null?void 0:n.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??t.firstWeekContainsDate??((m=(v=t.locale)==null?void 0:v.options)==null?void 0:m.firstWeekContainsDate)??1,r=Or(e,n),s=je((n==null?void 0:n.in)||e,0);return s.setFullYear(r,0,a),s.setHours(0,0,0,0),Pt(s,n)}function Ar(e,n){const t=Pe(e,n==null?void 0:n.in),a=+Pt(t,n)-+kp(t,n);return Math.round(a/fi)+1}function We(e,n){const t=e<0?"-":"",a=Math.abs(e).toString().padStart(n,"0");return t+a}const Gt={y(e,n){const t=e.getFullYear(),a=t>0?t:1-t;return We(n==="yy"?a%100:a,n.length)},M(e,n){const t=e.getMonth();return n==="M"?String(t+1):We(t+1,2)},d(e,n){return We(e.getDate(),n.length)},a(e,n){const t=e.getHours()/12>=1?"pm":"am";switch(n){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,n){return We(e.getHours()%12||12,n.length)},H(e,n){return We(e.getHours(),n.length)},m(e,n){return We(e.getMinutes(),n.length)},s(e,n){return We(e.getSeconds(),n.length)},S(e,n){const t=n.length,a=e.getMilliseconds(),r=Math.trunc(a*Math.pow(10,t-3));return We(r,n.length)}},ha={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ls={G:function(e,n,t){const a=e.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return t.era(a,{width:"abbreviated"});case"GGGGG":return t.era(a,{width:"narrow"});case"GGGG":default:return t.era(a,{width:"wide"})}},y:function(e,n,t){if(n==="yo"){const a=e.getFullYear(),r=a>0?a:1-a;return t.ordinalNumber(r,{unit:"year"})}return Gt.y(e,n)},Y:function(e,n,t,a){const r=Or(e,a),s=r>0?r:1-r;if(n==="YY"){const i=s%100;return We(i,2)}return n==="Yo"?t.ordinalNumber(s,{unit:"year"}):We(s,n.length)},R:function(e,n){const t=vi(e);return We(t,n.length)},u:function(e,n){const t=e.getFullYear();return We(t,n.length)},Q:function(e,n,t){const a=Math.ceil((e.getMonth()+1)/3);switch(n){case"Q":return String(a);case"QQ":return We(a,2);case"Qo":return t.ordinalNumber(a,{unit:"quarter"});case"QQQ":return t.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return t.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return t.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,n,t){const a=Math.ceil((e.getMonth()+1)/3);switch(n){case"q":return String(a);case"qq":return We(a,2);case"qo":return t.ordinalNumber(a,{unit:"quarter"});case"qqq":return t.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return t.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return t.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,n,t){const a=e.getMonth();switch(n){case"M":case"MM":return Gt.M(e,n);case"Mo":return t.ordinalNumber(a+1,{unit:"month"});case"MMM":return t.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return t.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return t.month(a,{width:"wide",context:"formatting"})}},L:function(e,n,t){const a=e.getMonth();switch(n){case"L":return String(a+1);case"LL":return We(a+1,2);case"Lo":return t.ordinalNumber(a+1,{unit:"month"});case"LLL":return t.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return t.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return t.month(a,{width:"wide",context:"standalone"})}},w:function(e,n,t,a){const r=Ar(e,a);return n==="wo"?t.ordinalNumber(r,{unit:"week"}):We(r,n.length)},I:function(e,n,t){const a=Er(e);return n==="Io"?t.ordinalNumber(a,{unit:"week"}):We(a,n.length)},d:function(e,n,t){return n==="do"?t.ordinalNumber(e.getDate(),{unit:"date"}):Gt.d(e,n)},D:function(e,n,t){const a=yp(e);return n==="Do"?t.ordinalNumber(a,{unit:"dayOfYear"}):We(a,n.length)},E:function(e,n,t){const a=e.getDay();switch(n){case"E":case"EE":case"EEE":return t.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return t.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return t.day(a,{width:"short",context:"formatting"});case"EEEE":default:return t.day(a,{width:"wide",context:"formatting"})}},e:function(e,n,t,a){const r=e.getDay(),s=(r-a.weekStartsOn+8)%7||7;switch(n){case"e":return String(s);case"ee":return We(s,2);case"eo":return t.ordinalNumber(s,{unit:"day"});case"eee":return t.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return t.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return t.day(r,{width:"short",context:"formatting"});case"eeee":default:return t.day(r,{width:"wide",context:"formatting"})}},c:function(e,n,t,a){const r=e.getDay(),s=(r-a.weekStartsOn+8)%7||7;switch(n){case"c":return String(s);case"cc":return We(s,n.length);case"co":return t.ordinalNumber(s,{unit:"day"});case"ccc":return t.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return t.day(r,{width:"narrow",context:"standalone"});case"cccccc":return t.day(r,{width:"short",context:"standalone"});case"cccc":default:return t.day(r,{width:"wide",context:"standalone"})}},i:function(e,n,t){const a=e.getDay(),r=a===0?7:a;switch(n){case"i":return String(r);case"ii":return We(r,n.length);case"io":return t.ordinalNumber(r,{unit:"day"});case"iii":return t.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return t.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return t.day(a,{width:"short",context:"formatting"});case"iiii":default:return t.day(a,{width:"wide",context:"formatting"})}},a:function(e,n,t){const r=e.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,n,t){const a=e.getHours();let r;switch(a===12?r=ha.noon:a===0?r=ha.midnight:r=a/12>=1?"pm":"am",n){case"b":case"bb":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,n,t){const a=e.getHours();let r;switch(a>=17?r=ha.evening:a>=12?r=ha.afternoon:a>=4?r=ha.morning:r=ha.night,n){case"B":case"BB":case"BBB":return t.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return t.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return t.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,n,t){if(n==="ho"){let a=e.getHours()%12;return a===0&&(a=12),t.ordinalNumber(a,{unit:"hour"})}return Gt.h(e,n)},H:function(e,n,t){return n==="Ho"?t.ordinalNumber(e.getHours(),{unit:"hour"}):Gt.H(e,n)},K:function(e,n,t){const a=e.getHours()%12;return n==="Ko"?t.ordinalNumber(a,{unit:"hour"}):We(a,n.length)},k:function(e,n,t){let a=e.getHours();return a===0&&(a=24),n==="ko"?t.ordinalNumber(a,{unit:"hour"}):We(a,n.length)},m:function(e,n,t){return n==="mo"?t.ordinalNumber(e.getMinutes(),{unit:"minute"}):Gt.m(e,n)},s:function(e,n,t){return n==="so"?t.ordinalNumber(e.getSeconds(),{unit:"second"}):Gt.s(e,n)},S:function(e,n){return Gt.S(e,n)},X:function(e,n,t){const a=e.getTimezoneOffset();if(a===0)return"Z";switch(n){case"X":return cs(a);case"XXXX":case"XX":return ra(a);case"XXXXX":case"XXX":default:return ra(a,":")}},x:function(e,n,t){const a=e.getTimezoneOffset();switch(n){case"x":return cs(a);case"xxxx":case"xx":return ra(a);case"xxxxx":case"xxx":default:return ra(a,":")}},O:function(e,n,t){const a=e.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+us(a,":");case"OOOO":default:return"GMT"+ra(a,":")}},z:function(e,n,t){const a=e.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+us(a,":");case"zzzz":default:return"GMT"+ra(a,":")}},t:function(e,n,t){const a=Math.trunc(+e/1e3);return We(a,n.length)},T:function(e,n,t){return We(+e,n.length)}};function us(e,n=""){const t=e>0?"-":"+",a=Math.abs(e),r=Math.trunc(a/60),s=a%60;return s===0?t+String(r):t+String(r)+n+We(s,2)}function cs(e,n){return e%60===0?(e>0?"-":"+")+We(Math.abs(e)/60,2):ra(e,n)}function ra(e,n=""){const t=e>0?"-":"+",a=Math.abs(e),r=We(Math.trunc(a/60),2),s=We(a%60,2);return t+r+n+s}const ds=(e,n)=>{switch(e){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Ti=(e,n)=>{switch(e){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},wp=(e,n)=>{const t=e.match(/(P+)(p+)?/)||[],a=t[1],r=t[2];if(!r)return ds(e,n);let s;switch(a){case"P":s=n.dateTime({width:"short"});break;case"PP":s=n.dateTime({width:"medium"});break;case"PPP":s=n.dateTime({width:"long"});break;case"PPPP":default:s=n.dateTime({width:"full"});break}return s.replace("{{date}}",ds(a,n)).replace("{{time}}",Ti(r,n))},_r={p:Ti,P:wp},xp=/^D+$/,Dp=/^Y+$/,Tp=["D","DD","YY","YYYY"];function Mi(e){return xp.test(e)}function Pi(e){return Dp.test(e)}function pr(e,n,t){const a=Mp(e,n,t);if(console.warn(a),Tp.includes(e))throw new RangeError(a)}function Mp(e,n,t){const a=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${n}\`) for formatting ${a} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Pp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,$p=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Sp=/^'([^]*?)'?$/,Ep=/''/g,Op=/[a-zA-Z]/;function wt(e,n,t){var m,d,p,k,P,R,b,_;const a=pa(),r=(t==null?void 0:t.locale)??a.locale??Di,s=(t==null?void 0:t.firstWeekContainsDate)??((d=(m=t==null?void 0:t.locale)==null?void 0:m.options)==null?void 0:d.firstWeekContainsDate)??a.firstWeekContainsDate??((k=(p=a.locale)==null?void 0:p.options)==null?void 0:k.firstWeekContainsDate)??1,i=(t==null?void 0:t.weekStartsOn)??((R=(P=t==null?void 0:t.locale)==null?void 0:P.options)==null?void 0:R.weekStartsOn)??a.weekStartsOn??((_=(b=a.locale)==null?void 0:b.options)==null?void 0:_.weekStartsOn)??0,o=Pe(e,t==null?void 0:t.in);if(!Va(o))throw new RangeError("Invalid time value");let l=n.match($p).map(y=>{const A=y[0];if(A==="p"||A==="P"){const S=_r[A];return S(y,r.formatLong)}return y}).join("").match(Pp).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const A=y[0];if(A==="'")return{isToken:!1,value:Ap(y)};if(ls[A])return{isToken:!0,value:y};if(A.match(Op))throw new RangeError("Format string contains an unescaped latin alphabet character `"+A+"`");return{isToken:!1,value:y}});r.localize.preprocessor&&(l=r.localize.preprocessor(o,l));const v={firstWeekContainsDate:s,weekStartsOn:i,locale:r};return l.map(y=>{if(!y.isToken)return y.value;const A=y.value;(!(t!=null&&t.useAdditionalWeekYearTokens)&&Pi(A)||!(t!=null&&t.useAdditionalDayOfYearTokens)&&Mi(A))&&pr(A,n,String(e));const S=ls[A[0]];return S(o,A,r.localize,v)}).join("")}function Ap(e){const n=e.match(Sp);return n?n[1].replace(Ep,"'"):e}function Ip(e,n){return Pe(e,n==null?void 0:n.in).getDay()}function Cp(e,n){const t=Pe(e,n==null?void 0:n.in),a=t.getFullYear(),r=t.getMonth(),s=je(t,0);return s.setFullYear(a,r+1,0),s.setHours(0,0,0,0),s.getDate()}function Rp(){return Object.assign({},pa())}function Yt(e,n){return Pe(e,n==null?void 0:n.in).getHours()}function Np(e,n){const t=Pe(e,n==null?void 0:n.in).getDay();return t===0?7:t}function ea(e,n){return Pe(e,n==null?void 0:n.in).getMinutes()}function Ee(e,n){return Pe(e,n==null?void 0:n.in).getMonth()}function Da(e){return Pe(e).getSeconds()}function $e(e,n){return Pe(e,n==null?void 0:n.in).getFullYear()}function da(e,n){return+Pe(e)>+Pe(n)}function Ta(e,n){return+Pe(e)<+Pe(n)}function ia(e,n){return+Pe(e)==+Pe(n)}function Vp(e,n){const t=Lp(n)?new n(0):je(n,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}function Lp(e){var n;return typeof e=="function"&&((n=e.prototype)==null?void 0:n.constructor)===e}const Bp=10;class $i{constructor(){ke(this,"subPriority",0)}validate(n,t){return!0}}class Wp extends $i{constructor(n,t,a,r,s){super(),this.value=n,this.validateValue=t,this.setValue=a,this.priority=r,s&&(this.subPriority=s)}validate(n,t){return this.validateValue(n,this.value,t)}set(n,t,a){return this.setValue(n,t,this.value,a)}}class Yp extends $i{constructor(t,a){super();ke(this,"priority",Bp);ke(this,"subPriority",-1);this.context=t||(r=>je(a,r))}set(t,a){return a.timestampIsSet?t:je(t,Vp(t,this.context))}}class Be{run(n,t,a,r){const s=this.parse(n,t,a,r);return s?{setter:new Wp(s.value,this.validate,this.set,this.priority,this.subPriority),rest:s.rest}:null}validate(n,t,a){return!0}}class jp extends Be{constructor(){super(...arguments);ke(this,"priority",140);ke(this,"incompatibleTokens",["R","u","t","T"])}parse(t,a,r){switch(a){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});case"GGGG":default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}set(t,a,r){return a.era=r,t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}const et={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 tt(e,n){return e&&{value:n(e.value),rest:e.rest}}function Xe(e,n){const t=n.match(e);return t?{value:parseInt(t[0],10),rest:n.slice(t[0].length)}:null}function Rt(e,n){const t=n.match(e);if(!t)return null;if(t[0]==="Z")return{value:0,rest:n.slice(1)};const a=t[1]==="+"?1:-1,r=t[2]?parseInt(t[2],10):0,s=t[3]?parseInt(t[3],10):0,i=t[5]?parseInt(t[5],10):0;return{value:a*(r*hi+s*I_+i*C_),rest:n.slice(t[0].length)}}function Si(e){return Xe(et.anyDigitsSigned,e)}function Qe(e,n){switch(e){case 1:return Xe(et.singleDigit,n);case 2:return Xe(et.twoDigits,n);case 3:return Xe(et.threeDigits,n);case 4:return Xe(et.fourDigits,n);default:return Xe(new RegExp("^\\d{1,"+e+"}"),n)}}function _n(e,n){switch(e){case 1:return Xe(et.singleDigitSigned,n);case 2:return Xe(et.twoDigitsSigned,n);case 3:return Xe(et.threeDigitsSigned,n);case 4:return Xe(et.fourDigitsSigned,n);default:return Xe(new RegExp("^-?\\d{1,"+e+"}"),n)}}function Ir(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 Ei(e,n){const t=n>0,a=t?n:1-n;let r;if(a<=50)r=e||100;else{const s=a+50,i=Math.trunc(s/100)*100,o=e>=s%100;r=e+i-(o?100:0)}return t?r:1-r}function Oi(e){return e%400===0||e%4===0&&e%100!==0}class Fp extends Be{constructor(){super(...arguments);ke(this,"priority",130);ke(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,a,r){const s=i=>({year:i,isTwoDigitYear:a==="yy"});switch(a){case"y":return tt(Qe(4,t),s);case"yo":return tt(r.ordinalNumber(t,{unit:"year"}),s);default:return tt(Qe(a.length,t),s)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,r){const s=t.getFullYear();if(r.isTwoDigitYear){const o=Ei(r.year,s);return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}const i=!("era"in a)||a.era===1?r.year:1-r.year;return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}}class Hp extends Be{constructor(){super(...arguments);ke(this,"priority",130);ke(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,a,r){const s=i=>({year:i,isTwoDigitYear:a==="YY"});switch(a){case"Y":return tt(Qe(4,t),s);case"Yo":return tt(r.ordinalNumber(t,{unit:"year"}),s);default:return tt(Qe(a.length,t),s)}}validate(t,a){return a.isTwoDigitYear||a.year>0}set(t,a,r,s){const i=Or(t,s);if(r.isTwoDigitYear){const l=Ei(r.year,i);return t.setFullYear(l,0,s.firstWeekContainsDate),t.setHours(0,0,0,0),Pt(t,s)}const o=!("era"in a)||a.era===1?r.year:1-r.year;return t.setFullYear(o,0,s.firstWeekContainsDate),t.setHours(0,0,0,0),Pt(t,s)}}class zp extends Be{constructor(){super(...arguments);ke(this,"priority",130);ke(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,a){return _n(a==="R"?4:a.length,t)}set(t,a,r){const s=je(t,0);return s.setFullYear(r,0,4),s.setHours(0,0,0,0),wa(s)}}class Up extends Be{constructor(){super(...arguments);ke(this,"priority",130);ke(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,a){return _n(a==="u"?4:a.length,t)}set(t,a,r){return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}}class Gp extends Be{constructor(){super(...arguments);ke(this,"priority",120);ke(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"Q":case"QQ":return Qe(a.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=1&&a<=4}set(t,a,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class Kp extends Be{constructor(){super(...arguments);ke(this,"priority",120);ke(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"q":case"qq":return Qe(a.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=1&&a<=4}set(t,a,r){return t.setMonth((r-1)*3,1),t.setHours(0,0,0,0),t}}class Xp extends Be{constructor(){super(...arguments);ke(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ke(this,"priority",110)}parse(t,a,r){const s=i=>i-1;switch(a){case"M":return tt(Xe(et.month,t),s);case"MM":return tt(Qe(2,t),s);case"Mo":return tt(r.ordinalNumber(t,{unit:"month"}),s);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=11}set(t,a,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}class qp extends Be{constructor(){super(...arguments);ke(this,"priority",110);ke(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,a,r){const s=i=>i-1;switch(a){case"L":return tt(Xe(et.month,t),s);case"LL":return tt(Qe(2,t),s);case"Lo":return tt(r.ordinalNumber(t,{unit:"month"}),s);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=11}set(t,a,r){return t.setMonth(r,1),t.setHours(0,0,0,0),t}}function Qp(e,n,t){const a=Pe(e,t==null?void 0:t.in),r=Ar(a,t)-n;return a.setDate(a.getDate()-r*7),Pe(a,t==null?void 0:t.in)}class Zp extends Be{constructor(){super(...arguments);ke(this,"priority",100);ke(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,a,r){switch(a){case"w":return Xe(et.week,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return Qe(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,r,s){return Pt(Qp(t,r,s),s)}}function Jp(e,n,t){const a=Pe(e,t==null?void 0:t.in),r=Er(a,t)-n;return a.setDate(a.getDate()-r*7),a}class ef extends Be{constructor(){super(...arguments);ke(this,"priority",100);ke(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,a,r){switch(a){case"I":return Xe(et.week,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return Qe(a.length,t)}}validate(t,a){return a>=1&&a<=53}set(t,a,r){return wa(Jp(t,r))}}const tf=[31,28,31,30,31,30,31,31,30,31,30,31],af=[31,29,31,30,31,30,31,31,30,31,30,31];class nf extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"subPriority",1);ke(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"d":return Xe(et.date,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return Qe(a.length,t)}}validate(t,a){const r=t.getFullYear(),s=Oi(r),i=t.getMonth();return s?a>=1&&a<=af[i]:a>=1&&a<=tf[i]}set(t,a,r){return t.setDate(r),t.setHours(0,0,0,0),t}}class rf extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"subpriority",1);ke(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,a,r){switch(a){case"D":case"DD":return Xe(et.dayOfYear,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return Qe(a.length,t)}}validate(t,a){const r=t.getFullYear();return Oi(r)?a>=1&&a<=366:a>=1&&a<=365}set(t,a,r){return t.setMonth(0,r),t.setHours(0,0,0,0),t}}function Cr(e,n,t){var d,p,k,P;const a=pa(),r=(t==null?void 0:t.weekStartsOn)??((p=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:p.weekStartsOn)??a.weekStartsOn??((P=(k=a.locale)==null?void 0:k.options)==null?void 0:P.weekStartsOn)??0,s=Pe(e,t==null?void 0:t.in),i=s.getDay(),l=(n%7+7)%7,v=7-r,m=n<0||n>6?n-(i+v)%7:(l+v)%7-(i+v)%7;return rt(s,m,t)}class sf extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,a,r){switch(a){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,r,s){return t=Cr(t,r,s),t.setHours(0,0,0,0),t}}class of extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,a,r,s){const i=o=>{const l=Math.floor((o-1)/7)*7;return(o+s.weekStartsOn+6)%7+l};switch(a){case"e":case"ee":return tt(Qe(a.length,t),i);case"eo":return tt(r.ordinalNumber(t,{unit:"day"}),i);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}validate(t,a){return a>=0&&a<=6}set(t,a,r,s){return t=Cr(t,r,s),t.setHours(0,0,0,0),t}}class lf extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,a,r,s){const i=o=>{const l=Math.floor((o-1)/7)*7;return(o+s.weekStartsOn+6)%7+l};switch(a){case"c":case"cc":return tt(Qe(a.length,t),i);case"co":return tt(r.ordinalNumber(t,{unit:"day"}),i);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}validate(t,a){return a>=0&&a<=6}set(t,a,r,s){return t=Cr(t,r,s),t.setHours(0,0,0,0),t}}function uf(e,n,t){const a=Pe(e,t==null?void 0:t.in),r=Np(a,t),s=n-r;return rt(a,s,t)}class cf extends Be{constructor(){super(...arguments);ke(this,"priority",90);ke(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,a,r){const s=i=>i===0?7:i;switch(a){case"i":case"ii":return Qe(a.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return tt(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),s);case"iiiii":return tt(r.day(t,{width:"narrow",context:"formatting"}),s);case"iiiiii":return tt(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),s);case"iiii":default:return tt(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),s)}}validate(t,a){return a>=1&&a<=7}set(t,a,r){return t=uf(t,r),t.setHours(0,0,0,0),t}}class df extends Be{constructor(){super(...arguments);ke(this,"priority",80);ke(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,a,r){switch(a){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,r){return t.setHours(Ir(r),0,0,0),t}}class _f extends Be{constructor(){super(...arguments);ke(this,"priority",80);ke(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,a,r){switch(a){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,r){return t.setHours(Ir(r),0,0,0),t}}class pf extends Be{constructor(){super(...arguments);ke(this,"priority",80);ke(this,"incompatibleTokens",["a","b","t","T"])}parse(t,a,r){switch(a){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,a,r){return t.setHours(Ir(r),0,0,0),t}}class ff extends Be{constructor(){super(...arguments);ke(this,"priority",70);ke(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,a,r){switch(a){case"h":return Xe(et.hour12h,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return Qe(a.length,t)}}validate(t,a){return a>=1&&a<=12}set(t,a,r){const s=t.getHours()>=12;return s&&r<12?t.setHours(r+12,0,0,0):!s&&r===12?t.setHours(0,0,0,0):t.setHours(r,0,0,0),t}}class hf extends Be{constructor(){super(...arguments);ke(this,"priority",70);ke(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,a,r){switch(a){case"H":return Xe(et.hour23h,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return Qe(a.length,t)}}validate(t,a){return a>=0&&a<=23}set(t,a,r){return t.setHours(r,0,0,0),t}}class mf extends Be{constructor(){super(...arguments);ke(this,"priority",70);ke(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,a,r){switch(a){case"K":return Xe(et.hour11h,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return Qe(a.length,t)}}validate(t,a){return a>=0&&a<=11}set(t,a,r){return t.getHours()>=12&&r<12?t.setHours(r+12,0,0,0):t.setHours(r,0,0,0),t}}class vf extends Be{constructor(){super(...arguments);ke(this,"priority",70);ke(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,a,r){switch(a){case"k":return Xe(et.hour24h,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return Qe(a.length,t)}}validate(t,a){return a>=1&&a<=24}set(t,a,r){const s=r<=24?r%24:r;return t.setHours(s,0,0,0),t}}class bf extends Be{constructor(){super(...arguments);ke(this,"priority",60);ke(this,"incompatibleTokens",["t","T"])}parse(t,a,r){switch(a){case"m":return Xe(et.minute,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return Qe(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,r){return t.setMinutes(r,0,0),t}}class gf extends Be{constructor(){super(...arguments);ke(this,"priority",50);ke(this,"incompatibleTokens",["t","T"])}parse(t,a,r){switch(a){case"s":return Xe(et.second,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return Qe(a.length,t)}}validate(t,a){return a>=0&&a<=59}set(t,a,r){return t.setSeconds(r,0),t}}class yf extends Be{constructor(){super(...arguments);ke(this,"priority",30);ke(this,"incompatibleTokens",["t","T"])}parse(t,a){const r=s=>Math.trunc(s*Math.pow(10,-a.length+3));return tt(Qe(a.length,t),r)}set(t,a,r){return t.setMilliseconds(r),t}}class kf extends Be{constructor(){super(...arguments);ke(this,"priority",10);ke(this,"incompatibleTokens",["t","T","x"])}parse(t,a){switch(a){case"X":return Rt(Ct.basicOptionalMinutes,t);case"XX":return Rt(Ct.basic,t);case"XXXX":return Rt(Ct.basicOptionalSeconds,t);case"XXXXX":return Rt(Ct.extendedOptionalSeconds,t);case"XXX":default:return Rt(Ct.extended,t)}}set(t,a,r){return a.timestampIsSet?t:je(t,t.getTime()-dn(t)-r)}}class wf extends Be{constructor(){super(...arguments);ke(this,"priority",10);ke(this,"incompatibleTokens",["t","T","X"])}parse(t,a){switch(a){case"x":return Rt(Ct.basicOptionalMinutes,t);case"xx":return Rt(Ct.basic,t);case"xxxx":return Rt(Ct.basicOptionalSeconds,t);case"xxxxx":return Rt(Ct.extendedOptionalSeconds,t);case"xxx":default:return Rt(Ct.extended,t)}}set(t,a,r){return a.timestampIsSet?t:je(t,t.getTime()-dn(t)-r)}}class xf extends Be{constructor(){super(...arguments);ke(this,"priority",40);ke(this,"incompatibleTokens","*")}parse(t){return Si(t)}set(t,a,r){return[je(t,r*1e3),{timestampIsSet:!0}]}}class Df extends Be{constructor(){super(...arguments);ke(this,"priority",20);ke(this,"incompatibleTokens","*")}parse(t){return Si(t)}set(t,a,r){return[je(t,r),{timestampIsSet:!0}]}}const Tf={G:new jp,y:new Fp,Y:new Hp,R:new zp,u:new Up,Q:new Gp,q:new Kp,M:new Xp,L:new qp,w:new Zp,I:new ef,d:new nf,D:new rf,E:new sf,e:new of,c:new lf,i:new cf,a:new df,b:new _f,B:new pf,h:new ff,H:new hf,K:new mf,k:new vf,m:new bf,s:new gf,S:new yf,X:new kf,x:new wf,t:new xf,T:new Df},Mf=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Pf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$f=/^'([^]*?)'?$/,Sf=/''/g,Ef=/\S/,Of=/[a-zA-Z]/;function fr(e,n,t,a){var b,_,y,A,S,U,D,M;const r=()=>je((a==null?void 0:a.in)||t,NaN),s=Rp(),i=(a==null?void 0:a.locale)??s.locale??Di,o=(a==null?void 0:a.firstWeekContainsDate)??((_=(b=a==null?void 0:a.locale)==null?void 0:b.options)==null?void 0:_.firstWeekContainsDate)??s.firstWeekContainsDate??((A=(y=s.locale)==null?void 0:y.options)==null?void 0:A.firstWeekContainsDate)??1,l=(a==null?void 0:a.weekStartsOn)??((U=(S=a==null?void 0:a.locale)==null?void 0:S.options)==null?void 0:U.weekStartsOn)??s.weekStartsOn??((M=(D=s.locale)==null?void 0:D.options)==null?void 0:M.weekStartsOn)??0;if(!n)return e?r():Pe(t,a==null?void 0:a.in);const v={firstWeekContainsDate:o,weekStartsOn:l,locale:i},m=[new Yp(a==null?void 0:a.in,t)],d=n.match(Pf).map(x=>{const $=x[0];if($ in _r){const u=_r[$];return u(x,i.formatLong)}return x}).join("").match(Mf),p=[];for(let x of d){!(a!=null&&a.useAdditionalWeekYearTokens)&&Pi(x)&&pr(x,n,e),!(a!=null&&a.useAdditionalDayOfYearTokens)&&Mi(x)&&pr(x,n,e);const $=x[0],u=Tf[$];if(u){const{incompatibleTokens:O}=u;if(Array.isArray(O)){const ne=p.find(E=>O.includes(E.token)||E.token===$);if(ne)throw new RangeError(`The format string mustn't contain \`${ne.fullToken}\` and \`${x}\` at the same time`)}else if(u.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${x}\` and any other token at the same time`);p.push({token:$,fullToken:x});const V=u.run(e,x,i.match,v);if(!V)return r();m.push(V.setter),e=V.rest}else{if($.match(Of))throw new RangeError("Format string contains an unescaped latin alphabet character `"+$+"`");if(x==="''"?x="'":$==="'"&&(x=Af(x)),e.indexOf(x)===0)e=e.slice(x.length);else return r()}}if(e.length>0&&Ef.test(e))return r();const k=m.map(x=>x.priority).sort((x,$)=>$-x).filter((x,$,u)=>u.indexOf(x)===$).map(x=>m.filter($=>$.priority===x).sort(($,u)=>u.subPriority-$.subPriority)).map(x=>x[0]);let P=Pe(t,a==null?void 0:a.in);if(isNaN(+P))return r();const R={};for(const x of k){if(!x.validate(P,v))return r();const $=x.set(P,R,v);Array.isArray($)?(P=$[0],Object.assign(R,$[1])):P=$}return P}function Af(e){return e.match($f)[1].replace(Sf,"'")}function _s(e,n,t){const[a,r]=za(t==null?void 0:t.in,e,n);return+qt(a)==+qt(r)}function Rr(e,n,t){return rt(e,-n,t)}function Ai(e,n,t){const a=Pe(e,t==null?void 0:t.in),r=a.getFullYear(),s=a.getDate(),i=je(e,0);i.setFullYear(r,n,15),i.setHours(0,0,0,0);const o=Cp(i);return a.setMonth(n,Math.min(s,o)),a}function Fe(e,n,t){let a=Pe(e,t==null?void 0:t.in);return isNaN(+a)?je(e,NaN):(n.year!=null&&a.setFullYear(n.year),n.month!=null&&(a=Ai(a,n.month)),n.date!=null&&a.setDate(n.date),n.hours!=null&&a.setHours(n.hours),n.minutes!=null&&a.setMinutes(n.minutes),n.seconds!=null&&a.setSeconds(n.seconds),n.milliseconds!=null&&a.setMilliseconds(n.milliseconds),a)}function If(e,n,t){const a=Pe(e,t==null?void 0:t.in);return a.setHours(n),a}function Ii(e,n,t){const a=Pe(e,t==null?void 0:t.in);return a.setMilliseconds(n),a}function Cf(e,n,t){const a=Pe(e,t==null?void 0:t.in);return a.setMinutes(n),a}function Ci(e,n,t){const a=Pe(e,t==null?void 0:t.in);return a.setSeconds(n),a}function Nt(e,n,t){const a=Pe(e,t==null?void 0:t.in);return isNaN(+a)?je(e,NaN):(a.setFullYear(n),a)}function jt(e,n,t){return kt(e,-n,t)}function Rf(e,n,t){const{years:a=0,months:r=0,weeks:s=0,days:i=0,hours:o=0,minutes:l=0,seconds:v=0}=n,m=jt(e,r+a*12,t),d=Rr(m,i+s*7,t),p=l+o*60,P=(v+p*60)*1e3;return je(e,+d-P)}function Ri(e,n,t){return $r(e,-n,t)}function Sa(){const e=jo();return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[T("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"}),T("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"}),T("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"}),T("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"})])}Sa.compatConfig={MODE:3};function Ni(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("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"}),T("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"})])}Ni.compatConfig={MODE:3};function Nr(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("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"})])}Nr.compatConfig={MODE:3};function Vr(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("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"})])}Vr.compatConfig={MODE:3};function Lr(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("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"}),T("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"})])}Lr.compatConfig={MODE:3};function Br(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("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"})])}Br.compatConfig={MODE:3};function Wr(){return f(),g("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[T("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"})])}Wr.compatConfig={MODE:3};const gt=(e,n)=>n?new Date(e.toLocaleString("en-US",{timeZone:n})):new Date(e),Yr=(e,n,t)=>hr(e,n,t)||se(),Nf=(e,n,t)=>{const a=n.dateInTz?gt(new Date(e),n.dateInTz):se(e);return t?dt(a,!0):a},hr=(e,n,t)=>{if(!e)return null;const a=t?dt(se(e),!0):se(e);return n?n.exactMatch?Nf(e,n,t):gt(a,n.timezone):a},Vf=e=>{const n=new Date(e.getFullYear(),0,1).getTimezoneOffset();return e.getTimezoneOffset(){if(!e)return 0;const t=new Date,a=new Date(t.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(t.toLocaleString("en-US",{timeZone:e})),s=(Vf(n??r)?r:n??r).getTimezoneOffset()/60;return(+a-+r)/(1e3*60*60)-s};var Dt=(e=>(e.month="month",e.year="year",e))(Dt||{}),Tt=(e=>(e.top="top",e.bottom="bottom",e))(Tt||{}),oa=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(oa||{}),pt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(pt||{});const Bf=["timestamp","date","iso"];var ft=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(ft||{}),ze=(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))(ze||{}),ka=(e=>(e.MONTH_AND_YEAR="MM-yyyy",e.YEAR="yyyy",e.DATE="dd-MM-yyyy",e))(ka||{});function ps(e){return n=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${n}T00:00:00+00:00`)).slice(0,2)}function Wf(e){return n=>wt(gt(new Date(`2017-01-0${n}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const Yf=(e,n,t)=>{const a=[1,2,3,4,5,6,7];let r;if(e!==null)try{r=a.map(Wf(e))}catch{r=a.map(ps(n))}else r=a.map(ps(n));const s=r.slice(0,t),i=r.slice(t+1,r.length);return[r[t]].concat(...i).concat(...s)},jr=(e,n,t)=>{const a=[];for(let r=+e[0];r<=+e[1];r++)a.push({value:+r,text:Wi(r,n)});return t?a.reverse():a},Vi=(e,n,t)=>{const a=[1,2,3,4,5,6,7,8,9,10,11,12].map(s=>{const i=s<10?`0${s}`:s;return new Date(`2017-${i}-01T00:00:00+00:00`)});if(e!==null)try{const s=t==="long"?"LLLL":"LLL";return a.map((i,o)=>{const l=wt(gt(i,"UTC"),s,{locale:e});return{text:l.charAt(0).toUpperCase()+l.substring(1),value:o}})}catch{}const r=new Intl.DateTimeFormat(n,{month:t,timeZone:"UTC"});return a.map((s,i)=>{const o=r.format(s);return{text:o.charAt(0).toUpperCase()+o.substring(1),value:i}})},jf=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],it=e=>{const n=c(e);return n!=null&&n.$el?n==null?void 0:n.$el:n},Ff=e=>({type:"dot",...e??{}}),Li=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Fr={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},lt=e=>e,fs=e=>e===0?e:!e||isNaN(+e)?null:+e,hs=e=>e===null,Bi=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},Hf=e=>{const n=[],t=a=>a.filter(r=>r);for(let a=0;a{const a=t!=null,r=n!=null;if(!a&&!r)return!1;const s=+t,i=+n;return a&&r?+e>s||+es:r?+eHf(e).map(t=>t.map(a=>{const{active:r,disabled:s,isBetween:i,highlighted:o}=n(a);return{...a,active:r,disabled:s,className:{dp__overlay_cell_active:r,dp__overlay_cell:!r,dp__overlay_cell_disabled:s,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:s&&r,dp__cell_in_between:i,"dp--highlighted":o}}})),Zt=(e,n,t=!1)=>{e&&n.allowStopPropagation&&(t&&e.stopImmediatePropagation(),e.stopPropagation())},zf=()=>["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 Uf(e,n){let t=[...document.querySelectorAll(zf())];t=t.filter(r=>!e.contains(r)||r.hasAttribute("data-datepicker-instance"));const a=t.indexOf(e);if(a>=0&&(n?a-1>=0:a+1<=t.length))return t[a+(n?-1:1)]}const mr=(e,n)=>e==null?void 0:e.querySelector(`[data-dp-element="${n}"]`),Wi=(e,n)=>new Intl.NumberFormat(n,{useGrouping:!1,style:"decimal"}).format(e),Hr=(e,n)=>wt(e,n??ka.DATE),Rn=e=>Array.isArray(e),pn=(e,n,t)=>n.get(Hr(e,t)),Gf=(e,n)=>e?n?n instanceof Map?!!pn(e,n):n(se(e)):!1:!0,ht=(e,n,t=!1,a)=>{if(e.key===ze.enter||e.key===ze.space)return t&&e.preventDefault(),n();if(a)return a(e)},Kf=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,Xf=(e,n)=>e?ka.MONTH_AND_YEAR:n?ka.YEAR:ka.DATE;let ms;const qf=()=>ms||(ms=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});{const e=qf(),n=(t,a)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(a),s=>{r.length>1?r.forEach(i=>i(s)):r[0](s)}};n("__VUE_INSTANCE_SETTERS__",t=>t),n("__VUE_SSR_SETTERS__",t=>t)}Lo();var vr=function(e,n){return vr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(t[r]=a[r])},vr(e,n)};function Yi(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");vr(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}var ga=function(){return ga=Object.assign||function(e){for(var n,t=1,a=arguments.length;t0&&s[s.length-1])&&(v[0]===6||v[0]===2)){t=0;continue}if(v[0]===3&&(!s||v[1]>s[0]&&v[1]=0;r--)if(this.__items[r].match(a))return!0;return!1},e.prototype.set_indent=function(a,r){this.is_empty()&&(this.__indent_count=a||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var a=this.__parent.current_line;return a.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),a.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),a.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,a.__items[0]===" "&&(a.__items.splice(0,1),a.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(a){this.__items.push(a);var r=a.lastIndexOf(` +`);r!==-1?this.__character_count=a.length-r:this.__character_count+=a.length},e.prototype.pop=function(){var a=null;return this.is_empty()||(a=this.__items.pop(),this.__character_count-=a.length),a},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var a="";return this.is_empty()?this.__parent.indent_empty_lines&&(a=this.__parent.get_indent_string(this.__indent_count)):(a=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),a+=this.__items.join("")),a};function n(a,r){this.__cache=[""],this.__indent_size=a.indent_size,this.__indent_string=a.indent_char,a.indent_with_tabs||(this.__indent_string=new Array(a.indent_size+1).join(a.indent_char)),r=r||"",a.indent_level>0&&(r=new Array(a.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}n.prototype.get_indent_size=function(a,r){var s=this.__base_string_length;return r=r||0,a<0&&(s=0),s+=a*this.__indent_size,s+=r,s},n.prototype.get_indent_string=function(a,r){var s=this.__base_string;return r=r||0,a<0&&(a=0,s=""),r+=a*this.__indent_size,this.__ensure_cache(r),s+=this.__cache[r],s},n.prototype.__ensure_cache=function(a){for(;a>=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var a=this.__cache.length,r=0,s="";this.__indent_size&&a>=this.__indent_size&&(r=Math.floor(a/this.__indent_size),a-=r*this.__indent_size,s=new Array(r+1).join(this.__indent_string)),a&&(s+=new Array(a+1).join(" ")),this.__cache.push(s)};function t(a,r){this.__indent_cache=new n(a,r),this.raw=!1,this._end_with_newline=a.end_with_newline,this.indent_size=a.indent_size,this.wrap_line_length=a.wrap_line_length,this.indent_empty_lines=a.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return t.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},t.prototype.get_line_number=function(){return this.__lines.length},t.prototype.get_indent_string=function(a,r){return this.__indent_cache.get_indent_string(a,r)},t.prototype.get_indent_size=function(a,r){return this.__indent_cache.get_indent_size(a,r)},t.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},t.prototype.add_new_line=function(a){return this.is_empty()||!a&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},t.prototype.get_code=function(a){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===` +`&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var s=this.__lines.join(` +`);return a!==` +`&&(s=s.replace(/[\n]/g,a)),s},t.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},t.prototype.set_indent=function(a,r){return a=a||0,r=r||0,this.next_line.set_indent(a,r),this.__lines.length>1?(this.current_line.set_indent(a,r),!0):(this.current_line.set_indent(),!1)},t.prototype.add_raw_token=function(a){for(var r=0;r1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},t.prototype.just_added_newline=function(){return this.current_line.is_empty()},t.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},t.prototype.ensure_empty_line_above=function(a,r){for(var s=this.__lines.length-2;s>=0;){var i=this.__lines[s];if(i.is_empty())break;if(i.item(0).indexOf(a)!==0&&i.item(-1)!==r){this.__lines.splice(s+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}s--}},Ln.Output=t,Ln}var Bn={},xs;function ao(){if(xs)return Bn;xs=1;function e(n,t,a,r){this.type=n,this.text=t,this.comments_before=null,this.newlines=a||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}return Bn.Token=e,Bn}var Ds={},Ts;function no(){return Ts||(Ts=1,function(e){var n="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",t="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",a="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",r="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",s="(?:\\\\u[0-9a-fA-F]{4}|["+n+a+"])",i="(?:\\\\u[0-9a-fA-F]{4}|["+t+a+r+"])*";e.identifier=new RegExp(s+i,"g"),e.identifierStart=new RegExp(s),e.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+t+a+r+"])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r +|`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")}(Ds)),Ds}var Wn={},Ca={},Ms;function Gr(){if(Ms)return Ca;Ms=1;function e(a,r){this.raw_options=n(a,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(a,r){var s=this.raw_options[a],i=r||[];return typeof s=="object"?s!==null&&typeof s.concat=="function"&&(i=s.concat()):typeof s=="string"&&(i=s.split(/[^a-zA-Z0-9_\/\-]+/)),i},e.prototype._get_boolean=function(a,r){var s=this.raw_options[a],i=s===void 0?!!r:!!s;return i},e.prototype._get_characters=function(a,r){var s=this.raw_options[a],i=r||"";return typeof s=="string"&&(i=s.replace(/\\r/,"\r").replace(/\\n/,` +`).replace(/\\t/," ")),i},e.prototype._get_number=function(a,r){var s=this.raw_options[a];r=parseInt(r,10),isNaN(r)&&(r=0);var i=parseInt(s,10);return isNaN(i)&&(i=r),i},e.prototype._get_selection=function(a,r,s){var i=this._get_selection_list(a,r,s);if(i.length!==1)throw new Error("Invalid Option Value: The option '"+a+`' can only be one of the following values: +`+r+` +You passed in: '`+this.raw_options[a]+"'");return i[0]},e.prototype._get_selection_list=function(a,r,s){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(s=s||[r[0]],!this._is_valid_selection(s,r))throw new Error("Invalid Default Value!");var i=this._get_array(a,s);if(!this._is_valid_selection(i,r))throw new Error("Invalid Option Value: The option '"+a+`' can contain only the following values: +`+r+` +You passed in: '`+this.raw_options[a]+"'");return i},e.prototype._is_valid_selection=function(a,r){return a.length&&r.length&&!a.some(function(s){return r.indexOf(s)===-1})};function n(a,r){var s={};a=t(a);var i;for(i in a)i!==r&&(s[i]=a[i]);if(r&&a[r])for(i in a[r])s[i]=a[r][i];return s}function t(a){var r={},s;for(s in a){var i=s.replace(/-/g,"_");r[i]=a[s]}return r}return Ca.Options=e,Ca.normalizeOpts=t,Ca.mergeOpts=n,Ca}var Ps;function ro(){if(Ps)return Wn;Ps=1;var e=Gr().Options,n=["before-newline","after-newline","preserve-newline"];function t(a){e.call(this,a,"js");var r=this.raw_options.brace_style||null;r==="expand-strict"?this.raw_options.brace_style="expand":r==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var s=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var i=0;i0&&(this.__position-=1)},n.prototype.hasNext=function(){return this.__position=0&&t=0&&a=t.length&&this.__input.substring(a-t.length,a).toLowerCase()===t},Yn.InputScanner=n,Yn}var Za={},jn={},Ss;function Ph(){if(Ss)return jn;Ss=1;function e(n){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=n}return e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return this.__tokens_length===0},e.prototype.hasNext=function(){return this.__position=0&&n/),erb:s.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:s.starting_with(/{%/).until_after(/%}/),django_value:s.starting_with(/{{/).until_after(/}}/),django_comment:s.starting_with(/{#/).until_after(/#}/),smarty:s.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:s.starting_with(/{\*/).until_after(/\*}/),smarty_literal:s.starting_with(/{literal}/).until_after(/{\/literal}/)}}return t.prototype=new e,t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){this.__set_templated_pattern()},t.prototype.disable=function(a){var r=this._create();return r._disabled[a]=!0,r._update(),r},t.prototype.read_options=function(a){var r=this._create();for(var s in n)r._disabled[s]=a.templating.indexOf(s)===-1;return r._update(),r},t.prototype.exclude=function(a){var r=this._create();return r._excluded[a]=!0,r._update(),r},t.prototype.read=function(){var a="";this._match_pattern?a=this._input.read(this._starting_pattern):a=this._input.read(this._starting_pattern,this.__template_pattern);for(var r=this._read_template();r;)this._match_pattern?r+=this._input.read(this._match_pattern):r+=this._input.readUntil(this.__template_pattern),a+=r,r=this._read_template();return this._until_after&&(a+=this._input.readUntilAfter(this._until_pattern)),a},t.prototype.__set_templated_pattern=function(){var a=[];this._disabled.php||a.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||a.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||a.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(a.push(this.__patterns.django._starting_pattern.source),a.push(this.__patterns.django_value._starting_pattern.source),a.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||a.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&a.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+a.join("|")+")")},t.prototype._read_template=function(){var a="",r=this._input.peek();if(r==="<"){var s=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&s==="?"&&(a=a||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&s==="%"&&(a=a||this.__patterns.erb.read())}else r==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(a=a||this.__patterns.handlebars_comment.read(),a=a||this.__patterns.handlebars_unescaped.read(),a=a||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(a=a||this.__patterns.django_value.read()),this._excluded.django||(a=a||this.__patterns.django_comment.read(),a=a||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(a=a||this.__patterns.smarty_comment.read(),a=a||this.__patterns.smarty_literal.read(),a=a||this.__patterns.smarty.read()));return a},Un.TemplatablePattern=t,Un}var Rs;function Ja(){if(Rs)return ma;Rs=1;var e=Kr().InputScanner,n=fn().Tokenizer,t=fn().TOKEN,a=Xr().Directives,r=no(),s=kn().Pattern,i=so().TemplatablePattern;function o(D,M){return M.indexOf(D)!==-1}var l={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:t.START,RAW:t.RAW,EOF:t.EOF},v=new a(/\/\*/,/\*\//),m=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,d=/[0-9]/,p=/[^\d\.]/,k=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),P=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";P=P.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),P="\\?\\.(?!\\d) "+P,P=P.replace(/ /g,"|");var R=new RegExp(P),b="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),_=b.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),y=new RegExp("^(?:"+_.join("|")+")$"),A,S=function(D,M){n.call(this,D,M),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var x=new s(this._input),$=new i(this._input).read_options(this._options);this.__patterns={template:$,identifier:$.starting_with(r.identifier).matching(r.identifierMatch),number:x.matching(m),punct:x.matching(R),comment:x.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:x.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:x.matching(//),include:x.starting_with(/#include/).until_after(r.lineBreak),shebang:x.starting_with(/#!/).until_after(r.lineBreak),xml:x.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:$.until(/['\\\n\r\u2028\u2029]/),double_quote:$.until(/["\\\n\r\u2028\u2029]/),template_text:$.until(/[`\\$]/),template_expression:$.until(/[`}\\]/)}};S.prototype=new n,S.prototype._is_comment=function(D){return D.type===l.COMMENT||D.type===l.BLOCK_COMMENT||D.type===l.UNKNOWN},S.prototype._is_opening=function(D){return D.type===l.START_BLOCK||D.type===l.START_EXPR},S.prototype._is_closing=function(D,M){return(D.type===l.END_BLOCK||D.type===l.END_EXPR)&&M&&(D.text==="]"&&M.text==="["||D.text===")"&&M.text==="("||D.text==="}"&&M.text==="{")},S.prototype._reset=function(){A=!1},S.prototype._get_next_token=function(D,M){var x=null;this._readWhitespace();var $=this._input.peek();return $===null?this._create_token(l.EOF,""):(x=x||this._read_non_javascript($),x=x||this._read_string($),x=x||this._read_pair($,this._input.peek(1)),x=x||this._read_word(D),x=x||this._read_singles($),x=x||this._read_comment($),x=x||this._read_regexp($,D),x=x||this._read_xml($,D),x=x||this._read_punctuation(),x=x||this._create_token(l.UNKNOWN,this._input.next()),x)},S.prototype._read_word=function(D){var M;if(M=this.__patterns.identifier.read(),M!=="")return M=M.replace(r.allLineBreaks,` +`),!(D.type===l.DOT||D.type===l.RESERVED&&(D.text==="set"||D.text==="get"))&&y.test(M)?(M==="in"||M==="of")&&(D.type===l.WORD||D.type===l.STRING)?this._create_token(l.OPERATOR,M):this._create_token(l.RESERVED,M):this._create_token(l.WORD,M);if(M=this.__patterns.number.read(),M!=="")return this._create_token(l.WORD,M)},S.prototype._read_singles=function(D){var M=null;return D==="("||D==="["?M=this._create_token(l.START_EXPR,D):D===")"||D==="]"?M=this._create_token(l.END_EXPR,D):D==="{"?M=this._create_token(l.START_BLOCK,D):D==="}"?M=this._create_token(l.END_BLOCK,D):D===";"?M=this._create_token(l.SEMICOLON,D):D==="."&&p.test(this._input.peek(1))?M=this._create_token(l.DOT,D):D===","&&(M=this._create_token(l.COMMA,D)),M&&this._input.next(),M},S.prototype._read_pair=function(D,M){var x=null;return D==="#"&&M==="{"&&(x=this._create_token(l.START_BLOCK,D+M)),x&&(this._input.next(),this._input.next()),x},S.prototype._read_punctuation=function(){var D=this.__patterns.punct.read();if(D!=="")return D==="="?this._create_token(l.EQUALS,D):D==="?."?this._create_token(l.DOT,D):this._create_token(l.OPERATOR,D)},S.prototype._read_non_javascript=function(D){var M="";if(D==="#"){if(this._is_first_token()&&(M=this.__patterns.shebang.read(),M))return this._create_token(l.UNKNOWN,M.trim()+` +`);if(M=this.__patterns.include.read(),M)return this._create_token(l.UNKNOWN,M.trim()+` +`);D=this._input.next();var x="#";if(this._input.hasNext()&&this._input.testChar(d)){do D=this._input.next(),x+=D;while(this._input.hasNext()&&D!=="#"&&D!=="=");return D==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(x+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(x+="{}",this._input.next(),this._input.next())),this._create_token(l.WORD,x)}this._input.back()}else if(D==="<"&&this._is_first_token()){if(M=this.__patterns.html_comment_start.read(),M){for(;this._input.hasNext()&&!this._input.testChar(r.newline);)M+=this._input.next();return A=!0,this._create_token(l.COMMENT,M)}}else if(A&&D==="-"&&(M=this.__patterns.html_comment_end.read(),M))return A=!1,this._create_token(l.COMMENT,M);return null},S.prototype._read_comment=function(D){var M=null;if(D==="/"){var x="";if(this._input.peek(1)==="*"){x=this.__patterns.block_comment.read();var $=v.get_directives(x);$&&$.ignore==="start"&&(x+=v.readIgnored(this._input)),x=x.replace(r.allLineBreaks,` +`),M=this._create_token(l.BLOCK_COMMENT,x),M.directives=$}else this._input.peek(1)==="/"&&(x=this.__patterns.comment.read(),M=this._create_token(l.COMMENT,x))}return M},S.prototype._read_string=function(D){if(D==="`"||D==="'"||D==='"'){var M=this._input.next();return this.has_char_escapes=!1,D==="`"?M+=this._read_string_recursive("`",!0,"${"):M+=this._read_string_recursive(D),this.has_char_escapes&&this._options.unescape_strings&&(M=U(M)),this._input.peek()===D&&(M+=this._input.next()),M=M.replace(r.allLineBreaks,` +`),this._create_token(l.STRING,M)}return null},S.prototype._allow_regexp_or_xml=function(D){return D.type===l.RESERVED&&o(D.text,["return","case","throw","else","do","typeof","yield"])||D.type===l.END_EXPR&&D.text===")"&&D.opened.previous.type===l.RESERVED&&o(D.opened.previous.text,["if","while","for"])||o(D.type,[l.COMMENT,l.START_EXPR,l.START_BLOCK,l.START,l.END_BLOCK,l.OPERATOR,l.EQUALS,l.EOF,l.SEMICOLON,l.COMMA])},S.prototype._read_regexp=function(D,M){if(D==="/"&&this._allow_regexp_or_xml(M)){for(var x=this._input.next(),$=!1,u=!1;this._input.hasNext()&&($||u||this._input.peek()!==D)&&!this._input.testChar(r.newline);)x+=this._input.peek(),$?$=!1:($=this._input.peek()==="\\",this._input.peek()==="["?u=!0:this._input.peek()==="]"&&(u=!1)),this._input.next();return this._input.peek()===D&&(x+=this._input.next(),x+=this._input.read(r.identifier)),this._create_token(l.STRING,x)}return null},S.prototype._read_xml=function(D,M){if(this._options.e4x&&D==="<"&&this._allow_regexp_or_xml(M)){var x="",$=this.__patterns.xml.read_match();if($){for(var u=$[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),O=u.indexOf("{")===0,V=0;$;){var ne=!!$[1],E=$[2],L=!!$[$.length-1]||E.slice(0,8)==="![CDATA[";if(!L&&(E===u||O&&E.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(ne?--V:++V),x+=$[0],V<=0)break;$=this.__patterns.xml.read_match()}return $||(x+=this._input.match(/[\s\S]*/g)[0]),x=x.replace(r.allLineBreaks,` +`),this._create_token(l.STRING,x)}}return null};function U(D){for(var M="",x=0,$=new e(D),u=null;$.hasNext();)if(u=$.match(/([\s]|[^\\]|\\\\)+/g),u&&(M+=u[0]),$.peek()==="\\"){if($.next(),$.peek()==="x")u=$.match(/x([0-9A-Fa-f]{2})/g);else if($.peek()==="u")u=$.match(/u([0-9A-Fa-f]{4})/g);else{M+="\\",$.hasNext()&&(M+=$.next());continue}if(!u||(x=parseInt(u[1],16),x>126&&x<=255&&u[0].indexOf("x")===0))return D;if(x>=0&&x<32){M+="\\"+u[0];continue}else x===34||x===39||x===92?M+="\\"+String.fromCharCode(x):M+=String.fromCharCode(x)}return M}return S.prototype._read_string_recursive=function(D,M,x){var $,u;D==="'"?u=this.__patterns.single_quote:D==='"'?u=this.__patterns.double_quote:D==="`"?u=this.__patterns.template_text:D==="}"&&(u=this.__patterns.template_expression);for(var O=u.read(),V="";this._input.hasNext();){if(V=this._input.next(),V===D||!M&&r.newline.test(V)){this._input.back();break}else V==="\\"&&this._input.hasNext()?($=this._input.peek(),$==="x"||$==="u"?this.has_char_escapes=!0:$==="\r"&&this._input.peek(1)===` +`&&this._input.next(),V+=this._input.next()):x&&(x==="${"&&V==="$"&&this._input.peek()==="{"&&(V+=this._input.next()),x===V&&(D==="`"?V+=this._read_string_recursive("}",M,"`"):V+=this._read_string_recursive("`",M,"${"),this._input.hasNext()&&(V+=this._input.next())));V+=u.read(),O+=V}return O},ma.Tokenizer=S,ma.TOKEN=l,ma.positionable_operators=k.slice(),ma.line_starters=b.slice(),ma}var Ns;function Sh(){if(Ns)return Vn;Ns=1;var e=Ur().Output,n=ao().Token,t=no(),a=ro().Options,r=Ja().Tokenizer,s=Ja().line_starters,i=Ja().positionable_operators,o=Ja().TOKEN;function l(u,O){return O.indexOf(u)!==-1}function v(u){return u.replace(/^\s+/g,"")}function m(u){for(var O={},V=0;VV&&(V=u.line_indent_level));var ne={mode:O,parent:u,last_token:u?u.last_token:new n(o.START_BLOCK,""),last_word:u?u.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:V,alignment:0,line_indent_level:u?u.line_indent_level:V,start_line_index:this._output.get_line_number(),ternary_depth:0};return ne},x.prototype._reset=function(u){var O=u.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new e(this._options,O),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(_.BlockStatement);var V=new r(u,this._options);return this._tokens=V.tokenize(),u},x.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var u,O=this._reset(this._source_text),V=this._options.eol;this._options.eol==="auto"&&(V=` +`,O&&t.lineBreak.test(O||"")&&(V=O.match(t.lineBreak)[0]));for(var ne=this._tokens.next();ne;)this.handle_token(ne),this._last_last_text=this._flags.last_token.text,this._flags.last_token=ne,ne=this._tokens.next();return u=this._output.get_code(V),u},x.prototype.handle_token=function(u,O){u.type===o.START_EXPR?this.handle_start_expr(u):u.type===o.END_EXPR?this.handle_end_expr(u):u.type===o.START_BLOCK?this.handle_start_block(u):u.type===o.END_BLOCK?this.handle_end_block(u):u.type===o.WORD?this.handle_word(u):u.type===o.RESERVED?this.handle_word(u):u.type===o.SEMICOLON?this.handle_semicolon(u):u.type===o.STRING?this.handle_string(u):u.type===o.EQUALS?this.handle_equals(u):u.type===o.OPERATOR?this.handle_operator(u):u.type===o.COMMA?this.handle_comma(u):u.type===o.BLOCK_COMMENT?this.handle_block_comment(u,O):u.type===o.COMMENT?this.handle_comment(u,O):u.type===o.DOT?this.handle_dot(u):u.type===o.EOF?this.handle_eof(u):u.type===o.UNKNOWN?this.handle_unknown(u,O):this.handle_unknown(u,O)},x.prototype.handle_whitespace_and_comments=function(u,O){var V=u.newlines,ne=this._options.keep_array_indentation&&S(this._flags.mode);if(u.comments_before)for(var E=u.comments_before.next();E;)this.handle_whitespace_and_comments(E,O),this.handle_token(E,O),E=u.comments_before.next();if(ne)for(var L=0;L0,O);else if(this._options.max_preserve_newlines&&V>this._options.max_preserve_newlines&&(V=this._options.max_preserve_newlines),this._options.preserve_newlines&&V>1){this.print_newline(!1,O);for(var N=1;N0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},x.prototype.set_mode=function(u){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,u),this._flags=this.create_flags(this._previous_flags,u),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},x.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===_.Statement&&y(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},x.prototype.start_of_object_property=function(){return this._flags.parent.mode===_.ObjectLiteral&&this._flags.mode===_.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||p(this._flags.last_token,["get","set"]))},x.prototype.start_of_statement=function(u){var O=!1;return O=O||p(this._flags.last_token,["var","let","const"])&&u.type===o.WORD,O=O||d(this._flags.last_token,"do"),O=O||!(this._flags.parent.mode===_.ObjectLiteral&&this._flags.mode===_.Statement)&&p(this._flags.last_token,$)&&!u.newlines,O=O||d(this._flags.last_token,"else")&&!(d(u,"if")&&!u.comments_before),O=O||this._flags.last_token.type===o.END_EXPR&&(this._previous_flags.mode===_.ForInitializer||this._previous_flags.mode===_.Conditional),O=O||this._flags.last_token.type===o.WORD&&this._flags.mode===_.BlockStatement&&!this._flags.in_case&&!(u.text==="--"||u.text==="++")&&this._last_last_text!=="function"&&u.type!==o.WORD&&u.type!==o.RESERVED,O=O||this._flags.mode===_.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||p(this._flags.last_token,["get","set"])),O?(this.set_mode(_.Statement),this.indent(),this.handle_whitespace_and_comments(u,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u,p(u,["do","for","if","while"])),!0):!1},x.prototype.handle_start_expr=function(u){this.start_of_statement(u)||this.handle_whitespace_and_comments(u);var O=_.Expression;if(u.text==="["){if(this._flags.last_token.type===o.WORD||this._flags.last_token.text===")"){p(this._flags.last_token,s)&&(this._output.space_before_token=!0),this.print_token(u),this.set_mode(O),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}O=_.ArrayLiteral,S(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),l(this._flags.last_token.type,[o.START_EXPR,o.END_EXPR,o.WORD,o.OPERATOR,o.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===o.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,O=_.ForInitializer):l(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,O=_.Conditional):l(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&u.whitespace_before===""?this._output.space_before_token=!1:(l(this._flags.last_token.text,s)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u);else if(this._flags.last_token.type===o.WORD){this._output.space_before_token=!1;var V=this._tokens.peek(-3);if(this._options.space_after_named_function&&V){var ne=this._tokens.peek(-4);p(V,["async","function"])||V.text==="*"&&p(ne,["async","function"])?this._output.space_before_token=!0:this._flags.mode===_.ObjectLiteral?(V.text==="{"||V.text===","||V.text==="*"&&(ne.text==="{"||ne.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(u);(this._flags.last_token.type===o.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(l(this._last_last_text,["function","yield"])||this._flags.mode===_.ObjectLiteral&&l(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===o.START_BLOCK?this.print_newline():(this._flags.last_token.type===o.END_EXPR||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===o.COMMA)&&this.allow_wrap_or_preserved_newline(u,u.newlines),this.print_token(u),this.set_mode(O),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},x.prototype.handle_end_expr=function(u){for(;this._flags.mode===_.Statement;)this.restore_mode();this.handle_whitespace_and_comments(u),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(u,u.text==="]"&&S(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===o.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(u),this.restore_mode(),y(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===_.Conditional&&(this._previous_flags.mode=_.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},x.prototype.handle_start_block=function(u){this.handle_whitespace_and_comments(u);var O=this._tokens.peek(),V=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===o.END_EXPR?(this.set_mode(_.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(_.BlockStatement):V&&(l(V.text,[":",","])&&l(O.type,[o.STRING,o.WORD,o.RESERVED])||l(O.text,["get","set","..."])&&l(V.type,[o.WORD,o.RESERVED]))?l(this._last_last_text,["class","interface"])&&!l(V.text,[":",","])?this.set_mode(_.BlockStatement):this.set_mode(_.ObjectLiteral):this._flags.last_token.type===o.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(_.BlockStatement):l(this._flags.last_token.type,[o.EQUALS,o.START_EXPR,o.COMMA,o.OPERATOR])||p(this._flags.last_token,["return","throw","import","default"])?this.set_mode(_.ObjectLiteral):this.set_mode(_.BlockStatement),this._flags.last_token&&p(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var ne=!O.comments_before&&O.text==="}",E=ne&&this._flags.last_word==="function"&&this._flags.last_token.type===o.END_EXPR;if(this._options.brace_preserve_inline){var L=0,N=null;this._flags.inline_frame=!0;do if(L+=1,N=this._tokens.peek(L-1),N.newlines){this._flags.inline_frame=!1;break}while(N.type!==o.EOF&&!(N.type===o.END_BLOCK&&N.opened===u))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&u.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==o.OPERATOR&&(E||this._flags.last_token.type===o.EQUALS||p(this._flags.last_token,k)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(S(this._previous_flags.mode)&&(this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.COMMA)&&((this._flags.last_token.type===o.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(u),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==o.OPERATOR&&this._flags.last_token.type!==o.START_EXPR&&(l(this._flags.last_token.type,[o.START_BLOCK,o.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(u),this.indent(),!ne&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},x.prototype.handle_end_block=function(u){for(this.handle_whitespace_and_comments(u);this._flags.mode===_.Statement;)this.restore_mode();var O=this._flags.last_token.type===o.START_BLOCK;this._flags.inline_frame&&!O?this._output.space_before_token=!0:this._options.brace_style==="expand"?O||this.print_newline():O||(S(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(u)},x.prototype.handle_word=function(u){if(u.type===o.RESERVED){if(l(u.text,["set","get"])&&this._flags.mode!==_.ObjectLiteral)u.type=o.WORD;else if(u.text==="import"&&l(this._tokens.peek().text,["(","."]))u.type=o.WORD;else if(l(u.text,["as","from"])&&!this._flags.import_block)u.type=o.WORD;else if(this._flags.mode===_.ObjectLiteral){var O=this._tokens.peek();O.text===":"&&(u.type=o.WORD)}}if(this.start_of_statement(u)?p(this._flags.last_token,["var","let","const"])&&u.type===o.WORD&&(this._flags.declaration_statement=!0):u.newlines&&!U(this._flags.mode)&&(this._flags.last_token.type!==o.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==o.EQUALS&&(this._options.preserve_newlines||!p(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(u),this.print_newline()):this.handle_whitespace_and_comments(u),this._flags.do_block&&!this._flags.do_while)if(d(u,"while")){this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&d(u,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===_.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&p(u,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(u),this._flags.in_case=!0;return}if((this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u)),d(u,"function")){(l(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(l(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===o.OPERATOR))&&!this._output.just_added_blankline()&&!u.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD?p(this._flags.last_token,["get","set","new","export"])||p(this._flags.last_token,$)?this._output.space_before_token=!0:d(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===o.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(U(this._flags.mode)||S(this._flags.mode))||this.print_newline(),this.print_token(u),this._flags.last_word=u.text;return}var V="NONE";if(this._flags.last_token.type===o.END_BLOCK?this._previous_flags.inline_frame?V="SPACE":p(u,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&u.newlines?V="NEWLINE":(V="SPACE",this._output.space_before_token=!0):V="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&this._flags.mode===_.BlockStatement?V="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&U(this._flags.mode)?V="SPACE":this._flags.last_token.type===o.STRING?V="NEWLINE":this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.last_token.text==="*"&&(l(this._last_last_text,["function","yield"])||this._flags.mode===_.ObjectLiteral&&l(this._last_last_text,["{",","]))?V="SPACE":this._flags.last_token.type===o.START_BLOCK?this._flags.inline_frame?V="SPACE":V="NEWLINE":this._flags.last_token.type===o.END_EXPR&&(this._output.space_before_token=!0,V="NEWLINE"),p(u,s)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?V="SPACE":V="NEWLINE"),p(u,["else","catch","finally"]))if((!(this._flags.last_token.type===o.END_BLOCK&&this._previous_flags.mode===_.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&u.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var ne=this._output.current_line;ne.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else V==="NEWLINE"?p(this._flags.last_token,k)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&p(u,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==o.END_EXPR?(this._flags.last_token.type!==o.START_EXPR||!p(u,["var","let","const"]))&&this._flags.last_token.text!==":"&&(d(u,"if")&&d(u.previous,"else")?this._output.space_before_token=!0:this.print_newline()):p(u,s)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&S(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():V==="SPACE"&&(this._output.space_before_token=!0);u.previous&&(u.previous.type===o.WORD||u.previous.type===o.RESERVED)&&(this._output.space_before_token=!0),this.print_token(u),this._flags.last_word=u.text,u.type===o.RESERVED&&(u.text==="do"?this._flags.do_block=!0:u.text==="if"?this._flags.if_block=!0:u.text==="import"?this._flags.import_block=!0:this._flags.import_block&&d(u,"from")&&(this._flags.import_block=!1))},x.prototype.handle_semicolon=function(u){this.start_of_statement(u)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(u);for(var O=this._tokens.peek();this._flags.mode===_.Statement&&!(this._flags.if_block&&d(O,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(u)},x.prototype.handle_string=function(u){u.text.startsWith("`")&&u.newlines===0&&u.whitespace_before===""&&(u.previous.text===")"||this._flags.last_token.type===o.WORD)||(this.start_of_statement(u)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(u),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(u):u.text.startsWith("`")&&this._flags.last_token.type===o.END_EXPR&&(u.previous.text==="]"||u.previous.text===")")&&u.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(u)},x.prototype.handle_equals=function(u){this.start_of_statement(u)||this.handle_whitespace_and_comments(u),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0},x.prototype.handle_comma=function(u){this.handle_whitespace_and_comments(u,!0),this.print_token(u),this._output.space_before_token=!0,this._flags.declaration_statement?(U(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(u)):this._flags.mode===_.ObjectLiteral||this._flags.mode===_.Statement&&this._flags.parent.mode===_.ObjectLiteral?(this._flags.mode===_.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(u)},x.prototype.handle_operator=function(u){var O=u.text==="*"&&(p(this._flags.last_token,["function","yield"])||l(this._flags.last_token.type,[o.START_BLOCK,o.COMMA,o.END_BLOCK,o.SEMICOLON])),V=l(u.text,["-","+"])&&(l(this._flags.last_token.type,[o.START_BLOCK,o.START_EXPR,o.EQUALS,o.OPERATOR])||l(this._flags.last_token.text,s)||this._flags.last_token.text===",");if(!this.start_of_statement(u)){var ne=!O;this.handle_whitespace_and_comments(u,ne)}if(u.text==="*"&&this._flags.last_token.type===o.DOT){this.print_token(u);return}if(u.text==="::"){this.print_token(u);return}if(this._flags.last_token.type===o.OPERATOR&&l(this._options.operator_position,b)&&this.allow_wrap_or_preserved_newline(u),u.text===":"&&this._flags.in_case){this.print_token(u),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==o.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var E=!0,L=!0,N=!1;if(u.text===":"?this._flags.ternary_depth===0?E=!1:(this._flags.ternary_depth-=1,N=!0):u.text==="?"&&(this._flags.ternary_depth+=1),!V&&!O&&this._options.preserve_newlines&&l(u.text,i)){var J=u.text===":",le=J&&N,Q=J&&!N;switch(this._options.operator_position){case R.before_newline:this._output.space_before_token=!Q,this.print_token(u),(!J||le)&&this.allow_wrap_or_preserved_newline(u),this._output.space_before_token=!0;return;case R.after_newline:this._output.space_before_token=!0,!J||le?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(u):this._output.space_before_token=!1,this.print_token(u),this._output.space_before_token=!0;return;case R.preserve_newline:Q||this.allow_wrap_or_preserved_newline(u),E=!(this._output.just_added_newline()||Q),this._output.space_before_token=E,this.print_token(u),this._output.space_before_token=!0;return}}if(O){this.allow_wrap_or_preserved_newline(u),E=!1;var he=this._tokens.peek();L=he&&l(he.type,[o.WORD,o.RESERVED])}else if(u.text==="...")this.allow_wrap_or_preserved_newline(u),E=this._flags.last_token.type===o.START_BLOCK,L=!1;else if(l(u.text,["--","++","!","~"])||V){if((this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR)&&this.allow_wrap_or_preserved_newline(u),E=!1,L=!1,u.newlines&&(u.text==="--"||u.text==="++"||u.text==="~")){var z=p(this._flags.last_token,k)&&u.newlines;z&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(z,!0)}this._flags.last_token.text===";"&&U(this._flags.mode)&&(E=!0),this._flags.last_token.type===o.RESERVED?E=!0:this._flags.last_token.type===o.END_EXPR?E=!(this._flags.last_token.text==="]"&&(u.text==="--"||u.text==="++")):this._flags.last_token.type===o.OPERATOR&&(E=l(u.text,["--","-","++","+"])&&l(this._flags.last_token.text,["--","-","++","+"]),l(u.text,["+","-"])&&l(this._flags.last_token.text,["--","++"])&&(L=!0)),(this._flags.mode===_.BlockStatement&&!this._flags.inline_frame||this._flags.mode===_.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||E,this.print_token(u),this._output.space_before_token=L},x.prototype.handle_block_comment=function(u,O){if(this._output.raw){this._output.add_raw_token(u),u.directives&&u.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(u.directives){this.print_newline(!1,O),this.print_token(u),u.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!t.newline.test(u.text)&&!u.newlines){this._output.space_before_token=!0,this.print_token(u),this._output.space_before_token=!0;return}else this.print_block_commment(u,O)},x.prototype.print_block_commment=function(u,O){var V=A(u.text),ne,E=!1,L=!1,N=u.whitespace_before,J=N.length;if(this.print_newline(!1,O),this.print_token_line_indentation(u),this._output.add_token(V[0]),this.print_newline(!1,O),V.length>1){for(V=V.slice(1),E=D(V,"*"),L=M(V,N),E&&(this._flags.alignment=1),ne=0;ne0&&this._indentLevel--},d.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var p=this._source_text,k=this._options.eol;k==="auto"&&(k=` +`,p&&s.test(p||"")&&(k=p.match(s)[0])),p=p.replace(i,` +`);var P=p.match(/^[\t ]*/)[0];this._output=new n(this._options,P),this._input=new t(p),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var R=0,b=!1,_=!1,y=!1,A=!1,S=!1,U=this._ch,D=!1,M,x,$;M=this._input.read(l),x=M!=="",$=U,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),U=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var u=this._input.read(v),O=r.get_directives(u);O&&O.ignore==="start"&&(u+=r.readIgnored(this._input)),this.print_string(u),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(m)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(x),this.print_string(this._ch);var V=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);V.match(/[ :]$/)&&(V=this.eatString(": ").replace(/\s$/,""),this.print_string(V),this._output.space_before_token=!0),V=V.replace(/\s$/,""),R===0&&V.indexOf(":")!==-1&&(_=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(x),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var ne=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);ne.match(/[ :]$/)&&(ne=this.eatString(": ").replace(/\s$/,""),this.print_string(ne),this._output.space_before_token=!0),ne=ne.replace(/\s$/,""),R===0&&ne.indexOf(":")!==-1?(_=!0,this.indent()):ne in this.NESTED_AT_RULE?(this._nestedLevel+=1,ne in this.CONDITIONAL_GROUP_RULE&&(y=!0)):R===0&&!_&&(A=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(x),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")_&&(_=!1,this.outdent()),A=!1,y?(y=!1,b=this._indentLevel>=this._nestedLevel):b=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&b&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):($==="("?this._output.space_before_token=!1:$!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),$==="{"&&this._output.trim(!0),_&&(this.outdent(),_=!1),this.print_string(this._ch),b=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var E=0;E"||this._ch==="+"||this._ch==="~")&&!_&&R===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&o.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(x),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),o.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var J=$==='"'||$==="'";this.preserveSingleSpace(J||x),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===` +`&&D&&this._output.add_new_line()}var le=this._output.get_code(k);return le},Gn.Beautifier=d,Gn}var Ws;function Ah(){if(Ws)return en.exports;Ws=1;var e=Oh().Beautifier,n=io().Options;function t(a,r){var s=new e(a,r);return s.beautify()}return en.exports=t,en.exports.defaultOptions=function(){return new n},en.exports}var tn={exports:{}},Xn={},qn={},Ys;function oo(){if(Ys)return qn;Ys=1;var e=Gr().Options;function n(t){e.call(this,t,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return n.prototype=new e,qn.Options=n,qn}var an={},js;function Fs(){if(js)return an;js=1;var e=fn().Tokenizer,n=fn().TOKEN,t=Xr().Directives,a=so().TemplatablePattern,r=kn().Pattern,s={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:n.START,RAW:n.RAW,EOF:n.EOF},i=new t(/<\!--/,/-->/),o=function(l,v){e.call(this,l,v),this._current_tag_name="";var m=new a(this._input).read_options(this._options),d=new r(this._input);if(this.__patterns={word:m.until(/[\n\r\t <]/),single_quote:m.until_after(/'/),double_quote:m.until_after(/"/),attribute:m.until(/[\n\r\t =>]|\/>/),element_name:m.until(/[\n\r\t >\/]/),handlebars_comment:d.starting_with(/{{!--/).until_after(/--}}/),handlebars:d.starting_with(/{{/).until_after(/}}/),handlebars_open:d.until(/[\n\r\t }]/),handlebars_raw_close:d.until(/}}/),comment:d.starting_with(//),cdata:d.starting_with(//),conditional_comment:d.starting_with(//),processing:d.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var p=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=d.matching(p).until_after(p)}};return o.prototype=new e,o.prototype._is_comment=function(l){return!1},o.prototype._is_opening=function(l){return l.type===s.TAG_OPEN},o.prototype._is_closing=function(l,v){return l.type===s.TAG_CLOSE&&v&&((l.text===">"||l.text==="/>")&&v.text[0]==="<"||l.text==="}}"&&v.text[0]==="{"&&v.text[1]==="{")},o.prototype._reset=function(){this._current_tag_name=""},o.prototype._get_next_token=function(l,v){var m=null;this._readWhitespace();var d=this._input.peek();return d===null?this._create_token(s.EOF,""):(m=m||this._read_open_handlebars(d,v),m=m||this._read_attribute(d,l,v),m=m||this._read_close(d,v),m=m||this._read_raw_content(d,l,v),m=m||this._read_content_word(d),m=m||this._read_comment_or_cdata(d),m=m||this._read_processing(d),m=m||this._read_open(d,v),m=m||this._create_token(s.UNKNOWN,this._input.next()),m)},o.prototype._read_comment_or_cdata=function(l){var v=null,m=null,d=null;if(l==="<"){var p=this._input.peek(1);p==="!"&&(m=this.__patterns.comment.read(),m?(d=i.get_directives(m),d&&d.ignore==="start"&&(m+=i.readIgnored(this._input))):m=this.__patterns.cdata.read()),m&&(v=this._create_token(s.COMMENT,m),v.directives=d)}return v},o.prototype._read_processing=function(l){var v=null,m=null,d=null;if(l==="<"){var p=this._input.peek(1);(p==="!"||p==="?")&&(m=this.__patterns.conditional_comment.read(),m=m||this.__patterns.processing.read()),m&&(v=this._create_token(s.COMMENT,m),v.directives=d)}return v},o.prototype._read_open=function(l,v){var m=null,d=null;return v||l==="<"&&(m=this._input.next(),this._input.peek()==="/"&&(m+=this._input.next()),m+=this.__patterns.element_name.read(),d=this._create_token(s.TAG_OPEN,m)),d},o.prototype._read_open_handlebars=function(l,v){var m=null,d=null;return v||this._options.indent_handlebars&&l==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(m=this.__patterns.handlebars_comment.read(),m=m||this.__patterns.handlebars.read(),d=this._create_token(s.COMMENT,m)):(m=this.__patterns.handlebars_open.read(),d=this._create_token(s.TAG_OPEN,m))),d},o.prototype._read_close=function(l,v){var m=null,d=null;return v&&(v.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(m=this._input.next(),l==="/"&&(m+=this._input.next()),d=this._create_token(s.TAG_CLOSE,m)):v.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),d=this._create_token(s.TAG_CLOSE,"}}"))),d},o.prototype._read_attribute=function(l,v,m){var d=null,p="";if(m&&m.text[0]==="<")if(l==="=")d=this._create_token(s.EQUALS,this._input.next());else if(l==='"'||l==="'"){var k=this._input.next();l==='"'?k+=this.__patterns.double_quote.read():k+=this.__patterns.single_quote.read(),d=this._create_token(s.VALUE,k)}else p=this.__patterns.attribute.read(),p&&(v.type===s.EQUALS?d=this._create_token(s.VALUE,p):d=this._create_token(s.ATTRIBUTE,p));return d},o.prototype._is_content_unformatted=function(l){return this._options.void_elements.indexOf(l)===-1&&(this._options.content_unformatted.indexOf(l)!==-1||this._options.unformatted.indexOf(l)!==-1)},o.prototype._read_raw_content=function(l,v,m){var d="";if(m&&m.text[0]==="{")d=this.__patterns.handlebars_raw_close.read();else if(v.type===s.TAG_CLOSE&&v.opened.text[0]==="<"&&v.text[0]!=="/"){var p=v.opened.text.substr(1).toLowerCase();if(p==="script"||p==="style"){var k=this._read_comment_or_cdata(l);if(k)return k.type=s.TEXT,k;d=this._input.readUntil(new RegExp("","ig"))}else this._is_content_unformatted(p)&&(d=this._input.readUntil(new RegExp("","ig")))}return d?this._create_token(s.TEXT,d):null},o.prototype._read_content_word=function(l){var v="";if(this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(v=this.__patterns.unformatted_content_delimiter.read()),v||(v=this.__patterns.word.read()),v)return this._create_token(s.TEXT,v)},an.Tokenizer=o,an.TOKEN=s,an}var Hs;function Ih(){if(Hs)return Xn;Hs=1;var e=oo().Options,n=Ur().Output,t=Fs().Tokenizer,a=Fs().TOKEN,r=/\r\n|[\r\n]/,s=/\r\n|[\r\n]/g,i=function(b,_){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=b.max_preserve_newlines,this.preserve_newlines=b.preserve_newlines,this._output=new n(b,_)};i.prototype.current_line_has_match=function(b){return this._output.current_line.has_match(b)},i.prototype.set_space_before_token=function(b,_){this._output.space_before_token=b,this._output.non_breaking_space=_},i.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},i.prototype.add_raw_token=function(b){this._output.add_raw_token(b)},i.prototype.print_preserved_newlines=function(b){var _=0;b.type!==a.TEXT&&b.previous.type!==a.TEXT&&(_=b.newlines?1:0),this.preserve_newlines&&(_=b.newlines0);return _!==0},i.prototype.traverse_whitespace=function(b){return b.whitespace_before||b.newlines?(this.print_preserved_newlines(b)||(this._output.space_before_token=!0),!0):!1},i.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},i.prototype.print_newline=function(b){this._output.add_new_line(b)},i.prototype.print_token=function(b){b.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(b.text))},i.prototype.indent=function(){this.indent_level++},i.prototype.get_full_indent=function(b){return b=this.indent_level+(b||0),b<1?"":this._output.get_indent_string(b)};var o=function(b){for(var _=null,y=b.next;y.type!==a.EOF&&b.closed!==y;){if(y.type===a.ATTRIBUTE&&y.text==="type"){y.next&&y.next.type===a.EQUALS&&y.next.next&&y.next.next.type===a.VALUE&&(_=y.next.next.text);break}y=y.next}return _},l=function(b,_){var y=null,A=null;return _.closed?(b==="script"?y="text/javascript":b==="style"&&(y="text/css"),y=o(_)||y,y.search("text/css")>-1?A="css":y.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?A="javascript":y.search(/(text|application|dojo)\/(x-)?(html)/)>-1?A="html":y.search(/test\/null/)>-1&&(A="null"),A):null};function v(b,_){return _.indexOf(b)!==-1}function m(b,_,y){this.parent=b||null,this.tag=_?_.tag_name:"",this.indent_level=y||0,this.parser_token=_||null}function d(b){this._printer=b,this._current_frame=null}d.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},d.prototype.record_tag=function(b){var _=new m(this._current_frame,b,this._printer.indent_level);this._current_frame=_},d.prototype._try_pop_frame=function(b){var _=null;return b&&(_=b.parser_token,this._printer.indent_level=b.indent_level,this._current_frame=b.parent),_},d.prototype._get_frame=function(b,_){for(var y=this._current_frame;y&&b.indexOf(y.tag)===-1;){if(_&&_.indexOf(y.tag)!==-1){y=null;break}y=y.parent}return y},d.prototype.try_pop=function(b,_){var y=this._get_frame([b],_);return this._try_pop_frame(y)},d.prototype.indent_to_tag=function(b){var _=this._get_frame(b);_&&(this._printer.indent_level=_.indent_level)};function p(b,_,y,A){this._source_text=b||"",_=_||{},this._js_beautify=y,this._css_beautify=A,this._tag_stack=null;var S=new e(_,"html");this._options=S,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}p.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b=this._source_text,_=this._options.eol;this._options.eol==="auto"&&(_=` +`,b&&r.test(b)&&(_=b.match(r)[0])),b=b.replace(s,` +`);var y=b.match(/^[\t ]*/)[0],A={text:"",type:""},S=new k,U=new i(this._options,y),D=new t(b,this._options).tokenize();this._tag_stack=new d(U);for(var M=null,x=D.next();x.type!==a.EOF;)x.type===a.TAG_OPEN||x.type===a.COMMENT?(M=this._handle_tag_open(U,x,S,A,D),S=M):x.type===a.ATTRIBUTE||x.type===a.EQUALS||x.type===a.VALUE||x.type===a.TEXT&&!S.tag_complete?M=this._handle_inside_tag(U,x,S,A):x.type===a.TAG_CLOSE?M=this._handle_tag_close(U,x,S):x.type===a.TEXT?M=this._handle_text(U,x,S):U.add_raw_token(x),A=M,x=D.next();var $=U._output.get_code(_);return $},p.prototype._handle_tag_close=function(b,_,y){var A={text:_.text,type:_.type};return b.alignment_size=0,y.tag_complete=!0,b.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),y.is_unformatted?b.add_raw_token(_):(y.tag_start_char==="<"&&(b.set_space_before_token(_.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&y.has_wrapped_attrs&&b.print_newline(!1)),b.print_token(_)),y.indent_content&&!(y.is_unformatted||y.is_content_unformatted)&&(b.indent(),y.indent_content=!1),!y.is_inline_element&&!(y.is_unformatted||y.is_content_unformatted)&&b.set_wrap_point(),A},p.prototype._handle_inside_tag=function(b,_,y,A){var S=y.has_wrapped_attrs,U={text:_.text,type:_.type};return b.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),y.is_unformatted?b.add_raw_token(_):y.tag_start_char==="{"&&_.type===a.TEXT?b.print_preserved_newlines(_)?(_.newlines=0,b.add_raw_token(_)):b.print_token(_):(_.type===a.ATTRIBUTE?b.set_space_before_token(!0):(_.type===a.EQUALS||_.type===a.VALUE&&_.previous.type===a.EQUALS)&&b.set_space_before_token(!1),_.type===a.ATTRIBUTE&&y.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(b.traverse_whitespace(_),S=S||_.newlines!==0),this._is_wrap_attributes_force&&y.attr_count>=this._options.wrap_attributes_min_attrs&&(A.type!==a.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(b.print_newline(!1),S=!0)),b.print_token(_),S=S||b.previous_token_wrapped(),y.has_wrapped_attrs=S),U},p.prototype._handle_text=function(b,_,y){var A={text:_.text,type:"TK_CONTENT"};return y.custom_beautifier_name?this._print_custom_beatifier_text(b,_,y):y.is_unformatted||y.is_content_unformatted?b.add_raw_token(_):(b.traverse_whitespace(_),b.print_token(_)),A},p.prototype._print_custom_beatifier_text=function(b,_,y){var A=this;if(_.text!==""){var S=_.text,U,D=1,M="",x="";y.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?U=this._js_beautify:y.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?U=this._css_beautify:y.custom_beautifier_name==="html"&&(U=function(E,L){var N=new p(E,L,A._js_beautify,A._css_beautify);return N.beautify()}),this._options.indent_scripts==="keep"?D=0:this._options.indent_scripts==="separate"&&(D=-b.indent_level);var $=b.get_full_indent(D);if(S=S.replace(/\n[ \t]*$/,""),y.custom_beautifier_name!=="html"&&S[0]==="<"&&S.match(/^(|]]>)$/.exec(S);if(!u){b.add_raw_token(_);return}M=$+u[1]+` +`,S=u[4],u[5]&&(x=$+u[5]),S=S.replace(/\n[ \t]*$/,""),(u[2]||u[3].indexOf(` +`)!==-1)&&(u=u[3].match(/[ \t]+$/),u&&(_.whitespace_before=u[0]))}if(S)if(U){var O=function(){this.eol=` +`};O.prototype=this._options.raw_options;var V=new O;S=U($+S,V)}else{var ne=_.whitespace_before;ne&&(S=S.replace(new RegExp(` +(`+ne+")?","g"),` +`)),S=$+S.replace(/\n/g,` +`+$)}M&&(S?S=M+S+` +`+x:S=M+x),b.print_newline(!1),S&&(_.text=S,_.whitespace_before="",_.newlines=0,b.add_raw_token(_),b.print_newline(!0))}},p.prototype._handle_tag_open=function(b,_,y,A,S){var U=this._get_tag_open_token(_);if((y.is_unformatted||y.is_content_unformatted)&&!y.is_empty_element&&_.type===a.TAG_OPEN&&!U.is_start_tag?(b.add_raw_token(_),U.start_tag_token=this._tag_stack.try_pop(U.tag_name)):(b.traverse_whitespace(_),this._set_tag_position(b,_,U,y,A),U.is_inline_element||b.set_wrap_point(),b.print_token(_)),U.is_start_tag&&this._is_wrap_attributes_force){var D=0,M;do M=S.peek(D),M.type===a.ATTRIBUTE&&(U.attr_count+=1),D+=1;while(M.type!==a.EOF&&M.type!==a.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(U.alignment_size=_.text.length+1),!U.tag_complete&&!U.is_unformatted&&(b.alignment_size=U.alignment_size),U};var k=function(b,_){if(this.parent=b||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!_)this.tag_complete=!0;else{var y;this.tag_start_char=_.text[0],this.text=_.text,this.tag_start_char==="<"?(y=_.text.match(/^<([^\s>]*)/),this.tag_check=y?y[1]:""):(y=_.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=y?y[1]:"",(_.text.startsWith("{{#>")||_.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&_.next!==null?this.tag_check=_.next.text.split(" ")[0]:this.tag_check=_.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),_.type===a.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||_.closed&&_.closed.text==="/>";var A=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(A=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(A)))}};p.prototype._get_tag_open_token=function(b){var _=new k(this._tag_stack.get_parser_token(),b);return _.alignment_size=this._options.wrap_attributes_indent_size,_.is_end_tag=_.is_end_tag||v(_.tag_check,this._options.void_elements),_.is_empty_element=_.tag_complete||_.is_start_tag&&_.is_end_tag,_.is_unformatted=!_.tag_complete&&v(_.tag_check,this._options.unformatted),_.is_content_unformatted=!_.is_empty_element&&v(_.tag_check,this._options.content_unformatted),_.is_inline_element=v(_.tag_name,this._options.inline)||this._options.inline_custom_elements&&_.tag_name.includes("-")||_.tag_start_char==="{",_},p.prototype._set_tag_position=function(b,_,y,A,S){if(y.is_empty_element||(y.is_end_tag?y.start_tag_token=this._tag_stack.try_pop(y.tag_name):(this._do_optional_end_element(y)&&(y.is_inline_element||b.print_newline(!1)),this._tag_stack.record_tag(y),(y.tag_name==="script"||y.tag_name==="style")&&!(y.is_unformatted||y.is_content_unformatted)&&(y.custom_beautifier_name=l(y.tag_check,_)))),v(y.tag_check,this._options.extra_liners)&&(b.print_newline(!1),b._output.just_added_blankline()||b.print_newline(!0)),y.is_empty_element){if(y.tag_start_char==="{"&&y.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),y.indent_content=!0;var U=b.current_line_has_match(/{{#if/);U||b.print_newline(!1)}y.tag_name==="!--"&&S.type===a.TAG_CLOSE&&A.is_end_tag&&y.text.indexOf(` +`)===-1||(y.is_inline_element||y.is_unformatted||b.print_newline(!1),this._calcluate_parent_multiline(b,y))}else if(y.is_end_tag){var D=!1;D=y.start_tag_token&&y.start_tag_token.multiline_content,D=D||!y.is_inline_element&&!(A.is_inline_element||A.is_unformatted)&&!(S.type===a.TAG_CLOSE&&y.start_tag_token===A)&&S.type!=="TK_CONTENT",(y.is_content_unformatted||y.is_unformatted)&&(D=!1),D&&b.print_newline(!1)}else y.indent_content=!y.custom_beautifier_name,y.tag_start_char==="<"&&(y.tag_name==="html"?y.indent_content=this._options.indent_inner_html:y.tag_name==="head"?y.indent_content=this._options.indent_head_inner_html:y.tag_name==="body"&&(y.indent_content=this._options.indent_body_inner_html)),!(y.is_inline_element||y.is_unformatted)&&(S.type!=="TK_CONTENT"||y.is_content_unformatted)&&b.print_newline(!1),this._calcluate_parent_multiline(b,y)},p.prototype._calcluate_parent_multiline=function(b,_){_.parent&&b._output.just_added_newline()&&!((_.is_inline_element||_.is_unformatted)&&_.parent.is_inline_element)&&(_.parent.multiline_content=!0)};var P=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],R=["a","audio","del","ins","map","noscript","video"];return p.prototype._do_optional_end_element=function(b){var _=null;if(!(b.is_empty_element||!b.is_start_tag||!b.parent)){if(b.tag_name==="body")_=_||this._tag_stack.try_pop("head");else if(b.tag_name==="li")_=_||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(b.tag_name==="dd"||b.tag_name==="dt")_=_||this._tag_stack.try_pop("dt",["dl"]),_=_||this._tag_stack.try_pop("dd",["dl"]);else if(b.parent.tag_name==="p"&&P.indexOf(b.tag_name)!==-1){var y=b.parent.parent;(!y||R.indexOf(y.tag_name)===-1)&&(_=_||this._tag_stack.try_pop("p"))}else b.tag_name==="rp"||b.tag_name==="rt"?(_=_||this._tag_stack.try_pop("rt",["ruby","rtc"]),_=_||this._tag_stack.try_pop("rp",["ruby","rtc"])):b.tag_name==="optgroup"?_=_||this._tag_stack.try_pop("optgroup",["select"]):b.tag_name==="option"?_=_||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):b.tag_name==="colgroup"?_=_||this._tag_stack.try_pop("caption",["table"]):b.tag_name==="thead"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"])):b.tag_name==="tbody"||b.tag_name==="tfoot"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("thead",["table"]),_=_||this._tag_stack.try_pop("tbody",["table"])):b.tag_name==="tr"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(b.tag_name==="th"||b.tag_name==="td")&&(_=_||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),_=_||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return b.parent=this._tag_stack.get_parser_token(),_}},Xn.Beautifier=p,Xn}var zs;function Ch(){if(zs)return tn.exports;zs=1;var e=Ih().Beautifier,n=oo().Options;function t(a,r,s,i){var o=new e(a,r,s,i);return o.beautify()}return tn.exports=t,tn.exports.defaultOptions=function(){return new n},tn.exports}var Us;function Rh(){if(Us)return Ia;Us=1;var e=Eh(),n=Ah(),t=Ch();function a(r,s,i,o){return i=i||e,o=o||n,t(r,s,i,o)}return a.defaultOptions=t.defaultOptions,Ia.js=e,Ia.css=n,Ia.html=a,Ia}(function(e){function n(t,a,r){var s=function(i,o){return t.js_beautify(i,o)};return s.js=t.js_beautify,s.css=a.css_beautify,s.html=r.html_beautify,s.js_beautify=t.js_beautify,s.css_beautify=a.css_beautify,s.html_beautify=r.html_beautify,s}(function(t){var a=Rh();a.js_beautify=a.js,a.css_beautify=a.css,a.html_beautify=a.html,t.exports=n(a,a,a)})(e)})(to);var Nh=to.exports,Vh=Mh(Nh),lo=function(){function e(n){var t=this;this.isDisabled=function(){var a=["BUTTON","COMMAND","FIELDSET","KEYGEN","OPTGROUP","OPTION","SELECT","TEXTAREA","INPUT"],r=t.attributes().disabled!==void 0,s=Aa(t.element)&&a.includes(t.element.tagName);return r&&s},this.wrapperElement=n}return Object.defineProperty(e.prototype,"element",{get:function(){return this.wrapperElement},enumerable:!1,configurable:!0}),e.prototype.findAllDOMElements=function(n){var t=this.getRootNodes().filter(Aa);if(t.length===0)return[];var a=Hi([],t.filter(function(r){return r.matches(n)}));return t.forEach(function(r){a.push.apply(a,Array.from(r.querySelectorAll(n)))}),a},e.prototype.find=function(n){if(typeof n=="object"&&"ref"in n){var t=this.getCurrentComponent();if(!t)return Xt("DOMWrapper");var a=t.refs[n.ref];return Array.isArray(a)&&(a=a.length?a[0]:void 0),a instanceof Node?Ya(a):Xt("DOMWrapper")}var r=this.findAll(n);return r.length>0?r[0]:Xt("DOMWrapper")},e.prototype.findComponent=function(n){var t=this.getCurrentComponent();if(!t)return Xt("VueWrapper");if(typeof n=="object"&&"ref"in n){var a=t.refs[n.ref];return Array.isArray(a)&&(a=a.length?a[0]:void 0),a&&!(a instanceof HTMLElement)?Nn(null,a):Xt("VueWrapper")}if(Zi(t.vnode,n)&&this.element.contains(t.vnode.el))return Nn(null,t.subTree.component?t.subTree.component.proxy:t.proxy);var r=this.findAllComponents(n)[0];return r??Xt("VueWrapper")},e.prototype.findAllComponents=function(n){var t=this.getCurrentComponent();if(!t)return[];var a=wh(t.subTree,n);return a.map(function(r){return r.proxy?Nn(null,r.proxy):Ya(r.vnode.el)})},e.prototype.html=function(n){var t=this.getRootNodes().map(function(a){return Th(a)});return n!=null&&n.raw?t.join(""):t.map(function(a){return Vh.html(a,{unformatted:["code","pre","em","strong","span"],indent_inner_html:!0,indent_size:2,inline_custom_elements:!1})}).join(` +`)},e.prototype.classes=function(n){var t=Aa(this.element)?Array.from(this.element.classList):[];return n?t.includes(n):t},e.prototype.attributes=function(n){var t={};if(Aa(this.element))for(var a=Array.from(this.element.attributes),r=0,s=a;r element.`);return t===a.checked?[2]:(a.checked=t,this.trigger("input"),[2,this.trigger("change")])})})},n.prototype.setValue=function(t){var a=this.element,r=a.tagName,s=this.attributes().type;if(r==="OPTION")return this.setSelected(),Promise.resolve();if(r==="INPUT"&&s==="checkbox")return this.setChecked(t);if(r==="INPUT"&&s==="radio")return this.setChecked(t);if(r==="SELECT"){if(Array.isArray(t))for(var i=a,o=0;oe<10?`0${e}`:e,Gs=(e,n,t,a,r,s)=>{const i=fr(e,n.slice(0,e.length),new Date,{locale:s});return Va(i)&&gi(i)?a||r?i:Fe(i,{hours:+t.hours,minutes:+(t==null?void 0:t.minutes),seconds:+(t==null?void 0:t.seconds),milliseconds:0}):null},Hh=(e,n,t,a,r,s)=>{const i=Array.isArray(t)?t[0]:t;if(typeof n=="string")return Gs(e,n,i,a,r,s);if(Array.isArray(n)){let o=null;for(const l of n)if(o=Gs(e,l,i,a,r,s),o)break;return o}return typeof n=="function"?n(e):null},se=e=>e?new Date(e):new Date,zh=(e,n,t)=>{if(n){const r=(e.getMonth()+1).toString().padStart(2,"0"),s=e.getDate().toString().padStart(2,"0"),i=e.getHours().toString().padStart(2,"0"),o=e.getMinutes().toString().padStart(2,"0"),l=t?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${r}-${s}T${i}:${o}:${l}.000Z`}const a=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(a).toISOString()},dt=(e,n)=>{const t=se(JSON.parse(JSON.stringify(e))),a=Fe(t,{hours:0,minutes:0,seconds:0,milliseconds:0});return n?dr(a):a},Jt=(e,n,t,a)=>{let r=e?se(e):se();return(n||n===0)&&(r=If(r,+n)),(t||t===0)&&(r=Cf(r,+t)),(a||a===0)&&(r=Ci(r,+a)),Ii(r,0)},qe=(e,n)=>!e||!n?!1:Ta(dt(e),dt(n)),Re=(e,n)=>!e||!n?!1:ia(dt(e),dt(n)),Je=(e,n)=>!e||!n?!1:da(dt(e),dt(n)),ja=(e,n,t)=>e!=null&&e[0]&&e!=null&&e[1]?Je(t,e[0])&&qe(t,e[1]):e!=null&&e[0]&&n?Je(t,e[0])&&qe(t,n)||qe(t,e[0])&&Je(t,n):!1,Mt=e=>{const n=Fe(new Date(e),{date:1});return dt(n)},Qn=(e,n,t)=>n&&(t||t===0)?Object.fromEntries(["hours","minutes","seconds"].map(a=>a===n?[a,t]:[a,isNaN(+e[a])?void 0:+e[a]])):{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:Yt(e),minutes:ea(e),seconds:Da(e)}),co=(e,n)=>{if(n){const t=$e(se(n));if(t>e)return 12;if(t===e)return Ee(se(n))}},_o=(e,n)=>{if(n){const t=$e(se(n));return t{if(e)return $e(se(e))},po=(e,n)=>{const t=Je(e,n)?n:e,a=Je(n,e)?n:e;return ki({start:t,end:a})},Uh=e=>{const n=kt(e,1);return{month:Ee(n),year:$e(n)}},Bt=(e,n)=>{const t=Pt(e,{weekStartsOn:+n}),a=wi(e,{weekStartsOn:+n});return[t,a]},fo=(e,n)=>{const t={hours:Yt(se()),minutes:ea(se()),seconds:n?Da(se()):0};return Object.assign(t,e)},Qt=(e,n,t)=>[Fe(se(e),{date:1}),Fe(se(),{month:n,year:t,date:1})],Wt=(e,n,t)=>{let a=e?se(e):se();return(n||n===0)&&(a=Ai(a,n)),t&&(a=Nt(a,t)),a},ho=(e,n,t,a,r)=>{if(!a||r&&!n||!r&&!t)return!1;const s=r?kt(e,1):jt(e,1),i=[Ee(s),$e(s)];return r?!Kh(...i,n):!Gh(...i,t)},Gh=(e,n,t)=>qe(...Qt(t,e,n))||Re(...Qt(t,e,n)),Kh=(e,n,t)=>Je(...Qt(t,e,n))||Re(...Qt(t,e,n)),mo=(e,n,t,a,r,s,i)=>{if(typeof n=="function"&&!i)return n(e);const o=t?{locale:t}:void 0;return Array.isArray(e)?`${wt(e[0],s,o)}${r&&!e[1]?"":a}${e[1]?wt(e[1],s,o):""}`:wt(e,s,o)},va=e=>{if(e)return null;throw new Error(Fr.prop("partial-range"))},nn=(e,n)=>{if(n)return e();throw new Error(Fr.prop("range"))},br=e=>Array.isArray(e)?Va(e[0])&&(e[1]?Va(e[1]):!0):e?Va(e):!1,Xh=(e,n)=>Fe(n??se(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),Zn=(e,n,t,a)=>{if(!e)return!0;if(a){const r=t==="max"?Ta(e,n):da(e,n),s={seconds:0,milliseconds:0};return r||ia(Fe(e,s),Fe(n,s))}return t==="max"?e.getTime()<=n.getTime():e.getTime()>=n.getTime()},Jn=(e,n,t)=>e?Xh(e,n):se(t??n),Ks=(e,n,t,a,r)=>{if(Array.isArray(a)){const i=Jn(e,a[0],n),o=Jn(e,a[1],n);return Zn(a[0],i,t,!!n)&&Zn(a[1],o,t,!!n)&&r}const s=Jn(e,a,n);return Zn(a,s,t,!!n)&&r},er=e=>Fe(se(),la(e)),qh=(e,n,t)=>{if(e instanceof Map){const a=`${uo(t+1)}-${n}`;return e.size?e.has(a):!1}return!1},Qh=(e,n,t)=>{if(e instanceof Map){const a=`${uo(t+1)}-${n}`;return e.size?e.has(a):!0}return!0},vo=(e,n,t)=>typeof e=="function"?e({month:n,year:t}):!!e.months.find(a=>a.month===n&&a.year===t),qr=(e,n)=>typeof e=="function"?e(n):e.years.includes(n),gr=e=>`dp-${wt(e,"yyyy-MM-dd")}`,Xs=(e,n)=>{const t=Rr(dt(n),e),a=rt(dt(n),e);return{before:t,after:a}},Ra=Fa({menuFocused:!1,shiftKeyInMenu:!1}),bo=()=>{const e=t=>{Ra.menuFocused=t},n=t=>{Ra.shiftKeyInMenu!==t&&(Ra.shiftKeyInMenu=t)};return{control:B(()=>({shiftKeyInMenu:Ra.shiftKeyInMenu,menuFocused:Ra.menuFocused})),setMenuFocused:e,setShiftKey:n}},He=Fa({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),tr=Y(null),rn=Y(!1),ar=Y(!1),nr=Y(!1),rr=Y(!1),_t=Y(0),Ze=Y(0),aa=()=>{const e=B(()=>rn.value?[...He.selectionGrid,He.actionRow].filter(d=>d.length):ar.value?[...He.timePicker[0],...He.timePicker[1],rr.value?[]:[tr.value],He.actionRow].filter(d=>d.length):nr.value?[...He.monthPicker,He.actionRow]:[He.monthYear,...He.calendar,He.time,He.actionRow].filter(d=>d.length)),n=d=>{_t.value=d?_t.value+1:_t.value-1;let p=null;e.value[Ze.value]&&(p=e.value[Ze.value][_t.value]),!p&&e.value[Ze.value+(d?1:-1)]?(Ze.value=Ze.value+(d?1:-1),_t.value=d?0:e.value[Ze.value].length-1):p||(_t.value=d?_t.value-1:_t.value+1)},t=d=>{Ze.value===0&&!d||Ze.value===e.value.length&&d||(Ze.value=d?Ze.value+1:Ze.value-1,e.value[Ze.value]?e.value[Ze.value]&&!e.value[Ze.value][_t.value]&&_t.value!==0&&(_t.value=e.value[Ze.value].length-1):Ze.value=d?Ze.value-1:Ze.value+1)},a=d=>{let p=null;e.value[Ze.value]&&(p=e.value[Ze.value][_t.value]),p?p.focus({preventScroll:!rn.value}):_t.value=d?_t.value-1:_t.value+1},r=()=>{n(!0),a(!0)},s=()=>{n(!1),a(!1)},i=()=>{t(!1),a(!0)},o=()=>{t(!0),a(!0)},l=(d,p)=>{He[p]=d},v=(d,p)=>{He[p]=d},m=()=>{_t.value=0,Ze.value=0};return{buildMatrix:l,buildMultiLevelMatrix:v,setTimePickerBackRef:d=>{tr.value=d},setSelectionGrid:d=>{rn.value=d,m(),d||(He.selectionGrid=[])},setTimePicker:(d,p=!1)=>{ar.value=d,rr.value=p,m(),d||(He.timePicker[0]=[],He.timePicker[1]=[])},setTimePickerElements:(d,p=0)=>{He.timePicker[p]=d},arrowRight:r,arrowLeft:s,arrowUp:i,arrowDown:o,clearArrowNav:()=>{He.monthYear=[],He.calendar=[],He.time=[],He.actionRow=[],He.selectionGrid=[],He.timePicker[0]=[],He.timePicker[1]=[],rn.value=!1,ar.value=!1,rr.value=!1,nr.value=!1,m(),tr.value=null},setMonthPicker:d=>{nr.value=d,m()},refSets:He}},qs=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??{}}),Zh=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:n=>`Increment ${n}`,decrementValue:n=>`Decrement ${n}`,openTpOverlay:n=>`Open ${n} 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:n=>`Month picker${n?" overlay":""}`,yearPicker:n=>`Year picker${n?" overlay":""}`,timeOverlay:n=>`${n} overlay`,...e??{}}),Qs=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,Jh=e=>{const n=typeof e=="object"&&e,t={static:!0,solo:!1};if(!e)return{...t,count:Qs(!1)};const a=n?e:{},r=n?a.count??!0:e,s=Qs(r);return Object.assign(t,a,{count:s})},em=(e,n,t)=>e||(typeof t=="string"?t:n),tm=e=>typeof e=="boolean"?e?qs({}):!1:qs(e),am=e=>{const n={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - ",escClose:!0};return typeof e=="object"?{...n,...e??{},enabled:!0}:{...n,enabled:e}},nm=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),rm=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),sm=e=>{const n={input:!1};return typeof e=="object"?{...n,...e??{},enabled:!0}:{enabled:e,...n}},im=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,mobileBreakpoint:600,setDateOnMenuClose:!1,...e??{}}),om=e=>{const n={dates:Array.isArray(e)?e.map(t=>se(t)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...n,...e??{}}},lm=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},um=e=>{const n={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,...n,...e}:{enabled:e,...n}},cm=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},sr=(e,n,t,a)=>new Map(e.map(r=>{const s=Yr(r,n,a);return[Hr(s,t),s]})),dm=(e,n)=>e.length?new Map(e.map(t=>{const a=Yr(t.date,n);return[Hr(a,ka.DATE),t]})):null,_m=e=>{var n;const t=Xf(e.isMonthPicker,e.isYearPicker);return{minDate:hr(e.minDate,e.timezone,e.isSpecific),maxDate:hr(e.maxDate,e.timezone,e.isSpecific),disabledDates:Rn(e.disabledDates)?sr(e.disabledDates,e.timezone,t,e.isSpecific):e.disabledDates,allowedDates:Rn(e.allowedDates)?sr(e.allowedDates,e.timezone,t,e.isSpecific):null,highlight:typeof e.highlight=="object"&&Rn((n=e.highlight)==null?void 0:n.dates)?sr(e.highlight.dates,e.timezone,t):e.highlight,markers:dm(e.markers,e.timezone)}},pm=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},fm=e=>({...Object.fromEntries(Object.keys(e).map(n=>{const t=n,a=e[t],r=typeof e[t]=="string"?{[a]:!0}:Object.fromEntries(a.map(s=>[s,!0]));return[n,r]}))}),Ke=e=>{const n=()=>{const D=e.enableSeconds?":ss":"",M=e.enableMinutes?":mm":"";return e.is24?`HH${M}${D}`:`hh${M}${D} aa`},t=()=>{var D;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?n():e.weekPicker?`${((D=b.value)==null?void 0:D.type)==="iso"?"II":"ww"}-RR`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${n()}`:"MM/dd/yyyy"},a=D=>fo(D,e.enableSeconds),r=()=>S.value.enabled?e.startTime&&Array.isArray(e.startTime)?[a(e.startTime[0]),a(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?a(e.startTime):null,s=B(()=>Jh(e.multiCalendars)),i=B(()=>r()),o=B(()=>Zh(e.ariaLabels)),l=B(()=>nm(e.filters)),v=B(()=>tm(e.transitions)),m=B(()=>rm(e.actionRow)),d=B(()=>em(e.previewFormat,e.format,t())),p=B(()=>am(e.textInput)),k=B(()=>sm(e.inline)),P=B(()=>im(e.config)),R=B(()=>om(e.highlight)),b=B(()=>lm(e.weekNumbers)),_=B(()=>cm(e.timezone)),y=B(()=>pm(e.multiDates)),A=B(()=>_m({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:R.value,markers:e.markers,timezone:_.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker,isMonthPicker:e.monthPicker,isYearPicker:e.yearPicker})),S=B(()=>um(e.range)),U=B(()=>fm(e.ui));return{defaultedTransitions:v,defaultedMultiCalendars:s,defaultedStartTime:i,defaultedAriaLabels:o,defaultedFilters:l,defaultedActionRow:m,defaultedPreviewFormat:d,defaultedTextInput:p,defaultedInline:k,defaultedConfig:P,defaultedHighlight:R,defaultedWeekNumbers:b,defaultedRange:S,propDates:A,defaultedTz:_,defaultedMultiDates:y,defaultedUI:U,getDefaultPattern:t,getDefaultStartTime:r}},hm=(e,n,t)=>{const a=Y(),{defaultedTextInput:r,defaultedRange:s,defaultedTz:i,defaultedMultiDates:o,getDefaultPattern:l}=Ke(n),v=Y(""),m=Ba(n,"format"),d=Ba(n,"formatLocale");at(a,()=>{typeof n.onInternalModelChange=="function"&&e("internal-model-change",a.value,ie(!0))},{deep:!0}),at(s,(h,X)=>{h.enabled!==X.enabled&&(a.value=null)}),at(m,()=>{le()});const p=h=>i.value.timezone&&i.value.convertModel?gt(h,i.value.timezone):h,k=h=>{if(i.value.timezone&&i.value.convertModel){const X=Lf(i.value.timezone,h);return N_(h,X)}return h},P=(h,X,me=!1)=>mo(h,n.format,n.formatLocale,r.value.rangeSeparator,n.modelAuto,X??l(),me),R=h=>h?n.modelType?he(h):{hours:Yt(h),minutes:ea(h),seconds:n.enableSeconds?Da(h):0}:null,b=h=>n.modelType?he(h):{month:Ee(h),year:$e(h)},_=h=>Array.isArray(h)?o.value.enabled?h.map(X=>y(X,Nt(se(),X))):nn(()=>[Nt(se(),h[0]),h[1]?Nt(se(),h[1]):va(s.value.partialRange)],s.value.enabled):Nt(se(),+h),y=(h,X)=>(typeof h=="string"||typeof h=="number")&&n.modelType?Q(h):X,A=h=>Array.isArray(h)?[y(h[0],Jt(null,+h[0].hours,+h[0].minutes,h[0].seconds)),y(h[1],Jt(null,+h[1].hours,+h[1].minutes,h[1].seconds))]:y(h,Jt(null,h.hours,h.minutes,h.seconds)),S=h=>{const X=Fe(se(),{date:1});return Array.isArray(h)?o.value.enabled?h.map(me=>y(me,Wt(X,+me.month,+me.year))):nn(()=>[y(h[0],Wt(X,+h[0].month,+h[0].year)),y(h[1],h[1]?Wt(X,+h[1].month,+h[1].year):va(s.value.partialRange))],s.value.enabled):y(h,Wt(X,+h.month,+h.year))},U=h=>{if(Array.isArray(h))return h.map(X=>Q(X));throw new Error(Fr.dateArr("multi-dates"))},D=h=>{if(Array.isArray(h)&&s.value.enabled){const X=h[0],me=h[1];return[se(Array.isArray(X)?X[0]:null),Array.isArray(me)&&me.length?se(me[0]):null]}return se(h[0])},M=h=>n.modelAuto?Array.isArray(h)?[Q(h[0]),Q(h[1])]:n.autoApply?[Q(h)]:[Q(h),null]:Array.isArray(h)?nn(()=>h[1]?[Q(h[0]),h[1]?Q(h[1]):va(s.value.partialRange)]:[Q(h[0])],s.value.enabled):Q(h),x=()=>{Array.isArray(a.value)&&s.value.enabled&&a.value.length===1&&a.value.push(va(s.value.partialRange))},$=()=>{const h=a.value;return[he(h[0]),h[1]?he(h[1]):va(s.value.partialRange)]},u=()=>a.value[1]?$():he(lt(a.value[0])),O=()=>(a.value||[]).map(h=>he(h)),V=(h=!1)=>(h||x(),n.modelAuto?u():o.value.enabled?O():Array.isArray(a.value)?nn(()=>$(),s.value.enabled):he(lt(a.value))),ne=h=>!h||Array.isArray(h)&&!h.length?null:n.timePicker?A(lt(h)):n.monthPicker?S(lt(h)):n.yearPicker?_(lt(h)):o.value.enabled?U(lt(h)):n.weekPicker?D(lt(h)):M(lt(h)),E=h=>{const X=ne(h);br(lt(X))?(a.value=lt(X),le()):(a.value=null,v.value="")},L=()=>{const h=X=>wt(X,r.value.format);return`${h(a.value[0])} ${r.value.rangeSeparator} ${a.value[1]?h(a.value[1]):""}`},N=()=>t.value&&a.value?Array.isArray(a.value)?L():wt(a.value,r.value.format):P(a.value),J=()=>a.value?o.value.enabled?a.value.map(h=>P(h)).join("; "):r.value.enabled&&typeof r.value.format=="string"?N():P(a.value):"",le=()=>{!n.format||typeof n.format=="string"||r.value.enabled&&typeof r.value.format=="string"?v.value=J():v.value=n.format(a.value)},Q=h=>{if(n.utc){const X=new Date(h);return n.utc==="preserve"?new Date(X.getTime()+X.getTimezoneOffset()*6e4):X}return n.modelType?Bf.includes(n.modelType)?p(new Date(h)):n.modelType==="format"&&(typeof n.format=="string"||!n.format)?p(fr(h,l(),new Date,{locale:d.value})):p(fr(h,n.modelType,new Date,{locale:d.value})):p(new Date(h))},he=h=>h?n.utc?zh(h,n.utc==="preserve",n.enableSeconds):n.modelType?n.modelType==="timestamp"?+k(h):n.modelType==="iso"?k(h).toISOString():n.modelType==="format"&&(typeof n.format=="string"||!n.format)?P(k(h)):P(k(h),n.modelType,!0):k(h):"",z=(h,X=!1,me=!1)=>{if(me)return h;if(e("update:model-value",h),i.value.emitTimezone&&X){const Ge=Array.isArray(h)?h.map(K=>gt(lt(K),i.value.emitTimezone)):gt(lt(h),i.value.emitTimezone);e("update:model-timezone-value",Ge)}},ee=h=>Array.isArray(a.value)?o.value.enabled?a.value.map(X=>h(X)):[h(a.value[0]),a.value[1]?h(a.value[1]):va(s.value.partialRange)]:h(lt(a.value)),F=()=>{if(Array.isArray(a.value)){const h=Bt(a.value[0],n.weekStart),X=a.value[1]?Bt(a.value[1],n.weekStart):[];return[h.map(me=>se(me)),X.map(me=>se(me))]}return Bt(a.value,n.weekStart).map(h=>se(h))},G=(h,X)=>z(lt(ee(h)),!1,X),Z=h=>{const X=F();return h?X:e("update:model-value",F())},ie=(h=!1)=>(h||le(),n.monthPicker?G(b,h):n.timePicker?G(R,h):n.yearPicker?G($e,h):n.weekPicker?Z(h):z(V(h),!0,h));return{inputValue:v,internalModelValue:a,checkBeforeEmit:()=>a.value?s.value.enabled?s.value.partialRange?a.value.length>=1:a.value.length===2:!!a.value:!1,parseExternalModelValue:E,formatInputValue:le,emitModelValue:ie}},mm=(e,n)=>{const{defaultedFilters:t,propDates:a}=Ke(e),{validateMonthYearInRange:r}=na(e),s=(m,d)=>{let p=m;return t.value.months.includes(Ee(p))?(p=d?kt(m,1):jt(m,1),s(p,d)):p},i=(m,d)=>{let p=m;return t.value.years.includes($e(p))?(p=d?$r(m,1):Ri(m,1),i(p,d)):p},o=(m,d=!1)=>{const p=Fe(se(),{month:e.month,year:e.year});let k=m?kt(p,1):jt(p,1);e.disableYearSelect&&(k=Nt(k,e.year));let P=Ee(k),R=$e(k);t.value.months.includes(P)&&(k=s(k,m),P=Ee(k),R=$e(k)),t.value.years.includes(R)&&(k=i(k,m),R=$e(k)),r(P,R,m,e.preventMinMaxNavigation)&&l(P,R,d)},l=(m,d,p)=>{n("update-month-year",{month:m,year:d,fromNav:p})},v=B(()=>m=>ho(Fe(se(),{month:e.month,year:e.year}),a.value.maxDate,a.value.minDate,e.preventMinMaxNavigation,m));return{handleMonthYearChange:o,isDisabled:v,updateMonthYear:l}},wn={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,String],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},alwaysClearable:{type:Boolean,default:!1},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:()=>({})}},$t={...wn,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},isMobile:{type:Boolean,default:void 0}},vm=["title"],bm=["disabled"],gm=te({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...$t},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:n}){const t=n,a=e,{defaultedActionRow:r,defaultedPreviewFormat:s,defaultedMultiCalendars:i,defaultedTextInput:o,defaultedInline:l,defaultedRange:v,defaultedMultiDates:m}=Ke(a),{isTimeValid:d,isMonthValid:p}=na(a),{buildMatrix:k}=aa(),P=Y(null),R=Y(null),b=Y(!1),_=Y({}),y=Y(null),A=Y(null);Ue(()=>{a.arrowNavigation&&k([it(P),it(R)],"actionRow"),S(),window.addEventListener("resize",S)}),Ht(()=>{window.removeEventListener("resize",S)});const S=()=>{b.value=!1,setTimeout(()=>{var E,L;const N=(E=y.value)==null?void 0:E.getBoundingClientRect(),J=(L=A.value)==null?void 0:L.getBoundingClientRect();N&&J&&(_.value.maxWidth=`${J.width-N.width-20}px`),b.value=!0},0)},U=B(()=>v.value.enabled&&!v.value.partialRange&&a.internalModelValue?a.internalModelValue.length===2:!0),D=B(()=>!d.value(a.internalModelValue)||!p.value(a.internalModelValue)||!U.value),M=()=>{const E=s.value;return a.timePicker||a.monthPicker,E(lt(a.internalModelValue))},x=()=>{const E=a.internalModelValue;return i.value.count>0?`${$(E[0])} - ${$(E[1])}`:[$(E[0]),$(E[1])]},$=E=>mo(E,s.value,a.formatLocale,o.value.rangeSeparator,a.modelAuto,s.value),u=B(()=>!a.internalModelValue||!a.menuMount?"":typeof s.value=="string"?Array.isArray(a.internalModelValue)?a.internalModelValue.length===2&&a.internalModelValue[1]?x():m.value.enabled?a.internalModelValue.map(E=>`${$(E)}`):a.modelAuto?`${$(a.internalModelValue[0])}`:`${$(a.internalModelValue[0])} -`:$(a.internalModelValue):M()),O=()=>m.value.enabled?"; ":" - ",V=B(()=>Array.isArray(u.value)?u.value.join(O()):u.value),ne=()=>{d.value(a.internalModelValue)&&p.value(a.internalModelValue)&&U.value?t("select-date"):t("invalid-select")};return(E,L)=>(f(),g("div",{ref_key:"actionRowRef",ref:A,class:"dp__action_row"},[E.$slots["action-row"]?I(E.$slots,"action-row",ut(Ne({key:0},{internalModelValue:E.internalModelValue,disabled:D.value,selectDate:()=>E.$emit("select-date"),closePicker:()=>E.$emit("close-picker")}))):(f(),g(ge,{key:1},[c(r).showPreview?(f(),g("div",{key:0,class:"dp__selection_preview",title:V.value,style:mt(_.value)},[E.$slots["action-preview"]&&b.value?I(E.$slots,"action-preview",{key:0,value:E.internalModelValue}):W("",!0),!E.$slots["action-preview"]&&b.value?(f(),g(ge,{key:1},[Ye(be(V.value),1)],64)):W("",!0)],12,vm)):W("",!0),T("div",{ref_key:"actionBtnContainer",ref:y,class:"dp__action_buttons","data-dp-element":"action-row"},[E.$slots["action-buttons"]?I(E.$slots,"action-buttons",{key:0,value:E.internalModelValue}):W("",!0),E.$slots["action-buttons"]?W("",!0):(f(),g(ge,{key:1},[!c(l).enabled&&c(r).showCancel?(f(),g("button",{key:0,ref_key:"cancelButtonRef",ref:P,type:"button",class:"dp__action_button dp__action_cancel",onClick:L[0]||(L[0]=N=>E.$emit("close-picker")),onKeydown:L[1]||(L[1]=N=>c(ht)(N,()=>E.$emit("close-picker")))},be(E.cancelText),545)):W("",!0),c(r).showNow?(f(),g("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:L[2]||(L[2]=N=>E.$emit("select-now")),onKeydown:L[3]||(L[3]=N=>c(ht)(N,()=>E.$emit("select-now")))},be(E.nowButtonLabel),33)):W("",!0),c(r).showSelect?(f(),g("button",{key:2,ref_key:"selectButtonRef",ref:R,type:"button",class:"dp__action_button dp__action_select",disabled:D.value,"data-test-id":"select-button",onKeydown:L[4]||(L[4]=N=>c(ht)(N,()=>ne())),onClick:ne},be(E.selectText),41,bm)):W("",!0)],64))],512)],64))],512))}}),ym=["role","aria-label","tabindex"],km={class:"dp__selection_grid_header"},wm=["aria-selected","aria-disabled","data-test-id","onClick","onKeydown","onMouseover"],xm=["aria-label"],Ua=te({__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:n,emit:t}){const{setSelectionGrid:a,buildMultiLevelMatrix:r,setMonthPicker:s}=aa(),i=t,o=e,{defaultedAriaLabels:l,defaultedTextInput:v,defaultedConfig:m}=Ke(o),{hideNavigationButtons:d}=Tn(),p=Y(!1),k=Y(null),P=Y(null),R=Y([]),b=Y(),_=Y(null),y=Y(0),A=Y(null);Ho(()=>{k.value=null}),Ue(()=>{ct().then(()=>O()),o.noOverlayFocus||U(),S(!0)}),Ht(()=>S(!1));const S=ee=>{var F;o.arrowNavigation&&((F=o.headerRefs)!=null&&F.length?s(ee):a(ee))},U=()=>{var ee;const F=it(P);F&&(v.value.enabled||(k.value?(ee=k.value)==null||ee.focus({preventScroll:!0}):F.focus({preventScroll:!0})),p.value=F.clientHeight({dp__overlay:!0,"dp--overlay-absolute":!o.useRelative,"dp--overlay-relative":o.useRelative})),M=B(()=>o.useRelative?{height:`${o.height}px`,width:"var(--dp-menu-min-width)"}:void 0),x=B(()=>({dp__overlay_col:!0})),$=B(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:p.value,dp__button_bottom:o.isLast})),u=B(()=>{var ee,F;return{dp__overlay_container:!0,dp__container_flex:((ee=o.items)==null?void 0:ee.length)<=6,dp__container_block:((F=o.items)==null?void 0:F.length)>6}});at(()=>o.items,()=>O(!1),{deep:!0});const O=(ee=!0)=>{ct().then(()=>{const F=it(k),G=it(P),Z=it(_),ie=it(A),h=Z?Z.getBoundingClientRect().height:0;G&&(G.getBoundingClientRect().height?y.value=G.getBoundingClientRect().height-h:y.value=m.value.modeHeight-h),F&&ie&&ee&&(ie.scrollTop=F.offsetTop-ie.offsetTop-(y.value/2-F.getBoundingClientRect().height)-h)})},V=ee=>{ee.disabled||i("selected",ee.value)},ne=()=>{i("toggle"),i("reset-flow")},E=()=>{o.escClose&&ne()},L=(ee,F,G,Z)=>{ee&&((F.active||F.value===o.focusValue)&&(k.value=ee),o.arrowNavigation&&(Array.isArray(R.value[G])?R.value[G][Z]=ee:R.value[G]=[ee],N()))},N=()=>{var ee,F;const G=(ee=o.headerRefs)!=null&&ee.length?[o.headerRefs].concat(R.value):R.value.concat([o.skipButtonRef?[]:[_.value]]);r(lt(G),(F=o.headerRefs)!=null&&F.length?"monthPicker":"selectionGrid")},J=ee=>{o.arrowNavigation||Zt(ee,m.value,!0)},le=ee=>{b.value=ee,i("hover-value",ee)},Q=()=>{if(ne(),!o.isLast){const ee=mr(o.menuWrapRef??null,"action-row");if(ee){const F=Bi(ee);F==null||F.focus()}}},he=ee=>{switch(ee.key){case ze.esc:return E();case ze.arrowLeft:return J(ee);case ze.arrowRight:return J(ee);case ze.arrowUp:return J(ee);case ze.arrowDown:return J(ee);default:return}},z=ee=>{if(ee.key===ze.enter)return ne();if(ee.key===ze.tab)return Q()};return n({focusGrid:U}),(ee,F)=>{var G;return f(),g("div",{ref_key:"gridWrapRef",ref:P,class:ye(D.value),style:mt(M.value),role:ee.useRelative?void 0:"dialog","aria-label":ee.overlayLabel,tabindex:ee.useRelative?void 0:"0",onKeydown:he,onClick:F[0]||(F[0]=ca(()=>{},["prevent"]))},[T("div",{ref_key:"containerRef",ref:A,class:ye(u.value),style:mt({"--dp-overlay-height":`${y.value}px`}),role:"grid"},[T("div",km,[I(ee.$slots,"header")]),ee.$slots.overlay?I(ee.$slots,"overlay",{key:0}):(f(!0),g(ge,{key:1},Se(ee.items,(Z,ie)=>(f(),g("div",{key:ie,class:ye(["dp__overlay_row",{dp__flex_row:ee.items.length>=3}]),role:"row"},[(f(!0),g(ge,null,Se(Z,(h,X)=>(f(),g("div",{key:h.value,ref_for:!0,ref:me=>L(me,h,ie,X),role:"gridcell",class:ye(x.value),"aria-selected":h.active||void 0,"aria-disabled":h.disabled||void 0,tabindex:"0","data-test-id":h.text,onClick:ca(me=>V(h),["prevent"]),onKeydown:me=>c(ht)(me,()=>V(h),!0),onMouseover:me=>le(h.value)},[T("div",{class:ye(h.className)},[ee.$slots.item?I(ee.$slots,"item",{key:0,item:h}):W("",!0),ee.$slots.item?W("",!0):(f(),g(ge,{key:1},[Ye(be(h.text),1)],64))],2)],42,wm))),128))],2))),128))],6),ee.$slots["button-icon"]?Na((f(),g("button",{key:0,ref_key:"toggleButton",ref:_,type:"button","aria-label":(G=c(l))==null?void 0:G.toggleOverlay,class:ye($.value),tabindex:"0",onClick:ne,onKeydown:z},[I(ee.$slots,"button-icon")],42,xm)),[[sn,!c(d)(ee.hideNavigation,ee.type)]]):W("",!0)],46,ym)}}}),Dm=["data-dp-mobile"],xn=te({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean},isMobile:{type:Boolean}},setup(e){const n=e,t=B(()=>n.multiCalendars>0?[...Array(n.multiCalendars).keys()]:[0]),a=B(()=>({dp__instance_calendar:n.multiCalendars>0}));return(r,s)=>(f(),g("div",{class:ye({dp__menu_inner:!r.stretch,"dp--menu--inner-stretched":r.stretch,dp__flex_display:r.multiCalendars>0,"dp--flex-display-collapsed":r.collapse}),"data-dp-mobile":r.isMobile},[(f(!0),g(ge,null,Se(t.value,(i,o)=>(f(),g("div",{key:i,class:ye(a.value)},[I(r.$slots,"default",{instance:i,index:o})],2))),128))],10,Dm))}}),Tm=["data-dp-element","aria-label","aria-disabled"],La=te({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:n}){const t=n,a=Y(null);return Ue(()=>t("set-ref",a)),(r,s)=>(f(),g("button",{ref_key:"elRef",ref:a,type:"button","data-dp-element":r.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":r.ariaLabel,"aria-disabled":r.disabled||void 0,onClick:s[0]||(s[0]=i=>r.$emit("activate")),onKeydown:s[1]||(s[1]=i=>c(ht)(i,()=>r.$emit("activate"),!0))},[T("span",{class:ye(["dp__inner_nav",{dp__inner_nav_disabled:r.disabled}])},[I(r.$slots,"default")],2)],40,Tm))}}),Mm=["aria-label","data-test-id"],go=te({__name:"YearModePicker",props:{...$t,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:n}){const t=n,a=e,{showRightIcon:r,showLeftIcon:s}=Tn(),{defaultedConfig:i,defaultedMultiCalendars:o,defaultedAriaLabels:l,defaultedTransitions:v,defaultedUI:m}=Ke(a),{showTransition:d,transitionName:p}=Ga(v),k=Y(!1),P=(_=!1,y)=>{k.value=!k.value,t("toggle-year-picker",{flow:_,show:y})},R=_=>{k.value=!1,t("year-select",_)},b=(_=!1)=>{t("handle-year",_)};return(_,y)=>{var A,S,U,D,M;return f(),g(ge,null,[T("div",{class:ye(["dp--year-mode-picker",{"dp--hidden-el":k.value}])},[c(s)(c(o),e.instance)?(f(),de(La,{key:0,ref:"mpPrevIconRef","aria-label":(A=c(l))==null?void 0:A.prevYear,disabled:e.isDisabled(!1),class:ye((S=c(m))==null?void 0:S.navBtnPrev),onActivate:y[0]||(y[0]=x=>b(!1))},{default:C(()=>[_.$slots["arrow-left"]?I(_.$slots,"arrow-left",{key:0}):W("",!0),_.$slots["arrow-left"]?W("",!0):(f(),de(c(Nr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):W("",!0),T("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(U=c(l))==null?void 0:U.openYearsOverlay}`,"data-test-id":`year-mode-btn-${e.instance}`,onClick:y[1]||(y[1]=()=>P(!1)),onKeydown:y[2]||(y[2]=oi(()=>P(!1),["enter"]))},[_.$slots.year?I(_.$slots,"year",{key:0,year:e.year}):W("",!0),_.$slots.year?W("",!0):(f(),g(ge,{key:1},[Ye(be(e.year),1)],64))],40,Mm),c(r)(c(o),e.instance)?(f(),de(La,{key:1,ref:"mpNextIconRef","aria-label":(D=c(l))==null?void 0:D.nextYear,disabled:e.isDisabled(!0),class:ye((M=c(m))==null?void 0:M.navBtnNext),onActivate:y[3]||(y[3]=x=>b(!0))},{default:C(()=>[_.$slots["arrow-right"]?I(_.$slots,"arrow-right",{key:0}):W("",!0),_.$slots["arrow-right"]?W("",!0):(f(),de(c(Vr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):W("",!0)],2),re(Ft,{name:c(p)(e.showYearPicker),css:c(d)},{default:C(()=>{var x,$;return[e.showYearPicker?(f(),de(Ua,{key:0,items:e.items,"text-input":_.textInput,"esc-close":_.escClose,config:_.config,"is-last":_.autoApply&&!c(i).keepActionRow,"hide-navigation":_.hideNavigation,"aria-labels":_.ariaLabels,"overlay-label":($=(x=c(l))==null?void 0:x.yearPicker)==null?void 0:$.call(x,!0),type:"year",onToggle:P,onSelected:y[4]||(y[4]=u=>R(u))},ot({"button-icon":C(()=>[_.$slots["calendar-icon"]?I(_.$slots,"calendar-icon",{key:0}):W("",!0),_.$slots["calendar-icon"]?W("",!0):(f(),de(c(Sa),{key:1}))]),_:2},[_.$slots["year-overlay-value"]?{name:"item",fn:C(({item:u})=>[I(_.$slots,"year-overlay-value",{text:u.text,value:u.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):W("",!0)]}),_:3},8,["name","css"])],64)}}}),Qr=(e,n,t)=>{if(n.value&&Array.isArray(n.value))if(n.value.some(a=>Re(e,a))){const a=n.value.filter(r=>!Re(r,e));n.value=a.length?a:null}else(t&&+t>n.value.length||!t)&&n.value.push(e);else n.value=[e]},Zr=(e,n,t)=>{let a=e.value?e.value.slice():[];return a.length===2&&a[1]!==null&&(a=[]),a.length?(qe(n,a[0])?a.unshift(n):a[1]=n,t("range-end",n)):(a=[n],t("range-start",n)),a},Dn=(e,n,t,a)=>{e&&(e[0]&&e[1]&&t&&n("auto-apply"),e[0]&&!e[1]&&a&&t&&n("auto-apply"))},yo=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(n=>gt(se(n),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=gt(se(e.value),e.timezone))},ko=(e,n,t,a)=>Array.isArray(n.value)&&(n.value.length===2||n.value.length===1&&a.value.partialRange)?a.value.fixedStart&&(Je(e,n.value[0])||Re(e,n.value[0]))?[n.value[0],e]:a.value.fixedEnd&&(qe(e,n.value[1])||Re(e,n.value[1]))?[e,n.value[1]]:(t("invalid-fixed-range",e),n.value):[],wo=({multiCalendars:e,range:n,highlight:t,propDates:a,calendars:r,modelValue:s,props:i,filters:o,year:l,month:v,emit:m})=>{const d=B(()=>jr(i.yearRange,i.locale,i.reverseYears)),p=Y([!1]),k=B(()=>(u,O)=>{const V=Fe(Mt(new Date),{month:v.value(u),year:l.value(u)}),ne=O?Sr(V):xa(V);return ho(ne,a.value.maxDate,a.value.minDate,i.preventMinMaxNavigation,O)}),P=()=>Array.isArray(s.value)&&e.value.solo&&s.value[1],R=()=>{for(let u=0;u{if(!u)return R();const O=Fe(se(),r.value[u]);return r.value[0].year=$e(Ri(O,e.value.count-1)),R()},_=(u,O)=>{const V=Y_(O,u);return n.value.showLastInRange&&V>1?O:u},y=u=>i.focusStartDate||e.value.solo?u[0]:u[1]?_(u[0],u[1]):u[0],A=()=>{if(s.value){const u=Array.isArray(s.value)?y(s.value):s.value;r.value[0]={month:Ee(u),year:$e(u)}}},S=()=>{A(),e.value.count&&R()};at(s,(u,O)=>{i.isTextInputDate&&JSON.stringify(u??{})!==JSON.stringify(O??{})&&S()}),Ue(()=>{S()});const U=(u,O)=>{r.value[O].year=u,m("update-month-year",{instance:O,year:u,month:r.value[O].month}),e.value.count&&!e.value.solo&&b(O)},D=B(()=>u=>Ma(d.value,O=>{var V;const ne=l.value(u)===O.value,E=Wa(O.value,$a(a.value.minDate),$a(a.value.maxDate))||((V=o.value.years)==null?void 0:V.includes(l.value(u))),L=qr(t.value,O.value);return{active:ne,disabled:E,highlighted:L}})),M=(u,O)=>{U(u,O),$(O)},x=(u,O=!1)=>{if(!k.value(u,O)){const V=O?l.value(u)+1:l.value(u)-1;U(V,u)}},$=(u,O=!1,V)=>{O||m("reset-flow"),V!==void 0?p.value[u]=V:p.value[u]=!p.value[u],p.value[u]?m("overlay-toggle",{open:!0,overlay:pt.year}):(m("overlay-closed"),m("overlay-toggle",{open:!1,overlay:pt.year}))};return{isDisabled:k,groupedYears:D,showYearPicker:p,selectYear:U,toggleYearPicker:$,handleYearSelect:M,handleYear:x}},Pm=(e,n)=>{const{defaultedMultiCalendars:t,defaultedAriaLabels:a,defaultedTransitions:r,defaultedConfig:s,defaultedRange:i,defaultedHighlight:o,propDates:l,defaultedTz:v,defaultedFilters:m,defaultedMultiDates:d}=Ke(e),p=()=>{e.isTextInputDate&&S($e(se(e.startDate)),0)},{modelValue:k,year:P,month:R,calendars:b}=Ka(e,n,p),_=B(()=>Vi(e.formatLocale,e.locale,e.monthNameFormat)),y=Y(null),{checkMinMaxRange:A}=na(e),{selectYear:S,groupedYears:U,showYearPicker:D,toggleYearPicker:M,handleYearSelect:x,handleYear:$,isDisabled:u}=wo({modelValue:k,multiCalendars:t,range:i,highlight:o,calendars:b,year:P,propDates:l,month:R,filters:m,props:e,emit:n});Ue(()=>{e.startDate&&(k.value&&e.focusStartDate||!k.value)&&S($e(se(e.startDate)),0)});const O=G=>G?{month:Ee(G),year:$e(G)}:{month:null,year:null},V=()=>k.value?Array.isArray(k.value)?k.value.map(G=>O(G)):O(k.value):O(),ne=(G,Z)=>{const ie=b.value[G],h=V();return Array.isArray(h)?h.some(X=>X.year===(ie==null?void 0:ie.year)&&X.month===Z):(ie==null?void 0:ie.year)===h.year&&Z===h.month},E=(G,Z,ie)=>{var h,X;const me=V();return Array.isArray(me)?P.value(Z)===((h=me[ie])==null?void 0:h.year)&&G===((X=me[ie])==null?void 0:X.month):!1},L=(G,Z)=>{if(i.value.enabled){const ie=V();if(Array.isArray(k.value)&&Array.isArray(ie)){const h=E(G,Z,0)||E(G,Z,1),X=Wt(Mt(se()),G,P.value(Z));return ja(k.value,y.value,X)&&!h}return!1}return!1},N=B(()=>G=>Ma(_.value,Z=>{var ie;const h=ne(G,Z.value),X=Wa(Z.value,co(P.value(G),l.value.minDate),_o(P.value(G),l.value.maxDate))||qh(l.value.disabledDates,P.value(G),Z.value)||((ie=m.value.months)==null?void 0:ie.includes(Z.value))||!Qh(l.value.allowedDates,P.value(G),Z.value),me=L(Z.value,G),Ge=vo(o.value,Z.value,P.value(G));return{active:h,disabled:X,isBetween:me,highlighted:Ge}})),J=(G,Z)=>Wt(Mt(se()),G,P.value(Z)),le=(G,Z)=>{const ie=k.value?k.value:Mt(new Date);k.value=Wt(ie,G,P.value(Z)),n("auto-apply"),n("update-flow-step")},Q=(G,Z)=>{const ie=J(G,Z);i.value.fixedEnd||i.value.fixedStart?k.value=ko(ie,k,n,i):k.value?A(ie,k.value)&&(k.value=Zr(k,J(G,Z),n)):k.value=[J(G,Z)],ct().then(()=>{Dn(k.value,n,e.autoApply,e.modelAuto)})},he=(G,Z)=>{Qr(J(G,Z),k,d.value.limit),n("auto-apply",!0)},z=(G,Z)=>(b.value[Z].month=G,F(Z,b.value[Z].year,G),d.value.enabled?he(G,Z):i.value.enabled?Q(G,Z):le(G,Z)),ee=(G,Z)=>{S(G,Z),F(Z,G,null)},F=(G,Z,ie)=>{let h=ie;if(!h&&h!==0){const X=V();h=Array.isArray(X)?X[G].month:X.month}n("update-month-year",{instance:G,year:Z,month:h})};return{groupedMonths:N,groupedYears:U,year:P,isDisabled:u,defaultedMultiCalendars:t,defaultedAriaLabels:a,defaultedTransitions:r,defaultedConfig:s,showYearPicker:D,modelValue:k,presetDate:(G,Z)=>{yo({value:G,modelValue:k,range:i.value.enabled,timezone:Z?void 0:v.value.timezone}),n("auto-apply")},setHoverDate:(G,Z)=>{y.value=J(G,Z)},selectMonth:z,selectYear:ee,toggleYearPicker:M,handleYearSelect:x,handleYear:$,getModelMonthYear:V}},$m=te({compatConfig:{MODE:3},__name:"MonthPicker",props:{...$t},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:n,emit:t}){const a=t,r=ta(),s=yt(r,"yearMode"),i=e;Ue(()=>{i.shadow||a("mount",null)});const{groupedMonths:o,groupedYears:l,year:v,isDisabled:m,defaultedMultiCalendars:d,defaultedConfig:p,showYearPicker:k,modelValue:P,presetDate:R,setHoverDate:b,selectMonth:_,selectYear:y,toggleYearPicker:A,handleYearSelect:S,handleYear:U,getModelMonthYear:D}=Pm(i,a);return n({getSidebarProps:()=>({modelValue:P,year:v,getModelMonthYear:D,selectMonth:_,selectYear:y,handleYear:U}),presetDate:R,toggleYearPicker:M=>A(0,M)}),(M,x)=>(f(),de(xn,{"multi-calendars":c(d).count,collapse:M.collapse,stretch:"","is-mobile":M.isMobile},{default:C(({instance:$})=>[M.$slots["top-extra"]?I(M.$slots,"top-extra",{key:0,value:M.internalModelValue}):W("",!0),M.$slots["month-year"]?I(M.$slots,"month-year",ut(Ne({key:1},{year:c(v),months:c(o)($),years:c(l)($),selectMonth:c(_),selectYear:c(y),instance:$}))):(f(),de(Ua,{key:2,items:c(o)($),"arrow-navigation":M.arrowNavigation,"is-last":M.autoApply&&!c(p).keepActionRow,"esc-close":M.escClose,height:c(p).modeHeight,config:M.config,"no-overlay-focus":!!(M.noOverlayFocus||M.textInput),"use-relative":"",type:"month",onSelected:u=>c(_)(u,$),onHoverValue:u=>c(b)(u,$)},ot({header:C(()=>[re(go,Ne(M.$props,{items:c(l)($),instance:$,"show-year-picker":c(k)[$],year:c(v)($),"is-disabled":u=>c(m)($,u),onHandleYear:u=>c(U)($,u),onYearSelect:u=>c(S)(u,$),onToggleYearPicker:u=>c(A)($,u==null?void 0:u.flow,u==null?void 0:u.show)}),ot({_:2},[Se(c(s),(u,O)=>({name:u,fn:C(V=>[I(M.$slots,u,ut(vt(V)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[M.$slots["month-overlay-value"]?{name:"item",fn:C(({item:u})=>[I(M.$slots,"month-overlay-value",{text:u.text,value:u.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","is-mobile"]))}}),Sm=(e,n)=>{const t=()=>{e.isTextInputDate&&(m.value=$e(se(e.startDate)))},{modelValue:a}=Ka(e,n,t),r=Y(null),{defaultedHighlight:s,defaultedMultiDates:i,defaultedFilters:o,defaultedRange:l,propDates:v}=Ke(e),m=Y();Ue(()=>{e.startDate&&(a.value&&e.focusStartDate||!a.value)&&(m.value=$e(se(e.startDate)))});const d=_=>Array.isArray(a.value)?a.value.some(y=>$e(y)===_):a.value?$e(a.value)===_:!1,p=_=>l.value.enabled&&Array.isArray(a.value)?ja(a.value,r.value,b(_)):!1,k=_=>v.value.allowedDates instanceof Map?v.value.allowedDates.size?v.value.allowedDates.has(`${_}`):!1:!0,P=_=>v.value.disabledDates instanceof Map?v.value.disabledDates.size?v.value.disabledDates.has(`${_}`):!1:!0,R=B(()=>Ma(jr(e.yearRange,e.locale,e.reverseYears),_=>{const y=d(_.value),A=Wa(_.value,$a(v.value.minDate),$a(v.value.maxDate))||o.value.years.includes(_.value)||!k(_.value)||P(_.value),S=p(_.value)&&!y,U=qr(s.value,_.value);return{active:y,disabled:A,isBetween:S,highlighted:U}})),b=_=>Nt(Mt(xa(new Date)),_);return{groupedYears:R,modelValue:a,focusYear:m,setHoverValue:_=>{r.value=Nt(Mt(new Date),_)},selectYear:_=>{var y;if(n("update-month-year",{instance:0,year:_}),i.value.enabled)return a.value?Array.isArray(a.value)&&(((y=a.value)==null?void 0:y.map(A=>$e(A))).includes(_)?a.value=a.value.filter(A=>$e(A)!==_):a.value.push(Nt(dt(se()),_))):a.value=[Nt(dt(xa(se())),_)],n("auto-apply",!0);l.value.enabled?(a.value=Zr(a,b(_),n),ct().then(()=>{Dn(a.value,n,e.autoApply,e.modelAuto)})):(a.value=b(_),n("auto-apply"))}}},Em=te({compatConfig:{MODE:3},__name:"YearPicker",props:{...$t},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:n,emit:t}){const a=t,r=e,{groupedYears:s,modelValue:i,focusYear:o,selectYear:l,setHoverValue:v}=Sm(r,a),{defaultedConfig:m}=Ke(r);return n({getSidebarProps:()=>({modelValue:i,selectYear:l})}),(d,p)=>(f(),g("div",null,[d.$slots["top-extra"]?I(d.$slots,"top-extra",{key:0,value:d.internalModelValue}):W("",!0),d.$slots["month-year"]?I(d.$slots,"month-year",ut(Ne({key:1},{years:c(s),selectYear:c(l)}))):(f(),de(Ua,{key:2,items:c(s),"is-last":d.autoApply&&!c(m).keepActionRow,height:c(m).modeHeight,config:d.config,"no-overlay-focus":!!(d.noOverlayFocus||d.textInput),"focus-value":c(o),type:"year","use-relative":"",onSelected:c(l),onHoverValue:c(v)},ot({_:2},[d.$slots["year-overlay-value"]?{name:"item",fn:C(({item:k})=>[I(d.$slots,"year-overlay-value",{text:k.text,value:k.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),Om={key:0,class:"dp__time_input"},Am=["data-compact","data-collapsed"],Im=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],Cm=["aria-label","disabled","data-test-id","onKeydown","onClick"],Rm=["data-test-id","aria-label","onKeydown","onClick","onMousedown"],Nm={key:0},Vm=["aria-label","data-compact"],Lm=te({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...$t},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:n,emit:t}){const a=t,r=e,{setTimePickerElements:s,setTimePickerBackRef:i}=aa(),{defaultedAriaLabels:o,defaultedTransitions:l,defaultedFilters:v,defaultedConfig:m,defaultedRange:d,defaultedMultiCalendars:p}=Ke(r),{transitionName:k,showTransition:P}=Ga(l),R=Fa({hours:!1,minutes:!1,seconds:!1}),b=Y("AM"),_=Y(null),y=Y([]),A=Y(),S=Y(!1);Ue(()=>{a("mounted")});const U=w=>Fe(new Date,{hours:w.hours,minutes:w.minutes,seconds:r.enableSeconds?w.seconds:0,milliseconds:0}),D=B(()=>w=>Q(w,r[w])||x(w,r[w])),M=B(()=>({hours:r.hours,minutes:r.minutes,seconds:r.seconds})),x=(w,ce)=>d.value.enabled&&!d.value.disableTimeRangeValidation?!r.validateTime(w,ce):!1,$=(w,ce)=>{if(d.value.enabled&&!d.value.disableTimeRangeValidation){const ve=ce?+r[`${w}Increment`]:-+r[`${w}Increment`],_e=r[w]+ve;return!r.validateTime(w,_e)}return!1},u=B(()=>w=>!G(+r[w]+ +r[`${w}Increment`],w)||$(w,!0)),O=B(()=>w=>!G(+r[w]-+r[`${w}Increment`],w)||$(w,!1)),V=(w,ce)=>mi(Fe(se(),w),ce),ne=(w,ce)=>Rf(Fe(se(),w),ce),E=B(()=>({dp__time_col:!0,dp__time_col_block:!r.timePickerInline,dp__time_col_reg_block:!r.enableSeconds&&r.is24&&!r.timePickerInline,dp__time_col_reg_inline:!r.enableSeconds&&r.is24&&r.timePickerInline,dp__time_col_reg_with_button:!r.enableSeconds&&!r.is24,dp__time_col_sec:r.enableSeconds&&r.is24,dp__time_col_sec_with_button:r.enableSeconds&&!r.is24})),L=B(()=>r.timePickerInline&&d.value.enabled&&!p.value.count),N=B(()=>{const w=[{type:"hours"}];return r.enableMinutes&&w.push({type:"",separator:!0},{type:"minutes"}),r.enableSeconds&&w.push({type:"",separator:!0},{type:"seconds"}),w}),J=B(()=>N.value.filter(w=>!w.separator)),le=B(()=>w=>{if(w==="hours"){const ce=Ge(+r.hours);return{text:ce<10?`0${ce}`:`${ce}`,value:ce}}return{text:r[w]<10?`0${r[w]}`:`${r[w]}`,value:r[w]}}),Q=(w,ce)=>{var ve;if(!r.disabledTimesConfig)return!1;const _e=r.disabledTimesConfig(r.order,w==="hours"?ce:void 0);return _e[w]?!!((ve=_e[w])!=null&&ve.includes(ce)):!0},he=(w,ce)=>ce!=="hours"||b.value==="AM"?w:w+12,z=w=>{const ce=r.is24?24:12,ve=w==="hours"?ce:60,_e=+r[`${w}GridIncrement`],Ce=w==="hours"&&!r.is24?_e:0,Ae=[];for(let H=Ce;H({active:!1,disabled:v.value.times[w].includes(H.value)||!G(H.value,w)||Q(w,H.value)||x(w,H.value)}))},ee=w=>w>=0?w:59,F=w=>w>=0?w:23,G=(w,ce)=>{const ve=r.minTime?U(Qn(r.minTime)):null,_e=r.maxTime?U(Qn(r.maxTime)):null,Ce=U(Qn(M.value,ce,ce==="minutes"||ce==="seconds"?ee(w):F(w)));return ve&&_e?(Ta(Ce,_e)||ia(Ce,_e))&&(da(Ce,ve)||ia(Ce,ve)):ve?da(Ce,ve)||ia(Ce,ve):_e?Ta(Ce,_e)||ia(Ce,_e):!0},Z=w=>r[`no${w[0].toUpperCase()+w.slice(1)}Overlay`],ie=w=>{Z(w)||(R[w]=!R[w],R[w]?(S.value=!0,a("overlay-opened",w)):(S.value=!1,a("overlay-closed",w)))},h=w=>w==="hours"?Yt:w==="minutes"?ea:Da,X=()=>{A.value&&clearTimeout(A.value)},me=(w,ce=!0,ve)=>{const _e=ce?V:ne,Ce=ce?+r[`${w}Increment`]:-+r[`${w}Increment`];G(+r[w]+Ce,w)&&a(`update:${w}`,h(w)(_e({[w]:+r[w]},{[w]:+r[`${w}Increment`]}))),!(ve!=null&&ve.keyboard)&&m.value.timeArrowHoldThreshold&&(A.value=setTimeout(()=>{me(w,ce)},m.value.timeArrowHoldThreshold))},Ge=w=>r.is24?w:(w>=12?b.value="PM":b.value="AM",jf(w)),K=()=>{b.value==="PM"?(b.value="AM",a("update:hours",r.hours-12)):(b.value="PM",a("update:hours",r.hours+12)),a("am-pm-change",b.value)},Oe=w=>{R[w]=!0},ae=(w,ce,ve)=>{if(w&&r.arrowNavigation){Array.isArray(y.value[ce])?y.value[ce][ve]=w:y.value[ce]=[w];const _e=y.value.reduce((Ce,Ae)=>Ae.map((H,oe)=>[...Ce[oe]||[],Ae[oe]]),[]);i(r.closeTimePickerBtn),_.value&&(_e[1]=_e[1].concat(_.value)),s(_e,r.order)}},pe=(w,ce)=>(ie(w),a(`update:${w}`,ce));return n({openChildCmp:Oe}),(w,ce)=>{var ve;return w.disabled?W("",!0):(f(),g("div",Om,[(f(!0),g(ge,null,Se(N.value,(_e,Ce)=>{var Ae,H,oe;return f(),g("div",{key:Ce,class:ye(E.value),"data-compact":L.value&&!w.enableSeconds,"data-collapsed":L.value&&w.enableSeconds},[_e.separator?(f(),g(ge,{key:0},[S.value?W("",!0):(f(),g(ge,{key:0},[Ye(":")],64))],64)):(f(),g(ge,{key:1},[T("button",{ref_for:!0,ref:De=>ae(De,Ce,0),type:"button",class:ye({dp__btn:!0,dp__inc_dec_button:!w.timePickerInline,dp__inc_dec_button_inline:w.timePickerInline,dp__tp_inline_btn_top:w.timePickerInline,dp__inc_dec_button_disabled:u.value(_e.type),"dp--hidden-el":S.value}),"data-test-id":`${_e.type}-time-inc-btn-${r.order}`,"aria-label":(Ae=c(o))==null?void 0:Ae.incrementValue(_e.type),tabindex:"0",onKeydown:De=>c(ht)(De,()=>me(_e.type,!0,{keyboard:!0}),!0),onClick:De=>c(m).timeArrowHoldThreshold?void 0:me(_e.type,!0),onMousedown:De=>c(m).timeArrowHoldThreshold?me(_e.type,!0):void 0,onMouseup:X},[r.timePickerInline?(f(),g(ge,{key:1},[w.$slots["tp-inline-arrow-up"]?I(w.$slots,"tp-inline-arrow-up",{key:0}):(f(),g(ge,{key:1},[ce[2]||(ce[2]=T("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),ce[3]||(ce[3]=T("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(f(),g(ge,{key:0},[w.$slots["arrow-up"]?I(w.$slots,"arrow-up",{key:0}):W("",!0),w.$slots["arrow-up"]?W("",!0):(f(),de(c(Br),{key:1}))],64))],42,Im),T("button",{ref_for:!0,ref:De=>ae(De,Ce,1),type:"button","aria-label":`${le.value(_e.type).text}-${(H=c(o))==null?void 0:H.openTpOverlay(_e.type)}`,class:ye({dp__time_display:!0,dp__time_display_block:!w.timePickerInline,dp__time_display_inline:w.timePickerInline,"dp--time-invalid":D.value(_e.type),"dp--time-overlay-btn":!D.value(_e.type),"dp--hidden-el":S.value}),disabled:Z(_e.type),tabindex:"0","data-test-id":`${_e.type}-toggle-overlay-btn-${r.order}`,onKeydown:De=>c(ht)(De,()=>ie(_e.type),!0),onClick:De=>ie(_e.type)},[w.$slots[_e.type]?I(w.$slots,_e.type,{key:0,text:le.value(_e.type).text,value:le.value(_e.type).value}):W("",!0),w.$slots[_e.type]?W("",!0):(f(),g(ge,{key:1},[Ye(be(le.value(_e.type).text),1)],64))],42,Cm),T("button",{ref_for:!0,ref:De=>ae(De,Ce,2),type:"button",class:ye({dp__btn:!0,dp__inc_dec_button:!w.timePickerInline,dp__inc_dec_button_inline:w.timePickerInline,dp__tp_inline_btn_bottom:w.timePickerInline,dp__inc_dec_button_disabled:O.value(_e.type),"dp--hidden-el":S.value}),"data-test-id":`${_e.type}-time-dec-btn-${r.order}`,"aria-label":(oe=c(o))==null?void 0:oe.decrementValue(_e.type),tabindex:"0",onKeydown:De=>c(ht)(De,()=>me(_e.type,!1,{keyboard:!0}),!0),onClick:De=>c(m).timeArrowHoldThreshold?void 0:me(_e.type,!1),onMousedown:De=>c(m).timeArrowHoldThreshold?me(_e.type,!1):void 0,onMouseup:X},[r.timePickerInline?(f(),g(ge,{key:1},[w.$slots["tp-inline-arrow-down"]?I(w.$slots,"tp-inline-arrow-down",{key:0}):(f(),g(ge,{key:1},[ce[4]||(ce[4]=T("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),ce[5]||(ce[5]=T("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(f(),g(ge,{key:0},[w.$slots["arrow-down"]?I(w.$slots,"arrow-down",{key:0}):W("",!0),w.$slots["arrow-down"]?W("",!0):(f(),de(c(Wr),{key:1}))],64))],42,Rm)],64))],10,Am)}),128)),w.is24?W("",!0):(f(),g("div",Nm,[w.$slots["am-pm-button"]?I(w.$slots,"am-pm-button",{key:0,toggle:K,value:b.value}):W("",!0),w.$slots["am-pm-button"]?W("",!0):(f(),g("button",{key:1,ref_key:"amPmButton",ref:_,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(ve=c(o))==null?void 0:ve.amPmButton,tabindex:"0","data-compact":L.value,onClick:K,onKeydown:ce[0]||(ce[0]=_e=>c(ht)(_e,()=>K(),!0))},be(b.value),41,Vm))])),(f(!0),g(ge,null,Se(J.value,(_e,Ce)=>(f(),de(Ft,{key:Ce,name:c(k)(R[_e.type]),css:c(P)},{default:C(()=>{var Ae,H;return[R[_e.type]?(f(),de(Ua,{key:0,items:z(_e.type),"is-last":w.autoApply&&!c(m).keepActionRow,"esc-close":w.escClose,type:_e.type,"text-input":w.textInput,config:w.config,"arrow-navigation":w.arrowNavigation,"aria-labels":w.ariaLabels,"overlay-label":(H=(Ae=c(o)).timeOverlay)==null?void 0:H.call(Ae,_e.type),onSelected:oe=>pe(_e.type,oe),onToggle:oe=>ie(_e.type),onResetFlow:ce[1]||(ce[1]=oe=>w.$emit("reset-flow"))},ot({"button-icon":C(()=>[w.$slots["clock-icon"]?I(w.$slots,"clock-icon",{key:0}):W("",!0),w.$slots["clock-icon"]?W("",!0):(f(),de(bt(w.timePickerInline?c(Sa):c(Lr)),{key:1}))]),_:2},[w.$slots[`${_e.type}-overlay-value`]?{name:"item",fn:C(({item:oe})=>[I(w.$slots,`${_e.type}-overlay-value`,{text:oe.text,value:oe.value})]),key:"0"}:void 0,w.$slots[`${_e.type}-overlay-header`]?{name:"header",fn:C(()=>[I(w.$slots,`${_e.type}-overlay-header`,{toggle:()=>ie(_e.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):W("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),Bm=["data-dp-mobile"],Wm=["aria-label","tabindex"],Ym=["role","aria-label","tabindex"],jm=["aria-label"],xo=te({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...$t},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:n,emit:t}){const a=t,r=e,{buildMatrix:s,setTimePicker:i}=aa(),o=ta(),{defaultedTransitions:l,defaultedAriaLabels:v,defaultedTextInput:m,defaultedConfig:d,defaultedRange:p}=Ke(r),{transitionName:k,showTransition:P}=Ga(l),{hideNavigationButtons:R}=Tn(),b=Y(null),_=Y(null),y=Y([]),A=Y(null),S=Y(!1);Ue(()=>{a("mount"),!r.timePicker&&r.arrowNavigation?s([it(b.value)],"time"):i(!0,r.timePicker)});const U=B(()=>p.value.enabled&&r.modelAuto?Li(r.internalModelValue):!0),D=Y(!1),M=Q=>({hours:Array.isArray(r.hours)?r.hours[Q]:r.hours,minutes:Array.isArray(r.minutes)?r.minutes[Q]:r.minutes,seconds:Array.isArray(r.seconds)?r.seconds[Q]:r.seconds}),x=B(()=>{const Q=[];if(p.value.enabled)for(let he=0;he<2;he++)Q.push(M(he));else Q.push(M(0));return Q}),$=(Q,he=!1,z="")=>{he||a("reset-flow"),D.value=Q,a(Q?"overlay-opened":"overlay-closed",pt.time),r.arrowNavigation&&i(Q),ct(()=>{z!==""&&y.value[0]&&y.value[0].openChildCmp(z)})},u=B(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:r.autoApply&&!d.value.keepActionRow})),O=yt(o,"timePicker"),V=(Q,he,z)=>p.value.enabled?he===0?[Q,x.value[1][z]]:[x.value[0][z],Q]:Q,ne=Q=>{a("update:hours",Q)},E=Q=>{a("update:minutes",Q)},L=Q=>{a("update:seconds",Q)},N=()=>{if(A.value&&!m.value.enabled&&!r.noOverlayFocus){const Q=Bi(A.value);Q&&Q.focus({preventScroll:!0})}},J=Q=>{S.value=!1,a("overlay-closed",Q)},le=Q=>{S.value=!0,a("overlay-opened",Q)};return n({toggleTimePicker:$}),(Q,he)=>{var z;return f(),g("div",{class:"dp--tp-wrap","data-dp-mobile":Q.isMobile},[!Q.timePicker&&!Q.timePickerInline?Na((f(),g("button",{key:0,ref_key:"openTimePickerBtn",ref:b,type:"button",class:ye({...u.value,"dp--hidden-el":D.value}),"aria-label":(z=c(v))==null?void 0:z.openTimePicker,tabindex:Q.noOverlayFocus?void 0:0,"data-test-id":"open-time-picker-btn",onKeydown:he[0]||(he[0]=ee=>c(ht)(ee,()=>$(!0))),onClick:he[1]||(he[1]=ee=>$(!0))},[Q.$slots["clock-icon"]?I(Q.$slots,"clock-icon",{key:0}):W("",!0),Q.$slots["clock-icon"]?W("",!0):(f(),de(c(Lr),{key:1}))],42,Wm)),[[sn,!c(R)(Q.hideNavigation,"time")]]):W("",!0),re(Ft,{name:c(k)(D.value),css:c(P)&&!Q.timePickerInline},{default:C(()=>{var ee,F;return[D.value||Q.timePicker||Q.timePickerInline?(f(),g("div",{key:0,ref_key:"overlayRef",ref:A,role:Q.timePickerInline?void 0:"dialog",class:ye({dp__overlay:!Q.timePickerInline,"dp--overlay-absolute":!r.timePicker&&!Q.timePickerInline,"dp--overlay-relative":r.timePicker}),style:mt(Q.timePicker?{height:`${c(d).modeHeight}px`}:void 0),"aria-label":(ee=c(v))==null?void 0:ee.timePicker,tabindex:Q.timePickerInline?void 0:0},[T("div",{class:ye(Q.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[Q.$slots["time-picker-overlay"]?I(Q.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:ne,setMinutes:E,setSeconds:L}):W("",!0),Q.$slots["time-picker-overlay"]?W("",!0):(f(),g("div",{key:1,class:ye(Q.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(f(!0),g(ge,null,Se(x.value,(G,Z)=>Na((f(),de(Lm,Ne({key:Z,ref_for:!0},{...Q.$props,order:Z,hours:G.hours,minutes:G.minutes,seconds:G.seconds,closeTimePickerBtn:_.value,disabledTimesConfig:e.disabledTimesConfig,disabled:Z===0?c(p).fixedStart:c(p).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:y,"validate-time":(ie,h)=>e.validateTime(ie,V(h,Z,ie)),"onUpdate:hours":ie=>ne(V(ie,Z,"hours")),"onUpdate:minutes":ie=>E(V(ie,Z,"minutes")),"onUpdate:seconds":ie=>L(V(ie,Z,"seconds")),onMounted:N,onOverlayClosed:J,onOverlayOpened:le,onAmPmChange:he[2]||(he[2]=ie=>Q.$emit("am-pm-change",ie))}),ot({_:2},[Se(c(O),(ie,h)=>({name:ie,fn:C(X=>[I(Q.$slots,ie,Ne({ref_for:!0},X))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[sn,Z===0?!0:U.value]])),128))],2)),!Q.timePicker&&!Q.timePickerInline?Na((f(),g("button",{key:2,ref_key:"closeTimePickerBtn",ref:_,type:"button",class:ye({...u.value,"dp--hidden-el":S.value}),"aria-label":(F=c(v))==null?void 0:F.closeTimePicker,tabindex:"0",onKeydown:he[3]||(he[3]=G=>c(ht)(G,()=>$(!1))),onClick:he[4]||(he[4]=G=>$(!1))},[Q.$slots["calendar-icon"]?I(Q.$slots,"calendar-icon",{key:0}):W("",!0),Q.$slots["calendar-icon"]?W("",!0):(f(),de(c(Sa),{key:1}))],42,jm)),[[sn,!c(R)(Q.hideNavigation,"time")]]):W("",!0)],2)],14,Ym)):W("",!0)]}),_:3},8,["name","css"])],8,Bm)}}}),Do=(e,n,t,a)=>{const{defaultedRange:r}=Ke(e),s=(A,S)=>Array.isArray(n[A])?n[A][S]:n[A],i=A=>e.enableSeconds?Array.isArray(n.seconds)?n.seconds[A]:n.seconds:0,o=(A,S)=>A?S!==void 0?Jt(A,s("hours",S),s("minutes",S),i(S)):Jt(A,n.hours,n.minutes,i()):Ci(se(),i(S)),l=(A,S)=>{n[A]=S},v=B(()=>e.modelAuto&&r.value.enabled?Array.isArray(t.value)?t.value.length>1:!1:r.value.enabled),m=(A,S)=>{const U=Object.fromEntries(Object.keys(n).map(D=>D===A?[D,S]:[D,n[D]].slice()));if(v.value&&!r.value.disableTimeRangeValidation){const D=x=>t.value?Jt(t.value[x],U.hours[x],U.minutes[x],U.seconds[x]):null,M=x=>Ii(t.value[x],0);return!(Re(D(0),D(1))&&(da(D(0),M(1))||Ta(D(1),M(0))))}return!0},d=(A,S)=>{m(A,S)&&(l(A,S),a&&a())},p=A=>{d("hours",A)},k=A=>{d("minutes",A)},P=A=>{d("seconds",A)},R=(A,S,U,D)=>{S&&p(A),!S&&!U&&k(A),U&&P(A),t.value&&D(t.value)},b=A=>{if(A){const S=Array.isArray(A),U=S?[+A[0].hours,+A[1].hours]:+A.hours,D=S?[+A[0].minutes,+A[1].minutes]:+A.minutes,M=S?[+A[0].seconds,+A[1].seconds]:+A.seconds;l("hours",U),l("minutes",D),e.enableSeconds&&l("seconds",M)}},_=(A,S)=>{const U={hours:Array.isArray(n.hours)?n.hours[A]:n.hours,disabledArr:[]};return(S||S===0)&&(U.hours=S),Array.isArray(e.disabledTimes)&&(U.disabledArr=r.value.enabled&&Array.isArray(e.disabledTimes[A])?e.disabledTimes[A]:e.disabledTimes),U},y=B(()=>(A,S)=>{var U;if(Array.isArray(e.disabledTimes)){const{disabledArr:D,hours:M}=_(A,S),x=D.filter($=>+$.hours===M);return((U=x[0])==null?void 0:U.minutes)==="*"?{hours:[M],minutes:void 0,seconds:void 0}:{hours:[],minutes:(x==null?void 0:x.map($=>+$.minutes))??[],seconds:(x==null?void 0:x.map($=>$.seconds?+$.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:l,updateHours:p,updateMinutes:k,updateSeconds:P,getSetDateTime:o,updateTimeValues:R,getSecondsValue:i,assignStartTime:b,validateTime:m,disabledTimesConfig:y}},Fm=(e,n)=>{const t=()=>{e.isTextInputDate&&S()},{modelValue:a,time:r}=Ka(e,n,t),{defaultedStartTime:s,defaultedRange:i,defaultedTz:o}=Ke(e),{updateTimeValues:l,getSetDateTime:v,setTime:m,assignStartTime:d,disabledTimesConfig:p,validateTime:k}=Do(e,r,a,P);function P(){n("update-flow-step")}const R=D=>{const{hours:M,minutes:x,seconds:$}=D;return{hours:+M,minutes:+x,seconds:$?+$:0}},b=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const M=R(e.startTime[0]),x=R(e.startTime[1]);return[Fe(se(),M),Fe(se(),x)]}const D=R(e.startTime);return Fe(se(),D)}return i.value.enabled?[null,null]:null},_=()=>{if(i.value.enabled){const[D,M]=b();a.value=[gt(v(D,0),o.value.timezone),gt(v(M,1),o.value.timezone)]}else a.value=gt(v(b()),o.value.timezone)},y=D=>Array.isArray(D)?[la(se(D[0])),la(se(D[1]))]:[la(D??se())],A=(D,M,x)=>{m("hours",D),m("minutes",M),m("seconds",e.enableSeconds?x:0)},S=()=>{const[D,M]=y(a.value);return i.value.enabled?A([D.hours,M.hours],[D.minutes,M.minutes],[D.seconds,M.seconds]):A(D.hours,D.minutes,D.seconds)};Ue(()=>{if(!e.shadow)return d(s.value),a.value?S():_()});const U=()=>{Array.isArray(a.value)?a.value=a.value.map((D,M)=>D&&v(D,M)):a.value=v(a.value),n("time-update")};return{modelValue:a,time:r,disabledTimesConfig:p,updateTime:(D,M=!0,x=!1)=>{l(D,M,x,U)},validateTime:k}},Hm=te({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...$t},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:n,emit:t}){const a=t,r=e,s=ta(),i=yt(s,"timePicker"),o=Y(null),{time:l,modelValue:v,disabledTimesConfig:m,updateTime:d,validateTime:p}=Fm(r,a);return Ue(()=>{r.shadow||a("mount",null)}),n({getSidebarProps:()=>({modelValue:v,time:l,updateTime:d}),toggleTimePicker:(k,P=!1,R="")=>{var b;(b=o.value)==null||b.toggleTimePicker(k,P,R)}}),(k,P)=>(f(),de(xn,{"multi-calendars":0,stretch:"","is-mobile":k.isMobile},{default:C(()=>[re(xo,Ne({ref_key:"tpRef",ref:o},k.$props,{hours:c(l).hours,minutes:c(l).minutes,seconds:c(l).seconds,"internal-model-value":k.internalModelValue,"disabled-times-config":c(m),"validate-time":c(p),"onUpdate:hours":P[0]||(P[0]=R=>c(d)(R)),"onUpdate:minutes":P[1]||(P[1]=R=>c(d)(R,!1)),"onUpdate:seconds":P[2]||(P[2]=R=>c(d)(R,!1,!0)),onAmPmChange:P[3]||(P[3]=R=>k.$emit("am-pm-change",R)),onResetFlow:P[4]||(P[4]=R=>k.$emit("reset-flow")),onOverlayClosed:P[5]||(P[5]=R=>k.$emit("overlay-toggle",{open:!1,overlay:R})),onOverlayOpened:P[6]||(P[6]=R=>k.$emit("overlay-toggle",{open:!0,overlay:R}))}),ot({_:2},[Se(c(i),(R,b)=>({name:R,fn:C(_=>[I(k.$slots,R,ut(vt(_)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3},8,["is-mobile"]))}}),zm={class:"dp--header-wrap"},Um={key:0,class:"dp__month_year_wrap"},Gm={key:0},Km={class:"dp__month_year_wrap"},Xm=["data-dp-element","aria-label","data-test-id","onClick","onKeydown"],qm=te({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...$t},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:n,emit:t}){const a=t,r=e,{defaultedTransitions:s,defaultedAriaLabels:i,defaultedMultiCalendars:o,defaultedFilters:l,defaultedConfig:v,defaultedHighlight:m,propDates:d,defaultedUI:p}=Ke(r),{transitionName:k,showTransition:P}=Ga(s),{buildMatrix:R}=aa(),{handleMonthYearChange:b,isDisabled:_,updateMonthYear:y}=mm(r,a),{showLeftIcon:A,showRightIcon:S}=Tn(),U=Y(!1),D=Y(!1),M=Y(!1),x=Y([null,null,null,null]);Ue(()=>{a("mount")});const $=F=>({get:()=>r[F],set:G=>{const Z=F===Dt.month?Dt.year:Dt.month;a("update-month-year",{[F]:G,[Z]:r[Z]}),F===Dt.month?J(!0):le(!0)}}),u=B($(Dt.month)),O=B($(Dt.year)),V=B(()=>F=>({month:r.month,year:r.year,items:F===Dt.month?r.months:r.years,instance:r.instance,updateMonthYear:y,toggle:F===Dt.month?J:le})),ne=B(()=>r.months.find(G=>G.value===r.month)||{text:"",value:0}),E=B(()=>Ma(r.months,F=>{const G=r.month===F.value,Z=Wa(F.value,co(r.year,d.value.minDate),_o(r.year,d.value.maxDate))||l.value.months.includes(F.value),ie=vo(m.value,F.value,r.year);return{active:G,disabled:Z,highlighted:ie}})),L=B(()=>Ma(r.years,F=>{const G=r.year===F.value,Z=Wa(F.value,$a(d.value.minDate),$a(d.value.maxDate))||l.value.years.includes(F.value),ie=qr(m.value,F.value);return{active:G,disabled:Z,highlighted:ie}})),N=(F,G,Z)=>{Z!==void 0?F.value=Z:F.value=!F.value,F.value?(M.value=!0,a("overlay-opened",G)):(M.value=!1,a("overlay-closed",G))},J=(F=!1,G)=>{Q(F),N(U,pt.month,G)},le=(F=!1,G)=>{Q(F),N(D,pt.year,G)},Q=F=>{F||a("reset-flow")},he=(F,G)=>{r.arrowNavigation&&(x.value[G]=it(F),R(x.value,"monthYear"))},z=B(()=>{var F,G,Z,ie,h,X;return[{type:Dt.month,index:1,toggle:J,modelValue:u.value,updateModelValue:me=>u.value=me,text:ne.value.text,showSelectionGrid:U.value,items:E.value,ariaLabel:(F=i.value)==null?void 0:F.openMonthsOverlay,overlayLabel:((Z=(G=i.value).monthPicker)==null?void 0:Z.call(G,!0))??void 0},{type:Dt.year,index:2,toggle:le,modelValue:O.value,updateModelValue:me=>O.value=me,text:Wi(r.year,r.locale),showSelectionGrid:D.value,items:L.value,ariaLabel:(ie=i.value)==null?void 0:ie.openYearsOverlay,overlayLabel:((X=(h=i.value).yearPicker)==null?void 0:X.call(h,!0))??void 0}]}),ee=B(()=>r.disableYearSelect?[z.value[0]]:r.yearFirst?[...z.value].reverse():z.value);return n({toggleMonthPicker:J,toggleYearPicker:le,handleMonthYearChange:b}),(F,G)=>{var Z,ie,h,X,me,Ge;return f(),g("div",zm,[F.$slots["month-year"]?(f(),g("div",Um,[I(F.$slots,"month-year",ut(vt({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:c(y),handleMonthYearChange:c(b),instance:e.instance,isDisabled:c(_)})))])):(f(),g(ge,{key:1},[F.$slots["top-extra"]?(f(),g("div",Gm,[I(F.$slots,"top-extra",{value:F.internalModelValue})])):W("",!0),T("div",Km,[c(A)(c(o),e.instance)&&!F.vertical?(f(),de(La,{key:0,"aria-label":(Z=c(i))==null?void 0:Z.prevMonth,disabled:c(_)(!1),class:ye((ie=c(p))==null?void 0:ie.navBtnPrev),"el-name":"action-prev",onActivate:G[0]||(G[0]=K=>c(b)(!1,!0)),onSetRef:G[1]||(G[1]=K=>he(K,0))},{default:C(()=>[F.$slots["arrow-left"]?I(F.$slots,"arrow-left",{key:0}):W("",!0),F.$slots["arrow-left"]?W("",!0):(f(),de(c(Nr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):W("",!0),T("div",{class:ye(["dp__month_year_wrap",{dp__year_disable_select:F.disableYearSelect}])},[(f(!0),g(ge,null,Se(ee.value,(K,Oe)=>(f(),g(ge,{key:K.type},[T("button",{ref_for:!0,ref:ae=>he(ae,Oe+1),type:"button","data-dp-element":`overlay-${K.type}`,class:ye(["dp__btn dp__month_year_select",{"dp--hidden-el":M.value}]),"aria-label":`${K.text}-${K.ariaLabel}`,"data-test-id":`${K.type}-toggle-overlay-${e.instance}`,onClick:K.toggle,onKeydown:ae=>c(ht)(ae,()=>K.toggle(),!0)},[F.$slots[K.type]?I(F.$slots,K.type,{key:0,text:K.text,value:r[K.type]}):W("",!0),F.$slots[K.type]?W("",!0):(f(),g(ge,{key:1},[Ye(be(K.text),1)],64))],42,Xm),re(Ft,{name:c(k)(K.showSelectionGrid),css:c(P)},{default:C(()=>[K.showSelectionGrid?(f(),de(Ua,{key:0,items:K.items,"arrow-navigation":F.arrowNavigation,"hide-navigation":F.hideNavigation,"is-last":F.autoApply&&!c(v).keepActionRow,"skip-button-ref":!1,config:F.config,type:K.type,"header-refs":[],"esc-close":F.escClose,"menu-wrap-ref":F.menuWrapRef,"text-input":F.textInput,"aria-labels":F.ariaLabels,"overlay-label":K.overlayLabel,onSelected:K.updateModelValue,onToggle:K.toggle},ot({"button-icon":C(()=>[F.$slots["calendar-icon"]?I(F.$slots,"calendar-icon",{key:0}):W("",!0),F.$slots["calendar-icon"]?W("",!0):(f(),de(c(Sa),{key:1}))]),_:2},[F.$slots[`${K.type}-overlay-value`]?{name:"item",fn:C(({item:ae})=>[I(F.$slots,`${K.type}-overlay-value`,{text:ae.text,value:ae.value})]),key:"0"}:void 0,F.$slots[`${K.type}-overlay`]?{name:"overlay",fn:C(()=>[I(F.$slots,`${K.type}-overlay`,Ne({ref_for:!0},V.value(K.type)))]),key:"1"}:void 0,F.$slots[`${K.type}-overlay-header`]?{name:"header",fn:C(()=>[I(F.$slots,`${K.type}-overlay-header`,{toggle:K.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"])):W("",!0)]),_:2},1032,["name","css"])],64))),128))],2),c(A)(c(o),e.instance)&&F.vertical?(f(),de(La,{key:1,"aria-label":(h=c(i))==null?void 0:h.prevMonth,"el-name":"action-prev",disabled:c(_)(!1),class:ye((X=c(p))==null?void 0:X.navBtnPrev),onActivate:G[2]||(G[2]=K=>c(b)(!1,!0))},{default:C(()=>[F.$slots["arrow-up"]?I(F.$slots,"arrow-up",{key:0}):W("",!0),F.$slots["arrow-up"]?W("",!0):(f(),de(c(Br),{key:1}))]),_:3},8,["aria-label","disabled","class"])):W("",!0),c(S)(c(o),e.instance)?(f(),de(La,{key:2,ref:"rightIcon","el-name":"action-next",disabled:c(_)(!0),"aria-label":(me=c(i))==null?void 0:me.nextMonth,class:ye((Ge=c(p))==null?void 0:Ge.navBtnNext),onActivate:G[3]||(G[3]=K=>c(b)(!0,!0)),onSetRef:G[4]||(G[4]=K=>he(K,F.disableYearSelect?2:3))},{default:C(()=>[F.$slots[F.vertical?"arrow-down":"arrow-right"]?I(F.$slots,F.vertical?"arrow-down":"arrow-right",{key:0}):W("",!0),F.$slots[F.vertical?"arrow-down":"arrow-right"]?W("",!0):(f(),de(bt(F.vertical?c(Wr):c(Vr)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):W("",!0)])],64))])}}}),Qm={class:"dp__calendar_header",role:"row"},Zm={key:0,class:"dp__calendar_header_item",role:"gridcell"},Jm=["aria-label"],ev={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},tv={class:"dp__cell_inner"},av=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test-id","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],nv=te({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...$t},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:n,emit:t}){const a=t,r=e,{buildMultiLevelMatrix:s}=aa(),{defaultedTransitions:i,defaultedConfig:o,defaultedAriaLabels:l,defaultedMultiCalendars:v,defaultedWeekNumbers:m,defaultedMultiDates:d,defaultedUI:p}=Ke(r),k=Y(null),P=Y({bottom:"",left:"",transform:""}),R=Y([]),b=Y(null),_=Y(!0),y=Y(""),A=Y({startX:0,endX:0,startY:0,endY:0}),S=Y([]),U=Y({left:"50%"}),D=Y(!1),M=B(()=>r.calendar?r.calendar(r.mappedDates):r.mappedDates),x=B(()=>r.dayNames?Array.isArray(r.dayNames)?r.dayNames:r.dayNames(r.locale,+r.weekStart):Yf(r.formatLocale,r.locale,+r.weekStart));Ue(()=>{a("mount",{cmp:"calendar",refs:R}),o.value.noSwipe||b.value&&(b.value.addEventListener("touchstart",he,{passive:!1}),b.value.addEventListener("touchend",z,{passive:!1}),b.value.addEventListener("touchmove",ee,{passive:!1})),r.monthChangeOnScroll&&b.value&&b.value.addEventListener("wheel",Z,{passive:!1})});const $=K=>K?r.vertical?"vNext":"next":r.vertical?"vPrevious":"previous",u=(K,Oe)=>{if(r.transitions){const ae=dt(Wt(se(),r.month,r.year));y.value=Je(dt(Wt(se(),K,Oe)),ae)?i.value[$(!0)]:i.value[$(!1)],_.value=!1,ct(()=>{_.value=!0})}},O=B(()=>({...p.value.calendar??{}})),V=B(()=>K=>{const Oe=Ff(K);return{dp__marker_dot:Oe.type==="dot",dp__marker_line:Oe.type==="line"}}),ne=B(()=>K=>Re(K,k.value)),E=B(()=>({dp__calendar:!0,dp__calendar_next:v.value.count>0&&r.instance!==0})),L=B(()=>K=>r.hideOffsetDates?K.current:!0),N=async(K,Oe)=>{const{width:ae,height:pe}=K.getBoundingClientRect();k.value=Oe.value;let w={left:`${ae/2}px`},ce=-50;if(await ct(),S.value[0]){const{left:ve,width:_e}=S.value[0].getBoundingClientRect();ve<0&&(w={left:"0"},ce=0,U.value.left=`${ae/2}px`),window.innerWidth{var pe,w,ce;const ve=it(R.value[Oe][ae]);ve&&((pe=K.marker)!=null&&pe.customPosition&&(ce=(w=K.marker)==null?void 0:w.tooltip)!=null&&ce.length?P.value=K.marker.customPosition(ve):await N(ve,K),a("tooltip-open",K.marker))},le=async(K,Oe,ae)=>{var pe,w;if(D.value&&d.value.enabled&&d.value.dragSelect)return a("select-date",K);if(a("set-hover-date",K),(w=(pe=K.marker)==null?void 0:pe.tooltip)!=null&&w.length){if(r.hideOffsetDates&&!K.current)return;await J(K,Oe,ae)}},Q=K=>{k.value&&(k.value=null,P.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),a("tooltip-close",K.marker))},he=K=>{A.value.startX=K.changedTouches[0].screenX,A.value.startY=K.changedTouches[0].screenY},z=K=>{A.value.endX=K.changedTouches[0].screenX,A.value.endY=K.changedTouches[0].screenY,F()},ee=K=>{r.vertical&&!r.inline&&K.preventDefault()},F=()=>{const K=r.vertical?"Y":"X";Math.abs(A.value[`start${K}`]-A.value[`end${K}`])>10&&a("handle-swipe",A.value[`start${K}`]>A.value[`end${K}`]?"right":"left")},G=(K,Oe,ae)=>{K&&(Array.isArray(R.value[Oe])?R.value[Oe][ae]=K:R.value[Oe]=[K]),r.arrowNavigation&&s(R.value,"calendar")},Z=K=>{r.monthChangeOnScroll&&(K.preventDefault(),a("handle-scroll",K))},ie=K=>m.value.type==="local"?Ar(K.value,{weekStartsOn:+r.weekStart}):m.value.type==="iso"?Er(K.value):typeof m.value.type=="function"?m.value.type(K.value):"",h=K=>{const Oe=K[0];return m.value.hideOnOffsetDates?K.some(ae=>ae.current)?ie(Oe):"":ie(Oe)},X=(K,Oe,ae=!0)=>{!ae&&Kf()||(!d.value.enabled||o.value.allowPreventDefault)&&(Zt(K,o.value),a("select-date",Oe))},me=K=>{Zt(K,o.value)},Ge=K=>{d.value.enabled&&d.value.dragSelect?(D.value=!0,a("select-date",K)):d.value.enabled&&a("select-date",K)};return n({triggerTransition:u}),(K,Oe)=>(f(),g("div",{class:ye(E.value)},[T("div",{ref_key:"calendarWrapRef",ref:b,class:ye(O.value),role:"grid"},[T("div",Qm,[K.weekNumbers?(f(),g("div",Zm,be(K.weekNumName),1)):W("",!0),(f(!0),g(ge,null,Se(x.value,(ae,pe)=>{var w,ce;return f(),g("div",{key:pe,class:"dp__calendar_header_item",role:"gridcell","data-test-id":"calendar-header","aria-label":(ce=(w=c(l))==null?void 0:w.weekDay)==null?void 0:ce.call(w,pe)},[K.$slots["calendar-header"]?I(K.$slots,"calendar-header",{key:0,day:ae,index:pe}):W("",!0),K.$slots["calendar-header"]?W("",!0):(f(),g(ge,{key:1},[Ye(be(ae),1)],64))],8,Jm)}),128))]),Oe[2]||(Oe[2]=T("div",{class:"dp__calendar_header_separator"},null,-1)),re(Ft,{name:y.value,css:!!K.transitions},{default:C(()=>[_.value?(f(),g("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:Oe[1]||(Oe[1]=ae=>D.value=!1)},[(f(!0),g(ge,null,Se(M.value,(ae,pe)=>(f(),g("div",{key:pe,class:"dp__calendar_row",role:"row"},[K.weekNumbers?(f(),g("div",ev,[T("div",tv,be(h(ae.days)),1)])):W("",!0),(f(!0),g(ge,null,Se(ae.days,(w,ce)=>{var ve,_e,Ce;return f(),g("div",{id:c(gr)(w.value),ref_for:!0,ref:Ae=>G(Ae,pe,ce),key:ce+pe,role:"gridcell",class:"dp__calendar_item","aria-pressed":(w.classData.dp__active_date||w.classData.dp__range_start||w.classData.dp__range_start)??void 0,"aria-disabled":w.classData.dp__cell_disabled||void 0,"aria-label":(_e=(ve=c(l))==null?void 0:ve.day)==null?void 0:_e.call(ve,w),tabindex:!w.current&&K.hideOffsetDates?void 0:0,"data-test-id":c(gr)(w.value),onClick:ca(Ae=>X(Ae,w),["prevent"]),onTouchend:Ae=>X(Ae,w,!1),onKeydown:Ae=>c(ht)(Ae,()=>K.$emit("select-date",w)),onMouseenter:Ae=>le(w,pe,ce),onMouseleave:Ae=>Q(w),onMousedown:Ae=>Ge(w),onMouseup:Oe[0]||(Oe[0]=Ae=>D.value=!1)},[T("div",{class:ye(["dp__cell_inner",w.classData])},[K.$slots.day&&L.value(w)?I(K.$slots,"day",{key:0,day:+w.text,date:w.value}):W("",!0),K.$slots.day?W("",!0):(f(),g(ge,{key:1},[Ye(be(w.text),1)],64)),w.marker&&L.value(w)?(f(),g(ge,{key:2},[K.$slots.marker?I(K.$slots,"marker",{key:0,marker:w.marker,day:+w.text,date:w.value}):(f(),g("div",{key:1,class:ye(V.value(w.marker)),style:mt(w.marker.color?{backgroundColor:w.marker.color}:{})},null,6))],64)):W("",!0),ne.value(w.value)?(f(),g("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:S,class:"dp__marker_tooltip",style:mt(P.value)},[(Ce=w.marker)!=null&&Ce.tooltip?(f(),g("div",{key:0,class:"dp__tooltip_content",onClick:me},[(f(!0),g(ge,null,Se(w.marker.tooltip,(Ae,H)=>(f(),g("div",{key:H,class:"dp__tooltip_text"},[K.$slots["marker-tooltip"]?I(K.$slots,"marker-tooltip",{key:0,tooltip:Ae,day:w.value}):W("",!0),K.$slots["marker-tooltip"]?W("",!0):(f(),g(ge,{key:1},[T("div",{class:"dp__tooltip_mark",style:mt(Ae.color?{backgroundColor:Ae.color}:{})},null,4),T("div",null,be(Ae.text),1)],64))]))),128)),T("div",{class:"dp__arrow_bottom_tp",style:mt(U.value)},null,4)])):W("",!0)],4)):W("",!0)],2)],40,av)}),128))]))),128))],32)):W("",!0)]),_:3},8,["name","css"])],2)],2))}}),Zs=e=>Array.isArray(e),rv=(e,n,t,a)=>{const r=Y([]),s=Y(new Date),i=Y(),o=()=>z(e.isTextInputDate),{modelValue:l,calendars:v,time:m,today:d}=Ka(e,n,o),{defaultedMultiCalendars:p,defaultedStartTime:k,defaultedRange:P,defaultedConfig:R,defaultedTz:b,propDates:_,defaultedMultiDates:y}=Ke(e),{validateMonthYearInRange:A,isDisabled:S,isDateRangeAllowed:U,checkMinMaxRange:D}=na(e),{updateTimeValues:M,getSetDateTime:x,setTime:$,assignStartTime:u,validateTime:O,disabledTimesConfig:V}=Do(e,m,l,a),ne=B(()=>j=>v.value[j]?v.value[j].month:0),E=B(()=>j=>v.value[j]?v.value[j].year:0),L=j=>!R.value.keepViewOnOffsetClick||j?!0:!i.value,N=(j,ue,Me,q=!1)=>{var fe,we;L(q)&&(v.value[j]||(v.value[j]={month:0,year:0}),v.value[j].month=hs(ue)?(fe=v.value[j])==null?void 0:fe.month:ue,v.value[j].year=hs(Me)?(we=v.value[j])==null?void 0:we.year:Me)},J=()=>{e.autoApply&&n("select-date")},le=()=>{k.value&&u(k.value)};Ue(()=>{e.shadow||(l.value||(Oe(),le()),z(!0),e.focusStartDate&&e.startDate&&Oe())});const Q=B(()=>{var j;return(j=e.flow)!=null&&j.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),he=()=>{e.autoApply&&Q.value&&n("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},z=(j=!1)=>{if(l.value)return Array.isArray(l.value)?(r.value=l.value,X(j)):G(l.value,j);if(p.value.count&&j&&!e.startDate)return F(se(),j)},ee=()=>Array.isArray(l.value)&&P.value.enabled?Ee(l.value[0])===Ee(l.value[1]??l.value[0]):!1,F=(j=new Date,ue=!1)=>{if((!p.value.count||!p.value.static||ue)&&N(0,Ee(j),$e(j)),p.value.count&&(!l.value||ee()||!p.value.solo)&&(!p.value.solo||ue))for(let Me=1;Me{F(j),$("hours",Yt(j)),$("minutes",ea(j)),$("seconds",Da(j)),p.value.count&&ue&&K()},Z=j=>{if(p.value.count){if(p.value.solo)return 0;const ue=Ee(j[0]),Me=Ee(j[1]);return Math.abs(Me-ue){j[1]&&P.value.showLastInRange?F(j[Z(j)],ue):F(j[0],ue);const Me=(q,fe)=>[q(j[0]),j[1]?q(j[1]):m[fe][1]];$("hours",Me(Yt,"hours")),$("minutes",Me(ea,"minutes")),$("seconds",Me(Da,"seconds"))},h=(j,ue)=>{if((P.value.enabled||e.weekPicker)&&!y.value.enabled)return ie(j,ue);if(y.value.enabled&&ue){const Me=j[j.length-1];return G(Me,ue)}},X=j=>{const ue=l.value;h(ue,j),p.value.count&&p.value.solo&&K()},me=(j,ue)=>{const Me=Fe(se(),{month:ne.value(ue),year:E.value(ue)}),q=j<0?kt(Me,1):jt(Me,1);A(Ee(q),$e(q),j<0,e.preventMinMaxNavigation)&&(N(ue,Ee(q),$e(q)),n("update-month-year",{instance:ue,month:Ee(q),year:$e(q)}),p.value.count&&!p.value.solo&&Ge(ue),t())},Ge=j=>{for(let ue=j-1;ue>=0;ue--){const Me=jt(Fe(se(),{month:ne.value(ue+1),year:E.value(ue+1)}),1);N(ue,Ee(Me),$e(Me))}for(let ue=j+1;ue<=p.value.count-1;ue++){const Me=kt(Fe(se(),{month:ne.value(ue-1),year:E.value(ue-1)}),1);N(ue,Ee(Me),$e(Me))}},K=()=>{if(Array.isArray(l.value)&&l.value.length===2){const j=se(se(l.value[1]?l.value[1]:kt(l.value[0],1))),[ue,Me]=[Ee(l.value[0]),$e(l.value[0])],[q,fe]=[Ee(l.value[1]),$e(l.value[1])];(ue!==q||ue===q&&Me!==fe)&&p.value.solo&&N(1,Ee(j),$e(j))}else l.value&&!Array.isArray(l.value)&&(N(0,Ee(l.value),$e(l.value)),F(se()))},Oe=()=>{e.startDate&&(N(0,Ee(se(e.startDate)),$e(se(e.startDate))),p.value.count&&Ge(0))},ae=(j,ue)=>{if(e.monthChangeOnScroll){const Me=new Date().getTime()-s.value.getTime(),q=Math.abs(j.deltaY);let fe=500;q>1&&(fe=100),q>100&&(fe=0),Me>fe&&(s.value=new Date,me(e.monthChangeOnScroll!=="inverse"?-j.deltaY:j.deltaY,ue))}},pe=(j,ue,Me=!1)=>{e.monthChangeOnArrows&&e.vertical===Me&&w(j,ue)},w=(j,ue)=>{me(j==="right"?-1:1,ue)},ce=j=>{if(_.value.markers)return pn(j.value,_.value.markers)},ve=(j,ue)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[j==0,!0];case"fair":return[j==0||ue>j,!0];case"append":return[!1,!1];default:return[!1,!1]}},_e=(j,ue,Me,q)=>{if(e.sixWeeks&&j.length<6){const fe=6-j.length,we=(ue.getDay()+7-q)%7,Et=6-(Me.getDay()+7-q)%7,[xt,fa]=ve(we,Et);for(let Oa=1;Oa<=fe;Oa++)if(fa?!!(Oa%2)==xt:xt){const Ut=j[0].days[0],In=Ce(rt(Ut.value,-7),Ee(ue));j.unshift({days:In})}else{const Ut=j[j.length-1],In=Ut.days[Ut.days.length-1],Mo=Ce(rt(In.value,1),Ee(ue));j.push({days:Mo})}}return j},Ce=(j,ue)=>{const Me=se(j),q=[];for(let fe=0;fe<7;fe++){const we=rt(Me,fe),Et=Ee(we)!==ue;q.push({text:e.hideOffsetDates&&Et?"":we.getDate(),value:we,current:!Et,classData:{}})}return q},Ae=(j,ue)=>{const Me=[],q=new Date(ue,j),fe=new Date(ue,j+1,0),we=e.weekStart,Et=Pt(q,{weekStartsOn:we}),xt=fa=>{const Oa=Ce(fa,j);if(Me.push({days:Oa}),!Me[Me.length-1].days.some(Ut=>Re(dt(Ut.value),dt(fe)))){const Ut=rt(fa,7);xt(Ut)}};return xt(Et),_e(Me,q,fe,we)},H=j=>{const ue=Jt(se(j.value),m.hours,m.minutes,nt());n("date-update",ue),y.value.enabled?Qr(ue,l,y.value.limit):l.value=ue,a(),ct().then(()=>{he()})},oe=j=>P.value.noDisabledRange?po(r.value[0],j).some(ue=>S(ue)):!1,De=()=>{r.value=l.value?l.value.slice():[],r.value.length===2&&!(P.value.fixedStart||P.value.fixedEnd)&&(r.value=[])},st=(j,ue)=>{const Me=[se(j.value),rt(se(j.value),+P.value.autoRange)];U(Me)?(ue&&St(j.value),r.value=Me):n("invalid-date",j.value)},St=j=>{const ue=Ee(se(j)),Me=$e(se(j));if(N(0,ue,Me),p.value.count>0)for(let q=1;q{if(oe(j.value)||!D(j.value,l.value,P.value.fixedStart?0:1))return n("invalid-date",j.value);r.value=ko(se(j.value),l,n,P)},Lt=(j,ue)=>{if(De(),P.value.autoRange)return st(j,ue);if(P.value.fixedStart||P.value.fixedEnd)return Te(j);r.value[0]?D(se(j.value),l.value)&&!oe(j.value)?qe(se(j.value),se(r.value[0]))?(r.value.unshift(se(j.value)),n("range-end",r.value[0])):(r.value[1]=se(j.value),n("range-end",r.value[1])):(e.autoApply&&n("auto-apply-invalid",j.value),n("invalid-date",j.value)):(r.value[0]=se(j.value),n("range-start",r.value[0]))},nt=(j=!0)=>e.enableSeconds?Array.isArray(m.seconds)?j?m.seconds[0]:m.seconds[1]:m.seconds:0,Ea=j=>{r.value[j]=Jt(r.value[j],m.hours[j],m.minutes[j],nt(j!==1))},Mn=()=>{var j,ue;r.value[0]&&r.value[1]&&+((j=r.value)==null?void 0:j[0])>+((ue=r.value)==null?void 0:ue[1])&&(r.value.reverse(),n("range-start",r.value[0]),n("range-end",r.value[1]))},Xa=()=>{r.value.length&&(r.value[0]&&!r.value[1]?Ea(0):(Ea(0),Ea(1),a()),Mn(),l.value=r.value.slice(),Dn(r.value,n,e.autoApply,e.modelAuto))},Pn=(j,ue=!1)=>{if(S(j.value)||!j.current&&e.hideOffsetDates)return n("invalid-date",j.value);if(i.value=JSON.parse(JSON.stringify(j)),!P.value.enabled)return H(j);Zs(m.hours)&&Zs(m.minutes)&&!y.value.enabled&&(Lt(j,ue),Xa())},$n=(j,ue)=>{var Me;N(j,ue.month,ue.year,!0),p.value.count&&!p.value.solo&&Ge(j),n("update-month-year",{instance:j,month:ue.month,year:ue.year}),t(p.value.solo?j:void 0);const q=(Me=e.flow)!=null&&Me.length?e.flow[e.flowStep]:void 0;!ue.fromNav&&(q===pt.month||q===pt.year)&&a()},Sn=(j,ue)=>{yo({value:j,modelValue:l,range:P.value.enabled,timezone:ue?void 0:b.value.timezone}),J(),e.multiCalendars&&ct().then(()=>z(!0))},En=()=>{const j=Yr(se(),b.value);!P.value.enabled&&!y.value.enabled?l.value=j:l.value&&Array.isArray(l.value)&&l.value[0]?y.value.enabled?l.value=[...l.value,j]:l.value=qe(j,l.value[0])?[j,l.value[0]]:[l.value[0],j]:l.value=[j],J()},On=()=>{if(Array.isArray(l.value))if(y.value.enabled){const j=An();l.value[l.value.length-1]=x(j)}else l.value=l.value.map((j,ue)=>j&&x(j,ue));else l.value=x(l.value);n("time-update")},An=()=>Array.isArray(l.value)&&l.value.length?l.value[l.value.length-1]:null;return{calendars:v,modelValue:l,month:ne,year:E,time:m,disabledTimesConfig:V,today:d,validateTime:O,getCalendarDays:Ae,getMarker:ce,handleScroll:ae,handleSwipe:w,handleArrow:pe,selectDate:Pn,updateMonthYear:$n,presetDate:Sn,selectCurrentDate:En,updateTime:(j,ue=!0,Me=!1)=>{M(j,ue,Me,On)},assignMonthAndYear:F,setStartTime:le}},sv={key:0},iv=te({__name:"DatePicker",props:{...$t},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:n,emit:t}){const a=t,r=e,{calendars:s,month:i,year:o,modelValue:l,time:v,disabledTimesConfig:m,today:d,validateTime:p,getCalendarDays:k,getMarker:P,handleArrow:R,handleScroll:b,handleSwipe:_,selectDate:y,updateMonthYear:A,presetDate:S,selectCurrentDate:U,updateTime:D,assignMonthAndYear:M,setStartTime:x}=rv(r,a,ee,F),$=ta(),{setHoverDate:u,getDayClassData:O,clearHoverDate:V}=xv(l,r),{defaultedMultiCalendars:ne}=Ke(r),E=Y([]),L=Y([]),N=Y(null),J=yt($,"calendar"),le=yt($,"monthYear"),Q=yt($,"timePicker"),he=ae=>{r.shadow||a("mount",ae)};at(s,()=>{r.shadow||setTimeout(()=>{a("recalculate-position")},0)},{deep:!0}),at(ne,(ae,pe)=>{ae.count-pe.count>0&&M()},{deep:!0});const z=B(()=>ae=>k(i.value(ae),o.value(ae)).map(pe=>({...pe,days:pe.days.map(w=>(w.marker=P(w),w.classData=O(w),w))})));function ee(ae){var pe;ae||ae===0?(pe=L.value[ae])==null||pe.triggerTransition(i.value(ae),o.value(ae)):L.value.forEach((w,ce)=>w.triggerTransition(i.value(ce),o.value(ce)))}function F(){a("update-flow-step")}const G=(ae,pe=!1)=>{y(ae,pe),r.spaceConfirm&&a("select-date")},Z=(ae,pe,w=0)=>{var ce;(ce=E.value[w])==null||ce.toggleMonthPicker(ae,pe)},ie=(ae,pe,w=0)=>{var ce;(ce=E.value[w])==null||ce.toggleYearPicker(ae,pe)},h=(ae,pe,w)=>{var ce;(ce=N.value)==null||ce.toggleTimePicker(ae,pe,w)},X=(ae,pe)=>{var w;if(!r.range){const ce=l.value?l.value:d,ve=pe?new Date(pe):ce,_e=ae?Pt(ve,{weekStartsOn:1}):wi(ve,{weekStartsOn:1});y({value:_e,current:Ee(ve)===i.value(0),text:"",classData:{}}),(w=document.getElementById(gr(_e)))==null||w.focus()}},me=ae=>{var pe;(pe=E.value[0])==null||pe.handleMonthYearChange(ae,!0)},Ge=ae=>{A(0,{month:i.value(0),year:o.value(0)+(ae?1:-1),fromNav:!0})},K=(ae,pe)=>{ae===pt.time&&a(`time-picker-${pe?"open":"close"}`),a("overlay-toggle",{open:pe,overlay:ae})},Oe=ae=>{a("overlay-toggle",{open:!1,overlay:ae}),a("focus-menu")};return n({clearHoverDate:V,presetDate:S,selectCurrentDate:U,toggleMonthPicker:Z,toggleYearPicker:ie,toggleTimePicker:h,handleArrow:R,updateMonthYear:A,getSidebarProps:()=>({modelValue:l,month:i,year:o,time:v,updateTime:D,updateMonthYear:A,selectDate:y,presetDate:S}),changeMonth:me,changeYear:Ge,selectWeekDate:X,setStartTime:x}),(ae,pe)=>(f(),g(ge,null,[re(xn,{"multi-calendars":c(ne).count,collapse:ae.collapse,"is-mobile":ae.isMobile},{default:C(({instance:w,index:ce})=>[ae.disableMonthYearSelect?W("",!0):(f(),de(qm,Ne({key:0,ref:ve=>{ve&&(E.value[ce]=ve)},months:c(Vi)(ae.formatLocale,ae.locale,ae.monthNameFormat),years:c(jr)(ae.yearRange,ae.locale,ae.reverseYears),month:c(i)(w),year:c(o)(w),instance:w},ae.$props,{onMount:pe[0]||(pe[0]=ve=>he(c(oa).header)),onResetFlow:pe[1]||(pe[1]=ve=>ae.$emit("reset-flow")),onUpdateMonthYear:ve=>c(A)(w,ve),onOverlayClosed:Oe,onOverlayOpened:pe[2]||(pe[2]=ve=>ae.$emit("overlay-toggle",{open:!0,overlay:ve}))}),ot({_:2},[Se(c(le),(ve,_e)=>({name:ve,fn:C(Ce=>[I(ae.$slots,ve,ut(vt(Ce)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),re(nv,Ne({ref:ve=>{ve&&(L.value[ce]=ve)},"mapped-dates":z.value(w),month:c(i)(w),year:c(o)(w),instance:w},ae.$props,{onSelectDate:ve=>c(y)(ve,w!==1),onHandleSpace:ve=>G(ve,w!==1),onSetHoverDate:pe[3]||(pe[3]=ve=>c(u)(ve)),onHandleScroll:ve=>c(b)(ve,w),onHandleSwipe:ve=>c(_)(ve,w),onMount:pe[4]||(pe[4]=ve=>he(c(oa).calendar)),onResetFlow:pe[5]||(pe[5]=ve=>ae.$emit("reset-flow")),onTooltipOpen:pe[6]||(pe[6]=ve=>ae.$emit("tooltip-open",ve)),onTooltipClose:pe[7]||(pe[7]=ve=>ae.$emit("tooltip-close",ve))}),ot({_:2},[Se(c(J),(ve,_e)=>({name:ve,fn:C(Ce=>[I(ae.$slots,ve,ut(vt({...Ce})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse","is-mobile"]),ae.enableTimePicker?(f(),g("div",sv,[ae.$slots["time-picker"]?I(ae.$slots,"time-picker",ut(Ne({key:0},{time:c(v),updateTime:c(D)}))):(f(),de(xo,Ne({key:1,ref_key:"timePickerRef",ref:N},ae.$props,{hours:c(v).hours,minutes:c(v).minutes,seconds:c(v).seconds,"internal-model-value":ae.internalModelValue,"disabled-times-config":c(m),"validate-time":c(p),onMount:pe[8]||(pe[8]=w=>he(c(oa).timePicker)),"onUpdate:hours":pe[9]||(pe[9]=w=>c(D)(w)),"onUpdate:minutes":pe[10]||(pe[10]=w=>c(D)(w,!1)),"onUpdate:seconds":pe[11]||(pe[11]=w=>c(D)(w,!1,!0)),onResetFlow:pe[12]||(pe[12]=w=>ae.$emit("reset-flow")),onOverlayClosed:pe[13]||(pe[13]=w=>K(w,!1)),onOverlayOpened:pe[14]||(pe[14]=w=>K(w,!0)),onAmPmChange:pe[15]||(pe[15]=w=>ae.$emit("am-pm-change",w))}),ot({_:2},[Se(c(Q),(w,ce)=>({name:w,fn:C(ve=>[I(ae.$slots,w,ut(vt(ve)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):W("",!0)],64))}}),ov=(e,n)=>{const t=Y(),{defaultedMultiCalendars:a,defaultedConfig:r,defaultedHighlight:s,defaultedRange:i,propDates:o,defaultedFilters:l,defaultedMultiDates:v}=Ke(e),{modelValue:m,year:d,month:p,calendars:k}=Ka(e,n),{isDisabled:P}=na(e),{selectYear:R,groupedYears:b,showYearPicker:_,isDisabled:y,toggleYearPicker:A,handleYearSelect:S,handleYear:U}=wo({modelValue:m,multiCalendars:a,range:i,highlight:s,calendars:k,propDates:o,month:p,year:d,filters:l,props:e,emit:n}),D=(L,N)=>[L,N].map(J=>wt(J,"MMMM",{locale:e.formatLocale})).join("-"),M=B(()=>L=>m.value?Array.isArray(m.value)?m.value.some(N=>_s(L,N)):_s(m.value,L):!1),x=L=>{if(i.value.enabled){if(Array.isArray(m.value)){const N=Re(L,m.value[0])||Re(L,m.value[1]);return ja(m.value,t.value,L)&&!N}return!1}return!1},$=(L,N)=>L.quarter===ss(N)&&L.year===$e(N),u=L=>typeof s.value=="function"?s.value({quarter:ss(L),year:$e(L)}):!!s.value.quarters.find(N=>$(N,L)),O=B(()=>L=>{const N=Fe(new Date,{year:d.value(L)});return j_({start:xa(N),end:Sr(N)}).map(J=>{const le=qt(J),Q=os(J),he=P(J),z=x(le),ee=u(le);return{text:D(le,Q),value:le,active:M.value(le),highlighted:ee,disabled:he,isBetween:z}})}),V=L=>{Qr(L,m,v.value.limit),n("auto-apply",!0)},ne=L=>{m.value=Zr(m,L,n),Dn(m.value,n,e.autoApply,e.modelAuto)},E=L=>{m.value=L,n("auto-apply")};return{defaultedConfig:r,defaultedMultiCalendars:a,groupedYears:b,year:d,isDisabled:y,quarters:O,showYearPicker:_,modelValue:m,setHoverDate:L=>{t.value=L},selectYear:R,selectQuarter:(L,N,J)=>{if(!J)return k.value[N].month=Ee(os(L)),v.value.enabled?V(L):i.value.enabled?ne(L):E(L)},toggleYearPicker:A,handleYearSelect:S,handleYear:U}},lv={class:"dp--quarter-items"},uv=["data-test-id","disabled","onClick","onMouseover"],cv=te({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...$t},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:n,emit:t}){const a=t,r=e,s=ta(),i=yt(s,"yearMode"),{defaultedMultiCalendars:o,defaultedConfig:l,groupedYears:v,year:m,isDisabled:d,quarters:p,modelValue:k,showYearPicker:P,setHoverDate:R,selectQuarter:b,toggleYearPicker:_,handleYearSelect:y,handleYear:A}=ov(r,a);return n({getSidebarProps:()=>({modelValue:k,year:m,selectQuarter:b,handleYearSelect:y,handleYear:A})}),(S,U)=>(f(),de(xn,{"multi-calendars":c(o).count,collapse:S.collapse,stretch:"","is-mobile":S.isMobile},{default:C(({instance:D})=>[T("div",{class:"dp-quarter-picker-wrap",style:mt({minHeight:`${c(l).modeHeight}px`})},[S.$slots["top-extra"]?I(S.$slots,"top-extra",{key:0,value:S.internalModelValue}):W("",!0),T("div",null,[re(go,Ne(S.$props,{items:c(v)(D),instance:D,"show-year-picker":c(P)[D],year:c(m)(D),"is-disabled":M=>c(d)(D,M),onHandleYear:M=>c(A)(D,M),onYearSelect:M=>c(y)(M,D),onToggleYearPicker:M=>c(_)(D,M==null?void 0:M.flow,M==null?void 0:M.show)}),ot({_:2},[Se(c(i),(M,x)=>({name:M,fn:C($=>[I(S.$slots,M,ut(vt($)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),T("div",lv,[(f(!0),g(ge,null,Se(c(p)(D),(M,x)=>(f(),g("div",{key:x},[T("button",{type:"button",class:ye(["dp--qr-btn",{"dp--qr-btn-active":M.active,"dp--qr-btn-between":M.isBetween,"dp--qr-btn-disabled":M.disabled,"dp--highlighted":M.highlighted}]),"data-test-id":M.value,disabled:M.disabled,onClick:$=>c(b)(M.value,D,M.disabled),onMouseover:$=>c(R)(M.value)},[S.$slots.quarter?I(S.$slots,"quarter",{key:0,value:M.value,text:M.text}):(f(),g(ge,{key:1},[Ye(be(M.text),1)],64))],42,uv)]))),128))])],4)]),_:3},8,["multi-calendars","collapse","is-mobile"]))}}),To=(e,n)=>{const t=Y(0);Ue(()=>{a(),window.addEventListener("resize",a,{passive:!0})}),Ht(()=>{window.removeEventListener("resize",a)});const a=()=>{t.value=window.document.documentElement.clientWidth};return{isMobile:B(()=>t.value<=e.value.mobileBreakpoint&&!n?!0:void 0)}},dv=["id","tabindex","role","aria-label"],_v={key:0,class:"dp--menu-load-container"},pv={key:1,class:"dp--menu-header"},fv=["data-dp-mobile"],hv={key:0,class:"dp__sidebar_left"},mv=["data-dp-mobile"],vv=["data-test-id","data-dp-mobile","onClick","onKeydown"],bv={key:2,class:"dp__sidebar_right"},gv={key:3,class:"dp__action_extra"},Js=te({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...wn,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","menu-blur"],setup(e,{expose:n,emit:t}){const a=t,r=e,s=Y(null),i=B(()=>{const{openOnTop:H,...oe}=r;return{...oe,isMobile:R.value,flowStep:O.value,menuWrapRef:s.value}}),{setMenuFocused:o,setShiftKey:l,control:v}=bo(),m=ta(),{defaultedTextInput:d,defaultedInline:p,defaultedConfig:k,defaultedUI:P}=Ke(r),{isMobile:R}=To(k,r.shadow),b=Y(null),_=Y(0),y=Y(null),A=Y(!1),S=Y(null),U=Y(!1);Ue(()=>{if(!r.shadow){A.value=!0,D(),window.addEventListener("resize",D);const H=it(s);if(H&&!d.value.enabled&&!p.value.enabled&&(o(!0),le()),H){const oe=De=>{U.value=!0,k.value.allowPreventDefault&&De.preventDefault(),Zt(De,k.value,!0)};H.addEventListener("pointerdown",oe),H.addEventListener("mousedown",oe)}}document.addEventListener("mousedown",Ae)}),Ht(()=>{window.removeEventListener("resize",D),document.addEventListener("mousedown",Ae)});const D=()=>{const H=it(y);H&&(_.value=H.getBoundingClientRect().width)},{arrowRight:M,arrowLeft:x,arrowDown:$,arrowUp:u}=aa(),{flowStep:O,updateFlowStep:V,childMount:ne,resetFlow:E,handleFlow:L}=Dv(r,a,S),N=B(()=>r.monthPicker?$m:r.yearPicker?Em:r.timePicker?Hm:r.quarterPicker?cv:iv),J=B(()=>{var H;if(k.value.arrowLeft)return k.value.arrowLeft;const oe=(H=s.value)==null?void 0:H.getBoundingClientRect(),De=r.getInputRect();return(De==null?void 0:De.width)<(_==null?void 0:_.value)&&(De==null?void 0:De.left)<=((oe==null?void 0:oe.left)??0)?`${(De==null?void 0:De.width)/2}px`:(De==null?void 0:De.right)>=((oe==null?void 0:oe.right)??0)&&(De==null?void 0:De.width)<(_==null?void 0:_.value)?`${(_==null?void 0:_.value)-(De==null?void 0:De.width)/2}px`:"50%"}),le=()=>{const H=it(s);H&&H.focus({preventScroll:!0})},Q=B(()=>{var H;return((H=S.value)==null?void 0:H.getSidebarProps())||{}}),he=()=>{r.openOnTop&&a("recalculate-position")},z=yt(m,"action"),ee=B(()=>r.monthPicker||r.yearPicker?yt(m,"monthYear"):r.timePicker?yt(m,"timePicker"):yt(m,"shared")),F=B(()=>r.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),G=B(()=>({dp__menu_disabled:r.disabled,dp__menu_readonly:r.readonly,"dp-menu-loading":r.loading})),Z=B(()=>({dp__menu:!0,dp__menu_index:!p.value.enabled,dp__relative:p.value.enabled,...P.value.menu??{}})),ie=H=>{Zt(H,k.value,!0)},h=()=>{r.escClose&&a("close-picker")},X=H=>{if(r.arrowNavigation){if(H===ft.up)return u();if(H===ft.down)return $();if(H===ft.left)return x();if(H===ft.right)return M()}else H===ft.left||H===ft.up?ae("handleArrow",ft.left,0,H===ft.up):ae("handleArrow",ft.right,0,H===ft.down)},me=H=>{l(H.shiftKey),!r.disableMonthYearSelect&&H.code===ze.tab&&H.target.classList.contains("dp__menu")&&v.value.shiftKeyInMenu&&(H.preventDefault(),Zt(H,k.value,!0),a("close-picker"))},Ge=()=>{le(),a("time-picker-close")},K=H=>{var oe,De,st;(oe=S.value)==null||oe.toggleTimePicker(!1,!1),(De=S.value)==null||De.toggleMonthPicker(!1,!1,H),(st=S.value)==null||st.toggleYearPicker(!1,!1,H)},Oe=(H,oe=0)=>{var De,st,St;return H==="month"?(De=S.value)==null?void 0:De.toggleMonthPicker(!1,!0,oe):H==="year"?(st=S.value)==null?void 0:st.toggleYearPicker(!1,!0,oe):H==="time"?(St=S.value)==null?void 0:St.toggleTimePicker(!0,!1):K(oe)},ae=(H,...oe)=>{var De,st;(De=S.value)!=null&&De[H]&&((st=S.value)==null||st[H](...oe))},pe=()=>{ae("selectCurrentDate")},w=(H,oe)=>{ae("presetDate",Fo(H),oe)},ce=()=>{ae("clearHoverDate")},ve=(H,oe)=>{ae("updateMonthYear",H,oe)},_e=(H,oe)=>{H.preventDefault(),X(oe)},Ce=H=>{var oe,De,st;if(me(H),H.key===ze.home||H.key===ze.end)return ae("selectWeekDate",H.key===ze.home,H.target.getAttribute("id"));switch((H.key===ze.pageUp||H.key===ze.pageDown)&&(H.shiftKey?(ae("changeYear",H.key===ze.pageUp),(oe=mr(s.value,"overlay-year"))==null||oe.focus()):(ae("changeMonth",H.key===ze.pageUp),(De=mr(s.value,H.key===ze.pageUp?"action-prev":"action-next"))==null||De.focus()),H.target.getAttribute("id")&&((st=s.value)==null||st.focus({preventScroll:!0}))),H.key){case ze.esc:return h();case ze.arrowLeft:return _e(H,ft.left);case ze.arrowRight:return _e(H,ft.right);case ze.arrowUp:return _e(H,ft.up);case ze.arrowDown:return _e(H,ft.down);default:return}},Ae=H=>{var oe;p.value.enabled&&!p.value.input&&!((oe=s.value)!=null&&oe.contains(H.target))&&U.value&&(U.value=!1,a("menu-blur"))};return n({updateMonthYear:ve,switchView:Oe,handleFlow:L,onValueCleared:()=>{var H,oe;(oe=(H=S.value)==null?void 0:H.setStartTime)==null||oe.call(H)}}),(H,oe)=>{var De,st,St;return f(),g("div",{id:H.uid?`dp-menu-${H.uid}`:void 0,ref_key:"dpMenuRef",ref:s,tabindex:c(p).enabled?void 0:"0",role:c(p).enabled?void 0:"dialog","aria-label":(De=H.ariaLabels)==null?void 0:De.menu,class:ye(Z.value),style:mt({"--dp-arrow-left":J.value}),onMouseleave:ce,onClick:ie,onKeydown:Ce},[(H.disabled||H.readonly)&&c(p).enabled||H.loading?(f(),g("div",{key:0,class:ye(G.value)},[H.loading?(f(),g("div",_v,oe[19]||(oe[19]=[T("span",{class:"dp--menu-loader"},null,-1)]))):W("",!0)],2)):W("",!0),H.$slots["menu-header"]?(f(),g("div",pv,[I(H.$slots,"menu-header")])):W("",!0),!c(p).enabled&&!H.teleportCenter?(f(),g("div",{key:2,class:ye(F.value)},null,2)):W("",!0),T("div",{ref_key:"innerMenuRef",ref:y,class:ye({dp__menu_content_wrapper:((st=H.presetDates)==null?void 0:st.length)||!!H.$slots["left-sidebar"]||!!H.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((St=H.presetDates)==null?void 0:St.length)||!!H.$slots["left-sidebar"]||!!H.$slots["right-sidebar"])}),"data-dp-mobile":c(R),style:mt({"--dp-menu-width":`${_.value}px`})},[H.$slots["left-sidebar"]?(f(),g("div",hv,[I(H.$slots,"left-sidebar",ut(vt(Q.value)))])):W("",!0),H.presetDates.length?(f(),g("div",{key:1,class:ye({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0}),"data-dp-mobile":c(R)},[(f(!0),g(ge,null,Se(H.presetDates,(Te,Lt)=>(f(),g(ge,{key:Lt},[Te.slot?I(H.$slots,Te.slot,{key:0,presetDate:w,label:Te.label,value:Te.value}):(f(),g("button",{key:1,type:"button",style:mt(Te.style||{}),class:ye(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test-id":Te.testId??void 0,"data-dp-mobile":c(R),onClick:ca(nt=>w(Te.value,Te.noTz),["prevent"]),onKeydown:nt=>c(ht)(nt,()=>w(Te.value,Te.noTz),!0)},be(Te.label),47,vv))],64))),128))],10,mv)):W("",!0),T("div",{ref_key:"calendarWrapperRef",ref:b,class:"dp__instance_calendar",role:"document"},[(f(),de(bt(N.value),Ne({ref_key:"dynCmpRef",ref:S},i.value,{"flow-step":c(O),onMount:c(ne),onUpdateFlowStep:c(V),onResetFlow:c(E),onFocusMenu:le,onSelectDate:oe[0]||(oe[0]=Te=>H.$emit("select-date")),onDateUpdate:oe[1]||(oe[1]=Te=>H.$emit("date-update",Te)),onTooltipOpen:oe[2]||(oe[2]=Te=>H.$emit("tooltip-open",Te)),onTooltipClose:oe[3]||(oe[3]=Te=>H.$emit("tooltip-close",Te)),onAutoApply:oe[4]||(oe[4]=Te=>H.$emit("auto-apply",Te)),onRangeStart:oe[5]||(oe[5]=Te=>H.$emit("range-start",Te)),onRangeEnd:oe[6]||(oe[6]=Te=>H.$emit("range-end",Te)),onInvalidFixedRange:oe[7]||(oe[7]=Te=>H.$emit("invalid-fixed-range",Te)),onTimeUpdate:oe[8]||(oe[8]=Te=>H.$emit("time-update")),onAmPmChange:oe[9]||(oe[9]=Te=>H.$emit("am-pm-change",Te)),onTimePickerOpen:oe[10]||(oe[10]=Te=>H.$emit("time-picker-open",Te)),onTimePickerClose:Ge,onRecalculatePosition:he,onUpdateMonthYear:oe[11]||(oe[11]=Te=>H.$emit("update-month-year",Te)),onAutoApplyInvalid:oe[12]||(oe[12]=Te=>H.$emit("auto-apply-invalid",Te)),onInvalidDate:oe[13]||(oe[13]=Te=>H.$emit("invalid-date",Te)),onOverlayToggle:oe[14]||(oe[14]=Te=>H.$emit("overlay-toggle",Te)),"onUpdate:internalModelValue":oe[15]||(oe[15]=Te=>H.$emit("update:internal-model-value",Te))}),ot({_:2},[Se(ee.value,(Te,Lt)=>({name:Te,fn:C(nt=>[I(H.$slots,Te,ut(vt({...nt})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),H.$slots["right-sidebar"]?(f(),g("div",bv,[I(H.$slots,"right-sidebar",ut(vt(Q.value)))])):W("",!0),H.$slots["action-extra"]?(f(),g("div",gv,[H.$slots["action-extra"]?I(H.$slots,"action-extra",{key:0,selectCurrentDate:pe}):W("",!0)])):W("",!0)],14,fv),!H.autoApply||c(k).keepActionRow?(f(),de(gm,Ne({key:3,"menu-mount":A.value},i.value,{"calendar-width":_.value,onClosePicker:oe[16]||(oe[16]=Te=>H.$emit("close-picker")),onSelectDate:oe[17]||(oe[17]=Te=>H.$emit("select-date")),onInvalidSelect:oe[18]||(oe[18]=Te=>H.$emit("invalid-select")),onSelectNow:pe}),ot({_:2},[Se(c(z),(Te,Lt)=>({name:Te,fn:C(nt=>[I(H.$slots,Te,ut(vt({...nt})))])}))]),1040,["menu-mount","calendar-width"])):W("",!0)],46,dv)}}});var ba=(e=>(e.center="center",e.left="left",e.right="right",e))(ba||{});const yv=({menuRef:e,menuRefInner:n,inputRef:t,pickerWrapperRef:a,inline:r,emit:s,props:i,slots:o})=>{const{defaultedConfig:l}=Ke(i),v=Y({}),m=Y(!1),d=Y({top:"0",left:"0"}),p=Y(!1),k=Ba(i,"teleportCenter");at(k,()=>{d.value=JSON.parse(JSON.stringify({})),U()});const P=N=>{if(i.teleport){const J=N.getBoundingClientRect();return{left:J.left+window.scrollX,top:J.top+window.scrollY}}return{top:0,left:0}},R=(N,J)=>{d.value.left=`${N+J-v.value.width}px`},b=N=>{d.value.left=`${N}px`},_=(N,J)=>{i.position===ba.left&&b(N),i.position===ba.right&&R(N,J),i.position===ba.center&&(d.value.left=`${N+J/2-v.value.width/2}px`)},y=N=>{const{width:J,height:le}=N.getBoundingClientRect(),{top:Q,left:he}=P(N);return{top:+Q,left:+he,width:J,height:le}},A=()=>{d.value.left="50%",d.value.top="50%",d.value.transform="translate(-50%, -50%)",d.value.position="fixed",delete d.value.opacity},S=()=>{const N=it(t);d.value=i.altPosition(N)},U=(N=!0)=>{var J;if(!r.value.enabled){if(k.value)return A();if(i.altPosition!==null)return S();if(N){const le=i.teleport?(J=n.value)==null?void 0:J.$el:e.value;le&&(v.value=le.getBoundingClientRect()),s("recalculate-position")}return V()}},D=({inputEl:N,left:J,width:le})=>{window.screen.width>768&&!m.value&&_(J,le),$(N)},M=N=>{const{top:J,left:le,height:Q,width:he}=y(N);d.value.top=`${Q+J+ +i.offset}px`,p.value=!1,m.value||(d.value.left=`${le+he/2-v.value.width/2}px`),D({inputEl:N,left:le,width:he})},x=N=>{const{top:J,left:le,width:Q}=y(N);d.value.top=`${J-+i.offset-v.value.height}px`,p.value=!0,D({inputEl:N,left:le,width:Q})},$=N=>{if(i.autoPosition){const{left:J,width:le}=y(N),{left:Q,right:he}=v.value;if(!m.value){if(Math.abs(Q)!==Math.abs(he)){if(Q<=0)return m.value=!0,b(J);if(he>=document.documentElement.clientWidth)return m.value=!0,R(J,le)}return _(J,le)}}},u=()=>{const N=it(t);if(N){if(i.autoPosition===Tt.top)return Tt.top;if(i.autoPosition===Tt.bottom)return Tt.bottom;const{height:J}=v.value,{top:le,height:Q}=N.getBoundingClientRect(),he=window.innerHeight-le-Q,z=le;return J<=he?Tt.bottom:J>he&&J<=z?Tt.top:he>=z?Tt.bottom:Tt.top}return Tt.bottom},O=N=>u()===Tt.bottom?M(N):x(N),V=()=>{const N=it(t);if(N)return i.autoPosition?O(N):M(N)},ne=function(N){if(N){const J=N.scrollHeight>N.clientHeight,le=window.getComputedStyle(N).overflowY.indexOf("hidden")!==-1;return J&&!le}return!0},E=function(N){return!N||N===document.body||N.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:ne(N)?N:E(N.assignedSlot&&l.value.shadowDom?N.assignedSlot.parentNode:N.parentNode)},L=N=>{if(N)switch(i.position){case ba.left:return{left:0,transform:"translateX(0)"};case ba.right:return{left:`${N.width}px`,transform:"translateX(-100%)"};default:return{left:`${N.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:p,menuStyle:d,xCorrect:m,setMenuPosition:U,getScrollableParent:E,shadowRender:(N,J)=>{var le,Q,he;const z=document.createElement("div"),ee=(le=it(t))==null?void 0:le.getBoundingClientRect();z.setAttribute("id","dp--temp-container");const F=(Q=a.value)!=null&&Q.clientWidth?a.value:document.body;F.append(z);const G=L(ee),Z=l.value.shadowDom?Object.keys(o).filter(h=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(h)):Object.keys(o),ie=Yo(N,{...J,shadow:!0,style:{opacity:0,position:"absolute",...G}},Object.fromEntries(Z.map(h=>[h,o[h]])));es(ie,z),v.value=(he=ie.el)==null?void 0:he.getBoundingClientRect(),es(null,z),F.removeChild(z)}}},Kt=[{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"]}],kv=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],wv={all:()=>Kt,monthYear:()=>Kt.filter(e=>e.use.includes("month-year")),input:()=>kv,timePicker:()=>Kt.filter(e=>e.use.includes("time")),action:()=>Kt.filter(e=>e.use.includes("action")),calendar:()=>Kt.filter(e=>e.use.includes("calendar")),menu:()=>Kt.filter(e=>e.use.includes("menu")),shared:()=>Kt.filter(e=>e.use.includes("shared")),yearMode:()=>Kt.filter(e=>e.use.includes("year-mode"))},yt=(e,n,t)=>{const a=[];return wv[n]().forEach(r=>{e[r.name]&&a.push(r.name)}),t!=null&&t.length&&t.forEach(r=>{r.slot&&a.push(r.slot)}),a},Ga=e=>{const n=B(()=>a=>e.value?a?e.value.open:e.value.close:""),t=B(()=>a=>e.value?a?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:n,showTransition:!!e.value,menuTransition:t}},Ka=(e,n,t)=>{const{defaultedRange:a,defaultedTz:r}=Ke(e),s=se(gt(se(),r.value.timezone)),i=Y([{month:Ee(s),year:$e(s)}]),o=p=>{const k={hours:Yt(s),minutes:ea(s),seconds:0};return a.value.enabled?[k[p],k[p]]:k[p]},l=Fa({hours:o("hours"),minutes:o("minutes"),seconds:o("seconds")});at(a,(p,k)=>{p.enabled!==k.enabled&&(l.hours=o("hours"),l.minutes=o("minutes"),l.seconds=o("seconds"))},{deep:!0});const v=B({get:()=>e.internalModelValue,set:p=>{!e.readonly&&!e.disabled&&n("update:internal-model-value",p)}}),m=B(()=>p=>i.value[p]?i.value[p].month:0),d=B(()=>p=>i.value[p]?i.value[p].year:0);return at(v,(p,k)=>{t&&JSON.stringify(p??{})!==JSON.stringify(k??{})&&t()},{deep:!0}),{calendars:i,time:l,modelValue:v,month:m,year:d,today:s}},xv=(e,n)=>{const{defaultedMultiCalendars:t,defaultedMultiDates:a,defaultedUI:r,defaultedHighlight:s,defaultedTz:i,propDates:o,defaultedRange:l}=Ke(n),{isDisabled:v}=na(n),m=Y(null),d=Y(gt(new Date,i.value.timezone)),p=h=>{!h.current&&n.hideOffsetDates||(m.value=h.value)},k=()=>{m.value=null},P=h=>Array.isArray(e.value)&&l.value.enabled&&e.value[0]&&m.value?h?Je(m.value,e.value[0]):qe(m.value,e.value[0]):!0,R=(h,X)=>{const me=()=>e.value?X?e.value[0]||null:e.value[1]:null,Ge=e.value&&Array.isArray(e.value)?me():null;return Re(se(h.value),Ge)},b=h=>{const X=Array.isArray(e.value)?e.value[0]:null;return h?!qe(m.value??null,X):!0},_=(h,X=!0)=>(l.value.enabled||n.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?n.hideOffsetDates&&!h.current?!1:Re(se(h.value),e.value[X?0:1]):l.value.enabled?R(h,X)&&b(X)||Re(h.value,Array.isArray(e.value)?e.value[0]:null)&&P(X):!1,y=(h,X)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const me=Re(h.value,m.value);return X?Je(e.value[0],h.value)&&me:qe(e.value[0],h.value)&&me}return!1},A=h=>!e.value||n.hideOffsetDates&&!h.current?!1:l.value.enabled?n.modelAuto&&Array.isArray(e.value)?Re(h.value,e.value[0]?e.value[0]:d.value):!1:a.value.enabled&&Array.isArray(e.value)?e.value.some(X=>Re(X,h.value)):Re(h.value,e.value?e.value:d.value),S=h=>{if(l.value.autoRange||n.weekPicker){if(m.value){if(n.hideOffsetDates&&!h.current)return!1;const X=rt(m.value,+l.value.autoRange),me=Bt(se(m.value),n.weekStart);return n.weekPicker?Re(me[1],se(h.value)):Re(X,se(h.value))}return!1}return!1},U=h=>{if(l.value.autoRange||n.weekPicker){if(m.value){const X=rt(m.value,+l.value.autoRange);if(n.hideOffsetDates&&!h.current)return!1;const me=Bt(se(m.value),n.weekStart);return n.weekPicker?Je(h.value,me[0])&&qe(h.value,me[1]):Je(h.value,m.value)&&qe(h.value,X)}return!1}return!1},D=h=>{if(l.value.autoRange||n.weekPicker){if(m.value){if(n.hideOffsetDates&&!h.current)return!1;const X=Bt(se(m.value),n.weekStart);return n.weekPicker?Re(X[0],h.value):Re(m.value,h.value)}return!1}return!1},M=h=>ja(e.value,m.value,h.value),x=()=>n.modelAuto&&Array.isArray(n.internalModelValue)?!!n.internalModelValue[0]:!1,$=()=>n.modelAuto?Li(n.internalModelValue):!0,u=h=>{if(n.weekPicker)return!1;const X=l.value.enabled?!_(h)&&!_(h,!1):!0;return!v(h.value)&&!A(h)&&!(!h.current&&n.hideOffsetDates)&&X},O=h=>l.value.enabled?n.modelAuto?x()&&A(h):!1:A(h),V=h=>s.value?Gf(h.value,o.value.highlight):!1,ne=h=>{const X=v(h.value);return X&&(typeof s.value=="function"?!s.value(h.value,X):!s.value.options.highlightDisabled)},E=h=>{var X;return typeof s.value=="function"?s.value(h.value):(X=s.value.weekdays)==null?void 0:X.includes(h.value.getDay())},L=h=>(l.value.enabled||n.weekPicker)&&(!(t.value.count>0)||h.current)&&$()&&!(!h.current&&n.hideOffsetDates)&&!A(h)?M(h):!1,N=h=>{if(Array.isArray(e.value)&&e.value.length===1){const{before:X,after:me}=Xs(+l.value.maxRange,e.value[0]);return Ta(h.value,X)||da(h.value,me)}return!1},J=h=>{if(Array.isArray(e.value)&&e.value.length===1){const{before:X,after:me}=Xs(+l.value.minRange,e.value[0]);return ja([X,me],e.value[0],h.value)}return!1},le=h=>l.value.enabled&&(l.value.maxRange||l.value.minRange)?l.value.maxRange&&l.value.minRange?N(h)||J(h):l.value.maxRange?N(h):J(h):!1,Q=h=>{const{isRangeStart:X,isRangeEnd:me}=F(h),Ge=l.value.enabled?X||me:!1;return{dp__cell_offset:!h.current,dp__pointer:!n.disabled&&!(!h.current&&n.hideOffsetDates)&&!v(h.value)&&!le(h),dp__cell_disabled:v(h.value)||le(h),dp__cell_highlight:!ne(h)&&(V(h)||E(h))&&!O(h)&&!Ge&&!D(h)&&!(L(h)&&n.weekPicker)&&!me,dp__cell_highlight_active:!ne(h)&&(V(h)||E(h))&&O(h),dp__today:!n.noToday&&Re(h.value,d.value)&&h.current,"dp--past":qe(h.value,d.value),"dp--future":Je(h.value,d.value)}},he=h=>({dp__active_date:O(h),dp__date_hover:u(h)}),z=h=>{if(e.value&&!Array.isArray(e.value)){const X=Bt(e.value,n.weekStart);return{...Z(h),dp__range_start:Re(X[0],h.value),dp__range_end:Re(X[1],h.value),dp__range_between_week:Je(h.value,X[0])&&qe(h.value,X[1])}}return{...Z(h)}},ee=h=>{if(e.value&&Array.isArray(e.value)){const X=Bt(e.value[0],n.weekStart),me=e.value[1]?Bt(e.value[1],n.weekStart):[];return{...Z(h),dp__range_start:Re(X[0],h.value)||Re(me[0],h.value),dp__range_end:Re(X[1],h.value)||Re(me[1],h.value),dp__range_between_week:Je(h.value,X[0])&&qe(h.value,X[1])||Je(h.value,me[0])&&qe(h.value,me[1]),dp__range_between:Je(h.value,X[1])&&qe(h.value,me[0])}}return{...Z(h)}},F=h=>{const X=t.value.count>0?h.current&&_(h)&&$():_(h)&&$(),me=t.value.count>0?h.current&&_(h,!1)&&$():_(h,!1)&&$();return{isRangeStart:X,isRangeEnd:me}},G=h=>{const{isRangeStart:X,isRangeEnd:me}=F(h);return{dp__range_start:X,dp__range_end:me,dp__range_between:L(h),dp__date_hover:Re(h.value,m.value)&&!X&&!me&&!n.weekPicker,dp__date_hover_start:y(h,!0),dp__date_hover_end:y(h,!1)}},Z=h=>({...G(h),dp__cell_auto_range:U(h),dp__cell_auto_range_start:D(h),dp__cell_auto_range_end:S(h)}),ie=h=>l.value.enabled?l.value.autoRange?Z(h):n.modelAuto?{...he(h),...G(h)}:n.weekPicker?ee(h):G(h):n.weekPicker?z(h):he(h);return{setHoverDate:p,clearHoverDate:k,getDayClassData:h=>n.hideOffsetDates&&!h.current?{}:{...Q(h),...ie(h),[n.dayClass?n.dayClass(h.value,n.internalModelValue):""]:!0,...r.value.calendarCell??{}}}},na=e=>{const{defaultedFilters:n,defaultedRange:t,propDates:a,defaultedMultiDates:r}=Ke(e),s=E=>a.value.disabledDates?typeof a.value.disabledDates=="function"?a.value.disabledDates(se(E)):!!pn(E,a.value.disabledDates):!1,i=E=>a.value.maxDate?e.yearPicker?$e(E)>$e(a.value.maxDate):Je(E,a.value.maxDate):!1,o=E=>a.value.minDate?e.yearPicker?$e(E)<$e(a.value.minDate):qe(E,a.value.minDate):!1,l=E=>{const L=i(E),N=o(E),J=s(E),le=n.value.months.map(F=>+F).includes(Ee(E)),Q=e.disabledWeekDays.length?e.disabledWeekDays.some(F=>+F===Ip(E)):!1,he=k(E),z=$e(E),ee=z<+e.yearRange[0]||z>+e.yearRange[1];return!(L||N||J||le||ee||Q||he)},v=(E,L)=>qe(...Qt(a.value.minDate,E,L))||Re(...Qt(a.value.minDate,E,L)),m=(E,L)=>Je(...Qt(a.value.maxDate,E,L))||Re(...Qt(a.value.maxDate,E,L)),d=(E,L,N)=>{let J=!1;return a.value.maxDate&&N&&m(E,L)&&(J=!0),a.value.minDate&&!N&&v(E,L)&&(J=!0),J},p=(E,L,N,J)=>{let le=!1;return J&&(a.value.minDate||a.value.maxDate)?a.value.minDate&&a.value.maxDate?le=d(E,L,N):(a.value.minDate&&v(E,L)||a.value.maxDate&&m(E,L))&&(le=!0):le=!0,le},k=E=>Array.isArray(a.value.allowedDates)&&!a.value.allowedDates.length?!0:a.value.allowedDates?!pn(E,a.value.allowedDates):!1,P=E=>!l(E),R=E=>t.value.noDisabledRange?!ki({start:E[0],end:E[1]}).some(L=>P(L)):!0,b=E=>{if(E){const L=$e(E);return L>=+e.yearRange[0]&&L<=e.yearRange[1]}return!0},_=(E,L)=>!!(Array.isArray(E)&&E[L]&&(t.value.maxRange||t.value.minRange)&&b(E[L])),y=(E,L,N=0)=>{if(_(L,N)&&b(E)){const J=bi(E,L[N]),le=po(L[N],E),Q=le.length===1?0:le.filter(z=>P(z)).length,he=Math.abs(J)-(t.value.minMaxRawRange?0:Q);if(t.value.minRange&&t.value.maxRange)return he>=+t.value.minRange&&he<=+t.value.maxRange;if(t.value.minRange)return he>=+t.value.minRange;if(t.value.maxRange)return he<=+t.value.maxRange}return!0},A=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,S=E=>Array.isArray(E)?[E[0]?er(E[0]):null,E[1]?er(E[1]):null]:er(E),U=(E,L,N)=>E.find(J=>+J.hours===Yt(L)&&J.minutes==="*"?!0:+J.minutes===ea(L)&&+J.hours===Yt(L))&&N,D=(E,L,N)=>{const[J,le]=E,[Q,he]=L;return!U(J,Q,N)&&!U(le,he,N)&&N},M=(E,L)=>{const N=Array.isArray(L)?L:[L];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?D(e.disabledTimes,N,E):!N.some(J=>U(e.disabledTimes,J,E)):E},x=(E,L)=>{const N=Array.isArray(L)?[la(L[0]),L[1]?la(L[1]):void 0]:la(L),J=!e.disabledTimes(N);return E&&J},$=(E,L)=>e.disabledTimes?Array.isArray(e.disabledTimes)?M(L,E):x(L,E):L,u=E=>{let L=!0;if(!E||A())return!0;const N=!a.value.minDate&&!a.value.maxDate?S(E):E;return(e.maxTime||a.value.maxDate)&&(L=Ks(e.maxTime,a.value.maxDate,"max",lt(N),L)),(e.minTime||a.value.minDate)&&(L=Ks(e.minTime,a.value.minDate,"min",lt(N),L)),$(E,L)},O=E=>{if(!e.monthPicker)return!0;let L=!0;const N=se(Mt(E));if(a.value.minDate&&a.value.maxDate){const J=se(Mt(a.value.minDate)),le=se(Mt(a.value.maxDate));return Je(N,J)&&qe(N,le)||Re(N,J)||Re(N,le)}if(a.value.minDate){const J=se(Mt(a.value.minDate));L=Je(N,J)||Re(N,J)}if(a.value.maxDate){const J=se(Mt(a.value.maxDate));L=qe(N,J)||Re(N,J)}return L},V=B(()=>E=>!e.enableTimePicker||e.ignoreTimeValidation?!0:u(E)),ne=B(()=>E=>e.monthPicker?Array.isArray(E)&&(t.value.enabled||r.value.enabled)?!E.filter(L=>!O(L)).length:O(E):!0);return{isDisabled:P,validateDate:l,validateMonthYearInRange:p,isDateRangeAllowed:R,checkMinMaxRange:y,isValidTime:u,isTimeValid:V,isMonthValid:ne}},Tn=()=>{const e=B(()=>(a,r)=>a==null?void 0:a.includes(r)),n=B(()=>(a,r)=>a.count?a.solo?!0:r===0:!0),t=B(()=>(a,r)=>a.count?a.solo?!0:r===a.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:n,showRightIcon:t}},Dv=(e,n,t)=>{const a=Y(0),r=Fa({[oa.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[oa.calendar]:!1,[oa.header]:!1}),s=B(()=>e.monthPicker||e.timePicker),i=d=>{var p;if((p=e.flow)!=null&&p.length){if(!d&&s.value)return m();r[d]=!0,Object.keys(r).filter(k=>!r[k]).length||m()}},o=()=>{var d,p;(d=e.flow)!=null&&d.length&&a.value!==-1&&(a.value+=1,n("flow-step",a.value),m()),((p=e.flow)==null?void 0:p.length)===a.value&&ct().then(()=>l())},l=()=>{a.value=-1},v=(d,p,...k)=>{var P,R;e.flow[a.value]===d&&t.value&&((R=(P=t.value)[p])==null||R.call(P,...k))},m=(d=0)=>{d&&(a.value+=d),v(pt.month,"toggleMonthPicker",!0),v(pt.year,"toggleYearPicker",!0),v(pt.calendar,"toggleTimePicker",!1,!0),v(pt.time,"toggleTimePicker",!0,!0);const p=e.flow[a.value];(p===pt.hours||p===pt.minutes||p===pt.seconds)&&v(p,"toggleTimePicker",!0,!0,p)};return{childMount:i,updateFlowStep:o,resetFlow:l,handleFlow:m,flowStep:a}},Tv={key:1,class:"dp__input_wrap"},Mv=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],Pv={key:2,class:"dp--clear-btn"},$v=["aria-label"],Sv=te({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...wn},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:n,emit:t}){const a=t,r=e,{defaultedTextInput:s,defaultedAriaLabels:i,defaultedInline:o,defaultedConfig:l,defaultedRange:v,defaultedMultiDates:m,defaultedUI:d,getDefaultPattern:p,getDefaultStartTime:k}=Ke(r),{checkMinMaxRange:P}=na(r),R=Y(),b=Y(null),_=Y(!1),y=Y(!1),A=B(()=>({dp__pointer:!r.disabled&&!r.readonly&&!s.value.enabled,dp__disabled:r.disabled,dp__input_readonly:!s.value.enabled,dp__input:!0,dp__input_icon_pad:!r.hideInputIcon,dp__input_valid:typeof r.state=="boolean"?r.state:!1,dp__input_invalid:typeof r.state=="boolean"?!r.state:!1,dp__input_focus:_.value||r.isMenuOpen,dp__input_reg:!s.value.enabled,...d.value.input??{}})),S=()=>{a("set-input-date",null),r.clearable&&r.autoApply&&(a("set-empty-date"),R.value=null)},U=z=>{const ee=k();return Hh(z,s.value.format??p(),ee??fo({},r.enableSeconds),r.inputValue,y.value,r.formatLocale)},D=z=>{const{rangeSeparator:ee}=s.value,[F,G]=z.split(`${ee}`);if(F){const Z=U(F.trim()),ie=G?U(G.trim()):null;if(da(Z,ie))return;const h=Z&&ie?[Z,ie]:[Z];P(ie,h,0)&&(R.value=Z?h:null)}},M=()=>{y.value=!0},x=z=>{if(v.value.enabled)D(z);else if(m.value.enabled){const ee=z.split(";");R.value=ee.map(F=>U(F.trim())).filter(F=>F)}else R.value=U(z)},$=z=>{var ee;const F=typeof z=="string"?z:(ee=z.target)==null?void 0:ee.value;F!==""?(s.value.openMenu&&!r.isMenuOpen&&a("open"),x(F),a("set-input-date",R.value)):S(),y.value=!1,a("update:input-value",F),a("text-input",z,R.value)},u=z=>{s.value.enabled?(x(z.target.value),s.value.enterSubmit&&br(R.value)&&r.inputValue!==""?(a("set-input-date",R.value,!0),R.value=null):s.value.enterSubmit&&r.inputValue===""&&(R.value=null,a("clear"))):ne(z)},O=(z,ee)=>{s.value.enabled&&s.value.tabSubmit&&!ee&&x(z.target.value),s.value.tabSubmit&&br(R.value)&&r.inputValue!==""?(a("set-input-date",R.value,!0,!0),R.value=null):s.value.tabSubmit&&r.inputValue===""&&(R.value=null,a("clear",!0))},V=()=>{_.value=!0,a("focus"),ct().then(()=>{var z;s.value.enabled&&s.value.selectOnFocus&&((z=b.value)==null||z.select())})},ne=z=>{if(Zt(z,l.value,!0),s.value.enabled&&s.value.openMenu&&!o.value.input){if(s.value.openMenu==="open"&&!r.isMenuOpen)return a("open");if(s.value.openMenu==="toggle")return a("toggle")}else s.value.enabled||a("toggle")},E=()=>{a("real-blur"),_.value=!1,(!r.isMenuOpen||o.value.enabled&&o.value.input)&&a("blur"),r.autoApply&&s.value.enabled&&R.value&&!r.isMenuOpen&&(a("set-input-date",R.value),a("select-date"),R.value=null)},L=z=>{Zt(z,l.value,!0),a("clear")},N=()=>{a("close")},J=z=>{if(z.key==="Tab"&&O(z),z.key==="Enter"&&u(z),z.key==="Escape"&&s.value.escClose&&N(),!s.value.enabled){if(z.code==="Tab")return;z.preventDefault()}},le=()=>{var z;(z=b.value)==null||z.focus({preventScroll:!0})},Q=z=>{R.value=z},he=z=>{z.key===ze.tab&&O(z,!0)};return n({focusInput:le,setParsedDate:Q}),(z,ee)=>{var F,G,Z;return f(),g("div",{onClick:ne},[z.$slots.trigger&&!z.$slots["dp-input"]&&!c(o).enabled?I(z.$slots,"trigger",{key:0}):W("",!0),!z.$slots.trigger&&(!c(o).enabled||c(o).input)?(f(),g("div",Tv,[z.$slots["dp-input"]&&!z.$slots.trigger&&(!c(o).enabled||c(o).enabled&&c(o).input)?I(z.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:$,onEnter:u,onTab:O,onClear:L,onBlur:E,onKeypress:J,onPaste:M,onFocus:V,openMenu:()=>z.$emit("open"),closeMenu:()=>z.$emit("close"),toggleMenu:()=>z.$emit("toggle")}):W("",!0),z.$slots["dp-input"]?W("",!0):(f(),g("input",{key:1,id:z.uid?`dp-input-${z.uid}`:void 0,ref_key:"inputRef",ref:b,"data-test-id":"dp-input",name:z.name,class:ye(A.value),inputmode:c(s).enabled?"text":"none",placeholder:z.placeholder,disabled:z.disabled,readonly:z.readonly,required:z.required,value:e.inputValue,autocomplete:z.autocomplete,"aria-label":(F=c(i))==null?void 0:F.input,"aria-disabled":z.disabled||void 0,"aria-invalid":z.state===!1?!0:void 0,onInput:$,onBlur:E,onFocus:V,onKeypress:J,onKeydown:ee[0]||(ee[0]=ie=>J(ie)),onPaste:M},null,42,Mv)),T("div",{onClick:ee[3]||(ee[3]=ie=>a("toggle"))},[z.$slots["input-icon"]&&!z.hideInputIcon?(f(),g("span",{key:0,class:"dp__input_icon",onClick:ee[1]||(ee[1]=ie=>a("toggle"))},[I(z.$slots,"input-icon")])):W("",!0),!z.$slots["input-icon"]&&!z.hideInputIcon&&!z.$slots["dp-input"]?(f(),de(c(Sa),{key:1,"aria-label":(G=c(i))==null?void 0:G.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:ee[2]||(ee[2]=ie=>a("toggle"))},null,8,["aria-label"])):W("",!0)]),z.$slots["clear-icon"]&&(z.alwaysClearable||e.inputValue&&z.clearable&&!z.disabled&&!z.readonly)?(f(),g("span",Pv,[I(z.$slots,"clear-icon",{clear:L})])):W("",!0),!z.$slots["clear-icon"]&&(z.alwaysClearable||z.clearable&&e.inputValue&&!z.disabled&&!z.readonly)?(f(),g("button",{key:3,"aria-label":(Z=c(i))==null?void 0:Z.clearInput,class:"dp--clear-btn",type:"button",onKeydown:ee[4]||(ee[4]=ie=>c(ht)(ie,()=>L(ie),!0,he)),onClick:ee[5]||(ee[5]=ca(ie=>L(ie),["prevent"]))},[re(c(Ni),{class:"dp__input_icons","data-test-id":"clear-icon"})],40,$v)):W("",!0)])):W("",!0)])}}}),Ev=typeof window<"u"?window:void 0,ir=()=>{},Ov=e=>zo()?(Uo(e),!0):!1,Av=(e,n,t,a)=>{if(!e)return ir;let r=ir;const s=at(()=>c(e),o=>{r(),o&&(o.addEventListener(n,t,a),r=()=>{o.removeEventListener(n,t,a),r=ir})},{immediate:!0,flush:"post"}),i=()=>{s(),r()};return Ov(i),i},Iv=(e,n,t,a={})=>{const{window:r=Ev,event:s="pointerdown"}=a;return r?Av(r,s,i=>{const o=it(e),l=it(n);!o||!l||o===i.target||i.composedPath().includes(o)||i.composedPath().includes(l)||t(i)},{passive:!0}):void 0},Cv=["data-dp-mobile"],Rv=te({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...wn},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:n,emit:t}){const a=t,r=e,s=ta(),i=Y(!1),o=Ba(r,"modelValue"),l=Ba(r,"timezone"),v=Y(null),m=Y(null),d=Y(null),p=Y(!1),k=Y(null),P=Y(!1),R=Y(!1),b=Y(!1),_=Y(!1),{setMenuFocused:y,setShiftKey:A}=bo(),{clearArrowNav:S}=aa(),{validateDate:U,isValidTime:D}=na(r),{defaultedTransitions:M,defaultedTextInput:x,defaultedInline:$,defaultedConfig:u,defaultedRange:O,defaultedMultiDates:V}=Ke(r),{menuTransition:ne,showTransition:E}=Ga(M),{isMobile:L}=To(u);Ue(()=>{ie(r.modelValue),ct().then(()=>{if(!$.value.enabled){const q=ee(k.value);q==null||q.addEventListener("scroll",ce),window==null||window.addEventListener("resize",ve)}}),$.value.enabled&&(i.value=!0),window==null||window.addEventListener("keyup",_e),window==null||window.addEventListener("keydown",Ce)}),Ht(()=>{if(!$.value.enabled){const q=ee(k.value);q==null||q.removeEventListener("scroll",ce),window==null||window.removeEventListener("resize",ve)}window==null||window.removeEventListener("keyup",_e),window==null||window.removeEventListener("keydown",Ce)});const N=yt(s,"all",r.presetDates),J=yt(s,"input");at([o,l],()=>{ie(o.value)},{deep:!0});const{openOnTop:le,menuStyle:Q,xCorrect:he,setMenuPosition:z,getScrollableParent:ee,shadowRender:F}=yv({menuRef:v,menuRefInner:m,inputRef:d,pickerWrapperRef:k,inline:$,emit:a,props:r,slots:s}),{inputValue:G,internalModelValue:Z,parseExternalModelValue:ie,emitModelValue:h,formatInputValue:X,checkBeforeEmit:me}=hm(a,r,p),Ge=B(()=>({dp__main:!0,dp__theme_dark:r.dark,dp__theme_light:!r.dark,dp__flex_display:$.value.enabled,"dp--flex-display-collapsed":b.value,dp__flex_display_with_input:$.value.input})),K=B(()=>r.dark?"dp__theme_dark":"dp__theme_light"),Oe=B(()=>r.teleport?{to:typeof r.teleport=="boolean"?"body":r.teleport,disabled:!r.teleport||$.value.enabled}:{}),ae=B(()=>({class:"dp__outer_menu_wrap"})),pe=B(()=>$.value.enabled&&(r.timePicker||r.monthPicker||r.yearPicker||r.quarterPicker)),w=()=>{var q,fe;return((fe=(q=d.value)==null?void 0:q.$el)==null?void 0:fe.getBoundingClientRect())??{width:0,left:0,right:0}},ce=()=>{i.value&&(u.value.closeOnScroll?nt():z())},ve=()=>{var q;i.value&&z();const fe=((q=m.value)==null?void 0:q.$el.getBoundingClientRect().width)??0;b.value=document.body.offsetWidth<=fe},_e=q=>{q.key==="Tab"&&!$.value.enabled&&!r.teleport&&u.value.tabOutClosesMenu&&(k.value.contains(document.activeElement)||nt()),R.value=q.shiftKey},Ce=q=>{R.value=q.shiftKey},Ae=()=>{!r.disabled&&!r.readonly&&(F(Js,r),z(!1),i.value=!0,i.value&&a("open"),i.value||Lt(),ie(r.modelValue))},H=()=>{var q,fe;G.value="",Lt(),(q=m.value)==null||q.onValueCleared(),(fe=d.value)==null||fe.setParsedDate(null),a("update:model-value",null),a("update:model-timezone-value",null),a("cleared"),u.value.closeOnClearValue&&nt()},oe=()=>{const q=Z.value;return!q||!Array.isArray(q)&&U(q)?!0:Array.isArray(q)?V.value.enabled||q.length===2&&U(q[0])&&U(q[1])?!0:O.value.partialRange&&!r.timePicker?U(q[0]):!1:!1},De=()=>{me()&&oe()?(h(),nt()):a("invalid-select",Z.value)},st=q=>{St(),h(),u.value.closeOnAutoApply&&!q&&nt()},St=()=>{d.value&&x.value.enabled&&d.value.setParsedDate(Z.value)},Te=(q=!1)=>{r.autoApply&&D(Z.value)&&oe()&&(O.value.enabled&&Array.isArray(Z.value)?(O.value.partialRange||Z.value.length===2)&&st(q):st(q))},Lt=()=>{x.value.enabled||(Z.value=null)},nt=(q=!1)=>{q&&Z.value&&u.value.setDateOnMenuClose&&De(),$.value.enabled||(i.value&&(i.value=!1,he.value=!1,y(!1),A(!1),S(),a("closed"),G.value&&ie(o.value)),Lt(),a("blur"))},Ea=(q,fe,we=!1)=>{if(!q){Z.value=null;return}const Et=Array.isArray(q)?!q.some(fa=>!U(fa)):U(q),xt=D(q);Et&&xt?(_.value=!0,Z.value=q,fe&&(P.value=we,De(),a("text-submit")),ct().then(()=>{_.value=!1})):a("invalid-date",q)},Mn=()=>{r.autoApply&&D(Z.value)&&h(),St()},Xa=()=>i.value?nt():Ae(),Pn=q=>{Z.value=q},$n=()=>{x.value.enabled&&(p.value=!0,X()),a("focus")},Sn=()=>{if(x.value.enabled&&(p.value=!1,ie(r.modelValue),P.value)){const q=Uf(k.value,R.value);q==null||q.focus()}a("blur")},En=q=>{m.value&&m.value.updateMonthYear(0,{month:fs(q.month),year:fs(q.year)})},On=q=>{ie(q??r.modelValue)},An=(q,fe)=>{var we;(we=m.value)==null||we.switchView(q,fe)},j=(q,fe)=>u.value.onClickOutside?u.value.onClickOutside(q,fe):nt(!0),ue=(q=0)=>{var fe;(fe=m.value)==null||fe.handleFlow(q)},Me=()=>v;return Iv(v,d,q=>j(oe,q)),n({closeMenu:nt,selectDate:De,clearValue:H,openMenu:Ae,onScroll:ce,formatInputValue:X,updateInternalModelValue:Pn,setMonthYear:En,parseModel:On,switchView:An,toggleMenu:Xa,handleFlow:ue,getDpWrapMenuRef:Me}),(q,fe)=>(f(),g("div",{ref_key:"pickerWrapperRef",ref:k,class:ye(Ge.value),"data-datepicker-instance":"","data-dp-mobile":c(L)},[re(Sv,Ne({ref_key:"inputRef",ref:d,"input-value":c(G),"onUpdate:inputValue":fe[0]||(fe[0]=we=>Jr(G)?G.value=we:null),"is-menu-open":i.value},q.$props,{onClear:H,onOpen:Ae,onSetInputDate:Ea,onSetEmptyDate:c(h),onSelectDate:De,onToggle:Xa,onClose:nt,onFocus:$n,onBlur:Sn,onRealBlur:fe[1]||(fe[1]=we=>p.value=!1),onTextInput:fe[2]||(fe[2]=we=>q.$emit("text-input",we))}),ot({_:2},[Se(c(J),(we,Et)=>({name:we,fn:C(xt=>[I(q.$slots,we,ut(vt(xt)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(f(),de(bt(q.teleport?Bo:"div"),ut(vt(Oe.value)),{default:C(()=>[re(Ft,{name:c(ne)(c(le)),css:c(E)&&!c($).enabled},{default:C(()=>[i.value?(f(),g("div",Ne({key:0,ref_key:"dpWrapMenuRef",ref:v},ae.value,{class:{"dp--menu-wrapper":!c($).enabled},style:c($).enabled?void 0:c(Q)}),[re(Js,Ne({ref_key:"dpMenuRef",ref:m},q.$props,{"internal-model-value":c(Z),"onUpdate:internalModelValue":fe[3]||(fe[3]=we=>Jr(Z)?Z.value=we:null),class:{[K.value]:!0,"dp--menu-wrapper":q.teleport},"open-on-top":c(le),"no-overlay-focus":pe.value,collapse:b.value,"get-input-rect":w,"is-text-input-date":_.value,onClosePicker:nt,onSelectDate:De,onAutoApply:Te,onTimeUpdate:Mn,onFlowStep:fe[4]||(fe[4]=we=>q.$emit("flow-step",we)),onUpdateMonthYear:fe[5]||(fe[5]=we=>q.$emit("update-month-year",we)),onInvalidSelect:fe[6]||(fe[6]=we=>q.$emit("invalid-select",c(Z))),onAutoApplyInvalid:fe[7]||(fe[7]=we=>q.$emit("invalid-select",we)),onInvalidFixedRange:fe[8]||(fe[8]=we=>q.$emit("invalid-fixed-range",we)),onRecalculatePosition:c(z),onTooltipOpen:fe[9]||(fe[9]=we=>q.$emit("tooltip-open",we)),onTooltipClose:fe[10]||(fe[10]=we=>q.$emit("tooltip-close",we)),onTimePickerOpen:fe[11]||(fe[11]=we=>q.$emit("time-picker-open",we)),onTimePickerClose:fe[12]||(fe[12]=we=>q.$emit("time-picker-close",we)),onAmPmChange:fe[13]||(fe[13]=we=>q.$emit("am-pm-change",we)),onRangeStart:fe[14]||(fe[14]=we=>q.$emit("range-start",we)),onRangeEnd:fe[15]||(fe[15]=we=>q.$emit("range-end",we)),onDateUpdate:fe[16]||(fe[16]=we=>q.$emit("date-update",we)),onInvalidDate:fe[17]||(fe[17]=we=>q.$emit("invalid-date",we)),onOverlayToggle:fe[18]||(fe[18]=we=>q.$emit("overlay-toggle",we)),onMenuBlur:fe[19]||(fe[19]=we=>q.$emit("blur"))}),ot({_:2},[Se(c(N),(we,Et)=>({name:we,fn:C(xt=>[I(q.$slots,we,ut(vt({...xt})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):W("",!0)]),_:3},8,["name","css"])]),_:3},16))],10,Cv))}}),Ve=(()=>{const e=Rv;return e.install=n=>{n.component("Vue3DatePicker",e)},e})(),Nv=Object.freeze(Object.defineProperty({__proto__:null,default:Ve},Symbol.toStringTag,{value:"Module"}));Object.entries(Nv).forEach(([e,n])=>{e!=="default"&&(Ve[e]=n)});const Vv={class:"demo-wrap"},Lv={class:"action-row"},Bv={class:"current-selection"},Wv=["onClick"],Yv=te({__name:"ActionRowSlotDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=r=>wt(r,"dd.MM.yyyy, HH:mm");return(r,s)=>(f(),g("div",Vv,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t)},{"action-row":C(({internalModelValue:i,selectDate:o})=>[T("div",Lv,[T("p",Bv,be(a(i)),1),T("button",{class:"select-button",onClick:o},"Select Date",8,Wv)])]),_:1},8,["modelValue","dark"])]))}}),jv={class:"demo-wrap"},Fv=te({__name:"CustomCalendarDemo",props:{},setup(e){const{isDark:n}=Le(),t=Y(),a=r=>r.filter(s=>s.days.some(i=>i.text===15)).map(s=>({...s,days:s.days.map(i=>(i.classData["custom-class"]=!0,i))}));return(r,s)=>(f(),g("div",jv,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":s[0]||(s[0]=i=>t.value=i)},r.$props,{dark:c(n),calendar:a,placeholder:"Select Date"}),null,16,["modelValue","dark"])]))}}),Hv={class:"demo-wrap"},zv=te({__name:"DarkDemo",props:["placeholder"],setup(e){const n=Y(new Date);return(t,a)=>(f(),g("div",Hv,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=r=>n.value=r),placeholder:e.placeholder,dark:""},null,8,["modelValue","placeholder"])]))}}),Uv={class:"demo-wrap"},Gv=te({__name:"DemoDayClass",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=r=>ia(r,rt(Fe(new Date,{hours:0,minutes:0,seconds:0,milliseconds:0}),1))?"marked-cell":"";return(r,s)=>(f(),g("div",Uv,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t),"day-class":a},null,8,["modelValue","dark"])]))}}),Kv={class:"demo-wrap"},Xv=te({__name:"DemoHighlight",props:["disabled"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=e,r=B(()=>[rt(new Date,1),rt(new Date,2),rt(new Date,3)]),s=B(()=>a.disabled?r.value:[]),i=B(()=>({dates:a.disabled?s.value:r.value,options:{highlightDisabled:!0}}));return(o,l)=>(f(),g("div",Kv,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":l[0]||(l[0]=v=>n.value=v),dark:c(t),highlight:i.value,"disabled-dates":s.value},null,8,["modelValue","dark","highlight","disabled-dates"])]))}}),qv={class:"demo-wrap"},Qv=te({__name:"DemoMarkers",props:["useMarkerTooltipSlot","useMarkerSlot"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=B(()=>[{date:rt(new Date,1),type:"dot",tooltip:[{text:"Dot with tooltip",color:"green"}]},{date:rt(new Date,2),type:"line",tooltip:[{text:"First tooltip",color:"blue"},{text:"Second tooltip",color:"yellow"}]},{date:rt(new Date,3),type:"dot",color:"yellow"}]);return(r,s)=>(f(),g("div",qv,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t),markers:a.value},ot({_:2},[e.useMarkerTooltipSlot?{name:"marker-tooltip",fn:C(({day:i})=>[T("div",null,"Custom content on "+be(i),1)]),key:"0"}:void 0,e.useMarkerSlot?{name:"marker",fn:C(({day:i})=>[s[1]||(s[1]=T("span",{class:"custom-marker"},null,-1))]),key:"1"}:void 0]),1032,["modelValue","dark","markers"])]))}}),Ot="/logo.png",Zv=["value"],Jv=["onClick"],eb={key:0,class:"slot-icon",src:Ot,alt:"logo"},tb=["onClick"],ab=["onClick"],nb={class:"time-picker-overlay"},rb=["value","onChange"],sb=["value"],ib=["value","onChange"],ob=["value"],lb={class:"overlay-header"},ub=["onClick"],cb={class:"overlay-header"},db=["onClick"],_b={key:0},pb={key:1},fb=te({__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 n=Y(new Date),{isDark:t}=Le(),a=Y(null),r=B(()=>new Date().getDate()+1),s=B(()=>m=>`Selected ${new Date(m).getDate()}`),i=B(()=>{const m=[];for(let d=0;d<24;d++)m.push({text:d<10?`0${d}`:d,value:d});return m}),o=B(()=>{const m=[];for(let d=0;d<60;d++)m.push({text:d<10?`0${d}`:d,value:d});return m}),l=()=>{a.value&&a.value.selectDate()},v=m=>wt(m,"QQQ");return(m,d)=>(f(),g("div",{class:ye(["demo-wrap",e.useDpInputSlot||e.useTriggerSlot?"demo-wrap-inline":""])},[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":d[0]||(d[0]=p=>n.value=p),placeholder:e.placeholder,dark:c(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:a},ot({_:2},[e.useTriggerSlot?{name:"trigger",fn:C(()=>[d[1]||(d[1]=T("p",{class:"clickable-text"},"This is some custom clickable text that will open datepicker",-1))]),key:"0"}:void 0,e.useDpInputSlot?{name:"dp-input",fn:C(({value:p})=>[T("input",{class:"input-class",type:"text",value:p},null,8,Zv)]),key:"1"}:void 0,e.useInputIconSlot?{name:"input-icon",fn:C(()=>[d[2]||(d[2]=T("img",{class:"input-slot-image",src:Ot,alt:"logo"},null,-1))]),key:"2"}:void 0,e.useClearIconSlot?{name:"clear-icon",fn:C(({clear:p})=>[T("img",{class:"input-slot-image-clear",src:Ot,onClick:p,alt:"logo"},null,8,Jv)]),key:"3"}:void 0,e.useClockIconSlot?{name:"clock-icon",fn:C(()=>[d[3]||(d[3]=T("img",{class:"slot-icon",src:Ot,alt:"logo"},null,-1))]),key:"4"}:void 0,e.useArrowLeftSlot?{name:"arrow-left",fn:C(()=>[d[4]||(d[4]=T("img",{class:"slot-icon",src:Ot,alt:"logo"},null,-1))]),key:"5"}:void 0,e.useArrowRightSlot?{name:"arrow-right",fn:C(()=>[d[5]||(d[5]=T("img",{class:"slot-icon",src:Ot,alt:"logo"},null,-1))]),key:"6"}:void 0,e.useArrowUpSlot?{name:"arrow-up",fn:C(()=>[d[6]||(d[6]=T("img",{class:"slot-icon-m",src:Ot,alt:"logo"},null,-1))]),key:"7"}:void 0,e.useArrowDownSlot?{name:"arrow-down",fn:C(()=>[d[7]||(d[7]=T("img",{class:"slot-icon-m",src:Ot,alt:"logo"},null,-1))]),key:"8"}:void 0,e.useCalendarIconSlot?{name:"calendar-icon",fn:C(()=>[d[8]||(d[8]=T("img",{class:"slot-icon",src:Ot,alt:"logo"},null,-1))]),key:"9"}:void 0,e.useDaySlot?{name:"day",fn:C(({day:p})=>[p===r.value?(f(),g("img",eb)):(f(),g(ge,{key:1},[Ye(be(p),1)],64))]),key:"10"}:void 0,e.useActionButtonSlot?{name:"action-buttons",fn:C(()=>[T("p",{class:"custom-select",onClick:l},"Select")]),key:"11"}:void 0,e.useActionPreviewSlot?{name:"action-preview",fn:C(({value:p})=>[Ye(be(s.value(p)),1)]),key:"12"}:void 0,e.useHoursSlot?{name:"hours",fn:C(({value:p})=>[Ye(be(p),1)]),key:"13"}:void 0,e.useMinutesSlot?{name:"minutes",fn:C(({value:p})=>[Ye(be(p),1)]),key:"14"}:void 0,e.useMonthSlot?{name:"month",fn:C(({value:p})=>[Ye(be(p),1)]),key:"15"}:void 0,e.useYearSlot?{name:"year",fn:C(({value:p})=>[Ye(be(p),1)]),key:"16"}:void 0,e.useHoursOverlaySlot?{name:"hours-overlay-value",fn:C(({value:p})=>[Ye(be(p),1)]),key:"17"}:void 0,e.useMinutesOverlaySlot?{name:"minutes-overlay-value",fn:C(({value:p})=>[Ye(be(p),1)]),key:"18"}:void 0,e.useMonthOverlaySlot?{name:"month-overlay-value",fn:C(({value:p})=>[Ye(be(p),1)]),key:"19"}:void 0,e.useYearOverlaySlot?{name:"year-overlay-value",fn:C(({value:p})=>[Ye(be(p),1)]),key:"20"}:void 0,e.useCalendarHeaderSlot?{name:"calendar-header",fn:C(({index:p,day:k})=>[T("div",{class:ye(p===5||p===6?"red-color":"")},be(k),3)]),key:"21"}:void 0,e.useActionExtraSlot?{name:"action-extra",fn:C(({selectCurrentDate:p})=>[T("span",{onClick:k=>p(),title:"Select current date",class:"pointer"},d[9]||(d[9]=[T("img",{class:"slot-icon centered",src:Ot},null,-1)]),8,tb)]),key:"22"}:void 0,e.useAmPmButtonSlot?{name:"am-pm-button",fn:C(({toggle:p,value:k})=>[T("button",{onClick:p},be(k),9,ab)]),key:"23"}:void 0,e.useTimePickerOverlay?{name:"time-picker-overlay",fn:C(({hours:p,minutes:k,setHours:P,setMinutes:R})=>[T("div",nb,[T("select",{class:"select-input",value:p,onChange:b=>P(+b.target.value)},[(f(!0),g(ge,null,Se(i.value,b=>(f(),g("option",{key:b.value,value:b.value},be(b.text),9,sb))),128))],40,rb),T("select",{class:"select-input",value:k,onChange:b=>R(+b.target.value)},[(f(!0),g(ge,null,Se(o.value,b=>(f(),g("option",{key:b.value,value:b.value},be(b.text),9,ob))),128))],40,ib)])]),key:"24"}:void 0,e.useLeftSidebarSlot?{name:"left-sidebar",fn:C(()=>[d[10]||(d[10]=T("div",{class:"dp-sidebar"},"Custom content",-1))]),key:"25"}:void 0,e.useRightSidebarSlot?{name:"right-sidebar",fn:C(()=>[d[11]||(d[11]=T("div",{class:"dp-sidebar"},"Custom content",-1))]),key:"26"}:void 0,e.useMonthOverlayHeaderSlot?{name:"month-overlay-header",fn:C(({toggle:p})=>[T("div",lb,[T("span",{onClick:p,class:"pointer"},be("< Go back"),8,ub)])]),key:"27"}:void 0,e.useYearOverlayHeaderSlot?{name:"year-overlay-header",fn:C(({toggle:p})=>[T("div",cb,[T("span",{onClick:p,class:"pointer"},be("< Go back"),8,db)])]),key:"28"}:void 0,e.useQuarterSlot?{name:"quarter",fn:C(({value:p})=>[T("span",null,be(v(p)),1)]),key:"29"}:void 0,e.useTopExtraSlot?{name:"top-extra",fn:C(({value:p})=>[p?(f(),g("span",_b,"Selected date: "+be(p.getDate()),1)):(f(),g("span",pb,"No date selected"))]),key:"30"}:void 0,e.useMenuHeaderSlot?{name:"menu-header",fn:C(()=>[d[12]||(d[12]=T("div",{class:"my-header"},"My custom header",-1))]),key:"31"}:void 0,e.useHoursOverlayHeaderSlot?{name:"hours-overlay-header",fn:C(()=>[d[13]||(d[13]=T("div",{class:"overlay-header"},[T("span",null,"Hours")],-1))]),key:"32"}:void 0,e.useMinutesOverlayHeaderSlot?{name:"minutes-overlay-header",fn:C(()=>[d[14]||(d[14]=T("div",{class:"overlay-header"},[T("span",null,"Minutes")],-1))]),key:"33"}:void 0,e.useSecondsOverlayHeaderSlot?{name:"seconds-overlay-header",fn:C(()=>[d[15]||(d[15]=T("div",{class:"overlay-header"},[T("span",null,"Seconds")],-1))]),key:"34"}:void 0,e.useTpInlineArrowUp?{name:"tp-inline-arrow-up",fn:C(()=>[d[16]||(d[16]=T("span",{class:"my-icon"},[T("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[T("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))]),key:"35"}:void 0,e.useTpInlineArrowDown?{name:"tp-inline-arrow-down",fn:C(()=>[d[17]||(d[17]=T("span",{class:"my-icon"},[T("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},[T("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))]),key:"36"}:void 0]),1032,["modelValue","placeholder","dark","position","quarter-picker","enable-seconds","time-picker-inline","is24"])],2))}}),hb={class:"demo-wrap"},mb=te({__name:"DisabledDatesDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=B(()=>{const r=new Date,s=new Date(r);s.setDate(s.getDate()+1);const i=new Date(s);return i.setDate(s.getDate()+1),[s,i]});return(r,s)=>(f(),g("div",hb,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t),"disabled-dates":a.value},null,8,["modelValue","dark","disabled-dates"])]))}}),vb={class:"demo-wrap"},bb=te({__name:"DisabledRangeDateDemo",props:{},setup(e){const{isDark:n}=Le(),t=Y([]),a=[Rr(new Date,1),new Date,rt(new Date,1)];return(r,s)=>(f(),g("div",vb,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":s[0]||(s[0]=i=>t.value=i)},r.$props,{dark:c(n),range:{noDisabledRange:!0},"disabled-dates":a,placeholder:"Select range"}),null,16,["modelValue","dark"])]))}}),gb={class:"demo-wrap"},yb={class:"buttons-wrap"},kb=["onClick"],wb=te({__name:"DisabledTimesDemo",props:{},setup(e){const{isDark:n}=Le(),t=Y(null),a=["single","range"],r=Y("single"),s=B(()=>r.value==="range"),i=[{hours:15,minutes:"*"},{hours:16,minutes:15},{hours:16,minutes:20},{hours:17,minutes:30}],o=[[{hours:12,minutes:"*"},{hours:9,minutes:10}],i],l=v=>{t.value=null,r.value=v};return(v,m)=>(f(),g("div",gb,[T("div",yb,[(f(),g(ge,null,Se(a,(d,p)=>T("button",{class:ye(["change-btn",{"btn-active":d===r.value}]),key:p,onClick:k=>l(d)},be(d),11,kb)),64))]),re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":m[0]||(m[0]=d=>t.value=d),placeholder:"Select date"},v.$props,{dark:c(n),"disabled-times":s.value?o:i,range:s.value}),null,16,["modelValue","dark","disabled-times","range"])]))}}),xb=xe(wb,[["__scopeId","data-v-6bf8e806"]]),Db={class:"demo-wrap"},Tb={key:0},Mb=te({__name:"DisplayModelDemo",props:["modelType","modelAuto","range"],setup(e){const n=Y(),{isDark:t}=Le();return(a,r)=>(f(),g("div",Db,[re(c(Ve),Ne({modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=s=>n.value=s),dark:c(t)},a.$props,{placeholder:"Select Date"}),null,16,["modelValue","dark"]),n.value?(f(),g("p",Tb,"Selected date: "+be(n.value),1)):W("",!0)]))}}),Pb={class:"demo-wrap"},$b=te({__name:"EmitTimezone",setup(e){const{isDark:n}=Le(),t=Y(),a=Y(),r=s=>{a.value=s};return(s,i)=>(f(),g("div",Pb,[t.value&&a.value?(f(),g(ge,{key:0},[T("div",null,"Local timezone date: "+be(t.value),1),T("div",null,"UTC date: "+be(a.value),1)],64)):W("",!0),re(c(Ve),{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=o=>t.value=o),placeholder:"Select date","emit-timezone":"UTC",dark:c(n),"onUpdate:modelTimezoneValue":r},null,8,["modelValue","dark"])]))}}),Sb={class:"demo-wrap"},Eb=te({__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 n=e,t=Y(),{isDark:a}=Le(),r=B(()=>{if(n.allowedDates)return[new Date,new Date(new Date().setDate(new Date().getDate()+1))]});return(s,i)=>(f(),g("div",Sb,[re(c(Ve),{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=o=>t.value=o),placeholder:e.placeholder,dark:c(a),"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":r.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"])]))}}),Ob={class:"demo-wrap"},Ab=te({__name:"FiltersDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=B(()=>{const r=new Date;return{months:Array.from(Array(3).keys()).map(s=>Ee(kt(r,s+1)))}});return(r,s)=>(f(),g("div",Ob,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t),placeholder:"Select Date",filters:a.value},null,8,["modelValue","dark","filters"])]))}}),Ib={class:"demo-wrap"},Cb=te({__name:"FormatDemo",props:["placeholder"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=r=>{const s=r.getDate(),i=r.getMonth()+1,o=r.getFullYear();return`Selected date is ${s}/${i}/${o}`};return(r,s)=>(f(),g("div",Ib,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),placeholder:e.placeholder,format:a,dark:c(t)},null,8,["modelValue","placeholder","dark"])]))}}),Rb={class:"demo-wrap"},Nb=te({__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","alwaysClearable"],setup(e){const n=e,t=Y(null),a=Y(!1),{isDark:r}=Le(),s=B({get:()=>{if(a.value||n.maxTime||n.minTime||n.startDate&&!n.focusStartDate||n.startTime)return null;if(t.value)return t.value;if(n.monthPicker)return{month:new Date().getMonth(),year:new Date().getFullYear()};if(n.yearPicker)return new Date().getFullYear();if(n.timePicker){const i=new Date;return{hours:i.getHours(),minutes:i.getMinutes()}}if(n.range){const i=new Date,o=new Date(new Date().setDate(i.getDate()+7));return[i,o]}return new Date},set:i=>{a.value=!i,t.value=i}});return(i,o)=>(f(),g("div",Rb,[re(c(Ve),Ne({modelValue:s.value,"onUpdate:modelValue":o[0]||(o[0]=l=>s.value=l)},i.$props,{dark:c(r)}),null,16,["modelValue","dark"])]))}}),Vb={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}}年近く"}},Lb=(e,n,t)=>{t=t||{};let a;const r=Vb[e];return typeof r=="string"?a=r:n===1?t.addSuffix&&r.oneWithSuffix?a=r.oneWithSuffix:a=r.one:t.addSuffix&&r.otherWithSuffix?a=r.otherWithSuffix.replace("{{count}}",String(n)):a=r.other.replace("{{count}}",String(n)),t.addSuffix?t.comparison&&t.comparison>0?a+"後":a+"前":a},Bb={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},Wb={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Yb={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},jb={date:ya({formats:Bb,defaultWidth:"full"}),time:ya({formats:Wb,defaultWidth:"full"}),dateTime:ya({formats:Yb,defaultWidth:"full"})},Fb={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},Hb=(e,n,t,a)=>Fb[e],zb={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},Ub={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},Gb={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月"]},Kb={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},Xb={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:"深夜"}},qb={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:"深夜"}},Qb=(e,n)=>{const t=Number(e);switch(String(n==null?void 0:n.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}`}},Zb={ordinalNumber:Qb,era:At({values:zb,defaultWidth:"wide"}),quarter:At({values:Ub,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:At({values:Gb,defaultWidth:"wide"}),day:At({values:Kb,defaultWidth:"wide"}),dayPeriod:At({values:Xb,defaultWidth:"wide",formattingValues:qb,defaultFormattingWidth:"wide"})},Jb=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,eg=/\d+/i,tg={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},ag={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},ng={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},rg={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},sg={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},ig={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},og={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},lg={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},ug={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},cg={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},dg={ordinalNumber:xi({matchPattern:Jb,parsePattern:eg,valueCallback:function(e){return parseInt(e,10)}}),era:It({matchPatterns:tg,defaultMatchWidth:"wide",parsePatterns:ag,defaultParseWidth:"any"}),quarter:It({matchPatterns:ng,defaultMatchWidth:"wide",parsePatterns:rg,defaultParseWidth:"any",valueCallback:e=>e+1}),month:It({matchPatterns:sg,defaultMatchWidth:"wide",parsePatterns:ig,defaultParseWidth:"any"}),day:It({matchPatterns:og,defaultMatchWidth:"wide",parsePatterns:lg,defaultParseWidth:"any"}),dayPeriod:It({matchPatterns:ug,defaultMatchWidth:"any",parsePatterns:cg,defaultParseWidth:"any"})},_g={code:"ja",formatDistance:Lb,formatLong:jb,formatRelative:Hb,localize:Zb,match:dg,options:{weekStartsOn:0,firstWeekContainsDate:1}},pg={class:"demo-wrap"},fg=te({__name:"LocalizedOutput",setup(e){const n=Y(new Date),{isDark:t}=Le();return(a,r)=>(f(),g("div",pg,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=s=>n.value=s),dark:c(t),placeholder:"Select Date","format-locale":c(_g),format:"E"},null,8,["modelValue","dark","format-locale"])]))}}),hg={class:"demo-wrap"},mg=te({__name:"MinMaxDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=B(()=>jt(new Date($e(new Date),Ee(new Date)),2)),r=B(()=>kt(new Date($e(new Date),Ee(new Date)),2));return(s,i)=>(f(),g("div",hg,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=o=>n.value=o),placeholder:"Select Date",dark:c(t),"min-date":a.value,"max-date":r.value,"prevent-min-max-navigation":""},null,8,["modelValue","dark","min-date","max-date"])]))}}),vg={class:"demo-wrap"},bg=te({__name:"MonthPickerDemo",props:{autoApplyMonth:{type:Boolean,default:!0}},setup(e){const{isDark:n}=Le(),t=Y({month:new Date().getMonth(),year:new Date().getFullYear()});return(a,r)=>(f(),g("div",vg,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=s=>t.value=s)},a.$props,{dark:c(n),"month-picker":""}),null,16,["modelValue","dark"])]))}}),gg={},yg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"};function kg(e,n){return f(),g("svg",yg,n[0]||(n[0]=[T("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)]))}const wg=xe(gg,[["render",kg]]),xg={},Dg={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",class:"dp__icon"};function Tg(e,n){return f(),g("svg",Dg,n[0]||(n[0]=[T("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)]))}const Mg=xe(xg,[["render",Tg]]),Pg={class:"demo-wrap"},$g={class:"custom-month-year-component"},Sg=["value","onChange"],Eg=["value"],Og=["value","onChange"],Ag=["value"],Ig={class:"icons"},Cg=["onClick"],Rg=["onClick"],Ng={class:"custom-month-year-component"},Vg=["value","onChange"],Lg=["value"],Bg=["onClick"],Wg={class:"year-overlay"},Yg=["value","onChange"],jg=["value"],Fg=["onClick"],Hg=te({__name:"MonthYearSlotDemo",props:["defaultSlot","monthOverlaySlot","yearOverlaySlot"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=(s,i,o,l)=>{i(+s.target.value,o),l&&l()},r=(s,i,o,l)=>{i(o,+s.target.value),l&&l()};return(s,i)=>(f(),g("div",Pg,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=o=>n.value=o),dark:c(t)},ot({_:2},[e.defaultSlot?{name:"month-year",fn:C(({month:o,year:l,months:v,years:m,updateMonthYear:d,handleMonthYearChange:p})=>[T("div",$g,[T("select",{class:"select-input",value:o,onChange:k=>a(k,d,l)},[(f(!0),g(ge,null,Se(v,k=>(f(),g("option",{key:k.value,value:k.value},be(k.text),9,Eg))),128))],40,Sg),T("select",{class:"select-input",value:l,onChange:k=>r(k,d,o)},[(f(!0),g(ge,null,Se(m,k=>(f(),g("option",{key:k.value,value:k.value},be(k.text),9,Ag))),128))],40,Og)]),T("div",Ig,[T("span",{class:"custom-icon",onClick:k=>p(!1)},[re(wg)],8,Cg),T("span",{class:"custom-icon",onClick:k=>p(!0)},[re(Mg)],8,Rg)])]),key:"0"}:void 0,e.monthOverlaySlot?{name:"month-overlay",fn:C(({month:o,year:l,items:v,updateMonthYear:m,toggle:d})=>[T("div",Ng,[T("select",{class:"select-input",value:o,onChange:p=>a(p,m,l,d)},[(f(!0),g(ge,null,Se(v,p=>(f(),g("option",{key:p.value,value:p.value},be(p.text),9,Lg))),128))],40,Vg)]),T("button",{onClick:d},"Close",8,Bg)]),key:"1"}:void 0,e.yearOverlaySlot?{name:"year-overlay",fn:C(({month:o,year:l,items:v,updateMonthYear:m,toggle:d})=>[T("div",Wg,[T("div",null,[T("select",{class:"select-input",value:l,onChange:p=>r(p,m,o,d)},[(f(!0),g(ge,null,Se(v,p=>(f(),g("option",{key:p.value,value:p.value},be(p.text),9,jg))),128))],40,Yg)]),T("button",{onClick:d},"Close",8,Fg)])]),key:"2"}:void 0]),1032,["modelValue","dark"])]))}}),zg={class:"demo-wrap"},Ug=["onClick"],Gg=te({__name:"PresetRange",setup(e){const n=Y(),{isDark:t}=Le(),a=Y([{label:"Today",value:[new Date,new Date]},{label:"Today (Slot)",value:[new Date,new Date],slot:"preset-date-range-button"},{label:"This month",value:[dr(new Date),is(new Date)]},{label:"Last month",value:[dr(jt(new Date,1)),is(jt(new Date,1))]},{label:"This year",value:[xa(new Date),Sr(new Date)]}]);return(r,s)=>(f(),g("div",zg,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),placeholder:"Select Date",dark:c(t),range:"","preset-dates":a.value},{"preset-date-range-button":C(({label:i,value:o,presetDate:l})=>[T("span",{role:"button",tabindex:0,onClick:v=>l(o)},be(i),9,Ug)]),_:1},8,["modelValue","dark","preset-dates"])]))}}),Kg={class:"demo-wrap"},Xg=te({__name:"PreviewFormatDemo",props:["placeholder"],setup(e){const n=Y(new Date),{isDark:t}=Le(),a=r=>{const s=r.getDate(),i=r.getMonth()+1,o=r.getFullYear();return`Selected date is ${s}/${i}/${o}`};return(r,s)=>(f(),g("div",Kg,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),placeholder:e.placeholder,"preview-format":a,dark:c(t)},null,8,["modelValue","placeholder","dark"])]))}}),qg={class:"demo-wrap"},Qg=te({__name:"QuarterPickerDemo",setup(e){const{isDark:n}=Le(),t=Y(qt(new Date));return(a,r)=>(f(),g("div",qg,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=s=>t.value=s)},a.$props,{dark:c(n),"quarter-picker":""}),null,16,["modelValue","dark"])]))}}),Zg={class:"demo-wrap"},Jg=te({__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 n=e,{isDark:t}=Le(),a=B(()=>{var s,i,o;return typeof n.range=="object"?((s=n.range)==null?void 0:s.autoRange)||((i=n.range)==null?void 0:i.maxRange)||((o=n.range)==null?void 0:o.minRange):!1}),r=Y(a.value?null:[new Date,new Date(new Date().setDate(new Date().getDate()+7))]);return(s,i)=>(f(),g("div",Zg,[re(c(Ve),Ne({modelValue:r.value,"onUpdate:modelValue":i[0]||(i[0]=o=>r.value=o)},s.$props,{dark:c(t),rang:e.range,placeholder:e.placeholder}),null,16,["modelValue","dark","rang","placeholder"])]))}}),ey={class:"demo-wrap"},ty=te({__name:"RequiredDemo",setup(e){const n=Y(),{isDark:t}=Le(),a=()=>{alert("Form submitted")};return(r,s)=>(f(),g("div",ey,[T("form",{onSubmit:ca(a,["prevent"])},[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=i=>n.value=i),dark:c(t),placeholder:"Select Date",required:""},null,8,["modelValue","dark"]),s[1]||(s[1]=T("button",{class:"submit-btn",type:"submit"},"Submit form",-1))],32)]))}}),ay={class:"demo-wrap"},ny={class:"buttons-wrap"},ry=["onClick"],sy=te({__name:"SixWeeksDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=[!0,"append","prepend","center","fair"],r=Y(!0);return(s,i)=>(f(),g("div",ay,[T("div",ny,[(f(),g(ge,null,Se(a,(o,l)=>T("button",{class:ye(["change-btn",{"btn-active":o===r.value}]),key:l,onClick:v=>r.value=o},be(o),11,ry)),64))]),re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=o=>n.value=o),dark:c(t),"six-weeks":r.value},null,8,["modelValue","dark","six-weeks"])]))}}),iy=xe(sy,[["__scopeId","data-v-9aafd744"]]),oy={class:"demo-wrap"},ly=te({__name:"TextInputDemo",props:["textInput","placeholder","minDate","maxDate"],setup(e){const n=Y(new Date),{isDark:t}=Le();return(a,r)=>(f(),g("div",oy,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=s=>n.value=s),dark:c(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"])]))}}),uy={class:"demo-wrap"},cy=te({__name:"TimePickerDemo",props:["modeHeight"],setup(e){const{isDark:n}=Le(),t=Y({hours:new Date().getHours(),minutes:new Date().getMinutes()});return(a,r)=>(f(),g("div",uy,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=s=>t.value=s)},a.$props,{dark:c(n),"time-picker":""}),null,16,["modelValue","dark"])]))}}),dy={class:"demo-wrap"},_y={class:"custom-time-picker-component"},py=["value","onChange"],fy=["value"],hy=["value","onChange"],my=["value"],vy=te({__name:"TimePickerSlotDemo",setup(e){const n=Y(new Date),{isDark:t}=Le(),a=B(()=>{const s=[];for(let i=0;i<24;i++)s.push({text:i<10?`0${i}`:i,value:i});return s}),r=B(()=>{const s=[];for(let i=0;i<60;i++)s.push({text:i<10?`0${i}`:i,value:i});return s});return(s,i)=>(f(),g("div",dy,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=o=>n.value=o),dark:c(t)},{"time-picker":C(({time:o,updateTime:l})=>[T("div",_y,[T("select",{class:"select-input",value:o.hours,onChange:v=>l(+v.target.value)},[(f(!0),g(ge,null,Se(a.value,v=>(f(),g("option",{key:v.value,value:v.value},be(v.text),9,fy))),128))],40,py),T("select",{class:"select-input",value:o.minutes,onChange:v=>l(+v.target.value,!1)},[(f(!0),g(ge,null,Se(r.value,v=>(f(),g("option",{key:v.value,value:v.value},be(v.text),9,my))),128))],40,hy)])]),_:1},8,["modelValue","dark"])]))}}),by={class:"demo-wrap"},gy={key:0},yy=te({__name:"TimezoneDemo",setup(e){const n=Y(),{isDark:t}=Le();return(a,r)=>(f(),g("div",by,[re(c(Ve),{modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=s=>n.value=s),dark:c(t),utc:"",placeholder:"Select Date"},null,8,["modelValue","dark"]),n.value?(f(),g("p",gy,"Selected date in UTC format: "+be(n.value),1)):W("",!0)]))}}),ky={class:"demo-wrap"},wy=te({__name:"YearPickerDemo",props:{},setup(e){const{isDark:n}=Le(),t=Y(new Date().getFullYear());return(a,r)=>(f(),g("div",ky,[re(c(Ve),Ne({modelValue:t.value,"onUpdate:modelValue":r[0]||(r[0]=s=>t.value=s)},a.$props,{dark:c(n),"year-picker":""}),null,16,["modelValue","dark"])]))}}),xy={class:"tz-demo-wrap"},Dy={class:"dp-container-wrap"},Ty={class:"tz-range-slider-wrap"},My={key:0},Py=te({__name:"TimezoneNewDemo",props:{timezone:{type:Object,default:void 0},emitVal:{type:Boolean,default:!1}},setup(e){const{isDark:n}=Le(),t=e,a=Y(),r=Y(11),s=Y(),i=B(()=>{var p,k;if(t.emitVal)return;const d=Ee(new Date)+1>9?Ee(new Date)+1:`0${Ee(new Date)+1}`;return(p=t.timezone)!=null&&p.exactMatch?new Date:(k=t.timezone)!=null&&k.dateInTz?`${$e(new Date)}-${d}-15T01:00:00Z`:`${$e(new Date)}-${d}-15T01:00:00Z`}),o=[{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}],l=B(()=>o[r.value]),v=B(()=>{const d=t.emitVal?{emitTimezone:l.value.tz}:{timezone:l.value.tz};return t.timezone?{...t.timezone,...d}:d}),m=d=>{s.value=d.toISOString()};return(d,p)=>(f(),g("div",xy,[T("div",Dy,[re(c(Ve),{modelValue:a.value,"onUpdate:modelValue":p[0]||(p[0]=k=>a.value=k),dark:c(n),timezone:v.value,inline:"","auto-apply":"","max-date":i.value,"onUpdate:modelTimezoneValue":m},null,8,["modelValue","dark","timezone","max-date"])]),T("div",Ty,[T("div",null,[T("span",null,"Timezone: "+be(l.value.tz),1),p[2]||(p[2]=T("br",null,null,-1)),T("span",null,"Offset: "+be(l.value.offset>0?`+${l.value.offset}`:l.value.offset),1),p[3]||(p[3]=T("br",null,null,-1)),s.value?(f(),g("span",My,"Zoned date: "+be(s.value),1)):W("",!0)]),T("div",null,[Na(T("input",{class:"tz-range-slider",type:"range","onUpdate:modelValue":p[1]||(p[1]=k=>r.value=k),min:"0",max:"22"},null,512),[[Go,r.value]])])])]))}}),$y=xe(Py,[["__scopeId","data-v-76aa1e38"]]),Oy={extends:P_,enhanceApp({app:e}){e.component("StarAndSponsor",O_),e.component("ActionRowSlotDemo",Yv),e.component("CustomCalendarDemo",Fv),e.component("DarkDemo",zv),e.component("DemoDayClass",Gv),e.component("DemoHighlight",Xv),e.component("DemoMarkers",Qv),e.component("DemoSlots",fb),e.component("DisabledDatesDemo",mb),e.component("DisabledRangeDateDemo",bb),e.component("DisabledTimesDemo",xb),e.component("DisplayModelDemo",Mb),e.component("EmitTimezone",$b),e.component("EmptyDemo",Eb),e.component("FiltersDemo",Ab),e.component("FormatDemo",Cb),e.component("GlobalDemo",Nb),e.component("LocalizedOutput",fg),e.component("MinMaxDemo",mg),e.component("MonthPickerDemo",bg),e.component("MonthYearSlotDemo",Hg),e.component("PresetRange",Gg),e.component("PreviewFormatDemo",Xg),e.component("QuarterPickerDemo",Qg),e.component("RangeDemo",Jg),e.component("RequiredDemo",ty),e.component("SixWeeksDemo",iy),e.component("TextInputDemo",ly),e.component("TimePickerDemo",cy),e.component("TimePickerSlotDemo",vy),e.component("TimezoneDemo",yy),e.component("YearPickerDemo",wy),e.component("TimezoneNewDemo",$y)}};export{Oy as R,_l as a,Ie as u}; diff --git a/docs/assets/chunks/ui-custom.DDcoaaN9.js b/docs/assets/chunks/ui-custom.BABGA34D.js similarity index 82% rename from docs/assets/chunks/ui-custom.DDcoaaN9.js rename to docs/assets/chunks/ui-custom.BABGA34D.js index 1d767d44..94bb2370 100644 --- a/docs/assets/chunks/ui-custom.DDcoaaN9.js +++ b/docs/assets/chunks/ui-custom.BABGA34D.js @@ -1 +1 @@ -import{u as i,a as p}from"./theme.BkwdEySx.js";import{d as l,p as f,q as c,v as u,o as _,c as m,_ as b}from"./framework.BH5PR2Af.js";const v=l({__name:"VPCarbonAds",props:{carbonAds:{}},setup(r){const{page:d}=i(),a=r.carbonAds,{isAsideEnabled:s}=p(),o=f();let n=!1;function t(){if(!n){n=!0;const e=document.createElement("script");e.id="_carbonads_js",e.src=`//cdn.carbonads.com/carbon.js?serve=${a.code}&placement=${a.placement}`,e.async=!0,o.value.appendChild(e)}}return c(()=>d.value.relativePath,()=>{var e;n&&s.value&&((e=window._carbonads)==null||e.refresh())}),a&&u(()=>{s.value?t():c(s,e=>e&&t())}),(e,h)=>(_(),m("div",{class:"VPCarbonAds",ref_key:"container",ref:o},null,512))}}),k=b(v,[["__scopeId","data-v-2e1efd59"]]);export{k as default}; +import{u as i,a as p}from"./theme.DW4UajBf.js";import{d as l,p as f,q as c,v as u,o as _,c as m,_ as b}from"./framework.DDyYGyON.js";const v=l({__name:"VPCarbonAds",props:{carbonAds:{}},setup(r){const{page:d}=i(),a=r.carbonAds,{isAsideEnabled:s}=p(),o=f();let n=!1;function t(){if(!n){n=!0;const e=document.createElement("script");e.id="_carbonads_js",e.src=`//cdn.carbonads.com/carbon.js?serve=${a.code}&placement=${a.placement}`,e.async=!0,o.value.appendChild(e)}}return c(()=>d.value.relativePath,()=>{var e;n&&s.value&&((e=window._carbonads)==null||e.refresh())}),a&&u(()=>{s.value?t():c(s,e=>e&&t())}),(e,h)=>(_(),m("div",{class:"VPCarbonAds",ref_key:"container",ref:o},null,512))}}),k=b(v,[["__scopeId","data-v-2e1efd59"]]);export{k as default}; diff --git a/docs/assets/customization_theming_index.md.ARSzRlv3.js b/docs/assets/customization_theming_index.md.n7fcEp_w.js similarity index 99% rename from docs/assets/customization_theming_index.md.ARSzRlv3.js rename to docs/assets/customization_theming_index.md.n7fcEp_w.js index 9f6b5cc6..ae9a6a17 100644 --- a/docs/assets/customization_theming_index.md.ARSzRlv3.js +++ b/docs/assets/customization_theming_index.md.n7fcEp_w.js @@ -1,4 +1,4 @@ -import{_ as i,c as a,ai as n,o as h}from"./chunks/framework.BH5PR2Af.js";const g=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"}'),k={name:"customization/theming/index.md"};function p(l,s,t,e,E,d){return h(),a("div",null,s[0]||(s[0]=[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 i,c as a,al as n,o as h}from"./chunks/framework.DDyYGyON.js";const g=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"}'),k={name:"customization/theming/index.md"};function p(l,s,t,e,E,d){return h(),a("div",null,s[0]||(s[0]=[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.ARSzRlv3.lean.js b/docs/assets/customization_theming_index.md.n7fcEp_w.lean.js
similarity index 99%
rename from docs/assets/customization_theming_index.md.ARSzRlv3.lean.js
rename to docs/assets/customization_theming_index.md.n7fcEp_w.lean.js
index 9f6b5cc6..ae9a6a17 100644
--- a/docs/assets/customization_theming_index.md.ARSzRlv3.lean.js
+++ b/docs/assets/customization_theming_index.md.n7fcEp_w.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,ai as n,o as h}from"./chunks/framework.BH5PR2Af.js";const g=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"}'),k={name:"customization/theming/index.md"};function p(l,s,t,e,E,d){return h(),a("div",null,s[0]||(s[0]=[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 i,c as a,al as n,o as h}from"./chunks/framework.DDyYGyON.js";const g=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"}'),k={name:"customization/theming/index.md"};function p(l,s,t,e,E,d){return h(),a("div",null,s[0]||(s[0]=[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/index.md.B0w_PrTM.js b/docs/assets/index.md.BJiPgZgU.js
similarity index 96%
rename from docs/assets/index.md.B0w_PrTM.js
rename to docs/assets/index.md.BJiPgZgU.js
index a2a914ae..eb59da20 100644
--- a/docs/assets/index.md.B0w_PrTM.js
+++ b/docs/assets/index.md.BJiPgZgU.js
@@ -1 +1 @@
-import{_ as t,c as o,G as a,B as i,o as n}from"./chunks/framework.BH5PR2Af.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=i("StarAndSponsor");return n(),o("div",null,[a(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
+import{_ as t,c as o,G as a,B as i,o as n}from"./chunks/framework.DDyYGyON.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=i("StarAndSponsor");return n(),o("div",null,[a(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
diff --git a/docs/assets/index.md.B0w_PrTM.lean.js b/docs/assets/index.md.BJiPgZgU.lean.js
similarity index 96%
rename from docs/assets/index.md.B0w_PrTM.lean.js
rename to docs/assets/index.md.BJiPgZgU.lean.js
index a2a914ae..eb59da20 100644
--- a/docs/assets/index.md.B0w_PrTM.lean.js
+++ b/docs/assets/index.md.BJiPgZgU.lean.js
@@ -1 +1 @@
-import{_ as t,c as o,G as a,B as i,o as n}from"./chunks/framework.BH5PR2Af.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=i("StarAndSponsor");return n(),o("div",null,[a(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
+import{_ as t,c as o,G as a,B as i,o as n}from"./chunks/framework.DDyYGyON.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=i("StarAndSponsor");return n(),o("div",null,[a(e)])}const f=t(r,[["render",s]]);export{k as __pageData,f as default};
diff --git a/docs/assets/installation_index.md.eX808iRN.js b/docs/assets/installation_index.md.CqYA7Cgq.js
similarity index 96%
rename from docs/assets/installation_index.md.eX808iRN.js
rename to docs/assets/installation_index.md.CqYA7Cgq.js
index d2bb5c50..9af74c08 100644
--- a/docs/assets/installation_index.md.eX808iRN.js
+++ b/docs/assets/installation_index.md.CqYA7Cgq.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,ai as t,o as n}from"./chunks/framework.BH5PR2Af.js";const g=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"}'),p={name:"installation/index.md"};function l(e,s,h,k,d,E){return n(),a("div",null,s[0]||(s[0]=[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 i,c as a,al as t,o as n}from"./chunks/framework.DDyYGyON.js";const g=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"}'),p={name:"installation/index.md"};function l(e,s,h,k,d,E){return n(),a("div",null,s[0]||(s[0]=[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 i,c as a,ai as t,o as n}from"./chunks/framework.BH5PR2Af.js";const g
 
 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.eX808iRN.lean.js b/docs/assets/installation_index.md.CqYA7Cgq.lean.js
similarity index 96%
rename from docs/assets/installation_index.md.eX808iRN.lean.js
rename to docs/assets/installation_index.md.CqYA7Cgq.lean.js
index d2bb5c50..9af74c08 100644
--- a/docs/assets/installation_index.md.eX808iRN.lean.js
+++ b/docs/assets/installation_index.md.CqYA7Cgq.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,ai as t,o as n}from"./chunks/framework.BH5PR2Af.js";const g=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"}'),p={name:"installation/index.md"};function l(e,s,h,k,d,E){return n(),a("div",null,s[0]||(s[0]=[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 i,c as a,al as t,o as n}from"./chunks/framework.DDyYGyON.js";const g=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"}'),p={name:"installation/index.md"};function l(e,s,h,k,d,E){return n(),a("div",null,s[0]||(s[0]=[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 i,c as a,ai as t,o as n}from"./chunks/framework.BH5PR2Af.js";const g
 
 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/methods-and-events_events_index.md.DXomF_PT.js b/docs/assets/methods-and-events_events_index.md.C-wBkQV8.js
similarity index 99%
rename from docs/assets/methods-and-events_events_index.md.DXomF_PT.js
rename to docs/assets/methods-and-events_events_index.md.C-wBkQV8.js
index 78952870..a2c5332a 100644
--- a/docs/assets/methods-and-events_events_index.md.DXomF_PT.js
+++ b/docs/assets/methods-and-events_events_index.md.C-wBkQV8.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,ai as n,o as h}from"./chunks/framework.BH5PR2Af.js";const g=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"}'),l={name:"methods-and-events/events/index.md"};function t(k,s,p,e,E,d){return h(),a("div",null,s[0]||(s[0]=[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 i,c as a,al as n,o as h}from"./chunks/framework.DDyYGyON.js";const g=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"}'),l={name:"methods-and-events/events/index.md"};function t(k,s,p,e,E,d){return h(),a("div",null,s[0]||(s[0]=[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.DXomF_PT.lean.js b/docs/assets/methods-and-events_events_index.md.C-wBkQV8.lean.js
similarity index 99%
rename from docs/assets/methods-and-events_events_index.md.DXomF_PT.lean.js
rename to docs/assets/methods-and-events_events_index.md.C-wBkQV8.lean.js
index 78952870..a2c5332a 100644
--- a/docs/assets/methods-and-events_events_index.md.DXomF_PT.lean.js
+++ b/docs/assets/methods-and-events_events_index.md.C-wBkQV8.lean.js
@@ -1,4 +1,4 @@
-import{_ as i,c as a,ai as n,o as h}from"./chunks/framework.BH5PR2Af.js";const g=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"}'),l={name:"methods-and-events/events/index.md"};function t(k,s,p,e,E,d){return h(),a("div",null,s[0]||(s[0]=[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 i,c as a,al as n,o as h}from"./chunks/framework.DDyYGyON.js";const g=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"}'),l={name:"methods-and-events/events/index.md"};function t(k,s,p,e,E,d){return h(),a("div",null,s[0]||(s[0]=[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_methods_index.md.BqVyHZwI.js b/docs/assets/methods-and-events_methods_index.md.BUAhxP5w.js
similarity index 98%
rename from docs/assets/methods-and-events_methods_index.md.BqVyHZwI.js
rename to docs/assets/methods-and-events_methods_index.md.BUAhxP5w.js
index 4cf681e4..5844c947 100644
--- a/docs/assets/methods-and-events_methods_index.md.BqVyHZwI.js
+++ b/docs/assets/methods-and-events_methods_index.md.BUAhxP5w.js
@@ -1,4 +1,4 @@
-import{_ as s,c as e,ai as i,o as t}from"./chunks/framework.BH5PR2Af.js";const c=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"}'),l={name:"methods-and-events/methods/index.md"};function n(h,a,p,r,o,d){return t(),e("div",null,a[0]||(a[0]=[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 s,c as e,al as i,o as t}from"./chunks/framework.DDyYGyON.js";const c=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"}'),l={name:"methods-and-events/methods/index.md"};function n(h,a,p,r,o,d){return t(),e("div",null,a[0]||(a[0]=[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.BqVyHZwI.lean.js b/docs/assets/methods-and-events_methods_index.md.BUAhxP5w.lean.js
similarity index 98%
rename from docs/assets/methods-and-events_methods_index.md.BqVyHZwI.lean.js
rename to docs/assets/methods-and-events_methods_index.md.BUAhxP5w.lean.js
index 4cf681e4..5844c947 100644
--- a/docs/assets/methods-and-events_methods_index.md.BqVyHZwI.lean.js
+++ b/docs/assets/methods-and-events_methods_index.md.BUAhxP5w.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,c as e,ai as i,o as t}from"./chunks/framework.BH5PR2Af.js";const c=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"}'),l={name:"methods-and-events/methods/index.md"};function n(h,a,p,r,o,d){return t(),e("div",null,a[0]||(a[0]=[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 s,c as e,al as i,o as t}from"./chunks/framework.DDyYGyON.js";const c=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"}'),l={name:"methods-and-events/methods/index.md"};function n(h,a,p,r,o,d){return t(),e("div",null,a[0]||(a[0]=[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/migration_from-v10.md.cKOzBSoF.js b/docs/assets/migration_from-v10.md.cKOzBSoF.js
new file mode 100644
index 00000000..36cdd47e
--- /dev/null
+++ b/docs/assets/migration_from-v10.md.cKOzBSoF.js
@@ -0,0 +1 @@
+import{_ as s,c as a,al as e,o as t}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v10.md","filePath":"migration/from-v10.md"}'),n={name:"migration/from-v10.md"};function h(l,i,d,p,k,r){return t(),a("div",null,i[0]||(i[0]=[e('

Migrating from v10

Breaking changes

  • Library now requires vue >= v3.3
  • Calendar cells id attribute is now prefixed with dp-
  • Calendar cells data-test-id attribute now matches the id value
  • Ref dpWrapMenuRef is now exposed via the getter function getDpWrapMenuRef instead of direct access

Calendar cell id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.getElementById(format(new Date(), formatToken)) \ndocument.getElementById(`dp-${format(new Date(), formatToken)}`) 

Calendar cell data-test-id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.querySelector(`[data-test-id="${new Date()}"]`) \ndocument.querySelector(`[data-test-id="dp-${format(new Date(), formatToken)}"]`) 

dpWrapMenuRef

Instead of directly accessing the ref, it is now wrapped in a function

js
datePickerInstance.dpWrapMenuRef.value \ndatePickerInstance.getDpWrapMenuRef().value 
',10)]))}const c=s(n,[["render",h]]);export{g as __pageData,c as default}; diff --git a/docs/assets/migration_from-v10.md.cKOzBSoF.lean.js b/docs/assets/migration_from-v10.md.cKOzBSoF.lean.js new file mode 100644 index 00000000..36cdd47e --- /dev/null +++ b/docs/assets/migration_from-v10.md.cKOzBSoF.lean.js @@ -0,0 +1 @@ +import{_ as s,c as a,al as e,o as t}from"./chunks/framework.DDyYGyON.js";const g=JSON.parse('{"title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v10","description":"Migration guide for migrating from v10 to v11 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v10.md","filePath":"migration/from-v10.md"}'),n={name:"migration/from-v10.md"};function h(l,i,d,p,k,r){return t(),a("div",null,i[0]||(i[0]=[e('

Migrating from v10

Breaking changes

  • Library now requires vue >= v3.3
  • Calendar cells id attribute is now prefixed with dp-
  • Calendar cells data-test-id attribute now matches the id value
  • Ref dpWrapMenuRef is now exposed via the getter function getDpWrapMenuRef instead of direct access

Calendar cell id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.getElementById(format(new Date(), formatToken)) \ndocument.getElementById(`dp-${format(new Date(), formatToken)}`) 

Calendar cell data-test-id update

js
import { format } from 'date-fns';\nconst formatToken =  `yyyy-MM-dd`;\n\ndocument.querySelector(`[data-test-id="${new Date()}"]`) \ndocument.querySelector(`[data-test-id="dp-${format(new Date(), formatToken)}"]`) 

dpWrapMenuRef

Instead of directly accessing the ref, it is now wrapped in a function

js
datePickerInstance.dpWrapMenuRef.value \ndatePickerInstance.getDpWrapMenuRef().value 
',10)]))}const c=s(n,[["render",h]]);export{g as __pageData,c as default}; diff --git a/docs/assets/migration_from-v5.md.D2gbYz_J.js b/docs/assets/migration_from-v5.md.Bmjm4GG1.js similarity index 99% rename from docs/assets/migration_from-v5.md.D2gbYz_J.js rename to docs/assets/migration_from-v5.md.Bmjm4GG1.js index d4e77044..7692cd83 100644 --- a/docs/assets/migration_from-v5.md.D2gbYz_J.js +++ b/docs/assets/migration_from-v5.md.Bmjm4GG1.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,ai as t,o as n}from"./chunks/framework.BH5PR2Af.js";const c=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"}'),e={name:"migration/from-v5.md"};function l(p,i,h,o,k,r){return n(),a("div",null,i[0]||(i[0]=[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 s,c as a,al as t,o as n}from"./chunks/framework.DDyYGyON.js";const c=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"}'),e={name:"migration/from-v5.md"};function l(p,i,h,o,k,r){return n(),a("div",null,i[0]||(i[0]=[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.D2gbYz_J.lean.js b/docs/assets/migration_from-v5.md.Bmjm4GG1.lean.js
similarity index 99%
rename from docs/assets/migration_from-v5.md.D2gbYz_J.lean.js
rename to docs/assets/migration_from-v5.md.Bmjm4GG1.lean.js
index d4e77044..7692cd83 100644
--- a/docs/assets/migration_from-v5.md.D2gbYz_J.lean.js
+++ b/docs/assets/migration_from-v5.md.Bmjm4GG1.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,ai as t,o as n}from"./chunks/framework.BH5PR2Af.js";const c=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"}'),e={name:"migration/from-v5.md"};function l(p,i,h,o,k,r){return n(),a("div",null,i[0]||(i[0]=[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 s,c as a,al as t,o as n}from"./chunks/framework.DDyYGyON.js";const c=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"}'),e={name:"migration/from-v5.md"};function l(p,i,h,o,k,r){return n(),a("div",null,i[0]||(i[0]=[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-v6.md.BFL2C3Yy.js b/docs/assets/migration_from-v6.md.BGEZ6Qh1.js
similarity index 92%
rename from docs/assets/migration_from-v6.md.BFL2C3Yy.js
rename to docs/assets/migration_from-v6.md.BGEZ6Qh1.js
index 699ce5d1..be322212 100644
--- a/docs/assets/migration_from-v6.md.BFL2C3Yy.js
+++ b/docs/assets/migration_from-v6.md.BGEZ6Qh1.js
@@ -1 +1 @@
-import{_ as o,c as i,ai as a,o as r}from"./chunks/framework.BH5PR2Af.js";const m=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"};function n(l,e,c,d,g,s){return r(),i("div",null,e[0]||(e[0]=[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)]))}const p=o(t,[["render",n]]);export{m as __pageData,p as default}; +import{_ as o,c as i,al as a,o as r}from"./chunks/framework.DDyYGyON.js";const m=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"};function n(l,e,c,d,g,s){return r(),i("div",null,e[0]||(e[0]=[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)]))}const p=o(t,[["render",n]]);export{m as __pageData,p as default}; diff --git a/docs/assets/migration_from-v6.md.BFL2C3Yy.lean.js b/docs/assets/migration_from-v6.md.BGEZ6Qh1.lean.js similarity index 92% rename from docs/assets/migration_from-v6.md.BFL2C3Yy.lean.js rename to docs/assets/migration_from-v6.md.BGEZ6Qh1.lean.js index 699ce5d1..be322212 100644 --- a/docs/assets/migration_from-v6.md.BFL2C3Yy.lean.js +++ b/docs/assets/migration_from-v6.md.BGEZ6Qh1.lean.js @@ -1 +1 @@ -import{_ as o,c as i,ai as a,o as r}from"./chunks/framework.BH5PR2Af.js";const m=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"};function n(l,e,c,d,g,s){return r(),i("div",null,e[0]||(e[0]=[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)]))}const p=o(t,[["render",n]]);export{m as __pageData,p as default}; +import{_ as o,c as i,al as a,o as r}from"./chunks/framework.DDyYGyON.js";const m=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"};function n(l,e,c,d,g,s){return r(),i("div",null,e[0]||(e[0]=[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)]))}const p=o(t,[["render",n]]);export{m as __pageData,p as default}; diff --git a/docs/assets/migration_from-v7.md.ZyJQcLcw.js b/docs/assets/migration_from-v7.md.D7tfPsIU.js similarity index 99% rename from docs/assets/migration_from-v7.md.ZyJQcLcw.js rename to docs/assets/migration_from-v7.md.D7tfPsIU.js index a6dd63b0..fab36389 100644 --- a/docs/assets/migration_from-v7.md.ZyJQcLcw.js +++ b/docs/assets/migration_from-v7.md.D7tfPsIU.js @@ -1,4 +1,4 @@ -import{_ as s,c as a,ai as t,o as l}from"./chunks/framework.BH5PR2Af.js";const g=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"}'),e={name:"migration/from-v7.md"};function h(n,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[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 s,c as a,al as t,o as l}from"./chunks/framework.DDyYGyON.js";const g=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"}'),e={name:"migration/from-v7.md"};function h(n,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[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.ZyJQcLcw.lean.js b/docs/assets/migration_from-v7.md.D7tfPsIU.lean.js
similarity index 99%
rename from docs/assets/migration_from-v7.md.ZyJQcLcw.lean.js
rename to docs/assets/migration_from-v7.md.D7tfPsIU.lean.js
index a6dd63b0..fab36389 100644
--- a/docs/assets/migration_from-v7.md.ZyJQcLcw.lean.js
+++ b/docs/assets/migration_from-v7.md.D7tfPsIU.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,ai as t,o as l}from"./chunks/framework.BH5PR2Af.js";const g=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"}'),e={name:"migration/from-v7.md"};function h(n,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[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 s,c as a,al as t,o as l}from"./chunks/framework.DDyYGyON.js";const g=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"}'),e={name:"migration/from-v7.md"};function h(n,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[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-v8.md.DbmTB9Vy.js b/docs/assets/migration_from-v8.md.GbP-eSYg.js
similarity index 99%
rename from docs/assets/migration_from-v8.md.DbmTB9Vy.js
rename to docs/assets/migration_from-v8.md.GbP-eSYg.js
index e7d1e30c..508c65f0 100644
--- a/docs/assets/migration_from-v8.md.DbmTB9Vy.js
+++ b/docs/assets/migration_from-v8.md.GbP-eSYg.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,ai as t,o as l}from"./chunks/framework.BH5PR2Af.js";const c=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"}'),n={name:"migration/from-v8.md"};function e(h,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[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 s,c as a,al as t,o as l}from"./chunks/framework.DDyYGyON.js";const c=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"}'),n={name:"migration/from-v8.md"};function e(h,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[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.DbmTB9Vy.lean.js b/docs/assets/migration_from-v8.md.GbP-eSYg.lean.js
similarity index 99%
rename from docs/assets/migration_from-v8.md.DbmTB9Vy.lean.js
rename to docs/assets/migration_from-v8.md.GbP-eSYg.lean.js
index e7d1e30c..508c65f0 100644
--- a/docs/assets/migration_from-v8.md.DbmTB9Vy.lean.js
+++ b/docs/assets/migration_from-v8.md.GbP-eSYg.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,ai as t,o as l}from"./chunks/framework.BH5PR2Af.js";const c=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"}'),n={name:"migration/from-v8.md"};function e(h,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[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 s,c as a,al as t,o as l}from"./chunks/framework.DDyYGyON.js";const c=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"}'),n={name:"migration/from-v8.md"};function e(h,i,k,p,d,o){return l(),a("div",null,i[0]||(i[0]=[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-v9.md.DV5gN7Nz.js b/docs/assets/migration_from-v9.md.BP5fxbOt.js
similarity index 56%
rename from docs/assets/migration_from-v9.md.DV5gN7Nz.js
rename to docs/assets/migration_from-v9.md.BP5fxbOt.js
index 6223fbe2..115bb914 100644
--- a/docs/assets/migration_from-v9.md.DV5gN7Nz.js
+++ b/docs/assets/migration_from-v9.md.BP5fxbOt.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,ai as t,o as e}from"./chunks/framework.BH5PR2Af.js";const c=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-v9.md","filePath":"migration/from-v9.md"}'),n={name:"migration/from-v9.md"};function l(d,i,h,o,r,p){return e(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
+import{_ as s,c as a,al as t,o as e}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v9.md","filePath":"migration/from-v9.md"}'),n={name:"migration/from-v9.md"};function l(d,i,h,o,r,p){return e(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
 document.querySelector('[data-test-id="dp-input"]'); 

alt-position

The custom function passed via prop can return any value and won't do any custom parsing

ts
const myAltPositioning = (el: HTMLElement) => {
   return {
     top: 10, 
diff --git a/docs/assets/migration_from-v9.md.DV5gN7Nz.lean.js b/docs/assets/migration_from-v9.md.BP5fxbOt.lean.js
similarity index 56%
rename from docs/assets/migration_from-v9.md.DV5gN7Nz.lean.js
rename to docs/assets/migration_from-v9.md.BP5fxbOt.lean.js
index 6223fbe2..115bb914 100644
--- a/docs/assets/migration_from-v9.md.DV5gN7Nz.lean.js
+++ b/docs/assets/migration_from-v9.md.BP5fxbOt.lean.js
@@ -1,4 +1,4 @@
-import{_ as s,c as a,ai as t,o as e}from"./chunks/framework.BH5PR2Af.js";const c=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-v9.md","filePath":"migration/from-v9.md"}'),n={name:"migration/from-v9.md"};function l(d,i,h,o,r,p){return e(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
+import{_ as s,c as a,al as t,o as e}from"./chunks/framework.DDyYGyON.js";const c=JSON.parse('{"title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes","frontmatter":{"lang":"en-US","title":"Migration from v9","description":"Migration guide for migrating from v9 to v10 and notifying of breaking changes"},"headers":[],"relativePath":"migration/from-v9.md","filePath":"migration/from-v9.md"}'),n={name:"migration/from-v9.md"};function l(d,i,h,o,r,p){return e(),a("div",null,i[0]||(i[0]=[t(`

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
 document.querySelector('[data-test-id="dp-input"]'); 

alt-position

The custom function passed via prop can return any value and won't do any custom parsing

ts
const myAltPositioning = (el: HTMLElement) => {
   return {
     top: 10, 
diff --git a/docs/assets/props_calendar-configuration_index.md.m7pUDF0Z.js b/docs/assets/props_calendar-configuration_index.md.DP0AeudM.js
similarity index 99%
rename from docs/assets/props_calendar-configuration_index.md.m7pUDF0Z.js
rename to docs/assets/props_calendar-configuration_index.md.DP0AeudM.js
index 2fece05d..0f50e487 100644
--- a/docs/assets/props_calendar-configuration_index.md.m7pUDF0Z.js
+++ b/docs/assets/props_calendar-configuration_index.md.DP0AeudM.js
@@ -1,4 +1,4 @@
-import{_ as E,c as d,ai as i,G as a,B as t,o as r}from"./chunks/framework.BH5PR2Af.js";const m=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"}'),g={name:"props/calendar-configuration/index.md"};function y(F,s,o,c,u,D){const l=t("CustomCalendarDemo"),n=t("GlobalDemo"),k=t("MinMaxDemo"),h=t("EmptyDemo"),p=t("FiltersDemo"),e=t("DisabledDatesDemo");return r(),d("div",null,[s[0]||(s[0]=i(`

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,c as d,al as i,G as a,B as t,o as r}from"./chunks/framework.DDyYGyON.js";const m=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"}'),g={name:"props/calendar-configuration/index.md"};function y(F,s,o,c,u,D){const l=t("CustomCalendarDemo"),n=t("GlobalDemo"),k=t("MinMaxDemo"),h=t("EmptyDemo"),p=t("FiltersDemo"),e=t("DisabledDatesDemo");return r(),d("div",null,[s[0]||(s[0]=i(`

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.m7pUDF0Z.lean.js b/docs/assets/props_calendar-configuration_index.md.DP0AeudM.lean.js
similarity index 99%
rename from docs/assets/props_calendar-configuration_index.md.m7pUDF0Z.lean.js
rename to docs/assets/props_calendar-configuration_index.md.DP0AeudM.lean.js
index 2fece05d..0f50e487 100644
--- a/docs/assets/props_calendar-configuration_index.md.m7pUDF0Z.lean.js
+++ b/docs/assets/props_calendar-configuration_index.md.DP0AeudM.lean.js
@@ -1,4 +1,4 @@
-import{_ as E,c as d,ai as i,G as a,B as t,o as r}from"./chunks/framework.BH5PR2Af.js";const m=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"}'),g={name:"props/calendar-configuration/index.md"};function y(F,s,o,c,u,D){const l=t("CustomCalendarDemo"),n=t("GlobalDemo"),k=t("MinMaxDemo"),h=t("EmptyDemo"),p=t("FiltersDemo"),e=t("DisabledDatesDemo");return r(),d("div",null,[s[0]||(s[0]=i(`

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,c as d,al as i,G as a,B as t,o as r}from"./chunks/framework.DDyYGyON.js";const m=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"}'),g={name:"props/calendar-configuration/index.md"};function y(F,s,o,c,u,D){const l=t("CustomCalendarDemo"),n=t("GlobalDemo"),k=t("MinMaxDemo"),h=t("EmptyDemo"),p=t("FiltersDemo"),e=t("DisabledDatesDemo");return r(),d("div",null,[s[0]||(s[0]=i(`

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_formatting_index.md.CRqJukng.js b/docs/assets/props_formatting_index.md.C4TPj7vZ.js
similarity index 99%
rename from docs/assets/props_formatting_index.md.CRqJukng.js
rename to docs/assets/props_formatting_index.md.C4TPj7vZ.js
index bbe433ad..8e5b3096 100644
--- a/docs/assets/props_formatting_index.md.CRqJukng.js
+++ b/docs/assets/props_formatting_index.md.C4TPj7vZ.js
@@ -1,4 +1,4 @@
-import{_ as e,c as k,ai as i,G as a,B as t,o as p}from"./chunks/framework.BH5PR2Af.js";const m=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"}'),r={name:"props/formatting/index.md"};function E(d,s,o,g,y,c){const n=t("FormatDemo"),h=t("PreviewFormatDemo"),l=t("GlobalDemo");return p(),k("div",null,[s[0]||(s[0]=i('

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)),a(n),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as e,c as k,al as i,G as a,B as t,o as p}from"./chunks/framework.DDyYGyON.js";const m=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"}'),r={name:"props/formatting/index.md"};function E(d,s,o,g,y,c){const n=t("FormatDemo"),h=t("PreviewFormatDemo"),l=t("GlobalDemo");return p(),k("div",null,[s[0]||(s[0]=i('

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)),a(n),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :format="format" />
 </template>
 
diff --git a/docs/assets/props_formatting_index.md.CRqJukng.lean.js b/docs/assets/props_formatting_index.md.C4TPj7vZ.lean.js
similarity index 99%
rename from docs/assets/props_formatting_index.md.CRqJukng.lean.js
rename to docs/assets/props_formatting_index.md.C4TPj7vZ.lean.js
index bbe433ad..8e5b3096 100644
--- a/docs/assets/props_formatting_index.md.CRqJukng.lean.js
+++ b/docs/assets/props_formatting_index.md.C4TPj7vZ.lean.js
@@ -1,4 +1,4 @@
-import{_ as e,c as k,ai as i,G as a,B as t,o as p}from"./chunks/framework.BH5PR2Af.js";const m=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"}'),r={name:"props/formatting/index.md"};function E(d,s,o,g,y,c){const n=t("FormatDemo"),h=t("PreviewFormatDemo"),l=t("GlobalDemo");return p(),k("div",null,[s[0]||(s[0]=i('

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)),a(n),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as e,c as k,al as i,G as a,B as t,o as p}from"./chunks/framework.DDyYGyON.js";const m=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"}'),r={name:"props/formatting/index.md"};function E(d,s,o,g,y,c){const n=t("FormatDemo"),h=t("PreviewFormatDemo"),l=t("GlobalDemo");return p(),k("div",null,[s[0]||(s[0]=i('

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)),a(n),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :format="format" />
 </template>
 
diff --git a/docs/assets/props_general-configuration_index.md.CVSNlgKZ.js b/docs/assets/props_general-configuration_index.md.BRWJzeLU.js
similarity index 93%
rename from docs/assets/props_general-configuration_index.md.CVSNlgKZ.js
rename to docs/assets/props_general-configuration_index.md.BRWJzeLU.js
index d91389f6..9727406a 100644
--- a/docs/assets/props_general-configuration_index.md.CVSNlgKZ.js
+++ b/docs/assets/props_general-configuration_index.md.BRWJzeLU.js
@@ -1,4 +1,4 @@
-import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framework.BH5PR2Af.js";const v=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"}'),c={name:"props/general-configuration/index.md"},F={id:"model-value",tabindex:"-1"};function u(m,s,C,D,B,A){const n=l("GlobalDemo"),e=l("Badge"),p=l("DisplayModelDemo"),t=l("EmptyDemo"),E=l("DemoMarkers"),d=l("DemoHighlight"),r=l("RequiredDemo");return o(),y("div",null,[s[3]||(s[3]=i('

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)),a(n,{uid:"demo"}),s[4]||(s[4]=i(`
Code Example
vue
<template>
+import{_ as g,c as y,al as i,G as a,j as h,a as k,B as l,o}from"./chunks/framework.DDyYGyON.js";const v=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"}'),c={name:"props/general-configuration/index.md"},F={id:"model-value",tabindex:"-1"};function u(m,s,C,D,B,A){const n=l("GlobalDemo"),e=l("Badge"),p=l("DisplayModelDemo"),t=l("EmptyDemo"),E=l("DemoMarkers"),d=l("DemoHighlight"),r=l("RequiredDemo");return o(),y("div",null,[s[3]||(s[3]=i('

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)),a(n,{uid:"demo"}),s[4]||(s[4]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" uid="demo" />
 </template>
 
@@ -46,7 +46,15 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 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

`,5)),a(n,{"auto-apply":!0}),s[9]||(s[9]=i(`
Code Example
vue
<template>
+</script>

always-clearable

Keeps the clear icon even if there is no value in the calendar

  • Type: boolean
  • Default: false
`,4)),a(n,{alwaysClearable:!0}),s[9]||(s[9]=i(`
Code Example
vue
<template>
+    <VueDatePicker v-model="date" :always-clearable="true" />
+</template>
+
+<script setup>
+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

`,5)),a(n,{"auto-apply":!0}),s[10]||(s[10]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" auto-apply />
 </template>
 
@@ -54,7 +62,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

placeholder

Input placeholder

  • Type: string
  • Default: null
`,4)),a(t,{placeholder:"Select Date"}),s[10]||(s[10]=i(`
Code Example
vue
<template>
+</script>

placeholder

Input placeholder

  • Type: string
  • Default: null
`,4)),a(t,{placeholder:"Select Date"}),s[11]||(s[11]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" placeholder="Select Date" />
 </template>
 
@@ -62,7 +70,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

no-today

Hide today mark from the calendar

  • Type: boolean
  • Default: false
`,4)),a(t,{"no-today":!0,placeholder:"Select Date"}),s[11]||(s[11]=i(`
Code Example
vue
<template>
+</script>

no-today

Hide today mark from the calendar

  • Type: boolean
  • Default: false
`,4)),a(t,{"no-today":!0,placeholder:"Select Date"}),s[12]||(s[12]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" no-today />
 </template>
 
@@ -77,7 +85,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
     color?: string;
     // el is a HTML element of a calendar cell
     customPosition?: (el: HTMLElement) => Record<string, string | number>;
-}
`,5)),a(E),s[12]||(s[12]=i(`
Code Example
vue

+}
`,5)),a(E),s[13]||(s[13]=i(`
Code Example
vue

 <template>
     <VueDatePicker v-model="date" :markers="markers" />
 </template>
@@ -119,7 +127,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 type HighlightFn = ((date: Date) => boolean)
     | ((month: { month: number; year: number }) => boolean)
     | ((yearOrWeekDay: number) => boolean)
-    | ((quarter: { quarter: number; year: number }) => boolean);
`,5)),a(d),s[13]||(s[13]=i(`
Code Example
vue
<template>
+    | ((quarter: { quarter: number; year: number }) => boolean);
`,5)),a(d),s[14]||(s[14]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :highlight="highlightedDates" />
 </template>
 
@@ -134,7 +142,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
   addDays(new Date(), 3),
 ])
 
-</script>

disabled

Disables the input

  • Type: boolean
  • Default: false
`,4)),a(n,{disabled:!0}),s[14]||(s[14]=i(`
Code Example
vue
<template>
+</script>

disabled

Disables the input

  • Type: boolean
  • Default: false
`,4)),a(n,{disabled:!0}),s[15]||(s[15]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" disabled />
 </template>
 
@@ -142,7 +150,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

readonly

Sets the input in readonly state

  • Type: boolean
  • Default: false
`,4)),a(n,{readonly:!0}),s[15]||(s[15]=i(`
Code Example
vue
<template>
+</script>

readonly

Sets the input in readonly state

  • Type: boolean
  • Default: false
`,4)),a(n,{readonly:!0}),s[16]||(s[16]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" readonly />
 </template>
 
@@ -150,7 +158,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 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
`,4)),a(r,{required:!0}),s[16]||(s[16]=i(`
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
`,4)),a(r,{required:!0}),s[17]||(s[17]=i(`
Code Example
vue
<template>
     <form @submit.prevent="submitForm">
       <VueDatePicker v-model="date" required />
       <button type="submit">Submit form</button>
@@ -165,7 +173,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 const submitForm = () => {
   alert('Form submitted');
 }
-</script>

name

Sets the input name attribute

  • Type: string
  • Default: null
`,4)),a(n,{name:"date-picker"}),s[17]||(s[17]=i(`
Code Example
vue
<template>
+</script>

name

Sets the input name attribute

  • Type: string
  • Default: null
`,4)),a(n,{name:"date-picker"}),s[18]||(s[18]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" name="date-picker" />
 </template>
 
@@ -173,7 +181,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

autocomplete

Sets the input autocomplete attribute

  • Type: string
  • Default: null
`,4)),a(n,{autocomplete:"off"}),s[18]||(s[18]=i(`
Code Example
vue
<template>
+</script>

autocomplete

Sets the input autocomplete attribute

  • Type: string
  • Default: null
`,4)),a(n,{autocomplete:"off"}),s[19]||(s[19]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" autocomplete="off" />
 </template>
 
@@ -181,7 +189,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 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: []
`,4)),a(n,{"hide-navigation":["month","year"]}),s[19]||(s[19]=i(`
Code Example
vue
<template>
+</script>

hide-navigation

Hide navigation buttons from the overlays

  • Type: ('month' | 'year' | 'calendar' | 'time' | 'minutes' | 'hours' | 'seconds')[]
  • Default: []
`,4)),a(n,{"hide-navigation":["month","year"]}),s[20]||(s[20]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :hide-navigation="['month', 'year']" />
 </template>
 
@@ -194,7 +202,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
  showCancel?: boolean;
  showNow?: boolean;
  showPreview?: boolean;
-}
`,5)),a(n,{"action-row":{showNow:!0,showPreview:!1}}),s[20]||(s[20]=i(`
Code Example
vue
<template>
+}
`,5)),a(n,{"action-row":{showNow:!0,showPreview:!1}}),s[21]||(s[21]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :action-row="{ showNow: true, showPreview: false }" />
 </template>
 
@@ -202,7 +210,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 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

`,3)),a(n,{"disable-year-select":!0}),s[21]||(s[21]=i(`
Code Example
vue
<template>
+</script>

disable-year-select

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

`,3)),a(n,{"disable-year-select":!0}),s[22]||(s[22]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" disable-year-select />
 </template>
 
@@ -210,7 +218,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

year-first

Reverse button order in the calendar header

  • Type: boolean
  • Default: false
`,4)),a(n,{"year-first":!0}),s[22]||(s[22]=i(`
Code Example
vue
<template>
+</script>

year-first

Reverse button order in the calendar header

  • Type: boolean
  • Default: false
`,4)),a(n,{"year-first":!0}),s[23]||(s[23]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" year-first />
 </template>
 
@@ -227,7 +235,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
     closeOnAutoApply?: boolean;
     noSwipe?: boolean;
     keepActionRow?: boolean;
-    onClickOutside?: (validate: () => boolean) => void;
+    onClickOutside?: (validate: () => boolean, evt: PointerEvent) => void;
     tabOutClosesMenu?: boolean;
     arrowLeft?: string;
     keepViewOnOffsetClick?: boolean;
@@ -252,7 +260,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
     shadowDom: false,
     mobileBreakpoint: 600,
     setDateOnMenuClose: 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
  • mobileBreakpoint: Mobile breakpoint in pixels
  • setDateOnMenuClose: When enabled, clicking away from the menu will set the selected date if some date is selected. Behaves similar to auto-apply, but it only applies the date on click-away

loading

Adds a loading overlay in the menu

  • Type: boolean
  • Default: false
`,11)),a(n,{loading:!0}),s[23]||(s[23]=i(`
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 and pointer event
  • 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
  • mobileBreakpoint: Mobile breakpoint in pixels
  • setDateOnMenuClose: When enabled, clicking away from the menu will set the selected date if some date is selected. Behaves similar to auto-apply, but it only applies the date on click-away

loading

Adds a loading overlay in the menu

  • Type: boolean
  • Default: false
`,11)),a(n,{loading:!0}),s[24]||(s[24]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" loading />
 </template>
 
diff --git a/docs/assets/props_general-configuration_index.md.CVSNlgKZ.lean.js b/docs/assets/props_general-configuration_index.md.BRWJzeLU.lean.js
similarity index 93%
rename from docs/assets/props_general-configuration_index.md.CVSNlgKZ.lean.js
rename to docs/assets/props_general-configuration_index.md.BRWJzeLU.lean.js
index d91389f6..9727406a 100644
--- a/docs/assets/props_general-configuration_index.md.CVSNlgKZ.lean.js
+++ b/docs/assets/props_general-configuration_index.md.BRWJzeLU.lean.js
@@ -1,4 +1,4 @@
-import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framework.BH5PR2Af.js";const v=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"}'),c={name:"props/general-configuration/index.md"},F={id:"model-value",tabindex:"-1"};function u(m,s,C,D,B,A){const n=l("GlobalDemo"),e=l("Badge"),p=l("DisplayModelDemo"),t=l("EmptyDemo"),E=l("DemoMarkers"),d=l("DemoHighlight"),r=l("RequiredDemo");return o(),y("div",null,[s[3]||(s[3]=i('

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)),a(n,{uid:"demo"}),s[4]||(s[4]=i(`
Code Example
vue
<template>
+import{_ as g,c as y,al as i,G as a,j as h,a as k,B as l,o}from"./chunks/framework.DDyYGyON.js";const v=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"}'),c={name:"props/general-configuration/index.md"},F={id:"model-value",tabindex:"-1"};function u(m,s,C,D,B,A){const n=l("GlobalDemo"),e=l("Badge"),p=l("DisplayModelDemo"),t=l("EmptyDemo"),E=l("DemoMarkers"),d=l("DemoHighlight"),r=l("RequiredDemo");return o(),y("div",null,[s[3]||(s[3]=i('

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)),a(n,{uid:"demo"}),s[4]||(s[4]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" uid="demo" />
 </template>
 
@@ -46,7 +46,15 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 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

`,5)),a(n,{"auto-apply":!0}),s[9]||(s[9]=i(`
Code Example
vue
<template>
+</script>

always-clearable

Keeps the clear icon even if there is no value in the calendar

  • Type: boolean
  • Default: false
`,4)),a(n,{alwaysClearable:!0}),s[9]||(s[9]=i(`
Code Example
vue
<template>
+    <VueDatePicker v-model="date" :always-clearable="true" />
+</template>
+
+<script setup>
+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

`,5)),a(n,{"auto-apply":!0}),s[10]||(s[10]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" auto-apply />
 </template>
 
@@ -54,7 +62,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

placeholder

Input placeholder

  • Type: string
  • Default: null
`,4)),a(t,{placeholder:"Select Date"}),s[10]||(s[10]=i(`
Code Example
vue
<template>
+</script>

placeholder

Input placeholder

  • Type: string
  • Default: null
`,4)),a(t,{placeholder:"Select Date"}),s[11]||(s[11]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" placeholder="Select Date" />
 </template>
 
@@ -62,7 +70,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

no-today

Hide today mark from the calendar

  • Type: boolean
  • Default: false
`,4)),a(t,{"no-today":!0,placeholder:"Select Date"}),s[11]||(s[11]=i(`
Code Example
vue
<template>
+</script>

no-today

Hide today mark from the calendar

  • Type: boolean
  • Default: false
`,4)),a(t,{"no-today":!0,placeholder:"Select Date"}),s[12]||(s[12]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" no-today />
 </template>
 
@@ -77,7 +85,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
     color?: string;
     // el is a HTML element of a calendar cell
     customPosition?: (el: HTMLElement) => Record<string, string | number>;
-}
`,5)),a(E),s[12]||(s[12]=i(`
Code Example
vue

+}
`,5)),a(E),s[13]||(s[13]=i(`
Code Example
vue

 <template>
     <VueDatePicker v-model="date" :markers="markers" />
 </template>
@@ -119,7 +127,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 type HighlightFn = ((date: Date) => boolean)
     | ((month: { month: number; year: number }) => boolean)
     | ((yearOrWeekDay: number) => boolean)
-    | ((quarter: { quarter: number; year: number }) => boolean);
`,5)),a(d),s[13]||(s[13]=i(`
Code Example
vue
<template>
+    | ((quarter: { quarter: number; year: number }) => boolean);
`,5)),a(d),s[14]||(s[14]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :highlight="highlightedDates" />
 </template>
 
@@ -134,7 +142,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
   addDays(new Date(), 3),
 ])
 
-</script>

disabled

Disables the input

  • Type: boolean
  • Default: false
`,4)),a(n,{disabled:!0}),s[14]||(s[14]=i(`
Code Example
vue
<template>
+</script>

disabled

Disables the input

  • Type: boolean
  • Default: false
`,4)),a(n,{disabled:!0}),s[15]||(s[15]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" disabled />
 </template>
 
@@ -142,7 +150,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

readonly

Sets the input in readonly state

  • Type: boolean
  • Default: false
`,4)),a(n,{readonly:!0}),s[15]||(s[15]=i(`
Code Example
vue
<template>
+</script>

readonly

Sets the input in readonly state

  • Type: boolean
  • Default: false
`,4)),a(n,{readonly:!0}),s[16]||(s[16]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" readonly />
 </template>
 
@@ -150,7 +158,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 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
`,4)),a(r,{required:!0}),s[16]||(s[16]=i(`
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
`,4)),a(r,{required:!0}),s[17]||(s[17]=i(`
Code Example
vue
<template>
     <form @submit.prevent="submitForm">
       <VueDatePicker v-model="date" required />
       <button type="submit">Submit form</button>
@@ -165,7 +173,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 const submitForm = () => {
   alert('Form submitted');
 }
-</script>

name

Sets the input name attribute

  • Type: string
  • Default: null
`,4)),a(n,{name:"date-picker"}),s[17]||(s[17]=i(`
Code Example
vue
<template>
+</script>

name

Sets the input name attribute

  • Type: string
  • Default: null
`,4)),a(n,{name:"date-picker"}),s[18]||(s[18]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" name="date-picker" />
 </template>
 
@@ -173,7 +181,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

autocomplete

Sets the input autocomplete attribute

  • Type: string
  • Default: null
`,4)),a(n,{autocomplete:"off"}),s[18]||(s[18]=i(`
Code Example
vue
<template>
+</script>

autocomplete

Sets the input autocomplete attribute

  • Type: string
  • Default: null
`,4)),a(n,{autocomplete:"off"}),s[19]||(s[19]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" autocomplete="off" />
 </template>
 
@@ -181,7 +189,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 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: []
`,4)),a(n,{"hide-navigation":["month","year"]}),s[19]||(s[19]=i(`
Code Example
vue
<template>
+</script>

hide-navigation

Hide navigation buttons from the overlays

  • Type: ('month' | 'year' | 'calendar' | 'time' | 'minutes' | 'hours' | 'seconds')[]
  • Default: []
`,4)),a(n,{"hide-navigation":["month","year"]}),s[20]||(s[20]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :hide-navigation="['month', 'year']" />
 </template>
 
@@ -194,7 +202,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
  showCancel?: boolean;
  showNow?: boolean;
  showPreview?: boolean;
-}
`,5)),a(n,{"action-row":{showNow:!0,showPreview:!1}}),s[20]||(s[20]=i(`
Code Example
vue
<template>
+}
`,5)),a(n,{"action-row":{showNow:!0,showPreview:!1}}),s[21]||(s[21]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :action-row="{ showNow: true, showPreview: false }" />
 </template>
 
@@ -202,7 +210,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 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

`,3)),a(n,{"disable-year-select":!0}),s[21]||(s[21]=i(`
Code Example
vue
<template>
+</script>

disable-year-select

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

`,3)),a(n,{"disable-year-select":!0}),s[22]||(s[22]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" disable-year-select />
 </template>
 
@@ -210,7 +218,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
 import { ref } from 'vue';
 
 const date = ref(new Date());
-</script>

year-first

Reverse button order in the calendar header

  • Type: boolean
  • Default: false
`,4)),a(n,{"year-first":!0}),s[22]||(s[22]=i(`
Code Example
vue
<template>
+</script>

year-first

Reverse button order in the calendar header

  • Type: boolean
  • Default: false
`,4)),a(n,{"year-first":!0}),s[23]||(s[23]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" year-first />
 </template>
 
@@ -227,7 +235,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
     closeOnAutoApply?: boolean;
     noSwipe?: boolean;
     keepActionRow?: boolean;
-    onClickOutside?: (validate: () => boolean) => void;
+    onClickOutside?: (validate: () => boolean, evt: PointerEvent) => void;
     tabOutClosesMenu?: boolean;
     arrowLeft?: string;
     keepViewOnOffsetClick?: boolean;
@@ -252,7 +260,7 @@ import{_ as g,c as y,ai as i,G as a,j as h,a as k,B as l,o}from"./chunks/framewo
     shadowDom: false,
     mobileBreakpoint: 600,
     setDateOnMenuClose: 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
  • mobileBreakpoint: Mobile breakpoint in pixels
  • setDateOnMenuClose: When enabled, clicking away from the menu will set the selected date if some date is selected. Behaves similar to auto-apply, but it only applies the date on click-away

loading

Adds a loading overlay in the menu

  • Type: boolean
  • Default: false
`,11)),a(n,{loading:!0}),s[23]||(s[23]=i(`
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 and pointer event
  • 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
  • mobileBreakpoint: Mobile breakpoint in pixels
  • setDateOnMenuClose: When enabled, clicking away from the menu will set the selected date if some date is selected. Behaves similar to auto-apply, but it only applies the date on click-away

loading

Adds a loading overlay in the menu

  • Type: boolean
  • Default: false
`,11)),a(n,{loading:!0}),s[24]||(s[24]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" loading />
 </template>
 
diff --git a/docs/assets/props_keyboard_index.md.DtlJQTtr.js b/docs/assets/props_keyboard_index.md.CuOjFWCw.js
similarity index 99%
rename from docs/assets/props_keyboard_index.md.DtlJQTtr.js
rename to docs/assets/props_keyboard_index.md.CuOjFWCw.js
index e3e6308f..7444bc35 100644
--- a/docs/assets/props_keyboard_index.md.DtlJQTtr.js
+++ b/docs/assets/props_keyboard_index.md.CuOjFWCw.js
@@ -1,4 +1,4 @@
-import{_ as n,c as l,ai as i,G as t,B as e,o as h}from"./chunks/framework.BH5PR2Af.js";const y=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"}'),p={name:"props/keyboard/index.md"};function k(r,s,d,E,o,g){const a=e("GlobalDemo");return h(),l("div",null,[s[0]||(s[0]=i('

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)),t(a,{"esc-close":!1}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as n,c as l,al as i,G as t,B as e,o as h}from"./chunks/framework.DDyYGyON.js";const y=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"}'),p={name:"props/keyboard/index.md"};function k(r,s,d,E,o,g){const a=e("GlobalDemo");return h(),l("div",null,[s[0]||(s[0]=i('

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)),t(a,{"esc-close":!1}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :esc-close="false" />
 </template>
 
diff --git a/docs/assets/props_keyboard_index.md.DtlJQTtr.lean.js b/docs/assets/props_keyboard_index.md.CuOjFWCw.lean.js
similarity index 99%
rename from docs/assets/props_keyboard_index.md.DtlJQTtr.lean.js
rename to docs/assets/props_keyboard_index.md.CuOjFWCw.lean.js
index e3e6308f..7444bc35 100644
--- a/docs/assets/props_keyboard_index.md.DtlJQTtr.lean.js
+++ b/docs/assets/props_keyboard_index.md.CuOjFWCw.lean.js
@@ -1,4 +1,4 @@
-import{_ as n,c as l,ai as i,G as t,B as e,o as h}from"./chunks/framework.BH5PR2Af.js";const y=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"}'),p={name:"props/keyboard/index.md"};function k(r,s,d,E,o,g){const a=e("GlobalDemo");return h(),l("div",null,[s[0]||(s[0]=i('

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)),t(a,{"esc-close":!1}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as n,c as l,al as i,G as t,B as e,o as h}from"./chunks/framework.DDyYGyON.js";const y=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"}'),p={name:"props/keyboard/index.md"};function k(r,s,d,E,o,g){const a=e("GlobalDemo");return h(),l("div",null,[s[0]||(s[0]=i('

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)),t(a,{"esc-close":!1}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" :esc-close="false" />
 </template>
 
diff --git a/docs/assets/props_localization_index.md.BzxVvZmb.js b/docs/assets/props_localization_index.md.CJSI070X.js
similarity index 99%
rename from docs/assets/props_localization_index.md.BzxVvZmb.js
rename to docs/assets/props_localization_index.md.CJSI070X.js
index f52925cb..525b998f 100644
--- a/docs/assets/props_localization_index.md.BzxVvZmb.js
+++ b/docs/assets/props_localization_index.md.CJSI070X.js
@@ -1,4 +1,4 @@
-import{_ as k,c as p,ai as i,G as a,B as n,o as e}from"./chunks/framework.BH5PR2Af.js";const u=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"};function r(d,s,g,y,F,o){const t=n("GlobalDemo"),l=n("LocalizedOutput"),h=n("EmptyDemo");return e(),p("div",null,[s[0]||(s[0]=i('

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)),a(t,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as p,al as i,G as a,B as n,o as e}from"./chunks/framework.DDyYGyON.js";const u=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"};function r(d,s,g,y,F,o){const t=n("GlobalDemo"),l=n("LocalizedOutput"),h=n("EmptyDemo");return e(),p("div",null,[s[0]||(s[0]=i('

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)),a(t,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),s[1]||(s[1]=i(`
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.BzxVvZmb.lean.js b/docs/assets/props_localization_index.md.CJSI070X.lean.js
similarity index 99%
rename from docs/assets/props_localization_index.md.BzxVvZmb.lean.js
rename to docs/assets/props_localization_index.md.CJSI070X.lean.js
index f52925cb..525b998f 100644
--- a/docs/assets/props_localization_index.md.BzxVvZmb.lean.js
+++ b/docs/assets/props_localization_index.md.CJSI070X.lean.js
@@ -1,4 +1,4 @@
-import{_ as k,c as p,ai as i,G as a,B as n,o as e}from"./chunks/framework.BH5PR2Af.js";const u=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"};function r(d,s,g,y,F,o){const t=n("GlobalDemo"),l=n("LocalizedOutput"),h=n("EmptyDemo");return e(),p("div",null,[s[0]||(s[0]=i('

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)),a(t,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as p,al as i,G as a,B as n,o as e}from"./chunks/framework.DDyYGyON.js";const u=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"};function r(d,s,g,y,F,o){const t=n("GlobalDemo"),l=n("LocalizedOutput"),h=n("EmptyDemo");return e(),p("div",null,[s[0]||(s[0]=i('

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)),a(t,{locale:"de",cancelText:"abbrechen",selectText:"auswählen"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" locale="de" cancelText="abbrechen" selectText="auswählen" />
 </template>
 
diff --git a/docs/assets/props_look-and-feel_index.md.RU199MG2.js b/docs/assets/props_look-and-feel_index.md.BGtWfA-j.js
similarity index 99%
rename from docs/assets/props_look-and-feel_index.md.RU199MG2.js
rename to docs/assets/props_look-and-feel_index.md.BGtWfA-j.js
index 55dc8b19..890881ff 100644
--- a/docs/assets/props_look-and-feel_index.md.RU199MG2.js
+++ b/docs/assets/props_look-and-feel_index.md.BGtWfA-j.js
@@ -1,4 +1,4 @@
-import{_ as k,c as p,ai as i,G as a,B as t,o as d}from"./chunks/framework.BH5PR2Af.js";const C=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"}'),E={name:"props/look-and-feel/index.md"};function r(g,s,o,y,c,F){const n=t("GlobalDemo"),l=t("SixWeeksDemo"),h=t("DarkDemo"),e=t("DemoDayClass");return d(),p("div",null,[s[0]||(s[0]=i(`

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 k,c as p,al as i,G as a,B as t,o as d}from"./chunks/framework.DDyYGyON.js";const C=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"}'),E={name:"props/look-and-feel/index.md"};function r(g,s,o,y,c,F){const n=t("GlobalDemo"),l=t("SixWeeksDemo"),h=t("DarkDemo"),e=t("DemoDayClass");return d(),p("div",null,[s[0]||(s[0]=i(`

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.RU199MG2.lean.js b/docs/assets/props_look-and-feel_index.md.BGtWfA-j.lean.js
similarity index 99%
rename from docs/assets/props_look-and-feel_index.md.RU199MG2.lean.js
rename to docs/assets/props_look-and-feel_index.md.BGtWfA-j.lean.js
index 55dc8b19..890881ff 100644
--- a/docs/assets/props_look-and-feel_index.md.RU199MG2.lean.js
+++ b/docs/assets/props_look-and-feel_index.md.BGtWfA-j.lean.js
@@ -1,4 +1,4 @@
-import{_ as k,c as p,ai as i,G as a,B as t,o as d}from"./chunks/framework.BH5PR2Af.js";const C=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"}'),E={name:"props/look-and-feel/index.md"};function r(g,s,o,y,c,F){const n=t("GlobalDemo"),l=t("SixWeeksDemo"),h=t("DarkDemo"),e=t("DemoDayClass");return d(),p("div",null,[s[0]||(s[0]=i(`

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 k,c as p,al as i,G as a,B as t,o as d}from"./chunks/framework.DDyYGyON.js";const C=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"}'),E={name:"props/look-and-feel/index.md"};function r(g,s,o,y,c,F){const n=t("GlobalDemo"),l=t("SixWeeksDemo"),h=t("DarkDemo"),e=t("DemoDayClass");return d(),p("div",null,[s[0]||(s[0]=i(`

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_modes-configuration_index.md.CFx6XjsC.lean.js b/docs/assets/props_modes-configuration_index.md.D6Mk8xHD.js
similarity index 98%
rename from docs/assets/props_modes-configuration_index.md.CFx6XjsC.lean.js
rename to docs/assets/props_modes-configuration_index.md.D6Mk8xHD.js
index b43143a9..682b6930 100644
--- a/docs/assets/props_modes-configuration_index.md.CFx6XjsC.lean.js
+++ b/docs/assets/props_modes-configuration_index.md.D6Mk8xHD.js
@@ -1,4 +1,4 @@
-import{_ as d,c as r,ai as i,G as a,B as h,o as g}from"./chunks/framework.BH5PR2Af.js";const m=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"}'),y={name:"props/modes-configuration/index.md"};function F(o,s,c,C,u,B){const n=h("RangeDemo"),p=h("DisabledRangeDateDemo"),e=h("PresetRange"),E=h("TextInputDemo"),l=h("GlobalDemo"),k=h("EmptyDemo"),t=h("TimezoneNewDemo");return g(),r("div",null,[s[0]||(s[0]=i(`

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 d,c as r,al as i,G as a,B as h,o as g}from"./chunks/framework.DDyYGyON.js";const m=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"}'),y={name:"props/modes-configuration/index.md"};function F(o,s,c,C,u,B){const n=h("RangeDemo"),p=h("DisabledRangeDateDemo"),e=h("PresetRange"),E=h("TextInputDemo"),l=h("GlobalDemo"),k=h("EmptyDemo"),t=h("TimezoneNewDemo");return g(),r("div",null,[s[0]||(s[0]=i(`

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;
@@ -121,9 +121,11 @@ import{_ as d,c as r,ai as i,G as a,B as h,o as g}from"./chunks/framework.BH5PR2
 import { ref } from 'vue';
 
 const date = ref();
-</script>

preset-dates

When configured, it will provide a sidebar with configured range/date that user can select

Info

  • If the timezone prop is provided, values from preset dates will be converted to the provided timezone. If you don't want that, pass noTz: true to all presets
  • testId (if provided) will add data-test attribute on the preset button
  • Type: PresetDate[]
  • Default: []
ts
interface PresetDate {
+</script>

preset-dates

When configured, it will provide a sidebar with configured range/date that user can select

Info

  • If the timezone prop is provided, values from preset dates will be converted to the provided timezone. If you don't want that, pass noTz: true to all presets
  • testId (if provided) will add data-test attribute on the preset button
  • Type: PresetDate[]
  • Default: []
ts
import type { MaybeRefOrGetter } from "vue";
+
+interface PresetDate {
   label: string;
-  value: Date[] | string[] | Date | string;
+  value: MaybeRefOrGetter<Date[] | string[] | Date | string>;
   style?: Record<string, string>;
   slot?: string;
   noTz?: boolean;
@@ -202,7 +204,8 @@ import{_ as d,c as r,ai as i,G as a,B as h,o as g}from"./chunks/framework.BH5PR2
     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
`,8)),a(E,{"text-input":{format:"MM.dd.yyyy HH:mm"},placeholder:"Start Typing ..."}),s[14]||(s[14]=i(`
Code Example
vue
<template>
+    escClose?: boolean;
+}
  • 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
  • escClose: Closes calendar on esc key press
`,8)),a(E,{"text-input":{format:"MM.dd.yyyy HH:mm"},placeholder:"Start Typing ..."}),s[14]||(s[14]=i(`
Code Example
vue
<template>
     <VueDatePicker 
       v-model="date"
       placeholder="Start Typing ..."
diff --git a/docs/assets/props_modes-configuration_index.md.CFx6XjsC.js b/docs/assets/props_modes-configuration_index.md.D6Mk8xHD.lean.js
similarity index 98%
rename from docs/assets/props_modes-configuration_index.md.CFx6XjsC.js
rename to docs/assets/props_modes-configuration_index.md.D6Mk8xHD.lean.js
index b43143a9..682b6930 100644
--- a/docs/assets/props_modes-configuration_index.md.CFx6XjsC.js
+++ b/docs/assets/props_modes-configuration_index.md.D6Mk8xHD.lean.js
@@ -1,4 +1,4 @@
-import{_ as d,c as r,ai as i,G as a,B as h,o as g}from"./chunks/framework.BH5PR2Af.js";const m=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"}'),y={name:"props/modes-configuration/index.md"};function F(o,s,c,C,u,B){const n=h("RangeDemo"),p=h("DisabledRangeDateDemo"),e=h("PresetRange"),E=h("TextInputDemo"),l=h("GlobalDemo"),k=h("EmptyDemo"),t=h("TimezoneNewDemo");return g(),r("div",null,[s[0]||(s[0]=i(`

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 d,c as r,al as i,G as a,B as h,o as g}from"./chunks/framework.DDyYGyON.js";const m=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"}'),y={name:"props/modes-configuration/index.md"};function F(o,s,c,C,u,B){const n=h("RangeDemo"),p=h("DisabledRangeDateDemo"),e=h("PresetRange"),E=h("TextInputDemo"),l=h("GlobalDemo"),k=h("EmptyDemo"),t=h("TimezoneNewDemo");return g(),r("div",null,[s[0]||(s[0]=i(`

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;
@@ -121,9 +121,11 @@ import{_ as d,c as r,ai as i,G as a,B as h,o as g}from"./chunks/framework.BH5PR2
 import { ref } from 'vue';
 
 const date = ref();
-</script>

preset-dates

When configured, it will provide a sidebar with configured range/date that user can select

Info

  • If the timezone prop is provided, values from preset dates will be converted to the provided timezone. If you don't want that, pass noTz: true to all presets
  • testId (if provided) will add data-test attribute on the preset button
  • Type: PresetDate[]
  • Default: []
ts
interface PresetDate {
+</script>

preset-dates

When configured, it will provide a sidebar with configured range/date that user can select

Info

  • If the timezone prop is provided, values from preset dates will be converted to the provided timezone. If you don't want that, pass noTz: true to all presets
  • testId (if provided) will add data-test attribute on the preset button
  • Type: PresetDate[]
  • Default: []
ts
import type { MaybeRefOrGetter } from "vue";
+
+interface PresetDate {
   label: string;
-  value: Date[] | string[] | Date | string;
+  value: MaybeRefOrGetter<Date[] | string[] | Date | string>;
   style?: Record<string, string>;
   slot?: string;
   noTz?: boolean;
@@ -202,7 +204,8 @@ import{_ as d,c as r,ai as i,G as a,B as h,o as g}from"./chunks/framework.BH5PR2
     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
`,8)),a(E,{"text-input":{format:"MM.dd.yyyy HH:mm"},placeholder:"Start Typing ..."}),s[14]||(s[14]=i(`
Code Example
vue
<template>
+    escClose?: boolean;
+}
  • 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
  • escClose: Closes calendar on esc key press
`,8)),a(E,{"text-input":{format:"MM.dd.yyyy HH:mm"},placeholder:"Start Typing ..."}),s[14]||(s[14]=i(`
Code Example
vue
<template>
     <VueDatePicker 
       v-model="date"
       placeholder="Start Typing ..."
diff --git a/docs/assets/props_modes_index.md.DaUswn0e.js b/docs/assets/props_modes_index.md.CyQF0VXZ.js
similarity index 99%
rename from docs/assets/props_modes_index.md.DaUswn0e.js
rename to docs/assets/props_modes_index.md.CyQF0VXZ.js
index a085e790..8b76f92f 100644
--- a/docs/assets/props_modes_index.md.DaUswn0e.js
+++ b/docs/assets/props_modes_index.md.CyQF0VXZ.js
@@ -1,4 +1,4 @@
-import{_ as y,c,ai as i,G as a,B as t,o as F}from"./chunks/framework.BH5PR2Af.js";const b=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"}'),u={name:"props/modes/index.md"};function m(C,s,D,f,B,A){const l=t("RangeDemo"),k=t("MonthPickerDemo"),e=t("TimePickerDemo"),p=t("YearPickerDemo"),n=t("EmptyDemo"),E=t("QuarterPickerDemo"),r=t("TextInputDemo"),h=t("GlobalDemo"),d=t("TimezoneDemo"),g=t("DisplayModelDemo"),o=t("TimezoneNewDemo");return F(),c("div",null,[s[0]||(s[0]=i('

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)),a(l),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as y,c,al as i,G as a,B as t,o as F}from"./chunks/framework.DDyYGyON.js";const b=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"}'),u={name:"props/modes/index.md"};function m(C,s,D,f,B,A){const l=t("RangeDemo"),k=t("MonthPickerDemo"),e=t("TimePickerDemo"),p=t("YearPickerDemo"),n=t("EmptyDemo"),E=t("QuarterPickerDemo"),r=t("TextInputDemo"),h=t("GlobalDemo"),d=t("TimezoneDemo"),g=t("DisplayModelDemo"),o=t("TimezoneNewDemo");return F(),c("div",null,[s[0]||(s[0]=i('

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)),a(l),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" range />
 </template>
 
diff --git a/docs/assets/props_modes_index.md.DaUswn0e.lean.js b/docs/assets/props_modes_index.md.CyQF0VXZ.lean.js
similarity index 99%
rename from docs/assets/props_modes_index.md.DaUswn0e.lean.js
rename to docs/assets/props_modes_index.md.CyQF0VXZ.lean.js
index a085e790..8b76f92f 100644
--- a/docs/assets/props_modes_index.md.DaUswn0e.lean.js
+++ b/docs/assets/props_modes_index.md.CyQF0VXZ.lean.js
@@ -1,4 +1,4 @@
-import{_ as y,c,ai as i,G as a,B as t,o as F}from"./chunks/framework.BH5PR2Af.js";const b=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"}'),u={name:"props/modes/index.md"};function m(C,s,D,f,B,A){const l=t("RangeDemo"),k=t("MonthPickerDemo"),e=t("TimePickerDemo"),p=t("YearPickerDemo"),n=t("EmptyDemo"),E=t("QuarterPickerDemo"),r=t("TextInputDemo"),h=t("GlobalDemo"),d=t("TimezoneDemo"),g=t("DisplayModelDemo"),o=t("TimezoneNewDemo");return F(),c("div",null,[s[0]||(s[0]=i('

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)),a(l),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as y,c,al as i,G as a,B as t,o as F}from"./chunks/framework.DDyYGyON.js";const b=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"}'),u={name:"props/modes/index.md"};function m(C,s,D,f,B,A){const l=t("RangeDemo"),k=t("MonthPickerDemo"),e=t("TimePickerDemo"),p=t("YearPickerDemo"),n=t("EmptyDemo"),E=t("QuarterPickerDemo"),r=t("TextInputDemo"),h=t("GlobalDemo"),d=t("TimezoneDemo"),g=t("DisplayModelDemo"),o=t("TimezoneNewDemo");return F(),c("div",null,[s[0]||(s[0]=i('

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)),a(l),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" range />
 </template>
 
diff --git a/docs/assets/props_positioning_index.md.DLpvSIw3.js b/docs/assets/props_positioning_index.md.uFrYDF2T.js
similarity index 99%
rename from docs/assets/props_positioning_index.md.DLpvSIw3.js
rename to docs/assets/props_positioning_index.md.uFrYDF2T.js
index ee6497a3..cc086e21 100644
--- a/docs/assets/props_positioning_index.md.DLpvSIw3.js
+++ b/docs/assets/props_positioning_index.md.uFrYDF2T.js
@@ -1,4 +1,4 @@
-import{_ as n,c as l,ai as i,G as t,B as e,o as p}from"./chunks/framework.BH5PR2Af.js";const u=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"};function k(o,s,E,r,d,g){const a=e("GlobalDemo");return p(),l("div",null,[s[0]||(s[0]=i('

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)),t(a,{position:"left"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as n,c as l,al as i,G as t,B as e,o as p}from"./chunks/framework.DDyYGyON.js";const u=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"};function k(o,s,E,r,d,g){const a=e("GlobalDemo");return p(),l("div",null,[s[0]||(s[0]=i('

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)),t(a,{position:"left"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" position="left" />
 </template>
 
diff --git a/docs/assets/props_positioning_index.md.DLpvSIw3.lean.js b/docs/assets/props_positioning_index.md.uFrYDF2T.lean.js
similarity index 99%
rename from docs/assets/props_positioning_index.md.DLpvSIw3.lean.js
rename to docs/assets/props_positioning_index.md.uFrYDF2T.lean.js
index ee6497a3..cc086e21 100644
--- a/docs/assets/props_positioning_index.md.DLpvSIw3.lean.js
+++ b/docs/assets/props_positioning_index.md.uFrYDF2T.lean.js
@@ -1,4 +1,4 @@
-import{_ as n,c as l,ai as i,G as t,B as e,o as p}from"./chunks/framework.BH5PR2Af.js";const u=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"};function k(o,s,E,r,d,g){const a=e("GlobalDemo");return p(),l("div",null,[s[0]||(s[0]=i('

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)),t(a,{position:"left"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as n,c as l,al as i,G as t,B as e,o as p}from"./chunks/framework.DDyYGyON.js";const u=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"};function k(o,s,E,r,d,g){const a=e("GlobalDemo");return p(),l("div",null,[s[0]||(s[0]=i('

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)),t(a,{position:"left"}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" position="left" />
 </template>
 
diff --git a/docs/assets/props_time-picker-configuration_index.md.b9mfFTHi.js b/docs/assets/props_time-picker-configuration_index.md.dfirn8p2.js
similarity index 99%
rename from docs/assets/props_time-picker-configuration_index.md.b9mfFTHi.js
rename to docs/assets/props_time-picker-configuration_index.md.dfirn8p2.js
index e160b5f4..78b276e2 100644
--- a/docs/assets/props_time-picker-configuration_index.md.b9mfFTHi.js
+++ b/docs/assets/props_time-picker-configuration_index.md.dfirn8p2.js
@@ -1,4 +1,4 @@
-import{_ as k,c as e,ai as i,G as a,B as l,o as p}from"./chunks/framework.BH5PR2Af.js";const u=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"}'),E={name:"props/time-picker-configuration/index.md"};function r(d,s,g,y,o,c){const n=l("GlobalDemo"),t=l("EmptyDemo"),h=l("DisabledTimesDemo");return p(),e("div",null,[s[0]||(s[0]=i('

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)),a(n,{"time-picker-inline":!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as e,al as i,G as a,B as l,o as p}from"./chunks/framework.DDyYGyON.js";const u=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"}'),E={name:"props/time-picker-configuration/index.md"};function r(d,s,g,y,o,c){const n=l("GlobalDemo"),t=l("EmptyDemo"),h=l("DisabledTimesDemo");return p(),e("div",null,[s[0]||(s[0]=i('

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)),a(n,{"time-picker-inline":!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" time-picker-inline />
 </template>
 
diff --git a/docs/assets/props_time-picker-configuration_index.md.b9mfFTHi.lean.js b/docs/assets/props_time-picker-configuration_index.md.dfirn8p2.lean.js
similarity index 99%
rename from docs/assets/props_time-picker-configuration_index.md.b9mfFTHi.lean.js
rename to docs/assets/props_time-picker-configuration_index.md.dfirn8p2.lean.js
index e160b5f4..78b276e2 100644
--- a/docs/assets/props_time-picker-configuration_index.md.b9mfFTHi.lean.js
+++ b/docs/assets/props_time-picker-configuration_index.md.dfirn8p2.lean.js
@@ -1,4 +1,4 @@
-import{_ as k,c as e,ai as i,G as a,B as l,o as p}from"./chunks/framework.BH5PR2Af.js";const u=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"}'),E={name:"props/time-picker-configuration/index.md"};function r(d,s,g,y,o,c){const n=l("GlobalDemo"),t=l("EmptyDemo"),h=l("DisabledTimesDemo");return p(),e("div",null,[s[0]||(s[0]=i('

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)),a(n,{"time-picker-inline":!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as e,al as i,G as a,B as l,o as p}from"./chunks/framework.DDyYGyON.js";const u=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"}'),E={name:"props/time-picker-configuration/index.md"};function r(d,s,g,y,o,c){const n=l("GlobalDemo"),t=l("EmptyDemo"),h=l("DisabledTimesDemo");return p(),e("div",null,[s[0]||(s[0]=i('

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)),a(n,{"time-picker-inline":!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
     <VueDatePicker v-model="date" time-picker-inline />
 </template>
 
diff --git a/docs/assets/slots_components_index.md.DIAqqPij.js b/docs/assets/slots_components_index.md.D5cKmtPO.js
similarity index 99%
rename from docs/assets/slots_components_index.md.DIAqqPij.js
rename to docs/assets/slots_components_index.md.D5cKmtPO.js
index eb372e21..4c0a97c5 100644
--- a/docs/assets/slots_components_index.md.DIAqqPij.js
+++ b/docs/assets/slots_components_index.md.D5cKmtPO.js
@@ -1,4 +1,4 @@
-import{_ as t,c as p,ai as i,G as a,B as n,o as e}from"./chunks/framework.BH5PR2Af.js";const u=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"};function r(d,s,g,y,F,o){const h=n("MonthYearSlotDemo"),k=n("TimePickerSlotDemo"),l=n("ActionRowSlotDemo");return e(),p("div",null,[s[0]||(s[0]=i('

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)),a(h,{"default-slot":!0}),s[1]||(s[1]=i(`

Exposed props:

Date picker

ts
interface DefaultSelect {
+import{_ as t,c as p,al as i,G as a,B as n,o as e}from"./chunks/framework.DDyYGyON.js";const u=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"};function r(d,s,g,y,F,o){const h=n("MonthYearSlotDemo"),k=n("TimePickerSlotDemo"),l=n("ActionRowSlotDemo");return e(),p("div",null,[s[0]||(s[0]=i('

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)),a(h,{"default-slot":!0}),s[1]||(s[1]=i(`

Exposed props:

Date picker

ts
interface DefaultSelect {
   value: number;
   text: string;
   className?: Record<string, boolean>;
@@ -12,6 +12,7 @@ import{_ as t,c as p,ai as i,G as a,B as n,o as e}from"./chunks/framework.BH5PR2
     updateMonthYear: (month: number, year: number, fromNav: boolean) => void; // Exposed function to update month and year
     handleMonthYearChange: (isNext: boolean, fromNav?: boolean) => void; //  Exposed function to auto handle next/previous month
     instance: number; //  In case of multi-calendars, instance is the order of the calendar
+    isDisabled: boolean; // Internal computed logic that determens if next or previous month is allowed
 }

Month picker

ts
interface Props {
   year: ComputedRef<(instance: number) => number>; // Selected year on a given instance
   months: OverlayGridItem[][]; // Groupped array of months (by 3)
diff --git a/docs/assets/slots_components_index.md.DIAqqPij.lean.js b/docs/assets/slots_components_index.md.D5cKmtPO.lean.js
similarity index 99%
rename from docs/assets/slots_components_index.md.DIAqqPij.lean.js
rename to docs/assets/slots_components_index.md.D5cKmtPO.lean.js
index eb372e21..4c0a97c5 100644
--- a/docs/assets/slots_components_index.md.DIAqqPij.lean.js
+++ b/docs/assets/slots_components_index.md.D5cKmtPO.lean.js
@@ -1,4 +1,4 @@
-import{_ as t,c as p,ai as i,G as a,B as n,o as e}from"./chunks/framework.BH5PR2Af.js";const u=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"};function r(d,s,g,y,F,o){const h=n("MonthYearSlotDemo"),k=n("TimePickerSlotDemo"),l=n("ActionRowSlotDemo");return e(),p("div",null,[s[0]||(s[0]=i('

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)),a(h,{"default-slot":!0}),s[1]||(s[1]=i(`

Exposed props:

Date picker

ts
interface DefaultSelect {
+import{_ as t,c as p,al as i,G as a,B as n,o as e}from"./chunks/framework.DDyYGyON.js";const u=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"};function r(d,s,g,y,F,o){const h=n("MonthYearSlotDemo"),k=n("TimePickerSlotDemo"),l=n("ActionRowSlotDemo");return e(),p("div",null,[s[0]||(s[0]=i('

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)),a(h,{"default-slot":!0}),s[1]||(s[1]=i(`

Exposed props:

Date picker

ts
interface DefaultSelect {
   value: number;
   text: string;
   className?: Record<string, boolean>;
@@ -12,6 +12,7 @@ import{_ as t,c as p,ai as i,G as a,B as n,o as e}from"./chunks/framework.BH5PR2
     updateMonthYear: (month: number, year: number, fromNav: boolean) => void; // Exposed function to update month and year
     handleMonthYearChange: (isNext: boolean, fromNav?: boolean) => void; //  Exposed function to auto handle next/previous month
     instance: number; //  In case of multi-calendars, instance is the order of the calendar
+    isDisabled: boolean; // Internal computed logic that determens if next or previous month is allowed
 }

Month picker

ts
interface Props {
   year: ComputedRef<(instance: number) => number>; // Selected year on a given instance
   months: OverlayGridItem[][]; // Groupped array of months (by 3)
diff --git a/docs/assets/slots_content_index.md.BN9o82Ea.js b/docs/assets/slots_content_index.md.DYHiWMiC.js
similarity index 99%
rename from docs/assets/slots_content_index.md.BN9o82Ea.js
rename to docs/assets/slots_content_index.md.DYHiWMiC.js
index d8ba7c4d..ad93578c 100644
--- a/docs/assets/slots_content_index.md.BN9o82Ea.js
+++ b/docs/assets/slots_content_index.md.DYHiWMiC.js
@@ -1,4 +1,4 @@
-import{_ as k,c as l,ai as i,G as a,B as t,o as p}from"./chunks/framework.BH5PR2Af.js";const c=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"}'),e={name:"slots/content/index.md"};function E(r,s,d,g,y,F){const n=t("DemoSlots"),h=t("DemoMarkers");return p(),l("div",null,[s[0]||(s[0]=i('

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)),a(n,{useCalendarHeaderSlot:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as l,al as i,G as a,B as t,o as p}from"./chunks/framework.DDyYGyON.js";const c=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"}'),e={name:"slots/content/index.md"};function E(r,s,d,g,y,F){const n=t("DemoSlots"),h=t("DemoMarkers");return p(),l("div",null,[s[0]||(s[0]=i('

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)),a(n,{useCalendarHeaderSlot:!0}),s[1]||(s[1]=i(`
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.BN9o82Ea.lean.js b/docs/assets/slots_content_index.md.DYHiWMiC.lean.js
similarity index 99%
rename from docs/assets/slots_content_index.md.BN9o82Ea.lean.js
rename to docs/assets/slots_content_index.md.DYHiWMiC.lean.js
index d8ba7c4d..ad93578c 100644
--- a/docs/assets/slots_content_index.md.BN9o82Ea.lean.js
+++ b/docs/assets/slots_content_index.md.DYHiWMiC.lean.js
@@ -1,4 +1,4 @@
-import{_ as k,c as l,ai as i,G as a,B as t,o as p}from"./chunks/framework.BH5PR2Af.js";const c=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"}'),e={name:"slots/content/index.md"};function E(r,s,d,g,y,F){const n=t("DemoSlots"),h=t("DemoMarkers");return p(),l("div",null,[s[0]||(s[0]=i('

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)),a(n,{useCalendarHeaderSlot:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as k,c as l,al as i,G as a,B as t,o as p}from"./chunks/framework.DDyYGyON.js";const c=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"}'),e={name:"slots/content/index.md"};function E(r,s,d,g,y,F){const n=t("DemoSlots"),h=t("DemoMarkers");return p(),l("div",null,[s[0]||(s[0]=i('

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)),a(n,{useCalendarHeaderSlot:!0}),s[1]||(s[1]=i(`
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_icons_index.md.CwiTj7u7.js b/docs/assets/slots_icons_index.md.BovP6Dbd.js
similarity index 99%
rename from docs/assets/slots_icons_index.md.CwiTj7u7.js
rename to docs/assets/slots_icons_index.md.BovP6Dbd.js
index c9c2161a..7386a325 100644
--- a/docs/assets/slots_icons_index.md.CwiTj7u7.js
+++ b/docs/assets/slots_icons_index.md.BovP6Dbd.js
@@ -1,4 +1,4 @@
-import{_ as t,c as k,j as h,a as l,G as a,ai as n,B as p,o as E}from"./chunks/framework.BH5PR2Af.js";const C=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"};function r(d,s,g,y,F,o){const i=p("DemoSlots");return E(),k("div",null,[s[0]||(s[0]=h("h1",{id:"icons",tabindex:"-1"},[l("Icons "),h("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1)),s[1]||(s[1]=h("p",null,"Change datepicker icons",-1)),s[2]||(s[2]=h("h2",{id:"input-icon",tabindex:"-1"},[l("input-icon "),h("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1)),s[3]||(s[3]=h("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1)),a(i,{useInputIconSlot:!0}),s[4]||(s[4]=n(`
Code Example
vue
<template>
+import{_ as t,c as k,j as h,a as l,G as a,al as n,B as p,o as E}from"./chunks/framework.DDyYGyON.js";const C=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"};function r(d,s,g,y,F,o){const i=p("DemoSlots");return E(),k("div",null,[s[0]||(s[0]=h("h1",{id:"icons",tabindex:"-1"},[l("Icons "),h("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1)),s[1]||(s[1]=h("p",null,"Change datepicker icons",-1)),s[2]||(s[2]=h("h2",{id:"input-icon",tabindex:"-1"},[l("input-icon "),h("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1)),s[3]||(s[3]=h("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1)),a(i,{useInputIconSlot:!0}),s[4]||(s[4]=n(`
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.CwiTj7u7.lean.js b/docs/assets/slots_icons_index.md.BovP6Dbd.lean.js
similarity index 99%
rename from docs/assets/slots_icons_index.md.CwiTj7u7.lean.js
rename to docs/assets/slots_icons_index.md.BovP6Dbd.lean.js
index c9c2161a..7386a325 100644
--- a/docs/assets/slots_icons_index.md.CwiTj7u7.lean.js
+++ b/docs/assets/slots_icons_index.md.BovP6Dbd.lean.js
@@ -1,4 +1,4 @@
-import{_ as t,c as k,j as h,a as l,G as a,ai as n,B as p,o as E}from"./chunks/framework.BH5PR2Af.js";const C=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"};function r(d,s,g,y,F,o){const i=p("DemoSlots");return E(),k("div",null,[s[0]||(s[0]=h("h1",{id:"icons",tabindex:"-1"},[l("Icons "),h("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1)),s[1]||(s[1]=h("p",null,"Change datepicker icons",-1)),s[2]||(s[2]=h("h2",{id:"input-icon",tabindex:"-1"},[l("input-icon "),h("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1)),s[3]||(s[3]=h("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1)),a(i,{useInputIconSlot:!0}),s[4]||(s[4]=n(`
Code Example
vue
<template>
+import{_ as t,c as k,j as h,a as l,G as a,al as n,B as p,o as E}from"./chunks/framework.DDyYGyON.js";const C=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"};function r(d,s,g,y,F,o){const i=p("DemoSlots");return E(),k("div",null,[s[0]||(s[0]=h("h1",{id:"icons",tabindex:"-1"},[l("Icons "),h("a",{class:"header-anchor",href:"#icons","aria-label":'Permalink to "Icons"'},"​")],-1)),s[1]||(s[1]=h("p",null,"Change datepicker icons",-1)),s[2]||(s[2]=h("h2",{id:"input-icon",tabindex:"-1"},[l("input-icon "),h("a",{class:"header-anchor",href:"#input-icon","aria-label":'Permalink to "input-icon"'},"​")],-1)),s[3]||(s[3]=h("p",null,"This slot replaces the calendar icon in the input element with your custom element",-1)),a(i,{useInputIconSlot:!0}),s[4]||(s[4]=n(`
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_overlay_index.md.oh2AWG9A.js b/docs/assets/slots_overlay_index.md.Ldp4LnYd.js
similarity index 99%
rename from docs/assets/slots_overlay_index.md.oh2AWG9A.js
rename to docs/assets/slots_overlay_index.md.Ldp4LnYd.js
index a8951df6..8eee28f4 100644
--- a/docs/assets/slots_overlay_index.md.oh2AWG9A.js
+++ b/docs/assets/slots_overlay_index.md.Ldp4LnYd.js
@@ -1,4 +1,4 @@
-import{_ as t,c as k,ai as i,G as a,B as h,o as p}from"./chunks/framework.BH5PR2Af.js";const c=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"}'),e={name:"slots/overlay/index.md"};function E(r,s,d,g,y,F){const n=h("DemoSlots"),l=h("MonthYearSlotDemo");return p(),k("div",null,[s[0]||(s[0]=i('

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)),a(n,{useTimePickerOverlay:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as t,c as k,al as i,G as a,B as h,o as p}from"./chunks/framework.DDyYGyON.js";const c=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"}'),e={name:"slots/overlay/index.md"};function E(r,s,d,g,y,F){const n=h("DemoSlots"),l=h("MonthYearSlotDemo");return p(),k("div",null,[s[0]||(s[0]=i('

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)),a(n,{useTimePickerOverlay:!0}),s[1]||(s[1]=i(`
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.oh2AWG9A.lean.js b/docs/assets/slots_overlay_index.md.Ldp4LnYd.lean.js
similarity index 99%
rename from docs/assets/slots_overlay_index.md.oh2AWG9A.lean.js
rename to docs/assets/slots_overlay_index.md.Ldp4LnYd.lean.js
index a8951df6..8eee28f4 100644
--- a/docs/assets/slots_overlay_index.md.oh2AWG9A.lean.js
+++ b/docs/assets/slots_overlay_index.md.Ldp4LnYd.lean.js
@@ -1,4 +1,4 @@
-import{_ as t,c as k,ai as i,G as a,B as h,o as p}from"./chunks/framework.BH5PR2Af.js";const c=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"}'),e={name:"slots/overlay/index.md"};function E(r,s,d,g,y,F){const n=h("DemoSlots"),l=h("MonthYearSlotDemo");return p(),k("div",null,[s[0]||(s[0]=i('

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)),a(n,{useTimePickerOverlay:!0}),s[1]||(s[1]=i(`
Code Example
vue
<template>
+import{_ as t,c as k,al as i,G as a,B as h,o as p}from"./chunks/framework.DDyYGyON.js";const c=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"}'),e={name:"slots/overlay/index.md"};function E(r,s,d,g,y,F){const n=h("DemoSlots"),l=h("MonthYearSlotDemo");return p(),k("div",null,[s[0]||(s[0]=i('

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)),a(n,{useTimePickerOverlay:!0}),s[1]||(s[1]=i(`
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_trigger-and-input_index.md.CpB6Oa80.js b/docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.js
similarity index 99%
rename from docs/assets/slots_trigger-and-input_index.md.CpB6Oa80.js
rename to docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.js
index 0b806d8d..1b41a5a7 100644
--- a/docs/assets/slots_trigger-and-input_index.md.CpB6Oa80.js
+++ b/docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.js
@@ -1,4 +1,4 @@
-import{_ as l,c as p,j as i,a as t,G as n,ai as e,B as h,o as k}from"./chunks/framework.BH5PR2Af.js";const F=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"}'),d={name:"slots/trigger-and-input/index.md"};function E(r,s,o,g,c,y){const a=h("DemoSlots");return k(),p("div",null,[s[0]||(s[0]=i("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),i("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1)),s[1]||(s[1]=i("p",null,"Use custom input or trigger element",-1)),s[2]||(s[2]=i("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),i("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1)),s[3]||(s[3]=i("p",null,"This slot replaces the input element with your custom element",-1)),n(a,{useTriggerSlot:!0}),s[4]||(s[4]=e(`
Code Example
vue
<template>
+import{_ as l,c as p,j as i,a as t,G as n,al as e,B as h,o as k}from"./chunks/framework.DDyYGyON.js";const F=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"}'),d={name:"slots/trigger-and-input/index.md"};function E(r,s,o,g,c,y){const a=h("DemoSlots");return k(),p("div",null,[s[0]||(s[0]=i("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),i("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1)),s[1]||(s[1]=i("p",null,"Use custom input or trigger element",-1)),s[2]||(s[2]=i("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),i("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1)),s[3]||(s[3]=i("p",null,"This slot replaces the input element with your custom element",-1)),n(a,{useTriggerSlot:!0}),s[4]||(s[4]=e(`
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.CpB6Oa80.lean.js b/docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.lean.js
similarity index 99%
rename from docs/assets/slots_trigger-and-input_index.md.CpB6Oa80.lean.js
rename to docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.lean.js
index 0b806d8d..1b41a5a7 100644
--- a/docs/assets/slots_trigger-and-input_index.md.CpB6Oa80.lean.js
+++ b/docs/assets/slots_trigger-and-input_index.md.CI_qQFf5.lean.js
@@ -1,4 +1,4 @@
-import{_ as l,c as p,j as i,a as t,G as n,ai as e,B as h,o as k}from"./chunks/framework.BH5PR2Af.js";const F=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"}'),d={name:"slots/trigger-and-input/index.md"};function E(r,s,o,g,c,y){const a=h("DemoSlots");return k(),p("div",null,[s[0]||(s[0]=i("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),i("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1)),s[1]||(s[1]=i("p",null,"Use custom input or trigger element",-1)),s[2]||(s[2]=i("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),i("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1)),s[3]||(s[3]=i("p",null,"This slot replaces the input element with your custom element",-1)),n(a,{useTriggerSlot:!0}),s[4]||(s[4]=e(`
Code Example
vue
<template>
+import{_ as l,c as p,j as i,a as t,G as n,al as e,B as h,o as k}from"./chunks/framework.DDyYGyON.js";const F=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"}'),d={name:"slots/trigger-and-input/index.md"};function E(r,s,o,g,c,y){const a=h("DemoSlots");return k(),p("div",null,[s[0]||(s[0]=i("h1",{id:"trigger-and-input",tabindex:"-1"},[t("Trigger and input "),i("a",{class:"header-anchor",href:"#trigger-and-input","aria-label":'Permalink to "Trigger and input"'},"​")],-1)),s[1]||(s[1]=i("p",null,"Use custom input or trigger element",-1)),s[2]||(s[2]=i("h2",{id:"trigger",tabindex:"-1"},[t("trigger "),i("a",{class:"header-anchor",href:"#trigger","aria-label":'Permalink to "trigger"'},"​")],-1)),s[3]||(s[3]=i("p",null,"This slot replaces the input element with your custom element",-1)),n(a,{useTriggerSlot:!0}),s[4]||(s[4]=e(`
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/style.CSrQf7ao.css b/docs/assets/style.CSrQf7ao.css
new file mode 100644
index 00000000..40a692e2
--- /dev/null
+++ b/docs/assets/style.CSrQf7ao.css
@@ -0,0 +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, 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")}.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;-webkit-user-select:none;user-select:none;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-fa7799d5]{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-fa7799d5]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-fa7799d5]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-fa7799d5]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-fa7799d5]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-fa7799d5]: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-fa7799d5]: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-fa7799d5]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-fa7799d5]: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-fa7799d5]: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-fa7799d5]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-fa7799d5]: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-fa7799d5]: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-35975db6]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-35975db6]{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-35975db6]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-35975db6]{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-cf11d7a2]{position:relative}.VPFlyout[data-v-cf11d7a2]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-cf11d7a2]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-cf11d7a2]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-cf11d7a2]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-cf11d7a2]{color:var(--vp-c-brand-2)}.button[aria-expanded=false]+.menu[data-v-cf11d7a2]{opacity:0;visibility:hidden;transform:translateY(0)}.VPFlyout:hover .menu[data-v-cf11d7a2],.button[aria-expanded=true]+.menu[data-v-cf11d7a2]{opacity:1;visibility:visible;transform:translateY(0)}.button[data-v-cf11d7a2]{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-cf11d7a2]{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-cf11d7a2]{margin-right:0;font-size:16px}.text-icon[data-v-cf11d7a2]{margin-left:4px;font-size:14px}.icon[data-v-cf11d7a2]{font-size:20px;transition:fill .25s}.menu[data-v-cf11d7a2]{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-bd121fe5]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-bd121fe5]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-bd121fe5]>svg,.VPSocialLink[data-v-bd121fe5]>[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-e56f3d57]{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-e56f3d57],.VPNavBarMenuLink[data-v-e56f3d57]: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.3 | 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-1168a8e4]{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-1168a8e4]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-1168a8e4]{border-bottom-color:var(--vp-c-divider)}}[data-v-1168a8e4] .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-df37e6dd]{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-df37e6dd]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-3e9c20e4]{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-3e9c20e4]: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)}.dp--preset-dates[data-dp-mobile],.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}.dp--preset-range[data-dp-mobile]{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range[data-dp-mobile]:first-child{margin-left:0}.dp--preset-range[data-dp-mobile]: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}.dp__menu_content_wrapper[data-dp-mobile],.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%}.dp__flex_display[data-dp-mobile],.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;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-overlay-btn,.dp--time-invalid{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)}.dp--tp-wrap{max-width:var(--dp-menu-min-width)}.dp--tp-wrap[data-dp-mobile]{max-width:100%}.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_reg_with_button[data-compact~=true]{padding:0 5px}.dp__time_col_sec{padding:0 10px}.dp__time_col_sec_with_button{padding:0 5px}.dp__time_col_sec_with_button[data-collapsed~=true]{padding:0}.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__pm_am_button[data-compact~=true]{padding:7px}.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)}: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/assets/style.SWNFvPia.css b/docs/assets/style.SWNFvPia.css
deleted file mode 100644
index 3f94f130..00000000
--- a/docs/assets/style.SWNFvPia.css
+++ /dev/null
@@ -1 +0,0 @@
-@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, 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;-webkit-user-select:none;user-select:none;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-fa7799d5]{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-fa7799d5]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-fa7799d5]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-fa7799d5]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-fa7799d5]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-fa7799d5]: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-fa7799d5]: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-fa7799d5]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-fa7799d5]: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-fa7799d5]: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-fa7799d5]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-fa7799d5]: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-fa7799d5]: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-35975db6]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-35975db6]{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-35975db6]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-35975db6]{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-cf11d7a2]{position:relative}.VPFlyout[data-v-cf11d7a2]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-cf11d7a2]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-cf11d7a2]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-cf11d7a2]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-cf11d7a2]{color:var(--vp-c-brand-2)}.button[aria-expanded=false]+.menu[data-v-cf11d7a2]{opacity:0;visibility:hidden;transform:translateY(0)}.VPFlyout:hover .menu[data-v-cf11d7a2],.button[aria-expanded=true]+.menu[data-v-cf11d7a2]{opacity:1;visibility:visible;transform:translateY(0)}.button[data-v-cf11d7a2]{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-cf11d7a2]{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-cf11d7a2]{margin-right:0;font-size:16px}.text-icon[data-v-cf11d7a2]{margin-left:4px;font-size:14px}.icon[data-v-cf11d7a2]{font-size:20px;transition:fill .25s}.menu[data-v-cf11d7a2]{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-e56f3d57]{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-e56f3d57],.VPNavBarMenuLink[data-v-e56f3d57]: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.3 | 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-1168a8e4]{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-1168a8e4]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-1168a8e4]{border-bottom-color:var(--vp-c-divider)}}[data-v-1168a8e4] .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-df37e6dd]{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-df37e6dd]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-3e9c20e4]{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-3e9c20e4]: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)}.dp--preset-dates[data-dp-mobile],.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}.dp--preset-range[data-dp-mobile]{border:1px solid var(--dp-border-color);margin:0 3px}.dp--preset-range[data-dp-mobile]:first-child{margin-left:0}.dp--preset-range[data-dp-mobile]: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}.dp__menu_content_wrapper[data-dp-mobile],.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%}.dp__flex_display[data-dp-mobile],.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;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-overlay-btn,.dp--time-invalid{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)}.dp--tp-wrap{max-width:var(--dp-menu-min-width)}.dp--tp-wrap[data-dp-mobile]{max-width:100%}.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_reg_with_button[data-compact~=true]{padding:0 5px}.dp__time_col_sec{padding:0 10px}.dp__time_col_sec_with_button{padding:0 5px}.dp__time_col_sec_with_button[data-collapsed~=true]{padding:0}.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__pm_am_button[data-compact~=true]{padding:7px}.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)}: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 c9c4389d..9bdc513e 100644
--- a/docs/customization/theming/index.html
+++ b/docs/customization/theming/index.html
@@ -5,14 +5,15 @@
     
     Customization - Theming | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Theming

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

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

Info

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

Dark mode configuration

css
.dp__theme_dark {
+    
Skip to content

Theming

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

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

Info

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

Dark mode configuration

css
.dp__theme_dark {
     --dp-background-color: #212121;
     --dp-text-color: #fff;
     --dp-hover-color: #484848;
@@ -114,7 +115,7 @@
     --dp-animation-duration: 0.1s; /*Transition duration*/
     --dp-menu-appear-transition-timing: cubic-bezier(.4, 0, 1, 1); /*Timing on menu appear animation*/
     --dp-transition-timing: ease-out; /*Timing on slide animations*/
-}

Released under the MIT License.

+}

Released under the MIT License.

diff --git a/docs/hashmap.json b/docs/hashmap.json index e0dea381..8457341c 100644 --- a/docs/hashmap.json +++ b/docs/hashmap.json @@ -1 +1 @@ -{"customization_theming_index.md":"ARSzRlv3","index.md":"B0w_PrTM","installation_index.md":"eX808iRN","methods-and-events_events_index.md":"DXomF_PT","methods-and-events_methods_index.md":"BqVyHZwI","migration_from-v5.md":"D2gbYz_J","migration_from-v6.md":"BFL2C3Yy","migration_from-v7.md":"ZyJQcLcw","migration_from-v8.md":"DbmTB9Vy","migration_from-v9.md":"DV5gN7Nz","props_calendar-configuration_index.md":"m7pUDF0Z","props_formatting_index.md":"CRqJukng","props_general-configuration_index.md":"CVSNlgKZ","props_keyboard_index.md":"DtlJQTtr","props_localization_index.md":"BzxVvZmb","props_look-and-feel_index.md":"RU199MG2","props_modes-configuration_index.md":"CFx6XjsC","props_modes_index.md":"DaUswn0e","props_positioning_index.md":"DLpvSIw3","props_time-picker-configuration_index.md":"b9mfFTHi","slots_components_index.md":"DIAqqPij","slots_content_index.md":"BN9o82Ea","slots_icons_index.md":"CwiTj7u7","slots_overlay_index.md":"oh2AWG9A","slots_trigger-and-input_index.md":"CpB6Oa80"} +{"customization_theming_index.md":"n7fcEp_w","index.md":"BJiPgZgU","installation_index.md":"CqYA7Cgq","methods-and-events_events_index.md":"C-wBkQV8","methods-and-events_methods_index.md":"BUAhxP5w","migration_from-v10.md":"cKOzBSoF","migration_from-v5.md":"Bmjm4GG1","migration_from-v6.md":"BGEZ6Qh1","migration_from-v7.md":"D7tfPsIU","migration_from-v8.md":"GbP-eSYg","migration_from-v9.md":"BP5fxbOt","props_calendar-configuration_index.md":"DP0AeudM","props_formatting_index.md":"C4TPj7vZ","props_general-configuration_index.md":"BRWJzeLU","props_keyboard_index.md":"CuOjFWCw","props_localization_index.md":"CJSI070X","props_look-and-feel_index.md":"BGtWfA-j","props_modes-configuration_index.md":"D6Mk8xHD","props_modes_index.md":"CyQF0VXZ","props_positioning_index.md":"uFrYDF2T","props_time-picker-configuration_index.md":"dfirn8p2","slots_components_index.md":"D5cKmtPO","slots_content_index.md":"DYHiWMiC","slots_icons_index.md":"BovP6Dbd","slots_overlay_index.md":"Ldp4LnYd","slots_trigger-and-input_index.md":"CI_qQFf5"} diff --git a/docs/index.html b/docs/index.html index bc08ef34..411e9166 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,14 +5,15 @@ Vue Datepicker - - - - + + + + + - - - + + + @@ -21,7 +22,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 9cc0e8e5..70f760e8 100644 --- a/docs/installation/index.html +++ b/docs/installation/index.html @@ -5,14 +5,15 @@ Installation | Vue Datepicker - - - - + + + + + - - - + + + @@ -21,7 +22,7 @@ -
Skip to content

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

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 +33,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 73e380b2..d0ae29b3 100644
--- a/docs/methods-and-events/events/index.html
+++ b/docs/methods-and-events/events/index.html
@@ -5,14 +5,15 @@
     
     Events | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Events

List of available events that are emitted on some action

@update:model-value

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

Code Example
vue
<template>
+    
Skip to content

Events

List of available events that are emitted on some action

@update:model-value

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

Code Example
vue
<template>
     <VueDatePicker :model-value="date" @update:model-value="handleDate" />
 </template>
 
diff --git a/docs/methods-and-events/methods/index.html b/docs/methods-and-events/methods/index.html
index e23b76c1..020c9ea0 100644
--- a/docs/methods-and-events/methods/index.html
+++ b/docs/methods-and-events/methods/index.html
@@ -5,14 +5,15 @@
     
     Methods | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Methods

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

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

Code Example
vue
<template>
+    
Skip to content

Methods

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

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

Code Example
vue
<template>
     <VueDatePicker v-model="date" ref="datepicker" />
 </template>
 
diff --git a/docs/migration/from-v10.html b/docs/migration/from-v10.html
new file mode 100644
index 00000000..fa9d0fbd
--- /dev/null
+++ b/docs/migration/from-v10.html
@@ -0,0 +1,38 @@
+
+
+  
+    
+    
+    Migration from v10 | Vue Datepicker
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+    
+  
+  
+    
Skip to content

Migrating from v10

Breaking changes

  • Library now requires vue >= v3.3
  • Calendar cells id attribute is now prefixed with dp-
  • Calendar cells data-test-id attribute now matches the id value
  • Ref dpWrapMenuRef is now exposed via the getter function getDpWrapMenuRef instead of direct access

Calendar cell id update

js
import { format } from 'date-fns';
+const formatToken =  `yyyy-MM-dd`;
+
+document.getElementById(format(new Date(), formatToken)) 
+document.getElementById(`dp-${format(new Date(), formatToken)}`) 

Calendar cell data-test-id update

js
import { format } from 'date-fns';
+const formatToken =  `yyyy-MM-dd`;
+
+document.querySelector(`[data-test-id="${new Date()}"]`) 
+document.querySelector(`[data-test-id="dp-${format(new Date(), formatToken)}"]`) 

dpWrapMenuRef

Instead of directly accessing the ref, it is now wrapped in a function

js
datePickerInstance.dpWrapMenuRef.value 
+datePickerInstance.getDpWrapMenuRef().value 

Released under the MIT License.

+ + + + \ No newline at end of file diff --git a/docs/migration/from-v5.html b/docs/migration/from-v5.html index b86e57b7..752d3838 100644 --- a/docs/migration/from-v5.html +++ b/docs/migration/from-v5.html @@ -5,14 +5,15 @@ Migration from v5 | Vue Datepicker - - - - + + + + + - - - + + + @@ -21,7 +22,7 @@ -
Skip to content

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is empty
  • aria-label for arrow buttons in month-picker mode is changed to Next/Previous year
  • auto-apply-month prop is removed (will work with auto-apply prop set)
  • show-now-button prop is removed
  • month-year slot will have different props depending on the used mode
  • Property handleMonthYearChange is removed from sidebar-[left/right] slot props
  • Props changes (check props-reconfiguration)

Props reconfiguration

Based on the list of removed props, and depending on your usage, you might need to do a slight adjustments to keep prior behaviour:

multi-calendars-solo and multi-static

These 2 props are now merged into a configuration object that can be passed

to multi-calendars prop

Info

For prop definition, check multi-calendars prop

js

+    
Skip to content

Migrating from v5

Breaking changes

  • month-picker and year-picker no longer have predefined value if v-model is empty
  • aria-label for arrow buttons in month-picker mode is changed to Next/Previous year
  • auto-apply-month prop is removed (will work with auto-apply prop set)
  • show-now-button prop is removed
  • month-year slot will have different props depending on the used mode
  • Property handleMonthYearChange is removed from sidebar-[left/right] slot props
  • Props changes (check props-reconfiguration)

Props reconfiguration

Based on the list of removed props, and depending on your usage, you might need to do a slight adjustments to keep prior behaviour:

multi-calendars-solo and multi-static

These 2 props are now merged into a configuration object that can be passed

to multi-calendars prop

Info

For prop definition, check multi-calendars prop

js

 <template>
 
   <VueDatePicker
diff --git a/docs/migration/from-v6.html b/docs/migration/from-v6.html
index a048fbc8..15b6705a 100644
--- a/docs/migration/from-v6.html
+++ b/docs/migration/from-v6.html
@@ -5,14 +5,15 @@
     
     Migration from v6 | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Migrating from v6

Breaking changes

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

All removed props are now part of the config prop

Released under the MIT License.

+
Skip to content

Migrating from v6

Breaking changes

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

All removed props are now part of the config prop

Released under the MIT License.

diff --git a/docs/migration/from-v7.html b/docs/migration/from-v7.html index 641275a6..2b271108 100644 --- a/docs/migration/from-v7.html +++ b/docs/migration/from-v7.html @@ -5,14 +5,15 @@ Migration from v7 | Vue Datepicker - - - - + + + + + - - - + + + @@ -21,7 +22,7 @@ -
Skip to content

Migrating from v7

Breaking changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • Removed deprecated props
    • Removed
      • highlight-week-days
      • highlight-disabled-days
      • highlight prop types
        • Date[]
        • string[]
        • number[]
  • id for calendar days is changed to formatted value instead of ISO value
  • date-fns-tz library is removed
  • date-fns library is updated to v3

highlight

Info

For prop definition, check highlight prop

js
<template>
+    
Skip to content

Migrating from v7

Breaking changes

  • Default week-picker format is changed to week numbers
  • Tabbing out from the overlay will shift focus to the action row button if present
  • Removed deprecated props
    • Removed
      • highlight-week-days
      • highlight-disabled-days
      • highlight prop types
        • Date[]
        • string[]
        • number[]
  • id for calendar days is changed to formatted value instead of ISO value
  • date-fns-tz library is removed
  • date-fns library is updated to v3

highlight

Info

For prop definition, check highlight prop

js
<template>
   <VueDatePicker
     :highlight="[new Date()]"
     :highlight="{ days: [ new Date() ] }"
diff --git a/docs/migration/from-v8.html b/docs/migration/from-v8.html
index e91e8b9d..0b48c0dd 100644
--- a/docs/migration/from-v8.html
+++ b/docs/migration/from-v8.html
@@ -5,14 +5,15 @@
     
     Migration from v8 | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

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

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/migration/from-v9.html b/docs/migration/from-v9.html
index b0c07339..ce5c8af7 100644
--- a/docs/migration/from-v9.html
+++ b/docs/migration/from-v9.html
@@ -3,16 +3,17 @@
   
     
     
-    Migration from v8 | Vue Datepicker
+    Migration from v9 | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
+    
Skip to content

Migrating from v9

Breaking changes

  • date-fns library is updated to version 4
  • data-test attribute is renamed to data-test-id
  • alt-position now accepts any returned style and won't do any conversion

date-fns update

If you are using date-fns in your project, please refer to date-fns v4 changelog for any potential changes or conflicts. Otherwise, no need for any action

data-test-id

This attribute is used internally for unit testing, however it is exposed for convenience if you need to do any further unit/integration testing

js
document.querySelector('[data-test="dp-input"]'); 
 document.querySelector('[data-test-id="dp-input"]'); 

alt-position

The custom function passed via prop can return any value and won't do any custom parsing

ts
const myAltPositioning = (el: HTMLElement) => {
   return {
     top: 10, 
@@ -30,7 +31,7 @@
     left: '50px', 
     // ... any other style
   }  
-}

Released under the MIT License.

+}

Released under the MIT License.

diff --git a/docs/props/calendar-configuration/index.html b/docs/props/calendar-configuration/index.html index e9c061eb..970aef9e 100644 --- a/docs/props/calendar-configuration/index.html +++ b/docs/props/calendar-configuration/index.html @@ -5,14 +5,15 @@ Props - Calendar configuration | Vue Datepicker - - - - + + + + + - - - + + + @@ -21,7 +22,7 @@ -
Skip to content

Calendar configuration

Configure calendar options such as behavior or available dates

Info

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

calendar

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

Important

Do not modify date values

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

Calendar configuration

Configure calendar options such as behavior or available dates

Info

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

calendar

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

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/props/formatting/index.html b/docs/props/formatting/index.html
index 66f42a4b..091d7b17 100644
--- a/docs/props/formatting/index.html
+++ b/docs/props/formatting/index.html
@@ -5,14 +5,15 @@
     
     Props - Formatting | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Formatting

Format options for the value displayed in the input or preview

Info

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

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'
    • Week picker 'RR-yyyy' | 'ww-yyyy' (depends on week numbering)

Info

If is-24 prop is set to false, hours format will be changed to 'hh:mm aa'

For additional information on how to pass custom string format you can check Unicode tokens

Code Example
vue
<template>
+    
Skip to content

Formatting

Format options for the value displayed in the input or preview

Info

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

format

Format the value of the date(s) in the input field. Formatting is done automatically via provided string format. However, you can override the default format by providing a custom formatter function

  • Type: string | ((date: Date) => string) | ((dates: Date[]) => string);
  • Default:
    • Single picker: 'MM/dd/yyyy HH:mm'
    • Range picker: 'MM/dd/yyyy HH:mm - MM/dd/yyyy HH:mm'
    • Month picker: 'MM/yyyy'
    • Time picker: 'HH:mm'
    • Time picker range: 'HH:mm - HH:mm'
    • Week picker 'RR-yyyy' | 'ww-yyyy' (depends on week numbering)

Info

If is-24 prop is set to false, hours format will be changed to 'hh:mm aa'

For additional information on how to pass custom string format you can check Unicode tokens

Code Example
vue
<template>
     <VueDatePicker v-model="date" :format="format" />
 </template>
 
diff --git a/docs/props/general-configuration/index.html b/docs/props/general-configuration/index.html
index 37207b7c..f75c44d8 100644
--- a/docs/props/general-configuration/index.html
+++ b/docs/props/general-configuration/index.html
@@ -5,14 +5,15 @@
     
     Props - General configuration | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

General configuration

General behavior props configuration

Info

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

uid

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

  • Type: string
  • Default: null
Code Example
vue
<template>
+    
Skip to content

General configuration

General behavior props configuration

Info

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

uid

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

  • Type: string
  • Default: null
Code Example
vue
<template>
     <VueDatePicker v-model="date" uid="demo" />
 </template>
 
@@ -69,6 +70,14 @@
 import { ref } from 'vue';
 
 const date = ref(new Date());
+</script>

always-clearable

Keeps the clear icon even if there is no value in the calendar

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+    <VueDatePicker v-model="date" :always-clearable="true" />
+</template>
+
+<script setup>
+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>
     <VueDatePicker v-model="date" auto-apply />
 </template>
@@ -250,7 +259,7 @@
     closeOnAutoApply?: boolean;
     noSwipe?: boolean;
     keepActionRow?: boolean;
-    onClickOutside?: (validate: () => boolean) => void;
+    onClickOutside?: (validate: () => boolean, evt: PointerEvent) => void;
     tabOutClosesMenu?: boolean;
     arrowLeft?: string;
     keepViewOnOffsetClick?: boolean;
@@ -275,7 +284,7 @@
     shadowDom: false,
     mobileBreakpoint: 600,
     setDateOnMenuClose: 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
  • mobileBreakpoint: Mobile breakpoint in pixels
  • setDateOnMenuClose: When enabled, clicking away from the menu will set the selected date if some date is selected. Behaves similar to auto-apply, but it only applies the date on click-away

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 and pointer event
  • 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
  • mobileBreakpoint: Mobile breakpoint in pixels
  • setDateOnMenuClose: When enabled, clicking away from the menu will set the selected date if some date is selected. Behaves similar to auto-apply, but it only applies the date on click-away

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 750b1eb1..f074f799 100644
--- a/docs/props/keyboard/index.html
+++ b/docs/props/keyboard/index.html
@@ -5,14 +5,15 @@
     
     Props - Keyboard | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Keyboard

Configure keyboard actions

Info

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

Info

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

All keyboard events are enabled by default

esc-close

Esc key closes the menu

  • Type: boolean
  • Default: true
Code Example
vue
<template>
+    
Skip to content

Keyboard

Configure keyboard actions

Info

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

Info

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

All keyboard events are enabled by default

esc-close

Esc key closes the menu

  • Type: boolean
  • Default: true
Code Example
vue
<template>
     <VueDatePicker v-model="date" :esc-close="false" />
 </template>
 
diff --git a/docs/props/localization/index.html b/docs/props/localization/index.html
index 5b11e932..f2c4fec4 100644
--- a/docs/props/localization/index.html
+++ b/docs/props/localization/index.html
@@ -5,14 +5,15 @@
     
     Props - Localization | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Localization

Localization options and label props

Info

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

locale

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

  • Type: string
  • Default: 'en-US'
Code Example
vue
<template>
+    
Skip to content

Localization

Localization options and label props

Info

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

locale

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

  • Type: string
  • Default: 'en-US'
Code Example
vue
<template>
     <VueDatePicker v-model="date" locale="de" cancelText="abbrechen" selectText="auswählen" />
 </template>
 
diff --git a/docs/props/look-and-feel/index.html b/docs/props/look-and-feel/index.html
index 33f3964a..0ddb12f6 100644
--- a/docs/props/look-and-feel/index.html
+++ b/docs/props/look-and-feel/index.html
@@ -5,14 +5,15 @@
     
     Props - Look and feel | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Look and feel

Customization options

Info

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

transitions

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

  • Type: Transitions | boolean
  • Default: true
ts
interface Transitions {
+    
Skip to content

Look and feel

Customization options

Info

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

transitions

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

  • Type: Transitions | boolean
  • Default: true
ts
interface Transitions {
     open?: string; 
     close?: string; 
     next?: string; 
diff --git a/docs/props/modes-configuration/index.html b/docs/props/modes-configuration/index.html
index db964879..8e0d4eae 100644
--- a/docs/props/modes-configuration/index.html
+++ b/docs/props/modes-configuration/index.html
@@ -5,14 +5,15 @@
     
     Props - Modes configuration | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Modes configuration

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

Info

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

range configuration

Providing configuration object will automatically enable range picker

ts
interface RangeConfig {
+    
Skip to content

Modes configuration

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

Info

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

range configuration

Providing configuration object will automatically enable range picker

ts
interface RangeConfig {
     noDisabledRange?: boolean;
     showLastInRange?: boolean;
     minMaxRawRange?: boolean;
@@ -144,9 +145,11 @@
 import { ref } from 'vue';
 
 const date = ref();
-</script>

preset-dates

When configured, it will provide a sidebar with configured range/date that user can select

Info

  • If the timezone prop is provided, values from preset dates will be converted to the provided timezone. If you don't want that, pass noTz: true to all presets
  • testId (if provided) will add data-test attribute on the preset button
  • Type: PresetDate[]
  • Default: []
ts
interface PresetDate {
+</script>

preset-dates

When configured, it will provide a sidebar with configured range/date that user can select

Info

  • If the timezone prop is provided, values from preset dates will be converted to the provided timezone. If you don't want that, pass noTz: true to all presets
  • testId (if provided) will add data-test attribute on the preset button
  • Type: PresetDate[]
  • Default: []
ts
import type { MaybeRefOrGetter } from "vue";
+
+interface PresetDate {
   label: string;
-  value: Date[] | string[] | Date | string;
+  value: MaybeRefOrGetter<Date[] | string[] | Date | string>;
   style?: Record<string, string>;
   slot?: string;
   noTz?: boolean;
@@ -225,7 +228,8 @@
     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>
+    escClose?: boolean;
+}
  • 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
  • escClose: Closes calendar on esc key press
Code Example
vue
<template>
     <VueDatePicker 
       v-model="date"
       placeholder="Start Typing ..."
diff --git a/docs/props/modes/index.html b/docs/props/modes/index.html
index ce23e002..3ee2b344 100644
--- a/docs/props/modes/index.html
+++ b/docs/props/modes/index.html
@@ -5,14 +5,15 @@
     
     Props - Modes | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Modes

Set the default mode for the datepicker

Info

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

Info

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

range

Range picker mode

  • Type: boolean | RangeConfig
  • Default: false

Info

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

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

Code Example
vue
<template>
+    
Skip to content

Modes

Set the default mode for the datepicker

Info

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

Info

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

range

Range picker mode

  • Type: boolean | RangeConfig
  • Default: false

Info

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

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

Code Example
vue
<template>
     <VueDatePicker v-model="date" range />
 </template>
 
diff --git a/docs/props/positioning/index.html b/docs/props/positioning/index.html
index 9689fa95..47a6ffc5 100644
--- a/docs/props/positioning/index.html
+++ b/docs/props/positioning/index.html
@@ -5,14 +5,15 @@
     
     Props - Positioning | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Positioning

Configure datepicker menu positioning

Info

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

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
Code Example
vue
<template>
+    
Skip to content

Positioning

Configure datepicker menu positioning

Info

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

position

Datepicker menu position

  • Type: 'left' | 'center' | 'right'
  • Default: 'center'
Code Example
vue
<template>
     <VueDatePicker v-model="date" position="left" />
 </template>
 
diff --git a/docs/props/time-picker-configuration/index.html b/docs/props/time-picker-configuration/index.html
index 543284ab..d795fec1 100644
--- a/docs/props/time-picker-configuration/index.html
+++ b/docs/props/time-picker-configuration/index.html
@@ -5,14 +5,15 @@
     
     Props - Time picker configuration | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Time picker configuration

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

Info

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

time-picker-inline

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

  • Type: boolean
  • Default: false
Code Example
vue
<template>
+    
Skip to content

Time picker configuration

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

Info

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

time-picker-inline

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

  • Type: boolean
  • Default: false
Code Example
vue
<template>
     <VueDatePicker v-model="date" time-picker-inline />
 </template>
 
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index fa418dec..48462222 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -1 +1 @@
-https://vue3datepicker.com/customization/theming/https://vue3datepicker.com/https://vue3datepicker.com/installation/https://vue3datepicker.com/methods-and-events/events/https://vue3datepicker.com/methods-and-events/methods/https://vue3datepicker.com/migration/from-v5https://vue3datepicker.com/migration/from-v6https://vue3datepicker.com/migration/from-v7https://vue3datepicker.com/migration/from-v8https://vue3datepicker.com/migration/from-v9https://vue3datepicker.com/props/calendar-configuration/https://vue3datepicker.com/props/formatting/https://vue3datepicker.com/props/general-configuration/https://vue3datepicker.com/props/keyboard/https://vue3datepicker.com/props/localization/https://vue3datepicker.com/props/look-and-feel/https://vue3datepicker.com/props/modes-configuration/https://vue3datepicker.com/props/modes/https://vue3datepicker.com/props/positioning/https://vue3datepicker.com/props/time-picker-configuration/https://vue3datepicker.com/slots/components/https://vue3datepicker.com/slots/content/https://vue3datepicker.com/slots/icons/https://vue3datepicker.com/slots/overlay/https://vue3datepicker.com/slots/trigger-and-input/
\ No newline at end of file
+https://vue3datepicker.com/customization/theming/https://vue3datepicker.com/https://vue3datepicker.com/installation/https://vue3datepicker.com/methods-and-events/events/https://vue3datepicker.com/methods-and-events/methods/https://vue3datepicker.com/migration/from-v10https://vue3datepicker.com/migration/from-v5https://vue3datepicker.com/migration/from-v6https://vue3datepicker.com/migration/from-v7https://vue3datepicker.com/migration/from-v8https://vue3datepicker.com/migration/from-v9https://vue3datepicker.com/props/calendar-configuration/https://vue3datepicker.com/props/formatting/https://vue3datepicker.com/props/general-configuration/https://vue3datepicker.com/props/keyboard/https://vue3datepicker.com/props/localization/https://vue3datepicker.com/props/look-and-feel/https://vue3datepicker.com/props/modes-configuration/https://vue3datepicker.com/props/modes/https://vue3datepicker.com/props/positioning/https://vue3datepicker.com/props/time-picker-configuration/https://vue3datepicker.com/slots/components/https://vue3datepicker.com/slots/content/https://vue3datepicker.com/slots/icons/https://vue3datepicker.com/slots/overlay/https://vue3datepicker.com/slots/trigger-and-input/
\ No newline at end of file
diff --git a/docs/slots/components/index.html b/docs/slots/components/index.html
index 81097c45..33bcc6a8 100644
--- a/docs/slots/components/index.html
+++ b/docs/slots/components/index.html
@@ -5,14 +5,15 @@
     
     Slots - Components | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Component slots

Replace the built-in components with custom implementation

month-year

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

Info

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

Warning

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

Exposed props:

Date picker

ts
interface DefaultSelect {
+    
Skip to content

Component slots

Replace the built-in components with custom implementation

month-year

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

Info

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

Warning

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

Exposed props:

Date picker

ts
interface DefaultSelect {
   value: number;
   text: string;
   className?: Record<string, boolean>;
@@ -35,6 +36,7 @@
     updateMonthYear: (month: number, year: number, fromNav: boolean) => void; // Exposed function to update month and year
     handleMonthYearChange: (isNext: boolean, fromNav?: boolean) => void; //  Exposed function to auto handle next/previous month
     instance: number; //  In case of multi-calendars, instance is the order of the calendar
+    isDisabled: boolean; // Internal computed logic that determens if next or previous month is allowed
 }

Month picker

ts
interface Props {
   year: ComputedRef<(instance: number) => number>; // Selected year on a given instance
   months: OverlayGridItem[][]; // Groupped array of months (by 3)
diff --git a/docs/slots/content/index.html b/docs/slots/content/index.html
index 143afbe6..5dfe78ab 100644
--- a/docs/slots/content/index.html
+++ b/docs/slots/content/index.html
@@ -5,14 +5,15 @@
     
     Slots - Content | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

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

Content

Customize parts in the datepicker menu

calendar-header

Replace the content in the calendar header cells

Available props are:

  • day: Displayed value in the header cell
  • index: Column index it is rendered by
Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #calendar-header="{ index, day }">
         <div :class="index === 5 || index === 6 ? 'red-color' : ''">
diff --git a/docs/slots/icons/index.html b/docs/slots/icons/index.html
index 870a6ba2..dc2137d8 100644
--- a/docs/slots/icons/index.html
+++ b/docs/slots/icons/index.html
@@ -5,14 +5,15 @@
     
     Slots - Icons | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

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

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"/>
diff --git a/docs/slots/overlay/index.html b/docs/slots/overlay/index.html
index a028f0a1..221d8f5e 100644
--- a/docs/slots/overlay/index.html
+++ b/docs/slots/overlay/index.html
@@ -5,14 +5,15 @@
     
     Slots - Overlay | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

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

Info

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

Code Example
vue
<template>
+    
Skip to content

Overlay

Customize overlay and overlay triggers

time-picker-overlay

This slot replaces the full overlay in the timepicker

Several props are available:

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

Info

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

Code Example
vue
<template>
     <VueDatePicker v-model="date">
       <template #time-picker-overlay="{ hours, minutes, setHours, setMinutes }">
         <div class="time-picker-overlay">
diff --git a/docs/slots/trigger-and-input/index.html b/docs/slots/trigger-and-input/index.html
index 303b89c9..475aa69c 100644
--- a/docs/slots/trigger-and-input/index.html
+++ b/docs/slots/trigger-and-input/index.html
@@ -5,14 +5,15 @@
     
     Slots - Trigger and input | Vue Datepicker
     
-    
-    
-    
-    
+    
+    
+    
+    
+    
     
-    
-    
-    
+    
+    
+    
     
     
     
@@ -21,7 +22,7 @@
     
   
   
-    
Skip to content

Trigger and input

Use custom input or trigger element

trigger

This slot replaces the input element with your custom element

This is some custom clickable text that will open datepicker

Code Example
vue
<template>
+    
Skip to content

Trigger and input

Use custom input or trigger element

trigger

This slot replaces the input element with your custom element

This is some custom clickable text that will open datepicker

Code Example
vue
<template>
     <VueDatePicker v-model="date">
         <template #trigger>
             <p class="clickable-text">This is some custom clickable text that will open the datepicker</p>
diff --git a/docs/vp-icons.css b/docs/vp-icons.css
new file mode 100644
index 00000000..eaf7c25d
--- /dev/null
+++ b/docs/vp-icons.css
@@ -0,0 +1 @@
+.vpi-social-github{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-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-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .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-npm{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' 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.019l-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z'/%3E%3C/svg%3E")}
\ No newline at end of file