@optiaxiom/web-components 0.12.3 → 0.12.4

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 (477) hide show
  1. package/dist/ActionsRoot-ijsvWkwt.js +1 -0
  2. package/dist/Alert-izJD_GwZ.js +1 -0
  3. package/dist/AlertDialog-C1mjhjZY.js +1 -0
  4. package/dist/{AlertDialogBody-DXtKX6J-.js → AlertDialogBody-TfTUg8UY.js} +1 -1
  5. package/dist/AlertDialogFooter-o4FnNmaL.js +1 -0
  6. package/dist/AlertDialogHeader-BOZP32uM.js +1 -0
  7. package/dist/AlertDialogTrigger-L8BC07PU.js +1 -0
  8. package/dist/AngleMenuButton-DVreInec.js +1 -0
  9. package/dist/Avatar-V_2pBDZF.js +1 -0
  10. package/dist/AvatarContext-8OdFUu80.js +1 -0
  11. package/dist/AvatarGroup-JytZjSUS.js +1 -0
  12. package/dist/AvatarGroup.css.ts.vanilla-YgV0ZPi4-B8gkD4Zm.js +1 -0
  13. package/dist/Badge-BJyTRmAQ.js +1 -0
  14. package/dist/Box-DjvbKV4C.js +1 -0
  15. package/dist/Button-5JkQ4DAU.js +1 -0
  16. package/dist/ButtonContext-CkiOYmnb.js +1 -0
  17. package/dist/ButtonGroup-DW51JRUL.js +1 -0
  18. package/dist/ButtonRoot-Da_x3vLJ.js +1 -0
  19. package/dist/Calendar-sSyJPzbP.js +1 -0
  20. package/dist/CardContext-CsTAZwV-.js +1 -0
  21. package/dist/Combination-CCqaBQlm.js +41 -0
  22. package/dist/Cover-BO3FRSx-.js +1 -0
  23. package/dist/Cover.css.ts.vanilla-CtGIcZEJ-B0YuuqTJ.js +1 -0
  24. package/dist/{DataTableAction-CRuLRHs_.js → DataTableAction-CCQmazMP.js} +1 -1
  25. package/dist/DataTableContext-DKHkdJYi.js +1 -0
  26. package/dist/{DataTableRowContext-D0dSxfLf.js → DataTableRowContext-iVl1yay0.js} +1 -1
  27. package/dist/DateRangePickerContext-DTL0-oHO.js +1 -0
  28. package/dist/DialogBody-Bro5mqjr.js +1 -0
  29. package/dist/DialogFooter-Fcsr9a4x.js +1 -0
  30. package/dist/{DialogForm-C-9SGYMX.js → DialogForm-DodtynT7.js} +1 -1
  31. package/dist/DialogTrigger-DVxFWw4A.js +1 -0
  32. package/dist/{Disclosure-BXJMU3ro.js → Disclosure-DADW8AkF.js} +1 -1
  33. package/dist/DisclosureContent-BzPLxx7J.js +1 -0
  34. package/dist/DisclosureContext-jE1pE1Gs.js +1 -0
  35. package/dist/DisclosureTrigger-DzSMWKM-.js +1 -0
  36. package/dist/DropdownMenuContext-DbEhE_Ym.js +1 -0
  37. package/dist/DropdownMenuNestedContext-DUI0ixAU.js +1 -0
  38. package/dist/DropdownMenuSubContext-6lyR1XCw.js +1 -0
  39. package/dist/{FieldContext-DrpOPW7k.js → FieldContext-Bz4WePPD.js} +1 -1
  40. package/dist/FieldLabel-DzZeuVus.js +1 -0
  41. package/dist/{FilteredSlot-Dt0f7yi2.js → FilteredSlot-Bv-G8W19.js} +1 -1
  42. package/dist/{Group-DNLUrvCe.js → Group-pGETTBKk.js} +1 -1
  43. package/dist/{Heading-wPX9sNK4.js → Heading-DxWpi9jC.js} +1 -1
  44. package/dist/Icon-DhX_MmZS.js +1 -0
  45. package/dist/IconAngleDown-DbGqybU9.js +1 -0
  46. package/dist/IconAngleLeft-DesD0y66.js +1 -0
  47. package/dist/IconAngleRight-DmgUie1g.js +1 -0
  48. package/dist/{IconCalendar-Bsj6tx7o.js → IconCalendar-B25SPoOJ.js} +1 -1
  49. package/dist/{IconEllipsis-DZ8Qm46l.js → IconEllipsis-yaGh8HJQ.js} +1 -1
  50. package/dist/{IconEllipsisSolid-DDgsVLR7.js → IconEllipsisSolid-iew9jWZI.js} +1 -1
  51. package/dist/{IconMagnifyingGlass-MqxeHlo0.js → IconMagnifyingGlass-DUin8nhw.js} +1 -1
  52. package/dist/{IconOpal-C0isvUHt.js → IconOpal-NsXC-Cue.js} +1 -1
  53. package/dist/{IconTriangleExclamationSolid-BNTuS7sV.js → IconTriangleExclamationSolid-DlZZzMlN.js} +1 -1
  54. package/dist/{IconUpRightFromSquare-wguGnUrj.js → IconUpRightFromSquare-k4IOVvod.js} +1 -1
  55. package/dist/{IconX-BSrkkuzX.js → IconX-BI-2Fp7s.js} +1 -1
  56. package/dist/Input-BuNkWo49.js +1 -0
  57. package/dist/{InputAddon-G3n1ffuu.js → InputAddon-DkpNkNAZ.js} +1 -1
  58. package/dist/InputContext-DzZkJA3c.js +1 -0
  59. package/dist/InputControl-DL1jbT51.js +1 -0
  60. package/dist/InputControl.css.ts.vanilla-Bf8FCCh8-BFktQuDh.js +1 -0
  61. package/dist/InputRoot-BL6p-Ngp.js +1 -0
  62. package/dist/Link-D-ijwHE7.js +1 -0
  63. package/dist/Listbox-Du-8fZN8.js +1 -0
  64. package/dist/{ListboxEmpty-cb4z5XUp.js → ListboxEmpty-D0nRpuHd.js} +1 -1
  65. package/dist/ListboxGroup-C_ASjiQ7.js +1 -0
  66. package/dist/ListboxGroupContext-CrONyPGc.js +1 -0
  67. package/dist/ListboxItem-sNBz21ef.js +1 -0
  68. package/dist/ListboxItemIndicator-BN9i0rsR.js +1 -0
  69. package/dist/{ListboxItemized-BSyhSuxn.js → ListboxItemized-CdY26TkD.js} +1 -1
  70. package/dist/ListboxLabel-RWQ79wyF.js +1 -0
  71. package/dist/{ListboxRadioItem-BVjVy5z8.js → ListboxRadioItem-U6XTlcXi.js} +1 -1
  72. package/dist/ListboxSeparator-C479ZxnC.js +1 -0
  73. package/dist/{Menu-D3Niah4b.js → Menu-BY6Vzv9L.js} +1 -1
  74. package/dist/MenuContent-Dl7Kzw2m.js +1 -0
  75. package/dist/MenuContext-CSbeD-L5.js +1 -0
  76. package/dist/MenuTrigger-B1XjIGTR.js +1 -0
  77. package/dist/ModalLayer-98jydfij.js +1 -0
  78. package/dist/Nav-Jsp9pIqm.js +1 -0
  79. package/dist/NavAccountItem-CzlvWdnn.js +1 -0
  80. package/dist/{NavBody-Cdi3ukZU.js → NavBody-DFLFgMyS.js} +1 -1
  81. package/dist/{NavFooter-BNGKLCQL.js → NavFooter-C7NRUR-y.js} +1 -1
  82. package/dist/{NavGroup-dnH8V98y.js → NavGroup-tfKudufZ.js} +1 -1
  83. package/dist/{NavGroupContent-irdGQ0xC.js → NavGroupContent-CQnftbiR.js} +1 -1
  84. package/dist/{NavGroupContext-BUgQmVNt.js → NavGroupContext-CPq5urgM.js} +1 -1
  85. package/dist/{NavGroupTrigger-C0SCvimp.js → NavGroupTrigger-BDJGZ5Re.js} +1 -1
  86. package/dist/NavHeader-Dl2LvHcD.js +1 -0
  87. package/dist/NavItem-FBCQJdsK.js +1 -0
  88. package/dist/{NavList-CXN44WE9.js → NavList-BQ9N5al3.js} +1 -1
  89. package/dist/NavSeparator-CgtyAiHP.js +1 -0
  90. package/dist/Pagination-CjKeDvfY.js +1 -0
  91. package/dist/{Paper-D3Nz5Qgl.js → Paper-BWDKRpMq.js} +1 -1
  92. package/dist/Popover-DcY23j_I.js +1 -0
  93. package/dist/{PopoverAnchor-B0WsPfHk.js → PopoverAnchor-CzaNwmaK.js} +1 -1
  94. package/dist/PopoverTrigger-CRb0xFo0.js +1 -0
  95. package/dist/Portal-DjP7UyEN.js +1 -0
  96. package/dist/PortalContext-B2WzAZua.js +1 -0
  97. package/dist/RadioGroupContext-D5Yv0-p2.js +1 -0
  98. package/dist/SegmentedControlContext-CM3rtIKX.js +1 -0
  99. package/dist/{Select-BlWRyWU5.js → Select-d594jY-t.js} +1 -1
  100. package/dist/SelectContent-D4LVzkr7.js +1 -0
  101. package/dist/{SelectContext-CbA6LLtJ.js → SelectContext-Ccl1rMH_.js} +1 -1
  102. package/dist/{SelectTrigger-CsPW69PM.js → SelectTrigger-CZnMRG8G.js} +1 -1
  103. package/dist/Separator-BGIvC0dZ.js +1 -0
  104. package/dist/SidebarContext-B-10uriM.js +1 -0
  105. package/dist/Skeleton-ClK4Kx9S.js +1 -0
  106. package/dist/Spinner-CyDpYVNh.js +1 -0
  107. package/dist/SuggestionPopover-BvNon_hd.js +9 -0
  108. package/dist/Table-D7iqlk15.js +1 -0
  109. package/dist/TableAction-Bnla7fxi.js +1 -0
  110. package/dist/TableBody-CWwNLKTp.js +1 -0
  111. package/dist/TableCell-D4nos1wn.js +1 -0
  112. package/dist/TableHeader-BmdMbiwA.js +1 -0
  113. package/dist/TableHeaderCell-CZFAOLly.js +1 -0
  114. package/dist/TableRow-BRq997ia.js +1 -0
  115. package/dist/TableRow.css.ts.vanilla-D7gjYtht-UFSo6k84.js +1 -0
  116. package/dist/Text-XHcZVLu2.js +1 -0
  117. package/dist/{ThemeProvider-CEqqRcRe.js → ThemeProvider-B6d6IIPT.js} +1 -1
  118. package/dist/ToastProvider-Cc72AVCn.js +1 -0
  119. package/dist/ToggleInputLabel-C_k7tVw4.js +1 -0
  120. package/dist/{Tooltip-Cs0mBEcE.js → Tooltip-D87dvxM6.js} +1 -1
  121. package/dist/{TooltipContent-BKqAMjE9.js → TooltipContent-CpAld7T-.js} +1 -1
  122. package/dist/TooltipContext-2nMzBZTg.js +1 -0
  123. package/dist/TooltipProvider-BWX0tJ1R.js +1 -0
  124. package/dist/{TooltipRoot-n30dvcJR.js → TooltipRoot-Czdr2FNn.js} +1 -1
  125. package/dist/TooltipTrigger-C_Vm21Sg.js +1 -0
  126. package/dist/Transition-BnDpvAO8.js +1 -0
  127. package/dist/{TransitionGroup-CnxkSKGy.js → TransitionGroup-D4bHX5Ra.js} +1 -1
  128. package/dist/TransitionGroupContext-C_LL9sGV.js +1 -0
  129. package/dist/{VisuallyHidden-Ky13wjnK.js → VisuallyHidden-DlgiILTL.js} +1 -1
  130. package/dist/assets/files/fira-code-cyrillic-wght-normal.woff2 +0 -0
  131. package/dist/assets/files/fira-code-latin-wght-normal.woff2 +0 -0
  132. package/dist/components/Alert.d.ts +1 -1
  133. package/dist/components/Alert.js +1 -1
  134. package/dist/components/AlertDialog.js +1 -1
  135. package/dist/components/AlertDialogAction.d.ts +3 -3
  136. package/dist/components/AlertDialogAction.js +1 -1
  137. package/dist/components/AlertDialogBody.js +1 -1
  138. package/dist/components/AlertDialogCancel.d.ts +3 -3
  139. package/dist/components/AlertDialogCancel.js +1 -1
  140. package/dist/components/AlertDialogContent.js +1 -1
  141. package/dist/components/AlertDialogFooter.js +1 -1
  142. package/dist/components/AlertDialogHeader.js +1 -1
  143. package/dist/components/AlertDialogTrigger.d.ts +3 -3
  144. package/dist/components/AlertDialogTrigger.js +1 -1
  145. package/dist/components/AngleMenuButton.d.ts +3 -3
  146. package/dist/components/AngleMenuButton.js +1 -1
  147. package/dist/components/AuthProvider.js +1 -1
  148. package/dist/components/Avatar.js +1 -1
  149. package/dist/components/AvatarGroup.js +1 -1
  150. package/dist/components/AxiomProvider.js +1 -1
  151. package/dist/components/Badge.d.ts +1 -1
  152. package/dist/components/Badge.js +1 -1
  153. package/dist/components/Banner.d.ts +1 -1
  154. package/dist/components/Banner.js +1 -1
  155. package/dist/components/Box.d.ts +15 -15
  156. package/dist/components/Box.js +1 -1
  157. package/dist/components/Breadcrumb.js +1 -1
  158. package/dist/components/Button.d.ts +3 -3
  159. package/dist/components/Button.js +1 -1
  160. package/dist/components/ButtonGroup.js +1 -1
  161. package/dist/components/Card.js +1 -1
  162. package/dist/components/CardAction.js +1 -1
  163. package/dist/components/CardCheckbox.d.ts +2 -2
  164. package/dist/components/CardCheckbox.js +1 -1
  165. package/dist/components/CardFooter.js +1 -1
  166. package/dist/components/CardHeader.js +1 -1
  167. package/dist/components/CardImage.js +1 -1
  168. package/dist/components/CardLink.d.ts +1 -1
  169. package/dist/components/CardLink.js +1 -1
  170. package/dist/components/CardPreview.js +1 -1
  171. package/dist/components/Checkbox.d.ts +2 -2
  172. package/dist/components/Checkbox.js +1 -1
  173. package/dist/components/Code.js +1 -1
  174. package/dist/components/Cover.js +1 -1
  175. package/dist/components/DataTable.js +1 -1
  176. package/dist/components/DataTableAction.js +1 -1
  177. package/dist/components/DataTableBody.js +2 -2
  178. package/dist/components/DataTableCheckbox.d.ts +2 -2
  179. package/dist/components/DataTableCheckbox.js +1 -1
  180. package/dist/components/DataTableFooter.js +1 -1
  181. package/dist/components/DataTableLabel.js +1 -1
  182. package/dist/components/DateInput.d.ts +5 -3
  183. package/dist/components/DateInput.js +1 -1
  184. package/dist/components/DateRangePicker.js +1 -1
  185. package/dist/components/DateRangePickerContent.d.ts +10 -10
  186. package/dist/components/DateRangePickerContent.js +1 -1
  187. package/dist/components/DateRangePickerTrigger.d.ts +3 -3
  188. package/dist/components/DateRangePickerTrigger.js +1 -1
  189. package/dist/components/Dialog.js +1 -1
  190. package/dist/components/DialogBody.js +1 -1
  191. package/dist/components/DialogClose.d.ts +3 -3
  192. package/dist/components/DialogClose.js +1 -1
  193. package/dist/components/DialogContent.js +1 -1
  194. package/dist/components/DialogFooter.js +1 -1
  195. package/dist/components/DialogForm.js +1 -1
  196. package/dist/components/DialogHeader.js +1 -1
  197. package/dist/components/DialogTrigger.d.ts +3 -3
  198. package/dist/components/DialogTrigger.js +1 -1
  199. package/dist/components/Disclosure.js +1 -1
  200. package/dist/components/DisclosureContent.js +1 -1
  201. package/dist/components/DisclosureTrigger.js +1 -1
  202. package/dist/components/DropdownMenu.js +1 -1
  203. package/dist/components/DropdownMenuCheckboxItem.d.ts +3 -3
  204. package/dist/components/DropdownMenuCheckboxItem.js +1 -1
  205. package/dist/components/DropdownMenuContent.d.ts +4 -4
  206. package/dist/components/DropdownMenuContent.js +1 -1
  207. package/dist/components/DropdownMenuGroup.js +1 -1
  208. package/dist/components/DropdownMenuItem.d.ts +3 -3
  209. package/dist/components/DropdownMenuItem.js +1 -1
  210. package/dist/components/DropdownMenuLabel.js +1 -1
  211. package/dist/components/DropdownMenuSeparator.js +1 -1
  212. package/dist/components/DropdownMenuSub.js +1 -1
  213. package/dist/components/DropdownMenuSubContent.d.ts +2 -2
  214. package/dist/components/DropdownMenuSubContent.js +1 -1
  215. package/dist/components/DropdownMenuTrigger.d.ts +3 -3
  216. package/dist/components/DropdownMenuTrigger.js +1 -1
  217. package/dist/components/EllipsisMenuButton.d.ts +3 -3
  218. package/dist/components/EllipsisMenuButton.js +1 -1
  219. package/dist/components/Field.js +1 -1
  220. package/dist/components/FieldLabel.js +1 -1
  221. package/dist/components/Flex.js +1 -1
  222. package/dist/components/Grid.js +1 -1
  223. package/dist/components/Group.js +1 -1
  224. package/dist/components/Heading.js +1 -1
  225. package/dist/components/Indicator.d.ts +1 -1
  226. package/dist/components/Indicator.js +1 -1
  227. package/dist/components/Input.d.ts +5 -3
  228. package/dist/components/Input.js +1 -1
  229. package/dist/components/InputAddon.js +1 -1
  230. package/dist/components/InputControl.d.ts +2 -2
  231. package/dist/components/InputControl.js +1 -1
  232. package/dist/components/InputRoot.js +1 -1
  233. package/dist/components/Kbd.js +1 -1
  234. package/dist/components/LabelMenuButton.d.ts +2 -2
  235. package/dist/components/LabelMenuButton.js +1 -1
  236. package/dist/components/Link.js +1 -1
  237. package/dist/components/Listbox.js +1 -1
  238. package/dist/components/ListboxCheckboxItem.d.ts +1 -1
  239. package/dist/components/ListboxCheckboxItem.js +1 -1
  240. package/dist/components/ListboxEmpty.js +1 -1
  241. package/dist/components/ListboxGroup.js +1 -1
  242. package/dist/components/ListboxItem.d.ts +2 -2
  243. package/dist/components/ListboxItem.js +1 -1
  244. package/dist/components/ListboxItemIndicator.js +1 -1
  245. package/dist/components/ListboxItemized.js +1 -1
  246. package/dist/components/ListboxLabel.js +1 -1
  247. package/dist/components/ListboxRadioItem.d.ts +1 -1
  248. package/dist/components/ListboxRadioItem.js +1 -1
  249. package/dist/components/ListboxSeparator.js +1 -1
  250. package/dist/components/ListboxSwitchItem.d.ts +1 -1
  251. package/dist/components/ListboxSwitchItem.js +1 -1
  252. package/dist/components/Menu.d.ts +1 -1
  253. package/dist/components/Menu.js +1 -1
  254. package/dist/components/MenuContent.d.ts +8 -8
  255. package/dist/components/MenuContent.js +1 -1
  256. package/dist/components/MenuTrigger.d.ts +3 -3
  257. package/dist/components/MenuTrigger.js +1 -1
  258. package/dist/components/ModalLayer.js +1 -1
  259. package/dist/components/Nav.js +1 -1
  260. package/dist/components/NavAccountItem.js +1 -1
  261. package/dist/components/NavBody.js +1 -1
  262. package/dist/components/NavFooter.js +1 -1
  263. package/dist/components/NavGroup.js +1 -1
  264. package/dist/components/NavGroupContent.js +1 -1
  265. package/dist/components/NavGroupTrigger.js +1 -1
  266. package/dist/components/NavHeader.js +1 -1
  267. package/dist/components/NavItem.js +1 -1
  268. package/dist/components/NavList.js +1 -1
  269. package/dist/components/NavSeparator.js +1 -1
  270. package/dist/components/Pagination.js +1 -1
  271. package/dist/components/Paper.js +1 -1
  272. package/dist/components/Popover.js +1 -1
  273. package/dist/components/PopoverAnchor.js +1 -1
  274. package/dist/components/PopoverContent.d.ts +8 -8
  275. package/dist/components/PopoverContent.js +1 -1
  276. package/dist/components/PopoverTrigger.d.ts +3 -3
  277. package/dist/components/PopoverTrigger.js +1 -1
  278. package/dist/components/Progress.d.ts +1 -1
  279. package/dist/components/Progress.js +3 -3
  280. package/dist/components/Radio.d.ts +2 -2
  281. package/dist/components/Radio.js +1 -1
  282. package/dist/components/RadioGroup.js +1 -1
  283. package/dist/components/SearchInput.d.ts +7 -5
  284. package/dist/components/SearchInput.js +1 -1
  285. package/dist/components/SegmentedControl.d.ts +4 -4
  286. package/dist/components/SegmentedControl.js +1 -1
  287. package/dist/components/SegmentedControlItem.d.ts +3 -3
  288. package/dist/components/SegmentedControlItem.js +1 -1
  289. package/dist/components/Select.js +1 -1
  290. package/dist/components/SelectContent.d.ts +2 -2
  291. package/dist/components/SelectContent.js +1 -1
  292. package/dist/components/SelectTrigger.d.ts +3 -3
  293. package/dist/components/SelectTrigger.js +1 -1
  294. package/dist/components/Separator.js +1 -1
  295. package/dist/components/Sidebar.js +1 -1
  296. package/dist/components/SidebarToggle.js +1 -1
  297. package/dist/components/Skeleton.js +1 -1
  298. package/dist/components/Spinner.js +1 -1
  299. package/dist/components/SubNav.js +1 -1
  300. package/dist/components/Switch.d.ts +2 -2
  301. package/dist/components/Switch.js +1 -1
  302. package/dist/components/Table.d.ts +1 -1
  303. package/dist/components/Table.js +1 -1
  304. package/dist/components/TableAction.js +1 -1
  305. package/dist/components/TableBody.js +1 -1
  306. package/dist/components/TableCell.js +1 -1
  307. package/dist/components/TableHeader.js +1 -1
  308. package/dist/components/TableHeaderCell.js +1 -1
  309. package/dist/components/TableRow.js +1 -1
  310. package/dist/components/Tabs.d.ts +2 -2
  311. package/dist/components/Tabs.js +1 -1
  312. package/dist/components/TabsContent.js +1 -1
  313. package/dist/components/TabsList.js +1 -1
  314. package/dist/components/TabsTrigger.js +1 -1
  315. package/dist/components/Text.js +1 -1
  316. package/dist/components/Textarea.d.ts +2 -2
  317. package/dist/components/Textarea.js +1 -1
  318. package/dist/components/ThemeProvider.js +1 -1
  319. package/dist/components/ToastProvider.d.ts +2 -2
  320. package/dist/components/ToastProvider.js +1 -1
  321. package/dist/components/ToggleButton.d.ts +2 -2
  322. package/dist/components/ToggleButton.js +1 -1
  323. package/dist/components/Tooltip.d.ts +19 -19
  324. package/dist/components/Tooltip.js +1 -1
  325. package/dist/components/TooltipContent.d.ts +2 -2
  326. package/dist/components/TooltipContent.js +1 -1
  327. package/dist/components/TooltipProvider.js +1 -1
  328. package/dist/components/TooltipRoot.js +1 -1
  329. package/dist/components/TooltipTrigger.js +1 -1
  330. package/dist/components/Transition.d.ts +1 -1
  331. package/dist/components/Transition.js +1 -1
  332. package/dist/components/TransitionGroup.js +1 -1
  333. package/dist/context-BSNmIB_X.js +1 -0
  334. package/dist/{decorateChildren-DVsmEJ-4.js → decorateChildren--hsuDKKk.js} +1 -1
  335. package/dist/fallbackSpan-BaIZndNW.js +1 -0
  336. package/dist/index-BMyx8vU7.js +1 -0
  337. package/dist/index-BVxfhzCE.js +1 -0
  338. package/dist/{index-1RyJKZmf.js → index-BbehSwG1.js} +1 -1
  339. package/dist/{index-DaPeqPEN.js → index-BeUROYny.js} +1 -1
  340. package/dist/{index-CGtgGBsk.js → index-Bq3jDS6u.js} +1 -1
  341. package/dist/{index-BRAElrQe.js → index-C-0V20Ar.js} +1 -1
  342. package/dist/{index-Oz2Q36LF.js → index-C-rcbMMX.js} +1 -1
  343. package/dist/index-C2ValkBh.js +4 -0
  344. package/dist/index-C5m2iMJU.js +5 -0
  345. package/dist/{index-Ct5iBy1w.js → index-C6RlDX0l.js} +1 -1
  346. package/dist/index-CIVEKUiV.js +1 -0
  347. package/dist/{index-C92Iade3.js → index-CN6RB6mr.js} +1 -1
  348. package/dist/{index-p_33FQZF.js → index-D2-_9r4k.js} +1 -1
  349. package/dist/{index-DNmr6fup.js → index-DDsqrcZ9.js} +1 -1
  350. package/dist/{index-D0MRusL3.js → index-DiLL8vvX.js} +1 -1
  351. package/dist/{index-Dc-2ay3l.js → index-DtR43Tps.js} +1 -1
  352. package/dist/{index-BofVqZgm.js → index-Nr1UuKiF.js} +1 -1
  353. package/dist/index-TRWYvGl4.js +1 -0
  354. package/dist/{index-CG5LV6W-.js → index-T_O5aMhL.js} +1 -1
  355. package/dist/{index-Czt93YYQ.js → index-X4myNFbi.js} +1 -1
  356. package/dist/index-h_5omiqY.js +1 -0
  357. package/dist/index.d.ts +175 -169
  358. package/dist/index.js +1 -1
  359. package/dist/layers.css.ts.vanilla-RAdWmDOg-CndY-IMY.js +1 -0
  360. package/dist/{modal-context-BUdYbLuZ.js → modal-context-C3yJaFb4.js} +1 -1
  361. package/dist/{onReactSelectInputBlur-DV9b36OA.js → onReactSelectInputBlur-it-PzzuM.js} +1 -1
  362. package/dist/{propTypes-COrwsvp_.js → propTypes-C2gCBZnz.js} +1 -1
  363. package/dist/register-C974c_cg.js +6 -0
  364. package/dist/useEffectEvent-BsrfwW6A.js +1 -0
  365. package/dist/{useFieldLabelTrigger-DgjbjMOn.js → useFieldLabelTrigger-DY9z84wF.js} +1 -1
  366. package/dist/useHighlightedIndex-DZ44Me9M.js +1 -0
  367. package/dist/useMenuSurface-rt25pZCR.js +1 -0
  368. package/dist/{useObserveValue-CAI5nTEw.js → useObserveValue-DbkEiaQE.js} +1 -1
  369. package/dist/{usePopoverScope-CMqTb282.js → usePopoverScope-Aj6ydGE1.js} +1 -1
  370. package/dist/{useSuggestions-CRUYlrI6.js → useSuggestions-DiAR1HlQ.js} +1 -1
  371. package/dist/{useSurface-DqmcNV0n.js → useSurface-CjHKubl-.js} +1 -1
  372. package/dist/{withIcon-DKYvJ18J.js → withIcon-PdfMvCRy.js} +1 -1
  373. package/package.json +9 -9
  374. package/dist/ActionsRoot-BipEztI7.js +0 -1
  375. package/dist/Alert-BmDz5d23.js +0 -1
  376. package/dist/AlertDialog-B6FXi0qM.js +0 -1
  377. package/dist/AlertDialogFooter-BK0-mPxS.js +0 -1
  378. package/dist/AlertDialogHeader-DKqd8ZMW.js +0 -1
  379. package/dist/AlertDialogTrigger-DGbxgNRU.js +0 -1
  380. package/dist/AngleMenuButton--UiNqhTo.js +0 -1
  381. package/dist/Avatar-CXdmdDeh.js +0 -1
  382. package/dist/AvatarContext-CIyV1RDs.js +0 -1
  383. package/dist/AvatarGroup-CG9GHhjC.js +0 -1
  384. package/dist/Badge-Du9KRS6J.js +0 -1
  385. package/dist/Box-CD_vyeKU.js +0 -1
  386. package/dist/Button-B8Wmyckr.js +0 -1
  387. package/dist/ButtonContext-FmlT_2XQ.js +0 -1
  388. package/dist/ButtonGroup-DqYGm951.js +0 -1
  389. package/dist/ButtonRoot-DafRUeDE.js +0 -1
  390. package/dist/Calendar-P61VhY1Q.js +0 -1
  391. package/dist/CardContext-CJ1Tlbs0.js +0 -1
  392. package/dist/Combination-2CbmZOhg.js +0 -41
  393. package/dist/Cover-CuUSZn0U.js +0 -1
  394. package/dist/Cover.css.ts.vanilla-Cr6Bu7T2-Blt4ZcJo.js +0 -1
  395. package/dist/DataTableContext-BUP_SJBK.js +0 -1
  396. package/dist/DateRangePickerContext-DDnYlu1c.js +0 -1
  397. package/dist/DialogBody-DSNBD4R7.js +0 -1
  398. package/dist/DialogBody.css.ts.vanilla-7FcSSUt8-CfVYTXFy.js +0 -1
  399. package/dist/DialogFooter-CsmTgR36.js +0 -1
  400. package/dist/DialogTrigger-6excCy-R.js +0 -1
  401. package/dist/DisclosureContent-BC_JgmJk.js +0 -1
  402. package/dist/DisclosureContext-BsC4t4SE.js +0 -1
  403. package/dist/DisclosureTrigger-CGk9-jPF.js +0 -1
  404. package/dist/DropdownMenuContext-BmRvpO7f.js +0 -1
  405. package/dist/DropdownMenuNestedContext-97dd3DgB.js +0 -1
  406. package/dist/DropdownMenuSubContext-BxbUE3tu.js +0 -1
  407. package/dist/FieldLabel-NRYWNAJl.js +0 -1
  408. package/dist/Icon-CjJgEdBj.js +0 -1
  409. package/dist/IconAngleDown-5avmMxiD.js +0 -1
  410. package/dist/IconAngleLeft-CVLIqjz2.js +0 -1
  411. package/dist/IconAngleRight-C9z5FmqO.js +0 -1
  412. package/dist/Input-DDyZVTKc.js +0 -1
  413. package/dist/InputContext-DiEH3HwD.js +0 -1
  414. package/dist/InputControl-CiEdV4vS.js +0 -1
  415. package/dist/InputControl.css.ts.vanilla-BJKdn6aL-o6vEKK4X.js +0 -1
  416. package/dist/InputRoot-DYzFXQlg.js +0 -1
  417. package/dist/Link-BJBDTjZX.js +0 -1
  418. package/dist/Listbox-C01SWiDu.js +0 -1
  419. package/dist/ListboxGroup-D6IVj5P1.js +0 -1
  420. package/dist/ListboxGroupContext-BCpaey6k.js +0 -1
  421. package/dist/ListboxItem-Dwj2byq-.js +0 -1
  422. package/dist/ListboxItemIndicator-BFtY0z--.js +0 -1
  423. package/dist/ListboxLabel-BLPR98_6.js +0 -1
  424. package/dist/ListboxSeparator-qNRyFyIJ.js +0 -1
  425. package/dist/MenuContent-9Ip6DX54.js +0 -1
  426. package/dist/MenuContext-DseQv_Wr.js +0 -1
  427. package/dist/MenuTrigger-DN4HvH2Z.js +0 -1
  428. package/dist/ModalLayer-B0p9YIPz.js +0 -1
  429. package/dist/Nav-CzqrzuHW.js +0 -1
  430. package/dist/NavAccountItem-CnPR9JvA.js +0 -1
  431. package/dist/NavHeader-qvgdDLe2.js +0 -1
  432. package/dist/NavItem-Cg_kvsit.js +0 -1
  433. package/dist/NavSeparator-CwJ1c3-J.js +0 -1
  434. package/dist/Pagination-BwRAdUKO.js +0 -1
  435. package/dist/Popover-BWQGBp5p.js +0 -1
  436. package/dist/PopoverTrigger-Codb9XI6.js +0 -1
  437. package/dist/Portal-2WhvwFvo.js +0 -1
  438. package/dist/PortalContext-7V9rQ1hV.js +0 -1
  439. package/dist/RadioGroupContext-Kni7ri81.js +0 -1
  440. package/dist/SegmentedControlContext-CUkm44YX.js +0 -1
  441. package/dist/SelectContent-D7fHCd5S.js +0 -1
  442. package/dist/Separator-78drkcKW.js +0 -1
  443. package/dist/SidebarContext-zY-Rr9GK.js +0 -1
  444. package/dist/Skeleton-CUtPdQhV.js +0 -1
  445. package/dist/Spinner-DWo_8Pje.js +0 -1
  446. package/dist/SuggestionPopover-B2_trDF4.js +0 -9
  447. package/dist/Table-CAL-xmkj.js +0 -1
  448. package/dist/TableAction-C4B22nXA.js +0 -1
  449. package/dist/TableBody-CsPPWMUF.js +0 -1
  450. package/dist/TableCell-BmdskEkc.js +0 -1
  451. package/dist/TableHeader-DW06zv7Z.js +0 -1
  452. package/dist/TableHeaderCell-DXEI93Y_.js +0 -1
  453. package/dist/TableRow-S_vEfVDM.js +0 -1
  454. package/dist/TableRow.css.ts.vanilla-9Bm2NFcw-6WpsLcc0.js +0 -1
  455. package/dist/Text-Dot6kh6H.js +0 -1
  456. package/dist/ToastProvider-Jv9fAKtv.js +0 -1
  457. package/dist/ToggleInputLabel-pkKBfQT1.js +0 -1
  458. package/dist/TooltipContext-CKTR6dWG.js +0 -1
  459. package/dist/TooltipProvider-0sjJzTny.js +0 -1
  460. package/dist/TooltipTrigger-v1Mh0-lM.js +0 -1
  461. package/dist/Transition-B4taAh7L.js +0 -1
  462. package/dist/TransitionGroupContext-c0RzHLRc.js +0 -1
  463. package/dist/context-DZdZqN4Z.js +0 -1
  464. package/dist/fallbackSpan-BRMhWTmO.js +0 -1
  465. package/dist/index-B10kgm21.js +0 -5
  466. package/dist/index-BiQRbFR3.js +0 -1
  467. package/dist/index-CnT6xOQl.js +0 -4
  468. package/dist/index-CwUZ46aE.js +0 -1
  469. package/dist/index-DK9PStQ-.js +0 -1
  470. package/dist/index-DNey0luG.js +0 -1
  471. package/dist/index-Sa_DzvBO.js +0 -1
  472. package/dist/layers.css.ts.vanilla-XzVfQ9e1-DxlVyxxq.js +0 -1
  473. package/dist/register-C7mFN5zX.js +0 -6
  474. package/dist/tslib.es6-RFyvkXDo.js +0 -1
  475. package/dist/useEffectEvent-Bme5F3VB.js +0 -1
  476. package/dist/useHighlightedIndex-D51UyL9J.js +0 -1
  477. package/dist/useMenuSurface-BKKnQEXg.js +0 -1
