@worktango/ai-assistant 0.0.78-beta.9 → 0.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/dist/{Absenteeism-BPjYY9vz.mjs → Absenteeism-DrYkfVDa.mjs} +1 -1
  2. package/dist/{ActivityFeed-LDZFAO7A.mjs → ActivityFeed-DJ8OjLA7.mjs} +1 -1
  3. package/dist/{AddUser-BOhahEVk.mjs → AddUser-DucS94pZ.mjs} +1 -1
  4. package/dist/{Admin-BrcGX5tu.mjs → Admin-BXyoMTZe.mjs} +1 -1
  5. package/dist/{Admin-C0rqNQZN.mjs → Admin-BueKjTmm.mjs} +1 -1
  6. package/dist/AiGeneral-q7shlU8u.mjs +73 -0
  7. package/dist/AiScoring-CCmuxplE.mjs +97 -0
  8. package/dist/AiText-B4rYJFTU.mjs +97 -0
  9. package/dist/{Anniversary-CaANCB_f.mjs → Anniversary-BGRwADTI.mjs} +1 -1
  10. package/dist/{Appreciation-B8yqk_am.mjs → Appreciation-CcIok45P.mjs} +1 -1
  11. package/dist/{ArrowDown-x1fOuC0F.mjs → ArrowDown-9JnN0-Qn.mjs} +1 -1
  12. package/dist/{ArrowLeft-CXYBcT6i.mjs → ArrowLeft-DfkP2no1.mjs} +1 -1
  13. package/dist/{ArrowRight-DqZlzmYE.mjs → ArrowRight-DoeI3YMY.mjs} +1 -1
  14. package/dist/{ArrowUp-CvMSzNnF.mjs → ArrowUp-80IXew0t.mjs} +1 -1
  15. package/dist/{Attachment-CYVEb4lp.mjs → Attachment-v0JVp4Rl.mjs} +1 -1
  16. package/dist/{BeQuickDontHurry-BeU59Rnj.mjs → BeQuickDontHurry-BTlAoPej.mjs} +1 -1
  17. package/dist/{Birthday-ClCbPugh.mjs → Birthday-ya9zRCvd.mjs} +1 -1
  18. package/dist/{BrandPromise-DcVujQIk.mjs → BrandPromise-D9VbOoUm.mjs} +1 -1
  19. package/dist/{BrandVision-1kl6yIMt.mjs → BrandVision-CMiyDvz_.mjs} +1 -1
  20. package/dist/{Calendar-CtJLbzwT.mjs → Calendar-DJ289Iqu.mjs} +1 -1
  21. package/dist/{CaretDn-DgtLqfiW.mjs → CaretDn-CsPUcE8Q.mjs} +1 -1
  22. package/dist/{CaretDown-C_zAgx6s.mjs → CaretDown-BPRmgCEo.mjs} +1 -1
  23. package/dist/{CaretLeft-hFKcSWsK.mjs → CaretLeft-7xbsvHbB.mjs} +1 -1
  24. package/dist/{CaretRight-TDi635b7.mjs → CaretRight-Dc6mGjVG.mjs} +1 -1
  25. package/dist/{CaretUp-g8lr6X-o.mjs → CaretUp-CfkM54Y8.mjs} +1 -1
  26. package/dist/{ChallengeAccepted-BBrRY7ZK.mjs → ChallengeAccepted-TAoP_IT9.mjs} +1 -1
  27. package/dist/{CheckIn-cjyX5lQA.mjs → CheckIn-C2v0-qnA.mjs} +1 -1
  28. package/dist/{CheckIns-h0AFnAYB.mjs → CheckIns-CHDn8I3L.mjs} +1 -1
  29. package/dist/{CheckSeal-CucXRQlg.mjs → CheckSeal-DIIgJldv.mjs} +1 -1
  30. package/dist/{Checkmark-CRmyyzAa.mjs → Checkmark-mKXRqDqz.mjs} +1 -1
  31. package/dist/{Clock-sKqrOTnf.mjs → Clock-Vk_fVfHY.mjs} +1 -1
  32. package/dist/{Close-DCKvs33O.mjs → Close-CdsLScrm.mjs} +1 -1
  33. package/dist/{CloudDownload-DFdxB-hV.mjs → CloudDownload-n0QjiMG5.mjs} +1 -1
  34. package/dist/{Comment-m6rBApI6.mjs → Comment-CaSaCq2u.mjs} +1 -1
  35. package/dist/{Comments-DNq1K0P7.mjs → Comments-DisRECR4.mjs} +1 -1
  36. package/dist/{Connections-BgiTRdSB.mjs → Connections-mxEjTuXh.mjs} +1 -1
  37. package/dist/{Copy-DmvleFe-.mjs → Copy-lsVtAcFQ.mjs} +1 -1
  38. package/dist/{CustomQuestion-BR0D7Dy2.mjs → CustomQuestion-CyhpGFUV.mjs} +1 -1
  39. package/dist/{CustomerSuccess-BWX96qub.mjs → CustomerSuccess-BlNb2M4r.mjs} +1 -1
  40. package/dist/{DatePicker-DZvZTi0m.mjs → DatePicker-wPsq0h9y.mjs} +507 -503
  41. package/dist/{Dot-mAPDzi1d.mjs → Dot-OWWp8SDU.mjs} +1 -1
  42. package/dist/{Download-Dy35rsXm.mjs → Download-Ci2eQ_uW.mjs} +1 -1
  43. package/dist/{Drag-W1OtMkQH.mjs → Drag-CqQEdtSg.mjs} +1 -1
  44. package/dist/{Earn-DL52KP8U.mjs → Earn-CqCsGHSp.mjs} +1 -1
  45. package/dist/{Email-B35i2dfI.mjs → Email-HMgCHMpS.mjs} +1 -1
  46. package/dist/{EmojiDisplay-DWl4yclK.mjs → EmojiDisplay-rZXLQzfQ.mjs} +2 -77
  47. package/dist/{EmojiPicker-DYJ2tStw.mjs → EmojiPicker-C2Xc7kMB.mjs} +3 -84
  48. package/dist/{EnpsSurvey-BB7kovZn.mjs → EnpsSurvey-CUbME4_B.mjs} +1 -1
  49. package/dist/{Expired-DNqDdegY.mjs → Expired--Hra3ftj.mjs} +1 -1
  50. package/dist/{Eye-DTo5WNRj.mjs → Eye-Dul-UcbW.mjs} +1 -1
  51. package/dist/{Feedback-CWFoUpCl.mjs → Feedback-Bp9Yqd_g.mjs} +1 -1
  52. package/dist/{Feedback-B-sjlZ31.mjs → Feedback-C3hoUYLF.mjs} +1 -1
  53. package/dist/{Filter-UjqBQe80.mjs → Filter-CQi-IFnF.mjs} +1 -1
  54. package/dist/{Flag-DNlBf1ML.mjs → Flag-T5CXMbE_.mjs} +1 -1
  55. package/dist/{Giphy-CvANVrvf.mjs → Giphy-Dqm6MVUX.mjs} +1 -1
  56. package/dist/{GoalCount-CgxjESRj.mjs → GoalCount--51BMf9n.mjs} +1 -1
  57. package/dist/{GoalPercent-d9V8MEzj.mjs → GoalPercent-Q5smB5jA.mjs} +1 -1
  58. package/dist/{GoalTask-D84DWk0i.mjs → GoalTask-BLRYSwnG.mjs} +1 -1
  59. package/dist/{GoalTask-DAQ5tHSz.mjs → GoalTask-DfZqK-5M.mjs} +1 -1
  60. package/dist/{Goals-DsY6Mmsu.mjs → Goals-B1YZcSpm.mjs} +1 -1
  61. package/dist/{Goals-Cgz-PUEA.mjs → Goals-BTX_OO2e.mjs} +1 -1
  62. package/dist/{Growth-iceahLrz.mjs → Growth-BmT2r2su.mjs} +1 -1
  63. package/dist/{Hamburger-D-AnyKA9.mjs → Hamburger-C7JW0-fw.mjs} +1 -1
  64. package/dist/{Help-CZJxBkZI.mjs → Help-telSj8qe.mjs} +1 -1
  65. package/dist/{HighFive-4T0M-hJd.mjs → HighFive-DcUpcp9y.mjs} +1 -1
  66. package/dist/{HighFive-CFPfNiQN.mjs → HighFive-EsZKI_-V.mjs} +1 -1
  67. package/dist/{Home-DaNMn1T4.mjs → Home-CCVGlpyt.mjs} +1 -1
  68. package/dist/{Home-oC_mLX0B.mjs → Home-kmfZJmsK.mjs} +1 -1
  69. package/dist/{HorizontalLine-D-SL6iOJ.mjs → HorizontalLine-B7mx-fy5.mjs} +1 -1
  70. package/dist/{Hourglass-KZ3c6h4T.mjs → Hourglass-D01jDALK.mjs} +1 -1
  71. package/dist/{Image-BM-Bhftb.mjs → Image-Bw9_T0I5.mjs} +1 -1
  72. package/dist/{ImageFile-BM7JmKRC.mjs → ImageFile-CUQe2a01.mjs} +1 -1
  73. package/dist/{InGoodCompany-C7s1S39d.mjs → InGoodCompany-C4HpD4MZ.mjs} +1 -1
  74. package/dist/{Incentives-Cbr1b6TF.mjs → Incentives-BPkrBak8.mjs} +1 -1
  75. package/dist/{Info-CA8IQXLz.mjs → Info-DHJBYsLd.mjs} +1 -1
  76. package/dist/{Insights-DVb8_AO5.mjs → Insights-Cm2iweNL.mjs} +1 -1
  77. package/dist/{Insights-DGvX567A.mjs → Insights-Dg3tQhZJ.mjs} +1 -1
  78. package/dist/{Integrations-BEvZNJ8i.mjs → Integrations-7zF2pef1.mjs} +1 -1
  79. package/dist/{KazooLogo-CiE7aT2P.mjs → KazooLogo-CPwrz_U2.mjs} +1 -1
  80. package/dist/{KnowYourAudience-CPYN0PVT.mjs → KnowYourAudience-CHu8cdCt.mjs} +1 -1
  81. package/dist/{Launch-BO6yeWOQ.mjs → Launch-CaqCKJv_.mjs} +1 -1
  82. package/dist/{Link-DMhRsX2n.mjs → Link-D7jOYEv0.mjs} +1 -1
  83. package/dist/{LinkArrow-D7LEIWdI.mjs → LinkArrow-CDagRNfc.mjs} +1 -1
  84. package/dist/{Loading-CAUgmjCe.mjs → Loading-Dm3LktEr.mjs} +1 -1
  85. package/dist/{Lock-wHnMcI9w.mjs → Lock-DmE2M-mA.mjs} +1 -1
  86. package/dist/{Management-vDStOImb.mjs → Management-CW8KJ8Sz.mjs} +1 -1
  87. package/dist/{MeatballMenu-DN_Kiqna.mjs → MeatballMenu-B5cjClSa.mjs} +1 -1
  88. package/dist/{Messages-zsrfm38s.mjs → Messages-DBjIACKX.mjs} +1 -1
  89. package/dist/{Microphone-Dpl39iNE.mjs → Microphone-D4nAW6EV.mjs} +1 -1
  90. package/dist/{Mobile-hbduQebc.mjs → Mobile-DyfUwrd8.mjs} +1 -1
  91. package/dist/{Nomination-BcsnYQ8A.mjs → Nomination-Banwavrf.mjs} +1 -1
  92. package/dist/{NominationsAndAwards-DXptdCyP.mjs → NominationsAndAwards-BQUYuEgm.mjs} +1 -1
  93. package/dist/{Notification-DGddht4s.mjs → Notification-CluQUlRT.mjs} +1 -1
  94. package/dist/{Okrs-Dke2tShE.mjs → Okrs-B1R3soIm.mjs} +1 -1
  95. package/dist/{Pause-9tYvRuVa.mjs → Pause-B5PrJBBP.mjs} +1 -1
  96. package/dist/{PeerToPeer-Br9c_-3d.mjs → PeerToPeer-BcAgI7Tm.mjs} +1 -1
  97. package/dist/{Pencil-DXw-4Vps.mjs → Pencil-BM8Du6ej.mjs} +1 -1
  98. package/dist/{People-DGimlerd.mjs → People-CNglLCgn.mjs} +1 -1
  99. package/dist/{PerformanceManagement-B0JYuymU.mjs → PerformanceManagement-BtlgnxHc.mjs} +1 -1
  100. package/dist/{Pin-CnYItGyX.mjs → Pin-CxwXPFgR.mjs} +1 -1
  101. package/dist/{PinnedIconAward-2P6bOQPf.mjs → PinnedIconAward-C2qWDe01.mjs} +1 -1
  102. package/dist/{PinnedIconBrightIdea-CmWSnWH1.mjs → PinnedIconBrightIdea-BLmufHOx.mjs} +1 -1
  103. package/dist/{PinnedIconBullseye-B0rEocxq.mjs → PinnedIconBullseye-CIt1Hcl8.mjs} +1 -1
  104. package/dist/{PinnedIconChampagne-BngtJ7dm.mjs → PinnedIconChampagne-CNNxkTIY.mjs} +1 -1
  105. package/dist/{PinnedIconCheer-nHstD003.mjs → PinnedIconCheer-_LbS4pea.mjs} +1 -1
  106. package/dist/{PinnedIconCrown-eWrgNC1I.mjs → PinnedIconCrown-E_-9qywu.mjs} +1 -1
  107. package/dist/{PinnedIconDiamond--WztI2DS.mjs → PinnedIconDiamond-DgNKfOnm.mjs} +1 -1
  108. package/dist/{PinnedIconHoleInOne-BDgBEge7.mjs → PinnedIconHoleInOne-BIy2It99.mjs} +1 -1
  109. package/dist/{PinnedIconMedal-BbX7FXtX.mjs → PinnedIconMedal-ZA43MX0m.mjs} +1 -1
  110. package/dist/{PinnedIconMetrics-CH9_NwX-.mjs → PinnedIconMetrics-Bq4LQPko.mjs} +1 -1
  111. package/dist/{PinnedIconPin-ktZbbe1U.mjs → PinnedIconPin-epYJ2eJg.mjs} +1 -1
  112. package/dist/{PinnedIconRockAndRoll-CFa9L6rF.mjs → PinnedIconRockAndRoll-BUby7Tr8.mjs} +1 -1
  113. package/dist/{PinnedIconRocket-qxA1B6kD.mjs → PinnedIconRocket-Bgs86Up_.mjs} +1 -1
  114. package/dist/{PinnedIconStrength-Bt-fOuUe.mjs → PinnedIconStrength-B7KleGS-.mjs} +1 -1
  115. package/dist/{PinnedIconTeddyBear-CyBFgpgr.mjs → PinnedIconTeddyBear-BrLQa6BU.mjs} +1 -1
  116. package/dist/{PlatformLogo-B23QShnC.mjs → PlatformLogo-BNgDM6Es.mjs} +1 -1
  117. package/dist/{Plus-BgfHLKEE.mjs → Plus-Do9L2HeS.mjs} +1 -1
  118. package/dist/{Popper-U73e5s7t.mjs → Popper-DtxAMIzm.mjs} +1 -1
  119. package/dist/{PrivateEye-DstZPme0.mjs → PrivateEye-CY57N-Ab.mjs} +1 -1
  120. package/dist/{PrivatePushPin-bSPfm4-n.mjs → PrivatePushPin-guwTGe5t.mjs} +1 -1
  121. package/dist/{Processing-CPCb5QwV.mjs → Processing-GffFx6fx.mjs} +1 -1
  122. package/dist/{Productivity-CdCYnO0o.mjs → Productivity-B4W4pqhe.mjs} +1 -1
  123. package/dist/{ProgressCircle-DPFbis3_.mjs → ProgressCircle-Dd3roh5I.mjs} +1 -1
  124. package/dist/{PulseSurvey-r3DqC9-o.mjs → PulseSurvey-sy1hiiLI.mjs} +1 -1
  125. package/dist/{PushPin-D2be7FkS.mjs → PushPin-CHfZ0wEg.mjs} +1 -1
  126. package/dist/{Recognition-BsII0qvQ.mjs → Recognition-B6vNRC53.mjs} +1 -1
  127. package/dist/{Recognition-BV0XuL8-.mjs → Recognition-BEqO3J-J.mjs} +1 -1
  128. package/dist/{Retention-Sw_CZVw4.mjs → Retention-xaiayWLA.mjs} +1 -1
  129. package/dist/{Rewards-hvAKwOrs.mjs → Rewards-CcBcy6pI.mjs} +1 -1
  130. package/dist/{Rewards-DmlSH2fT.mjs → Rewards-DfGkbNRT.mjs} +1 -1
  131. package/dist/{RewardsCatalog-JSuN6tw4.mjs → RewardsCatalog-Bjx4woxP.mjs} +1 -1
  132. package/dist/{Roadmap-D8EN63lD.mjs → Roadmap-0hBVgfWU.mjs} +1 -1
  133. package/dist/{Search-BeBz4JRv.mjs → Search-TTI8LwPH.mjs} +1 -1
  134. package/dist/{Security-BCuml7C7.mjs → Security-DlnR0kp3.mjs} +1 -1
  135. package/dist/{SendRecognition-DMjOSrEE.mjs → SendRecognition-C32fHeo3.mjs} +1 -1
  136. package/dist/{ShareLink-CS7dEudX.mjs → ShareLink-ZDng2ley.mjs} +1 -1
  137. package/dist/{Skill-DpixZKrB.mjs → Skill-Z9Ws-4Q1.mjs} +1 -1
  138. package/dist/{Skills-Bl-GfXck.mjs → Skills-HUTpPuMO.mjs} +1 -1
  139. package/dist/{Smiley-lljhGGkJ.mjs → Smiley-DZNrsQH4.mjs} +1 -1
  140. package/dist/{Stop-BVUpH8Rn.mjs → Stop-BsQFXtBK.mjs} +1 -1
  141. package/dist/{Survey-aoxp1h8R.mjs → Survey-C49Fp58P.mjs} +1 -1
  142. package/dist/{Surveys-wEQwi5O2.mjs → Surveys-BceZ8rFM.mjs} +1 -1
  143. package/dist/{SyncUps-CUuW5L6k.mjs → SyncUps-SeqSaFS-.mjs} +1 -1
  144. package/dist/{Syncs-C-u4cINB.mjs → Syncs-B3A251hQ.mjs} +1 -1
  145. package/dist/{TalentReview-BT09Cg4O.mjs → TalentReview-D3KEd7m9.mjs} +1 -1
  146. package/dist/{TalentReview-C6KDojkm.mjs → TalentReview-IFxm1gmj.mjs} +1 -1
  147. package/dist/{TalentReviewInsights-BGYCXOG6.mjs → TalentReviewInsights-DLlM5RBW.mjs} +1 -1
  148. package/dist/{TaskCompleted-Di1eKThW.mjs → TaskCompleted-s2d2bOUy.mjs} +1 -1
  149. package/dist/{Team-CmjvsJw7.mjs → Team--tTDnlu6.mjs} +1 -1
  150. package/dist/{Teams-DN8yuktb.mjs → Teams-Dnlv2F9v.mjs} +1 -1
  151. package/dist/{TextBold-CIRodLgE.mjs → TextBold-IqmAGMEz.mjs} +1 -1
  152. package/dist/{TextBulletList-DmKnNfhL.mjs → TextBulletList-V9AH2Ccz.mjs} +1 -1
  153. package/dist/{TextInput-DhMUBx-n.mjs → TextInput-BYTslFHQ.mjs} +1 -1
  154. package/dist/{TextItalic-Bn0HfCGu.mjs → TextItalic-CNGZl8Oq.mjs} +1 -1
  155. package/dist/{TextNumberList-CKHkMYik.mjs → TextNumberList-BEbgUf2r.mjs} +1 -1
  156. package/dist/{TextUnderline-vswdFtME.mjs → TextUnderline-BymqhFVz.mjs} +1 -1
  157. package/dist/{Toggle-etwfYYYR.mjs → Toggle-CG5TIZxV.mjs} +1 -1
  158. package/dist/{Translate-DmgKWOjx.mjs → Translate-BcS8Vhnc.mjs} +1 -1
  159. package/dist/{Trash-Bf-wEqvU.mjs → Trash-YsH2ApuD.mjs} +1 -1
  160. package/dist/{TrendDown-CND7eNBw.mjs → TrendDown-DQd_uGhS.mjs} +1 -1
  161. package/dist/{TrendUp-T-pS85Io.mjs → TrendUp-UxM-sYJt.mjs} +1 -1
  162. package/dist/{Undo-VH1IqPk2.mjs → Undo-CVnsoD6E.mjs} +1 -1
  163. package/dist/{Unplugged-CcD8rX0F.mjs → Unplugged-C1S4eFTD.mjs} +1 -1
  164. package/dist/{UpDownCaret-CW4cUEBC.mjs → UpDownCaret-BBaPCKLF.mjs} +1 -1
  165. package/dist/{VerticalLine-go13qPcK.mjs → VerticalLine-ChgN6O4K.mjs} +1 -1
  166. package/dist/{Warning-AED7hdR_.mjs → Warning-DM9IbguY.mjs} +1 -1
  167. package/dist/{WarningNoOutline-DQ0FEoAo.mjs → WarningNoOutline-iCb2sMt0.mjs} +1 -1
  168. package/dist/{YesAnd-C6VPPb06.mjs → YesAnd-IRm0h59w.mjs} +1 -1
  169. package/dist/ai-assistant.css +1 -1
  170. package/dist/{emoji-BP3bd77V.mjs → emoji-5moCccH8.mjs} +1 -1
  171. package/dist/express.js +1364 -411
  172. package/dist/{react-apexcharts.min-CsjCorSF.mjs → react-apexcharts.min-DvYVek0y.mjs} +1 -1
  173. package/dist/react.es.js +1 -1
  174. package/dist/react.umd.js +413 -413
  175. package/dist/{reactComponent-S4Y5yNGo.mjs → reactComponent-KwH4KPa1.mjs} +6774 -6825
  176. package/package.json +1 -1
  177. package/dist/AiGeneral-DQdMBNdk.mjs +0 -43
  178. package/dist/AiScoring-BjFZ5Qy9.mjs +0 -67
  179. package/dist/AiText-CGu9hF1I.mjs +0 -67
  180. package/dist/SidebarCollapse-DOw3YhwI.mjs +0 -37
