@midas-ds/components 10.4.0 → 11.0.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 (277) hide show
  1. package/{AccordionItem-BqsgiVWV.js → AccordionItem-BtDoammf.js} +7 -7
  2. package/{AccordionItem-BcsoC78F.cjs → AccordionItem-D2QYNgZS.cjs} +1 -1
  3. package/{BadgeContainer-DM8TdyMT.js → BadgeContainer-CKBIZWsc.js} +13 -13
  4. package/BadgeContainer-DWVHS5dn.cjs +1 -0
  5. package/{Breadcrumbs-D7eoibWk.js → Breadcrumbs-BBzSV4SK.js} +4 -4
  6. package/{Breadcrumbs-CfW5IuyE.cjs → Breadcrumbs-CFUryOhf.cjs} +1 -1
  7. package/{Button-BZUo7vsZ.js → Button-BjMaGya2.js} +2 -2
  8. package/{Button-CFYdzG0H.js → Button-CepQFEit.js} +4 -4
  9. package/{Button-BXY5ZhqI.cjs → Button-Dq6ugqxT.cjs} +1 -1
  10. package/Button.module-D-mPLRxe.js +14 -0
  11. package/Button.module-goCEz5qs.cjs +1 -0
  12. package/CHANGELOG.md +36 -0
  13. package/{Card-BaWSgtSF.js → Card-BRs1FKX5.js} +4 -4
  14. package/{Card-Cc1TNPcQ.cjs → Card-cdL5669N.cjs} +1 -1
  15. package/{CharacterCounter-cLhqPZlk.js → CharacterCounter-DpBDwvLw.js} +2 -2
  16. package/{Checkbox-LuUwTZ3W.js → Checkbox-EB_SCBEo.js} +3 -3
  17. package/{CheckboxGroup-CUA8_xSx.js → CheckboxGroup-CC9QGMuE.js} +7 -8
  18. package/CheckboxGroup-DhQX10rP.cjs +1 -0
  19. package/{Collection--62xKPm9.js → Collection-D2jVTmDW.js} +1 -1
  20. package/{ColorSchemeSwitch-Cwono7Ap.js → ColorSchemeSwitch-Cnyb9EKC.js} +42 -41
  21. package/ColorSchemeSwitch-owUryjYz.cjs +16 -0
  22. package/ComboBox-CiCB2e4W.cjs +1 -0
  23. package/{ComboBox-HLIAbb2q.js → ComboBox-Dnk8JMQ6.js} +65 -66
  24. package/{DateField-CnLEi7uX.js → DateField-BAS2v9aI.js} +4 -4
  25. package/{DateField-B3VjOSde.cjs → DateField-DleDM0Sy.cjs} +1 -1
  26. package/{DateInputDivider-Bi5N-C0c.js → DateInputDivider-B3oE1_tB.js} +39 -38
  27. package/DateInputDivider-ToFY-yjB.cjs +1 -0
  28. package/{DateRangePicker-CFOoGvut.js → DateRangePicker-Blej-jD0.js} +71 -72
  29. package/DateRangePicker-CYXWnCTq.cjs +6 -0
  30. package/{Dialog-pSSy1zwf.cjs → Dialog-B3R3WtL5.cjs} +1 -1
  31. package/{Dialog-SqciohRY.js → Dialog-BkUw6PlA.js} +7 -7
  32. package/{Dialog-CtVrVuMr.js → Dialog-DKHo0W9B.js} +443 -468
  33. package/Dialog-DtHk3eXI.cjs +1 -0
  34. package/{DragAndDrop-BoEd260f.cjs → DragAndDrop-CSg60YQE.cjs} +1 -1
  35. package/{DragAndDrop-DkSTL28C.js → DragAndDrop-DOXLfJaA.js} +1 -1
  36. package/Dropdown-CYakzdJg.cjs +6 -0
  37. package/{Dropdown-CkBp70BH.js → Dropdown-D6WCi_Ll.js} +19 -19
  38. package/FieldError-Bv3Q6ZP-.cjs +1 -0
  39. package/FieldError-CDCvUjK5.js +46 -0
  40. package/{FileUpload-B4rv-wke.js → FileUpload-BokzdXVc.js} +448 -562
  41. package/{FileUpload-BwMhyLjG.cjs → FileUpload-Bz9md5zc.cjs} +2 -2
  42. package/{FocusScope-D_hwN_TJ.js → FocusScope-BCsrRPqD.js} +1 -1
  43. package/{Group-CpkUzEAs.js → Group-B0vQfHDy.js} +1 -1
  44. package/{Heading-NxtGri2i.js → Heading-D2y_kiC0.js} +1 -1
  45. package/{InfoBanner-CVry6Y8i.cjs → InfoBanner-CzwbOdRG.cjs} +1 -1
  46. package/{InfoBanner-CBUoad7A.js → InfoBanner-D05poAe3.js} +5 -5
  47. package/{Input-LnjmFI1x.js → Input-n-Z20KbW.js} +1 -1
  48. package/{Label-TVxwGZ-O.js → Label-JLgFEbP9.js} +5 -5
  49. package/{Label-CNmTN1YY.cjs → Label-VO6CAFux.cjs} +1 -1
  50. package/Layout-BwLxIwtY.cjs +16 -0
  51. package/{Layout-amz9BESl.js → Layout-CcADAhds.js} +98 -98
  52. package/{Link-Bn8V3ZI0.js → Link-CibH8uRY.js} +3 -3
  53. package/Link-ESjrl63P.cjs +6 -0
  54. package/Link-ovwNVMfg.js +60 -0
  55. package/LinkButton-B6AWNiRn.cjs +6 -0
  56. package/LinkButton-BkZULm2a.js +69 -0
  57. package/{ListBox-BCz5-23H.cjs → ListBox-B0E1hdEt.cjs} +1 -1
  58. package/{ListBox-C-isJIHL.js → ListBox-CsxDGpCA.js} +11 -11
  59. package/{ListBoxButton-DNm3gvcT.cjs → ListBoxButton-BsuHFd_O.cjs} +1 -1
  60. package/{ListBoxButton-C_krklY0.js → ListBoxButton-DawRfuny.js} +1 -1
  61. package/{ListBoxSection-CfQZoURJ.cjs → ListBoxSection-C-Rz358T.cjs} +1 -1
  62. package/{ListBoxSection-BVR2xtOH.js → ListBoxSection-Cc2cx0_S.js} +6 -6
  63. package/{ListKeyboardDelegate-CY6t6y1t.js → ListKeyboardDelegate-C-sPNj0f.js} +2 -2
  64. package/{ListKeyboardDelegate-CPsZ7D83.cjs → ListKeyboardDelegate-ZKBk2IId.cjs} +1 -1
  65. package/{OverlayArrow-CfhSYL46.js → OverlayArrow-DB_aVTVM.js} +1 -1
  66. package/Popover--r4Zr4mO.cjs +1 -0
  67. package/{Popover-C8VY1YKi.js → Popover-DypW9ift.js} +13 -13
  68. package/PressResponder-4jE_HLu3.cjs +1 -0
  69. package/PressResponder-C3APAKsz.js +34 -0
  70. package/{ProgressBar-BNCjpcv8.js → ProgressBar-CFgcqHTR.js} +2 -2
  71. package/{ProgressBar-CcbxcWdT.cjs → ProgressBar-CJFNiudl.cjs} +1 -1
  72. package/Radio-CMH6pTWD.cjs +1 -0
  73. package/{Radio-CZYibh9r.js → Radio-DUBSD0kQ.js} +19 -20
  74. package/{RangeCalendar-B16b6tJD.js → RangeCalendar-BCruEq9d.js} +106 -109
  75. package/RangeCalendar-BY82hPRu.cjs +11 -0
  76. package/SearchField-QFyuaT-K.cjs +6 -0
  77. package/{SearchField-giwECmXS.js → SearchField-nwlyszwt.js} +47 -47
  78. package/Select-C5i-rIDh.cjs +1 -0
  79. package/{Select-mwaAv20X.js → Select-DKME5lZp.js} +107 -108
  80. package/SelectionManager-BJjqIWtf.cjs +1 -0
  81. package/{SelectionManager-zsWy3vsd.js → SelectionManager-BubxiIKu.js} +25 -24
  82. package/{Separator-Dn5LYN5I.js → Separator-CEZ5y7tZ.js} +4 -4
  83. package/{Separator-CxF-3jhR.cjs → Separator-DPLEx950.cjs} +1 -1
  84. package/Spinner-VSyPhiJ9.js +51 -0
  85. package/Spinner-vof0Y9Hh.cjs +6 -0
  86. package/{TabList-7VtCiXxX.cjs → TabList-BkSWzbDG.cjs} +1 -1
  87. package/{TabList-CthsM5h6.js → TabList-QApx8qRC.js} +90 -90
  88. package/{Table-BcQPvJT3.js → Table-B5Aine4F.js} +55 -54
  89. package/Table-DGYC-sDq.cjs +16 -0
  90. package/{Tag-Bs8T2Ei7.js → Tag-Byva_Xuy.js} +136 -135
  91. package/Tag-bYq-wf5D.cjs +1 -0
  92. package/{Text-DlKqpvSa.js → Text-BPcfhYQ9.js} +1 -1
  93. package/{Text-92cPh38G.js → Text-DcZqSUN9.js} +3 -3
  94. package/{TextArea-DBNAVWqL.js → TextArea-BhmdgD1w.js} +8 -8
  95. package/{TextArea-XJDfeXRs.cjs → TextArea-CY_tzBAJ.cjs} +1 -1
  96. package/{TextField-BdK9KEQ5.cjs → TextField-BAX93sq7.cjs} +1 -1
  97. package/{TextField-ByDJkig9.js → TextField-Dma22dnD.js} +19 -19
  98. package/{Toast-DPPvPhrF.js → Toast-CWt_mNIg.js} +5 -5
  99. package/{Toast-l1bKo2oA.cjs → Toast-DdmSvNaO.cjs} +1 -1
  100. package/{ToggleButtonGroup-DH8IgR4G.cjs → ToggleButtonGroup-DZ_wo0qx.cjs} +1 -1
  101. package/{ToggleButtonGroup-HOWNWtQZ.js → ToggleButtonGroup-HjvaTYD4.js} +4 -4
  102. package/{Tooltip-5mLWn_wO.js → Tooltip-DjNc93tV.js} +3 -3
  103. package/accordion/index.cjs +1 -1
  104. package/accordion/index.js +1 -1
  105. package/arrow-right-BGd86zzR.cjs +6 -0
  106. package/{arrow-right-Dg8sttFO.js → arrow-right-uemUGIg8.js} +5 -5
  107. package/assets/BadgeContainer.css +1 -1
  108. package/assets/Button.css +1 -1
  109. package/assets/FileUpload.css +1 -1
  110. package/assets/LinkButton.css +1 -1
  111. package/assets/Popover.css +1 -1
  112. package/assets/TabList.css +1 -1
  113. package/assets/Tag.css +1 -1
  114. package/badge/index.cjs +1 -1
  115. package/badge/index.js +1 -1
  116. package/breadcrumbs/index.cjs +1 -1
  117. package/breadcrumbs/index.js +1 -1
  118. package/button/index.cjs +1 -1
  119. package/button/index.js +1 -1
  120. package/calendar/index.cjs +1 -1
  121. package/calendar/index.js +1 -1
  122. package/card/Card.d.ts +1 -1
  123. package/card/index.cjs +1 -1
  124. package/card/index.js +1 -1
  125. package/character-counter/index.js +1 -1
  126. package/check-B0aKTFe5.cjs +6 -0
  127. package/check-B5h1DvDs.js +11 -0
  128. package/checkbox/index.cjs +1 -1
  129. package/checkbox/index.js +2 -2
  130. package/chevron-down-5hFlg_lR.cjs +6 -0
  131. package/chevron-down-DmZMdOiC.js +11 -0
  132. package/{circle-check-B9HYcH7Z.js → circle-check-BErh6TKu.js} +9 -9
  133. package/circle-check-OVUGxwp9.cjs +11 -0
  134. package/color-scheme-switch/index.cjs +1 -1
  135. package/color-scheme-switch/index.js +1 -1
  136. package/combobox/index.cjs +1 -1
  137. package/combobox/index.js +1 -1
  138. package/createLucideIcon-CTVXwe6i.cjs +21 -0
  139. package/createLucideIcon-XRdN60yz.js +94 -0
  140. package/date-field/index.cjs +1 -1
  141. package/date-field/index.js +2 -2
  142. package/date-picker/index.cjs +1 -1
  143. package/date-picker/index.js +1 -1
  144. package/dropdown/index.cjs +1 -1
  145. package/dropdown/index.js +1 -1
  146. package/field-error/index.cjs +1 -1
  147. package/field-error/index.js +1 -1
  148. package/file-upload/FileUpload.d.ts +3 -14
  149. package/file-upload/index.cjs +1 -1
  150. package/file-upload/index.d.ts +1 -1
  151. package/file-upload/index.js +3 -2
  152. package/{getScrollParent-CsZ9ciml.cjs → getScrollParent-DuKmPmUa.cjs} +1 -1
  153. package/{getScrollParent-CT_L9LUr.js → getScrollParent-Ru2U2LlM.js} +1 -1
  154. package/heading/index.js +1 -1
  155. package/index.cjs +1 -1
  156. package/index.js +97 -96
  157. package/{info-BZwphdye.js → info-CPK1vbOJ.js} +5 -5
  158. package/info-Dj6SyPex.cjs +6 -0
  159. package/info-banner/index.cjs +1 -1
  160. package/info-banner/index.js +1 -1
  161. package/label/index.cjs +1 -1
  162. package/label/index.js +1 -1
  163. package/layout/index.cjs +1 -1
  164. package/layout/index.js +1 -1
  165. package/link/Link.d.ts +1 -1
  166. package/link/index.cjs +1 -1
  167. package/link/index.js +2 -2
  168. package/link-button/LinkButton.d.ts +1 -1
  169. package/link-button/index.cjs +1 -1
  170. package/link-button/index.js +2 -2
  171. package/list-box/index.cjs +1 -1
  172. package/list-box/index.js +2 -2
  173. package/modal/index.cjs +1 -1
  174. package/modal/index.js +2 -2
  175. package/package.json +1 -1
  176. package/popover/index.cjs +1 -1
  177. package/popover/index.js +1 -1
  178. package/progress-bar/index.cjs +1 -1
  179. package/progress-bar/index.js +1 -1
  180. package/radio/index.cjs +1 -1
  181. package/radio/index.js +1 -1
  182. package/scrollIntoView-ClEACHUk.js +57 -0
  183. package/scrollIntoView-DRSoJp89.cjs +1 -0
  184. package/search-field/index.cjs +1 -1
  185. package/search-field/index.js +1 -1
  186. package/select/index.cjs +1 -1
  187. package/select/index.js +1 -1
  188. package/spinner/index.cjs +1 -1
  189. package/spinner/index.js +1 -1
  190. package/{square-arrow-out-up-right-BkyqV2PN.js → square-arrow-out-up-right-ok0A3Ovo.js} +4 -4
  191. package/square-arrow-out-up-right-xCFdJTzY.cjs +6 -0
  192. package/table/index.cjs +1 -1
  193. package/table/index.js +1 -1
  194. package/tabs/index.cjs +1 -1
  195. package/tabs/index.js +1 -1
  196. package/tag/index.cjs +1 -1
  197. package/tag/index.js +1 -1
  198. package/text/index.js +1 -1
  199. package/textfield/index.cjs +1 -1
  200. package/textfield/index.js +1 -1
  201. package/theme/index.cjs +1 -1
  202. package/theme/index.d.ts +1 -0
  203. package/theme/index.js +2 -2
  204. package/theme/tokens.d.ts +1 -0
  205. package/toast/index.cjs +1 -1
  206. package/toast/index.js +1 -1
  207. package/toggle-button/index.cjs +1 -1
  208. package/toggle-button/index.js +1 -1
  209. package/{tokens-BghDnMdO.cjs → tokens-BF-dPard.cjs} +1 -1
  210. package/{tokens-fEwCQXDv.js → tokens-r1r3wC04.js} +4 -3
  211. package/tooltip/index.js +1 -1
  212. package/{triangle-alert-wxyxspAl.js → triangle-alert-B_qAPmWC.js} +5 -5
  213. package/triangle-alert-BviJNFjf.cjs +6 -0
  214. package/{useButton-1-Jf-oHj.js → useButton-BoIV3kDJ.js} +5 -5
  215. package/{useDateFormatter-BVCkxVdw.js → useDateFormatter-C7BJgoDR.js} +1 -1
  216. package/useDescription-CPo72trh.cjs +1 -0
  217. package/useDescription-DYfKjGGU.js +32 -0
  218. package/{useField-BEBXv5Mh.js → useField-CefQB81E.js} +1 -1
  219. package/{useFilter-e2oIVF_O.cjs → useFilter-BhM2yVO3.cjs} +1 -1
  220. package/{useFilter-CousKe2K.js → useFilter-DginflOU.js} +1 -1
  221. package/{useFocusable-ChPA2Jc7.js → useFocusable-BjE42axF.js} +7 -7
  222. package/{useHasTabbableChild-BE81d_ab.js → useHasTabbableChild-DP62kzkG.js} +1 -1
  223. package/{useHighlightSelectionDescription-BfR_vGOe.cjs → useHighlightSelectionDescription-DmbDkFGY.cjs} +1 -1
  224. package/{useHighlightSelectionDescription-D73hrkmn.js → useHighlightSelectionDescription-xr_16pKd.js} +2 -2
  225. package/{useListState-CebsX_1d.js → useListState-DNB7JWoj.js} +1 -1
  226. package/{useListState-DymkJGDF.cjs → useListState-wLau6fXo.cjs} +1 -1
  227. package/{usePress-DuR4pVsE.js → usePress-BW47IcyU.js} +34 -34
  228. package/{useSingleSelectListState-BLXvGjLI.js → useSingleSelectListState-B0OMoHd_.js} +1 -1
  229. package/{useSingleSelectListState-BPhlCU26.cjs → useSingleSelectListState-DlO5H9N-.cjs} +1 -1
  230. package/{useTextField-C-sUypsx.js → useTextField-DjxayZsV.js} +2 -2
  231. package/{utils-DJhAJHk_.js → utils-KLjWgdLR.js} +5 -5
  232. package/{x-JK7i-TQC.js → x-C2xUHAEl.js} +5 -5
  233. package/x-rV-nu490.cjs +6 -0
  234. package/BadgeContainer-I1XA3OCl.cjs +0 -1
  235. package/Button.module-DEQtBYe5.cjs +0 -1
  236. package/Button.module-tti8HGxs.js +0 -14
  237. package/CheckboxGroup-DmUOM0xl.cjs +0 -1
  238. package/ColorSchemeSwitch-DDXdSzqg.cjs +0 -16
  239. package/ComboBox-BBC7jhnm.cjs +0 -1
  240. package/DateInputDivider-3BvwXXa9.cjs +0 -1
  241. package/DateRangePicker-BPlZ12r8.cjs +0 -6
  242. package/Dialog-CSnN6baf.cjs +0 -1
  243. package/Dropdown-DAsVShlt.cjs +0 -6
  244. package/FieldError-B3YFj-an.js +0 -23
  245. package/FieldError-BbR-29BM.js +0 -28
  246. package/FieldError-MVsU-Mgw.cjs +0 -1
  247. package/FieldError-bRTpchvr.cjs +0 -1
  248. package/Layout-Dw-oCqxd.cjs +0 -16
  249. package/Link-D92ftFi2.cjs +0 -6
  250. package/Link-DegonJfl.js +0 -59
  251. package/LinkButton-CckYzfJ8.js +0 -69
  252. package/LinkButton-DKZ4z6zu.cjs +0 -6
  253. package/Popover-CnAsw3wI.cjs +0 -1
  254. package/Radio-B2zfEFdq.cjs +0 -1
  255. package/RangeCalendar-C1LFeOVk.cjs +0 -11
  256. package/SearchField-CML0kjtn.cjs +0 -6
  257. package/Select-DKey6CeS.cjs +0 -1
  258. package/SelectionManager-D0jYUYcy.cjs +0 -1
  259. package/Spinner-CbJ6YAz-.js +0 -53
  260. package/Spinner-yHcy8YHC.cjs +0 -6
  261. package/Table-DkvNp6xm.cjs +0 -16
  262. package/Tag-CFWZ2LQW.cjs +0 -1
  263. package/arrow-right-QJ2gXPKQ.cjs +0 -6
  264. package/check-CLF6Yxza.js +0 -11
  265. package/check-D_KoootC.cjs +0 -6
  266. package/chevron-down-Cd1bkzXT.js +0 -13
  267. package/chevron-down-jl83cllc.cjs +0 -6
  268. package/circle-check-BGo8gML8.cjs +0 -11
  269. package/createLucideIcon-Cg_wkoIA.cjs +0 -21
  270. package/createLucideIcon-DeWljiyi.js +0 -79
  271. package/file-upload/intl/translations.json.d.ts +0 -17
  272. package/info-CIEIENo6.cjs +0 -6
  273. package/scrollIntoView-BLnsPvFA.js +0 -87
  274. package/scrollIntoView-joIyo-Jt.cjs +0 -1
  275. package/square-arrow-out-up-right-V4Gd08uI.cjs +0 -6
  276. package/triangle-alert-DJW8U7jL.cjs +0 -6
  277. package/x-H8Zrx8-x.cjs +0 -6
