@midas-ds/components 10.2.0 → 10.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/AccordionItem-BcsoC78F.cjs +1 -0
  2. package/{AccordionItem-DZT76sWu.js → AccordionItem-BqsgiVWV.js} +43 -41
  3. package/{BadgeContainer-D3RtqcPF.js → BadgeContainer-DM8TdyMT.js} +4 -4
  4. package/{BadgeContainer-DeUgqGqb.cjs → BadgeContainer-I1XA3OCl.cjs} +1 -1
  5. package/Breadcrumbs-CfW5IuyE.cjs +1 -0
  6. package/{Breadcrumbs-CmZXtTiS.js → Breadcrumbs-D7eoibWk.js} +85 -73
  7. package/{Button-iSiWjocA.cjs → Button-BXY5ZhqI.cjs} +1 -1
  8. package/{Button-CbFRzRrF.js → Button-BZUo7vsZ.js} +2 -2
  9. package/Button-CFYdzG0H.js +341 -0
  10. package/Button-DExMoP5f.cjs +1 -0
  11. package/Button.module-DEQtBYe5.cjs +1 -0
  12. package/Button.module-tti8HGxs.js +14 -0
  13. package/CHANGELOG.md +48 -0
  14. package/{Card-CaKKKv9k.js → Card-BaWSgtSF.js} +5 -5
  15. package/Card-Cc1TNPcQ.cjs +1 -0
  16. package/{CharacterCounter-CrY8QRuY.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
  17. package/CharacterCounter-cLhqPZlk.js +22 -0
  18. package/Checkbox-Co3h0hur.cjs +1 -0
  19. package/Checkbox-LuUwTZ3W.js +264 -0
  20. package/CheckboxGroup-CUA8_xSx.js +160 -0
  21. package/CheckboxGroup-DmUOM0xl.cjs +1 -0
  22. package/{Collection-C5ONNBqd.js → Collection--62xKPm9.js} +19 -18
  23. package/Collection-BtBX5IMY.cjs +1 -0
  24. package/{ColorSchemeSwitch-CbAWIJCg.js → ColorSchemeSwitch-Cwono7Ap.js} +48 -32
  25. package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
  26. package/ComboBox-BBC7jhnm.cjs +1 -0
  27. package/{ComboBox-BCaqPEIH.js → ComboBox-HLIAbb2q.js} +360 -345
  28. package/DateField-B3VjOSde.cjs +1 -0
  29. package/DateField-CnLEi7uX.js +47 -0
  30. package/DateInputDivider-3BvwXXa9.cjs +1 -0
  31. package/{DateInputDivider-Dx8n1Lxp.js → DateInputDivider-Bi5N-C0c.js} +73 -73
  32. package/DateRangePicker-BPlZ12r8.cjs +6 -0
  33. package/{DateRangePicker-BmBvwqo6.js → DateRangePicker-CFOoGvut.js} +192 -189
  34. package/Dialog-CSnN6baf.cjs +1 -0
  35. package/{Dialog-CYxThuMl.js → Dialog-CtVrVuMr.js} +565 -538
  36. package/Dialog-SqciohRY.js +221 -0
  37. package/Dialog-pSSy1zwf.cjs +1 -0
  38. package/DragAndDrop-BoEd260f.cjs +1 -0
  39. package/{DragAndDrop-CSwmPhxC.js → DragAndDrop-DkSTL28C.js} +8 -8
  40. package/{Dropdown-nkjzsVYX.js → Dropdown-CkBp70BH.js} +2 -2
  41. package/{Dropdown-CaGon9OR.cjs → Dropdown-DAsVShlt.cjs} +1 -1
  42. package/FieldError-B3YFj-an.js +23 -0
  43. package/{FieldError-CZikNDxX.js → FieldError-BbR-29BM.js} +8 -8
  44. package/{FieldError-DqdfJ3fs.cjs → FieldError-MVsU-Mgw.cjs} +1 -1
  45. package/{FieldError-BZw8UzBk.cjs → FieldError-bRTpchvr.cjs} +1 -1
  46. package/{FileUpload-ULwcYDxs.js → FileUpload-B4rv-wke.js} +502 -480
  47. package/{FileUpload-DYRZ0M9F.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
  48. package/{FocusScope-DwIqdYpQ.js → FocusScope-D_hwN_TJ.js} +38 -37
  49. package/FocusScope-vcXLOQiu.cjs +1 -0
  50. package/Group-CpkUzEAs.js +45 -0
  51. package/Group-DOpbdoAi.cjs +1 -0
  52. package/Heading-CKTR4sOz.cjs +1 -0
  53. package/{Heading-BY5-QN4S.js → Heading-NxtGri2i.js} +7 -7
  54. package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
  55. package/{InfoBanner-CVIBFSWx.js → InfoBanner-CBUoad7A.js} +45 -36
  56. package/InfoBanner-CVry6Y8i.cjs +1 -0
  57. package/Input-LnjmFI1x.js +42 -0
  58. package/Input-MJji5hhq.cjs +1 -0
  59. package/Label-CNmTN1YY.cjs +1 -0
  60. package/Label-TVxwGZ-O.js +78 -0
  61. package/Layout-Dw-oCqxd.cjs +16 -0
  62. package/Layout-amz9BESl.js +498 -0
  63. package/{Link-B-nus-FT.js → Link-Bn8V3ZI0.js} +20 -19
  64. package/Link-CidjjqHb.cjs +1 -0
  65. package/{Link-DsnCtNeI.cjs → Link-D92ftFi2.cjs} +1 -1
  66. package/{Link-uFowN4qv.js → Link-DegonJfl.js} +1 -1
  67. package/LinkButton-CckYzfJ8.js +69 -0
  68. package/LinkButton-DKZ4z6zu.cjs +6 -0
  69. package/ListBox-BCz5-23H.cjs +1 -0
  70. package/{ListBox-DOi_y_Lt.js → ListBox-C-isJIHL.js} +56 -55
  71. package/{ListBoxButton-O6zN3P4W.js → ListBoxButton-C_krklY0.js} +1 -1
  72. package/{ListBoxButton-CFeNhJhr.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
  73. package/{ListBoxSection-C1aLKL9p.js → ListBoxSection-BVR2xtOH.js} +9 -9
  74. package/ListBoxSection-CfQZoURJ.cjs +1 -0
  75. package/ListKeyboardDelegate-CPsZ7D83.cjs +1 -0
  76. package/{ListKeyboardDelegate-DNOzQ8nc.js → ListKeyboardDelegate-CY6t6y1t.js} +24 -15
  77. package/Logo-BpH0HC91.cjs +1 -0
  78. package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
  79. package/{OverlayArrow-DorA4Rbr.js → OverlayArrow-CfhSYL46.js} +28 -27
  80. package/OverlayArrow-DpZ1FqOd.cjs +1 -0
  81. package/Popover-C8VY1YKi.js +38 -0
  82. package/Popover-CnAsw3wI.cjs +1 -0
  83. package/{ProgressBar-gmAzSsrz.js → ProgressBar-BNCjpcv8.js} +2 -2
  84. package/ProgressBar-CcbxcWdT.cjs +1 -0
  85. package/Radio-B2zfEFdq.cjs +1 -0
  86. package/{Radio-_ukSkxPT.js → Radio-CZYibh9r.js} +81 -78
  87. package/{RangeCalendar-uXwoBL-O.js → RangeCalendar-B16b6tJD.js} +303 -294
  88. package/RangeCalendar-C1LFeOVk.cjs +11 -0
  89. package/SSRProvider-40TXmsUG.js +50 -0
  90. package/SSRProvider-Bc-sMhsT.cjs +1 -0
  91. package/SearchField-CML0kjtn.cjs +6 -0
  92. package/{SearchField-DYl2uo7o.js → SearchField-giwECmXS.js} +175 -166
  93. package/Select-DKey6CeS.cjs +1 -0
  94. package/Select-mwaAv20X.js +665 -0
  95. package/SelectionManager-D0jYUYcy.cjs +1 -0
  96. package/{SelectionManager-6H88Cv6B.js → SelectionManager-zsWy3vsd.js} +86 -86
  97. package/Separator-CxF-3jhR.cjs +1 -0
  98. package/{Separator-LYnFqh4L.js → Separator-Dn5LYN5I.js} +19 -20
  99. package/Spinner-CbJ6YAz-.js +53 -0
  100. package/Spinner-yHcy8YHC.cjs +6 -0
  101. package/TabList-7VtCiXxX.cjs +1 -0
  102. package/TabList-CthsM5h6.js +435 -0
  103. package/{Table-B_N7wUmA.js → Table-BcQPvJT3.js} +67 -69
  104. package/Table-DkvNp6xm.cjs +16 -0
  105. package/{Tag-g6HN-YCv.js → Tag-Bs8T2Ei7.js} +140 -141
  106. package/Tag-CFWZ2LQW.cjs +1 -0
  107. package/{Text-B_H68Tvq.js → Text-92cPh38G.js} +3 -3
  108. package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
  109. package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
  110. package/{Text-BN-g1iWi.js → Text-DlKqpvSa.js} +1 -1
  111. package/TextArea-DBNAVWqL.js +119 -0
  112. package/TextArea-XJDfeXRs.cjs +1 -0
  113. package/TextField-BdK9KEQ5.cjs +1 -0
  114. package/{TextField-DBaRuNj7.js → TextField-ByDJkig9.js} +22 -21
  115. package/{Toast-CjpldAI8.js → Toast-DPPvPhrF.js} +95 -87
  116. package/Toast-l1bKo2oA.cjs +1 -0
  117. package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
  118. package/{ToggleButtonGroup-Ceh9_yBM.js → ToggleButtonGroup-HOWNWtQZ.js} +47 -46
  119. package/{Tooltip-BAIjaYax.js → Tooltip-5mLWn_wO.js} +53 -51
  120. package/Tooltip-pN5W3IK6.cjs +1 -0
  121. package/{VisuallyHidden-D-4z1VgU.js → VisuallyHidden-CYfmTSCD.js} +8 -8
  122. package/VisuallyHidden-Doyzl0F7.cjs +1 -0
  123. package/accordion/index.cjs +1 -1
  124. package/accordion/index.js +1 -1
  125. package/{arrow-right-Cw48o2oW.cjs → arrow-right-QJ2gXPKQ.cjs} +1 -1
  126. package/assets/Button.css +1 -1
  127. package/assets/Checkbox.css +1 -1
  128. package/assets/FileUpload.css +1 -1
  129. package/assets/Label.css +1 -1
  130. package/assets/LinkButton.css +1 -1
  131. package/assets/Popover.css +1 -0
  132. package/assets/RangeCalendar.css +1 -1
  133. package/assets/SearchField.css +1 -1
  134. package/assets/Spinner.css +1 -1
  135. package/assets/TabList.css +1 -0
  136. package/badge/index.cjs +1 -1
  137. package/badge/index.js +1 -1
  138. package/breadcrumbs/Breadcrumbs.d.ts +11 -7
  139. package/breadcrumbs/index.cjs +1 -1
  140. package/breadcrumbs/index.d.ts +1 -1
  141. package/breadcrumbs/index.js +1 -1
  142. package/button/index.cjs +1 -1
  143. package/button/index.js +1 -1
  144. package/calendar/CalendarGrid.d.ts +1 -0
  145. package/calendar/index.cjs +1 -1
  146. package/calendar/index.js +1 -1
  147. package/card/index.cjs +1 -1
  148. package/card/index.js +1 -1
  149. package/character-counter/index.cjs +1 -1
  150. package/character-counter/index.js +1 -1
  151. package/{check-Dw9c62O4.cjs → check-D_KoootC.cjs} +1 -1
  152. package/checkbox/Checkbox.d.ts +4 -2
  153. package/checkbox/CheckboxGroup.d.ts +8 -8
  154. package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
  155. package/checkbox/CheckboxGroupItem.d.ts +3 -0
  156. package/checkbox/CheckboxInner.d.ts +2 -0
  157. package/checkbox/SingleCheckbox.d.ts +3 -0
  158. package/checkbox/context.d.ts +3 -0
  159. package/checkbox/index.cjs +1 -1
  160. package/checkbox/index.d.ts +2 -1
  161. package/checkbox/index.js +2 -2
  162. package/checkbox/intl/translations.json.d.ts +7 -0
  163. package/checkbox/types.d.ts +16 -0
  164. package/checkbox/useSelectAll.d.ts +7 -0
  165. package/{chevron-down-C2E7aZ3N.cjs → chevron-down-jl83cllc.cjs} +1 -1
  166. package/{info-DkzVqB8I.js → circle-check-B9HYcH7Z.js} +4 -16
  167. package/{info-DlzSeKbc.cjs → circle-check-BGo8gML8.cjs} +2 -7
  168. package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
  169. package/color-scheme-switch/index.cjs +1 -1
  170. package/color-scheme-switch/index.js +1 -1
  171. package/color-scheme-switch/intl/translations.json.d.ts +15 -0
  172. package/combobox/ComboBox.d.ts +3 -1
  173. package/combobox/index.cjs +1 -1
  174. package/combobox/index.js +1 -1
  175. package/combobox/intl/translations.json.d.ts +11 -0
  176. package/{context-B8cn10po.js → context-CGNJ3grH.js} +11 -11
  177. package/context-Df3XbgBG.cjs +1 -0
  178. package/{createLucideIcon-DAY4oS-S.cjs → createLucideIcon-Cg_wkoIA.cjs} +1 -1
  179. package/date-field/DateField.d.ts +3 -0
  180. package/date-field/index.cjs +1 -1
  181. package/date-field/index.js +2 -2
  182. package/date-picker/DatePicker.d.ts +3 -0
  183. package/date-picker/DateRangePicker.d.ts +3 -0
  184. package/date-picker/index.cjs +1 -1
  185. package/date-picker/index.js +1 -1
  186. package/dropdown/index.cjs +1 -1
  187. package/dropdown/index.js +1 -1
  188. package/field-error/index.cjs +1 -1
  189. package/field-error/index.js +1 -1
  190. package/file-upload/FileUpload.d.ts +4 -0
  191. package/file-upload/index.cjs +1 -1
  192. package/file-upload/index.js +1 -1
  193. package/file-upload/intl/translations.json.d.ts +17 -0
  194. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-CT_L9LUr.js} +1 -1
  195. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
  196. package/heading/index.cjs +1 -1
  197. package/heading/index.js +1 -1
  198. package/{index-BSMrH_Du.js → index-CGRFP4CC.js} +7 -7
  199. package/{index-D97L3EBk.cjs → index-Dsz3aiWt.cjs} +2 -2
  200. package/index.cjs +1 -1
  201. package/index.d.ts +1 -0
  202. package/index.js +105 -100
  203. package/inertValue-B3AFhVG4.cjs +1 -0
  204. package/info-BZwphdye.js +15 -0
  205. package/info-CIEIENo6.cjs +6 -0
  206. package/info-banner/index.cjs +1 -1
  207. package/info-banner/index.js +1 -1
  208. package/info-banner/intl/translations.json.d.ts +11 -0
  209. package/label/InfoPopover.d.ts +9 -0
  210. package/label/LabelWrapper.d.ts +11 -0
  211. package/label/index.cjs +1 -1
  212. package/label/index.d.ts +1 -0
  213. package/label/index.js +1 -1
  214. package/label/intl/translations.json.d.ts +11 -0
  215. package/layout/Layout.d.ts +1 -0
  216. package/layout/context/LayoutContext.d.ts +1 -0
  217. package/layout/index.cjs +1 -1
  218. package/layout/index.js +1 -1
  219. package/layout/intl/translations.json.d.ts +23 -0
  220. package/link/index.cjs +1 -1
  221. package/link/index.js +2 -2
  222. package/link-button/index.cjs +1 -1
  223. package/link-button/index.js +2 -2
  224. package/list-box/index.cjs +1 -1
  225. package/list-box/index.js +2 -2
  226. package/logo/index.cjs +1 -1
  227. package/logo/index.js +1 -1
  228. package/logo/intl/translations.json.d.ts +11 -0
  229. package/mergeProps-B5KXZAI3.cjs +1 -0
  230. package/mergeProps-C1U1OIeJ.js +115 -0
  231. package/modal/index.cjs +1 -1
  232. package/modal/index.js +2 -2
  233. package/modal/intl/translations.json.d.ts +11 -0
  234. package/package.json +1 -1
  235. package/popover/Popover.d.ts +7 -0
  236. package/popover/index.cjs +1 -0
  237. package/popover/index.d.ts +1 -0
  238. package/popover/index.js +4 -0
  239. package/progress-bar/index.cjs +1 -1
  240. package/progress-bar/index.js +1 -1
  241. package/radio/Radio.d.ts +4 -4
  242. package/radio/index.cjs +1 -1
  243. package/radio/index.js +1 -1
  244. package/scrollIntoView-BLnsPvFA.js +87 -0
  245. package/scrollIntoView-joIyo-Jt.cjs +1 -0
  246. package/search-field/index.cjs +1 -1
  247. package/search-field/index.js +1 -1
  248. package/search-field/intl/translations.json.d.ts +11 -0
  249. package/select/index.cjs +1 -1
  250. package/select/index.js +1 -1
  251. package/select/intl/translations.json.d.ts +17 -0
  252. package/spinner/Spinner.d.ts +1 -0
  253. package/spinner/index.cjs +1 -1
  254. package/spinner/index.js +1 -1
  255. package/spinner/intl/translations.json.d.ts +11 -0
  256. package/{square-arrow-out-up-right-BCAO2eJs.cjs → square-arrow-out-up-right-V4Gd08uI.cjs} +1 -1
  257. package/table/index.cjs +1 -1
  258. package/table/index.js +1 -1
  259. package/tabs/Tab.d.ts +4 -0
  260. package/tabs/TabList.d.ts +3 -0
  261. package/tabs/TabPanel.d.ts +4 -0
  262. package/tabs/Tabs.d.ts +11 -5
  263. package/tabs/index.cjs +1 -1
  264. package/tabs/index.d.ts +3 -0
  265. package/tabs/index.js +5 -2
  266. package/tag/index.cjs +1 -1
  267. package/tag/index.js +1 -1
  268. package/text/index.cjs +1 -1
  269. package/text/index.js +1 -1
  270. package/textfield/TextFieldBase.d.ts +2 -0
  271. package/textfield/index.cjs +1 -1
  272. package/textfield/index.js +1 -1
  273. package/textfield/intl/translations.json.d.ts +0 -72
  274. package/theme/index.cjs +1 -1
  275. package/theme/index.d.ts +5 -0
  276. package/theme/index.js +2 -2
  277. package/theme/tokens.d.ts +5 -0
  278. package/toast/Toast.d.ts +5 -2
  279. package/toast/index.cjs +1 -1
  280. package/toast/index.js +1 -1
  281. package/toggle-button/index.cjs +1 -1
  282. package/toggle-button/index.js +1 -1
  283. package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
  284. package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
  285. package/tooltip/index.cjs +1 -1
  286. package/tooltip/index.js +1 -1
  287. package/{triangle-alert-C0lvfCYH.cjs → triangle-alert-DJW8U7jL.cjs} +1 -1
  288. package/{useButton-C-Lq7CNY.js → useButton-1-Jf-oHj.js} +6 -6
  289. package/useButton-D60q0SQw.cjs +1 -0
  290. package/{useDateFormatter-g2maMTGH.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
  291. package/{useDateFormatter-C53Uxdli.js → useDateFormatter-BVCkxVdw.js} +2 -2
  292. package/{useEvent-Cyd2ZL0c.js → useEvent-CigwyJOw.js} +3 -3
  293. package/useEvent-DPxMu-X9.cjs +1 -0
  294. package/{useField-BPMAlIbU.js → useField-BEBXv5Mh.js} +7 -7
  295. package/useField-D1UkzeaI.cjs +1 -0
  296. package/{useFilter-ChIbnALW.js → useFilter-CousKe2K.js} +1 -1
  297. package/useFilter-e2oIVF_O.cjs +1 -0
  298. package/useFocusRing-B-A1OLhU.cjs +1 -0
  299. package/useFocusRing-DOfBqnUN.js +33 -0
  300. package/useFocusWithin-CG8mAt2D.cjs +1 -0
  301. package/useFocusWithin-T1ifEM_s.js +54 -0
  302. package/useFocusable-ChPA2Jc7.js +127 -0
  303. package/useFocusable-D7I1ujkW.cjs +1 -0
  304. package/useFormValidation-BlFGdPZB.cjs +1 -0
  305. package/{useFormValidation-R8hQIjWP.js → useFormValidation-BzzruZKm.js} +5 -5
  306. package/{useHasTabbableChild-DsD9AJwE.js → useHasTabbableChild-BE81d_ab.js} +2 -2
  307. package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
  308. package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
  309. package/{useHighlightSelectionDescription-DFfcgbUj.js → useHighlightSelectionDescription-D73hrkmn.js} +14 -14
  310. package/useHover-BE_XKZKe.cjs +1 -0
  311. package/useHover-DQvJ3Y-W.js +262 -0
  312. package/useLabels-CSU0kbtJ.cjs +1 -0
  313. package/{useLabels-BZjoZA1Z.js → useLabels-LrKQiY11.js} +1 -1
  314. package/{useListState-DFQ9d-uE.js → useListState-CebsX_1d.js} +7 -7
  315. package/{useListState-Ca2-uZMO.cjs → useListState-DymkJGDF.cjs} +1 -1
  316. package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
  317. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  318. package/{useLocalizedStringFormatter-D07YB2e1.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
  319. package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
  320. package/useObserveElement-MhzEsCkX.cjs +1 -0
  321. package/usePress-BooY_CAy.cjs +7 -0
  322. package/{usePress-CUJ3pMOw.js → usePress-DuR4pVsE.js} +154 -153
  323. package/{useSingleSelectListState-C-nB8cug.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
  324. package/{useSingleSelectListState-MGNxUTum.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
  325. package/{useTextField-5OZQPyOW.js → useTextField-C-sUypsx.js} +14 -14
  326. package/useTextField-DnRrCg5o.cjs +1 -0
  327. package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
  328. package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
  329. package/utils-CoCR_Fce.js +234 -0
  330. package/utils-DHNZrQmj.cjs +1 -0
  331. package/utils-DJhAJHk_.js +152 -0
  332. package/utils-Dvdohqm9.cjs +1 -0
  333. package/{x-CvxiAZTW.cjs → x-H8Zrx8-x.cjs} +1 -1
  334. package/AccordionItem-Z_c9MpAM.cjs +0 -1
  335. package/Breadcrumbs-Cx09jwZZ.cjs +0 -1
  336. package/Button-DnhqHU01.cjs +0 -1
  337. package/Button-ZOQy9Ivu.js +0 -78
  338. package/Button.module-CMMhIrkn.js +0 -14
  339. package/Button.module-DO5s9hOk.cjs +0 -1
  340. package/Card-C0BFW3wJ.cjs +0 -1
  341. package/CharacterCounter-CPGdboVJ.js +0 -22
  342. package/Checkbox-CvFsn_FL.js +0 -380
  343. package/Checkbox-DSxGAJX2.cjs +0 -1
  344. package/CheckboxGroup-Bk9DPq4I.cjs +0 -1
  345. package/CheckboxGroup-Dij9zKlF.js +0 -54
  346. package/Collection-Csx3L9gh.cjs +0 -1
  347. package/ColorSchemeSwitch-JRrCyYVv.cjs +0 -16
  348. package/ComboBox-gveQKHU3.cjs +0 -1
  349. package/DateField-CAQlzuDD.js +0 -46
  350. package/DateField-deVVFwKA.cjs +0 -1
  351. package/DateInputDivider-DnUxETEC.cjs +0 -1
  352. package/DateRangePicker-BzfitoK0.cjs +0 -6
  353. package/Dialog-Bd5hK360.cjs +0 -1
  354. package/Dialog-Bxx8cBEq.js +0 -208
  355. package/Dialog-CwTEAujZ.cjs +0 -1
  356. package/DragAndDrop-HvycSrKY.cjs +0 -1
  357. package/FieldError-Dv3bBEjh.js +0 -23
  358. package/FocusScope-NaPbvuuS.cjs +0 -1
  359. package/Group-CeSsSQVC.js +0 -44
  360. package/Group-CgiqQHH1.cjs +0 -1
  361. package/Heading-DoJAtYZf.cjs +0 -1
  362. package/InfoBanner-BS-dAfzO.cjs +0 -1
  363. package/Input-D8Ku_FQz.js +0 -41
  364. package/Input-DKSAYvsw.cjs +0 -1
  365. package/Label-C9ivwkAd.js +0 -21
  366. package/Label-CUV21CAv.cjs +0 -1
  367. package/Label-DkDOsmUF.js +0 -16
  368. package/Label-IMWAyoKb.cjs +0 -1
  369. package/Layout-BWeHHnqU.cjs +0 -16
  370. package/Layout-CCt_2L1k.js +0 -468
  371. package/Link-SHMbeyIP.cjs +0 -1
  372. package/LinkButton-CuBilDML.js +0 -69
  373. package/LinkButton-CymMrcGL.cjs +0 -6
  374. package/ListBox-CDOsQChA.cjs +0 -1
  375. package/ListBoxSection-DGCP6xpf.cjs +0 -1
  376. package/ListKeyboardDelegate-BqMETvPv.cjs +0 -1
  377. package/LiveAnnouncer-B6177m92.js +0 -51
  378. package/LiveAnnouncer-CwEWPU8b.cjs +0 -1
  379. package/Logo-DT2_2O43.cjs +0 -1
  380. package/NumberFormatter-DewVDY5w.cjs +0 -1
  381. package/NumberFormatter-DgOUVrge.js +0 -119
  382. package/OverlayArrow-D75k-EMl.cjs +0 -1
  383. package/PressResponder-C06O3Z5P.cjs +0 -1
  384. package/PressResponder-CVEg5kND.js +0 -33
  385. package/ProgressBar-Bkw9zavs.cjs +0 -1
  386. package/ProgressBar-CEX2WNoW.js +0 -77
  387. package/ProgressBar-Dqh3ftSP.cjs +0 -1
  388. package/Radio-CDKrvQe4.cjs +0 -1
  389. package/RangeCalendar-cbCKBPZv.cjs +0 -11
  390. package/SearchField-6yBGiojX.cjs +0 -6
  391. package/Select-CpHjd1tp.cjs +0 -1
  392. package/Select-PvCqY7Lp.js +0 -646
  393. package/SelectionManager-C5NGBzvz.cjs +0 -1
  394. package/Separator-nPra6kD-.cjs +0 -1
  395. package/Spinner-D31SXm-U.js +0 -41
  396. package/Spinner-DAJtfxqJ.cjs +0 -6
  397. package/Table-D9vNc_y-.cjs +0 -16
  398. package/Tabs-Ct6D83aR.js +0 -404
  399. package/Tabs-Dtcl2oK2.cjs +0 -1
  400. package/Tag-CVFkzg3s.cjs +0 -1
  401. package/TextArea-DSiQ578a.js +0 -206
  402. package/TextArea-cVyGBRbL.cjs +0 -1
  403. package/TextField-B70CL2qz.cjs +0 -1
  404. package/Toast-DrkOGy4d.cjs +0 -1
  405. package/ToggleButtonGroup-BuU_6dYe.cjs +0 -1
  406. package/Tooltip-CiWg4zIC.cjs +0 -1
  407. package/VisuallyHidden-CtXvK_Tw.cjs +0 -1
  408. package/assets/Tabs.css +0 -1
  409. package/context-DjwhtgxQ.cjs +0 -1
  410. package/focusSafely-Bqfo_DH7.cjs +0 -1
  411. package/focusSafely-C48ucRUz.js +0 -56
  412. package/inertValue-BWmZ1afe.cjs +0 -1
  413. package/scrollIntoView-ClEACHUk.js +0 -57
  414. package/scrollIntoView-DRSoJp89.cjs +0 -1
  415. package/useButton-B1Fa-6qE.cjs +0 -1
  416. package/useCollator-C_ozeWLo.cjs +0 -1
  417. package/useCollator-CgZcHC8N.js +0 -11
  418. package/useDescription-CVKhFa3c.js +0 -32
  419. package/useDescription-DmQYSEES.cjs +0 -1
  420. package/useEvent-CjkbBniY.cjs +0 -1
  421. package/useField-B1RU0GKs.cjs +0 -1
  422. package/useFilter-CtIwF2qW.cjs +0 -1
  423. package/useFocusRing-BDGH3lpn.js +0 -82
  424. package/useFocusRing-CbImDrwF.cjs +0 -1
  425. package/useFocusable-CaedRTpB.js +0 -74
  426. package/useFocusable-CuPQ7Cm5.cjs +0 -1
  427. package/useFormValidation-ClximP89.cjs +0 -1
  428. package/useHasTabbableChild-DgphNvnk.cjs +0 -1
  429. package/useHighlightSelectionDescription-BizKjvPU.cjs +0 -1
  430. package/useHover-_mv5J4_q.cjs +0 -1
  431. package/useHover-qRAon4nS.js +0 -490
  432. package/useLabel-DDdAJ1JO.js +0 -23
  433. package/useLabel-m_S5xkHy.cjs +0 -1
  434. package/useLabels-BLOfc6Y-.cjs +0 -1
  435. package/useLocalizedStringFormatter-u9SJaOwk.cjs +0 -1
  436. package/useObserveElement-BzEr5D32.cjs +0 -1
  437. package/usePress-BFa6cT9o.cjs +0 -7
  438. package/useTextField-CtUDWsUl.cjs +0 -1
  439. package/utils-BNtZbAib.cjs +0 -1
  440. package/utils-HNTsIwux.js +0 -308
@@ -1,41 +1,67 @@
1
- import { a as Pr } from "./Button-ZOQy9Ivu.js";
2
- import { g as Ce, c as re, $ as V, n as de, d as j, l as Er, f as Q, a as ae, b as G, k as L, h as Dr, e as Ke, o as ce, m as Cr, i as Ar } from "./utils-HNTsIwux.js";
3
- import { $ as Mr } from "./RSPContexts-BW2SEIqe.js";
4
- import { h as Sr, d as wr, c as kr, $ as Te, a as Br, b as Fr, e as Kr, g as Oe } from "./OverlayArrow-DorA4Rbr.js";
5
- import { $ as Tr, b as Or, c as Rr, d as Re, e as Ir, g as Nr } from "./Collection-C5ONNBqd.js";
6
- import { $ as Lr, a as zr, b as Ae, c as _r, d as Hr } from "./Separator-LYnFqh4L.js";
7
- import f, { useRef as k, useEffect as z, useState as B, useMemo as W, useContext as E, useCallback as pe, forwardRef as be, createContext as D } from "react";
8
- import { a as Ur } from "./Text-B_H68Tvq.js";
9
- import { $ as F } from "./filterDOMProps-D6KHYVBX.js";
10
- import { l as Vr, d as Wr, a as Ie, b as jr, c as Ne } from "./SelectionManager-6H88Cv6B.js";
11
- import { a as Gr, $ as Le } from "./PressResponder-CVEg5kND.js";
12
- import { d as qr, y as Zr, s as Me, $ as ze, j as Se, l as Jr } from "./useHover-qRAon4nS.js";
13
- import { $ as _e } from "./useLocalizedStringFormatter-D07YB2e1.js";
14
- import { c as Yr, b as Xr, d as Qr } from "./usePress-CUJ3pMOw.js";
15
- import { c as ea } from "./useFocusable-CaedRTpB.js";
16
- import { $ as ta } from "./useControlledState-u436Wbp1.js";
17
- import { c as ra, a as He } from "./FocusScope-DwIqdYpQ.js";
18
- import { a as fe } from "./focusSafely-C48ucRUz.js";
19
- import aa from "react-dom";
20
- import { b as oa } from "./Hidden-B5ir3Lei.js";
21
- import { $ as na } from "./context-B8cn10po.js";
22
- import { a as sa } from "./useFocusRing-BDGH3lpn.js";
23
- import { $ as Ue } from "./getScrollParent-Ru2U2LlM.js";
24
- import { $ as la } from "./useLabels-BZjoZA1Z.js";
25
- import { $ as ia } from "./VisuallyHidden-D-4z1VgU.js";
26
- function ua(t) {
27
- let { ref: e, onInteractOutside: r, isDisabled: o, onInteractOutsideStart: a } = t, s = k({
1
+ import { e as Er } from "./Button-CFYdzG0H.js";
2
+ import { f as be, $ as re, a as G, e as _, b as Dr, g as de, h as Cr, c as wr } from "./utils-DJhAJHk_.js";
3
+ import { $ as Ar } from "./RSPContexts-BW2SEIqe.js";
4
+ import { h as Mr, e as Sr, d as kr, a as Te, b as Br, c as Fr, f as Kr, g as Re } from "./OverlayArrow-CfhSYL46.js";
5
+ import { $ as Or, b as Tr, c as Rr, d as Ie, e as Ir, g as Nr } from "./Collection--62xKPm9.js";
6
+ import { $ as Lr, a as zr, b as Ae, c as _r, d as Hr } from "./Separator-Dn5LYN5I.js";
7
+ import f, { useRef as M, useContext as P, useEffect as F, useMemo as z, useState as B, useCallback as me, forwardRef as ge, createContext as D } from "react";
8
+ import { a as Ur } from "./Text-92cPh38G.js";
9
+ import { a as H, d as Me, c as oe, $ as j, e as ce, b as Q } from "./mergeProps-C1U1OIeJ.js";
10
+ import { $ as K } from "./filterDOMProps-D6KHYVBX.js";
11
+ import { l as Vr, d as Wr, $ as Ne, a as jr, b as Le } from "./SelectionManager-zsWy3vsd.js";
12
+ import { g as fe, b as Gr, a as qr, c as Zr } from "./usePress-DuR4pVsE.js";
13
+ import { e as Jr, f as Yr, a as $e } from "./useFocusable-ChPA2Jc7.js";
14
+ import { l as Xr, $ as ze, a as Se, c as Qr } from "./useHover-DQvJ3Y-W.js";
15
+ import { b as eo, m as ke } from "./utils-CoCR_Fce.js";
16
+ import { $ as _e } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
17
+ import { $ as to } from "./useControlledState-u436Wbp1.js";
18
+ import { c as ro, a as He } from "./FocusScope-D_hwN_TJ.js";
19
+ import oo from "react-dom";
20
+ import { $ as ao } from "./SSRProvider-40TXmsUG.js";
21
+ import { b as no } from "./Hidden-C9KWUR7b.js";
22
+ import { $ as so } from "./context-CGNJ3grH.js";
23
+ import { $ as lo } from "./useFocusWithin-T1ifEM_s.js";
24
+ import { $ as Ue } from "./getScrollParent-CT_L9LUr.js";
25
+ import { $ as io } from "./useLabels-LrKQiY11.js";
26
+ import { $ as uo } from "./VisuallyHidden-CYfmTSCD.js";
27
+ const Ve = /* @__PURE__ */ f.forwardRef(({ children: t, ...e }, r) => {
28
+ let a = M(!1), o = P(fe);
29
+ r = be(r || (o == null ? void 0 : o.ref));
30
+ let s = H(o || {}, {
31
+ ...e,
32
+ ref: r,
33
+ register() {
34
+ a.current = !0, o && o.register();
35
+ }
36
+ });
37
+ return Jr(o, r), F(() => {
38
+ a.current || (process.env.NODE_ENV !== "production" && console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component."), a.current = !0);
39
+ }, []), /* @__PURE__ */ f.createElement(fe.Provider, {
40
+ value: s
41
+ }, t);
42
+ });
43
+ function co({ children: t }) {
44
+ let e = z(() => ({
45
+ register: () => {
46
+ }
47
+ }), []);
48
+ return /* @__PURE__ */ f.createElement(fe.Provider, {
49
+ value: e
50
+ }, t);
51
+ }
52
+ function fo(t) {
53
+ let { ref: e, onInteractOutside: r, isDisabled: a, onInteractOutsideStart: o } = t, s = M({
28
54
  isPointerDown: !1,
29
55
  ignoreEmulatedMouseEvents: !1
30
- }), u = Ce((n) => {
31
- r && Y(n, e) && (a && a(n), s.current.isPointerDown = !0);
32
- }), i = Ce((n) => {
56
+ }), u = Me((n) => {
57
+ r && Y(n, e) && (o && o(n), s.current.isPointerDown = !0);
58
+ }), i = Me((n) => {
33
59
  r && r(n);
34
60
  });
35
- z(() => {
61
+ F(() => {
36
62
  let n = s.current;
37
- if (o) return;
38
- const d = e.current, l = qr(d);
63
+ if (a) return;
64
+ const d = e.current, l = eo(d);
39
65
  if (typeof PointerEvent < "u") {
40
66
  let $ = (p) => {
41
67
  n.isPointerDown && Y(p, e) && i(p), n.isPointerDown = !1;
@@ -55,7 +81,7 @@ function ua(t) {
55
81
  }
56
82
  }, [
57
83
  e,
58
- o,
84
+ a,
59
85
  u,
60
86
  i
61
87
  ]);
@@ -68,37 +94,37 @@ function Y(t, e) {
68
94
  }
69
95
  return e.current ? !t.composedPath().includes(e.current) : !1;
70
96
  }
71
- const A = [];
72
- function da(t, e) {
73
- let { onClose: r, shouldCloseOnBlur: o, isOpen: a, isDismissable: s = !1, isKeyboardDismissDisabled: u = !1, shouldCloseOnInteractOutside: i } = t;
74
- z(() => {
75
- if (a && !A.includes(e))
76
- return A.push(e), () => {
77
- let b = A.indexOf(e);
78
- b >= 0 && A.splice(b, 1);
97
+ const w = [];
98
+ function $o(t, e) {
99
+ let { onClose: r, shouldCloseOnBlur: a, isOpen: o, isDismissable: s = !1, isKeyboardDismissDisabled: u = !1, shouldCloseOnInteractOutside: i } = t;
100
+ F(() => {
101
+ if (o && !w.includes(e))
102
+ return w.push(e), () => {
103
+ let b = w.indexOf(e);
104
+ b >= 0 && w.splice(b, 1);
79
105
  };
80
106
  }, [
81
- a,
107
+ o,
82
108
  e
83
109
  ]);
84
110
  let n = () => {
85
- A[A.length - 1] === e && r && r();
111
+ w[w.length - 1] === e && r && r();
86
112
  }, d = (b) => {
87
- (!i || i(b.target)) && A[A.length - 1] === e && (b.stopPropagation(), b.preventDefault());
113
+ (!i || i(b.target)) && w[w.length - 1] === e && (b.stopPropagation(), b.preventDefault());
88
114
  }, l = (b) => {
89
- (!i || i(b.target)) && (A[A.length - 1] === e && (b.stopPropagation(), b.preventDefault()), n());
115
+ (!i || i(b.target)) && (w[w.length - 1] === e && (b.stopPropagation(), b.preventDefault()), n());
90
116
  }, $ = (b) => {
91
117
  b.key === "Escape" && !u && !b.nativeEvent.isComposing && (b.stopPropagation(), b.preventDefault(), n());
92
118
  };
93
- ua({
119
+ fo({
94
120
  ref: e,
95
- onInteractOutside: s && a ? l : void 0,
121
+ onInteractOutside: s && o ? l : void 0,
96
122
  onInteractOutsideStart: d
97
123
  });
98
- let { focusWithinProps: p } = sa({
99
- isDisabled: !o,
124
+ let { focusWithinProps: p } = lo({
125
+ isDisabled: !a,
100
126
  onBlurWithin: (b) => {
101
- !b.relatedTarget || ra(b.relatedTarget) || (!i || i(b.relatedTarget)) && (r == null || r());
127
+ !b.relatedTarget || ro(b.relatedTarget) || (!i || i(b.relatedTarget)) && (r == null || r());
102
128
  }
103
129
  }), c = (b) => {
104
130
  b.target === b.currentTarget && b.preventDefault();
@@ -113,19 +139,19 @@ function da(t, e) {
113
139
  }
114
140
  };
115
141
  }
116
- function Ve(t, e, r) {
117
- let { type: o } = t, { isOpen: a } = e;
118
- z(() => {
119
- r && r.current && Sr.set(r.current, e.close);
142
+ function We(t, e, r) {
143
+ let { type: a } = t, { isOpen: o } = e;
144
+ F(() => {
145
+ r && r.current && Mr.set(r.current, e.close);
120
146
  });
121
147
  let s;
122
- o === "menu" ? s = !0 : o === "listbox" && (s = "listbox");
123
- let u = re();
148
+ a === "menu" ? s = !0 : a === "listbox" && (s = "listbox");
149
+ let u = oe();
124
150
  return {
125
151
  triggerProps: {
126
152
  "aria-haspopup": s,
127
- "aria-expanded": a,
128
- "aria-controls": a ? u : void 0,
153
+ "aria-expanded": o,
154
+ "aria-controls": o ? u : void 0,
129
155
  onPress: e.toggle
130
156
  },
131
157
  overlayProps: {
@@ -133,7 +159,7 @@ function Ve(t, e, r) {
133
159
  }
134
160
  };
135
161
  }
136
- const ie = typeof document < "u" && window.visualViewport, ca = /* @__PURE__ */ new Set([
162
+ const ie = typeof document < "u" && window.visualViewport, po = /* @__PURE__ */ new Set([
137
163
  "checkbox",
138
164
  "radio",
139
165
  "range",
@@ -145,39 +171,39 @@ const ie = typeof document < "u" && window.visualViewport, ca = /* @__PURE__ */
145
171
  "reset"
146
172
  ]);
147
173
  let X = 0, ue;
148
- function fa(t = {}) {
174
+ function bo(t = {}) {
149
175
  let { isDisabled: e } = t;
150
- V(() => {
176
+ j(() => {
151
177
  if (!e)
152
- return X++, X === 1 && (Zr() ? ue = pa() : ue = $a()), () => {
178
+ return X++, X === 1 && (Xr() ? ue = go() : ue = mo()), () => {
153
179
  X--, X === 0 && ue();
154
180
  };
155
181
  }, [
156
182
  e
157
183
  ]);
158
184
  }
159
- function $a() {
185
+ function mo() {
160
186
  let t = window.innerWidth - document.documentElement.clientWidth;
161
- return de(t > 0 && // Use scrollbar-gutter when supported because it also works for fixed positioned elements.
162
- ("scrollbarGutter" in document.documentElement.style ? w(document.documentElement, "scrollbarGutter", "stable") : w(document.documentElement, "paddingRight", `${t}px`)), w(document.documentElement, "overflow", "hidden"));
187
+ return ce(t > 0 && // Use scrollbar-gutter when supported because it also works for fixed positioned elements.
188
+ ("scrollbarGutter" in document.documentElement.style ? k(document.documentElement, "scrollbarGutter", "stable") : k(document.documentElement, "paddingRight", `${t}px`)), k(document.documentElement, "overflow", "hidden"));
163
189
  }
164
- function pa() {
190
+ function go() {
165
191
  let t, e, r = (d) => {
166
- t = Ue(d.target, !0), !(t === document.documentElement && t === document.body) && t instanceof HTMLElement && window.getComputedStyle(t).overscrollBehavior === "auto" && (e = w(t, "overscrollBehavior", "contain"));
167
- }, o = (d) => {
192
+ t = Ue(d.target, !0), !(t === document.documentElement && t === document.body) && t instanceof HTMLElement && window.getComputedStyle(t).overscrollBehavior === "auto" && (e = k(t, "overscrollBehavior", "contain"));
193
+ }, a = (d) => {
168
194
  if (!t || t === document.documentElement || t === document.body) {
169
195
  d.preventDefault();
170
196
  return;
171
197
  }
172
198
  t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && d.preventDefault();
173
- }, a = () => {
199
+ }, o = () => {
174
200
  e && e();
175
201
  }, s = (d) => {
176
202
  let l = d.target;
177
- ba(l) && (i(), l.style.transform = "translateY(-2000px)", requestAnimationFrame(() => {
203
+ vo(l) && (i(), l.style.transform = "translateY(-2000px)", requestAnimationFrame(() => {
178
204
  l.style.transform = "", ie && (ie.height < window.innerHeight ? requestAnimationFrame(() => {
179
- we(l);
180
- }) : ie.addEventListener("resize", () => we(l), {
205
+ Be(l);
206
+ }) : ie.addEventListener("resize", () => Be(l), {
181
207
  once: !0
182
208
  }));
183
209
  }));
@@ -186,230 +212,230 @@ function pa() {
186
212
  let d = () => {
187
213
  window.scrollTo(0, 0);
188
214
  }, l = window.pageXOffset, $ = window.pageYOffset;
189
- u = de(H(window, "scroll", d), w(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`), w(document.documentElement, "overflow", "hidden"), w(document.body, "marginTop", `-${$}px`), () => {
215
+ u = ce(V(window, "scroll", d), k(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`), k(document.documentElement, "overflow", "hidden"), k(document.body, "marginTop", `-${$}px`), () => {
190
216
  window.scrollTo(l, $);
191
217
  }), window.scrollTo(0, 0);
192
- }, n = de(H(document, "touchstart", r, {
218
+ }, n = ce(V(document, "touchstart", r, {
193
219
  passive: !1,
194
220
  capture: !0
195
- }), H(document, "touchmove", o, {
221
+ }), V(document, "touchmove", a, {
196
222
  passive: !1,
197
223
  capture: !0
198
- }), H(document, "touchend", a, {
224
+ }), V(document, "touchend", o, {
199
225
  passive: !1,
200
226
  capture: !0
201
- }), H(document, "focus", s, !0));
227
+ }), V(document, "focus", s, !0));
202
228
  return () => {
203
229
  e == null || e(), u == null || u(), n();
204
230
  };
205
231
  }
206
- function w(t, e, r) {
207
- let o = t.style[e];
232
+ function k(t, e, r) {
233
+ let a = t.style[e];
208
234
  return t.style[e] = r, () => {
209
- t.style[e] = o;
235
+ t.style[e] = a;
210
236
  };
211
237
  }
212
- function H(t, e, r, o) {
213
- return t.addEventListener(e, r, o), () => {
214
- t.removeEventListener(e, r, o);
238
+ function V(t, e, r, a) {
239
+ return t.addEventListener(e, r, a), () => {
240
+ t.removeEventListener(e, r, a);
215
241
  };
216
242
  }
217
- function we(t) {
243
+ function Be(t) {
218
244
  let e = document.scrollingElement || document.documentElement, r = t;
219
245
  for (; r && r !== e; ) {
220
- let o = Ue(r);
221
- if (o !== document.documentElement && o !== document.body && o !== r) {
222
- let a = o.getBoundingClientRect().top, s = r.getBoundingClientRect().top;
223
- s > a + r.clientHeight && (o.scrollTop += s - a);
246
+ let a = Ue(r);
247
+ if (a !== document.documentElement && a !== document.body && a !== r) {
248
+ let o = a.getBoundingClientRect().top, s = r.getBoundingClientRect().top;
249
+ s > o + r.clientHeight && (a.scrollTop += s - o);
224
250
  }
225
- r = o.parentElement;
251
+ r = a.parentElement;
226
252
  }
227
253
  }
228
- function ba(t) {
229
- return t instanceof HTMLInputElement && !ca.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
254
+ function vo(t) {
255
+ return t instanceof HTMLInputElement && !po.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
230
256
  }
231
- var We = {};
232
- We = {
233
- dismiss: "تجاهل"
234
- };
235
257
  var je = {};
236
258
  je = {
237
- dismiss: "Отхвърляне"
259
+ dismiss: "تجاهل"
238
260
  };
239
261
  var Ge = {};
240
262
  Ge = {
241
- dismiss: "Odstranit"
263
+ dismiss: "Отхвърляне"
242
264
  };
243
265
  var qe = {};
244
266
  qe = {
245
- dismiss: "Luk"
267
+ dismiss: "Odstranit"
246
268
  };
247
269
  var Ze = {};
248
270
  Ze = {
249
- dismiss: "Schließen"
271
+ dismiss: "Luk"
250
272
  };
251
273
  var Je = {};
252
274
  Je = {
253
- dismiss: "Απόρριψη"
275
+ dismiss: "Schließen"
254
276
  };
255
277
  var Ye = {};
256
278
  Ye = {
257
- dismiss: "Dismiss"
279
+ dismiss: "Απόρριψη"
258
280
  };
259
281
  var Xe = {};
260
282
  Xe = {
261
- dismiss: "Descartar"
283
+ dismiss: "Dismiss"
262
284
  };
263
285
  var Qe = {};
264
286
  Qe = {
265
- dismiss: "Lõpeta"
287
+ dismiss: "Descartar"
266
288
  };
267
289
  var et = {};
268
290
  et = {
269
- dismiss: "Hylkää"
291
+ dismiss: "Lõpeta"
270
292
  };
271
293
  var tt = {};
272
294
  tt = {
273
- dismiss: "Rejeter"
295
+ dismiss: "Hylkää"
274
296
  };
275
297
  var rt = {};
276
298
  rt = {
299
+ dismiss: "Rejeter"
300
+ };
301
+ var ot = {};
302
+ ot = {
277
303
  dismiss: "התעלם"
278
304
  };
279
305
  var at = {};
280
306
  at = {
281
307
  dismiss: "Odbaci"
282
308
  };
283
- var ot = {};
284
- ot = {
285
- dismiss: "Elutasítás"
286
- };
287
309
  var nt = {};
288
310
  nt = {
289
- dismiss: "Ignora"
311
+ dismiss: "Elutasítás"
290
312
  };
291
313
  var st = {};
292
314
  st = {
293
- dismiss: "閉じる"
315
+ dismiss: "Ignora"
294
316
  };
295
317
  var lt = {};
296
318
  lt = {
297
- dismiss: "무시"
319
+ dismiss: "閉じる"
298
320
  };
299
321
  var it = {};
300
322
  it = {
301
- dismiss: "Atmesti"
323
+ dismiss: "무시"
302
324
  };
303
325
  var ut = {};
304
326
  ut = {
305
- dismiss: "Nerādīt"
327
+ dismiss: "Atmesti"
306
328
  };
307
329
  var dt = {};
308
330
  dt = {
309
- dismiss: "Lukk"
331
+ dismiss: "Nerādīt"
310
332
  };
311
333
  var ct = {};
312
334
  ct = {
313
- dismiss: "Negeren"
335
+ dismiss: "Lukk"
314
336
  };
315
337
  var ft = {};
316
338
  ft = {
317
- dismiss: "Zignoruj"
339
+ dismiss: "Negeren"
318
340
  };
319
341
  var $t = {};
320
342
  $t = {
321
- dismiss: "Descartar"
343
+ dismiss: "Zignoruj"
322
344
  };
323
345
  var pt = {};
324
346
  pt = {
325
- dismiss: "Dispensar"
347
+ dismiss: "Descartar"
326
348
  };
327
349
  var bt = {};
328
350
  bt = {
329
- dismiss: "Revocare"
351
+ dismiss: "Dispensar"
330
352
  };
331
353
  var mt = {};
332
354
  mt = {
333
- dismiss: "Пропустить"
355
+ dismiss: "Revocare"
334
356
  };
335
357
  var gt = {};
336
358
  gt = {
337
- dismiss: "Zrušiť"
359
+ dismiss: "Пропустить"
338
360
  };
339
361
  var vt = {};
340
362
  vt = {
341
- dismiss: "Opusti"
363
+ dismiss: "Zrušiť"
342
364
  };
343
365
  var xt = {};
344
366
  xt = {
345
- dismiss: "Odbaci"
367
+ dismiss: "Opusti"
346
368
  };
347
369
  var yt = {};
348
370
  yt = {
349
- dismiss: "Avvisa"
371
+ dismiss: "Odbaci"
350
372
  };
351
373
  var ht = {};
352
374
  ht = {
353
- dismiss: "Kapat"
375
+ dismiss: "Avvisa"
354
376
  };
355
377
  var Pt = {};
356
378
  Pt = {
357
- dismiss: "Скасувати"
379
+ dismiss: "Kapat"
358
380
  };
359
381
  var Et = {};
360
382
  Et = {
361
- dismiss: "取消"
383
+ dismiss: "Скасувати"
362
384
  };
363
385
  var Dt = {};
364
386
  Dt = {
365
- dismiss: "關閉"
387
+ dismiss: "取消"
366
388
  };
367
389
  var Ct = {};
368
390
  Ct = {
369
- "ar-AE": We,
370
- "bg-BG": je,
371
- "cs-CZ": Ge,
372
- "da-DK": qe,
373
- "de-DE": Ze,
374
- "el-GR": Je,
375
- "en-US": Ye,
376
- "es-ES": Xe,
377
- "et-EE": Qe,
378
- "fi-FI": et,
379
- "fr-FR": tt,
380
- "he-IL": rt,
391
+ dismiss: "關閉"
392
+ };
393
+ var wt = {};
394
+ wt = {
395
+ "ar-AE": je,
396
+ "bg-BG": Ge,
397
+ "cs-CZ": qe,
398
+ "da-DK": Ze,
399
+ "de-DE": Je,
400
+ "el-GR": Ye,
401
+ "en-US": Xe,
402
+ "es-ES": Qe,
403
+ "et-EE": et,
404
+ "fi-FI": tt,
405
+ "fr-FR": rt,
406
+ "he-IL": ot,
381
407
  "hr-HR": at,
382
- "hu-HU": ot,
383
- "it-IT": nt,
384
- "ja-JP": st,
385
- "ko-KR": lt,
386
- "lt-LT": it,
387
- "lv-LV": ut,
388
- "nb-NO": dt,
389
- "nl-NL": ct,
390
- "pl-PL": ft,
391
- "pt-BR": $t,
392
- "pt-PT": pt,
393
- "ro-RO": bt,
394
- "ru-RU": mt,
395
- "sk-SK": gt,
396
- "sl-SI": vt,
397
- "sr-SP": xt,
398
- "sv-SE": yt,
399
- "tr-TR": ht,
400
- "uk-UA": Pt,
401
- "zh-CN": Et,
402
- "zh-TW": Dt
403
- };
404
- function ma(t) {
408
+ "hu-HU": nt,
409
+ "it-IT": st,
410
+ "ja-JP": lt,
411
+ "ko-KR": it,
412
+ "lt-LT": ut,
413
+ "lv-LV": dt,
414
+ "nb-NO": ct,
415
+ "nl-NL": ft,
416
+ "pl-PL": $t,
417
+ "pt-BR": pt,
418
+ "pt-PT": bt,
419
+ "ro-RO": mt,
420
+ "ru-RU": gt,
421
+ "sk-SK": vt,
422
+ "sl-SI": xt,
423
+ "sr-SP": yt,
424
+ "sv-SE": ht,
425
+ "tr-TR": Pt,
426
+ "uk-UA": Et,
427
+ "zh-CN": Dt,
428
+ "zh-TW": Ct
429
+ };
430
+ function xo(t) {
405
431
  return t && t.__esModule ? t.default : t;
406
432
  }
407
- function ke(t) {
408
- let { onDismiss: e, ...r } = t, o = _e(ma(Ct), "@react-aria/overlays"), a = la(r, o.format("dismiss")), s = () => {
433
+ function Fe(t) {
434
+ let { onDismiss: e, ...r } = t, a = _e(xo(wt), "@react-aria/overlays"), o = io(r, a.format("dismiss")), s = () => {
409
435
  e && e();
410
436
  };
411
- return /* @__PURE__ */ f.createElement(ia, null, /* @__PURE__ */ f.createElement("button", {
412
- ...a,
437
+ return /* @__PURE__ */ f.createElement(uo, null, /* @__PURE__ */ f.createElement("button", {
438
+ ...o,
413
439
  tabIndex: -1,
414
440
  onClick: s,
415
441
  style: {
@@ -418,12 +444,12 @@ function ke(t) {
418
444
  }
419
445
  }));
420
446
  }
421
- let U = /* @__PURE__ */ new WeakMap(), h = [];
422
- function ga(t, e = document.body) {
423
- let r = new Set(t), o = /* @__PURE__ */ new Set(), a = (n) => {
447
+ let W = /* @__PURE__ */ new WeakMap(), h = [];
448
+ function yo(t, e = document.body) {
449
+ let r = new Set(t), a = /* @__PURE__ */ new Set(), o = (n) => {
424
450
  for (let p of n.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) r.add(p);
425
451
  let d = (p) => {
426
- if (r.has(p) || p.parentElement && o.has(p.parentElement) && p.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
452
+ if (r.has(p) || p.parentElement && a.has(p.parentElement) && p.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
427
453
  for (let c of r)
428
454
  if (p.contains(c)) return NodeFilter.FILTER_SKIP;
429
455
  return NodeFilter.FILTER_ACCEPT;
@@ -437,19 +463,19 @@ function ga(t, e = document.body) {
437
463
  }
438
464
  }, s = (n) => {
439
465
  var d;
440
- let l = (d = U.get(n)) !== null && d !== void 0 ? d : 0;
441
- n.getAttribute("aria-hidden") === "true" && l === 0 || (l === 0 && n.setAttribute("aria-hidden", "true"), o.add(n), U.set(n, l + 1));
466
+ let l = (d = W.get(n)) !== null && d !== void 0 ? d : 0;
467
+ n.getAttribute("aria-hidden") === "true" && l === 0 || (l === 0 && n.setAttribute("aria-hidden", "true"), a.add(n), W.set(n, l + 1));
442
468
  };
443
- h.length && h[h.length - 1].disconnect(), a(e);
469
+ h.length && h[h.length - 1].disconnect(), o(e);
444
470
  let u = new MutationObserver((n) => {
445
471
  for (let d of n)
446
472
  if (!(d.type !== "childList" || d.addedNodes.length === 0) && ![
447
473
  ...r,
448
- ...o
474
+ ...a
449
475
  ].some((l) => l.contains(d.target))) {
450
- for (let l of d.removedNodes) l instanceof Element && (r.delete(l), o.delete(l));
476
+ for (let l of d.removedNodes) l instanceof Element && (r.delete(l), a.delete(l));
451
477
  for (let l of d.addedNodes)
452
- (l instanceof HTMLElement || l instanceof SVGElement) && (l.dataset.liveAnnouncer === "true" || l.dataset.reactAriaTopLayer === "true") ? r.add(l) : l instanceof Element && a(l);
478
+ (l instanceof HTMLElement || l instanceof SVGElement) && (l.dataset.liveAnnouncer === "true" || l.dataset.reactAriaTopLayer === "true") ? r.add(l) : l instanceof Element && o(l);
453
479
  }
454
480
  });
455
481
  u.observe(e, {
@@ -458,7 +484,7 @@ function ga(t, e = document.body) {
458
484
  });
459
485
  let i = {
460
486
  visibleNodes: r,
461
- hiddenNodes: o,
487
+ hiddenNodes: a,
462
488
  observe() {
463
489
  u.observe(e, {
464
490
  childList: !0,
@@ -471,77 +497,77 @@ function ga(t, e = document.body) {
471
497
  };
472
498
  return h.push(i), () => {
473
499
  u.disconnect();
474
- for (let n of o) {
475
- let d = U.get(n);
476
- d != null && (d === 1 ? (n.removeAttribute("aria-hidden"), U.delete(n)) : U.set(n, d - 1));
500
+ for (let n of a) {
501
+ let d = W.get(n);
502
+ d != null && (d === 1 ? (n.removeAttribute("aria-hidden"), W.delete(n)) : W.set(n, d - 1));
477
503
  }
478
504
  i === h[h.length - 1] ? (h.pop(), h.length && h[h.length - 1].observe()) : h.splice(h.indexOf(i), 1);
479
505
  };
480
506
  }
481
- function va(t) {
507
+ function ho(t) {
482
508
  let e = h[h.length - 1];
483
509
  if (e && !e.visibleNodes.has(t))
484
510
  return e.visibleNodes.add(t), () => {
485
511
  e.visibleNodes.delete(t);
486
512
  };
487
513
  }
488
- function xa(t, e) {
489
- let { triggerRef: r, popoverRef: o, groupRef: a, isNonModal: s, isKeyboardDismissDisabled: u, shouldCloseOnInteractOutside: i, ...n } = t, d = n.trigger === "SubmenuTrigger", { overlayProps: l, underlayProps: $ } = da({
514
+ function Po(t, e) {
515
+ let { triggerRef: r, popoverRef: a, groupRef: o, isNonModal: s, isKeyboardDismissDisabled: u, shouldCloseOnInteractOutside: i, ...n } = t, d = n.trigger === "SubmenuTrigger", { overlayProps: l, underlayProps: $ } = $o({
490
516
  isOpen: e.isOpen,
491
517
  onClose: e.close,
492
518
  shouldCloseOnBlur: !0,
493
519
  isDismissable: !s || d,
494
520
  isKeyboardDismissDisabled: u,
495
521
  shouldCloseOnInteractOutside: i
496
- }, a ?? o), { overlayProps: p, arrowProps: c, placement: b } = wr({
522
+ }, o ?? a), { overlayProps: p, arrowProps: c, placement: b } = Sr({
497
523
  ...n,
498
524
  targetRef: r,
499
- overlayRef: o,
525
+ overlayRef: a,
500
526
  isOpen: e.isOpen,
501
527
  onClose: s && !d ? e.close : null
502
528
  });
503
- return fa({
529
+ return bo({
504
530
  isDisabled: s || !e.isOpen
505
- }), V(() => {
506
- if (e.isOpen && o.current) {
531
+ }), j(() => {
532
+ if (e.isOpen && a.current) {
507
533
  var x, g;
508
- return s ? va((x = a == null ? void 0 : a.current) !== null && x !== void 0 ? x : o.current) : ga([
509
- (g = a == null ? void 0 : a.current) !== null && g !== void 0 ? g : o.current
534
+ return s ? ho((x = o == null ? void 0 : o.current) !== null && x !== void 0 ? x : a.current) : yo([
535
+ (g = o == null ? void 0 : o.current) !== null && g !== void 0 ? g : a.current
510
536
  ]);
511
537
  }
512
538
  }, [
513
539
  s,
514
540
  e.isOpen,
515
- o,
516
- a
541
+ a,
542
+ o
517
543
  ]), {
518
- popoverProps: j(l, p),
544
+ popoverProps: H(l, p),
519
545
  arrowProps: c,
520
546
  underlayProps: $,
521
547
  placement: b
522
548
  };
523
549
  }
524
550
  const At = /* @__PURE__ */ f.createContext(null);
525
- function Be(t) {
526
- let e = Er(), { portalContainer: r = e ? null : document.body, isExiting: o } = t, [a, s] = B(!1), u = W(() => ({
527
- contain: a,
551
+ function Ke(t) {
552
+ let e = ao(), { portalContainer: r = e ? null : document.body, isExiting: a } = t, [o, s] = B(!1), u = z(() => ({
553
+ contain: o,
528
554
  setContain: s
529
555
  }), [
530
- a,
556
+ o,
531
557
  s
532
558
  ]), { getContainer: i } = kr();
533
559
  if (!t.portalContainer && i && (r = i()), !r) return null;
534
560
  let n = t.children;
535
561
  return t.disableFocusManagement || (n = /* @__PURE__ */ f.createElement(He, {
536
562
  restoreFocus: !0,
537
- contain: (t.shouldContainFocus || a) && !o
563
+ contain: (t.shouldContainFocus || o) && !a
538
564
  }, n)), n = /* @__PURE__ */ f.createElement(At.Provider, {
539
565
  value: u
540
- }, /* @__PURE__ */ f.createElement(Gr, null, n)), /* @__PURE__ */ aa.createPortal(n, r);
566
+ }, /* @__PURE__ */ f.createElement(co, null, n)), /* @__PURE__ */ oo.createPortal(n, r);
541
567
  }
542
- function ya() {
543
- let t = E(At), e = t == null ? void 0 : t.setContain;
544
- V(() => {
568
+ function Eo() {
569
+ let t = P(At), e = t == null ? void 0 : t.setContain;
570
+ j(() => {
545
571
  e == null || e(!0);
546
572
  }, [
547
573
  e
@@ -555,179 +581,179 @@ var St = {};
555
581
  St = {
556
582
  longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"
557
583
  };
558
- var wt = {};
559
- wt = {
560
- longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"
561
- };
562
584
  var kt = {};
563
585
  kt = {
564
- longPressMessage: "Langt tryk eller tryk Alt + pil ned for at åbne menuen"
586
+ longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"
565
587
  };
566
588
  var Bt = {};
567
589
  Bt = {
568
- longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"
590
+ longPressMessage: "Langt tryk eller tryk Alt + pil ned for at åbne menuen"
569
591
  };
570
592
  var Ft = {};
571
593
  Ft = {
572
- longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"
594
+ longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"
573
595
  };
574
596
  var Kt = {};
575
597
  Kt = {
598
+ longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"
599
+ };
600
+ var Ot = {};
601
+ Ot = {
576
602
  longPressMessage: "Long press or press Alt + ArrowDown to open menu"
577
603
  };
578
604
  var Tt = {};
579
605
  Tt = {
580
606
  longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"
581
607
  };
582
- var Ot = {};
583
- Ot = {
584
- longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"
585
- };
586
608
  var Rt = {};
587
609
  Rt = {
588
- longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"
610
+ longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"
589
611
  };
590
612
  var It = {};
591
613
  It = {
592
- longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."
614
+ longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"
593
615
  };
594
616
  var Nt = {};
595
617
  Nt = {
596
- longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"
618
+ longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."
597
619
  };
598
620
  var Lt = {};
599
621
  Lt = {
600
- longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"
622
+ longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"
601
623
  };
602
624
  var zt = {};
603
625
  zt = {
604
- longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"
626
+ longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"
605
627
  };
606
628
  var _t = {};
607
629
  _t = {
608
- longPressMessage: "Premere a lungo o premere Alt + Freccia giù per aprire il menu"
630
+ longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"
609
631
  };
610
632
  var Ht = {};
611
633
  Ht = {
612
- longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く"
634
+ longPressMessage: "Premere a lungo o premere Alt + Freccia giù per aprire il menu"
613
635
  };
614
636
  var Ut = {};
615
637
  Ut = {
616
- longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"
638
+ longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く"
617
639
  };
618
640
  var Vt = {};
619
641
  Vt = {
620
- longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."
642
+ longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"
621
643
  };
622
644
  var Wt = {};
623
645
  Wt = {
624
- longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"
646
+ longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite Alt + ArrowDown“."
625
647
  };
626
648
  var jt = {};
627
649
  jt = {
628
- longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen"
650
+ longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"
629
651
  };
630
652
  var Gt = {};
631
653
  Gt = {
632
- longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"
654
+ longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen"
633
655
  };
634
656
  var qt = {};
635
657
  qt = {
636
- longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"
658
+ longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"
637
659
  };
638
660
  var Zt = {};
639
661
  Zt = {
640
- longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"
662
+ longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"
641
663
  };
642
664
  var Jt = {};
643
665
  Jt = {
644
- longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"
666
+ longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"
645
667
  };
646
668
  var Yt = {};
647
669
  Yt = {
648
- longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"
670
+ longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"
649
671
  };
650
672
  var Xt = {};
651
673
  Xt = {
652
- longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"
674
+ longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"
653
675
  };
654
676
  var Qt = {};
655
677
  Qt = {
656
- longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"
678
+ longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"
657
679
  };
658
680
  var er = {};
659
681
  er = {
660
- longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"
682
+ longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"
661
683
  };
662
684
  var tr = {};
663
685
  tr = {
664
- longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"
686
+ longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"
665
687
  };
666
688
  var rr = {};
667
689
  rr = {
690
+ longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"
691
+ };
692
+ var or = {};
693
+ or = {
668
694
  longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"
669
695
  };
670
696
  var ar = {};
671
697
  ar = {
672
698
  longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"
673
699
  };
674
- var or = {};
675
- or = {
676
- longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"
677
- };
678
700
  var nr = {};
679
701
  nr = {
680
- longPressMessage: "长按或按 Alt + 向下方向键以打开菜单"
702
+ longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"
681
703
  };
682
704
  var sr = {};
683
705
  sr = {
684
- longPressMessage: "長按或按 Alt+向下鍵以開啟功能表"
706
+ longPressMessage: "长按或按 Alt + 向下方向键以打开菜单"
685
707
  };
686
708
  var lr = {};
687
709
  lr = {
710
+ longPressMessage: "長按或按 Alt+向下鍵以開啟功能表"
711
+ };
712
+ var ir = {};
713
+ ir = {
688
714
  "ar-AE": Mt,
689
715
  "bg-BG": St,
690
- "cs-CZ": wt,
691
- "da-DK": kt,
692
- "de-DE": Bt,
693
- "el-GR": Ft,
694
- "en-US": Kt,
716
+ "cs-CZ": kt,
717
+ "da-DK": Bt,
718
+ "de-DE": Ft,
719
+ "el-GR": Kt,
720
+ "en-US": Ot,
695
721
  "es-ES": Tt,
696
- "et-EE": Ot,
697
- "fi-FI": Rt,
698
- "fr-FR": It,
699
- "he-IL": Nt,
700
- "hr-HR": Lt,
701
- "hu-HU": zt,
702
- "it-IT": _t,
703
- "ja-JP": Ht,
704
- "ko-KR": Ut,
705
- "lt-LT": Vt,
706
- "lv-LV": Wt,
707
- "nb-NO": jt,
708
- "nl-NL": Gt,
709
- "pl-PL": qt,
710
- "pt-BR": Zt,
711
- "pt-PT": Jt,
712
- "ro-RO": Yt,
713
- "ru-RU": Xt,
714
- "sk-SK": Qt,
715
- "sl-SI": er,
716
- "sr-SP": tr,
717
- "sv-SE": rr,
722
+ "et-EE": Rt,
723
+ "fi-FI": It,
724
+ "fr-FR": Nt,
725
+ "he-IL": Lt,
726
+ "hr-HR": zt,
727
+ "hu-HU": _t,
728
+ "it-IT": Ht,
729
+ "ja-JP": Ut,
730
+ "ko-KR": Vt,
731
+ "lt-LT": Wt,
732
+ "lv-LV": jt,
733
+ "nb-NO": Gt,
734
+ "nl-NL": qt,
735
+ "pl-PL": Zt,
736
+ "pt-BR": Jt,
737
+ "pt-PT": Yt,
738
+ "ro-RO": Xt,
739
+ "ru-RU": Qt,
740
+ "sk-SK": er,
741
+ "sl-SI": tr,
742
+ "sr-SP": rr,
743
+ "sv-SE": or,
718
744
  "tr-TR": ar,
719
- "uk-UA": or,
720
- "zh-CN": nr,
721
- "zh-TW": sr
745
+ "uk-UA": nr,
746
+ "zh-CN": sr,
747
+ "zh-TW": lr
722
748
  };
723
- function ha(t) {
749
+ function Do(t) {
724
750
  return t && t.__esModule ? t.default : t;
725
751
  }
726
- function Pa(t, e, r) {
727
- let { type: o = "menu", isDisabled: a, trigger: s = "press" } = t, u = re(), { triggerProps: i, overlayProps: n } = Ve({
728
- type: o
752
+ function Co(t, e, r) {
753
+ let { type: a = "menu", isDisabled: o, trigger: s = "press" } = t, u = oe(), { triggerProps: i, overlayProps: n } = We({
754
+ type: a
729
755
  }, e, r), d = (c) => {
730
- if (!a && !(s === "longPress" && !c.altKey) && r && r.current)
756
+ if (!o && !(s === "longPress" && !c.altKey) && r && r.current)
731
757
  switch (c.key) {
732
758
  case "Enter":
733
759
  case " ":
@@ -741,8 +767,8 @@ function Pa(t, e, r) {
741
767
  default:
742
768
  "continuePropagation" in c && c.continuePropagation();
743
769
  }
744
- }, l = _e(ha(lr), "@react-aria/menu"), { longPressProps: $ } = Vr({
745
- isDisabled: a || s !== "longPress",
770
+ }, l = _e(Do(ir), "@react-aria/menu"), { longPressProps: $ } = Vr({
771
+ isDisabled: o || s !== "longPress",
746
772
  accessibilityDescription: l.format("longPressMessage"),
747
773
  onLongPressStart() {
748
774
  e.close();
@@ -753,10 +779,10 @@ function Pa(t, e, r) {
753
779
  }), p = {
754
780
  preventFocusOnPress: !0,
755
781
  onPressStart(c) {
756
- c.pointerType !== "touch" && c.pointerType !== "keyboard" && !a && (Me(c.target), e.open(c.pointerType === "virtual" ? "first" : null));
782
+ c.pointerType !== "touch" && c.pointerType !== "keyboard" && !o && (ke(c.target), e.open(c.pointerType === "virtual" ? "first" : null));
757
783
  },
758
784
  onPress(c) {
759
- c.pointerType === "touch" && !a && (Me(c.target), e.toggle());
785
+ c.pointerType === "touch" && !o && (ke(c.target), e.toggle());
760
786
  }
761
787
  };
762
788
  return delete i.onPress, {
@@ -775,11 +801,11 @@ function Pa(t, e, r) {
775
801
  }
776
802
  };
777
803
  }
778
- const ir = /* @__PURE__ */ new WeakMap();
779
- function Ea(t, e, r) {
780
- let { shouldFocusWrap: o = !0, onKeyDown: a, onKeyUp: s, ...u } = t;
804
+ const ur = /* @__PURE__ */ new WeakMap();
805
+ function wo(t, e, r) {
806
+ let { shouldFocusWrap: a = !0, onKeyDown: o, onKeyUp: s, ...u } = t;
781
807
  !t["aria-label"] && !t["aria-labelledby"] && process.env.NODE_ENV !== "production" && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
782
- let i = F(t, {
808
+ let i = K(t, {
783
809
  labelable: !0
784
810
  }), { listProps: n } = Lr({
785
811
  ...u,
@@ -787,16 +813,16 @@ function Ea(t, e, r) {
787
813
  selectionManager: e.selectionManager,
788
814
  collection: e.collection,
789
815
  disabledKeys: e.disabledKeys,
790
- shouldFocusWrap: o,
816
+ shouldFocusWrap: a,
791
817
  linkBehavior: "override"
792
818
  });
793
- return ir.set(e, {
819
+ return ur.set(e, {
794
820
  onClose: t.onClose,
795
821
  onAction: t.onAction,
796
822
  shouldUseVirtualFocus: t.shouldUseVirtualFocus
797
823
  }), {
798
- menuProps: j(i, {
799
- onKeyDown: a,
824
+ menuProps: H(i, {
825
+ onKeyDown: o,
800
826
  onKeyUp: s
801
827
  }, {
802
828
  role: "menu",
@@ -808,49 +834,49 @@ function Ea(t, e, r) {
808
834
  })
809
835
  };
810
836
  }
811
- function Da(t, e, r) {
812
- let { id: o, key: a, closeOnSelect: s, isVirtualized: u, "aria-haspopup": i, onPressStart: n, onPressUp: d, onPress: l, onPressChange: $, onPressEnd: p, onHoverStart: c, onHoverChange: b, onHoverEnd: x, onKeyDown: g, onKeyUp: K, onFocus: T, onFocusChange: q, onBlur: M, selectionManager: y = e.selectionManager } = t, P = !!i, _ = P && t["aria-expanded"] === "true";
813
- var O;
814
- let C = (O = t.isDisabled) !== null && O !== void 0 ? O : y.isDisabled(a);
837
+ function Ao(t, e, r) {
838
+ let { id: a, key: o, closeOnSelect: s, isVirtualized: u, "aria-haspopup": i, onPressStart: n, onPressUp: d, onPress: l, onPressChange: $, onPressEnd: p, onHoverStart: c, onHoverChange: b, onHoverEnd: x, onKeyDown: g, onKeyUp: O, onFocus: T, onFocusChange: q, onBlur: A, selectionManager: y = e.selectionManager } = t, E = !!i, U = E && t["aria-expanded"] === "true";
839
+ var R;
840
+ let C = (R = t.isDisabled) !== null && R !== void 0 ? R : y.isDisabled(o);
815
841
  var S;
816
- let Z = (S = t.isSelected) !== null && S !== void 0 ? S : y.isSelected(a), R = ir.get(e), v = e.collection.getItem(a), I = t.onClose || R.onClose, cr = Yr(), ne = (m) => {
842
+ let Z = (S = t.isSelected) !== null && S !== void 0 ? S : y.isSelected(o), I = ur.get(e), v = e.collection.getItem(o), N = t.onClose || I.onClose, fr = Gr(), ne = (m) => {
817
843
  var le;
818
- if (!P) {
819
- if (!(v == null || (le = v.props) === null || le === void 0) && le.onAction ? v.props.onAction() : t.onAction && t.onAction(a), R.onAction) {
820
- let hr = R.onAction;
821
- hr(a);
844
+ if (!E) {
845
+ if (!(v == null || (le = v.props) === null || le === void 0) && le.onAction ? v.props.onAction() : t.onAction && t.onAction(o), I.onAction) {
846
+ let Pr = I.onAction;
847
+ Pr(o);
822
848
  }
823
- m.target instanceof HTMLAnchorElement && v && cr.open(m.target, m, v.props.href, v.props.routerOptions);
849
+ m.target instanceof HTMLAnchorElement && v && fr.open(m.target, m, v.props.href, v.props.routerOptions);
824
850
  }
825
851
  }, se = "menuitem";
826
- P || (y.selectionMode === "single" ? se = "menuitemradio" : y.selectionMode === "multiple" && (se = "menuitemcheckbox"));
827
- let xe = Q(), ye = Q(), he = Q(), J = {
828
- id: o,
852
+ E || (y.selectionMode === "single" ? se = "menuitemradio" : y.selectionMode === "multiple" && (se = "menuitemcheckbox"));
853
+ let he = Q(), Pe = Q(), Ee = Q(), J = {
854
+ id: a,
829
855
  "aria-disabled": C || void 0,
830
856
  role: se,
831
857
  "aria-label": t["aria-label"],
832
- "aria-labelledby": xe,
858
+ "aria-labelledby": he,
833
859
  "aria-describedby": [
834
- ye,
835
- he
860
+ Pe,
861
+ Ee
836
862
  ].filter(Boolean).join(" ") || void 0,
837
863
  "aria-controls": t["aria-controls"],
838
864
  "aria-haspopup": i,
839
865
  "aria-expanded": t["aria-expanded"]
840
866
  };
841
- y.selectionMode !== "none" && !P && (J["aria-checked"] = Z), u && (J["aria-posinset"] = v == null ? void 0 : v.index, J["aria-setsize"] = zr(e.collection));
842
- let fr = (m) => {
867
+ y.selectionMode !== "none" && !E && (J["aria-checked"] = Z), u && (J["aria-posinset"] = v == null ? void 0 : v.index, J["aria-setsize"] = zr(e.collection));
868
+ let $r = (m) => {
843
869
  m.pointerType === "keyboard" && ne(m), n == null || n(m);
844
- }, Pe = () => {
845
- !P && I && (s ?? (y.selectionMode !== "multiple" || y.isLink(a))) && I();
846
- }, $r = (m) => {
847
- m.pointerType === "mouse" && (ne(m), Pe()), d == null || d(m);
870
+ }, De = () => {
871
+ !E && N && (s ?? (y.selectionMode !== "multiple" || y.isLink(o))) && N();
848
872
  }, pr = (m) => {
849
- m.pointerType !== "keyboard" && m.pointerType !== "mouse" && (ne(m), Pe()), l == null || l(m);
850
- }, { itemProps: N, isFocused: Ee } = Wr({
851
- id: o,
873
+ m.pointerType === "mouse" && (ne(m), De()), d == null || d(m);
874
+ }, br = (m) => {
875
+ m.pointerType !== "keyboard" && m.pointerType !== "mouse" && (ne(m), De()), l == null || l(m);
876
+ }, { itemProps: L, isFocused: Ce } = Wr({
877
+ id: a,
852
878
  selectionManager: y,
853
- key: a,
879
+ key: o,
854
880
  ref: r,
855
881
  shouldSelectOnPressUp: !0,
856
882
  allowsDifferentPressOrigin: !0,
@@ -859,22 +885,22 @@ function Da(t, e, r) {
859
885
  // is slightly different from other collections because
860
886
  // actions are performed on key down rather than key up.
861
887
  linkBehavior: "none",
862
- shouldUseVirtualFocus: R.shouldUseVirtualFocus
863
- }), { pressProps: br, isPressed: mr } = Xr({
864
- onPressStart: fr,
865
- onPress: pr,
866
- onPressUp: $r,
888
+ shouldUseVirtualFocus: I.shouldUseVirtualFocus
889
+ }), { pressProps: mr, isPressed: gr } = qr({
890
+ onPressStart: $r,
891
+ onPress: br,
892
+ onPressUp: pr,
867
893
  onPressChange: $,
868
894
  onPressEnd: p,
869
895
  isDisabled: C
870
- }), { hoverProps: gr } = ze({
896
+ }), { hoverProps: vr } = ze({
871
897
  isDisabled: C,
872
898
  onHoverStart(m) {
873
- !Se() && !(_ && i) && (y.setFocused(!0), y.setFocusedKey(a)), c == null || c(m);
899
+ !Se() && !(U && i) && (y.setFocused(!0), y.setFocusedKey(o)), c == null || c(m);
874
900
  },
875
901
  onHoverChange: b,
876
902
  onHoverEnd: x
877
- }), { keyboardProps: vr } = ea({
903
+ }), { keyboardProps: xr } = Yr({
878
904
  onKeyDown: (m) => {
879
905
  if (m.repeat) {
880
906
  m.continuePropagation();
@@ -882,65 +908,65 @@ function Da(t, e, r) {
882
908
  }
883
909
  switch (m.key) {
884
910
  case " ":
885
- !C && y.selectionMode === "none" && !P && s !== !1 && I && I();
911
+ !C && y.selectionMode === "none" && !E && s !== !1 && N && N();
886
912
  break;
887
913
  case "Enter":
888
- !C && s !== !1 && !P && I && I();
914
+ !C && s !== !1 && !E && N && N();
889
915
  break;
890
916
  default:
891
- P || m.continuePropagation(), g == null || g(m);
917
+ E || m.continuePropagation(), g == null || g(m);
892
918
  break;
893
919
  }
894
920
  },
895
- onKeyUp: K
896
- }), { focusProps: xr } = Jr({
897
- onBlur: M,
921
+ onKeyUp: O
922
+ }), { focusProps: yr } = Qr({
923
+ onBlur: A,
898
924
  onFocus: T,
899
925
  onFocusChange: q
900
- }), De = F(v == null ? void 0 : v.props);
901
- delete De.id;
902
- let yr = Qr(v == null ? void 0 : v.props);
926
+ }), we = K(v == null ? void 0 : v.props);
927
+ delete we.id;
928
+ let hr = Zr(v == null ? void 0 : v.props);
903
929
  return {
904
930
  menuItemProps: {
905
931
  ...J,
906
- ...j(
907
- De,
908
- yr,
909
- P ? {
910
- onFocus: N.onFocus,
911
- "data-collection": N["data-collection"],
912
- "data-key": N["data-key"]
913
- } : N,
914
- br,
915
- gr,
932
+ ...H(
933
+ we,
934
+ hr,
935
+ E ? {
936
+ onFocus: L.onFocus,
937
+ "data-collection": L["data-collection"],
938
+ "data-key": L["data-key"]
939
+ } : L,
940
+ mr,
916
941
  vr,
917
942
  xr,
943
+ yr,
918
944
  // Prevent DOM focus from moving on mouse down when using virtual focus or this is a submenu/subdialog trigger.
919
- R.shouldUseVirtualFocus || P ? {
945
+ I.shouldUseVirtualFocus || E ? {
920
946
  onMouseDown: (m) => m.preventDefault()
921
947
  } : void 0
922
948
  ),
923
949
  // If a submenu is expanded, set the tabIndex to -1 so that shift tabbing goes out of the menu instead of the parent menu item.
924
- tabIndex: N.tabIndex != null && _ && !R.shouldUseVirtualFocus ? -1 : N.tabIndex
950
+ tabIndex: L.tabIndex != null && U && !I.shouldUseVirtualFocus ? -1 : L.tabIndex
925
951
  },
926
952
  labelProps: {
927
- id: xe
953
+ id: he
928
954
  },
929
955
  descriptionProps: {
930
- id: ye
956
+ id: Pe
931
957
  },
932
958
  keyboardShortcutProps: {
933
- id: he
959
+ id: Ee
934
960
  },
935
- isFocused: Ee,
936
- isFocusVisible: Ee && y.isFocused && Se() && !_,
961
+ isFocused: Ce,
962
+ isFocusVisible: Ce && y.isFocused && Se() && !U,
937
963
  isSelected: Z,
938
- isPressed: mr,
964
+ isPressed: gr,
939
965
  isDisabled: C
940
966
  };
941
967
  }
942
- function Ca(t) {
943
- let { heading: e, "aria-label": r } = t, o = re();
968
+ function Mo(t) {
969
+ let { heading: e, "aria-label": r } = t, a = oe();
944
970
  return {
945
971
  itemProps: {
946
972
  role: "presentation"
@@ -949,25 +975,25 @@ function Ca(t) {
949
975
  // Techincally, menus cannot contain headings according to ARIA.
950
976
  // We hide the heading from assistive technology, using role="presentation",
951
977
  // and only use it as a label for the nested group.
952
- id: o,
978
+ id: a,
953
979
  role: "presentation"
954
980
  } : {},
955
981
  groupProps: {
956
982
  role: "group",
957
983
  "aria-label": r,
958
- "aria-labelledby": e ? o : void 0
984
+ "aria-labelledby": e ? a : void 0
959
985
  }
960
986
  };
961
987
  }
962
- function Aa(t, e) {
963
- let { role: r = "dialog" } = t, o = Q();
964
- o = t["aria-label"] ? void 0 : o;
965
- let a = k(!1);
966
- return z(() => {
988
+ function So(t, e) {
989
+ let { role: r = "dialog" } = t, a = Q();
990
+ a = t["aria-label"] ? void 0 : a;
991
+ let o = M(!1);
992
+ return F(() => {
967
993
  if (e.current && !e.current.contains(document.activeElement)) {
968
- fe(e.current);
994
+ $e(e.current);
969
995
  let s = setTimeout(() => {
970
- document.activeElement === e.current && (a.current = !0, e.current && (e.current.blur(), fe(e.current)), a.current = !1);
996
+ document.activeElement === e.current && (o.current = !0, e.current && (e.current.blur(), $e(e.current)), o.current = !1);
971
997
  }, 500);
972
998
  return () => {
973
999
  clearTimeout(s);
@@ -975,43 +1001,43 @@ function Aa(t, e) {
975
1001
  }
976
1002
  }, [
977
1003
  e
978
- ]), ya(), {
1004
+ ]), Eo(), {
979
1005
  dialogProps: {
980
- ...F(t, {
1006
+ ...K(t, {
981
1007
  labelable: !0
982
1008
  }),
983
1009
  role: r,
984
1010
  tabIndex: -1,
985
- "aria-labelledby": t["aria-labelledby"] || o,
1011
+ "aria-labelledby": t["aria-labelledby"] || a,
986
1012
  // Prevent blur events from reaching useOverlay, which may cause
987
1013
  // popovers to close. Since focus is contained within the dialog,
988
1014
  // we don't want this to occur due to the above useEffect.
989
1015
  onBlur: (s) => {
990
- a.current && s.stopPropagation();
1016
+ o.current && s.stopPropagation();
991
1017
  }
992
1018
  },
993
1019
  titleProps: {
994
- id: o
1020
+ id: a
995
1021
  }
996
1022
  };
997
1023
  }
998
- function me(t) {
999
- let e = Te(t), [r, o] = B(null), [a, s] = B([]), u = () => {
1024
+ function ve(t) {
1025
+ let e = Te(t), [r, a] = B(null), [o, s] = B([]), u = () => {
1000
1026
  s([]), e.close();
1001
1027
  };
1002
1028
  return {
1003
1029
  focusStrategy: r,
1004
1030
  ...e,
1005
1031
  open(d = null) {
1006
- o(d), e.open();
1032
+ a(d), e.open();
1007
1033
  },
1008
1034
  toggle(d = null) {
1009
- o(d), e.toggle();
1035
+ a(d), e.toggle();
1010
1036
  },
1011
1037
  close() {
1012
1038
  u();
1013
1039
  },
1014
- expandedKeysStack: a,
1040
+ expandedKeysStack: o,
1015
1041
  openSubmenu: (d, l) => {
1016
1042
  s(($) => l > $.length ? $ : [
1017
1043
  ...$.slice(0, l),
@@ -1023,7 +1049,7 @@ function me(t) {
1023
1049
  }
1024
1050
  };
1025
1051
  }
1026
- class Ma {
1052
+ class ko {
1027
1053
  *[Symbol.iterator]() {
1028
1054
  yield* this.iterable;
1029
1055
  }
@@ -1035,13 +1061,13 @@ class Ma {
1035
1061
  }
1036
1062
  getKeyBefore(e) {
1037
1063
  let r = this.keyMap.get(e);
1038
- var o;
1039
- return r && (o = r.prevKey) !== null && o !== void 0 ? o : null;
1064
+ var a;
1065
+ return r && (a = r.prevKey) !== null && a !== void 0 ? a : null;
1040
1066
  }
1041
1067
  getKeyAfter(e) {
1042
1068
  let r = this.keyMap.get(e);
1043
- var o;
1044
- return r && (o = r.nextKey) !== null && o !== void 0 ? o : null;
1069
+ var a;
1070
+ return r && (a = r.nextKey) !== null && a !== void 0 ? a : null;
1045
1071
  }
1046
1072
  getFirstKey() {
1047
1073
  return this.firstKey;
@@ -1061,48 +1087,48 @@ class Ma {
1061
1087
  }
1062
1088
  constructor(e, { expandedKeys: r } = {}) {
1063
1089
  this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, r = r || /* @__PURE__ */ new Set();
1064
- let o = (i) => {
1065
- if (this.keyMap.set(i.key, i), i.childNodes && (i.type === "section" || r.has(i.key))) for (let n of i.childNodes) o(n);
1090
+ let a = (i) => {
1091
+ if (this.keyMap.set(i.key, i), i.childNodes && (i.type === "section" || r.has(i.key))) for (let n of i.childNodes) a(n);
1066
1092
  };
1067
- for (let i of e) o(i);
1068
- let a = null, s = 0;
1093
+ for (let i of e) a(i);
1094
+ let o = null, s = 0;
1069
1095
  for (let [i, n] of this.keyMap)
1070
- a ? (a.nextKey = i, n.prevKey = a.key) : (this.firstKey = i, n.prevKey = void 0), n.type === "item" && (n.index = s++), a = n, a.nextKey = void 0;
1096
+ o ? (o.nextKey = i, n.prevKey = o.key) : (this.firstKey = i, n.prevKey = void 0), n.type === "item" && (n.index = s++), o = n, o.nextKey = void 0;
1071
1097
  var u;
1072
- this.lastKey = (u = a == null ? void 0 : a.key) !== null && u !== void 0 ? u : null;
1098
+ this.lastKey = (u = o == null ? void 0 : o.key) !== null && u !== void 0 ? u : null;
1073
1099
  }
1074
1100
  }
1075
- function Sa(t) {
1076
- let { onExpandedChange: e } = t, [r, o] = ta(t.expandedKeys ? new Set(t.expandedKeys) : void 0, t.defaultExpandedKeys ? new Set(t.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e), a = Ie(t), s = W(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
1101
+ function Bo(t) {
1102
+ let { onExpandedChange: e } = t, [r, a] = to(t.expandedKeys ? new Set(t.expandedKeys) : void 0, t.defaultExpandedKeys ? new Set(t.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e), o = Ne(t), s = z(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
1077
1103
  t.disabledKeys
1078
- ]), u = jr(t, pe((n) => new Ma(n, {
1104
+ ]), u = jr(t, me((n) => new ko(n, {
1079
1105
  expandedKeys: r
1080
1106
  }), [
1081
1107
  r
1082
1108
  ]), null);
1083
- return z(() => {
1084
- a.focusedKey != null && !u.getItem(a.focusedKey) && a.setFocusedKey(null);
1109
+ return F(() => {
1110
+ o.focusedKey != null && !u.getItem(o.focusedKey) && o.setFocusedKey(null);
1085
1111
  }, [
1086
1112
  u,
1087
- a.focusedKey
1113
+ o.focusedKey
1088
1114
  ]), {
1089
1115
  collection: u,
1090
1116
  expandedKeys: r,
1091
1117
  disabledKeys: s,
1092
1118
  toggleKey: (n) => {
1093
- o(wa(r, n));
1119
+ a(Fo(r, n));
1094
1120
  },
1095
- setExpandedKeys: o,
1096
- selectionManager: new Ne(u, a)
1121
+ setExpandedKeys: a,
1122
+ selectionManager: new Le(u, o)
1097
1123
  };
1098
1124
  }
1099
- function wa(t, e) {
1125
+ function Fo(t, e) {
1100
1126
  let r = new Set(t);
1101
1127
  return r.has(e) ? r.delete(e) : r.add(e), r;
1102
1128
  }
1103
- const ge = /* @__PURE__ */ D(null), Fe = /* @__PURE__ */ D(null), lo = /* @__PURE__ */ be(function(e, r) {
1104
- [e, r] = ae(e, r, ge);
1105
- let o = E(oe), a = Te(e), s = e.isOpen != null || e.defaultOpen != null || !o ? a : o, u = Br(r, s.isOpen) || e.isExiting || !1, i = oa(), { direction: n } = na();
1129
+ const xe = /* @__PURE__ */ D(null), Oe = /* @__PURE__ */ D(null), ca = /* @__PURE__ */ ge(function(e, r) {
1130
+ [e, r] = re(e, r, xe);
1131
+ let a = P(ae), o = Te(e), s = e.isOpen != null || e.defaultOpen != null || !a ? o : a, u = Br(r, s.isOpen) || e.isExiting || !1, i = no(), { direction: n } = so();
1106
1132
  if (i) {
1107
1133
  let d = e.children;
1108
1134
  return typeof d == "function" && (d = d({
@@ -1113,7 +1139,7 @@ const ge = /* @__PURE__ */ D(null), Fe = /* @__PURE__ */ D(null), lo = /* @__PUR
1113
1139
  defaultChildren: null
1114
1140
  })), /* @__PURE__ */ f.createElement(f.Fragment, null, d);
1115
1141
  }
1116
- return s && !s.isOpen && !u ? null : /* @__PURE__ */ f.createElement(ka, {
1142
+ return s && !s.isOpen && !u ? null : /* @__PURE__ */ f.createElement(Ko, {
1117
1143
  ...e,
1118
1144
  triggerRef: e.triggerRef,
1119
1145
  state: s,
@@ -1122,71 +1148,71 @@ const ge = /* @__PURE__ */ D(null), Fe = /* @__PURE__ */ D(null), lo = /* @__PUR
1122
1148
  dir: n
1123
1149
  });
1124
1150
  });
1125
- function ka({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts: o, ...a }) {
1126
- let s = k(null), [u, i] = B(0), n = k(null), d = E(Fe), l = d && a.trigger === "SubmenuTrigger";
1127
- V(() => {
1151
+ function Ko({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts: a, ...o }) {
1152
+ let s = M(null), [u, i] = B(0), n = M(null), d = P(Oe), l = d && o.trigger === "SubmenuTrigger";
1153
+ j(() => {
1128
1154
  s.current && t.isOpen && i(s.current.getBoundingClientRect().width);
1129
1155
  }, [
1130
1156
  t.isOpen,
1131
1157
  s
1132
1158
  ]);
1133
1159
  var $;
1134
- let { popoverProps: p, underlayProps: c, arrowProps: b, placement: x } = xa({
1135
- ...a,
1136
- offset: ($ = a.offset) !== null && $ !== void 0 ? $ : 8,
1160
+ let { popoverProps: p, underlayProps: c, arrowProps: b, placement: x } = Po({
1161
+ ...o,
1162
+ offset: ($ = o.offset) !== null && $ !== void 0 ? $ : 8,
1137
1163
  arrowSize: u,
1138
1164
  // If this is a submenu/subdialog, use the root popover's container
1139
1165
  // to detect outside interaction and add aria-hidden.
1140
1166
  groupRef: l ? d : n
1141
- }, t), g = a.popoverRef, K = Fr(g, !!x) || a.isEntering || !1, T = G({
1142
- ...a,
1167
+ }, t), g = o.popoverRef, O = Fr(g, !!x) || o.isEntering || !1, T = G({
1168
+ ...o,
1143
1169
  defaultClassName: "react-aria-Popover",
1144
1170
  values: {
1145
- trigger: a.trigger || null,
1171
+ trigger: o.trigger || null,
1146
1172
  placement: x,
1147
- isEntering: K,
1173
+ isEntering: O,
1148
1174
  isExiting: e
1149
1175
  }
1150
- }), q = !a.isNonModal || a.trigger === "SubmenuTrigger", [M, y] = B(!1);
1151
- V(() => {
1176
+ }), q = !o.isNonModal || o.trigger === "SubmenuTrigger", [A, y] = B(!1);
1177
+ j(() => {
1152
1178
  g.current && y(q && !g.current.querySelector("[role=dialog]"));
1153
1179
  }, [
1154
1180
  g,
1155
1181
  q
1156
- ]), z(() => {
1157
- M && g.current && !g.current.contains(document.activeElement) && fe(g.current);
1182
+ ]), F(() => {
1183
+ A && g.current && !g.current.contains(document.activeElement) && $e(g.current);
1158
1184
  }, [
1159
- M,
1185
+ A,
1160
1186
  g
1161
1187
  ]);
1162
- let P = W(() => {
1188
+ let E = z(() => {
1163
1189
  let S = T.children;
1164
- if (o) for (let Z of o) S = /* @__PURE__ */ f.createElement(Z.Provider, {
1190
+ if (a) for (let Z of a) S = /* @__PURE__ */ f.createElement(Z.Provider, {
1165
1191
  value: null
1166
1192
  }, S);
1167
1193
  return S;
1168
1194
  }, [
1169
1195
  T.children,
1170
- o
1171
- ]), _ = {
1196
+ a
1197
+ ]), U = {
1172
1198
  ...p.style,
1173
1199
  ...T.style
1174
- }, O = /* @__PURE__ */ f.createElement("div", {
1175
- ...j(F(a), p),
1200
+ }, R = /* @__PURE__ */ f.createElement("div", {
1201
+ ...H(K(o), p),
1176
1202
  ...T,
1177
- role: M ? "dialog" : void 0,
1178
- tabIndex: M ? -1 : void 0,
1179
- "aria-label": a["aria-label"],
1180
- "aria-labelledby": a["aria-labelledby"],
1203
+ role: A ? "dialog" : void 0,
1204
+ tabIndex: A ? -1 : void 0,
1205
+ "aria-label": o["aria-label"],
1206
+ "aria-labelledby": o["aria-labelledby"],
1181
1207
  ref: g,
1182
- slot: a.slot || void 0,
1183
- style: _,
1184
- dir: a.dir,
1185
- "data-trigger": a.trigger,
1208
+ slot: o.slot || void 0,
1209
+ style: U,
1210
+ dir: o.dir,
1211
+ "data-trigger": o.trigger,
1186
1212
  "data-placement": x,
1187
- "data-entering": K || void 0,
1213
+ "data-entering": O || void 0,
1188
1214
  "data-exiting": e || void 0
1189
- }, !a.isNonModal && /* @__PURE__ */ f.createElement(ke, {
1215
+ }, !o.isNonModal && /* @__PURE__ */ f.createElement(Fe, {
1190
1216
  onDismiss: t.close
1191
1217
  }), /* @__PURE__ */ f.createElement(Kr.Provider, {
1192
1218
  value: {
@@ -1194,15 +1220,15 @@ function ka({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts
1194
1220
  placement: x,
1195
1221
  ref: s
1196
1222
  }
1197
- }, P), /* @__PURE__ */ f.createElement(ke, {
1223
+ }, E), /* @__PURE__ */ f.createElement(Fe, {
1198
1224
  onDismiss: t.close
1199
1225
  }));
1200
- if (!l) return /* @__PURE__ */ f.createElement(Be, {
1201
- ...a,
1202
- shouldContainFocus: M,
1226
+ if (!l) return /* @__PURE__ */ f.createElement(Ke, {
1227
+ ...o,
1228
+ shouldContainFocus: A,
1203
1229
  isExiting: e,
1204
1230
  portalContainer: r
1205
- }, !a.isNonModal && t.isOpen && /* @__PURE__ */ f.createElement("div", {
1231
+ }, !o.isNonModal && t.isOpen && /* @__PURE__ */ f.createElement("div", {
1206
1232
  "data-testid": "underlay",
1207
1233
  ...c,
1208
1234
  style: {
@@ -1214,43 +1240,43 @@ function ka({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts
1214
1240
  style: {
1215
1241
  display: "contents"
1216
1242
  }
1217
- }, /* @__PURE__ */ f.createElement(Fe.Provider, {
1243
+ }, /* @__PURE__ */ f.createElement(Oe.Provider, {
1218
1244
  value: n
1219
- }, O)));
1245
+ }, R)));
1220
1246
  var C;
1221
- return /* @__PURE__ */ f.createElement(Be, {
1222
- ...a,
1223
- shouldContainFocus: M,
1247
+ return /* @__PURE__ */ f.createElement(Ke, {
1248
+ ...o,
1249
+ shouldContainFocus: A,
1224
1250
  isExiting: e,
1225
1251
  portalContainer: (C = r ?? (d == null ? void 0 : d.current)) !== null && C !== void 0 ? C : void 0
1226
- }, O);
1252
+ }, R);
1227
1253
  }
1228
- const Ba = /* @__PURE__ */ D({}), ur = /* @__PURE__ */ D(null), ve = /* @__PURE__ */ D(null), ee = /* @__PURE__ */ D(null), te = /* @__PURE__ */ D(null);
1229
- function io(t) {
1230
- let e = me(t), r = k(null), { menuTriggerProps: o, menuProps: a } = Pa({
1254
+ const Oo = /* @__PURE__ */ D({}), dr = /* @__PURE__ */ D(null), ye = /* @__PURE__ */ D(null), ee = /* @__PURE__ */ D(null), te = /* @__PURE__ */ D(null);
1255
+ function fa(t) {
1256
+ let e = ve(t), r = M(null), { menuTriggerProps: a, menuProps: o } = Co({
1231
1257
  ...t,
1232
1258
  type: "menu"
1233
- }, e, r), [s, u] = B(null), i = pe(() => {
1259
+ }, e, r), [s, u] = B(null), i = me(() => {
1234
1260
  r.current && u(r.current.offsetWidth + "px");
1235
1261
  }, [
1236
1262
  r
1237
1263
  ]);
1238
- Oe({
1264
+ Re({
1239
1265
  ref: r,
1240
1266
  onResize: i
1241
1267
  });
1242
- let n = k(null);
1243
- return /* @__PURE__ */ f.createElement(L, {
1268
+ let n = M(null);
1269
+ return /* @__PURE__ */ f.createElement(_, {
1244
1270
  values: [
1245
1271
  [
1246
- ur,
1272
+ dr,
1247
1273
  {
1248
- ...a,
1274
+ ...o,
1249
1275
  ref: n
1250
1276
  }
1251
1277
  ],
1252
1278
  [
1253
- oe,
1279
+ ae,
1254
1280
  e
1255
1281
  ],
1256
1282
  [
@@ -1258,7 +1284,7 @@ function io(t) {
1258
1284
  e
1259
1285
  ],
1260
1286
  [
1261
- ge,
1287
+ xe,
1262
1288
  {
1263
1289
  trigger: "MenuTrigger",
1264
1290
  triggerRef: r,
@@ -1267,41 +1293,41 @@ function io(t) {
1267
1293
  style: {
1268
1294
  "--trigger-width": s
1269
1295
  },
1270
- "aria-labelledby": a["aria-labelledby"]
1296
+ "aria-labelledby": o["aria-labelledby"]
1271
1297
  }
1272
1298
  ]
1273
1299
  ]
1274
- }, /* @__PURE__ */ f.createElement(Le, {
1275
- ...o,
1300
+ }, /* @__PURE__ */ f.createElement(Ve, {
1301
+ ...a,
1276
1302
  ref: r,
1277
1303
  isPressed: e.isOpen
1278
1304
  }, t.children));
1279
1305
  }
1280
- const Fa = /* @__PURE__ */ D(null), uo = /* @__PURE__ */ be(function(e, r) {
1281
- return [e, r] = ae(e, r, ur), /* @__PURE__ */ f.createElement(Or, {
1306
+ const To = /* @__PURE__ */ D(null), $a = /* @__PURE__ */ ge(function(e, r) {
1307
+ return [e, r] = re(e, r, dr), /* @__PURE__ */ f.createElement(Tr, {
1282
1308
  content: /* @__PURE__ */ f.createElement(Rr, e)
1283
- }, (o) => /* @__PURE__ */ f.createElement(Ka, {
1309
+ }, (a) => /* @__PURE__ */ f.createElement(Ro, {
1284
1310
  props: e,
1285
- collection: o,
1311
+ collection: a,
1286
1312
  menuRef: r
1287
1313
  }));
1288
1314
  });
1289
- function Ka({ props: t, collection: e, menuRef: r }) {
1290
- let { filter: o, collectionProps: a, collectionRef: s } = E(Ae) || {};
1291
- r = Ke(W(() => Cr(r, s !== void 0 ? s : null), [
1315
+ function Ro({ props: t, collection: e, menuRef: r }) {
1316
+ let { filter: a, collectionProps: o, collectionRef: s } = P(Ae) || {};
1317
+ r = be(z(() => Cr(r, s !== void 0 ? s : null), [
1292
1318
  s,
1293
1319
  r
1294
1320
  ]));
1295
- let u = W(() => o ? e.UNSTABLE_filter(o) : e, [
1321
+ let u = z(() => a ? e.UNSTABLE_filter(a) : e, [
1296
1322
  e,
1297
- o
1298
- ]), i = Sa({
1323
+ a
1324
+ ]), i = Bo({
1299
1325
  ...t,
1300
1326
  collection: u,
1301
1327
  children: void 0
1302
- }), n = E(ee), { isVirtualized: d, CollectionRoot: l } = E(Re), { menuProps: $ } = Ea({
1328
+ }), n = P(ee), { isVirtualized: d, CollectionRoot: l } = P(Ie), { menuProps: $ } = wo({
1303
1329
  ...t,
1304
- ...a,
1330
+ ...o,
1305
1331
  isVirtualized: d,
1306
1332
  onClose: t.onClose || (n == null ? void 0 : n.close)
1307
1333
  }, i, r), p = G({
@@ -1318,17 +1344,17 @@ function Ka({ props: t, collection: e, menuRef: r }) {
1318
1344
  display: "contents"
1319
1345
  }
1320
1346
  }, t.renderEmptyState())), /* @__PURE__ */ f.createElement(He, null, /* @__PURE__ */ f.createElement("div", {
1321
- ...F(t),
1347
+ ...K(t),
1322
1348
  ...$,
1323
1349
  ...p,
1324
1350
  ref: r,
1325
1351
  slot: t.slot || void 0,
1326
1352
  "data-empty": i.collection.size === 0 || void 0,
1327
1353
  onScroll: t.onScroll
1328
- }, /* @__PURE__ */ f.createElement(L, {
1354
+ }, /* @__PURE__ */ f.createElement(_, {
1329
1355
  values: [
1330
1356
  [
1331
- ve,
1357
+ ye,
1332
1358
  i
1333
1359
  ],
1334
1360
  [
@@ -1341,18 +1367,18 @@ function Ka({ props: t, collection: e, menuRef: r }) {
1341
1367
  Ir,
1342
1368
  {
1343
1369
  name: "MenuSection",
1344
- render: Oa
1370
+ render: No
1345
1371
  }
1346
1372
  ],
1347
1373
  [
1348
- Fa,
1374
+ To,
1349
1375
  {
1350
1376
  parentMenuRef: r,
1351
- shouldUseVirtualFocus: a == null ? void 0 : a.shouldUseVirtualFocus
1377
+ shouldUseVirtualFocus: o == null ? void 0 : o.shouldUseVirtualFocus
1352
1378
  }
1353
1379
  ],
1354
1380
  [
1355
- $e,
1381
+ pe,
1356
1382
  null
1357
1383
  ],
1358
1384
  [
@@ -1368,7 +1394,7 @@ function Ka({ props: t, collection: e, menuRef: r }) {
1368
1394
  /* eslint-disable-next-line react-hooks/rules-of-hooks */
1369
1395
  [
1370
1396
  ee,
1371
- n ?? me({})
1397
+ n ?? ve({})
1372
1398
  ]
1373
1399
  ]
1374
1400
  }, /* @__PURE__ */ f.createElement(l, {
@@ -1377,7 +1403,7 @@ function Ka({ props: t, collection: e, menuRef: r }) {
1377
1403
  scrollRef: r
1378
1404
  })), c));
1379
1405
  }
1380
- class Ta extends Ne {
1406
+ class Io extends Le {
1381
1407
  get focusedKey() {
1382
1408
  return this.parent.focusedKey;
1383
1409
  }
@@ -1397,25 +1423,25 @@ class Ta extends Ne {
1397
1423
  super(e.collection, r), this.parent = e;
1398
1424
  }
1399
1425
  }
1400
- function Oa(t, e, r, o = "react-aria-MenuSection") {
1401
- var a, s;
1402
- let u = E(ve), { CollectionBranch: i } = E(Re), [n, d] = Ar();
1426
+ function No(t, e, r, a = "react-aria-MenuSection") {
1427
+ var o, s;
1428
+ let u = P(ye), { CollectionBranch: i } = P(Ie), [n, d] = wr();
1403
1429
  var l;
1404
- let { headingProps: $, groupProps: p } = Ca({
1430
+ let { headingProps: $, groupProps: p } = Mo({
1405
1431
  heading: d,
1406
1432
  "aria-label": (l = r.props["aria-label"]) !== null && l !== void 0 ? l : void 0
1407
1433
  }), c = G({
1408
- defaultClassName: o,
1409
- className: (a = r.props) === null || a === void 0 ? void 0 : a.className,
1434
+ defaultClassName: a,
1435
+ className: (o = r.props) === null || o === void 0 ? void 0 : o.className,
1410
1436
  style: (s = r.props) === null || s === void 0 ? void 0 : s.style,
1411
1437
  values: {}
1412
- }), b = E(te), x = Ie(t), g = t.selectionMode != null ? new Ta(b, x) : b;
1438
+ }), b = P(te), x = Ne(t), g = t.selectionMode != null ? new Io(b, x) : b;
1413
1439
  return /* @__PURE__ */ f.createElement("section", {
1414
- ...F(t),
1440
+ ...K(t),
1415
1441
  ...p,
1416
1442
  ...c,
1417
1443
  ref: e
1418
- }, /* @__PURE__ */ f.createElement(L, {
1444
+ }, /* @__PURE__ */ f.createElement(_, {
1419
1445
  values: [
1420
1446
  [
1421
1447
  Hr,
@@ -1434,20 +1460,20 @@ function Oa(t, e, r, o = "react-aria-MenuSection") {
1434
1460
  parent: r
1435
1461
  })));
1436
1462
  }
1437
- const $e = /* @__PURE__ */ D(null), co = /* @__PURE__ */ Tr("item", function(e, r, o) {
1438
- var a;
1439
- [e, r] = ae(e, r, $e);
1440
- let s = (a = Dr($e)) === null || a === void 0 ? void 0 : a.id, u = E(ve), i = Ke(r), n = E(te), { menuItemProps: d, labelProps: l, descriptionProps: $, keyboardShortcutProps: p, ...c } = Da({
1463
+ const pe = /* @__PURE__ */ D(null), pa = /* @__PURE__ */ Or("item", function(e, r, a) {
1464
+ var o;
1465
+ [e, r] = re(e, r, pe);
1466
+ let s = (o = Dr(pe)) === null || o === void 0 ? void 0 : o.id, u = P(ye), i = be(r), n = P(te), { menuItemProps: d, labelProps: l, descriptionProps: $, keyboardShortcutProps: p, ...c } = Ao({
1441
1467
  ...e,
1442
1468
  id: s,
1443
- key: o.key,
1469
+ key: a.key,
1444
1470
  selectionManager: n
1445
1471
  }, u, i), { hoverProps: b, isHovered: x } = ze({
1446
1472
  isDisabled: c.isDisabled
1447
1473
  }), g = G({
1448
1474
  ...e,
1449
1475
  id: void 0,
1450
- children: o.rendered,
1476
+ children: a.rendered,
1451
1477
  defaultClassName: "react-aria-MenuItem",
1452
1478
  values: {
1453
1479
  ...c,
@@ -1458,9 +1484,9 @@ const $e = /* @__PURE__ */ D(null), co = /* @__PURE__ */ Tr("item", function(e,
1458
1484
  hasSubmenu: !!e["aria-haspopup"],
1459
1485
  isOpen: e["aria-expanded"] === "true"
1460
1486
  }
1461
- }), K = e.href ? "a" : "div";
1462
- return /* @__PURE__ */ f.createElement(K, {
1463
- ...j(d, b),
1487
+ }), O = e.href ? "a" : "div";
1488
+ return /* @__PURE__ */ f.createElement(O, {
1489
+ ...H(d, b),
1464
1490
  ...g,
1465
1491
  ref: i,
1466
1492
  "data-disabled": c.isDisabled || void 0,
@@ -1472,40 +1498,40 @@ const $e = /* @__PURE__ */ D(null), co = /* @__PURE__ */ Tr("item", function(e,
1472
1498
  "data-selection-mode": n.selectionMode === "none" ? void 0 : n.selectionMode,
1473
1499
  "data-has-submenu": !!e["aria-haspopup"] || void 0,
1474
1500
  "data-open": e["aria-expanded"] === "true" || void 0
1475
- }, /* @__PURE__ */ f.createElement(L, {
1501
+ }, /* @__PURE__ */ f.createElement(_, {
1476
1502
  values: [
1477
1503
  [
1478
1504
  Ur,
1479
1505
  {
1480
1506
  slots: {
1481
- [ce]: l,
1507
+ [de]: l,
1482
1508
  label: l,
1483
1509
  description: $
1484
1510
  }
1485
1511
  }
1486
1512
  ],
1487
1513
  [
1488
- Ba,
1514
+ Oo,
1489
1515
  p
1490
1516
  ]
1491
1517
  ]
1492
1518
  }, g.children));
1493
- }), dr = /* @__PURE__ */ D(null), oe = /* @__PURE__ */ D(null);
1494
- function fo(t) {
1495
- let e = me(t), r = k(null), { triggerProps: o, overlayProps: a } = Ve({
1519
+ }), cr = /* @__PURE__ */ D(null), ae = /* @__PURE__ */ D(null);
1520
+ function ba(t) {
1521
+ let e = ve(t), r = M(null), { triggerProps: a, overlayProps: o } = We({
1496
1522
  type: "dialog"
1497
- }, e, r), [s, u] = B(null), i = pe(() => {
1523
+ }, e, r), [s, u] = B(null), i = me(() => {
1498
1524
  r.current && u(r.current.offsetWidth + "px");
1499
1525
  }, [
1500
1526
  r
1501
1527
  ]);
1502
- return Oe({
1528
+ return Re({
1503
1529
  ref: r,
1504
1530
  onResize: i
1505
- }), o.id = re(), a["aria-labelledby"] = o.id, /* @__PURE__ */ f.createElement(L, {
1531
+ }), a.id = oe(), o["aria-labelledby"] = a.id, /* @__PURE__ */ f.createElement(_, {
1506
1532
  values: [
1507
1533
  [
1508
- oe,
1534
+ ae,
1509
1535
  e
1510
1536
  ],
1511
1537
  [
@@ -1513,37 +1539,37 @@ function fo(t) {
1513
1539
  e
1514
1540
  ],
1515
1541
  [
1516
- dr,
1517
- a
1542
+ cr,
1543
+ o
1518
1544
  ],
1519
1545
  [
1520
- ge,
1546
+ xe,
1521
1547
  {
1522
1548
  trigger: "DialogTrigger",
1523
1549
  triggerRef: r,
1524
- "aria-labelledby": a["aria-labelledby"],
1550
+ "aria-labelledby": o["aria-labelledby"],
1525
1551
  style: {
1526
1552
  "--trigger-width": s
1527
1553
  }
1528
1554
  }
1529
1555
  ]
1530
1556
  ]
1531
- }, /* @__PURE__ */ f.createElement(Le, {
1532
- ...o,
1557
+ }, /* @__PURE__ */ f.createElement(Ve, {
1558
+ ...a,
1533
1559
  ref: r,
1534
1560
  isPressed: e.isOpen
1535
1561
  }, t.children));
1536
1562
  }
1537
- const $o = /* @__PURE__ */ be(function(e, r) {
1538
- let o = e["aria-labelledby"];
1539
- [e, r] = ae(e, r, dr);
1540
- let { dialogProps: a, titleProps: s } = Aa({
1563
+ const ma = /* @__PURE__ */ ge(function(e, r) {
1564
+ let a = e["aria-labelledby"];
1565
+ [e, r] = re(e, r, cr);
1566
+ let { dialogProps: o, titleProps: s } = So({
1541
1567
  ...e,
1542
1568
  // Only pass aria-labelledby from props, not context.
1543
1569
  // Context is used as a fallback below.
1544
- "aria-labelledby": o
1545
- }, r), u = E(oe);
1546
- !a["aria-label"] && !a["aria-labelledby"] && (e["aria-labelledby"] ? a["aria-labelledby"] = e["aria-labelledby"] : process.env.NODE_ENV !== "production" && console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));
1570
+ "aria-labelledby": a
1571
+ }, r), u = P(ae);
1572
+ !o["aria-label"] && !o["aria-labelledby"] && (e["aria-labelledby"] ? o["aria-labelledby"] = e["aria-labelledby"] : process.env.NODE_ENV !== "production" && console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.'));
1547
1573
  let i = G({
1548
1574
  defaultClassName: "react-aria-Dialog",
1549
1575
  className: e.className,
@@ -1555,18 +1581,18 @@ const $o = /* @__PURE__ */ be(function(e, r) {
1555
1581
  }
1556
1582
  });
1557
1583
  return /* @__PURE__ */ f.createElement("section", {
1558
- ...F(e),
1559
- ...a,
1584
+ ...K(e),
1585
+ ...o,
1560
1586
  ...i,
1561
1587
  ref: r,
1562
1588
  slot: e.slot || void 0
1563
- }, /* @__PURE__ */ f.createElement(L, {
1589
+ }, /* @__PURE__ */ f.createElement(_, {
1564
1590
  values: [
1565
1591
  [
1566
- Mr,
1592
+ Ar,
1567
1593
  {
1568
1594
  slots: {
1569
- [ce]: {},
1595
+ [de]: {},
1570
1596
  title: {
1571
1597
  ...s,
1572
1598
  level: 2
@@ -1575,10 +1601,10 @@ const $o = /* @__PURE__ */ be(function(e, r) {
1575
1601
  }
1576
1602
  ],
1577
1603
  [
1578
- Pr,
1604
+ Er,
1579
1605
  {
1580
1606
  slots: {
1581
- [ce]: {},
1607
+ [de]: {},
1582
1608
  close: {
1583
1609
  onPress: () => u == null ? void 0 : u.close()
1584
1610
  }
@@ -1589,21 +1615,22 @@ const $o = /* @__PURE__ */ be(function(e, r) {
1589
1615
  }, i.children));
1590
1616
  });
1591
1617
  export {
1592
- fo as $,
1593
- io as a,
1594
- lo as b,
1595
- uo as c,
1596
- co as d,
1597
- da as e,
1598
- fa as f,
1599
- ya as g,
1600
- ga as h,
1601
- oe as i,
1602
- ke as j,
1603
- Be as k,
1604
- $o as l,
1605
- ge as m,
1606
- dr as n,
1607
- Pa as o,
1608
- me as p
1618
+ ba as $,
1619
+ ca as a,
1620
+ fa as b,
1621
+ $a as c,
1622
+ pa as d,
1623
+ $o as e,
1624
+ bo as f,
1625
+ Eo as g,
1626
+ yo as h,
1627
+ ae as i,
1628
+ Fe as j,
1629
+ Ke as k,
1630
+ ma as l,
1631
+ xe as m,
1632
+ cr as n,
1633
+ Co as o,
1634
+ ve as p,
1635
+ Ve as q
1609
1636
  };