@optiaxiom/web-components 3.0.2 → 3.0.3

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 (417) hide show
  1. package/dist/ActionsContent-DCxwprnn.js +1 -0
  2. package/dist/ActionsRoot-vON5-o7J.js +1 -0
  3. package/dist/{Alert-CTdswDou.js → Alert-Ct6DgPdl.js} +1 -1
  4. package/dist/{AlertDialogAction-CWGLOIcT.js → AlertDialogAction-BOMWHCQ6.js} +1 -1
  5. package/dist/AlertDialogBody-19msOH1E.js +1 -0
  6. package/dist/AlertDialogCancel-BFvwnQuP.js +1 -0
  7. package/dist/AlertDialogContent-C8NqFrIC.js +1 -0
  8. package/dist/AlertDialogContext-CSb7_Mla.js +1 -0
  9. package/dist/AlertDialogFooter-Y7KreF2Y.js +1 -0
  10. package/dist/AlertDialogHeader-dPZXTxM0.js +1 -0
  11. package/dist/AngleMenuButton-BYePyCAD.js +1 -0
  12. package/dist/Avatar-BjcNTeqA.js +1 -0
  13. package/dist/AvatarContext-BJ1utJCA.js +1 -0
  14. package/dist/Backdrop-BMQkVFb1.js +1 -0
  15. package/dist/Badge-Daxu3OcV.js +1 -0
  16. package/dist/Box-BvgpHWh-.js +1 -0
  17. package/dist/Button-lAMu9RuK.js +1 -0
  18. package/dist/ButtonContext-ChBfNfsf.js +1 -0
  19. package/dist/ButtonGroup.css.ts.vanilla-DTAA6K_o-BKtqlYiu.js +1 -0
  20. package/dist/ButtonRoot-DuLWLmE0.js +1 -0
  21. package/dist/Calendar-BpQ-6NLf.js +1 -0
  22. package/dist/CardContext-crHjuYwi.js +1 -0
  23. package/dist/Checkbox-Bu-mzxEc.js +1 -0
  24. package/dist/{Combination-h9o8gpDH.js → Combination-itwSeY7x.js} +1 -1
  25. package/dist/Cover-BYLKpsmK.js +1 -0
  26. package/dist/Cover.css.ts.vanilla-DTkW5cH8-CQcuOQUI.js +1 -0
  27. package/dist/{DataTableAction-BHDs1YuV.js → DataTableAction-D8_PcVlq.js} +1 -1
  28. package/dist/DataTableContext-DmcqbDTQ.js +1 -0
  29. package/dist/{DataTableRowContext-CkRVP2TY.js → DataTableRowContext-C70v-5jc.js} +1 -1
  30. package/dist/DateRangePickerContext-D8YpDHmZ.js +1 -0
  31. package/dist/{Dialog-CpiTO4WV.js → Dialog-DeY9yinx.js} +1 -1
  32. package/dist/{DialogClose-JQKMXP6V.js → DialogClose-ChCBRNEt.js} +1 -1
  33. package/dist/DialogContent-DfmcoanH.js +1 -0
  34. package/dist/DialogContext-DsgN3sF2.js +1 -0
  35. package/dist/DialogHeader-DOVaH8I0.js +1 -0
  36. package/dist/DialogKitContext-u3qJ3yVE.js +1 -0
  37. package/dist/DialogTrigger-DGRFtwYs.js +1 -0
  38. package/dist/{Disclosure-DPdTpuJH.js → Disclosure-C7WcrMk_.js} +1 -1
  39. package/dist/DisclosureContent-zq_na3kd.js +1 -0
  40. package/dist/DisclosureTrigger-Disn4D6r.js +1 -0
  41. package/dist/DropdownMenuContext-ChW4HNHI.js +1 -0
  42. package/dist/DropdownMenuNestedContext-CW8xzkh5.js +1 -0
  43. package/dist/DropdownMenuSubContext-CYC6Z9g8.js +1 -0
  44. package/dist/FieldContext-DPNm68wG.js +1 -0
  45. package/dist/{FieldLabel-DDwJbreY.js → FieldLabel-CwyrjZld.js} +1 -1
  46. package/dist/FilteredSlot-iSoAgHzQ.js +1 -0
  47. package/dist/{FocusBookmarkProvider-BpLV3UwW.js → FocusBookmarkProvider-DAyTzlDV.js} +1 -1
  48. package/dist/FocusBookmarkProviderContext-CkaABDO6.js +1 -0
  49. package/dist/{Group-BXw3BA-z.js → Group-s2CVOZNg.js} +1 -1
  50. package/dist/Heading-4Jnp3FSD.js +1 -0
  51. package/dist/Icon-Jtp2PXGT.js +1 -0
  52. package/dist/{IconOpal-DxboLH-0.js → IconOpal-B7pMmbv2.js} +1 -1
  53. package/dist/{Input-CcoQ8a7a.js → Input-DnlULvDR.js} +1 -1
  54. package/dist/{InputAddon-ClfXq-fA.js → InputAddon-BCVH6tno.js} +1 -1
  55. package/dist/InputContext-BzEw-vDL.js +1 -0
  56. package/dist/InputControl-H5KlIwYL.js +1 -0
  57. package/dist/InputControl.css.ts.vanilla-BOj1r8bs-DEDF7YlK.js +1 -0
  58. package/dist/InputRoot-Cab0ijsw.js +1 -0
  59. package/dist/Link-CVXvlj8x.js +1 -0
  60. package/dist/Listbox-BoG03Y_R.js +1 -0
  61. package/dist/{ListboxCheckboxItem-VCtksH-d.js → ListboxCheckboxItem-CIDUYAvk.js} +1 -1
  62. package/dist/ListboxCheckboxItem-css-ak8N91-V.js +1 -0
  63. package/dist/{ListboxEmpty-CZ8q_3El.js → ListboxEmpty-DCmCoZeW.js} +1 -1
  64. package/dist/ListboxGroupContext-BD3G_lxm.js +1 -0
  65. package/dist/ListboxItem-Dt1OA6ZV.js +1 -0
  66. package/dist/ListboxItemIndicator-BCCN2Z7N.js +1 -0
  67. package/dist/{ListboxItemized-2p_nuJXV.js → ListboxItemized-DO2g4Ezz.js} +1 -1
  68. package/dist/ListboxLabel-CiPBJll5.js +1 -0
  69. package/dist/ListboxRadioItem-Djhi7dGS.js +1 -0
  70. package/dist/ListboxSeparator-ClqBNoXr.js +1 -0
  71. package/dist/ListboxSwitchItem-Crgctpup.js +1 -0
  72. package/dist/{MaterialIcon-CIzSZ4gT.js → MaterialIcon-CGvo31vz.js} +1 -1
  73. package/dist/{Menu-C2cfIe4M.js → Menu-CgUONnuL.js} +1 -1
  74. package/dist/MenuContent-d73udceQ.js +1 -0
  75. package/dist/MenuContext-CtDRMWc_.js +1 -0
  76. package/dist/{MenuTrigger-BwRZnH2m.js → MenuTrigger-DrV_bcKy.js} +1 -1
  77. package/dist/{ModalLayer-CzKv4rXb.js → ModalLayer-D_KjEHaD.js} +1 -1
  78. package/dist/ModalListbox-DRwoEjHp.js +9 -0
  79. package/dist/NavGroupContext-BB9fZXJm.js +1 -0
  80. package/dist/NavItem-C5oOQpe_.js +1 -0
  81. package/dist/{Pagination-OWbC-DKG.js → Pagination-SDoGULVM.js} +1 -1
  82. package/dist/{Paper-BAnn9oeE.js → Paper-CtQ_glVQ.js} +1 -1
  83. package/dist/{Popover-6GMR2y9U.js → Popover-XHqbWu2m.js} +1 -1
  84. package/dist/{PopoverAnchor-Cg_fwWm9.js → PopoverAnchor-CxGdC-G-.js} +1 -1
  85. package/dist/{PopoverContent-Bomzsw2m.js → PopoverContent-BAtdhQmR.js} +1 -1
  86. package/dist/{PopoverTrigger-W5zL8SxQ.js → PopoverTrigger-DUWdkMox.js} +1 -1
  87. package/dist/Portal-BQ8ThYU6.js +1 -0
  88. package/dist/PortalContext-DqGh18a4.js +1 -0
  89. package/dist/RadioGroupContext-mC6u9krI.js +1 -0
  90. package/dist/{Select-CSKASjcu.js → Select-C9ega8yb.js} +1 -1
  91. package/dist/{SelectContent-D-N6Vgj6.js → SelectContent-0bkzfNuW.js} +1 -1
  92. package/dist/SelectContext-BQcCXKes.js +1 -0
  93. package/dist/{SelectTrigger-JoiUMG7c.js → SelectTrigger-BKhncSZh.js} +1 -1
  94. package/dist/Separator-B_bdQH__.js +1 -0
  95. package/dist/SidebarContext-DHr74IBh.js +1 -0
  96. package/dist/Skeleton-XnN_Hw0q.js +1 -0
  97. package/dist/Spinner-DgsFADoI.js +1 -0
  98. package/dist/{SuggestionPopover-CbkDKSB8.js → SuggestionPopover-Cqw1wEre.js} +1 -1
  99. package/dist/Switch-3KVQD-Up.js +1 -0
  100. package/dist/Table-UDxRRLB1.js +1 -0
  101. package/dist/TableAction-C5wnNYta.js +1 -0
  102. package/dist/TableBody-DqeWpxfA.js +1 -0
  103. package/dist/TableCell-BchbVVlR.js +1 -0
  104. package/dist/TableHeader-CVUKFKlu.js +1 -0
  105. package/dist/TableHeaderCell-cOxMNgR6.js +1 -0
  106. package/dist/TableRow-CMvDRzsV.js +1 -0
  107. package/dist/TableRow.css.ts.vanilla-Bw8zZIWn-BIbv6ydx.js +1 -0
  108. package/dist/Text-CKVmZmX4.js +1 -0
  109. package/dist/{ThemeProvider-BfLQ4khe.js → ThemeProvider-CDUjDh-A.js} +1 -1
  110. package/dist/ToastProvider-C1RFANHP.js +1 -0
  111. package/dist/ToggleButton-BXHLDzP4.js +1 -0
  112. package/dist/ToggleInputHiddenInput-CfWKyrvy.js +1 -0
  113. package/dist/{Tooltip-Bs5k-Q2p.js → Tooltip-Cwhtyt8j.js} +1 -1
  114. package/dist/{TooltipContent-BPxQ4uc8.js → TooltipContent-D6U4SJRQ.js} +1 -1
  115. package/dist/TooltipContext-C86W0j-6.js +1 -0
  116. package/dist/TooltipProvider-BFABAPkN.js +1 -0
  117. package/dist/{TooltipRoot-Dszctw-5.js → TooltipRoot-CxStQzWz.js} +1 -1
  118. package/dist/TooltipTrigger-B1WMXE2Y.js +1 -0
  119. package/dist/Transition-BNdtVrZC.js +1 -0
  120. package/dist/{TransitionGroup-BOixJqBe.js → TransitionGroup-zOtN1_lp.js} +1 -1
  121. package/dist/TransitionGroupContext-ovWzfY1E.js +1 -0
  122. package/dist/{VisuallyHidden-Dz2K2wyZ.js → VisuallyHidden-BPQBTcwX.js} +1 -1
  123. package/dist/{calendar_today-DMFJkN6l.js → calendar_today-B5AgPgxv.js} +1 -1
  124. package/dist/{check-CVbDfwxr.js → check-zVGUPMDR.js} +1 -1
  125. package/dist/{chevron_left-DDWXIhHu.js → chevron_left-BnvFra0z.js} +1 -1
  126. package/dist/{chevron_right-Da0IJQDZ.js → chevron_right-aS0sMTGG.js} +1 -1
  127. package/dist/{close-DR5oFUx9.js → close-C2LFersN.js} +1 -1
  128. package/dist/components/Alert.js +1 -1
  129. package/dist/components/AlertDialog.js +1 -1
  130. package/dist/components/AlertDialogAction.js +1 -1
  131. package/dist/components/AlertDialogBody.js +1 -1
  132. package/dist/components/AlertDialogCancel.js +1 -1
  133. package/dist/components/AlertDialogContent.js +1 -1
  134. package/dist/components/AlertDialogFooter.js +1 -1
  135. package/dist/components/AlertDialogHeader.js +1 -1
  136. package/dist/components/AlertDialogTrigger.js +1 -1
  137. package/dist/components/AngleMenuButton.js +1 -1
  138. package/dist/components/AuthProvider.js +1 -1
  139. package/dist/components/Avatar.js +1 -1
  140. package/dist/components/AvatarGroup.js +1 -1
  141. package/dist/components/AxiomProvider.js +1 -1
  142. package/dist/components/Badge.js +1 -1
  143. package/dist/components/Banner.js +1 -1
  144. package/dist/components/Box.js +1 -1
  145. package/dist/components/Breadcrumb.js +1 -1
  146. package/dist/components/Button.js +1 -1
  147. package/dist/components/ButtonGroup.js +1 -1
  148. package/dist/components/Card.js +1 -1
  149. package/dist/components/CardAction.js +1 -1
  150. package/dist/components/CardCheckbox.js +1 -1
  151. package/dist/components/CardFooter.js +1 -1
  152. package/dist/components/CardHeader.js +1 -1
  153. package/dist/components/CardImage.js +1 -1
  154. package/dist/components/CardLink.js +1 -1
  155. package/dist/components/CardPreview.js +1 -1
  156. package/dist/components/Checkbox.js +1 -1
  157. package/dist/components/Code.js +1 -1
  158. package/dist/components/Cover.js +1 -1
  159. package/dist/components/DataTable.js +1 -1
  160. package/dist/components/DataTableAction.js +1 -1
  161. package/dist/components/DataTableBody.js +1 -1
  162. package/dist/components/DataTableCheckbox.js +1 -1
  163. package/dist/components/DataTableFooter.js +1 -1
  164. package/dist/components/DataTableLabel.js +1 -1
  165. package/dist/components/DateInput.js +1 -1
  166. package/dist/components/DateRangePicker.js +1 -1
  167. package/dist/components/DateRangePickerContent.js +1 -1
  168. package/dist/components/DateRangePickerTrigger.js +1 -1
  169. package/dist/components/Dialog.js +1 -1
  170. package/dist/components/DialogBody.js +1 -1
  171. package/dist/components/DialogClose.js +1 -1
  172. package/dist/components/DialogContent.js +1 -1
  173. package/dist/components/DialogFooter.js +1 -1
  174. package/dist/components/DialogForm.js +1 -1
  175. package/dist/components/DialogHeader.js +1 -1
  176. package/dist/components/DialogTrigger.js +1 -1
  177. package/dist/components/Disclosure.js +1 -1
  178. package/dist/components/DisclosureContent.js +1 -1
  179. package/dist/components/DisclosureTrigger.js +1 -1
  180. package/dist/components/DropdownMenu.js +1 -1
  181. package/dist/components/DropdownMenuCheckboxItem.js +1 -1
  182. package/dist/components/DropdownMenuContent.js +1 -1
  183. package/dist/components/DropdownMenuGroup.js +1 -1
  184. package/dist/components/DropdownMenuItem.js +1 -1
  185. package/dist/components/DropdownMenuLabel.js +1 -1
  186. package/dist/components/DropdownMenuSeparator.js +1 -1
  187. package/dist/components/DropdownMenuSub.js +1 -1
  188. package/dist/components/DropdownMenuSubContent.js +1 -1
  189. package/dist/components/DropdownMenuTrigger.js +1 -1
  190. package/dist/components/EllipsisMenuButton.js +1 -1
  191. package/dist/components/Field.js +1 -1
  192. package/dist/components/FieldLabel.js +1 -1
  193. package/dist/components/Flex.js +1 -1
  194. package/dist/components/Grid.js +1 -1
  195. package/dist/components/Group.js +1 -1
  196. package/dist/components/Heading.js +1 -1
  197. package/dist/components/Indicator.js +1 -1
  198. package/dist/components/Input.js +1 -1
  199. package/dist/components/InputAddon.js +1 -1
  200. package/dist/components/InputControl.js +1 -1
  201. package/dist/components/InputRoot.js +1 -1
  202. package/dist/components/Kbd.js +1 -1
  203. package/dist/components/LabelMenuButton.js +1 -1
  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 +1 -1
  238. package/dist/components/Radio.js +1 -1
  239. package/dist/components/RadioGroup.js +1 -1
  240. package/dist/components/RichTextEditor.js +1 -1
  241. package/dist/components/SearchInput.js +1 -1
  242. package/dist/components/SegmentedControl.js +1 -1
  243. package/dist/components/SegmentedControlItem.js +1 -1
  244. package/dist/components/Select.js +1 -1
  245. package/dist/components/SelectContent.js +1 -1
  246. package/dist/components/SelectTrigger.js +1 -1
  247. package/dist/components/Separator.js +1 -1
  248. package/dist/components/Sidebar.js +1 -1
  249. package/dist/components/SidebarToggle.js +1 -1
  250. package/dist/components/Skeleton.js +1 -1
  251. package/dist/components/Spinner.js +1 -1
  252. package/dist/components/SubNav.js +1 -1
  253. package/dist/components/Switch.js +1 -1
  254. package/dist/components/Table.js +1 -1
  255. package/dist/components/TableAction.js +1 -1
  256. package/dist/components/TableBody.js +1 -1
  257. package/dist/components/TableCell.js +1 -1
  258. package/dist/components/TableHeader.js +1 -1
  259. package/dist/components/TableHeaderCell.js +1 -1
  260. package/dist/components/TableRow.js +1 -1
  261. package/dist/components/Tabs.js +1 -1
  262. package/dist/components/TabsContent.js +1 -1
  263. package/dist/components/TabsList.js +1 -1
  264. package/dist/components/TabsTrigger.js +1 -1
  265. package/dist/components/Text.js +1 -1
  266. package/dist/components/Textarea.js +1 -1
  267. package/dist/components/ThemeProvider.js +1 -1
  268. package/dist/components/ToastProvider.js +1 -1
  269. package/dist/components/ToggleButton.js +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-BG5g4_0k.js +1 -0
  278. package/dist/{decorateChildren-BhwGPu5S.js → decorateChildren-CU26YwL-.js} +1 -1
  279. package/dist/{dist-BzgFNArT.js → dist-0bv4LcJ_.js} +1 -1
  280. package/dist/{dist-BXFvyHr3.js → dist-B2G6bl7R.js} +1 -1
  281. package/dist/{dist-COSfohE7.js → dist-B40F20_C.js} +1 -1
  282. package/dist/{dist-kAdSsbFt.js → dist-B6xaGZ0f.js} +1 -1
  283. package/dist/{dist-xpsU5GX1.js → dist-BKNY9mc2.js} +1 -1
  284. package/dist/{dist-8Gl9TxeU.js → dist-BU4NeeoW.js} +1 -1
  285. package/dist/{dist-BCEVT8Sf.js → dist-B_F5J-c4.js} +1 -1
  286. package/dist/{dist-DVohKWeo.js → dist-BcS_6AOE.js} +1 -1
  287. package/dist/{dist-Eqg5KWZS.js → dist-BdijYcA3.js} +1 -1
  288. package/dist/{dist-CBtVIuhQ.js → dist-BiGNspV-.js} +1 -1
  289. package/dist/dist-BqhMqobT.js +1 -0
  290. package/dist/{dist-Dv3SM9iQ.js → dist-CF8ElpDV.js} +1 -1
  291. package/dist/{dist-BdrlRd1x.js → dist-CQpnsh5Z.js} +1 -1
  292. package/dist/dist-CaJ-ZT1r.js +1 -0
  293. package/dist/dist-CbI-HqNc.js +1 -0
  294. package/dist/{dist-3TCErPN9.js → dist-ChACnCPK.js} +1 -1
  295. package/dist/{dist-CDOj7bN0.js → dist-Cj1FYlrq.js} +1 -1
  296. package/dist/dist-D62jNBLT.js +1 -0
  297. package/dist/{dist-C0gS8xNt.js → dist-DElbrzkU.js} +1 -1
  298. package/dist/{dist-CAGCsjTA.js → dist-DG_XOS48.js} +1 -1
  299. package/dist/{dist-DFtnxyis.js → dist-DInCh-Gr.js} +1 -1
  300. package/dist/{dist-CcopXdNr.js → dist-DvlDnNFQ.js} +1 -1
  301. package/dist/{dist-CRtLHXgl.js → dist-PiY2_UH4.js} +1 -1
  302. package/dist/{downshift.esm-BIPNs-SH.js → downshift.esm-JIzQe_ga.js} +1 -1
  303. package/dist/{esm-CmD1-y7K.js → esm-Bt9nzjdk.js} +1 -1
  304. package/dist/fallbackSpan-cXPd7dcL.js +1 -0
  305. package/dist/{keyboard_arrow_down-BtQPLlqb.js → keyboard_arrow_down-CrtWmWio.js} +1 -1
  306. package/dist/layers.css.ts.vanilla-DRoTvdmB-CmYWmWfU.js +1 -0
  307. package/dist/modal-context-DBepWFgq.js +1 -0
  308. package/dist/{more_horiz-DceY8TW7.js → more_horiz-yt23pUx4.js} +1 -1
  309. package/dist/{open_in_new-CKT2ta5v.js → open_in_new-jFcFQlP9.js} +1 -1
  310. package/dist/{register-CcKBKePR.js → register-BwBRWJD3.js} +1 -1
  311. package/dist/{search-DBZbXSoq.js → search-DBgOfwbZ.js} +1 -1
  312. package/dist/{shim-CkK-DhWs.js → shim-Nn5f4pSZ.js} +1 -1
  313. package/dist/useEffectEvent-DclKYaXW.js +1 -0
  314. package/dist/{useFieldLabelTrigger-BBcq1sWi.js → useFieldLabelTrigger-Cpk528Yc.js} +1 -1
  315. package/dist/{useMenuSurface-BigMN9vK.js → useMenuSurface-BGVhp8UL.js} +1 -1
  316. package/dist/{useObserveValue-BuKWrpgx.js → useObserveValue-CWQnpJL-.js} +1 -1
  317. package/dist/{usePopoverScope-BOAdwWX4.js → usePopoverScope-BXyDZ0Zw.js} +1 -1
  318. package/dist/{useResponsiveMatches-BRuUZXf0.js → useResponsiveMatches-xC0StgI4.js} +1 -1
  319. package/dist/{useSuggestions-iYHtNcM6.js → useSuggestions-CfpWe1y8.js} +1 -1
  320. package/dist/{useSurface-C1zFO6Wc.js → useSurface-BDiw1ac1.js} +1 -1
  321. package/dist/{warning-CQvGv8yJ.js → warning-Dbginf0L.js} +1 -1
  322. package/dist/{withIcon-DzMirfio.js → withIcon-DXvAihMP.js} +1 -1
  323. package/package.json +4 -4
  324. package/dist/ActionsContent-B1J4ovHx.js +0 -1
  325. package/dist/ActionsRoot-BT6kSgm4.js +0 -1
  326. package/dist/AlertDialogBody-qdKlARCM.js +0 -1
  327. package/dist/AlertDialogCancel-4jH5wX0r.js +0 -1
  328. package/dist/AlertDialogContent-COPVumTg.js +0 -1
  329. package/dist/AlertDialogContext-DI3RmWeH.js +0 -1
  330. package/dist/AlertDialogFooter-mPYviQeF.js +0 -1
  331. package/dist/AlertDialogHeader-CPdWeL-v.js +0 -1
  332. package/dist/AngleMenuButton-YSEygVIJ.js +0 -1
  333. package/dist/Avatar-DuqNJIZR.js +0 -1
  334. package/dist/AvatarContext-MyP4qVCF.js +0 -1
  335. package/dist/Backdrop-CJdyS2gF.js +0 -1
  336. package/dist/Badge-OE-dkzIq.js +0 -1
  337. package/dist/Box-Bn9SKL4V.js +0 -1
  338. package/dist/Button-CfKIVvxM.js +0 -1
  339. package/dist/ButtonContext-DzBAgKvI.js +0 -1
  340. package/dist/ButtonRoot-B8-MSbST.js +0 -1
  341. package/dist/Calendar-BtaUbfzz.js +0 -1
  342. package/dist/CardContext-NfNuamjs.js +0 -1
  343. package/dist/Checkbox-C-FtqhBf.js +0 -1
  344. package/dist/Cover-VgVVzpR7.js +0 -1
  345. package/dist/Cover.css.ts.vanilla-BfNBx7Wg-Dpo7qLxw.js +0 -1
  346. package/dist/DataTableContext-D5Tu28Ys.js +0 -1
  347. package/dist/DateRangePickerContext-BzArGjNj.js +0 -1
  348. package/dist/DialogBody.css.ts.vanilla-DFDX-xBj-CZD6dLBC.js +0 -1
  349. package/dist/DialogContent-NXBiY5Wb.js +0 -1
  350. package/dist/DialogContext-Dm5Yv4Ta.js +0 -1
  351. package/dist/DialogHeader-B9bXEHyY.js +0 -1
  352. package/dist/DialogKitContext-bUwHho5v.js +0 -1
  353. package/dist/DialogTrigger-BG1NqmVw.js +0 -1
  354. package/dist/DisclosureContent-K_yfDSY3.js +0 -1
  355. package/dist/DisclosureTrigger-Dj2XaV8Y.js +0 -1
  356. package/dist/DropdownMenuContext-CR58fAzW.js +0 -1
  357. package/dist/DropdownMenuNestedContext-DofV-bdA.js +0 -1
  358. package/dist/DropdownMenuSubContext-DBPVaX0b.js +0 -1
  359. package/dist/FieldContext-D_cMZfbh.js +0 -1
  360. package/dist/FilteredSlot-C0mSdhAC.js +0 -1
  361. package/dist/FocusBookmarkProviderContext-Ddpn3qrR.js +0 -1
  362. package/dist/Heading-MTsUT7c1.js +0 -1
  363. package/dist/Icon-DSHAbP7Y.js +0 -1
  364. package/dist/InputContext-BbRnW9lv.js +0 -1
  365. package/dist/InputControl-DPuXQoJy.js +0 -1
  366. package/dist/InputControl.css.ts.vanilla-D3O22wby-CZwwKALn.js +0 -1
  367. package/dist/InputRoot-5crcVCDQ.js +0 -1
  368. package/dist/Link-BSiecZGI.js +0 -1
  369. package/dist/Listbox-DRFTglIO.js +0 -1
  370. package/dist/ListboxCheckboxItem-css-BvuofEBh.js +0 -1
  371. package/dist/ListboxGroupContext-yTDkDV4Z.js +0 -1
  372. package/dist/ListboxItem-Doz86rMo.js +0 -1
  373. package/dist/ListboxItemIndicator-DV6bL75w.js +0 -1
  374. package/dist/ListboxLabel-Dc-wi-GN.js +0 -1
  375. package/dist/ListboxRadioItem-DiRWYykA.js +0 -1
  376. package/dist/ListboxSeparator-adhSN5vp.js +0 -1
  377. package/dist/ListboxSwitchItem-UXQ70H4d.js +0 -1
  378. package/dist/MenuContent-BWk7hQw1.js +0 -1
  379. package/dist/MenuContext-DE9k1335.js +0 -1
  380. package/dist/ModalListbox-BoM1q4Dp.js +0 -9
  381. package/dist/NavGroupContext-BN53gg3j.js +0 -1
  382. package/dist/NavItem-P7nGdNlR.js +0 -1
  383. package/dist/Portal-CZ29CEMU.js +0 -1
  384. package/dist/PortalContext-KTGXcxNd.js +0 -1
  385. package/dist/RadioGroupContext-BX84Sg4u.js +0 -1
  386. package/dist/SelectContext-CidX2hJc.js +0 -1
  387. package/dist/Separator-C9DTcBFv.js +0 -1
  388. package/dist/SidebarContext-CAYtVU3z.js +0 -1
  389. package/dist/Skeleton-BBqHW82O.js +0 -1
  390. package/dist/Spinner-CBbQYngC.js +0 -1
  391. package/dist/Switch-DBFNrfec.js +0 -1
  392. package/dist/Table-1UpFb-h1.js +0 -1
  393. package/dist/TableAction-B_4wVLXP.js +0 -1
  394. package/dist/TableBody-Df4cUSE7.js +0 -1
  395. package/dist/TableCell-McMexrs1.js +0 -1
  396. package/dist/TableHeader-CCPhsDAR.js +0 -1
  397. package/dist/TableHeaderCell-CJIgeI0T.js +0 -1
  398. package/dist/TableRow-KatHHW7n.js +0 -1
  399. package/dist/TableRow.css.ts.vanilla-BfijQLNf-DW0FuIsS.js +0 -1
  400. package/dist/Text-BQy7V3rg.js +0 -1
  401. package/dist/ToastProvider-oAZ0sPqB.js +0 -1
  402. package/dist/ToggleButton-BFQkjInF.js +0 -1
  403. package/dist/ToggleInputHiddenInput-B5bcDl4K.js +0 -1
  404. package/dist/TooltipContext-BgsfNDdA.js +0 -1
  405. package/dist/TooltipProvider-DVkw4sZQ.js +0 -1
  406. package/dist/TooltipTrigger-CJJs0Hg5.js +0 -1
  407. package/dist/Transition-BbpPjzej.js +0 -1
  408. package/dist/TransitionGroupContext-CVVb4RNw.js +0 -1
  409. package/dist/context-D0HFIYJ_.js +0 -1
  410. package/dist/dist-BFTycqjJ.js +0 -1
  411. package/dist/dist-BVRPdw5X.js +0 -1
  412. package/dist/dist-BpmQi_8p.js +0 -1
  413. package/dist/dist-Drux-m2s.js +0 -1
  414. package/dist/fallbackSpan-DeAzFY6H.js +0 -1
  415. package/dist/layers.css.ts.vanilla-Bns6EnEc-C8fCso9K.js +0 -1
  416. package/dist/modal-context-CU0CnG0z.js +0 -1
  417. package/dist/useEffectEvent-DVVhOB2y.js +0 -1