@@ -1,67 +1,43 @@
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";
1
+ import { e as Pr } from "./Button-CepQFEit.js";
2
+ import { $ as re, a as j, f as L, c as Er, b as Ke, g as de, h as Dr, d as Cr } from "./utils-KLjWgdLR.js";
3
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";
4
+ import { h as Mr, e as wr, d as Sr, a as Te, b as kr, c as Br, f as Fr, g as Oe } from "./OverlayArrow-DB_aVTVM.js";
5
+ import { $ as Kr, b as Tr, c as Or, d as Re, e as Rr, g as Ir } from "./Collection-D2jVTmDW.js";
6
+ import { $ as Nr, a as Lr, b as Ce, c as zr, d as _r } from "./Separator-CEZ5y7tZ.js";
7
+ import f, { useRef as k, useEffect as z, useState as B, useMemo as V, useContext as E, useCallback as pe, forwardRef as be, createContext as D } from "react";
8
+ import { $ as Hr } from "./Text-DcZqSUN9.js";
9
+ import { d as Ae, c as oe, $ as W, e as ce, a as G, b as Q } from "./mergeProps-C1U1OIeJ.js";
10
+ import { $ as F } from "./filterDOMProps-D6KHYVBX.js";
11
+ import { l as Ur, d as Vr, $ as Ie, a as Wr, b as Ne } from "./SelectionManager-BubxiIKu.js";
12
+ import { a as jr, $ as Le } from "./PressResponder-C3APAKsz.js";
13
+ import { l as Gr, $ as ze, a as Me, c as qr } from "./useHover-DQvJ3Y-W.js";
14
+ import { b as Zr, m as we } from "./utils-CoCR_Fce.js";
16
15
  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({
16
+ import { c as Jr, b as Yr, d as Xr } from "./usePress-BW47IcyU.js";
17
+ import { f as Qr, b as fe } from "./useFocusable-BjE42axF.js";
18
+ import { $ as eo } from "./useControlledState-u436Wbp1.js";
19
+ import { c as to, a as He } from "./FocusScope-BCsrRPqD.js";
20
+ import ro from "react-dom";
21
+ import { $ as oo } from "./SSRProvider-40TXmsUG.js";
22
+ import { b as ao } from "./Hidden-C9KWUR7b.js";
23
+ import { $ as no } from "./context-CGNJ3grH.js";
24
+ import { $ as so } from "./useFocusWithin-T1ifEM_s.js";
25
+ import { $ as Ue } from "./getScrollParent-Ru2U2LlM.js";
26
+ import { $ as lo } from "./useLabels-LrKQiY11.js";
27
+ import { $ as io } from "./VisuallyHidden-CYfmTSCD.js";
28
+ function uo(t) {
29
+ let { ref: e, onInteractOutside: r, isDisabled: a, onInteractOutsideStart: o } = t, s = k({
54
30
  isPointerDown: !1,
55
31
  ignoreEmulatedMouseEvents: !1
56
- }), u = Me((n) => {
32
+ }), u = Ae((n) => {
57
33
  r && Y(n, e) && (o && o(n), s.current.isPointerDown = !0);
58
- }), i = Me((n) => {
34
+ }), i = Ae((n) => {
59
35
  r && r(n);
60
36
  });
61
- F(() => {
37
+ z(() => {
62
38
  let n = s.current;
63
39
  if (a) return;
64
- const d = e.current, l = eo(d);
40
+ const d = e.current, l = Zr(d);
65
41
  if (typeof PointerEvent < "u") {
66
42
  let $ = (p) => {
67
43
  n.isPointerDown && Y(p, e) && i(p), n.isPointerDown = !1;
@@ -94,37 +70,37 @@ function Y(t, e) {
94
70
  }
95
71
  return e.current ? !t.composedPath().includes(e.current) : !1;
96
72
  }
97
- const w = [];
98
- function $o(t, e) {
73
+ const A = [];
74
+ function co(t, e) {
99
75
  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);
76
+ z(() => {
77
+ if (o && !A.includes(e))
78
+ return A.push(e), () => {
79
+ let b = A.indexOf(e);
80
+ b >= 0 && A.splice(b, 1);
105
81
  };
106
82
  }, [
107
83
  o,
108
84
  e
109
85
  ]);
110
86
  let n = () => {
111
- w[w.length - 1] === e && r && r();
87
+ A[A.length - 1] === e && r && r();
112
88
  }, d = (b) => {
113
- (!i || i(b.target)) && w[w.length - 1] === e && (b.stopPropagation(), b.preventDefault());
89
+ (!i || i(b.target)) && A[A.length - 1] === e && (b.stopPropagation(), b.preventDefault());
114
90
  }, l = (b) => {
115
- (!i || i(b.target)) && (w[w.length - 1] === e && (b.stopPropagation(), b.preventDefault()), n());
91
+ (!i || i(b.target)) && (A[A.length - 1] === e && (b.stopPropagation(), b.preventDefault()), n());
116
92
  }, $ = (b) => {
117
93
  b.key === "Escape" && !u && !b.nativeEvent.isComposing && (b.stopPropagation(), b.preventDefault(), n());
118
94
  };
119
- fo({
95
+ uo({
120
96
  ref: e,
121
97
  onInteractOutside: s && o ? l : void 0,
122
98
  onInteractOutsideStart: d
123
99
  });
124
- let { focusWithinProps: p } = lo({
100
+ let { focusWithinProps: p } = so({
125
101
  isDisabled: !a,
126
102
  onBlurWithin: (b) => {
127
- !b.relatedTarget || ro(b.relatedTarget) || (!i || i(b.relatedTarget)) && (r == null || r());
103
+ !b.relatedTarget || to(b.relatedTarget) || (!i || i(b.relatedTarget)) && (r == null || r());
128
104
  }
129
105
  }), c = (b) => {
130
106
  b.target === b.currentTarget && b.preventDefault();
@@ -139,9 +115,9 @@ function $o(t, e) {
139
115
  }
140
116
  };
141
117
  }
142
- function We(t, e, r) {
118
+ function Ve(t, e, r) {
143
119
  let { type: a } = t, { isOpen: o } = e;
144
- F(() => {
120
+ z(() => {
145
121
  r && r.current && Mr.set(r.current, e.close);
146
122
  });
147
123
  let s;
@@ -159,7 +135,7 @@ function We(t, e, r) {
159
135
  }
160
136
  };
161
137
  }
162
- const ie = typeof document < "u" && window.visualViewport, po = /* @__PURE__ */ new Set([
138
+ const ie = typeof document < "u" && window.visualViewport, fo = /* @__PURE__ */ new Set([
163
139
  "checkbox",
164
140
  "radio",
165
141
  "range",
@@ -171,25 +147,25 @@ const ie = typeof document < "u" && window.visualViewport, po = /* @__PURE__ */
171
147
  "reset"
172
148
  ]);
173
149
  let X = 0, ue;
174
- function bo(t = {}) {
150
+ function $o(t = {}) {
175
151
  let { isDisabled: e } = t;
176
- j(() => {
152
+ W(() => {
177
153
  if (!e)
178
- return X++, X === 1 && (Xr() ? ue = go() : ue = mo()), () => {
154
+ return X++, X === 1 && (Gr() ? ue = bo() : ue = po()), () => {
179
155
  X--, X === 0 && ue();
180
156
  };
181
157
  }, [
182
158
  e
183
159
  ]);
184
160
  }
185
- function mo() {
161
+ function po() {
186
162
  let t = window.innerWidth - document.documentElement.clientWidth;
187
163
  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"));
164
+ ("scrollbarGutter" in document.documentElement.style ? S(document.documentElement, "scrollbarGutter", "stable") : S(document.documentElement, "paddingRight", `${t}px`)), S(document.documentElement, "overflow", "hidden"));
189
165
  }
190
- function go() {
166
+ function bo() {
191
167
  let t, e, r = (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"));
168
+ t = Ue(d.target, !0), !(t === document.documentElement && t === document.body) && t instanceof HTMLElement && window.getComputedStyle(t).overscrollBehavior === "auto" && (e = S(t, "overscrollBehavior", "contain"));
193
169
  }, a = (d) => {
194
170
  if (!t || t === document.documentElement || t === document.body) {
195
171
  d.preventDefault();
@@ -200,10 +176,10 @@ function go() {
200
176
  e && e();
201
177
  }, s = (d) => {
202
178
  let l = d.target;
203
- vo(l) && (i(), l.style.transform = "translateY(-2000px)", requestAnimationFrame(() => {
179
+ mo(l) && (i(), l.style.transform = "translateY(-2000px)", requestAnimationFrame(() => {
204
180
  l.style.transform = "", ie && (ie.height < window.innerHeight ? requestAnimationFrame(() => {
205
- Be(l);
206
- }) : ie.addEventListener("resize", () => Be(l), {
181
+ Se(l);
182
+ }) : ie.addEventListener("resize", () => Se(l), {
207
183
  once: !0
208
184
  }));
209
185
  }));
@@ -212,35 +188,35 @@ function go() {
212
188
  let d = () => {
213
189
  window.scrollTo(0, 0);
214
190
  }, l = window.pageXOffset, $ = window.pageYOffset;
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`), () => {
191
+ u = ce(H(window, "scroll", d), S(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`), S(document.documentElement, "overflow", "hidden"), S(document.body, "marginTop", `-${$}px`), () => {
216
192
  window.scrollTo(l, $);
217
193
  }), window.scrollTo(0, 0);
218
- }, n = ce(V(document, "touchstart", r, {
194
+ }, n = ce(H(document, "touchstart", r, {
219
195
  passive: !1,
220
196
  capture: !0
221
- }), V(document, "touchmove", a, {
197
+ }), H(document, "touchmove", a, {
222
198
  passive: !1,
223
199
  capture: !0
224
- }), V(document, "touchend", o, {
200
+ }), H(document, "touchend", o, {
225
201
  passive: !1,
226
202
  capture: !0
227
- }), V(document, "focus", s, !0));
203
+ }), H(document, "focus", s, !0));
228
204
  return () => {
229
205
  e == null || e(), u == null || u(), n();
230
206
  };
231
207
  }
232
- function k(t, e, r) {
208
+ function S(t, e, r) {
233
209
  let a = t.style[e];
234
210
  return t.style[e] = r, () => {
235
211
  t.style[e] = a;
236
212
  };
237
213
  }
238
- function V(t, e, r, a) {
214
+ function H(t, e, r, a) {
239
215
  return t.addEventListener(e, r, a), () => {
240
216
  t.removeEventListener(e, r, a);
241
217
  };
242
218
  }
243
- function Be(t) {
219
+ function Se(t) {
244
220
  let e = document.scrollingElement || document.documentElement, r = t;
245
221
  for (; r && r !== e; ) {
246
222
  let a = Ue(r);
@@ -251,190 +227,190 @@ function Be(t) {
251
227
  r = a.parentElement;
252
228
  }
253
229
  }
254
- function vo(t) {
255
- return t instanceof HTMLInputElement && !po.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
230
+ function mo(t) {
231
+ return t instanceof HTMLInputElement && !fo.has(t.type) || t instanceof HTMLTextAreaElement || t instanceof HTMLElement && t.isContentEditable;
256
232
  }
233
+ var We = {};
234
+ We = {
235
+ dismiss: "تجاهل"
236
+ };
257
237
  var je = {};
258
238
  je = {
259
- dismiss: "تجاهل"
239
+ dismiss: "Отхвърляне"
260
240
  };
261
241
  var Ge = {};
262
242
  Ge = {
263
- dismiss: "Отхвърляне"
243
+ dismiss: "Odstranit"
264
244
  };
265
245
  var qe = {};
266
246
  qe = {
267
- dismiss: "Odstranit"
247
+ dismiss: "Luk"
268
248
  };
269
249
  var Ze = {};
270
250
  Ze = {
271
- dismiss: "Luk"
251
+ dismiss: "Schließen"
272
252
  };
273
253
  var Je = {};
274
254
  Je = {
275
- dismiss: "Schließen"
255
+ dismiss: "Απόρριψη"
276
256
  };
277
257
  var Ye = {};
278
258
  Ye = {
279
- dismiss: "Απόρριψη"
259
+ dismiss: "Dismiss"
280
260
  };
281
261
  var Xe = {};
282
262
  Xe = {
283
- dismiss: "Dismiss"
263
+ dismiss: "Descartar"
284
264
  };
285
265
  var Qe = {};
286
266
  Qe = {
287
- dismiss: "Descartar"
267
+ dismiss: "Lõpeta"
288
268
  };
289
269
  var et = {};
290
270
  et = {
291
- dismiss: "Lõpeta"
271
+ dismiss: "Hylkää"
292
272
  };
293
273
  var tt = {};
294
274
  tt = {
295
- dismiss: "Hylkää"
275
+ dismiss: "Rejeter"
296
276
  };
297
277
  var rt = {};
298
278
  rt = {
299
- dismiss: "Rejeter"
279
+ dismiss: "התעלם"
300
280
  };
301
281
  var ot = {};
302
282
  ot = {
303
- dismiss: "התעלם"
283
+ dismiss: "Odbaci"
304
284
  };
305
285
  var at = {};
306
286
  at = {
307
- dismiss: "Odbaci"
287
+ dismiss: "Elutasítás"
308
288
  };
309
289
  var nt = {};
310
290
  nt = {
311
- dismiss: "Elutasítás"
291
+ dismiss: "Ignora"
312
292
  };
313
293
  var st = {};
314
294
  st = {
315
- dismiss: "Ignora"
295
+ dismiss: "閉じる"
316
296
  };
317
297
  var lt = {};
318
298
  lt = {
319
- dismiss: "閉じる"
299
+ dismiss: "무시"
320
300
  };
321
301
  var it = {};
322
302
  it = {
323
- dismiss: "무시"
303
+ dismiss: "Atmesti"
324
304
  };
325
305
  var ut = {};
326
306
  ut = {
327
- dismiss: "Atmesti"
307
+ dismiss: "Nerādīt"
328
308
  };
329
309
  var dt = {};
330
310
  dt = {
331
- dismiss: "Nerādīt"
311
+ dismiss: "Lukk"
332
312
  };
333
313
  var ct = {};
334
314
  ct = {
335
- dismiss: "Lukk"
315
+ dismiss: "Negeren"
336
316
  };
337
317
  var ft = {};
338
318
  ft = {
339
- dismiss: "Negeren"
319
+ dismiss: "Zignoruj"
340
320
  };
341
321
  var $t = {};
342
322
  $t = {
343
- dismiss: "Zignoruj"
323
+ dismiss: "Descartar"
344
324
  };
345
325
  var pt = {};
346
326
  pt = {
347
- dismiss: "Descartar"
327
+ dismiss: "Dispensar"
348
328
  };
349
329
  var bt = {};
350
330
  bt = {
351
- dismiss: "Dispensar"
331
+ dismiss: "Revocare"
352
332
  };
353
333
  var mt = {};
354
334
  mt = {
355
- dismiss: "Revocare"
335
+ dismiss: "Пропустить"
356
336
  };
357
337
  var gt = {};
358
338
  gt = {
359
- dismiss: "Пропустить"
339
+ dismiss: "Zrušiť"
360
340
  };
361
341
  var vt = {};
362
342
  vt = {
363
- dismiss: "Zrušiť"
343
+ dismiss: "Opusti"
364
344
  };
365
345
  var xt = {};
366
346
  xt = {
367
- dismiss: "Opusti"
347
+ dismiss: "Odbaci"
368
348
  };
369
349
  var yt = {};
370
350
  yt = {
371
- dismiss: "Odbaci"
351
+ dismiss: "Avvisa"
372
352
  };
373
353
  var ht = {};
374
354
  ht = {
375
- dismiss: "Avvisa"
355
+ dismiss: "Kapat"
376
356
  };
377
357
  var Pt = {};
378
358
  Pt = {
379
- dismiss: "Kapat"
359
+ dismiss: "Скасувати"
380
360
  };
381
361
  var Et = {};
382
362
  Et = {
383
- dismiss: "Скасувати"
363
+ dismiss: "取消"
384
364
  };
385
365
  var Dt = {};
386
366
  Dt = {
387
- dismiss: "取消"
367
+ dismiss: "關閉"
388
368
  };
389
369
  var Ct = {};
390
370
  Ct = {
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,
407
- "hr-HR": at,
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) {
371
+ "ar-AE": We,
372
+ "bg-BG": je,
373
+ "cs-CZ": Ge,
374
+ "da-DK": qe,
375
+ "de-DE": Ze,
376
+ "el-GR": Je,
377
+ "en-US": Ye,
378
+ "es-ES": Xe,
379
+ "et-EE": Qe,
380
+ "fi-FI": et,
381
+ "fr-FR": tt,
382
+ "he-IL": rt,
383
+ "hr-HR": ot,
384
+ "hu-HU": at,
385
+ "it-IT": nt,
386
+ "ja-JP": st,
387
+ "ko-KR": lt,
388
+ "lt-LT": it,
389
+ "lv-LV": ut,
390
+ "nb-NO": dt,
391
+ "nl-NL": ct,
392
+ "pl-PL": ft,
393
+ "pt-BR": $t,
394
+ "pt-PT": pt,
395
+ "ro-RO": bt,
396
+ "ru-RU": mt,
397
+ "sk-SK": gt,
398
+ "sl-SI": vt,
399
+ "sr-SP": xt,
400
+ "sv-SE": yt,
401
+ "tr-TR": ht,
402
+ "uk-UA": Pt,
403
+ "zh-CN": Et,
404
+ "zh-TW": Dt
405
+ };
406
+ function go(t) {
431
407
  return t && t.__esModule ? t.default : t;
432
408
  }
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
+ function ke(t) {
410
+ let { onDismiss: e, ...r } = t, a = _e(go(Ct), "@react-aria/overlays"), o = lo(r, a.format("dismiss")), s = () => {
435
411
  e && e();
436
412
  };
437
- return /* @__PURE__ */ f.createElement(uo, null, /* @__PURE__ */ f.createElement("button", {
413
+ return /* @__PURE__ */ f.createElement(io, null, /* @__PURE__ */ f.createElement("button", {
438
414
  ...o,
439
415
  tabIndex: -1,
440
416
  onClick: s,
@@ -444,8 +420,8 @@ function Fe(t) {
444
420
  }
445
421
  }));
446
422
  }
447
- let W = /* @__PURE__ */ new WeakMap(), h = [];
448
- function yo(t, e = document.body) {
423
+ let U = /* @__PURE__ */ new WeakMap(), h = [];
424
+ function vo(t, e = document.body) {
449
425
  let r = new Set(t), a = /* @__PURE__ */ new Set(), o = (n) => {
450
426
  for (let p of n.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) r.add(p);
451
427
  let d = (p) => {
@@ -463,8 +439,8 @@ function yo(t, e = document.body) {
463
439
  }
464
440
  }, s = (n) => {
465
441
  var d;
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
+ let l = (d = U.get(n)) !== null && d !== void 0 ? d : 0;
443
+ n.getAttribute("aria-hidden") === "true" && l === 0 || (l === 0 && n.setAttribute("aria-hidden", "true"), a.add(n), U.set(n, l + 1));
468
444
  };
469
445
  h.length && h[h.length - 1].disconnect(), o(e);
470
446
  let u = new MutationObserver((n) => {
@@ -498,40 +474,40 @@ function yo(t, e = document.body) {
498
474
  return h.push(i), () => {
499
475
  u.disconnect();
500
476
  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
+ let d = U.get(n);
478
+ d != null && (d === 1 ? (n.removeAttribute("aria-hidden"), U.delete(n)) : U.set(n, d - 1));
503
479
  }
504
480
  i === h[h.length - 1] ? (h.pop(), h.length && h[h.length - 1].observe()) : h.splice(h.indexOf(i), 1);
505
481
  };
506
482
  }
507
- function ho(t) {
483
+ function xo(t) {
508
484
  let e = h[h.length - 1];
509
485
  if (e && !e.visibleNodes.has(t))
510
486
  return e.visibleNodes.add(t), () => {
511
487
  e.visibleNodes.delete(t);
512
488
  };
513
489
  }
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
+ function yo(t, e) {
491
+ let { triggerRef: r, popoverRef: a, groupRef: o, isNonModal: s, isKeyboardDismissDisabled: u, shouldCloseOnInteractOutside: i, ...n } = t, d = n.trigger === "SubmenuTrigger", { overlayProps: l, underlayProps: $ } = co({
516
492
  isOpen: e.isOpen,
517
493
  onClose: e.close,
518
494
  shouldCloseOnBlur: !0,
519
495
  isDismissable: !s || d,
520
496
  isKeyboardDismissDisabled: u,
521
497
  shouldCloseOnInteractOutside: i
522
- }, o ?? a), { overlayProps: p, arrowProps: c, placement: b } = Sr({
498
+ }, o ?? a), { overlayProps: p, arrowProps: c, placement: b } = wr({
523
499
  ...n,
524
500
  targetRef: r,
525
501
  overlayRef: a,
526
502
  isOpen: e.isOpen,
527
503
  onClose: s && !d ? e.close : null
528
504
  });
529
- return bo({
505
+ return $o({
530
506
  isDisabled: s || !e.isOpen
531
- }), j(() => {
507
+ }), W(() => {
532
508
  if (e.isOpen && a.current) {
533
509
  var x, g;
534
- return s ? ho((x = o == null ? void 0 : o.current) !== null && x !== void 0 ? x : a.current) : yo([
510
+ return s ? xo((x = o == null ? void 0 : o.current) !== null && x !== void 0 ? x : a.current) : vo([
535
511
  (g = o == null ? void 0 : o.current) !== null && g !== void 0 ? g : a.current
536
512
  ]);
537
513
  }
@@ -541,21 +517,21 @@ function Po(t, e) {
541
517
  a,
542
518
  o
543
519
  ]), {
544
- popoverProps: H(l, p),
520
+ popoverProps: G(l, p),
545
521
  arrowProps: c,
546
522
  underlayProps: $,
547
523
  placement: b
548
524
  };
549
525
  }
550
526
  const At = /* @__PURE__ */ f.createContext(null);
551
- function Ke(t) {
552
- let e = ao(), { portalContainer: r = e ? null : document.body, isExiting: a } = t, [o, s] = B(!1), u = z(() => ({
527
+ function Be(t) {
528
+ let e = oo(), { portalContainer: r = e ? null : document.body, isExiting: a } = t, [o, s] = B(!1), u = V(() => ({
553
529
  contain: o,
554
530
  setContain: s
555
531
  }), [
556
532
  o,
557
533
  s
558
- ]), { getContainer: i } = kr();
534
+ ]), { getContainer: i } = Sr();
559
535
  if (!t.portalContainer && i && (r = i()), !r) return null;
560
536
  let n = t.children;
561
537
  return t.disableFocusManagement || (n = /* @__PURE__ */ f.createElement(He, {
@@ -563,11 +539,11 @@ function Ke(t) {
563
539
  contain: (t.shouldContainFocus || o) && !a
564
540
  }, n)), n = /* @__PURE__ */ f.createElement(At.Provider, {
565
541
  value: u
566
- }, /* @__PURE__ */ f.createElement(co, null, n)), /* @__PURE__ */ oo.createPortal(n, r);
542
+ }, /* @__PURE__ */ f.createElement(jr, null, n)), /* @__PURE__ */ ro.createPortal(n, r);
567
543
  }
568
- function Eo() {
569
- let t = P(At), e = t == null ? void 0 : t.setContain;
570
- j(() => {
544
+ function ho() {
545
+ let t = E(At), e = t == null ? void 0 : t.setContain;
546
+ W(() => {
571
547
  e == null || e(!0);
572
548
  }, [
573
549
  e
@@ -577,180 +553,180 @@ var Mt = {};
577
553
  Mt = {
578
554
  longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"
579
555
  };
556
+ var wt = {};
557
+ wt = {
558
+ longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"
559
+ };
580
560
  var St = {};
581
561
  St = {
582
- longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"
562
+ longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"
583
563
  };
584
564
  var kt = {};
585
565
  kt = {
586
- longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"
566
+ longPressMessage: "Langt tryk eller tryk Alt + pil ned for at åbne menuen"
587
567
  };
588
568
  var Bt = {};
589
569
  Bt = {
590
- longPressMessage: "Langt tryk eller tryk Alt + pil ned for at åbne menuen"
570
+ longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"
591
571
  };
592
572
  var Ft = {};
593
573
  Ft = {
594
- longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"
574
+ longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"
595
575
  };
596
576
  var Kt = {};
597
577
  Kt = {
598
- longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"
599
- };
600
- var Ot = {};
601
- Ot = {
602
578
  longPressMessage: "Long press or press Alt + ArrowDown to open menu"
603
579
  };
604
580
  var Tt = {};
605
581
  Tt = {
606
582
  longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"
607
583
  };
584
+ var Ot = {};
585
+ Ot = {
586
+ longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"
587
+ };
608
588
  var Rt = {};
609
589
  Rt = {
610
- longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"
590
+ longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"
611
591
  };
612
592
  var It = {};
613
593
  It = {
614
- longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"
594
+ longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."
615
595
  };
616
596
  var Nt = {};
617
597
  Nt = {
618
- longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."
598
+ longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"
619
599
  };
620
600
  var Lt = {};
621
601
  Lt = {
622
- longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"
602
+ longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"
623
603
  };
624
604
  var zt = {};
625
605
  zt = {
626
- longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"
606
+ longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"
627
607
  };
628
608
  var _t = {};
629
609
  _t = {
630
- longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"
610
+ longPressMessage: "Premere a lungo o premere Alt + Freccia giù per aprire il menu"
631
611
  };
632
612
  var Ht = {};
633
613
  Ht = {
634
- longPressMessage: "Premere a lungo o premere Alt + Freccia giù per aprire il menu"
614
+ longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く"
635
615
  };
636
616
  var Ut = {};
637
617
  Ut = {
638
- longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く"
618
+ longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"
639
619
  };
640
620
  var Vt = {};
641
621
  Vt = {
642
- longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"
622
+ longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."
643
623
  };
644
624
  var Wt = {};
645
625
  Wt = {
646
- longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite Alt + ArrowDown“."
626
+ longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"
647
627
  };
648
628
  var jt = {};
649
629
  jt = {
650
- longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"
630
+ longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen"
651
631
  };
652
632
  var Gt = {};
653
633
  Gt = {
654
- longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen"
634
+ longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"
655
635
  };
656
636
  var qt = {};
657
637
  qt = {
658
- longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"
638
+ longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"
659
639
  };
660
640
  var Zt = {};
661
641
  Zt = {
662
- longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"
642
+ longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"
663
643
  };
664
644
  var Jt = {};
665
645
  Jt = {
666
- longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"
646
+ longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"
667
647
  };
668
648
  var Yt = {};
669
649
  Yt = {
670
- longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"
650
+ longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"
671
651
  };
672
652
  var Xt = {};
673
653
  Xt = {
674
- longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"
654
+ longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"
675
655
  };
676
656
  var Qt = {};
677
657
  Qt = {
678
- longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"
658
+ longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"
679
659
  };
680
660
  var er = {};
681
661
  er = {
682
- longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"
662
+ longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"
683
663
  };
684
664
  var tr = {};
685
665
  tr = {
686
- longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"
666
+ longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"
687
667
  };
688
668
  var rr = {};
689
669
  rr = {
690
- longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"
670
+ longPressMessage: "Håll nedtryckt eller tryck Alt + pil nedåt för att öppna menyn"
691
671
  };
692
672
  var or = {};
693
673
  or = {
694
- longPressMessage: "Håll nedtryckt eller tryck Alt + pil nedåt för att öppna menyn"
674
+ longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"
695
675
  };
696
676
  var ar = {};
697
677
  ar = {
698
- longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"
678
+ longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"
699
679
  };
700
680
  var nr = {};
701
681
  nr = {
702
- longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"
682
+ longPressMessage: "长按或按 Alt + 向下方向键以打开菜单"
703
683
  };
704
684
  var sr = {};
705
685
  sr = {
706
- longPressMessage: "长按或按 Alt + 向下方向键以打开菜单"
686
+ longPressMessage: "長按或按 Alt+向下鍵以開啟功能表"
707
687
  };
708
688
  var lr = {};
709
689
  lr = {
710
- longPressMessage: "長按或按 Alt+向下鍵以開啟功能表"
711
- };
712
- var ir = {};
713
- ir = {
714
690
  "ar-AE": Mt,
715
- "bg-BG": St,
716
- "cs-CZ": kt,
717
- "da-DK": Bt,
718
- "de-DE": Ft,
719
- "el-GR": Kt,
720
- "en-US": Ot,
691
+ "bg-BG": wt,
692
+ "cs-CZ": St,
693
+ "da-DK": kt,
694
+ "de-DE": Bt,
695
+ "el-GR": Ft,
696
+ "en-US": Kt,
721
697
  "es-ES": Tt,
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,
744
- "tr-TR": ar,
745
- "uk-UA": nr,
746
- "zh-CN": sr,
747
- "zh-TW": lr
748
- };
749
- function Do(t) {
698
+ "et-EE": Ot,
699
+ "fi-FI": Rt,
700
+ "fr-FR": It,
701
+ "he-IL": Nt,
702
+ "hr-HR": Lt,
703
+ "hu-HU": zt,
704
+ "it-IT": _t,
705
+ "ja-JP": Ht,
706
+ "ko-KR": Ut,
707
+ "lt-LT": Vt,
708
+ "lv-LV": Wt,
709
+ "nb-NO": jt,
710
+ "nl-NL": Gt,
711
+ "pl-PL": qt,
712
+ "pt-BR": Zt,
713
+ "pt-PT": Jt,
714
+ "ro-RO": Yt,
715
+ "ru-RU": Xt,
716
+ "sk-SK": Qt,
717
+ "sl-SI": er,
718
+ "sr-SP": tr,
719
+ "sv-SE": rr,
720
+ "tr-TR": or,
721
+ "uk-UA": ar,
722
+ "zh-CN": nr,
723
+ "zh-TW": sr
724
+ };
725
+ function Po(t) {
750
726
  return t && t.__esModule ? t.default : t;
751
727
  }
752
- function Co(t, e, r) {
753
- let { type: a = "menu", isDisabled: o, trigger: s = "press" } = t, u = oe(), { triggerProps: i, overlayProps: n } = We({
728
+ function Eo(t, e, r) {
729
+ let { type: a = "menu", isDisabled: o, trigger: s = "press" } = t, u = oe(), { triggerProps: i, overlayProps: n } = Ve({
754
730
  type: a
755
731
  }, e, r), d = (c) => {
756
732
  if (!o && !(s === "longPress" && !c.altKey) && r && r.current)
@@ -767,7 +743,7 @@ function Co(t, e, r) {
767
743
  default:
768
744
  "continuePropagation" in c && c.continuePropagation();
769
745
  }
770
- }, l = _e(Do(ir), "@react-aria/menu"), { longPressProps: $ } = Vr({
746
+ }, l = _e(Po(lr), "@react-aria/menu"), { longPressProps: $ } = Ur({
771
747
  isDisabled: o || s !== "longPress",
772
748
  accessibilityDescription: l.format("longPressMessage"),
773
749
  onLongPressStart() {
@@ -779,10 +755,10 @@ function Co(t, e, r) {
779
755
  }), p = {
780
756
  preventFocusOnPress: !0,
781
757
  onPressStart(c) {
782
- c.pointerType !== "touch" && c.pointerType !== "keyboard" && !o && (ke(c.target), e.open(c.pointerType === "virtual" ? "first" : null));
758
+ c.pointerType !== "touch" && c.pointerType !== "keyboard" && !o && (we(c.target), e.open(c.pointerType === "virtual" ? "first" : null));
783
759
  },
784
760
  onPress(c) {
785
- c.pointerType === "touch" && !o && (ke(c.target), e.toggle());
761
+ c.pointerType === "touch" && !o && (we(c.target), e.toggle());
786
762
  }
787
763
  };
788
764
  return delete i.onPress, {
@@ -801,13 +777,13 @@ function Co(t, e, r) {
801
777
  }
802
778
  };
803
779
  }
804
- const ur = /* @__PURE__ */ new WeakMap();
805
- function wo(t, e, r) {
780
+ const ir = /* @__PURE__ */ new WeakMap();
781
+ function Do(t, e, r) {
806
782
  let { shouldFocusWrap: a = !0, onKeyDown: o, onKeyUp: s, ...u } = t;
807
783
  !t["aria-label"] && !t["aria-labelledby"] && process.env.NODE_ENV !== "production" && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
808
- let i = K(t, {
784
+ let i = F(t, {
809
785
  labelable: !0
810
- }), { listProps: n } = Lr({
786
+ }), { listProps: n } = Nr({
811
787
  ...u,
812
788
  ref: r,
813
789
  selectionManager: e.selectionManager,
@@ -816,12 +792,12 @@ function wo(t, e, r) {
816
792
  shouldFocusWrap: a,
817
793
  linkBehavior: "override"
818
794
  });
819
- return ur.set(e, {
795
+ return ir.set(e, {
820
796
  onClose: t.onClose,
821
797
  onAction: t.onAction,
822
798
  shouldUseVirtualFocus: t.shouldUseVirtualFocus
823
799
  }), {
824
- menuProps: H(i, {
800
+ menuProps: G(i, {
825
801
  onKeyDown: o,
826
802
  onKeyUp: s
827
803
  }, {
@@ -834,46 +810,46 @@ function wo(t, e, r) {
834
810
  })
835
811
  };
836
812
  }
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);
841
- var S;
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) => {
813
+ function Co(t, e, r) {
814
+ 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: K, onFocus: T, onFocusChange: q, onBlur: M, selectionManager: y = e.selectionManager } = t, P = !!i, _ = P && t["aria-expanded"] === "true";
815
+ var O;
816
+ let C = (O = t.isDisabled) !== null && O !== void 0 ? O : y.isDisabled(o);
817
+ var w;
818
+ let Z = (w = t.isSelected) !== null && w !== void 0 ? w : y.isSelected(o), R = ir.get(e), v = e.collection.getItem(o), I = t.onClose || R.onClose, cr = Jr(), ne = (m) => {
843
819
  var le;
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);
820
+ if (!P) {
821
+ if (!(v == null || (le = v.props) === null || le === void 0) && le.onAction ? v.props.onAction() : t.onAction && t.onAction(o), R.onAction) {
822
+ let hr = R.onAction;
823
+ hr(o);
848
824
  }
849
- m.target instanceof HTMLAnchorElement && v && fr.open(m.target, m, v.props.href, v.props.routerOptions);
825
+ m.target instanceof HTMLAnchorElement && v && cr.open(m.target, m, v.props.href, v.props.routerOptions);
850
826
  }
851
827
  }, se = "menuitem";
852
- E || (y.selectionMode === "single" ? se = "menuitemradio" : y.selectionMode === "multiple" && (se = "menuitemcheckbox"));
853
- let he = Q(), Pe = Q(), Ee = Q(), J = {
828
+ P || (y.selectionMode === "single" ? se = "menuitemradio" : y.selectionMode === "multiple" && (se = "menuitemcheckbox"));
829
+ let xe = Q(), ye = Q(), he = Q(), J = {
854
830
  id: a,
855
831
  "aria-disabled": C || void 0,
856
832
  role: se,
857
833
  "aria-label": t["aria-label"],
858
- "aria-labelledby": he,
834
+ "aria-labelledby": xe,
859
835
  "aria-describedby": [
860
- Pe,
861
- Ee
836
+ ye,
837
+ he
862
838
  ].filter(Boolean).join(" ") || void 0,
863
839
  "aria-controls": t["aria-controls"],
864
840
  "aria-haspopup": i,
865
841
  "aria-expanded": t["aria-expanded"]
866
842
  };
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
+ y.selectionMode !== "none" && !P && (J["aria-checked"] = Z), u && (J["aria-posinset"] = v == null ? void 0 : v.index, J["aria-setsize"] = Lr(e.collection));
844
+ let fr = (m) => {
869
845
  m.pointerType === "keyboard" && ne(m), n == null || n(m);
870
- }, De = () => {
871
- !E && N && (s ?? (y.selectionMode !== "multiple" || y.isLink(o))) && N();
846
+ }, Pe = () => {
847
+ !P && I && (s ?? (y.selectionMode !== "multiple" || y.isLink(o))) && I();
848
+ }, $r = (m) => {
849
+ m.pointerType === "mouse" && (ne(m), Pe()), d == null || d(m);
872
850
  }, pr = (m) => {
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({
851
+ m.pointerType !== "keyboard" && m.pointerType !== "mouse" && (ne(m), Pe()), l == null || l(m);
852
+ }, { itemProps: N, isFocused: Ee } = Vr({
877
853
  id: a,
878
854
  selectionManager: y,
879
855
  key: o,
@@ -885,22 +861,22 @@ function Ao(t, e, r) {
885
861
  // is slightly different from other collections because
886
862
  // actions are performed on key down rather than key up.
887
863
  linkBehavior: "none",
888
- shouldUseVirtualFocus: I.shouldUseVirtualFocus
889
- }), { pressProps: mr, isPressed: gr } = qr({
890
- onPressStart: $r,
891
- onPress: br,
892
- onPressUp: pr,
864
+ shouldUseVirtualFocus: R.shouldUseVirtualFocus
865
+ }), { pressProps: br, isPressed: mr } = Yr({
866
+ onPressStart: fr,
867
+ onPress: pr,
868
+ onPressUp: $r,
893
869
  onPressChange: $,
894
870
  onPressEnd: p,
895
871
  isDisabled: C
896
- }), { hoverProps: vr } = ze({
872
+ }), { hoverProps: gr } = ze({
897
873
  isDisabled: C,
898
874
  onHoverStart(m) {
899
- !Se() && !(U && i) && (y.setFocused(!0), y.setFocusedKey(o)), c == null || c(m);
875
+ !Me() && !(_ && i) && (y.setFocused(!0), y.setFocusedKey(o)), c == null || c(m);
900
876
  },
901
877
  onHoverChange: b,
902
878
  onHoverEnd: x
903
- }), { keyboardProps: xr } = Yr({
879
+ }), { keyboardProps: vr } = Qr({
904
880
  onKeyDown: (m) => {
905
881
  if (m.repeat) {
906
882
  m.continuePropagation();
@@ -908,64 +884,64 @@ function Ao(t, e, r) {
908
884
  }
909
885
  switch (m.key) {
910
886
  case " ":
911
- !C && y.selectionMode === "none" && !E && s !== !1 && N && N();
887
+ !C && y.selectionMode === "none" && !P && s !== !1 && I && I();
912
888
  break;
913
889
  case "Enter":
914
- !C && s !== !1 && !E && N && N();
890
+ !C && s !== !1 && !P && I && I();
915
891
  break;
916
892
  default:
917
- E || m.continuePropagation(), g == null || g(m);
893
+ P || m.continuePropagation(), g == null || g(m);
918
894
  break;
919
895
  }
920
896
  },
921
- onKeyUp: O
922
- }), { focusProps: yr } = Qr({
923
- onBlur: A,
897
+ onKeyUp: K
898
+ }), { focusProps: xr } = qr({
899
+ onBlur: M,
924
900
  onFocus: T,
925
901
  onFocusChange: q
926
- }), we = K(v == null ? void 0 : v.props);
927
- delete we.id;
928
- let hr = Zr(v == null ? void 0 : v.props);
902
+ }), De = F(v == null ? void 0 : v.props);
903
+ delete De.id;
904
+ let yr = Xr(v == null ? void 0 : v.props);
929
905
  return {
930
906
  menuItemProps: {
931
907
  ...J,
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,
908
+ ...G(
909
+ De,
910
+ yr,
911
+ P ? {
912
+ onFocus: N.onFocus,
913
+ "data-collection": N["data-collection"],
914
+ "data-key": N["data-key"]
915
+ } : N,
916
+ br,
917
+ gr,
941
918
  vr,
942
919
  xr,
943
- yr,
944
920
  // Prevent DOM focus from moving on mouse down when using virtual focus or this is a submenu/subdialog trigger.
945
- I.shouldUseVirtualFocus || E ? {
921
+ R.shouldUseVirtualFocus || P ? {
946
922
  onMouseDown: (m) => m.preventDefault()
947
923
  } : void 0
948
924
  ),
949
925
  // 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.
950
- tabIndex: L.tabIndex != null && U && !I.shouldUseVirtualFocus ? -1 : L.tabIndex
926
+ tabIndex: N.tabIndex != null && _ && !R.shouldUseVirtualFocus ? -1 : N.tabIndex
951
927
  },
952
928
  labelProps: {
953
- id: he
929
+ id: xe
954
930
  },
955
931
  descriptionProps: {
956
- id: Pe
932
+ id: ye
957
933
  },
958
934
  keyboardShortcutProps: {
959
- id: Ee
935
+ id: he
960
936
  },
961
- isFocused: Ce,
962
- isFocusVisible: Ce && y.isFocused && Se() && !U,
937
+ isFocused: Ee,
938
+ isFocusVisible: Ee && y.isFocused && Me() && !_,
963
939
  isSelected: Z,
964
- isPressed: gr,
940
+ isPressed: mr,
965
941
  isDisabled: C
966
942
  };
967
943
  }
968
- function Mo(t) {
944
+ function Ao(t) {
969
945
  let { heading: e, "aria-label": r } = t, a = oe();
970
946
  return {
971
947
  itemProps: {
@@ -985,15 +961,15 @@ function Mo(t) {
985
961
  }
986
962
  };
987
963
  }
988
- function So(t, e) {
964
+ function Mo(t, e) {
989
965
  let { role: r = "dialog" } = t, a = Q();
990
966
  a = t["aria-label"] ? void 0 : a;
991
- let o = M(!1);
992
- return F(() => {
967
+ let o = k(!1);
968
+ return z(() => {
993
969
  if (e.current && !e.current.contains(document.activeElement)) {
994
- $e(e.current);
970
+ fe(e.current);
995
971
  let s = setTimeout(() => {
996
- document.activeElement === e.current && (o.current = !0, e.current && (e.current.blur(), $e(e.current)), o.current = !1);
972
+ document.activeElement === e.current && (o.current = !0, e.current && (e.current.blur(), fe(e.current)), o.current = !1);
997
973
  }, 500);
998
974
  return () => {
999
975
  clearTimeout(s);
@@ -1001,9 +977,9 @@ function So(t, e) {
1001
977
  }
1002
978
  }, [
1003
979
  e
1004
- ]), Eo(), {
980
+ ]), ho(), {
1005
981
  dialogProps: {
1006
- ...K(t, {
982
+ ...F(t, {
1007
983
  labelable: !0
1008
984
  }),
1009
985
  role: r,
@@ -1021,7 +997,7 @@ function So(t, e) {
1021
997
  }
1022
998
  };
1023
999
  }
1024
- function ve(t) {
1000
+ function me(t) {
1025
1001
  let e = Te(t), [r, a] = B(null), [o, s] = B([]), u = () => {
1026
1002
  s([]), e.close();
1027
1003
  };
@@ -1049,7 +1025,7 @@ function ve(t) {
1049
1025
  }
1050
1026
  };
1051
1027
  }
1052
- class ko {
1028
+ class wo {
1053
1029
  *[Symbol.iterator]() {
1054
1030
  yield* this.iterable;
1055
1031
  }
@@ -1098,15 +1074,15 @@ class ko {
1098
1074
  this.lastKey = (u = o == null ? void 0 : o.key) !== null && u !== void 0 ? u : null;
1099
1075
  }
1100
1076
  }
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
+ function So(t) {
1078
+ let { onExpandedChange: e } = t, [r, a] = eo(t.expandedKeys ? new Set(t.expandedKeys) : void 0, t.defaultExpandedKeys ? new Set(t.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e), o = Ie(t), s = V(() => t.disabledKeys ? new Set(t.disabledKeys) : /* @__PURE__ */ new Set(), [
1103
1079
  t.disabledKeys
1104
- ]), u = jr(t, me((n) => new ko(n, {
1080
+ ]), u = Wr(t, pe((n) => new wo(n, {
1105
1081
  expandedKeys: r
1106
1082
  }), [
1107
1083
  r
1108
1084
  ]), null);
1109
- return F(() => {
1085
+ return z(() => {
1110
1086
  o.focusedKey != null && !u.getItem(o.focusedKey) && o.setFocusedKey(null);
1111
1087
  }, [
1112
1088
  u,
@@ -1116,19 +1092,19 @@ function Bo(t) {
1116
1092
  expandedKeys: r,
1117
1093
  disabledKeys: s,
1118
1094
  toggleKey: (n) => {
1119
- a(Fo(r, n));
1095
+ a(ko(r, n));
1120
1096
  },
1121
1097
  setExpandedKeys: a,
1122
- selectionManager: new Le(u, o)
1098
+ selectionManager: new Ne(u, o)
1123
1099
  };
1124
1100
  }
1125
- function Fo(t, e) {
1101
+ function ko(t, e) {
1126
1102
  let r = new Set(t);
1127
1103
  return r.has(e) ? r.delete(e) : r.add(e), r;
1128
1104
  }
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();
1105
+ const ge = /* @__PURE__ */ D(null), Fe = /* @__PURE__ */ D(null), da = /* @__PURE__ */ be(function(e, r) {
1106
+ [e, r] = re(e, r, ge);
1107
+ let a = E(ae), o = Te(e), s = e.isOpen != null || e.defaultOpen != null || !a ? o : a, u = kr(r, s.isOpen) || e.isExiting || !1, i = ao(), { direction: n } = no();
1132
1108
  if (i) {
1133
1109
  let d = e.children;
1134
1110
  return typeof d == "function" && (d = d({
@@ -1139,7 +1115,7 @@ const xe = /* @__PURE__ */ D(null), Oe = /* @__PURE__ */ D(null), ca = /* @__PUR
1139
1115
  defaultChildren: null
1140
1116
  })), /* @__PURE__ */ f.createElement(f.Fragment, null, d);
1141
1117
  }
1142
- return s && !s.isOpen && !u ? null : /* @__PURE__ */ f.createElement(Ko, {
1118
+ return s && !s.isOpen && !u ? null : /* @__PURE__ */ f.createElement(Bo, {
1143
1119
  ...e,
1144
1120
  triggerRef: e.triggerRef,
1145
1121
  state: s,
@@ -1148,84 +1124,84 @@ const xe = /* @__PURE__ */ D(null), Oe = /* @__PURE__ */ D(null), ca = /* @__PUR
1148
1124
  dir: n
1149
1125
  });
1150
1126
  });
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(() => {
1127
+ function Bo({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts: a, ...o }) {
1128
+ let s = k(null), [u, i] = B(0), n = k(null), d = E(Fe), l = d && o.trigger === "SubmenuTrigger";
1129
+ W(() => {
1154
1130
  s.current && t.isOpen && i(s.current.getBoundingClientRect().width);
1155
1131
  }, [
1156
1132
  t.isOpen,
1157
1133
  s
1158
1134
  ]);
1159
1135
  var $;
1160
- let { popoverProps: p, underlayProps: c, arrowProps: b, placement: x } = Po({
1136
+ let { popoverProps: p, underlayProps: c, arrowProps: b, placement: x } = yo({
1161
1137
  ...o,
1162
1138
  offset: ($ = o.offset) !== null && $ !== void 0 ? $ : 8,
1163
1139
  arrowSize: u,
1164
1140
  // If this is a submenu/subdialog, use the root popover's container
1165
1141
  // to detect outside interaction and add aria-hidden.
1166
1142
  groupRef: l ? d : n
1167
- }, t), g = o.popoverRef, O = Fr(g, !!x) || o.isEntering || !1, T = G({
1143
+ }, t), g = o.popoverRef, K = Br(g, !!x) || o.isEntering || !1, T = j({
1168
1144
  ...o,
1169
1145
  defaultClassName: "react-aria-Popover",
1170
1146
  values: {
1171
1147
  trigger: o.trigger || null,
1172
1148
  placement: x,
1173
- isEntering: O,
1149
+ isEntering: K,
1174
1150
  isExiting: e
1175
1151
  }
1176
- }), q = !o.isNonModal || o.trigger === "SubmenuTrigger", [A, y] = B(!1);
1177
- j(() => {
1152
+ }), q = !o.isNonModal || o.trigger === "SubmenuTrigger", [M, y] = B(!1);
1153
+ W(() => {
1178
1154
  g.current && y(q && !g.current.querySelector("[role=dialog]"));
1179
1155
  }, [
1180
1156
  g,
1181
1157
  q
1182
- ]), F(() => {
1183
- A && g.current && !g.current.contains(document.activeElement) && $e(g.current);
1158
+ ]), z(() => {
1159
+ M && g.current && !g.current.contains(document.activeElement) && fe(g.current);
1184
1160
  }, [
1185
- A,
1161
+ M,
1186
1162
  g
1187
1163
  ]);
1188
- let E = z(() => {
1189
- let S = T.children;
1190
- if (a) for (let Z of a) S = /* @__PURE__ */ f.createElement(Z.Provider, {
1164
+ let P = V(() => {
1165
+ let w = T.children;
1166
+ if (a) for (let Z of a) w = /* @__PURE__ */ f.createElement(Z.Provider, {
1191
1167
  value: null
1192
- }, S);
1193
- return S;
1168
+ }, w);
1169
+ return w;
1194
1170
  }, [
1195
1171
  T.children,
1196
1172
  a
1197
- ]), U = {
1173
+ ]), _ = {
1198
1174
  ...p.style,
1199
1175
  ...T.style
1200
- }, R = /* @__PURE__ */ f.createElement("div", {
1201
- ...H(K(o), p),
1176
+ }, O = /* @__PURE__ */ f.createElement("div", {
1177
+ ...G(F(o), p),
1202
1178
  ...T,
1203
- role: A ? "dialog" : void 0,
1204
- tabIndex: A ? -1 : void 0,
1179
+ role: M ? "dialog" : void 0,
1180
+ tabIndex: M ? -1 : void 0,
1205
1181
  "aria-label": o["aria-label"],
1206
1182
  "aria-labelledby": o["aria-labelledby"],
1207
1183
  ref: g,
1208
1184
  slot: o.slot || void 0,
1209
- style: U,
1185
+ style: _,
1210
1186
  dir: o.dir,
1211
1187
  "data-trigger": o.trigger,
1212
1188
  "data-placement": x,
1213
- "data-entering": O || void 0,
1189
+ "data-entering": K || void 0,
1214
1190
  "data-exiting": e || void 0
1215
- }, !o.isNonModal && /* @__PURE__ */ f.createElement(Fe, {
1191
+ }, !o.isNonModal && /* @__PURE__ */ f.createElement(ke, {
1216
1192
  onDismiss: t.close
1217
- }), /* @__PURE__ */ f.createElement(Kr.Provider, {
1193
+ }), /* @__PURE__ */ f.createElement(Fr.Provider, {
1218
1194
  value: {
1219
1195
  ...b,
1220
1196
  placement: x,
1221
1197
  ref: s
1222
1198
  }
1223
- }, E), /* @__PURE__ */ f.createElement(Fe, {
1199
+ }, P), /* @__PURE__ */ f.createElement(ke, {
1224
1200
  onDismiss: t.close
1225
1201
  }));
1226
- if (!l) return /* @__PURE__ */ f.createElement(Ke, {
1202
+ if (!l) return /* @__PURE__ */ f.createElement(Be, {
1227
1203
  ...o,
1228
- shouldContainFocus: A,
1204
+ shouldContainFocus: M,
1229
1205
  isExiting: e,
1230
1206
  portalContainer: r
1231
1207
  }, !o.isNonModal && t.isOpen && /* @__PURE__ */ f.createElement("div", {
@@ -1240,36 +1216,36 @@ function Ko({ state: t, isExiting: e, UNSTABLE_portalContainer: r, clearContexts
1240
1216
  style: {
1241
1217
  display: "contents"
1242
1218
  }
1243
- }, /* @__PURE__ */ f.createElement(Oe.Provider, {
1219
+ }, /* @__PURE__ */ f.createElement(Fe.Provider, {
1244
1220
  value: n
1245
- }, R)));
1221
+ }, O)));
1246
1222
  var C;
1247
- return /* @__PURE__ */ f.createElement(Ke, {
1223
+ return /* @__PURE__ */ f.createElement(Be, {
1248
1224
  ...o,
1249
- shouldContainFocus: A,
1225
+ shouldContainFocus: M,
1250
1226
  isExiting: e,
1251
1227
  portalContainer: (C = r ?? (d == null ? void 0 : d.current)) !== null && C !== void 0 ? C : void 0
1252
- }, R);
1228
+ }, O);
1253
1229
  }
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({
1230
+ const Fo = /* @__PURE__ */ D({}), ur = /* @__PURE__ */ D(null), ve = /* @__PURE__ */ D(null), ee = /* @__PURE__ */ D(null), te = /* @__PURE__ */ D(null);
1231
+ function ca(t) {
1232
+ let e = me(t), r = k(null), { menuTriggerProps: a, menuProps: o } = Eo({
1257
1233
  ...t,
1258
1234
  type: "menu"
1259
- }, e, r), [s, u] = B(null), i = me(() => {
1235
+ }, e, r), [s, u] = B(null), i = pe(() => {
1260
1236
  r.current && u(r.current.offsetWidth + "px");
1261
1237
  }, [
1262
1238
  r
1263
1239
  ]);
1264
- Re({
1240
+ Oe({
1265
1241
  ref: r,
1266
1242
  onResize: i
1267
1243
  });
1268
- let n = M(null);
1269
- return /* @__PURE__ */ f.createElement(_, {
1244
+ let n = k(null);
1245
+ return /* @__PURE__ */ f.createElement(L, {
1270
1246
  values: [
1271
1247
  [
1272
- dr,
1248
+ ur,
1273
1249
  {
1274
1250
  ...o,
1275
1251
  ref: n
@@ -1284,7 +1260,7 @@ function fa(t) {
1284
1260
  e
1285
1261
  ],
1286
1262
  [
1287
- xe,
1263
+ ge,
1288
1264
  {
1289
1265
  trigger: "MenuTrigger",
1290
1266
  triggerRef: r,
@@ -1297,40 +1273,40 @@ function fa(t) {
1297
1273
  }
1298
1274
  ]
1299
1275
  ]
1300
- }, /* @__PURE__ */ f.createElement(Ve, {
1276
+ }, /* @__PURE__ */ f.createElement(Le, {
1301
1277
  ...a,
1302
1278
  ref: r,
1303
1279
  isPressed: e.isOpen
1304
1280
  }, t.children));
1305
1281
  }
1306
- const To = /* @__PURE__ */ D(null), $a = /* @__PURE__ */ ge(function(e, r) {
1307
- return [e, r] = re(e, r, dr), /* @__PURE__ */ f.createElement(Tr, {
1308
- content: /* @__PURE__ */ f.createElement(Rr, e)
1309
- }, (a) => /* @__PURE__ */ f.createElement(Ro, {
1282
+ const Ko = /* @__PURE__ */ D(null), fa = /* @__PURE__ */ be(function(e, r) {
1283
+ return [e, r] = re(e, r, ur), /* @__PURE__ */ f.createElement(Tr, {
1284
+ content: /* @__PURE__ */ f.createElement(Or, e)
1285
+ }, (a) => /* @__PURE__ */ f.createElement(To, {
1310
1286
  props: e,
1311
1287
  collection: a,
1312
1288
  menuRef: r
1313
1289
  }));
1314
1290
  });
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), [
1291
+ function To({ props: t, collection: e, menuRef: r }) {
1292
+ let { filter: a, collectionProps: o, collectionRef: s } = E(Ce) || {};
1293
+ r = Ke(V(() => Dr(r, s !== void 0 ? s : null), [
1318
1294
  s,
1319
1295
  r
1320
1296
  ]));
1321
- let u = z(() => a ? e.UNSTABLE_filter(a) : e, [
1297
+ let u = V(() => a ? e.UNSTABLE_filter(a) : e, [
1322
1298
  e,
1323
1299
  a
1324
- ]), i = Bo({
1300
+ ]), i = So({
1325
1301
  ...t,
1326
1302
  collection: u,
1327
1303
  children: void 0
1328
- }), n = P(ee), { isVirtualized: d, CollectionRoot: l } = P(Ie), { menuProps: $ } = wo({
1304
+ }), n = E(ee), { isVirtualized: d, CollectionRoot: l } = E(Re), { menuProps: $ } = Do({
1329
1305
  ...t,
1330
1306
  ...o,
1331
1307
  isVirtualized: d,
1332
1308
  onClose: t.onClose || (n == null ? void 0 : n.close)
1333
- }, i, r), p = G({
1309
+ }, i, r), p = j({
1334
1310
  defaultClassName: "react-aria-Menu",
1335
1311
  className: t.className,
1336
1312
  style: t.style,
@@ -1344,45 +1320,45 @@ function Ro({ props: t, collection: e, menuRef: r }) {
1344
1320
  display: "contents"
1345
1321
  }
1346
1322
  }, t.renderEmptyState())), /* @__PURE__ */ f.createElement(He, null, /* @__PURE__ */ f.createElement("div", {
1347
- ...K(t),
1323
+ ...F(t),
1348
1324
  ...$,
1349
1325
  ...p,
1350
1326
  ref: r,
1351
1327
  slot: t.slot || void 0,
1352
1328
  "data-empty": i.collection.size === 0 || void 0,
1353
1329
  onScroll: t.onScroll
1354
- }, /* @__PURE__ */ f.createElement(_, {
1330
+ }, /* @__PURE__ */ f.createElement(L, {
1355
1331
  values: [
1356
1332
  [
1357
- ye,
1333
+ ve,
1358
1334
  i
1359
1335
  ],
1360
1336
  [
1361
- _r,
1337
+ zr,
1362
1338
  {
1363
1339
  elementType: "div"
1364
1340
  }
1365
1341
  ],
1366
1342
  [
1367
- Ir,
1343
+ Rr,
1368
1344
  {
1369
1345
  name: "MenuSection",
1370
- render: No
1346
+ render: Ro
1371
1347
  }
1372
1348
  ],
1373
1349
  [
1374
- To,
1350
+ Ko,
1375
1351
  {
1376
1352
  parentMenuRef: r,
1377
1353
  shouldUseVirtualFocus: o == null ? void 0 : o.shouldUseVirtualFocus
1378
1354
  }
1379
1355
  ],
1380
1356
  [
1381
- pe,
1357
+ $e,
1382
1358
  null
1383
1359
  ],
1384
1360
  [
1385
- Ae,
1361
+ Ce,
1386
1362
  null
1387
1363
  ],
1388
1364
  [
@@ -1394,16 +1370,16 @@ function Ro({ props: t, collection: e, menuRef: r }) {
1394
1370
  /* eslint-disable-next-line react-hooks/rules-of-hooks */
1395
1371
  [
1396
1372
  ee,
1397
- n ?? ve({})
1373
+ n ?? me({})
1398
1374
  ]
1399
1375
  ]
1400
1376
  }, /* @__PURE__ */ f.createElement(l, {
1401
1377
  collection: i.collection,
1402
- persistedKeys: Nr(i.selectionManager.focusedKey),
1378
+ persistedKeys: Ir(i.selectionManager.focusedKey),
1403
1379
  scrollRef: r
1404
1380
  })), c));
1405
1381
  }
1406
- class Io extends Le {
1382
+ class Oo extends Ne {
1407
1383
  get focusedKey() {
1408
1384
  return this.parent.focusedKey;
1409
1385
  }
@@ -1423,28 +1399,28 @@ class Io extends Le {
1423
1399
  super(e.collection, r), this.parent = e;
1424
1400
  }
1425
1401
  }
1426
- function No(t, e, r, a = "react-aria-MenuSection") {
1402
+ function Ro(t, e, r, a = "react-aria-MenuSection") {
1427
1403
  var o, s;
1428
- let u = P(ye), { CollectionBranch: i } = P(Ie), [n, d] = wr();
1404
+ let u = E(ve), { CollectionBranch: i } = E(Re), [n, d] = Cr();
1429
1405
  var l;
1430
- let { headingProps: $, groupProps: p } = Mo({
1406
+ let { headingProps: $, groupProps: p } = Ao({
1431
1407
  heading: d,
1432
1408
  "aria-label": (l = r.props["aria-label"]) !== null && l !== void 0 ? l : void 0
1433
- }), c = G({
1409
+ }), c = j({
1434
1410
  defaultClassName: a,
1435
1411
  className: (o = r.props) === null || o === void 0 ? void 0 : o.className,
1436
1412
  style: (s = r.props) === null || s === void 0 ? void 0 : s.style,
1437
1413
  values: {}
1438
- }), b = P(te), x = Ne(t), g = t.selectionMode != null ? new Io(b, x) : b;
1414
+ }), b = E(te), x = Ie(t), g = t.selectionMode != null ? new Oo(b, x) : b;
1439
1415
  return /* @__PURE__ */ f.createElement("section", {
1440
- ...K(t),
1416
+ ...F(t),
1441
1417
  ...p,
1442
1418
  ...c,
1443
1419
  ref: e
1444
- }, /* @__PURE__ */ f.createElement(_, {
1420
+ }, /* @__PURE__ */ f.createElement(L, {
1445
1421
  values: [
1446
1422
  [
1447
- Hr,
1423
+ _r,
1448
1424
  {
1449
1425
  ...$,
1450
1426
  ref: n
@@ -1460,17 +1436,17 @@ function No(t, e, r, a = "react-aria-MenuSection") {
1460
1436
  parent: r
1461
1437
  })));
1462
1438
  }
1463
- const pe = /* @__PURE__ */ D(null), pa = /* @__PURE__ */ Or("item", function(e, r, a) {
1439
+ const $e = /* @__PURE__ */ D(null), $a = /* @__PURE__ */ Kr("item", function(e, r, a) {
1464
1440
  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
+ [e, r] = re(e, r, $e);
1442
+ let s = (o = Er($e)) === null || o === void 0 ? void 0 : o.id, u = E(ve), i = Ke(r), n = E(te), { menuItemProps: d, labelProps: l, descriptionProps: $, keyboardShortcutProps: p, ...c } = Co({
1467
1443
  ...e,
1468
1444
  id: s,
1469
1445
  key: a.key,
1470
1446
  selectionManager: n
1471
1447
  }, u, i), { hoverProps: b, isHovered: x } = ze({
1472
1448
  isDisabled: c.isDisabled
1473
- }), g = G({
1449
+ }), g = j({
1474
1450
  ...e,
1475
1451
  id: void 0,
1476
1452
  children: a.rendered,
@@ -1484,9 +1460,9 @@ const pe = /* @__PURE__ */ D(null), pa = /* @__PURE__ */ Or("item", function(e,
1484
1460
  hasSubmenu: !!e["aria-haspopup"],
1485
1461
  isOpen: e["aria-expanded"] === "true"
1486
1462
  }
1487
- }), O = e.href ? "a" : "div";
1488
- return /* @__PURE__ */ f.createElement(O, {
1489
- ...H(d, b),
1463
+ }), K = e.href ? "a" : "div";
1464
+ return /* @__PURE__ */ f.createElement(K, {
1465
+ ...G(d, b),
1490
1466
  ...g,
1491
1467
  ref: i,
1492
1468
  "data-disabled": c.isDisabled || void 0,
@@ -1498,10 +1474,10 @@ const pe = /* @__PURE__ */ D(null), pa = /* @__PURE__ */ Or("item", function(e,
1498
1474
  "data-selection-mode": n.selectionMode === "none" ? void 0 : n.selectionMode,
1499
1475
  "data-has-submenu": !!e["aria-haspopup"] || void 0,
1500
1476
  "data-open": e["aria-expanded"] === "true" || void 0
1501
- }, /* @__PURE__ */ f.createElement(_, {
1477
+ }, /* @__PURE__ */ f.createElement(L, {
1502
1478
  values: [
1503
1479
  [
1504
- Ur,
1480
+ Hr,
1505
1481
  {
1506
1482
  slots: {
1507
1483
  [de]: l,
@@ -1511,24 +1487,24 @@ const pe = /* @__PURE__ */ D(null), pa = /* @__PURE__ */ Or("item", function(e,
1511
1487
  }
1512
1488
  ],
1513
1489
  [
1514
- Oo,
1490
+ Fo,
1515
1491
  p
1516
1492
  ]
1517
1493
  ]
1518
1494
  }, g.children));
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({
1495
+ }), dr = /* @__PURE__ */ D(null), ae = /* @__PURE__ */ D(null);
1496
+ function pa(t) {
1497
+ let e = me(t), r = k(null), { triggerProps: a, overlayProps: o } = Ve({
1522
1498
  type: "dialog"
1523
- }, e, r), [s, u] = B(null), i = me(() => {
1499
+ }, e, r), [s, u] = B(null), i = pe(() => {
1524
1500
  r.current && u(r.current.offsetWidth + "px");
1525
1501
  }, [
1526
1502
  r
1527
1503
  ]);
1528
- return Re({
1504
+ return Oe({
1529
1505
  ref: r,
1530
1506
  onResize: i
1531
- }), a.id = oe(), o["aria-labelledby"] = a.id, /* @__PURE__ */ f.createElement(_, {
1507
+ }), a.id = oe(), o["aria-labelledby"] = a.id, /* @__PURE__ */ f.createElement(L, {
1532
1508
  values: [
1533
1509
  [
1534
1510
  ae,
@@ -1539,11 +1515,11 @@ function ba(t) {
1539
1515
  e
1540
1516
  ],
1541
1517
  [
1542
- cr,
1518
+ dr,
1543
1519
  o
1544
1520
  ],
1545
1521
  [
1546
- xe,
1522
+ ge,
1547
1523
  {
1548
1524
  trigger: "DialogTrigger",
1549
1525
  triggerRef: r,
@@ -1554,23 +1530,23 @@ function ba(t) {
1554
1530
  }
1555
1531
  ]
1556
1532
  ]
1557
- }, /* @__PURE__ */ f.createElement(Ve, {
1533
+ }, /* @__PURE__ */ f.createElement(Le, {
1558
1534
  ...a,
1559
1535
  ref: r,
1560
1536
  isPressed: e.isOpen
1561
1537
  }, t.children));
1562
1538
  }
1563
- const ma = /* @__PURE__ */ ge(function(e, r) {
1539
+ const ba = /* @__PURE__ */ be(function(e, r) {
1564
1540
  let a = e["aria-labelledby"];
1565
- [e, r] = re(e, r, cr);
1566
- let { dialogProps: o, titleProps: s } = So({
1541
+ [e, r] = re(e, r, dr);
1542
+ let { dialogProps: o, titleProps: s } = Mo({
1567
1543
  ...e,
1568
1544
  // Only pass aria-labelledby from props, not context.
1569
1545
  // Context is used as a fallback below.
1570
1546
  "aria-labelledby": a
1571
- }, r), u = P(ae);
1547
+ }, r), u = E(ae);
1572
1548
  !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.'));
1573
- let i = G({
1549
+ let i = j({
1574
1550
  defaultClassName: "react-aria-Dialog",
1575
1551
  className: e.className,
1576
1552
  style: e.style,
@@ -1581,12 +1557,12 @@ const ma = /* @__PURE__ */ ge(function(e, r) {
1581
1557
  }
1582
1558
  });
1583
1559
  return /* @__PURE__ */ f.createElement("section", {
1584
- ...K(e),
1560
+ ...F(e),
1585
1561
  ...o,
1586
1562
  ...i,
1587
1563
  ref: r,
1588
1564
  slot: e.slot || void 0
1589
- }, /* @__PURE__ */ f.createElement(_, {
1565
+ }, /* @__PURE__ */ f.createElement(L, {
1590
1566
  values: [
1591
1567
  [
1592
1568
  Ar,
@@ -1601,7 +1577,7 @@ const ma = /* @__PURE__ */ ge(function(e, r) {
1601
1577
  }
1602
1578
  ],
1603
1579
  [
1604
- Er,
1580
+ Pr,
1605
1581
  {
1606
1582
  slots: {
1607
1583
  [de]: {},
@@ -1615,22 +1591,21 @@ const ma = /* @__PURE__ */ ge(function(e, r) {
1615
1591
  }, i.children));
1616
1592
  });
1617
1593
  export {
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,
1594
+ pa as $,
1595
+ da as a,
1596
+ ca as b,
1597
+ fa as c,
1598
+ $a as d,
1599
+ co as e,
1600
+ $o as f,
1601
+ ho as g,
1602
+ vo as h,
1627
1603
  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
1604
+ ke as j,
1605
+ Be as k,
1606
+ ba as l,
1607
+ ge as m,
1608
+ dr as n,
1609
+ Eo as o,
1610
+ me as p
1636
1611
  };