brd-ui-kit 0.1.75 → 0.1.77

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 (501) hide show
  1. package/dist/brd-ui-kit.css +1 -1
  2. package/dist/calendar-PqChui7l.cjs +2 -0
  3. package/dist/{calendar-DReGV_22.cjs.map → calendar-PqChui7l.cjs.map} +1 -1
  4. package/dist/{calendar-C0DXP3T-.js → calendar-XWqEaWHP.js} +267 -272
  5. package/dist/{calendar-C0DXP3T-.js.map → calendar-XWqEaWHP.js.map} +1 -1
  6. package/dist/{calendar-locale-CP2pxhFK.cjs → calendar-locale-CosU_VZY.cjs} +2 -2
  7. package/dist/{calendar-locale-CP2pxhFK.cjs.map → calendar-locale-CosU_VZY.cjs.map} +1 -1
  8. package/dist/{calendar-locale-DJf03PI9.js → calendar-locale-DqQZymBn.js} +2 -2
  9. package/dist/{calendar-locale-DJf03PI9.js.map → calendar-locale-DqQZymBn.js.map} +1 -1
  10. package/dist/chart-9H_9wEfR.cjs +63 -0
  11. package/dist/{chart-C69jBlXa.cjs.map → chart-9H_9wEfR.cjs.map} +1 -1
  12. package/dist/{chart-CAPCe8o5.js → chart-DFbmMKiQ.js} +2956 -2951
  13. package/dist/{chart-CAPCe8o5.js.map → chart-DFbmMKiQ.js.map} +1 -1
  14. package/dist/components/app-sidebar/app-sidebar.d.ts +2 -2
  15. package/dist/components/basic-chart/basic-chart.d.ts +1 -1
  16. package/dist/components/basic-table/basic-table.d.ts +5 -5
  17. package/dist/components/data-table/data-table-actions-column.d.ts +3 -3
  18. package/dist/components/data-table/data-table-bulk-actions.d.ts +3 -3
  19. package/dist/components/data-table/data-table-column-visibility.d.ts +2 -2
  20. package/dist/components/data-table/data-table-filter.d.ts +2 -2
  21. package/dist/components/data-table/data-table-row-actions-column.d.ts +5 -5
  22. package/dist/components/data-table/use-data-table-editable-rows.d.ts +5 -5
  23. package/dist/components/files-uploader/files-uploader.d.ts +2 -2
  24. package/dist/components/icons/ArrowCounterClockwise.d.ts +1 -0
  25. package/dist/components/icons/BoundingBox.d.ts +1 -0
  26. package/dist/components/icons/Briefcase.d.ts +1 -0
  27. package/dist/components/icons/Building.d.ts +1 -0
  28. package/dist/components/icons/Buildings.d.ts +1 -0
  29. package/dist/components/icons/CaretDown.d.ts +1 -0
  30. package/dist/components/icons/CaretLeft.d.ts +1 -0
  31. package/dist/components/icons/CaretRight.d.ts +1 -0
  32. package/dist/components/icons/CaretUp.d.ts +1 -0
  33. package/dist/components/icons/CaretUpDown.d.ts +1 -0
  34. package/dist/components/icons/ChartLine.d.ts +1 -0
  35. package/dist/components/icons/Check.d.ts +1 -0
  36. package/dist/components/icons/CheckCircle.d.ts +1 -0
  37. package/dist/components/icons/Clock.d.ts +1 -0
  38. package/dist/components/icons/CreditCard.d.ts +1 -0
  39. package/dist/components/icons/DotsThree.d.ts +1 -0
  40. package/dist/components/icons/DownloadSimple.d.ts +1 -0
  41. package/dist/components/icons/EnvelopeSimple.d.ts +1 -0
  42. package/dist/components/icons/Eye.d.ts +1 -0
  43. package/dist/components/icons/EyeSlash.d.ts +1 -0
  44. package/dist/components/icons/FileText.d.ts +1 -0
  45. package/dist/components/icons/Folder.d.ts +1 -0
  46. package/dist/components/icons/Funnel.d.ts +1 -0
  47. package/dist/components/icons/Gear.d.ts +1 -0
  48. package/dist/components/icons/Info.d.ts +1 -0
  49. package/dist/components/icons/LockKey.d.ts +1 -0
  50. package/dist/components/icons/MagnifyingGlass.d.ts +1 -0
  51. package/dist/components/icons/MaxLogo.d.ts +1 -0
  52. package/dist/components/icons/Package.d.ts +1 -0
  53. package/dist/components/icons/Pencil.d.ts +1 -0
  54. package/dist/components/icons/Phone.d.ts +1 -0
  55. package/dist/components/icons/Plus.d.ts +1 -0
  56. package/dist/components/icons/PresentationChart.d.ts +1 -0
  57. package/dist/components/icons/SpinnerGap.d.ts +1 -0
  58. package/dist/components/icons/TelegramLogo.d.ts +1 -0
  59. package/dist/components/icons/Trash.d.ts +1 -0
  60. package/dist/components/icons/UserCircleGear.d.ts +1 -0
  61. package/dist/components/icons/Users.d.ts +1 -0
  62. package/dist/components/icons/UsersFour.d.ts +1 -0
  63. package/dist/components/icons/Warning.d.ts +1 -0
  64. package/dist/components/icons/WarningCircle.d.ts +1 -0
  65. package/dist/components/icons/WhatsAppLogoFilled.d.ts +1 -0
  66. package/dist/components/icons/Wrench.d.ts +1 -0
  67. package/dist/components/icons/X.d.ts +1 -0
  68. package/dist/components/icons/XCircle.d.ts +1 -0
  69. package/dist/components/icons/index.d.ts +50 -0
  70. package/dist/components/icons/stroke-icon.d.ts +19 -0
  71. package/dist/components/icons.d.ts +2 -0
  72. package/dist/components/input-field/input-field.d.ts +3 -3
  73. package/dist/components/input-password/input-password.d.ts +1 -1
  74. package/dist/components/input-phone/input-phone.d.ts +4 -4
  75. package/dist/components/popover-modal/popover-modal.d.ts +4 -4
  76. package/dist/components/select-field/select-field.d.ts +2 -2
  77. package/dist/components/ui/avatar/avatar.d.ts +7 -7
  78. package/dist/components/ui/badge/badge.d.ts +2 -2
  79. package/dist/components/ui/button/button.d.ts +3 -3
  80. package/dist/components/ui/calendar/calendar.d.ts +6 -6
  81. package/dist/components/ui/calendar/calendar.styles.d.ts +1 -1
  82. package/dist/components/ui/card/card.d.ts +13 -13
  83. package/dist/components/ui/chart/chart.d.ts +23 -21
  84. package/dist/components/ui/checkbox/checkbox.d.ts +4 -4
  85. package/dist/components/ui/combobox/combobox.d.ts +6 -6
  86. package/dist/components/ui/dialog/dialog.d.ts +11 -11
  87. package/dist/components/ui/drawer/drawer.d.ts +11 -11
  88. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +42 -42
  89. package/dist/components/ui/icon/icon-map.d.ts +68 -0
  90. package/dist/components/ui/icon/icon.d.ts +6 -6
  91. package/dist/components/ui/icon/index.d.ts +3 -1
  92. package/dist/components/ui/input/input.d.ts +2 -2
  93. package/dist/components/ui/input-group/input-group.d.ts +7 -7
  94. package/dist/components/ui/label/label.d.ts +4 -4
  95. package/dist/components/ui/pagination/pagination.d.ts +8 -8
  96. package/dist/components/ui/popover/popover.d.ts +8 -8
  97. package/dist/components/ui/progress/progress.d.ts +4 -4
  98. package/dist/components/ui/radio-group/radio-group.d.ts +7 -7
  99. package/dist/components/ui/select/select.d.ts +11 -11
  100. package/dist/components/ui/select-calendar-menu/select-calendar-menu.d.ts +4 -4
  101. package/dist/components/ui/separator/separator.d.ts +4 -4
  102. package/dist/components/ui/switch/switch.d.ts +4 -4
  103. package/dist/components/ui/table/table.d.ts +17 -17
  104. package/dist/components/ui/tabs/tabs.d.ts +8 -8
  105. package/dist/components/ui/toggle-group/toggle-group.styles.d.ts +1 -1
  106. package/dist/components/ui/tooltip/tooltip.d.ts +8 -8
  107. package/dist/components/ui/typography/typography.d.ts +174 -174
  108. package/dist/components-app-pagination-app-pagination.cjs +1 -1
  109. package/dist/components-app-pagination-app-pagination.cjs.map +1 -1
  110. package/dist/components-app-pagination-app-pagination.js +34 -32
  111. package/dist/components-app-pagination-app-pagination.js.map +1 -1
  112. package/dist/components-app-sidebar-app-sidebar.cjs +1 -1
  113. package/dist/components-app-sidebar-app-sidebar.cjs.map +1 -1
  114. package/dist/components-app-sidebar-app-sidebar.js +33 -32
  115. package/dist/components-app-sidebar-app-sidebar.js.map +1 -1
  116. package/dist/components-avatar-uploader-avatar-uploader.cjs +2 -2
  117. package/dist/components-avatar-uploader-avatar-uploader.cjs.map +1 -1
  118. package/dist/components-avatar-uploader-avatar-uploader.js +54 -36
  119. package/dist/components-avatar-uploader-avatar-uploader.js.map +1 -1
  120. package/dist/components-basic-avatar-basic-avatar.cjs +2 -2
  121. package/dist/components-basic-avatar-basic-avatar.cjs.map +1 -1
  122. package/dist/components-basic-avatar-basic-avatar.js +25 -5
  123. package/dist/components-basic-avatar-basic-avatar.js.map +1 -1
  124. package/dist/components-basic-chart-basic-chart.cjs +2 -2
  125. package/dist/components-basic-chart-basic-chart.cjs.map +1 -1
  126. package/dist/components-basic-chart-basic-chart.js +106 -108
  127. package/dist/components-basic-chart-basic-chart.js.map +1 -1
  128. package/dist/components-basic-table-basic-table.cjs +2 -2
  129. package/dist/components-basic-table-basic-table.cjs.map +1 -1
  130. package/dist/components-basic-table-basic-table.js +232 -231
  131. package/dist/components-basic-table-basic-table.js.map +1 -1
  132. package/dist/components-data-table-data-table-actions-column.cjs +1 -1
  133. package/dist/components-data-table-data-table-actions-column.cjs.map +1 -1
  134. package/dist/components-data-table-data-table-actions-column.js +1 -1
  135. package/dist/components-data-table-data-table-actions-column.js.map +1 -1
  136. package/dist/components-data-table-data-table-bulk-actions.cjs +1 -1
  137. package/dist/components-data-table-data-table-bulk-actions.cjs.map +1 -1
  138. package/dist/components-data-table-data-table-bulk-actions.js +9 -9
  139. package/dist/components-data-table-data-table-bulk-actions.js.map +1 -1
  140. package/dist/components-data-table-data-table-column-visibility.cjs +1 -1
  141. package/dist/components-data-table-data-table-column-visibility.cjs.map +1 -1
  142. package/dist/components-data-table-data-table-column-visibility.js +11 -10
  143. package/dist/components-data-table-data-table-column-visibility.js.map +1 -1
  144. package/dist/components-data-table-data-table-filter.cjs +1 -1
  145. package/dist/components-data-table-data-table-filter.cjs.map +1 -1
  146. package/dist/components-data-table-data-table-filter.js +15 -15
  147. package/dist/components-data-table-data-table-filter.js.map +1 -1
  148. package/dist/components-data-table-data-table-row-actions-column.cjs +1 -1
  149. package/dist/components-data-table-data-table-row-actions-column.cjs.map +1 -1
  150. package/dist/components-data-table-data-table-row-actions-column.js +1 -1
  151. package/dist/components-data-table-data-table-row-actions-column.js.map +1 -1
  152. package/dist/components-data-table-use-data-table-editable-rows.cjs +1 -1
  153. package/dist/components-data-table-use-data-table-editable-rows.cjs.map +1 -1
  154. package/dist/components-data-table-use-data-table-editable-rows.js +88 -90
  155. package/dist/components-data-table-use-data-table-editable-rows.js.map +1 -1
  156. package/dist/components-files-uploader-files-uploader.cjs +3 -3
  157. package/dist/components-files-uploader-files-uploader.cjs.map +1 -1
  158. package/dist/components-files-uploader-files-uploader.js +41 -38
  159. package/dist/components-files-uploader-files-uploader.js.map +1 -1
  160. package/dist/components-icons-ArrowCounterClockwise.cjs +2 -0
  161. package/dist/components-icons-ArrowCounterClockwise.cjs.map +1 -0
  162. package/dist/components-icons-ArrowCounterClockwise.js +5 -0
  163. package/dist/components-icons-ArrowCounterClockwise.js.map +1 -0
  164. package/dist/components-icons-BoundingBox.cjs +2 -0
  165. package/dist/components-icons-BoundingBox.cjs.map +1 -0
  166. package/dist/components-icons-BoundingBox.js +5 -0
  167. package/dist/components-icons-BoundingBox.js.map +1 -0
  168. package/dist/components-icons-Briefcase.cjs +2 -0
  169. package/dist/components-icons-Briefcase.cjs.map +1 -0
  170. package/dist/components-icons-Briefcase.js +5 -0
  171. package/dist/components-icons-Briefcase.js.map +1 -0
  172. package/dist/components-icons-Building.cjs +2 -0
  173. package/dist/components-icons-Building.cjs.map +1 -0
  174. package/dist/components-icons-Building.js +5 -0
  175. package/dist/components-icons-Building.js.map +1 -0
  176. package/dist/components-icons-Buildings.cjs +2 -0
  177. package/dist/components-icons-Buildings.cjs.map +1 -0
  178. package/dist/components-icons-Buildings.js +5 -0
  179. package/dist/components-icons-Buildings.js.map +1 -0
  180. package/dist/components-icons-CaretDown.cjs +2 -0
  181. package/dist/components-icons-CaretDown.cjs.map +1 -0
  182. package/dist/components-icons-CaretDown.js +5 -0
  183. package/dist/components-icons-CaretDown.js.map +1 -0
  184. package/dist/components-icons-CaretLeft.cjs +2 -0
  185. package/dist/components-icons-CaretLeft.cjs.map +1 -0
  186. package/dist/components-icons-CaretLeft.js +5 -0
  187. package/dist/components-icons-CaretLeft.js.map +1 -0
  188. package/dist/components-icons-CaretRight.cjs +2 -0
  189. package/dist/components-icons-CaretRight.cjs.map +1 -0
  190. package/dist/components-icons-CaretRight.js +5 -0
  191. package/dist/components-icons-CaretRight.js.map +1 -0
  192. package/dist/components-icons-CaretUp.cjs +2 -0
  193. package/dist/components-icons-CaretUp.cjs.map +1 -0
  194. package/dist/components-icons-CaretUp.js +5 -0
  195. package/dist/components-icons-CaretUp.js.map +1 -0
  196. package/dist/components-icons-CaretUpDown.cjs +2 -0
  197. package/dist/components-icons-CaretUpDown.cjs.map +1 -0
  198. package/dist/components-icons-CaretUpDown.js +5 -0
  199. package/dist/components-icons-CaretUpDown.js.map +1 -0
  200. package/dist/components-icons-ChartLine.cjs +2 -0
  201. package/dist/components-icons-ChartLine.cjs.map +1 -0
  202. package/dist/components-icons-ChartLine.js +5 -0
  203. package/dist/components-icons-ChartLine.js.map +1 -0
  204. package/dist/components-icons-Check.cjs +2 -0
  205. package/dist/components-icons-Check.cjs.map +1 -0
  206. package/dist/components-icons-Check.js +5 -0
  207. package/dist/components-icons-Check.js.map +1 -0
  208. package/dist/components-icons-CheckCircle.cjs +2 -0
  209. package/dist/components-icons-CheckCircle.cjs.map +1 -0
  210. package/dist/components-icons-CheckCircle.js +5 -0
  211. package/dist/components-icons-CheckCircle.js.map +1 -0
  212. package/dist/components-icons-Clock.cjs +2 -0
  213. package/dist/components-icons-Clock.cjs.map +1 -0
  214. package/dist/components-icons-Clock.js +5 -0
  215. package/dist/components-icons-Clock.js.map +1 -0
  216. package/dist/components-icons-CreditCard.cjs +2 -0
  217. package/dist/components-icons-CreditCard.cjs.map +1 -0
  218. package/dist/components-icons-CreditCard.js +5 -0
  219. package/dist/components-icons-CreditCard.js.map +1 -0
  220. package/dist/components-icons-DotsThree.cjs +2 -0
  221. package/dist/components-icons-DotsThree.cjs.map +1 -0
  222. package/dist/components-icons-DotsThree.js +5 -0
  223. package/dist/components-icons-DotsThree.js.map +1 -0
  224. package/dist/components-icons-DownloadSimple.cjs +2 -0
  225. package/dist/components-icons-DownloadSimple.cjs.map +1 -0
  226. package/dist/components-icons-DownloadSimple.js +5 -0
  227. package/dist/components-icons-DownloadSimple.js.map +1 -0
  228. package/dist/components-icons-EnvelopeSimple.cjs +2 -0
  229. package/dist/components-icons-EnvelopeSimple.cjs.map +1 -0
  230. package/dist/components-icons-EnvelopeSimple.js +5 -0
  231. package/dist/components-icons-EnvelopeSimple.js.map +1 -0
  232. package/dist/components-icons-Eye.cjs +2 -0
  233. package/dist/components-icons-Eye.cjs.map +1 -0
  234. package/dist/components-icons-Eye.js +5 -0
  235. package/dist/components-icons-Eye.js.map +1 -0
  236. package/dist/components-icons-EyeSlash.cjs +2 -0
  237. package/dist/components-icons-EyeSlash.cjs.map +1 -0
  238. package/dist/components-icons-EyeSlash.js +5 -0
  239. package/dist/components-icons-EyeSlash.js.map +1 -0
  240. package/dist/components-icons-FileText.cjs +2 -0
  241. package/dist/components-icons-FileText.cjs.map +1 -0
  242. package/dist/components-icons-FileText.js +5 -0
  243. package/dist/components-icons-FileText.js.map +1 -0
  244. package/dist/components-icons-Folder.cjs +2 -0
  245. package/dist/components-icons-Folder.cjs.map +1 -0
  246. package/dist/components-icons-Folder.js +5 -0
  247. package/dist/components-icons-Folder.js.map +1 -0
  248. package/dist/components-icons-Funnel.cjs +2 -0
  249. package/dist/components-icons-Funnel.cjs.map +1 -0
  250. package/dist/components-icons-Funnel.js +5 -0
  251. package/dist/components-icons-Funnel.js.map +1 -0
  252. package/dist/components-icons-Gear.cjs +2 -0
  253. package/dist/components-icons-Gear.cjs.map +1 -0
  254. package/dist/components-icons-Gear.js +5 -0
  255. package/dist/components-icons-Gear.js.map +1 -0
  256. package/dist/components-icons-Info.cjs +2 -0
  257. package/dist/components-icons-Info.cjs.map +1 -0
  258. package/dist/components-icons-Info.js +5 -0
  259. package/dist/components-icons-Info.js.map +1 -0
  260. package/dist/components-icons-LockKey.cjs +2 -0
  261. package/dist/components-icons-LockKey.cjs.map +1 -0
  262. package/dist/components-icons-LockKey.js +5 -0
  263. package/dist/components-icons-LockKey.js.map +1 -0
  264. package/dist/components-icons-MagnifyingGlass.cjs +2 -0
  265. package/dist/components-icons-MagnifyingGlass.cjs.map +1 -0
  266. package/dist/components-icons-MagnifyingGlass.js +5 -0
  267. package/dist/components-icons-MagnifyingGlass.js.map +1 -0
  268. package/dist/components-icons-MaxLogo.cjs +2 -0
  269. package/dist/components-icons-MaxLogo.cjs.map +1 -0
  270. package/dist/components-icons-MaxLogo.js +5 -0
  271. package/dist/components-icons-MaxLogo.js.map +1 -0
  272. package/dist/components-icons-Package.cjs +2 -0
  273. package/dist/components-icons-Package.cjs.map +1 -0
  274. package/dist/components-icons-Package.js +5 -0
  275. package/dist/components-icons-Package.js.map +1 -0
  276. package/dist/components-icons-Pencil.cjs +2 -0
  277. package/dist/components-icons-Pencil.cjs.map +1 -0
  278. package/dist/components-icons-Pencil.js +5 -0
  279. package/dist/components-icons-Pencil.js.map +1 -0
  280. package/dist/components-icons-Phone.cjs +2 -0
  281. package/dist/components-icons-Phone.cjs.map +1 -0
  282. package/dist/components-icons-Phone.js +5 -0
  283. package/dist/components-icons-Phone.js.map +1 -0
  284. package/dist/components-icons-Plus.cjs +2 -0
  285. package/dist/components-icons-Plus.cjs.map +1 -0
  286. package/dist/components-icons-Plus.js +5 -0
  287. package/dist/components-icons-Plus.js.map +1 -0
  288. package/dist/components-icons-PresentationChart.cjs +2 -0
  289. package/dist/components-icons-PresentationChart.cjs.map +1 -0
  290. package/dist/components-icons-PresentationChart.js +5 -0
  291. package/dist/components-icons-PresentationChart.js.map +1 -0
  292. package/dist/components-icons-SpinnerGap.cjs +2 -0
  293. package/dist/components-icons-SpinnerGap.cjs.map +1 -0
  294. package/dist/components-icons-SpinnerGap.js +5 -0
  295. package/dist/components-icons-SpinnerGap.js.map +1 -0
  296. package/dist/components-icons-TelegramLogo.cjs +2 -0
  297. package/dist/components-icons-TelegramLogo.cjs.map +1 -0
  298. package/dist/components-icons-TelegramLogo.js +5 -0
  299. package/dist/components-icons-TelegramLogo.js.map +1 -0
  300. package/dist/components-icons-Trash.cjs +2 -0
  301. package/dist/components-icons-Trash.cjs.map +1 -0
  302. package/dist/components-icons-Trash.js +5 -0
  303. package/dist/components-icons-Trash.js.map +1 -0
  304. package/dist/components-icons-UserCircleGear.cjs +2 -0
  305. package/dist/components-icons-UserCircleGear.cjs.map +1 -0
  306. package/dist/components-icons-UserCircleGear.js +5 -0
  307. package/dist/components-icons-UserCircleGear.js.map +1 -0
  308. package/dist/components-icons-Users.cjs +2 -0
  309. package/dist/components-icons-Users.cjs.map +1 -0
  310. package/dist/components-icons-Users.js +5 -0
  311. package/dist/components-icons-Users.js.map +1 -0
  312. package/dist/components-icons-UsersFour.cjs +2 -0
  313. package/dist/components-icons-UsersFour.cjs.map +1 -0
  314. package/dist/components-icons-UsersFour.js +5 -0
  315. package/dist/components-icons-UsersFour.js.map +1 -0
  316. package/dist/components-icons-Warning.cjs +2 -0
  317. package/dist/components-icons-Warning.cjs.map +1 -0
  318. package/dist/components-icons-Warning.js +5 -0
  319. package/dist/components-icons-Warning.js.map +1 -0
  320. package/dist/components-icons-WarningCircle.cjs +2 -0
  321. package/dist/components-icons-WarningCircle.cjs.map +1 -0
  322. package/dist/components-icons-WarningCircle.js +5 -0
  323. package/dist/components-icons-WarningCircle.js.map +1 -0
  324. package/dist/components-icons-WhatsAppLogoFilled.cjs +2 -0
  325. package/dist/components-icons-WhatsAppLogoFilled.cjs.map +1 -0
  326. package/dist/components-icons-WhatsAppLogoFilled.js +5 -0
  327. package/dist/components-icons-WhatsAppLogoFilled.js.map +1 -0
  328. package/dist/components-icons-Wrench.cjs +2 -0
  329. package/dist/components-icons-Wrench.cjs.map +1 -0
  330. package/dist/components-icons-Wrench.js +5 -0
  331. package/dist/components-icons-Wrench.js.map +1 -0
  332. package/dist/components-icons-X.cjs +2 -0
  333. package/dist/components-icons-X.cjs.map +1 -0
  334. package/dist/components-icons-X.js +5 -0
  335. package/dist/components-icons-X.js.map +1 -0
  336. package/dist/components-icons-XCircle.cjs +2 -0
  337. package/dist/components-icons-XCircle.cjs.map +1 -0
  338. package/dist/components-icons-XCircle.js +5 -0
  339. package/dist/components-icons-XCircle.js.map +1 -0
  340. package/dist/components-icons-stroke-icon.cjs +2 -0
  341. package/dist/components-icons-stroke-icon.cjs.map +1 -0
  342. package/dist/components-icons-stroke-icon.js +39 -0
  343. package/dist/components-icons-stroke-icon.js.map +1 -0
  344. package/dist/components-icons.cjs +2 -0
  345. package/dist/components-icons.cjs.map +1 -0
  346. package/dist/components-icons.js +97 -0
  347. package/dist/components-icons.js.map +1 -0
  348. package/dist/components-input-contact-input-contact.cjs +4 -4
  349. package/dist/components-input-contact-input-contact.cjs.map +1 -1
  350. package/dist/components-input-contact-input-contact.js +104 -75
  351. package/dist/components-input-contact-input-contact.js.map +1 -1
  352. package/dist/components-input-field-input-field.cjs +1 -1
  353. package/dist/components-input-field-input-field.cjs.map +1 -1
  354. package/dist/components-input-field-input-field.js +18 -19
  355. package/dist/components-input-field-input-field.js.map +1 -1
  356. package/dist/components-input-password-input-password.cjs +1 -1
  357. package/dist/components-input-password-input-password.cjs.map +1 -1
  358. package/dist/components-input-password-input-password.js +14 -52
  359. package/dist/components-input-password-input-password.js.map +1 -1
  360. package/dist/components-input-phone-input-phone.cjs.map +1 -1
  361. package/dist/components-input-phone-input-phone.js.map +1 -1
  362. package/dist/components-popover-modal-popover-modal.cjs +1 -1
  363. package/dist/components-popover-modal-popover-modal.cjs.map +1 -1
  364. package/dist/components-popover-modal-popover-modal.js +40 -29
  365. package/dist/components-popover-modal-popover-modal.js.map +1 -1
  366. package/dist/components-select-field-select-field.cjs.map +1 -1
  367. package/dist/components-select-field-select-field.js.map +1 -1
  368. package/dist/components-ui-avatar-avatar.cjs +1 -1
  369. package/dist/components-ui-avatar-avatar.cjs.map +1 -1
  370. package/dist/components-ui-avatar-avatar.js +12 -13
  371. package/dist/components-ui-avatar-avatar.js.map +1 -1
  372. package/dist/components-ui-badge-badge.cjs +1 -1
  373. package/dist/components-ui-badge-badge.cjs.map +1 -1
  374. package/dist/components-ui-badge-badge.js +10 -11
  375. package/dist/components-ui-badge-badge.js.map +1 -1
  376. package/dist/components-ui-button-button.cjs +1 -1
  377. package/dist/components-ui-button-button.cjs.map +1 -1
  378. package/dist/components-ui-button-button.js +10 -11
  379. package/dist/components-ui-button-button.js.map +1 -1
  380. package/dist/components-ui-button-button.styles.cjs +4 -4
  381. package/dist/components-ui-button-button.styles.cjs.map +1 -1
  382. package/dist/components-ui-button-button.styles.js +4 -4
  383. package/dist/components-ui-button-button.styles.js.map +1 -1
  384. package/dist/components-ui-calendar-calendar.cjs +1 -1
  385. package/dist/components-ui-calendar-calendar.js +4 -3
  386. package/dist/components-ui-calendar-calendar.js.map +1 -1
  387. package/dist/components-ui-calendar-calendar.styles.cjs +1 -1
  388. package/dist/components-ui-calendar-calendar.styles.cjs.map +1 -1
  389. package/dist/components-ui-calendar-calendar.styles.js +1 -1
  390. package/dist/components-ui-calendar-calendar.styles.js.map +1 -1
  391. package/dist/components-ui-calendar.cjs +1 -1
  392. package/dist/components-ui-calendar.js +2 -2
  393. package/dist/components-ui-card-card.cjs +1 -1
  394. package/dist/components-ui-card-card.cjs.map +1 -1
  395. package/dist/components-ui-card-card.js +10 -11
  396. package/dist/components-ui-card-card.js.map +1 -1
  397. package/dist/components-ui-chart-chart.cjs +1 -1
  398. package/dist/components-ui-chart-chart.js +1 -1
  399. package/dist/components-ui-chart.cjs +1 -1
  400. package/dist/components-ui-chart.js +1 -1
  401. package/dist/components-ui-checkbox-checkbox.cjs +1 -1
  402. package/dist/components-ui-checkbox-checkbox.cjs.map +1 -1
  403. package/dist/components-ui-checkbox-checkbox.js +13 -13
  404. package/dist/components-ui-checkbox-checkbox.js.map +1 -1
  405. package/dist/components-ui-combobox-combobox.cjs +5 -5
  406. package/dist/components-ui-combobox-combobox.cjs.map +1 -1
  407. package/dist/components-ui-combobox-combobox.js +1478 -1479
  408. package/dist/components-ui-combobox-combobox.js.map +1 -1
  409. package/dist/components-ui-dialog-dialog.cjs +1 -1
  410. package/dist/components-ui-dialog-dialog.cjs.map +1 -1
  411. package/dist/components-ui-dialog-dialog.js +23 -23
  412. package/dist/components-ui-dialog-dialog.js.map +1 -1
  413. package/dist/components-ui-drawer-drawer.cjs +2 -2
  414. package/dist/components-ui-drawer-drawer.cjs.map +1 -1
  415. package/dist/components-ui-drawer-drawer.js +16 -19
  416. package/dist/components-ui-drawer-drawer.js.map +1 -1
  417. package/dist/components-ui-dropdown-menu-dropdown-menu.cjs +1 -1
  418. package/dist/components-ui-dropdown-menu-dropdown-menu.cjs.map +1 -1
  419. package/dist/components-ui-dropdown-menu-dropdown-menu.js +1 -1
  420. package/dist/components-ui-dropdown-menu-dropdown-menu.js.map +1 -1
  421. package/dist/components-ui-icon-icon-map.cjs +2 -0
  422. package/dist/components-ui-icon-icon-map.cjs.map +1 -0
  423. package/dist/components-ui-icon-icon-map.js +71 -0
  424. package/dist/components-ui-icon-icon-map.js.map +1 -0
  425. package/dist/components-ui-icon-icon.cjs +1 -1
  426. package/dist/components-ui-icon-icon.cjs.map +1 -1
  427. package/dist/components-ui-icon-icon.js +29 -61735
  428. package/dist/components-ui-icon-icon.js.map +1 -1
  429. package/dist/components-ui-icon.cjs +1 -1
  430. package/dist/components-ui-icon.js +3 -1
  431. package/dist/components-ui-icon.js.map +1 -1
  432. package/dist/components-ui-input-group-input-group.cjs +1 -1
  433. package/dist/components-ui-input-group-input-group.cjs.map +1 -1
  434. package/dist/components-ui-input-group-input-group.js +12 -13
  435. package/dist/components-ui-input-group-input-group.js.map +1 -1
  436. package/dist/components-ui-input-input.cjs +1 -1
  437. package/dist/components-ui-input-input.cjs.map +1 -1
  438. package/dist/components-ui-input-input.js +2 -3
  439. package/dist/components-ui-input-input.js.map +1 -1
  440. package/dist/components-ui-label-label.cjs +1 -1
  441. package/dist/components-ui-label-label.cjs.map +1 -1
  442. package/dist/components-ui-label-label.js +1 -1
  443. package/dist/components-ui-label-label.js.map +1 -1
  444. package/dist/components-ui-pagination-pagination.cjs +2 -2
  445. package/dist/components-ui-pagination-pagination.cjs.map +1 -1
  446. package/dist/components-ui-pagination-pagination.js +48 -46
  447. package/dist/components-ui-pagination-pagination.js.map +1 -1
  448. package/dist/components-ui-popover-popover.cjs +1 -1
  449. package/dist/components-ui-popover-popover.cjs.map +1 -1
  450. package/dist/components-ui-popover-popover.js +14 -19
  451. package/dist/components-ui-popover-popover.js.map +1 -1
  452. package/dist/components-ui-progress-progress.cjs +1 -1
  453. package/dist/components-ui-progress-progress.cjs.map +1 -1
  454. package/dist/components-ui-progress-progress.js +1 -1
  455. package/dist/components-ui-progress-progress.js.map +1 -1
  456. package/dist/components-ui-radio-group-radio-group.cjs +1 -1
  457. package/dist/components-ui-radio-group-radio-group.cjs.map +1 -1
  458. package/dist/components-ui-radio-group-radio-group.js +0 -1
  459. package/dist/components-ui-radio-group-radio-group.js.map +1 -1
  460. package/dist/components-ui-select-calendar-menu-select-calendar-menu.cjs +1 -1
  461. package/dist/components-ui-select-calendar-menu-select-calendar-menu.cjs.map +1 -1
  462. package/dist/components-ui-select-calendar-menu-select-calendar-menu.js +54 -47
  463. package/dist/components-ui-select-calendar-menu-select-calendar-menu.js.map +1 -1
  464. package/dist/components-ui-select-select.cjs +1 -1
  465. package/dist/components-ui-select-select.cjs.map +1 -1
  466. package/dist/components-ui-select-select.js +36 -36
  467. package/dist/components-ui-select-select.js.map +1 -1
  468. package/dist/components-ui-separator-separator.cjs +1 -1
  469. package/dist/components-ui-separator-separator.cjs.map +1 -1
  470. package/dist/components-ui-separator-separator.js +11 -12
  471. package/dist/components-ui-separator-separator.js.map +1 -1
  472. package/dist/components-ui-sonner-sonner.cjs +1 -1
  473. package/dist/components-ui-sonner-sonner.cjs.map +1 -1
  474. package/dist/components-ui-sonner-sonner.js +38 -32
  475. package/dist/components-ui-sonner-sonner.js.map +1 -1
  476. package/dist/components-ui-switch-switch.cjs +1 -1
  477. package/dist/components-ui-switch-switch.cjs.map +1 -1
  478. package/dist/components-ui-switch-switch.js +6 -7
  479. package/dist/components-ui-switch-switch.js.map +1 -1
  480. package/dist/components-ui-table-table.cjs +1 -1
  481. package/dist/components-ui-table-table.cjs.map +1 -1
  482. package/dist/components-ui-table-table.js +0 -1
  483. package/dist/components-ui-table-table.js.map +1 -1
  484. package/dist/components-ui-tabs-tabs.cjs +2 -2
  485. package/dist/components-ui-tabs-tabs.cjs.map +1 -1
  486. package/dist/components-ui-tabs-tabs.js +16 -16
  487. package/dist/components-ui-tabs-tabs.js.map +1 -1
  488. package/dist/components-ui-tooltip-tooltip.cjs +1 -1
  489. package/dist/components-ui-tooltip-tooltip.cjs.map +1 -1
  490. package/dist/components-ui-tooltip-tooltip.js +9 -10
  491. package/dist/components-ui-tooltip-tooltip.js.map +1 -1
  492. package/dist/components-ui-typography-typography.cjs +1 -1
  493. package/dist/components-ui-typography-typography.cjs.map +1 -1
  494. package/dist/components-ui-typography-typography.js +7 -7
  495. package/dist/components-ui-typography-typography.js.map +1 -1
  496. package/dist/index.cjs +1 -1
  497. package/dist/index.js +234 -233
  498. package/dist/index.js.map +1 -1
  499. package/package.json +10 -1
  500. package/dist/calendar-DReGV_22.cjs +0 -2
  501. package/dist/chart-C69jBlXa.cjs +0 -63