@@ -1 +1 @@
1
- import{S as e,_ as t,c as n,d as r,g as i,p as a,v as o,w as s}from"./register-CcKBKePR.js";import{t as c}from"./useEffectEvent-DVVhOB2y.js";r();function l(e,t=()=>-1){let[n,r]=o(-1),i=c(t);return s(()=>{e?e&&r(i):r(-1)},[e]),[n===-1?t():n,r]}function u(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}const f=e=>typeof e==`object`&&!!e&&e.nodeType===1,p=(e,t)=>(!t||e!==`hidden`)&&e!==`visible`&&e!==`clip`,m=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return p(n.overflowY,t)||p(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch{return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},h=(e,t,n,r,i,a,o,s)=>a<e&&o>t||a>e&&o<t?0:a<=e&&s<=n||o>=t&&s>=n?a-e-r:o>t&&s<n||a<e&&s>n?o-t+i:0,g=e=>e.parentElement??(e.getRootNode().host||null),_=(e,t)=>{if(typeof document>`u`)return[];let{scrollMode:n,block:r,inline:i,boundary:a,skipOverflowHiddenElements:o}=t,s=typeof a==`function`?a:e=>e!==a;if(!f(e))throw TypeError(`Invalid target`);let c=document.scrollingElement||document.documentElement,l=[],u=e;for(;f(u)&&s(u);){if(u=g(u),u===c){l.push(u);break}u!=null&&u===document.body&&m(u)&&!m(document.documentElement)||u!=null&&m(u,o)&&l.push(u)}let d=window.visualViewport?.width??innerWidth,p=window.visualViewport?.height??innerHeight,{scrollX:_,scrollY:v}=window,{height:y,width:b,top:x,right:S,bottom:C,left:w}=e.getBoundingClientRect(),{top:T,right:E,bottom:D,left:O}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),k=r===`start`||r===`nearest`?x-T:r===`end`?C+D:x+y/2-T+D,A=i===`center`?w+b/2-O+E:i===`end`?S+E:w-O,j=[];for(let e=0;e<l.length;e++){let t=l[e],{height:a,width:o,top:s,right:u,bottom:f,left:g}=t.getBoundingClientRect();if(n===`if-needed`&&x>=0&&w>=0&&C<=p&&S<=d&&(t===c&&!m(t)||x>=s&&C<=f&&w>=g&&S<=u))return j;let T=getComputedStyle(t),E=parseInt(T.borderLeftWidth,10),D=parseInt(T.borderTopWidth,10),O=parseInt(T.borderRightWidth,10),M=parseInt(T.borderBottomWidth,10),N=0,P=0,F=`offsetWidth`in t?t.offsetWidth-t.clientWidth-E-O:0,I=`offsetHeight`in t?t.offsetHeight-t.clientHeight-D-M:0,L=`offsetWidth`in t?t.offsetWidth===0?0:o/t.offsetWidth:0,R=`offsetHeight`in t?t.offsetHeight===0?0:a/t.offsetHeight:0;if(c===t)N=r===`start`?k:r===`end`?k-p:r===`nearest`?h(v,v+p,p,D,M,v+k,v+k+y,y):k-p/2,P=i===`start`?A:i===`center`?A-d/2:i===`end`?A-d:h(_,_+d,d,E,O,_+A,_+A+b,b),N=Math.max(0,N+v),P=Math.max(0,P+_);else{N=r===`start`?k-s-D:r===`end`?k-f+M+I:r===`nearest`?h(s,f,a,D,M+I,k,k+y,y):k-(s+a/2)+I/2,P=i===`start`?A-g-E:i===`center`?A-(g+o/2)+F/2:i===`end`?A-u+O+F:h(g,u,o,E,O+F,A,A+b,b);let{scrollLeft:e,scrollTop:n}=t;N=R===0?0:Math.max(0,Math.min(n+N/R,t.scrollHeight-a/R+I)),P=L===0?0:Math.max(0,Math.min(e+P/L,t.scrollWidth-o/L+F)),k+=n-N,A+=e-P}j.push({el:t,top:N,left:P})}return j};r();var v=0;function y(){return String(v++)}function b(e){var t=a(e);return t.current=e,t}function x(){var e=[...arguments];return function(t){e.forEach(function(e){typeof e==`function`?e(t):e&&(e.current=t)})}}function S(){var e=[...arguments];return function(t){var n=[...arguments].slice(1);return e.some(function(e){return e&&e.apply(void 0,[t].concat(n)),t.preventDownshiftDefault||t.hasOwnProperty(`nativeEvent`)&&t.nativeEvent.preventDownshiftDefault})}}function C(e,t){var n;function r(){n&&clearTimeout(n)}function i(){var i=[...arguments];r(),n=setTimeout(function(){n=null,e.apply(void 0,i)},t)}return i.cancel=r,i}var w=C(function(e){T(e).textContent=``},500);function T(e){var t=e.getElementById(`a11y-status-message`);return t||(t=e.createElement(`div`),t.setAttribute(`id`,`a11y-status-message`),t.setAttribute(`role`,`status`),t.setAttribute(`aria-live`,`polite`),t.setAttribute(`aria-relevant`,`additions text`),Object.assign(t.style,{border:`0`,clip:`rect(0 0 0 0)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:`0`,position:`absolute`,width:`1px`}),e.body.appendChild(t),t)}function E(e,t){if(!(!e||!t)){var n=T(t);n.textContent=e,w(t)}}function D(e){var t=e?.getElementById(`a11y-status-message`);t&&t.remove()}function O(){}var k=O;function A(e,t){return t?Object.keys(e).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},d({},e)):e}function j(e,t){e&&_(e,{boundary:t,block:`nearest`,scrollMode:`if-needed`}).forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r})}function M(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function N(e,t){var n;function r(){n&&clearTimeout(n)}function i(){var i=[...arguments];r(),n=setTimeout(function(){n=null,e.apply(void 0,i)},t)}return i.cancel=r,i}function P(){var e=[...arguments];return function(t){var n=[...arguments].slice(1);return e.some(function(e){return e&&e.apply(void 0,[t].concat(n)),t.preventDownshiftDefault||t.hasOwnProperty(`nativeEvent`)&&t.nativeEvent.preventDownshiftDefault})}}function F(){var e=[...arguments];return function(t){e.forEach(function(e){typeof e==`function`?e(t):e&&(e.current=t)})}}function I(e,t){return e[t]!==void 0}function L(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&t.indexOf(`Arrow`)!==0?`Arrow`+t:t}function R(e,t,n,r,i){i===void 0&&(i=!1);var a=n.length;if(a===0)return-1;var o=a-1;(typeof e!=`number`||e<0||e>o)&&(e=t>0?-1:o+1);var s=e+t;s<0?s=i?o:0:s>o&&(s=i?0:o);var c=z(s,t<0,n,r,i);return c===-1?e>=a?-1:e:c}function z(e,t,n,r,i){i===void 0&&(i=!1);var a=n.length;if(t){for(var o=e;o>=0;o--)if(!r(n[o],o))return o}else for(var s=e;s<a;s++)if(!r(n[s],s))return s;return i?z(t?a-1:0,t,n,r):-1}function B(e,t,n,r){return r===void 0&&(r=!0),n&&t.some(function(t){return t&&(M(t,e,n)||r&&M(t,(()=>{let e=n.document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})(),n))})}var ee=d({});function V(e,t,n){var r=e[`default`+capitalizeString(t)];return r===void 0?n[t]:r}function H(e,t,n){var r=e[t];if(r!==void 0)return r;var i=e[`initial`+capitalizeString(t)];return i===void 0?V(e,t,n):i}var U=C(function(e,t){E(e,t)},200);function te(e,t,n,r){var i=r?.document,a=useIsInitialMount();s(function(){!e||a||!i||U(e(t),i)},n),s(function(){return function(){U.cancel(),D(i)}},[i])}var ee=d({}),W={itemToString:function(e){return e?String(e):``},itemToKey:function(e){return e},stateReducer,scrollIntoView:j,environment:typeof window>`u`?void 0:window},G={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:``},ne=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0?t:s;function re(e){return/^\S{1}$/.test(e)}function ie(e){var t=H(e,`selectedItem`,G),n=H(e,`isOpen`,G),r=ue(e),i=H(e,`inputValue`,G);return{highlightedIndex:r<0&&t&&n?e.items.findIndex(function(n){return e.itemToKey(n)===e.itemToKey(t)}):r,isOpen:n,selectedItem:t,inputValue:i}}function K(e,t,n){var r=e.items,i=e.initialHighlightedIndex,a=e.defaultHighlightedIndex,o=e.isItemDisabled,s=e.itemToKey,c=t.selectedItem,l=t.highlightedIndex;return r.length===0?-1:i!==void 0&&l===i&&!o(r[i],i)?i:a!==void 0&&!o(r[a],a)?a:c?r.findIndex(function(e){return s(c)===s(e)}):n<0&&!o(r[r.length-1],r.length-1)?r.length-1:n>0&&!o(r[0],0)?0:-1}function ae(t,n,r){var i=a({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1}),o=e(function(){return r.map(function(e){return e.current})},[r]);return s(function(){if(!t)return O;function e(){i.current.isTouchEnd=!1,i.current.isMouseDown=!0}function r(e){i.current.isMouseDown=!1,B(e.target,o(),t)||n()}function a(){i.current.isTouchEnd=!1,i.current.isTouchMove=!1}function s(){i.current.isTouchMove=!0}function c(e){i.current.isTouchEnd=!0,!i.current.isTouchMove&&!B(e.target,o(),t,!1)&&n()}return t.addEventListener(`mousedown`,e),t.addEventListener(`mouseup`,r),t.addEventListener(`touchstart`,a),t.addEventListener(`touchmove`,s),t.addEventListener(`touchend`,c),function(){t.removeEventListener(`mousedown`,e),t.removeEventListener(`mouseup`,r),t.removeEventListener(`touchstart`,a),t.removeEventListener(`touchmove`,s),t.removeEventListener(`touchend`,c)}},[t,o,n]),i.current}var oe=function(){return O};function se(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,o=e.menuElement,s=e.scrollIntoView,c=a(!0);return ne(function(){t<0||!n||!Object.keys(r.current).length||(c.current===!1?c.current=!0:s(i(t),o))},[t]),c}var ce=O;function q(e,t,n){return n===void 0&&(n=!0),d({isOpen:!1,highlightedIndex:-1},e.items?.length&&t>=0&&d({selectedItem:e.items[t],isOpen:V(e,`isOpen`,G),highlightedIndex:V(e,`highlightedIndex`,G)},n&&{inputValue:e.itemToString(e.items[t])}))}function le(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function J(e){var t=V(e,`highlightedIndex`,G);return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}function ue(e){var t=H(e,`highlightedIndex`,G);return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}function de(e,t,n,r){var i=n.type,a;switch(i){case r.ItemMouseMove:a={highlightedIndex:n.disabled?-1:n.index};break;case r.MenuMouseLeave:a={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:a={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:K(t,e,0)};break;case r.FunctionOpenMenu:a={isOpen:!0,highlightedIndex:K(t,e,0)};break;case r.FunctionCloseMenu:a={isOpen:!1};break;case r.FunctionSetHighlightedIndex:a={highlightedIndex:t.isItemDisabled(t.items[n.highlightedIndex],n.highlightedIndex)?-1:n.highlightedIndex};break;case r.FunctionSetInputValue:a={inputValue:n.inputValue};break;case r.FunctionReset:a={highlightedIndex:J(t),isOpen:V(t,`isOpen`,G),selectedItem:V(t,`selectedItem`,G),inputValue:V(t,`inputValue`,G)};break;default:throw Error(`Reducer called without proper action type.`)}return d({},e,a)}var ee=d({}),fe=d({},W,{isItemDisabled:function(){return!1}});function pe(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,a=e.isItemDisabled,o=t.toLowerCase(),s=0;s<r.length;s++){var c=(s+n+ +(t.length<2))%r.length,l=r[c];if(l!==void 0&&i(l).toLowerCase().startsWith(o)&&!a(l,c))return c}return n}var Y=0,me=1,he=2,X=3,ge=4,_e=5,ve=6,ye=7,be=8,xe=9,Se=10,Z=11,Ce=12,we=13,Te=14,Ee=15,De=16,Oe=17,ke=18,Ae=19,je=20,Me=21,Ne=Object.freeze({__proto__:null,FunctionCloseMenu:Oe,FunctionOpenMenu:De,FunctionReset:Me,FunctionSelectItem:Ae,FunctionSetHighlightedIndex:ke,FunctionSetInputValue:je,FunctionToggleMenu:Ee,ItemClick:Te,ItemMouseMove:we,MenuMouseLeave:Ce,ToggleButtonBlur:Z,ToggleButtonClick:Y,ToggleButtonKeyDownArrowDown:me,ToggleButtonKeyDownArrowUp:he,ToggleButtonKeyDownCharacter:X,ToggleButtonKeyDownEnd:ve,ToggleButtonKeyDownEnter:ye,ToggleButtonKeyDownEscape:ge,ToggleButtonKeyDownHome:_e,ToggleButtonKeyDownPageDown:Se,ToggleButtonKeyDownPageUp:xe,ToggleButtonKeyDownSpaceButton:be});function Pe(e,t,n){var r=n.type,i=n.altKey,a;switch(r){case Te:a={isOpen:V(t,`isOpen`,G),highlightedIndex:J(t),selectedItem:t.items[n.index]};break;case X:var o=n.key,s=``+e.inputValue+o;a={inputValue:s,highlightedIndex:pe({keysSoFar:s,highlightedIndex:!e.isOpen&&e.selectedItem?t.items.findIndex(function(n){return t.itemToKey(n)===t.itemToKey(e.selectedItem)}):e.highlightedIndex,items:t.items,itemToString:t.itemToString,isItemDisabled:t.isItemDisabled}),isOpen:!0};break;case me:a={highlightedIndex:e.isOpen?R(e.highlightedIndex,1,t.items,t.isItemDisabled):i&&e.selectedItem==null?-1:K(t,e,1),isOpen:!0};break;case he:a=e.isOpen&&i?q(t,e.highlightedIndex,!1):{highlightedIndex:e.isOpen?R(e.highlightedIndex,-1,t.items,t.isItemDisabled):K(t,e,-1),isOpen:!0};break;case ye:case be:a=q(t,e.highlightedIndex,!1);break;case _e:a={highlightedIndex:z(0,!1,t.items,t.isItemDisabled),isOpen:!0};break;case ve:a={highlightedIndex:z(t.items.length-1,!0,t.items,t.isItemDisabled),isOpen:!0};break;case xe:a={highlightedIndex:R(e.highlightedIndex,-10,t.items,t.isItemDisabled)};break;case Se:a={highlightedIndex:R(e.highlightedIndex,10,t.items,t.isItemDisabled)};break;case ge:a={isOpen:!1,highlightedIndex:-1};break;case Z:a=d({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&t.items?.length&&{selectedItem:t.items[e.highlightedIndex]});break;case Ae:a={selectedItem:n.selectedItem};break;default:return de(e,t,n,Ne)}return d({},e,a)}var Fe=d({},n).useId,Ie=typeof Fe==`function`?Le:Re;function Le(e){var t=e.id,n=e.labelId,r=e.menuId,a=e.getItemId,o=e.toggleButtonId,s=e.inputId,c=`downshift-`+Fe();return t||=c,i(function(){return{labelId:n??t+`-label`,menuId:r??t+`-menu`,getItemId:a??function(e){return t+`-item-`+e},toggleButtonId:o??t+`-toggle-button`,inputId:s??t+`-input`}},[a,t,s,n,r,o])}function Re(e){var t=e.id,n=e.labelId,r=e.menuId,o=e.getItemId,s=e.toggleButtonId,c=e.inputId,l=a(t??`downshift-`+y()).current;return i(function(){return{labelId:n??l+`-label`,menuId:r??l+`-menu`,getItemId:o??function(e){return l+`-item-`+e},toggleButtonId:s??l+`-toggle-button`,inputId:c??l+`-input`}},[o,c,n,r,s,l])}var ze=[`onClick`],Be=[`onMouseLeave`,`refKey`,`ref`],Ve=[`onBlur`,`onClick`,`onPress`,`onKeyDown`,`refKey`,`ref`],He=[`item`,`index`,`onMouseMove`,`onClick`,`onMouseDown`,`onPress`,`refKey`,`disabled`,`ref`];Ue.stateChangeTypes=Ne;function Ue(t){t===void 0&&(t={}),k(t,Ue,propTypes$3);var n=d({},fe,t),r=n.scrollIntoView,o=n.environment,c=n.getA11yStatusMessage,l=useControlledReducer$1(Pe,n,ie,le),f=l[0],p=l[1],m=f.isOpen,h=f.highlightedIndex,g=f.selectedItem,_=f.inputValue,v=a(null),y=a(null),x=a({}),S=a(null),C=Ie(n),w=b({state:f,props:n}),T=e(function(e){return x.current[C.getItemId(e)]},[C]);te(c,f,[m,h,g,_],o);var E=se({menuElement:y.current,highlightedIndex:h,isOpen:m,itemRefs:x,scrollIntoView:r,getItemNodeFromIndex:T});s(function(){return S.current=N(function(e){e({type:je,inputValue:``})},500),function(){S.current.cancel()}},[]),s(function(){_&&S.current(p)},[p,_]),ce({props:n,state:f}),s(function(){H(n,`isOpen`,G)&&v.current&&v.current.focus()},[]);var D=ae(o,e(function(){w.current.state.isOpen&&p({type:Z})},[p,w]),i(function(){return[y,v]},[])),O=oe(`getMenuProps`,`getToggleButtonProps`);s(function(){m||(x.current={})},[m]);var A=i(function(){return{ArrowDown:function(e){e.preventDefault(),p({type:me,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),p({type:he,altKey:e.altKey})},Home:function(e){e.preventDefault(),p({type:_e})},End:function(e){e.preventDefault(),p({type:ve})},Escape:function(){w.current.state.isOpen&&p({type:ge})},Enter:function(e){e.preventDefault(),p({type:w.current.state.isOpen?ye:Y})},PageUp:function(e){w.current.state.isOpen&&(e.preventDefault(),p({type:xe}))},PageDown:function(e){w.current.state.isOpen&&(e.preventDefault(),p({type:Se}))}," ":function(e){e.preventDefault();var t=w.current.state;if(!t.isOpen){p({type:Y});return}t.inputValue?p({type:X,key:` `}):p({type:be})}}},[p,w]),j=e(function(){p({type:Ee})},[p]),M=e(function(){p({type:Oe})},[p]),I=e(function(){p({type:De})},[p]),R=e(function(e){p({type:ke,highlightedIndex:e})},[p]),z=e(function(e){p({type:Ae,selectedItem:e})},[p]),B=e(function(){p({type:Me})},[p]),ee=e(function(e){p({type:je,inputValue:e})},[p]),V=e(function(e){var t=e===void 0?{}:e,n=t.onClick,r=u(t,ze);return d({id:C.labelId,htmlFor:C.toggleButtonId,onClick:P(n,function(){var e;(e=v.current)==null||e.focus()})},r)},[C]),U=e(function(e,t){var n,r=e===void 0?{}:e,i=r.onMouseLeave,a=r.refKey,o=a===void 0?`ref`:a,s=r.ref,c=u(r,Be),l=(t===void 0?{}:t).suppressRefError;return O(`getMenuProps`,l===void 0?!1:l,o,y),d((n={},n[o]=F(s,function(e){y.current=e}),n.id=C.menuId,n.role=`listbox`,n[`aria-labelledby`]=c&&c[`aria-label`]?void 0:``+C.labelId,n.onMouseLeave=P(i,function(){p({type:Ce})}),n),c)},[p,O,C]);return{getToggleButtonProps:e(function(e,t){var n,r=e===void 0?{}:e,i=r.onBlur,a=r.onClick;r.onPress;var o=r.onKeyDown,s=r.refKey,c=s===void 0?`ref`:s,l=r.ref,f=u(r,Ve),m=(t===void 0?{}:t).suppressRefError,h=m===void 0?!1:m,g=w.current.state,_=function(){p({type:Y})},y=function(){g.isOpen&&!D.isMouseDown&&p({type:Z})},b=function(e){var t=L(e);t&&A[t]?A[t](e):re(t)&&p({type:X,key:t})},x=d((n={},n[c]=F(l,function(e){v.current=e}),n[`aria-activedescendant`]=g.isOpen&&g.highlightedIndex>-1?C.getItemId(g.highlightedIndex):``,n[`aria-controls`]=C.menuId,n[`aria-expanded`]=w.current.state.isOpen,n[`aria-haspopup`]=`listbox`,n[`aria-labelledby`]=f&&f[`aria-label`]?void 0:``+C.labelId,n.id=C.toggleButtonId,n.role=`combobox`,n.tabIndex=0,n.onBlur=P(i,y),n),f);return f.disabled||(x.onClick=P(a,_),x.onKeyDown=P(o,b)),O(`getToggleButtonProps`,h,c,v),x},[p,C,w,D,O,A]),getLabelProps:V,getMenuProps:U,getItemProps:e(function(e){var t,n=e===void 0?{}:e,r=n.item,i=n.index,a=n.onMouseMove,o=n.onClick,s=n.onMouseDown;n.onPress;var c=n.refKey,l=c===void 0?`ref`:c,f=n.disabled,m=n.ref,h=u(n,He);f!==void 0&&console.warn(`Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.`);var g=w.current,_=g.state,v=g.props,y=getItemAndIndex(r,i,v.items,`Pass either item or index to getItemProps!`),b=y[0],S=y[1],T=v.isItemDisabled(b,S),O=function(){D.isTouchEnd||S===_.highlightedIndex||(E.current=!1,p({type:we,index:S,disabled:T}))},k=function(){p({type:Te,index:S})},A=function(e){return e.preventDefault()},j=d((t={},t[l]=F(m,function(e){e&&(x.current[C.getItemId(S)]=e)}),t[`aria-disabled`]=T,t[`aria-selected`]=b===_.selectedItem,t.id=C.getItemId(S),t.role=`option`,t),h);return T||(j.onClick=P(o,k)),j.onMouseMove=P(a,O),j.onMouseDown=P(s,A),j},[w,C,D,E,p]),toggleMenu:j,openMenu:I,closeMenu:M,setHighlightedIndex:R,selectItem:z,reset:B,setInputValue:ee,highlightedIndex:h,isOpen:m,selectedItem:g,inputValue:_}}var Q=0,We=1,Ge=2,Ke=3,qe=4,Je=5,Ye=6,Xe=7,Ze=8,$=9,Qe=10,$e=11,et=12,tt=13,nt=14,rt=15,it=16,at=17,ot=18,st=19,ct=20,lt=21,ut=22,dt=Object.freeze({__proto__:null,ControlledPropUpdatedSelectedItem:ut,FunctionCloseMenu:at,FunctionOpenMenu:it,FunctionReset:lt,FunctionSelectItem:st,FunctionSetHighlightedIndex:ot,FunctionSetInputValue:ct,FunctionToggleMenu:rt,InputBlur:$,InputChange:Ze,InputClick:Qe,InputKeyDownArrowDown:Q,InputKeyDownArrowUp:We,InputKeyDownEnd:qe,InputKeyDownEnter:Xe,InputKeyDownEscape:Ge,InputKeyDownHome:Ke,InputKeyDownPageDown:Ye,InputKeyDownPageUp:Je,ItemClick:tt,ItemMouseMove:et,MenuMouseLeave:$e,ToggleButtonClick:nt});function ft(e){var t=ie(e),n=t.selectedItem,r=t.inputValue;return r===``&&n&&e.defaultInputValue===void 0&&e.initialInputValue===void 0&&e.inputValue===void 0&&(r=e.itemToString(n)),d({},t,{inputValue:r})}var ee=d({});function pt(e,t,n,r){var i=a(),o=useEnhancedReducer(e,t,n,r),c=o[0],l=o[1],u=useIsInitialMount();return s(function(){I(t,`selectedItem`)&&(u||t.itemToKey(t.selectedItem)!==t.itemToKey(i.current)&&l({type:ut,inputValue:t.itemToString(t.selectedItem)}),i.current=c.selectedItem===i.current?t.selectedItem:c.selectedItem)},[c.selectedItem,t.selectedItem]),[A(c,t),l]}var mt=d({},W,{isItemDisabled:function(){return!1}});function ht(e,t,n){var r=n.type,i=n.altKey,a;switch(r){case tt:a={isOpen:V(t,`isOpen`,G),highlightedIndex:J(t),selectedItem:t.items[n.index],inputValue:t.itemToString(t.items[n.index])};break;case Q:a=e.isOpen?{highlightedIndex:R(e.highlightedIndex,1,t.items,t.isItemDisabled,!0)}:{highlightedIndex:i&&e.selectedItem==null?-1:K(t,e,1),isOpen:t.items.length>=0};break;case We:a=e.isOpen?i?q(t,e.highlightedIndex):{highlightedIndex:R(e.highlightedIndex,-1,t.items,t.isItemDisabled,!0)}:{highlightedIndex:K(t,e,-1),isOpen:t.items.length>=0};break;case Xe:a=q(t,e.highlightedIndex);break;case Ge:a=d({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:``});break;case Je:a={highlightedIndex:R(e.highlightedIndex,-10,t.items,t.isItemDisabled,!0)};break;case Ye:a={highlightedIndex:R(e.highlightedIndex,10,t.items,t.isItemDisabled,!0)};break;case Ke:a={highlightedIndex:z(0,!1,t.items,t.isItemDisabled)};break;case qe:a={highlightedIndex:z(t.items.length-1,!0,t.items,t.isItemDisabled)};break;case $:a=d({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&t.items?.length&&n.selectItem&&{selectedItem:t.items[e.highlightedIndex],inputValue:t.itemToString(t.items[e.highlightedIndex])});break;case Ze:a={isOpen:!0,highlightedIndex:J(t),inputValue:n.inputValue};break;case Qe:a={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:K(t,e,0)};break;case st:a={selectedItem:n.selectedItem,inputValue:t.itemToString(n.selectedItem)};break;case ut:a={inputValue:n.inputValue};break;default:return de(e,t,n,dt)}return d({},e,a)}var gt=[`onMouseLeave`,`refKey`,`ref`],_t=[`item`,`index`,`refKey`,`ref`,`onMouseMove`,`onMouseDown`,`onClick`,`onPress`,`disabled`],vt=[`onClick`,`onPress`,`refKey`,`ref`],yt=[`onKeyDown`,`onChange`,`onInput`,`onBlur`,`onChangeText`,`onClick`,`refKey`,`ref`];bt.stateChangeTypes=dt;function bt(t){t===void 0&&(t={}),k(t,bt,propTypes$2);var n=d({},mt,t),r=n.items,o=n.scrollIntoView,c=n.environment,l=n.getA11yStatusMessage,f=pt(ht,n,ft,le),p=f[0],m=f[1],h=p.isOpen,g=p.highlightedIndex,_=p.selectedItem,v=p.inputValue,y=a(null),x=a({}),S=a(null),C=a(null),w=useIsInitialMount(),T=Ie(n),E=a(),D=b({state:p,props:n}),O=e(function(e){return x.current[T.getItemId(e)]},[T]);te(l,p,[h,g,_,v],c);var A=se({menuElement:y.current,highlightedIndex:g,isOpen:h,itemRefs:x,scrollIntoView:o,getItemNodeFromIndex:O});ce({props:n,state:p}),s(function(){H(n,`isOpen`,G)&&S.current&&S.current.focus()},[]),s(function(){w||(E.current=r.length)});var j=ae(c,e(function(){D.current.state.isOpen&&m({type:$})},[m,D]),i(function(){return[y,C,S]},[])),M=oe(`getInputProps`,`getMenuProps`);s(function(){h||(x.current={})},[h]),s(function(){var e;!h||!(c!=null&&c.document)||!(S!=null&&(e=S.current)!=null&&e.focus)||(()=>{let e=c.document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()!==S.current&&S.current.focus()},[h,c]);var N=i(function(){return{ArrowDown:function(e){e.preventDefault(),m({type:Q,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),m({type:We,altKey:e.altKey})},Home:function(e){D.current.state.isOpen&&(e.preventDefault(),m({type:Ke}))},End:function(e){D.current.state.isOpen&&(e.preventDefault(),m({type:qe}))},Escape:function(e){var t=D.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),m({type:Ge}))},Enter:function(e){!D.current.state.isOpen||e.which===229||(e.preventDefault(),m({type:Xe}))},PageUp:function(e){D.current.state.isOpen&&(e.preventDefault(),m({type:Je}))},PageDown:function(e){D.current.state.isOpen&&(e.preventDefault(),m({type:Ye}))}}},[m,D]),I=e(function(e){return d({id:T.labelId,htmlFor:T.inputId},e)},[T]),R=e(function(e,t){var n,r=e===void 0?{}:e,i=r.onMouseLeave,a=r.refKey,o=a===void 0?`ref`:a,s=r.ref,c=u(r,gt),l=(t===void 0?{}:t).suppressRefError;return M(`getMenuProps`,l===void 0?!1:l,o,y),d((n={},n[o]=F(s,function(e){y.current=e}),n.id=T.menuId,n.role=`listbox`,n[`aria-labelledby`]=c&&c[`aria-label`]?void 0:``+T.labelId,n.onMouseLeave=P(i,function(){m({type:$e})}),n),c)},[m,M,T]),z=e(function(e){var t,n,r=e===void 0?{}:e,i=r.item,a=r.index,o=r.refKey,s=o===void 0?`ref`:o,c=r.ref,l=r.onMouseMove,f=r.onMouseDown,p=r.onClick;r.onPress;var h=r.disabled,g=u(r,_t);h!==void 0&&console.warn(`Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.`);var _=D.current,v=_.props,y=_.state,b=getItemAndIndex(i,a,v.items,`Pass either item or index to getItemProps!`),S=b[0],C=b[1],w=v.isItemDisabled(S,C),E=`onClick`,O=p;return d((t={},t[s]=F(c,function(e){e&&(x.current[T.getItemId(C)]=e)}),t[`aria-disabled`]=w,t[`aria-selected`]=C===y.highlightedIndex,t.id=T.getItemId(C),t.role=`option`,t),!w&&(n={},n[E]=P(O,function(){m({type:tt,index:C})}),n),{onMouseMove:P(l,function(){j.isTouchEnd||C===y.highlightedIndex||(A.current=!1,m({type:et,index:C,disabled:w}))}),onMouseDown:P(f,function(e){return e.preventDefault()})},g)},[m,T,D,j,A]),B=e(function(e){var t,n=e===void 0?{}:e,r=n.onClick;n.onPress;var i=n.refKey,a=i===void 0?`ref`:i,o=n.ref,s=u(n,vt),c=D.current.state;return d((t={},t[a]=F(o,function(e){C.current=e}),t[`aria-controls`]=T.menuId,t[`aria-expanded`]=c.isOpen,t.id=T.toggleButtonId,t.tabIndex=-1,t),!s.disabled&&d({},{onClick:P(r,function(){m({type:nt})})}),s)},[m,D,T]),ee=e(function(e,t){var n,r=e===void 0?{}:e,i=r.onKeyDown,a=r.onChange,o=r.onInput,s=r.onBlur;r.onChangeText;var l=r.onClick,f=r.refKey,p=f===void 0?`ref`:f,h=r.ref,g=u(r,yt),_=(t===void 0?{}:t).suppressRefError;M(`getInputProps`,_===void 0?!1:_,p,S);var v=D.current.state,y=function(e){var t=L(e);t&&N[t]&&N[t](e)},b=function(e){m({type:Ze,inputValue:e.target.value})},x=function(e){c!=null&&c.document&&v.isOpen&&!j.isMouseDown&&m({type:$,selectItem:!(e.relatedTarget===null&&(()=>{let e=c.document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()!==c.document.body)})},C=function(){m({type:Qe})},w=`onChange`,E={};if(!g.disabled){var O;E=(O={},O[w]=P(a,o,b),O.onKeyDown=P(i,y),O.onBlur=P(s,x),O.onClick=P(l,C),O)}return d((n={},n[p]=F(h,function(e){S.current=e}),n[`aria-activedescendant`]=v.isOpen&&v.highlightedIndex>-1?T.getItemId(v.highlightedIndex):``,n[`aria-autocomplete`]=`list`,n[`aria-controls`]=T.menuId,n[`aria-expanded`]=v.isOpen,n[`aria-labelledby`]=g&&g[`aria-label`]?void 0:T.labelId,n.autoComplete=`off`,n.id=T.inputId,n.role=`combobox`,n.value=v.inputValue,n),E,g)},[m,T,c,N,D,j,M]),V=e(function(){m({type:rt})},[m]),U=e(function(){m({type:at})},[m]),W=e(function(){m({type:it})},[m]),ne=e(function(e){m({type:ot,highlightedIndex:e})},[m]),re=e(function(e){m({type:st,selectedItem:e})},[m]);return{getItemProps:z,getLabelProps:I,getMenuProps:R,getInputProps:ee,getToggleButtonProps:B,toggleMenu:V,openMenu:W,closeMenu:U,setHighlightedIndex:ne,setInputValue:e(function(e){m({type:ct,inputValue:e})},[m]),selectItem:re,reset:e(function(){m({type:lt})},[m]),highlightedIndex:g,isOpen:h,selectedItem:_,inputValue:v}}var xt={activeIndex:-1,selectedItems:[]};function St(e,t){return H(e,t,xt)}function Ct(e,t){return V(e,t,xt)}function wt(e){return{activeIndex:St(e,`activeIndex`),selectedItems:St(e,`selectedItems`)}}function Tt(e){if(e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)return!1;var t=e.target;return!(t instanceof HTMLInputElement&&t.value!==``&&(t.selectionStart!==0||t.selectionEnd!==0))}function Et(e,t){return e.selectedItems===t.selectedItems&&e.activeIndex===t.activeIndex}var ee=d({}),Dt={itemToKey:W.itemToKey,stateReducer:W.stateReducer,environment:W.environment,keyNavigationNext:`ArrowRight`,keyNavigationPrevious:`ArrowLeft`},Ot=O,kt=0,At=1,jt=2,Mt=3,Nt=4,Pt=5,Ft=6,It=7,Lt=8,Rt=9,zt=10,Bt=11,Vt=12,Ht=Object.freeze({__proto__:null,DropdownClick:It,DropdownKeyDownBackspace:Ft,DropdownKeyDownNavigationPrevious:Pt,FunctionAddSelectedItem:Lt,FunctionRemoveSelectedItem:Rt,FunctionReset:Vt,FunctionSetActiveIndex:Bt,FunctionSetSelectedItems:zt,SelectedItemClick:kt,SelectedItemKeyDownBackspace:jt,SelectedItemKeyDownDelete:At,SelectedItemKeyDownNavigationNext:Mt,SelectedItemKeyDownNavigationPrevious:Nt});function Ut(e,t,n){var r=n.type,i=n.index,a=n.selectedItem,o=e.activeIndex,s=e.selectedItems,c;switch(r){case kt:c={activeIndex:i};break;case Nt:c={activeIndex:o-1<0?0:o-1};break;case Mt:c={activeIndex:o+1>=s.length?-1:o+1};break;case jt:case At:if(o<0)break;var l=o;s.length===1?l=-1:o===s.length-1&&(l=s.length-2),c=d({selectedItems:[].concat(s.slice(0,o),s.slice(o+1))},{activeIndex:l});break;case Pt:c={activeIndex:s.length-1};break;case Ft:c={selectedItems:s.slice(0,s.length-1)};break;case Lt:c={selectedItems:[].concat(s,[a])};break;case It:c={activeIndex:-1};break;case Rt:var u=o,f=s.findIndex(function(e){return t.itemToKey(e)===t.itemToKey(a)});if(f<0)break;s.length===1?u=-1:f===s.length-1&&(u=s.length-2),c={selectedItems:[].concat(s.slice(0,f),s.slice(f+1)),activeIndex:u};break;case zt:c={selectedItems:n.selectedItems};break;case Bt:c={activeIndex:n.activeIndex};break;case Vt:c={activeIndex:Ct(t,`activeIndex`),selectedItems:Ct(t,`selectedItems`)};break;default:throw Error(`Reducer called without proper action type.`)}return d({},e,c)}var Wt=[`refKey`,`ref`,`onClick`,`onKeyDown`,`selectedItem`,`index`],Gt=[`refKey`,`ref`,`onKeyDown`,`onClick`,`preventKeyAction`];Kt.stateChangeTypes=Ht;function Kt(t){t===void 0&&(t={}),Ot(t,Kt);var n=d({},Dt,t),r=n.getA11yStatusMessage,o=n.environment,c=n.keyNavigationNext,l=n.keyNavigationPrevious,f=useControlledReducer$1(Ut,n,wt,Et),p=f[0],m=f[1],h=p.activeIndex,g=p.selectedItems,_=useIsInitialMount(),v=a(null),y=a();y.current=[];var x=b({state:p,props:n});te(r,p,[h,g],o),s(function(){_||(h===-1&&v.current?v.current.focus():y.current[h]&&y.current[h].focus())},[h]),ce({props:n,state:p});var S=oe(`getDropdownProps`),C=i(function(){var e;return e={},e[l]=function(){m({type:Nt})},e[c]=function(){m({type:Mt})},e.Delete=function(){m({type:At})},e.Backspace=function(){m({type:jt})},e},[m,c,l]),w=i(function(){var e;return e={},e[l]=function(e){Tt(e)&&m({type:Pt})},e.Backspace=function(e){Tt(e)&&m({type:Ft})},e},[m,l]);return{getSelectedItemProps:e(function(e){var t,n=e===void 0?{}:e,r=n.refKey,i=r===void 0?`ref`:r,a=n.ref,o=n.onClick,s=n.onKeyDown,c=n.selectedItem,l=n.index,f=u(n,Wt),p=x.current.state,h=getItemAndIndex(c,l,p.selectedItems,`Pass either item or index to getSelectedItemProps!`)[1],g=h>-1&&h===p.activeIndex;return d((t={},t[i]=F(a,function(e){e&&y.current.push(e)}),t.tabIndex=g?0:-1,t.onClick=P(o,function(){m({type:kt,index:h})}),t.onKeyDown=P(s,function(e){var t=L(e);t&&C[t]&&C[t](e)}),t),f)},[m,x,C]),getDropdownProps:e(function(e,t){var n,r=e===void 0?{}:e,i=r.refKey,a=i===void 0?`ref`:i,o=r.ref,s=r.onKeyDown,c=r.onClick,l=r.preventKeyAction,f=l===void 0?!1:l,p=u(r,Gt),h=(t===void 0?{}:t).suppressRefError;return S(`getDropdownProps`,h===void 0?!1:h,a,v),d((n={},n[a]=F(o,function(e){e&&(v.current=e)}),n),!f&&{onKeyDown:P(s,function(e){var t=L(e);t&&w[t]&&w[t](e)}),onClick:P(c,function(){m({type:It})})},p)},[m,w,S]),addSelectedItem:e(function(e){m({type:Lt,selectedItem:e})},[m]),removeSelectedItem:e(function(e){m({type:Rt,selectedItem:e})},[m]),setSelectedItems:e(function(e){m({type:zt,selectedItems:e})},[m]),setActiveIndex:e(function(e){m({type:Bt,activeIndex:e})},[m]),reset:e(function(){m({type:Vt})},[m]),selectedItems:g,activeIndex:h}}var qt=0,Jt=1,Yt=2,Xt=3,Zt=4,Qt=5,$t=6,en=Object.freeze({__proto__:null,FunctionAddItem:$t,TagClick:qt,TagGroupKeyDownArrowLeft:Jt,TagGroupKeyDownArrowRight:Yt,TagGroupKeyDownBackspace:Zt,TagGroupKeyDownDelete:Xt,TagRemoveClick:Qt});function tn(e,t,n){var r=n.type,i;switch(r){case qt:i={activeIndex:n.index};break;case Jt:i={activeIndex:e.activeIndex===0?e.items.length-1:e.activeIndex-1};break;case Yt:i={activeIndex:e.activeIndex===e.items.length-1?0:e.activeIndex+1};break;case Zt:case Xt:var a=[].concat(e.items.slice(0,e.activeIndex),e.items.slice(e.activeIndex+1)),o=a.length===0?-1:a.length===e.activeIndex?e.activeIndex-1:e.activeIndex;i={items:[].concat(e.items.slice(0,e.activeIndex),e.items.slice(e.activeIndex+1)),activeIndex:o};break;case Qt:var s=[].concat(e.items.slice(0,n.index),e.items.slice(n.index+1));i={items:s,activeIndex:s.length===0?-1:s.length===n.index?n.index-1:n.index};break;case $t:var c=[];c=n.index===void 0?[].concat(e.items,[n.item]):[].concat(e.items.slice(0,n.index),[n.item],e.items.slice(n.index));var l=e.activeIndex===-1?c.length-1:e.activeIndex;i={items:c,activeIndex:l};break;default:throw Error(`Invalid useTagGroup reducer action.`)}return d({},e,i)}var nn=d({},n).useId,rn=typeof nn==`function`?an:on;function an(e){var t=e.id,n=e.tagGroupId,r=e.getTagId,a=`downshift-`+nn();return t||=a,i(function(){return{tagGroupId:n??t+`-tag-group`,getTagId:r??function(e){return t+`-tag-`+e}}},[r,t,n])}function on(e){var t=e.id,n=e.getTagId,r=e.tagGroupId,o=a(t??`downshift-`+y()).current;return i(function(){return{tagGroupId:r??o+`-tag-group`,getTagId:n??function(e){return o+`-tag-`+e}}},[n,o,r])}function sn(e){var t=e.items??e.initialItems??[];return{activeIndex:e.activeIndex??e.initialActiveIndex??(t.length===0?-1:0),items:t}}function cn(e,t){return e.activeIndex===t.activeIndex&&e.items===t.items}var ln=`tag-group-a11y-description`;function un(e,t){s(function(){if(e){var n=e.createElement(`div`);return n.setAttribute(`id`,ln),n.style.display=`none`,n.textContent=t,e.body.appendChild(n),function(){n.remove()}}},[t,e])}function dn(e){return d({stateReducer:function(e,t){return t.changes},environment:typeof window>`u`?void 0:window,removeElementDescription:`Press Delete or Backspace to remove tag.`},e)}function fn(e,t,n){var r=a({}),i=a(e),o=a(t);return s(function(){if(e!==-1&&i.current!==-1&&e!==i.current||o.current===t+1){var a;(a=r.current[n(e)])==null||a.focus()}i.current=e,o.current=t},[e,n,t]),r}var ee=d({}),pn=[`onKeyDown`],mn=[`index`,`refKey`,`ref`,`onClick`],hn=[`index`,`onClick`],gn=function(t){t===void 0&&(t={}),k(t,gn,ee);var n=dn(t),r=useControlledReducer$1(tn,n,sn,cn),i=r[0],a=r[1],o=i.activeIndex,s=i.items,c=b({state:i,props:n}),l=rn({getTagId:n.getTagId,id:n.id,tagGroupId:n.tagGroupId});un(n.environment?.document,n.removeElementDescription);var f=fn(o,s.length,l.getTagId),p=e(function(e){var t=e??{},n=t.onKeyDown,r=u(t,pn);return d({id:l.tagGroupId,"aria-live":`polite`,"aria-atomic":`false`,"aria-relevant":`additions`,role:`listbox`,onKeyDown:S(n,function(e){switch(e.key){case`ArrowLeft`:a({type:Jt});break;case`ArrowRight`:a({type:Yt});break;case`Delete`:a({type:Xt});break;case`Backspace`:a({type:Zt});break}})},r)},[a,l.tagGroupId]),m=e(function(e){var t,n=e.index,r=e.refKey,i=r===void 0?`ref`:r,o=e.ref,s=e.onClick,p=u(e,mn);if(!Number.isInteger(n)||n<0)throw Error(`Pass correct item index to getTagProps!`);var m=c.current.state,h=function(){a({type:qt,index:n})},g=l.getTagId(n);return d((t={"aria-describedby":ln},t[i]=x(o,function(e){e&&(f.current[g]=e)}),t[`aria-labelledby`]=g,t.role=`option`,t.id=g,t.onClick=S(s,h),t.tabIndex=m.activeIndex===n?0:-1,t),p)},[a,l,c,f]),h=e(function(e){var t=e.index,n=e.onClick,r=u(e,hn);if(!Number.isInteger(t)||t<0)throw Error(`Pass correct item index to getTagRemoveProps!`);var i=function(e){e.stopPropagation(),a({type:Qt,index:t})},o=l.getTagId(t),s=o+`-remove`;return d({id:s,tabIndex:-1,"aria-labelledby":s+` `+o,onClick:S(n,i)},r)},[l,a]);return{activeIndex:o,addItem:e(function(e,t){a({type:$t,item:e,index:t})},[a]),getTagGroupProps:p,getTagProps:m,getTagRemoveProps:h,items:s}};gn.stateChangeTypes=en;export{Ue as n,l as r,bt as t};
1
+ import{S as e,_ as t,c as n,d as r,g as i,p as a,v as o,w as s}from"./register-BwBRWJD3.js";import{t as c}from"./useEffectEvent-DclKYaXW.js";r();function l(e,t=()=>-1){let[n,r]=o(-1),i=c(t);return s(()=>{e?e&&r(i):r(-1)},[e]),[n===-1?t():n,r]}function u(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}const f=e=>typeof e==`object`&&!!e&&e.nodeType===1,p=(e,t)=>(!t||e!==`hidden`)&&e!==`visible`&&e!==`clip`,m=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return p(n.overflowY,t)||p(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch{return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},h=(e,t,n,r,i,a,o,s)=>a<e&&o>t||a>e&&o<t?0:a<=e&&s<=n||o>=t&&s>=n?a-e-r:o>t&&s<n||a<e&&s>n?o-t+i:0,g=e=>e.parentElement??(e.getRootNode().host||null),_=(e,t)=>{if(typeof document>`u`)return[];let{scrollMode:n,block:r,inline:i,boundary:a,skipOverflowHiddenElements:o}=t,s=typeof a==`function`?a:e=>e!==a;if(!f(e))throw TypeError(`Invalid target`);let c=document.scrollingElement||document.documentElement,l=[],u=e;for(;f(u)&&s(u);){if(u=g(u),u===c){l.push(u);break}u!=null&&u===document.body&&m(u)&&!m(document.documentElement)||u!=null&&m(u,o)&&l.push(u)}let d=window.visualViewport?.width??innerWidth,p=window.visualViewport?.height??innerHeight,{scrollX:_,scrollY:v}=window,{height:y,width:b,top:x,right:S,bottom:C,left:w}=e.getBoundingClientRect(),{top:T,right:E,bottom:D,left:O}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),k=r===`start`||r===`nearest`?x-T:r===`end`?C+D:x+y/2-T+D,A=i===`center`?w+b/2-O+E:i===`end`?S+E:w-O,j=[];for(let e=0;e<l.length;e++){let t=l[e],{height:a,width:o,top:s,right:u,bottom:f,left:g}=t.getBoundingClientRect();if(n===`if-needed`&&x>=0&&w>=0&&C<=p&&S<=d&&(t===c&&!m(t)||x>=s&&C<=f&&w>=g&&S<=u))return j;let T=getComputedStyle(t),E=parseInt(T.borderLeftWidth,10),D=parseInt(T.borderTopWidth,10),O=parseInt(T.borderRightWidth,10),M=parseInt(T.borderBottomWidth,10),N=0,P=0,F=`offsetWidth`in t?t.offsetWidth-t.clientWidth-E-O:0,I=`offsetHeight`in t?t.offsetHeight-t.clientHeight-D-M:0,L=`offsetWidth`in t?t.offsetWidth===0?0:o/t.offsetWidth:0,R=`offsetHeight`in t?t.offsetHeight===0?0:a/t.offsetHeight:0;if(c===t)N=r===`start`?k:r===`end`?k-p:r===`nearest`?h(v,v+p,p,D,M,v+k,v+k+y,y):k-p/2,P=i===`start`?A:i===`center`?A-d/2:i===`end`?A-d:h(_,_+d,d,E,O,_+A,_+A+b,b),N=Math.max(0,N+v),P=Math.max(0,P+_);else{N=r===`start`?k-s-D:r===`end`?k-f+M+I:r===`nearest`?h(s,f,a,D,M+I,k,k+y,y):k-(s+a/2)+I/2,P=i===`start`?A-g-E:i===`center`?A-(g+o/2)+F/2:i===`end`?A-u+O+F:h(g,u,o,E,O+F,A,A+b,b);let{scrollLeft:e,scrollTop:n}=t;N=R===0?0:Math.max(0,Math.min(n+N/R,t.scrollHeight-a/R+I)),P=L===0?0:Math.max(0,Math.min(e+P/L,t.scrollWidth-o/L+F)),k+=n-N,A+=e-P}j.push({el:t,top:N,left:P})}return j};r();var v=0;function y(){return String(v++)}function b(e){var t=a(e);return t.current=e,t}function x(){var e=[...arguments];return function(t){e.forEach(function(e){typeof e==`function`?e(t):e&&(e.current=t)})}}function S(){var e=[...arguments];return function(t){var n=[...arguments].slice(1);return e.some(function(e){return e&&e.apply(void 0,[t].concat(n)),t.preventDownshiftDefault||t.hasOwnProperty(`nativeEvent`)&&t.nativeEvent.preventDownshiftDefault})}}function C(e,t){var n;function r(){n&&clearTimeout(n)}function i(){var i=[...arguments];r(),n=setTimeout(function(){n=null,e.apply(void 0,i)},t)}return i.cancel=r,i}var w=C(function(e){T(e).textContent=``},500);function T(e){var t=e.getElementById(`a11y-status-message`);return t||(t=e.createElement(`div`),t.setAttribute(`id`,`a11y-status-message`),t.setAttribute(`role`,`status`),t.setAttribute(`aria-live`,`polite`),t.setAttribute(`aria-relevant`,`additions text`),Object.assign(t.style,{border:`0`,clip:`rect(0 0 0 0)`,height:`1px`,margin:`-1px`,overflow:`hidden`,padding:`0`,position:`absolute`,width:`1px`}),e.body.appendChild(t),t)}function E(e,t){if(!(!e||!t)){var n=T(t);n.textContent=e,w(t)}}function D(e){var t=e?.getElementById(`a11y-status-message`);t&&t.remove()}function O(){}var k=O;function A(e,t){return t?Object.keys(e).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},d({},e)):e}function j(e,t){e&&_(e,{boundary:t,block:`nearest`,scrollMode:`if-needed`}).forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r})}function M(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function N(e,t){var n;function r(){n&&clearTimeout(n)}function i(){var i=[...arguments];r(),n=setTimeout(function(){n=null,e.apply(void 0,i)},t)}return i.cancel=r,i}function P(){var e=[...arguments];return function(t){var n=[...arguments].slice(1);return e.some(function(e){return e&&e.apply(void 0,[t].concat(n)),t.preventDownshiftDefault||t.hasOwnProperty(`nativeEvent`)&&t.nativeEvent.preventDownshiftDefault})}}function F(){var e=[...arguments];return function(t){e.forEach(function(e){typeof e==`function`?e(t):e&&(e.current=t)})}}function I(e,t){return e[t]!==void 0}function L(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&t.indexOf(`Arrow`)!==0?`Arrow`+t:t}function R(e,t,n,r,i){i===void 0&&(i=!1);var a=n.length;if(a===0)return-1;var o=a-1;(typeof e!=`number`||e<0||e>o)&&(e=t>0?-1:o+1);var s=e+t;s<0?s=i?o:0:s>o&&(s=i?0:o);var c=z(s,t<0,n,r,i);return c===-1?e>=a?-1:e:c}function z(e,t,n,r,i){i===void 0&&(i=!1);var a=n.length;if(t){for(var o=e;o>=0;o--)if(!r(n[o],o))return o}else for(var s=e;s<a;s++)if(!r(n[s],s))return s;return i?z(t?a-1:0,t,n,r):-1}function B(e,t,n,r){return r===void 0&&(r=!0),n&&t.some(function(t){return t&&(M(t,e,n)||r&&M(t,(()=>{let e=n.document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})(),n))})}var ee=d({});function V(e,t,n){var r=e[`default`+capitalizeString(t)];return r===void 0?n[t]:r}function H(e,t,n){var r=e[t];if(r!==void 0)return r;var i=e[`initial`+capitalizeString(t)];return i===void 0?V(e,t,n):i}var U=C(function(e,t){E(e,t)},200);function te(e,t,n,r){var i=r?.document,a=useIsInitialMount();s(function(){!e||a||!i||U(e(t),i)},n),s(function(){return function(){U.cancel(),D(i)}},[i])}var ee=d({}),W={itemToString:function(e){return e?String(e):``},itemToKey:function(e){return e},stateReducer,scrollIntoView:j,environment:typeof window>`u`?void 0:window},G={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:``},ne=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0?t:s;function re(e){return/^\S{1}$/.test(e)}function ie(e){var t=H(e,`selectedItem`,G),n=H(e,`isOpen`,G),r=ue(e),i=H(e,`inputValue`,G);return{highlightedIndex:r<0&&t&&n?e.items.findIndex(function(n){return e.itemToKey(n)===e.itemToKey(t)}):r,isOpen:n,selectedItem:t,inputValue:i}}function K(e,t,n){var r=e.items,i=e.initialHighlightedIndex,a=e.defaultHighlightedIndex,o=e.isItemDisabled,s=e.itemToKey,c=t.selectedItem,l=t.highlightedIndex;return r.length===0?-1:i!==void 0&&l===i&&!o(r[i],i)?i:a!==void 0&&!o(r[a],a)?a:c?r.findIndex(function(e){return s(c)===s(e)}):n<0&&!o(r[r.length-1],r.length-1)?r.length-1:n>0&&!o(r[0],0)?0:-1}function ae(t,n,r){var i=a({isMouseDown:!1,isTouchMove:!1,isTouchEnd:!1}),o=e(function(){return r.map(function(e){return e.current})},[r]);return s(function(){if(!t)return O;function e(){i.current.isTouchEnd=!1,i.current.isMouseDown=!0}function r(e){i.current.isMouseDown=!1,B(e.target,o(),t)||n()}function a(){i.current.isTouchEnd=!1,i.current.isTouchMove=!1}function s(){i.current.isTouchMove=!0}function c(e){i.current.isTouchEnd=!0,!i.current.isTouchMove&&!B(e.target,o(),t,!1)&&n()}return t.addEventListener(`mousedown`,e),t.addEventListener(`mouseup`,r),t.addEventListener(`touchstart`,a),t.addEventListener(`touchmove`,s),t.addEventListener(`touchend`,c),function(){t.removeEventListener(`mousedown`,e),t.removeEventListener(`mouseup`,r),t.removeEventListener(`touchstart`,a),t.removeEventListener(`touchmove`,s),t.removeEventListener(`touchend`,c)}},[t,o,n]),i.current}var oe=function(){return O};function se(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,o=e.menuElement,s=e.scrollIntoView,c=a(!0);return ne(function(){t<0||!n||!Object.keys(r.current).length||(c.current===!1?c.current=!0:s(i(t),o))},[t]),c}var ce=O;function q(e,t,n){return n===void 0&&(n=!0),d({isOpen:!1,highlightedIndex:-1},e.items?.length&&t>=0&&d({selectedItem:e.items[t],isOpen:V(e,`isOpen`,G),highlightedIndex:V(e,`highlightedIndex`,G)},n&&{inputValue:e.itemToString(e.items[t])}))}function le(e,t){return e.isOpen===t.isOpen&&e.inputValue===t.inputValue&&e.highlightedIndex===t.highlightedIndex&&e.selectedItem===t.selectedItem}function J(e){var t=V(e,`highlightedIndex`,G);return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}function ue(e){var t=H(e,`highlightedIndex`,G);return t>-1&&e.isItemDisabled(e.items[t],t)?-1:t}function de(e,t,n,r){var i=n.type,a;switch(i){case r.ItemMouseMove:a={highlightedIndex:n.disabled?-1:n.index};break;case r.MenuMouseLeave:a={highlightedIndex:-1};break;case r.ToggleButtonClick:case r.FunctionToggleMenu:a={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:K(t,e,0)};break;case r.FunctionOpenMenu:a={isOpen:!0,highlightedIndex:K(t,e,0)};break;case r.FunctionCloseMenu:a={isOpen:!1};break;case r.FunctionSetHighlightedIndex:a={highlightedIndex:t.isItemDisabled(t.items[n.highlightedIndex],n.highlightedIndex)?-1:n.highlightedIndex};break;case r.FunctionSetInputValue:a={inputValue:n.inputValue};break;case r.FunctionReset:a={highlightedIndex:J(t),isOpen:V(t,`isOpen`,G),selectedItem:V(t,`selectedItem`,G),inputValue:V(t,`inputValue`,G)};break;default:throw Error(`Reducer called without proper action type.`)}return d({},e,a)}var ee=d({}),fe=d({},W,{isItemDisabled:function(){return!1}});function pe(e){for(var t=e.keysSoFar,n=e.highlightedIndex,r=e.items,i=e.itemToString,a=e.isItemDisabled,o=t.toLowerCase(),s=0;s<r.length;s++){var c=(s+n+ +(t.length<2))%r.length,l=r[c];if(l!==void 0&&i(l).toLowerCase().startsWith(o)&&!a(l,c))return c}return n}var Y=0,me=1,he=2,X=3,ge=4,_e=5,ve=6,ye=7,be=8,xe=9,Se=10,Z=11,Ce=12,we=13,Te=14,Ee=15,De=16,Oe=17,ke=18,Ae=19,je=20,Me=21,Ne=Object.freeze({__proto__:null,FunctionCloseMenu:Oe,FunctionOpenMenu:De,FunctionReset:Me,FunctionSelectItem:Ae,FunctionSetHighlightedIndex:ke,FunctionSetInputValue:je,FunctionToggleMenu:Ee,ItemClick:Te,ItemMouseMove:we,MenuMouseLeave:Ce,ToggleButtonBlur:Z,ToggleButtonClick:Y,ToggleButtonKeyDownArrowDown:me,ToggleButtonKeyDownArrowUp:he,ToggleButtonKeyDownCharacter:X,ToggleButtonKeyDownEnd:ve,ToggleButtonKeyDownEnter:ye,ToggleButtonKeyDownEscape:ge,ToggleButtonKeyDownHome:_e,ToggleButtonKeyDownPageDown:Se,ToggleButtonKeyDownPageUp:xe,ToggleButtonKeyDownSpaceButton:be});function Pe(e,t,n){var r=n.type,i=n.altKey,a;switch(r){case Te:a={isOpen:V(t,`isOpen`,G),highlightedIndex:J(t),selectedItem:t.items[n.index]};break;case X:var o=n.key,s=``+e.inputValue+o;a={inputValue:s,highlightedIndex:pe({keysSoFar:s,highlightedIndex:!e.isOpen&&e.selectedItem?t.items.findIndex(function(n){return t.itemToKey(n)===t.itemToKey(e.selectedItem)}):e.highlightedIndex,items:t.items,itemToString:t.itemToString,isItemDisabled:t.isItemDisabled}),isOpen:!0};break;case me:a={highlightedIndex:e.isOpen?R(e.highlightedIndex,1,t.items,t.isItemDisabled):i&&e.selectedItem==null?-1:K(t,e,1),isOpen:!0};break;case he:a=e.isOpen&&i?q(t,e.highlightedIndex,!1):{highlightedIndex:e.isOpen?R(e.highlightedIndex,-1,t.items,t.isItemDisabled):K(t,e,-1),isOpen:!0};break;case ye:case be:a=q(t,e.highlightedIndex,!1);break;case _e:a={highlightedIndex:z(0,!1,t.items,t.isItemDisabled),isOpen:!0};break;case ve:a={highlightedIndex:z(t.items.length-1,!0,t.items,t.isItemDisabled),isOpen:!0};break;case xe:a={highlightedIndex:R(e.highlightedIndex,-10,t.items,t.isItemDisabled)};break;case Se:a={highlightedIndex:R(e.highlightedIndex,10,t.items,t.isItemDisabled)};break;case ge:a={isOpen:!1,highlightedIndex:-1};break;case Z:a=d({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&t.items?.length&&{selectedItem:t.items[e.highlightedIndex]});break;case Ae:a={selectedItem:n.selectedItem};break;default:return de(e,t,n,Ne)}return d({},e,a)}var Fe=d({},n).useId,Ie=typeof Fe==`function`?Le:Re;function Le(e){var t=e.id,n=e.labelId,r=e.menuId,a=e.getItemId,o=e.toggleButtonId,s=e.inputId,c=`downshift-`+Fe();return t||=c,i(function(){return{labelId:n??t+`-label`,menuId:r??t+`-menu`,getItemId:a??function(e){return t+`-item-`+e},toggleButtonId:o??t+`-toggle-button`,inputId:s??t+`-input`}},[a,t,s,n,r,o])}function Re(e){var t=e.id,n=e.labelId,r=e.menuId,o=e.getItemId,s=e.toggleButtonId,c=e.inputId,l=a(t??`downshift-`+y()).current;return i(function(){return{labelId:n??l+`-label`,menuId:r??l+`-menu`,getItemId:o??function(e){return l+`-item-`+e},toggleButtonId:s??l+`-toggle-button`,inputId:c??l+`-input`}},[o,c,n,r,s,l])}var ze=[`onClick`],Be=[`onMouseLeave`,`refKey`,`ref`],Ve=[`onBlur`,`onClick`,`onPress`,`onKeyDown`,`refKey`,`ref`],He=[`item`,`index`,`onMouseMove`,`onClick`,`onMouseDown`,`onPress`,`refKey`,`disabled`,`ref`];Ue.stateChangeTypes=Ne;function Ue(t){t===void 0&&(t={}),k(t,Ue,propTypes$3);var n=d({},fe,t),r=n.scrollIntoView,o=n.environment,c=n.getA11yStatusMessage,l=useControlledReducer$1(Pe,n,ie,le),f=l[0],p=l[1],m=f.isOpen,h=f.highlightedIndex,g=f.selectedItem,_=f.inputValue,v=a(null),y=a(null),x=a({}),S=a(null),C=Ie(n),w=b({state:f,props:n}),T=e(function(e){return x.current[C.getItemId(e)]},[C]);te(c,f,[m,h,g,_],o);var E=se({menuElement:y.current,highlightedIndex:h,isOpen:m,itemRefs:x,scrollIntoView:r,getItemNodeFromIndex:T});s(function(){return S.current=N(function(e){e({type:je,inputValue:``})},500),function(){S.current.cancel()}},[]),s(function(){_&&S.current(p)},[p,_]),ce({props:n,state:f}),s(function(){H(n,`isOpen`,G)&&v.current&&v.current.focus()},[]);var D=ae(o,e(function(){w.current.state.isOpen&&p({type:Z})},[p,w]),i(function(){return[y,v]},[])),O=oe(`getMenuProps`,`getToggleButtonProps`);s(function(){m||(x.current={})},[m]);var A=i(function(){return{ArrowDown:function(e){e.preventDefault(),p({type:me,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),p({type:he,altKey:e.altKey})},Home:function(e){e.preventDefault(),p({type:_e})},End:function(e){e.preventDefault(),p({type:ve})},Escape:function(){w.current.state.isOpen&&p({type:ge})},Enter:function(e){e.preventDefault(),p({type:w.current.state.isOpen?ye:Y})},PageUp:function(e){w.current.state.isOpen&&(e.preventDefault(),p({type:xe}))},PageDown:function(e){w.current.state.isOpen&&(e.preventDefault(),p({type:Se}))}," ":function(e){e.preventDefault();var t=w.current.state;if(!t.isOpen){p({type:Y});return}t.inputValue?p({type:X,key:` `}):p({type:be})}}},[p,w]),j=e(function(){p({type:Ee})},[p]),M=e(function(){p({type:Oe})},[p]),I=e(function(){p({type:De})},[p]),R=e(function(e){p({type:ke,highlightedIndex:e})},[p]),z=e(function(e){p({type:Ae,selectedItem:e})},[p]),B=e(function(){p({type:Me})},[p]),ee=e(function(e){p({type:je,inputValue:e})},[p]),V=e(function(e){var t=e===void 0?{}:e,n=t.onClick,r=u(t,ze);return d({id:C.labelId,htmlFor:C.toggleButtonId,onClick:P(n,function(){var e;(e=v.current)==null||e.focus()})},r)},[C]),U=e(function(e,t){var n,r=e===void 0?{}:e,i=r.onMouseLeave,a=r.refKey,o=a===void 0?`ref`:a,s=r.ref,c=u(r,Be),l=(t===void 0?{}:t).suppressRefError;return O(`getMenuProps`,l===void 0?!1:l,o,y),d((n={},n[o]=F(s,function(e){y.current=e}),n.id=C.menuId,n.role=`listbox`,n[`aria-labelledby`]=c&&c[`aria-label`]?void 0:``+C.labelId,n.onMouseLeave=P(i,function(){p({type:Ce})}),n),c)},[p,O,C]);return{getToggleButtonProps:e(function(e,t){var n,r=e===void 0?{}:e,i=r.onBlur,a=r.onClick;r.onPress;var o=r.onKeyDown,s=r.refKey,c=s===void 0?`ref`:s,l=r.ref,f=u(r,Ve),m=(t===void 0?{}:t).suppressRefError,h=m===void 0?!1:m,g=w.current.state,_=function(){p({type:Y})},y=function(){g.isOpen&&!D.isMouseDown&&p({type:Z})},b=function(e){var t=L(e);t&&A[t]?A[t](e):re(t)&&p({type:X,key:t})},x=d((n={},n[c]=F(l,function(e){v.current=e}),n[`aria-activedescendant`]=g.isOpen&&g.highlightedIndex>-1?C.getItemId(g.highlightedIndex):``,n[`aria-controls`]=C.menuId,n[`aria-expanded`]=w.current.state.isOpen,n[`aria-haspopup`]=`listbox`,n[`aria-labelledby`]=f&&f[`aria-label`]?void 0:``+C.labelId,n.id=C.toggleButtonId,n.role=`combobox`,n.tabIndex=0,n.onBlur=P(i,y),n),f);return f.disabled||(x.onClick=P(a,_),x.onKeyDown=P(o,b)),O(`getToggleButtonProps`,h,c,v),x},[p,C,w,D,O,A]),getLabelProps:V,getMenuProps:U,getItemProps:e(function(e){var t,n=e===void 0?{}:e,r=n.item,i=n.index,a=n.onMouseMove,o=n.onClick,s=n.onMouseDown;n.onPress;var c=n.refKey,l=c===void 0?`ref`:c,f=n.disabled,m=n.ref,h=u(n,He);f!==void 0&&console.warn(`Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.`);var g=w.current,_=g.state,v=g.props,y=getItemAndIndex(r,i,v.items,`Pass either item or index to getItemProps!`),b=y[0],S=y[1],T=v.isItemDisabled(b,S),O=function(){D.isTouchEnd||S===_.highlightedIndex||(E.current=!1,p({type:we,index:S,disabled:T}))},k=function(){p({type:Te,index:S})},A=function(e){return e.preventDefault()},j=d((t={},t[l]=F(m,function(e){e&&(x.current[C.getItemId(S)]=e)}),t[`aria-disabled`]=T,t[`aria-selected`]=b===_.selectedItem,t.id=C.getItemId(S),t.role=`option`,t),h);return T||(j.onClick=P(o,k)),j.onMouseMove=P(a,O),j.onMouseDown=P(s,A),j},[w,C,D,E,p]),toggleMenu:j,openMenu:I,closeMenu:M,setHighlightedIndex:R,selectItem:z,reset:B,setInputValue:ee,highlightedIndex:h,isOpen:m,selectedItem:g,inputValue:_}}var Q=0,We=1,Ge=2,Ke=3,qe=4,Je=5,Ye=6,Xe=7,Ze=8,$=9,Qe=10,$e=11,et=12,tt=13,nt=14,rt=15,it=16,at=17,ot=18,st=19,ct=20,lt=21,ut=22,dt=Object.freeze({__proto__:null,ControlledPropUpdatedSelectedItem:ut,FunctionCloseMenu:at,FunctionOpenMenu:it,FunctionReset:lt,FunctionSelectItem:st,FunctionSetHighlightedIndex:ot,FunctionSetInputValue:ct,FunctionToggleMenu:rt,InputBlur:$,InputChange:Ze,InputClick:Qe,InputKeyDownArrowDown:Q,InputKeyDownArrowUp:We,InputKeyDownEnd:qe,InputKeyDownEnter:Xe,InputKeyDownEscape:Ge,InputKeyDownHome:Ke,InputKeyDownPageDown:Ye,InputKeyDownPageUp:Je,ItemClick:tt,ItemMouseMove:et,MenuMouseLeave:$e,ToggleButtonClick:nt});function ft(e){var t=ie(e),n=t.selectedItem,r=t.inputValue;return r===``&&n&&e.defaultInputValue===void 0&&e.initialInputValue===void 0&&e.inputValue===void 0&&(r=e.itemToString(n)),d({},t,{inputValue:r})}var ee=d({});function pt(e,t,n,r){var i=a(),o=useEnhancedReducer(e,t,n,r),c=o[0],l=o[1],u=useIsInitialMount();return s(function(){I(t,`selectedItem`)&&(u||t.itemToKey(t.selectedItem)!==t.itemToKey(i.current)&&l({type:ut,inputValue:t.itemToString(t.selectedItem)}),i.current=c.selectedItem===i.current?t.selectedItem:c.selectedItem)},[c.selectedItem,t.selectedItem]),[A(c,t),l]}var mt=d({},W,{isItemDisabled:function(){return!1}});function ht(e,t,n){var r=n.type,i=n.altKey,a;switch(r){case tt:a={isOpen:V(t,`isOpen`,G),highlightedIndex:J(t),selectedItem:t.items[n.index],inputValue:t.itemToString(t.items[n.index])};break;case Q:a=e.isOpen?{highlightedIndex:R(e.highlightedIndex,1,t.items,t.isItemDisabled,!0)}:{highlightedIndex:i&&e.selectedItem==null?-1:K(t,e,1),isOpen:t.items.length>=0};break;case We:a=e.isOpen?i?q(t,e.highlightedIndex):{highlightedIndex:R(e.highlightedIndex,-1,t.items,t.isItemDisabled,!0)}:{highlightedIndex:K(t,e,-1),isOpen:t.items.length>=0};break;case Xe:a=q(t,e.highlightedIndex);break;case Ge:a=d({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:``});break;case Je:a={highlightedIndex:R(e.highlightedIndex,-10,t.items,t.isItemDisabled,!0)};break;case Ye:a={highlightedIndex:R(e.highlightedIndex,10,t.items,t.isItemDisabled,!0)};break;case Ke:a={highlightedIndex:z(0,!1,t.items,t.isItemDisabled)};break;case qe:a={highlightedIndex:z(t.items.length-1,!0,t.items,t.isItemDisabled)};break;case $:a=d({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&t.items?.length&&n.selectItem&&{selectedItem:t.items[e.highlightedIndex],inputValue:t.itemToString(t.items[e.highlightedIndex])});break;case Ze:a={isOpen:!0,highlightedIndex:J(t),inputValue:n.inputValue};break;case Qe:a={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:K(t,e,0)};break;case st:a={selectedItem:n.selectedItem,inputValue:t.itemToString(n.selectedItem)};break;case ut:a={inputValue:n.inputValue};break;default:return de(e,t,n,dt)}return d({},e,a)}var gt=[`onMouseLeave`,`refKey`,`ref`],_t=[`item`,`index`,`refKey`,`ref`,`onMouseMove`,`onMouseDown`,`onClick`,`onPress`,`disabled`],vt=[`onClick`,`onPress`,`refKey`,`ref`],yt=[`onKeyDown`,`onChange`,`onInput`,`onBlur`,`onChangeText`,`onClick`,`refKey`,`ref`];bt.stateChangeTypes=dt;function bt(t){t===void 0&&(t={}),k(t,bt,propTypes$2);var n=d({},mt,t),r=n.items,o=n.scrollIntoView,c=n.environment,l=n.getA11yStatusMessage,f=pt(ht,n,ft,le),p=f[0],m=f[1],h=p.isOpen,g=p.highlightedIndex,_=p.selectedItem,v=p.inputValue,y=a(null),x=a({}),S=a(null),C=a(null),w=useIsInitialMount(),T=Ie(n),E=a(),D=b({state:p,props:n}),O=e(function(e){return x.current[T.getItemId(e)]},[T]);te(l,p,[h,g,_,v],c);var A=se({menuElement:y.current,highlightedIndex:g,isOpen:h,itemRefs:x,scrollIntoView:o,getItemNodeFromIndex:O});ce({props:n,state:p}),s(function(){H(n,`isOpen`,G)&&S.current&&S.current.focus()},[]),s(function(){w||(E.current=r.length)});var j=ae(c,e(function(){D.current.state.isOpen&&m({type:$})},[m,D]),i(function(){return[y,C,S]},[])),M=oe(`getInputProps`,`getMenuProps`);s(function(){h||(x.current={})},[h]),s(function(){var e;!h||!(c!=null&&c.document)||!(S!=null&&(e=S.current)!=null&&e.focus)||(()=>{let e=c.document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()!==S.current&&S.current.focus()},[h,c]);var N=i(function(){return{ArrowDown:function(e){e.preventDefault(),m({type:Q,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),m({type:We,altKey:e.altKey})},Home:function(e){D.current.state.isOpen&&(e.preventDefault(),m({type:Ke}))},End:function(e){D.current.state.isOpen&&(e.preventDefault(),m({type:qe}))},Escape:function(e){var t=D.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),m({type:Ge}))},Enter:function(e){!D.current.state.isOpen||e.which===229||(e.preventDefault(),m({type:Xe}))},PageUp:function(e){D.current.state.isOpen&&(e.preventDefault(),m({type:Je}))},PageDown:function(e){D.current.state.isOpen&&(e.preventDefault(),m({type:Ye}))}}},[m,D]),I=e(function(e){return d({id:T.labelId,htmlFor:T.inputId},e)},[T]),R=e(function(e,t){var n,r=e===void 0?{}:e,i=r.onMouseLeave,a=r.refKey,o=a===void 0?`ref`:a,s=r.ref,c=u(r,gt),l=(t===void 0?{}:t).suppressRefError;return M(`getMenuProps`,l===void 0?!1:l,o,y),d((n={},n[o]=F(s,function(e){y.current=e}),n.id=T.menuId,n.role=`listbox`,n[`aria-labelledby`]=c&&c[`aria-label`]?void 0:``+T.labelId,n.onMouseLeave=P(i,function(){m({type:$e})}),n),c)},[m,M,T]),z=e(function(e){var t,n,r=e===void 0?{}:e,i=r.item,a=r.index,o=r.refKey,s=o===void 0?`ref`:o,c=r.ref,l=r.onMouseMove,f=r.onMouseDown,p=r.onClick;r.onPress;var h=r.disabled,g=u(r,_t);h!==void 0&&console.warn(`Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.`);var _=D.current,v=_.props,y=_.state,b=getItemAndIndex(i,a,v.items,`Pass either item or index to getItemProps!`),S=b[0],C=b[1],w=v.isItemDisabled(S,C),E=`onClick`,O=p;return d((t={},t[s]=F(c,function(e){e&&(x.current[T.getItemId(C)]=e)}),t[`aria-disabled`]=w,t[`aria-selected`]=C===y.highlightedIndex,t.id=T.getItemId(C),t.role=`option`,t),!w&&(n={},n[E]=P(O,function(){m({type:tt,index:C})}),n),{onMouseMove:P(l,function(){j.isTouchEnd||C===y.highlightedIndex||(A.current=!1,m({type:et,index:C,disabled:w}))}),onMouseDown:P(f,function(e){return e.preventDefault()})},g)},[m,T,D,j,A]),B=e(function(e){var t,n=e===void 0?{}:e,r=n.onClick;n.onPress;var i=n.refKey,a=i===void 0?`ref`:i,o=n.ref,s=u(n,vt),c=D.current.state;return d((t={},t[a]=F(o,function(e){C.current=e}),t[`aria-controls`]=T.menuId,t[`aria-expanded`]=c.isOpen,t.id=T.toggleButtonId,t.tabIndex=-1,t),!s.disabled&&d({},{onClick:P(r,function(){m({type:nt})})}),s)},[m,D,T]),ee=e(function(e,t){var n,r=e===void 0?{}:e,i=r.onKeyDown,a=r.onChange,o=r.onInput,s=r.onBlur;r.onChangeText;var l=r.onClick,f=r.refKey,p=f===void 0?`ref`:f,h=r.ref,g=u(r,yt),_=(t===void 0?{}:t).suppressRefError;M(`getInputProps`,_===void 0?!1:_,p,S);var v=D.current.state,y=function(e){var t=L(e);t&&N[t]&&N[t](e)},b=function(e){m({type:Ze,inputValue:e.target.value})},x=function(e){c!=null&&c.document&&v.isOpen&&!j.isMouseDown&&m({type:$,selectItem:!(e.relatedTarget===null&&(()=>{let e=c.document.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e})()!==c.document.body)})},C=function(){m({type:Qe})},w=`onChange`,E={};if(!g.disabled){var O;E=(O={},O[w]=P(a,o,b),O.onKeyDown=P(i,y),O.onBlur=P(s,x),O.onClick=P(l,C),O)}return d((n={},n[p]=F(h,function(e){S.current=e}),n[`aria-activedescendant`]=v.isOpen&&v.highlightedIndex>-1?T.getItemId(v.highlightedIndex):``,n[`aria-autocomplete`]=`list`,n[`aria-controls`]=T.menuId,n[`aria-expanded`]=v.isOpen,n[`aria-labelledby`]=g&&g[`aria-label`]?void 0:T.labelId,n.autoComplete=`off`,n.id=T.inputId,n.role=`combobox`,n.value=v.inputValue,n),E,g)},[m,T,c,N,D,j,M]),V=e(function(){m({type:rt})},[m]),U=e(function(){m({type:at})},[m]),W=e(function(){m({type:it})},[m]),ne=e(function(e){m({type:ot,highlightedIndex:e})},[m]),re=e(function(e){m({type:st,selectedItem:e})},[m]);return{getItemProps:z,getLabelProps:I,getMenuProps:R,getInputProps:ee,getToggleButtonProps:B,toggleMenu:V,openMenu:W,closeMenu:U,setHighlightedIndex:ne,setInputValue:e(function(e){m({type:ct,inputValue:e})},[m]),selectItem:re,reset:e(function(){m({type:lt})},[m]),highlightedIndex:g,isOpen:h,selectedItem:_,inputValue:v}}var xt={activeIndex:-1,selectedItems:[]};function St(e,t){return H(e,t,xt)}function Ct(e,t){return V(e,t,xt)}function wt(e){return{activeIndex:St(e,`activeIndex`),selectedItems:St(e,`selectedItems`)}}function Tt(e){if(e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)return!1;var t=e.target;return!(t instanceof HTMLInputElement&&t.value!==``&&(t.selectionStart!==0||t.selectionEnd!==0))}function Et(e,t){return e.selectedItems===t.selectedItems&&e.activeIndex===t.activeIndex}var ee=d({}),Dt={itemToKey:W.itemToKey,stateReducer:W.stateReducer,environment:W.environment,keyNavigationNext:`ArrowRight`,keyNavigationPrevious:`ArrowLeft`},Ot=O,kt=0,At=1,jt=2,Mt=3,Nt=4,Pt=5,Ft=6,It=7,Lt=8,Rt=9,zt=10,Bt=11,Vt=12,Ht=Object.freeze({__proto__:null,DropdownClick:It,DropdownKeyDownBackspace:Ft,DropdownKeyDownNavigationPrevious:Pt,FunctionAddSelectedItem:Lt,FunctionRemoveSelectedItem:Rt,FunctionReset:Vt,FunctionSetActiveIndex:Bt,FunctionSetSelectedItems:zt,SelectedItemClick:kt,SelectedItemKeyDownBackspace:jt,SelectedItemKeyDownDelete:At,SelectedItemKeyDownNavigationNext:Mt,SelectedItemKeyDownNavigationPrevious:Nt});function Ut(e,t,n){var r=n.type,i=n.index,a=n.selectedItem,o=e.activeIndex,s=e.selectedItems,c;switch(r){case kt:c={activeIndex:i};break;case Nt:c={activeIndex:o-1<0?0:o-1};break;case Mt:c={activeIndex:o+1>=s.length?-1:o+1};break;case jt:case At:if(o<0)break;var l=o;s.length===1?l=-1:o===s.length-1&&(l=s.length-2),c=d({selectedItems:[].concat(s.slice(0,o),s.slice(o+1))},{activeIndex:l});break;case Pt:c={activeIndex:s.length-1};break;case Ft:c={selectedItems:s.slice(0,s.length-1)};break;case Lt:c={selectedItems:[].concat(s,[a])};break;case It:c={activeIndex:-1};break;case Rt:var u=o,f=s.findIndex(function(e){return t.itemToKey(e)===t.itemToKey(a)});if(f<0)break;s.length===1?u=-1:f===s.length-1&&(u=s.length-2),c={selectedItems:[].concat(s.slice(0,f),s.slice(f+1)),activeIndex:u};break;case zt:c={selectedItems:n.selectedItems};break;case Bt:c={activeIndex:n.activeIndex};break;case Vt:c={activeIndex:Ct(t,`activeIndex`),selectedItems:Ct(t,`selectedItems`)};break;default:throw Error(`Reducer called without proper action type.`)}return d({},e,c)}var Wt=[`refKey`,`ref`,`onClick`,`onKeyDown`,`selectedItem`,`index`],Gt=[`refKey`,`ref`,`onKeyDown`,`onClick`,`preventKeyAction`];Kt.stateChangeTypes=Ht;function Kt(t){t===void 0&&(t={}),Ot(t,Kt);var n=d({},Dt,t),r=n.getA11yStatusMessage,o=n.environment,c=n.keyNavigationNext,l=n.keyNavigationPrevious,f=useControlledReducer$1(Ut,n,wt,Et),p=f[0],m=f[1],h=p.activeIndex,g=p.selectedItems,_=useIsInitialMount(),v=a(null),y=a();y.current=[];var x=b({state:p,props:n});te(r,p,[h,g],o),s(function(){_||(h===-1&&v.current?v.current.focus():y.current[h]&&y.current[h].focus())},[h]),ce({props:n,state:p});var S=oe(`getDropdownProps`),C=i(function(){var e;return e={},e[l]=function(){m({type:Nt})},e[c]=function(){m({type:Mt})},e.Delete=function(){m({type:At})},e.Backspace=function(){m({type:jt})},e},[m,c,l]),w=i(function(){var e;return e={},e[l]=function(e){Tt(e)&&m({type:Pt})},e.Backspace=function(e){Tt(e)&&m({type:Ft})},e},[m,l]);return{getSelectedItemProps:e(function(e){var t,n=e===void 0?{}:e,r=n.refKey,i=r===void 0?`ref`:r,a=n.ref,o=n.onClick,s=n.onKeyDown,c=n.selectedItem,l=n.index,f=u(n,Wt),p=x.current.state,h=getItemAndIndex(c,l,p.selectedItems,`Pass either item or index to getSelectedItemProps!`)[1],g=h>-1&&h===p.activeIndex;return d((t={},t[i]=F(a,function(e){e&&y.current.push(e)}),t.tabIndex=g?0:-1,t.onClick=P(o,function(){m({type:kt,index:h})}),t.onKeyDown=P(s,function(e){var t=L(e);t&&C[t]&&C[t](e)}),t),f)},[m,x,C]),getDropdownProps:e(function(e,t){var n,r=e===void 0?{}:e,i=r.refKey,a=i===void 0?`ref`:i,o=r.ref,s=r.onKeyDown,c=r.onClick,l=r.preventKeyAction,f=l===void 0?!1:l,p=u(r,Gt),h=(t===void 0?{}:t).suppressRefError;return S(`getDropdownProps`,h===void 0?!1:h,a,v),d((n={},n[a]=F(o,function(e){e&&(v.current=e)}),n),!f&&{onKeyDown:P(s,function(e){var t=L(e);t&&w[t]&&w[t](e)}),onClick:P(c,function(){m({type:It})})},p)},[m,w,S]),addSelectedItem:e(function(e){m({type:Lt,selectedItem:e})},[m]),removeSelectedItem:e(function(e){m({type:Rt,selectedItem:e})},[m]),setSelectedItems:e(function(e){m({type:zt,selectedItems:e})},[m]),setActiveIndex:e(function(e){m({type:Bt,activeIndex:e})},[m]),reset:e(function(){m({type:Vt})},[m]),selectedItems:g,activeIndex:h}}var qt=0,Jt=1,Yt=2,Xt=3,Zt=4,Qt=5,$t=6,en=Object.freeze({__proto__:null,FunctionAddItem:$t,TagClick:qt,TagGroupKeyDownArrowLeft:Jt,TagGroupKeyDownArrowRight:Yt,TagGroupKeyDownBackspace:Zt,TagGroupKeyDownDelete:Xt,TagRemoveClick:Qt});function tn(e,t,n){var r=n.type,i;switch(r){case qt:i={activeIndex:n.index};break;case Jt:i={activeIndex:e.activeIndex===0?e.items.length-1:e.activeIndex-1};break;case Yt:i={activeIndex:e.activeIndex===e.items.length-1?0:e.activeIndex+1};break;case Zt:case Xt:var a=[].concat(e.items.slice(0,e.activeIndex),e.items.slice(e.activeIndex+1)),o=a.length===0?-1:a.length===e.activeIndex?e.activeIndex-1:e.activeIndex;i={items:[].concat(e.items.slice(0,e.activeIndex),e.items.slice(e.activeIndex+1)),activeIndex:o};break;case Qt:var s=[].concat(e.items.slice(0,n.index),e.items.slice(n.index+1));i={items:s,activeIndex:s.length===0?-1:s.length===n.index?n.index-1:n.index};break;case $t:var c=[];c=n.index===void 0?[].concat(e.items,[n.item]):[].concat(e.items.slice(0,n.index),[n.item],e.items.slice(n.index));var l=e.activeIndex===-1?c.length-1:e.activeIndex;i={items:c,activeIndex:l};break;default:throw Error(`Invalid useTagGroup reducer action.`)}return d({},e,i)}var nn=d({},n).useId,rn=typeof nn==`function`?an:on;function an(e){var t=e.id,n=e.tagGroupId,r=e.getTagId,a=`downshift-`+nn();return t||=a,i(function(){return{tagGroupId:n??t+`-tag-group`,getTagId:r??function(e){return t+`-tag-`+e}}},[r,t,n])}function on(e){var t=e.id,n=e.getTagId,r=e.tagGroupId,o=a(t??`downshift-`+y()).current;return i(function(){return{tagGroupId:r??o+`-tag-group`,getTagId:n??function(e){return o+`-tag-`+e}}},[n,o,r])}function sn(e){var t=e.items??e.initialItems??[];return{activeIndex:e.activeIndex??e.initialActiveIndex??(t.length===0?-1:0),items:t}}function cn(e,t){return e.activeIndex===t.activeIndex&&e.items===t.items}var ln=`tag-group-a11y-description`;function un(e,t){s(function(){if(e){var n=e.createElement(`div`);return n.setAttribute(`id`,ln),n.style.display=`none`,n.textContent=t,e.body.appendChild(n),function(){n.remove()}}},[t,e])}function dn(e){return d({stateReducer:function(e,t){return t.changes},environment:typeof window>`u`?void 0:window,removeElementDescription:`Press Delete or Backspace to remove tag.`},e)}function fn(e,t,n){var r=a({}),i=a(e),o=a(t);return s(function(){if(e!==-1&&i.current!==-1&&e!==i.current||o.current===t+1){var a;(a=r.current[n(e)])==null||a.focus()}i.current=e,o.current=t},[e,n,t]),r}var ee=d({}),pn=[`onKeyDown`],mn=[`index`,`refKey`,`ref`,`onClick`],hn=[`index`,`onClick`],gn=function(t){t===void 0&&(t={}),k(t,gn,ee);var n=dn(t),r=useControlledReducer$1(tn,n,sn,cn),i=r[0],a=r[1],o=i.activeIndex,s=i.items,c=b({state:i,props:n}),l=rn({getTagId:n.getTagId,id:n.id,tagGroupId:n.tagGroupId});un(n.environment?.document,n.removeElementDescription);var f=fn(o,s.length,l.getTagId),p=e(function(e){var t=e??{},n=t.onKeyDown,r=u(t,pn);return d({id:l.tagGroupId,"aria-live":`polite`,"aria-atomic":`false`,"aria-relevant":`additions`,role:`listbox`,onKeyDown:S(n,function(e){switch(e.key){case`ArrowLeft`:a({type:Jt});break;case`ArrowRight`:a({type:Yt});break;case`Delete`:a({type:Xt});break;case`Backspace`:a({type:Zt});break}})},r)},[a,l.tagGroupId]),m=e(function(e){var t,n=e.index,r=e.refKey,i=r===void 0?`ref`:r,o=e.ref,s=e.onClick,p=u(e,mn);if(!Number.isInteger(n)||n<0)throw Error(`Pass correct item index to getTagProps!`);var m=c.current.state,h=function(){a({type:qt,index:n})},g=l.getTagId(n);return d((t={"aria-describedby":ln},t[i]=x(o,function(e){e&&(f.current[g]=e)}),t[`aria-labelledby`]=g,t.role=`option`,t.id=g,t.onClick=S(s,h),t.tabIndex=m.activeIndex===n?0:-1,t),p)},[a,l,c,f]),h=e(function(e){var t=e.index,n=e.onClick,r=u(e,hn);if(!Number.isInteger(t)||t<0)throw Error(`Pass correct item index to getTagRemoveProps!`);var i=function(e){e.stopPropagation(),a({type:Qt,index:t})},o=l.getTagId(t),s=o+`-remove`;return d({id:s,tabIndex:-1,"aria-labelledby":s+` `+o,onClick:S(n,i)},r)},[l,a]);return{activeIndex:o,addItem:e(function(e,t){a({type:$t,item:e,index:t})},[a]),getTagGroupProps:p,getTagProps:m,getTagRemoveProps:h,items:s}};gn.stateChangeTypes=en;export{Ue as n,l as r,bt as t};
@@ -1,4 +1,4 @@
1
- import{_ as e,b as t,d as n,s as r,v as i,w as a}from"./register-CcKBKePR.js";n();function o(e,t,n){let r=n.initialDeps??[],i,a=!0;function o(){let o;n.key&&n.debug?.call(n)&&(o=Date.now());let s=e();if(!(s.length!==r.length||s.some((e,t)=>r[t]!==e)))return i;r=s;let c;if(n.key&&n.debug?.call(n)&&(c=Date.now()),i=t(...s),n.key&&n.debug?.call(n)){let e=Math.round((Date.now()-o)*100)/100,t=Math.round((Date.now()-c)*100)/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=` `+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`
1
+ import{_ as e,b as t,d as n,s as r,v as i,w as a}from"./register-BwBRWJD3.js";n();function o(e,t,n){let r=n.initialDeps??[],i,a=!0;function o(){let o;n.key&&n.debug?.call(n)&&(o=Date.now());let s=e();if(!(s.length!==r.length||s.some((e,t)=>r[t]!==e)))return i;r=s;let c;if(n.key&&n.debug?.call(n)&&(c=Date.now()),i=t(...s),n.key&&n.debug?.call(n)){let e=Math.round((Date.now()-o)*100)/100,t=Math.round((Date.now()-c)*100)/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length<t;)e=` `+e;return e};console.info(`%c⏱ ${i(t,5)} /${i(e,5)} ms`,`
2
2
  font-size: .6rem;
3
3
  font-weight: bold;
4
4
  color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,n?.key)}return n?.onChange&&!(a&&n.skipInitialOnChange)&&n.onChange(i),a=!1,i}return o.updateDeps=e=>{r=e},o}function s(e,t){if(e===void 0)throw Error(`Unexpected undefined${t?`: ${t}`:``}`);return e}const c=(e,t)=>Math.abs(e-t)<1.01,l=(e,t,n)=>{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,i),n)}},u=e=>{let{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},d=e=>e,f=e=>{let t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=n;e++)r.push(e);return r},p=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=e=>{let{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(u(n)),!r.ResizeObserver)return()=>{};let a=new r.ResizeObserver(t=>{let r=()=>{let e=t[0];if(e?.borderBoxSize){let t=e.borderBoxSize[0];if(t){i({width:t.inlineSize,height:t.blockSize});return}}i(u(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(r):r()});return a.observe(n,{box:`border-box`}),()=>{a.unobserve(n)}},m={passive:!0},h=typeof window>`u`?!0:`onscrollend`in window,g=(e,t)=>{let n=e.scrollElement;if(!n)return;let r=e.targetWindow;if(!r)return;let i=0,a=e.options.useScrollendEvent&&h?()=>void 0:l(r,()=>{t(i,!1)},e.options.isScrollingResetDelay),o=r=>()=>{let{horizontal:o,isRtl:s}=e.options;i=o?n.scrollLeft*(s&&-1||1):n.scrollTop,a(),t(i,r)},s=o(!0),c=o(!1);n.addEventListener(`scroll`,s,m);let u=e.options.useScrollendEvent&&h;return u&&n.addEventListener(`scrollend`,c,m),()=>{n.removeEventListener(`scroll`,s),u&&n.removeEventListener(`scrollend`,c)}},_=(e,t,n)=>{if(t?.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[n.options.horizontal?`inlineSize`:`blockSize`])}return e[n.options.horizontal?`offsetWidth`:`offsetHeight`]},v=(e,{adjustments:t=0,behavior:n},r)=>{var i,a;let o=e+t;(a=(i=r.scrollElement)?.scrollTo)==null||a.call(i,{[r.options.horizontal?`left`:`top`]:o,behavior:n})};var y=class{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.laneAssignments=new Map,this.pendingMeasuredCacheIndexes=[],this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.now=()=>{var e;return((e=this.targetWindow?.performance)?.now)?.call(e)??Date.now()},this.observer=(()=>{let e=null,t=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{let t=()=>{let t=e.target,n=this.indexFromElement(t);if(!t.isConnected){this.observer.unobserve(t);return}this.shouldMeasureDuringScroll(n)&&this.resizeItem(n,this.options.measureElement(t,e,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}));return{disconnect:()=>{var n;(n=t())==null||n.disconnect(),e=null},observe:e=>t()?.observe(e,{box:`border-box`}),unobserve:e=>t()?.unobserve(e)}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,n])=>{n===void 0&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:d,rangeExtractor:f,onChange:()=>{},measureElement:_,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:`data-index`,initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:`estimate`,...e}},this.notify=e=>{var t,n;(n=(t=this.options).onChange)==null||n.call(t,this,e)},this.maybeNotify=o(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{let e=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==e){if(this.cleanup(),!e){this.maybeNotify();return}this.scrollElement=e,this.scrollElement&&`ownerDocument`in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=this.scrollElement?.window??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?`forward`:`backward`:null,this.scrollOffset=e,this.isScrolling=t,this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?`width`:`height`]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset==`function`?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let n=new Map,r=new Map;for(let i=t-1;i>=0;i--){let t=e[i];if(n.has(t.lane))continue;let a=r.get(t.lane);if(a==null||t.end>a.end?r.set(t.lane,t):t.end<a.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=o(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode],(e,t,n,r,i,a,o)=>(this.prevLanes!==void 0&&this.prevLanes!==a&&(this.lanesChangedFlag=!0),this.prevLanes=a,this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o}),{key:!1}),this.getMeasurements=o(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i,lanes:a,laneAssignmentMode:o},s)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>e)for(let t of this.laneAssignments.keys())t>=e&&this.laneAssignments.delete(t);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMeasuredCacheIndexes=[]),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let c=this.lanesSettling?0:this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[],this.lanesSettling&&this.measurementsCache.length===e&&(this.lanesSettling=!1);let l=this.measurementsCache.slice(0,c),u=Array(a).fill(void 0);for(let e=0;e<c;e++){let t=l[e];t&&(u[t.lane]=e)}for(let i=c;i<e;i++){let e=r(i),a=this.laneAssignments.get(i),c,d,f=o===`estimate`||s.has(e);if(a!==void 0&&this.options.lanes>1){c=a;let e=u[c],r=e===void 0?void 0:l[e];d=r?r.end+this.options.gap:t+n}else{let e=this.options.lanes===1?l[i-1]:this.getFurthestMeasurement(l,i);d=e?e.end+this.options.gap:t+n,c=e?e.lane:i%this.options.lanes,this.options.lanes>1&&f&&this.laneAssignments.set(i,c)}let p=s.get(e),m=typeof p==`number`?p:this.options.estimateSize(i),h=d+m;l[i]={index:i,start:d,size:m,end:h,key:e,lane:c},u[c]=i}return this.measurementsCache=l,l},{key:!1,debug:()=>this.options.debug}),this.calculateRange=o(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,n,r)=>this.range=e.length>0&&t>0?x({measurements:e,outerSize:t,scrollOffset:n,lanes:r}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=o(()=>{let e=null,t=null,n=this.calculateRange();return n&&(e=n.startIndex,t=n.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,n,r,i)=>r===null||i===null?[]:e({startIndex:r,endIndex:i,overscan:t,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=e=>{if(!this.scrollState||this.scrollState.behavior!==`smooth`)return!0;let t=this.scrollState.index??this.getVirtualItemForOffset(this.scrollState.lastTargetOffset)?.index;if(t!==void 0&&this.range){let n=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),r=Math.max(0,t-n),i=Math.min(this.options.count-1,t+n);return e>=r&&e<=i}return!0},this.measureElement=e=>{if(!e){this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});return}let t=this.indexFromElement(e),n=this.options.getItemKey(t),r=this.elementsCache.get(n);r!==e&&(r&&this.observer.unobserve(r),this.observer.observe(e),this.elementsCache.set(n,e)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(t)&&this.resizeItem(t,this.options.measureElement(e,void 0,this))},this.resizeItem=(e,t)=>{let n=this.measurementsCache[e];if(!n)return;let r=t-(this.itemSizeCache.get(n.key)??n.size);r!==0&&(this.scrollState?.behavior!==`smooth`&&(this.shouldAdjustScrollPositionOnItemSizeChange===void 0?n.start<this.getScrollOffset()+this.scrollAdjustments:this.shouldAdjustScrollPositionOnItemSizeChange(n,r,this))&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=r,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!1))},this.getVirtualItems=o(()=>[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{let n=[];for(let r=0,i=e.length;r<i;r++){let i=t[e[r]];n.push(i)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(t.length!==0)return s(t[b(0,t.length-1,e=>s(t[e]).start,e)])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if(`scrollHeight`in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{let e=this.scrollElement.document.documentElement;return this.options.horizontal?e.scrollWidth-this.scrollElement.innerWidth:e.scrollHeight-this.scrollElement.innerHeight}},this.getOffsetForAlignment=(e,t,n=0)=>{if(!this.scrollElement)return 0;let r=this.getSize(),i=this.getScrollOffset();t===`auto`&&(t=e>=i+r?`end`:`start`),t===`center`?e+=(n-r)/2:t===`end`&&(e-=r);let a=this.getMaxScrollOffset();return Math.max(Math.min(a,e),0)},this.getOffsetForIndex=(e,t=`auto`)=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.getSize(),r=this.getScrollOffset(),i=this.measurementsCache[e];if(!i)return;if(t===`auto`)if(i.end>=r+n-this.options.scrollPaddingEnd)t=`end`;else if(i.start<=r+this.options.scrollPaddingStart)t=`start`;else return[r,t];if(t===`end`&&e===this.options.count-1)return[this.getMaxScrollOffset(),t];let a=t===`end`?i.end+this.options.scrollPaddingEnd:i.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,t,i.size),t]},this.scrollToOffset=(e,{align:t=`start`,behavior:n=`auto`}={})=>{let r=this.getOffsetForAlignment(e,t),i=this.now();this.scrollState={index:null,align:t,behavior:n,startedAt:i,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.scrollToIndex=(e,{align:t=`auto`,behavior:n=`auto`}={})=>{e=Math.max(0,Math.min(e,this.options.count-1));let r=this.getOffsetForIndex(e,t);if(!r)return;let[i,a]=r,o=this.now();this.scrollState={index:e,align:a,behavior:n,startedAt:o,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:n}),this.scheduleScrollReconcile()},this.scrollBy=(e,{behavior:t=`auto`}={})=>{let n=this.getScrollOffset()+e,r=this.now();this.scrollState={index:null,align:`start`,behavior:t,startedAt:r,lastTargetOffset:n,stableFrames:0},this._scrollToOffset(n,{adjustments:void 0,behavior:t}),this.scheduleScrollReconcile()},this.getTotalSize=()=>{let e=this.getMeasurements(),t;if(e.length===0)t=this.options.paddingStart;else if(this.options.lanes===1)t=e[e.length-1]?.end??0;else{let n=Array(this.options.lanes).fill(null),r=e.length-1;for(;r>=0&&n.some(e=>e===null);){let t=e[r];n[t.lane]===null&&(n[t.lane]=t.end),r--}t=Math.max(...n.filter(e=>e!==null))}return Math.max(t-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.laneAssignments=new Map,this.notify(!1)},this.setOptions(e)}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId??=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()})}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}let e=this.scrollState.index==null?void 0:this.getOffsetForIndex(this.scrollState.index,this.scrollState.align),t=e?e[0]:this.scrollState.lastTargetOffset,n=t!==this.scrollState.lastTargetOffset;if(!n&&c(t,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=1){this.scrollState=null;return}}else this.scrollState.stableFrames=0,n&&(this.scrollState.lastTargetOffset=t,this.scrollState.behavior=`auto`,this._scrollToOffset(t,{adjustments:void 0,behavior:`auto`}));this.scheduleScrollReconcile()}};const b=(e,t,n,r)=>{for(;e<=t;){let i=(e+t)/2|0,a=n(i);if(a<r)e=i+1;else if(a>r)t=i-1;else return i}return e>0?e-1:0};function x({measurements:e,outerSize:t,scrollOffset:n,lanes:r}){let i=e.length-1,a=t=>e[t].start;if(e.length<=r)return{startIndex:0,endIndex:i};let o=b(0,i,a,n),s=o;if(r===1)for(;s<i&&e[s].end<n+t;)s++;else if(r>1){let a=Array(r).fill(0);for(;s<i&&a.some(e=>e<n+t);){let t=e[s];a[t.lane]=t.end,s++}let c=Array(r).fill(n+t);for(;o>=0&&c.some(e=>e>=n);){let t=e[o];c[t.lane]=t.start,o--}o=Math.max(0,o-o%r),s=Math.min(i,s+(r-1-s%r))}return{startIndex:o,endIndex:s}}const S=typeof document<`u`?e:a;function C({useFlushSync:e=!0,...n}){let a=t(()=>({}),{})[1],o={...n,onChange:(t,i)=>{var o;e&&i?r(a):a(),(o=n.onChange)==null||o.call(n,t,i)}},[s]=i(()=>new y(o));return s.setOptions(o),S(()=>s._didMount(),[]),S(()=>s._willUpdate()),s}function w(e){return C({observeElementRect:p,observeElementOffset:g,scrollToFn:v,...e})}export{w as t};
@@ -0,0 +1 @@
1
+ import{T as e,d as t,r as n,u as r}from"./register-BwBRWJD3.js";t();const i=t=>r(t)&&t.type!==e?t:n(`span`,{children:t});export{i as t};
@@ -1 +1 @@
1
- import{O as e,a as t,d as n}from"./register-CcKBKePR.js";import{t as r}from"./MaterialIcon-CIzSZ4gT.js";n();const i=t(function(t,n){return e(r,{ref:n,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`,...t})});i.displayName=`@optiaxiom/icons/IconKeyboardArrowDown`;export{i as t};
1
+ import{O as e,a as t,d as n}from"./register-BwBRWJD3.js";import{t as r}from"./MaterialIcon-CGvo31vz.js";n();const i=t(function(t,n){return e(r,{ref:n,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`,...t})});i.displayName=`@optiaxiom/icons/IconKeyboardArrowDown`;export{i as t};
@@ -0,0 +1 @@
1
+ import{A as e}from"./register-BwBRWJD3.js";e(`@layer optiaxiom, optiaxiom.theme, optiaxiom.base, optiaxiom._1mz0s4u, optiaxiom.frggve;`);
@@ -0,0 +1 @@
1
+ import{t as e}from"./dist-B_F5J-c4.js";const[t,n]=e(`@optiaxiom/react/Modal`,{shardRef:{current:null}});export{n,t};
@@ -1 +1 @@
1
- import{O as e,a as t,d as n}from"./register-CcKBKePR.js";import{t as r}from"./MaterialIcon-CIzSZ4gT.js";n();const i=t(function(t,n){return e(r,{ref:n,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`,...t})});i.displayName=`@optiaxiom/icons/IconMoreHoriz`;export{i as t};
1
+ import{O as e,a as t,d as n}from"./register-BwBRWJD3.js";import{t as r}from"./MaterialIcon-CGvo31vz.js";n();const i=t(function(t,n){return e(r,{ref:n,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`,...t})});i.displayName=`@optiaxiom/icons/IconMoreHoriz`;export{i as t};
@@ -1 +1 @@
1
- import{O as e,a as t,d as n}from"./register-CcKBKePR.js";import{t as r}from"./MaterialIcon-CIzSZ4gT.js";n();const i=t(function(t,n){return e(r,{ref:n,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})});i.displayName=`@optiaxiom/icons/IconOpenInNew`;export{i as t};
1
+ import{O as e,a as t,d as n}from"./register-BwBRWJD3.js";import{t as r}from"./MaterialIcon-CGvo31vz.js";n();const i=t(function(t,n){return e(r,{ref:n,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})});i.displayName=`@optiaxiom/icons/IconOpenInNew`;export{i as t};
@@ -2,5 +2,5 @@ import{Hn as e}from"./propTypes-BNb4ZFT2.js";var t=Object.defineProperty,n=Objec
2
2
  display: inline-flex;
3
3
  height: 100%;
4
4
  width: 100%;
5
- }`],d=new CSSStyleSheet,f=`ax`+crypto.getRandomValues(new Uint32Array(1))[0].toString(36);function p(e){let t=document.createElement(`style`);t.appendChild(document.createTextNode(e.replaceAll(/font-family:\s?(Fira Code Variable|InterVariable+);/g,(e,t)=>`font-family: ${f} ${t};`).replaceAll(/url\(["']?([^"')]+)["']?\)/g,(e,t)=>`url("${import.meta.resolve(`./`+t)}")`))),document.head.append(t)}function m(e){u.push(e.replaceAll(/Fira Code Variable|InterVariable/g,e=>`${f} ${e}`)),d.replace(u.join(`
5
+ }`],d=new CSSStyleSheet,f=`ax`+crypto.getRandomValues(new Uint32Array(1))[0].toString(36);function p(e){let t=document.createElement(`style`);t.appendChild(document.createTextNode(e.replaceAll(/font-family:\s?(Roboto Condensed Variable|Roboto Mono Variable|Roboto Variable);/g,(e,t)=>`font-family: ${f} ${t};`).replaceAll(/url\(["']?([^"')]+)["']?\)/g,(e,t)=>`url("${import.meta.resolve(`./`+t)}")`))),document.head.append(t)}function m(e){u.push(e.replaceAll(/Roboto Condensed Variable|Roboto Mono Variable|Roboto Variable/g,e=>`${f} ${e}`)),d.replace(u.join(`
6
6
  `))}function h(e,t){for(var n in t)e[n]=t[n];return e}function g(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function _(e,t,n){var r,i,a,o={};for(a in t)a==`key`?r=t[a]:a==`ref`?i=t[a]:o[a]=t[a];if(arguments.length>2&&(o.children=arguments.length>3?j.call(arguments,2):n),typeof e==`function`&&e.defaultProps!=null)for(a in e.defaultProps)o[a]===void 0&&(o[a]=e.defaultProps[a]);return v(e,o,r,i,null)}function v(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:i??++ge,__i:-1,__u:0};return i==null&&M.vnode!=null&&M.vnode(a),a}function y(){return{current:null}}function b(e){return e.children}function x(e,t){this.props=e,this.context=t}function S(e,t){if(t==null)return e.__?S(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type==`function`?S(e):null}function C(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],i=[],a=h({},t);a.__v=t.__v+1,M.vnode&&M.vnode(a),ae(e.__P,a,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,n??S(t),!!(32&t.__u),i),a.__v=t.__v,a.__.__k[a.__i]=a,se(r,a,i),t.__e=t.__=null,a.__e!=n&&w(a)}}function w(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),w(e)}function T(e){(!e.__d&&(e.__d=!0)&&N.push(e)&&!E.__r++||_e!=M.debounceRendering)&&((_e=M.debounceRendering)||ve)(E)}function E(){try{for(var e,t=1;N.length;)N.length>t&&N.sort(ye),e=N.shift(),t=N.length,C(e)}finally{N.length=E.__r=0}}function ee(e,t,n,r,i,a,o,s,c,l,u){var d,f,p,m,h,g,_,v=r&&r.__k||I,y=t.length;for(c=D(n,t,v,c,y),d=0;d<y;d++)(p=n.__k[d])!=null&&(f=p.__i!=-1&&v[p.__i]||F,p.__i=d,g=ae(e,p,f,i,a,o,s,c,l,u),m=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&ue(f.ref,null,p),u.push(p.ref,p.__c||m,p)),h==null&&m!=null&&(h=m),(_=!!(4&p.__u))||f.__k===p.__k?(c=O(p,c,e,_),_&&f.__e&&(f.__e=null)):typeof p.type==`function`&&g!==void 0?c=g:m&&(c=m.nextSibling),p.__u&=-7);return n.__e=h,c}function D(e,t,n,r,i){var a,o,s,c,l,u=n.length,d=u,f=0;for(e.__k=Array(i),a=0;a<i;a++)(o=t[a])!=null&&typeof o!=`boolean`&&typeof o!=`function`?(typeof o==`string`||typeof o==`number`||typeof o==`bigint`||o.constructor==String?o=e.__k[a]=v(null,o,null,null,null):L(o)?o=e.__k[a]=v(b,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?o=e.__k[a]=v(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):e.__k[a]=o,c=a+f,o.__=e,o.__b=e.__b+1,s=null,(l=o.__i=te(o,n,c,d))!=-1&&(d--,(s=n[l])&&(s.__u|=2)),s==null||s.__v==null?(l==-1&&(i>u?f--:i<u&&f++),typeof o.type!=`function`&&(o.__u|=4)):l!=c&&(l==c-1?f--:l==c+1?f++:(l>c?f--:f++,o.__u|=4))):e.__k[a]=null;if(d)for(a=0;a<u;a++)(s=n[a])!=null&&!(2&s.__u)&&(s.__e==r&&(r=S(s)),de(s,s));return r}function O(e,t,n,r){var i,a;if(typeof e.type==`function`){for(i=e.__k,a=0;i&&a<i.length;a++)i[a]&&(i[a].__=e,t=O(i[a],t,n,r));return t}e.__e!=t&&(r&&(t&&e.type&&!t.parentNode&&(t=S(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t&&=t.nextSibling;while(t!=null&&t.nodeType==8);return t}function k(e,t){return t||=[],e==null||typeof e==`boolean`||(L(e)?e.some(function(e){k(e,t)}):t.push(e)),t}function te(e,t,n,r){var i,a,o,s=e.key,c=e.type,l=t[n],u=l!=null&&(2&l.__u)==0;if(l===null&&s==null||u&&s==l.key&&c==l.type)return n;if(r>+!!u){for(i=n-1,a=n+1;i>=0||a<t.length;)if((l=t[o=i>=0?i--:a++])!=null&&!(2&l.__u)&&s==l.key&&c==l.type)return o}return-1}function ne(e,t,n){t[0]==`-`?e.setProperty(t,n??``):e[t]=n==null?``:typeof n!=`number`||De.test(t)?n:n+`px`}function re(e,t,n,r,i){var a,o;n:if(t==`style`)if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||ne(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||ne(e.style,t,n[t])}else if(t[0]==`o`&&t[1]==`n`)a=t!=(t=t.replace(Se,`$1`)),o=t.toLowerCase(),t=o in e||t==`onFocusOut`||t==`onFocusIn`?o.slice(2):t.slice(2),e.l||={},e.l[t+a]=n,n?r?n[P]=r[P]:(n[P]=Ce,e.addEventListener(t,a?Te:we,a)):e.removeEventListener(t,a?Te:we,a);else{if(i==`http://www.w3.org/2000/svg`)t=t.replace(/xlink(H|:h)/,`h`).replace(/sName$/,`s`);else if(t!=`width`&&t!=`height`&&t!=`href`&&t!=`list`&&t!=`form`&&t!=`tabIndex`&&t!=`download`&&t!=`rowSpan`&&t!=`colSpan`&&t!=`role`&&t!=`popover`&&t in e)try{e[t]=n??``;break n}catch{}typeof n==`function`||(n==null||!1===n&&t[4]!=`-`?e.removeAttribute(t):e.setAttribute(t,t==`popover`&&n==1?``:n))}}function ie(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t[xe]==null)t[xe]=Ce++;else if(t[xe]<n[P])return;return n(M.event?M.event(t):t)}}}function ae(e,t,n,r,i,a,o,s,c,l){var u,d,f,p,m,_,v,y,S,C,w,T,E,D,O,k=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(c=!!(32&n.__u),a=[s=t.__e=n.__e]),(u=M.__b)&&u(t);n:if(typeof k==`function`)try{if(y=t.props,S=k.prototype&&k.prototype.render,C=(u=k.contextType)&&r[u.__c],w=u?C?C.props.value:u.__:r,n.__c?v=(d=t.__c=n.__c).__=d.__E:(S?t.__c=d=new k(y,w):(t.__c=d=new x(y,w),d.constructor=k,d.render=fe),C&&C.sub(d),d.state||={},d.__n=r,f=d.__d=!0,d.__h=[],d._sb=[]),S&&d.__s==null&&(d.__s=d.state),S&&k.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=h({},d.__s)),h(d.__s,k.getDerivedStateFromProps(y,d.__s))),p=d.props,m=d.state,d.__v=t,f)S&&k.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),S&&d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(S&&k.getDerivedStateFromProps==null&&y!==p&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(y,w),t.__v==n.__v||!d.__e&&d.shouldComponentUpdate!=null&&!1===d.shouldComponentUpdate(y,d.__s,w)){t.__v!=n.__v&&(d.props=y,d.state=d.__s,d.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),I.push.apply(d.__h,d._sb),d._sb=[],d.__h.length&&o.push(d);break n}d.componentWillUpdate!=null&&d.componentWillUpdate(y,d.__s,w),S&&d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(p,m,_)})}if(d.context=w,d.props=y,d.__P=e,d.__e=!1,T=M.__r,E=0,S)d.state=d.__s,d.__d=!1,T&&T(t),u=d.render(d.props,d.state,d.context),I.push.apply(d.__h,d._sb),d._sb=[];else do d.__d=!1,T&&T(t),u=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++E<25);d.state=d.__s,d.getChildContext!=null&&(r=h(h({},r),d.getChildContext())),S&&!f&&d.getSnapshotBeforeUpdate!=null&&(_=d.getSnapshotBeforeUpdate(p,m)),D=u!=null&&u.type===b&&u.key==null?ce(u.props.children):u,s=ee(e,L(D)?D:[D],t,n,r,i,a,o,s,c,l),d.base=t.__e,t.__u&=-161,d.__h.length&&o.push(d),v&&(d.__E=d.__=null)}catch(e){if(t.__v=null,c||a!=null)if(e.then){for(t.__u|=c?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;a[a.indexOf(s)]=null,t.__e=s}else{for(O=a.length;O--;)g(a[O]);oe(t)}else t.__e=n.__e,t.__k=n.__k,e.then||oe(t);M.__e(e,t,n)}else a==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):s=t.__e=le(n.__e,t,n,r,i,a,o,c,l);return(u=M.diffed)&&u(t),128&t.__u?void 0:s}function oe(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(oe))}function se(e,t,n){for(var r=0;r<n.length;r++)ue(n[r],n[++r],n[++r]);M.__c&&M.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){M.__e(e,t.__v)}})}function ce(e){return typeof e!=`object`||!e||e.__b>0?e:L(e)?e.map(ce):h({},e)}function le(e,t,n,r,i,a,o,s,c){var l,u,d,f,p,m,h,_=n.props||F,v=t.props,y=t.type;if(y==`svg`?i=`http://www.w3.org/2000/svg`:y==`math`?i=`http://www.w3.org/1998/Math/MathML`:i||=`http://www.w3.org/1999/xhtml`,a!=null){for(l=0;l<a.length;l++)if((p=a[l])&&`setAttribute`in p==!!y&&(y?p.localName==y:p.nodeType==3)){e=p,a[l]=null;break}}if(e==null){if(y==null)return document.createTextNode(v);e=document.createElementNS(i,y,v.is&&v),s&&=(M.__m&&M.__m(t,a),!1),a=null}if(y==null)_===v||s&&e.data==v||(e.data=v);else{if(a&&=j.call(e.childNodes),!s&&a!=null)for(_={},l=0;l<e.attributes.length;l++)_[(p=e.attributes[l]).name]=p.value;for(l in _)p=_[l],l==`dangerouslySetInnerHTML`?d=p:l==`children`||l in v||l==`value`&&`defaultValue`in v||l==`checked`&&`defaultChecked`in v||re(e,l,null,p,i);for(l in v)p=v[l],l==`children`?f=p:l==`dangerouslySetInnerHTML`?u=p:l==`value`?m=p:l==`checked`?h=p:s&&typeof p!=`function`||_[l]===p||re(e,l,p,_[l],i);if(u)s||d&&(u.__html==d.__html||u.__html==e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(d&&(e.innerHTML=``),ee(t.type==`template`?e.content:e,L(f)?f:[f],t,n,r,y==`foreignObject`?`http://www.w3.org/1999/xhtml`:i,a,o,a?a[0]:n.__k&&S(n,0),s,c),a!=null)for(l=a.length;l--;)g(a[l]);s||(l=`value`,y==`progress`&&m==null?e.removeAttribute(`value`):m!=null&&(m!==e[l]||y==`progress`&&!m||y==`option`&&m!=_[l])&&re(e,l,m,_[l],i),l=`checked`,h!=null&&h!=e[l]&&re(e,l,h,_[l],i))}return e}function ue(e,t,n){try{if(typeof e==`function`){var r=typeof e.__u==`function`;r&&e.__u(),r&&t==null||(e.__u=e(t))}else e.current=t}catch(e){M.__e(e,n)}}function de(e,t,n){var r,i;if(M.unmount&&M.unmount(e),(r=e.ref)&&(r.current&&r.current!=e.__e||ue(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){M.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&de(r[i],t,n||typeof e.type!=`function`);n||g(e.__e),e.__c=e.__=e.__e=void 0}function fe(e,t,n){return this.constructor(e,n)}function A(e,t,n){var r,i,a,o;t==document&&(t=document.documentElement),M.__&&M.__(e,t),i=(r=typeof n==`function`)?null:n&&n.__k||t.__k,a=[],o=[],ae(t,e=(!r&&n||t).__k=_(b,null,[e]),i||F,F,t.namespaceURI,!r&&n?[n]:i?null:t.firstChild?j.call(t.childNodes):null,a,!r&&n?n:i?i.__e:t.firstChild,r,o),se(a,e,o)}function pe(e,t){A(e,t,pe)}function me(e,t,n){var r,i,a,o,s=h({},e.props);for(a in e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)a==`key`?r=t[a]:a==`ref`?i=t[a]:s[a]=t[a]===void 0&&o!=null?o[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?j.call(arguments,2):n),v(e.type,s,r||e.key,i||e.ref,null)}function he(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,T(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c=`__cC`+ Ee++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}var j,M,ge,N,_e,ve,ye,be,xe,P,Se,Ce,we,Te,Ee,F,I,De,L,Oe=a((()=>{F={},I=[],De=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,L=Array.isArray,j=I.slice,M={__e:function(e,t,n,r){for(var i,a,o;t=t.__;)if((i=t.__c)&&!i.__)try{if((a=i.constructor)&&a.getDerivedStateFromError!=null&&(i.setState(a.getDerivedStateFromError(e)),o=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,r||{}),o=i.__d),o)return i.__E=i}catch(t){e=t}throw e}},ge=0,x.prototype.setState=function(e,t){var n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=h({},this.state);typeof e==`function`&&(e=e(h({},n),this.props)),e&&h(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),T(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),T(this))},x.prototype.render=b,N=[],ve=typeof Promise==`function`?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ye=function(e,t){return e.__v.__b-t.__v.__b},E.__r=0,be=Math.random().toString(8),xe=`__d`+be,P=`__a`+be,Se=/(PointerCapture)$|Capture$/i,Ce=0,we=ie(!1),Te=ie(!0),Ee=0}));function R(e,t){q.__h&&q.__h(G,e,K||t),K=0;var n=G.__H||={__:[],__h:[]};return e>=n.__.length&&n.__.push({}),n.__[e]}function z(e){return K=1,B(Ve,e)}function B(e,t,n){var r=R(W++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Ve(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=G,!G.__f)){var i=function(e,t,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter(function(e){return e.__c});if(i.every(function(e){return!e.__N}))return!a||a.call(this,e,t,n);var o=r.__c.props!==e;return i.some(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),a&&a.call(this,e,t,n)||o};G.__f=!0;var a=G.shouldComponentUpdate,o=G.componentWillUpdate;G.componentWillUpdate=function(e,t,n){if(this.__e){var r=a;a=void 0,i(e,t,n),a=r}o&&o.call(this,e,t,n)},G.shouldComponentUpdate=i}return r.__N||r.__}function V(e,t){var n=R(W++,3);!q.__s&&Be(n.__H,t)&&(n.__=e,n.u=t,G.__H.__h.push(n))}function H(e,t){var n=R(W++,4);!q.__s&&Be(n.__H,t)&&(n.__=e,n.u=t,G.__h.push(n))}function ke(e){return K=5,U(function(){return{current:e}},[])}function Ae(e,t,n){K=6,H(function(){if(typeof e==`function`){var n=e(t());return function(){e(null),n&&typeof n==`function`&&n()}}if(e)return e.current=t(),function(){return e.current=null}},n==null?n:n.concat(e))}function U(e,t){var n=R(W++,7);return Be(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function je(e,t){return K=8,U(function(){return e},t)}function Me(e){var t=G.context[e.__c],n=R(W++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(G)),t.props.value):e.__}function Ne(e,t){q.useDebugValue&&q.useDebugValue(t?t(e):e)}function Pe(e){var t=R(W++,10),n=z();return t.__=e,G.componentDidCatch||=function(e,r){t.__&&t.__(e,r),n[1](e)},[n[0],function(){n[1](void 0)}]}function Fe(){var e=R(W++,11);if(!e.__){for(var t=G.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||=[0,0];e.__=`P`+n[0]+`-`+ n[1]++}return e.__}function Ie(){for(var e;e=We.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(Re),t.__h.some(ze),t.__h=[]}catch(n){t.__h=[],q.__e(n,e.__v)}}}function Le(e){var t,n=function(){clearTimeout(r),Ze&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Ze&&(t=requestAnimationFrame(n))}function Re(e){var t=G,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),G=t}function ze(e){var t=G;e.__c=e.__(),G=t}function Be(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Ve(e,t){return typeof t==`function`?t(e):t}var W,G,He,Ue,K,We,q,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe=a((()=>{Oe(),K=0,We=[],q=M,Ge=q.__b,Ke=q.__r,qe=q.diffed,Je=q.__c,Ye=q.unmount,Xe=q.__,q.__b=function(e){G=null,Ge&&Ge(e)},q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Xe&&Xe(e,t)},q.__r=function(e){Ke&&Ke(e),W=0;var t=(G=e.__c).__H;t&&(He===G?(t.__h=[],G.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(Re),t.__h.some(ze),t.__h=[],W=0)),He=G},q.diffed=function(e){qe&&qe(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(We.push(t)!==1&&Ue===q.requestAnimationFrame||((Ue=q.requestAnimationFrame)||Le)(Ie)),t.__H.__.some(function(e){e.u&&(e.__H=e.u),e.u=void 0})),He=G=null},q.__c=function(e,t){t.some(function(e){try{e.__h.some(Re),e.__h=e.__h.filter(function(e){return!e.__||ze(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],q.__e(n,e.__v)}}),Je&&Je(e,t)},q.unmount=function(e){Ye&&Ye(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{Re(e)}catch(e){t=e}}),n.__H=void 0,t&&q.__e(t,n.__v))},Ze=typeof requestAnimationFrame==`function`})),$e=s({Children:()=>Dt,Component:()=>x,Fragment:()=>b,PureComponent:()=>st,StrictMode:()=>b,Suspense:()=>J,SuspenseList:()=>Y,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Ut,cloneElement:()=>Z,createContext:()=>he,createElement:()=>_,createFactory:()=>yt,createPortal:()=>gt,createRef:()=>y,default:()=>Jt,findDOMNode:()=>Ct,flushSync:()=>Kt,forwardRef:()=>lt,hydrate:()=>vt,isElement:()=>qt,isFragment:()=>bt,isMemo:()=>xt,isValidElement:()=>X,lazy:()=>pt,memo:()=>ct,render:()=>_t,startTransition:()=>it,unmountComponentAtNode:()=>St,unstable_batchedUpdates:()=>Gt,useCallback:()=>je,useContext:()=>Me,useDebugValue:()=>Ne,useDeferredValue:()=>at,useEffect:()=>V,useErrorBoundary:()=>Pe,useId:()=>Fe,useImperativeHandle:()=>Ae,useInsertionEffect:()=>Q,useLayoutEffect:()=>H,useMemo:()=>U,useReducer:()=>B,useRef:()=>ke,useState:()=>z,useSyncExternalStore:()=>nt,useTransition:()=>ot,version:()=>Wt});function et(e,t){for(var n in t)e[n]=t[n];return e}function tt(e,t){for(var n in e)if(n!==`__source`&&!(n in t))return!0;for(var r in t)if(r!==`__source`&&e[r]!==t[r])return!0;return!1}function nt(e,t){var n=t(),r=z({t:{__:n,u:t}}),i=r[0].t,a=r[1];return H(function(){i.__=n,i.u=t,rt(i)&&a({t:i})},[e,n,t]),V(function(){return rt(i)&&a({t:i}),e(function(){rt(i)&&a({t:i})})},[e]),n}function rt(e){try{return!((t=e.__)===(n=e.u())&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}var t,n}function it(e){e()}function at(e){return e}function ot(){return[!1,it]}function st(e,t){this.props=e,this.context=t}function ct(e,t){function n(e){var n=this.props.ref;return n!=e.ref&&n&&(typeof n==`function`?n(null):n.current=null),t?!t(this.props,e)||n!=e.ref:tt(this.props,e)}function r(t){return this.shouldComponentUpdate=n,_(e,t)}return r.displayName=`Memo(`+(e.displayName||e.name)+`)`,r.__f=r.prototype.isReactComponent=!0,r.type=e,r}function lt(e){function t(t){var n=et({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Tt,t.render=e,t.prototype.isReactComponent=t.__f=!0,t.displayName=`ForwardRef(`+(e.displayName||e.name)+`)`,t}function ut(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(e){typeof e.__c==`function`&&e.__c()}),e.__c.__H=null),(e=et({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(e){return ut(e,t,n)})),e}function dt(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(e){return dt(e,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function J(){this.__u=0,this.o=null,this.__b=null}function ft(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function pt(e){var t,n,r,i=null;function a(a){if(t||(t=e()).then(function(e){e&&(i=e.default||e),r=!0},function(e){n=e,r=!0}),n)throw n;if(!r)throw t;return i?_(i,a):null}return a.displayName=`Lazy`,a.__f=!0,a}function Y(){this.i=null,this.l=null}function mt(e){return this.getChildContext=function(){return e.context},e.children}function ht(e){var t=this,n=e.h;if(t.componentWillUnmount=function(){A(null,t.v),t.v=null,t.h=null},t.h&&t.h!==n&&t.componentWillUnmount(),!t.v){for(var r=t.__v;r!==null&&!r.__m&&r.__!==null;)r=r.__;t.h=n,t.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:r.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(e,n){this.childNodes.push(e),t.h.insertBefore(e,n)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.h.removeChild(e)}}}A(_(mt,{context:t.context},e.__v),t.v)}function gt(e,t){var n=_(ht,{__v:e,h:t});return n.containerInfo=t,n}function _t(e,t,n){return t.__k??(t.textContent=``),A(e,t),typeof n==`function`&&n(),e?e.__c:null}function vt(e,t,n){return pe(e,t),typeof n==`function`&&n(),e?e.__c:null}function yt(e){return _.bind(null,e)}function X(e){return!!e&&e.$$typeof===jt}function bt(e){return X(e)&&e.type===b}function xt(e){return!!e&&typeof e.displayName==`string`&&e.displayName.indexOf(`Memo(`)==0}function Z(e){return X(e)?me.apply(null,arguments):e}function St(e){return!!e.__k&&(A(null,e),!0)}function Ct(e){return e&&(e.base||e.nodeType===1&&e)||null}var Q,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt,Nt,Pt,Ft,It,Lt,Rt,zt,Bt,Vt,Ht,Ut,Wt,Gt,Kt,qt,Jt,$=a((()=>{Oe(),Qe(),Qe(),Q=H,(st.prototype=new x).isPureReactComponent=!0,st.prototype.shouldComponentUpdate=function(e,t){return tt(this.props,e)||tt(this.state,t)},wt=M.__b,M.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),wt&&wt(e)},Tt=typeof Symbol<`u`&&Symbol.for&&Symbol.for(`react.forward_ref`)||3911,Et=function(e,t){return e==null?null:k(k(e).map(t))},Dt={map:Et,forEach:Et,count:function(e){return e?k(e).length:0},only:function(e){var t=k(e);if(t.length!==1)throw`Children.only`;return t[0]},toArray:k},Ot=M.__e,M.__e=function(e,t,n,r){if(e.then){for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return t.__e??(t.__e=n.__e,t.__k=n.__k),i.__c(e,t)}Ot(e,t,n,r)},kt=M.unmount,M.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),kt&&kt(e)},(J.prototype=new x).__c=function(e,t){var n=t.__c,r=this;r.o??=[],r.o.push(n);var i=ft(r.__v),a=!1,o=function(){a||r.__z||(a=!0,n.__R=null,i?i(c):c())};n.__R=o;var s=n.__P;n.__P=null;var c=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=dt(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.o.pop();)t.__P=s,t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(o,o)},J.prototype.componentWillUnmount=function(){this.o=[]},J.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement(`div`),r=this.__v.__k[0].__c;this.__v.__k[0]=ut(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__a&&_(b,null,e.fallback);return i&&(i.__u&=-33),[_(b,null,t.__a?null:e.children),i]},At=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!==`t`||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}},(Y.prototype=new x).__a=function(e){var t=this,n=ft(t.__v),r=t.l.get(e);return r[0]++,function(i){var a=function(){t.props.revealOrder?(r.push(i),At(t,e,r)):i()};n?n(a):a()}},Y.prototype.render=function(e){this.i=null,this.l=new Map;var t=k(e.children);e.revealOrder&&e.revealOrder[0]===`b`&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},Y.prototype.componentDidUpdate=Y.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){At(e,n,t)})},jt=typeof Symbol<`u`&&Symbol.for&&Symbol.for(`react.element`)||60103,Mt=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Nt=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Pt=/[A-Z0-9]/g,Ft=typeof document<`u`,It=function(e){return(typeof Symbol<`u`&&typeof Symbol()==`symbol`?/fil|che|rad/:/fil|che|ra/).test(e)},x.prototype.isReactComponent=!0,[`componentWillMount`,`componentWillReceiveProps`,`componentWillUpdate`].forEach(function(e){Object.defineProperty(x.prototype,e,{configurable:!0,get:function(){return this[`UNSAFE_`+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}),Lt=M.event,M.event=function(e){return Lt&&(e=Lt(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e},zt={configurable:!0,get:function(){return this.class}},Bt=M.vnode,M.vnode=function(e){typeof e.type==`string`&&function(e){var t=e.props,n=e.type,r={},i=n.indexOf(`-`)==-1;for(var a in t){var o=t[a];if(!(a===`value`&&`defaultValue`in t&&o==null||Ft&&a===`children`&&n===`noscript`||a===`class`||a===`className`)){var s=a.toLowerCase();a===`defaultValue`&&`value`in t&&t.value==null?a=`value`:a===`download`&&!0===o?o=``:s===`translate`&&o===`no`?o=!1:s[0]===`o`&&s[1]===`n`?s===`ondoubleclick`?a=`ondblclick`:s!==`onchange`||n!==`input`&&n!==`textarea`||It(t.type)?s===`onfocus`?a=`onfocusin`:s===`onblur`?a=`onfocusout`:Nt.test(a)&&(a=s):s=a=`oninput`:i&&Mt.test(a)?a=a.replace(Pt,`-$&`).toLowerCase():o===null&&(o=void 0),s===`oninput`&&r[a=s]&&(a=`oninputCapture`),r[a]=o}}n==`select`&&(r.multiple&&Array.isArray(r.value)&&(r.value=k(t.children).forEach(function(e){e.props.selected=r.value.indexOf(e.props.value)!=-1})),r.defaultValue!=null&&(r.value=k(t.children).forEach(function(e){e.props.selected=r.multiple?r.defaultValue.indexOf(e.props.value)!=-1:r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",zt)):t.className&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=jt,Bt&&Bt(e)},Vt=M.__r,M.__r=function(e){Vt&&Vt(e),Rt=e.__c},Ht=M.diffed,M.diffed=function(e){Ht&&Ht(e);var t=e.props,n=e.__e;n!=null&&e.type===`textarea`&&`value`in t&&t.value!==n.value&&(n.value=t.value==null?``:t.value),Rt=null},Ut={ReactCurrentDispatcher:{current:{readContext:function(e){return Rt.__n[e.__c].props.value},useCallback:je,useContext:Me,useDebugValue:Ne,useDeferredValue:at,useEffect:V,useId:Fe,useImperativeHandle:Ae,useInsertionEffect:Q,useLayoutEffect:H,useMemo:U,useReducer:B,useRef:ke,useState:z,useSyncExternalStore:nt,useTransition:ot}}},Wt=`18.3.1`,Gt=function(e,t){return e(t)},Kt=function(e,t){var n=M.debounceRendering;M.debounceRendering=function(e){return e()};var r=e(t);return M.debounceRendering=n,r},qt=X,Jt={useState:z,useId:Fe,useReducer:B,useEffect:V,useLayoutEffect:H,useInsertionEffect:Q,useTransition:ot,useDeferredValue:at,useSyncExternalStore:nt,startTransition:it,useRef:ke,useImperativeHandle:Ae,useMemo:U,useCallback:je,useContext:Me,useDebugValue:Ne,version:`18.3.1`,Children:Dt,render:_t,hydrate:vt,unmountComponentAtNode:St,createPortal:gt,createElement:_,createContext:he,createFactory:yt,cloneElement:Z,createRef:y,Fragment:b,isValidElement:X,isElement:qt,isFragment:bt,isMemo:xt,findDOMNode:Ct,Component:x,PureComponent:st,memo:ct,forwardRef:lt,flushSync:Kt,unstable_batchedUpdates:Gt,StrictMode:b,Suspense:J,SuspenseList:Y,lazy:pt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ut}}));Oe();var Yt=0;Array.isArray;function Xt(e,t,n,r,i,a){t||={};var o,s,c=t;if(`ref`in c)for(s in c={},t)s==`ref`?o=t[s]:c[s]=t[s];var l={type:e,props:c,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Yt,__i:-1,__u:0,__source:i,__self:a};if(typeof e==`function`&&(o=e.defaultProps))for(s in o)c[s]===void 0&&(c[s]=o[s]);return M.vnode&&M.vnode(l),l}const Zt=new Set(`ax-alert.ax-alert-dialog.ax-alert-dialog-action.ax-alert-dialog-body.ax-alert-dialog-cancel.ax-alert-dialog-content.ax-alert-dialog-footer.ax-alert-dialog-header.ax-alert-dialog-trigger.ax-angle-menu-button.ax-auth-provider.ax-avatar.ax-avatar-group.ax-axiom-provider.ax-badge.ax-banner.ax-box.ax-breadcrumb.ax-button.ax-button-group.ax-card.ax-card-action.ax-card-checkbox.ax-card-footer.ax-card-header.ax-card-image.ax-card-link.ax-card-preview.ax-checkbox.ax-code.ax-cover.ax-data-table.ax-data-table-body.ax-data-table-action.ax-data-table-checkbox.ax-data-table-footer.ax-data-table-label.ax-date-input.ax-date-range-picker.ax-date-range-picker-content.ax-date-range-picker-trigger.ax-dialog.ax-dialog-body.ax-dialog-close.ax-dialog-content.ax-dialog-footer.ax-dialog-form.ax-dialog-header.ax-dialog-trigger.ax-disclosure.ax-disclosure-content.ax-disclosure-trigger.ax-dropdown-menu.ax-dropdown-menu-checkbox-item.ax-dropdown-menu-content.ax-dropdown-menu-group.ax-dropdown-menu-item.ax-dropdown-menu-label.ax-dropdown-menu-separator.ax-dropdown-menu-sub.ax-dropdown-menu-sub-content.ax-dropdown-menu-trigger.ax-ellipsis-menu-button.ax-field.ax-field-label.ax-flex.ax-grid.ax-group.ax-heading.ax-indicator.ax-input.ax-input-addon.ax-input-control.ax-input-root.ax-kbd.ax-label-menu-button.ax-link.ax-listbox.ax-listbox-checkbox-item.ax-listbox-empty.ax-listbox-group.ax-listbox-item.ax-listbox-item-indicator.ax-listbox-itemized.ax-listbox-label.ax-listbox-radio-item.ax-listbox-separator.ax-listbox-switch-item.ax-menu.ax-menu-content.ax-menu-trigger.ax-modal-layer.ax-nav.ax-nav-account-item.ax-nav-body.ax-nav-footer.ax-nav-group.ax-nav-group-content.ax-nav-group-trigger.ax-nav-header.ax-nav-item.ax-nav-list.ax-nav-separator.ax-pagination.ax-paper.ax-popover.ax-popover-anchor.ax-popover-content.ax-popover-trigger.ax-progress.ax-radio.ax-radio-group.ax-rich-text-editor.ax-search-input.ax-segmented-control.ax-segmented-control-item.ax-select.ax-select-content.ax-select-trigger.ax-separator.ax-sidebar.ax-sidebar-toggle.ax-skeleton.ax-spinner.ax-sub-nav.ax-switch.ax-table.ax-table-action.ax-table-body.ax-table-cell.ax-table-header.ax-table-header-cell.ax-table-row.ax-tabs.ax-tabs-content.ax-tabs-list.ax-tabs-trigger.ax-text.ax-textarea.ax-theme-provider.ax-toast-provider.ax-toggle-button.ax-tooltip.ax-tooltip-content.ax-tooltip-provider.ax-tooltip-root.ax-tooltip-trigger.ax-transition.ax-transition-group`.split(`.`));$();function Qt(e){return{render:function(t){_t(t,e)},unmount:function(){St(e)}}}const $t=`__ax_context`,en=`__ax_mount`,tn=`__ax_unmount`,nn=e=>e.startsWith(`aria-`)||e.startsWith(`data-`)?e:e.replace(/-(\w)/g,(e,t)=>t.toUpperCase());$();const rn=e=>{let t,n=!1;return e.addEventListener($t,e=>{e.detail.context=t,e.detail.rendered=n}),(r,i)=>(t=i,n=!0,H(()=>(e.dispatchEvent(new CustomEvent(en,{cancelable:!0,detail:{context:t}})),()=>{e.dispatchEvent(new CustomEvent(tn))}),[]),null)};$();const an=e=>{let t=rn(e);return lt((n,r)=>(H(()=>(typeof r==`function`?r(e):r&&`current`in r&&(r.current=e),()=>{typeof r==`function`?r(null):r&&`current`in r&&(r.current=void 0)}),[r]),_(`slot`,{...n,ref:r},_(t))))};$();function on(e,t){if(!(e instanceof Element))return null;let n=!!t,r={};for(let{name:t,value:n}of e.attributes)t.startsWith(`on`)||t===`slot`||t===`style`||(r[nn(t)]=n);let i=[];for(let t of e.childNodes)t instanceof Text&&t.data.match(/^\s+$/)||(t instanceof Element&&t.slot?r[t.slot]=_(`slot`,{name:t.slot,style:{display:`inline-flex`}}):i.push(t instanceof Text?t.data:on(t)));return _(t||e.nodeName.toLowerCase(),r,n?i.length?_(an(e)):null:i)}$();const sn=(e,{context:t,ref:n})=>function(r){this.getChildContext=()=>t;let i=Object.assign({ref:n},r);return delete i.context,_(e,i)};$();function cn(t,n,r,i){let a=(e,t)=>{let a=null,o={current:null},s=Qt(e.shadowRoot?ln(e.shadowRoot):e.attachShadow({mode:`open`}));e.shadowRoot&&(e.shadowRoot.adoptedStyleSheets=[d]);let c=new MutationObserver(t=>{t.forEach(({attributeName:t})=>{t&&u(nn(t),e.getAttribute(t))})}),l=t?{onChange:e=>{dn(t,e.target)}}:{};for(let t of Object.keys(r))t in e&&e[t]!==void 0&&(l[t]=e[t]),Object.defineProperty(e,t,{get(){return l[t]},set(e){u(t,e)}});let u=(e,t)=>{a&&(l[e]=t===null?void 0:un(t,r[e]??`string`),s.render(Z(a,l)))};return{connectedCallback:()=>{let r=r=>{let i=`checked`in e&&typeof e.checked==`boolean`?e.checked:void 0,u=`value`in e&&typeof e.value==`string`?e.value:void 0;a=Z(on(e,sn(n,{context:r,ref:o})),l),s.render(a),c.observe(e,{attributes:!0}),t&&o.current&&(i&&(o.current.checked=i),u&&(o.current.value=u),dn(t,o.current))},u=e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentElement,d=!!e.slot;for(;u;){if(i.has(u.nodeName.toLowerCase())){if(d){d=!1,u=u.parentElement;continue}u.addEventListener(en,e=>{r(e.detail.context)}),u.addEventListener(tn,()=>{c.disconnect(),s.unmount()});let e=new CustomEvent($t,{cancelable:!0,detail:{context:void 0,rendered:!1}});u.dispatchEvent(e),e.detail.rendered&&r(e.detail.context);return}u=u.parentNode instanceof ShadowRoot?u.parentNode.host:u.parentElement}r(void 0)},disconnectedCallback:()=>{c.disconnect(),a=null,s.unmount()},ref:o}};return customElements.get(t)||customElements.define(t,e(t,a,r)),a}const ln=e=>{let t=document.createElement(`div`);return t.style.display=`contents`,e.insertBefore(t,e.firstChild),t},un=(e,t)=>e!=null&&typeof e!=`object`&&typeof e!=`function`?t===`boolean`?e===`false`?!1:e===``||!!e:t===`number`?parseFloat(String(e)):String(e):e,dn=(e,t)=>{e.setValidity(t.validity,t.validationMessage,t),e.setFormValue([`checkbox`,`radio`].includes(t.type)?t.checked?t.value:null:t.value)};export{m as A,Me as C,Oe as D,he as E,s as M,l as N,_ as O,je as S,b as T,H as _,lt as a,B as b,$e as c,$ as d,Z as f,U as g,Ne as h,gt as i,o as j,p as k,Jt as l,Ae as m,Zt as n,Dt as o,ke as p,Xt as r,Kt as s,cn as t,X as u,z as v,V as w,Qe as x,Fe as y};
@@ -1 +1 @@
1
- import{O as e,a as t,d as n}from"./register-CcKBKePR.js";import{t as r}from"./MaterialIcon-CIzSZ4gT.js";n();const i=t(function(t,n){return e(r,{ref:n,unfilledPath:`M378.03-325.18q-109.35 0-184.44-75.08-75.1-75.07-75.1-183.51 0-108.43 75.08-183.51 75.07-75.08 183.65-75.08 107.92 0 183.31 75.08t75.39 183.52q0 43.3-13.55 83.84-13.55 40.54-39.7 73.02l235.07 234q9.9 9.6 10.09 24.23.19 14.62-10.09 24.1-10.28 10.16-24.38 10.16-14.09 0-24.08-10.28L535.87-378.1q-30.56 25.53-72.9 39.22-42.35 13.7-84.94 13.7Zm-.41-67.59q80.4 0 135.56-55.29 55.15-55.3 55.15-135.71 0-80.41-55.15-135.7-55.16-55.3-135.56-55.3-81.42 0-136.48 55.3-55.06 55.29-55.06 135.7t55.06 135.71q55.06 55.29 136.48 55.29Z`,...t})});i.displayName=`@optiaxiom/icons/IconSearch`;export{i as t};
1
+ import{O as e,a as t,d as n}from"./register-BwBRWJD3.js";import{t as r}from"./MaterialIcon-CGvo31vz.js";n();const i=t(function(t,n){return e(r,{ref:n,unfilledPath:`M378.03-325.18q-109.35 0-184.44-75.08-75.1-75.07-75.1-183.51 0-108.43 75.08-183.51 75.07-75.08 183.65-75.08 107.92 0 183.31 75.08t75.39 183.52q0 43.3-13.55 83.84-13.55 40.54-39.7 73.02l235.07 234q9.9 9.6 10.09 24.23.19 14.62-10.09 24.1-10.28 10.16-24.38 10.16-14.09 0-24.08-10.28L535.87-378.1q-30.56 25.53-72.9 39.22-42.35 13.7-84.94 13.7Zm-.41-67.59q80.4 0 135.56-55.29 55.15-55.3 55.15-135.71 0-80.41-55.15-135.7-55.16-55.3-135.56-55.3-81.42 0-136.48 55.3-55.06 55.29-55.06 135.7t55.06 135.71q55.06 55.29 136.48 55.29Z`,...t})});i.displayName=`@optiaxiom/icons/IconSearch`;export{i as t};
@@ -1,4 +1,4 @@
1
- import{N as e,c as t,d as n,j as r}from"./register-CcKBKePR.js";
1
+ import{N as e,c as t,d as n,j as r}from"./register-BwBRWJD3.js";
2
2
  /**
3
3
  * @license React
4
4
  * use-sync-external-store-shim.production.js
@@ -0,0 +1 @@
1
+ import{S as e,d as t,p as n,w as r}from"./register-BwBRWJD3.js";t();function i(t){let i=n(t);return r(()=>{i.current=t}),e((...e)=>i.current(...e),[])}export{i as t};
@@ -1 +1 @@
1
- import{d as e,w as t}from"./register-CcKBKePR.js";import{n}from"./FieldContext-D_cMZfbh.js";e();const r=(e,r)=>{let{labelId:i=r}=n(`useFieldLabelTrigger`);return t(()=>{if(!i||!e.current)return;let t=e.current,n=document.getElementById(i);if(!n)return;let r=()=>t.focus();return n.addEventListener(`click`,r),()=>n.removeEventListener(`click`,r)},[i,e]),i};export{r as t};
1
+ import{d as e,w as t}from"./register-BwBRWJD3.js";import{n}from"./FieldContext-DPNm68wG.js";e();const r=(e,r)=>{let{labelId:i=r}=n(`useFieldLabelTrigger`);return t(()=>{if(!i||!e.current)return;let t=e.current,n=document.getElementById(i);if(!n)return;let r=()=>t.focus();return n.addEventListener(`click`,r),()=>n.removeEventListener(`click`,r)},[i,e]),i};export{r as t};
@@ -1 +1 @@
1
- import{d as e,g as t,p as n,r}from"./register-CcKBKePR.js";import{t as i}from"./dist-BCEVT8Sf.js";import{t as a}from"./dist-CDOj7bN0.js";import{t as o}from"./useSurface-C1zFO6Wc.js";import{t as s}from"./useEffectEvent-DVVhOB2y.js";import{r as c,t as l}from"./downshift.esm-BIPNs-SH.js";function u(e,...t){return typeof e==`function`?e(...t):e}const[d,f]=i(`@optiaxiom/react/Command`),p=(e,t)=>`${e?`${e}/`:``}${t.type}<${t.name}>`;function m(e,t,n){if(!e||!n?.length)return e;let r=n.reduce(p,t??``);return e.filter(e=>(`/`+r).endsWith(`/`+e.surface))}const h=new Intl.Collator(void 0,{sensitivity:`base`,usage:`search`});function g(e,t){let n=e.length,r=t.length;if(r>n)return!1;if(r===n)return h.compare(t,e)===0;outer:for(let i=0,a=0;i<r;i++){let r=t.charAt(i);for(;a<n;)if(h.compare(e.charAt(a++),r)===0)continue outer;return!1}return!0}function _(e,t){if(!t||e.skipFilterScoring)return 0;let n=u(e.label,{inputValue:t}).normalize().toLowerCase();t=t.toLowerCase();let r=0;return n===t?r=1:n.includes(t)?(r=.75,n.startsWith(t)&&(r+=.1)):e.keywords?.toLowerCase().includes(t)&&(r=.5),e.parentOption&&(r-=-.1),r}e();const v=({inputValue:e,options:n})=>{let r=s((e,t)=>{let n=u(e.label,{inputValue:t}).normalize();return`visible`in e?u(e.visible,{inputValue:t}):t?g(n,t)||e.keywords&&g(e.keywords,t):!0}),i=o(),a=i?.suggestions.filter(e=>e.type===`value`);return t(()=>{let t=(e??``).normalize(),o=new Set,s=new Map;for(let e of n)if(e.surface?.type===`property`){let t=e.surface,n=e.surface.name;if(o.has(n))continue;o.add(n),m(a,i?.path,[{name:e.surface.name,type:`property`}])?.forEach(e=>{let n=p(i?.path,{name:t.name,type:t.type});s.set(n,e.value)})}let c=n=>i=>i.subOptions&&t?u(i.subOptions,{inputValue:e}).flatMap(c(i)):r(i,t)?[n?{...i,key:[n.key??u(n.label,{inputValue:e}),i.key??u(i.label,{inputValue:e})].join(`-`),parentOption:n}:i]:[];return n.flatMap(c()).sort((e,n)=>{let r=e.surface?.type===`property`&&s.get(p(i?.path,e.surface))===e.surface.value,a=n.surface?.type===`property`&&s.get(p(i?.path,n.surface))===n.surface.value,o=_(e,t)+(r?1e3:0),c=_(n,t)+(a?1e3:0);return(n.group?.priority??0)+c-((e.group?.priority??0)+o)})},[n,e,a,i?.path])};e();function y({children:e,empty:t,enabled:i,inputValue:o,loading:s,onHover:f,onInputValueChange:p,onSelect:m,options:h}){let[g,_]=a({caller:`@optiaxiom/react/Command`,defaultProp:``,onChange:p,prop:o}),y=v({inputValue:g,options:h}),[b,x]=c(i),S=n({isInsideTriangle:null,timer:void 0}),C=n(null),w=l({highlightedIndex:b===-1?y.findIndex(e=>!u(e.disabledReason)):b,inputValue:g,isItemDisabled:e=>!!u(e?.disabledReason),isOpen:!!i,items:y,itemToString:e=>e===null?``:u(e.label,{inputValue:g}),onHighlightedIndexChange({highlightedIndex:e,type:t}){x(e),e!==-1&&f?.(y[e],t===l.stateChangeTypes.FunctionSetHighlightedIndex||t===l.stateChangeTypes.ItemMouseMove)},onSelectedItemChange({selectedItem:e,type:t}){t!==l.stateChangeTypes.InputBlur&&e!==null&&(m?.(e,{dismiss:t!==l.stateChangeTypes.FunctionSelectItem||!(`selected`in e)}),w.selectItem(null))},scrollIntoView(e){e?.scrollIntoView({block:`nearest`})},selectedItem:null,stateReducer:(e,t)=>{let{changes:n,type:r}=t;switch(r){case l.stateChangeTypes.InputBlur:case l.stateChangeTypes.InputClick:case l.stateChangeTypes.InputKeyDownEnter:case l.stateChangeTypes.InputKeyDownEscape:case l.stateChangeTypes.ItemClick:case l.stateChangeTypes.MenuMouseLeave:return{...n,highlightedIndex:e.highlightedIndex};default:return n}}});return w.getInputProps({},{suppressRefError:!0}),w.getMenuProps({},{suppressRefError:!0}),r(d,{downshift:w,empty:t,enabled:!!i,highlightedItem:y[w.highlightedIndex],highlightedItemRef:C,inputValue:g,items:y,loading:s,pauseInteractionRef:S,setHighlightedIndex:x,setInputValue:_,children:e})}y.displayName=`@optiaxiom/react/Command`;const[b,x]=i(`@optiaxiom/react/MenuSub`);function S(){let e=o();return t=>{if(!t.surface||!e)return;let n=e.suggestions?.filter(e=>e.type===`value`),r=t.surface;if(r.type===`property`){let i=m(n,e.path,[{name:r.name,type:`property`}])?.find(e=>e.value===r.value);t.multi||t.switch?e.track({checked:!u(t.selected),name:`toggled`},[r]):`selected`in t&&e.track({name:`changed`,value:r.value},[r]),i&&e.accept(i.id)}else r.type===`action`&&e.track({name:`invoked`},[r])}}export{m as a,y as i,b as n,u as o,x as r,f as s,S as t};
1
+ import{d as e,g as t,p as n,r}from"./register-BwBRWJD3.js";import{t as i}from"./dist-B_F5J-c4.js";import{t as a}from"./dist-Cj1FYlrq.js";import{t as o}from"./useSurface-BDiw1ac1.js";import{t as s}from"./useEffectEvent-DclKYaXW.js";import{r as c,t as l}from"./downshift.esm-JIzQe_ga.js";function u(e,...t){return typeof e==`function`?e(...t):e}const[d,f]=i(`@optiaxiom/react/Command`),p=(e,t)=>`${e?`${e}/`:``}${t.type}<${t.name}>`;function m(e,t,n){if(!e||!n?.length)return e;let r=n.reduce(p,t??``);return e.filter(e=>(`/`+r).endsWith(`/`+e.surface))}const h=new Intl.Collator(void 0,{sensitivity:`base`,usage:`search`});function g(e,t){let n=e.length,r=t.length;if(r>n)return!1;if(r===n)return h.compare(t,e)===0;outer:for(let i=0,a=0;i<r;i++){let r=t.charAt(i);for(;a<n;)if(h.compare(e.charAt(a++),r)===0)continue outer;return!1}return!0}function _(e,t){if(!t||e.skipFilterScoring)return 0;let n=u(e.label,{inputValue:t}).normalize().toLowerCase();t=t.toLowerCase();let r=0;return n===t?r=1:n.includes(t)?(r=.75,n.startsWith(t)&&(r+=.1)):e.keywords?.toLowerCase().includes(t)&&(r=.5),e.parentOption&&(r-=-.1),r}e();const v=({inputValue:e,options:n})=>{let r=s((e,t)=>{let n=u(e.label,{inputValue:t}).normalize();return`visible`in e?u(e.visible,{inputValue:t}):t?g(n,t)||e.keywords&&g(e.keywords,t):!0}),i=o(),a=i?.suggestions.filter(e=>e.type===`value`);return t(()=>{let t=(e??``).normalize(),o=new Set,s=new Map;for(let e of n)if(e.surface?.type===`property`){let t=e.surface,n=e.surface.name;if(o.has(n))continue;o.add(n),m(a,i?.path,[{name:e.surface.name,type:`property`}])?.forEach(e=>{let n=p(i?.path,{name:t.name,type:t.type});s.set(n,e.value)})}let c=n=>i=>i.subOptions&&t?u(i.subOptions,{inputValue:e}).flatMap(c(i)):r(i,t)?[n?{...i,key:[n.key??u(n.label,{inputValue:e}),i.key??u(i.label,{inputValue:e})].join(`-`),parentOption:n}:i]:[];return n.flatMap(c()).sort((e,n)=>{let r=e.surface?.type===`property`&&s.get(p(i?.path,e.surface))===e.surface.value,a=n.surface?.type===`property`&&s.get(p(i?.path,n.surface))===n.surface.value,o=_(e,t)+(r?1e3:0),c=_(n,t)+(a?1e3:0);return(n.group?.priority??0)+c-((e.group?.priority??0)+o)})},[n,e,a,i?.path])};e();function y({children:e,empty:t,enabled:i,inputValue:o,loading:s,onHover:f,onInputValueChange:p,onSelect:m,options:h}){let[g,_]=a({caller:`@optiaxiom/react/Command`,defaultProp:``,onChange:p,prop:o}),y=v({inputValue:g,options:h}),[b,x]=c(i),S=n({isInsideTriangle:null,timer:void 0}),C=n(null),w=l({highlightedIndex:b===-1?y.findIndex(e=>!u(e.disabledReason)):b,inputValue:g,isItemDisabled:e=>!!u(e?.disabledReason),isOpen:!!i,items:y,itemToString:e=>e===null?``:u(e.label,{inputValue:g}),onHighlightedIndexChange({highlightedIndex:e,type:t}){x(e),e!==-1&&f?.(y[e],t===l.stateChangeTypes.FunctionSetHighlightedIndex||t===l.stateChangeTypes.ItemMouseMove)},onSelectedItemChange({selectedItem:e,type:t}){t!==l.stateChangeTypes.InputBlur&&e!==null&&(m?.(e,{dismiss:t!==l.stateChangeTypes.FunctionSelectItem||!(`selected`in e)}),w.selectItem(null))},scrollIntoView(e){e?.scrollIntoView({block:`nearest`})},selectedItem:null,stateReducer:(e,t)=>{let{changes:n,type:r}=t;switch(r){case l.stateChangeTypes.InputBlur:case l.stateChangeTypes.InputClick:case l.stateChangeTypes.InputKeyDownEnter:case l.stateChangeTypes.InputKeyDownEscape:case l.stateChangeTypes.ItemClick:case l.stateChangeTypes.MenuMouseLeave:return{...n,highlightedIndex:e.highlightedIndex};default:return n}}});return w.getInputProps({},{suppressRefError:!0}),w.getMenuProps({},{suppressRefError:!0}),r(d,{downshift:w,empty:t,enabled:!!i,highlightedItem:y[w.highlightedIndex],highlightedItemRef:C,inputValue:g,items:y,loading:s,pauseInteractionRef:S,setHighlightedIndex:x,setInputValue:_,children:e})}y.displayName=`@optiaxiom/react/Command`;const[b,x]=i(`@optiaxiom/react/MenuSub`);function S(){let e=o();return t=>{if(!t.surface||!e)return;let n=e.suggestions?.filter(e=>e.type===`value`),r=t.surface;if(r.type===`property`){let i=m(n,e.path,[{name:r.name,type:`property`}])?.find(e=>e.value===r.value);t.multi||t.switch?e.track({checked:!u(t.selected),name:`toggled`},[r]):`selected`in t&&e.track({name:`changed`,value:r.value},[r]),i&&e.accept(i.id)}else r.type===`action`&&e.track({name:`invoked`},[r])}}export{m as a,y as i,b as n,u as o,x as r,f as s,S as t};
@@ -1 +1 @@
1
- import{d as e,w as t}from"./register-CcKBKePR.js";e();const n=(e,n)=>(t(()=>{let t=e.current;if(!t)return;let r=Object.getOwnPropertyDescriptor(t.constructor.prototype,`value`);Object.defineProperty(t,"value",{configurable:!0,enumerable:!0,get:function(){return r?.get?.call(t)},set:function(e){r?.set?.call(t,e),n(e)}})},[e,n]),t=>{e.current&&(e.current.value=t,e.current.dispatchEvent(new Event(`change`,{bubbles:!0})))});export{n as t};
1
+ import{d as e,w as t}from"./register-BwBRWJD3.js";e();const n=(e,n)=>(t(()=>{let t=e.current;if(!t)return;let r=Object.getOwnPropertyDescriptor(t.constructor.prototype,`value`);Object.defineProperty(t,"value",{configurable:!0,enumerable:!0,get:function(){return r?.get?.call(t)},set:function(e){r?.set?.call(t,e),n(e)}})},[e,n]),t=>{e.current&&(e.current.value=t,e.current.dispatchEvent(new Event(`change`,{bubbles:!0})))});export{n as t};
@@ -1 +1 @@
1
- import{S as e,a as t,d as n,p as r,r as i,v as a,w as o}from"./register-CcKBKePR.js";import{n as s}from"./dist-xpsU5GX1.js";import{n as c,t as l}from"./dist-BCEVT8Sf.js";import{t as u}from"./dist-CDOj7bN0.js";import{t as d}from"./dist-Drux-m2s.js";import{t as f}from"./dist-B6QtTKmw.js";import{r as p,t as m}from"./dist-kAdSsbFt.js";import{n as h}from"./dist-DVohKWeo.js";import{i as g,r as _,t as v}from"./Combination-h9o8gpDH.js";import{t as y}from"./dist-BFTycqjJ.js";import{t as b}from"./dist-BzgFNArT.js";import{t as x}from"./es2015-95pd62YV.js";import{c as S,n as C,r as ee,s as w,t as T}from"./dist-BXFvyHr3.js";const[E,D]=l(`@optiaxiom/react/Popover`);n();var O=`Popover`,[k,A]=c(O,[S]),j=S(),[M,N]=k(O),P=t=>{let{__scopePopover:n,children:o,open:s,defaultOpen:c,onOpenChange:l,modal:f=!1}=t,p=j(n),m=r(null),[h,g]=a(!1),[_,v]=u({prop:s,defaultProp:c??!1,onChange:l,caller:O});return i(w,{...p,children:i(M,{scope:n,contentId:d(),triggerRef:m,open:_,onOpenChange:v,onOpenToggle:e(()=>v(e=>!e),[v]),hasCustomAnchor:h,onCustomAnchorAdd:e(()=>g(!0),[]),onCustomAnchorRemove:e(()=>g(!1),[]),modal:f,children:o})})};P.displayName=O;var F=`PopoverAnchor`,I=t((e,t)=>{let{__scopePopover:n,...r}=e,a=N(F,n),s=j(n),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=a;return o(()=>(c(),()=>l()),[c,l]),i(T,{...s,...r,ref:t})});I.displayName=F;var L=`PopoverTrigger`,R=t((e,t)=>{let{__scopePopover:n,...r}=e,a=N(L,n),o=j(n),c=s(t,a.triggerRef),l=i(m.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":a.open,"aria-controls":a.contentId,"data-state":$(a.open),...r,ref:c,onClick:f(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?l:i(T,{asChild:!0,...o,children:l})});R.displayName=L;var z=`PopoverPortal`,[B,V]=k(z,{forceMount:void 0}),H=e=>{let{__scopePopover:t,forceMount:n,children:r,container:a}=e,o=N(z,t);return i(B,{scope:t,forceMount:n,children:i(b,{present:n||o.open,children:i(y,{asChild:!0,container:a,children:r})})})};H.displayName=z;var U=`PopoverContent`,W=t((e,t)=>{let n=V(U,e.__scopePopover),{forceMount:r=n.forceMount,...a}=e,o=N(U,e.__scopePopover);return i(b,{present:r||o.open,children:o.modal?i(K,{...a,ref:t}):i(q,{...a,ref:t})})});W.displayName=U;var G=p(`PopoverContent.RemoveScroll`),K=t((e,t)=>{let n=N(U,e.__scopePopover),a=r(null),c=s(t,a),l=r(!1);return o(()=>{let e=a.current;if(e)return x(e)},[]),i(v,{as:G,allowPinchZoom:!0,children:i(J,{...e,ref:c,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:f(e.onCloseAutoFocus,e=>{e.preventDefault(),l.current||n.triggerRef.current?.focus()}),onPointerDownOutside:f(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;l.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:f(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),q=t((e,t)=>{let n=N(U,e.__scopePopover),a=r(!1),o=r(!1);return i(J,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||n.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,t.detail.originalEvent.type===`pointerdown`&&(o.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&o.current&&t.preventDefault()}})}),J=t((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,...f}=e,p=N(U,n),m=j(n);return _(),i(g,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:o,children:i(h,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:d,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1),children:i(ee,{"data-state":$(p.open),role:`dialog`,id:p.contentId,...m,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),Y=`PopoverClose`,X=t((e,t)=>{let{__scopePopover:n,...r}=e,a=N(Y,n);return i(m.button,{type:`button`,...r,ref:t,onClick:f(e.onClick,()=>a.onOpenChange(!1))})});X.displayName=Y;var Z=`PopoverArrow`,Q=t((e,t)=>{let{__scopePopover:n,...r}=e;return i(C,{...j(n),...r,ref:t})});Q.displayName=Z;function $(e){return e?`open`:`closed`}var te=P,ne=R,re=W;const ie=A();export{E as a,ne as i,re as n,D as o,te as r,ie as t};
1
+ import{S as e,a as t,d as n,p as r,r as i,v as a,w as o}from"./register-BwBRWJD3.js";import{n as s}from"./dist-BKNY9mc2.js";import{n as c,t as l}from"./dist-B_F5J-c4.js";import{t as u}from"./dist-Cj1FYlrq.js";import{t as d}from"./dist-CbI-HqNc.js";import{t as f}from"./dist-B6QtTKmw.js";import{r as p,t as m}from"./dist-B6xaGZ0f.js";import{n as h}from"./dist-BcS_6AOE.js";import{i as g,r as _,t as v}from"./Combination-itwSeY7x.js";import{t as y}from"./dist-CaJ-ZT1r.js";import{t as b}from"./dist-0bv4LcJ_.js";import{t as x}from"./es2015-95pd62YV.js";import{c as S,n as C,r as ee,s as w,t as T}from"./dist-B2G6bl7R.js";const[E,D]=l(`@optiaxiom/react/Popover`);n();var O=`Popover`,[k,A]=c(O,[S]),j=S(),[M,N]=k(O),P=t=>{let{__scopePopover:n,children:o,open:s,defaultOpen:c,onOpenChange:l,modal:f=!1}=t,p=j(n),m=r(null),[h,g]=a(!1),[_,v]=u({prop:s,defaultProp:c??!1,onChange:l,caller:O});return i(w,{...p,children:i(M,{scope:n,contentId:d(),triggerRef:m,open:_,onOpenChange:v,onOpenToggle:e(()=>v(e=>!e),[v]),hasCustomAnchor:h,onCustomAnchorAdd:e(()=>g(!0),[]),onCustomAnchorRemove:e(()=>g(!1),[]),modal:f,children:o})})};P.displayName=O;var F=`PopoverAnchor`,I=t((e,t)=>{let{__scopePopover:n,...r}=e,a=N(F,n),s=j(n),{onCustomAnchorAdd:c,onCustomAnchorRemove:l}=a;return o(()=>(c(),()=>l()),[c,l]),i(T,{...s,...r,ref:t})});I.displayName=F;var L=`PopoverTrigger`,R=t((e,t)=>{let{__scopePopover:n,...r}=e,a=N(L,n),o=j(n),c=s(t,a.triggerRef),l=i(m.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":a.open,"aria-controls":a.contentId,"data-state":$(a.open),...r,ref:c,onClick:f(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?l:i(T,{asChild:!0,...o,children:l})});R.displayName=L;var z=`PopoverPortal`,[B,V]=k(z,{forceMount:void 0}),H=e=>{let{__scopePopover:t,forceMount:n,children:r,container:a}=e,o=N(z,t);return i(B,{scope:t,forceMount:n,children:i(b,{present:n||o.open,children:i(y,{asChild:!0,container:a,children:r})})})};H.displayName=z;var U=`PopoverContent`,W=t((e,t)=>{let n=V(U,e.__scopePopover),{forceMount:r=n.forceMount,...a}=e,o=N(U,e.__scopePopover);return i(b,{present:r||o.open,children:o.modal?i(K,{...a,ref:t}):i(q,{...a,ref:t})})});W.displayName=U;var G=p(`PopoverContent.RemoveScroll`),K=t((e,t)=>{let n=N(U,e.__scopePopover),a=r(null),c=s(t,a),l=r(!1);return o(()=>{let e=a.current;if(e)return x(e)},[]),i(v,{as:G,allowPinchZoom:!0,children:i(J,{...e,ref:c,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:f(e.onCloseAutoFocus,e=>{e.preventDefault(),l.current||n.triggerRef.current?.focus()}),onPointerDownOutside:f(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;l.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:f(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),q=t((e,t)=>{let n=N(U,e.__scopePopover),a=r(!1),o=r(!1);return i(J,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||n.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,t.detail.originalEvent.type===`pointerdown`&&(o.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&o.current&&t.preventDefault()}})}),J=t((e,t)=>{let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:o,disableOutsidePointerEvents:s,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,...f}=e,p=N(U,n),m=j(n);return _(),i(g,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:o,children:i(h,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:d,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1),children:i(ee,{"data-state":$(p.open),role:`dialog`,id:p.contentId,...m,...f,ref:t,style:{...f.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})}),Y=`PopoverClose`,X=t((e,t)=>{let{__scopePopover:n,...r}=e,a=N(Y,n);return i(m.button,{type:`button`,...r,ref:t,onClick:f(e.onClick,()=>a.onOpenChange(!1))})});X.displayName=Y;var Z=`PopoverArrow`,Q=t((e,t)=>{let{__scopePopover:n,...r}=e;return i(C,{...j(n),...r,ref:t})});Q.displayName=Z;function $(e){return e?`open`:`closed`}var te=P,ne=R,re=W;const ie=A();export{E as a,ne as i,re as n,D as o,te as r,ie as t};
@@ -1 +1 @@
1
- import{d as e,v as t,w as n}from"./register-CcKBKePR.js";import{t as r}from"./tokens-DzQY1VLP.js";const i={conditions:{...((e,t,n=e=>e)=>{let r={};for(let[i,a]of Object.entries(e))r[n?n(i):i]=t(a,i);return r})(r.screens,e=>({"@media":`screen and (min-width: ${e})`})),base:{}},defaultCondition:`base`,responsiveArray:[`base`,`sm`,`md`]};e();function a(e,t){try{return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)}catch{return e.addListener(t),()=>e.removeListener(t)}}function o(e,t){return typeof window<`u`&&`matchMedia`in window?window.matchMedia(e).matches:!1}function s(e,r,{getInitialValueInEffect:i}={getInitialValueInEffect:!0}){let[s,c]=t(i?r:o(e));return n(()=>{try{let t=window.matchMedia(e);return c(t.matches),a(t,e=>c(e.matches))}catch{return}},[e]),s||!1}const c=[`md`,`sm`],l=e=>{let t={base:!0,sm:s(i.conditions.sm[`@media`],!0),md:s(i.conditions.md[`@media`])};for(let n of c)if(e[n]&&t[n])return e[n];return e.base};export{l as t};
1
+ import{d as e,v as t,w as n}from"./register-BwBRWJD3.js";import{t as r}from"./tokens-DzQY1VLP.js";const i={conditions:{...((e,t,n=e=>e)=>{let r={};for(let[i,a]of Object.entries(e))r[n?n(i):i]=t(a,i);return r})(r.screens,e=>({"@media":`screen and (min-width: ${e})`})),base:{}},defaultCondition:`base`,responsiveArray:[`base`,`sm`,`md`]};e();function a(e,t){try{return e.addEventListener(`change`,t),()=>e.removeEventListener(`change`,t)}catch{return e.addListener(t),()=>e.removeListener(t)}}function o(e,t){return typeof window<`u`&&`matchMedia`in window?window.matchMedia(e).matches:!1}function s(e,r,{getInitialValueInEffect:i}={getInitialValueInEffect:!0}){let[s,c]=t(i?r:o(e));return n(()=>{try{let t=window.matchMedia(e);return c(t.matches),a(t,e=>c(e.matches))}catch{return}},[e]),s||!1}const c=[`md`,`sm`],l=e=>{let t={base:!0,sm:s(i.conditions.sm[`@media`],!0),md:s(i.conditions.md[`@media`])};for(let n of c)if(e[n]&&t[n])return e[n];return e.base};export{l as t};
@@ -1 +1 @@
1
- import{t as e}from"./useSurface-C1zFO6Wc.js";function t(t,n){let r=e(t);if(!r?.suggestions)return;let i=r.suggestions.filter(e=>(`/`+r.path).endsWith(`/`+e.surface));return n?i.filter(e=>e.type===n):i}export{t};
1
+ import{t as e}from"./useSurface-BDiw1ac1.js";function t(t,n){let r=e(t);if(!r?.suggestions)return;let i=r.suggestions.filter(e=>(`/`+r.path).endsWith(`/`+e.surface));return n?i.filter(e=>e.type===n):i}export{t};
@@ -1 +1 @@
1
- import{C as e,E as t,O as n,d as r,w as i}from"./register-CcKBKePR.js";r();const a=t(null),o=t(null),s=t=>{let{accept:r,children:s,disabled:c,executeTool:l,reject:u,renderSuggestionValue:d,...f}=t,p=e(a),m=!c&&`suggestions`in f?f.suggestions?.find(e=>(`/`+f.path).endsWith(`/`+e.surface)&&(e.type===`message`||e.type===`value`&&e.value!==f.value)):void 0;return i(()=>{if(!(c||!p||!m||m.type===`cards`||f.suggestionAlert?.registered||f.suggestionPopover?.registered))return p.add(m,{accept:r,executeTool:l,reject:u,renderSuggestionValue:d})},[c,r,l,f.suggestionAlert?.registered,u,d,p,m,f.suggestionPopover?.registered]),n(o.Provider,{children:s,value:c?null:{accept:r,executeTool:l,reject:u,renderSuggestionValue:d,...f}})};function c(){return e(o)}const l=a,u=s,d=c;function f(e){let t=d();if(t&&(!e||t.type===e))return t}export{l as n,u as r,f as t};
1
+ import{C as e,E as t,O as n,d as r,w as i}from"./register-BwBRWJD3.js";r();const a=t(null),o=t(null),s=t=>{let{accept:r,children:s,disabled:c,executeTool:l,reject:u,renderSuggestionValue:d,...f}=t,p=e(a),m=!c&&`suggestions`in f?f.suggestions?.find(e=>(`/`+f.path).endsWith(`/`+e.surface)&&(e.type===`message`||e.type===`value`&&e.value!==f.value)):void 0;return i(()=>{if(!(c||!p||!m||m.type===`cards`||f.suggestionAlert?.registered||f.suggestionPopover?.registered))return p.add(m,{accept:r,executeTool:l,reject:u,renderSuggestionValue:d})},[c,r,l,f.suggestionAlert?.registered,u,d,p,m,f.suggestionPopover?.registered]),n(o.Provider,{children:s,value:c?null:{accept:r,executeTool:l,reject:u,renderSuggestionValue:d,...f}})};function c(){return e(o)}const l=a,u=s,d=c;function f(e){let t=d();if(t&&(!e||t.type===e))return t}export{l as n,u as r,f as t};
@@ -1 +1 @@
1
- import{O as e,a as t,d as n}from"./register-CcKBKePR.js";import{t as r}from"./MaterialIcon-CIzSZ4gT.js";n();const i=t(function(t,n){return e(r,{ref:n,unfilledPath:`m421.74-395.49-93.61-94.54q-10.16-9.23-24.5-9.42-14.35-.19-24.37 9.84-10.28 10.28-10.28 24.56t10.28 23.9l114.89 115.3q11.18 12.28 27.5 12.28T450-325.85l231.56-231.3q9.64-9.9 9.84-24.25.19-14.34-9.84-25.04-10.69-9.61-25.18-9.41-14.48.21-24.1 9.82L421.74-395.49Zm58.33 316.82q-83.07 0-156.15-31.77-73.08-31.77-127.38-86.05t-86.09-127.33q-31.78-73.05-31.78-156.11 0-83.07 31.83-156.5 31.83-73.44 86.21-127.9 54.38-54.47 127.33-85.74 72.94-31.26 155.89-31.26 83.06 0 156.48 31.25 73.43 31.25 127.91 85.71 54.48 54.46 85.75 127.88 31.26 73.42 31.26 156.51 0 83.34-31.25 156.08-31.25 72.74-85.7 127.14-54.44 54.4-127.85 86.25-73.4 31.84-156.46 31.84Z`,...t})});i.displayName=`@optiaxiom/icons/IconCheckCircleFill`,n();const a=t(function(t,n){return e(r,{filledPath:`M505.61-289.89q9.98-9.79 9.98-25.62 0-15.82-9.79-25.8-9.78-9.97-25.61-9.97t-25.8 9.79q-9.98 9.78-9.98 25.61t9.79 25.8q9.78 9.98 25.61 9.98t25.8-9.79Zm.54-154.87q9.8-9.89 9.8-24.24v-182.77q0-13.7-10.05-23.58-10.05-9.88-24-9.88t-23.75 9.88q-9.79 9.88-9.79 23.58V-469q0 14.35 10.05 24.24 10.05 9.89 24 9.89t23.74-9.89ZM479.94-78.67q-83.25 0-156.17-31.77-72.93-31.77-127.23-86.05T110.45-323.8q-31.78-73.03-31.78-156.47 0-83.19 31.83-156.39 31.83-73.21 86.33-127.74 54.51-54.54 127.26-85.74 72.76-31.19 155.88-31.19 83.23 0 156.63 31.18 73.41 31.18 127.8 85.71 54.4 54.53 85.67 127.92 31.26 73.4 31.26 156.66 0 83.53-31.18 156.01-31.18 72.47-85.7 126.86-54.51 54.39-127.89 86.35-73.37 31.97-156.62 31.97Z`,ref:n,unfilledPath:`M505.61-289.89q9.98-9.79 9.98-25.62 0-15.82-9.79-25.8-9.78-9.97-25.61-9.97t-25.8 9.79q-9.98 9.78-9.98 25.61t9.79 25.8q9.78 9.98 25.61 9.98t25.8-9.79Zm.54-154.87q9.8-9.89 9.8-24.24v-182.77q0-13.7-10.05-23.58-10.05-9.88-24-9.88t-23.75 9.88q-9.79 9.88-9.79 23.58V-469q0 14.35 10.05 24.24 10.05 9.89 24 9.89t23.74-9.89ZM479.94-78.67q-83.25 0-156.17-31.77-72.93-31.77-127.23-86.05T110.45-323.8q-31.78-73.03-31.78-156.47 0-83.19 31.83-156.39 31.83-73.21 86.33-127.74 54.51-54.54 127.26-85.74 72.76-31.19 155.88-31.19 83.23 0 156.63 31.18 73.41 31.18 127.8 85.71 54.4 54.53 85.67 127.92 31.26 73.4 31.26 156.66 0 83.53-31.18 156.01-31.18 72.47-85.7 126.86-54.51 54.39-127.89 86.35-73.37 31.97-156.62 31.97Zm.39-67.59q138.64 0 236.03-97.59 97.38-97.59 97.38-236.48 0-138.64-97.26-236.03-97.26-97.38-236.48-97.38-138.56 0-236.15 97.26T146.26-480q0 138.56 97.59 236.15t236.48 97.59ZM480-480Z`,...t})});a.displayName=`@optiaxiom/icons/IconError`,n();const o=t(function(t,n){return e(r,{filledPath:`M506.15-289.23q9.8-9.89 9.8-24.23v-173.08q0-13.7-10.05-23.58-10.06-9.88-24-9.88-13.95 0-23.75 9.88-9.79 9.88-9.79 23.58v173.08q0 14.34 10.05 24.23 10.05 9.9 24 9.9t23.74-9.9Zm-1-316.96q10.44-10.03 10.44-24.87 0-16.15-10.18-26.21-10.18-10.06-25.22-10.06-16.02 0-25.9 9.92-9.88 9.93-9.88 25.57 0 15.29 10.29 25.49 10.28 10.2 25.15 10.2t25.3-10.04ZM479.94-78.67q-83.25 0-156.23-31.77-72.98-31.77-127.22-86.05-54.25-54.28-86.04-127.31-31.78-73.03-31.78-156.34 0-83.32 31.83-156.52 31.83-73.21 86.33-127.74 54.51-54.54 127.26-85.74 72.76-31.19 155.75-31.19 83.36 0 156.76 31.18 73.41 31.18 127.8 85.71 54.4 54.53 85.67 127.92 31.26 73.4 31.26 156.66 0 83.53-31.18 156.06t-85.7 126.86q-54.51 54.34-127.89 86.3-73.37 31.97-156.62 31.97Z`,ref:n,unfilledPath:`M506.15-289.23q9.8-9.89 9.8-24.23v-173.08q0-13.7-10.05-23.58-10.06-9.88-24-9.88-13.95 0-23.75 9.88-9.79 9.88-9.79 23.58v173.08q0 14.34 10.05 24.23 10.05 9.9 24 9.9t23.74-9.9Zm-1-316.96q10.44-10.03 10.44-24.87 0-16.15-10.18-26.21-10.18-10.06-25.22-10.06-16.02 0-25.9 9.92-9.88 9.93-9.88 25.57 0 15.29 10.29 25.49 10.28 10.2 25.15 10.2t25.3-10.04ZM479.94-78.67q-83.25 0-156.23-31.77-72.98-31.77-127.22-86.05-54.25-54.28-86.04-127.31-31.78-73.03-31.78-156.34 0-83.32 31.83-156.52 31.83-73.21 86.33-127.74 54.51-54.54 127.26-85.74 72.76-31.19 155.75-31.19 83.36 0 156.76 31.18 73.41 31.18 127.8 85.71 54.4 54.53 85.67 127.92 31.26 73.4 31.26 156.66 0 83.53-31.18 156.06t-85.7 126.86q-54.51 54.34-127.89 86.3-73.37 31.97-156.62 31.97Zm.27-67.59q138.76 0 236.15-97.59 97.38-97.59 97.38-236.36 0-138.76-97.24-236.15-97.24-97.38-236.5-97.38-138.56 0-236.15 97.24T146.26-480q0 138.56 97.59 236.15t236.36 97.59ZM480-480Z`,...t})});o.displayName=`@optiaxiom/icons/IconInfo`,n();const s=t(function(t,n){return e(r,{filledPath:`M109.76-112q-11.76 0-21.02-6.09-9.27-6.08-14.04-14.68-5.35-7.67-5.82-18.56-.47-10.9 5.75-21.07l371.4-639.21q5.51-9.82 14.66-14.63 9.16-4.81 19.31-4.81 10.15 0 19.31 4.81 9.15 4.81 15.32 14.63l371.4 639.21q5.56 10.17 5.06 20.99-.5 10.82-5.58 19.1-5.08 8.28-14.29 14.3Q862-112 850.91-112H109.76ZM508.1-239.11q10.57-10.57 10.57-25.2 0-14.64-10.57-25.54-10.57-10.89-25.54-10.89-14.97 0-25.53 10.9-10.57 10.9-10.57 25.54 0 14.63 10.57 25.2 10.57 10.56 25.54 10.56 14.97 0 25.53-10.57Zm-1.54-114.39q9.8-9.81 9.8-24.32V-524.8q0-13.84-9.81-23.65-9.82-9.81-24-9.81-14.19 0-23.99 9.81-9.79 9.81-9.79 23.65v146.98q0 14.51 9.81 24.32 9.82 9.81 24 9.81 14.19 0 23.98-9.81Z`,ref:n,unfilledPath:`M109.76-112q-11.76 0-21.03-6.06-9.28-6.06-14.03-14.71-5.35-7.67-5.82-18.56-.47-10.9 5.75-21.07l371.36-639.12q5.55-9.91 14.7-14.72 9.16-4.81 19.31-4.81 10.15 0 19.31 4.81 9.15 4.81 15.37 14.72L886.03-172.4q5.56 10.17 5.06 20.99-.5 10.82-5.58 19.1-5.08 8.28-14.29 14.3Q862-112 850.91-112H109.76Zm47.73-67.59h645.02L480-735.49l-322.51 555.9ZM508.1-239.1q10.57-10.57 10.57-25.21t-10.57-25.54q-10.56-10.89-25.54-10.89-14.97 0-25.53 10.89-10.57 10.9-10.57 25.54 0 14.64 10.57 25.21 10.56 10.56 25.53 10.56 14.98 0 25.54-10.56Zm-1.54-114.4q9.8-9.8 9.8-24.32V-524.8q0-13.85-9.81-23.65-9.81-9.81-24-9.81t-23.99 9.81q-9.79 9.8-9.79 23.65v146.98q0 14.52 9.81 24.32 9.81 9.81 24 9.81t23.98-9.81ZM480-457.87Z`,...t})});s.displayName=`@optiaxiom/icons/IconWarning`;export{i,o as n,a as r,s as t};
1
+ import{O as e,a as t,d as n}from"./register-BwBRWJD3.js";import{t as r}from"./MaterialIcon-CGvo31vz.js";n();const i=t(function(t,n){return e(r,{ref:n,unfilledPath:`m421.74-395.49-93.61-94.54q-10.16-9.23-24.5-9.42-14.35-.19-24.37 9.84-10.28 10.28-10.28 24.56t10.28 23.9l114.89 115.3q11.18 12.28 27.5 12.28T450-325.85l231.56-231.3q9.64-9.9 9.84-24.25.19-14.34-9.84-25.04-10.69-9.61-25.18-9.41-14.48.21-24.1 9.82L421.74-395.49Zm58.33 316.82q-83.07 0-156.15-31.77-73.08-31.77-127.38-86.05t-86.09-127.33q-31.78-73.05-31.78-156.11 0-83.07 31.83-156.5 31.83-73.44 86.21-127.9 54.38-54.47 127.33-85.74 72.94-31.26 155.89-31.26 83.06 0 156.48 31.25 73.43 31.25 127.91 85.71 54.48 54.46 85.75 127.88 31.26 73.42 31.26 156.51 0 83.34-31.25 156.08-31.25 72.74-85.7 127.14-54.44 54.4-127.85 86.25-73.4 31.84-156.46 31.84Z`,...t})});i.displayName=`@optiaxiom/icons/IconCheckCircleFill`,n();const a=t(function(t,n){return e(r,{filledPath:`M505.61-289.89q9.98-9.79 9.98-25.62 0-15.82-9.79-25.8-9.78-9.97-25.61-9.97t-25.8 9.79q-9.98 9.78-9.98 25.61t9.79 25.8q9.78 9.98 25.61 9.98t25.8-9.79Zm.54-154.87q9.8-9.89 9.8-24.24v-182.77q0-13.7-10.05-23.58-10.05-9.88-24-9.88t-23.75 9.88q-9.79 9.88-9.79 23.58V-469q0 14.35 10.05 24.24 10.05 9.89 24 9.89t23.74-9.89ZM479.94-78.67q-83.25 0-156.17-31.77-72.93-31.77-127.23-86.05T110.45-323.8q-31.78-73.03-31.78-156.47 0-83.19 31.83-156.39 31.83-73.21 86.33-127.74 54.51-54.54 127.26-85.74 72.76-31.19 155.88-31.19 83.23 0 156.63 31.18 73.41 31.18 127.8 85.71 54.4 54.53 85.67 127.92 31.26 73.4 31.26 156.66 0 83.53-31.18 156.01-31.18 72.47-85.7 126.86-54.51 54.39-127.89 86.35-73.37 31.97-156.62 31.97Z`,ref:n,unfilledPath:`M505.61-289.89q9.98-9.79 9.98-25.62 0-15.82-9.79-25.8-9.78-9.97-25.61-9.97t-25.8 9.79q-9.98 9.78-9.98 25.61t9.79 25.8q9.78 9.98 25.61 9.98t25.8-9.79Zm.54-154.87q9.8-9.89 9.8-24.24v-182.77q0-13.7-10.05-23.58-10.05-9.88-24-9.88t-23.75 9.88q-9.79 9.88-9.79 23.58V-469q0 14.35 10.05 24.24 10.05 9.89 24 9.89t23.74-9.89ZM479.94-78.67q-83.25 0-156.17-31.77-72.93-31.77-127.23-86.05T110.45-323.8q-31.78-73.03-31.78-156.47 0-83.19 31.83-156.39 31.83-73.21 86.33-127.74 54.51-54.54 127.26-85.74 72.76-31.19 155.88-31.19 83.23 0 156.63 31.18 73.41 31.18 127.8 85.71 54.4 54.53 85.67 127.92 31.26 73.4 31.26 156.66 0 83.53-31.18 156.01-31.18 72.47-85.7 126.86-54.51 54.39-127.89 86.35-73.37 31.97-156.62 31.97Zm.39-67.59q138.64 0 236.03-97.59 97.38-97.59 97.38-236.48 0-138.64-97.26-236.03-97.26-97.38-236.48-97.38-138.56 0-236.15 97.26T146.26-480q0 138.56 97.59 236.15t236.48 97.59ZM480-480Z`,...t})});a.displayName=`@optiaxiom/icons/IconError`,n();const o=t(function(t,n){return e(r,{filledPath:`M506.15-289.23q9.8-9.89 9.8-24.23v-173.08q0-13.7-10.05-23.58-10.06-9.88-24-9.88-13.95 0-23.75 9.88-9.79 9.88-9.79 23.58v173.08q0 14.34 10.05 24.23 10.05 9.9 24 9.9t23.74-9.9Zm-1-316.96q10.44-10.03 10.44-24.87 0-16.15-10.18-26.21-10.18-10.06-25.22-10.06-16.02 0-25.9 9.92-9.88 9.93-9.88 25.57 0 15.29 10.29 25.49 10.28 10.2 25.15 10.2t25.3-10.04ZM479.94-78.67q-83.25 0-156.23-31.77-72.98-31.77-127.22-86.05-54.25-54.28-86.04-127.31-31.78-73.03-31.78-156.34 0-83.32 31.83-156.52 31.83-73.21 86.33-127.74 54.51-54.54 127.26-85.74 72.76-31.19 155.75-31.19 83.36 0 156.76 31.18 73.41 31.18 127.8 85.71 54.4 54.53 85.67 127.92 31.26 73.4 31.26 156.66 0 83.53-31.18 156.06t-85.7 126.86q-54.51 54.34-127.89 86.3-73.37 31.97-156.62 31.97Z`,ref:n,unfilledPath:`M506.15-289.23q9.8-9.89 9.8-24.23v-173.08q0-13.7-10.05-23.58-10.06-9.88-24-9.88-13.95 0-23.75 9.88-9.79 9.88-9.79 23.58v173.08q0 14.34 10.05 24.23 10.05 9.9 24 9.9t23.74-9.9Zm-1-316.96q10.44-10.03 10.44-24.87 0-16.15-10.18-26.21-10.18-10.06-25.22-10.06-16.02 0-25.9 9.92-9.88 9.93-9.88 25.57 0 15.29 10.29 25.49 10.28 10.2 25.15 10.2t25.3-10.04ZM479.94-78.67q-83.25 0-156.23-31.77-72.98-31.77-127.22-86.05-54.25-54.28-86.04-127.31-31.78-73.03-31.78-156.34 0-83.32 31.83-156.52 31.83-73.21 86.33-127.74 54.51-54.54 127.26-85.74 72.76-31.19 155.75-31.19 83.36 0 156.76 31.18 73.41 31.18 127.8 85.71 54.4 54.53 85.67 127.92 31.26 73.4 31.26 156.66 0 83.53-31.18 156.06t-85.7 126.86q-54.51 54.34-127.89 86.3-73.37 31.97-156.62 31.97Zm.27-67.59q138.76 0 236.15-97.59 97.38-97.59 97.38-236.36 0-138.76-97.24-236.15-97.24-97.38-236.5-97.38-138.56 0-236.15 97.24T146.26-480q0 138.56 97.59 236.15t236.36 97.59ZM480-480Z`,...t})});o.displayName=`@optiaxiom/icons/IconInfo`,n();const s=t(function(t,n){return e(r,{filledPath:`M109.76-112q-11.76 0-21.02-6.09-9.27-6.08-14.04-14.68-5.35-7.67-5.82-18.56-.47-10.9 5.75-21.07l371.4-639.21q5.51-9.82 14.66-14.63 9.16-4.81 19.31-4.81 10.15 0 19.31 4.81 9.15 4.81 15.32 14.63l371.4 639.21q5.56 10.17 5.06 20.99-.5 10.82-5.58 19.1-5.08 8.28-14.29 14.3Q862-112 850.91-112H109.76ZM508.1-239.11q10.57-10.57 10.57-25.2 0-14.64-10.57-25.54-10.57-10.89-25.54-10.89-14.97 0-25.53 10.9-10.57 10.9-10.57 25.54 0 14.63 10.57 25.2 10.57 10.56 25.54 10.56 14.97 0 25.53-10.57Zm-1.54-114.39q9.8-9.81 9.8-24.32V-524.8q0-13.84-9.81-23.65-9.82-9.81-24-9.81-14.19 0-23.99 9.81-9.79 9.81-9.79 23.65v146.98q0 14.51 9.81 24.32 9.82 9.81 24 9.81 14.19 0 23.98-9.81Z`,ref:n,unfilledPath:`M109.76-112q-11.76 0-21.03-6.06-9.28-6.06-14.03-14.71-5.35-7.67-5.82-18.56-.47-10.9 5.75-21.07l371.36-639.12q5.55-9.91 14.7-14.72 9.16-4.81 19.31-4.81 10.15 0 19.31 4.81 9.15 4.81 15.37 14.72L886.03-172.4q5.56 10.17 5.06 20.99-.5 10.82-5.58 19.1-5.08 8.28-14.29 14.3Q862-112 850.91-112H109.76Zm47.73-67.59h645.02L480-735.49l-322.51 555.9ZM508.1-239.1q10.57-10.57 10.57-25.21t-10.57-25.54q-10.56-10.89-25.54-10.89-14.97 0-25.53 10.89-10.57 10.9-10.57 25.54 0 14.64 10.57 25.21 10.56 10.56 25.53 10.56 14.98 0 25.54-10.56Zm-1.54-114.4q9.8-9.8 9.8-24.32V-524.8q0-13.85-9.81-23.65-9.81-9.81-24-9.81t-23.99 9.81q-9.79 9.8-9.79 23.65v146.98q0 14.52 9.81 24.32 9.81 9.81 24 9.81t23.98-9.81ZM480-457.87Z`,...t})});s.displayName=`@optiaxiom/icons/IconWarning`;export{i,o as n,a as r,s as t};
@@ -1 +1 @@
1
- import{a as e,d as t,r as n}from"./register-CcKBKePR.js";t();const r=({fill:t,height:r=16,name:i,viewBox:a,width:o=20},s)=>{let c=e((e,i)=>n(`svg`,{fill:t,height:r,ref:i,viewBox:a??`0 0 ${o} ${r}`,width:o,xmlns:`http://www.w3.org/2000/svg`,...e,children:s}));return c.displayName=`@optiaxiom/react/${i}`,c};export{r as t};
1
+ import{a as e,d as t,r as n}from"./register-BwBRWJD3.js";t();const r=({fill:t,height:r=16,name:i,viewBox:a,width:o=20},s)=>{let c=e((e,i)=>n(`svg`,{fill:t,height:r,ref:i,viewBox:a??`0 0 ${o} ${r}`,width:o,xmlns:`http://www.w3.org/2000/svg`,...e,children:s}));return c.displayName=`@optiaxiom/react/${i}`,c};export{r as t};
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "git+https://github.com/optimizely-axiom/optiaxiom.git"
8
8
  },
9
9
  "type": "module",
10
- "version": "3.0.2",
10
+ "version": "3.0.3",
11
11
  "license": "Apache-2.0",
12
12
  "exports": {
13
13
  ".": "./dist/index.js",
@@ -177,9 +177,9 @@
177
177
  "postcss-url": "^10.1.3",
178
178
  "preact": "^10.29.1",
179
179
  "react-docgen-typescript": "2.2.2",
180
- "@optiaxiom/globals": "^3.0.4",
181
- "@optiaxiom/react": "^3.1.0",
182
- "@optiaxiom/shared": "^0.0.0"
180
+ "@optiaxiom/react": "^3.1.1",
181
+ "@optiaxiom/shared": "^0.0.0",
182
+ "@optiaxiom/globals": "^3.0.4"
183
183
  },
184
184
  "scripts": {
185
185
  "build": "rm -rf dist && NODE_ENV=production rolldown -c",
@@ -1 +0,0 @@
1
- import{A as e,a as t,d as n,r}from"./register-CcKBKePR.js";import{t as i}from"./Box-Bn9SKL4V.js";import"./layers.css.ts.vanilla-Bns6EnEc-C8fCso9K.js";import{t as a}from"./recipeRuntime-BkylZxVy.js";import"./DialogBody.css.ts.vanilla-DFDX-xBj-CZD6dLBC.js";e(`@layer optiaxiom.sxo7zf;@layer optiaxiom.sxo7zf{.az1pzw{transition:opacity var(--ax-duration-sm) ease}._1yyapcp:not(:has(._1yyapcp)):focus-within .az1pzw,.az1pzw:is(:checked,[data-state=open],:has(:checked,[data-state=open])){opacity:1;transition:none}.nfqv2t{opacity:1}.u42gct{opacity:0}@media (hover:hover){._1yyapcp:not(:has(._1yyapcp)):hover .az1pzw{opacity:1;transition:none}}}`);var o=a({base:[{alignItems:`center`,display:`flex`,justifyContent:`space-between`},`az1pzw`],variants:{visible:{always:`nfqv2t`,"if-needed":`u42gct`}}});n();const s=t(({children:e,className:t,visible:n=`if-needed`,...a},s)=>r(i,{ref:s,...o({visible:n},t),...a,children:e}));s.displayName=`@optiaxiom/react/ActionsContent`;export{s as t};
@@ -1 +0,0 @@
1
- import{a as e,d as t,r as n}from"./register-CcKBKePR.js";import{t as r}from"./Box-Bn9SKL4V.js";import"./layers.css.ts.vanilla-Bns6EnEc-C8fCso9K.js";import{t as i}from"./recipeRuntime-BkylZxVy.js";import"./DialogBody.css.ts.vanilla-DFDX-xBj-CZD6dLBC.js";var a=i({base:`_1yyapcp`});t();const o=e(({children:e,className:t,...i},o)=>n(r,{ref:o,...a({},t),...i,children:e}));o.displayName=`@optiaxiom/react/ActionsRoot`;export{o as t};
@@ -1 +0,0 @@
1
- import{a as e,d as t,r as n}from"./register-CcKBKePR.js";import{t as r}from"./Group-BXw3BA-z.js";import{r as i}from"./dist-C0gS8xNt.js";t();const a=e(({children:e,...t},a)=>n(r,{asChild:!0,flex:`1`,flexDirection:`column`,fontSize:`md`,gap:`16`,px:`24`,py:`16`,ref:a,z:`0`,...t,children:n(i,{asChild:!0,children:n(`div`,{children:e})})}));a.displayName=`@optiaxiom/react/AlertDialogBody`;export{a as t};
@@ -1 +0,0 @@
1
- import{C as e,a as t,d as n,r}from"./register-CcKBKePR.js";import{n as i}from"./dist-xpsU5GX1.js";import{t as a}from"./Button-CfKIVvxM.js";import{t as o}from"./DialogKitContext-bUwHho5v.js";import{t as s}from"./dist-C0gS8xNt.js";import{t as c}from"./AlertDialogContext-DI3RmWeH.js";n();const l=t(({appearance:t=`subtle`,asChild:n,children:l=`Cancel`,onClick:u,...d},f)=>{let{cancelRef:p}=c(`@optiaxiom/react/AlertDialogCancel`),{onDismiss:m}=e(o)??{};return r(s,{asChild:!0,onClick:e=>{m&&(m(e,`cancel`),e.defaultPrevented)||u?.(e)},ref:i(p,f),...d,children:n?l:r(a,{appearance:t,children:l})})});l.displayName=`@optiaxiom/react/AlertDialogCancel`;export{l as t};
@@ -1 +0,0 @@
1
- import{A as e,C as t,a as n,d as r,p as i,r as a}from"./register-CcKBKePR.js";import{t as o}from"./Box-Bn9SKL4V.js";import"./layers.css.ts.vanilla-Bns6EnEc-C8fCso9K.js";import{t as s}from"./recipeRuntime-BkylZxVy.js";import{n as c}from"./dist-xpsU5GX1.js";import{t as l}from"./Group-BXw3BA-z.js";import{t as u}from"./Transition-BbpPjzej.js";import{t as d}from"./TransitionGroup-BOixJqBe.js";import{t as f}from"./modal-context-CU0CnG0z.js";import{t as p}from"./DialogKitContext-bUwHho5v.js";import{i as m,n as h}from"./dist-C0gS8xNt.js";import{t as g}from"./Paper-BAnn9oeE.js";import{t as _}from"./FocusBookmarkProvider-BpLV3UwW.js";import{t as v}from"./Backdrop-CJdyS2gF.js";import{t as y}from"./Portal-CZ29CEMU.js";import{t as b}from"./vanilla-extract-dynamic.esm-BTVburtF.js";import{t as x}from"./AlertDialogContext-DI3RmWeH.js";e(`@layer optiaxiom.sxo7zf;@layer optiaxiom.sxo7zf{.f9gpdv{opacity:0}._85fb1n{inset:0;position:fixed}.ht0cu5{max-height:50dvh;max-width:calc(100dvw - 48px);transform:translateY(calc(1rem*var(--_1aex3vc))) scale(calc(1 - var(--_1aex3vc)*.06))}.ht0cu5:focus-visible{outline:none}._18ozrte{width:400px}._61i6ys{width:600px}._168cg35{width:800px}}`);var S=s({variants:{hidden:{false:{},true:`f9gpdv`}}}),C=s({base:[{color:`fg.default`,display:`flex`,flexDirection:`column`,overflow:`auto`},`ht0cu5`],variants:{size:{sm:`_18ozrte`,md:`_61i6ys`,lg:`_168cg35`}}}),w=`var(--_1aex3vc)`,T=s({base:[{alignItems:`center`,flexDirection:`column`,gap:`0`,z:`popover`},`_85fb1n`]});r();const E=n(({children:e,onCloseAutoFocus:n,onEscapeKeyDown:r,onOpenAutoFocus:s,size:E=`sm`,style:D,...O},k)=>{let{cancelRef:A,nestedDialogCount:j,open:M,presence:N,setPresence:P}=x(`@optiaxiom/react/AlertDialogContent`),{onClose:F,onDismiss:I}=t(p)??{},L=i(null),R=c(L,k);return a(d,{onPresenceChange:P,open:M,presence:N,children:a(y,{children:[a(u,{children:a(v,{asChild:!0,onClick:()=>{L.current?.animate([{translate:`6px`},{translate:`-4px`},{translate:`4px`}],{duration:150})},...S({hidden:j>0}),children:a(m,{})})}),a(l,{...T(),children:[a(o,{flex:`1`,pointerEvents:`none`}),a(u,{type:`pop`,children:a(g,{asChild:!0,elevation:`dialog`,style:{...b({[w]:`${j}`}),...D},...C({size:E}),children:a(h,{onCloseAutoFocus:e=>{n?.(e),F?.()},onEscapeKeyDown:e=>{I&&(I(e,`cancel`),e.defaultPrevented)||r?.(e)},onOpenAutoFocus:e=>{s?.(e),!e.defaultPrevented&&(e.preventDefault(),A.current?.focus({preventScroll:!0}))},ref:R,role:`alertdialog`,...O,onInteractOutside:e=>e.preventDefault(),onPointerDownOutside:e=>e.preventDefault(),children:a(f,{shardRef:L,children:a(_,{containerRef:L,children:e})})})})}),a(o,{flex:`1`,pointerEvents:`none`}),a(o,{flex:`1`,pointerEvents:`none`})]})]})})});E.displayName=`@optiaxiom/react/AlertDialogContent`;export{E as t};
@@ -1 +0,0 @@
1
- import{n as e}from"./DialogContext-Dm5Yv4Ta.js";const t=e;export{t};
@@ -1 +0,0 @@
1
- import{A as e,a as t,d as n,r}from"./register-CcKBKePR.js";import"./layers.css.ts.vanilla-Bns6EnEc-C8fCso9K.js";import{t as i}from"./recipeRuntime-BkylZxVy.js";import{t as a}from"./Group-BXw3BA-z.js";import{t as o}from"./ButtonContext-DzBAgKvI.js";e(`@layer optiaxiom.sxo7zf;@layer optiaxiom.sxo7zf{._4qi7z3{border-top:1px solid var(--ax-colors-border-secondary);bottom:0;position:sticky}}`);var s=i({base:[{bg:`bg.default`,gap:`16`,justifyContent:`flex-end`,px:`24`,py:`20`},`_4qi7z3`]});n();const c=t(({children:e,className:t,...n},i)=>r(o,{size:`lg`,children:r(a,{...s({},t),ref:i,...n,children:e})}));c.displayName=`@optiaxiom/react/AlertDialogFooter`;export{c as t};
@@ -1 +0,0 @@
1
- import{A as e,a as t,d as n,r}from"./register-CcKBKePR.js";import"./layers.css.ts.vanilla-Bns6EnEc-C8fCso9K.js";import{t as i}from"./recipeRuntime-BkylZxVy.js";import{t as a}from"./Group-BXw3BA-z.js";import{t as o}from"./fallbackSpan-DeAzFY6H.js";import{t as s}from"./Icon-DSHAbP7Y.js";import{o as c}from"./dist-C0gS8xNt.js";import{t as l}from"./Heading-MTsUT7c1.js";e(`@layer optiaxiom.sxo7zf;@layer optiaxiom.sxo7zf{._1lmje6t{position:sticky;top:0}}`);var u=i({base:[{bg:`bg.default`,gap:`8`,p:`24`,pb:`16`,z:`10`},`_1lmje6t`]});n();const d=t(({addonBefore:e,children:t,className:n,...i},d)=>r(a,{ref:d,...u({},n),...i,children:[r(s,{asChild:!0,color:`fg.error`,children:e&&o(e)}),r(l,{asChild:!0,color:`fg.default`,fontWeight:`500`,level:`3`,children:r(c,{children:t})})]}));d.displayName=`@optiaxiom/react/AlertDialogHeader`;export{d as t};
@@ -1 +0,0 @@
1
- import{a as e,d as t,r as n}from"./register-CcKBKePR.js";import{t as r}from"./Button-CfKIVvxM.js";import{t as i}from"./keyboard_arrow_down-BtQPLlqb.js";t();const a=e(({children:e,...t},a)=>n(r,{icon:n(i,{}),iconPosition:`end`,ref:a,...t,children:e}));a.displayName=`@optiaxiom/react/AngleMenuButton`;export{a as t};
@@ -1 +0,0 @@
1
- import{A as e,O as t,a as n,d as r,p as i,r as a,v as o,w as s}from"./register-CcKBKePR.js";import{t as c}from"./Box-Bn9SKL4V.js";import"./layers.css.ts.vanilla-Bns6EnEc-C8fCso9K.js";import{t as l}from"./recipeRuntime-BkylZxVy.js";import{n as u}from"./dist-BCEVT8Sf.js";import{t as d}from"./dist-BpmQi_8p.js";import"./DialogBody.css.ts.vanilla-DFDX-xBj-CZD6dLBC.js";import{t as f}from"./IconOpal-DxboLH-0.js";import{t as p}from"./MaterialIcon-CIzSZ4gT.js";import{t as m}from"./dist-kAdSsbFt.js";import{t as h}from"./dist-BVRPdw5X.js";import{n as g}from"./AvatarContext-MyP4qVCF.js";import{t as _}from"./shim-CkK-DhWs.js";r();const v=n(function(e,n){return t(p,{filledPath:`M48.08-237.8q-16.06 0-27.4-11.34-11.35-11.34-11.35-27.64v-15.67q0-42.98 43.41-69.96 43.41-26.97 113.02-26.97 5.19 0 10.66.52 5.48.53 12.61.3-10.8 20.36-15.76 40.77-4.96 20.42-4.96 42.79v67.2H48.08Zm241.7 0q-17.23 0-28.84-11.65-11.61-11.66-11.61-28.63v-25.35q0-30.17 15.92-55.88 15.92-25.7 47.96-44.21 32.05-18.5 73.94-27.82 41.89-9.33 92.6-9.33 51.69 0 93.41 9.33 41.73 9.32 73.89 27.96 31.36 18.64 47.49 44.07 16.13 25.43 16.13 56.22v24.76q0 17.22-11.65 28.88-11.65 11.65-27.97 11.65H289.78Zm501.91 0v-67.24q0-22.8-5.02-43.67-5.03-20.88-15.08-39.8 7.77.18 13.15-.35 5.38-.52 10.13-.52 70.23 0 113.01 26.61 42.79 26.61 42.79 70.22v16.01q0 16.06-11.34 27.4Q928-237.8 912.59-237.8h-120.9ZM165.18-420.69q-28.82 0-49.37-20.59-20.55-20.59-20.55-49.55 0-29.09 20.59-49.54t49.55-20.45q29.09 0 49.73 20.35 20.64 20.35 20.64 49.87 0 28.42-20.33 49.17-20.33 20.74-50.26 20.74Zm629.46 0q-28.54 0-49.28-20.71-20.74-20.71-20.74-49.31 0-29.21 20.7-49.66 20.71-20.45 49.51-20.45 29.4 0 49.85 20.35 20.45 20.35 20.45 49.75 0 28.78-20.3 49.41-20.3 20.62-50.19 20.62Zm-314.19-49.64q-47.53 0-81.24-33.32-33.72-33.32-33.72-80.91 0-47.75 33.62-81.27 33.62-33.52 81.2-33.52 47.74 0 80.97 33.32 33.23 33.33 33.23 81.21 0 47.72-33.19 81.1-33.19 33.39-80.87 33.39Z`,ref:n,unfilledPath:`M48.08-237.8q-16.06 0-27.4-11.34-11.35-11.34-11.35-27.64v-15.67q0-42.98 43.41-69.96 43.41-26.97 113.02-26.97 5.19 0 10.66.52 5.48.53 12.61.3-10.8 20.36-15.76 40.77-4.96 20.42-4.96 42.79v67.2H48.08Zm241.7 0q-17.23 0-28.84-11.65-11.61-11.66-11.61-28.63v-25.35q0-30.17 15.92-55.88 15.92-25.7 47.96-44.21 32.05-18.5 73.94-27.82 41.89-9.33 92.6-9.33 51.69 0 93.41 9.33 41.73 9.32 73.89 27.96 31.36 18.64 47.49 44.07 16.13 25.43 16.13 56.22v24.76q0 17.22-11.65 28.88-11.65 11.65-27.97 11.65H289.78Zm501.91 0v-67.24q0-22.8-5.02-43.67-5.03-20.88-15.08-39.8 7.77.18 13.15-.35 5.38-.52 10.13-.52 70.23 0 113.01 26.61 42.79 26.61 42.79 70.22v16.01q0 16.06-11.34 27.4Q928-237.8 912.59-237.8h-120.9Zm-464.66-67.58h306.15v-7.21q-8.95-28.49-49.85-44.49-40.89-16-103.33-16-62.18 0-103.21 16.5-41.02 16.5-49.76 44.4v6.8ZM165.18-420.69q-28.82 0-49.37-20.59-20.55-20.59-20.55-49.55 0-29.09 20.59-49.54t49.55-20.45q29.09 0 49.73 20.35 20.64 20.35 20.64 49.87 0 28.42-20.33 49.17-20.33 20.74-50.26 20.74Zm629.46 0q-28.54 0-49.28-20.71-20.74-20.71-20.74-49.31 0-29.21 20.7-49.66 20.71-20.45 49.51-20.45 29.4 0 49.85 20.35 20.45 20.35 20.45 49.75 0 28.78-20.3 49.41-20.3 20.62-50.19 20.62Zm-314.19-49.64q-47.53 0-81.24-33.32-33.72-33.32-33.72-80.91 0-47.75 33.62-81.27 33.62-33.52 81.2-33.52 47.74 0 80.97 33.32 33.23 33.33 33.23 81.21 0 47.72-33.19 81.1-33.19 33.39-80.87 33.39Zm.48-67.59q18.74 0 32.37-13.76 13.62-13.76 13.62-34.09 0-18.74-13.8-32.37-13.81-13.63-32.89-13.63-19.44 0-33.29 13.81-13.86 13.8-13.86 32.88 0 19.44 13.76 33.3 13.76 13.86 34.09 13.86Zm-.72 232.54ZM480-584.84Z`,...e})});v.displayName=`@optiaxiom/icons/IconGroups`,r();const y=n(function(e,n){return t(p,{filledPath:`M372.81-543.32q-42.6-42.6-42.6-107.32t42.6-107.19q42.6-42.48 107.19-42.48t107.19 42.48q42.6 42.47 42.6 107.19t-42.6 107.32q-42.6 42.6-107.19 42.6t-107.19-42.6ZM160-215.72v-32.23q0-35.61 18.04-63.08 18.04-27.46 47.81-41.84 64.54-30.74 127.73-45.91 63.19-15.17 126.42-15.17 63.23 0 126.22 15.37 62.98 15.38 127.52 45.71 30.18 14.38 48.22 41.84Q800-283.56 800-247.95v32.23q0 29.26-19.55 48.81t-48.81 19.55H228.36q-29.26 0-48.81-19.55T160-215.72Z`,ref:n,unfilledPath:`M372.81-543.32q-42.6-42.6-42.6-107.32t42.6-107.19q42.6-42.48 107.19-42.48t107.19 42.48q42.6 42.47 42.6 107.19t-42.6 107.32q-42.6 42.6-107.19 42.6t-107.19-42.6ZM160-215.72v-32.23q0-35.61 18.04-63.08 18.04-27.46 47.81-41.84 64.54-30.74 127.73-45.91 63.19-15.17 126.42-15.17 63.23 0 126.22 15.37 62.98 15.38 127.52 45.71 30.18 14.38 48.22 41.84Q800-283.56 800-247.95v32.23q0 29.26-19.55 48.81t-48.81 19.55H228.36q-29.26 0-48.81-19.55T160-215.72Zm67.59.77h504.82v-33q0-14.46-7.6-26.11-7.61-11.66-19.91-17.94-57.57-27.62-113.11-40.99-55.53-13.37-111.79-13.37-56.26 0-112 13.21-55.74 13.2-112.64 41.15-12.98 5.95-20.37 17.77-7.4 11.82-7.4 26.28v33Zm311-376.97q23.62-23.62 23.62-58.59 0-34.98-23.62-58.59-23.62-23.62-58.59-23.62t-58.59 23.62q-23.62 23.61-23.62 58.59 0 34.97 23.62 58.59 23.62 23.61 58.59 23.61t58.59-23.61ZM480-650.51Zm0 435.56Z`,...e})});y.displayName=`@optiaxiom/icons/IconPerson`,e(`@layer optiaxiom.sxo7zf;@layer optiaxiom.sxo7zf{.extsmi{-webkit-user-select:none;user-select:none}._95eoio .extsmi{border:1px solid var(--ax-colors-bg-default)}.i2j3p4{font-size:8px}._95eoio .i2j3p4:not(:first-child){margin-left:-1px}.k2k3qc{font-size:var(--ax-fontSize-xs-fontSize)}._95eoio .k2k3qc:not(:first-child){margin-left:-3px}.z70hhg{font-size:var(--ax-fontSize-xs-fontSize)}._95eoio .z70hhg:not(:first-child){margin-left:-5px}.zgv0nn{font-size:var(--ax-fontSize-md-fontSize)}._95eoio .zgv0nn:not(:first-child){margin-left:-7px}._1dx3856{font-size:var(--ax-fontSize-lg-fontSize)}._95eoio ._1dx3856:not(:first-child){margin-left:-9px}._18eaj4i{font-size:var(--ax-fontSize-xl-fontSize)}._95eoio ._18eaj4i:not(:first-child){margin-left:-11px}._14xr22d{font-size:32px}._95eoio ._14xr22d:not(:first-child){margin-left:-13px}._8d0zsp{padding:1px}}`);var b=l({base:[{alignItems:`center`,display:`inline-flex`,flex:`none`,fontWeight:`500`,justifyContent:`center`,overflow:`hidden`,rounded:`full`},`extsmi`],variants:{colorScheme:{neutral:{bg:`bg.avatar.neutral`,color:`fg.avatar.neutral`},purple:{bg:`bg.avatar.purple`,color:`fg.avatar.purple`}},size:{"2xs":[{fontWeight:`400`,size:`2xs`},`i2j3p4`],xs:[{fontWeight:`400`,size:`xs`},`k2k3qc`],sm:[{size:`sm`},`z70hhg`],md:[{size:`md`},`zgv0nn`],lg:[{size:`lg`},`_1dx3856`],xl:[{size:`xl`},`_18eaj4i`],"3xl":[{size:`3xl`},`_14xr22d`]}}}),x=l({base:{alignItems:`center`,display:`flex`,justifyContent:`center`,rounded:`inherit`,size:`full`,textTransform:`uppercase`}}),S=l({base:[{w:`auto`}],variants:{size:{"2xs":{h:`12`},xs:[{h:`16`},`_8d0zsp`],sm:{h:`16`},md:{h:`xs`},lg:{h:`sm`},xl:{h:`sm`},"3xl":{h:`lg`}}}}),C=_();function w(){return(0,C.useSyncExternalStore)(T,()=>!0,()=>!1)}function T(){return()=>{}}r();var E=`Avatar`,[D,O]=u(E),[k,A]=D(E),j=n((e,t)=>{let{__scopeAvatar:n,...r}=e,[i,s]=o(`idle`);return a(k,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:s,children:a(m.span,{...r,ref:t})})});j.displayName=E;var M=`AvatarImage`,N=n((e,t)=>{let{__scopeAvatar:n,src:r,onLoadingStatusChange:i=()=>{},...o}=e,s=A(M,n),c=L(r,o),l=h(e=>{i(e),s.onImageLoadingStatusChange(e)});return d(()=>{c!==`idle`&&l(c)},[c,l]),c===`loaded`?a(m.img,{...o,ref:t,src:r}):null});N.displayName=M;var P=`AvatarFallback`,F=n((e,t)=>{let{__scopeAvatar:n,delayMs:r,...i}=e,c=A(P,n),[l,u]=o(r===void 0);return s(()=>{if(r!==void 0){let e=window.setTimeout(()=>u(!0),r);return()=>window.clearTimeout(e)}},[r]),l&&c.imageLoadingStatus!==`loaded`?a(m.span,{...i,ref:t}):null});F.displayName=P;function I(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?`loaded`:`loading`):`error`:`idle`}function L(e,{referrerPolicy:t,crossOrigin:n}){let r=w(),a=i(null),s=r?(a.current||=new window.Image,a.current):null,[c,l]=o(()=>I(s,e));return d(()=>{l(I(s,e))},[s,e]),d(()=>{let e=e=>()=>{l(e)};if(!s)return;let r=e(`loaded`),i=e(`error`);return s.addEventListener(`load`,r),s.addEventListener(`error`,i),t&&(s.referrerPolicy=t),typeof n==`string`&&(s.crossOrigin=n),()=>{s.removeEventListener(`load`,r),s.removeEventListener(`error`,i)}},[s,n,t]),c}var R=j,z=N,B=F;r();function V(e){let t=e.trim().split(` `),n=t[0]??``,r=t.length>1?t[t.length-1]:``;return n&&r?`${n.charAt(0)}${r.charAt(0)}`:n.charAt(0)}const H={opal:null,team:a(v,{}),user:a(y,{filled:!0})},U=n(({children:e,className:t,colorScheme:n=`neutral`,fallback:r=`user`,name:i,size:o,src:s,...l},u)=>{let d=g(`@optiaxiom/react/Avatar`),p=o||d?.size||`md`;return r===`opal`&&(r=`user`,s=`opal`),a(c,{asChild:!0,...b({colorScheme:n,size:p},t),...l,children:a(R,{ref:u,children:[s&&a(c,{asChild:!0,objectFit:`cover`,rounded:`inherit`,size:`full`,children:s===`opal`?a(f,{asChild:!0,children:a(z,{alt:i??`Opal`})}):a(z,{alt:i??`avatar`,src:s})}),a(c,{asChild:!0,...x({}),children:a(B,{delayMs:s?600:void 0,children:(e??(i?V(i):void 0))||a(c,{asChild:!0,...S({size:p}),children:H[r]})})})]})})});U.displayName=`@optiaxiom/react/Avatar`;export{U as t};
@@ -1 +0,0 @@
1
- import{d as e}from"./register-CcKBKePR.js";import{t}from"./dist-BCEVT8Sf.js";e();const[n,r]=t(`@optiaxiom/react/Avatar`,{size:void 0});export{r as n,n as t};
@@ -1 +0,0 @@
1
- import{A as e,a as t,d as n,r}from"./register-CcKBKePR.js";import{t as i}from"./Box-Bn9SKL4V.js";import"./layers.css.ts.vanilla-Bns6EnEc-C8fCso9K.js";import{t as a}from"./recipeRuntime-BkylZxVy.js";e(`@layer optiaxiom.sxo7zf;@layer optiaxiom.sxo7zf{._1h5s2q2{backdrop-filter:blur(4px);inset:0;position:fixed}}`);var o=a({base:[{bg:`bg.overlay`,z:`popover`},`_1h5s2q2`]});n();const s=t(({className:e,...t},n)=>r(i,{ref:n,...o({},e),...t}));s.displayName=`@optiaxiom/react/Backdrop`;export{s as t};