@alfadocs/ui-kit 1.50.1 → 1.52.0

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 (597) hide show
  1. package/dist/_chunks/{actions-cell-renderer-DMittsR3.js → actions-cell-renderer-DhmUGzRY.js} +5 -5
  2. package/dist/_chunks/{address-autocomplete-Dp5uMvKP.js → address-autocomplete-BVLoHU3E.js} +3 -3
  3. package/dist/_chunks/{address-fields-QfC-N3pw.js → address-fields-UiEXHxEX.js} +9 -9
  4. package/dist/_chunks/{agenda-card-CjjxlA9K.js → agenda-card-CakEvwnM.js} +4 -4
  5. package/dist/_chunks/{agenda-tray-BhZASyJm.js → agenda-tray-C-_iu6Fo.js} +5 -5
  6. package/dist/_chunks/{ai-credits-notice-C-kz_RrY.js → ai-credits-notice-Da0fJPXO.js} +5 -5
  7. package/dist/_chunks/{ai-permission-notice-BRZeS3mT.js → ai-permission-notice-C5q_uHBA.js} +7 -7
  8. package/dist/_chunks/{ai-prompt-input-CxvnXsAs.js → ai-prompt-input-IObcUWqB.js} +5 -5
  9. package/dist/_chunks/{alert-CiQ5Pa3Q.js → alert-BhCstf2h.js} +3 -3
  10. package/dist/_chunks/{alia-sidebar-Dx-oeOV2.js → alia-sidebar-DyQMsyiz.js} +23 -23
  11. package/dist/_chunks/{anamnesis-card-D8Si-2GV.js → anamnesis-card-D4RWzQXP.js} +5 -5
  12. package/dist/_chunks/{anamnesis-summary-card-DPyScUMM.js → anamnesis-summary-card-Bv0CZ-mk.js} +3 -3
  13. package/dist/_chunks/anamnesis-summary-rows-DaSoA80I.js +20926 -0
  14. package/dist/_chunks/{annotation-marker-CsUJGZjQ.js → annotation-marker-D-M7y4R1.js} +2 -2
  15. package/dist/_chunks/{antenatal-schedule-timeline-8fm3vPSV.js → antenatal-schedule-timeline-BZzgjfyd.js} +13 -13
  16. package/dist/_chunks/{app-frame-DIEMIC5V.js → app-frame-Cos-GSfw.js} +5 -5
  17. package/dist/_chunks/{appointment-card-BgLpE6T5.js → appointment-card-CA2ynsmN.js} +8 -8
  18. package/dist/_chunks/{appointment-peek-Dk11UOVW.js → appointment-peek-DpPzeYXm.js} +6 -6
  19. package/dist/_chunks/{appointment-timeline-wQ-PdkFV.js → appointment-timeline-BZErHbD1.js} +7 -7
  20. package/dist/_chunks/{appointment-tray-D7Gt6m8x.js → appointment-tray-DR_Zm4Gw.js} +10 -10
  21. package/dist/_chunks/{appointment-workflow-status-CS8ufF1f.js → appointment-workflow-status-DrWCNLbB.js} +2 -2
  22. package/dist/_chunks/{ar-BR1FGFP2.js → ar-pLopgMbL.js} +12 -12
  23. package/dist/_chunks/{audio-recorder-DZBtAvLH.js → audio-recorder-BafA28cX.js} +7 -7
  24. package/dist/_chunks/{audio-visualiser-l6zPd0AG.js → audio-visualiser-CK2JyQW1.js} +2 -2
  25. package/dist/_chunks/{autocomplete-DSasZUf6.js → autocomplete-IfLaXwyb.js} +3 -3
  26. package/dist/_chunks/{avatar-BVvjKNTp.js → avatar-DYtwj1-R.js} +2 -2
  27. package/dist/_chunks/{badge-BAkd6_Pj.js → badge-hnBt8o7n.js} +6 -6
  28. package/dist/_chunks/{balance-badge-cell-klaxFNL_.js → balance-badge-cell-CS-iKkLM.js} +8 -8
  29. package/dist/_chunks/{bishop-score-BMLRvXYF.js → bishop-score-BfDsm9HH.js} +6 -6
  30. package/dist/_chunks/{bmi-calculator-DUhRyyrA.js → bmi-calculator-BNtmMzQy.js} +6 -6
  31. package/dist/_chunks/{booking-Cdzd8kyY.js → booking-DP543-BT.js} +43 -42
  32. package/dist/_chunks/{breadcrumb-D3boYzD4.js → breadcrumb-xgVpPH2H.js} +4 -4
  33. package/dist/_chunks/{button-18oBsI3n.js → button-CYPx2xFq.js} +38 -36
  34. package/dist/_chunks/{button-group-BSDqso_C.js → button-group-DnSR6eN6.js} +30 -30
  35. package/dist/_chunks/{calculator-dialog-C0ixc3SU.js → calculator-dialog-BRjZMWuE.js} +2 -2
  36. package/dist/_chunks/calendar-BwF5nQuW.js +1469 -0
  37. package/dist/_chunks/{calendar-event-card-DyFSIehr.js → calendar-event-card-DXAYWH6k.js} +2 -2
  38. package/dist/_chunks/calendar-workspace-B9MKJXER.js +10608 -0
  39. package/dist/_chunks/{care-plan-card-ciBaaguw.js → care-plan-card-BanlKJZn.js} +8 -8
  40. package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js → care-plan-entry-card-ByqT84_P.js} +9 -9
  41. package/dist/_chunks/{care-plan-header-DKV1gLqv.js → care-plan-header-BwfUHMgM.js} +6 -6
  42. package/dist/_chunks/{carousel.agent-DqDGR2yH.js → carousel.agent-WKODAYVw.js} +6 -6
  43. package/dist/_chunks/{chart-VjuXDXOZ.js → chart-CuE30cfr.js} +4 -4
  44. package/dist/_chunks/{chat-container-CYYego1W.js → chat-container-CAfyTxat.js} +3 -3
  45. package/dist/_chunks/{chat-input-BVho_SqP.js → chat-input-DA10w969.js} +3 -3
  46. package/dist/_chunks/{chat-message-B4ihjNy3.js → chat-message-DoMjMa-M.js} +6 -6
  47. package/dist/_chunks/{checkbox-group-DomUzpkF.js → checkbox-group-C7czpHmJ.js} +2 -2
  48. package/dist/_chunks/{city-input-BGYc4lRV.js → city-input-CAnTVgBZ.js} +10 -10
  49. package/dist/_chunks/{clinical-note-card-B7s5BtEl.js → clinical-note-card-kvlUrmP-.js} +6 -6
  50. package/dist/_chunks/{code-block-C_eNHWaa.js → code-block-NtHjtagI.js} +6 -6
  51. package/dist/_chunks/{color-picker-Bl5f0iK1.js → color-picker-Yl99lHuF.js} +3 -3
  52. package/dist/_chunks/{combobox-B_rLwmSv.js → combobox-Iel8y3u6.js} +2 -2
  53. package/dist/_chunks/{command-palette-DhgGo7GJ.js → command-palette-D9TBzmOG.js} +4 -4
  54. package/dist/_chunks/{connection-status-Cfux3TvH.js → connection-status-Dz8o-Fui.js} +5 -5
  55. package/dist/_chunks/{contact-card-0hnFJwrz.js → contact-card-D2gXrxlL.js} +12 -12
  56. package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js → contact-profile-card-B7cXr8g5.js} +5 -5
  57. package/dist/_chunks/{control-room-rail-DAO0qfOI.js → control-room-rail-B446rHSL.js} +4 -4
  58. package/dist/_chunks/{copy-field-Cm4y5Bff.js → copy-field-CiIuVbKe.js} +3 -3
  59. package/dist/_chunks/{country-select-C5jZjO8O.js → country-select-BYa4BrEi.js} +3 -3
  60. package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js → cycle-calculator-D_5f9VSN.js} +10 -10
  61. package/dist/_chunks/{dashboard-grid-uX7x1ePj.js → dashboard-grid-DWNP02Ff.js} +4 -4
  62. package/dist/_chunks/data-table-DJvEwZZx.js +1989 -0
  63. package/dist/_chunks/{data-table-tabs-CzYYKp2_.js → data-table-tabs-Dc6zvoI_.js} +6 -6
  64. package/dist/_chunks/{date-picker-6tFnKFty.js → date-picker-p9yz3pxc.js} +83 -80
  65. package/dist/_chunks/{date-picker-variants-B9NLAfUK.js → date-picker-variants-B3AFKDSu.js} +706 -658
  66. package/dist/_chunks/{date-range-picker-TpmECKRh.js → date-range-picker-DIy8gNY0.js} +153 -150
  67. package/dist/_chunks/{date-time-picker-DijEae25.js → date-time-picker-C3UVzqOm.js} +86 -77
  68. package/dist/_chunks/{de-3iM4rGqo.js → de-lVkJRPnh.js} +5 -5
  69. package/dist/_chunks/{dependent-selector-58hTg5rB.js → dependent-selector-CPiolWiw.js} +4 -4
  70. package/dist/_chunks/{description-list-1A2DEbE6.js → description-list-9rchqp5q.js} +3 -3
  71. package/dist/_chunks/{dialog-BJiLqhx6.js → dialog-D52AI4nF.js} +2 -2
  72. package/dist/_chunks/{document-preview-Od2Hz4z5.js → document-preview-1CZJg6CX.js} +6 -6
  73. package/dist/_chunks/{document-scanner-p0aGlzCy.js → document-scanner-T5jHiraQ.js} +5 -5
  74. package/dist/_chunks/dropdown-menu-B5mgV1kV.js +594 -0
  75. package/dist/_chunks/{due-date-calculator-BVqJaxzd.js → due-date-calculator-iJXm6HOj.js} +11 -11
  76. package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js → editable-currency-cell-renderer-DdMHme5y.js} +9 -9
  77. package/dist/_chunks/{editable-description-B4NVdjvd.js → editable-description-Cy3AZ5K2.js} +4 -4
  78. package/dist/_chunks/{editor-overlay-BDiBvQmL.js → editor-overlay-C0awV6ba.js} +3 -3
  79. package/dist/_chunks/{el-C96rGJvU.js → el-CHzxNWPj.js} +6 -6
  80. package/dist/_chunks/{email-input-Dpe63k0K.js → email-input-ebdovOmh.js} +3 -3
  81. package/dist/_chunks/{empty-state-DTBZ1ENT.js → empty-state-DActfjdn.js} +3 -3
  82. package/dist/_chunks/en-GB-CwxYmmhU.js +45 -0
  83. package/dist/_chunks/{entity-summary-CFJfBdVP.js → entity-summary-oW3_jFhU.js} +8 -8
  84. package/dist/_chunks/{error-boundary-BxTqEXqj.js → error-boundary--w5hYiQ-.js} +3 -3
  85. package/dist/_chunks/{es-Cxiqjx8r.js → es-Ck-oxbHW.js} +8 -8
  86. package/dist/_chunks/{face-scheme-fku-RShg.js → face-scheme-Dg7KcbW2.js} +11 -11
  87. package/dist/_chunks/{fetal-weight-B69yOS9W.js → fetal-weight-BoIkl2t1.js} +6 -6
  88. package/dist/_chunks/{field-array-lIXrFWS0.js → field-array-BF2nCmvt.js} +4 -4
  89. package/dist/_chunks/{file-manager-C6QQPQV5.js → file-manager-BGHShxn_.js} +21 -21
  90. package/dist/_chunks/{file-upload-B242a_Y1.js → file-upload-OMlGHz70.js} +2 -2
  91. package/dist/_chunks/{finished-terminal-B2oqXO0Y.js → finished-terminal-BguGAUdg.js} +3 -3
  92. package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js → fiscal-code-input-CuuE8_dt.js} +3 -3
  93. package/dist/_chunks/{floating-action-button-pojvb9gG.js → floating-action-button-BesoUmO_.js} +6 -6
  94. package/dist/_chunks/{form-field-CahJzTxp.js → form-field-YUJl_U5l.js} +2 -2
  95. package/dist/_chunks/{format-4HNwNGrN.js → format-D-1gTdHF.js} +47 -43
  96. package/dist/_chunks/{fr-Bhr6SYKj.js → fr-fWRnDcSD.js} +13 -13
  97. package/dist/_chunks/{freemium-paywall-B6JITu4l.js → freemium-paywall-BhxKSEJD.js} +5 -5
  98. package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js → gestational-age-calculator-CjZ7v-8x.js} +13 -13
  99. package/dist/_chunks/{hcg-doubling-D2SH-e7t.js → hcg-doubling-BYMogA0e.js} +15 -15
  100. package/dist/_chunks/{header-CCjp5GvE.js → header-CzJbtTGQ.js} +5 -5
  101. package/dist/_chunks/header-settings-BqdBe4zk.js +305 -0
  102. package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js → help-me-write-templates-CGCyhAVE.js} +17 -17
  103. package/dist/_chunks/{hi-BxXX26d_.js → hi-B5uX0h3V.js} +14 -14
  104. package/dist/_chunks/{hover-card-BplP5SzQ.js → hover-card-DEMPFs9M.js} +3 -3
  105. package/dist/_chunks/{iban-input-DXIA8Ln_.js → iban-input-D88HRGZo.js} +2 -2
  106. package/dist/_chunks/{icon-button-CY7GU_Se.js → icon-button-JAXAkqWC.js} +2 -2
  107. package/dist/_chunks/{icon-button-group-B_426QN_.js → icon-button-group-DHRz90jY.js} +4 -4
  108. package/dist/_chunks/{icon-picker-ZLebyB0U.js → icon-picker-C5Fhx1-3.js} +5 -5
  109. package/dist/_chunks/{image-cropper-_HiNN79d.js → image-cropper-CNBGkG7P.js} +3 -3
  110. package/dist/_chunks/{info-tip-laBxZhKu.js → info-tip-DfmEvyAF.js} +3 -3
  111. package/dist/_chunks/{insert-result-CSuPQyKL.js → insert-result-BuWQl11Z.js} +3 -3
  112. package/dist/_chunks/intl-locale-CXM-B8EP.js +16 -0
  113. package/dist/_chunks/{isSameWeek-B73MagWB.js → isSameWeek-u81Z-J7h.js} +2 -2
  114. package/dist/_chunks/{it-Xmjomvyj.js → it-DBoNIelY.js} +17 -17
  115. package/dist/_chunks/{ja-mfZvt1ZV.js → ja-Du8gfg8p.js} +6 -6
  116. package/dist/_chunks/{kbd-D855ZXIW.js → kbd-BLovyx1R.js} +2 -2
  117. package/dist/_chunks/{key-value-pair-Dcdl3Gni.js → key-value-pair-DZH8ESsc.js} +3 -3
  118. package/dist/_chunks/{kit-extensions-BTJSnM_H.js → kit-extensions-CF5mDF_Z.js} +6 -6
  119. package/dist/_chunks/{link-CPb_pZPr.js → link-BlVUIKk1.js} +2 -2
  120. package/dist/_chunks/{link-cell-renderer-CkNbUsBM.js → link-cell-renderer-DvcbSHyp.js} +12 -12
  121. package/dist/_chunks/{list-DgE1xWBM.js → list-RRN2TJ_7.js} +2 -2
  122. package/dist/_chunks/{locale-picker-DGkQmhV9.js → locale-picker-DYDppQdZ.js} +218 -213
  123. package/dist/_chunks/{map-view-Bb7ClKSF.js → map-view-CmNGS6Ok.js} +4 -4
  124. package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js → marketplace-app-shell-rd1bSSm4.js} +137 -128
  125. package/dist/_chunks/{message-card-C2zsvyj0.js → message-card-Dub3790J.js} +6 -6
  126. package/dist/_chunks/{message-tray-CMlmxdH2.js → message-tray-CTd6CsnG.js} +6 -6
  127. package/dist/_chunks/{money-BXLBIRVO.js → money-GypsuFk2.js} +2 -2
  128. package/dist/_chunks/{multi-select-N4Smh-gj.js → multi-select-Bx0_cgPI.js} +2 -2
  129. package/dist/_chunks/{muscle-scheme-Co0NIgbU.js → muscle-scheme-X2bdmsQt.js} +4 -4
  130. package/dist/_chunks/{nav-grid-gRudLsPX.js → nav-grid-BnY0Ilet.js} +2 -2
  131. package/dist/_chunks/{navigation-menu-D3VndouD.js → navigation-menu-DbaSlvdO.js} +25 -25
  132. package/dist/_chunks/{nl-DDs-KEnD.js → nl-BCBwxYi8.js} +9 -9
  133. package/dist/_chunks/{note-attachment-CGjNTrAC.js → note-attachment-CpPRIfSn.js} +4 -4
  134. package/dist/_chunks/{note-timeline-CVnKL0p6.js → note-timeline-CZUmobcn.js} +3 -3
  135. package/dist/_chunks/{notes-panel-xxpFt-I1.js → notes-panel-CPfxz-1j.js} +10 -10
  136. package/dist/_chunks/{notification-card-DDzBCi8l.js → notification-card-B39g86vM.js} +13 -13
  137. package/dist/_chunks/{notification-tray-PnH2PBlZ.js → notification-tray-WsP7c1jf.js} +6 -6
  138. package/dist/_chunks/{number-input-Cgu2TtA8.js → number-input-BLrx3utH.js} +2 -2
  139. package/dist/_chunks/{operator-hero-DyrNLoRO.js → operator-hero-BnBPxwOi.js} +10 -10
  140. package/dist/_chunks/{optical-prescription-DUufWXfZ.js → optical-prescription-x--Rpmmx.js} +6 -6
  141. package/dist/_chunks/{otp-input-DzBQ-CpE.js → otp-input-Dz8WMg4F.js} +2 -2
  142. package/dist/_chunks/{pagination-B0N2qGy_.js → pagination-CzEkpfti.js} +6 -6
  143. package/dist/_chunks/{panel-subview-CzHutkA8.js → panel-subview-DAY-ToM3.js} +2 -2
  144. package/dist/_chunks/{parse-DPqj4JtD.js → parse-DeDYl04y.js} +32 -32
  145. package/dist/_chunks/{parseISO-fOGpHKXm.js → parseISO-y3LncvfO.js} +2 -2
  146. package/dist/_chunks/{patient-details-tTlvrJSU.js → patient-details-BSAMAd3I.js} +6 -6
  147. package/dist/_chunks/{patient-field-row-DElFbpKc.js → patient-field-row-dUF2cW2G.js} +288 -268
  148. package/dist/_chunks/{patient-search-DgXdGkhK.js → patient-search-CXl0FNfN.js} +14 -14
  149. package/dist/_chunks/{patient-summary-card-DQ__6DR-.js → patient-summary-card-DF-Mxcma.js} +10 -10
  150. package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js → payment-automation-upsell-DNiraNhF.js} +6 -6
  151. package/dist/_chunks/{payment-form-DqJFiplX.js → payment-form-DxsjXYHJ.js} +6 -6
  152. package/dist/_chunks/{payment-request-card-DMJB57Tv.js → payment-request-card-BFsmHLtf.js} +8 -8
  153. package/dist/_chunks/{pdf-viewer-DUKdn5iq.js → pdf-viewer-hzfM5pZf.js} +6 -6
  154. package/dist/_chunks/{periodontal-chart-DbGzKDj7.js → periodontal-chart-Bvii6uOg.js} +3 -3
  155. package/dist/_chunks/{periodontal-chart-card-DvHyP47v.js → periodontal-chart-card-DTbvFQO7.js} +4 -4
  156. package/dist/_chunks/{periodontal-diagnosis-B8WqI0eU.js → periodontal-diagnosis-BqEo0usu.js} +3 -3
  157. package/dist/_chunks/{periodontal-risk-chart-DsFRFFSz.js → periodontal-risk-chart-C1Y5f-md.js} +3 -3
  158. package/dist/_chunks/{permission-matrix-VdAXjjHU.js → permission-matrix-DHKECaNW.js} +3 -3
  159. package/dist/_chunks/{phone-input-sQj-zi59.js → phone-input-opMMHkyh.js} +2 -2
  160. package/dist/_chunks/{pl-BYYMnEWP.js → pl-HwLM6gPs.js} +7 -7
  161. package/dist/_chunks/{popover-Dvb40vPH.js → popover-CGYPYIVi.js} +3 -3
  162. package/dist/_chunks/{position-grid-CcvqHaKN.js → position-grid-D2D5_Tze.js} +2 -2
  163. package/dist/_chunks/{postal-code-input-BznBxVxf.js → postal-code-input-Dv02t5MD.js} +3 -3
  164. package/dist/_chunks/{practice-profile-hero-B-WcJYNH.js → practice-profile-hero-Bc3AyBiM.js} +4 -4
  165. package/dist/_chunks/{practice-results-EKRiqWtQ.js → practice-results-DjhcggtZ.js} +29 -29
  166. package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js → pregnancy-dating-CcPxK3S3.js} +14 -14
  167. package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js → pregnancy-weight-gain-tGbbravi.js} +6 -6
  168. package/dist/_chunks/{privacy-lock-D6gq0GDg.js → privacy-lock-Bh4O7Y7g.js} +17 -17
  169. package/dist/_chunks/{privacy-mask-BC5lw2zB.js → privacy-mask-noG15O9q.js} +24 -24
  170. package/dist/_chunks/{product-hub-panel-CKeSCSeE.js → product-hub-panel-BmBzDba9.js} +24 -24
  171. package/dist/_chunks/{progress-CK8otcQ-.js → progress-TIAsNHQW.js} +4 -4
  172. package/dist/_chunks/{province-select-BiszMRRY.js → province-select-BZtM0RSR.js} +3 -3
  173. package/dist/_chunks/{pt-BSPnVrQ7.js → pt-BxhT5ZQH.js} +10 -10
  174. package/dist/_chunks/{public-footer.agent-BKkK3T3V.js → public-footer.agent-CVYmHY94.js} +4 -4
  175. package/dist/_chunks/{public-header.agent-B9wDmUeB.js → public-header.agent-1mcrQqIM.js} +4 -4
  176. package/dist/_chunks/{qr-code-DOJs4suh.js → qr-code-C3m9o7om.js} +2 -2
  177. package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js → radiograph-panel.agent-BP71J_VB.js} +14 -14
  178. package/dist/_chunks/{rating-BYbUowdK.js → rating-C1Vrmpsi.js} +2 -2
  179. package/dist/_chunks/{recaptcha-widget-BC-4To9b.js → recaptcha-widget-BNAeSTCo.js} +2 -2
  180. package/dist/_chunks/{resizable-DVGcfOrk.js → resizable-BKkNmZCl.js} +2 -2
  181. package/dist/_chunks/resource-chip-DQeCJzJf.js +143 -0
  182. package/dist/_chunks/{reviews-panel-BdwFp_0c.js → reviews-panel-DDb_t7vy.js} +8 -8
  183. package/dist/_chunks/rich-text-editor-C7N4Cem6.js +4231 -0
  184. package/dist/_chunks/{ro-BbiylGmG.js → ro-Do9W55ae.js} +2 -2
  185. package/dist/_chunks/{ru-BX_qsV67.js → ru-PDBX5gdf.js} +13 -13
  186. package/dist/_chunks/{search-bar-6bHatpYJ.js → search-bar-Blq_QeSe.js} +4 -4
  187. package/dist/_chunks/{search-input-B7GmlPIE.js → search-input-DfsAu3P2.js} +4 -4
  188. package/dist/_chunks/{select-upNAltly.js → select-Br88h070.js} +2 -2
  189. package/dist/_chunks/{session-countdown-ACJyTXH2.js → session-countdown-DWUVDDox.js} +4 -4
  190. package/dist/_chunks/{sheet-D0Lh0KR2.js → sheet-BE6oi30q.js} +3 -3
  191. package/dist/_chunks/{sidebar-DbZXLl8h.js → sidebar-2GBc0ZUa.js} +7 -7
  192. package/dist/_chunks/{sign-document-CRQuAn4W.js → sign-document-Buw-zC_7.js} +4 -4
  193. package/dist/_chunks/{sign-in-with-alfadocs-button-CDyJAIzW.js → sign-in-with-alfadocs-button-Bd4VPGQh.js} +4 -4
  194. package/dist/_chunks/{signature-capture-D6ut9_IR.js → signature-capture-F6KViBF_.js} +2 -2
  195. package/dist/_chunks/{signature-field-0rFODJlW.js → signature-field-DBIGiY-J.js} +3 -3
  196. package/dist/_chunks/{signature-request-BUGeG8oD.js → signature-request-DqZkn-iB.js} +156 -156
  197. package/dist/_chunks/{signature-status-chip-Dz6sS2oA.js → signature-status-chip-DP3qRijv.js} +3 -3
  198. package/dist/_chunks/{skip-link-BaSMtPwB.js → skip-link-BOQzBUVb.js} +2 -2
  199. package/dist/_chunks/{slider-DN1CWkKB.js → slider-BRq2lL-l.js} +2 -2
  200. package/dist/_chunks/{slot-grid-4fWH3Euk.js → slot-grid-Bkg9MVXP.js} +7 -7
  201. package/dist/_chunks/{smart-date-CsPlilQA.js → smart-date-pYK6WmM_.js} +2 -2
  202. package/dist/_chunks/{social-sign-in-button-dlpPI5l7.js → social-sign-in-button-Bb2UQpsA.js} +8 -8
  203. package/dist/_chunks/{sparkline-Dx_sxK3J.js → sparkline-ZOxMBU76.js} +3 -3
  204. package/dist/_chunks/{spinner-hbwuKwMf.js → spinner-DxjSZLD-.js} +2 -2
  205. package/dist/_chunks/{sq-i9UOk4P7.js → sq-DnvsgyIh.js} +6 -6
  206. package/dist/_chunks/{stat-Bs80Z6Yv.js → stat-Ce9ymEKm.js} +3 -3
  207. package/dist/_chunks/{stepper-accordion-jMR8NaOB.js → stepper-accordion-BPNS6J6B.js} +2 -2
  208. package/dist/_chunks/{stepper-progress-Bv0njx4g.js → stepper-progress-D6H8wQiV.js} +2 -2
  209. package/dist/_chunks/{streaming-text-eRiizArc.js → streaming-text-D0IJeRBg.js} +2 -2
  210. package/dist/_chunks/subDays-XBMBTVOO.js +8 -0
  211. package/dist/_chunks/{suggestion-chip-Bk4PmYTg.js → suggestion-chip-BNRWZL51.js} +2 -2
  212. package/dist/_chunks/{sv-CpTdtmDQ.js → sv-CpFSK8xS.js} +4 -4
  213. package/dist/_chunks/{switch-OILsBLWo.js → switch-DXGD2Drz.js} +2 -2
  214. package/dist/_chunks/{tab-bar-BHFf6knq.js → tab-bar-DRKiomgj.js} +4 -4
  215. package/dist/_chunks/tabs-DLXVEDsa.js +413 -0
  216. package/dist/_chunks/{tag-B65tLWvD.js → tag-CS5cXpfx.js} +2 -2
  217. package/dist/_chunks/{task-card-jaOhnj_q.js → task-card-CngF4Zee.js} +3 -3
  218. package/dist/_chunks/{task-editor-DlvTwAfv.js → task-editor-Dz93rRXg.js} +18 -18
  219. package/dist/_chunks/{task-tray-HHyxi9ga.js → task-tray-CB6_BvH9.js} +5 -5
  220. package/dist/_chunks/{tasks-panel-DbSjq_mz.js → tasks-panel-DHAoTQtR.js} +11 -11
  221. package/dist/_chunks/{text-area-Bt3p7Pt0.js → text-area-Cjtw7mna.js} +2 -2
  222. package/dist/_chunks/{text-input-CUvCb6ST.js → text-input-CLaItY93.js} +2 -2
  223. package/dist/_chunks/{theme-toggle-LUBxlNDm.js → theme-toggle-Byg0x2vB.js} +10 -10
  224. package/dist/_chunks/{time-picker-D0RS391l.js → time-picker-BG7G3ujX.js} +2 -2
  225. package/dist/_chunks/{timeline-ChY7iZrs.js → timeline-CVLjybJ3.js} +4 -4
  226. package/dist/_chunks/{timestamp-BV2lC-wV.js → timestamp-DPLDWdxA.js} +2 -2
  227. package/dist/_chunks/{toast-CT8hjr9r.js → toast-6wbpghjF.js} +3 -3
  228. package/dist/_chunks/{token-insert-menu-klwbxVKh.js → token-insert-menu-DgtBIbNu.js} +3 -3
  229. package/dist/_chunks/{tool-rail-DEeX4PdN.js → tool-rail-CXcLzxPb.js} +4 -4
  230. package/dist/_chunks/{tooth-finding-palette-vqC-D2Ye.js → tooth-finding-palette-DNQ3G2Tz.js} +2 -2
  231. package/dist/_chunks/{tooth-scheme-BkjhkI8g.js → tooth-scheme-BLbwUVer.js} +663 -718
  232. package/dist/_chunks/{tr-DXG2QN1K.js → tr-DW4oQYHT.js} +5 -5
  233. package/dist/_chunks/{transaction-chip-CwgcJiqF.js → transaction-chip-CohY6sTA.js} +6 -6
  234. package/dist/_chunks/{transcript-panel-u2HHxZB6.js → transcript-panel-Dve7bsm7.js} +3 -3
  235. package/dist/_chunks/{treatment-receipt-C-gWZ6uv.js → treatment-receipt-DF2Slh-x.js} +5 -5
  236. package/dist/_chunks/{typing-indicator-DHeVN4ob.js → typing-indicator-BmwMQSxw.js} +9 -9
  237. package/dist/_chunks/{unit-converter-Dp_KDxE6.js → unit-converter-D8WnJbZm.js} +6 -6
  238. package/dist/_chunks/use-appointment-details-read-YsuJgYeB.js +2198 -0
  239. package/dist/_chunks/{use-edge-resize-BHesP0kg.js → use-edge-resize-DHbyQwu8.js} +15 -15
  240. package/dist/_chunks/use-locale-BExNy9Dl.js +16 -0
  241. package/dist/_chunks/{use-password-requirements-Bwtqx1qN.js → use-password-requirements-DK4hV1Ik.js} +4 -4
  242. package/dist/_chunks/{variables-menu-aJLKJ_cu.js → variables-menu-DQl8H4Gh.js} +2 -2
  243. package/dist/_chunks/{wallet-pay-button--dnR6NfJ.js → wallet-pay-button-C-GFl7RO.js} +3 -3
  244. package/dist/_chunks/{warning-stack-CEgYkI1z.js → warning-stack-CzKSeB5v.js} +5 -5
  245. package/dist/_chunks/{whatsapp-button-Ai4YAVkl.js → whatsapp-button-DV9JFmtq.js} +2 -2
  246. package/dist/_chunks/{widget-picker-CilQvcNL.js → widget-picker-b5NCHxFe.js} +28 -28
  247. package/dist/_chunks/{workflow-map-qGkQTNvS.js → workflow-map-C7fHKTXL.js} +17 -17
  248. package/dist/_chunks/{workflow-status-ClHfz4Kr.js → workflow-status-DDnsIrLt.js} +4 -4
  249. package/dist/_chunks/{zh-CN-vPkPEK6H.js → zh-CN-QGEs29fQ.js} +7 -7
  250. package/dist/agent-catalog.json +103 -38
  251. package/dist/agent-i18n/en.json +7 -4
  252. package/dist/components/_shared/date-locale.d.ts +2 -2
  253. package/dist/components/_shared/day-picker-labels.d.ts +6 -0
  254. package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
  255. package/dist/components/_shared/intl-locale.d.ts +10 -0
  256. package/dist/components/address-autocomplete/index.js +1 -1
  257. package/dist/components/address-fields/index.js +1 -1
  258. package/dist/components/agenda-card/index.js +1 -1
  259. package/dist/components/agenda-tray/index.js +1 -1
  260. package/dist/components/ai-credits-notice/index.js +1 -1
  261. package/dist/components/ai-permission-notice/index.js +1 -1
  262. package/dist/components/ai-prompt-input/index.js +1 -1
  263. package/dist/components/alert/index.js +1 -1
  264. package/dist/components/anamnesis-card/index.js +1 -1
  265. package/dist/components/anamnesis-summary-card/anamnesis-summary-card.d.ts +1 -1
  266. package/dist/components/anamnesis-summary-card/index.js +1 -1
  267. package/dist/components/annotation-marker/index.js +1 -1
  268. package/dist/components/app-frame/index.js +1 -1
  269. package/dist/components/appointment-card/index.js +2 -2
  270. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +3 -0
  271. package/dist/components/appointment-details-panel/appointment-details-panel.history.d.ts +19 -5
  272. package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +6 -2
  273. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +51 -1
  274. package/dist/components/appointment-details-panel/index.d.ts +1 -1
  275. package/dist/components/appointment-details-panel/index.js +1 -1
  276. package/dist/components/appointment-peek/index.js +1 -1
  277. package/dist/components/appointment-timeline/index.js +1 -1
  278. package/dist/components/audio-recorder/index.js +1 -1
  279. package/dist/components/audio-visualiser/index.js +1 -1
  280. package/dist/components/autocomplete/index.js +1 -1
  281. package/dist/components/avatar/index.js +1 -1
  282. package/dist/components/badge/index.js +1 -1
  283. package/dist/components/bishop-score/index.js +1 -1
  284. package/dist/components/bmi-calculator/index.js +1 -1
  285. package/dist/components/booking/index.js +1 -1
  286. package/dist/components/breadcrumb/index.js +1 -1
  287. package/dist/components/button/button.d.ts +11 -0
  288. package/dist/components/button/icon-button.d.ts +4 -0
  289. package/dist/components/button/index.js +2 -2
  290. package/dist/components/button-group/index.js +1 -1
  291. package/dist/components/calculator-dialog/index.js +1 -1
  292. package/dist/components/calendar/calendar-locale.d.ts +5 -0
  293. package/dist/components/calendar/calendar.d.ts +6 -4
  294. package/dist/components/calendar/index.js +1 -1
  295. package/dist/components/calendar-event-card/index.js +1 -1
  296. package/dist/components/care-plan-card/index.js +1 -1
  297. package/dist/components/care-plan-entry-card/index.js +1 -1
  298. package/dist/components/care-plan-header/index.js +1 -1
  299. package/dist/components/carousel/index.js +1 -1
  300. package/dist/components/chart/chart.d.ts +1 -1
  301. package/dist/components/chart/index.js +1 -1
  302. package/dist/components/chat-container/index.js +1 -1
  303. package/dist/components/chat-input/index.js +1 -1
  304. package/dist/components/chat-message/index.js +1 -1
  305. package/dist/components/checkbox-group/index.js +1 -1
  306. package/dist/components/city-input/index.js +1 -1
  307. package/dist/components/clinical-note-card/index.js +1 -1
  308. package/dist/components/color-picker/index.js +1 -1
  309. package/dist/components/combobox/index.js +1 -1
  310. package/dist/components/command-palette/index.js +1 -1
  311. package/dist/components/connection-status/index.js +1 -1
  312. package/dist/components/contact-card/index.js +1 -1
  313. package/dist/components/contact-profile-card/index.js +1 -1
  314. package/dist/components/control-room-rail/index.js +1 -1
  315. package/dist/components/copy-field/index.js +1 -1
  316. package/dist/components/country-select/index.js +1 -1
  317. package/dist/components/cycle-calculator/index.js +1 -1
  318. package/dist/components/dashboard-grid/index.js +1 -1
  319. package/dist/components/data-table/ag-grid-locale.d.ts +5 -0
  320. package/dist/components/data-table/index.js +4 -4
  321. package/dist/components/data-table-tabs/index.js +1 -1
  322. package/dist/components/date-picker/index.js +1 -1
  323. package/dist/components/date-range-picker/index.js +1 -1
  324. package/dist/components/date-time-picker/index.js +1 -1
  325. package/dist/components/dependent-selector/index.js +1 -1
  326. package/dist/components/description-list/index.js +1 -1
  327. package/dist/components/dialog/index.js +1 -1
  328. package/dist/components/document-preview/index.js +1 -1
  329. package/dist/components/document-scanner/index.js +1 -1
  330. package/dist/components/dropdown-menu/dropdown-menu.d.ts +52 -2
  331. package/dist/components/dropdown-menu/index.d.ts +1 -1
  332. package/dist/components/dropdown-menu/index.js +1 -1
  333. package/dist/components/due-date-calculator/index.js +2 -2
  334. package/dist/components/editable-description/index.js +1 -1
  335. package/dist/components/editor-overlay/index.js +1 -1
  336. package/dist/components/email-input/index.js +1 -1
  337. package/dist/components/empty-state/index.js +1 -1
  338. package/dist/components/entity-summary/index.js +1 -1
  339. package/dist/components/error-boundary/index.js +1 -1
  340. package/dist/components/face-scheme/index.js +1 -1
  341. package/dist/components/fetal-weight/index.js +1 -1
  342. package/dist/components/field-array/index.js +1 -1
  343. package/dist/components/file-manager/index.js +1 -1
  344. package/dist/components/file-upload/index.js +1 -1
  345. package/dist/components/finished-terminal/index.js +1 -1
  346. package/dist/components/fiscal-code-input/index.js +1 -1
  347. package/dist/components/floating-action-button/index.js +1 -1
  348. package/dist/components/form-field/index.js +1 -1
  349. package/dist/components/freemium-paywall/index.js +1 -1
  350. package/dist/components/gestational-age-calculator/index.js +1 -1
  351. package/dist/components/hcg-doubling/hcg.d.ts +1 -1
  352. package/dist/components/hcg-doubling/index.js +1 -1
  353. package/dist/components/header/index.js +1 -1
  354. package/dist/components/header-settings/header-settings.d.ts +3 -3
  355. package/dist/components/header-settings/index.js +1 -1
  356. package/dist/components/hover-card/index.js +1 -1
  357. package/dist/components/iban-input/index.js +1 -1
  358. package/dist/components/icon-button/index.js +1 -1
  359. package/dist/components/icon-button-group/index.js +1 -1
  360. package/dist/components/icon-picker/index.js +1 -1
  361. package/dist/components/image-cropper/index.js +1 -1
  362. package/dist/components/info-tip/index.js +1 -1
  363. package/dist/components/kbd/index.js +1 -1
  364. package/dist/components/key-value-pair/index.js +1 -1
  365. package/dist/components/link/index.js +1 -1
  366. package/dist/components/list/index.js +1 -1
  367. package/dist/components/locale-picker/index.js +1 -1
  368. package/dist/components/locale-picker/locale-picker.d.ts +7 -0
  369. package/dist/components/map-view/index.js +1 -1
  370. package/dist/components/message-card/index.js +1 -1
  371. package/dist/components/message-tray/index.js +1 -1
  372. package/dist/components/money/index.js +1 -1
  373. package/dist/components/multi-select/index.js +1 -1
  374. package/dist/components/muscle-scheme/index.js +1 -1
  375. package/dist/components/nav-grid/index.js +1 -1
  376. package/dist/components/navigation-menu/index.js +2 -2
  377. package/dist/components/note-timeline/index.js +1 -1
  378. package/dist/components/notes-panel/index.js +1 -1
  379. package/dist/components/notification-card/index.js +1 -1
  380. package/dist/components/notification-tray/index.js +1 -1
  381. package/dist/components/number-input/index.js +1 -1
  382. package/dist/components/operator-hero/index.js +1 -1
  383. package/dist/components/operator-hero/operator-hero.d.ts +1 -1
  384. package/dist/components/optical-prescription/index.js +1 -1
  385. package/dist/components/otp-input/index.js +1 -1
  386. package/dist/components/pagination/index.js +1 -1
  387. package/dist/components/panel-subview/index.js +1 -1
  388. package/dist/components/password-input/index.js +1 -1
  389. package/dist/components/patient-details/index.js +1 -1
  390. package/dist/components/patient-details/patient-details.d.ts +1 -1
  391. package/dist/components/patient-search/index.js +1 -1
  392. package/dist/components/patient-summary-card/index.js +1 -1
  393. package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
  394. package/dist/components/patient-table/index.js +1 -1
  395. package/dist/components/payment-card/index.js +1 -1
  396. package/dist/components/payment-form/index.js +1 -1
  397. package/dist/components/pdf-viewer/index.js +1 -1
  398. package/dist/components/periodontal-chart/index.js +1 -1
  399. package/dist/components/periodontal-chart-card/index.js +1 -1
  400. package/dist/components/periodontal-diagnosis/index.js +1 -1
  401. package/dist/components/periodontal-risk-chart/index.js +1 -1
  402. package/dist/components/permission-matrix/index.js +1 -1
  403. package/dist/components/phone-input/index.js +1 -1
  404. package/dist/components/popover/index.js +1 -1
  405. package/dist/components/position-grid/index.js +1 -1
  406. package/dist/components/postal-code-input/index.js +1 -1
  407. package/dist/components/practice-profile-hero/index.js +1 -1
  408. package/dist/components/practice-results/index.js +1 -1
  409. package/dist/components/pregnancy-dating/index.js +1 -1
  410. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  411. package/dist/components/privacy-lock/index.js +1 -1
  412. package/dist/components/product-hub-tray/index.js +1 -1
  413. package/dist/components/progress/index.js +1 -1
  414. package/dist/components/province-select/index.js +1 -1
  415. package/dist/components/public-footer/index.js +1 -1
  416. package/dist/components/public-header/index.js +1 -1
  417. package/dist/components/qr-code/index.js +1 -1
  418. package/dist/components/radiograph-panel/index.js +1 -1
  419. package/dist/components/rating/index.js +1 -1
  420. package/dist/components/recaptcha-widget/index.js +1 -1
  421. package/dist/components/resizable/index.js +1 -1
  422. package/dist/components/resource-chip/index.d.ts +1 -1
  423. package/dist/components/resource-chip/index.js +3 -2
  424. package/dist/components/resource-chip/resource-chip.d.ts +20 -0
  425. package/dist/components/reviews-panel/index.js +1 -1
  426. package/dist/components/rich-text-editor/index.js +2 -2
  427. package/dist/components/rich-text-editor/redactor-locale.d.ts +4 -0
  428. package/dist/components/rich-text-editor/rich-text-editor.d.ts +8 -3
  429. package/dist/components/search-bar/index.js +1 -1
  430. package/dist/components/search-input/index.js +1 -1
  431. package/dist/components/select/index.js +1 -1
  432. package/dist/components/session-countdown/index.js +1 -1
  433. package/dist/components/sheet/index.js +1 -1
  434. package/dist/components/sidebar/index.js +1 -1
  435. package/dist/components/sign-document/index.js +1 -1
  436. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  437. package/dist/components/signature-capture/index.js +1 -1
  438. package/dist/components/signature-field/index.js +1 -1
  439. package/dist/components/signature-status-chip/index.js +1 -1
  440. package/dist/components/skeleton-scheme/index.js +3 -3
  441. package/dist/components/skip-link/index.js +1 -1
  442. package/dist/components/skip-link/skip-link.d.ts +1 -1
  443. package/dist/components/slider/index.js +1 -1
  444. package/dist/components/slot-grid/index.js +1 -1
  445. package/dist/components/smart-date/index.js +1 -1
  446. package/dist/components/smart-date/smart-date.d.ts +1 -1
  447. package/dist/components/social-sign-in-button/index.js +1 -1
  448. package/dist/components/sparkline/index.js +1 -1
  449. package/dist/components/spinner/index.js +1 -1
  450. package/dist/components/stat/index.js +1 -1
  451. package/dist/components/stepper-accordion/index.js +1 -1
  452. package/dist/components/stepper-progress/index.js +1 -1
  453. package/dist/components/streaming-text/index.js +1 -1
  454. package/dist/components/suggestion-chip/index.js +1 -1
  455. package/dist/components/switch/index.js +1 -1
  456. package/dist/components/tab-bar/index.js +1 -1
  457. package/dist/components/tabs/index.js +1 -1
  458. package/dist/components/tag/index.js +1 -1
  459. package/dist/components/task-card/index.js +1 -1
  460. package/dist/components/task-editor/index.js +1 -1
  461. package/dist/components/task-tray/index.js +1 -1
  462. package/dist/components/tasks-panel/index.js +1 -1
  463. package/dist/components/text-area/index.js +1 -1
  464. package/dist/components/text-input/index.js +1 -1
  465. package/dist/components/theme-toggle/index.js +1 -1
  466. package/dist/components/time-picker/index.js +1 -1
  467. package/dist/components/timeline/index.js +1 -1
  468. package/dist/components/timestamp/index.js +1 -1
  469. package/dist/components/toast/index.js +1 -1
  470. package/dist/components/token-insert-menu/index.js +1 -1
  471. package/dist/components/tool-rail/index.js +1 -1
  472. package/dist/components/tooth-finding-palette/index.js +1 -1
  473. package/dist/components/tooth-scheme/index.js +1 -1
  474. package/dist/components/tooth-scheme/tooth-scheme.d.ts +2 -2
  475. package/dist/components/transaction-chip/index.js +1 -1
  476. package/dist/components/transcript-panel/index.js +1 -1
  477. package/dist/components/treatment-receipt/index.js +1 -1
  478. package/dist/components/typing-indicator/index.js +1 -1
  479. package/dist/components/unit-converter/index.js +1 -1
  480. package/dist/components/variables-menu/index.js +1 -1
  481. package/dist/components/wallet-pay-button/index.js +1 -1
  482. package/dist/components/warning-stack/index.js +1 -1
  483. package/dist/components/whatsapp-button/index.js +1 -1
  484. package/dist/components/widget-picker/index.js +1 -1
  485. package/dist/components/workflow/index.js +1 -1
  486. package/dist/components/workflow/workflow-card.d.ts +1 -1
  487. package/dist/components/workflow-status/index.js +2 -2
  488. package/dist/hooks/index.js +2 -2
  489. package/dist/hooks/use-locale.d.ts +2 -16
  490. package/dist/i18n/config.d.ts +17 -13
  491. package/dist/i18n/config.js +127 -62
  492. package/dist/i18n/locale-meta.d.ts +1 -1
  493. package/dist/i18n/locales/ar.d.ts +915 -660
  494. package/dist/i18n/locales/ar.js +916 -665
  495. package/dist/i18n/locales/de.d.ts +722 -479
  496. package/dist/i18n/locales/de.js +723 -484
  497. package/dist/i18n/locales/el.d.ts +965 -722
  498. package/dist/i18n/locales/el.js +965 -726
  499. package/dist/i18n/locales/en.d.ts +308 -65
  500. package/dist/i18n/locales/en.js +309 -70
  501. package/dist/i18n/locales/es.d.ts +787 -541
  502. package/dist/i18n/locales/es.js +788 -546
  503. package/dist/i18n/locales/fr.d.ts +730 -484
  504. package/dist/i18n/locales/fr.js +731 -489
  505. package/dist/i18n/locales/hi.d.ts +875 -632
  506. package/dist/i18n/locales/hi.js +876 -637
  507. package/dist/i18n/locales/it.d.ts +937 -691
  508. package/dist/i18n/locales/it.js +943 -696
  509. package/dist/i18n/locales/ja.d.ts +698 -455
  510. package/dist/i18n/locales/ja.js +699 -460
  511. package/dist/i18n/locales/nl.d.ts +723 -480
  512. package/dist/i18n/locales/nl.js +724 -485
  513. package/dist/i18n/locales/pl.d.ts +1019 -770
  514. package/dist/i18n/locales/pl.js +1019 -774
  515. package/dist/i18n/locales/pt.d.ts +811 -562
  516. package/dist/i18n/locales/pt.js +812 -567
  517. package/dist/i18n/locales/ro.d.ts +1060 -814
  518. package/dist/i18n/locales/ro.js +1061 -819
  519. package/dist/i18n/locales/ru.d.ts +1037 -788
  520. package/dist/i18n/locales/ru.js +1032 -787
  521. package/dist/i18n/locales/sq.d.ts +1288 -1045
  522. package/dist/i18n/locales/sq.js +1288 -1049
  523. package/dist/i18n/locales/sv.d.ts +809 -566
  524. package/dist/i18n/locales/sv.js +810 -571
  525. package/dist/i18n/locales/tr.d.ts +768 -525
  526. package/dist/i18n/locales/tr.js +769 -530
  527. package/dist/i18n/locales/zh.d.ts +756 -513
  528. package/dist/i18n/locales/zh.js +757 -518
  529. package/dist/i18n/registerUiBundle.d.ts +3 -2
  530. package/dist/i18n/resources.d.ts +2 -7
  531. package/dist/i18n/supported-locales.d.ts +8 -0
  532. package/dist/index.js +552 -551
  533. package/dist/locales/ar.json +920 -665
  534. package/dist/locales/de.json +727 -484
  535. package/dist/locales/el.json +970 -727
  536. package/dist/locales/en.json +313 -70
  537. package/dist/locales/es.json +792 -546
  538. package/dist/locales/fr.json +735 -489
  539. package/dist/locales/hi.json +880 -637
  540. package/dist/locales/it.json +942 -696
  541. package/dist/locales/ja.json +703 -460
  542. package/dist/locales/nl.json +728 -485
  543. package/dist/locales/pl.json +1024 -775
  544. package/dist/locales/pt.json +816 -567
  545. package/dist/locales/ro.json +1065 -819
  546. package/dist/locales/ru.json +1042 -793
  547. package/dist/locales/sq.json +1293 -1050
  548. package/dist/locales/sv.json +814 -571
  549. package/dist/locales/tr.json +773 -530
  550. package/dist/locales/zh.json +761 -518
  551. package/dist/patterns/alia-assistant/index.js +1 -1
  552. package/dist/patterns/anamnesis/anamnesis-format.d.ts +1 -1
  553. package/dist/patterns/anamnesis/anamnesis-i18n.d.ts +3 -2
  554. package/dist/patterns/anamnesis/index.js +1 -1
  555. package/dist/patterns/anamnesis/locales/ar.d.ts +776 -0
  556. package/dist/patterns/anamnesis/locales/de.d.ts +740 -0
  557. package/dist/patterns/anamnesis/locales/el.d.ts +740 -0
  558. package/dist/patterns/anamnesis/locales/en.d.ts +740 -0
  559. package/dist/patterns/anamnesis/locales/es.d.ts +749 -0
  560. package/dist/patterns/anamnesis/locales/fr.d.ts +749 -0
  561. package/dist/patterns/anamnesis/locales/hi.d.ts +740 -0
  562. package/dist/patterns/anamnesis/locales/it.d.ts +749 -0
  563. package/dist/patterns/anamnesis/locales/ja.d.ts +740 -0
  564. package/dist/patterns/anamnesis/locales/nl.d.ts +740 -0
  565. package/dist/patterns/anamnesis/locales/pl.d.ts +758 -0
  566. package/dist/patterns/anamnesis/locales/pt.d.ts +758 -0
  567. package/dist/patterns/anamnesis/locales/ro.d.ts +749 -0
  568. package/dist/patterns/anamnesis/locales/ru.d.ts +758 -0
  569. package/dist/patterns/anamnesis/locales/sq.d.ts +740 -0
  570. package/dist/patterns/anamnesis/locales/sv.d.ts +740 -0
  571. package/dist/patterns/anamnesis/locales/tr.d.ts +740 -0
  572. package/dist/patterns/anamnesis/locales/zh.d.ts +740 -0
  573. package/dist/patterns/calendar/calendar-appointment-details.d.ts +4 -1
  574. package/dist/patterns/calendar/calendar-workspace.d.ts +5 -0
  575. package/dist/patterns/calendar/calendar.sheets.d.ts +4 -1
  576. package/dist/patterns/calendar/calendar.surface.d.ts +4 -1
  577. package/dist/patterns/calendar/calendar.types.d.ts +3 -1
  578. package/dist/patterns/calendar/index.d.ts +1 -1
  579. package/dist/patterns/calendar/index.js +1 -1
  580. package/dist/patterns/help-me-write-templates/index.js +1 -1
  581. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  582. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  583. package/dist/patterns/signature-request/index.js +1 -1
  584. package/dist/tokens.css +6 -2
  585. package/package.json +12 -2
  586. package/dist/_chunks/anamnesis-summary-rows-CZirLRuv.js +0 -9416
  587. package/dist/_chunks/calendar-E6Yu4lzC.js +0 -1381
  588. package/dist/_chunks/calendar-workspace-DjbGFjg1.js +0 -10584
  589. package/dist/_chunks/data-table-CrI3_bjH.js +0 -1824
  590. package/dist/_chunks/dropdown-menu-C8PaW3lR.js +0 -369
  591. package/dist/_chunks/header-settings-ZXa6hXuu.js +0 -335
  592. package/dist/_chunks/resource-chip-DYTG0IQQ.js +0 -83
  593. package/dist/_chunks/rich-text-editor-y6ML0KeV.js +0 -4154
  594. package/dist/_chunks/subDays-HPvBuvq3.js +0 -8
  595. package/dist/_chunks/tabs-CFsuMQ5H.js +0 -409
  596. package/dist/_chunks/use-appointment-details-read-5-hV-2xA.js +0 -2045
  597. package/dist/_chunks/use-locale-BkCIHujH.js +0 -20