@@ -1,26 +1,26 @@
1
- import { jsx as G, Fragment as Pn, jsxs as ft } from "react/jsx-runtime";
1
+ import { jsx as G, Fragment as Fn, jsxs as dt } from "react/jsx-runtime";
2
2
  import { cn as Y } from "./lib-utils.js";
3
- import * as ve from "react";
4
- import f, { createContext as Fn, useContext as Bn, useCallback as U, useRef as Te, useLayoutEffect as In, useState as Ue, useEffect as Hn, useMemo as xe } from "react";
5
- import { Button as Nt } from "./components-ui-button-button.js";
6
- import { buttonVariants as ht } from "./components-ui-button-button.styles.js";
3
+ import f, { createContext as St, useContext as Bn, useCallback as U, useRef as ve, useLayoutEffect as In, useState as xe, useEffect as Nt, useMemo as Te, use as Hn } from "react";
4
+ import { Button as Yt } from "./components-ui-button-button.js";
5
+ import { buttonVariants as ft } from "./components-ui-button-button.styles.js";
7
6
  import { Card as An, CardContent as qn, CardFooter as jn } from "./components-ui-card-card.js";
8
7
  import { Icon as je } from "./components-ui-icon-icon.js";
8
+ import "phosphor-strokes-icons/icons";
9
9
  import { Typography as Rn } from "./components-ui-typography-typography.js";
