@midas-ds/components 10.1.1 → 10.3.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 (383) hide show
  1. package/AccordionItem-BGWiWjxA.cjs +1 -0
  2. package/AccordionItem-ChHpW8EW.js +320 -0
  3. package/BadgeContainer-DM8TdyMT.js +37 -0
  4. package/BadgeContainer-I1XA3OCl.cjs +1 -0
  5. package/Breadcrumbs-CwDUNIqF.js +250 -0
  6. package/Breadcrumbs-DtjJ1UmU.cjs +1 -0
  7. package/Button-BoJl6JGM.cjs +1 -0
  8. package/Button-Csih3v23.js +38 -0
  9. package/Button-DjBChs7s.js +340 -0
  10. package/Button-htW9qIsS.cjs +1 -0
  11. package/Button.module-DEQtBYe5.cjs +1 -0
  12. package/Button.module-tti8HGxs.js +14 -0
  13. package/ButtonGroup-DUqW5dzM.cjs +1 -0
  14. package/ButtonGroup-DvVvear6.js +22 -0
  15. package/CHANGELOG.md +68 -0
  16. package/Card-0G0mj9q5.cjs +1 -0
  17. package/Card-yrtGzt70.js +131 -0
  18. package/CharacterCounter-BL_nZHya.js +22 -0
  19. package/CharacterCounter-CHcTDHO-.cjs +1 -0
  20. package/Checkbox-5HINZdGu.js +263 -0
  21. package/Checkbox-DqcPg5hz.cjs +1 -0
  22. package/CheckboxGroup-BBrSMuDY.cjs +1 -0
  23. package/CheckboxGroup-CLgixk2p.js +243 -0
  24. package/Collection-BIDsXNhi.cjs +1 -0
  25. package/Collection-Brgjpkne.js +576 -0
  26. package/ColorSchemeSwitch-BpzQ7g0b.js +106 -0
  27. package/ColorSchemeSwitch-C-qWuqkU.cjs +16 -0
  28. package/ComboBox-CVDyp2a-.js +1379 -0
  29. package/ComboBox-CWJUg9Xx.cjs +1 -0
  30. package/DateField-DeDhiYnW.cjs +1 -0
  31. package/DateField-DhU3q-rG.js +47 -0
  32. package/DateInputDivider-ADvOavHw.cjs +1 -0
  33. package/DateInputDivider-CF4xWsMT.js +2904 -0
  34. package/DateRangePicker-BsAHhy99.cjs +6 -0
  35. package/DateRangePicker-ziD1_k1W.js +881 -0
  36. package/Dialog-B8GTYbvu.cjs +1 -0
  37. package/Dialog-BOrYdX50.cjs +1 -0
  38. package/Dialog-CXNu48AC.js +208 -0
  39. package/Dialog-D14MbJ7o.js +1633 -0
  40. package/DragAndDrop-DNth776R.cjs +1 -0
  41. package/DragAndDrop-o3ruz_SR.js +60 -0
  42. package/Dropdown-CJ6My6EI.cjs +6 -0
  43. package/Dropdown-Df58j43I.js +84 -0
  44. package/FieldError-CAcjosk_.js +46 -0
  45. package/FieldError-CKBb2-mp.cjs +1 -0
  46. package/FileUpload-CxCOtyB9.cjs +2 -0
  47. package/FileUpload-D6qoEAjn.js +2373 -0
  48. package/FocusScope-5c9SVBcR.cjs +1 -0
  49. package/FocusScope-CxkURfoc.js +625 -0
  50. package/Form-BuOomA4T.cjs +1 -0
  51. package/Form-CXcEMuBf.js +5 -0
  52. package/Grid--OhtgCo6.js +27 -0
  53. package/Grid-DVQtOcu9.cjs +1 -0
  54. package/GridItem-DlbSdRmB.js +246 -0
  55. package/GridItem-XgHmZWXY.cjs +1 -0
  56. package/Group-B6EslsHZ.js +44 -0
  57. package/Group-CgiqQHH1.cjs +1 -0
  58. package/Heading-BFtiin0g.js +46 -0
  59. package/Heading-mHhCbGjY.cjs +1 -0
  60. package/Hidden-BxRZGdEW.cjs +1 -0
  61. package/Hidden-C9KWUR7b.js +34 -0
  62. package/InfoBanner-BLM-TJJ6.js +83 -0
  63. package/InfoBanner-C2kTIsrB.cjs +1 -0
  64. package/Input-BTzwcf72.js +41 -0
  65. package/Input-DKSAYvsw.cjs +1 -0
  66. package/Label-7Ybb99CE.cjs +1 -0
  67. package/Label-BwJrdqEE.js +70 -0
  68. package/Layout-1g6bMH62.cjs +16 -0
  69. package/Layout-Ey8flY7E.js +468 -0
  70. package/Link-B88l_oaE.cjs +6 -0
  71. package/Link-BQhauBuw.cjs +1 -0
  72. package/Link-DX5BbBnn.js +59 -0
  73. package/Link-yNO2-sqx.js +71 -0
  74. package/LinkButton-CBpGLETx.cjs +6 -0
  75. package/LinkButton-o6uS1XsR.js +69 -0
  76. package/ListBox-DP9M4H6R.cjs +1 -0
  77. package/ListBox-GnVK_Pdq.js +529 -0
  78. package/ListBoxButton-DPBrtXyv.cjs +1 -0
  79. package/ListBoxButton-D_J3jlP0.js +15 -0
  80. package/ListBoxSection-BGaigBnG.cjs +1 -0
  81. package/ListBoxSection-C0BGnpB4.js +1058 -0
  82. package/ListKeyboardDelegate-DNI8GQtX.js +167 -0
  83. package/ListKeyboardDelegate-DTg9h4v6.cjs +1 -0
  84. package/Logo-BIrOEINM.js +133 -0
  85. package/Logo-DT2_2O43.cjs +1 -0
  86. package/OverlayArrow-CDLXPTew.js +506 -0
  87. package/OverlayArrow-D75k-EMl.cjs +1 -0
  88. package/Popover-BGGXeD54.js +38 -0
  89. package/Popover-CqNWzPf-.cjs +1 -0
  90. package/ProgressBar-DMSg-Prr.js +53 -0
  91. package/ProgressBar-Jbg28j2a.cjs +1 -0
  92. package/RSPContexts-BW2SEIqe.js +11 -0
  93. package/RSPContexts-D8hmBfGm.cjs +1 -0
  94. package/Radio-BwqrdhQE.cjs +1 -0
  95. package/Radio-Cz29wPXd.js +311 -0
  96. package/RangeCalendar-BehUaydF.cjs +11 -0
  97. package/RangeCalendar-RAlAHlNL.js +1683 -0
  98. package/SearchField-CxMwDeUM.cjs +6 -0
  99. package/SearchField-IlvZ3Kh6.js +362 -0
  100. package/Select-2q1iSzAX.cjs +1 -0
  101. package/Select-BVQZtoi9.js +646 -0
  102. package/SelectionManager-B4ORduja.js +1032 -0
  103. package/SelectionManager-CwYux2h3.cjs +1 -0
  104. package/Separator-Cu9fYKUM.js +59 -0
  105. package/Separator-DECIYLtZ.cjs +1 -0
  106. package/Skeleton-BAwbfKBW.cjs +1 -0
  107. package/Skeleton-BePDRmrO.js +40 -0
  108. package/Spinner-D31SXm-U.js +41 -0
  109. package/Spinner-P35rvvsl.cjs +6 -0
  110. package/Table-B40CGLT-.cjs +16 -0
  111. package/Table-F4oYBtUM.js +2447 -0
  112. package/Tabs-B4oZJkZG.js +404 -0
  113. package/Tabs-DA2qXhzb.cjs +1 -0
  114. package/Tag-DPAGmcMK.cjs +1 -0
  115. package/Tag-Du7GvSv2.js +745 -0
  116. package/Text-3MNwRMpI.cjs +1 -0
  117. package/Text-B2K-BJKQ.cjs +1 -0
  118. package/Text-BoXuUVVH.js +15 -0
  119. package/Text-jWWg0B20.js +32 -0
  120. package/TextArea-C7JZ_pQd.cjs +1 -0
  121. package/TextArea-XeBCSyzl.js +191 -0
  122. package/TextField-BgNdhZi_.cjs +1 -0
  123. package/TextField-C-hTPukq.js +119 -0
  124. package/TextField.module-BcpPBWnD.js +13 -0
  125. package/TextField.module-Dw5Rtn9y.cjs +1 -0
  126. package/Toast-AbDA1BOs.cjs +1 -0
  127. package/Toast-Btg21Xge.js +989 -0
  128. package/ToggleButtonGroup-B5yz1tm2.js +210 -0
  129. package/ToggleButtonGroup-BFDoj0P6.cjs +1 -0
  130. package/Tooltip-CMLs7WMw.js +283 -0
  131. package/Tooltip-DeBuBKhS.cjs +1 -0
  132. package/VisuallyHidden-CLWHbz2n.cjs +1 -0
  133. package/VisuallyHidden-ZCYf65q4.js +40 -0
  134. package/accordion/index.cjs +1 -0
  135. package/accordion/index.js +5 -0
  136. package/arrow-right-Dg8sttFO.js +14 -0
  137. package/arrow-right-QJ2gXPKQ.cjs +6 -0
  138. package/assets/AccordionItem.css +1 -0
  139. package/assets/BadgeContainer.css +1 -0
  140. package/assets/Breadcrumbs.css +1 -0
  141. package/assets/Button.css +1 -0
  142. package/assets/ButtonGroup.css +1 -0
  143. package/assets/Card.css +1 -0
  144. package/assets/CharacterCounter.css +1 -0
  145. package/assets/Checkbox.css +1 -0
  146. package/assets/ColorSchemeSwitch.css +1 -0
  147. package/assets/ComboBox.css +1 -0
  148. package/assets/DateField.css +1 -0
  149. package/assets/DateInputDivider.css +1 -0
  150. package/assets/DateRangePicker.css +1 -0
  151. package/assets/Dialog.css +1 -0
  152. package/assets/Dropdown.css +1 -0
  153. package/assets/FieldError.css +1 -0
  154. package/assets/FileUpload.css +1 -0
  155. package/assets/GridItem.css +1 -0
  156. package/assets/Heading.css +1 -0
  157. package/assets/InfoBanner.css +1 -0
  158. package/assets/Label.css +1 -0
  159. package/assets/Layout.css +1 -0
  160. package/assets/Link.css +1 -0
  161. package/assets/LinkButton.css +1 -0
  162. package/assets/ListBoxSection.css +1 -0
  163. package/assets/Logo.css +1 -0
  164. package/assets/Popover.css +1 -0
  165. package/assets/ProgressBar.css +1 -0
  166. package/assets/Radio.css +1 -0
  167. package/assets/RangeCalendar.css +1 -0
  168. package/assets/SearchField.css +1 -0
  169. package/assets/Select.css +1 -0
  170. package/assets/Skeleton.css +1 -0
  171. package/assets/Spinner.css +1 -0
  172. package/assets/Table.css +1 -0
  173. package/assets/Tabs.css +1 -0
  174. package/assets/Tag.css +1 -0
  175. package/assets/Text.css +1 -0
  176. package/assets/TextField.css +1 -0
  177. package/assets/Toast.css +1 -0
  178. package/assets/ToggleButtonGroup.css +1 -0
  179. package/assets/Tooltip.css +1 -0
  180. package/badge/index.cjs +1 -0
  181. package/badge/index.js +5 -0
  182. package/breadcrumbs/index.cjs +1 -0
  183. package/breadcrumbs/index.js +4 -0
  184. package/button/index.cjs +1 -0
  185. package/button/index.js +6 -0
  186. package/calendar/CalendarHeader.d.ts +2 -1
  187. package/calendar/index.cjs +1 -0
  188. package/calendar/index.js +5 -0
  189. package/card/index.cjs +1 -0
  190. package/card/index.js +10 -0
  191. package/character-counter/index.cjs +1 -0
  192. package/character-counter/index.js +4 -0
  193. package/check-CLF6Yxza.js +11 -0
  194. package/check-D_KoootC.cjs +6 -0
  195. package/checkbox/Checkbox.d.ts +2 -2
  196. package/checkbox/CheckboxGroup.d.ts +8 -8
  197. package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
  198. package/checkbox/CheckboxGroupItem.d.ts +3 -0
  199. package/checkbox/CheckboxInner.d.ts +2 -0
  200. package/checkbox/SingleCheckbox.d.ts +3 -0
  201. package/checkbox/context.d.ts +3 -0
  202. package/checkbox/index.cjs +1 -0
  203. package/checkbox/index.d.ts +2 -1
  204. package/checkbox/index.js +6 -0
  205. package/checkbox/intl/translations.json.d.ts +35 -0
  206. package/checkbox/types.d.ts +14 -0
  207. package/checkbox/useSelectAll.d.ts +7 -0
  208. package/chevron-down-Cd1bkzXT.js +13 -0
  209. package/chevron-down-jl83cllc.cjs +6 -0
  210. package/circle-check-B9HYcH7Z.js +26 -0
  211. package/circle-check-BGo8gML8.cjs +11 -0
  212. package/clsx-C11secjj.cjs +1 -0
  213. package/clsx-OuTLNxxd.js +16 -0
  214. package/color-scheme-switch/index.cjs +1 -0
  215. package/color-scheme-switch/index.js +4 -0
  216. package/combobox/ComboBox.d.ts +3 -1
  217. package/combobox/index.cjs +1 -0
  218. package/combobox/index.js +7 -0
  219. package/common/types.d.ts +2 -0
  220. package/context-C81gPYvC.js +80 -0
  221. package/context-DjwhtgxQ.cjs +1 -0
  222. package/createLucideIcon-Cg_wkoIA.cjs +21 -0
  223. package/createLucideIcon-DeWljiyi.js +79 -0
  224. package/date-field/DateField.d.ts +3 -0
  225. package/date-field/index.cjs +1 -0
  226. package/date-field/index.js +8 -0
  227. package/date-picker/DatePicker.d.ts +3 -0
  228. package/date-picker/DateRangePicker.d.ts +3 -0
  229. package/date-picker/index.cjs +1 -0
  230. package/date-picker/index.js +5 -0
  231. package/dropdown/index.cjs +1 -0
  232. package/dropdown/index.js +5 -0
  233. package/field-error/FieldError.d.ts +4 -1
  234. package/field-error/index.cjs +1 -0
  235. package/field-error/index.js +4 -0
  236. package/file-upload/FileUpload.d.ts +3 -0
  237. package/file-upload/index.cjs +1 -0
  238. package/file-upload/index.js +4 -0
  239. package/filterDOMProps-BS2lrgFA.cjs +1 -0
  240. package/filterDOMProps-D6KHYVBX.js +24 -0
  241. package/getScrollParent-BhFcYrwL.js +9 -0
  242. package/getScrollParent-DDJu9WHU.cjs +1 -0
  243. package/grid/Grid.d.ts +15 -4
  244. package/grid/GridItem.d.ts +31 -2
  245. package/grid/index.cjs +1 -0
  246. package/grid/index.d.ts +2 -2
  247. package/grid/index.js +8 -0
  248. package/heading/index.cjs +1 -0
  249. package/heading/index.js +4 -0
  250. package/index-CGRFP4CC.js +120 -0
  251. package/index-Dsz3aiWt.cjs +17 -0
  252. package/index.cjs +1 -169
  253. package/index.d.ts +1 -1
  254. package/index.js +129 -29979
  255. package/inertValue-B3AFhVG4.cjs +1 -0
  256. package/inertValue-B7loUihk.js +8 -0
  257. package/info-BZwphdye.js +15 -0
  258. package/info-CIEIENo6.cjs +6 -0
  259. package/info-banner/index.cjs +1 -0
  260. package/info-banner/index.js +4 -0
  261. package/label/InfoPopover.d.ts +9 -0
  262. package/label/LabelWrapper.d.ts +11 -0
  263. package/label/index.cjs +1 -0
  264. package/label/index.d.ts +1 -0
  265. package/label/index.js +4 -0
  266. package/layout/index.cjs +1 -0
  267. package/layout/index.js +8 -0
  268. package/link/index.cjs +1 -0
  269. package/link/index.js +6 -0
  270. package/link-button/index.cjs +1 -0
  271. package/link-button/index.js +6 -0
  272. package/list-box/index.cjs +1 -0
  273. package/list-box/index.js +9 -0
  274. package/logo/index.cjs +1 -0
  275. package/logo/index.js +4 -0
  276. package/modal/index.cjs +1 -0
  277. package/modal/index.js +6 -0
  278. package/number-BE8InLgI.js +6 -0
  279. package/number-E0x3H9cL.cjs +1 -0
  280. package/package.json +4 -4
  281. package/popover/Popover.d.ts +7 -0
  282. package/popover/index.cjs +1 -0
  283. package/popover/index.d.ts +1 -0
  284. package/popover/index.js +4 -0
  285. package/progress-bar/index.cjs +1 -0
  286. package/progress-bar/index.js +4 -0
  287. package/radio/Radio.d.ts +3 -0
  288. package/radio/index.cjs +1 -0
  289. package/radio/index.js +5 -0
  290. package/scrollIntoView-C8doLzDd.cjs +1 -0
  291. package/scrollIntoView-Hwb_aaNf.js +87 -0
  292. package/search-field/index.cjs +1 -0
  293. package/search-field/index.js +4 -0
  294. package/select/index.cjs +1 -0
  295. package/select/index.js +4 -0
  296. package/skeleton/Skeleton.d.ts +5 -0
  297. package/skeleton/index.cjs +1 -0
  298. package/skeleton/index.js +4 -0
  299. package/spinner/index.cjs +1 -0
  300. package/spinner/index.js +4 -0
  301. package/square-arrow-out-up-right-BkyqV2PN.js +15 -0
  302. package/square-arrow-out-up-right-V4Gd08uI.cjs +6 -0
  303. package/table/Table.d.ts +7 -1
  304. package/table/index.cjs +1 -0
  305. package/table/index.js +9 -0
  306. package/tabs/index.cjs +1 -0
  307. package/tabs/index.js +4 -0
  308. package/tag/index.cjs +1 -0
  309. package/tag/index.js +5 -0
  310. package/text/index.cjs +1 -0
  311. package/text/index.js +4 -0
  312. package/textfield/TextFieldBase.d.ts +2 -0
  313. package/textfield/index.cjs +1 -0
  314. package/textfield/index.js +7 -0
  315. package/theme/index.cjs +1 -0
  316. package/theme/index.d.ts +4 -0
  317. package/{theme.js → theme/index.js} +2 -2
  318. package/theme/tokens.d.ts +10 -0
  319. package/toast/index.cjs +1 -0
  320. package/toast/index.js +9 -0
  321. package/toggle-button/index.cjs +1 -0
  322. package/toggle-button/index.js +5 -0
  323. package/tokens-p6pg1Cea.cjs +1 -0
  324. package/{tokens-C0U7hdoO.js → tokens-xp-7KMK7.js} +18 -8
  325. package/tooltip/index.cjs +1 -0
  326. package/tooltip/index.js +5 -0
  327. package/triangle-alert-DJW8U7jL.cjs +6 -0
  328. package/triangle-alert-wxyxspAl.js +21 -0
  329. package/useButton-B8dB9sot.js +47 -0
  330. package/useButton-cpNi-fY4.cjs +1 -0
  331. package/useControlledState-D0L6S_5r.cjs +1 -0
  332. package/useControlledState-u436Wbp1.js +30 -0
  333. package/useDateFormatter-CnxoJ4jF.cjs +1 -0
  334. package/useDateFormatter-EHm4auIg.js +1571 -0
  335. package/useEvent-DxBxMX2V.cjs +1 -0
  336. package/useEvent-IsD2Awnh.js +21 -0
  337. package/useField-CXKYU74k.cjs +1 -0
  338. package/useField-DvpGZkw_.js +35 -0
  339. package/useFilter-BTgDWHVx.cjs +1 -0
  340. package/useFilter-CUq74PQ2.js +35 -0
  341. package/useFocusRing-CbImDrwF.cjs +1 -0
  342. package/useFocusRing-XnR3cZjO.js +82 -0
  343. package/useFocusable-C8uh8K4g.js +125 -0
  344. package/useFocusable-NUVSFcRC.cjs +1 -0
  345. package/useFormValidation-BIGzfO9h.js +215 -0
  346. package/useFormValidation-ClximP89.cjs +1 -0
  347. package/useHasTabbableChild-C-1mZUQe.js +34 -0
  348. package/useHasTabbableChild-DCBTulUQ.cjs +1 -0
  349. package/useHighlightSelectionDescription-CnBDT86u.js +567 -0
  350. package/useHighlightSelectionDescription-CzYucm61.cjs +1 -0
  351. package/useHover-DjIHtjGN.js +490 -0
  352. package/useHover-_mv5J4_q.cjs +1 -0
  353. package/useLabels-BDwkBYbE.js +17 -0
  354. package/useLabels-BLOfc6Y-.cjs +1 -0
  355. package/useListState-Bx8u4IFG.cjs +1 -0
  356. package/useListState-CrZFZffI.js +132 -0
  357. package/useLocalizedStringFormatter-BKoxGZf1.js +96 -0
  358. package/useLocalizedStringFormatter-BsxLt89S.cjs +1 -0
  359. package/useLocalizedStringFormatter-D3JQyjb4.js +21 -0
  360. package/useLocalizedStringFormatter-ioacM-Yt.cjs +1 -0
  361. package/useObserveElement-BdI4zgd7.js +27 -0
  362. package/useObserveElement-MhzEsCkX.cjs +1 -0
  363. package/usePress-0AjDbW9R.cjs +7 -0
  364. package/usePress-CNjmDzap.js +542 -0
  365. package/useSingleSelectListState-0AGHxvy3.js +34 -0
  366. package/useSingleSelectListState-Cl3KV5E1.cjs +1 -0
  367. package/useTextField--czJtyNd.cjs +1 -0
  368. package/useTextField-Cw-33OP_.js +86 -0
  369. package/useToggleState-Bz5rAf4C.js +18 -0
  370. package/useToggleState-DoIkSQdj.cjs +1 -0
  371. package/useUpdateEffect-C5YQs_1w.cjs +1 -0
  372. package/useUpdateEffect-CCDx8D4X.js +13 -0
  373. package/utils-BNtZbAib.cjs +1 -0
  374. package/utils-DIMfEPAt.js +308 -0
  375. package/x-H8Zrx8-x.cjs +6 -0
  376. package/x-JK7i-TQC.js +14 -0
  377. package/flex/Flex.d.ts +0 -17
  378. package/flex/FlexItem.d.ts +0 -15
  379. package/flex/index.d.ts +0 -2
  380. package/index.css +0 -1
  381. package/theme.cjs +0 -1
  382. package/tokens-COoF1t17.cjs +0 -1
  383. /package/{global.css → assets/global.css} +0 -0
package/index.cjs CHANGED
@@ -1,169 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./index.css');const b=require("react/jsx-runtime"),o=require("react"),st=require("react-dom"),bd=require("./tokens-COoF1t17.cjs");function A2(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const u in e)if(u!=="default"){const n=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(t,u,n.get?n:{enumerable:!0,get:()=>e[u]})}}return t.default=e,Object.freeze(t)}const ue=A2(o),F2='"../theme/tokens.css"',T2="_root_1t40y_4",I2="_contained_1t40y_13",R2="_item_1t40y_22",K2="_success_1t40y_23",z2="_warning_1t40y_30",M2="_uncontained_1t40y_43",N2="_content_1t40y_44",V2="_triggerButton_1t40y_52",_2="_trigger_1t40y_52",j2="_triggerMainContent_1t40y_77",L2="_triggerText_1t40y_81",O2="_chevronIcon_1t40y_95",H2="_statusIcon_1t40y_101",U2="_panel_1t40y_119",W2="_hasBackground_1t40y_136",G2="_header_1t40y_140",He={tokens:F2,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--normal-transition":"300ms","--text-primary":"light-dark(#171717, #f2f2f2)","--fast-transition":"250ms","--border-secondary":"light-dark(#737373, #8c8c8c)","--support-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--support-border-success":"light-dark(#008d3c, #008d3c)","--support-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--support-border-warning":"light-dark(#e62323, #e62323)","--icon-success":"light-dark(#008d3c, #008d3c)","--icon-warning":"light-dark(#e62323, #e62323)","--support-background-success-hover":"light-dark(#bae5c5, light-dark(#e6e6e6, #333333))","--support-background-warning-hover":"light-dark(#fcc8c8, light-dark(#e6e6e6, #333333))","--border-disabled":"light-dark(#bfbfbf, #525252)","--text-disabled":"light-dark(#bfbfbf, #525252)","--layer-02":"light-dark(#ffffff, #383838)","--background":"light-dark(#ffffff, #171717)",root:T2,contained:I2,item:R2,success:K2,warning:z2,uncontained:M2,content:N2,triggerButton:V2,trigger:_2,triggerMainContent:j2,triggerText:L2,chevronIcon:O2,statusIcon:H2,panel:U2,hasBackground:W2,header:G2};function gd(e){var t,u,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(u=gd(e[t]))&&(n&&(n+=" "),n+=u)}else for(u in e)e[u]&&(n&&(n+=" "),n+=u);return n}function j(){for(var e,t,u=0,n="",r=arguments.length;u<r;u++)(e=arguments[u])&&(t=gd(e))&&(n&&(n+=" "),n+=t);return n}const bl=o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);o.createContext(null);const gi=o.createContext({}),J=typeof document<"u"?o.useLayoutEffect:()=>{};function ee(e){const t=o.useRef(null);return J(()=>{t.current=e},[e]),o.useCallback((...u)=>{const n=t.current;return n==null?void 0:n(...u)},[])}function Z2(e){let[t,u]=o.useState(e),n=o.useRef(null),r=ee(()=>{if(!n.current)return;let a=n.current.next();if(a.done){n.current=null;return}t===a.value?r():u(a.value)});J(()=>{n.current&&r()});let i=ee(a=>{n.current=a(t),r()});return[t,i]}const Lr={prefix:String(Math.round(Math.random()*1e10)),current:0},$d=o.createContext(Lr),q2=o.createContext(!1);let Y2=!!(typeof window<"u"&&window.document&&window.document.createElement),Zi=new WeakMap;function J2(e=!1){let t=o.useContext($d),u=o.useRef(null);if(u.current===null&&!e){var n,r;let i=(r=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||r===void 0||(n=r.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(i){let a=Zi.get(i);a==null?Zi.set(i,{id:t.current,state:i.memoizedState}):i.memoizedState!==a.state&&(t.current=a.id,Zi.delete(i))}u.current=++t.current}return u.current}function X2(e){let t=o.useContext($d);t===Lr&&!Y2&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let u=J2(!!e),n=t===Lr&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${n}-${u}`}function Q2(e){let t=o.useId(),[u]=o.useState(Tt()),n=u||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Lr.prefix}`;return e||`${n}-${t}`}const e$=typeof o.useId=="function"?Q2:X2;function t$(){return!1}function u$(){return!0}function n$(e){return()=>{}}function Tt(){return typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore(n$,t$,u$):o.useContext(q2)}let r$=!!(typeof window<"u"&&window.document&&window.document.createElement),Qu=new Map,Pn;typeof FinalizationRegistry<"u"&&(Pn=new FinalizationRegistry(e=>{Qu.delete(e)}));function ie(e){let[t,u]=o.useState(e),n=o.useRef(null),r=e$(t),i=o.useRef(null);if(Pn&&Pn.register(i,r),r$){const a=Qu.get(r);a&&!a.includes(n)?a.push(n):Qu.set(r,[n])}return J(()=>{let a=r;return()=>{Pn&&Pn.unregister(i),Qu.delete(a)}},[r]),o.useEffect(()=>{let a=n.current;return a&&u(a),()=>{a&&(n.current=null)}}),r}function i$(e,t){if(e===t)return e;let u=Qu.get(e);if(u)return u.forEach(r=>r.current=t),t;let n=Qu.get(t);return n?(n.forEach(r=>r.current=e),e):t}function dt(e=[]){let t=ie(),[u,n]=Z2(t),r=o.useCallback(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return J(r,[t,r,...e]),u}function et(...e){return(...t)=>{for(let u of e)typeof u=="function"&&u(...t)}}const re=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},Qe=e=>e&&"window"in e&&e.window===e?e:re(e).defaultView||window;function a$(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function l$(e){return a$(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let o$=!1,s$=!1;function Or(){return o$}function $i(){return s$}function ye(e,t){if(!$i())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let u=t;for(;u!==null;){if(u===e)return!0;u.tagName==="SLOT"&&u.assignedSlot?u=u.assignedSlot.parentNode:l$(u)?u=u.host:u=u.parentNode}return!1}const ze=(e=document)=>{var t;if(!$i())return e.activeElement;let u=e.activeElement;for(;u&&"shadowRoot"in u&&(!((t=u.shadowRoot)===null||t===void 0)&&t.activeElement);)u=u.shadowRoot.activeElement;return u};function se(e){return $i()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}class d${get currentNode(){return this._currentNode}set currentNode(t){if(!ye(this.root,t))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const u=[];let n=t,r=t;for(this._currentNode=t;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const a=n,l=this._doc.createTreeWalker(a,this.whatToShow,{acceptNode:this._acceptNode});u.push(l),l.currentNode=r,this._currentSetFor.add(l),n=r=a.host}else n=n.parentNode;const i=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});u.push(i),i.currentNode=r,this._currentSetFor.add(i),this._walkerStack=u}get doc(){return this._doc}firstChild(){let t=this.currentNode,u=this.nextNode();return ye(t,u)?(u&&(this.currentNode=u),u):(this.currentNode=t,null)}lastChild(){let u=this._walkerStack[0].lastChild();return u&&(this.currentNode=u),u}nextNode(){const t=this._walkerStack[0].nextNode();if(t){if(t.shadowRoot){var u;let r;if(typeof this.filter=="function"?r=this.filter(t):!((u=this.filter)===null||u===void 0)&&u.acceptNode&&(r=this.filter.acceptNode(t)),r===NodeFilter.FILTER_ACCEPT)return this.currentNode=t,t;let i=this.nextNode();return i&&(this.currentNode=i),i}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const t=this._walkerStack[0];if(t.currentNode===t.root){if(this._currentSetFor.has(t))if(this._currentSetFor.delete(t),this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null;return null}const u=t.previousNode();if(u){if(u.shadowRoot){var n;let i;if(typeof this.filter=="function"?i=this.filter(u):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(i=this.filter.acceptNode(u)),i===NodeFilter.FILTER_ACCEPT)return u&&(this.currentNode=u),u;let a=this.lastChild();return a&&(this.currentNode=a),a}return u&&(this.currentNode=u),u}else if(this._walkerStack.length>1){this._walkerStack.shift();let r=this.previousNode();return r&&(this.currentNode=r),r}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(t,u,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=a=>{if(a.nodeType===Node.ELEMENT_NODE){const s=a.shadowRoot;if(s){const d=this._doc.createTreeWalker(s,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(d),NodeFilter.FILTER_ACCEPT}else{var l;if(typeof this.filter=="function")return this.filter(a);if(!((l=this.filter)===null||l===void 0)&&l.acceptNode)return this.filter.acceptNode(a);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=t,this.root=u,this.filter=r??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=u,this._walkerStack.unshift(t.createTreeWalker(u,n,this._acceptNode));const i=u.shadowRoot;if(i){const a=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(a)}}}function c$(e,t,u,n){return $i()?new d$(e,t,u,n):e.createTreeWalker(t,u,n)}function V(...e){let t={...e[0]};for(let u=1;u<e.length;u++){let n=e[u];for(let r in n){let i=t[r],a=n[r];typeof i=="function"&&typeof a=="function"&&r[0]==="o"&&r[1]==="n"&&r.charCodeAt(2)>=65&&r.charCodeAt(2)<=90?t[r]=et(i,a):(r==="className"||r==="UNSAFE_className")&&typeof i=="string"&&typeof a=="string"?t[r]=j(i,a):r==="id"&&i&&a?t.id=i$(i,a):t[r]=a!==void 0?a:i}}return t}function bu(...e){return e.length===1&&e[0]?e[0]:t=>{let u=!1;const n=e.map(r=>{const i=Po(r,t);return u||(u=typeof i=="function"),i});if(u)return()=>{n.forEach((r,i)=>{typeof r=="function"?r():Po(e[i],null)})}}}function Po(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}const f$=new Set(["id"]),p$=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),h$=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),m$=/^(data-.*)$/;function H(e,t={}){let{labelable:u,isLink:n,propNames:r}=t,i={};for(const a in e)Object.prototype.hasOwnProperty.call(e,a)&&(f$.has(a)||u&&p$.has(a)||n&&h$.has(a)||r!=null&&r.has(a)||m$.test(a))&&(i[a]=e[a]);return i}function Ne(e){if(b$())e.focus({preventScroll:!0});else{let t=g$(e);e.focus(),$$(t)}}let $r=null;function b$(){if($r==null){$r=!1;try{document.createElement("div").focus({get preventScroll(){return $r=!0,!0}})}catch{}}return $r}function g$(e){let t=e.parentNode,u=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&u.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&u.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),u}function $$(e){for(let{element:t,scrollTop:u,scrollLeft:n}of e)t.scrollTop=u,t.scrollLeft=n}function yi(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(u=>e.test(u.brand)))||e.test(window.navigator.userAgent)}function gl(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function eu(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const wt=eu(function(){return gl(/^Mac/i)}),y$=eu(function(){return gl(/^iPhone/i)}),$l=eu(function(){return gl(/^iPad/i)||wt()&&navigator.maxTouchPoints>1}),Qn=eu(function(){return y$()||$l()}),Ir=eu(function(){return wt()||Qn()}),yl=eu(function(){return yi(/AppleWebKit/i)&&!yd()}),yd=eu(function(){return yi(/Chrome/i)}),zn=eu(function(){return yi(/Android/i)}),v$=eu(function(){return yi(/Firefox/i)}),vd=o.createContext({isNative:!0,open:D$,useHref:e=>e});function vl(e){let{children:t,navigate:u,useHref:n}=e,r=o.useMemo(()=>({isNative:!1,open:(i,a,l,s)=>{xd(i,d=>{Dd(d,a)?u(l,s):cu(d,a)})},useHref:n||(i=>i)}),[u,n]);return o.createElement(vd.Provider,{value:r},t)}function Mu(){return o.useContext(vd)}function Dd(e,t){let u=e.getAttribute("target");return(!u||u==="_self")&&e.origin===location.origin&&!e.hasAttribute("download")&&!t.metaKey&&!t.ctrlKey&&!t.altKey&&!t.shiftKey}function cu(e,t,u=!0){var n,r;let{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}=t;v$()&&(!((r=window.event)===null||r===void 0||(n=r.type)===null||n===void 0)&&n.startsWith("key"))&&e.target==="_blank"&&(wt()?i=!0:a=!0);let d=yl()&&wt()&&!$l()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s,bubbles:!0,cancelable:!0});cu.isOpening=u,Ne(e),e.dispatchEvent(d),cu.isOpening=!1}cu.isOpening=!1;function xd(e,t){if(e instanceof HTMLAnchorElement)t(e);else if(e.hasAttribute("data-href")){let u=document.createElement("a");u.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(u.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(u.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(u.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(u.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(u.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(u),t(u),e.removeChild(u)}}function D$(e,t){xd(e,u=>cu(u,t))}function Dl(e){let t=Mu();var u;const n=t.useHref((u=e.href)!==null&&u!==void 0?u:"");return{"data-href":e.href?n:void 0,"data-target":e.target,"data-rel":e.rel,"data-download":e.download,"data-ping":e.ping,"data-referrer-policy":e.referrerPolicy}}function vi(e){let t=Mu();var u;const n=t.useHref((u=e==null?void 0:e.href)!==null&&u!==void 0?u:"");return{href:e!=null&&e.href?n:void 0,target:e==null?void 0:e.target,rel:e==null?void 0:e.rel,download:e==null?void 0:e.download,ping:e==null?void 0:e.ping,referrerPolicy:e==null?void 0:e.referrerPolicy}}let lu=new Map,Sa=new Set;function So(){if(typeof window>"u")return;function e(n){return"propertyName"in n}let t=n=>{if(!e(n)||!n.target)return;let r=lu.get(n.target);r||(r=new Set,lu.set(n.target,r),n.target.addEventListener("transitioncancel",u,{once:!0})),r.add(n.propertyName)},u=n=>{if(!e(n)||!n.target)return;let r=lu.get(n.target);if(r&&(r.delete(n.propertyName),r.size===0&&(n.target.removeEventListener("transitioncancel",u),lu.delete(n.target)),lu.size===0)){for(let i of Sa)i();Sa.clear()}};document.body.addEventListener("transitionrun",t),document.body.addEventListener("transitionend",u)}typeof document<"u"&&(document.readyState!=="loading"?So():document.addEventListener("DOMContentLoaded",So));function x$(){for(const[e]of lu)"isConnected"in e&&!e.isConnected&&lu.delete(e)}function Cd(e){requestAnimationFrame(()=>{x$(),lu.size===0?e():Sa.add(e)})}function er(){let e=o.useRef(new Map),t=o.useCallback((r,i,a,l)=>{let s=l!=null&&l.once?(...d)=>{e.current.delete(a),a(...d)}:a;e.current.set(a,{type:i,eventTarget:r,fn:s,options:l}),r.addEventListener(i,s,l)},[]),u=o.useCallback((r,i,a,l)=>{var s;let d=((s=e.current.get(a))===null||s===void 0?void 0:s.fn)||a;r.removeEventListener(i,d,l),e.current.delete(a)},[]),n=o.useCallback(()=>{e.current.forEach((r,i)=>{u(r.eventTarget,r.type,i,r.options)})},[u]);return o.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:u,removeAllGlobalListeners:n}}function At(e,t){let{id:u,"aria-label":n,"aria-labelledby":r}=e;return u=ie(u),r&&n?r=[...new Set([u,...r.trim().split(/\s+/)])].join(" "):r&&(r=r.trim().split(/\s+/).join(" ")),!n&&!r&&t&&(n=t),{id:u,"aria-label":n,"aria-labelledby":r}}function ge(e){const t=o.useRef(null),u=o.useRef(void 0),n=o.useCallback(r=>{if(typeof e=="function"){const i=e,a=i(r);return()=>{typeof a=="function"?a():i(null)}}else if(e)return e.current=r,()=>{e.current=null}},[e]);return o.useMemo(()=>({get current(){return t.current},set current(r){t.current=r,u.current&&(u.current(),u.current=void 0),r!=null&&(u.current=n(r))}}),[n])}function Mn(e,t){const u=o.useRef(!0),n=o.useRef(null);o.useEffect(()=>(u.current=!0,()=>{u.current=!1}),[]),o.useEffect(()=>{let r=n.current;u.current?u.current=!1:(!r||t.some((i,a)=>!Object.is(i,r[a])))&&e(),n.current=t},t)}function wo(e,t){const u=o.useRef(!0),n=o.useRef(null);J(()=>(u.current=!0,()=>{u.current=!1}),[]),J(()=>{u.current?u.current=!1:(!n.current||t.some((r,i)=>!Object.is(r,n[i])))&&e(),n.current=t},t)}function C$(){return typeof window.ResizeObserver<"u"}function fu(e){const{ref:t,box:u,onResize:n}=e;o.useEffect(()=>{let r=t==null?void 0:t.current;if(r)if(C$()){const i=new window.ResizeObserver(a=>{a.length&&n()});return i.observe(r,{box:u}),()=>{r&&i.unobserve(r)}}else return window.addEventListener("resize",n,!1),()=>{window.removeEventListener("resize",n,!1)}},[n,t,u])}function xl(e,t){J(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}function Nn(e,t){if(!e)return!1;let u=window.getComputedStyle(e),n=/(auto|scroll)/.test(u.overflow+u.overflowX+u.overflowY);return n&&t&&(n=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),n}function Me(e,t){let u=e;for(Nn(u,t)&&(u=u.parentElement);u&&!Nn(u,t);)u=u.parentElement;return u||document.scrollingElement||document.documentElement}function E$(e,t){const u=[];for(;e&&e!==document.documentElement;)Nn(e,t)&&u.push(e),e=e.parentElement;return u}let nt=typeof document<"u"&&window.visualViewport;function k$(){let e=Tt(),[t,u]=o.useState(()=>e?{width:0,height:0}:Ao());return o.useEffect(()=>{let n=()=>{u(r=>{let i=Ao();return i.width===r.width&&i.height===r.height?r:i})};return nt?nt.addEventListener("resize",n):window.addEventListener("resize",n),()=>{nt?nt.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}function Ao(){return{width:nt&&(nt==null?void 0:nt.width)||window.innerWidth,height:nt&&(nt==null?void 0:nt.height)||window.innerHeight}}let B$=0;const qi=new Map;function It(e){let[t,u]=o.useState();return J(()=>{if(!e)return;let n=qi.get(e);if(n)u(n.element.id);else{let r=`react-aria-description-${B$++}`;u(r);let i=document.createElement("div");i.id=r,i.style.display="none",i.textContent=e,document.body.appendChild(i),n={refCount:0,element:i},qi.set(e,n)}return n.refCount++,()=>{n&&--n.refCount===0&&(n.element.remove(),qi.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}function at(e,t,u,n){let r=ee(u),i=u==null;o.useEffect(()=>{if(i||!e.current)return;let a=e.current;return a.addEventListener(t,r,n),()=>{a.removeEventListener(t,r,n)}},[e,t,n,i,r])}function Ed(e,t){let u=Fo(e,t,"left"),n=Fo(e,t,"top"),r=t.offsetWidth,i=t.offsetHeight,a=e.scrollLeft,l=e.scrollTop,{borderTopWidth:s,borderLeftWidth:d,scrollPaddingTop:c,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:h}=getComputedStyle(e),m=a+parseInt(d,10),g=l+parseInt(s,10),$=m+e.clientWidth,v=g+e.clientHeight,C=parseInt(c,10)||0,D=parseInt(p,10)||0,x=parseInt(f,10)||0,k=parseInt(h,10)||0;u<=a+k?a=u-parseInt(d,10)-k:u+r>$-x&&(a+=u+r-$+x),n<=g+C?l=n-parseInt(s,10)-C:n+i>v-D&&(l+=n+i-v+D),e.scrollLeft=a,e.scrollTop=l}function Fo(e,t,u){const n=u==="left"?"offsetLeft":"offsetTop";let r=0;for(;t.offsetParent&&(r+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){r-=e[n];break}t=t.offsetParent}return r}function je(e,t){if(e&&document.contains(e)){let a=document.scrollingElement||document.documentElement;if(window.getComputedStyle(a).overflow==="hidden"){let s=E$(e);for(let d of s)Ed(d,e)}else{var u;let{left:s,top:d}=e.getBoundingClientRect();e==null||(u=e.scrollIntoView)===null||u===void 0||u.call(e,{block:"nearest"});let{left:c,top:f}=e.getBoundingClientRect();if(Math.abs(s-c)>1||Math.abs(d-f)>1){var n,r,i;t==null||(r=t.containingElement)===null||r===void 0||(n=r.scrollIntoView)===null||n===void 0||n.call(r,{block:"center",inline:"center"}),(i=e.scrollIntoView)===null||i===void 0||i.call(e,{block:"nearest"})}}}}function wa(e){return e.mozInputSource===0&&e.isTrusted?!0:zn()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function P$(e){return!zn()&&e.width===0&&e.height===0||e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"}function kd(e,t){let u=o.useRef(null);return e&&u.current&&t(e,u.current)&&(e=u.current),u.current=e,e}function tr(e,t,u){let n=o.useRef(t),r=ee(()=>{u&&u(n.current)});o.useEffect(()=>{var i;let a=e==null||(i=e.current)===null||i===void 0?void 0:i.form;return a==null||a.addEventListener("reset",r),()=>{a==null||a.removeEventListener("reset",r)}},[e,r])}function Bd(e,t){let{collection:u,onLoadMore:n,scrollOffset:r=1}=e,i=o.useRef(null),a=ee(l=>{for(let s of l)s.isIntersecting&&n&&n()});J(()=>(t.current&&(i.current=new IntersectionObserver(a,{root:Me(t==null?void 0:t.current),rootMargin:`0px ${100*r}% ${100*r}% ${100*r}%`}),i.current.observe(t.current)),()=>{i.current&&i.current.disconnect()}),[u,a,t,r])}function Cl(e){const t=o.version.split(".");return parseInt(t[0],10)>=19?e:e?"true":void 0}const S$="react-aria-clear-focus",w$="react-aria-focus";function Gu(e){return wt()?e.metaKey:e.ctrlKey}function Di(e,t=!0){let[u,n]=o.useState(!0),r=u&&t;return J(()=>{if(r&&e.current&&"getAnimations"in e.current)for(let i of e.current.getAnimations())i instanceof CSSTransition&&i.cancel()},[e,r]),Pd(e,r,o.useCallback(()=>n(!1),[])),r}function Hr(e,t){let[u,n]=o.useState(t?"open":"closed");switch(u){case"open":t||n("exiting");break;case"closed":case"exiting":t&&n("open");break}let r=u==="exiting";return Pd(e,r,o.useCallback(()=>{n(i=>i==="exiting"?"closed":i)},[])),r}function Pd(e,t,u){J(()=>{if(t&&e.current){if(!("getAnimations"in e.current)){u();return}let n=e.current.getAnimations();if(n.length===0){u();return}let r=!1;return Promise.all(n.map(i=>i.finished)).then(()=>{r||st.flushSync(()=>{u()})}).catch(()=>{}),()=>{r=!0}}},[e,t,u])}const El=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],A$=El.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";El.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const F$=El.join(':not([hidden]):not([tabindex="-1"]),');function kl(e){return e.matches(A$)}function T$(e){return e.matches(F$)}function Re(e,t,u){let[n,r]=o.useState(e||t),i=o.useRef(e!==void 0),a=e!==void 0;o.useEffect(()=>{let d=i.current;d!==a&&process.env.NODE_ENV!=="production"&&console.warn(`WARN: A component changed from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),i.current=a},[a]);let l=a?e:n,s=o.useCallback((d,...c)=>{let f=(p,...h)=>{u&&(Object.is(l,p)||u(p,...h)),a||(l=p)};typeof d=="function"?(process.env.NODE_ENV!=="production"&&console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),r((h,...m)=>{let g=d(a?l:h,...m);return f(g,...c),a?h:g})):(a||r(d),f(d,...c))},[a,l,u]);return[l,s]}function Vn(e,t=-1/0,u=1/0){return Math.min(Math.max(e,t),u)}const pu=Symbol("default");function ce({values:e,children:t}){for(let[u,n]of e)t=o.createElement(u.Provider,{value:n},t);return t}function Z(e){let{className:t,style:u,children:n,defaultClassName:r,defaultChildren:i,defaultStyle:a,values:l}=e;return o.useMemo(()=>{let s,d,c;return typeof t=="function"?s=t({...l,defaultClassName:r}):s=t,typeof u=="function"?d=u({...l,defaultStyle:a||{}}):d=u,typeof n=="function"?c=n({...l,defaultChildren:i}):n==null?c=i:c=n,{className:s??r,style:d||a?{...a,...d}:void 0,children:c??i,"data-rac":""}},[t,u,n,r,i,a,l])}function qe(e,t){let u=o.useContext(e);if(t===null)return null;if(u&&typeof u=="object"&&"slots"in u&&u.slots){let n=t||pu;if(!u.slots[n]){let r=new Intl.ListFormat().format(Object.keys(u.slots).map(a=>`"${a}"`)),i=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${i} Valid slot names are ${r}.`)}return u.slots[n]}return u}function X(e,t,u){let n=qe(u,e.slot)||{},{ref:r,...i}=n,a=ge(o.useMemo(()=>bu(t,r),[t,r])),l=V(i,e);return"style"in i&&i.style&&"style"in e&&e.style&&(typeof i.style=="function"||typeof e.style=="function"?l.style=s=>{let d=typeof i.style=="function"?i.style(s):i.style,c={...s.defaultStyle,...d},f=typeof e.style=="function"?e.style({...s,defaultStyle:c}):e.style;return{...c,...f}}:l.style={...i.style,...e.style}),[l,a]}function $t(e=!0){let[t,u]=o.useState(e),n=o.useRef(!1),r=o.useCallback(i=>{n.current=!0,u(!!i)},[]);return J(()=>{n.current||u(!1)},[]),[r,t]}function Jt(e){const t=/^(data-.*)$/;let u={};for(const n in e)t.test(n)||(u[n]=e[n]);return u}class _n{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new _n(this.type,this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}constructor(t,u){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=t,this.key=u}}class xi{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let u=this.keyMap;return{*[Symbol.iterator](){let n=u.get(t),r=(n==null?void 0:n.firstChildKey)!=null?u.get(n.firstChildKey):null;for(;r;)yield r,r=r.nextKey!=null?u.get(r.nextKey):void 0}}}getKeyBefore(t){let u=this.keyMap.get(t);if(!u)return null;if(u.prevKey!=null){for(u=this.keyMap.get(u.prevKey);u&&u.type!=="item"&&u.lastChildKey!=null;)u=this.keyMap.get(u.lastChildKey);var n;return(n=u==null?void 0:u.key)!==null&&n!==void 0?n:null}return u.parentKey}getKeyAfter(t){let u=this.keyMap.get(t);if(!u)return null;if(u.type!=="item"&&u.firstChildKey!=null)return u.firstChildKey;for(;u;){if(u.nextKey!=null)return u.nextKey;if(u.parentKey!=null)u=this.keyMap.get(u.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,u=new t;return u.keyMap=new Map(this.keyMap),u.firstKey=this.firstKey,u.lastKey=this.lastKey,u}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,u,n=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=u,this.frozen=!n}UNSTABLE_filter(t){let u=new xi,n=null;for(let r of this)if(r.type==="section"&&r.hasChildNodes){let i=r.clone(),a=null;for(let l of this.getChildren(r.key))if(To(l,t,this,u)){let s=l.clone();a==null&&(i.firstChildKey=s.key),u.firstKey==null&&(u.firstKey=i.key),a&&a.parentKey===s.parentKey?(a.nextKey=s.key,s.prevKey=a.key):s.prevKey=null,s.nextKey=null,u.addNode(s),a=s}a&&(a.type!=="header"?(i.lastChildKey=a.key,n==null?i.prevKey=null:(n.type==="section"||n.type==="separator")&&(n.nextKey=i.key,i.prevKey=n.key),i.nextKey=null,n=i,u.addNode(i)):(u.firstKey===i.key&&(u.firstKey=null),u.removeNode(a.key)))}else if(r.type==="separator"){let i=r.clone();i.nextKey=null,(n==null?void 0:n.type)==="section"&&(n.nextKey=i.key,i.prevKey=n.key,n=i,u.addNode(i))}else{let i=r.clone();To(i,t,this,u)&&(u.firstKey==null&&(u.firstKey=i.key),n!=null&&n.type!=="section"&&n.type!=="separator"&&n.parentKey===i.parentKey?(n.nextKey=i.key,i.prevKey=n.key):i.prevKey=null,i.nextKey=null,u.addNode(i),n=i)}if((n==null?void 0:n.type)==="separator"&&n.nextKey===null){let r;n.prevKey!=null&&(r=u.getItem(n.prevKey),r.nextKey=null),u.removeNode(n.key),n=r}return u.lastKey=(n==null?void 0:n.key)||null,u}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}function To(e,t,u,n){if(e.type==="subdialogtrigger"||e.type==="submenutrigger"){let r=[...u.getChildren(e.key)][0];if(r&&t(r.textValue)){let i=r.clone();return n.addNode(i),!0}else return!1}else return e.type==="header"?!0:t(e.textValue)}class Sd{*[Symbol.iterator](){let t=this.firstChild;for(;t;)yield t,t=t.nextSibling}get firstChild(){return this._firstChild}set firstChild(t){this._firstChild=t,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(t){this._lastChild=t,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(t){this._previousSibling=t,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(t){this._nextSibling=t,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(t){this._parentNode=t,this.ownerDocument.markDirty(this)}get isConnected(){var t;return((t=this.parentNode)===null||t===void 0?void 0:t.isConnected)||!1}invalidateChildIndices(t){(this._minInvalidChildIndex==null||!this._minInvalidChildIndex.isConnected||t.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=t,this.ownerDocument.markDirty(this))}updateChildIndices(){let t=this._minInvalidChildIndex;for(;t;)t.index=t.previousSibling?t.previousSibling.index+1:0,t=t.nextSibling;this._minInvalidChildIndex=null}appendChild(t){t.parentNode&&t.parentNode.removeChild(t),this.firstChild==null&&(this.firstChild=t),this.lastChild?(this.lastChild.nextSibling=t,t.index=this.lastChild.index+1,t.previousSibling=this.lastChild):(t.previousSibling=null,t.index=0),t.parentNode=this,t.nextSibling=null,this.lastChild=t,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(t,u){if(u==null)return this.appendChild(t);t.parentNode&&t.parentNode.removeChild(t),t.nextSibling=u,t.previousSibling=u.previousSibling,t.index=u.index-1,this.firstChild===u?this.firstChild=t:u.previousSibling&&(u.previousSibling.nextSibling=t),u.previousSibling=t,t.parentNode=u.parentNode,this.invalidateChildIndices(t),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(t){t.parentNode!==this||!this.ownerDocument.isMounted||(this._minInvalidChildIndex===t&&(this._minInvalidChildIndex=null),t.nextSibling&&(this.invalidateChildIndices(t.nextSibling),t.nextSibling.previousSibling=t.previousSibling),t.previousSibling&&(t.previousSibling.nextSibling=t.nextSibling),this.firstChild===t&&(this.firstChild=t.nextSibling),this.lastChild===t&&(this.lastChild=t.previousSibling),t.parentNode=null,t.nextSibling=null,t.previousSibling=null,t.index=0,this.ownerDocument.markDirty(t),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let t=this.previousSibling;for(;t&&t.isHidden;)t=t.previousSibling;return t}get nextVisibleSibling(){let t=this.nextSibling;for(;t&&t.isHidden;)t=t.nextSibling;return t}get firstVisibleChild(){let t=this.firstChild;for(;t&&t.isHidden;)t=t.nextSibling;return t}get lastVisibleChild(){let t=this.lastChild;for(;t&&t.isHidden;)t=t.previousSibling;return t}constructor(t){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=t}}class en extends Sd{get index(){return this._index}set index(t){this._index=t,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof en?this.parentNode.level+(this.node.type==="item"?1:0):0}getMutableNode(){return this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node}updateNode(){var t,u,n;let r=this.nextVisibleSibling,i=this.getMutableNode();i.index=this.index,i.level=this.level,i.parentKey=this.parentNode instanceof en?this.parentNode.node.key:null;var a;i.prevKey=(a=(t=this.previousVisibleSibling)===null||t===void 0?void 0:t.node.key)!==null&&a!==void 0?a:null;var l;i.nextKey=(l=r==null?void 0:r.node.key)!==null&&l!==void 0?l:null,i.hasChildNodes=!!this.firstChild;var s;i.firstChildKey=(s=(u=this.firstVisibleChild)===null||u===void 0?void 0:u.node.key)!==null&&s!==void 0?s:null;var d;if(i.lastChildKey=(d=(n=this.lastVisibleChild)===null||n===void 0?void 0:n.node.key)!==null&&d!==void 0?d:null,(i.colSpan!=null||i.colIndex!=null)&&r){var c,f;let p=((c=i.colIndex)!==null&&c!==void 0?c:i.index)+((f=i.colSpan)!==null&&f!==void 0?f:1);if(p!==r.node.colIndex){let h=r.getMutableNode();h.colIndex=p}}}setProps(t,u,n,r){let i=this.getMutableNode(),{value:a,textValue:l,id:s,...d}=t;if(d.ref=u,i.props=d,i.rendered=n,i.render=r,i.value=a,i.textValue=l||(typeof d.children=="string"?d.children:"")||t["aria-label"]||"",s!=null&&s!==i.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");i.key=s}d.colSpan!=null&&(i.colSpan=d.colSpan),this.hasSetProps=!0,this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let t=this;return{get display(){return t.isHidden?"none":""},set display(u){let n=u==="none";if(t.isHidden!==n){var r,i;(((r=t.parentNode)===null||r===void 0?void 0:r.firstVisibleChild)===t||((i=t.parentNode)===null||i===void 0?void 0:i.lastVisibleChild)===t)&&t.ownerDocument.markDirty(t.parentNode);let a=t.previousVisibleSibling,l=t.nextVisibleSibling;a&&t.ownerDocument.markDirty(a),l&&t.ownerDocument.markDirty(l),t.isHidden=n,t.ownerDocument.markDirty(t)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(t,u){super(u),this.nodeType=8,this.isMutated=!0,this._index=0,this.hasSetProps=!1,this.isHidden=!1,this.node=new _n(t,`react-aria-${++u.nodeId}`)}}class I$ extends Sd{get isConnected(){return this.isMounted}createElement(t){return new en(t,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(t){this.dirtyNodes.add(t)}addNode(t){if(t.isHidden)return;let u=this.getMutableCollection();if(!u.getItem(t.node.key))for(let n of t)this.addNode(n);u.addNode(t.node)}removeNode(t){for(let n of t)this.removeNode(n);this.getMutableCollection().removeNode(t.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let i of this.dirtyNodes)i instanceof en&&(!i.isConnected||i.isHidden)?this.removeNode(i):i.updateChildIndices();for(let i of this.dirtyNodes)i instanceof en&&(i.isConnected&&!i.isHidden&&(i.updateNode(),this.addNode(i)),i.isMutated=!1);if(this.dirtyNodes.clear(),this.nextCollection){var t,u,n,r;this.nextCollection.commit((n=(t=this.firstVisibleChild)===null||t===void 0?void 0:t.node.key)!==null&&n!==void 0?n:null,(r=(u=this.lastVisibleChild)===null||u===void 0?void 0:u.node.key)!==null&&r!==void 0?r:null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null)}}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let t of this.subscriptions)t();this.inSubscription=!1}}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(t){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=t,this.nextCollection=t}}function Bl(e){let{children:t,items:u,idScope:n,addIdAndValue:r,dependencies:i=[]}=e,a=o.useMemo(()=>new WeakMap,i);return o.useMemo(()=>{if(u&&typeof t=="function"){let d=[];for(let c of u){let f=a.get(c);if(!f){f=t(c);var l,s;let p=(s=(l=f.props.id)!==null&&l!==void 0?l:c.key)!==null&&s!==void 0?s:c.id;if(p==null)throw new Error("Could not determine key for item");n&&(p=n+":"+p),f=o.cloneElement(f,r?{key:p,id:p,value:c}:{key:p}),a.set(c,f)}d.push(f)}return d}else if(typeof t!="function")return t},[t,u,a,n,r])}if(typeof HTMLTemplateElement<"u"){const e=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild").get;Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.dataset.reactAriaHidden?this.content.firstChild:e.call(this)}})}const Ur=o.createContext(!1);function R$(e){if(o.useContext(Ur))return o.createElement(o.Fragment,null,e.children);let u=o.createElement(Ur.Provider,{value:!0},e.children);return o.createElement("template",{"data-react-aria-hidden":!0},u)}function ur(e){let t=(u,n)=>o.useContext(Ur)?null:e(u,n);return t.displayName=e.displayName||e.name,o.forwardRef(t)}function K$(){return o.useContext(Ur)}function Pl(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function wd(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Ad(e){let t=o.useRef({isFocused:!1,observer:null});J(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let u=ee(n=>{e==null||e(n)});return o.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target,i=a=>{if(t.current.isFocused=!1,r.disabled){let l=Pl(a);u(l)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var a;(a=t.current.observer)===null||a===void 0||a.disconnect();let l=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[u])}let Wr=!1;function Io(e){for(;e&&!kl(e);)e=e.parentElement;let t=Qe(e),u=t.document.activeElement;if(!u||u===e)return;Wr=!0;let n=!1,r=c=>{(c.target===u||n)&&c.stopImmediatePropagation()},i=c=>{(c.target===u||n)&&(c.stopImmediatePropagation(),!e&&!n&&(n=!0,Ne(u),s()))},a=c=>{(c.target===e||n)&&c.stopImmediatePropagation()},l=c=>{(c.target===e||n)&&(c.stopImmediatePropagation(),n||(n=!0,Ne(u),s()))};t.addEventListener("blur",r,!0),t.addEventListener("focusout",i,!0),t.addEventListener("focusin",l,!0),t.addEventListener("focus",a,!0);let s=()=>{cancelAnimationFrame(d),t.removeEventListener("blur",r,!0),t.removeEventListener("focusout",i,!0),t.removeEventListener("focusin",l,!0),t.removeEventListener("focus",a,!0),Wr=!1,n=!1},d=requestAnimationFrame(s);return s}let qu="default",Aa="",Rr=new WeakMap;function Ro(e){if(Qn()){if(qu==="default"){const t=re(e);Aa=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}qu="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";Rr.set(e,e.style[t]),e.style[t]="none"}}function Yi(e){if(Qn()){if(qu!=="disabled")return;qu="restoring",setTimeout(()=>{Cd(()=>{if(qu==="restoring"){const t=re(e);t.documentElement.style.webkitUserSelect==="none"&&(t.documentElement.style.webkitUserSelect=Aa||""),Aa="",qu="default"}})},300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&Rr.has(e)){let t=Rr.get(e),u="userSelect"in e.style?"userSelect":"webkitUserSelect";e.style[u]==="none"&&(e.style[u]=t),e.getAttribute("style")===""&&e.removeAttribute("style"),Rr.delete(e)}}const jn=o.createContext({register:()=>{}});jn.displayName="PressResponderContext";function z$(e,t){return t.get?t.get.call(e):t.value}function Fd(e,t,u){if(!t.has(e))throw new TypeError("attempted to "+u+" private field on non-instance");return t.get(e)}function M$(e,t){var u=Fd(e,t,"get");return z$(e,u)}function N$(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function nr(e,t,u){N$(e,t),t.set(e,u)}function V$(e,t,u){if(t.set)t.set.call(e,u);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=u}}function Ko(e,t,u){var n=Fd(e,t,"set");return V$(e,n,u),u}function _$(e){let t=o.useContext(jn);if(t){let{register:u,...n}=t;e=V(n,e),u()}return xl(t,e.ref),e}var yr=new WeakMap;class vr{continuePropagation(){Ko(this,yr,!1)}get shouldStopPropagation(){return M$(this,yr)}constructor(t,u,n,r){nr(this,yr,{writable:!0,value:void 0}),Ko(this,yr,!0);var i;let a=(i=r==null?void 0:r.target)!==null&&i!==void 0?i:n.currentTarget;const l=a==null?void 0:a.getBoundingClientRect();let s,d=0,c,f=null;n.clientX!=null&&n.clientY!=null&&(c=n.clientX,f=n.clientY),l&&(c!=null&&f!=null?(s=c-l.left,d=f-l.top):(s=l.width/2,d=l.height/2)),this.type=t,this.pointerType=u,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=d}}const zo=Symbol("linkClicked"),Mo="react-aria-pressable-style",No="data-react-aria-pressable";function tt(e){let{onPress:t,onPressChange:u,onPressStart:n,onPressEnd:r,onPressUp:i,onClick:a,isDisabled:l,isPressed:s,preventFocusOnPress:d,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:f,ref:p,...h}=_$(e),[m,g]=o.useState(!1),$=o.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:v,removeAllGlobalListeners:C}=er(),D=ee((y,A)=>{let I=$.current;if(l||I.didFirePressStart)return!1;let K=!0;if(I.isTriggeringEvent=!0,n){let L=new vr("pressstart",A,y);n(L),K=L.shouldStopPropagation}return u&&u(!0),I.isTriggeringEvent=!1,I.didFirePressStart=!0,g(!0),K}),x=ee((y,A,I=!0)=>{let K=$.current;if(!K.didFirePressStart)return!1;K.didFirePressStart=!1,K.isTriggeringEvent=!0;let L=!0;if(r){let B=new vr("pressend",A,y);r(B),L=B.shouldStopPropagation}if(u&&u(!1),g(!1),t&&I&&!l){let B=new vr("press",A,y);t(B),L&&(L=B.shouldStopPropagation)}return K.isTriggeringEvent=!1,L}),k=ee((y,A)=>{let I=$.current;if(l)return!1;if(i){I.isTriggeringEvent=!0;let K=new vr("pressup",A,y);return i(K),I.isTriggeringEvent=!1,K.shouldStopPropagation}return!0}),S=ee(y=>{let A=$.current;if(A.isPressed&&A.target){A.didFirePressStart&&A.pointerType!=null&&x(_u(A.target,y),A.pointerType,!1),A.isPressed=!1,A.isOverTarget=!1,A.activePointerId=null,A.pointerType=null,C(),f||Yi(A.target);for(let I of A.disposables)I();A.disposables=[]}}),F=ee(y=>{c&&S(y)}),T=ee(y=>{a==null||a(y)}),N=ee((y,A)=>{if(a){let I=new MouseEvent("click",y);wd(I,A),a(Pl(I))}}),w=o.useMemo(()=>{let y=$.current,A={onKeyDown(K){if(Ji(K.nativeEvent,K.currentTarget)&&ye(K.currentTarget,se(K.nativeEvent))){var L;jo(se(K.nativeEvent),K.key)&&K.preventDefault();let B=!0;if(!y.isPressed&&!K.repeat){y.target=K.currentTarget,y.isPressed=!0,y.pointerType="keyboard",B=D(K,"keyboard");let E=K.currentTarget,P=M=>{Ji(M,E)&&!M.repeat&&ye(E,se(M))&&y.target&&k(_u(y.target,M),"keyboard")};v(re(K.currentTarget),"keyup",et(P,I),!0)}B&&K.stopPropagation(),K.metaKey&&wt()&&((L=y.metaKeyEvents)===null||L===void 0||L.set(K.key,K.nativeEvent))}else K.key==="Meta"&&(y.metaKeyEvents=new Map)},onClick(K){if(!(K&&!ye(K.currentTarget,se(K.nativeEvent)))&&K&&K.button===0&&!y.isTriggeringEvent&&!cu.isOpening){let L=!0;if(l&&K.preventDefault(),!y.ignoreEmulatedMouseEvents&&!y.isPressed&&(y.pointerType==="virtual"||wa(K.nativeEvent))){let B=D(K,"virtual"),E=k(K,"virtual"),P=x(K,"virtual");T(K),L=B&&E&&P}else if(y.isPressed&&y.pointerType!=="keyboard"){let B=y.pointerType||K.nativeEvent.pointerType||"virtual";L=x(_u(K.currentTarget,K),B,!0),y.isOverTarget=!1,T(K),S(K)}y.ignoreEmulatedMouseEvents=!1,L&&K.stopPropagation()}}},I=K=>{var L;if(y.isPressed&&y.target&&Ji(K,y.target)){var B;jo(se(K),K.key)&&K.preventDefault();let P=se(K),M=ye(y.target,se(K));x(_u(y.target,K),"keyboard",M),M&&N(K,y.target),C(),K.key!=="Enter"&&Sl(y.target)&&ye(y.target,P)&&!K[zo]&&(K[zo]=!0,cu(y.target,K,!1)),y.isPressed=!1,(B=y.metaKeyEvents)===null||B===void 0||B.delete(K.key)}else if(K.key==="Meta"&&(!((L=y.metaKeyEvents)===null||L===void 0)&&L.size)){var E;let P=y.metaKeyEvents;y.metaKeyEvents=void 0;for(let M of P.values())(E=y.target)===null||E===void 0||E.dispatchEvent(new KeyboardEvent("keyup",M))}};if(typeof PointerEvent<"u"){A.onPointerDown=B=>{if(B.button!==0||!ye(B.currentTarget,se(B.nativeEvent)))return;if(P$(B.nativeEvent)){y.pointerType="virtual";return}y.pointerType=B.pointerType;let E=!0;if(!y.isPressed){y.isPressed=!0,y.isOverTarget=!0,y.activePointerId=B.pointerId,y.target=B.currentTarget,f||Ro(y.target),E=D(B,y.pointerType);let P=se(B.nativeEvent);"releasePointerCapture"in P&&P.releasePointerCapture(B.pointerId),v(re(B.currentTarget),"pointerup",K,!1),v(re(B.currentTarget),"pointercancel",L,!1)}E&&B.stopPropagation()},A.onMouseDown=B=>{if(ye(B.currentTarget,se(B.nativeEvent))&&B.button===0){if(d){let E=Io(B.target);E&&y.disposables.push(E)}B.stopPropagation()}},A.onPointerUp=B=>{!ye(B.currentTarget,se(B.nativeEvent))||y.pointerType==="virtual"||B.button===0&&k(B,y.pointerType||B.pointerType)},A.onPointerEnter=B=>{B.pointerId===y.activePointerId&&y.target&&!y.isOverTarget&&y.pointerType!=null&&(y.isOverTarget=!0,D(_u(y.target,B),y.pointerType))},A.onPointerLeave=B=>{B.pointerId===y.activePointerId&&y.target&&y.isOverTarget&&y.pointerType!=null&&(y.isOverTarget=!1,x(_u(y.target,B),y.pointerType,!1),F(B))};let K=B=>{if(B.pointerId===y.activePointerId&&y.isPressed&&B.button===0&&y.target){if(ye(y.target,se(B))&&y.pointerType!=null){let E=!1,P=setTimeout(()=>{y.isPressed&&y.target instanceof HTMLElement&&(E?S(B):(Ne(y.target),y.target.click()))},80);v(B.currentTarget,"click",()=>E=!0,!0),y.disposables.push(()=>clearTimeout(P))}else S(B);y.isOverTarget=!1}},L=B=>{S(B)};A.onDragStart=B=>{ye(B.currentTarget,se(B.nativeEvent))&&S(B)}}else if(process.env.NODE_ENV==="test"){A.onMouseDown=B=>{if(B.button!==0||!ye(B.currentTarget,se(B.nativeEvent)))return;if(y.ignoreEmulatedMouseEvents){B.stopPropagation();return}if(y.isPressed=!0,y.isOverTarget=!0,y.target=B.currentTarget,y.pointerType=wa(B.nativeEvent)?"virtual":"mouse",st.flushSync(()=>D(B,y.pointerType))&&B.stopPropagation(),d){let P=Io(B.target);P&&y.disposables.push(P)}v(re(B.currentTarget),"mouseup",K,!1)},A.onMouseEnter=B=>{if(!ye(B.currentTarget,se(B.nativeEvent)))return;let E=!0;y.isPressed&&!y.ignoreEmulatedMouseEvents&&y.pointerType!=null&&(y.isOverTarget=!0,E=D(B,y.pointerType)),E&&B.stopPropagation()},A.onMouseLeave=B=>{if(!ye(B.currentTarget,se(B.nativeEvent)))return;let E=!0;y.isPressed&&!y.ignoreEmulatedMouseEvents&&y.pointerType!=null&&(y.isOverTarget=!1,E=x(B,y.pointerType,!1),F(B)),E&&B.stopPropagation()},A.onMouseUp=B=>{ye(B.currentTarget,se(B.nativeEvent))&&!y.ignoreEmulatedMouseEvents&&B.button===0&&k(B,y.pointerType||"mouse")};let K=B=>{if(B.button===0){if(y.ignoreEmulatedMouseEvents){y.ignoreEmulatedMouseEvents=!1;return}y.target&&y.target.contains(B.target)&&y.pointerType!=null||S(B),y.isOverTarget=!1}};A.onTouchStart=B=>{if(!ye(B.currentTarget,se(B.nativeEvent)))return;let E=j$(B.nativeEvent);if(!E)return;y.activePointerId=E.identifier,y.ignoreEmulatedMouseEvents=!0,y.isOverTarget=!0,y.isPressed=!0,y.target=B.currentTarget,y.pointerType="touch",f||Ro(y.target),D(ru(y.target,B),y.pointerType)&&B.stopPropagation(),v(Qe(B.currentTarget),"scroll",L,!0)},A.onTouchMove=B=>{if(!ye(B.currentTarget,se(B.nativeEvent)))return;if(!y.isPressed){B.stopPropagation();return}let E=Vo(B.nativeEvent,y.activePointerId),P=!0;E&&_o(E,B.currentTarget)?!y.isOverTarget&&y.pointerType!=null&&(y.isOverTarget=!0,P=D(ru(y.target,B),y.pointerType)):y.isOverTarget&&y.pointerType!=null&&(y.isOverTarget=!1,P=x(ru(y.target,B),y.pointerType,!1),F(ru(y.target,B))),P&&B.stopPropagation()},A.onTouchEnd=B=>{if(!ye(B.currentTarget,se(B.nativeEvent)))return;if(!y.isPressed){B.stopPropagation();return}let E=Vo(B.nativeEvent,y.activePointerId),P=!0;E&&_o(E,B.currentTarget)&&y.pointerType!=null?(k(ru(y.target,B),y.pointerType),P=x(ru(y.target,B),y.pointerType),N(B.nativeEvent,y.target)):y.isOverTarget&&y.pointerType!=null&&(P=x(ru(y.target,B),y.pointerType,!1)),P&&B.stopPropagation(),y.isPressed=!1,y.activePointerId=null,y.isOverTarget=!1,y.ignoreEmulatedMouseEvents=!0,y.target&&!f&&Yi(y.target),C()},A.onTouchCancel=B=>{ye(B.currentTarget,se(B.nativeEvent))&&(B.stopPropagation(),y.isPressed&&S(ru(y.target,B)))};let L=B=>{y.isPressed&&ye(se(B),y.target)&&S({currentTarget:y.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};A.onDragStart=B=>{ye(B.currentTarget,se(B.nativeEvent))&&S(B)}}return A},[v,l,d,C,f,S,F,x,D,k,T,N]);return o.useEffect(()=>{if(!p||process.env.NODE_ENV==="test")return;const y=re(p.current);if(!y||!y.head||y.getElementById(Mo))return;const A=y.createElement("style");A.id=Mo,A.textContent=`
2
- @layer {
3
- [${No}] {
4
- touch-action: pan-x pan-y pinch-zoom;
5
- }
6
- }
7
- `.trim(),y.head.prepend(A)},[p]),o.useEffect(()=>{let y=$.current;return()=>{var A;f||Yi((A=y.target)!==null&&A!==void 0?A:void 0);for(let I of y.disposables)I();y.disposables=[]}},[f]),{isPressed:s||m,pressProps:V(h,w,{[No]:!0})}}function Sl(e){return e.tagName==="A"&&e.hasAttribute("href")}function Ji(e,t){const{key:u,code:n}=e,r=t,i=r.getAttribute("role");return(u==="Enter"||u===" "||u==="Spacebar"||n==="Space")&&!(r instanceof Qe(r).HTMLInputElement&&!Td(r,u)||r instanceof Qe(r).HTMLTextAreaElement||r.isContentEditable)&&!((i==="link"||!i&&Sl(r))&&u!=="Enter")}function j$(e){const{targetTouches:t}=e;return t.length>0?t[0]:null}function Vo(e,t){const u=e.changedTouches;for(let n=0;n<u.length;n++){const r=u[n];if(r.identifier===t)return r}return null}function ru(e,t){let u=0,n=0;return t.targetTouches&&t.targetTouches.length===1&&(u=t.targetTouches[0].clientX,n=t.targetTouches[0].clientY),{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function _u(e,t){let u=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:u,clientY:n}}function L$(e){let t=0,u=0;return e.width!==void 0?t=e.width/2:e.radiusX!==void 0&&(t=e.radiusX),e.height!==void 0?u=e.height/2:e.radiusY!==void 0&&(u=e.radiusY),{top:e.clientY-u,right:e.clientX+t,bottom:e.clientY+u,left:e.clientX-t}}function O$(e,t){return!(e.left>t.right||t.left>e.right||e.top>t.bottom||t.top>e.bottom)}function _o(e,t){let u=t.getBoundingClientRect(),n=L$(e);return O$(u,n)}function H$(e){return e instanceof HTMLInputElement?!1:e instanceof HTMLButtonElement?e.type!=="submit"&&e.type!=="reset":!Sl(e)}function jo(e,t){return e instanceof HTMLInputElement?!Td(e,t):H$(e)}const U$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Td(e,t){return e.type==="checkbox"||e.type==="radio"?t===" ":U$.has(e.type)}let Xt=null,Ln=new Set,Tn=new Map,Ru=!1,Fa=!1;const W$={Tab:!0,Escape:!0};function Ci(e,t){for(let u of Ln)u(e,t)}function G$(e){return!(e.metaKey||!wt()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Gr(e){Ru=!0,G$(e)&&(Xt="keyboard",Ci("keyboard",e))}function it(e){Xt="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ru=!0,Ci("pointer",e))}function Id(e){wa(e)&&(Ru=!0,Xt="virtual")}function Rd(e){e.target===window||e.target===document||Wr||!e.isTrusted||(!Ru&&!Fa&&(Xt="virtual",Ci("virtual",e)),Ru=!1,Fa=!1)}function Kd(){Wr||(Ru=!1,Fa=!0)}function Zr(e){if(typeof window>"u"||typeof document>"u"||Tn.get(Qe(e)))return;const t=Qe(e),u=re(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ru=!0,n.apply(this,arguments)},u.addEventListener("keydown",Gr,!0),u.addEventListener("keyup",Gr,!0),u.addEventListener("click",Id,!0),t.addEventListener("focus",Rd,!0),t.addEventListener("blur",Kd,!1),typeof PointerEvent<"u"?(u.addEventListener("pointerdown",it,!0),u.addEventListener("pointermove",it,!0),u.addEventListener("pointerup",it,!0)):process.env.NODE_ENV==="test"&&(u.addEventListener("mousedown",it,!0),u.addEventListener("mousemove",it,!0),u.addEventListener("mouseup",it,!0)),t.addEventListener("beforeunload",()=>{zd(e)},{once:!0}),Tn.set(t,{focus:n})}const zd=(e,t)=>{const u=Qe(e),n=re(e);t&&n.removeEventListener("DOMContentLoaded",t),Tn.has(u)&&(u.HTMLElement.prototype.focus=Tn.get(u).focus,n.removeEventListener("keydown",Gr,!0),n.removeEventListener("keyup",Gr,!0),n.removeEventListener("click",Id,!0),u.removeEventListener("focus",Rd,!0),u.removeEventListener("blur",Kd,!1),typeof PointerEvent<"u"?(n.removeEventListener("pointerdown",it,!0),n.removeEventListener("pointermove",it,!0),n.removeEventListener("pointerup",it,!0)):process.env.NODE_ENV==="test"&&(n.removeEventListener("mousedown",it,!0),n.removeEventListener("mousemove",it,!0),n.removeEventListener("mouseup",it,!0)),Tn.delete(u))};function Z$(e){const t=re(e);let u;return t.readyState!=="loading"?Zr(e):(u=()=>{Zr(e)},t.addEventListener("DOMContentLoaded",u)),()=>zd(e,u)}typeof document<"u"&&Z$();function Qt(){return Xt!=="pointer"}function qt(){return Xt}function Md(e){Xt=e,Ci(e,null)}function wl(){Zr();let[e,t]=o.useState(Xt);return o.useEffect(()=>{let u=()=>{t(Xt)};return Ln.add(u),()=>{Ln.delete(u)}},[]),Tt()?null:e}const q$=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Y$(e,t,u){let n=re(u==null?void 0:u.target);const r=typeof window<"u"?Qe(u==null?void 0:u.target).HTMLInputElement:HTMLInputElement,i=typeof window<"u"?Qe(u==null?void 0:u.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?Qe(u==null?void 0:u.target).HTMLElement:HTMLElement,l=typeof window<"u"?Qe(u==null?void 0:u.target).KeyboardEvent:KeyboardEvent;return e=e||n.activeElement instanceof r&&!q$.has(n.activeElement.type)||n.activeElement instanceof i||n.activeElement instanceof a&&n.activeElement.isContentEditable,!(e&&t==="keyboard"&&u instanceof l&&!W$[u.key])}function J$(e,t,u){Zr(),o.useEffect(()=>{let n=(r,i)=>{Y$(!!(u!=null&&u.isTextInput),r,i)&&e(Qt())};return Ln.add(n),()=>{Ln.delete(n)}},t)}function Ee(e){const t=re(e),u=ze(t);if(qt()==="virtual"){let n=u;Cd(()=>{ze(t)===n&&e.isConnected&&Ne(e)})}else Ne(e)}function Ei(e){let{isDisabled:t,onFocus:u,onBlur:n,onFocusChange:r}=e;const i=o.useCallback(s=>{if(s.target===s.currentTarget)return n&&n(s),r&&r(!1),!0},[n,r]),a=Ad(i),l=o.useCallback(s=>{const d=re(s.target),c=d?ze(d):ze();s.target===s.currentTarget&&c===se(s.nativeEvent)&&(u&&u(s),r&&r(!0),a(s))},[r,u,a]);return{focusProps:{onFocus:!t&&(u||r||n)?l:void 0,onBlur:!t&&(n||r)?i:void 0}}}function Lo(e){if(!e)return;let t=!0;return u=>{let n={...u,preventDefault(){u.preventDefault()},isDefaultPrevented(){return u.isDefaultPrevented()},stopPropagation(){t&&process.env.NODE_ENV!=="production"?console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior."):t=!0},continuePropagation(){t=!1},isPropagationStopped(){return t}};e(n),t&&u.stopPropagation()}}function Nd(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:Lo(e.onKeyDown),onKeyUp:Lo(e.onKeyUp)}}}let qr=o.createContext(null);function X$(e){let t=o.useContext(qr)||{};xl(t,e);let{ref:u,...n}=t;return n}const Q$=o.forwardRef(function(t,u){let{children:n,...r}=t,i=ge(u),a={...r,ref:i};return o.createElement(qr.Provider,{value:a},n)});function tu(e,t){let{focusProps:u}=Ei(e),{keyboardProps:n}=Nd(e),r=V(u,n),i=X$(t),a=e.isDisabled?{}:i,l=o.useRef(e.autoFocus);o.useEffect(()=>{l.current&&t.current&&Ee(t.current),l.current=!1},[t]);let s=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(s=void 0),{focusableProps:V({...r,tabIndex:s},a)}}const Al=o.forwardRef(({children:e,...t},u)=>{let n=o.useRef(!1),r=o.useContext(jn);u=ge(u||(r==null?void 0:r.ref));let i=V(r||{},{...t,ref:u,register(){n.current=!0,r&&r.register()}});return xl(r,u),o.useEffect(()=>{n.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."),n.current=!0)},[]),o.createElement(jn.Provider,{value:i},e)});function e6({children:e}){let t=o.useMemo(()=>({register:()=>{}}),[]);return o.createElement(jn.Provider,{value:t},e)}function yt(e){let{isDisabled:t,onBlurWithin:u,onFocusWithin:n,onFocusWithinChange:r}=e,i=o.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:l}=er(),s=o.useCallback(f=>{f.currentTarget.contains(f.target)&&i.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(i.current.isFocusWithin=!1,l(),u&&u(f),r&&r(!1))},[u,r,i,l]),d=Ad(s),c=o.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const p=re(f.target),h=ze(p);if(!i.current.isFocusWithin&&h===se(f.nativeEvent)){n&&n(f),r&&r(!0),i.current.isFocusWithin=!0,d(f);let m=f.currentTarget;a(p,"focus",g=>{if(i.current.isFocusWithin&&!ye(m,g.target)){let $=new p.defaultView.FocusEvent("blur",{relatedTarget:g.target});wd($,m);let v=Pl($);s(v)}},{capture:!0})}},[n,r,d,a,s]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:s}}}let Yr=!1,Xi=0;function Ta(){Yr=!0,setTimeout(()=>{Yr=!1},50)}function Oo(e){e.pointerType==="touch"&&Ta()}function t6(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Oo):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",Ta),Xi++,()=>{Xi--,!(Xi>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Oo):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",Ta))}}function De(e){let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,isDisabled:r}=e,[i,a]=o.useState(!1),l=o.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;o.useEffect(t6,[]);let{addGlobalListener:s,removeAllGlobalListeners:d}=er(),{hoverProps:c,triggerHoverEnd:f}=o.useMemo(()=>{let p=(g,$)=>{if(l.pointerType=$,r||$==="touch"||l.isHovered||!g.currentTarget.contains(g.target))return;l.isHovered=!0;let v=g.currentTarget;l.target=v,s(re(g.target),"pointerover",C=>{l.isHovered&&l.target&&!ye(l.target,C.target)&&h(C,C.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:v,pointerType:$}),u&&u(!0),a(!0)},h=(g,$)=>{let v=l.target;l.pointerType="",l.target=null,!($==="touch"||!l.isHovered||!v)&&(l.isHovered=!1,d(),n&&n({type:"hoverend",target:v,pointerType:$}),u&&u(!1),a(!1))},m={};return typeof PointerEvent<"u"?(m.onPointerEnter=g=>{Yr&&g.pointerType==="mouse"||p(g,g.pointerType)},m.onPointerLeave=g=>{!r&&g.currentTarget.contains(g.target)&&h(g,g.pointerType)}):process.env.NODE_ENV==="test"&&(m.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},m.onMouseEnter=g=>{!l.ignoreEmulatedMouseEvents&&!Yr&&p(g,"mouse"),l.ignoreEmulatedMouseEvents=!1},m.onMouseLeave=g=>{!r&&g.currentTarget.contains(g.target)&&h(g,"mouse")}),{hoverProps:m,triggerHoverEnd:h}},[t,u,n,r,l,s,d]);return o.useEffect(()=>{r&&f({currentTarget:l.target},l.pointerType)},[r]),{hoverProps:c,isHovered:i}}function u6(e){let{ref:t,onInteractOutside:u,isDisabled:n,onInteractOutsideStart:r}=e,i=o.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),a=ee(s=>{u&&Dr(s,t)&&(r&&r(s),i.current.isPointerDown=!0)}),l=ee(s=>{u&&u(s)});o.useEffect(()=>{let s=i.current;if(n)return;const d=t.current,c=re(d);if(typeof PointerEvent<"u"){let f=p=>{s.isPointerDown&&Dr(p,t)&&l(p),s.isPointerDown=!1};return c.addEventListener("pointerdown",a,!0),c.addEventListener("pointerup",f,!0),()=>{c.removeEventListener("pointerdown",a,!0),c.removeEventListener("pointerup",f,!0)}}else if(process.env.NODE_ENV==="test"){let f=h=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&Dr(h,t)&&l(h),s.isPointerDown=!1},p=h=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Dr(h,t)&&l(h),s.isPointerDown=!1};return c.addEventListener("mousedown",a,!0),c.addEventListener("mouseup",f,!0),c.addEventListener("touchstart",a,!0),c.addEventListener("touchend",p,!0),()=>{c.removeEventListener("mousedown",a,!0),c.removeEventListener("mouseup",f,!0),c.removeEventListener("touchstart",a,!0),c.removeEventListener("touchend",p,!0)}}},[t,n,a,l])}function Dr(e,t){if(e.button>0)return!1;if(e.target){const u=e.target.ownerDocument;if(!u||!u.documentElement.contains(e.target)||e.target.closest("[data-react-aria-top-layer]"))return!1}return t.current?!e.composedPath().includes(t.current):!1}const n6=500;function Vd(e){let{isDisabled:t,onLongPressStart:u,onLongPressEnd:n,onLongPress:r,threshold:i=n6,accessibilityDescription:a}=e;const l=o.useRef(void 0);let{addGlobalListener:s,removeGlobalListener:d}=er(),{pressProps:c}=tt({isDisabled:t,onPressStart(p){if(p.continuePropagation(),(p.pointerType==="mouse"||p.pointerType==="touch")&&(u&&u({...p,type:"longpressstart"}),l.current=setTimeout(()=>{p.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),re(p.target).activeElement!==p.target&&Ne(p.target),r&&r({...p,type:"longpress"}),l.current=void 0},i),p.pointerType==="touch")){let h=m=>{m.preventDefault()};s(p.target,"contextmenu",h,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{d(p.target,"contextmenu",h)},30)},{once:!0})}},onPressEnd(p){l.current&&clearTimeout(l.current),n&&(p.pointerType==="mouse"||p.pointerType==="touch")&&n({...p,type:"longpressend"})}}),f=It(r&&!t?a:void 0);return{longPressProps:V(c,f)}}var Ia={exports:{}},Qi={};/**
8
- * @license React
9
- * use-sync-external-store-shim.production.js
10
- *
11
- * Copyright (c) Meta Platforms, Inc. and affiliates.
12
- *
13
- * This source code is licensed under the MIT license found in the
14
- * LICENSE file in the root directory of this source tree.
15
- */var Ho;function r6(){if(Ho)return Qi;Ho=1;var e=o;function t(f,p){return f===p&&(f!==0||1/f===1/p)||f!==f&&p!==p}var u=typeof Object.is=="function"?Object.is:t,n=e.useState,r=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function l(f,p){var h=p(),m=n({inst:{value:h,getSnapshot:p}}),g=m[0].inst,$=m[1];return i(function(){g.value=h,g.getSnapshot=p,s(g)&&$({inst:g})},[f,h,p]),r(function(){return s(g)&&$({inst:g}),f(function(){s(g)&&$({inst:g})})},[f]),a(h),h}function s(f){var p=f.getSnapshot;f=f.value;try{var h=p();return!u(f,h)}catch{return!0}}function d(f,p){return p()}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:l;return Qi.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:c,Qi}var ea={};/**
16
- * @license React
17
- * use-sync-external-store-shim.development.js
18
- *
19
- * Copyright (c) Meta Platforms, Inc. and affiliates.
20
- *
21
- * This source code is licensed under the MIT license found in the
22
- * LICENSE file in the root directory of this source tree.
23
- */var Uo;function i6(){return Uo||(Uo=1,process.env.NODE_ENV!=="production"&&function(){function e(h,m){return h===m&&(h!==0||1/h===1/m)||h!==h&&m!==m}function t(h,m){c||r.startTransition===void 0||(c=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var g=m();if(!f){var $=m();i(g,$)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}$=a({inst:{value:g,getSnapshot:m}});var v=$[0].inst,C=$[1];return s(function(){v.value=g,v.getSnapshot=m,u(v)&&C({inst:v})},[h,g,m]),l(function(){return u(v)&&C({inst:v}),h(function(){u(v)&&C({inst:v})})},[h]),d(g),g}function u(h){var m=h.getSnapshot;h=h.value;try{var g=m();return!i(h,g)}catch{return!0}}function n(h,m){return m()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=o,i=typeof Object.is=="function"?Object.is:e,a=r.useState,l=r.useEffect,s=r.useLayoutEffect,d=r.useDebugValue,c=!1,f=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;ea.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),ea}process.env.NODE_ENV==="production"?Ia.exports=r6():Ia.exports=i6();var Fl=Ia.exports;const _d=o.createContext(!1),On=o.createContext(null);function Nu(e){if(o.useContext(On))return e.content;let{collection:u,document:n}=s6(e.createCollection);return o.createElement(o.Fragment,null,o.createElement(R$,null,o.createElement(On.Provider,{value:n},e.content)),o.createElement(a6,{render:e.children,collection:u}))}function a6({collection:e,render:t}){return t(e)}function l6(e,t,u){let n=Tt(),r=o.useRef(n);r.current=n;let i=o.useCallback(()=>r.current?u():t(),[t,u]);return Fl.useSyncExternalStore(e,i)}const o6=typeof o.useSyncExternalStore=="function"?o.useSyncExternalStore:l6;function s6(e){let[t]=o.useState(()=>new I$((e==null?void 0:e())||new xi)),u=o.useCallback(a=>t.subscribe(a),[t]),n=o.useCallback(()=>{let a=t.getCollection();return t.isSSR&&t.resetAfterSSR(),a},[t]),r=o.useCallback(()=>(t.isSSR=!0,t.getCollection()),[t]),i=o6(u,n,r);return J(()=>(t.isMounted=!0,()=>{t.isMounted=!1}),[t]),{collection:i,document:t}}const Ra=o.createContext(null);function jd(e,t,u,n,r,i){let a=o.useCallback(s=>{s==null||s.setProps(t,u,n,i)},[t,u,n,i]),l=o.useContext(Ra);if(l){let s=l.ownerDocument.nodesByProps.get(t);return s||(s=l.ownerDocument.createElement(e),s.setProps(t,u,n,i),l.appendChild(s),l.ownerDocument.updateCollection(),l.ownerDocument.nodesByProps.set(t,s)),r?o.createElement(Ra.Provider,{value:s},r):null}return o.createElement(e,{ref:a},r)}function Rt(e,t){let u=({node:r})=>t(r.props,r.props.ref,r),n=o.forwardRef((r,i)=>{let a=o.useContext(qr);if(!o.useContext(_d)){if(t.length>=3)throw new Error(t.name+" cannot be rendered outside a collection.");return t(r,i)}return jd(e,r,i,"children"in r?r.children:null,null,s=>o.createElement(qr.Provider,{value:a},o.createElement(u,{node:s})))});return n.displayName=t.name,n}function ki(e,t,u=Ld){let n=({node:i})=>t(i.props,i.props.ref,i),r=o.forwardRef((i,a)=>{let l=u(i);var s;return(s=jd(e,i,a,null,l,d=>o.createElement(n,{node:d})))!==null&&s!==void 0?s:o.createElement(o.Fragment,null)});return r.displayName=t.name,r}function Ld(e){return Bl({...e,addIdAndValue:!0})}const Wo=o.createContext(null);function ht(e){let t=o.useContext(Wo),u=((t==null?void 0:t.dependencies)||[]).concat(e.dependencies),n=e.idScope||(t==null?void 0:t.idScope),r=Ld({...e,idScope:n,dependencies:u});return o.useContext(On)&&(r=o.createElement(d6,null,r)),t=o.useMemo(()=>({dependencies:u,idScope:n}),[n,...u]),o.createElement(Wo.Provider,{value:t},r)}function d6({children:e}){let t=o.useContext(On),u=o.useMemo(()=>o.createElement(On.Provider,{value:null},o.createElement(_d.Provider,{value:!0},e)),[e]);return Tt()?o.createElement(Ra.Provider,{value:t},u):st.createPortal(u,t)}function c6(e,t){let{elementType:u="a",onPress:n,onPressStart:r,onPressEnd:i,onClick:a,isDisabled:l,...s}=e,d={};u!=="a"&&(d={role:"link",tabIndex:l?void 0:0});let{focusableProps:c}=tu(e,t),{pressProps:f,isPressed:p}=tt({onPress:n,onPressStart:r,onPressEnd:i,onClick:a,isDisabled:l,ref:t}),h=H(s,{labelable:!0}),m=V(c,f),g=Mu(),$=vi(e);return{isPressed:p,linkProps:V(h,$,{...m,...d,"aria-disabled":l||void 0,"aria-current":e["aria-current"],onClick:v=>{var C;(C=f.onClick)===null||C===void 0||C.call(f,v),!g.isNative&&v.currentTarget instanceof HTMLAnchorElement&&v.currentTarget.href&&!v.isDefaultPrevented()&&Dd(v.currentTarget,v)&&e.href&&(v.preventDefault(),g.open(v.currentTarget,v,e.href,e.routerOptions))}})}}var Od={};Od={breadcrumbs:"عناصر الواجهة"};var Hd={};Hd={breadcrumbs:"Трохи хляб"};var Ud={};Ud={breadcrumbs:"Popis cesty"};var Wd={};Wd={breadcrumbs:"Brødkrummer"};var Gd={};Gd={breadcrumbs:"Breadcrumbs"};var Zd={};Zd={breadcrumbs:"Πλοηγήσεις breadcrumb"};var qd={};qd={breadcrumbs:"Breadcrumbs"};var Yd={};Yd={breadcrumbs:"Migas de pan"};var Jd={};Jd={breadcrumbs:"Lingiread"};var Xd={};Xd={breadcrumbs:"Navigointilinkit"};var Qd={};Qd={breadcrumbs:"Chemin de navigation"};var ec={};ec={breadcrumbs:"שבילי ניווט"};var tc={};tc={breadcrumbs:"Navigacijski putovi"};var uc={};uc={breadcrumbs:"Morzsamenü"};var nc={};nc={breadcrumbs:"Breadcrumb"};var rc={};rc={breadcrumbs:"パンくずリスト"};var ic={};ic={breadcrumbs:"탐색 표시"};var ac={};ac={breadcrumbs:"Naršymo kelias"};var lc={};lc={breadcrumbs:"Atpakaļceļi"};var oc={};oc={breadcrumbs:"Navigasjonsstier"};var sc={};sc={breadcrumbs:"Broodkruimels"};var dc={};dc={breadcrumbs:"Struktura nawigacyjna"};var cc={};cc={breadcrumbs:"Caminho detalhado"};var fc={};fc={breadcrumbs:"Categorias"};var pc={};pc={breadcrumbs:"Miez de pâine"};var hc={};hc={breadcrumbs:"Навигация"};var mc={};mc={breadcrumbs:"Navigačné prvky Breadcrumbs"};var bc={};bc={breadcrumbs:"Drobtine"};var gc={};gc={breadcrumbs:"Putanje navigacije"};var $c={};$c={breadcrumbs:"Sökvägar"};var yc={};yc={breadcrumbs:"İçerik haritaları"};var vc={};vc={breadcrumbs:"Навігаційна стежка"};var Dc={};Dc={breadcrumbs:"导航栏"};var xc={};xc={breadcrumbs:"導覽列"};var Cc={};Cc={"ar-AE":Od,"bg-BG":Hd,"cs-CZ":Ud,"da-DK":Wd,"de-DE":Gd,"el-GR":Zd,"en-US":qd,"es-ES":Yd,"et-EE":Jd,"fi-FI":Xd,"fr-FR":Qd,"he-IL":ec,"hr-HR":tc,"hu-HU":uc,"it-IT":nc,"ja-JP":rc,"ko-KR":ic,"lt-LT":ac,"lv-LV":lc,"nb-NO":oc,"nl-NL":sc,"pl-PL":dc,"pt-BR":cc,"pt-PT":fc,"ro-RO":pc,"ru-RU":hc,"sk-SK":mc,"sl-SI":bc,"sr-SP":gc,"sv-SE":$c,"tr-TR":yc,"uk-UA":vc,"zh-CN":Dc,"zh-TW":xc};const f6=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),p6=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function h6(e){if(Intl.Locale){let u=new Intl.Locale(e).maximize(),n=typeof u.getTextInfo=="function"?u.getTextInfo():u.textInfo;if(n)return n.direction==="rtl";if(u.script)return f6.has(u.script)}let t=e.split("-")[0];return p6.has(t)}const m6=Symbol.for("react-aria.i18n.locale");function Ec(){let e=typeof window<"u"&&window[m6]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:h6(e)?"rtl":"ltr"}}let Ka=Ec(),Sn=new Set;function Go(){Ka=Ec();for(let e of Sn)e(Ka)}function b6(){let e=Tt(),[t,u]=o.useState(Ka);return o.useEffect(()=>(Sn.size===0&&window.addEventListener("languagechange",Go),Sn.add(u),()=>{Sn.delete(u),Sn.size===0&&window.removeEventListener("languagechange",Go)}),[]),e?{locale:"en-US",direction:"ltr"}:t}const g6=o.createContext(null);function de(){let e=b6();return o.useContext(g6)||e}const $6=Symbol.for("react-aria.i18n.locale"),y6=Symbol.for("react-aria.i18n.strings");let ju;class uu{getStringForLocale(t,u){let r=this.getStringsForLocale(u)[t];if(!r)throw new Error(`Could not find intl message ${t} in ${u} locale`);return r}getStringsForLocale(t){let u=this.strings[t];return u||(u=v6(t,this.strings,this.defaultLocale),this.strings[t]=u),u}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let u=window[$6];if(ju===void 0){let r=window[y6];if(!r)return null;ju={};for(let i in r)ju[i]=new uu({[u]:r[i]},u)}let n=ju==null?void 0:ju[t];if(!n)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(t,u="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,n])=>n)),this.defaultLocale=u}}function v6(e,t,u="en-US"){if(t[e])return t[e];let n=D6(e);if(t[n])return t[n];for(let r in t)if(r.startsWith(n+"-"))return t[r];return t[u]}function D6(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}const Zo=new Map,qo=new Map;class Tl{format(t,u){let n=this.strings.getStringForLocale(t,this.locale);return typeof n=="function"?n(u,this):n}plural(t,u,n="cardinal"){let r=u["="+t];if(r)return typeof r=="function"?r():r;let i=this.locale+":"+n,a=Zo.get(i);a||(a=new Intl.PluralRules(this.locale,{type:n}),Zo.set(i,a));let l=a.select(t);return r=u[l]||u.other,typeof r=="function"?r():r}number(t){let u=qo.get(this.locale);return u||(u=new Intl.NumberFormat(this.locale),qo.set(this.locale,u)),u.format(t)}select(t,u){let n=t[u]||t.other;return typeof n=="function"?n():n}constructor(t,u){this.locale=t,this.strings=u}}const Yo=new WeakMap;function x6(e){let t=Yo.get(e);return t||(t=new uu(e),Yo.set(e,t)),t}function kc(e,t){return t&&uu.getGlobalDictionaryForPackage(t)||x6(e)}function xe(e,t){let{locale:u}=de(),n=kc(e,t);return o.useMemo(()=>new Tl(u,n),[u,n])}function tn(e,t){return e-t*Math.floor(e/t)}const Bc=1721426;function Su(e,t,u,n){t=rr(e,t);let r=t-1,i=-2;return u<=2?i=0:su(t)&&(i=-1),Bc-1+365*r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400)+Math.floor((367*u-362)/12+i+n)}function su(e){return e%4===0&&(e%100!==0||e%400===0)}function rr(e,t){return e==="BC"?1-t:t}function Bi(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const C6={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class Ye{fromJulianDay(t){let u=t,n=u-Bc,r=Math.floor(n/146097),i=tn(n,146097),a=Math.floor(i/36524),l=tn(i,36524),s=Math.floor(l/1461),d=tn(l,1461),c=Math.floor(d/365),f=r*400+a*100+s*4+c+(a!==4&&c!==4?1:0),[p,h]=Bi(f),m=u-Su(p,h,1,1),g=2;u<Su(p,h,3,1)?g=0:su(h)&&(g=1);let $=Math.floor(((m+g)*12+373)/367),v=u-Su(p,h,$,1)+1;return new Te(p,h,$,v)}toJulianDay(t){return Su(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return C6[su(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return su(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}const E6={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Se(e,t){return t=ve(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function k6(e,t){return t=ve(t,e.calendar),e=Ku(e),t=Ku(t),e.era===t.era&&e.year===t.year&&e.month===t.month}function za(e,t){return Pi(e.calendar,t.calendar)&&Se(e,t)}function Pi(e,t){var u,n,r,i;return(i=(r=(u=e.isEqual)===null||u===void 0?void 0:u.call(e,t))!==null&&r!==void 0?r:(n=t.isEqual)===null||n===void 0?void 0:n.call(t,e))!==null&&i!==void 0?i:e.identifier===t.identifier}function Pc(e,t){return Se(e,Rl(t))}const B6={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function Il(e,t,u){let n=e.calendar.toJulianDay(e),r=u?B6[u]:T6(t),i=Math.ceil(n+1-r)%7;return i<0&&(i+=7),i}function Sc(e){return Wt(Date.now(),e)}function Rl(e){return We(Sc(e))}function wc(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function Ac(e,t){return Jo(e)-Jo(t)}function Jo(e){return e.hour*36e5+e.minute*6e4+e.second*1e3+e.millisecond}let ta=null;function Si(){return ta==null&&(ta=new Intl.DateTimeFormat().resolvedOptions().timeZone),ta}function Ku(e){return e.subtract({days:e.day-1})}function Jr(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function P6(e){return Ku(e.subtract({months:e.month-1}))}function S6(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function w6(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function Hn(e,t,u){let n=Il(e,t,u);return e.subtract({days:n})}function A6(e,t,u){return Hn(e,t,u).add({days:6})}const Xo=new Map;function F6(e){if(Intl.Locale){let u=Xo.get(e);return u||(u=new Intl.Locale(e).maximize().region,u&&Xo.set(e,u)),u}let t=e.split("-")[1];return t==="u"?void 0:t}function T6(e){let t=F6(e);return t&&E6[t]||0}function I6(e,t,u){let n=e.calendar.getDaysInMonth(e);return Math.ceil((Il(Ku(e),t,u)+n)/7)}function Kl(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function zl(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}function on(e){e=ve(e,new Ye);let t=rr(e.era,e.year);return Fc(t,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function Fc(e,t,u,n,r,i,a){let l=new Date;return l.setUTCHours(n,r,i,a),l.setUTCFullYear(e,t-1,u),l.getTime()}function Ma(e,t){if(t==="UTC")return 0;if(e>0&&t===Si())return new Date(e).getTimezoneOffset()*-6e4;let{year:u,month:n,day:r,hour:i,minute:a,second:l}=Tc(e,t);return Fc(u,n,r,i,a,l,0)-Math.floor(e/1e3)*1e3}const Qo=new Map;function Tc(e,t){let u=Qo.get(t);u||(u=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Qo.set(t,u));let n=u.formatToParts(new Date(e)),r={};for(let i of n)i.type!=="literal"&&(r[i.type]=i.value);return{year:r.era==="BC"||r.era==="B"?-r.year+1:+r.year,month:+r.month,day:+r.day,hour:r.hour==="24"?0:+r.hour,minute:+r.minute,second:+r.second}}const es=864e5;function R6(e,t,u,n){return(u===n?[u]:[u,n]).filter(i=>K6(e,t,i))}function K6(e,t,u){let n=Tc(u,t);return e.year===n.year&&e.month===n.month&&e.day===n.day&&e.hour===n.hour&&e.minute===n.minute&&e.second===n.second}function Ht(e,t,u="compatible"){let n=Ft(e);if(t==="UTC")return on(n);if(t===Si()&&u==="compatible"){n=ve(n,new Ye);let s=new Date,d=rr(n.era,n.year);return s.setFullYear(d,n.month-1,n.day),s.setHours(n.hour,n.minute,n.second,n.millisecond),s.getTime()}let r=on(n),i=Ma(r-es,t),a=Ma(r+es,t),l=R6(n,t,r-i,r-a);if(l.length===1)return l[0];if(l.length>1)switch(u){case"compatible":case"earlier":return l[0];case"later":return l[l.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(u){case"earlier":return Math.min(r-i,r-a);case"compatible":case"later":return Math.max(r-i,r-a);case"reject":throw new RangeError("No such absolute time found")}}function Ic(e,t,u="compatible"){return new Date(Ht(e,t,u))}function Wt(e,t){let u=Ma(e,t),n=new Date(e+u),r=n.getUTCFullYear(),i=n.getUTCMonth()+1,a=n.getUTCDate(),l=n.getUTCHours(),s=n.getUTCMinutes(),d=n.getUTCSeconds(),c=n.getUTCMilliseconds();return new Wn(r<1?"BC":"AD",r<1?-r+1:r,i,a,t,u,l,s,d,c)}function We(e){return new Te(e.calendar,e.era,e.year,e.month,e.day)}function Ft(e,t){let u=0,n=0,r=0,i=0;if("timeZone"in e)({hour:u,minute:n,second:r,millisecond:i}=e);else if("hour"in e&&!t)return e;return t&&({hour:u,minute:n,second:r,millisecond:i}=t),new Xr(e.calendar,e.era,e.year,e.month,e.day,u,n,r,i)}function ve(e,t){if(Pi(e.calendar,t))return e;let u=t.fromJulianDay(e.calendar.toJulianDay(e)),n=e.copy();return n.calendar=t,n.era=u.era,n.year=u.year,n.month=u.month,n.day=u.day,zu(n),n}function z6(e,t,u){if(e instanceof Wn)return e.timeZone===t?e:N6(e,t);let n=Ht(e,t,u);return Wt(n,t)}function M6(e){let t=on(e)-e.offset;return new Date(t)}function N6(e,t){let u=on(e)-e.offset;return ve(Wt(u,t),e.calendar)}const vn=36e5;function wi(e,t){let u=e.copy(),n="hour"in u?Mc(u,t):0;Na(u,t.years||0),u.calendar.balanceYearMonth&&u.calendar.balanceYearMonth(u,e),u.month+=t.months||0,Va(u),Rc(u),u.day+=(t.weeks||0)*7,u.day+=t.days||0,u.day+=n,V6(u),u.calendar.balanceDate&&u.calendar.balanceDate(u),u.year<1&&(u.year=1,u.month=1,u.day=1);let r=u.calendar.getYearsInEra(u);if(u.year>r){var i,a;let s=(i=(a=u.calendar).isInverseEra)===null||i===void 0?void 0:i.call(a,u);u.year=r,u.month=s?1:u.calendar.getMonthsInYear(u),u.day=s?1:u.calendar.getDaysInMonth(u)}u.month<1&&(u.month=1,u.day=1);let l=u.calendar.getMonthsInYear(u);return u.month>l&&(u.month=l,u.day=u.calendar.getDaysInMonth(u)),u.day=Math.max(1,Math.min(u.calendar.getDaysInMonth(u),u.day)),u}function Na(e,t){var u,n;!((u=(n=e.calendar).isInverseEra)===null||u===void 0)&&u.call(n,e)&&(t=-t),e.year+=t}function Va(e){for(;e.month<1;)Na(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,Na(e,1)}function V6(e){for(;e.day<1;)e.month--,Va(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,Va(e)}function Rc(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function zu(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),Rc(e)}function Ml(e){let t={};for(let u in e)typeof e[u]=="number"&&(t[u]=-e[u]);return t}function Kc(e,t){return wi(e,Ml(t))}function Nl(e,t){let u=e.copy();return t.era!=null&&(u.era=t.era),t.year!=null&&(u.year=t.year),t.month!=null&&(u.month=t.month),t.day!=null&&(u.day=t.day),zu(u),u}function Un(e,t){let u=e.copy();return t.hour!=null&&(u.hour=t.hour),t.minute!=null&&(u.minute=t.minute),t.second!=null&&(u.second=t.second),t.millisecond!=null&&(u.millisecond=t.millisecond),zc(u),u}function _6(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=xr(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=xr(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=xr(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=xr(e.hour,24),t}function zc(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function xr(e,t){let u=e%t;return u<0&&(u+=t),u}function Mc(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,_6(e)}function Nc(e,t){let u=e.copy();return Mc(u,t),u}function j6(e,t){return Nc(e,Ml(t))}function Vl(e,t,u,n){let r=e.copy();switch(t){case"era":{let l=e.calendar.getEras(),s=l.indexOf(e.era);if(s<0)throw new Error("Invalid era: "+e.era);s=Gt(s,u,0,l.length-1,n==null?void 0:n.round),r.era=l[s],zu(r);break}case"year":var i,a;!((i=(a=r.calendar).isInverseEra)===null||i===void 0)&&i.call(a,r)&&(u=-u),r.year=Gt(e.year,u,-1/0,9999,n==null?void 0:n.round),r.year===-1/0&&(r.year=1),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,e);break;case"month":r.month=Gt(e.month,u,1,e.calendar.getMonthsInYear(e),n==null?void 0:n.round);break;case"day":r.day=Gt(e.day,u,1,e.calendar.getDaysInMonth(e),n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(r),zu(r),r}function _l(e,t,u,n){let r=e.copy();switch(t){case"hour":{let i=e.hour,a=0,l=23;if((n==null?void 0:n.hourCycle)===12){let s=i>=12;a=s?12:0,l=s?23:11}r.hour=Gt(i,u,a,l,n==null?void 0:n.round);break}case"minute":r.minute=Gt(e.minute,u,0,59,n==null?void 0:n.round);break;case"second":r.second=Gt(e.second,u,0,59,n==null?void 0:n.round);break;case"millisecond":r.millisecond=Gt(e.millisecond,u,0,999,n==null?void 0:n.round);break;default:throw new Error("Unsupported field "+t)}return r}function Gt(e,t,u,n,r=!1){if(r){e+=Math.sign(t),e<u&&(e=n);let i=Math.abs(t);t>0?e=Math.ceil(e/i)*i:e=Math.floor(e/i)*i,e>n&&(e=u)}else e+=t,e<u?e=n-(u-e-1):e>n&&(e=u+(e-n-1));return e}function Vc(e,t){let u;if(t.years!=null&&t.years!==0||t.months!=null&&t.months!==0||t.weeks!=null&&t.weeks!==0||t.days!=null&&t.days!==0){let r=wi(Ft(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});u=Ht(r,e.timeZone)}else u=on(e)-e.offset;u+=t.milliseconds||0,u+=(t.seconds||0)*1e3,u+=(t.minutes||0)*6e4,u+=(t.hours||0)*36e5;let n=Wt(u,e.timeZone);return ve(n,e.calendar)}function L6(e,t){return Vc(e,Ml(t))}function O6(e,t,u,n){switch(t){case"hour":{let r=0,i=23;if((n==null?void 0:n.hourCycle)===12){let m=e.hour>=12;r=m?12:0,i=m?23:11}let a=Ft(e),l=ve(Un(a,{hour:r}),new Ye),s=[Ht(l,e.timeZone,"earlier"),Ht(l,e.timeZone,"later")].filter(m=>Wt(m,e.timeZone).day===l.day)[0],d=ve(Un(a,{hour:i}),new Ye),c=[Ht(d,e.timeZone,"earlier"),Ht(d,e.timeZone,"later")].filter(m=>Wt(m,e.timeZone).day===d.day).pop(),f=on(e)-e.offset,p=Math.floor(f/vn),h=f%vn;return f=Gt(p,u,Math.floor(s/vn),Math.floor(c/vn),n==null?void 0:n.round)*vn+h,ve(Wt(f,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return _l(e,t,u,n);case"era":case"year":case"month":case"day":{let r=Vl(Ft(e),t,u,n),i=Ht(r,e.timeZone);return ve(Wt(i,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function H6(e,t,u){let n=Ft(e),r=Un(Nl(n,t),t);if(r.compare(n)===0)return e;let i=Ht(r,e.timeZone,u);return ve(Wt(i,e.timeZone),e.calendar)}function _c(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function jc(e){let t=ve(e,new Ye),u;return t.era==="BC"?u=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):u=String(t.year).padStart(4,"0"),`${u}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function Lc(e){return`${jc(e)}T${_c(e)}`}function U6(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let u=Math.floor(e/36e5),n=e%36e5/6e4;return`${t}${String(u).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function W6(e){return`${Lc(e)}${U6(e.offset)}[${e.timeZone}]`}function jl(e){let t=typeof e[0]=="object"?e.shift():new Ye,u;if(typeof e[0]=="string")u=e.shift();else{let a=t.getEras();u=a[a.length-1]}let n=e.shift(),r=e.shift(),i=e.shift();return[t,u,n,r,i]}var G6=new WeakMap;class Te{copy(){return this.era?new Te(this.calendar,this.era,this.year,this.month,this.day):new Te(this.calendar,this.year,this.month,this.day)}add(t){return wi(this,t)}subtract(t){return Kc(this,t)}set(t){return Nl(this,t)}cycle(t,u,n){return Vl(this,t,u,n)}toDate(t){return Ic(this,t)}toString(){return jc(this)}compare(t){return wc(this,t)}constructor(...t){nr(this,G6,{writable:!0,value:void 0});let[u,n,r,i,a]=jl(t);this.calendar=u,this.era=n,this.year=r,this.month=i,this.day=a,zu(this)}}var Z6=new WeakMap;class Ll{copy(){return new Ll(this.hour,this.minute,this.second,this.millisecond)}add(t){return Nc(this,t)}subtract(t){return j6(this,t)}set(t){return Un(this,t)}cycle(t,u,n){return _l(this,t,u,n)}toString(){return _c(this)}compare(t){return Ac(this,t)}constructor(t=0,u=0,n=0,r=0){nr(this,Z6,{writable:!0,value:void 0}),this.hour=t,this.minute=u,this.second=n,this.millisecond=r,zc(this)}}var q6=new WeakMap;class Xr{copy(){return this.era?new Xr(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Xr(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return wi(this,t)}subtract(t){return Kc(this,t)}set(t){return Nl(Un(this,t),t)}cycle(t,u,n){switch(t){case"era":case"year":case"month":case"day":return Vl(this,t,u,n);default:return _l(this,t,u,n)}}toDate(t,u){return Ic(this,t,u)}toString(){return Lc(this)}compare(t){let u=wc(this,t);return u===0?Ac(this,Ft(t)):u}constructor(...t){nr(this,q6,{writable:!0,value:void 0});let[u,n,r,i,a]=jl(t);this.calendar=u,this.era=n,this.year=r,this.month=i,this.day=a,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,zu(this)}}var Y6=new WeakMap;class Wn{copy(){return this.era?new Wn(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Wn(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(t){return Vc(this,t)}subtract(t){return L6(this,t)}set(t,u){return H6(this,t,u)}cycle(t,u,n){return O6(this,t,u,n)}toDate(){return M6(this)}toString(){return W6(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(t){return this.toDate().getTime()-z6(t,this.timeZone).toDate().getTime()}constructor(...t){nr(this,Y6,{writable:!0,value:void 0});let[u,n,r,i,a]=jl(t),l=t.shift(),s=t.shift();this.calendar=u,this.era=n,this.year=r,this.month=i,this.day=a,this.timeZone=l,this.offset=s,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,zu(this)}}const un=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],J6=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],Kr=[1867,1911,1925,1988,2018],au=["meiji","taisho","showa","heisei","reiwa"];function ts(e){const t=un.findIndex(([u,n,r])=>e.year<u||e.year===u&&e.month<n||e.year===u&&e.month===n&&e.day<r);return t===-1?un.length-1:t===0?0:t-1}function ua(e){let t=Kr[au.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new Te(e.year+t,e.month,e.day)}class X6 extends Ye{fromJulianDay(t){let u=super.fromJulianDay(t),n=ts(u);return new Te(this,au[n],u.year-Kr[n],u.month,u.day)}toJulianDay(t){return super.toJulianDay(ua(t))}balanceDate(t){let u=ua(t),n=ts(u);au[n]!==t.era&&(t.era=au[n],t.year=u.year-Kr[n]),this.constrainDate(t)}constrainDate(t){let u=au.indexOf(t.era),n=J6[u];if(n!=null){let[r,i,a]=n,l=r-Kr[u];t.year=Math.max(1,Math.min(l,t.year)),t.year===l&&(t.month=Math.min(i,t.month),t.month===i&&(t.day=Math.min(a,t.day)))}if(t.year===1&&u>=0){let[,r,i]=un[u];t.month=Math.max(r,t.month),t.month===r&&(t.day=Math.max(i,t.day))}}getEras(){return au}getYearsInEra(t){let u=au.indexOf(t.era),n=un[u],r=un[u+1];if(r==null)return 9999-n[0]+1;let i=r[0]-n[0];return(t.month<r[1]||t.month===r[1]&&t.day<r[2])&&i++,i}getDaysInMonth(t){return super.getDaysInMonth(ua(t))}getMinimumMonthInYear(t){let u=us(t);return u?u[1]:1}getMinimumDayInMonth(t){let u=us(t);return u&&t.month===u[1]?u[2]:1}constructor(...t){super(...t),this.identifier="japanese"}}function us(e){if(e.year===1){let t=au.indexOf(e.era);return un[t]}}const Oc=-543;class Q6 extends Ye{fromJulianDay(t){let u=super.fromJulianDay(t),n=rr(u.era,u.year);return new Te(this,n-Oc,u.month,u.day)}toJulianDay(t){return super.toJulianDay(ns(t))}getEras(){return["BE"]}getDaysInMonth(t){return super.getDaysInMonth(ns(t))}balanceDate(){}constructor(...t){super(...t),this.identifier="buddhist"}}function ns(e){let[t,u]=Bi(e.year+Oc);return new Te(t,u,e.month,e.day)}const Qr=1911;function Hc(e){return e.era==="minguo"?e.year+Qr:1-e.year+Qr}function rs(e){let t=e-Qr;return t>0?["minguo",t]:["before_minguo",1-t]}class ey extends Ye{fromJulianDay(t){let u=super.fromJulianDay(t),n=rr(u.era,u.year),[r,i]=rs(n);return new Te(this,r,i,u.month,u.day)}toJulianDay(t){return super.toJulianDay(is(t))}getEras(){return["before_minguo","minguo"]}balanceDate(t){let[u,n]=rs(Hc(t));t.era=u,t.year=n}isInverseEra(t){return t.era==="before_minguo"}getDaysInMonth(t){return super.getDaysInMonth(is(t))}getYearsInEra(t){return t.era==="before_minguo"?9999:9999-Qr}constructor(...t){super(...t),this.identifier="roc"}}function is(e){let[t,u]=Bi(Hc(e));return new Te(t,u,e.month,e.day)}const as=1948320,ls=[0,31,62,93,124,155,186,216,246,276,306,336];class ty{fromJulianDay(t){let u=t-as,n=1+Math.floor((33*u+3)/12053),r=365*(n-1)+Math.floor((8*n+21)/33),i=u-r,a=i<216?Math.floor(i/31):Math.floor((i-6)/30),l=i-ls[a]+1;return new Te(this,n,a+1,l)}toJulianDay(t){let u=as-1+365*(t.year-1)+Math.floor((8*t.year+21)/33);return u+=ls[t.month-1],u+=t.day,u}getMonthsInYear(){return 12}getDaysInMonth(t){return t.month<=6?31:t.month<=11||tn(25*t.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const na=78,os=80;class uy extends Ye{fromJulianDay(t){let u=super.fromJulianDay(t),n=u.year-na,r=t-Su(u.era,u.year,1,1),i;r<os?(n--,i=su(u.year-1)?31:30,r+=i+155+90+10):(i=su(u.year)?31:30,r-=os);let a,l;if(r<i)a=1,l=r+1;else{let s=r-i;s<155?(a=Math.floor(s/31)+2,l=s%31+1):(s-=155,a=Math.floor(s/30)+7,l=s%30+1)}return new Te(this,n,a,l)}toJulianDay(t){let u=t.year+na,[n,r]=Bi(u),i,a;return su(r)?(i=31,a=Su(n,r,3,21)):(i=30,a=Su(n,r,3,22)),t.month===1?a+t.day-1:(a+=i+Math.min(t.month-2,5)*31,t.month>=8&&(a+=(t.month-7)*30),a+=t.day-1,a)}getDaysInMonth(t){return t.month===1&&su(t.year+na)||t.month>=2&&t.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...t){super(...t),this.identifier="indian"}}const ei=1948440,ss=1948439,rt=1300,Lu=1600,ny=460322;function ti(e,t,u,n){return n+Math.ceil(29.5*(u-1))+(t-1)*354+Math.floor((3+11*t)/30)+e-1}function Uc(e,t,u){let n=Math.floor((30*(u-t)+10646)/10631),r=Math.min(12,Math.ceil((u-(29+ti(t,n,1,1)))/29.5)+1),i=u-ti(t,n,r,1)+1;return new Te(e,n,r,i)}function ds(e){return(14+11*e)%30<11}class Ol{fromJulianDay(t){return Uc(this,ei,t)}toJulianDay(t){return ti(ei,t.year,t.month,t.day)}getDaysInMonth(t){let u=29+t.month%2;return t.month===12&&ds(t.year)&&u++,u}getMonthsInYear(){return 12}getDaysInYear(t){return ds(t.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class ry extends Ol{fromJulianDay(t){return Uc(this,ss,t)}toJulianDay(t){return ti(ss,t.year,t.month,t.day)}constructor(...t){super(...t),this.identifier="islamic-tbla"}}const iy="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let _a,nn;function zr(e){return ny+nn[e-rt]}function wn(e,t){let u=e-rt,n=1<<11-(t-1);return _a[u]&n?30:29}function cs(e,t){let u=zr(e);for(let n=1;n<t;n++)u+=wn(e,n);return u}function fs(e){return nn[e+1-rt]-nn[e-rt]}class ay extends Ol{fromJulianDay(t){let u=t-ei,n=zr(rt),r=zr(Lu);if(u<n||u>r)return super.fromJulianDay(t);{let i=rt-1,a=1,l=1;for(;l>0;){i++,l=u-zr(i)+1;let s=fs(i);if(l===s){a=12;break}else if(l<s){let d=wn(i,a);for(a=1;l>d;)l-=d,a++,d=wn(i,a);break}}return new Te(this,i,a,u-cs(i,a)+1)}}toJulianDay(t){return t.year<rt||t.year>Lu?super.toJulianDay(t):ei+cs(t.year,t.month)+(t.day-1)}getDaysInMonth(t){return t.year<rt||t.year>Lu?super.getDaysInMonth(t):wn(t.year,t.month)}getDaysInYear(t){return t.year<rt||t.year>Lu?super.getDaysInYear(t):fs(t.year)}constructor(){if(super(),this.identifier="islamic-umalqura",_a||(_a=new Uint16Array(Uint8Array.from(atob(iy),t=>t.charCodeAt(0)).buffer)),!nn){nn=new Uint32Array(Lu-rt+1);let t=0;for(let u=rt;u<=Lu;u++){nn[u-rt]=t;for(let n=1;n<=12;n++)t+=wn(u,n)}}}}const ps=347997,Wc=1080,Gc=24*Wc,ly=29,oy=12*Wc+793,sy=ly*Gc+oy;function Bu(e){return tn(e*7+1,19)<7}function Mr(e){let t=Math.floor((235*e-234)/19),u=12084+13753*t,n=t*29+Math.floor(u/25920);return tn(3*(n+1),7)<3&&(n+=1),n}function dy(e){let t=Mr(e-1),u=Mr(e);return Mr(e+1)-u===356?2:u-t===382?1:0}function In(e){return Mr(e)+dy(e)}function Zc(e){return In(e+1)-In(e)}function cy(e){let t=Zc(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}function Cr(e,t){if(t>=6&&!Bu(e)&&t++,t===4||t===7||t===9||t===11||t===13)return 29;let u=cy(e);return t===2?u===2?30:29:t===3?u===0?29:30:t===6?Bu(e)?30:0:30}class fy{fromJulianDay(t){let u=t-ps,n=u*Gc/sy,r=Math.floor((19*n+234)/235)+1,i=In(r),a=Math.floor(u-i);for(;a<1;)r--,i=In(r),a=Math.floor(u-i);let l=1,s=0;for(;s<a;)s+=Cr(r,l),l++;l--,s-=Cr(r,l);let d=a-s;return new Te(this,r,l,d)}toJulianDay(t){let u=In(t.year);for(let n=1;n<t.month;n++)u+=Cr(t.year,n);return u+t.day+ps}getDaysInMonth(t){return Cr(t.year,t.month)}getMonthsInYear(t){return Bu(t.year)?13:12}getDaysInYear(t){return Zc(t.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(t,u){u.year!==t.year&&(Bu(u.year)&&!Bu(t.year)&&u.month>6?t.month--:!Bu(u.year)&&Bu(t.year)&&u.month>6&&t.month++)}constructor(){this.identifier="hebrew"}}const ja=1723856,hs=1824665,La=5500;function ui(e,t,u,n){return e+365*t+Math.floor(t/4)+30*(u-1)+n-1}function Hl(e,t){let u=Math.floor(4*(t-e)/1461),n=1+Math.floor((t-ui(e,u,1,1))/30),r=t+1-ui(e,u,n,1);return[u,n,r]}function qc(e){return Math.floor(e%4/3)}function Yc(e,t){return t%13!==0?30:qc(e)+5}class Ul{fromJulianDay(t){let[u,n,r]=Hl(ja,t),i="AM";return u<=0&&(i="AA",u+=La),new Te(this,i,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="AA"&&(u-=La),ui(ja,u,t.month,t.day)}getDaysInMonth(t){return Yc(t.year,t.month)}getMonthsInYear(){return 13}getDaysInYear(t){return 365+qc(t.year)}getYearsInEra(t){return t.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class py extends Ul{fromJulianDay(t){let[u,n,r]=Hl(ja,t);return u+=La,new Te(this,"AA",u,n,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...t){super(...t),this.identifier="ethioaa"}}class hy extends Ul{fromJulianDay(t){let[u,n,r]=Hl(hs,t),i="CE";return u<=0&&(i="BCE",u=1-u),new Te(this,i,u,n,r)}toJulianDay(t){let u=t.year;return t.era==="BCE"&&(u=1-u),ui(hs,u,t.month,t.day)}getDaysInMonth(t){let u=t.year;return t.era==="BCE"&&(u=1-u),Yc(u,t.month)}isInverseEra(t){return t.era==="BCE"}balanceDate(t){t.year<=0&&(t.era=t.era==="BCE"?"CE":"BCE",t.year=1-t.year)}getEras(){return["BCE","CE"]}getYearsInEra(t){return t.era==="BCE"?9999:9715}constructor(...t){super(...t),this.identifier="coptic"}}function Ai(e){switch(e){case"buddhist":return new Q6;case"ethiopic":return new Ul;case"ethioaa":return new py;case"coptic":return new hy;case"hebrew":return new fy;case"indian":return new uy;case"islamic-civil":return new Ol;case"islamic-tbla":return new ry;case"islamic-umalqura":return new ay;case"japanese":return new X6;case"persian":return new ty;case"roc":return new ey;case"gregory":default:return new Ye}}let ra=new Map;class lt{format(t){return this.formatter.format(t)}formatToParts(t){return this.formatter.formatToParts(t)}formatRange(t,u){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.formatter.format(t)} – ${this.formatter.format(u)}`}formatRangeToParts(t,u){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(t),r=this.formatter.formatToParts(u);return[...n.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.formatter.resolvedOptions();return gy()&&(this.resolvedHourCycle||(this.resolvedHourCycle=$y(t.locale,this.options)),t.hourCycle=this.resolvedHourCycle,t.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),t.calendar==="ethiopic-amete-alem"&&(t.calendar="ethioaa"),t}constructor(t,u={}){this.formatter=Jc(t,u),this.options=u}}const my={true:{ja:"h11"},false:{}};function Jc(e,t={}){if(typeof t.hour12=="boolean"&&by()){t={...t};let r=my[String(t.hour12)][e.split("-")[0]],i=t.hour12?"h12":"h23";t.hourCycle=r??i,delete t.hour12}let u=e+(t?Object.entries(t).sort((r,i)=>r[0]<i[0]?-1:1).join():"");if(ra.has(u))return ra.get(u);let n=new Intl.DateTimeFormat(e,t);return ra.set(u,n),n}let ia=null;function by(){return ia==null&&(ia=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),ia}let aa=null;function gy(){return aa==null&&(aa=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),aa}function $y(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),e+=(e.includes("-u-")?"":"-u")+"-nu-latn";let u=Jc(e,{...t,timeZone:void 0}),n=parseInt(u.formatToParts(new Date(2020,2,3,0)).find(i=>i.type==="hour").value,10),r=parseInt(u.formatToParts(new Date(2020,2,3,23)).find(i=>i.type==="hour").value,10);if(n===0&&r===23)return"h23";if(n===24&&r===23)return"h24";if(n===0&&r===11)return"h11";if(n===12&&r===11)return"h12";throw new Error("Unexpected hour cycle result")}function kt(e){e=kd(e??{},yy);let{locale:t}=de();return o.useMemo(()=>new lt(t,e),[t,e])}function yy(e,t){if(e===t)return!0;let u=Object.keys(e),n=Object.keys(t);if(u.length!==n.length)return!1;for(let r of u)if(t[r]!==e[r])return!1;return!0}let la=new Map,Oa=!1;try{Oa=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let ni=!1;try{ni=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const Xc={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class Qc{format(t){let u="";if(!Oa&&this.options.signDisplay!=null?u=Dy(this.numberFormatter,this.options.signDisplay,t):u=this.numberFormatter.format(t),this.options.style==="unit"&&!ni){var n;let{unit:r,unitDisplay:i="short",locale:a}=this.resolvedOptions();if(!r)return u;let l=(n=Xc[r])===null||n===void 0?void 0:n[i];u+=l[a]||l.default}return u}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,u){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,u);if(u<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(u)}`}formatRangeToParts(t,u){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,u);if(u<t)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(t),r=this.numberFormatter.formatToParts(u);return[...n.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!Oa&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!ni&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,u={}){this.numberFormatter=vy(t,u),this.options=u}}function vy(e,t={}){let{numberingSystem:u}=t;if(u&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${u}`),t.style==="unit"&&!ni){var n;let{unit:a,unitDisplay:l="short"}=t;if(!a)throw new Error('unit option must be provided with style: "unit"');if(!(!((n=Xc[a])===null||n===void 0)&&n[l]))throw new Error(`Unsupported unit ${a} with unitDisplay = ${l}`);t={...t,style:"decimal"}}let r=e+(t?Object.entries(t).sort((a,l)=>a[0]<l[0]?-1:1).join():"");if(la.has(r))return la.get(r);let i=new Intl.NumberFormat(e,t);return la.set(r,i),i}function Dy(e,t,u){if(t==="auto")return e.format(u);if(t==="never")return e.format(Math.abs(u));{let n=!1;if(t==="always"?n=u>0||Object.is(u,0):t==="exceptZero"&&(Object.is(u,-0)||Object.is(u,0)?u=Math.abs(u):n=u>0),n){let r=e.format(-u),i=e.format(u),a=r.replace(i,"").replace(/\u200e|\u061C/,"");return[...a].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),r.replace(i,"!!!").replace(a,"+").replace("!!!",i)}else return e.format(u)}}const xy=new RegExp("^.*\\(.*\\).*$"),Cy=["latn","arab","hanidec","deva","beng"];class e4{parse(t){return oa(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,u,n){return oa(this.locale,this.options,t).isValidPartialNumber(t,u,n)}getNumberingSystem(t){return oa(this.locale,this.options,t).options.numberingSystem}constructor(t,u={}){this.locale=t,this.options=u}}const ms=new Map;function oa(e,t,u){let n=bs(e,t);if(!e.includes("-nu-")&&!n.isValidPartialNumber(u)){for(let r of Cy)if(r!==n.options.numberingSystem){let i=bs(e+(e.includes("-u-")?"-nu-":"-u-nu-")+r,t);if(i.isValidPartialNumber(u))return i}}return n}function bs(e,t){let u=e+(t?Object.entries(t).sort((r,i)=>r[0]<i[0]?-1:1).join():""),n=ms.get(u);return n||(n=new Ey(e,t),ms.set(u,n)),n}class Ey{parse(t){let u=this.sanitize(t);if(this.symbols.group&&(u=Dn(u,this.symbols.group,"")),this.symbols.decimal&&(u=u.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(u=u.replace(this.symbols.minusSign,"-")),u=u.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let a=u.indexOf("-");u=u.replace("-","");let l=u.indexOf(".");l===-1&&(l=u.length),u=u.replace(".",""),l-2===0?u=`0.${u}`:l-2===-1?u=`0.0${u}`:l-2===-2?u="0.00":u=`${u.slice(0,l-2)}.${u.slice(l-2)}`,a>-1&&(u=`-${u}`)}let n=u?+u:NaN;if(isNaN(n))return NaN;if(this.options.style==="percent"){var r,i;let a={...this.options,style:"decimal",minimumFractionDigits:Math.min(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)+2,20),maximumFractionDigits:Math.min(((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)+2,20)};return new e4(this.locale,a).parse(new Qc(this.locale,a).format(n))}return this.options.currencySign==="accounting"&&xy.test(t)&&(n=-1*n),n}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=Dn(t,".",this.symbols.group))),this.options.locale==="fr-FR"&&this.symbols.group&&(t=Dn(t," ",this.symbols.group),t=Dn(t,/\u00A0/g,this.symbols.group)),t}isValidPartialNumber(t,u=-1/0,n=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&u<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&n>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=Dn(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,u={}){this.locale=t,u.roundingIncrement!==1&&u.roundingIncrement!=null&&(u.maximumFractionDigits==null&&u.minimumFractionDigits==null?(u.maximumFractionDigits=0,u.minimumFractionDigits=0):u.maximumFractionDigits==null?u.maximumFractionDigits=u.minimumFractionDigits:u.minimumFractionDigits==null&&(u.minimumFractionDigits=u.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(t,u),this.options=this.formatter.resolvedOptions(),this.symbols=By(t,this.formatter,this.options,u);var n,r;this.options.style==="percent"&&(((n=this.options.minimumFractionDigits)!==null&&n!==void 0?n:0)>18||((r=this.options.maximumFractionDigits)!==null&&r!==void 0?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const gs=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),ky=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function By(e,t,u,n){var r,i,a,l;let s=new Intl.NumberFormat(e,{...u,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),d=s.formatToParts(-10000.111),c=s.formatToParts(10000.111),f=ky.map(w=>s.formatToParts(w));var p;let h=(p=(r=d.find(w=>w.type==="minusSign"))===null||r===void 0?void 0:r.value)!==null&&p!==void 0?p:"-",m=(i=c.find(w=>w.type==="plusSign"))===null||i===void 0?void 0:i.value;!m&&((n==null?void 0:n.signDisplay)==="exceptZero"||(n==null?void 0:n.signDisplay)==="always")&&(m="+");let $=(a=new Intl.NumberFormat(e,{...u,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(w=>w.type==="decimal"))===null||a===void 0?void 0:a.value,v=(l=d.find(w=>w.type==="group"))===null||l===void 0?void 0:l.value,C=d.filter(w=>!gs.has(w.type)).map(w=>$s(w.value)),D=f.flatMap(w=>w.filter(y=>!gs.has(y.type)).map(y=>$s(y.value))),x=[...new Set([...C,...D])].sort((w,y)=>y.length-w.length),k=x.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${x.join("|")}|[\\p{White_Space}]`,"gu"),S=[...new Intl.NumberFormat(u.locale,{useGrouping:!1}).format(9876543210)].reverse(),F=new Map(S.map((w,y)=>[w,y])),T=new RegExp(`[${S.join("")}]`,"g");return{minusSign:h,plusSign:m,decimal:$,group:v,literals:k,numeral:T,index:w=>String(F.get(w))}}function Dn(e,t,u){return e.replaceAll?e.replaceAll(t,u):e.split(t).join(u)}function $s(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Py(e={}){let{locale:t}=de();return o.useMemo(()=>new Qc(t,e),[t,e])}let sa=new Map;function pn(e){let{locale:t}=de(),u=t+(e?Object.entries(e).sort((r,i)=>r[0]<i[0]?-1:1).join():"");if(sa.has(u))return sa.get(u);let n=new Intl.Collator(t,e);return sa.set(u,n),n}function t4(e){let t=pn({usage:"search",...e}),u=o.useCallback((i,a)=>a.length===0?!0:(i=i.normalize("NFC"),a=a.normalize("NFC"),t.compare(i.slice(0,a.length),a)===0),[t]),n=o.useCallback((i,a)=>a.length===0?!0:(i=i.normalize("NFC"),a=a.normalize("NFC"),t.compare(i.slice(-a.length),a)===0),[t]),r=o.useCallback((i,a)=>{if(a.length===0)return!0;i=i.normalize("NFC"),a=a.normalize("NFC");let l=0,s=a.length;for(;l+s<=i.length;l++){let d=i.slice(l,l+s);if(t.compare(a,d)===0)return!0}return!1},[t]);return o.useMemo(()=>({startsWith:u,endsWith:n,contains:r}),[u,n,r])}function Sy(e){return e&&e.__esModule?e.default:e}function wy(e){let{"aria-label":t,...u}=e,n=xe(Sy(Cc),"@react-aria/breadcrumbs");return{navProps:{...H(u,{labelable:!0}),"aria-label":t||n.format("breadcrumbs")}}}function Fi(e,t){let{elementType:u="button",isDisabled:n,onPress:r,onPressStart:i,onPressEnd:a,onPressUp:l,onPressChange:s,preventFocusOnPress:d,allowFocusWhenDisabled:c,onClick:f,href:p,target:h,rel:m,type:g="button"}=e,$;u==="button"?$={type:g,disabled:n}:$={role:"button",href:u==="a"&&!n?p:void 0,target:u==="a"?h:void 0,type:u==="input"?g:void 0,disabled:u==="input"?n:void 0,"aria-disabled":!n||u==="input"?void 0:n,rel:u==="a"?m:void 0};let{pressProps:v,isPressed:C}=tt({onPressStart:i,onPressEnd:a,onPressChange:s,onPress:r,onPressUp:l,onClick:f,isDisabled:n,preventFocusOnPress:d,ref:t}),{focusableProps:D}=tu(e,t);c&&(D.tabIndex=n?-1:D.tabIndex);let x=V(D,v,H(e,{labelable:!0}));return{isPressed:C,buttonProps:V($,x,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"]})}}function u4(e,t,u){const{isSelected:n}=t,{isPressed:r,buttonProps:i}=Fi({...e,onPress:et(t.toggle,e.onPress)},u);return{isPressed:r,isSelected:n,isDisabled:e.isDisabled||!1,buttonProps:V(i,{"aria-pressed":n})}}function Ay(e){const t=Qe(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:u,visibility:n}=e.style,r=u!=="none"&&n!=="hidden"&&n!=="collapse";if(r){const{getComputedStyle:i}=e.ownerDocument.defaultView;let{display:a,visibility:l}=i(e);r=a!=="none"&&l!=="hidden"&&l!=="collapse"}return r}function Fy(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&(e.nodeName==="DETAILS"&&t&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0)}function n4(e,t){return e.nodeName!=="#comment"&&Ay(e)&&Fy(e,t)&&(!e.parentElement||n4(e.parentElement,e))}const ys=o.createContext(null),Ha="react-aria-focus-scope-restore";let he=null;function ir(e){let{children:t,contain:u,restoreFocus:n,autoFocus:r}=e,i=o.useRef(null),a=o.useRef(null),l=o.useRef([]),{parentNode:s}=o.useContext(ys)||{},d=o.useMemo(()=>new Wa({scopeRef:l}),[l]);J(()=>{let p=s||Fe.root;if(Fe.getTreeNode(p.scopeRef)&&he&&!ri(he,p.scopeRef)){let h=Fe.getTreeNode(he);h&&(p=h)}p.addChild(d),Fe.addNode(d)},[d,s]),J(()=>{let p=Fe.getTreeNode(l);p&&(p.contain=!!u)},[u]),J(()=>{var p;let h=(p=i.current)===null||p===void 0?void 0:p.nextSibling,m=[],g=$=>$.stopPropagation();for(;h&&h!==a.current;)m.push(h),h.addEventListener(Ha,g),h=h.nextSibling;return l.current=m,()=>{for(let $ of m)$.removeEventListener(Ha,g)}},[t]),zy(l,n,u),Iy(l,u),My(l,n,u),Ky(l,r),o.useEffect(()=>{const p=ze(re(l.current?l.current[0]:void 0));let h=null;if(ct(p,l.current)){for(let m of Fe.traverse())m.scopeRef&&ct(p,m.scopeRef.current)&&(h=m);h===Fe.getTreeNode(l)&&(he=h.scopeRef)}},[l]),J(()=>()=>{var p,h,m;let g=(m=(h=Fe.getTreeNode(l))===null||h===void 0||(p=h.parent)===null||p===void 0?void 0:p.scopeRef)!==null&&m!==void 0?m:null;(l===he||ri(l,he))&&(!g||Fe.getTreeNode(g))&&(he=g),Fe.removeTreeNode(l)},[l]);let c=o.useMemo(()=>Ty(l),[]),f=o.useMemo(()=>({focusManager:c,parentNode:d}),[d,c]);return o.createElement(ys.Provider,{value:f},o.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:i}),t,o.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:a}))}function Ty(e){return{focusNext(t={}){let u=e.current,{from:n,tabbable:r,wrap:i,accept:a}=t;var l;let s=n||ze(re((l=u[0])!==null&&l!==void 0?l:void 0)),d=u[0].previousElementSibling,c=wu(u),f=we(c,{tabbable:r,accept:a},u);f.currentNode=ct(s,u)?s:d;let p=f.nextNode();return!p&&i&&(f.currentNode=d,p=f.nextNode()),p&&Ze(p,!0),p},focusPrevious(t={}){let u=e.current,{from:n,tabbable:r,wrap:i,accept:a}=t;var l;let s=n||ze(re((l=u[0])!==null&&l!==void 0?l:void 0)),d=u[u.length-1].nextElementSibling,c=wu(u),f=we(c,{tabbable:r,accept:a},u);f.currentNode=ct(s,u)?s:d;let p=f.previousNode();return!p&&i&&(f.currentNode=d,p=f.previousNode()),p&&Ze(p,!0),p},focusFirst(t={}){let u=e.current,{tabbable:n,accept:r}=t,i=wu(u),a=we(i,{tabbable:n,accept:r},u);a.currentNode=u[0].previousElementSibling;let l=a.nextNode();return l&&Ze(l,!0),l},focusLast(t={}){let u=e.current,{tabbable:n,accept:r}=t,i=wu(u),a=we(i,{tabbable:n,accept:r},u);a.currentNode=u[u.length-1].nextElementSibling;let l=a.previousNode();return l&&Ze(l,!0),l}}}function wu(e){return e[0].parentElement}function An(e){let t=Fe.getTreeNode(he);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function Iy(e,t){let u=o.useRef(void 0),n=o.useRef(void 0);J(()=>{let r=e.current;if(!t){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const i=re(r?r[0]:void 0);let a=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!An(e)||d.isComposing)return;let c=ze(i),f=e.current;if(!f||!ct(c,f))return;let p=wu(f),h=we(p,{tabbable:!0},f);if(!c)return;h.currentNode=c;let m=d.shiftKey?h.previousNode():h.nextNode();m||(h.currentNode=d.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,m=d.shiftKey?h.previousNode():h.nextNode()),d.preventDefault(),m&&Ze(m,!0)},l=d=>{(!he||ri(he,e))&&ct(se(d),e.current)?(he=e,u.current=se(d)):An(e)&&!du(se(d),e)?u.current?u.current.focus():he&&he.current&&Ua(he.current):An(e)&&(u.current=se(d))},s=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let c=qt(),f=(c==="virtual"||c===null)&&zn()&&yd(),p=ze(i);if(!f&&p&&An(e)&&!du(p,e)){he=e;let m=se(d);if(m&&m.isConnected){var h;u.current=m,(h=u.current)===null||h===void 0||h.focus()}else he.current&&Ua(he.current)}})};return i.addEventListener("keydown",a,!1),i.addEventListener("focusin",l,!1),r==null||r.forEach(d=>d.addEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.addEventListener("focusout",s,!1)),()=>{i.removeEventListener("keydown",a,!1),i.removeEventListener("focusin",l,!1),r==null||r.forEach(d=>d.removeEventListener("focusin",l,!1)),r==null||r.forEach(d=>d.removeEventListener("focusout",s,!1))}},[e,t]),J(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function r4(e){return du(e)}function ct(e,t){return!e||!t?!1:t.some(u=>u.contains(e))}function du(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:u}of Fe.traverse(Fe.getTreeNode(t)))if(u&&ct(e,u.current))return!0;return!1}function Ry(e){return du(e,he)}function ri(e,t){var u;let n=(u=Fe.getTreeNode(t))===null||u===void 0?void 0:u.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function Ze(e,t=!1){if(e!=null&&!t)try{Ee(e)}catch{}else if(e!=null)try{e.focus()}catch{}}function i4(e,t=!0){let u=e[0].previousElementSibling,n=wu(e),r=we(n,{tabbable:t},e);r.currentNode=u;let i=r.nextNode();return t&&!i&&(n=wu(e),r=we(n,{tabbable:!1},e),r.currentNode=u,i=r.nextNode()),i}function Ua(e,t=!0){Ze(i4(e,t))}function Ky(e,t){const u=o.useRef(t);o.useEffect(()=>{if(u.current){he=e;const n=re(e.current?e.current[0]:void 0);!ct(ze(n),he.current)&&e.current&&Ua(e.current)}u.current=!1},[e])}function zy(e,t,u){J(()=>{if(t||u)return;let n=e.current;const r=re(n?n[0]:void 0);let i=a=>{let l=se(a);ct(l,e.current)?he=e:r4(l)||(he=null)};return r.addEventListener("focusin",i,!1),n==null||n.forEach(a=>a.addEventListener("focusin",i,!1)),()=>{r.removeEventListener("focusin",i,!1),n==null||n.forEach(a=>a.removeEventListener("focusin",i,!1))}},[e,t,u])}function vs(e){let t=Fe.getTreeNode(he);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(t==null?void 0:t.scopeRef)===e}function My(e,t,u){const n=o.useRef(typeof document<"u"?ze(re(e.current?e.current[0]:void 0)):null);J(()=>{let r=e.current;const i=re(r?r[0]:void 0);if(!t||u)return;let a=()=>{(!he||ri(he,e))&&ct(ze(i),e.current)&&(he=e)};return i.addEventListener("focusin",a,!1),r==null||r.forEach(l=>l.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),r==null||r.forEach(l=>l.removeEventListener("focusin",a,!1))}},[e,u]),J(()=>{const r=re(e.current?e.current[0]:void 0);if(!t)return;let i=a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey||!An(e)||a.isComposing)return;let l=r.activeElement;if(!du(l,e)||!vs(e))return;let s=Fe.getTreeNode(e);if(!s)return;let d=s.nodeToRestore,c=we(r.body,{tabbable:!0});c.currentNode=l;let f=a.shiftKey?c.previousNode():c.nextNode();if((!d||!d.isConnected||d===r.body)&&(d=void 0,s.nodeToRestore=void 0),(!f||!du(f,e))&&d){c.currentNode=d;do f=a.shiftKey?c.previousNode():c.nextNode();while(du(f,e));a.preventDefault(),a.stopPropagation(),f?Ze(f,!0):r4(d)?Ze(d,!0):l.blur()}};return u||r.addEventListener("keydown",i,!0),()=>{u||r.removeEventListener("keydown",i,!0)}},[e,t,u]),J(()=>{const r=re(e.current?e.current[0]:void 0);if(!t)return;let i=Fe.getTreeNode(e);if(i){var a;return i.nodeToRestore=(a=n.current)!==null&&a!==void 0?a:void 0,()=>{let l=Fe.getTreeNode(e);if(!l)return;let s=l.nodeToRestore,d=ze(r);if(t&&s&&(d&&du(d,e)||d===r.body&&vs(e))){let c=Fe.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let f=c.getTreeNode(e);for(;f;){if(f.nodeToRestore&&f.nodeToRestore.isConnected){Ds(f.nodeToRestore);return}f=f.parent}for(f=c.getTreeNode(e);f;){if(f.scopeRef&&f.scopeRef.current&&Fe.getTreeNode(f.scopeRef)){let p=i4(f.scopeRef.current,!0);Ds(p);return}f=f.parent}}})}}}},[e,t])}function Ds(e){e.dispatchEvent(new CustomEvent(Ha,{bubbles:!0,cancelable:!0}))&&Ze(e)}function we(e,t,u){let n=t!=null&&t.tabbable?T$:kl,r=(e==null?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,i=re(r),a=c$(i,e||i,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var s;return!(t==null||(s=t.from)===null||s===void 0)&&s.contains(l)?NodeFilter.FILTER_REJECT:n(l)&&n4(l)&&(!u||ct(l,u))&&(!(t!=null&&t.accept)||t.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return t!=null&&t.from&&(a.currentNode=t.from),a}function ar(e,t={}){return{focusNext(u={}){let n=e.current;if(!n)return null;let{from:r,tabbable:i=t.tabbable,wrap:a=t.wrap,accept:l=t.accept}=u,s=r||ze(re(n)),d=we(n,{tabbable:i,accept:l});n.contains(s)&&(d.currentNode=s);let c=d.nextNode();return!c&&a&&(d.currentNode=n,c=d.nextNode()),c&&Ze(c,!0),c},focusPrevious(u=t){let n=e.current;if(!n)return null;let{from:r,tabbable:i=t.tabbable,wrap:a=t.wrap,accept:l=t.accept}=u,s=r||ze(re(n)),d=we(n,{tabbable:i,accept:l});if(n.contains(s))d.currentNode=s;else{let f=da(d);return f&&Ze(f,!0),f??null}let c=d.previousNode();if(!c&&a){d.currentNode=n;let f=da(d);if(!f)return null;c=f}return c&&Ze(c,!0),c??null},focusFirst(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:i=t.accept}=u,l=we(n,{tabbable:r,accept:i}).nextNode();return l&&Ze(l,!0),l},focusLast(u=t){let n=e.current;if(!n)return null;let{tabbable:r=t.tabbable,accept:i=t.accept}=u,a=we(n,{tabbable:r,accept:i}),l=da(a);return l&&Ze(l,!0),l??null}}}function da(e){let t,u;do u=e.lastChild(),u&&(t=u);while(u);return t}class Wl{get size(){return this.fastMap.size}getTreeNode(t){return this.fastMap.get(t)}addTreeNode(t,u,n){let r=this.fastMap.get(u??null);if(!r)return;let i=new Wa({scopeRef:t});r.addChild(i),i.parent=r,this.fastMap.set(t,i),n&&(i.nodeToRestore=n)}addNode(t){this.fastMap.set(t.scopeRef,t)}removeTreeNode(t){if(t===null)return;let u=this.fastMap.get(t);if(!u)return;let n=u.parent;for(let i of this.traverse())i!==u&&u.nodeToRestore&&i.nodeToRestore&&u.scopeRef&&u.scopeRef.current&&ct(i.nodeToRestore,u.scopeRef.current)&&(i.nodeToRestore=u.nodeToRestore);let r=u.children;n&&(n.removeChild(u),r.size>0&&r.forEach(i=>n&&n.addChild(i))),this.fastMap.delete(u.scopeRef)}*traverse(t=this.root){if(t.scopeRef!=null&&(yield t),t.children.size>0)for(let u of t.children)yield*this.traverse(u)}clone(){var t;let u=new Wl;var n;for(let r of this.traverse())u.addTreeNode(r.scopeRef,(n=(t=r.parent)===null||t===void 0?void 0:t.scopeRef)!==null&&n!==void 0?n:null,r.nodeToRestore);return u}constructor(){this.fastMap=new Map,this.root=new Wa({scopeRef:null}),this.fastMap.set(null,this.root)}}class Wa{addChild(t){this.children.add(t),t.parent=this}removeChild(t){this.children.delete(t),t.parent=void 0}constructor(t){this.children=new Set,this.contain=!1,this.scopeRef=t.scopeRef}}let Fe=new Wl;function me(e={}){let{autoFocus:t=!1,isTextInput:u,within:n}=e,r=o.useRef({isFocused:!1,isFocusVisible:t||Qt()}),[i,a]=o.useState(!1),[l,s]=o.useState(()=>r.current.isFocused&&r.current.isFocusVisible),d=o.useCallback(()=>s(r.current.isFocused&&r.current.isFocusVisible),[]),c=o.useCallback(h=>{r.current.isFocused=h,a(h),d()},[d]);J$(h=>{r.current.isFocusVisible=h,d()},[],{isTextInput:u});let{focusProps:f}=Ei({isDisabled:n,onFocusChange:c}),{focusWithinProps:p}=yt({isDisabled:!n,onFocusWithinChange:c});return{isFocused:i,isFocusVisible:l,focusProps:n?p:f}}function Gl(e,t){let u=t==null?void 0:t.isDisabled,[n,r]=o.useState(!1);return J(()=>{if(e!=null&&e.current&&!u){let i=()=>{if(e.current){let l=we(e.current,{tabbable:!0});r(!!l.nextNode())}};i();let a=new MutationObserver(i);return a.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{a.disconnect()}}}),u?!1:n}function a4(e){let t=Vy(re(e));t!==e&&(t&&Ny(t,e),e&&l4(e,t))}function Ny(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function l4(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function Vy(e){let t=ze(e),u=t==null?void 0:t.getAttribute("aria-activedescendant");return u&&e.getElementById(u)||t}function _y(e,t){const{"aria-label":u,"aria-labelledby":n,orientation:r="horizontal"}=e;let[i,a]=o.useState(!1);J(()=>{var m;a(!!(t.current&&(!((m=t.current.parentElement)===null||m===void 0)&&m.closest('[role="toolbar"]'))))});const{direction:l}=de(),s=l==="rtl"&&r==="horizontal";let d=ar(t);const c=m=>{if(m.currentTarget.contains(m.target)){if(r==="horizontal"&&m.key==="ArrowRight"||r==="vertical"&&m.key==="ArrowDown")s?d.focusPrevious():d.focusNext();else if(r==="horizontal"&&m.key==="ArrowLeft"||r==="vertical"&&m.key==="ArrowUp")s?d.focusNext():d.focusPrevious();else if(m.key==="Tab"){m.stopPropagation(),f.current=document.activeElement,m.shiftKey?d.focusFirst():d.focusLast();return}else return;m.stopPropagation(),m.preventDefault()}},f=o.useRef(null),p=m=>{!m.currentTarget.contains(m.relatedTarget)&&!f.current&&(f.current=m.target)},h=m=>{var g;if(f.current&&!m.currentTarget.contains(m.relatedTarget)&&(!((g=t.current)===null||g===void 0)&&g.contains(m.target))){var $;($=f.current)===null||$===void 0||$.focus(),f.current=null}};return{toolbarProps:{...H(e,{labelable:!0}),role:i?"group":"toolbar","aria-orientation":r,"aria-label":u,"aria-labelledby":u==null?n:void 0,onKeyDownCapture:i?void 0:c,onFocusCapture:i?void 0:h,onBlurCapture:i?void 0:p}}}function jy(e,t,u){let{isDisabled:n}=e,{toolbarProps:r}=_y(e,u);return{groupProps:{...r,role:t.selectionMode==="single"?"radiogroup":r.role,"aria-disabled":n}}}function Ly(e,t,u){let n={isSelected:t.selectedKeys.has(e.id),setSelected(s){t.setSelected(e.id,s)},toggle(){t.toggleKey(e.id)}},{isPressed:r,isSelected:i,isDisabled:a,buttonProps:l}=u4({...e,id:void 0,isDisabled:e.isDisabled||t.isDisabled},n,u);return t.selectionMode==="single"&&(l.role="radio",l["aria-checked"]=n.isSelected,delete l["aria-pressed"]),{isPressed:r,isSelected:i,isDisabled:a,buttonProps:l}}var o4={};o4={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`};var s4={};s4={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`};var d4={};d4={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`};var c4={};c4={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var f4={};f4={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`};var p4={};p4={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`};var h4={};h4={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`};var m4={};m4={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`};var b4={};b4={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`};var g4={};g4={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`};var $4={};$4={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`};var y4={};y4={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`};var v4={};v4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`};var D4={};D4={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`};var x4={};x4={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`};var C4={};C4={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`};var E4={};E4={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`};var k4={};k4={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`};var B4={};B4={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`};var P4={};P4={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`};var S4={};S4={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`};var w4={};w4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>`Dzisiaj wybrano ${e.date}`};var A4={};A4={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var F4={};F4={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`};var T4={};T4={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`};var I4={};I4={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`};var R4={};R4={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`};var K4={};K4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`};var z4={};z4={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`};var M4={};M4={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista tillgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`};var N4={};N4={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`};var V4={};V4={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`};var _4={};_4={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`};var j4={};j4={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var lr={};lr={"ar-AE":o4,"bg-BG":s4,"cs-CZ":d4,"da-DK":c4,"de-DE":f4,"el-GR":p4,"en-US":h4,"es-ES":m4,"et-EE":b4,"fi-FI":g4,"fr-FR":$4,"he-IL":y4,"hr-HR":v4,"hu-HU":D4,"it-IT":x4,"ja-JP":C4,"ko-KR":E4,"lt-LT":k4,"lv-LV":B4,"nb-NO":P4,"nl-NL":S4,"pl-PL":w4,"pt-BR":A4,"pt-PT":F4,"ro-RO":T4,"ru-RU":I4,"sk-SK":R4,"sl-SI":K4,"sr-SP":z4,"sv-SE":M4,"tr-TR":N4,"uk-UA":V4,"zh-CN":_4,"zh-TW":j4};function L4(e){return e&&e.__esModule?e.default:e}const Zl=new WeakMap;function Gn(e){return(e==null?void 0:e.calendar.identifier)==="gregory"&&e.era==="BC"?"short":void 0}function Oy(e){let t=xe(L4(lr),"@react-aria/calendar"),u,n;var r;"highlightedRange"in e?{start:u,end:n}=e.highlightedRange||{}:u=n=(r=e.value)!==null&&r!==void 0?r:void 0;let i=kt({weekday:"long",month:"long",year:"numeric",day:"numeric",era:Gn(u)||Gn(n),timeZone:e.timeZone}),a="anchorDate"in e?e.anchorDate:null;return o.useMemo(()=>{if(!a&&u&&n)if(Se(u,n)){let l=i.format(u.toDate(e.timeZone));return t.format("selectedDateDescription",{date:l})}else{let l=Za(i,t,u,n,e.timeZone);return t.format("selectedRangeDescription",{dateRange:l})}return""},[u,n,a,e.timeZone,t,i])}function Ga(e,t,u,n){let r=xe(L4(lr),"@react-aria/calendar"),i=Gn(e)||Gn(t),a=kt({month:"long",year:"numeric",era:i,calendar:e.calendar.identifier,timeZone:u}),l=kt({month:"long",year:"numeric",day:"numeric",era:i,calendar:e.calendar.identifier,timeZone:u});return o.useMemo(()=>{if(Se(e,Ku(e))){let s=e,d=t;if(e.calendar.getFormattableMonth&&(s=e.calendar.getFormattableMonth(e)),t.calendar.getFormattableMonth&&(d=t.calendar.getFormattableMonth(t)),Se(t,Jr(e)))return a.format(s.toDate(u));if(Se(t,Jr(t)))return n?Za(a,r,s,d,u):a.formatRange(s.toDate(u),d.toDate(u))}return n?Za(l,r,e,t,u):l.formatRange(e.toDate(u),t.toDate(u))},[e,t,a,l,r,u,n])}function Za(e,t,u,n,r){let i=e.formatRangeToParts(u.toDate(r),n.toDate(r)),a=-1;for(let d=0;d<i.length;d++){let c=i[d];if(c.source==="shared"&&c.type==="literal")a=d;else if(c.source==="endRange")break}let l="",s="";for(let d=0;d<i.length;d++)d<a?l+=i[d].value:d>a&&(s+=i[d].value);return t.format("dateRange",{startDate:l,endDate:s})}const O4=7e3;let ut=null;function St(e,t="assertive",u=O4){ut?ut.announce(e,t,u):(ut=new Uy,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?ut.announce(e,t,u):setTimeout(()=>{ut!=null&&ut.isAttached()&&(ut==null||ut.announce(e,t,u))},100))}function Hy(e){ut&&ut.clear(e)}class Uy{isAttached(){var t;return(t=this.node)===null||t===void 0?void 0:t.isConnected}createLog(t){let u=document.createElement("div");return u.setAttribute("role","log"),u.setAttribute("aria-live",t),u.setAttribute("aria-relevant","additions"),u}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(t,u="assertive",n=O4){var r,i;if(!this.node)return;let a=document.createElement("div");typeof t=="object"?(a.setAttribute("role","img"),a.setAttribute("aria-labelledby",t["aria-labelledby"])):a.textContent=t,u==="assertive"?(r=this.assertiveLog)===null||r===void 0||r.appendChild(a):(i=this.politeLog)===null||i===void 0||i.appendChild(a),t!==""&&setTimeout(()=>{a.remove()},n)}clear(t){this.node&&((!t||t==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!t||t==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}function Wy(e){return e&&e.__esModule?e.default:e}function H4(e,t){let u=xe(Wy(lr),"@react-aria/calendar"),n=H(e),r=Ga(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),i=Ga(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);Mn(()=>{t.isFocused||St(i)},[i]);let a=Oy(t);Mn(()=>{a&&St(a,"polite",4e3)},[a]);let l=dt([!!e.errorMessage,e.isInvalid,e.validationState]);Zl.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:l,selectedDateDescription:a});let[s,d]=o.useState(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&s&&(d(!1),t.setFocused(!0));let[f,p]=o.useState(!1),h=e.isDisabled||t.isPreviousVisibleRangeInvalid();h&&f&&(p(!1),t.setFocused(!0));let m=At({id:e.id,"aria-label":[e["aria-label"],i].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:V(n,m,{role:"application","aria-details":e["aria-details"]||void 0,"aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":u.format("next"),isDisabled:c,onFocusChange:d},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":u.format("previous"),isDisabled:h,onFocusChange:p},errorMessageProps:{id:l},title:r}}function Gy(e,t){return H4(e,t)}function Zy(e,t,u){let n=H4(e,t),r=o.useRef(!1),i=o.useRef(typeof window<"u"?window:null);return at(i,"pointerdown",l=>{r.current=l.width===0&&l.height===0}),at(i,"pointerup",l=>{if(r.current){r.current=!1;return}if(t.setDragging(!1),!t.anchorDate)return;let s=l.target;u.current&&u.current.contains(document.activeElement)&&(!u.current.contains(s)||!s.closest('button, [role="button"]'))&&t.selectFocusedDate()}),n.calendarProps.onBlur=l=>{u.current&&(!l.relatedTarget||!u.current.contains(l.relatedTarget))&&t.anchorDate&&t.selectFocusedDate()},at(u,"touchmove",l=>{t.isDragging&&l.preventDefault()},{passive:!1,capture:!0}),n}function qy(e,t){let{startDate:u=t.visibleRange.start,endDate:n=t.visibleRange.end,firstDayOfWeek:r}=e,{direction:i}=de(),a=g=>{switch(g.key){case"Enter":case" ":g.preventDefault(),t.selectFocusedDate();break;case"PageUp":g.preventDefault(),g.stopPropagation(),t.focusPreviousSection(g.shiftKey);break;case"PageDown":g.preventDefault(),g.stopPropagation(),t.focusNextSection(g.shiftKey);break;case"End":g.preventDefault(),g.stopPropagation(),t.focusSectionEnd();break;case"Home":g.preventDefault(),g.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":g.preventDefault(),g.stopPropagation(),i==="rtl"?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":g.preventDefault(),g.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":g.preventDefault(),g.stopPropagation(),i==="rtl"?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":g.preventDefault(),g.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(g.preventDefault(),t.setAnchorDate(null));break}},l=Ga(u,n,t.timeZone,!0),{ariaLabel:s,ariaLabelledBy:d}=Zl.get(t),c=At({"aria-label":[s,l].filter(Boolean).join(", "),"aria-labelledby":d}),f=kt({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:p}=de(),h=o.useMemo(()=>{let g=Hn(Rl(t.timeZone),p,r);return[...new Array(7).keys()].map($=>{let C=g.add({days:$}).toDate(t.timeZone);return f.format(C)})},[p,t.timeZone,f,r]),m=I6(u,p,r);return{gridProps:V(c,{role:"grid","aria-readonly":t.isReadOnly||void 0,"aria-disabled":t.isDisabled||void 0,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:a,onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:h,weeksInMonth:m}}function Yy(e){return e&&e.__esModule?e.default:e}function Jy(e,t,u){let{date:n,isDisabled:r}=e,{errorMessageId:i,selectedDateDescription:a}=Zl.get(t),l=xe(Yy(lr),"@react-aria/calendar"),s=kt({weekday:"long",day:"numeric",month:"long",year:"numeric",era:Gn(n),timeZone:t.timeZone}),d=t.isSelected(n),c=t.isCellFocused(n);r=r||t.isCellDisabled(n);let f=t.isCellUnavailable(n),p=!r&&!f,h=t.isValueInvalid&&!!("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&n.compare(t.highlightedRange.start)>=0&&n.compare(t.highlightedRange.end)<=0:t.value&&Se(t.value,n));h&&(d=!0),n=kd(n,za);let m=o.useMemo(()=>n.toDate(t.timeZone),[n,t.timeZone]),g=Pc(n,t.timeZone),$=o.useMemo(()=>{let y="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&(Se(n,t.value.start)||Se(n,t.value.end))&&(y=a+", "),y+=s.format(m),g?y=l.format(d?"todayDateSelected":"todayDate",{date:y}):d&&(y=l.format("dateSelected",{date:y})),t.minValue&&Se(n,t.minValue)?y+=", "+l.format("minimumDate"):t.maxValue&&Se(n,t.maxValue)&&(y+=", "+l.format("maximumDate")),y},[s,m,l,d,g,n,t,a]),v="";"anchorDate"in t&&c&&!t.isReadOnly&&p&&(t.anchorDate?v=l.format("finishRangeSelectionPrompt"):v=l.format("startRangeSelectionPrompt"));let C=It(v),D=o.useRef(!1),x=o.useRef(!1),k=o.useRef(void 0),{pressProps:S,isPressed:F}=tt({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!p||t.isReadOnly,onPressStart(y){if(t.isReadOnly){t.setFocusedDate(n);return}if("highlightedRange"in t&&!t.anchorDate&&(y.pointerType==="mouse"||y.pointerType==="touch")){if(t.highlightedRange&&!h){if(Se(n,t.highlightedRange.start)){t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(n),t.setDragging(!0),x.current=!0;return}else if(Se(n,t.highlightedRange.end)){t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(n),t.setDragging(!0),x.current=!0;return}}let A=()=>{t.setDragging(!0),k.current=void 0,t.selectDate(n),t.setFocusedDate(n),D.current=!0};y.pointerType==="touch"?k.current=setTimeout(A,200):A()}},onPressEnd(){x.current=!1,D.current=!1,clearTimeout(k.current),k.current=void 0},onPress(){!("anchorDate"in t)&&!t.isReadOnly&&(t.selectDate(n),t.setFocusedDate(n))},onPressUp(y){if(!t.isReadOnly&&("anchorDate"in t&&k.current&&(t.selectDate(n),t.setFocusedDate(n)),"anchorDate"in t))if(x.current)t.setAnchorDate(n);else if(t.anchorDate&&!D.current)t.selectDate(n),t.setFocusedDate(n);else if(y.pointerType==="keyboard"&&!t.anchorDate){t.selectDate(n);let A=n.add({days:1});t.isInvalid(A)&&(A=n.subtract({days:1})),t.isInvalid(A)||t.setFocusedDate(A)}else y.pointerType==="virtual"&&(t.selectDate(n),t.setFocusedDate(n))}}),T;r||(T=Se(n,t.focusedDate)?0:-1),o.useEffect(()=>{c&&u.current&&(Ne(u.current),qt()!=="pointer"&&document.activeElement===u.current&&je(u.current,{containingElement:Me(u.current)}))},[c,u]);let N=kt({day:"numeric",timeZone:t.timeZone,calendar:n.calendar.identifier}),w=o.useMemo(()=>N.formatToParts(m).find(y=>y.type==="day").value,[N,m]);return{cellProps:{role:"gridcell","aria-disabled":!p||void 0,"aria-selected":d||void 0,"aria-invalid":h||void 0},buttonProps:V(S,{onFocus(){r||t.setFocusedDate(n)},tabIndex:T,role:"button","aria-disabled":!p||void 0,"aria-label":$,"aria-invalid":h||void 0,"aria-describedby":[h?i:void 0,C["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(y){"highlightDate"in t&&(y.pointerType!=="touch"||t.isDragging)&&p&&t.highlightDate(n)},onPointerDown(y){"releasePointerCapture"in y.target&&y.target.releasePointerCapture(y.pointerId)},onContextMenu(y){y.preventDefault()}}),isPressed:F,isFocused:c,isSelected:d,isDisabled:r,isUnavailable:f,isOutsideVisibleRange:n.compare(t.visibleRange.start)<0||n.compare(t.visibleRange.end)>0,isInvalid:h,formattedDate:w}}const Ti={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},U4={...Ti,customError:!0,valid:!1},ou={isInvalid:!1,validationDetails:Ti,validationErrors:[]},Xy=o.createContext({}),hu="__formValidationState"+Date.now();function Kt(e){if(e[hu]){let{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:i}=e[hu];return{realtimeValidation:t,displayValidation:u,updateValidation:n,resetValidation:r,commitValidation:i}}return Qy(e)}function Qy(e){let{isInvalid:t,validationState:u,name:n,value:r,builtinValidation:i,validate:a,validationBehavior:l="aria"}=e;u&&(t||(t=u==="invalid"));let s=t!==void 0?{isInvalid:t,validationErrors:[],validationDetails:U4}:null,d=o.useMemo(()=>{if(!a||r==null)return null;let w=ev(a,r);return xs(w)},[a,r]);i!=null&&i.validationDetails.valid&&(i=void 0);let c=o.useContext(Xy),f=o.useMemo(()=>n?Array.isArray(n)?n.flatMap(w=>qa(c[w])):qa(c[n]):[],[c,n]),[p,h]=o.useState(c),[m,g]=o.useState(!1);c!==p&&(h(c),g(!1));let $=o.useMemo(()=>xs(m?[]:f),[m,f]),v=o.useRef(ou),[C,D]=o.useState(ou),x=o.useRef(ou),k=()=>{if(!S)return;F(!1);let w=d||i||v.current;ca(w,x.current)||(x.current=w,D(w))},[S,F]=o.useState(!1);return o.useEffect(k),{realtimeValidation:s||$||d||i||ou,displayValidation:l==="native"?s||$||C:s||$||d||i||C,updateValidation(w){l==="aria"&&!ca(C,w)?D(w):v.current=w},resetValidation(){let w=ou;ca(w,x.current)||(x.current=w,D(w)),l==="native"&&F(!1),g(!0)},commitValidation(){l==="native"&&F(!0),g(!0)}}}function qa(e){return e?Array.isArray(e)?e:[e]:[]}function ev(e,t){if(typeof e=="function"){let u=e(t);if(u&&typeof u!="boolean")return qa(u)}return[]}function xs(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:U4}:null}function ca(e,t){return e===t?!0:!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((u,n)=>u===t.validationErrors[n])&&Object.entries(e.validationDetails).every(([u,n])=>t.validationDetails[u]===n)}function Zn(...e){let t=new Set,u=!1,n={...Ti};for(let a of e){var r,i;for(let l of a.validationErrors)t.add(l);u||(u=a.isInvalid);for(let l in n)(r=n)[i=l]||(r[i]=a.validationDetails[l])}return n.valid=!u,{isInvalid:u,validationErrors:[...t],validationDetails:n}}function or(e,t,u){let{validationBehavior:n,focus:r}=e;J(()=>{if(n==="native"&&(u!=null&&u.current)&&!u.current.disabled){let s=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";u.current.setCustomValidity(s),u.current.hasAttribute("title")||(u.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation(uv(u.current))}});let i=ee(()=>{t.resetValidation()}),a=ee(s=>{var d;t.displayValidation.isInvalid||t.commitValidation();let c=u==null||(d=u.current)===null||d===void 0?void 0:d.form;if(!s.defaultPrevented&&u&&c&&nv(c)===u.current){var f;r?r():(f=u.current)===null||f===void 0||f.focus(),Md("keyboard")}s.preventDefault()}),l=ee(()=>{t.commitValidation()});o.useEffect(()=>{let s=u==null?void 0:u.current;if(!s)return;let d=s.form;return s.addEventListener("invalid",a),s.addEventListener("change",l),d==null||d.addEventListener("reset",i),()=>{s.removeEventListener("invalid",a),s.removeEventListener("change",l),d==null||d.removeEventListener("reset",i)}},[u,a,l,i,n])}function tv(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}function uv(e){return{isInvalid:!e.validity.valid,validationDetails:tv(e),validationErrors:e.validationMessage?[e.validationMessage]:[]}}function nv(e){for(let t=0;t<e.elements.length;t++){let u=e.elements[t];if(!u.validity.valid)return u}return null}function rv(e,t,u){let{isDisabled:n=!1,isReadOnly:r=!1,value:i,name:a,children:l,"aria-label":s,"aria-labelledby":d,validationState:c="valid",isInvalid:f}=e,p=S=>{S.stopPropagation(),t.setSelected(S.target.checked)},h=l!=null,m=s!=null||d!=null;!h&&!m&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:$}=tt({isDisabled:n}),{pressProps:v,isPressed:C}=tt({onPress(){var S;t.toggle(),(S=u.current)===null||S===void 0||S.focus()},isDisabled:n||r}),{focusableProps:D}=tu(e,u),x=V(g,D),k=H(e,{labelable:!0});return tr(u,t.isSelected,t.setSelected),{labelProps:V(v,{onClick:S=>S.preventDefault()}),inputProps:V(k,{"aria-invalid":f||c==="invalid"||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":r||void 0,onChange:p,disabled:n,...i==null?{}:{value:i},name:a,type:"checkbox",...x}),isSelected:t.isSelected,isPressed:$||C,isDisabled:n,isReadOnly:r,isInvalid:f||c==="invalid"}}function W4(e,t,u){let n=Kt({...e,value:t.isSelected}),{isInvalid:r,validationErrors:i,validationDetails:a}=n.displayValidation,{labelProps:l,inputProps:s,isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p}=rv({...e,isInvalid:r},t,u);or(e,n,u);let{isIndeterminate:h,isRequired:m,validationBehavior:g="aria"}=e;o.useEffect(()=>{u.current&&(u.current.indeterminate=!!h)});let{pressProps:$}=tt({isDisabled:f||p,onPress(){let{[hu]:v}=e,{commitValidation:C}=v||n;C()}});return{labelProps:V(l,$),inputProps:{...s,checked:d,"aria-required":m&&g==="aria"||void 0,required:m&&g==="native"},isSelected:d,isPressed:c,isDisabled:f,isReadOnly:p,isInvalid:r,validationErrors:i,validationDetails:a}}const G4=new WeakMap;function ql(e){let{id:t,label:u,"aria-labelledby":n,"aria-label":r,labelElementType:i="label"}=e;t=ie(t);let a=ie(),l={};u?(n=n?`${a} ${n}`:a,l={id:a,htmlFor:i==="label"?t:void 0}):!n&&!r&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=At({id:t,"aria-label":r,"aria-labelledby":n});return{labelProps:l,fieldProps:s}}function gu(e){let{description:t,errorMessage:u,isInvalid:n,validationState:r}=e,{labelProps:i,fieldProps:a}=ql(e),l=dt([!!t,!!u,n,r]),s=dt([!!t,!!u,n,r]);return a=V(a,{"aria-describedby":[l,s,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:i,fieldProps:a,descriptionProps:{id:l},errorMessageProps:{id:s}}}function iv(e,t){let{isDisabled:u,name:n,validationBehavior:r="aria"}=e,{isInvalid:i,validationErrors:a,validationDetails:l}=t.displayValidation,{labelProps:s,fieldProps:d,descriptionProps:c,errorMessageProps:f}=gu({...e,labelElementType:"span",isInvalid:i,errorMessage:e.errorMessage||a});G4.set(t,{name:n,descriptionId:c.id,errorMessageId:f.id,validationBehavior:r});let p=H(e,{labelable:!0}),{focusWithinProps:h}=yt({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:V(p,{role:"group","aria-disabled":u||void 0,...d,...h}),labelProps:s,descriptionProps:c,errorMessageProps:f,isInvalid:i,validationErrors:a,validationDetails:l}}function Yl(e={}){let{isReadOnly:t}=e,[u,n]=Re(e.isSelected,e.defaultSelected||!1,e.onChange);function r(a){t||n(a)}function i(){t||n(!u)}return{isSelected:u,setSelected:r,toggle:i}}function av(e){let{selectionMode:t="single",disallowEmptySelection:u,isDisabled:n=!1}=e,[r,i]=Re(o.useMemo(()=>e.selectedKeys?new Set(e.selectedKeys):void 0,[e.selectedKeys]),o.useMemo(()=>e.defaultSelectedKeys?new Set(e.defaultSelectedKeys):new Set,[e.defaultSelectedKeys]),e.onSelectionChange);return{selectionMode:t,isDisabled:n,selectedKeys:r,setSelectedKeys:i,toggleKey(a){let l;t==="multiple"?(l=new Set(r),l.has(a)&&(!u||l.size>1)?l.delete(a):l.add(a)):l=new Set(r.has(a)&&!u?[]:[a]),i(l)},setSelected(a,l){l!==r.has(a)&&this.toggleKey(a)}}}function lv(e,t,u){const n=Yl({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),onChange($){$?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange($)}});let{name:r,descriptionId:i,errorMessageId:a,validationBehavior:l}=G4.get(t);var s;l=(s=e.validationBehavior)!==null&&s!==void 0?s:l;let{realtimeValidation:d}=Kt({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=o.useRef(ou),f=()=>{t.setInvalid(e.value,d.isInvalid?d:c.current)};o.useEffect(f);let p=t.realtimeValidation.isInvalid?t.realtimeValidation:d,h=l==="native"?t.displayValidation:p;var m;let g=W4({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||r,isRequired:(m=e.isRequired)!==null&&m!==void 0?m:t.isRequired,validationBehavior:l,[hu]:{realtimeValidation:p,displayValidation:h,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation($){c.current=$,f()}}},n,u);return{...g,inputProps:{...g.inputProps,"aria-describedby":[e["aria-describedby"],t.isInvalid?a:null,i].filter(Boolean).join(" ")||void 0}}}const Cs={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function sr(e={}){let{style:t,isFocusable:u}=e,[n,r]=o.useState(!1),{focusWithinProps:i}=yt({isDisabled:!u,onFocusWithinChange:l=>r(l)}),a=o.useMemo(()=>n?t:t?{...Cs,...t}:Cs,[n]);return{visuallyHiddenProps:{...i,style:a}}}function gt(e){let{children:t,elementType:u="div",isFocusable:n,style:r,...i}=e,{visuallyHiddenProps:a}=sr(e);return o.createElement(u,V(i,a),t)}function Jl(e,t){let{inputElementType:u="input",isDisabled:n=!1,isRequired:r=!1,isReadOnly:i=!1,type:a="text",validationBehavior:l="aria"}=e,[s,d]=Re(e.value,e.defaultValue||"",e.onChange),{focusableProps:c}=tu(e,t),f=Kt({...e,value:s}),{isInvalid:p,validationErrors:h,validationDetails:m}=f.displayValidation,{labelProps:g,fieldProps:$,descriptionProps:v,errorMessageProps:C}=gu({...e,isInvalid:p,errorMessage:e.errorMessage||h}),D=H(e,{labelable:!0});const x={type:a,pattern:e.pattern};return tr(t,s,d),or(e,f,t),o.useEffect(()=>{if(t.current instanceof Qe(t.current).HTMLTextAreaElement){let k=t.current;Object.defineProperty(k,"defaultValue",{get:()=>k.value,set:()=>{},configurable:!0})}},[t]),{labelProps:g,inputProps:V(D,u==="input"?x:void 0,{disabled:n,readOnly:i,required:r&&l==="native","aria-required":r&&l==="aria"||void 0,"aria-invalid":p||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:s,onChange:k=>d(k.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...c,...$}),descriptionProps:v,errorMessageProps:C,isInvalid:p,validationErrors:h,validationDetails:m}}var Z4={};Z4={Empty:"فارغ"};var q4={};q4={Empty:"Изпразни"};var Y4={};Y4={Empty:"Prázdné"};var J4={};J4={Empty:"Tom"};var X4={};X4={Empty:"Leer"};var Q4={};Q4={Empty:"Άδειο"};var ef={};ef={Empty:"Empty"};var tf={};tf={Empty:"Vacío"};var uf={};uf={Empty:"Tühjenda"};var nf={};nf={Empty:"Tyhjä"};var rf={};rf={Empty:"Vide"};var af={};af={Empty:"ריק"};var lf={};lf={Empty:"Prazno"};var of={};of={Empty:"Üres"};var sf={};sf={Empty:"Vuoto"};var df={};df={Empty:"空"};var cf={};cf={Empty:"비어 있음"};var ff={};ff={Empty:"Tuščias"};var pf={};pf={Empty:"Tukšs"};var hf={};hf={Empty:"Tom"};var mf={};mf={Empty:"Leeg"};var bf={};bf={Empty:"Pusty"};var gf={};gf={Empty:"Vazio"};var $f={};$f={Empty:"Vazio"};var yf={};yf={Empty:"Gol"};var vf={};vf={Empty:"Не заполнено"};var Df={};Df={Empty:"Prázdne"};var xf={};xf={Empty:"Prazen"};var Cf={};Cf={Empty:"Prazno"};var Ef={};Ef={Empty:"Tomt"};var kf={};kf={Empty:"Boş"};var Bf={};Bf={Empty:"Пусто"};var Pf={};Pf={Empty:"空"};var Sf={};Sf={Empty:"空白"};var wf={};wf={"ar-AE":Z4,"bg-BG":q4,"cs-CZ":Y4,"da-DK":J4,"de-DE":X4,"el-GR":Q4,"en-US":ef,"es-ES":tf,"et-EE":uf,"fi-FI":nf,"fr-FR":rf,"he-IL":af,"hr-HR":lf,"hu-HU":of,"it-IT":sf,"ja-JP":df,"ko-KR":cf,"lt-LT":ff,"lv-LV":pf,"nb-NO":hf,"nl-NL":mf,"pl-PL":bf,"pt-BR":gf,"pt-PT":$f,"ro-RO":yf,"ru-RU":vf,"sk-SK":Df,"sl-SI":xf,"sr-SP":Cf,"sv-SE":Ef,"tr-TR":kf,"uk-UA":Bf,"zh-CN":Pf,"zh-TW":Sf};function ov(e){return e&&e.__esModule?e.default:e}function sv(e){const t=o.useRef(void 0);let{value:u,textValue:n,minValue:r,maxValue:i,isDisabled:a,isReadOnly:l,isRequired:s,onIncrement:d,onIncrementPage:c,onDecrement:f,onDecrementPage:p,onDecrementToMin:h,onIncrementToMax:m}=e;const g=xe(ov(wf),"@react-aria/spinbutton"),$=()=>clearTimeout(t.current);o.useEffect(()=>()=>$(),[]);let v=y=>{if(!(y.ctrlKey||y.metaKey||y.shiftKey||y.altKey||l))switch(y.key){case"PageUp":if(c){y.preventDefault(),c==null||c();break}case"ArrowUp":case"Up":d&&(y.preventDefault(),d==null||d());break;case"PageDown":if(p){y.preventDefault(),p==null||p();break}case"ArrowDown":case"Down":f&&(y.preventDefault(),f==null||f());break;case"Home":h&&(y.preventDefault(),h==null||h());break;case"End":m&&(y.preventDefault(),m==null||m());break}},C=o.useRef(!1),D=()=>{C.current=!0},x=()=>{C.current=!1},k=n===""?g.format("Empty"):(n||`${u}`).replace("-","−");o.useEffect(()=>{C.current&&(Hy("assertive"),St(k,"assertive"))},[k]);const S=ee(y=>{$(),d==null||d(),t.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||u===void 0||isNaN(u)||u<i)&&S(60)},y)}),F=ee(y=>{$(),f==null||f(),t.current=window.setTimeout(()=>{(r===void 0||isNaN(r)||u===void 0||isNaN(u)||u>r)&&F(60)},y)});let T=y=>{y.preventDefault()},{addGlobalListener:N,removeAllGlobalListeners:w}=er();return{spinButtonProps:{role:"spinbutton","aria-valuenow":u!==void 0&&!isNaN(u)?u:void 0,"aria-valuetext":k,"aria-valuemin":r,"aria-valuemax":i,"aria-disabled":a||void 0,"aria-readonly":l||void 0,"aria-required":s||void 0,onKeyDown:v,onFocus:D,onBlur:x},incrementButtonProps:{onPressStart:()=>{S(400),N(window,"contextmenu",T)},onPressEnd:()=>{$(),w()},onFocus:D,onBlur:x},decrementButtonProps:{onPressStart:()=>{F(400),N(window,"contextmenu",T)},onPressEnd:()=>{$(),w()},onFocus:D,onBlur:x}}}var Af={};Af={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var Ff={};Ff={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var Tf={};Tf={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var If={};If={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var Rf={};Rf={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var Kf={};Kf={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var zf={};zf={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var Mf={};Mf={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var Nf={};Nf={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var Vf={};Vf={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var _f={};_f={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var jf={};jf={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var Lf={};Lf={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var Of={};Of={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var Hf={};Hf={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var Uf={};Uf={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var Wf={};Wf={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var Gf={};Gf={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var Zf={};Zf={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var qf={};qf={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var Yf={};Yf={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var Jf={};Jf={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var Xf={};Xf={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var Qf={};Qf={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var e3={};e3={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var t3={};t3={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var u3={};u3={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var n3={};n3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var r3={};r3={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var i3={};i3={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var a3={};a3={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var l3={};l3={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var o3={};o3={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var s3={};s3={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var d3={};d3={"ar-AE":Af,"bg-BG":Ff,"cs-CZ":Tf,"da-DK":If,"de-DE":Rf,"el-GR":Kf,"en-US":zf,"es-ES":Mf,"et-EE":Nf,"fi-FI":Vf,"fr-FR":_f,"he-IL":jf,"hr-HR":Lf,"hu-HU":Of,"it-IT":Hf,"ja-JP":Uf,"ko-KR":Wf,"lt-LT":Gf,"lv-LV":Zf,"nb-NO":qf,"nl-NL":Yf,"pl-PL":Jf,"pt-BR":Xf,"pt-PT":Qf,"ro-RO":e3,"ru-RU":t3,"sk-SK":u3,"sl-SI":n3,"sr-SP":r3,"sv-SE":i3,"tr-TR":a3,"uk-UA":l3,"zh-CN":o3,"zh-TW":s3};const Bt={top:"top",bottom:"top",left:"left",right:"left"},ii={top:"bottom",bottom:"top",left:"right",right:"left"},dv={top:"left",left:"top"},Ya={top:"height",left:"width"},c3={width:"totalWidth",height:"totalHeight"},Er={};let Ke=typeof document<"u"?window.visualViewport:null;function Es(e){let t=0,u=0,n=0,r=0,i=0,a=0,l={};var s;let d=((s=Ke==null?void 0:Ke.scale)!==null&&s!==void 0?s:1)>1;if(e.tagName==="BODY"){let m=document.documentElement;n=m.clientWidth,r=m.clientHeight;var c;t=(c=Ke==null?void 0:Ke.width)!==null&&c!==void 0?c:n;var f;u=(f=Ke==null?void 0:Ke.height)!==null&&f!==void 0?f:r,l.top=m.scrollTop||e.scrollTop,l.left=m.scrollLeft||e.scrollLeft,Ke&&(i=Ke.offsetTop,a=Ke.offsetLeft)}else({width:t,height:u,top:i,left:a}=rn(e)),l.top=e.scrollTop,l.left=e.scrollLeft,n=t,r=u;if(yl()&&(e.tagName==="BODY"||e.tagName==="HTML")&&d){l.top=0,l.left=0;var p;i=(p=Ke==null?void 0:Ke.pageTop)!==null&&p!==void 0?p:0;var h;a=(h=Ke==null?void 0:Ke.pageLeft)!==null&&h!==void 0?h:0}return{width:t,height:u,totalWidth:n,totalHeight:r,scroll:l,top:i,left:a}}function cv(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function ks(e,t,u,n,r,i,a){var l;let s=(l=r.scroll[e])!==null&&l!==void 0?l:0,d=n[Ya[e]],c=n.scroll[Bt[e]]+i,f=d+n.scroll[Bt[e]]-i,p=t-s+a[e]-n[Bt[e]],h=t-s+u+a[e]-n[Bt[e]];return p<c?c-p:h>f?Math.max(f-h,c-p):0}function fv(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function Bs(e){if(Er[e])return Er[e];let[t,u]=e.split(" "),n=Bt[t]||"right",r=dv[n];Bt[u]||(u="center");let i=Ya[n],a=Ya[r];return Er[e]={placement:t,crossPlacement:u,axis:n,crossAxis:r,size:i,crossSize:a},Er[e]}function fa(e,t,u,n,r,i,a,l,s,d){let{placement:c,crossPlacement:f,axis:p,crossAxis:h,size:m,crossSize:g}=n,$={};var v;$[h]=(v=e[h])!==null&&v!==void 0?v:0;var C,D,x,k;f==="center"?$[h]+=(((C=e[g])!==null&&C!==void 0?C:0)-((D=u[g])!==null&&D!==void 0?D:0))/2:f!==h&&($[h]+=((x=e[g])!==null&&x!==void 0?x:0)-((k=u[g])!==null&&k!==void 0?k:0)),$[h]+=i;const S=e[h]-u[g]+s+d,F=e[h]+e[g]-s-d;if($[h]=Vn($[h],S,F),c===p){const T=l?a[m]:t[c3[m]];$[ii[p]]=Math.floor(T-e[p]+r)}else $[p]=Math.floor(e[p]+e[m]+r);return $}function pv(e,t,u,n,r,i,a,l){const s=n?u.height:t[c3.height];var d;let c=e.top!=null?u.top+e.top:u.top+(s-((d=e.bottom)!==null&&d!==void 0?d:0)-a);var f,p,h,m,g,$;let v=l!=="top"?Math.max(0,t.height+t.top+((f=t.scroll.top)!==null&&f!==void 0?f:0)-c-(((p=r.top)!==null&&p!==void 0?p:0)+((h=r.bottom)!==null&&h!==void 0?h:0)+i)):Math.max(0,c+a-(t.top+((m=t.scroll.top)!==null&&m!==void 0?m:0))-(((g=r.top)!==null&&g!==void 0?g:0)+(($=r.bottom)!==null&&$!==void 0?$:0)+i));return Math.min(t.height-i*2,v)}function Ps(e,t,u,n,r,i){let{placement:a,axis:l,size:s}=i;var d,c;if(a===l)return Math.max(0,u[l]-e[l]-((d=e.scroll[l])!==null&&d!==void 0?d:0)+t[l]-((c=n[l])!==null&&c!==void 0?c:0)-n[ii[l]]-r);var f;return Math.max(0,e[s]+e[l]+e.scroll[l]-t[l]-u[l]-u[s]-((f=n[l])!==null&&f!==void 0?f:0)-n[ii[l]]-r)}function hv(e,t,u,n,r,i,a,l,s,d,c,f,p,h,m,g){let $=Bs(e),{size:v,crossAxis:C,crossSize:D,placement:x,crossPlacement:k}=$,S=fa(t,l,u,$,c,f,d,p,m,g),F=c,T=Ps(l,d,t,r,i+c,$);if(a&&n[v]>T){let Y=Bs(`${ii[x]} ${k}`),pe=fa(t,l,u,Y,c,f,d,p,m,g);Ps(l,d,t,r,i+c,Y)>T&&($=Y,S=pe,F=c)}let N="bottom";$.axis==="top"?$.placement==="top"?N="top":$.placement==="bottom"&&(N="bottom"):$.crossAxis==="top"&&($.crossPlacement==="top"?N="bottom":$.crossPlacement==="bottom"&&(N="top"));let w=ks(C,S[C],u[D],l,s,i,d);S[C]+=w;let y=pv(S,l,d,p,r,i,u.height,N);h&&h<y&&(y=h),u.height=Math.min(u.height,y),S=fa(t,l,u,$,F,f,d,p,m,g),w=ks(C,S[C],u[D],l,s,i,d),S[C]+=w;let A={},I=t[C]+.5*t[D]-S[C]-r[Bt[C]];const K=m/2+g;var L,B,E,P;const M=Bt[C]==="left"?((L=r.left)!==null&&L!==void 0?L:0)+((B=r.right)!==null&&B!==void 0?B:0):((E=r.top)!==null&&E!==void 0?E:0)+((P=r.bottom)!==null&&P!==void 0?P:0),R=u[D]-M-m/2-g,z=t[C]+m/2-(S[C]+r[Bt[C]]),U=t[C]+t[D]-m/2-(S[C]+r[Bt[C]]),G=Vn(I,z,U);return A[C]=Vn(G,K,R),{position:S,maxHeight:y,arrowOffsetLeft:A.left,arrowOffsetTop:A.top,placement:$.placement}}function mv(e){let{placement:t,targetNode:u,overlayNode:n,scrollNode:r,padding:i,shouldFlip:a,boundaryElement:l,offset:s,crossOffset:d,maxHeight:c,arrowSize:f=0,arrowBoundaryOffset:p=0}=e,h=n instanceof HTMLElement?bv(n):document.documentElement,m=h===document.documentElement;const g=window.getComputedStyle(h).position;let $=!!g&&g!=="static",v=m?rn(u):Ss(u,h);if(!m){let{marginTop:A,marginLeft:I}=window.getComputedStyle(u);v.top+=parseInt(A,10)||0,v.left+=parseInt(I,10)||0}let C=rn(n),D=fv(n);var x,k;C.width+=((x=D.left)!==null&&x!==void 0?x:0)+((k=D.right)!==null&&k!==void 0?k:0);var S,F;C.height+=((S=D.top)!==null&&S!==void 0?S:0)+((F=D.bottom)!==null&&F!==void 0?F:0);let T=cv(r),N=Es(l),w=Es(h),y=l.tagName==="BODY"?rn(h):Ss(h,l);return h.tagName==="HTML"&&l.tagName==="BODY"&&(w.scroll.top=0,w.scroll.left=0),hv(t,v,C,T,D,i,a,N,w,y,s,d,$,c,f,p)}function rn(e){let{top:t,left:u,width:n,height:r}=e.getBoundingClientRect(),{scrollTop:i,scrollLeft:a,clientTop:l,clientLeft:s}=document.documentElement;return{top:t+i-l,left:u+a-s,width:n,height:r}}function Ss(e,t){let u=window.getComputedStyle(e),n;if(u.position==="fixed"){let{top:r,left:i,width:a,height:l}=e.getBoundingClientRect();n={top:r,left:i,width:a,height:l}}else{n=rn(e);let r=rn(t),i=window.getComputedStyle(t);r.top+=(parseInt(i.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(i.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(u.marginTop,10)||0,n.left-=parseInt(u.marginLeft,10)||0,n}function bv(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position==="static"&&!ws(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!ws(t);)t=t.parentElement;return t||document.documentElement}function ws(e){let t=window.getComputedStyle(e);return t.transform!=="none"||/transform|perspective/.test(t.willChange)||t.filter!=="none"||t.contain==="paint"||"backdropFilter"in t&&t.backdropFilter!=="none"||"WebkitBackdropFilter"in t&&t.WebkitBackdropFilter!=="none"}const f3=new WeakMap;function gv(e){let{triggerRef:t,isOpen:u,onClose:n}=e;o.useEffect(()=>{if(!u||n===null)return;let r=i=>{let a=i.target;if(!t.current||a instanceof Node&&!a.contains(t.current)||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement)return;let l=n||f3.get(t.current);l&&l()};return window.addEventListener("scroll",r,!0),()=>{window.removeEventListener("scroll",r,!0)}},[u,n,t])}let Pe=typeof document<"u"?window.visualViewport:null;function p3(e){let{direction:t}=de(),{arrowSize:u=0,targetRef:n,overlayRef:r,scrollRef:i=r,placement:a="bottom",containerPadding:l=12,shouldFlip:s=!0,boundaryElement:d=typeof document<"u"?document.body:null,offset:c=0,crossOffset:f=0,shouldUpdatePosition:p=!0,isOpen:h=!0,onClose:m,maxHeight:g,arrowBoundaryOffset:$=0}=e,[v,C]=o.useState(null),D=[p,a,r.current,n.current,i.current,l,s,d,c,f,h,t,g,$,u],x=o.useRef(Pe==null?void 0:Pe.scale);o.useEffect(()=>{h&&(x.current=Pe==null?void 0:Pe.scale)},[h]);let k=o.useCallback(()=>{if(p===!1||!h||!r.current||!n.current||!d||(Pe==null?void 0:Pe.scale)!==x.current)return;let w=null;if(i.current&&i.current.contains(document.activeElement)){var y;let P=(y=document.activeElement)===null||y===void 0?void 0:y.getBoundingClientRect(),M=i.current.getBoundingClientRect();var A;if(w={type:"top",offset:((A=P==null?void 0:P.top)!==null&&A!==void 0?A:0)-M.top},w.offset>M.height/2){w.type="bottom";var I;w.offset=((I=P==null?void 0:P.bottom)!==null&&I!==void 0?I:0)-M.bottom}}let K=r.current;if(!g&&r.current){var L;K.style.top="0px",K.style.bottom="";var B;K.style.maxHeight=((B=(L=window.visualViewport)===null||L===void 0?void 0:L.height)!==null&&B!==void 0?B:window.innerHeight)+"px"}let E=mv({placement:yv(a,t),overlayNode:r.current,targetNode:n.current,scrollNode:i.current||r.current,padding:l,shouldFlip:s,boundaryElement:d,offset:c,crossOffset:f,maxHeight:g,arrowSize:u,arrowBoundaryOffset:$});if(E.position){if(K.style.top="",K.style.bottom="",K.style.left="",K.style.right="",Object.keys(E.position).forEach(P=>K.style[P]=E.position[P]+"px"),K.style.maxHeight=E.maxHeight!=null?E.maxHeight+"px":"",w&&document.activeElement&&i.current){let P=document.activeElement.getBoundingClientRect(),M=i.current.getBoundingClientRect(),R=P[w.type]-M[w.type];i.current.scrollTop+=R-w.offset}C(E)}},D);J(k,D),$v(k),fu({ref:r,onResize:k}),fu({ref:n,onResize:k});let S=o.useRef(!1);J(()=>{let w,y=()=>{S.current=!0,clearTimeout(w),w=setTimeout(()=>{S.current=!1},500),k()},A=()=>{S.current&&y()};return Pe==null||Pe.addEventListener("resize",y),Pe==null||Pe.addEventListener("scroll",A),()=>{Pe==null||Pe.removeEventListener("resize",y),Pe==null||Pe.removeEventListener("scroll",A)}},[k]);let F=o.useCallback(()=>{S.current||m==null||m()},[m,S]);gv({triggerRef:n,isOpen:h,onClose:m&&F});var T,N;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...v==null?void 0:v.position,maxHeight:(T=v==null?void 0:v.maxHeight)!==null&&T!==void 0?T:"100vh"}},placement:(N=v==null?void 0:v.placement)!==null&&N!==void 0?N:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:v==null?void 0:v.arrowOffsetLeft,top:v==null?void 0:v.arrowOffsetTop}},updatePosition:k}}function $v(e){J(()=>(window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}),[e])}function yv(e,t){return t==="rtl"?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const xt=[];function h3(e,t){let{onClose:u,shouldCloseOnBlur:n,isOpen:r,isDismissable:i=!1,isKeyboardDismissDisabled:a=!1,shouldCloseOnInteractOutside:l}=e;o.useEffect(()=>{if(r&&!xt.includes(t))return xt.push(t),()=>{let m=xt.indexOf(t);m>=0&&xt.splice(m,1)}},[r,t]);let s=()=>{xt[xt.length-1]===t&&u&&u()},d=m=>{(!l||l(m.target))&&xt[xt.length-1]===t&&(m.stopPropagation(),m.preventDefault())},c=m=>{(!l||l(m.target))&&(xt[xt.length-1]===t&&(m.stopPropagation(),m.preventDefault()),s())},f=m=>{m.key==="Escape"&&!a&&!m.nativeEvent.isComposing&&(m.stopPropagation(),m.preventDefault(),s())};u6({ref:t,onInteractOutside:i&&r?c:void 0,onInteractOutsideStart:d});let{focusWithinProps:p}=yt({isDisabled:!n,onBlurWithin:m=>{!m.relatedTarget||Ry(m.relatedTarget)||(!l||l(m.relatedTarget))&&(u==null||u())}}),h=m=>{m.target===m.currentTarget&&m.preventDefault()};return{overlayProps:{onKeyDown:f,...p},underlayProps:{onPointerDown:h}}}function m3(e,t,u){let{type:n}=e,{isOpen:r}=t;o.useEffect(()=>{u&&u.current&&f3.set(u.current,t.close)});let i;n==="menu"?i=!0:n==="listbox"&&(i="listbox");let a=ie();return{triggerProps:{"aria-haspopup":i,"aria-expanded":r,"aria-controls":r?a:void 0,onPress:t.toggle},overlayProps:{id:a}}}const pa=typeof document<"u"&&window.visualViewport,vv=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let kr=0,ha;function b3(e={}){let{isDisabled:t}=e;J(()=>{if(!t)return kr++,kr===1&&(Qn()?ha=xv():ha=Dv()),()=>{kr--,kr===0&&ha()}},[t])}function Dv(){return et(Yu(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Yu(document.documentElement,"overflow","hidden"))}function xv(){let e,t,u=d=>{e=Me(d.target,!0),!(e===document.documentElement&&e===document.body)&&e instanceof HTMLElement&&window.getComputedStyle(e).overscrollBehavior==="auto"&&(t=Yu(e,"overscrollBehavior","contain"))},n=d=>{if(!e||e===document.documentElement||e===document.body){d.preventDefault();return}e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&d.preventDefault()},r=()=>{t&&t()},i=d=>{let c=d.target;Cv(c)&&(l(),c.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{c.style.transform="",pa&&(pa.height<window.innerHeight?requestAnimationFrame(()=>{As(c)}):pa.addEventListener("resize",()=>As(c),{once:!0}))}))},a=null,l=()=>{if(a)return;let d=()=>{window.scrollTo(0,0)},c=window.pageXOffset,f=window.pageYOffset;a=et(xn(window,"scroll",d),Yu(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),Yu(document.documentElement,"overflow","hidden"),Yu(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(c,f)}),window.scrollTo(0,0)},s=et(xn(document,"touchstart",u,{passive:!1,capture:!0}),xn(document,"touchmove",n,{passive:!1,capture:!0}),xn(document,"touchend",r,{passive:!1,capture:!0}),xn(document,"focus",i,!0));return()=>{t==null||t(),a==null||a(),s()}}function Yu(e,t,u){let n=e.style[t];return e.style[t]=u,()=>{e.style[t]=n}}function xn(e,t,u,n){return e.addEventListener(t,u,n),()=>{e.removeEventListener(t,u,n)}}function As(e){let t=document.scrollingElement||document.documentElement,u=e;for(;u&&u!==t;){let n=Me(u);if(n!==document.documentElement&&n!==document.body&&n!==u){let r=n.getBoundingClientRect().top,i=u.getBoundingClientRect().top;i>r+u.clientHeight&&(n.scrollTop+=i-r)}u=n.parentElement}}function Cv(e){return e instanceof HTMLInputElement&&!vv.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}const Ev=o.createContext({});function g3(){var e;return(e=o.useContext(Ev))!==null&&e!==void 0?e:{}}const Ja=o.createContext(null);function kv(e){let{children:t}=e,u=o.useContext(Ja),[n,r]=o.useState(0),i=o.useMemo(()=>({parent:u,modalCount:n,addModal(){r(a=>a+1),u&&u.addModal()},removeModal(){r(a=>a-1),u&&u.removeModal()}}),[u,n]);return o.createElement(Ja.Provider,{value:i},t)}function Bv(){let e=o.useContext(Ja);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function Pv(e){let{modalProviderProps:t}=Bv();return o.createElement("div",{"data-overlay-container":!0,...e,...t})}function Sv(e){return o.createElement(kv,null,o.createElement(Pv,e))}function wv(e){let t=Tt(),{portalContainer:u=t?null:document.body,...n}=e,{getContainer:r}=g3();if(!e.portalContainer&&r&&(u=r()),o.useEffect(()=>{if(u!=null&&u.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[u]),!u)return null;let i=o.createElement(Sv,n);return st.createPortal(i,u)}var $3={};$3={dismiss:"تجاهل"};var y3={};y3={dismiss:"Отхвърляне"};var v3={};v3={dismiss:"Odstranit"};var D3={};D3={dismiss:"Luk"};var x3={};x3={dismiss:"Schließen"};var C3={};C3={dismiss:"Απόρριψη"};var E3={};E3={dismiss:"Dismiss"};var k3={};k3={dismiss:"Descartar"};var B3={};B3={dismiss:"Lõpeta"};var P3={};P3={dismiss:"Hylkää"};var S3={};S3={dismiss:"Rejeter"};var w3={};w3={dismiss:"התעלם"};var A3={};A3={dismiss:"Odbaci"};var F3={};F3={dismiss:"Elutasítás"};var T3={};T3={dismiss:"Ignora"};var I3={};I3={dismiss:"閉じる"};var R3={};R3={dismiss:"무시"};var K3={};K3={dismiss:"Atmesti"};var z3={};z3={dismiss:"Nerādīt"};var M3={};M3={dismiss:"Lukk"};var N3={};N3={dismiss:"Negeren"};var V3={};V3={dismiss:"Zignoruj"};var _3={};_3={dismiss:"Descartar"};var j3={};j3={dismiss:"Dispensar"};var L3={};L3={dismiss:"Revocare"};var O3={};O3={dismiss:"Пропустить"};var H3={};H3={dismiss:"Zrušiť"};var U3={};U3={dismiss:"Opusti"};var W3={};W3={dismiss:"Odbaci"};var G3={};G3={dismiss:"Avvisa"};var Z3={};Z3={dismiss:"Kapat"};var q3={};q3={dismiss:"Скасувати"};var Y3={};Y3={dismiss:"取消"};var J3={};J3={dismiss:"關閉"};var X3={};X3={"ar-AE":$3,"bg-BG":y3,"cs-CZ":v3,"da-DK":D3,"de-DE":x3,"el-GR":C3,"en-US":E3,"es-ES":k3,"et-EE":B3,"fi-FI":P3,"fr-FR":S3,"he-IL":w3,"hr-HR":A3,"hu-HU":F3,"it-IT":T3,"ja-JP":I3,"ko-KR":R3,"lt-LT":K3,"lv-LV":z3,"nb-NO":M3,"nl-NL":N3,"pl-PL":V3,"pt-BR":_3,"pt-PT":j3,"ro-RO":L3,"ru-RU":O3,"sk-SK":H3,"sl-SI":U3,"sr-SP":W3,"sv-SE":G3,"tr-TR":Z3,"uk-UA":q3,"zh-CN":Y3,"zh-TW":J3};function Av(e){return e&&e.__esModule?e.default:e}function Xa(e){let{onDismiss:t,...u}=e,n=xe(Av(X3),"@react-aria/overlays"),r=At(u,n.format("dismiss")),i=()=>{t&&t()};return o.createElement(gt,null,o.createElement("button",{...r,tabIndex:-1,onClick:i,style:{width:1,height:1}}))}let Cn=new WeakMap,Ge=[];function Xl(e,t=document.body){let u=new Set(e),n=new Set,r=s=>{for(let p of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))u.add(p);let d=p=>{if(u.has(p)||p.parentElement&&n.has(p.parentElement)&&p.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let h of u)if(p.contains(h))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},c=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:d}),f=d(s);if(f===NodeFilter.FILTER_ACCEPT&&i(s),f!==NodeFilter.FILTER_REJECT){let p=c.nextNode();for(;p!=null;)i(p),p=c.nextNode()}},i=s=>{var d;let c=(d=Cn.get(s))!==null&&d!==void 0?d:0;s.getAttribute("aria-hidden")==="true"&&c===0||(c===0&&s.setAttribute("aria-hidden","true"),n.add(s),Cn.set(s,c+1))};Ge.length&&Ge[Ge.length-1].disconnect(),r(t);let a=new MutationObserver(s=>{for(let d of s)if(!(d.type!=="childList"||d.addedNodes.length===0)&&![...u,...n].some(c=>c.contains(d.target))){for(let c of d.removedNodes)c instanceof Element&&(u.delete(c),n.delete(c));for(let c of d.addedNodes)(c instanceof HTMLElement||c instanceof SVGElement)&&(c.dataset.liveAnnouncer==="true"||c.dataset.reactAriaTopLayer==="true")?u.add(c):c instanceof Element&&r(c)}});a.observe(t,{childList:!0,subtree:!0});let l={visibleNodes:u,hiddenNodes:n,observe(){a.observe(t,{childList:!0,subtree:!0})},disconnect(){a.disconnect()}};return Ge.push(l),()=>{a.disconnect();for(let s of n){let d=Cn.get(s);d!=null&&(d===1?(s.removeAttribute("aria-hidden"),Cn.delete(s)):Cn.set(s,d-1))}l===Ge[Ge.length-1]?(Ge.pop(),Ge.length&&Ge[Ge.length-1].observe()):Ge.splice(Ge.indexOf(l),1)}}function Fv(e){let t=Ge[Ge.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}function Tv(e,t){let{triggerRef:u,popoverRef:n,groupRef:r,isNonModal:i,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l,...s}=e,d=s.trigger==="SubmenuTrigger",{overlayProps:c,underlayProps:f}=h3({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!i||d,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:l},r??n),{overlayProps:p,arrowProps:h,placement:m}=p3({...s,targetRef:u,overlayRef:n,isOpen:t.isOpen,onClose:i&&!d?t.close:null});return b3({isDisabled:i||!t.isOpen}),J(()=>{if(t.isOpen&&n.current){var g,$;return i?Fv((g=r==null?void 0:r.current)!==null&&g!==void 0?g:n.current):Xl([($=r==null?void 0:r.current)!==null&&$!==void 0?$:n.current])}},[i,t.isOpen,n,r]),{popoverProps:V(c,p),arrowProps:h,underlayProps:f,placement:m}}const Q3=o.createContext(null);function Qa(e){let t=Tt(),{portalContainer:u=t?null:document.body,isExiting:n}=e,[r,i]=o.useState(!1),a=o.useMemo(()=>({contain:r,setContain:i}),[r,i]),{getContainer:l}=g3();if(!e.portalContainer&&l&&(u=l()),!u)return null;let s=e.children;return e.disableFocusManagement||(s=o.createElement(ir,{restoreFocus:!0,contain:(e.shouldContainFocus||r)&&!n},s)),s=o.createElement(Q3.Provider,{value:a},o.createElement(e6,null,s)),st.createPortal(s,u)}function ep(){let e=o.useContext(Q3),t=e==null?void 0:e.setContain;J(()=>{t==null||t(!0)},[t])}function Iv(e,t,u){let{overlayProps:n,underlayProps:r}=h3({...e,isOpen:t.isOpen,onClose:t.close},u);return b3({isDisabled:!t.isOpen}),ep(),o.useEffect(()=>{if(t.isOpen&&u.current)return Xl([u.current])},[t.isOpen,u]),{modalProps:V(n),underlayProps:r}}const Ii=new WeakMap;function Rv(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function tp(e,t){let u=Ii.get(e);if(!u)throw new Error("Unknown list");return`${u.id}-option-${Rv(t)}`}function el(e){return Ir()?e.altKey:e.ctrlKey}function Nr(e,t){var u,n;let r=`[data-key="${CSS.escape(String(t))}"]`,i=(u=e.current)===null||u===void 0?void 0:u.dataset.collection;return i&&(r=`[data-collection="${CSS.escape(i)}"]${r}`),(n=e.current)===null||n===void 0?void 0:n.querySelector(r)}const up=new WeakMap;function Kv(e){let t=ie();return up.set(e,t),t}function zv(e){return up.get(e)}const Mv=1e3;function np(e){let{keyboardDelegate:t,selectionManager:u,onTypeSelect:n}=e,r=o.useRef({search:"",timeout:void 0}).current,i=a=>{let l=Nv(a.key);if(!(!l||a.ctrlKey||a.metaKey||!a.currentTarget.contains(a.target))){if(l===" "&&r.search.trim().length>0&&(a.preventDefault(),"continuePropagation"in a||a.stopPropagation()),r.search+=l,t.getKeyForSearch!=null){let s=t.getKeyForSearch(r.search,u.focusedKey);s==null&&(s=t.getKeyForSearch(r.search)),s!=null&&(u.setFocusedKey(s),n&&n(s))}clearTimeout(r.timeout),r.timeout=setTimeout(()=>{r.search=""},Mv)}};return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?i:void 0}}}function Nv(e){return e.length===1||!/^[A-Z]/i.test(e)?e:""}function Ri(e){let{selectionManager:t,keyboardDelegate:u,ref:n,autoFocus:r=!1,shouldFocusWrap:i=!1,disallowEmptySelection:a=!1,disallowSelectAll:l=!1,escapeKeyBehavior:s="clearSelection",selectOnFocus:d=t.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:f,allowsTabNavigation:p=!1,isVirtualized:h,scrollRef:m=n,linkBehavior:g="action"}=e,{direction:$}=de(),v=Mu(),C=E=>{var P;if(E.altKey&&E.key==="Tab"&&E.preventDefault(),!(!((P=n.current)===null||P===void 0)&&P.contains(E.target)))return;const M=(_,Q)=>{if(_!=null){if(t.isLink(_)&&g==="selection"&&d&&!el(E)){st.flushSync(()=>{t.setFocusedKey(_,Q)});let Ae=Nr(n,_),te=t.getItemProps(_);Ae&&v.open(Ae,E,te.href,te.routerOptions);return}if(t.setFocusedKey(_,Q),t.isLink(_)&&g==="override")return;E.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(_):d&&!el(E)&&t.replaceSelection(_)}};switch(E.key){case"ArrowDown":if(u.getKeyBelow){var R,z,U;let _=t.focusedKey!=null?(R=u.getKeyBelow)===null||R===void 0?void 0:R.call(u,t.focusedKey):(z=u.getFirstKey)===null||z===void 0?void 0:z.call(u);_==null&&i&&(_=(U=u.getFirstKey)===null||U===void 0?void 0:U.call(u,t.focusedKey)),_!=null&&(E.preventDefault(),M(_))}break;case"ArrowUp":if(u.getKeyAbove){var G,Y,pe;let _=t.focusedKey!=null?(G=u.getKeyAbove)===null||G===void 0?void 0:G.call(u,t.focusedKey):(Y=u.getLastKey)===null||Y===void 0?void 0:Y.call(u);_==null&&i&&(_=(pe=u.getLastKey)===null||pe===void 0?void 0:pe.call(u,t.focusedKey)),_!=null&&(E.preventDefault(),M(_))}break;case"ArrowLeft":if(u.getKeyLeftOf){var ae,oe,O;let _=t.focusedKey!=null?(ae=u.getKeyLeftOf)===null||ae===void 0?void 0:ae.call(u,t.focusedKey):null;_==null&&i&&(_=$==="rtl"?(oe=u.getFirstKey)===null||oe===void 0?void 0:oe.call(u,t.focusedKey):(O=u.getLastKey)===null||O===void 0?void 0:O.call(u,t.focusedKey)),_!=null&&(E.preventDefault(),M(_,$==="rtl"?"first":"last"))}break;case"ArrowRight":if(u.getKeyRightOf){var ne,fe,W;let _=t.focusedKey!=null?(ne=u.getKeyRightOf)===null||ne===void 0?void 0:ne.call(u,t.focusedKey):null;_==null&&i&&(_=$==="rtl"?(fe=u.getLastKey)===null||fe===void 0?void 0:fe.call(u,t.focusedKey):(W=u.getFirstKey)===null||W===void 0?void 0:W.call(u,t.focusedKey)),_!=null&&(E.preventDefault(),M(_,$==="rtl"?"last":"first"))}break;case"Home":if(u.getFirstKey){if(t.focusedKey===null&&E.shiftKey)return;E.preventDefault();let _=u.getFirstKey(t.focusedKey,Gu(E));t.setFocusedKey(_),_!=null&&(Gu(E)&&E.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(_):d&&t.replaceSelection(_))}break;case"End":if(u.getLastKey){if(t.focusedKey===null&&E.shiftKey)return;E.preventDefault();let _=u.getLastKey(t.focusedKey,Gu(E));t.setFocusedKey(_),_!=null&&(Gu(E)&&E.shiftKey&&t.selectionMode==="multiple"?t.extendSelection(_):d&&t.replaceSelection(_))}break;case"PageDown":if(u.getKeyPageBelow&&t.focusedKey!=null){let _=u.getKeyPageBelow(t.focusedKey);_!=null&&(E.preventDefault(),M(_))}break;case"PageUp":if(u.getKeyPageAbove&&t.focusedKey!=null){let _=u.getKeyPageAbove(t.focusedKey);_!=null&&(E.preventDefault(),M(_))}break;case"a":Gu(E)&&t.selectionMode==="multiple"&&l!==!0&&(E.preventDefault(),t.selectAll());break;case"Escape":s==="clearSelection"&&!a&&t.selectedKeys.size!==0&&(E.stopPropagation(),E.preventDefault(),t.clearSelection());break;case"Tab":if(!p){if(E.shiftKey)n.current.focus();else{let _=we(n.current,{tabbable:!0}),Q,Ae;do Ae=_.lastChild(),Ae&&(Q=Ae);while(Ae);Q&&!Q.contains(document.activeElement)&&Ne(Q)}break}}},D=o.useRef({top:0,left:0});at(m,"scroll",h?void 0:()=>{var E,P,M,R;D.current={top:(M=(E=m.current)===null||E===void 0?void 0:E.scrollTop)!==null&&M!==void 0?M:0,left:(R=(P=m.current)===null||P===void 0?void 0:P.scrollLeft)!==null&&R!==void 0?R:0}});let x=E=>{if(t.isFocused){E.currentTarget.contains(E.target)||t.setFocused(!1);return}if(E.currentTarget.contains(E.target)){if(t.setFocused(!0),t.focusedKey==null){var P,M;let U=Y=>{Y!=null&&(t.setFocusedKey(Y),d&&!t.isSelected(Y)&&t.replaceSelection(Y))},G=E.relatedTarget;var R,z;G&&E.currentTarget.compareDocumentPosition(G)&Node.DOCUMENT_POSITION_FOLLOWING?U((R=t.lastSelectedKey)!==null&&R!==void 0?R:(P=u.getLastKey)===null||P===void 0?void 0:P.call(u)):U((z=t.firstSelectedKey)!==null&&z!==void 0?z:(M=u.getFirstKey)===null||M===void 0?void 0:M.call(u))}else!h&&m.current&&(m.current.scrollTop=D.current.top,m.current.scrollLeft=D.current.left);if(t.focusedKey!=null&&m.current){let U=Nr(n,t.focusedKey);U instanceof HTMLElement&&(!U.contains(document.activeElement)&&!f&&Ne(U),qt()==="keyboard"&&je(U,{containingElement:n.current}))}}},k=E=>{E.currentTarget.contains(E.relatedTarget)||t.setFocused(!1)},S=o.useRef(!1);at(n,w$,f?E=>{let{detail:P}=E;E.stopPropagation(),t.setFocused(!0),(P==null?void 0:P.focusStrategy)==="first"&&(S.current=!0)}:void 0);let F=ee(()=>{var E,P;let M=(P=(E=u.getFirstKey)===null||E===void 0?void 0:E.call(u))!==null&&P!==void 0?P:null;M==null?(a4(n.current),t.collection.size>0&&(S.current=!1)):(t.setFocusedKey(M),S.current=!1)});wo(()=>{S.current&&F()},[t.collection,F]);let T=ee(()=>{t.collection.size>0&&(S.current=!1)});wo(()=>{T()},[t.focusedKey,T]),at(n,S$,f?E=>{var P;E.stopPropagation(),t.setFocused(!1),!((P=E.detail)===null||P===void 0)&&P.clearFocusKey&&t.setFocusedKey(null)}:void 0);const N=o.useRef(r),w=o.useRef(!1);o.useEffect(()=>{if(N.current){var E,P;let z=null;var M;r==="first"&&(z=(M=(E=u.getFirstKey)===null||E===void 0?void 0:E.call(u))!==null&&M!==void 0?M:null);var R;r==="last"&&(z=(R=(P=u.getLastKey)===null||P===void 0?void 0:P.call(u))!==null&&R!==void 0?R:null);let U=t.selectedKeys;if(U.size){for(let G of U)if(t.canSelectItem(G)){z=G;break}}t.setFocused(!0),t.setFocusedKey(z),z==null&&!f&&n.current&&Ee(n.current),t.collection.size>0&&(N.current=!1,w.current=!0)}});let y=o.useRef(t.focusedKey),A=o.useRef(null);o.useEffect(()=>{if(t.isFocused&&t.focusedKey!=null&&(t.focusedKey!==y.current||w.current)&&m.current&&n.current){let E=qt(),P=Nr(n,t.focusedKey);if(!(P instanceof HTMLElement))return;(E==="keyboard"||w.current)&&(A.current&&cancelAnimationFrame(A.current),A.current=requestAnimationFrame(()=>{m.current&&Ed(m.current,P)}),E!=="virtual"&&je(P,{containingElement:n.current}))}!f&&t.isFocused&&t.focusedKey==null&&y.current!=null&&n.current&&Ee(n.current),y.current=t.focusedKey,w.current=!1}),o.useEffect(()=>()=>{A.current&&cancelAnimationFrame(A.current)},[]),at(n,"react-aria-focus-scope-restore",E=>{E.preventDefault(),t.setFocused(!0)});let I={onKeyDown:C,onFocus:x,onBlur:k,onMouseDown(E){m.current===E.target&&E.preventDefault()}},{typeSelectProps:K}=np({keyboardDelegate:u,selectionManager:t});c||(I=V(K,I));let L;f||(L=t.focusedKey==null?0:-1);let B=Kv(t.collection);return{collectionProps:V(I,{tabIndex:L,"data-collection":B})}}function hn(e){let{id:t,selectionManager:u,key:n,ref:r,shouldSelectOnPressUp:i,shouldUseVirtualFocus:a,focus:l,isDisabled:s,onAction:d,allowsDifferentPressOrigin:c,linkBehavior:f="action"}=e,p=Mu();t=ie(t);let h=P=>{if(P.pointerType==="keyboard"&&el(P))u.toggleSelection(n);else{if(u.selectionMode==="none")return;if(u.isLink(n)){if(f==="selection"&&r.current){let M=u.getItemProps(n);p.open(r.current,P,M.href,M.routerOptions),u.setSelectedKeys(u.selectedKeys);return}else if(f==="override"||f==="none")return}u.selectionMode==="single"?u.isSelected(n)&&!u.disallowEmptySelection?u.toggleSelection(n):u.replaceSelection(n):P&&P.shiftKey?u.extendSelection(n):u.selectionBehavior==="toggle"||P&&(Gu(P)||P.pointerType==="touch"||P.pointerType==="virtual")?u.toggleSelection(n):u.replaceSelection(n)}};o.useEffect(()=>{n===u.focusedKey&&u.isFocused&&(a?a4(r.current):l?l():document.activeElement!==r.current&&r.current&&Ee(r.current))},[r,n,u.focusedKey,u.childFocusStrategy,u.isFocused,a]),s=s||u.isDisabled(n);let m={};!a&&!s?m={tabIndex:n===u.focusedKey?0:-1,onFocus(P){P.target===r.current&&u.setFocusedKey(n)}}:s&&(m.onMouseDown=P=>{P.preventDefault()});let g=u.isLink(n)&&f==="override",$=u.isLink(n)&&f!=="selection"&&f!=="none",v=!s&&u.canSelectItem(n)&&!g,C=(d||$)&&!s,D=C&&(u.selectionBehavior==="replace"?!v:!v||u.isEmpty),x=C&&v&&u.selectionBehavior==="replace",k=D||x,S=o.useRef(null),F=k&&v,T=o.useRef(!1),N=o.useRef(!1),w=P=>{if(d&&d(),$&&r.current){let M=u.getItemProps(n);p.open(r.current,P,M.href,M.routerOptions)}},y={ref:r};i?(y.onPressStart=P=>{S.current=P.pointerType,T.current=F,P.pointerType==="keyboard"&&(!k||Ts())&&h(P)},c?(y.onPressUp=D?void 0:P=>{P.pointerType==="mouse"&&v&&h(P)},y.onPress=D?w:P=>{P.pointerType!=="keyboard"&&P.pointerType!=="mouse"&&v&&h(P)}):y.onPress=P=>{if(D||x&&P.pointerType!=="mouse"){if(P.pointerType==="keyboard"&&!Fs())return;w(P)}else P.pointerType!=="keyboard"&&v&&h(P)}):(y.onPressStart=P=>{S.current=P.pointerType,T.current=F,N.current=D,v&&(P.pointerType==="mouse"&&!D||P.pointerType==="keyboard"&&(!C||Ts()))&&h(P)},y.onPress=P=>{(P.pointerType==="touch"||P.pointerType==="pen"||P.pointerType==="virtual"||P.pointerType==="keyboard"&&k&&Fs()||P.pointerType==="mouse"&&N.current)&&(k?w(P):v&&h(P))}),m["data-collection"]=zv(u.collection),m["data-key"]=n,y.preventFocusOnPress=a,a&&(y=V(y,{onPressStart(P){P.pointerType!=="touch"&&(u.setFocused(!0),u.setFocusedKey(n))},onPress(P){P.pointerType==="touch"&&(u.setFocused(!0),u.setFocusedKey(n))}}));let{pressProps:A,isPressed:I}=tt(y),K=x?P=>{S.current==="mouse"&&(P.stopPropagation(),P.preventDefault(),w(P))}:void 0,{longPressProps:L}=Vd({isDisabled:!F,onLongPress(P){P.pointerType==="touch"&&(h(P),u.setSelectionBehavior("toggle"))}}),B=P=>{S.current==="touch"&&T.current&&P.preventDefault()},E=u.isLink(n)?P=>{cu.isOpening||P.preventDefault()}:void 0;return{itemProps:V(m,v||D||a&&!s?A:{},F?L:{},{onDoubleClick:K,onDragStartCapture:B,onClick:E,id:t},a?{onMouseDown:P=>P.preventDefault()}:void 0),isPressed:I,isSelected:u.isSelected(n),isFocused:u.isFocused&&u.focusedKey===n,isDisabled:s,allowsSelection:v,hasAction:k}}function Fs(){let e=window.event;return(e==null?void 0:e.key)==="Enter"}function Ts(){let e=window.event;return(e==null?void 0:e.key)===" "||(e==null?void 0:e.code)==="Space"}class tl{getItemRect(t){let u=this.ref.current;if(!u)return null;let n=t!=null?Nr(this.ref,t):null;if(!n)return null;let r=u.getBoundingClientRect(),i=n.getBoundingClientRect();return{x:i.left-r.left+u.scrollLeft,y:i.top-r.top+u.scrollTop,width:i.width,height:i.height}}getContentSize(){let t=this.ref.current;var u,n;return{width:(u=t==null?void 0:t.scrollWidth)!==null&&u!==void 0?u:0,height:(n=t==null?void 0:t.scrollHeight)!==null&&n!==void 0?n:0}}getVisibleRect(){let t=this.ref.current;var u,n,r,i;return{x:(u=t==null?void 0:t.scrollLeft)!==null&&u!==void 0?u:0,y:(n=t==null?void 0:t.scrollTop)!==null&&n!==void 0?n:0,width:(r=t==null?void 0:t.offsetWidth)!==null&&r!==void 0?r:0,height:(i=t==null?void 0:t.offsetHeight)!==null&&i!==void 0?i:0}}constructor(t){this.ref=t}}class mn{isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,u){let n=t;for(;n!=null;){let r=this.collection.getItem(n);if((r==null?void 0:r.type)==="item"&&!this.isDisabled(r))return n;n=u(n)}return null}getNextKey(t){let u=t;return u=this.collection.getKeyAfter(u),this.findNextNonDisabled(u,n=>this.collection.getKeyAfter(n))}getPreviousKey(t){let u=t;return u=this.collection.getKeyBefore(u),this.findNextNonDisabled(u,n=>this.collection.getKeyBefore(n))}findKey(t,u,n){let r=t,i=this.layoutDelegate.getItemRect(r);if(!i||r==null)return null;let a=i;do{if(r=u(r),r==null)break;i=this.layoutDelegate.getItemRect(r)}while(i&&n(a,i)&&r!=null);return r}isSameRow(t,u){return t.y===u.y||t.x!==u.x}isSameColumn(t,u){return t.x===u.x||t.y!==u.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getNextKey(u),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,u=>this.getPreviousKey(u),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,u){return u?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let u=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let u=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[u]?(t=this.layoutDelegate[u](t),this.findNextNonDisabled(t,n=>this.layoutDelegate[u](n))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,n=>this.getNextColumn(n,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyAfter(u))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,u=>this.collection.getKeyBefore(u))}getKeyPageAbove(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!Nn(u))return this.getFirstKey();let r=t;if(this.orientation==="horizontal"){let i=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>i&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let i=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>i&&r!=null;)r=this.getKeyAbove(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getFirstKey()}getKeyPageBelow(t){let u=this.ref.current,n=this.layoutDelegate.getItemRect(t);if(!n)return null;if(u&&!Nn(u))return this.getLastKey();let r=t;if(this.orientation==="horizontal"){let i=Math.min(this.layoutDelegate.getContentSize().width,n.y-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<i&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}else{let i=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<i&&r!=null;)r=this.getKeyBelow(r),n=r==null?null:this.layoutDelegate.getItemRect(r)}return r??this.getLastKey()}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u||this.getFirstKey();for(;r!=null;){let i=n.getItem(r);if(!i)return null;let a=i.textValue.slice(0,t.length);if(i.textValue&&this.collator.compare(a,t)===0)return r;r=this.getNextKey(r)}return null}constructor(...t){if(t.length===1){let u=t[0];this.collection=u.collection,this.ref=u.ref,this.collator=u.collator,this.disabledKeys=u.disabledKeys||new Set,this.disabledBehavior=u.disabledBehavior||"all",this.orientation=u.orientation||"vertical",this.direction=u.direction,this.layout=u.layout||"stack",this.layoutDelegate=u.layoutDelegate||new tl(u.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new tl(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function Ql(e){let{selectionManager:t,collection:u,disabledKeys:n,ref:r,keyboardDelegate:i,layoutDelegate:a}=e,l=pn({usage:"search",sensitivity:"base"}),s=t.disabledBehavior,d=o.useMemo(()=>i||new mn({collection:u,disabledKeys:n,disabledBehavior:s,ref:r,collator:l,layoutDelegate:a}),[i,a,u,n,r,l,s]),{collectionProps:c}=Ri({...e,ref:r,selectionManager:t,keyboardDelegate:d});return{listProps:c}}function Vv(e,t,u){let n=H(e,{labelable:!0}),r=e.selectionBehavior||"toggle",i=e.linkBehavior||(r==="replace"?"action":"override");r==="toggle"&&i==="action"&&(i="override");let{listProps:a}=Ql({...e,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:i}),{focusWithinProps:l}=yt({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),s=ie(e.id);Ii.set(t,{id:s,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:i});let{labelProps:d,fieldProps:c}=ql({...e,id:s,labelElementType:"span"});return{labelProps:d,listBoxProps:V(n,l,t.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...V(c,a)})}}function rp(e){return null}rp.getCollectionNode=function*(t,u){let{childItems:n,title:r,children:i}=t,a=t.title||t.children,l=t.textValue||(typeof a=="string"?a:"")||t["aria-label"]||"";!l&&!(u!=null&&u.suppressTextValueWarning)&&process.env.NODE_ENV!=="production"&&console.warn("<Item> with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:t,rendered:a,textValue:l,"aria-label":t["aria-label"],hasChildNodes:_v(t),*childNodes(){if(n)for(let s of n)yield{type:"item",value:s};else if(r){let s=[];o.Children.forEach(i,d=>{s.push({type:"item",element:d})}),yield*s}}}};function _v(e){return e.hasChildItems!=null?e.hasChildItems:!!(e.childItems||e.title&&o.Children.count(e.children)>0)}let Is=rp;function ip(e){return null}ip.getCollectionNode=function*(t){let{children:u,title:n,items:r}=t;yield{type:"section",props:t,hasChildNodes:!0,rendered:n,"aria-label":t["aria-label"],*childNodes(){if(typeof u=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");for(let i of r)yield{type:"item",value:i,renderer:u}}else{let i=[];o.Children.forEach(u,a=>{i.push({type:"item",element:a})}),yield*i}}}};let jv=ip;class Lv{build(t,u){return this.context=u,Rs(()=>this.iterateCollection(t))}*iterateCollection(t){let{children:u,items:n}=t;if(o.isValidElement(u)&&u.type===o.Fragment)yield*this.iterateCollection({children:u.props.children,items:n});else if(typeof u=="function"){if(!n)throw new Error("props.children was a function but props.items is missing");let r=0;for(let i of n)yield*this.getFullNode({value:i,index:r},{renderer:u}),r++}else{let r=[];o.Children.forEach(u,a=>{a&&r.push(a)});let i=0;for(let a of r){let l=this.getFullNode({element:a,index:i},{});for(let s of l)i++,yield s}}}getKey(t,u,n,r){if(t.key!=null)return t.key;if(u.type==="cell"&&u.key!=null)return`${r}${u.key}`;let i=u.value;if(i!=null){var a;let l=(a=i.key)!==null&&a!==void 0?a:i.id;if(l==null)throw new Error("No key found for item");return l}return r?`${r}.${u.index}`:`$.${u.index}`}getChildState(t,u){return{renderer:u.renderer||t.renderer}}*getFullNode(t,u,n,r){if(o.isValidElement(t.element)&&t.element.type===o.Fragment){let $=[];o.Children.forEach(t.element.props.children,C=>{$.push(C)});var i;let v=(i=t.index)!==null&&i!==void 0?i:0;for(const C of $)yield*this.getFullNode({element:C,index:v++},u,n,r);return}let a=t.element;if(!a&&t.value&&u&&u.renderer){let $=this.cache.get(t.value);if($&&(!$.shouldInvalidate||!$.shouldInvalidate(this.context))){$.index=t.index,$.parentKey=r?r.key:null,yield $;return}a=u.renderer(t.value)}if(o.isValidElement(a)){let $=a.type;if(typeof $!="function"&&typeof $.getCollectionNode!="function"){let x=a.type;throw new Error(`Unknown element <${x}> in collection.`)}let v=$.getCollectionNode(a.props,this.context);var l;let C=(l=t.index)!==null&&l!==void 0?l:0,D=v.next();for(;!D.done&&D.value;){let x=D.value;t.index=C;var s;let k=(s=x.key)!==null&&s!==void 0?s:null;k==null&&(k=x.element?null:this.getKey(a,t,u,n));let F=[...this.getFullNode({...x,key:k,index:C,wrapper:Ov(t.wrapper,x.wrapper)},this.getChildState(u,x),n?`${n}${a.key}`:a.key,r)];for(let T of F){var d,c;T.value=(c=(d=x.value)!==null&&d!==void 0?d:t.value)!==null&&c!==void 0?c:null,T.value&&this.cache.set(T.value,T);var f;if(t.type&&T.type!==t.type)throw new Error(`Unsupported type <${ma(T.type)}> in <${ma((f=r==null?void 0:r.type)!==null&&f!==void 0?f:"unknown parent type")}>. Only <${ma(t.type)}> is supported.`);C++,yield T}D=v.next(F)}return}if(t.key==null||t.type==null)return;let p=this;var h,m;let g={type:t.type,props:t.props,key:t.key,parentKey:r?r.key:null,value:(h=t.value)!==null&&h!==void 0?h:null,level:r?r.level+1:0,index:t.index,rendered:t.rendered,textValue:(m=t.textValue)!==null&&m!==void 0?m:"","aria-label":t["aria-label"],wrapper:t.wrapper,shouldInvalidate:t.shouldInvalidate,hasChildNodes:t.hasChildNodes||!1,childNodes:Rs(function*(){if(!t.hasChildNodes||!t.childNodes)return;let $=0;for(let v of t.childNodes()){v.key!=null&&(v.key=`${g.key}${v.key}`);let C=p.getFullNode({...v,index:$},p.getChildState(u,v),g.key,g);for(let D of C)$++,yield D}})};yield g}constructor(){this.cache=new WeakMap}}function Rs(e){let t=[],u=null;return{*[Symbol.iterator](){for(let n of t)yield n;u||(u=e());for(let n of u)t.push(n),yield n}}}function Ov(e,t){if(e&&t)return u=>e(t(u));if(e)return e;if(t)return t}function ma(e){return e[0].toUpperCase()+e.slice(1)}function eo(e,t,u){let n=o.useMemo(()=>new Lv,[]),{children:r,items:i,collection:a}=e;return o.useMemo(()=>{if(a)return a;let s=n.build({children:r,items:i},u);return t(s)},[n,r,i,a,u,t])}function Be(e,t){return typeof t.getChildren=="function"?t.getChildren(e.key):e.childNodes}function Ut(e){return Fn(e,0)}function Fn(e,t){if(t<0)return;let u=0;for(let n of e){if(u===t)return n;u++}}function Zt(e){let t;for(let u of e)t=u;return t}function ba(e,t,u){if(t.parentKey===u.parentKey)return t.index-u.index;let n=[...Ks(e,t),t],r=[...Ks(e,u),u],i=n.slice(0,r.length).findIndex((a,l)=>a!==r[l]);return i!==-1?(t=n[i],u=r[i],t.index-u.index):n.findIndex(a=>a===u)>=0?1:(r.findIndex(a=>a===t)>=0,-1)}function Ks(e,t){let u=[],n=t;for(;(n==null?void 0:n.parentKey)!=null;)n=e.getItem(n.parentKey),n&&u.unshift(n);return u}const zs=new WeakMap;function to(e){let t=zs.get(e);if(t!=null)return t;let u=0,n=r=>{for(let i of r)i.type==="section"?n(Be(i,e)):i.type==="item"&&u++};return n(e),zs.set(e,u),u}function Hv(e,t,u){var n,r;let{key:i}=e,a=Ii.get(t);var l;let s=(l=e.isDisabled)!==null&&l!==void 0?l:t.selectionManager.isDisabled(i);var d;let c=(d=e.isSelected)!==null&&d!==void 0?d:t.selectionManager.isSelected(i);var f;let p=(f=e.shouldSelectOnPressUp)!==null&&f!==void 0?f:a==null?void 0:a.shouldSelectOnPressUp;var h;let m=(h=e.shouldFocusOnHover)!==null&&h!==void 0?h:a==null?void 0:a.shouldFocusOnHover;var g;let $=(g=e.shouldUseVirtualFocus)!==null&&g!==void 0?g:a==null?void 0:a.shouldUseVirtualFocus;var v;let C=(v=e.isVirtualized)!==null&&v!==void 0?v:a==null?void 0:a.isVirtualized,D=dt(),x=dt(),k={role:"option","aria-disabled":s||void 0,"aria-selected":t.selectionManager.selectionMode!=="none"?c:void 0};wt()&&yl()||(k["aria-label"]=e["aria-label"],k["aria-labelledby"]=D,k["aria-describedby"]=x);let S=t.collection.getItem(i);if(C){let E=Number(S==null?void 0:S.index);k["aria-posinset"]=Number.isNaN(E)?void 0:E+1,k["aria-setsize"]=to(t.collection)}let F=a!=null&&a.onAction?()=>{var E;return a==null||(E=a.onAction)===null||E===void 0?void 0:E.call(a,i)}:void 0,T=tp(t,i),{itemProps:N,isPressed:w,isFocused:y,hasAction:A,allowsSelection:I}=hn({selectionManager:t.selectionManager,key:i,ref:u,shouldSelectOnPressUp:p,allowsDifferentPressOrigin:p&&m,isVirtualized:C,shouldUseVirtualFocus:$,isDisabled:s,onAction:F||!(S==null||(n=S.props)===null||n===void 0)&&n.onAction?et(S==null||(r=S.props)===null||r===void 0?void 0:r.onAction,F):void 0,linkBehavior:a==null?void 0:a.linkBehavior,id:T}),{hoverProps:K}=De({isDisabled:s||!m,onHoverStart(){Qt()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(i))}}),L=H(S==null?void 0:S.props);delete L.id;let B=vi(S==null?void 0:S.props);return{optionProps:{...k,...V(L,N,K,B),id:T},labelProps:{id:D},descriptionProps:{id:x},isFocused:y,isFocusVisible:y&&t.selectionManager.isFocused&&Qt(),isSelected:c,isDisabled:s,isPressed:w,allowsSelection:I,hasAction:A}}function Uv(e){let{heading:t,"aria-label":u}=e,n=ie();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}var ap={};ap={longPressMessage:"اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة"};var lp={};lp={longPressMessage:"Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто"};var op={};op={longPressMessage:"Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku"};var sp={};sp={longPressMessage:"Langt tryk eller tryk på Alt + pil ned for at åbne menuen"};var dp={};dp={longPressMessage:"Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen"};var cp={};cp={longPressMessage:"Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού"};var fp={};fp={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var pp={};pp={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú"};var hp={};hp={longPressMessage:"Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool"};var mp={};mp={longPressMessage:"Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli"};var bp={};bp={longPressMessage:"Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu."};var gp={};gp={longPressMessage:"לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט"};var $p={};$p={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var yp={};yp={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához"};var vp={};vp={longPressMessage:"Premere a lungo o premere Alt + Freccia giù per aprire il menu"};var Dp={};Dp={longPressMessage:"長押しまたは Alt+下矢印キーでメニューを開く"};var xp={};xp={longPressMessage:"길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기"};var Cp={};Cp={longPressMessage:"Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“."};var Ep={};Ep={longPressMessage:"Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa"};var kp={};kp={longPressMessage:"Langt trykk eller trykk Alt + PilNed for å åpne menyen"};var Bp={};Bp={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var Pp={};Pp={longPressMessage:"Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu"};var Sp={};Sp={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var wp={};wp={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var Ap={};Ap={longPressMessage:"Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul"};var Fp={};Fp={longPressMessage:"Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню"};var Tp={};Tp={longPressMessage:"Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol"};var Ip={};Ip={longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol"};var Rp={};Rp={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var Kp={};Kp={longPressMessage:"Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn"};var zp={};zp={longPressMessage:"Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın"};var Mp={};Mp={longPressMessage:"Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню"};var Np={};Np={longPressMessage:"长按或按 Alt + 向下方向键以打开菜单"};var Vp={};Vp={longPressMessage:"長按或按 Alt+向下鍵以開啟功能表"};var _p={};_p={"ar-AE":ap,"bg-BG":lp,"cs-CZ":op,"da-DK":sp,"de-DE":dp,"el-GR":cp,"en-US":fp,"es-ES":pp,"et-EE":hp,"fi-FI":mp,"fr-FR":bp,"he-IL":gp,"hr-HR":$p,"hu-HU":yp,"it-IT":vp,"ja-JP":Dp,"ko-KR":xp,"lt-LT":Cp,"lv-LV":Ep,"nb-NO":kp,"nl-NL":Bp,"pl-PL":Pp,"pt-BR":Sp,"pt-PT":wp,"ro-RO":Ap,"ru-RU":Fp,"sk-SK":Tp,"sl-SI":Ip,"sr-SP":Rp,"sv-SE":Kp,"tr-TR":zp,"uk-UA":Mp,"zh-CN":Np,"zh-TW":Vp};function Wv(e){return e&&e.__esModule?e.default:e}function uo(e,t,u){let{type:n="menu",isDisabled:r,trigger:i="press"}=e,a=ie(),{triggerProps:l,overlayProps:s}=m3({type:n},t,u),d=h=>{if(!r&&!(i==="longPress"&&!h.altKey)&&u&&u.current)switch(h.key){case"Enter":case" ":if(i==="longPress")return;case"ArrowDown":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in h||h.stopPropagation(),h.preventDefault(),t.toggle("last");break;default:"continuePropagation"in h&&h.continuePropagation()}},c=xe(Wv(_p),"@react-aria/menu"),{longPressProps:f}=Vd({isDisabled:r||i!=="longPress",accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}}),p={preventFocusOnPress:!0,onPressStart(h){h.pointerType!=="touch"&&h.pointerType!=="keyboard"&&!r&&(Ne(h.target),t.open(h.pointerType==="virtual"?"first":null))},onPress(h){h.pointerType==="touch"&&!r&&(Ne(h.target),t.toggle())}};return delete l.onPress,{menuTriggerProps:{...l,...i==="press"?p:f,id:a,onKeyDown:d},menuProps:{...s,"aria-labelledby":a,autoFocus:t.focusStrategy||!0,onClose:t.close}}}const jp=new WeakMap;function Gv(e,t,u){let{shouldFocusWrap:n=!0,onKeyDown:r,onKeyUp:i,...a}=e;!e["aria-label"]&&!e["aria-labelledby"]&&process.env.NODE_ENV!=="production"&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let l=H(e,{labelable:!0}),{listProps:s}=Ql({...a,ref:u,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return jp.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:V(l,{onKeyDown:r,onKeyUp:i},{role:"menu",...s,onKeyDown:d=>{var c;(d.key!=="Escape"||e.shouldUseVirtualFocus)&&((c=s.onKeyDown)===null||c===void 0||c.call(s,d))}})}}function Zv(e,t,u){let{id:n,key:r,closeOnSelect:i,isVirtualized:a,"aria-haspopup":l,onPressStart:s,onPressUp:d,onPress:c,onPressChange:f,onPressEnd:p,onHoverStart:h,onHoverChange:m,onHoverEnd:g,onKeyDown:$,onKeyUp:v,onFocus:C,onFocusChange:D,onBlur:x,selectionManager:k=t.selectionManager}=e,S=!!l,F=S&&e["aria-expanded"]==="true";var T;let N=(T=e.isDisabled)!==null&&T!==void 0?T:k.isDisabled(r);var w;let y=(w=e.isSelected)!==null&&w!==void 0?w:k.isSelected(r),A=jp.get(t),I=t.collection.getItem(r),K=e.onClose||A.onClose,L=Mu(),B=te=>{var nu;if(!S){if(!(I==null||(nu=I.props)===null||nu===void 0)&&nu.onAction?I.props.onAction():e.onAction&&e.onAction(r),A.onAction){let vu=A.onAction;vu(r)}te.target instanceof HTMLAnchorElement&&I&&L.open(te.target,te,I.props.href,I.props.routerOptions)}},E="menuitem";S||(k.selectionMode==="single"?E="menuitemradio":k.selectionMode==="multiple"&&(E="menuitemcheckbox"));let P=dt(),M=dt(),R=dt(),z={id:n,"aria-disabled":N||void 0,role:E,"aria-label":e["aria-label"],"aria-labelledby":P,"aria-describedby":[M,R].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":l,"aria-expanded":e["aria-expanded"]};k.selectionMode!=="none"&&!S&&(z["aria-checked"]=y),a&&(z["aria-posinset"]=I==null?void 0:I.index,z["aria-setsize"]=to(t.collection));let U=te=>{te.pointerType==="keyboard"&&B(te),s==null||s(te)},G=()=>{!S&&K&&(i??(k.selectionMode!=="multiple"||k.isLink(r)))&&K()},Y=te=>{te.pointerType==="mouse"&&(B(te),G()),d==null||d(te)},pe=te=>{te.pointerType!=="keyboard"&&te.pointerType!=="mouse"&&(B(te),G()),c==null||c(te)},{itemProps:ae,isFocused:oe}=hn({id:n,selectionManager:k,key:r,ref:u,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:A.shouldUseVirtualFocus}),{pressProps:O,isPressed:ne}=tt({onPressStart:U,onPress:pe,onPressUp:Y,onPressChange:f,onPressEnd:p,isDisabled:N}),{hoverProps:fe}=De({isDisabled:N,onHoverStart(te){!Qt()&&!(F&&l)&&(k.setFocused(!0),k.setFocusedKey(r)),h==null||h(te)},onHoverChange:m,onHoverEnd:g}),{keyboardProps:W}=Nd({onKeyDown:te=>{if(te.repeat){te.continuePropagation();return}switch(te.key){case" ":!N&&k.selectionMode==="none"&&!S&&i!==!1&&K&&K();break;case"Enter":!N&&i!==!1&&!S&&K&&K();break;default:S||te.continuePropagation(),$==null||$(te);break}},onKeyUp:v}),{focusProps:_}=Ei({onBlur:x,onFocus:C,onFocusChange:D}),Q=H(I==null?void 0:I.props);delete Q.id;let Ae=vi(I==null?void 0:I.props);return{menuItemProps:{...z,...V(Q,Ae,S?{onFocus:ae.onFocus,"data-collection":ae["data-collection"],"data-key":ae["data-key"]}:ae,O,fe,W,_,A.shouldUseVirtualFocus||S?{onMouseDown:te=>te.preventDefault()}:void 0),tabIndex:ae.tabIndex!=null&&F&&!A.shouldUseVirtualFocus?-1:ae.tabIndex},labelProps:{id:P},descriptionProps:{id:M},keyboardShortcutProps:{id:R},isFocused:oe,isFocusVisible:oe&&k.isFocused&&Qt()&&!F,isSelected:y,isPressed:ne,isDisabled:N}}function qv(e){let{heading:t,"aria-label":u}=e,n=ie();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":u,"aria-labelledby":t?n:void 0}}}function Yv(e){return e&&e.__esModule?e.default:e}function Jv(e,t){let{buttonRef:u,popoverRef:n,inputRef:r,listBoxRef:i,keyboardDelegate:a,layoutDelegate:l,shouldFocusWrap:s,isReadOnly:d,isDisabled:c}=e,f=o.useRef(null);u=u??f;let p=xe(Yv(d3),"@react-aria/combobox"),{menuTriggerProps:h,menuProps:m}=uo({type:"listbox",isDisabled:c||d},t,u);Ii.set(t,{id:m.id});let{collection:g}=t,{disabledKeys:$}=t.selectionManager,v=o.useMemo(()=>a||new mn({collection:g,disabledKeys:$,ref:i,layoutDelegate:l}),[a,l,g,$,i]),{collectionProps:C}=Ri({selectionManager:t.selectionManager,keyboardDelegate:v,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:r,isVirtualized:!0}),D=Mu(),x=W=>{if(!W.nativeEvent.isComposing)switch(W.key){case"Enter":case"Tab":if(t.isOpen&&W.key==="Enter"&&W.preventDefault(),t.isOpen&&i.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let _=i.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if(W.key==="Enter"&&_ instanceof HTMLAnchorElement){let Q=t.collection.getItem(t.selectionManager.focusedKey);Q&&D.open(_,W,Q.props.href,Q.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&W.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},k=W=>{var _;let Q=(u==null?void 0:u.current)&&u.current===W.relatedTarget,Ae=(_=n.current)===null||_===void 0?void 0:_.contains(W.relatedTarget);Q||Ae||(e.onBlur&&e.onBlur(W),t.setFocused(!1))},S=W=>{t.isFocused||(e.onFocus&&e.onFocus(W),t.setFocused(!0))},{isInvalid:F,validationErrors:T,validationDetails:N}=t.displayValidation,{labelProps:w,inputProps:y,descriptionProps:A,errorMessageProps:I}=Jl({...e,onChange:t.setInputValue,onKeyDown:d?e.onKeyDown:et(t.isOpen&&C.onKeyDown,x,e.onKeyDown),onBlur:k,value:t.inputValue,onFocus:S,autoComplete:"off",validate:void 0,[hu]:t},r),K=W=>{if(W.pointerType==="touch"){var _;(_=r.current)===null||_===void 0||_.focus(),t.toggle(null,"manual")}},L=W=>{if(W.pointerType!=="touch"){var _;(_=r.current)===null||_===void 0||_.focus(),t.toggle(W.pointerType==="keyboard"||W.pointerType==="virtual"?"first":null,"manual")}},B=At({id:h.id,"aria-label":p.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||w.id}),E=At({id:m.id,"aria-label":p.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||w.id}),P=o.useRef(0),M=W=>{if(c||d)return;if(W.timeStamp-P.current<500){var _;W.preventDefault(),(_=r.current)===null||_===void 0||_.focus();return}let Q=W.target.getBoundingClientRect(),Ae=W.changedTouches[0],te=Math.ceil(Q.left+.5*Q.width),nu=Math.ceil(Q.top+.5*Q.height);if(Ae.clientX===te&&Ae.clientY===nu){var vu;W.preventDefault(),(vu=r.current)===null||vu===void 0||vu.focus(),t.toggle(null,"manual"),P.current=W.timeStamp}},R=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var z;let U=(z=R==null?void 0:R.parentKey)!==null&&z!==void 0?z:null;var G;let Y=(G=t.selectionManager.focusedKey)!==null&&G!==void 0?G:null,pe=o.useRef(U),ae=o.useRef(Y);o.useEffect(()=>{if(Ir()&&R!=null&&Y!=null&&Y!==ae.current){let _=t.selectionManager.isSelected(Y),Q=U!=null?t.collection.getItem(U):null,Ae=(Q==null?void 0:Q["aria-label"])||(typeof(Q==null?void 0:Q.rendered)=="string"?Q.rendered:"")||"";var W;let te=p.format("focusAnnouncement",{isGroupChange:(W=Q&&U!==pe.current)!==null&&W!==void 0?W:!1,groupTitle:Ae,groupCount:Q?[...Be(Q,t.collection)].length:0,optionText:R["aria-label"]||R.textValue||"",isSelected:_});St(te)}pe.current=U,ae.current=Y});let oe=to(t.collection),O=o.useRef(oe),ne=o.useRef(t.isOpen);o.useEffect(()=>{let W=t.isOpen!==ne.current&&(t.selectionManager.focusedKey==null||Ir());if(t.isOpen&&(W||oe!==O.current)){let _=p.format("countAnnouncement",{optionCount:oe});St(_)}O.current=oe,ne.current=t.isOpen});let fe=o.useRef(t.selectedKey);return o.useEffect(()=>{if(Ir()&&t.isFocused&&t.selectedItem&&t.selectedKey!==fe.current){let W=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",_=p.format("selectedAnnouncement",{optionText:W});St(_)}fe.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return Xl([r.current,n.current].filter(W=>W!=null))},[t.isOpen,r,n]),Mn(()=>{!R&&r.current&&ze(re(r.current))===r.current&&l4(r.current,null)},[R]),{labelProps:w,buttonProps:{...h,...B,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:K,onPressStart:L,isDisabled:c||d},inputProps:V(y,{role:"combobox","aria-expanded":h["aria-expanded"],"aria-controls":t.isOpen?m.id:void 0,"aria-autocomplete":"list","aria-activedescendant":R?tp(t,R.key):void 0,onTouchEnd:M,autoCorrect:"off",spellCheck:"false"}),listBoxProps:V(m,E,{autoFocus:t.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:A,errorMessageProps:I,isInvalid:F,validationErrors:T,validationDetails:N}}var Lp={};Lp={calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"};var Op={};Op={calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"};var Hp={};Hp={calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"};var Up={};Up={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"};var Wp={};Wp={calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var Gp={};Gp={calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"};var Zp={};Zp={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`};var qp={};qp={calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"};var Yp={};Yp={calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"};var Jp={};Jp={calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"};var Xp={};Xp={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"};var Qp={};Qp={calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"};var eh={};eh={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var th={};th={calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"};var uh={};uh={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var nh={};nh={calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"};var rh={};rh={calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"};var ih={};ih={calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"};var ah={};ah={calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"};var lh={};lh={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"};var oh={};oh={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var sh={};sh={calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"};var dh={};dh={calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var ch={};ch={calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"};var fh={};fh={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"};var ph={};ph={calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"};var hh={};hh={calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"};var mh={};mh={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"};var bh={};bh={calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"};var gh={};gh={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"};var $h={};$h={calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"};var yh={};yh={calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"};var vh={};vh={calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var Dh={};Dh={calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"};var dr={};dr={"ar-AE":Lp,"bg-BG":Op,"cs-CZ":Hp,"da-DK":Up,"de-DE":Wp,"el-GR":Gp,"en-US":Zp,"es-ES":qp,"et-EE":Yp,"fi-FI":Jp,"fr-FR":Xp,"he-IL":Qp,"hr-HR":eh,"hu-HU":th,"it-IT":uh,"ja-JP":nh,"ko-KR":rh,"lt-LT":ih,"lv-LV":ah,"nb-NO":lh,"nl-NL":oh,"pl-PL":sh,"pt-BR":dh,"pt-PT":ch,"ro-RO":fh,"ru-RU":ph,"sk-SK":hh,"sl-SI":mh,"sr-SP":bh,"sv-SE":gh,"tr-TR":$h,"uk-UA":yh,"zh-CN":vh,"zh-TW":Dh};function no(e,t,u){let{direction:n}=de(),r=o.useMemo(()=>ar(t),[t]),i=s=>{if(s.currentTarget.contains(s.target)&&(s.altKey&&(s.key==="ArrowDown"||s.key==="ArrowUp")&&"setOpen"in e&&(s.preventDefault(),s.stopPropagation(),e.setOpen(!0)),!u))switch(s.key){case"ArrowLeft":if(s.preventDefault(),s.stopPropagation(),n==="rtl"){if(t.current){let d=s.target,c=Ms(t.current,d.getBoundingClientRect().left,-1);c&&c.focus()}}else r.focusPrevious();break;case"ArrowRight":if(s.preventDefault(),s.stopPropagation(),n==="rtl"){if(t.current){let d=s.target,c=Ms(t.current,d.getBoundingClientRect().left,1);c&&c.focus()}}else r.focusNext();break}},a=()=>{var s;if(!t.current)return;let d=(s=window.event)===null||s===void 0?void 0:s.target,c=we(t.current,{tabbable:!0});if(d&&(c.currentNode=d,d=c.previousNode()),!d){let f;do f=c.lastChild(),f&&(d=f);while(f)}for(;d!=null&&d.hasAttribute("data-placeholder");){let f=c.previousNode();if(f&&f.hasAttribute("data-placeholder"))d=f;else break}d&&d.focus()},{pressProps:l}=tt({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&a()},onPress(s){s.pointerType!=="mouse"&&a()}});return V(l,{onKeyDown:i})}function Ms(e,t,u){let n=we(e,{tabbable:!0}),r=n.nextNode(),i=null,a=1/0;for(;r;){let s=r.getBoundingClientRect().left-t,d=Math.abs(s);Math.sign(s)===u&&d<a&&(i=r,a=d),r=n.nextNode()}return i}function Xv(e){return e&&e.__esModule?e.default:e}const xh=new WeakMap,Rn="__role_"+Date.now(),Ch="__focusManager_"+Date.now();function Eh(e,t,u){var n;let{isInvalid:r,validationErrors:i,validationDetails:a}=t.displayValidation,{labelProps:l,fieldProps:s,descriptionProps:d,errorMessageProps:c}=gu({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||i}),f=o.useRef(null),{focusWithinProps:p}=yt({...e,onFocusWithin(w){var y;f.current=t.value,(y=e.onFocus)===null||y===void 0||y.call(e,w)},onBlurWithin:w=>{var y;t.confirmPlaceholder(),t.value!==f.current&&t.commitValidation(),(y=e.onBlur)===null||y===void 0||y.call(e,w)},onFocusWithinChange:e.onFocusChange}),h=xe(Xv(dr),"@react-aria/datepicker"),m=t.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",g=t.maxGranularity==="hour"?"time":"date",$=t.value?h.format(m,{[g]:t.formatValue({month:"long"})}):"",v=It($),C=e[Rn]==="presentation"?s["aria-describedby"]:[v["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,D=e[Ch],x=o.useMemo(()=>D||ar(u),[D,u]),k=no(t,u,e[Rn]==="presentation");xh.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[l.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:C,focusManager:x});let S=o.useRef(e.autoFocus),F;e[Rn]==="presentation"?F={role:"presentation"}:F=V(s,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":C}),o.useEffect(()=>{S.current&&x.focusFirst(),S.current=!1},[x]),tr(e.inputRef,t.value,t.setValue),or({...e,focus(){x.focusFirst()}},t,e.inputRef);let T={type:"hidden",name:e.name,value:((n=t.value)===null||n===void 0?void 0:n.toString())||"",disabled:e.isDisabled};e.validationBehavior==="native"&&(T.type="text",T.hidden=!0,T.required=e.isRequired,T.onChange=()=>{});let N=H(e);return{labelProps:{...l,onClick:()=>{x.focusFirst()}},fieldProps:V(N,F,k,p,{onKeyDown(w){e.onKeyDown&&e.onKeyDown(w)},onKeyUp(w){e.onKeyUp&&e.onKeyUp(w)},style:{unicodeBidi:"isolate"}}),inputProps:T,descriptionProps:d,errorMessageProps:c,isInvalid:r,validationErrors:i,validationDetails:a}}function Qv(e){return e&&e.__esModule?e.default:e}function eD(e,t,u){let n=ie(),r=ie(),i=ie(),a=xe(Qv(dr),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:h}=gu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),m=no(t,u),g=f["aria-labelledby"]||f.id,{locale:$}=de(),v=t.formatValue($,{month:"long"}),C=v?a.format("selectedDateDescription",{date:v}):"",D=It(C),x=[D["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,k=H(e),S=o.useMemo(()=>ar(u),[u]),F=o.useRef(!1),{focusWithinProps:T}=yt({...e,isDisabled:t.isOpen,onBlurWithin:N=>{let w=document.getElementById(r);if(!(w!=null&&w.contains(N.relatedTarget))){var y,A;F.current=!1,(y=e.onBlur)===null||y===void 0||y.call(e,N),(A=e.onFocusChange)===null||A===void 0||A.call(e,!1)}},onFocusWithin:N=>{if(!F.current){var w,y;F.current=!0,(w=e.onFocus)===null||w===void 0||w.call(e,N),(y=e.onFocusChange)===null||y===void 0||y.call(e,!0)}}});return{groupProps:V(k,m,f,D,T,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":g,"aria-describedby":x,onKeyDown(N){t.isOpen||e.onKeyDown&&e.onKeyDown(N)},onKeyUp(N){t.isOpen||e.onKeyUp&&e.onKeyUp(N)}}),labelProps:{...c,onClick:()=>{S.focusFirst()}},fieldProps:{...f,id:i,[Rn]:"presentation","aria-describedby":x,value:t.value,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[hu]:t,autoFocus:e.autoFocus,name:e.name},descriptionProps:p,errorMessageProps:h,buttonProps:{...D,id:n,"aria-haspopup":"dialog","aria-label":a.format("calendar"),"aria-labelledby":`${n} ${g}`,"aria-describedby":x,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:r,"aria-labelledby":`${n} ${g}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function tD(e){return e&&e.__esModule?e.default:e}function uD(){let{locale:e}=de(),t=kc(tD(dr),"@react-aria/datepicker");return o.useMemo(()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new nD(e,t)}},[e,t])}class nD{of(t){return this.dictionary.getStringForLocale(t,this.locale)}constructor(t,u){this.locale=t,this.dictionary=u}}function rD(e,t,u){let n=o.useRef(""),{locale:r,direction:i}=de(),a=uD(),{ariaLabel:l,ariaLabelledBy:s,ariaDescribedBy:d,focusManager:c}=xh.get(t),f=e.isPlaceholder?"":e.text,p=o.useMemo(()=>t.dateFormatter.resolvedOptions(),[t.dateFormatter]),h=kt({month:"long",timeZone:p.timeZone}),m=kt({hour:"numeric",hour12:p.hour12,timeZone:p.timeZone});if(e.type==="month"&&!e.isPlaceholder){let R=h.format(t.dateValue);f=R!==f?`${f} – ${R}`:R}else e.type==="hour"&&!e.isPlaceholder&&(f=m.format(t.dateValue));let{spinButtonProps:g}=sv({value:e.value,textValue:f,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{n.current="",t.increment(e.type)},onDecrement:()=>{n.current="",t.decrement(e.type)},onIncrementPage:()=>{n.current="",t.incrementPage(e.type)},onDecrementPage:()=>{n.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{n.current="",e.maxValue!==void 0&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{n.current="",e.minValue!==void 0&&t.setSegment(e.type,e.minValue)}}),$=o.useMemo(()=>new e4(r,{maximumFractionDigits:0}),[r]),v=()=>{if(e.text===e.placeholder&&c.focusPrevious(),$.isValidPartialNumber(e.text)&&!t.isReadOnly&&!e.isPlaceholder){let R=e.text.slice(0,-1),z=$.parse(R);R=z===0?"":R,R.length===0||z===0?t.clearSegment(e.type):t.setSegment(e.type,z),n.current=R}else e.type==="dayPeriod"&&t.clearSegment(e.type)},C=R=>{if(R.key==="a"&&(wt()?R.metaKey:R.ctrlKey)&&R.preventDefault(),!(R.ctrlKey||R.metaKey||R.shiftKey||R.altKey))switch(R.key){case"Backspace":case"Delete":R.preventDefault(),R.stopPropagation(),v();break}},{startsWith:D}=t4({sensitivity:"base"}),x=kt({hour:"numeric",hour12:!0}),k=o.useMemo(()=>{let R=new Date;return R.setHours(0),x.formatToParts(R).find(z=>z.type==="dayPeriod").value},[x]),S=o.useMemo(()=>{let R=new Date;return R.setHours(12),x.formatToParts(R).find(z=>z.type==="dayPeriod").value},[x]),F=kt({year:"numeric",era:"narrow",timeZone:"UTC"}),T=o.useMemo(()=>{if(e.type!=="era")return[];let R=ve(new Te(1,1,1),t.calendar),z=t.calendar.getEras().map(G=>{let Y=R.set({year:1,month:1,day:1,era:G}).toDate("UTC"),ae=F.formatToParts(Y).find(oe=>oe.type==="era").value;return{era:G,formatted:ae}}),U=iD(z.map(G=>G.formatted));if(U)for(let G of z)G.formatted=G.formatted.slice(U);return z},[F,t.calendar,e.type]),N=R=>{if(t.isDisabled||t.isReadOnly)return;let z=n.current+R;switch(e.type){case"dayPeriod":if(D(k,R))t.setSegment("dayPeriod",0);else if(D(S,R))t.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let U=T.find(G=>D(G.formatted,R));U&&(t.setSegment("era",U.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!$.isValidPartialNumber(z))return;let U=$.parse(z),G=U,Y=e.minValue===0;if(e.type==="hour"&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":U>11&&(G=$.parse(R));break;case"h12":Y=!1,U>12&&(G=$.parse(R));break}e.value!==void 0&&e.value>=12&&U>1&&(U+=12)}else e.maxValue!==void 0&&U>e.maxValue&&(G=$.parse(R));if(isNaN(U))return;let pe=G!==0||Y;pe&&t.setSegment(e.type,G),e.maxValue!==void 0&&(+(U+"0")>e.maxValue||z.length>=String(e.maxValue).length)?(n.current="",pe&&c.focusNext()):n.current=z;break}}},w=()=>{n.current="",u.current&&je(u.current,{containingElement:Me(u.current)});let R=window.getSelection();R==null||R.collapse(u.current)},y=o.useRef(typeof document<"u"?document:null);at(y,"selectionchange",()=>{var R;let z=window.getSelection();z!=null&&z.anchorNode&&(!((R=u.current)===null||R===void 0)&&R.contains(z==null?void 0:z.anchorNode))&&z.collapse(u.current)});let A=o.useRef("");at(u,"beforeinput",R=>{if(u.current)switch(R.preventDefault(),R.inputType){case"deleteContentBackward":case"deleteContentForward":$.isValidPartialNumber(e.text)&&!t.isReadOnly&&v();break;case"insertCompositionText":A.current=u.current.textContent,u.current.textContent=u.current.textContent;break;default:R.data!=null&&N(R.data);break}}),at(u,"input",R=>{let{inputType:z,data:U}=R;switch(z){case"insertCompositionText":u.current&&(u.current.textContent=A.current),U!=null&&(D(k,U)||D(S,U))&&N(U);break}}),J(()=>{let R=u.current;return()=>{document.activeElement===R&&(c.focusPrevious()||c.focusNext())}},[u,c]);let I=Qn()||e.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},K=o.useMemo(()=>t.segments.find(R=>R.isEditable),[t.segments]);e!==K&&!t.isInvalid&&(d=void 0);let L=ie(),B=!t.isDisabled&&!t.isReadOnly&&e.isEditable,E=e.type==="literal"?"":a.of(e.type),P=At({"aria-label":`${E}${l?`, ${l}`:""}${s?", ":""}`,"aria-labelledby":s});if(e.type==="literal")return{segmentProps:{"aria-hidden":!0}};let M={caretColor:"transparent"};if(i==="rtl"){M.unicodeBidi="embed";let R=p[e.type];(R==="numeric"||R==="2-digit")&&(M.direction="ltr")}return{segmentProps:V(g,P,{id:L,...I,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":d,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:B,suppressContentEditableWarning:B,spellCheck:B?"false":void 0,autoCorrect:B?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:B?"next":void 0,inputMode:t.isDisabled||e.type==="dayPeriod"||e.type==="era"||!B?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:C,onFocus:w,style:M,onPointerDown(R){R.stopPropagation()},onMouseDown(R){R.stopPropagation()}})}}function iD(e){e.sort();let t=e[0],u=e[e.length-1];for(let n=0;n<t.length;n++)if(t[n]!==u[n])return n;return 0}function aD(e){return e&&e.__esModule?e.default:e}function lD(e,t,u){var n,r,i;let a=xe(aD(dr),"@react-aria/datepicker"),{isInvalid:l,validationErrors:s,validationDetails:d}=t.displayValidation,{labelProps:c,fieldProps:f,descriptionProps:p,errorMessageProps:h}=gu({...e,labelElementType:"span",isInvalid:l,errorMessage:e.errorMessage||s}),m=f["aria-labelledby"]||f.id,{locale:g}=de(),$=t.formatValue(g,{month:"long"}),v=$?a.format("selectedRangeDescription",{startDate:$.start,endDate:$.end}):"",C=It(v),D={"aria-label":a.format("startDate"),"aria-labelledby":m},x={"aria-label":a.format("endDate"),"aria-labelledby":m},k=ie(),S=ie(),F=no(t,u),T=[C["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,N=o.useMemo(()=>ar(u,{accept:P=>P.id!==k}),[u,k]),w={[Ch]:N,[Rn]:"presentation","aria-describedby":T,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,granularity:e.granularity,shouldForceLeadingZeros:e.shouldForceLeadingZeros,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior},y=H(e),A=o.useRef(!1),{focusWithinProps:I}=yt({...e,isDisabled:t.isOpen,onBlurWithin:P=>{let M=document.getElementById(S);if(!(M!=null&&M.contains(P.relatedTarget))){var R,z;A.current=!1,(R=e.onBlur)===null||R===void 0||R.call(e,P),(z=e.onFocusChange)===null||z===void 0||z.call(e,!1)}},onFocusWithin:P=>{if(!A.current){var M,R;A.current=!0,(M=e.onFocus)===null||M===void 0||M.call(e,P),(R=e.onFocusChange)===null||R===void 0||R.call(e,!0)}}}),K=o.useRef(ou),L=o.useRef(ou);var B,E;return{groupProps:V(y,F,f,C,I,{role:"group","aria-disabled":e.isDisabled||null,"aria-describedby":T,onKeyDown(P){t.isOpen||e.onKeyDown&&e.onKeyDown(P)},onKeyUp(P){t.isOpen||e.onKeyUp&&e.onKeyUp(P)}}),labelProps:{...c,onClick:()=>{N.focusFirst()}},buttonProps:{...C,id:k,"aria-haspopup":"dialog","aria-label":a.format("calendar"),"aria-labelledby":`${k} ${m}`,"aria-describedby":T,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:S,"aria-labelledby":`${k} ${m}`},startFieldProps:{...D,...w,value:(B=(n=t.value)===null||n===void 0?void 0:n.start)!==null&&B!==void 0?B:null,onChange:P=>t.setDateTime("start",P),autoFocus:e.autoFocus,name:e.startName,[hu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(P){K.current=P,t.updateValidation(Zn(P,L.current))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},endFieldProps:{...x,...w,value:(E=(r=t.value)===null||r===void 0?void 0:r.end)!==null&&E!==void 0?E:null,onChange:P=>t.setDateTime("end",P),name:e.endName,[hu]:{realtimeValidation:t.realtimeValidation,displayValidation:t.displayValidation,updateValidation(P){L.current=P,t.updateValidation(Zn(K.current,P))},resetValidation:t.resetValidation,commitValidation:t.commitValidation}},descriptionProps:p,errorMessageProps:h,calendarProps:{autoFocus:!0,value:!((i=t.dateRange)===null||i===void 0)&&i.start&&t.dateRange.end?t.dateRange:null,onChange:t.setDateRange,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,allowsNonContiguousRanges:e.allowsNonContiguousRanges,defaultFocusedValue:t.dateRange?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:typeof e.errorMessage=="function"?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" ")},isInvalid:l,validationErrors:s,validationDetails:d}}function oD(e,t){let{role:u="dialog"}=e,n=dt();n=e["aria-label"]?void 0:n;let r=o.useRef(!1);return o.useEffect(()=>{if(t.current&&!t.current.contains(document.activeElement)){Ee(t.current);let i=setTimeout(()=>{document.activeElement===t.current&&(r.current=!0,t.current&&(t.current.blur(),Ee(t.current)),r.current=!1)},500);return()=>{clearTimeout(i)}}},[t]),ep(),{dialogProps:{...H(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:i=>{r.current&&i.stopPropagation()}},titleProps:{id:n}}}function sD(e,t,u){let{isDisabled:n}=e,r=ie(),i=ie(),l=!Tt()&&"onbeforematch"in document.body,s=o.useRef(null),d=o.useCallback(()=>{s.current=requestAnimationFrame(()=>{u.current&&u.current.setAttribute("hidden","until-found")}),st.flushSync(()=>{t.toggle()})},[u,t]);return at(u,"beforematch",l?d:null),J(()=>{s.current&&cancelAnimationFrame(s.current),l&&u.current&&!n&&(t.isExpanded?u.current.removeAttribute("hidden"):u.current.setAttribute("hidden","until-found"))},[n,u,t.isExpanded,l]),o.useEffect(()=>()=>{s.current&&cancelAnimationFrame(s.current)},[]),{buttonProps:{id:r,"aria-expanded":t.isExpanded,"aria-controls":i,onPress:c=>{!n&&c.pointerType!=="keyboard"&&t.toggle()},isDisabled:n,onPressStart(c){c.pointerType==="keyboard"&&!n&&t.toggle()}},panelProps:{id:i,role:"group","aria-labelledby":r,"aria-hidden":!t.isExpanded,hidden:l?!0:!t.isExpanded}}}var Ue=function(e){return e[e.none=0]="none",e[e.cancel=0]="cancel",e[e.move=1]="move",e[e.copy=2]="copy",e[e.link=4]="link",e[e.all=7]="all",e}({});const kh={...Ue,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},dD=ro(kh);dD[7]="all";ro(Ue);const Bh={none:"cancel",link:"link",copy:"copy",move:"move"},ga=ro(Bh);function ro(e){let t={};for(let u in e)t[e[u]]=u;return t}const cD=new Set(["text/plain","text/uri-list","text/html"]),ai="application/vnd.react-aria.items+json",li="application/octet-stream",fD=Symbol();function pD(e){return e||(e="virtual"),e==="pointer"&&(e="virtual"),e==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(e="touch"),e}function hD(){return pD(wl())}function Ns(e,t){let u=new Map,n=!1,r=[];for(let i of t){let a=Object.keys(i);a.length>1&&(n=!0);let l={};for(let s of a){let d=u.get(s);d?n=!0:(d=[],u.set(s,d));let c=i[s];l[s]=c,d.push(c)}r.push(l)}for(let[i,a]of u)if(cD.has(i)){let l=a.join(`
24
- `);e.items.add(l,i)}else e.items.add(a[0],i);if(n){let i=JSON.stringify(r);e.items.add(i,ai)}}class Br{has(t){return this.includesUnknownTypes||t===fD&&this.types.has(li)?!0:typeof t=="string"&&this.types.has(t)}constructor(t){this.types=new Set;let u=!1;for(let n of t.items)n.type!==ai&&(n.kind==="file"&&(u=!0),n.type?this.types.add(n.type):this.types.add(li));this.includesUnknownTypes=!u&&t.types.includes("Files")}}function Ph(e){let t=[];if(!e)return t;let u=!1;if(e.types.includes(ai))try{let n=e.getData(ai),r=JSON.parse(n);for(let i of r)t.push({kind:"text",types:new Set(Object.keys(i)),getText:a=>Promise.resolve(i[a])});u=!0}catch{}if(!u){let n=new Map;for(let r of e.items)if(r.kind==="string")n.set(r.type||li,e.getData(r.type));else if(r.kind==="file")if(typeof r.webkitGetAsEntry=="function"){let i=r.webkitGetAsEntry();if(!i)continue;i.isFile?t.push(ul(r.getAsFile())):i.isDirectory&&t.push(Sh(i))}else t.push(ul(r.getAsFile()));n.size>0&&t.push({kind:"text",types:new Set(n.keys()),getText:r=>Promise.resolve(n.get(r))})}return t}function mD(e){return typeof e.text=="function"?e.text():new Promise((t,u)=>{let n=new FileReader;n.onload=()=>{t(n.result)},n.onerror=u,n.readAsText(e)})}function ul(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||li,name:e.name,getText:()=>mD(e),getFile:()=>Promise.resolve(e)}}function Sh(e){return{kind:"directory",name:e.name,getEntries:()=>bD(e)}}async function*bD(e){let t=e.createReader(),u;do{u=await new Promise((n,r)=>{t.readEntries(n,r)});for(let n of u)if(n.isFile){let r=await gD(n);yield ul(r)}else n.isDirectory&&(yield Sh(n))}while(u.length>0)}function gD(e){return new Promise((t,u)=>e.file(t,u))}let wh={draggingKeys:new Set};function $D(e){wh=e}let Vs=Ue.none,_s=new Map,js=null,Ls=new Set;function yD(e){return _s.set(e.element,e),()=>{_s.delete(e.element)}}function vD(){let[e,t]=o.useState(js);return o.useEffect(()=>{let u=()=>t(js);return Ls.add(u),()=>{Ls.delete(u)}},[]),e}var Ah={};Ah={dragDescriptionKeyboard:"اضغط Enter لبدء السحب.",dragDescriptionKeyboardAlt:"اضغط على Alt + Enter لبدء السحب.",dragDescriptionLongPress:"اضغط باستمرار لبدء السحب.",dragDescriptionTouch:"اضغط مرتين لبدء السحب.",dragDescriptionVirtual:"انقر لبدء السحب.",dragItem:e=>`اسحب ${e.itemText}`,dragSelectedItems:(e,t)=>`اسحب ${t.plural(e.count,{one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عناصر محددة`})}`,dragSelectedKeyboard:(e,t)=>`اضغط على Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedKeyboardAlt:(e,t)=>`اضغط على مفتاحي Alt + Enter للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragSelectedLongPress:(e,t)=>`اضغط باستمرار للسحب ${t.plural(e.count,{one:"عدد العناصر المختارة",other:"عدد العناصر المختارة"})}.`,dragStartedKeyboard:"بدأ السحب. اضغط Tab للانتقال إلى موضع الإفلات، ثم اضغط Enter للإفلات، أو اضغط Escape للإلغاء.",dragStartedTouch:"بدأ السحب. انتقل إلى موضع الإفلات، ثم اضغط مرتين للإفلات.",dragStartedVirtual:"بدأ السحب. انتقل إلى مكان الإفلات، ثم انقر أو اضغط Enter للإفلات.",dropCanceled:"تم إلغاء الإفلات.",dropComplete:"اكتمل الإفلات.",dropDescriptionKeyboard:"اضغط Enter للإفلات. اضغط Escape لإلغاء السحب.",dropDescriptionTouch:"اضغط مرتين للإفلات.",dropDescriptionVirtual:"انقر للإفلات.",dropIndicator:"مؤشر الإفلات",dropOnItem:e=>`إفلات ${e.itemText}`,dropOnRoot:"الإفلات",endDragKeyboard:"السحب. اضغط Enter لإلغاء السحب.",endDragTouch:"السحب. اضغط مرتين لإلغاء السحب.",endDragVirtual:"السحب. انقر لإلغاء السحب.",insertAfter:e=>`أدخل بعد ${e.itemText}`,insertBefore:e=>`أدخل قبل ${e.itemText}`,insertBetween:e=>`أدخل بين ${e.beforeItemText} و ${e.afterItemText}`};var Fh={};Fh={dragDescriptionKeyboard:"Натиснете „Enter“, за да започнете да плъзгате.",dragDescriptionKeyboardAlt:"Натиснете Alt + Enter, за да започнете да плъзгате.",dragDescriptionLongPress:"Натиснете продължително, за да започнете да плъзгате.",dragDescriptionTouch:"Натиснете двукратно, за да започнете да плъзгате.",dragDescriptionVirtual:"Щракнете, за да започнете да плъзгате.",dragItem:e=>`Плъзни ${e.itemText}`,dragSelectedItems:(e,t)=>`Плъзни ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елемента`})}`,dragSelectedKeyboard:(e,t)=>`Натиснете Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натиснете Alt и Enter, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragSelectedLongPress:(e,t)=>`Натиснете продължително, за да плъзнете ${t.plural(e.count,{one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,dragStartedKeyboard:"Започна плъзгане. Натиснете „Tab“, за да се придвижите до целта, след което натиснете „Enter“ за пускане или натиснете „Escape“ за отмяна.",dragStartedTouch:"Започна плъзгане. Придвижете се до целта, след което натиснете двукратно, за да пуснете.",dragStartedVirtual:"Започна плъзгане. Придвижете се до целта, след което щракнете или натиснете „Enter“ за пускане.",dropCanceled:"Пускането е отменено.",dropComplete:"Пускането е завършено.",dropDescriptionKeyboard:"Натиснете „Enter“ за пускане. Натиснете „Escape“ за отмяна на плъзгането.",dropDescriptionTouch:"Натиснете двукратно за пускане.",dropDescriptionVirtual:"Щракнете за пускане.",dropIndicator:"индикатор за пускане",dropOnItem:e=>`Пусни върху ${e.itemText}`,dropOnRoot:"Пусни върху",endDragKeyboard:"Плъзгане. Натиснете „Enter“ за отмяна на плъзгането.",endDragTouch:"Плъзгане. Натиснете двукратно за отмяна на плъзгането.",endDragVirtual:"Плъзгане. Щракнете за отмяна.",insertAfter:e=>`Вмъкни след ${e.itemText}`,insertBefore:e=>`Вмъкни преди ${e.itemText}`,insertBetween:e=>`Вмъкни между ${e.beforeItemText} и ${e.afterItemText}`};var Th={};Th={dragDescriptionKeyboard:"Stisknutím klávesy Enter začnete s přetahováním.",dragDescriptionKeyboardAlt:"Stisknutím Alt + Enter zahájíte přetahování.",dragDescriptionLongPress:"Dlouhým stisknutím zahájíte přetahování.",dragDescriptionTouch:"Poklepáním začnete s přetahováním.",dragDescriptionVirtual:"Kliknutím začnete s přetahováním.",dragItem:e=>`Přetáhnout ${e.itemText}`,dragSelectedItems:(e,t)=>`Přetáhnout ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,few:()=>`${t.number(e.count)} vybrané položky`,other:()=>`${t.number(e.count)} vybraných položek`})}`,dragSelectedKeyboard:(e,t)=>`Stisknutím klávesy Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stisknutím Alt + Enter přetáhněte ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragSelectedLongPress:(e,t)=>`Dlouhým stisknutím přetáhnete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybranou položku`,other:()=>`${t.number(e.count)} vybrané položky`})}.`,dragStartedKeyboard:"Začněte s přetahováním. Po stisknutí klávesy Tab najděte požadovaný cíl a stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dragStartedTouch:"Začněte s přetahováním. Najděte požadovaný cíl a poklepáním přetažení dokončete.",dragStartedVirtual:"Začněte s přetahováním. Najděte požadovaný cíl a kliknutím nebo stisknutím klávesy Enter přetažení dokončete.",dropCanceled:"Přetažení bylo zrušeno.",dropComplete:"Přetažení bylo dokončeno.",dropDescriptionKeyboard:"Stisknutím klávesy Enter přetažení dokončete nebo stisknutím klávesy Esc akci zrušte.",dropDescriptionTouch:"Poklepáním přetažení dokončete.",dropDescriptionVirtual:"Kliknutím objekt přetáhněte.",dropIndicator:"indikátor přetažení",dropOnItem:e=>`Přetáhnout na ${e.itemText}`,dropOnRoot:"Přetáhnout na",endDragKeyboard:"Probíhá přetahování. Stisknutím klávesy Enter přetažení zrušíte.",endDragTouch:"Probíhá přetahování. Poklepáním přetažení zrušíte.",endDragVirtual:"Probíhá přetahování. Kliknutím přetažení zrušíte.",insertAfter:e=>`Vložit za ${e.itemText}`,insertBefore:e=>`Vložit před ${e.itemText}`,insertBetween:e=>`Vložit mezi ${e.beforeItemText} a ${e.afterItemText}`};var Ih={};Ih={dragDescriptionKeyboard:"Tryk på Enter for at starte med at trække.",dragDescriptionKeyboardAlt:"Tryk på Alt + Enter for at starte med at trække.",dragDescriptionLongPress:"Tryk længe for at starte med at trække.",dragDescriptionTouch:"Dobbelttryk for at starte med at trække.",dragDescriptionVirtual:"Klik for at starte med at trække.",dragItem:e=>`Træk ${e.itemText}`,dragSelectedItems:(e,t)=>`Træk ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}`,dragSelectedKeyboard:(e,t)=>`Tryk på Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryk på Alt + Enter for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Tryk længe for at trække ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgte element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Startet med at trække. Tryk på Tab for at gå til et slip-mål, tryk derefter på Enter for at slippe, eller tryk på Escape for at annullere.",dragStartedTouch:"Startet med at trække. Gå til et slip-mål, og dobbelttryk derefter for at slippe.",dragStartedVirtual:"Startet med at trække. Gå til et slip-mål, og klik eller tryk derefter på enter for at slippe.",dropCanceled:"Slip annulleret.",dropComplete:"Slip fuldført.",dropDescriptionKeyboard:"Tryk på Enter for at slippe. Tryk på Escape for at annullere trækning.",dropDescriptionTouch:"Dobbelttryk for at slippe.",dropDescriptionVirtual:"Klik for at slippe.",dropIndicator:"slip-indikator",dropOnItem:e=>`Slip på ${e.itemText}`,dropOnRoot:"Slip på",endDragKeyboard:"Trækning. Tryk på enter for at annullere træk.",endDragTouch:"Trækning. Dobbelttryk for at annullere træk.",endDragVirtual:"Trækning. Klik for at annullere trækning.",insertAfter:e=>`Indsæt efter ${e.itemText}`,insertBefore:e=>`Indsæt før ${e.itemText}`,insertBetween:e=>`Indsæt mellem ${e.beforeItemText} og ${e.afterItemText}`};var Rh={};Rh={dragDescriptionKeyboard:"Drücken Sie die Eingabetaste, um den Ziehvorgang zu starten.",dragDescriptionKeyboardAlt:"Alt + Eingabe drücken, um den Ziehvorgang zu starten.",dragDescriptionLongPress:"Lang drücken, um mit dem Ziehen zu beginnen.",dragDescriptionTouch:"Tippen Sie doppelt, um den Ziehvorgang zu starten.",dragDescriptionVirtual:"Zum Starten des Ziehvorgangs klicken.",dragItem:e=>`${e.itemText} ziehen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Objekt`,other:()=>`${t.number(e.count)} ausgewählte Objekte`})} ziehen`,dragSelectedKeyboard:(e,t)=>`Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedKeyboardAlt:(e,t)=>`Alt + Eingabetaste drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragSelectedLongPress:(e,t)=>`Lang drücken, um ${t.plural(e.count,{one:()=>`${t.number(e.count)} ausgewähltes Element`,other:()=>`${t.number(e.count)} ausgewählte Elemente`})} zu ziehen.`,dragStartedKeyboard:"Ziehvorgang gestartet. Drücken Sie die Tabulatortaste, um zu einem Ablegeziel zu navigieren und drücken Sie dann die Eingabetaste, um das Objekt abzulegen, oder Escape, um den Vorgang abzubrechen.",dragStartedTouch:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und tippen Sie doppelt, um das Objekt abzulegen.",dragStartedVirtual:"Ziehvorgang gestartet. Navigieren Sie zu einem Ablegeziel und klicken Sie oder drücken Sie die Eingabetaste, um das Objekt abzulegen.",dropCanceled:"Ablegen abgebrochen.",dropComplete:"Ablegen abgeschlossen.",dropDescriptionKeyboard:"Drücken Sie die Eingabetaste, um das Objekt abzulegen. Drücken Sie Escape, um den Vorgang abzubrechen.",dropDescriptionTouch:"Tippen Sie doppelt, um das Objekt abzulegen.",dropDescriptionVirtual:"Zum Ablegen klicken.",dropIndicator:"Ablegeanzeiger",dropOnItem:e=>`Auf ${e.itemText} ablegen`,dropOnRoot:"Ablegen auf",endDragKeyboard:"Ziehvorgang läuft. Drücken Sie die Eingabetaste, um den Vorgang abzubrechen.",endDragTouch:"Ziehvorgang läuft. Tippen Sie doppelt, um den Vorgang abzubrechen.",endDragVirtual:"Ziehvorgang läuft. Klicken Sie, um den Vorgang abzubrechen.",insertAfter:e=>`Nach ${e.itemText} einfügen`,insertBefore:e=>`Vor ${e.itemText} einfügen`,insertBetween:e=>`Zwischen ${e.beforeItemText} und ${e.afterItemText} einfügen`};var Kh={};Kh={dragDescriptionKeyboard:"Πατήστε Enter για έναρξη της μεταφοράς.",dragDescriptionKeyboardAlt:"Πατήστε Alt + Enter για έναρξη της μεταφοράς.",dragDescriptionLongPress:"Πατήστε παρατεταμένα για να ξεκινήσετε τη μεταφορά.",dragDescriptionTouch:"Πατήστε δύο φορές για έναρξη της μεταφοράς.",dragDescriptionVirtual:"Κάντε κλικ για να ξεκινήσετε τη μεταφορά.",dragItem:e=>`Μεταφορά ${e.itemText}`,dragSelectedItems:(e,t)=>`Μεταφορά σε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}`,dragSelectedKeyboard:(e,t)=>`Πατήστε Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Πατήστε Alt + Enter για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragSelectedLongPress:(e,t)=>`Πατήστε παρατεταμένα για να σύρετε ${t.plural(e.count,{one:()=>`${t.number(e.count)} επιλεγμένο στοιχείο`,other:()=>`${t.number(e.count)} επιλεγμένα στοιχεία`})}.`,dragStartedKeyboard:"Η μεταφορά ξεκίνησε. Πατήστε το πλήκτρο Tab για να μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε Enter για απόθεση ή πατήστε Escape για ακύρωση.",dragStartedTouch:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, πατήστε δύο φορές για απόθεση.",dragStartedVirtual:"Η μεταφορά ξεκίνησε. Μεταβείτε σε έναν προορισμό απόθεσης και, στη συνέχεια, κάντε κλικ ή πατήστε Enter για απόθεση.",dropCanceled:"Η απόθεση ακυρώθηκε.",dropComplete:"Η απόθεση ολοκληρώθηκε.",dropDescriptionKeyboard:"Πατήστε Enter για απόθεση. Πατήστε Escape για ακύρωση της μεταφοράς.",dropDescriptionTouch:"Πατήστε δύο φορές για απόθεση.",dropDescriptionVirtual:"Κάντε κλικ για απόθεση.",dropIndicator:"δείκτης απόθεσης",dropOnItem:e=>`Απόθεση σε ${e.itemText}`,dropOnRoot:"Απόθεση σε",endDragKeyboard:"Μεταφορά σε εξέλιξη. Πατήστε Enter για ακύρωση της μεταφοράς.",endDragTouch:"Μεταφορά σε εξέλιξη. Πατήστε δύο φορές για ακύρωση της μεταφοράς.",endDragVirtual:"Μεταφορά σε εξέλιξη. Κάντε κλικ για ακύρωση της μεταφοράς.",insertAfter:e=>`Εισαγωγή μετά από ${e.itemText}`,insertBefore:e=>`Εισαγωγή πριν από ${e.itemText}`,insertBetween:e=>`Εισαγωγή μεταξύ ${e.beforeItemText} και ${e.afterItemText}`};var zh={};zh={dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`};var Mh={};Mh={dragDescriptionKeyboard:"Pulse Intro para empezar a arrastrar.",dragDescriptionKeyboardAlt:"Pulse Intro para empezar a arrastrar.",dragDescriptionLongPress:"Mantenga pulsado para comenzar a arrastrar.",dragDescriptionTouch:"Pulse dos veces para iniciar el arrastre.",dragDescriptionVirtual:"Haga clic para iniciar el arrastre.",dragItem:e=>`Arrastrar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}`,dragSelectedKeyboard:(e,t)=>`Pulse Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pulse Alt + Intro para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragSelectedLongPress:(e,t)=>`Mantenga pulsado para arrastrar ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,dragStartedKeyboard:"Se ha empezado a arrastrar. Pulse el tabulador para ir al público destinatario donde se vaya a colocar y, a continuación, pulse Intro para soltar, o pulse Escape para cancelar.",dragStartedTouch:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, pulse dos veces para soltar.",dragStartedVirtual:"Se ha empezado a arrastrar. Vaya al público destinatario donde se vaya a colocar y, a continuación, haga clic o pulse Intro para soltar.",dropCanceled:"Se ha cancelado la colocación.",dropComplete:"Colocación finalizada.",dropDescriptionKeyboard:"Pulse Intro para soltar. Pulse Escape para cancelar el arrastre.",dropDescriptionTouch:"Pulse dos veces para soltar.",dropDescriptionVirtual:"Haga clic para soltar.",dropIndicator:"indicador de colocación",dropOnItem:e=>`Soltar en ${e.itemText}`,dropOnRoot:"Soltar en",endDragKeyboard:"Arrastrando. Pulse Intro para cancelar el arrastre.",endDragTouch:"Arrastrando. Pulse dos veces para cancelar el arrastre.",endDragVirtual:"Arrastrando. Haga clic para cancelar el arrastre.",insertAfter:e=>`Insertar después de ${e.itemText}`,insertBefore:e=>`Insertar antes de ${e.itemText}`,insertBetween:e=>`Insertar entre ${e.beforeItemText} y ${e.afterItemText}`};var Nh={};Nh={dragDescriptionKeyboard:"Lohistamise alustamiseks vajutage klahvi Enter.",dragDescriptionKeyboardAlt:"Lohistamise alustamiseks vajutage klahvikombinatsiooni Alt + Enter.",dragDescriptionLongPress:"Vajutage pikalt lohistamise alustamiseks.",dragDescriptionTouch:"Topeltpuudutage lohistamise alustamiseks.",dragDescriptionVirtual:"Klõpsake lohistamise alustamiseks.",dragItem:e=>`Lohista ${e.itemText}`,dragSelectedItems:(e,t)=>`Lohista ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksust`,other:()=>`${t.number(e.count)} valitud üksust`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks vajutage sisestusklahvi Enter.`,dragSelectedKeyboardAlt:(e,t)=>`Lohistamiseks vajutage klahvikombinatsiooni Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} jaoks.`,dragSelectedLongPress:(e,t)=>`Pikk vajutus ${t.plural(e.count,{one:()=>`${t.number(e.count)} valitud üksuse`,other:()=>`${t.number(e.count)} valitud üksuse`})} lohistamiseks.`,dragStartedKeyboard:"Alustati lohistamist. Kukutamise sihtmärgi juurde navigeerimiseks vajutage klahvi Tab, seejärel vajutage kukutamiseks klahvi Enter või loobumiseks klahvi Escape.",dragStartedTouch:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja topeltpuudutage kukutamiseks.",dragStartedVirtual:"Alustati lohistamist. Navigeerige kukutamise sihtmärgi juurde ja kukutamiseks klõpsake või vajutage klahvi Enter.",dropCanceled:"Lohistamisest loobuti.",dropComplete:"Lohistamine on tehtud.",dropDescriptionKeyboard:"Kukutamiseks vajutage klahvi Enter. Lohistamisest loobumiseks vajutage klahvi Escape.",dropDescriptionTouch:"Kukutamiseks topeltpuudutage.",dropDescriptionVirtual:"Kukutamiseks klõpsake.",dropIndicator:"lohistamise indikaator",dropOnItem:e=>`Kukuta asukohta ${e.itemText}`,dropOnRoot:"Kukuta asukohta",endDragKeyboard:"Lohistamine. Lohistamisest loobumiseks vajutage klahvi Enter.",endDragTouch:"Lohistamine. Lohistamisest loobumiseks topeltpuudutage.",endDragVirtual:"Lohistamine. Lohistamisest loobumiseks klõpsake.",insertAfter:e=>`Sisesta ${e.itemText} järele`,insertBefore:e=>`Sisesta ${e.itemText} ette`,insertBetween:e=>`Sisesta ${e.beforeItemText} ja ${e.afterItemText} vahele`};var Vh={};Vh={dragDescriptionKeyboard:"Aloita vetäminen painamalla Enter-näppäintä.",dragDescriptionKeyboardAlt:"Aloita vetäminen painamalla Alt + Enter -näppäinyhdistelmää.",dragDescriptionLongPress:"Aloita vetäminen pitämällä painettuna.",dragDescriptionTouch:"Aloita vetäminen kaksoisnapauttamalla.",dragDescriptionVirtual:"Aloita vetäminen napsauttamalla.",dragItem:e=>`Vedä kohdetta ${e.itemText}`,dragSelectedItems:(e,t)=>`Vedä ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittua kohdetta`,other:()=>`${t.number(e.count)} valittua kohdetta`})}`,dragSelectedKeyboard:(e,t)=>`Vedä painamalla Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Vedä painamalla Alt + Enter ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragSelectedLongPress:(e,t)=>`Vedä pitämällä painettuna ${t.plural(e.count,{one:()=>`${t.number(e.count)} valittu kohde`,other:()=>`${t.number(e.count)} valittua kohdetta`})}.`,dragStartedKeyboard:"Vetäminen aloitettu. Siirry pudotuskohteeseen painamalla sarkainnäppäintä ja sitten pudota painamalla Enter-näppäintä tai peruuta painamalla Escape-näppäintä.",dragStartedTouch:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota kaksoisnapauttamalla.",dragStartedVirtual:"Vetäminen aloitettu. Siirry pudotuskohteeseen ja pudota napsauttamalla tai painamalla Enter-näppäintä.",dropCanceled:"Pudotus peruutettu.",dropComplete:"Pudotus suoritettu.",dropDescriptionKeyboard:"Pudota painamalla Enter-näppäintä. Peruuta vetäminen painamalla Escape-näppäintä.",dropDescriptionTouch:"Pudota kaksoisnapauttamalla.",dropDescriptionVirtual:"Pudota napsauttamalla.",dropIndicator:"pudotuksen ilmaisin",dropOnItem:e=>`Pudota kohteeseen ${e.itemText}`,dropOnRoot:"Pudota kohteeseen",endDragKeyboard:"Vedetään. Peruuta vetäminen painamalla Enter-näppäintä.",endDragTouch:"Vedetään. Peruuta vetäminen kaksoisnapauttamalla.",endDragVirtual:"Vedetään. Peruuta vetäminen napsauttamalla.",insertAfter:e=>`Lisää kohteen ${e.itemText} jälkeen`,insertBefore:e=>`Lisää ennen kohdetta ${e.itemText}`,insertBetween:e=>`Lisää kohteiden ${e.beforeItemText} ja ${e.afterItemText} väliin`};var _h={};_h={dragDescriptionKeyboard:"Appuyez sur Entrée pour commencer le déplacement.",dragDescriptionKeyboardAlt:"Appuyez sur Alt + Entrée pour commencer à faire glisser.",dragDescriptionLongPress:"Appuyez de manière prolongée pour commencer à faire glisser.",dragDescriptionTouch:"Touchez deux fois pour commencer le déplacement.",dragDescriptionVirtual:"Cliquez pour commencer le déplacement.",dragItem:e=>`Déplacer ${e.itemText}`,dragSelectedItems:(e,t)=>`Déplacer ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}`,dragSelectedKeyboard:(e,t)=>`Appuyez sur Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Appuyez sur Alt + Entrée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragSelectedLongPress:(e,t)=>`Appuyez de manière prolongée pour faire glisser ${t.plural(e.count,{one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,dragStartedKeyboard:"Déplacement commencé. Appuyez sur Tabulation pour accéder à une cible de dépôt, puis appuyez sur Entrée pour déposer, ou appuyez sur Échap pour annuler.",dragStartedTouch:"Déplacement commencé. Accédez à une cible de dépôt, puis touchez deux fois pour déposer.",dragStartedVirtual:"Déplacement commencé. Accédez à une cible de dépôt, puis cliquez ou appuyez sur Entrée pour déposer.",dropCanceled:"Dépôt annulé.",dropComplete:"Dépôt terminé.",dropDescriptionKeyboard:"Appuyez sur Entrée pour déposer. Appuyez sur Échap pour annuler le déplacement.",dropDescriptionTouch:"Touchez deux fois pour déposer.",dropDescriptionVirtual:"Cliquez pour déposer.",dropIndicator:"indicateur de dépôt",dropOnItem:e=>`Déposer sur ${e.itemText}`,dropOnRoot:"Déposer sur",endDragKeyboard:"Déplacement. Appuyez sur Entrée pour annuler le déplacement.",endDragTouch:"Déplacement. Touchez deux fois pour annuler le déplacement.",endDragVirtual:"Déplacement. Cliquez pour annuler le déplacement.",insertAfter:e=>`Insérer après ${e.itemText}`,insertBefore:e=>`Insérer avant ${e.itemText}`,insertBetween:e=>`Insérer entre ${e.beforeItemText} et ${e.afterItemText}`};var jh={};jh={dragDescriptionKeyboard:"הקש על Enter כדי להתחיל לגרור.",dragDescriptionKeyboardAlt:"הקש Alt + Enter כדי להתחיל לגרור.",dragDescriptionLongPress:"לחץ לחיצה ארוכה כדי להתחיל לגרור.",dragDescriptionTouch:"הקש פעמיים כדי להתחיל בגרירה.",dragDescriptionVirtual:"לחץ כדי להתחיל לגרור.",dragItem:e=>`גרור את ${e.itemText}`,dragSelectedItems:(e,t)=>`גרור ${t.plural(e.count,{one:()=>`פריט נבחר ${t.number(e.count)}`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}`,dragSelectedKeyboard:(e,t)=>`הקש על Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedKeyboardAlt:(e,t)=>`הקש Alt + Enter כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragSelectedLongPress:(e,t)=>`לחץ לחיצה ארוכה כדי לגרור ${t.plural(e.count,{one:()=>`${t.number(e.count)} פריט שנבחר`,other:()=>`${t.number(e.count)} פריטים שנבחרו`})}.`,dragStartedKeyboard:"התחלת לגרור. הקש על Tab כדי לנווט לנקודת הגרירה ולאחר מכן הקש על Enter כדי לשחרר או על Escape כדי לבטל.",dragStartedTouch:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן הקש פעמיים כדי לשחרר.",dragStartedVirtual:"התחלת לגרור. נווט לנקודת השחרור ולאחר מכן לחץ או הקש על Enter כדי לשחרר.",dropCanceled:"השחרור בוטל.",dropComplete:"השחרור הושלם.",dropDescriptionKeyboard:"הקש על Enter כדי לשחרר. הקש על Escape כדי לבטל את הגרירה.",dropDescriptionTouch:"הקש פעמיים כדי לשחרר.",dropDescriptionVirtual:"לחץ כדי לשחרר.",dropIndicator:"מחוון שחרור",dropOnItem:e=>`שחרר על ${e.itemText}`,dropOnRoot:"שחרר על",endDragKeyboard:"גורר. הקש על Enter כדי לבטל את הגרירה.",endDragTouch:"גורר. הקש פעמיים כדי לבטל את הגרירה.",endDragVirtual:"גורר. לחץ כדי לבטל את הגרירה.",insertAfter:e=>`הוסף אחרי ${e.itemText}`,insertBefore:e=>`הוסף לפני ${e.itemText}`,insertBetween:e=>`הוסף בין ${e.beforeItemText} לבין ${e.afterItemText}`};var Lh={};Lh={dragDescriptionKeyboard:"Pritisnite Enter da biste počeli povlačiti.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter za početak povlačenja.",dragDescriptionLongPress:"Dugo pritisnite za početak povlačenja.",dragDescriptionTouch:"Dvaput dodirnite da biste počeli povlačiti.",dragDescriptionVirtual:"Kliknite da biste počeli povlačiti.",dragItem:e=>`Povucite stavku ${e.itemText}`,dragSelectedItems:(e,t)=>`Povucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabranu stavku`,other:()=>`ovoliko odabranih stavki: ${t.number(e.count)}`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragSelectedLongPress:(e,t)=>`Dugo pritisnite za povlačenje ${t.plural(e.count,{one:()=>`${t.number(e.count)} odabrana stavka`,other:()=>`${t.number(e.count)} odabrane stavke`})}.`,dragStartedKeyboard:"Počeli ste povlačiti. Pritisnite tipku tabulatora da biste došli do cilja ispuštanja, a zatim Enter da biste ispustili stavku ili Escape da biste prekinuli povlačenje.",dragStartedTouch:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim dvaput dodirnite da biste ispustili stavku.",dragStartedVirtual:"Počeli ste povlačiti. Dođite do cilja ispuštanja, a zatim kliknite ili pritisnite Enter da biste ispustili stavku.",dropCanceled:"Povlačenje je prekinuto.",dropComplete:"Ispuštanje je dovršeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste ispustili stavku. Pritisnite Escape da biste prekinuli povlačenje.",dropDescriptionTouch:"Dvaput dodirnite da biste ispustili stavku.",dropDescriptionVirtual:"Kliknite da biste ispustili stavku.",dropIndicator:"pokazatelj ispuštanja",dropOnItem:e=>`Ispustite na stavku ${e.itemText}`,dropOnRoot:"Ispustite na",endDragKeyboard:"Povlačenje. Pritisnite Enter da biste prekinuli povlačenje.",endDragTouch:"Povlačenje. Dvaput dodirnite da biste prekinuli povlačenje.",endDragVirtual:"Povlačenje. Kliknite da biste prekinuli povlačenje.",insertAfter:e=>`Umetnite iza stavke ${e.itemText}`,insertBefore:e=>`Ispustite ispred stavke ${e.itemText}`,insertBetween:e=>`Umetnite između stavki ${e.beforeItemText} i ${e.afterItemText}`};var Oh={};Oh={dragDescriptionKeyboard:"Nyomja le az Enter billentyűt a húzás megkezdéséhez.",dragDescriptionKeyboardAlt:"Nyomja le az Alt + Enter billentyűket a húzás megkezdéséhez.",dragDescriptionLongPress:"Hosszan nyomja meg a húzás elindításához.",dragDescriptionTouch:"Koppintson duplán a húzás megkezdéséhez.",dragDescriptionVirtual:"Kattintson a húzás megkezdéséhez.",dragItem:e=>`${e.itemText} húzása`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzása`,dragSelectedKeyboard:(e,t)=>`Nyomja meg az Entert ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedKeyboardAlt:(e,t)=>`Nyomja meg az Alt + Enter billentyűket ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragSelectedLongPress:(e,t)=>`Tartsa lenyomva hosszan ${t.plural(e.count,{one:()=>`${t.number(e.count)} kijelölt elem`,other:()=>`${t.number(e.count)} kijelölt elem`})} húzásához.`,dragStartedKeyboard:"Húzás megkezdve. Nyomja le a Tab billentyűt az elengedési célhoz navigálásához, majd nyomja le az Enter billentyűt az elengedéshez, vagy nyomja le az Escape billentyűt a megszakításhoz.",dragStartedTouch:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd koppintson duplán az elengedéshez.",dragStartedVirtual:"Húzás megkezdve. Navigáljon egy elengedési célhoz, majd kattintson vagy nyomja le az Enter billentyűt az elengedéshez.",dropCanceled:"Elengedés megszakítva.",dropComplete:"Elengedés teljesítve.",dropDescriptionKeyboard:"Nyomja le az Enter billentyűt az elengedéshez. Nyomja le az Escape billentyűt a húzás megszakításához.",dropDescriptionTouch:"Koppintson duplán az elengedéshez.",dropDescriptionVirtual:"Kattintson az elengedéshez.",dropIndicator:"elengedésjelző",dropOnItem:e=>`Elengedés erre: ${e.itemText}`,dropOnRoot:"Elengedés erre:",endDragKeyboard:"Húzás folyamatban. Nyomja le az Enter billentyűt a húzás megszakításához.",endDragTouch:"Húzás folyamatban. Koppintson duplán a húzás megszakításához.",endDragVirtual:"Húzás folyamatban. Kattintson a húzás megszakításához.",insertAfter:e=>`Beszúrás ${e.itemText} után`,insertBefore:e=>`Beszúrás ${e.itemText} elé`,insertBetween:e=>`Beszúrás ${e.beforeItemText} és ${e.afterItemText} közé`};var Hh={};Hh={dragDescriptionKeyboard:"Premi Invio per iniziare a trascinare.",dragDescriptionKeyboardAlt:"Premi Alt + Invio per iniziare a trascinare.",dragDescriptionLongPress:"Premi a lungo per iniziare a trascinare.",dragDescriptionTouch:"Tocca due volte per iniziare a trascinare.",dragDescriptionVirtual:"Fai clic per iniziare a trascinare.",dragItem:e=>`Trascina ${e.itemText}`,dragSelectedItems:(e,t)=>`Trascina ${t.plural(e.count,{one:()=>`${t.number(e.count)} altro elemento selezionato`,other:()=>`${t.number(e.count)} altri elementi selezionati`})}`,dragSelectedKeyboard:(e,t)=>`Premi Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Premi Alt + Invio per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragSelectedLongPress:(e,t)=>`Premi a lungo per trascinare ${t.plural(e.count,{one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,dragStartedKeyboard:"Hai iniziato a trascinare. Premi Tab per arrivare sull’area di destinazione, quindi premi Invio per rilasciare o Esc per annullare.",dragStartedTouch:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi tocca due volte per rilasciare.",dragStartedVirtual:"Hai iniziato a trascinare. Arriva sull’area di destinazione, quindi fai clic o premi Invio per rilasciare.",dropCanceled:"Rilascio annullato.",dropComplete:"Rilascio completato.",dropDescriptionKeyboard:"Premi Invio per rilasciare. Premi Esc per annullare.",dropDescriptionTouch:"Tocca due volte per rilasciare.",dropDescriptionVirtual:"Fai clic per rilasciare.",dropIndicator:"indicatore di rilascio",dropOnItem:e=>`Rilascia su ${e.itemText}`,dropOnRoot:"Rilascia su",endDragKeyboard:"Trascinamento. Premi Invio per annullare.",endDragTouch:"Trascinamento. Tocca due volte per annullare.",endDragVirtual:"Trascinamento. Fai clic per annullare.",insertAfter:e=>`Inserisci dopo ${e.itemText}`,insertBefore:e=>`Inserisci prima di ${e.itemText}`,insertBetween:e=>`Inserisci tra ${e.beforeItemText} e ${e.afterItemText}`};var Uh={};Uh={dragDescriptionKeyboard:"Enter キーを押してドラッグを開始してください。",dragDescriptionKeyboardAlt:"Alt+Enter キーを押してドラッグを開始します。",dragDescriptionLongPress:"長押ししてドラッグを開始します。",dragDescriptionTouch:"ダブルタップしてドラッグを開始します。",dragDescriptionVirtual:"クリックしてドラッグを開始します。",dragItem:e=>`${e.itemText} をドラッグ`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の選択項目`,other:()=>`${t.number(e.count)} 個の選択項目`})} をドラッグ`,dragSelectedKeyboard:(e,t)=>`Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedKeyboardAlt:(e,t)=>`Alt+Enter キーを押して、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragSelectedLongPress:(e,t)=>`長押しして、${t.plural(e.count,{one:()=>`${t.number(e.count)} 選択した項目`,other:()=>`${t.number(e.count)} 選択した項目`})}をドラッグします。`,dragStartedKeyboard:"ドラッグを開始します。Tab キーを押してドロップターゲットにいどうし、Enter キーを押してドロップするか、Esc キーを押してキャンセルします。",dragStartedTouch:"ドラッグを開始しました。ドロップのターゲットに移動し、ダブルタップしてドロップします。",dragStartedVirtual:"ドラッグを開始しました。ドロップのターゲットに移動し、クリックまたは Enter キーを押してドロップします。",dropCanceled:"ドロップがキャンセルされました。",dropComplete:"ドロップが完了しました。",dropDescriptionKeyboard:"Enter キーを押してドロップします。Esc キーを押してドラッグをキャンセルします。",dropDescriptionTouch:"ダブルタップしてドロップします。",dropDescriptionVirtual:"クリックしてドロップします。",dropIndicator:"ドロップインジケーター",dropOnItem:e=>`${e.itemText} にドロップ`,dropOnRoot:"ドロップ場所",endDragKeyboard:"ドラッグしています。Enter キーを押してドラッグをキャンセルします。",endDragTouch:"ドラッグしています。ダブルタップしてドラッグをキャンセルします。",endDragVirtual:"ドラッグしています。クリックしてドラッグをキャンセルします。",insertAfter:e=>`${e.itemText} の後に挿入`,insertBefore:e=>`${e.itemText} の前に挿入`,insertBetween:e=>`${e.beforeItemText} と ${e.afterItemText} の間に挿入`};var Wh={};Wh={dragDescriptionKeyboard:"드래그를 시작하려면 Enter를 누르세요.",dragDescriptionKeyboardAlt:"드래그를 시작하려면 Alt + Enter를 누르십시오.",dragDescriptionLongPress:"드래그를 시작하려면 길게 누르십시오.",dragDescriptionTouch:"드래그를 시작하려면 더블 탭하세요.",dragDescriptionVirtual:"드래그를 시작하려면 클릭하세요.",dragItem:e=>`${e.itemText} 드래그`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})} 드래그`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Enter를 누르십시오.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 Alt + Enter를 누르십시오.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 선택 항목`,other:()=>`${t.number(e.count)}개 선택 항목`})}을 드래그하려면 길게 누르십시오.`,dragStartedKeyboard:"드래그가 시작되었습니다. Tab을 눌러 드롭 대상으로 이동한 다음 Enter를 눌러 드롭하거나 Esc를 눌러 취소하세요.",dragStartedTouch:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 더블 탭하여 드롭하세요.",dragStartedVirtual:"드래그가 시작되었습니다. 드롭 대상으로 이동한 다음 클릭하거나 Enter를 눌러 드롭하세요.",dropCanceled:"드롭이 취소되었습니다.",dropComplete:"드롭이 완료되었습니다.",dropDescriptionKeyboard:"드롭하려면 Enter를 누르세요. 드래그를 취소하려면 Esc를 누르세요.",dropDescriptionTouch:"더블 탭하여 드롭하세요.",dropDescriptionVirtual:"드롭하려면 클릭하세요.",dropIndicator:"드롭 표시기",dropOnItem:e=>`${e.itemText}에 드롭`,dropOnRoot:"드롭 대상",endDragKeyboard:"드래그 중입니다. 드래그를 취소하려면 Enter를 누르세요.",endDragTouch:"드래그 중입니다. 드래그를 취소하려면 더블 탭하세요.",endDragVirtual:"드래그 중입니다. 드래그를 취소하려면 클릭하세요.",insertAfter:e=>`${e.itemText} 이후에 삽입`,insertBefore:e=>`${e.itemText} 이전에 삽입`,insertBetween:e=>`${e.beforeItemText} 및 ${e.afterItemText} 사이에 삽입`};var Gh={};Gh={dragDescriptionKeyboard:"Paspauskite „Enter“, kad pradėtumėte vilkti.",dragDescriptionKeyboardAlt:"Paspauskite „Alt + Enter“, kad pradėtumėte vilkti.",dragDescriptionLongPress:"Palaikykite nuspaudę, kad pradėtumėte vilkti.",dragDescriptionTouch:"Palieskite dukart, kad pradėtumėte vilkti.",dragDescriptionVirtual:"Spustelėkite, kad pradėtumėte vilkti.",dragItem:e=>`Vilkti ${e.itemText}`,dragSelectedItems:(e,t)=>`Vilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}`,dragSelectedKeyboard:(e,t)=>`Paspauskite „Enter“, jei norite nuvilkti ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Paspauskite „Alt + Enter“, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragSelectedLongPress:(e,t)=>`Nuspaudę palaikykite, kad nuvilktumėte ${t.plural(e.count,{one:()=>`${t.number(e.count)} pasirinktą elementą`,other:()=>`${t.number(e.count)} pasirinktus elementus`})}.`,dragStartedKeyboard:"Pradėta vilkti. Paspauskite „Tab“, kad pereitumėte į tiesioginę paskirties vietą, tada paspauskite „Enter“, kad numestumėte, arba „Escape“, kad atšauktumėte.",dragStartedTouch:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą, tada palieskite dukart, kad numestumėte.",dragStartedVirtual:"Pradėta vilkti. Eikite į tiesioginę paskirties vietą ir spustelėkite arba paspauskite „Enter“, kad numestumėte.",dropCanceled:"Numetimas atšauktas.",dropComplete:"Numesta.",dropDescriptionKeyboard:"Paspauskite „Enter“, kad numestumėte. Paspauskite „Escape“, kad atšauktumėte vilkimą.",dropDescriptionTouch:"Palieskite dukart, kad numestumėte.",dropDescriptionVirtual:"Spustelėkite, kad numestumėte.",dropIndicator:"numetimo indikatorius",dropOnItem:e=>`Numesti ant ${e.itemText}`,dropOnRoot:"Numesti ant",endDragKeyboard:"Velkama. Paspauskite „Enter“, kad atšauktumėte vilkimą.",endDragTouch:"Velkama. Spustelėkite dukart, kad atšauktumėte vilkimą.",endDragVirtual:"Velkama. Spustelėkite, kad atšauktumėte vilkimą.",insertAfter:e=>`Įterpti po ${e.itemText}`,insertBefore:e=>`Įterpti prieš ${e.itemText}`,insertBetween:e=>`Įterpti tarp ${e.beforeItemText} ir ${e.afterItemText}`};var Zh={};Zh={dragDescriptionKeyboard:"Nospiediet Enter, lai sāktu vilkšanu.",dragDescriptionKeyboardAlt:"Nospiediet taustiņu kombināciju Alt+Enter, lai sāktu vilkšanu.",dragDescriptionLongPress:"Turiet nospiestu, lai sāktu vilkšanu.",dragDescriptionTouch:"Veiciet dubultskārienu, lai sāktu vilkšanu.",dragDescriptionVirtual:"Noklikšķiniet, lai sāktu vilkšanu.",dragItem:e=>`Velciet ${e.itemText}`,dragSelectedItems:(e,t)=>`Velciet ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}`,dragSelectedKeyboard:(e,t)=>`Nospiediet taustiņu Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Nospiediet taustiņu kombināciju Alt+Enter, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragSelectedLongPress:(e,t)=>`Turiet nospiestu, lai vilktu ${t.plural(e.count,{one:()=>`${t.number(e.count)} atlasīto vienumu`,other:()=>`${t.number(e.count)} atlasītos vienumus`})}.`,dragStartedKeyboard:"Uzsākta vilkšana. Nospiediet taustiņu Tab, lai pārietu uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu, vai nospiediet Escape, lai atceltu.",dragStartedTouch:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam veiciet dubultskārienu, lai nomestu.",dragStartedVirtual:"Uzsākta vilkšana. Pārejiet uz nomešanas mērķi, pēc tam nospiediet Enter, lai nomestu.",dropCanceled:"Nomešana atcelta.",dropComplete:"Nomešana pabeigta.",dropDescriptionKeyboard:"Nospiediet Enter, lai nomestu. Nospiediet Escape, lai atceltu vilkšanu.",dropDescriptionTouch:"Veiciet dubultskārienu, lai nomestu.",dropDescriptionVirtual:"Noklikšķiniet, lai nomestu.",dropIndicator:"nomešanas indikators",dropOnItem:e=>`Nometiet uz ${e.itemText}`,dropOnRoot:"Nometiet uz",endDragKeyboard:"Notiek vilkšana. Nospiediet Enter, lai atceltu vilkšanu.",endDragTouch:"Notiek vilkšana. Veiciet dubultskārienu, lai atceltu vilkšanu.",endDragVirtual:"Notiek vilkšana. Noklikšķiniet, lai atceltu vilkšanu.",insertAfter:e=>`Ievietojiet pēc ${e.itemText}`,insertBefore:e=>`Ievietojiet pirms ${e.itemText}`,insertBetween:e=>`Ievietojiet starp ${e.beforeItemText} un ${e.afterItemText}`};var qh={};qh={dragDescriptionKeyboard:"Trykk på Enter for å begynne å dra.",dragDescriptionKeyboardAlt:"Trykk på Alt + Enter for å begynne å dra.",dragDescriptionLongPress:"Trykk lenge for å begynne å dra.",dragDescriptionTouch:"Dobbelttrykk for å begynne å dra.",dragDescriptionVirtual:"Klikk for å begynne å dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} merket element`,other:()=>`${t.number(e.count)} merkede elementer`})}`,dragSelectedKeyboard:(e,t)=>`Trykk Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Trykk på Alt + Enter for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragSelectedLongPress:(e,t)=>`Trykk lenge for å dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valgt element`,other:()=>`${t.number(e.count)} valgte elementer`})}.`,dragStartedKeyboard:"Begynte å dra. Trykk på Tab for å navigere til et mål, og trykk deretter på Enter for å slippe eller på Esc for å avbryte.",dragStartedTouch:"Begynte å dra. Naviger til et mål, og dobbelttrykk for å slippe.",dragStartedVirtual:"Begynte å dra. Naviger til et mål, og klikk eller trykk på Enter for å slippe.",dropCanceled:"Avbrøt slipping.",dropComplete:"Slippingen er fullført.",dropDescriptionKeyboard:"Trykk på Enter for å slippe. Trykk på Esc hvis du vil avbryte draingen.",dropDescriptionTouch:"Dobbelttrykk for å slippe.",dropDescriptionVirtual:"Klikk for å slippe.",dropIndicator:"slippeindikator",dropOnItem:e=>`Slipp på ${e.itemText}`,dropOnRoot:"Slipp på",endDragKeyboard:"Drar. Trykk på Enter hvis du vil avbryte.",endDragTouch:"Drar. Dobbelttrykk hvis du vil avbryte.",endDragVirtual:"Drar. Klikk hvis du vil avbryte.",insertAfter:e=>`Sett inn etter ${e.itemText}`,insertBefore:e=>`Sett inn før ${e.itemText}`,insertBetween:e=>`Sett inn mellom ${e.beforeItemText} og ${e.afterItemText}`};var Yh={};Yh={dragDescriptionKeyboard:"Druk op Enter om te slepen.",dragDescriptionKeyboardAlt:"Druk op Alt + Enter om te slepen.",dragDescriptionLongPress:"Houd lang ingedrukt om te slepen.",dragDescriptionTouch:"Dubbeltik om te slepen.",dragDescriptionVirtual:"Klik om met slepen te starten.",dragItem:e=>`${e.itemText} slepen`,dragSelectedItems:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} slepen`,dragSelectedKeyboard:(e,t)=>`Druk op Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedKeyboardAlt:(e,t)=>`Druk op Alt + Enter om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragSelectedLongPress:(e,t)=>`Houd lang ingedrukt om ${t.plural(e.count,{one:()=>`${t.number(e.count)} geselecteerd item`,other:()=>`${t.number(e.count)} geselecteerde items`})} te slepen.`,dragStartedKeyboard:"Begonnen met slepen. Druk op Tab om naar een locatie te gaan. Druk dan op Enter om neer te zetten, of op Esc om te annuleren.",dragStartedTouch:"Begonnen met slepen. Ga naar de gewenste locatie en dubbeltik om neer te zetten.",dragStartedVirtual:"Begonnen met slepen. Ga naar de gewenste locatie en klik of druk op Enter om neer te zetten.",dropCanceled:"Neerzetten geannuleerd.",dropComplete:"Neerzetten voltooid.",dropDescriptionKeyboard:"Druk op Enter om neer te zetten. Druk op Esc om het slepen te annuleren.",dropDescriptionTouch:"Dubbeltik om neer te zetten.",dropDescriptionVirtual:"Klik om neer te zetten.",dropIndicator:"aanwijzer voor neerzetten",dropOnItem:e=>`Neerzetten op ${e.itemText}`,dropOnRoot:"Neerzetten op",endDragKeyboard:"Bezig met slepen. Druk op Enter om te annuleren.",endDragTouch:"Bezig met slepen. Dubbeltik om te annuleren.",endDragVirtual:"Bezig met slepen. Klik om te annuleren.",insertAfter:e=>`Plaatsen na ${e.itemText}`,insertBefore:e=>`Plaatsen vóór ${e.itemText}`,insertBetween:e=>`Plaatsen tussen ${e.beforeItemText} en ${e.afterItemText}`};var Jh={};Jh={dragDescriptionKeyboard:"Naciśnij Enter, aby rozpocząć przeciąganie.",dragDescriptionKeyboardAlt:"Naciśnij Alt + Enter, aby rozpocząć przeciąganie.",dragDescriptionLongPress:"Naciśnij i przytrzymaj, aby rozpocząć przeciąganie.",dragDescriptionTouch:"Dotknij dwukrotnie, aby rozpocząć przeciąganie.",dragDescriptionVirtual:"Kliknij, aby rozpocząć przeciąganie.",dragItem:e=>`Przeciągnij ${e.itemText}`,dragSelectedItems:(e,t)=>`Przeciągnij ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybranych elementów`})}`,dragSelectedKeyboard:(e,t)=>`Naciśnij Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Naciśnij Alt + Enter, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragSelectedLongPress:(e,t)=>`Naciśnij i przytrzymaj, aby przeciągnąć ${t.plural(e.count,{one:()=>`${t.number(e.count)} wybrany element`,other:()=>`${t.number(e.count)} wybrane(-ych) elementy(-ów)`})}.`,dragStartedKeyboard:"Rozpoczęto przeciąganie. Naciśnij Tab, aby wybrać miejsce docelowe, a następnie naciśnij Enter, aby upuścić, lub Escape, aby anulować.",dragStartedTouch:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie dotknij dwukrotnie, aby upuścić.F",dragStartedVirtual:"Rozpoczęto przeciąganie. Wybierz miejsce, w którym chcesz upuścić element, a następnie kliknij lub naciśnij Enter, aby upuścić.",dropCanceled:"Anulowano upuszczenie.",dropComplete:"Zakończono upuszczanie.",dropDescriptionKeyboard:"Naciśnij Enter, aby upuścić. Naciśnij Escape, aby anulować przeciągnięcie.",dropDescriptionTouch:"Dotknij dwukrotnie, aby upuścić.",dropDescriptionVirtual:"Kliknij, aby upuścić.",dropIndicator:"wskaźnik upuszczenia",dropOnItem:e=>`Upuść na ${e.itemText}`,dropOnRoot:"Upuść",endDragKeyboard:"Przeciąganie. Naciśnij Enter, aby anulować przeciągnięcie.",endDragTouch:"Przeciąganie. Kliknij dwukrotnie, aby anulować przeciągnięcie.",endDragVirtual:"Przeciąganie. Kliknij, aby anulować przeciąganie.",insertAfter:e=>`Umieść za ${e.itemText}`,insertBefore:e=>`Umieść przed ${e.itemText}`,insertBetween:e=>`Umieść między ${e.beforeItemText} i ${e.afterItemText}`};var Xh={};Xh={dragDescriptionKeyboard:"Pressione Enter para começar a arrastar.",dragDescriptionKeyboardAlt:"Pressione Alt + Enter para começar a arrastar.",dragDescriptionLongPress:"Pressione e segure para começar a arrastar.",dragDescriptionTouch:"Toque duas vezes para começar a arrastar.",dragDescriptionVirtual:"Clique para começar a arrastar.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Pressione Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pressione Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Pressione e segure para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Comece a arrastar. Pressione Tab para navegar até um alvo e, em seguida, pressione Enter para soltar ou pressione Escape para cancelar.",dragStartedTouch:"Comece a arrastar. Navegue até um alvo e toque duas vezes para soltar.",dragStartedVirtual:"Comece a arrastar. Navegue até um alvo e clique ou pressione Enter para soltar.",dropCanceled:"Liberação cancelada.",dropComplete:"Liberação concluída.",dropDescriptionKeyboard:"Pressione Enter para soltar. Pressione Escape para cancelar.",dropDescriptionTouch:"Toque duas vezes para soltar.",dropDescriptionVirtual:"Clique para soltar.",dropIndicator:"indicador de liberação",dropOnItem:e=>`Soltar em ${e.itemText}`,dropOnRoot:"Soltar",endDragKeyboard:"Arrastando. Pressione Enter para cancelar.",endDragTouch:"Arrastando. Toque duas vezes para cancelar.",endDragVirtual:"Arrastando. Clique para cancelar.",insertAfter:e=>`Inserir após ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var Qh={};Qh={dragDescriptionKeyboard:"Prima Enter para iniciar o arrasto.",dragDescriptionKeyboardAlt:"Prima Alt + Enter para iniciar o arrasto.",dragDescriptionLongPress:"Prima longamente para começar a arrastar.",dragDescriptionTouch:"Faça duplo toque para começar a arrastar.",dragDescriptionVirtual:"Clique para iniciar o arrasto.",dragItem:e=>`Arrastar ${e.itemText}`,dragSelectedItems:(e,t)=>`Arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}`,dragSelectedKeyboard:(e,t)=>`Prima Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Prima Alt + Enter para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragSelectedLongPress:(e,t)=>`Prima longamente para arrastar ${t.plural(e.count,{one:()=>`${t.number(e.count)} o item selecionado`,other:()=>`${t.number(e.count)} os itens selecionados`})}.`,dragStartedKeyboard:"Arrasto iniciado. Prima a tecla de tabulação para navegar para um destino para largar, e em seguida prima Enter para largar ou prima Escape para cancelar.",dragStartedTouch:"Arrasto iniciado. Navegue para um destino para largar, e em seguida faça duplo toque para largar.",dragStartedVirtual:"Arrasto iniciado. Navegue para um destino para largar, e em seguida clique ou prima Enter para largar.",dropCanceled:"Largar cancelado.",dropComplete:"Largar completo.",dropDescriptionKeyboard:"Prima Enter para largar. Prima Escape para cancelar o arrasto.",dropDescriptionTouch:"Faça duplo toque para largar.",dropDescriptionVirtual:"Clique para largar.",dropIndicator:"Indicador de largar",dropOnItem:e=>`Largar em ${e.itemText}`,dropOnRoot:"Largar em",endDragKeyboard:"A arrastar. Prima Enter para cancelar o arrasto.",endDragTouch:"A arrastar. Faça duplo toque para cancelar o arrasto.",endDragVirtual:"A arrastar. Clique para cancelar o arrasto.",insertAfter:e=>`Inserir depois de ${e.itemText}`,insertBefore:e=>`Inserir antes de ${e.itemText}`,insertBetween:e=>`Inserir entre ${e.beforeItemText} e ${e.afterItemText}`};var em={};em={dragDescriptionKeyboard:"Apăsați pe Enter pentru a începe glisarea.",dragDescriptionKeyboardAlt:"Apăsați pe Alt + Enter pentru a începe glisarea.",dragDescriptionLongPress:"Apăsați lung pentru a începe glisarea.",dragDescriptionTouch:"Atingeți de două ori pentru a începe să glisați.",dragDescriptionVirtual:"Faceți clic pentru a începe glisarea.",dragItem:e=>`Glisați ${e.itemText}`,dragSelectedItems:(e,t)=>`Glisați ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}`,dragSelectedKeyboard:(e,t)=>`Apăsați pe Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Apăsați pe Alt + Enter pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragSelectedLongPress:(e,t)=>`Apăsați lung pentru a glisa ${t.plural(e.count,{one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,dragStartedKeyboard:"A început glisarea. Apăsați pe Tab pentru a naviga la o țintă de fixare, apoi apăsați pe Enter pentru a fixa sau apăsați pe Escape pentru a anula glisarea.",dragStartedTouch:"A început glisarea. Navigați la o țintă de fixare, apoi atingeți de două ori pentru a fixa.",dragStartedVirtual:"A început glisarea. Navigați la o țintă de fixare, apoi faceți clic sau apăsați pe Enter pentru a fixa.",dropCanceled:"Fixare anulată.",dropComplete:"Fixare finalizată.",dropDescriptionKeyboard:"Apăsați pe Enter pentru a fixa. Apăsați pe Escape pentru a anula glisarea.",dropDescriptionTouch:"Atingeți de două ori pentru a fixa.",dropDescriptionVirtual:"Faceți clic pentru a fixa.",dropIndicator:"indicator de fixare",dropOnItem:e=>`Fixați pe ${e.itemText}`,dropOnRoot:"Fixare pe",endDragKeyboard:"Se glisează. Apăsați pe Enter pentru a anula glisarea.",endDragTouch:"Se glisează. Atingeți de două ori pentru a anula glisarea.",endDragVirtual:"Se glisează. Faceți clic pentru a anula glisarea.",insertAfter:e=>`Inserați după ${e.itemText}`,insertBefore:e=>`Inserați înainte de ${e.itemText}`,insertBetween:e=>`Inserați între ${e.beforeItemText} și ${e.afterItemText}`};var tm={};tm={dragDescriptionKeyboard:"Нажмите клавишу Enter для начала перетаскивания.",dragDescriptionKeyboardAlt:"Нажмите Alt + Enter, чтобы начать перетаскивать.",dragDescriptionLongPress:"Нажмите и удерживайте, чтобы начать перетаскивать.",dragDescriptionTouch:"Дважды нажмите для начала перетаскивания.",dragDescriptionVirtual:"Щелкните для начала перетаскивания.",dragItem:e=>`Перетащить ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетащить ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранный элемент`,other:()=>`${t.number(e.count)} выбранных элем`})}`,dragSelectedKeyboard:(e,t)=>`Нажмите Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Нажмите Alt + Enter для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragSelectedLongPress:(e,t)=>`Нажмите и удерживайте для перетаскивания ${t.plural(e.count,{one:()=>`${t.number(e.count)} выбранного элемента`,other:()=>`${t.number(e.count)} выбранных элементов`})}.`,dragStartedKeyboard:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание, или клавишу Escape для отмены действия.",dragStartedTouch:"Начато перетаскивание. Выберите цель, затем дважды нажмите, чтобы применить перетаскивание.",dragStartedVirtual:"Начато перетаскивание. Нажмите клавишу Tab для выбора цели, затем нажмите клавишу Enter, чтобы применить перетаскивание.",dropCanceled:"Перетаскивание отменено.",dropComplete:"Перетаскивание завершено.",dropDescriptionKeyboard:"Нажмите клавишу Enter, чтобы применить перетаскивание. Нажмите клавишу Escape для отмены.",dropDescriptionTouch:"Дважды нажмите, чтобы применить перетаскивание.",dropDescriptionVirtual:"Щелкните, чтобы применить перетаскивание.",dropIndicator:"индикатор перетаскивания",dropOnItem:e=>`Перетащить на ${e.itemText}`,dropOnRoot:"Перетащить на",endDragKeyboard:"Перетаскивание. Нажмите клавишу Enter для отмены.",endDragTouch:"Перетаскивание. Дважды нажмите для отмены.",endDragVirtual:"Перетаскивание. Щелкните для отмены.",insertAfter:e=>`Вставить после ${e.itemText}`,insertBefore:e=>`Вставить перед ${e.itemText}`,insertBetween:e=>`Вставить между ${e.beforeItemText} и ${e.afterItemText}`};var um={};um={dragDescriptionKeyboard:"Stlačením klávesu Enter začnete presúvanie.",dragDescriptionKeyboardAlt:"Stlačením klávesov Alt + Enter začnete presúvanie.",dragDescriptionLongPress:"Dlhým stlačením začnete presúvanie.",dragDescriptionTouch:"Dvojitým kliknutím začnete presúvanie.",dragDescriptionVirtual:"Kliknutím začnete presúvanie.",dragItem:e=>`Presunúť položku ${e.itemText}`,dragSelectedItems:(e,t)=>`Presunúť ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybraté položky`})}`,dragSelectedKeyboard:(e,t)=>`Stlačením klávesu Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Stlačením klávesov Alt + Enter presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragSelectedLongPress:(e,t)=>`Dlhým stlačením presuniete ${t.plural(e.count,{one:()=>`${t.number(e.count)} vybratú položku`,other:()=>`${t.number(e.count)} vybratých položiek`})}.`,dragStartedKeyboard:"Presúvanie sa začalo. Do cieľového umiestnenia prejdete stlačením klávesu Tab. Ak chcete položku umiestniť, stlačte kláves Enter alebo stlačte kláves Esc, ak chcete presúvanie zrušiť.",dragStartedTouch:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a dvojitým kliknutím umiestnite položku.",dragStartedVirtual:"Presúvanie sa začalo. Prejdite na cieľové umiestnenie a kliknutím alebo stlačením klávesu Enter umiestnite položku.",dropCanceled:"Umiestnenie zrušené.",dropComplete:"Umiestnenie dokončené.",dropDescriptionKeyboard:"Stlačením klávesu Enter umiestnite položku. Stlačením klávesu Esc zrušíte presúvanie.",dropDescriptionTouch:"Dvojitým kliknutím umiestnite položku.",dropDescriptionVirtual:"Kliknutím umiestnite položku.",dropIndicator:"indikátor umiestnenia",dropOnItem:e=>`Umiestniť na položku ${e.itemText}`,dropOnRoot:"Umiestniť na",endDragKeyboard:"Prebieha presúvanie. Ak ho chcete zrušiť, stlačte kláves Enter.",endDragTouch:"Prebieha presúvanie. Dvojitým kliknutím ho môžete zrušiť.",endDragVirtual:"Prebieha presúvanie.",insertAfter:e=>`Vložiť za položku ${e.itemText}`,insertBefore:e=>`Vložiť pred položku ${e.itemText}`,insertBetween:e=>`Vložiť medzi položky ${e.beforeItemText} a ${e.afterItemText}`};var nm={};nm={dragDescriptionKeyboard:"Pritisnite tipko Enter za začetek vlečenja.",dragDescriptionKeyboardAlt:"Pritisnite tipki Alt + Enter za začetek vlečenja.",dragDescriptionLongPress:"Pritisnite in zadržite za začetek vlečenja.",dragDescriptionTouch:"Dvotapnite za začetek vlečenja.",dragDescriptionVirtual:"Kliknite za začetek vlečenja.",dragItem:e=>`Povleci ${e.itemText}`,dragSelectedItems:(e,t)=>`Povlecite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbran element`,other:()=>`izbrane elemente (${t.number(e.count)})`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite tipko Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite tipki Alt + Enter, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite in zadržite, da povlečete ${t.plural(e.count,{one:()=>`${t.number(e.count)} izbrani element`,other:()=>`${t.number(e.count)} izbranih elementov`})}.`,dragStartedKeyboard:"Vlečenje se je začelo. Pritisnite tipko Tab za pomik na mesto, kamor želite spustiti elemente, in pritisnite tipko Enter, da jih spustite, ali tipko Escape, da prekličete postopek.",dragStartedTouch:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in dvotapnite, da jih spustite.",dragStartedVirtual:"Vlečenje se je začelo. Pomaknite se na mesto, kamor želite spustiti elemente, in kliknite ali pritisnite tipko Enter, da jih spustite.",dropCanceled:"Spust je preklican.",dropComplete:"Spust je končan.",dropDescriptionKeyboard:"Pritisnite tipko Enter, da spustite. Pritisnite tipko Escape, da prekličete vlečenje.",dropDescriptionTouch:"Dvotapnite, da spustite.",dropDescriptionVirtual:"Kliknite, da spustite.",dropIndicator:"indikator spusta",dropOnItem:e=>`Spusti na mesto ${e.itemText}`,dropOnRoot:"Spusti na mesto",endDragKeyboard:"Vlečenje. Pritisnite tipko Enter za preklic vlečenja.",endDragTouch:"Vlečenje. Dvotapnite za preklic vlečenja.",endDragVirtual:"Vlečenje. Kliknite, da prekličete vlečenje.",insertAfter:e=>`Vstavi za ${e.itemText}`,insertBefore:e=>`Vstavi pred ${e.itemText}`,insertBetween:e=>`Vstavi med ${e.beforeItemText} in ${e.afterItemText}`};var rm={};rm={dragDescriptionKeyboard:"Pritisnite Enter da biste započeli prevlačenje.",dragDescriptionKeyboardAlt:"Pritisnite Alt + Enter da biste započeli prevlačenje.",dragDescriptionLongPress:"Pritisnite dugo da biste započeli prevlačenje.",dragDescriptionTouch:"Dvaput dodirnite da biste započeli prevlačenje.",dragDescriptionVirtual:"Kliknite da biste započeli prevlačenje.",dragItem:e=>`Prevucite ${e.itemText}`,dragSelectedItems:(e,t)=>`Prevucite ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabrane stavke`})}`,dragSelectedKeyboard:(e,t)=>`Pritisnite Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Pritisnite Alt + Enter da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragSelectedLongPress:(e,t)=>`Pritisnite dugo da biste prevukli ${t.plural(e.count,{one:()=>`${t.number(e.count)} izabranu stavku`,other:()=>`${t.number(e.count)} izabranih stavki`})}.`,dragStartedKeyboard:"Prevlačenje je započeto. Pritisnite Tab da biste otišli do cilja za otpuštanje, zatim pritisnite Enter za ispuštanje ili pritisnite Escape za otkazivanje.",dragStartedTouch:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim dvaput dodirnite za otpuštanje.",dragStartedVirtual:"Prevlačenje je započeto. Idite do cilja za otpuštanje, a zatim kliknite ili pritinite Enter za otpuštanje.",dropCanceled:"Otpuštanje je otkazano.",dropComplete:"Prevlačenje je završeno.",dropDescriptionKeyboard:"Pritisnite Enter da biste otpustili. Pritisnite Escape da biste otkazali prevlačenje.",dropDescriptionTouch:"Dvaput dodirnite za otpuštanje.",dropDescriptionVirtual:"Kliknite za otpuštanje.",dropIndicator:"Indikator otpuštanja",dropOnItem:e=>`Otpusti na ${e.itemText}`,dropOnRoot:"Otpusti na",endDragKeyboard:"Prevlačenje u toku. Pritisnite Enter da biste otkazali prevlačenje.",endDragTouch:"Prevlačenje u toku. Dvaput dodirnite da biste otkazali prevlačenje.",endDragVirtual:"Prevlačenje u toku. Kliknite da biste otkazali prevlačenje.",insertAfter:e=>`Umetnite posle ${e.itemText}`,insertBefore:e=>`Umetnite ispred ${e.itemText}`,insertBetween:e=>`Umetnite između ${e.beforeItemText} i ${e.afterItemText}`};var im={};im={dragDescriptionKeyboard:"Tryck på enter för att börja dra.",dragDescriptionKeyboardAlt:"Tryck på Alt + Retur för att börja dra.",dragDescriptionLongPress:"Tryck länge för att börja dra.",dragDescriptionTouch:"Dubbeltryck för att börja dra.",dragDescriptionVirtual:"Klicka för att börja dra.",dragItem:e=>`Dra ${e.itemText}`,dragSelectedItems:(e,t)=>`Dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} valt objekt`,other:()=>`${t.number(e.count)} valda objekt`})}`,dragSelectedKeyboard:(e,t)=>`Tryck på Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Tryck på Alt + Retur för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragSelectedLongPress:(e,t)=>`Tryck länge för att dra ${t.plural(e.count,{one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,dragStartedKeyboard:"Börja dra. Tryck på tabb för att navigera till målet, tryck på enter för att släppa eller på escape för att avbryta.",dragStartedTouch:"Börja dra. Navigera till ett mål och dubbeltryck för att släppa.",dragStartedVirtual:"Börja dra. Navigera till ett mål och klicka eller tryck på enter för att släppa.",dropCanceled:"Släppåtgärd avbröts.",dropComplete:"Släppåtgärd klar.",dropDescriptionKeyboard:"Tryck på enter för att släppa. Tryck på escape för att avbryta dragåtgärd.",dropDescriptionTouch:"Dubbeltryck för att släppa.",dropDescriptionVirtual:"Klicka för att släppa.",dropIndicator:"släppindikator",dropOnItem:e=>`Släpp på ${e.itemText}`,dropOnRoot:"Släpp på",endDragKeyboard:"Drar. Tryck på enter för att avbryta dragåtgärd.",endDragTouch:"Drar. Dubbeltryck för att avbryta dragåtgärd.",endDragVirtual:"Drar. Klicka för att avbryta dragåtgärd.",insertAfter:e=>`Infoga efter ${e.itemText}`,insertBefore:e=>`Infoga före ${e.itemText}`,insertBetween:e=>`Infoga mellan ${e.beforeItemText} och ${e.afterItemText}`};var am={};am={dragDescriptionKeyboard:"Sürüklemeyi başlatmak için Enter'a basın.",dragDescriptionKeyboardAlt:"Sürüklemeyi başlatmak için Alt + Enter'a basın.",dragDescriptionLongPress:"Sürüklemeye başlamak için uzun basın.",dragDescriptionTouch:"Sürüklemeyi başlatmak için çift tıklayın.",dragDescriptionVirtual:"Sürüklemeyi başlatmak için tıklayın.",dragItem:e=>`${e.itemText}’i sürükle`,dragSelectedItems:(e,t)=>`Sürükle ${t.plural(e.count,{one:()=>`${t.number(e.count)} seçili öge`,other:()=>`${t.number(e.count)} seçili öge`})}`,dragSelectedKeyboard:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Enter'a basın.`,dragSelectedKeyboardAlt:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için Alt + Enter tuşuna basın.`,dragSelectedLongPress:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} seçilmiş öğe`,other:()=>`${t.number(e.count)} seçilmiş öğe`})} öğesini sürüklemek için uzun basın.`,dragStartedKeyboard:"Sürükleme başlatıldı. Bir bırakma hedefine gitmek için Tab’a basın, ardından bırakmak için Enter’a basın veya iptal etmek için Escape’e basın.",dragStartedTouch:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için çift tıklayın.",dragStartedVirtual:"Sürükleme başlatıldı. Bir bırakma hedefine gidin, ardından bırakmak için Enter’a tıklayın veya basın.",dropCanceled:"Bırakma iptal edildi.",dropComplete:"Bırakma tamamlandı.",dropDescriptionKeyboard:"Bırakmak için Enter'a basın. Sürüklemeyi iptal etmek için Escape'e basın.",dropDescriptionTouch:"Bırakmak için çift tıklayın.",dropDescriptionVirtual:"Bırakmak için tıklayın.",dropIndicator:"bırakma göstergesi",dropOnItem:e=>`${e.itemText} üzerine bırak`,dropOnRoot:"Bırakın",endDragKeyboard:"Sürükleme. Sürüklemeyi iptal etmek için Enter'a basın.",endDragTouch:"Sürükleme. Sürüklemeyi iptal etmek için çift tıklayın.",endDragVirtual:"Sürükleme. Sürüklemeyi iptal etmek için tıklayın.",insertAfter:e=>`${e.itemText}’den sonra gir`,insertBefore:e=>`${e.itemText}’den önce gir`,insertBetween:e=>`${e.beforeItemText} ve ${e.afterItemText} arasına gir`};var lm={};lm={dragDescriptionKeyboard:"Натисніть Enter, щоб почати перетягування.",dragDescriptionKeyboardAlt:"Натисніть Alt + Enter, щоб почати перетягування.",dragDescriptionLongPress:"Натисніть і утримуйте, щоб почати перетягування.",dragDescriptionTouch:"Натисніть двічі, щоб почати перетягування.",dragDescriptionVirtual:"Натисніть, щоб почати перетягування.",dragItem:e=>`Перетягнути ${e.itemText}`,dragSelectedItems:(e,t)=>`Перетягніть ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елем`})}`,dragSelectedKeyboard:(e,t)=>`Натисніть Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Натисніть Alt + Enter, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragSelectedLongPress:(e,t)=>`Утримуйте, щоб перетягнути ${t.plural(e.count,{one:()=>`${t.number(e.count)} вибраний елемент`,other:()=>`${t.number(e.count)} вибраних елементи(-ів)`})}.`,dragStartedKeyboard:"Перетягування почалося. Натисніть Tab, щоб перейти до цілі перетягування, потім натисніть Enter, щоб перетягнути, або Escape, щоб скасувати.",dragStartedTouch:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть двічі, щоб перетягнути.",dragStartedVirtual:"Перетягування почалося. Перейдіть до цілі перетягування, потім натисніть Enter, щоб перетягнути.",dropCanceled:"Перетягування скасовано.",dropComplete:"Перетягування завершено.",dropDescriptionKeyboard:"Натисніть Enter, щоб перетягнути. Натисніть Escape, щоб скасувати перетягування.",dropDescriptionTouch:"Натисніть двічі, щоб перетягнути.",dropDescriptionVirtual:"Натисніть, щоб перетягнути.",dropIndicator:"індикатор перетягування",dropOnItem:e=>`Перетягнути на ${e.itemText}`,dropOnRoot:"Перетягнути на",endDragKeyboard:"Триває перетягування. Натисніть Enter, щоб скасувати перетягування.",endDragTouch:"Триває перетягування. Натисніть двічі, щоб скасувати перетягування.",endDragVirtual:"Триває перетягування. Натисніть, щоб скасувати перетягування.",insertAfter:e=>`Вставити після ${e.itemText}`,insertBefore:e=>`Вставити перед ${e.itemText}`,insertBetween:e=>`Вставити між ${e.beforeItemText} і ${e.afterItemText}`};var om={};om={dragDescriptionKeyboard:"按 Enter 开始拖动。",dragDescriptionKeyboardAlt:"按 Alt + Enter 开始拖动。",dragDescriptionLongPress:"长按以开始拖动。",dragDescriptionTouch:"双击开始拖动。",dragDescriptionVirtual:"单击开始拖动。",dragItem:e=>`拖动 ${e.itemText}`,dragSelectedItems:(e,t)=>`拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 选中项目`,other:()=>`${t.number(e.count)} 选中项目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt + Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedLongPress:(e,t)=>`长按以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragStartedKeyboard:"已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。",dragStartedTouch:"已开始拖动。导航到放置目标,然后双击放置。",dragStartedVirtual:"已开始拖动。导航到放置目标,然后单击或按 Enter 放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 放置。按 Escape 取消拖动。",dropDescriptionTouch:"双击放置。",dropDescriptionVirtual:"单击放置。",dropIndicator:"放置标记",dropOnItem:e=>`放置于 ${e.itemText}`,dropOnRoot:"放置于",endDragKeyboard:"正在拖动。按 Enter 取消拖动。",endDragTouch:"正在拖动。双击取消拖动。",endDragVirtual:"正在拖动。单击取消拖动。",insertAfter:e=>`插入到 ${e.itemText} 之后`,insertBefore:e=>`插入到 ${e.itemText} 之前`,insertBetween:e=>`插入到 ${e.beforeItemText} 和 ${e.afterItemText} 之间`};var sm={};sm={dragDescriptionKeyboard:"按 Enter 鍵以開始拖曳。",dragDescriptionKeyboardAlt:"按 Alt+Enter 鍵以開始拖曳。",dragDescriptionLongPress:"長按以開始拖曳。",dragDescriptionTouch:"輕點兩下以開始拖曳。",dragDescriptionVirtual:"按一下滑鼠以開始拖曳。",dragItem:e=>`拖曳「${e.itemText}」`,dragSelectedItems:(e,t)=>`拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt+Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedLongPress:(e,t)=>`長按以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragStartedKeyboard:"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。",dragStartedTouch:"已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。",dragStartedVirtual:"已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。",dropDescriptionTouch:"輕點兩下以放置。",dropDescriptionVirtual:"按一下滑鼠以放置。",dropIndicator:"放置指示器",dropOnItem:e=>`放置在「${e.itemText}」上`,dropOnRoot:"放置在",endDragKeyboard:"拖曳中。按 Enter 鍵以取消拖曳。",endDragTouch:"拖曳中。輕點兩下以取消拖曳。",endDragVirtual:"拖曳中。按一下滑鼠以取消拖曳。",insertAfter:e=>`插入至「${e.itemText}」之後`,insertBefore:e=>`插入至「${e.itemText}」之前`,insertBetween:e=>`插入至「${e.beforeItemText}」和「${e.afterItemText}」之間`};var dm={};dm={"ar-AE":Ah,"bg-BG":Fh,"cs-CZ":Th,"da-DK":Ih,"de-DE":Rh,"el-GR":Kh,"en-US":zh,"es-ES":Mh,"et-EE":Nh,"fi-FI":Vh,"fr-FR":_h,"he-IL":jh,"hr-HR":Lh,"hu-HU":Oh,"it-IT":Hh,"ja-JP":Uh,"ko-KR":Wh,"lt-LT":Gh,"lv-LV":Zh,"nb-NO":qh,"nl-NL":Yh,"pl-PL":Jh,"pt-BR":Xh,"pt-PT":Qh,"ro-RO":em,"ru-RU":tm,"sk-SK":um,"sl-SI":nm,"sr-SP":rm,"sv-SE":im,"tr-TR":am,"uk-UA":lm,"zh-CN":om,"zh-TW":sm};function DD(e){return e&&e.__esModule?e.default:e}const xD={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function CD(){let e=xe(DD(dm),"@react-aria/dnd"),t=hD(),u=vD();return{dropProps:{...It(u?e.format(xD[t]):""),onClick:()=>{}}}}const ED=800;function kD(e){let{hasDropButton:t,isDisabled:u}=e,[n,r]=o.useState(!1),i=o.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Ue.all,dropActivateTimer:void 0}).current,a=D=>{if(r(!0),typeof e.onDropEnter=="function"){let x=D.currentTarget.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:D.clientX-x.x,y:D.clientY-x.y})}},l=D=>{if(r(!1),typeof e.onDropExit=="function"){let x=D.currentTarget.getBoundingClientRect();e.onDropExit({type:"dropexit",x:D.clientX-x.x,y:D.clientY-x.y})}},s=D=>{D.preventDefault(),D.stopPropagation();let x=Os(D);if(D.clientX===i.x&&D.clientY===i.y&&x===i.allowedOperations){D.dataTransfer.dropEffect=i.dropEffect;return}i.x=D.clientX,i.y=D.clientY;let k=i.dropEffect;if(x!==i.allowedOperations){let S=$a(x),F=S[0];if(typeof e.getDropOperation=="function"){let T=new Br(D.dataTransfer);F=Pr(x,e.getDropOperation(T,S))}i.dropEffect=ga[F]||"none"}if(typeof e.getDropOperationForPoint=="function"){let S=new Br(D.dataTransfer),F=D.currentTarget.getBoundingClientRect(),T=Pr(x,e.getDropOperationForPoint(S,$a(x),i.x-F.x,i.y-F.y));i.dropEffect=ga[T]||"none"}if(i.allowedOperations=x,D.dataTransfer.dropEffect=i.dropEffect,i.dropEffect==="none"&&k!=="none"?l(D):i.dropEffect!=="none"&&k==="none"&&a(D),typeof e.onDropMove=="function"&&i.dropEffect!=="none"){let S=D.currentTarget.getBoundingClientRect();e.onDropMove({type:"dropmove",x:i.x-S.x,y:i.y-S.y})}if(clearTimeout(i.dropActivateTimer),e.onDropActivate&&typeof e.onDropActivate=="function"&&i.dropEffect!=="none"){let S=e.onDropActivate,F=D.currentTarget.getBoundingClientRect();i.dropActivateTimer=setTimeout(()=>{S({type:"dropactivate",x:i.x-F.x,y:i.y-F.y})},ED)}},d=D=>{if(D.preventDefault(),D.stopPropagation(),i.dragOverElements.add(D.target),i.dragOverElements.size>1)return;let x=Os(D),k=$a(x),S=k[0];if(typeof e.getDropOperation=="function"){let F=new Br(D.dataTransfer);S=Pr(x,e.getDropOperation(F,k))}if(typeof e.getDropOperationForPoint=="function"){let F=new Br(D.dataTransfer),T=D.currentTarget.getBoundingClientRect();S=Pr(x,e.getDropOperationForPoint(F,k,D.clientX-T.x,D.clientY-T.y))}i.x=D.clientX,i.y=D.clientY,i.allowedOperations=x,i.dropEffect=ga[S]||"none",D.dataTransfer.dropEffect=i.dropEffect,S!=="cancel"&&a(D)},c=D=>{D.preventDefault(),D.stopPropagation(),i.dragOverElements.delete(D.target);for(let x of i.dragOverElements)D.currentTarget.contains(x)||i.dragOverElements.delete(x);i.dragOverElements.size>0||(i.dropEffect!=="none"&&l(D),clearTimeout(i.dropActivateTimer))},f=D=>{if(D.preventDefault(),D.stopPropagation(),i.dropEffect,typeof e.onDrop=="function"){let k=Bh[i.dropEffect],S=Ph(D.dataTransfer),F=D.currentTarget.getBoundingClientRect(),T={type:"drop",x:D.clientX-F.x,y:D.clientY-F.y,items:S,dropOperation:k};e.onDrop(T)}let x={...wh};i.dragOverElements.clear(),l(D),clearTimeout(i.dropActivateTimer),x.draggingCollectionRef==null||$D(x)},p=ee(D=>{typeof e.onDropEnter=="function"&&e.onDropEnter(D)}),h=ee(D=>{typeof e.onDropExit=="function"&&e.onDropExit(D)}),m=ee(D=>{typeof e.onDropActivate=="function"&&e.onDropActivate(D)}),g=ee(D=>{typeof e.onDrop=="function"&&e.onDrop(D)}),$=ee((D,x)=>e.getDropOperation?e.getDropOperation(D,x):x[0]),{ref:v}=e;J(()=>{if(!(u||!v.current))return yD({element:v.current,getDropOperation:$,onDropEnter(D){r(!0),p(D)},onDropExit(D){r(!1),h(D)},onDrop:g,onDropActivate:m})},[u,v,$,p,h,g,m]);let{dropProps:C}=CD();return u?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!t&&C,onDragEnter:d,onDragOver:s,onDragLeave:c,onDrop:f},dropButtonProps:{...t&&C},isDropTarget:n}}function Os(e){let t=kh[e.dataTransfer.effectAllowed];Vs&&(t&=Vs);let u=Ue.none;return wt()?(e.altKey&&(u|=Ue.copy),e.ctrlKey&&!$l()&&(u|=Ue.link),e.metaKey&&(u|=Ue.move)):(e.altKey&&(u|=Ue.link),e.shiftKey&&(u|=Ue.move),e.ctrlKey&&(u|=Ue.copy)),u?t&u:t}function $a(e){let t=[];return e&Ue.move&&t.push("move"),e&Ue.copy&&t.push("copy"),e&Ue.link&&t.push("link"),t}function Pr(e,t){let u=Ue[t];return e&u?t:"cancel"}const ya=new Map;function Ou(e,t){let u=ya.get(e);if(!u){let n=new Set,r=i=>{for(let a of n)a(i)};u={listener:r,handlers:n},ya.set(e,u),document.addEventListener(e,r)}return u.handlers.add(t),()=>{u.handlers.delete(t),u.handlers.size===0&&(document.removeEventListener(e,u.listener),ya.delete(e))}}function BD(e){let{isDisabled:t}=e,u=o.useRef(!1),{focusProps:n}=Ei({onFocusChange:c=>{u.current=c}}),r=ee(c=>{u.current&&e.getItems&&c.preventDefault()}),i=ee(c=>{if(!(!u.current||!e.getItems)&&(c.preventDefault(),c.clipboardData)){var f;Ns(c.clipboardData,e.getItems({action:"copy"})),(f=e.onCopy)===null||f===void 0||f.call(e)}}),a=ee(c=>{u.current&&e.onCut&&e.getItems&&c.preventDefault()}),l=ee(c=>{!u.current||!e.onCut||!e.getItems||(c.preventDefault(),c.clipboardData&&(Ns(c.clipboardData,e.getItems({action:"cut"})),e.onCut()))}),s=ee(c=>{u.current&&e.onPaste&&c.preventDefault()}),d=ee(c=>{if(!(!u.current||!e.onPaste)&&(c.preventDefault(),c.clipboardData)){let f=Ph(c.clipboardData);e.onPaste(f)}});return o.useEffect(()=>{if(!t)return et(Ou("beforecopy",r),Ou("copy",i),Ou("beforecut",a),Ou("cut",l),Ou("beforepaste",s),Ou("paste",d))},[t,r,i,a,l,s,d]),{clipboardProps:n}}const io=new WeakMap;function Hs(e,t){var u;let{id:n}=(u=io.get(e))!==null&&u!==void 0?u:{};if(!n)throw new Error("Unknown list");return`${n}-${PD(t)}`}function PD(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}class cm{isCell(t){return t.type==="cell"}isRow(t){return t.type==="row"||t.type==="item"}isDisabled(t){var u;return this.disabledBehavior==="all"&&(((u=t.props)===null||u===void 0?void 0:u.isDisabled)||this.disabledKeys.has(t.key))}findPreviousKey(t,u){let n=t!=null?this.collection.getKeyBefore(t):this.collection.getLastKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;n=this.collection.getKeyBefore(n)}return null}findNextKey(t,u){let n=t!=null?this.collection.getKeyAfter(t):this.collection.getFirstKey();for(;n!=null;){let r=this.collection.getItem(n);if(!r)return null;if(!this.isDisabled(r)&&(!u||u(r)))return n;if(n=this.collection.getKeyAfter(n),n==null)return null}return null}getKeyForItemInRowByIndex(t,u=0){if(u<0)return null;let n=this.collection.getItem(t);if(!n)return null;let r=0;for(let l of Be(n,this.collection)){var i;if(l.colSpan&&l.colSpan+r>u)return(i=l.key)!==null&&i!==void 0?i:null;l.colSpan&&(r=r+l.colSpan-1);var a;if(r===u)return(a=l.key)!==null&&a!==void 0?a:null;r++}return null}getKeyBelow(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findNextKey(u,i=>i.type==="item"),u!=null){if(this.isCell(n)){let i=n.colIndex?n.colIndex:n.index;return this.getKeyForItemInRowByIndex(u,i)}if(this.focusMode==="row")return u}return null}getKeyAbove(t){let u=t,n=this.collection.getItem(u);if(!n)return null;var r;if(this.isCell(n)&&(u=(r=n.parentKey)!==null&&r!==void 0?r:null),u==null)return null;if(u=this.findPreviousKey(u,i=>i.type==="item"),u!=null){if(this.isCell(n)){let i=n.colIndex?n.colIndex:n.index;return this.getKeyForItemInRowByIndex(u,i)}if(this.focusMode==="row")return u}return null}getKeyRightOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=Be(u,this.collection);var i;return(i=this.direction==="rtl"?(n=Zt(c))===null||n===void 0?void 0:n.key:(r=Ut(c))===null||r===void 0?void 0:r.key)!==null&&i!==void 0?i:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=Be(c,this.collection);var a;let p=(a=this.direction==="rtl"?Fn(f,u.index-1):Fn(f,u.index+1))!==null&&a!==void 0?a:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getFirstKey(t):this.getLastKey(t))!==null&&d!==void 0?d:null}return null}getKeyLeftOf(t){let u=this.collection.getItem(t);if(!u)return null;if(this.isRow(u)){var n,r;let c=Be(u,this.collection);var i;return(i=this.direction==="rtl"?(n=Ut(c))===null||n===void 0?void 0:n.key:(r=Zt(c))===null||r===void 0?void 0:r.key)!==null&&i!==void 0?i:null}if(this.isCell(u)&&u.parentKey!=null){let c=this.collection.getItem(u.parentKey);if(!c)return null;let f=Be(c,this.collection);var a;let p=(a=this.direction==="rtl"?Fn(f,u.index+1):Fn(f,u.index-1))!==null&&a!==void 0?a:null;var l;if(p)return(l=p.key)!==null&&l!==void 0?l:null;var s;if(this.focusMode==="row")return(s=u.parentKey)!==null&&s!==void 0?s:null;var d;return(d=this.direction==="rtl"?this.getLastKey(t):this.getFirstKey(t))!==null&&d!==void 0?d:null}return null}getFirstKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var i;let d=this.collection.getItem(r.parentKey);if(!d)return null;var a;return(a=(i=Ut(Be(d,this.collection)))===null||i===void 0?void 0:i.key)!==null&&a!==void 0?a:null}}if(n=this.findNextKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;var s;n=(s=(l=Ut(Be(d,this.collection)))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getLastKey(t,u){let n=t??null,r;if(n!=null){if(r=this.collection.getItem(n),!r)return null;if(this.isCell(r)&&!u&&r.parentKey!=null){var i;let d=this.collection.getItem(r.parentKey);if(!d)return null;let c=Be(d,this.collection);var a;return(a=(i=Zt(c))===null||i===void 0?void 0:i.key)!==null&&a!==void 0?a:null}}if(n=this.findPreviousKey(void 0,d=>d.type==="item"),n!=null&&(r&&this.isCell(r)&&u||this.focusMode==="cell")){var l;let d=this.collection.getItem(n);if(!d)return null;let c=Be(d,this.collection);var s;n=(s=(l=Zt(c))===null||l===void 0?void 0:l.key)!==null&&s!==void 0?s:null}return n}getKeyPageAbove(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>r&&u!=null;){var i;if(u=(i=this.getKeyAbove(u))!==null&&i!==void 0?i:null,u==null)break;n=this.layoutDelegate.getItemRect(u)}return u}getKeyPageBelow(t){let u=t,n=this.layoutDelegate.getItemRect(u);if(!n)return null;let r=this.layoutDelegate.getVisibleRect().height,i=Math.min(this.layoutDelegate.getContentSize().height,n.y+r);for(;n&&n.y+n.height<i;){let a=this.getKeyBelow(u);if(a==null)break;n=this.layoutDelegate.getItemRect(a),u=a}return u}getKeyForSearch(t,u){let n=u??null;if(!this.collator)return null;let r=this.collection;if(n=u??this.getFirstKey(),n==null)return null;let i=r.getItem(n);if(!i)return null;var a;i.type==="cell"&&(n=(a=i.parentKey)!==null&&a!==void 0?a:null);let l=!1;for(;n!=null;){let c=r.getItem(n);if(!c)return null;if(c.textValue){let f=c.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){var s,d;return this.isRow(c)&&this.focusMode==="cell"?(d=(s=Ut(Be(c,this.collection)))===null||s===void 0?void 0:s.key)!==null&&d!==void 0?d:null:c.key}}n=this.findNextKey(n,f=>f.type==="item"),n==null&&!l&&(n=this.getFirstKey(),l=!0)}return null}constructor(t){if(this.collection=t.collection,this.disabledKeys=t.disabledKeys,this.disabledBehavior=t.disabledBehavior||"all",this.direction=t.direction,this.collator=t.collator,!t.layout&&!t.ref)throw new Error("Either a layout or a ref must be specified.");this.layoutDelegate=t.layoutDelegate||(t.layout?new SD(t.layout):new tl(t.ref)),this.focusMode=t.focusMode||"row"}}class SD{getContentSize(){return this.layout.getContentSize()}getItemRect(t){var u;return((u=this.layout.getLayoutInfo(t))===null||u===void 0?void 0:u.rect)||null}getVisibleRect(){return this.layout.virtualizer.visibleRect}constructor(t){this.layout=t}}const ao=new WeakMap;var fm={};fm={deselectedItem:e=>`${e.item} غير المحدد`,longPressToSelect:"اضغط مطولًا للدخول إلى وضع التحديد.",select:"تحديد",selectedAll:"جميع العناصر المحددة.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"لم يتم تحديد عناصر",one:()=>`${t.number(e.count)} عنصر محدد`,other:()=>`${t.number(e.count)} عنصر محدد`})}.`,selectedItem:e=>`${e.item} المحدد`};var pm={};pm={deselectedItem:e=>`${e.item} не е избран.`,longPressToSelect:"Натиснете и задръжте за да влезете в избирателен режим.",select:"Изберете",selectedAll:"Всички елементи са избрани.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Няма избрани елементи",one:()=>`${t.number(e.count)} избран елемент`,other:()=>`${t.number(e.count)} избрани елементи`})}.`,selectedItem:e=>`${e.item} избран.`};var hm={};hm={deselectedItem:e=>`Položka ${e.item} není vybrána.`,longPressToSelect:"Dlouhým stisknutím přejdete do režimu výběru.",select:"Vybrat",selectedAll:"Vybrány všechny položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nevybrány žádné položky",one:()=>`Vybrána ${t.number(e.count)} položka`,other:()=>`Vybráno ${t.number(e.count)} položek`})}.`,selectedItem:e=>`Vybrána položka ${e.item}.`};var mm={};mm={deselectedItem:e=>`${e.item} ikke valgt.`,longPressToSelect:"Lav et langt tryk for at aktivere valgtilstand.",select:"Vælg",selectedAll:"Alle elementer valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer valgt",one:()=>`${t.number(e.count)} element valgt`,other:()=>`${t.number(e.count)} elementer valgt`})}.`,selectedItem:e=>`${e.item} valgt.`};var bm={};bm={deselectedItem:e=>`${e.item} nicht ausgewählt.`,longPressToSelect:"Gedrückt halten, um Auswahlmodus zu öffnen.",select:"Auswählen",selectedAll:"Alle Elemente ausgewählt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Keine Elemente ausgewählt",one:()=>`${t.number(e.count)} Element ausgewählt`,other:()=>`${t.number(e.count)} Elemente ausgewählt`})}.`,selectedItem:e=>`${e.item} ausgewählt.`};var gm={};gm={deselectedItem:e=>`Δεν επιλέχθηκε το στοιχείο ${e.item}.`,longPressToSelect:"Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",select:"Επιλογή",selectedAll:"Επιλέχθηκαν όλα τα στοιχεία.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Δεν επιλέχθηκαν στοιχεία",one:()=>`Επιλέχθηκε ${t.number(e.count)} στοιχείο`,other:()=>`Επιλέχθηκαν ${t.number(e.count)} στοιχεία`})}.`,selectedItem:e=>`Επιλέχθηκε το στοιχείο ${e.item}.`};var $m={};$m={deselectedItem:e=>`${e.item} not selected.`,select:"Select",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"No items selected",one:()=>`${t.number(e.count)} item selected`,other:()=>`${t.number(e.count)} items selected`})}.`,selectedAll:"All items selected.",selectedItem:e=>`${e.item} selected.`,longPressToSelect:"Long press to enter selection mode."};var ym={};ym={deselectedItem:e=>`${e.item} no seleccionado.`,longPressToSelect:"Mantenga pulsado para abrir el modo de selección.",select:"Seleccionar",selectedAll:"Todos los elementos seleccionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ningún elemento seleccionado",one:()=>`${t.number(e.count)} elemento seleccionado`,other:()=>`${t.number(e.count)} elementos seleccionados`})}.`,selectedItem:e=>`${e.item} seleccionado.`};var vm={};vm={deselectedItem:e=>`${e.item} pole valitud.`,longPressToSelect:"Valikurežiimi sisenemiseks vajutage pikalt.",select:"Vali",selectedAll:"Kõik üksused valitud.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Üksusi pole valitud",one:()=>`${t.number(e.count)} üksus valitud`,other:()=>`${t.number(e.count)} üksust valitud`})}.`,selectedItem:e=>`${e.item} valitud.`};var Dm={};Dm={deselectedItem:e=>`Kohdetta ${e.item} ei valittu.`,longPressToSelect:"Siirry valintatilaan painamalla pitkään.",select:"Valitse",selectedAll:"Kaikki kohteet valittu.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ei yhtään kohdetta valittu",one:()=>`${t.number(e.count)} kohde valittu`,other:()=>`${t.number(e.count)} kohdetta valittu`})}.`,selectedItem:e=>`${e.item} valittu.`};var xm={};xm={deselectedItem:e=>`${e.item} non sélectionné.`,longPressToSelect:"Appuyez de manière prolongée pour passer en mode de sélection.",select:"Sélectionner",selectedAll:"Tous les éléments sélectionnés.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Aucun élément sélectionné",one:()=>`${t.number(e.count)} élément sélectionné`,other:()=>`${t.number(e.count)} éléments sélectionnés`})}.`,selectedItem:e=>`${e.item} sélectionné.`};var Cm={};Cm={deselectedItem:e=>`${e.item} לא נבחר.`,longPressToSelect:"הקשה ארוכה לכניסה למצב בחירה.",select:"בחר",selectedAll:"כל הפריטים נבחרו.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"לא נבחרו פריטים",one:()=>`פריט ${t.number(e.count)} נבחר`,other:()=>`${t.number(e.count)} פריטים נבחרו`})}.`,selectedItem:e=>`${e.item} נבחר.`};var Em={};Em={deselectedItem:e=>`Stavka ${e.item} nije odabrana.`,longPressToSelect:"Dugo pritisnite za ulazak u način odabira.",select:"Odaberite",selectedAll:"Odabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije odabrana nijedna stavka",one:()=>`Odabrana je ${t.number(e.count)} stavka`,other:()=>`Odabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`Stavka ${e.item} je odabrana.`};var km={};km={deselectedItem:e=>`${e.item} nincs kijelölve.`,longPressToSelect:"Nyomja hosszan a kijelöléshez.",select:"Kijelölés",selectedAll:"Az összes elem kijelölve.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Egy elem sincs kijelölve",one:()=>`${t.number(e.count)} elem kijelölve`,other:()=>`${t.number(e.count)} elem kijelölve`})}.`,selectedItem:e=>`${e.item} kijelölve.`};var Bm={};Bm={deselectedItem:e=>`${e.item} non selezionato.`,longPressToSelect:"Premi a lungo per passare alla modalità di selezione.",select:"Seleziona",selectedAll:"Tutti gli elementi selezionati.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nessun elemento selezionato",one:()=>`${t.number(e.count)} elemento selezionato`,other:()=>`${t.number(e.count)} elementi selezionati`})}.`,selectedItem:e=>`${e.item} selezionato.`};var Pm={};Pm={deselectedItem:e=>`${e.item} が選択されていません。`,longPressToSelect:"長押しして選択モードを開きます。",select:"選択",selectedAll:"すべての項目を選択しました。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"項目が選択されていません",one:()=>`${t.number(e.count)} 項目を選択しました`,other:()=>`${t.number(e.count)} 項目を選択しました`})}。`,selectedItem:e=>`${e.item} を選択しました。`};var Sm={};Sm={deselectedItem:e=>`${e.item}이(가) 선택되지 않았습니다.`,longPressToSelect:"선택 모드로 들어가려면 길게 누르십시오.",select:"선택",selectedAll:"모든 항목이 선택되었습니다.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"선택된 항목이 없습니다",one:()=>`${t.number(e.count)}개 항목이 선택되었습니다`,other:()=>`${t.number(e.count)}개 항목이 선택되었습니다`})}.`,selectedItem:e=>`${e.item}이(가) 선택되었습니다.`};var wm={};wm={deselectedItem:e=>`${e.item} nepasirinkta.`,longPressToSelect:"Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",select:"Pasirinkti",selectedAll:"Pasirinkti visi elementai.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nepasirinktas nė vienas elementas",one:()=>`Pasirinktas ${t.number(e.count)} elementas`,other:()=>`Pasirinkta elementų: ${t.number(e.count)}`})}.`,selectedItem:e=>`Pasirinkta: ${e.item}.`};var Am={};Am={deselectedItem:e=>`Vienums ${e.item} nav atlasīts.`,longPressToSelect:"Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",select:"Atlasīt",selectedAll:"Atlasīti visi vienumi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nav atlasīts neviens vienums",one:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`,other:()=>`Atlasīto vienumu skaits: ${t.number(e.count)}`})}.`,selectedItem:e=>`Atlasīts vienums ${e.item}.`};var Fm={};Fm={deselectedItem:e=>`${e.item} er ikke valgt.`,longPressToSelect:"Bruk et langt trykk for å gå inn i valgmodus.",select:"Velg",selectedAll:"Alle elementer er valgt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Ingen elementer er valgt",one:()=>`${t.number(e.count)} element er valgt`,other:()=>`${t.number(e.count)} elementer er valgt`})}.`,selectedItem:e=>`${e.item} er valgt.`};var Tm={};Tm={deselectedItem:e=>`${e.item} niet geselecteerd.`,longPressToSelect:"Druk lang om de selectiemodus te openen.",select:"Selecteren",selectedAll:"Alle items geselecteerd.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Geen items geselecteerd",one:()=>`${t.number(e.count)} item geselecteerd`,other:()=>`${t.number(e.count)} items geselecteerd`})}.`,selectedItem:e=>`${e.item} geselecteerd.`};var Im={};Im={deselectedItem:e=>`Nie zaznaczono ${e.item}.`,longPressToSelect:"Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",select:"Zaznacz",selectedAll:"Wszystkie zaznaczone elementy.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nie zaznaczono żadnych elementów",one:()=>`${t.number(e.count)} zaznaczony element`,other:()=>`${t.number(e.count)} zaznaczonych elementów`})}.`,selectedItem:e=>`Zaznaczono ${e.item}.`};var Rm={};Rm={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Mantenha pressionado para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var Km={};Km={deselectedItem:e=>`${e.item} não selecionado.`,longPressToSelect:"Prima continuamente para entrar no modo de seleção.",select:"Selecionar",selectedAll:"Todos os itens selecionados.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nenhum item selecionado",one:()=>`${t.number(e.count)} item selecionado`,other:()=>`${t.number(e.count)} itens selecionados`})}.`,selectedItem:e=>`${e.item} selecionado.`};var zm={};zm={deselectedItem:e=>`${e.item} neselectat.`,longPressToSelect:"Apăsați lung pentru a intra în modul de selectare.",select:"Selectare",selectedAll:"Toate elementele selectate.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Niciun element selectat",one:()=>`${t.number(e.count)} element selectat`,other:()=>`${t.number(e.count)} elemente selectate`})}.`,selectedItem:e=>`${e.item} selectat.`};var Mm={};Mm={deselectedItem:e=>`${e.item} не выбрано.`,longPressToSelect:"Нажмите и удерживайте для входа в режим выбора.",select:"Выбрать",selectedAll:"Выбраны все элементы.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Нет выбранных элементов",one:()=>`${t.number(e.count)} элемент выбран`,other:()=>`${t.number(e.count)} элементов выбрано`})}.`,selectedItem:e=>`${e.item} выбрано.`};var Nm={};Nm={deselectedItem:e=>`Nevybraté položky: ${e.item}.`,longPressToSelect:"Dlhším stlačením prejdite do režimu výberu.",select:"Vybrať",selectedAll:"Všetky vybraté položky.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Žiadne vybraté položky",one:()=>`${t.number(e.count)} vybratá položka`,other:()=>`Počet vybratých položiek:${t.number(e.count)}`})}.`,selectedItem:e=>`Vybraté položky: ${e.item}.`};var Vm={};Vm={deselectedItem:e=>`Element ${e.item} ni izbran.`,longPressToSelect:"Za izbirni način pritisnite in dlje časa držite.",select:"Izberite",selectedAll:"Vsi elementi so izbrani.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Noben element ni izbran",one:()=>`${t.number(e.count)} element je izbran`,other:()=>`${t.number(e.count)} elementov je izbranih`})}.`,selectedItem:e=>`Element ${e.item} je izbran.`};var _m={};_m={deselectedItem:e=>`${e.item} nije izabrano.`,longPressToSelect:"Dugo pritisnite za ulazak u režim biranja.",select:"Izaberite",selectedAll:"Izabrane su sve stavke.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Nije izabrana nijedna stavka",one:()=>`Izabrana je ${t.number(e.count)} stavka`,other:()=>`Izabrano je ${t.number(e.count)} stavki`})}.`,selectedItem:e=>`${e.item} je izabrano.`};var jm={};jm={deselectedItem:e=>`${e.item} ej markerat.`,longPressToSelect:"Tryck länge när du vill öppna väljarläge.",select:"Markera",selectedAll:"Alla markerade objekt.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Inga markerade objekt",one:()=>`${t.number(e.count)} markerat objekt`,other:()=>`${t.number(e.count)} markerade objekt`})}.`,selectedItem:e=>`${e.item} markerat.`};var Lm={};Lm={deselectedItem:e=>`${e.item} seçilmedi.`,longPressToSelect:"Seçim moduna girmek için uzun basın.",select:"Seç",selectedAll:"Tüm ögeler seçildi.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Hiçbir öge seçilmedi",one:()=>`${t.number(e.count)} öge seçildi`,other:()=>`${t.number(e.count)} öge seçildi`})}.`,selectedItem:e=>`${e.item} seçildi.`};var Om={};Om={deselectedItem:e=>`${e.item} не вибрано.`,longPressToSelect:"Виконайте довге натиснення, щоб перейти в режим вибору.",select:"Вибрати",selectedAll:"Усі елементи вибрано.",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"Жодних елементів не вибрано",one:()=>`${t.number(e.count)} елемент вибрано`,other:()=>`Вибрано елементів: ${t.number(e.count)}`})}.`,selectedItem:e=>`${e.item} вибрано.`};var Hm={};Hm={deselectedItem:e=>`未选择 ${e.item}。`,longPressToSelect:"长按以进入选择模式。",select:"选择",selectedAll:"已选择所有项目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未选择项目",one:()=>`已选择 ${t.number(e.count)} 个项目`,other:()=>`已选择 ${t.number(e.count)} 个项目`})}。`,selectedItem:e=>`已选择 ${e.item}。`};var Um={};Um={deselectedItem:e=>`未選取「${e.item}」。`,longPressToSelect:"長按以進入選擇模式。",select:"選取",selectedAll:"已選取所有項目。",selectedCount:(e,t)=>`${t.plural(e.count,{"=0":"未選取任何項目",one:()=>`已選取 ${t.number(e.count)} 個項目`,other:()=>`已選取 ${t.number(e.count)} 個項目`})}。`,selectedItem:e=>`已選取「${e.item}」。`};var Ki={};Ki={"ar-AE":fm,"bg-BG":pm,"cs-CZ":hm,"da-DK":mm,"de-DE":bm,"el-GR":gm,"en-US":$m,"es-ES":ym,"et-EE":vm,"fi-FI":Dm,"fr-FR":xm,"he-IL":Cm,"hr-HR":Em,"hu-HU":km,"it-IT":Bm,"ja-JP":Pm,"ko-KR":Sm,"lt-LT":wm,"lv-LV":Am,"nb-NO":Fm,"nl-NL":Tm,"pl-PL":Im,"pt-BR":Rm,"pt-PT":Km,"ro-RO":zm,"ru-RU":Mm,"sk-SK":Nm,"sl-SI":Vm,"sr-SP":_m,"sv-SE":jm,"tr-TR":Lm,"uk-UA":Om,"zh-CN":Hm,"zh-TW":Um};function wD(e){return e&&e.__esModule?e.default:e}function Wm(e,t){let{getRowText:u=l=>{var s,d,c,f;return(f=(s=(d=t.collection).getTextValue)===null||s===void 0?void 0:s.call(d,l))!==null&&f!==void 0?f:(c=t.collection.getItem(l))===null||c===void 0?void 0:c.textValue}}=e,n=xe(wD(Ki),"@react-aria/grid"),r=t.selectionManager.rawSelection,i=o.useRef(r),a=ee(()=>{var l;if(!t.selectionManager.isFocused||r===i.current){i.current=r;return}let s=Us(r,i.current),d=Us(i.current,r),c=t.selectionManager.selectionBehavior==="replace",f=[];if(t.selectionManager.selectedKeys.size===1&&c){let p=t.selectionManager.selectedKeys.keys().next().value;if(p!=null&&t.collection.getItem(p)){let h=u(p);h&&f.push(n.format("selectedItem",{item:h}))}}else if(s.size===1&&d.size===0){let p=s.keys().next().value;if(p!=null){let h=u(p);h&&f.push(n.format("selectedItem",{item:h}))}}else if(d.size===1&&s.size===0){let p=d.keys().next().value;if(p!=null&&t.collection.getItem(p)){let h=u(p);h&&f.push(n.format("deselectedItem",{item:h}))}}t.selectionManager.selectionMode==="multiple"&&(f.length===0||r==="all"||r.size>1||i.current==="all"||((l=i.current)===null||l===void 0?void 0:l.size)>1)&&f.push(r==="all"?n.format("selectedAll"):n.format("selectedCount",{count:r.size})),f.length>0&&St(f.join(" ")),i.current=r});Mn(()=>{if(t.selectionManager.isFocused)a();else{let l=requestAnimationFrame(a);return()=>cancelAnimationFrame(l)}},[r,t.selectionManager.isFocused])}function Us(e,t){let u=new Set;if(e==="all"||t==="all")return u;for(let n of e.keys())t.has(n)||u.add(n);return u}function AD(e){return e&&e.__esModule?e.default:e}function Gm(e){let t=xe(AD(Ki),"@react-aria/grid"),u=wl(),n=(u==="pointer"||u==="virtual"||u==null)&&typeof window<"u"&&"ontouchstart"in window,r=o.useMemo(()=>{let a=e.selectionManager.selectionMode,l=e.selectionManager.selectionBehavior,s;return n&&(s=t.format("longPressToSelect")),l==="replace"&&a!=="none"&&e.hasItemActions?s:void 0},[e.selectionManager.selectionMode,e.selectionManager.selectionBehavior,e.hasItemActions,t,n]);return It(r)}function FD(e,t,u){let{isVirtualized:n,disallowTypeAhead:r,keyboardDelegate:i,focusMode:a,scrollRef:l,getRowText:s,onRowAction:d,onCellAction:c,escapeKeyBehavior:f="clearSelection",shouldSelectOnPressUp:p}=e,{selectionManager:h}=t;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let m=pn({usage:"search",sensitivity:"base"}),{direction:g}=de(),$=t.selectionManager.disabledBehavior,v=o.useMemo(()=>i||new cm({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:$,ref:u,direction:g,collator:m,focusMode:a}),[i,t.collection,t.disabledKeys,$,u,g,m,a]),{collectionProps:C}=Ri({ref:u,selectionManager:h,keyboardDelegate:v,isVirtualized:n,scrollRef:l,disallowTypeAhead:r,escapeKeyBehavior:f}),D=ie(e.id);ao.set(t,{keyboardDelegate:v,actions:{onRowAction:d,onCellAction:c},shouldSelectOnPressUp:p});let x=Gm({selectionManager:h,hasItemActions:!!(d||c)}),k=H(e,{labelable:!0}),S=o.useCallback(w=>{if(h.isFocused){w.currentTarget.contains(w.target)||h.setFocused(!1);return}w.currentTarget.contains(w.target)&&h.setFocused(!0)},[h]),F=o.useMemo(()=>({onBlur:C.onBlur,onFocus:S}),[S,C.onBlur]),T=Gl(u,{isDisabled:t.collection.size!==0}),N=V(k,{role:"grid",id:D,"aria-multiselectable":h.selectionMode==="multiple"?"true":void 0},t.isKeyboardNavigationDisabled?F:C,t.collection.size===0&&{tabIndex:T?-1:0}||void 0,x);return n&&(N["aria-rowcount"]=t.collection.size,N["aria-colcount"]=t.collection.columnCount),Wm({getRowText:s},t),{gridProps:N}}function TD(){return{rowGroupProps:{role:"rowgroup"}}}function ID(e,t,u){var n,r;let{node:i,isVirtualized:a,shouldSelectOnPressUp:l,onAction:s}=e,{actions:d,shouldSelectOnPressUp:c}=ao.get(t),f=d.onRowAction?()=>{var $;return($=d.onRowAction)===null||$===void 0?void 0:$.call(d,i.key)}:s,{itemProps:p,...h}=hn({selectionManager:t.selectionManager,key:i.key,ref:u,isVirtualized:a,shouldSelectOnPressUp:c||l,onAction:f||!(i==null||(n=i.props)===null||n===void 0)&&n.onAction?et(i==null||(r=i.props)===null||r===void 0?void 0:r.onAction,f):void 0,isDisabled:t.collection.size===0}),m=t.selectionManager.isSelected(i.key),g={role:"row","aria-selected":t.selectionManager.selectionMode!=="none"?m:void 0,"aria-disabled":h.isDisabled||void 0,...p};return a&&(g["aria-rowindex"]=i.index+1),{rowProps:g,...h}}function Zm(e,t,u){let{node:n,isVirtualized:r,focusMode:i="child",shouldSelectOnPressUp:a,onAction:l}=e,{direction:s}=de(),{keyboardDelegate:d,actions:{onCellAction:c}}=ao.get(t),f=o.useRef(null),p=()=>{if(u.current){let D=we(u.current);if(i==="child"){if(u.current.contains(document.activeElement)&&u.current!==document.activeElement)return;let x=t.selectionManager.childFocusStrategy==="last"?va(D):D.firstChild();if(x){Ee(x);return}}(f.current!=null&&n.key!==f.current||!u.current.contains(document.activeElement))&&Ee(u.current)}},{itemProps:h,isPressed:m}=hn({selectionManager:t.selectionManager,key:n.key,ref:u,isVirtualized:r,focus:p,shouldSelectOnPressUp:a,onAction:c?()=>c(n.key):l,isDisabled:t.collection.size===0}),g=D=>{if(!D.currentTarget.contains(D.target)||t.isKeyboardNavigationDisabled||!u.current||!document.activeElement)return;let x=we(u.current);switch(x.currentNode=document.activeElement,D.key){case"ArrowLeft":{let w=s==="rtl"?x.nextNode():x.previousNode();if(i==="child"&&w===u.current&&(w=null),D.preventDefault(),D.stopPropagation(),w)Ee(w),je(w,{containingElement:Me(u.current)});else{var k;if(((k=d.getKeyLeftOf)===null||k===void 0?void 0:k.call(d,n.key))!==n.key){var S;(S=u.current.parentElement)===null||S===void 0||S.dispatchEvent(new KeyboardEvent(D.nativeEvent.type,D.nativeEvent));break}i==="cell"&&s==="rtl"?(Ee(u.current),je(u.current,{containingElement:Me(u.current)})):(x.currentNode=u.current,w=s==="rtl"?x.firstChild():va(x),w&&(Ee(w),je(w,{containingElement:Me(u.current)})))}break}case"ArrowRight":{let w=s==="rtl"?x.previousNode():x.nextNode();if(i==="child"&&w===u.current&&(w=null),D.preventDefault(),D.stopPropagation(),w)Ee(w),je(w,{containingElement:Me(u.current)});else{var F;if(((F=d.getKeyRightOf)===null||F===void 0?void 0:F.call(d,n.key))!==n.key){var T;(T=u.current.parentElement)===null||T===void 0||T.dispatchEvent(new KeyboardEvent(D.nativeEvent.type,D.nativeEvent));break}i==="cell"&&s==="ltr"?(Ee(u.current),je(u.current,{containingElement:Me(u.current)})):(x.currentNode=u.current,w=s==="rtl"?va(x):x.firstChild(),w&&(Ee(w),je(w,{containingElement:Me(u.current)})))}break}case"ArrowUp":case"ArrowDown":if(!D.altKey&&u.current.contains(D.target)){var N;D.stopPropagation(),D.preventDefault(),(N=u.current.parentElement)===null||N===void 0||N.dispatchEvent(new KeyboardEvent(D.nativeEvent.type,D.nativeEvent))}break}},$=D=>{if(f.current=n.key,D.target!==u.current){Qt()||t.selectionManager.setFocusedKey(n.key);return}requestAnimationFrame(()=>{i==="child"&&document.activeElement===u.current&&p()})},v=V(h,{role:"gridcell",onKeyDownCapture:g,"aria-colspan":n.colSpan,"aria-colindex":n.colIndex!=null?n.colIndex+1:void 0,colSpan:r?void 0:n.colSpan,onFocus:$});var C;return r&&(v["aria-colindex"]=((C=n.colIndex)!==null&&C!==void 0?C:n.index)+1),a&&v.tabIndex!=null&&v.onPointerDown==null&&(v.onPointerDown=D=>{let x=D.currentTarget,k=x.getAttribute("tabindex");x.removeAttribute("tabindex"),requestAnimationFrame(()=>{k!=null&&x.setAttribute("tabindex",k)})}),{gridCellProps:v,isPressed:m}}function va(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}function RD(e){return e&&e.__esModule?e.default:e}function KD(e,t){let{key:u}=e,n=t.selectionManager,r=ie(),i=!t.selectionManager.canSelectItem(u),a=t.selectionManager.isSelected(u),l=()=>n.toggleSelection(u);const s=xe(RD(Ki),"@react-aria/grid");return{checkboxProps:{id:r,"aria-label":s.format("select"),isSelected:a,isDisabled:i,onChange:l}}}function zD(e,t,u){let{isVirtualized:n,keyboardDelegate:r,layoutDelegate:i,onAction:a,disallowTypeAhead:l,linkBehavior:s="action",keyboardNavigationBehavior:d="arrow",escapeKeyBehavior:c="clearSelection",shouldSelectOnPressUp:f}=e;!e["aria-label"]&&!e["aria-labelledby"]&&console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:p}=Ql({selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,ref:u,keyboardDelegate:r,layoutDelegate:i,isVirtualized:n,selectOnFocus:t.selectionManager.selectionBehavior==="replace",shouldFocusWrap:e.shouldFocusWrap,linkBehavior:s,disallowTypeAhead:l,autoFocus:e.autoFocus,escapeKeyBehavior:c}),h=ie(e.id);io.set(t,{id:h,onAction:a,linkBehavior:s,keyboardNavigationBehavior:d,shouldSelectOnPressUp:f});let m=Gm({selectionManager:t.selectionManager,hasItemActions:!!a}),g=Gl(u,{isDisabled:t.collection.size!==0}),$=H(e,{labelable:!0}),v=V($,{role:"grid",id:h,"aria-multiselectable":t.selectionManager.selectionMode==="multiple"?"true":void 0},t.collection.size===0?{tabIndex:g?-1:0}:p,m);return n&&(v["aria-rowcount"]=t.collection.size,v["aria-colcount"]=1),Wm({},t),{gridProps:v}}const Ws={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function MD(e,t,u){var n,r;let{node:i,isVirtualized:a}=e,{direction:l}=de(),{onAction:s,linkBehavior:d,keyboardNavigationBehavior:c,shouldSelectOnPressUp:f}=io.get(t),p=dt(),h=o.useRef(null),m=()=>{var E;u.current!==null&&(h.current!=null&&i.key!==h.current||!(!((E=u.current)===null||E===void 0)&&E.contains(document.activeElement)))&&Ee(u.current)},g={},$=e.hasChildItems,v=t.selectionManager.isLink(i.key);if(i!=null&&"expandedKeys"in t){var C,D,x;let E=(C=(D=t.collection).getChildren)===null||C===void 0?void 0:C.call(D,i.key);$=$||[...E??[]].length>1,s==null&&!v&&t.selectionManager.selectionMode==="none"&&$&&(s=()=>t.toggleKey(i.key));let P=$?t.expandedKeys.has(i.key):void 0,M=1;var k;if(i.level>0&&(i==null?void 0:i.parentKey)!=null){let R=t.collection.getItem(i.parentKey);if(R){var S,F;let z=(S=(F=t.collection).getChildren)===null||S===void 0?void 0:S.call(F,R.key);M=Zt(z).index+1}}else M=((k=(x=[...t.collection].filter(R=>R.level===0).at(-1))===null||x===void 0?void 0:x.index)!==null&&k!==void 0?k:0)+1;g={"aria-expanded":P,"aria-level":i.level+1,"aria-posinset":(i==null?void 0:i.index)+1,"aria-setsize":M}}let{itemProps:T,...N}=hn({selectionManager:t.selectionManager,key:i.key,ref:u,isVirtualized:a,shouldSelectOnPressUp:e.shouldSelectOnPressUp||f,onAction:s||!((n=i.props)===null||n===void 0)&&n.onAction?et((r=i.props)===null||r===void 0?void 0:r.onAction,s?()=>s(i.key):void 0):void 0,focus:m,linkBehavior:d}),w=E=>{if(!E.currentTarget.contains(E.target)||!u.current||!document.activeElement)return;let P=we(u.current);if(P.currentNode=document.activeElement,"expandedKeys"in t&&document.activeElement===u.current){if(E.key===Ws.expand[l]&&t.selectionManager.focusedKey===i.key&&$&&!t.expandedKeys.has(i.key)){t.toggleKey(i.key),E.stopPropagation();return}else if(E.key===Ws.collapse[l]&&t.selectionManager.focusedKey===i.key&&$&&t.expandedKeys.has(i.key)){t.toggleKey(i.key),E.stopPropagation();return}}switch(E.key){case"ArrowLeft":if(c==="arrow"){let R=l==="rtl"?P.nextNode():P.previousNode();if(R)E.preventDefault(),E.stopPropagation(),Ee(R),je(R,{containingElement:Me(u.current)});else if(E.preventDefault(),E.stopPropagation(),l==="rtl")Ee(u.current),je(u.current,{containingElement:Me(u.current)});else{P.currentNode=u.current;let z=Gs(P);z&&(Ee(z),je(z,{containingElement:Me(u.current)}))}}break;case"ArrowRight":if(c==="arrow"){let R=l==="rtl"?P.previousNode():P.nextNode();if(R)E.preventDefault(),E.stopPropagation(),Ee(R),je(R,{containingElement:Me(u.current)});else if(E.preventDefault(),E.stopPropagation(),l==="ltr")Ee(u.current),je(u.current,{containingElement:Me(u.current)});else{P.currentNode=u.current;let z=Gs(P);z&&(Ee(z),je(z,{containingElement:Me(u.current)}))}}break;case"ArrowUp":case"ArrowDown":if(!E.altKey&&u.current.contains(E.target)){var M;E.stopPropagation(),E.preventDefault(),(M=u.current.parentElement)===null||M===void 0||M.dispatchEvent(new KeyboardEvent(E.nativeEvent.type,E.nativeEvent))}break}},y=E=>{if(h.current=i.key,E.target!==u.current){Qt()||t.selectionManager.setFocusedKey(i.key);return}},A=E=>{if(!(!E.currentTarget.contains(E.target)||!u.current||!document.activeElement))switch(E.key){case"Tab":if(c==="tab"){let P=we(u.current,{tabbable:!0});P.currentNode=document.activeElement,(E.shiftKey?P.previousNode():P.nextNode())&&E.stopPropagation()}}},I=Dl(i.props),K=N.hasAction?I:{},L=V(T,K,{role:"row",onKeyDownCapture:w,onKeyDown:A,onFocus:y,"aria-label":i.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(i.key)?t.selectionManager.isSelected(i.key):void 0,"aria-disabled":t.selectionManager.isDisabled(i.key)||void 0,"aria-labelledby":p&&i.textValue?`${Hs(t,i.key)} ${p}`:void 0,id:Hs(t,i.key)});a&&(L["aria-rowindex"]=i.index+1);let B={role:"gridcell","aria-colindex":1};return{rowProps:{...V(L,g)},gridCellProps:B,descriptionProps:{id:p},...N}}function Gs(e){let t=null,u=null;do u=e.lastChild(),u&&(t=u);while(u);return t}const qm=1,Da=Symbol.for("react-aria-landmark-manager");function ND(e){return document.addEventListener("react-aria-landmark-manager-change",e),()=>document.removeEventListener("react-aria-landmark-manager-change",e)}function Zs(){if(typeof document>"u")return null;let e=document[Da];return e&&e.version>=qm?e:(document[Da]=new _D,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[Da])}function VD(){return Fl.useSyncExternalStore(ND,Zs,Zs)}class _D{setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(t,u){var n,r;(r=this.landmarks.find(i=>i.ref.current===t))===null||r===void 0||(n=r.focus)===null||n===void 0||n.call(r,u)}getLandmarksByRole(t){return new Set(this.landmarks.filter(u=>u.role===t))}getLandmarkByRole(t){return this.landmarks.find(u=>u.role===t)}addLandmark(t){if(this.setupIfNeeded(),this.landmarks.find(r=>r.ref===t.ref)||!t.ref.current)return;if(this.landmarks.filter(r=>r.role==="main").length>1&&process.env.NODE_ENV!=="production"&&console.error('Page can contain no more than one landmark with the role "main".'),this.landmarks.length===0){this.landmarks=[t],this.checkLabels(t.role);return}let u=0,n=this.landmarks.length-1;for(;u<=n;){let r=Math.floor((u+n)/2),i=t.ref.current.compareDocumentPosition(this.landmarks[r].ref.current);!!(i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS)?u=r+1:n=r-1}this.landmarks.splice(u,0,t),this.checkLabels(t.role)}updateLandmark(t){let u=this.landmarks.findIndex(n=>n.ref===t.ref);u>=0&&(this.landmarks[u]={...this.landmarks[u],...t},this.checkLabels(this.landmarks[u].role))}removeLandmark(t){this.landmarks=this.landmarks.filter(u=>u.ref!==t),this.teardownIfNeeded()}checkLabels(t){let u=this.getLandmarksByRole(t);if(u.size>1){let n=[...u].filter(r=>!r.label);if(n.length>0&&process.env.NODE_ENV!=="production")console.warn(`Page contains more than one landmark with the '${t}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `,n.map(r=>r.ref.current));else if(process.env.NODE_ENV!=="production"){let r=[...u].map(a=>a.label);r.filter((a,l)=>r.indexOf(a)!==l).forEach(a=>{console.warn(`Page contains more than one landmark with the '${t}' role and '${a}' label. If two or more landmarks on a page share the same role, they must have unique labels: `,[...u].filter(l=>l.label===a).map(l=>l.ref.current))})}}}closestLandmark(t){let u=new Map(this.landmarks.map(r=>[r.ref.current,r])),n=t;for(;n&&!u.has(n)&&n!==document.body&&n.parentElement;)n=n.parentElement;return u.get(n)}getNextLandmark(t,{backward:u}){var n;let r=this.closestLandmark(t),i=u?this.landmarks.length-1:0;r&&(i=this.landmarks.indexOf(r)+(u?-1:1));let a=()=>{if(i<0){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;i=this.landmarks.length-1}else if(i>=this.landmarks.length){if(!t.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;i=0}return i<0||i>=this.landmarks.length};if(a())return;let l=i;for(;!((n=this.landmarks[i].ref.current)===null||n===void 0)&&n.closest("[aria-hidden=true]");){if(i+=u?-1:1,a())return;if(i===l)break}return this.landmarks[i]}f6Handler(t){t.key==="F6"&&(t.altKey?this.focusMain():this.navigate(t.target,t.shiftKey))&&(t.preventDefault(),t.stopPropagation())}focusMain(){let t=this.getLandmarkByRole("main");return t&&t.ref.current&&document.contains(t.ref.current)?(this.focusLandmark(t.ref.current,"forward"),!0):!1}navigate(t,u){let n=this.getNextLandmark(t,{backward:u});if(!n)return!1;if(n.lastFocused){let r=n.lastFocused;if(document.body.contains(r))return r.focus(),!0}return n.ref.current&&document.contains(n.ref.current)?(this.focusLandmark(n.ref.current,u?"backward":"forward"),!0):!1}focusinHandler(t){let u=this.closestLandmark(t.target);u&&u.ref.current!==t.target&&this.updateLandmark({ref:u.ref,lastFocused:t.target});let n=t.relatedTarget;if(n){let r=this.closestLandmark(n);r&&r.ref.current===n&&r.blur()}}focusoutHandler(t){let u=t.target,n=t.relatedTarget;if(!n||n===document){let r=this.closestLandmark(u);r&&r.ref.current===u&&r.blur()}}createLandmarkController(){let t=this;return t.refCount++,t.setupIfNeeded(),{navigate(u,n){let r=(n==null?void 0:n.from)||document.activeElement;return t.navigate(r,u==="backward")},focusNext(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!1)},focusPrevious(u){let n=(u==null?void 0:u.from)||document.activeElement;return t.navigate(n,!0)},focusMain(){return t.focusMain()},dispose(){t&&(t.refCount--,t.teardownIfNeeded(),t=null)}}}registerLandmark(t){return this.landmarks.find(u=>u.ref===t.ref)?this.updateLandmark(t):this.addLandmark(t),()=>this.removeLandmark(t.ref)}constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=qm,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function jD(e,t){const{role:u,"aria-label":n,"aria-labelledby":r,focus:i}=e;let a=VD(),l=n||r,[s,d]=o.useState(!1),c=o.useCallback(()=>{d(!0)},[d]),f=o.useCallback(()=>{d(!1)},[d]);return J(()=>{if(a)return a.registerLandmark({ref:t,label:l,role:u,focus:i||c,blur:f})},[a,l,t,u,i,c,f]),o.useEffect(()=>{var p;s&&((p=t.current)===null||p===void 0||p.focus())},[s,t]),{landmarkProps:{role:u,tabIndex:s?-1:void 0,"aria-label":n,"aria-labelledby":r}}}function LD(e){let{value:t=0,minValue:u=0,maxValue:n=100,valueLabel:r,isIndeterminate:i,formatOptions:a={style:"percent"}}=e,l=H(e,{labelable:!0}),{labelProps:s,fieldProps:d}=ql({...e,labelElementType:"span"});t=Vn(t,u,n);let c=(t-u)/(n-u),f=Py(a);if(!i&&!r){let p=a.style==="percent"?c:t;r=f.format(p)}return{progressBarProps:V(l,{...d,"aria-valuenow":i?void 0:t,"aria-valuemin":u,"aria-valuemax":n,"aria-valuetext":i?void 0:r,role:"progressbar"}),labelProps:s}}const Ym=new WeakMap;function OD(e,t,u){let{value:n,children:r,"aria-label":i,"aria-labelledby":a}=e;const l=e.isDisabled||t.isDisabled;let s=r!=null,d=i!=null||a!=null;!s&&!d&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let c=t.selectedValue===n,f=T=>{T.stopPropagation(),t.setSelectedValue(n)},{pressProps:p,isPressed:h}=tt({isDisabled:l}),{pressProps:m,isPressed:g}=tt({isDisabled:l,onPress(){var T;t.setSelectedValue(n),(T=u.current)===null||T===void 0||T.focus()}}),{focusableProps:$}=tu(V(e,{onFocus:()=>t.setLastFocusedValue(n)}),u),v=V(p,$),C=H(e,{labelable:!0}),D=-1;t.selectedValue!=null?t.selectedValue===n&&(D=0):(t.lastFocusedValue===n||t.lastFocusedValue==null)&&(D=0),l&&(D=void 0);let{name:x,descriptionId:k,errorMessageId:S,validationBehavior:F}=Ym.get(t);return tr(u,t.selectedValue,t.setSelectedValue),or({validationBehavior:F},t,u),{labelProps:V(m,{onClick:T=>T.preventDefault()}),inputProps:V(C,{...v,type:"radio",name:x,tabIndex:D,disabled:l,required:t.isRequired&&F==="native",checked:c,value:n,onChange:f,"aria-describedby":[e["aria-describedby"],t.isInvalid?S:null,k].filter(Boolean).join(" ")||void 0}),isDisabled:l,isSelected:c,isPressed:h||g}}function HD(e,t){let{name:u,isReadOnly:n,isRequired:r,isDisabled:i,orientation:a="vertical",validationBehavior:l="aria"}=e,{direction:s}=de(),{isInvalid:d,validationErrors:c,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:h,descriptionProps:m,errorMessageProps:g}=gu({...e,labelElementType:"span",isInvalid:t.isInvalid,errorMessage:e.errorMessage||c}),$=H(e,{labelable:!0}),{focusWithinProps:v}=yt({onBlurWithin(x){var k;(k=e.onBlur)===null||k===void 0||k.call(e,x),t.selectedValue||t.setLastFocusedValue(null)},onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange}),C=x=>{let k;switch(x.key){case"ArrowRight":s==="rtl"&&a!=="vertical"?k="prev":k="next";break;case"ArrowLeft":s==="rtl"&&a!=="vertical"?k="next":k="prev";break;case"ArrowDown":k="next";break;case"ArrowUp":k="prev";break;default:return}x.preventDefault();let S=we(x.currentTarget,{from:x.target}),F;k==="next"?(F=S.nextNode(),F||(S.currentNode=x.currentTarget,F=S.firstChild())):(F=S.previousNode(),F||(S.currentNode=x.currentTarget,F=S.lastChild())),F&&(F.focus(),t.setSelectedValue(F.value))},D=ie(u);return Ym.set(t,{name:D,descriptionId:m.id,errorMessageId:g.id,validationBehavior:l}),{radioGroupProps:V($,{role:"radiogroup",onKeyDown:C,"aria-invalid":t.isInvalid||void 0,"aria-errormessage":e["aria-errormessage"],"aria-readonly":n||void 0,"aria-required":r||void 0,"aria-disabled":i||void 0,"aria-orientation":a,...h,...v}),labelProps:p,descriptionProps:m,errorMessageProps:g,isInvalid:d,validationErrors:c,validationDetails:f}}var Jm={};Jm={"Clear search":"مسح البحث"};var Xm={};Xm={"Clear search":"Изчистване на търсене"};var Qm={};Qm={"Clear search":"Vymazat hledání"};var e1={};e1={"Clear search":"Ryd søgning"};var t1={};t1={"Clear search":"Suche zurücksetzen"};var u1={};u1={"Clear search":"Απαλοιφή αναζήτησης"};var n1={};n1={"Clear search":"Clear search"};var r1={};r1={"Clear search":"Borrar búsqueda"};var i1={};i1={"Clear search":"Tühjenda otsing"};var a1={};a1={"Clear search":"Tyhjennä haku"};var l1={};l1={"Clear search":"Effacer la recherche"};var o1={};o1={"Clear search":"נקה חיפוש"};var s1={};s1={"Clear search":"Obriši pretragu"};var d1={};d1={"Clear search":"Keresés törlése"};var c1={};c1={"Clear search":"Cancella ricerca"};var f1={};f1={"Clear search":"検索をクリア"};var p1={};p1={"Clear search":"검색 지우기"};var h1={};h1={"Clear search":"Išvalyti iešką"};var m1={};m1={"Clear search":"Notīrīt meklēšanu"};var b1={};b1={"Clear search":"Tøm søk"};var g1={};g1={"Clear search":"Zoekactie wissen"};var $1={};$1={"Clear search":"Wyczyść zawartość wyszukiwania"};var y1={};y1={"Clear search":"Limpar pesquisa"};var v1={};v1={"Clear search":"Limpar pesquisa"};var D1={};D1={"Clear search":"Ştergeţi căutarea"};var x1={};x1={"Clear search":"Очистить поиск"};var C1={};C1={"Clear search":"Vymazať vyhľadávanie"};var E1={};E1={"Clear search":"Počisti iskanje"};var k1={};k1={"Clear search":"Obriši pretragu"};var B1={};B1={"Clear search":"Rensa sökning"};var P1={};P1={"Clear search":"Aramayı temizle"};var S1={};S1={"Clear search":"Очистити пошук"};var w1={};w1={"Clear search":"清除搜索"};var A1={};A1={"Clear search":"清除搜尋條件"};var F1={};F1={"ar-AE":Jm,"bg-BG":Xm,"cs-CZ":Qm,"da-DK":e1,"de-DE":t1,"el-GR":u1,"en-US":n1,"es-ES":r1,"et-EE":i1,"fi-FI":a1,"fr-FR":l1,"he-IL":o1,"hr-HR":s1,"hu-HU":d1,"it-IT":c1,"ja-JP":f1,"ko-KR":p1,"lt-LT":h1,"lv-LV":m1,"nb-NO":b1,"nl-NL":g1,"pl-PL":$1,"pt-BR":y1,"pt-PT":v1,"ro-RO":D1,"ru-RU":x1,"sk-SK":C1,"sl-SI":E1,"sr-SP":k1,"sv-SE":B1,"tr-TR":P1,"uk-UA":S1,"zh-CN":w1,"zh-TW":A1};function UD(e){return e&&e.__esModule?e.default:e}function WD(e,t,u){let n=xe(UD(F1),"@react-aria/searchfield"),{isDisabled:r,isReadOnly:i,onSubmit:a,onClear:l,type:s="search"}=e,d=v=>{const C=v.key;C==="Enter"&&(r||i)&&v.preventDefault(),!(r||i)&&(C==="Enter"&&a&&(v.preventDefault(),a(t.value)),C==="Escape"&&(t.value===""&&(!u.current||u.current.value==="")?v.continuePropagation():(v.preventDefault(),t.setValue(""),l&&l())))},c=()=>{t.setValue(""),l&&l()},f=()=>{var v;(v=u.current)===null||v===void 0||v.focus()},{labelProps:p,inputProps:h,descriptionProps:m,errorMessageProps:g,...$}=Jl({...e,value:t.value,onChange:t.setValue,onKeyDown:i?e.onKeyDown:et(d,e.onKeyDown),type:s},u);return{labelProps:p,inputProps:{...h,defaultValue:void 0},clearButtonProps:{"aria-label":n.format("Clear search"),excludeFromTabOrder:!0,preventFocusOnPress:!0,isDisabled:r||i,onPress:c,onPressStart:f},descriptionProps:m,errorMessageProps:g,...$}}const lo=new WeakMap;function nl(e){return typeof e=="string"?e.replace(/\s*/g,""):""+e}function GD(e,t){let u=lo.get(e);if(!u)throw new Error("Unknown grid");return`${u}-${nl(t)}`}function T1(e,t,u){let n=lo.get(e);if(!n)throw new Error("Unknown grid");return`${n}-${nl(t)}-${nl(u)}`}function I1(e,t){return[...e.collection.rowHeaderColumnKeys].map(u=>T1(e,t,u)).join(" ")}var R1={};R1={ascending:"تصاعدي",ascendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تصاعدي`,columnSize:e=>`${e.value} بالبكسل`,descending:"تنازلي",descendingSort:e=>`ترتيب حسب العمود ${e.columnName} بترتيب تنازلي`,resizerDescription:"اضغط على مفتاح Enter لبدء تغيير الحجم",select:"تحديد",selectAll:"تحديد الكل",sortable:"عمود قابل للترتيب"};var K1={};K1={ascending:"възходящ",ascendingSort:e=>`сортирано по колона ${e.columnName} във възходящ ред`,columnSize:e=>`${e.value} пиксела`,descending:"низходящ",descendingSort:e=>`сортирано по колона ${e.columnName} в низходящ ред`,resizerDescription:"Натиснете „Enter“, за да започнете да преоразмерявате",select:"Изберете",selectAll:"Изберете всичко",sortable:"сортираща колона"};var z1={};z1={ascending:"vzestupně",ascendingSort:e=>`řazeno vzestupně podle sloupce ${e.columnName}`,columnSize:e=>`${e.value} pixelů`,descending:"sestupně",descendingSort:e=>`řazeno sestupně podle sloupce ${e.columnName}`,resizerDescription:"Stisknutím klávesy Enter začnete měnit velikost",select:"Vybrat",selectAll:"Vybrat vše",sortable:"sloupec s možností řazení"};var M1={};M1={ascending:"stigende",ascendingSort:e=>`sorteret efter kolonne ${e.columnName} i stigende rækkefølge`,columnSize:e=>`${e.value} pixels`,descending:"faldende",descendingSort:e=>`sorteret efter kolonne ${e.columnName} i faldende rækkefølge`,resizerDescription:"Tryk på Enter for at ændre størrelse",select:"Vælg",selectAll:"Vælg alle",sortable:"sorterbar kolonne"};var N1={};N1={ascending:"aufsteigend",ascendingSort:e=>`sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,columnSize:e=>`${e.value} Pixel`,descending:"absteigend",descendingSort:e=>`sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,resizerDescription:"Eingabetaste zum Starten der Größenänderung drücken",select:"Auswählen",selectAll:"Alles auswählen",sortable:"sortierbare Spalte"};var V1={};V1={ascending:"αύξουσα",ascendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε αύξουσα σειρά`,columnSize:e=>`${e.value} pixel`,descending:"φθίνουσα",descendingSort:e=>`διαλογή ανά στήλη ${e.columnName} σε φθίνουσα σειρά`,resizerDescription:"Πατήστε Enter για έναρξη της αλλαγής μεγέθους",select:"Επιλογή",selectAll:"Επιλογή όλων",sortable:"Στήλη διαλογής"};var _1={};_1={select:"Select",selectAll:"Select All",sortable:"sortable column",ascending:"ascending",descending:"descending",ascendingSort:e=>`sorted by column ${e.columnName} in ascending order`,descendingSort:e=>`sorted by column ${e.columnName} in descending order`,columnSize:e=>`${e.value} pixels`,resizerDescription:"Press Enter to start resizing"};var j1={};j1={ascending:"ascendente",ascendingSort:e=>`ordenado por columna ${e.columnName} en sentido ascendente`,columnSize:e=>`${e.value} píxeles`,descending:"descendente",descendingSort:e=>`ordenado por columna ${e.columnName} en orden descendente`,resizerDescription:"Pulse Intro para empezar a redimensionar",select:"Seleccionar",selectAll:"Seleccionar todos",sortable:"columna ordenable"};var L1={};L1={ascending:"tõusev järjestus",ascendingSort:e=>`sorditud veeru järgi ${e.columnName} tõusvas järjestuses`,columnSize:e=>`${e.value} pikslit`,descending:"laskuv järjestus",descendingSort:e=>`sorditud veeru järgi ${e.columnName} laskuvas järjestuses`,resizerDescription:"Suuruse muutmise alustamiseks vajutage klahvi Enter",select:"Vali",selectAll:"Vali kõik",sortable:"sorditav veerg"};var O1={};O1={ascending:"nouseva",ascendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan nousevassa järjestyksessä`,columnSize:e=>`${e.value} pikseliä`,descending:"laskeva",descendingSort:e=>`lajiteltu sarakkeen ${e.columnName} mukaan laskevassa järjestyksessä`,resizerDescription:"Aloita koon muutos painamalla Enter-näppäintä",select:"Valitse",selectAll:"Valitse kaikki",sortable:"lajiteltava sarake"};var H1={};H1={ascending:"croissant",ascendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre croissant`,columnSize:e=>`${e.value} pixels`,descending:"décroissant",descendingSort:e=>`trié en fonction de la colonne ${e.columnName} par ordre décroissant`,resizerDescription:"Appuyez sur Entrée pour commencer le redimensionnement.",select:"Sélectionner",selectAll:"Sélectionner tout",sortable:"colonne triable"};var U1={};U1={ascending:"עולה",ascendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר עולה`,columnSize:e=>`${e.value} פיקסלים`,descending:"יורד",descendingSort:e=>`מוין לפי עמודה ${e.columnName} בסדר יורד`,resizerDescription:"הקש Enter כדי לשנות את הגודל",select:"בחר",selectAll:"בחר הכול",sortable:"עמודה שניתן למיין"};var W1={};W1={ascending:"rastući",ascendingSort:e=>`razvrstano po stupcima ${e.columnName} rastućem redoslijedom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`razvrstano po stupcima ${e.columnName} padajućim redoslijedom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Odaberite",selectAll:"Odaberite sve",sortable:"stupac koji se može razvrstati"};var G1={};G1={ascending:"növekvő",ascendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, növekvő sorrendben`,columnSize:e=>`${e.value} képpont`,descending:"csökkenő",descendingSort:e=>`rendezve a(z) ${e.columnName} oszlop szerint, csökkenő sorrendben`,resizerDescription:"Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",select:"Kijelölés",selectAll:"Összes kijelölése",sortable:"rendezendő oszlop"};var Z1={};Z1={ascending:"crescente",ascendingSort:e=>`in ordine crescente in base alla colonna ${e.columnName}`,columnSize:e=>`${e.value} pixel`,descending:"decrescente",descendingSort:e=>`in ordine decrescente in base alla colonna ${e.columnName}`,resizerDescription:"Premi Invio per iniziare a ridimensionare",select:"Seleziona",selectAll:"Seleziona tutto",sortable:"colonna ordinabile"};var q1={};q1={ascending:"昇順",ascendingSort:e=>`列 ${e.columnName} を昇順で並べ替え`,columnSize:e=>`${e.value} ピクセル`,descending:"降順",descendingSort:e=>`列 ${e.columnName} を降順で並べ替え`,resizerDescription:"Enter キーを押してサイズ変更を開始",select:"選択",selectAll:"すべて選択",sortable:"並べ替え可能な列"};var Y1={};Y1={ascending:"오름차순",ascendingSort:e=>`${e.columnName} 열을 기준으로 오름차순으로 정렬됨`,columnSize:e=>`${e.value} 픽셀`,descending:"내림차순",descendingSort:e=>`${e.columnName} 열을 기준으로 내림차순으로 정렬됨`,resizerDescription:"크기 조정을 시작하려면 Enter를 누르세요.",select:"선택",selectAll:"모두 선택",sortable:"정렬 가능한 열"};var J1={};J1={ascending:"didėjančia tvarka",ascendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} didėjančia tvarka`,columnSize:e=>`${e.value} piks.`,descending:"mažėjančia tvarka",descendingSort:e=>`surikiuota pagal stulpelį ${e.columnName} mažėjančia tvarka`,resizerDescription:"Paspauskite „Enter“, kad pradėtumėte keisti dydį",select:"Pasirinkti",selectAll:"Pasirinkti viską",sortable:"rikiuojamas stulpelis"};var X1={};X1={ascending:"augošā secībā",ascendingSort:e=>`kārtots pēc kolonnas ${e.columnName} augošā secībā`,columnSize:e=>`${e.value} pikseļi`,descending:"dilstošā secībā",descendingSort:e=>`kārtots pēc kolonnas ${e.columnName} dilstošā secībā`,resizerDescription:"Nospiediet Enter, lai sāktu izmēru mainīšanu",select:"Atlasīt",selectAll:"Atlasīt visu",sortable:"kārtojamā kolonna"};var Q1={};Q1={ascending:"stigende",ascendingSort:e=>`sortert etter kolonne ${e.columnName} i stigende rekkefølge`,columnSize:e=>`${e.value} piksler`,descending:"synkende",descendingSort:e=>`sortert etter kolonne ${e.columnName} i synkende rekkefølge`,resizerDescription:"Trykk på Enter for å starte størrelsesendring",select:"Velg",selectAll:"Velg alle",sortable:"kolonne som kan sorteres"};var eb={};eb={ascending:"oplopend",ascendingSort:e=>`gesorteerd in oplopende volgorde in kolom ${e.columnName}`,columnSize:e=>`${e.value} pixels`,descending:"aflopend",descendingSort:e=>`gesorteerd in aflopende volgorde in kolom ${e.columnName}`,resizerDescription:"Druk op Enter om het formaat te wijzigen",select:"Selecteren",selectAll:"Alles selecteren",sortable:"sorteerbare kolom"};var tb={};tb={ascending:"rosnąco",ascendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku rosnącym`,columnSize:e=>`Liczba pikseli: ${e.value}`,descending:"malejąco",descendingSort:e=>`posortowano według kolumny ${e.columnName} w porządku malejącym`,resizerDescription:"Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",select:"Zaznacz",selectAll:"Zaznacz wszystko",sortable:"kolumna z możliwością sortowania"};var ub={};ub={ascending:"crescente",ascendingSort:e=>`classificado pela coluna ${e.columnName} em ordem crescente`,columnSize:e=>`${e.value} pixels`,descending:"decrescente",descendingSort:e=>`classificado pela coluna ${e.columnName} em ordem decrescente`,resizerDescription:"Pressione Enter para começar a redimensionar",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"coluna classificável"};var nb={};nb={ascending:"ascendente",ascendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem ascendente`,columnSize:e=>`${e.value} pixels`,descending:"descendente",descendingSort:e=>`Ordenar por coluna ${e.columnName} em ordem descendente`,resizerDescription:"Prima Enter para iniciar o redimensionamento",select:"Selecionar",selectAll:"Selecionar tudo",sortable:"Coluna ordenável"};var rb={};rb={ascending:"crescătoare",ascendingSort:e=>`sortate după coloana ${e.columnName} în ordine crescătoare`,columnSize:e=>`${e.value} pixeli`,descending:"descrescătoare",descendingSort:e=>`sortate după coloana ${e.columnName} în ordine descrescătoare`,resizerDescription:"Apăsați pe Enter pentru a începe redimensionarea",select:"Selectare",selectAll:"Selectare totală",sortable:"coloană sortabilă"};var ib={};ib={ascending:"возрастание",ascendingSort:e=>`сортировать столбец ${e.columnName} в порядке возрастания`,columnSize:e=>`${e.value} пикс.`,descending:"убывание",descendingSort:e=>`сортировать столбец ${e.columnName} в порядке убывания`,resizerDescription:"Нажмите клавишу Enter для начала изменения размеров",select:"Выбрать",selectAll:"Выбрать все",sortable:"сортируемый столбец"};var ab={};ab={ascending:"vzostupne",ascendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,columnSize:e=>`Počet pixelov: ${e.value}`,descending:"zostupne",descendingSort:e=>`zoradené zostupne podľa stĺpca ${e.columnName}`,resizerDescription:"Stlačením klávesu Enter začnete zmenu veľkosti",select:"Vybrať",selectAll:"Vybrať všetko",sortable:"zoraditeľný stĺpec"};var lb={};lb={ascending:"naraščajoče",ascendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v naraščajočem vrstnem redu`,columnSize:e=>`${e.value} slikovnih pik`,descending:"padajoče",descendingSort:e=>`razvrščeno po stolpcu ${e.columnName} v padajočem vrstnem redu`,resizerDescription:"Pritisnite tipko Enter da začnete spreminjati velikost",select:"Izberite",selectAll:"Izberite vse",sortable:"razvrstljivi stolpec"};var ob={};ob={ascending:"rastući",ascendingSort:e=>`sortirano po kolonama ${e.columnName} rastućim redosledom`,columnSize:e=>`${e.value} piksela`,descending:"padajući",descendingSort:e=>`sortirano po kolonama ${e.columnName} padajućim redosledom`,resizerDescription:"Pritisnite Enter da biste započeli promenu veličine",select:"Izaberite",selectAll:"Izaberite sve",sortable:"kolona koja se može sortirati"};var sb={};sb={ascending:"stigande",ascendingSort:e=>`sorterat på kolumn ${e.columnName} i stigande ordning`,columnSize:e=>`${e.value} pixlar`,descending:"fallande",descendingSort:e=>`sorterat på kolumn ${e.columnName} i fallande ordning`,resizerDescription:"Tryck på Retur för att börja ändra storlek",select:"Markera",selectAll:"Markera allt",sortable:"sorterbar kolumn"};var db={};db={ascending:"artan sırada",ascendingSort:e=>`${e.columnName} sütuna göre artan düzende sırala`,columnSize:e=>`${e.value} piksel`,descending:"azalan sırada",descendingSort:e=>`${e.columnName} sütuna göre azalan düzende sırala`,resizerDescription:"Yeniden boyutlandırmak için Enter'a basın",select:"Seç",selectAll:"Tümünü Seç",sortable:"Sıralanabilir sütun"};var cb={};cb={ascending:"висхідний",ascendingSort:e=>`відсортовано за стовпцем ${e.columnName} у висхідному порядку`,columnSize:e=>`${e.value} пікс.`,descending:"низхідний",descendingSort:e=>`відсортовано за стовпцем ${e.columnName} у низхідному порядку`,resizerDescription:"Натисніть Enter, щоб почати зміну розміру",select:"Вибрати",selectAll:"Вибрати все",sortable:"сортувальний стовпець"};var fb={};fb={ascending:"升序",ascendingSort:e=>`按列 ${e.columnName} 升序排序`,columnSize:e=>`${e.value} 像素`,descending:"降序",descendingSort:e=>`按列 ${e.columnName} 降序排序`,resizerDescription:"按“输入”键开始调整大小。",select:"选择",selectAll:"全选",sortable:"可排序的列"};var pb={};pb={ascending:"遞增",ascendingSort:e=>`已依據「${e.columnName}」欄遞增排序`,columnSize:e=>`${e.value} 像素`,descending:"遞減",descendingSort:e=>`已依據「${e.columnName}」欄遞減排序`,resizerDescription:"按 Enter 鍵以開始調整大小",select:"選取",selectAll:"全選",sortable:"可排序的欄"};var zi={};zi={"ar-AE":R1,"bg-BG":K1,"cs-CZ":z1,"da-DK":M1,"de-DE":N1,"el-GR":V1,"en-US":_1,"es-ES":j1,"et-EE":L1,"fi-FI":O1,"fr-FR":H1,"he-IL":U1,"hr-HR":W1,"hu-HU":G1,"it-IT":Z1,"ja-JP":q1,"ko-KR":Y1,"lt-LT":J1,"lv-LV":X1,"nb-NO":Q1,"nl-NL":eb,"pl-PL":tb,"pt-BR":ub,"pt-PT":nb,"ro-RO":rb,"ru-RU":ib,"sk-SK":ab,"sl-SI":lb,"sr-SP":ob,"sv-SE":sb,"tr-TR":db,"uk-UA":cb,"zh-CN":fb,"zh-TW":pb};class ZD extends cm{isCell(t){return t.type==="cell"||t.type==="rowheader"||t.type==="column"}getKeyBelow(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let n=Ut(Be(u,this.collection));if(n)return n.key;let r=this.getFirstKey();return r==null||!this.collection.getItem(r)?null:super.getKeyForItemInRowByIndex(r,u.index)}return super.getKeyBelow(t)}getKeyAbove(t){let u=this.collection.getItem(t);if(!u)return null;if(u.type==="column"){let i=u.parentKey!=null?this.collection.getItem(u.parentKey):null;return i&&i.type==="column"?i.key:null}let n=super.getKeyAbove(t),r=n!=null?this.collection.getItem(n):null;return r&&r.type!=="headerrow"?n:this.isCell(u)?this.collection.columns[u.index].key:this.collection.columns[0].key}findNextColumnKey(t){let u=this.findNextKey(t.key,r=>r.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level];for(let r of Be(n,this.collection))if(r.type==="column")return r.key;return null}findPreviousColumnKey(t){let u=this.findPreviousKey(t.key,i=>i.type==="column");if(u!=null)return u;let n=this.collection.headerRows[t.level],r=[...Be(n,this.collection)];for(let i=r.length-1;i>=0;i--){let a=r[i];if(a.type==="column")return a.key}return null}getKeyRightOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findPreviousColumnKey(u):this.findNextColumnKey(u):super.getKeyRightOf(t):null}getKeyLeftOf(t){let u=this.collection.getItem(t);return u?u.type==="column"?this.direction==="rtl"?this.findNextColumnKey(u):this.findPreviousColumnKey(u):super.getKeyLeftOf(t):null}getKeyForSearch(t,u){if(!this.collator)return null;let n=this.collection,r=u??this.getFirstKey();if(r==null)return null;let i=n.getItem(r);var a;(i==null?void 0:i.type)==="cell"&&(r=(a=i.parentKey)!==null&&a!==void 0?a:null);let l=!1;for(;r!=null;){let s=n.getItem(r);if(!s)return null;if(s.textValue){let d=s.textValue.slice(0,t.length);if(this.collator.compare(d,t)===0)return s.key}for(let d of Be(s,this.collection)){let c=n.columns[d.index];if(n.rowHeaderColumnKeys.has(c.key)&&d.textValue){let f=d.textValue.slice(0,t.length);if(this.collator.compare(f,t)===0){let p=u!=null?n.getItem(u):i;return(p==null?void 0:p.type)==="cell"?d.key:s.key}}}r=this.getKeyBelow(r),r==null&&!l&&(r=this.getFirstKey(),l=!0)}return null}}function qD(e){return e&&e.__esModule?e.default:e}function YD(e,t,u){let{keyboardDelegate:n,isVirtualized:r,layoutDelegate:i,layout:a}=e,l=pn({usage:"search",sensitivity:"base"}),{direction:s}=de(),d=t.selectionManager.disabledBehavior,c=o.useMemo(()=>n||new ZD({collection:t.collection,disabledKeys:t.disabledKeys,disabledBehavior:d,ref:u,direction:s,collator:l,layoutDelegate:i,layout:a}),[n,t.collection,t.disabledKeys,d,u,s,l,i,a]),f=ie(e.id);lo.set(t,f);let{gridProps:p}=FD({...e,id:f,keyboardDelegate:c},t,u);r&&(p["aria-rowcount"]=t.collection.size+t.collection.headerRows.length),Or()&&"expandedKeys"in t&&(p.role="treegrid");let{column:h,direction:m}=t.sortDescriptor||{},g=xe(qD(zi),"@react-aria/table"),$=o.useMemo(()=>{var C,D;let x=(D=(C=t.collection.columns.find(k=>k.key===h))===null||C===void 0?void 0:C.textValue)!==null&&D!==void 0?D:"";return m&&h?g.format(`${m}Sort`,{columnName:x}):void 0},[m,h,t.collection.columns]),v=It($);return Mn(()=>{$&&St($,"assertive",500)},[$]),{gridProps:V(p,v,{"aria-describedby":[v["aria-describedby"],p["aria-describedby"]].filter(Boolean).join(" ")})}}function JD(e){return e&&e.__esModule?e.default:e}function XD(e,t,u){var n,r;let{node:i}=e,a=i.props.allowsSorting,{gridCellProps:l}=Zm({...e,focusMode:"child"},t,u),s=i.props.isSelectionCell&&t.selectionManager.selectionMode==="single",{pressProps:d}=tt({isDisabled:!a||s,onPress(){t.sort(i.key)},ref:u}),{focusableProps:c}=tu({},u),f,p=((n=t.sortDescriptor)===null||n===void 0?void 0:n.column)===i.key,h=(r=t.sortDescriptor)===null||r===void 0?void 0:r.direction;i.props.allowsSorting&&!zn()&&(f=p?h:"none");let m=xe(JD(zi),"@react-aria/table"),g;a&&(g=`${m.format("sortable")}`,p&&h&&zn()&&(g=`${g}, ${m.format(h)}`));let $=It(g),v=t.collection.size===0;return o.useEffect(()=>{v&&t.selectionManager.focusedKey===i.key&&t.selectionManager.setFocusedKey(null)},[v,t.selectionManager,i.key]),{columnHeaderProps:{...V(c,l,d,$,v?{tabIndex:-1}:null),role:"columnheader",id:GD(t,i.key),"aria-colspan":i.colSpan&&i.colSpan>1?i.colSpan:void 0,"aria-sort":f}}}const qs={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function QD(e,t,u){let{node:n,isVirtualized:r}=e,{rowProps:i,...a}=ID(e,t,u),{direction:l}=de();r&&!(Or()&&"expandedKeys"in t)?i["aria-rowindex"]=n.index+1+t.collection.headerRows.length:delete i["aria-rowindex"];let s={};if(Or()&&"expandedKeys"in t){let k=t.keyMap.get(n.key);if(k!=null){var d,c,f,p,h,m;let S=((d=k.props)===null||d===void 0?void 0:d.UNSTABLE_childItems)||((f=k.props)===null||f===void 0||(c=f.children)===null||c===void 0?void 0:c.length)>t.userColumnCount;var g,$,v,C;s={onKeyDown:F=>{(F.key===qs.expand[l]&&t.selectionManager.focusedKey===k.key&&S&&t.expandedKeys!=="all"&&!t.expandedKeys.has(k.key)||F.key===qs.collapse[l]&&t.selectionManager.focusedKey===k.key&&S&&(t.expandedKeys==="all"||t.expandedKeys.has(k.key)))&&(t.toggleKey(k.key),F.stopPropagation())},"aria-expanded":S?t.expandedKeys==="all"||t.expandedKeys.has(n.key):void 0,"aria-level":k.level,"aria-posinset":((g=k.indexOfType)!==null&&g!==void 0?g:0)+1,"aria-setsize":k.level>1?((v=(p=Zt(($=(h=t.keyMap.get(k.parentKey))===null||h===void 0?void 0:h.childNodes)!==null&&$!==void 0?$:[]))===null||p===void 0?void 0:p.indexOfType)!==null&&v!==void 0?v:0)+1:((C=(m=Zt(t.collection.body.childNodes))===null||m===void 0?void 0:m.indexOfType)!==null&&C!==void 0?C:0)+1}}}let D=Dl(n.props),x=a.hasAction?D:{};return{rowProps:{...V(i,s,x),"aria-labelledby":I1(t,n.key)},...a}}function ex(e,t,u){let{node:n,isVirtualized:r}=e,i={role:"row"};return r&&!(Or()&&"expandedKeys"in t)&&(i["aria-rowindex"]=n.index+1),{rowProps:i}}function tx(e,t,u){var n;let{gridCellProps:r,isPressed:i}=Zm(e,t,u),a=(n=e.node.column)===null||n===void 0?void 0:n.key;return a!=null&&t.collection.rowHeaderColumnKeys.has(a)&&(r.role="rowheader",r.id=T1(t,e.node.parentKey,a)),{gridCellProps:r,isPressed:i}}function ux(e){return e&&e.__esModule?e.default:e}function nx(e,t){let{key:u}=e;const{checkboxProps:n}=KD(e,t);return{checkboxProps:{...n,"aria-labelledby":`${n.id} ${I1(t,u)}`}}}function rx(e){let{isEmpty:t,isSelectAll:u,selectionMode:n}=e.selectionManager;return{checkboxProps:{"aria-label":xe(ux(zi),"@react-aria/table").format(n==="single"?"select":"selectAll"),isSelected:u,isDisabled:n!=="multiple"||e.collection.size===0||e.collection.rows.length===1&&e.collection.rows[0].type==="loader",isIndeterminate:!t&&!u,onChange:()=>e.selectionManager.toggleSelectAll()}}}function hb(){return TD()}const mb=new WeakMap;function oi(e,t,u){return e?(typeof t=="string"&&(t=t.replace(/\s+/g,"")),`${mb.get(e)}-${u}-${t}`):""}function ix(e,t,u){let{key:n,isDisabled:r,shouldSelectOnPressUp:i}=e,{selectionManager:a,selectedKey:l}=t,s=n===l,d=r||t.isDisabled||t.selectionManager.isDisabled(n),{itemProps:c,isPressed:f}=hn({selectionManager:a,key:n,ref:u,isDisabled:d,shouldSelectOnPressUp:i,linkBehavior:"selection"}),p=oi(t,n,"tab"),h=oi(t,n,"tabpanel"),{tabIndex:m}=c,g=t.collection.getItem(n),$=H(g==null?void 0:g.props,{labelable:!0});delete $.id;let v=vi(g==null?void 0:g.props),{focusableProps:C}=tu({isDisabled:d},u);return{tabProps:V($,C,v,c,{id:p,"aria-selected":s,"aria-disabled":d||void 0,"aria-controls":s?h:void 0,tabIndex:d?void 0:m,role:"tab"}),isSelected:s,isDisabled:d,isPressed:f}}function ax(e,t,u){let n=Gl(u)?void 0:0;var r;const i=oi(t,(r=e.id)!==null&&r!==void 0?r:t==null?void 0:t.selectedKey,"tabpanel"),a=At({...e,id:i,"aria-labelledby":oi(t,t==null?void 0:t.selectedKey,"tab")});return{tabPanelProps:V(a,{tabIndex:n,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}}class lx{getKeyLeftOf(t){return this.flipDirection?this.getNextKey(t):this.getPreviousKey(t)}getKeyRightOf(t){return this.flipDirection?this.getPreviousKey(t):this.getNextKey(t)}isDisabled(t){var u,n;return this.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.isDisabled)}getFirstKey(){let t=this.collection.getFirstKey();return t!=null&&this.isDisabled(t)&&(t=this.getNextKey(t)),t}getLastKey(){let t=this.collection.getLastKey();return t!=null&&this.isDisabled(t)&&(t=this.getPreviousKey(t)),t}getKeyAbove(t){return this.tabDirection?null:this.getPreviousKey(t)}getKeyBelow(t){return this.tabDirection?null:this.getNextKey(t)}getNextKey(t){let u=t;do u=this.collection.getKeyAfter(u),u==null&&(u=this.collection.getFirstKey());while(u!=null&&this.isDisabled(u));return u}getPreviousKey(t){let u=t;do u=this.collection.getKeyBefore(u),u==null&&(u=this.collection.getLastKey());while(u!=null&&this.isDisabled(u));return u}constructor(t,u,n,r=new Set){this.collection=t,this.flipDirection=u==="rtl"&&n==="horizontal",this.disabledKeys=r,this.tabDirection=n==="horizontal"}}function ox(e,t,u){let{orientation:n="horizontal",keyboardActivation:r="automatic"}=e,{collection:i,selectionManager:a,disabledKeys:l}=t,{direction:s}=de(),d=o.useMemo(()=>new lx(i,s,n,l),[i,l,n,s]),{collectionProps:c}=Ri({ref:u,selectionManager:a,keyboardDelegate:d,selectOnFocus:r==="automatic",disallowEmptySelection:!0,scrollRef:u,linkBehavior:"selection"}),f=ie();mb.set(t,f);let p=At({...e,id:f});return{tabListProps:{...V(c,p),role:"tablist","aria-orientation":n,tabIndex:void 0}}}const bb=new WeakMap;function sx(e,t,u){let{direction:n}=de(),r=e.keyboardDelegate||new mn({collection:t.collection,ref:u,orientation:"horizontal",direction:n,disabledKeys:t.disabledKeys,disabledBehavior:t.selectionManager.disabledBehavior}),{labelProps:i,fieldProps:a,descriptionProps:l,errorMessageProps:s}=gu({...e,labelElementType:"span"}),{gridProps:d}=zD({...e,...a,keyboardDelegate:r,shouldFocusWrap:!0,linkBehavior:"override",keyboardNavigationBehavior:"tab"},t,u),[c,f]=o.useState(!1),{focusWithinProps:p}=yt({onFocusWithinChange:f}),h=H(e),m=o.useRef(t.collection.size);return o.useEffect(()=>{u.current&&m.current>0&&t.collection.size===0&&c&&u.current.focus(),m.current=t.collection.size},[t.collection.size,c,u]),bb.set(t,{onRemove:e.onRemove}),{gridProps:V(d,h,{role:t.collection.size?"grid":null,"aria-atomic":!1,"aria-relevant":"additions","aria-live":c?"polite":"off",...p,...a}),labelProps:i,descriptionProps:l,errorMessageProps:s}}var gb={};gb={removeButtonLabel:"إزالة",removeDescription:"اضغط على مفتاح DELETE لإزالة علامة."};var $b={};$b={removeButtonLabel:"Премахване",removeDescription:"Натиснете Delete, за да премахнете маркера."};var yb={};yb={removeButtonLabel:"Odebrat",removeDescription:"Stisknutím klávesy Delete odeberete značku."};var vb={};vb={removeButtonLabel:"Fjern",removeDescription:"Tryk på Slet for at fjerne tag."};var Db={};Db={removeButtonLabel:"Entfernen",removeDescription:"Auf „Löschen“ drücken, um das Tag zu entfernen."};var xb={};xb={removeButtonLabel:"Κατάργηση",removeDescription:"Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."};var Cb={};Cb={removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"};var Eb={};Eb={removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."};var kb={};kb={removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."};var Bb={};Bb={removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."};var Pb={};Pb={removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l’étiquette."};var Sb={};Sb={removeButtonLabel:"הסר",removeDescription:"לחץ על מחק כדי להסיר תג."};var wb={};wb={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."};var Ab={};Ab={removeButtonLabel:"Eltávolítás",removeDescription:"Nyomja meg a Delete billentyűt a címke eltávolításához."};var Fb={};Fb={removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."};var Tb={};Tb={removeButtonLabel:"削除",removeDescription:"タグを削除するには、Delete キーを押します。"};var Ib={};Ib={removeButtonLabel:"제거",removeDescription:"태그를 제거하려면 Delete 키를 누르십시오."};var Rb={};Rb={removeButtonLabel:"Pašalinti",removeDescription:"Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."};var Kb={};Kb={removeButtonLabel:"Noņemt",removeDescription:"Nospiediet Delete [Dzēst], lai noņemtu tagu."};var zb={};zb={removeButtonLabel:"Fjern",removeDescription:"Trykk på Slett for å fjerne taggen."};var Mb={};Mb={removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."};var Nb={};Nb={removeButtonLabel:"Usuń",removeDescription:"Naciśnij Usuń, aby usunąć znacznik."};var Vb={};Vb={removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."};var _b={};_b={removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."};var jb={};jb={removeButtonLabel:"Îndepărtaţi",removeDescription:"Apăsați pe Delete (Ștergere) pentru a elimina eticheta."};var Lb={};Lb={removeButtonLabel:"Удалить",removeDescription:"Нажмите DELETE, чтобы удалить тег."};var Ob={};Ob={removeButtonLabel:"Odstrániť",removeDescription:"Ak chcete odstrániť značku, stlačte kláves Delete."};var Hb={};Hb={removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."};var Ub={};Ub={removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obriši da biste uklonili oznaku."};var Wb={};Wb={removeButtonLabel:"Ta bort",removeDescription:"Tryck på Radera för att ta bort taggen."};var Gb={};Gb={removeButtonLabel:"Kaldır",removeDescription:"Etiketi kaldırmak için Sil tuşuna basın."};var Zb={};Zb={removeButtonLabel:"Вилучити",removeDescription:"Натисніть Delete, щоб вилучити тег."};var qb={};qb={removeButtonLabel:"删除",removeDescription:"按下“删除”以删除标记。"};var Yb={};Yb={removeButtonLabel:"移除",removeDescription:"按 Delete 鍵以移除標記。"};var Jb={};Jb={"ar-AE":gb,"bg-BG":$b,"cs-CZ":yb,"da-DK":vb,"de-DE":Db,"el-GR":xb,"en-US":Cb,"es-ES":Eb,"et-EE":kb,"fi-FI":Bb,"fr-FR":Pb,"he-IL":Sb,"hr-HR":wb,"hu-HU":Ab,"it-IT":Fb,"ja-JP":Tb,"ko-KR":Ib,"lt-LT":Rb,"lv-LV":Kb,"nb-NO":zb,"nl-NL":Mb,"pl-PL":Nb,"pt-BR":Vb,"pt-PT":_b,"ro-RO":jb,"ru-RU":Lb,"sk-SK":Ob,"sl-SI":Hb,"sr-SP":Ub,"sv-SE":Wb,"tr-TR":Gb,"uk-UA":Zb,"zh-CN":qb,"zh-TW":Yb};function dx(e){return e&&e.__esModule?e.default:e}function cx(e,t,u){let{item:n}=e,r=xe(dx(Jb),"@react-aria/tag"),i=ie(),{onRemove:a}=bb.get(t)||{},{rowProps:l,gridCellProps:s,...d}=MD({node:n},t,u),{descriptionProps:c,...f}=d,p=t.disabledKeys.has(n.key)||n.props.isDisabled,h=F=>{if(F.key==="Delete"||F.key==="Backspace"){if(p)return;F.preventDefault(),t.selectionManager.isSelected(n.key)?a==null||a(new Set(t.selectionManager.selectedKeys)):a==null||a(new Set([n.key]))}},m=wl();m==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(m="pointer");let g=a&&(m==="keyboard"||m==="virtual")?r.format("removeDescription"):"",$=It(g),v=n.key===t.selectionManager.focusedKey,C=t.selectionManager.focusedKey!=null,D=-1;!p&&(v||!C)&&(D=0);let x=H(n.props),k=Dl(n.props),{focusableProps:S}=tu({isDisabled:p},u);return{removeButtonProps:{"aria-label":r.format("removeButtonLabel"),"aria-labelledby":`${i} ${l.id}`,isDisabled:p,id:i,onPress:()=>a?a(new Set([n.key])):null},rowProps:V(S,l,x,k,{tabIndex:D,onKeyDown:a?h:void 0,"aria-describedby":$["aria-describedby"]}),gridCellProps:V(s,{"aria-errormessage":e["aria-errormessage"],"aria-label":e["aria-label"]}),...f,allowsRemoving:!!a}}var Xb={};Xb={close:"إغلاق",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} إشعار`,other:()=>`${t.number(e.count)} إشعارات`})}.`};var Qb={};Qb={close:"Затвори",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} известие`,other:()=>`${t.number(e.count)} известия`})}.`};var e0={};e0={close:"Zavřít",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámení`,other:()=>`${t.number(e.count)} oznámení`})}.`};var t0={};t0={close:"Luk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} besked`,other:()=>`${t.number(e.count)} beskeder`})}.`};var u0={};u0={close:"Schließen",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} Benachrichtigung`,other:()=>`${t.number(e.count)} Benachrichtigungen`})}.`};var n0={};n0={close:"Κλείσιμο",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ειδοποίηση`,other:()=>`${t.number(e.count)} ειδοποιήσεις`})}.`};var r0={};r0={close:"Close",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var i0={};i0={close:"Cerrar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificación`,other:()=>`${t.number(e.count)} notificaciones`})}.`};var a0={};a0={close:"Sule",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} teatis`,other:()=>`${t.number(e.count)} teatist`})}.`};var l0={};l0={close:"Sulje",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} ilmoitus`,other:()=>`${t.number(e.count)} ilmoitusta`})}.`};var o0={};o0={close:"Fermer",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notification`,other:()=>`${t.number(e.count)} notifications`})}.`};var s0={};s0={close:"סגור",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} התראה`,other:()=>`${t.number(e.count)} התראות`})}.`};var d0={};d0={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obavijest`,other:()=>`${t.number(e.count)} obavijesti`})}.`};var c0={};c0={close:"Bezárás",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} értesítés`,other:()=>`${t.number(e.count)} értesítés`})}.`};var f0={};f0={close:"Chiudi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notifica`,other:()=>`${t.number(e.count)} notifiche`})}.`};var p0={};p0={close:"閉じる",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個の通知`,other:()=>`${t.number(e.count)} 個の通知`})}。`};var h0={};h0={close:"닫기",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)}개 알림`,other:()=>`${t.number(e.count)}개 알림`})}.`};var m0={};m0={close:"Uždaryti",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} pranešimas`,other:()=>`${t.number(e.count)} pranešimai`})}.`};var b0={};b0={close:"Aizvērt",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} paziņojums`,other:()=>`${t.number(e.count)} paziņojumi`})}.`};var g0={};g0={close:"Lukk",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} varsling`,other:()=>`${t.number(e.count)} varsler`})}.`};var $0={};$0={close:"Sluiten",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} melding`,other:()=>`${t.number(e.count)} meldingen`})}.`};var y0={};y0={close:"Zamknij",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} powiadomienie`,few:()=>`${t.number(e.count)} powiadomienia`,many:()=>`${t.number(e.count)} powiadomień`,other:()=>`${t.number(e.count)} powiadomienia`})}.`};var v0={};v0={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var D0={};D0={close:"Fechar",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificação`,other:()=>`${t.number(e.count)} notificações`})}.`};var x0={};x0={close:"Închideţi",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} notificare`,other:()=>`${t.number(e.count)} notificări`})}.`};var C0={};C0={close:"Закрыть",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} уведомление`,other:()=>`${t.number(e.count)} уведомления`})}.`};var E0={};E0={close:"Zatvoriť",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} oznámenie`,few:()=>`${t.number(e.count)} oznámenia`,other:()=>`${t.number(e.count)} oznámení`})}.`};var k0={};k0={close:"Zapri",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obvestilo`,two:()=>`${t.number(e.count)} obvestili`,few:()=>`${t.number(e.count)} obvestila`,other:()=>`${t.number(e.count)} obvestil`})}.`};var B0={};B0={close:"Zatvori",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} obaveštenje`,other:()=>`${t.number(e.count)} obaveštenja`})}.`};var P0={};P0={close:"Stäng",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} meddelande`,other:()=>`${t.number(e.count)} meddelanden`})}.`};var S0={};S0={close:"Kapat",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} bildirim`,other:()=>`${t.number(e.count)} bildirim`})}.`};var w0={};w0={close:"Закрити",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} сповіщення`,other:()=>`${t.number(e.count)} сповіщення`})}.`};var A0={};A0={close:"关闭",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 个通知`,other:()=>`${t.number(e.count)} 个通知`})}。`};var F0={};F0={close:"關閉",notifications:(e,t)=>`${t.plural(e.count,{one:()=>`${t.number(e.count)} 個通知`,other:()=>`${t.number(e.count)} 個通知`})}。`};var oo={};oo={"ar-AE":Xb,"bg-BG":Qb,"cs-CZ":e0,"da-DK":t0,"de-DE":u0,"el-GR":n0,"en-US":r0,"es-ES":i0,"et-EE":a0,"fi-FI":l0,"fr-FR":o0,"he-IL":s0,"hr-HR":d0,"hu-HU":c0,"it-IT":f0,"ja-JP":p0,"ko-KR":h0,"lt-LT":m0,"lv-LV":b0,"nb-NO":g0,"nl-NL":$0,"pl-PL":y0,"pt-BR":v0,"pt-PT":D0,"ro-RO":x0,"ru-RU":C0,"sk-SK":E0,"sl-SI":k0,"sr-SP":B0,"sv-SE":P0,"tr-TR":S0,"uk-UA":w0,"zh-CN":A0,"zh-TW":F0};function fx(e){return e&&e.__esModule?e.default:e}function px(e,t,u){let{key:n,timer:r,timeout:i}=e.toast;o.useEffect(()=>{if(!(r==null||i==null))return r.reset(i),()=>{r.pause()}},[r,i]);let a=ie(),l=dt(),s=xe(fx(oo),"@react-aria/toast"),[d,c]=o.useState(!1);return o.useEffect(()=>{c(!0)},[]),{toastProps:{...H(e,{labelable:!0}),role:"alertdialog","aria-modal":"false","aria-labelledby":e["aria-labelledby"]||a,"aria-describedby":e["aria-describedby"]||l,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":d?void 0:"true"},titleProps:{id:a},descriptionProps:{id:l},closeButtonProps:{"aria-label":s.format("close"),onPress:()=>t.close(n)}}}function hx(e){return e&&e.__esModule?e.default:e}function mx(e,t,u){let n=xe(hx(oo),"@react-aria/toast"),{landmarkProps:r}=jD({role:"region","aria-label":e["aria-label"]||n.format("notifications",{count:t.visibleToasts.length})},u),i=o.useRef(!1),a=o.useRef(!1),l=ee(()=>{i.current||a.current?t.pauseAll():t.resumeAll()}),{hoverProps:s}=De({onHoverStart:()=>{i.current=!0,l()},onHoverEnd:()=>{i.current=!1,l()}}),d=o.useRef([]),c=o.useRef(t.visibleToasts),f=o.useRef(null);J(()=>{if(f.current===-1||t.visibleToasts.length===0||!u.current){d.current=[],c.current=t.visibleToasts;return}if(d.current=[...u.current.querySelectorAll('[role="alertdialog"]')],c.current.length===t.visibleToasts.length&&t.visibleToasts.every((v,C)=>v.key===c.current[C].key)){c.current=t.visibleToasts;return}let m=c.current.map((v,C)=>({...v,i:C,isRemoved:!t.visibleToasts.some(D=>v.key===D.key)})),g=m.findIndex(v=>v.i===f.current&&v.isRemoved);if(g>-1){var $;if(qt()==="pointer"&&(!(($=p.current)===null||$===void 0)&&$.isConnected))Ne(p.current);else{let v=0,C,D;for(;v<=g;)m[v].isRemoved||(D=Math.max(0,v-1)),v++;for(;v<m.length;){if(!m[v].isRemoved){C=v-1;break}v++}D===void 0&&C===void 0&&(D=0),D>=0&&D<d.current.length?Ne(d.current[D]):C>=0&&C<d.current.length&&Ne(d.current[C])}}c.current=t.visibleToasts},[t.visibleToasts,u,l]);let p=o.useRef(null),{focusWithinProps:h}=yt({onFocusWithin:m=>{a.current=!0,p.current=m.relatedTarget,l()},onBlurWithin:()=>{a.current=!1,p.current=null,l()}});return o.useEffect(()=>{var m;t.visibleToasts.length===0&&(!((m=p.current)===null||m===void 0)&&m.isConnected)&&(qt()==="pointer"?Ne(p.current):p.current.focus(),p.current=null)},[u,t.visibleToasts.length]),o.useEffect(()=>()=>{var m;!((m=p.current)===null||m===void 0)&&m.isConnected&&(qt()==="pointer"?Ne(p.current):p.current.focus(),p.current=null)},[u]),{regionProps:V(r,s,h,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:m=>{let g=m.target.closest('[role="alertdialog"]');f.current=d.current.findIndex($=>$===g)},onBlur:()=>{f.current=-1}})}}function bx(e,t){let u=H(e,{labelable:!0}),{hoverProps:n}=De({onHoverStart:()=>t==null?void 0:t.open(!0),onHoverEnd:()=>t==null?void 0:t.close()});return{tooltipProps:V(u,n,{role:"tooltip"})}}function gx(e,t,u){let{isDisabled:n,trigger:r}=e,i=ie(),a=o.useRef(!1),l=o.useRef(!1),s=()=>{(a.current||l.current)&&t.open(l.current)},d=v=>{!a.current&&!l.current&&t.close(v)};o.useEffect(()=>{let v=C=>{u&&u.current&&C.key==="Escape"&&(C.stopPropagation(),t.close(!0))};if(t.isOpen)return document.addEventListener("keydown",v,!0),()=>{document.removeEventListener("keydown",v,!0)}},[u,t]);let c=()=>{r!=="focus"&&(qt()==="pointer"?a.current=!0:a.current=!1,s())},f=()=>{r!=="focus"&&(l.current=!1,a.current=!1,d())},p=()=>{l.current=!1,a.current=!1,d(!0)},h=()=>{Qt()&&(l.current=!0,s())},m=()=>{l.current=!1,a.current=!1,d(!0)},{hoverProps:g}=De({isDisabled:n,onHoverStart:c,onHoverEnd:f}),{focusableProps:$}=tu({isDisabled:n,onFocus:h,onBlur:m},u);return{triggerProps:{"aria-describedby":t.isOpen?i:void 0,...V($,g,{onPointerDown:p,onKeyDown:p,tabIndex:void 0})},tooltipProps:{id:i}}}const mu=o.createContext({});let $x=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const Mi=ur(function(t,u){[t,u]=X(t,u,mu);let{hoverProps:n,isHovered:r}=De(t),{isFocused:i,isFocusVisible:a,focusProps:l}=me({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=Z({...t,values:{isHovered:r,isFocused:i,isFocusVisible:a,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return o.createElement("input",{...V($x(t),l,n),...d,ref:u,"data-focused":i||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":a||void 0,"data-invalid":s||void 0})}),zt=o.createContext({}),yx=ur(function(t,u){[t,u]=X(t,u,zt);let{elementType:n="label",...r}=t;return o.createElement(n,{className:"react-aria-Label",...r,ref:u})}),T0=o.createContext(null),vx=o.forwardRef(function(t,u){[t,u]=X(t,u,T0);let{value:n=0,minValue:r=0,maxValue:i=100,isIndeterminate:a=!1}=t;n=Vn(n,r,i);let[l,s]=$t(!t["aria-label"]&&!t["aria-labelledby"]),{progressBarProps:d,labelProps:c}=LD({...t,label:s}),f=a?void 0:(n-r)/(i-r)*100,p=Z({...t,defaultClassName:"react-aria-ProgressBar",values:{percentage:f,valueText:d["aria-valuetext"],isIndeterminate:a}});return o.createElement("div",{...d,...p,ref:u,slot:t.slot||void 0},o.createElement(zt.Provider,{value:{...c,ref:l,elementType:"span"}},p.children))}),Dx=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),vt=o.createContext({}),cr=ur(function(t,u){[t,u]=X(t,u,vt),t=xx(t);let n=t,{isPending:r}=n,{buttonProps:i,isPressed:a}=Fi(t,u),{focusProps:l,isFocused:s,isFocusVisible:d}=me(t),{hoverProps:c,isHovered:f}=De({...t,isDisabled:t.isDisabled||r}),p={isHovered:f,isPressed:(n.isPressed||a)&&!r,isFocused:s,isFocusVisible:d,isDisabled:t.isDisabled||!1,isPending:r??!1},h=Z({...t,values:p,defaultClassName:"react-aria-Button"}),m=ie(i.id),g=ie(),$=i["aria-labelledby"];r&&($?$=`${$} ${g}`:i["aria-label"]&&($=`${m} ${g}`));let v=o.useRef(r);return o.useEffect(()=>{let C={"aria-labelledby":$||m};(!v.current&&s&&r||v.current&&s&&!r)&&St(C,"assertive"),v.current=r},[r,s,$,m]),o.createElement("button",{...H(t,{propNames:Dx}),...V(i,l,c),...h,type:i.type==="submit"&&r?"button":i.type,id:m,ref:u,"aria-labelledby":$,slot:t.slot||void 0,"aria-disabled":r?"true":i["aria-disabled"],"data-disabled":t.isDisabled||void 0,"data-pressed":p.isPressed||void 0,"data-hovered":f||void 0,"data-focused":s||void 0,"data-pending":r||void 0,"data-focus-visible":d||void 0},o.createElement(T0.Provider,{value:{id:g}},h.children))});function xx(e){return e.isPending&&(e.onPress=void 0,e.onPressStart=void 0,e.onPressEnd=void 0,e.onPressChange=void 0,e.onPressUp=void 0,e.onKeyDown=void 0,e.onKeyUp=void 0,e.onClick=void 0,e.href=void 0),e}const Xe=o.createContext({}),I0=o.forwardRef(function(t,u){[t,u]=X(t,u,Xe);let{elementType:n="span",...r}=t;return o.createElement(n,{className:"react-aria-Text",...r,ref:u})}),Dt=o.createContext(null),Cx=o.forwardRef(function(t,u){let n=o.useContext(Dt);return n!=null&&n.isInvalid?o.createElement(Ex,{...t,ref:u}):null}),Ex=o.forwardRef((e,t)=>{let u=o.useContext(Dt),n=H(e),r=Z({...e,defaultClassName:"react-aria-FieldError",defaultChildren:u.validationErrors.length===0?void 0:u.validationErrors.join(" "),values:u});return r.children==null?null:o.createElement(I0,{slot:"errorMessage",...n,...r,ref:t})});function an(e,t,u){return t!=null&&e.compare(t)<0||u!=null&&e.compare(u)>0}function rl(e,t,u,n,r){let i={};for(let l in t)i[l]=Math.floor(t[l]/2),i[l]>0&&t[l]%2===0&&i[l]--;let a=Au(e,t,u).subtract(i);return qn(e,a,t,u,n,r)}function Au(e,t,u,n,r){let i=e;return t.years?i=P6(e):t.months?i=Ku(e):t.weeks&&(i=Hn(e,u)),qn(e,i,t,u,n,r)}function il(e,t,u,n,r){let i={...t};i.days?i.days--:i.weeks?i.weeks--:i.months?i.months--:i.years&&i.years--;let a=Au(e,t,u).subtract(i);return qn(e,a,t,u,n,r)}function qn(e,t,u,n,r,i){if(r&&e.compare(r)>=0){let a=zl(t,Au(We(r),u,n));a&&(t=a)}if(i&&e.compare(i)<=0){let a=Kl(t,il(We(i),u,n));a&&(t=a)}return t}function iu(e,t,u){if(t){let n=zl(e,We(t));n&&(e=n)}if(u){let n=Kl(e,We(u));n&&(e=n)}return e}function R0(e,t,u){if(!u)return e;for(;e.compare(t)>=0&&u(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:null}function K0(e){let t=o.useMemo(()=>new lt(e.locale),[e.locale]),u=o.useMemo(()=>t.resolvedOptions(),[t]),{locale:n,createCalendar:r,visibleDuration:i={months:1},minValue:a,maxValue:l,selectionAlignment:s,isDateUnavailable:d,pageBehavior:c="visible",firstDayOfWeek:f}=e,p=o.useMemo(()=>r(u.calendar),[r,u.calendar]);var h;let[m,g]=Re(e.value,(h=e.defaultValue)!==null&&h!==void 0?h:null,e.onChange),$=o.useMemo(()=>m?ve(We(m),p):null,[m,p]),v=o.useMemo(()=>m&&"timeZone"in m?m.timeZone:u.timeZone,[m,u.timeZone]),C=o.useMemo(()=>e.focusedValue?iu(ve(We(e.focusedValue),p),a,l):void 0,[e.focusedValue,p,a,l]),D=o.useMemo(()=>iu(e.defaultFocusedValue?ve(We(e.defaultFocusedValue),p):$||ve(Rl(v),p),a,l),[e.defaultFocusedValue,$,v,p,a,l]),[x,k]=Re(C,D,e.onFocusChange),[S,F]=o.useState(()=>{switch(s){case"start":return Au(x,i,n,a,l);case"end":return il(x,i,n,a,l);case"center":default:return rl(x,i,n,a,l)}}),[T,N]=o.useState(e.autoFocus||!1),w=o.useMemo(()=>{let z={...i};return z.days?z.days--:z.days=-1,S.add(z)},[S,i]),[y,A]=o.useState(p);if(!Pi(p,y)){let z=ve(x,p);F(rl(z,i,n,a,l)),k(z),A(p)}an(x,a,l)?k(iu(x,a,l)):x.compare(S)<0?F(il(x,i,n,a,l)):x.compare(w)>0&&F(Au(x,i,n,a,l));function I(z){z=iu(z,a,l),k(z)}function K(z){if(!e.isDisabled&&!e.isReadOnly){let U=z;if(U===null){g(null);return}if(U=iu(U,a,l),U=R0(U,S,d),!U)return;U=ve(U,(m==null?void 0:m.calendar)||new Ye),m&&"hour"in m?g(m.set(U)):g(U)}}let L=o.useMemo(()=>$?d&&d($)?!0:an($,a,l):!1,[$,d,a,l]),B=e.isInvalid||e.validationState==="invalid"||L,E=B?"invalid":null,P=o.useMemo(()=>c==="visible"?i:xa(i),[c,i]);var M,R;return{isDisabled:(M=e.isDisabled)!==null&&M!==void 0?M:!1,isReadOnly:(R=e.isReadOnly)!==null&&R!==void 0?R:!1,value:$,setValue:K,visibleRange:{start:S,end:w},minValue:a,maxValue:l,focusedDate:x,timeZone:v,validationState:E,isValueInvalid:B,setFocusedDate(z){I(z),N(!0)},focusNextDay(){I(x.add({days:1}))},focusPreviousDay(){I(x.subtract({days:1}))},focusNextRow(){i.days?this.focusNextPage():(i.weeks||i.months||i.years)&&I(x.add({weeks:1}))},focusPreviousRow(){i.days?this.focusPreviousPage():(i.weeks||i.months||i.years)&&I(x.subtract({weeks:1}))},focusNextPage(){let z=S.add(P);k(iu(x.add(P),a,l)),F(Au(qn(x,z,P,n,a,l),P,n))},focusPreviousPage(){let z=S.subtract(P);k(iu(x.subtract(P),a,l)),F(Au(qn(x,z,P,n,a,l),P,n))},focusSectionStart(){i.days?I(S):i.weeks?I(Hn(x,n)):(i.months||i.years)&&I(Ku(x))},focusSectionEnd(){i.days?I(w):i.weeks?I(A6(x,n)):(i.months||i.years)&&I(Jr(x))},focusNextSection(z){if(!z&&!i.days){I(x.add(xa(i)));return}i.days?this.focusNextPage():i.weeks?I(x.add({months:1})):(i.months||i.years)&&I(x.add({years:1}))},focusPreviousSection(z){if(!z&&!i.days){I(x.subtract(xa(i)));return}i.days?this.focusPreviousPage():i.weeks?I(x.subtract({months:1})):(i.months||i.years)&&I(x.subtract({years:1}))},selectFocusedDate(){d&&d(x)||K(x)},selectDate(z){K(z)},isFocused:T,setFocused:N,isInvalid(z){return an(z,a,l)},isSelected(z){return $!=null&&Se(z,$)&&!this.isCellDisabled(z)&&!this.isCellUnavailable(z)},isCellFocused(z){return T&&x&&Se(z,x)},isCellDisabled(z){return e.isDisabled||z.compare(S)<0||z.compare(w)>0||this.isInvalid(z)},isCellUnavailable(z){return e.isDateUnavailable?e.isDateUnavailable(z):!1},isPreviousVisibleRangeInvalid(){let z=S.subtract({days:1});return Se(z,S)||this.isInvalid(z)},isNextVisibleRangeInvalid(){let z=w.add({days:1});return Se(z,w)||this.isInvalid(z)},getDatesInWeek(z,U=S){let G=U.add({weeks:z}),Y=[];G=Hn(G,n,f);let pe=Il(G,n,f);for(let ae=0;ae<pe;ae++)Y.push(null);for(;Y.length<7;){Y.push(G);let ae=G.add({days:1});if(Se(G,ae))break;G=ae}for(;Y.length<7;)Y.push(null);return Y}}}function xa(e){let t={...e};for(let u in e)t[u]=1;return t}function kx(e){let{value:t,defaultValue:u,onChange:n,createCalendar:r,locale:i,visibleDuration:a={months:1},minValue:l,maxValue:s,...d}=e,[c,f]=Re(t,u||null,n),[p,h]=o.useState(null),m="center";if(c&&c.start&&c.end){let P=rl(We(c.start),a,i,l,s).add(a).subtract({days:1});c.end.compare(P)>0&&(m="start")}let g=o.useRef(null),[$,v]=o.useState(null),C=o.useMemo(()=>zl(l,$==null?void 0:$.start),[l,$]),D=o.useMemo(()=>Kl(s,$==null?void 0:$.end),[s,$]),x=K0({...d,value:c&&c.start,createCalendar:r,locale:i,visibleDuration:a,minValue:C,maxValue:D,selectionAlignment:m}),k=E=>{if(E&&e.isDateUnavailable&&!e.allowsNonContiguousRanges){const P=Js(E,x,-1),M=Js(E,x,1);g.current={start:P,end:M},v(g.current)}else g.current=null,v(null)},[S,F]=o.useState(x.visibleRange);(!za(x.visibleRange.start,S.start)||!za(x.visibleRange.end,S.end))&&(k(p),F(x.visibleRange));let T=E=>{E?(h(E),k(E)):(h(null),k(null))},N=p?Ca(p,x.focusedDate):c&&Ca(c.start,c.end),w=E=>{if(e.isReadOnly)return;const P=iu(E,C,D),M=R0(P,x.visibleRange.start,e.isDateUnavailable);if(M)if(!p)T(M);else{let R=Ca(p,M);R&&f({start:Ys(R.start,c==null?void 0:c.start),end:Ys(R.end,c==null?void 0:c.end)}),T(null)}},[y,A]=o.useState(!1),{isDateUnavailable:I}=e,K=o.useMemo(()=>!c||p?!1:I&&(I(c.start)||I(c.end))?!0:an(c.start,l,s)||an(c.end,l,s),[I,c,p,l,s]),L=e.isInvalid||e.validationState==="invalid"||K;return{...x,value:c,setValue:f,anchorDate:p,setAnchorDate:T,highlightedRange:N,validationState:L?"invalid":null,isValueInvalid:L,selectFocusedDate(){w(x.focusedDate)},selectDate:w,highlightDate(E){p&&x.setFocusedDate(E)},isSelected(E){return!!(N&&E.compare(N.start)>=0&&E.compare(N.end)<=0&&!x.isCellDisabled(E)&&!x.isCellUnavailable(E))},isInvalid(E){var P,M;return x.isInvalid(E)||an(E,(P=g.current)===null||P===void 0?void 0:P.start,(M=g.current)===null||M===void 0?void 0:M.end)},isDragging:y,setDragging:A}}function Ca(e,t){return!e||!t?null:(t.compare(e)<0&&([e,t]=[t,e]),{start:We(e),end:We(t)})}function Ys(e,t){return e=ve(e,(t==null?void 0:t.calendar)||new Ye),t&&"hour"in t?t.set(e):e}function Js(e,t,u){let n=e.add({days:u});for(;(u<0?n.compare(t.visibleRange.start)>=0:n.compare(t.visibleRange.end)<=0)&&!t.isCellUnavailable(n);)n=n.add({days:u});if(t.isCellUnavailable(n))return n.add({days:-u})}function Bx(e={}){let[t,u]=Re(e.value,e.defaultValue||[],e.onChange),n=!!e.isRequired&&t.length===0,r=o.useRef(new Map),i=Kt({...e,value:t}),a=i.displayValidation.isInvalid;var l;return{...i,value:t,setValue(d){e.isReadOnly||e.isDisabled||u(d)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected(d){return t.includes(d)},addValue(d){e.isReadOnly||e.isDisabled||t.includes(d)||u(t.concat(d))},removeValue(d){e.isReadOnly||e.isDisabled||t.includes(d)&&u(t.filter(c=>c!==d))},toggleValue(d){e.isReadOnly||e.isDisabled||(t.includes(d)?u(t.filter(c=>c!==d)):u(t.concat(d)))},setInvalid(d,c){let f=new Map(r.current);c.isInvalid?f.set(d,c):f.delete(d),r.current=f,i.updateValidation(Zn(...f.values()))},validationState:(l=e.validationState)!==null&&l!==void 0?l:a?"invalid":null,isInvalid:a,isRequired:n}}class al{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t;let u=a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let l of a.childNodes)u(l)};for(let a of t)u(a);let n=null,r=0;for(let[a,l]of this.keyMap)n?(n.nextKey=a,l.prevKey=n.key):(this.firstKey=a,l.prevKey=void 0),l.type==="item"&&(l.index=r++),n=l,n.nextKey=void 0;var i;this.lastKey=(i=n==null?void 0:n.key)!==null&&i!==void 0?i:null}}class bt extends Set{constructor(t,u,n){super(t),t instanceof bt?(this.anchorKey=u??t.anchorKey,this.currentKey=n??t.currentKey):(this.anchorKey=u??null,this.currentKey=n??null)}}function Px(e,t){if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}function fr(e){let{selectionMode:t="none",disallowEmptySelection:u=!1,allowDuplicateSelectionEvents:n,selectionBehavior:r="toggle",disabledBehavior:i="all"}=e,a=o.useRef(!1),[,l]=o.useState(!1),s=o.useRef(null),d=o.useRef(null),[,c]=o.useState(null),f=o.useMemo(()=>Xs(e.selectedKeys),[e.selectedKeys]),p=o.useMemo(()=>Xs(e.defaultSelectedKeys,new bt),[e.defaultSelectedKeys]),[h,m]=Re(f,p,e.onSelectionChange),g=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[$,v]=o.useState(r);r==="replace"&&$==="toggle"&&typeof h=="object"&&h.size===0&&v("replace");let C=o.useRef(r);return o.useEffect(()=>{r!==C.current&&(v(r),C.current=r)},[r]),{selectionMode:t,disallowEmptySelection:u,selectionBehavior:$,setSelectionBehavior:v,get isFocused(){return a.current},setFocused(D){a.current=D,l(D)},get focusedKey(){return s.current},get childFocusStrategy(){return d.current},setFocusedKey(D,x="first"){s.current=D,d.current=x,c(D)},selectedKeys:h,setSelectedKeys(D){(n||!Px(D,h))&&m(D)},disabledKeys:g,disabledBehavior:i}}function Xs(e,t){return e?e==="all"?"all":new bt(e):t}class bn{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(t){this.state.setSelectionBehavior(t)}get isFocused(){return this.state.isFocused}setFocused(t){this.state.setFocused(t)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(t,u){(t==null||this.collection.getItem(t))&&this.state.setFocusedKey(t,u)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(t){if(this.state.selectionMode==="none")return!1;let u=this.getKey(t);return u==null?!1:this.state.selectedKeys==="all"?this.canSelectItem(u):this.state.selectedKeys.has(u)}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let t=this.getSelectAllKeys(),u=this.state.selectedKeys;return this._isSelectAll=t.every(n=>u.has(n)),this._isSelectAll}get firstSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&ba(this.collection,r,t)<0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}get lastSelectedKey(){let t=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!t||r&&ba(this.collection,r,t)>0)&&(t=r)}var u;return(u=t==null?void 0:t.key)!==null&&u!==void 0?u:null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(t);return}let u=this.getKey(t);if(u==null)return;let n;if(this.state.selectedKeys==="all")n=new bt([u],u,u);else{let a=this.state.selectedKeys;var r;let l=(r=a.anchorKey)!==null&&r!==void 0?r:u;n=new bt(a,l,u);var i;for(let s of this.getKeyRange(l,(i=a.currentKey)!==null&&i!==void 0?i:u))n.delete(s);for(let s of this.getKeyRange(u,l))this.canSelectItem(s)&&n.add(s)}this.state.setSelectedKeys(n)}getKeyRange(t,u){let n=this.collection.getItem(t),r=this.collection.getItem(u);return n&&r?ba(this.collection,n,r)<=0?this.getKeyRangeInternal(t,u):this.getKeyRangeInternal(u,t):[]}getKeyRangeInternal(t,u){var n;if(!((n=this.layoutDelegate)===null||n===void 0)&&n.getKeyRange)return this.layoutDelegate.getKeyRange(t,u);let r=[],i=t;for(;i!=null;){let a=this.collection.getItem(i);if(a&&(a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&r.push(i),i===u)return r;i=this.collection.getKeyAfter(i)}return[]}getKey(t){let u=this.collection.getItem(t);if(!u||u.type==="cell"&&this.allowsCellSelection)return t;for(;u&&u.type!=="item"&&u.parentKey!=null;)u=this.collection.getItem(u.parentKey);return!u||u.type!=="item"?null:u.key}toggleSelection(t){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(t)){this.replaceSelection(t);return}let u=this.getKey(t);if(u==null)return;let n=new bt(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(u)?n.delete(u):this.canSelectItem(u)&&(n.add(u),n.anchorKey=u,n.currentKey=u),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(t){if(this.selectionMode==="none")return;let u=this.getKey(t);if(u==null)return;let n=this.canSelectItem(u)?new bt([u],u,u):new bt;this.state.setSelectedKeys(n)}setSelectedKeys(t){if(this.selectionMode==="none")return;let u=new bt;for(let n of t){let r=this.getKey(n);if(r!=null&&(u.add(r),this.selectionMode==="single"))break}this.state.setSelectedKeys(u)}getSelectAllKeys(){let t=[],u=n=>{for(;n!=null;){if(this.canSelectItem(n)){var r;let a=this.collection.getItem(n);(a==null?void 0:a.type)==="item"&&t.push(n);var i;a!=null&&a.hasChildNodes&&(this.allowsCellSelection||a.type!=="item")&&u((i=(r=Ut(Be(a,this.collection)))===null||r===void 0?void 0:r.key)!==null&&i!==void 0?i:null)}n=this.collection.getKeyAfter(n)}};return u(this.collection.getFirstKey()),t}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new bt)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(t,u){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(t)&&!this.disallowEmptySelection?this.toggleSelection(t):this.replaceSelection(t):this.selectionBehavior==="toggle"||u&&(u.pointerType==="touch"||u.pointerType==="virtual")?this.toggleSelection(t):this.replaceSelection(t))}isSelectionEqual(t){if(t===this.state.selectedKeys)return!0;let u=this.selectedKeys;if(t.size!==u.size)return!1;for(let n of t)if(!u.has(n))return!1;for(let n of u)if(!t.has(n))return!1;return!0}canSelectItem(t){var u;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(t))return!1;let n=this.collection.getItem(t);return!(!n||!(n==null||(u=n.props)===null||u===void 0)&&u.isDisabled||n.type==="cell"&&!this.allowsCellSelection)}isDisabled(t){var u,n;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(t)||!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.isDisabled))}isLink(t){var u,n;return!!(!((n=this.collection.getItem(t))===null||n===void 0||(u=n.props)===null||u===void 0)&&u.href)}getItemProps(t){var u;return(u=this.collection.getItem(t))===null||u===void 0?void 0:u.props}withCollection(t){return new bn(t,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(t,u,n){this.collection=t,this.state=u;var r;this.allowsCellSelection=(r=n==null?void 0:n.allowsCellSelection)!==null&&r!==void 0?r:!1,this._isSelectAll=null,this.layoutDelegate=(n==null?void 0:n.layoutDelegate)||null}}function Ni(e){let{filter:t,layoutDelegate:u}=e,n=fr(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=o.useCallback(d=>t?new al(t(d)):new al(d),[t]),a=o.useMemo(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),l=eo(e,i,a),s=o.useMemo(()=>new bn(l,n,{layoutDelegate:u}),[l,n,u]);return z0(l,s),{collection:l,disabledKeys:r,selectionManager:s}}function Sx(e,t){let u=o.useMemo(()=>t?e.collection.UNSTABLE_filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(u);return z0(u,n),{collection:u,selectionManager:n,disabledKeys:e.disabledKeys}}function z0(e,t){const u=o.useRef(null);o.useEffect(()=>{if(t.focusedKey!=null&&!e.getItem(t.focusedKey)&&u.current){const c=u.current.getItem(t.focusedKey),f=[...u.current.getKeys()].map(v=>{const C=u.current.getItem(v);return(C==null?void 0:C.type)==="item"?C:null}).filter(v=>v!==null),p=[...e.getKeys()].map(v=>{const C=e.getItem(v);return(C==null?void 0:C.type)==="item"?C:null}).filter(v=>v!==null);var n,r;const h=((n=f==null?void 0:f.length)!==null&&n!==void 0?n:0)-((r=p==null?void 0:p.length)!==null&&r!==void 0?r:0);var i,a,l;let m=Math.min(h>1?Math.max(((i=c==null?void 0:c.index)!==null&&i!==void 0?i:0)-h+1,0):(a=c==null?void 0:c.index)!==null&&a!==void 0?a:0,((l=p==null?void 0:p.length)!==null&&l!==void 0?l:0)-1),g=null,$=!1;for(;m>=0;){if(!t.isDisabled(p[m].key)){g=p[m];break}if(m<p.length-1&&!$)m++;else{$=!0;var s,d;m>((s=c==null?void 0:c.index)!==null&&s!==void 0?s:0)&&(m=(d=c==null?void 0:c.index)!==null&&d!==void 0?d:0),m--}}t.setFocusedKey(g?g.key:null)}u.current=e},[e,t])}function M0(e){var t;let[u,n]=Re(e.selectedKey,(t=e.defaultSelectedKey)!==null&&t!==void 0?t:null,e.onSelectionChange),r=o.useMemo(()=>u!=null?[u]:[],[u]),{collection:i,disabledKeys:a,selectionManager:l}=Ni({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:r,onSelectionChange:d=>{if(d==="all")return;var c;let f=(c=d.values().next().value)!==null&&c!==void 0?c:null;f===u&&e.onSelectionChange&&e.onSelectionChange(f),n(f)}}),s=u!=null?i.getItem(u):null;return{collection:i,disabledKeys:a,selectionManager:l,selectedKey:u,setSelectedKey:n,selectedItem:s}}function Vu(e){let[t,u]=Re(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),i=o.useCallback(()=>{u(!t)},[u,t]);return{isOpen:t,setOpen:u,open:n,close:r,toggle:i}}function wx(e){var t;let{defaultFilter:u,menuTrigger:n="input",allowsEmptyCollection:r=!1,allowsCustomValue:i,shouldCloseOnBlur:a=!0}=e,[l,s]=o.useState(!1),[d,c]=o.useState(!1),[f,p]=o.useState(null),h=le=>{e.onSelectionChange&&e.onSelectionChange(le),le===v&&(Y(),z())};var m;let{collection:g,selectionManager:$,selectedKey:v,setSelectedKey:C,selectedItem:D,disabledKeys:x}=M0({...e,onSelectionChange:h,items:(m=e.items)!==null&&m!==void 0?m:e.defaultItems}),k=e.defaultInputValue;if(k==null){var S,F;v==null?k="":k=(F=(S=g.getItem(v))===null||S===void 0?void 0:S.textValue)!==null&&F!==void 0?F:""}let[T,N]=Re(e.inputValue,k,e.onInputChange),w=g,y=o.useMemo(()=>e.items!=null||!u?g:Ax(g,T,u),[g,T,u,e.items]),[A,I]=o.useState(y),K=o.useRef("focus"),B=Vu({...e,onOpenChange:le=>{e.onOpenChange&&e.onOpenChange(le,le?K.current:void 0),$.setFocused(le),le||$.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),E=(le=null,Ce)=>{let Ie=Ce==="manual"||Ce==="focus"&&n==="focus";(r||y.size>0||Ie&&w.size>0||e.items)&&(Ie&&!B.isOpen&&e.items===void 0&&s(!0),K.current=Ce,p(le),B.open())},P=(le=null,Ce)=>{let Ie=Ce==="manual"||Ce==="focus"&&n==="focus";!(r||y.size>0||Ie&&w.size>0||e.items)&&!B.isOpen||(Ie&&!B.isOpen&&e.items===void 0&&s(!0),B.isOpen||(K.current=Ce),R(le))},M=o.useCallback(()=>{I(l?w:y)},[l,w,y]),R=o.useCallback((le=null)=>{B.isOpen&&M(),p(le),B.toggle()},[B,M]),z=o.useCallback(()=>{B.isOpen&&(M(),B.close())},[B,M]),[U,G]=o.useState(T),Y=()=>{var le,Ce;let Ie=v!=null&&(Ce=(le=g.getItem(v))===null||le===void 0?void 0:le.textValue)!==null&&Ce!==void 0?Ce:"";G(Ie),N(Ie)};var pe,ae;let oe=o.useRef((ae=(pe=e.selectedKey)!==null&&pe!==void 0?pe:e.defaultSelectedKey)!==null&&ae!==void 0?ae:null);var O;let ne=o.useRef(v!=null&&(O=(t=g.getItem(v))===null||t===void 0?void 0:t.textValue)!==null&&O!==void 0?O:"");o.useEffect(()=>{var le;d&&(y.size>0||r)&&!B.isOpen&&T!==U&&n!=="manual"&&E(null,"input"),!l&&!r&&B.isOpen&&y.size===0&&z(),v!=null&&v!==oe.current&&z(),T!==U&&($.setFocusedKey(null),s(!1),T===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&C(null)),v!==oe.current&&(e.inputValue===void 0||e.selectedKey===void 0)?Y():U!==T&&G(T);var Ce;let Ie=v!=null&&(Ce=(le=g.getItem(v))===null||le===void 0?void 0:le.textValue)!==null&&Ce!==void 0?Ce:"";!d&&v!=null&&e.inputValue===void 0&&v===oe.current&&ne.current!==Ie&&(G(Ie),N(Ie)),oe.current=v,ne.current=Ie});let fe=Kt({...e,value:o.useMemo(()=>({inputValue:T,selectedKey:v}),[T,v])}),W=()=>{i&&v==null?_():Q()},_=()=>{oe.current=null,C(null),z()},Q=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var le,Ce;(le=e.onSelectionChange)===null||le===void 0||le.call(e,v);var Ie;let w2=v!=null&&(Ie=(Ce=g.getItem(v))===null||Ce===void 0?void 0:Ce.textValue)!==null&&Ie!==void 0?Ie:"";G(w2),z()}else Y(),z()};const Ae=()=>{if(i){var le,Ce;const Ie=v!=null&&(Ce=(le=g.getItem(v))===null||le===void 0?void 0:le.textValue)!==null&&Ce!==void 0?Ce:"";T===Ie?Q():_()}else Q()};let te=()=>{B.isOpen&&$.focusedKey!=null?v===$.focusedKey?Q():C($.focusedKey):Ae()},nu=o.useRef(T),vu=le=>{le?(nu.current=T,n==="focus"&&!e.isReadOnly&&E(null,"focus")):(a&&Ae(),T!==nu.current&&fe.commitValidation()),c(le)},S2=o.useMemo(()=>B.isOpen?l?w:y:A,[B.isOpen,w,y,l,A]);return{...fe,...B,focusStrategy:f,toggle:P,open:E,close:Ae,selectionManager:$,selectedKey:v,setSelectedKey:C,disabledKeys:x,isFocused:d,setFocused:vu,selectedItem:D,collection:S2,inputValue:T,setInputValue:N,commit:te,revert:W}}function Ax(e,t,u){return new al(N0(e,e,t,u))}function N0(e,t,u,n){let r=[];for(let i of t)if(i.type==="section"&&i.hasChildNodes){let a=N0(e,Be(i,e),u,n);[...a].some(l=>l.type==="item")&&r.push({...i,childNodes:a})}else i.type==="item"&&n(i.textValue,u)?r.push({...i}):i.type!=="item"&&r.push({...i});return r}var V0={};V0={rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."};var _0={};_0={rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."};var j0={};j0={rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."};var L0={};L0={rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."};var O0={};O0={rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."};var H0={};H0={rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."};var U0={};U0={rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var W0={};W0={rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var G0={};G0={rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."};var Z0={};Z0={rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."};var q0={};q0={rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."};var Y0={};Y0={rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."};var J0={};J0={rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var X0={};X0={rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."};var Q0={};Q0={rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var e5={};e5={rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"};var t5={};t5={rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."};var u5={};u5={rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."};var n5={};n5={rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."};var r5={};r5={rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var i5={};i5={rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var a5={};a5={rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."};var l5={};l5={rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var o5={};o5={rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."};var s5={};s5={rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."};var d5={};d5={rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."};var c5={};c5={rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."};var f5={};f5={rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."};var p5={};p5={rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var h5={};h5={rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."};var m5={};m5={rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."};var b5={};b5={rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."};var g5={};g5={rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"};var $5={};$5={rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"};var y5={};y5={"ar-AE":V0,"bg-BG":_0,"cs-CZ":j0,"da-DK":L0,"de-DE":O0,"el-GR":H0,"en-US":U0,"es-ES":W0,"et-EE":G0,"fi-FI":Z0,"fr-FR":q0,"he-IL":Y0,"hr-HR":J0,"hu-HU":X0,"it-IT":Q0,"ja-JP":e5,"ko-KR":t5,"lt-LT":u5,"lv-LV":n5,"nb-NO":r5,"nl-NL":i5,"pl-PL":a5,"pt-BR":l5,"pt-PT":o5,"ro-RO":s5,"ru-RU":d5,"sk-SK":c5,"sl-SI":f5,"sr-SP":p5,"sv-SE":h5,"tr-TR":m5,"uk-UA":b5,"zh-CN":g5,"zh-TW":$5};function Fx(e){return e&&e.__esModule?e.default:e}const v5=new uu(Fx(y5));function D5(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}function si(e,t,u,n,r){let i=e!=null&&u!=null&&e.compare(u)>0,a=e!=null&&t!=null&&e.compare(t)<0,l=e!=null&&(n==null?void 0:n(e))||!1,s=i||a||l,d=[];if(s){let c=D5(),f=uu.getGlobalDictionaryForPackage("@react-stately/datepicker")||v5,p=new Tl(c,f),h=new lt(c,Yt({},r)),m=h.resolvedOptions().timeZone;a&&t!=null&&d.push(p.format("rangeUnderflow",{minValue:h.format(t.toDate(m))})),i&&u!=null&&d.push(p.format("rangeOverflow",{maxValue:h.format(u.toDate(m))})),l&&d.push(p.format("unavailableDate"))}return{isInvalid:s,validationErrors:d,validationDetails:{badInput:l,customError:!1,patternMismatch:!1,rangeOverflow:i,rangeUnderflow:a,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}function Tx(e,t,u,n,r){var i;let a=si((i=e==null?void 0:e.start)!==null&&i!==void 0?i:null,t,u,n,r);var l;let s=si((l=e==null?void 0:e.end)!==null&&l!==void 0?l:null,t,u,n,r),d=Zn(a,s);if((e==null?void 0:e.end)!=null&&e.start!=null&&e.end.compare(e.start)<0){let c=uu.getGlobalDictionaryForPackage("@react-stately/datepicker")||v5;d=Zn(d,{isInvalid:!0,validationErrors:[c.getStringForLocale("rangeReversed",D5())],validationDetails:{...Ti,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return d}const Ix={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},Rx={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Yt(e,t){e={...t.shouldForceLeadingZeros?Rx:Ix,...e};let n=t.granularity||"minute",r=Object.keys(e);var i;let a=r.indexOf((i=t.maxGranularity)!==null&&i!==void 0?i:"year");a<0&&(a=0);let l=r.indexOf(n);if(l<0&&(l=2),a>l)throw new Error("maxGranularity must be greater than granularity");let s=r.slice(a,l+1).reduce((c,f)=>(c[f]=e[f],c),{});return t.hourCycle!=null&&(s.hour12=t.hourCycle===12),s.timeZone=t.timeZone||"UTC",(n==="hour"||n==="minute"||n==="second")&&t.timeZone&&!t.hideTimeZone&&(s.timeZoneName="short"),t.showEra&&a===0&&(s.era="short"),s}function Ju(e){return e&&"hour"in e?e:new Ll}function x5(e,t){if(e===null)return null;if(e)return ve(e,t)}function En(e,t,u,n){if(e)return x5(e,u);let r=ve(Sc(n??Si()).set({hour:0,minute:0,second:0,millisecond:0}),u);return t==="year"||t==="month"||t==="day"?We(r):n?r:Ft(r)}function so(e,t){let u=e&&"timeZone"in e?e.timeZone:void 0,n=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[r,i]=o.useState([n,u]);e&&(r[0]!==n||r[1]!==u)&&i([n,u]),t||(t=e?n:r[0]);let a=e?u:r[1];return[t,a]}function Kx(e){let t=Vu(e),[u,n]=Re(e.value,e.defaultValue||null,e.onChange),r=u||e.placeholderValue||null,[i,a]=so(r,e.granularity),l=u!=null?u.toDate(a??"UTC"):null,s=i==="hour"||i==="minute"||i==="second";var d;let c=(d=e.shouldCloseOnSelect)!==null&&d!==void 0?d:!0,[f,p]=o.useState(null),[h,m]=o.useState(null);if(u&&(f=u,"hour"in u&&(h=u)),r&&!(i in r))throw new Error("Invalid granularity "+i+" for value "+r.toString());let g=(u==null?void 0:u.calendar.identifier)==="gregory"&&u.era==="BC",$=o.useMemo(()=>({granularity:i,timeZone:a,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:g}),[i,e.hourCycle,e.shouldForceLeadingZeros,a,e.hideTimeZone,g]),{minValue:v,maxValue:C,isDateUnavailable:D}=e,x=o.useMemo(()=>si(u,v,C,D,$),[u,v,C,D,$]),k=Kt({...e,value:u,builtinValidation:x}),S=k.displayValidation.isInvalid,F=e.validationState||(S?"invalid":null),T=(y,A)=>{n("timeZone"in A?A.set(We(y)):Ft(y,A)),p(null),m(null),k.commitValidation()};return{...k,value:u,setValue:n,dateValue:f,timeValue:h,setDateValue:y=>{let A=typeof c=="function"?c():c;s?h||A?T(y,h||Ju(e.defaultValue||e.placeholderValue)):p(y):(n(y),k.commitValidation()),A&&t.setOpen(!1)},setTimeValue:y=>{f&&y?T(f,y):m(y)},granularity:i,hasTime:s,...t,setOpen(y){!y&&!u&&f&&s&&T(f,h||Ju(e.defaultValue||e.placeholderValue)),t.setOpen(y)},validationState:F,isInvalid:S,formatValue(y,A){if(!l)return"";let I=Yt(A,$);return new lt(y,I).format(l)},getDateFormatter(y,A){let I={...$,...A},K=Yt({},I);return new lt(y,K)}}}const zx=new uu({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"年",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function Mx(e,t,u){return e==="era"||e==="dayPeriod"?t:e==="year"||e==="month"||e==="day"?zx.getStringForLocale(e,u):"––"}const Vr={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Qs={year:5,month:2,day:7,hour:2,minute:15,second:15},Nx={dayperiod:"dayPeriod"};function C5(e){let{locale:t,createCalendar:u,hideTimeZone:n,isDisabled:r=!1,isReadOnly:i=!1,isRequired:a=!1,minValue:l,maxValue:s,isDateUnavailable:d}=e,c=e.value||e.defaultValue||e.placeholderValue||null,[f,p]=so(c,e.granularity),h=p||"UTC";if(c&&!(f in c))throw new Error("Invalid granularity "+f+" for value "+c.toString());let m=o.useMemo(()=>new lt(t),[t]),g=o.useMemo(()=>u(m.resolvedOptions().calendar),[u,m]);var $;let[v,C]=Re(e.value,($=e.defaultValue)!==null&&$!==void 0?$:null,e.onChange),D=o.useMemo(()=>{var O;return(O=x5(v,g))!==null&&O!==void 0?O:null},[v,g]),[x,k]=o.useState(()=>En(e.placeholderValue,f,g,p)),S=D||x,F=g.identifier==="gregory"&&S.era==="BC",T=o.useMemo(()=>{var O;return{granularity:f,maxGranularity:(O=e.maxGranularity)!==null&&O!==void 0?O:"year",timeZone:p,hideTimeZone:n,hourCycle:e.hourCycle,showEra:F,shouldForceLeadingZeros:e.shouldForceLeadingZeros}},[e.maxGranularity,f,e.hourCycle,e.shouldForceLeadingZeros,p,n,F]),N=o.useMemo(()=>Yt({},T),[T]),w=o.useMemo(()=>new lt(t,N),[t,N]),y=o.useMemo(()=>w.resolvedOptions(),[w]),A=o.useMemo(()=>w.formatToParts(new Date).filter(O=>Vr[O.type]).reduce((O,ne)=>(O[ne.type]=!0,O),{}),[w]),[I,K]=o.useState(()=>e.value||e.defaultValue?{...A}:{}),L=o.useRef(null),B=o.useRef(g);o.useEffect(()=>{Pi(g,B.current)||(B.current=g,k(O=>Object.keys(I).length>0?ve(O,g):En(e.placeholderValue,f,g,p)))},[g,f,I,p,e.placeholderValue]),v&&Object.keys(I).length<Object.keys(A).length&&(I={...A},K(I)),v==null&&Object.keys(I).length===Object.keys(A).length&&(I={},K(I),k(En(e.placeholderValue,f,g,p)));let E=D&&Object.keys(I).length>=Object.keys(A).length?D:x,P=O=>{if(e.isDisabled||e.isReadOnly)return;let ne=Object.keys(I),fe=Object.keys(A);O==null?(C(null),k(En(e.placeholderValue,f,g,p)),K({})):ne.length>=fe.length||ne.length===fe.length-1&&A.dayPeriod&&!I.dayPeriod&&L.current!=="dayPeriod"?(O=ve(O,(c==null?void 0:c.calendar)||new Ye),C(O)):k(O),L.current=null},M=o.useMemo(()=>E.toDate(h),[E,h]),R=o.useMemo(()=>Vx(M,I,w,y,E,g,t,f),[M,I,w,y,E,g,t,f]);A.era&&I.year&&!I.era?(I.era=!0,K({...I})):!A.era&&I.era&&(delete I.era,K({...I}));let z=O=>{I[O]=!0,O==="year"&&A.era&&(I.era=!0),K({...I})},U=(O,ne)=>{if(I[O])P(_x(E,O,ne,y));else{z(O);let fe=Object.keys(I),W=Object.keys(A);(fe.length>=W.length||fe.length===W.length-1&&A.dayPeriod&&!I.dayPeriod)&&P(E)}},G=o.useMemo(()=>si(v,l,s,d,T),[v,l,s,d,T]),Y=Kt({...e,value:v,builtinValidation:G}),pe=Y.displayValidation.isInvalid,ae=e.validationState||(pe?"invalid":null);var oe;return{...Y,value:D,dateValue:M,calendar:g,setValue:P,segments:R,dateFormatter:w,validationState:ae,isInvalid:pe,granularity:f,maxGranularity:(oe=e.maxGranularity)!==null&&oe!==void 0?oe:"year",isDisabled:r,isReadOnly:i,isRequired:a,increment(O){U(O,1)},decrement(O){U(O,-1)},incrementPage(O){U(O,Qs[O]||1)},decrementPage(O){U(O,-(Qs[O]||1))},setSegment(O,ne){z(O),P(jx(E,O,ne,y))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let O=Object.keys(I),ne=Object.keys(A);O.length===ne.length-1&&A.dayPeriod&&!I.dayPeriod&&(I={...A},K(I),P(E.copy()))},clearSegment(O){delete I[O],L.current=O,K({...I});let ne=En(e.placeholderValue,f,g,p),fe=E;if(O==="dayPeriod"&&"hour"in E&&"hour"in ne){let W=E.hour>=12,_=ne.hour>=12;W&&!_?fe=E.set({hour:E.hour-12}):!W&&_&&(fe=E.set({hour:E.hour+12}))}else O==="hour"&&"hour"in E&&E.hour>=12&&I.dayPeriod?fe=E.set({hour:ne.hour+12}):O in E&&(fe=E.set({[O]:ne[O]}));C(null),P(fe)},formatValue(O){if(!D)return"";let ne=Yt(O,T);return new lt(t,ne).format(M)},getDateFormatter(O,ne){let fe={...T,...ne},W=Yt({},fe);return new lt(O,W)}}}function Vx(e,t,u,n,r,i,a,l){let s=["hour","minute","second"],d=u.formatToParts(e),c=[];for(let f of d){let p=Vr[f.type];f.type==="era"&&i.getEras().length===1&&(p=!1);let h=Vr[f.type]&&!t[f.type],m=Vr[f.type]?Mx(f.type,f.value,a):null,g={type:Nx[f.type]||f.type,text:h?m:f.value,...Sr(r,f.type,n),isPlaceholder:h,placeholder:m,isEditable:p};f.type==="hour"?(c.push({type:"literal",text:"⁦",...Sr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1}),c.push(g),f.type===l&&c.push({type:"literal",text:"⁩",...Sr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):s.includes(f.type)&&f.type===l?(c.push(g),c.push({type:"literal",text:"⁩",...Sr(r,"literal",n),isPlaceholder:!1,placeholder:"",isEditable:!1})):c.push(g)}return c}function Sr(e,t,u){switch(t){case"era":{let n=e.calendar.getEras();return{value:n.indexOf(e.era),minValue:0,maxValue:n.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:S6(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:w6(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(u.hour12){let n=e.hour>=12;return{value:e.hour,minValue:n?12:0,maxValue:n?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}function _x(e,t,u,n){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,u,{round:t==="year"})}if("hour"in e)switch(t){case"dayPeriod":{let r=e.hour,i=r>=12;return e.set({hour:i?r-12:r+12})}case"hour":case"minute":case"second":return e.cycle(t,u,{round:t!=="hour",hourCycle:n.hour12?12:24})}throw new Error("Unknown segment: "+t)}function jx(e,t,u,n){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:u})}if("hour"in e&&typeof u=="number")switch(t){case"dayPeriod":{let r=e.hour,i=r>=12;return u>=12===i?e:e.set({hour:i?r-12:r+12})}case"hour":if(n.hour12){let i=e.hour>=12;!i&&u===12&&(u=0),i&&u<12&&(u+=12)}case"minute":case"second":return e.set({[t]:u})}throw new Error("Unknown segment: "+t)}function Lx(e){var t,u;let n=Vu(e),[r,i]=Re(e.value,e.defaultValue||null,e.onChange),[a,l]=o.useState(()=>r||{start:null,end:null});r==null&&a.start&&a.end&&(a={start:null,end:null},l(a));let s=r||a,d=B=>{l(B||{start:null,end:null}),Du(B)?i(B):i(null)},c=(s==null?void 0:s.start)||(s==null?void 0:s.end)||e.placeholderValue||null,[f,p]=so(c,e.granularity),h=f==="hour"||f==="minute"||f==="second";var m;let g=(m=e.shouldCloseOnSelect)!==null&&m!==void 0?m:!0,[$,v]=o.useState(null),[C,D]=o.useState(null);s&&Du(s)&&($=s,"hour"in s.start&&(C=s));let x=(B,E)=>{d({start:"timeZone"in E.start?E.start.set(We(B.start)):Ft(B.start,E.start),end:"timeZone"in E.end?E.end.set(We(B.end)):Ft(B.end,E.end)}),v(null),D(null),I.commitValidation()},k=B=>{let E=typeof g=="function"?g():g;h?Du(B)&&(C!=null&&C.start)&&(C!=null&&C.end)?x(B,{start:(C==null?void 0:C.start)||Ju(e.placeholderValue),end:(C==null?void 0:C.end)||Ju(e.placeholderValue)}):v(B):Du(B)?(d(B),I.commitValidation()):v(B),E&&n.setOpen(!1)},S=B=>{Du($)&&Du(B)?x($,B):D(B)},F=(s==null||(t=s.start)===null||t===void 0?void 0:t.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(u=s.end)===null||u===void 0?void 0:u.calendar.identifier)==="gregory"&&s.end.era==="BC",T=o.useMemo(()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:F}),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,F]),{minValue:N,maxValue:w,isDateUnavailable:y}=e,A=o.useMemo(()=>Tx(s,N,w,y,T),[s,N,w,y,T]),I=Kt({...e,value:r,name:o.useMemo(()=>[e.startName,e.endName].filter(B=>B!=null),[e.startName,e.endName]),builtinValidation:A}),K=I.displayValidation.isInvalid,L=e.validationState||(K?"invalid":null);return{...I,value:s,setValue:d,dateRange:$,timeRange:C,granularity:f,hasTime:h,setDate(B,E){var P,M;k(B==="start"?{start:E,end:(P=$==null?void 0:$.end)!==null&&P!==void 0?P:null}:{start:(M=$==null?void 0:$.start)!==null&&M!==void 0?M:null,end:E})},setTime(B,E){var P,M;S(B==="start"?{start:E,end:(P=C==null?void 0:C.end)!==null&&P!==void 0?P:null}:{start:(M=C==null?void 0:C.start)!==null&&M!==void 0?M:null,end:E})},setDateTime(B,E){var P,M;d(B==="start"?{start:E,end:(P=s==null?void 0:s.end)!==null&&P!==void 0?P:null}:{start:(M=s==null?void 0:s.start)!==null&&M!==void 0?M:null,end:E})},setDateRange:k,setTimeRange:S,...n,setOpen(B){!B&&!(s!=null&&s.start&&(s!=null&&s.end))&&Du($)&&h&&x($,{start:(C==null?void 0:C.start)||Ju(e.placeholderValue),end:(C==null?void 0:C.end)||Ju(e.placeholderValue)}),n.setOpen(B)},validationState:L,isInvalid:K,formatValue(B,E){if(!s||!s.start||!s.end)return null;let P="timeZone"in s.start?s.start.timeZone:void 0,M=e.granularity||(s.start&&"minute"in s.start?"minute":"day"),R="timeZone"in s.end?s.end.timeZone:void 0,z=e.granularity||(s.end&&"minute"in s.end?"minute":"day"),U=Yt(E,{granularity:M,timeZone:P,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),G=s.start.toDate(P||"UTC"),Y=s.end.toDate(R||"UTC"),pe=new lt(B,U),ae;if(P===R&&M===z&&s.start.compare(s.end)!==0){try{let oe=pe.formatRangeToParts(G,Y),O=-1;for(let W=0;W<oe.length;W++){let _=oe[W];if(_.source==="shared"&&_.type==="literal")O=W;else if(_.source==="endRange")break}let ne="",fe="";for(let W=0;W<oe.length;W++)W<O?ne+=oe[W].value:W>O&&(fe+=oe[W].value);return{start:ne,end:fe}}catch{}ae=pe}else{let oe=Yt(E,{granularity:z,timeZone:R,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle});ae=new lt(B,oe)}return{start:pe.format(G),end:ae.format(Y)}},getDateFormatter(B,E){let P={...T,...E},M=Yt({},P);return new lt(B,M)}}}function Du(e){return(e==null?void 0:e.start)!=null&&e.end!=null}function Ox(e){let[t,u]=Re(e.isExpanded,e.defaultExpanded||!1,e.onExpandedChange);const n=o.useCallback(()=>{u(!0)},[u]),r=o.useCallback(()=>{u(!1)},[u]),i=o.useCallback(()=>{u(!t)},[u,t]);return{isExpanded:t,setExpanded:u,expand:n,collapse:r,toggle:i}}function Hx(e){let{allowsMultipleExpanded:t=!1,isDisabled:u=!1}=e,[n,r]=Re(o.useMemo(()=>e.expandedKeys?new Set(e.expandedKeys):void 0,[e.expandedKeys]),o.useMemo(()=>e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,[e.defaultExpandedKeys]),e.onExpandedChange);return o.useEffect(()=>{if(!t&&n.size>1){let i=n.values().next().value;i!=null&&r(new Set([i]))}}),{allowsMultipleExpanded:t,isDisabled:u,expandedKeys:n,setExpandedKeys:r,toggleKey(i){let a;t?(a=new Set(n),a.has(i)?a.delete(i):a.add(i)):a=new Set(n.has(i)?[]:[i]),r(a)}}}function Vi(e){let t=Vu(e),[u,n]=o.useState(null),[r,i]=o.useState([]),a=()=>{i([]),t.close()};return{focusStrategy:u,...t,open(d=null){n(d),t.open()},toggle(d=null){n(d),t.toggle()},close(){a()},expandedKeysStack:r,openSubmenu:(d,c)=>{i(f=>c>f.length?f:[...f.slice(0,c),d])},closeSubmenu:(d,c)=>{i(f=>f[c]===d?f.slice(0,c):f)}}}let Ux=Math.round(Math.random()*1e10),Wx=0;function Gx(e){let t=o.useMemo(()=>e.name||`radio-group-${Ux}-${++Wx}`,[e.name]);var u;let[n,r]=Re(e.value,(u=e.defaultValue)!==null&&u!==void 0?u:null,e.onChange),[i,a]=o.useState(null),l=Kt({...e,value:n}),s=c=>{!e.isReadOnly&&!e.isDisabled&&(r(c),l.commitValidation())},d=l.displayValidation.isInvalid;return{...l,name:t,selectedValue:n,setSelectedValue:s,lastFocusedValue:i,setLastFocusedValue:a,isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isRequired:e.isRequired||!1,validationState:e.validationState||(d?"invalid":null),isInvalid:d}}function Zx(e){let[t,u]=Re(ed(e.value),ed(e.defaultValue)||"",e.onChange);return{value:t,setValue:u}}function ed(e){if(e!=null)return e.toString()}function qx(e){let{collection:t,focusMode:u}=e,n=e.UNSAFE_selectionState||fr(e),r=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=n.setFocusedKey;n.setFocusedKey=(s,d)=>{if(u==="cell"&&s!=null){let m=t.getItem(s);if((m==null?void 0:m.type)==="item"){var c,f;let g=Be(m,t);var p,h;d==="last"?s=(p=(c=Zt(g))===null||c===void 0?void 0:c.key)!==null&&p!==void 0?p:null:s=(h=(f=Ut(g))===null||f===void 0?void 0:f.key)!==null&&h!==void 0?h:null}}i(s,d)};let a=o.useMemo(()=>new bn(t,n),[t,n]);const l=o.useRef(null);return o.useEffect(()=>{if(n.focusedKey!=null&&l.current&&!t.getItem(n.focusedKey)){const s=l.current.getItem(n.focusedKey),d=(s==null?void 0:s.parentKey)!=null&&(s.type==="cell"||s.type==="rowheader"||s.type==="column")?l.current.getItem(s.parentKey):s;if(!d){n.setFocusedKey(null);return}const c=l.current.rows,f=t.rows,p=c.length-f.length;let h=Math.min(p>1?Math.max(d.index-p+1,0):d.index,f.length-1),m=null;for(;h>=0;){if(!a.isDisabled(f[h].key)&&f[h].type!=="headerrow"){m=f[h];break}h<f.length-1?h++:(h>d.index&&(h=d.index),h--)}if(m){const g=m.hasChildNodes?[...Be(m,t)]:[],$=m.hasChildNodes&&d!==s&&s&&s.index<g.length?g[s.index].key:m.key;n.setFocusedKey($)}else n.setFocusedKey(null)}l.current=t},[t,a,n,n.focusedKey]),{collection:t,disabledKeys:r,isKeyboardNavigationDisabled:!1,selectionManager:a}}class Yx{*[Symbol.iterator](){yield*[...this.rows]}get size(){return[...this.rows].length}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t;return(t=[...this.rows][0])===null||t===void 0?void 0:t.key}getLastKey(){var t;let u=[...this.rows];return(t=u[u.length-1])===null||t===void 0?void 0:t.key}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){let u=this.keyMap.get(t);return(u==null?void 0:u.childNodes)||[]}constructor(t){this.keyMap=new Map,this.keyMap=new Map,this.columnCount=t==null?void 0:t.columnCount,this.rows=[];let u=f=>{let p=this.keyMap.get(f.key);t.visitNode&&(f=t.visitNode(f)),this.keyMap.set(f.key,f);let h=new Set,m=null,g=!1;if(f.type==="item"){var $;for(let k of f.childNodes)if((($=k.props)===null||$===void 0?void 0:$.colSpan)!==void 0){g=!0;break}}for(let k of f.childNodes){if(k.type==="cell"&&g){var v,C;k.colspan=(v=k.props)===null||v===void 0?void 0:v.colSpan,k.colSpan=(C=k.props)===null||C===void 0?void 0:C.colSpan;var D,x;k.colIndex=m?((D=m.colIndex)!==null&&D!==void 0?D:m.index)+((x=m.colSpan)!==null&&x!==void 0?x:1):k.index}k.type==="cell"&&k.parentKey==null&&(k.parentKey=f.key),h.add(k.key),m?(m.nextKey=k.key,k.prevKey=m.key):k.prevKey=null,u(k),m=k}if(m&&(m.nextKey=null),p)for(let k of p.childNodes)h.has(k.key)||n(k)},n=f=>{this.keyMap.delete(f.key);for(let p of f.childNodes)this.keyMap.get(p.key)===p&&n(p)},r=null;for(let[f,p]of t.items.entries()){var i,a,l,s,d,c;let h={...p,level:(i=p.level)!==null&&i!==void 0?i:0,key:(a=p.key)!==null&&a!==void 0?a:"row-"+f,type:(l=p.type)!==null&&l!==void 0?l:"row",value:(s=p.value)!==null&&s!==void 0?s:null,hasChildNodes:!0,childNodes:[...p.childNodes],rendered:p.rendered,textValue:(d=p.textValue)!==null&&d!==void 0?d:"",index:(c=p.index)!==null&&c!==void 0?c:f};r?(r.nextKey=h.key,h.prevKey=r.key):h.prevKey=null,this.rows.push(h),u(h),r=h}r&&(r.nextKey=null)}}const E5="row-header-column-"+Math.random().toString(36).slice(2);let ll="row-header-column-"+Math.random().toString(36).slice(2);for(;E5===ll;)ll="row-header-column-"+Math.random().toString(36).slice(2);function k5(e,t){if(t.length===0)return[];let u=[],n=new Map;for(let c of t){let f=c.parentKey,p=[c];for(;f;){let h=e.get(f);if(!h)break;if(n.has(h)){var r,i;(i=(r=h).colSpan)!==null&&i!==void 0||(r.colSpan=0),h.colSpan++,h.colspan=h.colSpan;let{column:m,index:g}=n.get(h);if(g>p.length)break;for(let $=g;$<p.length;$++)m.splice($,0,null);for(let $=p.length;$<m.length;$++)m[$]&&n.has(m[$])&&(n.get(m[$]).index=$)}else h.colSpan=1,h.colspan=1,p.push(h),n.set(h,{column:p,index:p.length-1});f=h.parentKey}u.push(p),c.index=u.length-1}let a=Math.max(...u.map(c=>c.length)),l=Array(a).fill(0).map(()=>[]),s=0;for(let c of u){let f=a-1;for(let p of c){if(p){let h=l[f],m=h.reduce((g,$)=>{var v;return g+((v=$.colSpan)!==null&&v!==void 0?v:1)},0);if(m<s){let g={type:"placeholder",key:"placeholder-"+p.key,colspan:s-m,colSpan:s-m,index:m,value:null,rendered:null,level:f,hasChildNodes:!1,childNodes:[],textValue:""};h.length>0&&(h[h.length-1].nextKey=g.key,g.prevKey=h[h.length-1].key),h.push(g)}h.length>0&&(h[h.length-1].nextKey=p.key,p.prevKey=h[h.length-1].key),p.level=f,p.colIndex=s,h.push(p)}f--}s++}let d=0;for(let c of l){let f=c.reduce((p,h)=>{var m;return p+((m=h.colSpan)!==null&&m!==void 0?m:1)},0);if(f<t.length){let p={type:"placeholder",key:"placeholder-"+c[c.length-1].key,colSpan:t.length-f,colspan:t.length-f,index:f,value:null,rendered:null,level:d,hasChildNodes:!1,childNodes:[],textValue:"",prevKey:c[c.length-1].key};c.push(p)}d++}return l.map((c,f)=>({type:"headerrow",key:"headerrow-"+f,index:f,value:null,rendered:null,level:0,hasChildNodes:!0,childNodes:c,textValue:""}))}class Jx extends Yx{*[Symbol.iterator](){yield*this.body.childNodes}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return(n=u==null?void 0:u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){var t,u;return(u=(t=Ut(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getLastKey(){var t,u;return(u=(t=Zt(this.body.childNodes))===null||t===void 0?void 0:t.key)!==null&&u!==void 0?u:null}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}getChildren(t){return t===this.body.key?this.body.childNodes:super.getChildren(t)}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys;if(n){let r=[];for(let i of u.childNodes){let a=this.columns[i.index];if(n.has(a.key)&&i.textValue&&r.push(i.textValue),r.length===n.size)break}return r.join(" ")}return""}constructor(t,u,n){let r=new Set,i=null,a=[];if(n!=null&&n.showSelectionCheckboxes){let f={type:"column",key:E5,value:null,textValue:"",level:0,index:n!=null&&n.showDragButtons?1:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isSelectionCell:!0}};a.unshift(f)}if(n!=null&&n.showDragButtons){let f={type:"column",key:ll,value:null,textValue:"",level:0,index:0,hasChildNodes:!1,rendered:null,childNodes:[],props:{isDragButtonCell:!0}};a.unshift(f)}let l=[],s=new Map,d=f=>{switch(f.type){case"body":i=f;break;case"column":s.set(f.key,f),f.hasChildNodes||(a.push(f),f.props.isRowHeader&&r.add(f.key));break;case"item":l.push(f);return}for(let p of f.childNodes)d(p)};for(let f of t)d(f);let c=k5(s,a);if(c.forEach((f,p)=>l.splice(p,0,f)),super({columnCount:a.length,items:l,visitNode:f=>(f.column=a[f.index],f)}),this._size=0,this.columns=a,this.rowHeaderColumnKeys=r,this.body=i,this.headerRows=c,this._size=[...i.childNodes].length,this.rowHeaderColumnKeys.size===0){let f=this.columns.find(p=>{var h,m;return!(!((h=p.props)===null||h===void 0)&&h.isDragButtonCell)&&!(!((m=p.props)===null||m===void 0)&&m.isSelectionCell)});f&&this.rowHeaderColumnKeys.add(f.key)}}}const Xx={ascending:"descending",descending:"ascending"};function Qx(e){let[t,u]=o.useState(!1),{selectionMode:n="none",showSelectionCheckboxes:r,showDragButtons:i}=e,a=o.useMemo(()=>({showSelectionCheckboxes:r&&n!=="none",showDragButtons:i,selectionMode:n,columns:[]}),[e.children,r,n,i]),l=eo(e,o.useCallback(f=>new Jx(f,null,a),[a]),a),{disabledKeys:s,selectionManager:d}=qx({...e,collection:l,disabledBehavior:e.disabledBehavior||"selection"});var c;return{collection:l,disabledKeys:s,selectionManager:d,showSelectionCheckboxes:e.showSelectionCheckboxes||!1,sortDescriptor:(c=e.sortDescriptor)!==null&&c!==void 0?c:null,isKeyboardNavigationDisabled:l.size===0||t,setKeyboardNavigationDisabled:u,sort(f,p){var h,m;(m=e.onSortChange)===null||m===void 0||m.call(e,{column:f,direction:p??(((h=e.sortDescriptor)===null||h===void 0?void 0:h.column)===f?Xx[e.sortDescriptor.direction]:"ascending")})}}}function e7(e){var t,u;let n=M0({...e,onSelectionChange:e.onSelectionChange?s=>{var d;s!=null&&((d=e.onSelectionChange)===null||d===void 0||d.call(e,s))}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:(u=(t=e.defaultSelectedKey)!==null&&t!==void 0?t:td(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set))!==null&&u!==void 0?u:void 0}),{selectionManager:r,collection:i,selectedKey:a}=n,l=o.useRef(a);return o.useEffect(()=>{let s=a;e.selectedKey==null&&(r.isEmpty||s==null||!i.getItem(s))&&(s=td(i,n.disabledKeys),s!=null&&r.setSelectedKeys([s])),(s!=null&&r.focusedKey==null||!r.isFocused&&s!==l.current)&&r.setFocusedKey(s),l.current=s}),{...n,isDisabled:e.isDisabled||!1}}function td(e,t){let u=null;if(e){var n,r,i,a;for(u=e.getFirstKey();u!=null&&(t.has(u)||!((r=e.getItem(u))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled)&&u!==e.getLastKey();)u=e.getKeyAfter(u);u!=null&&(t.has(u)||!((a=e.getItem(u))===null||a===void 0||(i=a.props)===null||i===void 0)&&i.isDisabled)&&u===e.getLastKey()&&(u=e.getFirstKey())}return u}function B5(e){let t=o.useCallback(r=>e.subscribe(r),[e]),u=o.useCallback(()=>e.visibleToasts,[e]);return{visibleToasts:Fl.useSyncExternalStore(t,u,u),add:(r,i)=>e.add(r,i),close:r=>e.close(r),pauseAll:()=>e.pauseAll(),resumeAll:()=>e.resumeAll()}}class P5{runWithWrapUpdate(t,u){this.wrapUpdate?this.wrapUpdate(t,u):t()}subscribe(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}add(t,u={}){let n="_"+Math.random().toString(36).slice(2),r={...u,content:t,key:n,timer:u.timeout?new t7(()=>this.close(n),u.timeout):void 0};return this.queue.unshift(r),this.updateVisibleToasts("add"),n}close(t){let u=this.queue.findIndex(i=>i.key===t);if(u>=0){var n,r;(n=(r=this.queue[u]).onClose)===null||n===void 0||n.call(r),this.queue.splice(u,1)}this.updateVisibleToasts("remove")}updateVisibleToasts(t){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let u of this.subscriptions)u()},t)}pauseAll(){for(let t of this.visibleToasts)t.timer&&t.timer.pause()}resumeAll(){for(let t of this.visibleToasts)t.timer&&t.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}constructor(t){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[];var u;this.maxVisibleToasts=(u=t==null?void 0:t.maxVisibleToasts)!==null&&u!==void 0?u:1/0,this.wrapUpdate=t==null?void 0:t.wrapUpdate}}class t7{reset(t){this.remaining=t,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}constructor(t,u){this.startTime=null,this.remaining=u,this.callback=t}}const u7=1500,ud=500;let xu={},n7=0,kn=!1,jt=null,Cu=null;function S5(e={}){let{delay:t=u7,closeDelay:u=ud}=e,{isOpen:n,open:r,close:i}=Vu(e),a=o.useMemo(()=>`${++n7}`,[]),l=o.useRef(null),s=o.useRef(i),d=()=>{xu[a]=p},c=()=>{for(let m in xu)m!==a&&(xu[m](!0),delete xu[m])},f=()=>{l.current&&clearTimeout(l.current),l.current=null,c(),d(),kn=!0,r(),jt&&(clearTimeout(jt),jt=null),Cu&&(clearTimeout(Cu),Cu=null)},p=m=>{m||u<=0?(l.current&&clearTimeout(l.current),l.current=null,s.current()):l.current||(l.current=setTimeout(()=>{l.current=null,s.current()},u)),jt&&(clearTimeout(jt),jt=null),kn&&(Cu&&clearTimeout(Cu),Cu=setTimeout(()=>{delete xu[a],Cu=null,kn=!1},Math.max(ud,u)))},h=()=>{c(),d(),!n&&!jt&&!kn?jt=setTimeout(()=>{jt=null,kn=!0,f()},t):n||f()};return o.useEffect(()=>{s.current=i},[i]),o.useEffect(()=>()=>{l.current&&clearTimeout(l.current),xu[a]&&delete xu[a]},[a]),{isOpen:n,open:m=>{!m&&t>0&&!l.current?h():f()},close:p}}class r7{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(t){let u=this.keyMap.get(t);var n;return u&&(n=u.prevKey)!==null&&n!==void 0?n:null}getKeyAfter(t){let u=this.keyMap.get(t);var n;return u&&(n=u.nextKey)!==null&&n!==void 0?n:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(t){var u;return(u=this.keyMap.get(t))!==null&&u!==void 0?u:null}at(t){const u=[...this.getKeys()];return this.getItem(u[t])}constructor(t,{expandedKeys:u}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=t,u=u||new Set;let n=l=>{if(this.keyMap.set(l.key,l),l.childNodes&&(l.type==="section"||u.has(l.key)))for(let s of l.childNodes)n(s)};for(let l of t)n(l);let r=null,i=0;for(let[l,s]of this.keyMap)r?(r.nextKey=l,s.prevKey=r.key):(this.firstKey=l,s.prevKey=void 0),s.type==="item"&&(s.index=i++),r=s,r.nextKey=void 0;var a;this.lastKey=(a=r==null?void 0:r.key)!==null&&a!==void 0?a:null}}function i7(e){let{onExpandedChange:t}=e,[u,n]=Re(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),r=fr(e),i=o.useMemo(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),a=eo(e,o.useCallback(s=>new r7(s,{expandedKeys:u}),[u]),null);return o.useEffect(()=>{r.focusedKey!=null&&!a.getItem(r.focusedKey)&&r.setFocusedKey(null)},[a,r.focusedKey]),{collection:a,expandedKeys:u,disabledKeys:i,toggleKey:s=>{n(a7(u,s))},setExpandedKeys:n,selectionManager:new bn(a,r)}}function a7(e,t){let u=new Set(e);return u.has(t)?u.delete(t):u.add(t),u}const $u=o.createContext(null),gn=o.createContext({}),_i=o.forwardRef(function(t,u){[t,u]=X(t,u,gn);let{isDisabled:n,isInvalid:r,onHoverStart:i,onHoverChange:a,onHoverEnd:l,...s}=t,{hoverProps:d,isHovered:c}=De({onHoverStart:i,onHoverChange:a,onHoverEnd:l,isDisabled:n}),{isFocused:f,isFocusVisible:p,focusProps:h}=me({within:!0});n??(n=!!t["aria-disabled"]&&t["aria-disabled"]!=="false"),r??(r=!!t["aria-invalid"]&&t["aria-invalid"]!=="false");let m=Z({...t,values:{isHovered:c,isFocusWithin:f,isFocusVisible:p,isDisabled:n,isInvalid:r},defaultClassName:"react-aria-Group"});var g,$;return o.createElement("div",{...V(s,h,d),...m,ref:u,role:(g=t.role)!==null&&g!==void 0?g:"group",slot:($=t.slot)!==null&&$!==void 0?$:void 0,"data-focus-within":f||void 0,"data-hovered":c||void 0,"data-focus-visible":p||void 0,"data-disabled":n||void 0,"data-invalid":r||void 0},m.children)}),w5=o.createContext({});let l7=e=>{let{onHoverStart:t,onHoverChange:u,onHoverEnd:n,...r}=e;return r};const o7=o.forwardRef(function(t,u){[t,u]=X(t,u,w5);let{hoverProps:n,isHovered:r}=De(t),{isFocused:i,isFocusVisible:a,focusProps:l}=me({isTextInput:!0,autoFocus:t.autoFocus}),s=!!t["aria-invalid"]&&t["aria-invalid"]!=="false",d=Z({...t,values:{isHovered:r,isFocused:i,isFocusVisible:a,isDisabled:t.disabled||!1,isInvalid:s},defaultClassName:"react-aria-TextArea"});return o.createElement("textarea",{...V(l7(t),l,n),...d,ref:u,"data-focused":i||void 0,"data-disabled":t.disabled||void 0,"data-hovered":r||void 0,"data-focus-visible":a||void 0,"data-invalid":s||void 0})}),A5=o.createContext(null),F5=ur(function(t,u){[t,u]=X(t,u,A5);let{validationBehavior:n}=qe($u)||{};var r,i;let a=(i=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&i!==void 0?i:"native",l=o.useRef(null),[s,d]=X({},l,mu),[c,f]=$t(!t["aria-label"]&&!t["aria-labelledby"]),[p,h]=o.useState("input"),{labelProps:m,inputProps:g,descriptionProps:$,errorMessageProps:v,...C}=Jl({...Jt(t),inputElementType:p,label:f,validationBehavior:a},d),D=o.useCallback(S=>{d.current=S,S&&h(S instanceof HTMLTextAreaElement?"textarea":"input")},[d]),x=Z({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:C.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),k=H(t);return delete k.id,o.createElement("div",{...k,...x,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":C.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(ce,{values:[[zt,{...m,ref:c}],[mu,{...V(g,s),ref:D}],[w5,{...g,ref:D}],[Xe,{slots:{description:$,errorMessage:v}}],[Dt,C]]},x.children))}),ol=o.createContext(null),T5=o.createContext(null),pr={CollectionRoot({collection:e,renderDropIndicator:t}){return nd(e,null,t)},CollectionBranch({collection:e,parent:t,renderDropIndicator:u}){return nd(e,t,u)}};function nd(e,t,u){return Bl({items:t?e.getChildren(t.key):e,dependencies:[u],children(n){var r;let i=n.render(n);if(!u||n.type!=="item")return i;let a=n.key,l=e.getKeyAfter(a);return o.createElement(o.Fragment,null,u({type:"item",key:a,dropPosition:"before"}),i,(l==null||((r=e.getItem(l))===null||r===void 0?void 0:r.type)!=="item")&&u({type:"item",key:a,dropPosition:"after"}))}})}const ke=o.createContext(pr);function co(e){return o.useMemo(()=>e!=null?new Set([e]):null,[e])}const I5=o.createContext(null),sn=o.forwardRef(function(t,u){[t,u]=X(t,u,I5);let n=t.href&&!t.isDisabled?"a":"span",{linkProps:r,isPressed:i}=c6({...t,elementType:n},u),{hoverProps:a,isHovered:l}=De(t),{focusProps:s,isFocused:d,isFocusVisible:c}=me(),f=Z({...t,defaultClassName:"react-aria-Link",values:{isCurrent:!!t["aria-current"],isDisabled:t.isDisabled||!1,isPressed:i,isHovered:l,isFocused:d,isFocusVisible:c}});return o.createElement(n,{ref:u,slot:t.slot||void 0,...V(f,r,a,s),"data-focused":d||void 0,"data-hovered":l||void 0,"data-pressed":i||void 0,"data-focus-visible":c||void 0,"data-current":!!t["aria-current"]||void 0,"data-disabled":t.isDisabled||void 0},f.children)}),sl=o.createContext(null),s7=o.forwardRef(function(t,u){[t,u]=X(t,u,sl);let{CollectionRoot:n}=o.useContext(ke),{navProps:r}=wy(t);return o.createElement(Nu,{content:o.createElement(ht,t)},i=>{var a;return o.createElement("ol",{ref:u,...r,slot:t.slot||void 0,style:t.style,className:(a=t.className)!==null&&a!==void 0?a:"react-aria-Breadcrumbs"},o.createElement(sl.Provider,{value:t},o.createElement(n,{collection:i})))})}),d7=Rt("item",function(t,u,n){let r=n.nextKey==null,{isDisabled:i,onAction:a}=qe(sl),l={"aria-current":r?"page":null,isDisabled:i||r,onPress:()=>a==null?void 0:a(n.key)},s=Z({...n.props,children:n.rendered,values:{isDisabled:i||r,isCurrent:r},defaultClassName:"react-aria-Breadcrumb"});return o.createElement("li",{...H(t),...s,ref:u,"data-disabled":i||r||void 0,"data-current":r||void 0},o.createElement(I5.Provider,{value:l},s.children))}),di=o.createContext(null),ci=o.createContext(null),ji=o.createContext(null),Li=o.createContext(null),c7=o.forwardRef(function(t,u){[t,u]=X(t,u,di);let{locale:n}=de(),r=K0({...t,locale:n,createCalendar:t.createCalendar||Ai}),{calendarProps:i,prevButtonProps:a,nextButtonProps:l,errorMessageProps:s,title:d}=Gy(t,r),c=Z({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-Calendar"});return o.createElement("div",{...c,...i,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(ce,{values:[[vt,{slots:{previous:a,next:l}}],[gi,{"aria-hidden":!0,level:2,children:d}],[ji,r],[di,t],[Xe,{slots:{errorMessage:s}}]]},o.createElement(gt,null,o.createElement("h2",null,i["aria-label"])),c.children,o.createElement(gt,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),f7=o.forwardRef(function(t,u){[t,u]=X(t,u,ci);let{locale:n}=de(),r=kx({...t,locale:n,createCalendar:t.createCalendar||Ai}),{calendarProps:i,prevButtonProps:a,nextButtonProps:l,errorMessageProps:s,title:d}=Zy(t,r,u),c=Z({...t,values:{state:r,isDisabled:t.isDisabled||!1,isInvalid:r.isValueInvalid},defaultClassName:"react-aria-RangeCalendar"});return o.createElement("div",{...c,...i,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":r.isValueInvalid||void 0},o.createElement(ce,{values:[[vt,{slots:{previous:a,next:l}}],[gi,{"aria-hidden":!0,level:2,children:d}],[Li,r],[ci,t],[Xe,{slots:{errorMessage:s}}]]},o.createElement(gt,null,o.createElement("h2",null,i["aria-label"])),c.children,o.createElement(gt,null,o.createElement("button",{"aria-label":l["aria-label"],disabled:l.isDisabled,onClick:()=>r.focusNextPage(),tabIndex:-1}))))}),Oi=o.createContext(null),p7=o.forwardRef(function(t,u){let n=o.useContext(ji),r=o.useContext(Li),i=qe(di),a=qe(ci),l=n??r,s=l.visibleRange.start;t.offset&&(s=s.add(t.offset));var d;let c=(d=i==null?void 0:i.firstDayOfWeek)!==null&&d!==void 0?d:a==null?void 0:a.firstDayOfWeek,{gridProps:f,headerProps:p,weekDays:h,weeksInMonth:m}=qy({startDate:s,endDate:Jr(s),weekdayStyle:t.weekdayStyle,firstDayOfWeek:c},l);var g;return o.createElement(Oi.Provider,{value:{headerProps:p,weekDays:h,startDate:s,weeksInMonth:m}},o.createElement("table",{...H(t),...f,ref:u,style:t.style,className:(g=t.className)!==null&&g!==void 0?g:"react-aria-CalendarGrid"},typeof t.children!="function"?t.children:o.createElement(o.Fragment,null,o.createElement(m7,null,$=>o.createElement(g7,null,$)),o.createElement(y7,null,t.children))))});function h7(e,t){let{children:u,style:n,className:r}=e,{headerProps:i,weekDays:a}=o.useContext(Oi);return o.createElement("thead",{...H(e),...i,ref:t,style:n,className:r||"react-aria-CalendarGridHeader"},o.createElement("tr",null,a.map((l,s)=>o.cloneElement(u(l),{key:s}))))}const m7=o.forwardRef(h7);function b7(e,t){let{children:u,style:n,className:r}=e;return o.createElement("th",{...H(e),ref:t,style:n,className:r||"react-aria-CalendarHeaderCell"},u)}const g7=o.forwardRef(b7);function $7(e,t){let{children:u,style:n,className:r}=e,i=o.useContext(ji),a=o.useContext(Li),l=i??a,{startDate:s,weeksInMonth:d}=o.useContext(Oi);return o.createElement("tbody",{...H(e),ref:t,style:n,className:r||"react-aria-CalendarGridBody"},[...new Array(d).keys()].map(c=>o.createElement("tr",{key:c},l.getDatesInWeek(c,s).map((f,p)=>f?o.cloneElement(u(f),{key:p}):o.createElement("td",{key:p})))))}const y7=o.forwardRef($7),v7=o.forwardRef(function({date:t,...u},n){let r=o.useContext(ji),i=o.useContext(Li),a=r??i;var l;let{startDate:s}=(l=o.useContext(Oi))!==null&&l!==void 0?l:{startDate:a.visibleRange.start},d=o.useRef(null),{cellProps:c,buttonProps:f,...p}=Jy({date:t},a,d),{hoverProps:h,isHovered:m}=De({...u,isDisabled:p.isDisabled}),{focusProps:g,isFocusVisible:$}=me();$&&($=p.isFocused);let v=!k6(s,t),C=!1,D=!1;"highlightedRange"in a&&a.highlightedRange&&(C=Se(t,a.highlightedRange.start),D=Se(t,a.highlightedRange.end));let x=Z({...u,defaultChildren:p.formattedDate,defaultClassName:"react-aria-CalendarCell",values:{date:t,isHovered:m,isOutsideMonth:v,isFocusVisible:$,isSelectionStart:C,isSelectionEnd:D,...p}}),k={"data-focused":p.isFocused||void 0,"data-hovered":m||void 0,"data-pressed":p.isPressed||void 0,"data-unavailable":p.isUnavailable||void 0,"data-disabled":p.isDisabled||void 0,"data-focus-visible":$||void 0,"data-outside-visible-range":p.isOutsideVisibleRange||void 0,"data-outside-month":v||void 0,"data-selected":p.isSelected||void 0,"data-selection-start":C||void 0,"data-selection-end":D||void 0,"data-invalid":p.isInvalid||void 0};return o.createElement("td",{...c,ref:n},o.createElement("div",{...V(H(u),f,g,h,k,x),ref:d}))}),D7=o.createContext(null),fo=o.createContext(null),x7=o.forwardRef(function(t,u){[t,u]=X(t,u,D7);let{validationBehavior:n}=qe($u)||{};var r,i;let a=(i=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&i!==void 0?i:"native",l=Bx({...t,validationBehavior:a}),[s,d]=$t(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:h,...m}=iv({...t,label:d,validationBehavior:a},l),g=Z({...t,values:{isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:t.isRequired||!1,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-CheckboxGroup"});return o.createElement("div",{...c,...g,ref:u,slot:t.slot||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":t.isRequired||void 0,"data-invalid":l.isInvalid||void 0,"data-disabled":t.isDisabled||void 0},o.createElement(ce,{values:[[fo,l],[zt,{...f,ref:s,elementType:"span"}],[Xe,{slots:{description:p,errorMessage:h}}],[Dt,m]]},g.children))}),C7=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=X(r,u,bl);let{validationBehavior:i}=qe($u)||{};var a,l;let s=(l=(a=t.validationBehavior)!==null&&a!==void 0?a:i)!==null&&l!==void 0?l:"native",d=o.useContext(fo),c=ge(bu(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:f,inputProps:p,isSelected:h,isDisabled:m,isReadOnly:g,isPressed:$,isInvalid:v}=d?lv({...Jt(t),value:t.value,children:typeof t.children=="function"?!0:t.children},d,c):W4({...Jt(t),children:typeof t.children=="function"?!0:t.children,validationBehavior:s},Yl(t),c),{isFocused:C,isFocusVisible:D,focusProps:x}=me(),k=m||g,{hoverProps:S,isHovered:F}=De({...t,isDisabled:k}),T=Z({...t,defaultClassName:"react-aria-Checkbox",values:{isSelected:h,isIndeterminate:t.isIndeterminate||!1,isPressed:$,isHovered:F,isFocused:C,isFocusVisible:D,isDisabled:m,isReadOnly:g,isInvalid:v,isRequired:t.isRequired||!1}}),N=H(t);return delete N.id,o.createElement("label",{...V(N,f,S,T),ref:u,slot:t.slot||void 0,"data-selected":h||void 0,"data-indeterminate":t.isIndeterminate||void 0,"data-pressed":$||void 0,"data-hovered":F||void 0,"data-focused":C||void 0,"data-focus-visible":D||void 0,"data-disabled":m||void 0,"data-readonly":g||void 0,"data-invalid":v||void 0,"data-required":t.isRequired||void 0},o.createElement(gt,{elementType:"span"},o.createElement("input",{...V(p,x),ref:c})),T.children)});var R5={};R5={colorSwatchPicker:"تغييرات الألوان",dropzoneLabel:"DropZone",selectPlaceholder:"حدد عنصرًا",tableResizer:"أداة تغيير الحجم"};var K5={};K5={colorSwatchPicker:"Цветови мостри",dropzoneLabel:"DropZone",selectPlaceholder:"Изберете предмет",tableResizer:"Преоразмерител"};var z5={};z5={colorSwatchPicker:"Vzorky barev",dropzoneLabel:"Místo pro přetažení",selectPlaceholder:"Vyberte položku",tableResizer:"Změna velikosti"};var M5={};M5={colorSwatchPicker:"Farveprøver",dropzoneLabel:"DropZone",selectPlaceholder:"Vælg et element",tableResizer:"Størrelsesændring"};var N5={};N5={colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:"Element wählen",tableResizer:"Größenanpassung"};var V5={};V5={colorSwatchPicker:"Χρωματικά δείγματα",dropzoneLabel:"DropZone",selectPlaceholder:"Επιλέξτε ένα αντικείμενο",tableResizer:"Αλλαγή μεγέθους"};var _5={};_5={selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"};var j5={};j5={colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:"Seleccionar un artículo",tableResizer:"Cambiador de tamaño"};var L5={};L5={colorSwatchPicker:"Värvinäidised",dropzoneLabel:"DropZone",selectPlaceholder:"Valige üksus",tableResizer:"Suuruse muutja"};var O5={};O5={colorSwatchPicker:"Värimallit",dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"};var H5={};H5={colorSwatchPicker:"Échantillons de couleurs",dropzoneLabel:"DropZone",selectPlaceholder:"Sélectionner un élément",tableResizer:"Redimensionneur"};var U5={};U5={colorSwatchPicker:"דוגמיות צבע",dropzoneLabel:"DropZone",selectPlaceholder:"בחר פריט",tableResizer:"שינוי גודל"};var W5={};W5={colorSwatchPicker:"Uzorci boja",dropzoneLabel:"Zona spuštanja",selectPlaceholder:"Odaberite stavku",tableResizer:"Promjena veličine"};var G5={};G5={colorSwatchPicker:"Színtárak",dropzoneLabel:"DropZone",selectPlaceholder:"Válasszon ki egy elemet",tableResizer:"Átméretező"};var Z5={};Z5={colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"};var q5={};q5={colorSwatchPicker:"カラースウォッチ",dropzoneLabel:"ドロップゾーン",selectPlaceholder:"項目を選択",tableResizer:"サイズ変更ツール"};var Y5={};Y5={colorSwatchPicker:"색상 견본",dropzoneLabel:"드롭 영역",selectPlaceholder:"항목 선택",tableResizer:"크기 조정기"};var J5={};J5={colorSwatchPicker:"Spalvų pavyzdžiai",dropzoneLabel:"„DropZone“",selectPlaceholder:"Pasirinkite elementą",tableResizer:"Dydžio keitiklis"};var X5={};X5={colorSwatchPicker:"Krāsu paraugi",dropzoneLabel:"DropZone",selectPlaceholder:"Izvēlēties vienumu",tableResizer:"Izmēra mainītājs"};var Q5={};Q5={colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:"Størrelsesendrer"};var eg={};eg={colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"};var tg={};tg={colorSwatchPicker:"Próbki kolorów",dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"};var ug={};ug={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var ng={};ng={colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"};var rg={};rg={colorSwatchPicker:"Specimene de culoare",dropzoneLabel:"Zonă de plasare",selectPlaceholder:"Selectați un element",tableResizer:"Instrument de redimensionare"};var ig={};ig={colorSwatchPicker:"Цветовые образцы",dropzoneLabel:"DropZone",selectPlaceholder:"Выберите элемент",tableResizer:"Средство изменения размера"};var ag={};ag={colorSwatchPicker:"Vzorkovníky farieb",dropzoneLabel:"DropZone",selectPlaceholder:"Vyberte položku",tableResizer:"Nástroj na zmenu veľkosti"};var lg={};lg={colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"};var og={};og={colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:"Promena veličine"};var sg={};sg={colorSwatchPicker:"Färgrutor",dropzoneLabel:"DropZone",selectPlaceholder:"Välj en artikel",tableResizer:"Storleksändrare"};var dg={};dg={colorSwatchPicker:"Renk örnekleri",dropzoneLabel:"Bırakma Bölgesi",selectPlaceholder:"Bir öğe seçin",tableResizer:"Yeniden boyutlandırıcı"};var cg={};cg={colorSwatchPicker:"Зразки кольорів",dropzoneLabel:"DropZone",selectPlaceholder:"Виберіть елемент",tableResizer:"Засіб змінення розміру"};var fg={};fg={colorSwatchPicker:"颜色色板",dropzoneLabel:"放置区域",selectPlaceholder:"选择一个项目",tableResizer:"尺寸调整器"};var pg={};pg={colorSwatchPicker:"色票",dropzoneLabel:"放置區",selectPlaceholder:"選取項目",tableResizer:"大小調整器"};var hg={};hg={"ar-AE":R5,"bg-BG":K5,"cs-CZ":z5,"da-DK":M5,"de-DE":N5,"el-GR":V5,"en-US":_5,"es-ES":j5,"et-EE":L5,"fi-FI":O5,"fr-FR":H5,"he-IL":U5,"hr-HR":W5,"hu-HU":G5,"it-IT":Z5,"ja-JP":q5,"ko-KR":Y5,"lt-LT":J5,"lv-LV":X5,"nb-NO":Q5,"nl-NL":eg,"pl-PL":tg,"pt-BR":ug,"pt-PT":ng,"ro-RO":rg,"ru-RU":ig,"sk-SK":ag,"sl-SI":lg,"sr-SP":og,"sv-SE":sg,"tr-TR":dg,"uk-UA":cg,"zh-CN":fg,"zh-TW":pg};const Mt=o.createContext({}),po=o.createContext(null),E7=o.forwardRef(function(t,u){let{render:n}=o.useContext(po);return o.createElement(o.Fragment,null,n(t,u))});function ho(e,t){var u;let n=e==null?void 0:e.renderDropIndicator,r=e==null||(u=e.isVirtualDragging)===null||u===void 0?void 0:u.call(e),i=o.useCallback(a=>{if(r||t!=null&&t.isDropTarget(a))return n?n(a):o.createElement(E7,{target:a})},[t==null?void 0:t.target,r,n]);return e!=null&&e.useDropIndicator?i:void 0}function mg(e,t,u){var n,r;let i=e.focusedKey,a=null;if(!(t==null||(n=t.isVirtualDragging)===null||n===void 0)&&n.call(t)&&(u==null||(r=u.target)===null||r===void 0?void 0:r.type)==="item"){a=u.target.key;var l;u.target.dropPosition==="after"&&(a=(l=u.collection.getKeyAfter(a))!==null&&l!==void 0?l:a)}return o.useMemo(()=>new Set([i,a].filter(s=>s!=null)),[i,a])}const mo=o.createContext({}),k7=Rt("header",function(t,u){return[t,u]=X(t,u,mo),o.createElement("header",{className:"react-aria-Header",...t,ref:u},t.children)}),bg=o.createContext({}),Hi=o.createContext(null),Nt=o.createContext(null),B7=o.forwardRef(function(t,u){[t,u]=X(t,u,Hi);let n=o.useContext(Nt);return n?o.createElement(gg,{state:n,props:t,listBoxRef:u}):o.createElement(Nu,{content:o.createElement(ht,t)},r=>o.createElement(P7,{props:t,listBoxRef:u,collection:r}))});function P7({props:e,listBoxRef:t,collection:u}){e={...e,collection:u,children:null,items:null};let{layoutDelegate:n}=o.useContext(ke),r=Ni({...e,layoutDelegate:n});return o.createElement(gg,{state:r,props:e,listBoxRef:t})}function gg({state:e,props:t,listBoxRef:u}){var n;let{filter:r,collectionProps:i,collectionRef:a}=o.useContext(ol)||{};t=o.useMemo(()=>i?{...t,...i}:t,[t,i]);let{dragAndDropHooks:l,layout:s="stack",orientation:d="vertical"}=t;u=ge(o.useMemo(()=>bu(u,a!==void 0?a:null),[a,u]));let c=Sx(e,r),{collection:f,selectionManager:p}=c,h=!!(l!=null&&l.useDraggableCollectionState),m=!!(l!=null&&l.useDroppableCollectionState),{direction:g}=de(),{disabledBehavior:$,disabledKeys:v}=p,C=pn({usage:"search",sensitivity:"base"}),{isVirtualized:D,layoutDelegate:x,dropTargetDelegate:k,CollectionRoot:S}=o.useContext(ke),F=o.useMemo(()=>t.keyboardDelegate||new mn({collection:f,collator:C,ref:u,disabledKeys:v,disabledBehavior:$,layout:s,orientation:d,direction:g,layoutDelegate:x}),[f,C,u,$,v,d,g,t.keyboardDelegate,s,x]),{listBoxProps:T}=Vv({...t,shouldSelectOnPressUp:h||t.shouldSelectOnPressUp,keyboardDelegate:F,isVirtualized:D},c,u),N=o.useRef(h),w=o.useRef(m);o.useEffect(()=>{process.env.NODE_ENV!=="production"&&(N.current!==h&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),w.current!==m&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."))},[h,m]);let y,A,I,K=!1,L=null,B=o.useRef(null);if(h&&l){y=l.useDraggableCollectionState({collection:f,selectionManager:p,preview:l.renderDragPreview?B:void 0}),l.useDraggableCollection({},y,u);let Y=l.DragPreview;L=l.renderDragPreview?o.createElement(Y,{ref:B},l.renderDragPreview):null}if(m&&l){A=l.useDroppableCollectionState({collection:f,selectionManager:p});let Y=l.dropTargetDelegate||k||new l.ListDropTargetDelegate(f,u,{orientation:d,layout:s,direction:g});I=l.useDroppableCollection({keyboardDelegate:F,dropTargetDelegate:Y},A,u),K=A.isDropTarget({type:"root"})}let{focusProps:E,isFocused:P,isFocusVisible:M}=me(),R=c.collection.size===0||c.collection.size===1&&((n=c.collection.getItem(c.collection.getFirstKey()))===null||n===void 0?void 0:n.type)==="loader",z={isDropTarget:K,isEmpty:R,isFocused:P,isFocusVisible:M,layout:t.layout||"stack",state:c},U=Z({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:z}),G=null;return R&&t.renderEmptyState&&(G=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(z))),o.createElement(ir,null,o.createElement("div",{...H(t),...V(T,E,I==null?void 0:I.collectionProps),...U,ref:u,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":K||void 0,"data-empty":R||void 0,"data-focused":P||void 0,"data-focus-visible":M||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.createElement(ce,{values:[[Hi,t],[Nt,c],[Mt,{dragAndDropHooks:l,dragState:y,dropState:A}],[bg,{elementType:"div"}],[po,{render:A7}],[T5,{name:"ListBoxSection",render:$g}]]},o.createElement(S,{collection:f,scrollRef:u,persistedKeys:mg(p,l,A),renderDropIndicator:ho(l,A)})),G,L))}function $g(e,t,u,n="react-aria-ListBoxSection"){let r=o.useContext(Nt),{dragAndDropHooks:i,dropState:a}=o.useContext(Mt),{CollectionBranch:l}=o.useContext(ke),[s,d]=$t();var c;let{headingProps:f,groupProps:p}=Uv({heading:d,"aria-label":(c=e["aria-label"])!==null&&c!==void 0?c:void 0}),h=Z({defaultClassName:n,className:e.className,style:e.style,values:{}});return o.createElement("section",{...H(e),...p,...h,ref:t},o.createElement(mo.Provider,{value:{...f,ref:s}},o.createElement(l,{collection:r.collection,parent:u,renderDropIndicator:ho(i,a)})))}const S7=ki("section",$g),w7=Rt("item",function(t,u,n){let r=ge(u),i=o.useContext(Nt),{dragAndDropHooks:a,dragState:l,dropState:s}=o.useContext(Mt),{optionProps:d,labelProps:c,descriptionProps:f,...p}=Hv({key:n.key,"aria-label":t==null?void 0:t["aria-label"]},i,r),{hoverProps:h,isHovered:m}=De({isDisabled:!p.allowsSelection&&!p.hasAction,onHoverStart:n.props.onHoverStart,onHoverChange:n.props.onHoverChange,onHoverEnd:n.props.onHoverEnd}),g=null;l&&a&&(g=a.useDraggableItem({key:n.key},l));let $=null;s&&a&&($=a.useDroppableItem({target:{type:"item",key:n.key,dropPosition:"on"}},s,r));let v=l&&l.isDragging(n.key),C=Z({...t,id:void 0,children:t.children,defaultClassName:"react-aria-ListBoxItem",values:{...p,isHovered:m,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,allowsDragging:!!l,isDragging:v,isDropTarget:$==null?void 0:$.isDropTarget}});o.useEffect(()=>{!n.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[n.textValue]);let D=t.href?"a":"div";return o.createElement(D,{...V(d,h,g==null?void 0:g.dragProps,$==null?void 0:$.dropProps),...C,ref:r,"data-allows-dragging":!!l||void 0,"data-selected":p.isSelected||void 0,"data-disabled":p.isDisabled||void 0,"data-hovered":m||void 0,"data-focused":p.isFocused||void 0,"data-focus-visible":p.isFocusVisible||void 0,"data-pressed":p.isPressed||void 0,"data-dragging":v||void 0,"data-drop-target":($==null?void 0:$.isDropTarget)||void 0,"data-selection-mode":i.selectionManager.selectionMode==="none"?void 0:i.selectionManager.selectionMode},o.createElement(ce,{values:[[Xe,{slots:{[pu]:c,label:c,description:f}}]]},C.children))});function A7(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(Mt),{dropIndicatorProps:r,isHidden:i,isDropTarget:a}=u.useDropIndicator(e,n,t);return i?null:o.createElement(T7,{...e,dropIndicatorProps:r,isDropTarget:a,ref:t})}function F7(e,t){let{dropIndicatorProps:u,isDropTarget:n,...r}=e,i=Z({...r,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return o.createElement("div",{...u,...i,role:"option",ref:t,"data-drop-target":n||void 0})}const T7=o.forwardRef(F7);Rt("loader",function(t,u,n){let r=o.useContext(Nt),{isVirtualized:i}=o.useContext(ke),{isLoading:a,onLoadMore:l,scrollOffset:s,...d}=t,c=o.useRef(null),f=o.useMemo(()=>({onLoadMore:l,collection:r==null?void 0:r.collection,sentinelRef:c,scrollOffset:s}),[l,s,r==null?void 0:r.collection]);Bd(f,c);let p=Z({...d,id:void 0,children:n.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:null}),h={tabIndex:-1};return i&&(h["aria-posinset"]=n.index+1,h["aria-setsize"]=r.collection.size),o.createElement(o.Fragment,null,o.createElement("div",{style:{position:"relative",width:0,height:0},inert:Cl(!0)},o.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),a&&p.children&&o.createElement("div",{...V(H(t),h),...p,role:"option",ref:u},p.children))});const bo=o.createContext({placement:"bottom"}),I7=o.forwardRef(function(t,u){[t,u]=X(t,u,bo);let n=t.placement,r={position:"absolute",transform:n==="top"||n==="bottom"?"translateX(-50%)":"translateY(-50%)"};n!=null&&(r[n]="100%");let i=Z({...t,defaultClassName:"react-aria-OverlayArrow",values:{placement:n}});i.style&&Object.keys(i.style).forEach(l=>i.style[l]===void 0&&delete i.style[l]);let a=H(t);return o.createElement("div",{...a,...i,style:{...r,...i.style},ref:u,"data-placement":n})}),$n=o.createContext(null),rd=o.createContext(null),go=o.forwardRef(function(t,u){[t,u]=X(t,u,$n);let n=o.useContext(Vt),r=Vu(t),i=t.isOpen!=null||t.defaultOpen!=null||!n?r:n,a=Hr(u,i.isOpen)||t.isExiting||!1,l=K$(),{direction:s}=de();if(l){let d=t.children;return typeof d=="function"&&(d=d({trigger:t.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),o.createElement(o.Fragment,null,d)}return i&&!i.isOpen&&!a?null:o.createElement(R7,{...t,triggerRef:t.triggerRef,state:i,popoverRef:u,isExiting:a,dir:s})});function R7({state:e,isExiting:t,UNSTABLE_portalContainer:u,...n}){let r=o.useRef(null),[i,a]=o.useState(0),l=o.useRef(null),s=o.useContext(rd),d=s&&n.trigger==="SubmenuTrigger";J(()=>{r.current&&e.isOpen&&a(r.current.getBoundingClientRect().width)},[e.isOpen,r]);var c;let{popoverProps:f,underlayProps:p,arrowProps:h,placement:m}=Tv({...n,offset:(c=n.offset)!==null&&c!==void 0?c:8,arrowSize:i,groupRef:d?s:l},e),g=n.popoverRef,$=Di(g,!!m)||n.isEntering||!1,v=Z({...n,defaultClassName:"react-aria-Popover",values:{trigger:n.trigger||null,placement:m,isEntering:$,isExiting:t}}),C=!n.isNonModal||n.trigger==="SubmenuTrigger",[D,x]=o.useState(!1);J(()=>{g.current&&x(C&&!g.current.querySelector("[role=dialog]"))},[g,C]),o.useEffect(()=>{D&&g.current&&!g.current.contains(document.activeElement)&&Ee(g.current)},[D,g]);let k={...f.style,...v.style},S=o.createElement("div",{...V(H(n),f),...v,role:D?"dialog":void 0,tabIndex:D?-1:void 0,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],ref:g,slot:n.slot||void 0,style:k,dir:n.dir,"data-trigger":n.trigger,"data-placement":m,"data-entering":$||void 0,"data-exiting":t||void 0},!n.isNonModal&&o.createElement(Xa,{onDismiss:e.close}),o.createElement(bo.Provider,{value:{...h,placement:m,ref:r}},v.children),o.createElement(Xa,{onDismiss:e.close}));if(!d)return o.createElement(Qa,{...n,shouldContainFocus:D,isExiting:t,portalContainer:u},!n.isNonModal&&e.isOpen&&o.createElement("div",{"data-testid":"underlay",...p,style:{position:"fixed",inset:0}}),o.createElement("div",{ref:l,style:{display:"contents"}},o.createElement(rd.Provider,{value:l},S)));var F;return o.createElement(Qa,{...n,shouldContainFocus:D,isExiting:t,portalContainer:(F=u??(s==null?void 0:s.current))!==null&&F!==void 0?F:void 0},S)}const K7=o.createContext({}),yg=o.createContext(null),$o=o.createContext(null),fi=o.createContext(null),pi=o.createContext(null);function z7(e){let t=Vi(e),u=o.useRef(null),{menuTriggerProps:n,menuProps:r}=uo({...e,type:"menu"},t,u),[i,a]=o.useState(null),l=o.useCallback(()=>{u.current&&a(u.current.offsetWidth+"px")},[u]);fu({ref:u,onResize:l});let s=o.useRef(null);return o.createElement(ce,{values:[[yg,{...r,ref:s}],[Vt,t],[fi,t],[$n,{trigger:"MenuTrigger",triggerRef:u,scrollRef:s,placement:"bottom start",style:{"--trigger-width":i},"aria-labelledby":r["aria-labelledby"]}]]},o.createElement(Al,{...n,ref:u,isPressed:t.isOpen},e.children))}const M7=o.createContext(null),N7=o.forwardRef(function(t,u){return[t,u]=X(t,u,yg),o.createElement(Nu,{content:o.createElement(ht,t)},n=>o.createElement(V7,{props:t,collection:n,menuRef:u}))});function V7({props:e,collection:t,menuRef:u}){let{filter:n,collectionProps:r,collectionRef:i}=o.useContext(ol)||{};u=ge(o.useMemo(()=>bu(u,i!==void 0?i:null),[i,u]));let a=o.useMemo(()=>n?t.UNSTABLE_filter(n):t,[t,n]),l=i7({...e,collection:a,children:void 0}),s=o.useContext(fi),{isVirtualized:d,CollectionRoot:c}=o.useContext(ke),{menuProps:f}=Gv({...e,...r,isVirtualized:d,onClose:e.onClose||(s==null?void 0:s.close)},l,u),p=Z({defaultClassName:"react-aria-Menu",className:e.className,style:e.style,values:{isEmpty:l.collection.size===0}}),h=null;return l.collection.size===0&&e.renderEmptyState&&(h=o.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState())),o.createElement(ir,null,o.createElement("div",{...H(e),...f,...p,ref:u,slot:e.slot||void 0,"data-empty":l.collection.size===0||void 0,onScroll:e.onScroll},o.createElement(ce,{values:[[$o,l],[bg,{elementType:"div"}],[T5,{name:"MenuSection",render:j7}],[M7,{parentMenuRef:u,shouldUseVirtualFocus:r==null?void 0:r.shouldUseVirtualFocus}],[dl,null],[ol,null],[pi,l.selectionManager],[fi,s??Vi({})]]},o.createElement(c,{collection:l.collection,persistedKeys:co(l.selectionManager.focusedKey),scrollRef:u})),h))}class _7 extends bn{get focusedKey(){return this.parent.focusedKey}get isFocused(){return this.parent.isFocused}setFocusedKey(t,u){return this.parent.setFocusedKey(t,u)}setFocused(t){this.parent.setFocused(t)}get childFocusStrategy(){return this.parent.childFocusStrategy}constructor(t,u){super(t.collection,u),this.parent=t}}function j7(e,t,u,n="react-aria-MenuSection"){var r,i;let a=o.useContext($o),{CollectionBranch:l}=o.useContext(ke),[s,d]=$t();var c;let{headingProps:f,groupProps:p}=qv({heading:d,"aria-label":(c=u.props["aria-label"])!==null&&c!==void 0?c:void 0}),h=Z({defaultClassName:n,className:(r=u.props)===null||r===void 0?void 0:r.className,style:(i=u.props)===null||i===void 0?void 0:i.style,values:{}}),m=o.useContext(pi),g=fr(e),$=e.selectionMode!=null?new _7(m,g):m;return o.createElement("section",{...H(e),...p,...h,ref:t},o.createElement(ce,{values:[[mo,{...f,ref:s}],[pi,$]]},o.createElement(l,{collection:a.collection,parent:u})))}const dl=o.createContext(null),L7=Rt("item",function(t,u,n){var r;[t,u]=X(t,u,dl);let i=(r=qe(dl))===null||r===void 0?void 0:r.id,a=o.useContext($o),l=ge(u),s=o.useContext(pi),{menuItemProps:d,labelProps:c,descriptionProps:f,keyboardShortcutProps:p,...h}=Zv({...t,id:i,key:n.key,selectionManager:s},a,l),{hoverProps:m,isHovered:g}=De({isDisabled:h.isDisabled}),$=Z({...t,id:void 0,children:n.rendered,defaultClassName:"react-aria-MenuItem",values:{...h,isHovered:g,isFocusVisible:h.isFocusVisible,selectionMode:s.selectionMode,selectionBehavior:s.selectionBehavior,hasSubmenu:!!t["aria-haspopup"],isOpen:t["aria-expanded"]==="true"}}),v=t.href?"a":"div";return o.createElement(v,{...V(d,m),...$,ref:l,"data-disabled":h.isDisabled||void 0,"data-hovered":g||void 0,"data-focused":h.isFocused||void 0,"data-focus-visible":h.isFocusVisible||void 0,"data-pressed":h.isPressed||void 0,"data-selected":h.isSelected||void 0,"data-selection-mode":s.selectionMode==="none"?void 0:s.selectionMode,"data-has-submenu":!!t["aria-haspopup"]||void 0,"data-open":t["aria-expanded"]==="true"||void 0},o.createElement(ce,{values:[[Xe,{slots:{[pu]:c,label:c,description:f}}],[K7,p]]},$.children))}),Ui=o.createContext(null),Vt=o.createContext(null);function O7(e){let t=Vi(e),u=o.useRef(null),{triggerProps:n,overlayProps:r}=m3({type:"dialog"},t,u),[i,a]=o.useState(null),l=o.useCallback(()=>{u.current&&a(u.current.offsetWidth+"px")},[u]);return fu({ref:u,onResize:l}),n.id=ie(),r["aria-labelledby"]=n.id,o.createElement(ce,{values:[[Vt,t],[fi,t],[Ui,r],[$n,{trigger:"DialogTrigger",triggerRef:u,"aria-labelledby":r["aria-labelledby"],style:{"--trigger-width":i}}]]},o.createElement(Al,{...n,ref:u,isPressed:t.isOpen},e.children))}const vg=o.forwardRef(function(t,u){let n=t["aria-labelledby"];[t,u]=X(t,u,Ui);let{dialogProps:r,titleProps:i}=oD({...t,"aria-labelledby":n},u),a=o.useContext(Vt);!r["aria-label"]&&!r["aria-labelledby"]&&(t["aria-labelledby"]?r["aria-labelledby"]=t["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.'));let l=Z({defaultClassName:"react-aria-Dialog",className:t.className,style:t.style,children:t.children,values:{close:(a==null?void 0:a.close)||(()=>{})}});return o.createElement("section",{...H(t),...r,...l,ref:u,slot:t.slot||void 0},o.createElement(ce,{values:[[gi,{slots:{[pu]:{},title:{...i,level:2}}}],[vt,{slots:{[pu]:{},close:{onPress:()=>a==null?void 0:a.close()}}}]]},l.children))}),H7=o.createContext(null),U7=o.createContext(null),W7=o.forwardRef(function(t,u){[t,u]=X(t,u,H7);let{children:n,isDisabled:r=!1,isInvalid:i=!1,isRequired:a=!1}=t,l=o.useMemo(()=>{var s;return o.createElement(Hi.Provider,{value:{items:(s=t.items)!==null&&s!==void 0?s:t.defaultItems}},typeof n=="function"?n({isOpen:!1,isDisabled:r,isInvalid:i,isRequired:a,defaultChildren:null}):n)},[n,r,i,a,t.items,t.defaultItems]);return o.createElement(Nu,{content:l},s=>o.createElement(G7,{props:t,collection:s,comboBoxRef:u}))});function G7({props:e,collection:t,comboBoxRef:u}){let{name:n,formValue:r="key",allowsCustomValue:i}=e;i&&(r="text");let{validationBehavior:a}=qe($u)||{};var l,s;let d=(s=(l=e.validationBehavior)!==null&&l!==void 0?l:a)!==null&&s!==void 0?s:"native",{contains:c}=t4({sensitivity:"base"}),f=wx({defaultFilter:e.defaultFilter||c,...e,items:e.items,children:void 0,collection:t,validationBehavior:d}),p=o.useRef(null),h=o.useRef(null),m=o.useRef(null),g=o.useRef(null),[$,v]=$t(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:C,inputProps:D,listBoxProps:x,labelProps:k,descriptionProps:S,errorMessageProps:F,...T}=Jv({...Jt(e),label:v,inputRef:h,buttonRef:p,listBoxRef:m,popoverRef:g,name:r==="text"?n:void 0,validationBehavior:d},f),[N,w]=o.useState(null),y=o.useCallback(()=>{if(h.current){var B;let E=(B=p.current)===null||B===void 0?void 0:B.getBoundingClientRect(),P=h.current.getBoundingClientRect(),M=E?Math.min(E.left,P.left):P.left,R=E?Math.max(E.right,P.right):P.right;w(R-M+"px")}},[p,h,w]);fu({ref:h,onResize:y});let A=o.useMemo(()=>({isOpen:f.isOpen,isDisabled:e.isDisabled||!1,isInvalid:T.isInvalid||!1,isRequired:e.isRequired||!1}),[f.isOpen,e.isDisabled,T.isInvalid,e.isRequired]),I=Z({...e,values:A,defaultClassName:"react-aria-ComboBox"}),K=H(e);delete K.id;var L;return o.createElement(ce,{values:[[U7,f],[zt,{...k,ref:$}],[vt,{...C,ref:p,isPressed:f.isOpen}],[mu,{...D,ref:h}],[Vt,f],[$n,{ref:g,triggerRef:h,scrollRef:m,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":N}}],[Hi,{...x,ref:m}],[Nt,f],[Xe,{slots:{description:S,errorMessage:F}}],[gn,{isInvalid:T.isInvalid,isDisabled:e.isDisabled||!1}],[Dt,T]]},o.createElement("div",{...K,...I,ref:u,slot:e.slot||void 0,"data-focused":f.isFocused||void 0,"data-open":f.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":T.isInvalid||void 0,"data-required":e.isRequired||void 0}),n&&r==="key"&&o.createElement("input",{type:"hidden",name:n,value:(L=f.selectedKey)!==null&&L!==void 0?L:""}))}const Wi=o.createContext(null),hr=o.createContext(null),yo=o.createContext(null),Z7=o.forwardRef(function(t,u){[t,u]=X(t,u,Wi);let{validationBehavior:n}=qe($u)||{};var r,i;let a=(i=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&i!==void 0?i:"native",{locale:l}=de(),s=C5({...t,locale:l,createCalendar:Ai,validationBehavior:a}),d=o.useRef(null),[c,f]=$t(!t["aria-label"]&&!t["aria-labelledby"]),p=o.useRef(null),{labelProps:h,fieldProps:m,inputProps:g,descriptionProps:$,errorMessageProps:v,...C}=Eh({...Jt(t),label:f,inputRef:p,validationBehavior:a},s,d),D=Z({...Jt(t),values:{state:s,isInvalid:s.isInvalid,isDisabled:s.isDisabled},defaultClassName:"react-aria-DateField"}),x=H(t);return delete x.id,o.createElement(ce,{values:[[hr,s],[gn,{...m,ref:d,isInvalid:s.isInvalid,isDisabled:s.isDisabled}],[mu,{...g,ref:p}],[zt,{...h,ref:c,elementType:"span"}],[Xe,{slots:{description:$,errorMessage:v}}],[Dt,C]]},o.createElement("div",{...x,...D,ref:u,slot:t.slot||void 0,"data-invalid":s.isInvalid||void 0,"data-disabled":s.isDisabled||void 0}))}),q7=o.forwardRef(function(t,u){let n=o.useContext(hr),r=o.useContext(yo);return n||r?o.createElement(Dg,{...t,ref:u}):o.createElement(Y7,{...t,ref:u})}),Y7=o.forwardRef((e,t)=>{let[u,n]=X({slot:e.slot},t,Wi),{locale:r}=de(),i=C5({...u,locale:r,createCalendar:Ai}),a=o.useRef(null),{fieldProps:l,inputProps:s}=Eh({...u,inputRef:a},i,n);return o.createElement(ce,{values:[[hr,i],[mu,{...s,ref:a}],[gn,{...l,ref:n,isInvalid:i.isInvalid,isDisabled:i.isDisabled}]]},o.createElement(Dg,e))}),Dg=o.forwardRef((e,t)=>{let{className:u,children:n}=e,r=o.useContext(hr),i=o.useContext(yo),a=r??i;return o.createElement(o.Fragment,null,o.createElement(_i,{...e,ref:t,slot:e.slot||void 0,className:u??"react-aria-DateInput",isInvalid:a.isInvalid,isDisabled:a.isDisabled},a.segments.map((l,s)=>o.cloneElement(n(l),{key:s}))),o.createElement(Mi,null))}),J7=o.forwardRef(function({segment:t,...u},n){let r=o.useContext(hr),i=o.useContext(yo),a=r??i,l=ge(n),{segmentProps:s}=rD(t,a,l),{focusProps:d,isFocused:c,isFocusVisible:f}=me(),{hoverProps:p,isHovered:h}=De({...u,isDisabled:a.isDisabled||t.type==="literal"}),{isEditable:m,...g}=t,$=Z({...u,values:{...g,isReadOnly:!m,isInvalid:a.isInvalid,isDisabled:a.isDisabled,isHovered:h,isFocused:c,isFocusVisible:f},defaultChildren:t.text,defaultClassName:"react-aria-DateSegment"});return o.createElement("span",{...V(H(u),s,d,p),...$,style:s.style,ref:l,"data-placeholder":t.isPlaceholder||void 0,"data-invalid":a.isInvalid||void 0,"data-readonly":!m||void 0,"data-disabled":a.isDisabled||void 0,"data-type":t.type,"data-hovered":h||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0})}),X7=o.createContext(null),Q7=o.createContext(null),eC=o.createContext(null),tC=o.createContext(null),uC=o.forwardRef(function(t,u){[t,u]=X(t,u,X7);let{validationBehavior:n}=qe($u)||{};var r,i;let a=(i=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&i!==void 0?i:"native",l=Kx({...t,validationBehavior:a}),s=o.useRef(null),[d,c]=$t(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:f,labelProps:p,fieldProps:h,buttonProps:m,dialogProps:g,calendarProps:$,descriptionProps:v,errorMessageProps:C,...D}=eD({...Jt(t),label:c,validationBehavior:a},l,s),[x,k]=o.useState(null),S=o.useCallback(()=>{s.current&&k(s.current.offsetWidth+"px")},[]);fu({ref:s,onResize:S});let{focusProps:F,isFocused:T,isFocusVisible:N}=me({within:!0}),w=Z({...t,values:{state:l,isFocusWithin:T,isFocusVisible:N,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DatePicker"}),y=H(t);return delete y.id,o.createElement(ce,{values:[[eC,l],[gn,{...f,ref:s,isInvalid:l.isInvalid}],[Wi,h],[vt,{...m,isPressed:l.isOpen}],[zt,{...p,ref:d,elementType:"span"}],[di,$],[Vt,l],[$n,{trigger:"DatePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":x}}],[Ui,g],[Xe,{slots:{description:v,errorMessage:C}}],[Dt,D]]},o.createElement("div",{...F,...y,...w,ref:u,slot:t.slot||void 0,"data-focus-within":T||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":N||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),nC=o.forwardRef(function(t,u){[t,u]=X(t,u,Q7);let{validationBehavior:n}=qe($u)||{};var r,i;let a=(i=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&i!==void 0?i:"native",l=Lx({...t,validationBehavior:a}),s=o.useRef(null),[d,c]=$t(!t["aria-label"]&&!t["aria-labelledby"]),{groupProps:f,labelProps:p,startFieldProps:h,endFieldProps:m,buttonProps:g,dialogProps:$,calendarProps:v,descriptionProps:C,errorMessageProps:D,...x}=lD({...Jt(t),label:c,validationBehavior:a},l,s),[k,S]=o.useState(null),F=o.useCallback(()=>{s.current&&S(s.current.offsetWidth+"px")},[]);fu({ref:s,onResize:F});let{focusProps:T,isFocused:N,isFocusVisible:w}=me({within:!0}),y=Z({...t,values:{state:l,isFocusWithin:N,isFocusVisible:w,isDisabled:t.isDisabled||!1,isInvalid:l.isInvalid,isOpen:l.isOpen},defaultClassName:"react-aria-DateRangePicker"}),A=H(t);return delete A.id,o.createElement(ce,{values:[[tC,l],[gn,{...f,ref:s,isInvalid:l.isInvalid}],[vt,{...g,isPressed:l.isOpen}],[zt,{...p,ref:d,elementType:"span"}],[ci,v],[Vt,l],[$n,{trigger:"DateRangePicker",triggerRef:s,placement:"bottom start",style:{"--trigger-width":k}}],[Ui,$],[Wi,{slots:{start:h,end:m}}],[Xe,{slots:{description:C,errorMessage:D}}],[Dt,x]]},o.createElement("div",{...T,...A,...y,ref:u,slot:t.slot||void 0,"data-focus-within":N||void 0,"data-invalid":l.isInvalid||void 0,"data-focus-visible":w||void 0,"data-disabled":t.isDisabled||void 0,"data-open":l.isOpen||void 0}))}),xg=o.createContext(null),rC=o.forwardRef(function(t,u){let n=Hx(t),r=Z({...t,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:n.isDisabled,state:n}}),i=H(t);return o.createElement("div",{...i,...r,ref:u,"data-disabled":t.isDisabled||void 0},o.createElement(xg.Provider,{value:n},r.children))}),iC=o.createContext(null),aC=o.createContext(null),Cg=o.createContext(null),lC=o.forwardRef(function(t,u){[t,u]=X(t,u,iC);let n=o.useContext(xg),{id:r,...i}=t,a=ie();r||(r=a);let l=n?n.expandedKeys.has(r):t.isExpanded,s=Ox({...t,isExpanded:l,onExpandedChange(v){var C;n&&n.toggleKey(r),(C=t.onExpandedChange)===null||C===void 0||C.call(t,v)}}),d=o.useRef(null),c=t.isDisabled||(n==null?void 0:n.isDisabled)||!1,{buttonProps:f,panelProps:p}=sD({...t,isExpanded:l,isDisabled:c},s,d),{isFocusVisible:h,focusProps:m}=me({within:!0}),g=Z({...t,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:s.isExpanded,isDisabled:c,isFocusVisibleWithin:h,state:s}}),$=H(i);return o.createElement(ce,{values:[[vt,{slots:{[pu]:{},trigger:f}}],[Cg,{panelProps:p,panelRef:d}],[aC,s]]},o.createElement("div",{ref:u,"data-expanded":s.isExpanded||void 0,"data-disabled":c||void 0,"data-focus-visible-within":h||void 0,...$,...m,...g},g.children))}),oC=o.forwardRef(function(t,u){let{role:n="group"}=t,{panelProps:r,panelRef:i}=o.useContext(Cg),{isFocusVisible:a,focusProps:l}=me({within:!0}),s=Z({...t,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:a}}),d=H(t);return o.createElement("div",{...d,ref:bu(u,i),...V(r,l),...s,role:n,"data-focus-visible-within":a||void 0},o.createElement(ce,{values:[[vt,null]]},t.children))});function sC(e){return e&&e.__esModule?e.default:e}const dC=o.createContext(null),cC=o.forwardRef(function(t,u){let{isDisabled:n=!1}=t;[t,u]=X(t,u,dC);let r=ge(u),i=o.useRef(null),{dropProps:a,dropButtonProps:l,isDropTarget:s}=kD({...t,ref:i,hasDropButton:!0}),{buttonProps:d}=Fi(l||{},i),{hoverProps:c,isHovered:f}=De(t),{focusProps:p,isFocused:h,isFocusVisible:m}=me(),g=xe(sC(hg),"react-aria-components"),$=dt(),v=t["aria-label"]||g.format("dropzoneLabel"),C=t["aria-labelledby"],D=[$,C].filter(Boolean).join(" "),x=At({"aria-label":v,"aria-labelledby":D}),{clipboardProps:k}=BD({isDisabled:n,onPaste:T=>{var N;return(N=t.onDrop)===null||N===void 0?void 0:N.call(t,{type:"drop",items:T,x:0,y:0,dropOperation:"copy"})}}),S=Z({...t,values:{isHovered:f,isFocused:h,isFocusVisible:m,isDropTarget:s,isDisabled:n},defaultClassName:"react-aria-DropZone"}),F=H(t);return delete F.id,o.createElement(ce,{values:[[Xe,{id:$,slot:"label"}]]},o.createElement("div",{...V(a,c,F),...S,slot:t.slot||void 0,ref:r,onClick:T=>{var N;let w=T.target;for(;w&&(!((N=r.current)===null||N===void 0)&&N.contains(w))&&!kl(w);){if(w===r.current){var y;(y=i.current)===null||y===void 0||y.focus();break}w=w.parentElement}},"data-hovered":f||void 0,"data-focused":h||void 0,"data-focus-visible":m||void 0,"data-drop-target":s||void 0,"data-disabled":n||void 0},o.createElement(gt,null,o.createElement("button",{...V(d,p,k,x),ref:i})),S.children))}),fC=o.forwardRef(function(t,u){let{onSelect:n,acceptedFileTypes:r,allowsMultiple:i,defaultCamera:a,children:l,acceptDirectory:s,...d}=t,c=ge(u),f=H(d);return o.createElement(o.Fragment,null,o.createElement(Al,{onPress:()=>{var p,h;!((p=c.current)===null||p===void 0)&&p.value&&(c.current.value=""),(h=c.current)===null||h===void 0||h.click()}},l),o.createElement(Mi,{...f,type:"file",ref:c,style:{display:"none"},accept:r==null?void 0:r.toString(),onChange:p=>n==null?void 0:n(p.target.files),capture:a,multiple:i,webkitdirectory:s?"":void 0}))}),pC=o.forwardRef(function(t,u){[t,u]=X(t,u,gi);let{children:n,level:r=3,className:i,...a}=t,l=`h${r}`;return o.createElement(l,{...a,ref:u,className:i??"react-aria-Heading"},n)}),hC=o.createContext(null),vo=o.createContext(null),mC=o.forwardRef(function(t,u){if(o.useContext(vo))return o.createElement(id,{...t,modalRef:u},t.children);let{isDismissable:r,isKeyboardDismissDisabled:i,isOpen:a,defaultOpen:l,onOpenChange:s,children:d,isEntering:c,isExiting:f,UNSTABLE_portalContainer:p,shouldCloseOnInteractOutside:h,...m}=t;return o.createElement(Eg,{isDismissable:r,isKeyboardDismissDisabled:i,isOpen:a,defaultOpen:l,onOpenChange:s,isEntering:c,isExiting:f,UNSTABLE_portalContainer:p,shouldCloseOnInteractOutside:h},o.createElement(id,{...m,modalRef:u},d))});function bC(e,t){[e,t]=X(e,t,hC);let u=o.useContext(Vt),n=Vu(e),r=e.isOpen!=null||e.defaultOpen!=null||!u?n:u,i=ge(t),a=o.useRef(null),l=Hr(i,r.isOpen),s=Hr(a,r.isOpen),d=l||s||e.isExiting||!1,c=Tt();return!r.isOpen&&!d||c?null:o.createElement(gC,{...e,state:r,isExiting:d,overlayRef:i,modalRef:a})}const Eg=o.forwardRef(bC);function gC({UNSTABLE_portalContainer:e,...t}){let u=t.modalRef,{state:n}=t,{modalProps:r,underlayProps:i}=Iv(t,n,u),a=Di(t.overlayRef)||t.isEntering||!1,l=Z({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:a,isExiting:t.isExiting,state:n}}),s=k$(),d={...l.style,"--visual-viewport-height":s.height+"px"};return o.createElement(Qa,{isExiting:t.isExiting,portalContainer:e},o.createElement("div",{...V(H(t),i),...l,style:d,ref:t.overlayRef,"data-entering":a||void 0,"data-exiting":t.isExiting||void 0},o.createElement(ce,{values:[[vo,{modalProps:r,modalRef:u,isExiting:t.isExiting,isDismissable:t.isDismissable}],[Vt,n]]},l.children)))}function id(e){let{modalProps:t,modalRef:u,isExiting:n,isDismissable:r}=o.useContext(vo),i=o.useContext(Vt),a=o.useMemo(()=>bu(e.modalRef,u),[e.modalRef,u]),l=ge(a),s=Di(l),d=Z({...e,defaultClassName:"react-aria-Modal",values:{isEntering:s,isExiting:n,state:i}});return o.createElement("div",{...V(H(e),t),...d,ref:l,"data-entering":s||void 0,"data-exiting":n||void 0},r&&o.createElement(Xa,{onDismiss:i.close}),d.children)}const $C=o.createContext(null),yC=o.createContext(null),kg=o.createContext(null),vC=o.forwardRef(function(t,u){[t,u]=X(t,u,$C);let{validationBehavior:n}=qe($u)||{};var r,i;let a=(i=(r=t.validationBehavior)!==null&&r!==void 0?r:n)!==null&&i!==void 0?i:"native",l=Gx({...t,validationBehavior:a}),[s,d]=$t(!t["aria-label"]&&!t["aria-labelledby"]),{radioGroupProps:c,labelProps:f,descriptionProps:p,errorMessageProps:h,...m}=HD({...t,label:d,validationBehavior:a},l),g=Z({...t,values:{orientation:t.orientation||"vertical",isDisabled:l.isDisabled,isReadOnly:l.isReadOnly,isRequired:l.isRequired,isInvalid:l.isInvalid,state:l},defaultClassName:"react-aria-RadioGroup"});return o.createElement("div",{...c,...g,ref:u,slot:t.slot||void 0,"data-orientation":t.orientation||"vertical","data-invalid":l.isInvalid||void 0,"data-disabled":l.isDisabled||void 0,"data-readonly":l.isReadOnly||void 0,"data-required":l.isRequired||void 0},o.createElement(ce,{values:[[kg,l],[zt,{...f,ref:s,elementType:"span"}],[Xe,{slots:{description:p,errorMessage:h}}],[Dt,m]]},g.children))}),DC=o.forwardRef(function(t,u){let{inputRef:n=null,...r}=t;[t,u]=X(r,u,yC);let i=o.useContext(kg),a=ge(bu(n,t.inputRef!==void 0?t.inputRef:null)),{labelProps:l,inputProps:s,isSelected:d,isDisabled:c,isPressed:f}=OD({...Jt(t),children:typeof t.children=="function"?!0:t.children},i,a),{isFocused:p,isFocusVisible:h,focusProps:m}=me(),g=c||i.isReadOnly,{hoverProps:$,isHovered:v}=De({...t,isDisabled:g}),C=Z({...t,defaultClassName:"react-aria-Radio",values:{isSelected:d,isPressed:f,isHovered:v,isFocused:p,isFocusVisible:h,isDisabled:c,isReadOnly:i.isReadOnly,isInvalid:i.isInvalid,isRequired:i.isRequired}}),D=H(t);return delete D.id,o.createElement("label",{...V(D,l,$,C),ref:u,"data-selected":d||void 0,"data-pressed":f||void 0,"data-hovered":v||void 0,"data-focused":p||void 0,"data-focus-visible":h||void 0,"data-disabled":c||void 0,"data-readonly":i.isReadOnly||void 0,"data-invalid":i.isInvalid||void 0,"data-required":i.isRequired||void 0},o.createElement(gt,{elementType:"span"},o.createElement("input",{...V(s,m),ref:a})),C.children)});class xC extends xi{addNode(t){super.addNode(t),this.columnsDirty||(this.columnsDirty=t.type==="column"),t.type==="tableheader"&&(this.head=t),t.type==="tablebody"&&(this.body=t)}commit(t,u,n=!1){this.updateColumns(n),this.rows=[];for(let a of this.getChildren(this.body.key)){let l=a.lastChildKey;if(l!=null){let s=this.getItem(l);var r,i;let d=((r=s.colIndex)!==null&&r!==void 0?r:s.index)+((i=s.colSpan)!==null&&i!==void 0?i:1);if(d!==this.columns.length&&!n)throw new Error(`Cell count must match column count. Found ${d} cells and ${this.columns.length} columns.`)}this.rows.push(a)}super.commit(t,u,n)}updateColumns(t){if(!this.columnsDirty)return;this.rowHeaderColumnKeys=new Set,this.columns=[];let u=new Map,n=r=>{switch(r.type){case"column":u.set(r.key,r),r.hasChildNodes||(r.index=this.columns.length,this.columns.push(r),r.props.isRowHeader&&this.rowHeaderColumnKeys.add(r.key));break}for(let i of this.getChildren(r.key))n(i)};for(let r of this.getChildren(this.head.key))n(r);if(this.headerRows=k5(u,this.columns),this.columnsDirty=!1,this.rowHeaderColumnKeys.size===0&&this.columns.length>0&&!t)throw new Error("A table must have at least one Column with the isRowHeader prop set to true")}get columnCount(){return this.columns.length}*[Symbol.iterator](){this.head.key!==-1&&(yield this.head,yield this.body)}get size(){return this.rows.length}getFirstKey(){return this.body.firstChildKey}getLastKey(){return this.body.lastChildKey}getKeyAfter(t){let u=this.getItem(t);var n;return(u==null?void 0:u.type)==="column"?(n=u.nextKey)!==null&&n!==void 0?n:null:super.getKeyAfter(t)}getKeyBefore(t){var u;let n=this.getItem(t);var r;if((n==null?void 0:n.type)==="column")return(r=n.prevKey)!==null&&r!==void 0?r:null;let i=super.getKeyBefore(t);return i!=null&&((u=this.getItem(i))===null||u===void 0?void 0:u.type)==="tablebody"?null:i}getChildren(t){if(!this.getItem(t)){for(let u of this.headerRows)if(u.key===t)return u.childNodes}return super.getChildren(t)}clone(){let t=super.clone();return t.headerRows=this.headerRows,t.columns=this.columns,t.rowHeaderColumnKeys=this.rowHeaderColumnKeys,t.head=this.head,t.body=this.body,t}getTextValue(t){let u=this.getItem(t);if(!u)return"";if(u.textValue)return u.textValue;let n=this.rowHeaderColumnKeys,r=[];for(let i of this.getChildren(t)){let a=this.columns[i.index];if(n.has(a.key)&&i.textValue&&r.push(i.textValue),r.length===n.size)break}return r.join(" ")}constructor(...t){super(...t),this.headerRows=[],this.columns=[],this.rows=[],this.rowHeaderColumnKeys=new Set,this.head=new _n("tableheader",-1),this.body=new _n("tablebody",-2),this.columnsDirty=!0}}const CC=o.createContext(null),EC=o.createContext(null),_t=o.createContext(null),Bg=o.createContext(null),kC=o.forwardRef(function(t,u){var n;[t,u]=X(t,u,EC);let r=fr(t),{selectionBehavior:i,selectionMode:a,disallowEmptySelection:l}=r,s=!!(!((n=t.dragAndDropHooks)===null||n===void 0)&&n.useDraggableCollectionState),d=o.useMemo(()=>({selectionBehavior:a==="none"?null:i,selectionMode:a,disallowEmptySelection:l,allowsDragging:s}),[i,a,l,s]),c=o.createElement(Pg.Provider,{value:d},o.createElement(ht,t));return o.createElement(Nu,{content:c,createCollection:()=>new xC},f=>o.createElement(BC,{props:t,forwardedRef:u,selectionState:r,collection:f}))});function BC({props:e,forwardedRef:t,selectionState:u,collection:n}){let r=o.useContext(CC);t=ge(o.useMemo(()=>bu(t,r==null?void 0:r.tableRef),[t,r==null?void 0:r.tableRef]));let i=Qx({...e,collection:n,children:void 0,UNSAFE_selectionState:u}),{isVirtualized:a,layoutDelegate:l,dropTargetDelegate:s,CollectionRoot:d}=o.useContext(ke),{dragAndDropHooks:c}=e,{gridProps:f}=YD({...e,layoutDelegate:l,isVirtualized:a},i,t),p=i.selectionManager,h=!!(c!=null&&c.useDraggableCollectionState),m=!!(c!=null&&c.useDroppableCollectionState),g=o.useRef(h),$=o.useRef(m);o.useEffect(()=>{process.env.NODE_ENV!=="production"&&(g.current!==h&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),$.current!==m&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."))},[h,m]);let v,C,D,x=!1,k=null,S=o.useRef(null);if(h&&c){v=c.useDraggableCollectionState({collection:n,selectionManager:p,preview:c.renderDragPreview?S:void 0}),c.useDraggableCollection({},v,t);let B=c.DragPreview;k=c.renderDragPreview?o.createElement(B,{ref:S},c.renderDragPreview):null}if(m&&c){C=c.useDroppableCollectionState({collection:n,selectionManager:p});let B=new mn({collection:n,disabledKeys:p.disabledKeys,disabledBehavior:p.disabledBehavior,ref:t,layoutDelegate:l}),E=c.dropTargetDelegate||s||new c.ListDropTargetDelegate(n.rows,t);D=c.useDroppableCollection({keyboardDelegate:B,dropTargetDelegate:E},C,t),x=C.isDropTarget({type:"root"})}let{focusProps:F,isFocused:T,isFocusVisible:N}=me(),w=Z({className:e.className,style:e.style,defaultClassName:"react-aria-Table",values:{isDropTarget:x,isFocused:T,isFocusVisible:N,state:i}}),y=!!(h&&!(v!=null&&v.isDisabled)),A=w.style,I=null;r&&(I=r.useTableColumnResizeState({tableWidth:r.tableWidth},i),a||(A={...A,tableLayout:"fixed",width:"fit-content"}));let K=Le("table");var L;return o.createElement(ce,{values:[[_t,i],[Bg,I],[Mt,{dragAndDropHooks:c,dragState:v,dropState:C}],[po,{render:RC}]]},o.createElement(ir,null,o.createElement(K,{...H(e),...w,...V(f,F,D==null?void 0:D.collectionProps),style:A,ref:t,slot:e.slot||void 0,onScroll:e.onScroll,"data-allows-dragging":y||void 0,"data-drop-target":x||void 0,"data-focused":T||void 0,"data-focus-visible":N||void 0},o.createElement(d,{collection:n,scrollRef:(L=r==null?void 0:r.scrollRef)!==null&&L!==void 0?L:t,persistedKeys:mg(p,c,C)}))),k)}function Le(e){let{isVirtualized:t}=o.useContext(ke);return t?"div":e}const Pg=o.createContext(null);function Sg(){return o.useContext(Pg)}const PC=ki("tableheader",(e,t)=>{let u=o.useContext(_t).collection,n=Bl({items:u.headerRows,children:o.useCallback(d=>{switch(d.type){case"headerrow":return o.createElement(SC,{item:d});default:throw new Error("Unsupported node type in TableHeader: "+d.type)}},[])}),r=Le("thead"),{rowGroupProps:i}=hb(),{hoverProps:a,isHovered:l}=De({onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),s=Z({className:e.className,style:e.style,defaultClassName:"react-aria-TableHeader",values:{isHovered:l}});return o.createElement(r,{...V(H(e),i,a),...s,ref:t,"data-hovered":l||void 0},n)},e=>o.createElement(ht,{dependencies:e.dependencies,items:e.columns},e.children));function SC({item:e}){let t=o.useRef(null),u=o.useContext(_t),{isVirtualized:n,CollectionBranch:r}=o.useContext(ke),{rowProps:i}=ex({node:e,isVirtualized:n},u,t),{checkboxProps:a}=rx(u),l=Le("tr");return o.createElement(l,{...i,ref:t},o.createElement(ce,{values:[[bl,{slots:{selection:a}}]]},o.createElement(r,{collection:u.collection,parent:e})))}const wC=Rt("column",(e,t,u)=>{var n,r;let i=ge(t),a=o.useContext(_t),{isVirtualized:l}=o.useContext(ke),{columnHeaderProps:s}=XD({node:u,isVirtualized:l},a,i),{isFocused:d,isFocusVisible:c,focusProps:f}=me(),p=o.useContext(Bg),h=!1;if(p)h=p.resizingColumn===u.key;else if(process.env.NODE_ENV!=="production")for(let D in["width","defaultWidth","minWidth","maxWidth"])D in u.props&&console.warn(`The ${D} prop on a <Column> only applies when a <Table> is wrapped in a <ResizableTableContainer>. If you aren't using column resizing, you can set the width of a column with CSS.`);let{hoverProps:m,isHovered:g}=De({isDisabled:!e.allowsSorting}),$=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Column",values:{isHovered:g,isFocused:d,isFocusVisible:c,allowsSorting:u.props.allowsSorting,sortDirection:((n=a.sortDescriptor)===null||n===void 0?void 0:n.column)===u.key?a.sortDescriptor.direction:void 0,isResizing:h,startResize:()=>{if(p)p.startResize(u.key),a.setKeyboardNavigationDisabled(!0);else throw new Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing")},sort:D=>{a.sort(u.key,D)}}}),v=$.style;p&&(v={...v,width:p.getColumnWidth(u.key)});let C=Le("th");return o.createElement(C,{...V(H(e),s,f,m),...$,style:v,ref:i,"data-hovered":g||void 0,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-resizing":h||void 0,"data-allows-sorting":u.props.allowsSorting||void 0,"data-sort-direction":((r=a.sortDescriptor)===null||r===void 0?void 0:r.column)===u.key?a.sortDescriptor.direction:void 0},o.createElement(ce,{values:[[AC,{column:u,triggerRef:i}],[ke,pr]]},$.children))}),AC=o.createContext(null),FC=ki("tablebody",(e,t)=>{let u=o.useContext(_t),{isVirtualized:n}=o.useContext(ke),r=u.collection,{CollectionBranch:i}=o.useContext(ke),{dragAndDropHooks:a,dropState:l}=o.useContext(Mt),s=!!(a!=null&&a.useDroppableCollectionState)&&!(l!=null&&l.isDisabled);var d;let c=s&&!!l&&((d=l.isDropTarget({type:"root"}))!==null&&d!==void 0?d:!1),f=r.size===0||r.rows.length===1&&r.rows[0].type==="loader",p={isDropTarget:c,isEmpty:f},h=Z({...e,id:void 0,children:void 0,defaultClassName:"react-aria-TableBody",values:p}),m,g=Le("tr"),$=Le("td"),v=r.columnCount;if(f&&e.renderEmptyState&&u){let x={},k={},S={};n?(x["aria-rowindex"]=r.headerRows.length+1,k["aria-colspan"]=v,S={display:"contents"}):k.colSpan=v,m=o.createElement(g,{role:"row",...x,style:S},o.createElement($,{role:"rowheader",...k,style:S},e.renderEmptyState(p)))}let{rowGroupProps:C}=hb(),D=Le("tbody");return o.createElement(D,{...V(H(e),C),...h,ref:t,"data-empty":f||void 0},s&&o.createElement(MC,null),o.createElement(i,{collection:r,parent:r.body,renderDropIndicator:ho(a,l)}),m)}),TC=ki("item",(e,t,u)=>{let n=ge(t),r=o.useContext(_t),{dragAndDropHooks:i,dragState:a,dropState:l}=o.useContext(Mt),{isVirtualized:s,CollectionBranch:d}=o.useContext(ke),{rowProps:c,...f}=QD({node:u,shouldSelectOnPressUp:!!a,isVirtualized:s},r,n),{isFocused:p,isFocusVisible:h,focusProps:m}=me(),{isFocusVisible:g,focusProps:$}=me({within:!0}),{hoverProps:v,isHovered:C}=De({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:e.onHoverStart,onHoverChange:e.onHoverChange,onHoverEnd:e.onHoverEnd}),{checkboxProps:D}=nx({key:u.key},r),x;a&&i&&(x=i.useDraggableItem({key:u.key,hasDragButton:!0},a));let k,S=o.useRef(null),{visuallyHiddenProps:F}=sr();l&&i&&(k=i.useDropIndicator({target:{type:"item",key:u.key,dropPosition:"on"}},l,S));let T=o.useRef(null);o.useEffect(()=>{a&&!T.current&&process.env.NODE_ENV!=="production"&&console.warn('Draggable items in a Table must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.')},[]);let N=a&&a.isDragging(u.key),{children:w,...y}=e,A=Z({...y,id:void 0,defaultClassName:"react-aria-Row",values:{...f,isHovered:C,isFocused:p,isFocusVisible:h,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,isDragging:N,isDropTarget:k==null?void 0:k.isDropTarget,isFocusVisibleWithin:g,id:u.key}}),I=Le("tr"),K=Le("td");return o.createElement(o.Fragment,null,k&&!k.isHidden&&o.createElement(I,{role:"row",style:{height:0}},o.createElement(K,{role:"gridcell",colSpan:r.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...F,...k.dropIndicatorProps,ref:S}))),o.createElement(I,{...V(H(e),c,m,v,x==null?void 0:x.dragProps,$),...A,ref:n,"data-disabled":f.isDisabled||void 0,"data-selected":f.isSelected||void 0,"data-hovered":C||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":h||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":N||void 0,"data-drop-target":(k==null?void 0:k.isDropTarget)||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode,"data-focus-visible-within":g||void 0},o.createElement(ce,{values:[[bl,{slots:{[pu]:{},selection:D}}],[vt,{slots:{[pu]:{},drag:{...x==null?void 0:x.dragButtonProps,ref:T,style:{pointerEvents:"none"}}}}]]},o.createElement(d,{collection:r.collection,parent:u}))))},e=>{if(e.id==null&&typeof e.children=="function")throw new Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t=[e.value].concat(e.dependencies);return o.createElement(ht,{dependencies:t,items:e.columns,idScope:e.id},e.children)}),IC=Rt("cell",(e,t,u)=>{let n=ge(t),r=o.useContext(_t),{dragState:i}=o.useContext(Mt),{isVirtualized:a}=o.useContext(ke);u.column=r.collection.columns[u.index];let{gridCellProps:l,isPressed:s}=tx({node:u,shouldSelectOnPressUp:!!i,isVirtualized:a},r,n),{isFocused:d,isFocusVisible:c,focusProps:f}=me(),{hoverProps:p,isHovered:h}=De({}),m=Z({...e,id:void 0,defaultClassName:"react-aria-Cell",values:{isFocused:d,isFocusVisible:c,isPressed:s,isHovered:h,id:u.key}}),g=Le("td");return o.createElement(g,{...V(H(e),l,f,p),...m,ref:n,"data-focused":d||void 0,"data-focus-visible":c||void 0,"data-pressed":s||void 0},o.createElement(ke.Provider,{value:pr},m.children))});function RC(e,t){t=ge(t);let{dragAndDropHooks:u,dropState:n}=o.useContext(Mt),r=o.useRef(null),{dropIndicatorProps:i,isHidden:a,isDropTarget:l}=u.useDropIndicator(e,n,r);return a?null:o.createElement(zC,{...e,dropIndicatorProps:i,isDropTarget:l,buttonRef:r,ref:t})}function KC(e,t){let{dropIndicatorProps:u,isDropTarget:n,buttonRef:r,...i}=e,a=o.useContext(_t),{visuallyHiddenProps:l}=sr(),s=Z({...i,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}}),d=Le("tr"),c=Le("td");return o.createElement(d,{...H(e),...s,role:"row",ref:t,"data-drop-target":n||void 0},o.createElement(c,{role:"gridcell",colSpan:a.collection.columnCount,style:{padding:0}},o.createElement("div",{...l,role:"button",...u,ref:r}),s.children))}const zC=o.forwardRef(KC);function MC(){let e=o.useContext(_t),{dragAndDropHooks:t,dropState:u}=o.useContext(Mt),n=o.useRef(null),{dropIndicatorProps:r}=t.useDropIndicator({target:{type:"root"}},u,n),i=u.isDropTarget({type:"root"}),{visuallyHiddenProps:a}=sr(),l=Le("tr"),s=Le("td");return!i&&r["aria-hidden"]?null:o.createElement(l,{role:"row","aria-hidden":r["aria-hidden"],style:{height:0}},o.createElement(s,{role:"gridcell",colSpan:e.collection.columnCount,style:{padding:0}},o.createElement("div",{role:"button",...a,...r,ref:n})))}Rt("loader",function(t,u,n){let r=o.useContext(_t),{isVirtualized:i}=o.useContext(ke),{isLoading:a,onLoadMore:l,scrollOffset:s,...d}=t,c=r.collection.columns.length,f=o.useRef(null),p=o.useMemo(()=>({onLoadMore:l,collection:r==null?void 0:r.collection,sentinelRef:f,scrollOffset:s}),[l,s,r==null?void 0:r.collection]);Bd(p,f);let h=Z({...d,id:void 0,children:n.rendered,defaultClassName:"react-aria-TableLoadingIndicator",values:null}),m=Le("tr"),g=Le("td"),$={},v={},C={};return i?($["aria-rowindex"]=n.index+1+r.collection.headerRows.length,v["aria-colspan"]=c,C={display:"contents"}):v.colSpan=c,o.createElement(o.Fragment,null,o.createElement(m,{style:{height:0},inert:Cl(!0)},o.createElement(g,{style:{padding:0,border:0}},o.createElement("div",{"data-testid":"loadMoreSentinel",ref:f,style:{position:"relative",height:1,width:1}}))),a&&h.children&&o.createElement(m,{...V(H(t),$),...h,role:"row",ref:u},o.createElement(g,{role:"rowheader",...v,style:C},h.children)))});class NC{shouldInvalidate(t,u){return t.width!==u.width||t.height!==u.height}shouldInvalidateLayoutOptions(t,u){return t!==u}update(t){}getItemRect(t){var u,n;return(n=(u=this.getLayoutInfo(t))===null||u===void 0?void 0:u.rect)!==null&&n!==void 0?n:null}getVisibleRect(){return this.virtualizer.visibleRect}constructor(){this.virtualizer=null}}class Pu{copy(){let t=new Pu(this.type,this.key,this.rect.copy());return t.estimatedSize=this.estimatedSize,t.opacity=this.opacity,t.transform=this.transform,t.parentKey=this.parentKey,t.content=this.content,t.isSticky=this.isSticky,t.zIndex=this.zIndex,t.allowOverflow=this.allowOverflow,t}constructor(t,u,n){this.type=t,this.key=u,this.parentKey=null,this.content=null,this.rect=n,this.estimatedSize=!1,this.isSticky=!1,this.opacity=1,this.transform=null,this.zIndex=0,this.allowOverflow=!1}}class Fu{copy(){return new Fu(this.x,this.y)}equals(t){return this.x===t.x&&this.y===t.y}isOrigin(){return this.x===0&&this.y===0}constructor(t=0,u=0){this.x=t,this.y=u}}class be{get maxX(){return this.x+this.width}get maxY(){return this.y+this.height}get area(){return this.width*this.height}get topLeft(){return new Fu(this.x,this.y)}get topRight(){return new Fu(this.maxX,this.y)}get bottomLeft(){return new Fu(this.x,this.maxY)}get bottomRight(){return new Fu(this.maxX,this.maxY)}intersects(t){return this.area>0&&t.area>0&&this.x<=t.x+t.width&&t.x<=this.x+this.width&&this.y<=t.y+t.height&&t.y<=this.y+this.height}containsRect(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.maxX&&this.maxY>=t.maxY}containsPoint(t){return this.x<=t.x&&this.y<=t.y&&this.maxX>=t.x&&this.maxY>=t.y}getCornerInRect(t){for(let u of["topLeft","topRight","bottomLeft","bottomRight"])if(t.containsPoint(this[u]))return u;return null}equals(t){return t.x===this.x&&t.y===this.y&&t.width===this.width&&t.height===this.height}pointEquals(t){return this.x===t.x&&this.y===t.y}sizeEquals(t){return this.width===t.width&&this.height===t.height}union(t){let u=Math.min(this.x,t.x),n=Math.min(this.y,t.y),r=Math.max(this.maxX,t.maxX)-u,i=Math.max(this.maxY,t.maxY)-n;return new be(u,n,r,i)}intersection(t){if(!this.intersects(t))return new be(0,0,0,0);let u=Math.max(this.x,t.x),n=Math.max(this.y,t.y);return new be(u,n,Math.min(this.maxX,t.maxX)-u,Math.min(this.maxY,t.maxY)-n)}copy(){return new be(this.x,this.y,this.width,this.height)}constructor(t=0,u=0,n=0,r=0){this.x=t,this.y=u,this.width=n,this.height=r}}class dn{copy(){return new dn(this.width,this.height)}equals(t){return this.width===t.width&&this.height===t.height}get area(){return this.width*this.height}constructor(t=0,u=0){this.width=t,this.height=u}}let VC=0;class wg{prepareForReuse(){this.content=null,this.rendered=null,this.layoutInfo=null}getReusableView(t){let u=this.reusableViews.get(t);return u&&u.length>0?u.shift():new jC(this.virtualizer,this,t)}reuseChild(t){t.prepareForReuse();let u=this.reusableViews.get(t.viewType);u||(u=[],this.reusableViews.set(t.viewType,u)),u.push(t)}constructor(t,u){this.virtualizer=t,this.key=++VC,this.viewType=u,this.children=new Set,this.reusableViews=new Map,this.layoutInfo=null,this.content=null,this.rendered=null}}class _C extends wg{constructor(t){super(t,"root")}}class jC extends wg{constructor(t,u,n){super(t,n),this.parent=u}}function LC(e,t){if(e===t)return!0;if(e.size!==t.size)return!1;for(let u of e)if(!t.has(u))return!1;return!0}class OC{setVisibleRect(t){let u=performance.now()-this.startTime;u<500&&(t.x!==this.visibleRect.x&&u>0&&(this.velocity.x=(t.x-this.visibleRect.x)/u),t.y!==this.visibleRect.y&&u>0&&(this.velocity.y=(t.y-this.visibleRect.y)/u)),this.startTime=performance.now(),this.visibleRect=t}getOverscannedRect(){let t=this.visibleRect.copy(),u=this.visibleRect.height/3;if(t.height+=u,this.velocity.y<0&&(t.y-=u),this.velocity.x!==0){let n=this.visibleRect.width/3;t.width+=n,this.velocity.x<0&&(t.x-=n)}return t}constructor(){this.startTime=0,this.velocity=new Fu(0,0),this.visibleRect=new be}}class HC{isPersistedKey(t){if(this.persistedKeys.has(t))return!0;for(let u of this.persistedKeys)for(;u!=null;){let n=this.layout.getLayoutInfo(u);if(!n||n.parentKey==null)break;if(u=n.parentKey,u===t)return!0}return!1}getParentView(t){return t.parentKey!=null?this._visibleViews.get(t.parentKey):this._rootView}getReusableView(t){let n=this.getParentView(t).getReusableView(t.type);return n.layoutInfo=t,this._renderView(n),n}_renderView(t){if(t.layoutInfo){let{type:u,key:n,content:r}=t.layoutInfo;t.content=r||this.collection.getItem(n),t.rendered=this._renderContent(u,t.content)}}_renderContent(t,u){let n=u!=null?this._renderedContent.get(u):null;if(n!=null)return n;let r=this.delegate.renderView(t,u);return u&&this._renderedContent.set(u,r),r}keyAtPoint(t){let u=new be(t.x,t.y,1,1),n=u.area===0?[]:this.layout.getVisibleLayoutInfos(u);for(let r of n)if(r.rect.intersects(u))return r.key;return null}relayout(t={}){this.layout.update(t),this.contentSize=this.layout.getContentSize();let u=this.visibleRect,n=t.contentChanged?0:u.x,r=t.contentChanged?0:u.y;if(n=Math.max(0,Math.min(this.contentSize.width-u.width,n)),r=Math.max(0,Math.min(this.contentSize.height-u.height,r)),n!==u.x||r!==u.y){let i=new be(n,r,u.width,u.height);this.delegate.setVisibleRect(i)}else this.updateSubviews()}getVisibleLayoutInfos(){let t=process.env.NODE_ENV==="test"&&!process.env.VIRT_ON,u=t&&typeof HTMLElement<"u"&&Object.getOwnPropertyNames(HTMLElement.prototype).includes("clientWidth"),n=t&&typeof HTMLElement<"u"&&Object.getOwnPropertyNames(HTMLElement.prototype).includes("clientHeight"),r;t&&!(u&&n)?r=new be(0,0,this.contentSize.width,this.contentSize.height):r=this._overscanManager.getOverscannedRect();let i=this.layout.getVisibleLayoutInfos(r),a=new Map;for(let l of i)a.set(l.key,l);return a}updateSubviews(){let t=this.getVisibleLayoutInfos(),u=new Set;for(let[n,r]of this._visibleViews){let i=t.get(n);(!i||r.parent!==this.getParentView(i))&&(this._visibleViews.delete(n),r.parent.reuseChild(r),u.add(r))}for(let[n,r]of t){let i=this._visibleViews.get(n);if(!i)i=this.getReusableView(r),i.parent.children.add(i),this._visibleViews.set(n,i),u.delete(i);else{i.layoutInfo=r;let a=this.collection.getItem(r.key);i.content!==a&&(i.content!=null&&this._renderedContent.delete(i.content),this._renderView(i))}}for(let n of u)n.parent.children.delete(n),n.parent.reusableViews.clear();if(!this._isScrolling)for(let n of t.keys()){let r=this._visibleViews.get(n);r.parent.children.delete(r),r.parent.children.add(r)}}render(t){let u=this,n=!1,r=!1,i=!1,a=!1,l=!1,s=!1;return t.collection!==this.collection&&(u.collection=t.collection,n=!0),(t.layout!==this.layout||this.layout.virtualizer!==this)&&(this.layout&&(this.layout.virtualizer=null),t.layout.virtualizer=this,u.layout=t.layout,n=!0),t.persistedKeys&&!LC(t.persistedKeys,this.persistedKeys)&&(u.persistedKeys=t.persistedKeys,s=!0),this.visibleRect.equals(t.visibleRect)||(this._overscanManager.setVisibleRect(t.visibleRect),this.layout.shouldInvalidate(t.visibleRect,this.visibleRect)?(r=!t.visibleRect.pointEquals(this.visibleRect),i=!t.visibleRect.sizeEquals(this.visibleRect),n=!0):s=!0,u.visibleRect=t.visibleRect),t.invalidationContext!==this._invalidationContext&&(t.invalidationContext&&(i||(i=t.invalidationContext.sizeChanged||!1),r||(r=t.invalidationContext.offsetChanged||!1),a||(a=t.invalidationContext.itemSizeChanged||!1),l||(l=t.invalidationContext.layoutOptions!=null&&this._invalidationContext.layoutOptions!=null&&t.invalidationContext.layoutOptions!==this._invalidationContext.layoutOptions&&this.layout.shouldInvalidateLayoutOptions(t.invalidationContext.layoutOptions,this._invalidationContext.layoutOptions)),n||(n=a||i||r||l)),this._invalidationContext=t.invalidationContext),t.isScrolling!==this._isScrolling&&(this._isScrolling=t.isScrolling,t.isScrolling||(s=!0)),n?this.relayout({offsetChanged:r,sizeChanged:i,itemSizeChanged:a,layoutOptionsChanged:l,layoutOptions:this._invalidationContext.layoutOptions}):s&&this.updateSubviews(),Array.from(this._rootView.children)}getVisibleView(t){return this._visibleViews.get(t)}invalidate(t){this.delegate.invalidate(t)}updateItemSize(t,u){if(!this.layout.updateItemSize)return;this.layout.updateItemSize(t,u)&&this.invalidate({itemSizeChanged:!0})}constructor(t){this.delegate=t.delegate,this.collection=t.collection,this.layout=t.layout,this.contentSize=new dn,this.visibleRect=new be,this.persistedKeys=new Set,this._visibleViews=new Map,this._renderedContent=new WeakMap,this._rootView=new _C(this),this._isScrolling=!1,this._invalidationContext={},this._overscanManager=new OC}}function UC(e){let[t,u]=o.useState(new be(0,0,0,0)),[n,r]=o.useState(!1),[i,a]=o.useState({}),l=o.useRef(!1),[s]=o.useState(()=>new HC({collection:e.collection,layout:e.layout,delegate:{setVisibleRect(g){u(g),l.current=!0},renderView:e.renderView,invalidate:a}}));J(()=>{l.current&&(l.current=!1,e.onVisibleRectChange(t))});let d=o.useMemo(()=>e.layoutOptions!=null?{...i,layoutOptions:e.layoutOptions}:i,[i,e.layoutOptions]),c=s.render({layout:e.layout,collection:e.collection,persistedKeys:e.persistedKeys,layoutOptions:e.layoutOptions,visibleRect:t,invalidationContext:d,isScrolling:n}),f=s.contentSize,p=o.useCallback(()=>{r(!0)},[]),h=o.useCallback(()=>{r(!1)},[]);return o.useMemo(()=>({virtualizer:s,visibleViews:c,setVisibleRect:u,contentSize:f,isScrolling:n,startScrolling:p,endScrolling:h}),[s,c,u,f,n,p,h])}const Hu=48;class WC extends NC{get collection(){return this.virtualizer.collection}getLayoutInfo(t){var u;return this.ensureLayoutInfo(t),((u=this.layoutNodes.get(t))===null||u===void 0?void 0:u.layoutInfo)||null}getVisibleLayoutInfos(t){if(t.height>1){var u,n;let a=((n=(u=this.rowHeight)!==null&&u!==void 0?u:this.estimatedRowHeight)!==null&&n!==void 0?n:Hu)+this.gap;t.y=Math.floor(t.y/a)*a,t.height=Math.ceil(t.height/a)*a}this.layoutIfNeeded(t);let r=[],i=a=>{for(let l of a)this.isVisible(l,t)&&(r.push(l.layoutInfo),l.children&&i(l.children))};return i(this.rootNodes),r}layoutIfNeeded(t){if(this.lastCollection){this.requestedRect.containsRect(t)||(this.requestedRect=this.requestedRect.union(t),this.rootNodes=this.buildCollection());for(let u of this.virtualizer.persistedKeys)if(this.ensureLayoutInfo(u))return}}ensureLayoutInfo(t){return!this.layoutNodes.has(t)&&this.requestedRect.area<this.contentSize.area&&this.lastCollection?(this.requestedRect=new be(0,0,1/0,1/0),this.rootNodes=this.buildCollection(),this.requestedRect=new be(0,0,this.contentSize.width,this.contentSize.height),!0):!1}isVisible(t,u){return t.layoutInfo.rect.intersects(u)||t.layoutInfo.isSticky||t.layoutInfo.type==="header"||t.layoutInfo.type==="loader"||this.virtualizer.isPersistedKey(t.layoutInfo.key)}shouldInvalidateEverything(t){let u=t.layoutOptions;var n,r,i,a,l;return t.sizeChanged||this.rowHeight!==((n=u==null?void 0:u.rowHeight)!==null&&n!==void 0?n:this.rowHeight)||this.headingHeight!==((r=u==null?void 0:u.headingHeight)!==null&&r!==void 0?r:this.headingHeight)||this.loaderHeight!==((i=u==null?void 0:u.loaderHeight)!==null&&i!==void 0?i:this.loaderHeight)||this.gap!==((a=u==null?void 0:u.gap)!==null&&a!==void 0?a:this.gap)||this.padding!==((l=u==null?void 0:u.padding)!==null&&l!==void 0?l:this.padding)}shouldInvalidateLayoutOptions(t,u){return t.rowHeight!==u.rowHeight||t.estimatedRowHeight!==u.estimatedRowHeight||t.headingHeight!==u.headingHeight||t.estimatedHeadingHeight!==u.estimatedHeadingHeight||t.loaderHeight!==u.loaderHeight||t.dropIndicatorThickness!==u.dropIndicatorThickness||t.gap!==u.gap||t.padding!==u.padding}update(t){let u=this.virtualizer.collection;this.invalidateEverything=this.shouldInvalidateEverything(t),this.invalidateEverything&&(this.requestedRect=this.virtualizer.visibleRect.copy(),this.layoutNodes.clear());let n=t.layoutOptions;var r;this.rowHeight=(r=n==null?void 0:n.rowHeight)!==null&&r!==void 0?r:this.rowHeight;var i;this.estimatedRowHeight=(i=n==null?void 0:n.estimatedRowHeight)!==null&&i!==void 0?i:this.estimatedRowHeight;var a;this.headingHeight=(a=n==null?void 0:n.headingHeight)!==null&&a!==void 0?a:this.headingHeight;var l;this.estimatedHeadingHeight=(l=n==null?void 0:n.estimatedHeadingHeight)!==null&&l!==void 0?l:this.estimatedHeadingHeight;var s;this.loaderHeight=(s=n==null?void 0:n.loaderHeight)!==null&&s!==void 0?s:this.loaderHeight;var d;this.dropIndicatorThickness=(d=n==null?void 0:n.dropIndicatorThickness)!==null&&d!==void 0?d:this.dropIndicatorThickness;var c;this.gap=(c=n==null?void 0:n.gap)!==null&&c!==void 0?c:this.gap;var f;if(this.padding=(f=n==null?void 0:n.padding)!==null&&f!==void 0?f:this.padding,this.rootNodes=this.buildCollection(),this.lastCollection&&u!==this.lastCollection)for(let p of this.lastCollection.getKeys())u.getItem(p)||this.layoutNodes.get(p)&&this.layoutNodes.delete(p);this.lastCollection=u,this.invalidateEverything=!1,this.validRect=this.requestedRect.copy()}buildCollection(t=this.padding){let u=this.virtualizer.collection,n=0,r=[],i=(u==null?void 0:u.size)===0||u.size===1&&u.getItem(u.getFirstKey()).type==="loader";i&&(t=0);for(let d of u){var a,l;let c=((l=(a=this.rowHeight)!==null&&a!==void 0?a:this.estimatedRowHeight)!==null&&l!==void 0?l:Hu)+this.gap;if(d.type==="item"&&t+c<this.requestedRect.y&&!this.isValid(d,t)){t+=c,n++;continue}let f=this.buildChild(d,this.padding,t,null);if(t=f.layoutInfo.rect.maxY+this.gap,r.push(f),d.type==="item"&&t>this.requestedRect.maxY){var s;let p=u.size-(r.length+n),h=u.getItem(u.getLastKey());if((h==null?void 0:h.type)==="loader"&&p--,t+=p*c,(h==null?void 0:h.type)==="loader"&&((s=r.at(-1))===null||s===void 0?void 0:s.layoutInfo.type)!=="loader"){let m=this.buildChild(h,this.padding,t,null);r.push(m),t=m.layoutInfo.rect.maxY}break}}return t-=this.gap,t+=i?0:this.padding,this.contentSize=new dn(this.virtualizer.visibleRect.width,t),r}isValid(t,u){let n=this.layoutNodes.get(t.key);return!this.invalidateEverything&&!!n&&n.node===t&&u===n.layoutInfo.rect.y&&n.layoutInfo.rect.intersects(this.validRect)&&n.validRect.containsRect(n.layoutInfo.rect.intersection(this.requestedRect))}buildChild(t,u,n,r){if(this.isValid(t,n))return this.layoutNodes.get(t.key);let i=this.buildNode(t,u,n);return i.layoutInfo.parentKey=r??null,i.layoutInfo.allowOverflow=!0,this.layoutNodes.set(t.key,i),i}buildNode(t,u,n){switch(t.type){case"section":return this.buildSection(t,u,n);case"item":return this.buildItem(t,u,n);case"header":return this.buildSectionHeader(t,u,n);case"loader":return this.buildLoader(t,u,n);case"separator":return this.buildItem(t,u,n);default:throw new Error("Unsupported node type: "+t.type)}}buildLoader(t,u,n){let r=new be(u,n,this.padding,0),i=new Pu("loader",t.key,r);r.width=this.virtualizer.contentSize.width-this.padding-u;var a,l,s;return r.height=t.props.isLoading?(s=(l=(a=this.loaderHeight)!==null&&a!==void 0?a:this.rowHeight)!==null&&l!==void 0?l:this.estimatedRowHeight)!==null&&s!==void 0?s:Hu:0,{layoutInfo:i,validRect:r.intersection(this.requestedRect)}}buildSection(t,u,n){let r=this.virtualizer.collection,i=this.virtualizer.visibleRect.width-this.padding,a=new be(u,n,i-u,0),l=new Pu(t.type,t.key,a),s=n,d=0,c=[];for(let h of Be(t,r)){var f,p;let m=((p=(f=this.rowHeight)!==null&&f!==void 0?f:this.estimatedRowHeight)!==null&&p!==void 0?p:Hu)+this.gap;if(n+m<this.requestedRect.y&&!this.isValid(t,n)){n+=m,d++;continue}let g=this.buildChild(h,u,n,l.key);if(n=g.layoutInfo.rect.maxY+this.gap,c.push(g),n>this.requestedRect.maxY){n+=([...Be(t,r)].length-(c.length+d))*m;break}}return n-=this.gap,a.height=n-s,{layoutInfo:l,children:c,validRect:l.rect.intersection(this.requestedRect),node:t}}buildSectionHeader(t,u,n){let r=this.virtualizer.visibleRect.width-this.padding,i=this.headingHeight,a=!1;if(i==null){let d=this.layoutNodes.get(t.key),c=d==null?void 0:d.layoutInfo;if(c){let f=this.virtualizer.collection.getItem(t.key),p=this.lastCollection?this.lastCollection.getItem(t.key):null;i=c.rect.height,a=r!==c.rect.width||f!==p||c.estimatedSize}else i=t.rendered?this.estimatedHeadingHeight:0,a=!0}i==null&&(i=Hu);let l=new be(u,n,r-u,i),s=new Pu("header",t.key,l);return s.estimatedSize=a,{layoutInfo:s,children:[],validRect:s.rect.intersection(this.requestedRect),node:t}}buildItem(t,u,n){let r=this.virtualizer.visibleRect.width-this.padding-u,i=this.rowHeight,a=!1;if(i==null){let d=this.layoutNodes.get(t.key);d?(i=d.layoutInfo.rect.height,a=r!==d.layoutInfo.rect.width||t!==d.node||d.layoutInfo.estimatedSize):(i=this.estimatedRowHeight,a=!0)}i==null&&(i=Hu);let l=new be(u,n,r,i),s=new Pu(t.type,t.key,l);return s.estimatedSize=a,{layoutInfo:s,children:[],validRect:s.rect,node:t}}updateItemSize(t,u){let n=this.layoutNodes.get(t);if(!n)return!1;let r=this.virtualizer.collection,i=n.layoutInfo;if(i.estimatedSize=!1,i.rect.height!==u.height){let a=i.copy();a.rect.height=u.height,n.layoutInfo=a,this.validRect.height=Math.min(this.validRect.height,i.rect.y-this.validRect.y),this.requestedRect.height+=a.rect.height-i.rect.height,this.updateLayoutNode(t,i,a);let l=i.parentKey!=null?r.getItem(i.parentKey):null;for(;l;)this.updateLayoutNode(l.key,i,a),l=l.parentKey!=null?r.getItem(l.parentKey):null;return!0}return!1}updateLayoutNode(t,u,n){let r=this.layoutNodes.get(t);r&&(r.validRect=r.validRect.intersection(this.validRect),r.layoutInfo===u&&(r.layoutInfo=n))}getContentSize(){return this.contentSize}getDropTargetFromPoint(t,u,n){t+=this.virtualizer.visibleRect.x,u+=this.virtualizer.visibleRect.y;let r=new be(t,Math.max(0,u-this.gap),1,Math.max(1,this.gap*2)),i=this.getVisibleLayoutInfos(r),a=null,l=1/0;for(let f of i){if(!f.rect.intersects(r))continue;let p=Math.abs(f.rect.y-u),h=Math.abs(f.rect.maxY-u),m=Math.min(p,h);m<l&&(l=m,a=f.key)}if(a==null||this.virtualizer.collection.size===0)return{type:"root"};let s=this.getLayoutInfo(a);if(!s)return null;let d=s.rect,c={type:"item",key:s.key,dropPosition:"on"};return n(c)?u<=d.y+10&&n({...c,dropPosition:"before"})?c.dropPosition="before":u>=d.maxY-10&&n({...c,dropPosition:"after"})&&(c.dropPosition="after"):u<=d.y+d.height/2&&n({...c,dropPosition:"before"})?c.dropPosition="before":n({...c,dropPosition:"after"})&&(c.dropPosition="after"),c}getDropTargetLayoutInfo(t){let u=this.getLayoutInfo(t.key),n;return t.dropPosition==="before"?n=new be(u.rect.x,u.rect.y-this.dropIndicatorThickness/2,u.rect.width,this.dropIndicatorThickness):t.dropPosition==="after"?n=new be(u.rect.x,u.rect.maxY-this.dropIndicatorThickness/2,u.rect.width,this.dropIndicatorThickness):n=u.rect,new Pu("dropIndicator",t.key+":"+t.dropPosition,n)}constructor(t={}){super();var u;this.rowHeight=(u=t.rowHeight)!==null&&u!==void 0?u:null;var n;this.estimatedRowHeight=(n=t.estimatedRowHeight)!==null&&n!==void 0?n:null;var r;this.headingHeight=(r=t.headingHeight)!==null&&r!==void 0?r:null;var i;this.estimatedHeadingHeight=(i=t.estimatedHeadingHeight)!==null&&i!==void 0?i:null;var a;this.loaderHeight=(a=t.loaderHeight)!==null&&a!==void 0?a:null,this.dropIndicatorThickness=t.dropIndicatorThickness||2,this.gap=t.gap||0,this.padding=t.padding||0,this.layoutNodes=new Map,this.rootNodes=[],this.lastCollection=null,this.invalidateEverything=!1,this.validRect=new be,this.requestedRect=new be,this.contentSize=new dn}}const Gi=o.createContext(null),cn=o.createContext(null),GC=o.forwardRef(function(t,u){[t,u]=X(t,u,Gi);let{children:n,orientation:r="horizontal"}=t;return n=o.useMemo(()=>typeof n=="function"?n({orientation:r,defaultChildren:null}):n,[n,r]),o.createElement(Nu,{content:n},i=>o.createElement(ZC,{props:t,collection:i,tabsRef:u}))});function ZC({props:e,tabsRef:t,collection:u}){let{orientation:n="horizontal"}=e,r=e7({...e,collection:u,children:void 0}),{focusProps:i,isFocused:a,isFocusVisible:l}=me({within:!0}),s=o.useMemo(()=>({orientation:n,isFocusWithin:a,isFocusVisible:l}),[n,a,l]),d=Z({...e,defaultClassName:"react-aria-Tabs",values:s});return o.createElement("div",{...H(e),...i,...d,ref:t,slot:e.slot||void 0,"data-focused":a||void 0,"data-orientation":n,"data-focus-visible":l||void 0,"data-disabled":r.isDisabled||void 0},o.createElement(ce,{values:[[Gi,e],[cn,r]]},d.children))}const qC=o.forwardRef(function(t,u){return o.useContext(cn)?o.createElement(YC,{props:t,forwardedRef:u}):o.createElement(ht,t)});function YC({props:e,forwardedRef:t}){let u=o.useContext(cn),{CollectionRoot:n}=o.useContext(ke),{orientation:r="horizontal",keyboardActivation:i="automatic"}=qe(Gi),a=ge(t),{tabListProps:l}=ox({...e,orientation:r,keyboardActivation:i},u,a),s=Z({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:r,state:u}}),d=H(e);return delete d.id,o.createElement("div",{...d,...l,ref:a,...s,"data-orientation":r||void 0},o.createElement(n,{collection:u.collection,persistedKeys:co(u.selectionManager.focusedKey)}))}const JC=Rt("item",(e,t,u)=>{let n=o.useContext(cn),r=ge(t),{tabProps:i,isSelected:a,isDisabled:l,isPressed:s}=ix({key:u.key,...e},n,r),{focusProps:d,isFocused:c,isFocusVisible:f}=me(),{hoverProps:p,isHovered:h}=De({isDisabled:l,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),m=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:a,isDisabled:l,isFocused:c,isFocusVisible:f,isPressed:s,isHovered:h}}),g=u.props.href?"a":"div";return o.createElement(g,{...V(i,d,p,m),ref:r,"data-selected":a||void 0,"data-disabled":l||void 0,"data-focused":c||void 0,"data-focus-visible":f||void 0,"data-pressed":s||void 0,"data-hovered":h||void 0},m.children)}),XC=ur(function(t,u){const n=o.useContext(cn);let r=ge(u),{tabPanelProps:i}=ax(t,n,r),{focusProps:a,isFocused:l,isFocusVisible:s}=me(),d=n.selectedKey===t.id,c=Z({...t,defaultClassName:"react-aria-TabPanel",values:{isFocused:l,isFocusVisible:s,isInert:!d,state:n}});if(!d&&!t.shouldForceMount)return null;let f=H(t);delete f.id;let p=d?V(f,i,a,c):c;return o.createElement("div",{...p,ref:r,"data-focused":l||void 0,"data-focus-visible":s||void 0,inert:Cl(!d),"data-inert":d?void 0:"true"},o.createElement(ce,{values:[[Gi,null],[cn,null]]},o.createElement(ke.Provider,{value:pr},c.children)))}),QC=o.createContext(null),Ag=o.createContext(null),eE=o.forwardRef(function(t,u){return[t,u]=X(t,u,QC),o.createElement(Nu,{content:t.children},n=>o.createElement(tE,{props:t,forwardedRef:u,collection:n}))});function tE({props:e,forwardedRef:t,collection:u}){let n=o.useRef(null),[r,i]=$t(!e["aria-label"]&&!e["aria-labelledby"]),a=Ni({...e,children:void 0,collection:u}),l=H(e),s=Object.fromEntries(Object.entries(l).map(([m])=>[m,void 0])),{gridProps:d,labelProps:c,descriptionProps:f,errorMessageProps:p}=sx({...e,...s,label:i},a,n);var h;return o.createElement("div",{...l,ref:t,slot:e.slot||void 0,className:(h=e.className)!==null&&h!==void 0?h:"react-aria-TagGroup",style:e.style},o.createElement(ce,{values:[[zt,{...c,elementType:"span",ref:r}],[Ag,{...d,ref:n}],[Nt,a],[Xe,{slots:{description:f,errorMessage:p}}]]},e.children))}const Fg=o.forwardRef(function(t,u){return o.useContext(Nt)?o.createElement(uE,{props:t,forwardedRef:u}):o.createElement(ht,t)});function uE({props:e,forwardedRef:t}){let u=o.useContext(Nt),{CollectionRoot:n}=o.useContext(ke),[r,i]=X(e,t,Ag);delete r.items,delete r.renderEmptyState;let{focusProps:a,isFocused:l,isFocusVisible:s}=me(),d={isEmpty:u.collection.size===0,isFocused:l,isFocusVisible:s,state:u},c=Z({className:e.className,style:e.style,defaultClassName:"react-aria-TagList",values:d}),f=co(u.selectionManager.focusedKey);return o.createElement("div",{...V(r,a),...c,ref:i,"data-empty":u.collection.size===0||void 0,"data-focused":l||void 0,"data-focus-visible":s||void 0},u.collection.size===0&&e.renderEmptyState?e.renderEmptyState(d):o.createElement(n,{collection:u.collection,persistedKeys:f}))}const nE=Rt("item",(e,t,u)=>{let n=o.useContext(Nt),r=ge(t),{focusProps:i,isFocusVisible:a}=me({within:!1}),{rowProps:l,gridCellProps:s,removeButtonProps:d,...c}=cx({item:u},n,r),{hoverProps:f,isHovered:p}=De({isDisabled:!c.allowsSelection,onHoverStart:u.props.onHoverStart,onHoverChange:u.props.onHoverChange,onHoverEnd:u.props.onHoverEnd}),h=Z({...e,id:void 0,children:u.rendered,defaultClassName:"react-aria-Tag",values:{...c,isFocusVisible:a,isHovered:p,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior}});return o.useEffect(()=>{!u.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.")},[u.textValue]),o.createElement("div",{ref:r,...h,...V(H(e),l,i,f),"data-selected":c.isSelected||void 0,"data-disabled":c.isDisabled||void 0,"data-hovered":p||void 0,"data-focused":c.isFocused||void 0,"data-focus-visible":a||void 0,"data-pressed":c.isPressed||void 0,"data-allows-removing":c.allowsRemoving||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},o.createElement("div",{...s,style:{display:"contents"}},o.createElement(ce,{values:[[vt,{slots:{remove:d}}],[ke,pr]]},h.children)))}),rE=o.createContext({}),Tg=o.createContext(null),iE=o.forwardRef(function(t,u){[t,u]=X(t,u,rE);let n=av(t),{groupProps:r}=jy(t,n,u),i=Z({...t,values:{isDisabled:n.isDisabled,state:n},defaultClassName:"react-aria-ToggleButtonGroup"});return o.createElement("div",{...r,...i,ref:u,slot:t.slot||void 0,"data-orientation":t.orientation||"horizontal","data-disabled":t.isDisabled||void 0},o.createElement(Tg.Provider,{value:n},i.children))}),aE=o.createContext({}),lE=o.forwardRef(function(t,u){[t,u]=X(t,u,aE);let n=o.useContext(Tg),r=Yl(n&&t.id!=null?{isSelected:n.selectedKeys.has(t.id),onChange(g){n.setSelected(t.id,g)}}:t),{buttonProps:i,isPressed:a,isSelected:l,isDisabled:s}=n&&t.id!=null?Ly({...t,id:t.id},n,u):u4({...t,id:t.id!=null?String(t.id):void 0},r,u),{focusProps:d,isFocused:c,isFocusVisible:f}=me(t),{hoverProps:p,isHovered:h}=De(t),m=Z({...t,id:void 0,values:{isHovered:h,isPressed:a,isFocused:c,isSelected:r.isSelected,isFocusVisible:f,isDisabled:s,state:r},defaultClassName:"react-aria-ToggleButton"});return o.createElement("button",{...V(i,d,p),...m,ref:u,slot:t.slot||void 0,"data-focused":c||void 0,"data-disabled":s||void 0,"data-pressed":a||void 0,"data-selected":l||void 0,"data-hovered":h||void 0,"data-focus-visible":f||void 0})}),Do=o.createContext(null),Ig=o.createContext(null);function oE(e){let t=S5(e),u=o.useRef(null),{triggerProps:n,tooltipProps:r}=gx(e,t,u);return o.createElement(ce,{values:[[Do,t],[Ig,{...r,triggerRef:u}]]},o.createElement(Q$,{...n,ref:u},e.children))}const sE=o.forwardRef(function({UNSTABLE_portalContainer:t,...u},n){[u,n]=X(u,n,Ig);let r=o.useContext(Do),i=S5(u),a=u.isOpen!=null||u.defaultOpen!=null||!r?i:r,l=Hr(n,a.isOpen)||u.isExiting||!1;return!a.isOpen&&!l?null:o.createElement(wv,{portalContainer:t},o.createElement(dE,{...u,tooltipRef:n,isExiting:l}))});function dE(e){let t=o.useContext(Do),u=o.useRef(null),[n,r]=o.useState(0);J(()=>{u.current&&t.isOpen&&r(u.current.getBoundingClientRect().width)},[t.isOpen,u]);let{overlayProps:i,arrowProps:a,placement:l}=p3({placement:e.placement||"top",targetRef:e.triggerRef,overlayRef:e.tooltipRef,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowSize:n,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,onClose:()=>t.close(!0)}),s=Di(e.tooltipRef,!!l)||e.isEntering||!1,d=Z({...e,defaultClassName:"react-aria-Tooltip",values:{placement:l,isEntering:s,isExiting:e.isExiting,state:t}});e=V(e,i);let{tooltipProps:c}=bx(e,t);return o.createElement("div",{...c,ref:e.tooltipRef,...d,style:{...i.style,...d.style},"data-placement":l??void 0,"data-entering":s||void 0,"data-exiting":e.isExiting||void 0},o.createElement(bo.Provider,{value:{...a,placement:l,ref:u}},d.children))}let Uu=null;function cE(e=!1){if(Uu===null||e){const t=document.createElement("div"),u=t.style;u.width="50px",u.height="50px",u.overflow="scroll",u.direction="rtl";const n=document.createElement("div"),r=n.style;return r.width="100px",r.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?Uu="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Uu="negative":Uu="positive-ascending"),document.body.removeChild(t),Uu}return Uu}function fE(e,t){let{scrollLeft:u}=e;if(t==="rtl"){let{scrollWidth:n,clientWidth:r}=e;switch(cE()){case"negative":u=-u;break;case"positive-descending":u=n-r-u;break}}return u}function pE(e,t){let{contentSize:u,onVisibleRectChange:n,innerStyle:r,onScrollStart:i,onScrollEnd:a,scrollDirection:l="both",...s}=e,d=o.useRef({scrollTop:0,scrollLeft:0,scrollEndTime:0,scrollTimeout:null,width:0,height:0,isScrolling:!1}).current,{direction:c}=de(),[f,p]=o.useState(!1),h=o.useCallback(k=>{k.target===k.currentTarget&&(e.onScroll&&e.onScroll(k),st.flushSync(()=>{let S=k.currentTarget.scrollTop,F=fE(k.currentTarget,c);d.scrollTop=Math.max(0,Math.min(S,u.height-d.height)),d.scrollLeft=Math.max(0,Math.min(F,u.width-d.width)),n(new be(d.scrollLeft,d.scrollTop,d.width,d.height)),d.isScrolling||(d.isScrolling=!0,p(!0),window.dispatchEvent(new Event("tk.disconnect-observer")),i&&i());let T=Date.now();d.scrollEndTime<=T+50&&(d.scrollEndTime=T+300,d.scrollTimeout!=null&&clearTimeout(d.scrollTimeout),d.scrollTimeout=setTimeout(()=>{d.isScrolling=!1,p(!1),d.scrollTimeout=null,window.dispatchEvent(new Event("tk.connect-observer")),a&&a()},300))}))},[e,c,d,u,n,i,a]);at(t,"scroll",h),o.useEffect(()=>()=>{d.scrollTimeout!=null&&clearTimeout(d.scrollTimeout),d.isScrolling&&window.dispatchEvent(new Event("tk.connect-observer"))},[]);let m=o.useRef(!1),g=ee(k=>{let S=t.current;if(!S||m.current)return;m.current=!0;let F=process.env.NODE_ENV==="test"&&!process.env.VIRT_ON,T=Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientWidth"),N=Object.getOwnPropertyNames(window.HTMLElement.prototype).includes("clientHeight"),w=S.clientWidth,y=S.clientHeight,A=F&&!T?1/0:w,I=F&&!N?1/0:y;(d.width!==A||d.height!==I)&&(d.width=A,d.height=I,k(()=>{n(new be(d.scrollLeft,d.scrollTop,A,I))}),(!F&&w!==S.clientWidth||y!==S.clientHeight)&&(d.width=S.clientWidth,d.height=S.clientHeight,k(()=>{n(new be(d.scrollLeft,d.scrollTop,d.width,d.height))}))),m.current=!1}),$=o.useRef(null),[v,C]=o.useState({});J(()=>{if(!m.current&&($.current==null||!u.equals($.current)))if(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u"){C({}),$.current=u;return}else queueMicrotask(()=>g(st.flushSync));$.current=u}),J(()=>{g(k=>k())},[v]);let D=o.useCallback(()=>{g(st.flushSync)},[g]);fu({ref:t,box:"border-box",onResize:D});let x={padding:0,...s.style};return l==="horizontal"?(x.overflowX="auto",x.overflowY="hidden"):l==="vertical"||u.width===d.width?(x.overflowY="auto",x.overflowX="hidden"):x.overflow="auto",r={width:Number.isFinite(u.width)?u.width:void 0,height:Number.isFinite(u.height)?u.height:void 0,pointerEvents:f?"none":"auto",position:"relative",...r},{scrollViewProps:{...s,style:x},contentProps:{role:"presentation",style:r}}}function hE(e){let{layoutInfo:t,virtualizer:u,ref:n}=e,r=t==null?void 0:t.key,i=o.useCallback(()=>{if(r!=null&&n.current){let a=mE(n.current);u.updateItemSize(r,a)}},[u,r,n]);return J(()=>{t!=null&&t.estimatedSize&&i()}),{updateSize:i}}function mE(e){let t=e.style.height;e.style.height="";let u=new dn(e.scrollWidth,e.scrollHeight);return e.style.height=t,u}function Rg(e){let{style:t,className:u,layoutInfo:n,virtualizer:r,parent:i,children:a}=e,{direction:l}=de(),s=o.useRef(null);return hE({layoutInfo:n,virtualizer:r,ref:s}),o.createElement("div",{role:"presentation",ref:s,className:u,style:{...bE(n,l,i),...t}},a)}let ad=new WeakMap;function bE(e,t,u){let n=t==="rtl"?"right":"left",r=ad.get(e);if(r&&r[n]!=null){if(!u)return r;let s=e.rect.y-u.rect.y,d=e.rect.x-u.rect.x;if(r.top===s&&r[n]===d)return r}let i={top:e.rect.y-(u&&!(u.allowOverflow&&e.isSticky)?u.rect.y:0),[n]:e.rect.x-(u&&!(u.allowOverflow&&e.isSticky)?u.rect.x:0),width:e.rect.width,height:e.rect.height};Object.entries(i).forEach(([s,d])=>{Number.isFinite(d)||(i[s]=void 0)});var a;let l={position:e.isSticky?"sticky":"absolute",display:e.isSticky?"inline-block":void 0,overflow:e.allowOverflow?"visible":"hidden",opacity:e.opacity,zIndex:e.zIndex,transform:(a=e.transform)!==null&&a!==void 0?a:void 0,contain:"size layout style",...i};return ad.set(e,l),l}const Kg=o.createContext(null),zg=o.createContext(null);function gE(e){let{children:t,layout:u,layoutOptions:n}=e,r=o.useMemo(()=>typeof u=="function"?new u:u,[u]),i=o.useMemo(()=>({isVirtualized:!0,layoutDelegate:r,dropTargetDelegate:r.getDropTargetFromPoint?r:void 0,CollectionRoot:$E,CollectionBranch:yE}),[r]);return o.createElement(ke.Provider,{value:i},o.createElement(zg.Provider,{value:{layout:r,layoutOptions:n}},t))}function $E({collection:e,persistedKeys:t,scrollRef:u,renderDropIndicator:n}){var r;let{layout:i,layoutOptions:a}=o.useContext(zg),l=(r=i.useLayoutOptions)===null||r===void 0?void 0:r.call(i),s=UC({layout:i,collection:e,renderView:(c,f)=>{var p;return f==null||(p=f.render)===null||p===void 0?void 0:p.call(f,f)},onVisibleRectChange(c){let f=u==null?void 0:u.current;f&&(f.scrollLeft=c.x,f.scrollTop=c.y)},persistedKeys:t,layoutOptions:o.useMemo(()=>a&&l?{...a,...l}:a||l,[a,l])}),{contentProps:d}=pE({onVisibleRectChange:s.setVisibleRect,contentSize:s.contentSize,onScrollStart:s.startScrolling,onScrollEnd:s.endScrolling},u);return o.createElement("div",d,o.createElement(Kg.Provider,{value:s},Mg(null,s.visibleViews,n)))}function yE({parent:e,renderDropIndicator:t}){let n=o.useContext(Kg).virtualizer.getVisibleView(e.key);return Mg(n,Array.from(n.children),t)}function Mg(e,t,u){return t.map(n=>vE(e,n,u))}function vE(e,t,u){let n=o.createElement(Rg,{key:t.key,layoutInfo:t.layoutInfo,virtualizer:t.virtualizer,parent:e==null?void 0:e.layoutInfo},t.rendered),{collection:r,layout:i}=t.virtualizer,{key:a,type:l}=t.content;return l==="item"&&u&&i.getDropTargetLayoutInfo&&(n=o.createElement(o.Fragment,{key:t.key},ld(e,t,"before",u),n,r.getKeyAfter(a)==null&&ld(e,t,"after",u))),n}function ld(e,t,u,n){let r={type:"item",key:t.content.key,dropPosition:u},i=n(r);if(i){let a=t.virtualizer.layout.getDropTargetLayoutInfo(r);i=o.createElement(Rg,{layoutInfo:a,virtualizer:t.virtualizer,parent:e==null?void 0:e.layoutInfo},i)}return i}const DE="accordion",xE=({variant:e="uncontained",children:t,className:u,...n})=>b.jsx(rC,{"data-testid":DE,className:j(He.root,e==="contained"?He.contained:He.uncontained,u),...n,children:t}),CE='"../theme/tokens.css"',EE="_button_1rwlo_4",kE="_secondary_1rwlo_49",BE="_tertiary_1rwlo_72",PE="_iconBtn_1rwlo_93",SE="_danger_1rwlo_114",wE="_iconRight_1rwlo_136",AE="_fullwidth_1rwlo_140",FE="_medium_1rwlo_144",TE="_primary_1rwlo_150",mt={tokens:CE,"--font-family":'"Inter", sans-serif',"--button-background-primary-hover":"light-dark(#25607f, #25607f)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--icon-primary":"light-dark(#171717, #f2f2f2)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--button-background-secondary":"light-dark(#ffffff, #171717)","--font-size-30":"1rem","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-border-secondary":"light-dark(light-dark(#143c50, #2e7ca5), #f2f2f2)","--button-background-secondary-hover":"light-dark(#e6e6e6, #212121)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--white":"#ffffff","--border-disabled":"light-dark(#bfbfbf, #525252)","--button-background-secondary-active":"light-dark(#d9d9d9, #262626)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--text-tertiary":"light-dark(#143c50, #f2f2f2)","--button-background-danger":"light-dark(#e62323, #e62323)","--button-background-danger-hover":"light-dark(#bc1d1d, #bc1d1d)","--text-disabled":"light-dark(#bfbfbf, #525252)","--button-background-danger-active":"light-dark(#7d1313, #7d1313)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--button-background-icon-hover":"light-dark(rgba(0 0 0 / 10%), rgba(255 255 255 / 10%))","--button-background-icon-active":"light-dark(rgba(0 0 0 / 20%), rgba(255 255 255 / 20%))","--size-50":"0.625rem","--size-70":"0.875rem","--size-120":"2rem","--size-130":"2.5rem","--size-150":"3rem",button:EE,secondary:kE,tertiary:BE,iconBtn:PE,danger:SE,iconRight:wE,fullwidth:AE,medium:FE,primary:TE},Ve=({variant:e="primary",fullwidth:t,className:u,iconPlacement:n,size:r="large",icon:i,iconSize:a,...l})=>b.jsx(cr,{className:j(mt.button,e==="primary"&&mt.primary,e==="secondary"&&mt.secondary,e==="tertiary"&&mt.tertiary,e==="danger"&&mt.danger,e==="icon"&&mt.iconBtn,t&&mt.fullwidth,r==="medium"&&mt.medium,n==="right"&&mt.iconRight,u),...l,children:b.jsxs(b.Fragment,{children:[i&&b.jsx(i,{"aria-hidden":!0,size:a??20}),l.children]})}),IE='"../theme/tokens.css"',RE="_buttonGroup_a6wk6_4",KE={tokens:IE,"--breakpoint-sm":"(max-width: 767px)",buttonGroup:RE},zE=({children:e,className:t,"aria-label":u,...n})=>b.jsx("div",{role:"group","aria-label":u,className:j(KE.buttonGroup,t),...n,children:e});/**
25
- * @license lucide-react v0.453.0 - ISC
26
- *
27
- * This source code is licensed under the ISC license.
28
- * See the LICENSE file in the root directory of this source tree.
29
- */const ME=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ng=(...e)=>e.filter((t,u,n)=>!!t&&n.indexOf(t)===u).join(" ");/**
30
- * @license lucide-react v0.453.0 - ISC
31
- *
32
- * This source code is licensed under the ISC license.
33
- * See the LICENSE file in the root directory of this source tree.
34
- */var NE={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
35
- * @license lucide-react v0.453.0 - ISC
36
- *
37
- * This source code is licensed under the ISC license.
38
- * See the LICENSE file in the root directory of this source tree.
39
- */const VE=o.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:u=2,absoluteStrokeWidth:n,className:r="",children:i,iconNode:a,...l},s)=>o.createElement("svg",{ref:s,...NE,width:t,height:t,stroke:e,strokeWidth:n?Number(u)*24/Number(t):u,className:Ng("lucide",r),...l},[...a.map(([d,c])=>o.createElement(d,c)),...Array.isArray(i)?i:[i]]));/**
40
- * @license lucide-react v0.453.0 - ISC
41
- *
42
- * This source code is licensed under the ISC license.
43
- * See the LICENSE file in the root directory of this source tree.
44
- */const $e=(e,t)=>{const u=o.forwardRef(({className:n,...r},i)=>o.createElement(VE,{ref:i,iconNode:t,className:Ng(`lucide-${ME(e)}`,n),...r}));return u.displayName=`${e}`,u};/**
45
- * @license lucide-react v0.453.0 - ISC
46
- *
47
- * This source code is licensed under the ISC license.
48
- * See the LICENSE file in the root directory of this source tree.
49
- */const _E=$e("ArrowDownNarrowWide",[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"M11 4h4",key:"6d7r33"}],["path",{d:"M11 8h7",key:"djye34"}],["path",{d:"M11 12h10",key:"1438ji"}]]);/**
50
- * @license lucide-react v0.453.0 - ISC
51
- *
52
- * This source code is licensed under the ISC license.
53
- * See the LICENSE file in the root directory of this source tree.
54
- */const jE=$e("ArrowDownToLine",[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]]);/**
55
- * @license lucide-react v0.453.0 - ISC
56
- *
57
- * This source code is licensed under the ISC license.
58
- * See the LICENSE file in the root directory of this source tree.
59
- */const Vg=$e("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
60
- * @license lucide-react v0.453.0 - ISC
61
- *
62
- * This source code is licensed under the ISC license.
63
- * See the LICENSE file in the root directory of this source tree.
64
- */const LE=$e("ArrowUpWideNarrow",[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 16h7",key:"uosisv"}],["path",{d:"M11 20h4",key:"1krc32"}]]);/**
65
- * @license lucide-react v0.453.0 - ISC
66
- *
67
- * This source code is licensed under the ISC license.
68
- * See the LICENSE file in the root directory of this source tree.
69
- */const OE=$e("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
70
- * @license lucide-react v0.453.0 - ISC
71
- *
72
- * This source code is licensed under the ISC license.
73
- * See the LICENSE file in the root directory of this source tree.
74
- */const _g=$e("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
75
- * @license lucide-react v0.453.0 - ISC
76
- *
77
- * This source code is licensed under the ISC license.
78
- * See the LICENSE file in the root directory of this source tree.
79
- */const xo=$e("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
80
- * @license lucide-react v0.453.0 - ISC
81
- *
82
- * This source code is licensed under the ISC license.
83
- * See the LICENSE file in the root directory of this source tree.
84
- */const jg=$e("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
85
- * @license lucide-react v0.453.0 - ISC
86
- *
87
- * This source code is licensed under the ISC license.
88
- * See the LICENSE file in the root directory of this source tree.
89
- */const Lg=$e("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
90
- * @license lucide-react v0.453.0 - ISC
91
- *
92
- * This source code is licensed under the ISC license.
93
- * See the LICENSE file in the root directory of this source tree.
94
- */const Og=$e("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
95
- * @license lucide-react v0.453.0 - ISC
96
- *
97
- * This source code is licensed under the ISC license.
98
- * See the LICENSE file in the root directory of this source tree.
99
- */const Hg=$e("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
100
- * @license lucide-react v0.453.0 - ISC
101
- *
102
- * This source code is licensed under the ISC license.
103
- * See the LICENSE file in the root directory of this source tree.
104
- */const HE=$e("EllipsisVertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]]);/**
105
- * @license lucide-react v0.453.0 - ISC
106
- *
107
- * This source code is licensed under the ISC license.
108
- * See the LICENSE file in the root directory of this source tree.
109
- */const UE=$e("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]);/**
110
- * @license lucide-react v0.453.0 - ISC
111
- *
112
- * This source code is licensed under the ISC license.
113
- * See the LICENSE file in the root directory of this source tree.
114
- */const Ug=$e("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
115
- * @license lucide-react v0.453.0 - ISC
116
- *
117
- * This source code is licensed under the ISC license.
118
- * See the LICENSE file in the root directory of this source tree.
119
- */const WE=$e("Laptop",[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]]);/**
120
- * @license lucide-react v0.453.0 - ISC
121
- *
122
- * This source code is licensed under the ISC license.
123
- * See the LICENSE file in the root directory of this source tree.
124
- */const GE=$e("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
125
- * @license lucide-react v0.453.0 - ISC
126
- *
127
- * This source code is licensed under the ISC license.
128
- * See the LICENSE file in the root directory of this source tree.
129
- */const ZE=$e("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
130
- * @license lucide-react v0.453.0 - ISC
131
- *
132
- * This source code is licensed under the ISC license.
133
- * See the LICENSE file in the root directory of this source tree.
134
- */const qE=$e("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
135
- * @license lucide-react v0.453.0 - ISC
136
- *
137
- * This source code is licensed under the ISC license.
138
- * See the LICENSE file in the root directory of this source tree.
139
- */const YE=$e("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
140
- * @license lucide-react v0.453.0 - ISC
141
- *
142
- * This source code is licensed under the ISC license.
143
- * See the LICENSE file in the root directory of this source tree.
144
- */const JE=$e("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]);/**
145
- * @license lucide-react v0.453.0 - ISC
146
- *
147
- * This source code is licensed under the ISC license.
148
- * See the LICENSE file in the root directory of this source tree.
149
- */const XE=$e("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
150
- * @license lucide-react v0.453.0 - ISC
151
- *
152
- * This source code is licensed under the ISC license.
153
- * See the LICENSE file in the root directory of this source tree.
154
- */const Wg=$e("SquareArrowOutUpRight",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]]);/**
155
- * @license lucide-react v0.453.0 - ISC
156
- *
157
- * This source code is licensed under the ISC license.
158
- * See the LICENSE file in the root directory of this source tree.
159
- */const QE=$e("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
160
- * @license lucide-react v0.453.0 - ISC
161
- *
162
- * This source code is licensed under the ISC license.
163
- * See the LICENSE file in the root directory of this source tree.
164
- */const Co=$e("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
165
- * @license lucide-react v0.453.0 - ISC
166
- *
167
- * This source code is licensed under the ISC license.
168
- * See the LICENSE file in the root directory of this source tree.
169
- */const yu=$e("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),e9='"../theme/tokens.css"',t9="_h1_f2fu6_4",u9="_h2_f2fu6_5",n9="_h3_f2fu6_6",r9="_h4_f2fu6_7",i9="_h5_f2fu6_8",a9="_h6_f2fu6_9",Wu={tokens:e9,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--font-size-30":"1rem","--font-size-40":"1.125rem","--font-size-50":"1.25rem","--font-size-90":"2.25rem","--line-height-50":"1.5rem","--line-height-60":"1.75rem","--line-height-70":"2rem",h1:t9,h2:u9,h3:n9,h4:r9,h5:i9,h6:a9},mr=({children:e,className:t,isExpressive:u=!1,level:n=3,elementType:r,...i})=>{const a=r&&parseInt(r.split("h")[1]);return b.jsx(pC,{level:a||n,className:j([Wu.h1,Wu.h2,Wu.h3,Wu.h4,Wu.h5,Wu.h6][n-1],t),...u&&{"data-expressive":!0},...i,children:e})},l9=({title:e,children:t,className:u,headingLevel:n="h2",type:r,hasBackground:i=!0,...a})=>{const l=typeof e=="object",d={success:_g,warning:Co,default:null}[r||"default"],c=d?b.jsx(d,{size:20,className:He.statusIcon}):null;return b.jsxs(lC,{...a,className:j(He.item,r==="success"&&He.success,r==="warning"&&He.warning,u),children:[b.jsx("div",{className:He.trigger,children:b.jsxs(Ve,{className:He.triggerButton,slot:"trigger",variant:"icon",children:[b.jsx(xo,{size:20,className:He.chevronIcon}),b.jsx("div",{className:He.triggerMainContent,children:l?e:b.jsx(mr,{level:3,elementType:n,className:He.triggerText,children:e})}),c]})}),b.jsx(oC,{className:He.panel,children:b.jsx("div",{className:j(He.content,i&&He.hasBackground),children:t})})]})},o9='"../theme/tokens.css"',s9="_badge_1ot1r_4",d9="_hasChildren_1ot1r_13",c9="_badgeContainer_1ot1r_22",cl={tokens:o9,"--font-family":'"Inter", sans-serif',"--signal-red-100":"#e62323","--text-on-color":"light-dark(#ffffff, #ffffff)",badge:s9,hasChildren:d9,badgeContainer:c9},hi=({children:e,className:t,...u})=>{const n=ue.Children.count(e)>0;return b.jsx("span",{className:j(cl.badge,n&&cl.hasChildren,t),...u,children:e})},mi=({children:e,className:t,...u})=>b.jsx("span",{className:j(cl.badgeContainer,t),...u,children:e}),f9='"../theme/tokens.css"',p9="_link_txq8j_4",h9="_icon_txq8j_50",m9="_standalone_txq8j_54",b9="_stretched_txq8j_71",wr={tokens:f9,"--font-family":'"Inter", sans-serif',"--link-enabled":"light-dark(#29698C, #6CA3C0)","--link-hover":"light-dark(#143c50, #94BCD1)","--link-pressed":"light-dark(#171717, #abcbdb)","--link-visited":"light-dark(#954b95, #b46ab4)","--text-disabled":"light-dark(#bfbfbf, #525252)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--z-index-base":"1",link:p9,icon:h9,standalone:m9,stretched:b9},Gg=({children:e,standalone:t,target:u,stretched:n,download:r,icon:i,className:a,as:l,...s})=>{const d=l||sn,c=({...f})=>i?b.jsx(i,{...f}):r?b.jsx(jE,{...f}):u==="_blank"?b.jsx(Wg,{...f}):t?b.jsx(Vg,{...f}):null;return b.jsx(d,{className:j(wr.link,t&&wr.standalone,n&&wr.stretched,a),...s,children:b.jsxs(b.Fragment,{children:[e,b.jsx(c,{size:16,className:wr.icon})]})})},g9='"../theme/tokens.css"',$9="_container_1fsfi_4",y9={tokens:g9,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)",container:$9},v9=({items:e})=>b.jsx(s7,{className:y9.container,children:e.map((t,u)=>b.jsx(d7,{children:b.jsx(Gg,{href:t.href,isDisabled:t.isDisabled,children:t.title})},t.title.toLocaleLowerCase()+u))}),D9='"../theme/tokens.css"',x9="_calendar_103bi_4",C9="_day_103bi_25",E9="_header_103bi_73",k9="_today_103bi_138",Yn={tokens:D9,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-on-color":"light-dark(#ffffff, #ffffff)","--text-disabled":"light-dark(#bfbfbf, #525252)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--border-primary":"light-dark(#171717, #f2f2f2)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)",calendar:x9,day:C9,header:E9,today:k9},Zg=({weekdayStyle:e="short"})=>b.jsx(p7,{weekdayStyle:e,children:t=>b.jsx(v7,{date:t,className:j(Yn.day,Pc(t,Si())&&Yn.today)})}),qg=()=>b.jsxs("header",{className:Yn.header,children:[b.jsx(Ve,{slot:"previous",size:"medium",children:b.jsx(jg,{})}),b.jsx(mr,{level:3,elementType:"h2"}),b.jsx(Ve,{slot:"next",size:"medium",children:b.jsx(Lg,{})})]}),B9='"../theme/tokens.css"',P9="_description_17s3x_24",Ea={tokens:B9,"--text-primary":"light-dark(#171717, #f2f2f2)","--font-family":'"Inter", sans-serif',"--font-size-20":"0.875rem","--font-size-30":"1rem","--line-height-20":"1.125rem","--line-height-30":"1.25rem","--line-height-40":"1.375rem","--line-height-50":"1.5rem","--text-disabled":"light-dark(#bfbfbf, #525252)","body-01":"_body-01_17s3x_4","body-02":"_body-02_17s3x_5",description:P9},od="span",Je=({children:e,className:t,variant:u="body-02",isExpressive:n=!1,elementType:r=od,...i})=>{const a={"body-01":Ea["body-01"],"body-02":Ea["body-02"]},l={className:j(i.slot==="description"?Ea.description:a[u],t),elementType:r||od,...n&&{"data-expressive":!0},...i};return b.jsx(I0,{...l,children:e})},Yg=({className:e,errorMessage:t,...u})=>b.jsxs(c7,{className:j(Yn.calendar,e),...u,children:[b.jsx(qg,{}),b.jsx(Zg,{...u}),t&&b.jsx(Je,{slot:"errorMessage",children:t})]}),Jg=({className:e,errorMessage:t,...u})=>b.jsxs(f7,{className:j(Yn.calendar,e),...u,children:[b.jsx(qg,{}),b.jsx(Zg,{...u}),t&&b.jsx(Je,{slot:"errorMessage",children:t})]}),S9='"../theme/tokens.css"',w9="_card_1hl11_4",A9="_horizontal_1hl11_10",F9="_cardLink_1hl11_15",T9="_cardContent_1hl11_20",I9="_cardActions_1hl11_39",R9="_cardActionArea_1hl11_49",K9="_cardImage_1hl11_82",z9="_cardLinkIcon_1hl11_114",ft={tokens:S9,"--font-family":'"Inter", sans-serif',"--background":"light-dark(#ffffff, #171717)","--border-primary":"light-dark(#171717, #f2f2f2)","--layer-01":"light-dark(#f2f2f2, #262626)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--border-secondary":"light-dark(#737373, #8c8c8c)","--support-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--support-border-success":"light-dark(#008d3c, #008d3c)","--support-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--support-border-warning":"light-dark(#e62323, #e62323)","--button-background-icon-hover":"light-dark(rgba(0 0 0 / 10%), rgba(255 255 255 / 10%))","--button-background-icon-active":"light-dark(rgba(0 0 0 / 20%), rgba(255 255 255 / 20%))","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--z-index-base":"1","--icon-primary":"light-dark(#171717, #f2f2f2)",card:w9,horizontal:A9,cardLink:F9,cardContent:T9,cardActions:I9,cardActionArea:R9,cardImage:K9,cardLinkIcon:z9},br=ue.createContext({horizontal:void 0,titleId:void 0}),M9=({horizontal:e,className:t,children:u,...n})=>{const i=`card-title-${ue.useId()}`;return b.jsx(br.Provider,{value:{horizontal:e,titleId:i},children:b.jsx("div",{...n,className:j(ft.card,e&&ft.horizontal,t),children:u})})},N9=({children:e,...t})=>{const{horizontal:u}=ue.useContext(br);return b.jsx("div",{...t,className:j(ft.cardContent,u&&ft.horizontal),children:e})},V9=({elementType:e="h2",children:t})=>{const{horizontal:u,titleId:n}=ue.useContext(br);return b.jsx(mr,{level:u?5:3,elementType:e,isExpressive:u,className:j(ft.cardTitle,u&&ft.horizontal),id:n,children:t})},_9=({children:e,...t})=>{const{horizontal:u}=ue.useContext(br);return b.jsx("div",{...t,className:j(ft.cardActions,u&&ft.horizontal),children:e})},j9=({children:e,className:t,...u})=>{const{titleId:n}=ue.useContext(br);return b.jsx(cr,{...u,"aria-labelledby":n,className:j(ft.cardActionArea,t),children:e})},L9=({as:e="img",className:t,...u})=>b.jsx(e,{...u,className:j(ft.cardImage,t)}),O9=({children:e,as:t,...u})=>{const n=t||sn;return b.jsxs(n,{...u,className:j(ft.cardLink,u.className),children:[e,b.jsx(Vg,{className:ft.cardLinkIcon,size:24})]})},H9='"../theme/tokens.css"',U9="_characterCounter_4224k_4",W9={tokens:H9,"--font-family":'"Inter", sans-serif',"--line-height-20":"1.125rem","--font-size-20":"0.875rem","--text-warning":"light-dark(#e62323, #eb4e4e)","--text-primary":"light-dark(#171717, #f2f2f2)",characterCounter:U9},Xg=ue.forwardRef((e,t)=>{[e]=X(e,t,mu);const{maxLength:u,value:n,isLonely:r}=e,{length:i}=(n==null?void 0:n.toString())??"",a=u!==void 0;return b.jsx("span",{className:W9.characterCounter,"data-exceeded":a&&i>u||void 0,"data-lonely":r||void 0,children:a?`${i} / ${u}`:i})}),G9='"../theme/tokens.css"',Z9="_wrap_1na4r_4",q9="_checkboxInner_1na4r_11",Y9="_checkbox_1na4r_11",J9="_checkboxGroup_1na4r_127",bi={tokens:G9,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--text-disabled":"light-dark(#bfbfbf, #525252)","--border-primary":"light-dark(#171717, #f2f2f2)","--border-disabled":"light-dark(#bfbfbf, #525252)","--breakpoint-sm":"(max-width: 767px)","--support-border-warning":"light-dark(#e62323, #e62323)","--icon-on-color":"light-dark(#ffffff, #ffffff)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--field-disabled":"light-dark(#f2f2f2, #262626)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--line-height-30":"1.25rem",wrap:Z9,checkboxInner:q9,checkbox:Y9,checkboxGroup:J9},yn=({children:e,...t})=>b.jsx(C7,{className:j(bi.checkbox,t.className),...t,children:({isIndeterminate:u})=>b.jsxs(b.Fragment,{children:[b.jsx("div",{className:bi.checkboxInner,children:b.jsx("svg",{width:16,height:16,viewBox:"0 0 18 18","aria-hidden":"true",children:u?b.jsx("rect",{x:4,y:8,width:10,height:2}):b.jsx("polyline",{points:"3,9 7,13 15,4"})})}),e]})}),X9='"../theme/tokens.css"',Q9="_labelBase_1gdcj_4",e8={tokens:X9,"--text-primary":"light-dark(#171717, #f2f2f2)","--font-family":'"Inter", sans-serif',"--font-size-30":"1rem","--line-height-30":"1.25rem","--text-disabled":"light-dark(#bfbfbf, #525252)",labelBase:Q9},sd="label",pt=({children:e,className:t,elementType:u=sd,...n})=>{const r={className:j(e8.labelBase,t),elementType:u||sd,...n};return b.jsx(yx,{...r,children:e})},t8='"../theme/tokens.css"',u8="_fieldError_17ine_4",n8={tokens:t8,"--text-warning":"light-dark(#e62323, #eb4e4e)","--font-family":'"Inter", sans-serif',fieldError:u8},Oe=ue.forwardRef((e,t)=>{const u=ue.useContext(Dt);return u!=null&&u.isInvalid?b.jsx(Cx,{...e,ref:t,className:j(n8.fieldError,e.className)}):null}),r8=({label:e,description:t,errorMessage:u,showSelectAll:n,children:r,errorPosition:i="top",...a})=>{const[l,s]=o.useState(),d=()=>{const c=o.useContext(fo),f=o.Children.toArray(r).filter(o.isValidElement).map(h=>h.props.value),p=()=>l!=="all"?(s("all"),c==null?void 0:c.setValue(["toggleAll",...f])):(s("none"),c==null?void 0:c.setValue([]));return o.useEffect(()=>{var $,v;const h=f.length,m=f.length+1,g=(($=c==null?void 0:c.value)==null?void 0:$.length)||0;g===0&&s("none"),g>0&&g<h&&s("some"),g!==m&&(c==null||c.removeValue("toggleAll")),g===h&&!((v=c==null?void 0:c.value)!=null&&v.includes("toggleAll"))&&(c==null||c.addValue("toggleAll"),s("all"))},[f.length,c==null?void 0:c.value]),b.jsx(yn,{value:"toggleAll",isSelected:l==="all",isIndeterminate:l==="some",onChange:()=>p(),children:"Välj alla"})};return b.jsxs(x7,{className:bi.checkboxGroup,...a,children:[b.jsx(pt,{children:e}),t&&b.jsx(Je,{slot:"description",children:t}),i==="top"&&b.jsx(Oe,{children:u}),b.jsxs(_i,{className:bi.wrap,children:[n&&b.jsx(d,{}),r]}),i==="bottom"&&b.jsx(Oe,{children:u})]})},i8='"../theme/tokens.css"',a8="_group_syep5_4",l8="_toggleButton_syep5_13",Qg={tokens:i8,"--border-tertiary":"light-dark(#143c50, #2e7ca5)",group:a8,toggleButton:l8},_r=({...e})=>b.jsx(lE,{...e,className:j(mt.button,mt.iconBtn,Qg.toggleButton,e.className)}),e2=({...e})=>b.jsx(iE,{...e,className:j(Qg.group,e.className)}),o8="_button_1dy1i_1",ka={button:o8},s8=({selector:e="body",defaultValue:t=new Set(["light dark"])})=>{const[u,n]=ue.useState(t);return ue.useEffect(()=>{const r=document.querySelector(e);r?r.style.setProperty("color-scheme",Array.from(u).join(" ")):console.warn(`No element found for selector: "${e}"`)},[u,e]),b.jsxs(e2,{selectionMode:"single",selectedKeys:u,onSelectionChange:n,disallowEmptySelection:!0,children:[b.jsxs(_r,{id:"light dark",className:ka.button,children:[b.jsx(WE,{}),b.jsx(gt,{children:"Systeminställning"})]}),b.jsxs(_r,{id:"light",className:ka.button,children:[b.jsx(QE,{}),b.jsx(gt,{children:"Ljust läge"})]}),b.jsxs(_r,{id:"dark",className:ka.button,children:[b.jsx(qE,{}),b.jsx(gt,{children:"Mörkt läge"})]})]})},d8='"../theme/tokens.css"',c8="_combobox_zftmk_4",f8="_inputField_zftmk_9",p8="_medium_zftmk_27",h8="_text_zftmk_62",m8="_wrap_zftmk_67",b8="_button_zftmk_73",g8="_icon_zftmk_105",Eu={tokens:d8,"--icon-disabled":"light-dark(#bfbfbf, #525252)","--text-disabled":"light-dark(#bfbfbf, #525252)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--layer-01":"light-dark(#f2f2f2, #262626)","--border-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--field-disabled":"light-dark(#f2f2f2, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--layer-selected-hover-01":"light-dark(#cccccc, #474747)","--support-border-warning":"light-dark(#e62323, #e62323)","--font-family":'"Inter", sans-serif',"--size-50":"0.625rem","--size-70":"0.875rem","--size-130":"2.5rem","--size-150":"3rem",combobox:c8,inputField:f8,medium:p8,text:h8,wrap:m8,button:b8,icon:g8};class $8 extends WC{getContentSize(){var u;const t=(u=this==null?void 0:this.virtualizer)==null?void 0:u.collection.getKeys();return Array.from(t||[]).forEach(n=>{this.getLayoutInfo(n)}),this.contentSize}}const y8='"../theme/tokens.css"',v8="_listBox_iev2c_7",D8="_listBoxPopover_iev2c_19",x8="_listBoxSectionHeading_iev2c_31",C8="_listBoxButton_iev2c_38",E8="_listBoxItem_iev2c_50",fn={tokens:y8,"--border-primary":"light-dark(#171717, #f2f2f2)","--focus-inset":"inset 0 0 0 2px light-dark(black, white), inset 0 0 0 4px light-dark(white, black)","--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--layer-selected-01":"light-dark(#d9d9d9, #383838)","--layer-selected-hover-01":"light-dark(#cccccc, #474747)","--size-40":"0.5rem","--size-80":"1rem","--size-150":"3rem","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-primary":"light-dark(#171717, #f2f2f2)",listBox:v8,listBoxPopover:D8,listBoxSectionHeading:x8,listBoxButton:C8,listBoxItem:E8},t2=({className:e,children:t,...u})=>b.jsx(gE,{layout:$8,layoutOptions:{headingHeight:44},children:b.jsx(B7,{className:j(fn.listBox,e),...u,children:t})}),k8=({className:e,children:t,...u})=>b.jsx("button",{type:"button",className:j(fn.listBoxItem,fn.listBoxButton,e),...u,children:t}),u2=({children:e,className:t,...u})=>b.jsx(w7,{className:j(fn.listBoxItem,t),...u,children:e}),n2=({className:e,children:t,...u})=>b.jsx(go,{className:j(e,fn.listBoxPopover),offset:0,...u,children:t}),r2=({children:e,name:t,...u})=>b.jsxs(S7,{...u,children:[b.jsx(k7,{className:fn.listBoxSectionHeading,children:t}),e]});function B8({label:e,description:t,errorMessage:u,children:n,items:r,className:i,errorPosition:a="top",size:l="large",...s}){return b.jsxs(W7,{className:j(Eu.combobox,i),...s,children:[e&&b.jsx(pt,{children:e}),t&&b.jsx(Je,{slot:"description",children:t}),a==="top"&&b.jsx(Oe,{"data-testid":"fieldError",children:u}),b.jsxs("div",{className:Eu.wrap,children:[b.jsx(Mi,{className:j(Eu.inputField,{[Eu.medium]:l==="medium"})}),b.jsx(cr,{className:j(Eu.button,{[Eu.medium]:l==="medium"}),"aria-label":"Visa lista",children:b.jsx("div",{className:Eu.icon,"aria-hidden":"true",children:b.jsx(xo,{size:20,"aria-hidden":!0})})})]}),a==="bottom"&&b.jsx(Oe,{"data-testid":"fieldError",children:u}),b.jsx(n2,{children:b.jsx(t2,{items:r,children:n})})]})}function i2(e){return b.jsx(u2,{...e})}function a2(e){return b.jsx(r2,{...e,children:b.jsx(ht,{items:e.children,children:t=>b.jsx(i2,{children:t.name},t.id)})})}function P8(e){return b.jsx(a2,{...e})}const S8='"../theme/tokens.css"',w8="_dateField_1453v_4",A8="_inputField_1453v_11",F8="_medium_1453v_22",Ba={tokens:S8,"--font-family":'"Inter", sans-serif',"--text-placeholder":"light-dark(#a6a6a6, #525252)","--support-border-warning":"light-dark(#e62323, #e62323)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--border-primary":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--text-disabled":"light-dark(#bfbfbf, #525252)","--size-130":"2.5rem","--size-150":"3rem",dateField:w8,inputField:A8,medium:F8},T8=({className:e,description:t,errorMessage:u,errorPosition:n="top",isDisabled:r,label:i,size:a="large",...l})=>b.jsxs(Z7,{...l,className:j(Ba.dateField,e),children:[b.jsx(pt,{children:i}),t&&b.jsx(Je,{slot:"description",children:t}),n==="top"&&b.jsx(Oe,{children:u}),b.jsx("div",{className:j(Ba.inputField,{[Ba.medium]:a==="medium"}),"data-disabled":r||void 0,"data-testid":"date-field_input-field",children:b.jsx(Xn,{children:s=>b.jsx(Jn,{segment:s})})}),n==="bottom"&&b.jsx(Oe,{children:u})]}),I8='"../theme/tokens.css"',R8="_dateSegment_1lvsj_4",K8={tokens:I8,"--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--text-primary":"light-dark(#171717, #f2f2f2)",dateSegment:R8},Jn=({className:e,...t})=>b.jsx(J7,{className:j(K8.dateSegment,e),...t}),z8='"../theme/tokens.css"',M8="_dateInput_bhs3c_4",N8="_divider_bhs3c_24",l2={tokens:z8,"--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--text-primary":"light-dark(#171717, #f2f2f2)",dateInput:M8,divider:N8},Xn=({className:e,...t})=>b.jsx(q7,{className:j(l2.dateInput,e),...t}),o2=()=>b.jsx("span",{"aria-hidden":"true",className:l2.divider,children:"-"}),V8='"../theme/tokens.css"',_8="_datePicker_1ro4s_4",j8="_inputField_1ro4s_11",L8="_medium_1ro4s_23",O8="_calendarButton_1ro4s_50",H8="_dialog_1ro4s_97",Tu={tokens:V8,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--icon-primary":"light-dark(#171717, #f2f2f2)","--border-primary":"light-dark(#171717, #f2f2f2)","--support-border-warning":"light-dark(#e62323, #e62323)","--text-disabled":"light-dark(#bfbfbf, #525252)","--icon-disabled":"light-dark(#bfbfbf, #525252)","--text-placeholder":"light-dark(#a6a6a6, #525252)","--border-disabled":"light-dark(#bfbfbf, #525252)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--layer-01":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--border-tertiary":"light-dark(#143c50, #2e7ca5)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--size-30":"0.375rem","--size-130":"2.5rem","--size-150":"3rem",datePicker:_8,inputField:j8,medium:L8,calendarButton:O8,dialog:H8},s2=({children:e,isDisabled:t,isInvalid:u,size:n="large"})=>b.jsxs(_i,{className:j(Tu.inputField,{[Tu.medium]:n==="medium"}),children:[e,b.jsx(cr,{className:j(Tu.calendarButton,{[Tu.medium]:n==="medium"}),"data-invalid":u||void 0,isDisabled:t,children:b.jsx(OE,{"aria-hidden":!0,size:20})})]}),d2=ue.forwardRef(({children:e},t)=>b.jsx(go,{UNSTABLE_portalContainer:typeof t!="function"&&(t==null?void 0:t.current)||void 0,children:b.jsx(vg,{className:Tu.dialog,children:e})})),U8=({className:e,description:t,errorMessage:u,errorPosition:n="top",label:r,...i})=>{const a=ue.useRef(null);return b.jsxs(uC,{className:j(Tu.datePicker,e),ref:a,...i,children:[b.jsx(pt,{children:r}),t&&b.jsx(Je,{slot:"description",children:t}),n==="top"&&b.jsx(Oe,{children:u}),b.jsx(s2,{...i,children:b.jsx(Xn,{children:l=>b.jsx(Jn,{segment:l})})}),n==="bottom"&&b.jsx(Oe,{children:u}),b.jsx(d2,{ref:a,children:b.jsx(Yg,{})})]})},W8=({className:e,description:t,errorMessage:u,errorPosition:n="top",label:r,...i})=>{const a=ue.useRef(null);return b.jsxs(nC,{className:j(Tu.datePicker,e),ref:a,...i,children:[b.jsx(pt,{children:r}),t&&b.jsx(Je,{slot:"description",children:t}),n==="top"&&b.jsx(Oe,{children:u}),b.jsxs(s2,{...i,children:[b.jsx(Xn,{slot:"start",children:l=>b.jsx(Jn,{segment:l})}),b.jsx(o2,{}),b.jsx(Xn,{slot:"end",children:l=>b.jsx(Jn,{segment:l})})]}),n==="bottom"&&b.jsx(Oe,{children:u}),b.jsx(d2,{ref:a,children:b.jsx(Jg,{})})]})},G8='"../theme/tokens.css"',Z8="_dropDownMenu_1rzf1_4",q8="_menuItem_1rzf1_15",c2={tokens:G8,"--font-family":'"Inter", sans-serif',"--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)",dropDownMenu:Z8,menuItem:q8};function Y8({label:e,title:t,children:u,...n}){return b.jsxs(z7,{...n,children:[b.jsxs(Ve,{"aria-label":e||n["aria-label"],variant:"icon",children:[t,b.jsx(HE,{size:20,"aria-hidden":!0})]}),b.jsx(go,{children:b.jsx(N7,{...n,className:c2.dropDownMenu,children:u})})]})}function J8(e){const t=e.textValue||(typeof e.children=="string"?e.children:void 0);return b.jsx(L7,{...e,textValue:t,className:({isFocused:u,isOpen:n})=>j(c2.menuItem,e.className,u&&"focused",n&&"open"),children:({hasSubmenu:u})=>b.jsxs(b.Fragment,{children:[e.children,u&&b.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:b.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}const X8='"../theme/tokens.css"',Q8="_box_sqne2_4",ek="_list_sqne2_28",tk="_container_sqne2_38",uk="_label_sqne2_49",nk="_text_sqne2_55",rk="_dropzone_sqne2_61",ik="_input_sqne2_75",Xu={tokens:X8,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--background":"light-dark(#ffffff, #171717)","--background-hover":"light-dark(#e6e6e6, #212121)","--border-subtle":"light-dark(#bfbfbf, #383838)","--text-disabled":"light-dark(#bfbfbf, #525252)",box:Q8,list:ek,container:tk,label:uk,text:nk,dropzone:rk,input:ik},ak=({allowsMultiple:e,label:t,description:u,dropzone:n,...r})=>{const[i,a]=ue.useState(null),l=d=>{a(d!==null?Array.from(d):[])},s=async d=>{const c=d.items.filter(p=>p.kind==="file").map(p=>p.getFile()),f=await Promise.all(c);a(f)};return n?b.jsxs("div",{className:Xu.container,children:[b.jsx(cC,{onDrop:s,className:Xu.dropzone,children:b.jsx(Je,{slot:"description",style:{display:"block"},children:"Dra och släpp en fil inuti det streckade området"})}),i&&b.jsx(dd,{files:i,setFiles:a})]}):b.jsxs("div",{className:Xu.container,children:[t&&b.jsx(pt,{children:t}),u&&b.jsx(Je,{slot:"description",children:u}),b.jsx(fC,{allowsMultiple:e,onSelect:d=>l(d),...r,children:b.jsx(Ve,{variant:"secondary","aria-labelledby":"fileUpload",className:Xu.input,children:e?"Välj filer":"Välj fil"})}),i&&b.jsx(dd,{files:i,setFiles:a})]})},dd=({files:e,setFiles:t})=>{const u=n=>{t(e==null?void 0:e.filter((r,i)=>i!==n))};return b.jsx("ul",{className:Xu.list,children:e.map((n,r)=>b.jsxs("li",{className:Xu.box,children:[b.jsx("span",{children:n.name}),b.jsx(Ve,{variant:"icon",size:"medium",onPress:()=>u(r),children:b.jsx(yu,{size:20,"aria-hidden":!0})})]},r))})},lk='"../theme/tokens.css"',ok="_container_17raf_4",sk="_flex_17raf_16",dk="_fluid_17raf_54",ck="_col_17raf_60",ln={tokens:lk,"--breakpoint-md":"(min-width: 768px)","--breakpoint-lg":"(min-width: 1200px)","--breakpoint-xl":"(min-width: 1440px)",container:ok,flex:sk,fluid:dk,col:ck,"col-1":"_col-1_17raf_64","col-2":"_col-2_17raf_65","col-3":"_col-3_17raf_66","col-4":"_col-4_17raf_67","col-5":"_col-5_17raf_68","col-6":"_col-6_17raf_69","col-7":"_col-7_17raf_70","col-8":"_col-8_17raf_71","col-9":"_col-9_17raf_72","col-10":"_col-10_17raf_73","col-11":"_col-11_17raf_74","col-12":"_col-12_17raf_75","col-auto":"_col-auto_17raf_76","offset-1":"_offset-1_17raf_130","offset-2":"_offset-2_17raf_134","offset-3":"_offset-3_17raf_138","offset-4":"_offset-4_17raf_142","offset-5":"_offset-5_17raf_146","offset-6":"_offset-6_17raf_150","offset-7":"_offset-7_17raf_154","offset-8":"_offset-8_17raf_158","offset-9":"_offset-9_17raf_162","offset-10":"_offset-10_17raf_166","offset-11":"_offset-11_17raf_170"},fk=({children:e,fluid:t=!1,...u})=>b.jsx("div",{...u,className:j(ln.container,t&&ln.fluid,u.className),children:b.jsx("div",{className:ln.flex,children:e})}),fl=({children:e,col:t,offset:u,...n})=>{const r=t?`col-${t}`:"",i=u?`offset-${u}`:"";return b.jsx("div",{...n,className:j(ln.col,ln[r],ln[i],n.className),children:e})},pk='"../theme/tokens.css"',hk="_container_162ou_4",mk="_grid_162ou_16",bk="_fluid_162ou_45",gk="_col_162ou_52",Kn={tokens:pk,"--breakpoint-md":"(min-width: 768px)","--breakpoint-lg":"(min-width: 1200px)","--breakpoint-xl":"(min-width: 1440px)",container:hk,grid:mk,fluid:bk,col:gk,"col-1":"_col-1_162ou_58","col-2":"_col-2_162ou_62","col-3":"_col-3_162ou_66","col-4":"_col-4_162ou_70","col-5":"_col-5_162ou_74","col-6":"_col-6_162ou_78","col-7":"_col-7_162ou_82","col-8":"_col-8_162ou_86","col-9":"_col-9_162ou_90","col-10":"_col-10_162ou_94","col-11":"_col-11_162ou_98","col-12":"_col-12_162ou_102","offset-1":"_offset-1_162ou_106","offset-2":"_offset-2_162ou_110","offset-3":"_offset-3_162ou_114","offset-4":"_offset-4_162ou_118","offset-5":"_offset-5_162ou_122","offset-6":"_offset-6_162ou_126","offset-7":"_offset-7_162ou_130","offset-8":"_offset-8_162ou_134","offset-9":"_offset-9_162ou_138","offset-10":"_offset-10_162ou_142","offset-11":"_offset-11_162ou_146"},$k=({children:e,fluid:t=!1,...u})=>b.jsx("div",{...u,className:j(Kn.container,t&&Kn.fluid,u.className),children:b.jsx("div",{className:Kn.grid,children:e})}),yk=({children:e,col:t,...u})=>{const n=t?`col-${t}`:"";return b.jsx("div",{...u,className:j(Kn.col,Kn[n],u.className),children:e})},vk='"../theme/tokens.css"',Dk="_infoBanner_cszz3_4",xk="_success_cszz3_14",Ck="_info_cszz3_4",Ek="_important_cszz3_24",kk="_warning_cszz3_29",Bk="_content_cszz3_38",Pk="_heading_cszz3_44",Sk="_text_cszz3_49",wk="_icon_cszz3_55",Ak="_dismissable_cszz3_60",ku={tokens:vk,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--line-height-40":"1.375rem","--support-border-success":"light-dark(#008d3c, #008d3c)","--support-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--support-border-info":"light-dark(#0066cc, #0066cc)","--support-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--support-border-warning":"light-dark(#e62323, #e62323)","--support-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--support-border-important":"light-dark(#fdb813, #fdb813)","--support-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",infoBanner:Dk,success:xk,info:Ck,important:Ek,warning:kk,content:Bk,heading:Pk,text:Sk,icon:wk,dismissable:Ak},Fk={success:Hg,info:Ug,important:Og,warning:Co},Tk=({title:e,message:t,type:u,children:n,dismissable:r=!1,isDismissable:i=!1,...a})=>{const l=Fk[u],[s,d]=ue.useState(!0);return s?b.jsxs("div",{...a,className:j(ku.infoBanner,ku[u],a.className),children:[b.jsx(l,{size:20,"aria-hidden":!0,className:ku.icon}),b.jsxs("div",{className:ku.content,children:[e&&b.jsx("strong",{className:ku.heading,children:e}),b.jsxs("div",{className:ku.text,children:[t,n]})]}),(r||i)&&b.jsx("div",{className:ku.dismissable,children:b.jsx(Ve,{variant:"icon","aria-label":"Stäng",onPress:()=>d(!1),children:b.jsx(yu,{size:20})})})]}):null},Ik='"../theme/tokens.css"',Rk="_baseLayout_18krr_4",Kk="_mainContent_18krr_13",zk="_header_18krr_18",Mk="_headerExternal_18krr_29",Nk="_headerContent_18krr_44",Vk="_logo_18krr_63",_k="_headerItems_18krr_72",jk="_toggleButton_18krr_78",Lk="_sidebar_18krr_86",Ok="_main_18krr_13",Hk="_app_18krr_123",Uk="_sidebarOpened_18krr_132",Wk="_sidebarHeader_18krr_136",Gk="_appName_18krr_148",Zk="_collapseButton_18krr_155",qk="_sidebarCollapsed_18krr_164",Yk="_userName_18krr_174",Jk="_abbr_18krr_187",Xk="_userTitle_18krr_193",Qk="_title_18krr_205",eB="_sidebarNav_18krr_216",tB="_list_18krr_222",uB="_listGroupTitle_18krr_229",nB="_listItem_18krr_236",rB="_listItemCollapsed_18krr_241",iB="_listLink_18krr_245",aB="_listLinkCollapsed_18krr_290",lB="_active_18krr_295",oB="_linkText_18krr_302",sB="_backdrop_18krr_309",dB="_backdropOpened_18krr_319",cB="_skipToContent_18krr_337",fB="_navbar_18krr_351",pB="_navbarList_18krr_363",hB="_navbarItem_18krr_385",mB="_headerContentExternal_18krr_425",bB="_logoExternalContainer_18krr_433",gB="_logoExternal_18krr_433",$B="_logoExternalDesktop_18krr_445",yB="_navbarWrapper_18krr_454",q={tokens:Ik,"--font-family":'"Inter", sans-serif',"--breakpoint-sm":"(max-width: 767px)","--breakpoint-lg":"(min-width: 1200px)","--background":"light-dark(#ffffff, #171717)","--border-subtle":"light-dark(#bfbfbf, #383838)","--layer-01":"light-dark(#f2f2f2, #262626)","--font-size-10":"0.75rem","--text-primary":"light-dark(#171717, #f2f2f2)","--text-on-color":"light-dark(#ffffff, #ffffff)","--line-height-20":"1.125rem","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--text-secondary":"light-dark(#525252, #a6a6a6)","--icon-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--z-index-base":"1","--z-index-above":"10","--z-index-skip-to-content":"1200","--menu-item-background-hover":"light-dark(#e6e6e6, #212121)","--menu-item-background-selected":"light-dark(#f2f2f2, #262626)","--border-tertiary":"light-dark(#143c50, #2e7ca5)",baseLayout:Rk,mainContent:Kk,header:zk,headerExternal:Mk,headerContent:Nk,logo:Vk,headerItems:_k,toggleButton:jk,sidebar:Lk,main:Ok,app:Hk,sidebarOpened:Uk,sidebarHeader:Wk,appName:Gk,collapseButton:Zk,sidebarCollapsed:qk,userName:Yk,abbr:Jk,userTitle:Xk,title:Qk,sidebarNav:eB,list:tB,listGroupTitle:uB,listItem:nB,listItemCollapsed:rB,listLink:iB,listLinkCollapsed:aB,active:lB,linkText:oB,backdrop:sB,backdropOpened:dB,skipToContent:cB,navbar:fB,navbarList:pB,navbarItem:hB,headerContentExternal:mB,logoExternalContainer:bB,logoExternal:gB,logoExternalDesktop:$B,navbarWrapper:yB},vB='"../theme/tokens.css"',DB="_tooltip_1l8u8_4",xB="_arrow_1l8u8_17",cd={tokens:vB,"--font-family":'"Inter", sans-serif',"--background-inverse":"light-dark(#171717, #f2f2f2)","--text-inverse":"light-dark(#f2f2f2, #171717)",tooltip:DB,arrow:xB};function f2({children:e,className:t,...u}){return b.jsxs(sE,{className:j(cd.tooltip,t),...u,children:[b.jsx(I7,{className:cd.arrow,children:b.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:b.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),e]})}function p2({children:e,delay:t=0,...u}){return b.jsx(oE,{delay:t,...u,children:e})}const h2=ue.createContext(void 0),CB=({items:e,title:t,user:u,app:n,children:r,clientSideRouter:i,clientSideHref:a,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,variant:p})=>b.jsx(h2.Provider,{value:{items:e,title:t,user:u,app:n,headerChildren:l,isCollapsed:s,setIsCollapsed:d,isOpened:c,setIsOpened:f,clientSideRouter:i,clientSideHref:a,variant:p},children:r}),gr=()=>{const e=ue.useContext(h2);if(!e)throw new Error("useLayoutContext must be used within a LayoutProvider");return e},Eo=({title:e,href:t,icon:u,active:n,hasBadge:r})=>{const{isCollapsed:i,setIsOpened:a}=gr(),[l,s]=ue.useState(!1);return ue.useEffect(()=>{typeof window<"u"&&s(n??window.location.pathname===t)},[n,t]),i?b.jsxs(p2,{children:[b.jsx(sn,{href:t,"aria-label":e,className:j(q.listLink,q.listLinkCollapsed,l&&q.active),onPress:()=>a==null?void 0:a(!1),children:b.jsxs(mi,{children:[b.jsx(u,{size:20,"aria-label":e}),r&&b.jsx(hi,{})]})}),b.jsx(f2,{placement:"right",children:e})]}):b.jsxs(sn,{href:t,"aria-label":e,className:j(q.listLink,l&&q.active),onPress:()=>a==null?void 0:a(!1),children:[b.jsxs(mi,{children:[b.jsx(u,{size:20}),r&&b.jsx(hi,{})]}),e]})},m2=()=>{const{items:e,app:t,isOpened:u,isCollapsed:n,setIsCollapsed:r,setIsOpened:i,clientSideRouter:a,clientSideHref:l}=gr(),s=({group:d})=>b.jsx("ul",{className:q.list,children:d.items.map((c,f)=>b.jsx("li",{className:j(q.listItem,n&&q.listItemCollapsed),children:b.jsx(Eo,{...c})},"link_"+f))});return ue.useEffect(()=>{const d=c=>{c.key==="Escape"&&i!==void 0&&i(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[i]),b.jsxs("aside",{id:"midasMainMenu",className:j(q.sidebar,n&&q.sidebarCollapsed,u&&q.sidebarOpened),children:[b.jsxs("div",{className:q.sidebarHeader,children:[!n&&b.jsx("p",{className:q.appName,children:t.name}),b.jsx(Ve,{variant:"icon","aria-label":n?"Maximera sidomenyn":"Minimera sidomenyn",onPress:()=>r(!n),className:q.collapseButton,children:n?b.jsx(JE,{size:20}):b.jsx(YE,{size:20})})]}),b.jsx("nav",{className:q.sidebarNav,"aria-label":"Sidomeny",children:b.jsx("ul",{className:q.list,children:e.map((d,c)=>b.jsxs("li",{children:[d.title&&!n&&b.jsx("p",{className:q.listGroupTitle,children:d.title}),a?b.jsx(vl,{navigate:a,useHref:l,children:b.jsx(s,{group:d})}):b.jsx(s,{group:d})]},"list_"+c))})})]})},EB='"../theme/tokens.css"',kB="_container_1sx1z_4",BB="_noPadding_1sx1z_9",PB="_logo_1sx1z_13",SB="_primary_1sx1z_18",wB="_dark_1sx1z_22",AB="_xSmall_1sx1z_26",FB="_small_1sx1z_30",TB="_large_1sx1z_34",Lt={tokens:EB,"--logo-primary":"light-dark(#b90835, #ffffff)","--background-inverse":"light-dark(#171717, #f2f2f2)",container:kB,noPadding:BB,logo:PB,primary:SB,dark:wB,xSmall:AB,small:FB,large:TB},jr=({primary:e=!0,size:t="medium",padding:u=!0,className:n,...r})=>{const i=j(Lt.logo,e?Lt.primary:Lt.dark,t==="x-small"&&Lt.xSmall,t==="medium"&&Lt.medium,t==="large"&&Lt.large,t==="small"&&Lt.small),a=()=>t==="x-small"?b.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 92",className:i,role:"img","aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:b.jsx("path",{d:"M99.99,91.69c-1.84-1.11-4.05-4.55-4.05-9.46V9.15c0-4.79,1.96-7.25,3.81-8.85h-14.75l-33.91,65.47L12.41.3H0c1.6,1.59,3.93,3.07,3.93,8.23v75.55c0,3.56-2.21,6.51-3.81,7.61h16.34c-1.72-1.22-3.93-4.18-3.93-7.98V25.97l36.24,61.42,33.04-63.26v58.96c0,5.53-2.21,7.61-3.81,8.6h21.99Z"})}):b.jsxs("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 112 40",className:i,"aria-hidden":"false",focusable:"false","aria-label":"Migrationsverkets logotyp",children:[b.jsx("path",{d:"M97.78,21.61c-7.48-9.73-20.06-16.03-34.32-16.03-13.07,0-24.86,5.27-32.46,13.65,6.56-5.83,15.64-9.44,25.66-9.44,11.37,0,21.52,4.56,28.18,11.83h12.94Z"}),b.jsx("path",{d:"M90.45,12.58C70.67-1.51,41.26,2.77,27.49,21.61h-12.23C30.56-2.89,68.29-7.47,90.45,12.58h0Z"}),b.jsx("path",{d:"M11.89,37.13c-.22-.13-.48-.53-.48-1.11v-8.58c0-.56.23-.85.45-1.04h-1.73l-3.98,7.69-4.54-7.69H.15c.19.19.46.36.46.97v8.87c0,.42-.26.76-.45.89h1.92c-.2-.14-.46-.49-.46-.94v-6.78l4.25,7.21,3.88-7.43v6.92c0,.65-.26.89-.45,1.01h2.58Z"}),b.jsx("path",{d:"M15.81,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM16.22,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),b.jsx("path",{d:"M24.52,30.97c-.04-.33-.17-.68-.37-.95h-1.36c-.29-.26-.87-.58-1.96-.58-1.53,0-2.8.92-2.8,2.58,0,1.02.52,1.86,1.31,2.26-.43.37-1.38.98-1.38,1.61,0,.71.79.99,1.38,1.1-.88.26-1.67.82-1.67,1.59,0,1.14,1.73,1.41,2.64,1.41,1.54,0,3.91-.78,3.91-2.64,0-1.21-1.23-1.49-2.22-1.5-2.42-.06-2.51-.2-2.51-.56,0-.2.42-.68.55-.81.23.03.48.06.71.06,1.76,0,2.93-.94,2.93-2.7,0-.48-.14-.91-.29-1.11.12-.04.25-.04.37-.04.27,0,.55.12.76.27h0ZM22.27,32.21c0,.79-.37,1.61-1.36,1.61-1.07,0-1.47-1.21-1.47-2.09,0-.95.5-1.57,1.31-1.57,1.2,0,1.51,1.25,1.51,2.05h0ZM22.89,37.92c0,.76-.82,1.31-1.93,1.31-.59,0-1.7-.3-1.69-1.15,0-.45.26-.74.59-.99l1.96.04c.5.01,1.07.1,1.07.79h0Z",fillRule:"evenodd"}),b.jsx("path",{d:"M30.11,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),b.jsx("path",{d:"M36.87,37.13c-.37-.33-.43-.59-.43-1.25v-3.89c0-2.21-1.43-2.55-2.8-2.55-.61,0-1.67.22-2.03.42-.2.4-.3,1.24-.4,1.67.46-.56,1.27-1.37,2.39-1.37,1.18,0,1.36.82,1.36,1.7v.39l-2.21.76c-1.04.36-1.87,1.08-1.87,2.26,0,1.31.88,2.08,2.15,2.08.87,0,1.46-.43,1.93-.94v.72h1.92ZM34.95,35.62c-.26.32-.74.85-1.37.85-.75,0-1.18-.79-1.18-1.54,0-.71.35-1.15.89-1.37l1.66-.63v2.7h0Z",fillRule:"evenodd"}),b.jsx("path",{d:"M42.58,36.15c-.29.27-.71.46-1.11.46-.87,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"}),b.jsx("path",{d:"M45.63,26.86c0-.45-.36-.81-.81-.81s-.81.36-.81.81.36.81.81.81.81-.36.81-.81h0ZM46.04,37.13c-.3-.23-.45-.5-.45-1.07v-6.4h-1.98c.37.19.49.58.49,1.17v5.23c0,.48-.09.79-.46,1.07h2.39Z",fillRule:"evenodd"}),b.jsx("path",{d:"M54.96,33.37c0-2.06-1.3-3.95-3.5-3.95s-3.84,1.76-3.84,4.01c0,2.06,1.28,3.95,3.49,3.95s3.85-1.76,3.85-4.01h0ZM53.43,34.04c0,1.27-.52,2.57-1.86,2.57-1.79,0-2.42-2.44-2.42-3.86,0-1.21.48-2.57,1.87-2.57,1.79,0,2.41,2.44,2.41,3.86h0Z",fillRule:"evenodd"}),b.jsx("path",{d:"M63.37,37.13c-.27-.22-.45-.42-.45-1.11v-3.94c0-1.63-.39-2.64-2.18-2.64-1.01,0-1.79.56-2.38,1.12v-.91h-1.98c.3.17.49.46.49,1.05v5.33c0,.59-.14.88-.48,1.08h2.39c-.23-.23-.43-.37-.43-1.17v-4.4c.32-.45,1.07-1.24,1.85-1.24,1.01,0,1.23,1.01,1.23,1.8v3.95c0,.74-.26.87-.46,1.05h2.39Z"}),b.jsx("path",{d:"M69.79,35.2c0-2.21-3.42-2.71-3.42-4.07,0-.75.71-.98,1.34-.98s1.33.29,1.74.81l-.07-1.18c-.46-.17-1.11-.35-1.69-.35-1.44,0-2.68.63-2.68,1.89,0,2.36,3.46,2.68,3.46,4.25,0,.79-.62,1.05-1.31,1.05-1.01,0-1.86-.46-2.52-1.21v.1c0,.4-.03.99.3,1.27.53.43,1.53.56,2.18.56,1.36,0,2.67-.62,2.67-2.15h0Z",fillRule:"evenodd"}),b.jsx("path",{d:"M77.98,29.66h-1.43c.13.1.11.56-.19,1.33l-1.86,4.72-1.87-4.7c-.26-.65-.32-1.15-.16-1.34h-2.06c.19.1.49.85.82,1.67l2.31,5.8h1.31l2.35-5.97c.32-.81.56-1.36.78-1.5h0Z"}),b.jsx("path",{d:"M84.91,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM83.34,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),b.jsx("path",{d:"M90.95,31.22l-.23-1.63c-.2-.1-.43-.14-.65-.14-.85,0-1.46.68-1.79,1.37v-1.15h-1.96c.45.27.48.76.48,1.14v5.19c0,.58-.1.89-.45,1.14h2.35c-.36-.29-.42-.63-.42-1.12v-4.27c.22-.58.78-1.04,1.43-1.04.46,0,.97.26,1.24.52h0Z"}),b.jsx("path",{d:"M99.79,37.16c-2.26-.37-2.49-4.04-4.7-4.04l2.62-2.8c.22-.23.5-.48.75-.66h-1.77c.14.14.13.39-.13.66l-2.65,2.83v-7.07h-1.98c.33.2.49.56.49,1.01v9.01c0,.58-.22.81-.46,1.02h2.35c-.26-.25-.4-.49-.4-1.02v-2.57c.27,0,.62.13.82.26,1.28.82,1.95,3.11,2.67,3.45.14.07.94.1,1.14.1.45,0,.84-.03,1.25-.19h0Z"}),b.jsx("path",{d:"M106.3,33.54v-.23c0-1.92-.62-3.88-2.88-3.88s-3.56,2.02-3.56,4.11,1.41,3.81,3.58,3.81c.78,0,1.62-.17,2.13-.45.32-.35.49-.79.59-1.27-.69.5-1.41.84-2.31.84-1.49,0-2.35-1.57-2.38-2.88l4.83-.04h0ZM104.73,32.88c-1.1.09-2.16.1-3.27.1.01-.78.29-2.83,1.7-2.83,1.33,0,1.57,1.72,1.57,2.73h0Z",fillRule:"evenodd"}),b.jsx("path",{d:"M111.85,36.15c-.29.27-.71.46-1.11.46-.86,0-1.07-.98-1.07-1.66v-4.51h.85c.43,0,.94.13,1.33.35l-.17-1.12h-2v-1.76c-.68.95-1.54,1.96-2.58,2.54h1.1v4.43c0,1.43.32,2.47,1.95,2.47.48,0,.98-.1,1.38-.36.14-.25.25-.55.33-.82h0Z"})]});return b.jsx("div",{className:j(Lt.container,u===!1&&Lt.noPadding,n),...r,children:b.jsx(a,{})})},b2=()=>{const{title:e,user:t,app:u,isOpened:n,setIsOpened:r,setIsCollapsed:i,headerChildren:a,variant:l}=gr();return l==="external"?b.jsx("header",{className:j(q.header,q.headerExternal),children:b.jsxs("div",{className:q.headerContentExternal,children:[b.jsxs("div",{className:q.logoExternalContainer,children:[b.jsx(jr,{size:"x-small",padding:!1,className:q.logoExternal}),b.jsx(jr,{size:"small",padding:!1,className:q.logoExternalDesktop}),b.jsxs("div",{children:[b.jsx("p",{className:q.userName,children:t.name}),b.jsx("p",{className:q.userTitle,children:t.title})]})]}),b.jsx("div",{className:q.headerItems,children:a})]})}):b.jsxs("header",{className:q.header,style:{borderTop:`solid 4px ${u.color?u.color:bd.semantic.brandPrimary}`},children:[b.jsxs("div",{className:q.headerContent,children:[b.jsx("div",{className:q.logo,children:b.jsx(jr,{size:"small",padding:!1})}),n!==void 0&&b.jsx(Ve,{variant:"icon",className:q.toggleButton,"aria-label":n?"Stäng meny":"Öppna meny","aria-controls":"midasMainMenu",onPressStart:()=>{i(!1),r==null||r(!0)},children:n?b.jsx(yu,{size:20,"aria-hidden":"true"}):b.jsx(ZE,{size:20,"aria-hidden":"true"})}),b.jsxs("div",{children:[b.jsx("p",{className:q.userName,children:t.name}),b.jsx("p",{className:q.userTitle,children:t.title}),b.jsx("p",{className:q.title,children:e})]})]}),b.jsx("div",{className:q.headerItems,children:a})]})},fd=({id:e="#main:first-of-type"})=>{const t=()=>{const u=document.querySelector(e);u&&(u.tabIndex=-1,u.focus(),setTimeout(()=>u.removeAttribute("tabindex"),1e3))};return b.jsx(Ve,{onPress:t,className:q.skipToContent,children:"Hoppa till huvudinnehåll"})},IB=()=>{const{isOpened:e,setIsOpened:t}=gr();return e?b.jsx("div",{className:j(q.backdrop,q.backdropOpened),onClick:()=>{t==null||t(!1)},"aria-hidden":!0}):null},g2=()=>{var r;const{items:e,clientSideRouter:t,clientSideHref:u}=gr(),n=(r=e.at(0))==null?void 0:r.items;return b.jsx("nav",{className:q.navbar,"aria-label":"Bottenmeny",children:n&&b.jsx("ul",{className:j(q.navbarList),children:t?b.jsx(vl,{navigate:t,useHref:u,children:b.jsx(pd,{items:n})}):b.jsx(pd,{items:n})})})},pd=({items:e})=>b.jsx(b.Fragment,{children:e.map(({href:t,active:u,icon:n,title:r,hasBadge:i},a)=>b.jsx("li",{children:b.jsxs(sn,{href:t,className:j(q.navbarItem),"data-active":u,"aria-current":u&&"page",children:[b.jsxs(mi,{children:[b.jsx(n,{size:20}),i&&b.jsx(hi,{})]}),r]})},a))}),_e=({items:e,title:t,user:u,app:n,children:r,headerChildren:i,clientSideRouter:a,clientSideHref:l,variant:s})=>{const[d,c]=ue.useState(!1),[f,p]=ue.useState(!1);return s==="external"?b.jsx(_e.Provider,{items:e,title:t,user:u,app:n,clientSideRouter:a,clientSideHref:l,headerChildren:i,isCollapsed:d,setIsCollapsed:c,variant:s,children:b.jsxs("div",{className:q.baseLayout,children:[b.jsx(fd,{}),b.jsx(_e.Header,{}),b.jsxs("div",{className:q.mainContent,children:[b.jsx(_e.Sidebar,{}),b.jsx(fl,{children:b.jsx("main",{className:q.main,children:b.jsx("div",{className:q.app,children:r})})}),b.jsx(_e.Backdrop,{})]}),b.jsx("div",{className:q.navbarWrapper,children:b.jsx(_e.Navbar,{})})]})}):b.jsx(_e.Provider,{items:e,title:t,user:u,app:n,clientSideRouter:a,clientSideHref:l,headerChildren:i,isCollapsed:d,setIsCollapsed:c,isOpened:f,setIsOpened:p,variant:s,children:b.jsxs("div",{className:q.baseLayout,children:[b.jsx(fd,{}),b.jsx(_e.Header,{}),b.jsxs("div",{className:q.mainContent,children:[b.jsx(_e.Sidebar,{}),b.jsx(fl,{children:b.jsx("main",{className:q.main,children:b.jsx("div",{className:q.app,children:r})})}),b.jsx(_e.Backdrop,{})]})]})})};_e.Provider=CB;_e.Header=b2;_e.Sidebar=m2;_e.SidebarLink=Eo;_e.Navbar=g2;_e.Backdrop=IB;const RB='"../theme/tokens.css"',KB="_linkButton_8g22p_4",zB="_secondary_8g22p_52",MB="_icon_8g22p_57",NB="_tertiary_8g22p_82",VB="_danger_8g22p_99",_B="_iconBtn_8g22p_116",jB="_iconLeft_8g22p_139",LB="_fullwidth_8g22p_143",OB="_medium_8g22p_147",HB="_button_8g22p_152",Ct={tokens:RB,"--font-family":'"Inter", sans-serif',"--font-size-30":"1rem","--breakpoint-sm":"(max-width: 767px)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-border-secondary":"light-dark(light-dark(#143c50, #2e7ca5), #f2f2f2)","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--button-background-primary-active":"light-dark(#2e7ca5, #143c50)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--text-disabled":"light-dark(#bfbfbf, #525252)","--text-tertiary":"light-dark(#143c50, #f2f2f2)","--border-tertiary":"light-dark(#143c50, #2e7ca5)","--button-background-secondary":"light-dark(#ffffff, #171717)","--button-background-secondary-hover":"light-dark(#e6e6e6, #212121)","--button-background-secondary-active":"light-dark(#d9d9d9, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--button-background-tertiary-hover":"light-dark(#e6e6e6, #212121)","--button-background-tertiary-active":"light-dark(#d9d9d9, #262626)","--button-background-danger":"light-dark(#e62323, #e62323)","--button-background-danger-hover":"light-dark(#bc1d1d, #bc1d1d)","--button-background-danger-active":"light-dark(#7d1313, #7d1313)","--white":"#ffffff","--icon-secondary":"light-dark(#525252, #a6a6a6)","--button-background-icon-hover":"light-dark(rgba(0 0 0 / 10%), rgba(255 255 255 / 10%))","--icon-tertiary":"light-dark(#143c50, #f2f2f2)","--size-50":"0.625rem","--size-70":"0.875rem","--size-80":"1rem",linkButton:KB,secondary:zB,icon:MB,tertiary:NB,danger:VB,iconBtn:_B,iconLeft:jB,fullwidth:LB,medium:OB,button:HB},UB=({children:e,variant:t,fullwidth:u,icon:n,iconPlacement:r,className:i,as:a,size:l="large",...s})=>{const d=a||sn,c=({...f})=>n?b.jsx(n,{...f}):f.target==="_blank"?b.jsx(Wg,{...f}):r==="left"?b.jsx(jg,{...f}):b.jsx(Lg,{...f});return b.jsxs(d,{className:j(Ct.linkButton,t==="primary"&&Ct.primary,t==="secondary"&&Ct.secondary,t==="tertiary"&&Ct.tertiary,t==="danger"&&Ct.danger,t==="icon"&&Ct.iconBtn,l==="medium"&&Ct.medium,u&&Ct.fullwidth,r==="left"&&Ct.iconLeft,i),...s,children:[e,b.jsx(c,{size:20,className:Ct.icon})]})},WB='"../theme/tokens.css"',GB="_modal_1b2lr_4",ZB="_overlay_1b2lr_26",qB="_modalHeader_1b2lr_47",YB="_modalBody_1b2lr_56",Ar={tokens:WB,"--font-family":'"Inter", sans-serif',"--layer-01":"light-dark(#f2f2f2, #262626)","--background":"light-dark(#ffffff, #171717)","--text-primary":"light-dark(#171717, #f2f2f2)","--z-index-modal":"1000","--z-index-above":"10",modal:GB,"modal-zoom":"_modal-zoom_1b2lr_1",overlay:ZB,"modal-fade":"_modal-fade_1b2lr_1",modalHeader:qB,modalBody:YB},JB=({children:e,title:t,...u})=>b.jsx(vg,{...u,children:b.jsx(Eg,{...u,className:Ar.overlay,children:b.jsx(ir,{contain:!0,autoFocus:!0,restoreFocus:!0,children:b.jsxs(mC,{...u,className:Ar.modal,children:[b.jsx("div",{className:Ar.modalHeader,children:b.jsx(Ve,{slot:"close",variant:"tertiary",icon:yu,iconPlacement:"right",children:"Stäng"})}),b.jsxs("div",{className:Ar.modalBody,tabIndex:-1,children:[t&&b.jsx(mr,{level:2,children:t}),e]})]})})})}),XB='"../theme/tokens.css"',QB="_progressBar_1ekuq_4",eP="_indeterminate_1ekuq_1",tP="_label_1ekuq_12",uP="_value_1ekuq_17",nP="_bar_1ekuq_22",rP="_fill_1ekuq_28",Bn={tokens:XB,"--layer-accent-01":"light-dark(#d9d9d9, #383838)","--signal-green-100":"#008d3c",progressBar:QB,indeterminate:eP,label:tP,value:uP,bar:nP,fill:rP},iP=({label:e,labelProps:t,showValueLabel:u=!1,...n})=>b.jsx(vx,{...n,className:j(Bn.progressBar,n.className),children:({percentage:r,valueText:i,isIndeterminate:a})=>b.jsxs(b.Fragment,{children:[e&&b.jsx(pt,{elementType:"span",...t,className:j(t==null?void 0:t.className,Bn.label),children:e}),u&&b.jsx(pt,{elementType:"span",...t,id:"",className:j(t==null?void 0:t.className,Bn.value),children:i}),b.jsx("div",{className:Bn.bar,children:b.jsx("div",{className:Bn.fill,style:{width:`${a?50:r}%`}})})]})}),aP='"../theme/tokens.css"',lP="_radioGroup_dfokf_4",oP="_wrap_dfokf_15",sP="_radio_dfokf_4",pl={tokens:aP,"--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)","--font-size-30":"1rem","--text-primary":"light-dark(#171717, #f2f2f2)","--border-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--fast-transition":"250ms","--border-disabled":"light-dark(#bfbfbf, #525252)","--icon-secondary":"light-dark(#525252, #a6a6a6)","--border-secondary":"light-dark(#737373, #8c8c8c)","--border-subtle":"light-dark(#bfbfbf, #383838)","--breakpoint-sm":"(max-width: 767px)","--field-hover-02":"light-dark(#e6e6e6, #474747)","--support-border-warning":"light-dark(#e62323, #e62323)","--icon-tertiary":"light-dark(#143c50, #f2f2f2)",radioGroup:lP,wrap:oP,radio:sP},dP=({label:e,description:t,errorMessage:u,children:n,className:r,errorPosition:i="top",...a})=>b.jsxs(vC,{...a,className:j(pl.radioGroup,r),children:[e&&b.jsx(pt,{children:e}),t&&b.jsx(Je,{slot:"description",children:t}),i==="top"&&b.jsx(Oe,{"data-testid":"fieldError",children:u}),b.jsx(_i,{className:pl.wrap,children:n}),i==="bottom"&&b.jsx(Oe,{"data-testid":"fieldError",children:u})]}),cP=e=>b.jsx(DC,{className:pl.radio,...e}),fP='"../theme/tokens.css"',pP="_textField_14oyo_4",hP="_bottomError_14oyo_24",mP="_textArea_14oyo_33",bP="_wrap_14oyo_80",gP="_medium_14oyo_85",$P="_input_14oyo_86",yP="_passwordText_14oyo_109",vP="_passwordButton_14oyo_148",Pt={tokens:fP,"--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--border-disabled":"light-dark(#bfbfbf, #525252)","--field-disabled":"light-dark(#f2f2f2, #262626)","--text-primary":"light-dark(#171717, #f2f2f2)","--support-border-warning":"light-dark(#e62323, #e62323)","--border-primary":"light-dark(#171717, #f2f2f2)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--font-family":'"Inter", sans-serif',"--text-disabled":"light-dark(#bfbfbf, #525252)","--z-index-base":"1","--z-index-above":"10","--size-130":"2.5rem","--size-150":"3rem",textField:pP,bottomError:hP,textArea:mP,wrap:bP,medium:gP,input:$P,passwordText:yP,passwordButton:vP},DP='"../theme/tokens.css"',xP="_fieldError_tdg87_4",CP="_container_tdg87_37",EP="_inputContainer_tdg87_48",kP="_medium_tdg87_54",BP="_icon_tdg87_59",PP="_clear_tdg87_68",SP="_input_tdg87_48",Et={tokens:DP,"--font-family":'"Inter", sans-serif',"--text-warning":"light-dark(#e62323, #eb4e4e)","--field-01":"light-dark(#f2f2f2, #262626)","--border-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--support-border-warning":"light-dark(#e62323, #e62323)","--icon-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--size-50":"0.625rem","--size-70":"0.875rem","--size-110":"1.75rem","--size-130":"2.5rem","--size-150":"3rem",fieldError:xP,container:CP,inputContainer:EP,medium:kP,icon:BP,clear:PP,input:SP};function wP(e){return!!(e!=null&&e.length)}const AP=({errorPosition:e="top",size:t="large",...u})=>{const{value:n,setValue:r}=Zx(u),i=ue.useRef(null),{inputProps:a,errorMessageProps:l,isInvalid:s,validationErrors:d,clearButtonProps:c}=WD({...u,label:u.placeholder,validationBehavior:"native"},{value:n,setValue:r},i),f=({target:g})=>r(g.value),p=()=>r(""),h=()=>{var $;if(u.validate&&wP(u.validate(n))||s||!n){($=i.current)==null||$.focus();return}u.onSubmit&&u.onSubmit(n)},m=({key:g})=>{g==="Enter"&&h()};return b.jsxs("div",{children:[s&&e==="top"&&b.jsx("div",{...l,className:Et.fieldError,children:u.errorMessage??d.join(" ")}),b.jsxs("div",{className:Et.container,"data-disabled":a.disabled,children:[b.jsxs("div",{className:j(Et.inputContainer,{[Et.medium]:t==="medium"}),children:[b.jsx(XE,{size:20,className:Et.icon}),b.jsx("input",{...a,...a.disabled&&{"data-disabled":!0},className:j(Pt.input,Et.input,a.className,{[Et.medium]:t==="medium"}),ref:i,onChange:f,value:n,"aria-invalid":s,onKeyDown:m,"aria-label":u.placeholder,"aria-labelledby":""}),n.length>0&&b.jsx(Ve,{variant:"icon",size:"medium",className:j(Et.clear,{[Et.medium]:t==="medium"}),onPress:p,...c,children:b.jsx(yu,{size:20,"aria-hidden":!0})})]}),b.jsx(Ve,{size:t,isDisabled:u.isDisabled,excludeFromTabOrder:!0,onPress:h,type:"button",children:u.buttonText?u.buttonText:"Sök"})]}),s&&e==="bottom"&&b.jsx("div",{...l,className:Et.fieldError,children:u.errorMessage??d.join(" ")})]})},FP='"../theme/tokens.css"',TP="_wrapper_1rlqo_10",IP="_trigger_1rlqo_21",RP="_medium_1rlqo_35",KP="_icon_1rlqo_71",zP="_tagGroup_1rlqo_77",MP="_listBoxItemCheckmark_1rlqo_93",NP="_triggerContainer_1rlqo_98",VP="_selectValueTag_1rlqo_104",_P="_clearButton_1rlqo_120",jP="_truncate_1rlqo_132",LP="_checkboxContainer_1rlqo_169",ot={tokens:FP,"--font-family":'"Inter", sans-serif',"--font-size-30":"1rem","--text-disabled":"light-dark(#bfbfbf, #525252)","--border-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--focus-inset":"inset 0 0 0 2px light-dark(black, white), inset 0 0 0 4px light-dark(white, black)","--layer-01":"light-dark(#f2f2f2, #262626)","--support-border-warning":"light-dark(#e62323, #e62323)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--layer-selected-01":"light-dark(#d9d9d9, #383838)","--layer-selected-hover-01":"light-dark(#cccccc, #474747)","--text-on-color":"light-dark(#ffffff, #ffffff)","--button-background-primary":"light-dark(#143c50, #2e7ca5)","--button-background-primary-hover":"light-dark(#25607f, #25607f)","--field-disabled":"light-dark(#f2f2f2, #262626)","--border-disabled":"light-dark(#bfbfbf, #525252)","--field-01":"light-dark(#f2f2f2, #262626)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--button-background-disabled":"light-dark(#f2f2f2, #262626)","--text-warning":"light-dark(#e62323, #eb4e4e)","--size-40":"0.5rem","--size-70":"0.875rem","--size-130":"2.5rem","--size-150":"3rem",wrapper:TP,trigger:IP,medium:RP,icon:KP,tagGroup:zP,listBoxItemCheckmark:MP,triggerContainer:NP,selectValueTag:VP,clearButton:_P,truncate:jP,checkboxContainer:LP},$2=({item:e})=>b.jsx(u2,{...e.value,textValue:e.textValue,children:({isDisabled:t,isSelected:u,selectionMode:n})=>b.jsxs(b.Fragment,{children:[n==="multiple"?b.jsx("div",{className:ot.checkboxContainer,children:b.jsx(yn,{isDisabled:t,isSelected:u,isReadOnly:!0,excludeFromTabOrder:!0})}):null,e.rendered,u&&n==="single"?b.jsx(_g,{size:20,className:ot.listBoxItemCheckmark}):null]})}),OP=({section:e,state:t})=>b.jsx(r2,{...e.value,children:t.collection.getChildren?b.jsx(ht,{items:t.collection.getChildren(e.key),children:u=>b.jsx($2,{item:u})}):null}),HP=({state:e,...t})=>b.jsx(t2,{...t,...e,escapeKeyBehavior:"none",onSelectionChange:e.setSelectedKeys,items:e.collection,children:u=>u.type==="section"?b.jsx(OP,{state:e,section:u}):b.jsx($2,{item:u})});function UP(e,t,u){const{disallowEmptySelection:n,isDisabled:r}=e,i=pn({usage:"search",sensitivity:"base"}),a=o.useMemo(()=>new mn(t.collection,t.disabledKeys,null,i),[t.collection,t.disabledKeys,i]),{menuTriggerProps:l,menuProps:s}=uo({isDisabled:r,type:"listbox"},t,u),d=$=>{const{selectedKeys:v,selectionMode:C}=t,D=v.values().next().value;if(C==="single")switch($.key){case"ArrowLeft":{$.preventDefault();const x=v.size>0?a.getKeyAbove(D):a.getFirstKey();x&&t.setSelectedKeys([x]);break}case"ArrowRight":{$.preventDefault();const x=v.size>0?a.getKeyBelow(D):a.getFirstKey();x&&t.setSelectedKeys([x]);break}}},{typeSelectProps:c}=np({keyboardDelegate:a,selectionManager:t.selectionManager,onTypeSelect($){t.setSelectedKeys([$])}}),{labelProps:f,fieldProps:p}=gu({...e,labelElementType:"span"});c.onKeyDown=c.onKeyDownCapture,delete c.onKeyDownCapture;const h=H(e,{labelable:!0}),m=V(c,l,p),g=ie();return{labelProps:{...f,onClick:()=>{var $;e.isDisabled||(($=u.current)==null||$.focus(),Md("keyboard"))}},triggerProps:V(h,{...m,onKeyDown:et(m.onKeyDown,d,e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[m["aria-labelledby"],m["aria-label"]&&!m["aria-labelledby"]?m.id:null,g].filter(Boolean).join(" "),onFocus($){t.isFocused||(e.onFocus&&e.onFocus($),t.setFocused(!0))},onBlur($){t.isOpen||(e.onBlur&&e.onBlur($),t.setFocused(!1))}}),valueProps:{id:g},menuProps:{...s,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:$=>{$.currentTarget.contains($.relatedTarget)||(e.onBlur&&e.onBlur($),t.setFocused(!1))},"aria-labelledby":[p["aria-labelledby"],m["aria-label"]&&!p["aria-labelledby"]?m.id:null].filter(Boolean).join(" ")}}}function WP(e){const{collection:t,disabledKeys:u,selectionManager:n,selectionManager:{setSelectedKeys:r,selectedKeys:i,selectionMode:a}}=Ni(e),l=[],s=i.size!==0?Array.from(i).map(d=>{const c=t.getItem(d);return c||l.push(d),c}).filter(Boolean):null;return l.length&&console.warn(`Select: Keys "${l.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:u,selectionManager:n,selectionMode:a,selectedKeys:i,setSelectedKeys:r.bind(n),selectedItems:s}}function GP(e){const[t,u]=o.useState(!1),n=Vi(e),r=e.selectionMode==="single",i=WP({...e,onSelectionChange:c=>{e.onSelectionChange&&e.onSelectionChange(c),r&&n.close()}}),a=Kt({...e,validationBehavior:"native",value:i.selectedKeys}),l=i.collection.size===0,s=!!i.selectedKeys.size,d=o.useCallback(()=>{a.resetValidation(),a.commitValidation()},[a]);return o.useEffect(()=>{r&&s&&d()},[s,r,d]),{...i,...n,close(){n.close(),s&&d()},open(){l||n.open()},toggle(c){l||n.toggle(c)},isFocused:t,setFocused:u,...a}}const ZP='"../theme/tokens.css"',qP="_button_os8ho_4",YP="_success_os8ho_19",JP="_warning_os8ho_20",XP="_info_os8ho_21",QP="_important_os8ho_22",eS="_tag_os8ho_34",tS="_dismissable_os8ho_77",uS="_tagText_os8ho_85",nS="_tagList_os8ho_90",Ot={tokens:ZP,"--font-family":'"Inter", sans-serif',"--field-01":"light-dark(#f2f2f2, #262626)","--text-disabled":"light-dark(#bfbfbf, #525252)","--field-active-01":"light-dark(#d9d9d9, #383838)","--field-hover-01":"light-dark(#e6e6e6, #333333)","--icon-primary":"light-dark(#171717, #f2f2f2)","--support-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--support-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--support-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))","--support-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--button-background-icon-hover":"light-dark(rgba(0 0 0 / 10%), rgba(255 255 255 / 10%))","--button-background-icon-active":"light-dark(rgba(0 0 0 / 20%), rgba(255 255 255 / 20%))","--border-primary":"light-dark(#171717, #f2f2f2)","--support-border-success":"light-dark(#008d3c, #008d3c)","--support-border-info":"light-dark(#0066cc, #0066cc)","--support-border-important":"light-dark(#fdb813, #fdb813)","--support-border-warning":"light-dark(#e62323, #e62323)","--text-primary":"light-dark(#171717, #f2f2f2)","--border-disabled":"light-dark(#bfbfbf, #525252)",button:qP,success:YP,warning:JP,info:XP,important:QP,tag:eS,dismissable:tS,tagText:uS,tagList:nS},y2=({children:e,...t})=>b.jsx(eE,{...t,children:b.jsx(Fg,{className:Ot.tagList,children:e})}),v2=({children:e,dismissable:t,className:u,type:n="default",...r})=>b.jsxs(nE,{className:j(Ot.tag,t&&Ot.dismissable,n==="success"&&Ot.success,n==="info"&&Ot.info,n==="important"&&Ot.important,n==="warning"&&Ot.warning,u),...r,children:[b.jsx("div",{className:Ot.tagText,children:e}),t&&b.jsx(Ve,{variant:"icon",size:"medium",className:Ot.button,slot:"remove",children:b.jsx(yu,{size:20})})]});function D2(e,t={}){const[u,n]=o.useState({width:0,height:0}),r=t.delay===void 0?500:t.delay,i=!!t.includePadding;return o.useEffect(()=>{if(!e)return;const a=new ResizeObserver(rS(([l])=>{const{inlineSize:s,blockSize:d}=i?l.borderBoxSize[0]:l.contentBoxSize[0];n({width:s,height:d})},r));return a.observe(e),()=>{a.disconnect()}},[r,e,i]),u}function rS(e,t){let u;return(n,r)=>{clearTimeout(u),u=setTimeout(()=>{e(n,r)},t)}}function iS({autoComplete:e,name:t,isDisabled:u,isRequired:n,selectRef:r},i,a){const{visuallyHiddenProps:l}=sr();return tr(r,i.selectedKeys,i.setSelectedKeys),or({validationBehavior:"native",focus:()=>{var s;return(s=a.current)==null?void 0:s.focus()}},i,r),{containerProps:{...l,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:e,disabled:u,required:n,name:t,value:Array.from(i.selectedKeys).map(s=>s.toString()),onChange:s=>i.setSelectedKeys(s.target.value),multiple:!0}}}function aS(e){const{state:t,triggerRef:u,name:n,isDisabled:r}=e,i=`${e.label}-hidden`,a=o.useRef(null),{containerProps:l,selectProps:s}=iS({...e,selectRef:a},t,u);return t.collection.size<=300?b.jsx("div",{...l,"data-testid":"hidden-select-container",children:b.jsxs("label",{children:[i,b.jsxs("select",{...s,ref:a,children:[b.jsx("option",{}),[...t.collection.getKeys()].map(d=>{const c=t.collection.getItem(d);return c&&c.type==="item"?b.jsx("option",{value:c.key,children:c.textValue},c.key):null})]})]})}):n?b.jsx("input",{type:"hidden",autoComplete:s.autoComplete,name:n,disabled:r,value:Array.from(t.selectedKeys).map(d=>d.toString())??[""]}):null}const lS=({state:{selectedItems:e},isDisabled:t,parentWidth:u,onClear:n,triggerRef:r,isClearable:i})=>b.jsxs("div",{className:ot.selectValueTag,"data-disabled":t||void 0,children:[b.jsx("span",{className:ot.truncate,style:{maxWidth:u-92},children:e!=null&&e.length&&e.length>1?`${e.length} valda`:e==null?void 0:e[0].textValue}),i&&b.jsx("button",{disabled:t,"aria-label":"Rensa alla",className:ot.clearButton,onClick:()=>{var a;n(),(a=r==null?void 0:r.current)==null||a.focus()},children:b.jsx(yu,{width:20,height:20})})]}),oS=({autoFocus:e,excludeFromTabOrder:t,isDisabled:u,size:n="large",isOpen:r,isInvalid:i,selectionMode:a,state:{selectedItems:l},placeholder:s,children:d,triggerRef:c,...f})=>{const{buttonProps:p}=Fi({autoFocus:e,excludeFromTabOrder:t,isDisabled:u,...f},c),h=a==="multiple";return b.jsxs("div",{className:ot.triggerContainer,"data-disabled":u||void 0,children:[b.jsxs("button",{...p,autoFocus:e,className:j(ot.trigger,{[ot.medium]:n==="medium"}),"data-disabled":u||void 0,"data-invalid":i||void 0,"data-open":r||void 0,ref:c,type:"button",children:[h&&!l?b.jsx("span",{children:s}):null,h?null:b.jsx("span",{children:l?l[0].textValue:s}),b.jsx("div",{className:ot.icon,"aria-hidden":"true",children:b.jsx(xo,{size:20})})]}),d]})},hd=({state:e,errorMessage:t})=>b.jsx(Dt.Provider,{value:{...e.displayValidation},children:b.jsx(Oe,{children:t})}),sS=ue.forwardRef(({isClearable:e=!0,...t},u)=>{const n={selectionMode:"single",errorPosition:"top",disallowEmptySelection:!e,isClearable:e,size:"large",...t},r=ge(u),i=GP(n),{labelProps:a,triggerProps:l,valueProps:s,menuProps:d}=UP(n,i,r),{width:c}=D2(r.current,{includePadding:!0});return b.jsxs(F5,{...n,className:j(ot.wrapper,n.className),children:[b.jsx(aS,{...n,state:i,triggerRef:r}),n.label&&b.jsx(pt,{...a,"data-disabled":n.isDisabled||void 0,children:n.label}),n.description&&b.jsx(Je,{slot:"description",children:n.description}),n.errorPosition==="top"&&b.jsx(hd,{...n,state:i}),b.jsx(oS,{...n,...l,isInvalid:i.displayValidation.isInvalid,triggerRef:r,state:i,children:n.selectionMode==="multiple"&&i.selectedItems?b.jsx("span",{...s,children:b.jsx(lS,{...n,state:i,parentWidth:c,onClear:()=>i.selectionManager.clearSelection(),triggerRef:r})}):null}),n.errorPosition==="bottom"&&b.jsx(hd,{...n,state:i}),b.jsxs(n2,{isOpen:i.isOpen,onOpenChange:f=>{f||i.close()},triggerRef:r,style:{width:c},children:[n.isSelectableAll&&b.jsxs(k8,{onClick:()=>i.selectionManager.toggleSelectAll(),children:[b.jsx("div",{className:ot.checkboxContainer,children:b.jsx(yn,{isSelected:i.selectionManager.isSelectAll,isIndeterminate:!i.selectionManager.isSelectAll&&!i.selectionManager.isEmpty,isReadOnly:!0,excludeFromTabOrder:!0})}),b.jsx("span",{children:"Select All"})]}),b.jsx(HP,{...d,state:i})]}),n.showTags&&!!i.selectedItems&&b.jsx(y2,{"aria-label":"Selected Items",selectionBehavior:"toggle",onRemove:f=>i.selectionManager.toggleSelection(Array.from(f)[0]),className:ot.tagGroup,children:b.jsx(Fg,{items:i.selectedItems,children:f=>b.jsx(v2,{textValue:f.textValue,id:f.key,dismissable:!0,isDisabled:n.isDisabled,children:f.textValue},f.key)})})]})}),x2=ue.forwardRef(({options:e,...t},u)=>b.jsx(sS,{...t,items:e,ref:u,children:n=>n.children?b.jsx(jv,{items:n.children,title:n.name,children:r=>b.jsx(Is,{textValue:r.textValue,children:r.name})},n.name):b.jsx(Is,{textValue:n.textValue,children:n.name})}));x2.displayName="Select";const dS='"../theme/tokens.css"',cS="_skeleton_1fh0h_14",fS="_circle_1fh0h_24",pS="_wave_1fh0h_29",Pa={tokens:dS,"--field-skeleton":"light-dark(#f2f2f2, #262626)","--background-inverse":"light-dark(#171717, #f2f2f2)",skeleton:cS,circle:fS,wave:pS},hS=({variant:e="rectangle",width:t,height:u,isAnimated:n=!0,className:r,style:i,...a})=>(e==="circle"&&u!==void 0&&console.warn("Height is not allowed when using circle, control size with width"),b.jsx("div",{className:j(Pa.skeleton,Pa[e],n&&Pa.wave,r),style:{width:t,height:u,...i},...a})),mS='"../theme/tokens.css"',bS="_container_32v8g_4",gS="_spinner_32v8g_8",$S="_rotating_32v8g_1",yS="_dark_32v8g_18",vS="_vsHidden_32v8g_22",Fr={tokens:mS,"--icon-primary":"light-dark(#171717, #f2f2f2)","--icon-on-color":"light-dark(#ffffff, #ffffff)",container:bS,spinner:gS,rotating:$S,dark:yS,vsHidden:vS},DS=({small:e,isOnColor:t=!1})=>b.jsxs("div",{className:Fr.container,role:"status",children:[b.jsx(GE,{className:j(Fr.spinner,t&&Fr.dark),size:e?16:32,strokeWidth:e?2:3,absoluteStrokeWidth:!0}),b.jsx("span",{className:Fr.vsHidden,children:"Laddar, vänligen vänta."})]}),xS='"../theme/tokens.css"',CS="_cell_17fz1_4",ES="_table_17fz1_11",kS="_narrow_17fz1_15",BS="_striped_17fz1_30",PS="_row_17fz1_30",SS="_tableHeader_17fz1_53",wS="_column_17fz1_58",Iu={tokens:xS,"--font-family":'"Inter", sans-serif',"--layer-accent-01":"light-dark(#d9d9d9, #383838)","--layer-01":"light-dark(#f2f2f2, #262626)","--border-subtle":"light-dark(#bfbfbf, #383838)","--layer-accent-hover-01":"light-dark(#cccccc, #474747)","--layer-hover-01":"light-dark(#e6e6e6, #333333)","--border-primary":"light-dark(#171717, #f2f2f2)","--text-primary":"light-dark(#171717, #f2f2f2)",cell:CS,table:ES,narrow:kS,striped:BS,row:PS,tableHeader:SS,column:wS},AS=({narrow:e,striped:t,className:u,...n})=>{const r=j(Iu.table,e&&Iu.narrow,t&&Iu.striped,u);return b.jsx(kC,{className:r,...n})},FS=({columns:e,children:t})=>{const{selectionBehavior:u,selectionMode:n,allowsDragging:r}=Sg();return b.jsxs(PC,{className:Iu.tableHeader,children:[r&&b.jsx(hl,{}),u==="toggle"&&b.jsx(hl,{width:50,children:n==="multiple"&&b.jsx(yn,{slot:"selection"})}),b.jsx(ht,{items:e,children:t})]})},TS=({id:e,columns:t,children:u,...n})=>{const{selectionBehavior:r,allowsDragging:i}=Sg();return b.jsxs(TC,{id:e,className:j(Iu.row),...n,children:[i&&b.jsx(ml,{children:b.jsx(cr,{slot:"drag",children:b.jsx(UE,{size:20})})}),r==="toggle"&&b.jsx(ml,{children:b.jsx(yn,{slot:"selection"})}),b.jsx(ht,{items:t,children:u})]})},hl=({children:e,...t})=>b.jsx(wC,{className:Iu.column,...t,children:({allowsSorting:u,sortDirection:n})=>b.jsxs(b.Fragment,{children:[e,u&&b.jsx("span",{"aria-hidden":"true",className:"sort-indicator",children:n==="ascending"?b.jsx(LE,{size:20}):b.jsx(_E,{size:20})})]})}),ml=({...e})=>b.jsx(IC,{className:Iu.cell,...e}),IS='"../theme/tokens.css"',RS="_container_sij64_4",KS="_list_sij64_8",zS="_listItem_sij64_14",MS="_panel_sij64_43",Tr={tokens:IS,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--border-subtle":"light-dark(#bfbfbf, #383838)","--border-tertiary":"light-dark(#143c50, #2e7ca5)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--breakpoint-sm":"(max-width: 767px)",container:RS,list:KS,listItem:zS,panel:MS},NS=({tabs:e,label:t,children:u,className:n,...r})=>{const{width:i}=D2(typeof document>"u"?null:document.body,{includePadding:!0}),a=i>=bd.windowSizes.md?"horizontal":"vertical",l=ue.Children.toArray(u);if(l.length!==e.length)return console.error(`The number of children must match the number of tabs. Children: ${l.length} Tabs: ${e.length}`),null;const s=l.reduce((d,c,f)=>{if(ue.isValidElement(c)){const p=e[f];p&&(d[p]=ue.cloneElement(c,{id:p}))}return d},{});return b.jsxs(GC,{orientation:a,className:j(Tr.container,n),...r,children:[b.jsx(qC,{"aria-label":t,className:Tr.list,children:e.map(d=>b.jsx(JC,{id:d,className:Tr.listItem,children:d},d))}),e.map(d=>b.jsx(XC,{id:d,className:Tr.panel,children:s[d]},d))]})},ko=ue.forwardRef((e,t)=>{[e]=X(e,t,A5);const{label:u,description:n,errorMessage:r,showCounter:i,errorPosition:a="top",size:l="large"}=e;return b.jsxs(F5,{...e,className:j(Pt.textField,{[Pt.medium]:l==="medium"}),children:[u&&b.jsx(pt,{children:u}),n&&b.jsx(Je,{slot:"description",children:n}),i&&b.jsx(Xg,{isLonely:!n}),a==="top"&&b.jsx(Oe,{"data-testid":"fieldError",children:r}),b.jsx("div",{className:Pt.wrap,children:e.children}),a==="bottom"&&b.jsx(Oe,{"data-testid":"fieldError",className:Pt.bottomError,children:r})]})}),md=new WeakMap;function VS(e){let t=md.get(e);return t||(t=new uu(e,"sv-SE"),md.set(e,t)),t}function _S(e,t){return VS(e)}function jS(e,t){const{locale:u}=de(),n=_S(e);return o.useMemo(()=>new Tl(u,n),[n,u])}const LS={hide:"Hide",show:"Show"},OS={hide:"Dölj",show:"Visa"},HS={hide:"Ocultar",show:"Mostrar"},US={hide:"Cacher",show:"Afficher"},WS={hide:"Verstecken",show:"Anzeigen"},GS={hide:"隠す",show:"表示"},ZS={hide:"隐藏",show:"显示"},qS={hide:"إخفاء",show:"إظهار"},YS={hide:"Скрыть",show:"Показать"},JS={hide:"Ocultar",show:"Mostrar"},XS={hide:"Nascondi",show:"Mostra"},QS={hide:"숨기기",show:"보여주기"},ew={hide:"छुपाएँ",show:"दिखाएँ"},tw={hide:"Verbergen",show:"Tonen"},uw={hide:"Ukryj",show:"Pokaż"},nw={hide:"Gizle",show:"Göster"},rw={hide:"Ẩn",show:"Hiện"},iw={hide:"ซ่อน",show:"แสดง"},aw={hide:"Sembunyikan",show:"Tampilkan"},lw={hide:"Sembunyikan",show:"Tunjukkan"},ow={en:LS,sv:OS,es:HS,fr:US,de:WS,ja:GS,zh:ZS,ar:qS,ru:YS,pt:JS,it:XS,ko:QS,hi:ew,nl:tw,pl:uw,tr:nw,vi:rw,th:iw,id:aw,ms:lw},sw=({value:e})=>{const[t,u]=ue.useState(!1),n=()=>u(i=>!i),r=jS(ow);return b.jsxs(b.Fragment,{children:[t&&b.jsx(Je,{slot:"description",className:Pt.passwordText,children:e}),b.jsx(Ve,{variant:"tertiary",onPress:n,className:Pt.passwordButton,children:t?r.format("hide"):r.format("show")})]})},C2=ue.forwardRef((e,t)=>([e,t]=X(e,t,mu),b.jsxs("div",{className:Pt.wrap,children:[b.jsx(Mi,{...e,ref:t,className:j(Pt.input,e.className)}),e.type==="password"&&b.jsx(sw,{...e})]}))),dw=ue.forwardRef(({className:e,form:t,list:u,...n},r)=>b.jsx(ko,{...n,children:b.jsx(C2,{className:j(e),form:t,list:u,ref:r})})),cw=ue.forwardRef(({className:e,form:t,rows:u,wrap:n,...r},i)=>b.jsx(ko,{...r,children:b.jsx(o7,{className:j(Pt.textArea,e),form:t,ref:i,rows:u,wrap:n})})),fw='"../theme/tokens.css"',pw="_toastRegion_jgjyx_52",hw="_toast_jgjyx_52",mw="_success_jgjyx_95",bw="_info_jgjyx_103",gw="_important_jgjyx_111",$w="_warning_jgjyx_119",yw="_icon_jgjyx_127",vw="_toastContent_jgjyx_137",Dw="_toastMessage_jgjyx_144",xw="_slideInTop_jgjyx_1",Cw="_slideInEnd_jgjyx_1",Ew="_slideOutTop_jgjyx_1",kw="_slideOutEnd_jgjyx_1",Zu={tokens:fw,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--support-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--support-border-success":"light-dark(#008d3c, #008d3c)","--support-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--support-border-info":"light-dark(#0066cc, #0066cc)","--support-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))","--support-border-important":"light-dark(#fdb813, #fdb813)","--support-border-warning":"light-dark(#e62323, #e62323)","--support-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--breakpoint-md":"(min-width: 768px)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--z-index-toast":"1100",toastRegion:pw,toast:hw,success:mw,info:bw,important:gw,warning:$w,icon:yw,toastContent:vw,toastMessage:Dw,slideInTop:xw,slideInEnd:Cw,slideOutTop:Ew,slideOutEnd:kw},Bw={success:Hg,info:Ug,important:Og,warning:Co},E2={wrapUpdate(e){"startViewTransition"in document?document.startViewTransition(()=>{st.flushSync(e)}):e()},maxVisibleToasts:5};function k2(e={}){const{maxVisibleToasts:t=1,wrapUpdate:u}=e,n=o.useMemo(()=>new P5({maxVisibleToasts:t,wrapUpdate:u}),[t,u]);return B5(n)}const B2=new P5(E2),Pw=e=>{const t=B5(B2);return t.visibleToasts.length>0?st.createPortal(b.jsx(Bo,{...e,state:t}),document.body):null},Sw=({children:e,...t})=>{const u=k2(E2);return b.jsxs(b.Fragment,{children:[typeof e=="function"?e(u):e,u.visibleToasts.length>0&&b.jsx(Bo,{...t,state:u})]})};function Bo({state:e,...t}){const u=o.useRef(null),{regionProps:n}=mx(t,e,u);return b.jsx("div",{...n,ref:u,className:Zu.toastRegion,children:e.visibleToasts.map(r=>b.jsx(P2,{toast:r,state:e},r.key))})}function P2({state:e,...t}){const u=o.useRef(null),{toastProps:n,contentProps:r,titleProps:i,closeButtonProps:a}=px(t,e),l=Bw[t.toast.content.type];return b.jsxs("div",{...n,ref:u,className:j(Zu.toast,Zu[t.toast.content.type]),style:{viewTransitionName:t.toast.key},children:[b.jsxs("div",{...r,className:j(Zu.toastContent,r.className),children:[b.jsx(l,{className:Zu.icon,size:20,"aria-hidden":!0}),b.jsxs("div",{children:[b.jsx("p",{className:Zu.toastMessage,...i,children:t.toast.content.message}),t.toast.content.children]})]}),b.jsx(Ve,{variant:"icon",...a,children:b.jsx(yu,{size:20,"aria-hidden":!0})})]})}exports.Accordion=xE;exports.AccordionItem=l9;exports.Badge=hi;exports.BadgeContainer=mi;exports.Breadcrumbs=v9;exports.Button=Ve;exports.ButtonGroup=zE;exports.Calendar=Yg;exports.Card=M9;exports.CardActionArea=j9;exports.CardActions=_9;exports.CardContent=N9;exports.CardImage=L9;exports.CardLink=O9;exports.CardTitle=V9;exports.Cell=ml;exports.CharacterCounter=Xg;exports.Checkbox=yn;exports.CheckboxGroup=r8;exports.ColorSchemeSwitch=s8;exports.Column=hl;exports.ComboBox=B8;exports.ComboBoxItem=i2;exports.ComboBoxSection=P8;exports.ComboBoxSelection=a2;exports.DateField=T8;exports.DateInput=Xn;exports.DateInputDivider=o2;exports.DatePicker=U8;exports.DateRangePicker=W8;exports.DateSegment=Jn;exports.DialogTrigger=O7;exports.Dropdown=Y8;exports.DropdownItem=J8;exports.FieldError=Oe;exports.FileUpload=ak;exports.Flex=fk;exports.FlexItem=fl;exports.GlobalToastRegion=Pw;exports.Grid=$k;exports.GridItem=yk;exports.Header=b2;exports.Heading=mr;exports.InfoBanner=Tk;exports.Input=C2;exports.Label=pt;exports.Layout=_e;exports.Link=Gg;exports.LinkButton=UB;exports.Logo=jr;exports.Modal=JB;exports.Navbar=g2;exports.ProgressBar=iP;exports.Radio=cP;exports.RadioGroup=dP;exports.RangeCalendar=Jg;exports.RouterProvider=vl;exports.Row=TS;exports.SearchField=AP;exports.Select=x2;exports.Sidebar=m2;exports.SidebarLink=Eo;exports.Skeleton=hS;exports.Spinner=DS;exports.Table=AS;exports.TableBody=FC;exports.TableHeader=FS;exports.Tabs=NS;exports.Tag=v2;exports.TagGroup=y2;exports.Text=Je;exports.TextArea=cw;exports.TextField=dw;exports.TextFieldBase=ko;exports.Toast=P2;exports.ToastProvider=Sw;exports.ToastRegion=Bo;exports.ToggleButton=_r;exports.ToggleButtonGroup=e2;exports.Tooltip=f2;exports.TooltipTrigger=p2;exports.toastQueue=B2;exports.useToastState=k2;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./AccordionItem-BGWiWjxA.cjs"),u=require("./BadgeContainer-I1XA3OCl.cjs"),B=require("./Breadcrumbs-DtjJ1UmU.cjs"),m=require("./Button-BoJl6JGM.cjs"),x=require("./ButtonGroup-DUqW5dzM.cjs"),d=require("./RangeCalendar-BehUaydF.cjs"),e=require("./Card-0G0mj9q5.cjs"),S=require("./CharacterCounter-CHcTDHO-.cjs"),D=require("./Checkbox-DqcPg5hz.cjs"),k=require("./CheckboxGroup-BBrSMuDY.cjs"),I=require("./ColorSchemeSwitch-C-qWuqkU.cjs"),a=require("./ComboBox-CWJUg9Xx.cjs"),G=require("./DateField-DeDhiYnW.cjs"),i=require("./DateInputDivider-ADvOavHw.cjs"),s=require("./DateRangePicker-BsAHhy99.cjs"),l=require("./Dropdown-CJ6My6EI.cjs"),F=require("./FieldError-CKBb2-mp.cjs"),L=require("./FileUpload-CxCOtyB9.cjs"),g=require("./Grid-DVQtOcu9.cjs"),C=require("./GridItem-XgHmZWXY.cjs"),h=require("./Heading-mHhCbGjY.cjs"),R=require("./InfoBanner-C2kTIsrB.cjs"),P=require("./Label-7Ybb99CE.cjs"),t=require("./Layout-1g6bMH62.cjs"),A=require("./Link-B88l_oaE.cjs"),v=require("./LinkButton-CBpGLETx.cjs"),f=require("./Logo-DT2_2O43.cjs"),w=require("./Dialog-BOrYdX50.cjs"),$=require("./Popover-CqNWzPf-.cjs"),H=require("./ProgressBar-Jbg28j2a.cjs"),T=require("./Radio-BwqrdhQE.cjs"),y=require("./SearchField-CxMwDeUM.cjs"),E=require("./Select-2q1iSzAX.cjs"),M=require("./Skeleton-BAwbfKBW.cjs"),U=require("./Spinner-P35rvvsl.cjs"),o=require("./Table-B40CGLT-.cjs"),N=require("./Tabs-DA2qXhzb.cjs"),b=require("./Tag-DPAGmcMK.cjs"),Q=require("./Text-3MNwRMpI.cjs"),n=require("./TextArea-C7JZ_pQd.cjs"),r=require("./Toast-AbDA1BOs.cjs"),q=require("./ToggleButtonGroup-BFDoj0P6.cjs"),p=require("./Tooltip-DeBuBKhS.cjs"),j=require("./usePress-0AjDbW9R.cjs"),O=require("./Dialog-B8GTYbvu.cjs");exports.Accordion=c.Accordion;exports.AccordionItem=c.AccordionItem;exports.Badge=u.Badge;exports.BadgeContainer=u.BadgeContainer;exports.Breadcrumbs=B.Breadcrumbs;exports.Button=m.Button;exports.ButtonGroup=x.ButtonGroup;exports.Calendar=d.Calendar;exports.RangeCalendar=d.RangeCalendar;exports.Card=e.Card;exports.CardActionArea=e.CardActionArea;exports.CardActions=e.CardActions;exports.CardContent=e.CardContent;exports.CardImage=e.CardImage;exports.CardLink=e.CardLink;exports.CardTitle=e.CardTitle;exports.CharacterCounter=S.CharacterCounter;exports.Checkbox=D.Checkbox;exports.CheckboxGroup=k.CheckboxGroup;exports.ColorSchemeSwitch=I.ColorSchemeSwitch;exports.ComboBox=a.ComboBox;exports.ComboBoxItem=a.ComboBoxItem;exports.ComboBoxSection=a.ComboBoxSection;exports.ComboBoxSelection=a.ComboBoxSelection;exports.DateField=G.DateField;exports.DateInput=i.DateInput;exports.DateInputDivider=i.DateInputDivider;exports.DateSegment=i.DateSegment;exports.DatePicker=s.DatePicker;exports.DateRangePicker=s.DateRangePicker;exports.Dropdown=l.Dropdown;exports.DropdownItem=l.DropdownItem;exports.FieldError=F.FieldError;exports.FileUpload=L.FileUpload;exports.Flex=g.Flex;exports.Grid=g.Grid;exports.FlexItem=C.FlexItem;exports.GridItem=C.GridItem;exports.Heading=h.Heading;exports.InfoBanner=R.InfoBanner;exports.Label=P.Label;exports.Header=t.Header;exports.Layout=t.Layout;exports.Navbar=t.Navbar;exports.Sidebar=t.Sidebar;exports.SidebarLink=t.SidebarLink;exports.Link=A.Link;exports.LinkButton=v.LinkButton;exports.Logo=f.Logo;exports.Modal=w.Modal;exports.Popover=$.Popover;exports.ProgressBar=H.ProgressBar;exports.Radio=T.Radio;exports.RadioGroup=T.RadioGroup;exports.SearchField=y.SearchField;exports.Select=E.Select;exports.Skeleton=M.Skeleton;exports.Spinner=U.Spinner;exports.Cell=o.Cell;exports.Column=o.Column;exports.Row=o.Row;exports.Table=o.Table;exports.TableBody=o.$1910c06f0ca9905e$export$76ccd210b9029917;exports.TableHeader=o.TableHeader;exports.Tabs=N.Tabs;exports.Tag=b.Tag;exports.TagGroup=b.TagGroup;exports.Text=Q.Text;exports.Input=n.Input;exports.TextArea=n.TextArea;exports.TextField=n.TextField;exports.TextFieldBase=n.TextFieldBase;exports.GlobalToastRegion=r.GlobalToastRegion;exports.Toast=r.Toast;exports.ToastProvider=r.ToastProvider;exports.ToastRegion=r.ToastRegion;exports.toastQueue=r.toastQueue;exports.useToastState=r.useToastState;exports.ToggleButton=q.ToggleButton;exports.ToggleButtonGroup=q.ToggleButtonGroup;exports.Tooltip=p.Tooltip;exports.TooltipTrigger=p.TooltipTrigger;exports.RouterProvider=j.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;exports.DialogTrigger=O.$de32f1b87079253c$export$2e1e1122cf0cba88;