@@ -1 +1 @@
1
- import{i as _,D as f,u as r,r as j,c as P}from"../register-C7mFN5zX.js";import{bk as T}from"../propTypes-COrwsvp_.js";import{c as v}from"../index-DNey0luG.js";import{i as y,a as h}from"../Box-CD_vyeKU.js";import{o as $}from"../Group-DNLUrvCe.js";import"../Input-DDyZVTKc.js";import{t as g}from"../InputAddon-G3n1ffuu.js";import{u as N}from"../InputControl-CiEdV4vS.js";import{u as A}from"../InputRoot-DYzFXQlg.js";import{a as R}from"../SuggestionPopover-B2_trDF4.js";import"../isHoverSupported-D44d_mIZ.js";import{m as S}from"../fallbackSpan-BRMhWTmO.js";import"../layers.css.ts.vanilla-XzVfQ9e1-DxlVyxxq.js";import{p}from"../recipeRuntime-BvPxdQJv.js";import{u as k}from"../index-BRAElrQe.js";import"../InputContext-DiEH3HwD.js";import"../index-1RyJKZmf.js";import"../FieldContext-DrpOPW7k.js";import"../useSurface-DqmcNV0n.js";import"../InputControl.css.ts.vanilla-BJKdn6aL-o6vEKK4X.js";import"../DialogBody.css.ts.vanilla-7FcSSUt8-CfVYTXFy.js";import"../Avatar-CXdmdDeh.js";import"../index-DNmr6fup.js";import"../index-Sa_DzvBO.js";import"../index-D0MRusL3.js";import"../index-Dc-2ay3l.js";import"../IconOpal-C0isvUHt.js";import"../withIcon-DKYvJ18J.js";import"../AvatarContext-CIyV1RDs.js";import"../AvatarGroup-CG9GHhjC.js";import"../Button-B8Wmyckr.js";import"../Icon-CjJgEdBj.js";import"../decorateChildren-DVsmEJ-4.js";import"../ButtonRoot-DafRUeDE.js";import"../Spinner-DWo_8Pje.js";import"../Transition-B4taAh7L.js";import"../TransitionGroupContext-c0RzHLRc.js";import"../TransitionGroup-CnxkSKGy.js";import"../ButtonContext-FmlT_2XQ.js";import"../Text-Dot6kh6H.js";import"../ButtonGroup-DqYGm951.js";import"../Heading-wPX9sNK4.js";import"../useEffectEvent-Bme5F3VB.js";import"../ListboxItemIndicator-BFtY0z--.js";import"../Popover-BWQGBp5p.js";import"../usePopoverScope-CMqTb282.js";import"../index-CBrz5xtv.js";import"../index-DaPeqPEN.js";import"../Combination-2CbmZOhg.js";import"../tslib.es6-RFyvkXDo.js";import"../index-DK9PStQ-.js";import"../index-CGtgGBsk.js";import"../index-p_33FQZF.js";import"../index-CDr5kGHV.js";import"../PopoverAnchor-B0WsPfHk.js";import"../Listbox-C01SWiDu.js";import"../Alert-BmDz5d23.js";import"../IconTriangleExclamationSolid-BNTuS7sV.js";import"../IconX-BSrkkuzX.js";import"../useSuggestions-CRUYlrI6.js";import"../PopoverTrigger-Codb9XI6.js";import"../Separator-78drkcKW.js";import"../ToggleInputLabel-pkKBfQT1.js";import"../VisuallyHidden-Ky13wjnK.js";import"../index-Ct5iBy1w.js";import"../FilteredSlot-Dt0f7yi2.js";import"../ListboxItem-Dwj2byq-.js";import"../ListboxEmpty-cb4z5XUp.js";import"../ListboxGroup-D6IVj5P1.js";import"../ListboxGroupContext-BCpaey6k.js";import"../ListboxItemized-BSyhSuxn.js";import"../Skeleton-CUtPdQhV.js";import"../index-CnT6xOQl.js";import"../ListboxLabel-BLPR98_6.js";import"../ListboxRadioItem-BVjVy5z8.js";import"../ListboxSeparator-qNRyFyIJ.js";import"../Paper-D3Nz5Qgl.js";import"../Portal-2WhvwFvo.js";import"../PortalContext-7V9rQ1hV.js";import"../onReactSelectInputBlur-DV9b36OA.js";import"../modal-context-BUdYbLuZ.js";import"../index-DyVWey1I.js";_("@layer optiaxiom._14psyja;@layer optiaxiom._14psyja{._1cm0s0v:empty{display:none}}");var q=p({base:"_1cm0s0v"});_('@layer optiaxiom._14psyja;@layer optiaxiom._14psyja{._1aye7dm{max-height:calc(16px + var(--_1m48170)*22px)}.qx9ava{--_1m48170:1}._19zepgr{--_1m48170:2}._1fxohng{--_1m48170:3}._11tvsgw{--_1m48170:4}.mmrgie{--_1m48170:5}.bzghcu{resize:vertical}.bzghcu:after{bottom:0;content:"";display:block;height:16px;pointer-events:none;position:absolute;right:0;width:16px}._5oa2v{grid-area:1/1/2/2}._1fjdymo{visibility:hidden;white-space:pre-wrap}._1cp49be{resize:none}}');var D=p({base:["_5oa2v","_1fjdymo"]}),E=p({base:["_5oa2v","_1cp49be"],variants:{resize:{auto:{overflow:"hidden"},none:{},vertical:{}}}}),B=p({base:{display:"grid",flex:"auto",overflow:"auto"},variants:{maxRows:{1:["_1aye7dm","qx9ava"],2:["_1aye7dm","_19zepgr"],3:["_1aye7dm","_1fxohng"],4:["_1aye7dm","_11tvsgw"],5:["_1aye7dm","mmrgie"]},resize:{auto:{},none:{},vertical:"bzghcu"}}});const L=v("@optiaxiom/react/TextareaAutosize"),b=f(({asChild:s,children:e,className:a,maxRows:n,onChange:l,resize:o="none",...t},i)=>{const d=s?L:"textarea",{boxProps:m,restProps:c}=y(t),[x,C]=k({caller:"@optiaxiom/react/TextareaAutosize",defaultProp:t.defaultValue,prop:t.value});return r(h,{...B({maxRows:o==="auto"?n:void 0,resize:o}),children:[r(h,{asChild:!0,...E({resize:o},a),...m,children:r(d,{onChange:u=>{C(u.target.value),l?.(u)},ref:i,...c,children:e})}),o==="auto"&&r(h,{...D({},a),...m,children:(x??"")+" "})]})});b.displayName="@optiaxiom/react/TextareaAutosize";const V=v("@optiaxiom/react/Textarea"),z=f(({addonAfter:s,addonBefore:e,addonPointerEvents:a,asChild:n,children:l,className:o,style:t,...i},d)=>{const m=n?V:"textarea",{boxProps:c,restProps:x}=y(i);return r(A,{addonPointerEvents:a,className:o,flexDirection:"column",style:t,...c,children:[e&&r(g,{asChild:!0,children:S(e)}),r(N,{asChild:!0,p:"8",size:"lg",...x,children:r(b,{asChild:!0,children:r(m,{ref:d,rows:i.rows??3,children:l})})}),r(g,{...q(),children:[i.value!==void 0&&r($,{justifyContent:"end",children:r(R,{})}),s]})]})});z.displayName="@optiaxiom/react/Textarea";const w="ax-textarea";var F=j(w,z,T,P);export{w as Textarea,F as default};
1
+ import{i as x,D as _,u as r,r as j,c as C}from"../register-C974c_cg.js";import{bk as k}from"../propTypes-C2gCBZnz.js";import{c as v}from"../index-BMyx8vU7.js";import{i as q,a as f}from"../Box-DjvbKV4C.js";import{o as P}from"../Group-pGETTBKk.js";import"../Input-BuNkWo49.js";import{t as z}from"../InputAddon-DkpNkNAZ.js";import{u as T}from"../InputControl-DL1jbT51.js";import{u as N}from"../InputRoot-BL6p-Ngp.js";import{a as A}from"../SuggestionPopover-BvNon_hd.js";import"../isHoverSupported-D44d_mIZ.js";import{m as $}from"../fallbackSpan-BaIZndNW.js";import"../layers.css.ts.vanilla-RAdWmDOg-CndY-IMY.js";import{p as m}from"../recipeRuntime-BvPxdQJv.js";import{u as R}from"../index-C-0V20Ar.js";import"../InputContext-DzZkJA3c.js";import"../index-BbehSwG1.js";import"../FieldContext-Bz4WePPD.js";import"../useSurface-CjHKubl-.js";import"../InputControl.css.ts.vanilla-Bf8FCCh8-BFktQuDh.js";import"../AvatarGroup.css.ts.vanilla-YgV0ZPi4-B8gkD4Zm.js";import"../Avatar-V_2pBDZF.js";import"../index-DDsqrcZ9.js";import"../index-h_5omiqY.js";import"../index-DiLL8vvX.js";import"../index-DtR43Tps.js";import"../IconOpal-NsXC-Cue.js";import"../withIcon-PdfMvCRy.js";import"../AvatarContext-8OdFUu80.js";import"../AvatarGroup-JytZjSUS.js";import"../Button-5JkQ4DAU.js";import"../Icon-DhX_MmZS.js";import"../decorateChildren--hsuDKKk.js";import"../ButtonRoot-Da_x3vLJ.js";import"../Spinner-CyDpYVNh.js";import"../Transition-BnDpvAO8.js";import"../TransitionGroupContext-C_LL9sGV.js";import"../TransitionGroup-D4bHX5Ra.js";import"../ButtonContext-CkiOYmnb.js";import"../Text-XHcZVLu2.js";import"../ButtonGroup-DW51JRUL.js";import"../Heading-DxWpi9jC.js";import"../useEffectEvent-BsrfwW6A.js";import"../ListboxItemIndicator-BN9i0rsR.js";import"../Popover-DcY23j_I.js";import"../usePopoverScope-Aj6ydGE1.js";import"../index-CBrz5xtv.js";import"../index-BeUROYny.js";import"../Combination-CCqaBQlm.js";import"../index-BVxfhzCE.js";import"../index-Bq3jDS6u.js";import"../index-D2-_9r4k.js";import"../index-CDr5kGHV.js";import"../PopoverAnchor-CzaNwmaK.js";import"../Listbox-Du-8fZN8.js";import"../Alert-izJD_GwZ.js";import"../IconTriangleExclamationSolid-DlZZzMlN.js";import"../IconX-BI-2Fp7s.js";import"../useSuggestions-DiAR1HlQ.js";import"../PopoverTrigger-CRb0xFo0.js";import"../Separator-BGIvC0dZ.js";import"../ToggleInputLabel-C_k7tVw4.js";import"../VisuallyHidden-DlgiILTL.js";import"../index-C6RlDX0l.js";import"../FilteredSlot-Bv-G8W19.js";import"../ListboxItem-sNBz21ef.js";import"../ListboxEmpty-D0nRpuHd.js";import"../ListboxGroup-C_ASjiQ7.js";import"../ListboxGroupContext-CrONyPGc.js";import"../ListboxItemized-CdY26TkD.js";import"../Skeleton-ClK4Kx9S.js";import"../index-C2ValkBh.js";import"../ListboxLabel-RWQ79wyF.js";import"../ListboxRadioItem-U6XTlcXi.js";import"../ListboxSeparator-C479ZxnC.js";import"../Paper-BWDKRpMq.js";import"../Portal-DjP7UyEN.js";import"../PortalContext-B2WzAZua.js";import"../onReactSelectInputBlur-it-PzzuM.js";import"../modal-context-C3yJaFb4.js";import"../index-DyVWey1I.js";x("@layer optiaxiom.tmkl1w;@layer optiaxiom.tmkl1w{._1l59mng:empty{display:none}}");var S=m({base:"_1l59mng"});x('@layer optiaxiom.tmkl1w;@layer optiaxiom.tmkl1w{._1cqq083{max-height:calc(16px + var(--_1sj5u7p)*22px)}._1vqplom{--_1sj5u7p:1}.kq1htz{--_1sj5u7p:2}._1704zie{--_1sj5u7p:3}._1n12o2z{--_1sj5u7p:4}._19hyp3u{--_1sj5u7p:5}.zifpj2{resize:vertical}.zifpj2:after{bottom:0;content:"";display:block;height:16px;pointer-events:none;position:absolute;right:0;width:16px}._1oqblwf{grid-area:1/1/2/2}._1a5nf5s{visibility:hidden;white-space:pre-wrap}._16t1qey{resize:none}}');var D=m({base:["_1oqblwf","_1a5nf5s"]}),E=m({base:["_1oqblwf","_16t1qey"],variants:{resize:{auto:{overflow:"hidden"},none:{},vertical:{}}}}),B=m({base:{display:"grid",flex:"auto",overflow:"auto"},variants:{maxRows:{1:["_1cqq083","_1vqplom"],2:["_1cqq083","kq1htz"],3:["_1cqq083","_1704zie"],4:["_1cqq083","_1n12o2z"],5:["_1cqq083","_19hyp3u"]},resize:{auto:{},none:{},vertical:"zifpj2"}}});const L=v("@optiaxiom/react/TextareaAutosize"),y=_(({asChild:s,children:e,className:p,maxRows:l,onChange:n,resize:o="none",...t},i)=>{const c=s?L:"textarea",{boxProps:a,restProps:d}=q(t),[u,g]=R({caller:"@optiaxiom/react/TextareaAutosize",defaultProp:t.defaultValue,prop:t.value});return r(f,{...B({maxRows:o==="auto"?l:void 0,resize:o}),children:[r(f,{asChild:!0,...E({resize:o},p),...a,children:r(c,{onChange:h=>{g(h.target.value),n?.(h)},ref:i,...d,children:e})}),o==="auto"&&r(f,{...D({},p),...a,children:(u??"")+" "})]})});y.displayName="@optiaxiom/react/TextareaAutosize";const V=v("@optiaxiom/react/Textarea"),w=_(({addonAfter:s,addonBefore:e,addonPointerEvents:p,asChild:l,children:n,className:o,style:t,...i},c)=>{const a=l?V:"textarea",{boxProps:d,restProps:u}=q(i);return r(N,{addonPointerEvents:p,className:o,flexDirection:"column",style:t,...d,children:[e&&r(z,{asChild:!0,children:$(e)}),r(T,{asChild:!0,p:"8",size:"lg",...u,children:r(y,{asChild:!0,children:r(a,{ref:c,rows:i.rows??3,children:n})})}),r(z,{...S(),children:[i.value!==void 0&&r(P,{justifyContent:"end",children:r(A,{})}),s]})]})});w.displayName="@optiaxiom/react/Textarea";const b="ax-textarea";var F=j(b,w,k,C);export{b as Textarea,F as default};
@@ -1 +1 @@
1
- import{r as o,c as e}from"../register-C7mFN5zX.js";import{bl as m}from"../propTypes-COrwsvp_.js";import{l as t}from"../ThemeProvider-CEqqRcRe.js";import"../vanilla-extract-dynamic.esm-eGTknIhu.js";import"../layers.css.ts.vanilla-XzVfQ9e1-DxlVyxxq.js";import"../PortalContext-7V9rQ1hV.js";import"../index-1RyJKZmf.js";import"../theme-css-Bg5Y5ztL.js";import"../index-DyVWey1I.js";const r="ax-theme-provider";var i=o(r,t,m,e);export{r as ThemeProvider,i as default};
1
+ import{r as o,c as e}from"../register-C974c_cg.js";import{bl as m}from"../propTypes-C2gCBZnz.js";import{l as t}from"../ThemeProvider-B6d6IIPT.js";import"../vanilla-extract-dynamic.esm-eGTknIhu.js";import"../layers.css.ts.vanilla-RAdWmDOg-CndY-IMY.js";import"../PortalContext-B2WzAZua.js";import"../index-BbehSwG1.js";import"../theme-css-Bg5Y5ztL.js";import"../index-DyVWey1I.js";const r="ax-theme-provider";var i=o(r,t,m,e);export{r as ThemeProvider,i as default};
@@ -8,8 +8,8 @@ declare const ToastProvider = "ax-toast-provider";
8
8
  type ToastProviderProps = BoxProps & {
9
9
  "label"?: string;
10
10
  "duration"?: number;
11
- "swipeDirection"?: "right" | "left" | "up" | "down";
12
- "swipe-direction"?: "right" | "left" | "up" | "down";
11
+ "swipeDirection"?: "left" | "right" | "up" | "down";
12
+ "swipe-direction"?: "left" | "right" | "up" | "down";
13
13
  "swipeThreshold"?: number;
14
14
  "swipe-threshold"?: number;
15
15
  "container"?: Element | DocumentFragment;
@@ -1 +1 @@
1
- import{r as o,c as t}from"../register-C7mFN5zX.js";import{bm as i}from"../propTypes-COrwsvp_.js";import{c as m}from"../ToastProvider-Jv9fAKtv.js";import"../index-DNey0luG.js";import"../index-CBrz5xtv.js";import"../index-Czt93YYQ.js";import"../index-1RyJKZmf.js";import"../index-DaPeqPEN.js";import"../index-D0MRusL3.js";import"../index-DNmr6fup.js";import"../Portal-2WhvwFvo.js";import"../PortalContext-7V9rQ1hV.js";import"../index-p_33FQZF.js";import"../index-Sa_DzvBO.js";import"../index-BRAElrQe.js";import"../index-Ct5iBy1w.js";import"../index-Dc-2ay3l.js";import"../Box-CD_vyeKU.js";import"../layers.css.ts.vanilla-XzVfQ9e1-DxlVyxxq.js";import"../recipeRuntime-BvPxdQJv.js";import"../Group-DNLUrvCe.js";import"../vanilla-extract-dynamic.esm-eGTknIhu.js";import"../Button-B8Wmyckr.js";import"../Icon-CjJgEdBj.js";import"../useSurface-DqmcNV0n.js";import"../isHoverSupported-D44d_mIZ.js";import"../index-DyVWey1I.js";import"../decorateChildren-DVsmEJ-4.js";import"../fallbackSpan-BRMhWTmO.js";import"../ButtonRoot-DafRUeDE.js";import"../DialogBody.css.ts.vanilla-7FcSSUt8-CfVYTXFy.js";import"../Spinner-DWo_8Pje.js";import"../Transition-B4taAh7L.js";import"../TransitionGroupContext-c0RzHLRc.js";import"../TransitionGroup-CnxkSKGy.js";import"../ButtonContext-FmlT_2XQ.js";import"../Text-Dot6kh6H.js";import"../ButtonGroup-DqYGm951.js";import"../IconTriangleExclamationSolid-BNTuS7sV.js";import"../withIcon-DKYvJ18J.js";import"../IconX-BSrkkuzX.js";import"../Separator-78drkcKW.js";import"../FieldContext-DrpOPW7k.js";const r="ax-toast-provider";var p=o(r,m,i,t);export{r as ToastProvider,p as default};
1
+ import{r as o,c as t}from"../register-C974c_cg.js";import{bm as i}from"../propTypes-C2gCBZnz.js";import{c as m}from"../ToastProvider-Cc72AVCn.js";import"../index-BMyx8vU7.js";import"../index-CBrz5xtv.js";import"../index-X4myNFbi.js";import"../index-BbehSwG1.js";import"../index-BeUROYny.js";import"../index-DiLL8vvX.js";import"../index-DDsqrcZ9.js";import"../Portal-DjP7UyEN.js";import"../PortalContext-B2WzAZua.js";import"../index-D2-_9r4k.js";import"../index-h_5omiqY.js";import"../index-C-0V20Ar.js";import"../index-C6RlDX0l.js";import"../index-DtR43Tps.js";import"../Box-DjvbKV4C.js";import"../layers.css.ts.vanilla-RAdWmDOg-CndY-IMY.js";import"../recipeRuntime-BvPxdQJv.js";import"../Group-pGETTBKk.js";import"../vanilla-extract-dynamic.esm-eGTknIhu.js";import"../Button-5JkQ4DAU.js";import"../Icon-DhX_MmZS.js";import"../useSurface-CjHKubl-.js";import"../isHoverSupported-D44d_mIZ.js";import"../index-DyVWey1I.js";import"../decorateChildren--hsuDKKk.js";import"../fallbackSpan-BaIZndNW.js";import"../ButtonRoot-Da_x3vLJ.js";import"../AvatarGroup.css.ts.vanilla-YgV0ZPi4-B8gkD4Zm.js";import"../Spinner-CyDpYVNh.js";import"../Transition-BnDpvAO8.js";import"../TransitionGroupContext-C_LL9sGV.js";import"../TransitionGroup-D4bHX5Ra.js";import"../ButtonContext-CkiOYmnb.js";import"../Text-XHcZVLu2.js";import"../ButtonGroup-DW51JRUL.js";import"../IconTriangleExclamationSolid-DlZZzMlN.js";import"../withIcon-PdfMvCRy.js";import"../IconX-BI-2Fp7s.js";import"../Separator-BGIvC0dZ.js";import"../FieldContext-Bz4WePPD.js";const r="ax-toast-provider";var p=o(r,m,i,t);export{r as ToastProvider,p as default};
@@ -15,10 +15,10 @@ type ToggleButtonProps = BoxProps & {
15
15
  "iconPosition"?: "end" | "start";
16
16
  "icon-position"?: "end" | "start";
17
17
  "size"?: "sm" | "md" | "lg";
18
- "disabled"?: false | true;
19
- "type"?: "button" | "reset" | "submit";
20
18
  "square"?: false | true;
19
+ "disabled"?: false | true;
21
20
  "loading"?: false | true;
21
+ "type"?: "button" | "reset" | "submit";
22
22
  "asChild"?: false | true;
23
23
  "as-child"?: false | true;
24
24
  "pressed"?: false | true;
@@ -1 +1 @@
1
- import{D as e,u as o,r as a,c as n}from"../register-C7mFN5zX.js";import{bn as s}from"../propTypes-COrwsvp_.js";import{R as g}from"../index-BofVqZgm.js";import{C as l}from"../Button-B8Wmyckr.js";import"../ButtonGroup-DqYGm951.js";import"../index-CBrz5xtv.js";import"../index-BRAElrQe.js";import"../index-Sa_DzvBO.js";import"../index-D0MRusL3.js";import"../index-DNey0luG.js";import"../Icon-CjJgEdBj.js";import"../Box-CD_vyeKU.js";import"../layers.css.ts.vanilla-XzVfQ9e1-DxlVyxxq.js";import"../recipeRuntime-BvPxdQJv.js";import"../useSurface-DqmcNV0n.js";import"../isHoverSupported-D44d_mIZ.js";import"../index-DyVWey1I.js";import"../decorateChildren-DVsmEJ-4.js";import"../fallbackSpan-BRMhWTmO.js";import"../ButtonRoot-DafRUeDE.js";import"../DialogBody.css.ts.vanilla-7FcSSUt8-CfVYTXFy.js";import"../Spinner-DWo_8Pje.js";import"../Group-DNLUrvCe.js";import"../Transition-B4taAh7L.js";import"../TransitionGroupContext-c0RzHLRc.js";import"../index-1RyJKZmf.js";import"../TransitionGroup-CnxkSKGy.js";import"../ButtonContext-FmlT_2XQ.js";import"../Text-Dot6kh6H.js";const t=e(({children:i,...m},p)=>o(l,{asChild:!0,...m,children:o(g,{ref:p,children:i})}));t.displayName="@optiaxiom/react/ToggleButton";const r="ax-toggle-button";var c=a(r,t,s,n);export{r as ToggleButton,c as default};
1
+ import{D as e,u as o,r as a,c as n}from"../register-C974c_cg.js";import{bn as l}from"../propTypes-C2gCBZnz.js";import{R as s}from"../index-Nr1UuKiF.js";import{b as g}from"../Button-5JkQ4DAU.js";import"../ButtonGroup-DW51JRUL.js";import"../index-CBrz5xtv.js";import"../index-C-0V20Ar.js";import"../index-h_5omiqY.js";import"../index-DiLL8vvX.js";import"../index-BMyx8vU7.js";import"../Icon-DhX_MmZS.js";import"../Box-DjvbKV4C.js";import"../layers.css.ts.vanilla-RAdWmDOg-CndY-IMY.js";import"../recipeRuntime-BvPxdQJv.js";import"../useSurface-CjHKubl-.js";import"../isHoverSupported-D44d_mIZ.js";import"../index-DyVWey1I.js";import"../decorateChildren--hsuDKKk.js";import"../fallbackSpan-BaIZndNW.js";import"../ButtonRoot-Da_x3vLJ.js";import"../AvatarGroup.css.ts.vanilla-YgV0ZPi4-B8gkD4Zm.js";import"../Spinner-CyDpYVNh.js";import"../Group-pGETTBKk.js";import"../Transition-BnDpvAO8.js";import"../TransitionGroupContext-C_LL9sGV.js";import"../index-BbehSwG1.js";import"../TransitionGroup-D4bHX5Ra.js";import"../ButtonContext-CkiOYmnb.js";import"../Text-XHcZVLu2.js";const t=e(({children:i,...m},p)=>o(g,{asChild:!0,...m,children:o(s,{ref:p,children:i})}));t.displayName="@optiaxiom/react/ToggleButton";const r="ax-toggle-button";var u=a(r,t,l,n);export{r as ToggleButton,u as default};
@@ -12,7 +12,7 @@ type TooltipProps = {
12
12
  "borderColor"?: "border.accent" | "border.control" | "border.control.hovered" | "border.default" | "border.disabled" | "border.error" | "border.focus" | "border.focus.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "transparent" | "current";
13
13
  "border-color"?: "border.accent" | "border.control" | "border.control.hovered" | "border.default" | "border.disabled" | "border.error" | "border.focus" | "border.focus.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "transparent" | "current";
14
14
  "color"?: "transparent" | "current" | "fg.accent" | "fg.accent.hovered" | "fg.accent.strong" | "fg.avatar.neutral" | "fg.avatar.purple" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.error.hovered" | "fg.error.light" | "fg.error.strong" | "fg.information" | "fg.information.light" | "fg.information.strong" | "fg.link.default" | "fg.link.default.hovered" | "fg.link.inverse" | "fg.link.subtle" | "fg.link.visited" | "fg.secondary" | "fg.spinner.default" | "fg.spinner.inverse" | "fg.success" | "fg.success.hovered" | "fg.success.light" | "fg.success.strong" | "fg.tertiary" | "fg.warning" | "fg.warning.hovered" | "fg.warning.inverse" | "fg.warning.light" | "fg.warning.strong" | "fg.white";
15
- "cursor"?: "text" | "pointer" | "default";
15
+ "cursor"?: "pointer" | "default" | "text";
16
16
  "fontFamily"?: "mono" | "sans";
17
17
  "font-family"?: "mono" | "sans";
18
18
  "fontSize"?: "xs" | "sm" | "md" | "lg" | "xl" | "inherit" | "2xl" | "3xl" | "4xl";
@@ -27,8 +27,8 @@ type TooltipProps = {
27
27
  "overflow-y"?: "hidden" | "auto" | "visible";
28
28
  "pointerEvents"?: "none" | "auto";
29
29
  "pointer-events"?: "none" | "auto";
30
- "textAlign"?: "center" | "end" | "start" | "justify";
31
- "text-align"?: "center" | "end" | "start" | "justify";
30
+ "textAlign"?: "end" | "start" | "center" | "justify";
31
+ "text-align"?: "end" | "start" | "center" | "justify";
32
32
  "textTransform"?: "none" | "capitalize" | "uppercase";
33
33
  "text-transform"?: "none" | "capitalize" | "uppercase";
34
34
  "transition"?: "none" | "opacity" | "transform" | "colors" | "all";
@@ -62,11 +62,11 @@ type TooltipProps = {
62
62
  "rounded"?: "xs" | "sm" | "md" | "lg" | "xl" | "inherit" | "none" | "full";
63
63
  "shadow"?: "sm" | "md" | "lg" | "xl" | "none";
64
64
  "z"?: "auto" | "0" | "10" | "20" | "popover" | "toast" | "tooltip" | "30";
65
- "alignItems"?: "center" | "end" | "start" | "normal" | "stretch" | ResponsiveObject<"center" | "end" | "start" | "normal" | "stretch"> | ResponsiveArray<"center" | "end" | "start" | "normal" | "stretch">;
66
- "align-items"?: "center" | "end" | "start" | "normal" | "stretch";
67
- "alignSelf"?: "center" | "end" | "start" | "normal" | "stretch" | ResponsiveArray<"center" | "end" | "start" | "normal" | "stretch"> | ResponsiveObject<"center" | "end" | "start" | "normal" | "stretch">;
68
- "align-self"?: "center" | "end" | "start" | "normal" | "stretch";
69
- "display"?: "flex" | "table" | "none" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row" | ResponsiveObject<"flex" | "table" | "none" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row"> | ResponsiveArray<"flex" | "table" | "none" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table-cell" | "table-row">;
65
+ "alignItems"?: "end" | "start" | "center" | "normal" | "stretch" | ResponsiveObject<"end" | "start" | "center" | "normal" | "stretch"> | ResponsiveArray<"end" | "start" | "center" | "normal" | "stretch">;
66
+ "align-items"?: "end" | "start" | "center" | "normal" | "stretch";
67
+ "alignSelf"?: "end" | "start" | "center" | "normal" | "stretch" | ResponsiveArray<"end" | "start" | "center" | "normal" | "stretch"> | ResponsiveObject<"end" | "start" | "center" | "normal" | "stretch">;
68
+ "align-self"?: "end" | "start" | "center" | "normal" | "stretch";
69
+ "display"?: "flex" | "none" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table" | "table-cell" | "table-row" | ResponsiveObject<"flex" | "none" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table" | "table-cell" | "table-row"> | ResponsiveArray<"flex" | "none" | "grid" | "block" | "inline" | "inline-block" | "inline-flex" | "table" | "table-cell" | "table-row">;
70
70
  "flex"?: "none" | "auto" | "1" | "initial" | ResponsiveObject<"none" | "auto" | "1" | "initial"> | ResponsiveArray<"none" | "auto" | "1" | "initial">;
71
71
  "flexDirection"?: "column" | "column-reverse" | "row" | "row-reverse" | ResponsiveObject<"column" | "column-reverse" | "row" | "row-reverse"> | ResponsiveArray<"column" | "column-reverse" | "row" | "row-reverse">;
72
72
  "flex-direction"?: "column" | "column-reverse" | "row" | "row-reverse";
@@ -79,29 +79,29 @@ type TooltipProps = {
79
79
  "grid-column"?: "1" | "2" | "4" | "3";
80
80
  "gridTemplateColumns"?: "1" | "2" | "4" | "3" | ResponsiveArray<"1" | "2" | "4" | "3"> | ResponsiveObject<"1" | "2" | "4" | "3">;
81
81
  "grid-template-columns"?: "1" | "2" | "4" | "3";
82
- "justifyContent"?: "center" | "end" | "start" | "normal" | "stretch" | "flex-end" | "flex-start" | "space-around" | "space-between" | "space-evenly" | ResponsiveObject<"center" | "end" | "start" | "normal" | "stretch" | "flex-end" | "flex-start" | "space-around" | "space-between" | "space-evenly"> | ResponsiveArray<"center" | "end" | "start" | "normal" | "stretch" | "flex-end" | "flex-start" | "space-around" | "space-between" | "space-evenly">;
83
- "justify-content"?: "center" | "end" | "start" | "normal" | "stretch" | "flex-end" | "flex-start" | "space-around" | "space-between" | "space-evenly";
84
- "justifyItems"?: "center" | "end" | "start" | "normal" | "stretch" | ResponsiveArray<"center" | "end" | "start" | "normal" | "stretch"> | ResponsiveObject<"center" | "end" | "start" | "normal" | "stretch">;
85
- "justify-items"?: "center" | "end" | "start" | "normal" | "stretch";
82
+ "justifyContent"?: "end" | "start" | "center" | "normal" | "stretch" | "flex-end" | "flex-start" | "space-around" | "space-between" | "space-evenly" | ResponsiveObject<"end" | "start" | "center" | "normal" | "stretch" | "flex-end" | "flex-start" | "space-around" | "space-between" | "space-evenly"> | ResponsiveArray<"end" | "start" | "center" | "normal" | "stretch" | "flex-end" | "flex-start" | "space-around" | "space-between" | "space-evenly">;
83
+ "justify-content"?: "end" | "start" | "center" | "normal" | "stretch" | "flex-end" | "flex-start" | "space-around" | "space-between" | "space-evenly";
84
+ "justifyItems"?: "end" | "start" | "center" | "normal" | "stretch" | ResponsiveArray<"end" | "start" | "center" | "normal" | "stretch"> | ResponsiveObject<"end" | "start" | "center" | "normal" | "stretch">;
85
+ "justify-items"?: "end" | "start" | "center" | "normal" | "stretch";
86
86
  "placeItems"?: "center" | ResponsiveObject<"center"> | ResponsiveArray<"center">;
87
87
  "place-items"?: "center";
88
88
  "maxH"?: "xs" | "sm" | "md" | "lg" | "full" | ResponsiveObject<"xs" | "sm" | "md" | "lg" | "full"> | ResponsiveArray<"xs" | "sm" | "md" | "lg" | "full">;
89
89
  "max-h"?: "xs" | "sm" | "md" | "lg" | "full";
90
90
  "maxW"?: "xs" | "sm" | "md" | "lg" | "full" | ResponsiveArray<"xs" | "sm" | "md" | "lg" | "full"> | ResponsiveObject<"xs" | "sm" | "md" | "lg" | "full">;
91
91
  "max-w"?: "xs" | "sm" | "md" | "lg" | "full";
92
- "size"?: "min" | "max" | "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | ResponsiveObject<"min" | "max" | "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit"> | ResponsiveArray<"min" | "max" | "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit">;
93
- "h"?: "min" | "max" | "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | ResponsiveArray<"min" | "max" | "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit"> | ResponsiveObject<"min" | "max" | "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit">;
94
- "w"?: "min" | "max" | "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | ResponsiveArray<"min" | "max" | "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit"> | ResponsiveObject<"min" | "max" | "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit">;
92
+ "size"?: "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | "max" | "min" | ResponsiveObject<"xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | "max" | "min"> | ResponsiveArray<"xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | "max" | "min">;
93
+ "h"?: "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | "max" | "min" | ResponsiveArray<"xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | "max" | "min"> | ResponsiveObject<"xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | "max" | "min">;
94
+ "w"?: "xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | "max" | "min" | ResponsiveArray<"xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | "max" | "min"> | ResponsiveObject<"xs" | "sm" | "md" | "lg" | "xl" | "3xl" | "auto" | "0" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | "full" | "2xs" | "56" | "224" | "384" | "1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "fit" | "max" | "min">;
95
95
  "className"?: string;
96
96
  "class-name"?: string;
97
- "disabled"?: false | true;
98
- "aria-label"?: string;
99
97
  "content"?: string | number | false | true;
98
+ "aria-label"?: string;
100
99
  "auto"?: false | true;
101
- "side"?: "top" | "right" | "bottom" | "left";
102
- "align"?: "center" | "end" | "start";
103
100
  "onEscapeKeyDown"?: (event: KeyboardEvent) => void;
104
101
  "onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
102
+ "align"?: "end" | "start" | "center";
103
+ "disabled"?: false | true;
104
+ "side"?: "left" | "right" | "top" | "bottom";
105
105
  "defaultOpen"?: false | true;
106
106
  "default-open"?: false | true;
107
107
  "onOpenChange"?: (open: boolean) => void;
@@ -1 +1 @@
1
- import{r as t,c as r}from"../register-C7mFN5zX.js";import{bo as p}from"../propTypes-COrwsvp_.js";import{t as i}from"../Tooltip-Cs0mBEcE.js";import"../TooltipContent-BKqAMjE9.js";import"../index-BiQRbFR3.js";import"../index-CBrz5xtv.js";import"../index-DNey0luG.js";import"../index-1RyJKZmf.js";import"../index-DaPeqPEN.js";import"../index-D0MRusL3.js";import"../index-DNmr6fup.js";import"../index-DK9PStQ-.js";import"../index-Sa_DzvBO.js";import"../index-CGtgGBsk.js";import"../index-p_33FQZF.js";import"../index-BRAElrQe.js";import"../index-Ct5iBy1w.js";import"../Box-CD_vyeKU.js";import"../layers.css.ts.vanilla-XzVfQ9e1-DxlVyxxq.js";import"../recipeRuntime-BvPxdQJv.js";import"../Portal-2WhvwFvo.js";import"../PortalContext-7V9rQ1hV.js";import"../Text-Dot6kh6H.js";import"../Transition-B4taAh7L.js";import"../TransitionGroupContext-c0RzHLRc.js";import"../TransitionGroup-CnxkSKGy.js";import"../TooltipContext-CKTR6dWG.js";import"../theme-css-Bg5Y5ztL.js";import"../TooltipRoot-n30dvcJR.js";import"../TooltipTrigger-v1Mh0-lM.js";import"../Button-B8Wmyckr.js";import"../Icon-CjJgEdBj.js";import"../useSurface-DqmcNV0n.js";import"../isHoverSupported-D44d_mIZ.js";import"../index-DyVWey1I.js";import"../decorateChildren-DVsmEJ-4.js";import"../fallbackSpan-BRMhWTmO.js";import"../ButtonRoot-DafRUeDE.js";import"../DialogBody.css.ts.vanilla-7FcSSUt8-CfVYTXFy.js";import"../Spinner-DWo_8Pje.js";import"../Group-DNLUrvCe.js";import"../ButtonContext-FmlT_2XQ.js";import"../ButtonGroup-DqYGm951.js";import"../FilteredSlot-Dt0f7yi2.js";const o="ax-tooltip";var m=t(o,i,p,r);export{o as Tooltip,m as default};
1
+ import{r as t,c as r}from"../register-C974c_cg.js";import{bo as p}from"../propTypes-C2gCBZnz.js";import{t as i}from"../Tooltip-D87dvxM6.js";import"../TooltipContent-CpAld7T-.js";import"../index-TRWYvGl4.js";import"../index-CBrz5xtv.js";import"../index-BMyx8vU7.js";import"../index-BbehSwG1.js";import"../index-BeUROYny.js";import"../index-DiLL8vvX.js";import"../index-DDsqrcZ9.js";import"../index-BVxfhzCE.js";import"../index-h_5omiqY.js";import"../index-Bq3jDS6u.js";import"../index-D2-_9r4k.js";import"../index-C-0V20Ar.js";import"../index-C6RlDX0l.js";import"../Box-DjvbKV4C.js";import"../layers.css.ts.vanilla-RAdWmDOg-CndY-IMY.js";import"../recipeRuntime-BvPxdQJv.js";import"../Portal-DjP7UyEN.js";import"../PortalContext-B2WzAZua.js";import"../Text-XHcZVLu2.js";import"../Transition-BnDpvAO8.js";import"../TransitionGroupContext-C_LL9sGV.js";import"../TransitionGroup-D4bHX5Ra.js";import"../TooltipContext-2nMzBZTg.js";import"../theme-css-Bg5Y5ztL.js";import"../TooltipRoot-Czdr2FNn.js";import"../TooltipTrigger-C_Vm21Sg.js";import"../Button-5JkQ4DAU.js";import"../Icon-DhX_MmZS.js";import"../useSurface-CjHKubl-.js";import"../isHoverSupported-D44d_mIZ.js";import"../index-DyVWey1I.js";import"../decorateChildren--hsuDKKk.js";import"../fallbackSpan-BaIZndNW.js";import"../ButtonRoot-Da_x3vLJ.js";import"../AvatarGroup.css.ts.vanilla-YgV0ZPi4-B8gkD4Zm.js";import"../Spinner-CyDpYVNh.js";import"../Group-pGETTBKk.js";import"../ButtonContext-CkiOYmnb.js";import"../ButtonGroup-DW51JRUL.js";import"../FilteredSlot-Bv-G8W19.js";const o="ax-tooltip";var m=t(o,i,p,r);export{o as Tooltip,m as default};
@@ -9,10 +9,10 @@ type TooltipContentProps = BoxProps & {
9
9
  "asChild"?: false | true;
10
10
  "as-child"?: false | true;
11
11
  "aria-label"?: string;
12
- "side"?: "top" | "right" | "bottom" | "left";
13
- "align"?: "center" | "end" | "start";
14
12
  "onEscapeKeyDown"?: (event: KeyboardEvent) => void;
15
13
  "onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
14
+ "align"?: "end" | "start" | "center";
15
+ "side"?: "left" | "right" | "top" | "bottom";
16
16
  "disableHoverableContent"?: false | true;
17
17
  "disable-hoverable-content"?: false | true;
18
18
  };
@@ -1 +1 @@
1
- import{r as t,c as r}from"../register-C7mFN5zX.js";import{bp as p}from"../propTypes-COrwsvp_.js";import{r as i}from"../TooltipContent-BKqAMjE9.js";import"../index-BiQRbFR3.js";import"../index-CBrz5xtv.js";import"../index-DNey0luG.js";import"../index-1RyJKZmf.js";import"../index-DaPeqPEN.js";import"../index-D0MRusL3.js";import"../index-DNmr6fup.js";import"../index-DK9PStQ-.js";import"../index-Sa_DzvBO.js";import"../index-CGtgGBsk.js";import"../index-p_33FQZF.js";import"../index-BRAElrQe.js";import"../index-Ct5iBy1w.js";import"../Box-CD_vyeKU.js";import"../layers.css.ts.vanilla-XzVfQ9e1-DxlVyxxq.js";import"../recipeRuntime-BvPxdQJv.js";import"../Portal-2WhvwFvo.js";import"../PortalContext-7V9rQ1hV.js";import"../Text-Dot6kh6H.js";import"../Transition-B4taAh7L.js";import"../TransitionGroupContext-c0RzHLRc.js";import"../TransitionGroup-CnxkSKGy.js";import"../TooltipContext-CKTR6dWG.js";import"../theme-css-Bg5Y5ztL.js";const o="ax-tooltip-content";var m=t(o,i,p,r);export{o as TooltipContent,m as default};
1
+ import{r as t,c as r}from"../register-C974c_cg.js";import{bp as p}from"../propTypes-C2gCBZnz.js";import{r as i}from"../TooltipContent-CpAld7T-.js";import"../index-TRWYvGl4.js";import"../index-CBrz5xtv.js";import"../index-BMyx8vU7.js";import"../index-BbehSwG1.js";import"../index-BeUROYny.js";import"../index-DiLL8vvX.js";import"../index-DDsqrcZ9.js";import"../index-BVxfhzCE.js";import"../index-h_5omiqY.js";import"../index-Bq3jDS6u.js";import"../index-D2-_9r4k.js";import"../index-C-0V20Ar.js";import"../index-C6RlDX0l.js";import"../Box-DjvbKV4C.js";import"../layers.css.ts.vanilla-RAdWmDOg-CndY-IMY.js";import"../recipeRuntime-BvPxdQJv.js";import"../Portal-DjP7UyEN.js";import"../PortalContext-B2WzAZua.js";import"../Text-XHcZVLu2.js";import"../Transition-BnDpvAO8.js";import"../TransitionGroupContext-C_LL9sGV.js";import"../TransitionGroup-D4bHX5Ra.js";import"../TooltipContext-2nMzBZTg.js";import"../theme-css-Bg5Y5ztL.js";const o="ax-tooltip-content";var m=t(o,i,p,r);export{o as TooltipContent,m as default};
@@ -1 +1 @@
1
- import{r,c as t}from"../register-C7mFN5zX.js";import{bq as i}from"../propTypes-COrwsvp_.js";import{o as p}from"../TooltipProvider-0sjJzTny.js";import"../index-BiQRbFR3.js";import"../index-CBrz5xtv.js";import"../index-DNey0luG.js";import"../index-1RyJKZmf.js";import"../index-DaPeqPEN.js";import"../index-D0MRusL3.js";import"../index-DNmr6fup.js";import"../index-DK9PStQ-.js";import"../index-Sa_DzvBO.js";import"../index-CGtgGBsk.js";import"../index-p_33FQZF.js";import"../index-BRAElrQe.js";import"../index-Ct5iBy1w.js";const o="ax-tooltip-provider";var m=r(o,p,i,t);export{o as TooltipProvider,m as default};
1
+ import{r,c as t}from"../register-C974c_cg.js";import{bq as i}from"../propTypes-C2gCBZnz.js";import{o as p}from"../TooltipProvider-BWX0tJ1R.js";import"../index-TRWYvGl4.js";import"../index-CBrz5xtv.js";import"../index-BMyx8vU7.js";import"../index-BbehSwG1.js";import"../index-BeUROYny.js";import"../index-DiLL8vvX.js";import"../index-DDsqrcZ9.js";import"../index-BVxfhzCE.js";import"../index-h_5omiqY.js";import"../index-Bq3jDS6u.js";import"../index-D2-_9r4k.js";import"../index-C-0V20Ar.js";import"../index-C6RlDX0l.js";const o="ax-tooltip-provider";var m=r(o,p,i,t);export{o as TooltipProvider,m as default};
@@ -1 +1 @@
1
- import{r as t,c as r}from"../register-C7mFN5zX.js";import{br as p}from"../propTypes-COrwsvp_.js";import{m as i}from"../TooltipRoot-n30dvcJR.js";import"../index-BiQRbFR3.js";import"../index-CBrz5xtv.js";import"../index-DNey0luG.js";import"../index-1RyJKZmf.js";import"../index-DaPeqPEN.js";import"../index-D0MRusL3.js";import"../index-DNmr6fup.js";import"../index-DK9PStQ-.js";import"../index-Sa_DzvBO.js";import"../index-CGtgGBsk.js";import"../index-p_33FQZF.js";import"../index-BRAElrQe.js";import"../index-Ct5iBy1w.js";import"../TooltipContext-CKTR6dWG.js";const o="ax-tooltip-root";var m=t(o,i,p,r);export{o as TooltipRoot,m as default};
1
+ import{r as t,c as r}from"../register-C974c_cg.js";import{br as p}from"../propTypes-C2gCBZnz.js";import{m as i}from"../TooltipRoot-Czdr2FNn.js";import"../index-TRWYvGl4.js";import"../index-CBrz5xtv.js";import"../index-BMyx8vU7.js";import"../index-BbehSwG1.js";import"../index-BeUROYny.js";import"../index-DiLL8vvX.js";import"../index-DDsqrcZ9.js";import"../index-BVxfhzCE.js";import"../index-h_5omiqY.js";import"../index-Bq3jDS6u.js";import"../index-D2-_9r4k.js";import"../index-C-0V20Ar.js";import"../index-C6RlDX0l.js";import"../TooltipContext-2nMzBZTg.js";const o="ax-tooltip-root";var m=t(o,i,p,r);export{o as TooltipRoot,m as default};
@@ -1 +1 @@
1
- import{r as o,c as t}from"../register-C7mFN5zX.js";import{bs as i}from"../propTypes-COrwsvp_.js";import{t as p}from"../TooltipTrigger-v1Mh0-lM.js";import"../index-DNey0luG.js";import"../index-BiQRbFR3.js";import"../index-CBrz5xtv.js";import"../index-1RyJKZmf.js";import"../index-DaPeqPEN.js";import"../index-D0MRusL3.js";import"../index-DNmr6fup.js";import"../index-DK9PStQ-.js";import"../index-Sa_DzvBO.js";import"../index-CGtgGBsk.js";import"../index-p_33FQZF.js";import"../index-BRAElrQe.js";import"../index-Ct5iBy1w.js";import"../Button-B8Wmyckr.js";import"../Icon-CjJgEdBj.js";import"../Box-CD_vyeKU.js";import"../layers.css.ts.vanilla-XzVfQ9e1-DxlVyxxq.js";import"../recipeRuntime-BvPxdQJv.js";import"../useSurface-DqmcNV0n.js";import"../isHoverSupported-D44d_mIZ.js";import"../index-DyVWey1I.js";import"../decorateChildren-DVsmEJ-4.js";import"../fallbackSpan-BRMhWTmO.js";import"../ButtonRoot-DafRUeDE.js";import"../DialogBody.css.ts.vanilla-7FcSSUt8-CfVYTXFy.js";import"../Spinner-DWo_8Pje.js";import"../Group-DNLUrvCe.js";import"../Transition-B4taAh7L.js";import"../TransitionGroupContext-c0RzHLRc.js";import"../TransitionGroup-CnxkSKGy.js";import"../ButtonContext-FmlT_2XQ.js";import"../Text-Dot6kh6H.js";import"../ButtonGroup-DqYGm951.js";import"../FilteredSlot-Dt0f7yi2.js";import"../TooltipContext-CKTR6dWG.js";const r="ax-tooltip-trigger";var m=o(r,p,i,t);export{r as TooltipTrigger,m as default};
1
+ import{r as o,c as t}from"../register-C974c_cg.js";import{bs as i}from"../propTypes-C2gCBZnz.js";import{t as p}from"../TooltipTrigger-C_Vm21Sg.js";import"../index-BMyx8vU7.js";import"../index-TRWYvGl4.js";import"../index-CBrz5xtv.js";import"../index-BbehSwG1.js";import"../index-BeUROYny.js";import"../index-DiLL8vvX.js";import"../index-DDsqrcZ9.js";import"../index-BVxfhzCE.js";import"../index-h_5omiqY.js";import"../index-Bq3jDS6u.js";import"../index-D2-_9r4k.js";import"../index-C-0V20Ar.js";import"../index-C6RlDX0l.js";import"../Button-5JkQ4DAU.js";import"../Icon-DhX_MmZS.js";import"../Box-DjvbKV4C.js";import"../layers.css.ts.vanilla-RAdWmDOg-CndY-IMY.js";import"../recipeRuntime-BvPxdQJv.js";import"../useSurface-CjHKubl-.js";import"../isHoverSupported-D44d_mIZ.js";import"../index-DyVWey1I.js";import"../decorateChildren--hsuDKKk.js";import"../fallbackSpan-BaIZndNW.js";import"../ButtonRoot-Da_x3vLJ.js";import"../AvatarGroup.css.ts.vanilla-YgV0ZPi4-B8gkD4Zm.js";import"../Spinner-CyDpYVNh.js";import"../Group-pGETTBKk.js";import"../Transition-BnDpvAO8.js";import"../TransitionGroupContext-C_LL9sGV.js";import"../TransitionGroup-D4bHX5Ra.js";import"../ButtonContext-CkiOYmnb.js";import"../Text-XHcZVLu2.js";import"../ButtonGroup-DW51JRUL.js";import"../FilteredSlot-Bv-G8W19.js";import"../TooltipContext-2nMzBZTg.js";const r="ax-tooltip-trigger";var m=o(r,p,i,t);export{r as TooltipTrigger,m as default};
@@ -9,7 +9,7 @@ type TransitionProps = {
9
9
  "duration"?: "sm" | "md" | "lg";
10
10
  "className"?: string;
11
11
  "class-name"?: string;
12
- "data-side"?: "top" | "right" | "bottom" | "left";
12
+ "data-side"?: "left" | "right" | "top" | "bottom";
13
13
  "skipAnimations"?: false | true;
14
14
  "skip-animations"?: false | true;
15
15
  "type"?: "fade" | "pop";
@@ -1 +1 @@
1
- import{r as o,c as t}from"../register-C7mFN5zX.js";import{bt as i}from"../propTypes-COrwsvp_.js";import{f as m}from"../Transition-B4taAh7L.js";import"../index-DNey0luG.js";import"../layers.css.ts.vanilla-XzVfQ9e1-DxlVyxxq.js";import"../recipeRuntime-BvPxdQJv.js";import"../TransitionGroupContext-c0RzHLRc.js";import"../index-1RyJKZmf.js";const r="ax-transition";var s=o(r,m,i,t);export{r as Transition,s as default};
1
+ import{r as o,c as t}from"../register-C974c_cg.js";import{bt as i}from"../propTypes-C2gCBZnz.js";import{f as a}from"../Transition-BnDpvAO8.js";import"../index-BMyx8vU7.js";import"../layers.css.ts.vanilla-RAdWmDOg-CndY-IMY.js";import"../recipeRuntime-BvPxdQJv.js";import"../TransitionGroupContext-C_LL9sGV.js";import"../index-BbehSwG1.js";const r="ax-transition";var m=o(r,a,i,t);export{r as Transition,m as default};
@@ -1 +1 @@
1
- import{r as o,c as t}from"../register-C7mFN5zX.js";import{bu as i}from"../propTypes-COrwsvp_.js";import{f as p}from"../TransitionGroup-CnxkSKGy.js";import"../index-BRAElrQe.js";import"../index-Sa_DzvBO.js";import"../TransitionGroupContext-c0RzHLRc.js";import"../index-1RyJKZmf.js";const r="ax-transition-group";var s=o(r,p,i,t);export{r as TransitionGroup,s as default};
1
+ import{r as o,c as t}from"../register-C974c_cg.js";import{bu as i}from"../propTypes-C2gCBZnz.js";import{f as p}from"../TransitionGroup-D4bHX5Ra.js";import"../index-C-0V20Ar.js";import"../index-h_5omiqY.js";import"../TransitionGroupContext-C_LL9sGV.js";import"../index-BbehSwG1.js";const r="ax-transition-group";var a=o(r,p,i,t);export{r as TransitionGroup,a as default};
@@ -0,0 +1 @@
1
+ import{X as o}from"./register-C974c_cg.js";const t=o(void 0),i=o(void 0);export{i as e,t};
@@ -1 +1 @@
1
- import{m as n,e as r}from"./register-C7mFN5zX.js";const p=({asChild:t,children:s},i)=>{if(t){const e=n(s)?s:null;return e?r(e,void 0,p({...e.props,asChild:e.props.asChild||typeof e.type!="string"&&"displayName"in e.type&&typeof e.type.displayName=="string"&&e.type.displayName?.endsWith(".Slot")},i)):s}else return i(s)};export{p as s};
1
+ import{h as n,m as r}from"./register-C974c_cg.js";const p=({asChild:t,children:s},i)=>{if(t){const e=n(s)?s:null;return e?r(e,void 0,p({...e.props,asChild:e.props.asChild||typeof e.type!="string"&&"displayName"in e.type&&typeof e.type.displayName=="string"&&e.type.displayName?.endsWith(".Slot")},i)):s}else return i(s)};export{p as s};
@@ -0,0 +1 @@
1
+ import{h as o,S as p,u as t}from"./register-C974c_cg.js";const e=n=>o(n)&&n.type!==p?n:t("span",{children:n});export{e as m};
@@ -0,0 +1 @@
1
+ import{q as C,D as S,L as a,h as f,u as p,m,S as g}from"./register-C974c_cg.js";function b(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function y(...t){return n=>{let r=!1;const o=t.map(e=>{const l=b(e,n);return!r&&typeof l=="function"&&(r=!0),l});if(r)return()=>{for(let e=0;e<o.length;e++){const l=o[e];typeof l=="function"?l():b(t[e],null)}}}}function _(...t){return C(y(...t),t)}function I(t){const n=x(t),r=S((o,e)=>{const{children:l,...i}=o,s=a.toArray(l),c=s.find(N);if(c){const u=c.props.children,h=s.map(d=>d===c?a.count(u)>1?a.only(null):f(u)?u.props.children:null:d);return p(n,{...i,ref:e,children:f(u)?m(u,void 0,h):null})}return p(n,{...i,ref:e,children:l})});return r.displayName=`${t}.Slot`,r}function x(t){const n=S((r,o)=>{const{children:e,...l}=r;if(f(e)){const i=P(e),s=O(l,e.props);return e.type!==g&&(s.ref=o?y(o,i):i),m(e,s)}return a.count(e)>1?a.only(null):null});return n.displayName=`${t}.SlotClone`,n}var R=Symbol("radix.slottable");function E(t){const n=({children:r})=>p(g,{children:r});return n.displayName=`${t}.Slottable`,n.__radixId=R,n}function N(t){return f(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===R}function O(t,n){const r={...n};for(const o in n){const e=t[o],l=n[o];/^on[A-Z]/.test(o)?e&&l?r[o]=(...s)=>{const c=l(...s);return e(...s),c}:e&&(r[o]=e):o==="style"?r[o]={...e,...l}:o==="className"&&(r[o]=[e,l].filter(Boolean).join(" "))}return{...t,...r}}function P(t){let n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?t.ref:(n=Object.getOwnPropertyDescriptor(t,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?t.props.ref:t.props.ref||t.ref)}export{E as a,y as b,I as c,_ as u};
@@ -0,0 +1 @@
1
+ import{d as a,R as s}from"./register-C974c_cg.js";import{u as e}from"./index-h_5omiqY.js";var f=s[" useId ".trim().toString()]||(()=>{}),n=0;function c(t){const[o,r]=a(f());return e(()=>{t||r(u=>u??String(n++))},[t]),t||(o?`radix-${o}`:"")}export{c as u};
@@ -1 +1 @@
1
- import{Q as S,T as d,u as P,x as l}from"./register-C7mFN5zX.js";function w(t,c){const o=S(c),i=r=>{const{children:e,...n}=r,s=d(()=>n,Object.values(n));return P(o.Provider,{value:s,children:e})};i.displayName=t+"Provider";function u(r){const e=l(o);if(e)return e;if(c!==void 0)return c;throw new Error(`\`${r}\` must be used within \`${t}\``)}return[i,u]}function C(t,c=[]){let o=[];function i(r,e){const n=S(e),s=o.length;o=[...o,e];const a=p=>{const{scope:v,children:f,...x}=p,m=v?.[t]?.[s]||n,$=d(()=>x,Object.values(x));return P(m.Provider,{value:$,children:f})};a.displayName=r+"Provider";function h(p,v){const f=v?.[t]?.[s]||n,x=l(f);if(x)return x;if(e!==void 0)return e;throw new Error(`\`${p}\` must be used within \`${r}\``)}return[a,h]}const u=()=>{const r=o.map(e=>S(e));return function(n){const s=n?.[t]||r;return d(()=>({[`__scope${t}`]:{...n,[t]:s}}),[n,s])}};return u.scopeName=t,[i,_(u,...c)]}function _(...t){const c=t[0];if(t.length===1)return c;const o=()=>{const i=t.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(r){const e=i.reduce((n,{useScope:s,scopeName:a})=>{const p=s(r)[`__scope${a}`];return{...n,...p}},{});return d(()=>({[`__scope${c.scopeName}`]:e}),[e])}};return o.scopeName=c.scopeName,o}export{C as a,w as c};
1
+ import{X as S,T as d,u as P,x as l}from"./register-C974c_cg.js";function w(t,c){const o=S(c),i=r=>{const{children:e,...n}=r,s=d(()=>n,Object.values(n));return P(o.Provider,{value:s,children:e})};i.displayName=t+"Provider";function u(r){const e=l(o);if(e)return e;if(c!==void 0)return c;throw new Error(`\`${r}\` must be used within \`${t}\``)}return[i,u]}function C(t,c=[]){let o=[];function i(r,e){const n=S(e),s=o.length;o=[...o,e];const a=p=>{const{scope:v,children:f,...x}=p,m=v?.[t]?.[s]||n,$=d(()=>x,Object.values(x));return P(m.Provider,{value:$,children:f})};a.displayName=r+"Provider";function h(p,v){const f=v?.[t]?.[s]||n,x=l(f);if(x)return x;if(e!==void 0)return e;throw new Error(`\`${p}\` must be used within \`${r}\``)}return[a,h]}const u=()=>{const r=o.map(e=>S(e));return function(n){const s=n?.[t]||r;return d(()=>({[`__scope${t}`]:{...n,[t]:s}}),[n,s])}};return u.scopeName=t,[i,_(u,...c)]}function _(...t){const c=t[0];if(t.length===1)return c;const o=()=>{const i=t.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(r){const e=i.reduce((n,{useScope:s,scopeName:a})=>{const p=s(r)[`__scope${a}`];return{...n,...p}},{});return d(()=>({[`__scope${c.scopeName}`]:e}),[e])}};return o.scopeName=c.scopeName,o}export{C as a,w as c};
@@ -1 +1 @@
1
- import{y as l,D as g,x as B,Q,d as T,u as R,A as y}from"./register-C7mFN5zX.js";import{c as p}from"./index-CBrz5xtv.js";import{P as F,d as X}from"./index-D0MRusL3.js";import{u as I}from"./index-DNey0luG.js";import{u as m}from"./index-DNmr6fup.js";function Y(s,e=globalThis?.document){const t=m(s);l(()=>{const i=n=>{n.key==="Escape"&&t(n)};return e.addEventListener("keydown",i,{capture:!0}),()=>e.removeEventListener("keydown",i,{capture:!0})},[t,e])}var j="DismissableLayer",b="dismissableLayer.update",q="dismissableLayer.pointerDownOutside",G="dismissableLayer.focusOutside",A,W=Q({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),D=g((s,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:i,onPointerDownOutside:n,onFocusOutside:a,onInteractOutside:v,onDismiss:d,...f}=s,o=B(W),[c,S]=T(null),u=c?.ownerDocument??globalThis?.document,[,_]=T({}),U=I(e,r=>S(r)),P=Array.from(o.layers),[z]=[...o.layersWithOutsidePointerEventsDisabled].slice(-1),H=P.indexOf(z),O=c?P.indexOf(c):-1,K=o.layersWithOutsidePointerEventsDisabled.size>0,L=O>=H,M=V(r=>{const E=r.target,w=[...o.branches].some(h=>h.contains(E));!L||w||(n?.(r),v?.(r),r.defaultPrevented||d?.())},u),C=Z(r=>{const E=r.target;[...o.branches].some(h=>h.contains(E))||(a?.(r),v?.(r),r.defaultPrevented||d?.())},u);return Y(r=>{O===o.layers.size-1&&(i?.(r),!r.defaultPrevented&&d&&(r.preventDefault(),d()))},u),l(()=>{if(c)return t&&(o.layersWithOutsidePointerEventsDisabled.size===0&&(A=u.body.style.pointerEvents,u.body.style.pointerEvents="none"),o.layersWithOutsidePointerEventsDisabled.add(c)),o.layers.add(c),x(),()=>{t&&o.layersWithOutsidePointerEventsDisabled.size===1&&(u.body.style.pointerEvents=A)}},[c,u,t,o]),l(()=>()=>{c&&(o.layers.delete(c),o.layersWithOutsidePointerEventsDisabled.delete(c),x())},[c,o]),l(()=>{const r=()=>_({});return document.addEventListener(b,r),()=>document.removeEventListener(b,r)},[]),R(F.div,{...f,ref:U,style:{pointerEvents:K?L?"auto":"none":void 0,...s.style},onFocusCapture:p(s.onFocusCapture,C.onFocusCapture),onBlurCapture:p(s.onBlurCapture,C.onBlurCapture),onPointerDownCapture:p(s.onPointerDownCapture,M.onPointerDownCapture)})});D.displayName=j;var J="DismissableLayerBranch",k=g((s,e)=>{const t=B(W),i=y(null),n=I(e,i);return l(()=>{const a=i.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),R(F.div,{...s,ref:n})});k.displayName=J;function V(s,e=globalThis?.document){const t=m(s),i=y(!1),n=y(()=>{});return l(()=>{const a=d=>{if(d.target&&!i.current){let f=function(){N(q,t,o,{discrete:!0})};const o={originalEvent:d};d.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=f,e.addEventListener("click",n.current,{once:!0})):f()}else e.removeEventListener("click",n.current);i.current=!1},v=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(v),e.removeEventListener("pointerdown",a),e.removeEventListener("click",n.current)}},[e,t]),{onPointerDownCapture:()=>i.current=!0}}function Z(s,e=globalThis?.document){const t=m(s),i=y(!1);return l(()=>{const n=a=>{a.target&&!i.current&&N(G,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,t]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function x(){const s=new CustomEvent(b);document.dispatchEvent(s)}function N(s,e,t,{discrete:i}){const n=t.originalEvent.target,a=new CustomEvent(s,{bubbles:!1,cancelable:!0,detail:t});e&&n.addEventListener(s,e,{once:!0}),i?X(n,a):n.dispatchEvent(a)}var $=D,ee=k;export{ee as B,D,$ as R};
1
+ import{y as l,D as g,x as B,d as T,u as R,X,A as y}from"./register-C974c_cg.js";import{c as p}from"./index-CBrz5xtv.js";import{P as F,d as Y}from"./index-DiLL8vvX.js";import{u as I}from"./index-BMyx8vU7.js";import{u as m}from"./index-DDsqrcZ9.js";function j(s,e=globalThis?.document){const t=m(s);l(()=>{const i=n=>{n.key==="Escape"&&t(n)};return e.addEventListener("keydown",i,{capture:!0}),()=>e.removeEventListener("keydown",i,{capture:!0})},[t,e])}var q="DismissableLayer",b="dismissableLayer.update",G="dismissableLayer.pointerDownOutside",J="dismissableLayer.focusOutside",A,W=X({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),D=g((s,e)=>{const{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:i,onPointerDownOutside:n,onFocusOutside:a,onInteractOutside:v,onDismiss:d,...f}=s,o=B(W),[c,S]=T(null),u=c?.ownerDocument??globalThis?.document,[,_]=T({}),U=I(e,r=>S(r)),P=Array.from(o.layers),[z]=[...o.layersWithOutsidePointerEventsDisabled].slice(-1),H=P.indexOf(z),O=c?P.indexOf(c):-1,K=o.layersWithOutsidePointerEventsDisabled.size>0,L=O>=H,M=V(r=>{const E=r.target,w=[...o.branches].some(h=>h.contains(E));!L||w||(n?.(r),v?.(r),r.defaultPrevented||d?.())},u),C=Z(r=>{const E=r.target;[...o.branches].some(h=>h.contains(E))||(a?.(r),v?.(r),r.defaultPrevented||d?.())},u);return j(r=>{O===o.layers.size-1&&(i?.(r),!r.defaultPrevented&&d&&(r.preventDefault(),d()))},u),l(()=>{if(c)return t&&(o.layersWithOutsidePointerEventsDisabled.size===0&&(A=u.body.style.pointerEvents,u.body.style.pointerEvents="none"),o.layersWithOutsidePointerEventsDisabled.add(c)),o.layers.add(c),x(),()=>{t&&o.layersWithOutsidePointerEventsDisabled.size===1&&(u.body.style.pointerEvents=A)}},[c,u,t,o]),l(()=>()=>{c&&(o.layers.delete(c),o.layersWithOutsidePointerEventsDisabled.delete(c),x())},[c,o]),l(()=>{const r=()=>_({});return document.addEventListener(b,r),()=>document.removeEventListener(b,r)},[]),R(F.div,{...f,ref:U,style:{pointerEvents:K?L?"auto":"none":void 0,...s.style},onFocusCapture:p(s.onFocusCapture,C.onFocusCapture),onBlurCapture:p(s.onBlurCapture,C.onBlurCapture),onPointerDownCapture:p(s.onPointerDownCapture,M.onPointerDownCapture)})});D.displayName=q;var Q="DismissableLayerBranch",k=g((s,e)=>{const t=B(W),i=y(null),n=I(e,i);return l(()=>{const a=i.current;if(a)return t.branches.add(a),()=>{t.branches.delete(a)}},[t.branches]),R(F.div,{...s,ref:n})});k.displayName=Q;function V(s,e=globalThis?.document){const t=m(s),i=y(!1),n=y(()=>{});return l(()=>{const a=d=>{if(d.target&&!i.current){let f=function(){N(G,t,o,{discrete:!0})};const o={originalEvent:d};d.pointerType==="touch"?(e.removeEventListener("click",n.current),n.current=f,e.addEventListener("click",n.current,{once:!0})):f()}else e.removeEventListener("click",n.current);i.current=!1},v=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(v),e.removeEventListener("pointerdown",a),e.removeEventListener("click",n.current)}},[e,t]),{onPointerDownCapture:()=>i.current=!0}}function Z(s,e=globalThis?.document){const t=m(s),i=y(!1);return l(()=>{const n=a=>{a.target&&!i.current&&N(J,t,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",n),()=>e.removeEventListener("focusin",n)},[e,t]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function x(){const s=new CustomEvent(b);document.dispatchEvent(s)}function N(s,e,t,{discrete:i}){const n=t.originalEvent.target,a=new CustomEvent(s,{bubbles:!1,cancelable:!0,detail:t});e&&n.addEventListener(s,e,{once:!0}),i?Y(n,a):n.dispatchEvent(a)}var $=D,ee=k;export{ee as B,D,$ as R};
@@ -1 +1 @@
1
- import{d as Y,q as vt,A as G,b as Oe,y as Bt,T as at,E as Pe,D as ft,u as j}from"./register-C7mFN5zX.js";import{P as bt}from"./index-D0MRusL3.js";import{u as Vt}from"./index-DNey0luG.js";import{a as Re}from"./index-1RyJKZmf.js";import{u as Ce}from"./index-DNmr6fup.js";import{u as At}from"./index-Sa_DzvBO.js";const Se=["top","right","bottom","left"],Z=Math.min,H=Math.max,ut=Math.round,dt=Math.floor,B=t=>({x:t,y:t}),Ee={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ot(t,e,n){return H(t,Z(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Pt(t){return t==="x"?"y":"x"}function Rt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(q(t))?"y":"x"}function Ct(t){return Pt(U(t))}function De(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Ct(t),r=Rt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=pt(s)),[s,pt(s)]}function Le(t){const e=pt(t);return[St(t),e,St(e)]}function St(t){return t.replace(/start|end/g,e=>Te[e])}function Me(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function $e(t,e,n,o){const i=Q(t);let r=Me(q(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(St)))),r}function pt(t){return t.replace(/left|right|bottom|top/g,e=>Ee[e])}function ke(t){return{top:0,right:0,bottom:0,left:0,...t}}function It(t){return typeof t!="number"?ke(t):{top:t,right:t,bottom:t,left:t}}function ht(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Yt(t,e,n){let{reference:o,floating:i}=t;const r=U(e),s=Ct(e),c=Rt(s),l=q(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}const Fe=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Yt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x:v,y:b,data:x,reset:y}=await g({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=v??f,u=b??u,d={...d,[w]:{...d[w],...x}},y&&p<=50&&(p++,typeof y=="object"&&(y.placement&&(h=y.placement),y.rects&&(a=y.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):y.rects),{x:f,y:u}=Yt(a,h,l)),m=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=It(d),w=c[h?u==="floating"?"reference":"floating":u],g=ht(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),v=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),x=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},y=ht(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:l}):v);return{top:(g.top-y.top+p.top)/x.y,bottom:(y.bottom-g.bottom+p.bottom)/x.y,left:(g.left-y.left+p.left)/x.x,right:(y.right-g.right+p.right)/x.x}}const Ne=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=It(f),h={x:n,y:o},d=Ct(i),p=Rt(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",v=w?"bottom":"right",b=w?"clientHeight":"clientWidth",x=r.reference[p]+r.reference[d]-h[d]-r.floating[p],y=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=P?P[b]:0;(!O||!await(s.isElement==null?void 0:s.isElement(P)))&&(O=c.floating[b]||r.floating[p]);const E=x/2-y/2,N=O/2-m[p]/2-1,C=Z(u[g],N),k=Z(u[v],N),F=C,R=O-m[p]-k,$=O/2-m[p]/2+E,T=Ot(F,$,R),D=!l.arrow&&Q(i)!=null&&$!==T&&r.reference[p]/2-($<F?C:k)-m[p]/2<0,L=D?$<F?$-F:$-R:0;return{[d]:h[d]+L,data:{[d]:T,centerOffset:$-T-L,...D&&{alignmentOffset:L}},reset:D}}}),He=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=q(i),v=U(c),b=q(c)===c,x=await(l.isRTL==null?void 0:l.isRTL(a.floating)),y=h||(b||!m?[pt(c)]:Le(c)),P=p!=="none";!h&&P&&y.push(...$e(c,m,p,x));const O=[c,...y],E=await it(e,w),N=[];let C=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&N.push(E[g]),u){const T=De(i,s,x);N.push(E[T[0]],E[T[1]])}if(C=[...C,{placement:i,overflows:N}],!N.every(T=>T<=0)){var k,F;const T=(((k=r.flip)==null?void 0:k.index)||0)+1,D=O[T];if(D){var R;const A=u==="alignment"?v!==U(D):!1,S=((R=C[0])==null?void 0:R.overflows[0])>0;if(!A||S)return{data:{index:T,overflows:C},reset:{placement:D}}}let L=(F=C.filter(A=>A.overflows[0]<=0).sort((A,S)=>A.overflows[1]-S.overflows[1])[0])==null?void 0:F.placement;if(!L)switch(d){case"bestFit":{var $;const A=($=C.filter(S=>{if(P){const M=U(S.placement);return M===v||M==="y"}return!0}).map(S=>[S.placement,S.overflows.filter(M=>M>0).reduce((M,ct)=>M+ct,0)]).sort((S,M)=>S[1]-M[1])[0])==null?void 0:$[0];A&&(L=A);break}case"initialPlacement":L=c;break}if(i!==L)return{reset:{placement:L}}}return{}}}};function jt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Xt(t){return Se.some(e=>t[e]>=0)}const We=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=jt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Xt(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=jt(r,n.floating);return{data:{escapedOffsets:s,escaped:Xt(s)}}}default:return{}}}}};async function ze(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=q(n),c=Q(n),l=U(n)==="y",a=["left","top"].includes(s)?-1:1,f=r&&l?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:h*a}:{x:h*a,y:d*f}}const _e=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await ze(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},Be=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:v}=w;return{x:g,y:v}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=U(q(i)),h=Pt(u);let d=a[h],p=a[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+f[w],b=d-f[g];d=Ot(v,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",v=p+f[w],b=p-f[g];p=Ot(v,p,b)}const m=c.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:r,[u]:s}}}}}},Ve=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=X(t,e),f={x:n,y:o},u=U(i),h=Pt(u);let d=f[h],p=f[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",x=r.reference[h]-r.floating[b]+w.mainAxis,y=r.reference[h]+r.reference[b]-w.mainAxis;d<x?d=x:d>y&&(d=y)}if(a){var g,v;const b=h==="y"?"width":"height",x=["top","left"].includes(q(i)),y=r.reference[u]-r.floating[b]+(x&&((g=s.offset)==null?void 0:g[u])||0)+(x?0:w.crossAxis),P=r.reference[u]+r.reference[b]+(x?0:((v=s.offset)==null?void 0:v[u])||0)-(x?w.crossAxis:0);p<y?p=y:p>P&&(p=P)}return{[h]:d,[u]:p}}}},Ie=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...a}=X(t,e),f=await it(e,a),u=q(i),h=Q(i),d=U(i)==="y",{width:p,height:m}=r.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=h===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=h==="end"?"top":"bottom");const v=m-f.top-f.bottom,b=p-f.left-f.right,x=Z(m-f[w],v),y=Z(p-f[g],b),P=!e.middlewareData.shift;let O=x,E=y;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(E=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(O=v),P&&!h){const C=H(f.left,0),k=H(f.right,0),F=H(f.top,0),R=H(f.bottom,0);d?E=p-2*(C!==0||k!==0?C+k:H(f.left,f.right)):O=m-2*(F!==0||R!==0?F+R:H(f.top,f.bottom))}await l({...e,availableWidth:E,availableHeight:O});const N=await s.getDimensions(c.floating);return p!==N.width||m!==N.height?{reset:{rects:!0}}:{}}}};function mt(){return typeof window<"u"}function tt(t){return qt(t)?(t.nodeName||"").toLowerCase():"#document"}function W(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(qt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qt(t){return mt()?t instanceof Node||t instanceof W(t).Node:!1}function z(t){return mt()?t instanceof Element||t instanceof W(t).Element:!1}function I(t){return mt()?t instanceof HTMLElement||t instanceof W(t).HTMLElement:!1}function Ut(t){return!mt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof W(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=_(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Ye(t){return["table","td","th"].includes(tt(t))}function gt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Et(t){const e=Tt(),n=z(t)?_(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function je(t){let e=K(t);for(;I(e)&&!et(e);){if(Et(e))return e;if(gt(e))return null;e=K(e)}return null}function Tt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function _(t){return W(t).getComputedStyle(t)}function wt(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ut(t)&&t.host||V(t);return Ut(e)?e.host:e}function Zt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Zt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Zt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=W(i);if(r){const c=Dt(s);return e.concat(s,s.visualViewport||[],rt(i)?i:[],c&&n?st(c):[])}return e.concat(i,st(i,[],n))}function Dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Kt(t){const e=_(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=ut(n)!==r||ut(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Lt(t){return z(t)?t:t.contextElement}function nt(t){const e=Lt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Kt(e);let s=(r?ut(n.width):n.width)/o,c=(r?ut(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Xe=B(0);function Gt(t){const e=W(t);return!Tt()||!e.visualViewport?Xe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==W(t)?!1:e}function J(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Lt(t);let s=B(1);e&&(o?z(o)&&(s=nt(o)):s=nt(t));const c=qe(r,n,o)?Gt(r):B(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){const h=W(r),d=o&&z(o)?W(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),v=_(m),b=g.left+(m.clientLeft+parseFloat(v.paddingLeft))*w.x,x=g.top+(m.clientTop+parseFloat(v.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=x,p=W(m),m=Dt(p)}}return ht({width:f,height:u,x:l,y:a})}function Mt(t,e){const n=wt(t).scrollLeft;return e?e.left+n:J(V(t)).left+n}function Jt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Mt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function Ue(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=V(o),c=e?gt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=B(1);const f=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=wt(o)),I(o))){const d=J(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Jt(s,l,!0):B(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-l.scrollTop*a.y+f.y+h.y}}function Ze(t){return Array.from(t.getClientRects())}function Ke(t){const e=V(t),n=wt(t),o=t.ownerDocument.body,i=H(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=H(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Mt(t);const c=-n.scrollTop;return _(o).direction==="rtl"&&(s+=H(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ge(t,e){const n=W(t),o=V(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const a=Tt();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Je(t,e){const n=J(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?nt(t):B(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function Qt(t,e,n){let o;if(e==="viewport")o=Ge(t,n);else if(e==="document")o=Ke(V(t));else if(z(e))o=Je(e,n);else{const i=Gt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return ht(o)}function te(t,e){const n=K(t);return n===e||!z(n)||et(n)?!1:_(n).position==="fixed"||te(n,e)}function Qe(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>z(c)&&tt(c)!=="body"),i=null;const r=_(t).position==="fixed";let s=r?K(t):t;for(;z(s)&&!et(s);){const c=_(s),l=Et(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&te(t,s))?o=o.filter(f=>f!==s):i=c,s=K(s)}return e.set(t,o),o}function tn(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?gt(e)?[]:Qe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Qt(e,f,i);return a.top=H(u.top,a.top),a.right=Z(u.right,a.right),a.bottom=Z(u.bottom,a.bottom),a.left=H(u.left,a.left),a},Qt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function en(t){const{width:e,height:n}=Kt(t);return{width:e,height:n}}function nn(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=J(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);function a(){l.x=Mt(i)}if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=wt(e)),o){const d=J(e,!0,r,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();const f=i&&!o&&!r?Jt(i,c):B(0),u=s.left+c.scrollLeft-l.x-f.x,h=s.top+c.scrollTop-l.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function $t(t){return _(t).position==="static"}function ee(t,e){if(!I(t)||_(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function ne(t,e){const n=W(t);if(gt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(z(i)&&!$t(i))return i;i=K(i)}return n}let o=ee(t,e);for(;o&&Ye(o)&&$t(o);)o=ee(o,e);return o&&et(o)&&$t(o)&&!Et(o)?n:o||je(t)||n}const on=async function(t){const e=this.getOffsetParent||ne,n=this.getDimensions,o=await n(t.floating);return{reference:nn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function rn(t){return _(t).direction==="rtl"}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:Ue,getDocumentElement:V,getClippingRect:tn,getOffsetParent:ne,getElementRects:on,getClientRects:Ze,getDimensions:en,getScale:nt,isElement:z,isRTL:rn};function oe(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function cn(t,e){let n=null,o;const i=V(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(c||e(),!h||!d)return;const p=dt(u),m=dt(i.clientWidth-(f+h)),w=dt(i.clientHeight-(u+d)),g=dt(f),b={rootMargin:-p+"px "+-m+"px "+-w+"px "+-g+"px",threshold:H(0,Z(1,l))||1};let x=!0;function y(P){const O=P[0].intersectionRatio;if(O!==l){if(!x)return s();O?s(!1,O):o=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!oe(a,t.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(y,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,b)}n.observe(t)}return s(!0),r}function ln(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Lt(t),f=i||r?[...a?st(a):[],...st(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?cn(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[v]=g;v&&v.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,m=l?J(t):null;l&&w();function w(){const g=J(t);m&&!oe(m,g)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(v=>{i&&v.removeEventListener("scroll",n),r&&v.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const an=_e,fn=Be,un=He,dn=Ie,pn=We,ie=Ne,hn=Ve,mn=(t,e,n)=>{const o=new Map,i={platform:sn,...n},r={...i.platform,_c:o};return Fe(t,e,{...i,platform:r})};var xt=typeof document<"u"?Oe:Bt;function yt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!yt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!yt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function re(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function se(t,e){const n=re(t);return Math.round(e*n)/n}function kt(t){const e=G(t);return xt(()=>{e.current=t}),e}function gn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=Y({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,d]=Y(o);yt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),v=vt(A=>{A!==P.current&&(P.current=A,m(A))},[]),b=vt(A=>{A!==O.current&&(O.current=A,g(A))},[]),x=r||p,y=s||w,P=G(null),O=G(null),E=G(f),N=l!=null,C=kt(l),k=kt(i),F=kt(a),R=vt(()=>{if(!P.current||!O.current)return;const A={placement:e,strategy:n,middleware:h};k.current&&(A.platform=k.current),mn(P.current,O.current,A).then(S=>{const M={...S,isPositioned:F.current!==!1};$.current&&!yt(E.current,M)&&(E.current=M,Pe(()=>{u(M)}))})},[h,e,n,k,F]);xt(()=>{a===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const $=G(!1);xt(()=>($.current=!0,()=>{$.current=!1}),[]),xt(()=>{if(x&&(P.current=x),y&&(O.current=y),x&&y){if(C.current)return C.current(x,y,R);R()}},[x,y,R,C,N]);const T=at(()=>({reference:P,floating:O,setReference:v,setFloating:b}),[v,b]),D=at(()=>({reference:x,floating:y}),[x,y]),L=at(()=>{const A={position:n,left:0,top:0};if(!D.floating)return A;const S=se(D.floating,f.x),M=se(D.floating,f.y);return c?{...A,transform:"translate("+S+"px, "+M+"px)",...re(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:S,top:M}},[n,c,D.floating,f.x,f.y]);return at(()=>({...f,update:R,refs:T,elements:D,floatingStyles:L}),[f,R,T,D,L])}const wn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?ie({element:o.current,padding:i}).fn(n):{}:o?ie({element:o,padding:i}).fn(n):{}}}},xn=(t,e)=>({...an(t),options:[t,e]}),yn=(t,e)=>({...fn(t),options:[t,e]}),vn=(t,e)=>({...hn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),An=(t,e)=>({...dn(t),options:[t,e]}),On=(t,e)=>({...pn(t),options:[t,e]}),Pn=(t,e)=>({...wn(t),options:[t,e]});var Rn="Arrow",ce=ft((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(bt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:j("polygon",{points:"0,0 30,0 15,10"})})});ce.displayName=Rn;var Cn=ce;function Sn(t){const[e,n]=Y(void 0);return At(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,c;if("borderBoxSize"in r){const l=r.borderBoxSize,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}var Ft="Popper",[le,En]=Re(Ft),[Tn,ae]=le(Ft),Nt=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(Tn,{scope:e,anchor:o,onAnchorChange:i,children:n})};Nt.displayName=Ft;var fe="PopperAnchor",Ht=ft((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=ae(fe,n),s=G(null),c=Vt(e,s),l=G(null);return Bt(()=>{const a=l.current;l.current=o?.current||s.current,a!==l.current&&r.onAnchorChange(l.current)}),o?null:j(bt.div,{...i,ref:c})});Ht.displayName=fe;var Wt="PopperContent",[Dn,Ln]=le(Wt),zt=ft((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=ae(Wt,n),[g,v]=Y(null),b=Vt(e,ot=>v(ot)),[x,y]=Y(null),P=Sn(x),O=P?.width??0,E=P?.height??0,N=o+(r!=="center"?"-"+r:""),C=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},k=Array.isArray(a)?a:[a],F=k.length>0,R={padding:C,boundary:k.filter($n),altBoundary:F},{refs:$,floatingStyles:T,placement:D,isPositioned:L,middlewareData:A}=gn({strategy:"fixed",placement:N,whileElementsMounted:(...ot)=>ln(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[xn({mainAxis:i+E,alignmentAxis:s}),l&&yn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?vn():void 0,...R}),l&&bn({...R}),An({...R,apply:({elements:ot,rects:_t,availableWidth:ye,availableHeight:ve})=>{const{width:be,height:Ae}=_t.reference,lt=ot.floating.style;lt.setProperty("--radix-popper-available-width",`${ye}px`),lt.setProperty("--radix-popper-available-height",`${ve}px`),lt.setProperty("--radix-popper-anchor-width",`${be}px`),lt.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),x&&Pn({element:x,padding:c}),kn({arrowWidth:O,arrowHeight:E}),h&&On({strategy:"referenceHidden",...R})]}),[S,M]=pe(D),ct=Ce(p);At(()=>{L&&ct?.()},[L,ct]);const he=A.arrow?.x,me=A.arrow?.y,ge=A.arrow?.centerOffset!==0,[we,xe]=Y();return At(()=>{g&&xe(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:L?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,["--radix-popper-transform-origin"]:[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:S,onArrowChange:y,arrowX:he,arrowY:me,shouldHideArrow:ge,children:j(bt.div,{"data-side":S,"data-align":M,...m,ref:b,style:{...m.style,animation:L?void 0:"none"}})})})});zt.displayName=Wt;var ue="PopperArrow",Mn={top:"bottom",right:"left",bottom:"top",left:"right"},de=ft(function(e,n){const{__scopePopper:o,...i}=e,r=Ln(ue,o),s=Mn[r.placedSide];return j("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:j(Cn,{...i,ref:n,style:{...i.style,display:"block"}})})});de.displayName=ue;function $n(t){return t!==null}var kn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=pe(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return a==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):a==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,m=s?u:`${d}px`),{data:{x:p,y:m}}}});function pe(t){const[e,n="center"]=t.split("-");return[e,n]}var Fn=Nt,Nn=Ht,Hn=zt,Wn=de;export{Nn as A,Hn as C,Nt as P,Fn as R,Wn as a,zt as b,En as c,Ht as d};
1
+ import{d as Y,q as vt,A as G,T as at,_ as Oe,y as Bt,e as Pe,D as ft,u as j}from"./register-C974c_cg.js";import{P as bt}from"./index-DiLL8vvX.js";import{u as Vt}from"./index-BMyx8vU7.js";import{a as Re}from"./index-BbehSwG1.js";import{u as Ce}from"./index-DDsqrcZ9.js";import{u as At}from"./index-h_5omiqY.js";const Se=["top","right","bottom","left"],Z=Math.min,H=Math.max,ut=Math.round,dt=Math.floor,B=t=>({x:t,y:t}),Ee={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ot(t,e,n){return H(t,Z(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Pt(t){return t==="x"?"y":"x"}function Rt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(q(t))?"y":"x"}function Ct(t){return Pt(U(t))}function De(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Ct(t),r=Rt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=pt(s)),[s,pt(s)]}function Le(t){const e=pt(t);return[St(t),e,St(e)]}function St(t){return t.replace(/start|end/g,e=>Te[e])}function Me(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function $e(t,e,n,o){const i=Q(t);let r=Me(q(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(St)))),r}function pt(t){return t.replace(/left|right|bottom|top/g,e=>Ee[e])}function ke(t){return{top:0,right:0,bottom:0,left:0,...t}}function It(t){return typeof t!="number"?ke(t):{top:t,right:t,bottom:t,left:t}}function ht(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Yt(t,e,n){let{reference:o,floating:i}=t;const r=U(e),s=Ct(e),c=Rt(s),l=q(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}const Fe=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Yt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x:v,y:b,data:x,reset:y}=await g({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=v??f,u=b??u,d={...d,[w]:{...d[w],...x}},y&&p<=50&&(p++,typeof y=="object"&&(y.placement&&(h=y.placement),y.rects&&(a=y.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):y.rects),{x:f,y:u}=Yt(a,h,l)),m=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=It(d),w=c[h?u==="floating"?"reference":"floating":u],g=ht(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),v=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),x=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},y=ht(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:l}):v);return{top:(g.top-y.top+p.top)/x.y,bottom:(y.bottom-g.bottom+p.bottom)/x.y,left:(g.left-y.left+p.left)/x.x,right:(y.right-g.right+p.right)/x.x}}const Ne=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=It(f),h={x:n,y:o},d=Ct(i),p=Rt(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",v=w?"bottom":"right",b=w?"clientHeight":"clientWidth",x=r.reference[p]+r.reference[d]-h[d]-r.floating[p],y=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=P?P[b]:0;(!O||!await(s.isElement==null?void 0:s.isElement(P)))&&(O=c.floating[b]||r.floating[p]);const E=x/2-y/2,N=O/2-m[p]/2-1,C=Z(u[g],N),k=Z(u[v],N),F=C,R=O-m[p]-k,$=O/2-m[p]/2+E,T=Ot(F,$,R),D=!l.arrow&&Q(i)!=null&&$!==T&&r.reference[p]/2-($<F?C:k)-m[p]/2<0,L=D?$<F?$-F:$-R:0;return{[d]:h[d]+L,data:{[d]:T,centerOffset:$-T-L,...D&&{alignmentOffset:L}},reset:D}}}),He=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=q(i),v=U(c),b=q(c)===c,x=await(l.isRTL==null?void 0:l.isRTL(a.floating)),y=h||(b||!m?[pt(c)]:Le(c)),P=p!=="none";!h&&P&&y.push(...$e(c,m,p,x));const O=[c,...y],E=await it(e,w),N=[];let C=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&N.push(E[g]),u){const T=De(i,s,x);N.push(E[T[0]],E[T[1]])}if(C=[...C,{placement:i,overflows:N}],!N.every(T=>T<=0)){var k,F;const T=(((k=r.flip)==null?void 0:k.index)||0)+1,D=O[T];if(D){var R;const A=u==="alignment"?v!==U(D):!1,S=((R=C[0])==null?void 0:R.overflows[0])>0;if(!A||S)return{data:{index:T,overflows:C},reset:{placement:D}}}let L=(F=C.filter(A=>A.overflows[0]<=0).sort((A,S)=>A.overflows[1]-S.overflows[1])[0])==null?void 0:F.placement;if(!L)switch(d){case"bestFit":{var $;const A=($=C.filter(S=>{if(P){const M=U(S.placement);return M===v||M==="y"}return!0}).map(S=>[S.placement,S.overflows.filter(M=>M>0).reduce((M,ct)=>M+ct,0)]).sort((S,M)=>S[1]-M[1])[0])==null?void 0:$[0];A&&(L=A);break}case"initialPlacement":L=c;break}if(i!==L)return{reset:{placement:L}}}return{}}}};function jt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Xt(t){return Se.some(e=>t[e]>=0)}const We=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=jt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Xt(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=jt(r,n.floating);return{data:{escapedOffsets:s,escaped:Xt(s)}}}default:return{}}}}};async function ze(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=q(n),c=Q(n),l=U(n)==="y",a=["left","top"].includes(s)?-1:1,f=r&&l?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:h*a}:{x:h*a,y:d*f}}const _e=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await ze(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},Be=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:v}=w;return{x:g,y:v}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=U(q(i)),h=Pt(u);let d=a[h],p=a[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+f[w],b=d-f[g];d=Ot(v,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",v=p+f[w],b=p-f[g];p=Ot(v,p,b)}const m=c.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:r,[u]:s}}}}}},Ve=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=X(t,e),f={x:n,y:o},u=U(i),h=Pt(u);let d=f[h],p=f[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",x=r.reference[h]-r.floating[b]+w.mainAxis,y=r.reference[h]+r.reference[b]-w.mainAxis;d<x?d=x:d>y&&(d=y)}if(a){var g,v;const b=h==="y"?"width":"height",x=["top","left"].includes(q(i)),y=r.reference[u]-r.floating[b]+(x&&((g=s.offset)==null?void 0:g[u])||0)+(x?0:w.crossAxis),P=r.reference[u]+r.reference[b]+(x?0:((v=s.offset)==null?void 0:v[u])||0)-(x?w.crossAxis:0);p<y?p=y:p>P&&(p=P)}return{[h]:d,[u]:p}}}},Ie=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...a}=X(t,e),f=await it(e,a),u=q(i),h=Q(i),d=U(i)==="y",{width:p,height:m}=r.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=h===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=h==="end"?"top":"bottom");const v=m-f.top-f.bottom,b=p-f.left-f.right,x=Z(m-f[w],v),y=Z(p-f[g],b),P=!e.middlewareData.shift;let O=x,E=y;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(E=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(O=v),P&&!h){const C=H(f.left,0),k=H(f.right,0),F=H(f.top,0),R=H(f.bottom,0);d?E=p-2*(C!==0||k!==0?C+k:H(f.left,f.right)):O=m-2*(F!==0||R!==0?F+R:H(f.top,f.bottom))}await l({...e,availableWidth:E,availableHeight:O});const N=await s.getDimensions(c.floating);return p!==N.width||m!==N.height?{reset:{rects:!0}}:{}}}};function mt(){return typeof window<"u"}function tt(t){return qt(t)?(t.nodeName||"").toLowerCase():"#document"}function W(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(qt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qt(t){return mt()?t instanceof Node||t instanceof W(t).Node:!1}function z(t){return mt()?t instanceof Element||t instanceof W(t).Element:!1}function I(t){return mt()?t instanceof HTMLElement||t instanceof W(t).HTMLElement:!1}function Ut(t){return!mt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof W(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=_(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Ye(t){return["table","td","th"].includes(tt(t))}function gt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Et(t){const e=Tt(),n=z(t)?_(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function je(t){let e=K(t);for(;I(e)&&!et(e);){if(Et(e))return e;if(gt(e))return null;e=K(e)}return null}function Tt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function _(t){return W(t).getComputedStyle(t)}function wt(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ut(t)&&t.host||V(t);return Ut(e)?e.host:e}function Zt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Zt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Zt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=W(i);if(r){const c=Dt(s);return e.concat(s,s.visualViewport||[],rt(i)?i:[],c&&n?st(c):[])}return e.concat(i,st(i,[],n))}function Dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Kt(t){const e=_(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=ut(n)!==r||ut(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Lt(t){return z(t)?t:t.contextElement}function nt(t){const e=Lt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Kt(e);let s=(r?ut(n.width):n.width)/o,c=(r?ut(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Xe=B(0);function Gt(t){const e=W(t);return!Tt()||!e.visualViewport?Xe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==W(t)?!1:e}function J(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Lt(t);let s=B(1);e&&(o?z(o)&&(s=nt(o)):s=nt(t));const c=qe(r,n,o)?Gt(r):B(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){const h=W(r),d=o&&z(o)?W(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),v=_(m),b=g.left+(m.clientLeft+parseFloat(v.paddingLeft))*w.x,x=g.top+(m.clientTop+parseFloat(v.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=x,p=W(m),m=Dt(p)}}return ht({width:f,height:u,x:l,y:a})}function Mt(t,e){const n=wt(t).scrollLeft;return e?e.left+n:J(V(t)).left+n}function Jt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Mt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function Ue(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=V(o),c=e?gt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=B(1);const f=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=wt(o)),I(o))){const d=J(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Jt(s,l,!0):B(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-l.scrollTop*a.y+f.y+h.y}}function Ze(t){return Array.from(t.getClientRects())}function Ke(t){const e=V(t),n=wt(t),o=t.ownerDocument.body,i=H(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=H(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Mt(t);const c=-n.scrollTop;return _(o).direction==="rtl"&&(s+=H(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ge(t,e){const n=W(t),o=V(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const a=Tt();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Je(t,e){const n=J(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?nt(t):B(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function Qt(t,e,n){let o;if(e==="viewport")o=Ge(t,n);else if(e==="document")o=Ke(V(t));else if(z(e))o=Je(e,n);else{const i=Gt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return ht(o)}function te(t,e){const n=K(t);return n===e||!z(n)||et(n)?!1:_(n).position==="fixed"||te(n,e)}function Qe(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>z(c)&&tt(c)!=="body"),i=null;const r=_(t).position==="fixed";let s=r?K(t):t;for(;z(s)&&!et(s);){const c=_(s),l=Et(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&te(t,s))?o=o.filter(f=>f!==s):i=c,s=K(s)}return e.set(t,o),o}function tn(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?gt(e)?[]:Qe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Qt(e,f,i);return a.top=H(u.top,a.top),a.right=Z(u.right,a.right),a.bottom=Z(u.bottom,a.bottom),a.left=H(u.left,a.left),a},Qt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function en(t){const{width:e,height:n}=Kt(t);return{width:e,height:n}}function nn(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=J(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);function a(){l.x=Mt(i)}if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=wt(e)),o){const d=J(e,!0,r,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();const f=i&&!o&&!r?Jt(i,c):B(0),u=s.left+c.scrollLeft-l.x-f.x,h=s.top+c.scrollTop-l.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function $t(t){return _(t).position==="static"}function ee(t,e){if(!I(t)||_(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function ne(t,e){const n=W(t);if(gt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(z(i)&&!$t(i))return i;i=K(i)}return n}let o=ee(t,e);for(;o&&Ye(o)&&$t(o);)o=ee(o,e);return o&&et(o)&&$t(o)&&!Et(o)?n:o||je(t)||n}const on=async function(t){const e=this.getOffsetParent||ne,n=this.getDimensions,o=await n(t.floating);return{reference:nn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function rn(t){return _(t).direction==="rtl"}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:Ue,getDocumentElement:V,getClippingRect:tn,getOffsetParent:ne,getElementRects:on,getClientRects:Ze,getDimensions:en,getScale:nt,isElement:z,isRTL:rn};function oe(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function cn(t,e){let n=null,o;const i=V(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(c||e(),!h||!d)return;const p=dt(u),m=dt(i.clientWidth-(f+h)),w=dt(i.clientHeight-(u+d)),g=dt(f),b={rootMargin:-p+"px "+-m+"px "+-w+"px "+-g+"px",threshold:H(0,Z(1,l))||1};let x=!0;function y(P){const O=P[0].intersectionRatio;if(O!==l){if(!x)return s();O?s(!1,O):o=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!oe(a,t.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(y,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,b)}n.observe(t)}return s(!0),r}function ln(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Lt(t),f=i||r?[...a?st(a):[],...st(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?cn(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[v]=g;v&&v.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,m=l?J(t):null;l&&w();function w(){const g=J(t);m&&!oe(m,g)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(v=>{i&&v.removeEventListener("scroll",n),r&&v.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const an=_e,fn=Be,un=He,dn=Ie,pn=We,ie=Ne,hn=Ve,mn=(t,e,n)=>{const o=new Map,i={platform:sn,...n},r={...i.platform,_c:o};return Fe(t,e,{...i,platform:r})};var xt=typeof document<"u"?Oe:Bt;function yt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!yt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!yt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function re(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function se(t,e){const n=re(t);return Math.round(e*n)/n}function kt(t){const e=G(t);return xt(()=>{e.current=t}),e}function gn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=Y({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,d]=Y(o);yt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),v=vt(A=>{A!==P.current&&(P.current=A,m(A))},[]),b=vt(A=>{A!==O.current&&(O.current=A,g(A))},[]),x=r||p,y=s||w,P=G(null),O=G(null),E=G(f),N=l!=null,C=kt(l),k=kt(i),F=kt(a),R=vt(()=>{if(!P.current||!O.current)return;const A={placement:e,strategy:n,middleware:h};k.current&&(A.platform=k.current),mn(P.current,O.current,A).then(S=>{const M={...S,isPositioned:F.current!==!1};$.current&&!yt(E.current,M)&&(E.current=M,Pe(()=>{u(M)}))})},[h,e,n,k,F]);xt(()=>{a===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const $=G(!1);xt(()=>($.current=!0,()=>{$.current=!1}),[]),xt(()=>{if(x&&(P.current=x),y&&(O.current=y),x&&y){if(C.current)return C.current(x,y,R);R()}},[x,y,R,C,N]);const T=at(()=>({reference:P,floating:O,setReference:v,setFloating:b}),[v,b]),D=at(()=>({reference:x,floating:y}),[x,y]),L=at(()=>{const A={position:n,left:0,top:0};if(!D.floating)return A;const S=se(D.floating,f.x),M=se(D.floating,f.y);return c?{...A,transform:"translate("+S+"px, "+M+"px)",...re(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:S,top:M}},[n,c,D.floating,f.x,f.y]);return at(()=>({...f,update:R,refs:T,elements:D,floatingStyles:L}),[f,R,T,D,L])}const wn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?ie({element:o.current,padding:i}).fn(n):{}:o?ie({element:o,padding:i}).fn(n):{}}}},xn=(t,e)=>({...an(t),options:[t,e]}),yn=(t,e)=>({...fn(t),options:[t,e]}),vn=(t,e)=>({...hn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),An=(t,e)=>({...dn(t),options:[t,e]}),On=(t,e)=>({...pn(t),options:[t,e]}),Pn=(t,e)=>({...wn(t),options:[t,e]});var Rn="Arrow",ce=ft((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(bt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:j("polygon",{points:"0,0 30,0 15,10"})})});ce.displayName=Rn;var Cn=ce;function Sn(t){const[e,n]=Y(void 0);return At(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,c;if("borderBoxSize"in r){const l=r.borderBoxSize,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}var Ft="Popper",[le,En]=Re(Ft),[Tn,ae]=le(Ft),Nt=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(Tn,{scope:e,anchor:o,onAnchorChange:i,children:n})};Nt.displayName=Ft;var fe="PopperAnchor",Ht=ft((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=ae(fe,n),s=G(null),c=Vt(e,s),l=G(null);return Bt(()=>{const a=l.current;l.current=o?.current||s.current,a!==l.current&&r.onAnchorChange(l.current)}),o?null:j(bt.div,{...i,ref:c})});Ht.displayName=fe;var Wt="PopperContent",[Dn,Ln]=le(Wt),zt=ft((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=ae(Wt,n),[g,v]=Y(null),b=Vt(e,ot=>v(ot)),[x,y]=Y(null),P=Sn(x),O=P?.width??0,E=P?.height??0,N=o+(r!=="center"?"-"+r:""),C=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},k=Array.isArray(a)?a:[a],F=k.length>0,R={padding:C,boundary:k.filter($n),altBoundary:F},{refs:$,floatingStyles:T,placement:D,isPositioned:L,middlewareData:A}=gn({strategy:"fixed",placement:N,whileElementsMounted:(...ot)=>ln(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[xn({mainAxis:i+E,alignmentAxis:s}),l&&yn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?vn():void 0,...R}),l&&bn({...R}),An({...R,apply:({elements:ot,rects:_t,availableWidth:ye,availableHeight:ve})=>{const{width:be,height:Ae}=_t.reference,lt=ot.floating.style;lt.setProperty("--radix-popper-available-width",`${ye}px`),lt.setProperty("--radix-popper-available-height",`${ve}px`),lt.setProperty("--radix-popper-anchor-width",`${be}px`),lt.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),x&&Pn({element:x,padding:c}),kn({arrowWidth:O,arrowHeight:E}),h&&On({strategy:"referenceHidden",...R})]}),[S,M]=pe(D),ct=Ce(p);At(()=>{L&&ct?.()},[L,ct]);const he=A.arrow?.x,me=A.arrow?.y,ge=A.arrow?.centerOffset!==0,[we,xe]=Y();return At(()=>{g&&xe(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:L?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,["--radix-popper-transform-origin"]:[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:S,onArrowChange:y,arrowX:he,arrowY:me,shouldHideArrow:ge,children:j(bt.div,{"data-side":S,"data-align":M,...m,ref:b,style:{...m.style,animation:L?void 0:"none"}})})})});zt.displayName=Wt;var ue="PopperArrow",Mn={top:"bottom",right:"left",bottom:"top",left:"right"},de=ft(function(e,n){const{__scopePopper:o,...i}=e,r=Ln(ue,o),s=Mn[r.placedSide];return j("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:j(Cn,{...i,ref:n,style:{...i.style,display:"block"}})})});de.displayName=ue;function $n(t){return t!==null}var kn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=pe(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return a==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):a==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,m=s?u:`${d}px`),{data:{x:p,y:m}}}});function pe(t){const[e,n="center"]=t.split("-");return[e,n]}var Fn=Nt,Nn=Ht,Hn=zt,Wn=de;export{Nn as A,Hn as C,Nt as P,Fn as R,Wn as a,zt as b,En as c,Ht as d};
@@ -1 +1 @@
1
- import{A as f,y as d,q as v,d as h,a as C}from"./register-C7mFN5zX.js";import{u as g}from"./index-Sa_DzvBO.js";var w=C[" useInsertionEffect ".trim().toString()]||g;function R({prop:o,defaultProp:c,onChange:t=()=>{},caller:u}){const[l,r,i]=y({defaultProp:c,onChange:t}),n=o!==void 0,a=n?o:l;{const e=f(o!==void 0);d(()=>{const s=e.current;s!==n&&console.warn(`${u} is changing from ${s?"controlled":"uncontrolled"} to ${n?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),e.current=n},[n,u])}const m=v(e=>{if(n){const s=E(e)?e(o):e;s!==o&&i.current?.(s)}else r(e)},[n,o,r,i]);return[a,m]}function y({defaultProp:o,onChange:c}){const[t,u]=h(o),l=f(t),r=f(c);return w(()=>{r.current=c},[c]),d(()=>{l.current!==t&&(r.current?.(t),l.current=t)},[t,l]),[t,u,r]}function E(o){return typeof o=="function"}export{R as u};
1
+ import{A as f,y as d,q as v,d as R,R as h}from"./register-C974c_cg.js";import{u as C}from"./index-h_5omiqY.js";var g=h[" useInsertionEffect ".trim().toString()]||C;function w({prop:o,defaultProp:c,onChange:t=()=>{},caller:u}){const[l,r,i]=y({defaultProp:c,onChange:t}),n=o!==void 0,a=n?o:l;{const e=f(o!==void 0);d(()=>{const s=e.current;s!==n&&console.warn(`${u} is changing from ${s?"controlled":"uncontrolled"} to ${n?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),e.current=n},[n,u])}const m=v(e=>{if(n){const s=E(e)?e(o):e;s!==o&&i.current?.(s)}else r(e)},[n,o,r,i]);return[a,m]}function y({defaultProp:o,onChange:c}){const[t,u]=R(o),l=f(t),r=f(c);return g(()=>{r.current=c},[c]),d(()=>{l.current!==t&&(r.current?.(t),l.current=t)},[t,l]),[t,u,r]}function E(o){return typeof o=="function"}export{w as u};
@@ -1 +1 @@
1
- import{x as J,Q as W,D as _,y as N,u as d,A as O,d as K,q as E}from"./register-C7mFN5zX.js";import{c as p}from"./index-CBrz5xtv.js";import{c as X}from"./index-Czt93YYQ.js";import{u as Z}from"./index-DNey0luG.js";import{a as $}from"./index-1RyJKZmf.js";import{u as ee}from"./index-DK9PStQ-.js";import{P as M}from"./index-D0MRusL3.js";import{u as oe}from"./index-DNmr6fup.js";import{u as te}from"./index-BRAElrQe.js";var re=W(void 0);function L(e){const t=J(re);return e||t||"ltr"}var D="rovingFocusGroup.onEntryFocus",ne={bubbles:!1,cancelable:!0},I="RovingFocusGroup",[P,U,ce]=X(I),[se,ae]=$(I,[ce]),[ie,ue]=se(I),B=_((e,t)=>d(P.Provider,{scope:e.__scopeRovingFocusGroup,children:d(P.Slot,{scope:e.__scopeRovingFocusGroup,children:d(le,{...e,ref:t})})}));B.displayName=I;var le=_((e,t)=>{const{__scopeRovingFocusGroup:c,orientation:o,loop:i=!1,dir:T,currentTabStopId:v,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:S,onEntryFocus:m,preventScrollOnEntryFocus:s=!1,...F}=e,b=O(null),g=Z(t,b),R=L(T),[w,r]=te({prop:v,defaultProp:h??null,onChange:S,caller:I}),[u,C]=K(!1),a=oe(m),l=U(c),A=O(!1),[V,x]=K(0);return N(()=>{const n=b.current;if(n)return n.addEventListener(D,a),()=>n.removeEventListener(D,a)},[a]),d(ie,{scope:c,orientation:o,dir:R,loop:i,currentTabStopId:w,onItemFocus:E(n=>r(n),[r]),onItemShiftTab:E(()=>C(!0),[]),onFocusableItemAdd:E(()=>x(n=>n+1),[]),onFocusableItemRemove:E(()=>x(n=>n-1),[]),children:d(M.div,{tabIndex:u||V===0?-1:0,"data-orientation":o,...F,ref:g,style:{outline:"none",...e.style},onMouseDown:p(e.onMouseDown,()=>{A.current=!0}),onFocus:p(e.onFocus,n=>{const q=!A.current;if(n.target===n.currentTarget&&q&&!u){const G=new CustomEvent(D,ne);if(n.currentTarget.dispatchEvent(G),!G.defaultPrevented){const y=l().filter(f=>f.focusable),z=y.find(f=>f.active),Q=y.find(f=>f.id===w),j=[z,Q,...y].filter(Boolean).map(f=>f.ref.current);H(j,s)}}A.current=!1}),onBlur:p(e.onBlur,()=>C(!1))})})}),k="RovingFocusGroupItem",Y=_((e,t)=>{const{__scopeRovingFocusGroup:c,focusable:o=!0,active:i=!1,tabStopId:T,children:v,...h}=e,S=ee(),m=T||S,s=ue(k,c),F=s.currentTabStopId===m,b=U(c),{onFocusableItemAdd:g,onFocusableItemRemove:R,currentTabStopId:w}=s;return N(()=>{if(o)return g(),()=>R()},[o,g,R]),d(P.ItemSlot,{scope:c,id:m,focusable:o,active:i,children:d(M.span,{tabIndex:F?0:-1,"data-orientation":s.orientation,...h,ref:t,onMouseDown:p(e.onMouseDown,r=>{o?s.onItemFocus(m):r.preventDefault()}),onFocus:p(e.onFocus,()=>s.onItemFocus(m)),onKeyDown:p(e.onKeyDown,r=>{if(r.key==="Tab"&&r.shiftKey){s.onItemShiftTab();return}if(r.target!==r.currentTarget)return;const u=me(r,s.orientation,s.dir);if(u!==void 0){if(r.metaKey||r.ctrlKey||r.altKey||r.shiftKey)return;r.preventDefault();let a=b().filter(l=>l.focusable).map(l=>l.ref.current);if(u==="last")a.reverse();else if(u==="prev"||u==="next"){u==="prev"&&a.reverse();const l=a.indexOf(r.currentTarget);a=s.loop?pe(a,l+1):a.slice(l+1)}setTimeout(()=>H(a))}}),children:typeof v=="function"?v({isCurrentTabStop:F,hasTabStop:w!=null}):v})})});Y.displayName=k;var fe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function de(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function me(e,t,c){const o=de(e.key,c);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return fe[o]}function H(e,t=!1){const c=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(o===c||(o.focus({preventScroll:t}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()!==c))return}function pe(e,t){return e.map((c,o)=>e[(t+o)%e.length])}var ve=B,Ie=Y;export{Ie as I,ve as R,ae as c,L as u};
1
+ import{x as J,X as Q,D as _,y as N,u as d,A as O,d as K,q as E}from"./register-C974c_cg.js";import{c as p}from"./index-CBrz5xtv.js";import{c as W}from"./index-X4myNFbi.js";import{u as Z}from"./index-BMyx8vU7.js";import{a as $}from"./index-BbehSwG1.js";import{u as ee}from"./index-BVxfhzCE.js";import{P as M}from"./index-DiLL8vvX.js";import{u as oe}from"./index-DDsqrcZ9.js";import{u as te}from"./index-C-0V20Ar.js";var re=Q(void 0);function L(e){const t=J(re);return e||t||"ltr"}var D="rovingFocusGroup.onEntryFocus",ne={bubbles:!1,cancelable:!0},I="RovingFocusGroup",[P,U,ce]=W(I),[se,ae]=$(I,[ce]),[ie,ue]=se(I),B=_((e,t)=>d(P.Provider,{scope:e.__scopeRovingFocusGroup,children:d(P.Slot,{scope:e.__scopeRovingFocusGroup,children:d(le,{...e,ref:t})})}));B.displayName=I;var le=_((e,t)=>{const{__scopeRovingFocusGroup:c,orientation:o,loop:i=!1,dir:T,currentTabStopId:v,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:S,onEntryFocus:m,preventScrollOnEntryFocus:s=!1,...F}=e,b=O(null),g=Z(t,b),R=L(T),[w,r]=te({prop:v,defaultProp:h??null,onChange:S,caller:I}),[u,C]=K(!1),a=oe(m),l=U(c),A=O(!1),[V,x]=K(0);return N(()=>{const n=b.current;if(n)return n.addEventListener(D,a),()=>n.removeEventListener(D,a)},[a]),d(ie,{scope:c,orientation:o,dir:R,loop:i,currentTabStopId:w,onItemFocus:E(n=>r(n),[r]),onItemShiftTab:E(()=>C(!0),[]),onFocusableItemAdd:E(()=>x(n=>n+1),[]),onFocusableItemRemove:E(()=>x(n=>n-1),[]),children:d(M.div,{tabIndex:u||V===0?-1:0,"data-orientation":o,...F,ref:g,style:{outline:"none",...e.style},onMouseDown:p(e.onMouseDown,()=>{A.current=!0}),onFocus:p(e.onFocus,n=>{const q=!A.current;if(n.target===n.currentTarget&&q&&!u){const G=new CustomEvent(D,ne);if(n.currentTarget.dispatchEvent(G),!G.defaultPrevented){const y=l().filter(f=>f.focusable),z=y.find(f=>f.active),X=y.find(f=>f.id===w),j=[z,X,...y].filter(Boolean).map(f=>f.ref.current);H(j,s)}}A.current=!1}),onBlur:p(e.onBlur,()=>C(!1))})})}),k="RovingFocusGroupItem",Y=_((e,t)=>{const{__scopeRovingFocusGroup:c,focusable:o=!0,active:i=!1,tabStopId:T,children:v,...h}=e,S=ee(),m=T||S,s=ue(k,c),F=s.currentTabStopId===m,b=U(c),{onFocusableItemAdd:g,onFocusableItemRemove:R,currentTabStopId:w}=s;return N(()=>{if(o)return g(),()=>R()},[o,g,R]),d(P.ItemSlot,{scope:c,id:m,focusable:o,active:i,children:d(M.span,{tabIndex:F?0:-1,"data-orientation":s.orientation,...h,ref:t,onMouseDown:p(e.onMouseDown,r=>{o?s.onItemFocus(m):r.preventDefault()}),onFocus:p(e.onFocus,()=>s.onItemFocus(m)),onKeyDown:p(e.onKeyDown,r=>{if(r.key==="Tab"&&r.shiftKey){s.onItemShiftTab();return}if(r.target!==r.currentTarget)return;const u=me(r,s.orientation,s.dir);if(u!==void 0){if(r.metaKey||r.ctrlKey||r.altKey||r.shiftKey)return;r.preventDefault();let a=b().filter(l=>l.focusable).map(l=>l.ref.current);if(u==="last")a.reverse();else if(u==="prev"||u==="next"){u==="prev"&&a.reverse();const l=a.indexOf(r.currentTarget);a=s.loop?pe(a,l+1):a.slice(l+1)}setTimeout(()=>H(a))}}),children:typeof v=="function"?v({isCurrentTabStop:F,hasTabStop:w!=null}):v})})});Y.displayName=k;var fe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function de(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function me(e,t,c){const o=de(e.key,c);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return fe[o]}function H(e,t=!1){const c=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(o===c||(o.focus({preventScroll:t}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()!==c))return}function pe(e,t){return e.map((c,o)=>e[(t+o)%e.length])}var ve=B,Ie=Y;export{Ie as I,ve as R,ae as c,L as u};