@optiaxiom/web-components 0.9.4 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/dist/AlertDialogContext-Db4nuGSM.js +1 -0
  2. package/dist/AngleMenuButton-D1cDS73C.js +1 -0
  3. package/dist/Avatar-BSWyasfj.js +1 -0
  4. package/dist/AvatarContext-BmivuLJm.js +1 -0
  5. package/dist/AvatarGroup-DpWmmayN.js +1 -0
  6. package/dist/AvatarGroup.css.ts.vanilla-DGq2XZIM-CIko-dEU.js +1 -0
  7. package/dist/Backdrop-D8teC9ek.js +1 -0
  8. package/dist/Badge-Dh3JqDuu.js +1 -0
  9. package/dist/Box-CxH0QWJf.js +1 -0
  10. package/dist/Button-D_BGGE0L.js +1 -0
  11. package/dist/ButtonContext-NeY1xl-F.js +1 -0
  12. package/dist/ButtonGroup-NkEqmR9U.js +1 -0
  13. package/dist/Checkbox-erji63TF.js +1 -0
  14. package/dist/{Combination-BkVDqVvr.js → Combination-bl5cbbc9.js} +1 -1
  15. package/dist/Cover-D38lFSmU.js +1 -0
  16. package/dist/DialogContext-CU6DLNzm.js +1 -0
  17. package/dist/Disclosure-BZ3OUQmh.js +1 -0
  18. package/dist/DisclosureContent-5xw05oJ5.js +1 -0
  19. package/dist/DisclosureContext-CY62Is0E.js +1 -0
  20. package/dist/DisclosureTrigger-B6nPrPz8.js +1 -0
  21. package/dist/DropdownMenuContext-BeETNCTO.js +1 -0
  22. package/dist/DropdownMenuNestedContext-CuZOcnTg.js +1 -0
  23. package/dist/DropdownMenuSubContext-uMKb2yFl.js +1 -0
  24. package/dist/FieldContext-DO0B3ti9.js +1 -0
  25. package/dist/FieldLabel-Cwb092BL.js +1 -0
  26. package/dist/FilteredSlot-C3SPo8p4.js +1 -0
  27. package/dist/{Flex-DKTR-9aW.js → Flex-BaiSuWeX.js} +1 -1
  28. package/dist/Heading-5SjGfXBv.js +1 -0
  29. package/dist/Icon-CRAsfmUf.js +1 -0
  30. package/dist/{IconAngleRight-DoUFkRDn.js → IconAngleRight-4JK7Wsfv.js} +1 -1
  31. package/dist/{IconCircleInfoSolid-CeSQYlpl.js → IconCircleInfoSolid-DuaUHEOH.js} +1 -1
  32. package/dist/{IconEllipsis-Bpw0S94S.js → IconEllipsis-Bxv7BR3e.js} +1 -1
  33. package/dist/{IconTriangleExclamationSolid-_a-Z9eXo.js → IconTriangleExclamationSolid-DldeILDM.js} +1 -1
  34. package/dist/{IconX-B447QKPi.js → IconX-kK1GrbGk.js} +1 -1
  35. package/dist/Input-CY9z6nN4.js +1 -0
  36. package/dist/{InputAddon-UbCd3kuO.js → InputAddon-Xj8LnGjd.js} +1 -1
  37. package/dist/InputContext-3UKtxTrz.js +1 -0
  38. package/dist/InputControl-C6xkYy7f.js +1 -0
  39. package/dist/InputControl.css.ts.vanilla-DkC-V-K6-BxJeoVaf.js +1 -0
  40. package/dist/InputRoot-RFCYK_kB.js +1 -0
  41. package/dist/{Listbox-B0FBMCDv.js → Listbox-ztcWhNMc.js} +1 -1
  42. package/dist/ListboxCheckboxItem-c03J05Ra.js +1 -0
  43. package/dist/ListboxEmpty-BsWdIrgo.js +1 -0
  44. package/dist/ListboxFooter-DePDZIg6.js +1 -0
  45. package/dist/ListboxGroup-QDhc1MCS.js +1 -0
  46. package/dist/ListboxGroupContext-BpIJyne-.js +1 -0
  47. package/dist/ListboxItem-DFPbVVDk.js +1 -0
  48. package/dist/ListboxItemIndicator-D-YqpXEh.js +1 -0
  49. package/dist/ListboxItemized-6M97RyS7.js +4 -0
  50. package/dist/ListboxLabel-BO0EoI9Y.js +1 -0
  51. package/dist/ListboxRadioItem-DTW053XA.js +1 -0
  52. package/dist/ListboxSeparator-BR-ySYyD.js +1 -0
  53. package/dist/ListboxSwitchItem-5bW7XCzu.js +1 -0
  54. package/dist/ModalContext-Xb5u-Lcg.js +1 -0
  55. package/dist/ModalLayer-BhsWqJ5t.js +1 -0
  56. package/dist/ModalListbox-CC_v9v5K.js +1 -0
  57. package/dist/Nav-DZWy-U_a.js +1 -0
  58. package/dist/NavAccountItem-Cay7Hkf6.js +1 -0
  59. package/dist/NavBody-BfAwnJ7F.js +1 -0
  60. package/dist/NavFooter-BIqyyzB-.js +1 -0
  61. package/dist/NavGroup-BcQO1zHU.js +1 -0
  62. package/dist/NavGroupContent-D1C6URdP.js +1 -0
  63. package/dist/NavGroupContext-BlQPVHF2.js +1 -0
  64. package/dist/NavGroupTrigger-CNNW9oSc.js +1 -0
  65. package/dist/NavHeader-Bp4byFbt.js +1 -0
  66. package/dist/NavItem-602DVDIK.js +1 -0
  67. package/dist/NavList-B0VcP_BI.js +1 -0
  68. package/dist/NavSeparator-BjTE49Cg.js +1 -0
  69. package/dist/{Paper-C_dmq9_B.js → Paper-DOCcubas.js} +1 -1
  70. package/dist/PopoverContext-u77vl3T6.js +1 -0
  71. package/dist/RadioGroupContext-De9-tOuy.js +1 -0
  72. package/dist/SegmentedControlContext-sE_9krbm.js +1 -0
  73. package/dist/Separator-yPkhwV8W.js +1 -0
  74. package/dist/SidebarContext-CgsT36DP.js +1 -0
  75. package/dist/Spinner-Cg3yZaWR.js +1 -0
  76. package/dist/Switch-BcLzSR_a.js +1 -0
  77. package/dist/Text-DF2L9KE0.js +1 -0
  78. package/dist/{ThemeProvider-YHfVzPUg.js → ThemeProvider-ioY6SDG3.js} +1 -1
  79. package/dist/Toast-BsaXU4dK.js +1 -0
  80. package/dist/ToastAction-B3uXtSDq.js +1 -0
  81. package/dist/ToastProvider-9-k0ySwE.js +1 -0
  82. package/dist/ToastTitle-BQnVg1Ix.js +1 -0
  83. package/dist/ToggleInputLabel-DCT8MokG.js +1 -0
  84. package/dist/{Tooltip-CU_D7qNa.js → Tooltip-CkqbbxMD.js} +1 -1
  85. package/dist/TooltipContent-B2RmfHAq.js +1 -0
  86. package/dist/TooltipContext-5Ie6W8T9.js +1 -0
  87. package/dist/TooltipProvider-CY5SDcQx.js +1 -0
  88. package/dist/TooltipRoot-CETv2LN8.js +1 -0
  89. package/dist/TooltipTrigger-Bwhmwc8y.js +1 -0
  90. package/dist/Transition-BfKjNcF-.js +1 -0
  91. package/dist/TransitionGroup-BoOyGNrJ.js +1 -0
  92. package/dist/TransitionGroupContext-BAV_aGSj.js +1 -0
  93. package/dist/VisuallyHidden-u8s2xPjF.js +1 -0
  94. package/dist/components/Alert.d.ts +2 -1
  95. package/dist/components/Alert.js +1 -1
  96. package/dist/components/AlertDialog.d.ts +2 -1
  97. package/dist/components/AlertDialog.js +1 -1
  98. package/dist/components/AlertDialogAction.d.ts +2 -1
  99. package/dist/components/AlertDialogAction.js +1 -1
  100. package/dist/components/AlertDialogBody.d.ts +2 -1
  101. package/dist/components/AlertDialogBody.js +1 -1
  102. package/dist/components/AlertDialogCancel.d.ts +2 -1
  103. package/dist/components/AlertDialogCancel.js +1 -1
  104. package/dist/components/AlertDialogContent.d.ts +2 -1
  105. package/dist/components/AlertDialogContent.js +1 -1
  106. package/dist/components/AlertDialogFooter.d.ts +2 -1
  107. package/dist/components/AlertDialogFooter.js +1 -1
  108. package/dist/components/AlertDialogHeader.d.ts +2 -1
  109. package/dist/components/AlertDialogHeader.js +1 -1
  110. package/dist/components/AlertDialogTrigger.d.ts +2 -1
  111. package/dist/components/AlertDialogTrigger.js +1 -1
  112. package/dist/components/AngleMenuButton.d.ts +2 -1
  113. package/dist/components/AngleMenuButton.js +1 -1
  114. package/dist/components/Avatar.d.ts +3 -2
  115. package/dist/components/Avatar.js +1 -1
  116. package/dist/components/AvatarGroup.d.ts +3 -2
  117. package/dist/components/AvatarGroup.js +1 -1
  118. package/dist/components/AxiomProvider.d.ts +2 -1
  119. package/dist/components/AxiomProvider.js +1 -1
  120. package/dist/components/Badge.d.ts +4 -3
  121. package/dist/components/Badge.js +1 -1
  122. package/dist/components/Banner.d.ts +2 -1
  123. package/dist/components/Banner.js +1 -1
  124. package/dist/components/Box.d.ts +36 -35
  125. package/dist/components/Box.js +1 -1
  126. package/dist/components/Button.d.ts +2 -1
  127. package/dist/components/Button.js +1 -1
  128. package/dist/components/ButtonGroup.d.ts +2 -1
  129. package/dist/components/ButtonGroup.js +1 -1
  130. package/dist/components/Checkbox.d.ts +2 -1
  131. package/dist/components/Checkbox.js +1 -1
  132. package/dist/components/Code.d.ts +2 -1
  133. package/dist/components/Code.js +1 -1
  134. package/dist/components/Dialog.d.ts +2 -1
  135. package/dist/components/Dialog.js +1 -1
  136. package/dist/components/DialogBody.d.ts +2 -1
  137. package/dist/components/DialogBody.js +1 -1
  138. package/dist/components/DialogClose.d.ts +2 -1
  139. package/dist/components/DialogClose.js +1 -1
  140. package/dist/components/DialogContent.d.ts +2 -1
  141. package/dist/components/DialogContent.js +1 -1
  142. package/dist/components/DialogFooter.d.ts +2 -1
  143. package/dist/components/DialogFooter.js +1 -1
  144. package/dist/components/DialogForm.d.ts +2 -1
  145. package/dist/components/DialogForm.js +1 -1
  146. package/dist/components/DialogHeader.d.ts +2 -1
  147. package/dist/components/DialogHeader.js +1 -1
  148. package/dist/components/DialogTrigger.d.ts +2 -1
  149. package/dist/components/DialogTrigger.js +1 -1
  150. package/dist/components/Disclosure.d.ts +2 -1
  151. package/dist/components/Disclosure.js +1 -1
  152. package/dist/components/DisclosureContent.d.ts +2 -1
  153. package/dist/components/DisclosureContent.js +1 -1
  154. package/dist/components/DisclosureTrigger.d.ts +2 -1
  155. package/dist/components/DisclosureTrigger.js +1 -1
  156. package/dist/components/DropdownMenu.d.ts +2 -1
  157. package/dist/components/DropdownMenu.js +1 -1
  158. package/dist/components/DropdownMenuCheckboxItem.d.ts +2 -1
  159. package/dist/components/DropdownMenuCheckboxItem.js +1 -1
  160. package/dist/components/DropdownMenuContent.d.ts +5 -4
  161. package/dist/components/DropdownMenuContent.js +1 -1
  162. package/dist/components/DropdownMenuGroup.d.ts +2 -1
  163. package/dist/components/DropdownMenuGroup.js +1 -1
  164. package/dist/components/DropdownMenuItem.d.ts +2 -1
  165. package/dist/components/DropdownMenuItem.js +1 -1
  166. package/dist/components/DropdownMenuLabel.d.ts +2 -1
  167. package/dist/components/DropdownMenuLabel.js +1 -1
  168. package/dist/components/DropdownMenuSeparator.d.ts +2 -1
  169. package/dist/components/DropdownMenuSeparator.js +1 -1
  170. package/dist/components/DropdownMenuSub.d.ts +2 -1
  171. package/dist/components/DropdownMenuSub.js +1 -1
  172. package/dist/components/DropdownMenuSubContent.d.ts +4 -3
  173. package/dist/components/DropdownMenuSubContent.js +1 -1
  174. package/dist/components/DropdownMenuTrigger.d.ts +2 -1
  175. package/dist/components/DropdownMenuTrigger.js +1 -1
  176. package/dist/components/EllipsisMenuButton.d.ts +2 -1
  177. package/dist/components/EllipsisMenuButton.js +1 -1
  178. package/dist/components/Field.d.ts +2 -1
  179. package/dist/components/Field.js +1 -1
  180. package/dist/components/FieldLabel.d.ts +2 -1
  181. package/dist/components/FieldLabel.js +1 -1
  182. package/dist/components/Flex.d.ts +2 -1
  183. package/dist/components/Flex.js +1 -1
  184. package/dist/components/Grid.d.ts +2 -1
  185. package/dist/components/Grid.js +1 -1
  186. package/dist/components/Heading.d.ts +5 -4
  187. package/dist/components/Heading.js +1 -1
  188. package/dist/components/Indicator.d.ts +4 -3
  189. package/dist/components/Indicator.js +1 -1
  190. package/dist/components/Input.d.ts +2 -1
  191. package/dist/components/Input.js +1 -1
  192. package/dist/components/InputAddon.d.ts +2 -1
  193. package/dist/components/InputAddon.js +1 -1
  194. package/dist/components/InputControl.d.ts +2 -1
  195. package/dist/components/InputControl.js +1 -1
  196. package/dist/components/InputRoot.d.ts +2 -1
  197. package/dist/components/InputRoot.js +1 -1
  198. package/dist/components/Kbd.d.ts +2 -1
  199. package/dist/components/Kbd.js +1 -1
  200. package/dist/components/Link.d.ts +2 -1
  201. package/dist/components/Link.js +1 -1
  202. package/dist/components/Listbox.d.ts +2 -1
  203. package/dist/components/Listbox.js +1 -1
  204. package/dist/components/ListboxCheckboxItem.d.ts +3 -1
  205. package/dist/components/ListboxCheckboxItem.js +1 -1
  206. package/dist/components/ListboxEmpty.d.ts +2 -1
  207. package/dist/components/ListboxEmpty.js +1 -1
  208. package/dist/components/ListboxFooter.d.ts +2 -1
  209. package/dist/components/ListboxFooter.js +1 -1
  210. package/dist/components/ListboxGroup.d.ts +2 -1
  211. package/dist/components/ListboxGroup.js +1 -1
  212. package/dist/components/ListboxItem.d.ts +2 -1
  213. package/dist/components/ListboxItem.js +1 -1
  214. package/dist/components/ListboxItemIndicator.d.ts +2 -1
  215. package/dist/components/ListboxItemIndicator.js +1 -1
  216. package/dist/components/ListboxLabel.d.ts +2 -1
  217. package/dist/components/ListboxLabel.js +1 -1
  218. package/dist/components/ListboxRadioItem.d.ts +2 -1
  219. package/dist/components/ListboxRadioItem.js +1 -1
  220. package/dist/components/ListboxSeparator.d.ts +2 -1
  221. package/dist/components/ListboxSeparator.js +1 -1
  222. package/dist/components/ListboxSwitchItem.d.ts +2 -1
  223. package/dist/components/ListboxSwitchItem.js +1 -1
  224. package/dist/components/ModalLayer.d.ts +3 -1
  225. package/dist/components/ModalLayer.js +1 -1
  226. package/dist/components/ModalProvider.d.ts +2 -1
  227. package/dist/components/ModalProvider.js +1 -1
  228. package/dist/components/Nav.d.ts +2 -1
  229. package/dist/components/Nav.js +1 -1
  230. package/dist/components/NavAccountItem.d.ts +2 -1
  231. package/dist/components/NavAccountItem.js +1 -1
  232. package/dist/components/NavBody.d.ts +2 -1
  233. package/dist/components/NavBody.js +1 -1
  234. package/dist/components/NavFooter.d.ts +2 -1
  235. package/dist/components/NavFooter.js +1 -1
  236. package/dist/components/NavGroup.d.ts +2 -1
  237. package/dist/components/NavGroup.js +1 -1
  238. package/dist/components/NavGroupContent.d.ts +2 -1
  239. package/dist/components/NavGroupContent.js +1 -1
  240. package/dist/components/NavGroupTrigger.d.ts +2 -1
  241. package/dist/components/NavGroupTrigger.js +1 -1
  242. package/dist/components/NavHeader.d.ts +2 -1
  243. package/dist/components/NavHeader.js +1 -1
  244. package/dist/components/NavItem.d.ts +2 -1
  245. package/dist/components/NavItem.js +1 -1
  246. package/dist/components/NavList.d.ts +2 -1
  247. package/dist/components/NavList.js +1 -1
  248. package/dist/components/NavSeparator.d.ts +2 -1
  249. package/dist/components/NavSeparator.js +1 -1
  250. package/dist/components/Pagination.d.ts +2 -1
  251. package/dist/components/Pagination.js +1 -1
  252. package/dist/components/Paper.d.ts +2 -1
  253. package/dist/components/Paper.js +1 -1
  254. package/dist/components/Popover.d.ts +2 -1
  255. package/dist/components/Popover.js +1 -1
  256. package/dist/components/PopoverAnchor.d.ts +2 -1
  257. package/dist/components/PopoverAnchor.js +1 -1
  258. package/dist/components/PopoverContent.d.ts +7 -4
  259. package/dist/components/PopoverContent.js +1 -1
  260. package/dist/components/PopoverTrigger.d.ts +2 -1
  261. package/dist/components/PopoverTrigger.js +1 -1
  262. package/dist/components/Progress.d.ts +2 -1
  263. package/dist/components/Progress.js +3 -3
  264. package/dist/components/Radio.d.ts +2 -1
  265. package/dist/components/Radio.js +1 -1
  266. package/dist/components/RadioGroup.d.ts +2 -1
  267. package/dist/components/RadioGroup.js +1 -1
  268. package/dist/components/SearchInput.d.ts +2 -1
  269. package/dist/components/SearchInput.js +1 -1
  270. package/dist/components/SegmentedControl.d.ts +2 -1
  271. package/dist/components/SegmentedControl.js +1 -1
  272. package/dist/components/SegmentedControlItem.d.ts +2 -1
  273. package/dist/components/SegmentedControlItem.js +1 -1
  274. package/dist/components/Separator.d.ts +2 -1
  275. package/dist/components/Separator.js +1 -1
  276. package/dist/components/Sidebar.d.ts +2 -1
  277. package/dist/components/Sidebar.js +1 -1
  278. package/dist/components/SidebarToggle.d.ts +2 -1
  279. package/dist/components/SidebarToggle.js +1 -1
  280. package/dist/components/Skeleton.d.ts +2 -1
  281. package/dist/components/Skeleton.js +1 -1
  282. package/dist/components/Spinner.d.ts +2 -1
  283. package/dist/components/Spinner.js +1 -1
  284. package/dist/components/SubNav.d.ts +2 -1
  285. package/dist/components/SubNav.js +1 -1
  286. package/dist/components/Switch.d.ts +2 -1
  287. package/dist/components/Switch.js +1 -1
  288. package/dist/components/Tabs.d.ts +2 -1
  289. package/dist/components/Tabs.js +1 -1
  290. package/dist/components/TabsContent.d.ts +2 -1
  291. package/dist/components/TabsContent.js +1 -1
  292. package/dist/components/TabsList.d.ts +2 -1
  293. package/dist/components/TabsList.js +1 -1
  294. package/dist/components/TabsTrigger.d.ts +2 -1
  295. package/dist/components/TabsTrigger.js +1 -1
  296. package/dist/components/Text.d.ts +4 -3
  297. package/dist/components/Text.js +1 -1
  298. package/dist/components/Textarea.d.ts +2 -1
  299. package/dist/components/Textarea.js +1 -1
  300. package/dist/components/ThemeProvider.d.ts +2 -1
  301. package/dist/components/ThemeProvider.js +1 -1
  302. package/dist/components/Toast.d.ts +2 -1
  303. package/dist/components/Toast.js +1 -1
  304. package/dist/components/ToastAction.d.ts +2 -1
  305. package/dist/components/ToastAction.js +1 -1
  306. package/dist/components/ToastProvider.d.ts +2 -1
  307. package/dist/components/ToastProvider.js +1 -1
  308. package/dist/components/ToastTitle.d.ts +4 -3
  309. package/dist/components/ToastTitle.js +1 -1
  310. package/dist/components/ToggleButton.d.ts +2 -1
  311. package/dist/components/ToggleButton.js +1 -1
  312. package/dist/components/Tooltip.d.ts +37 -36
  313. package/dist/components/Tooltip.js +1 -1
  314. package/dist/components/TooltipContent.d.ts +3 -2
  315. package/dist/components/TooltipContent.js +1 -1
  316. package/dist/components/TooltipProvider.d.ts +2 -1
  317. package/dist/components/TooltipProvider.js +1 -1
  318. package/dist/components/TooltipRoot.d.ts +2 -1
  319. package/dist/components/TooltipRoot.js +1 -1
  320. package/dist/components/TooltipTrigger.d.ts +2 -1
  321. package/dist/components/TooltipTrigger.js +1 -1
  322. package/dist/components/Transition.d.ts +2 -1
  323. package/dist/components/Transition.js +1 -1
  324. package/dist/components/TransitionGroup.d.ts +2 -1
  325. package/dist/components/TransitionGroup.js +1 -1
  326. package/dist/decorateChildren-B2BBqLoc.js +1 -0
  327. package/dist/fallbackSpan-CZQvaz9s.js +1 -0
  328. package/dist/index-1WfC-5hB.js +1 -0
  329. package/dist/index-B0f3n0Lp.js +1 -0
  330. package/dist/index-B3N8FqaJ.js +1 -0
  331. package/dist/{index-CPS7W35I.js → index-BEr69zp5.js} +1 -1
  332. package/dist/{index-nJG0EkgH.js → index-BHBIOin0.js} +1 -1
  333. package/dist/index-BKaOYXQ1.js +1 -0
  334. package/dist/index-BOLZZcMJ.js +1 -0
  335. package/dist/{index-bd2ytSxs.js → index-BY8hUz3A.js} +1 -1
  336. package/dist/index-C7svJDR5.js +1 -0
  337. package/dist/index-CELauJdv.js +1 -0
  338. package/dist/index-CVNXjtiD.js +1 -0
  339. package/dist/index-Ccu_g2Ge.js +1 -0
  340. package/dist/index-Cgp1oOc5.js +1 -0
  341. package/dist/index-CyoTwmOl.js +1 -0
  342. package/dist/index-D-HNEDtY.js +1 -0
  343. package/dist/index-DdDduij7.js +5 -0
  344. package/dist/index-DelclJFY.js +1 -0
  345. package/dist/{index-DGEZd4J7.js → index-DzS38IAa.js} +1 -1
  346. package/dist/index-FNoTT8-4.js +1 -0
  347. package/dist/index-R0AlXmSo.js +7 -0
  348. package/dist/index-UdL0beUk.js +1 -0
  349. package/dist/{index-C_ciZUJ7.js → index-VUc8aDh1.js} +1 -1
  350. package/dist/index-hIQ43k5u.js +1 -0
  351. package/dist/{index-D6LpCOOq.js → index-y5xn9P2G.js} +1 -1
  352. package/dist/index.d.ts +97 -92
  353. package/dist/index.js +1 -1
  354. package/dist/isHoverSupported-DBSn5zsK.js +1 -0
  355. package/dist/layers.css.ts.vanilla-COmxedfZ-DiZkOvEG.js +1 -0
  356. package/dist/{propTypes-B_bgLfyA.js → propTypes-CQZNV-6P.js} +1 -1
  357. package/dist/register-CmScz6g-.js +6 -0
  358. package/dist/{useNestedDialogCount-CvHCozbl.js → useNestedDialogCount-Du-Zd1iQ.js} +1 -1
  359. package/dist/{withIcon-Bb8EuGBX.js → withIcon-BZV2jDt8.js} +1 -1
  360. package/package.json +9 -9
  361. package/dist/ActionsRoot.css.ts.vanilla-Dex_upXA-DwctVxPn.js +0 -1
  362. package/dist/AlertDialogContext-Jho4WT9A.js +0 -1
  363. package/dist/AngleMenuButton-DEacluTx.js +0 -1
  364. package/dist/Avatar-BlTcgwl9.js +0 -1
  365. package/dist/AvatarContext-DoC98M33.js +0 -1
  366. package/dist/Backdrop-COqYuzvA.js +0 -1
  367. package/dist/Badge-jQHz-5LI.js +0 -1
  368. package/dist/Box-B_Bd20M6.js +0 -1
  369. package/dist/Button-CmfKv_JV.js +0 -1
  370. package/dist/ButtonContext-DsWYVD2I.js +0 -1
  371. package/dist/Checkbox-BBlBauE1.js +0 -1
  372. package/dist/Cover-BskZ0WGc.js +0 -1
  373. package/dist/DialogContext-eNSPtp3v.js +0 -1
  374. package/dist/Disclosure-Cfa74Z8i.js +0 -1
  375. package/dist/DisclosureContent-BY5Ibrsf.js +0 -1
  376. package/dist/DisclosureContext-BwAs5S-b.js +0 -1
  377. package/dist/DisclosureTrigger-VcLaV-Zd.js +0 -1
  378. package/dist/DropdownMenuContext-BtPwGChm.js +0 -1
  379. package/dist/DropdownMenuNestedContext-QDMD6Twd.js +0 -1
  380. package/dist/DropdownMenuSubContext-C_geRwY4.js +0 -1
  381. package/dist/FieldContext-Db53txZG.js +0 -1
  382. package/dist/FieldLabel-CSzSyoWe.js +0 -1
  383. package/dist/Heading-CCDx55dv.js +0 -1
  384. package/dist/Icon-BREahylv.js +0 -1
  385. package/dist/Input-CHVZUocV.js +0 -1
  386. package/dist/InputContext-CmWRToN8.js +0 -1
  387. package/dist/InputControl-BEMttf7Q.js +0 -1
  388. package/dist/InputControl.css.ts.vanilla-ByKgnlq8-kxKprxsT.js +0 -1
  389. package/dist/InputRoot-DkHDRFoW.js +0 -1
  390. package/dist/ListboxGroupContext-CgM6VPSV.js +0 -1
  391. package/dist/ListboxItem-CpHnWv9V.js +0 -1
  392. package/dist/ListboxItemIndicator-BfvnONAf.js +0 -1
  393. package/dist/ListboxSeparator-Bh1cZviG.js +0 -1
  394. package/dist/ListboxSwitchItem-BqH8kMzj.js +0 -1
  395. package/dist/MenuListbox-Dhx0-Vu_.js +0 -1
  396. package/dist/ModalContext-YbqbWief.js +0 -1
  397. package/dist/NavGroupContext-D7UIwzMo.js +0 -1
  398. package/dist/NavItem-BYUsgScw.js +0 -1
  399. package/dist/PopoverContext-DmQeje0d.js +0 -1
  400. package/dist/RadioGroupContext-Col3POgT.js +0 -1
  401. package/dist/SegmentedControlContext-kNfsb1Ah.js +0 -1
  402. package/dist/Separator-BGNJiELF.js +0 -1
  403. package/dist/SidebarContext-CES-oo6F.js +0 -1
  404. package/dist/Spinner-B3YpDHZq.js +0 -1
  405. package/dist/Switch-bqHxYghV.js +0 -1
  406. package/dist/Text-DW8gxFZL.js +0 -1
  407. package/dist/Toast-AEHNJ72y.js +0 -1
  408. package/dist/ToastAction-DGYzXO1K.js +0 -1
  409. package/dist/ToastProvider-DEgKt6eK.js +0 -1
  410. package/dist/ToastTitle-CuwFj3xX.js +0 -1
  411. package/dist/ToggleInputHiddenInput-Dp7CGU1f.js +0 -1
  412. package/dist/TooltipContent-XWgHdIFP.js +0 -1
  413. package/dist/TooltipContext-DkIxPEal.js +0 -1
  414. package/dist/TooltipProvider-BA3CAz-L.js +0 -1
  415. package/dist/TooltipRoot-CQ1-2MuU.js +0 -1
  416. package/dist/TooltipTrigger-0S_QV8Wq.js +0 -1
  417. package/dist/Transition-tw3nEUKW.js +0 -1
  418. package/dist/TransitionGroup-DVPxQYNi.js +0 -1
  419. package/dist/conditions-sHlEVfSr.js +0 -1
  420. package/dist/decorateChildren-_BeOrLfO.js +0 -1
  421. package/dist/fallbackSpan-9ofKwZ5f.js +0 -1
  422. package/dist/index-274nShn2.js +0 -1
  423. package/dist/index-7Vg129JV.js +0 -1
  424. package/dist/index-9srci74k.js +0 -1
  425. package/dist/index-BGEKm4RF.js +0 -1
  426. package/dist/index-BmwNpqFU.js +0 -1
  427. package/dist/index-BqnQaYZs.js +0 -1
  428. package/dist/index-C09akvYk.js +0 -1
  429. package/dist/index-C1SIXUdg.js +0 -5
  430. package/dist/index-CH7Wpx6L.js +0 -1
  431. package/dist/index-CHtmoVpk.js +0 -7
  432. package/dist/index-DEF5L1ym.js +0 -1
  433. package/dist/index-DLXSUFml.js +0 -1
  434. package/dist/index-Dv37sKA_.js +0 -1
  435. package/dist/index-SNsw9G8E.js +0 -1
  436. package/dist/index-UaHe_Xgq.js +0 -1
  437. package/dist/index-sDX_gjV0.js +0 -1
  438. package/dist/index-yH8w2n3j.js +0 -1
  439. package/dist/layers.css.ts.vanilla-CieILHYz-C_sz5ohW.js +0 -1
  440. package/dist/register-DOGxfU8C.js +0 -6
