@optiaxiom/web-components 0.13.0-next.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (427) hide show
  1. package/dist/ActionsRoot-CoOGKHhO.js +1 -0
  2. package/dist/Alert-BrFUrf-V.js +1 -0
  3. package/dist/AlertDialog-DqaXJlCS.js +1 -0
  4. package/dist/{AlertDialogBody-yroUMepy.js → AlertDialogBody-BVBmshuT.js} +1 -1
  5. package/dist/AlertDialogFooter-CD2A9Gck.js +1 -0
  6. package/dist/AlertDialogHeader-aY4bjEwb.js +1 -0
  7. package/dist/AlertDialogTrigger-BS-7t9Ih.js +1 -0
  8. package/dist/AngleMenuButton-DzN0Ab1m.js +1 -0
  9. package/dist/Avatar-Bbj08UHU.js +1 -0
  10. package/dist/AvatarContext-dCvbGlDj.js +1 -0
  11. package/dist/AvatarGroup-oM-XvE0s.js +1 -0
  12. package/dist/AvatarGroup.css.ts.vanilla-Cw2ao1B0-BnX_Tx4M.js +1 -0
  13. package/dist/Badge-C3eCMEK3.js +1 -0
  14. package/dist/Box-CV4CtSQ7.js +1 -0
  15. package/dist/Button-CUhazaDP.js +1 -0
  16. package/dist/ButtonContext-DFZkdWkZ.js +1 -0
  17. package/dist/ButtonGroup-CC9XRuPe.js +1 -0
  18. package/dist/ButtonRoot-Bb3l1pZH.js +1 -0
  19. package/dist/{Calendar-CiPuu-6n.js → Calendar-CJodGZ7W.js} +1 -1
  20. package/dist/CardContext-CXVMpbO5.js +1 -0
  21. package/dist/{Combination-DYMbGHDA.js → Combination-DMxzHxML.js} +1 -1
  22. package/dist/Cover-Df4okq9S.js +1 -0
  23. package/dist/Cover.css.ts.vanilla-BIGZHESl-DjRUgRLn.js +1 -0
  24. package/dist/{DataTableAction-Bm5uhEEz.js → DataTableAction-ftJrGzQI.js} +1 -1
  25. package/dist/DataTableContext-B59kBVoW.js +1 -0
  26. package/dist/{DataTableRowContext-DVvvDGHu.js → DataTableRowContext-C6lmTVaL.js} +1 -1
  27. package/dist/DateRangePickerContext-CENm6Zdm.js +1 -0
  28. package/dist/DialogBody-BigLmGc-.js +1 -0
  29. package/dist/DialogFooter-C6h0g6Ss.js +1 -0
  30. package/dist/{DialogForm-0w6yaW8-.js → DialogForm-f1wbWL_o.js} +1 -1
  31. package/dist/DialogTrigger-BxH0drX_.js +1 -0
  32. package/dist/Disclosure-B39kTLoi.js +1 -0
  33. package/dist/DisclosureContent-C6Dfq0b_.js +1 -0
  34. package/dist/{DisclosureContext-Dw52PSaQ.js → DisclosureContext-rgj7CRVr.js} +1 -1
  35. package/dist/DisclosureTrigger-DXKPjqWL.js +1 -0
  36. package/dist/DropdownMenuContext-Dz9dQ90D.js +1 -0
  37. package/dist/DropdownMenuNestedContext-DRstZmc3.js +1 -0
  38. package/dist/DropdownMenuSubContext-ChoQF2NR.js +1 -0
  39. package/dist/{FieldContext-Cilw5-ml.js → FieldContext-DhLL-p5u.js} +1 -1
  40. package/dist/{FieldLabel-BCJy_50U.js → FieldLabel-BL-TUT2s.js} +1 -1
  41. package/dist/{FilteredSlot-CzMUQ7sE.js → FilteredSlot-DudEDOhm.js} +1 -1
  42. package/dist/Group-BZ64vOhC.js +1 -0
  43. package/dist/{Heading-D7qO76ES.js → Heading-yrECY2iG.js} +1 -1
  44. package/dist/Icon-CX3s8z8w.js +1 -0
  45. package/dist/{IconOpal-De2JavpW.js → IconOpal-C8z7ykpm.js} +1 -1
  46. package/dist/Input-fmuJksMc.js +1 -0
  47. package/dist/InputAddon-Dj_PsWS7.js +1 -0
  48. package/dist/InputContext-DzaZHn3j.js +1 -0
  49. package/dist/InputControl-CATzSsbS.js +1 -0
  50. package/dist/InputControl.css.ts.vanilla-BKEDBT5_-CRs5-1og.js +1 -0
  51. package/dist/InputRoot-BsX7CdMt.js +1 -0
  52. package/dist/Link-DgH5BuqR.js +1 -0
  53. package/dist/Listbox-q5L-8c3l.js +1 -0
  54. package/dist/ListboxEmpty-Cnq1LdnZ.js +1 -0
  55. package/dist/ListboxGroup-D86C580G.js +1 -0
  56. package/dist/ListboxGroupContext-CJWheMR7.js +1 -0
  57. package/dist/ListboxItem-D_kmTuEZ.js +1 -0
  58. package/dist/ListboxItemIndicator-BgaY7DbM.js +1 -0
  59. package/dist/{ListboxItemized-C17qtsNk.js → ListboxItemized-Bnu7Fnpf.js} +1 -1
  60. package/dist/ListboxLabel-DckuhM0j.js +1 -0
  61. package/dist/{ListboxRadioItem-DxGVmWSu.js → ListboxRadioItem-C9wtmXsa.js} +1 -1
  62. package/dist/ListboxSeparator-DwEFeinu.js +1 -0
  63. package/dist/{MaterialIcon-BDk_mnTM.js → MaterialIcon-Bk5ioJ2S.js} +1 -1
  64. package/dist/Menu-sh7TPzPq.js +1 -0
  65. package/dist/MenuContent-CmRcVGFw.js +1 -0
  66. package/dist/MenuContext-CSa7zhDy.js +1 -0
  67. package/dist/MenuTrigger-BAhdJlDP.js +1 -0
  68. package/dist/{ModalLayer-PP5YdstY.js → ModalLayer-ByL0o0Md.js} +1 -1
  69. package/dist/Nav-j-9r0enD.js +1 -0
  70. package/dist/NavAccountItem-COhseBEo.js +1 -0
  71. package/dist/{NavBody-CSNYMzKN.js → NavBody-CGU4BG9Q.js} +1 -1
  72. package/dist/{NavFooter-A0jzPjq5.js → NavFooter-CaKgVSrN.js} +1 -1
  73. package/dist/{NavGroup-BaPWOVFN.js → NavGroup-_jOftmtG.js} +1 -1
  74. package/dist/{NavGroupContent-DGDfY6k8.js → NavGroupContent-CdspSeyp.js} +1 -1
  75. package/dist/{NavGroupContext-BE1WvHu_.js → NavGroupContext-CvcR0ced.js} +1 -1
  76. package/dist/NavGroupTrigger-BLowN3Yx.js +1 -0
  77. package/dist/NavHeader-BpDj8Aj9.js +1 -0
  78. package/dist/NavItem-i6sAvAkn.js +1 -0
  79. package/dist/NavList-DaRqUtDD.js +1 -0
  80. package/dist/NavSeparator-C2Yrq5KI.js +1 -0
  81. package/dist/Pagination-d1aFMSvn.js +1 -0
  82. package/dist/Paper-DijuyQQo.js +1 -0
  83. package/dist/{Popover-CReQ9Sg7.js → Popover-Dj8sWW7T.js} +1 -1
  84. package/dist/{PopoverAnchor-CoIYmMsT.js → PopoverAnchor-bdcZeaij.js} +1 -1
  85. package/dist/{PopoverTrigger-CQ_yEU74.js → PopoverTrigger-Dzqj87Nq.js} +1 -1
  86. package/dist/{Portal-D6m37m0T.js → Portal-CCLNsZzC.js} +1 -1
  87. package/dist/PortalContext-B40StADY.js +1 -0
  88. package/dist/RadioGroupContext-BrMQETHs.js +1 -0
  89. package/dist/{SegmentedControlContext-C0-5bOKX.js → SegmentedControlContext-BnpkLYkf.js} +1 -1
  90. package/dist/{Select-C8wi818n.js → Select-Bz5JIxX6.js} +1 -1
  91. package/dist/SelectContent-CHiZvJnH.js +1 -0
  92. package/dist/{SelectContext-BUQYIc5j.js → SelectContext-C_BqJNCZ.js} +1 -1
  93. package/dist/{SelectTrigger-DSG4l4-e.js → SelectTrigger-CY-26LXy.js} +1 -1
  94. package/dist/Separator-1qXp3fA2.js +1 -0
  95. package/dist/SidebarContext-D4V60v9o.js +1 -0
  96. package/dist/Skeleton-BNJ81_0t.js +1 -0
  97. package/dist/Spinner-BtcHhTum.js +1 -0
  98. package/dist/SuggestionPopover-DjYLzfyy.js +9 -0
  99. package/dist/Table-CHcjAYLP.js +1 -0
  100. package/dist/TableAction-Q9EyRNsp.js +1 -0
  101. package/dist/TableBody-DBjAdioY.js +1 -0
  102. package/dist/TableCell-tAQD9nOJ.js +1 -0
  103. package/dist/TableHeader-B4aqgaXJ.js +1 -0
  104. package/dist/TableHeaderCell-DkeuQEjb.js +1 -0
  105. package/dist/TableRow-Brnlqy3m.js +1 -0
  106. package/dist/TableRow.css.ts.vanilla-EERAOdGT-BCPDwy1C.js +1 -0
  107. package/dist/Text-Dag_U1Vf.js +1 -0
  108. package/dist/{ThemeProvider-DMF5P3hS.js → ThemeProvider-BHWCi0-e.js} +1 -1
  109. package/dist/ToastProvider-DHjd70C6.js +1 -0
  110. package/dist/ToggleInputLabel-CCR00D23.js +1 -0
  111. package/dist/{Tooltip-Cg-3Trri.js → Tooltip-7AWPkyPk.js} +1 -1
  112. package/dist/TooltipContent-DgYxSTbi.js +1 -0
  113. package/dist/TooltipContext-_5JMKAbe.js +1 -0
  114. package/dist/TooltipProvider-CoPEAacD.js +1 -0
  115. package/dist/{TooltipRoot-BIOhl8qj.js → TooltipRoot-BxoGM8XH.js} +1 -1
  116. package/dist/TooltipTrigger-CrhT_82S.js +1 -0
  117. package/dist/Transition-NSqouGx2.js +1 -0
  118. package/dist/{TransitionGroup-D6c4qfix.js → TransitionGroup-M9RT3XeS.js} +1 -1
  119. package/dist/TransitionGroupContext-B2FTL_jl.js +1 -0
  120. package/dist/{VisuallyHidden-CPqW64JW.js → VisuallyHidden-BmklSBLt.js} +1 -1
  121. package/dist/{calendar_today.svg-BVLhQ24q.js → calendar_today.svg-WYgziXw0.js} +1 -1
  122. package/dist/chevron_left.svg-Bch0qJyg.js +1 -0
  123. package/dist/chevron_right.svg-t21AOvnQ.js +1 -0
  124. package/dist/close.svg-Bz6wgbqx.js +1 -0
  125. package/dist/components/Alert.js +1 -1
  126. package/dist/components/AlertDialog.js +1 -1
  127. package/dist/components/AlertDialogAction.js +1 -1
  128. package/dist/components/AlertDialogBody.js +1 -1
  129. package/dist/components/AlertDialogCancel.js +1 -1
  130. package/dist/components/AlertDialogContent.js +1 -1
  131. package/dist/components/AlertDialogFooter.js +1 -1
  132. package/dist/components/AlertDialogHeader.js +1 -1
  133. package/dist/components/AlertDialogTrigger.js +1 -1
  134. package/dist/components/AngleMenuButton.js +1 -1
  135. package/dist/components/AuthProvider.js +1 -1
  136. package/dist/components/Avatar.js +1 -1
  137. package/dist/components/AvatarGroup.js +1 -1
  138. package/dist/components/AxiomProvider.js +1 -1
  139. package/dist/components/Badge.js +1 -1
  140. package/dist/components/Banner.js +1 -1
  141. package/dist/components/Box.d.ts +1 -1
  142. package/dist/components/Box.js +1 -1
  143. package/dist/components/Breadcrumb.js +1 -1
  144. package/dist/components/Button.js +1 -1
  145. package/dist/components/ButtonGroup.js +1 -1
  146. package/dist/components/Card.js +1 -1
  147. package/dist/components/CardAction.js +1 -1
  148. package/dist/components/CardCheckbox.js +1 -1
  149. package/dist/components/CardFooter.js +1 -1
  150. package/dist/components/CardHeader.js +1 -1
  151. package/dist/components/CardImage.js +1 -1
  152. package/dist/components/CardLink.d.ts +1 -0
  153. package/dist/components/CardLink.js +1 -1
  154. package/dist/components/CardPreview.js +1 -1
  155. package/dist/components/Checkbox.js +1 -1
  156. package/dist/components/Code.js +1 -1
  157. package/dist/components/Cover.js +1 -1
  158. package/dist/components/DataTable.js +1 -1
  159. package/dist/components/DataTableAction.js +1 -1
  160. package/dist/components/DataTableBody.js +2 -2
  161. package/dist/components/DataTableCheckbox.js +1 -1
  162. package/dist/components/DataTableFooter.js +1 -1
  163. package/dist/components/DataTableLabel.js +1 -1
  164. package/dist/components/DateInput.js +1 -1
  165. package/dist/components/DateRangePicker.js +1 -1
  166. package/dist/components/DateRangePickerContent.js +1 -1
  167. package/dist/components/DateRangePickerTrigger.js +1 -1
  168. package/dist/components/Dialog.js +1 -1
  169. package/dist/components/DialogBody.js +1 -1
  170. package/dist/components/DialogClose.js +1 -1
  171. package/dist/components/DialogContent.js +1 -1
  172. package/dist/components/DialogFooter.js +1 -1
  173. package/dist/components/DialogForm.js +1 -1
  174. package/dist/components/DialogHeader.js +1 -1
  175. package/dist/components/DialogTrigger.js +1 -1
  176. package/dist/components/Disclosure.js +1 -1
  177. package/dist/components/DisclosureContent.js +1 -1
  178. package/dist/components/DisclosureTrigger.js +1 -1
  179. package/dist/components/DropdownMenu.js +1 -1
  180. package/dist/components/DropdownMenuCheckboxItem.js +1 -1
  181. package/dist/components/DropdownMenuContent.js +1 -1
  182. package/dist/components/DropdownMenuGroup.js +1 -1
  183. package/dist/components/DropdownMenuItem.js +1 -1
  184. package/dist/components/DropdownMenuLabel.js +1 -1
  185. package/dist/components/DropdownMenuSeparator.js +1 -1
  186. package/dist/components/DropdownMenuSub.js +1 -1
  187. package/dist/components/DropdownMenuSubContent.js +1 -1
  188. package/dist/components/DropdownMenuTrigger.js +1 -1
  189. package/dist/components/EllipsisMenuButton.js +1 -1
  190. package/dist/components/Field.js +1 -1
  191. package/dist/components/FieldLabel.js +1 -1
  192. package/dist/components/Flex.js +1 -1
  193. package/dist/components/Grid.js +1 -1
  194. package/dist/components/Group.js +1 -1
  195. package/dist/components/Heading.js +1 -1
  196. package/dist/components/Indicator.js +1 -1
  197. package/dist/components/Input.js +1 -1
  198. package/dist/components/InputAddon.js +1 -1
  199. package/dist/components/InputControl.js +1 -1
  200. package/dist/components/InputRoot.js +1 -1
  201. package/dist/components/Kbd.js +1 -1
  202. package/dist/components/LabelMenuButton.js +1 -1
  203. package/dist/components/Link.d.ts +1 -0
  204. package/dist/components/Link.js +1 -1
  205. package/dist/components/Listbox.js +1 -1
  206. package/dist/components/ListboxCheckboxItem.js +1 -1
  207. package/dist/components/ListboxEmpty.js +1 -1
  208. package/dist/components/ListboxGroup.js +1 -1
  209. package/dist/components/ListboxItem.js +1 -1
  210. package/dist/components/ListboxItemIndicator.js +1 -1
  211. package/dist/components/ListboxItemized.js +1 -1
  212. package/dist/components/ListboxLabel.js +1 -1
  213. package/dist/components/ListboxRadioItem.js +1 -1
  214. package/dist/components/ListboxSeparator.js +1 -1
  215. package/dist/components/ListboxSwitchItem.js +1 -1
  216. package/dist/components/Menu.js +1 -1
  217. package/dist/components/MenuContent.js +1 -1
  218. package/dist/components/MenuTrigger.js +1 -1
  219. package/dist/components/ModalLayer.js +1 -1
  220. package/dist/components/Nav.js +1 -1
  221. package/dist/components/NavAccountItem.js +1 -1
  222. package/dist/components/NavBody.js +1 -1
  223. package/dist/components/NavFooter.js +1 -1
  224. package/dist/components/NavGroup.js +1 -1
  225. package/dist/components/NavGroupContent.js +1 -1
  226. package/dist/components/NavGroupTrigger.js +1 -1
  227. package/dist/components/NavHeader.js +1 -1
  228. package/dist/components/NavItem.js +1 -1
  229. package/dist/components/NavList.js +1 -1
  230. package/dist/components/NavSeparator.js +1 -1
  231. package/dist/components/Pagination.js +1 -1
  232. package/dist/components/Paper.js +1 -1
  233. package/dist/components/Popover.js +1 -1
  234. package/dist/components/PopoverAnchor.js +1 -1
  235. package/dist/components/PopoverContent.js +1 -1
  236. package/dist/components/PopoverTrigger.js +1 -1
  237. package/dist/components/Progress.js +3 -3
  238. package/dist/components/Radio.js +1 -1
  239. package/dist/components/RadioGroup.js +1 -1
  240. package/dist/components/SearchInput.js +1 -1
  241. package/dist/components/SegmentedControl.js +1 -1
  242. package/dist/components/SegmentedControlItem.js +1 -1
  243. package/dist/components/Select.js +1 -1
  244. package/dist/components/SelectContent.js +1 -1
  245. package/dist/components/SelectTrigger.js +1 -1
  246. package/dist/components/Separator.js +1 -1
  247. package/dist/components/Sidebar.js +1 -1
  248. package/dist/components/SidebarToggle.js +1 -1
  249. package/dist/components/Skeleton.js +1 -1
  250. package/dist/components/Spinner.js +1 -1
  251. package/dist/components/SubNav.js +1 -1
  252. package/dist/components/Switch.js +1 -1
  253. package/dist/components/Table.js +1 -1
  254. package/dist/components/TableAction.js +1 -1
  255. package/dist/components/TableBody.js +1 -1
  256. package/dist/components/TableCell.js +1 -1
  257. package/dist/components/TableHeader.js +1 -1
  258. package/dist/components/TableHeaderCell.js +1 -1
  259. package/dist/components/TableRow.js +1 -1
  260. package/dist/components/Tabs.js +1 -1
  261. package/dist/components/TabsContent.js +1 -1
  262. package/dist/components/TabsList.js +1 -1
  263. package/dist/components/TabsTrigger.js +1 -1
  264. package/dist/components/Text.js +1 -1
  265. package/dist/components/Textarea.js +1 -1
  266. package/dist/components/ThemeProvider.js +1 -1
  267. package/dist/components/ToastProvider.js +1 -1
  268. package/dist/components/ToggleButton.js +1 -1
  269. package/dist/components/Tooltip.d.ts +1 -1
  270. package/dist/components/Tooltip.js +1 -1
  271. package/dist/components/TooltipContent.js +1 -1
  272. package/dist/components/TooltipProvider.js +1 -1
  273. package/dist/components/TooltipRoot.js +1 -1
  274. package/dist/components/TooltipTrigger.js +1 -1
  275. package/dist/components/Transition.js +1 -1
  276. package/dist/components/TransitionGroup.js +1 -1
  277. package/dist/context-C5SMAqJX.js +1 -0
  278. package/dist/{decorateChildren-DQDkGEva.js → decorateChildren-DceoQfLz.js} +1 -1
  279. package/dist/fallbackSpan-DzjBTaxI.js +1 -0
  280. package/dist/index-2WYm7pKZ.js +4 -0
  281. package/dist/{index-BfktuCSZ.js → index-B6mZRI1I.js} +1 -1
  282. package/dist/index-BC1Z8Guw.js +1 -0
  283. package/dist/{index-BnnZQ1R0.js → index-BFmupGkL.js} +1 -1
  284. package/dist/{index-BcTDnMXT.js → index-BV34namC.js} +1 -1
  285. package/dist/{index-DT_jSxXA.js → index-BkNSa4ky.js} +1 -1
  286. package/dist/index-BzIpwXn1.js +1 -0
  287. package/dist/{index-V4EsGGoq.js → index-C5SfZ6cm.js} +1 -1
  288. package/dist/{index-DukvR277.js → index-CGgkWnDx.js} +1 -1
  289. package/dist/{index-DF-lKL9l.js → index-CHUhFArm.js} +1 -1
  290. package/dist/{index-BAaRva-S.js → index-CRdqsiiJ.js} +1 -1
  291. package/dist/{index-BT4aZvpD.js → index-C_maKa2n.js} +1 -1
  292. package/dist/{index-BbvZJc_a.js → index-CfTuczyl.js} +1 -1
  293. package/dist/{index-Bsxgez75.js → index-CfWSRbGc.js} +1 -1
  294. package/dist/{index-BgwdcOG9.js → index-Cnb334T6.js} +1 -1
  295. package/dist/{index-BCRt_Cv9.js → index-DJSJX8vV.js} +1 -1
  296. package/dist/{index-bIZ0RFsR.js → index-DNVp5G2I.js} +1 -1
  297. package/dist/{index-7txskGDj.js → index-DVJ8QmSG.js} +1 -1
  298. package/dist/{index-DvcyhUZo.js → index-DcfvvjAr.js} +1 -1
  299. package/dist/{index-DaODDFJP.js → index-DdDkPouM.js} +1 -1
  300. package/dist/{index-C-n0Hq6g.js → index-Dh0_tMMM.js} +1 -1
  301. package/dist/{index-b5jsa8Sf.js → index-Dm3oMS4e.js} +1 -1
  302. package/dist/index.d.ts +4 -2
  303. package/dist/index.js +1 -1
  304. package/dist/{isHoverSupported-Bb8VCWkb.js → isHoverSupported-BWzvcjJQ.js} +1 -1
  305. package/dist/keyboard_arrow_down.svg-5O3cbT-j.js +1 -0
  306. package/dist/layers.css.ts.vanilla-BnNnDBQ3-yK8eJtnx.js +1 -0
  307. package/dist/{modal-context-BtRhKF6r.js → modal-context-DjEp7oJz.js} +1 -1
  308. package/dist/more_horiz.svg-DEJtVDmt.js +1 -0
  309. package/dist/{onReactSelectInputBlur-Czd5pWjQ.js → onReactSelectInputBlur-BqDXHEGb.js} +1 -1
  310. package/dist/open_in_new.svg-BU-nJ9og.js +1 -0
  311. package/dist/{propTypes-CBoT2zxL.js → propTypes-DQak6nhg.js} +1 -1
  312. package/dist/{register-Suw5SMp3.js → register-Jxf4mhRg.js} +1 -1
  313. package/dist/search.svg-BYFmKpit.js +1 -0
  314. package/dist/theme-css-D9T4e-il.js +1 -0
  315. package/dist/{useEffectEvent-DJZrCahU.js → useEffectEvent-yhfb_y9N.js} +1 -1
  316. package/dist/{useFieldLabelTrigger-DuYdj9Il.js → useFieldLabelTrigger-wsXl-c_m.js} +1 -1
  317. package/dist/{useHighlightedIndex-BoSUk51g.js → useHighlightedIndex-CHeL2gYc.js} +1 -1
  318. package/dist/useMenuSurface-CdJdS9ED.js +1 -0
  319. package/dist/{useObserveValue-Lh-5eHci.js → useObserveValue-CGyaoE8y.js} +1 -1
  320. package/dist/{usePopoverScope-BT99NHuB.js → usePopoverScope-DSsqDfAh.js} +1 -1
  321. package/dist/{useSuggestions-Badn-3mi.js → useSuggestions-DPlvL0Y_.js} +1 -1
  322. package/dist/{useSurface-D_0IunOp.js → useSurface-mcnxhoAn.js} +1 -1
  323. package/dist/warning.svg-DjR1Q1pK.js +1 -0
  324. package/dist/{withIcon-Cf7t_1Ja.js → withIcon-cYL21Bpv.js} +1 -1
  325. package/package.json +3 -3
  326. package/dist/ActionsRoot-DaSivBoQ.js +0 -1
  327. package/dist/Alert-BCgSsism.js +0 -1
  328. package/dist/AlertDialog-BfF-f9yd.js +0 -1
  329. package/dist/AlertDialogFooter-xn241aXS.js +0 -1
  330. package/dist/AlertDialogHeader-8zqP4T8B.js +0 -1
  331. package/dist/AlertDialogTrigger-CAxF1Ue3.js +0 -1
  332. package/dist/AngleMenuButton-9Ro71hTF.js +0 -1
  333. package/dist/Avatar-DcoK6b5y.js +0 -1
  334. package/dist/AvatarContext-BD96I2qr.js +0 -1
  335. package/dist/AvatarGroup-DK1zx-gE.js +0 -1
  336. package/dist/AvatarGroup.css.ts.vanilla-BYV2kEqW-Cc1ZPCJt.js +0 -1
  337. package/dist/Badge-BgqHHxq2.js +0 -1
  338. package/dist/Box-DHHdRquT.js +0 -1
  339. package/dist/Button-Dw8R0mu9.js +0 -1
  340. package/dist/ButtonContext-DKYKHqBA.js +0 -1
  341. package/dist/ButtonGroup-CaZfOZbj.js +0 -1
  342. package/dist/ButtonRoot-eibbrGV3.js +0 -1
  343. package/dist/CardContext-CoGqdWOM.js +0 -1
  344. package/dist/Cover-EBo4n7S0.js +0 -1
  345. package/dist/Cover.css.ts.vanilla-BSF8fxeJ-IvXoycK6.js +0 -1
  346. package/dist/DataTableContext-YS5J3ZQZ.js +0 -1
  347. package/dist/DateRangePickerContext-DOyvmS16.js +0 -1
  348. package/dist/DialogBody-DnxP64c1.js +0 -1
  349. package/dist/DialogFooter-C76JW-vv.js +0 -1
  350. package/dist/DialogTrigger-DaRZoKHi.js +0 -1
  351. package/dist/Disclosure-C5EL1y7l.js +0 -1
  352. package/dist/DisclosureContent-Cq1k--i4.js +0 -1
  353. package/dist/DisclosureTrigger-CVdUEtww.js +0 -1
  354. package/dist/DropdownMenuContext-B0F8xlbB.js +0 -1
  355. package/dist/DropdownMenuNestedContext-Cjb2Rw9a.js +0 -1
  356. package/dist/DropdownMenuSubContext-B-sGErUu.js +0 -1
  357. package/dist/Group-3ioJDura.js +0 -1
  358. package/dist/Icon-D-0TxPMP.js +0 -1
  359. package/dist/Input-q5h0HWVd.js +0 -1
  360. package/dist/InputAddon-C8IqEK-B.js +0 -1
  361. package/dist/InputContext-D7_Dpaqj.js +0 -1
  362. package/dist/InputControl-B8BRdgul.js +0 -1
  363. package/dist/InputControl.css.ts.vanilla-C2YlbC5j-DrImSP7F.js +0 -1
  364. package/dist/InputRoot-CpzLDan5.js +0 -1
  365. package/dist/Link-zIbPkMP8.js +0 -1
  366. package/dist/Listbox-C-wvk_5c.js +0 -1
  367. package/dist/ListboxEmpty-Dw9ZUUWS.js +0 -1
  368. package/dist/ListboxGroup-BPwRMU-P.js +0 -1
  369. package/dist/ListboxGroupContext-DmYNkUi1.js +0 -1
  370. package/dist/ListboxItem-Bs4o90cZ.js +0 -1
  371. package/dist/ListboxItemIndicator-DIdD6VSW.js +0 -1
  372. package/dist/ListboxLabel-DpLR2NBt.js +0 -1
  373. package/dist/ListboxSeparator-DM9elj84.js +0 -1
  374. package/dist/Menu-RIURpeYP.js +0 -1
  375. package/dist/MenuContent-C1X56Ver.js +0 -1
  376. package/dist/MenuContext-CwH5nKuF.js +0 -1
  377. package/dist/MenuTrigger-BSXCsooE.js +0 -1
  378. package/dist/Nav-DmoPyJ4J.js +0 -1
  379. package/dist/NavAccountItem-BQhKOhX5.js +0 -1
  380. package/dist/NavGroupTrigger-Ciap4ela.js +0 -1
  381. package/dist/NavHeader-CyUkQGBX.js +0 -1
  382. package/dist/NavItem-z9oNnNPR.js +0 -1
  383. package/dist/NavList-BSxFt-T-.js +0 -1
  384. package/dist/NavSeparator-B2uUVTs-.js +0 -1
  385. package/dist/Pagination-DDvoTzkK.js +0 -1
  386. package/dist/Paper-FghBgrem.js +0 -1
  387. package/dist/PortalContext-Cpof8SBZ.js +0 -1
  388. package/dist/RadioGroupContext-CM8Arl9s.js +0 -1
  389. package/dist/SelectContent-JN_f_t2h.js +0 -1
  390. package/dist/Separator-DZCNeZMS.js +0 -1
  391. package/dist/SidebarContext-BEKFxfLF.js +0 -1
  392. package/dist/Skeleton-Cob36Jhs.js +0 -1
  393. package/dist/Spinner-_WTrNBmH.js +0 -1
  394. package/dist/SuggestionPopover-BsZ6dazF.js +0 -9
  395. package/dist/Table-B9SAoG8h.js +0 -1
  396. package/dist/TableAction-D1pdie58.js +0 -1
  397. package/dist/TableBody-CiYZUrl5.js +0 -1
  398. package/dist/TableCell-CRH2q9et.js +0 -1
  399. package/dist/TableHeader-DGzGLcJW.js +0 -1
  400. package/dist/TableHeaderCell-cOuwjU_w.js +0 -1
  401. package/dist/TableRow-CRAcd-Cu.js +0 -1
  402. package/dist/TableRow.css.ts.vanilla-C5iFEXaM-C52kYDrD.js +0 -1
  403. package/dist/Text-DntWhzBo.js +0 -1
  404. package/dist/ToastProvider-Clf5Am7U.js +0 -1
  405. package/dist/ToggleInputLabel-hc3Yp1RJ.js +0 -1
  406. package/dist/TooltipContent-CDyocVU5.js +0 -1
  407. package/dist/TooltipContext-C3Ty0m6w.js +0 -1
  408. package/dist/TooltipProvider-gN8G_zTX.js +0 -1
  409. package/dist/TooltipTrigger-kt5R8xjX.js +0 -1
  410. package/dist/Transition-BEu5WiYd.js +0 -1
  411. package/dist/TransitionGroupContext-WssuPMwI.js +0 -1
  412. package/dist/chevron_left.svg-tcRd5sOA.js +0 -1
  413. package/dist/chevron_right.svg-CKY_9VnT.js +0 -1
  414. package/dist/close.svg-C_rVWmGx.js +0 -1
  415. package/dist/context-DeXWb5Cc.js +0 -1
  416. package/dist/fallbackSpan-RbOgXklO.js +0 -1
  417. package/dist/index-CJw0gSFa.js +0 -1
  418. package/dist/index-DfrwUl5I.js +0 -1
  419. package/dist/index-UzIVBXMP.js +0 -4
  420. package/dist/keyboard_arrow_down.svg-BVzMTagE.js +0 -1
  421. package/dist/layers.css.ts.vanilla-DtGY3B09-CD1dfw9v.js +0 -1
  422. package/dist/more_horiz.svg-81L9NjC7.js +0 -1
  423. package/dist/open_in_new.svg-BSGT4Kzv.js +0 -1
  424. package/dist/search.svg-X6I0Pkoq.js +0 -1
  425. package/dist/theme-css-jvcHFIu3.js +0 -1
  426. package/dist/useMenuSurface-CInjFsKJ.js +0 -1
  427. package/dist/warning.svg-CDk-QmZe.js +0 -1
