@optiaxiom/web-components 0.12.2 → 0.13.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActionsRoot-jHONDwzt.js +1 -0
- package/dist/Alert-CcZcbpJ3.js +1 -0
- package/dist/AlertDialog-ByZ_JZXd.js +1 -0
- package/dist/{AlertDialogBody-D9UtTQwP.js → AlertDialogBody-BSY7leSh.js} +1 -1
- package/dist/AlertDialogFooter-CkQC4uFI.js +1 -0
- package/dist/AlertDialogHeader-DoJ65a6m.js +1 -0
- package/dist/AlertDialogTrigger-B4yAWJCM.js +1 -0
- package/dist/AngleMenuButton-lx4vgc0d.js +1 -0
- package/dist/Avatar-Cy9E-Cyy.js +1 -0
- package/dist/AvatarContext-BUybbOEk.js +1 -0
- package/dist/AvatarGroup-CBfSmP3n.js +1 -0
- package/dist/Badge-2RN48uwx.js +1 -0
- package/dist/Box-BV82RZkY.js +1 -0
- package/dist/Button-CEBPGPAA.js +1 -0
- package/dist/ButtonContext-BN2eAKVU.js +1 -0
- package/dist/ButtonGroup-BvNuIn_t.js +1 -0
- package/dist/ButtonRoot-76DR8dRY.js +1 -0
- package/dist/{Calendar-CXYRqNZM.js → Calendar-DGaN9wN_.js} +1 -1
- package/dist/CardContext-CZHIDF2s.js +1 -0
- package/dist/Combination-bwg6SCti.js +41 -0
- package/dist/Cover-CaKyDo53.js +1 -0
- package/dist/Cover.css.ts.vanilla-BLc5wcST-DlkYEb1u.js +1 -0
- package/dist/{DataTableAction-Df47DxgZ.js → DataTableAction-QAGnlQQ6.js} +1 -1
- package/dist/DataTableContext-C2z6lq-9.js +1 -0
- package/dist/{DataTableRowContext-Vpm-p8Ku.js → DataTableRowContext-8iSi49Ex.js} +1 -1
- package/dist/DateRangePickerContext-Xh3XC1_F.js +1 -0
- package/dist/DialogBody-BTctk8T9.js +1 -0
- package/dist/DialogBody.css.ts.vanilla-DzZ8okVZ-DPcLlaSD.js +1 -0
- package/dist/DialogFooter-dxFsDeTX.js +1 -0
- package/dist/DialogForm-DZjdKg87.js +1 -0
- package/dist/DialogTrigger-BKnqNbl6.js +1 -0
- package/dist/Disclosure-uQ58-yz_.js +1 -0
- package/dist/DisclosureContent-BwsCszlk.js +1 -0
- package/dist/{DisclosureContext-BxVXnCSO.js → DisclosureContext-D2HGu2YN.js} +1 -1
- package/dist/DisclosureTrigger-DC9pJtbS.js +1 -0
- package/dist/DropdownMenuContext-Djv2VdVX.js +1 -0
- package/dist/DropdownMenuNestedContext-yhjDKSFr.js +1 -0
- package/dist/DropdownMenuSubContext-CCbQkpKe.js +1 -0
- package/dist/{FieldContext-DNl9N283.js → FieldContext-Dqza0tHJ.js} +1 -1
- package/dist/FieldLabel-CZcHttVb.js +1 -0
- package/dist/{FilteredSlot-By0sa9J8.js → FilteredSlot-DtvpYzPA.js} +1 -1
- package/dist/Group-Bikb06zg.js +1 -0
- package/dist/Heading-5eQ2zLc5.js +1 -0
- package/dist/Icon-CK7w67FQ.js +1 -0
- package/dist/IconAngleDown-gVK6U7WX.js +1 -0
- package/dist/IconAngleLeft-hgK53nhz.js +1 -0
- package/dist/IconAngleRight-DcsIqZuK.js +1 -0
- package/dist/{IconCalendar-DID-YwuF.js → IconCalendar-BTpo5DbL.js} +1 -1
- package/dist/{IconEllipsis-CI33uOpw.js → IconEllipsis-C77c8OSS.js} +1 -1
- package/dist/{IconEllipsisSolid-CRDQctIy.js → IconEllipsisSolid-DSq4KPlQ.js} +1 -1
- package/dist/{IconMagnifyingGlass-CaZ-uQJC.js → IconMagnifyingGlass-U66_4qSw.js} +1 -1
- package/dist/{IconOpal-DdOexAp5.js → IconOpal--oA_XY42.js} +1 -1
- package/dist/{IconTriangleExclamationSolid-DgLdF9uR.js → IconTriangleExclamationSolid-Dqu3kd-F.js} +1 -1
- package/dist/{IconUpRightFromSquare-DQ7aHanw.js → IconUpRightFromSquare-eZGgVGW-.js} +1 -1
- package/dist/{IconX-C1ykhFB1.js → IconX-9RWTeOlB.js} +1 -1
- package/dist/Input-CpXJIs0o.js +1 -0
- package/dist/InputAddon-B8rLIkEZ.js +1 -0
- package/dist/InputContext-BF_7-DRf.js +1 -0
- package/dist/InputControl-B_qe0Rin.js +1 -0
- package/dist/InputControl.css.ts.vanilla-D7CdNrRK-BEowLkNL.js +1 -0
- package/dist/InputRoot-l4JyxWWh.js +1 -0
- package/dist/Link-BayNh_hZ.js +1 -0
- package/dist/Listbox-D6kosp24.js +1 -0
- package/dist/ListboxEmpty-ErY5Gn4e.js +1 -0
- package/dist/ListboxGroup-JEYs_nF7.js +1 -0
- package/dist/ListboxGroupContext-YaC6urry.js +1 -0
- package/dist/ListboxItem-BptHEHLL.js +1 -0
- package/dist/ListboxItemIndicator-Caa2jzhU.js +1 -0
- package/dist/ListboxItemized-Bd4_3_Fn.js +1 -0
- package/dist/ListboxLabel-CXdY3Qrm.js +1 -0
- package/dist/{ListboxRadioItem-DJQzkR-6.js → ListboxRadioItem-CHx7UvlN.js} +1 -1
- package/dist/ListboxSeparator-Yp_yBlds.js +1 -0
- package/dist/{Menu-BDISHhkl.js → Menu-IFMZiKKV.js} +1 -1
- package/dist/MenuContent-C7QOSZWZ.js +1 -0
- package/dist/MenuContext-CAIc_gAX.js +1 -0
- package/dist/MenuTrigger-D6SOaqM5.js +1 -0
- package/dist/{ModalLayer-GVPhTM2z.js → ModalLayer-CCLCW5zl.js} +1 -1
- package/dist/Nav-BGrZK1p7.js +1 -0
- package/dist/NavAccountItem-DSppdW6J.js +1 -0
- package/dist/{NavBody-B42FuUu7.js → NavBody-Brwlf99C.js} +1 -1
- package/dist/{NavFooter-CqTYpndO.js → NavFooter-4w-Td8Hj.js} +1 -1
- package/dist/{NavGroup-Btepn_Jx.js → NavGroup-WspllAjC.js} +1 -1
- package/dist/{NavGroupContent-BuKcY3Gq.js → NavGroupContent-DrQd3Oma.js} +1 -1
- package/dist/{NavGroupContext-BhiSFqjO.js → NavGroupContext-CKkjEDOW.js} +1 -1
- package/dist/{NavGroupTrigger-JPo590bV.js → NavGroupTrigger-DY19Gm1D.js} +1 -1
- package/dist/NavHeader-CTXsaFxH.js +1 -0
- package/dist/NavItem-DBJIss__.js +1 -0
- package/dist/NavList-D0Mt80Ot.js +1 -0
- package/dist/NavSeparator-C7nZxTcF.js +1 -0
- package/dist/Pagination-DCg3Sycw.js +1 -0
- package/dist/Paper-CjcILoas.js +1 -0
- package/dist/{Popover-Do3f7GbD.js → Popover-CGSzddAy.js} +1 -1
- package/dist/PopoverAnchor-CvSeHBqr.js +1 -0
- package/dist/{PopoverTrigger-BJV9w-GA.js → PopoverTrigger-B-fBuOz7.js} +1 -1
- package/dist/{Portal-DknBz2tV.js → Portal-DhhE1MIL.js} +1 -1
- package/dist/PortalContext-BMbJPZJV.js +1 -0
- package/dist/RadioGroupContext-B7Z3XDPp.js +1 -0
- package/dist/{SegmentedControlContext-iNTho-R2.js → SegmentedControlContext-DOpP-Y1m.js} +1 -1
- package/dist/Select-D-7rT_5g.js +1 -0
- package/dist/{SelectContent-RJgRhyRl.js → SelectContent-C5-fxlU8.js} +1 -1
- package/dist/{SelectContext-Cs7YzCff.js → SelectContext-CaCqIGYx.js} +1 -1
- package/dist/{SelectTrigger-DpnaXd71.js → SelectTrigger-BFt9e4z7.js} +1 -1
- package/dist/Separator-BywuUEab.js +1 -0
- package/dist/SidebarContext-C8m9UzcJ.js +1 -0
- package/dist/Skeleton-E_VV8-0b.js +1 -0
- package/dist/Spinner-DHJLSuge.js +1 -0
- package/dist/SuggestionPopover-lXicWhkL.js +9 -0
- package/dist/Table-zW9DU6Em.js +1 -0
- package/dist/TableAction-BJc0shC-.js +1 -0
- package/dist/TableBody-CbMTXZm0.js +1 -0
- package/dist/TableCell-CN4pKqkP.js +1 -0
- package/dist/TableHeader-BEfF4SsT.js +1 -0
- package/dist/TableHeaderCell-CphF4szM.js +1 -0
- package/dist/TableRow-M2g5_4ud.js +1 -0
- package/dist/TableRow.css.ts.vanilla-AxUvsdb5-DevsmkSG.js +1 -0
- package/dist/Text-DmWHegjQ.js +1 -0
- package/dist/{ThemeProvider-APnk6_5U.js → ThemeProvider-inNvPO6u.js} +1 -1
- package/dist/ToastProvider-B_QFWbn7.js +1 -0
- package/dist/ToggleInputLabel-BgsjI0iJ.js +1 -0
- package/dist/{Tooltip-Cp1WeGF9.js → Tooltip-DSqIroK_.js} +1 -1
- package/dist/TooltipContent-MbupXxr3.js +1 -0
- package/dist/TooltipContext-zD8hbTH7.js +1 -0
- package/dist/TooltipProvider-DwVQlvj7.js +1 -0
- package/dist/{TooltipRoot-D7ZSju0W.js → TooltipRoot-B_zpoHnK.js} +1 -1
- package/dist/TooltipTrigger-B8cXbnIc.js +1 -0
- package/dist/Transition-Bhp-QKNP.js +1 -0
- package/dist/{TransitionGroup-DVncmcdD.js → TransitionGroup-Bn4ErChn.js} +1 -1
- package/dist/TransitionGroupContext-YpV8Y-Zq.js +1 -0
- package/dist/{VisuallyHidden-M0udTQ6g.js → VisuallyHidden-DVkON-1I.js} +1 -1
- package/dist/assets/files/roboto-condensed-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-condensed-cyrillic-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-condensed-greek-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-condensed-greek-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-condensed-latin-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-condensed-latin-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-condensed-vietnamese-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-cyrillic-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-greek-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-greek-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-latin-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-latin-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-math-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-mono-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-mono-cyrillic-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-mono-greek-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-mono-latin-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-mono-vietnamese-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-symbols-wght-normal.woff2 +0 -0
- package/dist/assets/files/roboto-vietnamese-wght-normal.woff2 +0 -0
- package/dist/components/Alert.js +1 -1
- package/dist/components/AlertDialog.js +1 -1
- package/dist/components/AlertDialogAction.d.ts +1 -0
- package/dist/components/AlertDialogAction.js +1 -1
- package/dist/components/AlertDialogBody.js +1 -1
- package/dist/components/AlertDialogCancel.d.ts +1 -0
- package/dist/components/AlertDialogCancel.js +1 -1
- package/dist/components/AlertDialogContent.js +1 -1
- package/dist/components/AlertDialogFooter.js +1 -1
- package/dist/components/AlertDialogHeader.js +1 -1
- package/dist/components/AlertDialogTrigger.d.ts +1 -0
- package/dist/components/AlertDialogTrigger.js +1 -1
- package/dist/components/AngleMenuButton.d.ts +1 -0
- package/dist/components/AngleMenuButton.js +1 -1
- package/dist/components/AuthProvider.js +1 -1
- package/dist/components/Avatar.js +1 -1
- package/dist/components/AvatarGroup.js +1 -1
- package/dist/components/AxiomProvider.js +1 -1
- package/dist/components/Badge.js +1 -1
- package/dist/components/Banner.js +1 -1
- package/dist/components/Box.d.ts +4 -2
- package/dist/components/Box.js +1 -1
- package/dist/components/Breadcrumb.js +1 -1
- package/dist/components/Button.d.ts +1 -0
- package/dist/components/Button.js +1 -1
- package/dist/components/ButtonGroup.js +1 -1
- package/dist/components/Card.js +1 -1
- package/dist/components/CardAction.js +1 -1
- package/dist/components/CardCheckbox.d.ts +2 -0
- package/dist/components/CardCheckbox.js +1 -1
- package/dist/components/CardFooter.js +1 -1
- package/dist/components/CardHeader.d.ts +3 -0
- package/dist/components/CardHeader.js +1 -1
- package/dist/components/CardImage.js +1 -1
- package/dist/components/CardLink.js +1 -1
- package/dist/components/CardPreview.js +1 -1
- package/dist/components/Checkbox.d.ts +2 -0
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/Code.js +1 -1
- package/dist/components/Cover.js +1 -1
- package/dist/components/DataTable.js +1 -1
- package/dist/components/DataTableAction.js +1 -1
- package/dist/components/DataTableBody.js +2 -2
- package/dist/components/DataTableCheckbox.d.ts +2 -0
- package/dist/components/DataTableCheckbox.js +1 -1
- package/dist/components/DataTableFooter.js +1 -1
- package/dist/components/DataTableLabel.js +1 -1
- package/dist/components/DateInput.d.ts +3 -0
- package/dist/components/DateInput.js +1 -1
- package/dist/components/DateRangePicker.js +1 -1
- package/dist/components/DateRangePickerContent.d.ts +2 -2
- package/dist/components/DateRangePickerContent.js +1 -1
- package/dist/components/DateRangePickerTrigger.d.ts +1 -0
- package/dist/components/DateRangePickerTrigger.js +1 -1
- package/dist/components/Dialog.js +1 -1
- package/dist/components/DialogBody.js +1 -1
- package/dist/components/DialogClose.d.ts +1 -0
- package/dist/components/DialogClose.js +1 -1
- package/dist/components/DialogContent.js +1 -1
- package/dist/components/DialogFooter.js +1 -1
- package/dist/components/DialogForm.js +1 -1
- package/dist/components/DialogHeader.d.ts +3 -0
- package/dist/components/DialogHeader.js +1 -1
- package/dist/components/DialogTrigger.d.ts +1 -0
- package/dist/components/DialogTrigger.js +1 -1
- package/dist/components/Disclosure.js +1 -1
- package/dist/components/DisclosureContent.js +1 -1
- package/dist/components/DisclosureTrigger.js +1 -1
- package/dist/components/DropdownMenu.js +1 -1
- package/dist/components/DropdownMenuCheckboxItem.js +1 -1
- package/dist/components/DropdownMenuContent.d.ts +2 -2
- package/dist/components/DropdownMenuContent.js +1 -1
- package/dist/components/DropdownMenuGroup.js +1 -1
- package/dist/components/DropdownMenuItem.js +1 -1
- package/dist/components/DropdownMenuLabel.js +1 -1
- package/dist/components/DropdownMenuSeparator.js +1 -1
- package/dist/components/DropdownMenuSub.js +1 -1
- package/dist/components/DropdownMenuSubContent.js +1 -1
- package/dist/components/DropdownMenuTrigger.d.ts +1 -0
- package/dist/components/DropdownMenuTrigger.js +1 -1
- package/dist/components/EllipsisMenuButton.d.ts +1 -0
- package/dist/components/EllipsisMenuButton.js +1 -1
- package/dist/components/Field.js +1 -1
- package/dist/components/FieldLabel.js +1 -1
- package/dist/components/Flex.js +1 -1
- package/dist/components/Grid.js +1 -1
- package/dist/components/Group.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Indicator.js +1 -1
- package/dist/components/Input.d.ts +4 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputAddon.js +1 -1
- package/dist/components/InputControl.d.ts +1 -0
- package/dist/components/InputControl.js +1 -1
- package/dist/components/InputRoot.js +1 -1
- package/dist/components/Kbd.js +1 -1
- package/dist/components/LabelMenuButton.d.ts +1 -0
- package/dist/components/LabelMenuButton.js +1 -1
- package/dist/components/Link.js +1 -1
- package/dist/components/Listbox.js +1 -1
- package/dist/components/ListboxCheckboxItem.js +1 -1
- package/dist/components/ListboxEmpty.js +1 -1
- package/dist/components/ListboxGroup.js +1 -1
- package/dist/components/ListboxItem.js +1 -1
- package/dist/components/ListboxItemIndicator.js +1 -1
- package/dist/components/ListboxItemized.js +1 -1
- package/dist/components/ListboxLabel.js +1 -1
- package/dist/components/ListboxRadioItem.js +1 -1
- package/dist/components/ListboxSeparator.js +1 -1
- package/dist/components/ListboxSwitchItem.js +1 -1
- package/dist/components/Menu.d.ts +4 -4
- package/dist/components/Menu.js +1 -1
- package/dist/components/MenuContent.d.ts +2 -2
- package/dist/components/MenuContent.js +1 -1
- package/dist/components/MenuTrigger.d.ts +1 -0
- package/dist/components/MenuTrigger.js +1 -1
- package/dist/components/ModalLayer.js +1 -1
- package/dist/components/Nav.js +1 -1
- package/dist/components/NavAccountItem.js +1 -1
- package/dist/components/NavBody.js +1 -1
- package/dist/components/NavFooter.js +1 -1
- package/dist/components/NavGroup.d.ts +1 -1
- package/dist/components/NavGroup.js +1 -1
- package/dist/components/NavGroupContent.js +1 -1
- package/dist/components/NavGroupTrigger.js +1 -1
- package/dist/components/NavHeader.js +1 -1
- package/dist/components/NavItem.js +1 -1
- package/dist/components/NavList.js +1 -1
- package/dist/components/NavSeparator.js +1 -1
- package/dist/components/Pagination.js +1 -1
- package/dist/components/Paper.js +1 -1
- package/dist/components/Popover.js +1 -1
- package/dist/components/PopoverAnchor.js +1 -1
- package/dist/components/PopoverContent.d.ts +2 -2
- package/dist/components/PopoverContent.js +1 -1
- package/dist/components/PopoverTrigger.d.ts +1 -0
- package/dist/components/PopoverTrigger.js +1 -1
- package/dist/components/Progress.js +2 -2
- package/dist/components/Radio.d.ts +2 -0
- package/dist/components/Radio.js +1 -1
- package/dist/components/RadioGroup.js +1 -1
- package/dist/components/SearchInput.d.ts +4 -1
- package/dist/components/SearchInput.js +1 -1
- package/dist/components/SegmentedControl.js +1 -1
- package/dist/components/SegmentedControlItem.d.ts +1 -0
- package/dist/components/SegmentedControlItem.js +1 -1
- package/dist/components/Select.js +1 -1
- package/dist/components/SelectContent.d.ts +2 -2
- package/dist/components/SelectContent.js +1 -1
- package/dist/components/SelectTrigger.d.ts +1 -0
- package/dist/components/SelectTrigger.js +1 -1
- package/dist/components/Separator.js +1 -1
- package/dist/components/Sidebar.js +1 -1
- package/dist/components/SidebarToggle.js +1 -1
- package/dist/components/Skeleton.js +1 -1
- package/dist/components/Spinner.js +1 -1
- package/dist/components/SubNav.js +1 -1
- package/dist/components/Switch.d.ts +2 -0
- package/dist/components/Switch.js +1 -1
- package/dist/components/Table.js +1 -1
- package/dist/components/TableAction.js +1 -1
- package/dist/components/TableBody.js +1 -1
- package/dist/components/TableCell.js +1 -1
- package/dist/components/TableHeader.js +1 -1
- package/dist/components/TableHeaderCell.js +1 -1
- package/dist/components/TableRow.js +1 -1
- package/dist/components/Tabs.js +1 -1
- package/dist/components/TabsContent.js +1 -1
- package/dist/components/TabsList.js +1 -1
- package/dist/components/TabsTrigger.js +1 -1
- package/dist/components/Text.js +1 -1
- package/dist/components/Textarea.d.ts +1 -0
- package/dist/components/Textarea.js +1 -1
- package/dist/components/ThemeProvider.js +1 -1
- package/dist/components/ToastProvider.d.ts +2 -2
- package/dist/components/ToastProvider.js +1 -1
- package/dist/components/ToggleButton.d.ts +1 -0
- package/dist/components/ToggleButton.js +1 -1
- package/dist/components/Tooltip.d.ts +9 -7
- package/dist/components/Tooltip.js +1 -1
- package/dist/components/TooltipContent.d.ts +1 -1
- package/dist/components/TooltipContent.js +1 -1
- package/dist/components/TooltipProvider.js +1 -1
- package/dist/components/TooltipRoot.js +1 -1
- package/dist/components/TooltipTrigger.js +1 -1
- package/dist/components/Transition.d.ts +1 -1
- package/dist/components/Transition.js +1 -1
- package/dist/components/TransitionGroup.js +1 -1
- package/dist/context-DJtOiwDQ.js +1 -0
- package/dist/{decorateChildren-Bj7rUyDi.js → decorateChildren-do-vOWHx.js} +1 -1
- package/dist/fallbackSpan-d6klaC7f.js +1 -0
- package/dist/{index-CuhzkxaS.js → index-BKlKRsse.js} +1 -1
- package/dist/{index-D7g1Oyvu.js → index-BTwkmpVj.js} +1 -1
- package/dist/index-B_JrwY8n.js +1 -0
- package/dist/{index-Gs4vZeiM.js → index-C7fKas4_.js} +1 -1
- package/dist/{index-C58K3GYC.js → index-CFq6lvZP.js} +1 -1
- package/dist/{index-BG4dG-Iq.js → index-CJuJCEW7.js} +1 -1
- package/dist/{index-DHPSuaxQ.js → index-CaYw82Ta.js} +1 -1
- package/dist/{index-DeygxzFt.js → index-DT48woGj.js} +1 -1
- package/dist/index-Dj1rhm_A.js +1 -0
- package/dist/{index-IiF_L-ye.js → index-DjhLcS-z.js} +1 -1
- package/dist/{index-Btk4uD1X.js → index-JflTCg0X.js} +1 -1
- package/dist/{index-CYRAviFT.js → index-LgFI4FKk.js} +1 -1
- package/dist/{index-814ZKCzc.js → index-PCmNsJE2.js} +1 -1
- package/dist/{index-88FxG66J.js → index-PGsQ2egI.js} +1 -1
- package/dist/{index-ZcblEvmz.js → index-_cB1xrqH.js} +1 -1
- package/dist/{index-CPA450TQ.js → index-bWspXLUq.js} +1 -1
- package/dist/{index-DH8UsLYJ.js → index-dQ7vVUlv.js} +1 -1
- package/dist/{index-Cqupd6Wy.js → index-iVhrlgyt.js} +1 -1
- package/dist/{index-C4th3xJ6.js → index-mY4LmL6N.js} +1 -1
- package/dist/{index-B6RD2OJe.js → index-op-_wwUZ.js} +1 -1
- package/dist/{index-C9WpI2Tm.js → index-qaafyueB.js} +1 -1
- package/dist/{index-zezTOB-o.js → index-vkj6JGET.js} +1 -1
- package/dist/index.d.ts +77 -30
- package/dist/index.js +1 -1
- package/dist/{isHoverSupported-D44d_mIZ.js → isHoverSupported-Niv4ro8u.js} +1 -1
- package/dist/layers.css.ts.vanilla-Cmtjywky-Bg0GBLhn.js +1 -0
- package/dist/{modal-context-CZkiy5HR.js → modal-context-DznF5edb.js} +1 -1
- package/dist/{onReactSelectInputBlur-BUPsLbov.js → onReactSelectInputBlur-KoipXB_e.js} +1 -1
- package/dist/propTypes-4_fjuMiv.js +1 -0
- package/dist/{register-DILttFUh.js → register-BMG3ml_B.js} +1 -1
- package/dist/{theme-css-Bg5Y5ztL.js → theme-css-Be4zmtTa.js} +1 -1
- package/dist/{useEffectEvent-5wnppbDW.js → useEffectEvent-CIvOsLTR.js} +1 -1
- package/dist/{useFieldLabelTrigger-CpzyAb5U.js → useFieldLabelTrigger-8gU7iAvH.js} +1 -1
- package/dist/{useHighlightedIndex-DrE493g8.js → useHighlightedIndex-D8EpX4Xr.js} +1 -1
- package/dist/useMenuSurface-B5iwMO-d.js +1 -0
- package/dist/{useObserveValue-xCZTzwM7.js → useObserveValue-D5uGIN6E.js} +1 -1
- package/dist/{usePopoverScope-De1MMmlq.js → usePopoverScope-BtLhPs8F.js} +1 -1
- package/dist/{useSuggestions-D3R3F2ga.js → useSuggestions-MOMPhSJu.js} +1 -1
- package/dist/{useSurface-atV-PbfZ.js → useSurface-C9aFdtGs.js} +1 -1
- package/dist/{withIcon-DK-_INtN.js → withIcon-CEF1JQc-.js} +1 -1
- package/package.json +3 -3
- package/dist/ActionsRoot-D0ocY-JV.js +0 -1
- package/dist/Alert-8leDfbyn.js +0 -1
- package/dist/AlertDialog-D2d0AUTI.js +0 -1
- package/dist/AlertDialogFooter-EV4CepQk.js +0 -1
- package/dist/AlertDialogHeader-0b2BZR0N.js +0 -1
- package/dist/AlertDialogTrigger-0msD9023.js +0 -1
- package/dist/AngleMenuButton-DA392WZQ.js +0 -1
- package/dist/Avatar-s48JunGD.js +0 -1
- package/dist/AvatarContext-Dw3umcic.js +0 -1
- package/dist/AvatarGroup-DN1JeYJj.js +0 -1
- package/dist/Badge-BIUTLFxx.js +0 -1
- package/dist/Box-NSKXdhla.js +0 -1
- package/dist/Button-CbsdJ7z_.js +0 -1
- package/dist/ButtonContext-B7n1cluB.js +0 -1
- package/dist/ButtonGroup-Bi0Foo7-.js +0 -1
- package/dist/ButtonRoot-CwkLiI1E.js +0 -1
- package/dist/CardContext-CwHdVCtW.js +0 -1
- package/dist/Combination-BuDWzATy.js +0 -41
- package/dist/Cover-DCpquHUi.js +0 -1
- package/dist/Cover.css.ts.vanilla-Bw5lqEv8-C5bIYG0J.js +0 -1
- package/dist/DataTableContext-kCAmo7fR.js +0 -1
- package/dist/DateRangePickerContext-BPwQLKFP.js +0 -1
- package/dist/DialogBody-ByYicb2Y.js +0 -1
- package/dist/DialogBody.css.ts.vanilla-CwijUzeT-B1-2YKb1.js +0 -1
- package/dist/DialogFooter-DmnZlNZQ.js +0 -1
- package/dist/DialogForm-DpT3w4n1.js +0 -1
- package/dist/DialogTrigger-BEgLW4SG.js +0 -1
- package/dist/Disclosure-BSNO_1mU.js +0 -1
- package/dist/DisclosureContent-n1mCuKCv.js +0 -1
- package/dist/DisclosureTrigger-D81sAwDz.js +0 -1
- package/dist/DropdownMenuContext-Bq9TjaZi.js +0 -1
- package/dist/DropdownMenuNestedContext-CYAMJWc1.js +0 -1
- package/dist/DropdownMenuSubContext-COmdhAeQ.js +0 -1
- package/dist/FieldLabel-Dc3BIxFa.js +0 -1
- package/dist/Group-3-A-MDD4.js +0 -1
- package/dist/Heading-B-qiC-af.js +0 -1
- package/dist/Icon-Ch3T1RbN.js +0 -1
- package/dist/IconAngleDown-BjSWDRNg.js +0 -1
- package/dist/IconAngleLeft-5AsGoiai.js +0 -1
- package/dist/IconAngleRight-Bu3ngCJK.js +0 -1
- package/dist/Input-BIhM5FLM.js +0 -1
- package/dist/InputAddon-De31eWLB.js +0 -1
- package/dist/InputContext-cFi8nHRF.js +0 -1
- package/dist/InputControl-BBjnGjCa.js +0 -1
- package/dist/InputControl.css.ts.vanilla-BA6qs5Zw-BOk8z5e8.js +0 -1
- package/dist/InputRoot-C00mfu6N.js +0 -1
- package/dist/Link-50hkmoN0.js +0 -1
- package/dist/Listbox-Cu2CabeL.js +0 -1
- package/dist/ListboxEmpty-CfhZ8nCQ.js +0 -1
- package/dist/ListboxGroup-DAWstG60.js +0 -1
- package/dist/ListboxGroupContext-BMRUCzoS.js +0 -1
- package/dist/ListboxItem-BiVsJLKo.js +0 -1
- package/dist/ListboxItemIndicator-BgdT6gEH.js +0 -1
- package/dist/ListboxItemized-XxIqOG7v.js +0 -1
- package/dist/ListboxLabel-DFSsvegb.js +0 -1
- package/dist/ListboxSeparator-dvBdS-WA.js +0 -1
- package/dist/MenuContent-D_zxB7xs.js +0 -1
- package/dist/MenuContext-_WkGdVLn.js +0 -1
- package/dist/MenuTrigger-Cqg9mG3E.js +0 -1
- package/dist/Nav-ByR5UrUS.js +0 -1
- package/dist/NavAccountItem-8g-XnEub.js +0 -1
- package/dist/NavHeader-CgMixA9y.js +0 -1
- package/dist/NavItem-BRZfRfoC.js +0 -1
- package/dist/NavList-DdwtGv60.js +0 -1
- package/dist/NavSeparator-BjpedUsy.js +0 -1
- package/dist/Pagination-xYazQDSR.js +0 -1
- package/dist/Paper-BGfbvj3M.js +0 -1
- package/dist/PopoverAnchor-D7egmDCK.js +0 -1
- package/dist/PortalContext-Bxk1vlgJ.js +0 -1
- package/dist/RadioGroupContext-B25vmuru.js +0 -1
- package/dist/Select-jBfGww6r.js +0 -1
- package/dist/Separator-B53aKK5Q.js +0 -1
- package/dist/SidebarContext-5oYIiB86.js +0 -1
- package/dist/Skeleton-qCiYgn0X.js +0 -1
- package/dist/Spinner-DdqhaJll.js +0 -1
- package/dist/SuggestionPopover-DHFhrT53.js +0 -9
- package/dist/Table-BRwcP12Q.js +0 -1
- package/dist/TableAction-BSXOI1Or.js +0 -1
- package/dist/TableBody-B6w_Cq52.js +0 -1
- package/dist/TableCell-CNxqMajP.js +0 -1
- package/dist/TableHeader-BsRmtcRq.js +0 -1
- package/dist/TableHeaderCell-B0xjs-1D.js +0 -1
- package/dist/TableRow-BOPyVzcS.js +0 -1
- package/dist/TableRow.css.ts.vanilla-kx6T7gxk-D_evn94V.js +0 -1
- package/dist/Text-D6ieMmFm.js +0 -1
- package/dist/ToastProvider-l9AuHleg.js +0 -1
- package/dist/ToggleInputLabel-DTAMk-D_.js +0 -1
- package/dist/TooltipContent-CaOijnUm.js +0 -1
- package/dist/TooltipContext-BaNE0u0Q.js +0 -1
- package/dist/TooltipProvider-DVr_Gj47.js +0 -1
- package/dist/TooltipTrigger-CvLfU6wd.js +0 -1
- package/dist/Transition-DDdUHHDQ.js +0 -1
- package/dist/TransitionGroupContext-BIDp4rqp.js +0 -1
- package/dist/assets/files/fira-code-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/fira-code-cyrillic-wght-normal.woff2 +0 -0
- package/dist/assets/files/fira-code-greek-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/fira-code-greek-wght-normal.woff2 +0 -0
- package/dist/assets/files/fira-code-latin-ext-wght-normal.woff2 +0 -0
- package/dist/assets/files/fira-code-latin-wght-normal.woff2 +0 -0
- package/dist/assets/files/fira-code-symbols2-wght-normal.woff2 +0 -0
- package/dist/assets/variable/InterVariable-Italic.woff2 +0 -0
- package/dist/assets/variable/InterVariable.woff2 +0 -0
- package/dist/context-CmbQ0JHf.js +0 -1
- package/dist/fallbackSpan-B1HBngzj.js +0 -1
- package/dist/index-DICIxD60.js +0 -1
- package/dist/index-DyVWey1I.js +0 -1
- package/dist/layers.css.ts.vanilla-CDX2D93i-aA9SvUvJ.js +0 -1
- package/dist/propTypes-C0dyN58l.js +0 -1
- package/dist/useMenuSurface-C0BPDvem.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as e}from"../register-
|
|
1
|
+
import{r as o,c as e}from"../register-BMG3ml_B.js";import{bl as m}from"../propTypes-4_fjuMiv.js";import{l as t}from"../ThemeProvider-inNvPO6u.js";import"../vanilla-extract-dynamic.esm-eGTknIhu.js";import"../layers.css.ts.vanilla-Cmtjywky-Bg0GBLhn.js";import"../PortalContext-BMbJPZJV.js";import"../index-mY4LmL6N.js";import"../theme-css-Be4zmtTa.js";import"../index-Dj1rhm_A.js";const r="ax-theme-provider";var i=o(r,t,m,e);export{r as ThemeProvider,i as default};
|
|
@@ -8,8 +8,8 @@ declare const ToastProvider = "ax-toast-provider";
|
|
|
8
8
|
type ToastProviderProps = BoxProps & {
|
|
9
9
|
"label"?: string;
|
|
10
10
|
"duration"?: number;
|
|
11
|
-
"swipeDirection"?: "
|
|
12
|
-
"swipe-direction"?: "
|
|
11
|
+
"swipeDirection"?: "right" | "left" | "up" | "down";
|
|
12
|
+
"swipe-direction"?: "right" | "left" | "up" | "down";
|
|
13
13
|
"swipeThreshold"?: number;
|
|
14
14
|
"swipe-threshold"?: number;
|
|
15
15
|
"container"?: Element | DocumentFragment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-BMG3ml_B.js";import{bm as i}from"../propTypes-4_fjuMiv.js";import{c as m}from"../ToastProvider-B_QFWbn7.js";import"../index-dQ7vVUlv.js";import"../index-CBrz5xtv.js";import"../index-qaafyueB.js";import"../index-mY4LmL6N.js";import"../index-bWspXLUq.js";import"../index-LgFI4FKk.js";import"../index-_cB1xrqH.js";import"../Portal-DhhE1MIL.js";import"../PortalContext-BMbJPZJV.js";import"../index-PGsQ2egI.js";import"../index-B_JrwY8n.js";import"../index-BTwkmpVj.js";import"../index-C7fKas4_.js";import"../index-CaYw82Ta.js";import"../Box-BV82RZkY.js";import"../layers.css.ts.vanilla-Cmtjywky-Bg0GBLhn.js";import"../recipeRuntime-BvPxdQJv.js";import"../Group-Bikb06zg.js";import"../vanilla-extract-dynamic.esm-eGTknIhu.js";import"../Button-CEBPGPAA.js";import"../Icon-CK7w67FQ.js";import"../useSurface-C9aFdtGs.js";import"../isHoverSupported-Niv4ro8u.js";import"../index-Dj1rhm_A.js";import"../decorateChildren-do-vOWHx.js";import"../fallbackSpan-d6klaC7f.js";import"../ButtonRoot-76DR8dRY.js";import"../DialogBody.css.ts.vanilla-DzZ8okVZ-DPcLlaSD.js";import"../Spinner-DHJLSuge.js";import"../Transition-Bhp-QKNP.js";import"../TransitionGroupContext-YpV8Y-Zq.js";import"../TransitionGroup-Bn4ErChn.js";import"../ButtonContext-BN2eAKVU.js";import"../Text-DmWHegjQ.js";import"../ButtonGroup-BvNuIn_t.js";import"../IconTriangleExclamationSolid-Dqu3kd-F.js";import"../withIcon-CEF1JQc-.js";import"../IconX-9RWTeOlB.js";import"../Separator-BywuUEab.js";import"../FieldContext-Dqza0tHJ.js";const r="ax-toast-provider";var p=o(r,m,i,t);export{r as ToastProvider,p as default};
|
|
@@ -16,6 +16,7 @@ type ToggleButtonProps = BoxProps & {
|
|
|
16
16
|
"icon-position"?: "end" | "start";
|
|
17
17
|
"size"?: "sm" | "md" | "lg";
|
|
18
18
|
"disabled"?: false | true;
|
|
19
|
+
"type"?: "button" | "reset" | "submit";
|
|
19
20
|
"square"?: false | true;
|
|
20
21
|
"loading"?: false | true;
|
|
21
22
|
"asChild"?: false | true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as e,u as o,r as a,c as n}from"../register-
|
|
1
|
+
import{D as e,u as o,r as a,c as n}from"../register-BMG3ml_B.js";import{bn as s}from"../propTypes-4_fjuMiv.js";import{R as g}from"../index-vkj6JGET.js";import{b as l}from"../Button-CEBPGPAA.js";import"../ButtonGroup-BvNuIn_t.js";import"../index-CBrz5xtv.js";import"../index-BTwkmpVj.js";import"../index-B_JrwY8n.js";import"../index-LgFI4FKk.js";import"../index-dQ7vVUlv.js";import"../Icon-CK7w67FQ.js";import"../Box-BV82RZkY.js";import"../layers.css.ts.vanilla-Cmtjywky-Bg0GBLhn.js";import"../recipeRuntime-BvPxdQJv.js";import"../useSurface-C9aFdtGs.js";import"../isHoverSupported-Niv4ro8u.js";import"../index-Dj1rhm_A.js";import"../decorateChildren-do-vOWHx.js";import"../fallbackSpan-d6klaC7f.js";import"../ButtonRoot-76DR8dRY.js";import"../DialogBody.css.ts.vanilla-DzZ8okVZ-DPcLlaSD.js";import"../Spinner-DHJLSuge.js";import"../Group-Bikb06zg.js";import"../Transition-Bhp-QKNP.js";import"../TransitionGroupContext-YpV8Y-Zq.js";import"../index-mY4LmL6N.js";import"../TransitionGroup-Bn4ErChn.js";import"../ButtonContext-BN2eAKVU.js";import"../Text-DmWHegjQ.js";const t=e(({children:i,...m},p)=>o(l,{asChild:!0,...m,children:o(g,{ref:p,children:i})}));t.displayName="@optiaxiom/react/ToggleButton";const r="ax-toggle-button";var c=a(r,t,s,n);export{r as ToggleButton,c as default};
|
|
@@ -13,8 +13,8 @@ type TooltipProps = {
|
|
|
13
13
|
"border-color"?: "border.accent" | "border.control" | "border.control.hovered" | "border.default" | "border.disabled" | "border.error" | "border.focus" | "border.focus.error" | "border.secondary" | "border.success" | "border.tertiary" | "border.warning" | "transparent" | "current";
|
|
14
14
|
"color"?: "transparent" | "current" | "fg.accent" | "fg.accent.hovered" | "fg.accent.strong" | "fg.avatar.neutral" | "fg.avatar.purple" | "fg.default" | "fg.default.inverse" | "fg.disabled" | "fg.error" | "fg.error.hovered" | "fg.error.light" | "fg.error.strong" | "fg.information" | "fg.information.light" | "fg.information.strong" | "fg.link.default" | "fg.link.default.hovered" | "fg.link.inverse" | "fg.link.subtle" | "fg.link.visited" | "fg.secondary" | "fg.spinner.default" | "fg.spinner.inverse" | "fg.success" | "fg.success.hovered" | "fg.success.light" | "fg.success.strong" | "fg.tertiary" | "fg.warning" | "fg.warning.hovered" | "fg.warning.inverse" | "fg.warning.light" | "fg.warning.strong" | "fg.white";
|
|
15
15
|
"cursor"?: "text" | "pointer" | "default";
|
|
16
|
-
"fontFamily"?: "mono" | "sans";
|
|
17
|
-
"font-family"?: "mono" | "sans";
|
|
16
|
+
"fontFamily"?: "heading" | "mono" | "sans";
|
|
17
|
+
"font-family"?: "heading" | "mono" | "sans";
|
|
18
18
|
"fontSize"?: "xs" | "sm" | "md" | "lg" | "xl" | "inherit" | "2xl" | "3xl" | "4xl";
|
|
19
19
|
"font-size"?: "xs" | "sm" | "md" | "lg" | "xl" | "inherit" | "2xl" | "3xl" | "4xl";
|
|
20
20
|
"fontWeight"?: "inherit" | "400" | "500" | "600" | "700";
|
|
@@ -73,6 +73,8 @@ type TooltipProps = {
|
|
|
73
73
|
"flexWrap"?: "nowrap" | "wrap" | ResponsiveObject<"nowrap" | "wrap"> | ResponsiveArray<"nowrap" | "wrap">;
|
|
74
74
|
"flex-wrap"?: "nowrap" | "wrap";
|
|
75
75
|
"gap"?: "0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80" | ResponsiveObject<"0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80"> | ResponsiveArray<"0" | "2" | "4" | "6" | "8" | "10" | "12" | "16" | "20" | "24" | "32" | "40" | "48" | "64" | "80">;
|
|
76
|
+
"gridAutoRows"?: "fr" | ResponsiveObject<"fr"> | ResponsiveArray<"fr">;
|
|
77
|
+
"grid-auto-rows"?: "fr";
|
|
76
78
|
"gridColumn"?: "1" | "2" | "4" | "3" | ResponsiveObject<"1" | "2" | "4" | "3"> | ResponsiveArray<"1" | "2" | "4" | "3">;
|
|
77
79
|
"grid-column"?: "1" | "2" | "4" | "3";
|
|
78
80
|
"gridTemplateColumns"?: "1" | "2" | "4" | "3" | ResponsiveArray<"1" | "2" | "4" | "3"> | ResponsiveObject<"1" | "2" | "4" | "3">;
|
|
@@ -96,14 +98,14 @@ type TooltipProps = {
|
|
|
96
98
|
"aria-label"?: string;
|
|
97
99
|
"content"?: string | number | false | true;
|
|
98
100
|
"auto"?: false | true;
|
|
99
|
-
"
|
|
100
|
-
"default-open"?: false | true;
|
|
101
|
-
"open"?: false | true;
|
|
102
|
-
"onOpenChange"?: (open: boolean) => void;
|
|
101
|
+
"side"?: "top" | "right" | "bottom" | "left";
|
|
103
102
|
"align"?: "center" | "end" | "start";
|
|
104
|
-
"side"?: "left" | "right" | "top" | "bottom";
|
|
105
103
|
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
106
104
|
"onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
|
|
105
|
+
"defaultOpen"?: false | true;
|
|
106
|
+
"default-open"?: false | true;
|
|
107
|
+
"onOpenChange"?: (open: boolean) => void;
|
|
108
|
+
"open"?: false | true;
|
|
107
109
|
"delayDuration"?: number;
|
|
108
110
|
"delay-duration"?: number;
|
|
109
111
|
"disableHoverableContent"?: false | true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-BMG3ml_B.js";import{bo as p}from"../propTypes-4_fjuMiv.js";import{t as i}from"../Tooltip-DSqIroK_.js";import"../TooltipContent-MbupXxr3.js";import"../index-PCmNsJE2.js";import"../index-CBrz5xtv.js";import"../index-dQ7vVUlv.js";import"../index-mY4LmL6N.js";import"../index-bWspXLUq.js";import"../index-LgFI4FKk.js";import"../index-_cB1xrqH.js";import"../index-JflTCg0X.js";import"../index-B_JrwY8n.js";import"../index-CFq6lvZP.js";import"../index-PGsQ2egI.js";import"../index-BTwkmpVj.js";import"../index-C7fKas4_.js";import"../Box-BV82RZkY.js";import"../layers.css.ts.vanilla-Cmtjywky-Bg0GBLhn.js";import"../recipeRuntime-BvPxdQJv.js";import"../Portal-DhhE1MIL.js";import"../PortalContext-BMbJPZJV.js";import"../Text-DmWHegjQ.js";import"../Transition-Bhp-QKNP.js";import"../TransitionGroupContext-YpV8Y-Zq.js";import"../TransitionGroup-Bn4ErChn.js";import"../TooltipContext-zD8hbTH7.js";import"../theme-css-Be4zmtTa.js";import"../TooltipRoot-B_zpoHnK.js";import"../TooltipTrigger-B8cXbnIc.js";import"../Button-CEBPGPAA.js";import"../Icon-CK7w67FQ.js";import"../useSurface-C9aFdtGs.js";import"../isHoverSupported-Niv4ro8u.js";import"../index-Dj1rhm_A.js";import"../decorateChildren-do-vOWHx.js";import"../fallbackSpan-d6klaC7f.js";import"../ButtonRoot-76DR8dRY.js";import"../DialogBody.css.ts.vanilla-DzZ8okVZ-DPcLlaSD.js";import"../Spinner-DHJLSuge.js";import"../Group-Bikb06zg.js";import"../ButtonContext-BN2eAKVU.js";import"../ButtonGroup-BvNuIn_t.js";import"../FilteredSlot-DtvpYzPA.js";const o="ax-tooltip";var m=t(o,i,p,r);export{o as Tooltip,m as default};
|
|
@@ -9,8 +9,8 @@ type TooltipContentProps = BoxProps & {
|
|
|
9
9
|
"asChild"?: false | true;
|
|
10
10
|
"as-child"?: false | true;
|
|
11
11
|
"aria-label"?: string;
|
|
12
|
+
"side"?: "top" | "right" | "bottom" | "left";
|
|
12
13
|
"align"?: "center" | "end" | "start";
|
|
13
|
-
"side"?: "left" | "right" | "top" | "bottom";
|
|
14
14
|
"onEscapeKeyDown"?: (event: KeyboardEvent) => void;
|
|
15
15
|
"onPointerDownOutside"?: (event: PointerDownOutsideEvent) => void;
|
|
16
16
|
"disableHoverableContent"?: false | true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-BMG3ml_B.js";import{bp as p}from"../propTypes-4_fjuMiv.js";import{r as i}from"../TooltipContent-MbupXxr3.js";import"../index-PCmNsJE2.js";import"../index-CBrz5xtv.js";import"../index-dQ7vVUlv.js";import"../index-mY4LmL6N.js";import"../index-bWspXLUq.js";import"../index-LgFI4FKk.js";import"../index-_cB1xrqH.js";import"../index-JflTCg0X.js";import"../index-B_JrwY8n.js";import"../index-CFq6lvZP.js";import"../index-PGsQ2egI.js";import"../index-BTwkmpVj.js";import"../index-C7fKas4_.js";import"../Box-BV82RZkY.js";import"../layers.css.ts.vanilla-Cmtjywky-Bg0GBLhn.js";import"../recipeRuntime-BvPxdQJv.js";import"../Portal-DhhE1MIL.js";import"../PortalContext-BMbJPZJV.js";import"../Text-DmWHegjQ.js";import"../Transition-Bhp-QKNP.js";import"../TransitionGroupContext-YpV8Y-Zq.js";import"../TransitionGroup-Bn4ErChn.js";import"../TooltipContext-zD8hbTH7.js";import"../theme-css-Be4zmtTa.js";const o="ax-tooltip-content";var m=t(o,i,p,r);export{o as TooltipContent,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,c as t}from"../register-
|
|
1
|
+
import{r,c as t}from"../register-BMG3ml_B.js";import{bq as i}from"../propTypes-4_fjuMiv.js";import{o as p}from"../TooltipProvider-DwVQlvj7.js";import"../index-PCmNsJE2.js";import"../index-CBrz5xtv.js";import"../index-dQ7vVUlv.js";import"../index-mY4LmL6N.js";import"../index-bWspXLUq.js";import"../index-LgFI4FKk.js";import"../index-_cB1xrqH.js";import"../index-JflTCg0X.js";import"../index-B_JrwY8n.js";import"../index-CFq6lvZP.js";import"../index-PGsQ2egI.js";import"../index-BTwkmpVj.js";import"../index-C7fKas4_.js";const o="ax-tooltip-provider";var m=r(o,p,i,t);export{o as TooltipProvider,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as r}from"../register-
|
|
1
|
+
import{r as t,c as r}from"../register-BMG3ml_B.js";import{br as p}from"../propTypes-4_fjuMiv.js";import{m as i}from"../TooltipRoot-B_zpoHnK.js";import"../index-PCmNsJE2.js";import"../index-CBrz5xtv.js";import"../index-dQ7vVUlv.js";import"../index-mY4LmL6N.js";import"../index-bWspXLUq.js";import"../index-LgFI4FKk.js";import"../index-_cB1xrqH.js";import"../index-JflTCg0X.js";import"../index-B_JrwY8n.js";import"../index-CFq6lvZP.js";import"../index-PGsQ2egI.js";import"../index-BTwkmpVj.js";import"../index-C7fKas4_.js";import"../TooltipContext-zD8hbTH7.js";const o="ax-tooltip-root";var m=t(o,i,p,r);export{o as TooltipRoot,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-BMG3ml_B.js";import{bs as i}from"../propTypes-4_fjuMiv.js";import{t as p}from"../TooltipTrigger-B8cXbnIc.js";import"../index-dQ7vVUlv.js";import"../index-PCmNsJE2.js";import"../index-CBrz5xtv.js";import"../index-mY4LmL6N.js";import"../index-bWspXLUq.js";import"../index-LgFI4FKk.js";import"../index-_cB1xrqH.js";import"../index-JflTCg0X.js";import"../index-B_JrwY8n.js";import"../index-CFq6lvZP.js";import"../index-PGsQ2egI.js";import"../index-BTwkmpVj.js";import"../index-C7fKas4_.js";import"../Button-CEBPGPAA.js";import"../Icon-CK7w67FQ.js";import"../Box-BV82RZkY.js";import"../layers.css.ts.vanilla-Cmtjywky-Bg0GBLhn.js";import"../recipeRuntime-BvPxdQJv.js";import"../useSurface-C9aFdtGs.js";import"../isHoverSupported-Niv4ro8u.js";import"../index-Dj1rhm_A.js";import"../decorateChildren-do-vOWHx.js";import"../fallbackSpan-d6klaC7f.js";import"../ButtonRoot-76DR8dRY.js";import"../DialogBody.css.ts.vanilla-DzZ8okVZ-DPcLlaSD.js";import"../Spinner-DHJLSuge.js";import"../Group-Bikb06zg.js";import"../Transition-Bhp-QKNP.js";import"../TransitionGroupContext-YpV8Y-Zq.js";import"../TransitionGroup-Bn4ErChn.js";import"../ButtonContext-BN2eAKVU.js";import"../Text-DmWHegjQ.js";import"../ButtonGroup-BvNuIn_t.js";import"../FilteredSlot-DtvpYzPA.js";import"../TooltipContext-zD8hbTH7.js";const r="ax-tooltip-trigger";var m=o(r,p,i,t);export{r as TooltipTrigger,m as default};
|
|
@@ -9,7 +9,7 @@ type TransitionProps = {
|
|
|
9
9
|
"duration"?: "sm" | "md" | "lg";
|
|
10
10
|
"className"?: string;
|
|
11
11
|
"class-name"?: string;
|
|
12
|
-
"data-side"?: "
|
|
12
|
+
"data-side"?: "top" | "right" | "bottom" | "left";
|
|
13
13
|
"skipAnimations"?: false | true;
|
|
14
14
|
"skip-animations"?: false | true;
|
|
15
15
|
"type"?: "fade" | "pop";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-BMG3ml_B.js";import{bt as i}from"../propTypes-4_fjuMiv.js";import{f as m}from"../Transition-Bhp-QKNP.js";import"../index-dQ7vVUlv.js";import"../layers.css.ts.vanilla-Cmtjywky-Bg0GBLhn.js";import"../recipeRuntime-BvPxdQJv.js";import"../TransitionGroupContext-YpV8Y-Zq.js";import"../index-mY4LmL6N.js";const r="ax-transition";var s=o(r,m,i,t);export{r as Transition,s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t}from"../register-
|
|
1
|
+
import{r as o,c as t}from"../register-BMG3ml_B.js";import{bu as i}from"../propTypes-4_fjuMiv.js";import{f as p}from"../TransitionGroup-Bn4ErChn.js";import"../index-BTwkmpVj.js";import"../index-B_JrwY8n.js";import"../TransitionGroupContext-YpV8Y-Zq.js";import"../index-mY4LmL6N.js";const r="ax-transition-group";var s=o(r,p,i,t);export{r as TransitionGroup,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Q as o}from"./register-BMG3ml_B.js";const t=o(void 0),i=o(void 0);export{i as e,t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as n,e as r}from"./register-
|
|
1
|
+
import{m as n,e as r}from"./register-BMG3ml_B.js";const p=({asChild:t,children:s},i)=>{if(t){const e=n(s)?s:null;return e?r(e,void 0,p({...e.props,asChild:e.props.asChild||typeof e.type!="string"&&"displayName"in e.type&&typeof e.type.displayName=="string"&&e.type.displayName?.endsWith(".Slot")},i)):s}else return i(s)};export{p as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as n,m as o,k as p}from"./register-BMG3ml_B.js";const t=m=>o(m)&&m.type!==p?m:n("span",{children:m});export{t as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as m,u as l,A as R,y as x}from"./register-
|
|
1
|
+
import{D as m,u as l,A as R,y as x}from"./register-BMG3ml_B.js";import{c as f}from"./index-CBrz5xtv.js";import{a as D}from"./index-mY4LmL6N.js";import{u as E,c as I,R as V,I as G}from"./index-CJuJCEW7.js";import{P as L}from"./index-PGsQ2egI.js";import{P as p}from"./index-LgFI4FKk.js";import{u as w}from"./index-BTwkmpVj.js";import{u as $}from"./index-JflTCg0X.js";var T="Tabs",[k,Y]=D(T,[I]),h=I(),[K,g]=k(T),C=m((e,n)=>{const{__scopeTabs:s,value:t,onValueChange:r,defaultValue:c,orientation:a="horizontal",dir:u,activationMode:v="automatic",...b}=e,i=E(u),[o,d]=w({prop:t,onChange:r,defaultProp:c??"",caller:T});return l(K,{scope:s,baseId:$(),value:o,onValueChange:d,orientation:a,dir:i,activationMode:v,children:l(p.div,{dir:i,"data-orientation":a,...b,ref:n})})});C.displayName=T;var y="TabsList",A=m((e,n)=>{const{__scopeTabs:s,loop:t=!0,...r}=e,c=g(y,s),a=h(s);return l(V,{asChild:!0,...a,orientation:c.orientation,dir:c.dir,loop:t,children:l(p.div,{role:"tablist","aria-orientation":c.orientation,...r,ref:n})})});A.displayName=y;var _="TabsTrigger",P=m((e,n)=>{const{__scopeTabs:s,value:t,disabled:r=!1,...c}=e,a=g(_,s),u=h(s),v=N(a.baseId,t),b=F(a.baseId,t),i=t===a.value;return l(G,{asChild:!0,...u,focusable:!r,active:i,children:l(p.button,{type:"button",role:"tab","aria-selected":i,"aria-controls":b,"data-state":i?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:v,...c,ref:n,onMouseDown:f(e.onMouseDown,o=>{!r&&o.button===0&&o.ctrlKey===!1?a.onValueChange(t):o.preventDefault()}),onKeyDown:f(e.onKeyDown,o=>{[" ","Enter"].includes(o.key)&&a.onValueChange(t)}),onFocus:f(e.onFocus,()=>{const o=a.activationMode!=="manual";!i&&!r&&o&&a.onValueChange(t)})})})});P.displayName=_;var S="TabsContent",M=m((e,n)=>{const{__scopeTabs:s,value:t,forceMount:r,children:c,...a}=e,u=g(S,s),v=N(u.baseId,t),b=F(u.baseId,t),i=t===u.value,o=R(i);return x(()=>{const d=requestAnimationFrame(()=>o.current=!1);return()=>cancelAnimationFrame(d)},[]),l(L,{present:r||i,children:({present:d})=>l(p.div,{"data-state":i?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":v,hidden:!d,id:b,tabIndex:0,...a,ref:n,style:{...e.style,animationDuration:o.current?"0s":void 0},children:d&&c})})});M.displayName=S;function N(e,n){return`${e}-trigger-${n}`}function F(e,n){return`${e}-content-${n}`}var B=C,q=A,z=P;export{q as L,B as R,M as T,z as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as f,y as d,q as v,d as h,a as C}from"./register-
|
|
1
|
+
import{A as f,y as d,q as v,d as h,a as C}from"./register-BMG3ml_B.js";import{u as g}from"./index-B_JrwY8n.js";var w=C[" useInsertionEffect ".trim().toString()]||g;function R({prop:o,defaultProp:c,onChange:t=()=>{},caller:u}){const[l,r,i]=y({defaultProp:c,onChange:t}),n=o!==void 0,a=n?o:l;{const e=f(o!==void 0);d(()=>{const s=e.current;s!==n&&console.warn(`${u} is changing from ${s?"controlled":"uncontrolled"} to ${n?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),e.current=n},[n,u])}const m=v(e=>{if(n){const s=E(e)?e(o):e;s!==o&&i.current?.(s)}else r(e)},[n,o,r,i]);return[a,m]}function y({defaultProp:o,onChange:c}){const[t,u]=h(o),l=f(t),r=f(c);return w(()=>{r.current=c},[c]),d(()=>{l.current!==t&&(r.current?.(t),l.current=t)},[t,l]),[t,u,r]}function E(o){return typeof o=="function"}export{R as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./register-BMG3ml_B.js";var a=globalThis?.document?o:()=>{};export{a as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as i,u as o}from"./register-
|
|
1
|
+
import{D as i,u as o}from"./register-BMG3ml_B.js";import{P as t}from"./index-LgFI4FKk.js";var d=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l="VisuallyHidden",r=i((e,a)=>o(t.span,{...e,ref:a,style:{...d,...e.style}}));r.displayName=l;var n=r;export{n as R,r as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as Y,q as vt,A as G,b as Oe,y as Bt,T as at,E as Pe,D as ft,u as j}from"./register-DILttFUh.js";import{P as bt}from"./index-CYRAviFT.js";import{u as Vt}from"./index-DH8UsLYJ.js";import{a as Re}from"./index-C4th3xJ6.js";import{u as Ce}from"./index-ZcblEvmz.js";import{u as At}from"./index-DICIxD60.js";const Se=["top","right","bottom","left"],Z=Math.min,H=Math.max,ut=Math.round,dt=Math.floor,B=t=>({x:t,y:t}),Ee={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ot(t,e,n){return H(t,Z(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Pt(t){return t==="x"?"y":"x"}function Rt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(q(t))?"y":"x"}function Ct(t){return Pt(U(t))}function De(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Ct(t),r=Rt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=pt(s)),[s,pt(s)]}function Le(t){const e=pt(t);return[St(t),e,St(e)]}function St(t){return t.replace(/start|end/g,e=>Te[e])}function Me(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function $e(t,e,n,o){const i=Q(t);let r=Me(q(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(St)))),r}function pt(t){return t.replace(/left|right|bottom|top/g,e=>Ee[e])}function ke(t){return{top:0,right:0,bottom:0,left:0,...t}}function It(t){return typeof t!="number"?ke(t):{top:t,right:t,bottom:t,left:t}}function ht(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Yt(t,e,n){let{reference:o,floating:i}=t;const r=U(e),s=Ct(e),c=Rt(s),l=q(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}const Fe=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Yt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x:v,y:b,data:x,reset:y}=await g({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=v??f,u=b??u,d={...d,[w]:{...d[w],...x}},y&&p<=50&&(p++,typeof y=="object"&&(y.placement&&(h=y.placement),y.rects&&(a=y.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):y.rects),{x:f,y:u}=Yt(a,h,l)),m=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=It(d),w=c[h?u==="floating"?"reference":"floating":u],g=ht(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),v=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),x=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},y=ht(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:l}):v);return{top:(g.top-y.top+p.top)/x.y,bottom:(y.bottom-g.bottom+p.bottom)/x.y,left:(g.left-y.left+p.left)/x.x,right:(y.right-g.right+p.right)/x.x}}const Ne=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=It(f),h={x:n,y:o},d=Ct(i),p=Rt(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",v=w?"bottom":"right",b=w?"clientHeight":"clientWidth",x=r.reference[p]+r.reference[d]-h[d]-r.floating[p],y=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=P?P[b]:0;(!O||!await(s.isElement==null?void 0:s.isElement(P)))&&(O=c.floating[b]||r.floating[p]);const E=x/2-y/2,N=O/2-m[p]/2-1,C=Z(u[g],N),k=Z(u[v],N),F=C,R=O-m[p]-k,$=O/2-m[p]/2+E,T=Ot(F,$,R),D=!l.arrow&&Q(i)!=null&&$!==T&&r.reference[p]/2-($<F?C:k)-m[p]/2<0,L=D?$<F?$-F:$-R:0;return{[d]:h[d]+L,data:{[d]:T,centerOffset:$-T-L,...D&&{alignmentOffset:L}},reset:D}}}),He=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=q(i),v=U(c),b=q(c)===c,x=await(l.isRTL==null?void 0:l.isRTL(a.floating)),y=h||(b||!m?[pt(c)]:Le(c)),P=p!=="none";!h&&P&&y.push(...$e(c,m,p,x));const O=[c,...y],E=await it(e,w),N=[];let C=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&N.push(E[g]),u){const T=De(i,s,x);N.push(E[T[0]],E[T[1]])}if(C=[...C,{placement:i,overflows:N}],!N.every(T=>T<=0)){var k,F;const T=(((k=r.flip)==null?void 0:k.index)||0)+1,D=O[T];if(D){var R;const A=u==="alignment"?v!==U(D):!1,S=((R=C[0])==null?void 0:R.overflows[0])>0;if(!A||S)return{data:{index:T,overflows:C},reset:{placement:D}}}let L=(F=C.filter(A=>A.overflows[0]<=0).sort((A,S)=>A.overflows[1]-S.overflows[1])[0])==null?void 0:F.placement;if(!L)switch(d){case"bestFit":{var $;const A=($=C.filter(S=>{if(P){const M=U(S.placement);return M===v||M==="y"}return!0}).map(S=>[S.placement,S.overflows.filter(M=>M>0).reduce((M,ct)=>M+ct,0)]).sort((S,M)=>S[1]-M[1])[0])==null?void 0:$[0];A&&(L=A);break}case"initialPlacement":L=c;break}if(i!==L)return{reset:{placement:L}}}return{}}}};function jt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Xt(t){return Se.some(e=>t[e]>=0)}const We=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=jt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Xt(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=jt(r,n.floating);return{data:{escapedOffsets:s,escaped:Xt(s)}}}default:return{}}}}};async function ze(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=q(n),c=Q(n),l=U(n)==="y",a=["left","top"].includes(s)?-1:1,f=r&&l?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:h*a}:{x:h*a,y:d*f}}const _e=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await ze(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},Be=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:v}=w;return{x:g,y:v}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=U(q(i)),h=Pt(u);let d=a[h],p=a[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+f[w],b=d-f[g];d=Ot(v,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",v=p+f[w],b=p-f[g];p=Ot(v,p,b)}const m=c.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:r,[u]:s}}}}}},Ve=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=X(t,e),f={x:n,y:o},u=U(i),h=Pt(u);let d=f[h],p=f[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",x=r.reference[h]-r.floating[b]+w.mainAxis,y=r.reference[h]+r.reference[b]-w.mainAxis;d<x?d=x:d>y&&(d=y)}if(a){var g,v;const b=h==="y"?"width":"height",x=["top","left"].includes(q(i)),y=r.reference[u]-r.floating[b]+(x&&((g=s.offset)==null?void 0:g[u])||0)+(x?0:w.crossAxis),P=r.reference[u]+r.reference[b]+(x?0:((v=s.offset)==null?void 0:v[u])||0)-(x?w.crossAxis:0);p<y?p=y:p>P&&(p=P)}return{[h]:d,[u]:p}}}},Ie=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...a}=X(t,e),f=await it(e,a),u=q(i),h=Q(i),d=U(i)==="y",{width:p,height:m}=r.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=h===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=h==="end"?"top":"bottom");const v=m-f.top-f.bottom,b=p-f.left-f.right,x=Z(m-f[w],v),y=Z(p-f[g],b),P=!e.middlewareData.shift;let O=x,E=y;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(E=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(O=v),P&&!h){const C=H(f.left,0),k=H(f.right,0),F=H(f.top,0),R=H(f.bottom,0);d?E=p-2*(C!==0||k!==0?C+k:H(f.left,f.right)):O=m-2*(F!==0||R!==0?F+R:H(f.top,f.bottom))}await l({...e,availableWidth:E,availableHeight:O});const N=await s.getDimensions(c.floating);return p!==N.width||m!==N.height?{reset:{rects:!0}}:{}}}};function mt(){return typeof window<"u"}function tt(t){return qt(t)?(t.nodeName||"").toLowerCase():"#document"}function W(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(qt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qt(t){return mt()?t instanceof Node||t instanceof W(t).Node:!1}function z(t){return mt()?t instanceof Element||t instanceof W(t).Element:!1}function I(t){return mt()?t instanceof HTMLElement||t instanceof W(t).HTMLElement:!1}function Ut(t){return!mt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof W(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=_(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Ye(t){return["table","td","th"].includes(tt(t))}function gt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Et(t){const e=Tt(),n=z(t)?_(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function je(t){let e=K(t);for(;I(e)&&!et(e);){if(Et(e))return e;if(gt(e))return null;e=K(e)}return null}function Tt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function _(t){return W(t).getComputedStyle(t)}function wt(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ut(t)&&t.host||V(t);return Ut(e)?e.host:e}function Zt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Zt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Zt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=W(i);if(r){const c=Dt(s);return e.concat(s,s.visualViewport||[],rt(i)?i:[],c&&n?st(c):[])}return e.concat(i,st(i,[],n))}function Dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Kt(t){const e=_(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=ut(n)!==r||ut(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Lt(t){return z(t)?t:t.contextElement}function nt(t){const e=Lt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Kt(e);let s=(r?ut(n.width):n.width)/o,c=(r?ut(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Xe=B(0);function Gt(t){const e=W(t);return!Tt()||!e.visualViewport?Xe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==W(t)?!1:e}function J(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Lt(t);let s=B(1);e&&(o?z(o)&&(s=nt(o)):s=nt(t));const c=qe(r,n,o)?Gt(r):B(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){const h=W(r),d=o&&z(o)?W(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),v=_(m),b=g.left+(m.clientLeft+parseFloat(v.paddingLeft))*w.x,x=g.top+(m.clientTop+parseFloat(v.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=x,p=W(m),m=Dt(p)}}return ht({width:f,height:u,x:l,y:a})}function Mt(t,e){const n=wt(t).scrollLeft;return e?e.left+n:J(V(t)).left+n}function Jt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Mt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function Ue(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=V(o),c=e?gt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=B(1);const f=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=wt(o)),I(o))){const d=J(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Jt(s,l,!0):B(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-l.scrollTop*a.y+f.y+h.y}}function Ze(t){return Array.from(t.getClientRects())}function Ke(t){const e=V(t),n=wt(t),o=t.ownerDocument.body,i=H(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=H(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Mt(t);const c=-n.scrollTop;return _(o).direction==="rtl"&&(s+=H(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ge(t,e){const n=W(t),o=V(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const a=Tt();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Je(t,e){const n=J(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?nt(t):B(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function Qt(t,e,n){let o;if(e==="viewport")o=Ge(t,n);else if(e==="document")o=Ke(V(t));else if(z(e))o=Je(e,n);else{const i=Gt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return ht(o)}function te(t,e){const n=K(t);return n===e||!z(n)||et(n)?!1:_(n).position==="fixed"||te(n,e)}function Qe(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>z(c)&&tt(c)!=="body"),i=null;const r=_(t).position==="fixed";let s=r?K(t):t;for(;z(s)&&!et(s);){const c=_(s),l=Et(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&te(t,s))?o=o.filter(f=>f!==s):i=c,s=K(s)}return e.set(t,o),o}function tn(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?gt(e)?[]:Qe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Qt(e,f,i);return a.top=H(u.top,a.top),a.right=Z(u.right,a.right),a.bottom=Z(u.bottom,a.bottom),a.left=H(u.left,a.left),a},Qt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function en(t){const{width:e,height:n}=Kt(t);return{width:e,height:n}}function nn(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=J(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);function a(){l.x=Mt(i)}if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=wt(e)),o){const d=J(e,!0,r,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();const f=i&&!o&&!r?Jt(i,c):B(0),u=s.left+c.scrollLeft-l.x-f.x,h=s.top+c.scrollTop-l.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function $t(t){return _(t).position==="static"}function ee(t,e){if(!I(t)||_(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function ne(t,e){const n=W(t);if(gt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(z(i)&&!$t(i))return i;i=K(i)}return n}let o=ee(t,e);for(;o&&Ye(o)&&$t(o);)o=ee(o,e);return o&&et(o)&&$t(o)&&!Et(o)?n:o||je(t)||n}const on=async function(t){const e=this.getOffsetParent||ne,n=this.getDimensions,o=await n(t.floating);return{reference:nn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function rn(t){return _(t).direction==="rtl"}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:Ue,getDocumentElement:V,getClippingRect:tn,getOffsetParent:ne,getElementRects:on,getClientRects:Ze,getDimensions:en,getScale:nt,isElement:z,isRTL:rn};function oe(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function cn(t,e){let n=null,o;const i=V(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(c||e(),!h||!d)return;const p=dt(u),m=dt(i.clientWidth-(f+h)),w=dt(i.clientHeight-(u+d)),g=dt(f),b={rootMargin:-p+"px "+-m+"px "+-w+"px "+-g+"px",threshold:H(0,Z(1,l))||1};let x=!0;function y(P){const O=P[0].intersectionRatio;if(O!==l){if(!x)return s();O?s(!1,O):o=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!oe(a,t.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(y,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,b)}n.observe(t)}return s(!0),r}function ln(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Lt(t),f=i||r?[...a?st(a):[],...st(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?cn(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[v]=g;v&&v.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,m=l?J(t):null;l&&w();function w(){const g=J(t);m&&!oe(m,g)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(v=>{i&&v.removeEventListener("scroll",n),r&&v.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const an=_e,fn=Be,un=He,dn=Ie,pn=We,ie=Ne,hn=Ve,mn=(t,e,n)=>{const o=new Map,i={platform:sn,...n},r={...i.platform,_c:o};return Fe(t,e,{...i,platform:r})};var xt=typeof document<"u"?Oe:Bt;function yt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!yt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!yt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function re(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function se(t,e){const n=re(t);return Math.round(e*n)/n}function kt(t){const e=G(t);return xt(()=>{e.current=t}),e}function gn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=Y({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,d]=Y(o);yt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),v=vt(A=>{A!==P.current&&(P.current=A,m(A))},[]),b=vt(A=>{A!==O.current&&(O.current=A,g(A))},[]),x=r||p,y=s||w,P=G(null),O=G(null),E=G(f),N=l!=null,C=kt(l),k=kt(i),F=kt(a),R=vt(()=>{if(!P.current||!O.current)return;const A={placement:e,strategy:n,middleware:h};k.current&&(A.platform=k.current),mn(P.current,O.current,A).then(S=>{const M={...S,isPositioned:F.current!==!1};$.current&&!yt(E.current,M)&&(E.current=M,Pe(()=>{u(M)}))})},[h,e,n,k,F]);xt(()=>{a===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const $=G(!1);xt(()=>($.current=!0,()=>{$.current=!1}),[]),xt(()=>{if(x&&(P.current=x),y&&(O.current=y),x&&y){if(C.current)return C.current(x,y,R);R()}},[x,y,R,C,N]);const T=at(()=>({reference:P,floating:O,setReference:v,setFloating:b}),[v,b]),D=at(()=>({reference:x,floating:y}),[x,y]),L=at(()=>{const A={position:n,left:0,top:0};if(!D.floating)return A;const S=se(D.floating,f.x),M=se(D.floating,f.y);return c?{...A,transform:"translate("+S+"px, "+M+"px)",...re(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:S,top:M}},[n,c,D.floating,f.x,f.y]);return at(()=>({...f,update:R,refs:T,elements:D,floatingStyles:L}),[f,R,T,D,L])}const wn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?ie({element:o.current,padding:i}).fn(n):{}:o?ie({element:o,padding:i}).fn(n):{}}}},xn=(t,e)=>({...an(t),options:[t,e]}),yn=(t,e)=>({...fn(t),options:[t,e]}),vn=(t,e)=>({...hn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),An=(t,e)=>({...dn(t),options:[t,e]}),On=(t,e)=>({...pn(t),options:[t,e]}),Pn=(t,e)=>({...wn(t),options:[t,e]});var Rn="Arrow",ce=ft((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(bt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:j("polygon",{points:"0,0 30,0 15,10"})})});ce.displayName=Rn;var Cn=ce;function Sn(t){const[e,n]=Y(void 0);return At(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,c;if("borderBoxSize"in r){const l=r.borderBoxSize,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}var Ft="Popper",[le,En]=Re(Ft),[Tn,ae]=le(Ft),Nt=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(Tn,{scope:e,anchor:o,onAnchorChange:i,children:n})};Nt.displayName=Ft;var fe="PopperAnchor",Ht=ft((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=ae(fe,n),s=G(null),c=Vt(e,s),l=G(null);return Bt(()=>{const a=l.current;l.current=o?.current||s.current,a!==l.current&&r.onAnchorChange(l.current)}),o?null:j(bt.div,{...i,ref:c})});Ht.displayName=fe;var Wt="PopperContent",[Dn,Ln]=le(Wt),zt=ft((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=ae(Wt,n),[g,v]=Y(null),b=Vt(e,ot=>v(ot)),[x,y]=Y(null),P=Sn(x),O=P?.width??0,E=P?.height??0,N=o+(r!=="center"?"-"+r:""),C=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},k=Array.isArray(a)?a:[a],F=k.length>0,R={padding:C,boundary:k.filter($n),altBoundary:F},{refs:$,floatingStyles:T,placement:D,isPositioned:L,middlewareData:A}=gn({strategy:"fixed",placement:N,whileElementsMounted:(...ot)=>ln(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[xn({mainAxis:i+E,alignmentAxis:s}),l&&yn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?vn():void 0,...R}),l&&bn({...R}),An({...R,apply:({elements:ot,rects:_t,availableWidth:ye,availableHeight:ve})=>{const{width:be,height:Ae}=_t.reference,lt=ot.floating.style;lt.setProperty("--radix-popper-available-width",`${ye}px`),lt.setProperty("--radix-popper-available-height",`${ve}px`),lt.setProperty("--radix-popper-anchor-width",`${be}px`),lt.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),x&&Pn({element:x,padding:c}),kn({arrowWidth:O,arrowHeight:E}),h&&On({strategy:"referenceHidden",...R})]}),[S,M]=pe(D),ct=Ce(p);At(()=>{L&&ct?.()},[L,ct]);const he=A.arrow?.x,me=A.arrow?.y,ge=A.arrow?.centerOffset!==0,[we,xe]=Y();return At(()=>{g&&xe(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:L?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,["--radix-popper-transform-origin"]:[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:S,onArrowChange:y,arrowX:he,arrowY:me,shouldHideArrow:ge,children:j(bt.div,{"data-side":S,"data-align":M,...m,ref:b,style:{...m.style,animation:L?void 0:"none"}})})})});zt.displayName=Wt;var ue="PopperArrow",Mn={top:"bottom",right:"left",bottom:"top",left:"right"},de=ft(function(e,n){const{__scopePopper:o,...i}=e,r=Ln(ue,o),s=Mn[r.placedSide];return j("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:j(Cn,{...i,ref:n,style:{...i.style,display:"block"}})})});de.displayName=ue;function $n(t){return t!==null}var kn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=pe(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return a==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):a==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,m=s?u:`${d}px`),{data:{x:p,y:m}}}});function pe(t){const[e,n="center"]=t.split("-");return[e,n]}var Fn=Nt,Nn=Ht,Hn=zt,Wn=de;export{Nn as A,Hn as C,Nt as P,Fn as R,Wn as a,zt as b,En as c,Ht as d};
|
|
1
|
+
import{d as Y,q as vt,A as G,b as Oe,y as Bt,T as at,E as Pe,D as ft,u as j}from"./register-BMG3ml_B.js";import{P as bt}from"./index-LgFI4FKk.js";import{u as Vt}from"./index-dQ7vVUlv.js";import{a as Re}from"./index-mY4LmL6N.js";import{u as Ce}from"./index-_cB1xrqH.js";import{u as At}from"./index-B_JrwY8n.js";const Se=["top","right","bottom","left"],Z=Math.min,H=Math.max,ut=Math.round,dt=Math.floor,B=t=>({x:t,y:t}),Ee={left:"right",right:"left",bottom:"top",top:"bottom"},Te={start:"end",end:"start"};function Ot(t,e,n){return H(t,Z(e,n))}function X(t,e){return typeof t=="function"?t(e):t}function q(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function Pt(t){return t==="x"?"y":"x"}function Rt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(q(t))?"y":"x"}function Ct(t){return Pt(U(t))}function De(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=Ct(t),r=Rt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=pt(s)),[s,pt(s)]}function Le(t){const e=pt(t);return[St(t),e,St(e)]}function St(t){return t.replace(/start|end/g,e=>Te[e])}function Me(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function $e(t,e,n,o){const i=Q(t);let r=Me(q(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(St)))),r}function pt(t){return t.replace(/left|right|bottom|top/g,e=>Ee[e])}function ke(t){return{top:0,right:0,bottom:0,left:0,...t}}function It(t){return typeof t!="number"?ke(t):{top:t,right:t,bottom:t,left:t}}function ht(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Yt(t,e,n){let{reference:o,floating:i}=t;const r=U(e),s=Ct(e),c=Rt(s),l=q(e),a=r==="y",f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[c]/2-i[c]/2;let d;switch(l){case"top":d={x:f,y:o.y-i.height};break;case"bottom":d={x:f,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:u};break;case"left":d={x:o.x-i.width,y:u};break;default:d={x:o.x,y:o.y}}switch(Q(e)){case"start":d[s]-=h*(n&&a?-1:1);break;case"end":d[s]+=h*(n&&a?-1:1);break}return d}const Fe=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Yt(a,o,l),h=o,d={},p=0;for(let m=0;m<c.length;m++){const{name:w,fn:g}=c[m],{x:v,y:b,data:x,reset:y}=await g({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:d,rects:a,platform:s,elements:{reference:t,floating:e}});f=v??f,u=b??u,d={...d,[w]:{...d[w],...x}},y&&p<=50&&(p++,typeof y=="object"&&(y.placement&&(h=y.placement),y.rects&&(a=y.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):y.rects),{x:f,y:u}=Yt(a,h,l)),m=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}};async function it(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=X(e,t),p=It(d),w=c[h?u==="floating"?"reference":"floating":u],g=ht(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:f,strategy:l})),v=u==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),x=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},y=ht(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:v,offsetParent:b,strategy:l}):v);return{top:(g.top-y.top+p.top)/x.y,bottom:(y.bottom-g.bottom+p.bottom)/x.y,left:(g.left-y.left+p.left)/x.x,right:(y.right-g.right+p.right)/x.x}}const Ne=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:f=0}=X(t,e)||{};if(a==null)return{};const u=It(f),h={x:n,y:o},d=Ct(i),p=Rt(d),m=await s.getDimensions(a),w=d==="y",g=w?"top":"left",v=w?"bottom":"right",b=w?"clientHeight":"clientWidth",x=r.reference[p]+r.reference[d]-h[d]-r.floating[p],y=h[d]-r.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let O=P?P[b]:0;(!O||!await(s.isElement==null?void 0:s.isElement(P)))&&(O=c.floating[b]||r.floating[p]);const E=x/2-y/2,N=O/2-m[p]/2-1,C=Z(u[g],N),k=Z(u[v],N),F=C,R=O-m[p]-k,$=O/2-m[p]/2+E,T=Ot(F,$,R),D=!l.arrow&&Q(i)!=null&&$!==T&&r.reference[p]/2-($<F?C:k)-m[p]/2<0,L=D?$<F?$-F:$-R:0;return{[d]:h[d]+L,data:{[d]:T,centerOffset:$-T-L,...D&&{alignmentOffset:L}},reset:D}}}),He=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const g=q(i),v=U(c),b=q(c)===c,x=await(l.isRTL==null?void 0:l.isRTL(a.floating)),y=h||(b||!m?[pt(c)]:Le(c)),P=p!=="none";!h&&P&&y.push(...$e(c,m,p,x));const O=[c,...y],E=await it(e,w),N=[];let C=((o=r.flip)==null?void 0:o.overflows)||[];if(f&&N.push(E[g]),u){const T=De(i,s,x);N.push(E[T[0]],E[T[1]])}if(C=[...C,{placement:i,overflows:N}],!N.every(T=>T<=0)){var k,F;const T=(((k=r.flip)==null?void 0:k.index)||0)+1,D=O[T];if(D){var R;const A=u==="alignment"?v!==U(D):!1,S=((R=C[0])==null?void 0:R.overflows[0])>0;if(!A||S)return{data:{index:T,overflows:C},reset:{placement:D}}}let L=(F=C.filter(A=>A.overflows[0]<=0).sort((A,S)=>A.overflows[1]-S.overflows[1])[0])==null?void 0:F.placement;if(!L)switch(d){case"bestFit":{var $;const A=($=C.filter(S=>{if(P){const M=U(S.placement);return M===v||M==="y"}return!0}).map(S=>[S.placement,S.overflows.filter(M=>M>0).reduce((M,ct)=>M+ct,0)]).sort((S,M)=>S[1]-M[1])[0])==null?void 0:$[0];A&&(L=A);break}case"initialPlacement":L=c;break}if(i!==L)return{reset:{placement:L}}}return{}}}};function jt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Xt(t){return Se.some(e=>t[e]>=0)}const We=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=X(t,e);switch(o){case"referenceHidden":{const r=await it(e,{...i,elementContext:"reference"}),s=jt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Xt(s)}}}case"escaped":{const r=await it(e,{...i,altBoundary:!0}),s=jt(r,n.floating);return{data:{escapedOffsets:s,escaped:Xt(s)}}}default:return{}}}}};async function ze(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=q(n),c=Q(n),l=U(n)==="y",a=["left","top"].includes(s)?-1:1,f=r&&l?-1:1,u=X(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof p=="number"&&(d=c==="end"?p*-1:p),l?{x:d*f,y:h*a}:{x:h*a,y:d*f}}const _e=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await ze(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},Be=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:g,y:v}=w;return{x:g,y:v}}},...l}=X(t,e),a={x:n,y:o},f=await it(e,l),u=U(q(i)),h=Pt(u);let d=a[h],p=a[u];if(r){const w=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=d+f[w],b=d-f[g];d=Ot(v,d,b)}if(s){const w=u==="y"?"top":"left",g=u==="y"?"bottom":"right",v=p+f[w],b=p-f[g];p=Ot(v,p,b)}const m=c.fn({...e,[h]:d,[u]:p});return{...m,data:{x:m.x-n,y:m.y-o,enabled:{[h]:r,[u]:s}}}}}},Ve=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=X(t,e),f={x:n,y:o},u=U(i),h=Pt(u);let d=f[h],p=f[u];const m=X(c,e),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const b=h==="y"?"height":"width",x=r.reference[h]-r.floating[b]+w.mainAxis,y=r.reference[h]+r.reference[b]-w.mainAxis;d<x?d=x:d>y&&(d=y)}if(a){var g,v;const b=h==="y"?"width":"height",x=["top","left"].includes(q(i)),y=r.reference[u]-r.floating[b]+(x&&((g=s.offset)==null?void 0:g[u])||0)+(x?0:w.crossAxis),P=r.reference[u]+r.reference[b]+(x?0:((v=s.offset)==null?void 0:v[u])||0)-(x?w.crossAxis:0);p<y?p=y:p>P&&(p=P)}return{[h]:d,[u]:p}}}},Ie=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:r,platform:s,elements:c}=e,{apply:l=()=>{},...a}=X(t,e),f=await it(e,a),u=q(i),h=Q(i),d=U(i)==="y",{width:p,height:m}=r.floating;let w,g;u==="top"||u==="bottom"?(w=u,g=h===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(g=u,w=h==="end"?"top":"bottom");const v=m-f.top-f.bottom,b=p-f.left-f.right,x=Z(m-f[w],v),y=Z(p-f[g],b),P=!e.middlewareData.shift;let O=x,E=y;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(E=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(O=v),P&&!h){const C=H(f.left,0),k=H(f.right,0),F=H(f.top,0),R=H(f.bottom,0);d?E=p-2*(C!==0||k!==0?C+k:H(f.left,f.right)):O=m-2*(F!==0||R!==0?F+R:H(f.top,f.bottom))}await l({...e,availableWidth:E,availableHeight:O});const N=await s.getDimensions(c.floating);return p!==N.width||m!==N.height?{reset:{rects:!0}}:{}}}};function mt(){return typeof window<"u"}function tt(t){return qt(t)?(t.nodeName||"").toLowerCase():"#document"}function W(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(qt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qt(t){return mt()?t instanceof Node||t instanceof W(t).Node:!1}function z(t){return mt()?t instanceof Element||t instanceof W(t).Element:!1}function I(t){return mt()?t instanceof HTMLElement||t instanceof W(t).HTMLElement:!1}function Ut(t){return!mt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof W(t).ShadowRoot}function rt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=_(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Ye(t){return["table","td","th"].includes(tt(t))}function gt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Et(t){const e=Tt(),n=z(t)?_(t):t;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function je(t){let e=K(t);for(;I(e)&&!et(e);){if(Et(e))return e;if(gt(e))return null;e=K(e)}return null}function Tt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function et(t){return["html","body","#document"].includes(tt(t))}function _(t){return W(t).getComputedStyle(t)}function wt(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function K(t){if(tt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ut(t)&&t.host||V(t);return Ut(e)?e.host:e}function Zt(t){const e=K(t);return et(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&rt(e)?e:Zt(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Zt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=W(i);if(r){const c=Dt(s);return e.concat(s,s.visualViewport||[],rt(i)?i:[],c&&n?st(c):[])}return e.concat(i,st(i,[],n))}function Dt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Kt(t){const e=_(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=ut(n)!==r||ut(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function Lt(t){return z(t)?t:t.contextElement}function nt(t){const e=Lt(t);if(!I(e))return B(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Kt(e);let s=(r?ut(n.width):n.width)/o,c=(r?ut(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Xe=B(0);function Gt(t){const e=W(t);return!Tt()||!e.visualViewport?Xe:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==W(t)?!1:e}function J(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Lt(t);let s=B(1);e&&(o?z(o)&&(s=nt(o)):s=nt(t));const c=qe(r,n,o)?Gt(r):B(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,f=i.width/s.x,u=i.height/s.y;if(r){const h=W(r),d=o&&z(o)?W(o):o;let p=h,m=Dt(p);for(;m&&o&&d!==p;){const w=nt(m),g=m.getBoundingClientRect(),v=_(m),b=g.left+(m.clientLeft+parseFloat(v.paddingLeft))*w.x,x=g.top+(m.clientTop+parseFloat(v.paddingTop))*w.y;l*=w.x,a*=w.y,f*=w.x,u*=w.y,l+=b,a+=x,p=W(m),m=Dt(p)}}return ht({width:f,height:u,x:l,y:a})}function Mt(t,e){const n=wt(t).scrollLeft;return e?e.left+n:J(V(t)).left+n}function Jt(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:Mt(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function Ue(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=V(o),c=e?gt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},a=B(1);const f=B(0),u=I(o);if((u||!u&&!r)&&((tt(o)!=="body"||rt(s))&&(l=wt(o)),I(o))){const d=J(o);a=nt(o),f.x=d.x+o.clientLeft,f.y=d.y+o.clientTop}const h=s&&!u&&!r?Jt(s,l,!0):B(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+f.x+h.x,y:n.y*a.y-l.scrollTop*a.y+f.y+h.y}}function Ze(t){return Array.from(t.getClientRects())}function Ke(t){const e=V(t),n=wt(t),o=t.ownerDocument.body,i=H(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=H(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Mt(t);const c=-n.scrollTop;return _(o).direction==="rtl"&&(s+=H(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Ge(t,e){const n=W(t),o=V(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const a=Tt();(!a||a&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Je(t,e){const n=J(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=I(t)?nt(t):B(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=o*r.y;return{width:s,height:c,x:l,y:a}}function Qt(t,e,n){let o;if(e==="viewport")o=Ge(t,n);else if(e==="document")o=Ke(V(t));else if(z(e))o=Je(e,n);else{const i=Gt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return ht(o)}function te(t,e){const n=K(t);return n===e||!z(n)||et(n)?!1:_(n).position==="fixed"||te(n,e)}function Qe(t,e){const n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(c=>z(c)&&tt(c)!=="body"),i=null;const r=_(t).position==="fixed";let s=r?K(t):t;for(;z(s)&&!et(s);){const c=_(s),l=Et(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||rt(s)&&!l&&te(t,s))?o=o.filter(f=>f!==s):i=c,s=K(s)}return e.set(t,o),o}function tn(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?gt(e)?[]:Qe(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((a,f)=>{const u=Qt(e,f,i);return a.top=H(u.top,a.top),a.right=Z(u.right,a.right),a.bottom=Z(u.bottom,a.bottom),a.left=H(u.left,a.left),a},Qt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function en(t){const{width:e,height:n}=Kt(t);return{width:e,height:n}}function nn(t,e,n){const o=I(e),i=V(e),r=n==="fixed",s=J(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=B(0);function a(){l.x=Mt(i)}if(o||!o&&!r)if((tt(e)!=="body"||rt(i))&&(c=wt(e)),o){const d=J(e,!0,r,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&a();r&&!o&&i&&a();const f=i&&!o&&!r?Jt(i,c):B(0),u=s.left+c.scrollLeft-l.x-f.x,h=s.top+c.scrollTop-l.y-f.y;return{x:u,y:h,width:s.width,height:s.height}}function $t(t){return _(t).position==="static"}function ee(t,e){if(!I(t)||_(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function ne(t,e){const n=W(t);if(gt(t))return n;if(!I(t)){let i=K(t);for(;i&&!et(i);){if(z(i)&&!$t(i))return i;i=K(i)}return n}let o=ee(t,e);for(;o&&Ye(o)&&$t(o);)o=ee(o,e);return o&&et(o)&&$t(o)&&!Et(o)?n:o||je(t)||n}const on=async function(t){const e=this.getOffsetParent||ne,n=this.getDimensions,o=await n(t.floating);return{reference:nn(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function rn(t){return _(t).direction==="rtl"}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:Ue,getDocumentElement:V,getClippingRect:tn,getOffsetParent:ne,getElementRects:on,getClientRects:Ze,getDimensions:en,getScale:nt,isElement:z,isRTL:rn};function oe(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function cn(t,e){let n=null,o;const i=V(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const a=t.getBoundingClientRect(),{left:f,top:u,width:h,height:d}=a;if(c||e(),!h||!d)return;const p=dt(u),m=dt(i.clientWidth-(f+h)),w=dt(i.clientHeight-(u+d)),g=dt(f),b={rootMargin:-p+"px "+-m+"px "+-w+"px "+-g+"px",threshold:H(0,Z(1,l))||1};let x=!0;function y(P){const O=P[0].intersectionRatio;if(O!==l){if(!x)return s();O?s(!1,O):o=setTimeout(()=>{s(!1,1e-7)},1e3)}O===1&&!oe(a,t.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(y,{...b,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,b)}n.observe(t)}return s(!0),r}function ln(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=Lt(t),f=i||r?[...a?st(a):[],...st(e)]:[];f.forEach(g=>{i&&g.addEventListener("scroll",n,{passive:!0}),r&&g.addEventListener("resize",n)});const u=a&&c?cn(a,n):null;let h=-1,d=null;s&&(d=new ResizeObserver(g=>{let[v]=g;v&&v.target===a&&d&&(d.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(e)})),n()}),a&&!l&&d.observe(a),d.observe(e));let p,m=l?J(t):null;l&&w();function w(){const g=J(t);m&&!oe(m,g)&&n(),m=g,p=requestAnimationFrame(w)}return n(),()=>{var g;f.forEach(v=>{i&&v.removeEventListener("scroll",n),r&&v.removeEventListener("resize",n)}),u?.(),(g=d)==null||g.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const an=_e,fn=Be,un=He,dn=Ie,pn=We,ie=Ne,hn=Ve,mn=(t,e,n)=>{const o=new Map,i={platform:sn,...n},r={...i.platform,_c:o};return Fe(t,e,{...i,platform:r})};var xt=typeof document<"u"?Oe:Bt;function yt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(o=n;o--!==0;)if(!yt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!yt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function re(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function se(t,e){const n=re(t);return Math.round(e*n)/n}function kt(t){const e=G(t);return xt(()=>{e.current=t}),e}function gn(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:c=!0,whileElementsMounted:l,open:a}=t,[f,u]=Y({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[h,d]=Y(o);yt(h,o)||d(o);const[p,m]=Y(null),[w,g]=Y(null),v=vt(A=>{A!==P.current&&(P.current=A,m(A))},[]),b=vt(A=>{A!==O.current&&(O.current=A,g(A))},[]),x=r||p,y=s||w,P=G(null),O=G(null),E=G(f),N=l!=null,C=kt(l),k=kt(i),F=kt(a),R=vt(()=>{if(!P.current||!O.current)return;const A={placement:e,strategy:n,middleware:h};k.current&&(A.platform=k.current),mn(P.current,O.current,A).then(S=>{const M={...S,isPositioned:F.current!==!1};$.current&&!yt(E.current,M)&&(E.current=M,Pe(()=>{u(M)}))})},[h,e,n,k,F]);xt(()=>{a===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,u(A=>({...A,isPositioned:!1})))},[a]);const $=G(!1);xt(()=>($.current=!0,()=>{$.current=!1}),[]),xt(()=>{if(x&&(P.current=x),y&&(O.current=y),x&&y){if(C.current)return C.current(x,y,R);R()}},[x,y,R,C,N]);const T=at(()=>({reference:P,floating:O,setReference:v,setFloating:b}),[v,b]),D=at(()=>({reference:x,floating:y}),[x,y]),L=at(()=>{const A={position:n,left:0,top:0};if(!D.floating)return A;const S=se(D.floating,f.x),M=se(D.floating,f.y);return c?{...A,transform:"translate("+S+"px, "+M+"px)",...re(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:S,top:M}},[n,c,D.floating,f.x,f.y]);return at(()=>({...f,update:R,refs:T,elements:D,floatingStyles:L}),[f,R,T,D,L])}const wn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?ie({element:o.current,padding:i}).fn(n):{}:o?ie({element:o,padding:i}).fn(n):{}}}},xn=(t,e)=>({...an(t),options:[t,e]}),yn=(t,e)=>({...fn(t),options:[t,e]}),vn=(t,e)=>({...hn(t),options:[t,e]}),bn=(t,e)=>({...un(t),options:[t,e]}),An=(t,e)=>({...dn(t),options:[t,e]}),On=(t,e)=>({...pn(t),options:[t,e]}),Pn=(t,e)=>({...wn(t),options:[t,e]});var Rn="Arrow",ce=ft((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return j(bt.svg,{...r,ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:j("polygon",{points:"0,0 30,0 15,10"})})});ce.displayName=Rn;var Cn=ce;function Sn(t){const[e,n]=Y(void 0);return At(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,c;if("borderBoxSize"in r){const l=r.borderBoxSize,a=Array.isArray(l)?l[0]:l;s=a.inlineSize,c=a.blockSize}else s=t.offsetWidth,c=t.offsetHeight;n({width:s,height:c})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}var Ft="Popper",[le,En]=Re(Ft),[Tn,ae]=le(Ft),Nt=t=>{const{__scopePopper:e,children:n}=t,[o,i]=Y(null);return j(Tn,{scope:e,anchor:o,onAnchorChange:i,children:n})};Nt.displayName=Ft;var fe="PopperAnchor",Ht=ft((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=ae(fe,n),s=G(null),c=Vt(e,s),l=G(null);return Bt(()=>{const a=l.current;l.current=o?.current||s.current,a!==l.current&&r.onAnchorChange(l.current)}),o?null:j(bt.div,{...i,ref:c})});Ht.displayName=fe;var Wt="PopperContent",[Dn,Ln]=le(Wt),zt=ft((t,e)=>{const{__scopePopper:n,side:o="bottom",sideOffset:i=0,align:r="center",alignOffset:s=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:f=0,sticky:u="partial",hideWhenDetached:h=!1,updatePositionStrategy:d="optimized",onPlaced:p,...m}=t,w=ae(Wt,n),[g,v]=Y(null),b=Vt(e,ot=>v(ot)),[x,y]=Y(null),P=Sn(x),O=P?.width??0,E=P?.height??0,N=o+(r!=="center"?"-"+r:""),C=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},k=Array.isArray(a)?a:[a],F=k.length>0,R={padding:C,boundary:k.filter($n),altBoundary:F},{refs:$,floatingStyles:T,placement:D,isPositioned:L,middlewareData:A}=gn({strategy:"fixed",placement:N,whileElementsMounted:(...ot)=>ln(...ot,{animationFrame:d==="always"}),elements:{reference:w.anchor},middleware:[xn({mainAxis:i+E,alignmentAxis:s}),l&&yn({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?vn():void 0,...R}),l&&bn({...R}),An({...R,apply:({elements:ot,rects:_t,availableWidth:ye,availableHeight:ve})=>{const{width:be,height:Ae}=_t.reference,lt=ot.floating.style;lt.setProperty("--radix-popper-available-width",`${ye}px`),lt.setProperty("--radix-popper-available-height",`${ve}px`),lt.setProperty("--radix-popper-anchor-width",`${be}px`),lt.setProperty("--radix-popper-anchor-height",`${Ae}px`)}}),x&&Pn({element:x,padding:c}),kn({arrowWidth:O,arrowHeight:E}),h&&On({strategy:"referenceHidden",...R})]}),[S,M]=pe(D),ct=Ce(p);At(()=>{L&&ct?.()},[L,ct]);const he=A.arrow?.x,me=A.arrow?.y,ge=A.arrow?.centerOffset!==0,[we,xe]=Y();return At(()=>{g&&xe(window.getComputedStyle(g).zIndex)},[g]),j("div",{ref:$.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:L?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,["--radix-popper-transform-origin"]:[A.transformOrigin?.x,A.transformOrigin?.y].join(" "),...A.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:j(Dn,{scope:n,placedSide:S,onArrowChange:y,arrowX:he,arrowY:me,shouldHideArrow:ge,children:j(bt.div,{"data-side":S,"data-align":M,...m,ref:b,style:{...m.style,animation:L?void 0:"none"}})})})});zt.displayName=Wt;var ue="PopperArrow",Mn={top:"bottom",right:"left",bottom:"top",left:"right"},de=ft(function(e,n){const{__scopePopper:o,...i}=e,r=Ln(ue,o),s=Mn[r.placedSide];return j("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0},children:j(Cn,{...i,ref:n,style:{...i.style,display:"block"}})})});de.displayName=ue;function $n(t){return t!==null}var kn=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:o,middlewareData:i}=e,s=i.arrow?.centerOffset!==0,c=s?0:t.arrowWidth,l=s?0:t.arrowHeight,[a,f]=pe(n),u={start:"0%",center:"50%",end:"100%"}[f],h=(i.arrow?.x??0)+c/2,d=(i.arrow?.y??0)+l/2;let p="",m="";return a==="bottom"?(p=s?u:`${h}px`,m=`${-l}px`):a==="top"?(p=s?u:`${h}px`,m=`${o.floating.height+l}px`):a==="right"?(p=`${-l}px`,m=s?u:`${d}px`):a==="left"&&(p=`${o.floating.width+l}px`,m=s?u:`${d}px`),{data:{x:p,y:m}}}});function pe(t){const[e,n="center"]=t.split("-");return[e,n]}var Fn=Nt,Nn=Ht,Hn=zt,Wn=de;export{Nn as A,Hn as C,Nt as P,Fn as R,Wn as a,zt as b,En as c,Ht as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{x as J,Q as W,D as _,y as N,u as d,A as O,d as K,q as E}from"./register-
|
|
1
|
+
import{x as J,Q as W,D as _,y as N,u as d,A as O,d as K,q as E}from"./register-BMG3ml_B.js";import{c as p}from"./index-CBrz5xtv.js";import{c as X}from"./index-qaafyueB.js";import{u as Z}from"./index-dQ7vVUlv.js";import{a as $}from"./index-mY4LmL6N.js";import{u as ee}from"./index-JflTCg0X.js";import{P as M}from"./index-LgFI4FKk.js";import{u as oe}from"./index-_cB1xrqH.js";import{u as te}from"./index-BTwkmpVj.js";var re=W(void 0);function L(e){const t=J(re);return e||t||"ltr"}var D="rovingFocusGroup.onEntryFocus",ne={bubbles:!1,cancelable:!0},I="RovingFocusGroup",[P,U,ce]=X(I),[se,ae]=$(I,[ce]),[ie,ue]=se(I),B=_((e,t)=>d(P.Provider,{scope:e.__scopeRovingFocusGroup,children:d(P.Slot,{scope:e.__scopeRovingFocusGroup,children:d(le,{...e,ref:t})})}));B.displayName=I;var le=_((e,t)=>{const{__scopeRovingFocusGroup:c,orientation:o,loop:i=!1,dir:T,currentTabStopId:v,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:S,onEntryFocus:m,preventScrollOnEntryFocus:s=!1,...F}=e,b=O(null),g=Z(t,b),R=L(T),[w,r]=te({prop:v,defaultProp:h??null,onChange:S,caller:I}),[u,C]=K(!1),a=oe(m),l=U(c),A=O(!1),[V,x]=K(0);return N(()=>{const n=b.current;if(n)return n.addEventListener(D,a),()=>n.removeEventListener(D,a)},[a]),d(ie,{scope:c,orientation:o,dir:R,loop:i,currentTabStopId:w,onItemFocus:E(n=>r(n),[r]),onItemShiftTab:E(()=>C(!0),[]),onFocusableItemAdd:E(()=>x(n=>n+1),[]),onFocusableItemRemove:E(()=>x(n=>n-1),[]),children:d(M.div,{tabIndex:u||V===0?-1:0,"data-orientation":o,...F,ref:g,style:{outline:"none",...e.style},onMouseDown:p(e.onMouseDown,()=>{A.current=!0}),onFocus:p(e.onFocus,n=>{const q=!A.current;if(n.target===n.currentTarget&&q&&!u){const G=new CustomEvent(D,ne);if(n.currentTarget.dispatchEvent(G),!G.defaultPrevented){const y=l().filter(f=>f.focusable),z=y.find(f=>f.active),Q=y.find(f=>f.id===w),j=[z,Q,...y].filter(Boolean).map(f=>f.ref.current);H(j,s)}}A.current=!1}),onBlur:p(e.onBlur,()=>C(!1))})})}),k="RovingFocusGroupItem",Y=_((e,t)=>{const{__scopeRovingFocusGroup:c,focusable:o=!0,active:i=!1,tabStopId:T,children:v,...h}=e,S=ee(),m=T||S,s=ue(k,c),F=s.currentTabStopId===m,b=U(c),{onFocusableItemAdd:g,onFocusableItemRemove:R,currentTabStopId:w}=s;return N(()=>{if(o)return g(),()=>R()},[o,g,R]),d(P.ItemSlot,{scope:c,id:m,focusable:o,active:i,children:d(M.span,{tabIndex:F?0:-1,"data-orientation":s.orientation,...h,ref:t,onMouseDown:p(e.onMouseDown,r=>{o?s.onItemFocus(m):r.preventDefault()}),onFocus:p(e.onFocus,()=>s.onItemFocus(m)),onKeyDown:p(e.onKeyDown,r=>{if(r.key==="Tab"&&r.shiftKey){s.onItemShiftTab();return}if(r.target!==r.currentTarget)return;const u=me(r,s.orientation,s.dir);if(u!==void 0){if(r.metaKey||r.ctrlKey||r.altKey||r.shiftKey)return;r.preventDefault();let a=b().filter(l=>l.focusable).map(l=>l.ref.current);if(u==="last")a.reverse();else if(u==="prev"||u==="next"){u==="prev"&&a.reverse();const l=a.indexOf(r.currentTarget);a=s.loop?pe(a,l+1):a.slice(l+1)}setTimeout(()=>H(a))}}),children:typeof v=="function"?v({isCurrentTabStop:F,hasTabStop:w!=null}):v})})});Y.displayName=k;var fe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function de(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function me(e,t,c){const o=de(e.key,c);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return fe[o]}function H(e,t=!1){const c=(()=>{let o=document.activeElement;for(;o?.shadowRoot;)o=o.shadowRoot.activeElement;return o})();for(const o of e)if(o===c||(o.focus({preventScroll:t}),(()=>{let i=document.activeElement;for(;i?.shadowRoot;)i=i.shadowRoot.activeElement;return i})()!==c))return}function pe(e,t){return e.map((c,o)=>e[(t+o)%e.length])}var ve=B,Ie=Y;export{Ie as I,ve as R,ae as c,L as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as E}from"./register-
|
|
1
|
+
import{a as E}from"./register-BMG3ml_B.js";function b(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var s=e.default;if(typeof s=="function"){var o=function u(){var c=!1;try{c=this instanceof u}catch{}return c?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};o.prototype=s.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(u){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,c.get?c:{enumerable:!0,get:function(){return e[u]}})}),o}var p={exports:{}},v={},O=b(E),l;function w(){if(l)return v;l=1;var e=O;function s(t,r){return t===r&&(t!==0||1/t===1/r)||t!==t&&r!==r}var o=typeof Object.is=="function"?Object.is:s,u=e.useState,c=e.useEffect,m=e.useLayoutEffect,h=e.useDebugValue;function S(t,r){var a=r(),y=u({inst:{value:a,getSnapshot:r}}),n=y[0].inst,f=y[1];return m(function(){n.value=a,n.getSnapshot=r,i(n)&&f({inst:n})},[t,a,r]),c(function(){return i(n)&&f({inst:n}),t(function(){i(n)&&f({inst:n})})},[t]),h(a),a}function i(t){var r=t.getSnapshot;t=t.value;try{var a=r();return!o(t,a)}catch{return!0}}function g(t,r){return r()}var x=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:S;return v.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:x,v}var d;function j(){return d||(d=1,p.exports=w()),p.exports}var _=j();export{_ as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{D as c,A as g,u as i,q as H,y as h,k as I}from"./register-
|
|
1
|
+
import{D as c,A as g,u as i,q as H,y as h,k as I}from"./register-BMG3ml_B.js";import{c as f}from"./index-CBrz5xtv.js";import{u as y,c as V}from"./index-dQ7vVUlv.js";import{a as K,c as U}from"./index-mY4LmL6N.js";import{u as O}from"./index-JflTCg0X.js";import{u as Y}from"./index-BTwkmpVj.js";import{D as Z}from"./index-bWspXLUq.js";import{o as j,u as z,F as J}from"./Combination-bwg6SCti.js";import{P}from"./index-PGsQ2egI.js";import{P as D}from"./index-LgFI4FKk.js";import{h as Q}from"./index-CDr5kGHV.js";var m="Dialog",[A,Pe]=K(m),[X,l]=A(m),R=e=>{const{__scopeDialog:o,children:a,open:r,defaultOpen:n,onOpenChange:t,modal:u=!0}=e,s=g(null),p=g(null),[C,_]=Y({prop:r,defaultProp:n??!1,onChange:t,caller:m});return i(X,{scope:o,triggerRef:s,contentRef:p,contentId:O(),titleId:O(),descriptionId:O(),open:C,onOpenChange:_,onOpenToggle:H(()=>_(q=>!q),[_]),modal:u,children:a})};R.displayName=m;var T="DialogTrigger",x=c((e,o)=>{const{__scopeDialog:a,...r}=e,n=l(T,a),t=y(o,n.triggerRef);return i(D.button,{type:"button","aria-haspopup":"dialog","aria-expanded":n.open,"aria-controls":n.contentId,"data-state":N(n.open),...r,ref:t,onClick:f(e.onClick,n.onOpenToggle)})});x.displayName=T;var ee="DialogPortal",[Ae,b]=A(ee,{forceMount:void 0}),v="DialogOverlay",M=c((e,o)=>{const a=b(v,e.__scopeDialog),{forceMount:r=a.forceMount,...n}=e,t=l(v,e.__scopeDialog);return t.modal?i(P,{present:r||t.open,children:i(oe,{...n,ref:o})}):null});M.displayName=v;var te=V("DialogOverlay.RemoveScroll"),oe=c((e,o)=>{const{__scopeDialog:a,...r}=e,n=l(v,a);return i(j,{as:te,allowPinchZoom:!0,shards:[n.contentRef],children:i(D.div,{"data-state":N(n.open),...r,ref:o,style:{pointerEvents:"auto",...r.style}})})}),d="DialogContent",F=c((e,o)=>{const a=b(d,e.__scopeDialog),{forceMount:r=a.forceMount,...n}=e,t=l(d,e.__scopeDialog);return i(P,{present:r||t.open,children:t.modal?i(ne,{...n,ref:o}):i(re,{...n,ref:o})})});F.displayName=d;var ne=c((e,o)=>{const a=l(d,e.__scopeDialog),r=g(null),n=y(o,a.contentRef,r);return h(()=>{const t=r.current;if(t)return Q(t)},[]),i(S,{...e,ref:n,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:f(e.onCloseAutoFocus,t=>{t.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:f(e.onPointerDownOutside,t=>{const u=t.detail.originalEvent,s=u.button===0&&u.ctrlKey===!0;(u.button===2||s)&&t.preventDefault()}),onFocusOutside:f(e.onFocusOutside,t=>t.preventDefault())})}),re=c((e,o)=>{const a=l(d,e.__scopeDialog),r=g(!1),n=g(!1);return i(S,{...e,ref:o,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||a.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,n.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type==="pointerdown"&&(n.current=!0));const u=t.target;a.triggerRef.current?.contains(u)&&t.preventDefault(),t.detail.originalEvent.type==="focusin"&&n.current&&t.preventDefault()}})}),S=c((e,o)=>{const{__scopeDialog:a,trapFocus:r,onOpenAutoFocus:n,onCloseAutoFocus:t,...u}=e,s=l(d,a),p=g(null),C=y(o,p);return z(),i(I,{children:[i(J,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:n,onUnmountAutoFocus:t,children:i(Z,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":N(s.open),...u,ref:C,onDismiss:()=>s.onOpenChange(!1)})}),i(I,{children:[i(ae,{titleId:s.titleId}),i(se,{contentRef:p,descriptionId:s.descriptionId})]})]})}),E="DialogTitle",W=c((e,o)=>{const{__scopeDialog:a,...r}=e,n=l(E,a);return i(D.h2,{id:n.titleId,...r,ref:o})});W.displayName=E;var k="DialogDescription",w=c((e,o)=>{const{__scopeDialog:a,...r}=e,n=l(k,a);return i(D.p,{id:n.descriptionId,...r,ref:o})});w.displayName=k;var G="DialogClose",L=c((e,o)=>{const{__scopeDialog:a,...r}=e,n=l(G,a);return i(D.button,{type:"button",...r,ref:o,onClick:f(e.onClick,()=>n.onOpenChange(!1))})});L.displayName=G;function N(e){return e?"open":"closed"}var $="DialogTitleWarning",[Re,B]=U($,{contentName:d,titleName:E,docsSlug:"dialog"}),ae=({titleId:e})=>{const o=B($),a=`\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users.
|
|
2
2
|
|
|
3
3
|
If you want to hide the \`${o.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
4
4
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const n=l=>`${parseFloat((parseFloat(l.slice(0,-2))/16).toFixed(3))}rem`,t={xs:n("2px"),sm:n("6px"),md:n("8px"),lg:n("12px"),xl:n("16px"),full:"9999px"},o={sm:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)"},e={"brand.50":"#EEFFD9","brand.100":"#D3FF9D","brand.150":"#CEFF93","brand.200":"#C5FF7E","brand.250":"#BFFF70","brand.300":"#ABFF44","brand.400":"#99F141","brand.500":"#7DDD3D","brand.600":"#3AB533","brand.700":"#38735D","brand.800":"#203526","brand.900":"#197050","brand.1000":"#0D3A29","green.50":"#DEF2EB","green.100":"#BCD5CC","green.200":"#A4C7BA","green.300":"#86EFAC","green.400":"#80B09F","green.500":"#5F9B85","green.600":"#388367","green.700":"#197050","green.800":"#1E3329","green.900":"#114C36","teal.50":"#E2F5F5","teal.100":"#93C5FD","teal.200":"#91DBDA","teal.300":"#60B4BE","teal.400":"#409AAB","teal.500":"#197A94","teal.600":"#036988","teal.700":"#1E3140","teal.800":"#01303E","neutral.00":"#FFFFFF","neutral.50":"#F9FCF8","neutral.75":"#EFF6E9","neutral.100":"#EBF4E4","neutral.200":"#D8E4CB","neutral.300":"#B2BD9E","neutral.500":"#A1AC8D","neutral.600":"#717863","neutral.700":"#455341","neutral.800":"#323A32","neutral.900":"#252825","neutral.1000":"#1C271D","neutral.1100":"#08251A","neutral.50/4":"#F9FAFC0A","neutral.50/12":"#F9FAFC1F","neutral.50/18":"#F9FAFC2E","neutral.50/32":"#F9FAFC52","neutral.1100/4":"#08251A0A","neutral.1100/32":"#08251A52","purple.50":"#EDE9FE","purple.100":"#7C3AED","purple.200":"#6D28D9","purple.300":"#5B21B6","pink.50":"#FFF1F5","pink.100":"#FFDFE8","pink.200":"#FFC1D3","pink.250":"#FCA5A5","pink.300":"#FF99B6","pink.400":"#E284A0","pink.500":"#A95A77","pink.600":"#A85C5C","pink.700":"#904A4A","pink.800":"#8F4764","pink.900":"#803F3F","pink.1000":"#5D2E41","pink.1100":"#593030","pink.1200":"#3E2D2D","pink.1300":"#372C2C","yellow.50":"#FEF1C6","yellow.100":"#FCD34D","yellow.200":"#FEDF88","yellow.300":"#FFC84B","yellow.400":"#FDB022","yellow.500":"#F79008","yellow.600":"#DC6903","yellow.700":"#B54707","yellow.800":"#7A2E0D","yellow.900":"#3A2D1A"},r=(l,a)=>`light-dark(${l}, ${a})`,g={"bg.accent":r(e["brand.300"],e["brand.300"]),"bg.accent.hovered":r(e["brand.400"],e["brand.200"]),"bg.accent.light":r(e["brand.150"],e["brand.700"]),"bg.accent.pressed":r(e["brand.500"],e["brand.100"]),"bg.accent.subtle":r(e["brand.50"],e["brand.800"]),"bg.avatar.neutral":r(e["neutral.100"],e["neutral.1100"]),"bg.avatar.purple":r(e["purple.50"],e["purple.100"]),"bg.default":r(e["neutral.00"],e["neutral.900"]),"bg.default.hovered":r(e["neutral.50"],e["neutral.50/4"]),"bg.default.inverse":r(e["neutral.1100"],e["neutral.100"]),"bg.default.inverse.hovered":r(e["neutral.1100"],e["neutral.200"]),"bg.default.inverse.pressed":r(e["neutral.1100"],e["neutral.300"]),"bg.default.pressed":r(e["neutral.75"],e["neutral.800"]),"bg.error":r(e["pink.500"],e["pink.900"]),"bg.error.hovered":r(e["pink.800"],e["pink.700"]),"bg.error.light":r(e["pink.200"],e["pink.1100"]),"bg.error.pressed":r(e["pink.1000"],e["pink.600"]),"bg.error.subtle":r(e["pink.100"],e["pink.1200"]),"bg.error.subtlest":r(e["pink.50"],e["pink.1300"]),"bg.information":r(e["teal.600"],e["teal.600"]),"bg.information.light":r(e["teal.200"],e["teal.800"]),"bg.information.subtle":r(e["teal.50"],e["teal.700"]),"bg.overlay":r(e["neutral.1100/32"],e["neutral.50/32"]),"bg.page":r(e["neutral.50"],e["neutral.900"]),"bg.secondary":r(e["neutral.75"],e["neutral.800"]),"bg.secondary.hovered":r(e["neutral.100"],e["neutral.50/12"]),"bg.spinner.default":r(e["neutral.1100/4"],e["neutral.50/4"]),"bg.spinner.inverse":r(e["neutral.50/4"],e["neutral.1100/4"]),"bg.success":r(e["green.600"],e["green.600"]),"bg.success.hovered":r(e["green.700"],e["green.400"]),"bg.success.light":r(e["green.100"],e["green.900"]),"bg.success.subtle":r(e["green.50"],e["green.800"]),"bg.tertiary":r(e["neutral.200"],e["neutral.700"]),"bg.tertiary.hovered":r(e["neutral.300"],e["neutral.700"]),"bg.warning":r(e["yellow.300"],e["yellow.500"]),"bg.warning.hovered":r(e["yellow.600"],e["yellow.400"]),"bg.warning.light":r(e["yellow.200"],e["yellow.800"]),"bg.warning.subtle":r(e["yellow.50"],e["yellow.900"]),"border.accent":r(e["brand.300"],e["brand.150"]),"border.control":r(e["neutral.500"],e["neutral.500"]),"border.control.hovered":r(e["neutral.600"],e["neutral.600"]),"border.default":r(e["neutral.200"],e["neutral.700"]),"border.disabled":r(e["neutral.75"],e["neutral.50/18"]),"border.error":r(e["pink.500"],e["pink.250"]),"border.focus":r(e["teal.500"],e["teal.400"]),"border.focus.error":r(e["pink.400"],e["pink.300"]),"border.secondary":r(e["neutral.200"],e["neutral.700"]),"border.success":r(e["green.500"],e["green.500"]),"border.tertiary":r(e["neutral.100"],e["neutral.800"]),"border.warning":r(e["yellow.500"],e["yellow.500"]),"fg.accent":r(e["brand.300"],e["brand.300"]),"fg.accent.hovered":r(e["brand.600"],e["brand.250"]),"fg.accent.strong":r(e["brand.900"],e["brand.150"]),"fg.avatar.neutral":r(e["neutral.700"],e["neutral.100"]),"fg.avatar.purple":r(e["purple.300"],e["neutral.00"]),"fg.default":r(e["neutral.1000"],e["neutral.200"]),"fg.default.inverse":r(e["neutral.00"],e["neutral.1100"]),"fg.disabled":r(e["neutral.500"],e["neutral.600"]),"fg.error":r(e["pink.500"],e["pink.250"]),"fg.error.hovered":r(e["pink.800"],e["pink.800"]),"fg.error.light":r(e["pink.300"],e["pink.250"]),"fg.error.strong":r(e["pink.1000"],e["pink.250"]),"fg.information":r(e["teal.500"],e["teal.100"]),"fg.information.light":r(e["teal.300"],e["teal.100"]),"fg.information.strong":r(e["teal.600"],e["teal.100"]),"fg.link.default":r(e["brand.900"],e["brand.600"]),"fg.link.default.hovered":r(e["brand.1000"],e["brand.500"]),"fg.link.inverse":r(e["neutral.00"],e["neutral.1100"]),"fg.link.subtle":r(e["neutral.1000"],e["neutral.200"]),"fg.link.visited":r(e["purple.200"],e["purple.100"]),"fg.secondary":r(e["neutral.700"],e["neutral.300"]),"fg.spinner.default":r(e["neutral.1100"],e["neutral.200"]),"fg.spinner.inverse":r(e["neutral.00"],e["neutral.1100"]),"fg.success":r(e["green.500"],e["green.300"]),"fg.success.hovered":r(e["green.600"],e["green.600"]),"fg.success.light":r(e["green.200"],e["green.300"]),"fg.success.strong":r(e["green.700"],e["green.300"]),"fg.tertiary":r(e["neutral.600"],e["neutral.500"]),"fg.warning":r(e["yellow.500"],e["yellow.100"]),"fg.warning.hovered":r(e["yellow.600"],e["yellow.600"]),"fg.warning.inverse":r(e["neutral.1100"],e["neutral.1100"]),"fg.warning.light":r(e["yellow.300"],e["yellow.100"]),"fg.warning.strong":r(e["yellow.700"],e["yellow.100"]),"fg.white":r(e["neutral.00"],e["neutral.00"])},i={sm:"150ms",md:"250ms",lg:"350ms"},u={heading:"Nudge Semicondensed, Roboto Condensed Variable, system-ui, sans-serif",mono:"Roboto Mono Variable, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",sans:"DI Grotesk B, Roboto Variable, system-ui, sans-serif"},p={xs:{fontSize:n("10px"),lineHeight:n("14px")},sm:{fontSize:n("12px"),lineHeight:n("16px")},md:{fontSize:n("14px"),lineHeight:n("20px")},lg:{fontSize:n("16px"),lineHeight:n("24px")},xl:{fontSize:n("20px"),lineHeight:n("28px")},"2xl":{fontSize:n("24px"),lineHeight:n("32px")},"3xl":{fontSize:n("28px"),lineHeight:n("40px")},"4xl":{fontSize:n("50px"),lineHeight:n("60px")}},s={xs:n("320px"),sm:n("384px"),md:n("448px"),lg:n("512px")},b={sm:n("600px"),md:n("900px")},d={"2xs":n("16px"),xs:n("20px"),sm:n("24px"),md:n("32px"),lg:n("40px"),xl:n("48px"),"3xl":n("80px")},x={popover:"3000",toast:"3010",tooltip:"10000"},F={borderRadius:t,boxShadow:o,colors:g,duration:i,fontFamily:u,fontSize:p,maxSize:s,screens:b,size:d,zIndex:x};export{F as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as E,d as C,b as I,y as R,E as A}from"./register-
|
|
1
|
+
import{h as E,d as C,b as I,y as R,E as A}from"./register-BMG3ml_B.js";function p(l,r,t){let s=t.initialDeps??[],e;function n(){var i,o,h,c;let a;t.key&&(i=t.debug)!=null&&i.call(t)&&(a=Date.now());const d=l();if(!(d.length!==s.length||d.some((m,f)=>s[f]!==m)))return e;s=d;let u;if(t.key&&(o=t.debug)!=null&&o.call(t)&&(u=Date.now()),e=r(...d),t.key&&(h=t.debug)!=null&&h.call(t)){const m=Math.round((Date.now()-a)*100)/100,f=Math.round((Date.now()-u)*100)/100,b=f/16,v=(g,O)=>{for(g=String(g);g.length<O;)g=" "+g;return g};console.info(`%c\u23F1 ${v(f,5)} /${v(m,5)} ms`,`
|
|
2
2
|
font-size: .6rem;
|
|
3
3
|
font-weight: bold;
|
|
4
4
|
color: hsl(${Math.max(0,Math.min(120-120*b,120))}deg 100% 31%);`,t?.key)}return(c=t?.onChange)==null||c.call(t,e),e}return n.updateDeps=i=>{s=i},n}function w(l,r){if(l===void 0)throw new Error("Unexpected undefined");return l}const F=(l,r)=>Math.abs(l-r)<1.01,k=(l,r,t)=>{let s;return function(...e){l.clearTimeout(s),s=l.setTimeout(()=>r.apply(this,e),t)}},x=l=>{const{offsetWidth:r,offsetHeight:t}=l;return{width:r,height:t}},D=l=>l,T=l=>{const r=Math.max(l.startIndex-l.overscan,0),t=Math.min(l.endIndex+l.overscan,l.count-1),s=[];for(let e=r;e<=t;e++)s.push(e);return s},W=(l,r)=>{const t=l.scrollElement;if(!t)return;const s=l.targetWindow;if(!s)return;const e=i=>{const{width:o,height:h}=i;r({width:Math.round(o),height:Math.round(h)})};if(e(x(t)),!s.ResizeObserver)return()=>{};const n=new s.ResizeObserver(i=>{const o=()=>{const h=i[0];if(h?.borderBoxSize){const c=h.borderBoxSize[0];if(c){e({width:c.inlineSize,height:c.blockSize});return}}e(x(t))};l.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()});return n.observe(t,{box:"border-box"}),()=>{n.unobserve(t)}},y={passive:!0},S=typeof window>"u"?!0:"onscrollend"in window,j=(l,r)=>{const t=l.scrollElement;if(!t)return;const s=l.targetWindow;if(!s)return;let e=0;const n=l.options.useScrollendEvent&&S?()=>{}:k(s,()=>{r(e,!1)},l.options.isScrollingResetDelay),i=a=>()=>{const{horizontal:d,isRtl:u}=l.options;e=d?t.scrollLeft*(u&&-1||1):t.scrollTop,n(),r(e,a)},o=i(!0),h=i(!1);h(),t.addEventListener("scroll",o,y);const c=l.options.useScrollendEvent&&S;return c&&t.addEventListener("scrollend",h,y),()=>{t.removeEventListener("scroll",o),c&&t.removeEventListener("scrollend",h)}},_=(l,r,t)=>{if(r?.borderBoxSize){const s=r.borderBoxSize[0];if(s)return Math.round(s[t.options.horizontal?"inlineSize":"blockSize"])}return l[t.options.horizontal?"offsetWidth":"offsetHeight"]},$=(l,{adjustments:r=0,behavior:t},s)=>{var e,n;const i=l+r;(n=(e=s.scrollElement)==null?void 0:e.scrollTo)==null||n.call(e,{[s.options.horizontal?"left":"top"]:i,behavior:t})};class P{constructor(r){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null;const s=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(e=>{e.forEach(n=>{const i=()=>{this._measureElement(n.target,n)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(i):i()})}));return{disconnect:()=>{var e;(e=s())==null||e.disconnect(),t=null},observe:e=>{var n;return(n=s())==null?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return(n=s())==null?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([s,e])=>{typeof e>"u"&&delete t[s]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:D,rangeExtractor:T,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,...t}},this.notify=t=>{var s,e;(e=(s=this.options).onChange)==null||e.call(s,this,t)},this.maybeNotify=p(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{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(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t;const s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((t=this.scrollElement)==null?void 0:t.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,n)=>{this.scrollAdjustments=0,this.scrollDirection=n?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=n,this.maybeNotify()}))}},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=(t,s)=>{const e=new Map,n=new Map;for(let i=s-1;i>=0;i--){const o=t[i];if(e.has(o.lane))continue;const h=n.get(o.lane);if(h==null||o.end>h.end?n.set(o.lane,o):o.end<h.end&&e.set(o.lane,!0),e.size===this.options.lanes)break}return n.size===this.options.lanes?Array.from(n.values()).sort((i,o)=>i.end===o.end?i.index-o.index:i.end-o.end)[0]:void 0},this.getMeasurementOptions=p(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,s,e,n,i)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:s,scrollMargin:e,getItemKey:n,enabled:i}),{key:!1}),this.getMeasurements=p(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:s,scrollMargin:e,getItemKey:n,enabled:i},o)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(a=>{this.itemSizeCache.set(a.key,a.size)}));const h=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const c=this.measurementsCache.slice(0,h);for(let a=h;a<t;a++){const d=n(a),u=this.options.lanes===1?c[a-1]:this.getFurthestMeasurement(c,a),m=u?u.end+this.options.gap:s+e,f=o.get(d),b=typeof f=="number"?f:this.options.estimateSize(a),v=m+b,g=u?u.lane:a%this.options.lanes;c[a]={index:a,start:m,size:b,end:v,key:d,lane:g}}return this.measurementsCache=c,c},{key:!1,debug:()=>this.options.debug}),this.calculateRange=p(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,s,e,n)=>this.range=t.length>0&&s>0?B({measurements:t,outerSize:s,scrollOffset:e,lanes:n}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=p(()=>{let t=null,s=null;const e=this.calculateRange();return e&&(t=e.startIndex,s=e.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,s]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,s]},(t,s,e,n,i)=>n===null||i===null?[]:t({startIndex:n,endIndex:i,overscan:s,count:e}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{const s=this.options.indexAttribute,e=t.getAttribute(s);return e?parseInt(e,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this._measureElement=(t,s)=>{const e=this.indexFromElement(t),n=this.measurementsCache[e];if(!n)return;const i=n.key,o=this.elementsCache.get(i);o!==t&&(o&&this.observer.unobserve(o),this.observer.observe(t),this.elementsCache.set(i,t)),t.isConnected&&this.resizeItem(e,this.options.measureElement(t,s,this))},this.resizeItem=(t,s)=>{const e=this.measurementsCache[t];if(!e)return;const n=this.itemSizeCache.get(e.key)??e.size,i=s-n;i!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(e,i,this):e.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=i,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(e.index),this.itemSizeCache=new Map(this.itemSizeCache.set(e.key,s)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((s,e)=>{s.isConnected||(this.observer.unobserve(s),this.elementsCache.delete(e))});return}this._measureElement(t,void 0)},this.getVirtualItems=p(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,s)=>{const e=[];for(let n=0,i=t.length;n<i;n++){const o=t[n],h=s[o];e.push(h)}return e},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{const s=this.getMeasurements();if(s.length!==0)return w(s[M(0,s.length-1,e=>w(s[e]).start,t)])},this.getOffsetForAlignment=(t,s,e=0)=>{const n=this.getSize(),i=this.getScrollOffset();s==="auto"&&(s=t>=i+n?"end":"start"),s==="center"?t+=(e-n)/2:s==="end"&&(t-=n);const o=this.getTotalSize()+this.options.scrollMargin-n;return Math.max(Math.min(o,t),0)},this.getOffsetForIndex=(t,s="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));const e=this.measurementsCache[t];if(!e)return;const n=this.getSize(),i=this.getScrollOffset();if(s==="auto")if(e.end>=i+n-this.options.scrollPaddingEnd)s="end";else if(e.start<=i+this.options.scrollPaddingStart)s="start";else return[i,s];const o=s==="end"?e.end+this.options.scrollPaddingEnd:e.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,s,e.size),s]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(t,{align:s="start",behavior:e}={})=>{e==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,s),{adjustments:void 0,behavior:e})},this.scrollToIndex=(t,{align:s="auto",behavior:e}={})=>{e==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t=Math.max(0,Math.min(t,this.options.count-1));let n=0;const i=10,o=c=>{if(!this.targetWindow)return;const a=this.getOffsetForIndex(t,c);if(!a){console.warn("Failed to get offset for index:",t);return}const[d,u]=a;this._scrollToOffset(d,{adjustments:void 0,behavior:e}),this.targetWindow.requestAnimationFrame(()=>{const m=this.getScrollOffset(),f=this.getOffsetForIndex(t,u);if(!f){console.warn("Failed to get offset for index:",t);return}F(f[0],m)||h(u)})},h=c=>{this.targetWindow&&(n++,n<i?this.targetWindow.requestAnimationFrame(()=>o(c)):console.warn(`Failed to scroll to index ${t} after ${i} attempts.`))};o(s)},this.scrollBy=(t,{behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:s})},this.getTotalSize=()=>{var t;const s=this.getMeasurements();let e;if(s.length===0)e=this.options.paddingStart;else if(this.options.lanes===1)e=((t=s[s.length-1])==null?void 0:t.end)??0;else{const n=Array(this.options.lanes).fill(null);let i=s.length-1;for(;i>=0&&n.some(o=>o===null);){const o=s[i];n[o.lane]===null&&(n[o.lane]=o.end),i--}e=Math.max(...n.filter(o=>o!==null))}return Math.max(e-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:s,behavior:e})=>{this.options.scrollToFn(t,{behavior:e,adjustments:s},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(r)}}const M=(l,r,t,s)=>{for(;l<=r;){const e=(l+r)/2|0,n=t(e);if(n<s)l=e+1;else if(n>s)r=e-1;else return e}return l>0?l-1:0};function B({measurements:l,outerSize:r,scrollOffset:t,lanes:s}){const e=l.length-1,n=h=>l[h].start;if(l.length<=s)return{startIndex:0,endIndex:e};let i=M(0,e,n,t),o=i;if(s===1)for(;o<e&&l[o].end<t+r;)o++;else if(s>1){const h=Array(s).fill(0);for(;o<e&&h.some(a=>a<t+r);){const a=l[o];h[a.lane]=a.end,o++}const c=Array(s).fill(t+r);for(;i>=0&&c.some(a=>a>=t);){const a=l[i];c[a.lane]=a.start,i--}i=Math.max(0,i-i%s),o=Math.min(e,o+(s-1-o%s))}return{startIndex:i,endIndex:o}}const z=typeof document<"u"?I:R;function N(l){const r=E(()=>({}),{})[1],t={...l,onChange:(e,n)=>{var i;n?A(r):r(),(i=l.onChange)==null||i.call(l,e,n)}},[s]=C(()=>new P(t));return s.setOptions(t),z(()=>s._didMount(),[]),z(()=>s._willUpdate()),s}function L(l){return N({observeElementRect:W,observeElementOffset:j,scrollToFn:$,...l})}export{L as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as u,a as s}from"./register-
|
|
1
|
+
import{d as u,a as s}from"./register-BMG3ml_B.js";import{u as f}from"./index-B_JrwY8n.js";var e=s[" useId ".trim().toString()]||(()=>{}),n=0;function c(o){const[t,r]=u(e());return f(()=>{o||r(a=>a??String(n++))},[o]),o||(t?`radix-${t}`:"")}export{c as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{D as p,u as c,E as u}from"./register-
|
|
1
|
+
import{D as p,u as c,E as u}from"./register-BMG3ml_B.js";import{c as l}from"./index-dQ7vVUlv.js";var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],d=v.reduce((t,i)=>{const e=l(`Primitive.${i}`),r=p((o,s)=>{const{asChild:a,...n}=o,m=a?e:i;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c(m,{...n,ref:s})});return r.displayName=`Primitive.${i}`,{...t,[i]:r}},{});function f(t,i){t&&u(()=>t.dispatchEvent(i))}export{d as P,f as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as x,y as w,u as f,q as y,D as A,d as G,T as z}from"./register-
|
|
1
|
+
import{A as x,y as w,u as f,q as y,D as A,d as G,T as z}from"./register-BMG3ml_B.js";import{c as P}from"./index-CBrz5xtv.js";import{u as F,a as J}from"./index-dQ7vVUlv.js";import{a as Q}from"./index-mY4LmL6N.js";import{D as Z}from"./index-bWspXLUq.js";import{u as $}from"./index-JflTCg0X.js";import{c as j,A as ee,a as te,R as oe,C as re}from"./index-CFq6lvZP.js";import{P as ne}from"./index-PGsQ2egI.js";import{P as se}from"./index-LgFI4FKk.js";import{u as ie}from"./index-BTwkmpVj.js";import{R as ae}from"./index-C7fKas4_.js";var[O,Fe]=Q("Tooltip",[j]),L=j(),B="TooltipProvider",ce=700,M="tooltip.open",[le,H]=O(B),q=t=>{const{__scopeTooltip:o,delayDuration:e=ce,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:a}=t,i=x(!0),d=x(!1),s=x(0);return w(()=>{const u=s.current;return()=>window.clearTimeout(u)},[]),f(le,{scope:o,isOpenDelayedRef:i,delayDuration:e,onOpen:y(()=>{window.clearTimeout(s.current),i.current=!1},[]),onClose:y(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.current=!0,r)},[r]),isPointerInTransitRef:d,onPointerInTransitChange:y(u=>{d.current=u},[]),disableHoverableContent:n,children:a})};q.displayName=B;var D="Tooltip",[ue,I]=O(D),U=t=>{const{__scopeTooltip:o,children:e,open:r,defaultOpen:n,onOpenChange:a,disableHoverableContent:i,delayDuration:d}=t,s=H(D,t.__scopeTooltip),u=L(o),[c,p]=G(null),v=$(),l=x(0),h=i??s.disableHoverableContent,m=d??s.delayDuration,T=x(!1),[C,g]=ie({prop:r,defaultProp:n??!1,onChange:k=>{k?(s.onOpen(),document.dispatchEvent(new CustomEvent(M))):s.onClose(),a?.(k)},caller:D}),E=z(()=>C?T.current?"delayed-open":"instant-open":"closed",[C]),R=y(()=>{window.clearTimeout(l.current),l.current=0,T.current=!1,g(!0)},[g]),_=y(()=>{window.clearTimeout(l.current),l.current=0,g(!1)},[g]),S=y(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>{T.current=!0,g(!0),l.current=0},m)},[m,g]);return w(()=>()=>{l.current&&(window.clearTimeout(l.current),l.current=0)},[]),f(oe,{...u,children:f(ue,{scope:o,contentId:v,open:C,stateAttribute:E,trigger:c,onTriggerChange:p,onTriggerEnter:y(()=>{s.isOpenDelayedRef.current?S():R()},[s.isOpenDelayedRef,S,R]),onTriggerLeave:y(()=>{h?_():(window.clearTimeout(l.current),l.current=0)},[_,h]),onOpen:R,onClose:_,disableHoverableContent:h,children:e})})};U.displayName=D;var N="TooltipTrigger",V=A((t,o)=>{const{__scopeTooltip:e,...r}=t,n=I(N,e),a=H(N,e),i=L(e),d=x(null),s=F(o,d,n.onTriggerChange),u=x(!1),c=x(!1),p=y(()=>u.current=!1,[]);return w(()=>()=>document.removeEventListener("pointerup",p),[p]),f(ee,{asChild:!0,...i,children:f(se.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:s,onPointerMove:P(t.onPointerMove,v=>{v.pointerType!=="touch"&&!c.current&&!a.isPointerInTransitRef.current&&(n.onTriggerEnter(),c.current=!0)}),onPointerLeave:P(t.onPointerLeave,()=>{n.onTriggerLeave(),c.current=!1}),onPointerDown:P(t.onPointerDown,()=>{n.open&&n.onClose(),u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:P(t.onFocus,()=>{u.current||n.onOpen()}),onBlur:P(t.onBlur,n.onClose),onClick:P(t.onClick,n.onClose)})})});V.displayName=N;var pe="TooltipPortal",[je,de]=O(pe,{forceMount:void 0}),b="TooltipContent",Y=A((t,o)=>{const e=de(b,t.__scopeTooltip),{forceMount:r=e.forceMount,side:n="top",...a}=t,i=I(b,t.__scopeTooltip);return f(ne,{present:r||i.open,children:i.disableHoverableContent?f(X,{side:n,...a,ref:o}):f(ve,{side:n,...a,ref:o})})}),ve=A((t,o)=>{const e=I(b,t.__scopeTooltip),r=H(b,t.__scopeTooltip),n=x(null),a=F(o,n),[i,d]=G(null),{trigger:s,onClose:u}=e,c=n.current,{onPointerInTransitChange:p}=r,v=y(()=>{d(null),p(!1)},[p]),l=y((h,m)=>{const T=h.currentTarget,C={x:h.clientX,y:h.clientY},g=me(C,T.getBoundingClientRect()),E=ye(C,g),R=ge(m.getBoundingClientRect()),_=Ce([...E,...R]);d(_),p(!0)},[p]);return w(()=>()=>v(),[v]),w(()=>{if(s&&c){const h=T=>l(T,c),m=T=>l(T,s);return s.addEventListener("pointerleave",h),c.addEventListener("pointerleave",m),()=>{s.removeEventListener("pointerleave",h),c.removeEventListener("pointerleave",m)}}},[s,c,l,v]),w(()=>{if(i){const h=m=>{const T=m.target,C={x:m.clientX,y:m.clientY},g=s?.contains(T)||c?.contains(T),E=!xe(C,i);g?v():E&&(v(),u())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[s,c,i,u,v]),f(X,{...t,ref:a})}),[fe,he]=O(D,{isInside:!1}),Te=J("TooltipContent"),X=A((t,o)=>{const{__scopeTooltip:e,children:r,"aria-label":n,onEscapeKeyDown:a,onPointerDownOutside:i,...d}=t,s=I(b,e),u=L(e),{onClose:c}=s;return w(()=>(document.addEventListener(M,c),()=>document.removeEventListener(M,c)),[c]),w(()=>{if(s.trigger){const p=v=>{v.target?.contains(s.trigger)&&c()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[s.trigger,c]),f(Z,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:p=>p.preventDefault(),onDismiss:c,children:f(re,{"data-state":s.stateAttribute,...u,...d,ref:o,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[f(Te,{children:r}),f(fe,{scope:e,isInside:!0,children:f(ae,{id:s.contentId,role:"tooltip",children:n||r})})]})})});Y.displayName=b;var K="TooltipArrow",W=A((t,o)=>{const{__scopeTooltip:e,...r}=t,n=L(e);return he(K,e).isInside?null:f(te,{...n,...r,ref:o})});W.displayName=K;function me(t,o){const e=Math.abs(o.top-t.y),r=Math.abs(o.bottom-t.y),n=Math.abs(o.right-t.x),a=Math.abs(o.left-t.x);switch(Math.min(e,r,n,a)){case a:return"left";case n:return"right";case e:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function ye(t,o,e=5){const r=[];switch(o){case"top":r.push({x:t.x-e,y:t.y+e},{x:t.x+e,y:t.y+e});break;case"bottom":r.push({x:t.x-e,y:t.y-e},{x:t.x+e,y:t.y-e});break;case"left":r.push({x:t.x+e,y:t.y-e},{x:t.x+e,y:t.y+e});break;case"right":r.push({x:t.x-e,y:t.y-e},{x:t.x-e,y:t.y+e});break}return r}function ge(t){const{top:o,right:e,bottom:r,left:n}=t;return[{x:n,y:o},{x:e,y:o},{x:e,y:r},{x:n,y:r}]}function xe(t,o){const{x:e,y:r}=t;let n=!1;for(let a=0,i=o.length-1;a<o.length;i=a++){const d=o[a],s=o[i],u=d.x,c=d.y,p=s.x,v=s.y;c>r!=v>r&&e<(p-u)*(r-c)/(v-c)+u&&(n=!n)}return n}function Ce(t){const o=t.slice();return o.sort((e,r)=>e.x<r.x?-1:e.x>r.x?1:e.y<r.y?-1:e.y>r.y?1:0),we(o)}function we(t){if(t.length<=1)return t.slice();const o=[];for(let r=0;r<t.length;r++){const n=t[r];for(;o.length>=2;){const a=o[o.length-1],i=o[o.length-2];if((a.x-i.x)*(n.y-i.y)>=(a.y-i.y)*(n.x-i.x))o.pop();else break}o.push(n)}o.pop();const e=[];for(let r=t.length-1;r>=0;r--){const n=t[r];for(;e.length>=2;){const a=e[e.length-1],i=e[e.length-2];if((a.x-i.x)*(n.y-i.y)>=(a.y-i.y)*(n.x-i.x))e.pop();else break}e.push(n)}return e.pop(),o.length===1&&e.length===1&&o[0].x===e[0].x&&o[0].y===e[0].y?o:o.concat(e)}var Pe=q,be=U,Ee=V,Re=Y,_e=W;export{_e as A,Re as C,Pe as P,be as R,Ee as T};
|