@@ -1 +1 @@
1
- import{d as Y,q as yt,A as J,b as Pe,y as Wt,T as lt,E as Re,D as at,u as j}from"./register-DOGxfU8C.js";import{P as vt}from"./index-yH8w2n3j.js";import{u as zt}from"./index-CH7Wpx6L.js";import{a as Oe}from"./index-nJG0EkgH.js";import{u as Ce}from"./index-bd2ytSxs.js";import{u as bt}from"./index-Dv37sKA_.js";const Se=["top","right","bottom","left"],U=Math.min,F=Math.max,ft=Math.round,ut=Math.floor,B=t=>({x:t,y:t}),Ee={left:"right",right:"left",bottom:"top",top:"bottom"},De={start:"end",end:"start"};function At(t,e,n){return F(t,U(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 Z(t){return["top","bottom"].includes(q(t))?"y":"x"}function Ot(t){return Pt(Z(t))}function Te(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Ot(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=dt(s)),[s,dt(s)]}function Le(t){const e=dt(t);return[Ct(t),e,Ct(e)]}function Ct(t){return t.replace(/start|end/g,e=>De[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(Ct)))),r}function dt(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 _t(t){return typeof t!="number"?ke(t):{top:t,right:t,bottom:t,left:t}}function pt(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 Bt(t,e,n){let{reference:o,floating:i}=t;const r=Z(e),s=Ot(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}=Bt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x:b,y:v,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=b??f,u=v??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}=Bt(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=_t(d),w=c[h?u==="floating"?"reference":"floating":u],g=pt(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})),b=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),x=await(r.isElement==null?void 0:r.isElement(v))?await(r.getScale==null?void 0:r.getScale(v))||{x:1,y:1}:{x:1,y:1},y=pt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:b,offsetParent:v,strategy:l}):b);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=_t(f),h={x:n,y:o},d=Ot(i),p=Rt(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",b=w?"bottom":"right",v=w?"clientHeight":"clientWidth",x=r.reference[p]+r.reference[d]-h[d]-r.floating[p],y=h[d]-r.reference[d],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let P=R?R[v]:0;(!P||!await(s.isElement==null?void 0:s.isElement(R)))&&(P=c.floating[v]||r.floating[p]);const D=x/2-y/2,k=P/2-m[p]/2-1,T=U(u[g],k),M=U(u[b],k),$=T,C=P-m[p]-M,O=P/2-m[p]/2+D,H=At($,O,C),S=!l.arrow&&Q(i)!=null&&O!==H&&r.reference[p]/2-(O<$?T:M)-m[p]/2<0,E=S?O<$?O-$:O-C:0;return{[d]:h[d]+E,data:{[d]:H,centerOffset:O-H-E,...S&&{alignmentOffset:E}},reset:S}}}),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),b=Z(c),v=q(c)===c,x=await(l.isRTL==null?void 0:l.isRTL(a.floating)),y=h||(v||!m?[dt(c)]:Le(c)),R=p!=="none";!h&&R&&y.push(...$e(c,m,p,x));const P=[c,...y],D=await it(e,w),k=[];let T=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&k.push(D[g]),u){const O=Te(i,s,x);k.push(D[O[0]],D[O[1]])}if(T=[...T,{placement:i,overflows:k}],!k.every(O=>O<=0)){var M,$;const O=(((M=r.flip)==null?void 0:M.index)||0)+1,H=P[O];if(H)return{data:{index:O,overflows:T},reset:{placement:H}};let S=($=T.filter(E=>E.overflows[0]<=0).sort((E,A)=>E.overflows[1]-A.overflows[1])[0])==null?void 0:$.placement;if(!S)switch(d){case"bestFit":{var C;const E=(C=T.filter(A=>{if(R){const L=Z(A.placement);return L===b||L==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(L=>L>0).reduce((L,_)=>L+_,0)]).sort((A,L)=>A[1]-L[1])[0])==null?void 0:C[0];E&&(S=E);break}case"initialPlacement":S=c;break}if(i!==S)return{reset:{placement:S}}}return{}}}};function Vt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function It(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=Vt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:It(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=Vt(r,n.floating);return{data:{escapedOffsets:s,escaped:It(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=Z(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:b}=w;return{x:g,y:b}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=Z(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",b=d+f[w],v=d-f[g];d=At(b,d,v)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",b=p+f[w],v=p-f[g];p=At(b,p,v)}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=Z(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 v=h==="y"?"height":"width",x=r.reference[h]-r.floating[v]+w.mainAxis,y=r.reference[h]+r.reference[v]-w.mainAxis;d<x?d=x:d>y&&(d=y)}if(a){var g,b;const v=h==="y"?"width":"height",x=["top","left"].includes(q(i)),y=r.reference[u]-r.floating[v]+(x&&((g=s.offset)==null?void 0:g[u])||0)+(x?0:w.crossAxis),R=r.reference[u]+r.reference[v]+(x?0:((b=s.offset)==null?void 0:b[u])||0)-(x?w.crossAxis:0);p<y?p=y:p>R&&(p=R)}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=Z(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 b=m-f.top-f.bottom,v=p-f.left-f.right,x=U(m-f[w],b),y=U(p-f[g],v),R=!e.middlewareData.shift;let P=x,D=y;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(D=v),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(P=b),R&&!h){const T=F(f.left,0),M=F(f.right,0),$=F(f.top,0),C=F(f.bottom,0);d?D=p-2*(T!==0||M!==0?T+M:F(f.left,f.right)):P=m-2*($!==0||C!==0?$+C:F(f.top,f.bottom))}await l({...e,availableWidth:D,availableHeight:P});const k=await s.getDimensions(c.floating);return p!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function ht(){return typeof window<"u"}function tt(t){return Yt(t)?(t.nodeName||"").toLowerCase():"#document"}function N(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Yt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Yt(t){return ht()?t instanceof Node||t instanceof N(t).Node:!1}function W(t){return ht()?t instanceof Element||t instanceof N(t).Element:!1}function I(t){return ht()?t instanceof HTMLElement||t instanceof N(t).HTMLElement:!1}function jt(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof N(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=z(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 mt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function St(t){const e=Et(),n=W(t)?z(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(St(e))return e;if(mt(e))return null;e=K(e)}return null}function Et(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function z(t){return N(t).getComputedStyle(t)}function gt(t){return W(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||jt(t)&&t.host||V(t);return jt(e)?e.host:e}function Xt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Xt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Xt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=N(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 qt(t){const e=z(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=ft(n)!==r||ft(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Tt(t){return W(t)?t:t.contextElement}function nt(t){const e=Tt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=qt(e);let s=(r?ft(n.width):n.width)/o,c=(r?ft(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 Ut(t){const e=N(t);return!Et()||!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!==N(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Tt(t);let s=B(1);e&&(o?W(o)&&(s=nt(o)):s=nt(t));const c=qe(r,n,o)?Ut(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=N(r),d=o&&W(o)?N(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),b=z(m),v=g.left+(m.clientLeft+parseFloat(b.paddingLeft))*w.x,x=g.top+(m.clientTop+parseFloat(b.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=v,a+=x,p=N(m),m=Dt(p)}}return pt({width:f,height:u,x:l,y:a})}function Lt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:G(V(t)).left+n}function Zt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Lt(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?mt(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=gt(o)),I(o))){const d=G(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Zt(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=gt(t),o=t.ownerDocument.body,i=F(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=F(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Lt(t);const c=-n.scrollTop;return z(o).direction==="rtl"&&(s+=F(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ge(t,e){const n=N(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=Et();(!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=G(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 Kt(t,e,n){let o;if(e==="viewport")o=Ge(t,n);else if(e==="document")o=Ke(V(t));else if(W(e))o=Je(e,n);else{const i=Ut(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return pt(o)}function Gt(t,e){const n=K(t);return n===e||!W(n)||et(n)?!1:z(n).position==="fixed"||Gt(n,e)}function Qe(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>W(c)&&tt(c)!=="body"),i=null;const r=z(t).position==="fixed";let s=r?K(t):t;for(;W(s)&&!et(s);){const c=z(s),l=St(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&Gt(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"?mt(e)?[]:Qe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Kt(e,f,i);return a.top=F(u.top,a.top),a.right=U(u.right,a.right),a.bottom=U(u.bottom,a.bottom),a.left=F(u.left,a.left),a},Kt(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}=qt(t);return{width:e,height:n}}function nn(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=G(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=gt(e)),o){const h=G(e,!0,r,e);l.x=h.x+e.clientLeft,l.y=h.y+e.clientTop}else i&&(l.x=Lt(i));const a=i&&!o&&!r?Zt(i,c):B(0),f=s.left+c.scrollLeft-l.x-a.x,u=s.top+c.scrollTop-l.y-a.y;return{x:f,y:u,width:s.width,height:s.height}}function Mt(t){return z(t).position==="static"}function Jt(t,e){if(!I(t)||z(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function Qt(t,e){const n=N(t);if(mt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(W(i)&&!Mt(i))return i;i=K(i)}return n}let o=Jt(t,e);for(;o&&Ye(o)&&Mt(o);)o=Jt(o,e);return o&&et(o)&&Mt(o)&&!St(o)?n:o||je(t)||n}const on=async function(t){const e=this.getOffsetParent||Qt,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 z(t).direction==="rtl"}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:Ue,getDocumentElement:V,getClippingRect:tn,getOffsetParent:Qt,getElementRects:on,getClientRects:Ze,getDimensions:en,getScale:nt,isElement:W,isRTL:rn};function te(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=ut(u),m=ut(i.clientWidth-(f+h)),w=ut(i.clientHeight-(u+d)),g=ut(f),v={rootMargin:-p+"px "+-m+"px "+-w+"px "+-g+"px",threshold:F(0,U(1,l))||1};let x=!0;function y(R){const P=R[0].intersectionRatio;if(P!==l){if(!x)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!te(a,t.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(y,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,v)}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=Tt(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[b]=g;b&&b.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,m=l?G(t):null;l&&w();function w(){const g=G(t);m&&!te(m,g)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(b=>{i&&b.removeEventListener("scroll",n),r&&b.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,ee=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 wt=typeof document<"u"?Pe:Wt;function xt(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(!xt(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)&&!xt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function ne(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function oe(t,e){const n=ne(t);return Math.round(e*n)/n}function $t(t){const e=J(t);return wt(()=>{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);xt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),b=yt(A=>{A!==R.current&&(R.current=A,m(A))},[]),v=yt(A=>{A!==P.current&&(P.current=A,g(A))},[]),x=r||p,y=s||w,R=J(null),P=J(null),D=J(f),k=l!=null,T=$t(l),M=$t(i),$=$t(a),C=yt(()=>{if(!R.current||!P.current)return;const A={placement:e,strategy:n,middleware:h};M.current&&(A.platform=M.current),mn(R.current,P.current,A).then(L=>{const _={...L,isPositioned:$.current!==!1};O.current&&!xt(D.current,_)&&(D.current=_,Re(()=>{u(_)}))})},[h,e,n,M,$]);wt(()=>{a===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const O=J(!1);wt(()=>(O.current=!0,()=>{O.current=!1}),[]),wt(()=>{if(x&&(R.current=x),y&&(P.current=y),x&&y){if(T.current)return T.current(x,y,C);C()}},[x,y,C,T,k]);const H=lt(()=>({reference:R,floating:P,setReference:b,setFloating:v}),[b,v]),S=lt(()=>({reference:x,floating:y}),[x,y]),E=lt(()=>{const A={position:n,left:0,top:0};if(!S.floating)return A;const L=oe(S.floating,f.x),_=oe(S.floating,f.y);return c?{...A,transform:"translate("+L+"px, "+_+"px)",...ne(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:_}},[n,c,S.floating,f.x,f.y]);return lt(()=>({...f,update:C,refs:H,elements:S,floatingStyles:E}),[f,C,H,S,E])}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?ee({element:o.current,padding:i}).fn(n):{}:o?ee({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]}),Pn=(t,e)=>({...pn(t),options:[t,e]}),Rn=(t,e)=>({...wn(t),options:[t,e]});var On="Arrow",ie=at((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(vt.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"})})});ie.displayName=On;var Cn=ie;function Sn(t){const[e,n]=Y(void 0);return bt(()=>{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 kt="Popper",[re,En]=Oe(kt),[Dn,se]=re(kt),ce=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(Dn,{scope:e,anchor:o,onAnchorChange:i,children:n})};ce.displayName=kt;var le="PopperAnchor",ae=at((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=se(le,n),s=J(null),c=zt(e,s);return Wt(()=>{r.onAnchorChange(o?.current||s.current)}),o?null:j(vt.div,{...i,ref:c})});ae.displayName=le;var Ft="PopperContent",[Tn,Ln]=re(Ft),fe=at((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=se(Ft,n),[g,b]=Y(null),v=zt(e,ot=>b(ot)),[x,y]=Y(null),R=Sn(x),P=R?.width??0,D=R?.height??0,k=o+(r!=="center"?"-"+r:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},M=Array.isArray(a)?a:[a],$=M.length>0,C={padding:T,boundary:M.filter($n),altBoundary:$},{refs:O,floatingStyles:H,placement:S,isPositioned:E,middlewareData:A}=gn({strategy:"fixed",placement:k,whileElementsMounted:(...ot)=>ln(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[xn({mainAxis:i+D,alignmentAxis:s}),l&&yn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?vn():void 0,...C}),l&&bn({...C}),An({...C,apply:({elements:ot,rects:Ht,availableWidth:ye,availableHeight:ve})=>{const{width:be,height:Ae}=Ht.reference,ct=ot.floating.style;ct.setProperty("--radix-popper-available-width",`${ye}px`),ct.setProperty("--radix-popper-available-height",`${ve}px`),ct.setProperty("--radix-popper-anchor-width",`${be}px`),ct.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),x&&Rn({element:x,padding:c}),kn({arrowWidth:P,arrowHeight:D}),h&&Pn({strategy:"referenceHidden",...C})]}),[L,_]=pe(S),Nt=Ce(p);bt(()=>{E&&Nt?.()},[E,Nt]);const he=A.arrow?.x,me=A.arrow?.y,ge=A.arrow?.centerOffset!==0,[we,xe]=Y();return bt(()=>{g&&xe(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:E?H.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(Tn,{scope:n,placedSide:L,onArrowChange:y,arrowX:he,arrowY:me,shouldHideArrow:ge,children:j(vt.div,{"data-side":L,"data-align":_,...m,ref:v,style:{...m.style,animation:E?void 0:"none"}})})})});fe.displayName=Ft;var ue="PopperArrow",Mn={top:"bottom",right:"left",bottom:"top",left:"right"},de=at(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=ce,Nn=ae,Hn=fe,Wn=de;export{Nn as A,Hn as C,Fn as R,Wn as a,En as c};
1
+ import{d as Y,q as yt,A as J,b as Pe,y as Wt,T as lt,E as Re,D as at,u as j}from"./register-CmScz6g-.js";import{P as vt}from"./index-hIQ43k5u.js";import{u as zt}from"./index-B0f3n0Lp.js";import{a as Oe}from"./index-BHBIOin0.js";import{u as Ce}from"./index-BY8hUz3A.js";import{u as bt}from"./index-BKaOYXQ1.js";const Se=["top","right","bottom","left"],U=Math.min,F=Math.max,ft=Math.round,ut=Math.floor,B=t=>({x:t,y:t}),Ee={left:"right",right:"left",bottom:"top",top:"bottom"},De={start:"end",end:"start"};function At(t,e,n){return F(t,U(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 Z(t){return["top","bottom"].includes(q(t))?"y":"x"}function Ot(t){return Pt(Z(t))}function Te(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Ot(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=dt(s)),[s,dt(s)]}function Le(t){const e=dt(t);return[Ct(t),e,Ct(e)]}function Ct(t){return t.replace(/start|end/g,e=>De[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(Ct)))),r}function dt(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 _t(t){return typeof t!="number"?ke(t):{top:t,right:t,bottom:t,left:t}}function pt(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 Bt(t,e,n){let{reference:o,floating:i}=t;const r=Z(e),s=Ot(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}=Bt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x:b,y:v,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=b??f,u=v??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}=Bt(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=_t(d),w=c[h?u==="floating"?"reference":"floating":u],g=pt(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})),b=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,v=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),x=await(r.isElement==null?void 0:r.isElement(v))?await(r.getScale==null?void 0:r.getScale(v))||{x:1,y:1}:{x:1,y:1},y=pt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:b,offsetParent:v,strategy:l}):b);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=_t(f),h={x:n,y:o},d=Ot(i),p=Rt(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",b=w?"bottom":"right",v=w?"clientHeight":"clientWidth",x=r.reference[p]+r.reference[d]-h[d]-r.floating[p],y=h[d]-r.reference[d],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let P=R?R[v]:0;(!P||!await(s.isElement==null?void 0:s.isElement(R)))&&(P=c.floating[v]||r.floating[p]);const D=x/2-y/2,k=P/2-m[p]/2-1,T=U(u[g],k),M=U(u[b],k),$=T,C=P-m[p]-M,O=P/2-m[p]/2+D,H=At($,O,C),S=!l.arrow&&Q(i)!=null&&O!==H&&r.reference[p]/2-(O<$?T:M)-m[p]/2<0,E=S?O<$?O-$:O-C:0;return{[d]:h[d]+E,data:{[d]:H,centerOffset:O-H-E,...S&&{alignmentOffset:E}},reset:S}}}),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),b=Z(c),v=q(c)===c,x=await(l.isRTL==null?void 0:l.isRTL(a.floating)),y=h||(v||!m?[dt(c)]:Le(c)),R=p!=="none";!h&&R&&y.push(...$e(c,m,p,x));const P=[c,...y],D=await it(e,w),k=[];let T=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&k.push(D[g]),u){const O=Te(i,s,x);k.push(D[O[0]],D[O[1]])}if(T=[...T,{placement:i,overflows:k}],!k.every(O=>O<=0)){var M,$;const O=(((M=r.flip)==null?void 0:M.index)||0)+1,H=P[O];if(H)return{data:{index:O,overflows:T},reset:{placement:H}};let S=($=T.filter(E=>E.overflows[0]<=0).sort((E,A)=>E.overflows[1]-A.overflows[1])[0])==null?void 0:$.placement;if(!S)switch(d){case"bestFit":{var C;const E=(C=T.filter(A=>{if(R){const L=Z(A.placement);return L===b||L==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(L=>L>0).reduce((L,_)=>L+_,0)]).sort((A,L)=>A[1]-L[1])[0])==null?void 0:C[0];E&&(S=E);break}case"initialPlacement":S=c;break}if(i!==S)return{reset:{placement:S}}}return{}}}};function Vt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function It(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=Vt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:It(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=Vt(r,n.floating);return{data:{escapedOffsets:s,escaped:It(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=Z(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:b}=w;return{x:g,y:b}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=Z(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",b=d+f[w],v=d-f[g];d=At(b,d,v)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",b=p+f[w],v=p-f[g];p=At(b,p,v)}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=Z(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 v=h==="y"?"height":"width",x=r.reference[h]-r.floating[v]+w.mainAxis,y=r.reference[h]+r.reference[v]-w.mainAxis;d<x?d=x:d>y&&(d=y)}if(a){var g,b;const v=h==="y"?"width":"height",x=["top","left"].includes(q(i)),y=r.reference[u]-r.floating[v]+(x&&((g=s.offset)==null?void 0:g[u])||0)+(x?0:w.crossAxis),R=r.reference[u]+r.reference[v]+(x?0:((b=s.offset)==null?void 0:b[u])||0)-(x?w.crossAxis:0);p<y?p=y:p>R&&(p=R)}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=Z(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 b=m-f.top-f.bottom,v=p-f.left-f.right,x=U(m-f[w],b),y=U(p-f[g],v),R=!e.middlewareData.shift;let P=x,D=y;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(D=v),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(P=b),R&&!h){const T=F(f.left,0),M=F(f.right,0),$=F(f.top,0),C=F(f.bottom,0);d?D=p-2*(T!==0||M!==0?T+M:F(f.left,f.right)):P=m-2*($!==0||C!==0?$+C:F(f.top,f.bottom))}await l({...e,availableWidth:D,availableHeight:P});const k=await s.getDimensions(c.floating);return p!==k.width||m!==k.height?{reset:{rects:!0}}:{}}}};function ht(){return typeof window<"u"}function tt(t){return Yt(t)?(t.nodeName||"").toLowerCase():"#document"}function N(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Yt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Yt(t){return ht()?t instanceof Node||t instanceof N(t).Node:!1}function W(t){return ht()?t instanceof Element||t instanceof N(t).Element:!1}function I(t){return ht()?t instanceof HTMLElement||t instanceof N(t).HTMLElement:!1}function jt(t){return!ht()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof N(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=z(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 mt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function St(t){const e=Et(),n=W(t)?z(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(St(e))return e;if(mt(e))return null;e=K(e)}return null}function Et(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function z(t){return N(t).getComputedStyle(t)}function gt(t){return W(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||jt(t)&&t.host||V(t);return jt(e)?e.host:e}function Xt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Xt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Xt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=N(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 qt(t){const e=z(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=ft(n)!==r||ft(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Tt(t){return W(t)?t:t.contextElement}function nt(t){const e=Tt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=qt(e);let s=(r?ft(n.width):n.width)/o,c=(r?ft(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 Ut(t){const e=N(t);return!Et()||!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!==N(t)?!1:e}function G(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Tt(t);let s=B(1);e&&(o?W(o)&&(s=nt(o)):s=nt(t));const c=qe(r,n,o)?Ut(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=N(r),d=o&&W(o)?N(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),b=z(m),v=g.left+(m.clientLeft+parseFloat(b.paddingLeft))*w.x,x=g.top+(m.clientTop+parseFloat(b.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=v,a+=x,p=N(m),m=Dt(p)}}return pt({width:f,height:u,x:l,y:a})}function Lt(t,e){const n=gt(t).scrollLeft;return e?e.left+n:G(V(t)).left+n}function Zt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Lt(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?mt(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=gt(o)),I(o))){const d=G(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Zt(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=gt(t),o=t.ownerDocument.body,i=F(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=F(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Lt(t);const c=-n.scrollTop;return z(o).direction==="rtl"&&(s+=F(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ge(t,e){const n=N(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=Et();(!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=G(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 Kt(t,e,n){let o;if(e==="viewport")o=Ge(t,n);else if(e==="document")o=Ke(V(t));else if(W(e))o=Je(e,n);else{const i=Ut(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return pt(o)}function Gt(t,e){const n=K(t);return n===e||!W(n)||et(n)?!1:z(n).position==="fixed"||Gt(n,e)}function Qe(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>W(c)&&tt(c)!=="body"),i=null;const r=z(t).position==="fixed";let s=r?K(t):t;for(;W(s)&&!et(s);){const c=z(s),l=St(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&Gt(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"?mt(e)?[]:Qe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Kt(e,f,i);return a.top=F(u.top,a.top),a.right=U(u.right,a.right),a.bottom=U(u.bottom,a.bottom),a.left=F(u.left,a.left),a},Kt(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}=qt(t);return{width:e,height:n}}function nn(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=G(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=gt(e)),o){const h=G(e,!0,r,e);l.x=h.x+e.clientLeft,l.y=h.y+e.clientTop}else i&&(l.x=Lt(i));const a=i&&!o&&!r?Zt(i,c):B(0),f=s.left+c.scrollLeft-l.x-a.x,u=s.top+c.scrollTop-l.y-a.y;return{x:f,y:u,width:s.width,height:s.height}}function Mt(t){return z(t).position==="static"}function Jt(t,e){if(!I(t)||z(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function Qt(t,e){const n=N(t);if(mt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(W(i)&&!Mt(i))return i;i=K(i)}return n}let o=Jt(t,e);for(;o&&Ye(o)&&Mt(o);)o=Jt(o,e);return o&&et(o)&&Mt(o)&&!St(o)?n:o||je(t)||n}const on=async function(t){const e=this.getOffsetParent||Qt,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 z(t).direction==="rtl"}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:Ue,getDocumentElement:V,getClippingRect:tn,getOffsetParent:Qt,getElementRects:on,getClientRects:Ze,getDimensions:en,getScale:nt,isElement:W,isRTL:rn};function te(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=ut(u),m=ut(i.clientWidth-(f+h)),w=ut(i.clientHeight-(u+d)),g=ut(f),v={rootMargin:-p+"px "+-m+"px "+-w+"px "+-g+"px",threshold:F(0,U(1,l))||1};let x=!0;function y(R){const P=R[0].intersectionRatio;if(P!==l){if(!x)return s();P?s(!1,P):o=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!te(a,t.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(y,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,v)}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=Tt(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[b]=g;b&&b.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=d)==null||v.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,m=l?G(t):null;l&&w();function w(){const g=G(t);m&&!te(m,g)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(b=>{i&&b.removeEventListener("scroll",n),r&&b.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,ee=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 wt=typeof document<"u"?Pe:Wt;function xt(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(!xt(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)&&!xt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function ne(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function oe(t,e){const n=ne(t);return Math.round(e*n)/n}function $t(t){const e=J(t);return wt(()=>{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);xt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),b=yt(A=>{A!==R.current&&(R.current=A,m(A))},[]),v=yt(A=>{A!==P.current&&(P.current=A,g(A))},[]),x=r||p,y=s||w,R=J(null),P=J(null),D=J(f),k=l!=null,T=$t(l),M=$t(i),$=$t(a),C=yt(()=>{if(!R.current||!P.current)return;const A={placement:e,strategy:n,middleware:h};M.current&&(A.platform=M.current),mn(R.current,P.current,A).then(L=>{const _={...L,isPositioned:$.current!==!1};O.current&&!xt(D.current,_)&&(D.current=_,Re(()=>{u(_)}))})},[h,e,n,M,$]);wt(()=>{a===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const O=J(!1);wt(()=>(O.current=!0,()=>{O.current=!1}),[]),wt(()=>{if(x&&(R.current=x),y&&(P.current=y),x&&y){if(T.current)return T.current(x,y,C);C()}},[x,y,C,T,k]);const H=lt(()=>({reference:R,floating:P,setReference:b,setFloating:v}),[b,v]),S=lt(()=>({reference:x,floating:y}),[x,y]),E=lt(()=>{const A={position:n,left:0,top:0};if(!S.floating)return A;const L=oe(S.floating,f.x),_=oe(S.floating,f.y);return c?{...A,transform:"translate("+L+"px, "+_+"px)",...ne(S.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:_}},[n,c,S.floating,f.x,f.y]);return lt(()=>({...f,update:C,refs:H,elements:S,floatingStyles:E}),[f,C,H,S,E])}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?ee({element:o.current,padding:i}).fn(n):{}:o?ee({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]}),Pn=(t,e)=>({...pn(t),options:[t,e]}),Rn=(t,e)=>({...wn(t),options:[t,e]});var On="Arrow",ie=at((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(vt.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"})})});ie.displayName=On;var Cn=ie;function Sn(t){const[e,n]=Y(void 0);return bt(()=>{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 kt="Popper",[re,En]=Oe(kt),[Dn,se]=re(kt),ce=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(Dn,{scope:e,anchor:o,onAnchorChange:i,children:n})};ce.displayName=kt;var le="PopperAnchor",ae=at((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=se(le,n),s=J(null),c=zt(e,s);return Wt(()=>{r.onAnchorChange(o?.current||s.current)}),o?null:j(vt.div,{...i,ref:c})});ae.displayName=le;var Ft="PopperContent",[Tn,Ln]=re(Ft),fe=at((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=se(Ft,n),[g,b]=Y(null),v=zt(e,ot=>b(ot)),[x,y]=Y(null),R=Sn(x),P=R?.width??0,D=R?.height??0,k=o+(r!=="center"?"-"+r:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},M=Array.isArray(a)?a:[a],$=M.length>0,C={padding:T,boundary:M.filter($n),altBoundary:$},{refs:O,floatingStyles:H,placement:S,isPositioned:E,middlewareData:A}=gn({strategy:"fixed",placement:k,whileElementsMounted:(...ot)=>ln(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[xn({mainAxis:i+D,alignmentAxis:s}),l&&yn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?vn():void 0,...C}),l&&bn({...C}),An({...C,apply:({elements:ot,rects:Ht,availableWidth:ye,availableHeight:ve})=>{const{width:be,height:Ae}=Ht.reference,ct=ot.floating.style;ct.setProperty("--radix-popper-available-width",`${ye}px`),ct.setProperty("--radix-popper-available-height",`${ve}px`),ct.setProperty("--radix-popper-anchor-width",`${be}px`),ct.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),x&&Rn({element:x,padding:c}),kn({arrowWidth:P,arrowHeight:D}),h&&Pn({strategy:"referenceHidden",...C})]}),[L,_]=pe(S),Nt=Ce(p);bt(()=>{E&&Nt?.()},[E,Nt]);const he=A.arrow?.x,me=A.arrow?.y,ge=A.arrow?.centerOffset!==0,[we,xe]=Y();return bt(()=>{g&&xe(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:E?H.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(Tn,{scope:n,placedSide:L,onArrowChange:y,arrowX:he,arrowY:me,shouldHideArrow:ge,children:j(vt.div,{"data-side":L,"data-align":_,...m,ref:v,style:{...m.style,animation:E?void 0:"none"}})})})});fe.displayName=Ft;var ue="PopperArrow",Mn={top:"bottom",right:"left",bottom:"top",left:"right"},de=at(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=ce,Nn=ae,Hn=fe,Wn=de;export{Nn as A,Hn as C,Fn as R,Wn as a,En as c};
@@ -0,0 +1 @@
1
+ import{D as p,u,E as c}from"./register-CmScz6g-.js";import{a as l}from"./index-B0f3n0Lp.js";var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],d=v.reduce((t,i)=>{const e=l(`Primitive.${i}`),r=p((o,s)=>{const{asChild:a,...n}=o,m=a?e:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),u(m,{...n,ref:s})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});function f(t,i){t&&c(()=>t.dispatchEvent(i))}export{d as P,f as d};
@@ -1 +1 @@
1
- import{D as H,d as q,A as I,y as L,q as V,u as B}from"./register-DOGxfU8C.js";import{u as j}from"./index-CH7Wpx6L.js";import{P as z}from"./index-yH8w2n3j.js";import{u as k}from"./index-bd2ytSxs.js";var O="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",P={bubbles:!1,cancelable:!0},G="FocusScope",U=H((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:l,...F}=e,[r,T]=q(null),E=k(c),w=k(l),s=I(null),d=j(n,u=>T(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;L(()=>{if(o){let u=function(m){if(f.paused||!r)return;const y=m.target;((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)?s.current=m.target.shadowRoot?m.composedPath()[0]:m.target:v(s.current,{select:!0})},p=function(m){if(f.paused||!r)return;const y=m.relatedTarget;y!==null&&(((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)||v(s.current,{select:!0}))},a=function(m){if((()=>{let h=document.activeElement;for(;h?.shadowRoot;)h=h.shadowRoot.activeElement;return h})()===document.body)for(const h of m)h.removedNodes.length>0&&v(r)};const i=r?.getRootNode()??document;i.addEventListener("focusin",u),i.addEventListener("focusout",p);const R=new MutationObserver(a);return r&&R.observe(r,{childList:!0,subtree:!0}),()=>{i.removeEventListener("focusin",u),i.removeEventListener("focusout",p),R.disconnect()}}},[o,r,f.paused]),L(()=>{if(r){W.add(f);const u=(()=>{let a=document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;return a})();if(!((a,i)=>a.getRootNode()instanceof ShadowRoot?a.getRootNode().host.contains(i):a.contains(i))(r,u)){const a=new CustomEvent(O,P);r.addEventListener(O,E),r.dispatchEvent(a),a.defaultPrevented||(J($(_(r)),{select:!0}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()===u&&v(r))}return()=>{r.removeEventListener(O,E),setTimeout(()=>{const a=new CustomEvent(C,P);r.addEventListener(C,w),r.dispatchEvent(a),a.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(C,w),W.remove(f)},0)}}},[r,E,w,f]);const S=V(u=>{if(!t&&!o||f.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,a=(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})();if(p&&a){const i=u.currentTarget,[R,m]=Q(i);R&&m?!u.shiftKey&&a===m?(u.preventDefault(),t&&v(R,{select:!0})):u.shiftKey&&a===R&&(u.preventDefault(),t&&v(m,{select:!0})):a===i&&u.preventDefault()}},[t,o,f.paused]);return B(z.div,{tabIndex:-1,...F,ref:d,onKeyDown:S})});U.displayName=G;function J(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function Q(e){const n=_(e),t=K(n,e),o=K(n.reverse(),e);return[t,o]}function _(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function K(e,n){for(const t of e)if(!X(t,{upTo:n}))return t}function X(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Y(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&Y(e)&&n&&e.select()}}var W=Z();function Z(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=D(e,n),e.unshift(n)},remove(n){e=D(e,n),e[0]?.resume()}}}function D(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function $(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},b=new WeakMap,g=new WeakMap,A={},M=0,x=function(e){return e&&(e.host||x(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,t))return t;var o=x(t);return o&&((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);A[t]||(A[t]=new WeakMap);var l=A[t],F=[],r=new Set,T=new Set(c),E=function(s){if(!(!s||r.has(s))){if(r.add(s),s.parentNode instanceof ShadowRoot)for(const d of s.parentNode.querySelectorAll("slot"))for(const f of d.assignedElements())r.add(f);E(s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode)}};c.forEach(E);var w=function(s){!s||T.has(s)||Array.prototype.forEach.call(s.children,function(d){if(r.has(d))w(d);else try{var f=d.getAttribute(o),S=f!==null&&f!=="false",u=(b.get(d)||0)+1,p=(l.get(d)||0)+1;b.set(d,u),l.set(d,p),F.push(d),u===1&&S&&g.set(d,!0),p===1&&d.setAttribute(t,"true"),S||d.setAttribute(o,"true")}catch(a){console.error("aria-hidden: cannot operate on ",d,a)}})};return w(n),r.clear(),M++,function(){F.forEach(function(s){var d=b.get(s)-1,f=l.get(s)-1;b.set(s,d),l.set(s,f),d||(g.has(s)||s.removeAttribute(o),g.delete(s)),f||s.removeAttribute(t)}),M--,M||(b=new WeakMap,b=new WeakMap,g=new WeakMap,A={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{U as F,ne as h};
1
+ import{D as H,d as q,A as I,y as L,q as V,u as B}from"./register-CmScz6g-.js";import{u as j}from"./index-B0f3n0Lp.js";import{P as z}from"./index-hIQ43k5u.js";import{u as k}from"./index-BY8hUz3A.js";var O="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",P={bubbles:!1,cancelable:!0},G="FocusScope",U=H((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:c,onUnmountAutoFocus:l,...F}=e,[r,T]=q(null),E=k(c),w=k(l),s=I(null),d=j(n,u=>T(u)),f=I({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;L(()=>{if(o){let u=function(m){if(f.paused||!r)return;const y=m.target;((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)?s.current=m.target.shadowRoot?m.composedPath()[0]:m.target:v(s.current,{select:!0})},p=function(m){if(f.paused||!r)return;const y=m.relatedTarget;y!==null&&(((h,N)=>h.getRootNode()instanceof ShadowRoot?h.getRootNode().host.contains(N):h.contains(N))(r,y)||v(s.current,{select:!0}))},a=function(m){if((()=>{let h=document.activeElement;for(;h?.shadowRoot;)h=h.shadowRoot.activeElement;return h})()===document.body)for(const h of m)h.removedNodes.length>0&&v(r)};const i=r?.getRootNode()??document;i.addEventListener("focusin",u),i.addEventListener("focusout",p);const R=new MutationObserver(a);return r&&R.observe(r,{childList:!0,subtree:!0}),()=>{i.removeEventListener("focusin",u),i.removeEventListener("focusout",p),R.disconnect()}}},[o,r,f.paused]),L(()=>{if(r){W.add(f);const u=(()=>{let a=document.activeElement;for(;a?.shadowRoot;)a=a.shadowRoot.activeElement;return a})();if(!((a,i)=>a.getRootNode()instanceof ShadowRoot?a.getRootNode().host.contains(i):a.contains(i))(r,u)){const a=new CustomEvent(O,P);r.addEventListener(O,E),r.dispatchEvent(a),a.defaultPrevented||(J($(_(r)),{select:!0}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()===u&&v(r))}return()=>{r.removeEventListener(O,E),setTimeout(()=>{const a=new CustomEvent(C,P);r.addEventListener(C,w),r.dispatchEvent(a),a.defaultPrevented||v(u??document.body,{select:!0}),r.removeEventListener(C,w),W.remove(f)},0)}}},[r,E,w,f]);const S=V(u=>{if(!t&&!o||f.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,a=(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})();if(p&&a){const i=u.currentTarget,[R,m]=Q(i);R&&m?!u.shiftKey&&a===m?(u.preventDefault(),t&&v(R,{select:!0})):u.shiftKey&&a===R&&(u.preventDefault(),t&&v(m,{select:!0})):a===i&&u.preventDefault()}},[t,o,f.paused]);return B(z.div,{tabIndex:-1,...F,ref:d,onKeyDown:S})});U.displayName=G;function J(e,{select:n=!1}={}){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(v(o,{select:n}),(()=>{let c=document.activeElement;for(;c?.shadowRoot;)c=c.shadowRoot.activeElement;return c})()!==t)return}function Q(e){const n=_(e),t=K(n,e),o=K(n.reverse(),e);return[t,o]}function _(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const c=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||c?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function K(e,n){for(const t of e)if(!X(t,{upTo:n}))return t}function X(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Y(e){return e instanceof HTMLInputElement&&"select"in e}function v(e,{select:n=!1}={}){if(e&&e.focus){const t=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();e.focus({preventScroll:!0}),e!==t&&Y(e)&&n&&e.select()}}var W=Z();function Z(){let e=[];return{add(n){const t=e[0];n!==t&&t?.pause(),e=D(e,n),e.unshift(n)},remove(n){e=D(e,n),e[0]?.resume()}}}function D(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function $(e){return e.filter(n=>n.tagName!=="A")}var ee=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},b=new WeakMap,g=new WeakMap,A={},M=0,x=function(e){return e&&(e.host||x(e.parentNode))},te=function(e,n){return n.map(function(t){if(((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,t))return t;var o=x(t);return o&&((c,l)=>{for(;l.getRootNode()instanceof ShadowRoot;)l=l.getRootNode().host;return c.contains(l)})(e,o)?o:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})},oe=function(e,n,t,o){var c=te(n,Array.isArray(e)?e:[e]);A[t]||(A[t]=new WeakMap);var l=A[t],F=[],r=new Set,T=new Set(c),E=function(s){if(!(!s||r.has(s))){if(r.add(s),s.parentNode instanceof ShadowRoot)for(const d of s.parentNode.querySelectorAll("slot"))for(const f of d.assignedElements())r.add(f);E(s.parentNode instanceof ShadowRoot?s.parentNode.host:s.parentNode)}};c.forEach(E);var w=function(s){!s||T.has(s)||Array.prototype.forEach.call(s.children,function(d){if(r.has(d))w(d);else try{var f=d.getAttribute(o),S=f!==null&&f!=="false",u=(b.get(d)||0)+1,p=(l.get(d)||0)+1;b.set(d,u),l.set(d,p),F.push(d),u===1&&S&&g.set(d,!0),p===1&&d.setAttribute(t,"true"),S||d.setAttribute(o,"true")}catch(a){console.error("aria-hidden: cannot operate on ",d,a)}})};return w(n),r.clear(),M++,function(){F.forEach(function(s){var d=b.get(s)-1,f=l.get(s)-1;b.set(s,d),l.set(s,f),d||(g.has(s)||s.removeAttribute(o),g.delete(s)),f||s.removeAttribute(t)}),M--,M||(b=new WeakMap,b=new WeakMap,g=new WeakMap,A={})}},ne=function(e,n,t){t===void 0&&(t="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),c=n||ee(e);return c?(o.push.apply(o,Array.from(c.querySelectorAll("[aria-live]"))),oe(o,c,t,"aria-hidden")):function(){return null}};export{U as F,ne as h};