@@ -1,10 +1,48 @@
1
- import m, { createContext as ln, useContext as cn, useCallback as G, useRef as be, useLayoutEffect as un, useState as Me, useEffect as dt, useMemo as pe } from "react";
2
- import { t as B, c as V, n as De, o as hn, x as fe, f as le, d as ft, v as lt, u as ct, C as mn, b as yn, l as gn, r as vn, s as bn, D as pn } from "./format-4HNwNGrN.js";
3
- import { jsx as Xe } from "react/jsx-runtime";
4
- import { C as Mn } from "./chevron-left-B8cOyH-V.js";
5
- import { C as Dn } from "./chevron-right-I9AeSxH2.js";
1
+ import m, { useMemo as he, createContext as cn, useContext as un, useCallback as G, useRef as ke, useLayoutEffect as hn, useState as De, useEffect as lt } from "react";
2
+ import { useTranslation as mn } from "react-i18next";
3
+ import { f as yn } from "./intl-locale-CXM-B8EP.js";
4
+ import { t as B, c as R, n as Oe, u as gn, B as le, f as fe, j as ft, z as ct, y as ut, G as bn, b as vn, r as pn, x as Mn, s as kn, H as Dn } from "./format-D-1gTdHF.js";
5
+ import { jsx as Le } from "react/jsx-runtime";
6
+ import { C as On } from "./chevron-left-B8cOyH-V.js";
7
+ import { C as wn } from "./chevron-right-I9AeSxH2.js";
6
8
  import { c as ne } from "./index-D2ZczOXr.js";