10
10
  import { getTypographyClassName as $n } from "./components-ui-typography-typography.styles.js";
11
- import { calendarHiddenClassName as Gn, calendarDisabledClassName as zn, calendarOutsideClassName as Vn, calendarTodayClassName as Qn, calendarRangeEndClassName as Xn, calendarRangeMiddleClassName as Un, calendarRangeStartClassName as Kn, calendarDayVariants as Zn, calendarWeekNumberVariants as Jn, calendarWeekNumberHeaderClassName as Ln, calendarWeekVariants as er, calendarWeekdayVariants as tr, calendarWeekdaysVariants as nr, calendarCaptionLabelVariants as rr, calendarDropdownClassName as or, calendarDropdownRootClassName as ar, calendarDropdownsVariants as sr, calendarMonthCaptionClassName as ir, calendarNavButtonClassName as mt, calendarNavClassName as cr, calendarMonthClassName as ur, calendarMonthsClassName as lr, calendarRootVariants as dr, calendarContentPaddingVariants as fr, calendarFooterVariants as hr, calendarWrapperClassName as mr, calendarTypographyVariantBySize as yr, calendarDayTextVariants as gr, calendarRangeLastClickedClassName as br, calendarTodayButtonIndicatorClassName as wr, calendarDayButtonClassName as pr, calendarWeekNumberCellClassName as Mr, calendarIconClassName as Re } from "./components-ui-calendar-calendar.styles.js";
12
- const Yt = 6048e5, kr = 864e5, yt = /* @__PURE__ */ Symbol.for("constructDateFrom");
11
+ import { calendarHiddenClassName as Gn, calendarDisabledClassName as zn, calendarOutsideClassName as Vn, calendarTodayClassName as Qn, calendarRangeEndClassName as Xn, calendarRangeMiddleClassName as Un, calendarRangeStartClassName as Kn, calendarDayVariants as Zn, calendarWeekNumberVariants as Jn, calendarWeekNumberHeaderClassName as Ln, calendarWeekVariants as er, calendarWeekdayVariants as tr, calendarWeekdaysVariants as nr, calendarCaptionLabelVariants as rr, calendarDropdownClassName as or, calendarDropdownRootClassName as ar, calendarDropdownsVariants as sr, calendarMonthCaptionClassName as ir, calendarNavButtonClassName as ht, calendarNavClassName as cr, calendarMonthClassName as ur, calendarMonthsClassName as lr, calendarRootVariants as dr, calendarContentPaddingVariants as fr, calendarFooterVariants as hr, calendarWrapperClassName as mr, calendarTypographyVariantBySize as yr, calendarDayTextVariants as gr, calendarRangeLastClickedClassName as br, calendarTodayButtonIndicatorClassName as wr, calendarDayButtonClassName as pr, calendarWeekNumberCellClassName as Mr, calendarIconClassName as Re } from "./components-ui-calendar-calendar.styles.js";
12
+ const Tt = 6048e5, kr = 864e5, mt = /* @__PURE__ */ Symbol.for("constructDateFrom");
13
13
  function A(e, t) {
14
- return typeof e == "function" ? e(t) : e && typeof e == "object" && yt in e ? e[yt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
14
+ return typeof e == "function" ? e(t) : e && typeof e == "object" && mt in e ? e[mt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
15
15
  }
16
16
  function B(e, t) {
17
17
  return A(t || e, e);
18
18
  }
19
- function Ze(e, t, n) {
19
+ function Ke(e, t, n) {
20
20
  const r = B(e, n?.in);
21
21
  return isNaN(t) ? A(e, NaN) : (t && r.setDate(r.getDate() + t), r);
22
22
  }
23
- function Tt(e, t, n) {
23
+ function xt(e, t, n) {
24
24
  const r = B(e, n?.in);
25
25
  if (isNaN(t)) return A(e, NaN);
26
26
  if (!t)
@@ -45,7 +45,7 @@ function me(e, t) {
45
45
  function Oe(e, t) {
46
46
  return me(e, { ...t, weekStartsOn: 1 });
47
47
  }
48
- function xt(e, t) {
48
+ function _t(e, t) {
49
49
  const n = B(e, t?.in), r = n.getFullYear(), o = A(n, 0);
50
50
  o.setFullYear(r + 1, 0, 4), o.setHours(0, 0, 0, 0);
51
51
  const s = Oe(o), i = A(n, 0);
@@ -53,7 +53,7 @@ function xt(e, t) {
53
53
  const a = Oe(i);
54
54
  return n.getTime() >= s.getTime() ? r + 1 : n.getTime() >= a.getTime() ? r : r - 1;
55
55
  }
56
- function gt(e) {
56
+ function yt(e) {
57
57
  const t = B(e), n = new Date(
58
58
  Date.UTC(
59
59
  t.getFullYear(),
@@ -78,23 +78,23 @@ function ye(e, t) {
78
78
  const n = B(e, t?.in);
79
79
  return n.setHours(0, 0, 0, 0), n;
80
80
  }
81
- function Je(e, t, n) {
81
+ function Ze(e, t, n) {
82
82
  const [r, o] = ge(
83
83
  n?.in,
84
84
  e,
85
85
  t
86
- ), s = ye(r), i = ye(o), a = +s - gt(s), c = +i - gt(i);
86
+ ), s = ye(r), i = ye(o), a = +s - yt(s), c = +i - yt(i);
87
87
  return Math.round((a - c) / kr);
88
88
  }
89
89
  function vr(e, t) {
90
- const n = xt(e, t), r = A(e, 0);
90
+ const n = _t(e, t), r = A(e, 0);
91
91
  return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), Oe(r);
92
92
  }
93
93
  function Or(e, t, n) {
94
- return Ze(e, t * 7, n);
94
+ return Ke(e, t * 7, n);
95
95
  }
96
96
  function Wr(e, t, n) {
97
- return Tt(e, t * 12, n);
97
+ return xt(e, t * 12, n);
98
98
  }
99
99
  function Cr(e, t) {
100
100
  let n, r = t?.in;
@@ -120,11 +120,11 @@ function Nr(e, t, n) {
120
120
  );
121
121
  return +ye(r) == +ye(o);
122
122
  }
123
- function _t(e) {
123
+ function Pt(e) {
124
124
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
125
125
  }
126
126
  function Yr(e) {
127
- return !(!_t(e) && typeof e != "number" || isNaN(+B(e)));
127
+ return !(!Pt(e) && typeof e != "number" || isNaN(+B(e)));
128
128
  }
129
129
  function Et(e, t, n) {
130
130
  const [r, o] = ge(
@@ -138,12 +138,12 @@ function Tr(e, t) {
138
138
  const n = B(e, t?.in), r = n.getMonth();
139
139
  return n.setFullYear(n.getFullYear(), r + 1, 0), n.setHours(23, 59, 59, 999), n;
140
140
  }
141
- function Pt(e, t) {
141
+ function Ft(e, t) {
142
142
  const [n, r] = ge(e, t.start, t.end);
143
143
  return { start: n, end: r };
144
144
  }
145
145
  function xr(e, t) {
146
- const { start: n, end: r } = Pt(t?.in, e);
146
+ const { start: n, end: r } = Ft(t?.in, e);
147
147
  let o = +n > +r;
148
148
  const s = o ? +n : +r, i = o ? r : n;
149
149
  i.setHours(0, 0, 0, 0), i.setDate(1);
@@ -157,16 +157,16 @@ function _r(e, t) {
157
157
  const n = B(e, t?.in);
158
158
  return n.setDate(1), n.setHours(0, 0, 0, 0), n;
159
159
  }
160
- function Er(e, t) {
160
+ function Pr(e, t) {
161
161
  const n = B(e, t?.in), r = n.getFullYear();
162
162
  return n.setFullYear(r + 1, 0, 0), n.setHours(23, 59, 59, 999), n;
163
163
  }
164
- function Ft(e, t) {
164
+ function Bt(e, t) {
165
165
  const n = B(e, t?.in);
166
166
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
167
167
  }
168
- function Pr(e, t) {
169
- const { start: n, end: r } = Pt(t?.in, e);
168
+ function Er(e, t) {
169
+ const { start: n, end: r } = Ft(t?.in, e);
170
170
  let o = +n > +r;
171
171
  const s = o ? +n : +r, i = o ? r : n;
172
172
  i.setHours(0, 0, 0, 0), i.setMonth(0, 1);
@@ -176,12 +176,12 @@ function Pr(e, t) {
176
176
  c.push(A(n, i)), i.setFullYear(i.getFullYear() + a);
177
177
  return o ? c.reverse() : c;
178
178
  }
179
- function Bt(e, t) {
179
+ function It(e, t) {
180
180
  const n = We(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, o = B(e, t?.in), s = o.getDay(), i = (s < r ? -7 : 0) + 6 - (s - r);
181
181
  return o.setDate(o.getDate() + i), o.setHours(23, 59, 59, 999), o;
182
182
  }
183
183
  function Fr(e, t) {
184
- return Bt(e, { ...t, weekStartsOn: 1 });
184
+ return It(e, { ...t, weekStartsOn: 1 });
185
185
  }
186
186
  const Br = {
187
187
  lessThanXSeconds: {
@@ -616,13 +616,13 @@ const to = /^(\d+)(th|st|nd|rd)?/i, no = /\d+/i, ro = {
616
616
  };
617
617
  function yo(e, t) {
618
618
  const n = B(e, t?.in);
619
- return Je(n, Ft(n)) + 1;
619
+ return Ze(n, Bt(n)) + 1;
620
620
  }
621
- function Le(e, t) {
621
+ function Je(e, t) {
622
622
  const n = B(e, t?.in), r = +Oe(n) - +vr(n);
623
- return Math.round(r / Yt) + 1;
623
+ return Math.round(r / Tt) + 1;
624
624
  }
625
- function It(e, t) {
625
+ function Ht(e, t) {
626
626
  const n = B(e, t?.in), r = n.getFullYear(), o = We(), s = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, i = A(t?.in || e, 0);
627
627
  i.setFullYear(r + 1, 0, s), i.setHours(0, 0, 0, 0);
628
628
  const a = me(i, t), c = A(t?.in || e, 0);
@@ -631,14 +631,14 @@ function It(e, t) {
631
631
  return +n >= +a ? r + 1 : +n >= +u ? r : r - 1;
632
632
  }
633
633
  function go(e, t) {
634
- const n = We(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, o = It(e, t), s = A(t?.in || e, 0);
634
+ const n = We(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, o = Ht(e, t), s = A(t?.in || e, 0);
635
635
  return s.setFullYear(o, 0, r), s.setHours(0, 0, 0, 0), me(s, t);
636
636
  }
637
- function et(e, t) {
637
+ function Le(e, t) {
638
638
  const n = B(e, t?.in), r = +me(n, t) - +go(n, t);
639
- return Math.round(r / Yt) + 1;
639
+ return Math.round(r / Tt) + 1;
640
640
  }
641
- function P(e, t) {
641
+ function E(e, t) {
642
642
  const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
643
643
  return n + r;
644
644
  }
@@ -646,16 +646,16 @@ const ie = {
646
646
  // Year
647
647
  y(e, t) {
648
648
  const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
649
- return P(t === "yy" ? r % 100 : r, t.length);
649
+ return E(t === "yy" ? r % 100 : r, t.length);
650
650
  },
651
651
  // Month
652
652
  M(e, t) {
653
653
  const n = e.getMonth();
654
- return t === "M" ? String(n + 1) : P(n + 1, 2);
654
+ return t === "M" ? String(n + 1) : E(n + 1, 2);
655
655
  },
656
656
  // Day of the month
657
657
  d(e, t) {
658
- return P(e.getDate(), t.length);
658
+ return E(e.getDate(), t.length);
659
659
  },
660
660
  // AM or PM
661
661
  a(e, t) {
@@ -674,26 +674,26 @@ const ie = {
674
674
  },
675
675
  // Hour [1-12]
676
676
  h(e, t) {
677
- return P(e.getHours() % 12 || 12, t.length);
677
+ return E(e.getHours() % 12 || 12, t.length);
678
678
  },
679
679
  // Hour [0-23]
680
680
  H(e, t) {
681
- return P(e.getHours(), t.length);
681
+ return E(e.getHours(), t.length);
682
682
  },
683
683
  // Minute
684
684
  m(e, t) {
685
- return P(e.getMinutes(), t.length);
685
+ return E(e.getMinutes(), t.length);
686
686
  },
687
687
  // Second
688
688
  s(e, t) {
689
- return P(e.getSeconds(), t.length);
689
+ return E(e.getSeconds(), t.length);
690
690
  },
691
691
  // Fraction of second
692
692
  S(e, t) {
693
693
  const n = t.length, r = e.getMilliseconds(), o = Math.trunc(
694
694
  r * Math.pow(10, n - 3)
695
695
  );
696
- return P(o, t.length);
696
+ return E(o, t.length);
697
697
  }
698
698
  }, de = {
699
699
  midnight: "midnight",
@@ -702,7 +702,7 @@ const ie = {
702
702
  afternoon: "afternoon",
703
703
  evening: "evening",
704
704
  night: "night"
705
- }, bt = {
705
+ }, gt = {
706
706
  // Era
707
707
  G: function(e, t, n) {
708
708
  const r = e.getFullYear() > 0 ? 1 : 0;
@@ -729,17 +729,17 @@ const ie = {
729
729
  },
730
730
  // Local week-numbering year
731
731
  Y: function(e, t, n, r) {
732
- const o = It(e, r), s = o > 0 ? o : 1 - o;
732
+ const o = Ht(e, r), s = o > 0 ? o : 1 - o;
733
733
  if (t === "YY") {
734
734
  const i = s % 100;
735
- return P(i, 2);
735
+ return E(i, 2);
736
736
  }
737
- return t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) : P(s, t.length);
737
+ return t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) : E(s, t.length);
738
738
  },
739
739
  // ISO week-numbering year
740
740
  R: function(e, t) {
741
- const n = xt(e);
742
- return P(n, t.length);
741
+ const n = _t(e);
742
+ return E(n, t.length);
743
743
  },
744
744
  // Extended year. This is a single number designating the year of this calendar system.
745
745
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -752,7 +752,7 @@ const ie = {
752
752
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
753
753
  u: function(e, t) {
754
754
  const n = e.getFullYear();
755
- return P(n, t.length);
755
+ return E(n, t.length);
756
756
  },
757
757
  // Quarter
758
758
  Q: function(e, t, n) {
@@ -763,7 +763,7 @@ const ie = {
763
763
  return String(r);
764
764
  // 01, 02, 03, 04
765
765
  case "QQ":
766
- return P(r, 2);
766
+ return E(r, 2);
767
767
  // 1st, 2nd, 3rd, 4th
768
768
  case "Qo":
769
769
  return n.ordinalNumber(r, { unit: "quarter" });
@@ -795,7 +795,7 @@ const ie = {
795
795
  return String(r);
796
796
  // 01, 02, 03, 04
797
797
  case "qq":
798
- return P(r, 2);
798
+ return E(r, 2);
799
799
  // 1st, 2nd, 3rd, 4th
800
800
  case "qo":
801
801
  return n.ordinalNumber(r, { unit: "quarter" });
@@ -853,7 +853,7 @@ const ie = {
853
853
  return String(r + 1);
854
854
  // 01, 02, ..., 12
855
855
  case "LL":
856
- return P(r + 1, 2);
856
+ return E(r + 1, 2);
857
857
  // 1st, 2nd, ..., 12th
858
858
  case "Lo":
859
859
  return n.ordinalNumber(r + 1, { unit: "month" });
@@ -875,13 +875,13 @@ const ie = {
875
875
  },
876
876
  // Local week of year
877
877
  w: function(e, t, n, r) {
878
- const o = et(e, r);
879
- return t === "wo" ? n.ordinalNumber(o, { unit: "week" }) : P(o, t.length);
878
+ const o = Le(e, r);
879
+ return t === "wo" ? n.ordinalNumber(o, { unit: "week" }) : E(o, t.length);
880
880
  },
881
881
  // ISO week of year
882
882
  I: function(e, t, n) {
883
- const r = Le(e);
884
- return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : P(r, t.length);
883
+ const r = Je(e);
884
+ return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : E(r, t.length);
885
885
  },
886
886
  // Day of the month
887
887
  d: function(e, t, n) {
@@ -890,7 +890,7 @@ const ie = {
890
890
  // Day of year
891
891
  D: function(e, t, n) {
892
892
  const r = yo(e);
893
- return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : P(r, t.length);
893
+ return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : E(r, t.length);
894
894
  },
895
895
  // Day of week
896
896
  E: function(e, t, n) {
@@ -932,7 +932,7 @@ const ie = {
932
932
  return String(s);
933
933
  // Padded numerical value
934
934
  case "ee":
935
- return P(s, 2);
935
+ return E(s, 2);
936
936
  // 1st, 2nd, ..., 7th
937
937
  case "eo":
938
938
  return n.ordinalNumber(s, { unit: "day" });
@@ -969,7 +969,7 @@ const ie = {
969
969
  return String(s);
970
970
  // Padded numerical value
971
971
  case "cc":
972
- return P(s, t.length);
972
+ return E(s, t.length);
973
973
  // 1st, 2nd, ..., 7th
974
974
  case "co":
975
975
  return n.ordinalNumber(s, { unit: "day" });
@@ -1006,7 +1006,7 @@ const ie = {
1006
1006
  return String(o);
1007
1007
  // 02
1008
1008
  case "ii":
1009
- return P(o, t.length);
1009
+ return E(o, t.length);
1010
1010
  // 2nd
1011
1011
  case "io":
1012
1012
  return n.ordinalNumber(o, { unit: "day" });
@@ -1129,12 +1129,12 @@ const ie = {
1129
1129
  // Hour [0-11]
1130
1130
  K: function(e, t, n) {
1131
1131
  const r = e.getHours() % 12;
1132
- return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : P(r, t.length);
1132
+ return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : E(r, t.length);
1133
1133
  },
1134
1134
  // Hour [1-24]
1135
1135
  k: function(e, t, n) {
1136
1136
  let r = e.getHours();
1137
- return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : P(r, t.length);
1137
+ return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : E(r, t.length);
1138
1138
  },
1139
1139
  // Minute
1140
1140
  m: function(e, t, n) {
@@ -1156,7 +1156,7 @@ const ie = {
1156
1156
  switch (t) {
1157
1157
  // Hours and optional minutes
1158
1158
  case "X":
1159
- return pt(r);
1159
+ return wt(r);
1160
1160
  // Hours, minutes and optional seconds without `:` delimiter
1161
1161
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1162
1162
  // so this token always has the same output as `XX`
@@ -1174,7 +1174,7 @@ const ie = {
1174
1174
  switch (t) {
1175
1175
  // Hours and optional minutes
1176
1176
  case "x":
1177
- return pt(r);
1177
+ return wt(r);
1178
1178
  // Hours, minutes and optional seconds without `:` delimiter
1179
1179
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1180
1180
  // so this token always has the same output as `xx`
@@ -1194,7 +1194,7 @@ const ie = {
1194
1194
  case "O":
1195
1195
  case "OO":
1196
1196
  case "OOO":
1197
- return "GMT" + wt(r, ":");
1197
+ return "GMT" + bt(r, ":");
1198
1198
  default:
1199
1199
  return "GMT" + ue(r, ":");
1200
1200
  }
@@ -1207,7 +1207,7 @@ const ie = {
1207
1207
  case "z":
1208
1208
  case "zz":
1209
1209
  case "zzz":
1210
- return "GMT" + wt(r, ":");
1210
+ return "GMT" + bt(r, ":");
1211
1211
  default:
1212
1212
  return "GMT" + ue(r, ":");
1213
1213
  }
@@ -1215,25 +1215,25 @@ const ie = {
1215
1215
  // Seconds timestamp
1216
1216
  t: function(e, t, n) {
1217
1217
  const r = Math.trunc(+e / 1e3);
1218
- return P(r, t.length);
1218
+ return E(r, t.length);
1219
1219
  },
1220
1220
  // Milliseconds timestamp
1221
1221
  T: function(e, t, n) {
1222
- return P(+e, t.length);
1222
+ return E(+e, t.length);
1223
1223
  }
1224
1224
  };
1225
- function wt(e, t = "") {
1225
+ function bt(e, t = "") {
1226
1226
  const n = e > 0 ? "-" : "+", r = Math.abs(e), o = Math.trunc(r / 60), s = r % 60;
1227
- return s === 0 ? n + String(o) : n + String(o) + t + P(s, 2);
1227
+ return s === 0 ? n + String(o) : n + String(o) + t + E(s, 2);
1228
1228
  }
1229
- function pt(e, t) {
1230
- return e % 60 === 0 ? (e > 0 ? "-" : "+") + P(Math.abs(e) / 60, 2) : ue(e, t);
1229
+ function wt(e, t) {
1230
+ return e % 60 === 0 ? (e > 0 ? "-" : "+") + E(Math.abs(e) / 60, 2) : ue(e, t);
1231
1231
  }
1232
1232
  function ue(e, t = "") {
1233
- const n = e > 0 ? "-" : "+", r = Math.abs(e), o = P(Math.trunc(r / 60), 2), s = P(r % 60, 2);
1233
+ const n = e > 0 ? "-" : "+", r = Math.abs(e), o = E(Math.trunc(r / 60), 2), s = E(r % 60, 2);
1234
1234
  return n + o + t + s;
1235
1235
  }
1236
- const Mt = (e, t) => {
1236
+ const pt = (e, t) => {
1237
1237
  switch (e) {
1238
1238
  case "P":
1239
1239
  return t.date({ width: "short" });
@@ -1244,7 +1244,7 @@ const Mt = (e, t) => {
1244
1244
  default:
1245
1245
  return t.date({ width: "full" });
1246
1246
  }
1247
- }, Ht = (e, t) => {
1247
+ }, At = (e, t) => {
1248
1248
  switch (e) {
1249
1249
  case "p":
1250
1250
  return t.time({ width: "short" });
@@ -1258,7 +1258,7 @@ const Mt = (e, t) => {
1258
1258
  }, bo = (e, t) => {
1259
1259
  const n = e.match(/(P+)(p+)?/) || [], r = n[1], o = n[2];
1260
1260
  if (!o)
1261
- return Mt(e, t);
1261
+ return pt(e, t);
1262
1262
  let s;
1263
1263
  switch (r) {
1264
1264
  case "P":
@@ -1274,9 +1274,9 @@ const Mt = (e, t) => {
1274
1274
  s = t.dateTime({ width: "full" });
1275
1275
  break;
1276
1276
  }
1277
- return s.replace("{{date}}", Mt(r, t)).replace("{{time}}", Ht(o, t));
1277
+ return s.replace("{{date}}", pt(r, t)).replace("{{time}}", At(o, t));
1278
1278
  }, wo = {
1279
- p: Ht,
1279
+ p: At,
1280
1280
  P: bo
1281
1281
  }, po = /^D+$/, Mo = /^Y+$/, ko = ["D", "DD", "YY", "YYYY"];
1282
1282
  function Do(e) {
@@ -1311,7 +1311,7 @@ function ke(e, t, n) {
1311
1311
  const l = d[0];
1312
1312
  if (l === "'")
1313
1313
  return { isToken: !1, value: xo(d) };
1314
- if (bt[l])
1314
+ if (gt[l])
1315
1315
  return { isToken: !0, value: d };
1316
1316
  if (l.match(To))
1317
1317
  throw new RangeError(
@@ -1329,7 +1329,7 @@ function ke(e, t, n) {
1329
1329
  if (!d.isToken) return d.value;
1330
1330
  const l = d.value;
1331
1331
  (!n?.useAdditionalWeekYearTokens && vo(l) || !n?.useAdditionalDayOfYearTokens && Do(l)) && Oo(l, t, String(e));
1332
- const m = bt[l[0]];
1332
+ const m = gt[l[0]];
1333
1333
  return m(a, l, o.localize, u);
1334
1334
  }).join("");
1335
1335
  }
@@ -1341,10 +1341,10 @@ function _o(e, t) {
1341
1341
  const n = B(e, t?.in), r = n.getFullYear(), o = n.getMonth(), s = A(n, 0);
1342
1342
  return s.setFullYear(r, o + 1, 0), s.setHours(0, 0, 0, 0), s.getDate();
1343
1343
  }
1344
- function Eo(e, t) {
1344
+ function Po(e, t) {
1345
1345
  return B(e, t?.in).getMonth();
1346
1346
  }
1347
- function Po(e, t) {
1347
+ function Eo(e, t) {
1348
1348
  return B(e, t?.in).getFullYear();
1349
1349
  }
1350
1350
  function Fo(e, t) {
@@ -1394,22 +1394,22 @@ function le(e, t) {
1394
1394
  timeZone: e,
1395
1395
  timeZoneName: "longOffset"
1396
1396
  }).format))(t).split("GMT")[1];
1397
- return r in De ? De[r] : kt(r, r.split(":"));
1397
+ return r in De ? De[r] : Mt(r, r.split(":"));
1398
1398
  } catch {
1399
1399
  if (e in De) return De[e];
1400
1400
  const n = e?.match(Ro);
1401
- return n ? kt(e, n.slice(1)) : NaN;
1401
+ return n ? Mt(e, n.slice(1)) : NaN;
1402
1402
  }
1403
1403
  }
1404
1404
  const Ro = /([+-]\d\d):?(\d\d)?/;
1405
- function kt(e, t) {
1405
+ function Mt(e, t) {
1406
1406
  const n = +(t[0] || 0), r = +(t[1] || 0), o = +(t[2] || 0) / 60;
1407
1407
  return De[e] = n * 60 + r > 0 ? n * 60 + r + o : n * 60 - r - o;
1408
1408
  }
1409
1409
  class re extends Date {
1410
1410
  //#region static
1411
1411
  constructor(...t) {
1412
- super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(le(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)), At(this), Ke(this)) : this.setTime(Date.now());
1412
+ super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(le(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)), qt(this), Ue(this)) : this.setTime(Date.now());
1413
1413
  }
1414
1414
  static tz(t, ...n) {
1415
1415
  return n.length ? new re(...n, t) : new re(Date.now(), t);
@@ -1426,7 +1426,7 @@ class re extends Date {
1426
1426
  //#endregion
1427
1427
  //#region time
1428
1428
  setTime(t) {
1429
- return Date.prototype.setTime.apply(this, arguments), Ke(this), +this;
1429
+ return Date.prototype.setTime.apply(this, arguments), Ue(this), +this;
1430
1430
  }
1431
1431
  //#endregion
1432
1432
  //#region date-fns integration
@@ -1435,25 +1435,25 @@ class re extends Date {
1435
1435
  }
1436
1436
  //#endregion
1437
1437
  }
1438
- const Dt = /^(get|set)(?!UTC)/;
1438
+ const kt = /^(get|set)(?!UTC)/;
1439
1439
  Object.getOwnPropertyNames(Date.prototype).forEach((e) => {
1440
- if (!Dt.test(e)) return;
1441
- const t = e.replace(Dt, "$1UTC");
1440
+ if (!kt.test(e)) return;
1441
+ const t = e.replace(kt, "$1UTC");
1442
1442
  re.prototype[t] && (e.startsWith("get") ? re.prototype[e] = function() {
1443
1443
  return this.internal[t]();
1444
1444
  } : (re.prototype[e] = function() {
1445
1445
  return Date.prototype[t].apply(this.internal, arguments), $o(this), +this;
1446
1446
  }, re.prototype[t] = function() {
1447
- return Date.prototype[t].apply(this, arguments), Ke(this), +this;
1447
+ return Date.prototype[t].apply(this, arguments), Ue(this), +this;
1448
1448
  }));
1449
1449
  });
1450
- function Ke(e) {
1450
+ function Ue(e) {
1451
1451
  e.internal.setTime(+e), e.internal.setUTCSeconds(e.internal.getUTCSeconds() - Math.round(-le(e.timeZone, e) * 60));
1452
1452
  }
1453
1453
  function $o(e) {
1454
- 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()), At(e);
1454
+ 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()), qt(e);
1455
1455
  }
1456
- function At(e) {
1456
+ function qt(e) {
1457
1457
  const t = le(e.timeZone, e), n = t > 0 ? Math.floor(t) : Math.ceil(t), r = /* @__PURE__ */ new Date(+e);
1458
1458
  r.setUTCHours(r.getUTCHours() - 1);
1459
1459
  const o = -(/* @__PURE__ */ new Date(+e)).getTimezoneOffset(), s = -(/* @__PURE__ */ new Date(+r)).getTimezoneOffset(), i = o - s, a = Date.prototype.getHours.apply(e) !== e.internal.getUTCHours();
@@ -1527,20 +1527,20 @@ class q extends re {
1527
1527
  }
1528
1528
  //#endregion
1529
1529
  }
1530
- const vt = 5, Go = 4;
1530
+ const Dt = 5, Go = 4;
1531
1531
  function zo(e, t) {
1532
- const n = t.startOfMonth(e), r = n.getDay() > 0 ? n.getDay() : 7, o = t.addDays(e, -r + 1), s = t.addDays(o, vt * 7 - 1);
1533
- return t.getMonth(e) === t.getMonth(s) ? vt : Go;
1532
+ const n = t.startOfMonth(e), r = n.getDay() > 0 ? n.getDay() : 7, o = t.addDays(e, -r + 1), s = t.addDays(o, Dt * 7 - 1);
1533
+ return t.getMonth(e) === t.getMonth(s) ? Dt : Go;
1534
1534
  }
1535
- function qt(e, t) {
1535
+ function jt(e, t) {
1536
1536
  const n = t.startOfMonth(e), r = n.getDay();
1537
1537
  return r === 1 ? n : r === 0 ? t.addDays(n, -6) : t.addDays(n, -1 * (r - 1));
1538
1538
  }
1539
1539
  function Vo(e, t) {
1540
- const n = qt(e, t), r = zo(e, t);
1540
+ const n = jt(e, t), r = zo(e, t);
1541
1541
  return t.addDays(n, r * 7 - 1);
1542
1542
  }
1543
- const jt = {
1543
+ const Rt = {
1544
1544
  ...he,
1545
1545
  labels: {
1546
1546
  labelDayButton: (e, t, n, r) => {
@@ -1580,18 +1580,18 @@ class z {
1580
1580
  * @param overrides Custom overrides for the date library functions.
1581
1581
  */
1582
1582
  constructor(t, n) {
1583
- this.Date = Date, this.today = () => this.overrides?.today ? this.overrides.today() : this.options.timeZone ? q.tz(this.options.timeZone) : new this.Date(), this.newDate = (r, o, s) => this.overrides?.newDate ? this.overrides.newDate(r, o, s) : this.options.timeZone ? new q(r, o, s, this.options.timeZone) : new Date(r, o, s), this.addDays = (r, o) => this.overrides?.addDays ? this.overrides.addDays(r, o) : Ze(r, o), this.addMonths = (r, o) => this.overrides?.addMonths ? this.overrides.addMonths(r, o) : Tt(r, o), this.addWeeks = (r, o) => this.overrides?.addWeeks ? this.overrides.addWeeks(r, o) : Or(r, o), this.addYears = (r, o) => this.overrides?.addYears ? this.overrides.addYears(r, o) : Wr(r, o), this.differenceInCalendarDays = (r, o) => this.overrides?.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, o) : Je(r, o), this.differenceInCalendarMonths = (r, o) => this.overrides?.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(r, o) : Et(r, o), this.eachMonthOfInterval = (r) => this.overrides?.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(r) : xr(r), this.eachYearOfInterval = (r) => {
1584
- const o = this.overrides?.eachYearOfInterval ? this.overrides.eachYearOfInterval(r) : Pr(r), s = new Set(o.map((a) => this.getYear(a)));
1583
+ this.Date = Date, this.today = () => this.overrides?.today ? this.overrides.today() : this.options.timeZone ? q.tz(this.options.timeZone) : new this.Date(), this.newDate = (r, o, s) => this.overrides?.newDate ? this.overrides.newDate(r, o, s) : this.options.timeZone ? new q(r, o, s, this.options.timeZone) : new Date(r, o, s), this.addDays = (r, o) => this.overrides?.addDays ? this.overrides.addDays(r, o) : Ke(r, o), this.addMonths = (r, o) => this.overrides?.addMonths ? this.overrides.addMonths(r, o) : xt(r, o), this.addWeeks = (r, o) => this.overrides?.addWeeks ? this.overrides.addWeeks(r, o) : Or(r, o), this.addYears = (r, o) => this.overrides?.addYears ? this.overrides.addYears(r, o) : Wr(r, o), this.differenceInCalendarDays = (r, o) => this.overrides?.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, o) : Ze(r, o), this.differenceInCalendarMonths = (r, o) => this.overrides?.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(r, o) : Et(r, o), this.eachMonthOfInterval = (r) => this.overrides?.eachMonthOfInterval ? this.overrides.eachMonthOfInterval(r) : xr(r), this.eachYearOfInterval = (r) => {
1584
+ const o = this.overrides?.eachYearOfInterval ? this.overrides.eachYearOfInterval(r) : Er(r), s = new Set(o.map((a) => this.getYear(a)));
1585
1585
  if (s.size === o.length)
1586
1586
  return o;
1587
1587
  const i = [];
1588
1588
  return s.forEach((a) => {
1589
1589
  i.push(new Date(a, 0, 1));
1590
1590
  }), i;
1591
- }, this.endOfBroadcastWeek = (r) => this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(r) : Vo(r, this), this.endOfISOWeek = (r) => this.overrides?.endOfISOWeek ? this.overrides.endOfISOWeek(r) : Fr(r), this.endOfMonth = (r) => this.overrides?.endOfMonth ? this.overrides.endOfMonth(r) : Tr(r), this.endOfWeek = (r, o) => this.overrides?.endOfWeek ? this.overrides.endOfWeek(r, o) : Bt(r, this.options), this.endOfYear = (r) => this.overrides?.endOfYear ? this.overrides.endOfYear(r) : Er(r), this.format = (r, o, s) => {
1591
+ }, this.endOfBroadcastWeek = (r) => this.overrides?.endOfBroadcastWeek ? this.overrides.endOfBroadcastWeek(r) : Vo(r, this), this.endOfISOWeek = (r) => this.overrides?.endOfISOWeek ? this.overrides.endOfISOWeek(r) : Fr(r), this.endOfMonth = (r) => this.overrides?.endOfMonth ? this.overrides.endOfMonth(r) : Tr(r), this.endOfWeek = (r, o) => this.overrides?.endOfWeek ? this.overrides.endOfWeek(r, o) : It(r, this.options), this.endOfYear = (r) => this.overrides?.endOfYear ? this.overrides.endOfYear(r) : Pr(r), this.format = (r, o, s) => {
1592
1592
  const i = this.overrides?.format ? this.overrides.format(r, o, this.options) : ke(r, o, this.options);
1593
1593
  return this.options.numerals && this.options.numerals !== "latn" ? this.replaceDigits(i) : i;
1594
- }, this.getISOWeek = (r) => this.overrides?.getISOWeek ? this.overrides.getISOWeek(r) : Le(r), this.getMonth = (r, o) => this.overrides?.getMonth ? this.overrides.getMonth(r, this.options) : Eo(r, this.options), this.getYear = (r, o) => this.overrides?.getYear ? this.overrides.getYear(r, this.options) : Po(r, this.options), this.getWeek = (r, o) => this.overrides?.getWeek ? this.overrides.getWeek(r, this.options) : et(r, this.options), this.isAfter = (r, o) => this.overrides?.isAfter ? this.overrides.isAfter(r, o) : Fo(r, o), this.isBefore = (r, o) => this.overrides?.isBefore ? this.overrides.isBefore(r, o) : Bo(r, o), this.isDate = (r) => this.overrides?.isDate ? this.overrides.isDate(r) : _t(r), this.isSameDay = (r, o) => this.overrides?.isSameDay ? this.overrides.isSameDay(r, o) : Nr(r, o), this.isSameMonth = (r, o) => this.overrides?.isSameMonth ? this.overrides.isSameMonth(r, o) : Io(r, o), this.isSameYear = (r, o) => this.overrides?.isSameYear ? this.overrides.isSameYear(r, o) : Ho(r, o), this.max = (r) => this.overrides?.max ? this.overrides.max(r) : Cr(r), this.min = (r) => this.overrides?.min ? this.overrides.min(r) : Sr(r), this.setMonth = (r, o) => this.overrides?.setMonth ? this.overrides.setMonth(r, o) : Ao(r, o), this.setYear = (r, o) => this.overrides?.setYear ? this.overrides.setYear(r, o) : qo(r, o), this.startOfBroadcastWeek = (r, o) => this.overrides?.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(r, this) : qt(r, this), this.startOfDay = (r) => this.overrides?.startOfDay ? this.overrides.startOfDay(r) : ye(r), this.startOfISOWeek = (r) => this.overrides?.startOfISOWeek ? this.overrides.startOfISOWeek(r) : Oe(r), this.startOfMonth = (r) => this.overrides?.startOfMonth ? this.overrides.startOfMonth(r) : _r(r), this.startOfWeek = (r, o) => this.overrides?.startOfWeek ? this.overrides.startOfWeek(r, this.options) : me(r, this.options), this.startOfYear = (r) => this.overrides?.startOfYear ? this.overrides.startOfYear(r) : Ft(r), this.options = { locale: jt, ...t }, this.overrides = n;
1594
+ }, this.getISOWeek = (r) => this.overrides?.getISOWeek ? this.overrides.getISOWeek(r) : Je(r), this.getMonth = (r, o) => this.overrides?.getMonth ? this.overrides.getMonth(r, this.options) : Po(r, this.options), this.getYear = (r, o) => this.overrides?.getYear ? this.overrides.getYear(r, this.options) : Eo(r, this.options), this.getWeek = (r, o) => this.overrides?.getWeek ? this.overrides.getWeek(r, this.options) : Le(r, this.options), this.isAfter = (r, o) => this.overrides?.isAfter ? this.overrides.isAfter(r, o) : Fo(r, o), this.isBefore = (r, o) => this.overrides?.isBefore ? this.overrides.isBefore(r, o) : Bo(r, o), this.isDate = (r) => this.overrides?.isDate ? this.overrides.isDate(r) : Pt(r), this.isSameDay = (r, o) => this.overrides?.isSameDay ? this.overrides.isSameDay(r, o) : Nr(r, o), this.isSameMonth = (r, o) => this.overrides?.isSameMonth ? this.overrides.isSameMonth(r, o) : Io(r, o), this.isSameYear = (r, o) => this.overrides?.isSameYear ? this.overrides.isSameYear(r, o) : Ho(r, o), this.max = (r) => this.overrides?.max ? this.overrides.max(r) : Cr(r), this.min = (r) => this.overrides?.min ? this.overrides.min(r) : Sr(r), this.setMonth = (r, o) => this.overrides?.setMonth ? this.overrides.setMonth(r, o) : Ao(r, o), this.setYear = (r, o) => this.overrides?.setYear ? this.overrides.setYear(r, o) : qo(r, o), this.startOfBroadcastWeek = (r, o) => this.overrides?.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(r, this) : jt(r, this), this.startOfDay = (r) => this.overrides?.startOfDay ? this.overrides.startOfDay(r) : ye(r), this.startOfISOWeek = (r) => this.overrides?.startOfISOWeek ? this.overrides.startOfISOWeek(r) : Oe(r), this.startOfMonth = (r) => this.overrides?.startOfMonth ? this.overrides.startOfMonth(r) : _r(r), this.startOfWeek = (r, o) => this.overrides?.startOfWeek ? this.overrides.startOfWeek(r, this.options) : me(r, this.options), this.startOfYear = (r) => this.overrides?.startOfYear ? this.overrides.startOfYear(r) : Bt(r), this.options = { locale: Rt, ...t }, this.overrides = n;
1595
1595
  }
1596
1596
  /**
1597
1597
  * Generates a mapping of Arabic digits (0-9) to the target numbering system
@@ -1678,7 +1678,7 @@ z.yearFirstLocales = /* @__PURE__ */ new Set([
1678
1678
  "zh-TW"
1679
1679
  ]);
1680
1680
  const oe = new z();
1681
- class Rt {
1681
+ class $t {
1682
1682
  constructor(t, n, r = oe) {
1683
1683
  this.date = t, this.displayMonth = n, this.outside = !!(n && !r.isSameMonth(t, n)), this.dateLib = r, this.isoDate = r.format(t, "yyyy-MM-dd"), this.displayMonthId = r.format(n, "yyyy-MM"), this.dateMonthId = r.format(t, "yyyy-MM");
1684
1684
  }
@@ -1783,9 +1783,9 @@ function aa(e) {
1783
1783
  function sa(e) {
1784
1784
  return f.createElement("div", { ...e });
1785
1785
  }
1786
- const $t = Fn(void 0);
1786
+ const Gt = St(void 0);
1787
1787
  function Ce() {
1788
- const e = Bn($t);
1788
+ const e = Bn(Gt);
1789
1789
  if (e === void 0)
1790
1790
  throw new Error("useDayPicker() must be used within a custom component.");
1791
1791
  return e;
@@ -1895,22 +1895,22 @@ function ae(e, t, n = !1, r = oe) {
1895
1895
  const { differenceInCalendarDays: i, isSameDay: a } = r;
1896
1896
  return o && s ? (i(s, o) < 0 && ([o, s] = [s, o]), i(t, o) >= (n ? 1 : 0) && i(s, t) >= (n ? 1 : 0)) : !n && s ? a(s, t) : !n && o ? a(o, t) : !1;
1897
1897
  }
1898
- function tt(e) {
1898
+ function et(e) {
1899
1899
  return !!(e && typeof e == "object" && "before" in e && "after" in e);
1900
1900
  }
1901
1901
  function _e(e) {
1902
1902
  return !!(e && typeof e == "object" && "from" in e);
1903
1903
  }
1904
- function nt(e) {
1904
+ function tt(e) {
1905
1905
  return !!(e && typeof e == "object" && "after" in e);
1906
1906
  }
1907
- function rt(e) {
1907
+ function nt(e) {
1908
1908
  return !!(e && typeof e == "object" && "before" in e);
1909
1909
  }
1910
- function Gt(e) {
1910
+ function zt(e) {
1911
1911
  return !!(e && typeof e == "object" && "dayOfWeek" in e);
1912
1912
  }
1913
- function zt(e, t) {
1913
+ function Vt(e, t) {
1914
1914
  return Array.isArray(e) && e.every(t.isDate);
1915
1915
  }
1916
1916
  function se(e, t, n = oe) {
@@ -1920,17 +1920,17 @@ function se(e, t, n = oe) {
1920
1920
  return a;
1921
1921
  if (n.isDate(a))
1922
1922
  return o(e, a);
1923
- if (zt(a, n))
1923
+ if (Vt(a, n))
1924
1924
  return a.some((c) => o(e, c));
1925
1925
  if (_e(a))
1926
1926
  return ae(a, e, !1, n);
1927
- if (Gt(a))
1927
+ if (zt(a))
1928
1928
  return Array.isArray(a.dayOfWeek) ? a.dayOfWeek.includes(e.getDay()) : a.dayOfWeek === e.getDay();
1929
- if (tt(a)) {
1929
+ if (et(a)) {
1930
1930
  const c = s(a.before, e), u = s(a.after, e), d = c > 0, l = u < 0;
1931
1931
  return i(a.before, a.after) ? l && d : d || l;
1932
1932
  }
1933
- return nt(a) ? s(e, a.after) > 0 : rt(a) ? s(a.before, e) > 0 : typeof a == "function" ? a(e) : !1;
1933
+ return tt(a) ? s(e, a.after) > 0 : nt(a) ? s(a.before, e) > 0 : typeof a == "function" ? a(e) : !1;
1934
1934
  });
1935
1935
  }
1936
1936
  function Da(e, t, n, r, o) {
@@ -1942,9 +1942,9 @@ function Da(e, t, n, r, o) {
1942
1942
  [I.today]: []
1943
1943
  }, k = {};
1944
1944
  for (const w of e) {
1945
- const { date: y, displayMonth: C } = w, E = !!(C && !m(y, C)), H = !!(W && O(y, W)), F = !!(h && D(y, h)), V = !!(s && se(y, s, o)), Z = !!(i && se(y, i, o)) || H || F || // Broadcast calendar will show outside days as default
1946
- !u && !c && E || u && c === !1 && E, J = l(y, d);
1947
- E && p.outside.push(w), V && p.disabled.push(w), Z && p.hidden.push(w), J && p.today.push(w), a && Object.keys(a).forEach((T) => {
1945
+ const { date: y, displayMonth: C } = w, P = !!(C && !m(y, C)), H = !!(W && O(y, W)), F = !!(h && D(y, h)), V = !!(s && se(y, s, o)), Z = !!(i && se(y, i, o)) || H || F || // Broadcast calendar will show outside days as default
1946
+ !u && !c && P || u && c === !1 && P, J = l(y, d);
1947
+ P && p.outside.push(w), V && p.disabled.push(w), Z && p.hidden.push(w), J && p.today.push(w), a && Object.keys(a).forEach((T) => {
1948
1948
  const j = a?.[T];
1949
1949
  j && se(y, j, o) && (k[T] ? k[T].push(w) : k[T] = [w]);
1950
1950
  });
@@ -1957,12 +1957,12 @@ function Da(e, t, n, r, o) {
1957
1957
  [I.outside]: !1,
1958
1958
  [I.today]: !1
1959
1959
  }, C = {};
1960
- for (const E in p) {
1961
- const H = p[E];
1962
- y[E] = H.some((F) => F === w);
1960
+ for (const P in p) {
1961
+ const H = p[P];
1962
+ y[P] = H.some((F) => F === w);
1963
1963
  }
1964
- for (const E in k)
1965
- C[E] = k[E].some((H) => H === w);
1964
+ for (const P in k)
1965
+ C[P] = k[P].some((H) => H === w);
1966
1966
  return {
1967
1967
  ...y,
1968
1968
  // custom modifiers should override all the previous ones
@@ -1992,7 +1992,7 @@ function Wa(e) {
1992
1992
  n.startsWith("data-") && (t[n] = r);
1993
1993
  }), t;
1994
1994
  }
1995
- function Vt() {
1995
+ function Qt() {
1996
1996
  const e = {};
1997
1997
  for (const t in g)
1998
1998
  e[g[t]] = `rdp-${g[t]}`;
@@ -2004,10 +2004,10 @@ function Vt() {
2004
2004
  e[$[t]] = `rdp-${$[t]}`;
2005
2005
  return e;
2006
2006
  }
2007
- function Qt(e, t, n) {
2007
+ function Xt(e, t, n) {
2008
2008
  return (n ?? new z(t)).formatMonthYear(e);
2009
2009
  }
2010
- const Ca = Qt;
2010
+ const Ca = Xt;
2011
2011
  function Sa(e, t, n) {
2012
2012
  return (n ?? new z(t)).format(e, "d");
2013
2013
  }
@@ -2023,12 +2023,12 @@ function Ta(e, t = oe) {
2023
2023
  function xa() {
2024
2024
  return "";
2025
2025
  }
2026
- function Xt(e, t = oe) {
2026
+ function Ut(e, t = oe) {
2027
2027
  return t.format(e, "yyyy");
2028
2028
  }
2029
- const _a = Xt, Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2029
+ const _a = Ut, Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2030
2030
  __proto__: null,
2031
- formatCaption: Qt,
2031
+ formatCaption: Xt,
2032
2032
  formatDay: Sa,
2033
2033
  formatMonthCaption: Ca,
2034
2034
  formatMonthDropdown: Na,
@@ -2036,84 +2036,84 @@ const _a = Xt, Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2036
2036
  formatWeekNumberHeader: xa,
2037
2037
  formatWeekdayName: Ya,
2038
2038
  formatYearCaption: _a,
2039
- formatYearDropdown: Xt
2039
+ formatYearDropdown: Ut
2040
2040
  }, Symbol.toStringTag, { value: "Module" }));
2041
- function Pa(e) {
2041
+ function Ea(e) {
2042
2042
  return e?.formatMonthCaption && !e.formatCaption && (e.formatCaption = e.formatMonthCaption), e?.formatYearCaption && !e.formatYearDropdown && (e.formatYearDropdown = e.formatYearCaption), {
2043
- ...Ea,
2043
+ ...Pa,
2044
2044
  ...e
2045
2045
  };
2046
2046
  }
2047
- function ot(e, t, n, r) {
2047
+ function rt(e, t, n, r) {
2048
2048
  let o = (r ?? new z(n)).format(e, "PPPP");
2049
2049
  return t.today && (o = `Today, ${o}`), t.selected && (o = `${o}, selected`), o;
2050
2050
  }
2051
- const Fa = ot;
2052
- function at(e, t, n) {
2051
+ const Fa = rt;
2052
+ function ot(e, t, n) {
2053
2053
  return (n ?? new z(t)).formatMonthYear(e);
2054
2054
  }
2055
- const Ba = at;
2056
- function Ut(e, t, n, r) {
2055
+ const Ba = ot;
2056
+ function Kt(e, t, n, r) {
2057
2057
  let o = (r ?? new z(n)).format(e, "PPPP");
2058
2058
  return t?.today && (o = `Today, ${o}`), o;
2059
2059
  }
2060
- function Kt(e) {
2060
+ function Zt(e) {
2061
2061
  return "Choose the Month";
2062
2062
  }
2063
- function Zt() {
2063
+ function Jt() {
2064
2064
  return "";
2065
2065
  }
2066
2066
  const Ia = "Go to the Next Month";
2067
- function Jt(e, t) {
2067
+ function Lt(e, t) {
2068
2068
  return Ia;
2069
2069
  }
2070
- function Lt(e) {
2070
+ function en(e) {
2071
2071
  return "Go to the Previous Month";
2072
2072
  }
2073
- function en(e, t, n) {
2073
+ function tn(e, t, n) {
2074
2074
  return (n ?? new z(t)).format(e, "cccc");
2075
2075
  }
2076
- function tn(e, t) {
2076
+ function nn(e, t) {
2077
2077
  return `Week ${e}`;
2078
2078
  }
2079
- function nn(e) {
2079
+ function rn(e) {
2080
2080
  return "Week Number";
2081
2081
  }
2082
- function rn(e) {
2082
+ function on(e) {
2083
2083
  return "Choose the Year";
2084
2084
  }
2085
2085
  const Ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2086
2086
  __proto__: null,
2087
2087
  labelCaption: Ba,
2088
2088
  labelDay: Fa,
2089
- labelDayButton: ot,
2090
- labelGrid: at,
2091
- labelGridcell: Ut,
2092
- labelMonthDropdown: Kt,
2093
- labelNav: Zt,
2094
- labelNext: Jt,
2095
- labelPrevious: Lt,
2096
- labelWeekNumber: tn,
2097
- labelWeekNumberHeader: nn,
2098
- labelWeekday: en,
2099
- labelYearDropdown: rn
2089
+ labelDayButton: rt,
2090
+ labelGrid: ot,
2091
+ labelGridcell: Kt,
2092
+ labelMonthDropdown: Zt,
2093
+ labelNav: Jt,
2094
+ labelNext: Lt,
2095
+ labelPrevious: en,
2096
+ labelWeekNumber: nn,
2097
+ labelWeekNumberHeader: rn,
2098
+ labelWeekday: tn,
2099
+ labelYearDropdown: on
2100
2100
  }, Symbol.toStringTag, { value: "Module" })), L = (e, t, n) => t || (n ? typeof n == "function" ? n : (...r) => n : e);
2101
2101
  function Aa(e, t) {
2102
2102
  const n = t.locale?.labels ?? {};
2103
2103
  return {
2104
2104
  ...Ha,
2105
2105
  ...e ?? {},
2106
- labelDayButton: L(ot, e?.labelDayButton, n.labelDayButton),
2107
- labelMonthDropdown: L(Kt, e?.labelMonthDropdown, n.labelMonthDropdown),
2108
- labelNext: L(Jt, e?.labelNext, n.labelNext),
2109
- labelPrevious: L(Lt, e?.labelPrevious, n.labelPrevious),
2110
- labelWeekNumber: L(tn, e?.labelWeekNumber, n.labelWeekNumber),
2111
- labelYearDropdown: L(rn, e?.labelYearDropdown, n.labelYearDropdown),
2112
- labelGrid: L(at, e?.labelGrid, n.labelGrid),
2113
- labelGridcell: L(Ut, e?.labelGridcell, n.labelGridcell),
2114
- labelNav: L(Zt, e?.labelNav, n.labelNav),
2115
- labelWeekNumberHeader: L(nn, e?.labelWeekNumberHeader, n.labelWeekNumberHeader),
2116
- labelWeekday: L(en, e?.labelWeekday, n.labelWeekday)
2106
+ labelDayButton: L(rt, e?.labelDayButton, n.labelDayButton),
2107
+ labelMonthDropdown: L(Zt, e?.labelMonthDropdown, n.labelMonthDropdown),
2108
+ labelNext: L(Lt, e?.labelNext, n.labelNext),
2109
+ labelPrevious: L(en, e?.labelPrevious, n.labelPrevious),
2110
+ labelWeekNumber: L(nn, e?.labelWeekNumber, n.labelWeekNumber),
2111
+ labelYearDropdown: L(on, e?.labelYearDropdown, n.labelYearDropdown),
2112
+ labelGrid: L(ot, e?.labelGrid, n.labelGrid),
2113
+ labelGridcell: L(Kt, e?.labelGridcell, n.labelGridcell),
2114
+ labelNav: L(Jt, e?.labelNav, n.labelNav),
2115
+ labelWeekNumberHeader: L(rn, e?.labelWeekNumberHeader, n.labelWeekNumberHeader),
2116
+ labelWeekday: L(tn, e?.labelWeekday, n.labelWeekday)
2117
2117
  };
2118
2118
  }
2119
2119
  function qa(e, t, n, r, o) {
@@ -2232,18 +2232,18 @@ function Ga(e, t = {}) {
2232
2232
  },
2233
2233
  getWeek: (a, c) => {
2234
2234
  const u = i(a);
2235
- return et(u, {
2235
+ return Le(u, {
2236
2236
  weekStartsOn: c?.weekStartsOn ?? o,
2237
2237
  firstWeekContainsDate: c?.firstWeekContainsDate ?? r?.options?.firstWeekContainsDate ?? 1
2238
2238
  });
2239
2239
  },
2240
2240
  getISOWeek: (a) => {
2241
2241
  const c = i(a);
2242
- return Le(c);
2242
+ return Je(c);
2243
2243
  },
2244
2244
  differenceInCalendarDays: (a, c) => {
2245
2245
  const u = i(a), d = i(c);
2246
- return Je(u, d);
2246
+ return Ze(u, d);
2247
2247
  },
2248
2248
  differenceInCalendarMonths: (a, c) => {
2249
2249
  const u = i(a), d = i(c);
@@ -2255,7 +2255,7 @@ const Se = (e) => e instanceof HTMLElement ? e : null, ze = (e) => [
2255
2255
  ...e.querySelectorAll("[data-animated-month]") ?? []
2256
2256
  ], za = (e) => Se(e.querySelector("[data-animated-month]")), Ve = (e) => Se(e.querySelector("[data-animated-caption]")), Qe = (e) => Se(e.querySelector("[data-animated-weeks]")), Va = (e) => Se(e.querySelector("[data-animated-nav]")), Qa = (e) => Se(e.querySelector("[data-animated-weekdays]"));
2257
2257
  function Xa(e, t, { classNames: n, months: r, focused: o, dateLib: s }) {
2258
- const i = Te(null), a = Te(r), c = Te(!1);
2258
+ const i = ve(null), a = ve(r), c = ve(!1);
2259
2259
  In(() => {
2260
2260
  const u = a.current;
2261
2261
  if (a.current = r, !t || !e.current || // safety check because the ref can be set to anything by consumers
@@ -2288,14 +2288,14 @@ function Xa(e, t, { classNames: n, months: r, focused: o, dateLib: s }) {
2288
2288
  y && y.classList.add(m);
2289
2289
  const C = Qe(p);
2290
2290
  C && C.classList.add(b);
2291
- const E = () => {
2291
+ const P = () => {
2292
2292
  c.current = !1, e.current && (e.current.style.isolation = ""), h && (h.style.zIndex = ""), y && y.classList.remove(m), C && C.classList.remove(b), p.style.position = "", p.style.overflow = "", p.contains(w) && p.removeChild(w);
2293
2293
  };
2294
2294
  w.style.pointerEvents = "none", w.style.position = "absolute", w.style.overflow = "hidden", w.setAttribute("aria-hidden", "true");
2295
2295
  const H = Qa(w);
2296
2296
  H && (H.style.opacity = "0");
2297
2297
  const F = Ve(w);
2298
- F && (F.classList.add(l ? n[$.caption_before_exit] : n[$.caption_after_exit]), F.addEventListener("animationend", E));
2298
+ F && (F.classList.add(l ? n[$.caption_before_exit] : n[$.caption_after_exit]), F.addEventListener("animationend", P));
2299
2299
  const V = Qe(w);
2300
2300
  V && V.classList.add(l ? n[$.weeks_before_exit] : n[$.weeks_after_exit]), p.insertBefore(w, p.firstChild);
2301
2301
  });
@@ -2303,8 +2303,8 @@ function Xa(e, t, { classNames: n, months: r, focused: o, dateLib: s }) {
2303
2303
  });
2304
2304
  }
2305
2305
  function Ua(e, t, n, r) {
2306
- const o = e[0], s = e[e.length - 1], { ISOWeek: i, fixedWeeks: a, broadcastCalendar: c } = n ?? {}, { addDays: u, differenceInCalendarDays: d, differenceInCalendarMonths: l, endOfBroadcastWeek: m, endOfISOWeek: b, endOfMonth: O, endOfWeek: S, isAfter: D, startOfBroadcastWeek: W, startOfISOWeek: h, startOfWeek: p } = r, k = c ? W(o, r) : i ? h(o) : p(o), w = c ? m(s) : i ? b(O(s)) : S(O(s)), y = t && (c ? m(t) : i ? b(t) : S(t)), C = y && D(w, y) ? y : w, E = d(C, k), H = l(s, o) + 1, F = [];
2307
- for (let J = 0; J <= E; J++) {
2306
+ const o = e[0], s = e[e.length - 1], { ISOWeek: i, fixedWeeks: a, broadcastCalendar: c } = n ?? {}, { addDays: u, differenceInCalendarDays: d, differenceInCalendarMonths: l, endOfBroadcastWeek: m, endOfISOWeek: b, endOfMonth: O, endOfWeek: S, isAfter: D, startOfBroadcastWeek: W, startOfISOWeek: h, startOfWeek: p } = r, k = c ? W(o, r) : i ? h(o) : p(o), w = c ? m(s) : i ? b(O(s)) : S(O(s)), y = t && (c ? m(t) : i ? b(t) : S(t)), C = y && D(w, y) ? y : w, P = d(C, k), H = l(s, o) + 1, F = [];
2307
+ for (let J = 0; J <= P; J++) {
2308
2308
  const T = u(k, J);
2309
2309
  F.push(T);
2310
2310
  }
@@ -2335,7 +2335,7 @@ function Za(e, t, n, r) {
2335
2335
  }
2336
2336
  return s;
2337
2337
  }
2338
- function Ot(e, t, n, r) {
2338
+ function vt(e, t, n, r) {
2339
2339
  const { month: o, defaultMonth: s, today: i = r.today(), numberOfMonths: a = 1 } = e;
2340
2340
  let c = o || s || i;
2341
2341
  const { differenceInCalendarMonths: u, addMonths: d, startOfMonth: l } = r;
@@ -2349,14 +2349,14 @@ function Ja(e, t, n, r) {
2349
2349
  const { addDays: o, endOfBroadcastWeek: s, endOfISOWeek: i, endOfMonth: a, endOfWeek: c, getISOWeek: u, getWeek: d, startOfBroadcastWeek: l, startOfISOWeek: m, startOfWeek: b } = r, O = e.reduce((S, D) => {
2350
2350
  const W = n.broadcastCalendar ? l(D, r) : n.ISOWeek ? m(D) : b(D), h = n.broadcastCalendar ? s(D) : n.ISOWeek ? i(a(D)) : c(a(D)), p = t.filter((C) => C >= W && C <= h), k = n.broadcastCalendar ? 35 : 42;
2351
2351
  if (n.fixedWeeks && p.length < k) {
2352
- const C = t.filter((E) => {
2352
+ const C = t.filter((P) => {
2353
2353
  const H = k - p.length;
2354
- return E > h && E <= o(h, H);
2354
+ return P > h && P <= o(h, H);
2355
2355
  });
2356
2356
  p.push(...C);
2357
2357
  }
2358
- const w = p.reduce((C, E) => {
2359
- const H = n.ISOWeek ? u(E) : d(E), F = C.find((Z) => Z.weekNumber === H), V = new Rt(E, D, r);
2358
+ const w = p.reduce((C, P) => {
2359
+ const H = n.ISOWeek ? u(P) : d(P), F = C.find((Z) => Z.weekNumber === H), V = new $t(P, D, r);
2360
2360
  return F ? F.days.push(V) : C.push(new Xo(H, [V])), C;
2361
2361
  }, []), y = new Qo(D, w);
2362
2362
  return S.push(y), S;
@@ -2395,21 +2395,21 @@ function ns(e) {
2395
2395
  const t = [];
2396
2396
  return e.reduce((n, r) => n.concat(r.weeks.slice()), t.slice());
2397
2397
  }
2398
- function Ee(e, t) {
2399
- const [n, r] = Ue(e);
2398
+ function Pe(e, t) {
2399
+ const [n, r] = xe(e);
2400
2400
  return [t === void 0 ? n : t, r];
2401
2401
  }
2402
2402
  function rs(e, t) {
2403
- const [n, r] = La(e, t), { startOfMonth: o, endOfMonth: s } = t, i = Ot(e, n, r, t), [a, c] = Ee(
2403
+ const [n, r] = La(e, t), { startOfMonth: o, endOfMonth: s } = t, i = vt(e, n, r, t), [a, c] = Pe(
2404
2404
  i,
2405
2405
  // initialMonth is always computed from props.month if provided
2406
2406
  e.month ? i : void 0
2407
2407
  );
2408
- Hn(() => {
2409
- const k = Ot(e, n, r, t);
2408
+ Nt(() => {
2409
+ const k = vt(e, n, r, t);
2410
2410
  c(k);
2411
2411
  }, [e.timeZone]);
2412
- const { months: u, weeks: d, days: l, previousMonth: m, nextMonth: b } = xe(() => {
2412
+ const { months: u, weeks: d, days: l, previousMonth: m, nextMonth: b } = Te(() => {
2413
2413
  const k = Za(a, r, { numberOfMonths: e.numberOfMonths }, t), w = Ua(k, e.endMonth ? s(e.endMonth) : void 0, {
2414
2414
  ISOWeek: e.ISOWeek,
2415
2415
  fixedWeeks: e.fixedWeeks,
@@ -2419,11 +2419,11 @@ function rs(e, t) {
2419
2419
  fixedWeeks: e.fixedWeeks,
2420
2420
  ISOWeek: e.ISOWeek,
2421
2421
  reverseMonths: e.reverseMonths
2422
- }, t), C = ns(y), E = Ka(y), H = ts(a, n, e, t), F = es(a, r, e, t);
2422
+ }, t), C = ns(y), P = Ka(y), H = ts(a, n, e, t), F = es(a, r, e, t);
2423
2423
  return {
2424
2424
  months: y,
2425
2425
  weeks: C,
2426
- days: E,
2426
+ days: P,
2427
2427
  previousMonth: H,
2428
2428
  nextMonth: F
2429
2429
  };
@@ -2464,16 +2464,16 @@ var ne;
2464
2464
  (function(e) {
2465
2465
  e[e.Today = 0] = "Today", e[e.Selected = 1] = "Selected", e[e.LastFocused = 2] = "LastFocused", e[e.FocusedModifier = 3] = "FocusedModifier";
2466
2466
  })(ne || (ne = {}));
2467
- function Wt(e) {
2467
+ function Ot(e) {
2468
2468
  return !e[I.disabled] && !e[I.hidden] && !e[I.outside];
2469
2469
  }
2470
2470
  function os(e, t, n, r) {
2471
2471
  let o, s = -1;
2472
2472
  for (const i of e) {
2473
2473
  const a = t(i);
2474
- Wt(a) && (a[I.focused] && s < ne.FocusedModifier ? (o = i, s = ne.FocusedModifier) : r?.isEqualTo(i) && s < ne.LastFocused ? (o = i, s = ne.LastFocused) : n(i.date) && s < ne.Selected ? (o = i, s = ne.Selected) : a[I.today] && s < ne.Today && (o = i, s = ne.Today));
2474
+ Ot(a) && (a[I.focused] && s < ne.FocusedModifier ? (o = i, s = ne.FocusedModifier) : r?.isEqualTo(i) && s < ne.LastFocused ? (o = i, s = ne.LastFocused) : n(i.date) && s < ne.Selected ? (o = i, s = ne.Selected) : a[I.today] && s < ne.Today && (o = i, s = ne.Today));
2475
2475
  }
2476
- return o || (o = e.find((i) => Wt(t(i)))), o;
2476
+ return o || (o = e.find((i) => Ot(t(i)))), o;
2477
2477
  }
2478
2478
  function as(e, t, n, r, o, s, i) {
2479
2479
  const { ISOWeek: a, broadcastCalendar: c } = s, { addDays: u, addMonths: d, addWeeks: l, addYears: m, endOfBroadcastWeek: b, endOfISOWeek: O, endOfWeek: S, max: D, min: W, startOfBroadcastWeek: h, startOfISOWeek: p, startOfWeek: k } = i;
@@ -2487,14 +2487,14 @@ function as(e, t, n, r, o, s, i) {
2487
2487
  }[e](n, t === "after" ? 1 : -1);
2488
2488
  return t === "before" && r ? y = D([r, y]) : t === "after" && o && (y = W([o, y])), y;
2489
2489
  }
2490
- function on(e, t, n, r, o, s, i, a = 0) {
2490
+ function an(e, t, n, r, o, s, i, a = 0) {
2491
2491
  if (a > 365)
2492
2492
  return;
2493
- const c = as(e, t, n.date, r, o, s, i), u = !!(s.disabled && se(c, s.disabled, i)), d = !!(s.hidden && se(c, s.hidden, i)), l = c, m = new Rt(c, l, i);
2494
- return !u && !d ? m : on(e, t, m, r, o, s, i, a + 1);
2493
+ const c = as(e, t, n.date, r, o, s, i), u = !!(s.disabled && se(c, s.disabled, i)), d = !!(s.hidden && se(c, s.hidden, i)), l = c, m = new $t(c, l, i);
2494
+ return !u && !d ? m : an(e, t, m, r, o, s, i, a + 1);
2495
2495
  }
2496
2496
  function ss(e, t, n, r, o) {
2497
- const { autoFocus: s } = e, [i, a] = Ue(), c = os(t.days, n, r || (() => !1), i), [u, d] = Ue(s ? c : void 0);
2497
+ const { autoFocus: s } = e, [i, a] = xe(), c = os(t.days, n, r || (() => !1), i), [u, d] = xe(s ? c : void 0);
2498
2498
  return {
2499
2499
  isFocusTarget: (S) => !!c?.isEqualTo(S),
2500
2500
  setFocused: d,
@@ -2505,13 +2505,13 @@ function ss(e, t, n, r, o) {
2505
2505
  moveFocus: (S, D) => {
2506
2506
  if (!u)
2507
2507
  return;
2508
- const W = on(S, D, u, t.navStart, t.navEnd, e, o);
2508
+ const W = an(S, D, u, t.navStart, t.navEnd, e, o);
2509
2509
  W && (e.disableNavigation && !t.days.some((p) => p.isEqualTo(W)) || (t.goToDay(W), d(W)));
2510
2510
  }
2511
2511
  };
2512
2512
  }
2513
2513
  function is(e, t) {
2514
- const { selected: n, required: r, onSelect: o } = e, [s, i] = Ee(n, o ? n : void 0), a = o ? n : s, { isSameDay: c } = t, u = (b) => a?.some((O) => c(O, b)) ?? !1, { min: d, max: l } = e;
2514
+ const { selected: n, required: r, onSelect: o } = e, [s, i] = Pe(n, o ? n : void 0), a = o ? n : s, { isSameDay: c } = t, u = (b) => a?.some((O) => c(O, b)) ?? !1, { min: d, max: l } = e;
2515
2515
  return {
2516
2516
  selected: a,
2517
2517
  select: (b, O, S) => {
@@ -2566,15 +2566,15 @@ function us(e, t, n = oe) {
2566
2566
  }
2567
2567
  return !1;
2568
2568
  }
2569
- function Ct(e, t, n = oe) {
2569
+ function Wt(e, t, n = oe) {
2570
2570
  return ae(e, t.from, !1, n) || ae(e, t.to, !1, n) || ae(t, e.from, !1, n) || ae(t, e.to, !1, n);
2571
2571
  }
2572
2572
  function ls(e, t, n = oe) {
2573
2573
  const r = Array.isArray(t) ? t : [t];
2574
- if (r.filter((a) => typeof a != "function").some((a) => typeof a == "boolean" ? a : n.isDate(a) ? ae(e, a, !1, n) : zt(a, n) ? a.some((c) => ae(e, c, !1, n)) : _e(a) ? a.from && a.to ? Ct(e, { from: a.from, to: a.to }, n) : !1 : Gt(a) ? us(e, a.dayOfWeek, n) : tt(a) ? n.isAfter(a.before, a.after) ? Ct(e, {
2574
+ if (r.filter((a) => typeof a != "function").some((a) => typeof a == "boolean" ? a : n.isDate(a) ? ae(e, a, !1, n) : Vt(a, n) ? a.some((c) => ae(e, c, !1, n)) : _e(a) ? a.from && a.to ? Wt(e, { from: a.from, to: a.to }, n) : !1 : zt(a) ? us(e, a.dayOfWeek, n) : et(a) ? n.isAfter(a.before, a.after) ? Wt(e, {
2575
2575
  from: n.addDays(a.after, 1),
2576
2576
  to: n.addDays(a.before, -1)
2577
- }, n) : se(e.from, a, n) || se(e.to, a, n) : nt(a) || rt(a) ? se(e.from, a, n) || se(e.to, a, n) : !1))
2577
+ }, n) : se(e.from, a, n) || se(e.to, a, n) : tt(a) || nt(a) ? se(e.from, a, n) || se(e.to, a, n) : !1))
2578
2578
  return !0;
2579
2579
  const i = r.filter((a) => typeof a == "function");
2580
2580
  if (i.length) {
@@ -2589,7 +2589,7 @@ function ls(e, t, n = oe) {
2589
2589
  return !1;
2590
2590
  }
2591
2591
  function ds(e, t) {
2592
- const { disabled: n, excludeDisabled: r, resetOnSelect: o, selected: s, required: i, onSelect: a } = e, [c, u] = Ee(s, a ? s : void 0), d = a ? s : c;
2592
+ const { disabled: n, excludeDisabled: r, resetOnSelect: o, selected: s, required: i, onSelect: a } = e, [c, u] = Pe(s, a ? s : void 0), d = a ? s : c;
2593
2593
  return {
2594
2594
  selected: d,
2595
2595
  select: (b, O, S) => {
@@ -2605,7 +2605,7 @@ function ds(e, t) {
2605
2605
  };
2606
2606
  }
2607
2607
  function fs(e, t) {
2608
- const { selected: n, required: r, onSelect: o } = e, [s, i] = Ee(n, o ? n : void 0), a = o ? n : s, { isSameDay: c } = t;
2608
+ const { selected: n, required: r, onSelect: o } = e, [s, i] = Pe(n, o ? n : void 0), a = o ? n : s, { isSameDay: c } = t;
2609
2609
  return {
2610
2610
  selected: a,
2611
2611
  select: (l, m, b) => {
@@ -2634,22 +2634,22 @@ function K(e, t) {
2634
2634
  function fe(e, t, n) {
2635
2635
  return K(e, t);
2636
2636
  }
2637
- function St(e, t, n) {
2637
+ function Ct(e, t, n) {
2638
2638
  return typeof e == "boolean" || typeof e == "function" ? e : e instanceof Date ? fe(e, t) : Array.isArray(e) ? e.map((r) => r instanceof Date ? fe(r, t) : r) : _e(e) ? {
2639
2639
  ...e,
2640
2640
  from: e.from ? K(e.from, t) : e.from,
2641
2641
  to: e.to ? K(e.to, t) : e.to
2642
- } : tt(e) ? {
2642
+ } : et(e) ? {
2643
2643
  before: fe(e.before, t),
2644
2644
  after: fe(e.after, t)
2645
- } : nt(e) ? {
2645
+ } : tt(e) ? {
2646
2646
  after: fe(e.after, t)
2647
- } : rt(e) ? {
2647
+ } : nt(e) ? {
2648
2648
  before: fe(e.before, t)
2649
2649
  } : e;
2650
2650
  }
2651
2651
  function Xe(e, t, n) {
2652
- return e && (Array.isArray(e) ? e.map((r) => St(r, t)) : St(e, t));
2652
+ return e && (Array.isArray(e) ? e.map((r) => Ct(r, t)) : Ct(e, t));
2653
2653
  }
2654
2654
  function ms(e) {
2655
2655
  let t = e;
@@ -2666,8 +2666,8 @@ function ms(e) {
2666
2666
  v[_] = Xe(t.modifiers?.[_], n);
2667
2667
  }), t.modifiers = v;
2668
2668
  }
2669
- const { components: r, formatters: o, labels: s, dateLib: i, locale: a, classNames: c } = xe(() => {
2670
- const v = { ...jt, ...t.locale }, _ = t.broadcastCalendar ? 1 : t.weekStartsOn, M = t.noonSafe && t.timeZone ? Ga(t.timeZone, {
2669
+ const { components: r, formatters: o, labels: s, dateLib: i, locale: a, classNames: c } = Te(() => {
2670
+ const v = { ...Rt, ...t.locale }, _ = t.broadcastCalendar ? 1 : t.weekStartsOn, M = t.noonSafe && t.timeZone ? Ga(t.timeZone, {
2671
2671
  weekStartsOn: _,
2672
2672
  locale: v
2673
2673
  }) : void 0, x = t.dateLib && M ? { ...M, ...t.dateLib } : t.dateLib ?? M, R = new z({
@@ -2682,10 +2682,10 @@ function ms(e) {
2682
2682
  return {
2683
2683
  dateLib: R,
2684
2684
  components: Oa(t.components),
2685
- formatters: Pa(t.formatters),
2685
+ formatters: Ea(t.formatters),
2686
2686
  labels: Aa(t.labels, R.options),
2687
2687
  locale: v,
2688
- classNames: { ...Vt(), ...t.classNames }
2688
+ classNames: { ...Qt(), ...t.classNames }
2689
2689
  };
2690
2690
  }, [
2691
2691
  t.locale,
@@ -2704,17 +2704,17 @@ function ms(e) {
2704
2704
  t.classNames
2705
2705
  ]);
2706
2706
  t.today || (t = { ...t, today: i.today() });
2707
- const { captionLayout: u, mode: d, navLayout: l, numberOfMonths: m = 1, onDayBlur: b, onDayClick: O, onDayFocus: S, onDayKeyDown: D, onDayMouseEnter: W, onDayMouseLeave: h, onNextClick: p, onPrevClick: k, showWeekNumber: w, styles: y } = t, { formatCaption: C, formatDay: E, formatMonthDropdown: H, formatWeekNumber: F, formatWeekNumberHeader: V, formatWeekdayName: Z, formatYearDropdown: J } = o, T = rs(t, i), { days: j, months: ce, navStart: be, navEnd: we, previousMonth: Q, nextMonth: X, goToMonth: te } = T, Pe = Da(j, t, be, we, i), { isSelected: Fe, select: Be, selected: Ne } = hs(t, i) ?? {}, { blur: st, focused: it, isFocusTarget: sn, moveFocus: ct, setFocused: Ye } = ss(t, T, Pe, Fe ?? (() => !1), i), { labelDayButton: cn, labelGridcell: un, labelGrid: ln, labelMonthDropdown: dn, labelNav: ut, labelPrevious: fn, labelNext: hn, labelWeekday: mn, labelWeekNumber: yn, labelWeekNumberHeader: gn, labelYearDropdown: bn } = s, wn = xe(() => Ra(i, t.ISOWeek, t.broadcastCalendar, t.today), [i, t.ISOWeek, t.broadcastCalendar, t.today]), lt = d !== void 0 || O !== void 0, Ie = U(() => {
2707
+ const { captionLayout: u, mode: d, navLayout: l, numberOfMonths: m = 1, onDayBlur: b, onDayClick: O, onDayFocus: S, onDayKeyDown: D, onDayMouseEnter: W, onDayMouseLeave: h, onNextClick: p, onPrevClick: k, showWeekNumber: w, styles: y } = t, { formatCaption: C, formatDay: P, formatMonthDropdown: H, formatWeekNumber: F, formatWeekNumberHeader: V, formatWeekdayName: Z, formatYearDropdown: J } = o, T = rs(t, i), { days: j, months: ce, navStart: be, navEnd: we, previousMonth: Q, nextMonth: X, goToMonth: te } = T, Ee = Da(j, t, be, we, i), { isSelected: Fe, select: Be, selected: Ne } = hs(t, i) ?? {}, { blur: at, focused: st, isFocusTarget: cn, moveFocus: it, setFocused: Ye } = ss(t, T, Ee, Fe ?? (() => !1), i), { labelDayButton: un, labelGridcell: ln, labelGrid: dn, labelMonthDropdown: fn, labelNav: ct, labelPrevious: hn, labelNext: mn, labelWeekday: yn, labelWeekNumber: gn, labelWeekNumberHeader: bn, labelYearDropdown: wn } = s, pn = Te(() => Ra(i, t.ISOWeek, t.broadcastCalendar, t.today), [i, t.ISOWeek, t.broadcastCalendar, t.today]), ut = d !== void 0 || O !== void 0, Ie = U(() => {
2708
2708
  Q && (te(Q), k?.(Q));
2709
2709
  }, [Q, te, k]), He = U(() => {
2710
2710
  X && (te(X), p?.(X));
2711
- }, [te, X, p]), pn = U((v, _) => (M) => {
2711
+ }, [te, X, p]), Mn = U((v, _) => (M) => {
2712
2712
  M.preventDefault(), M.stopPropagation(), Ye(v), !_.disabled && (Be?.(v.date, _, M), O?.(v.date, _, M));
2713
- }, [Be, O, Ye]), Mn = U((v, _) => (M) => {
2713
+ }, [Be, O, Ye]), kn = U((v, _) => (M) => {
2714
2714
  Ye(v), S?.(v.date, _, M);
2715
- }, [S, Ye]), kn = U((v, _) => (M) => {
2716
- st(), b?.(v.date, _, M);
2717
- }, [st, b]), Dn = U((v, _) => (M) => {
2715
+ }, [S, Ye]), Dn = U((v, _) => (M) => {
2716
+ at(), b?.(v.date, _, M);
2717
+ }, [at, b]), vn = U((v, _) => (M) => {
2718
2718
  const x = {
2719
2719
  ArrowLeft: [
2720
2720
  M.shiftKey ? "month" : "day",
@@ -2734,30 +2734,30 @@ function ms(e) {
2734
2734
  if (x[M.key]) {
2735
2735
  M.preventDefault(), M.stopPropagation();
2736
2736
  const [R, N] = x[M.key];
2737
- ct(R, N);
2737
+ it(R, N);
2738
2738
  }
2739
2739
  D?.(v.date, _, M);
2740
- }, [ct, D, t.dir]), vn = U((v, _) => (M) => {
2740
+ }, [it, D, t.dir]), On = U((v, _) => (M) => {
2741
2741
  W?.(v.date, _, M);
2742
- }, [W]), On = U((v, _) => (M) => {
2742
+ }, [W]), Wn = U((v, _) => (M) => {
2743
2743
  h?.(v.date, _, M);
2744
- }, [h]), Wn = U((v) => (_) => {
2744
+ }, [h]), Cn = U((v) => (_) => {
2745
2745
  const M = Number(_.target.value), x = i.setMonth(i.startOfMonth(v), M);
2746
2746
  te(x);
2747
- }, [i, te]), Cn = U((v) => (_) => {
2747
+ }, [i, te]), Sn = U((v) => (_) => {
2748
2748
  const M = Number(_.target.value), x = i.setYear(i.startOfMonth(v), M);
2749
2749
  te(x);
2750
- }, [i, te]), { className: Sn, style: Nn } = xe(() => ({
2750
+ }, [i, te]), { className: Nn, style: Yn } = Te(() => ({
2751
2751
  className: [c[g.Root], t.className].filter(Boolean).join(" "),
2752
2752
  style: { ...y?.[g.Root], ...t.style }
2753
- }), [c, t.className, t.style, y]), Yn = Wa(t), dt = Te(null);
2754
- Xa(dt, !!t.animate, {
2753
+ }), [c, t.className, t.style, y]), Tn = Wa(t), lt = ve(null);
2754
+ Xa(lt, !!t.animate, {
2755
2755
  classNames: c,
2756
2756
  months: ce,
2757
- focused: it,
2757
+ focused: st,
2758
2758
  dateLib: i
2759
2759
  });
2760
- const Tn = {
2760
+ const xn = {
2761
2761
  dayPickerProps: t,
2762
2762
  selected: Ne,
2763
2763
  select: Be,
@@ -2766,7 +2766,7 @@ function ms(e) {
2766
2766
  nextMonth: X,
2767
2767
  previousMonth: Q,
2768
2768
  goToMonth: te,
2769
- getModifiers: Pe,
2769
+ getModifiers: Ee,
2770
2770
  components: r,
2771
2771
  classNames: c,
2772
2772
  styles: y,
@@ -2774,15 +2774,15 @@ function ms(e) {
2774
2774
  formatters: o
2775
2775
  };
2776
2776
  return f.createElement(
2777
- $t.Provider,
2778
- { value: Tn },
2777
+ Gt.Provider,
2778
+ { value: xn },
2779
2779
  f.createElement(
2780
2780
  r.Root,
2781
- { rootRef: t.animate ? dt : void 0, className: Sn, style: Nn, dir: t.dir, id: t.id, lang: t.lang ?? a.code, nonce: t.nonce, title: t.title, role: t.role, "aria-label": t["aria-label"], "aria-labelledby": t["aria-labelledby"], ...Yn },
2781
+ { rootRef: t.animate ? lt : void 0, className: Nn, style: Yn, dir: t.dir, id: t.id, lang: t.lang ?? a.code, nonce: t.nonce, title: t.title, role: t.role, "aria-label": t["aria-label"], "aria-labelledby": t["aria-labelledby"], ...Tn },
2782
2782
  f.createElement(
2783
2783
  r.Months,
2784
2784
  { className: c[g.Months], style: y?.[g.Months] },
2785
- !t.hideNavigation && !l && f.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: c[g.Nav], style: y?.[g.Nav], "aria-label": ut(), onPreviousClick: Ie, onNextClick: He, previousMonth: Q, nextMonth: X }),
2785
+ !t.hideNavigation && !l && f.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: c[g.Nav], style: y?.[g.Nav], "aria-label": ct(), onPreviousClick: Ie, onNextClick: He, previousMonth: Q, nextMonth: X }),
2786
2786
  ce.map((v, _) => f.createElement(
2787
2787
  r.Month,
2788
2788
  {
@@ -2796,14 +2796,14 @@ function ms(e) {
2796
2796
  },
2797
2797
  l === "around" && !t.hideNavigation && _ === 0 && f.createElement(
2798
2798
  r.PreviousMonthButton,
2799
- { type: "button", className: c[g.PreviousMonthButton], tabIndex: Q ? void 0 : -1, "aria-disabled": Q ? void 0 : !0, "aria-label": fn(Q), onClick: Ie, "data-animated-button": t.animate ? "true" : void 0 },
2799
+ { type: "button", className: c[g.PreviousMonthButton], tabIndex: Q ? void 0 : -1, "aria-disabled": Q ? void 0 : !0, "aria-label": hn(Q), onClick: Ie, "data-animated-button": t.animate ? "true" : void 0 },
2800
2800
  f.createElement(r.Chevron, { disabled: Q ? void 0 : !0, className: c[g.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
2801
2801
  ),
2802
2802
  f.createElement(r.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: c[g.MonthCaption], style: y?.[g.MonthCaption], calendarMonth: v, displayIndex: _ }, u?.startsWith("dropdown") ? f.createElement(
2803
2803
  r.DropdownNav,
2804
2804
  { className: c[g.Dropdowns], style: y?.[g.Dropdowns] },
2805
2805
  (() => {
2806
- const M = u === "dropdown" || u === "dropdown-months" ? f.createElement(r.MonthsDropdown, { key: "month", className: c[g.MonthsDropdown], "aria-label": dn(), classNames: c, components: r, disabled: !!t.disableNavigation, onChange: Wn(v.date), options: qa(v.date, be, we, o, i), style: y?.[g.Dropdown], value: i.getMonth(v.date) }) : f.createElement("span", { key: "month" }, H(v.date, i)), x = u === "dropdown" || u === "dropdown-years" ? f.createElement(r.YearsDropdown, { key: "year", className: c[g.YearsDropdown], "aria-label": bn(i.options), classNames: c, components: r, disabled: !!t.disableNavigation, onChange: Cn(v.date), options: $a(be, we, o, i, !!t.reverseYears), style: y?.[g.Dropdown], value: i.getYear(v.date) }) : f.createElement("span", { key: "year" }, J(v.date, i));
2806
+ const M = u === "dropdown" || u === "dropdown-months" ? f.createElement(r.MonthsDropdown, { key: "month", className: c[g.MonthsDropdown], "aria-label": fn(), classNames: c, components: r, disabled: !!t.disableNavigation, onChange: Cn(v.date), options: qa(v.date, be, we, o, i), style: y?.[g.Dropdown], value: i.getMonth(v.date) }) : f.createElement("span", { key: "month" }, H(v.date, i)), x = u === "dropdown" || u === "dropdown-years" ? f.createElement(r.YearsDropdown, { key: "year", className: c[g.YearsDropdown], "aria-label": wn(i.options), classNames: c, components: r, disabled: !!t.disableNavigation, onChange: Sn(v.date), options: $a(be, we, o, i, !!t.reverseYears), style: y?.[g.Dropdown], value: i.getYear(v.date) }) : f.createElement("span", { key: "year" }, J(v.date, i));
2807
2807
  return i.getMonthYearOrder() === "year-first" ? [x, M] : [M, x];
2808
2808
  })(),
2809
2809
  f.createElement("span", { role: "status", "aria-live": "polite", style: {
@@ -2821,33 +2821,33 @@ function ms(e) {
2821
2821
  ) : f.createElement(r.CaptionLabel, { className: c[g.CaptionLabel], role: "status", "aria-live": "polite" }, C(v.date, i.options, i))),
2822
2822
  l === "around" && !t.hideNavigation && _ === m - 1 && f.createElement(
2823
2823
  r.NextMonthButton,
2824
- { type: "button", className: c[g.NextMonthButton], tabIndex: X ? void 0 : -1, "aria-disabled": X ? void 0 : !0, "aria-label": hn(X), onClick: He, "data-animated-button": t.animate ? "true" : void 0 },
2824
+ { type: "button", className: c[g.NextMonthButton], tabIndex: X ? void 0 : -1, "aria-disabled": X ? void 0 : !0, "aria-label": mn(X), onClick: He, "data-animated-button": t.animate ? "true" : void 0 },
2825
2825
  f.createElement(r.Chevron, { disabled: X ? void 0 : !0, className: c[g.Chevron], orientation: t.dir === "rtl" ? "left" : "right" })
2826
2826
  ),
2827
- _ === m - 1 && l === "after" && !t.hideNavigation && f.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: c[g.Nav], style: y?.[g.Nav], "aria-label": ut(), onPreviousClick: Ie, onNextClick: He, previousMonth: Q, nextMonth: X }),
2827
+ _ === m - 1 && l === "after" && !t.hideNavigation && f.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: c[g.Nav], style: y?.[g.Nav], "aria-label": ct(), onPreviousClick: Ie, onNextClick: He, previousMonth: Q, nextMonth: X }),
2828
2828
  f.createElement(
2829
2829
  r.MonthGrid,
2830
- { role: "grid", "aria-multiselectable": d === "multiple" || d === "range", "aria-label": ln(v.date, i.options, i) || void 0, className: c[g.MonthGrid], style: y?.[g.MonthGrid] },
2830
+ { role: "grid", "aria-multiselectable": d === "multiple" || d === "range", "aria-label": dn(v.date, i.options, i) || void 0, className: c[g.MonthGrid], style: y?.[g.MonthGrid] },
2831
2831
  !t.hideWeekdays && f.createElement(
2832
2832
  r.Weekdays,
2833
2833
  { "data-animated-weekdays": t.animate ? "true" : void 0, className: c[g.Weekdays], style: y?.[g.Weekdays] },
2834
- w && f.createElement(r.WeekNumberHeader, { "aria-label": gn(i.options), className: c[g.WeekNumberHeader], style: y?.[g.WeekNumberHeader], scope: "col" }, V()),
2835
- wn.map((M) => f.createElement(r.Weekday, { "aria-label": mn(M, i.options, i), className: c[g.Weekday], key: String(M), style: y?.[g.Weekday], scope: "col" }, Z(M, i.options, i)))
2834
+ w && f.createElement(r.WeekNumberHeader, { "aria-label": bn(i.options), className: c[g.WeekNumberHeader], style: y?.[g.WeekNumberHeader], scope: "col" }, V()),
2835
+ pn.map((M) => f.createElement(r.Weekday, { "aria-label": yn(M, i.options, i), className: c[g.Weekday], key: String(M), style: y?.[g.Weekday], scope: "col" }, Z(M, i.options, i)))
2836
2836
  ),
2837
2837
  f.createElement(r.Weeks, { "data-animated-weeks": t.animate ? "true" : void 0, className: c[g.Weeks], style: y?.[g.Weeks] }, v.weeks.map((M) => f.createElement(
2838
2838
  r.Week,
2839
2839
  { className: c[g.Week], key: M.weekNumber, style: y?.[g.Week], week: M },
2840
- w && f.createElement(r.WeekNumber, { week: M, style: y?.[g.WeekNumber], "aria-label": yn(M.weekNumber, {
2840
+ w && f.createElement(r.WeekNumber, { week: M, style: y?.[g.WeekNumber], "aria-label": gn(M.weekNumber, {
2841
2841
  locale: a
2842
2842
  }), className: c[g.WeekNumber], scope: "row", role: "rowheader" }, F(M.weekNumber, i)),
2843
2843
  M.days.map((x) => {
2844
- const { date: R } = x, N = Pe(x);
2845
- if (N[I.focused] = !N.hidden && !!it?.isEqualTo(x), N[ee.selected] = Fe?.(R) || N.selected, _e(Ne)) {
2844
+ const { date: R } = x, N = Ee(x);
2845
+ if (N[I.focused] = !N.hidden && !!st?.isEqualTo(x), N[ee.selected] = Fe?.(R) || N.selected, _e(Ne)) {
2846
2846
  const { from: Ae, to: qe } = Ne;
2847
2847
  N[ee.range_start] = !!(Ae && qe && i.isSameDay(R, Ae)), N[ee.range_end] = !!(Ae && qe && i.isSameDay(R, qe)), N[ee.range_middle] = ae(Ne, R, !0, i);
2848
2848
  }
2849
- const xn = ja(N, y, t.modifiersStyles), _n = va(N, c, t.modifiersClassNames), En = !lt && !N.hidden ? un(R, N, i.options, i) : void 0;
2850
- return f.createElement(r.Day, { key: `${x.isoDate}_${x.displayMonthId}`, day: x, modifiers: N, className: _n.join(" "), style: xn, role: "gridcell", "aria-selected": N.selected || void 0, "aria-label": En, "data-day": x.isoDate, "data-month": x.outside ? x.dateMonthId : void 0, "data-selected": N.selected || void 0, "data-disabled": N.disabled || void 0, "data-hidden": N.hidden || void 0, "data-outside": x.outside || void 0, "data-focused": N.focused || void 0, "data-today": N.today || void 0 }, !N.hidden && lt ? f.createElement(r.DayButton, { className: c[g.DayButton], style: y?.[g.DayButton], type: "button", day: x, modifiers: N, disabled: !N.focused && N.disabled || void 0, "aria-disabled": N.focused && N.disabled || void 0, tabIndex: sn(x) ? 0 : -1, "aria-label": cn(R, N, i.options, i), onClick: pn(x, N), onBlur: kn(x, N), onFocus: Mn(x, N), onKeyDown: Dn(x, N), onMouseEnter: vn(x, N), onMouseLeave: On(x, N) }, E(R, i.options, i)) : !N.hidden && E(x.date, i.options, i));
2849
+ const _n = ja(N, y, t.modifiersStyles), Pn = va(N, c, t.modifiersClassNames), En = !ut && !N.hidden ? ln(R, N, i.options, i) : void 0;
2850
+ return f.createElement(r.Day, { key: `${x.isoDate}_${x.displayMonthId}`, day: x, modifiers: N, className: Pn.join(" "), style: _n, role: "gridcell", "aria-selected": N.selected || void 0, "aria-label": En, "data-day": x.isoDate, "data-month": x.outside ? x.dateMonthId : void 0, "data-selected": N.selected || void 0, "data-disabled": N.disabled || void 0, "data-hidden": N.hidden || void 0, "data-outside": x.outside || void 0, "data-focused": N.focused || void 0, "data-today": N.today || void 0 }, !N.hidden && ut ? f.createElement(r.DayButton, { className: c[g.DayButton], style: y?.[g.DayButton], type: "button", day: x, modifiers: N, disabled: !N.focused && N.disabled || void 0, "aria-disabled": N.focused && N.disabled || void 0, tabIndex: cn(x) ? 0 : -1, "aria-label": un(R, N, i.options, i), onClick: Mn(x, N), onBlur: Dn(x, N), onFocus: kn(x, N), onKeyDown: vn(x, N), onMouseEnter: On(x, N), onMouseLeave: Wn(x, N) }, P(R, i.options, i)) : !N.hidden && P(x.date, i.options, i));
2851
2851
  })
2852
2852
  )))
2853
2853
  )
@@ -2857,7 +2857,7 @@ function ms(e) {
2857
2857
  )
2858
2858
  );
2859
2859
  }
2860
- const an = ve.createContext({
2860
+ const sn = St({
2861
2861
  size: "md"
2862
2862
  });
2863
2863
  function ys({ className: e, rootRef: t, ...n }) {
@@ -2903,7 +2903,7 @@ function gs({
2903
2903
  function bs({ children: e, ...t }) {
2904
2904
  return /* @__PURE__ */ G("th", { ...t, children: /* @__PURE__ */ G("div", { className: Mr, children: e }) });
2905
2905
  }
2906
- function Ys({
2906
+ function Ts({
2907
2907
  className: e,
2908
2908
  classNames: t,
2909
2909
  classNameWrapper: n,
@@ -2923,17 +2923,17 @@ function Ys({
2923
2923
  onDayClick: D,
2924
2924
  ...W
2925
2925
  }) {
2926
- const h = Vt(), [p, k] = ve.useState(), w = (W.numberOfMonths ?? 1) === 1, y = W.onSelect, C = W.onSelect, E = !!b?.length, H = a === "sm" ? "max-w-[15.5rem]" : a === "md" ? "max-w-[20rem]" : "max-w-[20.5rem]", F = ye(O ?? /* @__PURE__ */ new Date()), V = (T) => {
2926
+ const h = Qt(), [p, k] = xe(), w = (W.numberOfMonths ?? 1) === 1, y = W.onSelect, C = W.onSelect, P = !!b?.length, H = a === "sm" ? "max-w-[15.5rem]" : a === "md" ? "max-w-[20rem]" : "max-w-[20.5rem]", F = ye(O ?? /* @__PURE__ */ new Date()), V = (T) => {
2927
2927
  if (W.mode === "range") {
2928
2928
  const be = F.getTime() <= T.getTime() ? F : T, we = F.getTime() <= T.getTime() ? T : F;
2929
2929
  C?.({ from: be, to: we }, T, {}, {});
2930
2930
  return;
2931
2931
  }
2932
2932
  y?.(T, T, {}, {});
2933
- }, Z = l ?? (E ? /* @__PURE__ */ G(Pn, { children: b.map((T) => {
2934
- const j = Ze(F, T.days);
2933
+ }, Z = l ?? (P ? /* @__PURE__ */ G(Fn, { children: b.map((T) => {
2934
+ const j = Ke(F, T.days);
2935
2935
  return /* @__PURE__ */ G(
2936
- Nt,
2936
+ Yt,
2937
2937
  {
2938
2938
  variant: "outlined",
2939
2939
  size: "xs",
@@ -2946,8 +2946,8 @@ function Ys({
2946
2946
  `${T.text}-${T.days}`
2947
2947
  );
2948
2948
  }) }) : null), J = Z != null || !!m;
2949
- return /* @__PURE__ */ ft(An, { className: Y(mr, n), children: [
2950
- /* @__PURE__ */ G(qn, { className: fr({ size: a }), children: /* @__PURE__ */ G(an, { value: { locale: c, size: a, lastClickedDay: p, mode: W.mode }, children: /* @__PURE__ */ G(
2949
+ return /* @__PURE__ */ dt(An, { className: Y(mr, n), children: [
2950
+ /* @__PURE__ */ G(qn, { className: fr({ size: a }), children: /* @__PURE__ */ G(sn, { value: { locale: c, size: a, lastClickedDay: p, mode: W.mode }, children: /* @__PURE__ */ G(
2951
2951
  ms,
2952
2952
  {
2953
2953
  showOutsideDays: o,
@@ -2964,13 +2964,13 @@ function Ys({
2964
2964
  month: Y(ur, h.month),
2965
2965
  nav: Y(cr, h.nav),
2966
2966
  button_previous: Y(
2967
- ht({ variant: i }),
2968
- mt,
2967
+ ft({ variant: i }),
2968
+ ht,
2969
2969
  h.button_previous
2970
2970
  ),
2971
2971
  button_next: Y(
2972
- ht({ variant: i }),
2973
- mt,
2972
+ ft({ variant: i }),
2973
+ ht,
2974
2974
  h.button_next
2975
2975
  ),
2976
2976
  month_caption: Y(
@@ -3041,13 +3041,13 @@ function Ys({
3041
3041
  ...W
3042
3042
  }
3043
3043
  ) }) }),
3044
- J && /* @__PURE__ */ ft(
3044
+ J && /* @__PURE__ */ dt(
3045
3045
  jn,
3046
3046
  {
3047
3047
  className: Y(
3048
3048
  hr({ size: a }),
3049
- E && "justify-center gap-2.5",
3050
- w && E && H,
3049
+ P && "justify-center gap-2.5",
3050
+ w && P && H,
3051
3051
  r
3052
3052
  ),
3053
3053
  children: [
@@ -3065,16 +3065,11 @@ function ws({
3065
3065
  children: r,
3066
3066
  ...o
3067
3067
  }) {
3068
- const {
3069
- locale: s,
3070
- size: i,
3071
- lastClickedDay: a,
3072
- mode: c
3073
- } = ve.use(an), u = ve.useRef(null);
3074
- return ve.useEffect(() => {
3068
+ const { locale: s, size: i, lastClickedDay: a, mode: c } = Hn(sn), u = ve(null);
3069
+ return Nt(() => {
3075
3070
  n.focused && u.current?.focus();
3076
3071
  }, [n.focused]), /* @__PURE__ */ G(
3077
- Nt,
3072
+ Yt,
3078
3073
  {
3079
3074
  ref: u,
3080
3075
  variant: "ghost",
@@ -3104,15 +3099,15 @@ function ws({
3104
3099
  );
3105
3100
  }
3106
3101
  export {
3107
- Ys as C,
3102
+ Ts as C,
3108
3103
  z as D,
3109
3104
  pe as a,
3110
3105
  $e as b,
3111
3106
  Me as c,
3112
3107
  eo as d,
3113
- jt as e,
3108
+ Rt as e,
3114
3109
  ws as f,
3115
3110
  ge as n,
3116
3111
  me as s
3117
3112
  };
3118
- //# sourceMappingURL=calendar-C0DXP3T-.js.map
3113
+ //# sourceMappingURL=calendar-XWqEaWHP.js.map