@@ -1 +1 @@
1
- import{X as S,T as d,u as P,x as l}from"./register-Suw5SMp3.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-Jxf4mhRg.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{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-Suw5SMp3.js";import{P as bt}from"./index-BgwdcOG9.js";import{u as Vt}from"./index-DF-lKL9l.js";import{a as Re}from"./index-BCRt_Cv9.js";import{u as Ce}from"./index-BfktuCSZ.js";import{u as At}from"./index-CJw0gSFa.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-Jxf4mhRg.js";import{P as bt}from"./index-Cnb334T6.js";import{u as Vt}from"./index-CHUhFArm.js";import{a as Re}from"./index-DJSJX8vV.js";import{u as Ce}from"./index-B6mZRI1I.js";import{u as At}from"./index-BzIpwXn1.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{y as l,D as g,x as B,d as T,u as R,X,A as y}from"./register-Suw5SMp3.js";import{c as p}from"./index-CBrz5xtv.js";import{P as F,d as Y}from"./index-BgwdcOG9.js";import{u as I}from"./index-DF-lKL9l.js";import{u as m}from"./index-BfktuCSZ.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
+ import{y as l,D as g,x as B,d as T,u as R,X,A as y}from"./register-Jxf4mhRg.js";import{c as p}from"./index-CBrz5xtv.js";import{P as F,d as Y}from"./index-Cnb334T6.js";import{u as I}from"./index-CHUhFArm.js";import{u as m}from"./index-B6mZRI1I.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 a,R as s}from"./register-Suw5SMp3.js";import{u as e}from"./index-CJw0gSFa.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
+ import{d as a,R as s}from"./register-Jxf4mhRg.js";import{u as e}from"./index-BzIpwXn1.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{d as A,A as C,y as E,u as c,q as S,D as f,S as vn}from"./register-Suw5SMp3.js";import{c as M}from"./index-CBrz5xtv.js";import{u as G,c as Mn,b as he}from"./index-DF-lKL9l.js";import{a as ge}from"./index-BCRt_Cv9.js";import{u as Ce}from"./index-Bsxgez75.js";import{d as hn,P as N}from"./index-BgwdcOG9.js";import{c as gn}from"./index-BcTDnMXT.js";import{u as Cn,c as _e,I as _n,R as wn}from"./index-C-n0Hq6g.js";import{D as In}from"./index-7txskGDj.js";import{u as Sn,o as Dn,F as En}from"./Combination-DYMbGHDA.js";import{u as W}from"./index-DvcyhUZo.js";import{R as we,c as Ie,C as Pn,A as yn,a as bn}from"./index-bIZ0RFsR.js";import{P as oe}from"./index-V4EsGGoq.js";import{u as te}from"./index-BfktuCSZ.js";import{h as xn}from"./index-CDr5kGHV.js";var re=["Enter"," "],Rn=["ArrowDown","PageUp","Home"],Se=["ArrowUp","PageDown","End"],Tn=[...Rn,...Se],An={ltr:[...re,"ArrowRight"],rtl:[...re,"ArrowLeft"]},Nn={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[K,On,kn]=gn(F),[P,De]=ge(F,[kn,Ie,_e]),U=Ie(),Ee=_e(),[Pe,y]=P(F),[Ln,B]=P(F),ye=e=>{const{__scopeMenu:o,open:n=!1,children:t,dir:r,onOpenChange:a,modal:u=!0}=e,i=U(o),[p,m]=A(null),l=C(!1),s=te(a),v=Cn(r);return E(()=>{const w=()=>{l.current=!0,document.addEventListener("pointerdown",h,{capture:!0,once:!0}),document.addEventListener("pointermove",h,{capture:!0,once:!0})},h=()=>l.current=!1;return document.addEventListener("keydown",w,{capture:!0}),()=>{document.removeEventListener("keydown",w,{capture:!0}),document.removeEventListener("pointerdown",h,{capture:!0}),document.removeEventListener("pointermove",h,{capture:!0})}},[]),c(we,{...i,children:c(Pe,{scope:o,open:n,onOpenChange:s,content:p,onContentChange:m,children:c(Ln,{scope:o,onClose:S(()=>s(!1),[s]),isUsingKeyboardRef:l,dir:v,modal:u,children:t})})})};ye.displayName=F;var Gn="MenuAnchor",ae=f((e,o)=>{const{__scopeMenu:n,...t}=e,r=U(n);return c(yn,{...r,...t,ref:o})});ae.displayName=Gn;var Fn="MenuPortal",[it,be]=P(Fn,{forceMount:void 0}),I="MenuContent",[Kn,ce]=P(I),xe=f((e,o)=>{const n=be(I,e.__scopeMenu),{forceMount:t=n.forceMount,...r}=e,a=y(I,e.__scopeMenu),u=B(I,e.__scopeMenu);return c(K.Provider,{scope:e.__scopeMenu,children:c(oe,{present:t||a.open,children:c(K.Slot,{scope:e.__scopeMenu,children:u.modal?c(Un,{...r,ref:o}):c(Bn,{...r,ref:o})})})})}),Un=f((e,o)=>{const n=y(I,e.__scopeMenu),t=C(null),r=G(o,t);return E(()=>{const a=t.current;if(a)return xn(a)},[]),c(se,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:M(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Bn=f((e,o)=>{const n=y(I,e.__scopeMenu);return c(se,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),$n=Mn("MenuContent.ScrollLock"),se=f((e,o)=>{const{__scopeMenu:n,loop:t=!1,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:u,disableOutsidePointerEvents:i,onEntryFocus:p,onEscapeKeyDown:m,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:v,onDismiss:w,disableOutsideScroll:h,...b}=e,O=y(I,n),x=B(I,n),cn=U(n),sn=Ee(n),pe=On(n),[un,fe]=A(null),X=C(null),dn=G(o,X,O.onContentChange),Y=C(0),H=C(""),ln=C(0),J=C(null),me=C("right"),Q=C(0),pn=h?Dn:vn,fn=h?{as:$n,allowPinchZoom:!0}:void 0,mn=d=>{const T=H.current+d,D=pe().filter(g=>!g.disabled),k=(()=>{let g=document.activeElement;for(;g?.shadowRoot;)g=g.shadowRoot.activeElement;return g})(),ee=D.find(g=>g.ref.current===k)?.textValue,ne=D.map(g=>g.textValue),ve=eo(ne,T,ee),L=D.find(g=>g.textValue===ve)?.ref.current;(function g(Me){H.current=Me,window.clearTimeout(Y.current),Me!==""&&(Y.current=window.setTimeout(()=>g(""),1e3))})(T),L&&setTimeout(()=>L.focus())};E(()=>()=>window.clearTimeout(Y.current),[]),Sn();const R=S(d=>me.current===J.current?.side&&oo(d,J.current?.area),[]);return c(Kn,{scope:n,searchRef:H,onItemEnter:S(d=>{R(d)&&d.preventDefault()},[R]),onItemLeave:S(d=>{R(d)||(X.current?.focus(),fe(null))},[R]),onTriggerLeave:S(d=>{R(d)&&d.preventDefault()},[R]),pointerGraceTimerRef:ln,onPointerGraceIntentChange:S(d=>{J.current=d},[]),children:c(pn,{...fn,children:c(En,{asChild:!0,trapped:r,onMountAutoFocus:M(a,d=>{d.preventDefault(),X.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:c(In,{asChild:!0,disableOutsidePointerEvents:i,onEscapeKeyDown:m,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:v,onDismiss:w,children:c(wn,{asChild:!0,...sn,dir:x.dir,orientation:"vertical",loop:t,currentTabStopId:un,onCurrentTabStopIdChange:fe,onEntryFocus:M(p,d=>{x.isUsingKeyboardRef.current||d.preventDefault()}),preventScrollOnEntryFocus:!0,children:c(Pn,{role:"menu","aria-orientation":"vertical","data-state":We(O.open),"data-radix-menu-content":"",dir:x.dir,...cn,...b,ref:dn,style:{outline:"none",...b.style},onKeyDown:M(b.onKeyDown,d=>{const D=d.target.closest("[data-radix-menu-content]")===d.currentTarget,k=d.ctrlKey||d.altKey||d.metaKey,ee=d.key.length===1;D&&(d.key==="Tab"&&d.preventDefault(),!k&&ee&&mn(d.key));const ne=X.current;if(d.target!==ne||!Tn.includes(d.key))return;d.preventDefault();const L=pe().filter(g=>!g.disabled).map(g=>g.ref.current);Se.includes(d.key)&&L.reverse(),Jn(L)}),onBlur:M(e.onBlur,d=>{d.currentTarget.contains(d.target)||(window.clearTimeout(Y.current),H.current="")}),onPointerMove:M(e.onPointerMove,V(d=>{const T=d.target,D=Q.current!==d.clientX;if(d.currentTarget.contains(T)&&D){const k=d.clientX>Q.current?"right":"left";me.current=k,Q.current=d.clientX}}))})})})})})})});xe.displayName=I;var Vn="MenuGroup",ue=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{role:"group",...t,ref:o})});ue.displayName=Vn;var Xn="MenuLabel",Re=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{...t,ref:o})});Re.displayName=Xn;var j="MenuItem",Te="menu.itemSelect",z=f((e,o)=>{const{disabled:n=!1,onSelect:t,...r}=e,a=C(null),u=B(j,e.__scopeMenu),i=ce(j,e.__scopeMenu),p=G(o,a),m=C(!1),l=()=>{const s=a.current;if(!n&&s){const v=new CustomEvent(Te,{bubbles:!0,cancelable:!0});s.addEventListener(Te,w=>t?.(w),{once:!0}),hn(s,v),v.defaultPrevented?m.current=!1:u.onClose()}};return c(Ae,{...r,ref:p,disabled:n,onClick:M(e.onClick,l),onPointerDown:s=>{e.onPointerDown?.(s),m.current=!0},onPointerUp:M(e.onPointerUp,s=>{m.current||s.currentTarget?.click()}),onKeyDown:M(e.onKeyDown,s=>{const v=i.searchRef.current!=="";n||v&&s.key===" "||re.includes(s.key)&&(s.currentTarget.click(),s.preventDefault())})})});z.displayName=j;var Ae=f((e,o)=>{const{__scopeMenu:n,disabled:t=!1,textValue:r,...a}=e,u=ce(j,n),i=Ee(n),p=C(null),m=G(o,p),[l,s]=A(!1),[v,w]=A("");return E(()=>{const h=p.current;h&&w((h.textContent??"").trim())},[a.children]),c(K.ItemSlot,{scope:n,disabled:t,textValue:r??v,children:c(_n,{asChild:!0,...i,focusable:!t,children:c(N.div,{role:"menuitem","data-highlighted":l?"":void 0,"aria-disabled":t||void 0,"data-disabled":t?"":void 0,...a,ref:m,onPointerMove:M(e.onPointerMove,V(h=>{t?u.onItemLeave(h):(u.onItemEnter(h),h.defaultPrevented||h.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:M(e.onPointerLeave,V(h=>u.onItemLeave(h))),onFocus:M(e.onFocus,()=>s(!0)),onBlur:M(e.onBlur,()=>s(!1))})})})}),Yn="MenuCheckboxItem",Ne=f((e,o)=>{const{checked:n=!1,onCheckedChange:t,...r}=e;return c(Fe,{scope:e.__scopeMenu,checked:n,children:c(z,{role:"menuitemcheckbox","aria-checked":q(n)?"mixed":n,...r,ref:o,"data-state":le(n),onSelect:M(r.onSelect,()=>t?.(q(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Ne.displayName=Yn;var Oe="MenuRadioGroup",[Hn,Wn]=P(Oe,{value:void 0,onValueChange:()=>{}}),ke=f((e,o)=>{const{value:n,onValueChange:t,...r}=e,a=te(t);return c(Hn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:c(ue,{...r,ref:o})})});ke.displayName=Oe;var Le="MenuRadioItem",Ge=f((e,o)=>{const{value:n,...t}=e,r=Wn(Le,e.__scopeMenu),a=n===r.value;return c(Fe,{scope:e.__scopeMenu,checked:a,children:c(z,{role:"menuitemradio","aria-checked":a,...t,ref:o,"data-state":le(a),onSelect:M(t.onSelect,()=>r.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Ge.displayName=Le;var ie="MenuItemIndicator",[Fe,jn]=P(ie,{checked:!1}),Ke=f((e,o)=>{const{__scopeMenu:n,forceMount:t,...r}=e,a=jn(ie,n);return c(oe,{present:t||q(a.checked)||a.checked===!0,children:c(N.span,{...r,ref:o,"data-state":le(a.checked)})})});Ke.displayName=ie;var zn="MenuSeparator",Ue=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{role:"separator","aria-orientation":"horizontal",...t,ref:o})});Ue.displayName=zn;var qn="MenuArrow",Be=f((e,o)=>{const{__scopeMenu:n,...t}=e,r=U(n);return c(bn,{...r,...t,ref:o})});Be.displayName=qn;var de="MenuSub",[Zn,$e]=P(de),Ve=e=>{const{__scopeMenu:o,children:n,open:t=!1,onOpenChange:r}=e,a=y(de,o),u=U(o),[i,p]=A(null),[m,l]=A(null),s=te(r);return E(()=>(a.open===!1&&s(!1),()=>s(!1)),[a.open,s]),c(we,{...u,children:c(Pe,{scope:o,open:t,onOpenChange:s,content:m,onContentChange:l,children:c(Zn,{scope:o,contentId:W(),triggerId:W(),trigger:i,onTriggerChange:p,children:n})})})};Ve.displayName=de;var $="MenuSubTrigger",Xe=f((e,o)=>{const n=y($,e.__scopeMenu),t=B($,e.__scopeMenu),r=$e($,e.__scopeMenu),a=ce($,e.__scopeMenu),u=C(null),{pointerGraceTimerRef:i,onPointerGraceIntentChange:p}=a,m={__scopeMenu:e.__scopeMenu},l=S(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return E(()=>l,[l]),E(()=>{const s=i.current;return()=>{window.clearTimeout(s),p(null)}},[i,p]),c(ae,{asChild:!0,...m,children:c(Ae,{id:r.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":r.contentId,"data-state":We(n.open),...e,ref:he(o,r.onTriggerChange),onClick:s=>{e.onClick?.(s),!(e.disabled||s.defaultPrevented)&&(s.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:M(e.onPointerMove,V(s=>{a.onItemEnter(s),!s.defaultPrevented&&!e.disabled&&!n.open&&!u.current&&(a.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),l()},100))})),onPointerLeave:M(e.onPointerLeave,V(s=>{l();const v=n.content?.getBoundingClientRect();if(v){const w=n.content?.dataset.side,h=w==="right",b=h?-5:5,O=v[h?"left":"right"],x=v[h?"right":"left"];a.onPointerGraceIntentChange({area:[{x:s.clientX+b,y:s.clientY},{x:O,y:v.top},{x,y:v.top},{x,y:v.bottom},{x:O,y:v.bottom}],side:w}),window.clearTimeout(i.current),i.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(s),s.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:M(e.onKeyDown,s=>{const v=a.searchRef.current!=="";e.disabled||v&&s.key===" "||An[t.dir].includes(s.key)&&(n.onOpenChange(!0),n.content?.focus(),s.preventDefault())})})})});Xe.displayName=$;var Ye="MenuSubContent",He=f((e,o)=>{const n=be(I,e.__scopeMenu),{forceMount:t=n.forceMount,...r}=e,a=y(I,e.__scopeMenu),u=B(I,e.__scopeMenu),i=$e(Ye,e.__scopeMenu),p=C(null),m=G(o,p);return c(K.Provider,{scope:e.__scopeMenu,children:c(oe,{present:t||a.open,children:c(K.Slot,{scope:e.__scopeMenu,children:c(se,{id:i.contentId,"aria-labelledby":i.triggerId,...r,ref:m,align:"start",side:u.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:l=>{u.isUsingKeyboardRef.current&&p.current?.focus(),l.preventDefault()},onCloseAutoFocus:l=>l.preventDefault(),onFocusOutside:M(e.onFocusOutside,l=>{l.target!==i.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:M(e.onEscapeKeyDown,l=>{u.onClose(),l.preventDefault()}),onKeyDown:M(e.onKeyDown,l=>{const s=l.currentTarget.contains(l.target),v=Nn[u.dir].includes(l.key);s&&v&&(a.onOpenChange(!1),i.trigger?.focus(),l.preventDefault())})})})})})});He.displayName=Ye;function We(e){return e?"open":"closed"}function q(e){return e==="indeterminate"}function le(e){return q(e)?"indeterminate":e?"checked":"unchecked"}function Jn(e){const o=(()=>{let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n})();for(const n of e)if(n===o||(n.focus(),(()=>{let t=document.activeElement;for(;t?.shadowRoot;)t=t.shadowRoot.activeElement;return t})()!==o))return}function Qn(e,o){return e.map((n,t)=>e[(o+t)%e.length])}function eo(e,o,n){const r=o.length>1&&Array.from(o).every(m=>m===o[0])?o[0]:o,a=n?e.indexOf(n):-1;let u=Qn(e,Math.max(a,0));r.length===1&&(u=u.filter(m=>m!==n));const p=u.find(m=>m.toLowerCase().startsWith(r.toLowerCase()));return p!==n?p:void 0}function no(e,o){const{x:n,y:t}=e;let r=!1;for(let a=0,u=o.length-1;a<o.length;u=a++){const i=o[a],p=o[u],m=i.x,l=i.y,s=p.x,v=p.y;l>t!=v>t&&n<(s-m)*(t-l)/(v-l)+m&&(r=!r)}return r}function oo(e,o){if(!o)return!1;const n={x:e.clientX,y:e.clientY};return no(n,o)}function V(e){return o=>o.pointerType==="mouse"?e(o):void 0}var to=ye,ro=ae,ao=xe,co=ue,so=Re,uo=z,io=Ne,lo=ke,po=Ge,fo=Ke,mo=Ue,vo=Be,Mo=Ve,ho=Xe,go=He,Z="DropdownMenu",[Co]=ge(Z,[De]),_=De(),[_o,je]=Co(Z),ze=e=>{const{__scopeDropdownMenu:o,children:n,dir:t,open:r,defaultOpen:a,onOpenChange:u,modal:i=!0}=e,p=_(o),m=C(null),[l,s]=Ce({prop:r,defaultProp:a??!1,onChange:u,caller:Z});return c(_o,{scope:o,triggerId:W(),triggerRef:m,contentId:W(),open:l,onOpenChange:s,onOpenToggle:S(()=>s(v=>!v),[s]),modal:i,children:c(to,{...p,open:l,onOpenChange:s,dir:t,modal:i,children:n})})};ze.displayName=Z;var qe="DropdownMenuTrigger",Ze=f((e,o)=>{const{__scopeDropdownMenu:n,disabled:t=!1,...r}=e,a=je(qe,n),u=_(n);return c(ro,{asChild:!0,...u,children:c(N.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...r,ref:he(o,a.triggerRef),onPointerDown:M(e.onPointerDown,i=>{!t&&i.button===0&&i.ctrlKey===!1&&(a.onOpenToggle(),a.open||i.preventDefault())}),onKeyDown:M(e.onKeyDown,i=>{t||(["Enter"," "].includes(i.key)&&a.onOpenToggle(),i.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(i.key)&&i.preventDefault())})})})});Ze.displayName=qe;var Je="DropdownMenuContent",Qe=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=je(Je,n),a=_(n),u=C(!1);return c(ao,{id:r.contentId,"aria-labelledby":r.triggerId,...a,...t,ref:o,onCloseAutoFocus:M(e.onCloseAutoFocus,i=>{u.current||r.triggerRef.current?.focus(),u.current=!1,i.preventDefault()}),onInteractOutside:M(e.onInteractOutside,i=>{const p=i.detail.originalEvent,m=p.button===0&&p.ctrlKey===!0,l=p.button===2||m;(!r.modal||l)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Qe.displayName=Je;var wo="DropdownMenuGroup",en=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(co,{...r,...t,ref:o})});en.displayName=wo;var Io="DropdownMenuLabel",nn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(so,{...r,...t,ref:o})});nn.displayName=Io;var So="DropdownMenuItem",on=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(uo,{...r,...t,ref:o})});on.displayName=So;var Do="DropdownMenuCheckboxItem",tn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(io,{...r,...t,ref:o})});tn.displayName=Do;var Eo="DropdownMenuRadioGroup",Po=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(lo,{...r,...t,ref:o})});Po.displayName=Eo;var yo="DropdownMenuRadioItem",bo=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(po,{...r,...t,ref:o})});bo.displayName=yo;var xo="DropdownMenuItemIndicator",Ro=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(fo,{...r,...t,ref:o})});Ro.displayName=xo;var To="DropdownMenuSeparator",rn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(mo,{...r,...t,ref:o})});rn.displayName=To;var Ao="DropdownMenuArrow",No=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(vo,{...r,...t,ref:o})});No.displayName=Ao;var Oo=e=>{const{__scopeDropdownMenu:o,children:n,open:t,onOpenChange:r,defaultOpen:a}=e,u=_(o),[i,p]=Ce({prop:t,defaultProp:a??!1,onChange:r,caller:"DropdownMenuSub"});return c(Mo,{...u,open:i,onOpenChange:p,children:n})},ko="DropdownMenuSubTrigger",Lo=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(ho,{...r,...t,ref:o})});Lo.displayName=ko;var Go="DropdownMenuSubContent",an=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(go,{...r,...t,ref:o,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});an.displayName=Go;var Fo=ze,Ko=Ze,Uo=Qe,Bo=en,$o=nn,Vo=on,Xo=tn,Yo=rn,Ho=Oo,Wo=an;export{Xo as C,Bo as G,Vo as I,$o as L,Fo as R,Yo as S,Ko as T,Uo as a,Ho as b,Wo as c};
1
+ import{d as A,A as C,y as E,u as c,q as S,D as f,S as vn}from"./register-Jxf4mhRg.js";import{c as M}from"./index-CBrz5xtv.js";import{u as G,c as Mn,b as he}from"./index-CHUhFArm.js";import{a as ge}from"./index-DJSJX8vV.js";import{u as Ce}from"./index-CfWSRbGc.js";import{d as hn,P as N}from"./index-Cnb334T6.js";import{c as gn}from"./index-BV34namC.js";import{u as Cn,c as _e,I as _n,R as wn}from"./index-Dh0_tMMM.js";import{D as In}from"./index-DVJ8QmSG.js";import{u as Sn,o as Dn,F as En}from"./Combination-DMxzHxML.js";import{u as W}from"./index-DcfvvjAr.js";import{R as we,c as Ie,C as Pn,A as yn,a as bn}from"./index-DNVp5G2I.js";import{P as oe}from"./index-C5SfZ6cm.js";import{u as te}from"./index-B6mZRI1I.js";import{h as xn}from"./index-CDr5kGHV.js";var re=["Enter"," "],Rn=["ArrowDown","PageUp","Home"],Se=["ArrowUp","PageDown","End"],Tn=[...Rn,...Se],An={ltr:[...re,"ArrowRight"],rtl:[...re,"ArrowLeft"]},Nn={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[K,On,kn]=gn(F),[P,De]=ge(F,[kn,Ie,_e]),U=Ie(),Ee=_e(),[Pe,y]=P(F),[Ln,B]=P(F),ye=e=>{const{__scopeMenu:o,open:n=!1,children:t,dir:r,onOpenChange:a,modal:u=!0}=e,i=U(o),[p,m]=A(null),l=C(!1),s=te(a),v=Cn(r);return E(()=>{const w=()=>{l.current=!0,document.addEventListener("pointerdown",h,{capture:!0,once:!0}),document.addEventListener("pointermove",h,{capture:!0,once:!0})},h=()=>l.current=!1;return document.addEventListener("keydown",w,{capture:!0}),()=>{document.removeEventListener("keydown",w,{capture:!0}),document.removeEventListener("pointerdown",h,{capture:!0}),document.removeEventListener("pointermove",h,{capture:!0})}},[]),c(we,{...i,children:c(Pe,{scope:o,open:n,onOpenChange:s,content:p,onContentChange:m,children:c(Ln,{scope:o,onClose:S(()=>s(!1),[s]),isUsingKeyboardRef:l,dir:v,modal:u,children:t})})})};ye.displayName=F;var Gn="MenuAnchor",ae=f((e,o)=>{const{__scopeMenu:n,...t}=e,r=U(n);return c(yn,{...r,...t,ref:o})});ae.displayName=Gn;var Fn="MenuPortal",[it,be]=P(Fn,{forceMount:void 0}),I="MenuContent",[Kn,ce]=P(I),xe=f((e,o)=>{const n=be(I,e.__scopeMenu),{forceMount:t=n.forceMount,...r}=e,a=y(I,e.__scopeMenu),u=B(I,e.__scopeMenu);return c(K.Provider,{scope:e.__scopeMenu,children:c(oe,{present:t||a.open,children:c(K.Slot,{scope:e.__scopeMenu,children:u.modal?c(Un,{...r,ref:o}):c(Bn,{...r,ref:o})})})})}),Un=f((e,o)=>{const n=y(I,e.__scopeMenu),t=C(null),r=G(o,t);return E(()=>{const a=t.current;if(a)return xn(a)},[]),c(se,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:M(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Bn=f((e,o)=>{const n=y(I,e.__scopeMenu);return c(se,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),$n=Mn("MenuContent.ScrollLock"),se=f((e,o)=>{const{__scopeMenu:n,loop:t=!1,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:u,disableOutsidePointerEvents:i,onEntryFocus:p,onEscapeKeyDown:m,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:v,onDismiss:w,disableOutsideScroll:h,...b}=e,O=y(I,n),x=B(I,n),cn=U(n),sn=Ee(n),pe=On(n),[un,fe]=A(null),X=C(null),dn=G(o,X,O.onContentChange),Y=C(0),H=C(""),ln=C(0),J=C(null),me=C("right"),Q=C(0),pn=h?Dn:vn,fn=h?{as:$n,allowPinchZoom:!0}:void 0,mn=d=>{const T=H.current+d,D=pe().filter(g=>!g.disabled),k=(()=>{let g=document.activeElement;for(;g?.shadowRoot;)g=g.shadowRoot.activeElement;return g})(),ee=D.find(g=>g.ref.current===k)?.textValue,ne=D.map(g=>g.textValue),ve=eo(ne,T,ee),L=D.find(g=>g.textValue===ve)?.ref.current;(function g(Me){H.current=Me,window.clearTimeout(Y.current),Me!==""&&(Y.current=window.setTimeout(()=>g(""),1e3))})(T),L&&setTimeout(()=>L.focus())};E(()=>()=>window.clearTimeout(Y.current),[]),Sn();const R=S(d=>me.current===J.current?.side&&oo(d,J.current?.area),[]);return c(Kn,{scope:n,searchRef:H,onItemEnter:S(d=>{R(d)&&d.preventDefault()},[R]),onItemLeave:S(d=>{R(d)||(X.current?.focus(),fe(null))},[R]),onTriggerLeave:S(d=>{R(d)&&d.preventDefault()},[R]),pointerGraceTimerRef:ln,onPointerGraceIntentChange:S(d=>{J.current=d},[]),children:c(pn,{...fn,children:c(En,{asChild:!0,trapped:r,onMountAutoFocus:M(a,d=>{d.preventDefault(),X.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:c(In,{asChild:!0,disableOutsidePointerEvents:i,onEscapeKeyDown:m,onPointerDownOutside:l,onFocusOutside:s,onInteractOutside:v,onDismiss:w,children:c(wn,{asChild:!0,...sn,dir:x.dir,orientation:"vertical",loop:t,currentTabStopId:un,onCurrentTabStopIdChange:fe,onEntryFocus:M(p,d=>{x.isUsingKeyboardRef.current||d.preventDefault()}),preventScrollOnEntryFocus:!0,children:c(Pn,{role:"menu","aria-orientation":"vertical","data-state":We(O.open),"data-radix-menu-content":"",dir:x.dir,...cn,...b,ref:dn,style:{outline:"none",...b.style},onKeyDown:M(b.onKeyDown,d=>{const D=d.target.closest("[data-radix-menu-content]")===d.currentTarget,k=d.ctrlKey||d.altKey||d.metaKey,ee=d.key.length===1;D&&(d.key==="Tab"&&d.preventDefault(),!k&&ee&&mn(d.key));const ne=X.current;if(d.target!==ne||!Tn.includes(d.key))return;d.preventDefault();const L=pe().filter(g=>!g.disabled).map(g=>g.ref.current);Se.includes(d.key)&&L.reverse(),Jn(L)}),onBlur:M(e.onBlur,d=>{d.currentTarget.contains(d.target)||(window.clearTimeout(Y.current),H.current="")}),onPointerMove:M(e.onPointerMove,V(d=>{const T=d.target,D=Q.current!==d.clientX;if(d.currentTarget.contains(T)&&D){const k=d.clientX>Q.current?"right":"left";me.current=k,Q.current=d.clientX}}))})})})})})})});xe.displayName=I;var Vn="MenuGroup",ue=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{role:"group",...t,ref:o})});ue.displayName=Vn;var Xn="MenuLabel",Re=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{...t,ref:o})});Re.displayName=Xn;var j="MenuItem",Te="menu.itemSelect",z=f((e,o)=>{const{disabled:n=!1,onSelect:t,...r}=e,a=C(null),u=B(j,e.__scopeMenu),i=ce(j,e.__scopeMenu),p=G(o,a),m=C(!1),l=()=>{const s=a.current;if(!n&&s){const v=new CustomEvent(Te,{bubbles:!0,cancelable:!0});s.addEventListener(Te,w=>t?.(w),{once:!0}),hn(s,v),v.defaultPrevented?m.current=!1:u.onClose()}};return c(Ae,{...r,ref:p,disabled:n,onClick:M(e.onClick,l),onPointerDown:s=>{e.onPointerDown?.(s),m.current=!0},onPointerUp:M(e.onPointerUp,s=>{m.current||s.currentTarget?.click()}),onKeyDown:M(e.onKeyDown,s=>{const v=i.searchRef.current!=="";n||v&&s.key===" "||re.includes(s.key)&&(s.currentTarget.click(),s.preventDefault())})})});z.displayName=j;var Ae=f((e,o)=>{const{__scopeMenu:n,disabled:t=!1,textValue:r,...a}=e,u=ce(j,n),i=Ee(n),p=C(null),m=G(o,p),[l,s]=A(!1),[v,w]=A("");return E(()=>{const h=p.current;h&&w((h.textContent??"").trim())},[a.children]),c(K.ItemSlot,{scope:n,disabled:t,textValue:r??v,children:c(_n,{asChild:!0,...i,focusable:!t,children:c(N.div,{role:"menuitem","data-highlighted":l?"":void 0,"aria-disabled":t||void 0,"data-disabled":t?"":void 0,...a,ref:m,onPointerMove:M(e.onPointerMove,V(h=>{t?u.onItemLeave(h):(u.onItemEnter(h),h.defaultPrevented||h.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:M(e.onPointerLeave,V(h=>u.onItemLeave(h))),onFocus:M(e.onFocus,()=>s(!0)),onBlur:M(e.onBlur,()=>s(!1))})})})}),Yn="MenuCheckboxItem",Ne=f((e,o)=>{const{checked:n=!1,onCheckedChange:t,...r}=e;return c(Fe,{scope:e.__scopeMenu,checked:n,children:c(z,{role:"menuitemcheckbox","aria-checked":q(n)?"mixed":n,...r,ref:o,"data-state":le(n),onSelect:M(r.onSelect,()=>t?.(q(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Ne.displayName=Yn;var Oe="MenuRadioGroup",[Hn,Wn]=P(Oe,{value:void 0,onValueChange:()=>{}}),ke=f((e,o)=>{const{value:n,onValueChange:t,...r}=e,a=te(t);return c(Hn,{scope:e.__scopeMenu,value:n,onValueChange:a,children:c(ue,{...r,ref:o})})});ke.displayName=Oe;var Le="MenuRadioItem",Ge=f((e,o)=>{const{value:n,...t}=e,r=Wn(Le,e.__scopeMenu),a=n===r.value;return c(Fe,{scope:e.__scopeMenu,checked:a,children:c(z,{role:"menuitemradio","aria-checked":a,...t,ref:o,"data-state":le(a),onSelect:M(t.onSelect,()=>r.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});Ge.displayName=Le;var ie="MenuItemIndicator",[Fe,jn]=P(ie,{checked:!1}),Ke=f((e,o)=>{const{__scopeMenu:n,forceMount:t,...r}=e,a=jn(ie,n);return c(oe,{present:t||q(a.checked)||a.checked===!0,children:c(N.span,{...r,ref:o,"data-state":le(a.checked)})})});Ke.displayName=ie;var zn="MenuSeparator",Ue=f((e,o)=>{const{__scopeMenu:n,...t}=e;return c(N.div,{role:"separator","aria-orientation":"horizontal",...t,ref:o})});Ue.displayName=zn;var qn="MenuArrow",Be=f((e,o)=>{const{__scopeMenu:n,...t}=e,r=U(n);return c(bn,{...r,...t,ref:o})});Be.displayName=qn;var de="MenuSub",[Zn,$e]=P(de),Ve=e=>{const{__scopeMenu:o,children:n,open:t=!1,onOpenChange:r}=e,a=y(de,o),u=U(o),[i,p]=A(null),[m,l]=A(null),s=te(r);return E(()=>(a.open===!1&&s(!1),()=>s(!1)),[a.open,s]),c(we,{...u,children:c(Pe,{scope:o,open:t,onOpenChange:s,content:m,onContentChange:l,children:c(Zn,{scope:o,contentId:W(),triggerId:W(),trigger:i,onTriggerChange:p,children:n})})})};Ve.displayName=de;var $="MenuSubTrigger",Xe=f((e,o)=>{const n=y($,e.__scopeMenu),t=B($,e.__scopeMenu),r=$e($,e.__scopeMenu),a=ce($,e.__scopeMenu),u=C(null),{pointerGraceTimerRef:i,onPointerGraceIntentChange:p}=a,m={__scopeMenu:e.__scopeMenu},l=S(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return E(()=>l,[l]),E(()=>{const s=i.current;return()=>{window.clearTimeout(s),p(null)}},[i,p]),c(ae,{asChild:!0,...m,children:c(Ae,{id:r.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":r.contentId,"data-state":We(n.open),...e,ref:he(o,r.onTriggerChange),onClick:s=>{e.onClick?.(s),!(e.disabled||s.defaultPrevented)&&(s.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:M(e.onPointerMove,V(s=>{a.onItemEnter(s),!s.defaultPrevented&&!e.disabled&&!n.open&&!u.current&&(a.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),l()},100))})),onPointerLeave:M(e.onPointerLeave,V(s=>{l();const v=n.content?.getBoundingClientRect();if(v){const w=n.content?.dataset.side,h=w==="right",b=h?-5:5,O=v[h?"left":"right"],x=v[h?"right":"left"];a.onPointerGraceIntentChange({area:[{x:s.clientX+b,y:s.clientY},{x:O,y:v.top},{x,y:v.top},{x,y:v.bottom},{x:O,y:v.bottom}],side:w}),window.clearTimeout(i.current),i.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(s),s.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:M(e.onKeyDown,s=>{const v=a.searchRef.current!=="";e.disabled||v&&s.key===" "||An[t.dir].includes(s.key)&&(n.onOpenChange(!0),n.content?.focus(),s.preventDefault())})})})});Xe.displayName=$;var Ye="MenuSubContent",He=f((e,o)=>{const n=be(I,e.__scopeMenu),{forceMount:t=n.forceMount,...r}=e,a=y(I,e.__scopeMenu),u=B(I,e.__scopeMenu),i=$e(Ye,e.__scopeMenu),p=C(null),m=G(o,p);return c(K.Provider,{scope:e.__scopeMenu,children:c(oe,{present:t||a.open,children:c(K.Slot,{scope:e.__scopeMenu,children:c(se,{id:i.contentId,"aria-labelledby":i.triggerId,...r,ref:m,align:"start",side:u.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:l=>{u.isUsingKeyboardRef.current&&p.current?.focus(),l.preventDefault()},onCloseAutoFocus:l=>l.preventDefault(),onFocusOutside:M(e.onFocusOutside,l=>{l.target!==i.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:M(e.onEscapeKeyDown,l=>{u.onClose(),l.preventDefault()}),onKeyDown:M(e.onKeyDown,l=>{const s=l.currentTarget.contains(l.target),v=Nn[u.dir].includes(l.key);s&&v&&(a.onOpenChange(!1),i.trigger?.focus(),l.preventDefault())})})})})})});He.displayName=Ye;function We(e){return e?"open":"closed"}function q(e){return e==="indeterminate"}function le(e){return q(e)?"indeterminate":e?"checked":"unchecked"}function Jn(e){const o=(()=>{let n=document.activeElement;for(;n?.shadowRoot;)n=n.shadowRoot.activeElement;return n})();for(const n of e)if(n===o||(n.focus(),(()=>{let t=document.activeElement;for(;t?.shadowRoot;)t=t.shadowRoot.activeElement;return t})()!==o))return}function Qn(e,o){return e.map((n,t)=>e[(o+t)%e.length])}function eo(e,o,n){const r=o.length>1&&Array.from(o).every(m=>m===o[0])?o[0]:o,a=n?e.indexOf(n):-1;let u=Qn(e,Math.max(a,0));r.length===1&&(u=u.filter(m=>m!==n));const p=u.find(m=>m.toLowerCase().startsWith(r.toLowerCase()));return p!==n?p:void 0}function no(e,o){const{x:n,y:t}=e;let r=!1;for(let a=0,u=o.length-1;a<o.length;u=a++){const i=o[a],p=o[u],m=i.x,l=i.y,s=p.x,v=p.y;l>t!=v>t&&n<(s-m)*(t-l)/(v-l)+m&&(r=!r)}return r}function oo(e,o){if(!o)return!1;const n={x:e.clientX,y:e.clientY};return no(n,o)}function V(e){return o=>o.pointerType==="mouse"?e(o):void 0}var to=ye,ro=ae,ao=xe,co=ue,so=Re,uo=z,io=Ne,lo=ke,po=Ge,fo=Ke,mo=Ue,vo=Be,Mo=Ve,ho=Xe,go=He,Z="DropdownMenu",[Co]=ge(Z,[De]),_=De(),[_o,je]=Co(Z),ze=e=>{const{__scopeDropdownMenu:o,children:n,dir:t,open:r,defaultOpen:a,onOpenChange:u,modal:i=!0}=e,p=_(o),m=C(null),[l,s]=Ce({prop:r,defaultProp:a??!1,onChange:u,caller:Z});return c(_o,{scope:o,triggerId:W(),triggerRef:m,contentId:W(),open:l,onOpenChange:s,onOpenToggle:S(()=>s(v=>!v),[s]),modal:i,children:c(to,{...p,open:l,onOpenChange:s,dir:t,modal:i,children:n})})};ze.displayName=Z;var qe="DropdownMenuTrigger",Ze=f((e,o)=>{const{__scopeDropdownMenu:n,disabled:t=!1,...r}=e,a=je(qe,n),u=_(n);return c(ro,{asChild:!0,...u,children:c(N.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...r,ref:he(o,a.triggerRef),onPointerDown:M(e.onPointerDown,i=>{!t&&i.button===0&&i.ctrlKey===!1&&(a.onOpenToggle(),a.open||i.preventDefault())}),onKeyDown:M(e.onKeyDown,i=>{t||(["Enter"," "].includes(i.key)&&a.onOpenToggle(),i.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(i.key)&&i.preventDefault())})})})});Ze.displayName=qe;var Je="DropdownMenuContent",Qe=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=je(Je,n),a=_(n),u=C(!1);return c(ao,{id:r.contentId,"aria-labelledby":r.triggerId,...a,...t,ref:o,onCloseAutoFocus:M(e.onCloseAutoFocus,i=>{u.current||r.triggerRef.current?.focus(),u.current=!1,i.preventDefault()}),onInteractOutside:M(e.onInteractOutside,i=>{const p=i.detail.originalEvent,m=p.button===0&&p.ctrlKey===!0,l=p.button===2||m;(!r.modal||l)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Qe.displayName=Je;var wo="DropdownMenuGroup",en=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(co,{...r,...t,ref:o})});en.displayName=wo;var Io="DropdownMenuLabel",nn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(so,{...r,...t,ref:o})});nn.displayName=Io;var So="DropdownMenuItem",on=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(uo,{...r,...t,ref:o})});on.displayName=So;var Do="DropdownMenuCheckboxItem",tn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(io,{...r,...t,ref:o})});tn.displayName=Do;var Eo="DropdownMenuRadioGroup",Po=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(lo,{...r,...t,ref:o})});Po.displayName=Eo;var yo="DropdownMenuRadioItem",bo=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(po,{...r,...t,ref:o})});bo.displayName=yo;var xo="DropdownMenuItemIndicator",Ro=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(fo,{...r,...t,ref:o})});Ro.displayName=xo;var To="DropdownMenuSeparator",rn=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(mo,{...r,...t,ref:o})});rn.displayName=To;var Ao="DropdownMenuArrow",No=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(vo,{...r,...t,ref:o})});No.displayName=Ao;var Oo=e=>{const{__scopeDropdownMenu:o,children:n,open:t,onOpenChange:r,defaultOpen:a}=e,u=_(o),[i,p]=Ce({prop:t,defaultProp:a??!1,onChange:r,caller:"DropdownMenuSub"});return c(Mo,{...u,open:i,onOpenChange:p,children:n})},ko="DropdownMenuSubTrigger",Lo=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(ho,{...r,...t,ref:o})});Lo.displayName=ko;var Go="DropdownMenuSubContent",an=f((e,o)=>{const{__scopeDropdownMenu:n,...t}=e,r=_(n);return c(go,{...r,...t,ref:o,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});an.displayName=Go;var Fo=ze,Ko=Ze,Uo=Qe,Bo=en,$o=nn,Vo=on,Xo=tn,Yo=rn,Ho=Oo,Wo=an;export{Xo as C,Bo as G,Vo as I,$o as L,Fo as R,Yo as S,Ko as T,Uo as a,Ho as b,Wo as c};
@@ -1 +1 @@
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-Suw5SMp3.js";import{c as p}from"./index-CBrz5xtv.js";import{c as W}from"./index-BcTDnMXT.js";import{u as Z}from"./index-DF-lKL9l.js";import{a as $}from"./index-BCRt_Cv9.js";import{u as ee}from"./index-DvcyhUZo.js";import{P as M}from"./index-BgwdcOG9.js";import{u as oe}from"./index-BfktuCSZ.js";import{u as te}from"./index-Bsxgez75.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};
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-Jxf4mhRg.js";import{c as p}from"./index-CBrz5xtv.js";import{c as W}from"./index-BV34namC.js";import{u as Z}from"./index-CHUhFArm.js";import{a as $}from"./index-DJSJX8vV.js";import{u as ee}from"./index-DcfvvjAr.js";import{P as M}from"./index-Cnb334T6.js";import{u as oe}from"./index-B6mZRI1I.js";import{u as te}from"./index-CfWSRbGc.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};
@@ -1 +1 @@
1
- import{D as i,u as o}from"./register-Suw5SMp3.js";import{P as t}from"./index-BgwdcOG9.js";var d=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l="VisuallyHidden",r=i((e,a)=>o(t.span,{...e,ref:a,style:{...d,...e.style}}));r.displayName=l;var n=r;export{n as R,r as V};
1
+ import{D as i,u as o}from"./register-Jxf4mhRg.js";import{P as t}from"./index-Cnb334T6.js";var d=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l="VisuallyHidden",r=i((e,a)=>o(t.span,{...e,ref:a,style:{...d,...e.style}}));r.displayName=l;var n=r;export{n as R,r as V};
package/dist/index.d.ts CHANGED
@@ -210,7 +210,7 @@ type BoxProps = {
210
210
  "transition"?: "none" | "opacity" | "transform" | "colors" | "all";
211
211
  "whiteSpace"?: "nowrap";
212
212
  "white-space"?: "nowrap";
213
- "bg"?: "transparent" | "current" | "bg.accent" | "bg.accent.hovered" | "bg.accent.light" | "bg.accent.pressed" | "bg.accent.subtle" | "bg.avatar.neutral" | "bg.avatar.purple" | "bg.default" | "bg.default.hovered" | "bg.default.inverse" | "bg.default.inverse.hovered" | "bg.default.inverse.pressed" | "bg.default.pressed" | "bg.error" | "bg.error.hovered" | "bg.error.light" | "bg.error.pressed" | "bg.error.subtle" | "bg.error.subtlest" | "bg.information" | "bg.information.light" | "bg.information.subtle" | "bg.overlay" | "bg.page" | "bg.secondary" | "bg.secondary.hovered" | "bg.spinner.default" | "bg.spinner.inverse" | "bg.success" | "bg.success.hovered" | "bg.success.light" | "bg.success.subtle" | "bg.tertiary" | "bg.tertiary.hovered" | "bg.warning" | "bg.warning.hovered" | "bg.warning.light" | "bg.warning.subtle";
213
+ "bg"?: "transparent" | "current" | "bg.accent" | "bg.accent.hovered" | "bg.accent.light" | "bg.accent.pressed" | "bg.accent.subtle" | "bg.avatar.neutral" | "bg.avatar.purple" | "bg.default" | "bg.default.hovered" | "bg.default.inverse" | "bg.default.inverse.hovered" | "bg.default.inverse.pressed" | "bg.default.pressed" | "bg.error" | "bg.error.hovered" | "bg.error.light" | "bg.error.pressed" | "bg.error.subtle" | "bg.error.subtlest" | "bg.information" | "bg.information.light" | "bg.information.subtle" | "bg.overlay" | "bg.page" | "bg.pill.default" | "bg.pill.hovered" | "bg.secondary" | "bg.secondary.hovered" | "bg.spinner.default" | "bg.spinner.inverse" | "bg.success" | "bg.success.hovered" | "bg.success.light" | "bg.success.subtle" | "bg.tertiary" | "bg.tertiary.hovered" | "bg.warning" | "bg.warning.hovered" | "bg.warning.light" | "bg.warning.subtle";
214
214
  "border"?: "0" | "1" | "2";
215
215
  "borderB"?: "0" | "1" | "2";
216
216
  "border-b"?: "0" | "1" | "2";
@@ -363,6 +363,7 @@ declare const CardLink = "ax-card-link";
363
363
  type CardLinkProps = BoxProps & {
364
364
  "asChild"?: false | true;
365
365
  "as-child"?: false | true;
366
+ "onClick"?: MouseEventHandler<HTMLAnchorElement>;
366
367
  "cover"?: false | true | "inset";
367
368
  "appearance"?: "default" | "subtle" | "inverse";
368
369
  "disabled"?: false | true;
@@ -969,6 +970,7 @@ type LinkProps = BoxProps & {
969
970
  "disabled"?: false | true;
970
971
  "external"?: false | true;
971
972
  "href"?: string;
973
+ "onClick"?: MouseEventHandler<HTMLAnchorElement>;
972
974
  "asChild"?: false | true;
973
975
  "as-child"?: false | true;
974
976
  };
@@ -1715,7 +1717,7 @@ type TooltipProps = {
1715
1717
  "transition"?: "none" | "opacity" | "transform" | "colors" | "all";
1716
1718
  "whiteSpace"?: "nowrap";
1717
1719
  "white-space"?: "nowrap";
1718
- "bg"?: "transparent" | "current" | "bg.accent" | "bg.accent.hovered" | "bg.accent.light" | "bg.accent.pressed" | "bg.accent.subtle" | "bg.avatar.neutral" | "bg.avatar.purple" | "bg.default" | "bg.default.hovered" | "bg.default.inverse" | "bg.default.inverse.hovered" | "bg.default.inverse.pressed" | "bg.default.pressed" | "bg.error" | "bg.error.hovered" | "bg.error.light" | "bg.error.pressed" | "bg.error.subtle" | "bg.error.subtlest" | "bg.information" | "bg.information.light" | "bg.information.subtle" | "bg.overlay" | "bg.page" | "bg.secondary" | "bg.secondary.hovered" | "bg.spinner.default" | "bg.spinner.inverse" | "bg.success" | "bg.success.hovered" | "bg.success.light" | "bg.success.subtle" | "bg.tertiary" | "bg.tertiary.hovered" | "bg.warning" | "bg.warning.hovered" | "bg.warning.light" | "bg.warning.subtle";
1720
+ "bg"?: "transparent" | "current" | "bg.accent" | "bg.accent.hovered" | "bg.accent.light" | "bg.accent.pressed" | "bg.accent.subtle" | "bg.avatar.neutral" | "bg.avatar.purple" | "bg.default" | "bg.default.hovered" | "bg.default.inverse" | "bg.default.inverse.hovered" | "bg.default.inverse.pressed" | "bg.default.pressed" | "bg.error" | "bg.error.hovered" | "bg.error.light" | "bg.error.pressed" | "bg.error.subtle" | "bg.error.subtlest" | "bg.information" | "bg.information.light" | "bg.information.subtle" | "bg.overlay" | "bg.page" | "bg.pill.default" | "bg.pill.hovered" | "bg.secondary" | "bg.secondary.hovered" | "bg.spinner.default" | "bg.spinner.inverse" | "bg.success" | "bg.success.hovered" | "bg.success.light" | "bg.success.subtle" | "bg.tertiary" | "bg.tertiary.hovered" | "bg.warning" | "bg.warning.hovered" | "bg.warning.light" | "bg.warning.subtle";
1719
1721
  "border"?: "0" | "1" | "2";
1720
1722
  "borderB"?: "0" | "1" | "2";
1721
1723
  "border-b"?: "0" | "1" | "2";
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{f as e,A as jt,a as qt,b as Jt,c as Ot,d as Qt,e as Ut,g as Vt,h as Wt,i as Xt,j as Yt,k as Zt,l as _t,m as $t,n as eo,B as to,o as oo,p as so,q as no,r as ao,s as mo,C as io,t as ro,u as lo,v as co,w as uo,x as go,y as po,z as fo,D as Eo,E as xo,F as bo,G as Po,H as To,I as Do,J as Co,K as vo,L as Ao,M as Lo,N as Io,O as So,P as wo,Q as ho,R as Mo,S as ko,T as Bo,U as No,V as Go,W as yo,X as Fo,Y as Ro,Z as Ho,_ as zo,$ as Ko,a0 as jo,a1 as qo,a2 as Jo,a3 as Oo,a4 as Qo,a5 as Uo,a6 as Vo,a7 as Wo,a8 as Xo,a9 as Yo,aa as Zo,ab as _o,ac as $o,ad as es,ae as ts,af as os,ag as ss,ah as ns,ai as as,aj as ms,ak as is,al as rs,am as ls,an as cs,ao as us,ap as ds,aq as gs,ar as ps,as as fs,at as Es,au as xs,av as bs,aw as Ps,ax as Ts,ay as Ds,az as Cs,aA as vs,aB as As,aC as Ls,aD as Is,aE as Ss,aF as ws,aG as hs,aH as Ms,aI as ks,aJ as Bs,aK as Ns,aL as Gs,aM as ys,aN as Fs,aO as Rs,aP as Hs,aQ as zs,aR as Ks,aS as js,aT as qs,aU as Js,aV as Os,aW as Qs,aX as Us,aY as Vs,aZ as Ws,a_ as Xs,a$ as Ys,b0 as Zs,b1 as _s,b2 as $s,b3 as en,b4 as tn,b5 as on,b6 as sn,b7 as nn,b8 as an,b9 as mn,ba as rn,bb as ln,bc as cn,bd as un,be as dn,bf as gn,bg as pn,bh as fn,bi as En,bj as xn,bk as bn,bl as Pn,bm as Tn,bn as Dn,bo as Cn,bp as vn,bq as An,br as Ln,bs as In,bt as Sn,bu as wn}from"./propTypes-CBoT2zxL.js";const t="ax-alert";customElements.get(t)||customElements.define(t,e(t,"Alert",jt));const o="ax-alert-dialog";customElements.get(o)||customElements.define(o,e(o,"AlertDialog",qt));const s="ax-alert-dialog-action";customElements.get(s)||customElements.define(s,e(s,"AlertDialogAction",Jt));const n="ax-alert-dialog-body";customElements.get(n)||customElements.define(n,e(n,"AlertDialogBody",Ot));const a="ax-alert-dialog-cancel";customElements.get(a)||customElements.define(a,e(a,"AlertDialogCancel",Qt));const m="ax-alert-dialog-content";customElements.get(m)||customElements.define(m,e(m,"AlertDialogContent",Ut));const i="ax-alert-dialog-footer";customElements.get(i)||customElements.define(i,e(i,"AlertDialogFooter",Vt));const r="ax-alert-dialog-header";customElements.get(r)||customElements.define(r,e(r,"AlertDialogHeader",Wt));const l="ax-alert-dialog-trigger";customElements.get(l)||customElements.define(l,e(l,"AlertDialogTrigger",Xt));const c="ax-angle-menu-button";customElements.get(c)||customElements.define(c,e(c,"AngleMenuButton",Yt));const u="ax-auth-provider";customElements.get(u)||customElements.define(u,e(u,"AuthProvider",Zt));const d="ax-avatar";customElements.get(d)||customElements.define(d,e(d,"Avatar",_t));const g="ax-avatar-group";customElements.get(g)||customElements.define(g,e(g,"AvatarGroup",$t));const p="ax-axiom-provider";customElements.get(p)||customElements.define(p,e(p,"AxiomProvider",eo));const f="ax-badge";customElements.get(f)||customElements.define(f,e(f,"Badge",to));const E="ax-banner";customElements.get(E)||customElements.define(E,e(E,"Banner",oo));const x="ax-box";customElements.get(x)||customElements.define(x,e(x,"Box",so));const b="ax-breadcrumb";customElements.get(b)||customElements.define(b,e(b,"Breadcrumb",no));const P="ax-button";customElements.get(P)||customElements.define(P,e(P,"Button",ao));const T="ax-button-group";customElements.get(T)||customElements.define(T,e(T,"ButtonGroup",mo));const D="ax-card";customElements.get(D)||customElements.define(D,e(D,"Card",io));const C="ax-card-action";customElements.get(C)||customElements.define(C,e(C,"CardAction",ro));const v="ax-card-checkbox";customElements.get(v)||customElements.define(v,e(v,"CardCheckbox",lo));const A="ax-card-footer";customElements.get(A)||customElements.define(A,e(A,"CardFooter",co));const L="ax-card-header";customElements.get(L)||customElements.define(L,e(L,"CardHeader",uo));const I="ax-card-image";customElements.get(I)||customElements.define(I,e(I,"CardImage",go));const S="ax-card-link";customElements.get(S)||customElements.define(S,e(S,"CardLink",po));const w="ax-card-preview";customElements.get(w)||customElements.define(w,e(w,"CardPreview",fo));const h="ax-checkbox";customElements.get(h)||customElements.define(h,e(h,"Checkbox",Eo));const M="ax-code";customElements.get(M)||customElements.define(M,e(M,"Code",xo));const k="ax-cover";customElements.get(k)||customElements.define(k,e(k,"Cover",bo));const B="ax-data-table";customElements.get(B)||customElements.define(B,e(B,"DataTable",Po));const N="ax-data-table-body";customElements.get(N)||customElements.define(N,e(N,"DataTableBody",To));const G="ax-data-table-action";customElements.get(G)||customElements.define(G,e(G,"DataTableAction",Do));const y="ax-data-table-checkbox";customElements.get(y)||customElements.define(y,e(y,"DataTableCheckbox",Co));const F="ax-data-table-footer";customElements.get(F)||customElements.define(F,e(F,"DataTableFooter",vo));const R="ax-data-table-label";customElements.get(R)||customElements.define(R,e(R,"DataTableLabel",Ao));const H="ax-date-input";customElements.get(H)||customElements.define(H,e(H,"DateInput",Lo));const z="ax-date-range-picker";customElements.get(z)||customElements.define(z,e(z,"DateRangePicker",Io));const K="ax-date-range-picker-content";customElements.get(K)||customElements.define(K,e(K,"DateRangePickerContent",So));const j="ax-date-range-picker-trigger";customElements.get(j)||customElements.define(j,e(j,"DateRangePickerTrigger",wo));const q="ax-dialog";customElements.get(q)||customElements.define(q,e(q,"Dialog",ho));const J="ax-dialog-body";customElements.get(J)||customElements.define(J,e(J,"DialogBody",Mo));const O="ax-dialog-close";customElements.get(O)||customElements.define(O,e(O,"DialogClose",ko));const Q="ax-dialog-content";customElements.get(Q)||customElements.define(Q,e(Q,"DialogContent",Bo));const U="ax-dialog-footer";customElements.get(U)||customElements.define(U,e(U,"DialogFooter",No));const V="ax-dialog-form";customElements.get(V)||customElements.define(V,e(V,"DialogForm",Go));const W="ax-dialog-header";customElements.get(W)||customElements.define(W,e(W,"DialogHeader",yo));const X="ax-dialog-trigger";customElements.get(X)||customElements.define(X,e(X,"DialogTrigger",Fo));const Y="ax-disclosure";customElements.get(Y)||customElements.define(Y,e(Y,"Disclosure",Ro));const Z="ax-disclosure-content";customElements.get(Z)||customElements.define(Z,e(Z,"DisclosureContent",Ho));const _="ax-disclosure-trigger";customElements.get(_)||customElements.define(_,e(_,"DisclosureTrigger",zo));const $="ax-dropdown-menu";customElements.get($)||customElements.define($,e($,"DropdownMenu",Ko));const ee="ax-dropdown-menu-checkbox-item";customElements.get(ee)||customElements.define(ee,e(ee,"DropdownMenuCheckboxItem",jo));const te="ax-dropdown-menu-content";customElements.get(te)||customElements.define(te,e(te,"DropdownMenuContent",qo));const oe="ax-dropdown-menu-group";customElements.get(oe)||customElements.define(oe,e(oe,"DropdownMenuGroup",Jo));const se="ax-dropdown-menu-item";customElements.get(se)||customElements.define(se,e(se,"DropdownMenuItem",Oo));const ne="ax-dropdown-menu-label";customElements.get(ne)||customElements.define(ne,e(ne,"DropdownMenuLabel",Qo));const ae="ax-dropdown-menu-separator";customElements.get(ae)||customElements.define(ae,e(ae,"DropdownMenuSeparator",Uo));const me="ax-dropdown-menu-sub";customElements.get(me)||customElements.define(me,e(me,"DropdownMenuSub",Vo));const ie="ax-dropdown-menu-sub-content";customElements.get(ie)||customElements.define(ie,e(ie,"DropdownMenuSubContent",Wo));const re="ax-dropdown-menu-trigger";customElements.get(re)||customElements.define(re,e(re,"DropdownMenuTrigger",Xo));const le="ax-ellipsis-menu-button";customElements.get(le)||customElements.define(le,e(le,"EllipsisMenuButton",Yo));const ce="ax-field";customElements.get(ce)||customElements.define(ce,e(ce,"Field",Zo));const ue="ax-field-label";customElements.get(ue)||customElements.define(ue,e(ue,"FieldLabel",_o));const de="ax-flex";customElements.get(de)||customElements.define(de,e(de,"Flex",$o));const ge="ax-grid";customElements.get(ge)||customElements.define(ge,e(ge,"Grid",es));const pe="ax-group";customElements.get(pe)||customElements.define(pe,e(pe,"Group",ts));const fe="ax-heading";customElements.get(fe)||customElements.define(fe,e(fe,"Heading",os));const Ee="ax-indicator";customElements.get(Ee)||customElements.define(Ee,e(Ee,"Indicator",ss));const xe="ax-input";customElements.get(xe)||customElements.define(xe,e(xe,"Input",ns));const be="ax-input-addon";customElements.get(be)||customElements.define(be,e(be,"InputAddon",as));const Pe="ax-input-control";customElements.get(Pe)||customElements.define(Pe,e(Pe,"InputControl",ms));const Te="ax-input-root";customElements.get(Te)||customElements.define(Te,e(Te,"InputRoot",is));const De="ax-kbd";customElements.get(De)||customElements.define(De,e(De,"Kbd",rs));const Ce="ax-label-menu-button";customElements.get(Ce)||customElements.define(Ce,e(Ce,"LabelMenuButton",ls));const ve="ax-link";customElements.get(ve)||customElements.define(ve,e(ve,"Link",cs));const Ae="ax-listbox";customElements.get(Ae)||customElements.define(Ae,e(Ae,"Listbox",us));const Le="ax-listbox-checkbox-item";customElements.get(Le)||customElements.define(Le,e(Le,"ListboxCheckboxItem",ds));const Ie="ax-listbox-empty";customElements.get(Ie)||customElements.define(Ie,e(Ie,"ListboxEmpty",gs));const Se="ax-listbox-group";customElements.get(Se)||customElements.define(Se,e(Se,"ListboxGroup",ps));const we="ax-listbox-item";customElements.get(we)||customElements.define(we,e(we,"ListboxItem",fs));const he="ax-listbox-item-indicator";customElements.get(he)||customElements.define(he,e(he,"ListboxItemIndicator",Es));const Me="ax-listbox-itemized";customElements.get(Me)||customElements.define(Me,e(Me,"ListboxItemized",xs));const ke="ax-listbox-label";customElements.get(ke)||customElements.define(ke,e(ke,"ListboxLabel",bs));const Be="ax-listbox-radio-item";customElements.get(Be)||customElements.define(Be,e(Be,"ListboxRadioItem",Ps));const Ne="ax-listbox-separator";customElements.get(Ne)||customElements.define(Ne,e(Ne,"ListboxSeparator",Ts));const Ge="ax-listbox-switch-item";customElements.get(Ge)||customElements.define(Ge,e(Ge,"ListboxSwitchItem",Ds));const ye="ax-menu";customElements.get(ye)||customElements.define(ye,e(ye,"Menu",Cs));const Fe="ax-menu-content";customElements.get(Fe)||customElements.define(Fe,e(Fe,"MenuContent",vs));const Re="ax-menu-trigger";customElements.get(Re)||customElements.define(Re,e(Re,"MenuTrigger",As));const He="ax-modal-layer";customElements.get(He)||customElements.define(He,e(He,"ModalLayer",Ls));const ze="ax-nav";customElements.get(ze)||customElements.define(ze,e(ze,"Nav",Is));const Ke="ax-nav-account-item";customElements.get(Ke)||customElements.define(Ke,e(Ke,"NavAccountItem",Ss));const je="ax-nav-body";customElements.get(je)||customElements.define(je,e(je,"NavBody",ws));const qe="ax-nav-footer";customElements.get(qe)||customElements.define(qe,e(qe,"NavFooter",hs));const Je="ax-nav-group";customElements.get(Je)||customElements.define(Je,e(Je,"NavGroup",Ms));const Oe="ax-nav-group-content";customElements.get(Oe)||customElements.define(Oe,e(Oe,"NavGroupContent",ks));const Qe="ax-nav-group-trigger";customElements.get(Qe)||customElements.define(Qe,e(Qe,"NavGroupTrigger",Bs));const Ue="ax-nav-header";customElements.get(Ue)||customElements.define(Ue,e(Ue,"NavHeader",Ns));const Ve="ax-nav-item";customElements.get(Ve)||customElements.define(Ve,e(Ve,"NavItem",Gs));const We="ax-nav-list";customElements.get(We)||customElements.define(We,e(We,"NavList",ys));const Xe="ax-nav-separator";customElements.get(Xe)||customElements.define(Xe,e(Xe,"NavSeparator",Fs));const Ye="ax-pagination";customElements.get(Ye)||customElements.define(Ye,e(Ye,"Pagination",Rs));const Ze="ax-paper";customElements.get(Ze)||customElements.define(Ze,e(Ze,"Paper",Hs));const _e="ax-popover";customElements.get(_e)||customElements.define(_e,e(_e,"Popover",zs));const $e="ax-popover-anchor";customElements.get($e)||customElements.define($e,e($e,"PopoverAnchor",Ks));const et="ax-popover-content";customElements.get(et)||customElements.define(et,e(et,"PopoverContent",js));const tt="ax-popover-trigger";customElements.get(tt)||customElements.define(tt,e(tt,"PopoverTrigger",qs));const ot="ax-progress";customElements.get(ot)||customElements.define(ot,e(ot,"Progress",Js));const st="ax-radio";customElements.get(st)||customElements.define(st,e(st,"Radio",Os));const nt="ax-radio-group";customElements.get(nt)||customElements.define(nt,e(nt,"RadioGroup",Qs));const at="ax-search-input";customElements.get(at)||customElements.define(at,e(at,"SearchInput",Us));const mt="ax-segmented-control";customElements.get(mt)||customElements.define(mt,e(mt,"SegmentedControl",Vs));const it="ax-segmented-control-item";customElements.get(it)||customElements.define(it,e(it,"SegmentedControlItem",Ws));const rt="ax-select";customElements.get(rt)||customElements.define(rt,e(rt,"Select",Xs));const lt="ax-select-content";customElements.get(lt)||customElements.define(lt,e(lt,"SelectContent",Ys));const ct="ax-select-trigger";customElements.get(ct)||customElements.define(ct,e(ct,"SelectTrigger",Zs));const ut="ax-separator";customElements.get(ut)||customElements.define(ut,e(ut,"Separator",_s));const dt="ax-sidebar";customElements.get(dt)||customElements.define(dt,e(dt,"Sidebar",$s));const gt="ax-sidebar-toggle";customElements.get(gt)||customElements.define(gt,e(gt,"SidebarToggle",en));const pt="ax-skeleton";customElements.get(pt)||customElements.define(pt,e(pt,"Skeleton",tn));const ft="ax-spinner";customElements.get(ft)||customElements.define(ft,e(ft,"Spinner",on));const Et="ax-sub-nav";customElements.get(Et)||customElements.define(Et,e(Et,"SubNav",sn));const xt="ax-switch";customElements.get(xt)||customElements.define(xt,e(xt,"Switch",nn));const bt="ax-table";customElements.get(bt)||customElements.define(bt,e(bt,"Table",an));const Pt="ax-table-action";customElements.get(Pt)||customElements.define(Pt,e(Pt,"TableAction",mn));const Tt="ax-table-body";customElements.get(Tt)||customElements.define(Tt,e(Tt,"TableBody",rn));const Dt="ax-table-cell";customElements.get(Dt)||customElements.define(Dt,e(Dt,"TableCell",ln));const Ct="ax-table-header";customElements.get(Ct)||customElements.define(Ct,e(Ct,"TableHeader",cn));const vt="ax-table-header-cell";customElements.get(vt)||customElements.define(vt,e(vt,"TableHeaderCell",un));const At="ax-table-row";customElements.get(At)||customElements.define(At,e(At,"TableRow",dn));const Lt="ax-tabs";customElements.get(Lt)||customElements.define(Lt,e(Lt,"Tabs",gn));const It="ax-tabs-content";customElements.get(It)||customElements.define(It,e(It,"TabsContent",pn));const St="ax-tabs-list";customElements.get(St)||customElements.define(St,e(St,"TabsList",fn));const wt="ax-tabs-trigger";customElements.get(wt)||customElements.define(wt,e(wt,"TabsTrigger",En));const ht="ax-text";customElements.get(ht)||customElements.define(ht,e(ht,"Text",xn));const Mt="ax-textarea";customElements.get(Mt)||customElements.define(Mt,e(Mt,"Textarea",bn));const kt="ax-theme-provider";customElements.get(kt)||customElements.define(kt,e(kt,"ThemeProvider",Pn));const Bt="ax-toast-provider";customElements.get(Bt)||customElements.define(Bt,e(Bt,"ToastProvider",Tn));const Nt="ax-toggle-button";customElements.get(Nt)||customElements.define(Nt,e(Nt,"ToggleButton",Dn));const Gt="ax-tooltip";customElements.get(Gt)||customElements.define(Gt,e(Gt,"Tooltip",Cn));const yt="ax-tooltip-content";customElements.get(yt)||customElements.define(yt,e(yt,"TooltipContent",vn));const Ft="ax-tooltip-provider";customElements.get(Ft)||customElements.define(Ft,e(Ft,"TooltipProvider",An));const Rt="ax-tooltip-root";customElements.get(Rt)||customElements.define(Rt,e(Rt,"TooltipRoot",Ln));const Ht="ax-tooltip-trigger";customElements.get(Ht)||customElements.define(Ht,e(Ht,"TooltipTrigger",In));const zt="ax-transition";customElements.get(zt)||customElements.define(zt,e(zt,"Transition",Sn));const Kt="ax-transition-group";customElements.get(Kt)||customElements.define(Kt,e(Kt,"TransitionGroup",wn));export{t as Alert,o as AlertDialog,s as AlertDialogAction,n as AlertDialogBody,a as AlertDialogCancel,m as AlertDialogContent,i as AlertDialogFooter,r as AlertDialogHeader,l as AlertDialogTrigger,c as AngleMenuButton,u as AuthProvider,d as Avatar,g as AvatarGroup,p as AxiomProvider,f as Badge,E as Banner,x as Box,b as Breadcrumb,P as Button,T as ButtonGroup,D as Card,C as CardAction,v as CardCheckbox,A as CardFooter,L as CardHeader,I as CardImage,S as CardLink,w as CardPreview,h as Checkbox,M as Code,k as Cover,B as DataTable,G as DataTableAction,N as DataTableBody,y as DataTableCheckbox,F as DataTableFooter,R as DataTableLabel,H as DateInput,z as DateRangePicker,K as DateRangePickerContent,j as DateRangePickerTrigger,q as Dialog,J as DialogBody,O as DialogClose,Q as DialogContent,U as DialogFooter,V as DialogForm,W as DialogHeader,X as DialogTrigger,Y as Disclosure,Z as DisclosureContent,_ as DisclosureTrigger,$ as DropdownMenu,ee as DropdownMenuCheckboxItem,te as DropdownMenuContent,oe as DropdownMenuGroup,se as DropdownMenuItem,ne as DropdownMenuLabel,ae as DropdownMenuSeparator,me as DropdownMenuSub,ie as DropdownMenuSubContent,re as DropdownMenuTrigger,le as EllipsisMenuButton,ce as Field,ue as FieldLabel,de as Flex,ge as Grid,pe as Group,fe as Heading,Ee as Indicator,xe as Input,be as InputAddon,Pe as InputControl,Te as InputRoot,De as Kbd,Ce as LabelMenuButton,ve as Link,Ae as Listbox,Le as ListboxCheckboxItem,Ie as ListboxEmpty,Se as ListboxGroup,we as ListboxItem,he as ListboxItemIndicator,Me as ListboxItemized,ke as ListboxLabel,Be as ListboxRadioItem,Ne as ListboxSeparator,Ge as ListboxSwitchItem,ye as Menu,Fe as MenuContent,Re as MenuTrigger,He as ModalLayer,ze as Nav,Ke as NavAccountItem,je as NavBody,qe as NavFooter,Je as NavGroup,Oe as NavGroupContent,Qe as NavGroupTrigger,Ue as NavHeader,Ve as NavItem,We as NavList,Xe as NavSeparator,Ye as Pagination,Ze as Paper,_e as Popover,$e as PopoverAnchor,et as PopoverContent,tt as PopoverTrigger,ot as Progress,st as Radio,nt as RadioGroup,at as SearchInput,mt as SegmentedControl,it as SegmentedControlItem,rt as Select,lt as SelectContent,ct as SelectTrigger,ut as Separator,dt as Sidebar,gt as SidebarToggle,pt as Skeleton,ft as Spinner,Et as SubNav,xt as Switch,bt as Table,Pt as TableAction,Tt as TableBody,Dt as TableCell,Ct as TableHeader,vt as TableHeaderCell,At as TableRow,Lt as Tabs,It as TabsContent,St as TabsList,wt as TabsTrigger,ht as Text,Mt as Textarea,kt as ThemeProvider,Bt as ToastProvider,Nt as ToggleButton,Gt as Tooltip,yt as TooltipContent,Ft as TooltipProvider,Rt as TooltipRoot,Ht as TooltipTrigger,zt as Transition,Kt as TransitionGroup};
1
+ import{f as e,A as jt,a as qt,b as Jt,c as Ot,d as Qt,e as Ut,g as Vt,h as Wt,i as Xt,j as Yt,k as Zt,l as _t,m as $t,n as eo,B as to,o as oo,p as so,q as no,r as ao,s as mo,C as io,t as ro,u as lo,v as co,w as uo,x as go,y as po,z as fo,D as Eo,E as xo,F as bo,G as Po,H as To,I as Do,J as Co,K as vo,L as Ao,M as Lo,N as Io,O as So,P as wo,Q as ho,R as Mo,S as ko,T as Bo,U as No,V as Go,W as yo,X as Fo,Y as Ro,Z as Ho,_ as zo,$ as Ko,a0 as jo,a1 as qo,a2 as Jo,a3 as Oo,a4 as Qo,a5 as Uo,a6 as Vo,a7 as Wo,a8 as Xo,a9 as Yo,aa as Zo,ab as _o,ac as $o,ad as es,ae as ts,af as os,ag as ss,ah as ns,ai as as,aj as ms,ak as is,al as rs,am as ls,an as cs,ao as us,ap as ds,aq as gs,ar as ps,as as fs,at as Es,au as xs,av as bs,aw as Ps,ax as Ts,ay as Ds,az as Cs,aA as vs,aB as As,aC as Ls,aD as Is,aE as Ss,aF as ws,aG as hs,aH as Ms,aI as ks,aJ as Bs,aK as Ns,aL as Gs,aM as ys,aN as Fs,aO as Rs,aP as Hs,aQ as zs,aR as Ks,aS as js,aT as qs,aU as Js,aV as Os,aW as Qs,aX as Us,aY as Vs,aZ as Ws,a_ as Xs,a$ as Ys,b0 as Zs,b1 as _s,b2 as $s,b3 as en,b4 as tn,b5 as on,b6 as sn,b7 as nn,b8 as an,b9 as mn,ba as rn,bb as ln,bc as cn,bd as un,be as dn,bf as gn,bg as pn,bh as fn,bi as En,bj as xn,bk as bn,bl as Pn,bm as Tn,bn as Dn,bo as Cn,bp as vn,bq as An,br as Ln,bs as In,bt as Sn,bu as wn}from"./propTypes-DQak6nhg.js";const t="ax-alert";customElements.get(t)||customElements.define(t,e(t,"Alert",jt));const o="ax-alert-dialog";customElements.get(o)||customElements.define(o,e(o,"AlertDialog",qt));const s="ax-alert-dialog-action";customElements.get(s)||customElements.define(s,e(s,"AlertDialogAction",Jt));const n="ax-alert-dialog-body";customElements.get(n)||customElements.define(n,e(n,"AlertDialogBody",Ot));const a="ax-alert-dialog-cancel";customElements.get(a)||customElements.define(a,e(a,"AlertDialogCancel",Qt));const m="ax-alert-dialog-content";customElements.get(m)||customElements.define(m,e(m,"AlertDialogContent",Ut));const i="ax-alert-dialog-footer";customElements.get(i)||customElements.define(i,e(i,"AlertDialogFooter",Vt));const r="ax-alert-dialog-header";customElements.get(r)||customElements.define(r,e(r,"AlertDialogHeader",Wt));const l="ax-alert-dialog-trigger";customElements.get(l)||customElements.define(l,e(l,"AlertDialogTrigger",Xt));const c="ax-angle-menu-button";customElements.get(c)||customElements.define(c,e(c,"AngleMenuButton",Yt));const u="ax-auth-provider";customElements.get(u)||customElements.define(u,e(u,"AuthProvider",Zt));const d="ax-avatar";customElements.get(d)||customElements.define(d,e(d,"Avatar",_t));const g="ax-avatar-group";customElements.get(g)||customElements.define(g,e(g,"AvatarGroup",$t));const p="ax-axiom-provider";customElements.get(p)||customElements.define(p,e(p,"AxiomProvider",eo));const f="ax-badge";customElements.get(f)||customElements.define(f,e(f,"Badge",to));const E="ax-banner";customElements.get(E)||customElements.define(E,e(E,"Banner",oo));const x="ax-box";customElements.get(x)||customElements.define(x,e(x,"Box",so));const b="ax-breadcrumb";customElements.get(b)||customElements.define(b,e(b,"Breadcrumb",no));const P="ax-button";customElements.get(P)||customElements.define(P,e(P,"Button",ao));const T="ax-button-group";customElements.get(T)||customElements.define(T,e(T,"ButtonGroup",mo));const D="ax-card";customElements.get(D)||customElements.define(D,e(D,"Card",io));const C="ax-card-action";customElements.get(C)||customElements.define(C,e(C,"CardAction",ro));const v="ax-card-checkbox";customElements.get(v)||customElements.define(v,e(v,"CardCheckbox",lo));const A="ax-card-footer";customElements.get(A)||customElements.define(A,e(A,"CardFooter",co));const L="ax-card-header";customElements.get(L)||customElements.define(L,e(L,"CardHeader",uo));const I="ax-card-image";customElements.get(I)||customElements.define(I,e(I,"CardImage",go));const S="ax-card-link";customElements.get(S)||customElements.define(S,e(S,"CardLink",po));const w="ax-card-preview";customElements.get(w)||customElements.define(w,e(w,"CardPreview",fo));const h="ax-checkbox";customElements.get(h)||customElements.define(h,e(h,"Checkbox",Eo));const M="ax-code";customElements.get(M)||customElements.define(M,e(M,"Code",xo));const k="ax-cover";customElements.get(k)||customElements.define(k,e(k,"Cover",bo));const B="ax-data-table";customElements.get(B)||customElements.define(B,e(B,"DataTable",Po));const N="ax-data-table-body";customElements.get(N)||customElements.define(N,e(N,"DataTableBody",To));const G="ax-data-table-action";customElements.get(G)||customElements.define(G,e(G,"DataTableAction",Do));const y="ax-data-table-checkbox";customElements.get(y)||customElements.define(y,e(y,"DataTableCheckbox",Co));const F="ax-data-table-footer";customElements.get(F)||customElements.define(F,e(F,"DataTableFooter",vo));const R="ax-data-table-label";customElements.get(R)||customElements.define(R,e(R,"DataTableLabel",Ao));const H="ax-date-input";customElements.get(H)||customElements.define(H,e(H,"DateInput",Lo));const z="ax-date-range-picker";customElements.get(z)||customElements.define(z,e(z,"DateRangePicker",Io));const K="ax-date-range-picker-content";customElements.get(K)||customElements.define(K,e(K,"DateRangePickerContent",So));const j="ax-date-range-picker-trigger";customElements.get(j)||customElements.define(j,e(j,"DateRangePickerTrigger",wo));const q="ax-dialog";customElements.get(q)||customElements.define(q,e(q,"Dialog",ho));const J="ax-dialog-body";customElements.get(J)||customElements.define(J,e(J,"DialogBody",Mo));const O="ax-dialog-close";customElements.get(O)||customElements.define(O,e(O,"DialogClose",ko));const Q="ax-dialog-content";customElements.get(Q)||customElements.define(Q,e(Q,"DialogContent",Bo));const U="ax-dialog-footer";customElements.get(U)||customElements.define(U,e(U,"DialogFooter",No));const V="ax-dialog-form";customElements.get(V)||customElements.define(V,e(V,"DialogForm",Go));const W="ax-dialog-header";customElements.get(W)||customElements.define(W,e(W,"DialogHeader",yo));const X="ax-dialog-trigger";customElements.get(X)||customElements.define(X,e(X,"DialogTrigger",Fo));const Y="ax-disclosure";customElements.get(Y)||customElements.define(Y,e(Y,"Disclosure",Ro));const Z="ax-disclosure-content";customElements.get(Z)||customElements.define(Z,e(Z,"DisclosureContent",Ho));const _="ax-disclosure-trigger";customElements.get(_)||customElements.define(_,e(_,"DisclosureTrigger",zo));const $="ax-dropdown-menu";customElements.get($)||customElements.define($,e($,"DropdownMenu",Ko));const ee="ax-dropdown-menu-checkbox-item";customElements.get(ee)||customElements.define(ee,e(ee,"DropdownMenuCheckboxItem",jo));const te="ax-dropdown-menu-content";customElements.get(te)||customElements.define(te,e(te,"DropdownMenuContent",qo));const oe="ax-dropdown-menu-group";customElements.get(oe)||customElements.define(oe,e(oe,"DropdownMenuGroup",Jo));const se="ax-dropdown-menu-item";customElements.get(se)||customElements.define(se,e(se,"DropdownMenuItem",Oo));const ne="ax-dropdown-menu-label";customElements.get(ne)||customElements.define(ne,e(ne,"DropdownMenuLabel",Qo));const ae="ax-dropdown-menu-separator";customElements.get(ae)||customElements.define(ae,e(ae,"DropdownMenuSeparator",Uo));const me="ax-dropdown-menu-sub";customElements.get(me)||customElements.define(me,e(me,"DropdownMenuSub",Vo));const ie="ax-dropdown-menu-sub-content";customElements.get(ie)||customElements.define(ie,e(ie,"DropdownMenuSubContent",Wo));const re="ax-dropdown-menu-trigger";customElements.get(re)||customElements.define(re,e(re,"DropdownMenuTrigger",Xo));const le="ax-ellipsis-menu-button";customElements.get(le)||customElements.define(le,e(le,"EllipsisMenuButton",Yo));const ce="ax-field";customElements.get(ce)||customElements.define(ce,e(ce,"Field",Zo));const ue="ax-field-label";customElements.get(ue)||customElements.define(ue,e(ue,"FieldLabel",_o));const de="ax-flex";customElements.get(de)||customElements.define(de,e(de,"Flex",$o));const ge="ax-grid";customElements.get(ge)||customElements.define(ge,e(ge,"Grid",es));const pe="ax-group";customElements.get(pe)||customElements.define(pe,e(pe,"Group",ts));const fe="ax-heading";customElements.get(fe)||customElements.define(fe,e(fe,"Heading",os));const Ee="ax-indicator";customElements.get(Ee)||customElements.define(Ee,e(Ee,"Indicator",ss));const xe="ax-input";customElements.get(xe)||customElements.define(xe,e(xe,"Input",ns));const be="ax-input-addon";customElements.get(be)||customElements.define(be,e(be,"InputAddon",as));const Pe="ax-input-control";customElements.get(Pe)||customElements.define(Pe,e(Pe,"InputControl",ms));const Te="ax-input-root";customElements.get(Te)||customElements.define(Te,e(Te,"InputRoot",is));const De="ax-kbd";customElements.get(De)||customElements.define(De,e(De,"Kbd",rs));const Ce="ax-label-menu-button";customElements.get(Ce)||customElements.define(Ce,e(Ce,"LabelMenuButton",ls));const ve="ax-link";customElements.get(ve)||customElements.define(ve,e(ve,"Link",cs));const Ae="ax-listbox";customElements.get(Ae)||customElements.define(Ae,e(Ae,"Listbox",us));const Le="ax-listbox-checkbox-item";customElements.get(Le)||customElements.define(Le,e(Le,"ListboxCheckboxItem",ds));const Ie="ax-listbox-empty";customElements.get(Ie)||customElements.define(Ie,e(Ie,"ListboxEmpty",gs));const Se="ax-listbox-group";customElements.get(Se)||customElements.define(Se,e(Se,"ListboxGroup",ps));const we="ax-listbox-item";customElements.get(we)||customElements.define(we,e(we,"ListboxItem",fs));const he="ax-listbox-item-indicator";customElements.get(he)||customElements.define(he,e(he,"ListboxItemIndicator",Es));const Me="ax-listbox-itemized";customElements.get(Me)||customElements.define(Me,e(Me,"ListboxItemized",xs));const ke="ax-listbox-label";customElements.get(ke)||customElements.define(ke,e(ke,"ListboxLabel",bs));const Be="ax-listbox-radio-item";customElements.get(Be)||customElements.define(Be,e(Be,"ListboxRadioItem",Ps));const Ne="ax-listbox-separator";customElements.get(Ne)||customElements.define(Ne,e(Ne,"ListboxSeparator",Ts));const Ge="ax-listbox-switch-item";customElements.get(Ge)||customElements.define(Ge,e(Ge,"ListboxSwitchItem",Ds));const ye="ax-menu";customElements.get(ye)||customElements.define(ye,e(ye,"Menu",Cs));const Fe="ax-menu-content";customElements.get(Fe)||customElements.define(Fe,e(Fe,"MenuContent",vs));const Re="ax-menu-trigger";customElements.get(Re)||customElements.define(Re,e(Re,"MenuTrigger",As));const He="ax-modal-layer";customElements.get(He)||customElements.define(He,e(He,"ModalLayer",Ls));const ze="ax-nav";customElements.get(ze)||customElements.define(ze,e(ze,"Nav",Is));const Ke="ax-nav-account-item";customElements.get(Ke)||customElements.define(Ke,e(Ke,"NavAccountItem",Ss));const je="ax-nav-body";customElements.get(je)||customElements.define(je,e(je,"NavBody",ws));const qe="ax-nav-footer";customElements.get(qe)||customElements.define(qe,e(qe,"NavFooter",hs));const Je="ax-nav-group";customElements.get(Je)||customElements.define(Je,e(Je,"NavGroup",Ms));const Oe="ax-nav-group-content";customElements.get(Oe)||customElements.define(Oe,e(Oe,"NavGroupContent",ks));const Qe="ax-nav-group-trigger";customElements.get(Qe)||customElements.define(Qe,e(Qe,"NavGroupTrigger",Bs));const Ue="ax-nav-header";customElements.get(Ue)||customElements.define(Ue,e(Ue,"NavHeader",Ns));const Ve="ax-nav-item";customElements.get(Ve)||customElements.define(Ve,e(Ve,"NavItem",Gs));const We="ax-nav-list";customElements.get(We)||customElements.define(We,e(We,"NavList",ys));const Xe="ax-nav-separator";customElements.get(Xe)||customElements.define(Xe,e(Xe,"NavSeparator",Fs));const Ye="ax-pagination";customElements.get(Ye)||customElements.define(Ye,e(Ye,"Pagination",Rs));const Ze="ax-paper";customElements.get(Ze)||customElements.define(Ze,e(Ze,"Paper",Hs));const _e="ax-popover";customElements.get(_e)||customElements.define(_e,e(_e,"Popover",zs));const $e="ax-popover-anchor";customElements.get($e)||customElements.define($e,e($e,"PopoverAnchor",Ks));const et="ax-popover-content";customElements.get(et)||customElements.define(et,e(et,"PopoverContent",js));const tt="ax-popover-trigger";customElements.get(tt)||customElements.define(tt,e(tt,"PopoverTrigger",qs));const ot="ax-progress";customElements.get(ot)||customElements.define(ot,e(ot,"Progress",Js));const st="ax-radio";customElements.get(st)||customElements.define(st,e(st,"Radio",Os));const nt="ax-radio-group";customElements.get(nt)||customElements.define(nt,e(nt,"RadioGroup",Qs));const at="ax-search-input";customElements.get(at)||customElements.define(at,e(at,"SearchInput",Us));const mt="ax-segmented-control";customElements.get(mt)||customElements.define(mt,e(mt,"SegmentedControl",Vs));const it="ax-segmented-control-item";customElements.get(it)||customElements.define(it,e(it,"SegmentedControlItem",Ws));const rt="ax-select";customElements.get(rt)||customElements.define(rt,e(rt,"Select",Xs));const lt="ax-select-content";customElements.get(lt)||customElements.define(lt,e(lt,"SelectContent",Ys));const ct="ax-select-trigger";customElements.get(ct)||customElements.define(ct,e(ct,"SelectTrigger",Zs));const ut="ax-separator";customElements.get(ut)||customElements.define(ut,e(ut,"Separator",_s));const dt="ax-sidebar";customElements.get(dt)||customElements.define(dt,e(dt,"Sidebar",$s));const gt="ax-sidebar-toggle";customElements.get(gt)||customElements.define(gt,e(gt,"SidebarToggle",en));const pt="ax-skeleton";customElements.get(pt)||customElements.define(pt,e(pt,"Skeleton",tn));const ft="ax-spinner";customElements.get(ft)||customElements.define(ft,e(ft,"Spinner",on));const Et="ax-sub-nav";customElements.get(Et)||customElements.define(Et,e(Et,"SubNav",sn));const xt="ax-switch";customElements.get(xt)||customElements.define(xt,e(xt,"Switch",nn));const bt="ax-table";customElements.get(bt)||customElements.define(bt,e(bt,"Table",an));const Pt="ax-table-action";customElements.get(Pt)||customElements.define(Pt,e(Pt,"TableAction",mn));const Tt="ax-table-body";customElements.get(Tt)||customElements.define(Tt,e(Tt,"TableBody",rn));const Dt="ax-table-cell";customElements.get(Dt)||customElements.define(Dt,e(Dt,"TableCell",ln));const Ct="ax-table-header";customElements.get(Ct)||customElements.define(Ct,e(Ct,"TableHeader",cn));const vt="ax-table-header-cell";customElements.get(vt)||customElements.define(vt,e(vt,"TableHeaderCell",un));const At="ax-table-row";customElements.get(At)||customElements.define(At,e(At,"TableRow",dn));const Lt="ax-tabs";customElements.get(Lt)||customElements.define(Lt,e(Lt,"Tabs",gn));const It="ax-tabs-content";customElements.get(It)||customElements.define(It,e(It,"TabsContent",pn));const St="ax-tabs-list";customElements.get(St)||customElements.define(St,e(St,"TabsList",fn));const wt="ax-tabs-trigger";customElements.get(wt)||customElements.define(wt,e(wt,"TabsTrigger",En));const ht="ax-text";customElements.get(ht)||customElements.define(ht,e(ht,"Text",xn));const Mt="ax-textarea";customElements.get(Mt)||customElements.define(Mt,e(Mt,"Textarea",bn));const kt="ax-theme-provider";customElements.get(kt)||customElements.define(kt,e(kt,"ThemeProvider",Pn));const Bt="ax-toast-provider";customElements.get(Bt)||customElements.define(Bt,e(Bt,"ToastProvider",Tn));const Nt="ax-toggle-button";customElements.get(Nt)||customElements.define(Nt,e(Nt,"ToggleButton",Dn));const Gt="ax-tooltip";customElements.get(Gt)||customElements.define(Gt,e(Gt,"Tooltip",Cn));const yt="ax-tooltip-content";customElements.get(yt)||customElements.define(yt,e(yt,"TooltipContent",vn));const Ft="ax-tooltip-provider";customElements.get(Ft)||customElements.define(Ft,e(Ft,"TooltipProvider",An));const Rt="ax-tooltip-root";customElements.get(Rt)||customElements.define(Rt,e(Rt,"TooltipRoot",Ln));const Ht="ax-tooltip-trigger";customElements.get(Ht)||customElements.define(Ht,e(Ht,"TooltipTrigger",In));const zt="ax-transition";customElements.get(zt)||customElements.define(zt,e(zt,"Transition",Sn));const Kt="ax-transition-group";customElements.get(Kt)||customElements.define(Kt,e(Kt,"TransitionGroup",wn));export{t as Alert,o as AlertDialog,s as AlertDialogAction,n as AlertDialogBody,a as AlertDialogCancel,m as AlertDialogContent,i as AlertDialogFooter,r as AlertDialogHeader,l as AlertDialogTrigger,c as AngleMenuButton,u as AuthProvider,d as Avatar,g as AvatarGroup,p as AxiomProvider,f as Badge,E as Banner,x as Box,b as Breadcrumb,P as Button,T as ButtonGroup,D as Card,C as CardAction,v as CardCheckbox,A as CardFooter,L as CardHeader,I as CardImage,S as CardLink,w as CardPreview,h as Checkbox,M as Code,k as Cover,B as DataTable,G as DataTableAction,N as DataTableBody,y as DataTableCheckbox,F as DataTableFooter,R as DataTableLabel,H as DateInput,z as DateRangePicker,K as DateRangePickerContent,j as DateRangePickerTrigger,q as Dialog,J as DialogBody,O as DialogClose,Q as DialogContent,U as DialogFooter,V as DialogForm,W as DialogHeader,X as DialogTrigger,Y as Disclosure,Z as DisclosureContent,_ as DisclosureTrigger,$ as DropdownMenu,ee as DropdownMenuCheckboxItem,te as DropdownMenuContent,oe as DropdownMenuGroup,se as DropdownMenuItem,ne as DropdownMenuLabel,ae as DropdownMenuSeparator,me as DropdownMenuSub,ie as DropdownMenuSubContent,re as DropdownMenuTrigger,le as EllipsisMenuButton,ce as Field,ue as FieldLabel,de as Flex,ge as Grid,pe as Group,fe as Heading,Ee as Indicator,xe as Input,be as InputAddon,Pe as InputControl,Te as InputRoot,De as Kbd,Ce as LabelMenuButton,ve as Link,Ae as Listbox,Le as ListboxCheckboxItem,Ie as ListboxEmpty,Se as ListboxGroup,we as ListboxItem,he as ListboxItemIndicator,Me as ListboxItemized,ke as ListboxLabel,Be as ListboxRadioItem,Ne as ListboxSeparator,Ge as ListboxSwitchItem,ye as Menu,Fe as MenuContent,Re as MenuTrigger,He as ModalLayer,ze as Nav,Ke as NavAccountItem,je as NavBody,qe as NavFooter,Je as NavGroup,Oe as NavGroupContent,Qe as NavGroupTrigger,Ue as NavHeader,Ve as NavItem,We as NavList,Xe as NavSeparator,Ye as Pagination,Ze as Paper,_e as Popover,$e as PopoverAnchor,et as PopoverContent,tt as PopoverTrigger,ot as Progress,st as Radio,nt as RadioGroup,at as SearchInput,mt as SegmentedControl,it as SegmentedControlItem,rt as Select,lt as SelectContent,ct as SelectTrigger,ut as Separator,dt as Sidebar,gt as SidebarToggle,pt as Skeleton,ft as Spinner,Et as SubNav,xt as Switch,bt as Table,Pt as TableAction,Tt as TableBody,Dt as TableCell,Ct as TableHeader,vt as TableHeaderCell,At as TableRow,Lt as Tabs,It as TabsContent,St as TabsList,wt as TabsTrigger,ht as Text,Mt as Textarea,kt as ThemeProvider,Bt as ToastProvider,Nt as ToggleButton,Gt as Tooltip,yt as TooltipContent,Ft as TooltipProvider,Rt as TooltipRoot,Ht as TooltipTrigger,zt as Transition,Kt as TransitionGroup};
@@ -1 +1 @@
1
- import{a as i}from"./index-DfrwUl5I.js";const a=(o,c,n=e=>e)=>{const e={};for(const[t,s]of Object.entries(o))e[n?n(t):t]=c(s,t);return e},r={conditions:{...a(i.screens,o=>({"@media":`screen and (min-width: ${o})`}))}},d=typeof window<"u"&&typeof window.matchMedia<"u"&&window.matchMedia("(hover: hover)").matches;export{d as a,r as e};
1
+ import{a as i}from"./index-BC1Z8Guw.js";const a=(o,c,n=e=>e)=>{const e={};for(const[t,s]of Object.entries(o))e[n?n(t):t]=c(s,t);return e},r={conditions:{...a(i.screens,o=>({"@media":`screen and (min-width: ${o})`}))}},d=typeof window<"u"&&typeof window.matchMedia<"u"&&window.matchMedia("(hover: hover)").matches;export{d as a,r as e};
@@ -0,0 +1 @@
1
+ import{D as i,k as n}from"./register-Jxf4mhRg.js";import{i as e}from"./MaterialIcon-Bk5ioJ2S.js";const o=i(function(r,t){return n(e,{ref:t,unfilledPath:"M465.31-365.05q-6.95-2.77-12.57-9.05l-189.2-189.21q-9.9-9.23-9.89-23.37.02-14.14 10.3-24.09 10.28-9.95 23.9-9.95 13.61 0 23.89 9.62L481-441.43 650-611.1q9.9-9.23 23.5-9.22 13.6.01 23.88 9.96 10.29 9.95 10.29 23.9t-10.29 23.56L508.59-374.1q-5.62 6.28-12.56 9.05-6.95 2.77-15.36 2.77t-15.36-2.77Z",...r})});o.displayName="@optiaxiom/icons/IconKeyboardArrowDown";export{o};
@@ -0,0 +1 @@
1
+ import{i}from"./register-Jxf4mhRg.js";i("@layer optiaxiom, optiaxiom.theme, optiaxiom.base, optiaxiom.vsxl93, optiaxiom._1bbhnib;");
@@ -1 +1 @@
1
- import{c as t}from"./index-BCRt_Cv9.js";const[e,o]=t("@optiaxiom/react/Modal",{shardRef:{current:null}});export{o as e,e as t};
1
+ import{c as t}from"./index-DJSJX8vV.js";const[e,o]=t("@optiaxiom/react/Modal",{shardRef:{current:null}});export{o as e,e as t};
@@ -0,0 +1 @@
1
+ import{D as m,k as t}from"./register-Jxf4mhRg.js";import{i as n}from"./MaterialIcon-Bk5ioJ2S.js";const o=m(function(i,r){return t(n,{ref:r,unfilledPath:"M209.34-426.36q-22.21 0-37.83-15.81-15.61-15.81-15.61-38.02 0-22.2 15.81-37.82 15.81-15.63 38.02-15.63 22.2 0 37.95 15.81 15.76 15.81 15.76 38.02 0 22.2-15.9 37.82-15.89 15.63-38.2 15.63Zm270.47 0q-22.2 0-37.82-15.81-15.63-15.81-15.63-38.02 0-22.2 15.81-37.82 15.81-15.63 38.02-15.63 22.2 0 37.82 15.81 15.63 15.81 15.63 38.02 0 22.2-15.81 37.82-15.81 15.63-38.02 15.63Zm270.46 0q-22.2 0-37.95-15.81-15.76-15.81-15.76-38.02 0-22.2 15.9-37.82 15.89-15.63 38.2-15.63 22.21 0 37.82 15.81 15.62 15.81 15.62 38.02 0 22.2-15.81 37.82-15.81 15.63-38.02 15.63Z",...i})});o.displayName="@optiaxiom/icons/IconMoreHoriz";export{o};
@@ -1 +1 @@
1
- import{A as s,y as f,u as m,D as l,F as k}from"./register-Suw5SMp3.js";import{c as d}from"./index-BCRt_Cv9.js";const[p,g]=d("@optiaxiom/react/FocusBookmarkProvider"),h=5;function a({children:t,containerRef:r}){const e=s([]);return f(()=>{const n=r?.current??document.body,c=o=>{"preventFocusBookmarkDefault"in o&&o.preventFocusBookmarkDefault||o.target instanceof HTMLElement&&(Object.assign(o,{preventFocusBookmarkDefault:!0}),e.current.includes(o.target)&&(e.current=e.current.filter(i=>i!==o.target)),e.current.push(o.target),e.current.length>h&&e.current.shift())};return n.addEventListener("focusin",c),()=>n.removeEventListener("focusin",c)},[r]),m(p,{bookmarksRef:e,children:t})}a.displayName="@optiaxiom/react/FocusBookmarkProvider";const u=l((t,r)=>{const{bookmarksRef:e}=g("@optiaxiom/react/FocusBookmarkRestore");return k(r,()=>({contains:()=>!1,focus:()=>{for(e.current=e.current.filter(n=>document.body.contains(n));e.current.length;){const n=e.current.pop();if(!n)break;n.focus();break}}}),[e]),null});u.displayName="@optiaxiom/react/FocusBookmarkRestore";function v(t){const{relatedTarget:r,target:e}=t;b(e)&&F(r)&&r.focus()}function F(t){return t instanceof HTMLElement&&t.role!=="dialog"}function b(t){return t instanceof HTMLElement&&t.id.startsWith("react-select-")&&t.id.endsWith("-input")&&t.localName==="input"}export{v as e,u as r,a as u};
1
+ import{A as s,y as f,u as m,D as l,F as k}from"./register-Jxf4mhRg.js";import{c as d}from"./index-DJSJX8vV.js";const[p,g]=d("@optiaxiom/react/FocusBookmarkProvider"),h=5;function a({children:t,containerRef:r}){const e=s([]);return f(()=>{const n=r?.current??document.body,c=o=>{"preventFocusBookmarkDefault"in o&&o.preventFocusBookmarkDefault||o.target instanceof HTMLElement&&(Object.assign(o,{preventFocusBookmarkDefault:!0}),e.current.includes(o.target)&&(e.current=e.current.filter(i=>i!==o.target)),e.current.push(o.target),e.current.length>h&&e.current.shift())};return n.addEventListener("focusin",c),()=>n.removeEventListener("focusin",c)},[r]),m(p,{bookmarksRef:e,children:t})}a.displayName="@optiaxiom/react/FocusBookmarkProvider";const u=l((t,r)=>{const{bookmarksRef:e}=g("@optiaxiom/react/FocusBookmarkRestore");return k(r,()=>({contains:()=>!1,focus:()=>{for(e.current=e.current.filter(n=>document.body.contains(n));e.current.length;){const n=e.current.pop();if(!n)break;n.focus();break}}}),[e]),null});u.displayName="@optiaxiom/react/FocusBookmarkRestore";function v(t){const{relatedTarget:r,target:e}=t;b(e)&&F(r)&&r.focus()}function F(t){return t instanceof HTMLElement&&t.role!=="dialog"}function b(t){return t instanceof HTMLElement&&t.id.startsWith("react-select-")&&t.id.endsWith("-input")&&t.localName==="input"}export{v as e,u as r,a as u};
@@ -0,0 +1 @@
1
+ import{D as n,k as i}from"./register-Jxf4mhRg.js";import{i as r}from"./MaterialIcon-Bk5ioJ2S.js";const q=n(function(t,o){return i(r,{ref:o,unfilledPath:"M198.57-118.67q-32.79 0-56.35-23.55-23.55-23.56-23.55-56.35v-562.86q0-32.79 23.55-56.35 23.56-23.55 56.35-23.55h234.76q14 0 24.07 10.04 10.06 10.04 10.06 24t-10.06 23.75q-10.07 9.8-24.07 9.8H198.57q-4.62 0-8.47 3.84-3.84 3.85-3.84 8.47v562.86q0 4.62 3.84 8.47 3.85 3.84 8.47 3.84h562.86q4.62 0 8.47-3.84 3.84-3.85 3.84-8.47v-234.76q0-14 10.04-24.07 10.04-10.06 24-10.06t23.76 10.06q9.79 10.07 9.79 24.07v234.76q0 32.79-23.55 56.35-23.56 23.55-56.35 23.55H198.57Zm575.17-607.28L407.49-359.69q-10.09 9.89-23.6 9.88-13.5-.01-23.79-10.45-10.28-10.43-10.28-23.69 0-13.25 10.28-23.54l366.26-366.25h-139.8q-13.71 0-23.58-10.04-9.88-10.04-9.88-24t9.88-23.76q9.87-9.79 23.58-9.79h215.16q16.4 0 28.01 11.6 11.6 11.61 11.6 28.01v215.16q0 13.71-10.04 23.58-10.04 9.88-24 9.88t-23.75-9.88q-9.8-9.87-9.8-23.58v-139.39Z",...t})});q.displayName="@optiaxiom/icons/IconOpenInNew";export{q as n};