@@ -1,4 +1,4 @@
1
- import { j as ie, r as zn, g as $n, a as xe, i as _e, b as Pe, C as Zn, I as cn } from "./reactComponent-S4Y5yNGo.mjs";
1
+ import { j as ie, r as zn, g as $n, a as xe, i as _e, b as Pe, C as Zn, I as cn } from "./reactComponent-KwH4KPa1.mjs";
2
2
  import Ae, { useMemo as dn, useRef as pn, useImperativeHandle as Xn, useEffect as Qn, useCallback as gn } from "react";
3
3
  var qe = [
4
4
  "onChange",
@@ -13,7 +13,7 @@ var qe = [
13
13
  "onValueUpdate",
14
14
  "onYearChange",
15
15
  "onPreCalendarPosition"
16
- ], be = {
16
+ ], De = {
17
17
  _disable: [],
18
18
  allowInput: !1,
19
19
  allowInvalidPreload: !1,
@@ -162,12 +162,12 @@ function mn(a, i) {
162
162
  var Ke = function(a) {
163
163
  return a instanceof Array ? a : [a];
164
164
  };
165
- function G(a, i, e) {
165
+ function V(a, i, e) {
166
166
  if (e === !0)
167
167
  return a.classList.add(i);
168
168
  a.classList.remove(i);
169
169
  }
170
- function F(a, i, e) {
170
+ function j(a, i, e) {
171
171
  var s = window.document.createElement(a);
172
172
  return i = i || "", e = e || "", s.className = i, e !== void 0 && (s.textContent = e), s;
173
173
  }
@@ -182,13 +182,13 @@ function Cn(a, i) {
182
182
  return Cn(a.parentNode, i);
183
183
  }
184
184
  function je(a, i) {
185
- var e = F("div", "numInputWrapper"), s = F("input", "numInput " + a), f = F("span", "arrowUp"), p = F("span", "arrowDown");
185
+ var e = j("div", "numInputWrapper"), s = j("input", "numInput " + a), f = j("span", "arrowUp"), p = j("span", "arrowDown");
186
186
  if (navigator.userAgent.indexOf("MSIE 9.0") === -1 ? s.type = "number" : (s.type = "text", s.pattern = "\\d*"), i !== void 0)
187
- for (var b in i)
188
- s.setAttribute(b, i[b]);
187
+ for (var D in i)
188
+ s.setAttribute(D, i[D]);
189
189
  return e.appendChild(s), e.appendChild(f), e.appendChild(p), e;
190
190
  }
191
- function ee(a) {
191
+ function ne(a) {
192
192
  try {
193
193
  if (typeof a.composedPath == "function") {
194
194
  var i = a.composedPath();
@@ -267,7 +267,7 @@ var Ue = function() {
267
267
  y: function(a, i) {
268
268
  a.setFullYear(2e3 + parseFloat(i));
269
269
  }
270
- }, ye = {
270
+ }, ve = {
271
271
  D: "",
272
272
  F: "",
273
273
  G: "(\\d\\d|\\d)",
@@ -362,45 +362,45 @@ var Ue = function() {
362
362
  return String(a.getFullYear()).substring(2);
363
363
  }
364
364
  }, Mn = function(a) {
365
- var i = a.config, e = i === void 0 ? be : i, s = a.l10n, f = s === void 0 ? Te : s, p = a.isMobile, b = p === void 0 ? !1 : p;
366
- return function(M, j, S) {
367
- var y = S || f;
368
- return e.formatDate !== void 0 && !b ? e.formatDate(M, j, y) : j.split("").map(function(H, L, O) {
369
- return Ee[H] && O[L - 1] !== "\\" ? Ee[H](M, y, e) : H !== "\\" ? H : "";
365
+ var i = a.config, e = i === void 0 ? De : i, s = a.l10n, f = s === void 0 ? Te : s, p = a.isMobile, D = p === void 0 ? !1 : p;
366
+ return function(M, F, _) {
367
+ var y = _ || f;
368
+ return e.formatDate !== void 0 && !D ? e.formatDate(M, F, y) : F.split("").map(function(H, L, I) {
369
+ return Ee[H] && I[L - 1] !== "\\" ? Ee[H](M, y, e) : H !== "\\" ? H : "";
370
370
  }).join("");
371
371
  };
372
372
  }, Xe = function(a) {
373
- var i = a.config, e = i === void 0 ? be : i, s = a.l10n, f = s === void 0 ? Te : s;
374
- return function(p, b, M, j) {
373
+ var i = a.config, e = i === void 0 ? De : i, s = a.l10n, f = s === void 0 ? Te : s;
374
+ return function(p, D, M, F) {
375
375
  if (!(p !== 0 && !p)) {
376
- var S = j || f, y, H = p;
376
+ var _ = F || f, y, H = p;
377
377
  if (p instanceof Date)
378
378
  y = new Date(p.getTime());
379
379
  else if (typeof p != "string" && p.toFixed !== void 0)
380
380
  y = new Date(p);
381
381
  else if (typeof p == "string") {
382
- var L = b || (e || be).dateFormat, O = String(p).trim();
383
- if (O === "today")
382
+ var L = D || (e || De).dateFormat, I = String(p).trim();
383
+ if (I === "today")
384
384
  y = /* @__PURE__ */ new Date(), M = !0;
385
385
  else if (e && e.parseDate)
386
386
  y = e.parseDate(p, L);
387
- else if (/Z$/.test(O) || /GMT$/.test(O))
387
+ else if (/Z$/.test(I) || /GMT$/.test(I))
388
388
  y = new Date(p);
389
389
  else {
390
- for (var W = void 0, v = [], K = 0, V = 0, B = ""; K < L.length; K++) {
391
- var ue = L[K], se = ue === "\\", he = L[K - 1] === "\\" || se;
392
- if (ye[ue] && !he) {
393
- B += ye[ue];
394
- var le = new RegExp(B).exec(p);
395
- le && (W = !0) && v[ue !== "Y" ? "push" : "unshift"]({
396
- fn: et[ue],
397
- val: le[++V]
390
+ for (var W = void 0, v = [], U = 0, ae = 0, B = ""; U < L.length; U++) {
391
+ var z = L[U], fe = z === "\\", pe = L[U - 1] === "\\" || fe;
392
+ if (ve[z] && !pe) {
393
+ B += ve[z];
394
+ var ue = new RegExp(B).exec(p);
395
+ ue && (W = !0) && v[z !== "Y" ? "push" : "unshift"]({
396
+ fn: et[z],
397
+ val: ue[++ae]
398
398
  });
399
- } else se || (B += ".");
399
+ } else fe || (B += ".");
400
400
  }
401
- y = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), v.forEach(function(fe) {
402
- var ce = fe.fn, me = fe.val;
403
- return y = ce(y, me, S) || y;
401
+ y = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), v.forEach(function(se) {
402
+ var le = se.fn, ge = se.val;
403
+ return y = le(y, ge, _) || y;
404
404
  }), y = W ? y : void 0;
405
405
  }
406
406
  }
@@ -412,7 +412,7 @@ var Ue = function() {
412
412
  }
413
413
  };
414
414
  };
415
- function ne(a, i, e) {
415
+ function te(a, i, e) {
416
416
  return e === void 0 && (e = !0), e !== !1 ? new Date(a.getTime()).setHours(0, 0, 0, 0) - new Date(i.getTime()).setHours(0, 0, 0, 0) : a.getTime() - i.getTime();
417
417
  }
418
418
  var nt = function(a, i, e) {
@@ -428,12 +428,12 @@ var nt = function(a, i, e) {
428
428
  function Ve(a) {
429
429
  var i = a.defaultHour, e = a.defaultMinute, s = a.defaultSeconds;
430
430
  if (a.minDate !== void 0) {
431
- var f = a.minDate.getHours(), p = a.minDate.getMinutes(), b = a.minDate.getSeconds();
432
- i < f && (i = f), i === f && e < p && (e = p), i === f && e === p && s < b && (s = a.minDate.getSeconds());
431
+ var f = a.minDate.getHours(), p = a.minDate.getMinutes(), D = a.minDate.getSeconds();
432
+ i < f && (i = f), i === f && e < p && (e = p), i === f && e === p && s < D && (s = a.minDate.getSeconds());
433
433
  }
434
434
  if (a.maxDate !== void 0) {
435
- var M = a.maxDate.getHours(), j = a.maxDate.getMinutes();
436
- i = Math.min(i, M), i === M && (e = Math.min(j, e)), i === M && e === j && (s = a.maxDate.getSeconds());
435
+ var M = a.maxDate.getHours(), F = a.maxDate.getMinutes();
436
+ i = Math.min(i, M), i === M && (e = Math.min(F, e)), i === M && e === F && (s = a.maxDate.getSeconds());
437
437
  }
438
438
  return { hours: i, minutes: e, seconds: s };
439
439
  }
@@ -443,12 +443,12 @@ typeof Object.assign != "function" && (Object.assign = function(a) {
443
443
  if (!a)
444
444
  throw TypeError("Cannot convert undefined or null to object");
445
445
  for (var s = function(M) {
446
- M && Object.keys(M).forEach(function(j) {
447
- return a[j] = M[j];
446
+ M && Object.keys(M).forEach(function(F) {
447
+ return a[F] = M[F];
448
448
  });
449
449
  }, f = 0, p = i; f < p.length; f++) {
450
- var b = p[f];
451
- s(b);
450
+ var D = p[f];
451
+ s(D);
452
452
  }
453
453
  return a;
454
454
  });
@@ -463,16 +463,16 @@ var J = function() {
463
463
  }, hn = function() {
464
464
  for (var a = 0, i = 0, e = arguments.length; i < e; i++) a += arguments[i].length;
465
465
  for (var s = Array(a), f = 0, i = 0; i < e; i++)
466
- for (var p = arguments[i], b = 0, M = p.length; b < M; b++, f++)
467
- s[f] = p[b];
466
+ for (var p = arguments[i], D = 0, M = p.length; D < M; D++, f++)
467
+ s[f] = p[D];
468
468
  return s;
469
469
  }, rt = 300;
470
470
  function it(a, i) {
471
471
  var e = {
472
- config: J(J({}, be), q.defaultConfig),
472
+ config: J(J({}, De), K.defaultConfig),
473
473
  l10n: Te
474
474
  };
475
- e.parseDate = Xe({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = v, e._setHoursFromDate = L, e._positionCalendar = Oe, e.changeMonth = _, e.changeYear = re, e.clear = T, e.close = w, e.onMouseOver = ke, e._createElement = F, e.createDay = le, e.destroy = P, e.isEnabled = X, e.jumpToDate = B, e.updateValue = ge, e.open = kn, e.redraw = on, e.set = _n, e.setDate = Pn, e.toggle = Nn;
475
+ e.parseDate = Xe({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = v, e._setHoursFromDate = L, e._positionCalendar = Oe, e.changeMonth = A, e.changeYear = re, e.clear = P, e.close = E, e.onMouseOver = ke, e._createElement = j, e.createDay = ue, e.destroy = T, e.isEnabled = Q, e.jumpToDate = B, e.updateValue = de, e.open = kn, e.redraw = on, e.set = _n, e.setDate = Pn, e.toggle = Nn;
476
476
  function s() {
477
477
  e.utils = {
478
478
  getDaysInMonth: function(n, t) {
@@ -481,7 +481,7 @@ function it(a, i) {
481
481
  };
482
482
  }
483
483
  function f() {
484
- e.element = e.input = a, e.isOpen = !1, On(), rn(), Fn(), An(), s(), e.isMobile || he(), V(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && L(e.config.noCalendar ? e.latestSelectedDateObj : void 0), ge(!1)), M();
484
+ e.element = e.input = a, e.isOpen = !1, On(), rn(), Fn(), An(), s(), e.isMobile || pe(), ae(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && L(e.config.noCalendar ? e.latestSelectedDateObj : void 0), de(!1)), M();
485
485
  var n = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
486
486
  !e.isMobile && n && Oe(), R("onReady");
487
487
  }
@@ -489,7 +489,7 @@ function it(a, i) {
489
489
  var n;
490
490
  return ((n = e.calendarContainer) === null || n === void 0 ? void 0 : n.getRootNode()).activeElement || document.activeElement;
491
491
  }
492
- function b(n) {
492
+ function D(n) {
493
493
  return n.bind(e);
494
494
  }
495
495
  function M() {
@@ -501,16 +501,16 @@ function it(a, i) {
501
501
  }
502
502
  });
503
503
  }
504
- function j(n) {
504
+ function F(n) {
505
505
  if (e.selectedDates.length === 0) {
506
- var t = e.config.minDate === void 0 || ne(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), r = Ve(e.config);
506
+ var t = e.config.minDate === void 0 || te(/* @__PURE__ */ new Date(), e.config.minDate) >= 0 ? /* @__PURE__ */ new Date() : new Date(e.config.minDate.getTime()), r = Ve(e.config);
507
507
  t.setHours(r.hours, r.minutes, r.seconds, t.getMilliseconds()), e.selectedDates = [t], e.latestSelectedDateObj = t;
508
508
  }
509
509
  n !== void 0 && n.type !== "blur" && Ln(n);
510
510
  var o = e._input.value;
511
- H(), ge(), e._input.value !== o && e._debouncedChange();
511
+ H(), de(), e._input.value !== o && e._debouncedChange();
512
512
  }
513
- function S(n, t) {
513
+ function _(n, t) {
514
514
  return n % 12 + 12 * oe(t === e.l10n.amPM[1]);
515
515
  }
516
516
  function y(n) {
@@ -525,11 +525,11 @@ function it(a, i) {
525
525
  function H() {
526
526
  if (!(e.hourElement === void 0 || e.minuteElement === void 0)) {
527
527
  var n = (parseInt(e.hourElement.value.slice(-2), 10) || 0) % 24, t = (parseInt(e.minuteElement.value, 10) || 0) % 60, r = e.secondElement !== void 0 ? (parseInt(e.secondElement.value, 10) || 0) % 60 : 0;
528
- e.amPM !== void 0 && (n = S(n, e.amPM.textContent));
529
- var o = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && ne(e.latestSelectedDateObj, e.config.minDate, !0) === 0, u = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && ne(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
528
+ e.amPM !== void 0 && (n = _(n, e.amPM.textContent));
529
+ var o = e.config.minTime !== void 0 || e.config.minDate && e.minDateHasTime && e.latestSelectedDateObj && te(e.latestSelectedDateObj, e.config.minDate, !0) === 0, u = e.config.maxTime !== void 0 || e.config.maxDate && e.maxDateHasTime && e.latestSelectedDateObj && te(e.latestSelectedDateObj, e.config.maxDate, !0) === 0;
530
530
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
531
- var c = Je(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), D = Je(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), g = Je(n, t, r);
532
- if (g > D && g < c) {
531
+ var c = Je(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), b = Je(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), g = Je(n, t, r);
532
+ if (g > b && g < c) {
533
533
  var C = tt(c);
534
534
  n = C[0], t = C[1], r = C[2];
535
535
  }
@@ -543,18 +543,18 @@ function it(a, i) {
543
543
  n = Math.max(n, h.getHours()), n === h.getHours() && t < h.getMinutes() && (t = h.getMinutes()), t === h.getMinutes() && (r = Math.max(r, h.getSeconds()));
544
544
  }
545
545
  }
546
- O(n, t, r);
546
+ I(n, t, r);
547
547
  }
548
548
  }
549
549
  function L(n) {
550
550
  var t = n || e.latestSelectedDateObj;
551
- t && t instanceof Date && O(t.getHours(), t.getMinutes(), t.getSeconds());
551
+ t && t instanceof Date && I(t.getHours(), t.getMinutes(), t.getSeconds());
552
552
  }
553
- function O(n, t, r) {
553
+ function I(n, t, r) {
554
554
  e.latestSelectedDateObj !== void 0 && e.latestSelectedDateObj.setHours(n % 24, t, r || 0, 0), !(!e.hourElement || !e.minuteElement || e.isMobile) && (e.hourElement.value = Z(e.config.time_24hr ? n : (12 + n) % 12 + 12 * oe(n % 12 === 0)), e.minuteElement.value = Z(t), e.amPM !== void 0 && (e.amPM.textContent = e.l10n.amPM[oe(n >= 12)]), e.secondElement !== void 0 && (e.secondElement.value = Z(r)));
555
555
  }
556
556
  function W(n) {
557
- var t = ee(n), r = parseInt(t.value) + (n.delta || 0);
557
+ var t = ne(n), r = parseInt(t.value) + (n.delta || 0);
558
558
  (r / 1e3 > 1 || n.key === "Enter" && !/[^\d]/.test(r.toString())) && re(r);
559
559
  }
560
560
  function v(n, t, r, o) {
@@ -572,10 +572,10 @@ function it(a, i) {
572
572
  }
573
573
  });
574
574
  }
575
- function K() {
575
+ function U() {
576
576
  R("onChange");
577
577
  }
578
- function V() {
578
+ function ae() {
579
579
  if (e.config.wrap && ["open", "close", "toggle", "clear"].forEach(function(r) {
580
580
  Array.prototype.forEach.call(e.element.querySelectorAll("[data-" + r + "]"), function(o) {
581
581
  return v(o, "click", e[r]);
@@ -585,16 +585,16 @@ function it(a, i) {
585
585
  return;
586
586
  }
587
587
  var n = mn(Tn, 50);
588
- if (e._debouncedChange = mn(K, rt), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && v(e.daysContainer, "mouseover", function(r) {
589
- e.config.mode === "range" && ke(ee(r));
588
+ if (e._debouncedChange = mn(U, rt), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && v(e.daysContainer, "mouseover", function(r) {
589
+ e.config.mode === "range" && ke(ne(r));
590
590
  }), v(e._input, "keydown", nn), e.calendarContainer !== void 0 && v(e.calendarContainer, "keydown", nn), !e.config.inline && !e.config.static && v(window, "resize", n), window.ontouchstart !== void 0 ? v(window.document, "touchstart", N) : v(window.document, "mousedown", N), v(window.document, "focus", N, { capture: !0 }), e.config.clickOpens === !0 && (v(e._input, "focus", e.open), v(e._input, "click", e.open)), e.daysContainer !== void 0 && (v(e.monthNav, "click", Hn), v(e.monthNav, ["keyup", "increment"], W), v(e.daysContainer, "click", un)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
591
591
  var t = function(r) {
592
- return ee(r).select();
592
+ return ne(r).select();
593
593
  };
594
- v(e.timeContainer, ["increment"], j), v(e.timeContainer, "blur", j, { capture: !0 }), v(e.timeContainer, "click", ue), v([e.hourElement, e.minuteElement], ["focus", "click"], t), e.secondElement !== void 0 && v(e.secondElement, "focus", function() {
594
+ v(e.timeContainer, ["increment"], F), v(e.timeContainer, "blur", F, { capture: !0 }), v(e.timeContainer, "click", z), v([e.hourElement, e.minuteElement], ["focus", "click"], t), e.secondElement !== void 0 && v(e.secondElement, "focus", function() {
595
595
  return e.secondElement && e.secondElement.select();
596
596
  }), e.amPM !== void 0 && v(e.amPM, "click", function(r) {
597
- j(r);
597
+ F(r);
598
598
  });
599
599
  }
600
600
  e.config.allowInput && v(e._input, "blur", En);
@@ -606,82 +606,82 @@ function it(a, i) {
606
606
  } catch (c) {
607
607
  c.message = "Invalid date supplied: " + r, e.config.errorHandler(c);
608
608
  }
609
- t && e.currentYear !== o && (R("onYearChange"), ae()), t && (e.currentYear !== o || e.currentMonth !== u) && R("onMonthChange"), e.redraw();
609
+ t && e.currentYear !== o && (R("onYearChange"), q()), t && (e.currentYear !== o || e.currentMonth !== u) && R("onMonthChange"), e.redraw();
610
610
  }
611
- function ue(n) {
612
- var t = ee(n);
613
- ~t.className.indexOf("arrow") && se(n, t.classList.contains("arrowUp") ? 1 : -1);
611
+ function z(n) {
612
+ var t = ne(n);
613
+ ~t.className.indexOf("arrow") && fe(n, t.classList.contains("arrowUp") ? 1 : -1);
614
614
  }
615
- function se(n, t, r) {
616
- var o = n && ee(n), u = r || o && o.parentNode && o.parentNode.firstChild, c = Le("increment");
615
+ function fe(n, t, r) {
616
+ var o = n && ne(n), u = r || o && o.parentNode && o.parentNode.firstChild, c = Le("increment");
617
617
  c.delta = t, u && u.dispatchEvent(c);
618
618
  }
619
- function he() {
619
+ function pe() {
620
620
  var n = window.document.createDocumentFragment();
621
- if (e.calendarContainer = F("div", "flatpickr-calendar"), e.calendarContainer.tabIndex = -1, !e.config.noCalendar) {
622
- if (n.appendChild(l()), e.innerContainer = F("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
623
- var t = E(), r = t.weekWrapper, o = t.weekNumbers;
621
+ if (e.calendarContainer = j("div", "flatpickr-calendar"), e.calendarContainer.tabIndex = -1, !e.config.noCalendar) {
622
+ if (n.appendChild(l()), e.innerContainer = j("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
623
+ var t = w(), r = t.weekWrapper, o = t.weekNumbers;
624
624
  e.innerContainer.appendChild(r), e.weekNumbers = o, e.weekWrapper = r;
625
625
  }
626
- e.rContainer = F("div", "flatpickr-rContainer"), e.rContainer.appendChild(x()), e.daysContainer || (e.daysContainer = F("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), $(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), n.appendChild(e.innerContainer);
626
+ e.rContainer = j("div", "flatpickr-rContainer"), e.rContainer.appendChild(S()), e.daysContainer || (e.daysContainer = j("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), $(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), n.appendChild(e.innerContainer);
627
627
  }
628
- e.config.enableTime && n.appendChild(m()), G(e.calendarContainer, "rangeMode", e.config.mode === "range"), G(e.calendarContainer, "animate", e.config.animate === !0), G(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(n);
628
+ e.config.enableTime && n.appendChild(m()), V(e.calendarContainer, "rangeMode", e.config.mode === "range"), V(e.calendarContainer, "animate", e.config.animate === !0), V(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(n);
629
629
  var u = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
630
630
  if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!u && e.element.parentNode ? e.element.parentNode.insertBefore(e.calendarContainer, e._input.nextSibling) : e.config.appendTo !== void 0 && e.config.appendTo.appendChild(e.calendarContainer)), e.config.static)) {
631
- var c = F("div", "flatpickr-wrapper");
631
+ var c = j("div", "flatpickr-wrapper");
632
632
  e.element.parentNode && e.element.parentNode.insertBefore(c, e.element), c.appendChild(e.element), e.altInput && c.appendChild(e.altInput), c.appendChild(e.calendarContainer);
633
633
  }
634
634
  !e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
635
635
  }
636
- function le(n, t, r, o) {
637
- var u = X(t, !0), c = F("span", n, t.getDate().toString());
638
- return c.dateObj = t, c.$i = o, c.setAttribute("aria-label", e.formatDate(t, e.config.ariaDateFormat)), n.indexOf("hidden") === -1 && ne(t, e.now) === 0 && (e.todayDateElem = c, c.classList.add("today"), c.setAttribute("aria-current", "date")), u ? (c.tabIndex = -1, We(t) && (c.classList.add("selected"), e.selectedDateElem = c, e.config.mode === "range" && (G(c, "startRange", e.selectedDates[0] && ne(t, e.selectedDates[0], !0) === 0), G(c, "endRange", e.selectedDates[1] && ne(t, e.selectedDates[1], !0) === 0), n === "nextMonthDay" && c.classList.add("inRange")))) : c.classList.add("flatpickr-disabled"), e.config.mode === "range" && Yn(t) && !We(t) && c.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && n !== "prevMonthDay" && o % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(t) + "</span>"), R("onDayCreate", c), c;
636
+ function ue(n, t, r, o) {
637
+ var u = Q(t, !0), c = j("span", n, t.getDate().toString());
638
+ return c.dateObj = t, c.$i = o, c.setAttribute("aria-label", e.formatDate(t, e.config.ariaDateFormat)), n.indexOf("hidden") === -1 && te(t, e.now) === 0 && (e.todayDateElem = c, c.classList.add("today"), c.setAttribute("aria-current", "date")), u ? (c.tabIndex = -1, We(t) && (c.classList.add("selected"), e.selectedDateElem = c, e.config.mode === "range" && (V(c, "startRange", e.selectedDates[0] && te(t, e.selectedDates[0], !0) === 0), V(c, "endRange", e.selectedDates[1] && te(t, e.selectedDates[1], !0) === 0), n === "nextMonthDay" && c.classList.add("inRange")))) : c.classList.add("flatpickr-disabled"), e.config.mode === "range" && Yn(t) && !We(t) && c.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && n !== "prevMonthDay" && o % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(t) + "</span>"), R("onDayCreate", c), c;
639
639
  }
640
- function fe(n) {
640
+ function se(n) {
641
641
  n.focus(), e.config.mode === "range" && ke(n);
642
642
  }
643
- function ce(n) {
643
+ function le(n) {
644
644
  for (var t = n > 0 ? 0 : e.config.showMonths - 1, r = n > 0 ? e.config.showMonths : -1, o = t; o != r; o += n)
645
- for (var u = e.daysContainer.children[o], c = n > 0 ? 0 : u.children.length - 1, D = n > 0 ? u.children.length : -1, g = c; g != D; g += n) {
645
+ for (var u = e.daysContainer.children[o], c = n > 0 ? 0 : u.children.length - 1, b = n > 0 ? u.children.length : -1, g = c; g != b; g += n) {
646
646
  var C = u.children[g];
647
- if (C.className.indexOf("hidden") === -1 && X(C.dateObj))
647
+ if (C.className.indexOf("hidden") === -1 && Q(C.dateObj))
648
648
  return C;
649
649
  }
650
650
  }
651
- function me(n, t) {
651
+ function ge(n, t) {
652
652
  for (var r = n.className.indexOf("Month") === -1 ? n.dateObj.getMonth() : e.currentMonth, o = t > 0 ? e.config.showMonths : -1, u = t > 0 ? 1 : -1, c = r - e.currentMonth; c != o; c += u)
653
- for (var D = e.daysContainer.children[c], g = r - e.currentMonth === c ? n.$i + t : t < 0 ? D.children.length - 1 : 0, C = D.children.length, d = g; d >= 0 && d < C && d != (t > 0 ? C : -1); d += u) {
654
- var h = D.children[d];
655
- if (h.className.indexOf("hidden") === -1 && X(h.dateObj) && Math.abs(n.$i - d) >= Math.abs(t))
656
- return fe(h);
653
+ for (var b = e.daysContainer.children[c], g = r - e.currentMonth === c ? n.$i + t : t < 0 ? b.children.length - 1 : 0, C = b.children.length, d = g; d >= 0 && d < C && d != (t > 0 ? C : -1); d += u) {
654
+ var h = b.children[d];
655
+ if (h.className.indexOf("hidden") === -1 && Q(h.dateObj) && Math.abs(n.$i - d) >= Math.abs(t))
656
+ return se(h);
657
657
  }
658
- e.changeMonth(u), te(ce(u), 0);
658
+ e.changeMonth(u), X(le(u), 0);
659
659
  }
660
- function te(n, t) {
661
- var r = p(), o = ve(r || document.body), u = n !== void 0 ? n : o ? r : e.selectedDateElem !== void 0 && ve(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && ve(e.todayDateElem) ? e.todayDateElem : ce(t > 0 ? 1 : -1);
662
- u === void 0 ? e._input.focus() : o ? me(u, t) : fe(u);
660
+ function X(n, t) {
661
+ var r = p(), o = he(r || document.body), u = n !== void 0 ? n : o ? r : e.selectedDateElem !== void 0 && he(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && he(e.todayDateElem) ? e.todayDateElem : le(t > 0 ? 1 : -1);
662
+ u === void 0 ? e._input.focus() : o ? ge(u, t) : se(u);
663
663
  }
664
- function U(n, t) {
665
- for (var r = (new Date(n, t, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, o = e.utils.getDaysInMonth((t - 1 + 12) % 12, n), u = e.utils.getDaysInMonth(t, n), c = window.document.createDocumentFragment(), D = e.config.showMonths > 1, g = D ? "prevMonthDay hidden" : "prevMonthDay", C = D ? "nextMonthDay hidden" : "nextMonthDay", d = o + 1 - r, h = 0; d <= o; d++, h++)
666
- c.appendChild(le("flatpickr-day " + g, new Date(n, t - 1, d), d, h));
664
+ function we(n, t) {
665
+ for (var r = (new Date(n, t, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, o = e.utils.getDaysInMonth((t - 1 + 12) % 12, n), u = e.utils.getDaysInMonth(t, n), c = window.document.createDocumentFragment(), b = e.config.showMonths > 1, g = b ? "prevMonthDay hidden" : "prevMonthDay", C = b ? "nextMonthDay hidden" : "nextMonthDay", d = o + 1 - r, h = 0; d <= o; d++, h++)
666
+ c.appendChild(ue("flatpickr-day " + g, new Date(n, t - 1, d), d, h));
667
667
  for (d = 1; d <= u; d++, h++)
668
- c.appendChild(le("flatpickr-day", new Date(n, t, d), d, h));
668
+ c.appendChild(ue("flatpickr-day", new Date(n, t, d), d, h));
669
669
  for (var Y = u + 1; Y <= 42 - r && (e.config.showMonths === 1 || h % 7 !== 0); Y++, h++)
670
- c.appendChild(le("flatpickr-day " + C, new Date(n, t + 1, Y % u), Y, h));
671
- var de = F("div", "dayContainer");
672
- return de.appendChild(c), de;
670
+ c.appendChild(ue("flatpickr-day " + C, new Date(n, t + 1, Y % u), Y, h));
671
+ var ce = j("div", "dayContainer");
672
+ return ce.appendChild(c), ce;
673
673
  }
674
674
  function $() {
675
675
  if (e.daysContainer !== void 0) {
676
676
  Fe(e.daysContainer), e.weekNumbers && Fe(e.weekNumbers);
677
677
  for (var n = document.createDocumentFragment(), t = 0; t < e.config.showMonths; t++) {
678
678
  var r = new Date(e.currentYear, e.currentMonth, 1);
679
- r.setMonth(e.currentMonth + t), n.appendChild(U(r.getFullYear(), r.getMonth()));
679
+ r.setMonth(e.currentMonth + t), n.appendChild(we(r.getFullYear(), r.getMonth()));
680
680
  }
681
681
  e.daysContainer.appendChild(n), e.days = e.daysContainer.firstChild, e.config.mode === "range" && e.selectedDates.length === 1 && ke();
682
682
  }
683
683
  }
684
- function ae() {
684
+ function q() {
685
685
  if (!(e.config.showMonths > 1 || e.config.monthSelectorType !== "dropdown")) {
686
686
  var n = function(o) {
687
687
  return e.config.minDate !== void 0 && e.currentYear === e.config.minDate.getFullYear() && o < e.config.minDate.getMonth() ? !1 : !(e.config.maxDate !== void 0 && e.currentYear === e.config.maxDate.getFullYear() && o > e.config.maxDate.getMonth());
@@ -689,27 +689,27 @@ function it(a, i) {
689
689
  e.monthsDropdownContainer.tabIndex = -1, e.monthsDropdownContainer.innerHTML = "";
690
690
  for (var t = 0; t < 12; t++)
691
691
  if (n(t)) {
692
- var r = F("option", "flatpickr-monthDropdown-month");
692
+ var r = j("option", "flatpickr-monthDropdown-month");
693
693
  r.value = new Date(e.currentYear, t).getMonth().toString(), r.textContent = Ye(t, e.config.shorthandCurrentMonth, e.l10n), r.tabIndex = -1, e.currentMonth === t && (r.selected = !0), e.monthsDropdownContainer.appendChild(r);
694
694
  }
695
695
  }
696
696
  }
697
697
  function Ce() {
698
- var n = F("div", "flatpickr-month"), t = window.document.createDocumentFragment(), r;
699
- e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? r = F("span", "cur-month") : (e.monthsDropdownContainer = F("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), v(e.monthsDropdownContainer, "change", function(D) {
700
- var g = ee(D), C = parseInt(g.value, 10);
698
+ var n = j("div", "flatpickr-month"), t = window.document.createDocumentFragment(), r;
699
+ e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? r = j("span", "cur-month") : (e.monthsDropdownContainer = j("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), v(e.monthsDropdownContainer, "change", function(b) {
700
+ var g = ne(b), C = parseInt(g.value, 10);
701
701
  e.changeMonth(C - e.currentMonth), R("onMonthChange");
702
- }), ae(), r = e.monthsDropdownContainer);
702
+ }), q(), r = e.monthsDropdownContainer);
703
703
  var o = je("cur-year", { tabindex: "-1" }), u = o.getElementsByTagName("input")[0];
704
704
  u.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && u.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (u.setAttribute("max", e.config.maxDate.getFullYear().toString()), u.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
705
- var c = F("div", "flatpickr-current-month");
705
+ var c = j("div", "flatpickr-current-month");
706
706
  return c.appendChild(r), c.appendChild(o), t.appendChild(c), n.appendChild(t), {
707
707
  container: n,
708
708
  yearElement: u,
709
709
  monthElement: r
710
710
  };
711
711
  }
712
- function pe() {
712
+ function me() {
713
713
  Fe(e.monthNav), e.monthNav.appendChild(e.prevMonthNav), e.config.showMonths && (e.yearElements = [], e.monthElements = []);
714
714
  for (var n = e.config.showMonths; n--; ) {
715
715
  var t = Ce();
@@ -718,27 +718,27 @@ function it(a, i) {
718
718
  e.monthNav.appendChild(e.nextMonthNav);
719
719
  }
720
720
  function l() {
721
- return e.monthNav = F("div", "flatpickr-months"), e.yearElements = [], e.monthElements = [], e.prevMonthNav = F("span", "flatpickr-prev-month"), e.prevMonthNav.innerHTML = e.config.prevArrow, e.nextMonthNav = F("span", "flatpickr-next-month"), e.nextMonthNav.innerHTML = e.config.nextArrow, pe(), Object.defineProperty(e, "_hidePrevMonthArrow", {
721
+ return e.monthNav = j("div", "flatpickr-months"), e.yearElements = [], e.monthElements = [], e.prevMonthNav = j("span", "flatpickr-prev-month"), e.prevMonthNav.innerHTML = e.config.prevArrow, e.nextMonthNav = j("span", "flatpickr-next-month"), e.nextMonthNav.innerHTML = e.config.nextArrow, me(), Object.defineProperty(e, "_hidePrevMonthArrow", {
722
722
  get: function() {
723
723
  return e.__hidePrevMonthArrow;
724
724
  },
725
725
  set: function(n) {
726
- e.__hidePrevMonthArrow !== n && (G(e.prevMonthNav, "flatpickr-disabled", n), e.__hidePrevMonthArrow = n);
726
+ e.__hidePrevMonthArrow !== n && (V(e.prevMonthNav, "flatpickr-disabled", n), e.__hidePrevMonthArrow = n);
727
727
  }
728
728
  }), Object.defineProperty(e, "_hideNextMonthArrow", {
729
729
  get: function() {
730
730
  return e.__hideNextMonthArrow;
731
731
  },
732
732
  set: function(n) {
733
- e.__hideNextMonthArrow !== n && (G(e.nextMonthNav, "flatpickr-disabled", n), e.__hideNextMonthArrow = n);
733
+ e.__hideNextMonthArrow !== n && (V(e.nextMonthNav, "flatpickr-disabled", n), e.__hideNextMonthArrow = n);
734
734
  }
735
735
  }), e.currentYearElement = e.yearElements[0], Se(), e.monthNav;
736
736
  }
737
737
  function m() {
738
738
  e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
739
739
  var n = Ve(e.config);
740
- e.timeContainer = F("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
741
- var t = F("span", "flatpickr-time-separator", ":"), r = je("flatpickr-hour", {
740
+ e.timeContainer = j("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
741
+ var t = j("span", "flatpickr-time-separator", ":"), r = je("flatpickr-hour", {
742
742
  "aria-label": e.l10n.hourAriaLabel
743
743
  });
744
744
  e.hourElement = r.getElementsByTagName("input")[0];
@@ -748,19 +748,19 @@ function it(a, i) {
748
748
  if (e.minuteElement = o.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = Z(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? n.hours : y(n.hours)), e.minuteElement.value = Z(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : n.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(r), e.timeContainer.appendChild(t), e.timeContainer.appendChild(o), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
749
749
  e.timeContainer.classList.add("hasSeconds");
750
750
  var u = je("flatpickr-second");
751
- e.secondElement = u.getElementsByTagName("input")[0], e.secondElement.value = Z(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : n.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(F("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(u);
751
+ e.secondElement = u.getElementsByTagName("input")[0], e.secondElement.value = Z(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : n.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(j("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(u);
752
752
  }
753
- return e.config.time_24hr || (e.amPM = F("span", "flatpickr-am-pm", e.l10n.amPM[oe((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
753
+ return e.config.time_24hr || (e.amPM = j("span", "flatpickr-am-pm", e.l10n.amPM[oe((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
754
754
  }
755
- function x() {
756
- e.weekdayContainer ? Fe(e.weekdayContainer) : e.weekdayContainer = F("div", "flatpickr-weekdays");
755
+ function S() {
756
+ e.weekdayContainer ? Fe(e.weekdayContainer) : e.weekdayContainer = j("div", "flatpickr-weekdays");
757
757
  for (var n = e.config.showMonths; n--; ) {
758
- var t = F("div", "flatpickr-weekdaycontainer");
758
+ var t = j("div", "flatpickr-weekdaycontainer");
759
759
  e.weekdayContainer.appendChild(t);
760
760
  }
761
- return I(), e.weekdayContainer;
761
+ return x(), e.weekdayContainer;
762
762
  }
763
- function I() {
763
+ function x() {
764
764
  if (e.weekdayContainer) {
765
765
  var n = e.l10n.firstDayOfWeek, t = hn(e.l10n.weekdays.shorthand);
766
766
  n > 0 && n < t.length && (t = hn(t.splice(n, t.length), t.splice(0, n)));
@@ -772,32 +772,32 @@ function it(a, i) {
772
772
  `;
773
773
  }
774
774
  }
775
- function E() {
775
+ function w() {
776
776
  e.calendarContainer.classList.add("hasWeeks");
777
- var n = F("div", "flatpickr-weekwrapper");
778
- n.appendChild(F("span", "flatpickr-weekday", e.l10n.weekAbbreviation));
779
- var t = F("div", "flatpickr-weeks");
777
+ var n = j("div", "flatpickr-weekwrapper");
778
+ n.appendChild(j("span", "flatpickr-weekday", e.l10n.weekAbbreviation));
779
+ var t = j("div", "flatpickr-weeks");
780
780
  return n.appendChild(t), {
781
781
  weekWrapper: n,
782
782
  weekNumbers: t
783
783
  };
784
784
  }
785
- function _(n, t) {
785
+ function A(n, t) {
786
786
  t === void 0 && (t = !0);
787
787
  var r = t ? n : n - e.currentMonth;
788
- r < 0 && e._hidePrevMonthArrow === !0 || r > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += r, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, R("onYearChange"), ae()), $(), R("onMonthChange"), Se());
788
+ r < 0 && e._hidePrevMonthArrow === !0 || r > 0 && e._hideNextMonthArrow === !0 || (e.currentMonth += r, (e.currentMonth < 0 || e.currentMonth > 11) && (e.currentYear += e.currentMonth > 11 ? 1 : -1, e.currentMonth = (e.currentMonth + 12) % 12, R("onYearChange"), q()), $(), R("onMonthChange"), Se());
789
789
  }
790
- function T(n, t) {
790
+ function P(n, t) {
791
791
  if (n === void 0 && (n = !0), t === void 0 && (t = !0), e.input.value = "", e.altInput !== void 0 && (e.altInput.value = ""), e.mobileInput !== void 0 && (e.mobileInput.value = ""), e.selectedDates = [], e.latestSelectedDateObj = void 0, t === !0 && (e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth()), e.config.enableTime === !0) {
792
792
  var r = Ve(e.config), o = r.hours, u = r.minutes, c = r.seconds;
793
- O(o, u, c);
793
+ I(o, u, c);
794
794
  }
795
795
  e.redraw(), n && R("onChange");
796
796
  }
797
- function w() {
797
+ function E() {
798
798
  e.isOpen = !1, e.isMobile || (e.calendarContainer !== void 0 && e.calendarContainer.classList.remove("open"), e._input !== void 0 && e._input.classList.remove("active")), R("onClose");
799
799
  }
800
- function P() {
800
+ function T() {
801
801
  e.config !== void 0 && R("onDestroy");
802
802
  for (var n = e._handlers.length; n--; )
803
803
  e._handlers[n].remove();
@@ -850,35 +850,35 @@ function it(a, i) {
850
850
  }
851
851
  });
852
852
  }
853
- function A(n) {
853
+ function k(n) {
854
854
  return e.calendarContainer.contains(n);
855
855
  }
856
856
  function N(n) {
857
857
  if (e.isOpen && !e.config.inline) {
858
- var t = ee(n), r = A(t), o = t === e.input || t === e.altInput || e.element.contains(t) || n.path && n.path.indexOf && (~n.path.indexOf(e.input) || ~n.path.indexOf(e.altInput)), u = !o && !r && !A(n.relatedTarget), c = !e.config.ignoredFocusElements.some(function(D) {
859
- return D.contains(t);
858
+ var t = ne(n), r = k(t), o = t === e.input || t === e.altInput || e.element.contains(t) || n.path && n.path.indexOf && (~n.path.indexOf(e.input) || ~n.path.indexOf(e.altInput)), u = !o && !r && !k(n.relatedTarget), c = !e.config.ignoredFocusElements.some(function(b) {
859
+ return b.contains(t);
860
860
  });
861
- u && c && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && j(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
861
+ u && c && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && F(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
862
862
  }
863
863
  }
864
864
  function re(n) {
865
865
  if (!(!n || e.config.minDate && n < e.config.minDate.getFullYear() || e.config.maxDate && n > e.config.maxDate.getFullYear())) {
866
866
  var t = n, r = e.currentYear !== t;
867
- e.currentYear = t || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), r && (e.redraw(), R("onYearChange"), ae());
867
+ e.currentYear = t || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), r && (e.redraw(), R("onYearChange"), q());
868
868
  }
869
869
  }
870
- function X(n, t) {
870
+ function Q(n, t) {
871
871
  var r;
872
872
  t === void 0 && (t = !0);
873
873
  var o = e.parseDate(n, void 0, t);
874
- if (e.config.minDate && o && ne(o, e.config.minDate, t !== void 0 ? t : !e.minDateHasTime) < 0 || e.config.maxDate && o && ne(o, e.config.maxDate, t !== void 0 ? t : !e.maxDateHasTime) > 0)
874
+ if (e.config.minDate && o && te(o, e.config.minDate, t !== void 0 ? t : !e.minDateHasTime) < 0 || e.config.maxDate && o && te(o, e.config.maxDate, t !== void 0 ? t : !e.maxDateHasTime) > 0)
875
875
  return !1;
876
876
  if (!e.config.enable && e.config.disable.length === 0)
877
877
  return !0;
878
878
  if (o === void 0)
879
879
  return !1;
880
- for (var u = !!e.config.enable, c = (r = e.config.enable) !== null && r !== void 0 ? r : e.config.disable, D = 0, g = void 0; D < c.length; D++) {
881
- if (g = c[D], typeof g == "function" && g(o))
880
+ for (var u = !!e.config.enable, c = (r = e.config.enable) !== null && r !== void 0 ? r : e.config.disable, b = 0, g = void 0; b < c.length; b++) {
881
+ if (g = c[b], typeof g == "function" && g(o))
882
882
  return u;
883
883
  if (g instanceof Date && o !== void 0 && g.getTime() === o.getTime())
884
884
  return u;
@@ -890,24 +890,24 @@ function it(a, i) {
890
890
  }
891
891
  return !u;
892
892
  }
893
- function ve(n) {
893
+ function he(n) {
894
894
  return e.daysContainer !== void 0 ? n.className.indexOf("hidden") === -1 && n.className.indexOf("flatpickr-disabled") === -1 && e.daysContainer.contains(n) : !1;
895
895
  }
896
896
  function En(n) {
897
897
  var t = n.target === e._input, r = e._input.value.trimEnd() !== Re();
898
- t && r && !(n.relatedTarget && A(n.relatedTarget)) && e.setDate(e._input.value, !0, n.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
898
+ t && r && !(n.relatedTarget && k(n.relatedTarget)) && e.setDate(e._input.value, !0, n.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
899
899
  }
900
900
  function nn(n) {
901
- var t = ee(n), r = e.config.wrap ? a.contains(t) : t === e._input, o = e.config.allowInput, u = e.isOpen && (!o || !r), c = e.config.inline && r && !o;
901
+ var t = ne(n), r = e.config.wrap ? a.contains(t) : t === e._input, o = e.config.allowInput, u = e.isOpen && (!o || !r), c = e.config.inline && r && !o;
902
902
  if (n.keyCode === 13 && r) {
903
903
  if (o)
904
904
  return e.setDate(e._input.value, !0, t === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), t.blur();
905
905
  e.open();
906
- } else if (A(t) || u || c) {
907
- var D = !!e.timeContainer && e.timeContainer.contains(t);
906
+ } else if (k(t) || u || c) {
907
+ var b = !!e.timeContainer && e.timeContainer.contains(t);
908
908
  switch (n.keyCode) {
909
909
  case 13:
910
- D ? (n.preventDefault(), j(), He()) : un(n);
910
+ b ? (n.preventDefault(), F(), He()) : un(n);
911
911
  break;
912
912
  case 27:
913
913
  n.preventDefault(), He();
@@ -918,12 +918,12 @@ function it(a, i) {
918
918
  break;
919
919
  case 37:
920
920
  case 39:
921
- if (!D && !r) {
921
+ if (!b && !r) {
922
922
  n.preventDefault();
923
923
  var g = p();
924
- if (e.daysContainer !== void 0 && (o === !1 || g && ve(g))) {
924
+ if (e.daysContainer !== void 0 && (o === !1 || g && he(g))) {
925
925
  var C = n.keyCode === 39 ? 1 : -1;
926
- n.ctrlKey ? (n.stopPropagation(), _(C), te(ce(1), 0)) : te(void 0, C);
926
+ n.ctrlKey ? (n.stopPropagation(), A(C), X(le(1), 0)) : X(void 0, C);
927
927
  }
928
928
  } else e.hourElement && e.hourElement.focus();
929
929
  break;
@@ -931,21 +931,21 @@ function it(a, i) {
931
931
  case 40:
932
932
  n.preventDefault();
933
933
  var d = n.keyCode === 40 ? 1 : -1;
934
- e.daysContainer && t.$i !== void 0 || t === e.input || t === e.altInput ? n.ctrlKey ? (n.stopPropagation(), re(e.currentYear - d), te(ce(1), 0)) : D || te(void 0, d * 7) : t === e.currentYearElement ? re(e.currentYear - d) : e.config.enableTime && (!D && e.hourElement && e.hourElement.focus(), j(n), e._debouncedChange());
934
+ e.daysContainer && t.$i !== void 0 || t === e.input || t === e.altInput ? n.ctrlKey ? (n.stopPropagation(), re(e.currentYear - d), X(le(1), 0)) : b || X(void 0, d * 7) : t === e.currentYearElement ? re(e.currentYear - d) : e.config.enableTime && (!b && e.hourElement && e.hourElement.focus(), F(n), e._debouncedChange());
935
935
  break;
936
936
  case 9:
937
- if (D) {
937
+ if (b) {
938
938
  var h = [
939
939
  e.hourElement,
940
940
  e.minuteElement,
941
941
  e.secondElement,
942
942
  e.amPM
943
- ].concat(e.pluginElements).filter(function(Q) {
944
- return Q;
943
+ ].concat(e.pluginElements).filter(function(ee) {
944
+ return ee;
945
945
  }), Y = h.indexOf(t);
946
946
  if (Y !== -1) {
947
- var de = h[Y + (n.shiftKey ? -1 : 1)];
948
- n.preventDefault(), (de || e._input).focus();
947
+ var ce = h[Y + (n.shiftKey ? -1 : 1)];
948
+ n.preventDefault(), (ce || e._input).focus();
949
949
  }
950
950
  } else !e.config.noCalendar && e.daysContainer && e.daysContainer.contains(t) && n.shiftKey && (n.preventDefault(), e._input.focus());
951
951
  break;
@@ -955,32 +955,32 @@ function it(a, i) {
955
955
  switch (n.key) {
956
956
  case e.l10n.amPM[0].charAt(0):
957
957
  case e.l10n.amPM[0].charAt(0).toLowerCase():
958
- e.amPM.textContent = e.l10n.amPM[0], H(), ge();
958
+ e.amPM.textContent = e.l10n.amPM[0], H(), de();
959
959
  break;
960
960
  case e.l10n.amPM[1].charAt(0):
961
961
  case e.l10n.amPM[1].charAt(0).toLowerCase():
962
- e.amPM.textContent = e.l10n.amPM[1], H(), ge();
962
+ e.amPM.textContent = e.l10n.amPM[1], H(), de();
963
963
  break;
964
964
  }
965
- (r || A(t)) && R("onKeyDown", n);
965
+ (r || k(t)) && R("onKeyDown", n);
966
966
  }
967
967
  function ke(n, t) {
968
968
  if (t === void 0 && (t = "flatpickr-day"), !(e.selectedDates.length !== 1 || n && (!n.classList.contains(t) || n.classList.contains("flatpickr-disabled")))) {
969
- for (var r = n ? n.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), o = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), u = Math.min(r, e.selectedDates[0].getTime()), c = Math.max(r, e.selectedDates[0].getTime()), D = !1, g = 0, C = 0, d = u; d < c; d += at.DAY)
970
- X(new Date(d), !0) || (D = D || d > u && d < c, d < o && (!g || d > g) ? g = d : d > o && (!C || d < C) && (C = d));
969
+ for (var r = n ? n.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), o = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), u = Math.min(r, e.selectedDates[0].getTime()), c = Math.max(r, e.selectedDates[0].getTime()), b = !1, g = 0, C = 0, d = u; d < c; d += at.DAY)
970
+ Q(new Date(d), !0) || (b = b || d > u && d < c, d < o && (!g || d > g) ? g = d : d > o && (!C || d < C) && (C = d));
971
971
  var h = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + t));
972
972
  h.forEach(function(Y) {
973
- var de = Y.dateObj, Q = de.getTime(), Me = g > 0 && Q < g || C > 0 && Q > C;
973
+ var ce = Y.dateObj, ee = ce.getTime(), Me = g > 0 && ee < g || C > 0 && ee > C;
974
974
  if (Me) {
975
- Y.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(De) {
976
- Y.classList.remove(De);
975
+ Y.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(ye) {
976
+ Y.classList.remove(ye);
977
977
  });
978
978
  return;
979
- } else if (D && !Me)
979
+ } else if (b && !Me)
980
980
  return;
981
- ["startRange", "inRange", "endRange", "notAllowed"].forEach(function(De) {
982
- Y.classList.remove(De);
983
- }), n !== void 0 && (n.classList.add(r <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), o < r && Q === o ? Y.classList.add("startRange") : o > r && Q === o && Y.classList.add("endRange"), Q >= g && (C === 0 || Q <= C) && nt(Q, o, r) && Y.classList.add("inRange"));
981
+ ["startRange", "inRange", "endRange", "notAllowed"].forEach(function(ye) {
982
+ Y.classList.remove(ye);
983
+ }), n !== void 0 && (n.classList.add(r <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), o < r && ee === o ? Y.classList.add("startRange") : o > r && ee === o && Y.classList.add("endRange"), ee >= g && (C === 0 || ee <= C) && nt(ee, o, r) && Y.classList.add("inRange"));
984
984
  });
985
985
  }
986
986
  }
@@ -991,7 +991,7 @@ function it(a, i) {
991
991
  if (t === void 0 && (t = e._positionElement), e.isMobile === !0) {
992
992
  if (n) {
993
993
  n.preventDefault();
994
- var r = ee(n);
994
+ var r = ne(n);
995
995
  r && r.blur();
996
996
  }
997
997
  e.mobileInput !== void 0 && (e.mobileInput.focus(), e.mobileInput.click()), R("onOpen");
@@ -1007,8 +1007,8 @@ function it(a, i) {
1007
1007
  return function(t) {
1008
1008
  var r = e.config["_" + n + "Date"] = e.parseDate(t, e.config.dateFormat), o = e.config["_" + (n === "min" ? "max" : "min") + "Date"];
1009
1009
  r !== void 0 && (e[n === "min" ? "minDateHasTime" : "maxDateHasTime"] = r.getHours() > 0 || r.getMinutes() > 0 || r.getSeconds() > 0), e.selectedDates && (e.selectedDates = e.selectedDates.filter(function(u) {
1010
- return X(u);
1011
- }), !e.selectedDates.length && n === "min" && L(r), ge()), e.daysContainer && (on(), r !== void 0 ? e.currentYearElement[n] = r.getFullYear().toString() : e.currentYearElement.removeAttribute(n), e.currentYearElement.disabled = !!o && r !== void 0 && o.getFullYear() === r.getFullYear());
1010
+ return Q(u);
1011
+ }), !e.selectedDates.length && n === "min" && L(r), de()), e.daysContainer && (on(), r !== void 0 ? e.currentYearElement[n] = r.getFullYear().toString() : e.currentYearElement.removeAttribute(n), e.currentYearElement.disabled = !!o && r !== void 0 && o.getFullYear() === r.getFullYear());
1012
1012
  };
1013
1013
  }
1014
1014
  function On() {
@@ -1045,11 +1045,11 @@ function it(a, i) {
1045
1045
  });
1046
1046
  var o = t.mode === "time";
1047
1047
  if (!t.dateFormat && (t.enableTime || o)) {
1048
- var u = q.defaultConfig.dateFormat || be.dateFormat;
1048
+ var u = K.defaultConfig.dateFormat || De.dateFormat;
1049
1049
  r.dateFormat = t.noCalendar || o ? "H:i" + (t.enableSeconds ? ":S" : "") : u + " H:i" + (t.enableSeconds ? ":S" : "");
1050
1050
  }
1051
1051
  if (t.altInput && (t.enableTime || o) && !t.altFormat) {
1052
- var c = q.defaultConfig.altFormat || be.altFormat;
1052
+ var c = K.defaultConfig.altFormat || De.altFormat;
1053
1053
  r.altFormat = t.noCalendar || o ? "h:i" + (t.enableSeconds ? ":S K" : " K") : c + (" h:i" + (t.enableSeconds ? ":S" : "") + " K");
1054
1054
  }
1055
1055
  Object.defineProperty(e.config, "minDate", {
@@ -1063,7 +1063,7 @@ function it(a, i) {
1063
1063
  },
1064
1064
  set: tn("max")
1065
1065
  });
1066
- var D = function(h) {
1066
+ var b = function(h) {
1067
1067
  return function(Y) {
1068
1068
  e.config[h === "min" ? "_minTime" : "_maxTime"] = e.parseDate(Y, "H:i:S");
1069
1069
  };
@@ -1072,24 +1072,24 @@ function it(a, i) {
1072
1072
  get: function() {
1073
1073
  return e.config._minTime;
1074
1074
  },
1075
- set: D("min")
1075
+ set: b("min")
1076
1076
  }), Object.defineProperty(e.config, "maxTime", {
1077
1077
  get: function() {
1078
1078
  return e.config._maxTime;
1079
1079
  },
1080
- set: D("max")
1080
+ set: b("max")
1081
1081
  }), t.mode === "time" && (e.config.noCalendar = !0, e.config.enableTime = !0), Object.assign(e.config, r, t);
1082
1082
  for (var g = 0; g < n.length; g++)
1083
1083
  e.config[n[g]] = e.config[n[g]] === !0 || e.config[n[g]] === "true";
1084
1084
  qe.filter(function(h) {
1085
1085
  return e.config[h] !== void 0;
1086
1086
  }).forEach(function(h) {
1087
- e.config[h] = Ke(e.config[h] || []).map(b);
1087
+ e.config[h] = Ke(e.config[h] || []).map(D);
1088
1088
  }), e.isMobile = !e.config.disableMobile && !e.config.inline && e.config.mode === "single" && !e.config.disable.length && !e.config.enable && !e.config.weekNumbers && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
1089
1089
  for (var g = 0; g < e.config.plugins.length; g++) {
1090
1090
  var C = e.config.plugins[g](e) || {};
1091
1091
  for (var d in C)
1092
- qe.indexOf(d) > -1 ? e.config[d] = Ke(C[d]).map(b).concat(e.config[d]) : typeof t[d] > "u" && (e.config[d] = C[d]);
1092
+ qe.indexOf(d) > -1 ? e.config[d] = Ke(C[d]).map(D).concat(e.config[d]) : typeof t[d] > "u" && (e.config[d] = C[d]);
1093
1093
  }
1094
1094
  t.altInputClass || (e.config.altInputClass = an().className + " " + e.config.altInputClass), R("onParseConfig");
1095
1095
  }
@@ -1097,9 +1097,9 @@ function it(a, i) {
1097
1097
  return e.config.wrap ? a.querySelector("[data-input]") : a;
1098
1098
  }
1099
1099
  function rn() {
1100
- typeof e.config.locale != "object" && typeof q.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = J(J({}, q.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? q.l10ns[e.config.locale] : void 0), ye.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", ye.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", ye.M = "(" + e.l10n.months.shorthand.join("|") + ")", ye.F = "(" + e.l10n.months.longhand.join("|") + ")", ye.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
1100
+ typeof e.config.locale != "object" && typeof K.l10ns[e.config.locale] > "u" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = J(J({}, K.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? K.l10ns[e.config.locale] : void 0), ve.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", ve.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", ve.M = "(" + e.l10n.months.shorthand.join("|") + ")", ve.F = "(" + e.l10n.months.longhand.join("|") + ")", ve.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
1101
1101
  var n = J(J({}, i), JSON.parse(JSON.stringify(a.dataset || {})));
1102
- n.time_24hr === void 0 && q.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Mn(e), e.parseDate = Xe({ config: e.config, l10n: e.l10n });
1102
+ n.time_24hr === void 0 && K.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = Mn(e), e.parseDate = Xe({ config: e.config, l10n: e.l10n });
1103
1103
  }
1104
1104
  function Oe(n) {
1105
1105
  if (typeof e.config.position == "function")
@@ -1108,13 +1108,13 @@ function it(a, i) {
1108
1108
  R("onPreCalendarPosition");
1109
1109
  var t = n || e._positionElement, r = Array.prototype.reduce.call(e.calendarContainer.children, function(Vn, Gn) {
1110
1110
  return Vn + Gn.offsetHeight;
1111
- }, 0), o = e.calendarContainer.offsetWidth, u = e.config.position.split(" "), c = u[0], D = u.length > 1 ? u[1] : null, g = t.getBoundingClientRect(), C = window.innerHeight - g.bottom, d = c === "above" || c !== "below" && C < r && g.top > r, h = window.pageYOffset + g.top + (d ? -r - 2 : t.offsetHeight + 2);
1112
- if (G(e.calendarContainer, "arrowTop", !d), G(e.calendarContainer, "arrowBottom", d), !e.config.inline) {
1113
- var Y = window.pageXOffset + g.left, de = !1, Q = !1;
1114
- D === "center" ? (Y -= (o - g.width) / 2, de = !0) : D === "right" && (Y -= o - g.width, Q = !0), G(e.calendarContainer, "arrowLeft", !de && !Q), G(e.calendarContainer, "arrowCenter", de), G(e.calendarContainer, "arrowRight", Q);
1115
- var Me = window.document.body.offsetWidth - (window.pageXOffset + g.right), De = Y + o > window.document.body.offsetWidth, Wn = Me + o > window.document.body.offsetWidth;
1116
- if (G(e.calendarContainer, "rightMost", De), !e.config.static)
1117
- if (e.calendarContainer.style.top = h + "px", !De)
1111
+ }, 0), o = e.calendarContainer.offsetWidth, u = e.config.position.split(" "), c = u[0], b = u.length > 1 ? u[1] : null, g = t.getBoundingClientRect(), C = window.innerHeight - g.bottom, d = c === "above" || c !== "below" && C < r && g.top > r, h = window.pageYOffset + g.top + (d ? -r - 2 : t.offsetHeight + 2);
1112
+ if (V(e.calendarContainer, "arrowTop", !d), V(e.calendarContainer, "arrowBottom", d), !e.config.inline) {
1113
+ var Y = window.pageXOffset + g.left, ce = !1, ee = !1;
1114
+ b === "center" ? (Y -= (o - g.width) / 2, ce = !0) : b === "right" && (Y -= o - g.width, ee = !0), V(e.calendarContainer, "arrowLeft", !ce && !ee), V(e.calendarContainer, "arrowCenter", ce), V(e.calendarContainer, "arrowRight", ee);
1115
+ var Me = window.document.body.offsetWidth - (window.pageXOffset + g.right), ye = Y + o > window.document.body.offsetWidth, Wn = Me + o > window.document.body.offsetWidth;
1116
+ if (V(e.calendarContainer, "rightMost", ye), !e.config.static)
1117
+ if (e.calendarContainer.style.top = h + "px", !ye)
1118
1118
  e.calendarContainer.style.left = Y + "px", e.calendarContainer.style.right = "auto";
1119
1119
  else if (!Wn)
1120
1120
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = Me + "px";
@@ -1123,7 +1123,7 @@ function it(a, i) {
1123
1123
  if (Be === void 0)
1124
1124
  return;
1125
1125
  var Rn = window.document.body.offsetWidth, Bn = Math.max(0, Rn / 2 - o / 2), qn = ".flatpickr-calendar.centerMost:before", Kn = ".flatpickr-calendar.centerMost:after", Un = Be.cssRules.length, Jn = "{left:" + g.left + "px;right:auto;}";
1126
- G(e.calendarContainer, "rightMost", !1), G(e.calendarContainer, "centerMost", !0), Be.insertRule(qn + "," + Kn + Jn, Un), e.calendarContainer.style.left = Bn + "px", e.calendarContainer.style.right = "auto";
1126
+ V(e.calendarContainer, "rightMost", !1), V(e.calendarContainer, "centerMost", !0), Be.insertRule(qn + "," + Kn + Jn, Un), e.calendarContainer.style.left = Bn + "px", e.calendarContainer.style.right = "auto";
1127
1127
  }
1128
1128
  }
1129
1129
  }
@@ -1148,7 +1148,7 @@ function it(a, i) {
1148
1148
  return document.head.appendChild(n), n.sheet;
1149
1149
  }
1150
1150
  function on() {
1151
- e.config.noCalendar || e.isMobile || (ae(), Se(), $());
1151
+ e.config.noCalendar || e.isMobile || (q(), Se(), $());
1152
1152
  }
1153
1153
  function He() {
1154
1154
  e._input.focus(), window.navigator.userAgent.indexOf("MSIE") !== -1 || navigator.msMaxTouchPoints !== void 0 ? setTimeout(e.close, 0) : e.close();
@@ -1157,31 +1157,31 @@ function it(a, i) {
1157
1157
  n.preventDefault(), n.stopPropagation();
1158
1158
  var t = function(h) {
1159
1159
  return h.classList && h.classList.contains("flatpickr-day") && !h.classList.contains("flatpickr-disabled") && !h.classList.contains("notAllowed");
1160
- }, r = Cn(ee(n), t);
1160
+ }, r = Cn(ne(n), t);
1161
1161
  if (r !== void 0) {
1162
1162
  var o = r, u = e.latestSelectedDateObj = new Date(o.dateObj.getTime()), c = (u.getMonth() < e.currentMonth || u.getMonth() > e.currentMonth + e.config.showMonths - 1) && e.config.mode !== "range";
1163
1163
  if (e.selectedDateElem = o, e.config.mode === "single")
1164
1164
  e.selectedDates = [u];
1165
1165
  else if (e.config.mode === "multiple") {
1166
- var D = We(u);
1167
- D ? e.selectedDates.splice(parseInt(D), 1) : e.selectedDates.push(u);
1168
- } else e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = u, e.selectedDates.push(u), ne(u, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(h, Y) {
1166
+ var b = We(u);
1167
+ b ? e.selectedDates.splice(parseInt(b), 1) : e.selectedDates.push(u);
1168
+ } else e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = u, e.selectedDates.push(u), te(u, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(h, Y) {
1169
1169
  return h.getTime() - Y.getTime();
1170
1170
  }));
1171
1171
  if (H(), c) {
1172
1172
  var g = e.currentYear !== u.getFullYear();
1173
- e.currentYear = u.getFullYear(), e.currentMonth = u.getMonth(), g && (R("onYearChange"), ae()), R("onMonthChange");
1173
+ e.currentYear = u.getFullYear(), e.currentMonth = u.getMonth(), g && (R("onYearChange"), q()), R("onMonthChange");
1174
1174
  }
1175
- if (Se(), $(), ge(), !c && e.config.mode !== "range" && e.config.showMonths === 1 ? fe(o) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
1175
+ if (Se(), $(), de(), !c && e.config.mode !== "range" && e.config.showMonths === 1 ? se(o) : e.selectedDateElem !== void 0 && e.hourElement === void 0 && e.selectedDateElem && e.selectedDateElem.focus(), e.hourElement !== void 0 && e.hourElement !== void 0 && e.hourElement.focus(), e.config.closeOnSelect) {
1176
1176
  var C = e.config.mode === "single" && !e.config.enableTime, d = e.config.mode === "range" && e.selectedDates.length === 2 && !e.config.enableTime;
1177
1177
  (C || d) && He();
1178
1178
  }
1179
- K();
1179
+ U();
1180
1180
  }
1181
1181
  }
1182
1182
  var Ie = {
1183
- locale: [rn, I],
1184
- showMonths: [pe, M, x],
1183
+ locale: [rn, x],
1184
+ showMonths: [me, M, S],
1185
1185
  minDate: [B],
1186
1186
  maxDate: [B],
1187
1187
  positionElement: [sn],
@@ -1202,7 +1202,7 @@ function it(a, i) {
1202
1202
  e.config[n] = t, Ie[n] !== void 0 ? Ie[n].forEach(function(o) {
1203
1203
  return o();
1204
1204
  }) : qe.indexOf(n) > -1 && (e.config[n] = Ke(t));
1205
- e.redraw(), ge(!0);
1205
+ e.redraw(), de(!0);
1206
1206
  }
1207
1207
  function ln(n, t) {
1208
1208
  var r = [];
@@ -1232,7 +1232,7 @@ function it(a, i) {
1232
1232
  else
1233
1233
  e.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(n)));
1234
1234
  e.selectedDates = e.config.allowInvalidPreload ? r : r.filter(function(o) {
1235
- return o instanceof Date && X(o, !1);
1235
+ return o instanceof Date && Q(o, !1);
1236
1236
  }), e.config.mode === "range" && e.selectedDates.sort(function(o, u) {
1237
1237
  return o.getTime() - u.getTime();
1238
1238
  });
@@ -1240,7 +1240,7 @@ function it(a, i) {
1240
1240
  function Pn(n, t, r) {
1241
1241
  if (t === void 0 && (t = !1), r === void 0 && (r = e.config.dateFormat), n !== 0 && !n || n instanceof Array && n.length === 0)
1242
1242
  return e.clear(t);
1243
- ln(n, r), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), B(void 0, t), L(), e.selectedDates.length === 0 && e.clear(!1), ge(t), t && R("onChange");
1243
+ ln(n, r), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), B(void 0, t), L(), e.selectedDates.length === 0 && e.clear(!1), de(t), t && R("onChange");
1244
1244
  }
1245
1245
  function fn(n) {
1246
1246
  return n.slice().map(function(t) {
@@ -1262,20 +1262,20 @@ function it(a, i) {
1262
1262
  e.config.errorHandler(new Error("Invalid input element specified"));
1263
1263
  return;
1264
1264
  }
1265
- e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = F(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), sn();
1265
+ e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = j(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), sn();
1266
1266
  }
1267
1267
  function sn() {
1268
1268
  e._positionElement = e.config.positionElement || e._input;
1269
1269
  }
1270
1270
  function jn() {
1271
1271
  var n = e.config.enableTime ? e.config.noCalendar ? "time" : "datetime-local" : "date";
1272
- e.mobileInput = F("input", e.input.className + " flatpickr-mobile"), e.mobileInput.tabIndex = 1, e.mobileInput.type = n, e.mobileInput.disabled = e.input.disabled, e.mobileInput.required = e.input.required, e.mobileInput.placeholder = e.input.placeholder, e.mobileFormatStr = n === "datetime-local" ? "Y-m-d\\TH:i:S" : n === "date" ? "Y-m-d" : "H:i:S", e.selectedDates.length > 0 && (e.mobileInput.defaultValue = e.mobileInput.value = e.formatDate(e.selectedDates[0], e.mobileFormatStr)), e.config.minDate && (e.mobileInput.min = e.formatDate(e.config.minDate, "Y-m-d")), e.config.maxDate && (e.mobileInput.max = e.formatDate(e.config.maxDate, "Y-m-d")), e.input.getAttribute("step") && (e.mobileInput.step = String(e.input.getAttribute("step"))), e.input.type = "hidden", e.altInput !== void 0 && (e.altInput.type = "hidden");
1272
+ e.mobileInput = j("input", e.input.className + " flatpickr-mobile"), e.mobileInput.tabIndex = 1, e.mobileInput.type = n, e.mobileInput.disabled = e.input.disabled, e.mobileInput.required = e.input.required, e.mobileInput.placeholder = e.input.placeholder, e.mobileFormatStr = n === "datetime-local" ? "Y-m-d\\TH:i:S" : n === "date" ? "Y-m-d" : "H:i:S", e.selectedDates.length > 0 && (e.mobileInput.defaultValue = e.mobileInput.value = e.formatDate(e.selectedDates[0], e.mobileFormatStr)), e.config.minDate && (e.mobileInput.min = e.formatDate(e.config.minDate, "Y-m-d")), e.config.maxDate && (e.mobileInput.max = e.formatDate(e.config.maxDate, "Y-m-d")), e.input.getAttribute("step") && (e.mobileInput.step = String(e.input.getAttribute("step"))), e.input.type = "hidden", e.altInput !== void 0 && (e.altInput.type = "hidden");
1273
1273
  try {
1274
1274
  e.input.parentNode && e.input.parentNode.insertBefore(e.mobileInput, e.input.nextSibling);
1275
1275
  } catch {
1276
1276
  }
1277
1277
  v(e.mobileInput, "change", function(t) {
1278
- e.setDate(ee(t).value, !1, e.mobileFormatStr), R("onChange"), R("onClose");
1278
+ e.setDate(ne(t).value, !1, e.mobileFormatStr), R("onChange"), R("onClose");
1279
1279
  });
1280
1280
  }
1281
1281
  function Nn(n) {
@@ -1299,13 +1299,13 @@ function it(a, i) {
1299
1299
  function We(n) {
1300
1300
  for (var t = 0; t < e.selectedDates.length; t++) {
1301
1301
  var r = e.selectedDates[t];
1302
- if (r instanceof Date && ne(r, n) === 0)
1302
+ if (r instanceof Date && te(r, n) === 0)
1303
1303
  return "" + t;
1304
1304
  }
1305
1305
  return !1;
1306
1306
  }
1307
1307
  function Yn(n) {
1308
- return e.config.mode !== "range" || e.selectedDates.length < 2 ? !1 : ne(n, e.selectedDates[0]) >= 0 && ne(n, e.selectedDates[1]) <= 0;
1308
+ return e.config.mode !== "range" || e.selectedDates.length < 2 ? !1 : te(n, e.selectedDates[0]) >= 0 && te(n, e.selectedDates[1]) <= 0;
1309
1309
  }
1310
1310
  function Se() {
1311
1311
  e.config.noCalendar || e.isMobile || !e.monthNav || (e.yearElements.forEach(function(n, t) {
@@ -1321,69 +1321,69 @@ function it(a, i) {
1321
1321
  return e.config.mode !== "range" || e.config.enableTime || u.indexOf(r) === o;
1322
1322
  }).join(e.config.mode !== "range" ? e.config.conjunction : e.l10n.rangeSeparator);
1323
1323
  }
1324
- function ge(n) {
1324
+ function de(n) {
1325
1325
  n === void 0 && (n = !0), e.mobileInput !== void 0 && e.mobileFormatStr && (e.mobileInput.value = e.latestSelectedDateObj !== void 0 ? e.formatDate(e.latestSelectedDateObj, e.mobileFormatStr) : ""), e.input.value = Re(e.config.dateFormat), e.altInput !== void 0 && (e.altInput.value = Re(e.config.altFormat)), n !== !1 && R("onValueUpdate");
1326
1326
  }
1327
1327
  function Hn(n) {
1328
- var t = ee(n), r = e.prevMonthNav.contains(t), o = e.nextMonthNav.contains(t);
1329
- r || o ? _(r ? -1 : 1) : e.yearElements.indexOf(t) >= 0 ? t.select() : t.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : t.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
1328
+ var t = ne(n), r = e.prevMonthNav.contains(t), o = e.nextMonthNav.contains(t);
1329
+ r || o ? A(r ? -1 : 1) : e.yearElements.indexOf(t) >= 0 ? t.select() : t.classList.contains("arrowUp") ? e.changeYear(e.currentYear + 1) : t.classList.contains("arrowDown") && e.changeYear(e.currentYear - 1);
1330
1330
  }
1331
1331
  function Ln(n) {
1332
1332
  n.preventDefault();
1333
- var t = n.type === "keydown", r = ee(n), o = r;
1333
+ var t = n.type === "keydown", r = ne(n), o = r;
1334
1334
  e.amPM !== void 0 && r === e.amPM && (e.amPM.textContent = e.l10n.amPM[oe(e.amPM.textContent === e.l10n.amPM[0])]);
1335
- var u = parseFloat(o.getAttribute("min")), c = parseFloat(o.getAttribute("max")), D = parseFloat(o.getAttribute("step")), g = parseInt(o.value, 10), C = n.delta || (t ? n.which === 38 ? 1 : -1 : 0), d = g + D * C;
1335
+ var u = parseFloat(o.getAttribute("min")), c = parseFloat(o.getAttribute("max")), b = parseFloat(o.getAttribute("step")), g = parseInt(o.value, 10), C = n.delta || (t ? n.which === 38 ? 1 : -1 : 0), d = g + b * C;
1336
1336
  if (typeof o.value < "u" && o.value.length === 2) {
1337
1337
  var h = o === e.hourElement, Y = o === e.minuteElement;
1338
- d < u ? (d = c + d + oe(!h) + (oe(h) && oe(!e.amPM)), Y && se(void 0, -1, e.hourElement)) : d > c && (d = o === e.hourElement ? d - c - oe(!e.amPM) : u, Y && se(void 0, 1, e.hourElement)), e.amPM && h && (D === 1 ? d + g === 23 : Math.abs(d - g) > D) && (e.amPM.textContent = e.l10n.amPM[oe(e.amPM.textContent === e.l10n.amPM[0])]), o.value = Z(d);
1338
+ d < u ? (d = c + d + oe(!h) + (oe(h) && oe(!e.amPM)), Y && fe(void 0, -1, e.hourElement)) : d > c && (d = o === e.hourElement ? d - c - oe(!e.amPM) : u, Y && fe(void 0, 1, e.hourElement)), e.amPM && h && (b === 1 ? d + g === 23 : Math.abs(d - g) > b) && (e.amPM.textContent = e.l10n.amPM[oe(e.amPM.textContent === e.l10n.amPM[0])]), o.value = Z(d);
1339
1339
  }
1340
1340
  }
1341
1341
  return f(), e;
1342
1342
  }
1343
- function we(a, i) {
1344
- for (var e = Array.prototype.slice.call(a).filter(function(b) {
1345
- return b instanceof HTMLElement;
1343
+ function be(a, i) {
1344
+ for (var e = Array.prototype.slice.call(a).filter(function(D) {
1345
+ return D instanceof HTMLElement;
1346
1346
  }), s = [], f = 0; f < e.length; f++) {
1347
1347
  var p = e[f];
1348
1348
  try {
1349
1349
  if (p.getAttribute("data-fp-omit") !== null)
1350
1350
  continue;
1351
1351
  p._flatpickr !== void 0 && (p._flatpickr.destroy(), p._flatpickr = void 0), p._flatpickr = it(p, i || {}), s.push(p._flatpickr);
1352
- } catch (b) {
1353
- console.error(b);
1352
+ } catch (D) {
1353
+ console.error(D);
1354
1354
  }
1355
1355
  }
1356
1356
  return s.length === 1 ? s[0] : s;
1357
1357
  }
1358
1358
  typeof HTMLElement < "u" && typeof HTMLCollection < "u" && typeof NodeList < "u" && (HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function(a) {
1359
- return we(this, a);
1359
+ return be(this, a);
1360
1360
  }, HTMLElement.prototype.flatpickr = function(a) {
1361
- return we([this], a);
1361
+ return be([this], a);
1362
1362
  });
1363
- var q = function(a, i) {
1364
- return typeof a == "string" ? we(window.document.querySelectorAll(a), i) : a instanceof Node ? we([a], i) : we(a, i);
1363
+ var K = function(a, i) {
1364
+ return typeof a == "string" ? be(window.document.querySelectorAll(a), i) : a instanceof Node ? be([a], i) : be(a, i);
1365
1365
  };
1366
- q.defaultConfig = {};
1367
- q.l10ns = {
1366
+ K.defaultConfig = {};
1367
+ K.l10ns = {
1368
1368
  en: J({}, Te),
1369
1369
  default: J({}, Te)
1370
1370
  };
1371
- q.localize = function(a) {
1372
- q.l10ns.default = J(J({}, q.l10ns.default), a);
1371
+ K.localize = function(a) {
1372
+ K.l10ns.default = J(J({}, K.l10ns.default), a);
1373
1373
  };
1374
- q.setDefaults = function(a) {
1375
- q.defaultConfig = J(J({}, q.defaultConfig), a);
1374
+ K.setDefaults = function(a) {
1375
+ K.defaultConfig = J(J({}, K.defaultConfig), a);
1376
1376
  };
1377
- q.parseDate = Xe({});
1378
- q.formatDate = Mn({});
1379
- q.compareDates = ne;
1377
+ K.parseDate = Xe({});
1378
+ K.formatDate = Mn({});
1379
+ K.compareDates = te;
1380
1380
  typeof jQuery < "u" && typeof jQuery.fn < "u" && (jQuery.fn.flatpickr = function(a) {
1381
- return we(this, a);
1381
+ return be(this, a);
1382
1382
  });
1383
1383
  Date.prototype.fp_incr = function(a) {
1384
1384
  return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof a == "string" ? parseInt(a, 10) : a));
1385
1385
  };
1386
- typeof window < "u" && (window.flatpickr = q);
1386
+ typeof window < "u" && (window.flatpickr = K);
1387
1387
  const ot = ["onCreate", "onDestroy"], Qe = [
1388
1388
  "onChange",
1389
1389
  "onOpen",
@@ -1405,48 +1405,48 @@ const ot = ["onCreate", "onDestroy"], Qe = [
1405
1405
  }), ot.forEach((e) => {
1406
1406
  delete i[e];
1407
1407
  }), a), lt = (a) => {
1408
- const i = dn(() => ({ ...a }), [a]), { defaultValue: e, options: s = {}, value: f, children: p, render: b } = i, M = dn(() => ut(s, i), [s, i]), j = pn(null), S = pn(void 0);
1408
+ const i = dn(() => ({ ...a }), [a]), { defaultValue: e, options: s = {}, value: f, children: p, render: D } = i, M = dn(() => ut(s, i), [s, i]), F = pn(null), _ = pn(void 0);
1409
1409
  Xn(
1410
1410
  a.ref,
1411
1411
  () => ({
1412
1412
  get flatpickr() {
1413
- return S.current;
1413
+ return _.current;
1414
1414
  }
1415
1415
  }),
1416
1416
  []
1417
1417
  ), Qn(() => {
1418
1418
  var L;
1419
- const O = () => {
1419
+ const I = () => {
1420
1420
  var v;
1421
1421
  M.onClose = M.onClose || (() => {
1422
- var K;
1423
- (K = j.current) != null && K.blur && j.current.blur();
1424
- }), S.current = (((v = q) == null ? void 0 : v.default) || q)(j.current, M), S.current && f !== void 0 && S.current.setDate(f, !1), a.onCreate && a.onCreate(S.current);
1422
+ var U;
1423
+ (U = F.current) != null && U.blur && F.current.blur();
1424
+ }), _.current = (((v = K) == null ? void 0 : v.default) || K)(F.current, M), _.current && f !== void 0 && _.current.setDate(f, !1), a.onCreate && a.onCreate(_.current);
1425
1425
  }, W = () => {
1426
- a.onDestroy && a.onDestroy(S.current), S.current && S.current.destroy(), S.current = void 0;
1426
+ a.onDestroy && a.onDestroy(_.current), _.current && _.current.destroy(), _.current = void 0;
1427
1427
  };
1428
- if (O(), S.current) {
1428
+ if (I(), _.current) {
1429
1429
  const v = Object.getOwnPropertyNames(M);
1430
- for (let K = v.length - 1; K >= 0; K--) {
1431
- const V = v[K];
1432
- let B = M[V];
1433
- (B == null ? void 0 : B.toString()) !== ((L = S.current.config[V]) == null ? void 0 : L.toString()) && (Qe.includes(V) && !Array.isArray(B) && (B = [B]), S.current.set(V, B));
1430
+ for (let U = v.length - 1; U >= 0; U--) {
1431
+ const ae = v[U];
1432
+ let B = M[ae];
1433
+ (B == null ? void 0 : B.toString()) !== ((L = _.current.config[ae]) == null ? void 0 : L.toString()) && (Qe.includes(ae) && !Array.isArray(B) && (B = [B]), _.current.set(ae, B));
1434
1434
  }
1435
- f !== void 0 && f !== S.current.input.value && S.current.setDate(f, !1);
1435
+ f !== void 0 && f !== _.current.input.value && _.current.setDate(f, !1);
1436
1436
  }
1437
1437
  return () => {
1438
1438
  W();
1439
1439
  };
1440
1440
  }, [M, s, i, f, a]);
1441
1441
  const y = gn((L) => {
1442
- j.current = L;
1442
+ F.current = L;
1443
1443
  }, []);
1444
- if (b)
1445
- return b({ ...i, defaultValue: e, value: f }, y);
1444
+ if (D)
1445
+ return D({ ...i, defaultValue: e, value: f }, y);
1446
1446
  const H = gn(
1447
1447
  (L) => {
1448
- var O, W;
1449
- a && a.onChange && (Array.isArray(a == null ? void 0 : a.onChange) ? (O = a == null ? void 0 : a.onChange) == null || O.forEach(() => [new Date(L.target.value)], (f == null ? void 0 : f.toString()) || "") : typeof a.onChange == "function" && ((W = a == null ? void 0 : a.onChange) == null || W.call(a, [new Date(L.target.value)], (f == null ? void 0 : f.toString()) || "", S.current)));
1448
+ var I, W;
1449
+ a && a.onChange && (Array.isArray(a == null ? void 0 : a.onChange) ? (I = a == null ? void 0 : a.onChange) == null || I.forEach(() => [new Date(L.target.value)], (f == null ? void 0 : f.toString()) || "") : typeof a.onChange == "function" && ((W = a == null ? void 0 : a.onChange) == null || W.call(a, [new Date(L.target.value)], (f == null ? void 0 : f.toString()) || "", _.current)));
1450
1450
  },
1451
1451
  [a, f]
1452
1452
  );
@@ -1485,29 +1485,29 @@ function ft() {
1485
1485
  }
1486
1486
  };
1487
1487
  }
1488
- function s(f, p, b, M, j) {
1488
+ function s(f, p, D, M, F) {
1489
1489
  if (process.env.NODE_ENV !== "production") {
1490
- for (var S in f)
1491
- if (f.hasOwnProperty(S)) {
1490
+ for (var _ in f)
1491
+ if (f.hasOwnProperty(_)) {
1492
1492
  var y;
1493
1493
  try {
1494
- if (typeof f[S] != "function") {
1494
+ if (typeof f[_] != "function") {
1495
1495
  var H = Error(
1496
- (M || "React class") + ": " + b + " type `" + S + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[S] + "`."
1496
+ (M || "React class") + ": " + D + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof f[_] + "`."
1497
1497
  );
1498
1498
  throw H.name = "Invariant Violation", H;
1499
1499
  }
1500
- y = f[S](p, S, M, b, null, i);
1501
- } catch (O) {
1502
- y = O;
1500
+ y = f[_](p, _, M, D, null, i);
1501
+ } catch (I) {
1502
+ y = I;
1503
1503
  }
1504
1504
  if (y && !(y instanceof Error) && a(
1505
- (M || "React class") + ": type specification of " + b + " `" + S + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof y + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1505
+ (M || "React class") + ": type specification of " + D + " `" + _ + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof y + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1506
1506
  ), y instanceof Error && !(y.message in e)) {
1507
1507
  e[y.message] = !0;
1508
- var L = j ? j() : "";
1508
+ var L = F ? F() : "";
1509
1509
  a(
1510
- "Failed " + b + " type: " + y.message + (L ?? "")
1510
+ "Failed " + D + " type: " + y.message + (L ?? "")
1511
1511
  );
1512
1512
  }
1513
1513
  }
@@ -1522,20 +1522,20 @@ function st() {
1522
1522
  var a = zn(), i = en(), e = ft(), s = function() {
1523
1523
  };
1524
1524
  process.env.NODE_ENV !== "production" && (s = function(p) {
1525
- var b = "Warning: " + p;
1526
- typeof console < "u" && console.error(b);
1525
+ var D = "Warning: " + p;
1526
+ typeof console < "u" && console.error(D);
1527
1527
  try {
1528
- throw new Error(b);
1528
+ throw new Error(D);
1529
1529
  } catch {
1530
1530
  }
1531
1531
  });
1532
1532
  function f() {
1533
1533
  return null;
1534
1534
  }
1535
- return $e = function(p, b) {
1536
- var M = typeof Symbol == "function" && Symbol.iterator, j = "@@iterator";
1537
- function S(l) {
1538
- var m = l && (M && l[M] || l[j]);
1535
+ return $e = function(p, D) {
1536
+ var M = typeof Symbol == "function" && Symbol.iterator, F = "@@iterator";
1537
+ function _(l) {
1538
+ var m = l && (M && l[M] || l[F]);
1539
1539
  if (typeof m == "function")
1540
1540
  return m;
1541
1541
  }
@@ -1547,72 +1547,72 @@ function st() {
1547
1547
  object: v("object"),
1548
1548
  string: v("string"),
1549
1549
  symbol: v("symbol"),
1550
- any: K(),
1551
- arrayOf: V,
1550
+ any: U(),
1551
+ arrayOf: ae,
1552
1552
  element: B(),
1553
- instanceOf: ue,
1554
- node: fe(),
1555
- objectOf: he,
1556
- oneOf: se,
1557
- oneOfType: le,
1558
- shape: ce,
1559
- exact: me
1553
+ instanceOf: z,
1554
+ node: se(),
1555
+ objectOf: pe,
1556
+ oneOf: fe,
1557
+ oneOfType: ue,
1558
+ shape: le,
1559
+ exact: ge
1560
1560
  };
1561
1561
  function L(l, m) {
1562
1562
  return l === m ? l !== 0 || 1 / l === 1 / m : l !== l && m !== m;
1563
1563
  }
1564
- function O(l) {
1564
+ function I(l) {
1565
1565
  this.message = l, this.stack = "";
1566
1566
  }
1567
- O.prototype = Error.prototype;
1567
+ I.prototype = Error.prototype;
1568
1568
  function W(l) {
1569
1569
  if (process.env.NODE_ENV !== "production")
1570
- var m = {}, x = 0;
1571
- function I(_, T, w, P, A, N, re) {
1572
- if (P = P || y, N = N || w, re !== i) {
1573
- if (b) {
1574
- var X = new Error(
1570
+ var m = {}, S = 0;
1571
+ function x(A, P, E, T, k, N, re) {
1572
+ if (T = T || y, N = N || E, re !== i) {
1573
+ if (D) {
1574
+ var Q = new Error(
1575
1575
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1576
1576
  );
1577
- throw X.name = "Invariant Violation", X;
1577
+ throw Q.name = "Invariant Violation", Q;
1578
1578
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1579
- var ve = P + ":" + w;
1580
- !m[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
1581
- x < 3 && (s(
1582
- "You are manually calling a React.PropTypes validation function for the `" + N + "` prop on `" + P + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1583
- ), m[ve] = !0, x++);
1579
+ var he = T + ":" + E;
1580
+ !m[he] && // Avoid spamming the console because they are often not actionable except for lib authors
1581
+ S < 3 && (s(
1582
+ "You are manually calling a React.PropTypes validation function for the `" + N + "` prop on `" + T + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1583
+ ), m[he] = !0, S++);
1584
1584
  }
1585
1585
  }
1586
- return T[w] == null ? _ ? T[w] === null ? new O("The " + A + " `" + N + "` is marked as required " + ("in `" + P + "`, but its value is `null`.")) : new O("The " + A + " `" + N + "` is marked as required in " + ("`" + P + "`, but its value is `undefined`.")) : null : l(T, w, P, A, N);
1586
+ return P[E] == null ? A ? P[E] === null ? new I("The " + k + " `" + N + "` is marked as required " + ("in `" + T + "`, but its value is `null`.")) : new I("The " + k + " `" + N + "` is marked as required in " + ("`" + T + "`, but its value is `undefined`.")) : null : l(P, E, T, k, N);
1587
1587
  }
1588
- var E = I.bind(null, !1);
1589
- return E.isRequired = I.bind(null, !0), E;
1588
+ var w = x.bind(null, !1);
1589
+ return w.isRequired = x.bind(null, !0), w;
1590
1590
  }
1591
1591
  function v(l) {
1592
- function m(x, I, E, _, T, w) {
1593
- var P = x[I], A = $(P);
1594
- if (A !== l) {
1595
- var N = ae(P);
1596
- return new O("Invalid " + _ + " `" + T + "` of type " + ("`" + N + "` supplied to `" + E + "`, expected ") + ("`" + l + "`."));
1592
+ function m(S, x, w, A, P, E) {
1593
+ var T = S[x], k = $(T);
1594
+ if (k !== l) {
1595
+ var N = q(T);
1596
+ return new I("Invalid " + A + " `" + P + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected ") + ("`" + l + "`."));
1597
1597
  }
1598
1598
  return null;
1599
1599
  }
1600
1600
  return W(m);
1601
1601
  }
1602
- function K() {
1602
+ function U() {
1603
1603
  return W(f);
1604
1604
  }
1605
- function V(l) {
1606
- function m(x, I, E, _, T) {
1605
+ function ae(l) {
1606
+ function m(S, x, w, A, P) {
1607
1607
  if (typeof l != "function")
1608
- return new O("Property `" + T + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
1609
- var w = x[I];
1610
- if (!Array.isArray(w)) {
1611
- var P = $(w);
1612
- return new O("Invalid " + _ + " `" + T + "` of type " + ("`" + P + "` supplied to `" + E + "`, expected an array."));
1608
+ return new I("Property `" + P + "` of component `" + w + "` has invalid PropType notation inside arrayOf.");
1609
+ var E = S[x];
1610
+ if (!Array.isArray(E)) {
1611
+ var T = $(E);
1612
+ return new I("Invalid " + A + " `" + P + "` of type " + ("`" + T + "` supplied to `" + w + "`, expected an array."));
1613
1613
  }
1614
- for (var A = 0; A < w.length; A++) {
1615
- var N = l(w, A, E, _, T + "[" + A + "]", i);
1614
+ for (var k = 0; k < E.length; k++) {
1615
+ var N = l(E, k, w, A, P + "[" + k + "]", i);
1616
1616
  if (N instanceof Error)
1617
1617
  return N;
1618
1618
  }
@@ -1621,48 +1621,48 @@ function st() {
1621
1621
  return W(m);
1622
1622
  }
1623
1623
  function B() {
1624
- function l(m, x, I, E, _) {
1625
- var T = m[x];
1626
- if (!p(T)) {
1627
- var w = $(T);
1628
- return new O("Invalid " + E + " `" + _ + "` of type " + ("`" + w + "` supplied to `" + I + "`, expected a single ReactElement."));
1624
+ function l(m, S, x, w, A) {
1625
+ var P = m[S];
1626
+ if (!p(P)) {
1627
+ var E = $(P);
1628
+ return new I("Invalid " + w + " `" + A + "` of type " + ("`" + E + "` supplied to `" + x + "`, expected a single ReactElement."));
1629
1629
  }
1630
1630
  return null;
1631
1631
  }
1632
1632
  return W(l);
1633
1633
  }
1634
- function ue(l) {
1635
- function m(x, I, E, _, T) {
1636
- if (!(x[I] instanceof l)) {
1637
- var w = l.name || y, P = pe(x[I]);
1638
- return new O("Invalid " + _ + " `" + T + "` of type " + ("`" + P + "` supplied to `" + E + "`, expected ") + ("instance of `" + w + "`."));
1634
+ function z(l) {
1635
+ function m(S, x, w, A, P) {
1636
+ if (!(S[x] instanceof l)) {
1637
+ var E = l.name || y, T = me(S[x]);
1638
+ return new I("Invalid " + A + " `" + P + "` of type " + ("`" + T + "` supplied to `" + w + "`, expected ") + ("instance of `" + E + "`."));
1639
1639
  }
1640
1640
  return null;
1641
1641
  }
1642
1642
  return W(m);
1643
1643
  }
1644
- function se(l) {
1644
+ function fe(l) {
1645
1645
  if (!Array.isArray(l))
1646
1646
  return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOf, expected an instance of array."), f;
1647
- function m(x, I, E, _, T) {
1648
- for (var w = x[I], P = 0; P < l.length; P++)
1649
- if (L(w, l[P]))
1647
+ function m(S, x, w, A, P) {
1648
+ for (var E = S[x], T = 0; T < l.length; T++)
1649
+ if (L(E, l[T]))
1650
1650
  return null;
1651
- var A = JSON.stringify(l);
1652
- return new O("Invalid " + _ + " `" + T + "` of value `" + w + "` " + ("supplied to `" + E + "`, expected one of " + A + "."));
1651
+ var k = JSON.stringify(l);
1652
+ return new I("Invalid " + A + " `" + P + "` of value `" + E + "` " + ("supplied to `" + w + "`, expected one of " + k + "."));
1653
1653
  }
1654
1654
  return W(m);
1655
1655
  }
1656
- function he(l) {
1657
- function m(x, I, E, _, T) {
1656
+ function pe(l) {
1657
+ function m(S, x, w, A, P) {
1658
1658
  if (typeof l != "function")
1659
- return new O("Property `" + T + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
1660
- var w = x[I], P = $(w);
1661
- if (P !== "object")
1662
- return new O("Invalid " + _ + " `" + T + "` of type " + ("`" + P + "` supplied to `" + E + "`, expected an object."));
1663
- for (var A in w)
1664
- if (w.hasOwnProperty(A)) {
1665
- var N = l(w, A, E, _, T + "." + A, i);
1659
+ return new I("Property `" + P + "` of component `" + w + "` has invalid PropType notation inside objectOf.");
1660
+ var E = S[x], T = $(E);
1661
+ if (T !== "object")
1662
+ return new I("Invalid " + A + " `" + P + "` of type " + ("`" + T + "` supplied to `" + w + "`, expected an object."));
1663
+ for (var k in E)
1664
+ if (E.hasOwnProperty(k)) {
1665
+ var N = l(E, k, w, A, P + "." + k, i);
1666
1666
  if (N instanceof Error)
1667
1667
  return N;
1668
1668
  }
@@ -1670,41 +1670,41 @@ function st() {
1670
1670
  }
1671
1671
  return W(m);
1672
1672
  }
1673
- function le(l) {
1673
+ function ue(l) {
1674
1674
  if (!Array.isArray(l))
1675
1675
  return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), f;
1676
1676
  for (var m = 0; m < l.length; m++) {
1677
- var x = l[m];
1678
- if (typeof x != "function")
1677
+ var S = l[m];
1678
+ if (typeof S != "function")
1679
1679
  return s(
1680
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Ce(x) + " at index " + m + "."
1680
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Ce(S) + " at index " + m + "."
1681
1681
  ), f;
1682
1682
  }
1683
- function I(E, _, T, w, P) {
1684
- for (var A = 0; A < l.length; A++) {
1685
- var N = l[A];
1686
- if (N(E, _, T, w, P, i) == null)
1683
+ function x(w, A, P, E, T) {
1684
+ for (var k = 0; k < l.length; k++) {
1685
+ var N = l[k];
1686
+ if (N(w, A, P, E, T, i) == null)
1687
1687
  return null;
1688
1688
  }
1689
- return new O("Invalid " + w + " `" + P + "` supplied to " + ("`" + T + "`."));
1689
+ return new I("Invalid " + E + " `" + T + "` supplied to " + ("`" + P + "`."));
1690
1690
  }
1691
- return W(I);
1691
+ return W(x);
1692
1692
  }
1693
- function fe() {
1694
- function l(m, x, I, E, _) {
1695
- return te(m[x]) ? null : new O("Invalid " + E + " `" + _ + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
1693
+ function se() {
1694
+ function l(m, S, x, w, A) {
1695
+ return X(m[S]) ? null : new I("Invalid " + w + " `" + A + "` supplied to " + ("`" + x + "`, expected a ReactNode."));
1696
1696
  }
1697
1697
  return W(l);
1698
1698
  }
1699
- function ce(l) {
1700
- function m(x, I, E, _, T) {
1701
- var w = x[I], P = $(w);
1702
- if (P !== "object")
1703
- return new O("Invalid " + _ + " `" + T + "` of type `" + P + "` " + ("supplied to `" + E + "`, expected `object`."));
1704
- for (var A in l) {
1705
- var N = l[A];
1699
+ function le(l) {
1700
+ function m(S, x, w, A, P) {
1701
+ var E = S[x], T = $(E);
1702
+ if (T !== "object")
1703
+ return new I("Invalid " + A + " `" + P + "` of type `" + T + "` " + ("supplied to `" + w + "`, expected `object`."));
1704
+ for (var k in l) {
1705
+ var N = l[k];
1706
1706
  if (N) {
1707
- var re = N(w, A, E, _, T + "." + A, i);
1707
+ var re = N(E, k, w, A, P + "." + k, i);
1708
1708
  if (re)
1709
1709
  return re;
1710
1710
  }
@@ -1713,28 +1713,28 @@ function st() {
1713
1713
  }
1714
1714
  return W(m);
1715
1715
  }
1716
- function me(l) {
1717
- function m(x, I, E, _, T) {
1718
- var w = x[I], P = $(w);
1719
- if (P !== "object")
1720
- return new O("Invalid " + _ + " `" + T + "` of type `" + P + "` " + ("supplied to `" + E + "`, expected `object`."));
1721
- var A = a({}, x[I], l);
1722
- for (var N in A) {
1716
+ function ge(l) {
1717
+ function m(S, x, w, A, P) {
1718
+ var E = S[x], T = $(E);
1719
+ if (T !== "object")
1720
+ return new I("Invalid " + A + " `" + P + "` of type `" + T + "` " + ("supplied to `" + w + "`, expected `object`."));
1721
+ var k = a({}, S[x], l);
1722
+ for (var N in k) {
1723
1723
  var re = l[N];
1724
1724
  if (!re)
1725
- return new O(
1726
- "Invalid " + _ + " `" + T + "` key `" + N + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(x[I], null, " ") + `
1725
+ return new I(
1726
+ "Invalid " + A + " `" + P + "` key `" + N + "` supplied to `" + w + "`.\nBad object: " + JSON.stringify(S[x], null, " ") + `
1727
1727
  Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
1728
1728
  );
1729
- var X = re(w, N, E, _, T + "." + N, i);
1730
- if (X)
1731
- return X;
1729
+ var Q = re(E, N, w, A, P + "." + N, i);
1730
+ if (Q)
1731
+ return Q;
1732
1732
  }
1733
1733
  return null;
1734
1734
  }
1735
1735
  return W(m);
1736
1736
  }
1737
- function te(l) {
1737
+ function X(l) {
1738
1738
  switch (typeof l) {
1739
1739
  case "number":
1740
1740
  case "string":
@@ -1744,20 +1744,20 @@ Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
1744
1744
  return !l;
1745
1745
  case "object":
1746
1746
  if (Array.isArray(l))
1747
- return l.every(te);
1747
+ return l.every(X);
1748
1748
  if (l === null || p(l))
1749
1749
  return !0;
1750
- var m = S(l);
1750
+ var m = _(l);
1751
1751
  if (m) {
1752
- var x = m.call(l), I;
1752
+ var S = m.call(l), x;
1753
1753
  if (m !== l.entries) {
1754
- for (; !(I = x.next()).done; )
1755
- if (!te(I.value))
1754
+ for (; !(x = S.next()).done; )
1755
+ if (!X(x.value))
1756
1756
  return !1;
1757
1757
  } else
1758
- for (; !(I = x.next()).done; ) {
1759
- var E = I.value;
1760
- if (E && !te(E[1]))
1758
+ for (; !(x = S.next()).done; ) {
1759
+ var w = x.value;
1760
+ if (w && !X(w[1]))
1761
1761
  return !1;
1762
1762
  }
1763
1763
  } else
@@ -1767,14 +1767,14 @@ Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
1767
1767
  return !1;
1768
1768
  }
1769
1769
  }
1770
- function U(l, m) {
1770
+ function we(l, m) {
1771
1771
  return l === "symbol" || m["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && m instanceof Symbol;
1772
1772
  }
1773
1773
  function $(l) {
1774
1774
  var m = typeof l;
1775
- return Array.isArray(l) ? "array" : l instanceof RegExp ? "object" : U(m, l) ? "symbol" : m;
1775
+ return Array.isArray(l) ? "array" : l instanceof RegExp ? "object" : we(m, l) ? "symbol" : m;
1776
1776
  }
1777
- function ae(l) {
1777
+ function q(l) {
1778
1778
  if (typeof l > "u" || l === null)
1779
1779
  return "" + l;
1780
1780
  var m = $(l);
@@ -1787,7 +1787,7 @@ Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
1787
1787
  return m;
1788
1788
  }
1789
1789
  function Ce(l) {
1790
- var m = ae(l);
1790
+ var m = q(l);
1791
1791
  switch (m) {
1792
1792
  case "array":
1793
1793
  case "object":
@@ -1800,7 +1800,7 @@ Valid keys: ` + JSON.stringify(Object.keys(l), null, " ")
1800
1800
  return m;
1801
1801
  }
1802
1802
  }
1803
- function pe(l) {
1803
+ function me(l) {
1804
1804
  return !l.constructor || !l.constructor.name ? y : l.constructor.name;
1805
1805
  }
1806
1806
  return H.checkPropTypes = e, H.PropTypes = H, H;
@@ -1814,7 +1814,7 @@ function ct() {
1814
1814
  function i() {
1815
1815
  }
1816
1816
  return Ze = function() {
1817
- function e(p, b, M, j, S, y) {
1817
+ function e(p, D, M, F, _, y) {
1818
1818
  if (y !== a) {
1819
1819
  var H = new Error(
1820
1820
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
@@ -1861,7 +1861,7 @@ function dt() {
1861
1861
  return Ne.exports;
1862
1862
  }
1863
1863
  var pt = dt();
1864
- const k = /* @__PURE__ */ $n(pt), gt = "#949494", mt = "DatePicker-module_inputMaxWidthSmall_cRYaK", ht = "DatePicker-module_inputMaxWidthDefault_GbIO-", vt = "DatePicker-module_inputMaxWidthLarge_fZKFi", yt = "DatePicker-module_input_3VHte", Dt = "DatePicker-module_inputWrapper_aqoyL", bt = "DatePicker-module_inputWrapperCompact_-7CrL", wt = "DatePicker-module_iconButton_19a6e", Ct = "DatePicker-module_clearButton_O1D31", z = {
1864
+ const O = /* @__PURE__ */ $n(pt), gt = "#949494", mt = "DatePicker-module_inputMaxWidthSmall_cRYaK", ht = "DatePicker-module_inputMaxWidthDefault_GbIO-", vt = "DatePicker-module_inputMaxWidthLarge_fZKFi", yt = "DatePicker-module_input_3VHte", Dt = "DatePicker-module_inputWrapper_aqoyL", bt = "DatePicker-module_inputWrapperCompact_-7CrL", wt = "DatePicker-module_iconButton_19a6e", Ct = "DatePicker-module_clearButton_O1D31", G = {
1865
1865
  systemGray3: gt,
1866
1866
  inputMaxWidthSmall: mt,
1867
1867
  inputMaxWidthDefault: ht,
@@ -1877,154 +1877,158 @@ const k = /* @__PURE__ */ $n(pt), gt = "#949494", mt = "DatePicker-module_inputM
1877
1877
  let Mt = 0;
1878
1878
  function xn({
1879
1879
  attachTo: a,
1880
- compact: i,
1881
- inputMaxWidth: e,
1882
- defaultDate: s,
1883
- disabled: f,
1884
- error: p,
1885
- fullWidth: b,
1886
- id: M,
1887
- helperText: j,
1888
- optionalLabelText: S,
1889
- label: y,
1890
- mode: H,
1891
- onChange: L,
1892
- onOpen: O,
1893
- onClose: W,
1894
- showClearButton: v,
1895
- showIcon: K,
1896
- firstSelectableDate: V,
1897
- lastSelectableDate: B,
1898
- dateFormat: ue = "F j, Y",
1899
- allowInput: se,
1900
- tooltip: he,
1901
- "data-testid": le,
1902
- flatpickrRef: fe,
1903
- placeholder: ce,
1904
- calendarContainerClass: me,
1905
- plugins: te = []
1880
+ position: i,
1881
+ compact: e,
1882
+ inputMaxWidth: s,
1883
+ defaultDate: f,
1884
+ disabled: p,
1885
+ error: D,
1886
+ fullWidth: M,
1887
+ id: F,
1888
+ helperText: _,
1889
+ optionalLabelText: y,
1890
+ label: H,
1891
+ mode: L,
1892
+ onChange: I,
1893
+ onOpen: W,
1894
+ onClose: v,
1895
+ showClearButton: U,
1896
+ showIcon: ae,
1897
+ firstSelectableDate: B,
1898
+ lastSelectableDate: z,
1899
+ dateFormat: fe = "F j, Y",
1900
+ allowInput: pe,
1901
+ tooltip: ue,
1902
+ "data-testid": se,
1903
+ flatpickrRef: le,
1904
+ placeholder: ge,
1905
+ calendarContainerClass: X,
1906
+ plugins: we = [],
1907
+ value: $
1906
1908
  }) {
1907
- var l, m;
1908
- const U = Ae.useRef(), $ = !!((m = (l = U == null ? void 0 : U.current) == null ? void 0 : l.input) != null && m.value), ae = xe(
1909
- xe(_e.input, z.input, {
1910
- [_e["input--compact"]]: i,
1911
- [_e["input--disabled"]]: f,
1912
- [_e["input--error"]]: p
1909
+ var S, x;
1910
+ const q = Ae.useRef(), Ce = !!((x = (S = q == null ? void 0 : q.current) == null ? void 0 : S.input) != null && x.value), me = xe(
1911
+ xe(_e.input, G.input, {
1912
+ [_e["input--compact"]]: e,
1913
+ [_e["input--disabled"]]: p,
1914
+ [_e["input--error"]]: D
1913
1915
  })
1914
1916
  );
1915
1917
  Ae.useEffect(() => {
1916
- U.current && (U.current.input.nextSibling.id = M, U.current.input.nextSibling.autocomplete = "off", fe && (fe.current = U.current));
1918
+ q.current && (q.current.input.nextSibling.id = F, q.current.input.nextSibling.autocomplete = "off", le && (le.current = q.current));
1917
1919
  }, []), Ae.useEffect(() => {
1918
- U.current.input.nextSibling.className = ae;
1919
- }, [i, f, p, f]);
1920
- const Ce = Ae.useMemo(() => {
1921
- if (!V && !B)
1920
+ q.current.input.nextSibling.className = me;
1921
+ }, [e, p, D, p]);
1922
+ const l = Ae.useMemo(() => {
1923
+ if (!B && !z)
1922
1924
  return;
1923
- const x = Pe(V), I = Pe(B), E = Pe(s);
1924
- return (_) => {
1925
- const T = Pe(_);
1926
- if (T.isSame(E, "day"))
1925
+ const w = Pe(B), A = Pe(z), P = Pe(f);
1926
+ return (E) => {
1927
+ const T = Pe(E);
1928
+ if (T.isSame(P, "day"))
1927
1929
  return !1;
1928
- let w = !0;
1929
- return V && T.isBefore(x, "day") && (w = !1), B && T.isAfter(I, "day") && (w = !1), !w;
1930
+ let k = !0;
1931
+ return B && T.isBefore(w, "day") && (k = !1), z && T.isAfter(A, "day") && (k = !1), !k;
1930
1932
  };
1931
- }, [s, V, B]);
1932
- let pe;
1933
- switch (e) {
1933
+ }, [f, B, z]);
1934
+ let m;
1935
+ switch (s) {
1934
1936
  case "small":
1935
- pe = z.inputMaxWidthSmall;
1937
+ m = G.inputMaxWidthSmall;
1936
1938
  break;
1937
1939
  case "large":
1938
- pe = z.inputMaxWidthLarge;
1940
+ m = G.inputMaxWidthLarge;
1939
1941
  break;
1940
1942
  default:
1941
- pe = z.inputMaxWidthDefault;
1943
+ m = G.inputMaxWidthDefault;
1942
1944
  }
1943
1945
  return /* @__PURE__ */ ie.jsx(
1944
1946
  Zn,
1945
1947
  {
1946
- tooltip: he,
1948
+ tooltip: ue,
1947
1949
  wrapperClassNames: xe({
1948
- [pe]: !b
1950
+ [m]: !M
1949
1951
  }),
1950
- label: y,
1951
- helperText: j,
1952
- optionalLabelText: S,
1953
- disabled: f,
1954
- error: p,
1955
- inputId: M,
1956
- fullWidth: b,
1952
+ label: H,
1953
+ helperText: _,
1954
+ optionalLabelText: y,
1955
+ disabled: p,
1956
+ error: D,
1957
+ inputId: F,
1958
+ fullWidth: M,
1957
1959
  renderControl: () => /* @__PURE__ */ ie.jsx(
1958
1960
  lt,
1959
1961
  {
1960
1962
  options: {
1961
- allowInput: se,
1962
- altFormat: ue,
1963
+ allowInput: pe,
1964
+ altFormat: fe,
1963
1965
  altInput: !0,
1964
- altInputClass: ae,
1966
+ altInputClass: me,
1965
1967
  appendTo: a || void 0,
1968
+ position: i || "auto",
1966
1969
  dateFormat: "Z",
1967
- mode: H,
1970
+ mode: L,
1968
1971
  wrap: !0,
1969
- defaultDate: s,
1970
- disable: [Ce],
1971
- plugins: te
1972
+ defaultDate: f,
1973
+ disable: [l],
1974
+ plugins: we
1972
1975
  },
1973
- onCreate: (x) => {
1974
- U.current = x, me && (U.current.calendarContainer.className = xe(
1975
- U.current.calendarContainer.className,
1976
- me
1976
+ onCreate: (w) => {
1977
+ q.current = w, X && (q.current.calendarContainer.className = xe(
1978
+ q.current.calendarContainer.className,
1979
+ X
1977
1980
  ));
1978
1981
  },
1979
- onChange: L,
1980
- onOpen: O,
1981
- onClose: W,
1982
+ onChange: I,
1983
+ onOpen: W,
1984
+ onClose: v,
1985
+ value: $,
1982
1986
  children: /* @__PURE__ */ ie.jsxs(
1983
1987
  "div",
1984
1988
  {
1985
- "data-testid": le,
1986
- className: xe(z.inputWrapper, {
1987
- [z["inputWrapper--error"]]: p,
1988
- [z["inputWrapper--disabled"]]: f,
1989
- [z.inputWrapperCompact]: i
1989
+ "data-testid": se,
1990
+ className: xe(G.inputWrapper, {
1991
+ [G["inputWrapper--error"]]: D,
1992
+ [G["inputWrapper--disabled"]]: p,
1993
+ [G.inputWrapperCompact]: e
1990
1994
  }),
1991
1995
  children: [
1992
1996
  /* @__PURE__ */ ie.jsx(
1993
1997
  "input",
1994
1998
  {
1995
- className: z.inputElement,
1999
+ className: G.inputElement,
1996
2000
  "data-input": !0,
1997
- defaultValue: s,
2001
+ defaultValue: f,
1998
2002
  "data-testid": "date-picker-input",
1999
- placeholder: ce
2003
+ placeholder: ge
2000
2004
  }
2001
2005
  ),
2002
- K && /* @__PURE__ */ ie.jsx("div", { className: z.iconButton, "data-toggle": !0, children: /* @__PURE__ */ ie.jsx("div", { className: z.iconWrapper, children: /* @__PURE__ */ ie.jsx(
2006
+ ae && /* @__PURE__ */ ie.jsx("div", { className: G.iconButton, "data-toggle": !0, children: /* @__PURE__ */ ie.jsx("div", { className: G.iconWrapper, children: /* @__PURE__ */ ie.jsx(
2003
2007
  cn,
2004
2008
  {
2005
2009
  icon: "calendar",
2006
2010
  variant: "thin",
2007
2011
  size: 24,
2008
- color: z.systemGray3
2012
+ color: G.systemGray3
2009
2013
  }
2010
2014
  ) }) }),
2011
2015
  // istanbul ignore next - relies on the lifecycle hooks in Flatpickr, which doesn't play nicely with unit tests
2012
- v && $ && /* @__PURE__ */ ie.jsx(
2016
+ U && Ce && /* @__PURE__ */ ie.jsx(
2013
2017
  "button",
2014
2018
  {
2015
- className: z.clearButton,
2019
+ className: G.clearButton,
2016
2020
  onClick: () => {
2017
- U.current.clear();
2021
+ q.current.clear();
2018
2022
  },
2019
2023
  "data-testid": "data-picker-clear-button",
2020
2024
  title: "Clear",
2021
- children: /* @__PURE__ */ ie.jsx("div", { className: z.iconWrapper, children: /* @__PURE__ */ ie.jsx(
2025
+ children: /* @__PURE__ */ ie.jsx("div", { className: G.iconWrapper, children: /* @__PURE__ */ ie.jsx(
2022
2026
  cn,
2023
2027
  {
2024
2028
  icon: "close",
2025
2029
  variant: "thin",
2026
2030
  size: 12,
2027
- color: z.systemGray3
2031
+ color: G.systemGray3
2028
2032
  }
2029
2033
  ) })
2030
2034
  }
@@ -2038,42 +2042,42 @@ function xn({
2038
2042
  );
2039
2043
  }
2040
2044
  xn.propTypes = {
2041
- attachTo: k.node,
2042
- allowInput: k.bool,
2043
- inputMaxWidth: k.oneOf(["small", "default", "large"]),
2044
- compact: k.bool,
2045
- disabled: k.bool,
2046
- defaultDate: k.oneOfType([
2047
- k.instanceOf(Date),
2048
- k.arrayOf(k.instanceOf(Date)),
2049
- k.string
2045
+ attachTo: O.node,
2046
+ allowInput: O.bool,
2047
+ inputMaxWidth: O.oneOf(["small", "default", "large"]),
2048
+ compact: O.bool,
2049
+ disabled: O.bool,
2050
+ defaultDate: O.oneOfType([
2051
+ O.instanceOf(Date),
2052
+ O.arrayOf(O.instanceOf(Date)),
2053
+ O.string
2050
2054
  ]),
2051
- error: k.oneOfType([k.string, k.bool]),
2052
- fullWidth: k.bool,
2053
- id: k.string,
2054
- firstSelectableDate: k.oneOfType([
2055
- k.instanceOf(Date),
2056
- k.string
2055
+ error: O.oneOfType([O.string, O.bool]),
2056
+ fullWidth: O.bool,
2057
+ id: O.string,
2058
+ firstSelectableDate: O.oneOfType([
2059
+ O.instanceOf(Date),
2060
+ O.string
2057
2061
  ]),
2058
- helperText: k.string,
2059
- optionalLabelText: k.string,
2060
- label: k.string,
2061
- lastSelectableDate: k.oneOfType([
2062
- k.instanceOf(Date),
2063
- k.string
2062
+ helperText: O.string,
2063
+ optionalLabelText: O.string,
2064
+ label: O.string,
2065
+ lastSelectableDate: O.oneOfType([
2066
+ O.instanceOf(Date),
2067
+ O.string
2064
2068
  ]),
2065
- mode: k.oneOf(["single", "multiple", "range"]),
2066
- onChange: k.func.isRequired,
2067
- onOpen: k.func,
2068
- onClose: k.func,
2069
- showClearButton: k.bool,
2070
- showIcon: k.bool,
2071
- dateFormat: k.string,
2072
- tooltip: k.node,
2073
- flatpickrRef: k.object,
2074
- "data-testid": k.string,
2075
- placeholder: k.string,
2076
- plugins: k.array
2069
+ mode: O.oneOf(["single", "multiple", "range"]),
2070
+ onChange: O.func.isRequired,
2071
+ onOpen: O.func,
2072
+ onClose: O.func,
2073
+ showClearButton: O.bool,
2074
+ showIcon: O.bool,
2075
+ dateFormat: O.string,
2076
+ tooltip: O.node,
2077
+ flatpickrRef: O.object,
2078
+ "data-testid": O.string,
2079
+ placeholder: O.string,
2080
+ plugins: O.array
2077
2081
  };
2078
2082
  xn.defaultProps = {
2079
2083
  attachTo: null,