7
- function kn(e, t, r = "long") {
9
+ function xs() {
10
+ const { t: e, i18n: t } = mn("ui");
11
+ return he(
12
+ () => Wn(e, t.language),
13
+ [e, t.language]
14
+ );
15
+ }
16
+ function Wn(e, t) {
17
+ const r = yn(t), n = new Intl.DateTimeFormat(r, {
18
+ calendar: "gregory",
19
+ dateStyle: "full"
20
+ }), s = new Intl.DateTimeFormat(r, {
21
+ calendar: "gregory",
22
+ month: "long",
23
+ year: "numeric"
24
+ }), o = new Intl.DateTimeFormat(r, { weekday: "long" }), a = new Intl.NumberFormat(r), i = (d, l) => {
25
+ const f = n.format(d);
26
+ return l ? e("inputs.datePicker.todayDate", { date: f }) : f;
27
+ };
28
+ return {
29
+ labelNext: () => e("inputs.datePicker.nextMonth"),
30
+ labelPrevious: () => e("inputs.datePicker.previousMonth"),
31
+ labelMonthDropdown: () => e("inputs.datePicker.chooseMonth"),
32
+ labelYearDropdown: () => e("inputs.datePicker.chooseYear"),
33
+ labelNav: () => e("inputs.datePicker.gridLabel"),
34
+ labelDayButton: (d, l) => {
35
+ const f = i(d, l.today);
36
+ return l.selected ? e("inputs.datePicker.selectedDate", { date: f }) : f;
37
+ },
38
+ labelGridcell: (d, l) => i(d, l == null ? void 0 : l.today),
39
+ labelGrid: (d) => s.format(d),
40
+ labelWeekday: (d) => o.format(d),
41
+ labelWeekNumber: (d) => e("inputs.datePicker.weekNumber", { number: a.format(d) }),
42
+ labelWeekNumberHeader: () => e("inputs.datePicker.weekNumberHeader")
43
+ };
44
+ }
45
+ function Nn(e, t, r = "long") {
8
46
  return new Intl.DateTimeFormat("en-US", {
9
47
  // Enforces engine to render the time. Without the option JavaScriptCore omits it.
10
48
  hour: "numeric",
@@ -12,29 +50,29 @@ function kn(e, t, r = "long") {
12
50
  timeZoneName: r
13
51
  }).format(t).split(/\s/g).slice(2).join(" ");
14
52
  }
15
- const Ye = {}, ce = {};
53
+ const Ee = {}, ce = {};
16
54
  function se(e, t) {
17
55
  try {
18
- const n = (Ye[e] || (Ye[e] = new Intl.DateTimeFormat("en-US", {
56
+ const n = (Ee[e] || (Ee[e] = new Intl.DateTimeFormat("en-US", {
19
57
  timeZone: e,
20
58
  timeZoneName: "longOffset"
21
59
  }).format))(t).split("GMT")[1];
22
- return n in ce ? ce[n] : Le(n, n.split(":"));
60
+ return n in ce ? ce[n] : et(n, n.split(":"));
23
61
  } catch {
24
62
  if (e in ce) return ce[e];
25
- const r = e == null ? void 0 : e.match(On);
26
- return r ? Le(e, r.slice(1)) : NaN;
63
+ const r = e == null ? void 0 : e.match(Cn);
64
+ return r ? et(e, r.slice(1)) : NaN;
27
65
  }
28
66
  }
29
- const On = /([+-]\d\d):?(\d\d)?/;
30
- function Le(e, t) {
67
+ const Cn = /([+-]\d\d):?(\d\d)?/;
68
+ function et(e, t) {
31
69
  const r = +(t[0] || 0), n = +(t[1] || 0), s = +(t[2] || 0) / 60;
32
70
  return ce[e] = r * 60 + n > 0 ? r * 60 + n + s : r * 60 - n - s;
33
71
  }
34
72
  class J extends Date {
35
73
  //#region static
36
74
  constructor(...t) {
37
- super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(se(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), ut(this), He(this)) : this.setTime(Date.now());
75
+ super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(se(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), ht(this), je(this)) : this.setTime(Date.now());
38
76
  }
39
77
  static tz(t, ...r) {
40
78
  return r.length ? new J(...r, t) : new J(Date.now(), t);
@@ -51,7 +89,7 @@ class J extends Date {
51
89
  //#endregion
52
90
  //#region time
53
91
  setTime(t) {
54
- return Date.prototype.setTime.apply(this, arguments), He(this), +this;
92
+ return Date.prototype.setTime.apply(this, arguments), je(this), +this;
55
93
  }
56
94
  //#endregion
57
95
  //#region date-fns integration
@@ -60,39 +98,39 @@ class J extends Date {
60
98
  }
61
99
  //#endregion
62
100
  }
63
- const et = /^(get|set)(?!UTC)/;
101
+ const tt = /^(get|set)(?!UTC)/;
64
102
  Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
65
- if (!et.test(e)) return;
66
- const t = e.replace(et, "$1UTC");
103
+ if (!tt.test(e)) return;
104
+ const t = e.replace(tt, "$1UTC");
67
105
  J.prototype[t] && (e.startsWith("get") ? J.prototype[e] = function() {
68
106
  return this.internal[t]();
69
107
  } : (J.prototype[e] = function() {
70
- return Date.prototype[t].apply(this.internal, arguments), wn(this), +this;
108
+ return Date.prototype[t].apply(this.internal, arguments), Sn(this), +this;
71
109
  }, J.prototype[t] = function() {
72
- return Date.prototype[t].apply(this, arguments), He(this), +this;
110
+ return Date.prototype[t].apply(this, arguments), je(this), +this;
73
111
  }));
74
112
  });
75
- function He(e) {
113
+ function je(e) {
76
114
  e.internal.setTime(+e), e.internal.setUTCSeconds(e.internal.getUTCSeconds() - Math.round(-se(e.timeZone, e) * 60));
77
115
  }
78
- function wn(e) {
79
- Date.prototype.setFullYear.call(e, e.internal.getUTCFullYear(), e.internal.getUTCMonth(), e.internal.getUTCDate()), Date.prototype.setHours.call(e, e.internal.getUTCHours(), e.internal.getUTCMinutes(), e.internal.getUTCSeconds(), e.internal.getUTCMilliseconds()), ut(e);
116
+ function Sn(e) {
117
+ Date.prototype.setFullYear.call(e, e.internal.getUTCFullYear(), e.internal.getUTCMonth(), e.internal.getUTCDate()), Date.prototype.setHours.call(e, e.internal.getUTCHours(), e.internal.getUTCMinutes(), e.internal.getUTCSeconds(), e.internal.getUTCMilliseconds()), ht(e);
80
118
  }
81
- function ut(e) {
119
+ function ht(e) {
82
120
  const t = se(e.timeZone, e), r = t > 0 ? Math.floor(t) : Math.ceil(t), n = /* @__PURE__ */ new Date(+e);
83
121
  n.setUTCHours(n.getUTCHours() - 1);
84
122
  const s = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset(), o = -(/* @__PURE__ */ new Date(+n)).getTimezoneOffset(), a = s - o, i = Date.prototype.getHours.apply(e) !== e.internal.getUTCHours();
85
123
  a && i && e.internal.setUTCMinutes(e.internal.getUTCMinutes() + a);
86
124
  const d = s - r;
87
125
  d && Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + d);
88
- const f = /* @__PURE__ */ new Date(+e);
89
- f.setUTCSeconds(0);
90
- const l = s > 0 ? f.getSeconds() : (f.getSeconds() - 60) % 60, u = Math.round(-(se(e.timeZone, e) * 60)) % 60;
91
- (u || l) && (e.internal.setUTCSeconds(e.internal.getUTCSeconds() + u), Date.prototype.setUTCSeconds.call(e, Date.prototype.getUTCSeconds.call(e) + u + l));
92
- const y = se(e.timeZone, e), g = y > 0 ? Math.floor(y) : Math.ceil(y), W = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset() - g, D = g !== r, S = W - d;
93
- if (D && S) {
126
+ const l = /* @__PURE__ */ new Date(+e);
127
+ l.setUTCSeconds(0);
128
+ const f = s > 0 ? l.getSeconds() : (l.getSeconds() - 60) % 60, u = Math.round(-(se(e.timeZone, e) * 60)) % 60;
129
+ (u || f) && (e.internal.setUTCSeconds(e.internal.getUTCSeconds() + u), Date.prototype.setUTCSeconds.call(e, Date.prototype.getUTCSeconds.call(e) + u + f));
130
+ const y = se(e.timeZone, e), g = y > 0 ? Math.floor(y) : Math.ceil(y), W = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset() - g, k = g !== r, S = W - d;
131
+ if (k && S) {
94
132
  Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + S);
95
- const M = se(e.timeZone, e), b = M > 0 ? Math.floor(M) : Math.ceil(M), N = g - b;
133
+ const M = se(e.timeZone, e), v = M > 0 ? Math.floor(M) : Math.ceil(M), N = g - v;
96
134
  N && (e.internal.setUTCMinutes(e.internal.getUTCMinutes() + N), Date.prototype.setUTCMinutes.call(e, Date.prototype.getUTCMinutes.call(e) + N));
97
135
  }
98
136
  }
@@ -116,7 +154,7 @@ class F extends J {
116
154
  }
117
155
  toTimeString() {
118
156
  const t = this.internal.toUTCString().split(" ")[4], [r, n, s] = this.tzComponents();
119
- return `${t} GMT${r}${n}${s} (${kn(this.timeZone, this)})`;
157
+ return `${t} GMT${r}${n}${s} (${Nn(this.timeZone, this)})`;
120
158
  }
121
159
  toLocaleString(t, r) {
122
160
  return Date.prototype.toLocaleString.call(this, t, {
@@ -152,16 +190,16 @@ class F extends J {
152
190
  }
153
191
  //#endregion
154
192
  }
155
- function ht(e, t, r) {
193
+ function mt(e, t, r) {
156
194
  const n = B(e, r == null ? void 0 : r.in);
157
- return isNaN(t) ? V((r == null ? void 0 : r.in) || e, NaN) : (t && n.setDate(n.getDate() + t), n);
195
+ return isNaN(t) ? R((r == null ? void 0 : r.in) || e, NaN) : (t && n.setDate(n.getDate() + t), n);
158
196
  }
159
- function mt(e, t, r) {
197
+ function yt(e, t, r) {
160
198
  const n = B(e, r == null ? void 0 : r.in);
161
- if (isNaN(t)) return V(e, NaN);
199
+ if (isNaN(t)) return R(e, NaN);
162
200
  if (!t)
163
201
  return n;
164
- const s = n.getDate(), o = V(e, n.getTime());
202
+ const s = n.getDate(), o = R(e, n.getTime());
165
203
  o.setMonth(n.getMonth() + t + 1, 0);
166
204
  const a = o.getDate();
167
205
  return s >= a ? o : (n.setFullYear(
@@ -170,143 +208,143 @@ function mt(e, t, r) {
170
208
  s
171
209
  ), n);
172
210
  }
173
- function Wn(e, t, r) {
174
- return ht(e, t * 7, r);
211
+ function _n(e, t, r) {
212
+ return mt(e, t * 7, r);
175
213
  }
176
- function Nn(e, t, r) {
177
- return mt(e, t * 12, r);
214
+ function xn(e, t, r) {
215
+ return yt(e, t * 12, r);
178
216
  }
179
- function Cn(e, t) {
217
+ function Yn(e, t) {
180
218
  let r, n = t == null ? void 0 : t.in;
181
219
  return e.forEach((s) => {
182
- !n && typeof s == "object" && (n = V.bind(null, s));
220
+ !n && typeof s == "object" && (n = R.bind(null, s));
183
221
  const o = B(s, n);
184
222
  (!r || r < o || isNaN(+o)) && (r = o);
185
- }), V(n, r || NaN);
223
+ }), R(n, r || NaN);
186
224
  }
187
- function Sn(e, t) {
225
+ function Tn(e, t) {
188
226
  let r, n = t == null ? void 0 : t.in;
189
227
  return e.forEach((s) => {
190
- !n && typeof s == "object" && (n = V.bind(null, s));
228
+ !n && typeof s == "object" && (n = R.bind(null, s));
191
229
  const o = B(s, n);
192
230
  (!r || r > o || isNaN(+o)) && (r = o);
193
- }), V(n, r || NaN);
231
+ }), R(n, r || NaN);
194
232
  }
195
- function yt(e, t, r) {
196
- const [n, s] = De(
233
+ function gt(e, t, r) {
234
+ const [n, s] = Oe(
197
235
  r == null ? void 0 : r.in,
198
236
  e,
199
237
  t
200
238
  ), o = n.getFullYear() - s.getFullYear(), a = n.getMonth() - s.getMonth();
201
239
  return o * 12 + a;
202
240
  }
203
- function _n(e, t) {
241
+ function En(e, t) {
204
242
  const r = B(e, t == null ? void 0 : t.in), n = r.getMonth();
205
243
  return r.setFullYear(r.getFullYear(), n + 1, 0), r.setHours(23, 59, 59, 999), r;
206
244
  }
207
- function gt(e, t) {
208
- const [r, n] = De(e, t.start, t.end);
245
+ function bt(e, t) {
246
+ const [r, n] = Oe(e, t.start, t.end);
209
247
  return { start: r, end: n };
210
248
  }
211
- function xn(e, t) {
212
- const { start: r, end: n } = gt(t == null ? void 0 : t.in, e);
249
+ function In(e, t) {
250
+ const { start: r, end: n } = bt(t == null ? void 0 : t.in, e);
213
251
  let s = +r > +n;
214
252
  const o = s ? +r : +n, a = s ? n : r;
215
253
  a.setHours(0, 0, 0, 0), a.setDate(1);
216
254
  let i = 1;
217
255
  const d = [];
218
256
  for (; +a <= o; )
219
- d.push(V(r, a)), a.setMonth(a.getMonth() + i);
257
+ d.push(R(r, a)), a.setMonth(a.getMonth() + i);
220
258
  return s ? d.reverse() : d;
221
259
  }
222
- function Yn(e, t) {
260
+ function Bn(e, t) {
223
261
  const r = B(e, t == null ? void 0 : t.in);
224
262
  return r.setDate(1), r.setHours(0, 0, 0, 0), r;
225
263
  }
226
- function Tn(e, t) {
264
+ function Fn(e, t) {
227
265
  const r = B(e, t == null ? void 0 : t.in), n = r.getFullYear();
228
266
  return r.setFullYear(n + 1, 0, 0), r.setHours(23, 59, 59, 999), r;
229
267
  }
230
- function En(e, t) {
231
- const { start: r, end: n } = gt(t == null ? void 0 : t.in, e);
268
+ function zn(e, t) {
269
+ const { start: r, end: n } = bt(t == null ? void 0 : t.in, e);
232
270
  let s = +r > +n;
233
271
  const o = s ? +r : +n, a = s ? n : r;
234
272
  a.setHours(0, 0, 0, 0), a.setMonth(0, 1);
235
273
  let i = 1;
236
274
  const d = [];
237
275
  for (; +a <= o; )
238
- d.push(V(r, a)), a.setFullYear(a.getFullYear() + i);
276
+ d.push(R(r, a)), a.setFullYear(a.getFullYear() + i);
239
277
  return s ? d.reverse() : d;
240
278
  }
241
279
  function vt(e, t) {
242
- var i, d, f, l;
243
- const r = hn(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.weekStartsOn) ?? r.weekStartsOn ?? ((l = (f = r.locale) == null ? void 0 : f.options) == null ? void 0 : l.weekStartsOn) ?? 0, s = B(e, t == null ? void 0 : t.in), o = s.getDay(), a = (o < n ? -7 : 0) + 6 - (o - n);
280
+ var i, d, l, f;
281
+ const r = gn(), n = (t == null ? void 0 : t.weekStartsOn) ?? ((d = (i = t == null ? void 0 : t.locale) == null ? void 0 : i.options) == null ? void 0 : d.weekStartsOn) ?? r.weekStartsOn ?? ((f = (l = r.locale) == null ? void 0 : l.options) == null ? void 0 : f.weekStartsOn) ?? 0, s = B(e, t == null ? void 0 : t.in), o = s.getDay(), a = (o < n ? -7 : 0) + 6 - (o - n);
244
282
  return s.setDate(s.getDate() + a), s.setHours(23, 59, 59, 999), s;
245
283
  }
246
- function In(e, t) {
284
+ function Pn(e, t) {
247
285
  return vt(e, { ...t, weekStartsOn: 1 });
248
286
  }
249
- function Bn(e, t) {
250
- const r = B(e, t == null ? void 0 : t.in), n = r.getFullYear(), s = r.getMonth(), o = V(r, 0);
287
+ function An(e, t) {
288
+ const r = B(e, t == null ? void 0 : t.in), n = r.getFullYear(), s = r.getMonth(), o = R(r, 0);
251
289
  return o.setFullYear(n, s + 1, 0), o.setHours(0, 0, 0, 0), o.getDate();
252
290
  }
253
- function Fn(e, t) {
291
+ function Hn(e, t) {
254
292
  return B(e, t == null ? void 0 : t.in).getMonth();
255
293
  }
256
- function zn(e, t) {
294
+ function jn(e, t) {
257
295
  return B(e, t == null ? void 0 : t.in).getFullYear();
258
296
  }
259
- function An(e, t) {
297
+ function $n(e, t) {
260
298
  return +B(e) > +B(t);
261
299
  }
262
- function Pn(e, t) {
300
+ function Gn(e, t) {
263
301
  return +B(e) < +B(t);
264
302
  }
265
- function Hn(e, t, r) {
266
- const [n, s] = De(
303
+ function qn(e, t, r) {
304
+ const [n, s] = Oe(
267
305
  r == null ? void 0 : r.in,
268
306
  e,
269
307
  t
270
308
  );
271
309
  return n.getFullYear() === s.getFullYear() && n.getMonth() === s.getMonth();
272
310
  }
273
- function jn(e, t, r) {
274
- const [n, s] = De(
311
+ function Rn(e, t, r) {
312
+ const [n, s] = Oe(
275
313
  r == null ? void 0 : r.in,
276
314
  e,
277
315
  t
278
316
  );
279
317
  return n.getFullYear() === s.getFullYear();
280
318
  }
281
- function $n(e, t, r) {
282
- const n = B(e, r == null ? void 0 : r.in), s = n.getFullYear(), o = n.getDate(), a = V(e, 0);
319
+ function Vn(e, t, r) {
320
+ const n = B(e, r == null ? void 0 : r.in), s = n.getFullYear(), o = n.getDate(), a = R(e, 0);
283
321
  a.setFullYear(s, t, 15), a.setHours(0, 0, 0, 0);
284
- const i = Bn(a);
322
+ const i = An(a);
285
323
  return n.setMonth(t, Math.min(o, i)), n;
286
324
  }
287
- function Gn(e, t, r) {
325
+ function Un(e, t, r) {
288
326
  const n = B(e, r == null ? void 0 : r.in);
289
- return isNaN(+n) ? V(e, NaN) : (n.setFullYear(t), n);
327
+ return isNaN(+n) ? R(e, NaN) : (n.setFullYear(t), n);
290
328
  }
291
- const tt = 5, qn = 4;
292
- function Vn(e, t) {
293
- const r = t.startOfMonth(e), n = r.getDay() > 0 ? r.getDay() : 7, s = t.addDays(e, -n + 1), o = t.addDays(s, tt * 7 - 1);
294
- return t.getMonth(e) === t.getMonth(o) ? tt : qn;
329
+ const nt = 5, Kn = 4;
330
+ function Zn(e, t) {
331
+ const r = t.startOfMonth(e), n = r.getDay() > 0 ? r.getDay() : 7, s = t.addDays(e, -n + 1), o = t.addDays(s, nt * 7 - 1);
332
+ return t.getMonth(e) === t.getMonth(o) ? nt : Kn;
295
333
  }
296
- function bt(e, t) {
334
+ function pt(e, t) {
297
335
  const r = t.startOfMonth(e), n = r.getDay();
298
336
  return n === 1 ? r : n === 0 ? t.addDays(r, -6) : t.addDays(r, -1 * (n - 1));
299
337
  }
300
- function Rn(e, t) {
301
- const r = bt(e, t), n = Vn(e, t);
338
+ function Jn(e, t) {
339
+ const r = pt(e, t), n = Zn(e, t);
302
340
  return t.addDays(r, n * 7 - 1);
303
341
  }
304
- const pt = {
305
- ...fe,
342
+ const Mt = {
343
+ ...le,
306
344
  labels: {
307
345
  labelDayButton: (e, t, r, n) => {
308
346
  let s;
309
- n && typeof n.format == "function" ? s = n.format.bind(n) : s = (a, i) => le(a, i, { locale: fe, ...r });
347
+ n && typeof n.format == "function" ? s = n.format.bind(n) : s = (a, i) => fe(a, i, { locale: le, ...r });
310
348
  let o = s(e, "PPPP");
311
349
  return t.today && (o = `Today, ${o}`), t.selected && (o = `${o}, selected`), o;
312
350
  },
@@ -317,11 +355,11 @@ const pt = {
317
355
  labelYearDropdown: "Choose the Year",
318
356
  labelGrid: (e, t, r) => {
319
357
  let n;
320
- return r && typeof r.format == "function" ? n = r.format.bind(r) : n = (s, o) => le(s, o, { locale: fe, ...t }), n(e, "LLLL yyyy");
358
+ return r && typeof r.format == "function" ? n = r.format.bind(r) : n = (s, o) => fe(s, o, { locale: le, ...t }), n(e, "LLLL yyyy");
321
359
  },
322
360
  labelGridcell: (e, t, r, n) => {
323
361
  let s;
324
- n && typeof n.format == "function" ? s = n.format.bind(n) : s = (a, i) => le(a, i, { locale: fe, ...r });
362
+ n && typeof n.format == "function" ? s = n.format.bind(n) : s = (a, i) => fe(a, i, { locale: le, ...r });
325
363
  let o = s(e, "PPPP");
326
364
  return t != null && t.today && (o = `Today, ${o}`), o;
327
365
  },
@@ -329,7 +367,7 @@ const pt = {
329
367
  labelWeekNumberHeader: "Week Number",
330
368
  labelWeekday: (e, t, r) => {
331
369
  let n;
332
- return r && typeof r.format == "function" ? n = r.format.bind(r) : n = (s, o) => le(s, o, { locale: fe, ...t }), n(e, "cccc");
370
+ return r && typeof r.format == "function" ? n = r.format.bind(r) : n = (s, o) => fe(s, o, { locale: le, ...t }), n(e, "cccc");
333
371
  }
334
372
  }
335
373
  };
@@ -349,28 +387,28 @@ class H {
349
387
  return (a = this.overrides) != null && a.newDate ? this.overrides.newDate(n, s, o) : this.options.timeZone ? new F(n, s, o, this.options.timeZone) : new Date(n, s, o);
350
388
  }, this.addDays = (n, s) => {
351
389
  var o;
352
- return (o = this.overrides) != null && o.addDays ? this.overrides.addDays(n, s) : ht(n, s);
390
+ return (o = this.overrides) != null && o.addDays ? this.overrides.addDays(n, s) : mt(n, s);
353
391
  }, this.addMonths = (n, s) => {
354
392
  var o;
355
- return (o = this.overrides) != null && o.addMonths ? this.overrides.addMonths(n, s) : mt(n, s);
393
+ return (o = this.overrides) != null && o.addMonths ? this.overrides.addMonths(n, s) : yt(n, s);
356
394
  }, this.addWeeks = (n, s) => {
357
395
  var o;
358
- return (o = this.overrides) != null && o.addWeeks ? this.overrides.addWeeks(n, s) : Wn(n, s);
396
+ return (o = this.overrides) != null && o.addWeeks ? this.overrides.addWeeks(n, s) : _n(n, s);
359
397
  }, this.addYears = (n, s) => {
360
398
  var o;
361
- return (o = this.overrides) != null && o.addYears ? this.overrides.addYears(n, s) : Nn(n, s);
399
+ return (o = this.overrides) != null && o.addYears ? this.overrides.addYears(n, s) : xn(n, s);
362
400
  }, this.differenceInCalendarDays = (n, s) => {
363
401
  var o;
364
402
  return (o = this.overrides) != null && o.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(n, s) : ft(n, s);
365
403
  }, this.differenceInCalendarMonths = (n, s) => {
366
404
  var o;
367
- return (o = this.overrides) != null && o.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(n, s) : yt(n, s);
405
+ return (o = this.overrides) != null && o.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(n, s) : gt(n, s);
368
406
  }, this.eachMonthOfInterval = (n) => {
369
407
  var s;
370
- return (s = this.overrides) != null && s.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(n) : xn(n);
408
+ return (s = this.overrides) != null && s.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(n) : In(n);
371
409
  }, this.eachYearOfInterval = (n) => {
372
410
  var i;
373
- const s = (i = this.overrides) != null && i.eachYearOfInterval ? this.overrides.eachYearOfInterval(n) : En(n), o = new Set(s.map((d) => this.getYear(d)));
411
+ const s = (i = this.overrides) != null && i.eachYearOfInterval ? this.overrides.eachYearOfInterval(n) : zn(n), o = new Set(s.map((d) => this.getYear(d)));
374
412
  if (o.size === s.length)
375
413
  return s;
376
414
  const a = [];
@@ -379,84 +417,84 @@ class H {
379
417
  }), a;
380
418
  }, this.endOfBroadcastWeek = (n) => {
381
419
  var s;
382
- return (s = this.overrides) != null && s.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(n) : Rn(n, this);
420
+ return (s = this.overrides) != null && s.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(n) : Jn(n, this);
383
421
  }, this.endOfISOWeek = (n) => {
384
422
  var s;
385
- return (s = this.overrides) != null && s.endOfISOWeek ? this.overrides.endOfISOWeek(n) : In(n);
423
+ return (s = this.overrides) != null && s.endOfISOWeek ? this.overrides.endOfISOWeek(n) : Pn(n);
386
424
  }, this.endOfMonth = (n) => {
387
425
  var s;
388
- return (s = this.overrides) != null && s.endOfMonth ? this.overrides.endOfMonth(n) : _n(n);
426
+ return (s = this.overrides) != null && s.endOfMonth ? this.overrides.endOfMonth(n) : En(n);
389
427
  }, this.endOfWeek = (n, s) => {
390
428
  var o;
391
429
  return (o = this.overrides) != null && o.endOfWeek ? this.overrides.endOfWeek(n, s) : vt(n, this.options);
392
430
  }, this.endOfYear = (n) => {
393
431
  var s;
394
- return (s = this.overrides) != null && s.endOfYear ? this.overrides.endOfYear(n) : Tn(n);
432
+ return (s = this.overrides) != null && s.endOfYear ? this.overrides.endOfYear(n) : Fn(n);
395
433
  }, this.format = (n, s, o) => {
396
434
  var i;
397
- const a = (i = this.overrides) != null && i.format ? this.overrides.format(n, s, this.options) : le(n, s, this.options);
435
+ const a = (i = this.overrides) != null && i.format ? this.overrides.format(n, s, this.options) : fe(n, s, this.options);
398
436
  return this.options.numerals && this.options.numerals !== "latn" ? this.replaceDigits(a) : a;
399
437
  }, this.getISOWeek = (n) => {
400
438
  var s;
401
- return (s = this.overrides) != null && s.getISOWeek ? this.overrides.getISOWeek(n) : lt(n);
439
+ return (s = this.overrides) != null && s.getISOWeek ? this.overrides.getISOWeek(n) : ct(n);
402
440
  }, this.getMonth = (n, s) => {
403
441
  var o;
404
- return (o = this.overrides) != null && o.getMonth ? this.overrides.getMonth(n, this.options) : Fn(n, this.options);
442
+ return (o = this.overrides) != null && o.getMonth ? this.overrides.getMonth(n, this.options) : Hn(n, this.options);
405
443
  }, this.getYear = (n, s) => {
406
444
  var o;
407
- return (o = this.overrides) != null && o.getYear ? this.overrides.getYear(n, this.options) : zn(n, this.options);
445
+ return (o = this.overrides) != null && o.getYear ? this.overrides.getYear(n, this.options) : jn(n, this.options);
408
446
  }, this.getWeek = (n, s) => {
409
447
  var o;
410
- return (o = this.overrides) != null && o.getWeek ? this.overrides.getWeek(n, this.options) : ct(n, this.options);
448
+ return (o = this.overrides) != null && o.getWeek ? this.overrides.getWeek(n, this.options) : ut(n, this.options);
411
449
  }, this.isAfter = (n, s) => {
412
450
  var o;
413
- return (o = this.overrides) != null && o.isAfter ? this.overrides.isAfter(n, s) : An(n, s);
451
+ return (o = this.overrides) != null && o.isAfter ? this.overrides.isAfter(n, s) : $n(n, s);
414
452
  }, this.isBefore = (n, s) => {
415
453
  var o;
416
- return (o = this.overrides) != null && o.isBefore ? this.overrides.isBefore(n, s) : Pn(n, s);
454
+ return (o = this.overrides) != null && o.isBefore ? this.overrides.isBefore(n, s) : Gn(n, s);
417
455
  }, this.isDate = (n) => {
418
456
  var s;
419
- return (s = this.overrides) != null && s.isDate ? this.overrides.isDate(n) : mn(n);
457
+ return (s = this.overrides) != null && s.isDate ? this.overrides.isDate(n) : bn(n);
420
458
  }, this.isSameDay = (n, s) => {
421
459
  var o;
422
- return (o = this.overrides) != null && o.isSameDay ? this.overrides.isSameDay(n, s) : yn(n, s);
460
+ return (o = this.overrides) != null && o.isSameDay ? this.overrides.isSameDay(n, s) : vn(n, s);
423
461
  }, this.isSameMonth = (n, s) => {
424
462
  var o;
425
- return (o = this.overrides) != null && o.isSameMonth ? this.overrides.isSameMonth(n, s) : Hn(n, s);
463
+ return (o = this.overrides) != null && o.isSameMonth ? this.overrides.isSameMonth(n, s) : qn(n, s);
426
464
  }, this.isSameYear = (n, s) => {
427
465
  var o;
428
- return (o = this.overrides) != null && o.isSameYear ? this.overrides.isSameYear(n, s) : jn(n, s);
466
+ return (o = this.overrides) != null && o.isSameYear ? this.overrides.isSameYear(n, s) : Rn(n, s);
429
467
  }, this.max = (n) => {
430
468
  var s;
431
- return (s = this.overrides) != null && s.max ? this.overrides.max(n) : Cn(n);
469
+ return (s = this.overrides) != null && s.max ? this.overrides.max(n) : Yn(n);
432
470
  }, this.min = (n) => {
433
471
  var s;
434
- return (s = this.overrides) != null && s.min ? this.overrides.min(n) : Sn(n);
472
+ return (s = this.overrides) != null && s.min ? this.overrides.min(n) : Tn(n);
435
473
  }, this.setMonth = (n, s) => {
436
474
  var o;
437
- return (o = this.overrides) != null && o.setMonth ? this.overrides.setMonth(n, s) : $n(n, s);
475
+ return (o = this.overrides) != null && o.setMonth ? this.overrides.setMonth(n, s) : Vn(n, s);
438
476
  }, this.setYear = (n, s) => {
439
477
  var o;
440
- return (o = this.overrides) != null && o.setYear ? this.overrides.setYear(n, s) : Gn(n, s);
478
+ return (o = this.overrides) != null && o.setYear ? this.overrides.setYear(n, s) : Un(n, s);
441
479
  }, this.startOfBroadcastWeek = (n, s) => {
442
480
  var o;
443
- return (o = this.overrides) != null && o.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(n, this) : bt(n, this);
481
+ return (o = this.overrides) != null && o.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(n, this) : pt(n, this);
444
482
  }, this.startOfDay = (n) => {
445
483
  var s;
446
- return (s = this.overrides) != null && s.startOfDay ? this.overrides.startOfDay(n) : gn(n);
484
+ return (s = this.overrides) != null && s.startOfDay ? this.overrides.startOfDay(n) : pn(n);
447
485
  }, this.startOfISOWeek = (n) => {
448
486
  var s;
449
- return (s = this.overrides) != null && s.startOfISOWeek ? this.overrides.startOfISOWeek(n) : vn(n);
487
+ return (s = this.overrides) != null && s.startOfISOWeek ? this.overrides.startOfISOWeek(n) : Mn(n);
450
488
  }, this.startOfMonth = (n) => {
451
489
  var s;
452
- return (s = this.overrides) != null && s.startOfMonth ? this.overrides.startOfMonth(n) : Yn(n);
490
+ return (s = this.overrides) != null && s.startOfMonth ? this.overrides.startOfMonth(n) : Bn(n);
453
491
  }, this.startOfWeek = (n, s) => {
454
492
  var o;
455
- return (o = this.overrides) != null && o.startOfWeek ? this.overrides.startOfWeek(n, this.options) : bn(n, this.options);
493
+ return (o = this.overrides) != null && o.startOfWeek ? this.overrides.startOfWeek(n, this.options) : kn(n, this.options);
456
494
  }, this.startOfYear = (n) => {
457
495
  var s;
458
- return (s = this.overrides) != null && s.startOfYear ? this.overrides.startOfYear(n) : pn(n);
459
- }, this.options = { locale: pt, ...t }, this.overrides = r;
496
+ return (s = this.overrides) != null && s.startOfYear ? this.overrides.startOfYear(n) : Dn(n);
497
+ }, this.options = { locale: Mt, ...t }, this.overrides = r;
460
498
  }
461
499
  /**
462
500
  * Generates a mapping of Arabic digits (0-9) to the target numbering system
@@ -544,7 +582,7 @@ H.yearFirstLocales = /* @__PURE__ */ new Set([
544
582
  "zh-TW"
545
583
  ]);
546
584
  const Q = new H();
547
- class Mt {
585
+ class kt {
548
586
  constructor(t, r, n = Q) {
549
587
  this.date = t, this.displayMonth = r, this.outside = !!(r && !n.isSameMonth(t, r)), this.dateLib = n, this.isoDate = n.format(t, "yyyy-MM-dd"), this.displayMonthId = n.format(r, "yyyy-MM"), this.dateMonthId = n.format(t, "yyyy-MM");
550
588
  }
@@ -559,23 +597,23 @@ class Mt {
559
597
  return this.dateLib.isSameDay(t.date, this.date) && this.dateLib.isSameMonth(t.displayMonth, this.displayMonth);
560
598
  }
561
599
  }
562
- class Un {
600
+ class Qn {
563
601
  constructor(t, r) {
564
602
  this.date = t, this.weeks = r;
565
603
  }
566
604
  }
567
- class Kn {
605
+ class Xn {
568
606
  constructor(t, r) {
569
607
  this.days = r, this.weekNumber = t;
570
608
  }
571
609
  }
572
- function Zn(e) {
610
+ function Ln(e) {
573
611
  return m.createElement("button", { ...e });
574
612
  }
575
- function Jn(e) {
613
+ function er(e) {
576
614
  return m.createElement("span", { ...e });
577
615
  }
578
- function Qn(e) {
616
+ function tr(e) {
579
617
  const { size: t = 24, orientation: r = "left", className: n } = e;
580
618
  return (
581
619
  // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component
@@ -589,11 +627,11 @@ function Qn(e) {
589
627
  )
590
628
  );
591
629
  }
592
- function Xn(e) {
630
+ function nr(e) {
593
631
  const { day: t, modifiers: r, ...n } = e;
594
632
  return m.createElement("td", { ...n });
595
633
  }
596
- function Ln(e) {
634
+ function rr(e) {
597
635
  const { day: t, modifiers: r, ...n } = e, s = m.useRef(null);
598
636
  return m.useEffect(() => {
599
637
  var o;
@@ -612,16 +650,16 @@ var z;
612
650
  (function(e) {
613
651
  e.range_end = "range_end", e.range_middle = "range_middle", e.range_start = "range_start", e.selected = "selected";
614
652
  })(z || (z = {}));
615
- var P;
653
+ var A;
616
654
  (function(e) {
617
655
  e.weeks_before_enter = "weeks_before_enter", e.weeks_before_exit = "weeks_before_exit", e.weeks_after_enter = "weeks_after_enter", e.weeks_after_exit = "weeks_after_exit", e.caption_after_enter = "caption_after_enter", e.caption_after_exit = "caption_after_exit", e.caption_before_enter = "caption_before_enter", e.caption_before_exit = "caption_before_exit";
618
- })(P || (P = {}));
619
- function er(e) {
656
+ })(A || (A = {}));
657
+ function sr(e) {
620
658
  const { options: t, className: r, components: n, classNames: s, ...o } = e, a = [s[h.Dropdown], r].join(" "), i = t == null ? void 0 : t.find(({ value: d }) => d === o.value);
621
659
  return m.createElement(
622
660
  "span",
623
661
  { "data-disabled": o.disabled, className: s[h.DropdownRoot] },
624
- m.createElement(n.Select, { className: a, ...o }, t == null ? void 0 : t.map(({ value: d, label: f, disabled: l }) => m.createElement(n.Option, { key: d, value: d, disabled: l }, f))),
662
+ m.createElement(n.Select, { className: a, ...o }, t == null ? void 0 : t.map(({ value: d, label: l, disabled: f }) => m.createElement(n.Option, { key: d, value: d, disabled: f }, l))),
625
663
  m.createElement(
626
664
  "span",
627
665
  { className: s[h.CaptionLabel], "aria-hidden": !0 },
@@ -630,39 +668,39 @@ function er(e) {
630
668
  )
631
669
  );
632
670
  }
633
- function tr(e) {
671
+ function or(e) {
634
672
  return m.createElement("div", { ...e });
635
673
  }
636
- function nr(e) {
674
+ function ar(e) {
637
675
  return m.createElement("div", { ...e });
638
676
  }
639
- function rr(e) {
677
+ function ir(e) {
640
678
  const { calendarMonth: t, displayIndex: r, ...n } = e;
641
679
  return m.createElement("div", { ...n }, e.children);
642
680
  }
643
- function sr(e) {
681
+ function dr(e) {
644
682
  const { calendarMonth: t, displayIndex: r, ...n } = e;
645
683
  return m.createElement("div", { ...n });
646
684
  }
647
- function or(e) {
685
+ function lr(e) {
648
686
  return m.createElement("table", { ...e });
649
687
  }
650
- function ar(e) {
688
+ function fr(e) {
651
689
  return m.createElement("div", { ...e });
652
690
  }
653
- const Dt = ln(void 0);
654
- function ue() {
655
- const e = cn(Dt);
691
+ const Dt = cn(void 0);
692
+ function me() {
693
+ const e = un(Dt);
656
694
  if (e === void 0)
657
695
  throw new Error("useDayPicker() must be used within a custom component.");
658
696
  return e;
659
697
  }
660
- function ir(e) {
661
- const { components: t } = ue();
698
+ function cr(e) {
699
+ const { components: t } = me();
662
700
  return m.createElement(t.Dropdown, { ...e });
663
701
  }
664
- function dr(e) {
665
- const { onPreviousClick: t, onNextClick: r, previousMonth: n, nextMonth: s, ...o } = e, { components: a, classNames: i, labels: { labelPrevious: d, labelNext: f } } = ue(), l = G((y) => {
702
+ function ur(e) {
703
+ const { onPreviousClick: t, onNextClick: r, previousMonth: n, nextMonth: s, ...o } = e, { components: a, classNames: i, labels: { labelPrevious: d, labelNext: l } } = me(), f = G((y) => {
666
704
  s && (r == null || r(y));
667
705
  }, [s, r]), u = G((y) => {
668
706
  n && (t == null || t(y));
@@ -677,107 +715,107 @@ function dr(e) {
677
715
  ),
678
716
  m.createElement(
679
717
  a.NextMonthButton,
680
- { type: "button", className: i[h.NextMonthButton], tabIndex: s ? void 0 : -1, "aria-disabled": s ? void 0 : !0, "aria-label": f(s), onClick: l },
718
+ { type: "button", className: i[h.NextMonthButton], tabIndex: s ? void 0 : -1, "aria-disabled": s ? void 0 : !0, "aria-label": l(s), onClick: f },
681
719
  m.createElement(a.Chevron, { disabled: s ? void 0 : !0, orientation: "right", className: i[h.Chevron] })
682
720
  )
683
721
  );
684
722
  }
685
- function fr(e) {
686
- const { components: t } = ue();
723
+ function hr(e) {
724
+ const { components: t } = me();
687
725
  return m.createElement(t.Button, { ...e });
688
726
  }
689
- function lr(e) {
727
+ function mr(e) {
690
728
  return m.createElement("option", { ...e });
691
729
  }
692
- function cr(e) {
693
- const { components: t } = ue();
730
+ function yr(e) {
731
+ const { components: t } = me();
694
732
  return m.createElement(t.Button, { ...e });
695
733
  }
696
- function ur(e) {
734
+ function gr(e) {
697
735
  const { rootRef: t, ...r } = e;
698
736
  return m.createElement("div", { ...r, ref: t });
699
737
  }
700
- function hr(e) {
738
+ function br(e) {
701
739
  return m.createElement("select", { ...e });
702
740
  }
703
- function mr(e) {
741
+ function vr(e) {
704
742
  const { week: t, ...r } = e;
705
743
  return m.createElement("tr", { ...r });
706
744
  }
707
- function yr(e) {
745
+ function pr(e) {
708
746
  return m.createElement("th", { ...e });
709
747
  }
710
- function gr(e) {
748
+ function Mr(e) {
711
749
  return m.createElement(
712
750
  "thead",
713
751
  { "aria-hidden": !0 },
714
752
  m.createElement("tr", { ...e })
715
753
  );
716
754
  }
717
- function vr(e) {
755
+ function kr(e) {
718
756
  const { week: t, ...r } = e;
719
757
  return m.createElement("th", { ...r });
720
758
  }
721
- function br(e) {
759
+ function Dr(e) {
722
760
  return m.createElement("th", { ...e });
723
761
  }
724
- function pr(e) {
762
+ function Or(e) {
725
763
  return m.createElement("tbody", { ...e });
726
764
  }
727
- function Mr(e) {
728
- const { components: t } = ue();
765
+ function wr(e) {
766
+ const { components: t } = me();
729
767
  return m.createElement(t.Dropdown, { ...e });
730
768
  }
731
- const Dr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
769
+ const Wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
732
770
  __proto__: null,
733
- Button: Zn,
734
- CaptionLabel: Jn,
735
- Chevron: Qn,
736
- Day: Xn,
737
- DayButton: Ln,
738
- Dropdown: er,
739
- DropdownNav: tr,
740
- Footer: nr,
741
- Month: rr,
742
- MonthCaption: sr,
743
- MonthGrid: or,
744
- Months: ar,
745
- MonthsDropdown: ir,
746
- Nav: dr,
747
- NextMonthButton: fr,
748
- Option: lr,
749
- PreviousMonthButton: cr,
750
- Root: ur,
751
- Select: hr,
752
- Week: mr,
753
- WeekNumber: vr,
754
- WeekNumberHeader: br,
755
- Weekday: yr,
756
- Weekdays: gr,
757
- Weeks: pr,
758
- YearsDropdown: Mr
771
+ Button: Ln,
772
+ CaptionLabel: er,
773
+ Chevron: tr,
774
+ Day: nr,
775
+ DayButton: rr,
776
+ Dropdown: sr,
777
+ DropdownNav: or,
778
+ Footer: ar,
779
+ Month: ir,
780
+ MonthCaption: dr,
781
+ MonthGrid: lr,
782
+ Months: fr,
783
+ MonthsDropdown: cr,
784
+ Nav: ur,
785
+ NextMonthButton: hr,
786
+ Option: mr,
787
+ PreviousMonthButton: yr,
788
+ Root: gr,
789
+ Select: br,
790
+ Week: vr,
791
+ WeekNumber: kr,
792
+ WeekNumberHeader: Dr,
793
+ Weekday: pr,
794
+ Weekdays: Mr,
795
+ Weeks: Or,
796
+ YearsDropdown: wr
759
797
  }, Symbol.toStringTag, { value: "Module" }));
760
798
  function ee(e, t, r = !1, n = Q) {
761
799
  let { from: s, to: o } = e;
762
800
  const { differenceInCalendarDays: a, isSameDay: i } = n;
763
801
  return s && o ? (a(o, s) < 0 && ([s, o] = [o, s]), a(t, s) >= (r ? 1 : 0) && a(o, t) >= (r ? 1 : 0)) : !r && o ? i(o, t) : !r && s ? i(s, t) : !1;
764
802
  }
765
- function je(e) {
803
+ function $e(e) {
766
804
  return !!(e && typeof e == "object" && "before" in e && "after" in e);
767
805
  }
768
- function ke(e) {
806
+ function we(e) {
769
807
  return !!(e && typeof e == "object" && "from" in e);
770
808
  }
771
- function $e(e) {
809
+ function Ge(e) {
772
810
  return !!(e && typeof e == "object" && "after" in e);
773
811
  }
774
- function Ge(e) {
812
+ function qe(e) {
775
813
  return !!(e && typeof e == "object" && "before" in e);
776
814
  }
777
- function kt(e) {
815
+ function Ot(e) {
778
816
  return !!(e && typeof e == "object" && "dayOfWeek" in e);
779
817
  }
780
- function Ot(e, t) {
818
+ function wt(e, t) {
781
819
  return Array.isArray(e) && e.every(t.isDate);
782
820
  }
783
821
  function te(e, t, r = Q) {
@@ -787,21 +825,21 @@ function te(e, t, r = Q) {
787
825
  return i;
788
826
  if (r.isDate(i))
789
827
  return s(e, i);
790
- if (Ot(i, r))
828
+ if (wt(i, r))
791
829
  return i.some((d) => s(e, d));
792
- if (ke(i))
830
+ if (we(i))
793
831
  return ee(i, e, !1, r);
794
- if (kt(i))
832
+ if (Ot(i))
795
833
  return Array.isArray(i.dayOfWeek) ? i.dayOfWeek.includes(e.getDay()) : i.dayOfWeek === e.getDay();
796
- if (je(i)) {
797
- const d = o(i.before, e), f = o(i.after, e), l = d > 0, u = f < 0;
798
- return a(i.before, i.after) ? u && l : l || u;
834
+ if ($e(i)) {
835
+ const d = o(i.before, e), l = o(i.after, e), f = d > 0, u = l < 0;
836
+ return a(i.before, i.after) ? u && f : f || u;
799
837
  }
800
- return $e(i) ? o(e, i.after) > 0 : Ge(i) ? o(i.before, e) > 0 : typeof i == "function" ? i(e) : !1;
838
+ return Ge(i) ? o(e, i.after) > 0 : qe(i) ? o(i.before, e) > 0 : typeof i == "function" ? i(e) : !1;
801
839
  });
802
840
  }
803
- function kr(e, t, r, n, s) {
804
- const { disabled: o, hidden: a, modifiers: i, showOutsideDays: d, broadcastCalendar: f, today: l = s.today() } = t, { isSameDay: u, isSameMonth: y, startOfMonth: g, isBefore: O, endOfMonth: W, isAfter: D } = s, S = r && g(r), M = n && W(n), b = {
841
+ function Nr(e, t, r, n, s) {
842
+ const { disabled: o, hidden: a, modifiers: i, showOutsideDays: d, broadcastCalendar: l, today: f = s.today() } = t, { isSameDay: u, isSameMonth: y, startOfMonth: g, isBefore: O, endOfMonth: W, isAfter: k } = s, S = r && g(r), M = n && W(n), v = {
805
843
  [Y.focused]: [],
806
844
  [Y.outside]: [],
807
845
  [Y.disabled]: [],
@@ -809,9 +847,9 @@ function kr(e, t, r, n, s) {
809
847
  [Y.today]: []
810
848
  }, N = {};
811
849
  for (const p of e) {
812
- const { date: c, displayMonth: w } = p, T = !!(w && !y(c, w)), I = !!(S && O(c, S)), E = !!(M && D(c, M)), j = !!(o && te(c, o, s)), re = !!(a && te(c, a, s)) || I || E || // Broadcast calendar will show outside days as default
813
- !f && !d && T || f && d === !1 && T, X = u(c, l);
814
- T && b.outside.push(p), j && b.disabled.push(p), re && b.hidden.push(p), X && b.today.push(p), i && Object.keys(i).forEach(($) => {
850
+ const { date: c, displayMonth: w } = p, T = !!(w && !y(c, w)), I = !!(S && O(c, S)), E = !!(M && k(c, M)), j = !!(o && te(c, o, s)), re = !!(a && te(c, a, s)) || I || E || // Broadcast calendar will show outside days as default
851
+ !l && !d && T || l && d === !1 && T, X = u(c, f);
852
+ T && v.outside.push(p), j && v.disabled.push(p), re && v.hidden.push(p), X && v.today.push(p), i && Object.keys(i).forEach(($) => {
815
853
  const oe = i == null ? void 0 : i[$];
816
854
  oe && te(c, oe, s) && (N[$] ? N[$].push(p) : N[$] = [p]);
817
855
  });
@@ -824,8 +862,8 @@ function kr(e, t, r, n, s) {
824
862
  [Y.outside]: !1,
825
863
  [Y.today]: !1
826
864
  }, w = {};
827
- for (const T in b) {
828
- const I = b[T];
865
+ for (const T in v) {
866
+ const I = v[T];
829
867
  c[T] = I.some((E) => E === p);
830
868
  }
831
869
  for (const T in N)
@@ -837,16 +875,16 @@ function kr(e, t, r, n, s) {
837
875
  };
838
876
  };
839
877
  }
840
- function Or(e, t, r = {}) {
878
+ function Cr(e, t, r = {}) {
841
879
  return Object.entries(e).filter(([, s]) => s === !0).reduce((s, [o]) => (r[o] ? s.push(r[o]) : t[Y[o]] ? s.push(t[Y[o]]) : t[z[o]] && s.push(t[z[o]]), s), [t[h.Day]]);
842
880
  }
843
- function wr(e) {
881
+ function Sr(e) {
844
882
  return {
845
- ...Dr,
883
+ ...Wr,
846
884
  ...e
847
885
  };
848
886
  }
849
- function Wr(e) {
887
+ function _r(e) {
850
888
  const t = {
851
889
  "data-mode": e.mode ?? void 0,
852
890
  "data-required": "required" in e ? e.required : void 0,
@@ -859,7 +897,7 @@ function Wr(e) {
859
897
  r.startsWith("data-") && (t[r] = n);
860
898
  }), t;
861
899
  }
862
- function Nr() {
900
+ function xr() {
863
901
  const e = {};
864
902
  for (const t in h)
865
903
  e[h[t]] = `rdp-${h[t]}`;
@@ -867,134 +905,134 @@ function Nr() {
867
905
  e[Y[t]] = `rdp-${Y[t]}`;
868
906
  for (const t in z)
869
907
  e[z[t]] = `rdp-${z[t]}`;
870
- for (const t in P)
871
- e[P[t]] = `rdp-${P[t]}`;
908
+ for (const t in A)
909
+ e[A[t]] = `rdp-${A[t]}`;
872
910
  return e;
873
911
  }
874
- function wt(e, t, r) {
912
+ function Wt(e, t, r) {
875
913
  return (r ?? new H(t)).formatMonthYear(e);
876
914
  }
877
- const Cr = wt;
878
- function Sr(e, t, r) {
915
+ const Yr = Wt;
916
+ function Tr(e, t, r) {
879
917
  return (r ?? new H(t)).format(e, "d");
880
918
  }
881
- function _r(e, t = Q) {
919
+ function Er(e, t = Q) {
882
920
  return t.format(e, "LLLL");
883
921
  }
884
- function xr(e, t, r) {
922
+ function Ir(e, t, r) {
885
923
  return (r ?? new H(t)).format(e, "cccccc");
886
924
  }
887
- function Yr(e, t = Q) {
925
+ function Br(e, t = Q) {
888
926
  return e < 10 ? t.formatNumber(`0${e.toLocaleString()}`) : t.formatNumber(`${e.toLocaleString()}`);
889
927
  }
890
- function Tr() {
928
+ function Fr() {
891
929
  return "";
892
930
  }
893
- function Wt(e, t = Q) {
931
+ function Nt(e, t = Q) {
894
932
  return t.format(e, "yyyy");
895
933
  }
896
- const Er = Wt, Ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
934
+ const zr = Nt, Pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
897
935
  __proto__: null,
898
- formatCaption: wt,
899
- formatDay: Sr,
900
- formatMonthCaption: Cr,
901
- formatMonthDropdown: _r,
902
- formatWeekNumber: Yr,
903
- formatWeekNumberHeader: Tr,
904
- formatWeekdayName: xr,
905
- formatYearCaption: Er,
906
- formatYearDropdown: Wt
936
+ formatCaption: Wt,
937
+ formatDay: Tr,
938
+ formatMonthCaption: Yr,
939
+ formatMonthDropdown: Er,
940
+ formatWeekNumber: Br,
941
+ formatWeekNumberHeader: Fr,
942
+ formatWeekdayName: Ir,
943
+ formatYearCaption: zr,
944
+ formatYearDropdown: Nt
907
945
  }, Symbol.toStringTag, { value: "Module" }));
908
- function Br(e) {
946
+ function Ar(e) {
909
947
  return e != null && e.formatMonthCaption && !e.formatCaption && (e.formatCaption = e.formatMonthCaption), e != null && e.formatYearCaption && !e.formatYearDropdown && (e.formatYearDropdown = e.formatYearCaption), {
910
- ...Ir,
948
+ ...Pr,
911
949
  ...e
912
950
  };
913
951
  }
914
- function qe(e, t, r, n) {
952
+ function Re(e, t, r, n) {
915
953
  let s = (n ?? new H(r)).format(e, "PPPP");
916
954
  return t.today && (s = `Today, ${s}`), t.selected && (s = `${s}, selected`), s;
917
955
  }
918
- const Fr = qe;
956
+ const Hr = Re;
919
957
  function Ve(e, t, r) {
920
958
  return (r ?? new H(t)).formatMonthYear(e);
921
959
  }
922
- const zr = Ve;
923
- function Nt(e, t, r, n) {
960
+ const jr = Ve;
961
+ function Ct(e, t, r, n) {
924
962
  let s = (n ?? new H(r)).format(e, "PPPP");
925
963
  return t != null && t.today && (s = `Today, ${s}`), s;
926
964
  }
927
- function Ct(e) {
965
+ function St(e) {
928
966
  return "Choose the Month";
929
967
  }
930
- function St() {
968
+ function _t() {
931
969
  return "";
932
970
  }
933
- const Ar = "Go to the Next Month";
934
- function _t(e, t) {
935
- return Ar;
971
+ const $r = "Go to the Next Month";
972
+ function xt(e, t) {
973
+ return $r;
936
974
  }
937
- function xt(e) {
975
+ function Yt(e) {
938
976
  return "Go to the Previous Month";
939
977
  }
940
- function Yt(e, t, r) {
978
+ function Tt(e, t, r) {
941
979
  return (r ?? new H(t)).format(e, "cccc");
942
980
  }
943
- function Tt(e, t) {
981
+ function Et(e, t) {
944
982
  return `Week ${e}`;
945
983
  }
946
- function Et(e) {
984
+ function It(e) {
947
985
  return "Week Number";
948
986
  }
949
- function It(e) {
987
+ function Bt(e) {
950
988
  return "Choose the Year";
951
989
  }
952
- const Pr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
990
+ const Gr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
953
991
  __proto__: null,
954
- labelCaption: zr,
955
- labelDay: Fr,
956
- labelDayButton: qe,
992
+ labelCaption: jr,
993
+ labelDay: Hr,
994
+ labelDayButton: Re,
957
995
  labelGrid: Ve,
958
- labelGridcell: Nt,
959
- labelMonthDropdown: Ct,
960
- labelNav: St,
961
- labelNext: _t,
962
- labelPrevious: xt,
963
- labelWeekNumber: Tt,
964
- labelWeekNumberHeader: Et,
965
- labelWeekday: Yt,
966
- labelYearDropdown: It
996
+ labelGridcell: Ct,
997
+ labelMonthDropdown: St,
998
+ labelNav: _t,
999
+ labelNext: xt,
1000
+ labelPrevious: Yt,
1001
+ labelWeekNumber: Et,
1002
+ labelWeekNumberHeader: It,
1003
+ labelWeekday: Tt,
1004
+ labelYearDropdown: Bt
967
1005
  }, Symbol.toStringTag, { value: "Module" })), K = (e, t, r) => t || (r ? typeof r == "function" ? r : (...n) => r : e);
968
- function Hr(e, t) {
1006
+ function qr(e, t) {
969
1007
  var n;
970
1008
  const r = ((n = t.locale) == null ? void 0 : n.labels) ?? {};
971
1009
  return {
972
- ...Pr,
1010
+ ...Gr,
973
1011
  ...e ?? {},
974
- labelDayButton: K(qe, e == null ? void 0 : e.labelDayButton, r.labelDayButton),
975
- labelMonthDropdown: K(Ct, e == null ? void 0 : e.labelMonthDropdown, r.labelMonthDropdown),
976
- labelNext: K(_t, e == null ? void 0 : e.labelNext, r.labelNext),
977
- labelPrevious: K(xt, e == null ? void 0 : e.labelPrevious, r.labelPrevious),
978
- labelWeekNumber: K(Tt, e == null ? void 0 : e.labelWeekNumber, r.labelWeekNumber),
979
- labelYearDropdown: K(It, e == null ? void 0 : e.labelYearDropdown, r.labelYearDropdown),
1012
+ labelDayButton: K(Re, e == null ? void 0 : e.labelDayButton, r.labelDayButton),
1013
+ labelMonthDropdown: K(St, e == null ? void 0 : e.labelMonthDropdown, r.labelMonthDropdown),
1014
+ labelNext: K(xt, e == null ? void 0 : e.labelNext, r.labelNext),
1015
+ labelPrevious: K(Yt, e == null ? void 0 : e.labelPrevious, r.labelPrevious),
1016
+ labelWeekNumber: K(Et, e == null ? void 0 : e.labelWeekNumber, r.labelWeekNumber),
1017
+ labelYearDropdown: K(Bt, e == null ? void 0 : e.labelYearDropdown, r.labelYearDropdown),
980
1018
  labelGrid: K(Ve, e == null ? void 0 : e.labelGrid, r.labelGrid),
981
- labelGridcell: K(Nt, e == null ? void 0 : e.labelGridcell, r.labelGridcell),
982
- labelNav: K(St, e == null ? void 0 : e.labelNav, r.labelNav),
983
- labelWeekNumberHeader: K(Et, e == null ? void 0 : e.labelWeekNumberHeader, r.labelWeekNumberHeader),
984
- labelWeekday: K(Yt, e == null ? void 0 : e.labelWeekday, r.labelWeekday)
1019
+ labelGridcell: K(Ct, e == null ? void 0 : e.labelGridcell, r.labelGridcell),
1020
+ labelNav: K(_t, e == null ? void 0 : e.labelNav, r.labelNav),
1021
+ labelWeekNumberHeader: K(It, e == null ? void 0 : e.labelWeekNumberHeader, r.labelWeekNumberHeader),
1022
+ labelWeekday: K(Tt, e == null ? void 0 : e.labelWeekday, r.labelWeekday)
985
1023
  };
986
1024
  }
987
- function jr(e, t, r, n, s) {
988
- const { startOfMonth: o, startOfYear: a, endOfYear: i, eachMonthOfInterval: d, getMonth: f } = s;
1025
+ function Rr(e, t, r, n, s) {
1026
+ const { startOfMonth: o, startOfYear: a, endOfYear: i, eachMonthOfInterval: d, getMonth: l } = s;
989
1027
  return d({
990
1028
  start: a(e),
991
1029
  end: i(e)
992
1030
  }).map((y) => {
993
- const g = n.formatMonthDropdown(y, s), O = f(y), W = t && y < o(t) || r && y > o(r) || !1;
1031
+ const g = n.formatMonthDropdown(y, s), O = l(y), W = t && y < o(t) || r && y > o(r) || !1;
994
1032
  return { value: O, label: g, disabled: W };
995
1033
  });
996
1034
  }
997
- function $r(e, t = {}, r = {}) {
1035
+ function Vr(e, t = {}, r = {}) {
998
1036
  let n = { ...t == null ? void 0 : t[h.Day] };
999
1037
  return Object.entries(e).filter(([, s]) => s === !0).forEach(([s]) => {
1000
1038
  n = {
@@ -1003,7 +1041,7 @@ function $r(e, t = {}, r = {}) {
1003
1041
  };
1004
1042
  }), n;
1005
1043
  }
1006
- function Gr(e, t, r, n) {
1044
+ function Ur(e, t, r, n) {
1007
1045
  const s = n ?? e.today(), o = r ? e.startOfBroadcastWeek(s, e) : t ? e.startOfISOWeek(s) : e.startOfWeek(s), a = [];
1008
1046
  for (let i = 0; i < 7; i++) {
1009
1047
  const d = e.addDays(o, i);
@@ -1011,10 +1049,10 @@ function Gr(e, t, r, n) {
1011
1049
  }
1012
1050
  return a;
1013
1051
  }
1014
- function qr(e, t, r, n, s = !1) {
1052
+ function Kr(e, t, r, n, s = !1) {
1015
1053
  if (!e || !t)
1016
1054
  return;
1017
- const { startOfYear: o, endOfYear: a, eachYearOfInterval: i, getYear: d } = n, f = o(e), l = a(t), u = i({ start: f, end: l });
1055
+ const { startOfYear: o, endOfYear: a, eachYearOfInterval: i, getYear: d } = n, l = o(e), f = a(t), u = i({ start: l, end: f });
1018
1056
  return s && u.reverse(), u.map((y) => {
1019
1057
  const g = r.formatYearDropdown(y, n);
1020
1058
  return {
@@ -1024,178 +1062,178 @@ function qr(e, t, r, n, s = !1) {
1024
1062
  };
1025
1063
  });
1026
1064
  }
1027
- function Vr(e, t = {}) {
1065
+ function Zr(e, t = {}) {
1028
1066
  var i;
1029
1067
  const { weekStartsOn: r, locale: n } = t, s = r ?? ((i = n == null ? void 0 : n.options) == null ? void 0 : i.weekStartsOn) ?? 0, o = (d) => {
1030
- const f = typeof d == "number" || typeof d == "string" ? new Date(d) : d;
1031
- return new F(f.getFullYear(), f.getMonth(), f.getDate(), 12, 0, 0, e);
1068
+ const l = typeof d == "number" || typeof d == "string" ? new Date(d) : d;
1069
+ return new F(l.getFullYear(), l.getMonth(), l.getDate(), 12, 0, 0, e);
1032
1070
  }, a = (d) => {
1033
- const f = o(d);
1034
- return new Date(f.getFullYear(), f.getMonth(), f.getDate(), 0, 0, 0, 0);
1071
+ const l = o(d);
1072
+ return new Date(l.getFullYear(), l.getMonth(), l.getDate(), 0, 0, 0, 0);
1035
1073
  };
1036
1074
  return {
1037
1075
  today: () => o(F.tz(e)),
1038
- newDate: (d, f, l) => new F(d, f, l, 12, 0, 0, e),
1076
+ newDate: (d, l, f) => new F(d, l, f, 12, 0, 0, e),
1039
1077
  startOfDay: (d) => o(d),
1040
- startOfWeek: (d, f) => {
1041
- const l = o(d), u = (f == null ? void 0 : f.weekStartsOn) ?? s, y = (l.getDay() - u + 7) % 7;
1042
- return l.setDate(l.getDate() - y), l;
1078
+ startOfWeek: (d, l) => {
1079
+ const f = o(d), u = (l == null ? void 0 : l.weekStartsOn) ?? s, y = (f.getDay() - u + 7) % 7;
1080
+ return f.setDate(f.getDate() - y), f;
1043
1081
  },
1044
1082
  startOfISOWeek: (d) => {
1045
- const f = o(d), l = (f.getDay() - 1 + 7) % 7;
1046
- return f.setDate(f.getDate() - l), f;
1083
+ const l = o(d), f = (l.getDay() - 1 + 7) % 7;
1084
+ return l.setDate(l.getDate() - f), l;
1047
1085
  },
1048
1086
  startOfMonth: (d) => {
1049
- const f = o(d);
1050
- return f.setDate(1), f;
1087
+ const l = o(d);
1088
+ return l.setDate(1), l;
1051
1089
  },
1052
1090
  startOfYear: (d) => {
1053
- const f = o(d);
1054
- return f.setMonth(0, 1), f;
1091
+ const l = o(d);
1092
+ return l.setMonth(0, 1), l;
1055
1093
  },
1056
- endOfWeek: (d, f) => {
1057
- const l = o(d), g = ((((f == null ? void 0 : f.weekStartsOn) ?? s) + 6) % 7 - l.getDay() + 7) % 7;
1058
- return l.setDate(l.getDate() + g), l;
1094
+ endOfWeek: (d, l) => {
1095
+ const f = o(d), g = ((((l == null ? void 0 : l.weekStartsOn) ?? s) + 6) % 7 - f.getDay() + 7) % 7;
1096
+ return f.setDate(f.getDate() + g), f;
1059
1097
  },
1060
1098
  endOfISOWeek: (d) => {
1061
- const f = o(d), l = (7 - f.getDay()) % 7;
1062
- return f.setDate(f.getDate() + l), f;
1099
+ const l = o(d), f = (7 - l.getDay()) % 7;
1100
+ return l.setDate(l.getDate() + f), l;
1063
1101
  },
1064
1102
  endOfMonth: (d) => {
1065
- const f = o(d);
1066
- return f.setMonth(f.getMonth() + 1, 0), f;
1103
+ const l = o(d);
1104
+ return l.setMonth(l.getMonth() + 1, 0), l;
1067
1105
  },
1068
1106
  endOfYear: (d) => {
1069
- const f = o(d);
1070
- return f.setMonth(11, 31), f;
1107
+ const l = o(d);
1108
+ return l.setMonth(11, 31), l;
1071
1109
  },
1072
1110
  eachMonthOfInterval: (d) => {
1073
- const f = o(d.start), l = o(d.end), u = [], y = new F(f.getFullYear(), f.getMonth(), 1, 12, 0, 0, e), g = l.getFullYear() * 12 + l.getMonth();
1111
+ const l = o(d.start), f = o(d.end), u = [], y = new F(l.getFullYear(), l.getMonth(), 1, 12, 0, 0, e), g = f.getFullYear() * 12 + f.getMonth();
1074
1112
  for (; y.getFullYear() * 12 + y.getMonth() <= g; )
1075
1113
  u.push(new F(y, e)), y.setMonth(y.getMonth() + 1, 1);
1076
1114
  return u;
1077
1115
  },
1078
1116
  // Normalize to noon once before arithmetic (avoid DST/midnight edge cases),
1079
1117
  // mutate the same TZDate, and return it.
1080
- addDays: (d, f) => {
1081
- const l = o(d);
1082
- return l.setDate(l.getDate() + f), l;
1118
+ addDays: (d, l) => {
1119
+ const f = o(d);
1120
+ return f.setDate(f.getDate() + l), f;
1083
1121
  },
1084
- addWeeks: (d, f) => {
1085
- const l = o(d);
1086
- return l.setDate(l.getDate() + f * 7), l;
1122
+ addWeeks: (d, l) => {
1123
+ const f = o(d);
1124
+ return f.setDate(f.getDate() + l * 7), f;
1087
1125
  },
1088
- addMonths: (d, f) => {
1089
- const l = o(d);
1090
- return l.setMonth(l.getMonth() + f), l;
1126
+ addMonths: (d, l) => {
1127
+ const f = o(d);
1128
+ return f.setMonth(f.getMonth() + l), f;
1091
1129
  },
1092
- addYears: (d, f) => {
1093
- const l = o(d);
1094
- return l.setFullYear(l.getFullYear() + f), l;
1130
+ addYears: (d, l) => {
1131
+ const f = o(d);
1132
+ return f.setFullYear(f.getFullYear() + l), f;
1095
1133
  },
1096
1134
  eachYearOfInterval: (d) => {
1097
- const f = o(d.start), l = o(d.end), u = [], y = new F(f.getFullYear(), 0, 1, 12, 0, 0, e);
1098
- for (; y.getFullYear() <= l.getFullYear(); )
1135
+ const l = o(d.start), f = o(d.end), u = [], y = new F(l.getFullYear(), 0, 1, 12, 0, 0, e);
1136
+ for (; y.getFullYear() <= f.getFullYear(); )
1099
1137
  u.push(new F(y, e)), y.setFullYear(y.getFullYear() + 1, 0, 1);
1100
1138
  return u;
1101
1139
  },
1102
- getWeek: (d, f) => {
1140
+ getWeek: (d, l) => {
1103
1141
  var u;
1104
- const l = a(d);
1105
- return ct(l, {
1106
- weekStartsOn: (f == null ? void 0 : f.weekStartsOn) ?? s,
1107
- firstWeekContainsDate: (f == null ? void 0 : f.firstWeekContainsDate) ?? ((u = n == null ? void 0 : n.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1
1142
+ const f = a(d);
1143
+ return ut(f, {
1144
+ weekStartsOn: (l == null ? void 0 : l.weekStartsOn) ?? s,
1145
+ firstWeekContainsDate: (l == null ? void 0 : l.firstWeekContainsDate) ?? ((u = n == null ? void 0 : n.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1
1108
1146
  });
1109
1147
  },
1110
1148
  getISOWeek: (d) => {
1111
- const f = a(d);
1112
- return lt(f);
1149
+ const l = a(d);
1150
+ return ct(l);
1113
1151
  },
1114
- differenceInCalendarDays: (d, f) => {
1115
- const l = a(d), u = a(f);
1116
- return ft(l, u);
1152
+ differenceInCalendarDays: (d, l) => {
1153
+ const f = a(d), u = a(l);
1154
+ return ft(f, u);
1117
1155
  },
1118
- differenceInCalendarMonths: (d, f) => {
1119
- const l = a(d), u = a(f);
1120
- return yt(l, u);
1156
+ differenceInCalendarMonths: (d, l) => {
1157
+ const f = a(d), u = a(l);
1158
+ return gt(f, u);
1121
1159
  }
1122
1160
  };
1123
1161
  }
1124
- const he = (e) => e instanceof HTMLElement ? e : null, Te = (e) => [
1162
+ const ye = (e) => e instanceof HTMLElement ? e : null, Ie = (e) => [
1125
1163
  ...e.querySelectorAll("[data-animated-month]") ?? []
1126
- ], Rr = (e) => he(e.querySelector("[data-animated-month]")), Ee = (e) => he(e.querySelector("[data-animated-caption]")), Ie = (e) => he(e.querySelector("[data-animated-weeks]")), Ur = (e) => he(e.querySelector("[data-animated-nav]")), Kr = (e) => he(e.querySelector("[data-animated-weekdays]"));
1127
- function Zr(e, t, { classNames: r, months: n, focused: s, dateLib: o }) {
1128
- const a = be(null), i = be(n), d = be(!1);
1129
- un(() => {
1130
- const f = i.current;
1164
+ ], Jr = (e) => ye(e.querySelector("[data-animated-month]")), Be = (e) => ye(e.querySelector("[data-animated-caption]")), Fe = (e) => ye(e.querySelector("[data-animated-weeks]")), Qr = (e) => ye(e.querySelector("[data-animated-nav]")), Xr = (e) => ye(e.querySelector("[data-animated-weekdays]"));
1165
+ function Lr(e, t, { classNames: r, months: n, focused: s, dateLib: o }) {
1166
+ const a = ke(null), i = ke(n), d = ke(!1);
1167
+ hn(() => {
1168
+ const l = i.current;
1131
1169
  if (i.current = n, !t || !e.current || // safety check because the ref can be set to anything by consumers
1132
1170
  !(e.current instanceof HTMLElement) || // validation required for the animation to work as expected
1133
- n.length === 0 || f.length === 0 || n.length !== f.length)
1171
+ n.length === 0 || l.length === 0 || n.length !== l.length)
1134
1172
  return;
1135
- const l = o.isSameMonth(n[0].date, f[0].date), u = o.isAfter(n[0].date, f[0].date), y = u ? r[P.caption_after_enter] : r[P.caption_before_enter], g = u ? r[P.weeks_after_enter] : r[P.weeks_before_enter], O = a.current, W = e.current.cloneNode(!0);
1136
- if (W instanceof HTMLElement ? (Te(W).forEach((b) => {
1137
- if (!(b instanceof HTMLElement))
1173
+ const f = o.isSameMonth(n[0].date, l[0].date), u = o.isAfter(n[0].date, l[0].date), y = u ? r[A.caption_after_enter] : r[A.caption_before_enter], g = u ? r[A.weeks_after_enter] : r[A.weeks_before_enter], O = a.current, W = e.current.cloneNode(!0);
1174
+ if (W instanceof HTMLElement ? (Ie(W).forEach((v) => {
1175
+ if (!(v instanceof HTMLElement))
1138
1176
  return;
1139
- const N = Rr(b);
1140
- N && b.contains(N) && b.removeChild(N);
1141
- const p = Ee(b);
1177
+ const N = Jr(v);
1178
+ N && v.contains(N) && v.removeChild(N);
1179
+ const p = Be(v);
1142
1180
  p && p.classList.remove(y);
1143
- const c = Ie(b);
1181
+ const c = Fe(v);
1144
1182
  c && c.classList.remove(g);
1145
- }), a.current = W) : a.current = null, d.current || l || // skip animation if a day is focused because it can cause issues to the animation and is better for a11y
1183
+ }), a.current = W) : a.current = null, d.current || f || // skip animation if a day is focused because it can cause issues to the animation and is better for a11y
1146
1184
  s)
1147
1185
  return;
1148
- const D = O instanceof HTMLElement ? Te(O) : [], S = Te(e.current);
1149
- if (S != null && S.every((M) => M instanceof HTMLElement) && D && D.every((M) => M instanceof HTMLElement)) {
1186
+ const k = O instanceof HTMLElement ? Ie(O) : [], S = Ie(e.current);
1187
+ if (S != null && S.every((M) => M instanceof HTMLElement) && k && k.every((M) => M instanceof HTMLElement)) {
1150
1188
  d.current = !0, e.current.style.isolation = "isolate";
1151
- const M = Ur(e.current);
1152
- M && (M.style.zIndex = "1"), S.forEach((b, N) => {
1153
- const p = D[N];
1189
+ const M = Qr(e.current);
1190
+ M && (M.style.zIndex = "1"), S.forEach((v, N) => {
1191
+ const p = k[N];
1154
1192
  if (!p)
1155
1193
  return;
1156
- b.style.position = "relative", b.style.overflow = "hidden";
1157
- const c = Ee(b);
1194
+ v.style.position = "relative", v.style.overflow = "hidden";
1195
+ const c = Be(v);
1158
1196
  c && c.classList.add(y);
1159
- const w = Ie(b);
1197
+ const w = Fe(v);
1160
1198
  w && w.classList.add(g);
1161
1199
  const T = () => {
1162
- d.current = !1, e.current && (e.current.style.isolation = ""), M && (M.style.zIndex = ""), c && c.classList.remove(y), w && w.classList.remove(g), b.style.position = "", b.style.overflow = "", b.contains(p) && b.removeChild(p);
1200
+ d.current = !1, e.current && (e.current.style.isolation = ""), M && (M.style.zIndex = ""), c && c.classList.remove(y), w && w.classList.remove(g), v.style.position = "", v.style.overflow = "", v.contains(p) && v.removeChild(p);
1163
1201
  };
1164
1202
  p.style.pointerEvents = "none", p.style.position = "absolute", p.style.overflow = "hidden", p.setAttribute("aria-hidden", "true");
1165
- const I = Kr(p);
1203
+ const I = Xr(p);
1166
1204
  I && (I.style.opacity = "0");
1167
- const E = Ee(p);
1168
- E && (E.classList.add(u ? r[P.caption_before_exit] : r[P.caption_after_exit]), E.addEventListener("animationend", T));
1169
- const j = Ie(p);
1170
- j && j.classList.add(u ? r[P.weeks_before_exit] : r[P.weeks_after_exit]), b.insertBefore(p, b.firstChild);
1205
+ const E = Be(p);
1206
+ E && (E.classList.add(u ? r[A.caption_before_exit] : r[A.caption_after_exit]), E.addEventListener("animationend", T));
1207
+ const j = Fe(p);
1208
+ j && j.classList.add(u ? r[A.weeks_before_exit] : r[A.weeks_after_exit]), v.insertBefore(p, v.firstChild);
1171
1209
  });
1172
1210
  }
1173
1211
  });
1174
1212
  }
1175
- function Jr(e, t, r, n) {
1176
- const s = e[0], o = e[e.length - 1], { ISOWeek: a, fixedWeeks: i, broadcastCalendar: d } = r ?? {}, { addDays: f, differenceInCalendarDays: l, differenceInCalendarMonths: u, endOfBroadcastWeek: y, endOfISOWeek: g, endOfMonth: O, endOfWeek: W, isAfter: D, startOfBroadcastWeek: S, startOfISOWeek: M, startOfWeek: b } = n, N = d ? S(s, n) : a ? M(s) : b(s), p = d ? y(o) : a ? g(O(o)) : W(O(o)), c = t && (d ? y(t) : a ? g(t) : W(t)), w = c && D(p, c) ? c : p, T = l(w, N), I = u(o, s) + 1, E = [];
1213
+ function es(e, t, r, n) {
1214
+ const s = e[0], o = e[e.length - 1], { ISOWeek: a, fixedWeeks: i, broadcastCalendar: d } = r ?? {}, { addDays: l, differenceInCalendarDays: f, differenceInCalendarMonths: u, endOfBroadcastWeek: y, endOfISOWeek: g, endOfMonth: O, endOfWeek: W, isAfter: k, startOfBroadcastWeek: S, startOfISOWeek: M, startOfWeek: v } = n, N = d ? S(s, n) : a ? M(s) : v(s), p = d ? y(o) : a ? g(O(o)) : W(O(o)), c = t && (d ? y(t) : a ? g(t) : W(t)), w = c && k(p, c) ? c : p, T = f(w, N), I = u(o, s) + 1, E = [];
1177
1215
  for (let X = 0; X <= T; X++) {
1178
- const $ = f(N, X);
1216
+ const $ = l(N, X);
1179
1217
  E.push($);
1180
1218
  }
1181
1219
  const re = (d ? 35 : 42) * I;
1182
1220
  if (i && E.length < re) {
1183
1221
  const X = re - E.length;
1184
1222
  for (let $ = 0; $ < X; $++) {
1185
- const oe = f(E[E.length - 1], 1);
1223
+ const oe = l(E[E.length - 1], 1);
1186
1224
  E.push(oe);
1187
1225
  }
1188
1226
  }
1189
1227
  return E;
1190
1228
  }
1191
- function Qr(e) {
1229
+ function ts(e) {
1192
1230
  const t = [];
1193
1231
  return e.reduce((r, n) => {
1194
1232
  const s = n.weeks.reduce((o, a) => o.concat(a.days.slice()), t.slice());
1195
1233
  return r.concat(s.slice());
1196
1234
  }, t.slice());
1197
1235
  }
1198
- function Xr(e, t, r, n) {
1236
+ function ns(e, t, r, n) {
1199
1237
  const { numberOfMonths: s = 1 } = r, o = [];
1200
1238
  for (let a = 0; a < s; a++) {
1201
1239
  const i = n.addMonths(e, a);
@@ -1205,92 +1243,92 @@ function Xr(e, t, r, n) {
1205
1243
  }
1206
1244
  return o;
1207
1245
  }
1208
- function nt(e, t, r, n) {
1246
+ function rt(e, t, r, n) {
1209
1247
  const { month: s, defaultMonth: o, today: a = n.today(), numberOfMonths: i = 1 } = e;
1210
1248
  let d = s || o || a;
1211
- const { differenceInCalendarMonths: f, addMonths: l, startOfMonth: u } = n;
1212
- if (r && f(r, d) < i - 1) {
1249
+ const { differenceInCalendarMonths: l, addMonths: f, startOfMonth: u } = n;
1250
+ if (r && l(r, d) < i - 1) {
1213
1251
  const y = -1 * (i - 1);
1214
- d = l(r, y);
1252
+ d = f(r, y);
1215
1253
  }
1216
- return t && f(d, t) < 0 && (d = t), u(d);
1254
+ return t && l(d, t) < 0 && (d = t), u(d);
1217
1255
  }
1218
- function Lr(e, t, r, n) {
1219
- const { addDays: s, endOfBroadcastWeek: o, endOfISOWeek: a, endOfMonth: i, endOfWeek: d, getISOWeek: f, getWeek: l, startOfBroadcastWeek: u, startOfISOWeek: y, startOfWeek: g } = n, O = e.reduce((W, D) => {
1220
- const S = r.broadcastCalendar ? u(D, n) : r.ISOWeek ? y(D) : g(D), M = r.broadcastCalendar ? o(D) : r.ISOWeek ? a(i(D)) : d(i(D)), b = t.filter((w) => w >= S && w <= M), N = r.broadcastCalendar ? 35 : 42;
1221
- if (r.fixedWeeks && b.length < N) {
1256
+ function rs(e, t, r, n) {
1257
+ const { addDays: s, endOfBroadcastWeek: o, endOfISOWeek: a, endOfMonth: i, endOfWeek: d, getISOWeek: l, getWeek: f, startOfBroadcastWeek: u, startOfISOWeek: y, startOfWeek: g } = n, O = e.reduce((W, k) => {
1258
+ const S = r.broadcastCalendar ? u(k, n) : r.ISOWeek ? y(k) : g(k), M = r.broadcastCalendar ? o(k) : r.ISOWeek ? a(i(k)) : d(i(k)), v = t.filter((w) => w >= S && w <= M), N = r.broadcastCalendar ? 35 : 42;
1259
+ if (r.fixedWeeks && v.length < N) {
1222
1260
  const w = t.filter((T) => {
1223
- const I = N - b.length;
1261
+ const I = N - v.length;
1224
1262
  return T > M && T <= s(M, I);
1225
1263
  });
1226
- b.push(...w);
1264
+ v.push(...w);
1227
1265
  }
1228
- const p = b.reduce((w, T) => {
1229
- const I = r.ISOWeek ? f(T) : l(T), E = w.find((re) => re.weekNumber === I), j = new Mt(T, D, n);
1230
- return E ? E.days.push(j) : w.push(new Kn(I, [j])), w;
1231
- }, []), c = new Un(D, p);
1266
+ const p = v.reduce((w, T) => {
1267
+ const I = r.ISOWeek ? l(T) : f(T), E = w.find((re) => re.weekNumber === I), j = new kt(T, k, n);
1268
+ return E ? E.days.push(j) : w.push(new Xn(I, [j])), w;
1269
+ }, []), c = new Qn(k, p);
1232
1270
  return W.push(c), W;
1233
1271
  }, []);
1234
1272
  return r.reverseMonths ? O.reverse() : O;
1235
1273
  }
1236
- function es(e, t) {
1274
+ function ss(e, t) {
1237
1275
  let { startMonth: r, endMonth: n } = e;
1238
- const { startOfYear: s, startOfDay: o, startOfMonth: a, endOfMonth: i, addYears: d, endOfYear: f, newDate: l, today: u } = t, { fromYear: y, toYear: g, fromMonth: O, toMonth: W } = e;
1239
- !r && O && (r = O), !r && y && (r = t.newDate(y, 0, 1)), !n && W && (n = W), !n && g && (n = l(g, 11, 31));
1240
- const D = e.captionLayout === "dropdown" || e.captionLayout === "dropdown-years";
1241
- return r ? r = a(r) : y ? r = l(y, 0, 1) : !r && D && (r = s(d(e.today ?? u(), -100))), n ? n = i(n) : g ? n = l(g, 11, 31) : !n && D && (n = f(e.today ?? u())), [
1276
+ const { startOfYear: s, startOfDay: o, startOfMonth: a, endOfMonth: i, addYears: d, endOfYear: l, newDate: f, today: u } = t, { fromYear: y, toYear: g, fromMonth: O, toMonth: W } = e;
1277
+ !r && O && (r = O), !r && y && (r = t.newDate(y, 0, 1)), !n && W && (n = W), !n && g && (n = f(g, 11, 31));
1278
+ const k = e.captionLayout === "dropdown" || e.captionLayout === "dropdown-years";
1279
+ return r ? r = a(r) : y ? r = f(y, 0, 1) : !r && k && (r = s(d(e.today ?? u(), -100))), n ? n = i(n) : g ? n = f(g, 11, 31) : !n && k && (n = l(e.today ?? u())), [
1242
1280
  r && o(r),
1243
1281
  n && o(n)
1244
1282
  ];
1245
1283
  }
1246
- function ts(e, t, r, n) {
1284
+ function os(e, t, r, n) {
1247
1285
  if (r.disableNavigation)
1248
1286
  return;
1249
- const { pagedNavigation: s, numberOfMonths: o = 1 } = r, { startOfMonth: a, addMonths: i, differenceInCalendarMonths: d } = n, f = s ? o : 1, l = a(e);
1287
+ const { pagedNavigation: s, numberOfMonths: o = 1 } = r, { startOfMonth: a, addMonths: i, differenceInCalendarMonths: d } = n, l = s ? o : 1, f = a(e);
1250
1288
  if (!t)
1251
- return i(l, f);
1289
+ return i(f, l);
1252
1290
  if (!(d(t, e) < o))
1253
- return i(l, f);
1291
+ return i(f, l);
1254
1292
  }
1255
- function ns(e, t, r, n) {
1293
+ function as(e, t, r, n) {
1256
1294
  if (r.disableNavigation)
1257
1295
  return;
1258
- const { pagedNavigation: s, numberOfMonths: o } = r, { startOfMonth: a, addMonths: i, differenceInCalendarMonths: d } = n, f = s ? o ?? 1 : 1, l = a(e);
1296
+ const { pagedNavigation: s, numberOfMonths: o } = r, { startOfMonth: a, addMonths: i, differenceInCalendarMonths: d } = n, l = s ? o ?? 1 : 1, f = a(e);
1259
1297
  if (!t)
1260
- return i(l, -f);
1261
- if (!(d(l, t) <= 0))
1262
- return i(l, -f);
1298
+ return i(f, -l);
1299
+ if (!(d(f, t) <= 0))
1300
+ return i(f, -l);
1263
1301
  }
1264
- function rs(e) {
1302
+ function is(e) {
1265
1303
  const t = [];
1266
1304
  return e.reduce((r, n) => r.concat(n.weeks.slice()), t.slice());
1267
1305
  }
1268
- function Oe(e, t) {
1269
- const [r, n] = Me(e);
1306
+ function We(e, t) {
1307
+ const [r, n] = De(e);
1270
1308
  return [t === void 0 ? r : t, n];
1271
1309
  }
1272
- function ss(e, t) {
1310
+ function ds(e, t) {
1273
1311
  var N;
1274
- const [r, n] = es(e, t), { startOfMonth: s, endOfMonth: o } = t, a = nt(e, r, n, t), [i, d] = Oe(
1312
+ const [r, n] = ss(e, t), { startOfMonth: s, endOfMonth: o } = t, a = rt(e, r, n, t), [i, d] = We(
1275
1313
  a,
1276
1314
  // initialMonth is always computed from props.month if provided
1277
1315
  e.month ? a : void 0
1278
1316
  );
1279
- dt(() => {
1280
- const p = nt(e, r, n, t);
1317
+ lt(() => {
1318
+ const p = rt(e, r, n, t);
1281
1319
  d(p);
1282
1320
  }, [e.timeZone]);
1283
- const { months: f, weeks: l, days: u, previousMonth: y, nextMonth: g } = pe(() => {
1284
- const p = Xr(i, n, { numberOfMonths: e.numberOfMonths }, t), c = Jr(p, e.endMonth ? o(e.endMonth) : void 0, {
1321
+ const { months: l, weeks: f, days: u, previousMonth: y, nextMonth: g } = he(() => {
1322
+ const p = ns(i, n, { numberOfMonths: e.numberOfMonths }, t), c = es(p, e.endMonth ? o(e.endMonth) : void 0, {
1285
1323
  ISOWeek: e.ISOWeek,
1286
1324
  fixedWeeks: e.fixedWeeks,
1287
1325
  broadcastCalendar: e.broadcastCalendar
1288
- }, t), w = Lr(p, c, {
1326
+ }, t), w = rs(p, c, {
1289
1327
  broadcastCalendar: e.broadcastCalendar,
1290
1328
  fixedWeeks: e.fixedWeeks,
1291
1329
  ISOWeek: e.ISOWeek,
1292
1330
  reverseMonths: e.reverseMonths
1293
- }, t), T = rs(w), I = Qr(w), E = ns(i, r, e, t), j = ts(i, n, e, t);
1331
+ }, t), T = is(w), I = ts(w), E = as(i, r, e, t), j = os(i, n, e, t);
1294
1332
  return {
1295
1333
  months: w,
1296
1334
  weeks: T,
@@ -1311,15 +1349,15 @@ function ss(e, t) {
1311
1349
  e.numberOfMonths,
1312
1350
  e.pagedNavigation,
1313
1351
  e.reverseMonths
1314
- ]), { disableNavigation: O, onMonthChange: W } = e, D = (p) => l.some((c) => c.days.some((w) => w.isEqualTo(p))), S = (p) => {
1352
+ ]), { disableNavigation: O, onMonthChange: W } = e, k = (p) => f.some((c) => c.days.some((w) => w.isEqualTo(p))), S = (p) => {
1315
1353
  if (O)
1316
1354
  return;
1317
1355
  let c = s(p);
1318
1356
  r && c < s(r) && (c = s(r)), n && c > s(n) && (c = s(n)), d(c), W == null || W(c);
1319
1357
  };
1320
1358
  return {
1321
- months: f,
1322
- weeks: l,
1359
+ months: l,
1360
+ weeks: f,
1323
1361
  days: u,
1324
1362
  navStart: r,
1325
1363
  navEnd: n,
@@ -1327,7 +1365,7 @@ function ss(e, t) {
1327
1365
  nextMonth: g,
1328
1366
  goToMonth: S,
1329
1367
  goToDay: (p) => {
1330
- D(p) || S(p.date);
1368
+ k(p) || S(p.date);
1331
1369
  }
1332
1370
  };
1333
1371
  }
@@ -1335,76 +1373,76 @@ var Z;
1335
1373
  (function(e) {
1336
1374
  e[e.Today = 0] = "Today", e[e.Selected = 1] = "Selected", e[e.LastFocused = 2] = "LastFocused", e[e.FocusedModifier = 3] = "FocusedModifier";
1337
1375
  })(Z || (Z = {}));
1338
- function rt(e) {
1376
+ function st(e) {
1339
1377
  return !e[Y.disabled] && !e[Y.hidden] && !e[Y.outside];
1340
1378
  }
1341
- function os(e, t, r, n) {
1379
+ function ls(e, t, r, n) {
1342
1380
  let s, o = -1;
1343
1381
  for (const a of e) {
1344
1382
  const i = t(a);
1345
- rt(i) && (i[Y.focused] && o < Z.FocusedModifier ? (s = a, o = Z.FocusedModifier) : n != null && n.isEqualTo(a) && o < Z.LastFocused ? (s = a, o = Z.LastFocused) : r(a.date) && o < Z.Selected ? (s = a, o = Z.Selected) : i[Y.today] && o < Z.Today && (s = a, o = Z.Today));
1383
+ st(i) && (i[Y.focused] && o < Z.FocusedModifier ? (s = a, o = Z.FocusedModifier) : n != null && n.isEqualTo(a) && o < Z.LastFocused ? (s = a, o = Z.LastFocused) : r(a.date) && o < Z.Selected ? (s = a, o = Z.Selected) : i[Y.today] && o < Z.Today && (s = a, o = Z.Today));
1346
1384
  }
1347
- return s || (s = e.find((a) => rt(t(a)))), s;
1385
+ return s || (s = e.find((a) => st(t(a)))), s;
1348
1386
  }
1349
- function as(e, t, r, n, s, o, a) {
1350
- const { ISOWeek: i, broadcastCalendar: d } = o, { addDays: f, addMonths: l, addWeeks: u, addYears: y, endOfBroadcastWeek: g, endOfISOWeek: O, endOfWeek: W, max: D, min: S, startOfBroadcastWeek: M, startOfISOWeek: b, startOfWeek: N } = a;
1387
+ function fs(e, t, r, n, s, o, a) {
1388
+ const { ISOWeek: i, broadcastCalendar: d } = o, { addDays: l, addMonths: f, addWeeks: u, addYears: y, endOfBroadcastWeek: g, endOfISOWeek: O, endOfWeek: W, max: k, min: S, startOfBroadcastWeek: M, startOfISOWeek: v, startOfWeek: N } = a;
1351
1389
  let c = {
1352
- day: f,
1390
+ day: l,
1353
1391
  week: u,
1354
- month: l,
1392
+ month: f,
1355
1393
  year: y,
1356
- startOfWeek: (w) => d ? M(w, a) : i ? b(w) : N(w),
1394
+ startOfWeek: (w) => d ? M(w, a) : i ? v(w) : N(w),
1357
1395
  endOfWeek: (w) => d ? g(w) : i ? O(w) : W(w)
1358
1396
  }[e](r, t === "after" ? 1 : -1);
1359
- return t === "before" && n ? c = D([n, c]) : t === "after" && s && (c = S([s, c])), c;
1397
+ return t === "before" && n ? c = k([n, c]) : t === "after" && s && (c = S([s, c])), c;
1360
1398
  }
1361
- function Bt(e, t, r, n, s, o, a, i = 0) {
1399
+ function Ft(e, t, r, n, s, o, a, i = 0) {
1362
1400
  if (i > 365)
1363
1401
  return;
1364
- const d = as(e, t, r.date, n, s, o, a), f = !!(o.disabled && te(d, o.disabled, a)), l = !!(o.hidden && te(d, o.hidden, a)), u = d, y = new Mt(d, u, a);
1365
- return !f && !l ? y : Bt(e, t, y, n, s, o, a, i + 1);
1402
+ const d = fs(e, t, r.date, n, s, o, a), l = !!(o.disabled && te(d, o.disabled, a)), f = !!(o.hidden && te(d, o.hidden, a)), u = d, y = new kt(d, u, a);
1403
+ return !l && !f ? y : Ft(e, t, y, n, s, o, a, i + 1);
1366
1404
  }
1367
- function is(e, t, r, n, s) {
1368
- const { autoFocus: o } = e, [a, i] = Me(), d = os(t.days, r, n || (() => !1), a), [f, l] = Me(o ? d : void 0);
1405
+ function cs(e, t, r, n, s) {
1406
+ const { autoFocus: o } = e, [a, i] = De(), d = ls(t.days, r, n || (() => !1), a), [l, f] = De(o ? d : void 0);
1369
1407
  return {
1370
1408
  isFocusTarget: (W) => !!(d != null && d.isEqualTo(W)),
1371
- setFocused: l,
1372
- focused: f,
1409
+ setFocused: f,
1410
+ focused: l,
1373
1411
  blur: () => {
1374
- i(f), l(void 0);
1412
+ i(l), f(void 0);
1375
1413
  },
1376
- moveFocus: (W, D) => {
1377
- if (!f)
1414
+ moveFocus: (W, k) => {
1415
+ if (!l)
1378
1416
  return;
1379
- const S = Bt(W, D, f, t.navStart, t.navEnd, e, s);
1380
- S && (e.disableNavigation && !t.days.some((b) => b.isEqualTo(S)) || (t.goToDay(S), l(S)));
1417
+ const S = Ft(W, k, l, t.navStart, t.navEnd, e, s);
1418
+ S && (e.disableNavigation && !t.days.some((v) => v.isEqualTo(S)) || (t.goToDay(S), f(S)));
1381
1419
  }
1382
1420
  };
1383
1421
  }
1384
- function ds(e, t) {
1385
- const { selected: r, required: n, onSelect: s } = e, [o, a] = Oe(r, s ? r : void 0), i = s ? r : o, { isSameDay: d } = t, f = (g) => (i == null ? void 0 : i.some((O) => d(O, g))) ?? !1, { min: l, max: u } = e;
1422
+ function us(e, t) {
1423
+ const { selected: r, required: n, onSelect: s } = e, [o, a] = We(r, s ? r : void 0), i = s ? r : o, { isSameDay: d } = t, l = (g) => (i == null ? void 0 : i.some((O) => d(O, g))) ?? !1, { min: f, max: u } = e;
1386
1424
  return {
1387
1425
  selected: i,
1388
1426
  select: (g, O, W) => {
1389
- let D = [...i ?? []];
1390
- if (f(g)) {
1391
- if ((i == null ? void 0 : i.length) === l || n && (i == null ? void 0 : i.length) === 1)
1427
+ let k = [...i ?? []];
1428
+ if (l(g)) {
1429
+ if ((i == null ? void 0 : i.length) === f || n && (i == null ? void 0 : i.length) === 1)
1392
1430
  return;
1393
- D = i == null ? void 0 : i.filter((S) => !d(S, g));
1431
+ k = i == null ? void 0 : i.filter((S) => !d(S, g));
1394
1432
  } else
1395
- (i == null ? void 0 : i.length) === u ? D = [g] : D = [...D, g];
1396
- return s || a(D), s == null || s(D, g, O, W), D;
1433
+ (i == null ? void 0 : i.length) === u ? k = [g] : k = [...k, g];
1434
+ return s || a(k), s == null || s(k, g, O, W), k;
1397
1435
  },
1398
- isSelected: f
1436
+ isSelected: l
1399
1437
  };
1400
1438
  }
1401
- function fs(e, t, r = 0, n = 0, s = !1, o = Q) {
1402
- const { from: a, to: i } = t || {}, { isSameDay: d, isAfter: f, isBefore: l } = o;
1439
+ function hs(e, t, r = 0, n = 0, s = !1, o = Q) {
1440
+ const { from: a, to: i } = t || {}, { isSameDay: d, isAfter: l, isBefore: f } = o;
1403
1441
  let u;
1404
1442
  if (!a && !i)
1405
1443
  u = { from: e, to: r > 0 ? void 0 : e };
1406
1444
  else if (a && !i)
1407
- d(a, e) ? r === 0 ? u = { from: a, to: e } : s ? u = { from: a, to: void 0 } : u = void 0 : l(e, a) ? u = { from: e, to: a } : u = { from: a, to: e };
1445
+ d(a, e) ? r === 0 ? u = { from: a, to: e } : s ? u = { from: a, to: void 0 } : u = void 0 : f(e, a) ? u = { from: e, to: a } : u = { from: a, to: e };
1408
1446
  else if (a && i)
1409
1447
  if (d(a, e) && d(i, e))
1410
1448
  s ? u = { from: a, to: i } : u = void 0;
@@ -1412,11 +1450,11 @@ function fs(e, t, r = 0, n = 0, s = !1, o = Q) {
1412
1450
  u = { from: a, to: r > 0 ? void 0 : e };
1413
1451
  else if (d(i, e))
1414
1452
  u = { from: e, to: r > 0 ? void 0 : e };
1415
- else if (l(e, a))
1416
- u = { from: e, to: i };
1417
1453
  else if (f(e, a))
1454
+ u = { from: e, to: i };
1455
+ else if (l(e, a))
1418
1456
  u = { from: a, to: e };
1419
- else if (f(e, i))
1457
+ else if (l(e, i))
1420
1458
  u = { from: a, to: e };
1421
1459
  else
1422
1460
  throw new Error("Invalid range");
@@ -1426,7 +1464,7 @@ function fs(e, t, r = 0, n = 0, s = !1, o = Q) {
1426
1464
  }
1427
1465
  return u;
1428
1466
  }
1429
- function ls(e, t, r = Q) {
1467
+ function ms(e, t, r = Q) {
1430
1468
  const n = Array.isArray(t) ? t : [t];
1431
1469
  let s = e.from;
1432
1470
  const o = r.differenceInCalendarDays(e.to, e.from), a = Math.min(o, 6);
@@ -1437,46 +1475,46 @@ function ls(e, t, r = Q) {
1437
1475
  }
1438
1476
  return !1;
1439
1477
  }
1440
- function st(e, t, r = Q) {
1478
+ function ot(e, t, r = Q) {
1441
1479
  return ee(e, t.from, !1, r) || ee(e, t.to, !1, r) || ee(t, e.from, !1, r) || ee(t, e.to, !1, r);
1442
1480
  }
1443
- function cs(e, t, r = Q) {
1481
+ function ys(e, t, r = Q) {
1444
1482
  const n = Array.isArray(t) ? t : [t];
1445
- if (n.filter((i) => typeof i != "function").some((i) => typeof i == "boolean" ? i : r.isDate(i) ? ee(e, i, !1, r) : Ot(i, r) ? i.some((d) => ee(e, d, !1, r)) : ke(i) ? i.from && i.to ? st(e, { from: i.from, to: i.to }, r) : !1 : kt(i) ? ls(e, i.dayOfWeek, r) : je(i) ? r.isAfter(i.before, i.after) ? st(e, {
1483
+ if (n.filter((i) => typeof i != "function").some((i) => typeof i == "boolean" ? i : r.isDate(i) ? ee(e, i, !1, r) : wt(i, r) ? i.some((d) => ee(e, d, !1, r)) : we(i) ? i.from && i.to ? ot(e, { from: i.from, to: i.to }, r) : !1 : Ot(i) ? ms(e, i.dayOfWeek, r) : $e(i) ? r.isAfter(i.before, i.after) ? ot(e, {
1446
1484
  from: r.addDays(i.after, 1),
1447
1485
  to: r.addDays(i.before, -1)
1448
- }, r) : te(e.from, i, r) || te(e.to, i, r) : $e(i) || Ge(i) ? te(e.from, i, r) || te(e.to, i, r) : !1))
1486
+ }, r) : te(e.from, i, r) || te(e.to, i, r) : Ge(i) || qe(i) ? te(e.from, i, r) || te(e.to, i, r) : !1))
1449
1487
  return !0;
1450
1488
  const a = n.filter((i) => typeof i == "function");
1451
1489
  if (a.length) {
1452
1490
  let i = e.from;
1453
1491
  const d = r.differenceInCalendarDays(e.to, e.from);
1454
- for (let f = 0; f <= d; f++) {
1455
- if (a.some((l) => l(i)))
1492
+ for (let l = 0; l <= d; l++) {
1493
+ if (a.some((f) => f(i)))
1456
1494
  return !0;
1457
1495
  i = r.addDays(i, 1);
1458
1496
  }
1459
1497
  }
1460
1498
  return !1;
1461
1499
  }
1462
- function us(e, t) {
1463
- const { disabled: r, excludeDisabled: n, resetOnSelect: s, selected: o, required: a, onSelect: i } = e, [d, f] = Oe(o, i ? o : void 0), l = i ? o : d;
1500
+ function gs(e, t) {
1501
+ const { disabled: r, excludeDisabled: n, resetOnSelect: s, selected: o, required: a, onSelect: i } = e, [d, l] = We(o, i ? o : void 0), f = i ? o : d;
1464
1502
  return {
1465
- selected: l,
1503
+ selected: f,
1466
1504
  select: (g, O, W) => {
1467
- const { min: D, max: S } = e;
1505
+ const { min: k, max: S } = e;
1468
1506
  let M;
1469
1507
  if (g) {
1470
- const b = l == null ? void 0 : l.from, N = l == null ? void 0 : l.to, p = !!b && !!N, c = !!b && !!N && t.isSameDay(b, N) && t.isSameDay(g, b);
1471
- s && (p || !(l != null && l.from)) ? !a && c ? M = void 0 : M = { from: g, to: void 0 } : M = fs(g, l, D, S, a, t);
1508
+ const v = f == null ? void 0 : f.from, N = f == null ? void 0 : f.to, p = !!v && !!N, c = !!v && !!N && t.isSameDay(v, N) && t.isSameDay(g, v);
1509
+ s && (p || !(f != null && f.from)) ? !a && c ? M = void 0 : M = { from: g, to: void 0 } : M = hs(g, f, k, S, a, t);
1472
1510
  }
1473
- return n && r && (M != null && M.from) && M.to && cs({ from: M.from, to: M.to }, r, t) && (M.from = g, M.to = void 0), i || f(M), i == null || i(M, g, O, W), M;
1511
+ return n && r && (M != null && M.from) && M.to && ys({ from: M.from, to: M.to }, r, t) && (M.from = g, M.to = void 0), i || l(M), i == null || i(M, g, O, W), M;
1474
1512
  },
1475
- isSelected: (g) => l && ee(l, g, !1, t)
1513
+ isSelected: (g) => f && ee(f, g, !1, t)
1476
1514
  };
1477
1515
  }
1478
- function hs(e, t) {
1479
- const { selected: r, required: n, onSelect: s } = e, [o, a] = Oe(r, s ? r : void 0), i = s ? r : o, { isSameDay: d } = t;
1516
+ function bs(e, t) {
1517
+ const { selected: r, required: n, onSelect: s } = e, [o, a] = We(r, s ? r : void 0), i = s ? r : o, { isSameDay: d } = t;
1480
1518
  return {
1481
1519
  selected: i,
1482
1520
  select: (u, y, g) => {
@@ -1486,8 +1524,8 @@ function hs(e, t) {
1486
1524
  isSelected: (u) => i ? d(i, u) : !1
1487
1525
  };
1488
1526
  }
1489
- function ms(e, t) {
1490
- const r = hs(e, t), n = ds(e, t), s = us(e, t);
1527
+ function vs(e, t) {
1528
+ const r = bs(e, t), n = us(e, t), s = gs(e, t);
1491
1529
  switch (e.mode) {
1492
1530
  case "single":
1493
1531
  return r;
@@ -1505,46 +1543,46 @@ function q(e, t) {
1505
1543
  function ae(e, t, r) {
1506
1544
  return q(e, t);
1507
1545
  }
1508
- function ot(e, t, r) {
1509
- return typeof e == "boolean" || typeof e == "function" ? e : e instanceof Date ? ae(e, t) : Array.isArray(e) ? e.map((n) => n instanceof Date ? ae(n, t) : n) : ke(e) ? {
1546
+ function at(e, t, r) {
1547
+ return typeof e == "boolean" || typeof e == "function" ? e : e instanceof Date ? ae(e, t) : Array.isArray(e) ? e.map((n) => n instanceof Date ? ae(n, t) : n) : we(e) ? {
1510
1548
  ...e,
1511
1549
  from: e.from ? q(e.from, t) : e.from,
1512
1550
  to: e.to ? q(e.to, t) : e.to
1513
- } : je(e) ? {
1514
- before: ae(e.before, t),
1515
- after: ae(e.after, t)
1516
1551
  } : $e(e) ? {
1552
+ before: ae(e.before, t),
1517
1553
  after: ae(e.after, t)
1518
1554
  } : Ge(e) ? {
1555
+ after: ae(e.after, t)
1556
+ } : qe(e) ? {
1519
1557
  before: ae(e.before, t)
1520
1558
  } : e;
1521
1559
  }
1522
- function Be(e, t, r) {
1523
- return e && (Array.isArray(e) ? e.map((n) => ot(n, t)) : ot(e, t));
1560
+ function ze(e, t, r) {
1561
+ return e && (Array.isArray(e) ? e.map((n) => at(n, t)) : at(e, t));
1524
1562
  }
1525
- function Ws(e) {
1526
- var Qe;
1563
+ function Ys(e) {
1564
+ var Xe;
1527
1565
  let t = e;
1528
1566
  const r = t.timeZone;
1529
1567
  if (r && (t = {
1530
1568
  ...e,
1531
1569
  timeZone: r
1532
- }, t.today && (t.today = q(t.today, r)), t.month && (t.month = q(t.month, r)), t.defaultMonth && (t.defaultMonth = q(t.defaultMonth, r)), t.startMonth && (t.startMonth = q(t.startMonth, r)), t.endMonth && (t.endMonth = q(t.endMonth, r)), t.mode === "single" && t.selected ? t.selected = q(t.selected, r) : t.mode === "multiple" && t.selected ? t.selected = (Qe = t.selected) == null ? void 0 : Qe.map((k) => q(k, r)) : t.mode === "range" && t.selected && (t.selected = {
1570
+ }, t.today && (t.today = q(t.today, r)), t.month && (t.month = q(t.month, r)), t.defaultMonth && (t.defaultMonth = q(t.defaultMonth, r)), t.startMonth && (t.startMonth = q(t.startMonth, r)), t.endMonth && (t.endMonth = q(t.endMonth, r)), t.mode === "single" && t.selected ? t.selected = q(t.selected, r) : t.mode === "multiple" && t.selected ? t.selected = (Xe = t.selected) == null ? void 0 : Xe.map((D) => q(D, r)) : t.mode === "range" && t.selected && (t.selected = {
1533
1571
  from: t.selected.from ? q(t.selected.from, r) : t.selected.from,
1534
1572
  to: t.selected.to ? q(t.selected.to, r) : t.selected.to
1535
- }), t.disabled !== void 0 && (t.disabled = Be(t.disabled, r)), t.hidden !== void 0 && (t.hidden = Be(t.hidden, r)), t.modifiers)) {
1536
- const k = {};
1573
+ }), t.disabled !== void 0 && (t.disabled = ze(t.disabled, r)), t.hidden !== void 0 && (t.hidden = ze(t.hidden, r)), t.modifiers)) {
1574
+ const D = {};
1537
1575
  Object.keys(t.modifiers).forEach((x) => {
1538
- var v;
1539
- k[x] = Be((v = t.modifiers) == null ? void 0 : v[x], r);
1540
- }), t.modifiers = k;
1576
+ var b;
1577
+ D[x] = ze((b = t.modifiers) == null ? void 0 : b[x], r);
1578
+ }), t.modifiers = D;
1541
1579
  }
1542
- const { components: n, formatters: s, labels: o, dateLib: a, locale: i, classNames: d } = pe(() => {
1543
- const k = { ...pt, ...t.locale }, x = t.broadcastCalendar ? 1 : t.weekStartsOn, v = t.noonSafe && t.timeZone ? Vr(t.timeZone, {
1580
+ const { components: n, formatters: s, labels: o, dateLib: a, locale: i, classNames: d } = he(() => {
1581
+ const D = { ...Mt, ...t.locale }, x = t.broadcastCalendar ? 1 : t.weekStartsOn, b = t.noonSafe && t.timeZone ? Zr(t.timeZone, {
1544
1582
  weekStartsOn: x,
1545
- locale: k
1546
- }) : void 0, _ = t.dateLib && v ? { ...v, ...t.dateLib } : t.dateLib ?? v, A = new H({
1547
- locale: k,
1583
+ locale: D
1584
+ }) : void 0, _ = t.dateLib && b ? { ...b, ...t.dateLib } : t.dateLib ?? b, P = new H({
1585
+ locale: D,
1548
1586
  weekStartsOn: x,
1549
1587
  firstWeekContainsDate: t.firstWeekContainsDate,
1550
1588
  useAdditionalWeekYearTokens: t.useAdditionalWeekYearTokens,
@@ -1553,12 +1591,12 @@ function Ws(e) {
1553
1591
  numerals: t.numerals
1554
1592
  }, _);
1555
1593
  return {
1556
- dateLib: A,
1557
- components: wr(t.components),
1558
- formatters: Br(t.formatters),
1559
- labels: Hr(t.labels, A.options),
1560
- locale: k,
1561
- classNames: { ...Nr(), ...t.classNames }
1594
+ dateLib: P,
1595
+ components: Sr(t.components),
1596
+ formatters: Ar(t.formatters),
1597
+ labels: qr(t.labels, P.options),
1598
+ locale: D,
1599
+ classNames: { ...xr(), ...t.classNames }
1562
1600
  };
1563
1601
  }, [
1564
1602
  t.locale,
@@ -1577,69 +1615,69 @@ function Ws(e) {
1577
1615
  t.classNames
1578
1616
  ]);
1579
1617
  t.today || (t = { ...t, today: a.today() });
1580
- const { captionLayout: f, mode: l, navLayout: u, numberOfMonths: y = 1, onDayBlur: g, onDayClick: O, onDayFocus: W, onDayKeyDown: D, onDayMouseEnter: S, onDayMouseLeave: M, onNextClick: b, onPrevClick: N, showWeekNumber: p, styles: c } = t, { formatCaption: w, formatDay: T, formatMonthDropdown: I, formatWeekNumber: E, formatWeekNumberHeader: j, formatWeekdayName: re, formatYearDropdown: X } = s, $ = ss(t, a), { days: oe, months: me, navStart: we, navEnd: We, previousMonth: R, nextMonth: U, goToMonth: L } = $, Ne = kr(oe, t, we, We, a), { isSelected: ie, select: de, selected: ye } = ms(t, a) ?? {}, { blur: Re, focused: ge, isFocusTarget: Ft, moveFocus: Ue, setFocused: ve } = is(t, $, Ne, ie ?? (() => !1), a), { labelDayButton: zt, labelGridcell: At, labelGrid: Pt, labelMonthDropdown: Ht, labelNav: Ke, labelPrevious: jt, labelNext: $t, labelWeekday: Gt, labelWeekNumber: qt, labelWeekNumberHeader: Vt, labelYearDropdown: Rt } = o, Ut = pe(() => Gr(a, t.ISOWeek, t.broadcastCalendar, t.today), [a, t.ISOWeek, t.broadcastCalendar, t.today]), Ze = l !== void 0 || O !== void 0, Ce = G(() => {
1581
- R && (L(R), N == null || N(R));
1582
- }, [R, L, N]), Se = G(() => {
1583
- U && (L(U), b == null || b(U));
1584
- }, [L, U, b]), Kt = G((k, x) => (v) => {
1585
- v.preventDefault(), v.stopPropagation(), ve(k), !x.disabled && (de == null || de(k.date, x, v), O == null || O(k.date, x, v));
1586
- }, [de, O, ve]), Zt = G((k, x) => (v) => {
1587
- ve(k), W == null || W(k.date, x, v);
1588
- }, [W, ve]), Jt = G((k, x) => (v) => {
1589
- Re(), g == null || g(k.date, x, v);
1590
- }, [Re, g]), Qt = G((k, x) => (v) => {
1618
+ const { captionLayout: l, mode: f, navLayout: u, numberOfMonths: y = 1, onDayBlur: g, onDayClick: O, onDayFocus: W, onDayKeyDown: k, onDayMouseEnter: S, onDayMouseLeave: M, onNextClick: v, onPrevClick: N, showWeekNumber: p, styles: c } = t, { formatCaption: w, formatDay: T, formatMonthDropdown: I, formatWeekNumber: E, formatWeekNumberHeader: j, formatWeekdayName: re, formatYearDropdown: X } = s, $ = ds(t, a), { days: oe, months: ge, navStart: Ne, navEnd: Ce, previousMonth: V, nextMonth: U, goToMonth: L } = $, Se = Nr(oe, t, Ne, Ce, a), { isSelected: ie, select: de, selected: be } = vs(t, a) ?? {}, { blur: Ue, focused: ve, isFocusTarget: zt, moveFocus: Ke, setFocused: pe } = cs(t, $, Se, ie ?? (() => !1), a), { labelDayButton: Pt, labelGridcell: At, labelGrid: Ht, labelMonthDropdown: jt, labelNav: Ze, labelPrevious: $t, labelNext: Gt, labelWeekday: qt, labelWeekNumber: Rt, labelWeekNumberHeader: Vt, labelYearDropdown: Ut } = o, Kt = he(() => Ur(a, t.ISOWeek, t.broadcastCalendar, t.today), [a, t.ISOWeek, t.broadcastCalendar, t.today]), Je = f !== void 0 || O !== void 0, _e = G(() => {
1619
+ V && (L(V), N == null || N(V));
1620
+ }, [V, L, N]), xe = G(() => {
1621
+ U && (L(U), v == null || v(U));
1622
+ }, [L, U, v]), Zt = G((D, x) => (b) => {
1623
+ b.preventDefault(), b.stopPropagation(), pe(D), !x.disabled && (de == null || de(D.date, x, b), O == null || O(D.date, x, b));
1624
+ }, [de, O, pe]), Jt = G((D, x) => (b) => {
1625
+ pe(D), W == null || W(D.date, x, b);
1626
+ }, [W, pe]), Qt = G((D, x) => (b) => {
1627
+ Ue(), g == null || g(D.date, x, b);
1628
+ }, [Ue, g]), Xt = G((D, x) => (b) => {
1591
1629
  const _ = {
1592
1630
  ArrowLeft: [
1593
- v.shiftKey ? "month" : "day",
1631
+ b.shiftKey ? "month" : "day",
1594
1632
  t.dir === "rtl" ? "after" : "before"
1595
1633
  ],
1596
1634
  ArrowRight: [
1597
- v.shiftKey ? "month" : "day",
1635
+ b.shiftKey ? "month" : "day",
1598
1636
  t.dir === "rtl" ? "before" : "after"
1599
1637
  ],
1600
- ArrowDown: [v.shiftKey ? "year" : "week", "after"],
1601
- ArrowUp: [v.shiftKey ? "year" : "week", "before"],
1602
- PageUp: [v.shiftKey ? "year" : "month", "before"],
1603
- PageDown: [v.shiftKey ? "year" : "month", "after"],
1638
+ ArrowDown: [b.shiftKey ? "year" : "week", "after"],
1639
+ ArrowUp: [b.shiftKey ? "year" : "week", "before"],
1640
+ PageUp: [b.shiftKey ? "year" : "month", "before"],
1641
+ PageDown: [b.shiftKey ? "year" : "month", "after"],
1604
1642
  Home: ["startOfWeek", "before"],
1605
1643
  End: ["endOfWeek", "after"]
1606
1644
  };
1607
- if (_[v.key]) {
1608
- v.preventDefault(), v.stopPropagation();
1609
- const [A, C] = _[v.key];
1610
- Ue(A, C);
1645
+ if (_[b.key]) {
1646
+ b.preventDefault(), b.stopPropagation();
1647
+ const [P, C] = _[b.key];
1648
+ Ke(P, C);
1611
1649
  }
1612
- D == null || D(k.date, x, v);
1613
- }, [Ue, D, t.dir]), Xt = G((k, x) => (v) => {
1614
- S == null || S(k.date, x, v);
1615
- }, [S]), Lt = G((k, x) => (v) => {
1616
- M == null || M(k.date, x, v);
1617
- }, [M]), en = G((k) => (x) => {
1618
- const v = Number(x.target.value), _ = a.setMonth(a.startOfMonth(k), v);
1650
+ k == null || k(D.date, x, b);
1651
+ }, [Ke, k, t.dir]), Lt = G((D, x) => (b) => {
1652
+ S == null || S(D.date, x, b);
1653
+ }, [S]), en = G((D, x) => (b) => {
1654
+ M == null || M(D.date, x, b);
1655
+ }, [M]), tn = G((D) => (x) => {
1656
+ const b = Number(x.target.value), _ = a.setMonth(a.startOfMonth(D), b);
1619
1657
  L(_);
1620
- }, [a, L]), tn = G((k) => (x) => {
1621
- const v = Number(x.target.value), _ = a.setYear(a.startOfMonth(k), v);
1658
+ }, [a, L]), nn = G((D) => (x) => {
1659
+ const b = Number(x.target.value), _ = a.setYear(a.startOfMonth(D), b);
1622
1660
  L(_);
1623
- }, [a, L]), { className: nn, style: rn } = pe(() => ({
1661
+ }, [a, L]), { className: rn, style: sn } = he(() => ({
1624
1662
  className: [d[h.Root], t.className].filter(Boolean).join(" "),
1625
1663
  style: { ...c == null ? void 0 : c[h.Root], ...t.style }
1626
- }), [d, t.className, t.style, c]), sn = Wr(t), Je = be(null);
1627
- Zr(Je, !!t.animate, {
1664
+ }), [d, t.className, t.style, c]), on = _r(t), Qe = ke(null);
1665
+ Lr(Qe, !!t.animate, {
1628
1666
  classNames: d,
1629
- months: me,
1630
- focused: ge,
1667
+ months: ge,
1668
+ focused: ve,
1631
1669
  dateLib: a
1632
1670
  });
1633
- const on = {
1671
+ const an = {
1634
1672
  dayPickerProps: t,
1635
- selected: ye,
1673
+ selected: be,
1636
1674
  select: de,
1637
1675
  isSelected: ie,
1638
- months: me,
1676
+ months: ge,
1639
1677
  nextMonth: U,
1640
- previousMonth: R,
1678
+ previousMonth: V,
1641
1679
  goToMonth: L,
1642
- getModifiers: Ne,
1680
+ getModifiers: Se,
1643
1681
  components: n,
1644
1682
  classNames: d,
1645
1683
  styles: c,
@@ -1648,15 +1686,15 @@ function Ws(e) {
1648
1686
  };
1649
1687
  return m.createElement(
1650
1688
  Dt.Provider,
1651
- { value: on },
1689
+ { value: an },
1652
1690
  m.createElement(
1653
1691
  n.Root,
1654
- { rootRef: t.animate ? Je : void 0, className: nn, style: rn, dir: t.dir, id: t.id, lang: t.lang ?? i.code, nonce: t.nonce, title: t.title, role: t.role, "aria-label": t["aria-label"], "aria-labelledby": t["aria-labelledby"], ...sn },
1692
+ { rootRef: t.animate ? Qe : void 0, className: rn, style: sn, dir: t.dir, id: t.id, lang: t.lang ?? i.code, nonce: t.nonce, title: t.title, role: t.role, "aria-label": t["aria-label"], "aria-labelledby": t["aria-labelledby"], ...on },
1655
1693
  m.createElement(
1656
1694
  n.Months,
1657
1695
  { className: d[h.Months], style: c == null ? void 0 : c[h.Months] },
1658
- !t.hideNavigation && !u && m.createElement(n.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[h.Nav], style: c == null ? void 0 : c[h.Nav], "aria-label": Ke(), onPreviousClick: Ce, onNextClick: Se, previousMonth: R, nextMonth: U }),
1659
- me.map((k, x) => m.createElement(
1696
+ !t.hideNavigation && !u && m.createElement(n.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[h.Nav], style: c == null ? void 0 : c[h.Nav], "aria-label": Ze(), onPreviousClick: _e, onNextClick: xe, previousMonth: V, nextMonth: U }),
1697
+ ge.map((D, x) => m.createElement(
1660
1698
  n.Month,
1661
1699
  {
1662
1700
  "data-animated-month": t.animate ? "true" : void 0,
@@ -1665,19 +1703,19 @@ function Ws(e) {
1665
1703
  // biome-ignore lint/suspicious/noArrayIndexKey: breaks animation
1666
1704
  key: x,
1667
1705
  displayIndex: x,
1668
- calendarMonth: k
1706
+ calendarMonth: D
1669
1707
  },
1670
1708
  u === "around" && !t.hideNavigation && x === 0 && m.createElement(
1671
1709
  n.PreviousMonthButton,
1672
- { type: "button", className: d[h.PreviousMonthButton], tabIndex: R ? void 0 : -1, "aria-disabled": R ? void 0 : !0, "aria-label": jt(R), onClick: Ce, "data-animated-button": t.animate ? "true" : void 0 },
1673
- m.createElement(n.Chevron, { disabled: R ? void 0 : !0, className: d[h.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
1710
+ { type: "button", className: d[h.PreviousMonthButton], tabIndex: V ? void 0 : -1, "aria-disabled": V ? void 0 : !0, "aria-label": $t(V), onClick: _e, "data-animated-button": t.animate ? "true" : void 0 },
1711
+ m.createElement(n.Chevron, { disabled: V ? void 0 : !0, className: d[h.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
1674
1712
  ),
1675
- m.createElement(n.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: d[h.MonthCaption], style: c == null ? void 0 : c[h.MonthCaption], calendarMonth: k, displayIndex: x }, f != null && f.startsWith("dropdown") ? m.createElement(
1713
+ m.createElement(n.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: d[h.MonthCaption], style: c == null ? void 0 : c[h.MonthCaption], calendarMonth: D, displayIndex: x }, l != null && l.startsWith("dropdown") ? m.createElement(
1676
1714
  n.DropdownNav,
1677
1715
  { className: d[h.Dropdowns], style: c == null ? void 0 : c[h.Dropdowns] },
1678
1716
  (() => {
1679
- const v = f === "dropdown" || f === "dropdown-months" ? m.createElement(n.MonthsDropdown, { key: "month", className: d[h.MonthsDropdown], "aria-label": Ht(), classNames: d, components: n, disabled: !!t.disableNavigation, onChange: en(k.date), options: jr(k.date, we, We, s, a), style: c == null ? void 0 : c[h.Dropdown], value: a.getMonth(k.date) }) : m.createElement("span", { key: "month" }, I(k.date, a)), _ = f === "dropdown" || f === "dropdown-years" ? m.createElement(n.YearsDropdown, { key: "year", className: d[h.YearsDropdown], "aria-label": Rt(a.options), classNames: d, components: n, disabled: !!t.disableNavigation, onChange: tn(k.date), options: qr(we, We, s, a, !!t.reverseYears), style: c == null ? void 0 : c[h.Dropdown], value: a.getYear(k.date) }) : m.createElement("span", { key: "year" }, X(k.date, a));
1680
- return a.getMonthYearOrder() === "year-first" ? [_, v] : [v, _];
1717
+ const b = l === "dropdown" || l === "dropdown-months" ? m.createElement(n.MonthsDropdown, { key: "month", className: d[h.MonthsDropdown], "aria-label": jt(), classNames: d, components: n, disabled: !!t.disableNavigation, onChange: tn(D.date), options: Rr(D.date, Ne, Ce, s, a), style: c == null ? void 0 : c[h.Dropdown], value: a.getMonth(D.date) }) : m.createElement("span", { key: "month" }, I(D.date, a)), _ = l === "dropdown" || l === "dropdown-years" ? m.createElement(n.YearsDropdown, { key: "year", className: d[h.YearsDropdown], "aria-label": Ut(a.options), classNames: d, components: n, disabled: !!t.disableNavigation, onChange: nn(D.date), options: Kr(Ne, Ce, s, a, !!t.reverseYears), style: c == null ? void 0 : c[h.Dropdown], value: a.getYear(D.date) }) : m.createElement("span", { key: "year" }, X(D.date, a));
1718
+ return a.getMonthYearOrder() === "year-first" ? [_, b] : [b, _];
1681
1719
  })(),
1682
1720
  m.createElement("span", { role: "status", "aria-live": "polite", style: {
1683
1721
  border: 0,
@@ -1690,37 +1728,37 @@ function Ws(e) {
1690
1728
  width: "1px",
1691
1729
  whiteSpace: "nowrap",
1692
1730
  wordWrap: "normal"
1693
- } }, w(k.date, a.options, a))
1694
- ) : m.createElement(n.CaptionLabel, { className: d[h.CaptionLabel], role: "status", "aria-live": "polite" }, w(k.date, a.options, a))),
1731
+ } }, w(D.date, a.options, a))
1732
+ ) : m.createElement(n.CaptionLabel, { className: d[h.CaptionLabel], role: "status", "aria-live": "polite" }, w(D.date, a.options, a))),
1695
1733
  u === "around" && !t.hideNavigation && x === y - 1 && m.createElement(
1696
1734
  n.NextMonthButton,
1697
- { type: "button", className: d[h.NextMonthButton], tabIndex: U ? void 0 : -1, "aria-disabled": U ? void 0 : !0, "aria-label": $t(U), onClick: Se, "data-animated-button": t.animate ? "true" : void 0 },
1735
+ { type: "button", className: d[h.NextMonthButton], tabIndex: U ? void 0 : -1, "aria-disabled": U ? void 0 : !0, "aria-label": Gt(U), onClick: xe, "data-animated-button": t.animate ? "true" : void 0 },
1698
1736
  m.createElement(n.Chevron, { disabled: U ? void 0 : !0, className: d[h.Chevron], orientation: t.dir === "rtl" ? "left" : "right" })
1699
1737
  ),
1700
- x === y - 1 && u === "after" && !t.hideNavigation && m.createElement(n.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[h.Nav], style: c == null ? void 0 : c[h.Nav], "aria-label": Ke(), onPreviousClick: Ce, onNextClick: Se, previousMonth: R, nextMonth: U }),
1738
+ x === y - 1 && u === "after" && !t.hideNavigation && m.createElement(n.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[h.Nav], style: c == null ? void 0 : c[h.Nav], "aria-label": Ze(), onPreviousClick: _e, onNextClick: xe, previousMonth: V, nextMonth: U }),
1701
1739
  m.createElement(
1702
1740
  n.MonthGrid,
1703
- { role: "grid", "aria-multiselectable": l === "multiple" || l === "range", "aria-label": Pt(k.date, a.options, a) || void 0, className: d[h.MonthGrid], style: c == null ? void 0 : c[h.MonthGrid] },
1741
+ { role: "grid", "aria-multiselectable": f === "multiple" || f === "range", "aria-label": Ht(D.date, a.options, a) || void 0, className: d[h.MonthGrid], style: c == null ? void 0 : c[h.MonthGrid] },
1704
1742
  !t.hideWeekdays && m.createElement(
1705
1743
  n.Weekdays,
1706
1744
  { "data-animated-weekdays": t.animate ? "true" : void 0, className: d[h.Weekdays], style: c == null ? void 0 : c[h.Weekdays] },
1707
1745
  p && m.createElement(n.WeekNumberHeader, { "aria-label": Vt(a.options), className: d[h.WeekNumberHeader], style: c == null ? void 0 : c[h.WeekNumberHeader], scope: "col" }, j()),
1708
- Ut.map((v) => m.createElement(n.Weekday, { "aria-label": Gt(v, a.options, a), className: d[h.Weekday], key: String(v), style: c == null ? void 0 : c[h.Weekday], scope: "col" }, re(v, a.options, a)))
1746
+ Kt.map((b) => m.createElement(n.Weekday, { "aria-label": qt(b, a.options, a), className: d[h.Weekday], key: String(b), style: c == null ? void 0 : c[h.Weekday], scope: "col" }, re(b, a.options, a)))
1709
1747
  ),
1710
- m.createElement(n.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: d[h.Weeks], style: c == null ? void 0 : c[h.Weeks] }, k.weeks.map((v) => m.createElement(
1748
+ m.createElement(n.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: d[h.Weeks], style: c == null ? void 0 : c[h.Weeks] }, D.weeks.map((b) => m.createElement(
1711
1749
  n.Week,
1712
- { className: d[h.Week], key: v.weekNumber, style: c == null ? void 0 : c[h.Week], week: v },
1713
- p && m.createElement(n.WeekNumber, { week: v, style: c == null ? void 0 : c[h.WeekNumber], "aria-label": qt(v.weekNumber, {
1750
+ { className: d[h.Week], key: b.weekNumber, style: c == null ? void 0 : c[h.Week], week: b },
1751
+ p && m.createElement(n.WeekNumber, { week: b, style: c == null ? void 0 : c[h.WeekNumber], "aria-label": Rt(b.weekNumber, {
1714
1752
  locale: i
1715
- }), className: d[h.WeekNumber], scope: "row", role: "rowheader" }, E(v.weekNumber, a)),
1716
- v.days.map((_) => {
1717
- const { date: A } = _, C = Ne(_);
1718
- if (C[Y.focused] = !C.hidden && !!(ge != null && ge.isEqualTo(_)), C[z.selected] = (ie == null ? void 0 : ie(A)) || C.selected, ke(ye)) {
1719
- const { from: _e, to: xe } = ye;
1720
- C[z.range_start] = !!(_e && xe && a.isSameDay(A, _e)), C[z.range_end] = !!(_e && xe && a.isSameDay(A, xe)), C[z.range_middle] = ee(ye, A, !0, a);
1753
+ }), className: d[h.WeekNumber], scope: "row", role: "rowheader" }, E(b.weekNumber, a)),
1754
+ b.days.map((_) => {
1755
+ const { date: P } = _, C = Se(_);
1756
+ if (C[Y.focused] = !C.hidden && !!(ve != null && ve.isEqualTo(_)), C[z.selected] = (ie == null ? void 0 : ie(P)) || C.selected, we(be)) {
1757
+ const { from: Ye, to: Te } = be;
1758
+ C[z.range_start] = !!(Ye && Te && a.isSameDay(P, Ye)), C[z.range_end] = !!(Ye && Te && a.isSameDay(P, Te)), C[z.range_middle] = ee(be, P, !0, a);
1721
1759
  }
1722
- const an = $r(C, c, t.modifiersStyles), dn = Or(C, d, t.modifiersClassNames), fn = !Ze && !C.hidden ? At(A, C, a.options, a) : void 0;
1723
- return m.createElement(n.Day, { key: `${_.isoDate}_${_.displayMonthId}`, day: _, modifiers: C, className: dn.join(" "), style: an, role: "gridcell", "aria-selected": C.selected || void 0, "aria-label": fn, "data-day": _.isoDate, "data-month": _.outside ? _.dateMonthId : void 0, "data-selected": C.selected || void 0, "data-disabled": C.disabled || void 0, "data-hidden": C.hidden || void 0, "data-outside": _.outside || void 0, "data-focused": C.focused || void 0, "data-today": C.today || void 0 }, !C.hidden && Ze ? m.createElement(n.DayButton, { className: d[h.DayButton], style: c == null ? void 0 : c[h.DayButton], type: "button", day: _, modifiers: C, disabled: !C.focused && C.disabled || void 0, "aria-disabled": C.focused && C.disabled || void 0, tabIndex: Ft(_) ? 0 : -1, "aria-label": zt(A, C, a.options, a), onClick: Kt(_, C), onBlur: Jt(_, C), onFocus: Zt(_, C), onKeyDown: Qt(_, C), onMouseEnter: Xt(_, C), onMouseLeave: Lt(_, C) }, T(A, a.options, a)) : !C.hidden && T(_.date, a.options, a));
1760
+ const dn = Vr(C, c, t.modifiersStyles), ln = Cr(C, d, t.modifiersClassNames), fn = !Je && !C.hidden ? At(P, C, a.options, a) : void 0;
1761
+ return m.createElement(n.Day, { key: `${_.isoDate}_${_.displayMonthId}`, day: _, modifiers: C, className: ln.join(" "), style: dn, role: "gridcell", "aria-selected": C.selected || void 0, "aria-label": fn, "data-day": _.isoDate, "data-month": _.outside ? _.dateMonthId : void 0, "data-selected": C.selected || void 0, "data-disabled": C.disabled || void 0, "data-hidden": C.hidden || void 0, "data-outside": _.outside || void 0, "data-focused": C.focused || void 0, "data-today": C.today || void 0 }, !C.hidden && Je ? m.createElement(n.DayButton, { className: d[h.DayButton], style: c == null ? void 0 : c[h.DayButton], type: "button", day: _, modifiers: C, disabled: !C.focused && C.disabled || void 0, "aria-disabled": C.focused && C.disabled || void 0, tabIndex: zt(_) ? 0 : -1, "aria-label": Pt(P, C, a.options, a), onClick: Zt(_, C), onBlur: Qt(_, C), onFocus: Jt(_, C), onKeyDown: Xt(_, C), onMouseEnter: Lt(_, C), onMouseLeave: en(_, C) }, T(P, a.options, a)) : !C.hidden && T(_.date, a.options, a));
1724
1762
  })
1725
1763
  )))
1726
1764
  )
@@ -1730,50 +1768,59 @@ function Ws(e) {
1730
1768
  )
1731
1769
  );
1732
1770
  }
1733
- const at = {
1734
- en: () => import("./format-4HNwNGrN.js").then((e) => e.E).then((e) => e.enUS),
1735
- it: () => import("./it-Xmjomvyj.js").then((e) => e.it),
1736
- de: () => import("./de-3iM4rGqo.js").then((e) => e.de),
1737
- es: () => import("./es-Cxiqjx8r.js").then((e) => e.es),
1738
- fr: () => import("./fr-Bhr6SYKj.js").then((e) => e.fr),
1739
- pt: () => import("./pt-BSPnVrQ7.js").then((e) => e.pt),
1740
- nl: () => import("./nl-DDs-KEnD.js").then((e) => e.nl),
1741
- pl: () => import("./pl-BYYMnEWP.js").then((e) => e.pl),
1742
- ro: () => import("./ro-BbiylGmG.js").then((e) => e.ro),
1743
- ru: () => import("./ru-BX_qsV67.js").then((e) => e.ru),
1744
- sv: () => import("./sv-CpTdtmDQ.js").then((e) => e.sv),
1745
- el: () => import("./el-C96rGJvU.js").then((e) => e.el),
1746
- ja: () => import("./ja-mfZvt1ZV.js").then((e) => e.ja),
1747
- zh: () => import("./zh-CN-vPkPEK6H.js").then((e) => e.zhCN),
1748
- hi: () => import("./hi-BxXX26d_.js").then((e) => e.hi),
1749
- ar: () => import("./ar-BR1FGFP2.js").then((e) => e.ar),
1750
- tr: () => import("./tr-DXG2QN1K.js").then((e) => e.tr),
1751
- sq: () => import("./sq-i9UOk4P7.js").then((e) => e.sq)
1771
+ const ue = {
1772
+ en: () => import("./en-GB-CwxYmmhU.js").then((e) => e.enGB),
1773
+ "en-us": () => import("./format-D-1gTdHF.js").then((e) => e.I).then((e) => e.enUS),
1774
+ it: () => import("./it-DBoNIelY.js").then((e) => e.it),
1775
+ de: () => import("./de-lVkJRPnh.js").then((e) => e.de),
1776
+ es: () => import("./es-Ck-oxbHW.js").then((e) => e.es),
1777
+ fr: () => import("./fr-fWRnDcSD.js").then((e) => e.fr),
1778
+ pt: () => import("./pt-BxhT5ZQH.js").then((e) => e.pt),
1779
+ nl: () => import("./nl-BCBwxYi8.js").then((e) => e.nl),
1780
+ pl: () => import("./pl-HwLM6gPs.js").then((e) => e.pl),
1781
+ ro: () => import("./ro-Do9W55ae.js").then((e) => e.ro),
1782
+ ru: () => import("./ru-PDBX5gdf.js").then((e) => e.ru),
1783
+ sv: () => import("./sv-CpFSK8xS.js").then((e) => e.sv),
1784
+ el: () => import("./el-CHzxNWPj.js").then((e) => e.el),
1785
+ ja: () => import("./ja-Du8gfg8p.js").then((e) => e.ja),
1786
+ zh: () => import("./zh-CN-QGEs29fQ.js").then((e) => e.zhCN),
1787
+ hi: () => import("./hi-B5uX0h3V.js").then((e) => e.hi),
1788
+ ar: () => import("./ar-pLopgMbL.js").then((e) => e.ar),
1789
+ tr: () => import("./tr-DW4oQYHT.js").then((e) => e.tr),
1790
+ sq: () => import("./sq-DnvsgyIh.js").then((e) => e.sq)
1752
1791
  };
1753
- async function ys(e) {
1754
- const t = e.toLowerCase().split("-")[0];
1755
- return (at[t] ?? at.en)();
1756
- }
1757
- const Fe = /* @__PURE__ */ new Map();
1758
- function Ns(e) {
1759
- const t = e.toLowerCase().split("-")[0], [r, n] = Me(
1760
- () => Fe.get(t)
1761
- );
1762
- return dt(() => {
1763
- const s = Fe.get(t);
1764
- if (s) {
1765
- n(s);
1792
+ async function it(e) {
1793
+ const t = e.toLowerCase().replaceAll("_", "-"), r = Object.hasOwn(ue, t) ? t : t.split("-")[0];
1794
+ return (Object.hasOwn(ue, r) ? ue[r] : ue.en)();
1795
+ }
1796
+ const Me = /* @__PURE__ */ new Map();
1797
+ function Ts(e) {
1798
+ const t = e.toLowerCase().replaceAll("_", "-"), r = Object.hasOwn(ue, t) ? t : t.split("-")[0], [n, s] = De(() => ({
1799
+ key: r,
1800
+ locale: Me.get(r)
1801
+ }));
1802
+ return lt(() => {
1803
+ const o = Me.get(r);
1804
+ if (o) {
1805
+ s({ key: r, locale: o });
1766
1806
  return;
1767
1807
  }
1768
- let o = !1;
1769
- return ys(t).then((a) => {
1770
- Fe.set(t, a), o || n(a);
1771
- }), () => {
1772
- o = !0;
1808
+ let a = !1;
1809
+ return it(r).then(
1810
+ (i) => {
1811
+ Me.set(r, i), a || s({ key: r, locale: i });
1812
+ },
1813
+ // A failed chunk shows English instead of an endless wait. It is not
1814
+ // cached, so the next mount retries the language.
1815
+ () => it("en").then((i) => {
1816
+ a || s({ key: r, locale: i });
1817
+ })
1818
+ ), () => {
1819
+ a = !0;
1773
1820
  };
1774
- }, [t]), r;
1821
+ }, [r]), n.key === r ? n.locale : Me.get(r);
1775
1822
  }
1776
- const ze = {
1823
+ const Pe = {
1777
1824
  en: "dd/MM/yyyy",
1778
1825
  "en-us": "MM/dd/yyyy",
1779
1826
  de: "dd.MM.yyyy",
@@ -1794,18 +1841,18 @@ const ze = {
1794
1841
  ar: "dd/MM/yyyy",
1795
1842
  he: "dd.MM.yyyy"
1796
1843
  };
1797
- function Cs(e) {
1844
+ function Es(e) {
1798
1845
  const t = e.toLowerCase();
1799
- return ze[t] ?? ze[t.split("-")[0]] ?? ze.en;
1846
+ return Pe[t] ?? Pe[t.split("-")[0]] ?? Pe.en;
1800
1847
  }
1801
- function Ss(e, t, r) {
1848
+ function Is(e, t, r) {
1802
1849
  const n = [];
1803
1850
  return e && n.push({ before: e }), t && n.push({ after: t }), Array.isArray(r) ? n.push(...r) : typeof r == "function" && n.push(r), n.length === 1 ? n[0] : n;
1804
1851
  }
1805
- function _s({ orientation: e }) {
1806
- return e === "left" ? /* @__PURE__ */ Xe(Mn, { className: "ds:size-4 ds:rtl:-scale-x-100" }) : /* @__PURE__ */ Xe(Dn, { className: "ds:size-4 ds:rtl:-scale-x-100" });
1852
+ function Bs({ orientation: e }) {
1853
+ return e === "left" ? /* @__PURE__ */ Le(On, { className: "ds:size-4 ds:rtl:-scale-x-100" }) : /* @__PURE__ */ Le(wn, { className: "ds:size-4 ds:rtl:-scale-x-100" });
1807
1854
  }
1808
- const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target-size)] ds:text-center ds:align-middle", vs = [
1855
+ const Ae = "ds:bg-[var(--calendar-range-fill)]", ps = "ds:size-[var(--min-target-size)] ds:text-center ds:align-middle", Ms = [
1809
1856
  // `rdp-day_button` stays as a stable structural/test hook. Selection fills
1810
1857
  // target the descendant `button` instead: inside an arbitrary variant an
1811
1858
  // underscore reads as a SPACE, so `.rdp-day_button` would compile to the
@@ -1828,7 +1875,7 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
1828
1875
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1829
1876
  "ds:forced-colors:focus-visible:outline-[Highlight]",
1830
1877
  "ds:disabled:cursor-default"
1831
- ].join(" "), bs = [
1878
+ ].join(" "), ks = [
1832
1879
  "rdp-today",
1833
1880
  "ds:[&_button]:font-semibold",
1834
1881
  "ds:[&_button]:after:content-['']",
@@ -1848,7 +1895,7 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
1848
1895
  // pairing in every state without a separate (and previously wrong, because
1849
1896
  // it pinned CanvasText even on a Highlight cap) forced-colors override.
1850
1897
  "ds:[&_button]:after:bg-current"
1851
- ].join(" "), it = [
1898
+ ].join(" "), dt = [
1852
1899
  "ds:inline-flex ds:items-center ds:justify-center",
1853
1900
  "ds:size-[var(--min-target-size)] ds:rounded-[var(--radius-sm)]",
1854
1901
  "ds:cursor-pointer ds:bg-transparent ds:text-foreground",
@@ -1858,7 +1905,7 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
1858
1905
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1859
1906
  "ds:disabled:opacity-50 ds:disabled:cursor-default",
1860
1907
  "ds:aria-disabled:opacity-50 ds:aria-disabled:cursor-default"
1861
- ].join(" "), xs = {
1908
+ ].join(" "), Fs = {
1862
1909
  /* ---- Layout shell ---- */
1863
1910
  // `ds:font-sans` is Tailwind's DEFAULT stack (ui-sans-serif, system-ui …), not
1864
1911
  // the kit's face, so it overrode the correct font the portal root had already
@@ -1873,8 +1920,8 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
1873
1920
  // `top-0` is the block-axis (RTL-agnostic) inset; `end-0` is the
1874
1921
  // inline-axis logical inset → `inset-inline-end: 0`, mirroring under RTL.
1875
1922
  [h.Nav]: "rdp-nav ds:absolute ds:top-0 ds:end-0 ds:flex ds:items-center ds:h-[var(--min-target-size)]",
1876
- [h.PreviousMonthButton]: `rdp-button_previous ${it}`,
1877
- [h.NextMonthButton]: `rdp-button_next ${it}`,
1923
+ [h.PreviousMonthButton]: `rdp-button_previous ${dt}`,
1924
+ [h.NextMonthButton]: `rdp-button_next ${dt}`,
1878
1925
  [h.Chevron]: "rdp-chevron ds:inline-block ds:fill-current",
1879
1926
  /* ---- Weekday header row ---- */
1880
1927
  [h.Weekdays]: "rdp-weekdays",
@@ -1884,8 +1931,8 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
1884
1931
  /* ---- Week rows + day cells ---- */
1885
1932
  [h.Weeks]: "rdp-weeks",
1886
1933
  [h.Week]: "rdp-week",
1887
- [h.Day]: `rdp-day ${gs}`,
1888
- [h.DayButton]: vs,
1934
+ [h.Day]: `rdp-day ${ps}`,
1935
+ [h.DayButton]: Ms,
1889
1936
  [h.WeekNumber]: "rdp-week_number ds:text-muted-foreground ds:text-center ds:text-[length:var(--font-size-sm)] ds:size-[var(--min-target-size)]",
1890
1937
  /* ---- Day flags ----
1891
1938
  De-emphasised states now ride tokened colours with GUARANTEED contrast
@@ -1893,7 +1940,7 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
1893
1940
  dodge the ratio). `today` is a shape marker (see TODAY_DOT) that survives
1894
1941
  inside a range and on a solid cap; `disabled` adds a `line-through`
1895
1942
  non-colour "unavailable" cue on top of the muted colour. */
1896
- [Y.today]: bs,
1943
+ [Y.today]: ks,
1897
1944
  [Y.outside]: "rdp-outside ds:text-muted-foreground",
1898
1945
  [Y.disabled]: "rdp-disabled ds:text-muted-foreground ds:[&_button]:line-through",
1899
1946
  [Y.hidden]: "rdp-hidden ds:invisible",
@@ -1911,11 +1958,11 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
1911
1958
  // (Tailwind emits same-specificity utilities in an unstable order otherwise).
1912
1959
  [z.range_middle]: `rdp-range_middle ${Ae} ds:[&.rdp-selected_button]:bg-transparent ds:[&_button]:border-transparent ds:[&.rdp-selected_button]:text-foreground ds:[&_button]:rounded-none ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`,
1913
1960
  [z.range_end]: `rdp-range_end ${Ae} ds:rounded-e-[var(--radius-sm)] ds:[&_button]:bg-primary ds:[&_button]:text-primary-foreground ds:[&_button]:border-primary ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`
1914
- }, Pe = "ds:bg-[var(--calendar-compare-fill)] ds:border-b-2 ds:border-dashed ds:border-b-[var(--calendar-compare-edge)]", Ys = {
1915
- compareStart: `rdp-compare_start ${Pe} ds:rounded-s-[var(--radius-sm)]`,
1916
- compareMiddle: `rdp-compare_middle ${Pe}`,
1917
- compareEnd: `rdp-compare_end ${Pe} ds:rounded-e-[var(--radius-sm)]`
1918
- }, Ts = ne(
1961
+ }, He = "ds:bg-[var(--calendar-compare-fill)] ds:border-b-2 ds:border-dashed ds:border-b-[var(--calendar-compare-edge)]", zs = {
1962
+ compareStart: `rdp-compare_start ${He} ds:rounded-s-[var(--radius-sm)]`,
1963
+ compareMiddle: `rdp-compare_middle ${He}`,
1964
+ compareEnd: `rdp-compare_end ${He} ds:rounded-e-[var(--radius-sm)]`
1965
+ }, Ps = ne(
1919
1966
  [
1920
1967
  "ds:relative ds:flex ds:items-center ds:w-full",
1921
1968
  "ds:border ds:text-foreground",
@@ -1963,7 +2010,7 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
1963
2010
  chrome: "input"
1964
2011
  }
1965
2012
  }
1966
- ), Es = ne(
2013
+ ), As = ne(
1967
2014
  [
1968
2015
  "ds:w-full ds:min-w-0 ds:rounded-[var(--radius-sm)] ds:border ds:bg-input",
1969
2016
  "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
@@ -1983,7 +2030,7 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
1983
2030
  },
1984
2031
  defaultVariants: { state: "default" }
1985
2032
  }
1986
- ), Is = ne(
2033
+ ), Hs = ne(
1987
2034
  [
1988
2035
  "ds:inline-flex ds:items-center ds:justify-center ds:min-h-[var(--min-target-size)]",
1989
2036
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:rounded-[var(--radius-sm)]",
@@ -2002,9 +2049,9 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
2002
2049
  },
2003
2050
  defaultVariants: { intent: "ghost" }
2004
2051
  }
2005
- ), Bs = ne(
2052
+ ), js = ne(
2006
2053
  "ds:inline-flex ds:items-center ds:rounded-[var(--radius-sm)] ds:border ds:border-border ds:bg-input ds:p-[2px]"
2007
- ), Fs = ne(
2054
+ ), $s = ne(
2008
2055
  [
2009
2056
  "ds:inline-flex ds:items-center ds:justify-center ds:cursor-pointer",
2010
2057
  // Meet the kit touch-target rule (44px base / 48px accessible), matching
@@ -2018,9 +2065,9 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
2018
2065
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
2019
2066
  "ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
2020
2067
  ].join(" ")
2021
- ), zs = ne(
2068
+ ), Gs = ne(
2022
2069
  "ds:ps-[var(--spacing-sm)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-xs)] ds:text-[length:var(--font-size-xs)] ds:font-semibold ds:uppercase ds:tracking-wide ds:text-muted-foreground"
2023
- ), As = ne(
2070
+ ), qs = ne(
2024
2071
  "ds:absolute ds:inset-y-0 ds:end-0 ds:flex ds:items-center ds:pointer-events-none ds:text-muted-foreground",
2025
2072
  {
2026
2073
  variants: {
@@ -2032,13 +2079,13 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
2032
2079
  },
2033
2080
  defaultVariants: { size: "md" }
2034
2081
  }
2035
- ), Ps = ne(
2082
+ ), Rs = ne(
2036
2083
  [
2037
2084
  "ds:z-[var(--z-popover)] ds:rounded-[var(--radius-md)]",
2038
2085
  "ds:border ds:border-border ds:bg-background ds:shadow-[var(--shadow-lg)]",
2039
2086
  "ds:p-[var(--spacing-md)]"
2040
2087
  ].join(" ")
2041
- ), Hs = ne(
2088
+ ), Vs = ne(
2042
2089
  [
2043
2090
  // A flex row so an `active` preset can carry a trailing check icon and the
2044
2091
  // label still fills the width and truncates rather than wrapping.
@@ -2067,31 +2114,32 @@ const Ae = "ds:bg-[var(--calendar-range-fill)]", gs = "ds:size-[var(--min-target
2067
2114
  }
2068
2115
  );
2069
2116
  export {
2070
- _s as C,
2071
- Ws as D,
2072
- ht as a,
2073
- Ss as b,
2074
- An as c,
2075
- As as d,
2076
- xs as e,
2077
- Ps as f,
2078
- Cs as g,
2079
- Wn as h,
2080
- Pn as i,
2081
- Nn as j,
2082
- vt as k,
2083
- _n as l,
2084
- Fs as m,
2085
- Bs as n,
2086
- zs as o,
2087
- Hs as p,
2088
- Ys as q,
2089
- Es as r,
2090
- Yn as s,
2091
- Ts as t,
2092
- Ns as u,
2093
- Is as v,
2094
- mt as w,
2095
- Hn as x
2117
+ Bs as C,
2118
+ Ys as D,
2119
+ mt as a,
2120
+ xs as b,
2121
+ Is as c,
2122
+ $n as d,
2123
+ qs as e,
2124
+ Fs as f,
2125
+ Es as g,
2126
+ Rs as h,
2127
+ Gn as i,
2128
+ _n as j,
2129
+ xn as k,
2130
+ vt as l,
2131
+ En as m,
2132
+ $s as n,
2133
+ js as o,
2134
+ Vs as p,
2135
+ Gs as q,
2136
+ As as r,
2137
+ Bn as s,
2138
+ Ps as t,
2139
+ Ts as u,
2140
+ zs as v,
2141
+ Hs as w,
2142
+ yt as x,
2143
+ qn as y
2096
2144
  };
2097
- //# sourceMappingURL=date-picker-variants-B9NLAfUK.js.map
2145
+ //# sourceMappingURL=date-picker-variants-B3AFKDSu.js.map